From 4d6accd55d4ec6997b2a247bce3ecf811beb4c8e Mon Sep 17 00:00:00 2001 From: Lean stage0 autoupdater <> Date: Fri, 20 Mar 2026 16:28:23 +0000 Subject: [PATCH] chore: update stage0 --- stage0/src/include/lean/lean.h | 2 + stage0/src/library/ir_interpreter.cpp | 4 +- stage0/src/runtime/thread.cpp | 35 +- stage0/stdlib/Lake/Build/Trace.c | 10 +- stage0/stdlib/Lean/Compiler/LCNF/Bind.c | 3 +- stage0/stdlib/Lean/Compiler/LCNF/EmitC.c | 2838 +- .../stdlib/Lean/Compiler/LCNF/InferBorrow.c | 20933 ++++---- stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c | 5 +- stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c | 31388 +++++------ stage0/stdlib/Lean/Compiler/MetaAttr.c | 1251 +- .../stdlib/Lean/Data/Lsp/LanguageFeatures.c | 10 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 2421 +- stage0/stdlib/Lean/Elab/BuiltinTerm.c | 704 +- stage0/stdlib/Lean/Elab/DeclModifiers.c | 11663 ++-- .../Lean/Elab/DocString/Builtin/Scopes.c | 2 +- stage0/stdlib/Lean/Elab/ErrorExplanation.c | 10 +- stage0/stdlib/Lean/Elab/MutualDef.c | 44763 ++++++++-------- stage0/stdlib/Lean/Elab/MutualInductive.c | 4 +- stage0/stdlib/Lean/Elab/PreDefinition/Basic.c | 16666 +++--- stage0/stdlib/Lean/Elab/Quotation/Precheck.c | 4 +- stage0/stdlib/Lean/ErrorExplanation.c | 10 +- stage0/stdlib/Lean/KeyedDeclsAttribute.c | 12587 ++--- .../stdlib/Lean/Meta/Constructions/CtorIdx.c | 4085 +- stage0/stdlib/Lean/Meta/Eval.c | 3437 +- stage0/stdlib/Lean/Meta/Match/Match.c | 13901 ++--- stage0/stdlib/Lean/Meta/Match/MatchEqs.c | 8939 +-- stage0/stdlib/Lean/Meta/Native.c | 3581 +- .../Lean/Meta/Tactic/Grind/CheckResult.c | 10 +- stage0/stdlib/Lean/Meta/Tactic/TryThis.c | 10 +- stage0/stdlib/Lean/Parser/Command.c | 18 +- stage0/stdlib/Lean/Parser/Module.c | 12 +- stage0/stdlib/Lean/Parser/Term/Basic.c | 10 +- .../Lean/PrettyPrinter/Delaborator/Builtins.c | 7663 ++- .../PrettyPrinter/Delaborator/DeclWithSig.c | 382 + .../stdlib/Lean/Server/Rpc/RequestHandling.c | 734 +- stage0/stdlib/Lean/Shell.c | 6 +- 36 files changed, 96142 insertions(+), 91959 deletions(-) create mode 100644 stage0/stdlib/Lean/PrettyPrinter/Delaborator/DeclWithSig.c diff --git a/stage0/src/include/lean/lean.h b/stage0/src/include/lean/lean.h index 015cf3b38d..159f977c3c 100644 --- a/stage0/src/include/lean/lean.h +++ b/stage0/src/include/lean/lean.h @@ -3245,6 +3245,8 @@ static inline double lean_float_once(double* loc, lean_once_cell_t* tok, double return lean_float_once_cold(loc, tok, init); } +LEAN_EXPORT lean_object * lean_run_main(lean_object * (*main_fn)(int, char **), int argc, char ** argv); + #ifdef __cplusplus } #endif diff --git a/stage0/src/library/ir_interpreter.cpp b/stage0/src/library/ir_interpreter.cpp index a356cf342b..70cdb1453f 100644 --- a/stage0/src/library/ir_interpreter.cpp +++ b/stage0/src/library/ir_interpreter.cpp @@ -1177,8 +1177,8 @@ uint32 run_main(elab_environment const & env, options const & opts, list_ref(env, opts, "main", [&](interpreter & interp) { return interp.run_main(args); }); } -/* runMain (env : Environment) (opts : Iptions) (args : List String) : BaseIO UInt32 */ -extern "C" LEAN_EXPORT uint32_t lean_run_main(b_obj_arg env, b_obj_arg opts, b_obj_arg args) { +/* runMain (env : Environment) (opts : Options) (args : List String) : BaseIO UInt32 */ +extern "C" LEAN_EXPORT uint32_t lean_eval_main(b_obj_arg env, b_obj_arg opts, b_obj_arg args) { uint32 ret = run_main(TO_REF(elab_environment, env), TO_REF(options, opts), TO_REF(list_ref, args)); return ret; } diff --git a/stage0/src/runtime/thread.cpp b/stage0/src/runtime/thread.cpp index ba06b37d13..d0d67f5f8f 100644 --- a/stage0/src/runtime/thread.cpp +++ b/stage0/src/runtime/thread.cpp @@ -7,6 +7,7 @@ Author: Leonardo de Moura #include #include #include +#include #ifdef LEAN_WINDOWS #include #else @@ -20,7 +21,11 @@ Author: Leonardo de Moura #include "runtime/stack_overflow.h" #ifndef LEAN_DEFAULT_THREAD_STACK_SIZE -#define LEAN_DEFAULT_THREAD_STACK_SIZE 8*1024*1024 // 8Mb +#ifdef LEAN_EMSCRIPTEN +#define LEAN_DEFAULT_THREAD_STACK_SIZE 8*1024*1024 // 8MB for 32-bit +#else +#define LEAN_DEFAULT_THREAD_STACK_SIZE 1024*1024*1024 // 1GB for 64-bit +#endif #endif namespace lean { @@ -96,8 +101,10 @@ struct lthread::imp { imp(runnable const & p) { runnable * f = new std::function(mk_thread_proc(p, get_max_heartbeat())); + // Without `IS_A_RESERVATION`, `m_thread_stack_size` would be the initial *commit* size, + // quickly exhausting the available address space with our large default stack size. m_thread = CreateThread(nullptr, m_thread_stack_size, - _main, f, 0, nullptr); + _main, f, STACK_SIZE_PARAM_IS_A_RESERVATION, nullptr); if (m_thread == NULL) { throw exception("failed to create thread"); } @@ -163,6 +170,30 @@ extern "C" LEAN_EXPORT lean_obj_res lean_internal_set_thread_stack_size(size_t s return lean_box(0); } +extern "C" LEAN_EXPORT lean_object * lean_run_main(lean_object * (*main_fn)(int, char **), int argc, char ** argv) { +#ifdef LEAN_MULTI_THREAD + const char * stack_size_env = std::getenv("LEAN_STACK_SIZE_KB"); + if (stack_size_env) { + size_t sz = std::strtoull(stack_size_env, nullptr, 10); + sz = sz / 4 * 4 * 1024; // as in `Shell` + if (sz > 0) { + lthread::set_thread_stack_size(sz); + } + } + const char * use_thread_env = std::getenv("LEAN_MAIN_USE_THREAD"); + if (use_thread_env && std::strcmp(use_thread_env, "0") == 0) { + return main_fn(argc, argv); + } + // Start new thread to use given/default stack size + lean_object * res = nullptr; + lthread t([&]() { res = main_fn(argc, argv); }); + t.join(); + return res; +#else + return main_fn(argc, argv); +#endif +} + LEAN_THREAD_VALUE(bool, g_finalizing, false); bool in_thread_finalization() { diff --git a/stage0/stdlib/Lake/Build/Trace.c b/stage0/stdlib/Lake/Build/Trace.c index a2669fb99a..8ce8bd2ab6 100644 --- a/stage0/stdlib/Lake/Build/Trace.c +++ b/stage0/stdlib/Lake/Build/Trace.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lake.Build.Trace -// Imports: public import Lean.Data.Json import Init.Data.Nat.Fold import Lake.Util.String public import Init.Data.String.Search public import Init.Data.String.Extra import Init.Data.Option.Coe +// Imports: public import Lean.Data.Json import Init.Data.Nat.Fold meta import Init.Data.Nat.Fold import Lake.Util.String public import Init.Data.String.Search public import Init.Data.String.Extra import Init.Data.Option.Coe #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -3753,15 +3753,20 @@ l_Lake_BuildTrace_instNilTrace = _init_l_Lake_BuildTrace_instNilTrace(); lean_mark_persistent(l_Lake_BuildTrace_instNilTrace); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Init_Data_Nat_Fold(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lake_Build_Trace(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Init_Data_Nat_Fold(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Data_Json(uint8_t builtin); lean_object* initialize_Init_Data_Nat_Fold(uint8_t builtin); +lean_object* initialize_Init_Data_Nat_Fold(uint8_t builtin); lean_object* initialize_Lake_Util_String(uint8_t builtin); lean_object* initialize_Init_Data_String_Search(uint8_t builtin); lean_object* initialize_Init_Data_String_Extra(uint8_t builtin); @@ -3777,6 +3782,9 @@ lean_dec_ref(res); res = initialize_Init_Data_Nat_Fold(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Init_Data_Nat_Fold(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lake_Util_String(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Bind.c b/stage0/stdlib/Lean/Compiler/LCNF/Bind.c index 6eabbdee5b..47562fac30 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Bind.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Bind.c @@ -41,6 +41,7 @@ lean_object* l_Lean_mkFVar(lean_object*); lean_object* l_Lean_Compiler_LCNF_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); +uint8_t l_Lean_isMarkedBorrowed(lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); @@ -3167,7 +3168,7 @@ lean_inc_ref(v_body_764_); lean_dec_ref(v_type_755_); v_d_765_ = lean_expr_instantiate_rev(v_binderType_763_, v_xs_756_); lean_dec_ref(v_binderType_763_); -v___x_766_ = 0; +v___x_766_ = l_Lean_isMarkedBorrowed(v_d_765_); v___x_767_ = l_Lean_Compiler_LCNF_mkAuxParam(v_pu_754_, v_d_765_, v___x_766_, v_a_758_, v_a_759_, v_a_760_, v_a_761_); if (lean_obj_tag(v___x_767_) == 0) { diff --git a/stage0/stdlib/Lean/Compiler/LCNF/EmitC.c b/stage0/stdlib/Lean/Compiler/LCNF/EmitC.c index 093d3131cb..bd468555ba 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/EmitC.c @@ -1336,100 +1336,104 @@ static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Com static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__7 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__7_value; static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 50, .m_capacity = 50, .m_length = 49, .m_data = "lean_unbox_uint32(lean_io_result_get_value(res));"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__8 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__8_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 3, .m_data = " }"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = " res = "}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = " res = "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "(1 /* builtin */);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "(1 /* builtin */);"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 37, .m_capacity = 37, .m_length = 36, .m_data = " lean_io_mark_end_initialization();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 37, .m_capacity = 37, .m_length = 36, .m_data = " lean_io_mark_end_initialization();"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 35, .m_capacity = 35, .m_length = 34, .m_data = " if (lean_io_result_is_ok(res)) {"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 35, .m_capacity = 35, .m_length = 34, .m_data = " if (lean_io_result_is_ok(res)) {"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = " lean_dec_ref(res);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = " lean_dec_ref(res);"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = " lean_init_task_manager();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = " lean_init_task_manager();"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 48, .m_capacity = 48, .m_length = 47, .m_data = " res = lean_run_main(&run_main, argc, argv);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15_value),((lean_object*)(((size_t)(0) << 1) | 1))}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 4, .m_capacity = 4, .m_length = 3, .m_data = " }"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 35, .m_capacity = 35, .m_length = 34, .m_data = "int main(int argc, char ** argv) {"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 40, .m_capacity = 40, .m_length = 39, .m_data = " SetErrorMode(SEM_FAILCRITICALERRORS);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 31, .m_capacity = 31, .m_length = 30, .m_data = " SetConsoleOutputCP(CP_UTF8);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = " res = _lean_main();"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 20, .m_capacity = 20, .m_length = 19, .m_data = " lean_object* res;"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 22, .m_capacity = 22, .m_length = 21, .m_data = " in = lean_box(0);"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 38, .m_capacity = 38, .m_length = 37, .m_data = " argv = lean_setup_args(argc, argv);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 18, .m_capacity = 18, .m_length = 17, .m_data = " int i = argc;"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 36, .m_capacity = 36, .m_length = 35, .m_data = " lean_initialize_runtime_module();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 20, .m_capacity = 20, .m_length = 19, .m_data = " while (i > 1) {"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 21, .m_capacity = 21, .m_length = 20, .m_data = " lean_initialize();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 22, .m_capacity = 22, .m_length = 21, .m_data = " lean_object* n;"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 38, .m_capacity = 38, .m_length = 37, .m_data = "#if defined(WIN32) || defined(_WIN32)"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = " i--;"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 21, .m_capacity = 21, .m_length = 20, .m_data = "#include "}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 105, .m_capacity = 105, .m_length = 104, .m_data = " n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in);"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 48, .m_capacity = 48, .m_length = 47, .m_data = "lean_object* run_main(int argc, char ** argv) {"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = " in = n;"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26_value),((lean_object*)(((size_t)(0) << 1) | 1))}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = " }"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader___closed__8_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28_value),((lean_object*)(((size_t)(0) << 1) | 1))}}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__28_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__27_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29_value)}}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__29_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__26_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 25, .m_capacity = 25, .m_length = 24, .m_data = " return _lean_main();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__25_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 35, .m_capacity = 35, .m_length = 34, .m_data = " lean_object* in = lean_box(0);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 18, .m_capacity = 18, .m_length = 17, .m_data = " int i = argc;"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 20, .m_capacity = 20, .m_length = 19, .m_data = " while (i > 1) {"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 22, .m_capacity = 22, .m_length = 21, .m_data = " lean_object* n;"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35_value)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = " i--;"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 26, .m_capacity = 26, .m_length = 25, .m_data = " res = _lean_main(in);"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 105, .m_capacity = 105, .m_length = 104, .m_data = " n = lean_alloc_ctor(1,2,0); lean_ctor_set(n, 0, lean_mk_string(argv[i])); lean_ctor_set(n, 1, in);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 38, .m_capacity = 38, .m_length = 37, .m_data = "#if defined(WIN32) || defined(_WIN32)"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = " in = n;"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 21, .m_capacity = 21, .m_length = 20, .m_data = "#include "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = " }"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 35, .m_capacity = 35, .m_length = 34, .m_data = "int main(int argc, char ** argv) {"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39_value),((lean_object*)(((size_t)(0) << 1) | 1))}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 40, .m_capacity = 40, .m_length = 39, .m_data = " SetErrorMode(SEM_FAILCRITICALERRORS);"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 31, .m_capacity = 31, .m_length = 30, .m_data = " SetConsoleOutputCP(CP_UTF8);"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 37, .m_capacity = 37, .m_length = 36, .m_data = " lean_object* in; lean_object* res;"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 38, .m_capacity = 38, .m_length = 37, .m_data = " argv = lean_setup_args(argc, argv);"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__35_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 36, .m_capacity = 36, .m_length = 35, .m_data = " lean_initialize_runtime_module();"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__34_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 21, .m_capacity = 21, .m_length = 20, .m_data = " lean_initialize();"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__33_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 49, .m_capacity = 49, .m_length = 48, .m_data = "char ** lean_setup_args(int argc, char ** argv);"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 0, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__32_value),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46_value)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 39, .m_capacity = 39, .m_length = 38, .m_data = "void lean_initialize_runtime_module();"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = " return _lean_main(in);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "void lean_initialize();"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"}; +static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50_value; -static const lean_ctor_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 49, .m_capacity = 49, .m_length = 48, .m_data = "char ** lean_setup_args(int argc, char ** argv);"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 60, .m_capacity = 60, .m_length = 59, .m_data = "invalid main function, incorrect arity when generating code"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 39, .m_capacity = 39, .m_length = 38, .m_data = "void lean_initialize_runtime_module();"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52_value; -static lean_once_cell_t l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53; -static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 45, .m_capacity = 45, .m_length = 44, .m_data = "Expected Lean function declaration as `main`"}; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "void lean_initialize();"}; +static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53_value; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 60, .m_capacity = 60, .m_length = 59, .m_data = "invalid main function, incorrect arity when generating code"}; static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55; +static const lean_string_object l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__56_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 45, .m_capacity = 45, .m_length = 44, .m_data = "Expected Lean function declaration as `main`"}; +static const lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__56 = (const lean_object*)&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__56_value; +static lean_once_cell_t l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -54712,234 +54716,194 @@ v___x_17657_ = lean_panic_fn(v___x_17656_, v_msg_17655_); return v___x_17657_; } } -static lean_object* _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53(void){ -_start: -{ -lean_object* v___x_17737_; lean_object* v___x_17738_; -v___x_17737_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52)); -v___x_17738_ = l_Lean_stringToMessageData(v___x_17737_); -return v___x_17738_; -} -} static lean_object* _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55(void){ _start: { -lean_object* v___x_17740_; lean_object* v___x_17741_; -v___x_17740_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54)); -v___x_17741_ = l_Lean_stringToMessageData(v___x_17740_); -return v___x_17741_; +lean_object* v___x_17739_; lean_object* v___x_17740_; +v___x_17739_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__54)); +v___x_17740_ = l_Lean_stringToMessageData(v___x_17739_); +return v___x_17740_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(lean_object* v_decl_17742_, lean_object* v_a_17743_, lean_object* v_a_17744_, lean_object* v_a_17745_, lean_object* v_a_17746_, lean_object* v_a_17747_, lean_object* v_a_17748_){ +static lean_object* _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57(void){ _start: { -lean_object* v___y_17751_; lean_object* v___y_17752_; lean_object* v___y_17753_; lean_object* v___y_17754_; lean_object* v___y_17755_; lean_object* v___y_17756_; lean_object* v___y_17757_; lean_object* v___y_17758_; lean_object* v___y_17759_; lean_object* v___y_17815_; lean_object* v___y_17816_; lean_object* v___y_17817_; lean_object* v___y_17818_; lean_object* v___y_17819_; lean_object* v___y_17820_; lean_object* v___y_17821_; lean_object* v___y_17832_; lean_object* v___y_17833_; lean_object* v___y_17834_; lean_object* v___y_17835_; lean_object* v___y_17836_; lean_object* v_value_17873_; -v_value_17873_ = lean_ctor_get(v_decl_17742_, 1); -if (lean_obj_tag(v_value_17873_) == 0) +lean_object* v___x_17742_; lean_object* v___x_17743_; +v___x_17742_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__56)); +v___x_17743_ = l_Lean_stringToMessageData(v___x_17742_); +return v___x_17743_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(lean_object* v_decl_17744_, lean_object* v_a_17745_, lean_object* v_a_17746_, lean_object* v_a_17747_, lean_object* v_a_17748_, lean_object* v_a_17749_, lean_object* v_a_17750_){ +_start: { -lean_object* v_toSignature_17874_; lean_object* v_params_17875_; lean_object* v___y_17877_; lean_object* v___y_17878_; lean_object* v___y_17879_; lean_object* v___y_17880_; lean_object* v___y_17881_; lean_object* v___y_17882_; lean_object* v___y_17883_; lean_object* v___y_17884_; lean_object* v___y_17885_; lean_object* v___y_17886_; lean_object* v___y_17887_; lean_object* v___y_17888_; lean_object* v___y_17889_; lean_object* v___y_17890_; lean_object* v___y_17980_; uint8_t v___y_17981_; lean_object* v___y_17982_; lean_object* v___y_17983_; lean_object* v___y_17984_; lean_object* v___y_17985_; lean_object* v___y_17997_; lean_object* v___y_17998_; uint8_t v___y_17999_; lean_object* v___y_18000_; lean_object* v___y_18001_; uint8_t v___y_18002_; lean_object* v___y_18017_; lean_object* v___y_18018_; lean_object* v___y_18019_; lean_object* v___x_18028_; lean_object* v___x_18029_; uint8_t v___x_18030_; -v_toSignature_17874_ = lean_ctor_get(v_decl_17742_, 0); -v_params_17875_ = lean_ctor_get(v_toSignature_17874_, 3); -v___x_18028_ = lean_array_get_size(v_params_17875_); -v___x_18029_ = lean_unsigned_to_nat(1u); -v___x_18030_ = lean_nat_dec_eq(v___x_18028_, v___x_18029_); -if (v___x_18030_ == 0) +lean_object* v___y_17753_; lean_object* v___y_17754_; lean_object* v___y_17755_; lean_object* v___y_17756_; lean_object* v___y_17757_; lean_object* v___y_17758_; lean_object* v___y_17759_; lean_object* v___y_17760_; lean_object* v___y_17815_; lean_object* v___y_17816_; lean_object* v___y_17817_; lean_object* v___y_17818_; lean_object* v___y_17819_; lean_object* v___y_17820_; lean_object* v___y_17831_; lean_object* v___y_17832_; lean_object* v___y_17833_; lean_object* v___y_17834_; lean_object* v___y_17835_; lean_object* v___y_17836_; lean_object* v___y_17837_; lean_object* v___y_17838_; lean_object* v___y_17839_; lean_object* v___y_17840_; lean_object* v___y_17841_; lean_object* v___y_17842_; lean_object* v___y_17843_; lean_object* v___y_17878_; lean_object* v___y_17879_; lean_object* v___y_17880_; lean_object* v___y_17881_; uint8_t v___y_17882_; lean_object* v___y_17883_; lean_object* v___y_17884_; lean_object* v___y_17885_; uint8_t v___y_17886_; lean_object* v___y_17906_; lean_object* v___y_17907_; lean_object* v___y_17908_; lean_object* v___y_17909_; uint8_t v___y_17910_; lean_object* v___y_17911_; lean_object* v___y_17912_; lean_object* v___y_17913_; lean_object* v_value_17918_; +v_value_17918_ = lean_ctor_get(v_decl_17744_, 1); +if (lean_obj_tag(v_value_17918_) == 0) { -lean_object* v___x_18031_; uint8_t v___x_18032_; -v___x_18031_ = lean_unsigned_to_nat(2u); -v___x_18032_ = lean_nat_dec_eq(v___x_18028_, v___x_18031_); -if (v___x_18032_ == 0) +lean_object* v_toSignature_17919_; lean_object* v_params_17920_; lean_object* v___y_17922_; lean_object* v___y_17923_; lean_object* v___y_17924_; uint8_t v___y_17925_; lean_object* v___y_17926_; lean_object* v___y_17927_; lean_object* v___y_17928_; lean_object* v___y_18002_; lean_object* v___y_18003_; lean_object* v___y_18004_; lean_object* v___x_18012_; lean_object* v___x_18013_; uint8_t v___x_18014_; +v_toSignature_17919_ = lean_ctor_get(v_decl_17744_, 0); +v_params_17920_ = lean_ctor_get(v_toSignature_17919_, 3); +v___x_18012_ = lean_array_get_size(v_params_17920_); +v___x_18013_ = lean_unsigned_to_nat(1u); +v___x_18014_ = lean_nat_dec_eq(v___x_18012_, v___x_18013_); +if (v___x_18014_ == 0) { -lean_object* v___x_18033_; lean_object* v___x_18034_; -lean_dec_ref(v_a_17743_); -v___x_18033_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53); -v___x_18034_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_throwInvalidExportName_spec__0___redArg(v___x_18033_, v_a_17745_, v_a_17746_, v_a_17747_, v_a_17748_); -return v___x_18034_; +lean_object* v___x_18015_; uint8_t v___x_18016_; +v___x_18015_ = lean_unsigned_to_nat(2u); +v___x_18016_ = lean_nat_dec_eq(v___x_18012_, v___x_18015_); +if (v___x_18016_ == 0) +{ +lean_object* v___x_18017_; lean_object* v___x_18018_; +lean_dec_ref(v_a_17745_); +v___x_18017_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55); +v___x_18018_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_throwInvalidExportName_spec__0___redArg(v___x_18017_, v_a_17747_, v_a_17748_, v_a_17749_, v_a_17750_); +return v___x_18018_; } else { -v___y_18017_ = v_a_17743_; -v___y_18018_ = v_a_17744_; -v___y_18019_ = v_a_17748_; -goto v___jp_18016_; +v___y_18002_ = v_a_17745_; +v___y_18003_ = v_a_17746_; +v___y_18004_ = v_a_17750_; +goto v___jp_18001_; } } else { -v___y_18017_ = v_a_17743_; -v___y_18018_ = v_a_17744_; -v___y_18019_ = v_a_17748_; -goto v___jp_18016_; +v___y_18002_ = v_a_17745_; +v___y_18003_ = v_a_17746_; +v___y_18004_ = v_a_17750_; +goto v___jp_18001_; } -v___jp_17876_: +v___jp_17921_: { -lean_object* v___x_17891_; lean_object* v___x_17892_; lean_object* v___x_17893_; lean_object* v___x_17894_; lean_object* v___x_17895_; lean_object* v___x_17896_; lean_object* v___x_17897_; lean_object* v___x_17898_; lean_object* v___x_17899_; lean_object* v___x_17900_; lean_object* v___x_17901_; lean_object* v___x_17902_; lean_object* v___x_17903_; lean_object* v___x_17904_; lean_object* v___x_17905_; lean_object* v___x_17906_; lean_object* v___x_17907_; lean_object* v___x_17908_; lean_object* v___x_17909_; lean_object* v___x_17910_; lean_object* v___x_17911_; lean_object* v___x_17912_; lean_object* v___x_17913_; lean_object* v___x_17914_; lean_object* v___x_17915_; uint8_t v___x_17916_; -v___x_17891_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10)); -v___x_17892_ = lean_string_append(v___x_17891_, v___y_17882_); -lean_dec_ref(v___y_17882_); -v___x_17893_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11)); -v___x_17894_ = lean_string_append(v___x_17892_, v___x_17893_); -v___x_17895_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13)); -v___x_17896_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14)); -v___x_17897_ = lean_box(0); -v___x_17898_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19)); -v___x_17899_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17899_, 0, v___x_17894_); -lean_ctor_set(v___x_17899_, 1, v___x_17898_); -v___x_17900_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17900_, 0, v___y_17890_); -lean_ctor_set(v___x_17900_, 1, v___x_17899_); -v___x_17901_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17901_, 0, v___y_17884_); -lean_ctor_set(v___x_17901_, 1, v___x_17900_); -v___x_17902_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17902_, 0, v___y_17886_); -lean_ctor_set(v___x_17902_, 1, v___x_17901_); -lean_inc_ref(v___y_17885_); -v___x_17903_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17903_, 0, v___y_17885_); -lean_ctor_set(v___x_17903_, 1, v___x_17902_); -v___x_17904_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17904_, 0, v___y_17888_); -lean_ctor_set(v___x_17904_, 1, v___x_17903_); -v___x_17905_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17905_, 0, v___y_17879_); -lean_ctor_set(v___x_17905_, 1, v___x_17904_); -lean_inc_ref(v___y_17877_); -v___x_17906_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17906_, 0, v___y_17877_); -lean_ctor_set(v___x_17906_, 1, v___x_17905_); -v___x_17907_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17907_, 0, v___y_17887_); -lean_ctor_set(v___x_17907_, 1, v___x_17906_); -v___x_17908_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17908_, 0, v___y_17885_); -lean_ctor_set(v___x_17908_, 1, v___x_17907_); -v___x_17909_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17909_, 0, v___y_17889_); -lean_ctor_set(v___x_17909_, 1, v___x_17908_); -v___x_17910_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17910_, 0, v___y_17877_); -lean_ctor_set(v___x_17910_, 1, v___x_17909_); -v___x_17911_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17911_, 0, v___y_17883_); -lean_ctor_set(v___x_17911_, 1, v___x_17910_); -v___x_17912_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17912_, 0, v___y_17880_); -lean_ctor_set(v___x_17912_, 1, v___x_17911_); -v___x_17913_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17912_, v___y_17881_); -lean_dec_ref(v___x_17912_); -lean_dec_ref(v___x_17913_); -v___x_17914_ = lean_array_get_size(v_params_17875_); -v___x_17915_ = lean_unsigned_to_nat(2u); -v___x_17916_ = lean_nat_dec_eq(v___x_17914_, v___x_17915_); -if (v___x_17916_ == 0) +lean_object* v___x_17929_; lean_object* v___x_17930_; lean_object* v___x_17931_; lean_object* v___x_17932_; lean_object* v___x_17933_; lean_object* v___x_17934_; lean_object* v___x_17935_; lean_object* v___x_17936_; lean_object* v___x_17937_; uint8_t v___x_17938_; +v___x_17929_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__24)); +v___x_17930_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader___closed__8)); +v___x_17931_ = lean_box(0); +v___x_17932_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__30)); +v___x_17933_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17933_, 0, v___y_17928_); +lean_ctor_set(v___x_17933_, 1, v___x_17932_); +v___x_17934_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17934_, 0, v___y_17924_); +lean_ctor_set(v___x_17934_, 1, v___x_17933_); +v___x_17935_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17934_, v___y_17923_); +lean_dec_ref(v___x_17934_); +lean_dec_ref(v___x_17935_); +v___x_17936_ = lean_array_get_size(v_params_17920_); +v___x_17937_ = lean_unsigned_to_nat(2u); +v___x_17938_ = lean_nat_dec_eq(v___x_17936_, v___x_17937_); +if (v___x_17938_ == 0) { -lean_object* v___x_17917_; lean_object* v_buf_17918_; lean_object* v_varMangleCache_17919_; lean_object* v_funMangleCache_17920_; lean_object* v_funInitMangleCache_17921_; lean_object* v___x_17923_; uint8_t v_isShared_17924_; uint8_t v_isSharedCheck_17946_; -v___x_17917_ = lean_st_ref_take(v___y_17881_); -v_buf_17918_ = lean_ctor_get(v___x_17917_, 0); -v_varMangleCache_17919_ = lean_ctor_get(v___x_17917_, 1); -v_funMangleCache_17920_ = lean_ctor_get(v___x_17917_, 2); -v_funInitMangleCache_17921_ = lean_ctor_get(v___x_17917_, 3); -v_isSharedCheck_17946_ = !lean_is_exclusive(v___x_17917_); -if (v_isSharedCheck_17946_ == 0) +lean_object* v___x_17939_; lean_object* v_buf_17940_; lean_object* v_varMangleCache_17941_; lean_object* v_funMangleCache_17942_; lean_object* v_funInitMangleCache_17943_; lean_object* v___x_17945_; uint8_t v_isShared_17946_; uint8_t v_isSharedCheck_17968_; +v___x_17939_ = lean_st_ref_take(v___y_17923_); +v_buf_17940_ = lean_ctor_get(v___x_17939_, 0); +v_varMangleCache_17941_ = lean_ctor_get(v___x_17939_, 1); +v_funMangleCache_17942_ = lean_ctor_get(v___x_17939_, 2); +v_funInitMangleCache_17943_ = lean_ctor_get(v___x_17939_, 3); +v_isSharedCheck_17968_ = !lean_is_exclusive(v___x_17939_); +if (v_isSharedCheck_17968_ == 0) { -v___x_17923_ = v___x_17917_; -v_isShared_17924_ = v_isSharedCheck_17946_; -goto v_resetjp_17922_; +v___x_17945_ = v___x_17939_; +v_isShared_17946_ = v_isSharedCheck_17968_; +goto v_resetjp_17944_; } else { -lean_inc(v_funInitMangleCache_17921_); -lean_inc(v_funMangleCache_17920_); -lean_inc(v_varMangleCache_17919_); -lean_inc(v_buf_17918_); -lean_dec(v___x_17917_); -v___x_17923_ = lean_box(0); -v_isShared_17924_ = v_isSharedCheck_17946_; -goto v_resetjp_17922_; +lean_inc(v_funInitMangleCache_17943_); +lean_inc(v_funMangleCache_17942_); +lean_inc(v_varMangleCache_17941_); +lean_inc(v_buf_17940_); +lean_dec(v___x_17939_); +v___x_17945_ = lean_box(0); +v_isShared_17946_ = v_isSharedCheck_17968_; +goto v_resetjp_17944_; } -v_resetjp_17922_: +v_resetjp_17944_: { -lean_object* v___x_17925_; lean_object* v___x_17926_; lean_object* v___x_17928_; -v___x_17925_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20)); -v___x_17926_ = lean_string_append(v_buf_17918_, v___x_17925_); -if (v_isShared_17924_ == 0) +lean_object* v___x_17947_; lean_object* v___x_17948_; lean_object* v___x_17950_; +v___x_17947_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__31)); +v___x_17948_ = lean_string_append(v_buf_17940_, v___x_17947_); +if (v_isShared_17946_ == 0) { -lean_ctor_set(v___x_17923_, 0, v___x_17926_); -v___x_17928_ = v___x_17923_; -goto v_reusejp_17927_; +lean_ctor_set(v___x_17945_, 0, v___x_17948_); +v___x_17950_ = v___x_17945_; +goto v_reusejp_17949_; } else { -lean_object* v_reuseFailAlloc_17945_; -v_reuseFailAlloc_17945_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17945_, 0, v___x_17926_); -lean_ctor_set(v_reuseFailAlloc_17945_, 1, v_varMangleCache_17919_); -lean_ctor_set(v_reuseFailAlloc_17945_, 2, v_funMangleCache_17920_); -lean_ctor_set(v_reuseFailAlloc_17945_, 3, v_funInitMangleCache_17921_); -v___x_17928_ = v_reuseFailAlloc_17945_; -goto v_reusejp_17927_; +lean_object* v_reuseFailAlloc_17967_; +v_reuseFailAlloc_17967_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_17967_, 0, v___x_17948_); +lean_ctor_set(v_reuseFailAlloc_17967_, 1, v_varMangleCache_17941_); +lean_ctor_set(v_reuseFailAlloc_17967_, 2, v_funMangleCache_17942_); +lean_ctor_set(v_reuseFailAlloc_17967_, 3, v_funInitMangleCache_17943_); +v___x_17950_ = v_reuseFailAlloc_17967_; +goto v_reusejp_17949_; } -v_reusejp_17927_: +v_reusejp_17949_: { -lean_object* v___x_17929_; lean_object* v___x_17930_; lean_object* v_buf_17931_; lean_object* v_varMangleCache_17932_; lean_object* v_funMangleCache_17933_; lean_object* v_funInitMangleCache_17934_; lean_object* v___x_17936_; uint8_t v_isShared_17937_; uint8_t v_isSharedCheck_17944_; -v___x_17929_ = lean_st_ref_set(v___y_17881_, v___x_17928_); -v___x_17930_ = lean_st_ref_take(v___y_17881_); -v_buf_17931_ = lean_ctor_get(v___x_17930_, 0); -v_varMangleCache_17932_ = lean_ctor_get(v___x_17930_, 1); -v_funMangleCache_17933_ = lean_ctor_get(v___x_17930_, 2); -v_funInitMangleCache_17934_ = lean_ctor_get(v___x_17930_, 3); -v_isSharedCheck_17944_ = !lean_is_exclusive(v___x_17930_); -if (v_isSharedCheck_17944_ == 0) +lean_object* v___x_17951_; lean_object* v___x_17952_; lean_object* v_buf_17953_; lean_object* v_varMangleCache_17954_; lean_object* v_funMangleCache_17955_; lean_object* v_funInitMangleCache_17956_; lean_object* v___x_17958_; uint8_t v_isShared_17959_; uint8_t v_isSharedCheck_17966_; +v___x_17951_ = lean_st_ref_set(v___y_17923_, v___x_17950_); +v___x_17952_ = lean_st_ref_take(v___y_17923_); +v_buf_17953_ = lean_ctor_get(v___x_17952_, 0); +v_varMangleCache_17954_ = lean_ctor_get(v___x_17952_, 1); +v_funMangleCache_17955_ = lean_ctor_get(v___x_17952_, 2); +v_funInitMangleCache_17956_ = lean_ctor_get(v___x_17952_, 3); +v_isSharedCheck_17966_ = !lean_is_exclusive(v___x_17952_); +if (v_isSharedCheck_17966_ == 0) { -v___x_17936_ = v___x_17930_; -v_isShared_17937_ = v_isSharedCheck_17944_; -goto v_resetjp_17935_; +v___x_17958_ = v___x_17952_; +v_isShared_17959_ = v_isSharedCheck_17966_; +goto v_resetjp_17957_; } else { -lean_inc(v_funInitMangleCache_17934_); -lean_inc(v_funMangleCache_17933_); -lean_inc(v_varMangleCache_17932_); -lean_inc(v_buf_17931_); -lean_dec(v___x_17930_); -v___x_17936_ = lean_box(0); -v_isShared_17937_ = v_isSharedCheck_17944_; -goto v_resetjp_17935_; +lean_inc(v_funInitMangleCache_17956_); +lean_inc(v_funMangleCache_17955_); +lean_inc(v_varMangleCache_17954_); +lean_inc(v_buf_17953_); +lean_dec(v___x_17952_); +v___x_17958_ = lean_box(0); +v_isShared_17959_ = v_isSharedCheck_17966_; +goto v_resetjp_17957_; } -v_resetjp_17935_: +v_resetjp_17957_: { -lean_object* v___x_17938_; lean_object* v___x_17939_; lean_object* v___x_17941_; -v___x_17938_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); -v___x_17939_ = lean_string_append(v_buf_17931_, v___x_17938_); -if (v_isShared_17937_ == 0) +lean_object* v___x_17960_; lean_object* v___x_17961_; lean_object* v___x_17963_; +v___x_17960_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); +v___x_17961_ = lean_string_append(v_buf_17953_, v___x_17960_); +if (v_isShared_17959_ == 0) { -lean_ctor_set(v___x_17936_, 0, v___x_17939_); -v___x_17941_ = v___x_17936_; -goto v_reusejp_17940_; +lean_ctor_set(v___x_17958_, 0, v___x_17961_); +v___x_17963_ = v___x_17958_; +goto v_reusejp_17962_; } else { -lean_object* v_reuseFailAlloc_17943_; -v_reuseFailAlloc_17943_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17943_, 0, v___x_17939_); -lean_ctor_set(v_reuseFailAlloc_17943_, 1, v_varMangleCache_17932_); -lean_ctor_set(v_reuseFailAlloc_17943_, 2, v_funMangleCache_17933_); -lean_ctor_set(v_reuseFailAlloc_17943_, 3, v_funInitMangleCache_17934_); -v___x_17941_ = v_reuseFailAlloc_17943_; -goto v_reusejp_17940_; +lean_object* v_reuseFailAlloc_17965_; +v_reuseFailAlloc_17965_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_17965_, 0, v___x_17961_); +lean_ctor_set(v_reuseFailAlloc_17965_, 1, v_varMangleCache_17954_); +lean_ctor_set(v_reuseFailAlloc_17965_, 2, v_funMangleCache_17955_); +lean_ctor_set(v_reuseFailAlloc_17965_, 3, v_funInitMangleCache_17956_); +v___x_17963_ = v_reuseFailAlloc_17965_; +goto v_reusejp_17962_; } -v_reusejp_17940_: +v_reusejp_17962_: { -lean_object* v___x_17942_; -v___x_17942_ = lean_st_ref_set(v___y_17881_, v___x_17941_); -v___y_17832_ = v___y_17878_; -v___y_17833_ = v___x_17897_; -v___y_17834_ = v___x_17895_; -v___y_17835_ = v___x_17896_; -v___y_17836_ = v___y_17881_; -goto v___jp_17831_; +lean_object* v___x_17964_; +v___x_17964_ = lean_st_ref_set(v___y_17923_, v___x_17963_); +v___y_17906_ = v___x_17929_; +v___y_17907_ = v___x_17930_; +v___y_17908_ = v___x_17931_; +v___y_17909_ = v___y_17926_; +v___y_17910_ = v___y_17925_; +v___y_17911_ = v___y_17927_; +v___y_17912_ = v___y_17923_; +v___y_17913_ = v___y_17922_; +goto v___jp_17905_; } } } @@ -54947,307 +54911,207 @@ goto v___jp_17831_; } else { -lean_object* v___x_17947_; lean_object* v___x_17948_; lean_object* v___x_17949_; lean_object* v_buf_17950_; lean_object* v_varMangleCache_17951_; lean_object* v_funMangleCache_17952_; lean_object* v_funInitMangleCache_17953_; lean_object* v___x_17955_; uint8_t v_isShared_17956_; uint8_t v_isSharedCheck_17978_; -v___x_17947_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__36)); -v___x_17948_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17947_, v___y_17881_); -lean_dec_ref(v___x_17948_); -v___x_17949_ = lean_st_ref_take(v___y_17881_); -v_buf_17950_ = lean_ctor_get(v___x_17949_, 0); -v_varMangleCache_17951_ = lean_ctor_get(v___x_17949_, 1); -v_funMangleCache_17952_ = lean_ctor_get(v___x_17949_, 2); -v_funInitMangleCache_17953_ = lean_ctor_get(v___x_17949_, 3); -v_isSharedCheck_17978_ = !lean_is_exclusive(v___x_17949_); -if (v_isSharedCheck_17978_ == 0) +lean_object* v___x_17969_; lean_object* v___x_17970_; lean_object* v___x_17971_; lean_object* v_buf_17972_; lean_object* v_varMangleCache_17973_; lean_object* v_funMangleCache_17974_; lean_object* v_funInitMangleCache_17975_; lean_object* v___x_17977_; uint8_t v_isShared_17978_; uint8_t v_isSharedCheck_18000_; +v___x_17969_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47)); +v___x_17970_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17969_, v___y_17923_); +lean_dec_ref(v___x_17970_); +v___x_17971_ = lean_st_ref_take(v___y_17923_); +v_buf_17972_ = lean_ctor_get(v___x_17971_, 0); +v_varMangleCache_17973_ = lean_ctor_get(v___x_17971_, 1); +v_funMangleCache_17974_ = lean_ctor_get(v___x_17971_, 2); +v_funInitMangleCache_17975_ = lean_ctor_get(v___x_17971_, 3); +v_isSharedCheck_18000_ = !lean_is_exclusive(v___x_17971_); +if (v_isSharedCheck_18000_ == 0) { -v___x_17955_ = v___x_17949_; -v_isShared_17956_ = v_isSharedCheck_17978_; -goto v_resetjp_17954_; +v___x_17977_ = v___x_17971_; +v_isShared_17978_ = v_isSharedCheck_18000_; +goto v_resetjp_17976_; } else { -lean_inc(v_funInitMangleCache_17953_); -lean_inc(v_funMangleCache_17952_); -lean_inc(v_varMangleCache_17951_); -lean_inc(v_buf_17950_); -lean_dec(v___x_17949_); -v___x_17955_ = lean_box(0); -v_isShared_17956_ = v_isSharedCheck_17978_; -goto v_resetjp_17954_; +lean_inc(v_funInitMangleCache_17975_); +lean_inc(v_funMangleCache_17974_); +lean_inc(v_varMangleCache_17973_); +lean_inc(v_buf_17972_); +lean_dec(v___x_17971_); +v___x_17977_ = lean_box(0); +v_isShared_17978_ = v_isSharedCheck_18000_; +goto v_resetjp_17976_; } -v_resetjp_17954_: +v_resetjp_17976_: { -lean_object* v___x_17957_; lean_object* v___x_17958_; lean_object* v___x_17960_; -v___x_17957_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__37)); -v___x_17958_ = lean_string_append(v_buf_17950_, v___x_17957_); -if (v_isShared_17956_ == 0) +lean_object* v___x_17979_; lean_object* v___x_17980_; lean_object* v___x_17982_; +v___x_17979_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48)); +v___x_17980_ = lean_string_append(v_buf_17972_, v___x_17979_); +if (v_isShared_17978_ == 0) { -lean_ctor_set(v___x_17955_, 0, v___x_17958_); -v___x_17960_ = v___x_17955_; -goto v_reusejp_17959_; +lean_ctor_set(v___x_17977_, 0, v___x_17980_); +v___x_17982_ = v___x_17977_; +goto v_reusejp_17981_; } else { -lean_object* v_reuseFailAlloc_17977_; -v_reuseFailAlloc_17977_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17977_, 0, v___x_17958_); -lean_ctor_set(v_reuseFailAlloc_17977_, 1, v_varMangleCache_17951_); -lean_ctor_set(v_reuseFailAlloc_17977_, 2, v_funMangleCache_17952_); -lean_ctor_set(v_reuseFailAlloc_17977_, 3, v_funInitMangleCache_17953_); -v___x_17960_ = v_reuseFailAlloc_17977_; -goto v_reusejp_17959_; +lean_object* v_reuseFailAlloc_17999_; +v_reuseFailAlloc_17999_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_17999_, 0, v___x_17980_); +lean_ctor_set(v_reuseFailAlloc_17999_, 1, v_varMangleCache_17973_); +lean_ctor_set(v_reuseFailAlloc_17999_, 2, v_funMangleCache_17974_); +lean_ctor_set(v_reuseFailAlloc_17999_, 3, v_funInitMangleCache_17975_); +v___x_17982_ = v_reuseFailAlloc_17999_; +goto v_reusejp_17981_; } -v_reusejp_17959_: +v_reusejp_17981_: { -lean_object* v___x_17961_; lean_object* v___x_17962_; lean_object* v_buf_17963_; lean_object* v_varMangleCache_17964_; lean_object* v_funMangleCache_17965_; lean_object* v_funInitMangleCache_17966_; lean_object* v___x_17968_; uint8_t v_isShared_17969_; uint8_t v_isSharedCheck_17976_; -v___x_17961_ = lean_st_ref_set(v___y_17881_, v___x_17960_); -v___x_17962_ = lean_st_ref_take(v___y_17881_); -v_buf_17963_ = lean_ctor_get(v___x_17962_, 0); -v_varMangleCache_17964_ = lean_ctor_get(v___x_17962_, 1); -v_funMangleCache_17965_ = lean_ctor_get(v___x_17962_, 2); -v_funInitMangleCache_17966_ = lean_ctor_get(v___x_17962_, 3); -v_isSharedCheck_17976_ = !lean_is_exclusive(v___x_17962_); -if (v_isSharedCheck_17976_ == 0) +lean_object* v___x_17983_; lean_object* v___x_17984_; lean_object* v_buf_17985_; lean_object* v_varMangleCache_17986_; lean_object* v_funMangleCache_17987_; lean_object* v_funInitMangleCache_17988_; lean_object* v___x_17990_; uint8_t v_isShared_17991_; uint8_t v_isSharedCheck_17998_; +v___x_17983_ = lean_st_ref_set(v___y_17923_, v___x_17982_); +v___x_17984_ = lean_st_ref_take(v___y_17923_); +v_buf_17985_ = lean_ctor_get(v___x_17984_, 0); +v_varMangleCache_17986_ = lean_ctor_get(v___x_17984_, 1); +v_funMangleCache_17987_ = lean_ctor_get(v___x_17984_, 2); +v_funInitMangleCache_17988_ = lean_ctor_get(v___x_17984_, 3); +v_isSharedCheck_17998_ = !lean_is_exclusive(v___x_17984_); +if (v_isSharedCheck_17998_ == 0) { -v___x_17968_ = v___x_17962_; -v_isShared_17969_ = v_isSharedCheck_17976_; -goto v_resetjp_17967_; +v___x_17990_ = v___x_17984_; +v_isShared_17991_ = v_isSharedCheck_17998_; +goto v_resetjp_17989_; } else { -lean_inc(v_funInitMangleCache_17966_); -lean_inc(v_funMangleCache_17965_); -lean_inc(v_varMangleCache_17964_); -lean_inc(v_buf_17963_); -lean_dec(v___x_17962_); -v___x_17968_ = lean_box(0); -v_isShared_17969_ = v_isSharedCheck_17976_; -goto v_resetjp_17967_; +lean_inc(v_funInitMangleCache_17988_); +lean_inc(v_funMangleCache_17987_); +lean_inc(v_varMangleCache_17986_); +lean_inc(v_buf_17985_); +lean_dec(v___x_17984_); +v___x_17990_ = lean_box(0); +v_isShared_17991_ = v_isSharedCheck_17998_; +goto v_resetjp_17989_; } -v_resetjp_17967_: +v_resetjp_17989_: { -lean_object* v___x_17970_; lean_object* v___x_17971_; lean_object* v___x_17973_; -v___x_17970_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); -v___x_17971_ = lean_string_append(v_buf_17963_, v___x_17970_); -if (v_isShared_17969_ == 0) +lean_object* v___x_17992_; lean_object* v___x_17993_; lean_object* v___x_17995_; +v___x_17992_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); +v___x_17993_ = lean_string_append(v_buf_17985_, v___x_17992_); +if (v_isShared_17991_ == 0) { -lean_ctor_set(v___x_17968_, 0, v___x_17971_); -v___x_17973_ = v___x_17968_; -goto v_reusejp_17972_; +lean_ctor_set(v___x_17990_, 0, v___x_17993_); +v___x_17995_ = v___x_17990_; +goto v_reusejp_17994_; } else { -lean_object* v_reuseFailAlloc_17975_; -v_reuseFailAlloc_17975_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17975_, 0, v___x_17971_); -lean_ctor_set(v_reuseFailAlloc_17975_, 1, v_varMangleCache_17964_); -lean_ctor_set(v_reuseFailAlloc_17975_, 2, v_funMangleCache_17965_); -lean_ctor_set(v_reuseFailAlloc_17975_, 3, v_funInitMangleCache_17966_); -v___x_17973_ = v_reuseFailAlloc_17975_; -goto v_reusejp_17972_; +lean_object* v_reuseFailAlloc_17997_; +v_reuseFailAlloc_17997_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_17997_, 0, v___x_17993_); +lean_ctor_set(v_reuseFailAlloc_17997_, 1, v_varMangleCache_17986_); +lean_ctor_set(v_reuseFailAlloc_17997_, 2, v_funMangleCache_17987_); +lean_ctor_set(v_reuseFailAlloc_17997_, 3, v_funInitMangleCache_17988_); +v___x_17995_ = v_reuseFailAlloc_17997_; +goto v_reusejp_17994_; } -v_reusejp_17972_: +v_reusejp_17994_: { -lean_object* v___x_17974_; -v___x_17974_ = lean_st_ref_set(v___y_17881_, v___x_17973_); -v___y_17832_ = v___y_17878_; -v___y_17833_ = v___x_17897_; -v___y_17834_ = v___x_17895_; -v___y_17835_ = v___x_17896_; -v___y_17836_ = v___y_17881_; -goto v___jp_17831_; +lean_object* v___x_17996_; +v___x_17996_ = lean_st_ref_set(v___y_17923_, v___x_17995_); +v___y_17906_ = v___x_17929_; +v___y_17907_ = v___x_17930_; +v___y_17908_ = v___x_17931_; +v___y_17909_ = v___y_17926_; +v___y_17910_ = v___y_17925_; +v___y_17911_ = v___y_17927_; +v___y_17912_ = v___y_17923_; +v___y_17913_ = v___y_17922_; +goto v___jp_17905_; } } } } } } -v___jp_17979_: +v___jp_18001_: { -lean_object* v___x_17986_; lean_object* v___x_17987_; lean_object* v___x_17988_; lean_object* v___x_17989_; lean_object* v___x_17990_; lean_object* v___x_17991_; lean_object* v___x_17992_; lean_object* v___x_17993_; -v___x_17986_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__38)); -v___x_17987_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__39)); -v___x_17988_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader___closed__8)); -v___x_17989_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__40)); -v___x_17990_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__41)); -v___x_17991_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__42)); -v___x_17992_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__43)); -v___x_17993_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__44)); -if (v___y_17981_ == 0) +lean_object* v___x_18005_; lean_object* v_env_18006_; lean_object* v___x_18007_; uint8_t v___x_18008_; lean_object* v___x_18009_; +v___x_18005_ = lean_st_ref_get(v___y_18004_); +v_env_18006_ = lean_ctor_get(v___x_18005_, 0); +lean_inc_ref(v_env_18006_); +lean_dec(v___x_18005_); +v___x_18007_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__50)); +v___x_18008_ = l_Lean_Compiler_LCNF_usesModuleFrom(v_env_18006_, v___x_18007_); +v___x_18009_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51)); +if (v___x_18008_ == 0) { -lean_object* v___x_17994_; -v___x_17994_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__45)); -v___y_17877_ = v___x_17986_; -v___y_17878_ = v___y_17980_; -v___y_17879_ = v___x_17990_; -v___y_17880_ = v___y_17983_; -v___y_17881_ = v___y_17982_; -v___y_17882_ = v___y_17984_; -v___y_17883_ = v___y_17985_; -v___y_17884_ = v___x_17993_; -v___y_17885_ = v___x_17988_; -v___y_17886_ = v___x_17992_; -v___y_17887_ = v___x_17989_; -v___y_17888_ = v___x_17991_; -v___y_17889_ = v___x_17987_; -v___y_17890_ = v___x_17994_; -goto v___jp_17876_; +lean_object* v___x_18010_; +v___x_18010_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__52)); +v___y_17922_ = v___y_18004_; +v___y_17923_ = v___y_18003_; +v___y_17924_ = v___x_18009_; +v___y_17925_ = v___x_18008_; +v___y_17926_ = v_env_18006_; +v___y_17927_ = v___y_18002_; +v___y_17928_ = v___x_18010_; +goto v___jp_17921_; } else { -lean_object* v___x_17995_; -v___x_17995_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__46)); -v___y_17877_ = v___x_17986_; -v___y_17878_ = v___y_17980_; -v___y_17879_ = v___x_17990_; -v___y_17880_ = v___y_17983_; -v___y_17881_ = v___y_17982_; -v___y_17882_ = v___y_17984_; -v___y_17883_ = v___y_17985_; -v___y_17884_ = v___x_17993_; -v___y_17885_ = v___x_17988_; -v___y_17886_ = v___x_17992_; -v___y_17887_ = v___x_17989_; -v___y_17888_ = v___x_17991_; -v___y_17889_ = v___x_17987_; -v___y_17890_ = v___x_17995_; -goto v___jp_17876_; -} -} -v___jp_17996_: -{ -lean_object* v___x_18003_; lean_object* v_env_18004_; lean_object* v___x_18005_; lean_object* v_toEnvExtension_18006_; lean_object* v_asyncMode_18007_; lean_object* v_modName_18008_; lean_object* v___x_18009_; lean_object* v___x_18010_; lean_object* v___x_18011_; lean_object* v___x_18012_; lean_object* v___x_18013_; -v___x_18003_ = lean_st_ref_get(v___y_18000_); -v_env_18004_ = lean_ctor_get(v___x_18003_, 0); -lean_inc_ref(v_env_18004_); -lean_dec(v___x_18003_); -v___x_18005_ = l___private_Lean_Compiler_ModPkgExt_0__Lean_modPkgExt; -v_toEnvExtension_18006_ = lean_ctor_get(v___x_18005_, 0); -lean_inc_ref(v_toEnvExtension_18006_); -v_asyncMode_18007_ = lean_ctor_get(v_toEnvExtension_18006_, 2); -lean_inc(v_asyncMode_18007_); -lean_dec_ref(v_toEnvExtension_18006_); -v_modName_18008_ = lean_ctor_get(v___y_17998_, 2); -lean_inc(v_modName_18008_); -lean_dec_ref(v___y_17998_); -v___x_18009_ = lean_box(0); -v___x_18010_ = lean_box(0); -v___x_18011_ = l_Lean_PersistentEnvExtension_getState___redArg(v___x_18009_, v___x_18005_, v_env_18004_, v_asyncMode_18007_, v___x_18010_); -lean_dec(v_asyncMode_18007_); -v___x_18012_ = l_Lean_mkModuleInitializationFunctionName(v_modName_18008_, v___x_18011_, v___y_18002_); -lean_dec(v___x_18011_); -v___x_18013_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__47)); -if (v___y_17999_ == 0) -{ -lean_object* v___x_18014_; -v___x_18014_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__48)); -v___y_17980_ = v___y_17997_; -v___y_17981_ = v___y_17999_; -v___y_17982_ = v___y_18001_; -v___y_17983_ = v___x_18013_; -v___y_17984_ = v___x_18012_; -v___y_17985_ = v___x_18014_; -goto v___jp_17979_; -} -else -{ -lean_object* v___x_18015_; -v___x_18015_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__49)); -v___y_17980_ = v___y_17997_; -v___y_17981_ = v___y_17999_; -v___y_17982_ = v___y_18001_; -v___y_17983_ = v___x_18013_; -v___y_17984_ = v___x_18012_; -v___y_17985_ = v___x_18015_; -goto v___jp_17979_; -} -} -v___jp_18016_: -{ -lean_object* v___x_18020_; lean_object* v_env_18021_; lean_object* v___x_18022_; uint8_t v_isModule_18023_; lean_object* v___x_18024_; uint8_t v___x_18025_; -v___x_18020_ = lean_st_ref_get(v___y_18019_); -v_env_18021_ = lean_ctor_get(v___x_18020_, 0); -lean_inc_ref(v_env_18021_); -lean_dec(v___x_18020_); -v___x_18022_ = l_Lean_Environment_header(v_env_18021_); -v_isModule_18023_ = lean_ctor_get_uint8(v___x_18022_, sizeof(void*)*7 + 4); -lean_dec_ref(v___x_18022_); -v___x_18024_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__51)); -v___x_18025_ = l_Lean_Compiler_LCNF_usesModuleFrom(v_env_18021_, v___x_18024_); -if (v_isModule_18023_ == 0) -{ -uint8_t v___x_18026_; -v___x_18026_ = 2; -v___y_17997_ = v_env_18021_; -v___y_17998_ = v___y_18017_; -v___y_17999_ = v___x_18025_; -v___y_18000_ = v___y_18019_; -v___y_18001_ = v___y_18018_; -v___y_18002_ = v___x_18026_; -goto v___jp_17996_; -} -else -{ -uint8_t v___x_18027_; -v___x_18027_ = 0; -v___y_17997_ = v_env_18021_; -v___y_17998_ = v___y_18017_; -v___y_17999_ = v___x_18025_; -v___y_18000_ = v___y_18019_; -v___y_18001_ = v___y_18018_; -v___y_18002_ = v___x_18027_; -goto v___jp_17996_; +lean_object* v___x_18011_; +v___x_18011_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__53)); +v___y_17922_ = v___y_18004_; +v___y_17923_ = v___y_18003_; +v___y_17924_ = v___x_18009_; +v___y_17925_ = v___x_18008_; +v___y_17926_ = v_env_18006_; +v___y_17927_ = v___y_18002_; +v___y_17928_ = v___x_18011_; +goto v___jp_17921_; } } } else { -lean_object* v___x_18035_; lean_object* v___x_18036_; -lean_dec_ref(v_a_17743_); -v___x_18035_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__55); -v___x_18036_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_throwInvalidExportName_spec__0___redArg(v___x_18035_, v_a_17745_, v_a_17746_, v_a_17747_, v_a_17748_); -return v___x_18036_; +lean_object* v___x_18019_; lean_object* v___x_18020_; +lean_dec_ref(v_a_17745_); +v___x_18019_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__57); +v___x_18020_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_throwInvalidExportName_spec__0___redArg(v___x_18019_, v_a_17747_, v_a_17748_, v_a_17749_, v_a_17750_); +return v___x_18020_; } -v___jp_17750_: +v___jp_17752_: { -lean_object* v___x_17760_; lean_object* v___x_17761_; lean_object* v___x_17762_; lean_object* v___x_17763_; lean_object* v___x_17764_; lean_object* v___x_17765_; lean_object* v___x_17766_; lean_object* v___x_17767_; lean_object* v___x_17768_; lean_object* v___x_17769_; lean_object* v___x_17770_; lean_object* v___x_17771_; lean_object* v___x_17772_; lean_object* v___x_17773_; lean_object* v___x_17774_; lean_object* v___x_17775_; lean_object* v___x_17777_; uint8_t v_isShared_17778_; uint8_t v_isSharedCheck_17812_; -v___x_17760_ = lean_string_append(v___y_17751_, v___y_17759_); -lean_dec_ref(v___y_17759_); -v___x_17761_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__0)); -v___x_17762_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__1)); -v___x_17763_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__2)); -v___x_17764_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__3)); -v___x_17765_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17765_, 0, v___y_17753_); -lean_ctor_set(v___x_17765_, 1, v___y_17754_); +lean_object* v___x_17761_; lean_object* v___x_17762_; lean_object* v___x_17763_; lean_object* v___x_17764_; lean_object* v___x_17765_; lean_object* v___x_17766_; lean_object* v___x_17767_; lean_object* v___x_17768_; lean_object* v___x_17769_; lean_object* v___x_17770_; lean_object* v___x_17771_; lean_object* v___x_17772_; lean_object* v___x_17773_; lean_object* v___x_17774_; lean_object* v___x_17775_; lean_object* v___x_17777_; uint8_t v_isShared_17778_; uint8_t v_isSharedCheck_17812_; +v___x_17761_ = lean_string_append(v___y_17755_, v___y_17760_); +lean_dec_ref(v___y_17760_); +v___x_17762_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__0)); +v___x_17763_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__1)); +v___x_17764_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__2)); +v___x_17765_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__3)); v___x_17766_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17766_, 0, v___x_17764_); -lean_ctor_set(v___x_17766_, 1, v___x_17765_); +lean_ctor_set(v___x_17766_, 0, v___x_17765_); +lean_ctor_set(v___x_17766_, 1, v___y_17754_); lean_inc_ref(v___y_17758_); v___x_17767_ = lean_alloc_ctor(1, 2, 0); lean_ctor_set(v___x_17767_, 0, v___y_17758_); lean_ctor_set(v___x_17767_, 1, v___x_17766_); v___x_17768_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17768_, 0, v___x_17763_); +lean_ctor_set(v___x_17768_, 0, v___x_17764_); lean_ctor_set(v___x_17768_, 1, v___x_17767_); v___x_17769_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17769_, 0, v___x_17762_); +lean_ctor_set(v___x_17769_, 0, v___x_17763_); lean_ctor_set(v___x_17769_, 1, v___x_17768_); v___x_17770_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17770_, 0, v___x_17761_); +lean_ctor_set(v___x_17770_, 0, v___x_17762_); lean_ctor_set(v___x_17770_, 1, v___x_17769_); v___x_17771_ = lean_alloc_ctor(1, 2, 0); lean_ctor_set(v___x_17771_, 0, v___y_17758_); lean_ctor_set(v___x_17771_, 1, v___x_17770_); v___x_17772_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17772_, 0, v___x_17760_); +lean_ctor_set(v___x_17772_, 0, v___x_17761_); lean_ctor_set(v___x_17772_, 1, v___x_17771_); v___x_17773_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17773_, 0, v___y_17756_); +lean_ctor_set(v___x_17773_, 0, v___y_17757_); lean_ctor_set(v___x_17773_, 1, v___x_17772_); v___x_17774_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_17774_, 0, v___y_17757_); +lean_ctor_set(v___x_17774_, 0, v___y_17753_); lean_ctor_set(v___x_17774_, 1, v___x_17773_); -v___x_17775_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17774_, v___y_17752_); +v___x_17775_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17774_, v___y_17759_); lean_dec_ref(v___x_17774_); v_isSharedCheck_17812_ = !lean_is_exclusive(v___x_17775_); if (v_isSharedCheck_17812_ == 0) @@ -55269,7 +55133,7 @@ goto v_resetjp_17776_; v_resetjp_17776_: { lean_object* v___x_17779_; lean_object* v_buf_17780_; lean_object* v_varMangleCache_17781_; lean_object* v_funMangleCache_17782_; lean_object* v_funInitMangleCache_17783_; lean_object* v___x_17785_; uint8_t v_isShared_17786_; uint8_t v_isSharedCheck_17811_; -v___x_17779_ = lean_st_ref_take(v___y_17752_); +v___x_17779_ = lean_st_ref_take(v___y_17759_); v_buf_17780_ = lean_ctor_get(v___x_17779_, 0); v_varMangleCache_17781_ = lean_ctor_get(v___x_17779_, 1); v_funMangleCache_17782_ = lean_ctor_get(v___x_17779_, 2); @@ -55294,62 +55158,62 @@ goto v_resetjp_17784_; } v_resetjp_17784_: { -lean_object* v___x_17787_; lean_object* v___x_17788_; lean_object* v___x_17790_; -v___x_17787_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_withEmitBlock___redArg___closed__1)); -v___x_17788_ = lean_string_append(v_buf_17780_, v___x_17787_); +lean_object* v___x_17787_; lean_object* v___x_17789_; +v___x_17787_ = lean_string_append(v_buf_17780_, v___y_17756_); +lean_dec_ref(v___y_17756_); if (v_isShared_17786_ == 0) { -lean_ctor_set(v___x_17785_, 0, v___x_17788_); -v___x_17790_ = v___x_17785_; -goto v_reusejp_17789_; +lean_ctor_set(v___x_17785_, 0, v___x_17787_); +v___x_17789_ = v___x_17785_; +goto v_reusejp_17788_; } else { lean_object* v_reuseFailAlloc_17810_; v_reuseFailAlloc_17810_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17810_, 0, v___x_17788_); +lean_ctor_set(v_reuseFailAlloc_17810_, 0, v___x_17787_); lean_ctor_set(v_reuseFailAlloc_17810_, 1, v_varMangleCache_17781_); lean_ctor_set(v_reuseFailAlloc_17810_, 2, v_funMangleCache_17782_); lean_ctor_set(v_reuseFailAlloc_17810_, 3, v_funInitMangleCache_17783_); -v___x_17790_ = v_reuseFailAlloc_17810_; -goto v_reusejp_17789_; +v___x_17789_ = v_reuseFailAlloc_17810_; +goto v_reusejp_17788_; } -v_reusejp_17789_: +v_reusejp_17788_: { -lean_object* v___x_17791_; lean_object* v___x_17792_; lean_object* v_buf_17793_; lean_object* v_varMangleCache_17794_; lean_object* v_funMangleCache_17795_; lean_object* v_funInitMangleCache_17796_; lean_object* v___x_17798_; uint8_t v_isShared_17799_; uint8_t v_isSharedCheck_17809_; -v___x_17791_ = lean_st_ref_set(v___y_17752_, v___x_17790_); -v___x_17792_ = lean_st_ref_take(v___y_17752_); -v_buf_17793_ = lean_ctor_get(v___x_17792_, 0); -v_varMangleCache_17794_ = lean_ctor_get(v___x_17792_, 1); -v_funMangleCache_17795_ = lean_ctor_get(v___x_17792_, 2); -v_funInitMangleCache_17796_ = lean_ctor_get(v___x_17792_, 3); -v_isSharedCheck_17809_ = !lean_is_exclusive(v___x_17792_); +lean_object* v___x_17790_; lean_object* v___x_17791_; lean_object* v_buf_17792_; lean_object* v_varMangleCache_17793_; lean_object* v_funMangleCache_17794_; lean_object* v_funInitMangleCache_17795_; lean_object* v___x_17797_; uint8_t v_isShared_17798_; uint8_t v_isSharedCheck_17809_; +v___x_17790_ = lean_st_ref_set(v___y_17759_, v___x_17789_); +v___x_17791_ = lean_st_ref_take(v___y_17759_); +v_buf_17792_ = lean_ctor_get(v___x_17791_, 0); +v_varMangleCache_17793_ = lean_ctor_get(v___x_17791_, 1); +v_funMangleCache_17794_ = lean_ctor_get(v___x_17791_, 2); +v_funInitMangleCache_17795_ = lean_ctor_get(v___x_17791_, 3); +v_isSharedCheck_17809_ = !lean_is_exclusive(v___x_17791_); if (v_isSharedCheck_17809_ == 0) { -v___x_17798_ = v___x_17792_; -v_isShared_17799_ = v_isSharedCheck_17809_; -goto v_resetjp_17797_; +v___x_17797_ = v___x_17791_; +v_isShared_17798_ = v_isSharedCheck_17809_; +goto v_resetjp_17796_; } else { -lean_inc(v_funInitMangleCache_17796_); -lean_inc(v_funMangleCache_17795_); -lean_inc(v_varMangleCache_17794_); -lean_inc(v_buf_17793_); -lean_dec(v___x_17792_); -v___x_17798_ = lean_box(0); -v_isShared_17799_ = v_isSharedCheck_17809_; -goto v_resetjp_17797_; +lean_inc(v_funInitMangleCache_17795_); +lean_inc(v_funMangleCache_17794_); +lean_inc(v_varMangleCache_17793_); +lean_inc(v_buf_17792_); +lean_dec(v___x_17791_); +v___x_17797_ = lean_box(0); +v_isShared_17798_ = v_isSharedCheck_17809_; +goto v_resetjp_17796_; } -v_resetjp_17797_: +v_resetjp_17796_: { -lean_object* v___x_17800_; lean_object* v___x_17802_; -v___x_17800_ = lean_string_append(v_buf_17793_, v___y_17755_); -lean_dec_ref(v___y_17755_); -if (v_isShared_17799_ == 0) +lean_object* v___x_17799_; lean_object* v___x_17800_; lean_object* v___x_17802_; +v___x_17799_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); +v___x_17800_ = lean_string_append(v_buf_17792_, v___x_17799_); +if (v_isShared_17798_ == 0) { -lean_ctor_set(v___x_17798_, 0, v___x_17800_); -v___x_17802_ = v___x_17798_; +lean_ctor_set(v___x_17797_, 0, v___x_17800_); +v___x_17802_ = v___x_17797_; goto v_reusejp_17801_; } else @@ -55357,16 +55221,16 @@ else lean_object* v_reuseFailAlloc_17808_; v_reuseFailAlloc_17808_ = lean_alloc_ctor(0, 4, 0); lean_ctor_set(v_reuseFailAlloc_17808_, 0, v___x_17800_); -lean_ctor_set(v_reuseFailAlloc_17808_, 1, v_varMangleCache_17794_); -lean_ctor_set(v_reuseFailAlloc_17808_, 2, v_funMangleCache_17795_); -lean_ctor_set(v_reuseFailAlloc_17808_, 3, v_funInitMangleCache_17796_); +lean_ctor_set(v_reuseFailAlloc_17808_, 1, v_varMangleCache_17793_); +lean_ctor_set(v_reuseFailAlloc_17808_, 2, v_funMangleCache_17794_); +lean_ctor_set(v_reuseFailAlloc_17808_, 3, v_funInitMangleCache_17795_); v___x_17802_ = v_reuseFailAlloc_17808_; goto v_reusejp_17801_; } v_reusejp_17801_: { lean_object* v___x_17803_; lean_object* v___x_17804_; lean_object* v___x_17806_; -v___x_17803_ = lean_st_ref_set(v___y_17752_, v___x_17802_); +v___x_17803_ = lean_st_ref_set(v___y_17759_, v___x_17802_); v___x_17804_ = lean_box(0); if (v_isShared_17778_ == 0) { @@ -55394,1045 +55258,1107 @@ return v___x_17806_; } v___jp_17814_: { -lean_object* v___x_17822_; lean_object* v___x_17823_; lean_object* v___x_17824_; lean_object* v___x_17825_; uint8_t v___x_17826_; lean_object* v___x_17827_; lean_object* v___x_17828_; -v___x_17822_ = l_Lean_ConstantInfo_type(v___y_17821_); -lean_dec_ref(v___y_17821_); -v___x_17823_ = l_Lean_Expr_getForallBody(v___x_17822_); +lean_object* v___x_17821_; lean_object* v___x_17822_; lean_object* v___x_17823_; lean_object* v___x_17824_; uint8_t v___x_17825_; lean_object* v___x_17826_; lean_object* v___x_17827_; +v___x_17821_ = l_Lean_ConstantInfo_type(v___y_17820_); +lean_dec_ref(v___y_17820_); +v___x_17822_ = l_Lean_Expr_getForallBody(v___x_17821_); +lean_dec_ref(v___x_17821_); +v___x_17823_ = l_Lean_Expr_appArg_x21(v___x_17822_); lean_dec_ref(v___x_17822_); -v___x_17824_ = l_Lean_Expr_appArg_x21(v___x_17823_); +v___x_17824_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__4)); +v___x_17825_ = l_Lean_Expr_isConstOf(v___x_17823_, v___x_17824_); lean_dec_ref(v___x_17823_); -v___x_17825_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__4)); -v___x_17826_ = l_Lean_Expr_isConstOf(v___x_17824_, v___x_17825_); -lean_dec_ref(v___x_17824_); -v___x_17827_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__5)); -v___x_17828_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__6)); -if (v___x_17826_ == 0) +v___x_17826_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__5)); +v___x_17827_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__6)); +if (v___x_17825_ == 0) +{ +lean_object* v___x_17828_; +v___x_17828_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__7)); +v___y_17753_ = v___x_17826_; +v___y_17754_ = v___y_17815_; +v___y_17755_ = v___x_17827_; +v___y_17756_ = v___y_17817_; +v___y_17757_ = v___y_17816_; +v___y_17758_ = v___y_17818_; +v___y_17759_ = v___y_17819_; +v___y_17760_ = v___x_17828_; +goto v___jp_17752_; +} +else { lean_object* v___x_17829_; -v___x_17829_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__7)); -v___y_17751_ = v___x_17828_; -v___y_17752_ = v___y_17815_; -v___y_17753_ = v___y_17816_; -v___y_17754_ = v___y_17817_; -v___y_17755_ = v___y_17819_; -v___y_17756_ = v___y_17818_; -v___y_17757_ = v___x_17827_; -v___y_17758_ = v___y_17820_; -v___y_17759_ = v___x_17829_; -goto v___jp_17750_; -} -else -{ -lean_object* v___x_17830_; -v___x_17830_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__8)); -v___y_17751_ = v___x_17828_; -v___y_17752_ = v___y_17815_; -v___y_17753_ = v___y_17816_; -v___y_17754_ = v___y_17817_; -v___y_17755_ = v___y_17819_; -v___y_17756_ = v___y_17818_; -v___y_17757_ = v___x_17827_; -v___y_17758_ = v___y_17820_; -v___y_17759_ = v___x_17830_; -goto v___jp_17750_; +v___x_17829_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__8)); +v___y_17753_ = v___x_17826_; +v___y_17754_ = v___y_17815_; +v___y_17755_ = v___x_17827_; +v___y_17756_ = v___y_17817_; +v___y_17757_ = v___y_17816_; +v___y_17758_ = v___y_17818_; +v___y_17759_ = v___y_17819_; +v___y_17760_ = v___x_17829_; +goto v___jp_17752_; } } -v___jp_17831_: +v___jp_17830_: { -lean_object* v___x_17837_; lean_object* v_buf_17838_; lean_object* v_varMangleCache_17839_; lean_object* v_funMangleCache_17840_; lean_object* v_funInitMangleCache_17841_; lean_object* v___x_17843_; uint8_t v_isShared_17844_; uint8_t v_isSharedCheck_17872_; -v___x_17837_ = lean_st_ref_take(v___y_17836_); -v_buf_17838_ = lean_ctor_get(v___x_17837_, 0); -v_varMangleCache_17839_ = lean_ctor_get(v___x_17837_, 1); -v_funMangleCache_17840_ = lean_ctor_get(v___x_17837_, 2); -v_funInitMangleCache_17841_ = lean_ctor_get(v___x_17837_, 3); -v_isSharedCheck_17872_ = !lean_is_exclusive(v___x_17837_); -if (v_isSharedCheck_17872_ == 0) +lean_object* v___x_17844_; lean_object* v___x_17845_; lean_object* v___x_17846_; lean_object* v___x_17847_; lean_object* v___x_17848_; lean_object* v___x_17849_; lean_object* v___x_17850_; lean_object* v___x_17851_; lean_object* v___x_17852_; lean_object* v___x_17853_; lean_object* v___x_17854_; lean_object* v___x_17855_; lean_object* v___x_17856_; lean_object* v___x_17857_; lean_object* v___x_17858_; lean_object* v___x_17859_; lean_object* v___x_17860_; lean_object* v___x_17861_; lean_object* v___x_17862_; lean_object* v___x_17863_; lean_object* v___x_17864_; lean_object* v___x_17865_; lean_object* v___x_17866_; lean_object* v___x_17867_; lean_object* v___x_17868_; lean_object* v___x_17869_; lean_object* v___x_17870_; lean_object* v___x_17871_; uint8_t v___x_17872_; lean_object* v___x_17873_; +v___x_17844_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9)); +v___x_17845_ = lean_string_append(v___x_17844_, v___y_17836_); +lean_dec_ref(v___y_17836_); +v___x_17846_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__10)); +v___x_17847_ = lean_string_append(v___x_17845_, v___x_17846_); +v___x_17848_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__11)); +v___x_17849_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__12)); +v___x_17850_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__13)); +v___x_17851_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__14)); +v___x_17852_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__15)); +v___x_17853_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__16)); +v___x_17854_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17854_, 0, v___x_17853_); +lean_ctor_set(v___x_17854_, 1, v___y_17840_); +lean_inc_ref(v___x_17854_); +v___x_17855_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17855_, 0, v___x_17852_); +lean_ctor_set(v___x_17855_, 1, v___x_17854_); +v___x_17856_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17856_, 0, v___x_17851_); +lean_ctor_set(v___x_17856_, 1, v___x_17855_); +v___x_17857_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17857_, 0, v___x_17850_); +lean_ctor_set(v___x_17857_, 1, v___x_17856_); +v___x_17858_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17858_, 0, v___x_17849_); +lean_ctor_set(v___x_17858_, 1, v___x_17857_); +v___x_17859_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17859_, 0, v___x_17848_); +lean_ctor_set(v___x_17859_, 1, v___x_17858_); +v___x_17860_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17860_, 0, v___x_17847_); +lean_ctor_set(v___x_17860_, 1, v___x_17859_); +v___x_17861_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17861_, 0, v___y_17843_); +lean_ctor_set(v___x_17861_, 1, v___x_17860_); +v___x_17862_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17862_, 0, v___y_17837_); +lean_ctor_set(v___x_17862_, 1, v___x_17861_); +v___x_17863_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17863_, 0, v___y_17833_); +lean_ctor_set(v___x_17863_, 1, v___x_17862_); +v___x_17864_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17864_, 0, v___y_17838_); +lean_ctor_set(v___x_17864_, 1, v___x_17863_); +v___x_17865_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17865_, 0, v___y_17835_); +lean_ctor_set(v___x_17865_, 1, v___x_17864_); +v___x_17866_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17866_, 0, v___y_17831_); +lean_ctor_set(v___x_17866_, 1, v___x_17865_); +v___x_17867_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17867_, 0, v___y_17832_); +lean_ctor_set(v___x_17867_, 1, v___x_17866_); +v___x_17868_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17868_, 0, v___y_17841_); +lean_ctor_set(v___x_17868_, 1, v___x_17867_); +lean_inc_ref(v___y_17839_); +v___x_17869_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_17869_, 0, v___y_17839_); +lean_ctor_set(v___x_17869_, 1, v___x_17868_); +v___x_17870_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_17869_, v___y_17842_); +lean_dec_ref(v___x_17869_); +lean_dec_ref(v___x_17870_); +v___x_17871_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_toCName_go___closed__1)); +v___x_17872_ = 0; +v___x_17873_ = l_Lean_Environment_find_x3f(v___y_17834_, v___x_17871_, v___x_17872_); +if (lean_obj_tag(v___x_17873_) == 0) { -v___x_17843_ = v___x_17837_; -v_isShared_17844_ = v_isSharedCheck_17872_; -goto v_resetjp_17842_; -} -else -{ -lean_inc(v_funInitMangleCache_17841_); -lean_inc(v_funMangleCache_17840_); -lean_inc(v_varMangleCache_17839_); -lean_inc(v_buf_17838_); -lean_dec(v___x_17837_); -v___x_17843_ = lean_box(0); -v_isShared_17844_ = v_isSharedCheck_17872_; -goto v_resetjp_17842_; -} -v_resetjp_17842_: -{ -lean_object* v___x_17845_; lean_object* v___x_17846_; lean_object* v___x_17848_; -v___x_17845_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__9)); -v___x_17846_ = lean_string_append(v_buf_17838_, v___x_17845_); -if (v_isShared_17844_ == 0) -{ -lean_ctor_set(v___x_17843_, 0, v___x_17846_); -v___x_17848_ = v___x_17843_; -goto v_reusejp_17847_; -} -else -{ -lean_object* v_reuseFailAlloc_17871_; -v_reuseFailAlloc_17871_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17871_, 0, v___x_17846_); -lean_ctor_set(v_reuseFailAlloc_17871_, 1, v_varMangleCache_17839_); -lean_ctor_set(v_reuseFailAlloc_17871_, 2, v_funMangleCache_17840_); -lean_ctor_set(v_reuseFailAlloc_17871_, 3, v_funInitMangleCache_17841_); -v___x_17848_ = v_reuseFailAlloc_17871_; -goto v_reusejp_17847_; -} -v_reusejp_17847_: -{ -lean_object* v___x_17849_; lean_object* v___x_17850_; lean_object* v_buf_17851_; lean_object* v_varMangleCache_17852_; lean_object* v_funMangleCache_17853_; lean_object* v_funInitMangleCache_17854_; lean_object* v___x_17856_; uint8_t v_isShared_17857_; uint8_t v_isSharedCheck_17870_; -v___x_17849_ = lean_st_ref_set(v___y_17836_, v___x_17848_); -v___x_17850_ = lean_st_ref_take(v___y_17836_); -v_buf_17851_ = lean_ctor_get(v___x_17850_, 0); -v_varMangleCache_17852_ = lean_ctor_get(v___x_17850_, 1); -v_funMangleCache_17853_ = lean_ctor_get(v___x_17850_, 2); -v_funInitMangleCache_17854_ = lean_ctor_get(v___x_17850_, 3); -v_isSharedCheck_17870_ = !lean_is_exclusive(v___x_17850_); -if (v_isSharedCheck_17870_ == 0) -{ -v___x_17856_ = v___x_17850_; -v_isShared_17857_ = v_isSharedCheck_17870_; -goto v_resetjp_17855_; -} -else -{ -lean_inc(v_funInitMangleCache_17854_); -lean_inc(v_funMangleCache_17853_); -lean_inc(v_varMangleCache_17852_); -lean_inc(v_buf_17851_); -lean_dec(v___x_17850_); -v___x_17856_ = lean_box(0); -v_isShared_17857_ = v_isSharedCheck_17870_; -goto v_resetjp_17855_; -} -v_resetjp_17855_: -{ -lean_object* v___x_17858_; lean_object* v___x_17859_; lean_object* v___x_17861_; -v___x_17858_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLn___redArg___closed__0)); -v___x_17859_ = lean_string_append(v_buf_17851_, v___x_17858_); -if (v_isShared_17857_ == 0) -{ -lean_ctor_set(v___x_17856_, 0, v___x_17859_); -v___x_17861_ = v___x_17856_; -goto v_reusejp_17860_; -} -else -{ -lean_object* v_reuseFailAlloc_17869_; -v_reuseFailAlloc_17869_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_17869_, 0, v___x_17859_); -lean_ctor_set(v_reuseFailAlloc_17869_, 1, v_varMangleCache_17852_); -lean_ctor_set(v_reuseFailAlloc_17869_, 2, v_funMangleCache_17853_); -lean_ctor_set(v_reuseFailAlloc_17869_, 3, v_funInitMangleCache_17854_); -v___x_17861_ = v_reuseFailAlloc_17869_; -goto v_reusejp_17860_; -} -v_reusejp_17860_: -{ -lean_object* v___x_17862_; lean_object* v___x_17863_; uint8_t v___x_17864_; lean_object* v___x_17865_; -v___x_17862_ = lean_st_ref_set(v___y_17836_, v___x_17861_); -v___x_17863_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_toCName_go___closed__1)); -v___x_17864_ = 0; -v___x_17865_ = l_Lean_Environment_find_x3f(v___y_17832_, v___x_17863_, v___x_17864_); -if (lean_obj_tag(v___x_17865_) == 0) -{ -lean_object* v___x_17866_; lean_object* v___x_17867_; -v___x_17866_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18); -v___x_17867_ = l_panic___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn_spec__0(v___x_17866_); -v___y_17815_ = v___y_17836_; -v___y_17816_ = v___x_17845_; -v___y_17817_ = v___y_17833_; -v___y_17818_ = v___y_17834_; -v___y_17819_ = v___x_17858_; -v___y_17820_ = v___y_17835_; -v___y_17821_ = v___x_17867_; +lean_object* v___x_17874_; lean_object* v___x_17875_; +v___x_17874_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitGroundDecl_compileGroundToValue___closed__18); +v___x_17875_ = l_panic___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn_spec__0(v___x_17874_); +v___y_17815_ = v___x_17854_; +v___y_17816_ = v___x_17849_; +v___y_17817_ = v___y_17839_; +v___y_17818_ = v___x_17850_; +v___y_17819_ = v___y_17842_; +v___y_17820_ = v___x_17875_; goto v___jp_17814_; } else { -lean_object* v_val_17868_; -v_val_17868_ = lean_ctor_get(v___x_17865_, 0); -lean_inc(v_val_17868_); -lean_dec_ref(v___x_17865_); -v___y_17815_ = v___y_17836_; -v___y_17816_ = v___x_17845_; -v___y_17817_ = v___y_17833_; -v___y_17818_ = v___y_17834_; -v___y_17819_ = v___x_17858_; -v___y_17820_ = v___y_17835_; -v___y_17821_ = v_val_17868_; +lean_object* v_val_17876_; +v_val_17876_ = lean_ctor_get(v___x_17873_, 0); +lean_inc(v_val_17876_); +lean_dec_ref(v___x_17873_); +v___y_17815_ = v___x_17854_; +v___y_17816_ = v___x_17849_; +v___y_17817_ = v___y_17839_; +v___y_17818_ = v___x_17850_; +v___y_17819_ = v___y_17842_; +v___y_17820_ = v_val_17876_; goto v___jp_17814_; } } -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___boxed(lean_object* v_decl_18037_, lean_object* v_a_18038_, lean_object* v_a_18039_, lean_object* v_a_18040_, lean_object* v_a_18041_, lean_object* v_a_18042_, lean_object* v_a_18043_, lean_object* v_a_18044_){ -_start: +v___jp_17877_: { -lean_object* v_res_18045_; -v_res_18045_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(v_decl_18037_, v_a_18038_, v_a_18039_, v_a_18040_, v_a_18041_, v_a_18042_, v_a_18043_); -lean_dec(v_a_18043_); -lean_dec_ref(v_a_18042_); -lean_dec(v_a_18041_); -lean_dec_ref(v_a_18040_); -lean_dec(v_a_18039_); -lean_dec_ref(v_decl_18037_); -return v_res_18045_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(lean_object* v_a_18046_, lean_object* v_a_18047_, lean_object* v_a_18048_, lean_object* v_a_18049_, lean_object* v_a_18050_, lean_object* v_a_18051_){ -_start: +lean_object* v___x_17887_; lean_object* v_env_17888_; lean_object* v___x_17889_; lean_object* v_toEnvExtension_17890_; lean_object* v_asyncMode_17891_; lean_object* v_modName_17892_; lean_object* v___x_17893_; lean_object* v___x_17894_; lean_object* v___x_17895_; lean_object* v___x_17896_; lean_object* v___x_17897_; lean_object* v___x_17898_; lean_object* v___x_17899_; lean_object* v___x_17900_; lean_object* v___x_17901_; lean_object* v___x_17902_; +v___x_17887_ = lean_st_ref_get(v___y_17881_); +v_env_17888_ = lean_ctor_get(v___x_17887_, 0); +lean_inc_ref(v_env_17888_); +lean_dec(v___x_17887_); +v___x_17889_ = l___private_Lean_Compiler_ModPkgExt_0__Lean_modPkgExt; +v_toEnvExtension_17890_ = lean_ctor_get(v___x_17889_, 0); +lean_inc_ref(v_toEnvExtension_17890_); +v_asyncMode_17891_ = lean_ctor_get(v_toEnvExtension_17890_, 2); +lean_inc(v_asyncMode_17891_); +lean_dec_ref(v_toEnvExtension_17890_); +v_modName_17892_ = lean_ctor_get(v___y_17885_, 2); +lean_inc(v_modName_17892_); +lean_dec_ref(v___y_17885_); +v___x_17893_ = lean_box(0); +v___x_17894_ = lean_box(0); +v___x_17895_ = l_Lean_PersistentEnvExtension_getState___redArg(v___x_17893_, v___x_17889_, v_env_17888_, v_asyncMode_17891_, v___x_17894_); +lean_dec(v_asyncMode_17891_); +v___x_17896_ = l_Lean_mkModuleInitializationFunctionName(v_modName_17892_, v___x_17895_, v___y_17886_); +lean_dec(v___x_17895_); +v___x_17897_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_withEmitBlock___redArg___closed__1)); +v___x_17898_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__17)); +v___x_17899_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__18)); +v___x_17900_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__19)); +v___x_17901_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__20)); +v___x_17902_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__21)); +if (v___y_17882_ == 0) { -lean_object* v___x_18053_; lean_object* v_a_18054_; lean_object* v___x_18056_; uint8_t v_isShared_18057_; uint8_t v_isSharedCheck_18064_; -v___x_18053_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_hasMainFn___redArg(v_a_18046_); -v_a_18054_ = lean_ctor_get(v___x_18053_, 0); -v_isSharedCheck_18064_ = !lean_is_exclusive(v___x_18053_); -if (v_isSharedCheck_18064_ == 0) -{ -v___x_18056_ = v___x_18053_; -v_isShared_18057_ = v_isSharedCheck_18064_; -goto v_resetjp_18055_; +lean_object* v___x_17903_; +v___x_17903_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__22)); +v___y_17831_ = v___x_17899_; +v___y_17832_ = v___y_17879_; +v___y_17833_ = v___x_17901_; +v___y_17834_ = v___y_17883_; +v___y_17835_ = v___x_17900_; +v___y_17836_ = v___x_17896_; +v___y_17837_ = v___x_17902_; +v___y_17838_ = v___y_17878_; +v___y_17839_ = v___x_17897_; +v___y_17840_ = v___y_17880_; +v___y_17841_ = v___x_17898_; +v___y_17842_ = v___y_17884_; +v___y_17843_ = v___x_17903_; +goto v___jp_17830_; } else { -lean_inc(v_a_18054_); -lean_dec(v___x_18053_); -v___x_18056_ = lean_box(0); -v_isShared_18057_ = v_isSharedCheck_18064_; -goto v_resetjp_18055_; +lean_object* v___x_17904_; +v___x_17904_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___closed__23)); +v___y_17831_ = v___x_17899_; +v___y_17832_ = v___y_17879_; +v___y_17833_ = v___x_17901_; +v___y_17834_ = v___y_17883_; +v___y_17835_ = v___x_17900_; +v___y_17836_ = v___x_17896_; +v___y_17837_ = v___x_17902_; +v___y_17838_ = v___y_17878_; +v___y_17839_ = v___x_17897_; +v___y_17840_ = v___y_17880_; +v___y_17841_ = v___x_17898_; +v___y_17842_ = v___y_17884_; +v___y_17843_ = v___x_17904_; +goto v___jp_17830_; } -v_resetjp_18055_: +} +v___jp_17905_: { -if (lean_obj_tag(v_a_18054_) == 1) +lean_object* v___x_17914_; uint8_t v_isModule_17915_; +v___x_17914_ = l_Lean_Environment_header(v___y_17909_); +v_isModule_17915_ = lean_ctor_get_uint8(v___x_17914_, sizeof(void*)*7 + 4); +lean_dec_ref(v___x_17914_); +if (v_isModule_17915_ == 0) { -lean_object* v_val_18058_; lean_object* v___x_18059_; -lean_del_object(v___x_18056_); -v_val_18058_ = lean_ctor_get(v_a_18054_, 0); -lean_inc(v_val_18058_); -lean_dec_ref(v_a_18054_); -v___x_18059_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(v_val_18058_, v_a_18046_, v_a_18047_, v_a_18048_, v_a_18049_, v_a_18050_, v_a_18051_); -lean_dec(v_val_18058_); -return v___x_18059_; +uint8_t v___x_17916_; +v___x_17916_ = 2; +v___y_17878_ = v___y_17907_; +v___y_17879_ = v___y_17906_; +v___y_17880_ = v___y_17908_; +v___y_17881_ = v___y_17913_; +v___y_17882_ = v___y_17910_; +v___y_17883_ = v___y_17909_; +v___y_17884_ = v___y_17912_; +v___y_17885_ = v___y_17911_; +v___y_17886_ = v___x_17916_; +goto v___jp_17877_; } else { -lean_object* v___x_18060_; lean_object* v___x_18062_; +uint8_t v___x_17917_; +v___x_17917_ = 0; +v___y_17878_ = v___y_17907_; +v___y_17879_ = v___y_17906_; +v___y_17880_ = v___y_17908_; +v___y_17881_ = v___y_17913_; +v___y_17882_ = v___y_17910_; +v___y_17883_ = v___y_17909_; +v___y_17884_ = v___y_17912_; +v___y_17885_ = v___y_17911_; +v___y_17886_ = v___x_17917_; +goto v___jp_17877_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn___boxed(lean_object* v_decl_18021_, lean_object* v_a_18022_, lean_object* v_a_18023_, lean_object* v_a_18024_, lean_object* v_a_18025_, lean_object* v_a_18026_, lean_object* v_a_18027_, lean_object* v_a_18028_){ +_start: +{ +lean_object* v_res_18029_; +v_res_18029_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(v_decl_18021_, v_a_18022_, v_a_18023_, v_a_18024_, v_a_18025_, v_a_18026_, v_a_18027_); +lean_dec(v_a_18027_); +lean_dec_ref(v_a_18026_); +lean_dec(v_a_18025_); +lean_dec_ref(v_a_18024_); +lean_dec(v_a_18023_); +lean_dec_ref(v_decl_18021_); +return v_res_18029_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(lean_object* v_a_18030_, lean_object* v_a_18031_, lean_object* v_a_18032_, lean_object* v_a_18033_, lean_object* v_a_18034_, lean_object* v_a_18035_){ +_start: +{ +lean_object* v___x_18037_; lean_object* v_a_18038_; lean_object* v___x_18040_; uint8_t v_isShared_18041_; uint8_t v_isSharedCheck_18048_; +v___x_18037_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_hasMainFn___redArg(v_a_18030_); +v_a_18038_ = lean_ctor_get(v___x_18037_, 0); +v_isSharedCheck_18048_ = !lean_is_exclusive(v___x_18037_); +if (v_isSharedCheck_18048_ == 0) +{ +v___x_18040_ = v___x_18037_; +v_isShared_18041_ = v_isSharedCheck_18048_; +goto v_resetjp_18039_; +} +else +{ +lean_inc(v_a_18038_); +lean_dec(v___x_18037_); +v___x_18040_ = lean_box(0); +v_isShared_18041_ = v_isSharedCheck_18048_; +goto v_resetjp_18039_; +} +v_resetjp_18039_: +{ +if (lean_obj_tag(v_a_18038_) == 1) +{ +lean_object* v_val_18042_; lean_object* v___x_18043_; +lean_del_object(v___x_18040_); +v_val_18042_ = lean_ctor_get(v_a_18038_, 0); +lean_inc(v_val_18042_); +lean_dec_ref(v_a_18038_); +v___x_18043_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded_emitMainFn(v_val_18042_, v_a_18030_, v_a_18031_, v_a_18032_, v_a_18033_, v_a_18034_, v_a_18035_); +lean_dec(v_val_18042_); +return v___x_18043_; +} +else +{ +lean_object* v___x_18044_; lean_object* v___x_18046_; +lean_dec(v_a_18038_); +lean_dec_ref(v_a_18030_); +v___x_18044_ = lean_box(0); +if (v_isShared_18041_ == 0) +{ +lean_ctor_set(v___x_18040_, 0, v___x_18044_); +v___x_18046_ = v___x_18040_; +goto v_reusejp_18045_; +} +else +{ +lean_object* v_reuseFailAlloc_18047_; +v_reuseFailAlloc_18047_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18047_, 0, v___x_18044_); +v___x_18046_ = v_reuseFailAlloc_18047_; +goto v_reusejp_18045_; +} +v_reusejp_18045_: +{ +return v___x_18046_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded___boxed(lean_object* v_a_18049_, lean_object* v_a_18050_, lean_object* v_a_18051_, lean_object* v_a_18052_, lean_object* v_a_18053_, lean_object* v_a_18054_, lean_object* v_a_18055_){ +_start: +{ +lean_object* v_res_18056_; +v_res_18056_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(v_a_18049_, v_a_18050_, v_a_18051_, v_a_18052_, v_a_18053_, v_a_18054_); lean_dec(v_a_18054_); -lean_dec_ref(v_a_18046_); -v___x_18060_ = lean_box(0); -if (v_isShared_18057_ == 0) -{ -lean_ctor_set(v___x_18056_, 0, v___x_18060_); -v___x_18062_ = v___x_18056_; -goto v_reusejp_18061_; -} -else -{ -lean_object* v_reuseFailAlloc_18063_; -v_reuseFailAlloc_18063_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18063_, 0, v___x_18060_); -v___x_18062_ = v_reuseFailAlloc_18063_; -goto v_reusejp_18061_; -} -v_reusejp_18061_: -{ -return v___x_18062_; +lean_dec_ref(v_a_18053_); +lean_dec(v_a_18052_); +lean_dec_ref(v_a_18051_); +lean_dec(v_a_18050_); +return v_res_18056_; } } -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded___boxed(lean_object* v_a_18065_, lean_object* v_a_18066_, lean_object* v_a_18067_, lean_object* v_a_18068_, lean_object* v_a_18069_, lean_object* v_a_18070_, lean_object* v_a_18071_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(lean_object* v_a_18063_){ _start: { -lean_object* v_res_18072_; -v_res_18072_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(v_a_18065_, v_a_18066_, v_a_18067_, v_a_18068_, v_a_18069_, v_a_18070_); -lean_dec(v_a_18070_); -lean_dec_ref(v_a_18069_); -lean_dec(v_a_18068_); -lean_dec_ref(v_a_18067_); -lean_dec(v_a_18066_); -return v_res_18072_; +lean_object* v___x_18065_; lean_object* v___x_18066_; +v___x_18065_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg___closed__1)); +v___x_18066_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_18065_, v_a_18063_); +return v___x_18066_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(lean_object* v_a_18079_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg___boxed(lean_object* v_a_18067_, lean_object* v_a_18068_){ _start: { -lean_object* v___x_18081_; lean_object* v___x_18082_; -v___x_18081_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg___closed__1)); -v___x_18082_ = l_List_forM___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLns___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader_spec__0_spec__0___redArg(v___x_18081_, v_a_18079_); -return v___x_18082_; +lean_object* v_res_18069_; +v_res_18069_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v_a_18067_); +lean_dec(v_a_18067_); +return v_res_18069_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg___boxed(lean_object* v_a_18083_, lean_object* v_a_18084_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter(lean_object* v_a_18070_, lean_object* v_a_18071_, lean_object* v_a_18072_, lean_object* v_a_18073_, lean_object* v_a_18074_, lean_object* v_a_18075_){ +_start: +{ +lean_object* v___x_18077_; +v___x_18077_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v_a_18071_); +return v___x_18077_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___boxed(lean_object* v_a_18078_, lean_object* v_a_18079_, lean_object* v_a_18080_, lean_object* v_a_18081_, lean_object* v_a_18082_, lean_object* v_a_18083_, lean_object* v_a_18084_){ _start: { lean_object* v_res_18085_; -v_res_18085_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v_a_18083_); +v_res_18085_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter(v_a_18078_, v_a_18079_, v_a_18080_, v_a_18081_, v_a_18082_, v_a_18083_); lean_dec(v_a_18083_); +lean_dec_ref(v_a_18082_); +lean_dec(v_a_18081_); +lean_dec_ref(v_a_18080_); +lean_dec(v_a_18079_); +lean_dec_ref(v_a_18078_); return v_res_18085_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter(lean_object* v_a_18086_, lean_object* v_a_18087_, lean_object* v_a_18088_, lean_object* v_a_18089_, lean_object* v_a_18090_, lean_object* v_a_18091_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(lean_object* v_a_18086_, lean_object* v_a_18087_, lean_object* v_a_18088_, lean_object* v_a_18089_, lean_object* v_a_18090_, lean_object* v_a_18091_){ _start: { -lean_object* v___x_18093_; -v___x_18093_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v_a_18087_); -return v___x_18093_; +lean_object* v___y_18094_; lean_object* v___y_18095_; lean_object* v___y_18096_; lean_object* v___y_18097_; lean_object* v___y_18098_; lean_object* v___y_18099_; lean_object* v___x_18102_; +lean_inc_ref(v_a_18086_); +v___x_18102_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader(v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18102_) == 0) +{ +lean_object* v___x_18103_; +lean_dec_ref(v___x_18102_); +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18103_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFnDecls(v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18103_) == 0) +{ +lean_object* v___x_18104_; +lean_dec_ref(v___x_18103_); +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18104_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns(v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18104_) == 0) +{ +lean_object* v___x_18105_; lean_object* v_env_18106_; lean_object* v___x_18107_; uint8_t v_isModule_18108_; +lean_dec_ref(v___x_18104_); +v___x_18105_ = lean_st_ref_get(v_a_18091_); +v_env_18106_ = lean_ctor_get(v___x_18105_, 0); +lean_inc_ref(v_env_18106_); +lean_dec(v___x_18105_); +v___x_18107_ = l_Lean_Environment_header(v_env_18106_); +lean_dec_ref(v_env_18106_); +v_isModule_18108_ = lean_ctor_get_uint8(v___x_18107_, sizeof(void*)*7 + 4); +lean_dec_ref(v___x_18107_); +if (v_isModule_18108_ == 0) +{ +uint8_t v___x_18109_; lean_object* v___x_18110_; +v___x_18109_ = 2; +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18110_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18109_, v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18110_) == 0) +{ +lean_dec_ref(v___x_18110_); +v___y_18094_ = v_a_18086_; +v___y_18095_ = v_a_18087_; +v___y_18096_ = v_a_18088_; +v___y_18097_ = v_a_18089_; +v___y_18098_ = v_a_18090_; +v___y_18099_ = v_a_18091_; +goto v___jp_18093_; +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18110_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___boxed(lean_object* v_a_18094_, lean_object* v_a_18095_, lean_object* v_a_18096_, lean_object* v_a_18097_, lean_object* v_a_18098_, lean_object* v_a_18099_, lean_object* v_a_18100_){ +else +{ +uint8_t v___x_18111_; lean_object* v___x_18112_; +v___x_18111_ = 0; +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18112_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18111_, v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18112_) == 0) +{ +uint8_t v___x_18113_; lean_object* v___x_18114_; +lean_dec_ref(v___x_18112_); +v___x_18113_ = 1; +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18114_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18113_, v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18114_) == 0) +{ +lean_object* v___x_18115_; +lean_dec_ref(v___x_18114_); +lean_inc(v_a_18091_); +lean_inc_ref(v_a_18090_); +lean_inc(v_a_18089_); +lean_inc_ref(v_a_18088_); +lean_inc(v_a_18087_); +lean_inc_ref(v_a_18086_); +v___x_18115_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLegacyInitFn(v_a_18086_, v_a_18087_, v_a_18088_, v_a_18089_, v_a_18090_, v_a_18091_); +if (lean_obj_tag(v___x_18115_) == 0) +{ +lean_dec_ref(v___x_18115_); +v___y_18094_ = v_a_18086_; +v___y_18095_ = v_a_18087_; +v___y_18096_ = v_a_18088_; +v___y_18097_ = v_a_18089_; +v___y_18098_ = v_a_18090_; +v___y_18099_ = v_a_18091_; +goto v___jp_18093_; +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18115_; +} +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18114_; +} +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18112_; +} +} +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18104_; +} +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18103_; +} +} +else +{ +lean_dec(v_a_18091_); +lean_dec_ref(v_a_18090_); +lean_dec(v_a_18089_); +lean_dec_ref(v_a_18088_); +lean_dec(v_a_18087_); +lean_dec_ref(v_a_18086_); +return v___x_18102_; +} +v___jp_18093_: +{ +lean_object* v___x_18100_; +v___x_18100_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(v___y_18094_, v___y_18095_, v___y_18096_, v___y_18097_, v___y_18098_, v___y_18099_); +lean_dec(v___y_18099_); +lean_dec_ref(v___y_18098_); +lean_dec(v___y_18097_); +lean_dec_ref(v___y_18096_); +if (lean_obj_tag(v___x_18100_) == 0) +{ +lean_object* v___x_18101_; +lean_dec_ref(v___x_18100_); +v___x_18101_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v___y_18095_); +lean_dec(v___y_18095_); +return v___x_18101_; +} +else +{ +lean_dec(v___y_18095_); +return v___x_18100_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main___boxed(lean_object* v_a_18116_, lean_object* v_a_18117_, lean_object* v_a_18118_, lean_object* v_a_18119_, lean_object* v_a_18120_, lean_object* v_a_18121_, lean_object* v_a_18122_){ _start: { -lean_object* v_res_18101_; -v_res_18101_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter(v_a_18094_, v_a_18095_, v_a_18096_, v_a_18097_, v_a_18098_, v_a_18099_); -lean_dec(v_a_18099_); -lean_dec_ref(v_a_18098_); -lean_dec(v_a_18097_); -lean_dec_ref(v_a_18096_); -lean_dec(v_a_18095_); -lean_dec_ref(v_a_18094_); -return v_res_18101_; +lean_object* v_res_18123_; +v_res_18123_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(v_a_18116_, v_a_18117_, v_a_18118_, v_a_18119_, v_a_18120_, v_a_18121_); +return v_res_18123_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(lean_object* v_a_18102_, lean_object* v_a_18103_, lean_object* v_a_18104_, lean_object* v_a_18105_, lean_object* v_a_18106_, lean_object* v_a_18107_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___lam__0(lean_object* v___x_18124_, lean_object* v___x_18125_, lean_object* v___y_18126_, lean_object* v___y_18127_, lean_object* v___y_18128_, lean_object* v___y_18129_){ _start: { -lean_object* v___y_18110_; lean_object* v___y_18111_; lean_object* v___y_18112_; lean_object* v___y_18113_; lean_object* v___y_18114_; lean_object* v___y_18115_; lean_object* v___x_18118_; -lean_inc_ref(v_a_18102_); -v___x_18118_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileHeader(v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18118_) == 0) +lean_object* v___x_18131_; lean_object* v___x_18132_; +v___x_18131_ = lean_st_mk_ref(v___x_18124_); +lean_inc(v___x_18131_); +v___x_18132_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(v___x_18125_, v___x_18131_, v___y_18126_, v___y_18127_, v___y_18128_, v___y_18129_); +if (lean_obj_tag(v___x_18132_) == 0) { -lean_object* v___x_18119_; -lean_dec_ref(v___x_18118_); -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18119_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFnDecls(v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18119_) == 0) +lean_object* v_a_18133_; lean_object* v___x_18135_; uint8_t v_isShared_18136_; uint8_t v_isSharedCheck_18142_; +v_a_18133_ = lean_ctor_get(v___x_18132_, 0); +v_isSharedCheck_18142_ = !lean_is_exclusive(v___x_18132_); +if (v_isSharedCheck_18142_ == 0) { -lean_object* v___x_18120_; -lean_dec_ref(v___x_18119_); -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18120_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns(v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18120_) == 0) -{ -lean_object* v___x_18121_; lean_object* v_env_18122_; lean_object* v___x_18123_; uint8_t v_isModule_18124_; -lean_dec_ref(v___x_18120_); -v___x_18121_ = lean_st_ref_get(v_a_18107_); -v_env_18122_ = lean_ctor_get(v___x_18121_, 0); -lean_inc_ref(v_env_18122_); -lean_dec(v___x_18121_); -v___x_18123_ = l_Lean_Environment_header(v_env_18122_); -lean_dec_ref(v_env_18122_); -v_isModule_18124_ = lean_ctor_get_uint8(v___x_18123_, sizeof(void*)*7 + 4); -lean_dec_ref(v___x_18123_); -if (v_isModule_18124_ == 0) -{ -uint8_t v___x_18125_; lean_object* v___x_18126_; -v___x_18125_ = 2; -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18126_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18125_, v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18126_) == 0) -{ -lean_dec_ref(v___x_18126_); -v___y_18110_ = v_a_18102_; -v___y_18111_ = v_a_18103_; -v___y_18112_ = v_a_18104_; -v___y_18113_ = v_a_18105_; -v___y_18114_ = v_a_18106_; -v___y_18115_ = v_a_18107_; -goto v___jp_18109_; +v___x_18135_ = v___x_18132_; +v_isShared_18136_ = v_isSharedCheck_18142_; +goto v_resetjp_18134_; } else { -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18126_; +lean_inc(v_a_18133_); +lean_dec(v___x_18132_); +v___x_18135_ = lean_box(0); +v_isShared_18136_ = v_isSharedCheck_18142_; +goto v_resetjp_18134_; } +v_resetjp_18134_: +{ +lean_object* v___x_18137_; lean_object* v___x_18138_; lean_object* v___x_18140_; +v___x_18137_ = lean_st_ref_get(v___x_18131_); +lean_dec(v___x_18131_); +v___x_18138_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18138_, 0, v_a_18133_); +lean_ctor_set(v___x_18138_, 1, v___x_18137_); +if (v_isShared_18136_ == 0) +{ +lean_ctor_set(v___x_18135_, 0, v___x_18138_); +v___x_18140_ = v___x_18135_; +goto v_reusejp_18139_; } else { -uint8_t v___x_18127_; lean_object* v___x_18128_; -v___x_18127_ = 0; -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18128_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18127_, v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18128_) == 0) -{ -uint8_t v___x_18129_; lean_object* v___x_18130_; -lean_dec_ref(v___x_18128_); -v___x_18129_ = 1; -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18130_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitInitFn(v___x_18129_, v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18130_) == 0) -{ -lean_object* v___x_18131_; -lean_dec_ref(v___x_18130_); -lean_inc(v_a_18107_); -lean_inc_ref(v_a_18106_); -lean_inc(v_a_18105_); -lean_inc_ref(v_a_18104_); -lean_inc(v_a_18103_); -lean_inc_ref(v_a_18102_); -v___x_18131_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitLegacyInitFn(v_a_18102_, v_a_18103_, v_a_18104_, v_a_18105_, v_a_18106_, v_a_18107_); -if (lean_obj_tag(v___x_18131_) == 0) -{ -lean_dec_ref(v___x_18131_); -v___y_18110_ = v_a_18102_; -v___y_18111_ = v_a_18103_; -v___y_18112_ = v_a_18104_; -v___y_18113_ = v_a_18105_; -v___y_18114_ = v_a_18106_; -v___y_18115_ = v_a_18107_; -goto v___jp_18109_; +lean_object* v_reuseFailAlloc_18141_; +v_reuseFailAlloc_18141_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18141_, 0, v___x_18138_); +v___x_18140_ = v_reuseFailAlloc_18141_; +goto v_reusejp_18139_; } -else +v_reusejp_18139_: { -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18131_; -} -} -else -{ -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18130_; -} -} -else -{ -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18128_; +return v___x_18140_; } } } else { -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18120_; -} +lean_object* v_a_18143_; lean_object* v___x_18145_; uint8_t v_isShared_18146_; uint8_t v_isSharedCheck_18150_; +lean_dec(v___x_18131_); +v_a_18143_ = lean_ctor_get(v___x_18132_, 0); +v_isSharedCheck_18150_ = !lean_is_exclusive(v___x_18132_); +if (v_isSharedCheck_18150_ == 0) +{ +v___x_18145_ = v___x_18132_; +v_isShared_18146_ = v_isSharedCheck_18150_; +goto v_resetjp_18144_; } else { -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18119_; +lean_inc(v_a_18143_); +lean_dec(v___x_18132_); +v___x_18145_ = lean_box(0); +v_isShared_18146_ = v_isSharedCheck_18150_; +goto v_resetjp_18144_; } +v_resetjp_18144_: +{ +lean_object* v___x_18148_; +if (v_isShared_18146_ == 0) +{ +v___x_18148_ = v___x_18145_; +goto v_reusejp_18147_; } else { -lean_dec(v_a_18107_); -lean_dec_ref(v_a_18106_); -lean_dec(v_a_18105_); -lean_dec_ref(v_a_18104_); -lean_dec(v_a_18103_); -lean_dec_ref(v_a_18102_); -return v___x_18118_; +lean_object* v_reuseFailAlloc_18149_; +v_reuseFailAlloc_18149_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18149_, 0, v_a_18143_); +v___x_18148_ = v_reuseFailAlloc_18149_; +goto v_reusejp_18147_; } -v___jp_18109_: +v_reusejp_18147_: { -lean_object* v___x_18116_; -v___x_18116_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitMainFnIfNeeded(v___y_18110_, v___y_18111_, v___y_18112_, v___y_18113_, v___y_18114_, v___y_18115_); -lean_dec(v___y_18115_); -lean_dec_ref(v___y_18114_); -lean_dec(v___y_18113_); -lean_dec_ref(v___y_18112_); -if (lean_obj_tag(v___x_18116_) == 0) -{ -lean_object* v___x_18117_; -lean_dec_ref(v___x_18116_); -v___x_18117_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFileFooter___redArg(v___y_18111_); -lean_dec(v___y_18111_); -return v___x_18117_; -} -else -{ -lean_dec(v___y_18111_); -return v___x_18116_; +return v___x_18148_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main___boxed(lean_object* v_a_18132_, lean_object* v_a_18133_, lean_object* v_a_18134_, lean_object* v_a_18135_, lean_object* v_a_18136_, lean_object* v_a_18137_, lean_object* v_a_18138_){ +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___lam__0___boxed(lean_object* v___x_18151_, lean_object* v___x_18152_, lean_object* v___y_18153_, lean_object* v___y_18154_, lean_object* v___y_18155_, lean_object* v___y_18156_, lean_object* v___y_18157_){ _start: { -lean_object* v_res_18139_; -v_res_18139_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(v_a_18132_, v_a_18133_, v_a_18134_, v_a_18135_, v_a_18136_, v_a_18137_); -return v_res_18139_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___lam__0(lean_object* v___x_18140_, lean_object* v___x_18141_, lean_object* v___y_18142_, lean_object* v___y_18143_, lean_object* v___y_18144_, lean_object* v___y_18145_){ -_start: -{ -lean_object* v___x_18147_; lean_object* v___x_18148_; -v___x_18147_ = lean_st_mk_ref(v___x_18140_); -lean_inc(v___x_18147_); -v___x_18148_ = l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_main(v___x_18141_, v___x_18147_, v___y_18142_, v___y_18143_, v___y_18144_, v___y_18145_); -if (lean_obj_tag(v___x_18148_) == 0) -{ -lean_object* v_a_18149_; lean_object* v___x_18151_; uint8_t v_isShared_18152_; uint8_t v_isSharedCheck_18158_; -v_a_18149_ = lean_ctor_get(v___x_18148_, 0); -v_isSharedCheck_18158_ = !lean_is_exclusive(v___x_18148_); -if (v_isSharedCheck_18158_ == 0) -{ -v___x_18151_ = v___x_18148_; -v_isShared_18152_ = v_isSharedCheck_18158_; -goto v_resetjp_18150_; -} -else -{ -lean_inc(v_a_18149_); -lean_dec(v___x_18148_); -v___x_18151_ = lean_box(0); -v_isShared_18152_ = v_isSharedCheck_18158_; -goto v_resetjp_18150_; -} -v_resetjp_18150_: -{ -lean_object* v___x_18153_; lean_object* v___x_18154_; lean_object* v___x_18156_; -v___x_18153_ = lean_st_ref_get(v___x_18147_); -lean_dec(v___x_18147_); -v___x_18154_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18154_, 0, v_a_18149_); -lean_ctor_set(v___x_18154_, 1, v___x_18153_); -if (v_isShared_18152_ == 0) -{ -lean_ctor_set(v___x_18151_, 0, v___x_18154_); -v___x_18156_ = v___x_18151_; -goto v_reusejp_18155_; -} -else -{ -lean_object* v_reuseFailAlloc_18157_; -v_reuseFailAlloc_18157_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18157_, 0, v___x_18154_); -v___x_18156_ = v_reuseFailAlloc_18157_; -goto v_reusejp_18155_; -} -v_reusejp_18155_: -{ -return v___x_18156_; -} -} -} -else -{ -lean_object* v_a_18159_; lean_object* v___x_18161_; uint8_t v_isShared_18162_; uint8_t v_isSharedCheck_18166_; -lean_dec(v___x_18147_); -v_a_18159_ = lean_ctor_get(v___x_18148_, 0); -v_isSharedCheck_18166_ = !lean_is_exclusive(v___x_18148_); -if (v_isSharedCheck_18166_ == 0) -{ -v___x_18161_ = v___x_18148_; -v_isShared_18162_ = v_isSharedCheck_18166_; -goto v_resetjp_18160_; -} -else -{ -lean_inc(v_a_18159_); -lean_dec(v___x_18148_); -v___x_18161_ = lean_box(0); -v_isShared_18162_ = v_isSharedCheck_18166_; -goto v_resetjp_18160_; -} -v_resetjp_18160_: -{ -lean_object* v___x_18164_; -if (v_isShared_18162_ == 0) -{ -v___x_18164_ = v___x_18161_; -goto v_reusejp_18163_; -} -else -{ -lean_object* v_reuseFailAlloc_18165_; -v_reuseFailAlloc_18165_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18165_, 0, v_a_18159_); -v___x_18164_ = v_reuseFailAlloc_18165_; -goto v_reusejp_18163_; -} -v_reusejp_18163_: -{ -return v___x_18164_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___lam__0___boxed(lean_object* v___x_18167_, lean_object* v___x_18168_, lean_object* v___y_18169_, lean_object* v___y_18170_, lean_object* v___y_18171_, lean_object* v___y_18172_, lean_object* v___y_18173_){ -_start: -{ -lean_object* v_res_18174_; -v_res_18174_ = l_Lean_Compiler_LCNF_emitCForDecls___lam__0(v___x_18167_, v___x_18168_, v___y_18169_, v___y_18170_, v___y_18171_, v___y_18172_); -return v_res_18174_; +lean_object* v_res_18158_; +v_res_18158_ = l_Lean_Compiler_LCNF_emitCForDecls___lam__0(v___x_18151_, v___x_18152_, v___y_18153_, v___y_18154_, v___y_18155_, v___y_18156_); +return v_res_18158_; } } static lean_object* _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3(void){ _start: { -lean_object* v___x_18178_; lean_object* v___x_18179_; lean_object* v___x_18180_; lean_object* v___x_18181_; lean_object* v___x_18182_; lean_object* v___x_18183_; -v___x_18178_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__2)); -v___x_18179_ = lean_unsigned_to_nat(11u); -v___x_18180_ = lean_unsigned_to_nat(163u); -v___x_18181_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__1)); -v___x_18182_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__0)); -v___x_18183_ = l_mkPanicMessageWithDecl(v___x_18182_, v___x_18181_, v___x_18180_, v___x_18179_, v___x_18178_); -return v___x_18183_; +lean_object* v___x_18162_; lean_object* v___x_18163_; lean_object* v___x_18164_; lean_object* v___x_18165_; lean_object* v___x_18166_; lean_object* v___x_18167_; +v___x_18162_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__2)); +v___x_18163_ = lean_unsigned_to_nat(11u); +v___x_18164_ = lean_unsigned_to_nat(163u); +v___x_18165_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__1)); +v___x_18166_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__0)); +v___x_18167_ = l_mkPanicMessageWithDecl(v___x_18166_, v___x_18165_, v___x_18164_, v___x_18163_, v___x_18162_); +return v___x_18167_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(lean_object* v_inst_18184_, lean_object* v_a_18185_, lean_object* v_x_18186_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(lean_object* v_inst_18168_, lean_object* v_a_18169_, lean_object* v_x_18170_){ _start: { -if (lean_obj_tag(v_x_18186_) == 0) +if (lean_obj_tag(v_x_18170_) == 0) { -lean_object* v___x_18187_; lean_object* v___x_18188_; -v___x_18187_ = lean_obj_once(&l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3, &l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3_once, _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3); -v___x_18188_ = lean_panic_fn(v_inst_18184_, v___x_18187_); -return v___x_18188_; +lean_object* v___x_18171_; lean_object* v___x_18172_; +v___x_18171_ = lean_obj_once(&l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3, &l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3_once, _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___closed__3); +v___x_18172_ = lean_panic_fn(v_inst_18168_, v___x_18171_); +return v___x_18172_; } else { -lean_object* v_key_18189_; lean_object* v_value_18190_; lean_object* v_tail_18191_; uint8_t v___x_18192_; -v_key_18189_ = lean_ctor_get(v_x_18186_, 0); -v_value_18190_ = lean_ctor_get(v_x_18186_, 1); -v_tail_18191_ = lean_ctor_get(v_x_18186_, 2); -v___x_18192_ = lean_name_eq(v_key_18189_, v_a_18185_); -if (v___x_18192_ == 0) +lean_object* v_key_18173_; lean_object* v_value_18174_; lean_object* v_tail_18175_; uint8_t v___x_18176_; +v_key_18173_ = lean_ctor_get(v_x_18170_, 0); +v_value_18174_ = lean_ctor_get(v_x_18170_, 1); +v_tail_18175_ = lean_ctor_get(v_x_18170_, 2); +v___x_18176_ = lean_name_eq(v_key_18173_, v_a_18169_); +if (v___x_18176_ == 0) { -v_x_18186_ = v_tail_18191_; +v_x_18170_ = v_tail_18175_; goto _start; } else { -lean_dec(v_inst_18184_); -lean_inc(v_value_18190_); -return v_value_18190_; +lean_dec(v_inst_18168_); +lean_inc(v_value_18174_); +return v_value_18174_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___boxed(lean_object* v_inst_18194_, lean_object* v_a_18195_, lean_object* v_x_18196_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg___boxed(lean_object* v_inst_18178_, lean_object* v_a_18179_, lean_object* v_x_18180_){ _start: { -lean_object* v_res_18197_; -v_res_18197_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18194_, v_a_18195_, v_x_18196_); -lean_dec(v_x_18196_); -lean_dec(v_a_18195_); -return v_res_18197_; +lean_object* v_res_18181_; +v_res_18181_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18178_, v_a_18179_, v_x_18180_); +lean_dec(v_x_18180_); +lean_dec(v_a_18179_); +return v_res_18181_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(lean_object* v_inst_18198_, lean_object* v_m_18199_, lean_object* v_a_18200_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(lean_object* v_inst_18182_, lean_object* v_m_18183_, lean_object* v_a_18184_){ _start: { -lean_object* v_buckets_18201_; lean_object* v___x_18202_; uint64_t v___y_18204_; -v_buckets_18201_ = lean_ctor_get(v_m_18199_, 1); -v___x_18202_ = lean_array_get_size(v_buckets_18201_); -if (lean_obj_tag(v_a_18200_) == 0) +lean_object* v_buckets_18185_; lean_object* v___x_18186_; uint64_t v___y_18188_; +v_buckets_18185_ = lean_ctor_get(v_m_18183_, 1); +v___x_18186_ = lean_array_get_size(v_buckets_18185_); +if (lean_obj_tag(v_a_18184_) == 0) { -uint64_t v___x_18218_; -v___x_18218_ = lean_uint64_once(&l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0); -v___y_18204_ = v___x_18218_; -goto v___jp_18203_; +uint64_t v___x_18202_; +v___x_18202_ = lean_uint64_once(&l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_Arg_toCString_spec__1_spec__3_spec__4_spec__5___redArg___closed__0); +v___y_18188_ = v___x_18202_; +goto v___jp_18187_; } else { -uint64_t v_hash_18219_; -v_hash_18219_ = lean_ctor_get_uint64(v_a_18200_, sizeof(void*)*2); -v___y_18204_ = v_hash_18219_; -goto v___jp_18203_; +uint64_t v_hash_18203_; +v_hash_18203_ = lean_ctor_get_uint64(v_a_18184_, sizeof(void*)*2); +v___y_18188_ = v_hash_18203_; +goto v___jp_18187_; } -v___jp_18203_: +v___jp_18187_: { -uint64_t v___x_18205_; uint64_t v___x_18206_; uint64_t v_fold_18207_; uint64_t v___x_18208_; uint64_t v___x_18209_; uint64_t v___x_18210_; size_t v___x_18211_; size_t v___x_18212_; size_t v___x_18213_; size_t v___x_18214_; size_t v___x_18215_; lean_object* v___x_18216_; lean_object* v___x_18217_; -v___x_18205_ = 32ULL; -v___x_18206_ = lean_uint64_shift_right(v___y_18204_, v___x_18205_); -v_fold_18207_ = lean_uint64_xor(v___y_18204_, v___x_18206_); -v___x_18208_ = 16ULL; -v___x_18209_ = lean_uint64_shift_right(v_fold_18207_, v___x_18208_); -v___x_18210_ = lean_uint64_xor(v_fold_18207_, v___x_18209_); -v___x_18211_ = lean_uint64_to_usize(v___x_18210_); -v___x_18212_ = lean_usize_of_nat(v___x_18202_); -v___x_18213_ = ((size_t)1ULL); -v___x_18214_ = lean_usize_sub(v___x_18212_, v___x_18213_); -v___x_18215_ = lean_usize_land(v___x_18211_, v___x_18214_); -v___x_18216_ = lean_array_uget_borrowed(v_buckets_18201_, v___x_18215_); -v___x_18217_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18198_, v_a_18200_, v___x_18216_); -return v___x_18217_; +uint64_t v___x_18189_; uint64_t v___x_18190_; uint64_t v_fold_18191_; uint64_t v___x_18192_; uint64_t v___x_18193_; uint64_t v___x_18194_; size_t v___x_18195_; size_t v___x_18196_; size_t v___x_18197_; size_t v___x_18198_; size_t v___x_18199_; lean_object* v___x_18200_; lean_object* v___x_18201_; +v___x_18189_ = 32ULL; +v___x_18190_ = lean_uint64_shift_right(v___y_18188_, v___x_18189_); +v_fold_18191_ = lean_uint64_xor(v___y_18188_, v___x_18190_); +v___x_18192_ = 16ULL; +v___x_18193_ = lean_uint64_shift_right(v_fold_18191_, v___x_18192_); +v___x_18194_ = lean_uint64_xor(v_fold_18191_, v___x_18193_); +v___x_18195_ = lean_uint64_to_usize(v___x_18194_); +v___x_18196_ = lean_usize_of_nat(v___x_18186_); +v___x_18197_ = ((size_t)1ULL); +v___x_18198_ = lean_usize_sub(v___x_18196_, v___x_18197_); +v___x_18199_ = lean_usize_land(v___x_18195_, v___x_18198_); +v___x_18200_ = lean_array_uget_borrowed(v_buckets_18185_, v___x_18199_); +v___x_18201_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18182_, v_a_18184_, v___x_18200_); +return v___x_18201_; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg___boxed(lean_object* v_inst_18220_, lean_object* v_m_18221_, lean_object* v_a_18222_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg___boxed(lean_object* v_inst_18204_, lean_object* v_m_18205_, lean_object* v_a_18206_){ _start: { -lean_object* v_res_18223_; -v_res_18223_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v_inst_18220_, v_m_18221_, v_a_18222_); -lean_dec(v_a_18222_); -lean_dec_ref(v_m_18221_); -return v_res_18223_; +lean_object* v_res_18207_; +v_res_18207_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v_inst_18204_, v_m_18205_, v_a_18206_); +lean_dec(v_a_18206_); +lean_dec_ref(v_m_18205_); +return v_res_18207_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0(lean_object* v___x_18224_, lean_object* v___x_18225_, lean_object* v_l_18226_, lean_object* v_r_18227_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0(lean_object* v___x_18208_, lean_object* v___x_18209_, lean_object* v_l_18210_, lean_object* v_r_18211_){ _start: { -lean_object* v_toSignature_18228_; lean_object* v_toSignature_18229_; lean_object* v_name_18230_; lean_object* v_name_18231_; lean_object* v___x_18232_; lean_object* v___x_18233_; uint8_t v___x_18234_; -v_toSignature_18228_ = lean_ctor_get(v_l_18226_, 0); -v_toSignature_18229_ = lean_ctor_get(v_r_18227_, 0); -v_name_18230_ = lean_ctor_get(v_toSignature_18228_, 0); -v_name_18231_ = lean_ctor_get(v_toSignature_18229_, 0); -lean_inc(v___x_18224_); -v___x_18232_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v___x_18224_, v___x_18225_, v_name_18230_); -v___x_18233_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v___x_18224_, v___x_18225_, v_name_18231_); -v___x_18234_ = lean_nat_dec_lt(v___x_18232_, v___x_18233_); -lean_dec(v___x_18233_); -lean_dec(v___x_18232_); -return v___x_18234_; +lean_object* v_toSignature_18212_; lean_object* v_toSignature_18213_; lean_object* v_name_18214_; lean_object* v_name_18215_; lean_object* v___x_18216_; lean_object* v___x_18217_; uint8_t v___x_18218_; +v_toSignature_18212_ = lean_ctor_get(v_l_18210_, 0); +v_toSignature_18213_ = lean_ctor_get(v_r_18211_, 0); +v_name_18214_ = lean_ctor_get(v_toSignature_18212_, 0); +v_name_18215_ = lean_ctor_get(v_toSignature_18213_, 0); +lean_inc(v___x_18208_); +v___x_18216_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v___x_18208_, v___x_18209_, v_name_18214_); +v___x_18217_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v___x_18208_, v___x_18209_, v_name_18215_); +v___x_18218_ = lean_nat_dec_lt(v___x_18216_, v___x_18217_); +lean_dec(v___x_18217_); +lean_dec(v___x_18216_); +return v___x_18218_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0___boxed(lean_object* v___x_18235_, lean_object* v___x_18236_, lean_object* v_l_18237_, lean_object* v_r_18238_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0___boxed(lean_object* v___x_18219_, lean_object* v___x_18220_, lean_object* v_l_18221_, lean_object* v_r_18222_){ _start: { -uint8_t v_res_18239_; lean_object* v_r_18240_; -v_res_18239_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0(v___x_18235_, v___x_18236_, v_l_18237_, v_r_18238_); -lean_dec_ref(v_r_18238_); -lean_dec_ref(v_l_18237_); -lean_dec_ref(v___x_18236_); -v_r_18240_ = lean_box(v_res_18239_); -return v_r_18240_; +uint8_t v_res_18223_; lean_object* v_r_18224_; +v_res_18223_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0(v___x_18219_, v___x_18220_, v_l_18221_, v_r_18222_); +lean_dec_ref(v_r_18222_); +lean_dec_ref(v_l_18221_); +lean_dec_ref(v___x_18220_); +v_r_18224_ = lean_box(v_res_18223_); +return v_r_18224_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(lean_object* v___x_18241_, lean_object* v_as_18242_, lean_object* v_lo_18243_, lean_object* v_hi_18244_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(lean_object* v___x_18225_, lean_object* v_as_18226_, lean_object* v_lo_18227_, lean_object* v_hi_18228_){ _start: { -uint8_t v___x_18245_; -v___x_18245_ = lean_nat_dec_lt(v_lo_18243_, v_hi_18244_); -if (v___x_18245_ == 0) +uint8_t v___x_18229_; +v___x_18229_ = lean_nat_dec_lt(v_lo_18227_, v_hi_18228_); +if (v___x_18229_ == 0) { -lean_dec(v_lo_18243_); -lean_dec_ref(v___x_18241_); -return v_as_18242_; +lean_dec(v_lo_18227_); +lean_dec_ref(v___x_18225_); +return v_as_18226_; } else { -lean_object* v___x_18246_; lean_object* v___f_18247_; lean_object* v___x_18248_; lean_object* v_fst_18249_; lean_object* v_snd_18250_; uint8_t v___x_18251_; -v___x_18246_ = lean_unsigned_to_nat(0u); -lean_inc_ref(v___x_18241_); -v___f_18247_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0___boxed), 4, 2); -lean_closure_set(v___f_18247_, 0, v___x_18246_); -lean_closure_set(v___f_18247_, 1, v___x_18241_); -lean_inc(v_lo_18243_); -v___x_18248_ = l_Array_qpartition___redArg(v_as_18242_, v___f_18247_, v_lo_18243_, v_hi_18244_); -v_fst_18249_ = lean_ctor_get(v___x_18248_, 0); -lean_inc(v_fst_18249_); -v_snd_18250_ = lean_ctor_get(v___x_18248_, 1); -lean_inc(v_snd_18250_); -lean_dec_ref(v___x_18248_); -v___x_18251_ = lean_nat_dec_le(v_hi_18244_, v_fst_18249_); -if (v___x_18251_ == 0) +lean_object* v___x_18230_; lean_object* v___f_18231_; lean_object* v___x_18232_; lean_object* v_fst_18233_; lean_object* v_snd_18234_; uint8_t v___x_18235_; +v___x_18230_ = lean_unsigned_to_nat(0u); +lean_inc_ref(v___x_18225_); +v___f_18231_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___lam__0___boxed), 4, 2); +lean_closure_set(v___f_18231_, 0, v___x_18230_); +lean_closure_set(v___f_18231_, 1, v___x_18225_); +lean_inc(v_lo_18227_); +v___x_18232_ = l_Array_qpartition___redArg(v_as_18226_, v___f_18231_, v_lo_18227_, v_hi_18228_); +v_fst_18233_ = lean_ctor_get(v___x_18232_, 0); +lean_inc(v_fst_18233_); +v_snd_18234_ = lean_ctor_get(v___x_18232_, 1); +lean_inc(v_snd_18234_); +lean_dec_ref(v___x_18232_); +v___x_18235_ = lean_nat_dec_le(v_hi_18228_, v_fst_18233_); +if (v___x_18235_ == 0) { -lean_object* v___x_18252_; lean_object* v___x_18253_; lean_object* v___x_18254_; -lean_inc_ref(v___x_18241_); -v___x_18252_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18241_, v_snd_18250_, v_lo_18243_, v_fst_18249_); -v___x_18253_ = lean_unsigned_to_nat(1u); -v___x_18254_ = lean_nat_add(v_fst_18249_, v___x_18253_); -lean_dec(v_fst_18249_); -v_as_18242_ = v___x_18252_; -v_lo_18243_ = v___x_18254_; +lean_object* v___x_18236_; lean_object* v___x_18237_; lean_object* v___x_18238_; +lean_inc_ref(v___x_18225_); +v___x_18236_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18225_, v_snd_18234_, v_lo_18227_, v_fst_18233_); +v___x_18237_ = lean_unsigned_to_nat(1u); +v___x_18238_ = lean_nat_add(v_fst_18233_, v___x_18237_); +lean_dec(v_fst_18233_); +v_as_18226_ = v___x_18236_; +v_lo_18227_ = v___x_18238_; goto _start; } else { -lean_dec(v_fst_18249_); -lean_dec(v_lo_18243_); -lean_dec_ref(v___x_18241_); -return v_snd_18250_; +lean_dec(v_fst_18233_); +lean_dec(v_lo_18227_); +lean_dec_ref(v___x_18225_); +return v_snd_18234_; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___boxed(lean_object* v___x_18256_, lean_object* v_as_18257_, lean_object* v_lo_18258_, lean_object* v_hi_18259_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg___boxed(lean_object* v___x_18240_, lean_object* v_as_18241_, lean_object* v_lo_18242_, lean_object* v_hi_18243_){ _start: { -lean_object* v_res_18260_; -v_res_18260_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18256_, v_as_18257_, v_lo_18258_, v_hi_18259_); -lean_dec(v_hi_18259_); -return v_res_18260_; +lean_object* v_res_18244_; +v_res_18244_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18240_, v_as_18241_, v_lo_18242_, v_hi_18243_); +lean_dec(v_hi_18243_); +return v_res_18244_; } } static lean_object* _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__0(void){ _start: { -lean_object* v___x_18261_; lean_object* v___x_18262_; -v___x_18261_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1); -v___x_18262_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_18262_, 0, v___x_18261_); -lean_ctor_set(v___x_18262_, 1, v___x_18261_); -lean_ctor_set(v___x_18262_, 2, v___x_18261_); -lean_ctor_set(v___x_18262_, 3, v___x_18261_); -lean_ctor_set(v___x_18262_, 4, v___x_18261_); -lean_ctor_set(v___x_18262_, 5, v___x_18261_); -return v___x_18262_; +lean_object* v___x_18245_; lean_object* v___x_18246_; +v___x_18245_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1); +v___x_18246_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_18246_, 0, v___x_18245_); +lean_ctor_set(v___x_18246_, 1, v___x_18245_); +lean_ctor_set(v___x_18246_, 2, v___x_18245_); +lean_ctor_set(v___x_18246_, 3, v___x_18245_); +lean_ctor_set(v___x_18246_, 4, v___x_18245_); +lean_ctor_set(v___x_18246_, 5, v___x_18245_); +return v___x_18246_; } } static lean_object* _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__1(void){ _start: { -lean_object* v___x_18263_; lean_object* v___x_18264_; lean_object* v___x_18265_; -v___x_18263_ = lean_unsigned_to_nat(1u); -v___x_18264_ = lean_obj_once(&l_Lean_Compiler_LCNF_emitCForDecls___closed__0, &l_Lean_Compiler_LCNF_emitCForDecls___closed__0_once, _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__0); -v___x_18265_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18265_, 0, v___x_18264_); -lean_ctor_set(v___x_18265_, 1, v___x_18263_); -return v___x_18265_; +lean_object* v___x_18247_; lean_object* v___x_18248_; lean_object* v___x_18249_; +v___x_18247_ = lean_unsigned_to_nat(1u); +v___x_18248_ = lean_obj_once(&l_Lean_Compiler_LCNF_emitCForDecls___closed__0, &l_Lean_Compiler_LCNF_emitCForDecls___closed__0_once, _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__0); +v___x_18249_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18249_, 0, v___x_18248_); +lean_ctor_set(v___x_18249_, 1, v___x_18247_); +return v___x_18249_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls(lean_object* v_modName_18266_, lean_object* v_decls_18267_, lean_object* v_a_18268_, lean_object* v_a_18269_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls(lean_object* v_modName_18250_, lean_object* v_decls_18251_, lean_object* v_a_18252_, lean_object* v_a_18253_){ _start: { -lean_object* v___x_18271_; -lean_inc(v_a_18269_); -lean_inc_ref(v_a_18268_); -v___x_18271_ = l_Lean_Compiler_LCNF_collectUsedDecls(v_decls_18267_, v_a_18268_, v_a_18269_); -if (lean_obj_tag(v___x_18271_) == 0) +lean_object* v___x_18255_; +lean_inc(v_a_18253_); +lean_inc_ref(v_a_18252_); +v___x_18255_ = l_Lean_Compiler_LCNF_collectUsedDecls(v_decls_18251_, v_a_18252_, v_a_18253_); +if (lean_obj_tag(v___x_18255_) == 0) { -lean_object* v_a_18272_; lean_object* v_fst_18273_; lean_object* v_snd_18274_; lean_object* v___x_18275_; lean_object* v___x_18276_; lean_object* v___y_18278_; lean_object* v___x_18307_; lean_object* v___x_18308_; uint8_t v___x_18309_; -v_a_18272_ = lean_ctor_get(v___x_18271_, 0); -lean_inc(v_a_18272_); -lean_dec_ref(v___x_18271_); -v_fst_18273_ = lean_ctor_get(v_a_18272_, 0); -lean_inc(v_fst_18273_); -v_snd_18274_ = lean_ctor_get(v_a_18272_, 1); -lean_inc(v_snd_18274_); -lean_dec(v_a_18272_); -v___x_18275_ = lean_st_ref_get(v_a_18269_); -v___x_18276_ = lean_unsigned_to_nat(1u); -v___x_18307_ = lean_array_get_size(v_fst_18273_); -v___x_18308_ = lean_unsigned_to_nat(0u); -v___x_18309_ = lean_nat_dec_eq(v___x_18307_, v___x_18308_); -if (v___x_18309_ == 0) +lean_object* v_a_18256_; lean_object* v_fst_18257_; lean_object* v_snd_18258_; lean_object* v___x_18259_; lean_object* v___x_18260_; lean_object* v___y_18262_; lean_object* v___x_18291_; lean_object* v___x_18292_; uint8_t v___x_18293_; +v_a_18256_ = lean_ctor_get(v___x_18255_, 0); +lean_inc(v_a_18256_); +lean_dec_ref(v___x_18255_); +v_fst_18257_ = lean_ctor_get(v_a_18256_, 0); +lean_inc(v_fst_18257_); +v_snd_18258_ = lean_ctor_get(v_a_18256_, 1); +lean_inc(v_snd_18258_); +lean_dec(v_a_18256_); +v___x_18259_ = lean_st_ref_get(v_a_18253_); +v___x_18260_ = lean_unsigned_to_nat(1u); +v___x_18291_ = lean_array_get_size(v_fst_18257_); +v___x_18292_ = lean_unsigned_to_nat(0u); +v___x_18293_ = lean_nat_dec_eq(v___x_18291_, v___x_18292_); +if (v___x_18293_ == 0) { -lean_object* v_env_18310_; lean_object* v___x_18311_; lean_object* v___y_18313_; lean_object* v___y_18314_; lean_object* v___x_18316_; lean_object* v___y_18318_; uint8_t v___x_18320_; -v_env_18310_ = lean_ctor_get(v___x_18275_, 0); -lean_inc_ref(v_env_18310_); -lean_dec(v___x_18275_); -v___x_18311_ = l_Lean_Compiler_LCNF_getImpureDeclIndices(v_env_18310_, v_decls_18267_); -v___x_18316_ = lean_nat_sub(v___x_18307_, v___x_18276_); -v___x_18320_ = lean_nat_dec_le(v___x_18308_, v___x_18316_); -if (v___x_18320_ == 0) +lean_object* v_env_18294_; lean_object* v___x_18295_; lean_object* v___y_18297_; lean_object* v___y_18298_; lean_object* v___x_18300_; lean_object* v___y_18302_; uint8_t v___x_18304_; +v_env_18294_ = lean_ctor_get(v___x_18259_, 0); +lean_inc_ref(v_env_18294_); +lean_dec(v___x_18259_); +v___x_18295_ = l_Lean_Compiler_LCNF_getImpureDeclIndices(v_env_18294_, v_decls_18251_); +v___x_18300_ = lean_nat_sub(v___x_18291_, v___x_18260_); +v___x_18304_ = lean_nat_dec_le(v___x_18292_, v___x_18300_); +if (v___x_18304_ == 0) { -lean_inc(v___x_18316_); -v___y_18318_ = v___x_18316_; -goto v___jp_18317_; +lean_inc(v___x_18300_); +v___y_18302_ = v___x_18300_; +goto v___jp_18301_; } else { -v___y_18318_ = v___x_18308_; -goto v___jp_18317_; +v___y_18302_ = v___x_18292_; +goto v___jp_18301_; } -v___jp_18312_: +v___jp_18296_: { -lean_object* v___x_18315_; -v___x_18315_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18311_, v_fst_18273_, v___y_18313_, v___y_18314_); -lean_dec(v___y_18314_); -v___y_18278_ = v___x_18315_; -goto v___jp_18277_; +lean_object* v___x_18299_; +v___x_18299_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18295_, v_fst_18257_, v___y_18297_, v___y_18298_); +lean_dec(v___y_18298_); +v___y_18262_ = v___x_18299_; +goto v___jp_18261_; } -v___jp_18317_: +v___jp_18301_: { -uint8_t v___x_18319_; -v___x_18319_ = lean_nat_dec_le(v___y_18318_, v___x_18316_); -if (v___x_18319_ == 0) +uint8_t v___x_18303_; +v___x_18303_ = lean_nat_dec_le(v___y_18302_, v___x_18300_); +if (v___x_18303_ == 0) { -lean_dec(v___x_18316_); -lean_inc(v___y_18318_); -v___y_18313_ = v___y_18318_; -v___y_18314_ = v___y_18318_; -goto v___jp_18312_; +lean_dec(v___x_18300_); +lean_inc(v___y_18302_); +v___y_18297_ = v___y_18302_; +v___y_18298_ = v___y_18302_; +goto v___jp_18296_; } else { -v___y_18313_ = v___y_18318_; -v___y_18314_ = v___x_18316_; -goto v___jp_18312_; +v___y_18297_ = v___y_18302_; +v___y_18298_ = v___x_18300_; +goto v___jp_18296_; } } } else { -lean_dec(v___x_18275_); -v___y_18278_ = v_fst_18273_; -goto v___jp_18277_; +lean_dec(v___x_18259_); +v___y_18262_ = v_fst_18257_; +goto v___jp_18261_; } -v___jp_18277_: +v___jp_18261_: { -lean_object* v___x_18279_; lean_object* v___x_18280_; lean_object* v___x_18281_; lean_object* v___x_18282_; lean_object* v___x_18283_; lean_object* v___x_18284_; lean_object* v___f_18285_; lean_object* v___x_18286_; uint8_t v___x_18287_; lean_object* v___x_18288_; -v___x_18279_ = lean_box(0); -v___x_18280_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_paramsWithoutVoid___closed__0)); -v___x_18281_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_18281_, 0, v___y_18278_); -lean_ctor_set(v___x_18281_, 1, v_snd_18274_); -lean_ctor_set(v___x_18281_, 2, v_modName_18266_); -lean_ctor_set(v___x_18281_, 3, v___x_18279_); -lean_ctor_set(v___x_18281_, 4, v___x_18280_); -v___x_18282_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_ImpureType_Lean_Expr_toCType_spec__0___closed__0)); -v___x_18283_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1); -v___x_18284_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_18284_, 0, v___x_18282_); -lean_ctor_set(v___x_18284_, 1, v___x_18283_); -lean_ctor_set(v___x_18284_, 2, v___x_18283_); -lean_ctor_set(v___x_18284_, 3, v___x_18283_); -v___f_18285_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_emitCForDecls___lam__0___boxed), 7, 2); -lean_closure_set(v___f_18285_, 0, v___x_18284_); -lean_closure_set(v___f_18285_, 1, v___x_18281_); -v___x_18286_ = lean_obj_once(&l_Lean_Compiler_LCNF_emitCForDecls___closed__1, &l_Lean_Compiler_LCNF_emitCForDecls___closed__1_once, _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__1); -v___x_18287_ = 2; -v___x_18288_ = l_Lean_Compiler_LCNF_CompilerM_run___redArg(v___f_18285_, v___x_18286_, v___x_18287_, v_a_18268_, v_a_18269_); -if (lean_obj_tag(v___x_18288_) == 0) +lean_object* v___x_18263_; lean_object* v___x_18264_; lean_object* v___x_18265_; lean_object* v___x_18266_; lean_object* v___x_18267_; lean_object* v___x_18268_; lean_object* v___f_18269_; lean_object* v___x_18270_; uint8_t v___x_18271_; lean_object* v___x_18272_; +v___x_18263_ = lean_box(0); +v___x_18264_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_paramsWithoutVoid___closed__0)); +v___x_18265_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_18265_, 0, v___y_18262_); +lean_ctor_set(v___x_18265_, 1, v_snd_18258_); +lean_ctor_set(v___x_18265_, 2, v_modName_18250_); +lean_ctor_set(v___x_18265_, 3, v___x_18263_); +lean_ctor_set(v___x_18265_, 4, v___x_18264_); +v___x_18266_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_ImpureType_Lean_Expr_toCType_spec__0___closed__0)); +v___x_18267_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1, &l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1_once, _init_l___private_Lean_Compiler_LCNF_EmitC_0__Lean_Compiler_LCNF_emitFns_go___closed__1); +v___x_18268_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_18268_, 0, v___x_18266_); +lean_ctor_set(v___x_18268_, 1, v___x_18267_); +lean_ctor_set(v___x_18268_, 2, v___x_18267_); +lean_ctor_set(v___x_18268_, 3, v___x_18267_); +v___f_18269_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_emitCForDecls___lam__0___boxed), 7, 2); +lean_closure_set(v___f_18269_, 0, v___x_18268_); +lean_closure_set(v___f_18269_, 1, v___x_18265_); +v___x_18270_ = lean_obj_once(&l_Lean_Compiler_LCNF_emitCForDecls___closed__1, &l_Lean_Compiler_LCNF_emitCForDecls___closed__1_once, _init_l_Lean_Compiler_LCNF_emitCForDecls___closed__1); +v___x_18271_ = 2; +v___x_18272_ = l_Lean_Compiler_LCNF_CompilerM_run___redArg(v___f_18269_, v___x_18270_, v___x_18271_, v_a_18252_, v_a_18253_); +if (lean_obj_tag(v___x_18272_) == 0) { -lean_object* v_a_18289_; lean_object* v___x_18291_; uint8_t v_isShared_18292_; uint8_t v_isSharedCheck_18298_; -v_a_18289_ = lean_ctor_get(v___x_18288_, 0); -v_isSharedCheck_18298_ = !lean_is_exclusive(v___x_18288_); -if (v_isSharedCheck_18298_ == 0) +lean_object* v_a_18273_; lean_object* v___x_18275_; uint8_t v_isShared_18276_; uint8_t v_isSharedCheck_18282_; +v_a_18273_ = lean_ctor_get(v___x_18272_, 0); +v_isSharedCheck_18282_ = !lean_is_exclusive(v___x_18272_); +if (v_isSharedCheck_18282_ == 0) { -v___x_18291_ = v___x_18288_; -v_isShared_18292_ = v_isSharedCheck_18298_; -goto v_resetjp_18290_; +v___x_18275_ = v___x_18272_; +v_isShared_18276_ = v_isSharedCheck_18282_; +goto v_resetjp_18274_; } else { -lean_inc(v_a_18289_); -lean_dec(v___x_18288_); -v___x_18291_ = lean_box(0); -v_isShared_18292_ = v_isSharedCheck_18298_; -goto v_resetjp_18290_; +lean_inc(v_a_18273_); +lean_dec(v___x_18272_); +v___x_18275_ = lean_box(0); +v_isShared_18276_ = v_isSharedCheck_18282_; +goto v_resetjp_18274_; } -v_resetjp_18290_: +v_resetjp_18274_: { -lean_object* v_snd_18293_; lean_object* v_buf_18294_; lean_object* v___x_18296_; -v_snd_18293_ = lean_ctor_get(v_a_18289_, 1); -lean_inc(v_snd_18293_); -lean_dec(v_a_18289_); -v_buf_18294_ = lean_ctor_get(v_snd_18293_, 0); -lean_inc_ref(v_buf_18294_); -lean_dec(v_snd_18293_); -if (v_isShared_18292_ == 0) +lean_object* v_snd_18277_; lean_object* v_buf_18278_; lean_object* v___x_18280_; +v_snd_18277_ = lean_ctor_get(v_a_18273_, 1); +lean_inc(v_snd_18277_); +lean_dec(v_a_18273_); +v_buf_18278_ = lean_ctor_get(v_snd_18277_, 0); +lean_inc_ref(v_buf_18278_); +lean_dec(v_snd_18277_); +if (v_isShared_18276_ == 0) { -lean_ctor_set(v___x_18291_, 0, v_buf_18294_); -v___x_18296_ = v___x_18291_; -goto v_reusejp_18295_; +lean_ctor_set(v___x_18275_, 0, v_buf_18278_); +v___x_18280_ = v___x_18275_; +goto v_reusejp_18279_; } else { -lean_object* v_reuseFailAlloc_18297_; -v_reuseFailAlloc_18297_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18297_, 0, v_buf_18294_); -v___x_18296_ = v_reuseFailAlloc_18297_; -goto v_reusejp_18295_; +lean_object* v_reuseFailAlloc_18281_; +v_reuseFailAlloc_18281_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18281_, 0, v_buf_18278_); +v___x_18280_ = v_reuseFailAlloc_18281_; +goto v_reusejp_18279_; } -v_reusejp_18295_: +v_reusejp_18279_: { -return v___x_18296_; +return v___x_18280_; } } } else { -lean_object* v_a_18299_; lean_object* v___x_18301_; uint8_t v_isShared_18302_; uint8_t v_isSharedCheck_18306_; -v_a_18299_ = lean_ctor_get(v___x_18288_, 0); -v_isSharedCheck_18306_ = !lean_is_exclusive(v___x_18288_); -if (v_isSharedCheck_18306_ == 0) +lean_object* v_a_18283_; lean_object* v___x_18285_; uint8_t v_isShared_18286_; uint8_t v_isSharedCheck_18290_; +v_a_18283_ = lean_ctor_get(v___x_18272_, 0); +v_isSharedCheck_18290_ = !lean_is_exclusive(v___x_18272_); +if (v_isSharedCheck_18290_ == 0) { -v___x_18301_ = v___x_18288_; -v_isShared_18302_ = v_isSharedCheck_18306_; -goto v_resetjp_18300_; +v___x_18285_ = v___x_18272_; +v_isShared_18286_ = v_isSharedCheck_18290_; +goto v_resetjp_18284_; } else { -lean_inc(v_a_18299_); -lean_dec(v___x_18288_); -v___x_18301_ = lean_box(0); -v_isShared_18302_ = v_isSharedCheck_18306_; -goto v_resetjp_18300_; +lean_inc(v_a_18283_); +lean_dec(v___x_18272_); +v___x_18285_ = lean_box(0); +v_isShared_18286_ = v_isSharedCheck_18290_; +goto v_resetjp_18284_; } -v_resetjp_18300_: +v_resetjp_18284_: { -lean_object* v___x_18304_; -if (v_isShared_18302_ == 0) +lean_object* v___x_18288_; +if (v_isShared_18286_ == 0) { -v___x_18304_ = v___x_18301_; -goto v_reusejp_18303_; +v___x_18288_ = v___x_18285_; +goto v_reusejp_18287_; } else { -lean_object* v_reuseFailAlloc_18305_; -v_reuseFailAlloc_18305_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18305_, 0, v_a_18299_); -v___x_18304_ = v_reuseFailAlloc_18305_; -goto v_reusejp_18303_; +lean_object* v_reuseFailAlloc_18289_; +v_reuseFailAlloc_18289_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18289_, 0, v_a_18283_); +v___x_18288_ = v_reuseFailAlloc_18289_; +goto v_reusejp_18287_; } -v_reusejp_18303_: +v_reusejp_18287_: { -return v___x_18304_; +return v___x_18288_; } } } @@ -56440,196 +56366,196 @@ return v___x_18304_; } else { -lean_object* v_a_18321_; lean_object* v___x_18323_; uint8_t v_isShared_18324_; uint8_t v_isSharedCheck_18328_; -lean_dec(v_a_18269_); -lean_dec_ref(v_a_18268_); -lean_dec(v_modName_18266_); -v_a_18321_ = lean_ctor_get(v___x_18271_, 0); -v_isSharedCheck_18328_ = !lean_is_exclusive(v___x_18271_); -if (v_isSharedCheck_18328_ == 0) +lean_object* v_a_18305_; lean_object* v___x_18307_; uint8_t v_isShared_18308_; uint8_t v_isSharedCheck_18312_; +lean_dec(v_a_18253_); +lean_dec_ref(v_a_18252_); +lean_dec(v_modName_18250_); +v_a_18305_ = lean_ctor_get(v___x_18255_, 0); +v_isSharedCheck_18312_ = !lean_is_exclusive(v___x_18255_); +if (v_isSharedCheck_18312_ == 0) { -v___x_18323_ = v___x_18271_; -v_isShared_18324_ = v_isSharedCheck_18328_; -goto v_resetjp_18322_; +v___x_18307_ = v___x_18255_; +v_isShared_18308_ = v_isSharedCheck_18312_; +goto v_resetjp_18306_; } else { -lean_inc(v_a_18321_); -lean_dec(v___x_18271_); -v___x_18323_ = lean_box(0); -v_isShared_18324_ = v_isSharedCheck_18328_; -goto v_resetjp_18322_; +lean_inc(v_a_18305_); +lean_dec(v___x_18255_); +v___x_18307_ = lean_box(0); +v_isShared_18308_ = v_isSharedCheck_18312_; +goto v_resetjp_18306_; } -v_resetjp_18322_: +v_resetjp_18306_: { -lean_object* v___x_18326_; -if (v_isShared_18324_ == 0) +lean_object* v___x_18310_; +if (v_isShared_18308_ == 0) { -v___x_18326_ = v___x_18323_; -goto v_reusejp_18325_; +v___x_18310_ = v___x_18307_; +goto v_reusejp_18309_; } else { -lean_object* v_reuseFailAlloc_18327_; -v_reuseFailAlloc_18327_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18327_, 0, v_a_18321_); -v___x_18326_ = v_reuseFailAlloc_18327_; -goto v_reusejp_18325_; +lean_object* v_reuseFailAlloc_18311_; +v_reuseFailAlloc_18311_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18311_, 0, v_a_18305_); +v___x_18310_ = v_reuseFailAlloc_18311_; +goto v_reusejp_18309_; } -v_reusejp_18325_: +v_reusejp_18309_: { -return v___x_18326_; +return v___x_18310_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___boxed(lean_object* v_modName_18329_, lean_object* v_decls_18330_, lean_object* v_a_18331_, lean_object* v_a_18332_, lean_object* v_a_18333_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitCForDecls___boxed(lean_object* v_modName_18313_, lean_object* v_decls_18314_, lean_object* v_a_18315_, lean_object* v_a_18316_, lean_object* v_a_18317_){ _start: { -lean_object* v_res_18334_; -v_res_18334_ = l_Lean_Compiler_LCNF_emitCForDecls(v_modName_18329_, v_decls_18330_, v_a_18331_, v_a_18332_); -lean_dec_ref(v_decls_18330_); -return v_res_18334_; +lean_object* v_res_18318_; +v_res_18318_ = l_Lean_Compiler_LCNF_emitCForDecls(v_modName_18313_, v_decls_18314_, v_a_18315_, v_a_18316_); +lean_dec_ref(v_decls_18314_); +return v_res_18318_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0(lean_object* v_00_u03b2_18335_, lean_object* v_inst_18336_, lean_object* v_m_18337_, lean_object* v_a_18338_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0(lean_object* v_00_u03b2_18319_, lean_object* v_inst_18320_, lean_object* v_m_18321_, lean_object* v_a_18322_){ _start: { -lean_object* v___x_18339_; -v___x_18339_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v_inst_18336_, v_m_18337_, v_a_18338_); -return v___x_18339_; +lean_object* v___x_18323_; +v___x_18323_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___redArg(v_inst_18320_, v_m_18321_, v_a_18322_); +return v___x_18323_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___boxed(lean_object* v_00_u03b2_18340_, lean_object* v_inst_18341_, lean_object* v_m_18342_, lean_object* v_a_18343_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0___boxed(lean_object* v_00_u03b2_18324_, lean_object* v_inst_18325_, lean_object* v_m_18326_, lean_object* v_a_18327_){ _start: { -lean_object* v_res_18344_; -v_res_18344_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0(v_00_u03b2_18340_, v_inst_18341_, v_m_18342_, v_a_18343_); -lean_dec(v_a_18343_); -lean_dec_ref(v_m_18342_); -return v_res_18344_; +lean_object* v_res_18328_; +v_res_18328_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0(v_00_u03b2_18324_, v_inst_18325_, v_m_18326_, v_a_18327_); +lean_dec(v_a_18327_); +lean_dec_ref(v_m_18326_); +return v_res_18328_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1(lean_object* v___x_18345_, lean_object* v_n_18346_, lean_object* v_as_18347_, lean_object* v_lo_18348_, lean_object* v_hi_18349_, lean_object* v_w_18350_, lean_object* v_hlo_18351_, lean_object* v_hhi_18352_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1(lean_object* v___x_18329_, lean_object* v_n_18330_, lean_object* v_as_18331_, lean_object* v_lo_18332_, lean_object* v_hi_18333_, lean_object* v_w_18334_, lean_object* v_hlo_18335_, lean_object* v_hhi_18336_){ +_start: +{ +lean_object* v___x_18337_; +v___x_18337_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18329_, v_as_18331_, v_lo_18332_, v_hi_18333_); +return v___x_18337_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___boxed(lean_object* v___x_18338_, lean_object* v_n_18339_, lean_object* v_as_18340_, lean_object* v_lo_18341_, lean_object* v_hi_18342_, lean_object* v_w_18343_, lean_object* v_hlo_18344_, lean_object* v_hhi_18345_){ +_start: +{ +lean_object* v_res_18346_; +v_res_18346_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1(v___x_18338_, v_n_18339_, v_as_18340_, v_lo_18341_, v_hi_18342_, v_w_18343_, v_hlo_18344_, v_hhi_18345_); +lean_dec(v_hi_18342_); +lean_dec(v_n_18339_); +return v_res_18346_; +} +} +LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0_spec__1___redArg(lean_object* v_inst_18347_, lean_object* v_msg_18348_){ +_start: +{ +lean_object* v___x_18349_; +v___x_18349_ = lean_panic_fn(v_inst_18347_, v_msg_18348_); +return v___x_18349_; +} +} +LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_18350_, lean_object* v_inst_18351_, lean_object* v_msg_18352_){ _start: { lean_object* v___x_18353_; -v___x_18353_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___redArg(v___x_18345_, v_as_18347_, v_lo_18348_, v_hi_18349_); +v___x_18353_ = lean_panic_fn(v_inst_18351_, v_msg_18352_); return v___x_18353_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1___boxed(lean_object* v___x_18354_, lean_object* v_n_18355_, lean_object* v_as_18356_, lean_object* v_lo_18357_, lean_object* v_hi_18358_, lean_object* v_w_18359_, lean_object* v_hlo_18360_, lean_object* v_hhi_18361_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0(lean_object* v_00_u03b2_18354_, lean_object* v_inst_18355_, lean_object* v_a_18356_, lean_object* v_x_18357_){ _start: { -lean_object* v_res_18362_; -v_res_18362_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00Lean_Compiler_LCNF_emitCForDecls_spec__1(v___x_18354_, v_n_18355_, v_as_18356_, v_lo_18357_, v_hi_18358_, v_w_18359_, v_hlo_18360_, v_hhi_18361_); -lean_dec(v_hi_18358_); -lean_dec(v_n_18355_); -return v_res_18362_; +lean_object* v___x_18358_; +v___x_18358_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18355_, v_a_18356_, v_x_18357_); +return v___x_18358_; } } -LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0_spec__1___redArg(lean_object* v_inst_18363_, lean_object* v_msg_18364_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___boxed(lean_object* v_00_u03b2_18359_, lean_object* v_inst_18360_, lean_object* v_a_18361_, lean_object* v_x_18362_){ _start: { -lean_object* v___x_18365_; -v___x_18365_ = lean_panic_fn(v_inst_18363_, v_msg_18364_); -return v___x_18365_; +lean_object* v_res_18363_; +v_res_18363_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0(v_00_u03b2_18359_, v_inst_18360_, v_a_18361_, v_x_18362_); +lean_dec(v_x_18362_); +lean_dec(v_a_18361_); +return v_res_18363_; } } -LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_18366_, lean_object* v_inst_18367_, lean_object* v_msg_18368_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitC(lean_object* v_modName_18364_, lean_object* v_a_18365_, lean_object* v_a_18366_){ _start: { -lean_object* v___x_18369_; -v___x_18369_ = lean_panic_fn(v_inst_18367_, v_msg_18368_); -return v___x_18369_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0(lean_object* v_00_u03b2_18370_, lean_object* v_inst_18371_, lean_object* v_a_18372_, lean_object* v_x_18373_){ -_start: +lean_object* v___x_18368_; +v___x_18368_ = l_Lean_Compiler_LCNF_getLocalImpureDecls___redArg(v_a_18366_); +if (lean_obj_tag(v___x_18368_) == 0) { -lean_object* v___x_18374_; -v___x_18374_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___redArg(v_inst_18371_, v_a_18372_, v_x_18373_); -return v___x_18374_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0___boxed(lean_object* v_00_u03b2_18375_, lean_object* v_inst_18376_, lean_object* v_a_18377_, lean_object* v_x_18378_){ -_start: -{ -lean_object* v_res_18379_; -v_res_18379_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00Lean_Compiler_LCNF_emitCForDecls_spec__0_spec__0(v_00_u03b2_18375_, v_inst_18376_, v_a_18377_, v_x_18378_); -lean_dec(v_x_18378_); -lean_dec(v_a_18377_); -return v_res_18379_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitC(lean_object* v_modName_18380_, lean_object* v_a_18381_, lean_object* v_a_18382_){ -_start: -{ -lean_object* v___x_18384_; -v___x_18384_ = l_Lean_Compiler_LCNF_getLocalImpureDecls___redArg(v_a_18382_); -if (lean_obj_tag(v___x_18384_) == 0) -{ -lean_object* v_a_18385_; lean_object* v___x_18386_; -v_a_18385_ = lean_ctor_get(v___x_18384_, 0); -lean_inc(v_a_18385_); -lean_dec_ref(v___x_18384_); -v___x_18386_ = l_Lean_Compiler_LCNF_emitCForDecls(v_modName_18380_, v_a_18385_, v_a_18381_, v_a_18382_); -lean_dec(v_a_18385_); -return v___x_18386_; +lean_object* v_a_18369_; lean_object* v___x_18370_; +v_a_18369_ = lean_ctor_get(v___x_18368_, 0); +lean_inc(v_a_18369_); +lean_dec_ref(v___x_18368_); +v___x_18370_ = l_Lean_Compiler_LCNF_emitCForDecls(v_modName_18364_, v_a_18369_, v_a_18365_, v_a_18366_); +lean_dec(v_a_18369_); +return v___x_18370_; } else { -lean_object* v_a_18387_; lean_object* v___x_18389_; uint8_t v_isShared_18390_; uint8_t v_isSharedCheck_18394_; -lean_dec(v_a_18382_); -lean_dec_ref(v_a_18381_); -lean_dec(v_modName_18380_); -v_a_18387_ = lean_ctor_get(v___x_18384_, 0); -v_isSharedCheck_18394_ = !lean_is_exclusive(v___x_18384_); -if (v_isSharedCheck_18394_ == 0) +lean_object* v_a_18371_; lean_object* v___x_18373_; uint8_t v_isShared_18374_; uint8_t v_isSharedCheck_18378_; +lean_dec(v_a_18366_); +lean_dec_ref(v_a_18365_); +lean_dec(v_modName_18364_); +v_a_18371_ = lean_ctor_get(v___x_18368_, 0); +v_isSharedCheck_18378_ = !lean_is_exclusive(v___x_18368_); +if (v_isSharedCheck_18378_ == 0) { -v___x_18389_ = v___x_18384_; -v_isShared_18390_ = v_isSharedCheck_18394_; -goto v_resetjp_18388_; +v___x_18373_ = v___x_18368_; +v_isShared_18374_ = v_isSharedCheck_18378_; +goto v_resetjp_18372_; } else { -lean_inc(v_a_18387_); -lean_dec(v___x_18384_); -v___x_18389_ = lean_box(0); -v_isShared_18390_ = v_isSharedCheck_18394_; -goto v_resetjp_18388_; +lean_inc(v_a_18371_); +lean_dec(v___x_18368_); +v___x_18373_ = lean_box(0); +v_isShared_18374_ = v_isSharedCheck_18378_; +goto v_resetjp_18372_; } -v_resetjp_18388_: +v_resetjp_18372_: { -lean_object* v___x_18392_; -if (v_isShared_18390_ == 0) +lean_object* v___x_18376_; +if (v_isShared_18374_ == 0) { -v___x_18392_ = v___x_18389_; -goto v_reusejp_18391_; +v___x_18376_ = v___x_18373_; +goto v_reusejp_18375_; } else { -lean_object* v_reuseFailAlloc_18393_; -v_reuseFailAlloc_18393_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18393_, 0, v_a_18387_); -v___x_18392_ = v_reuseFailAlloc_18393_; -goto v_reusejp_18391_; +lean_object* v_reuseFailAlloc_18377_; +v_reuseFailAlloc_18377_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18377_, 0, v_a_18371_); +v___x_18376_ = v_reuseFailAlloc_18377_; +goto v_reusejp_18375_; } -v_reusejp_18391_: +v_reusejp_18375_: { -return v___x_18392_; +return v___x_18376_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitC___boxed(lean_object* v_modName_18395_, lean_object* v_a_18396_, lean_object* v_a_18397_, lean_object* v_a_18398_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_emitC___boxed(lean_object* v_modName_18379_, lean_object* v_a_18380_, lean_object* v_a_18381_, lean_object* v_a_18382_){ _start: { -lean_object* v_res_18399_; -v_res_18399_ = l_Lean_Compiler_LCNF_emitC(v_modName_18395_, v_a_18396_, v_a_18397_); -return v_res_18399_; +lean_object* v_res_18383_; +v_res_18383_ = l_Lean_Compiler_LCNF_emitC(v_modName_18379_, v_a_18380_, v_a_18381_); +return v_res_18383_; } } lean_object* runtime_initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/InferBorrow.c b/stage0/stdlib/Lean/Compiler/LCNF/InferBorrow.c index 90497a69ae..0d8a257a7e 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/InferBorrow.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/InferBorrow.c @@ -13,7 +13,19 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_instMonadEST(lean_object*, lean_object*); +lean_object* l_ReaderT_instMonad___redArg(lean_object*); +lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Core_instMonadCoreM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_instMonadCompilerM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_instMonadCompilerM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_instInhabitedOfMonad___redArg(lean_object*, lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -28,10 +40,6 @@ size_t lean_uint64_to_usize(uint64_t); size_t lean_usize_sub(size_t, size_t); size_t lean_usize_land(size_t, size_t); uint8_t l_Lean_instBEqFVarId_beq(lean_object*, lean_object*); -lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); -lean_object* l_Lean_Name_mkStr1(lean_object*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); -uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -41,6 +49,10 @@ lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); +lean_object* l_Lean_Name_mkStr1(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PP_ppFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PP_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PP_ppFVar___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -67,20 +79,8 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_instMonadEST(lean_object*, lean_object*); -lean_object* l_ReaderT_instMonad___redArg(lean_object*); -lean_object* l_Lean_Core_instMonadCoreM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Core_instMonadCoreM___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instFunctorOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_ReaderT_instApplicativeOfMonad___redArg___lam__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_instMonadCompilerM___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_instInhabited(lean_object*); -lean_object* l_instInhabitedOfMonad___redArg(lean_object*, lean_object*); lean_object* l_instInhabitedForall___redArg___lam__0___boxed(lean_object*, lean_object*); -lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_instInhabitedParam_default(uint8_t); lean_object* lean_array_get_borrowed(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isScalar(lean_object*); @@ -90,6 +90,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_FVarIdSet_insert(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_saveImpure___redArg(lean_object*, lean_object*); +uint8_t l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isPossibleRef(lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); size_t lean_ptr_addr(lean_object*); @@ -100,8 +101,9 @@ lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAl lean_object* l_Lean_Compiler_LCNF_instInhabitedCode_default__1(uint8_t); lean_object* lean_st_mk_ref(lean_object*); uint8_t l_Lean_isExport(lean_object*, lean_object*); -uint8_t l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isPossibleRef(lean_object*); extern lean_object* l_Lean_instEmptyCollectionFVarIdHashSet; +lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_read(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_Key_ctorIdx(lean_object*); @@ -127,33 +129,42 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Comp static const lean_closure_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0_value; LEAN_EXPORT const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0_value; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_insert(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_erase(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0; -static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Core_instMonadCoreM___lam__0___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1_value; -static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Core_instMonadCoreM___lam__1___boxed, .m_arity = 7, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2_value; -static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Compiler_LCNF_instMonadCompilerM___lam__0___boxed, .m_arity = 7, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3_value; -static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Compiler_LCNF_instMonadCompilerM___lam__1___boxed, .m_arity = 9, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4_value; -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2___redArg(lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_once_cell_t l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0; +static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Core_instMonadCoreM___lam__0___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1_value; +static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Core_instMonadCoreM___lam__1___boxed, .m_arity = 7, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2_value; +static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Compiler_LCNF_instMonadCompilerM___lam__0___boxed, .m_arity = 7, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3_value; +static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Compiler_LCNF_instMonadCompilerM___lam__1___boxed, .m_arity = 9, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4_value; +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5___redArg(lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1___redArg(lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 34, .m_capacity = 34, .m_length = 33, .m_data = "unreachable code has been reached"}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2_value; static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 83, .m_capacity = 83, .m_length = 82, .m_data = "_private.Lean.Compiler.LCNF.InferBorrow.0.Lean.Compiler.LCNF.mkInitParamMap.goCode"}; @@ -164,15 +175,21 @@ static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compi static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(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___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_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_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4(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___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__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_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(uint8_t, lean_object*); @@ -185,6 +202,8 @@ static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compi static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0; static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1; +static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(lean_object*, lean_object*, lean_object*); @@ -255,8 +274,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Comp LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorResult_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_projectionPropagation_elim___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_projectionPropagation_elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_forwardProjectionProp_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_forwardProjectionProp_elim(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_backwardProjectionProp_elim___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_backwardProjectionProp_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallArg_elim___redArg(lean_object*, lean_object*); @@ -277,28 +298,30 @@ static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Le static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__1 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__1_value; static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = "argument to constructor call "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__2 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__2_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "projection propagation "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 28, .m_capacity = 28, .m_length = 27, .m_data = "fwd projection propagation "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 25, .m_capacity = 25, .m_length = 24, .m_data = "result of function call "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 29, .m_capacity = 29, .m_length = 28, .m_data = "bkwd projection propagation "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 25, .m_capacity = 25, .m_length = 24, .m_data = "owned function argument "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 25, .m_capacity = 25, .m_length = 24, .m_data = "result of function call "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 26, .m_capacity = 26, .m_length = 25, .m_data = "argument to closure call "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 25, .m_capacity = 25, .m_length = 24, .m_data = "owned function argument "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 17, .m_capacity = 17, .m_length = 16, .m_data = "argument to pap "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 26, .m_capacity = 26, .m_length = 25, .m_data = "argument to closure call "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "tail call preservation of "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 17, .m_capacity = 17, .m_length = 16, .m_data = "argument to pap "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = "backward propagation from JP "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "tail call preservation of "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9_value; -static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "JP tail call preservation "}; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = "backward propagation from JP "}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10_value; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "JP tail call preservation "}; +static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__11 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__11_value; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced___boxed(lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(lean_object*, lean_object*); @@ -307,8 +330,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Comp LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(lean_object*, lean_object*); @@ -339,26 +360,22 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Comp LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0; -static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1; -static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2; -static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static double l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3; -static const lean_string_object l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""}; -static const lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__4 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__4_value; -static const lean_array_object l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; -static const lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__5 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__5_value; -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_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_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1___redArg(lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(lean_object*, lean_object*, lean_object*); +static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0; +static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1; +static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2; +static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static double l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3; +static const lean_string_object l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""}; +static const lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__4 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__4_value; +static const lean_array_object l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; +static const lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__5 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__5_value; +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "Compiler"}; static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__0_value; static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "inferBorrow"}; @@ -374,12 +391,12 @@ static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Le static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__5 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__5_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6; +static const lean_string_object l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 32, .m_capacity = 32, .m_length = 31, .m_data = "user annotation blocked owning "}; +static const lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__7 = (const lean_object*)&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__7_value; +static lean_once_cell_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___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_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4(lean_object*, lean_object*, lean_object*); static lean_once_cell_t l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0; LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -782,408 +799,498 @@ v_r_83_ = lean_box_uint64(v_res_82_); return v_r_83_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0(size_t v_sz_86_, size_t v_i_87_, lean_object* v_bs_88_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_insert(lean_object* v_pm_86_, lean_object* v_k_87_, lean_object* v_ps_88_){ _start: { -uint8_t v___x_89_; -v___x_89_ = lean_usize_dec_lt(v_i_87_, v_sz_86_); -if (v___x_89_ == 0) +lean_object* v_map_89_; lean_object* v_annoatedBorrows_90_; lean_object* v___x_92_; uint8_t v_isShared_93_; uint8_t v_isSharedCheck_100_; +v_map_89_ = lean_ctor_get(v_pm_86_, 0); +v_annoatedBorrows_90_ = lean_ctor_get(v_pm_86_, 1); +v_isSharedCheck_100_ = !lean_is_exclusive(v_pm_86_); +if (v_isSharedCheck_100_ == 0) { -return v_bs_88_; +v___x_92_ = v_pm_86_; +v_isShared_93_ = v_isSharedCheck_100_; +goto v_resetjp_91_; } else { -lean_object* v_v_90_; lean_object* v_fvarId_91_; lean_object* v_binderName_92_; lean_object* v_type_93_; lean_object* v___x_95_; uint8_t v_isShared_96_; uint8_t v_isSharedCheck_107_; -v_v_90_ = lean_array_uget(v_bs_88_, v_i_87_); -v_fvarId_91_ = lean_ctor_get(v_v_90_, 0); -v_binderName_92_ = lean_ctor_get(v_v_90_, 1); -v_type_93_ = lean_ctor_get(v_v_90_, 2); -v_isSharedCheck_107_ = !lean_is_exclusive(v_v_90_); -if (v_isSharedCheck_107_ == 0) +lean_inc(v_annoatedBorrows_90_); +lean_inc(v_map_89_); +lean_dec(v_pm_86_); +v___x_92_ = lean_box(0); +v_isShared_93_ = v_isSharedCheck_100_; +goto v_resetjp_91_; +} +v_resetjp_91_: { -v___x_95_ = v_v_90_; -v_isShared_96_ = v_isSharedCheck_107_; -goto v_resetjp_94_; +lean_object* v___x_94_; lean_object* v___x_95_; lean_object* v___x_96_; lean_object* v___x_98_; +v___x_94_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey___closed__0)); +v___x_95_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0)); +v___x_96_ = l_Std_DHashMap_Internal_Raw_u2080_insert___redArg(v___x_94_, v___x_95_, v_map_89_, v_k_87_, v_ps_88_); +if (v_isShared_93_ == 0) +{ +lean_ctor_set(v___x_92_, 0, v___x_96_); +v___x_98_ = v___x_92_; +goto v_reusejp_97_; } else { -lean_inc(v_type_93_); -lean_inc(v_binderName_92_); -lean_inc(v_fvarId_91_); -lean_dec(v_v_90_); -v___x_95_ = lean_box(0); -v_isShared_96_ = v_isSharedCheck_107_; -goto v_resetjp_94_; +lean_object* v_reuseFailAlloc_99_; +v_reuseFailAlloc_99_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_99_, 0, v___x_96_); +lean_ctor_set(v_reuseFailAlloc_99_, 1, v_annoatedBorrows_90_); +v___x_98_ = v_reuseFailAlloc_99_; +goto v_reusejp_97_; } -v_resetjp_94_: +v_reusejp_97_: { -lean_object* v___x_97_; lean_object* v_bs_x27_98_; uint8_t v___x_99_; lean_object* v___x_101_; -v___x_97_ = lean_unsigned_to_nat(0u); -v_bs_x27_98_ = lean_array_uset(v_bs_88_, v_i_87_, v___x_97_); -v___x_99_ = l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isPossibleRef(v_type_93_); -if (v_isShared_96_ == 0) +return v___x_98_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_erase(lean_object* v_pm_101_, lean_object* v_k_102_){ +_start: { -v___x_101_ = v___x_95_; -goto v_reusejp_100_; +lean_object* v_map_103_; lean_object* v_annoatedBorrows_104_; lean_object* v___x_106_; uint8_t v_isShared_107_; uint8_t v_isSharedCheck_114_; +v_map_103_ = lean_ctor_get(v_pm_101_, 0); +v_annoatedBorrows_104_ = lean_ctor_get(v_pm_101_, 1); +v_isSharedCheck_114_ = !lean_is_exclusive(v_pm_101_); +if (v_isSharedCheck_114_ == 0) +{ +v___x_106_ = v_pm_101_; +v_isShared_107_ = v_isSharedCheck_114_; +goto v_resetjp_105_; } else { -lean_object* v_reuseFailAlloc_106_; -v_reuseFailAlloc_106_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_106_, 0, v_fvarId_91_); -lean_ctor_set(v_reuseFailAlloc_106_, 1, v_binderName_92_); -lean_ctor_set(v_reuseFailAlloc_106_, 2, v_type_93_); -v___x_101_ = v_reuseFailAlloc_106_; -goto v_reusejp_100_; +lean_inc(v_annoatedBorrows_104_); +lean_inc(v_map_103_); +lean_dec(v_pm_101_); +v___x_106_ = lean_box(0); +v_isShared_107_ = v_isSharedCheck_114_; +goto v_resetjp_105_; } -v_reusejp_100_: +v_resetjp_105_: { -size_t v___x_102_; size_t v___x_103_; lean_object* v___x_104_; -lean_ctor_set_uint8(v___x_101_, sizeof(void*)*3, v___x_99_); -v___x_102_ = ((size_t)1ULL); -v___x_103_ = lean_usize_add(v_i_87_, v___x_102_); -v___x_104_ = lean_array_uset(v_bs_x27_98_, v_i_87_, v___x_101_); -v_i_87_ = v___x_103_; -v_bs_88_ = v___x_104_; +lean_object* v___x_108_; lean_object* v___x_109_; lean_object* v___x_110_; lean_object* v___x_112_; +v___x_108_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey___closed__0)); +v___x_109_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey___closed__0)); +v___x_110_ = l_Std_DHashMap_Internal_Raw_u2080_erase___redArg(v___x_108_, v___x_109_, v_map_103_, v_k_102_); +if (v_isShared_107_ == 0) +{ +lean_ctor_set(v___x_106_, 0, v___x_110_); +v___x_112_ = v___x_106_; +goto v_reusejp_111_; +} +else +{ +lean_object* v_reuseFailAlloc_113_; +v_reuseFailAlloc_113_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_113_, 0, v___x_110_); +lean_ctor_set(v_reuseFailAlloc_113_, 1, v_annoatedBorrows_104_); +v___x_112_ = v_reuseFailAlloc_113_; +goto v_reusejp_111_; +} +v_reusejp_111_: +{ +return v___x_112_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0(size_t v_sz_115_, size_t v_i_116_, lean_object* v_bs_117_){ +_start: +{ +uint8_t v___x_118_; +v___x_118_ = lean_usize_dec_lt(v_i_116_, v_sz_115_); +if (v___x_118_ == 0) +{ +return v_bs_117_; +} +else +{ +lean_object* v_v_119_; lean_object* v_fvarId_120_; lean_object* v_binderName_121_; lean_object* v_type_122_; lean_object* v___x_124_; uint8_t v_isShared_125_; uint8_t v_isSharedCheck_136_; +v_v_119_ = lean_array_uget(v_bs_117_, v_i_116_); +v_fvarId_120_ = lean_ctor_get(v_v_119_, 0); +v_binderName_121_ = lean_ctor_get(v_v_119_, 1); +v_type_122_ = lean_ctor_get(v_v_119_, 2); +v_isSharedCheck_136_ = !lean_is_exclusive(v_v_119_); +if (v_isSharedCheck_136_ == 0) +{ +v___x_124_ = v_v_119_; +v_isShared_125_ = v_isSharedCheck_136_; +goto v_resetjp_123_; +} +else +{ +lean_inc(v_type_122_); +lean_inc(v_binderName_121_); +lean_inc(v_fvarId_120_); +lean_dec(v_v_119_); +v___x_124_ = lean_box(0); +v_isShared_125_ = v_isSharedCheck_136_; +goto v_resetjp_123_; +} +v_resetjp_123_: +{ +lean_object* v___x_126_; lean_object* v_bs_x27_127_; uint8_t v___x_128_; lean_object* v___x_130_; +v___x_126_ = lean_unsigned_to_nat(0u); +v_bs_x27_127_ = lean_array_uset(v_bs_117_, v_i_116_, v___x_126_); +v___x_128_ = l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isPossibleRef(v_type_122_); +if (v_isShared_125_ == 0) +{ +v___x_130_ = v___x_124_; +goto v_reusejp_129_; +} +else +{ +lean_object* v_reuseFailAlloc_135_; +v_reuseFailAlloc_135_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_135_, 0, v_fvarId_120_); +lean_ctor_set(v_reuseFailAlloc_135_, 1, v_binderName_121_); +lean_ctor_set(v_reuseFailAlloc_135_, 2, v_type_122_); +v___x_130_ = v_reuseFailAlloc_135_; +goto v_reusejp_129_; +} +v_reusejp_129_: +{ +size_t v___x_131_; size_t v___x_132_; lean_object* v___x_133_; +lean_ctor_set_uint8(v___x_130_, sizeof(void*)*3, v___x_128_); +v___x_131_ = ((size_t)1ULL); +v___x_132_ = lean_usize_add(v_i_116_, v___x_131_); +v___x_133_ = lean_array_uset(v_bs_x27_127_, v_i_116_, v___x_130_); +v_i_116_ = v___x_132_; +v_bs_117_ = v___x_133_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0___boxed(lean_object* v_sz_108_, lean_object* v_i_109_, lean_object* v_bs_110_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0___boxed(lean_object* v_sz_137_, lean_object* v_i_138_, lean_object* v_bs_139_){ _start: { -size_t v_sz_boxed_111_; size_t v_i_boxed_112_; lean_object* v_res_113_; -v_sz_boxed_111_ = lean_unbox_usize(v_sz_108_); -lean_dec(v_sz_108_); -v_i_boxed_112_ = lean_unbox_usize(v_i_109_); -lean_dec(v_i_109_); -v_res_113_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0(v_sz_boxed_111_, v_i_boxed_112_, v_bs_110_); -return v_res_113_; +size_t v_sz_boxed_140_; size_t v_i_boxed_141_; lean_object* v_res_142_; +v_sz_boxed_140_ = lean_unbox_usize(v_sz_137_); +lean_dec(v_sz_137_); +v_i_boxed_141_ = lean_unbox_usize(v_i_138_); +lean_dec(v_i_138_); +v_res_142_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0(v_sz_boxed_140_, v_i_boxed_141_, v_bs_139_); +return v_res_142_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow(lean_object* v_ps_114_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(lean_object* v_ps_143_){ _start: { -size_t v_sz_115_; size_t v___x_116_; lean_object* v___x_117_; -v_sz_115_ = lean_array_size(v_ps_114_); -v___x_116_ = ((size_t)0ULL); -v___x_117_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0(v_sz_115_, v___x_116_, v_ps_114_); -return v___x_117_; +size_t v_sz_144_; size_t v___x_145_; lean_object* v___x_146_; +v_sz_144_ = lean_array_size(v_ps_143_); +v___x_145_ = ((size_t)0ULL); +v___x_146_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams_spec__0(v_sz_144_, v___x_145_, v_ps_143_); +return v___x_146_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(lean_object* v_ps_118_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(lean_object* v_alt_147_, lean_object* v_f_148_, lean_object* v___y_149_, lean_object* v___y_150_, lean_object* v___y_151_, lean_object* v___y_152_, lean_object* v___y_153_){ _start: { -size_t v_sz_119_; size_t v___x_120_; lean_object* v___x_121_; -v_sz_119_ = lean_array_size(v_ps_118_); -v___x_120_ = ((size_t)0ULL); -v___x_121_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initBorrow_spec__0(v_sz_119_, v___x_120_, v_ps_118_); -return v___x_121_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(lean_object* v_alt_122_, lean_object* v_f_123_, lean_object* v___y_124_, lean_object* v___y_125_, lean_object* v___y_126_, lean_object* v___y_127_, lean_object* v___y_128_){ -_start: -{ -switch(lean_obj_tag(v_alt_122_)) +switch(lean_obj_tag(v_alt_147_)) { case 0: { -lean_object* v_code_130_; lean_object* v___x_131_; -v_code_130_ = lean_ctor_get(v_alt_122_, 2); -lean_inc_ref(v_code_130_); -lean_dec_ref(v_alt_122_); -v___x_131_ = lean_apply_7(v_f_123_, v_code_130_, v___y_124_, v___y_125_, v___y_126_, v___y_127_, v___y_128_, lean_box(0)); -return v___x_131_; +lean_object* v_code_155_; lean_object* v___x_156_; +v_code_155_ = lean_ctor_get(v_alt_147_, 2); +lean_inc_ref(v_code_155_); +lean_dec_ref(v_alt_147_); +v___x_156_ = lean_apply_7(v_f_148_, v_code_155_, v___y_149_, v___y_150_, v___y_151_, v___y_152_, v___y_153_, lean_box(0)); +return v___x_156_; } case 1: { -lean_object* v_code_132_; lean_object* v___x_133_; -v_code_132_ = lean_ctor_get(v_alt_122_, 1); -lean_inc_ref(v_code_132_); -lean_dec_ref(v_alt_122_); -v___x_133_ = lean_apply_7(v_f_123_, v_code_132_, v___y_124_, v___y_125_, v___y_126_, v___y_127_, v___y_128_, lean_box(0)); -return v___x_133_; +lean_object* v_code_157_; lean_object* v___x_158_; +v_code_157_ = lean_ctor_get(v_alt_147_, 1); +lean_inc_ref(v_code_157_); +lean_dec_ref(v_alt_147_); +v___x_158_ = lean_apply_7(v_f_148_, v_code_157_, v___y_149_, v___y_150_, v___y_151_, v___y_152_, v___y_153_, lean_box(0)); +return v___x_158_; } default: { -lean_object* v_code_134_; lean_object* v___x_135_; -v_code_134_ = lean_ctor_get(v_alt_122_, 0); -lean_inc_ref(v_code_134_); -lean_dec_ref(v_alt_122_); -v___x_135_ = lean_apply_7(v_f_123_, v_code_134_, v___y_124_, v___y_125_, v___y_126_, v___y_127_, v___y_128_, lean_box(0)); -return v___x_135_; +lean_object* v_code_159_; lean_object* v___x_160_; +v_code_159_ = lean_ctor_get(v_alt_147_, 0); +lean_inc_ref(v_code_159_); +lean_dec_ref(v_alt_147_); +v___x_160_ = lean_apply_7(v_f_148_, v_code_159_, v___y_149_, v___y_150_, v___y_151_, v___y_152_, v___y_153_, lean_box(0)); +return v___x_160_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg___boxed(lean_object* v_alt_136_, lean_object* v_f_137_, lean_object* v___y_138_, lean_object* v___y_139_, lean_object* v___y_140_, lean_object* v___y_141_, lean_object* v___y_142_, lean_object* v___y_143_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg___boxed(lean_object* v_alt_161_, lean_object* v_f_162_, lean_object* v___y_163_, lean_object* v___y_164_, lean_object* v___y_165_, lean_object* v___y_166_, lean_object* v___y_167_, lean_object* v___y_168_){ _start: { -lean_object* v_res_144_; -v_res_144_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v_alt_136_, v_f_137_, v___y_138_, v___y_139_, v___y_140_, v___y_141_, v___y_142_); -return v_res_144_; +lean_object* v_res_169_; +v_res_169_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v_alt_161_, v_f_162_, v___y_163_, v___y_164_, v___y_165_, v___y_166_, v___y_167_); +return v_res_169_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0(uint8_t v_pu_145_, lean_object* v_alt_146_, lean_object* v_f_147_, lean_object* v___y_148_, lean_object* v___y_149_, lean_object* v___y_150_, lean_object* v___y_151_, lean_object* v___y_152_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1(uint8_t v_pu_170_, lean_object* v_alt_171_, lean_object* v_f_172_, lean_object* v___y_173_, lean_object* v___y_174_, lean_object* v___y_175_, lean_object* v___y_176_, lean_object* v___y_177_){ _start: { -lean_object* v___x_154_; -v___x_154_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v_alt_146_, v_f_147_, v___y_148_, v___y_149_, v___y_150_, v___y_151_, v___y_152_); -return v___x_154_; +lean_object* v___x_179_; +v___x_179_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v_alt_171_, v_f_172_, v___y_173_, v___y_174_, v___y_175_, v___y_176_, v___y_177_); +return v___x_179_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___boxed(lean_object* v_pu_155_, lean_object* v_alt_156_, lean_object* v_f_157_, lean_object* v___y_158_, lean_object* v___y_159_, lean_object* v___y_160_, lean_object* v___y_161_, lean_object* v___y_162_, lean_object* v___y_163_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___boxed(lean_object* v_pu_180_, lean_object* v_alt_181_, lean_object* v_f_182_, lean_object* v___y_183_, lean_object* v___y_184_, lean_object* v___y_185_, lean_object* v___y_186_, lean_object* v___y_187_, lean_object* v___y_188_){ _start: { -uint8_t v_pu_boxed_164_; lean_object* v_res_165_; -v_pu_boxed_164_ = lean_unbox(v_pu_155_); -v_res_165_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0(v_pu_boxed_164_, v_alt_156_, v_f_157_, v___y_158_, v___y_159_, v___y_160_, v___y_161_, v___y_162_); -return v_res_165_; +uint8_t v_pu_boxed_189_; lean_object* v_res_190_; +v_pu_boxed_189_ = lean_unbox(v_pu_180_); +v_res_190_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1(v_pu_boxed_189_, v_alt_181_, v_f_182_, v___y_183_, v___y_184_, v___y_185_, v___y_186_, v___y_187_); +return v_res_190_; } } -static lean_object* _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0(void){ +static lean_object* _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0(void){ _start: { -lean_object* v___x_166_; -v___x_166_ = l_instMonadEST(lean_box(0), lean_box(0)); -return v___x_166_; +lean_object* v___x_191_; +v___x_191_ = l_instMonadEST(lean_box(0), lean_box(0)); +return v___x_191_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(lean_object* v_msg_171_, lean_object* v___y_172_, lean_object* v___y_173_, lean_object* v___y_174_, lean_object* v___y_175_, lean_object* v___y_176_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5(lean_object* v_msg_196_, lean_object* v___y_197_, lean_object* v___y_198_, lean_object* v___y_199_, lean_object* v___y_200_, lean_object* v___y_201_){ _start: { -lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v_toApplicative_180_; lean_object* v___x_182_; uint8_t v_isShared_183_; uint8_t v_isSharedCheck_242_; -v___x_178_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_179_ = l_ReaderT_instMonad___redArg(v___x_178_); -v_toApplicative_180_ = lean_ctor_get(v___x_179_, 0); -v_isSharedCheck_242_ = !lean_is_exclusive(v___x_179_); -if (v_isSharedCheck_242_ == 0) +lean_object* v___x_203_; lean_object* v___x_204_; lean_object* v_toApplicative_205_; lean_object* v___x_207_; uint8_t v_isShared_208_; uint8_t v_isSharedCheck_267_; +v___x_203_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_204_ = l_ReaderT_instMonad___redArg(v___x_203_); +v_toApplicative_205_ = lean_ctor_get(v___x_204_, 0); +v_isSharedCheck_267_ = !lean_is_exclusive(v___x_204_); +if (v_isSharedCheck_267_ == 0) { -lean_object* v_unused_243_; -v_unused_243_ = lean_ctor_get(v___x_179_, 1); -lean_dec(v_unused_243_); -v___x_182_ = v___x_179_; -v_isShared_183_ = v_isSharedCheck_242_; -goto v_resetjp_181_; +lean_object* v_unused_268_; +v_unused_268_ = lean_ctor_get(v___x_204_, 1); +lean_dec(v_unused_268_); +v___x_207_ = v___x_204_; +v_isShared_208_ = v_isSharedCheck_267_; +goto v_resetjp_206_; } else { -lean_inc(v_toApplicative_180_); -lean_dec(v___x_179_); -v___x_182_ = lean_box(0); -v_isShared_183_ = v_isSharedCheck_242_; -goto v_resetjp_181_; +lean_inc(v_toApplicative_205_); +lean_dec(v___x_204_); +v___x_207_ = lean_box(0); +v_isShared_208_ = v_isSharedCheck_267_; +goto v_resetjp_206_; } -v_resetjp_181_: +v_resetjp_206_: { -lean_object* v_toFunctor_184_; lean_object* v_toSeq_185_; lean_object* v_toSeqLeft_186_; lean_object* v_toSeqRight_187_; lean_object* v___x_189_; uint8_t v_isShared_190_; uint8_t v_isSharedCheck_240_; -v_toFunctor_184_ = lean_ctor_get(v_toApplicative_180_, 0); -v_toSeq_185_ = lean_ctor_get(v_toApplicative_180_, 2); -v_toSeqLeft_186_ = lean_ctor_get(v_toApplicative_180_, 3); -v_toSeqRight_187_ = lean_ctor_get(v_toApplicative_180_, 4); -v_isSharedCheck_240_ = !lean_is_exclusive(v_toApplicative_180_); -if (v_isSharedCheck_240_ == 0) +lean_object* v_toFunctor_209_; lean_object* v_toSeq_210_; lean_object* v_toSeqLeft_211_; lean_object* v_toSeqRight_212_; lean_object* v___x_214_; uint8_t v_isShared_215_; uint8_t v_isSharedCheck_265_; +v_toFunctor_209_ = lean_ctor_get(v_toApplicative_205_, 0); +v_toSeq_210_ = lean_ctor_get(v_toApplicative_205_, 2); +v_toSeqLeft_211_ = lean_ctor_get(v_toApplicative_205_, 3); +v_toSeqRight_212_ = lean_ctor_get(v_toApplicative_205_, 4); +v_isSharedCheck_265_ = !lean_is_exclusive(v_toApplicative_205_); +if (v_isSharedCheck_265_ == 0) { -lean_object* v_unused_241_; -v_unused_241_ = lean_ctor_get(v_toApplicative_180_, 1); -lean_dec(v_unused_241_); -v___x_189_ = v_toApplicative_180_; -v_isShared_190_ = v_isSharedCheck_240_; -goto v_resetjp_188_; +lean_object* v_unused_266_; +v_unused_266_ = lean_ctor_get(v_toApplicative_205_, 1); +lean_dec(v_unused_266_); +v___x_214_ = v_toApplicative_205_; +v_isShared_215_ = v_isSharedCheck_265_; +goto v_resetjp_213_; } else { -lean_inc(v_toSeqRight_187_); -lean_inc(v_toSeqLeft_186_); -lean_inc(v_toSeq_185_); -lean_inc(v_toFunctor_184_); -lean_dec(v_toApplicative_180_); -v___x_189_ = lean_box(0); -v_isShared_190_ = v_isSharedCheck_240_; -goto v_resetjp_188_; +lean_inc(v_toSeqRight_212_); +lean_inc(v_toSeqLeft_211_); +lean_inc(v_toSeq_210_); +lean_inc(v_toFunctor_209_); +lean_dec(v_toApplicative_205_); +v___x_214_ = lean_box(0); +v_isShared_215_ = v_isSharedCheck_265_; +goto v_resetjp_213_; } -v_resetjp_188_: +v_resetjp_213_: { -lean_object* v___f_191_; lean_object* v___f_192_; lean_object* v___f_193_; lean_object* v___f_194_; lean_object* v___x_195_; lean_object* v___f_196_; lean_object* v___f_197_; lean_object* v___f_198_; lean_object* v___x_200_; -v___f_191_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_192_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_184_); -v___f_193_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_193_, 0, v_toFunctor_184_); -v___f_194_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_194_, 0, v_toFunctor_184_); -v___x_195_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_195_, 0, v___f_193_); -lean_ctor_set(v___x_195_, 1, v___f_194_); -v___f_196_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_196_, 0, v_toSeqRight_187_); -v___f_197_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_197_, 0, v_toSeqLeft_186_); -v___f_198_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_198_, 0, v_toSeq_185_); -if (v_isShared_190_ == 0) +lean_object* v___f_216_; lean_object* v___f_217_; lean_object* v___f_218_; lean_object* v___f_219_; lean_object* v___x_220_; lean_object* v___f_221_; lean_object* v___f_222_; lean_object* v___f_223_; lean_object* v___x_225_; +v___f_216_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_217_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_209_); +v___f_218_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_218_, 0, v_toFunctor_209_); +v___f_219_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_219_, 0, v_toFunctor_209_); +v___x_220_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_220_, 0, v___f_218_); +lean_ctor_set(v___x_220_, 1, v___f_219_); +v___f_221_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_221_, 0, v_toSeqRight_212_); +v___f_222_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_222_, 0, v_toSeqLeft_211_); +v___f_223_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_223_, 0, v_toSeq_210_); +if (v_isShared_215_ == 0) { -lean_ctor_set(v___x_189_, 4, v___f_196_); -lean_ctor_set(v___x_189_, 3, v___f_197_); -lean_ctor_set(v___x_189_, 2, v___f_198_); -lean_ctor_set(v___x_189_, 1, v___f_191_); -lean_ctor_set(v___x_189_, 0, v___x_195_); -v___x_200_ = v___x_189_; -goto v_reusejp_199_; +lean_ctor_set(v___x_214_, 4, v___f_221_); +lean_ctor_set(v___x_214_, 3, v___f_222_); +lean_ctor_set(v___x_214_, 2, v___f_223_); +lean_ctor_set(v___x_214_, 1, v___f_216_); +lean_ctor_set(v___x_214_, 0, v___x_220_); +v___x_225_ = v___x_214_; +goto v_reusejp_224_; } else { -lean_object* v_reuseFailAlloc_239_; -v_reuseFailAlloc_239_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_239_, 0, v___x_195_); -lean_ctor_set(v_reuseFailAlloc_239_, 1, v___f_191_); -lean_ctor_set(v_reuseFailAlloc_239_, 2, v___f_198_); -lean_ctor_set(v_reuseFailAlloc_239_, 3, v___f_197_); -lean_ctor_set(v_reuseFailAlloc_239_, 4, v___f_196_); -v___x_200_ = v_reuseFailAlloc_239_; -goto v_reusejp_199_; +lean_object* v_reuseFailAlloc_264_; +v_reuseFailAlloc_264_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_264_, 0, v___x_220_); +lean_ctor_set(v_reuseFailAlloc_264_, 1, v___f_216_); +lean_ctor_set(v_reuseFailAlloc_264_, 2, v___f_223_); +lean_ctor_set(v_reuseFailAlloc_264_, 3, v___f_222_); +lean_ctor_set(v_reuseFailAlloc_264_, 4, v___f_221_); +v___x_225_ = v_reuseFailAlloc_264_; +goto v_reusejp_224_; } -v_reusejp_199_: +v_reusejp_224_: { -lean_object* v___x_202_; -if (v_isShared_183_ == 0) +lean_object* v___x_227_; +if (v_isShared_208_ == 0) { -lean_ctor_set(v___x_182_, 1, v___f_192_); -lean_ctor_set(v___x_182_, 0, v___x_200_); -v___x_202_ = v___x_182_; -goto v_reusejp_201_; +lean_ctor_set(v___x_207_, 1, v___f_217_); +lean_ctor_set(v___x_207_, 0, v___x_225_); +v___x_227_ = v___x_207_; +goto v_reusejp_226_; } else { -lean_object* v_reuseFailAlloc_238_; -v_reuseFailAlloc_238_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_238_, 0, v___x_200_); -lean_ctor_set(v_reuseFailAlloc_238_, 1, v___f_192_); -v___x_202_ = v_reuseFailAlloc_238_; -goto v_reusejp_201_; +lean_object* v_reuseFailAlloc_263_; +v_reuseFailAlloc_263_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_263_, 0, v___x_225_); +lean_ctor_set(v_reuseFailAlloc_263_, 1, v___f_217_); +v___x_227_ = v_reuseFailAlloc_263_; +goto v_reusejp_226_; } -v_reusejp_201_: +v_reusejp_226_: { -lean_object* v___x_203_; lean_object* v_toApplicative_204_; lean_object* v___x_206_; uint8_t v_isShared_207_; uint8_t v_isSharedCheck_236_; -v___x_203_ = l_ReaderT_instMonad___redArg(v___x_202_); -v_toApplicative_204_ = lean_ctor_get(v___x_203_, 0); -v_isSharedCheck_236_ = !lean_is_exclusive(v___x_203_); -if (v_isSharedCheck_236_ == 0) +lean_object* v___x_228_; lean_object* v_toApplicative_229_; lean_object* v___x_231_; uint8_t v_isShared_232_; uint8_t v_isSharedCheck_261_; +v___x_228_ = l_ReaderT_instMonad___redArg(v___x_227_); +v_toApplicative_229_ = lean_ctor_get(v___x_228_, 0); +v_isSharedCheck_261_ = !lean_is_exclusive(v___x_228_); +if (v_isSharedCheck_261_ == 0) { -lean_object* v_unused_237_; -v_unused_237_ = lean_ctor_get(v___x_203_, 1); -lean_dec(v_unused_237_); -v___x_206_ = v___x_203_; -v_isShared_207_ = v_isSharedCheck_236_; -goto v_resetjp_205_; +lean_object* v_unused_262_; +v_unused_262_ = lean_ctor_get(v___x_228_, 1); +lean_dec(v_unused_262_); +v___x_231_ = v___x_228_; +v_isShared_232_ = v_isSharedCheck_261_; +goto v_resetjp_230_; } else { -lean_inc(v_toApplicative_204_); -lean_dec(v___x_203_); -v___x_206_ = lean_box(0); -v_isShared_207_ = v_isSharedCheck_236_; -goto v_resetjp_205_; +lean_inc(v_toApplicative_229_); +lean_dec(v___x_228_); +v___x_231_ = lean_box(0); +v_isShared_232_ = v_isSharedCheck_261_; +goto v_resetjp_230_; } -v_resetjp_205_: +v_resetjp_230_: { -lean_object* v_toFunctor_208_; lean_object* v_toSeq_209_; lean_object* v_toSeqLeft_210_; lean_object* v_toSeqRight_211_; lean_object* v___x_213_; uint8_t v_isShared_214_; uint8_t v_isSharedCheck_234_; -v_toFunctor_208_ = lean_ctor_get(v_toApplicative_204_, 0); -v_toSeq_209_ = lean_ctor_get(v_toApplicative_204_, 2); -v_toSeqLeft_210_ = lean_ctor_get(v_toApplicative_204_, 3); -v_toSeqRight_211_ = lean_ctor_get(v_toApplicative_204_, 4); -v_isSharedCheck_234_ = !lean_is_exclusive(v_toApplicative_204_); -if (v_isSharedCheck_234_ == 0) +lean_object* v_toFunctor_233_; lean_object* v_toSeq_234_; lean_object* v_toSeqLeft_235_; lean_object* v_toSeqRight_236_; lean_object* v___x_238_; uint8_t v_isShared_239_; uint8_t v_isSharedCheck_259_; +v_toFunctor_233_ = lean_ctor_get(v_toApplicative_229_, 0); +v_toSeq_234_ = lean_ctor_get(v_toApplicative_229_, 2); +v_toSeqLeft_235_ = lean_ctor_get(v_toApplicative_229_, 3); +v_toSeqRight_236_ = lean_ctor_get(v_toApplicative_229_, 4); +v_isSharedCheck_259_ = !lean_is_exclusive(v_toApplicative_229_); +if (v_isSharedCheck_259_ == 0) { -lean_object* v_unused_235_; -v_unused_235_ = lean_ctor_get(v_toApplicative_204_, 1); -lean_dec(v_unused_235_); -v___x_213_ = v_toApplicative_204_; -v_isShared_214_ = v_isSharedCheck_234_; -goto v_resetjp_212_; +lean_object* v_unused_260_; +v_unused_260_ = lean_ctor_get(v_toApplicative_229_, 1); +lean_dec(v_unused_260_); +v___x_238_ = v_toApplicative_229_; +v_isShared_239_ = v_isSharedCheck_259_; +goto v_resetjp_237_; } else { -lean_inc(v_toSeqRight_211_); -lean_inc(v_toSeqLeft_210_); -lean_inc(v_toSeq_209_); -lean_inc(v_toFunctor_208_); -lean_dec(v_toApplicative_204_); -v___x_213_ = lean_box(0); -v_isShared_214_ = v_isSharedCheck_234_; -goto v_resetjp_212_; +lean_inc(v_toSeqRight_236_); +lean_inc(v_toSeqLeft_235_); +lean_inc(v_toSeq_234_); +lean_inc(v_toFunctor_233_); +lean_dec(v_toApplicative_229_); +v___x_238_ = lean_box(0); +v_isShared_239_ = v_isSharedCheck_259_; +goto v_resetjp_237_; } -v_resetjp_212_: +v_resetjp_237_: { -lean_object* v___f_215_; lean_object* v___f_216_; lean_object* v___f_217_; lean_object* v___f_218_; lean_object* v___x_219_; lean_object* v___f_220_; lean_object* v___f_221_; lean_object* v___f_222_; lean_object* v___x_224_; -v___f_215_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3)); -v___f_216_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4)); -lean_inc_ref(v_toFunctor_208_); -v___f_217_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_217_, 0, v_toFunctor_208_); -v___f_218_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_218_, 0, v_toFunctor_208_); -v___x_219_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_219_, 0, v___f_217_); -lean_ctor_set(v___x_219_, 1, v___f_218_); -v___f_220_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_220_, 0, v_toSeqRight_211_); -v___f_221_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_221_, 0, v_toSeqLeft_210_); -v___f_222_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_222_, 0, v_toSeq_209_); -if (v_isShared_214_ == 0) +lean_object* v___f_240_; lean_object* v___f_241_; lean_object* v___f_242_; lean_object* v___f_243_; lean_object* v___x_244_; lean_object* v___f_245_; lean_object* v___f_246_; lean_object* v___f_247_; lean_object* v___x_249_; +v___f_240_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3)); +v___f_241_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4)); +lean_inc_ref(v_toFunctor_233_); +v___f_242_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_242_, 0, v_toFunctor_233_); +v___f_243_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_243_, 0, v_toFunctor_233_); +v___x_244_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_244_, 0, v___f_242_); +lean_ctor_set(v___x_244_, 1, v___f_243_); +v___f_245_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_245_, 0, v_toSeqRight_236_); +v___f_246_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_246_, 0, v_toSeqLeft_235_); +v___f_247_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_247_, 0, v_toSeq_234_); +if (v_isShared_239_ == 0) { -lean_ctor_set(v___x_213_, 4, v___f_220_); -lean_ctor_set(v___x_213_, 3, v___f_221_); -lean_ctor_set(v___x_213_, 2, v___f_222_); -lean_ctor_set(v___x_213_, 1, v___f_215_); -lean_ctor_set(v___x_213_, 0, v___x_219_); -v___x_224_ = v___x_213_; -goto v_reusejp_223_; +lean_ctor_set(v___x_238_, 4, v___f_245_); +lean_ctor_set(v___x_238_, 3, v___f_246_); +lean_ctor_set(v___x_238_, 2, v___f_247_); +lean_ctor_set(v___x_238_, 1, v___f_240_); +lean_ctor_set(v___x_238_, 0, v___x_244_); +v___x_249_ = v___x_238_; +goto v_reusejp_248_; } else { -lean_object* v_reuseFailAlloc_233_; -v_reuseFailAlloc_233_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_233_, 0, v___x_219_); -lean_ctor_set(v_reuseFailAlloc_233_, 1, v___f_215_); -lean_ctor_set(v_reuseFailAlloc_233_, 2, v___f_222_); -lean_ctor_set(v_reuseFailAlloc_233_, 3, v___f_221_); -lean_ctor_set(v_reuseFailAlloc_233_, 4, v___f_220_); -v___x_224_ = v_reuseFailAlloc_233_; -goto v_reusejp_223_; +lean_object* v_reuseFailAlloc_258_; +v_reuseFailAlloc_258_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_258_, 0, v___x_244_); +lean_ctor_set(v_reuseFailAlloc_258_, 1, v___f_240_); +lean_ctor_set(v_reuseFailAlloc_258_, 2, v___f_247_); +lean_ctor_set(v_reuseFailAlloc_258_, 3, v___f_246_); +lean_ctor_set(v_reuseFailAlloc_258_, 4, v___f_245_); +v___x_249_ = v_reuseFailAlloc_258_; +goto v_reusejp_248_; } -v_reusejp_223_: +v_reusejp_248_: { -lean_object* v___x_226_; -if (v_isShared_207_ == 0) +lean_object* v___x_251_; +if (v_isShared_232_ == 0) { -lean_ctor_set(v___x_206_, 1, v___f_216_); -lean_ctor_set(v___x_206_, 0, v___x_224_); -v___x_226_ = v___x_206_; -goto v_reusejp_225_; +lean_ctor_set(v___x_231_, 1, v___f_241_); +lean_ctor_set(v___x_231_, 0, v___x_249_); +v___x_251_ = v___x_231_; +goto v_reusejp_250_; } else { -lean_object* v_reuseFailAlloc_232_; -v_reuseFailAlloc_232_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_232_, 0, v___x_224_); -lean_ctor_set(v_reuseFailAlloc_232_, 1, v___f_216_); -v___x_226_ = v_reuseFailAlloc_232_; -goto v_reusejp_225_; +lean_object* v_reuseFailAlloc_257_; +v_reuseFailAlloc_257_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_257_, 0, v___x_249_); +lean_ctor_set(v_reuseFailAlloc_257_, 1, v___f_241_); +v___x_251_ = v_reuseFailAlloc_257_; +goto v_reusejp_250_; } -v_reusejp_225_: +v_reusejp_250_: { -lean_object* v___x_227_; lean_object* v___x_228_; lean_object* v___x_229_; lean_object* v___x_2771__overap_230_; lean_object* v___x_231_; -v___x_227_ = l_ReaderT_instMonad___redArg(v___x_226_); -v___x_228_ = lean_box(0); -v___x_229_ = l_instInhabitedOfMonad___redArg(v___x_227_, v___x_228_); -v___x_2771__overap_230_ = lean_panic_fn(v___x_229_, v_msg_171_); -v___x_231_ = lean_apply_6(v___x_2771__overap_230_, v___y_172_, v___y_173_, v___y_174_, v___y_175_, v___y_176_, lean_box(0)); -return v___x_231_; +lean_object* v___x_252_; lean_object* v___x_253_; lean_object* v___x_254_; lean_object* v___x_3267__overap_255_; lean_object* v___x_256_; +v___x_252_ = l_ReaderT_instMonad___redArg(v___x_251_); +v___x_253_ = lean_box(0); +v___x_254_ = l_instInhabitedOfMonad___redArg(v___x_252_, v___x_253_); +v___x_3267__overap_255_ = lean_panic_fn(v___x_254_, v_msg_196_); +v___x_256_ = lean_apply_6(v___x_3267__overap_255_, v___y_197_, v___y_198_, v___y_199_, v___y_200_, v___y_201_, lean_box(0)); +return v___x_256_; } } } @@ -1194,1476 +1301,2160 @@ return v___x_231_; } } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___boxed(lean_object* v_msg_244_, lean_object* v___y_245_, lean_object* v___y_246_, lean_object* v___y_247_, lean_object* v___y_248_, lean_object* v___y_249_, lean_object* v___y_250_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___boxed(lean_object* v_msg_269_, lean_object* v___y_270_, lean_object* v___y_271_, lean_object* v___y_272_, lean_object* v___y_273_, lean_object* v___y_274_, lean_object* v___y_275_){ _start: { -lean_object* v_res_251_; -v_res_251_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_msg_244_, v___y_245_, v___y_246_, v___y_247_, v___y_248_, v___y_249_); -return v_res_251_; +lean_object* v_res_276_; +v_res_276_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5(v_msg_269_, v___y_270_, v___y_271_, v___y_272_, v___y_273_, v___y_274_); +return v_res_276_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3___redArg(lean_object* v_a_252_, lean_object* v_b_253_, lean_object* v_x_254_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6___redArg(lean_object* v_a_277_, lean_object* v_b_278_, lean_object* v_x_279_){ _start: { -if (lean_obj_tag(v_x_254_) == 0) +if (lean_obj_tag(v_x_279_) == 0) { -lean_dec(v_b_253_); -lean_dec_ref(v_a_252_); -return v_x_254_; +lean_dec(v_b_278_); +lean_dec_ref(v_a_277_); +return v_x_279_; } else { -lean_object* v_key_255_; lean_object* v_value_256_; lean_object* v_tail_257_; lean_object* v___x_259_; uint8_t v_isShared_260_; uint8_t v_isSharedCheck_269_; -v_key_255_ = lean_ctor_get(v_x_254_, 0); -v_value_256_ = lean_ctor_get(v_x_254_, 1); -v_tail_257_ = lean_ctor_get(v_x_254_, 2); -v_isSharedCheck_269_ = !lean_is_exclusive(v_x_254_); -if (v_isSharedCheck_269_ == 0) +lean_object* v_key_280_; lean_object* v_value_281_; lean_object* v_tail_282_; lean_object* v___x_284_; uint8_t v_isShared_285_; uint8_t v_isSharedCheck_294_; +v_key_280_ = lean_ctor_get(v_x_279_, 0); +v_value_281_ = lean_ctor_get(v_x_279_, 1); +v_tail_282_ = lean_ctor_get(v_x_279_, 2); +v_isSharedCheck_294_ = !lean_is_exclusive(v_x_279_); +if (v_isSharedCheck_294_ == 0) { -v___x_259_ = v_x_254_; -v_isShared_260_ = v_isSharedCheck_269_; -goto v_resetjp_258_; +v___x_284_ = v_x_279_; +v_isShared_285_ = v_isSharedCheck_294_; +goto v_resetjp_283_; } else { -lean_inc(v_tail_257_); -lean_inc(v_value_256_); -lean_inc(v_key_255_); -lean_dec(v_x_254_); -v___x_259_ = lean_box(0); -v_isShared_260_ = v_isSharedCheck_269_; -goto v_resetjp_258_; +lean_inc(v_tail_282_); +lean_inc(v_value_281_); +lean_inc(v_key_280_); +lean_dec(v_x_279_); +v___x_284_ = lean_box(0); +v_isShared_285_ = v_isSharedCheck_294_; +goto v_resetjp_283_; } -v_resetjp_258_: +v_resetjp_283_: { -uint8_t v___x_261_; -v___x_261_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_255_, v_a_252_); -if (v___x_261_ == 0) +uint8_t v___x_286_; +v___x_286_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_280_, v_a_277_); +if (v___x_286_ == 0) { -lean_object* v___x_262_; lean_object* v___x_264_; -v___x_262_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3___redArg(v_a_252_, v_b_253_, v_tail_257_); -if (v_isShared_260_ == 0) +lean_object* v___x_287_; lean_object* v___x_289_; +v___x_287_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6___redArg(v_a_277_, v_b_278_, v_tail_282_); +if (v_isShared_285_ == 0) { -lean_ctor_set(v___x_259_, 2, v___x_262_); -v___x_264_ = v___x_259_; -goto v_reusejp_263_; +lean_ctor_set(v___x_284_, 2, v___x_287_); +v___x_289_ = v___x_284_; +goto v_reusejp_288_; } else { -lean_object* v_reuseFailAlloc_265_; -v_reuseFailAlloc_265_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_265_, 0, v_key_255_); -lean_ctor_set(v_reuseFailAlloc_265_, 1, v_value_256_); -lean_ctor_set(v_reuseFailAlloc_265_, 2, v___x_262_); -v___x_264_ = v_reuseFailAlloc_265_; -goto v_reusejp_263_; +lean_object* v_reuseFailAlloc_290_; +v_reuseFailAlloc_290_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_290_, 0, v_key_280_); +lean_ctor_set(v_reuseFailAlloc_290_, 1, v_value_281_); +lean_ctor_set(v_reuseFailAlloc_290_, 2, v___x_287_); +v___x_289_ = v_reuseFailAlloc_290_; +goto v_reusejp_288_; } -v_reusejp_263_: +v_reusejp_288_: { -return v___x_264_; +return v___x_289_; } } else { -lean_object* v___x_267_; -lean_dec(v_value_256_); -lean_dec(v_key_255_); -if (v_isShared_260_ == 0) +lean_object* v___x_292_; +lean_dec(v_value_281_); +lean_dec(v_key_280_); +if (v_isShared_285_ == 0) { -lean_ctor_set(v___x_259_, 1, v_b_253_); -lean_ctor_set(v___x_259_, 0, v_a_252_); -v___x_267_ = v___x_259_; -goto v_reusejp_266_; +lean_ctor_set(v___x_284_, 1, v_b_278_); +lean_ctor_set(v___x_284_, 0, v_a_277_); +v___x_292_ = v___x_284_; +goto v_reusejp_291_; } else { -lean_object* v_reuseFailAlloc_268_; -v_reuseFailAlloc_268_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_268_, 0, v_a_252_); -lean_ctor_set(v_reuseFailAlloc_268_, 1, v_b_253_); -lean_ctor_set(v_reuseFailAlloc_268_, 2, v_tail_257_); -v___x_267_ = v_reuseFailAlloc_268_; -goto v_reusejp_266_; +lean_object* v_reuseFailAlloc_293_; +v_reuseFailAlloc_293_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_293_, 0, v_a_277_); +lean_ctor_set(v_reuseFailAlloc_293_, 1, v_b_278_); +lean_ctor_set(v_reuseFailAlloc_293_, 2, v_tail_282_); +v___x_292_ = v_reuseFailAlloc_293_; +goto v_reusejp_291_; } -v_reusejp_266_: +v_reusejp_291_: { -return v___x_267_; +return v___x_292_; } } } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6___redArg(lean_object* v_x_270_, lean_object* v_x_271_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(lean_object* v_a_295_, lean_object* v_x_296_){ _start: { -if (lean_obj_tag(v_x_271_) == 0) +if (lean_obj_tag(v_x_296_) == 0) { -return v_x_270_; +uint8_t v___x_297_; +v___x_297_ = 0; +return v___x_297_; } else { -lean_object* v_key_272_; lean_object* v_value_273_; lean_object* v_tail_274_; lean_object* v___x_276_; uint8_t v_isShared_277_; uint8_t v_isSharedCheck_297_; -v_key_272_ = lean_ctor_get(v_x_271_, 0); -v_value_273_ = lean_ctor_get(v_x_271_, 1); -v_tail_274_ = lean_ctor_get(v_x_271_, 2); -v_isSharedCheck_297_ = !lean_is_exclusive(v_x_271_); -if (v_isSharedCheck_297_ == 0) +lean_object* v_key_298_; lean_object* v_tail_299_; uint8_t v___x_300_; +v_key_298_ = lean_ctor_get(v_x_296_, 0); +v_tail_299_ = lean_ctor_get(v_x_296_, 2); +v___x_300_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_298_, v_a_295_); +if (v___x_300_ == 0) { -v___x_276_ = v_x_271_; -v_isShared_277_ = v_isSharedCheck_297_; -goto v_resetjp_275_; +v_x_296_ = v_tail_299_; +goto _start; } else { -lean_inc(v_tail_274_); -lean_inc(v_value_273_); -lean_inc(v_key_272_); -lean_dec(v_x_271_); -v___x_276_ = lean_box(0); -v_isShared_277_ = v_isSharedCheck_297_; -goto v_resetjp_275_; +return v___x_300_; } -v_resetjp_275_: +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg___boxed(lean_object* v_a_302_, lean_object* v_x_303_){ +_start: { -lean_object* v___x_278_; uint64_t v___x_279_; uint64_t v___x_280_; uint64_t v___x_281_; uint64_t v_fold_282_; uint64_t v___x_283_; uint64_t v___x_284_; uint64_t v___x_285_; size_t v___x_286_; size_t v___x_287_; size_t v___x_288_; size_t v___x_289_; size_t v___x_290_; lean_object* v___x_291_; lean_object* v___x_293_; -v___x_278_ = lean_array_get_size(v_x_270_); -v___x_279_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_key_272_); -v___x_280_ = 32ULL; -v___x_281_ = lean_uint64_shift_right(v___x_279_, v___x_280_); -v_fold_282_ = lean_uint64_xor(v___x_279_, v___x_281_); -v___x_283_ = 16ULL; -v___x_284_ = lean_uint64_shift_right(v_fold_282_, v___x_283_); -v___x_285_ = lean_uint64_xor(v_fold_282_, v___x_284_); -v___x_286_ = lean_uint64_to_usize(v___x_285_); -v___x_287_ = lean_usize_of_nat(v___x_278_); -v___x_288_ = ((size_t)1ULL); -v___x_289_ = lean_usize_sub(v___x_287_, v___x_288_); -v___x_290_ = lean_usize_land(v___x_286_, v___x_289_); -v___x_291_ = lean_array_uget_borrowed(v_x_270_, v___x_290_); -lean_inc(v___x_291_); -if (v_isShared_277_ == 0) +uint8_t v_res_304_; lean_object* v_r_305_; +v_res_304_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(v_a_302_, v_x_303_); +lean_dec(v_x_303_); +lean_dec_ref(v_a_302_); +v_r_305_ = lean_box(v_res_304_); +return v_r_305_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12___redArg(lean_object* v_x_306_, lean_object* v_x_307_){ +_start: { -lean_ctor_set(v___x_276_, 2, v___x_291_); -v___x_293_ = v___x_276_; -goto v_reusejp_292_; +if (lean_obj_tag(v_x_307_) == 0) +{ +return v_x_306_; } else { -lean_object* v_reuseFailAlloc_296_; -v_reuseFailAlloc_296_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_296_, 0, v_key_272_); -lean_ctor_set(v_reuseFailAlloc_296_, 1, v_value_273_); -lean_ctor_set(v_reuseFailAlloc_296_, 2, v___x_291_); -v___x_293_ = v_reuseFailAlloc_296_; -goto v_reusejp_292_; -} -v_reusejp_292_: +lean_object* v_key_308_; lean_object* v_value_309_; lean_object* v_tail_310_; lean_object* v___x_312_; uint8_t v_isShared_313_; uint8_t v_isSharedCheck_333_; +v_key_308_ = lean_ctor_get(v_x_307_, 0); +v_value_309_ = lean_ctor_get(v_x_307_, 1); +v_tail_310_ = lean_ctor_get(v_x_307_, 2); +v_isSharedCheck_333_ = !lean_is_exclusive(v_x_307_); +if (v_isSharedCheck_333_ == 0) { -lean_object* v___x_294_; -v___x_294_ = lean_array_uset(v_x_270_, v___x_290_, v___x_293_); -v_x_270_ = v___x_294_; -v_x_271_ = v_tail_274_; +v___x_312_ = v_x_307_; +v_isShared_313_ = v_isSharedCheck_333_; +goto v_resetjp_311_; +} +else +{ +lean_inc(v_tail_310_); +lean_inc(v_value_309_); +lean_inc(v_key_308_); +lean_dec(v_x_307_); +v___x_312_ = lean_box(0); +v_isShared_313_ = v_isSharedCheck_333_; +goto v_resetjp_311_; +} +v_resetjp_311_: +{ +lean_object* v___x_314_; uint64_t v___x_315_; uint64_t v___x_316_; uint64_t v___x_317_; uint64_t v_fold_318_; uint64_t v___x_319_; uint64_t v___x_320_; uint64_t v___x_321_; size_t v___x_322_; size_t v___x_323_; size_t v___x_324_; size_t v___x_325_; size_t v___x_326_; lean_object* v___x_327_; lean_object* v___x_329_; +v___x_314_ = lean_array_get_size(v_x_306_); +v___x_315_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_key_308_); +v___x_316_ = 32ULL; +v___x_317_ = lean_uint64_shift_right(v___x_315_, v___x_316_); +v_fold_318_ = lean_uint64_xor(v___x_315_, v___x_317_); +v___x_319_ = 16ULL; +v___x_320_ = lean_uint64_shift_right(v_fold_318_, v___x_319_); +v___x_321_ = lean_uint64_xor(v_fold_318_, v___x_320_); +v___x_322_ = lean_uint64_to_usize(v___x_321_); +v___x_323_ = lean_usize_of_nat(v___x_314_); +v___x_324_ = ((size_t)1ULL); +v___x_325_ = lean_usize_sub(v___x_323_, v___x_324_); +v___x_326_ = lean_usize_land(v___x_322_, v___x_325_); +v___x_327_ = lean_array_uget_borrowed(v_x_306_, v___x_326_); +lean_inc(v___x_327_); +if (v_isShared_313_ == 0) +{ +lean_ctor_set(v___x_312_, 2, v___x_327_); +v___x_329_ = v___x_312_; +goto v_reusejp_328_; +} +else +{ +lean_object* v_reuseFailAlloc_332_; +v_reuseFailAlloc_332_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_332_, 0, v_key_308_); +lean_ctor_set(v_reuseFailAlloc_332_, 1, v_value_309_); +lean_ctor_set(v_reuseFailAlloc_332_, 2, v___x_327_); +v___x_329_ = v_reuseFailAlloc_332_; +goto v_reusejp_328_; +} +v_reusejp_328_: +{ +lean_object* v___x_330_; +v___x_330_ = lean_array_uset(v_x_306_, v___x_326_, v___x_329_); +v_x_306_ = v___x_330_; +v_x_307_ = v_tail_310_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4___redArg(lean_object* v_i_298_, lean_object* v_source_299_, lean_object* v_target_300_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8___redArg(lean_object* v_i_334_, lean_object* v_source_335_, lean_object* v_target_336_){ _start: { -lean_object* v___x_301_; uint8_t v___x_302_; -v___x_301_ = lean_array_get_size(v_source_299_); -v___x_302_ = lean_nat_dec_lt(v_i_298_, v___x_301_); -if (v___x_302_ == 0) +lean_object* v___x_337_; uint8_t v___x_338_; +v___x_337_ = lean_array_get_size(v_source_335_); +v___x_338_ = lean_nat_dec_lt(v_i_334_, v___x_337_); +if (v___x_338_ == 0) { -lean_dec_ref(v_source_299_); -lean_dec(v_i_298_); -return v_target_300_; +lean_dec_ref(v_source_335_); +lean_dec(v_i_334_); +return v_target_336_; } else { -lean_object* v_es_303_; lean_object* v___x_304_; lean_object* v_source_305_; lean_object* v_target_306_; lean_object* v___x_307_; lean_object* v___x_308_; -v_es_303_ = lean_array_fget(v_source_299_, v_i_298_); -v___x_304_ = lean_box(0); -v_source_305_ = lean_array_fset(v_source_299_, v_i_298_, v___x_304_); -v_target_306_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6___redArg(v_target_300_, v_es_303_); -v___x_307_ = lean_unsigned_to_nat(1u); -v___x_308_ = lean_nat_add(v_i_298_, v___x_307_); -lean_dec(v_i_298_); -v_i_298_ = v___x_308_; -v_source_299_ = v_source_305_; -v_target_300_ = v_target_306_; +lean_object* v_es_339_; lean_object* v___x_340_; lean_object* v_source_341_; lean_object* v_target_342_; lean_object* v___x_343_; lean_object* v___x_344_; +v_es_339_ = lean_array_fget(v_source_335_, v_i_334_); +v___x_340_ = lean_box(0); +v_source_341_ = lean_array_fset(v_source_335_, v_i_334_, v___x_340_); +v_target_342_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12___redArg(v_target_336_, v_es_339_); +v___x_343_ = lean_unsigned_to_nat(1u); +v___x_344_ = lean_nat_add(v_i_334_, v___x_343_); +lean_dec(v_i_334_); +v_i_334_ = v___x_344_; +v_source_335_ = v_source_341_; +v_target_336_ = v_target_342_; goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2___redArg(lean_object* v_data_310_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5___redArg(lean_object* v_data_346_){ _start: { -lean_object* v___x_311_; lean_object* v___x_312_; lean_object* v_nbuckets_313_; lean_object* v___x_314_; lean_object* v___x_315_; lean_object* v___x_316_; lean_object* v___x_317_; -v___x_311_ = lean_array_get_size(v_data_310_); -v___x_312_ = lean_unsigned_to_nat(2u); -v_nbuckets_313_ = lean_nat_mul(v___x_311_, v___x_312_); -v___x_314_ = lean_unsigned_to_nat(0u); -v___x_315_ = lean_box(0); -v___x_316_ = lean_mk_array(v_nbuckets_313_, v___x_315_); -v___x_317_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4___redArg(v___x_314_, v_data_310_, v___x_316_); -return v___x_317_; +lean_object* v___x_347_; lean_object* v___x_348_; lean_object* v_nbuckets_349_; lean_object* v___x_350_; lean_object* v___x_351_; lean_object* v___x_352_; lean_object* v___x_353_; +v___x_347_ = lean_array_get_size(v_data_346_); +v___x_348_ = lean_unsigned_to_nat(2u); +v_nbuckets_349_ = lean_nat_mul(v___x_347_, v___x_348_); +v___x_350_ = lean_unsigned_to_nat(0u); +v___x_351_ = lean_box(0); +v___x_352_ = lean_mk_array(v_nbuckets_349_, v___x_351_); +v___x_353_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8___redArg(v___x_350_, v_data_346_, v___x_352_); +return v___x_353_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(lean_object* v_a_318_, lean_object* v_x_319_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(lean_object* v_m_354_, lean_object* v_a_355_, lean_object* v_b_356_){ _start: { -if (lean_obj_tag(v_x_319_) == 0) +lean_object* v_size_357_; lean_object* v_buckets_358_; lean_object* v___x_360_; uint8_t v_isShared_361_; uint8_t v_isSharedCheck_401_; +v_size_357_ = lean_ctor_get(v_m_354_, 0); +v_buckets_358_ = lean_ctor_get(v_m_354_, 1); +v_isSharedCheck_401_ = !lean_is_exclusive(v_m_354_); +if (v_isSharedCheck_401_ == 0) { -uint8_t v___x_320_; -v___x_320_ = 0; -return v___x_320_; +v___x_360_ = v_m_354_; +v_isShared_361_ = v_isSharedCheck_401_; +goto v_resetjp_359_; } else { -lean_object* v_key_321_; lean_object* v_tail_322_; uint8_t v___x_323_; -v_key_321_ = lean_ctor_get(v_x_319_, 0); -v_tail_322_ = lean_ctor_get(v_x_319_, 2); -v___x_323_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_321_, v_a_318_); -if (v___x_323_ == 0) +lean_inc(v_buckets_358_); +lean_inc(v_size_357_); +lean_dec(v_m_354_); +v___x_360_ = lean_box(0); +v_isShared_361_ = v_isSharedCheck_401_; +goto v_resetjp_359_; +} +v_resetjp_359_: { -v_x_319_ = v_tail_322_; +lean_object* v___x_362_; uint64_t v___x_363_; uint64_t v___x_364_; uint64_t v___x_365_; uint64_t v_fold_366_; uint64_t v___x_367_; uint64_t v___x_368_; uint64_t v___x_369_; size_t v___x_370_; size_t v___x_371_; size_t v___x_372_; size_t v___x_373_; size_t v___x_374_; lean_object* v_bkt_375_; uint8_t v___x_376_; +v___x_362_ = lean_array_get_size(v_buckets_358_); +v___x_363_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_355_); +v___x_364_ = 32ULL; +v___x_365_ = lean_uint64_shift_right(v___x_363_, v___x_364_); +v_fold_366_ = lean_uint64_xor(v___x_363_, v___x_365_); +v___x_367_ = 16ULL; +v___x_368_ = lean_uint64_shift_right(v_fold_366_, v___x_367_); +v___x_369_ = lean_uint64_xor(v_fold_366_, v___x_368_); +v___x_370_ = lean_uint64_to_usize(v___x_369_); +v___x_371_ = lean_usize_of_nat(v___x_362_); +v___x_372_ = ((size_t)1ULL); +v___x_373_ = lean_usize_sub(v___x_371_, v___x_372_); +v___x_374_ = lean_usize_land(v___x_370_, v___x_373_); +v_bkt_375_ = lean_array_uget_borrowed(v_buckets_358_, v___x_374_); +v___x_376_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(v_a_355_, v_bkt_375_); +if (v___x_376_ == 0) +{ +lean_object* v___x_377_; lean_object* v_size_x27_378_; lean_object* v___x_379_; lean_object* v_buckets_x27_380_; lean_object* v___x_381_; lean_object* v___x_382_; lean_object* v___x_383_; lean_object* v___x_384_; lean_object* v___x_385_; uint8_t v___x_386_; +v___x_377_ = lean_unsigned_to_nat(1u); +v_size_x27_378_ = lean_nat_add(v_size_357_, v___x_377_); +lean_dec(v_size_357_); +lean_inc(v_bkt_375_); +v___x_379_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_379_, 0, v_a_355_); +lean_ctor_set(v___x_379_, 1, v_b_356_); +lean_ctor_set(v___x_379_, 2, v_bkt_375_); +v_buckets_x27_380_ = lean_array_uset(v_buckets_358_, v___x_374_, v___x_379_); +v___x_381_ = lean_unsigned_to_nat(4u); +v___x_382_ = lean_nat_mul(v_size_x27_378_, v___x_381_); +v___x_383_ = lean_unsigned_to_nat(3u); +v___x_384_ = lean_nat_div(v___x_382_, v___x_383_); +lean_dec(v___x_382_); +v___x_385_ = lean_array_get_size(v_buckets_x27_380_); +v___x_386_ = lean_nat_dec_le(v___x_384_, v___x_385_); +lean_dec(v___x_384_); +if (v___x_386_ == 0) +{ +lean_object* v_val_387_; lean_object* v___x_389_; +v_val_387_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5___redArg(v_buckets_x27_380_); +if (v_isShared_361_ == 0) +{ +lean_ctor_set(v___x_360_, 1, v_val_387_); +lean_ctor_set(v___x_360_, 0, v_size_x27_378_); +v___x_389_ = v___x_360_; +goto v_reusejp_388_; +} +else +{ +lean_object* v_reuseFailAlloc_390_; +v_reuseFailAlloc_390_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_390_, 0, v_size_x27_378_); +lean_ctor_set(v_reuseFailAlloc_390_, 1, v_val_387_); +v___x_389_ = v_reuseFailAlloc_390_; +goto v_reusejp_388_; +} +v_reusejp_388_: +{ +return v___x_389_; +} +} +else +{ +lean_object* v___x_392_; +if (v_isShared_361_ == 0) +{ +lean_ctor_set(v___x_360_, 1, v_buckets_x27_380_); +lean_ctor_set(v___x_360_, 0, v_size_x27_378_); +v___x_392_ = v___x_360_; +goto v_reusejp_391_; +} +else +{ +lean_object* v_reuseFailAlloc_393_; +v_reuseFailAlloc_393_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_393_, 0, v_size_x27_378_); +lean_ctor_set(v_reuseFailAlloc_393_, 1, v_buckets_x27_380_); +v___x_392_ = v_reuseFailAlloc_393_; +goto v_reusejp_391_; +} +v_reusejp_391_: +{ +return v___x_392_; +} +} +} +else +{ +lean_object* v___x_394_; lean_object* v_buckets_x27_395_; lean_object* v___x_396_; lean_object* v___x_397_; lean_object* v___x_399_; +lean_inc(v_bkt_375_); +v___x_394_ = lean_box(0); +v_buckets_x27_395_ = lean_array_uset(v_buckets_358_, v___x_374_, v___x_394_); +v___x_396_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6___redArg(v_a_355_, v_b_356_, v_bkt_375_); +v___x_397_ = lean_array_uset(v_buckets_x27_395_, v___x_374_, v___x_396_); +if (v_isShared_361_ == 0) +{ +lean_ctor_set(v___x_360_, 1, v___x_397_); +v___x_399_ = v___x_360_; +goto v_reusejp_398_; +} +else +{ +lean_object* v_reuseFailAlloc_400_; +v_reuseFailAlloc_400_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_400_, 0, v_size_357_); +lean_ctor_set(v_reuseFailAlloc_400_, 1, v___x_397_); +v___x_399_ = v_reuseFailAlloc_400_; +goto v_reusejp_398_; +} +v_reusejp_398_: +{ +return v___x_399_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8___redArg(lean_object* v_x_402_, lean_object* v_x_403_){ +_start: +{ +if (lean_obj_tag(v_x_403_) == 0) +{ +return v_x_402_; +} +else +{ +lean_object* v_key_404_; lean_object* v_value_405_; lean_object* v_tail_406_; lean_object* v___x_408_; uint8_t v_isShared_409_; uint8_t v_isSharedCheck_429_; +v_key_404_ = lean_ctor_get(v_x_403_, 0); +v_value_405_ = lean_ctor_get(v_x_403_, 1); +v_tail_406_ = lean_ctor_get(v_x_403_, 2); +v_isSharedCheck_429_ = !lean_is_exclusive(v_x_403_); +if (v_isSharedCheck_429_ == 0) +{ +v___x_408_ = v_x_403_; +v_isShared_409_ = v_isSharedCheck_429_; +goto v_resetjp_407_; +} +else +{ +lean_inc(v_tail_406_); +lean_inc(v_value_405_); +lean_inc(v_key_404_); +lean_dec(v_x_403_); +v___x_408_ = lean_box(0); +v_isShared_409_ = v_isSharedCheck_429_; +goto v_resetjp_407_; +} +v_resetjp_407_: +{ +lean_object* v___x_410_; uint64_t v___x_411_; uint64_t v___x_412_; uint64_t v___x_413_; uint64_t v_fold_414_; uint64_t v___x_415_; uint64_t v___x_416_; uint64_t v___x_417_; size_t v___x_418_; size_t v___x_419_; size_t v___x_420_; size_t v___x_421_; size_t v___x_422_; lean_object* v___x_423_; lean_object* v___x_425_; +v___x_410_ = lean_array_get_size(v_x_402_); +v___x_411_ = l_Lean_instHashableFVarId_hash(v_key_404_); +v___x_412_ = 32ULL; +v___x_413_ = lean_uint64_shift_right(v___x_411_, v___x_412_); +v_fold_414_ = lean_uint64_xor(v___x_411_, v___x_413_); +v___x_415_ = 16ULL; +v___x_416_ = lean_uint64_shift_right(v_fold_414_, v___x_415_); +v___x_417_ = lean_uint64_xor(v_fold_414_, v___x_416_); +v___x_418_ = lean_uint64_to_usize(v___x_417_); +v___x_419_ = lean_usize_of_nat(v___x_410_); +v___x_420_ = ((size_t)1ULL); +v___x_421_ = lean_usize_sub(v___x_419_, v___x_420_); +v___x_422_ = lean_usize_land(v___x_418_, v___x_421_); +v___x_423_ = lean_array_uget_borrowed(v_x_402_, v___x_422_); +lean_inc(v___x_423_); +if (v_isShared_409_ == 0) +{ +lean_ctor_set(v___x_408_, 2, v___x_423_); +v___x_425_ = v___x_408_; +goto v_reusejp_424_; +} +else +{ +lean_object* v_reuseFailAlloc_428_; +v_reuseFailAlloc_428_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_428_, 0, v_key_404_); +lean_ctor_set(v_reuseFailAlloc_428_, 1, v_value_405_); +lean_ctor_set(v_reuseFailAlloc_428_, 2, v___x_423_); +v___x_425_ = v_reuseFailAlloc_428_; +goto v_reusejp_424_; +} +v_reusejp_424_: +{ +lean_object* v___x_426_; +v___x_426_ = lean_array_uset(v_x_402_, v___x_422_, v___x_425_); +v_x_402_ = v___x_426_; +v_x_403_ = v_tail_406_; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4___redArg(lean_object* v_i_430_, lean_object* v_source_431_, lean_object* v_target_432_){ +_start: +{ +lean_object* v___x_433_; uint8_t v___x_434_; +v___x_433_ = lean_array_get_size(v_source_431_); +v___x_434_ = lean_nat_dec_lt(v_i_430_, v___x_433_); +if (v___x_434_ == 0) +{ +lean_dec_ref(v_source_431_); +lean_dec(v_i_430_); +return v_target_432_; +} +else +{ +lean_object* v_es_435_; lean_object* v___x_436_; lean_object* v_source_437_; lean_object* v_target_438_; lean_object* v___x_439_; lean_object* v___x_440_; +v_es_435_ = lean_array_fget(v_source_431_, v_i_430_); +v___x_436_ = lean_box(0); +v_source_437_ = lean_array_fset(v_source_431_, v_i_430_, v___x_436_); +v_target_438_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8___redArg(v_target_432_, v_es_435_); +v___x_439_ = lean_unsigned_to_nat(1u); +v___x_440_ = lean_nat_add(v_i_430_, v___x_439_); +lean_dec(v_i_430_); +v_i_430_ = v___x_440_; +v_source_431_ = v_source_437_; +v_target_432_ = v_target_438_; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1___redArg(lean_object* v_data_442_){ +_start: +{ +lean_object* v___x_443_; lean_object* v___x_444_; lean_object* v_nbuckets_445_; lean_object* v___x_446_; lean_object* v___x_447_; lean_object* v___x_448_; lean_object* v___x_449_; +v___x_443_ = lean_array_get_size(v_data_442_); +v___x_444_ = lean_unsigned_to_nat(2u); +v_nbuckets_445_ = lean_nat_mul(v___x_443_, v___x_444_); +v___x_446_ = lean_unsigned_to_nat(0u); +v___x_447_ = lean_box(0); +v___x_448_ = lean_mk_array(v_nbuckets_445_, v___x_447_); +v___x_449_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4___redArg(v___x_446_, v_data_442_, v___x_448_); +return v___x_449_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(lean_object* v_a_450_, lean_object* v_x_451_){ +_start: +{ +if (lean_obj_tag(v_x_451_) == 0) +{ +uint8_t v___x_452_; +v___x_452_ = 0; +return v___x_452_; +} +else +{ +lean_object* v_key_453_; lean_object* v_tail_454_; uint8_t v___x_455_; +v_key_453_ = lean_ctor_get(v_x_451_, 0); +v_tail_454_ = lean_ctor_get(v_x_451_, 2); +v___x_455_ = l_Lean_instBEqFVarId_beq(v_key_453_, v_a_450_); +if (v___x_455_ == 0) +{ +v_x_451_ = v_tail_454_; goto _start; } else { -return v___x_323_; +return v___x_455_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg___boxed(lean_object* v_a_325_, lean_object* v_x_326_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg___boxed(lean_object* v_a_457_, lean_object* v_x_458_){ _start: { -uint8_t v_res_327_; lean_object* v_r_328_; -v_res_327_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(v_a_325_, v_x_326_); -lean_dec(v_x_326_); -lean_dec_ref(v_a_325_); -v_r_328_ = lean_box(v_res_327_); -return v_r_328_; +uint8_t v_res_459_; lean_object* v_r_460_; +v_res_459_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(v_a_457_, v_x_458_); +lean_dec(v_x_458_); +lean_dec(v_a_457_); +v_r_460_ = lean_box(v_res_459_); +return v_r_460_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(lean_object* v_m_329_, lean_object* v_a_330_, lean_object* v_b_331_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(lean_object* v_m_461_, lean_object* v_a_462_, lean_object* v_b_463_){ _start: { -lean_object* v_size_332_; lean_object* v_buckets_333_; lean_object* v___x_335_; uint8_t v_isShared_336_; uint8_t v_isSharedCheck_376_; -v_size_332_ = lean_ctor_get(v_m_329_, 0); -v_buckets_333_ = lean_ctor_get(v_m_329_, 1); -v_isSharedCheck_376_ = !lean_is_exclusive(v_m_329_); -if (v_isSharedCheck_376_ == 0) +lean_object* v_size_464_; lean_object* v_buckets_465_; lean_object* v___x_466_; uint64_t v___x_467_; uint64_t v___x_468_; uint64_t v___x_469_; uint64_t v_fold_470_; uint64_t v___x_471_; uint64_t v___x_472_; uint64_t v___x_473_; size_t v___x_474_; size_t v___x_475_; size_t v___x_476_; size_t v___x_477_; size_t v___x_478_; lean_object* v_bkt_479_; uint8_t v___x_480_; +v_size_464_ = lean_ctor_get(v_m_461_, 0); +v_buckets_465_ = lean_ctor_get(v_m_461_, 1); +v___x_466_ = lean_array_get_size(v_buckets_465_); +v___x_467_ = l_Lean_instHashableFVarId_hash(v_a_462_); +v___x_468_ = 32ULL; +v___x_469_ = lean_uint64_shift_right(v___x_467_, v___x_468_); +v_fold_470_ = lean_uint64_xor(v___x_467_, v___x_469_); +v___x_471_ = 16ULL; +v___x_472_ = lean_uint64_shift_right(v_fold_470_, v___x_471_); +v___x_473_ = lean_uint64_xor(v_fold_470_, v___x_472_); +v___x_474_ = lean_uint64_to_usize(v___x_473_); +v___x_475_ = lean_usize_of_nat(v___x_466_); +v___x_476_ = ((size_t)1ULL); +v___x_477_ = lean_usize_sub(v___x_475_, v___x_476_); +v___x_478_ = lean_usize_land(v___x_474_, v___x_477_); +v_bkt_479_ = lean_array_uget_borrowed(v_buckets_465_, v___x_478_); +v___x_480_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(v_a_462_, v_bkt_479_); +if (v___x_480_ == 0) { -v___x_335_ = v_m_329_; -v_isShared_336_ = v_isSharedCheck_376_; -goto v_resetjp_334_; +lean_object* v___x_482_; uint8_t v_isShared_483_; uint8_t v_isSharedCheck_501_; +lean_inc_ref(v_buckets_465_); +lean_inc(v_size_464_); +v_isSharedCheck_501_ = !lean_is_exclusive(v_m_461_); +if (v_isSharedCheck_501_ == 0) +{ +lean_object* v_unused_502_; lean_object* v_unused_503_; +v_unused_502_ = lean_ctor_get(v_m_461_, 1); +lean_dec(v_unused_502_); +v_unused_503_ = lean_ctor_get(v_m_461_, 0); +lean_dec(v_unused_503_); +v___x_482_ = v_m_461_; +v_isShared_483_ = v_isSharedCheck_501_; +goto v_resetjp_481_; } else { -lean_inc(v_buckets_333_); -lean_inc(v_size_332_); -lean_dec(v_m_329_); -v___x_335_ = lean_box(0); -v_isShared_336_ = v_isSharedCheck_376_; -goto v_resetjp_334_; +lean_dec(v_m_461_); +v___x_482_ = lean_box(0); +v_isShared_483_ = v_isSharedCheck_501_; +goto v_resetjp_481_; } -v_resetjp_334_: +v_resetjp_481_: { -lean_object* v___x_337_; uint64_t v___x_338_; uint64_t v___x_339_; uint64_t v___x_340_; uint64_t v_fold_341_; uint64_t v___x_342_; uint64_t v___x_343_; uint64_t v___x_344_; size_t v___x_345_; size_t v___x_346_; size_t v___x_347_; size_t v___x_348_; size_t v___x_349_; lean_object* v_bkt_350_; uint8_t v___x_351_; -v___x_337_ = lean_array_get_size(v_buckets_333_); -v___x_338_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_330_); -v___x_339_ = 32ULL; -v___x_340_ = lean_uint64_shift_right(v___x_338_, v___x_339_); -v_fold_341_ = lean_uint64_xor(v___x_338_, v___x_340_); -v___x_342_ = 16ULL; -v___x_343_ = lean_uint64_shift_right(v_fold_341_, v___x_342_); -v___x_344_ = lean_uint64_xor(v_fold_341_, v___x_343_); -v___x_345_ = lean_uint64_to_usize(v___x_344_); -v___x_346_ = lean_usize_of_nat(v___x_337_); -v___x_347_ = ((size_t)1ULL); -v___x_348_ = lean_usize_sub(v___x_346_, v___x_347_); -v___x_349_ = lean_usize_land(v___x_345_, v___x_348_); -v_bkt_350_ = lean_array_uget_borrowed(v_buckets_333_, v___x_349_); -v___x_351_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(v_a_330_, v_bkt_350_); -if (v___x_351_ == 0) +lean_object* v___x_484_; lean_object* v_size_x27_485_; lean_object* v___x_486_; lean_object* v_buckets_x27_487_; lean_object* v___x_488_; lean_object* v___x_489_; lean_object* v___x_490_; lean_object* v___x_491_; lean_object* v___x_492_; uint8_t v___x_493_; +v___x_484_ = lean_unsigned_to_nat(1u); +v_size_x27_485_ = lean_nat_add(v_size_464_, v___x_484_); +lean_dec(v_size_464_); +lean_inc(v_bkt_479_); +v___x_486_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_486_, 0, v_a_462_); +lean_ctor_set(v___x_486_, 1, v_b_463_); +lean_ctor_set(v___x_486_, 2, v_bkt_479_); +v_buckets_x27_487_ = lean_array_uset(v_buckets_465_, v___x_478_, v___x_486_); +v___x_488_ = lean_unsigned_to_nat(4u); +v___x_489_ = lean_nat_mul(v_size_x27_485_, v___x_488_); +v___x_490_ = lean_unsigned_to_nat(3u); +v___x_491_ = lean_nat_div(v___x_489_, v___x_490_); +lean_dec(v___x_489_); +v___x_492_ = lean_array_get_size(v_buckets_x27_487_); +v___x_493_ = lean_nat_dec_le(v___x_491_, v___x_492_); +lean_dec(v___x_491_); +if (v___x_493_ == 0) { -lean_object* v___x_352_; lean_object* v_size_x27_353_; lean_object* v___x_354_; lean_object* v_buckets_x27_355_; lean_object* v___x_356_; lean_object* v___x_357_; lean_object* v___x_358_; lean_object* v___x_359_; lean_object* v___x_360_; uint8_t v___x_361_; -v___x_352_ = lean_unsigned_to_nat(1u); -v_size_x27_353_ = lean_nat_add(v_size_332_, v___x_352_); -lean_dec(v_size_332_); -lean_inc(v_bkt_350_); -v___x_354_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_354_, 0, v_a_330_); -lean_ctor_set(v___x_354_, 1, v_b_331_); -lean_ctor_set(v___x_354_, 2, v_bkt_350_); -v_buckets_x27_355_ = lean_array_uset(v_buckets_333_, v___x_349_, v___x_354_); -v___x_356_ = lean_unsigned_to_nat(4u); -v___x_357_ = lean_nat_mul(v_size_x27_353_, v___x_356_); -v___x_358_ = lean_unsigned_to_nat(3u); -v___x_359_ = lean_nat_div(v___x_357_, v___x_358_); -lean_dec(v___x_357_); -v___x_360_ = lean_array_get_size(v_buckets_x27_355_); -v___x_361_ = lean_nat_dec_le(v___x_359_, v___x_360_); -lean_dec(v___x_359_); -if (v___x_361_ == 0) +lean_object* v_val_494_; lean_object* v___x_496_; +v_val_494_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1___redArg(v_buckets_x27_487_); +if (v_isShared_483_ == 0) { -lean_object* v_val_362_; lean_object* v___x_364_; -v_val_362_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2___redArg(v_buckets_x27_355_); -if (v_isShared_336_ == 0) -{ -lean_ctor_set(v___x_335_, 1, v_val_362_); -lean_ctor_set(v___x_335_, 0, v_size_x27_353_); -v___x_364_ = v___x_335_; -goto v_reusejp_363_; +lean_ctor_set(v___x_482_, 1, v_val_494_); +lean_ctor_set(v___x_482_, 0, v_size_x27_485_); +v___x_496_ = v___x_482_; +goto v_reusejp_495_; } else { -lean_object* v_reuseFailAlloc_365_; -v_reuseFailAlloc_365_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_365_, 0, v_size_x27_353_); -lean_ctor_set(v_reuseFailAlloc_365_, 1, v_val_362_); -v___x_364_ = v_reuseFailAlloc_365_; -goto v_reusejp_363_; +lean_object* v_reuseFailAlloc_497_; +v_reuseFailAlloc_497_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_497_, 0, v_size_x27_485_); +lean_ctor_set(v_reuseFailAlloc_497_, 1, v_val_494_); +v___x_496_ = v_reuseFailAlloc_497_; +goto v_reusejp_495_; } -v_reusejp_363_: +v_reusejp_495_: { -return v___x_364_; +return v___x_496_; } } else { -lean_object* v___x_367_; -if (v_isShared_336_ == 0) +lean_object* v___x_499_; +if (v_isShared_483_ == 0) { -lean_ctor_set(v___x_335_, 1, v_buckets_x27_355_); -lean_ctor_set(v___x_335_, 0, v_size_x27_353_); -v___x_367_ = v___x_335_; -goto v_reusejp_366_; +lean_ctor_set(v___x_482_, 1, v_buckets_x27_487_); +lean_ctor_set(v___x_482_, 0, v_size_x27_485_); +v___x_499_ = v___x_482_; +goto v_reusejp_498_; } else { -lean_object* v_reuseFailAlloc_368_; -v_reuseFailAlloc_368_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_368_, 0, v_size_x27_353_); -lean_ctor_set(v_reuseFailAlloc_368_, 1, v_buckets_x27_355_); -v___x_367_ = v_reuseFailAlloc_368_; -goto v_reusejp_366_; +lean_object* v_reuseFailAlloc_500_; +v_reuseFailAlloc_500_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_500_, 0, v_size_x27_485_); +lean_ctor_set(v_reuseFailAlloc_500_, 1, v_buckets_x27_487_); +v___x_499_ = v_reuseFailAlloc_500_; +goto v_reusejp_498_; } -v_reusejp_366_: +v_reusejp_498_: { -return v___x_367_; +return v___x_499_; +} } } } else { -lean_object* v___x_369_; lean_object* v_buckets_x27_370_; lean_object* v___x_371_; lean_object* v___x_372_; lean_object* v___x_374_; -lean_inc(v_bkt_350_); -v___x_369_ = lean_box(0); -v_buckets_x27_370_ = lean_array_uset(v_buckets_333_, v___x_349_, v___x_369_); -v___x_371_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3___redArg(v_a_330_, v_b_331_, v_bkt_350_); -v___x_372_ = lean_array_uset(v_buckets_x27_370_, v___x_349_, v___x_371_); -if (v_isShared_336_ == 0) +lean_dec(v_b_463_); +lean_dec(v_a_462_); +return v_m_461_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(lean_object* v_as_504_, size_t v_i_505_, size_t v_stop_506_, lean_object* v_b_507_){ +_start: { -lean_ctor_set(v___x_335_, 1, v___x_372_); -v___x_374_ = v___x_335_; -goto v_reusejp_373_; +lean_object* v___y_509_; uint8_t v___x_513_; +v___x_513_ = lean_usize_dec_eq(v_i_505_, v_stop_506_); +if (v___x_513_ == 0) +{ +lean_object* v___x_514_; uint8_t v_borrow_515_; +v___x_514_ = lean_array_uget_borrowed(v_as_504_, v_i_505_); +v_borrow_515_ = lean_ctor_get_uint8(v___x_514_, sizeof(void*)*3); +if (v_borrow_515_ == 0) +{ +v___y_509_ = v_b_507_; +goto v___jp_508_; } else { -lean_object* v_reuseFailAlloc_375_; -v_reuseFailAlloc_375_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_375_, 0, v_size_332_); -lean_ctor_set(v_reuseFailAlloc_375_, 1, v___x_372_); -v___x_374_ = v_reuseFailAlloc_375_; -goto v_reusejp_373_; +lean_object* v_fvarId_516_; lean_object* v___x_517_; lean_object* v___x_518_; +v_fvarId_516_ = lean_ctor_get(v___x_514_, 0); +v___x_517_ = lean_box(0); +lean_inc(v_fvarId_516_); +v___x_518_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v_b_507_, v_fvarId_516_, v___x_517_); +v___y_509_ = v___x_518_; +goto v___jp_508_; } -v_reusejp_373_: +} +else { -return v___x_374_; +return v_b_507_; +} +v___jp_508_: +{ +size_t v___x_510_; size_t v___x_511_; +v___x_510_ = ((size_t)1ULL); +v___x_511_ = lean_usize_add(v_i_505_, v___x_510_); +v_i_505_ = v___x_511_; +v_b_507_ = v___y_509_; +goto _start; } } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___boxed(lean_object* v_as_519_, lean_object* v_i_520_, lean_object* v_stop_521_, lean_object* v_b_522_){ +_start: +{ +size_t v_i_boxed_523_; size_t v_stop_boxed_524_; lean_object* v_res_525_; +v_i_boxed_523_ = lean_unbox_usize(v_i_520_); +lean_dec(v_i_520_); +v_stop_boxed_524_ = lean_unbox_usize(v_stop_521_); +lean_dec(v_stop_521_); +v_res_525_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_as_519_, v_i_boxed_523_, v_stop_boxed_524_, v_b_522_); +lean_dec_ref(v_as_519_); +return v_res_525_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3(void){ _start: { -lean_object* v___x_380_; lean_object* v___x_381_; lean_object* v___x_382_; lean_object* v___x_383_; lean_object* v___x_384_; lean_object* v___x_385_; -v___x_380_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); -v___x_381_ = lean_unsigned_to_nat(61u); -v___x_382_ = lean_unsigned_to_nat(98u); -v___x_383_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__1)); -v___x_384_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); -v___x_385_ = l_mkPanicMessageWithDecl(v___x_384_, v___x_383_, v___x_382_, v___x_381_, v___x_380_); -return v___x_385_; +lean_object* v___x_529_; lean_object* v___x_530_; lean_object* v___x_531_; lean_object* v___x_532_; lean_object* v___x_533_; lean_object* v___x_534_; +v___x_529_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); +v___x_530_ = lean_unsigned_to_nat(61u); +v___x_531_ = lean_unsigned_to_nat(127u); +v___x_532_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__1)); +v___x_533_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); +v___x_534_ = l_mkPanicMessageWithDecl(v___x_533_, v___x_532_, v___x_531_, v___x_530_, v___x_529_); +return v___x_534_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(lean_object* v_declName_386_, lean_object* v_code_387_, lean_object* v_a_388_, lean_object* v_a_389_, lean_object* v_a_390_, lean_object* v_a_391_, lean_object* v_a_392_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(lean_object* v_declName_535_, lean_object* v_code_536_, lean_object* v_a_537_, lean_object* v_a_538_, lean_object* v_a_539_, lean_object* v_a_540_, lean_object* v_a_541_){ _start: { -switch(lean_obj_tag(v_code_387_)) +switch(lean_obj_tag(v_code_536_)) { case 0: { -lean_object* v_k_394_; -v_k_394_ = lean_ctor_get(v_code_387_, 1); -lean_inc_ref(v_k_394_); -lean_dec_ref(v_code_387_); -v_code_387_ = v_k_394_; +lean_object* v_k_543_; +v_k_543_ = lean_ctor_get(v_code_536_, 1); +lean_inc_ref(v_k_543_); +lean_dec_ref(v_code_536_); +v_code_536_ = v_k_543_; goto _start; } case 2: { -lean_object* v_decl_396_; lean_object* v_k_397_; lean_object* v___x_399_; uint8_t v_isShared_400_; uint8_t v_isSharedCheck_413_; -v_decl_396_ = lean_ctor_get(v_code_387_, 0); -v_k_397_ = lean_ctor_get(v_code_387_, 1); -v_isSharedCheck_413_ = !lean_is_exclusive(v_code_387_); -if (v_isSharedCheck_413_ == 0) +lean_object* v_decl_545_; lean_object* v_k_546_; lean_object* v___x_548_; uint8_t v_isShared_549_; uint8_t v_isSharedCheck_592_; +v_decl_545_ = lean_ctor_get(v_code_536_, 0); +v_k_546_ = lean_ctor_get(v_code_536_, 1); +v_isSharedCheck_592_ = !lean_is_exclusive(v_code_536_); +if (v_isSharedCheck_592_ == 0) { -v___x_399_ = v_code_387_; -v_isShared_400_ = v_isSharedCheck_413_; -goto v_resetjp_398_; +v___x_548_ = v_code_536_; +v_isShared_549_ = v_isSharedCheck_592_; +goto v_resetjp_547_; } else { -lean_inc(v_k_397_); -lean_inc(v_decl_396_); -lean_dec(v_code_387_); -v___x_399_ = lean_box(0); -v_isShared_400_ = v_isSharedCheck_413_; -goto v_resetjp_398_; +lean_inc(v_k_546_); +lean_inc(v_decl_545_); +lean_dec(v_code_536_); +v___x_548_ = lean_box(0); +v_isShared_549_ = v_isSharedCheck_592_; +goto v_resetjp_547_; } -v_resetjp_398_: +v_resetjp_547_: { -lean_object* v___x_401_; lean_object* v_fvarId_402_; lean_object* v_params_403_; lean_object* v_value_404_; lean_object* v___x_406_; -v___x_401_ = lean_st_ref_take(v_a_388_); -v_fvarId_402_ = lean_ctor_get(v_decl_396_, 0); -lean_inc(v_fvarId_402_); -v_params_403_ = lean_ctor_get(v_decl_396_, 2); -lean_inc_ref(v_params_403_); -v_value_404_ = lean_ctor_get(v_decl_396_, 4); -lean_inc_ref(v_value_404_); -lean_dec_ref(v_decl_396_); -lean_inc(v_declName_386_); -if (v_isShared_400_ == 0) +lean_object* v___x_550_; lean_object* v_fvarId_551_; lean_object* v_params_552_; lean_object* v_value_553_; lean_object* v_snd_555_; lean_object* v_map_559_; lean_object* v_annoatedBorrows_560_; lean_object* v___x_562_; uint8_t v_isShared_563_; uint8_t v_isSharedCheck_591_; +v___x_550_ = lean_st_ref_take(v_a_537_); +v_fvarId_551_ = lean_ctor_get(v_decl_545_, 0); +lean_inc(v_fvarId_551_); +v_params_552_ = lean_ctor_get(v_decl_545_, 2); +lean_inc_ref(v_params_552_); +v_value_553_ = lean_ctor_get(v_decl_545_, 4); +lean_inc_ref(v_value_553_); +lean_dec_ref(v_decl_545_); +v_map_559_ = lean_ctor_get(v___x_550_, 0); +v_annoatedBorrows_560_ = lean_ctor_get(v___x_550_, 1); +v_isSharedCheck_591_ = !lean_is_exclusive(v___x_550_); +if (v_isSharedCheck_591_ == 0) { -lean_ctor_set_tag(v___x_399_, 1); -lean_ctor_set(v___x_399_, 1, v_fvarId_402_); -lean_ctor_set(v___x_399_, 0, v_declName_386_); -v___x_406_ = v___x_399_; -goto v_reusejp_405_; +v___x_562_ = v___x_550_; +v_isShared_563_ = v_isSharedCheck_591_; +goto v_resetjp_561_; } else { -lean_object* v_reuseFailAlloc_412_; -v_reuseFailAlloc_412_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_412_, 0, v_declName_386_); -lean_ctor_set(v_reuseFailAlloc_412_, 1, v_fvarId_402_); -v___x_406_ = v_reuseFailAlloc_412_; -goto v_reusejp_405_; +lean_inc(v_annoatedBorrows_560_); +lean_inc(v_map_559_); +lean_dec(v___x_550_); +v___x_562_ = lean_box(0); +v_isShared_563_ = v_isSharedCheck_591_; +goto v_resetjp_561_; } -v_reusejp_405_: +v___jp_554_: { -lean_object* v___x_407_; lean_object* v___x_408_; lean_object* v___x_409_; lean_object* v___x_410_; -v___x_407_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(v_params_403_); -v___x_408_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v___x_401_, v___x_406_, v___x_407_); -v___x_409_ = lean_st_ref_set(v_a_388_, v___x_408_); -lean_inc(v_a_392_); -lean_inc_ref(v_a_391_); -lean_inc(v_a_390_); -lean_inc_ref(v_a_389_); -lean_inc(v_a_388_); -lean_inc(v_declName_386_); -v___x_410_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_declName_386_, v_value_404_, v_a_388_, v_a_389_, v_a_390_, v_a_391_, v_a_392_); -if (lean_obj_tag(v___x_410_) == 0) +lean_object* v___x_556_; lean_object* v___x_557_; +v___x_556_ = lean_st_ref_set(v_a_537_, v_snd_555_); +lean_inc(v_a_541_); +lean_inc_ref(v_a_540_); +lean_inc(v_a_539_); +lean_inc_ref(v_a_538_); +lean_inc(v_a_537_); +lean_inc(v_declName_535_); +v___x_557_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_declName_535_, v_value_553_, v_a_537_, v_a_538_, v_a_539_, v_a_540_, v_a_541_); +if (lean_obj_tag(v___x_557_) == 0) { -lean_dec_ref(v___x_410_); -v_code_387_ = v_k_397_; +lean_dec_ref(v___x_557_); +v_code_536_ = v_k_546_; goto _start; } else { -lean_dec_ref(v_k_397_); -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -return v___x_410_; +lean_dec_ref(v_k_546_); +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +return v___x_557_; +} +} +v_resetjp_561_: +{ +lean_object* v___x_565_; +lean_inc(v_declName_535_); +if (v_isShared_549_ == 0) +{ +lean_ctor_set_tag(v___x_548_, 1); +lean_ctor_set(v___x_548_, 1, v_fvarId_551_); +lean_ctor_set(v___x_548_, 0, v_declName_535_); +v___x_565_ = v___x_548_; +goto v_reusejp_564_; +} +else +{ +lean_object* v_reuseFailAlloc_590_; +v_reuseFailAlloc_590_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_590_, 0, v_declName_535_); +lean_ctor_set(v_reuseFailAlloc_590_, 1, v_fvarId_551_); +v___x_565_ = v_reuseFailAlloc_590_; +goto v_reusejp_564_; +} +v_reusejp_564_: +{ +lean_object* v___x_566_; lean_object* v___x_567_; lean_object* v___x_568_; lean_object* v___x_569_; uint8_t v___x_570_; +lean_inc_ref(v_params_552_); +v___x_566_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(v_params_552_); +v___x_567_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(v_map_559_, v___x_565_, v___x_566_); +v___x_568_ = lean_unsigned_to_nat(0u); +v___x_569_ = lean_array_get_size(v_params_552_); +v___x_570_ = lean_nat_dec_lt(v___x_568_, v___x_569_); +if (v___x_570_ == 0) +{ +lean_object* v___x_572_; +lean_dec_ref(v_params_552_); +if (v_isShared_563_ == 0) +{ +lean_ctor_set(v___x_562_, 0, v___x_567_); +v___x_572_ = v___x_562_; +goto v_reusejp_571_; +} +else +{ +lean_object* v_reuseFailAlloc_573_; +v_reuseFailAlloc_573_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_573_, 0, v___x_567_); +lean_ctor_set(v_reuseFailAlloc_573_, 1, v_annoatedBorrows_560_); +v___x_572_ = v_reuseFailAlloc_573_; +goto v_reusejp_571_; +} +v_reusejp_571_: +{ +v_snd_555_ = v___x_572_; +goto v___jp_554_; +} +} +else +{ +uint8_t v___x_574_; +v___x_574_ = lean_nat_dec_le(v___x_569_, v___x_569_); +if (v___x_574_ == 0) +{ +if (v___x_570_ == 0) +{ +lean_object* v___x_576_; +lean_dec_ref(v_params_552_); +if (v_isShared_563_ == 0) +{ +lean_ctor_set(v___x_562_, 0, v___x_567_); +v___x_576_ = v___x_562_; +goto v_reusejp_575_; +} +else +{ +lean_object* v_reuseFailAlloc_577_; +v_reuseFailAlloc_577_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_577_, 0, v___x_567_); +lean_ctor_set(v_reuseFailAlloc_577_, 1, v_annoatedBorrows_560_); +v___x_576_ = v_reuseFailAlloc_577_; +goto v_reusejp_575_; +} +v_reusejp_575_: +{ +v_snd_555_ = v___x_576_; +goto v___jp_554_; +} +} +else +{ +size_t v___x_578_; size_t v___x_579_; lean_object* v___x_580_; lean_object* v___x_582_; +v___x_578_ = ((size_t)0ULL); +v___x_579_ = lean_usize_of_nat(v___x_569_); +v___x_580_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_params_552_, v___x_578_, v___x_579_, v_annoatedBorrows_560_); +lean_dec_ref(v_params_552_); +if (v_isShared_563_ == 0) +{ +lean_ctor_set(v___x_562_, 1, v___x_580_); +lean_ctor_set(v___x_562_, 0, v___x_567_); +v___x_582_ = v___x_562_; +goto v_reusejp_581_; +} +else +{ +lean_object* v_reuseFailAlloc_583_; +v_reuseFailAlloc_583_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_583_, 0, v___x_567_); +lean_ctor_set(v_reuseFailAlloc_583_, 1, v___x_580_); +v___x_582_ = v_reuseFailAlloc_583_; +goto v_reusejp_581_; +} +v_reusejp_581_: +{ +v_snd_555_ = v___x_582_; +goto v___jp_554_; +} +} +} +else +{ +size_t v___x_584_; size_t v___x_585_; lean_object* v___x_586_; lean_object* v___x_588_; +v___x_584_ = ((size_t)0ULL); +v___x_585_ = lean_usize_of_nat(v___x_569_); +v___x_586_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_params_552_, v___x_584_, v___x_585_, v_annoatedBorrows_560_); +lean_dec_ref(v_params_552_); +if (v_isShared_563_ == 0) +{ +lean_ctor_set(v___x_562_, 1, v___x_586_); +lean_ctor_set(v___x_562_, 0, v___x_567_); +v___x_588_ = v___x_562_; +goto v_reusejp_587_; +} +else +{ +lean_object* v_reuseFailAlloc_589_; +v_reuseFailAlloc_589_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_589_, 0, v___x_567_); +lean_ctor_set(v_reuseFailAlloc_589_, 1, v___x_586_); +v___x_588_ = v_reuseFailAlloc_589_; +goto v_reusejp_587_; +} +v_reusejp_587_: +{ +v_snd_555_ = v___x_588_; +goto v___jp_554_; +} +} +} } } } } case 3: { -lean_object* v___x_414_; lean_object* v___x_415_; -lean_dec_ref(v_code_387_); -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -v___x_414_ = lean_box(0); -v___x_415_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_415_, 0, v___x_414_); -return v___x_415_; +lean_object* v___x_593_; lean_object* v___x_594_; +lean_dec_ref(v_code_536_); +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +v___x_593_ = lean_box(0); +v___x_594_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_594_, 0, v___x_593_); +return v___x_594_; } case 4: { -lean_object* v_cases_416_; lean_object* v___x_418_; uint8_t v_isShared_419_; uint8_t v_isSharedCheck_438_; -v_cases_416_ = lean_ctor_get(v_code_387_, 0); -v_isSharedCheck_438_ = !lean_is_exclusive(v_code_387_); -if (v_isSharedCheck_438_ == 0) +lean_object* v_cases_595_; lean_object* v___x_597_; uint8_t v_isShared_598_; uint8_t v_isSharedCheck_617_; +v_cases_595_ = lean_ctor_get(v_code_536_, 0); +v_isSharedCheck_617_ = !lean_is_exclusive(v_code_536_); +if (v_isSharedCheck_617_ == 0) { -v___x_418_ = v_code_387_; -v_isShared_419_ = v_isSharedCheck_438_; -goto v_resetjp_417_; +v___x_597_ = v_code_536_; +v_isShared_598_ = v_isSharedCheck_617_; +goto v_resetjp_596_; } else { -lean_inc(v_cases_416_); -lean_dec(v_code_387_); -v___x_418_ = lean_box(0); -v_isShared_419_ = v_isSharedCheck_438_; -goto v_resetjp_417_; +lean_inc(v_cases_595_); +lean_dec(v_code_536_); +v___x_597_ = lean_box(0); +v_isShared_598_ = v_isSharedCheck_617_; +goto v_resetjp_596_; } -v_resetjp_417_: +v_resetjp_596_: { -lean_object* v_alts_420_; lean_object* v___x_421_; lean_object* v___x_422_; lean_object* v___x_423_; uint8_t v___x_424_; -v_alts_420_ = lean_ctor_get(v_cases_416_, 3); -lean_inc_ref(v_alts_420_); -lean_dec_ref(v_cases_416_); -v___x_421_ = lean_unsigned_to_nat(0u); -v___x_422_ = lean_array_get_size(v_alts_420_); -v___x_423_ = lean_box(0); -v___x_424_ = lean_nat_dec_lt(v___x_421_, v___x_422_); -if (v___x_424_ == 0) +lean_object* v_alts_599_; lean_object* v___x_600_; lean_object* v___x_601_; lean_object* v___x_602_; uint8_t v___x_603_; +v_alts_599_ = lean_ctor_get(v_cases_595_, 3); +lean_inc_ref(v_alts_599_); +lean_dec_ref(v_cases_595_); +v___x_600_ = lean_unsigned_to_nat(0u); +v___x_601_ = lean_array_get_size(v_alts_599_); +v___x_602_ = lean_box(0); +v___x_603_ = lean_nat_dec_lt(v___x_600_, v___x_601_); +if (v___x_603_ == 0) { -lean_object* v___x_426_; -lean_dec_ref(v_alts_420_); -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -if (v_isShared_419_ == 0) +lean_object* v___x_605_; +lean_dec_ref(v_alts_599_); +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +if (v_isShared_598_ == 0) { -lean_ctor_set_tag(v___x_418_, 0); -lean_ctor_set(v___x_418_, 0, v___x_423_); -v___x_426_ = v___x_418_; -goto v_reusejp_425_; +lean_ctor_set_tag(v___x_597_, 0); +lean_ctor_set(v___x_597_, 0, v___x_602_); +v___x_605_ = v___x_597_; +goto v_reusejp_604_; } else { -lean_object* v_reuseFailAlloc_427_; -v_reuseFailAlloc_427_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_427_, 0, v___x_423_); -v___x_426_ = v_reuseFailAlloc_427_; -goto v_reusejp_425_; +lean_object* v_reuseFailAlloc_606_; +v_reuseFailAlloc_606_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_606_, 0, v___x_602_); +v___x_605_ = v_reuseFailAlloc_606_; +goto v_reusejp_604_; } -v_reusejp_425_: +v_reusejp_604_: { -return v___x_426_; +return v___x_605_; } } else { -uint8_t v___x_428_; -v___x_428_ = lean_nat_dec_le(v___x_422_, v___x_422_); -if (v___x_428_ == 0) +uint8_t v___x_607_; +v___x_607_ = lean_nat_dec_le(v___x_601_, v___x_601_); +if (v___x_607_ == 0) { -if (v___x_424_ == 0) +if (v___x_603_ == 0) { -lean_object* v___x_430_; -lean_dec_ref(v_alts_420_); -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -if (v_isShared_419_ == 0) +lean_object* v___x_609_; +lean_dec_ref(v_alts_599_); +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +if (v_isShared_598_ == 0) { -lean_ctor_set_tag(v___x_418_, 0); -lean_ctor_set(v___x_418_, 0, v___x_423_); -v___x_430_ = v___x_418_; -goto v_reusejp_429_; +lean_ctor_set_tag(v___x_597_, 0); +lean_ctor_set(v___x_597_, 0, v___x_602_); +v___x_609_ = v___x_597_; +goto v_reusejp_608_; } else { -lean_object* v_reuseFailAlloc_431_; -v_reuseFailAlloc_431_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_431_, 0, v___x_423_); -v___x_430_ = v_reuseFailAlloc_431_; -goto v_reusejp_429_; +lean_object* v_reuseFailAlloc_610_; +v_reuseFailAlloc_610_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_610_, 0, v___x_602_); +v___x_609_ = v_reuseFailAlloc_610_; +goto v_reusejp_608_; } -v_reusejp_429_: +v_reusejp_608_: { -return v___x_430_; +return v___x_609_; } } else { -size_t v___x_432_; size_t v___x_433_; lean_object* v___x_434_; -lean_del_object(v___x_418_); -v___x_432_ = ((size_t)0ULL); -v___x_433_ = lean_usize_of_nat(v___x_422_); -v___x_434_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(v_declName_386_, v_alts_420_, v___x_432_, v___x_433_, v___x_423_, v_a_388_, v_a_389_, v_a_390_, v_a_391_, v_a_392_); -lean_dec_ref(v_alts_420_); -return v___x_434_; +size_t v___x_611_; size_t v___x_612_; lean_object* v___x_613_; +lean_del_object(v___x_597_); +v___x_611_ = ((size_t)0ULL); +v___x_612_ = lean_usize_of_nat(v___x_601_); +v___x_613_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4(v_declName_535_, v_alts_599_, v___x_611_, v___x_612_, v___x_602_, v_a_537_, v_a_538_, v_a_539_, v_a_540_, v_a_541_); +lean_dec_ref(v_alts_599_); +return v___x_613_; } } else { -size_t v___x_435_; size_t v___x_436_; lean_object* v___x_437_; -lean_del_object(v___x_418_); -v___x_435_ = ((size_t)0ULL); -v___x_436_ = lean_usize_of_nat(v___x_422_); -v___x_437_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(v_declName_386_, v_alts_420_, v___x_435_, v___x_436_, v___x_423_, v_a_388_, v_a_389_, v_a_390_, v_a_391_, v_a_392_); -lean_dec_ref(v_alts_420_); -return v___x_437_; +size_t v___x_614_; size_t v___x_615_; lean_object* v___x_616_; +lean_del_object(v___x_597_); +v___x_614_ = ((size_t)0ULL); +v___x_615_ = lean_usize_of_nat(v___x_601_); +v___x_616_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4(v_declName_535_, v_alts_599_, v___x_614_, v___x_615_, v___x_602_, v_a_537_, v_a_538_, v_a_539_, v_a_540_, v_a_541_); +lean_dec_ref(v_alts_599_); +return v___x_616_; } } } } case 5: { -lean_object* v___x_440_; uint8_t v_isShared_441_; uint8_t v_isSharedCheck_446_; -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -v_isSharedCheck_446_ = !lean_is_exclusive(v_code_387_); -if (v_isSharedCheck_446_ == 0) +lean_object* v___x_619_; uint8_t v_isShared_620_; uint8_t v_isSharedCheck_625_; +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +v_isSharedCheck_625_ = !lean_is_exclusive(v_code_536_); +if (v_isSharedCheck_625_ == 0) { -lean_object* v_unused_447_; -v_unused_447_ = lean_ctor_get(v_code_387_, 0); -lean_dec(v_unused_447_); -v___x_440_ = v_code_387_; -v_isShared_441_ = v_isSharedCheck_446_; -goto v_resetjp_439_; +lean_object* v_unused_626_; +v_unused_626_ = lean_ctor_get(v_code_536_, 0); +lean_dec(v_unused_626_); +v___x_619_ = v_code_536_; +v_isShared_620_ = v_isSharedCheck_625_; +goto v_resetjp_618_; } else { -lean_dec(v_code_387_); -v___x_440_ = lean_box(0); -v_isShared_441_ = v_isSharedCheck_446_; -goto v_resetjp_439_; +lean_dec(v_code_536_); +v___x_619_ = lean_box(0); +v_isShared_620_ = v_isSharedCheck_625_; +goto v_resetjp_618_; } -v_resetjp_439_: +v_resetjp_618_: { -lean_object* v___x_442_; lean_object* v___x_444_; -v___x_442_ = lean_box(0); -if (v_isShared_441_ == 0) +lean_object* v___x_621_; lean_object* v___x_623_; +v___x_621_ = lean_box(0); +if (v_isShared_620_ == 0) { -lean_ctor_set_tag(v___x_440_, 0); -lean_ctor_set(v___x_440_, 0, v___x_442_); -v___x_444_ = v___x_440_; -goto v_reusejp_443_; +lean_ctor_set_tag(v___x_619_, 0); +lean_ctor_set(v___x_619_, 0, v___x_621_); +v___x_623_ = v___x_619_; +goto v_reusejp_622_; } else { -lean_object* v_reuseFailAlloc_445_; -v_reuseFailAlloc_445_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_445_, 0, v___x_442_); -v___x_444_ = v_reuseFailAlloc_445_; -goto v_reusejp_443_; +lean_object* v_reuseFailAlloc_624_; +v_reuseFailAlloc_624_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_624_, 0, v___x_621_); +v___x_623_ = v_reuseFailAlloc_624_; +goto v_reusejp_622_; } -v_reusejp_443_: +v_reusejp_622_: { -return v___x_444_; +return v___x_623_; } } } case 6: { -lean_object* v___x_449_; uint8_t v_isShared_450_; uint8_t v_isSharedCheck_455_; -lean_dec(v_a_392_); -lean_dec_ref(v_a_391_); -lean_dec(v_a_390_); -lean_dec_ref(v_a_389_); -lean_dec(v_a_388_); -lean_dec(v_declName_386_); -v_isSharedCheck_455_ = !lean_is_exclusive(v_code_387_); -if (v_isSharedCheck_455_ == 0) +lean_object* v___x_628_; uint8_t v_isShared_629_; uint8_t v_isSharedCheck_634_; +lean_dec(v_a_541_); +lean_dec_ref(v_a_540_); +lean_dec(v_a_539_); +lean_dec_ref(v_a_538_); +lean_dec(v_a_537_); +lean_dec(v_declName_535_); +v_isSharedCheck_634_ = !lean_is_exclusive(v_code_536_); +if (v_isSharedCheck_634_ == 0) { -lean_object* v_unused_456_; -v_unused_456_ = lean_ctor_get(v_code_387_, 0); -lean_dec(v_unused_456_); -v___x_449_ = v_code_387_; -v_isShared_450_ = v_isSharedCheck_455_; -goto v_resetjp_448_; +lean_object* v_unused_635_; +v_unused_635_ = lean_ctor_get(v_code_536_, 0); +lean_dec(v_unused_635_); +v___x_628_ = v_code_536_; +v_isShared_629_ = v_isSharedCheck_634_; +goto v_resetjp_627_; } else { -lean_dec(v_code_387_); -v___x_449_ = lean_box(0); -v_isShared_450_ = v_isSharedCheck_455_; -goto v_resetjp_448_; +lean_dec(v_code_536_); +v___x_628_ = lean_box(0); +v_isShared_629_ = v_isSharedCheck_634_; +goto v_resetjp_627_; } -v_resetjp_448_: +v_resetjp_627_: { -lean_object* v___x_451_; lean_object* v___x_453_; -v___x_451_ = lean_box(0); -if (v_isShared_450_ == 0) +lean_object* v___x_630_; lean_object* v___x_632_; +v___x_630_ = lean_box(0); +if (v_isShared_629_ == 0) { -lean_ctor_set_tag(v___x_449_, 0); -lean_ctor_set(v___x_449_, 0, v___x_451_); -v___x_453_ = v___x_449_; -goto v_reusejp_452_; +lean_ctor_set_tag(v___x_628_, 0); +lean_ctor_set(v___x_628_, 0, v___x_630_); +v___x_632_ = v___x_628_; +goto v_reusejp_631_; } else { -lean_object* v_reuseFailAlloc_454_; -v_reuseFailAlloc_454_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_454_, 0, v___x_451_); -v___x_453_ = v_reuseFailAlloc_454_; -goto v_reusejp_452_; +lean_object* v_reuseFailAlloc_633_; +v_reuseFailAlloc_633_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_633_, 0, v___x_630_); +v___x_632_ = v_reuseFailAlloc_633_; +goto v_reusejp_631_; } -v_reusejp_452_: +v_reusejp_631_: { -return v___x_453_; +return v___x_632_; } } } case 8: { -lean_object* v_k_457_; -v_k_457_ = lean_ctor_get(v_code_387_, 3); -lean_inc_ref(v_k_457_); -lean_dec_ref(v_code_387_); -v_code_387_ = v_k_457_; +lean_object* v_k_636_; +v_k_636_ = lean_ctor_get(v_code_536_, 3); +lean_inc_ref(v_k_636_); +lean_dec_ref(v_code_536_); +v_code_536_ = v_k_636_; goto _start; } case 9: { -lean_object* v_k_459_; -v_k_459_ = lean_ctor_get(v_code_387_, 5); -lean_inc_ref(v_k_459_); -lean_dec_ref(v_code_387_); -v_code_387_ = v_k_459_; +lean_object* v_k_638_; +v_k_638_ = lean_ctor_get(v_code_536_, 5); +lean_inc_ref(v_k_638_); +lean_dec_ref(v_code_536_); +v_code_536_ = v_k_638_; goto _start; } default: { -lean_object* v___x_461_; lean_object* v___x_462_; -lean_dec_ref(v_code_387_); -lean_dec(v_declName_386_); -v___x_461_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3); -v___x_462_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v___x_461_, v_a_388_, v_a_389_, v_a_390_, v_a_391_, v_a_392_); -return v___x_462_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___boxed(lean_object* v_declName_463_, lean_object* v_code_464_, lean_object* v_a_465_, lean_object* v_a_466_, lean_object* v_a_467_, lean_object* v_a_468_, lean_object* v_a_469_, lean_object* v_a_470_){ -_start: -{ -lean_object* v_res_471_; -v_res_471_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_declName_463_, v_code_464_, v_a_465_, v_a_466_, v_a_467_, v_a_468_, v_a_469_); -return v_res_471_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(lean_object* v_declName_472_, lean_object* v_as_473_, size_t v_i_474_, size_t v_stop_475_, lean_object* v_b_476_, lean_object* v___y_477_, lean_object* v___y_478_, lean_object* v___y_479_, lean_object* v___y_480_, lean_object* v___y_481_){ -_start: -{ -uint8_t v___x_483_; -v___x_483_ = lean_usize_dec_eq(v_i_474_, v_stop_475_); -if (v___x_483_ == 0) -{ -lean_object* v___x_484_; lean_object* v___x_485_; lean_object* v___x_486_; -v___x_484_ = lean_array_uget_borrowed(v_as_473_, v_i_474_); -lean_inc(v_declName_472_); -v___x_485_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___boxed), 8, 1); -lean_closure_set(v___x_485_, 0, v_declName_472_); -lean_inc(v___y_481_); -lean_inc_ref(v___y_480_); -lean_inc(v___y_479_); -lean_inc_ref(v___y_478_); -lean_inc(v___y_477_); -lean_inc(v___x_484_); -v___x_486_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v___x_484_, v___x_485_, v___y_477_, v___y_478_, v___y_479_, v___y_480_, v___y_481_); -if (lean_obj_tag(v___x_486_) == 0) -{ -lean_object* v_a_487_; size_t v___x_488_; size_t v___x_489_; -v_a_487_ = lean_ctor_get(v___x_486_, 0); -lean_inc(v_a_487_); -lean_dec_ref(v___x_486_); -v___x_488_ = ((size_t)1ULL); -v___x_489_ = lean_usize_add(v_i_474_, v___x_488_); -v_i_474_ = v___x_489_; -v_b_476_ = v_a_487_; -goto _start; -} -else -{ -lean_dec(v___y_481_); -lean_dec_ref(v___y_480_); -lean_dec(v___y_479_); -lean_dec_ref(v___y_478_); -lean_dec(v___y_477_); -lean_dec(v_declName_472_); -return v___x_486_; -} -} -else -{ -lean_object* v___x_491_; -lean_dec(v___y_481_); -lean_dec_ref(v___y_480_); -lean_dec(v___y_479_); -lean_dec_ref(v___y_478_); -lean_dec(v___y_477_); -lean_dec(v_declName_472_); -v___x_491_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_491_, 0, v_b_476_); -return v___x_491_; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___boxed(lean_object* v_declName_492_, lean_object* v_as_493_, lean_object* v_i_494_, lean_object* v_stop_495_, lean_object* v_b_496_, lean_object* v___y_497_, lean_object* v___y_498_, lean_object* v___y_499_, lean_object* v___y_500_, lean_object* v___y_501_, lean_object* v___y_502_){ -_start: -{ -size_t v_i_boxed_503_; size_t v_stop_boxed_504_; lean_object* v_res_505_; -v_i_boxed_503_ = lean_unbox_usize(v_i_494_); -lean_dec(v_i_494_); -v_stop_boxed_504_ = lean_unbox_usize(v_stop_495_); -lean_dec(v_stop_495_); -v_res_505_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(v_declName_492_, v_as_493_, v_i_boxed_503_, v_stop_boxed_504_, v_b_496_, v___y_497_, v___y_498_, v___y_499_, v___y_500_, v___y_501_); -lean_dec_ref(v_as_493_); -return v_res_505_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1(lean_object* v_00_u03b2_506_, lean_object* v_m_507_, lean_object* v_a_508_, lean_object* v_b_509_){ -_start: -{ -lean_object* v___x_510_; -v___x_510_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v_m_507_, v_a_508_, v_b_509_); -return v___x_510_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1(lean_object* v_00_u03b2_511_, lean_object* v_a_512_, lean_object* v_x_513_){ -_start: -{ -uint8_t v___x_514_; -v___x_514_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(v_a_512_, v_x_513_); -return v___x_514_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___boxed(lean_object* v_00_u03b2_515_, lean_object* v_a_516_, lean_object* v_x_517_){ -_start: -{ -uint8_t v_res_518_; lean_object* v_r_519_; -v_res_518_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1(v_00_u03b2_515_, v_a_516_, v_x_517_); -lean_dec(v_x_517_); -lean_dec_ref(v_a_516_); -v_r_519_ = lean_box(v_res_518_); -return v_r_519_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2(lean_object* v_00_u03b2_520_, lean_object* v_data_521_){ -_start: -{ -lean_object* v___x_522_; -v___x_522_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2___redArg(v_data_521_); -return v___x_522_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3(lean_object* v_00_u03b2_523_, lean_object* v_a_524_, lean_object* v_b_525_, lean_object* v_x_526_){ -_start: -{ -lean_object* v___x_527_; -v___x_527_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__3___redArg(v_a_524_, v_b_525_, v_x_526_); -return v___x_527_; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_528_, lean_object* v_i_529_, lean_object* v_source_530_, lean_object* v_target_531_){ -_start: -{ -lean_object* v___x_532_; -v___x_532_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4___redArg(v_i_529_, v_source_530_, v_target_531_); -return v___x_532_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_533_, lean_object* v_x_534_, lean_object* v_x_535_){ -_start: -{ -lean_object* v___x_536_; -v___x_536_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__2_spec__4_spec__6___redArg(v_x_534_, v_x_535_); -return v___x_536_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(size_t v_sz_537_, size_t v_i_538_, lean_object* v_bs_539_){ -_start: -{ -uint8_t v___x_540_; -v___x_540_ = lean_usize_dec_lt(v_i_538_, v_sz_537_); -if (v___x_540_ == 0) -{ -return v_bs_539_; -} -else -{ -lean_object* v_v_541_; lean_object* v_fvarId_542_; lean_object* v_binderName_543_; lean_object* v_type_544_; lean_object* v___x_546_; uint8_t v_isShared_547_; uint8_t v_isSharedCheck_558_; -v_v_541_ = lean_array_uget(v_bs_539_, v_i_538_); -v_fvarId_542_ = lean_ctor_get(v_v_541_, 0); -v_binderName_543_ = lean_ctor_get(v_v_541_, 1); -v_type_544_ = lean_ctor_get(v_v_541_, 2); -v_isSharedCheck_558_ = !lean_is_exclusive(v_v_541_); -if (v_isSharedCheck_558_ == 0) -{ -v___x_546_ = v_v_541_; -v_isShared_547_ = v_isSharedCheck_558_; -goto v_resetjp_545_; -} -else -{ -lean_inc(v_type_544_); -lean_inc(v_binderName_543_); -lean_inc(v_fvarId_542_); -lean_dec(v_v_541_); -v___x_546_ = lean_box(0); -v_isShared_547_ = v_isSharedCheck_558_; -goto v_resetjp_545_; -} -v_resetjp_545_: -{ -lean_object* v___x_548_; lean_object* v_bs_x27_549_; uint8_t v___x_550_; lean_object* v___x_552_; -v___x_548_ = lean_unsigned_to_nat(0u); -v_bs_x27_549_ = lean_array_uset(v_bs_539_, v_i_538_, v___x_548_); -v___x_550_ = 0; -if (v_isShared_547_ == 0) -{ -v___x_552_ = v___x_546_; -goto v_reusejp_551_; -} -else -{ -lean_object* v_reuseFailAlloc_557_; -v_reuseFailAlloc_557_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_557_, 0, v_fvarId_542_); -lean_ctor_set(v_reuseFailAlloc_557_, 1, v_binderName_543_); -lean_ctor_set(v_reuseFailAlloc_557_, 2, v_type_544_); -v___x_552_ = v_reuseFailAlloc_557_; -goto v_reusejp_551_; -} -v_reusejp_551_: -{ -size_t v___x_553_; size_t v___x_554_; lean_object* v___x_555_; -lean_ctor_set_uint8(v___x_552_, sizeof(void*)*3, v___x_550_); -v___x_553_ = ((size_t)1ULL); -v___x_554_ = lean_usize_add(v_i_538_, v___x_553_); -v___x_555_ = lean_array_uset(v_bs_x27_549_, v_i_538_, v___x_552_); -v_i_538_ = v___x_554_; -v_bs_539_ = v___x_555_; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0___boxed(lean_object* v_sz_559_, lean_object* v_i_560_, lean_object* v_bs_561_){ -_start: -{ -size_t v_sz_boxed_562_; size_t v_i_boxed_563_; lean_object* v_res_564_; -v_sz_boxed_562_ = lean_unbox_usize(v_sz_559_); -lean_dec(v_sz_559_); -v_i_boxed_563_ = lean_unbox_usize(v_i_560_); -lean_dec(v_i_560_); -v_res_564_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(v_sz_boxed_562_, v_i_boxed_563_, v_bs_561_); -return v_res_564_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(uint8_t v_exported_565_, lean_object* v_ps_566_){ -_start: -{ -if (v_exported_565_ == 0) -{ -lean_object* v___x_567_; -v___x_567_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(v_ps_566_); -return v___x_567_; -} -else -{ -size_t v_sz_568_; size_t v___x_569_; lean_object* v___x_570_; -v_sz_568_ = lean_array_size(v_ps_566_); -v___x_569_ = ((size_t)0ULL); -v___x_570_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(v_sz_568_, v___x_569_, v_ps_566_); -return v___x_570_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported___boxed(lean_object* v_exported_571_, lean_object* v_ps_572_){ -_start: -{ -uint8_t v_exported_boxed_573_; lean_object* v_res_574_; -v_exported_boxed_573_ = lean_unbox(v_exported_571_); -v_res_574_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(v_exported_boxed_573_, v_ps_572_); -return v_res_574_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(lean_object* v_as_575_, size_t v_i_576_, size_t v_stop_577_, lean_object* v_b_578_, lean_object* v___y_579_, lean_object* v___y_580_, lean_object* v___y_581_, lean_object* v___y_582_, lean_object* v___y_583_){ -_start: -{ -lean_object* v_a_586_; uint8_t v___x_590_; -v___x_590_ = lean_usize_dec_eq(v_i_576_, v_stop_577_); -if (v___x_590_ == 0) -{ -lean_object* v___x_591_; lean_object* v_value_592_; -v___x_591_ = lean_array_uget_borrowed(v_as_575_, v_i_576_); -v_value_592_ = lean_ctor_get(v___x_591_, 1); -lean_inc_ref(v_value_592_); -if (lean_obj_tag(v_value_592_) == 0) -{ -lean_object* v_toSignature_593_; lean_object* v_code_594_; lean_object* v___x_596_; uint8_t v_isShared_597_; uint8_t v_isSharedCheck_612_; -v_toSignature_593_ = lean_ctor_get(v___x_591_, 0); -v_code_594_ = lean_ctor_get(v_value_592_, 0); -v_isSharedCheck_612_ = !lean_is_exclusive(v_value_592_); -if (v_isSharedCheck_612_ == 0) -{ -v___x_596_ = v_value_592_; -v_isShared_597_ = v_isSharedCheck_612_; -goto v_resetjp_595_; -} -else -{ -lean_inc(v_code_594_); -lean_dec(v_value_592_); -v___x_596_ = lean_box(0); -v_isShared_597_ = v_isSharedCheck_612_; -goto v_resetjp_595_; -} -v_resetjp_595_: -{ -lean_object* v___x_598_; lean_object* v___x_599_; lean_object* v_env_600_; lean_object* v_name_601_; lean_object* v_params_602_; uint8_t v___x_603_; lean_object* v___x_605_; -v___x_598_ = lean_st_ref_get(v___y_583_); -v___x_599_ = lean_st_ref_take(v___y_579_); -v_env_600_ = lean_ctor_get(v___x_598_, 0); -lean_inc_ref(v_env_600_); -lean_dec(v___x_598_); -v_name_601_ = lean_ctor_get(v_toSignature_593_, 0); -v_params_602_ = lean_ctor_get(v_toSignature_593_, 3); -lean_inc(v_name_601_); -v___x_603_ = l_Lean_isExport(v_env_600_, v_name_601_); -lean_inc(v_name_601_); -if (v_isShared_597_ == 0) -{ -lean_ctor_set(v___x_596_, 0, v_name_601_); -v___x_605_ = v___x_596_; -goto v_reusejp_604_; -} -else -{ -lean_object* v_reuseFailAlloc_611_; -v_reuseFailAlloc_611_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_611_, 0, v_name_601_); -v___x_605_ = v_reuseFailAlloc_611_; -goto v_reusejp_604_; -} -v_reusejp_604_: -{ -lean_object* v___x_606_; lean_object* v___x_607_; lean_object* v___x_608_; lean_object* v___x_609_; -lean_inc_ref(v_params_602_); -v___x_606_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(v___x_603_, v_params_602_); -v___x_607_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v___x_599_, v___x_605_, v___x_606_); -v___x_608_ = lean_st_ref_set(v___y_579_, v___x_607_); -lean_inc(v___y_583_); -lean_inc_ref(v___y_582_); -lean_inc(v___y_581_); -lean_inc_ref(v___y_580_); -lean_inc(v___y_579_); -lean_inc(v_name_601_); -v___x_609_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_name_601_, v_code_594_, v___y_579_, v___y_580_, v___y_581_, v___y_582_, v___y_583_); -if (lean_obj_tag(v___x_609_) == 0) -{ -lean_object* v_a_610_; -v_a_610_ = lean_ctor_get(v___x_609_, 0); -lean_inc(v_a_610_); -lean_dec_ref(v___x_609_); -v_a_586_ = v_a_610_; -goto v___jp_585_; -} -else -{ -lean_dec(v___y_583_); -lean_dec_ref(v___y_582_); -lean_dec(v___y_581_); -lean_dec_ref(v___y_580_); -lean_dec(v___y_579_); -return v___x_609_; -} -} -} -} -else -{ -lean_object* v___x_613_; -lean_dec_ref(v_value_592_); -v___x_613_ = lean_box(0); -v_a_586_ = v___x_613_; -goto v___jp_585_; -} -} -else -{ -lean_object* v___x_614_; -lean_dec(v___y_583_); -lean_dec_ref(v___y_582_); -lean_dec(v___y_581_); -lean_dec_ref(v___y_580_); -lean_dec(v___y_579_); -v___x_614_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_614_, 0, v_b_578_); -return v___x_614_; -} -v___jp_585_: -{ -size_t v___x_587_; size_t v___x_588_; -v___x_587_ = ((size_t)1ULL); -v___x_588_ = lean_usize_add(v_i_576_, v___x_587_); -v_i_576_ = v___x_588_; -v_b_578_ = v_a_586_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0___boxed(lean_object* v_as_615_, lean_object* v_i_616_, lean_object* v_stop_617_, lean_object* v_b_618_, lean_object* v___y_619_, lean_object* v___y_620_, lean_object* v___y_621_, lean_object* v___y_622_, lean_object* v___y_623_, lean_object* v___y_624_){ -_start: -{ -size_t v_i_boxed_625_; size_t v_stop_boxed_626_; lean_object* v_res_627_; -v_i_boxed_625_ = lean_unbox_usize(v_i_616_); -lean_dec(v_i_616_); -v_stop_boxed_626_ = lean_unbox_usize(v_stop_617_); -lean_dec(v_stop_617_); -v_res_627_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_as_615_, v_i_boxed_625_, v_stop_boxed_626_, v_b_618_, v___y_619_, v___y_620_, v___y_621_, v___y_622_, v___y_623_); -lean_dec_ref(v_as_615_); -return v_res_627_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(lean_object* v_decls_628_, lean_object* v_a_629_, lean_object* v_a_630_, lean_object* v_a_631_, lean_object* v_a_632_, lean_object* v_a_633_){ -_start: -{ -lean_object* v___x_635_; lean_object* v___x_636_; lean_object* v___x_637_; uint8_t v___x_638_; -v___x_635_ = lean_unsigned_to_nat(0u); -v___x_636_ = lean_array_get_size(v_decls_628_); -v___x_637_ = lean_box(0); -v___x_638_ = lean_nat_dec_lt(v___x_635_, v___x_636_); -if (v___x_638_ == 0) -{ -lean_object* v___x_639_; -lean_dec(v_a_633_); -lean_dec_ref(v_a_632_); -lean_dec(v_a_631_); -lean_dec_ref(v_a_630_); -lean_dec(v_a_629_); -v___x_639_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_639_, 0, v___x_637_); -return v___x_639_; -} -else -{ -uint8_t v___x_640_; -v___x_640_ = lean_nat_dec_le(v___x_636_, v___x_636_); -if (v___x_640_ == 0) -{ -if (v___x_638_ == 0) -{ -lean_object* v___x_641_; -lean_dec(v_a_633_); -lean_dec_ref(v_a_632_); -lean_dec(v_a_631_); -lean_dec_ref(v_a_630_); -lean_dec(v_a_629_); -v___x_641_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_641_, 0, v___x_637_); +lean_object* v___x_640_; lean_object* v___x_641_; +lean_dec_ref(v_code_536_); +lean_dec(v_declName_535_); +v___x_640_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__3); +v___x_641_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5(v___x_640_, v_a_537_, v_a_538_, v_a_539_, v_a_540_, v_a_541_); return v___x_641_; } -else -{ -size_t v___x_642_; size_t v___x_643_; lean_object* v___x_644_; -v___x_642_ = ((size_t)0ULL); -v___x_643_ = lean_usize_of_nat(v___x_636_); -v___x_644_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_decls_628_, v___x_642_, v___x_643_, v___x_637_, v_a_629_, v_a_630_, v_a_631_, v_a_632_, v_a_633_); -return v___x_644_; -} -} -else -{ -size_t v___x_645_; size_t v___x_646_; lean_object* v___x_647_; -v___x_645_ = ((size_t)0ULL); -v___x_646_ = lean_usize_of_nat(v___x_636_); -v___x_647_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_decls_628_, v___x_645_, v___x_646_, v___x_637_, v_a_629_, v_a_630_, v_a_631_, v_a_632_, v_a_633_); -return v___x_647_; } } } -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go___boxed(lean_object* v_decls_648_, lean_object* v_a_649_, lean_object* v_a_650_, lean_object* v_a_651_, lean_object* v_a_652_, lean_object* v_a_653_, lean_object* v_a_654_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___boxed(lean_object* v_declName_642_, lean_object* v_code_643_, lean_object* v_a_644_, lean_object* v_a_645_, lean_object* v_a_646_, lean_object* v_a_647_, lean_object* v_a_648_, lean_object* v_a_649_){ _start: { -lean_object* v_res_655_; -v_res_655_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(v_decls_648_, v_a_649_, v_a_650_, v_a_651_, v_a_652_, v_a_653_); -lean_dec_ref(v_decls_648_); -return v_res_655_; +lean_object* v_res_650_; +v_res_650_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_declName_642_, v_code_643_, v_a_644_, v_a_645_, v_a_646_, v_a_647_, v_a_648_); +return v_res_650_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4(lean_object* v_declName_651_, lean_object* v_as_652_, size_t v_i_653_, size_t v_stop_654_, lean_object* v_b_655_, lean_object* v___y_656_, lean_object* v___y_657_, lean_object* v___y_658_, lean_object* v___y_659_, lean_object* v___y_660_){ +_start: +{ +uint8_t v___x_662_; +v___x_662_ = lean_usize_dec_eq(v_i_653_, v_stop_654_); +if (v___x_662_ == 0) +{ +lean_object* v___x_663_; lean_object* v___x_664_; lean_object* v___x_665_; +v___x_663_ = lean_array_uget_borrowed(v_as_652_, v_i_653_); +lean_inc(v_declName_651_); +v___x_664_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___boxed), 8, 1); +lean_closure_set(v___x_664_, 0, v_declName_651_); +lean_inc(v___y_660_); +lean_inc_ref(v___y_659_); +lean_inc(v___y_658_); +lean_inc_ref(v___y_657_); +lean_inc(v___y_656_); +lean_inc(v___x_663_); +v___x_665_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v___x_663_, v___x_664_, v___y_656_, v___y_657_, v___y_658_, v___y_659_, v___y_660_); +if (lean_obj_tag(v___x_665_) == 0) +{ +lean_object* v_a_666_; size_t v___x_667_; size_t v___x_668_; +v_a_666_ = lean_ctor_get(v___x_665_, 0); +lean_inc(v_a_666_); +lean_dec_ref(v___x_665_); +v___x_667_ = ((size_t)1ULL); +v___x_668_ = lean_usize_add(v_i_653_, v___x_667_); +v_i_653_ = v___x_668_; +v_b_655_ = v_a_666_; +goto _start; +} +else +{ +lean_dec(v___y_660_); +lean_dec_ref(v___y_659_); +lean_dec(v___y_658_); +lean_dec_ref(v___y_657_); +lean_dec(v___y_656_); +lean_dec(v_declName_651_); +return v___x_665_; +} +} +else +{ +lean_object* v___x_670_; +lean_dec(v___y_660_); +lean_dec_ref(v___y_659_); +lean_dec(v___y_658_); +lean_dec_ref(v___y_657_); +lean_dec(v___y_656_); +lean_dec(v_declName_651_); +v___x_670_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_670_, 0, v_b_655_); +return v___x_670_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4___boxed(lean_object* v_declName_671_, lean_object* v_as_672_, lean_object* v_i_673_, lean_object* v_stop_674_, lean_object* v_b_675_, lean_object* v___y_676_, lean_object* v___y_677_, lean_object* v___y_678_, lean_object* v___y_679_, lean_object* v___y_680_, lean_object* v___y_681_){ +_start: +{ +size_t v_i_boxed_682_; size_t v_stop_boxed_683_; lean_object* v_res_684_; +v_i_boxed_682_ = lean_unbox_usize(v_i_673_); +lean_dec(v_i_673_); +v_stop_boxed_683_ = lean_unbox_usize(v_stop_674_); +lean_dec(v_stop_674_); +v_res_684_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__4(v_declName_671_, v_as_672_, v_i_boxed_682_, v_stop_boxed_683_, v_b_675_, v___y_676_, v___y_677_, v___y_678_, v___y_679_, v___y_680_); +lean_dec_ref(v_as_672_); +return v_res_684_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0(lean_object* v_00_u03b2_685_, lean_object* v_m_686_, lean_object* v_a_687_, lean_object* v_b_688_){ +_start: +{ +lean_object* v___x_689_; +v___x_689_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v_m_686_, v_a_687_, v_b_688_); +return v___x_689_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2(lean_object* v_00_u03b2_690_, lean_object* v_m_691_, lean_object* v_a_692_, lean_object* v_b_693_){ +_start: +{ +lean_object* v___x_694_; +v___x_694_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(v_m_691_, v_a_692_, v_b_693_); +return v___x_694_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0(lean_object* v_00_u03b2_695_, lean_object* v_a_696_, lean_object* v_x_697_){ +_start: +{ +uint8_t v___x_698_; +v___x_698_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(v_a_696_, v_x_697_); +return v___x_698_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___boxed(lean_object* v_00_u03b2_699_, lean_object* v_a_700_, lean_object* v_x_701_){ +_start: +{ +uint8_t v_res_702_; lean_object* v_r_703_; +v_res_702_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0(v_00_u03b2_699_, v_a_700_, v_x_701_); +lean_dec(v_x_701_); +lean_dec(v_a_700_); +v_r_703_ = lean_box(v_res_702_); +return v_r_703_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1(lean_object* v_00_u03b2_704_, lean_object* v_data_705_){ +_start: +{ +lean_object* v___x_706_; +v___x_706_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1___redArg(v_data_705_); +return v___x_706_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4(lean_object* v_00_u03b2_707_, lean_object* v_a_708_, lean_object* v_x_709_){ +_start: +{ +uint8_t v___x_710_; +v___x_710_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(v_a_708_, v_x_709_); +return v___x_710_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___boxed(lean_object* v_00_u03b2_711_, lean_object* v_a_712_, lean_object* v_x_713_){ +_start: +{ +uint8_t v_res_714_; lean_object* v_r_715_; +v_res_714_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4(v_00_u03b2_711_, v_a_712_, v_x_713_); +lean_dec(v_x_713_); +lean_dec_ref(v_a_712_); +v_r_715_ = lean_box(v_res_714_); +return v_r_715_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5(lean_object* v_00_u03b2_716_, lean_object* v_data_717_){ +_start: +{ +lean_object* v___x_718_; +v___x_718_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5___redArg(v_data_717_); +return v___x_718_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6(lean_object* v_00_u03b2_719_, lean_object* v_a_720_, lean_object* v_b_721_, lean_object* v_x_722_){ +_start: +{ +lean_object* v___x_723_; +v___x_723_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__6___redArg(v_a_720_, v_b_721_, v_x_722_); +return v___x_723_; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4(lean_object* v_00_u03b2_724_, lean_object* v_i_725_, lean_object* v_source_726_, lean_object* v_target_727_){ +_start: +{ +lean_object* v___x_728_; +v___x_728_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4___redArg(v_i_725_, v_source_726_, v_target_727_); +return v___x_728_; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8(lean_object* v_00_u03b2_729_, lean_object* v_i_730_, lean_object* v_source_731_, lean_object* v_target_732_){ +_start: +{ +lean_object* v___x_733_; +v___x_733_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8___redArg(v_i_730_, v_source_731_, v_target_732_); +return v___x_733_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8(lean_object* v_00_u03b2_734_, lean_object* v_x_735_, lean_object* v_x_736_){ +_start: +{ +lean_object* v___x_737_; +v___x_737_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__1_spec__4_spec__8___redArg(v_x_735_, v_x_736_); +return v___x_737_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12(lean_object* v_00_u03b2_738_, lean_object* v_x_739_, lean_object* v_x_740_){ +_start: +{ +lean_object* v___x_741_; +v___x_741_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__5_spec__8_spec__12___redArg(v_x_739_, v_x_740_); +return v___x_741_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(size_t v_sz_742_, size_t v_i_743_, lean_object* v_bs_744_){ +_start: +{ +uint8_t v___x_745_; +v___x_745_ = lean_usize_dec_lt(v_i_743_, v_sz_742_); +if (v___x_745_ == 0) +{ +return v_bs_744_; +} +else +{ +lean_object* v_v_746_; lean_object* v_fvarId_747_; lean_object* v_binderName_748_; lean_object* v_type_749_; lean_object* v___x_751_; uint8_t v_isShared_752_; uint8_t v_isSharedCheck_763_; +v_v_746_ = lean_array_uget(v_bs_744_, v_i_743_); +v_fvarId_747_ = lean_ctor_get(v_v_746_, 0); +v_binderName_748_ = lean_ctor_get(v_v_746_, 1); +v_type_749_ = lean_ctor_get(v_v_746_, 2); +v_isSharedCheck_763_ = !lean_is_exclusive(v_v_746_); +if (v_isSharedCheck_763_ == 0) +{ +v___x_751_ = v_v_746_; +v_isShared_752_ = v_isSharedCheck_763_; +goto v_resetjp_750_; +} +else +{ +lean_inc(v_type_749_); +lean_inc(v_binderName_748_); +lean_inc(v_fvarId_747_); +lean_dec(v_v_746_); +v___x_751_ = lean_box(0); +v_isShared_752_ = v_isSharedCheck_763_; +goto v_resetjp_750_; +} +v_resetjp_750_: +{ +lean_object* v___x_753_; lean_object* v_bs_x27_754_; uint8_t v___x_755_; lean_object* v___x_757_; +v___x_753_ = lean_unsigned_to_nat(0u); +v_bs_x27_754_ = lean_array_uset(v_bs_744_, v_i_743_, v___x_753_); +v___x_755_ = 0; +if (v_isShared_752_ == 0) +{ +v___x_757_ = v___x_751_; +goto v_reusejp_756_; +} +else +{ +lean_object* v_reuseFailAlloc_762_; +v_reuseFailAlloc_762_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_762_, 0, v_fvarId_747_); +lean_ctor_set(v_reuseFailAlloc_762_, 1, v_binderName_748_); +lean_ctor_set(v_reuseFailAlloc_762_, 2, v_type_749_); +v___x_757_ = v_reuseFailAlloc_762_; +goto v_reusejp_756_; +} +v_reusejp_756_: +{ +size_t v___x_758_; size_t v___x_759_; lean_object* v___x_760_; +lean_ctor_set_uint8(v___x_757_, sizeof(void*)*3, v___x_755_); +v___x_758_ = ((size_t)1ULL); +v___x_759_ = lean_usize_add(v_i_743_, v___x_758_); +v___x_760_ = lean_array_uset(v_bs_x27_754_, v_i_743_, v___x_757_); +v_i_743_ = v___x_759_; +v_bs_744_ = v___x_760_; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0___boxed(lean_object* v_sz_764_, lean_object* v_i_765_, lean_object* v_bs_766_){ +_start: +{ +size_t v_sz_boxed_767_; size_t v_i_boxed_768_; lean_object* v_res_769_; +v_sz_boxed_767_ = lean_unbox_usize(v_sz_764_); +lean_dec(v_sz_764_); +v_i_boxed_768_ = lean_unbox_usize(v_i_765_); +lean_dec(v_i_765_); +v_res_769_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(v_sz_boxed_767_, v_i_boxed_768_, v_bs_766_); +return v_res_769_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(uint8_t v_exported_770_, lean_object* v_ps_771_){ +_start: +{ +if (v_exported_770_ == 0) +{ +lean_object* v___x_772_; +v___x_772_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParams(v_ps_771_); +return v___x_772_; +} +else +{ +size_t v_sz_773_; size_t v___x_774_; lean_object* v___x_775_; +v_sz_773_ = lean_array_size(v_ps_771_); +v___x_774_ = ((size_t)0ULL); +v___x_775_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported_spec__0(v_sz_773_, v___x_774_, v_ps_771_); +return v___x_775_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported___boxed(lean_object* v_exported_776_, lean_object* v_ps_777_){ +_start: +{ +uint8_t v_exported_boxed_778_; lean_object* v_res_779_; +v_exported_boxed_778_ = lean_unbox(v_exported_776_); +v_res_779_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(v_exported_boxed_778_, v_ps_777_); +return v_res_779_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(lean_object* v_as_780_, size_t v_i_781_, size_t v_stop_782_, lean_object* v_b_783_, lean_object* v___y_784_, lean_object* v___y_785_, lean_object* v___y_786_, lean_object* v___y_787_, lean_object* v___y_788_){ +_start: +{ +lean_object* v_a_791_; uint8_t v___x_795_; +v___x_795_ = lean_usize_dec_eq(v_i_781_, v_stop_782_); +if (v___x_795_ == 0) +{ +lean_object* v___x_796_; lean_object* v_value_797_; +v___x_796_ = lean_array_uget_borrowed(v_as_780_, v_i_781_); +v_value_797_ = lean_ctor_get(v___x_796_, 1); +lean_inc_ref(v_value_797_); +if (lean_obj_tag(v_value_797_) == 0) +{ +lean_object* v_toSignature_798_; lean_object* v_code_799_; lean_object* v___x_801_; uint8_t v_isShared_802_; uint8_t v_isSharedCheck_847_; +v_toSignature_798_ = lean_ctor_get(v___x_796_, 0); +v_code_799_ = lean_ctor_get(v_value_797_, 0); +v_isSharedCheck_847_ = !lean_is_exclusive(v_value_797_); +if (v_isSharedCheck_847_ == 0) +{ +v___x_801_ = v_value_797_; +v_isShared_802_ = v_isSharedCheck_847_; +goto v_resetjp_800_; +} +else +{ +lean_inc(v_code_799_); +lean_dec(v_value_797_); +v___x_801_ = lean_box(0); +v_isShared_802_ = v_isSharedCheck_847_; +goto v_resetjp_800_; +} +v_resetjp_800_: +{ +lean_object* v___x_803_; lean_object* v___x_804_; lean_object* v_env_805_; lean_object* v_name_806_; lean_object* v_params_807_; lean_object* v_snd_809_; lean_object* v_map_813_; lean_object* v_annoatedBorrows_814_; lean_object* v___x_816_; uint8_t v_isShared_817_; uint8_t v_isSharedCheck_846_; +v___x_803_ = lean_st_ref_get(v___y_788_); +v___x_804_ = lean_st_ref_take(v___y_784_); +v_env_805_ = lean_ctor_get(v___x_803_, 0); +lean_inc_ref(v_env_805_); +lean_dec(v___x_803_); +v_name_806_ = lean_ctor_get(v_toSignature_798_, 0); +v_params_807_ = lean_ctor_get(v_toSignature_798_, 3); +v_map_813_ = lean_ctor_get(v___x_804_, 0); +v_annoatedBorrows_814_ = lean_ctor_get(v___x_804_, 1); +v_isSharedCheck_846_ = !lean_is_exclusive(v___x_804_); +if (v_isSharedCheck_846_ == 0) +{ +v___x_816_ = v___x_804_; +v_isShared_817_ = v_isSharedCheck_846_; +goto v_resetjp_815_; +} +else +{ +lean_inc(v_annoatedBorrows_814_); +lean_inc(v_map_813_); +lean_dec(v___x_804_); +v___x_816_ = lean_box(0); +v_isShared_817_ = v_isSharedCheck_846_; +goto v_resetjp_815_; +} +v___jp_808_: +{ +lean_object* v___x_810_; lean_object* v___x_811_; +v___x_810_ = lean_st_ref_set(v___y_784_, v_snd_809_); +lean_inc(v___y_788_); +lean_inc_ref(v___y_787_); +lean_inc(v___y_786_); +lean_inc_ref(v___y_785_); +lean_inc(v___y_784_); +lean_inc(v_name_806_); +v___x_811_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode(v_name_806_, v_code_799_, v___y_784_, v___y_785_, v___y_786_, v___y_787_, v___y_788_); +if (lean_obj_tag(v___x_811_) == 0) +{ +lean_object* v_a_812_; +v_a_812_ = lean_ctor_get(v___x_811_, 0); +lean_inc(v_a_812_); +lean_dec_ref(v___x_811_); +v_a_791_ = v_a_812_; +goto v___jp_790_; +} +else +{ +lean_dec(v___y_788_); +lean_dec_ref(v___y_787_); +lean_dec(v___y_786_); +lean_dec_ref(v___y_785_); +lean_dec(v___y_784_); +return v___x_811_; +} +} +v_resetjp_815_: +{ +uint8_t v___x_818_; lean_object* v___x_820_; +lean_inc(v_name_806_); +v___x_818_ = l_Lean_isExport(v_env_805_, v_name_806_); +lean_inc(v_name_806_); +if (v_isShared_802_ == 0) +{ +lean_ctor_set(v___x_801_, 0, v_name_806_); +v___x_820_ = v___x_801_; +goto v_reusejp_819_; +} +else +{ +lean_object* v_reuseFailAlloc_845_; +v_reuseFailAlloc_845_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_845_, 0, v_name_806_); +v___x_820_ = v_reuseFailAlloc_845_; +goto v_reusejp_819_; +} +v_reusejp_819_: +{ +lean_object* v___x_821_; lean_object* v___x_822_; lean_object* v___x_823_; lean_object* v___x_824_; uint8_t v___x_825_; +lean_inc_ref(v_params_807_); +v___x_821_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_initParamsIfNotExported(v___x_818_, v_params_807_); +v___x_822_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(v_map_813_, v___x_820_, v___x_821_); +v___x_823_ = lean_unsigned_to_nat(0u); +v___x_824_ = lean_array_get_size(v_params_807_); +v___x_825_ = lean_nat_dec_lt(v___x_823_, v___x_824_); +if (v___x_825_ == 0) +{ +lean_object* v___x_827_; +if (v_isShared_817_ == 0) +{ +lean_ctor_set(v___x_816_, 0, v___x_822_); +v___x_827_ = v___x_816_; +goto v_reusejp_826_; +} +else +{ +lean_object* v_reuseFailAlloc_828_; +v_reuseFailAlloc_828_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_828_, 0, v___x_822_); +lean_ctor_set(v_reuseFailAlloc_828_, 1, v_annoatedBorrows_814_); +v___x_827_ = v_reuseFailAlloc_828_; +goto v_reusejp_826_; +} +v_reusejp_826_: +{ +v_snd_809_ = v___x_827_; +goto v___jp_808_; +} +} +else +{ +uint8_t v___x_829_; +v___x_829_ = lean_nat_dec_le(v___x_824_, v___x_824_); +if (v___x_829_ == 0) +{ +if (v___x_825_ == 0) +{ +lean_object* v___x_831_; +if (v_isShared_817_ == 0) +{ +lean_ctor_set(v___x_816_, 0, v___x_822_); +v___x_831_ = v___x_816_; +goto v_reusejp_830_; +} +else +{ +lean_object* v_reuseFailAlloc_832_; +v_reuseFailAlloc_832_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_832_, 0, v___x_822_); +lean_ctor_set(v_reuseFailAlloc_832_, 1, v_annoatedBorrows_814_); +v___x_831_ = v_reuseFailAlloc_832_; +goto v_reusejp_830_; +} +v_reusejp_830_: +{ +v_snd_809_ = v___x_831_; +goto v___jp_808_; +} +} +else +{ +size_t v___x_833_; size_t v___x_834_; lean_object* v___x_835_; lean_object* v___x_837_; +v___x_833_ = ((size_t)0ULL); +v___x_834_ = lean_usize_of_nat(v___x_824_); +v___x_835_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_params_807_, v___x_833_, v___x_834_, v_annoatedBorrows_814_); +if (v_isShared_817_ == 0) +{ +lean_ctor_set(v___x_816_, 1, v___x_835_); +lean_ctor_set(v___x_816_, 0, v___x_822_); +v___x_837_ = v___x_816_; +goto v_reusejp_836_; +} +else +{ +lean_object* v_reuseFailAlloc_838_; +v_reuseFailAlloc_838_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_838_, 0, v___x_822_); +lean_ctor_set(v_reuseFailAlloc_838_, 1, v___x_835_); +v___x_837_ = v_reuseFailAlloc_838_; +goto v_reusejp_836_; +} +v_reusejp_836_: +{ +v_snd_809_ = v___x_837_; +goto v___jp_808_; +} +} +} +else +{ +size_t v___x_839_; size_t v___x_840_; lean_object* v___x_841_; lean_object* v___x_843_; +v___x_839_ = ((size_t)0ULL); +v___x_840_ = lean_usize_of_nat(v___x_824_); +v___x_841_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3(v_params_807_, v___x_839_, v___x_840_, v_annoatedBorrows_814_); +if (v_isShared_817_ == 0) +{ +lean_ctor_set(v___x_816_, 1, v___x_841_); +lean_ctor_set(v___x_816_, 0, v___x_822_); +v___x_843_ = v___x_816_; +goto v_reusejp_842_; +} +else +{ +lean_object* v_reuseFailAlloc_844_; +v_reuseFailAlloc_844_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_844_, 0, v___x_822_); +lean_ctor_set(v_reuseFailAlloc_844_, 1, v___x_841_); +v___x_843_ = v_reuseFailAlloc_844_; +goto v_reusejp_842_; +} +v_reusejp_842_: +{ +v_snd_809_ = v___x_843_; +goto v___jp_808_; +} +} +} +} +} +} +} +else +{ +lean_object* v___x_848_; +lean_dec_ref(v_value_797_); +v___x_848_ = lean_box(0); +v_a_791_ = v___x_848_; +goto v___jp_790_; +} +} +else +{ +lean_object* v___x_849_; +lean_dec(v___y_788_); +lean_dec_ref(v___y_787_); +lean_dec(v___y_786_); +lean_dec_ref(v___y_785_); +lean_dec(v___y_784_); +v___x_849_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_849_, 0, v_b_783_); +return v___x_849_; +} +v___jp_790_: +{ +size_t v___x_792_; size_t v___x_793_; +v___x_792_ = ((size_t)1ULL); +v___x_793_ = lean_usize_add(v_i_781_, v___x_792_); +v_i_781_ = v___x_793_; +v_b_783_ = v_a_791_; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0___boxed(lean_object* v_as_850_, lean_object* v_i_851_, lean_object* v_stop_852_, lean_object* v_b_853_, lean_object* v___y_854_, lean_object* v___y_855_, lean_object* v___y_856_, lean_object* v___y_857_, lean_object* v___y_858_, lean_object* v___y_859_){ +_start: +{ +size_t v_i_boxed_860_; size_t v_stop_boxed_861_; lean_object* v_res_862_; +v_i_boxed_860_ = lean_unbox_usize(v_i_851_); +lean_dec(v_i_851_); +v_stop_boxed_861_ = lean_unbox_usize(v_stop_852_); +lean_dec(v_stop_852_); +v_res_862_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_as_850_, v_i_boxed_860_, v_stop_boxed_861_, v_b_853_, v___y_854_, v___y_855_, v___y_856_, v___y_857_, v___y_858_); +lean_dec_ref(v_as_850_); +return v_res_862_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(lean_object* v_decls_863_, lean_object* v_a_864_, lean_object* v_a_865_, lean_object* v_a_866_, lean_object* v_a_867_, lean_object* v_a_868_){ +_start: +{ +lean_object* v___x_870_; lean_object* v___x_871_; lean_object* v___x_872_; uint8_t v___x_873_; +v___x_870_ = lean_unsigned_to_nat(0u); +v___x_871_ = lean_array_get_size(v_decls_863_); +v___x_872_ = lean_box(0); +v___x_873_ = lean_nat_dec_lt(v___x_870_, v___x_871_); +if (v___x_873_ == 0) +{ +lean_object* v___x_874_; +lean_dec(v_a_868_); +lean_dec_ref(v_a_867_); +lean_dec(v_a_866_); +lean_dec_ref(v_a_865_); +lean_dec(v_a_864_); +v___x_874_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_874_, 0, v___x_872_); +return v___x_874_; +} +else +{ +uint8_t v___x_875_; +v___x_875_ = lean_nat_dec_le(v___x_871_, v___x_871_); +if (v___x_875_ == 0) +{ +if (v___x_873_ == 0) +{ +lean_object* v___x_876_; +lean_dec(v_a_868_); +lean_dec_ref(v_a_867_); +lean_dec(v_a_866_); +lean_dec_ref(v_a_865_); +lean_dec(v_a_864_); +v___x_876_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_876_, 0, v___x_872_); +return v___x_876_; +} +else +{ +size_t v___x_877_; size_t v___x_878_; lean_object* v___x_879_; +v___x_877_ = ((size_t)0ULL); +v___x_878_ = lean_usize_of_nat(v___x_871_); +v___x_879_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_decls_863_, v___x_877_, v___x_878_, v___x_872_, v_a_864_, v_a_865_, v_a_866_, v_a_867_, v_a_868_); +return v___x_879_; +} +} +else +{ +size_t v___x_880_; size_t v___x_881_; lean_object* v___x_882_; +v___x_880_ = ((size_t)0ULL); +v___x_881_ = lean_usize_of_nat(v___x_871_); +v___x_882_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go_spec__0(v_decls_863_, v___x_880_, v___x_881_, v___x_872_, v_a_864_, v_a_865_, v_a_866_, v_a_867_, v_a_868_); +return v___x_882_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go___boxed(lean_object* v_decls_883_, lean_object* v_a_884_, lean_object* v_a_885_, lean_object* v_a_886_, lean_object* v_a_887_, lean_object* v_a_888_, lean_object* v_a_889_){ +_start: +{ +lean_object* v_res_890_; +v_res_890_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(v_decls_883_, v_a_884_, v_a_885_, v_a_886_, v_a_887_, v_a_888_); +lean_dec_ref(v_decls_883_); +return v_res_890_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0(void){ _start: { -lean_object* v___x_656_; lean_object* v___x_657_; lean_object* v___x_658_; -v___x_656_ = lean_box(0); -v___x_657_ = lean_unsigned_to_nat(16u); -v___x_658_ = lean_mk_array(v___x_657_, v___x_656_); -return v___x_658_; +lean_object* v___x_891_; lean_object* v___x_892_; lean_object* v___x_893_; +v___x_891_ = lean_box(0); +v___x_892_ = lean_unsigned_to_nat(16u); +v___x_893_ = lean_mk_array(v___x_892_, v___x_891_); +return v___x_893_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1(void){ _start: { -lean_object* v___x_659_; lean_object* v___x_660_; lean_object* v___x_661_; -v___x_659_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0); -v___x_660_ = lean_unsigned_to_nat(0u); -v___x_661_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_661_, 0, v___x_660_); -lean_ctor_set(v___x_661_, 1, v___x_659_); -return v___x_661_; +lean_object* v___x_894_; lean_object* v___x_895_; lean_object* v___x_896_; +v___x_894_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__0); +v___x_895_ = lean_unsigned_to_nat(0u); +v___x_896_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_896_, 0, v___x_895_); +lean_ctor_set(v___x_896_, 1, v___x_894_); +return v___x_896_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(lean_object* v_decls_662_, lean_object* v_a_663_, lean_object* v_a_664_, lean_object* v_a_665_, lean_object* v_a_666_){ +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2(void){ _start: { -lean_object* v___x_668_; lean_object* v___x_669_; lean_object* v___x_670_; -v___x_668_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1); -v___x_669_ = lean_st_mk_ref(v___x_668_); -lean_inc(v___x_669_); -v___x_670_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(v_decls_662_, v___x_669_, v_a_663_, v_a_664_, v_a_665_, v_a_666_); -if (lean_obj_tag(v___x_670_) == 0) -{ -lean_object* v___x_672_; uint8_t v_isShared_673_; uint8_t v_isSharedCheck_678_; -v_isSharedCheck_678_ = !lean_is_exclusive(v___x_670_); -if (v_isSharedCheck_678_ == 0) -{ -lean_object* v_unused_679_; -v_unused_679_ = lean_ctor_get(v___x_670_, 0); -lean_dec(v_unused_679_); -v___x_672_ = v___x_670_; -v_isShared_673_ = v_isSharedCheck_678_; -goto v_resetjp_671_; -} -else -{ -lean_dec(v___x_670_); -v___x_672_ = lean_box(0); -v_isShared_673_ = v_isSharedCheck_678_; -goto v_resetjp_671_; -} -v_resetjp_671_: -{ -lean_object* v___x_674_; lean_object* v___x_676_; -v___x_674_ = lean_st_ref_get(v___x_669_); -lean_dec(v___x_669_); -if (v_isShared_673_ == 0) -{ -lean_ctor_set(v___x_672_, 0, v___x_674_); -v___x_676_ = v___x_672_; -goto v_reusejp_675_; -} -else -{ -lean_object* v_reuseFailAlloc_677_; -v_reuseFailAlloc_677_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_677_, 0, v___x_674_); -v___x_676_ = v_reuseFailAlloc_677_; -goto v_reusejp_675_; -} -v_reusejp_675_: -{ -return v___x_676_; +lean_object* v___x_897_; lean_object* v___x_898_; +v___x_897_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__1); +v___x_898_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_898_, 0, v___x_897_); +lean_ctor_set(v___x_898_, 1, v___x_897_); +return v___x_898_; } } -} -else -{ -lean_object* v_a_680_; lean_object* v___x_682_; uint8_t v_isShared_683_; uint8_t v_isSharedCheck_687_; -lean_dec(v___x_669_); -v_a_680_ = lean_ctor_get(v___x_670_, 0); -v_isSharedCheck_687_ = !lean_is_exclusive(v___x_670_); -if (v_isSharedCheck_687_ == 0) -{ -v___x_682_ = v___x_670_; -v_isShared_683_ = v_isSharedCheck_687_; -goto v_resetjp_681_; -} -else -{ -lean_inc(v_a_680_); -lean_dec(v___x_670_); -v___x_682_ = lean_box(0); -v_isShared_683_ = v_isSharedCheck_687_; -goto v_resetjp_681_; -} -v_resetjp_681_: -{ -lean_object* v___x_685_; -if (v_isShared_683_ == 0) -{ -v___x_685_ = v___x_682_; -goto v_reusejp_684_; -} -else -{ -lean_object* v_reuseFailAlloc_686_; -v_reuseFailAlloc_686_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_686_, 0, v_a_680_); -v___x_685_ = v_reuseFailAlloc_686_; -goto v_reusejp_684_; -} -v_reusejp_684_: -{ -return v___x_685_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___boxed(lean_object* v_decls_688_, lean_object* v_a_689_, lean_object* v_a_690_, lean_object* v_a_691_, lean_object* v_a_692_, lean_object* v_a_693_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(lean_object* v_decls_899_, lean_object* v_a_900_, lean_object* v_a_901_, lean_object* v_a_902_, lean_object* v_a_903_){ _start: { -lean_object* v_res_694_; -v_res_694_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(v_decls_688_, v_a_689_, v_a_690_, v_a_691_, v_a_692_); -lean_dec_ref(v_decls_688_); -return v_res_694_; +lean_object* v___x_905_; lean_object* v___x_906_; lean_object* v___x_907_; +v___x_905_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___closed__2); +v___x_906_ = lean_st_mk_ref(v___x_905_); +lean_inc(v___x_906_); +v___x_907_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_go(v_decls_899_, v___x_906_, v_a_900_, v_a_901_, v_a_902_, v_a_903_); +if (lean_obj_tag(v___x_907_) == 0) +{ +lean_object* v___x_909_; uint8_t v_isShared_910_; uint8_t v_isSharedCheck_915_; +v_isSharedCheck_915_ = !lean_is_exclusive(v___x_907_); +if (v_isSharedCheck_915_ == 0) +{ +lean_object* v_unused_916_; +v_unused_916_ = lean_ctor_get(v___x_907_, 0); +lean_dec(v_unused_916_); +v___x_909_ = v___x_907_; +v_isShared_910_ = v_isSharedCheck_915_; +goto v_resetjp_908_; +} +else +{ +lean_dec(v___x_907_); +v___x_909_ = lean_box(0); +v_isShared_910_ = v_isSharedCheck_915_; +goto v_resetjp_908_; +} +v_resetjp_908_: +{ +lean_object* v___x_911_; lean_object* v___x_913_; +v___x_911_ = lean_st_ref_get(v___x_906_); +lean_dec(v___x_906_); +if (v_isShared_910_ == 0) +{ +lean_ctor_set(v___x_909_, 0, v___x_911_); +v___x_913_ = v___x_909_; +goto v_reusejp_912_; +} +else +{ +lean_object* v_reuseFailAlloc_914_; +v_reuseFailAlloc_914_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_914_, 0, v___x_911_); +v___x_913_ = v_reuseFailAlloc_914_; +goto v_reusejp_912_; +} +v_reusejp_912_: +{ +return v___x_913_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(lean_object* v_a_695_, lean_object* v_b_696_, lean_object* v___y_697_){ +} +else +{ +lean_object* v_a_917_; lean_object* v___x_919_; uint8_t v_isShared_920_; uint8_t v_isSharedCheck_924_; +lean_dec(v___x_906_); +v_a_917_ = lean_ctor_get(v___x_907_, 0); +v_isSharedCheck_924_ = !lean_is_exclusive(v___x_907_); +if (v_isSharedCheck_924_ == 0) +{ +v___x_919_ = v___x_907_; +v_isShared_920_ = v_isSharedCheck_924_; +goto v_resetjp_918_; +} +else +{ +lean_inc(v_a_917_); +lean_dec(v___x_907_); +v___x_919_ = lean_box(0); +v_isShared_920_ = v_isSharedCheck_924_; +goto v_resetjp_918_; +} +v_resetjp_918_: +{ +lean_object* v___x_922_; +if (v_isShared_920_ == 0) +{ +v___x_922_ = v___x_919_; +goto v_reusejp_921_; +} +else +{ +lean_object* v_reuseFailAlloc_923_; +v_reuseFailAlloc_923_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_923_, 0, v_a_917_); +v___x_922_ = v_reuseFailAlloc_923_; +goto v_reusejp_921_; +} +v_reusejp_921_: +{ +return v___x_922_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap___boxed(lean_object* v_decls_925_, lean_object* v_a_926_, lean_object* v_a_927_, lean_object* v_a_928_, lean_object* v_a_929_, lean_object* v_a_930_){ _start: { -lean_object* v_memoizedLeft_699_; -v_memoizedLeft_699_ = lean_ctor_get(v_a_695_, 1); -lean_inc(v_memoizedLeft_699_); -if (lean_obj_tag(v_memoizedLeft_699_) == 0) +lean_object* v_res_931_; +v_res_931_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(v_decls_925_, v_a_926_, v_a_927_, v_a_928_, v_a_929_); +lean_dec_ref(v_decls_925_); +return v_res_931_; +} +} +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(lean_object* v_a_932_, lean_object* v_b_933_, lean_object* v___y_934_){ +_start: { -lean_object* v_left_700_; lean_object* v_right_701_; lean_object* v___x_703_; uint8_t v_isShared_704_; uint8_t v_isSharedCheck_725_; -v_left_700_ = lean_ctor_get(v_a_695_, 0); -v_right_701_ = lean_ctor_get(v_a_695_, 2); -v_isSharedCheck_725_ = !lean_is_exclusive(v_a_695_); -if (v_isSharedCheck_725_ == 0) +lean_object* v_memoizedLeft_936_; +v_memoizedLeft_936_ = lean_ctor_get(v_a_932_, 1); +lean_inc(v_memoizedLeft_936_); +if (lean_obj_tag(v_memoizedLeft_936_) == 0) { -lean_object* v_unused_726_; -v_unused_726_ = lean_ctor_get(v_a_695_, 1); -lean_dec(v_unused_726_); -v___x_703_ = v_a_695_; -v_isShared_704_ = v_isSharedCheck_725_; -goto v_resetjp_702_; +lean_object* v_left_937_; lean_object* v_right_938_; lean_object* v___x_940_; uint8_t v_isShared_941_; uint8_t v_isSharedCheck_962_; +v_left_937_ = lean_ctor_get(v_a_932_, 0); +v_right_938_ = lean_ctor_get(v_a_932_, 2); +v_isSharedCheck_962_ = !lean_is_exclusive(v_a_932_); +if (v_isSharedCheck_962_ == 0) +{ +lean_object* v_unused_963_; +v_unused_963_ = lean_ctor_get(v_a_932_, 1); +lean_dec(v_unused_963_); +v___x_940_ = v_a_932_; +v_isShared_941_ = v_isSharedCheck_962_; +goto v_resetjp_939_; } else { -lean_inc(v_right_701_); -lean_inc(v_left_700_); -lean_dec(v_a_695_); -v___x_703_ = lean_box(0); -v_isShared_704_ = v_isSharedCheck_725_; -goto v_resetjp_702_; +lean_inc(v_right_938_); +lean_inc(v_left_937_); +lean_dec(v_a_932_); +v___x_940_ = lean_box(0); +v_isShared_941_ = v_isSharedCheck_962_; +goto v_resetjp_939_; } -v_resetjp_702_: +v_resetjp_939_: { -lean_object* v_array_705_; lean_object* v_pos_706_; lean_object* v___x_708_; uint8_t v_isShared_709_; uint8_t v_isSharedCheck_724_; -v_array_705_ = lean_ctor_get(v_left_700_, 0); -v_pos_706_ = lean_ctor_get(v_left_700_, 1); -v_isSharedCheck_724_ = !lean_is_exclusive(v_left_700_); -if (v_isSharedCheck_724_ == 0) +lean_object* v_array_942_; lean_object* v_pos_943_; lean_object* v___x_945_; uint8_t v_isShared_946_; uint8_t v_isSharedCheck_961_; +v_array_942_ = lean_ctor_get(v_left_937_, 0); +v_pos_943_ = lean_ctor_get(v_left_937_, 1); +v_isSharedCheck_961_ = !lean_is_exclusive(v_left_937_); +if (v_isSharedCheck_961_ == 0) { -v___x_708_ = v_left_700_; -v_isShared_709_ = v_isSharedCheck_724_; -goto v_resetjp_707_; +v___x_945_ = v_left_937_; +v_isShared_946_ = v_isSharedCheck_961_; +goto v_resetjp_944_; } else { -lean_inc(v_pos_706_); -lean_inc(v_array_705_); -lean_dec(v_left_700_); -v___x_708_ = lean_box(0); -v_isShared_709_ = v_isSharedCheck_724_; -goto v_resetjp_707_; +lean_inc(v_pos_943_); +lean_inc(v_array_942_); +lean_dec(v_left_937_); +v___x_945_ = lean_box(0); +v_isShared_946_ = v_isSharedCheck_961_; +goto v_resetjp_944_; } -v_resetjp_707_: +v_resetjp_944_: { -lean_object* v___x_710_; uint8_t v___x_711_; -v___x_710_ = lean_array_get_size(v_array_705_); -v___x_711_ = lean_nat_dec_lt(v_pos_706_, v___x_710_); -if (v___x_711_ == 0) +lean_object* v___x_947_; uint8_t v___x_948_; +v___x_947_ = lean_array_get_size(v_array_942_); +v___x_948_ = lean_nat_dec_lt(v_pos_943_, v___x_947_); +if (v___x_948_ == 0) { -lean_object* v___x_712_; -lean_del_object(v___x_708_); -lean_dec(v_pos_706_); -lean_dec_ref(v_array_705_); -lean_del_object(v___x_703_); -lean_dec(v_right_701_); -v___x_712_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_712_, 0, v_b_696_); -return v___x_712_; +lean_object* v___x_949_; +lean_del_object(v___x_945_); +lean_dec(v_pos_943_); +lean_dec_ref(v_array_942_); +lean_del_object(v___x_940_); +lean_dec(v_right_938_); +v___x_949_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_949_, 0, v_b_933_); +return v___x_949_; } else { -lean_object* v___x_713_; lean_object* v___x_714_; lean_object* v___x_716_; -v___x_713_ = lean_unsigned_to_nat(1u); -v___x_714_ = lean_nat_add(v_pos_706_, v___x_713_); -lean_inc_ref(v_array_705_); -if (v_isShared_709_ == 0) +lean_object* v___x_950_; lean_object* v___x_951_; lean_object* v___x_953_; +v___x_950_ = lean_unsigned_to_nat(1u); +v___x_951_ = lean_nat_add(v_pos_943_, v___x_950_); +lean_inc_ref(v_array_942_); +if (v_isShared_946_ == 0) { -lean_ctor_set(v___x_708_, 1, v___x_714_); -v___x_716_ = v___x_708_; -goto v_reusejp_715_; +lean_ctor_set(v___x_945_, 1, v___x_951_); +v___x_953_ = v___x_945_; +goto v_reusejp_952_; } else { -lean_object* v_reuseFailAlloc_723_; -v_reuseFailAlloc_723_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_723_, 0, v_array_705_); -lean_ctor_set(v_reuseFailAlloc_723_, 1, v___x_714_); -v___x_716_ = v_reuseFailAlloc_723_; -goto v_reusejp_715_; +lean_object* v_reuseFailAlloc_960_; +v_reuseFailAlloc_960_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_960_, 0, v_array_942_); +lean_ctor_set(v_reuseFailAlloc_960_, 1, v___x_951_); +v___x_953_ = v_reuseFailAlloc_960_; +goto v_reusejp_952_; } -v_reusejp_715_: +v_reusejp_952_: { -lean_object* v___x_717_; lean_object* v___x_718_; lean_object* v___x_720_; -v___x_717_ = lean_array_fget(v_array_705_, v_pos_706_); -lean_dec(v_pos_706_); -lean_dec_ref(v_array_705_); -v___x_718_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_718_, 0, v___x_717_); -if (v_isShared_704_ == 0) +lean_object* v___x_954_; lean_object* v___x_955_; lean_object* v___x_957_; +v___x_954_ = lean_array_fget(v_array_942_, v_pos_943_); +lean_dec(v_pos_943_); +lean_dec_ref(v_array_942_); +v___x_955_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_955_, 0, v___x_954_); +if (v_isShared_941_ == 0) { -lean_ctor_set(v___x_703_, 1, v___x_718_); -lean_ctor_set(v___x_703_, 0, v___x_716_); -v___x_720_ = v___x_703_; -goto v_reusejp_719_; +lean_ctor_set(v___x_940_, 1, v___x_955_); +lean_ctor_set(v___x_940_, 0, v___x_953_); +v___x_957_ = v___x_940_; +goto v_reusejp_956_; } else { -lean_object* v_reuseFailAlloc_722_; -v_reuseFailAlloc_722_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_722_, 0, v___x_716_); -lean_ctor_set(v_reuseFailAlloc_722_, 1, v___x_718_); -lean_ctor_set(v_reuseFailAlloc_722_, 2, v_right_701_); -v___x_720_ = v_reuseFailAlloc_722_; -goto v_reusejp_719_; +lean_object* v_reuseFailAlloc_959_; +v_reuseFailAlloc_959_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_959_, 0, v___x_953_); +lean_ctor_set(v_reuseFailAlloc_959_, 1, v___x_955_); +lean_ctor_set(v_reuseFailAlloc_959_, 2, v_right_938_); +v___x_957_ = v_reuseFailAlloc_959_; +goto v_reusejp_956_; } -v_reusejp_719_: +v_reusejp_956_: { -v_a_695_ = v___x_720_; +v_a_932_ = v___x_957_; goto _start; } } @@ -2673,209 +3464,209 @@ goto _start; } else { -lean_object* v_right_727_; lean_object* v_left_728_; lean_object* v___x_730_; uint8_t v_isShared_731_; uint8_t v_isSharedCheck_772_; -v_right_727_ = lean_ctor_get(v_a_695_, 2); -v_left_728_ = lean_ctor_get(v_a_695_, 0); -v_isSharedCheck_772_ = !lean_is_exclusive(v_a_695_); -if (v_isSharedCheck_772_ == 0) +lean_object* v_right_964_; lean_object* v_left_965_; lean_object* v___x_967_; uint8_t v_isShared_968_; uint8_t v_isSharedCheck_1009_; +v_right_964_ = lean_ctor_get(v_a_932_, 2); +v_left_965_ = lean_ctor_get(v_a_932_, 0); +v_isSharedCheck_1009_ = !lean_is_exclusive(v_a_932_); +if (v_isSharedCheck_1009_ == 0) { -lean_object* v_unused_773_; -v_unused_773_ = lean_ctor_get(v_a_695_, 1); -lean_dec(v_unused_773_); -v___x_730_ = v_a_695_; -v_isShared_731_ = v_isSharedCheck_772_; -goto v_resetjp_729_; +lean_object* v_unused_1010_; +v_unused_1010_ = lean_ctor_get(v_a_932_, 1); +lean_dec(v_unused_1010_); +v___x_967_ = v_a_932_; +v_isShared_968_ = v_isSharedCheck_1009_; +goto v_resetjp_966_; } else { -lean_inc(v_right_727_); -lean_inc(v_left_728_); -lean_dec(v_a_695_); -v___x_730_ = lean_box(0); -v_isShared_731_ = v_isSharedCheck_772_; -goto v_resetjp_729_; +lean_inc(v_right_964_); +lean_inc(v_left_965_); +lean_dec(v_a_932_); +v___x_967_ = lean_box(0); +v_isShared_968_ = v_isSharedCheck_1009_; +goto v_resetjp_966_; } -v_resetjp_729_: +v_resetjp_966_: { -lean_object* v_val_732_; lean_object* v___x_734_; uint8_t v_isShared_735_; uint8_t v_isSharedCheck_771_; -v_val_732_ = lean_ctor_get(v_memoizedLeft_699_, 0); -v_isSharedCheck_771_ = !lean_is_exclusive(v_memoizedLeft_699_); -if (v_isSharedCheck_771_ == 0) +lean_object* v_val_969_; lean_object* v___x_971_; uint8_t v_isShared_972_; uint8_t v_isSharedCheck_1008_; +v_val_969_ = lean_ctor_get(v_memoizedLeft_936_, 0); +v_isSharedCheck_1008_ = !lean_is_exclusive(v_memoizedLeft_936_); +if (v_isSharedCheck_1008_ == 0) { -v___x_734_ = v_memoizedLeft_699_; -v_isShared_735_ = v_isSharedCheck_771_; -goto v_resetjp_733_; +v___x_971_ = v_memoizedLeft_936_; +v_isShared_972_ = v_isSharedCheck_1008_; +goto v_resetjp_970_; } else { -lean_inc(v_val_732_); -lean_dec(v_memoizedLeft_699_); -v___x_734_ = lean_box(0); -v_isShared_735_ = v_isSharedCheck_771_; -goto v_resetjp_733_; +lean_inc(v_val_969_); +lean_dec(v_memoizedLeft_936_); +v___x_971_ = lean_box(0); +v_isShared_972_ = v_isSharedCheck_1008_; +goto v_resetjp_970_; } -v_resetjp_733_: +v_resetjp_970_: { -lean_object* v_array_736_; lean_object* v_pos_737_; lean_object* v___x_739_; uint8_t v_isShared_740_; uint8_t v_isSharedCheck_770_; -v_array_736_ = lean_ctor_get(v_right_727_, 0); -v_pos_737_ = lean_ctor_get(v_right_727_, 1); -v_isSharedCheck_770_ = !lean_is_exclusive(v_right_727_); -if (v_isSharedCheck_770_ == 0) +lean_object* v_array_973_; lean_object* v_pos_974_; lean_object* v___x_976_; uint8_t v_isShared_977_; uint8_t v_isSharedCheck_1007_; +v_array_973_ = lean_ctor_get(v_right_964_, 0); +v_pos_974_ = lean_ctor_get(v_right_964_, 1); +v_isSharedCheck_1007_ = !lean_is_exclusive(v_right_964_); +if (v_isSharedCheck_1007_ == 0) { -v___x_739_ = v_right_727_; -v_isShared_740_ = v_isSharedCheck_770_; -goto v_resetjp_738_; +v___x_976_ = v_right_964_; +v_isShared_977_ = v_isSharedCheck_1007_; +goto v_resetjp_975_; } else { -lean_inc(v_pos_737_); -lean_inc(v_array_736_); -lean_dec(v_right_727_); -v___x_739_ = lean_box(0); -v_isShared_740_ = v_isSharedCheck_770_; -goto v_resetjp_738_; +lean_inc(v_pos_974_); +lean_inc(v_array_973_); +lean_dec(v_right_964_); +v___x_976_ = lean_box(0); +v_isShared_977_ = v_isSharedCheck_1007_; +goto v_resetjp_975_; } -v_resetjp_738_: +v_resetjp_975_: { -lean_object* v___x_741_; uint8_t v___x_742_; -v___x_741_ = lean_array_get_size(v_array_736_); -v___x_742_ = lean_nat_dec_lt(v_pos_737_, v___x_741_); -if (v___x_742_ == 0) +lean_object* v___x_978_; uint8_t v___x_979_; +v___x_978_ = lean_array_get_size(v_array_973_); +v___x_979_ = lean_nat_dec_lt(v_pos_974_, v___x_978_); +if (v___x_979_ == 0) { -lean_object* v___x_744_; -lean_del_object(v___x_739_); -lean_dec(v_pos_737_); -lean_dec_ref(v_array_736_); -lean_dec(v_val_732_); -lean_del_object(v___x_730_); -lean_dec(v_left_728_); -if (v_isShared_735_ == 0) +lean_object* v___x_981_; +lean_del_object(v___x_976_); +lean_dec(v_pos_974_); +lean_dec_ref(v_array_973_); +lean_dec(v_val_969_); +lean_del_object(v___x_967_); +lean_dec(v_left_965_); +if (v_isShared_972_ == 0) { -lean_ctor_set_tag(v___x_734_, 0); -lean_ctor_set(v___x_734_, 0, v_b_696_); -v___x_744_ = v___x_734_; -goto v_reusejp_743_; +lean_ctor_set_tag(v___x_971_, 0); +lean_ctor_set(v___x_971_, 0, v_b_933_); +v___x_981_ = v___x_971_; +goto v_reusejp_980_; } else { -lean_object* v_reuseFailAlloc_745_; -v_reuseFailAlloc_745_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_745_, 0, v_b_696_); -v___x_744_ = v_reuseFailAlloc_745_; -goto v_reusejp_743_; +lean_object* v_reuseFailAlloc_982_; +v_reuseFailAlloc_982_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_982_, 0, v_b_933_); +v___x_981_ = v_reuseFailAlloc_982_; +goto v_reusejp_980_; } -v_reusejp_743_: +v_reusejp_980_: { -return v___x_744_; +return v___x_981_; } } else { -lean_object* v___x_746_; uint8_t v_borrow_747_; uint8_t v___x_748_; lean_object* v___x_749_; -lean_del_object(v___x_734_); -v___x_746_ = lean_array_fget_borrowed(v_array_736_, v_pos_737_); -v_borrow_747_ = lean_ctor_get_uint8(v___x_746_, sizeof(void*)*3); -v___x_748_ = 1; -v___x_749_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamBorrowImp___redArg(v___x_748_, v_val_732_, v_borrow_747_, v___y_697_); -if (lean_obj_tag(v___x_749_) == 0) +lean_object* v___x_983_; uint8_t v_borrow_984_; uint8_t v___x_985_; lean_object* v___x_986_; +lean_del_object(v___x_971_); +v___x_983_ = lean_array_fget_borrowed(v_array_973_, v_pos_974_); +v_borrow_984_ = lean_ctor_get_uint8(v___x_983_, sizeof(void*)*3); +v___x_985_ = 1; +v___x_986_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamBorrowImp___redArg(v___x_985_, v_val_969_, v_borrow_984_, v___y_934_); +if (lean_obj_tag(v___x_986_) == 0) { -lean_object* v_a_750_; lean_object* v___x_751_; lean_object* v___x_752_; lean_object* v___x_754_; -v_a_750_ = lean_ctor_get(v___x_749_, 0); -lean_inc(v_a_750_); -lean_dec_ref(v___x_749_); -v___x_751_ = lean_unsigned_to_nat(1u); -v___x_752_ = lean_nat_add(v_pos_737_, v___x_751_); -lean_dec(v_pos_737_); -if (v_isShared_740_ == 0) +lean_object* v_a_987_; lean_object* v___x_988_; lean_object* v___x_989_; lean_object* v___x_991_; +v_a_987_ = lean_ctor_get(v___x_986_, 0); +lean_inc(v_a_987_); +lean_dec_ref(v___x_986_); +v___x_988_ = lean_unsigned_to_nat(1u); +v___x_989_ = lean_nat_add(v_pos_974_, v___x_988_); +lean_dec(v_pos_974_); +if (v_isShared_977_ == 0) { -lean_ctor_set(v___x_739_, 1, v___x_752_); -v___x_754_ = v___x_739_; -goto v_reusejp_753_; +lean_ctor_set(v___x_976_, 1, v___x_989_); +v___x_991_ = v___x_976_; +goto v_reusejp_990_; } else { -lean_object* v_reuseFailAlloc_761_; -v_reuseFailAlloc_761_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_761_, 0, v_array_736_); -lean_ctor_set(v_reuseFailAlloc_761_, 1, v___x_752_); -v___x_754_ = v_reuseFailAlloc_761_; -goto v_reusejp_753_; +lean_object* v_reuseFailAlloc_998_; +v_reuseFailAlloc_998_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_998_, 0, v_array_973_); +lean_ctor_set(v_reuseFailAlloc_998_, 1, v___x_989_); +v___x_991_ = v_reuseFailAlloc_998_; +goto v_reusejp_990_; } -v_reusejp_753_: +v_reusejp_990_: { -lean_object* v___x_755_; lean_object* v___x_757_; -v___x_755_ = lean_box(0); -if (v_isShared_731_ == 0) +lean_object* v___x_992_; lean_object* v___x_994_; +v___x_992_ = lean_box(0); +if (v_isShared_968_ == 0) { -lean_ctor_set(v___x_730_, 2, v___x_754_); -lean_ctor_set(v___x_730_, 1, v___x_755_); -v___x_757_ = v___x_730_; -goto v_reusejp_756_; +lean_ctor_set(v___x_967_, 2, v___x_991_); +lean_ctor_set(v___x_967_, 1, v___x_992_); +v___x_994_ = v___x_967_; +goto v_reusejp_993_; } else { -lean_object* v_reuseFailAlloc_760_; -v_reuseFailAlloc_760_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_760_, 0, v_left_728_); -lean_ctor_set(v_reuseFailAlloc_760_, 1, v___x_755_); -lean_ctor_set(v_reuseFailAlloc_760_, 2, v___x_754_); -v___x_757_ = v_reuseFailAlloc_760_; -goto v_reusejp_756_; +lean_object* v_reuseFailAlloc_997_; +v_reuseFailAlloc_997_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_997_, 0, v_left_965_); +lean_ctor_set(v_reuseFailAlloc_997_, 1, v___x_992_); +lean_ctor_set(v_reuseFailAlloc_997_, 2, v___x_991_); +v___x_994_ = v_reuseFailAlloc_997_; +goto v_reusejp_993_; } -v_reusejp_756_: +v_reusejp_993_: { -lean_object* v___x_758_; -v___x_758_ = lean_array_push(v_b_696_, v_a_750_); -v_a_695_ = v___x_757_; -v_b_696_ = v___x_758_; +lean_object* v___x_995_; +v___x_995_ = lean_array_push(v_b_933_, v_a_987_); +v_a_932_ = v___x_994_; +v_b_933_ = v___x_995_; goto _start; } } } else { -lean_object* v_a_762_; lean_object* v___x_764_; uint8_t v_isShared_765_; uint8_t v_isSharedCheck_769_; -lean_del_object(v___x_739_); -lean_dec(v_pos_737_); -lean_dec_ref(v_array_736_); -lean_del_object(v___x_730_); -lean_dec(v_left_728_); -lean_dec_ref(v_b_696_); -v_a_762_ = lean_ctor_get(v___x_749_, 0); -v_isSharedCheck_769_ = !lean_is_exclusive(v___x_749_); -if (v_isSharedCheck_769_ == 0) +lean_object* v_a_999_; lean_object* v___x_1001_; uint8_t v_isShared_1002_; uint8_t v_isSharedCheck_1006_; +lean_del_object(v___x_976_); +lean_dec(v_pos_974_); +lean_dec_ref(v_array_973_); +lean_del_object(v___x_967_); +lean_dec(v_left_965_); +lean_dec_ref(v_b_933_); +v_a_999_ = lean_ctor_get(v___x_986_, 0); +v_isSharedCheck_1006_ = !lean_is_exclusive(v___x_986_); +if (v_isSharedCheck_1006_ == 0) { -v___x_764_ = v___x_749_; -v_isShared_765_ = v_isSharedCheck_769_; -goto v_resetjp_763_; +v___x_1001_ = v___x_986_; +v_isShared_1002_ = v_isSharedCheck_1006_; +goto v_resetjp_1000_; } else { -lean_inc(v_a_762_); -lean_dec(v___x_749_); -v___x_764_ = lean_box(0); -v_isShared_765_ = v_isSharedCheck_769_; -goto v_resetjp_763_; +lean_inc(v_a_999_); +lean_dec(v___x_986_); +v___x_1001_ = lean_box(0); +v_isShared_1002_ = v_isSharedCheck_1006_; +goto v_resetjp_1000_; } -v_resetjp_763_: +v_resetjp_1000_: { -lean_object* v___x_767_; -if (v_isShared_765_ == 0) +lean_object* v___x_1004_; +if (v_isShared_1002_ == 0) { -v___x_767_ = v___x_764_; -goto v_reusejp_766_; +v___x_1004_ = v___x_1001_; +goto v_reusejp_1003_; } else { -lean_object* v_reuseFailAlloc_768_; -v_reuseFailAlloc_768_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_768_, 0, v_a_762_); -v___x_767_ = v_reuseFailAlloc_768_; -goto v_reusejp_766_; +lean_object* v_reuseFailAlloc_1005_; +v_reuseFailAlloc_1005_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1005_, 0, v_a_999_); +v___x_1004_ = v_reuseFailAlloc_1005_; +goto v_reusejp_1003_; } -v_reusejp_766_: +v_reusejp_1003_: { -return v___x_767_; +return v___x_1004_; } } } @@ -2886,3656 +3677,3777 @@ return v___x_767_; } } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg___boxed(lean_object* v_a_774_, lean_object* v_b_775_, lean_object* v___y_776_, lean_object* v___y_777_){ +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg___boxed(lean_object* v_a_1011_, lean_object* v_b_1012_, lean_object* v___y_1013_, lean_object* v___y_1014_){ _start: { -lean_object* v_res_778_; -v_res_778_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v_a_774_, v_b_775_, v___y_776_); -lean_dec(v___y_776_); -return v_res_778_; +lean_object* v_res_1015_; +v_res_1015_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v_a_1011_, v_b_1012_, v___y_1013_); +lean_dec(v___y_1013_); +return v_res_1015_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(lean_object* v_ps_781_, lean_object* v_borrows_782_, lean_object* v_a_783_, lean_object* v_a_784_, lean_object* v_a_785_, lean_object* v_a_786_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(lean_object* v_ps_1018_, lean_object* v_borrows_1019_, lean_object* v_a_1020_, lean_object* v_a_1021_, lean_object* v_a_1022_, lean_object* v_a_1023_){ _start: { -lean_object* v___x_788_; lean_object* v___x_789_; lean_object* v___x_790_; lean_object* v___x_791_; lean_object* v___x_792_; lean_object* v___x_793_; lean_object* v___x_794_; -v___x_788_ = lean_unsigned_to_nat(0u); -v___x_789_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_789_, 0, v_ps_781_); -lean_ctor_set(v___x_789_, 1, v___x_788_); -v___x_790_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_790_, 0, v_borrows_782_); -lean_ctor_set(v___x_790_, 1, v___x_788_); -v___x_791_ = lean_box(0); -v___x_792_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_792_, 0, v___x_789_); -lean_ctor_set(v___x_792_, 1, v___x_791_); -lean_ctor_set(v___x_792_, 2, v___x_790_); -v___x_793_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams___closed__0)); -v___x_794_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v___x_792_, v___x_793_, v_a_784_); -return v___x_794_; +lean_object* v___x_1025_; lean_object* v___x_1026_; lean_object* v___x_1027_; lean_object* v___x_1028_; lean_object* v___x_1029_; lean_object* v___x_1030_; lean_object* v___x_1031_; +v___x_1025_ = lean_unsigned_to_nat(0u); +v___x_1026_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1026_, 0, v_ps_1018_); +lean_ctor_set(v___x_1026_, 1, v___x_1025_); +v___x_1027_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1027_, 0, v_borrows_1019_); +lean_ctor_set(v___x_1027_, 1, v___x_1025_); +v___x_1028_ = lean_box(0); +v___x_1029_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_1029_, 0, v___x_1026_); +lean_ctor_set(v___x_1029_, 1, v___x_1028_); +lean_ctor_set(v___x_1029_, 2, v___x_1027_); +v___x_1030_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams___closed__0)); +v___x_1031_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v___x_1029_, v___x_1030_, v_a_1021_); +return v___x_1031_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams___boxed(lean_object* v_ps_795_, lean_object* v_borrows_796_, lean_object* v_a_797_, lean_object* v_a_798_, lean_object* v_a_799_, lean_object* v_a_800_, lean_object* v_a_801_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams___boxed(lean_object* v_ps_1032_, lean_object* v_borrows_1033_, lean_object* v_a_1034_, lean_object* v_a_1035_, lean_object* v_a_1036_, lean_object* v_a_1037_, lean_object* v_a_1038_){ _start: { -lean_object* v_res_802_; -v_res_802_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_ps_795_, v_borrows_796_, v_a_797_, v_a_798_, v_a_799_, v_a_800_); -lean_dec(v_a_800_); -lean_dec_ref(v_a_799_); -lean_dec(v_a_798_); -lean_dec_ref(v_a_797_); -return v_res_802_; +lean_object* v_res_1039_; +v_res_1039_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_ps_1032_, v_borrows_1033_, v_a_1034_, v_a_1035_, v_a_1036_, v_a_1037_); +lean_dec(v_a_1037_); +lean_dec_ref(v_a_1036_); +lean_dec(v_a_1035_); +lean_dec_ref(v_a_1034_); +return v_res_1039_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0(lean_object* v_inst_803_, lean_object* v_R_804_, lean_object* v_a_805_, lean_object* v_b_806_, lean_object* v___y_807_, lean_object* v___y_808_, lean_object* v___y_809_, lean_object* v___y_810_){ +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0(lean_object* v_inst_1040_, lean_object* v_R_1041_, lean_object* v_a_1042_, lean_object* v_b_1043_, lean_object* v___y_1044_, lean_object* v___y_1045_, lean_object* v___y_1046_, lean_object* v___y_1047_){ _start: { -lean_object* v___x_812_; -v___x_812_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v_a_805_, v_b_806_, v___y_808_); -return v___x_812_; +lean_object* v___x_1049_; +v___x_1049_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___redArg(v_a_1042_, v_b_1043_, v___y_1045_); +return v___x_1049_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___boxed(lean_object* v_inst_813_, lean_object* v_R_814_, lean_object* v_a_815_, lean_object* v_b_816_, lean_object* v___y_817_, lean_object* v___y_818_, lean_object* v___y_819_, lean_object* v___y_820_, lean_object* v___y_821_){ +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0___boxed(lean_object* v_inst_1050_, lean_object* v_R_1051_, lean_object* v_a_1052_, lean_object* v_b_1053_, lean_object* v___y_1054_, lean_object* v___y_1055_, lean_object* v___y_1056_, lean_object* v___y_1057_, lean_object* v___y_1058_){ _start: { -lean_object* v_res_822_; -v_res_822_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0(v_inst_813_, v_R_814_, v_a_815_, v_b_816_, v___y_817_, v___y_818_, v___y_819_, v___y_820_); -lean_dec(v___y_820_); -lean_dec_ref(v___y_819_); -lean_dec(v___y_818_); -lean_dec_ref(v___y_817_); -return v_res_822_; +lean_object* v_res_1059_; +v_res_1059_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams_spec__0(v_inst_1050_, v_R_1051_, v_a_1052_, v_b_1053_, v___y_1054_, v___y_1055_, v___y_1056_, v___y_1057_); +lean_dec(v___y_1057_); +lean_dec_ref(v___y_1056_); +lean_dec(v___y_1055_); +lean_dec_ref(v___y_1054_); +return v_res_1059_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(lean_object* v_alt_823_, lean_object* v_f_824_, lean_object* v___y_825_, lean_object* v___y_826_, lean_object* v___y_827_, lean_object* v___y_828_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(lean_object* v_alt_1060_, lean_object* v_f_1061_, lean_object* v___y_1062_, lean_object* v___y_1063_, lean_object* v___y_1064_, lean_object* v___y_1065_){ _start: { -lean_object* v___y_831_; -switch(lean_obj_tag(v_alt_823_)) +lean_object* v___y_1068_; +switch(lean_obj_tag(v_alt_1060_)) { case 0: { -lean_object* v_code_850_; -v_code_850_ = lean_ctor_get(v_alt_823_, 2); -lean_inc_ref(v_code_850_); -v___y_831_ = v_code_850_; -goto v___jp_830_; +lean_object* v_code_1087_; +v_code_1087_ = lean_ctor_get(v_alt_1060_, 2); +lean_inc_ref(v_code_1087_); +v___y_1068_ = v_code_1087_; +goto v___jp_1067_; } case 1: { -lean_object* v_code_851_; -v_code_851_ = lean_ctor_get(v_alt_823_, 1); -lean_inc_ref(v_code_851_); -v___y_831_ = v_code_851_; -goto v___jp_830_; +lean_object* v_code_1088_; +v_code_1088_ = lean_ctor_get(v_alt_1060_, 1); +lean_inc_ref(v_code_1088_); +v___y_1068_ = v_code_1088_; +goto v___jp_1067_; } default: { -lean_object* v_code_852_; -v_code_852_ = lean_ctor_get(v_alt_823_, 0); -lean_inc_ref(v_code_852_); -v___y_831_ = v_code_852_; -goto v___jp_830_; +lean_object* v_code_1089_; +v_code_1089_ = lean_ctor_get(v_alt_1060_, 0); +lean_inc_ref(v_code_1089_); +v___y_1068_ = v_code_1089_; +goto v___jp_1067_; } } -v___jp_830_: +v___jp_1067_: { -lean_object* v___x_832_; -v___x_832_ = lean_apply_6(v_f_824_, v___y_831_, v___y_825_, v___y_826_, v___y_827_, v___y_828_, lean_box(0)); -if (lean_obj_tag(v___x_832_) == 0) +lean_object* v___x_1069_; +v___x_1069_ = lean_apply_6(v_f_1061_, v___y_1068_, v___y_1062_, v___y_1063_, v___y_1064_, v___y_1065_, lean_box(0)); +if (lean_obj_tag(v___x_1069_) == 0) { -lean_object* v_a_833_; lean_object* v___x_835_; uint8_t v_isShared_836_; uint8_t v_isSharedCheck_841_; -v_a_833_ = lean_ctor_get(v___x_832_, 0); -v_isSharedCheck_841_ = !lean_is_exclusive(v___x_832_); -if (v_isSharedCheck_841_ == 0) +lean_object* v_a_1070_; lean_object* v___x_1072_; uint8_t v_isShared_1073_; uint8_t v_isSharedCheck_1078_; +v_a_1070_ = lean_ctor_get(v___x_1069_, 0); +v_isSharedCheck_1078_ = !lean_is_exclusive(v___x_1069_); +if (v_isSharedCheck_1078_ == 0) { -v___x_835_ = v___x_832_; -v_isShared_836_ = v_isSharedCheck_841_; -goto v_resetjp_834_; +v___x_1072_ = v___x_1069_; +v_isShared_1073_ = v_isSharedCheck_1078_; +goto v_resetjp_1071_; } else { -lean_inc(v_a_833_); -lean_dec(v___x_832_); -v___x_835_ = lean_box(0); -v_isShared_836_ = v_isSharedCheck_841_; -goto v_resetjp_834_; +lean_inc(v_a_1070_); +lean_dec(v___x_1069_); +v___x_1072_ = lean_box(0); +v_isShared_1073_ = v_isSharedCheck_1078_; +goto v_resetjp_1071_; } -v_resetjp_834_: +v_resetjp_1071_: { -lean_object* v___x_837_; lean_object* v___x_839_; -v___x_837_ = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp___redArg(v_alt_823_, v_a_833_); -if (v_isShared_836_ == 0) +lean_object* v___x_1074_; lean_object* v___x_1076_; +v___x_1074_ = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp___redArg(v_alt_1060_, v_a_1070_); +if (v_isShared_1073_ == 0) { -lean_ctor_set(v___x_835_, 0, v___x_837_); -v___x_839_ = v___x_835_; -goto v_reusejp_838_; +lean_ctor_set(v___x_1072_, 0, v___x_1074_); +v___x_1076_ = v___x_1072_; +goto v_reusejp_1075_; } else { -lean_object* v_reuseFailAlloc_840_; -v_reuseFailAlloc_840_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_840_, 0, v___x_837_); -v___x_839_ = v_reuseFailAlloc_840_; -goto v_reusejp_838_; +lean_object* v_reuseFailAlloc_1077_; +v_reuseFailAlloc_1077_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1077_, 0, v___x_1074_); +v___x_1076_ = v_reuseFailAlloc_1077_; +goto v_reusejp_1075_; } -v_reusejp_838_: +v_reusejp_1075_: { -return v___x_839_; +return v___x_1076_; } } } else { -lean_object* v_a_842_; lean_object* v___x_844_; uint8_t v_isShared_845_; uint8_t v_isSharedCheck_849_; -lean_dec_ref(v_alt_823_); -v_a_842_ = lean_ctor_get(v___x_832_, 0); -v_isSharedCheck_849_ = !lean_is_exclusive(v___x_832_); -if (v_isSharedCheck_849_ == 0) +lean_object* v_a_1079_; lean_object* v___x_1081_; uint8_t v_isShared_1082_; uint8_t v_isSharedCheck_1086_; +lean_dec_ref(v_alt_1060_); +v_a_1079_ = lean_ctor_get(v___x_1069_, 0); +v_isSharedCheck_1086_ = !lean_is_exclusive(v___x_1069_); +if (v_isSharedCheck_1086_ == 0) { -v___x_844_ = v___x_832_; -v_isShared_845_ = v_isSharedCheck_849_; -goto v_resetjp_843_; +v___x_1081_ = v___x_1069_; +v_isShared_1082_ = v_isSharedCheck_1086_; +goto v_resetjp_1080_; } else { -lean_inc(v_a_842_); -lean_dec(v___x_832_); -v___x_844_ = lean_box(0); -v_isShared_845_ = v_isSharedCheck_849_; -goto v_resetjp_843_; +lean_inc(v_a_1079_); +lean_dec(v___x_1069_); +v___x_1081_ = lean_box(0); +v_isShared_1082_ = v_isSharedCheck_1086_; +goto v_resetjp_1080_; } -v_resetjp_843_: +v_resetjp_1080_: { -lean_object* v___x_847_; -if (v_isShared_845_ == 0) +lean_object* v___x_1084_; +if (v_isShared_1082_ == 0) { -v___x_847_ = v___x_844_; -goto v_reusejp_846_; +v___x_1084_ = v___x_1081_; +goto v_reusejp_1083_; } else { -lean_object* v_reuseFailAlloc_848_; -v_reuseFailAlloc_848_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_848_, 0, v_a_842_); -v___x_847_ = v_reuseFailAlloc_848_; -goto v_reusejp_846_; +lean_object* v_reuseFailAlloc_1085_; +v_reuseFailAlloc_1085_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1085_, 0, v_a_1079_); +v___x_1084_ = v_reuseFailAlloc_1085_; +goto v_reusejp_1083_; } -v_reusejp_846_: +v_reusejp_1083_: { -return v___x_847_; +return v___x_1084_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg___boxed(lean_object* v_alt_853_, lean_object* v_f_854_, lean_object* v___y_855_, lean_object* v___y_856_, lean_object* v___y_857_, lean_object* v___y_858_, lean_object* v___y_859_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg___boxed(lean_object* v_alt_1090_, lean_object* v_f_1091_, lean_object* v___y_1092_, lean_object* v___y_1093_, lean_object* v___y_1094_, lean_object* v___y_1095_, lean_object* v___y_1096_){ _start: { -lean_object* v_res_860_; -v_res_860_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_alt_853_, v_f_854_, v___y_855_, v___y_856_, v___y_857_, v___y_858_); -return v_res_860_; +lean_object* v_res_1097_; +v_res_1097_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_alt_1090_, v_f_1091_, v___y_1092_, v___y_1093_, v___y_1094_, v___y_1095_); +return v_res_1097_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1(uint8_t v_pu_861_, lean_object* v_alt_862_, lean_object* v_f_863_, lean_object* v___y_864_, lean_object* v___y_865_, lean_object* v___y_866_, lean_object* v___y_867_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1(uint8_t v_pu_1098_, lean_object* v_alt_1099_, lean_object* v_f_1100_, lean_object* v___y_1101_, lean_object* v___y_1102_, lean_object* v___y_1103_, lean_object* v___y_1104_){ _start: { -lean_object* v___x_869_; -v___x_869_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_alt_862_, v_f_863_, v___y_864_, v___y_865_, v___y_866_, v___y_867_); -return v___x_869_; +lean_object* v___x_1106_; +v___x_1106_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_alt_1099_, v_f_1100_, v___y_1101_, v___y_1102_, v___y_1103_, v___y_1104_); +return v___x_1106_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___boxed(lean_object* v_pu_870_, lean_object* v_alt_871_, lean_object* v_f_872_, lean_object* v___y_873_, lean_object* v___y_874_, lean_object* v___y_875_, lean_object* v___y_876_, lean_object* v___y_877_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___boxed(lean_object* v_pu_1107_, lean_object* v_alt_1108_, lean_object* v_f_1109_, lean_object* v___y_1110_, lean_object* v___y_1111_, lean_object* v___y_1112_, lean_object* v___y_1113_, lean_object* v___y_1114_){ _start: { -uint8_t v_pu_boxed_878_; lean_object* v_res_879_; -v_pu_boxed_878_ = lean_unbox(v_pu_870_); -v_res_879_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1(v_pu_boxed_878_, v_alt_871_, v_f_872_, v___y_873_, v___y_874_, v___y_875_, v___y_876_); -return v_res_879_; +uint8_t v_pu_boxed_1115_; lean_object* v_res_1116_; +v_pu_boxed_1115_ = lean_unbox(v_pu_1107_); +v_res_1116_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1(v_pu_boxed_1115_, v_alt_1108_, v_f_1109_, v___y_1110_, v___y_1111_, v___y_1112_, v___y_1113_); +return v_res_1116_; } } static lean_object* _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0(void){ _start: { -uint8_t v___x_880_; lean_object* v___x_881_; -v___x_880_ = 1; -v___x_881_ = l_Lean_Compiler_LCNF_instInhabitedCode_default__1(v___x_880_); -return v___x_881_; +uint8_t v___x_1117_; lean_object* v___x_1118_; +v___x_1117_ = 1; +v___x_1118_ = l_Lean_Compiler_LCNF_instInhabitedCode_default__1(v___x_1117_); +return v___x_1118_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(lean_object* v_msg_882_, lean_object* v___y_883_, lean_object* v___y_884_, lean_object* v___y_885_, lean_object* v___y_886_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(lean_object* v_msg_1119_, lean_object* v___y_1120_, lean_object* v___y_1121_, lean_object* v___y_1122_, lean_object* v___y_1123_){ _start: { -lean_object* v___x_888_; lean_object* v___x_889_; lean_object* v_toApplicative_890_; lean_object* v___x_892_; uint8_t v_isShared_893_; uint8_t v_isSharedCheck_923_; -v___x_888_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_889_ = l_ReaderT_instMonad___redArg(v___x_888_); -v_toApplicative_890_ = lean_ctor_get(v___x_889_, 0); -v_isSharedCheck_923_ = !lean_is_exclusive(v___x_889_); -if (v_isSharedCheck_923_ == 0) +lean_object* v___x_1125_; lean_object* v___x_1126_; lean_object* v_toApplicative_1127_; lean_object* v___x_1129_; uint8_t v_isShared_1130_; uint8_t v_isSharedCheck_1160_; +v___x_1125_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_1126_ = l_ReaderT_instMonad___redArg(v___x_1125_); +v_toApplicative_1127_ = lean_ctor_get(v___x_1126_, 0); +v_isSharedCheck_1160_ = !lean_is_exclusive(v___x_1126_); +if (v_isSharedCheck_1160_ == 0) { -lean_object* v_unused_924_; -v_unused_924_ = lean_ctor_get(v___x_889_, 1); -lean_dec(v_unused_924_); -v___x_892_ = v___x_889_; -v_isShared_893_ = v_isSharedCheck_923_; -goto v_resetjp_891_; +lean_object* v_unused_1161_; +v_unused_1161_ = lean_ctor_get(v___x_1126_, 1); +lean_dec(v_unused_1161_); +v___x_1129_ = v___x_1126_; +v_isShared_1130_ = v_isSharedCheck_1160_; +goto v_resetjp_1128_; } else { -lean_inc(v_toApplicative_890_); -lean_dec(v___x_889_); -v___x_892_ = lean_box(0); -v_isShared_893_ = v_isSharedCheck_923_; -goto v_resetjp_891_; +lean_inc(v_toApplicative_1127_); +lean_dec(v___x_1126_); +v___x_1129_ = lean_box(0); +v_isShared_1130_ = v_isSharedCheck_1160_; +goto v_resetjp_1128_; } -v_resetjp_891_: +v_resetjp_1128_: { -lean_object* v_toFunctor_894_; lean_object* v_toSeq_895_; lean_object* v_toSeqLeft_896_; lean_object* v_toSeqRight_897_; lean_object* v___x_899_; uint8_t v_isShared_900_; uint8_t v_isSharedCheck_921_; -v_toFunctor_894_ = lean_ctor_get(v_toApplicative_890_, 0); -v_toSeq_895_ = lean_ctor_get(v_toApplicative_890_, 2); -v_toSeqLeft_896_ = lean_ctor_get(v_toApplicative_890_, 3); -v_toSeqRight_897_ = lean_ctor_get(v_toApplicative_890_, 4); -v_isSharedCheck_921_ = !lean_is_exclusive(v_toApplicative_890_); -if (v_isSharedCheck_921_ == 0) +lean_object* v_toFunctor_1131_; lean_object* v_toSeq_1132_; lean_object* v_toSeqLeft_1133_; lean_object* v_toSeqRight_1134_; lean_object* v___x_1136_; uint8_t v_isShared_1137_; uint8_t v_isSharedCheck_1158_; +v_toFunctor_1131_ = lean_ctor_get(v_toApplicative_1127_, 0); +v_toSeq_1132_ = lean_ctor_get(v_toApplicative_1127_, 2); +v_toSeqLeft_1133_ = lean_ctor_get(v_toApplicative_1127_, 3); +v_toSeqRight_1134_ = lean_ctor_get(v_toApplicative_1127_, 4); +v_isSharedCheck_1158_ = !lean_is_exclusive(v_toApplicative_1127_); +if (v_isSharedCheck_1158_ == 0) { -lean_object* v_unused_922_; -v_unused_922_ = lean_ctor_get(v_toApplicative_890_, 1); -lean_dec(v_unused_922_); -v___x_899_ = v_toApplicative_890_; -v_isShared_900_ = v_isSharedCheck_921_; -goto v_resetjp_898_; +lean_object* v_unused_1159_; +v_unused_1159_ = lean_ctor_get(v_toApplicative_1127_, 1); +lean_dec(v_unused_1159_); +v___x_1136_ = v_toApplicative_1127_; +v_isShared_1137_ = v_isSharedCheck_1158_; +goto v_resetjp_1135_; } else { -lean_inc(v_toSeqRight_897_); -lean_inc(v_toSeqLeft_896_); -lean_inc(v_toSeq_895_); -lean_inc(v_toFunctor_894_); -lean_dec(v_toApplicative_890_); -v___x_899_ = lean_box(0); -v_isShared_900_ = v_isSharedCheck_921_; -goto v_resetjp_898_; +lean_inc(v_toSeqRight_1134_); +lean_inc(v_toSeqLeft_1133_); +lean_inc(v_toSeq_1132_); +lean_inc(v_toFunctor_1131_); +lean_dec(v_toApplicative_1127_); +v___x_1136_ = lean_box(0); +v_isShared_1137_ = v_isSharedCheck_1158_; +goto v_resetjp_1135_; } -v_resetjp_898_: +v_resetjp_1135_: { -lean_object* v___f_901_; lean_object* v___f_902_; lean_object* v___f_903_; lean_object* v___f_904_; lean_object* v___x_905_; lean_object* v___f_906_; lean_object* v___f_907_; lean_object* v___f_908_; lean_object* v___x_910_; -v___f_901_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_902_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_894_); -v___f_903_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_903_, 0, v_toFunctor_894_); -v___f_904_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_904_, 0, v_toFunctor_894_); -v___x_905_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_905_, 0, v___f_903_); -lean_ctor_set(v___x_905_, 1, v___f_904_); -v___f_906_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_906_, 0, v_toSeqRight_897_); -v___f_907_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_907_, 0, v_toSeqLeft_896_); -v___f_908_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_908_, 0, v_toSeq_895_); -if (v_isShared_900_ == 0) +lean_object* v___f_1138_; lean_object* v___f_1139_; lean_object* v___f_1140_; lean_object* v___f_1141_; lean_object* v___x_1142_; lean_object* v___f_1143_; lean_object* v___f_1144_; lean_object* v___f_1145_; lean_object* v___x_1147_; +v___f_1138_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_1139_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_1131_); +v___f_1140_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_1140_, 0, v_toFunctor_1131_); +v___f_1141_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1141_, 0, v_toFunctor_1131_); +v___x_1142_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1142_, 0, v___f_1140_); +lean_ctor_set(v___x_1142_, 1, v___f_1141_); +v___f_1143_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1143_, 0, v_toSeqRight_1134_); +v___f_1144_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_1144_, 0, v_toSeqLeft_1133_); +v___f_1145_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_1145_, 0, v_toSeq_1132_); +if (v_isShared_1137_ == 0) { -lean_ctor_set(v___x_899_, 4, v___f_906_); -lean_ctor_set(v___x_899_, 3, v___f_907_); -lean_ctor_set(v___x_899_, 2, v___f_908_); -lean_ctor_set(v___x_899_, 1, v___f_901_); -lean_ctor_set(v___x_899_, 0, v___x_905_); -v___x_910_ = v___x_899_; -goto v_reusejp_909_; +lean_ctor_set(v___x_1136_, 4, v___f_1143_); +lean_ctor_set(v___x_1136_, 3, v___f_1144_); +lean_ctor_set(v___x_1136_, 2, v___f_1145_); +lean_ctor_set(v___x_1136_, 1, v___f_1138_); +lean_ctor_set(v___x_1136_, 0, v___x_1142_); +v___x_1147_ = v___x_1136_; +goto v_reusejp_1146_; } else { -lean_object* v_reuseFailAlloc_920_; -v_reuseFailAlloc_920_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_920_, 0, v___x_905_); -lean_ctor_set(v_reuseFailAlloc_920_, 1, v___f_901_); -lean_ctor_set(v_reuseFailAlloc_920_, 2, v___f_908_); -lean_ctor_set(v_reuseFailAlloc_920_, 3, v___f_907_); -lean_ctor_set(v_reuseFailAlloc_920_, 4, v___f_906_); -v___x_910_ = v_reuseFailAlloc_920_; -goto v_reusejp_909_; -} -v_reusejp_909_: -{ -lean_object* v___x_912_; -if (v_isShared_893_ == 0) -{ -lean_ctor_set(v___x_892_, 1, v___f_902_); -lean_ctor_set(v___x_892_, 0, v___x_910_); -v___x_912_ = v___x_892_; -goto v_reusejp_911_; -} -else -{ -lean_object* v_reuseFailAlloc_919_; -v_reuseFailAlloc_919_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_919_, 0, v___x_910_); -lean_ctor_set(v_reuseFailAlloc_919_, 1, v___f_902_); -v___x_912_ = v_reuseFailAlloc_919_; -goto v_reusejp_911_; -} -v_reusejp_911_: -{ -lean_object* v___x_913_; lean_object* v___x_914_; lean_object* v___x_915_; lean_object* v___f_916_; lean_object* v___x_3694__overap_917_; lean_object* v___x_918_; -v___x_913_ = l_ReaderT_instMonad___redArg(v___x_912_); -v___x_914_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0); -v___x_915_ = l_instInhabitedOfMonad___redArg(v___x_913_, v___x_914_); -v___f_916_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); -lean_closure_set(v___f_916_, 0, v___x_915_); -v___x_3694__overap_917_ = lean_panic_fn(v___f_916_, v_msg_882_); -v___x_918_ = lean_apply_5(v___x_3694__overap_917_, v___y_883_, v___y_884_, v___y_885_, v___y_886_, lean_box(0)); -return v___x_918_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___boxed(lean_object* v_msg_925_, lean_object* v___y_926_, lean_object* v___y_927_, lean_object* v___y_928_, lean_object* v___y_929_, lean_object* v___y_930_){ -_start: -{ -lean_object* v_res_931_; -v_res_931_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(v_msg_925_, v___y_926_, v___y_927_, v___y_928_, v___y_929_); -return v_res_931_; -} -} -static lean_object* _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3(void){ -_start: -{ -lean_object* v___x_935_; lean_object* v___x_936_; lean_object* v___x_937_; lean_object* v___x_938_; lean_object* v___x_939_; lean_object* v___x_940_; -v___x_935_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__2)); -v___x_936_ = lean_unsigned_to_nat(11u); -v___x_937_ = lean_unsigned_to_nat(163u); -v___x_938_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__1)); -v___x_939_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__0)); -v___x_940_ = l_mkPanicMessageWithDecl(v___x_939_, v___x_938_, v___x_937_, v___x_936_, v___x_935_); -return v___x_940_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(lean_object* v_inst_941_, lean_object* v_a_942_, lean_object* v_x_943_){ -_start: -{ -if (lean_obj_tag(v_x_943_) == 0) -{ -lean_object* v___x_944_; lean_object* v___x_945_; -v___x_944_ = lean_obj_once(&l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3, &l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3_once, _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3); -v___x_945_ = lean_panic_fn(v_inst_941_, v___x_944_); -return v___x_945_; -} -else -{ -lean_object* v_key_946_; lean_object* v_value_947_; lean_object* v_tail_948_; uint8_t v___x_949_; -v_key_946_ = lean_ctor_get(v_x_943_, 0); -v_value_947_ = lean_ctor_get(v_x_943_, 1); -v_tail_948_ = lean_ctor_get(v_x_943_, 2); -v___x_949_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_946_, v_a_942_); -if (v___x_949_ == 0) -{ -v_x_943_ = v_tail_948_; -goto _start; -} -else -{ -lean_dec(v_inst_941_); -lean_inc(v_value_947_); -return v_value_947_; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___boxed(lean_object* v_inst_951_, lean_object* v_a_952_, lean_object* v_x_953_){ -_start: -{ -lean_object* v_res_954_; -v_res_954_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_951_, v_a_952_, v_x_953_); -lean_dec(v_x_953_); -lean_dec_ref(v_a_952_); -return v_res_954_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(lean_object* v_inst_955_, lean_object* v_m_956_, lean_object* v_a_957_){ -_start: -{ -lean_object* v_buckets_958_; lean_object* v___x_959_; uint64_t v___x_960_; uint64_t v___x_961_; uint64_t v___x_962_; uint64_t v_fold_963_; uint64_t v___x_964_; uint64_t v___x_965_; uint64_t v___x_966_; size_t v___x_967_; size_t v___x_968_; size_t v___x_969_; size_t v___x_970_; size_t v___x_971_; lean_object* v___x_972_; lean_object* v___x_973_; -v_buckets_958_ = lean_ctor_get(v_m_956_, 1); -v___x_959_ = lean_array_get_size(v_buckets_958_); -v___x_960_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_957_); -v___x_961_ = 32ULL; -v___x_962_ = lean_uint64_shift_right(v___x_960_, v___x_961_); -v_fold_963_ = lean_uint64_xor(v___x_960_, v___x_962_); -v___x_964_ = 16ULL; -v___x_965_ = lean_uint64_shift_right(v_fold_963_, v___x_964_); -v___x_966_ = lean_uint64_xor(v_fold_963_, v___x_965_); -v___x_967_ = lean_uint64_to_usize(v___x_966_); -v___x_968_ = lean_usize_of_nat(v___x_959_); -v___x_969_ = ((size_t)1ULL); -v___x_970_ = lean_usize_sub(v___x_968_, v___x_969_); -v___x_971_ = lean_usize_land(v___x_967_, v___x_970_); -v___x_972_ = lean_array_uget_borrowed(v_buckets_958_, v___x_971_); -v___x_973_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_955_, v_a_957_, v___x_972_); -return v___x_973_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg___boxed(lean_object* v_inst_974_, lean_object* v_m_975_, lean_object* v_a_976_){ -_start: -{ -lean_object* v_res_977_; -v_res_977_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v_inst_974_, v_m_975_, v_a_976_); -lean_dec_ref(v_a_976_); -lean_dec_ref(v_m_975_); -return v_res_977_; -} -} -static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0(void){ -_start: -{ -lean_object* v___x_978_; -v___x_978_ = l_Array_instInhabited(lean_box(0)); -return v___x_978_; -} -} -static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2(void){ -_start: -{ -lean_object* v___x_980_; lean_object* v___x_981_; lean_object* v___x_982_; lean_object* v___x_983_; lean_object* v___x_984_; lean_object* v___x_985_; -v___x_980_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); -v___x_981_ = lean_unsigned_to_nat(61u); -v___x_982_ = lean_unsigned_to_nat(128u); -v___x_983_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__1)); -v___x_984_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); -v___x_985_ = l_mkPanicMessageWithDecl(v___x_984_, v___x_983_, v___x_982_, v___x_981_, v___x_980_); -return v___x_985_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(lean_object* v_map_986_, lean_object* v_declName_987_, lean_object* v_code_988_, lean_object* v_a_989_, lean_object* v_a_990_, lean_object* v_a_991_, lean_object* v_a_992_){ -_start: -{ -switch(lean_obj_tag(v_code_988_)) -{ -case 0: -{ -lean_object* v_decl_994_; lean_object* v_k_995_; lean_object* v___x_996_; -v_decl_994_ = lean_ctor_get(v_code_988_, 0); -v_k_995_ = lean_ctor_get(v_code_988_, 1); -lean_inc_ref(v_k_995_); -v___x_996_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_986_, v_declName_987_, v_k_995_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_996_) == 0) -{ -lean_object* v_a_997_; lean_object* v___x_999_; uint8_t v_isShared_1000_; uint8_t v_isSharedCheck_1019_; -v_a_997_ = lean_ctor_get(v___x_996_, 0); -v_isSharedCheck_1019_ = !lean_is_exclusive(v___x_996_); -if (v_isSharedCheck_1019_ == 0) -{ -v___x_999_ = v___x_996_; -v_isShared_1000_ = v_isSharedCheck_1019_; -goto v_resetjp_998_; -} -else -{ -lean_inc(v_a_997_); -lean_dec(v___x_996_); -v___x_999_ = lean_box(0); -v_isShared_1000_ = v_isSharedCheck_1019_; -goto v_resetjp_998_; -} -v_resetjp_998_: -{ -size_t v___x_1001_; size_t v___x_1002_; uint8_t v___x_1003_; -v___x_1001_ = lean_ptr_addr(v_k_995_); -v___x_1002_ = lean_ptr_addr(v_a_997_); -v___x_1003_ = lean_usize_dec_eq(v___x_1001_, v___x_1002_); -if (v___x_1003_ == 0) -{ -lean_object* v___x_1005_; uint8_t v_isShared_1006_; uint8_t v_isSharedCheck_1013_; -lean_inc_ref(v_decl_994_); -v_isSharedCheck_1013_ = !lean_is_exclusive(v_code_988_); -if (v_isSharedCheck_1013_ == 0) -{ -lean_object* v_unused_1014_; lean_object* v_unused_1015_; -v_unused_1014_ = lean_ctor_get(v_code_988_, 1); -lean_dec(v_unused_1014_); -v_unused_1015_ = lean_ctor_get(v_code_988_, 0); -lean_dec(v_unused_1015_); -v___x_1005_ = v_code_988_; -v_isShared_1006_ = v_isSharedCheck_1013_; -goto v_resetjp_1004_; -} -else -{ -lean_dec(v_code_988_); -v___x_1005_ = lean_box(0); -v_isShared_1006_ = v_isSharedCheck_1013_; -goto v_resetjp_1004_; -} -v_resetjp_1004_: -{ -lean_object* v___x_1008_; -if (v_isShared_1006_ == 0) -{ -lean_ctor_set(v___x_1005_, 1, v_a_997_); -v___x_1008_ = v___x_1005_; -goto v_reusejp_1007_; -} -else -{ -lean_object* v_reuseFailAlloc_1012_; -v_reuseFailAlloc_1012_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1012_, 0, v_decl_994_); -lean_ctor_set(v_reuseFailAlloc_1012_, 1, v_a_997_); -v___x_1008_ = v_reuseFailAlloc_1012_; -goto v_reusejp_1007_; -} -v_reusejp_1007_: -{ -lean_object* v___x_1010_; -if (v_isShared_1000_ == 0) -{ -lean_ctor_set(v___x_999_, 0, v___x_1008_); -v___x_1010_ = v___x_999_; -goto v_reusejp_1009_; -} -else -{ -lean_object* v_reuseFailAlloc_1011_; -v_reuseFailAlloc_1011_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1011_, 0, v___x_1008_); -v___x_1010_ = v_reuseFailAlloc_1011_; -goto v_reusejp_1009_; -} -v_reusejp_1009_: -{ -return v___x_1010_; -} -} -} -} -else -{ -lean_object* v___x_1017_; -lean_dec(v_a_997_); -if (v_isShared_1000_ == 0) -{ -lean_ctor_set(v___x_999_, 0, v_code_988_); -v___x_1017_ = v___x_999_; -goto v_reusejp_1016_; -} -else -{ -lean_object* v_reuseFailAlloc_1018_; -v_reuseFailAlloc_1018_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1018_, 0, v_code_988_); -v___x_1017_ = v_reuseFailAlloc_1018_; -goto v_reusejp_1016_; -} -v_reusejp_1016_: -{ -return v___x_1017_; -} -} -} -} -else -{ -lean_dec_ref(v_code_988_); -return v___x_996_; -} -} -case 2: -{ -lean_object* v_decl_1020_; lean_object* v_k_1021_; lean_object* v_fvarId_1022_; lean_object* v_params_1023_; lean_object* v_type_1024_; lean_object* v_value_1025_; lean_object* v___x_1026_; lean_object* v___x_1027_; lean_object* v___x_1028_; lean_object* v___x_1029_; -v_decl_1020_ = lean_ctor_get(v_code_988_, 0); -v_k_1021_ = lean_ctor_get(v_code_988_, 1); -v_fvarId_1022_ = lean_ctor_get(v_decl_1020_, 0); -v_params_1023_ = lean_ctor_get(v_decl_1020_, 2); -v_type_1024_ = lean_ctor_get(v_decl_1020_, 3); -v_value_1025_ = lean_ctor_get(v_decl_1020_, 4); -v___x_1026_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); -lean_inc(v_fvarId_1022_); -lean_inc(v_declName_987_); -v___x_1027_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_1027_, 0, v_declName_987_); -lean_ctor_set(v___x_1027_, 1, v_fvarId_1022_); -v___x_1028_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v___x_1026_, v_map_986_, v___x_1027_); -lean_dec_ref(v___x_1027_); -lean_inc_ref(v_params_1023_); -v___x_1029_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_params_1023_, v___x_1028_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1029_) == 0) -{ -lean_object* v_a_1030_; lean_object* v___x_1031_; -v_a_1030_ = lean_ctor_get(v___x_1029_, 0); -lean_inc(v_a_1030_); -lean_dec_ref(v___x_1029_); -lean_inc(v_a_992_); -lean_inc_ref(v_a_991_); -lean_inc(v_a_990_); -lean_inc_ref(v_a_989_); -lean_inc_ref(v_value_1025_); -lean_inc(v_declName_987_); -lean_inc_ref(v_map_986_); -v___x_1031_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_986_, v_declName_987_, v_value_1025_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1031_) == 0) -{ -lean_object* v_a_1032_; uint8_t v___x_1033_; lean_object* v___x_1034_; -v_a_1032_ = lean_ctor_get(v___x_1031_, 0); -lean_inc(v_a_1032_); -lean_dec_ref(v___x_1031_); -v___x_1033_ = 1; -lean_inc_ref(v_type_1024_); -lean_inc_ref(v_decl_1020_); -v___x_1034_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp___redArg(v___x_1033_, v_decl_1020_, v_type_1024_, v_a_1030_, v_a_1032_, v_a_990_); -if (lean_obj_tag(v___x_1034_) == 0) -{ -lean_object* v_a_1035_; lean_object* v___x_1036_; -v_a_1035_ = lean_ctor_get(v___x_1034_, 0); -lean_inc(v_a_1035_); -lean_dec_ref(v___x_1034_); -lean_inc_ref(v_k_1021_); -v___x_1036_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_986_, v_declName_987_, v_k_1021_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1036_) == 0) -{ -lean_object* v_a_1037_; lean_object* v___x_1039_; uint8_t v_isShared_1040_; uint8_t v_isSharedCheck_1064_; -v_a_1037_ = lean_ctor_get(v___x_1036_, 0); -v_isSharedCheck_1064_ = !lean_is_exclusive(v___x_1036_); -if (v_isSharedCheck_1064_ == 0) -{ -v___x_1039_ = v___x_1036_; -v_isShared_1040_ = v_isSharedCheck_1064_; -goto v_resetjp_1038_; -} -else -{ -lean_inc(v_a_1037_); -lean_dec(v___x_1036_); -v___x_1039_ = lean_box(0); -v_isShared_1040_ = v_isSharedCheck_1064_; -goto v_resetjp_1038_; -} -v_resetjp_1038_: -{ -uint8_t v___y_1042_; size_t v___x_1058_; size_t v___x_1059_; uint8_t v___x_1060_; -v___x_1058_ = lean_ptr_addr(v_k_1021_); -v___x_1059_ = lean_ptr_addr(v_a_1037_); -v___x_1060_ = lean_usize_dec_eq(v___x_1058_, v___x_1059_); -if (v___x_1060_ == 0) -{ -v___y_1042_ = v___x_1060_; -goto v___jp_1041_; -} -else -{ -size_t v___x_1061_; size_t v___x_1062_; uint8_t v___x_1063_; -v___x_1061_ = lean_ptr_addr(v_decl_1020_); -v___x_1062_ = lean_ptr_addr(v_a_1035_); -v___x_1063_ = lean_usize_dec_eq(v___x_1061_, v___x_1062_); -v___y_1042_ = v___x_1063_; -goto v___jp_1041_; -} -v___jp_1041_: -{ -if (v___y_1042_ == 0) -{ -lean_object* v___x_1044_; uint8_t v_isShared_1045_; uint8_t v_isSharedCheck_1052_; -v_isSharedCheck_1052_ = !lean_is_exclusive(v_code_988_); -if (v_isSharedCheck_1052_ == 0) -{ -lean_object* v_unused_1053_; lean_object* v_unused_1054_; -v_unused_1053_ = lean_ctor_get(v_code_988_, 1); -lean_dec(v_unused_1053_); -v_unused_1054_ = lean_ctor_get(v_code_988_, 0); -lean_dec(v_unused_1054_); -v___x_1044_ = v_code_988_; -v_isShared_1045_ = v_isSharedCheck_1052_; -goto v_resetjp_1043_; -} -else -{ -lean_dec(v_code_988_); -v___x_1044_ = lean_box(0); -v_isShared_1045_ = v_isSharedCheck_1052_; -goto v_resetjp_1043_; -} -v_resetjp_1043_: -{ -lean_object* v___x_1047_; -if (v_isShared_1045_ == 0) -{ -lean_ctor_set(v___x_1044_, 1, v_a_1037_); -lean_ctor_set(v___x_1044_, 0, v_a_1035_); -v___x_1047_ = v___x_1044_; -goto v_reusejp_1046_; -} -else -{ -lean_object* v_reuseFailAlloc_1051_; -v_reuseFailAlloc_1051_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1051_, 0, v_a_1035_); -lean_ctor_set(v_reuseFailAlloc_1051_, 1, v_a_1037_); -v___x_1047_ = v_reuseFailAlloc_1051_; -goto v_reusejp_1046_; -} -v_reusejp_1046_: -{ -lean_object* v___x_1049_; -if (v_isShared_1040_ == 0) -{ -lean_ctor_set(v___x_1039_, 0, v___x_1047_); -v___x_1049_ = v___x_1039_; -goto v_reusejp_1048_; -} -else -{ -lean_object* v_reuseFailAlloc_1050_; -v_reuseFailAlloc_1050_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1050_, 0, v___x_1047_); -v___x_1049_ = v_reuseFailAlloc_1050_; -goto v_reusejp_1048_; -} -v_reusejp_1048_: -{ -return v___x_1049_; -} -} -} -} -else -{ -lean_object* v___x_1056_; -lean_dec(v_a_1037_); -lean_dec(v_a_1035_); -if (v_isShared_1040_ == 0) -{ -lean_ctor_set(v___x_1039_, 0, v_code_988_); -v___x_1056_ = v___x_1039_; -goto v_reusejp_1055_; -} -else -{ -lean_object* v_reuseFailAlloc_1057_; -v_reuseFailAlloc_1057_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1057_, 0, v_code_988_); -v___x_1056_ = v_reuseFailAlloc_1057_; -goto v_reusejp_1055_; -} -v_reusejp_1055_: -{ -return v___x_1056_; -} -} -} -} -} -else -{ -lean_dec(v_a_1035_); -lean_dec_ref(v_code_988_); -return v___x_1036_; -} -} -else -{ -lean_object* v_a_1065_; lean_object* v___x_1067_; uint8_t v_isShared_1068_; uint8_t v_isSharedCheck_1072_; -lean_dec_ref(v_code_988_); -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v_a_1065_ = lean_ctor_get(v___x_1034_, 0); -v_isSharedCheck_1072_ = !lean_is_exclusive(v___x_1034_); -if (v_isSharedCheck_1072_ == 0) -{ -v___x_1067_ = v___x_1034_; -v_isShared_1068_ = v_isSharedCheck_1072_; -goto v_resetjp_1066_; -} -else -{ -lean_inc(v_a_1065_); -lean_dec(v___x_1034_); -v___x_1067_ = lean_box(0); -v_isShared_1068_ = v_isSharedCheck_1072_; -goto v_resetjp_1066_; -} -v_resetjp_1066_: -{ -lean_object* v___x_1070_; -if (v_isShared_1068_ == 0) -{ -v___x_1070_ = v___x_1067_; -goto v_reusejp_1069_; -} -else -{ -lean_object* v_reuseFailAlloc_1071_; -v_reuseFailAlloc_1071_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1071_, 0, v_a_1065_); -v___x_1070_ = v_reuseFailAlloc_1071_; -goto v_reusejp_1069_; -} -v_reusejp_1069_: -{ -return v___x_1070_; -} -} -} -} -else -{ -lean_dec(v_a_1030_); -lean_dec_ref(v_code_988_); -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -return v___x_1031_; -} -} -else -{ -lean_object* v_a_1073_; lean_object* v___x_1075_; uint8_t v_isShared_1076_; uint8_t v_isSharedCheck_1080_; -lean_dec_ref(v_code_988_); -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v_a_1073_ = lean_ctor_get(v___x_1029_, 0); -v_isSharedCheck_1080_ = !lean_is_exclusive(v___x_1029_); -if (v_isSharedCheck_1080_ == 0) -{ -v___x_1075_ = v___x_1029_; -v_isShared_1076_ = v_isSharedCheck_1080_; -goto v_resetjp_1074_; -} -else -{ -lean_inc(v_a_1073_); -lean_dec(v___x_1029_); -v___x_1075_ = lean_box(0); -v_isShared_1076_ = v_isSharedCheck_1080_; -goto v_resetjp_1074_; -} -v_resetjp_1074_: -{ -lean_object* v___x_1078_; -if (v_isShared_1076_ == 0) -{ -v___x_1078_ = v___x_1075_; -goto v_reusejp_1077_; -} -else -{ -lean_object* v_reuseFailAlloc_1079_; -v_reuseFailAlloc_1079_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1079_, 0, v_a_1073_); -v___x_1078_ = v_reuseFailAlloc_1079_; -goto v_reusejp_1077_; -} -v_reusejp_1077_: -{ -return v___x_1078_; -} -} -} -} -case 3: -{ -lean_object* v___x_1081_; -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v___x_1081_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1081_, 0, v_code_988_); -return v___x_1081_; -} -case 4: -{ -lean_object* v_cases_1082_; lean_object* v_typeName_1083_; lean_object* v_resultType_1084_; lean_object* v_discr_1085_; lean_object* v_alts_1086_; lean_object* v___x_1088_; uint8_t v_isShared_1089_; uint8_t v_isSharedCheck_1125_; -v_cases_1082_ = lean_ctor_get(v_code_988_, 0); -lean_inc_ref(v_cases_1082_); -v_typeName_1083_ = lean_ctor_get(v_cases_1082_, 0); -v_resultType_1084_ = lean_ctor_get(v_cases_1082_, 1); -v_discr_1085_ = lean_ctor_get(v_cases_1082_, 2); -v_alts_1086_ = lean_ctor_get(v_cases_1082_, 3); -v_isSharedCheck_1125_ = !lean_is_exclusive(v_cases_1082_); -if (v_isSharedCheck_1125_ == 0) -{ -v___x_1088_ = v_cases_1082_; -v_isShared_1089_ = v_isSharedCheck_1125_; -goto v_resetjp_1087_; -} -else -{ -lean_inc(v_alts_1086_); -lean_inc(v_discr_1085_); -lean_inc(v_resultType_1084_); -lean_inc(v_typeName_1083_); -lean_dec(v_cases_1082_); -v___x_1088_ = lean_box(0); -v_isShared_1089_ = v_isSharedCheck_1125_; -goto v_resetjp_1087_; -} -v_resetjp_1087_: -{ -lean_object* v___x_1090_; lean_object* v___x_1091_; -v___x_1090_ = lean_unsigned_to_nat(0u); -lean_inc_ref(v_alts_1086_); -v___x_1091_ = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(v_map_986_, v_declName_987_, v___x_1090_, v_alts_1086_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1091_) == 0) -{ -lean_object* v_a_1092_; lean_object* v___x_1094_; uint8_t v_isShared_1095_; uint8_t v_isSharedCheck_1116_; -v_a_1092_ = lean_ctor_get(v___x_1091_, 0); -v_isSharedCheck_1116_ = !lean_is_exclusive(v___x_1091_); -if (v_isSharedCheck_1116_ == 0) -{ -v___x_1094_ = v___x_1091_; -v_isShared_1095_ = v_isSharedCheck_1116_; -goto v_resetjp_1093_; -} -else -{ -lean_inc(v_a_1092_); -lean_dec(v___x_1091_); -v___x_1094_ = lean_box(0); -v_isShared_1095_ = v_isSharedCheck_1116_; -goto v_resetjp_1093_; -} -v_resetjp_1093_: -{ -size_t v___x_1096_; size_t v___x_1097_; uint8_t v___x_1098_; -v___x_1096_ = lean_ptr_addr(v_alts_1086_); -lean_dec_ref(v_alts_1086_); -v___x_1097_ = lean_ptr_addr(v_a_1092_); -v___x_1098_ = lean_usize_dec_eq(v___x_1096_, v___x_1097_); -if (v___x_1098_ == 0) -{ -lean_object* v___x_1100_; uint8_t v_isShared_1101_; uint8_t v_isSharedCheck_1111_; -v_isSharedCheck_1111_ = !lean_is_exclusive(v_code_988_); -if (v_isSharedCheck_1111_ == 0) -{ -lean_object* v_unused_1112_; -v_unused_1112_ = lean_ctor_get(v_code_988_, 0); -lean_dec(v_unused_1112_); -v___x_1100_ = v_code_988_; -v_isShared_1101_ = v_isSharedCheck_1111_; -goto v_resetjp_1099_; -} -else -{ -lean_dec(v_code_988_); -v___x_1100_ = lean_box(0); -v_isShared_1101_ = v_isSharedCheck_1111_; -goto v_resetjp_1099_; -} -v_resetjp_1099_: -{ -lean_object* v___x_1103_; -if (v_isShared_1089_ == 0) -{ -lean_ctor_set(v___x_1088_, 3, v_a_1092_); -v___x_1103_ = v___x_1088_; -goto v_reusejp_1102_; -} -else -{ -lean_object* v_reuseFailAlloc_1110_; -v_reuseFailAlloc_1110_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_1110_, 0, v_typeName_1083_); -lean_ctor_set(v_reuseFailAlloc_1110_, 1, v_resultType_1084_); -lean_ctor_set(v_reuseFailAlloc_1110_, 2, v_discr_1085_); -lean_ctor_set(v_reuseFailAlloc_1110_, 3, v_a_1092_); -v___x_1103_ = v_reuseFailAlloc_1110_; -goto v_reusejp_1102_; -} -v_reusejp_1102_: -{ -lean_object* v___x_1105_; -if (v_isShared_1101_ == 0) -{ -lean_ctor_set(v___x_1100_, 0, v___x_1103_); -v___x_1105_ = v___x_1100_; -goto v_reusejp_1104_; -} -else -{ -lean_object* v_reuseFailAlloc_1109_; -v_reuseFailAlloc_1109_ = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1109_, 0, v___x_1103_); -v___x_1105_ = v_reuseFailAlloc_1109_; -goto v_reusejp_1104_; -} -v_reusejp_1104_: -{ -lean_object* v___x_1107_; -if (v_isShared_1095_ == 0) -{ -lean_ctor_set(v___x_1094_, 0, v___x_1105_); -v___x_1107_ = v___x_1094_; -goto v_reusejp_1106_; -} -else -{ -lean_object* v_reuseFailAlloc_1108_; -v_reuseFailAlloc_1108_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1108_, 0, v___x_1105_); -v___x_1107_ = v_reuseFailAlloc_1108_; -goto v_reusejp_1106_; -} -v_reusejp_1106_: -{ -return v___x_1107_; -} -} -} -} -} -else -{ -lean_object* v___x_1114_; -lean_dec(v_a_1092_); -lean_del_object(v___x_1088_); -lean_dec(v_discr_1085_); -lean_dec_ref(v_resultType_1084_); -lean_dec(v_typeName_1083_); -if (v_isShared_1095_ == 0) -{ -lean_ctor_set(v___x_1094_, 0, v_code_988_); -v___x_1114_ = v___x_1094_; -goto v_reusejp_1113_; -} -else -{ -lean_object* v_reuseFailAlloc_1115_; -v_reuseFailAlloc_1115_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1115_, 0, v_code_988_); -v___x_1114_ = v_reuseFailAlloc_1115_; -goto v_reusejp_1113_; -} -v_reusejp_1113_: -{ -return v___x_1114_; -} -} -} -} -else -{ -lean_object* v_a_1117_; lean_object* v___x_1119_; uint8_t v_isShared_1120_; uint8_t v_isSharedCheck_1124_; -lean_del_object(v___x_1088_); -lean_dec_ref(v_alts_1086_); -lean_dec(v_discr_1085_); -lean_dec_ref(v_resultType_1084_); -lean_dec(v_typeName_1083_); -lean_dec_ref(v_code_988_); -v_a_1117_ = lean_ctor_get(v___x_1091_, 0); -v_isSharedCheck_1124_ = !lean_is_exclusive(v___x_1091_); -if (v_isSharedCheck_1124_ == 0) -{ -v___x_1119_ = v___x_1091_; -v_isShared_1120_ = v_isSharedCheck_1124_; -goto v_resetjp_1118_; -} -else -{ -lean_inc(v_a_1117_); -lean_dec(v___x_1091_); -v___x_1119_ = lean_box(0); -v_isShared_1120_ = v_isSharedCheck_1124_; -goto v_resetjp_1118_; -} -v_resetjp_1118_: -{ -lean_object* v___x_1122_; -if (v_isShared_1120_ == 0) -{ -v___x_1122_ = v___x_1119_; -goto v_reusejp_1121_; -} -else -{ -lean_object* v_reuseFailAlloc_1123_; -v_reuseFailAlloc_1123_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1123_, 0, v_a_1117_); -v___x_1122_ = v_reuseFailAlloc_1123_; -goto v_reusejp_1121_; -} -v_reusejp_1121_: -{ -return v___x_1122_; -} -} -} -} -} -case 5: -{ -lean_object* v___x_1126_; -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v___x_1126_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1126_, 0, v_code_988_); -return v___x_1126_; -} -case 6: -{ -lean_object* v___x_1127_; -lean_dec(v_a_992_); -lean_dec_ref(v_a_991_); -lean_dec(v_a_990_); -lean_dec_ref(v_a_989_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v___x_1127_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1127_, 0, v_code_988_); -return v___x_1127_; -} -case 8: -{ -lean_object* v_fvarId_1128_; lean_object* v_i_1129_; lean_object* v_y_1130_; lean_object* v_k_1131_; lean_object* v___x_1132_; -v_fvarId_1128_ = lean_ctor_get(v_code_988_, 0); -v_i_1129_ = lean_ctor_get(v_code_988_, 1); -v_y_1130_ = lean_ctor_get(v_code_988_, 2); -v_k_1131_ = lean_ctor_get(v_code_988_, 3); -lean_inc_ref(v_k_1131_); -v___x_1132_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_986_, v_declName_987_, v_k_1131_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1132_) == 0) -{ -lean_object* v_a_1133_; lean_object* v___x_1135_; uint8_t v_isShared_1136_; uint8_t v_isSharedCheck_1157_; -v_a_1133_ = lean_ctor_get(v___x_1132_, 0); -v_isSharedCheck_1157_ = !lean_is_exclusive(v___x_1132_); -if (v_isSharedCheck_1157_ == 0) -{ -v___x_1135_ = v___x_1132_; -v_isShared_1136_ = v_isSharedCheck_1157_; -goto v_resetjp_1134_; -} -else -{ -lean_inc(v_a_1133_); -lean_dec(v___x_1132_); -v___x_1135_ = lean_box(0); -v_isShared_1136_ = v_isSharedCheck_1157_; -goto v_resetjp_1134_; -} -v_resetjp_1134_: -{ -size_t v___x_1137_; size_t v___x_1138_; uint8_t v___x_1139_; -v___x_1137_ = lean_ptr_addr(v_k_1131_); -v___x_1138_ = lean_ptr_addr(v_a_1133_); -v___x_1139_ = lean_usize_dec_eq(v___x_1137_, v___x_1138_); -if (v___x_1139_ == 0) -{ -lean_object* v___x_1141_; uint8_t v_isShared_1142_; uint8_t v_isSharedCheck_1149_; -lean_inc(v_y_1130_); -lean_inc(v_i_1129_); -lean_inc(v_fvarId_1128_); -v_isSharedCheck_1149_ = !lean_is_exclusive(v_code_988_); -if (v_isSharedCheck_1149_ == 0) -{ -lean_object* v_unused_1150_; lean_object* v_unused_1151_; lean_object* v_unused_1152_; lean_object* v_unused_1153_; -v_unused_1150_ = lean_ctor_get(v_code_988_, 3); -lean_dec(v_unused_1150_); -v_unused_1151_ = lean_ctor_get(v_code_988_, 2); -lean_dec(v_unused_1151_); -v_unused_1152_ = lean_ctor_get(v_code_988_, 1); -lean_dec(v_unused_1152_); -v_unused_1153_ = lean_ctor_get(v_code_988_, 0); -lean_dec(v_unused_1153_); -v___x_1141_ = v_code_988_; -v_isShared_1142_ = v_isSharedCheck_1149_; -goto v_resetjp_1140_; -} -else -{ -lean_dec(v_code_988_); -v___x_1141_ = lean_box(0); -v_isShared_1142_ = v_isSharedCheck_1149_; -goto v_resetjp_1140_; -} -v_resetjp_1140_: -{ -lean_object* v___x_1144_; -if (v_isShared_1142_ == 0) -{ -lean_ctor_set(v___x_1141_, 3, v_a_1133_); -v___x_1144_ = v___x_1141_; -goto v_reusejp_1143_; -} -else -{ -lean_object* v_reuseFailAlloc_1148_; -v_reuseFailAlloc_1148_ = lean_alloc_ctor(8, 4, 0); -lean_ctor_set(v_reuseFailAlloc_1148_, 0, v_fvarId_1128_); -lean_ctor_set(v_reuseFailAlloc_1148_, 1, v_i_1129_); -lean_ctor_set(v_reuseFailAlloc_1148_, 2, v_y_1130_); -lean_ctor_set(v_reuseFailAlloc_1148_, 3, v_a_1133_); -v___x_1144_ = v_reuseFailAlloc_1148_; -goto v_reusejp_1143_; -} -v_reusejp_1143_: -{ -lean_object* v___x_1146_; -if (v_isShared_1136_ == 0) -{ -lean_ctor_set(v___x_1135_, 0, v___x_1144_); -v___x_1146_ = v___x_1135_; -goto v_reusejp_1145_; -} -else -{ -lean_object* v_reuseFailAlloc_1147_; -v_reuseFailAlloc_1147_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1147_, 0, v___x_1144_); -v___x_1146_ = v_reuseFailAlloc_1147_; -goto v_reusejp_1145_; -} -v_reusejp_1145_: -{ -return v___x_1146_; -} -} -} -} -else -{ -lean_object* v___x_1155_; -lean_dec(v_a_1133_); -if (v_isShared_1136_ == 0) -{ -lean_ctor_set(v___x_1135_, 0, v_code_988_); -v___x_1155_ = v___x_1135_; -goto v_reusejp_1154_; +lean_object* v_reuseFailAlloc_1157_; +v_reuseFailAlloc_1157_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1157_, 0, v___x_1142_); +lean_ctor_set(v_reuseFailAlloc_1157_, 1, v___f_1138_); +lean_ctor_set(v_reuseFailAlloc_1157_, 2, v___f_1145_); +lean_ctor_set(v_reuseFailAlloc_1157_, 3, v___f_1144_); +lean_ctor_set(v_reuseFailAlloc_1157_, 4, v___f_1143_); +v___x_1147_ = v_reuseFailAlloc_1157_; +goto v_reusejp_1146_; +} +v_reusejp_1146_: +{ +lean_object* v___x_1149_; +if (v_isShared_1130_ == 0) +{ +lean_ctor_set(v___x_1129_, 1, v___f_1139_); +lean_ctor_set(v___x_1129_, 0, v___x_1147_); +v___x_1149_ = v___x_1129_; +goto v_reusejp_1148_; } else { lean_object* v_reuseFailAlloc_1156_; -v_reuseFailAlloc_1156_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1156_, 0, v_code_988_); -v___x_1155_ = v_reuseFailAlloc_1156_; -goto v_reusejp_1154_; +v_reuseFailAlloc_1156_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1156_, 0, v___x_1147_); +lean_ctor_set(v_reuseFailAlloc_1156_, 1, v___f_1139_); +v___x_1149_ = v_reuseFailAlloc_1156_; +goto v_reusejp_1148_; } -v_reusejp_1154_: +v_reusejp_1148_: { +lean_object* v___x_1150_; lean_object* v___x_1151_; lean_object* v___x_1152_; lean_object* v___f_1153_; lean_object* v___x_3696__overap_1154_; lean_object* v___x_1155_; +v___x_1150_ = l_ReaderT_instMonad___redArg(v___x_1149_); +v___x_1151_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___closed__0); +v___x_1152_ = l_instInhabitedOfMonad___redArg(v___x_1150_, v___x_1151_); +v___f_1153_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); +lean_closure_set(v___f_1153_, 0, v___x_1152_); +v___x_3696__overap_1154_ = lean_panic_fn(v___f_1153_, v_msg_1119_); +v___x_1155_ = lean_apply_5(v___x_3696__overap_1154_, v___y_1120_, v___y_1121_, v___y_1122_, v___y_1123_, lean_box(0)); return v___x_1155_; } } } } -else -{ -lean_dec_ref(v_code_988_); -return v___x_1132_; } } -case 9: -{ -lean_object* v_fvarId_1158_; lean_object* v_i_1159_; lean_object* v_offset_1160_; lean_object* v_y_1161_; lean_object* v_ty_1162_; lean_object* v_k_1163_; lean_object* v___x_1164_; -v_fvarId_1158_ = lean_ctor_get(v_code_988_, 0); -v_i_1159_ = lean_ctor_get(v_code_988_, 1); -v_offset_1160_ = lean_ctor_get(v_code_988_, 2); -v_y_1161_ = lean_ctor_get(v_code_988_, 3); -v_ty_1162_ = lean_ctor_get(v_code_988_, 4); -v_k_1163_ = lean_ctor_get(v_code_988_, 5); -lean_inc_ref(v_k_1163_); -v___x_1164_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_986_, v_declName_987_, v_k_1163_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -if (lean_obj_tag(v___x_1164_) == 0) -{ -lean_object* v_a_1165_; lean_object* v___x_1167_; uint8_t v_isShared_1168_; uint8_t v_isSharedCheck_1191_; -v_a_1165_ = lean_ctor_get(v___x_1164_, 0); -v_isSharedCheck_1191_ = !lean_is_exclusive(v___x_1164_); -if (v_isSharedCheck_1191_ == 0) -{ -v___x_1167_ = v___x_1164_; -v_isShared_1168_ = v_isSharedCheck_1191_; -goto v_resetjp_1166_; -} -else -{ -lean_inc(v_a_1165_); -lean_dec(v___x_1164_); -v___x_1167_ = lean_box(0); -v_isShared_1168_ = v_isSharedCheck_1191_; -goto v_resetjp_1166_; -} -v_resetjp_1166_: -{ -size_t v___x_1169_; size_t v___x_1170_; uint8_t v___x_1171_; -v___x_1169_ = lean_ptr_addr(v_k_1163_); -v___x_1170_ = lean_ptr_addr(v_a_1165_); -v___x_1171_ = lean_usize_dec_eq(v___x_1169_, v___x_1170_); -if (v___x_1171_ == 0) -{ -lean_object* v___x_1173_; uint8_t v_isShared_1174_; uint8_t v_isSharedCheck_1181_; -lean_inc_ref(v_ty_1162_); -lean_inc(v_y_1161_); -lean_inc(v_offset_1160_); -lean_inc(v_i_1159_); -lean_inc(v_fvarId_1158_); -v_isSharedCheck_1181_ = !lean_is_exclusive(v_code_988_); -if (v_isSharedCheck_1181_ == 0) -{ -lean_object* v_unused_1182_; lean_object* v_unused_1183_; lean_object* v_unused_1184_; lean_object* v_unused_1185_; lean_object* v_unused_1186_; lean_object* v_unused_1187_; -v_unused_1182_ = lean_ctor_get(v_code_988_, 5); -lean_dec(v_unused_1182_); -v_unused_1183_ = lean_ctor_get(v_code_988_, 4); -lean_dec(v_unused_1183_); -v_unused_1184_ = lean_ctor_get(v_code_988_, 3); -lean_dec(v_unused_1184_); -v_unused_1185_ = lean_ctor_get(v_code_988_, 2); -lean_dec(v_unused_1185_); -v_unused_1186_ = lean_ctor_get(v_code_988_, 1); -lean_dec(v_unused_1186_); -v_unused_1187_ = lean_ctor_get(v_code_988_, 0); -lean_dec(v_unused_1187_); -v___x_1173_ = v_code_988_; -v_isShared_1174_ = v_isSharedCheck_1181_; -goto v_resetjp_1172_; -} -else -{ -lean_dec(v_code_988_); -v___x_1173_ = lean_box(0); -v_isShared_1174_ = v_isSharedCheck_1181_; -goto v_resetjp_1172_; -} -v_resetjp_1172_: -{ -lean_object* v___x_1176_; -if (v_isShared_1174_ == 0) -{ -lean_ctor_set(v___x_1173_, 5, v_a_1165_); -v___x_1176_ = v___x_1173_; -goto v_reusejp_1175_; -} -else -{ -lean_object* v_reuseFailAlloc_1180_; -v_reuseFailAlloc_1180_ = lean_alloc_ctor(9, 6, 0); -lean_ctor_set(v_reuseFailAlloc_1180_, 0, v_fvarId_1158_); -lean_ctor_set(v_reuseFailAlloc_1180_, 1, v_i_1159_); -lean_ctor_set(v_reuseFailAlloc_1180_, 2, v_offset_1160_); -lean_ctor_set(v_reuseFailAlloc_1180_, 3, v_y_1161_); -lean_ctor_set(v_reuseFailAlloc_1180_, 4, v_ty_1162_); -lean_ctor_set(v_reuseFailAlloc_1180_, 5, v_a_1165_); -v___x_1176_ = v_reuseFailAlloc_1180_; -goto v_reusejp_1175_; -} -v_reusejp_1175_: -{ -lean_object* v___x_1178_; -if (v_isShared_1168_ == 0) -{ -lean_ctor_set(v___x_1167_, 0, v___x_1176_); -v___x_1178_ = v___x_1167_; -goto v_reusejp_1177_; -} -else -{ -lean_object* v_reuseFailAlloc_1179_; -v_reuseFailAlloc_1179_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1179_, 0, v___x_1176_); -v___x_1178_ = v_reuseFailAlloc_1179_; -goto v_reusejp_1177_; -} -v_reusejp_1177_: -{ -return v___x_1178_; -} -} -} -} -else -{ -lean_object* v___x_1189_; -lean_dec(v_a_1165_); -if (v_isShared_1168_ == 0) -{ -lean_ctor_set(v___x_1167_, 0, v_code_988_); -v___x_1189_ = v___x_1167_; -goto v_reusejp_1188_; -} -else -{ -lean_object* v_reuseFailAlloc_1190_; -v_reuseFailAlloc_1190_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1190_, 0, v_code_988_); -v___x_1189_ = v_reuseFailAlloc_1190_; -goto v_reusejp_1188_; -} -v_reusejp_1188_: -{ -return v___x_1189_; -} -} -} -} -else -{ -lean_dec_ref(v_code_988_); -return v___x_1164_; -} -} -default: -{ -lean_object* v___x_1192_; lean_object* v___x_1193_; -lean_dec_ref(v_code_988_); -lean_dec(v_declName_987_); -lean_dec_ref(v_map_986_); -v___x_1192_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2); -v___x_1193_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(v___x_1192_, v_a_989_, v_a_990_, v_a_991_, v_a_992_); -return v___x_1193_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___boxed(lean_object* v_map_1194_, lean_object* v_declName_1195_, lean_object* v_code_1196_, lean_object* v_a_1197_, lean_object* v_a_1198_, lean_object* v_a_1199_, lean_object* v_a_1200_, lean_object* v_a_1201_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3___boxed(lean_object* v_msg_1162_, lean_object* v___y_1163_, lean_object* v___y_1164_, lean_object* v___y_1165_, lean_object* v___y_1166_, lean_object* v___y_1167_){ _start: { -lean_object* v_res_1202_; -v_res_1202_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1194_, v_declName_1195_, v_code_1196_, v_a_1197_, v_a_1198_, v_a_1199_, v_a_1200_); -return v_res_1202_; +lean_object* v_res_1168_; +v_res_1168_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(v_msg_1162_, v___y_1163_, v___y_1164_, v___y_1165_, v___y_1166_); +return v_res_1168_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(lean_object* v_map_1203_, lean_object* v_declName_1204_, lean_object* v_i_1205_, lean_object* v_as_1206_, lean_object* v___y_1207_, lean_object* v___y_1208_, lean_object* v___y_1209_, lean_object* v___y_1210_){ +static lean_object* _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3(void){ _start: { -lean_object* v___x_1212_; uint8_t v___x_1213_; -v___x_1212_ = lean_array_get_size(v_as_1206_); -v___x_1213_ = lean_nat_dec_lt(v_i_1205_, v___x_1212_); -if (v___x_1213_ == 0) +lean_object* v___x_1172_; lean_object* v___x_1173_; lean_object* v___x_1174_; lean_object* v___x_1175_; lean_object* v___x_1176_; lean_object* v___x_1177_; +v___x_1172_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__2)); +v___x_1173_ = lean_unsigned_to_nat(11u); +v___x_1174_ = lean_unsigned_to_nat(163u); +v___x_1175_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__1)); +v___x_1176_ = ((lean_object*)(l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__0)); +v___x_1177_ = l_mkPanicMessageWithDecl(v___x_1176_, v___x_1175_, v___x_1174_, v___x_1173_, v___x_1172_); +return v___x_1177_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(lean_object* v_inst_1178_, lean_object* v_a_1179_, lean_object* v_x_1180_){ +_start: { -lean_object* v___x_1214_; -lean_dec(v___y_1210_); -lean_dec_ref(v___y_1209_); -lean_dec(v___y_1208_); -lean_dec_ref(v___y_1207_); -lean_dec(v_i_1205_); -lean_dec(v_declName_1204_); -lean_dec_ref(v_map_1203_); -v___x_1214_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1214_, 0, v_as_1206_); -return v___x_1214_; +if (lean_obj_tag(v_x_1180_) == 0) +{ +lean_object* v___x_1181_; lean_object* v___x_1182_; +v___x_1181_ = lean_obj_once(&l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3, &l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3_once, _init_l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___closed__3); +v___x_1182_ = lean_panic_fn(v_inst_1178_, v___x_1181_); +return v___x_1182_; } else { -lean_object* v_a_1215_; lean_object* v___x_1216_; lean_object* v___x_1217_; -v_a_1215_ = lean_array_fget_borrowed(v_as_1206_, v_i_1205_); -lean_inc(v_declName_1204_); -lean_inc_ref(v_map_1203_); -v___x_1216_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___boxed), 8, 2); -lean_closure_set(v___x_1216_, 0, v_map_1203_); -lean_closure_set(v___x_1216_, 1, v_declName_1204_); -lean_inc(v___y_1210_); -lean_inc_ref(v___y_1209_); -lean_inc(v___y_1208_); -lean_inc_ref(v___y_1207_); -lean_inc(v_a_1215_); -v___x_1217_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_a_1215_, v___x_1216_, v___y_1207_, v___y_1208_, v___y_1209_, v___y_1210_); -if (lean_obj_tag(v___x_1217_) == 0) +lean_object* v_key_1183_; lean_object* v_value_1184_; lean_object* v_tail_1185_; uint8_t v___x_1186_; +v_key_1183_ = lean_ctor_get(v_x_1180_, 0); +v_value_1184_ = lean_ctor_get(v_x_1180_, 1); +v_tail_1185_ = lean_ctor_get(v_x_1180_, 2); +v___x_1186_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_1183_, v_a_1179_); +if (v___x_1186_ == 0) { -lean_object* v_a_1218_; size_t v___x_1219_; size_t v___x_1220_; uint8_t v___x_1221_; -v_a_1218_ = lean_ctor_get(v___x_1217_, 0); -lean_inc(v_a_1218_); -lean_dec_ref(v___x_1217_); -v___x_1219_ = lean_ptr_addr(v_a_1215_); -v___x_1220_ = lean_ptr_addr(v_a_1218_); -v___x_1221_ = lean_usize_dec_eq(v___x_1219_, v___x_1220_); -if (v___x_1221_ == 0) -{ -lean_object* v___x_1222_; lean_object* v___x_1223_; lean_object* v___x_1224_; -v___x_1222_ = lean_unsigned_to_nat(1u); -v___x_1223_ = lean_nat_add(v_i_1205_, v___x_1222_); -v___x_1224_ = lean_array_fset(v_as_1206_, v_i_1205_, v_a_1218_); -lean_dec(v_i_1205_); -v_i_1205_ = v___x_1223_; -v_as_1206_ = v___x_1224_; +v_x_1180_ = v_tail_1185_; goto _start; } else { -lean_object* v___x_1226_; lean_object* v___x_1227_; -lean_dec(v_a_1218_); -v___x_1226_ = lean_unsigned_to_nat(1u); -v___x_1227_ = lean_nat_add(v_i_1205_, v___x_1226_); -lean_dec(v_i_1205_); -v_i_1205_ = v___x_1227_; -goto _start; -} -} -else -{ -lean_object* v_a_1229_; lean_object* v___x_1231_; uint8_t v_isShared_1232_; uint8_t v_isSharedCheck_1236_; -lean_dec(v___y_1210_); -lean_dec_ref(v___y_1209_); -lean_dec(v___y_1208_); -lean_dec_ref(v___y_1207_); -lean_dec_ref(v_as_1206_); -lean_dec(v_i_1205_); -lean_dec(v_declName_1204_); -lean_dec_ref(v_map_1203_); -v_a_1229_ = lean_ctor_get(v___x_1217_, 0); -v_isSharedCheck_1236_ = !lean_is_exclusive(v___x_1217_); -if (v_isSharedCheck_1236_ == 0) -{ -v___x_1231_ = v___x_1217_; -v_isShared_1232_ = v_isSharedCheck_1236_; -goto v_resetjp_1230_; -} -else -{ -lean_inc(v_a_1229_); -lean_dec(v___x_1217_); -v___x_1231_ = lean_box(0); -v_isShared_1232_ = v_isSharedCheck_1236_; -goto v_resetjp_1230_; -} -v_resetjp_1230_: -{ -lean_object* v___x_1234_; -if (v_isShared_1232_ == 0) -{ -v___x_1234_ = v___x_1231_; -goto v_reusejp_1233_; -} -else -{ -lean_object* v_reuseFailAlloc_1235_; -v_reuseFailAlloc_1235_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1235_, 0, v_a_1229_); -v___x_1234_ = v_reuseFailAlloc_1235_; -goto v_reusejp_1233_; -} -v_reusejp_1233_: -{ -return v___x_1234_; +lean_dec(v_inst_1178_); +lean_inc(v_value_1184_); +return v_value_1184_; } } } } -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2___boxed(lean_object* v_map_1237_, lean_object* v_declName_1238_, lean_object* v_i_1239_, lean_object* v_as_1240_, lean_object* v___y_1241_, lean_object* v___y_1242_, lean_object* v___y_1243_, lean_object* v___y_1244_, lean_object* v___y_1245_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg___boxed(lean_object* v_inst_1188_, lean_object* v_a_1189_, lean_object* v_x_1190_){ _start: { -lean_object* v_res_1246_; -v_res_1246_ = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(v_map_1237_, v_declName_1238_, v_i_1239_, v_as_1240_, v___y_1241_, v___y_1242_, v___y_1243_, v___y_1244_); -return v_res_1246_; +lean_object* v_res_1191_; +v_res_1191_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_1188_, v_a_1189_, v_x_1190_); +lean_dec(v_x_1190_); +lean_dec_ref(v_a_1189_); +return v_res_1191_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0(lean_object* v_00_u03b2_1247_, lean_object* v_inst_1248_, lean_object* v_m_1249_, lean_object* v_a_1250_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(lean_object* v_inst_1192_, lean_object* v_m_1193_, lean_object* v_a_1194_){ _start: { -lean_object* v___x_1251_; -v___x_1251_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v_inst_1248_, v_m_1249_, v_a_1250_); -return v___x_1251_; +lean_object* v_buckets_1195_; lean_object* v___x_1196_; uint64_t v___x_1197_; uint64_t v___x_1198_; uint64_t v___x_1199_; uint64_t v_fold_1200_; uint64_t v___x_1201_; uint64_t v___x_1202_; uint64_t v___x_1203_; size_t v___x_1204_; size_t v___x_1205_; size_t v___x_1206_; size_t v___x_1207_; size_t v___x_1208_; lean_object* v___x_1209_; lean_object* v___x_1210_; +v_buckets_1195_ = lean_ctor_get(v_m_1193_, 1); +v___x_1196_ = lean_array_get_size(v_buckets_1195_); +v___x_1197_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_1194_); +v___x_1198_ = 32ULL; +v___x_1199_ = lean_uint64_shift_right(v___x_1197_, v___x_1198_); +v_fold_1200_ = lean_uint64_xor(v___x_1197_, v___x_1199_); +v___x_1201_ = 16ULL; +v___x_1202_ = lean_uint64_shift_right(v_fold_1200_, v___x_1201_); +v___x_1203_ = lean_uint64_xor(v_fold_1200_, v___x_1202_); +v___x_1204_ = lean_uint64_to_usize(v___x_1203_); +v___x_1205_ = lean_usize_of_nat(v___x_1196_); +v___x_1206_ = ((size_t)1ULL); +v___x_1207_ = lean_usize_sub(v___x_1205_, v___x_1206_); +v___x_1208_ = lean_usize_land(v___x_1204_, v___x_1207_); +v___x_1209_ = lean_array_uget_borrowed(v_buckets_1195_, v___x_1208_); +v___x_1210_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_1192_, v_a_1194_, v___x_1209_); +return v___x_1210_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___boxed(lean_object* v_00_u03b2_1252_, lean_object* v_inst_1253_, lean_object* v_m_1254_, lean_object* v_a_1255_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg___boxed(lean_object* v_inst_1211_, lean_object* v_m_1212_, lean_object* v_a_1213_){ _start: { -lean_object* v_res_1256_; -v_res_1256_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0(v_00_u03b2_1252_, v_inst_1253_, v_m_1254_, v_a_1255_); -lean_dec_ref(v_a_1255_); -lean_dec_ref(v_m_1254_); -return v_res_1256_; +lean_object* v_res_1214_; +v_res_1214_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v_inst_1211_, v_m_1212_, v_a_1213_); +lean_dec_ref(v_a_1213_); +lean_dec_ref(v_m_1212_); +return v_res_1214_; } } -LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0_spec__3___redArg(lean_object* v_inst_1257_, lean_object* v_msg_1258_){ +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0(void){ _start: { -lean_object* v___x_1259_; -v___x_1259_ = lean_panic_fn(v_inst_1257_, v_msg_1258_); -return v___x_1259_; +lean_object* v___x_1215_; +v___x_1215_ = l_Array_instInhabited(lean_box(0)); +return v___x_1215_; } } -LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0_spec__3(lean_object* v_00_u03b2_1260_, lean_object* v_inst_1261_, lean_object* v_msg_1262_){ +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2(void){ _start: { -lean_object* v___x_1263_; -v___x_1263_ = lean_panic_fn(v_inst_1261_, v_msg_1262_); -return v___x_1263_; +lean_object* v___x_1217_; lean_object* v___x_1218_; lean_object* v___x_1219_; lean_object* v___x_1220_; lean_object* v___x_1221_; lean_object* v___x_1222_; +v___x_1217_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); +v___x_1218_ = lean_unsigned_to_nat(61u); +v___x_1219_ = lean_unsigned_to_nat(157u); +v___x_1220_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__1)); +v___x_1221_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); +v___x_1222_ = l_mkPanicMessageWithDecl(v___x_1221_, v___x_1220_, v___x_1219_, v___x_1218_, v___x_1217_); +return v___x_1222_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0(lean_object* v_00_u03b2_1264_, lean_object* v_inst_1265_, lean_object* v_a_1266_, lean_object* v_x_1267_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(lean_object* v_map_1223_, lean_object* v_declName_1224_, lean_object* v_code_1225_, lean_object* v_a_1226_, lean_object* v_a_1227_, lean_object* v_a_1228_, lean_object* v_a_1229_){ _start: { -lean_object* v___x_1268_; -v___x_1268_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_1265_, v_a_1266_, v_x_1267_); -return v___x_1268_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1269_, lean_object* v_inst_1270_, lean_object* v_a_1271_, lean_object* v_x_1272_){ -_start: -{ -lean_object* v_res_1273_; -v_res_1273_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0(v_00_u03b2_1269_, v_inst_1270_, v_a_1271_, v_x_1272_); -lean_dec(v_x_1272_); -lean_dec_ref(v_a_1271_); -return v_res_1273_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(lean_object* v_map_1274_, size_t v_sz_1275_, size_t v_i_1276_, lean_object* v_bs_1277_, lean_object* v___y_1278_, lean_object* v___y_1279_, lean_object* v___y_1280_, lean_object* v___y_1281_){ -_start: -{ -uint8_t v___x_1283_; -v___x_1283_ = lean_usize_dec_lt(v_i_1276_, v_sz_1275_); -if (v___x_1283_ == 0) -{ -lean_object* v___x_1284_; -lean_dec(v___y_1281_); -lean_dec_ref(v___y_1280_); -lean_dec(v___y_1279_); -lean_dec_ref(v___y_1278_); -lean_dec_ref(v_map_1274_); -v___x_1284_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1284_, 0, v_bs_1277_); -return v___x_1284_; -} -else -{ -lean_object* v_v_1285_; lean_object* v_toSignature_1286_; lean_object* v_value_1287_; uint8_t v_recursive_1288_; lean_object* v_inlineAttr_x3f_1289_; lean_object* v___x_1290_; lean_object* v_bs_x27_1291_; lean_object* v_a_1293_; -v_v_1285_ = lean_array_uget(v_bs_1277_, v_i_1276_); -v_toSignature_1286_ = lean_ctor_get(v_v_1285_, 0); -lean_inc_ref(v_toSignature_1286_); -v_value_1287_ = lean_ctor_get(v_v_1285_, 1); -lean_inc_ref(v_value_1287_); -v_recursive_1288_ = lean_ctor_get_uint8(v_v_1285_, sizeof(void*)*3); -v_inlineAttr_x3f_1289_ = lean_ctor_get(v_v_1285_, 2); -v___x_1290_ = lean_unsigned_to_nat(0u); -v_bs_x27_1291_ = lean_array_uset(v_bs_1277_, v_i_1276_, v___x_1290_); -if (lean_obj_tag(v_value_1287_) == 0) -{ -lean_object* v___x_1299_; uint8_t v_isShared_1300_; uint8_t v_isSharedCheck_1347_; -lean_inc(v_inlineAttr_x3f_1289_); -v_isSharedCheck_1347_ = !lean_is_exclusive(v_v_1285_); -if (v_isSharedCheck_1347_ == 0) -{ -lean_object* v_unused_1348_; lean_object* v_unused_1349_; lean_object* v_unused_1350_; -v_unused_1348_ = lean_ctor_get(v_v_1285_, 2); -lean_dec(v_unused_1348_); -v_unused_1349_ = lean_ctor_get(v_v_1285_, 1); -lean_dec(v_unused_1349_); -v_unused_1350_ = lean_ctor_get(v_v_1285_, 0); -lean_dec(v_unused_1350_); -v___x_1299_ = v_v_1285_; -v_isShared_1300_ = v_isSharedCheck_1347_; -goto v_resetjp_1298_; -} -else -{ -lean_dec(v_v_1285_); -v___x_1299_ = lean_box(0); -v_isShared_1300_ = v_isSharedCheck_1347_; -goto v_resetjp_1298_; -} -v_resetjp_1298_: -{ -lean_object* v_code_1301_; lean_object* v___x_1303_; uint8_t v_isShared_1304_; uint8_t v_isSharedCheck_1346_; -v_code_1301_ = lean_ctor_get(v_value_1287_, 0); -v_isSharedCheck_1346_ = !lean_is_exclusive(v_value_1287_); -if (v_isSharedCheck_1346_ == 0) -{ -v___x_1303_ = v_value_1287_; -v_isShared_1304_ = v_isSharedCheck_1346_; -goto v_resetjp_1302_; -} -else -{ -lean_inc(v_code_1301_); -lean_dec(v_value_1287_); -v___x_1303_ = lean_box(0); -v_isShared_1304_ = v_isSharedCheck_1346_; -goto v_resetjp_1302_; -} -v_resetjp_1302_: -{ -lean_object* v_name_1305_; lean_object* v_levelParams_1306_; lean_object* v_type_1307_; lean_object* v_params_1308_; uint8_t v_safe_1309_; lean_object* v___x_1311_; uint8_t v_isShared_1312_; uint8_t v_isSharedCheck_1345_; -v_name_1305_ = lean_ctor_get(v_toSignature_1286_, 0); -v_levelParams_1306_ = lean_ctor_get(v_toSignature_1286_, 1); -v_type_1307_ = lean_ctor_get(v_toSignature_1286_, 2); -v_params_1308_ = lean_ctor_get(v_toSignature_1286_, 3); -v_safe_1309_ = lean_ctor_get_uint8(v_toSignature_1286_, sizeof(void*)*4); -v_isSharedCheck_1345_ = !lean_is_exclusive(v_toSignature_1286_); -if (v_isSharedCheck_1345_ == 0) -{ -v___x_1311_ = v_toSignature_1286_; -v_isShared_1312_ = v_isSharedCheck_1345_; -goto v_resetjp_1310_; -} -else -{ -lean_inc(v_params_1308_); -lean_inc(v_type_1307_); -lean_inc(v_levelParams_1306_); -lean_inc(v_name_1305_); -lean_dec(v_toSignature_1286_); -v___x_1311_ = lean_box(0); -v_isShared_1312_ = v_isSharedCheck_1345_; -goto v_resetjp_1310_; -} -v_resetjp_1310_: -{ -lean_object* v___x_1313_; -lean_inc(v___y_1281_); -lean_inc_ref(v___y_1280_); -lean_inc(v___y_1279_); -lean_inc_ref(v___y_1278_); -lean_inc(v_name_1305_); -lean_inc_ref(v_map_1274_); -v___x_1313_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1274_, v_name_1305_, v_code_1301_, v___y_1278_, v___y_1279_, v___y_1280_, v___y_1281_); -if (lean_obj_tag(v___x_1313_) == 0) -{ -lean_object* v_a_1314_; lean_object* v___x_1315_; lean_object* v___x_1316_; lean_object* v___x_1317_; lean_object* v___x_1318_; -v_a_1314_ = lean_ctor_get(v___x_1313_, 0); -lean_inc(v_a_1314_); -lean_dec_ref(v___x_1313_); -v___x_1315_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); -lean_inc(v_name_1305_); -v___x_1316_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1316_, 0, v_name_1305_); -v___x_1317_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v___x_1315_, v_map_1274_, v___x_1316_); -lean_dec_ref(v___x_1316_); -v___x_1318_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_params_1308_, v___x_1317_, v___y_1278_, v___y_1279_, v___y_1280_, v___y_1281_); -if (lean_obj_tag(v___x_1318_) == 0) -{ -lean_object* v_a_1319_; lean_object* v___x_1321_; -v_a_1319_ = lean_ctor_get(v___x_1318_, 0); -lean_inc(v_a_1319_); -lean_dec_ref(v___x_1318_); -if (v_isShared_1312_ == 0) -{ -lean_ctor_set(v___x_1311_, 3, v_a_1319_); -v___x_1321_ = v___x_1311_; -goto v_reusejp_1320_; -} -else -{ -lean_object* v_reuseFailAlloc_1328_; -v_reuseFailAlloc_1328_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v_reuseFailAlloc_1328_, 0, v_name_1305_); -lean_ctor_set(v_reuseFailAlloc_1328_, 1, v_levelParams_1306_); -lean_ctor_set(v_reuseFailAlloc_1328_, 2, v_type_1307_); -lean_ctor_set(v_reuseFailAlloc_1328_, 3, v_a_1319_); -lean_ctor_set_uint8(v_reuseFailAlloc_1328_, sizeof(void*)*4, v_safe_1309_); -v___x_1321_ = v_reuseFailAlloc_1328_; -goto v_reusejp_1320_; -} -v_reusejp_1320_: -{ -lean_object* v___x_1323_; -if (v_isShared_1304_ == 0) -{ -lean_ctor_set(v___x_1303_, 0, v_a_1314_); -v___x_1323_ = v___x_1303_; -goto v_reusejp_1322_; -} -else -{ -lean_object* v_reuseFailAlloc_1327_; -v_reuseFailAlloc_1327_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1327_, 0, v_a_1314_); -v___x_1323_ = v_reuseFailAlloc_1327_; -goto v_reusejp_1322_; -} -v_reusejp_1322_: -{ -lean_object* v___x_1325_; -if (v_isShared_1300_ == 0) -{ -lean_ctor_set(v___x_1299_, 1, v___x_1323_); -lean_ctor_set(v___x_1299_, 0, v___x_1321_); -v___x_1325_ = v___x_1299_; -goto v_reusejp_1324_; -} -else -{ -lean_object* v_reuseFailAlloc_1326_; -v_reuseFailAlloc_1326_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_1326_, 0, v___x_1321_); -lean_ctor_set(v_reuseFailAlloc_1326_, 1, v___x_1323_); -lean_ctor_set(v_reuseFailAlloc_1326_, 2, v_inlineAttr_x3f_1289_); -lean_ctor_set_uint8(v_reuseFailAlloc_1326_, sizeof(void*)*3, v_recursive_1288_); -v___x_1325_ = v_reuseFailAlloc_1326_; -goto v_reusejp_1324_; -} -v_reusejp_1324_: -{ -v_a_1293_ = v___x_1325_; -goto v___jp_1292_; -} -} -} -} -else -{ -lean_object* v_a_1329_; lean_object* v___x_1331_; uint8_t v_isShared_1332_; uint8_t v_isSharedCheck_1336_; -lean_dec(v_a_1314_); -lean_del_object(v___x_1311_); -lean_dec_ref(v_type_1307_); -lean_dec(v_levelParams_1306_); -lean_dec(v_name_1305_); -lean_del_object(v___x_1303_); -lean_del_object(v___x_1299_); -lean_dec_ref(v_bs_x27_1291_); -lean_dec(v_inlineAttr_x3f_1289_); -lean_dec(v___y_1281_); -lean_dec_ref(v___y_1280_); -lean_dec(v___y_1279_); -lean_dec_ref(v___y_1278_); -lean_dec_ref(v_map_1274_); -v_a_1329_ = lean_ctor_get(v___x_1318_, 0); -v_isSharedCheck_1336_ = !lean_is_exclusive(v___x_1318_); -if (v_isSharedCheck_1336_ == 0) -{ -v___x_1331_ = v___x_1318_; -v_isShared_1332_ = v_isSharedCheck_1336_; -goto v_resetjp_1330_; -} -else -{ -lean_inc(v_a_1329_); -lean_dec(v___x_1318_); -v___x_1331_ = lean_box(0); -v_isShared_1332_ = v_isSharedCheck_1336_; -goto v_resetjp_1330_; -} -v_resetjp_1330_: -{ -lean_object* v___x_1334_; -if (v_isShared_1332_ == 0) -{ -v___x_1334_ = v___x_1331_; -goto v_reusejp_1333_; -} -else -{ -lean_object* v_reuseFailAlloc_1335_; -v_reuseFailAlloc_1335_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1335_, 0, v_a_1329_); -v___x_1334_ = v_reuseFailAlloc_1335_; -goto v_reusejp_1333_; -} -v_reusejp_1333_: -{ -return v___x_1334_; -} -} -} -} -else -{ -lean_object* v_a_1337_; lean_object* v___x_1339_; uint8_t v_isShared_1340_; uint8_t v_isSharedCheck_1344_; -lean_del_object(v___x_1311_); -lean_dec_ref(v_params_1308_); -lean_dec_ref(v_type_1307_); -lean_dec(v_levelParams_1306_); -lean_dec(v_name_1305_); -lean_del_object(v___x_1303_); -lean_del_object(v___x_1299_); -lean_dec_ref(v_bs_x27_1291_); -lean_dec(v_inlineAttr_x3f_1289_); -lean_dec(v___y_1281_); -lean_dec_ref(v___y_1280_); -lean_dec(v___y_1279_); -lean_dec_ref(v___y_1278_); -lean_dec_ref(v_map_1274_); -v_a_1337_ = lean_ctor_get(v___x_1313_, 0); -v_isSharedCheck_1344_ = !lean_is_exclusive(v___x_1313_); -if (v_isSharedCheck_1344_ == 0) -{ -v___x_1339_ = v___x_1313_; -v_isShared_1340_ = v_isSharedCheck_1344_; -goto v_resetjp_1338_; -} -else -{ -lean_inc(v_a_1337_); -lean_dec(v___x_1313_); -v___x_1339_ = lean_box(0); -v_isShared_1340_ = v_isSharedCheck_1344_; -goto v_resetjp_1338_; -} -v_resetjp_1338_: -{ -lean_object* v___x_1342_; -if (v_isShared_1340_ == 0) -{ -v___x_1342_ = v___x_1339_; -goto v_reusejp_1341_; -} -else -{ -lean_object* v_reuseFailAlloc_1343_; -v_reuseFailAlloc_1343_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1343_, 0, v_a_1337_); -v___x_1342_ = v_reuseFailAlloc_1343_; -goto v_reusejp_1341_; -} -v_reusejp_1341_: -{ -return v___x_1342_; -} -} -} -} -} -} -} -else -{ -lean_dec_ref(v_value_1287_); -lean_dec_ref(v_toSignature_1286_); -v_a_1293_ = v_v_1285_; -goto v___jp_1292_; -} -v___jp_1292_: -{ -size_t v___x_1294_; size_t v___x_1295_; lean_object* v___x_1296_; -v___x_1294_ = ((size_t)1ULL); -v___x_1295_ = lean_usize_add(v_i_1276_, v___x_1294_); -v___x_1296_ = lean_array_uset(v_bs_x27_1291_, v_i_1276_, v_a_1293_); -v_i_1276_ = v___x_1295_; -v_bs_1277_ = v___x_1296_; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0___boxed(lean_object* v_map_1351_, lean_object* v_sz_1352_, lean_object* v_i_1353_, lean_object* v_bs_1354_, lean_object* v___y_1355_, lean_object* v___y_1356_, lean_object* v___y_1357_, lean_object* v___y_1358_, lean_object* v___y_1359_){ -_start: -{ -size_t v_sz_boxed_1360_; size_t v_i_boxed_1361_; lean_object* v_res_1362_; -v_sz_boxed_1360_ = lean_unbox_usize(v_sz_1352_); -lean_dec(v_sz_1352_); -v_i_boxed_1361_ = lean_unbox_usize(v_i_1353_); -lean_dec(v_i_1353_); -v_res_1362_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(v_map_1351_, v_sz_boxed_1360_, v_i_boxed_1361_, v_bs_1354_, v___y_1355_, v___y_1356_, v___y_1357_, v___y_1358_); -return v_res_1362_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(lean_object* v_decls_1363_, lean_object* v_map_1364_, lean_object* v_a_1365_, lean_object* v_a_1366_, lean_object* v_a_1367_, lean_object* v_a_1368_){ -_start: -{ -size_t v_sz_1370_; size_t v___x_1371_; lean_object* v___x_1372_; -v_sz_1370_ = lean_array_size(v_decls_1363_); -v___x_1371_ = ((size_t)0ULL); -v___x_1372_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(v_map_1364_, v_sz_1370_, v___x_1371_, v_decls_1363_, v_a_1365_, v_a_1366_, v_a_1367_, v_a_1368_); -return v___x_1372_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply___boxed(lean_object* v_decls_1373_, lean_object* v_map_1374_, lean_object* v_a_1375_, lean_object* v_a_1376_, lean_object* v_a_1377_, lean_object* v_a_1378_, lean_object* v_a_1379_){ -_start: -{ -lean_object* v_res_1380_; -v_res_1380_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(v_decls_1373_, v_map_1374_, v_a_1375_, v_a_1376_, v_a_1377_, v_a_1378_); -return v_res_1380_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0(lean_object* v_____do__lift_1381_, lean_object* v___y_1382_, lean_object* v___y_1383_, lean_object* v___y_1384_, lean_object* v___y_1385_, lean_object* v___y_1386_, lean_object* v___y_1387_){ -_start: -{ -lean_object* v_paramSet_1389_; lean_object* v___x_1390_; -v_paramSet_1389_ = lean_ctor_get(v_____do__lift_1381_, 2); -lean_inc(v_paramSet_1389_); -v___x_1390_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1390_, 0, v_paramSet_1389_); -return v___x_1390_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0___boxed(lean_object* v_____do__lift_1391_, lean_object* v___y_1392_, lean_object* v___y_1393_, lean_object* v___y_1394_, lean_object* v___y_1395_, lean_object* v___y_1396_, lean_object* v___y_1397_, lean_object* v___y_1398_){ -_start: -{ -lean_object* v_res_1399_; -v_res_1399_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0(v_____do__lift_1391_, v___y_1392_, v___y_1393_, v___y_1394_, v___y_1395_, v___y_1396_, v___y_1397_); -lean_dec(v___y_1397_); -lean_dec_ref(v___y_1396_); -lean_dec(v___y_1395_); -lean_dec_ref(v___y_1394_); -lean_dec(v___y_1393_); -lean_dec_ref(v___y_1392_); -lean_dec_ref(v_____do__lift_1391_); -return v_res_1399_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1(lean_object* v_00_u03b1_1400_, lean_object* v_f_1401_, lean_object* v_mx_1402_, lean_object* v___y_1403_, lean_object* v___y_1404_, lean_object* v___y_1405_, lean_object* v___y_1406_, lean_object* v___y_1407_, lean_object* v___y_1408_){ -_start: -{ -lean_object* v_decls_1410_; lean_object* v_currDecl_1411_; lean_object* v_paramSet_1412_; lean_object* v___x_1414_; uint8_t v_isShared_1415_; uint8_t v_isSharedCheck_1421_; -v_decls_1410_ = lean_ctor_get(v___y_1403_, 0); -v_currDecl_1411_ = lean_ctor_get(v___y_1403_, 1); -v_paramSet_1412_ = lean_ctor_get(v___y_1403_, 2); -v_isSharedCheck_1421_ = !lean_is_exclusive(v___y_1403_); -if (v_isSharedCheck_1421_ == 0) -{ -v___x_1414_ = v___y_1403_; -v_isShared_1415_ = v_isSharedCheck_1421_; -goto v_resetjp_1413_; -} -else -{ -lean_inc(v_paramSet_1412_); -lean_inc(v_currDecl_1411_); -lean_inc(v_decls_1410_); -lean_dec(v___y_1403_); -v___x_1414_ = lean_box(0); -v_isShared_1415_ = v_isSharedCheck_1421_; -goto v_resetjp_1413_; -} -v_resetjp_1413_: -{ -lean_object* v___x_1416_; lean_object* v___x_1418_; -v___x_1416_ = lean_apply_1(v_f_1401_, v_paramSet_1412_); -if (v_isShared_1415_ == 0) -{ -lean_ctor_set(v___x_1414_, 2, v___x_1416_); -v___x_1418_ = v___x_1414_; -goto v_reusejp_1417_; -} -else -{ -lean_object* v_reuseFailAlloc_1420_; -v_reuseFailAlloc_1420_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_1420_, 0, v_decls_1410_); -lean_ctor_set(v_reuseFailAlloc_1420_, 1, v_currDecl_1411_); -lean_ctor_set(v_reuseFailAlloc_1420_, 2, v___x_1416_); -v___x_1418_ = v_reuseFailAlloc_1420_; -goto v_reusejp_1417_; -} -v_reusejp_1417_: -{ -lean_object* v___x_1419_; -v___x_1419_ = lean_apply_7(v_mx_1402_, v___x_1418_, v___y_1404_, v___y_1405_, v___y_1406_, v___y_1407_, v___y_1408_, lean_box(0)); -return v___x_1419_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1___boxed(lean_object* v_00_u03b1_1422_, lean_object* v_f_1423_, lean_object* v_mx_1424_, lean_object* v___y_1425_, lean_object* v___y_1426_, lean_object* v___y_1427_, lean_object* v___y_1428_, lean_object* v___y_1429_, lean_object* v___y_1430_, lean_object* v___y_1431_){ -_start: -{ -lean_object* v_res_1432_; -v_res_1432_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1(v_00_u03b1_1422_, v_f_1423_, v_mx_1424_, v___y_1425_, v___y_1426_, v___y_1427_, v___y_1428_, v___y_1429_, v___y_1430_); -return v_res_1432_; -} -} -static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM(void){ -_start: -{ -lean_object* v___x_1435_; lean_object* v___x_1436_; lean_object* v_toApplicative_1437_; lean_object* v___x_1439_; uint8_t v_isShared_1440_; uint8_t v_isSharedCheck_1500_; -v___x_1435_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_1436_ = l_ReaderT_instMonad___redArg(v___x_1435_); -v_toApplicative_1437_ = lean_ctor_get(v___x_1436_, 0); -v_isSharedCheck_1500_ = !lean_is_exclusive(v___x_1436_); -if (v_isSharedCheck_1500_ == 0) -{ -lean_object* v_unused_1501_; -v_unused_1501_ = lean_ctor_get(v___x_1436_, 1); -lean_dec(v_unused_1501_); -v___x_1439_ = v___x_1436_; -v_isShared_1440_ = v_isSharedCheck_1500_; -goto v_resetjp_1438_; -} -else -{ -lean_inc(v_toApplicative_1437_); -lean_dec(v___x_1436_); -v___x_1439_ = lean_box(0); -v_isShared_1440_ = v_isSharedCheck_1500_; -goto v_resetjp_1438_; -} -v_resetjp_1438_: -{ -lean_object* v_toFunctor_1441_; lean_object* v_toSeq_1442_; lean_object* v_toSeqLeft_1443_; lean_object* v_toSeqRight_1444_; lean_object* v___x_1446_; uint8_t v_isShared_1447_; uint8_t v_isSharedCheck_1498_; -v_toFunctor_1441_ = lean_ctor_get(v_toApplicative_1437_, 0); -v_toSeq_1442_ = lean_ctor_get(v_toApplicative_1437_, 2); -v_toSeqLeft_1443_ = lean_ctor_get(v_toApplicative_1437_, 3); -v_toSeqRight_1444_ = lean_ctor_get(v_toApplicative_1437_, 4); -v_isSharedCheck_1498_ = !lean_is_exclusive(v_toApplicative_1437_); -if (v_isSharedCheck_1498_ == 0) -{ -lean_object* v_unused_1499_; -v_unused_1499_ = lean_ctor_get(v_toApplicative_1437_, 1); -lean_dec(v_unused_1499_); -v___x_1446_ = v_toApplicative_1437_; -v_isShared_1447_ = v_isSharedCheck_1498_; -goto v_resetjp_1445_; -} -else -{ -lean_inc(v_toSeqRight_1444_); -lean_inc(v_toSeqLeft_1443_); -lean_inc(v_toSeq_1442_); -lean_inc(v_toFunctor_1441_); -lean_dec(v_toApplicative_1437_); -v___x_1446_ = lean_box(0); -v_isShared_1447_ = v_isSharedCheck_1498_; -goto v_resetjp_1445_; -} -v_resetjp_1445_: -{ -lean_object* v___f_1448_; lean_object* v___f_1449_; lean_object* v___f_1450_; lean_object* v___f_1451_; lean_object* v___x_1452_; lean_object* v___f_1453_; lean_object* v___f_1454_; lean_object* v___f_1455_; lean_object* v___x_1457_; -v___f_1448_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_1449_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_1441_); -v___f_1450_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_1450_, 0, v_toFunctor_1441_); -v___f_1451_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_1451_, 0, v_toFunctor_1441_); -v___x_1452_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1452_, 0, v___f_1450_); -lean_ctor_set(v___x_1452_, 1, v___f_1451_); -v___f_1453_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_1453_, 0, v_toSeqRight_1444_); -v___f_1454_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_1454_, 0, v_toSeqLeft_1443_); -v___f_1455_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_1455_, 0, v_toSeq_1442_); -if (v_isShared_1447_ == 0) -{ -lean_ctor_set(v___x_1446_, 4, v___f_1453_); -lean_ctor_set(v___x_1446_, 3, v___f_1454_); -lean_ctor_set(v___x_1446_, 2, v___f_1455_); -lean_ctor_set(v___x_1446_, 1, v___f_1448_); -lean_ctor_set(v___x_1446_, 0, v___x_1452_); -v___x_1457_ = v___x_1446_; -goto v_reusejp_1456_; -} -else -{ -lean_object* v_reuseFailAlloc_1497_; -v_reuseFailAlloc_1497_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1497_, 0, v___x_1452_); -lean_ctor_set(v_reuseFailAlloc_1497_, 1, v___f_1448_); -lean_ctor_set(v_reuseFailAlloc_1497_, 2, v___f_1455_); -lean_ctor_set(v_reuseFailAlloc_1497_, 3, v___f_1454_); -lean_ctor_set(v_reuseFailAlloc_1497_, 4, v___f_1453_); -v___x_1457_ = v_reuseFailAlloc_1497_; -goto v_reusejp_1456_; -} -v_reusejp_1456_: -{ -lean_object* v___x_1459_; -if (v_isShared_1440_ == 0) -{ -lean_ctor_set(v___x_1439_, 1, v___f_1449_); -lean_ctor_set(v___x_1439_, 0, v___x_1457_); -v___x_1459_ = v___x_1439_; -goto v_reusejp_1458_; -} -else -{ -lean_object* v_reuseFailAlloc_1496_; -v_reuseFailAlloc_1496_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1496_, 0, v___x_1457_); -lean_ctor_set(v_reuseFailAlloc_1496_, 1, v___f_1449_); -v___x_1459_ = v_reuseFailAlloc_1496_; -goto v_reusejp_1458_; -} -v_reusejp_1458_: -{ -lean_object* v___x_1460_; lean_object* v_toApplicative_1461_; lean_object* v___x_1463_; uint8_t v_isShared_1464_; uint8_t v_isSharedCheck_1494_; -v___x_1460_ = l_ReaderT_instMonad___redArg(v___x_1459_); -v_toApplicative_1461_ = lean_ctor_get(v___x_1460_, 0); -v_isSharedCheck_1494_ = !lean_is_exclusive(v___x_1460_); -if (v_isSharedCheck_1494_ == 0) -{ -lean_object* v_unused_1495_; -v_unused_1495_ = lean_ctor_get(v___x_1460_, 1); -lean_dec(v_unused_1495_); -v___x_1463_ = v___x_1460_; -v_isShared_1464_ = v_isSharedCheck_1494_; -goto v_resetjp_1462_; -} -else -{ -lean_inc(v_toApplicative_1461_); -lean_dec(v___x_1460_); -v___x_1463_ = lean_box(0); -v_isShared_1464_ = v_isSharedCheck_1494_; -goto v_resetjp_1462_; -} -v_resetjp_1462_: -{ -lean_object* v_toFunctor_1465_; lean_object* v_toSeq_1466_; lean_object* v_toSeqLeft_1467_; lean_object* v_toSeqRight_1468_; lean_object* v___x_1470_; uint8_t v_isShared_1471_; uint8_t v_isSharedCheck_1492_; -v_toFunctor_1465_ = lean_ctor_get(v_toApplicative_1461_, 0); -v_toSeq_1466_ = lean_ctor_get(v_toApplicative_1461_, 2); -v_toSeqLeft_1467_ = lean_ctor_get(v_toApplicative_1461_, 3); -v_toSeqRight_1468_ = lean_ctor_get(v_toApplicative_1461_, 4); -v_isSharedCheck_1492_ = !lean_is_exclusive(v_toApplicative_1461_); -if (v_isSharedCheck_1492_ == 0) -{ -lean_object* v_unused_1493_; -v_unused_1493_ = lean_ctor_get(v_toApplicative_1461_, 1); -lean_dec(v_unused_1493_); -v___x_1470_ = v_toApplicative_1461_; -v_isShared_1471_ = v_isSharedCheck_1492_; -goto v_resetjp_1469_; -} -else -{ -lean_inc(v_toSeqRight_1468_); -lean_inc(v_toSeqLeft_1467_); -lean_inc(v_toSeq_1466_); -lean_inc(v_toFunctor_1465_); -lean_dec(v_toApplicative_1461_); -v___x_1470_ = lean_box(0); -v_isShared_1471_ = v_isSharedCheck_1492_; -goto v_resetjp_1469_; -} -v_resetjp_1469_: -{ -lean_object* v___f_1472_; lean_object* v___f_1473_; lean_object* v___f_1474_; lean_object* v___f_1475_; lean_object* v___f_1476_; lean_object* v___f_1477_; lean_object* v___x_1478_; lean_object* v___f_1479_; lean_object* v___f_1480_; lean_object* v___f_1481_; lean_object* v___x_1483_; -v___f_1472_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___closed__0)); -v___f_1473_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___closed__1)); -v___f_1474_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3)); -v___f_1475_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4)); -lean_inc_ref(v_toFunctor_1465_); -v___f_1476_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_1476_, 0, v_toFunctor_1465_); -v___f_1477_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_1477_, 0, v_toFunctor_1465_); -v___x_1478_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1478_, 0, v___f_1476_); -lean_ctor_set(v___x_1478_, 1, v___f_1477_); -v___f_1479_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_1479_, 0, v_toSeqRight_1468_); -v___f_1480_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_1480_, 0, v_toSeqLeft_1467_); -v___f_1481_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_1481_, 0, v_toSeq_1466_); -if (v_isShared_1471_ == 0) -{ -lean_ctor_set(v___x_1470_, 4, v___f_1479_); -lean_ctor_set(v___x_1470_, 3, v___f_1480_); -lean_ctor_set(v___x_1470_, 2, v___f_1481_); -lean_ctor_set(v___x_1470_, 1, v___f_1474_); -lean_ctor_set(v___x_1470_, 0, v___x_1478_); -v___x_1483_ = v___x_1470_; -goto v_reusejp_1482_; -} -else -{ -lean_object* v_reuseFailAlloc_1491_; -v_reuseFailAlloc_1491_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1491_, 0, v___x_1478_); -lean_ctor_set(v_reuseFailAlloc_1491_, 1, v___f_1474_); -lean_ctor_set(v_reuseFailAlloc_1491_, 2, v___f_1481_); -lean_ctor_set(v_reuseFailAlloc_1491_, 3, v___f_1480_); -lean_ctor_set(v_reuseFailAlloc_1491_, 4, v___f_1479_); -v___x_1483_ = v_reuseFailAlloc_1491_; -goto v_reusejp_1482_; -} -v_reusejp_1482_: -{ -lean_object* v___x_1485_; -if (v_isShared_1464_ == 0) -{ -lean_ctor_set(v___x_1463_, 1, v___f_1475_); -lean_ctor_set(v___x_1463_, 0, v___x_1483_); -v___x_1485_ = v___x_1463_; -goto v_reusejp_1484_; -} -else -{ -lean_object* v_reuseFailAlloc_1490_; -v_reuseFailAlloc_1490_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1490_, 0, v___x_1483_); -lean_ctor_set(v_reuseFailAlloc_1490_, 1, v___f_1475_); -v___x_1485_ = v_reuseFailAlloc_1490_; -goto v_reusejp_1484_; -} -v_reusejp_1484_: -{ -lean_object* v___x_1486_; lean_object* v___x_1487_; lean_object* v___x_1488_; lean_object* v___x_1489_; -v___x_1486_ = l_ReaderT_instMonad___redArg(v___x_1485_); -lean_inc_ref(v___x_1486_); -v___x_1487_ = lean_alloc_closure((void*)(l_ReaderT_read), 4, 3); -lean_closure_set(v___x_1487_, 0, lean_box(0)); -lean_closure_set(v___x_1487_, 1, lean_box(0)); -lean_closure_set(v___x_1487_, 2, v___x_1486_); -v___x_1488_ = lean_alloc_closure((void*)(l_ReaderT_bind), 8, 7); -lean_closure_set(v___x_1488_, 0, lean_box(0)); -lean_closure_set(v___x_1488_, 1, lean_box(0)); -lean_closure_set(v___x_1488_, 2, v___x_1486_); -lean_closure_set(v___x_1488_, 3, lean_box(0)); -lean_closure_set(v___x_1488_, 4, lean_box(0)); -lean_closure_set(v___x_1488_, 5, v___x_1487_); -lean_closure_set(v___x_1488_, 6, v___f_1472_); -v___x_1489_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1489_, 0, v___x_1488_); -lean_ctor_set(v___x_1489_, 1, v___f_1473_); -return v___x_1489_; -} -} -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx(lean_object* v_x_1502_){ -_start: -{ -switch(lean_obj_tag(v_x_1502_)) +switch(lean_obj_tag(v_code_1225_)) { case 0: { -lean_object* v___x_1503_; -v___x_1503_ = lean_unsigned_to_nat(0u); -return v___x_1503_; -} -case 1: +lean_object* v_decl_1231_; lean_object* v_k_1232_; lean_object* v___x_1233_; +v_decl_1231_ = lean_ctor_get(v_code_1225_, 0); +v_k_1232_ = lean_ctor_get(v_code_1225_, 1); +lean_inc_ref(v_k_1232_); +v___x_1233_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1223_, v_declName_1224_, v_k_1232_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1233_) == 0) { -lean_object* v___x_1504_; -v___x_1504_ = lean_unsigned_to_nat(1u); -return v___x_1504_; +lean_object* v_a_1234_; lean_object* v___x_1236_; uint8_t v_isShared_1237_; uint8_t v_isSharedCheck_1256_; +v_a_1234_ = lean_ctor_get(v___x_1233_, 0); +v_isSharedCheck_1256_ = !lean_is_exclusive(v___x_1233_); +if (v_isSharedCheck_1256_ == 0) +{ +v___x_1236_ = v___x_1233_; +v_isShared_1237_ = v_isSharedCheck_1256_; +goto v_resetjp_1235_; +} +else +{ +lean_inc(v_a_1234_); +lean_dec(v___x_1233_); +v___x_1236_ = lean_box(0); +v_isShared_1237_ = v_isSharedCheck_1256_; +goto v_resetjp_1235_; +} +v_resetjp_1235_: +{ +size_t v___x_1238_; size_t v___x_1239_; uint8_t v___x_1240_; +v___x_1238_ = lean_ptr_addr(v_k_1232_); +v___x_1239_ = lean_ptr_addr(v_a_1234_); +v___x_1240_ = lean_usize_dec_eq(v___x_1238_, v___x_1239_); +if (v___x_1240_ == 0) +{ +lean_object* v___x_1242_; uint8_t v_isShared_1243_; uint8_t v_isSharedCheck_1250_; +lean_inc_ref(v_decl_1231_); +v_isSharedCheck_1250_ = !lean_is_exclusive(v_code_1225_); +if (v_isSharedCheck_1250_ == 0) +{ +lean_object* v_unused_1251_; lean_object* v_unused_1252_; +v_unused_1251_ = lean_ctor_get(v_code_1225_, 1); +lean_dec(v_unused_1251_); +v_unused_1252_ = lean_ctor_get(v_code_1225_, 0); +lean_dec(v_unused_1252_); +v___x_1242_ = v_code_1225_; +v_isShared_1243_ = v_isSharedCheck_1250_; +goto v_resetjp_1241_; +} +else +{ +lean_dec(v_code_1225_); +v___x_1242_ = lean_box(0); +v_isShared_1243_ = v_isSharedCheck_1250_; +goto v_resetjp_1241_; +} +v_resetjp_1241_: +{ +lean_object* v___x_1245_; +if (v_isShared_1243_ == 0) +{ +lean_ctor_set(v___x_1242_, 1, v_a_1234_); +v___x_1245_ = v___x_1242_; +goto v_reusejp_1244_; +} +else +{ +lean_object* v_reuseFailAlloc_1249_; +v_reuseFailAlloc_1249_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1249_, 0, v_decl_1231_); +lean_ctor_set(v_reuseFailAlloc_1249_, 1, v_a_1234_); +v___x_1245_ = v_reuseFailAlloc_1249_; +goto v_reusejp_1244_; +} +v_reusejp_1244_: +{ +lean_object* v___x_1247_; +if (v_isShared_1237_ == 0) +{ +lean_ctor_set(v___x_1236_, 0, v___x_1245_); +v___x_1247_ = v___x_1236_; +goto v_reusejp_1246_; +} +else +{ +lean_object* v_reuseFailAlloc_1248_; +v_reuseFailAlloc_1248_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1248_, 0, v___x_1245_); +v___x_1247_ = v_reuseFailAlloc_1248_; +goto v_reusejp_1246_; +} +v_reusejp_1246_: +{ +return v___x_1247_; +} +} +} +} +else +{ +lean_object* v___x_1254_; +lean_dec(v_a_1234_); +if (v_isShared_1237_ == 0) +{ +lean_ctor_set(v___x_1236_, 0, v_code_1225_); +v___x_1254_ = v___x_1236_; +goto v_reusejp_1253_; +} +else +{ +lean_object* v_reuseFailAlloc_1255_; +v_reuseFailAlloc_1255_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1255_, 0, v_code_1225_); +v___x_1254_ = v_reuseFailAlloc_1255_; +goto v_reusejp_1253_; +} +v_reusejp_1253_: +{ +return v___x_1254_; +} +} +} +} +else +{ +lean_dec_ref(v_code_1225_); +return v___x_1233_; +} } case 2: { -lean_object* v___x_1505_; -v___x_1505_ = lean_unsigned_to_nat(2u); -return v___x_1505_; +lean_object* v_decl_1257_; lean_object* v_k_1258_; lean_object* v_fvarId_1259_; lean_object* v_params_1260_; lean_object* v_type_1261_; lean_object* v_value_1262_; lean_object* v_map_1263_; lean_object* v___x_1264_; lean_object* v___x_1265_; lean_object* v___x_1266_; lean_object* v___x_1267_; +v_decl_1257_ = lean_ctor_get(v_code_1225_, 0); +v_k_1258_ = lean_ctor_get(v_code_1225_, 1); +v_fvarId_1259_ = lean_ctor_get(v_decl_1257_, 0); +v_params_1260_ = lean_ctor_get(v_decl_1257_, 2); +v_type_1261_ = lean_ctor_get(v_decl_1257_, 3); +v_value_1262_ = lean_ctor_get(v_decl_1257_, 4); +v_map_1263_ = lean_ctor_get(v_map_1223_, 0); +v___x_1264_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); +lean_inc(v_fvarId_1259_); +lean_inc(v_declName_1224_); +v___x_1265_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_1265_, 0, v_declName_1224_); +lean_ctor_set(v___x_1265_, 1, v_fvarId_1259_); +v___x_1266_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v___x_1264_, v_map_1263_, v___x_1265_); +lean_dec_ref(v___x_1265_); +lean_inc_ref(v_params_1260_); +v___x_1267_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_params_1260_, v___x_1266_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1267_) == 0) +{ +lean_object* v_a_1268_; lean_object* v___x_1269_; +v_a_1268_ = lean_ctor_get(v___x_1267_, 0); +lean_inc(v_a_1268_); +lean_dec_ref(v___x_1267_); +lean_inc(v_a_1229_); +lean_inc_ref(v_a_1228_); +lean_inc(v_a_1227_); +lean_inc_ref(v_a_1226_); +lean_inc_ref(v_value_1262_); +lean_inc(v_declName_1224_); +lean_inc_ref(v_map_1223_); +v___x_1269_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1223_, v_declName_1224_, v_value_1262_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1269_) == 0) +{ +lean_object* v_a_1270_; uint8_t v___x_1271_; lean_object* v___x_1272_; +v_a_1270_ = lean_ctor_get(v___x_1269_, 0); +lean_inc(v_a_1270_); +lean_dec_ref(v___x_1269_); +v___x_1271_ = 1; +lean_inc_ref(v_type_1261_); +lean_inc_ref(v_decl_1257_); +v___x_1272_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp___redArg(v___x_1271_, v_decl_1257_, v_type_1261_, v_a_1268_, v_a_1270_, v_a_1227_); +if (lean_obj_tag(v___x_1272_) == 0) +{ +lean_object* v_a_1273_; lean_object* v___x_1274_; +v_a_1273_ = lean_ctor_get(v___x_1272_, 0); +lean_inc(v_a_1273_); +lean_dec_ref(v___x_1272_); +lean_inc_ref(v_k_1258_); +v___x_1274_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1223_, v_declName_1224_, v_k_1258_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1274_) == 0) +{ +lean_object* v_a_1275_; lean_object* v___x_1277_; uint8_t v_isShared_1278_; uint8_t v_isSharedCheck_1302_; +v_a_1275_ = lean_ctor_get(v___x_1274_, 0); +v_isSharedCheck_1302_ = !lean_is_exclusive(v___x_1274_); +if (v_isSharedCheck_1302_ == 0) +{ +v___x_1277_ = v___x_1274_; +v_isShared_1278_ = v_isSharedCheck_1302_; +goto v_resetjp_1276_; +} +else +{ +lean_inc(v_a_1275_); +lean_dec(v___x_1274_); +v___x_1277_ = lean_box(0); +v_isShared_1278_ = v_isSharedCheck_1302_; +goto v_resetjp_1276_; +} +v_resetjp_1276_: +{ +uint8_t v___y_1280_; size_t v___x_1296_; size_t v___x_1297_; uint8_t v___x_1298_; +v___x_1296_ = lean_ptr_addr(v_k_1258_); +v___x_1297_ = lean_ptr_addr(v_a_1275_); +v___x_1298_ = lean_usize_dec_eq(v___x_1296_, v___x_1297_); +if (v___x_1298_ == 0) +{ +v___y_1280_ = v___x_1298_; +goto v___jp_1279_; +} +else +{ +size_t v___x_1299_; size_t v___x_1300_; uint8_t v___x_1301_; +v___x_1299_ = lean_ptr_addr(v_decl_1257_); +v___x_1300_ = lean_ptr_addr(v_a_1273_); +v___x_1301_ = lean_usize_dec_eq(v___x_1299_, v___x_1300_); +v___y_1280_ = v___x_1301_; +goto v___jp_1279_; +} +v___jp_1279_: +{ +if (v___y_1280_ == 0) +{ +lean_object* v___x_1282_; uint8_t v_isShared_1283_; uint8_t v_isSharedCheck_1290_; +v_isSharedCheck_1290_ = !lean_is_exclusive(v_code_1225_); +if (v_isSharedCheck_1290_ == 0) +{ +lean_object* v_unused_1291_; lean_object* v_unused_1292_; +v_unused_1291_ = lean_ctor_get(v_code_1225_, 1); +lean_dec(v_unused_1291_); +v_unused_1292_ = lean_ctor_get(v_code_1225_, 0); +lean_dec(v_unused_1292_); +v___x_1282_ = v_code_1225_; +v_isShared_1283_ = v_isSharedCheck_1290_; +goto v_resetjp_1281_; +} +else +{ +lean_dec(v_code_1225_); +v___x_1282_ = lean_box(0); +v_isShared_1283_ = v_isSharedCheck_1290_; +goto v_resetjp_1281_; +} +v_resetjp_1281_: +{ +lean_object* v___x_1285_; +if (v_isShared_1283_ == 0) +{ +lean_ctor_set(v___x_1282_, 1, v_a_1275_); +lean_ctor_set(v___x_1282_, 0, v_a_1273_); +v___x_1285_ = v___x_1282_; +goto v_reusejp_1284_; +} +else +{ +lean_object* v_reuseFailAlloc_1289_; +v_reuseFailAlloc_1289_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1289_, 0, v_a_1273_); +lean_ctor_set(v_reuseFailAlloc_1289_, 1, v_a_1275_); +v___x_1285_ = v_reuseFailAlloc_1289_; +goto v_reusejp_1284_; +} +v_reusejp_1284_: +{ +lean_object* v___x_1287_; +if (v_isShared_1278_ == 0) +{ +lean_ctor_set(v___x_1277_, 0, v___x_1285_); +v___x_1287_ = v___x_1277_; +goto v_reusejp_1286_; +} +else +{ +lean_object* v_reuseFailAlloc_1288_; +v_reuseFailAlloc_1288_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1288_, 0, v___x_1285_); +v___x_1287_ = v_reuseFailAlloc_1288_; +goto v_reusejp_1286_; +} +v_reusejp_1286_: +{ +return v___x_1287_; +} +} +} +} +else +{ +lean_object* v___x_1294_; +lean_dec(v_a_1275_); +lean_dec(v_a_1273_); +if (v_isShared_1278_ == 0) +{ +lean_ctor_set(v___x_1277_, 0, v_code_1225_); +v___x_1294_ = v___x_1277_; +goto v_reusejp_1293_; +} +else +{ +lean_object* v_reuseFailAlloc_1295_; +v_reuseFailAlloc_1295_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1295_, 0, v_code_1225_); +v___x_1294_ = v_reuseFailAlloc_1295_; +goto v_reusejp_1293_; +} +v_reusejp_1293_: +{ +return v___x_1294_; +} +} +} +} +} +else +{ +lean_dec(v_a_1273_); +lean_dec_ref(v_code_1225_); +return v___x_1274_; +} +} +else +{ +lean_object* v_a_1303_; lean_object* v___x_1305_; uint8_t v_isShared_1306_; uint8_t v_isSharedCheck_1310_; +lean_dec_ref(v_code_1225_); +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v_a_1303_ = lean_ctor_get(v___x_1272_, 0); +v_isSharedCheck_1310_ = !lean_is_exclusive(v___x_1272_); +if (v_isSharedCheck_1310_ == 0) +{ +v___x_1305_ = v___x_1272_; +v_isShared_1306_ = v_isSharedCheck_1310_; +goto v_resetjp_1304_; +} +else +{ +lean_inc(v_a_1303_); +lean_dec(v___x_1272_); +v___x_1305_ = lean_box(0); +v_isShared_1306_ = v_isSharedCheck_1310_; +goto v_resetjp_1304_; +} +v_resetjp_1304_: +{ +lean_object* v___x_1308_; +if (v_isShared_1306_ == 0) +{ +v___x_1308_ = v___x_1305_; +goto v_reusejp_1307_; +} +else +{ +lean_object* v_reuseFailAlloc_1309_; +v_reuseFailAlloc_1309_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1309_, 0, v_a_1303_); +v___x_1308_ = v_reuseFailAlloc_1309_; +goto v_reusejp_1307_; +} +v_reusejp_1307_: +{ +return v___x_1308_; +} +} +} +} +else +{ +lean_dec(v_a_1268_); +lean_dec_ref(v_code_1225_); +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +return v___x_1269_; +} +} +else +{ +lean_object* v_a_1311_; lean_object* v___x_1313_; uint8_t v_isShared_1314_; uint8_t v_isSharedCheck_1318_; +lean_dec_ref(v_code_1225_); +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v_a_1311_ = lean_ctor_get(v___x_1267_, 0); +v_isSharedCheck_1318_ = !lean_is_exclusive(v___x_1267_); +if (v_isSharedCheck_1318_ == 0) +{ +v___x_1313_ = v___x_1267_; +v_isShared_1314_ = v_isSharedCheck_1318_; +goto v_resetjp_1312_; +} +else +{ +lean_inc(v_a_1311_); +lean_dec(v___x_1267_); +v___x_1313_ = lean_box(0); +v_isShared_1314_ = v_isSharedCheck_1318_; +goto v_resetjp_1312_; +} +v_resetjp_1312_: +{ +lean_object* v___x_1316_; +if (v_isShared_1314_ == 0) +{ +v___x_1316_ = v___x_1313_; +goto v_reusejp_1315_; +} +else +{ +lean_object* v_reuseFailAlloc_1317_; +v_reuseFailAlloc_1317_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1317_, 0, v_a_1311_); +v___x_1316_ = v_reuseFailAlloc_1317_; +goto v_reusejp_1315_; +} +v_reusejp_1315_: +{ +return v___x_1316_; +} +} +} } case 3: { -lean_object* v___x_1506_; -v___x_1506_ = lean_unsigned_to_nat(3u); -return v___x_1506_; +lean_object* v___x_1319_; +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v___x_1319_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1319_, 0, v_code_1225_); +return v___x_1319_; } case 4: { -lean_object* v___x_1507_; -v___x_1507_ = lean_unsigned_to_nat(4u); -return v___x_1507_; +lean_object* v_cases_1320_; lean_object* v_typeName_1321_; lean_object* v_resultType_1322_; lean_object* v_discr_1323_; lean_object* v_alts_1324_; lean_object* v___x_1326_; uint8_t v_isShared_1327_; uint8_t v_isSharedCheck_1363_; +v_cases_1320_ = lean_ctor_get(v_code_1225_, 0); +lean_inc_ref(v_cases_1320_); +v_typeName_1321_ = lean_ctor_get(v_cases_1320_, 0); +v_resultType_1322_ = lean_ctor_get(v_cases_1320_, 1); +v_discr_1323_ = lean_ctor_get(v_cases_1320_, 2); +v_alts_1324_ = lean_ctor_get(v_cases_1320_, 3); +v_isSharedCheck_1363_ = !lean_is_exclusive(v_cases_1320_); +if (v_isSharedCheck_1363_ == 0) +{ +v___x_1326_ = v_cases_1320_; +v_isShared_1327_ = v_isSharedCheck_1363_; +goto v_resetjp_1325_; +} +else +{ +lean_inc(v_alts_1324_); +lean_inc(v_discr_1323_); +lean_inc(v_resultType_1322_); +lean_inc(v_typeName_1321_); +lean_dec(v_cases_1320_); +v___x_1326_ = lean_box(0); +v_isShared_1327_ = v_isSharedCheck_1363_; +goto v_resetjp_1325_; +} +v_resetjp_1325_: +{ +lean_object* v___x_1328_; lean_object* v___x_1329_; +v___x_1328_ = lean_unsigned_to_nat(0u); +lean_inc_ref(v_alts_1324_); +v___x_1329_ = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(v_map_1223_, v_declName_1224_, v___x_1328_, v_alts_1324_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1329_) == 0) +{ +lean_object* v_a_1330_; lean_object* v___x_1332_; uint8_t v_isShared_1333_; uint8_t v_isSharedCheck_1354_; +v_a_1330_ = lean_ctor_get(v___x_1329_, 0); +v_isSharedCheck_1354_ = !lean_is_exclusive(v___x_1329_); +if (v_isSharedCheck_1354_ == 0) +{ +v___x_1332_ = v___x_1329_; +v_isShared_1333_ = v_isSharedCheck_1354_; +goto v_resetjp_1331_; +} +else +{ +lean_inc(v_a_1330_); +lean_dec(v___x_1329_); +v___x_1332_ = lean_box(0); +v_isShared_1333_ = v_isSharedCheck_1354_; +goto v_resetjp_1331_; +} +v_resetjp_1331_: +{ +size_t v___x_1334_; size_t v___x_1335_; uint8_t v___x_1336_; +v___x_1334_ = lean_ptr_addr(v_alts_1324_); +lean_dec_ref(v_alts_1324_); +v___x_1335_ = lean_ptr_addr(v_a_1330_); +v___x_1336_ = lean_usize_dec_eq(v___x_1334_, v___x_1335_); +if (v___x_1336_ == 0) +{ +lean_object* v___x_1338_; uint8_t v_isShared_1339_; uint8_t v_isSharedCheck_1349_; +v_isSharedCheck_1349_ = !lean_is_exclusive(v_code_1225_); +if (v_isSharedCheck_1349_ == 0) +{ +lean_object* v_unused_1350_; +v_unused_1350_ = lean_ctor_get(v_code_1225_, 0); +lean_dec(v_unused_1350_); +v___x_1338_ = v_code_1225_; +v_isShared_1339_ = v_isSharedCheck_1349_; +goto v_resetjp_1337_; +} +else +{ +lean_dec(v_code_1225_); +v___x_1338_ = lean_box(0); +v_isShared_1339_ = v_isSharedCheck_1349_; +goto v_resetjp_1337_; +} +v_resetjp_1337_: +{ +lean_object* v___x_1341_; +if (v_isShared_1327_ == 0) +{ +lean_ctor_set(v___x_1326_, 3, v_a_1330_); +v___x_1341_ = v___x_1326_; +goto v_reusejp_1340_; +} +else +{ +lean_object* v_reuseFailAlloc_1348_; +v_reuseFailAlloc_1348_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_1348_, 0, v_typeName_1321_); +lean_ctor_set(v_reuseFailAlloc_1348_, 1, v_resultType_1322_); +lean_ctor_set(v_reuseFailAlloc_1348_, 2, v_discr_1323_); +lean_ctor_set(v_reuseFailAlloc_1348_, 3, v_a_1330_); +v___x_1341_ = v_reuseFailAlloc_1348_; +goto v_reusejp_1340_; +} +v_reusejp_1340_: +{ +lean_object* v___x_1343_; +if (v_isShared_1339_ == 0) +{ +lean_ctor_set(v___x_1338_, 0, v___x_1341_); +v___x_1343_ = v___x_1338_; +goto v_reusejp_1342_; +} +else +{ +lean_object* v_reuseFailAlloc_1347_; +v_reuseFailAlloc_1347_ = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1347_, 0, v___x_1341_); +v___x_1343_ = v_reuseFailAlloc_1347_; +goto v_reusejp_1342_; +} +v_reusejp_1342_: +{ +lean_object* v___x_1345_; +if (v_isShared_1333_ == 0) +{ +lean_ctor_set(v___x_1332_, 0, v___x_1343_); +v___x_1345_ = v___x_1332_; +goto v_reusejp_1344_; +} +else +{ +lean_object* v_reuseFailAlloc_1346_; +v_reuseFailAlloc_1346_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1346_, 0, v___x_1343_); +v___x_1345_ = v_reuseFailAlloc_1346_; +goto v_reusejp_1344_; +} +v_reusejp_1344_: +{ +return v___x_1345_; +} +} +} +} +} +else +{ +lean_object* v___x_1352_; +lean_dec(v_a_1330_); +lean_del_object(v___x_1326_); +lean_dec(v_discr_1323_); +lean_dec_ref(v_resultType_1322_); +lean_dec(v_typeName_1321_); +if (v_isShared_1333_ == 0) +{ +lean_ctor_set(v___x_1332_, 0, v_code_1225_); +v___x_1352_ = v___x_1332_; +goto v_reusejp_1351_; +} +else +{ +lean_object* v_reuseFailAlloc_1353_; +v_reuseFailAlloc_1353_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1353_, 0, v_code_1225_); +v___x_1352_ = v_reuseFailAlloc_1353_; +goto v_reusejp_1351_; +} +v_reusejp_1351_: +{ +return v___x_1352_; +} +} +} +} +else +{ +lean_object* v_a_1355_; lean_object* v___x_1357_; uint8_t v_isShared_1358_; uint8_t v_isSharedCheck_1362_; +lean_del_object(v___x_1326_); +lean_dec_ref(v_alts_1324_); +lean_dec(v_discr_1323_); +lean_dec_ref(v_resultType_1322_); +lean_dec(v_typeName_1321_); +lean_dec_ref(v_code_1225_); +v_a_1355_ = lean_ctor_get(v___x_1329_, 0); +v_isSharedCheck_1362_ = !lean_is_exclusive(v___x_1329_); +if (v_isSharedCheck_1362_ == 0) +{ +v___x_1357_ = v___x_1329_; +v_isShared_1358_ = v_isSharedCheck_1362_; +goto v_resetjp_1356_; +} +else +{ +lean_inc(v_a_1355_); +lean_dec(v___x_1329_); +v___x_1357_ = lean_box(0); +v_isShared_1358_ = v_isSharedCheck_1362_; +goto v_resetjp_1356_; +} +v_resetjp_1356_: +{ +lean_object* v___x_1360_; +if (v_isShared_1358_ == 0) +{ +v___x_1360_ = v___x_1357_; +goto v_reusejp_1359_; +} +else +{ +lean_object* v_reuseFailAlloc_1361_; +v_reuseFailAlloc_1361_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1361_, 0, v_a_1355_); +v___x_1360_ = v_reuseFailAlloc_1361_; +goto v_reusejp_1359_; +} +v_reusejp_1359_: +{ +return v___x_1360_; +} +} +} +} } case 5: { -lean_object* v___x_1508_; -v___x_1508_ = lean_unsigned_to_nat(5u); -return v___x_1508_; +lean_object* v___x_1364_; +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v___x_1364_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1364_, 0, v_code_1225_); +return v___x_1364_; } case 6: { -lean_object* v___x_1509_; -v___x_1509_ = lean_unsigned_to_nat(6u); -return v___x_1509_; -} -case 7: -{ -lean_object* v___x_1510_; -v___x_1510_ = lean_unsigned_to_nat(7u); -return v___x_1510_; +lean_object* v___x_1365_; +lean_dec(v_a_1229_); +lean_dec_ref(v_a_1228_); +lean_dec(v_a_1227_); +lean_dec_ref(v_a_1226_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v___x_1365_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1365_, 0, v_code_1225_); +return v___x_1365_; } case 8: { -lean_object* v___x_1511_; -v___x_1511_ = lean_unsigned_to_nat(8u); -return v___x_1511_; +lean_object* v_fvarId_1366_; lean_object* v_i_1367_; lean_object* v_y_1368_; lean_object* v_k_1369_; lean_object* v___x_1370_; +v_fvarId_1366_ = lean_ctor_get(v_code_1225_, 0); +v_i_1367_ = lean_ctor_get(v_code_1225_, 1); +v_y_1368_ = lean_ctor_get(v_code_1225_, 2); +v_k_1369_ = lean_ctor_get(v_code_1225_, 3); +lean_inc_ref(v_k_1369_); +v___x_1370_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1223_, v_declName_1224_, v_k_1369_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1370_) == 0) +{ +lean_object* v_a_1371_; lean_object* v___x_1373_; uint8_t v_isShared_1374_; uint8_t v_isSharedCheck_1395_; +v_a_1371_ = lean_ctor_get(v___x_1370_, 0); +v_isSharedCheck_1395_ = !lean_is_exclusive(v___x_1370_); +if (v_isSharedCheck_1395_ == 0) +{ +v___x_1373_ = v___x_1370_; +v_isShared_1374_ = v_isSharedCheck_1395_; +goto v_resetjp_1372_; +} +else +{ +lean_inc(v_a_1371_); +lean_dec(v___x_1370_); +v___x_1373_ = lean_box(0); +v_isShared_1374_ = v_isSharedCheck_1395_; +goto v_resetjp_1372_; +} +v_resetjp_1372_: +{ +size_t v___x_1375_; size_t v___x_1376_; uint8_t v___x_1377_; +v___x_1375_ = lean_ptr_addr(v_k_1369_); +v___x_1376_ = lean_ptr_addr(v_a_1371_); +v___x_1377_ = lean_usize_dec_eq(v___x_1375_, v___x_1376_); +if (v___x_1377_ == 0) +{ +lean_object* v___x_1379_; uint8_t v_isShared_1380_; uint8_t v_isSharedCheck_1387_; +lean_inc(v_y_1368_); +lean_inc(v_i_1367_); +lean_inc(v_fvarId_1366_); +v_isSharedCheck_1387_ = !lean_is_exclusive(v_code_1225_); +if (v_isSharedCheck_1387_ == 0) +{ +lean_object* v_unused_1388_; lean_object* v_unused_1389_; lean_object* v_unused_1390_; lean_object* v_unused_1391_; +v_unused_1388_ = lean_ctor_get(v_code_1225_, 3); +lean_dec(v_unused_1388_); +v_unused_1389_ = lean_ctor_get(v_code_1225_, 2); +lean_dec(v_unused_1389_); +v_unused_1390_ = lean_ctor_get(v_code_1225_, 1); +lean_dec(v_unused_1390_); +v_unused_1391_ = lean_ctor_get(v_code_1225_, 0); +lean_dec(v_unused_1391_); +v___x_1379_ = v_code_1225_; +v_isShared_1380_ = v_isSharedCheck_1387_; +goto v_resetjp_1378_; +} +else +{ +lean_dec(v_code_1225_); +v___x_1379_ = lean_box(0); +v_isShared_1380_ = v_isSharedCheck_1387_; +goto v_resetjp_1378_; +} +v_resetjp_1378_: +{ +lean_object* v___x_1382_; +if (v_isShared_1380_ == 0) +{ +lean_ctor_set(v___x_1379_, 3, v_a_1371_); +v___x_1382_ = v___x_1379_; +goto v_reusejp_1381_; +} +else +{ +lean_object* v_reuseFailAlloc_1386_; +v_reuseFailAlloc_1386_ = lean_alloc_ctor(8, 4, 0); +lean_ctor_set(v_reuseFailAlloc_1386_, 0, v_fvarId_1366_); +lean_ctor_set(v_reuseFailAlloc_1386_, 1, v_i_1367_); +lean_ctor_set(v_reuseFailAlloc_1386_, 2, v_y_1368_); +lean_ctor_set(v_reuseFailAlloc_1386_, 3, v_a_1371_); +v___x_1382_ = v_reuseFailAlloc_1386_; +goto v_reusejp_1381_; +} +v_reusejp_1381_: +{ +lean_object* v___x_1384_; +if (v_isShared_1374_ == 0) +{ +lean_ctor_set(v___x_1373_, 0, v___x_1382_); +v___x_1384_ = v___x_1373_; +goto v_reusejp_1383_; +} +else +{ +lean_object* v_reuseFailAlloc_1385_; +v_reuseFailAlloc_1385_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1385_, 0, v___x_1382_); +v___x_1384_ = v_reuseFailAlloc_1385_; +goto v_reusejp_1383_; +} +v_reusejp_1383_: +{ +return v___x_1384_; +} +} +} +} +else +{ +lean_object* v___x_1393_; +lean_dec(v_a_1371_); +if (v_isShared_1374_ == 0) +{ +lean_ctor_set(v___x_1373_, 0, v_code_1225_); +v___x_1393_ = v___x_1373_; +goto v_reusejp_1392_; +} +else +{ +lean_object* v_reuseFailAlloc_1394_; +v_reuseFailAlloc_1394_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1394_, 0, v_code_1225_); +v___x_1393_ = v_reuseFailAlloc_1394_; +goto v_reusejp_1392_; +} +v_reusejp_1392_: +{ +return v___x_1393_; +} +} +} +} +else +{ +lean_dec_ref(v_code_1225_); +return v___x_1370_; +} } case 9: { -lean_object* v___x_1512_; -v___x_1512_ = lean_unsigned_to_nat(9u); -return v___x_1512_; +lean_object* v_fvarId_1396_; lean_object* v_i_1397_; lean_object* v_offset_1398_; lean_object* v_y_1399_; lean_object* v_ty_1400_; lean_object* v_k_1401_; lean_object* v___x_1402_; +v_fvarId_1396_ = lean_ctor_get(v_code_1225_, 0); +v_i_1397_ = lean_ctor_get(v_code_1225_, 1); +v_offset_1398_ = lean_ctor_get(v_code_1225_, 2); +v_y_1399_ = lean_ctor_get(v_code_1225_, 3); +v_ty_1400_ = lean_ctor_get(v_code_1225_, 4); +v_k_1401_ = lean_ctor_get(v_code_1225_, 5); +lean_inc_ref(v_k_1401_); +v___x_1402_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1223_, v_declName_1224_, v_k_1401_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +if (lean_obj_tag(v___x_1402_) == 0) +{ +lean_object* v_a_1403_; lean_object* v___x_1405_; uint8_t v_isShared_1406_; uint8_t v_isSharedCheck_1429_; +v_a_1403_ = lean_ctor_get(v___x_1402_, 0); +v_isSharedCheck_1429_ = !lean_is_exclusive(v___x_1402_); +if (v_isSharedCheck_1429_ == 0) +{ +v___x_1405_ = v___x_1402_; +v_isShared_1406_ = v_isSharedCheck_1429_; +goto v_resetjp_1404_; +} +else +{ +lean_inc(v_a_1403_); +lean_dec(v___x_1402_); +v___x_1405_ = lean_box(0); +v_isShared_1406_ = v_isSharedCheck_1429_; +goto v_resetjp_1404_; +} +v_resetjp_1404_: +{ +size_t v___x_1407_; size_t v___x_1408_; uint8_t v___x_1409_; +v___x_1407_ = lean_ptr_addr(v_k_1401_); +v___x_1408_ = lean_ptr_addr(v_a_1403_); +v___x_1409_ = lean_usize_dec_eq(v___x_1407_, v___x_1408_); +if (v___x_1409_ == 0) +{ +lean_object* v___x_1411_; uint8_t v_isShared_1412_; uint8_t v_isSharedCheck_1419_; +lean_inc_ref(v_ty_1400_); +lean_inc(v_y_1399_); +lean_inc(v_offset_1398_); +lean_inc(v_i_1397_); +lean_inc(v_fvarId_1396_); +v_isSharedCheck_1419_ = !lean_is_exclusive(v_code_1225_); +if (v_isSharedCheck_1419_ == 0) +{ +lean_object* v_unused_1420_; lean_object* v_unused_1421_; lean_object* v_unused_1422_; lean_object* v_unused_1423_; lean_object* v_unused_1424_; lean_object* v_unused_1425_; +v_unused_1420_ = lean_ctor_get(v_code_1225_, 5); +lean_dec(v_unused_1420_); +v_unused_1421_ = lean_ctor_get(v_code_1225_, 4); +lean_dec(v_unused_1421_); +v_unused_1422_ = lean_ctor_get(v_code_1225_, 3); +lean_dec(v_unused_1422_); +v_unused_1423_ = lean_ctor_get(v_code_1225_, 2); +lean_dec(v_unused_1423_); +v_unused_1424_ = lean_ctor_get(v_code_1225_, 1); +lean_dec(v_unused_1424_); +v_unused_1425_ = lean_ctor_get(v_code_1225_, 0); +lean_dec(v_unused_1425_); +v___x_1411_ = v_code_1225_; +v_isShared_1412_ = v_isSharedCheck_1419_; +goto v_resetjp_1410_; +} +else +{ +lean_dec(v_code_1225_); +v___x_1411_ = lean_box(0); +v_isShared_1412_ = v_isSharedCheck_1419_; +goto v_resetjp_1410_; +} +v_resetjp_1410_: +{ +lean_object* v___x_1414_; +if (v_isShared_1412_ == 0) +{ +lean_ctor_set(v___x_1411_, 5, v_a_1403_); +v___x_1414_ = v___x_1411_; +goto v_reusejp_1413_; +} +else +{ +lean_object* v_reuseFailAlloc_1418_; +v_reuseFailAlloc_1418_ = lean_alloc_ctor(9, 6, 0); +lean_ctor_set(v_reuseFailAlloc_1418_, 0, v_fvarId_1396_); +lean_ctor_set(v_reuseFailAlloc_1418_, 1, v_i_1397_); +lean_ctor_set(v_reuseFailAlloc_1418_, 2, v_offset_1398_); +lean_ctor_set(v_reuseFailAlloc_1418_, 3, v_y_1399_); +lean_ctor_set(v_reuseFailAlloc_1418_, 4, v_ty_1400_); +lean_ctor_set(v_reuseFailAlloc_1418_, 5, v_a_1403_); +v___x_1414_ = v_reuseFailAlloc_1418_; +goto v_reusejp_1413_; +} +v_reusejp_1413_: +{ +lean_object* v___x_1416_; +if (v_isShared_1406_ == 0) +{ +lean_ctor_set(v___x_1405_, 0, v___x_1414_); +v___x_1416_ = v___x_1405_; +goto v_reusejp_1415_; +} +else +{ +lean_object* v_reuseFailAlloc_1417_; +v_reuseFailAlloc_1417_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1417_, 0, v___x_1414_); +v___x_1416_ = v_reuseFailAlloc_1417_; +goto v_reusejp_1415_; +} +v_reusejp_1415_: +{ +return v___x_1416_; +} +} +} +} +else +{ +lean_object* v___x_1427_; +lean_dec(v_a_1403_); +if (v_isShared_1406_ == 0) +{ +lean_ctor_set(v___x_1405_, 0, v_code_1225_); +v___x_1427_ = v___x_1405_; +goto v_reusejp_1426_; +} +else +{ +lean_object* v_reuseFailAlloc_1428_; +v_reuseFailAlloc_1428_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1428_, 0, v_code_1225_); +v___x_1427_ = v_reuseFailAlloc_1428_; +goto v_reusejp_1426_; +} +v_reusejp_1426_: +{ +return v___x_1427_; +} +} +} +} +else +{ +lean_dec_ref(v_code_1225_); +return v___x_1402_; +} } default: { -lean_object* v___x_1513_; -v___x_1513_ = lean_unsigned_to_nat(10u); -return v___x_1513_; +lean_object* v___x_1430_; lean_object* v___x_1431_; +lean_dec_ref(v_code_1225_); +lean_dec(v_declName_1224_); +lean_dec_ref(v_map_1223_); +v___x_1430_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__2); +v___x_1431_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__3(v___x_1430_, v_a_1226_, v_a_1227_, v_a_1228_, v_a_1229_); +return v___x_1431_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx___boxed(lean_object* v_x_1514_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___boxed(lean_object* v_map_1432_, lean_object* v_declName_1433_, lean_object* v_code_1434_, lean_object* v_a_1435_, lean_object* v_a_1436_, lean_object* v_a_1437_, lean_object* v_a_1438_, lean_object* v_a_1439_){ _start: { -lean_object* v_res_1515_; -v_res_1515_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx(v_x_1514_); -lean_dec_ref(v_x_1514_); -return v_res_1515_; +lean_object* v_res_1440_; +v_res_1440_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1432_, v_declName_1433_, v_code_1434_, v_a_1435_, v_a_1436_, v_a_1437_, v_a_1438_); +return v_res_1440_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(lean_object* v_t_1516_, lean_object* v_k_1517_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(lean_object* v_map_1441_, lean_object* v_declName_1442_, lean_object* v_i_1443_, lean_object* v_as_1444_, lean_object* v___y_1445_, lean_object* v___y_1446_, lean_object* v___y_1447_, lean_object* v___y_1448_){ _start: { -lean_object* v_resultFVar_1518_; lean_object* v___x_1519_; -v_resultFVar_1518_ = lean_ctor_get(v_t_1516_, 0); -lean_inc(v_resultFVar_1518_); -lean_dec_ref(v_t_1516_); -v___x_1519_ = lean_apply_1(v_k_1517_, v_resultFVar_1518_); -return v___x_1519_; +lean_object* v___x_1450_; uint8_t v___x_1451_; +v___x_1450_ = lean_array_get_size(v_as_1444_); +v___x_1451_ = lean_nat_dec_lt(v_i_1443_, v___x_1450_); +if (v___x_1451_ == 0) +{ +lean_object* v___x_1452_; +lean_dec(v___y_1448_); +lean_dec_ref(v___y_1447_); +lean_dec(v___y_1446_); +lean_dec_ref(v___y_1445_); +lean_dec(v_i_1443_); +lean_dec(v_declName_1442_); +lean_dec_ref(v_map_1441_); +v___x_1452_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1452_, 0, v_as_1444_); +return v___x_1452_; +} +else +{ +lean_object* v_a_1453_; lean_object* v___x_1454_; lean_object* v___x_1455_; +v_a_1453_ = lean_array_fget_borrowed(v_as_1444_, v_i_1443_); +lean_inc(v_declName_1442_); +lean_inc_ref(v_map_1441_); +v___x_1454_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___boxed), 8, 2); +lean_closure_set(v___x_1454_, 0, v_map_1441_); +lean_closure_set(v___x_1454_, 1, v_declName_1442_); +lean_inc(v___y_1448_); +lean_inc_ref(v___y_1447_); +lean_inc(v___y_1446_); +lean_inc_ref(v___y_1445_); +lean_inc(v_a_1453_); +v___x_1455_ = l_Lean_Compiler_LCNF_Alt_mapCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__1___redArg(v_a_1453_, v___x_1454_, v___y_1445_, v___y_1446_, v___y_1447_, v___y_1448_); +if (lean_obj_tag(v___x_1455_) == 0) +{ +lean_object* v_a_1456_; size_t v___x_1457_; size_t v___x_1458_; uint8_t v___x_1459_; +v_a_1456_ = lean_ctor_get(v___x_1455_, 0); +lean_inc(v_a_1456_); +lean_dec_ref(v___x_1455_); +v___x_1457_ = lean_ptr_addr(v_a_1453_); +v___x_1458_ = lean_ptr_addr(v_a_1456_); +v___x_1459_ = lean_usize_dec_eq(v___x_1457_, v___x_1458_); +if (v___x_1459_ == 0) +{ +lean_object* v___x_1460_; lean_object* v___x_1461_; lean_object* v___x_1462_; +v___x_1460_ = lean_unsigned_to_nat(1u); +v___x_1461_ = lean_nat_add(v_i_1443_, v___x_1460_); +v___x_1462_ = lean_array_fset(v_as_1444_, v_i_1443_, v_a_1456_); +lean_dec(v_i_1443_); +v_i_1443_ = v___x_1461_; +v_as_1444_ = v___x_1462_; +goto _start; +} +else +{ +lean_object* v___x_1464_; lean_object* v___x_1465_; +lean_dec(v_a_1456_); +v___x_1464_ = lean_unsigned_to_nat(1u); +v___x_1465_ = lean_nat_add(v_i_1443_, v___x_1464_); +lean_dec(v_i_1443_); +v_i_1443_ = v___x_1465_; +goto _start; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim(lean_object* v_motive_1520_, lean_object* v_ctorIdx_1521_, lean_object* v_t_1522_, lean_object* v_h_1523_, lean_object* v_k_1524_){ +else +{ +lean_object* v_a_1467_; lean_object* v___x_1469_; uint8_t v_isShared_1470_; uint8_t v_isSharedCheck_1474_; +lean_dec(v___y_1448_); +lean_dec_ref(v___y_1447_); +lean_dec(v___y_1446_); +lean_dec_ref(v___y_1445_); +lean_dec_ref(v_as_1444_); +lean_dec(v_i_1443_); +lean_dec(v_declName_1442_); +lean_dec_ref(v_map_1441_); +v_a_1467_ = lean_ctor_get(v___x_1455_, 0); +v_isSharedCheck_1474_ = !lean_is_exclusive(v___x_1455_); +if (v_isSharedCheck_1474_ == 0) +{ +v___x_1469_ = v___x_1455_; +v_isShared_1470_ = v_isSharedCheck_1474_; +goto v_resetjp_1468_; +} +else +{ +lean_inc(v_a_1467_); +lean_dec(v___x_1455_); +v___x_1469_ = lean_box(0); +v_isShared_1470_ = v_isSharedCheck_1474_; +goto v_resetjp_1468_; +} +v_resetjp_1468_: +{ +lean_object* v___x_1472_; +if (v_isShared_1470_ == 0) +{ +v___x_1472_ = v___x_1469_; +goto v_reusejp_1471_; +} +else +{ +lean_object* v_reuseFailAlloc_1473_; +v_reuseFailAlloc_1473_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1473_, 0, v_a_1467_); +v___x_1472_ = v_reuseFailAlloc_1473_; +goto v_reusejp_1471_; +} +v_reusejp_1471_: +{ +return v___x_1472_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2___boxed(lean_object* v_map_1475_, lean_object* v_declName_1476_, lean_object* v_i_1477_, lean_object* v_as_1478_, lean_object* v___y_1479_, lean_object* v___y_1480_, lean_object* v___y_1481_, lean_object* v___y_1482_, lean_object* v___y_1483_){ _start: { -lean_object* v___x_1525_; -v___x_1525_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1522_, v_k_1524_); -return v___x_1525_; +lean_object* v_res_1484_; +v_res_1484_ = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__2(v_map_1475_, v_declName_1476_, v_i_1477_, v_as_1478_, v___y_1479_, v___y_1480_, v___y_1481_, v___y_1482_); +return v_res_1484_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___boxed(lean_object* v_motive_1526_, lean_object* v_ctorIdx_1527_, lean_object* v_t_1528_, lean_object* v_h_1529_, lean_object* v_k_1530_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0(lean_object* v_00_u03b2_1485_, lean_object* v_inst_1486_, lean_object* v_m_1487_, lean_object* v_a_1488_){ _start: { -lean_object* v_res_1531_; -v_res_1531_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim(v_motive_1526_, v_ctorIdx_1527_, v_t_1528_, v_h_1529_, v_k_1530_); -lean_dec(v_ctorIdx_1527_); -return v_res_1531_; +lean_object* v___x_1489_; +v___x_1489_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v_inst_1486_, v_m_1487_, v_a_1488_); +return v___x_1489_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_resetReuse_elim___redArg(lean_object* v_t_1532_, lean_object* v_resetReuse_1533_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___boxed(lean_object* v_00_u03b2_1490_, lean_object* v_inst_1491_, lean_object* v_m_1492_, lean_object* v_a_1493_){ _start: { -lean_object* v___x_1534_; -v___x_1534_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1532_, v_resetReuse_1533_); -return v___x_1534_; +lean_object* v_res_1494_; +v_res_1494_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0(v_00_u03b2_1490_, v_inst_1491_, v_m_1492_, v_a_1493_); +lean_dec_ref(v_a_1493_); +lean_dec_ref(v_m_1492_); +return v_res_1494_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_resetReuse_elim(lean_object* v_motive_1535_, lean_object* v_t_1536_, lean_object* v_h_1537_, lean_object* v_resetReuse_1538_){ +LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0_spec__3___redArg(lean_object* v_inst_1495_, lean_object* v_msg_1496_){ _start: { -lean_object* v___x_1539_; -v___x_1539_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1536_, v_resetReuse_1538_); -return v___x_1539_; +lean_object* v___x_1497_; +v___x_1497_ = lean_panic_fn(v_inst_1495_, v_msg_1496_); +return v___x_1497_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorResult_elim___redArg(lean_object* v_t_1540_, lean_object* v_constructorResult_1541_){ +LEAN_EXPORT lean_object* l_panic___at___00Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0_spec__3(lean_object* v_00_u03b2_1498_, lean_object* v_inst_1499_, lean_object* v_msg_1500_){ _start: { -lean_object* v___x_1542_; -v___x_1542_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1540_, v_constructorResult_1541_); -return v___x_1542_; +lean_object* v___x_1501_; +v___x_1501_ = lean_panic_fn(v_inst_1499_, v_msg_1500_); +return v___x_1501_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorResult_elim(lean_object* v_motive_1543_, lean_object* v_t_1544_, lean_object* v_h_1545_, lean_object* v_constructorResult_1546_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0(lean_object* v_00_u03b2_1502_, lean_object* v_inst_1503_, lean_object* v_a_1504_, lean_object* v_x_1505_){ _start: { -lean_object* v___x_1547_; -v___x_1547_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1544_, v_constructorResult_1546_); -return v___x_1547_; +lean_object* v___x_1506_; +v___x_1506_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___redArg(v_inst_1503_, v_a_1504_, v_x_1505_); +return v___x_1506_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim___redArg(lean_object* v_t_1548_, lean_object* v_constructorArg_1549_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1507_, lean_object* v_inst_1508_, lean_object* v_a_1509_, lean_object* v_x_1510_){ _start: { -lean_object* v___x_1550_; -v___x_1550_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1548_, v_constructorArg_1549_); -return v___x_1550_; +lean_object* v_res_1511_; +v_res_1511_ = l_Std_DHashMap_Internal_AssocList_get_x21___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0_spec__0(v_00_u03b2_1507_, v_inst_1508_, v_a_1509_, v_x_1510_); +lean_dec(v_x_1510_); +lean_dec_ref(v_a_1509_); +return v_res_1511_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim(lean_object* v_motive_1551_, lean_object* v_t_1552_, lean_object* v_h_1553_, lean_object* v_constructorArg_1554_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(lean_object* v_map_1512_, size_t v_sz_1513_, size_t v_i_1514_, lean_object* v_bs_1515_, lean_object* v___y_1516_, lean_object* v___y_1517_, lean_object* v___y_1518_, lean_object* v___y_1519_){ _start: { -lean_object* v___x_1555_; -v___x_1555_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1552_, v_constructorArg_1554_); -return v___x_1555_; +uint8_t v___x_1521_; +v___x_1521_ = lean_usize_dec_lt(v_i_1514_, v_sz_1513_); +if (v___x_1521_ == 0) +{ +lean_object* v___x_1522_; +lean_dec(v___y_1519_); +lean_dec_ref(v___y_1518_); +lean_dec(v___y_1517_); +lean_dec_ref(v___y_1516_); +lean_dec_ref(v_map_1512_); +v___x_1522_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1522_, 0, v_bs_1515_); +return v___x_1522_; +} +else +{ +lean_object* v_v_1523_; lean_object* v_toSignature_1524_; lean_object* v_value_1525_; uint8_t v_recursive_1526_; lean_object* v_inlineAttr_x3f_1527_; lean_object* v___x_1528_; lean_object* v_bs_x27_1529_; lean_object* v_a_1531_; +v_v_1523_ = lean_array_uget(v_bs_1515_, v_i_1514_); +v_toSignature_1524_ = lean_ctor_get(v_v_1523_, 0); +lean_inc_ref(v_toSignature_1524_); +v_value_1525_ = lean_ctor_get(v_v_1523_, 1); +lean_inc_ref(v_value_1525_); +v_recursive_1526_ = lean_ctor_get_uint8(v_v_1523_, sizeof(void*)*3); +v_inlineAttr_x3f_1527_ = lean_ctor_get(v_v_1523_, 2); +v___x_1528_ = lean_unsigned_to_nat(0u); +v_bs_x27_1529_ = lean_array_uset(v_bs_1515_, v_i_1514_, v___x_1528_); +if (lean_obj_tag(v_value_1525_) == 0) +{ +lean_object* v___x_1537_; uint8_t v_isShared_1538_; uint8_t v_isSharedCheck_1586_; +lean_inc(v_inlineAttr_x3f_1527_); +v_isSharedCheck_1586_ = !lean_is_exclusive(v_v_1523_); +if (v_isSharedCheck_1586_ == 0) +{ +lean_object* v_unused_1587_; lean_object* v_unused_1588_; lean_object* v_unused_1589_; +v_unused_1587_ = lean_ctor_get(v_v_1523_, 2); +lean_dec(v_unused_1587_); +v_unused_1588_ = lean_ctor_get(v_v_1523_, 1); +lean_dec(v_unused_1588_); +v_unused_1589_ = lean_ctor_get(v_v_1523_, 0); +lean_dec(v_unused_1589_); +v___x_1537_ = v_v_1523_; +v_isShared_1538_ = v_isSharedCheck_1586_; +goto v_resetjp_1536_; +} +else +{ +lean_dec(v_v_1523_); +v___x_1537_ = lean_box(0); +v_isShared_1538_ = v_isSharedCheck_1586_; +goto v_resetjp_1536_; +} +v_resetjp_1536_: +{ +lean_object* v_code_1539_; lean_object* v___x_1541_; uint8_t v_isShared_1542_; uint8_t v_isSharedCheck_1585_; +v_code_1539_ = lean_ctor_get(v_value_1525_, 0); +v_isSharedCheck_1585_ = !lean_is_exclusive(v_value_1525_); +if (v_isSharedCheck_1585_ == 0) +{ +v___x_1541_ = v_value_1525_; +v_isShared_1542_ = v_isSharedCheck_1585_; +goto v_resetjp_1540_; +} +else +{ +lean_inc(v_code_1539_); +lean_dec(v_value_1525_); +v___x_1541_ = lean_box(0); +v_isShared_1542_ = v_isSharedCheck_1585_; +goto v_resetjp_1540_; +} +v_resetjp_1540_: +{ +lean_object* v_name_1543_; lean_object* v_levelParams_1544_; lean_object* v_type_1545_; lean_object* v_params_1546_; uint8_t v_safe_1547_; lean_object* v___x_1549_; uint8_t v_isShared_1550_; uint8_t v_isSharedCheck_1584_; +v_name_1543_ = lean_ctor_get(v_toSignature_1524_, 0); +v_levelParams_1544_ = lean_ctor_get(v_toSignature_1524_, 1); +v_type_1545_ = lean_ctor_get(v_toSignature_1524_, 2); +v_params_1546_ = lean_ctor_get(v_toSignature_1524_, 3); +v_safe_1547_ = lean_ctor_get_uint8(v_toSignature_1524_, sizeof(void*)*4); +v_isSharedCheck_1584_ = !lean_is_exclusive(v_toSignature_1524_); +if (v_isSharedCheck_1584_ == 0) +{ +v___x_1549_ = v_toSignature_1524_; +v_isShared_1550_ = v_isSharedCheck_1584_; +goto v_resetjp_1548_; +} +else +{ +lean_inc(v_params_1546_); +lean_inc(v_type_1545_); +lean_inc(v_levelParams_1544_); +lean_inc(v_name_1543_); +lean_dec(v_toSignature_1524_); +v___x_1549_ = lean_box(0); +v_isShared_1550_ = v_isSharedCheck_1584_; +goto v_resetjp_1548_; +} +v_resetjp_1548_: +{ +lean_object* v___x_1551_; +lean_inc(v___y_1519_); +lean_inc_ref(v___y_1518_); +lean_inc(v___y_1517_); +lean_inc_ref(v___y_1516_); +lean_inc(v_name_1543_); +lean_inc_ref(v_map_1512_); +v___x_1551_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go(v_map_1512_, v_name_1543_, v_code_1539_, v___y_1516_, v___y_1517_, v___y_1518_, v___y_1519_); +if (lean_obj_tag(v___x_1551_) == 0) +{ +lean_object* v_a_1552_; lean_object* v_map_1553_; lean_object* v___x_1554_; lean_object* v___x_1555_; lean_object* v___x_1556_; lean_object* v___x_1557_; +v_a_1552_ = lean_ctor_get(v___x_1551_, 0); +lean_inc(v_a_1552_); +lean_dec_ref(v___x_1551_); +v_map_1553_ = lean_ctor_get(v_map_1512_, 0); +v___x_1554_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); +lean_inc(v_name_1543_); +v___x_1555_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1555_, 0, v_name_1543_); +v___x_1556_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x21___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go_spec__0___redArg(v___x_1554_, v_map_1553_, v___x_1555_); +lean_dec_ref(v___x_1555_); +v___x_1557_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_updateParams(v_params_1546_, v___x_1556_, v___y_1516_, v___y_1517_, v___y_1518_, v___y_1519_); +if (lean_obj_tag(v___x_1557_) == 0) +{ +lean_object* v_a_1558_; lean_object* v___x_1560_; +v_a_1558_ = lean_ctor_get(v___x_1557_, 0); +lean_inc(v_a_1558_); +lean_dec_ref(v___x_1557_); +if (v_isShared_1550_ == 0) +{ +lean_ctor_set(v___x_1549_, 3, v_a_1558_); +v___x_1560_ = v___x_1549_; +goto v_reusejp_1559_; +} +else +{ +lean_object* v_reuseFailAlloc_1567_; +v_reuseFailAlloc_1567_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v_reuseFailAlloc_1567_, 0, v_name_1543_); +lean_ctor_set(v_reuseFailAlloc_1567_, 1, v_levelParams_1544_); +lean_ctor_set(v_reuseFailAlloc_1567_, 2, v_type_1545_); +lean_ctor_set(v_reuseFailAlloc_1567_, 3, v_a_1558_); +lean_ctor_set_uint8(v_reuseFailAlloc_1567_, sizeof(void*)*4, v_safe_1547_); +v___x_1560_ = v_reuseFailAlloc_1567_; +goto v_reusejp_1559_; +} +v_reusejp_1559_: +{ +lean_object* v___x_1562_; +if (v_isShared_1542_ == 0) +{ +lean_ctor_set(v___x_1541_, 0, v_a_1552_); +v___x_1562_ = v___x_1541_; +goto v_reusejp_1561_; +} +else +{ +lean_object* v_reuseFailAlloc_1566_; +v_reuseFailAlloc_1566_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1566_, 0, v_a_1552_); +v___x_1562_ = v_reuseFailAlloc_1566_; +goto v_reusejp_1561_; +} +v_reusejp_1561_: +{ +lean_object* v___x_1564_; +if (v_isShared_1538_ == 0) +{ +lean_ctor_set(v___x_1537_, 1, v___x_1562_); +lean_ctor_set(v___x_1537_, 0, v___x_1560_); +v___x_1564_ = v___x_1537_; +goto v_reusejp_1563_; +} +else +{ +lean_object* v_reuseFailAlloc_1565_; +v_reuseFailAlloc_1565_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_1565_, 0, v___x_1560_); +lean_ctor_set(v_reuseFailAlloc_1565_, 1, v___x_1562_); +lean_ctor_set(v_reuseFailAlloc_1565_, 2, v_inlineAttr_x3f_1527_); +lean_ctor_set_uint8(v_reuseFailAlloc_1565_, sizeof(void*)*3, v_recursive_1526_); +v___x_1564_ = v_reuseFailAlloc_1565_; +goto v_reusejp_1563_; +} +v_reusejp_1563_: +{ +v_a_1531_ = v___x_1564_; +goto v___jp_1530_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_projectionPropagation_elim___redArg(lean_object* v_t_1556_, lean_object* v_projectionPropagation_1557_){ +} +} +else +{ +lean_object* v_a_1568_; lean_object* v___x_1570_; uint8_t v_isShared_1571_; uint8_t v_isSharedCheck_1575_; +lean_dec(v_a_1552_); +lean_del_object(v___x_1549_); +lean_dec_ref(v_type_1545_); +lean_dec(v_levelParams_1544_); +lean_dec(v_name_1543_); +lean_del_object(v___x_1541_); +lean_del_object(v___x_1537_); +lean_dec_ref(v_bs_x27_1529_); +lean_dec(v_inlineAttr_x3f_1527_); +lean_dec(v___y_1519_); +lean_dec_ref(v___y_1518_); +lean_dec(v___y_1517_); +lean_dec_ref(v___y_1516_); +lean_dec_ref(v_map_1512_); +v_a_1568_ = lean_ctor_get(v___x_1557_, 0); +v_isSharedCheck_1575_ = !lean_is_exclusive(v___x_1557_); +if (v_isSharedCheck_1575_ == 0) +{ +v___x_1570_ = v___x_1557_; +v_isShared_1571_ = v_isSharedCheck_1575_; +goto v_resetjp_1569_; +} +else +{ +lean_inc(v_a_1568_); +lean_dec(v___x_1557_); +v___x_1570_ = lean_box(0); +v_isShared_1571_ = v_isSharedCheck_1575_; +goto v_resetjp_1569_; +} +v_resetjp_1569_: +{ +lean_object* v___x_1573_; +if (v_isShared_1571_ == 0) +{ +v___x_1573_ = v___x_1570_; +goto v_reusejp_1572_; +} +else +{ +lean_object* v_reuseFailAlloc_1574_; +v_reuseFailAlloc_1574_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1574_, 0, v_a_1568_); +v___x_1573_ = v_reuseFailAlloc_1574_; +goto v_reusejp_1572_; +} +v_reusejp_1572_: +{ +return v___x_1573_; +} +} +} +} +else +{ +lean_object* v_a_1576_; lean_object* v___x_1578_; uint8_t v_isShared_1579_; uint8_t v_isSharedCheck_1583_; +lean_del_object(v___x_1549_); +lean_dec_ref(v_params_1546_); +lean_dec_ref(v_type_1545_); +lean_dec(v_levelParams_1544_); +lean_dec(v_name_1543_); +lean_del_object(v___x_1541_); +lean_del_object(v___x_1537_); +lean_dec_ref(v_bs_x27_1529_); +lean_dec(v_inlineAttr_x3f_1527_); +lean_dec(v___y_1519_); +lean_dec_ref(v___y_1518_); +lean_dec(v___y_1517_); +lean_dec_ref(v___y_1516_); +lean_dec_ref(v_map_1512_); +v_a_1576_ = lean_ctor_get(v___x_1551_, 0); +v_isSharedCheck_1583_ = !lean_is_exclusive(v___x_1551_); +if (v_isSharedCheck_1583_ == 0) +{ +v___x_1578_ = v___x_1551_; +v_isShared_1579_ = v_isSharedCheck_1583_; +goto v_resetjp_1577_; +} +else +{ +lean_inc(v_a_1576_); +lean_dec(v___x_1551_); +v___x_1578_ = lean_box(0); +v_isShared_1579_ = v_isSharedCheck_1583_; +goto v_resetjp_1577_; +} +v_resetjp_1577_: +{ +lean_object* v___x_1581_; +if (v_isShared_1579_ == 0) +{ +v___x_1581_ = v___x_1578_; +goto v_reusejp_1580_; +} +else +{ +lean_object* v_reuseFailAlloc_1582_; +v_reuseFailAlloc_1582_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1582_, 0, v_a_1576_); +v___x_1581_ = v_reuseFailAlloc_1582_; +goto v_reusejp_1580_; +} +v_reusejp_1580_: +{ +return v___x_1581_; +} +} +} +} +} +} +} +else +{ +lean_dec_ref(v_value_1525_); +lean_dec_ref(v_toSignature_1524_); +v_a_1531_ = v_v_1523_; +goto v___jp_1530_; +} +v___jp_1530_: +{ +size_t v___x_1532_; size_t v___x_1533_; lean_object* v___x_1534_; +v___x_1532_ = ((size_t)1ULL); +v___x_1533_ = lean_usize_add(v_i_1514_, v___x_1532_); +v___x_1534_ = lean_array_uset(v_bs_x27_1529_, v_i_1514_, v_a_1531_); +v_i_1514_ = v___x_1533_; +v_bs_1515_ = v___x_1534_; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0___boxed(lean_object* v_map_1590_, lean_object* v_sz_1591_, lean_object* v_i_1592_, lean_object* v_bs_1593_, lean_object* v___y_1594_, lean_object* v___y_1595_, lean_object* v___y_1596_, lean_object* v___y_1597_, lean_object* v___y_1598_){ _start: { -lean_object* v___x_1558_; -v___x_1558_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1556_, v_projectionPropagation_1557_); -return v___x_1558_; +size_t v_sz_boxed_1599_; size_t v_i_boxed_1600_; lean_object* v_res_1601_; +v_sz_boxed_1599_ = lean_unbox_usize(v_sz_1591_); +lean_dec(v_sz_1591_); +v_i_boxed_1600_ = lean_unbox_usize(v_i_1592_); +lean_dec(v_i_1592_); +v_res_1601_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(v_map_1590_, v_sz_boxed_1599_, v_i_boxed_1600_, v_bs_1593_, v___y_1594_, v___y_1595_, v___y_1596_, v___y_1597_); +return v_res_1601_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_projectionPropagation_elim(lean_object* v_motive_1559_, lean_object* v_t_1560_, lean_object* v_h_1561_, lean_object* v_projectionPropagation_1562_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(lean_object* v_decls_1602_, lean_object* v_map_1603_, lean_object* v_a_1604_, lean_object* v_a_1605_, lean_object* v_a_1606_, lean_object* v_a_1607_){ _start: { -lean_object* v___x_1563_; -v___x_1563_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1560_, v_projectionPropagation_1562_); -return v___x_1563_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim___redArg(lean_object* v_t_1564_, lean_object* v_functionCallResult_1565_){ -_start: -{ -lean_object* v___x_1566_; -v___x_1566_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1564_, v_functionCallResult_1565_); -return v___x_1566_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim(lean_object* v_motive_1567_, lean_object* v_t_1568_, lean_object* v_h_1569_, lean_object* v_functionCallResult_1570_){ -_start: -{ -lean_object* v___x_1571_; -v___x_1571_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1568_, v_functionCallResult_1570_); -return v___x_1571_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallArg_elim___redArg(lean_object* v_t_1572_, lean_object* v_functionCallArg_1573_){ -_start: -{ -lean_object* v___x_1574_; -v___x_1574_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1572_, v_functionCallArg_1573_); -return v___x_1574_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallArg_elim(lean_object* v_motive_1575_, lean_object* v_t_1576_, lean_object* v_h_1577_, lean_object* v_functionCallArg_1578_){ -_start: -{ -lean_object* v___x_1579_; -v___x_1579_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1576_, v_functionCallArg_1578_); -return v___x_1579_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_fvarCall_elim___redArg(lean_object* v_t_1580_, lean_object* v_fvarCall_1581_){ -_start: -{ -lean_object* v___x_1582_; -v___x_1582_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1580_, v_fvarCall_1581_); -return v___x_1582_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_fvarCall_elim(lean_object* v_motive_1583_, lean_object* v_t_1584_, lean_object* v_h_1585_, lean_object* v_fvarCall_1586_){ -_start: -{ -lean_object* v___x_1587_; -v___x_1587_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1584_, v_fvarCall_1586_); -return v___x_1587_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_partialApplication_elim___redArg(lean_object* v_t_1588_, lean_object* v_partialApplication_1589_){ -_start: -{ -lean_object* v___x_1590_; -v___x_1590_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1588_, v_partialApplication_1589_); -return v___x_1590_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_partialApplication_elim(lean_object* v_motive_1591_, lean_object* v_t_1592_, lean_object* v_h_1593_, lean_object* v_partialApplication_1594_){ -_start: -{ -lean_object* v___x_1595_; -v___x_1595_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1592_, v_partialApplication_1594_); -return v___x_1595_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_tailCallPreservation_elim___redArg(lean_object* v_t_1596_, lean_object* v_tailCallPreservation_1597_){ -_start: -{ -lean_object* v___x_1598_; -v___x_1598_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1596_, v_tailCallPreservation_1597_); -return v___x_1598_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_tailCallPreservation_elim(lean_object* v_motive_1599_, lean_object* v_t_1600_, lean_object* v_h_1601_, lean_object* v_tailCallPreservation_1602_){ -_start: -{ -lean_object* v___x_1603_; -v___x_1603_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1600_, v_tailCallPreservation_1602_); -return v___x_1603_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpArgPropagation_elim___redArg(lean_object* v_t_1604_, lean_object* v_jpArgPropagation_1605_){ -_start: -{ -lean_object* v___x_1606_; -v___x_1606_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1604_, v_jpArgPropagation_1605_); -return v___x_1606_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpArgPropagation_elim(lean_object* v_motive_1607_, lean_object* v_t_1608_, lean_object* v_h_1609_, lean_object* v_jpArgPropagation_1610_){ -_start: -{ -lean_object* v___x_1611_; -v___x_1611_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1608_, v_jpArgPropagation_1610_); +size_t v_sz_1609_; size_t v___x_1610_; lean_object* v___x_1611_; +v_sz_1609_ = lean_array_size(v_decls_1602_); +v___x_1610_ = ((size_t)0ULL); +v___x_1611_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_spec__0(v_map_1603_, v_sz_1609_, v___x_1610_, v_decls_1602_, v_a_1604_, v_a_1605_, v_a_1606_, v_a_1607_); return v___x_1611_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpTailCallPreservation_elim___redArg(lean_object* v_t_1612_, lean_object* v_jpTailCallPreservation_1613_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply___boxed(lean_object* v_decls_1612_, lean_object* v_map_1613_, lean_object* v_a_1614_, lean_object* v_a_1615_, lean_object* v_a_1616_, lean_object* v_a_1617_, lean_object* v_a_1618_){ _start: { -lean_object* v___x_1614_; -v___x_1614_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1612_, v_jpTailCallPreservation_1613_); -return v___x_1614_; +lean_object* v_res_1619_; +v_res_1619_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(v_decls_1612_, v_map_1613_, v_a_1614_, v_a_1615_, v_a_1616_, v_a_1617_); +return v_res_1619_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpTailCallPreservation_elim(lean_object* v_motive_1615_, lean_object* v_t_1616_, lean_object* v_h_1617_, lean_object* v_jpTailCallPreservation_1618_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0(lean_object* v_____do__lift_1620_, lean_object* v___y_1621_, lean_object* v___y_1622_, lean_object* v___y_1623_, lean_object* v___y_1624_, lean_object* v___y_1625_, lean_object* v___y_1626_){ _start: { -lean_object* v___x_1619_; -v___x_1619_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1616_, v_jpTailCallPreservation_1618_); -return v___x_1619_; +lean_object* v_paramSet_1628_; lean_object* v___x_1629_; +v_paramSet_1628_ = lean_ctor_get(v_____do__lift_1620_, 2); +lean_inc(v_paramSet_1628_); +v___x_1629_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1629_, 0, v_paramSet_1628_); +return v___x_1629_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0(lean_object* v_reason_1631_, lean_object* v___y_1632_, lean_object* v___y_1633_, lean_object* v___y_1634_, lean_object* v___y_1635_, lean_object* v___y_1636_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0___boxed(lean_object* v_____do__lift_1630_, lean_object* v___y_1631_, lean_object* v___y_1632_, lean_object* v___y_1633_, lean_object* v___y_1634_, lean_object* v___y_1635_, lean_object* v___y_1636_, lean_object* v___y_1637_){ _start: { -switch(lean_obj_tag(v_reason_1631_)) -{ -case 0: -{ -lean_object* v_resultFVar_1638_; lean_object* v___x_1639_; -v_resultFVar_1638_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1638_); -lean_dec_ref(v_reason_1631_); -v___x_1639_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1638_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1639_) == 0) -{ -lean_object* v_a_1640_; lean_object* v___x_1642_; uint8_t v_isShared_1643_; uint8_t v_isSharedCheck_1652_; -v_a_1640_ = lean_ctor_get(v___x_1639_, 0); -v_isSharedCheck_1652_ = !lean_is_exclusive(v___x_1639_); -if (v_isSharedCheck_1652_ == 0) -{ -v___x_1642_ = v___x_1639_; -v_isShared_1643_ = v_isSharedCheck_1652_; -goto v_resetjp_1641_; -} -else -{ -lean_inc(v_a_1640_); -lean_dec(v___x_1639_); -v___x_1642_ = lean_box(0); -v_isShared_1643_ = v_isSharedCheck_1652_; -goto v_resetjp_1641_; -} -v_resetjp_1641_: -{ -lean_object* v___x_1644_; lean_object* v___x_1645_; lean_object* v___x_1646_; lean_object* v___x_1647_; lean_object* v___x_1648_; lean_object* v___x_1650_; -v___x_1644_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__0)); -v___x_1645_ = l_Std_Format_defWidth; -v___x_1646_ = lean_unsigned_to_nat(0u); -v___x_1647_ = l_Std_Format_pretty(v_a_1640_, v___x_1645_, v___x_1646_, v___x_1646_); -v___x_1648_ = lean_string_append(v___x_1644_, v___x_1647_); -lean_dec_ref(v___x_1647_); -if (v_isShared_1643_ == 0) -{ -lean_ctor_set(v___x_1642_, 0, v___x_1648_); -v___x_1650_ = v___x_1642_; -goto v_reusejp_1649_; -} -else -{ -lean_object* v_reuseFailAlloc_1651_; -v_reuseFailAlloc_1651_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1651_, 0, v___x_1648_); -v___x_1650_ = v_reuseFailAlloc_1651_; -goto v_reusejp_1649_; -} -v_reusejp_1649_: -{ -return v___x_1650_; +lean_object* v_res_1638_; +v_res_1638_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__0(v_____do__lift_1630_, v___y_1631_, v___y_1632_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); +lean_dec(v___y_1636_); +lean_dec_ref(v___y_1635_); +lean_dec(v___y_1634_); +lean_dec_ref(v___y_1633_); +lean_dec(v___y_1632_); +lean_dec_ref(v___y_1631_); +lean_dec_ref(v_____do__lift_1630_); +return v_res_1638_; } } -} -else +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1(lean_object* v_00_u03b1_1639_, lean_object* v_f_1640_, lean_object* v_mx_1641_, lean_object* v___y_1642_, lean_object* v___y_1643_, lean_object* v___y_1644_, lean_object* v___y_1645_, lean_object* v___y_1646_, lean_object* v___y_1647_){ +_start: { -lean_object* v_a_1653_; lean_object* v___x_1655_; uint8_t v_isShared_1656_; uint8_t v_isSharedCheck_1660_; -v_a_1653_ = lean_ctor_get(v___x_1639_, 0); -v_isSharedCheck_1660_ = !lean_is_exclusive(v___x_1639_); +lean_object* v_decls_1649_; lean_object* v_currDecl_1650_; lean_object* v_paramSet_1651_; lean_object* v___x_1653_; uint8_t v_isShared_1654_; uint8_t v_isSharedCheck_1660_; +v_decls_1649_ = lean_ctor_get(v___y_1642_, 0); +v_currDecl_1650_ = lean_ctor_get(v___y_1642_, 1); +v_paramSet_1651_ = lean_ctor_get(v___y_1642_, 2); +v_isSharedCheck_1660_ = !lean_is_exclusive(v___y_1642_); if (v_isSharedCheck_1660_ == 0) { -v___x_1655_ = v___x_1639_; -v_isShared_1656_ = v_isSharedCheck_1660_; -goto v_resetjp_1654_; +v___x_1653_ = v___y_1642_; +v_isShared_1654_ = v_isSharedCheck_1660_; +goto v_resetjp_1652_; } else { -lean_inc(v_a_1653_); -lean_dec(v___x_1639_); -v___x_1655_ = lean_box(0); -v_isShared_1656_ = v_isSharedCheck_1660_; -goto v_resetjp_1654_; +lean_inc(v_paramSet_1651_); +lean_inc(v_currDecl_1650_); +lean_inc(v_decls_1649_); +lean_dec(v___y_1642_); +v___x_1653_ = lean_box(0); +v_isShared_1654_ = v_isSharedCheck_1660_; +goto v_resetjp_1652_; } -v_resetjp_1654_: +v_resetjp_1652_: { -lean_object* v___x_1658_; -if (v_isShared_1656_ == 0) +lean_object* v___x_1655_; lean_object* v___x_1657_; +v___x_1655_ = lean_apply_1(v_f_1640_, v_paramSet_1651_); +if (v_isShared_1654_ == 0) { -v___x_1658_ = v___x_1655_; -goto v_reusejp_1657_; +lean_ctor_set(v___x_1653_, 2, v___x_1655_); +v___x_1657_ = v___x_1653_; +goto v_reusejp_1656_; } else { lean_object* v_reuseFailAlloc_1659_; -v_reuseFailAlloc_1659_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1659_, 0, v_a_1653_); -v___x_1658_ = v_reuseFailAlloc_1659_; -goto v_reusejp_1657_; +v_reuseFailAlloc_1659_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_1659_, 0, v_decls_1649_); +lean_ctor_set(v_reuseFailAlloc_1659_, 1, v_currDecl_1650_); +lean_ctor_set(v_reuseFailAlloc_1659_, 2, v___x_1655_); +v___x_1657_ = v_reuseFailAlloc_1659_; +goto v_reusejp_1656_; } -v_reusejp_1657_: +v_reusejp_1656_: { +lean_object* v___x_1658_; +v___x_1658_ = lean_apply_7(v_mx_1641_, v___x_1657_, v___y_1643_, v___y_1644_, v___y_1645_, v___y_1646_, v___y_1647_, lean_box(0)); return v___x_1658_; } } } } -case 1: +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1___boxed(lean_object* v_00_u03b1_1661_, lean_object* v_f_1662_, lean_object* v_mx_1663_, lean_object* v___y_1664_, lean_object* v___y_1665_, lean_object* v___y_1666_, lean_object* v___y_1667_, lean_object* v___y_1668_, lean_object* v___y_1669_, lean_object* v___y_1670_){ +_start: { -lean_object* v_resultFVar_1661_; lean_object* v___x_1662_; -v_resultFVar_1661_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1661_); -lean_dec_ref(v_reason_1631_); -v___x_1662_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1661_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1662_) == 0) -{ -lean_object* v_a_1663_; lean_object* v___x_1665_; uint8_t v_isShared_1666_; uint8_t v_isSharedCheck_1675_; -v_a_1663_ = lean_ctor_get(v___x_1662_, 0); -v_isSharedCheck_1675_ = !lean_is_exclusive(v___x_1662_); -if (v_isSharedCheck_1675_ == 0) -{ -v___x_1665_ = v___x_1662_; -v_isShared_1666_ = v_isSharedCheck_1675_; -goto v_resetjp_1664_; -} -else -{ -lean_inc(v_a_1663_); -lean_dec(v___x_1662_); -v___x_1665_ = lean_box(0); -v_isShared_1666_ = v_isSharedCheck_1675_; -goto v_resetjp_1664_; -} -v_resetjp_1664_: -{ -lean_object* v___x_1667_; lean_object* v___x_1668_; lean_object* v___x_1669_; lean_object* v___x_1670_; lean_object* v___x_1671_; lean_object* v___x_1673_; -v___x_1667_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__1)); -v___x_1668_ = l_Std_Format_defWidth; -v___x_1669_ = lean_unsigned_to_nat(0u); -v___x_1670_ = l_Std_Format_pretty(v_a_1663_, v___x_1668_, v___x_1669_, v___x_1669_); -v___x_1671_ = lean_string_append(v___x_1667_, v___x_1670_); -lean_dec_ref(v___x_1670_); -if (v_isShared_1666_ == 0) -{ -lean_ctor_set(v___x_1665_, 0, v___x_1671_); -v___x_1673_ = v___x_1665_; -goto v_reusejp_1672_; -} -else -{ -lean_object* v_reuseFailAlloc_1674_; -v_reuseFailAlloc_1674_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1674_, 0, v___x_1671_); -v___x_1673_ = v_reuseFailAlloc_1674_; -goto v_reusejp_1672_; -} -v_reusejp_1672_: -{ -return v___x_1673_; +lean_object* v_res_1671_; +v_res_1671_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___lam__1(v_00_u03b1_1661_, v_f_1662_, v_mx_1663_, v___y_1664_, v___y_1665_, v___y_1666_, v___y_1667_, v___y_1668_, v___y_1669_); +return v_res_1671_; } } -} -else +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM(void){ +_start: { -lean_object* v_a_1676_; lean_object* v___x_1678_; uint8_t v_isShared_1679_; uint8_t v_isSharedCheck_1683_; -v_a_1676_ = lean_ctor_get(v___x_1662_, 0); -v_isSharedCheck_1683_ = !lean_is_exclusive(v___x_1662_); -if (v_isSharedCheck_1683_ == 0) +lean_object* v___x_1674_; lean_object* v___x_1675_; lean_object* v_toApplicative_1676_; lean_object* v___x_1678_; uint8_t v_isShared_1679_; uint8_t v_isSharedCheck_1739_; +v___x_1674_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_1675_ = l_ReaderT_instMonad___redArg(v___x_1674_); +v_toApplicative_1676_ = lean_ctor_get(v___x_1675_, 0); +v_isSharedCheck_1739_ = !lean_is_exclusive(v___x_1675_); +if (v_isSharedCheck_1739_ == 0) { -v___x_1678_ = v___x_1662_; -v_isShared_1679_ = v_isSharedCheck_1683_; +lean_object* v_unused_1740_; +v_unused_1740_ = lean_ctor_get(v___x_1675_, 1); +lean_dec(v_unused_1740_); +v___x_1678_ = v___x_1675_; +v_isShared_1679_ = v_isSharedCheck_1739_; goto v_resetjp_1677_; } else { -lean_inc(v_a_1676_); -lean_dec(v___x_1662_); +lean_inc(v_toApplicative_1676_); +lean_dec(v___x_1675_); v___x_1678_ = lean_box(0); -v_isShared_1679_ = v_isSharedCheck_1683_; +v_isShared_1679_ = v_isSharedCheck_1739_; goto v_resetjp_1677_; } v_resetjp_1677_: { -lean_object* v___x_1681_; -if (v_isShared_1679_ == 0) +lean_object* v_toFunctor_1680_; lean_object* v_toSeq_1681_; lean_object* v_toSeqLeft_1682_; lean_object* v_toSeqRight_1683_; lean_object* v___x_1685_; uint8_t v_isShared_1686_; uint8_t v_isSharedCheck_1737_; +v_toFunctor_1680_ = lean_ctor_get(v_toApplicative_1676_, 0); +v_toSeq_1681_ = lean_ctor_get(v_toApplicative_1676_, 2); +v_toSeqLeft_1682_ = lean_ctor_get(v_toApplicative_1676_, 3); +v_toSeqRight_1683_ = lean_ctor_get(v_toApplicative_1676_, 4); +v_isSharedCheck_1737_ = !lean_is_exclusive(v_toApplicative_1676_); +if (v_isSharedCheck_1737_ == 0) { -v___x_1681_ = v___x_1678_; -goto v_reusejp_1680_; +lean_object* v_unused_1738_; +v_unused_1738_ = lean_ctor_get(v_toApplicative_1676_, 1); +lean_dec(v_unused_1738_); +v___x_1685_ = v_toApplicative_1676_; +v_isShared_1686_ = v_isSharedCheck_1737_; +goto v_resetjp_1684_; } else { -lean_object* v_reuseFailAlloc_1682_; -v_reuseFailAlloc_1682_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1682_, 0, v_a_1676_); -v___x_1681_ = v_reuseFailAlloc_1682_; -goto v_reusejp_1680_; +lean_inc(v_toSeqRight_1683_); +lean_inc(v_toSeqLeft_1682_); +lean_inc(v_toSeq_1681_); +lean_inc(v_toFunctor_1680_); +lean_dec(v_toApplicative_1676_); +v___x_1685_ = lean_box(0); +v_isShared_1686_ = v_isSharedCheck_1737_; +goto v_resetjp_1684_; } -v_reusejp_1680_: +v_resetjp_1684_: { -return v___x_1681_; +lean_object* v___f_1687_; lean_object* v___f_1688_; lean_object* v___f_1689_; lean_object* v___f_1690_; lean_object* v___x_1691_; lean_object* v___f_1692_; lean_object* v___f_1693_; lean_object* v___f_1694_; lean_object* v___x_1696_; +v___f_1687_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_1688_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_1680_); +v___f_1689_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_1689_, 0, v_toFunctor_1680_); +v___f_1690_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1690_, 0, v_toFunctor_1680_); +v___x_1691_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1691_, 0, v___f_1689_); +lean_ctor_set(v___x_1691_, 1, v___f_1690_); +v___f_1692_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1692_, 0, v_toSeqRight_1683_); +v___f_1693_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_1693_, 0, v_toSeqLeft_1682_); +v___f_1694_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_1694_, 0, v_toSeq_1681_); +if (v_isShared_1686_ == 0) +{ +lean_ctor_set(v___x_1685_, 4, v___f_1692_); +lean_ctor_set(v___x_1685_, 3, v___f_1693_); +lean_ctor_set(v___x_1685_, 2, v___f_1694_); +lean_ctor_set(v___x_1685_, 1, v___f_1687_); +lean_ctor_set(v___x_1685_, 0, v___x_1691_); +v___x_1696_ = v___x_1685_; +goto v_reusejp_1695_; +} +else +{ +lean_object* v_reuseFailAlloc_1736_; +v_reuseFailAlloc_1736_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1736_, 0, v___x_1691_); +lean_ctor_set(v_reuseFailAlloc_1736_, 1, v___f_1687_); +lean_ctor_set(v_reuseFailAlloc_1736_, 2, v___f_1694_); +lean_ctor_set(v_reuseFailAlloc_1736_, 3, v___f_1693_); +lean_ctor_set(v_reuseFailAlloc_1736_, 4, v___f_1692_); +v___x_1696_ = v_reuseFailAlloc_1736_; +goto v_reusejp_1695_; +} +v_reusejp_1695_: +{ +lean_object* v___x_1698_; +if (v_isShared_1679_ == 0) +{ +lean_ctor_set(v___x_1678_, 1, v___f_1688_); +lean_ctor_set(v___x_1678_, 0, v___x_1696_); +v___x_1698_ = v___x_1678_; +goto v_reusejp_1697_; +} +else +{ +lean_object* v_reuseFailAlloc_1735_; +v_reuseFailAlloc_1735_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1735_, 0, v___x_1696_); +lean_ctor_set(v_reuseFailAlloc_1735_, 1, v___f_1688_); +v___x_1698_ = v_reuseFailAlloc_1735_; +goto v_reusejp_1697_; +} +v_reusejp_1697_: +{ +lean_object* v___x_1699_; lean_object* v_toApplicative_1700_; lean_object* v___x_1702_; uint8_t v_isShared_1703_; uint8_t v_isSharedCheck_1733_; +v___x_1699_ = l_ReaderT_instMonad___redArg(v___x_1698_); +v_toApplicative_1700_ = lean_ctor_get(v___x_1699_, 0); +v_isSharedCheck_1733_ = !lean_is_exclusive(v___x_1699_); +if (v_isSharedCheck_1733_ == 0) +{ +lean_object* v_unused_1734_; +v_unused_1734_ = lean_ctor_get(v___x_1699_, 1); +lean_dec(v_unused_1734_); +v___x_1702_ = v___x_1699_; +v_isShared_1703_ = v_isSharedCheck_1733_; +goto v_resetjp_1701_; +} +else +{ +lean_inc(v_toApplicative_1700_); +lean_dec(v___x_1699_); +v___x_1702_ = lean_box(0); +v_isShared_1703_ = v_isSharedCheck_1733_; +goto v_resetjp_1701_; +} +v_resetjp_1701_: +{ +lean_object* v_toFunctor_1704_; lean_object* v_toSeq_1705_; lean_object* v_toSeqLeft_1706_; lean_object* v_toSeqRight_1707_; lean_object* v___x_1709_; uint8_t v_isShared_1710_; uint8_t v_isSharedCheck_1731_; +v_toFunctor_1704_ = lean_ctor_get(v_toApplicative_1700_, 0); +v_toSeq_1705_ = lean_ctor_get(v_toApplicative_1700_, 2); +v_toSeqLeft_1706_ = lean_ctor_get(v_toApplicative_1700_, 3); +v_toSeqRight_1707_ = lean_ctor_get(v_toApplicative_1700_, 4); +v_isSharedCheck_1731_ = !lean_is_exclusive(v_toApplicative_1700_); +if (v_isSharedCheck_1731_ == 0) +{ +lean_object* v_unused_1732_; +v_unused_1732_ = lean_ctor_get(v_toApplicative_1700_, 1); +lean_dec(v_unused_1732_); +v___x_1709_ = v_toApplicative_1700_; +v_isShared_1710_ = v_isSharedCheck_1731_; +goto v_resetjp_1708_; +} +else +{ +lean_inc(v_toSeqRight_1707_); +lean_inc(v_toSeqLeft_1706_); +lean_inc(v_toSeq_1705_); +lean_inc(v_toFunctor_1704_); +lean_dec(v_toApplicative_1700_); +v___x_1709_ = lean_box(0); +v_isShared_1710_ = v_isSharedCheck_1731_; +goto v_resetjp_1708_; +} +v_resetjp_1708_: +{ +lean_object* v___f_1711_; lean_object* v___f_1712_; lean_object* v___f_1713_; lean_object* v___f_1714_; lean_object* v___f_1715_; lean_object* v___f_1716_; lean_object* v___x_1717_; lean_object* v___f_1718_; lean_object* v___f_1719_; lean_object* v___f_1720_; lean_object* v___x_1722_; +v___f_1711_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___closed__0)); +v___f_1712_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_instMonadScopeInferM___closed__1)); +v___f_1713_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3)); +v___f_1714_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4)); +lean_inc_ref(v_toFunctor_1704_); +v___f_1715_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_1715_, 0, v_toFunctor_1704_); +v___f_1716_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1716_, 0, v_toFunctor_1704_); +v___x_1717_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1717_, 0, v___f_1715_); +lean_ctor_set(v___x_1717_, 1, v___f_1716_); +v___f_1718_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_1718_, 0, v_toSeqRight_1707_); +v___f_1719_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_1719_, 0, v_toSeqLeft_1706_); +v___f_1720_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_1720_, 0, v_toSeq_1705_); +if (v_isShared_1710_ == 0) +{ +lean_ctor_set(v___x_1709_, 4, v___f_1718_); +lean_ctor_set(v___x_1709_, 3, v___f_1719_); +lean_ctor_set(v___x_1709_, 2, v___f_1720_); +lean_ctor_set(v___x_1709_, 1, v___f_1713_); +lean_ctor_set(v___x_1709_, 0, v___x_1717_); +v___x_1722_ = v___x_1709_; +goto v_reusejp_1721_; +} +else +{ +lean_object* v_reuseFailAlloc_1730_; +v_reuseFailAlloc_1730_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1730_, 0, v___x_1717_); +lean_ctor_set(v_reuseFailAlloc_1730_, 1, v___f_1713_); +lean_ctor_set(v_reuseFailAlloc_1730_, 2, v___f_1720_); +lean_ctor_set(v_reuseFailAlloc_1730_, 3, v___f_1719_); +lean_ctor_set(v_reuseFailAlloc_1730_, 4, v___f_1718_); +v___x_1722_ = v_reuseFailAlloc_1730_; +goto v_reusejp_1721_; +} +v_reusejp_1721_: +{ +lean_object* v___x_1724_; +if (v_isShared_1703_ == 0) +{ +lean_ctor_set(v___x_1702_, 1, v___f_1714_); +lean_ctor_set(v___x_1702_, 0, v___x_1722_); +v___x_1724_ = v___x_1702_; +goto v_reusejp_1723_; +} +else +{ +lean_object* v_reuseFailAlloc_1729_; +v_reuseFailAlloc_1729_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1729_, 0, v___x_1722_); +lean_ctor_set(v_reuseFailAlloc_1729_, 1, v___f_1714_); +v___x_1724_ = v_reuseFailAlloc_1729_; +goto v_reusejp_1723_; +} +v_reusejp_1723_: +{ +lean_object* v___x_1725_; lean_object* v___x_1726_; lean_object* v___x_1727_; lean_object* v___x_1728_; +v___x_1725_ = l_ReaderT_instMonad___redArg(v___x_1724_); +lean_inc_ref(v___x_1725_); +v___x_1726_ = lean_alloc_closure((void*)(l_ReaderT_read), 4, 3); +lean_closure_set(v___x_1726_, 0, lean_box(0)); +lean_closure_set(v___x_1726_, 1, lean_box(0)); +lean_closure_set(v___x_1726_, 2, v___x_1725_); +v___x_1727_ = lean_alloc_closure((void*)(l_ReaderT_bind), 8, 7); +lean_closure_set(v___x_1727_, 0, lean_box(0)); +lean_closure_set(v___x_1727_, 1, lean_box(0)); +lean_closure_set(v___x_1727_, 2, v___x_1725_); +lean_closure_set(v___x_1727_, 3, lean_box(0)); +lean_closure_set(v___x_1727_, 4, lean_box(0)); +lean_closure_set(v___x_1727_, 5, v___x_1726_); +lean_closure_set(v___x_1727_, 6, v___f_1711_); +v___x_1728_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1728_, 0, v___x_1727_); +lean_ctor_set(v___x_1728_, 1, v___f_1712_); +return v___x_1728_; +} +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx(lean_object* v_x_1741_){ +_start: +{ +switch(lean_obj_tag(v_x_1741_)) +{ +case 0: +{ +lean_object* v___x_1742_; +v___x_1742_ = lean_unsigned_to_nat(0u); +return v___x_1742_; +} +case 1: +{ +lean_object* v___x_1743_; +v___x_1743_ = lean_unsigned_to_nat(1u); +return v___x_1743_; +} +case 2: +{ +lean_object* v___x_1744_; +v___x_1744_ = lean_unsigned_to_nat(2u); +return v___x_1744_; +} +case 3: +{ +lean_object* v___x_1745_; +v___x_1745_ = lean_unsigned_to_nat(3u); +return v___x_1745_; +} +case 4: +{ +lean_object* v___x_1746_; +v___x_1746_ = lean_unsigned_to_nat(4u); +return v___x_1746_; +} +case 5: +{ +lean_object* v___x_1747_; +v___x_1747_ = lean_unsigned_to_nat(5u); +return v___x_1747_; +} +case 6: +{ +lean_object* v___x_1748_; +v___x_1748_ = lean_unsigned_to_nat(6u); +return v___x_1748_; +} +case 7: +{ +lean_object* v___x_1749_; +v___x_1749_ = lean_unsigned_to_nat(7u); +return v___x_1749_; +} +case 8: +{ +lean_object* v___x_1750_; +v___x_1750_ = lean_unsigned_to_nat(8u); +return v___x_1750_; +} +case 9: +{ +lean_object* v___x_1751_; +v___x_1751_ = lean_unsigned_to_nat(9u); +return v___x_1751_; +} +case 10: +{ +lean_object* v___x_1752_; +v___x_1752_ = lean_unsigned_to_nat(10u); +return v___x_1752_; +} +default: +{ +lean_object* v___x_1753_; +v___x_1753_ = lean_unsigned_to_nat(11u); +return v___x_1753_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx___boxed(lean_object* v_x_1754_){ +_start: +{ +lean_object* v_res_1755_; +v_res_1755_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorIdx(v_x_1754_); +lean_dec_ref(v_x_1754_); +return v_res_1755_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(lean_object* v_t_1756_, lean_object* v_k_1757_){ +_start: +{ +lean_object* v_resultFVar_1758_; lean_object* v___x_1759_; +v_resultFVar_1758_ = lean_ctor_get(v_t_1756_, 0); +lean_inc(v_resultFVar_1758_); +lean_dec_ref(v_t_1756_); +v___x_1759_ = lean_apply_1(v_k_1757_, v_resultFVar_1758_); +return v___x_1759_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim(lean_object* v_motive_1760_, lean_object* v_ctorIdx_1761_, lean_object* v_t_1762_, lean_object* v_h_1763_, lean_object* v_k_1764_){ +_start: +{ +lean_object* v___x_1765_; +v___x_1765_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1762_, v_k_1764_); +return v___x_1765_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___boxed(lean_object* v_motive_1766_, lean_object* v_ctorIdx_1767_, lean_object* v_t_1768_, lean_object* v_h_1769_, lean_object* v_k_1770_){ +_start: +{ +lean_object* v_res_1771_; +v_res_1771_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim(v_motive_1766_, v_ctorIdx_1767_, v_t_1768_, v_h_1769_, v_k_1770_); +lean_dec(v_ctorIdx_1767_); +return v_res_1771_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_resetReuse_elim___redArg(lean_object* v_t_1772_, lean_object* v_resetReuse_1773_){ +_start: +{ +lean_object* v___x_1774_; +v___x_1774_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1772_, v_resetReuse_1773_); +return v___x_1774_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_resetReuse_elim(lean_object* v_motive_1775_, lean_object* v_t_1776_, lean_object* v_h_1777_, lean_object* v_resetReuse_1778_){ +_start: +{ +lean_object* v___x_1779_; +v___x_1779_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1776_, v_resetReuse_1778_); +return v___x_1779_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorResult_elim___redArg(lean_object* v_t_1780_, lean_object* v_constructorResult_1781_){ +_start: +{ +lean_object* v___x_1782_; +v___x_1782_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1780_, v_constructorResult_1781_); +return v___x_1782_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorResult_elim(lean_object* v_motive_1783_, lean_object* v_t_1784_, lean_object* v_h_1785_, lean_object* v_constructorResult_1786_){ +_start: +{ +lean_object* v___x_1787_; +v___x_1787_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1784_, v_constructorResult_1786_); +return v___x_1787_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim___redArg(lean_object* v_t_1788_, lean_object* v_constructorArg_1789_){ +_start: +{ +lean_object* v___x_1790_; +v___x_1790_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1788_, v_constructorArg_1789_); +return v___x_1790_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_constructorArg_elim(lean_object* v_motive_1791_, lean_object* v_t_1792_, lean_object* v_h_1793_, lean_object* v_constructorArg_1794_){ +_start: +{ +lean_object* v___x_1795_; +v___x_1795_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1792_, v_constructorArg_1794_); +return v___x_1795_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_forwardProjectionProp_elim___redArg(lean_object* v_t_1796_, lean_object* v_forwardProjectionProp_1797_){ +_start: +{ +lean_object* v___x_1798_; +v___x_1798_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1796_, v_forwardProjectionProp_1797_); +return v___x_1798_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_forwardProjectionProp_elim(lean_object* v_motive_1799_, lean_object* v_t_1800_, lean_object* v_h_1801_, lean_object* v_forwardProjectionProp_1802_){ +_start: +{ +lean_object* v___x_1803_; +v___x_1803_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1800_, v_forwardProjectionProp_1802_); +return v___x_1803_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_backwardProjectionProp_elim___redArg(lean_object* v_t_1804_, lean_object* v_backwardProjectionProp_1805_){ +_start: +{ +lean_object* v___x_1806_; +v___x_1806_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1804_, v_backwardProjectionProp_1805_); +return v___x_1806_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_backwardProjectionProp_elim(lean_object* v_motive_1807_, lean_object* v_t_1808_, lean_object* v_h_1809_, lean_object* v_backwardProjectionProp_1810_){ +_start: +{ +lean_object* v___x_1811_; +v___x_1811_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1808_, v_backwardProjectionProp_1810_); +return v___x_1811_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim___redArg(lean_object* v_t_1812_, lean_object* v_functionCallResult_1813_){ +_start: +{ +lean_object* v___x_1814_; +v___x_1814_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1812_, v_functionCallResult_1813_); +return v___x_1814_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallResult_elim(lean_object* v_motive_1815_, lean_object* v_t_1816_, lean_object* v_h_1817_, lean_object* v_functionCallResult_1818_){ +_start: +{ +lean_object* v___x_1819_; +v___x_1819_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1816_, v_functionCallResult_1818_); +return v___x_1819_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallArg_elim___redArg(lean_object* v_t_1820_, lean_object* v_functionCallArg_1821_){ +_start: +{ +lean_object* v___x_1822_; +v___x_1822_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1820_, v_functionCallArg_1821_); +return v___x_1822_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_functionCallArg_elim(lean_object* v_motive_1823_, lean_object* v_t_1824_, lean_object* v_h_1825_, lean_object* v_functionCallArg_1826_){ +_start: +{ +lean_object* v___x_1827_; +v___x_1827_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1824_, v_functionCallArg_1826_); +return v___x_1827_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_fvarCall_elim___redArg(lean_object* v_t_1828_, lean_object* v_fvarCall_1829_){ +_start: +{ +lean_object* v___x_1830_; +v___x_1830_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1828_, v_fvarCall_1829_); +return v___x_1830_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_fvarCall_elim(lean_object* v_motive_1831_, lean_object* v_t_1832_, lean_object* v_h_1833_, lean_object* v_fvarCall_1834_){ +_start: +{ +lean_object* v___x_1835_; +v___x_1835_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1832_, v_fvarCall_1834_); +return v___x_1835_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_partialApplication_elim___redArg(lean_object* v_t_1836_, lean_object* v_partialApplication_1837_){ +_start: +{ +lean_object* v___x_1838_; +v___x_1838_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1836_, v_partialApplication_1837_); +return v___x_1838_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_partialApplication_elim(lean_object* v_motive_1839_, lean_object* v_t_1840_, lean_object* v_h_1841_, lean_object* v_partialApplication_1842_){ +_start: +{ +lean_object* v___x_1843_; +v___x_1843_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1840_, v_partialApplication_1842_); +return v___x_1843_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_tailCallPreservation_elim___redArg(lean_object* v_t_1844_, lean_object* v_tailCallPreservation_1845_){ +_start: +{ +lean_object* v___x_1846_; +v___x_1846_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1844_, v_tailCallPreservation_1845_); +return v___x_1846_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_tailCallPreservation_elim(lean_object* v_motive_1847_, lean_object* v_t_1848_, lean_object* v_h_1849_, lean_object* v_tailCallPreservation_1850_){ +_start: +{ +lean_object* v___x_1851_; +v___x_1851_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1848_, v_tailCallPreservation_1850_); +return v___x_1851_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpArgPropagation_elim___redArg(lean_object* v_t_1852_, lean_object* v_jpArgPropagation_1853_){ +_start: +{ +lean_object* v___x_1854_; +v___x_1854_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1852_, v_jpArgPropagation_1853_); +return v___x_1854_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpArgPropagation_elim(lean_object* v_motive_1855_, lean_object* v_t_1856_, lean_object* v_h_1857_, lean_object* v_jpArgPropagation_1858_){ +_start: +{ +lean_object* v___x_1859_; +v___x_1859_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1856_, v_jpArgPropagation_1858_); +return v___x_1859_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpTailCallPreservation_elim___redArg(lean_object* v_t_1860_, lean_object* v_jpTailCallPreservation_1861_){ +_start: +{ +lean_object* v___x_1862_; +v___x_1862_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1860_, v_jpTailCallPreservation_1861_); +return v___x_1862_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_jpTailCallPreservation_elim(lean_object* v_motive_1863_, lean_object* v_t_1864_, lean_object* v_h_1865_, lean_object* v_jpTailCallPreservation_1866_){ +_start: +{ +lean_object* v___x_1867_; +v___x_1867_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_ctorElim___redArg(v_t_1864_, v_jpTailCallPreservation_1866_); +return v___x_1867_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0(lean_object* v_reason_1880_, lean_object* v___y_1881_, lean_object* v___y_1882_, lean_object* v___y_1883_, lean_object* v___y_1884_, lean_object* v___y_1885_){ +_start: +{ +switch(lean_obj_tag(v_reason_1880_)) +{ +case 0: +{ +lean_object* v_resultFVar_1887_; lean_object* v___x_1888_; +v_resultFVar_1887_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_1887_); +lean_dec_ref(v_reason_1880_); +v___x_1888_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1887_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_1888_) == 0) +{ +lean_object* v_a_1889_; lean_object* v___x_1891_; uint8_t v_isShared_1892_; uint8_t v_isSharedCheck_1901_; +v_a_1889_ = lean_ctor_get(v___x_1888_, 0); +v_isSharedCheck_1901_ = !lean_is_exclusive(v___x_1888_); +if (v_isSharedCheck_1901_ == 0) +{ +v___x_1891_ = v___x_1888_; +v_isShared_1892_ = v_isSharedCheck_1901_; +goto v_resetjp_1890_; +} +else +{ +lean_inc(v_a_1889_); +lean_dec(v___x_1888_); +v___x_1891_ = lean_box(0); +v_isShared_1892_ = v_isSharedCheck_1901_; +goto v_resetjp_1890_; +} +v_resetjp_1890_: +{ +lean_object* v___x_1893_; lean_object* v___x_1894_; lean_object* v___x_1895_; lean_object* v___x_1896_; lean_object* v___x_1897_; lean_object* v___x_1899_; +v___x_1893_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__0)); +v___x_1894_ = l_Std_Format_defWidth; +v___x_1895_ = lean_unsigned_to_nat(0u); +v___x_1896_ = l_Std_Format_pretty(v_a_1889_, v___x_1894_, v___x_1895_, v___x_1895_); +v___x_1897_ = lean_string_append(v___x_1893_, v___x_1896_); +lean_dec_ref(v___x_1896_); +if (v_isShared_1892_ == 0) +{ +lean_ctor_set(v___x_1891_, 0, v___x_1897_); +v___x_1899_ = v___x_1891_; +goto v_reusejp_1898_; +} +else +{ +lean_object* v_reuseFailAlloc_1900_; +v_reuseFailAlloc_1900_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1900_, 0, v___x_1897_); +v___x_1899_ = v_reuseFailAlloc_1900_; +goto v_reusejp_1898_; +} +v_reusejp_1898_: +{ +return v___x_1899_; +} +} +} +else +{ +lean_object* v_a_1902_; lean_object* v___x_1904_; uint8_t v_isShared_1905_; uint8_t v_isSharedCheck_1909_; +v_a_1902_ = lean_ctor_get(v___x_1888_, 0); +v_isSharedCheck_1909_ = !lean_is_exclusive(v___x_1888_); +if (v_isSharedCheck_1909_ == 0) +{ +v___x_1904_ = v___x_1888_; +v_isShared_1905_ = v_isSharedCheck_1909_; +goto v_resetjp_1903_; +} +else +{ +lean_inc(v_a_1902_); +lean_dec(v___x_1888_); +v___x_1904_ = lean_box(0); +v_isShared_1905_ = v_isSharedCheck_1909_; +goto v_resetjp_1903_; +} +v_resetjp_1903_: +{ +lean_object* v___x_1907_; +if (v_isShared_1905_ == 0) +{ +v___x_1907_ = v___x_1904_; +goto v_reusejp_1906_; +} +else +{ +lean_object* v_reuseFailAlloc_1908_; +v_reuseFailAlloc_1908_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1908_, 0, v_a_1902_); +v___x_1907_ = v_reuseFailAlloc_1908_; +goto v_reusejp_1906_; +} +v_reusejp_1906_: +{ +return v___x_1907_; +} +} +} +} +case 1: +{ +lean_object* v_resultFVar_1910_; lean_object* v___x_1911_; +v_resultFVar_1910_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_1910_); +lean_dec_ref(v_reason_1880_); +v___x_1911_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1910_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_1911_) == 0) +{ +lean_object* v_a_1912_; lean_object* v___x_1914_; uint8_t v_isShared_1915_; uint8_t v_isSharedCheck_1924_; +v_a_1912_ = lean_ctor_get(v___x_1911_, 0); +v_isSharedCheck_1924_ = !lean_is_exclusive(v___x_1911_); +if (v_isSharedCheck_1924_ == 0) +{ +v___x_1914_ = v___x_1911_; +v_isShared_1915_ = v_isSharedCheck_1924_; +goto v_resetjp_1913_; +} +else +{ +lean_inc(v_a_1912_); +lean_dec(v___x_1911_); +v___x_1914_ = lean_box(0); +v_isShared_1915_ = v_isSharedCheck_1924_; +goto v_resetjp_1913_; +} +v_resetjp_1913_: +{ +lean_object* v___x_1916_; lean_object* v___x_1917_; lean_object* v___x_1918_; lean_object* v___x_1919_; lean_object* v___x_1920_; lean_object* v___x_1922_; +v___x_1916_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__1)); +v___x_1917_ = l_Std_Format_defWidth; +v___x_1918_ = lean_unsigned_to_nat(0u); +v___x_1919_ = l_Std_Format_pretty(v_a_1912_, v___x_1917_, v___x_1918_, v___x_1918_); +v___x_1920_ = lean_string_append(v___x_1916_, v___x_1919_); +lean_dec_ref(v___x_1919_); +if (v_isShared_1915_ == 0) +{ +lean_ctor_set(v___x_1914_, 0, v___x_1920_); +v___x_1922_ = v___x_1914_; +goto v_reusejp_1921_; +} +else +{ +lean_object* v_reuseFailAlloc_1923_; +v_reuseFailAlloc_1923_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1923_, 0, v___x_1920_); +v___x_1922_ = v_reuseFailAlloc_1923_; +goto v_reusejp_1921_; +} +v_reusejp_1921_: +{ +return v___x_1922_; +} +} +} +else +{ +lean_object* v_a_1925_; lean_object* v___x_1927_; uint8_t v_isShared_1928_; uint8_t v_isSharedCheck_1932_; +v_a_1925_ = lean_ctor_get(v___x_1911_, 0); +v_isSharedCheck_1932_ = !lean_is_exclusive(v___x_1911_); +if (v_isSharedCheck_1932_ == 0) +{ +v___x_1927_ = v___x_1911_; +v_isShared_1928_ = v_isSharedCheck_1932_; +goto v_resetjp_1926_; +} +else +{ +lean_inc(v_a_1925_); +lean_dec(v___x_1911_); +v___x_1927_ = lean_box(0); +v_isShared_1928_ = v_isSharedCheck_1932_; +goto v_resetjp_1926_; +} +v_resetjp_1926_: +{ +lean_object* v___x_1930_; +if (v_isShared_1928_ == 0) +{ +v___x_1930_ = v___x_1927_; +goto v_reusejp_1929_; +} +else +{ +lean_object* v_reuseFailAlloc_1931_; +v_reuseFailAlloc_1931_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1931_, 0, v_a_1925_); +v___x_1930_ = v_reuseFailAlloc_1931_; +goto v_reusejp_1929_; +} +v_reusejp_1929_: +{ +return v___x_1930_; } } } } case 2: { -lean_object* v_resultFVar_1684_; lean_object* v___x_1685_; -v_resultFVar_1684_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1684_); -lean_dec_ref(v_reason_1631_); -v___x_1685_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1684_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1685_) == 0) +lean_object* v_resultFVar_1933_; lean_object* v___x_1934_; +v_resultFVar_1933_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_1933_); +lean_dec_ref(v_reason_1880_); +v___x_1934_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1933_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_1934_) == 0) { -lean_object* v_a_1686_; lean_object* v___x_1688_; uint8_t v_isShared_1689_; uint8_t v_isSharedCheck_1698_; -v_a_1686_ = lean_ctor_get(v___x_1685_, 0); -v_isSharedCheck_1698_ = !lean_is_exclusive(v___x_1685_); -if (v_isSharedCheck_1698_ == 0) +lean_object* v_a_1935_; lean_object* v___x_1937_; uint8_t v_isShared_1938_; uint8_t v_isSharedCheck_1947_; +v_a_1935_ = lean_ctor_get(v___x_1934_, 0); +v_isSharedCheck_1947_ = !lean_is_exclusive(v___x_1934_); +if (v_isSharedCheck_1947_ == 0) { -v___x_1688_ = v___x_1685_; -v_isShared_1689_ = v_isSharedCheck_1698_; -goto v_resetjp_1687_; +v___x_1937_ = v___x_1934_; +v_isShared_1938_ = v_isSharedCheck_1947_; +goto v_resetjp_1936_; } else { -lean_inc(v_a_1686_); -lean_dec(v___x_1685_); -v___x_1688_ = lean_box(0); -v_isShared_1689_ = v_isSharedCheck_1698_; -goto v_resetjp_1687_; +lean_inc(v_a_1935_); +lean_dec(v___x_1934_); +v___x_1937_ = lean_box(0); +v_isShared_1938_ = v_isSharedCheck_1947_; +goto v_resetjp_1936_; } -v_resetjp_1687_: +v_resetjp_1936_: { -lean_object* v___x_1690_; lean_object* v___x_1691_; lean_object* v___x_1692_; lean_object* v___x_1693_; lean_object* v___x_1694_; lean_object* v___x_1696_; -v___x_1690_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__2)); -v___x_1691_ = l_Std_Format_defWidth; -v___x_1692_ = lean_unsigned_to_nat(0u); -v___x_1693_ = l_Std_Format_pretty(v_a_1686_, v___x_1691_, v___x_1692_, v___x_1692_); -v___x_1694_ = lean_string_append(v___x_1690_, v___x_1693_); -lean_dec_ref(v___x_1693_); -if (v_isShared_1689_ == 0) +lean_object* v___x_1939_; lean_object* v___x_1940_; lean_object* v___x_1941_; lean_object* v___x_1942_; lean_object* v___x_1943_; lean_object* v___x_1945_; +v___x_1939_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__2)); +v___x_1940_ = l_Std_Format_defWidth; +v___x_1941_ = lean_unsigned_to_nat(0u); +v___x_1942_ = l_Std_Format_pretty(v_a_1935_, v___x_1940_, v___x_1941_, v___x_1941_); +v___x_1943_ = lean_string_append(v___x_1939_, v___x_1942_); +lean_dec_ref(v___x_1942_); +if (v_isShared_1938_ == 0) { -lean_ctor_set(v___x_1688_, 0, v___x_1694_); -v___x_1696_ = v___x_1688_; -goto v_reusejp_1695_; +lean_ctor_set(v___x_1937_, 0, v___x_1943_); +v___x_1945_ = v___x_1937_; +goto v_reusejp_1944_; } else { -lean_object* v_reuseFailAlloc_1697_; -v_reuseFailAlloc_1697_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1697_, 0, v___x_1694_); -v___x_1696_ = v_reuseFailAlloc_1697_; -goto v_reusejp_1695_; +lean_object* v_reuseFailAlloc_1946_; +v_reuseFailAlloc_1946_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1946_, 0, v___x_1943_); +v___x_1945_ = v_reuseFailAlloc_1946_; +goto v_reusejp_1944_; } -v_reusejp_1695_: +v_reusejp_1944_: { -return v___x_1696_; +return v___x_1945_; } } } else { -lean_object* v_a_1699_; lean_object* v___x_1701_; uint8_t v_isShared_1702_; uint8_t v_isSharedCheck_1706_; -v_a_1699_ = lean_ctor_get(v___x_1685_, 0); -v_isSharedCheck_1706_ = !lean_is_exclusive(v___x_1685_); -if (v_isSharedCheck_1706_ == 0) +lean_object* v_a_1948_; lean_object* v___x_1950_; uint8_t v_isShared_1951_; uint8_t v_isSharedCheck_1955_; +v_a_1948_ = lean_ctor_get(v___x_1934_, 0); +v_isSharedCheck_1955_ = !lean_is_exclusive(v___x_1934_); +if (v_isSharedCheck_1955_ == 0) { -v___x_1701_ = v___x_1685_; -v_isShared_1702_ = v_isSharedCheck_1706_; -goto v_resetjp_1700_; +v___x_1950_ = v___x_1934_; +v_isShared_1951_ = v_isSharedCheck_1955_; +goto v_resetjp_1949_; } else { -lean_inc(v_a_1699_); -lean_dec(v___x_1685_); -v___x_1701_ = lean_box(0); -v_isShared_1702_ = v_isSharedCheck_1706_; -goto v_resetjp_1700_; +lean_inc(v_a_1948_); +lean_dec(v___x_1934_); +v___x_1950_ = lean_box(0); +v_isShared_1951_ = v_isSharedCheck_1955_; +goto v_resetjp_1949_; } -v_resetjp_1700_: +v_resetjp_1949_: { -lean_object* v___x_1704_; -if (v_isShared_1702_ == 0) +lean_object* v___x_1953_; +if (v_isShared_1951_ == 0) { -v___x_1704_ = v___x_1701_; -goto v_reusejp_1703_; +v___x_1953_ = v___x_1950_; +goto v_reusejp_1952_; } else { -lean_object* v_reuseFailAlloc_1705_; -v_reuseFailAlloc_1705_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1705_, 0, v_a_1699_); -v___x_1704_ = v_reuseFailAlloc_1705_; -goto v_reusejp_1703_; +lean_object* v_reuseFailAlloc_1954_; +v_reuseFailAlloc_1954_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1954_, 0, v_a_1948_); +v___x_1953_ = v_reuseFailAlloc_1954_; +goto v_reusejp_1952_; } -v_reusejp_1703_: +v_reusejp_1952_: { -return v___x_1704_; +return v___x_1953_; } } } } case 3: { -lean_object* v_resultFVar_1707_; lean_object* v___x_1708_; -v_resultFVar_1707_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1707_); -lean_dec_ref(v_reason_1631_); -v___x_1708_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1707_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1708_) == 0) +lean_object* v_resultFVar_1956_; lean_object* v___x_1957_; +v_resultFVar_1956_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_1956_); +lean_dec_ref(v_reason_1880_); +v___x_1957_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1956_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_1957_) == 0) { -lean_object* v_a_1709_; lean_object* v___x_1711_; uint8_t v_isShared_1712_; uint8_t v_isSharedCheck_1721_; -v_a_1709_ = lean_ctor_get(v___x_1708_, 0); -v_isSharedCheck_1721_ = !lean_is_exclusive(v___x_1708_); -if (v_isSharedCheck_1721_ == 0) +lean_object* v_a_1958_; lean_object* v___x_1960_; uint8_t v_isShared_1961_; uint8_t v_isSharedCheck_1970_; +v_a_1958_ = lean_ctor_get(v___x_1957_, 0); +v_isSharedCheck_1970_ = !lean_is_exclusive(v___x_1957_); +if (v_isSharedCheck_1970_ == 0) { -v___x_1711_ = v___x_1708_; -v_isShared_1712_ = v_isSharedCheck_1721_; -goto v_resetjp_1710_; +v___x_1960_ = v___x_1957_; +v_isShared_1961_ = v_isSharedCheck_1970_; +goto v_resetjp_1959_; } else { -lean_inc(v_a_1709_); -lean_dec(v___x_1708_); -v___x_1711_ = lean_box(0); -v_isShared_1712_ = v_isSharedCheck_1721_; -goto v_resetjp_1710_; +lean_inc(v_a_1958_); +lean_dec(v___x_1957_); +v___x_1960_ = lean_box(0); +v_isShared_1961_ = v_isSharedCheck_1970_; +goto v_resetjp_1959_; } -v_resetjp_1710_: +v_resetjp_1959_: { -lean_object* v___x_1713_; lean_object* v___x_1714_; lean_object* v___x_1715_; lean_object* v___x_1716_; lean_object* v___x_1717_; lean_object* v___x_1719_; -v___x_1713_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3)); -v___x_1714_ = l_Std_Format_defWidth; -v___x_1715_ = lean_unsigned_to_nat(0u); -v___x_1716_ = l_Std_Format_pretty(v_a_1709_, v___x_1714_, v___x_1715_, v___x_1715_); -v___x_1717_ = lean_string_append(v___x_1713_, v___x_1716_); -lean_dec_ref(v___x_1716_); -if (v_isShared_1712_ == 0) +lean_object* v___x_1962_; lean_object* v___x_1963_; lean_object* v___x_1964_; lean_object* v___x_1965_; lean_object* v___x_1966_; lean_object* v___x_1968_; +v___x_1962_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__3)); +v___x_1963_ = l_Std_Format_defWidth; +v___x_1964_ = lean_unsigned_to_nat(0u); +v___x_1965_ = l_Std_Format_pretty(v_a_1958_, v___x_1963_, v___x_1964_, v___x_1964_); +v___x_1966_ = lean_string_append(v___x_1962_, v___x_1965_); +lean_dec_ref(v___x_1965_); +if (v_isShared_1961_ == 0) { -lean_ctor_set(v___x_1711_, 0, v___x_1717_); -v___x_1719_ = v___x_1711_; -goto v_reusejp_1718_; +lean_ctor_set(v___x_1960_, 0, v___x_1966_); +v___x_1968_ = v___x_1960_; +goto v_reusejp_1967_; } else { -lean_object* v_reuseFailAlloc_1720_; -v_reuseFailAlloc_1720_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1720_, 0, v___x_1717_); -v___x_1719_ = v_reuseFailAlloc_1720_; -goto v_reusejp_1718_; +lean_object* v_reuseFailAlloc_1969_; +v_reuseFailAlloc_1969_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1969_, 0, v___x_1966_); +v___x_1968_ = v_reuseFailAlloc_1969_; +goto v_reusejp_1967_; } -v_reusejp_1718_: +v_reusejp_1967_: { -return v___x_1719_; +return v___x_1968_; } } } else { -lean_object* v_a_1722_; lean_object* v___x_1724_; uint8_t v_isShared_1725_; uint8_t v_isSharedCheck_1729_; -v_a_1722_ = lean_ctor_get(v___x_1708_, 0); -v_isSharedCheck_1729_ = !lean_is_exclusive(v___x_1708_); -if (v_isSharedCheck_1729_ == 0) +lean_object* v_a_1971_; lean_object* v___x_1973_; uint8_t v_isShared_1974_; uint8_t v_isSharedCheck_1978_; +v_a_1971_ = lean_ctor_get(v___x_1957_, 0); +v_isSharedCheck_1978_ = !lean_is_exclusive(v___x_1957_); +if (v_isSharedCheck_1978_ == 0) { -v___x_1724_ = v___x_1708_; -v_isShared_1725_ = v_isSharedCheck_1729_; -goto v_resetjp_1723_; +v___x_1973_ = v___x_1957_; +v_isShared_1974_ = v_isSharedCheck_1978_; +goto v_resetjp_1972_; } else { -lean_inc(v_a_1722_); -lean_dec(v___x_1708_); -v___x_1724_ = lean_box(0); -v_isShared_1725_ = v_isSharedCheck_1729_; -goto v_resetjp_1723_; +lean_inc(v_a_1971_); +lean_dec(v___x_1957_); +v___x_1973_ = lean_box(0); +v_isShared_1974_ = v_isSharedCheck_1978_; +goto v_resetjp_1972_; } -v_resetjp_1723_: +v_resetjp_1972_: { -lean_object* v___x_1727_; -if (v_isShared_1725_ == 0) +lean_object* v___x_1976_; +if (v_isShared_1974_ == 0) { -v___x_1727_ = v___x_1724_; -goto v_reusejp_1726_; +v___x_1976_ = v___x_1973_; +goto v_reusejp_1975_; } else { -lean_object* v_reuseFailAlloc_1728_; -v_reuseFailAlloc_1728_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1728_, 0, v_a_1722_); -v___x_1727_ = v_reuseFailAlloc_1728_; -goto v_reusejp_1726_; +lean_object* v_reuseFailAlloc_1977_; +v_reuseFailAlloc_1977_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1977_, 0, v_a_1971_); +v___x_1976_ = v_reuseFailAlloc_1977_; +goto v_reusejp_1975_; } -v_reusejp_1726_: +v_reusejp_1975_: { -return v___x_1727_; +return v___x_1976_; } } } } case 4: { -lean_object* v_resultFVar_1730_; lean_object* v___x_1731_; -v_resultFVar_1730_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1730_); -lean_dec_ref(v_reason_1631_); -v___x_1731_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1730_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1731_) == 0) +lean_object* v_resultFVar_1979_; lean_object* v___x_1980_; +v_resultFVar_1979_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_1979_); +lean_dec_ref(v_reason_1880_); +v___x_1980_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1979_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_1980_) == 0) { -lean_object* v_a_1732_; lean_object* v___x_1734_; uint8_t v_isShared_1735_; uint8_t v_isSharedCheck_1744_; -v_a_1732_ = lean_ctor_get(v___x_1731_, 0); -v_isSharedCheck_1744_ = !lean_is_exclusive(v___x_1731_); -if (v_isSharedCheck_1744_ == 0) +lean_object* v_a_1981_; lean_object* v___x_1983_; uint8_t v_isShared_1984_; uint8_t v_isSharedCheck_1993_; +v_a_1981_ = lean_ctor_get(v___x_1980_, 0); +v_isSharedCheck_1993_ = !lean_is_exclusive(v___x_1980_); +if (v_isSharedCheck_1993_ == 0) { -v___x_1734_ = v___x_1731_; -v_isShared_1735_ = v_isSharedCheck_1744_; -goto v_resetjp_1733_; +v___x_1983_ = v___x_1980_; +v_isShared_1984_ = v_isSharedCheck_1993_; +goto v_resetjp_1982_; } else { -lean_inc(v_a_1732_); -lean_dec(v___x_1731_); -v___x_1734_ = lean_box(0); -v_isShared_1735_ = v_isSharedCheck_1744_; -goto v_resetjp_1733_; +lean_inc(v_a_1981_); +lean_dec(v___x_1980_); +v___x_1983_ = lean_box(0); +v_isShared_1984_ = v_isSharedCheck_1993_; +goto v_resetjp_1982_; } -v_resetjp_1733_: +v_resetjp_1982_: { -lean_object* v___x_1736_; lean_object* v___x_1737_; lean_object* v___x_1738_; lean_object* v___x_1739_; lean_object* v___x_1740_; lean_object* v___x_1742_; -v___x_1736_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4)); -v___x_1737_ = l_Std_Format_defWidth; -v___x_1738_ = lean_unsigned_to_nat(0u); -v___x_1739_ = l_Std_Format_pretty(v_a_1732_, v___x_1737_, v___x_1738_, v___x_1738_); -v___x_1740_ = lean_string_append(v___x_1736_, v___x_1739_); -lean_dec_ref(v___x_1739_); -if (v_isShared_1735_ == 0) +lean_object* v___x_1985_; lean_object* v___x_1986_; lean_object* v___x_1987_; lean_object* v___x_1988_; lean_object* v___x_1989_; lean_object* v___x_1991_; +v___x_1985_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__4)); +v___x_1986_ = l_Std_Format_defWidth; +v___x_1987_ = lean_unsigned_to_nat(0u); +v___x_1988_ = l_Std_Format_pretty(v_a_1981_, v___x_1986_, v___x_1987_, v___x_1987_); +v___x_1989_ = lean_string_append(v___x_1985_, v___x_1988_); +lean_dec_ref(v___x_1988_); +if (v_isShared_1984_ == 0) { -lean_ctor_set(v___x_1734_, 0, v___x_1740_); -v___x_1742_ = v___x_1734_; -goto v_reusejp_1741_; +lean_ctor_set(v___x_1983_, 0, v___x_1989_); +v___x_1991_ = v___x_1983_; +goto v_reusejp_1990_; } else { -lean_object* v_reuseFailAlloc_1743_; -v_reuseFailAlloc_1743_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1743_, 0, v___x_1740_); -v___x_1742_ = v_reuseFailAlloc_1743_; -goto v_reusejp_1741_; +lean_object* v_reuseFailAlloc_1992_; +v_reuseFailAlloc_1992_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1992_, 0, v___x_1989_); +v___x_1991_ = v_reuseFailAlloc_1992_; +goto v_reusejp_1990_; } -v_reusejp_1741_: +v_reusejp_1990_: { -return v___x_1742_; +return v___x_1991_; } } } else { -lean_object* v_a_1745_; lean_object* v___x_1747_; uint8_t v_isShared_1748_; uint8_t v_isSharedCheck_1752_; -v_a_1745_ = lean_ctor_get(v___x_1731_, 0); -v_isSharedCheck_1752_ = !lean_is_exclusive(v___x_1731_); -if (v_isSharedCheck_1752_ == 0) +lean_object* v_a_1994_; lean_object* v___x_1996_; uint8_t v_isShared_1997_; uint8_t v_isSharedCheck_2001_; +v_a_1994_ = lean_ctor_get(v___x_1980_, 0); +v_isSharedCheck_2001_ = !lean_is_exclusive(v___x_1980_); +if (v_isSharedCheck_2001_ == 0) { -v___x_1747_ = v___x_1731_; -v_isShared_1748_ = v_isSharedCheck_1752_; -goto v_resetjp_1746_; +v___x_1996_ = v___x_1980_; +v_isShared_1997_ = v_isSharedCheck_2001_; +goto v_resetjp_1995_; } else { -lean_inc(v_a_1745_); -lean_dec(v___x_1731_); -v___x_1747_ = lean_box(0); -v_isShared_1748_ = v_isSharedCheck_1752_; -goto v_resetjp_1746_; +lean_inc(v_a_1994_); +lean_dec(v___x_1980_); +v___x_1996_ = lean_box(0); +v_isShared_1997_ = v_isSharedCheck_2001_; +goto v_resetjp_1995_; } -v_resetjp_1746_: +v_resetjp_1995_: { -lean_object* v___x_1750_; -if (v_isShared_1748_ == 0) +lean_object* v___x_1999_; +if (v_isShared_1997_ == 0) { -v___x_1750_ = v___x_1747_; -goto v_reusejp_1749_; +v___x_1999_ = v___x_1996_; +goto v_reusejp_1998_; } else { -lean_object* v_reuseFailAlloc_1751_; -v_reuseFailAlloc_1751_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1751_, 0, v_a_1745_); -v___x_1750_ = v_reuseFailAlloc_1751_; -goto v_reusejp_1749_; +lean_object* v_reuseFailAlloc_2000_; +v_reuseFailAlloc_2000_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2000_, 0, v_a_1994_); +v___x_1999_ = v_reuseFailAlloc_2000_; +goto v_reusejp_1998_; } -v_reusejp_1749_: +v_reusejp_1998_: { -return v___x_1750_; +return v___x_1999_; } } } } case 5: { -lean_object* v_resultFVar_1753_; lean_object* v___x_1754_; -v_resultFVar_1753_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1753_); -lean_dec_ref(v_reason_1631_); -v___x_1754_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1753_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1754_) == 0) +lean_object* v_resultFVar_2002_; lean_object* v___x_2003_; +v_resultFVar_2002_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_2002_); +lean_dec_ref(v_reason_1880_); +v___x_2003_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_2002_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2003_) == 0) { -lean_object* v_a_1755_; lean_object* v___x_1757_; uint8_t v_isShared_1758_; uint8_t v_isSharedCheck_1767_; -v_a_1755_ = lean_ctor_get(v___x_1754_, 0); -v_isSharedCheck_1767_ = !lean_is_exclusive(v___x_1754_); -if (v_isSharedCheck_1767_ == 0) +lean_object* v_a_2004_; lean_object* v___x_2006_; uint8_t v_isShared_2007_; uint8_t v_isSharedCheck_2016_; +v_a_2004_ = lean_ctor_get(v___x_2003_, 0); +v_isSharedCheck_2016_ = !lean_is_exclusive(v___x_2003_); +if (v_isSharedCheck_2016_ == 0) { -v___x_1757_ = v___x_1754_; -v_isShared_1758_ = v_isSharedCheck_1767_; -goto v_resetjp_1756_; +v___x_2006_ = v___x_2003_; +v_isShared_2007_ = v_isSharedCheck_2016_; +goto v_resetjp_2005_; } else { -lean_inc(v_a_1755_); -lean_dec(v___x_1754_); -v___x_1757_ = lean_box(0); -v_isShared_1758_ = v_isSharedCheck_1767_; -goto v_resetjp_1756_; +lean_inc(v_a_2004_); +lean_dec(v___x_2003_); +v___x_2006_ = lean_box(0); +v_isShared_2007_ = v_isSharedCheck_2016_; +goto v_resetjp_2005_; } -v_resetjp_1756_: +v_resetjp_2005_: { -lean_object* v___x_1759_; lean_object* v___x_1760_; lean_object* v___x_1761_; lean_object* v___x_1762_; lean_object* v___x_1763_; lean_object* v___x_1765_; -v___x_1759_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5)); -v___x_1760_ = l_Std_Format_defWidth; -v___x_1761_ = lean_unsigned_to_nat(0u); -v___x_1762_ = l_Std_Format_pretty(v_a_1755_, v___x_1760_, v___x_1761_, v___x_1761_); -v___x_1763_ = lean_string_append(v___x_1759_, v___x_1762_); -lean_dec_ref(v___x_1762_); -if (v_isShared_1758_ == 0) +lean_object* v___x_2008_; lean_object* v___x_2009_; lean_object* v___x_2010_; lean_object* v___x_2011_; lean_object* v___x_2012_; lean_object* v___x_2014_; +v___x_2008_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__5)); +v___x_2009_ = l_Std_Format_defWidth; +v___x_2010_ = lean_unsigned_to_nat(0u); +v___x_2011_ = l_Std_Format_pretty(v_a_2004_, v___x_2009_, v___x_2010_, v___x_2010_); +v___x_2012_ = lean_string_append(v___x_2008_, v___x_2011_); +lean_dec_ref(v___x_2011_); +if (v_isShared_2007_ == 0) { -lean_ctor_set(v___x_1757_, 0, v___x_1763_); -v___x_1765_ = v___x_1757_; -goto v_reusejp_1764_; +lean_ctor_set(v___x_2006_, 0, v___x_2012_); +v___x_2014_ = v___x_2006_; +goto v_reusejp_2013_; } else { -lean_object* v_reuseFailAlloc_1766_; -v_reuseFailAlloc_1766_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1766_, 0, v___x_1763_); -v___x_1765_ = v_reuseFailAlloc_1766_; -goto v_reusejp_1764_; +lean_object* v_reuseFailAlloc_2015_; +v_reuseFailAlloc_2015_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2015_, 0, v___x_2012_); +v___x_2014_ = v_reuseFailAlloc_2015_; +goto v_reusejp_2013_; } -v_reusejp_1764_: +v_reusejp_2013_: { -return v___x_1765_; +return v___x_2014_; } } } else { -lean_object* v_a_1768_; lean_object* v___x_1770_; uint8_t v_isShared_1771_; uint8_t v_isSharedCheck_1775_; -v_a_1768_ = lean_ctor_get(v___x_1754_, 0); -v_isSharedCheck_1775_ = !lean_is_exclusive(v___x_1754_); -if (v_isSharedCheck_1775_ == 0) +lean_object* v_a_2017_; lean_object* v___x_2019_; uint8_t v_isShared_2020_; uint8_t v_isSharedCheck_2024_; +v_a_2017_ = lean_ctor_get(v___x_2003_, 0); +v_isSharedCheck_2024_ = !lean_is_exclusive(v___x_2003_); +if (v_isSharedCheck_2024_ == 0) { -v___x_1770_ = v___x_1754_; -v_isShared_1771_ = v_isSharedCheck_1775_; -goto v_resetjp_1769_; +v___x_2019_ = v___x_2003_; +v_isShared_2020_ = v_isSharedCheck_2024_; +goto v_resetjp_2018_; } else { -lean_inc(v_a_1768_); -lean_dec(v___x_1754_); -v___x_1770_ = lean_box(0); -v_isShared_1771_ = v_isSharedCheck_1775_; -goto v_resetjp_1769_; +lean_inc(v_a_2017_); +lean_dec(v___x_2003_); +v___x_2019_ = lean_box(0); +v_isShared_2020_ = v_isSharedCheck_2024_; +goto v_resetjp_2018_; } -v_resetjp_1769_: +v_resetjp_2018_: { -lean_object* v___x_1773_; -if (v_isShared_1771_ == 0) +lean_object* v___x_2022_; +if (v_isShared_2020_ == 0) { -v___x_1773_ = v___x_1770_; -goto v_reusejp_1772_; +v___x_2022_ = v___x_2019_; +goto v_reusejp_2021_; } else { -lean_object* v_reuseFailAlloc_1774_; -v_reuseFailAlloc_1774_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1774_, 0, v_a_1768_); -v___x_1773_ = v_reuseFailAlloc_1774_; -goto v_reusejp_1772_; +lean_object* v_reuseFailAlloc_2023_; +v_reuseFailAlloc_2023_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2023_, 0, v_a_2017_); +v___x_2022_ = v_reuseFailAlloc_2023_; +goto v_reusejp_2021_; } -v_reusejp_1772_: +v_reusejp_2021_: { -return v___x_1773_; +return v___x_2022_; } } } } case 6: { -lean_object* v_resultFVar_1776_; lean_object* v___x_1777_; -v_resultFVar_1776_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1776_); -lean_dec_ref(v_reason_1631_); -v___x_1777_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1776_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1777_) == 0) +lean_object* v_resultFVar_2025_; lean_object* v___x_2026_; +v_resultFVar_2025_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_2025_); +lean_dec_ref(v_reason_1880_); +v___x_2026_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_2025_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2026_) == 0) { -lean_object* v_a_1778_; lean_object* v___x_1780_; uint8_t v_isShared_1781_; uint8_t v_isSharedCheck_1790_; -v_a_1778_ = lean_ctor_get(v___x_1777_, 0); -v_isSharedCheck_1790_ = !lean_is_exclusive(v___x_1777_); -if (v_isSharedCheck_1790_ == 0) +lean_object* v_a_2027_; lean_object* v___x_2029_; uint8_t v_isShared_2030_; uint8_t v_isSharedCheck_2039_; +v_a_2027_ = lean_ctor_get(v___x_2026_, 0); +v_isSharedCheck_2039_ = !lean_is_exclusive(v___x_2026_); +if (v_isSharedCheck_2039_ == 0) { -v___x_1780_ = v___x_1777_; -v_isShared_1781_ = v_isSharedCheck_1790_; -goto v_resetjp_1779_; +v___x_2029_ = v___x_2026_; +v_isShared_2030_ = v_isSharedCheck_2039_; +goto v_resetjp_2028_; } else { -lean_inc(v_a_1778_); -lean_dec(v___x_1777_); -v___x_1780_ = lean_box(0); -v_isShared_1781_ = v_isSharedCheck_1790_; -goto v_resetjp_1779_; +lean_inc(v_a_2027_); +lean_dec(v___x_2026_); +v___x_2029_ = lean_box(0); +v_isShared_2030_ = v_isSharedCheck_2039_; +goto v_resetjp_2028_; } -v_resetjp_1779_: +v_resetjp_2028_: { -lean_object* v___x_1782_; lean_object* v___x_1783_; lean_object* v___x_1784_; lean_object* v___x_1785_; lean_object* v___x_1786_; lean_object* v___x_1788_; -v___x_1782_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6)); -v___x_1783_ = l_Std_Format_defWidth; -v___x_1784_ = lean_unsigned_to_nat(0u); -v___x_1785_ = l_Std_Format_pretty(v_a_1778_, v___x_1783_, v___x_1784_, v___x_1784_); -v___x_1786_ = lean_string_append(v___x_1782_, v___x_1785_); -lean_dec_ref(v___x_1785_); -if (v_isShared_1781_ == 0) +lean_object* v___x_2031_; lean_object* v___x_2032_; lean_object* v___x_2033_; lean_object* v___x_2034_; lean_object* v___x_2035_; lean_object* v___x_2037_; +v___x_2031_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__6)); +v___x_2032_ = l_Std_Format_defWidth; +v___x_2033_ = lean_unsigned_to_nat(0u); +v___x_2034_ = l_Std_Format_pretty(v_a_2027_, v___x_2032_, v___x_2033_, v___x_2033_); +v___x_2035_ = lean_string_append(v___x_2031_, v___x_2034_); +lean_dec_ref(v___x_2034_); +if (v_isShared_2030_ == 0) { -lean_ctor_set(v___x_1780_, 0, v___x_1786_); -v___x_1788_ = v___x_1780_; -goto v_reusejp_1787_; +lean_ctor_set(v___x_2029_, 0, v___x_2035_); +v___x_2037_ = v___x_2029_; +goto v_reusejp_2036_; } else { -lean_object* v_reuseFailAlloc_1789_; -v_reuseFailAlloc_1789_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1789_, 0, v___x_1786_); -v___x_1788_ = v_reuseFailAlloc_1789_; -goto v_reusejp_1787_; +lean_object* v_reuseFailAlloc_2038_; +v_reuseFailAlloc_2038_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2038_, 0, v___x_2035_); +v___x_2037_ = v_reuseFailAlloc_2038_; +goto v_reusejp_2036_; } -v_reusejp_1787_: +v_reusejp_2036_: { -return v___x_1788_; +return v___x_2037_; } } } else { -lean_object* v_a_1791_; lean_object* v___x_1793_; uint8_t v_isShared_1794_; uint8_t v_isSharedCheck_1798_; -v_a_1791_ = lean_ctor_get(v___x_1777_, 0); -v_isSharedCheck_1798_ = !lean_is_exclusive(v___x_1777_); -if (v_isSharedCheck_1798_ == 0) +lean_object* v_a_2040_; lean_object* v___x_2042_; uint8_t v_isShared_2043_; uint8_t v_isSharedCheck_2047_; +v_a_2040_ = lean_ctor_get(v___x_2026_, 0); +v_isSharedCheck_2047_ = !lean_is_exclusive(v___x_2026_); +if (v_isSharedCheck_2047_ == 0) { -v___x_1793_ = v___x_1777_; -v_isShared_1794_ = v_isSharedCheck_1798_; -goto v_resetjp_1792_; +v___x_2042_ = v___x_2026_; +v_isShared_2043_ = v_isSharedCheck_2047_; +goto v_resetjp_2041_; } else { -lean_inc(v_a_1791_); -lean_dec(v___x_1777_); -v___x_1793_ = lean_box(0); -v_isShared_1794_ = v_isSharedCheck_1798_; -goto v_resetjp_1792_; +lean_inc(v_a_2040_); +lean_dec(v___x_2026_); +v___x_2042_ = lean_box(0); +v_isShared_2043_ = v_isSharedCheck_2047_; +goto v_resetjp_2041_; } -v_resetjp_1792_: +v_resetjp_2041_: { -lean_object* v___x_1796_; -if (v_isShared_1794_ == 0) +lean_object* v___x_2045_; +if (v_isShared_2043_ == 0) { -v___x_1796_ = v___x_1793_; -goto v_reusejp_1795_; +v___x_2045_ = v___x_2042_; +goto v_reusejp_2044_; } else { -lean_object* v_reuseFailAlloc_1797_; -v_reuseFailAlloc_1797_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1797_, 0, v_a_1791_); -v___x_1796_ = v_reuseFailAlloc_1797_; -goto v_reusejp_1795_; +lean_object* v_reuseFailAlloc_2046_; +v_reuseFailAlloc_2046_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2046_, 0, v_a_2040_); +v___x_2045_ = v_reuseFailAlloc_2046_; +goto v_reusejp_2044_; } -v_reusejp_1795_: +v_reusejp_2044_: { -return v___x_1796_; +return v___x_2045_; } } } } case 7: { -lean_object* v_resultFVar_1799_; lean_object* v___x_1800_; -v_resultFVar_1799_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_resultFVar_1799_); -lean_dec_ref(v_reason_1631_); -v___x_1800_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_1799_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1800_) == 0) +lean_object* v_resultFVar_2048_; lean_object* v___x_2049_; +v_resultFVar_2048_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_2048_); +lean_dec_ref(v_reason_1880_); +v___x_2049_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_2048_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2049_) == 0) { -lean_object* v_a_1801_; lean_object* v___x_1803_; uint8_t v_isShared_1804_; uint8_t v_isSharedCheck_1813_; -v_a_1801_ = lean_ctor_get(v___x_1800_, 0); -v_isSharedCheck_1813_ = !lean_is_exclusive(v___x_1800_); -if (v_isSharedCheck_1813_ == 0) +lean_object* v_a_2050_; lean_object* v___x_2052_; uint8_t v_isShared_2053_; uint8_t v_isSharedCheck_2062_; +v_a_2050_ = lean_ctor_get(v___x_2049_, 0); +v_isSharedCheck_2062_ = !lean_is_exclusive(v___x_2049_); +if (v_isSharedCheck_2062_ == 0) { -v___x_1803_ = v___x_1800_; -v_isShared_1804_ = v_isSharedCheck_1813_; -goto v_resetjp_1802_; +v___x_2052_ = v___x_2049_; +v_isShared_2053_ = v_isSharedCheck_2062_; +goto v_resetjp_2051_; } else { -lean_inc(v_a_1801_); -lean_dec(v___x_1800_); -v___x_1803_ = lean_box(0); -v_isShared_1804_ = v_isSharedCheck_1813_; -goto v_resetjp_1802_; +lean_inc(v_a_2050_); +lean_dec(v___x_2049_); +v___x_2052_ = lean_box(0); +v_isShared_2053_ = v_isSharedCheck_2062_; +goto v_resetjp_2051_; } -v_resetjp_1802_: +v_resetjp_2051_: { -lean_object* v___x_1805_; lean_object* v___x_1806_; lean_object* v___x_1807_; lean_object* v___x_1808_; lean_object* v___x_1809_; lean_object* v___x_1811_; -v___x_1805_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7)); -v___x_1806_ = l_Std_Format_defWidth; -v___x_1807_ = lean_unsigned_to_nat(0u); -v___x_1808_ = l_Std_Format_pretty(v_a_1801_, v___x_1806_, v___x_1807_, v___x_1807_); -v___x_1809_ = lean_string_append(v___x_1805_, v___x_1808_); -lean_dec_ref(v___x_1808_); -if (v_isShared_1804_ == 0) +lean_object* v___x_2054_; lean_object* v___x_2055_; lean_object* v___x_2056_; lean_object* v___x_2057_; lean_object* v___x_2058_; lean_object* v___x_2060_; +v___x_2054_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__7)); +v___x_2055_ = l_Std_Format_defWidth; +v___x_2056_ = lean_unsigned_to_nat(0u); +v___x_2057_ = l_Std_Format_pretty(v_a_2050_, v___x_2055_, v___x_2056_, v___x_2056_); +v___x_2058_ = lean_string_append(v___x_2054_, v___x_2057_); +lean_dec_ref(v___x_2057_); +if (v_isShared_2053_ == 0) { -lean_ctor_set(v___x_1803_, 0, v___x_1809_); -v___x_1811_ = v___x_1803_; -goto v_reusejp_1810_; +lean_ctor_set(v___x_2052_, 0, v___x_2058_); +v___x_2060_ = v___x_2052_; +goto v_reusejp_2059_; } else { -lean_object* v_reuseFailAlloc_1812_; -v_reuseFailAlloc_1812_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1812_, 0, v___x_1809_); -v___x_1811_ = v_reuseFailAlloc_1812_; -goto v_reusejp_1810_; +lean_object* v_reuseFailAlloc_2061_; +v_reuseFailAlloc_2061_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2061_, 0, v___x_2058_); +v___x_2060_ = v_reuseFailAlloc_2061_; +goto v_reusejp_2059_; } -v_reusejp_1810_: +v_reusejp_2059_: { -return v___x_1811_; +return v___x_2060_; } } } else { -lean_object* v_a_1814_; lean_object* v___x_1816_; uint8_t v_isShared_1817_; uint8_t v_isSharedCheck_1821_; -v_a_1814_ = lean_ctor_get(v___x_1800_, 0); -v_isSharedCheck_1821_ = !lean_is_exclusive(v___x_1800_); -if (v_isSharedCheck_1821_ == 0) +lean_object* v_a_2063_; lean_object* v___x_2065_; uint8_t v_isShared_2066_; uint8_t v_isSharedCheck_2070_; +v_a_2063_ = lean_ctor_get(v___x_2049_, 0); +v_isSharedCheck_2070_ = !lean_is_exclusive(v___x_2049_); +if (v_isSharedCheck_2070_ == 0) { -v___x_1816_ = v___x_1800_; -v_isShared_1817_ = v_isSharedCheck_1821_; -goto v_resetjp_1815_; +v___x_2065_ = v___x_2049_; +v_isShared_2066_ = v_isSharedCheck_2070_; +goto v_resetjp_2064_; } else { -lean_inc(v_a_1814_); -lean_dec(v___x_1800_); -v___x_1816_ = lean_box(0); -v_isShared_1817_ = v_isSharedCheck_1821_; -goto v_resetjp_1815_; +lean_inc(v_a_2063_); +lean_dec(v___x_2049_); +v___x_2065_ = lean_box(0); +v_isShared_2066_ = v_isSharedCheck_2070_; +goto v_resetjp_2064_; } -v_resetjp_1815_: +v_resetjp_2064_: { -lean_object* v___x_1819_; -if (v_isShared_1817_ == 0) +lean_object* v___x_2068_; +if (v_isShared_2066_ == 0) { -v___x_1819_ = v___x_1816_; -goto v_reusejp_1818_; +v___x_2068_ = v___x_2065_; +goto v_reusejp_2067_; } else { -lean_object* v_reuseFailAlloc_1820_; -v_reuseFailAlloc_1820_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1820_, 0, v_a_1814_); -v___x_1819_ = v_reuseFailAlloc_1820_; -goto v_reusejp_1818_; +lean_object* v_reuseFailAlloc_2069_; +v_reuseFailAlloc_2069_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2069_, 0, v_a_2063_); +v___x_2068_ = v_reuseFailAlloc_2069_; +goto v_reusejp_2067_; } -v_reusejp_1818_: +v_reusejp_2067_: { -return v___x_1819_; +return v___x_2068_; } } } } case 8: { -lean_object* v_funcName_1822_; lean_object* v___x_1824_; uint8_t v_isShared_1825_; uint8_t v_isSharedCheck_1833_; -v_funcName_1822_ = lean_ctor_get(v_reason_1631_, 0); -v_isSharedCheck_1833_ = !lean_is_exclusive(v_reason_1631_); -if (v_isSharedCheck_1833_ == 0) +lean_object* v_resultFVar_2071_; lean_object* v___x_2072_; +v_resultFVar_2071_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_resultFVar_2071_); +lean_dec_ref(v_reason_1880_); +v___x_2072_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_resultFVar_2071_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2072_) == 0) { -v___x_1824_ = v_reason_1631_; -v_isShared_1825_ = v_isSharedCheck_1833_; -goto v_resetjp_1823_; +lean_object* v_a_2073_; lean_object* v___x_2075_; uint8_t v_isShared_2076_; uint8_t v_isSharedCheck_2085_; +v_a_2073_ = lean_ctor_get(v___x_2072_, 0); +v_isSharedCheck_2085_ = !lean_is_exclusive(v___x_2072_); +if (v_isSharedCheck_2085_ == 0) +{ +v___x_2075_ = v___x_2072_; +v_isShared_2076_ = v_isSharedCheck_2085_; +goto v_resetjp_2074_; } else { -lean_inc(v_funcName_1822_); -lean_dec(v_reason_1631_); -v___x_1824_ = lean_box(0); -v_isShared_1825_ = v_isSharedCheck_1833_; -goto v_resetjp_1823_; +lean_inc(v_a_2073_); +lean_dec(v___x_2072_); +v___x_2075_ = lean_box(0); +v_isShared_2076_ = v_isSharedCheck_2085_; +goto v_resetjp_2074_; } -v_resetjp_1823_: +v_resetjp_2074_: { -lean_object* v___x_1826_; uint8_t v___x_1827_; lean_object* v___x_1828_; lean_object* v___x_1829_; lean_object* v___x_1831_; -v___x_1826_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8)); -v___x_1827_ = 1; -v___x_1828_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v_funcName_1822_, v___x_1827_); -v___x_1829_ = lean_string_append(v___x_1826_, v___x_1828_); -lean_dec_ref(v___x_1828_); -if (v_isShared_1825_ == 0) +lean_object* v___x_2077_; lean_object* v___x_2078_; lean_object* v___x_2079_; lean_object* v___x_2080_; lean_object* v___x_2081_; lean_object* v___x_2083_; +v___x_2077_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__8)); +v___x_2078_ = l_Std_Format_defWidth; +v___x_2079_ = lean_unsigned_to_nat(0u); +v___x_2080_ = l_Std_Format_pretty(v_a_2073_, v___x_2078_, v___x_2079_, v___x_2079_); +v___x_2081_ = lean_string_append(v___x_2077_, v___x_2080_); +lean_dec_ref(v___x_2080_); +if (v_isShared_2076_ == 0) { -lean_ctor_set_tag(v___x_1824_, 0); -lean_ctor_set(v___x_1824_, 0, v___x_1829_); -v___x_1831_ = v___x_1824_; -goto v_reusejp_1830_; +lean_ctor_set(v___x_2075_, 0, v___x_2081_); +v___x_2083_ = v___x_2075_; +goto v_reusejp_2082_; } else { -lean_object* v_reuseFailAlloc_1832_; -v_reuseFailAlloc_1832_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1832_, 0, v___x_1829_); -v___x_1831_ = v_reuseFailAlloc_1832_; -goto v_reusejp_1830_; +lean_object* v_reuseFailAlloc_2084_; +v_reuseFailAlloc_2084_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2084_, 0, v___x_2081_); +v___x_2083_ = v_reuseFailAlloc_2084_; +goto v_reusejp_2082_; } -v_reusejp_1830_: +v_reusejp_2082_: { -return v___x_1831_; +return v___x_2083_; +} +} +} +else +{ +lean_object* v_a_2086_; lean_object* v___x_2088_; uint8_t v_isShared_2089_; uint8_t v_isSharedCheck_2093_; +v_a_2086_ = lean_ctor_get(v___x_2072_, 0); +v_isSharedCheck_2093_ = !lean_is_exclusive(v___x_2072_); +if (v_isSharedCheck_2093_ == 0) +{ +v___x_2088_ = v___x_2072_; +v_isShared_2089_ = v_isSharedCheck_2093_; +goto v_resetjp_2087_; +} +else +{ +lean_inc(v_a_2086_); +lean_dec(v___x_2072_); +v___x_2088_ = lean_box(0); +v_isShared_2089_ = v_isSharedCheck_2093_; +goto v_resetjp_2087_; +} +v_resetjp_2087_: +{ +lean_object* v___x_2091_; +if (v_isShared_2089_ == 0) +{ +v___x_2091_ = v___x_2088_; +goto v_reusejp_2090_; +} +else +{ +lean_object* v_reuseFailAlloc_2092_; +v_reuseFailAlloc_2092_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2092_, 0, v_a_2086_); +v___x_2091_ = v_reuseFailAlloc_2092_; +goto v_reusejp_2090_; +} +v_reusejp_2090_: +{ +return v___x_2091_; +} } } } case 9: { -lean_object* v_jpFVar_1834_; lean_object* v___x_1835_; -v_jpFVar_1834_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_jpFVar_1834_); -lean_dec_ref(v_reason_1631_); -v___x_1835_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_jpFVar_1834_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1835_) == 0) +lean_object* v_funcName_2094_; lean_object* v___x_2096_; uint8_t v_isShared_2097_; uint8_t v_isSharedCheck_2105_; +v_funcName_2094_ = lean_ctor_get(v_reason_1880_, 0); +v_isSharedCheck_2105_ = !lean_is_exclusive(v_reason_1880_); +if (v_isSharedCheck_2105_ == 0) { -lean_object* v_a_1836_; lean_object* v___x_1838_; uint8_t v_isShared_1839_; uint8_t v_isSharedCheck_1848_; -v_a_1836_ = lean_ctor_get(v___x_1835_, 0); -v_isSharedCheck_1848_ = !lean_is_exclusive(v___x_1835_); -if (v_isSharedCheck_1848_ == 0) -{ -v___x_1838_ = v___x_1835_; -v_isShared_1839_ = v_isSharedCheck_1848_; -goto v_resetjp_1837_; +v___x_2096_ = v_reason_1880_; +v_isShared_2097_ = v_isSharedCheck_2105_; +goto v_resetjp_2095_; } else { -lean_inc(v_a_1836_); -lean_dec(v___x_1835_); -v___x_1838_ = lean_box(0); -v_isShared_1839_ = v_isSharedCheck_1848_; -goto v_resetjp_1837_; +lean_inc(v_funcName_2094_); +lean_dec(v_reason_1880_); +v___x_2096_ = lean_box(0); +v_isShared_2097_ = v_isSharedCheck_2105_; +goto v_resetjp_2095_; } -v_resetjp_1837_: +v_resetjp_2095_: { -lean_object* v___x_1840_; lean_object* v___x_1841_; lean_object* v___x_1842_; lean_object* v___x_1843_; lean_object* v___x_1844_; lean_object* v___x_1846_; -v___x_1840_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9)); -v___x_1841_ = l_Std_Format_defWidth; -v___x_1842_ = lean_unsigned_to_nat(0u); -v___x_1843_ = l_Std_Format_pretty(v_a_1836_, v___x_1841_, v___x_1842_, v___x_1842_); -v___x_1844_ = lean_string_append(v___x_1840_, v___x_1843_); -lean_dec_ref(v___x_1843_); -if (v_isShared_1839_ == 0) +lean_object* v___x_2098_; uint8_t v___x_2099_; lean_object* v___x_2100_; lean_object* v___x_2101_; lean_object* v___x_2103_; +v___x_2098_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__9)); +v___x_2099_ = 1; +v___x_2100_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v_funcName_2094_, v___x_2099_); +v___x_2101_ = lean_string_append(v___x_2098_, v___x_2100_); +lean_dec_ref(v___x_2100_); +if (v_isShared_2097_ == 0) { -lean_ctor_set(v___x_1838_, 0, v___x_1844_); -v___x_1846_ = v___x_1838_; -goto v_reusejp_1845_; +lean_ctor_set_tag(v___x_2096_, 0); +lean_ctor_set(v___x_2096_, 0, v___x_2101_); +v___x_2103_ = v___x_2096_; +goto v_reusejp_2102_; } else { -lean_object* v_reuseFailAlloc_1847_; -v_reuseFailAlloc_1847_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1847_, 0, v___x_1844_); -v___x_1846_ = v_reuseFailAlloc_1847_; -goto v_reusejp_1845_; +lean_object* v_reuseFailAlloc_2104_; +v_reuseFailAlloc_2104_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2104_, 0, v___x_2101_); +v___x_2103_ = v_reuseFailAlloc_2104_; +goto v_reusejp_2102_; } -v_reusejp_1845_: +v_reusejp_2102_: { -return v___x_1846_; +return v___x_2103_; +} +} +} +case 10: +{ +lean_object* v_jpFVar_2106_; lean_object* v___x_2107_; +v_jpFVar_2106_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_jpFVar_2106_); +lean_dec_ref(v_reason_1880_); +v___x_2107_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_jpFVar_2106_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2107_) == 0) +{ +lean_object* v_a_2108_; lean_object* v___x_2110_; uint8_t v_isShared_2111_; uint8_t v_isSharedCheck_2120_; +v_a_2108_ = lean_ctor_get(v___x_2107_, 0); +v_isSharedCheck_2120_ = !lean_is_exclusive(v___x_2107_); +if (v_isSharedCheck_2120_ == 0) +{ +v___x_2110_ = v___x_2107_; +v_isShared_2111_ = v_isSharedCheck_2120_; +goto v_resetjp_2109_; +} +else +{ +lean_inc(v_a_2108_); +lean_dec(v___x_2107_); +v___x_2110_ = lean_box(0); +v_isShared_2111_ = v_isSharedCheck_2120_; +goto v_resetjp_2109_; +} +v_resetjp_2109_: +{ +lean_object* v___x_2112_; lean_object* v___x_2113_; lean_object* v___x_2114_; lean_object* v___x_2115_; lean_object* v___x_2116_; lean_object* v___x_2118_; +v___x_2112_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10)); +v___x_2113_ = l_Std_Format_defWidth; +v___x_2114_ = lean_unsigned_to_nat(0u); +v___x_2115_ = l_Std_Format_pretty(v_a_2108_, v___x_2113_, v___x_2114_, v___x_2114_); +v___x_2116_ = lean_string_append(v___x_2112_, v___x_2115_); +lean_dec_ref(v___x_2115_); +if (v_isShared_2111_ == 0) +{ +lean_ctor_set(v___x_2110_, 0, v___x_2116_); +v___x_2118_ = v___x_2110_; +goto v_reusejp_2117_; +} +else +{ +lean_object* v_reuseFailAlloc_2119_; +v_reuseFailAlloc_2119_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2119_, 0, v___x_2116_); +v___x_2118_ = v_reuseFailAlloc_2119_; +goto v_reusejp_2117_; +} +v_reusejp_2117_: +{ +return v___x_2118_; } } } else { -lean_object* v_a_1849_; lean_object* v___x_1851_; uint8_t v_isShared_1852_; uint8_t v_isSharedCheck_1856_; -v_a_1849_ = lean_ctor_get(v___x_1835_, 0); -v_isSharedCheck_1856_ = !lean_is_exclusive(v___x_1835_); -if (v_isSharedCheck_1856_ == 0) +lean_object* v_a_2121_; lean_object* v___x_2123_; uint8_t v_isShared_2124_; uint8_t v_isSharedCheck_2128_; +v_a_2121_ = lean_ctor_get(v___x_2107_, 0); +v_isSharedCheck_2128_ = !lean_is_exclusive(v___x_2107_); +if (v_isSharedCheck_2128_ == 0) { -v___x_1851_ = v___x_1835_; -v_isShared_1852_ = v_isSharedCheck_1856_; -goto v_resetjp_1850_; +v___x_2123_ = v___x_2107_; +v_isShared_2124_ = v_isSharedCheck_2128_; +goto v_resetjp_2122_; } else { -lean_inc(v_a_1849_); -lean_dec(v___x_1835_); -v___x_1851_ = lean_box(0); -v_isShared_1852_ = v_isSharedCheck_1856_; -goto v_resetjp_1850_; +lean_inc(v_a_2121_); +lean_dec(v___x_2107_); +v___x_2123_ = lean_box(0); +v_isShared_2124_ = v_isSharedCheck_2128_; +goto v_resetjp_2122_; } -v_resetjp_1850_: +v_resetjp_2122_: { -lean_object* v___x_1854_; -if (v_isShared_1852_ == 0) +lean_object* v___x_2126_; +if (v_isShared_2124_ == 0) { -v___x_1854_ = v___x_1851_; -goto v_reusejp_1853_; +v___x_2126_ = v___x_2123_; +goto v_reusejp_2125_; } else { -lean_object* v_reuseFailAlloc_1855_; -v_reuseFailAlloc_1855_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1855_, 0, v_a_1849_); -v___x_1854_ = v_reuseFailAlloc_1855_; -goto v_reusejp_1853_; +lean_object* v_reuseFailAlloc_2127_; +v_reuseFailAlloc_2127_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2127_, 0, v_a_2121_); +v___x_2126_ = v_reuseFailAlloc_2127_; +goto v_reusejp_2125_; } -v_reusejp_1853_: +v_reusejp_2125_: { -return v___x_1854_; +return v___x_2126_; } } } } default: { -lean_object* v_jpFVar_1857_; lean_object* v___x_1858_; -v_jpFVar_1857_ = lean_ctor_get(v_reason_1631_, 0); -lean_inc(v_jpFVar_1857_); -lean_dec_ref(v_reason_1631_); -v___x_1858_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_jpFVar_1857_, v___y_1633_, v___y_1634_, v___y_1635_, v___y_1636_); -if (lean_obj_tag(v___x_1858_) == 0) +lean_object* v_jpFVar_2129_; lean_object* v___x_2130_; +v_jpFVar_2129_ = lean_ctor_get(v_reason_1880_, 0); +lean_inc(v_jpFVar_2129_); +lean_dec_ref(v_reason_1880_); +v___x_2130_ = l_Lean_Compiler_LCNF_PP_ppFVar___redArg(v_jpFVar_2129_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); +if (lean_obj_tag(v___x_2130_) == 0) { -lean_object* v_a_1859_; lean_object* v___x_1861_; uint8_t v_isShared_1862_; uint8_t v_isSharedCheck_1871_; -v_a_1859_ = lean_ctor_get(v___x_1858_, 0); -v_isSharedCheck_1871_ = !lean_is_exclusive(v___x_1858_); -if (v_isSharedCheck_1871_ == 0) +lean_object* v_a_2131_; lean_object* v___x_2133_; uint8_t v_isShared_2134_; uint8_t v_isSharedCheck_2143_; +v_a_2131_ = lean_ctor_get(v___x_2130_, 0); +v_isSharedCheck_2143_ = !lean_is_exclusive(v___x_2130_); +if (v_isSharedCheck_2143_ == 0) { -v___x_1861_ = v___x_1858_; -v_isShared_1862_ = v_isSharedCheck_1871_; -goto v_resetjp_1860_; +v___x_2133_ = v___x_2130_; +v_isShared_2134_ = v_isSharedCheck_2143_; +goto v_resetjp_2132_; } else { -lean_inc(v_a_1859_); -lean_dec(v___x_1858_); -v___x_1861_ = lean_box(0); -v_isShared_1862_ = v_isSharedCheck_1871_; -goto v_resetjp_1860_; +lean_inc(v_a_2131_); +lean_dec(v___x_2130_); +v___x_2133_ = lean_box(0); +v_isShared_2134_ = v_isSharedCheck_2143_; +goto v_resetjp_2132_; } -v_resetjp_1860_: +v_resetjp_2132_: { -lean_object* v___x_1863_; lean_object* v___x_1864_; lean_object* v___x_1865_; lean_object* v___x_1866_; lean_object* v___x_1867_; lean_object* v___x_1869_; -v___x_1863_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__10)); -v___x_1864_ = l_Std_Format_defWidth; -v___x_1865_ = lean_unsigned_to_nat(0u); -v___x_1866_ = l_Std_Format_pretty(v_a_1859_, v___x_1864_, v___x_1865_, v___x_1865_); -v___x_1867_ = lean_string_append(v___x_1863_, v___x_1866_); -lean_dec_ref(v___x_1866_); -if (v_isShared_1862_ == 0) +lean_object* v___x_2135_; lean_object* v___x_2136_; lean_object* v___x_2137_; lean_object* v___x_2138_; lean_object* v___x_2139_; lean_object* v___x_2141_; +v___x_2135_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___closed__11)); +v___x_2136_ = l_Std_Format_defWidth; +v___x_2137_ = lean_unsigned_to_nat(0u); +v___x_2138_ = l_Std_Format_pretty(v_a_2131_, v___x_2136_, v___x_2137_, v___x_2137_); +v___x_2139_ = lean_string_append(v___x_2135_, v___x_2138_); +lean_dec_ref(v___x_2138_); +if (v_isShared_2134_ == 0) { -lean_ctor_set(v___x_1861_, 0, v___x_1867_); -v___x_1869_ = v___x_1861_; -goto v_reusejp_1868_; +lean_ctor_set(v___x_2133_, 0, v___x_2139_); +v___x_2141_ = v___x_2133_; +goto v_reusejp_2140_; } else { -lean_object* v_reuseFailAlloc_1870_; -v_reuseFailAlloc_1870_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1870_, 0, v___x_1867_); -v___x_1869_ = v_reuseFailAlloc_1870_; -goto v_reusejp_1868_; +lean_object* v_reuseFailAlloc_2142_; +v_reuseFailAlloc_2142_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2142_, 0, v___x_2139_); +v___x_2141_ = v_reuseFailAlloc_2142_; +goto v_reusejp_2140_; } -v_reusejp_1868_: +v_reusejp_2140_: { -return v___x_1869_; +return v___x_2141_; } } } else { -lean_object* v_a_1872_; lean_object* v___x_1874_; uint8_t v_isShared_1875_; uint8_t v_isSharedCheck_1879_; -v_a_1872_ = lean_ctor_get(v___x_1858_, 0); -v_isSharedCheck_1879_ = !lean_is_exclusive(v___x_1858_); -if (v_isSharedCheck_1879_ == 0) +lean_object* v_a_2144_; lean_object* v___x_2146_; uint8_t v_isShared_2147_; uint8_t v_isSharedCheck_2151_; +v_a_2144_ = lean_ctor_get(v___x_2130_, 0); +v_isSharedCheck_2151_ = !lean_is_exclusive(v___x_2130_); +if (v_isSharedCheck_2151_ == 0) { -v___x_1874_ = v___x_1858_; -v_isShared_1875_ = v_isSharedCheck_1879_; -goto v_resetjp_1873_; +v___x_2146_ = v___x_2130_; +v_isShared_2147_ = v_isSharedCheck_2151_; +goto v_resetjp_2145_; } else { -lean_inc(v_a_1872_); -lean_dec(v___x_1858_); -v___x_1874_ = lean_box(0); -v_isShared_1875_ = v_isSharedCheck_1879_; -goto v_resetjp_1873_; +lean_inc(v_a_2144_); +lean_dec(v___x_2130_); +v___x_2146_ = lean_box(0); +v_isShared_2147_ = v_isSharedCheck_2151_; +goto v_resetjp_2145_; } -v_resetjp_1873_: +v_resetjp_2145_: { -lean_object* v___x_1877_; -if (v_isShared_1875_ == 0) +lean_object* v___x_2149_; +if (v_isShared_2147_ == 0) { -v___x_1877_ = v___x_1874_; -goto v_reusejp_1876_; +v___x_2149_ = v___x_2146_; +goto v_reusejp_2148_; } else { -lean_object* v_reuseFailAlloc_1878_; -v_reuseFailAlloc_1878_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1878_, 0, v_a_1872_); -v___x_1877_ = v_reuseFailAlloc_1878_; -goto v_reusejp_1876_; +lean_object* v_reuseFailAlloc_2150_; +v_reuseFailAlloc_2150_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2150_, 0, v_a_2144_); +v___x_2149_ = v_reuseFailAlloc_2150_; +goto v_reusejp_2148_; } -v_reusejp_1876_: +v_reusejp_2148_: { -return v___x_1877_; +return v___x_2149_; } } } @@ -6543,332 +7455,335 @@ return v___x_1877_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___boxed(lean_object* v_reason_1880_, lean_object* v___y_1881_, lean_object* v___y_1882_, lean_object* v___y_1883_, lean_object* v___y_1884_, lean_object* v___y_1885_, lean_object* v___y_1886_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___boxed(lean_object* v_reason_2152_, lean_object* v___y_2153_, lean_object* v___y_2154_, lean_object* v___y_2155_, lean_object* v___y_2156_, lean_object* v___y_2157_, lean_object* v___y_2158_){ _start: { -lean_object* v_res_1887_; -v_res_1887_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0(v_reason_1880_, v___y_1881_, v___y_1882_, v___y_1883_, v___y_1884_, v___y_1885_); -lean_dec(v___y_1885_); -lean_dec_ref(v___y_1884_); -lean_dec(v___y_1883_); -lean_dec_ref(v___y_1882_); -lean_dec_ref(v___y_1881_); -return v_res_1887_; +lean_object* v_res_2159_; +v_res_2159_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0(v_reason_2152_, v___y_2153_, v___y_2154_, v___y_2155_, v___y_2156_, v___y_2157_); +lean_dec(v___y_2157_); +lean_dec_ref(v___y_2156_); +lean_dec(v___y_2155_); +lean_dec_ref(v___y_2154_); +lean_dec_ref(v___y_2153_); +return v_res_2159_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(lean_object* v_reason_1888_, lean_object* v_a_1889_, lean_object* v_a_1890_, lean_object* v_a_1891_, lean_object* v_a_1892_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(lean_object* v_reason_2160_, lean_object* v_a_2161_, lean_object* v_a_2162_, lean_object* v_a_2163_, lean_object* v_a_2164_){ _start: { -lean_object* v___y_1894_; lean_object* v___x_1895_; -v___y_1894_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___boxed), 7, 1); -lean_closure_set(v___y_1894_, 0, v_reason_1888_); -v___x_1895_ = l_Lean_Compiler_LCNF_PP_run___redArg(v___y_1894_, v_a_1889_, v_a_1890_, v_a_1891_, v_a_1892_); -return v___x_1895_; +lean_object* v___y_2166_; lean_object* v___x_2167_; +v___y_2166_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___lam__0___boxed), 7, 1); +lean_closure_set(v___y_2166_, 0, v_reason_2160_); +v___x_2167_ = l_Lean_Compiler_LCNF_PP_run___redArg(v___y_2166_, v_a_2161_, v_a_2162_, v_a_2163_, v_a_2164_); +return v___x_2167_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___boxed(lean_object* v_reason_1896_, lean_object* v_a_1897_, lean_object* v_a_1898_, lean_object* v_a_1899_, lean_object* v_a_1900_, lean_object* v_a_1901_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString___boxed(lean_object* v_reason_2168_, lean_object* v_a_2169_, lean_object* v_a_2170_, lean_object* v_a_2171_, lean_object* v_a_2172_, lean_object* v_a_2173_){ _start: { -lean_object* v_res_1902_; -v_res_1902_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(v_reason_1896_, v_a_1897_, v_a_1898_, v_a_1899_, v_a_1900_); -return v_res_1902_; +lean_object* v_res_2174_; +v_res_2174_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(v_reason_2168_, v_a_2169_, v_a_2170_, v_a_2171_, v_a_2172_); +return v_res_2174_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(lean_object* v_a_1903_, lean_object* v_x_1904_){ +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced(lean_object* v_reason_2175_){ _start: { -if (lean_obj_tag(v_x_1904_) == 0) +switch(lean_obj_tag(v_reason_2175_)) { -uint8_t v___x_1905_; -v___x_1905_ = 0; -return v___x_1905_; +case 2: +{ +uint8_t v___x_2176_; +v___x_2176_ = 0; +return v___x_2176_; +} +case 4: +{ +uint8_t v___x_2177_; +v___x_2177_ = 0; +return v___x_2177_; +} +case 6: +{ +uint8_t v___x_2178_; +v___x_2178_ = 0; +return v___x_2178_; +} +case 7: +{ +uint8_t v___x_2179_; +v___x_2179_ = 0; +return v___x_2179_; +} +case 8: +{ +uint8_t v___x_2180_; +v___x_2180_ = 0; +return v___x_2180_; +} +case 10: +{ +uint8_t v___x_2181_; +v___x_2181_ = 0; +return v___x_2181_; +} +default: +{ +uint8_t v___x_2182_; +v___x_2182_ = 1; +return v___x_2182_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced___boxed(lean_object* v_reason_2183_){ +_start: +{ +uint8_t v_res_2184_; lean_object* v_r_2185_; +v_res_2184_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced(v_reason_2183_); +lean_dec_ref(v_reason_2183_); +v_r_2185_ = lean_box(v_res_2184_); +return v_r_2185_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(lean_object* v_m_2186_, lean_object* v_a_2187_){ +_start: +{ +lean_object* v_buckets_2188_; lean_object* v___x_2189_; uint64_t v___x_2190_; uint64_t v___x_2191_; uint64_t v___x_2192_; uint64_t v_fold_2193_; uint64_t v___x_2194_; uint64_t v___x_2195_; uint64_t v___x_2196_; size_t v___x_2197_; size_t v___x_2198_; size_t v___x_2199_; size_t v___x_2200_; size_t v___x_2201_; lean_object* v___x_2202_; uint8_t v___x_2203_; +v_buckets_2188_ = lean_ctor_get(v_m_2186_, 1); +v___x_2189_ = lean_array_get_size(v_buckets_2188_); +v___x_2190_ = l_Lean_instHashableFVarId_hash(v_a_2187_); +v___x_2191_ = 32ULL; +v___x_2192_ = lean_uint64_shift_right(v___x_2190_, v___x_2191_); +v_fold_2193_ = lean_uint64_xor(v___x_2190_, v___x_2192_); +v___x_2194_ = 16ULL; +v___x_2195_ = lean_uint64_shift_right(v_fold_2193_, v___x_2194_); +v___x_2196_ = lean_uint64_xor(v_fold_2193_, v___x_2195_); +v___x_2197_ = lean_uint64_to_usize(v___x_2196_); +v___x_2198_ = lean_usize_of_nat(v___x_2189_); +v___x_2199_ = ((size_t)1ULL); +v___x_2200_ = lean_usize_sub(v___x_2198_, v___x_2199_); +v___x_2201_ = lean_usize_land(v___x_2197_, v___x_2200_); +v___x_2202_ = lean_array_uget_borrowed(v_buckets_2188_, v___x_2201_); +v___x_2203_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0_spec__0___redArg(v_a_2187_, v___x_2202_); +return v___x_2203_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg___boxed(lean_object* v_m_2204_, lean_object* v_a_2205_){ +_start: +{ +uint8_t v_res_2206_; lean_object* v_r_2207_; +v_res_2206_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_m_2204_, v_a_2205_); +lean_dec(v_a_2205_); +lean_dec_ref(v_m_2204_); +v_r_2207_ = lean_box(v_res_2206_); +return v_r_2207_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(lean_object* v_fvarId_2208_, lean_object* v_a_2209_){ +_start: +{ +lean_object* v___x_2211_; lean_object* v_owned_2212_; uint8_t v___x_2213_; lean_object* v___x_2214_; lean_object* v___x_2215_; +v___x_2211_ = lean_st_ref_get(v_a_2209_); +v_owned_2212_ = lean_ctor_get(v___x_2211_, 0); +lean_inc_ref(v_owned_2212_); +lean_dec(v___x_2211_); +v___x_2213_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_owned_2212_, v_fvarId_2208_); +lean_dec_ref(v_owned_2212_); +v___x_2214_ = lean_box(v___x_2213_); +v___x_2215_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2215_, 0, v___x_2214_); +return v___x_2215_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg___boxed(lean_object* v_fvarId_2216_, lean_object* v_a_2217_, lean_object* v_a_2218_){ +_start: +{ +lean_object* v_res_2219_; +v_res_2219_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_2216_, v_a_2217_); +lean_dec(v_a_2217_); +lean_dec(v_fvarId_2216_); +return v_res_2219_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned(lean_object* v_fvarId_2220_, lean_object* v_a_2221_, lean_object* v_a_2222_, lean_object* v_a_2223_, lean_object* v_a_2224_, lean_object* v_a_2225_, lean_object* v_a_2226_){ +_start: +{ +lean_object* v___x_2228_; +v___x_2228_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_2220_, v_a_2222_); +return v___x_2228_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___boxed(lean_object* v_fvarId_2229_, lean_object* v_a_2230_, lean_object* v_a_2231_, lean_object* v_a_2232_, lean_object* v_a_2233_, lean_object* v_a_2234_, lean_object* v_a_2235_, lean_object* v_a_2236_){ +_start: +{ +lean_object* v_res_2237_; +v_res_2237_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned(v_fvarId_2229_, v_a_2230_, v_a_2231_, v_a_2232_, v_a_2233_, v_a_2234_, v_a_2235_); +lean_dec(v_a_2235_); +lean_dec_ref(v_a_2234_); +lean_dec(v_a_2233_); +lean_dec_ref(v_a_2232_); +lean_dec(v_a_2231_); +lean_dec_ref(v_a_2230_); +lean_dec(v_fvarId_2229_); +return v_res_2237_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0(lean_object* v_00_u03b2_2238_, lean_object* v_m_2239_, lean_object* v_a_2240_){ +_start: +{ +uint8_t v___x_2241_; +v___x_2241_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_m_2239_, v_a_2240_); +return v___x_2241_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___boxed(lean_object* v_00_u03b2_2242_, lean_object* v_m_2243_, lean_object* v_a_2244_){ +_start: +{ +uint8_t v_res_2245_; lean_object* v_r_2246_; +v_res_2245_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0(v_00_u03b2_2242_, v_m_2243_, v_a_2244_); +lean_dec(v_a_2244_); +lean_dec_ref(v_m_2243_); +v_r_2246_ = lean_box(v_res_2245_); +return v_r_2246_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(size_t v_sz_2247_, size_t v_i_2248_, lean_object* v_bs_2249_, lean_object* v___y_2250_){ +_start: +{ +uint8_t v___x_2252_; +v___x_2252_ = lean_usize_dec_lt(v_i_2248_, v_sz_2247_); +if (v___x_2252_ == 0) +{ +lean_object* v___x_2253_; +v___x_2253_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2253_, 0, v_bs_2249_); +return v___x_2253_; } else { -lean_object* v_key_1906_; lean_object* v_tail_1907_; uint8_t v___x_1908_; -v_key_1906_ = lean_ctor_get(v_x_1904_, 0); -v_tail_1907_ = lean_ctor_get(v_x_1904_, 2); -v___x_1908_ = l_Lean_instBEqFVarId_beq(v_key_1906_, v_a_1903_); -if (v___x_1908_ == 0) +lean_object* v_v_2254_; lean_object* v_fvarId_2255_; lean_object* v_binderName_2256_; lean_object* v_type_2257_; uint8_t v_borrow_2258_; lean_object* v___x_2259_; lean_object* v_bs_x27_2260_; lean_object* v_a_2262_; +v_v_2254_ = lean_array_uget(v_bs_2249_, v_i_2248_); +v_fvarId_2255_ = lean_ctor_get(v_v_2254_, 0); +v_binderName_2256_ = lean_ctor_get(v_v_2254_, 1); +v_type_2257_ = lean_ctor_get(v_v_2254_, 2); +v_borrow_2258_ = lean_ctor_get_uint8(v_v_2254_, sizeof(void*)*3); +v___x_2259_ = lean_unsigned_to_nat(0u); +v_bs_x27_2260_ = lean_array_uset(v_bs_2249_, v_i_2248_, v___x_2259_); +if (v_borrow_2258_ == 0) { -v_x_1904_ = v_tail_1907_; -goto _start; +v_a_2262_ = v_v_2254_; +goto v___jp_2261_; } else { -return v___x_1908_; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg___boxed(lean_object* v_a_1910_, lean_object* v_x_1911_){ -_start: +lean_object* v___x_2267_; +v___x_2267_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_2255_, v___y_2250_); +if (lean_obj_tag(v___x_2267_) == 0) { -uint8_t v_res_1912_; lean_object* v_r_1913_; -v_res_1912_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(v_a_1910_, v_x_1911_); -lean_dec(v_x_1911_); -lean_dec(v_a_1910_); -v_r_1913_ = lean_box(v_res_1912_); -return v_r_1913_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(lean_object* v_m_1914_, lean_object* v_a_1915_){ -_start: +lean_object* v_a_2268_; uint8_t v___x_2269_; +v_a_2268_ = lean_ctor_get(v___x_2267_, 0); +lean_inc(v_a_2268_); +lean_dec_ref(v___x_2267_); +v___x_2269_ = lean_unbox(v_a_2268_); +lean_dec(v_a_2268_); +if (v___x_2269_ == 0) { -lean_object* v_buckets_1916_; lean_object* v___x_1917_; uint64_t v___x_1918_; uint64_t v___x_1919_; uint64_t v___x_1920_; uint64_t v_fold_1921_; uint64_t v___x_1922_; uint64_t v___x_1923_; uint64_t v___x_1924_; size_t v___x_1925_; size_t v___x_1926_; size_t v___x_1927_; size_t v___x_1928_; size_t v___x_1929_; lean_object* v___x_1930_; uint8_t v___x_1931_; -v_buckets_1916_ = lean_ctor_get(v_m_1914_, 1); -v___x_1917_ = lean_array_get_size(v_buckets_1916_); -v___x_1918_ = l_Lean_instHashableFVarId_hash(v_a_1915_); -v___x_1919_ = 32ULL; -v___x_1920_ = lean_uint64_shift_right(v___x_1918_, v___x_1919_); -v_fold_1921_ = lean_uint64_xor(v___x_1918_, v___x_1920_); -v___x_1922_ = 16ULL; -v___x_1923_ = lean_uint64_shift_right(v_fold_1921_, v___x_1922_); -v___x_1924_ = lean_uint64_xor(v_fold_1921_, v___x_1923_); -v___x_1925_ = lean_uint64_to_usize(v___x_1924_); -v___x_1926_ = lean_usize_of_nat(v___x_1917_); -v___x_1927_ = ((size_t)1ULL); -v___x_1928_ = lean_usize_sub(v___x_1926_, v___x_1927_); -v___x_1929_ = lean_usize_land(v___x_1925_, v___x_1928_); -v___x_1930_ = lean_array_uget_borrowed(v_buckets_1916_, v___x_1929_); -v___x_1931_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(v_a_1915_, v___x_1930_); -return v___x_1931_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg___boxed(lean_object* v_m_1932_, lean_object* v_a_1933_){ -_start: -{ -uint8_t v_res_1934_; lean_object* v_r_1935_; -v_res_1934_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_m_1932_, v_a_1933_); -lean_dec(v_a_1933_); -lean_dec_ref(v_m_1932_); -v_r_1935_ = lean_box(v_res_1934_); -return v_r_1935_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(lean_object* v_fvarId_1936_, lean_object* v_a_1937_){ -_start: -{ -lean_object* v___x_1939_; lean_object* v_owned_1940_; uint8_t v___x_1941_; lean_object* v___x_1942_; lean_object* v___x_1943_; -v___x_1939_ = lean_st_ref_get(v_a_1937_); -v_owned_1940_ = lean_ctor_get(v___x_1939_, 0); -lean_inc_ref(v_owned_1940_); -lean_dec(v___x_1939_); -v___x_1941_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_owned_1940_, v_fvarId_1936_); -lean_dec_ref(v_owned_1940_); -v___x_1942_ = lean_box(v___x_1941_); -v___x_1943_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1943_, 0, v___x_1942_); -return v___x_1943_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg___boxed(lean_object* v_fvarId_1944_, lean_object* v_a_1945_, lean_object* v_a_1946_){ -_start: -{ -lean_object* v_res_1947_; -v_res_1947_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_1944_, v_a_1945_); -lean_dec(v_a_1945_); -lean_dec(v_fvarId_1944_); -return v_res_1947_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned(lean_object* v_fvarId_1948_, lean_object* v_a_1949_, lean_object* v_a_1950_, lean_object* v_a_1951_, lean_object* v_a_1952_, lean_object* v_a_1953_, lean_object* v_a_1954_){ -_start: -{ -lean_object* v___x_1956_; -v___x_1956_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_1948_, v_a_1950_); -return v___x_1956_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___boxed(lean_object* v_fvarId_1957_, lean_object* v_a_1958_, lean_object* v_a_1959_, lean_object* v_a_1960_, lean_object* v_a_1961_, lean_object* v_a_1962_, lean_object* v_a_1963_, lean_object* v_a_1964_){ -_start: -{ -lean_object* v_res_1965_; -v_res_1965_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned(v_fvarId_1957_, v_a_1958_, v_a_1959_, v_a_1960_, v_a_1961_, v_a_1962_, v_a_1963_); -lean_dec(v_a_1963_); -lean_dec_ref(v_a_1962_); -lean_dec(v_a_1961_); -lean_dec_ref(v_a_1960_); -lean_dec(v_a_1959_); -lean_dec_ref(v_a_1958_); -lean_dec(v_fvarId_1957_); -return v_res_1965_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0(lean_object* v_00_u03b2_1966_, lean_object* v_m_1967_, lean_object* v_a_1968_){ -_start: -{ -uint8_t v___x_1969_; -v___x_1969_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_m_1967_, v_a_1968_); -return v___x_1969_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___boxed(lean_object* v_00_u03b2_1970_, lean_object* v_m_1971_, lean_object* v_a_1972_){ -_start: -{ -uint8_t v_res_1973_; lean_object* v_r_1974_; -v_res_1973_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0(v_00_u03b2_1970_, v_m_1971_, v_a_1972_); -lean_dec(v_a_1972_); -lean_dec_ref(v_m_1971_); -v_r_1974_ = lean_box(v_res_1973_); -return v_r_1974_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0(lean_object* v_00_u03b2_1975_, lean_object* v_a_1976_, lean_object* v_x_1977_){ -_start: -{ -uint8_t v___x_1978_; -v___x_1978_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(v_a_1976_, v_x_1977_); -return v___x_1978_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1979_, lean_object* v_a_1980_, lean_object* v_x_1981_){ -_start: -{ -uint8_t v_res_1982_; lean_object* v_r_1983_; -v_res_1982_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0(v_00_u03b2_1979_, v_a_1980_, v_x_1981_); -lean_dec(v_x_1981_); -lean_dec(v_a_1980_); -v_r_1983_ = lean_box(v_res_1982_); -return v_r_1983_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(size_t v_sz_1984_, size_t v_i_1985_, lean_object* v_bs_1986_, lean_object* v___y_1987_){ -_start: -{ -uint8_t v___x_1989_; -v___x_1989_ = lean_usize_dec_lt(v_i_1985_, v_sz_1984_); -if (v___x_1989_ == 0) -{ -lean_object* v___x_1990_; -v___x_1990_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1990_, 0, v_bs_1986_); -return v___x_1990_; +v_a_2262_ = v_v_2254_; +goto v___jp_2261_; } else { -lean_object* v_v_1991_; lean_object* v_fvarId_1992_; lean_object* v_binderName_1993_; lean_object* v_type_1994_; uint8_t v_borrow_1995_; lean_object* v___x_1996_; lean_object* v_bs_x27_1997_; lean_object* v_a_1999_; -v_v_1991_ = lean_array_uget(v_bs_1986_, v_i_1985_); -v_fvarId_1992_ = lean_ctor_get(v_v_1991_, 0); -v_binderName_1993_ = lean_ctor_get(v_v_1991_, 1); -v_type_1994_ = lean_ctor_get(v_v_1991_, 2); -v_borrow_1995_ = lean_ctor_get_uint8(v_v_1991_, sizeof(void*)*3); -v___x_1996_ = lean_unsigned_to_nat(0u); -v_bs_x27_1997_ = lean_array_uset(v_bs_1986_, v_i_1985_, v___x_1996_); -if (v_borrow_1995_ == 0) +lean_object* v___x_2271_; uint8_t v_isShared_2272_; uint8_t v_isSharedCheck_2288_; +lean_inc_ref(v_type_2257_); +lean_inc(v_binderName_2256_); +lean_inc(v_fvarId_2255_); +v_isSharedCheck_2288_ = !lean_is_exclusive(v_v_2254_); +if (v_isSharedCheck_2288_ == 0) { -v_a_1999_ = v_v_1991_; -goto v___jp_1998_; +lean_object* v_unused_2289_; lean_object* v_unused_2290_; lean_object* v_unused_2291_; +v_unused_2289_ = lean_ctor_get(v_v_2254_, 2); +lean_dec(v_unused_2289_); +v_unused_2290_ = lean_ctor_get(v_v_2254_, 1); +lean_dec(v_unused_2290_); +v_unused_2291_ = lean_ctor_get(v_v_2254_, 0); +lean_dec(v_unused_2291_); +v___x_2271_ = v_v_2254_; +v_isShared_2272_ = v_isSharedCheck_2288_; +goto v_resetjp_2270_; } else { -lean_object* v___x_2004_; -v___x_2004_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_1992_, v___y_1987_); -if (lean_obj_tag(v___x_2004_) == 0) +lean_dec(v_v_2254_); +v___x_2271_ = lean_box(0); +v_isShared_2272_ = v_isSharedCheck_2288_; +goto v_resetjp_2270_; +} +v_resetjp_2270_: { -lean_object* v_a_2005_; uint8_t v___x_2006_; -v_a_2005_ = lean_ctor_get(v___x_2004_, 0); -lean_inc(v_a_2005_); -lean_dec_ref(v___x_2004_); -v___x_2006_ = lean_unbox(v_a_2005_); -lean_dec(v_a_2005_); -if (v___x_2006_ == 0) +lean_object* v___x_2273_; lean_object* v_owned_2274_; lean_object* v_paramMap_2275_; lean_object* v___x_2277_; uint8_t v_isShared_2278_; uint8_t v_isSharedCheck_2287_; +v___x_2273_ = lean_st_ref_take(v___y_2250_); +v_owned_2274_ = lean_ctor_get(v___x_2273_, 0); +v_paramMap_2275_ = lean_ctor_get(v___x_2273_, 1); +v_isSharedCheck_2287_ = !lean_is_exclusive(v___x_2273_); +if (v_isSharedCheck_2287_ == 0) { -v_a_1999_ = v_v_1991_; -goto v___jp_1998_; +v___x_2277_ = v___x_2273_; +v_isShared_2278_ = v_isSharedCheck_2287_; +goto v_resetjp_2276_; } else { -lean_object* v___x_2008_; uint8_t v_isShared_2009_; uint8_t v_isSharedCheck_2025_; -lean_inc_ref(v_type_1994_); -lean_inc(v_binderName_1993_); -lean_inc(v_fvarId_1992_); -v_isSharedCheck_2025_ = !lean_is_exclusive(v_v_1991_); -if (v_isSharedCheck_2025_ == 0) +lean_inc(v_paramMap_2275_); +lean_inc(v_owned_2274_); +lean_dec(v___x_2273_); +v___x_2277_ = lean_box(0); +v_isShared_2278_ = v_isSharedCheck_2287_; +goto v_resetjp_2276_; +} +v_resetjp_2276_: { -lean_object* v_unused_2026_; lean_object* v_unused_2027_; lean_object* v_unused_2028_; -v_unused_2026_ = lean_ctor_get(v_v_1991_, 2); -lean_dec(v_unused_2026_); -v_unused_2027_ = lean_ctor_get(v_v_1991_, 1); -lean_dec(v_unused_2027_); -v_unused_2028_ = lean_ctor_get(v_v_1991_, 0); -lean_dec(v_unused_2028_); -v___x_2008_ = v_v_1991_; -v_isShared_2009_ = v_isSharedCheck_2025_; -goto v_resetjp_2007_; +lean_object* v___x_2280_; +if (v_isShared_2278_ == 0) +{ +v___x_2280_ = v___x_2277_; +goto v_reusejp_2279_; } else { -lean_dec(v_v_1991_); -v___x_2008_ = lean_box(0); -v_isShared_2009_ = v_isSharedCheck_2025_; -goto v_resetjp_2007_; +lean_object* v_reuseFailAlloc_2286_; +v_reuseFailAlloc_2286_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_2286_, 0, v_owned_2274_); +lean_ctor_set(v_reuseFailAlloc_2286_, 1, v_paramMap_2275_); +v___x_2280_ = v_reuseFailAlloc_2286_; +goto v_reusejp_2279_; } -v_resetjp_2007_: +v_reusejp_2279_: { -lean_object* v___x_2010_; lean_object* v_owned_2011_; lean_object* v_paramMap_2012_; lean_object* v___x_2014_; uint8_t v_isShared_2015_; uint8_t v_isSharedCheck_2024_; -v___x_2010_ = lean_st_ref_take(v___y_1987_); -v_owned_2011_ = lean_ctor_get(v___x_2010_, 0); -v_paramMap_2012_ = lean_ctor_get(v___x_2010_, 1); -v_isSharedCheck_2024_ = !lean_is_exclusive(v___x_2010_); -if (v_isSharedCheck_2024_ == 0) +lean_object* v___x_2281_; uint8_t v___x_2282_; lean_object* v___x_2284_; +lean_ctor_set_uint8(v___x_2280_, sizeof(void*)*2, v_borrow_2258_); +v___x_2281_ = lean_st_ref_set(v___y_2250_, v___x_2280_); +v___x_2282_ = 0; +if (v_isShared_2272_ == 0) { -v___x_2014_ = v___x_2010_; -v_isShared_2015_ = v_isSharedCheck_2024_; -goto v_resetjp_2013_; +v___x_2284_ = v___x_2271_; +goto v_reusejp_2283_; } else { -lean_inc(v_paramMap_2012_); -lean_inc(v_owned_2011_); -lean_dec(v___x_2010_); -v___x_2014_ = lean_box(0); -v_isShared_2015_ = v_isSharedCheck_2024_; -goto v_resetjp_2013_; +lean_object* v_reuseFailAlloc_2285_; +v_reuseFailAlloc_2285_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_2285_, 0, v_fvarId_2255_); +lean_ctor_set(v_reuseFailAlloc_2285_, 1, v_binderName_2256_); +lean_ctor_set(v_reuseFailAlloc_2285_, 2, v_type_2257_); +v___x_2284_ = v_reuseFailAlloc_2285_; +goto v_reusejp_2283_; } -v_resetjp_2013_: +v_reusejp_2283_: { -lean_object* v___x_2017_; -if (v_isShared_2015_ == 0) -{ -v___x_2017_ = v___x_2014_; -goto v_reusejp_2016_; -} -else -{ -lean_object* v_reuseFailAlloc_2023_; -v_reuseFailAlloc_2023_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_2023_, 0, v_owned_2011_); -lean_ctor_set(v_reuseFailAlloc_2023_, 1, v_paramMap_2012_); -v___x_2017_ = v_reuseFailAlloc_2023_; -goto v_reusejp_2016_; -} -v_reusejp_2016_: -{ -lean_object* v___x_2018_; uint8_t v___x_2019_; lean_object* v___x_2021_; -lean_ctor_set_uint8(v___x_2017_, sizeof(void*)*2, v_borrow_1995_); -v___x_2018_ = lean_st_ref_set(v___y_1987_, v___x_2017_); -v___x_2019_ = 0; -if (v_isShared_2009_ == 0) -{ -v___x_2021_ = v___x_2008_; -goto v_reusejp_2020_; -} -else -{ -lean_object* v_reuseFailAlloc_2022_; -v_reuseFailAlloc_2022_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_2022_, 0, v_fvarId_1992_); -lean_ctor_set(v_reuseFailAlloc_2022_, 1, v_binderName_1993_); -lean_ctor_set(v_reuseFailAlloc_2022_, 2, v_type_1994_); -v___x_2021_ = v_reuseFailAlloc_2022_; -goto v_reusejp_2020_; -} -v_reusejp_2020_: -{ -lean_ctor_set_uint8(v___x_2021_, sizeof(void*)*3, v___x_2019_); -v_a_1999_ = v___x_2021_; -goto v___jp_1998_; +lean_ctor_set_uint8(v___x_2284_, sizeof(void*)*3, v___x_2282_); +v_a_2262_ = v___x_2284_; +goto v___jp_2261_; } } } @@ -6877,1775 +7792,1052 @@ goto v___jp_1998_; } else { -lean_object* v_a_2029_; lean_object* v___x_2031_; uint8_t v_isShared_2032_; uint8_t v_isSharedCheck_2036_; -lean_dec_ref(v_bs_x27_1997_); -lean_dec(v_v_1991_); -v_a_2029_ = lean_ctor_get(v___x_2004_, 0); -v_isSharedCheck_2036_ = !lean_is_exclusive(v___x_2004_); -if (v_isSharedCheck_2036_ == 0) +lean_object* v_a_2292_; lean_object* v___x_2294_; uint8_t v_isShared_2295_; uint8_t v_isSharedCheck_2299_; +lean_dec_ref(v_bs_x27_2260_); +lean_dec(v_v_2254_); +v_a_2292_ = lean_ctor_get(v___x_2267_, 0); +v_isSharedCheck_2299_ = !lean_is_exclusive(v___x_2267_); +if (v_isSharedCheck_2299_ == 0) { -v___x_2031_ = v___x_2004_; -v_isShared_2032_ = v_isSharedCheck_2036_; -goto v_resetjp_2030_; +v___x_2294_ = v___x_2267_; +v_isShared_2295_ = v_isSharedCheck_2299_; +goto v_resetjp_2293_; } else { -lean_inc(v_a_2029_); -lean_dec(v___x_2004_); -v___x_2031_ = lean_box(0); -v_isShared_2032_ = v_isSharedCheck_2036_; -goto v_resetjp_2030_; +lean_inc(v_a_2292_); +lean_dec(v___x_2267_); +v___x_2294_ = lean_box(0); +v_isShared_2295_ = v_isSharedCheck_2299_; +goto v_resetjp_2293_; } -v_resetjp_2030_: +v_resetjp_2293_: { -lean_object* v___x_2034_; -if (v_isShared_2032_ == 0) +lean_object* v___x_2297_; +if (v_isShared_2295_ == 0) { -v___x_2034_ = v___x_2031_; -goto v_reusejp_2033_; +v___x_2297_ = v___x_2294_; +goto v_reusejp_2296_; } else { -lean_object* v_reuseFailAlloc_2035_; -v_reuseFailAlloc_2035_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2035_, 0, v_a_2029_); -v___x_2034_ = v_reuseFailAlloc_2035_; -goto v_reusejp_2033_; +lean_object* v_reuseFailAlloc_2298_; +v_reuseFailAlloc_2298_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2298_, 0, v_a_2292_); +v___x_2297_ = v_reuseFailAlloc_2298_; +goto v_reusejp_2296_; } -v_reusejp_2033_: +v_reusejp_2296_: { -return v___x_2034_; -} -} -} -} -v___jp_1998_: -{ -size_t v___x_2000_; size_t v___x_2001_; lean_object* v___x_2002_; -v___x_2000_ = ((size_t)1ULL); -v___x_2001_ = lean_usize_add(v_i_1985_, v___x_2000_); -v___x_2002_ = lean_array_uset(v_bs_x27_1997_, v_i_1985_, v_a_1999_); -v_i_1985_ = v___x_2001_; -v_bs_1986_ = v___x_2002_; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg___boxed(lean_object* v_sz_2037_, lean_object* v_i_2038_, lean_object* v_bs_2039_, lean_object* v___y_2040_, lean_object* v___y_2041_){ -_start: -{ -size_t v_sz_boxed_2042_; size_t v_i_boxed_2043_; lean_object* v_res_2044_; -v_sz_boxed_2042_ = lean_unbox_usize(v_sz_2037_); -lean_dec(v_sz_2037_); -v_i_boxed_2043_ = lean_unbox_usize(v_i_2038_); -lean_dec(v_i_2038_); -v_res_2044_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_boxed_2042_, v_i_boxed_2043_, v_bs_2039_, v___y_2040_); -lean_dec(v___y_2040_); -return v_res_2044_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(lean_object* v_a_2045_, lean_object* v_x_2046_){ -_start: -{ -if (lean_obj_tag(v_x_2046_) == 0) -{ -lean_object* v___x_2047_; -v___x_2047_ = lean_box(0); -return v___x_2047_; -} -else -{ -lean_object* v_key_2048_; lean_object* v_value_2049_; lean_object* v_tail_2050_; uint8_t v___x_2051_; -v_key_2048_ = lean_ctor_get(v_x_2046_, 0); -v_value_2049_ = lean_ctor_get(v_x_2046_, 1); -v_tail_2050_ = lean_ctor_get(v_x_2046_, 2); -v___x_2051_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_2048_, v_a_2045_); -if (v___x_2051_ == 0) -{ -v_x_2046_ = v_tail_2050_; -goto _start; -} -else -{ -lean_object* v___x_2053_; -lean_inc(v_value_2049_); -v___x_2053_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2053_, 0, v_value_2049_); -return v___x_2053_; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg___boxed(lean_object* v_a_2054_, lean_object* v_x_2055_){ -_start: -{ -lean_object* v_res_2056_; -v_res_2056_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2054_, v_x_2055_); -lean_dec(v_x_2055_); -lean_dec_ref(v_a_2054_); -return v_res_2056_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(lean_object* v_m_2057_, lean_object* v_a_2058_){ -_start: -{ -lean_object* v_buckets_2059_; lean_object* v___x_2060_; uint64_t v___x_2061_; uint64_t v___x_2062_; uint64_t v___x_2063_; uint64_t v_fold_2064_; uint64_t v___x_2065_; uint64_t v___x_2066_; uint64_t v___x_2067_; size_t v___x_2068_; size_t v___x_2069_; size_t v___x_2070_; size_t v___x_2071_; size_t v___x_2072_; lean_object* v___x_2073_; lean_object* v___x_2074_; -v_buckets_2059_ = lean_ctor_get(v_m_2057_, 1); -v___x_2060_ = lean_array_get_size(v_buckets_2059_); -v___x_2061_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_2058_); -v___x_2062_ = 32ULL; -v___x_2063_ = lean_uint64_shift_right(v___x_2061_, v___x_2062_); -v_fold_2064_ = lean_uint64_xor(v___x_2061_, v___x_2063_); -v___x_2065_ = 16ULL; -v___x_2066_ = lean_uint64_shift_right(v_fold_2064_, v___x_2065_); -v___x_2067_ = lean_uint64_xor(v_fold_2064_, v___x_2066_); -v___x_2068_ = lean_uint64_to_usize(v___x_2067_); -v___x_2069_ = lean_usize_of_nat(v___x_2060_); -v___x_2070_ = ((size_t)1ULL); -v___x_2071_ = lean_usize_sub(v___x_2069_, v___x_2070_); -v___x_2072_ = lean_usize_land(v___x_2068_, v___x_2071_); -v___x_2073_ = lean_array_uget_borrowed(v_buckets_2059_, v___x_2072_); -v___x_2074_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2058_, v___x_2073_); -return v___x_2074_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg___boxed(lean_object* v_m_2075_, lean_object* v_a_2076_){ -_start: -{ -lean_object* v_res_2077_; -v_res_2077_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_m_2075_, v_a_2076_); -lean_dec_ref(v_a_2076_); -lean_dec_ref(v_m_2075_); -return v_res_2077_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(lean_object* v_a_2078_, lean_object* v_x_2079_){ -_start: -{ -if (lean_obj_tag(v_x_2079_) == 0) -{ -return v_x_2079_; -} -else -{ -lean_object* v_key_2080_; lean_object* v_value_2081_; lean_object* v_tail_2082_; lean_object* v___x_2084_; uint8_t v_isShared_2085_; uint8_t v_isSharedCheck_2091_; -v_key_2080_ = lean_ctor_get(v_x_2079_, 0); -v_value_2081_ = lean_ctor_get(v_x_2079_, 1); -v_tail_2082_ = lean_ctor_get(v_x_2079_, 2); -v_isSharedCheck_2091_ = !lean_is_exclusive(v_x_2079_); -if (v_isSharedCheck_2091_ == 0) -{ -v___x_2084_ = v_x_2079_; -v_isShared_2085_ = v_isSharedCheck_2091_; -goto v_resetjp_2083_; -} -else -{ -lean_inc(v_tail_2082_); -lean_inc(v_value_2081_); -lean_inc(v_key_2080_); -lean_dec(v_x_2079_); -v___x_2084_ = lean_box(0); -v_isShared_2085_ = v_isSharedCheck_2091_; -goto v_resetjp_2083_; -} -v_resetjp_2083_: -{ -uint8_t v___x_2086_; -v___x_2086_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_2080_, v_a_2078_); -if (v___x_2086_ == 0) -{ -lean_object* v___x_2087_; lean_object* v___x_2089_; -v___x_2087_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2078_, v_tail_2082_); -if (v_isShared_2085_ == 0) -{ -lean_ctor_set(v___x_2084_, 2, v___x_2087_); -v___x_2089_ = v___x_2084_; -goto v_reusejp_2088_; -} -else -{ -lean_object* v_reuseFailAlloc_2090_; -v_reuseFailAlloc_2090_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_2090_, 0, v_key_2080_); -lean_ctor_set(v_reuseFailAlloc_2090_, 1, v_value_2081_); -lean_ctor_set(v_reuseFailAlloc_2090_, 2, v___x_2087_); -v___x_2089_ = v_reuseFailAlloc_2090_; -goto v_reusejp_2088_; -} -v_reusejp_2088_: -{ -return v___x_2089_; -} -} -else -{ -lean_del_object(v___x_2084_); -lean_dec(v_value_2081_); -lean_dec(v_key_2080_); -return v_tail_2082_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg___boxed(lean_object* v_a_2092_, lean_object* v_x_2093_){ -_start: -{ -lean_object* v_res_2094_; -v_res_2094_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2092_, v_x_2093_); -lean_dec_ref(v_a_2092_); -return v_res_2094_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(lean_object* v_m_2095_, lean_object* v_a_2096_){ -_start: -{ -lean_object* v_size_2097_; lean_object* v_buckets_2098_; lean_object* v___x_2099_; uint64_t v___x_2100_; uint64_t v___x_2101_; uint64_t v___x_2102_; uint64_t v_fold_2103_; uint64_t v___x_2104_; uint64_t v___x_2105_; uint64_t v___x_2106_; size_t v___x_2107_; size_t v___x_2108_; size_t v___x_2109_; size_t v___x_2110_; size_t v___x_2111_; lean_object* v_bkt_2112_; uint8_t v___x_2113_; -v_size_2097_ = lean_ctor_get(v_m_2095_, 0); -v_buckets_2098_ = lean_ctor_get(v_m_2095_, 1); -v___x_2099_ = lean_array_get_size(v_buckets_2098_); -v___x_2100_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_2096_); -v___x_2101_ = 32ULL; -v___x_2102_ = lean_uint64_shift_right(v___x_2100_, v___x_2101_); -v_fold_2103_ = lean_uint64_xor(v___x_2100_, v___x_2102_); -v___x_2104_ = 16ULL; -v___x_2105_ = lean_uint64_shift_right(v_fold_2103_, v___x_2104_); -v___x_2106_ = lean_uint64_xor(v_fold_2103_, v___x_2105_); -v___x_2107_ = lean_uint64_to_usize(v___x_2106_); -v___x_2108_ = lean_usize_of_nat(v___x_2099_); -v___x_2109_ = ((size_t)1ULL); -v___x_2110_ = lean_usize_sub(v___x_2108_, v___x_2109_); -v___x_2111_ = lean_usize_land(v___x_2107_, v___x_2110_); -v_bkt_2112_ = lean_array_uget_borrowed(v_buckets_2098_, v___x_2111_); -v___x_2113_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1_spec__1___redArg(v_a_2096_, v_bkt_2112_); -if (v___x_2113_ == 0) -{ -return v_m_2095_; -} -else -{ -lean_object* v___x_2115_; uint8_t v_isShared_2116_; uint8_t v_isSharedCheck_2126_; -lean_inc(v_bkt_2112_); -lean_inc_ref(v_buckets_2098_); -lean_inc(v_size_2097_); -v_isSharedCheck_2126_ = !lean_is_exclusive(v_m_2095_); -if (v_isSharedCheck_2126_ == 0) -{ -lean_object* v_unused_2127_; lean_object* v_unused_2128_; -v_unused_2127_ = lean_ctor_get(v_m_2095_, 1); -lean_dec(v_unused_2127_); -v_unused_2128_ = lean_ctor_get(v_m_2095_, 0); -lean_dec(v_unused_2128_); -v___x_2115_ = v_m_2095_; -v_isShared_2116_ = v_isSharedCheck_2126_; -goto v_resetjp_2114_; -} -else -{ -lean_dec(v_m_2095_); -v___x_2115_ = lean_box(0); -v_isShared_2116_ = v_isSharedCheck_2126_; -goto v_resetjp_2114_; -} -v_resetjp_2114_: -{ -lean_object* v___x_2117_; lean_object* v_buckets_x27_2118_; lean_object* v___x_2119_; lean_object* v___x_2120_; lean_object* v___x_2121_; lean_object* v___x_2122_; lean_object* v___x_2124_; -v___x_2117_ = lean_box(0); -v_buckets_x27_2118_ = lean_array_uset(v_buckets_2098_, v___x_2111_, v___x_2117_); -v___x_2119_ = lean_unsigned_to_nat(1u); -v___x_2120_ = lean_nat_sub(v_size_2097_, v___x_2119_); -lean_dec(v_size_2097_); -v___x_2121_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2096_, v_bkt_2112_); -v___x_2122_ = lean_array_uset(v_buckets_x27_2118_, v___x_2111_, v___x_2121_); -if (v_isShared_2116_ == 0) -{ -lean_ctor_set(v___x_2115_, 1, v___x_2122_); -lean_ctor_set(v___x_2115_, 0, v___x_2120_); -v___x_2124_ = v___x_2115_; -goto v_reusejp_2123_; -} -else -{ -lean_object* v_reuseFailAlloc_2125_; -v_reuseFailAlloc_2125_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2125_, 0, v___x_2120_); -lean_ctor_set(v_reuseFailAlloc_2125_, 1, v___x_2122_); -v___x_2124_ = v_reuseFailAlloc_2125_; -goto v_reusejp_2123_; -} -v_reusejp_2123_: -{ -return v___x_2124_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg___boxed(lean_object* v_m_2129_, lean_object* v_a_2130_){ -_start: -{ -lean_object* v_res_2131_; -v_res_2131_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_m_2129_, v_a_2130_); -lean_dec_ref(v_a_2130_); -return v_res_2131_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(lean_object* v_k_2132_, lean_object* v_a_2133_, lean_object* v_a_2134_, lean_object* v_a_2135_, lean_object* v_a_2136_, lean_object* v_a_2137_, lean_object* v_a_2138_){ -_start: -{ -lean_object* v___x_2140_; lean_object* v_paramMap_2141_; lean_object* v___x_2142_; -v___x_2140_ = lean_st_ref_get(v_a_2134_); -v_paramMap_2141_ = lean_ctor_get(v___x_2140_, 1); -lean_inc_ref(v_paramMap_2141_); -lean_dec(v___x_2140_); -v___x_2142_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_paramMap_2141_, v_k_2132_); -lean_dec_ref(v_paramMap_2141_); -if (lean_obj_tag(v___x_2142_) == 1) -{ -lean_object* v_val_2143_; lean_object* v___x_2144_; lean_object* v_owned_2145_; uint8_t v_modified_2146_; lean_object* v_paramMap_2147_; lean_object* v___x_2149_; uint8_t v_isShared_2150_; uint8_t v_isSharedCheck_2189_; -v_val_2143_ = lean_ctor_get(v___x_2142_, 0); -lean_inc(v_val_2143_); -lean_dec_ref(v___x_2142_); -v___x_2144_ = lean_st_ref_take(v_a_2134_); -v_owned_2145_ = lean_ctor_get(v___x_2144_, 0); -v_modified_2146_ = lean_ctor_get_uint8(v___x_2144_, sizeof(void*)*2); -v_paramMap_2147_ = lean_ctor_get(v___x_2144_, 1); -v_isSharedCheck_2189_ = !lean_is_exclusive(v___x_2144_); -if (v_isSharedCheck_2189_ == 0) -{ -v___x_2149_ = v___x_2144_; -v_isShared_2150_ = v_isSharedCheck_2189_; -goto v_resetjp_2148_; -} -else -{ -lean_inc(v_paramMap_2147_); -lean_inc(v_owned_2145_); -lean_dec(v___x_2144_); -v___x_2149_ = lean_box(0); -v_isShared_2150_ = v_isSharedCheck_2189_; -goto v_resetjp_2148_; -} -v_resetjp_2148_: -{ -lean_object* v___x_2151_; lean_object* v___x_2153_; -v___x_2151_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_paramMap_2147_, v_k_2132_); -if (v_isShared_2150_ == 0) -{ -lean_ctor_set(v___x_2149_, 1, v___x_2151_); -v___x_2153_ = v___x_2149_; -goto v_reusejp_2152_; -} -else -{ -lean_object* v_reuseFailAlloc_2188_; -v_reuseFailAlloc_2188_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_2188_, 0, v_owned_2145_); -lean_ctor_set(v_reuseFailAlloc_2188_, 1, v___x_2151_); -lean_ctor_set_uint8(v_reuseFailAlloc_2188_, sizeof(void*)*2, v_modified_2146_); -v___x_2153_ = v_reuseFailAlloc_2188_; -goto v_reusejp_2152_; -} -v_reusejp_2152_: -{ -lean_object* v___x_2154_; size_t v_sz_2155_; size_t v___x_2156_; lean_object* v___x_2157_; -v___x_2154_ = lean_st_ref_set(v_a_2134_, v___x_2153_); -v_sz_2155_ = lean_array_size(v_val_2143_); -v___x_2156_ = ((size_t)0ULL); -v___x_2157_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_2155_, v___x_2156_, v_val_2143_, v_a_2134_); -if (lean_obj_tag(v___x_2157_) == 0) -{ -lean_object* v_a_2158_; lean_object* v___x_2160_; uint8_t v_isShared_2161_; uint8_t v_isSharedCheck_2179_; -v_a_2158_ = lean_ctor_get(v___x_2157_, 0); -v_isSharedCheck_2179_ = !lean_is_exclusive(v___x_2157_); -if (v_isSharedCheck_2179_ == 0) -{ -v___x_2160_ = v___x_2157_; -v_isShared_2161_ = v_isSharedCheck_2179_; -goto v_resetjp_2159_; -} -else -{ -lean_inc(v_a_2158_); -lean_dec(v___x_2157_); -v___x_2160_ = lean_box(0); -v_isShared_2161_ = v_isSharedCheck_2179_; -goto v_resetjp_2159_; -} -v_resetjp_2159_: -{ -lean_object* v___x_2162_; lean_object* v_owned_2163_; uint8_t v_modified_2164_; lean_object* v_paramMap_2165_; lean_object* v___x_2167_; uint8_t v_isShared_2168_; uint8_t v_isSharedCheck_2178_; -v___x_2162_ = lean_st_ref_take(v_a_2134_); -v_owned_2163_ = lean_ctor_get(v___x_2162_, 0); -v_modified_2164_ = lean_ctor_get_uint8(v___x_2162_, sizeof(void*)*2); -v_paramMap_2165_ = lean_ctor_get(v___x_2162_, 1); -v_isSharedCheck_2178_ = !lean_is_exclusive(v___x_2162_); -if (v_isSharedCheck_2178_ == 0) -{ -v___x_2167_ = v___x_2162_; -v_isShared_2168_ = v_isSharedCheck_2178_; -goto v_resetjp_2166_; -} -else -{ -lean_inc(v_paramMap_2165_); -lean_inc(v_owned_2163_); -lean_dec(v___x_2162_); -v___x_2167_ = lean_box(0); -v_isShared_2168_ = v_isSharedCheck_2178_; -goto v_resetjp_2166_; -} -v_resetjp_2166_: -{ -lean_object* v___x_2169_; lean_object* v___x_2171_; -v___x_2169_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__1___redArg(v_paramMap_2165_, v_k_2132_, v_a_2158_); -if (v_isShared_2168_ == 0) -{ -lean_ctor_set(v___x_2167_, 1, v___x_2169_); -v___x_2171_ = v___x_2167_; -goto v_reusejp_2170_; -} -else -{ -lean_object* v_reuseFailAlloc_2177_; -v_reuseFailAlloc_2177_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_2177_, 0, v_owned_2163_); -lean_ctor_set(v_reuseFailAlloc_2177_, 1, v___x_2169_); -lean_ctor_set_uint8(v_reuseFailAlloc_2177_, sizeof(void*)*2, v_modified_2164_); -v___x_2171_ = v_reuseFailAlloc_2177_; -goto v_reusejp_2170_; -} -v_reusejp_2170_: -{ -lean_object* v___x_2172_; lean_object* v___x_2173_; lean_object* v___x_2175_; -v___x_2172_ = lean_st_ref_set(v_a_2134_, v___x_2171_); -v___x_2173_ = lean_box(0); -if (v_isShared_2161_ == 0) -{ -lean_ctor_set(v___x_2160_, 0, v___x_2173_); -v___x_2175_ = v___x_2160_; -goto v_reusejp_2174_; -} -else -{ -lean_object* v_reuseFailAlloc_2176_; -v_reuseFailAlloc_2176_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2176_, 0, v___x_2173_); -v___x_2175_ = v_reuseFailAlloc_2176_; -goto v_reusejp_2174_; -} -v_reusejp_2174_: -{ -return v___x_2175_; -} -} -} -} -} -else -{ -lean_object* v_a_2180_; lean_object* v___x_2182_; uint8_t v_isShared_2183_; uint8_t v_isSharedCheck_2187_; -lean_dec_ref(v_k_2132_); -v_a_2180_ = lean_ctor_get(v___x_2157_, 0); -v_isSharedCheck_2187_ = !lean_is_exclusive(v___x_2157_); -if (v_isSharedCheck_2187_ == 0) -{ -v___x_2182_ = v___x_2157_; -v_isShared_2183_ = v_isSharedCheck_2187_; -goto v_resetjp_2181_; -} -else -{ -lean_inc(v_a_2180_); -lean_dec(v___x_2157_); -v___x_2182_ = lean_box(0); -v_isShared_2183_ = v_isSharedCheck_2187_; -goto v_resetjp_2181_; -} -v_resetjp_2181_: -{ -lean_object* v___x_2185_; -if (v_isShared_2183_ == 0) -{ -v___x_2185_ = v___x_2182_; -goto v_reusejp_2184_; -} -else -{ -lean_object* v_reuseFailAlloc_2186_; -v_reuseFailAlloc_2186_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2186_, 0, v_a_2180_); -v___x_2185_ = v_reuseFailAlloc_2186_; -goto v_reusejp_2184_; -} -v_reusejp_2184_: -{ -return v___x_2185_; -} -} -} -} -} -} -else -{ -lean_object* v___x_2190_; lean_object* v___x_2191_; -lean_dec(v___x_2142_); -lean_dec_ref(v_k_2132_); -v___x_2190_ = lean_box(0); -v___x_2191_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2191_, 0, v___x_2190_); -return v___x_2191_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap___boxed(lean_object* v_k_2192_, lean_object* v_a_2193_, lean_object* v_a_2194_, lean_object* v_a_2195_, lean_object* v_a_2196_, lean_object* v_a_2197_, lean_object* v_a_2198_, lean_object* v_a_2199_){ -_start: -{ -lean_object* v_res_2200_; -v_res_2200_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v_k_2192_, v_a_2193_, v_a_2194_, v_a_2195_, v_a_2196_, v_a_2197_, v_a_2198_); -lean_dec(v_a_2198_); -lean_dec_ref(v_a_2197_); -lean_dec(v_a_2196_); -lean_dec_ref(v_a_2195_); -lean_dec(v_a_2194_); -lean_dec_ref(v_a_2193_); -return v_res_2200_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0(lean_object* v_00_u03b2_2201_, lean_object* v_m_2202_, lean_object* v_a_2203_){ -_start: -{ -lean_object* v___x_2204_; -v___x_2204_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_m_2202_, v_a_2203_); -return v___x_2204_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___boxed(lean_object* v_00_u03b2_2205_, lean_object* v_m_2206_, lean_object* v_a_2207_){ -_start: -{ -lean_object* v_res_2208_; -v_res_2208_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0(v_00_u03b2_2205_, v_m_2206_, v_a_2207_); -lean_dec_ref(v_a_2207_); -lean_dec_ref(v_m_2206_); -return v_res_2208_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1(lean_object* v_00_u03b2_2209_, lean_object* v_m_2210_, lean_object* v_a_2211_){ -_start: -{ -lean_object* v___x_2212_; -v___x_2212_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_m_2210_, v_a_2211_); -return v___x_2212_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___boxed(lean_object* v_00_u03b2_2213_, lean_object* v_m_2214_, lean_object* v_a_2215_){ -_start: -{ -lean_object* v_res_2216_; -v_res_2216_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1(v_00_u03b2_2213_, v_m_2214_, v_a_2215_); -lean_dec_ref(v_a_2215_); -return v_res_2216_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2(size_t v_sz_2217_, size_t v_i_2218_, lean_object* v_bs_2219_, lean_object* v___y_2220_, lean_object* v___y_2221_, lean_object* v___y_2222_, lean_object* v___y_2223_, lean_object* v___y_2224_, lean_object* v___y_2225_){ -_start: -{ -lean_object* v___x_2227_; -v___x_2227_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_2217_, v_i_2218_, v_bs_2219_, v___y_2221_); -return v___x_2227_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___boxed(lean_object* v_sz_2228_, lean_object* v_i_2229_, lean_object* v_bs_2230_, lean_object* v___y_2231_, lean_object* v___y_2232_, lean_object* v___y_2233_, lean_object* v___y_2234_, lean_object* v___y_2235_, lean_object* v___y_2236_, lean_object* v___y_2237_){ -_start: -{ -size_t v_sz_boxed_2238_; size_t v_i_boxed_2239_; lean_object* v_res_2240_; -v_sz_boxed_2238_ = lean_unbox_usize(v_sz_2228_); -lean_dec(v_sz_2228_); -v_i_boxed_2239_ = lean_unbox_usize(v_i_2229_); -lean_dec(v_i_2229_); -v_res_2240_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2(v_sz_boxed_2238_, v_i_boxed_2239_, v_bs_2230_, v___y_2231_, v___y_2232_, v___y_2233_, v___y_2234_, v___y_2235_, v___y_2236_); -lean_dec(v___y_2236_); -lean_dec_ref(v___y_2235_); -lean_dec(v___y_2234_); -lean_dec_ref(v___y_2233_); -lean_dec(v___y_2232_); -lean_dec_ref(v___y_2231_); -return v_res_2240_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0(lean_object* v_00_u03b2_2241_, lean_object* v_a_2242_, lean_object* v_x_2243_){ -_start: -{ -lean_object* v___x_2244_; -v___x_2244_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2242_, v_x_2243_); -return v___x_2244_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___boxed(lean_object* v_00_u03b2_2245_, lean_object* v_a_2246_, lean_object* v_x_2247_){ -_start: -{ -lean_object* v_res_2248_; -v_res_2248_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0(v_00_u03b2_2245_, v_a_2246_, v_x_2247_); -lean_dec(v_x_2247_); -lean_dec_ref(v_a_2246_); -return v_res_2248_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2(lean_object* v_00_u03b2_2249_, lean_object* v_a_2250_, lean_object* v_x_2251_){ -_start: -{ -lean_object* v___x_2252_; -v___x_2252_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2250_, v_x_2251_); -return v___x_2252_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___boxed(lean_object* v_00_u03b2_2253_, lean_object* v_a_2254_, lean_object* v_x_2255_){ -_start: -{ -lean_object* v_res_2256_; -v_res_2256_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2(v_00_u03b2_2253_, v_a_2254_, v_x_2255_); -lean_dec_ref(v_a_2254_); -return v_res_2256_; -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(lean_object* v_cls_2260_, lean_object* v___y_2261_){ -_start: -{ -lean_object* v_options_2263_; uint8_t v_hasTrace_2264_; -v_options_2263_ = lean_ctor_get(v___y_2261_, 2); -v_hasTrace_2264_ = lean_ctor_get_uint8(v_options_2263_, sizeof(void*)*1); -if (v_hasTrace_2264_ == 0) -{ -lean_object* v___x_2265_; lean_object* v___x_2266_; -lean_dec(v_cls_2260_); -v___x_2265_ = lean_box(v_hasTrace_2264_); -v___x_2266_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2266_, 0, v___x_2265_); -return v___x_2266_; -} -else -{ -lean_object* v_inheritedTraceOptions_2267_; lean_object* v___x_2268_; lean_object* v___x_2269_; uint8_t v___x_2270_; lean_object* v___x_2271_; lean_object* v___x_2272_; -v_inheritedTraceOptions_2267_ = lean_ctor_get(v___y_2261_, 13); -v___x_2268_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg___closed__1)); -v___x_2269_ = l_Lean_Name_append(v___x_2268_, v_cls_2260_); -v___x_2270_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_2267_, v_options_2263_, v___x_2269_); -lean_dec(v___x_2269_); -v___x_2271_ = lean_box(v___x_2270_); -v___x_2272_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2272_, 0, v___x_2271_); -return v___x_2272_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg___boxed(lean_object* v_cls_2273_, lean_object* v___y_2274_, lean_object* v___y_2275_){ -_start: -{ -lean_object* v_res_2276_; -v_res_2276_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v_cls_2273_, v___y_2274_); -lean_dec_ref(v___y_2274_); -return v_res_2276_; -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0(lean_object* v_cls_2277_, lean_object* v___y_2278_, lean_object* v___y_2279_, lean_object* v___y_2280_, lean_object* v___y_2281_, lean_object* v___y_2282_, lean_object* v___y_2283_){ -_start: -{ -lean_object* v___x_2285_; -v___x_2285_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v_cls_2277_, v___y_2282_); -return v___x_2285_; -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___boxed(lean_object* v_cls_2286_, lean_object* v___y_2287_, lean_object* v___y_2288_, lean_object* v___y_2289_, lean_object* v___y_2290_, lean_object* v___y_2291_, lean_object* v___y_2292_, lean_object* v___y_2293_){ -_start: -{ -lean_object* v_res_2294_; -v_res_2294_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0(v_cls_2286_, v___y_2287_, v___y_2288_, v___y_2289_, v___y_2290_, v___y_2291_, v___y_2292_); -lean_dec(v___y_2292_); -lean_dec_ref(v___y_2291_); -lean_dec(v___y_2290_); -lean_dec_ref(v___y_2289_); -lean_dec(v___y_2288_); -lean_dec_ref(v___y_2287_); -return v_res_2294_; -} -} -static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0(void){ -_start: -{ -lean_object* v___x_2295_; -v___x_2295_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_2295_; -} -} -static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1(void){ -_start: -{ -lean_object* v___x_2296_; lean_object* v___x_2297_; -v___x_2296_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__0); -v___x_2297_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2297_, 0, v___x_2296_); return v___x_2297_; } } -static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2(void){ -_start: +} +} +v___jp_2261_: { -lean_object* v___x_2298_; lean_object* v___x_2299_; lean_object* v___x_2300_; -v___x_2298_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__1); -v___x_2299_ = lean_unsigned_to_nat(0u); -v___x_2300_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_2300_, 0, v___x_2299_); -lean_ctor_set(v___x_2300_, 1, v___x_2299_); -lean_ctor_set(v___x_2300_, 2, v___x_2299_); -lean_ctor_set(v___x_2300_, 3, v___x_2298_); -lean_ctor_set(v___x_2300_, 4, v___x_2298_); -lean_ctor_set(v___x_2300_, 5, v___x_2298_); -lean_ctor_set(v___x_2300_, 6, v___x_2298_); -lean_ctor_set(v___x_2300_, 7, v___x_2298_); -lean_ctor_set(v___x_2300_, 8, v___x_2298_); -return v___x_2300_; -} -} -static double _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3(void){ -_start: -{ -lean_object* v___x_2301_; double v___x_2302_; -v___x_2301_ = lean_unsigned_to_nat(0u); -v___x_2302_ = lean_float_of_nat(v___x_2301_); -return v___x_2302_; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg(lean_object* v_cls_2306_, lean_object* v_msg_2307_, lean_object* v___y_2308_, lean_object* v___y_2309_, lean_object* v___y_2310_, lean_object* v___y_2311_){ -_start: -{ -lean_object* v_options_2313_; lean_object* v_ref_2314_; lean_object* v___x_2315_; lean_object* v___x_2316_; lean_object* v___x_2317_; -v_options_2313_ = lean_ctor_get(v___y_2310_, 2); -v_ref_2314_ = lean_ctor_get(v___y_2310_, 5); -v___x_2315_ = lean_st_ref_get(v___y_2311_); -v___x_2316_ = lean_st_ref_get(v___y_2309_); -v___x_2317_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_2308_); -if (lean_obj_tag(v___x_2317_) == 0) -{ -lean_object* v_a_2318_; lean_object* v___x_2320_; uint8_t v_isShared_2321_; uint8_t v_isSharedCheck_2376_; -v_a_2318_ = lean_ctor_get(v___x_2317_, 0); -v_isSharedCheck_2376_ = !lean_is_exclusive(v___x_2317_); -if (v_isSharedCheck_2376_ == 0) -{ -v___x_2320_ = v___x_2317_; -v_isShared_2321_ = v_isSharedCheck_2376_; -goto v_resetjp_2319_; -} -else -{ -lean_inc(v_a_2318_); -lean_dec(v___x_2317_); -v___x_2320_ = lean_box(0); -v_isShared_2321_ = v_isSharedCheck_2376_; -goto v_resetjp_2319_; -} -v_resetjp_2319_: -{ -lean_object* v_env_2322_; lean_object* v_lctx_2323_; lean_object* v___x_2325_; uint8_t v_isShared_2326_; uint8_t v_isSharedCheck_2374_; -v_env_2322_ = lean_ctor_get(v___x_2315_, 0); -lean_inc_ref(v_env_2322_); -lean_dec(v___x_2315_); -v_lctx_2323_ = lean_ctor_get(v___x_2316_, 0); -v_isSharedCheck_2374_ = !lean_is_exclusive(v___x_2316_); -if (v_isSharedCheck_2374_ == 0) -{ -lean_object* v_unused_2375_; -v_unused_2375_ = lean_ctor_get(v___x_2316_, 1); -lean_dec(v_unused_2375_); -v___x_2325_ = v___x_2316_; -v_isShared_2326_ = v_isSharedCheck_2374_; -goto v_resetjp_2324_; -} -else -{ -lean_inc(v_lctx_2323_); -lean_dec(v___x_2316_); -v___x_2325_ = lean_box(0); -v_isShared_2326_ = v_isSharedCheck_2374_; -goto v_resetjp_2324_; -} -v_resetjp_2324_: -{ -lean_object* v___x_2327_; lean_object* v___x_2328_; lean_object* v_traceState_2329_; lean_object* v_env_2330_; lean_object* v_nextMacroScope_2331_; lean_object* v_ngen_2332_; lean_object* v_auxDeclNGen_2333_; lean_object* v_cache_2334_; lean_object* v_messages_2335_; lean_object* v_infoState_2336_; lean_object* v_snapshotTasks_2337_; lean_object* v___x_2339_; uint8_t v_isShared_2340_; uint8_t v_isSharedCheck_2373_; -v___x_2327_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2); -v___x_2328_ = lean_st_ref_take(v___y_2311_); -v_traceState_2329_ = lean_ctor_get(v___x_2328_, 4); -v_env_2330_ = lean_ctor_get(v___x_2328_, 0); -v_nextMacroScope_2331_ = lean_ctor_get(v___x_2328_, 1); -v_ngen_2332_ = lean_ctor_get(v___x_2328_, 2); -v_auxDeclNGen_2333_ = lean_ctor_get(v___x_2328_, 3); -v_cache_2334_ = lean_ctor_get(v___x_2328_, 5); -v_messages_2335_ = lean_ctor_get(v___x_2328_, 6); -v_infoState_2336_ = lean_ctor_get(v___x_2328_, 7); -v_snapshotTasks_2337_ = lean_ctor_get(v___x_2328_, 8); -v_isSharedCheck_2373_ = !lean_is_exclusive(v___x_2328_); -if (v_isSharedCheck_2373_ == 0) -{ -v___x_2339_ = v___x_2328_; -v_isShared_2340_ = v_isSharedCheck_2373_; -goto v_resetjp_2338_; -} -else -{ -lean_inc(v_snapshotTasks_2337_); -lean_inc(v_infoState_2336_); -lean_inc(v_messages_2335_); -lean_inc(v_cache_2334_); -lean_inc(v_traceState_2329_); -lean_inc(v_auxDeclNGen_2333_); -lean_inc(v_ngen_2332_); -lean_inc(v_nextMacroScope_2331_); -lean_inc(v_env_2330_); -lean_dec(v___x_2328_); -v___x_2339_ = lean_box(0); -v_isShared_2340_ = v_isSharedCheck_2373_; -goto v_resetjp_2338_; -} -v_resetjp_2338_: -{ -uint64_t v_tid_2341_; lean_object* v_traces_2342_; lean_object* v___x_2344_; uint8_t v_isShared_2345_; uint8_t v_isSharedCheck_2372_; -v_tid_2341_ = lean_ctor_get_uint64(v_traceState_2329_, sizeof(void*)*1); -v_traces_2342_ = lean_ctor_get(v_traceState_2329_, 0); -v_isSharedCheck_2372_ = !lean_is_exclusive(v_traceState_2329_); -if (v_isSharedCheck_2372_ == 0) -{ -v___x_2344_ = v_traceState_2329_; -v_isShared_2345_ = v_isSharedCheck_2372_; -goto v_resetjp_2343_; -} -else -{ -lean_inc(v_traces_2342_); -lean_dec(v_traceState_2329_); -v___x_2344_ = lean_box(0); -v_isShared_2345_ = v_isSharedCheck_2372_; -goto v_resetjp_2343_; -} -v_resetjp_2343_: -{ -uint8_t v___x_2346_; lean_object* v___x_2347_; lean_object* v___x_2348_; lean_object* v___x_2350_; -v___x_2346_ = lean_unbox(v_a_2318_); -lean_dec(v_a_2318_); -v___x_2347_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_2323_, v___x_2346_); -lean_dec_ref(v_lctx_2323_); -lean_inc_ref(v_options_2313_); -v___x_2348_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_2348_, 0, v_env_2322_); -lean_ctor_set(v___x_2348_, 1, v___x_2327_); -lean_ctor_set(v___x_2348_, 2, v___x_2347_); -lean_ctor_set(v___x_2348_, 3, v_options_2313_); -if (v_isShared_2326_ == 0) -{ -lean_ctor_set_tag(v___x_2325_, 3); -lean_ctor_set(v___x_2325_, 1, v_msg_2307_); -lean_ctor_set(v___x_2325_, 0, v___x_2348_); -v___x_2350_ = v___x_2325_; -goto v_reusejp_2349_; -} -else -{ -lean_object* v_reuseFailAlloc_2371_; -v_reuseFailAlloc_2371_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2371_, 0, v___x_2348_); -lean_ctor_set(v_reuseFailAlloc_2371_, 1, v_msg_2307_); -v___x_2350_ = v_reuseFailAlloc_2371_; -goto v_reusejp_2349_; -} -v_reusejp_2349_: -{ -lean_object* v___x_2351_; double v___x_2352_; uint8_t v___x_2353_; lean_object* v___x_2354_; lean_object* v___x_2355_; lean_object* v___x_2356_; lean_object* v___x_2357_; lean_object* v___x_2358_; lean_object* v___x_2359_; lean_object* v___x_2361_; -v___x_2351_ = lean_box(0); -v___x_2352_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__3); -v___x_2353_ = 0; -v___x_2354_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__4)); -v___x_2355_ = lean_alloc_ctor(0, 3, 17); -lean_ctor_set(v___x_2355_, 0, v_cls_2306_); -lean_ctor_set(v___x_2355_, 1, v___x_2351_); -lean_ctor_set(v___x_2355_, 2, v___x_2354_); -lean_ctor_set_float(v___x_2355_, sizeof(void*)*3, v___x_2352_); -lean_ctor_set_float(v___x_2355_, sizeof(void*)*3 + 8, v___x_2352_); -lean_ctor_set_uint8(v___x_2355_, sizeof(void*)*3 + 16, v___x_2353_); -v___x_2356_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__5)); -v___x_2357_ = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(v___x_2357_, 0, v___x_2355_); -lean_ctor_set(v___x_2357_, 1, v___x_2350_); -lean_ctor_set(v___x_2357_, 2, v___x_2356_); -lean_inc(v_ref_2314_); -v___x_2358_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2358_, 0, v_ref_2314_); -lean_ctor_set(v___x_2358_, 1, v___x_2357_); -v___x_2359_ = l_Lean_PersistentArray_push___redArg(v_traces_2342_, v___x_2358_); -if (v_isShared_2345_ == 0) -{ -lean_ctor_set(v___x_2344_, 0, v___x_2359_); -v___x_2361_ = v___x_2344_; -goto v_reusejp_2360_; -} -else -{ -lean_object* v_reuseFailAlloc_2370_; -v_reuseFailAlloc_2370_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_2370_, 0, v___x_2359_); -lean_ctor_set_uint64(v_reuseFailAlloc_2370_, sizeof(void*)*1, v_tid_2341_); -v___x_2361_ = v_reuseFailAlloc_2370_; -goto v_reusejp_2360_; -} -v_reusejp_2360_: -{ -lean_object* v___x_2363_; -if (v_isShared_2340_ == 0) -{ -lean_ctor_set(v___x_2339_, 4, v___x_2361_); -v___x_2363_ = v___x_2339_; -goto v_reusejp_2362_; -} -else -{ -lean_object* v_reuseFailAlloc_2369_; -v_reuseFailAlloc_2369_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2369_, 0, v_env_2330_); -lean_ctor_set(v_reuseFailAlloc_2369_, 1, v_nextMacroScope_2331_); -lean_ctor_set(v_reuseFailAlloc_2369_, 2, v_ngen_2332_); -lean_ctor_set(v_reuseFailAlloc_2369_, 3, v_auxDeclNGen_2333_); -lean_ctor_set(v_reuseFailAlloc_2369_, 4, v___x_2361_); -lean_ctor_set(v_reuseFailAlloc_2369_, 5, v_cache_2334_); -lean_ctor_set(v_reuseFailAlloc_2369_, 6, v_messages_2335_); -lean_ctor_set(v_reuseFailAlloc_2369_, 7, v_infoState_2336_); -lean_ctor_set(v_reuseFailAlloc_2369_, 8, v_snapshotTasks_2337_); -v___x_2363_ = v_reuseFailAlloc_2369_; -goto v_reusejp_2362_; -} -v_reusejp_2362_: -{ -lean_object* v___x_2364_; lean_object* v___x_2365_; lean_object* v___x_2367_; -v___x_2364_ = lean_st_ref_set(v___y_2311_, v___x_2363_); -v___x_2365_ = lean_box(0); -if (v_isShared_2321_ == 0) -{ -lean_ctor_set(v___x_2320_, 0, v___x_2365_); -v___x_2367_ = v___x_2320_; -goto v_reusejp_2366_; -} -else -{ -lean_object* v_reuseFailAlloc_2368_; -v_reuseFailAlloc_2368_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2368_, 0, v___x_2365_); -v___x_2367_ = v_reuseFailAlloc_2368_; -goto v_reusejp_2366_; -} -v_reusejp_2366_: -{ -return v___x_2367_; -} -} -} -} -} -} -} -} -} -else -{ -lean_object* v_a_2377_; lean_object* v___x_2379_; uint8_t v_isShared_2380_; uint8_t v_isSharedCheck_2384_; -lean_dec(v___x_2316_); -lean_dec(v___x_2315_); -lean_dec_ref(v_msg_2307_); -lean_dec(v_cls_2306_); -v_a_2377_ = lean_ctor_get(v___x_2317_, 0); -v_isSharedCheck_2384_ = !lean_is_exclusive(v___x_2317_); -if (v_isSharedCheck_2384_ == 0) -{ -v___x_2379_ = v___x_2317_; -v_isShared_2380_ = v_isSharedCheck_2384_; -goto v_resetjp_2378_; -} -else -{ -lean_inc(v_a_2377_); -lean_dec(v___x_2317_); -v___x_2379_ = lean_box(0); -v_isShared_2380_ = v_isSharedCheck_2384_; -goto v_resetjp_2378_; -} -v_resetjp_2378_: -{ -lean_object* v___x_2382_; -if (v_isShared_2380_ == 0) -{ -v___x_2382_ = v___x_2379_; -goto v_reusejp_2381_; -} -else -{ -lean_object* v_reuseFailAlloc_2383_; -v_reuseFailAlloc_2383_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2383_, 0, v_a_2377_); -v___x_2382_ = v_reuseFailAlloc_2383_; -goto v_reusejp_2381_; -} -v_reusejp_2381_: -{ -return v___x_2382_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___boxed(lean_object* v_cls_2385_, lean_object* v_msg_2386_, lean_object* v___y_2387_, lean_object* v___y_2388_, lean_object* v___y_2389_, lean_object* v___y_2390_, lean_object* v___y_2391_){ -_start: -{ -lean_object* v_res_2392_; -v_res_2392_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg(v_cls_2385_, v_msg_2386_, v___y_2387_, v___y_2388_, v___y_2389_, v___y_2390_); -lean_dec(v___y_2390_); -lean_dec_ref(v___y_2389_); -lean_dec(v___y_2388_); -lean_dec_ref(v___y_2387_); -return v_res_2392_; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2(lean_object* v_cls_2393_, lean_object* v_msg_2394_, lean_object* v___y_2395_, lean_object* v___y_2396_, lean_object* v___y_2397_, lean_object* v___y_2398_, lean_object* v___y_2399_, lean_object* v___y_2400_){ -_start: -{ -lean_object* v___x_2402_; -v___x_2402_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg(v_cls_2393_, v_msg_2394_, v___y_2397_, v___y_2398_, v___y_2399_, v___y_2400_); -return v___x_2402_; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___boxed(lean_object* v_cls_2403_, lean_object* v_msg_2404_, lean_object* v___y_2405_, lean_object* v___y_2406_, lean_object* v___y_2407_, lean_object* v___y_2408_, lean_object* v___y_2409_, lean_object* v___y_2410_, lean_object* v___y_2411_){ -_start: -{ -lean_object* v_res_2412_; -v_res_2412_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2(v_cls_2403_, v_msg_2404_, v___y_2405_, v___y_2406_, v___y_2407_, v___y_2408_, v___y_2409_, v___y_2410_); -lean_dec(v___y_2410_); -lean_dec_ref(v___y_2409_); -lean_dec(v___y_2408_); -lean_dec_ref(v___y_2407_); -lean_dec(v___y_2406_); -lean_dec_ref(v___y_2405_); -return v_res_2412_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4___redArg(lean_object* v_x_2413_, lean_object* v_x_2414_){ -_start: -{ -if (lean_obj_tag(v_x_2414_) == 0) -{ -return v_x_2413_; -} -else -{ -lean_object* v_key_2415_; lean_object* v_value_2416_; lean_object* v_tail_2417_; lean_object* v___x_2419_; uint8_t v_isShared_2420_; uint8_t v_isSharedCheck_2440_; -v_key_2415_ = lean_ctor_get(v_x_2414_, 0); -v_value_2416_ = lean_ctor_get(v_x_2414_, 1); -v_tail_2417_ = lean_ctor_get(v_x_2414_, 2); -v_isSharedCheck_2440_ = !lean_is_exclusive(v_x_2414_); -if (v_isSharedCheck_2440_ == 0) -{ -v___x_2419_ = v_x_2414_; -v_isShared_2420_ = v_isSharedCheck_2440_; -goto v_resetjp_2418_; -} -else -{ -lean_inc(v_tail_2417_); -lean_inc(v_value_2416_); -lean_inc(v_key_2415_); -lean_dec(v_x_2414_); -v___x_2419_ = lean_box(0); -v_isShared_2420_ = v_isSharedCheck_2440_; -goto v_resetjp_2418_; -} -v_resetjp_2418_: -{ -lean_object* v___x_2421_; uint64_t v___x_2422_; uint64_t v___x_2423_; uint64_t v___x_2424_; uint64_t v_fold_2425_; uint64_t v___x_2426_; uint64_t v___x_2427_; uint64_t v___x_2428_; size_t v___x_2429_; size_t v___x_2430_; size_t v___x_2431_; size_t v___x_2432_; size_t v___x_2433_; lean_object* v___x_2434_; lean_object* v___x_2436_; -v___x_2421_ = lean_array_get_size(v_x_2413_); -v___x_2422_ = l_Lean_instHashableFVarId_hash(v_key_2415_); -v___x_2423_ = 32ULL; -v___x_2424_ = lean_uint64_shift_right(v___x_2422_, v___x_2423_); -v_fold_2425_ = lean_uint64_xor(v___x_2422_, v___x_2424_); -v___x_2426_ = 16ULL; -v___x_2427_ = lean_uint64_shift_right(v_fold_2425_, v___x_2426_); -v___x_2428_ = lean_uint64_xor(v_fold_2425_, v___x_2427_); -v___x_2429_ = lean_uint64_to_usize(v___x_2428_); -v___x_2430_ = lean_usize_of_nat(v___x_2421_); -v___x_2431_ = ((size_t)1ULL); -v___x_2432_ = lean_usize_sub(v___x_2430_, v___x_2431_); -v___x_2433_ = lean_usize_land(v___x_2429_, v___x_2432_); -v___x_2434_ = lean_array_uget_borrowed(v_x_2413_, v___x_2433_); -lean_inc(v___x_2434_); -if (v_isShared_2420_ == 0) -{ -lean_ctor_set(v___x_2419_, 2, v___x_2434_); -v___x_2436_ = v___x_2419_; -goto v_reusejp_2435_; -} -else -{ -lean_object* v_reuseFailAlloc_2439_; -v_reuseFailAlloc_2439_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_2439_, 0, v_key_2415_); -lean_ctor_set(v_reuseFailAlloc_2439_, 1, v_value_2416_); -lean_ctor_set(v_reuseFailAlloc_2439_, 2, v___x_2434_); -v___x_2436_ = v_reuseFailAlloc_2439_; -goto v_reusejp_2435_; -} -v_reusejp_2435_: -{ -lean_object* v___x_2437_; -v___x_2437_ = lean_array_uset(v_x_2413_, v___x_2433_, v___x_2436_); -v_x_2413_ = v___x_2437_; -v_x_2414_ = v_tail_2417_; +size_t v___x_2263_; size_t v___x_2264_; lean_object* v___x_2265_; +v___x_2263_ = ((size_t)1ULL); +v___x_2264_ = lean_usize_add(v_i_2248_, v___x_2263_); +v___x_2265_ = lean_array_uset(v_bs_x27_2260_, v_i_2248_, v_a_2262_); +v_i_2248_ = v___x_2264_; +v_bs_2249_ = v___x_2265_; goto _start; } } } } -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3___redArg(lean_object* v_i_2441_, lean_object* v_source_2442_, lean_object* v_target_2443_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg___boxed(lean_object* v_sz_2300_, lean_object* v_i_2301_, lean_object* v_bs_2302_, lean_object* v___y_2303_, lean_object* v___y_2304_){ _start: { -lean_object* v___x_2444_; uint8_t v___x_2445_; -v___x_2444_ = lean_array_get_size(v_source_2442_); -v___x_2445_ = lean_nat_dec_lt(v_i_2441_, v___x_2444_); -if (v___x_2445_ == 0) +size_t v_sz_boxed_2305_; size_t v_i_boxed_2306_; lean_object* v_res_2307_; +v_sz_boxed_2305_ = lean_unbox_usize(v_sz_2300_); +lean_dec(v_sz_2300_); +v_i_boxed_2306_ = lean_unbox_usize(v_i_2301_); +lean_dec(v_i_2301_); +v_res_2307_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_boxed_2305_, v_i_boxed_2306_, v_bs_2302_, v___y_2303_); +lean_dec(v___y_2303_); +return v_res_2307_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(lean_object* v_a_2308_, lean_object* v_x_2309_){ +_start: { -lean_dec_ref(v_source_2442_); -lean_dec(v_i_2441_); -return v_target_2443_; +if (lean_obj_tag(v_x_2309_) == 0) +{ +lean_object* v___x_2310_; +v___x_2310_ = lean_box(0); +return v___x_2310_; } else { -lean_object* v_es_2446_; lean_object* v___x_2447_; lean_object* v_source_2448_; lean_object* v_target_2449_; lean_object* v___x_2450_; lean_object* v___x_2451_; -v_es_2446_ = lean_array_fget(v_source_2442_, v_i_2441_); -v___x_2447_ = lean_box(0); -v_source_2448_ = lean_array_fset(v_source_2442_, v_i_2441_, v___x_2447_); -v_target_2449_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4___redArg(v_target_2443_, v_es_2446_); -v___x_2450_ = lean_unsigned_to_nat(1u); -v___x_2451_ = lean_nat_add(v_i_2441_, v___x_2450_); -lean_dec(v_i_2441_); -v_i_2441_ = v___x_2451_; -v_source_2442_ = v_source_2448_; -v_target_2443_ = v_target_2449_; +lean_object* v_key_2311_; lean_object* v_value_2312_; lean_object* v_tail_2313_; uint8_t v___x_2314_; +v_key_2311_ = lean_ctor_get(v_x_2309_, 0); +v_value_2312_ = lean_ctor_get(v_x_2309_, 1); +v_tail_2313_ = lean_ctor_get(v_x_2309_, 2); +v___x_2314_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_2311_, v_a_2308_); +if (v___x_2314_ == 0) +{ +v_x_2309_ = v_tail_2313_; goto _start; } +else +{ +lean_object* v___x_2316_; +lean_inc(v_value_2312_); +v___x_2316_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2316_, 0, v_value_2312_); +return v___x_2316_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1___redArg(lean_object* v_data_2453_){ +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg___boxed(lean_object* v_a_2317_, lean_object* v_x_2318_){ _start: { -lean_object* v___x_2454_; lean_object* v___x_2455_; lean_object* v_nbuckets_2456_; lean_object* v___x_2457_; lean_object* v___x_2458_; lean_object* v___x_2459_; lean_object* v___x_2460_; -v___x_2454_ = lean_array_get_size(v_data_2453_); -v___x_2455_ = lean_unsigned_to_nat(2u); -v_nbuckets_2456_ = lean_nat_mul(v___x_2454_, v___x_2455_); -v___x_2457_ = lean_unsigned_to_nat(0u); -v___x_2458_ = lean_box(0); -v___x_2459_ = lean_mk_array(v_nbuckets_2456_, v___x_2458_); -v___x_2460_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3___redArg(v___x_2457_, v_data_2453_, v___x_2459_); -return v___x_2460_; +lean_object* v_res_2319_; +v_res_2319_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2317_, v_x_2318_); +lean_dec(v_x_2318_); +lean_dec_ref(v_a_2317_); +return v_res_2319_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(lean_object* v_m_2461_, lean_object* v_a_2462_, lean_object* v_b_2463_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(lean_object* v_m_2320_, lean_object* v_a_2321_){ _start: { -lean_object* v_size_2464_; lean_object* v_buckets_2465_; lean_object* v___x_2466_; uint64_t v___x_2467_; uint64_t v___x_2468_; uint64_t v___x_2469_; uint64_t v_fold_2470_; uint64_t v___x_2471_; uint64_t v___x_2472_; uint64_t v___x_2473_; size_t v___x_2474_; size_t v___x_2475_; size_t v___x_2476_; size_t v___x_2477_; size_t v___x_2478_; lean_object* v_bkt_2479_; uint8_t v___x_2480_; -v_size_2464_ = lean_ctor_get(v_m_2461_, 0); -v_buckets_2465_ = lean_ctor_get(v_m_2461_, 1); -v___x_2466_ = lean_array_get_size(v_buckets_2465_); -v___x_2467_ = l_Lean_instHashableFVarId_hash(v_a_2462_); -v___x_2468_ = 32ULL; -v___x_2469_ = lean_uint64_shift_right(v___x_2467_, v___x_2468_); -v_fold_2470_ = lean_uint64_xor(v___x_2467_, v___x_2469_); -v___x_2471_ = 16ULL; -v___x_2472_ = lean_uint64_shift_right(v_fold_2470_, v___x_2471_); -v___x_2473_ = lean_uint64_xor(v_fold_2470_, v___x_2472_); -v___x_2474_ = lean_uint64_to_usize(v___x_2473_); -v___x_2475_ = lean_usize_of_nat(v___x_2466_); -v___x_2476_ = ((size_t)1ULL); -v___x_2477_ = lean_usize_sub(v___x_2475_, v___x_2476_); -v___x_2478_ = lean_usize_land(v___x_2474_, v___x_2477_); -v_bkt_2479_ = lean_array_uget_borrowed(v_buckets_2465_, v___x_2478_); -v___x_2480_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0_spec__0___redArg(v_a_2462_, v_bkt_2479_); -if (v___x_2480_ == 0) -{ -lean_object* v___x_2482_; uint8_t v_isShared_2483_; uint8_t v_isSharedCheck_2501_; -lean_inc_ref(v_buckets_2465_); -lean_inc(v_size_2464_); -v_isSharedCheck_2501_ = !lean_is_exclusive(v_m_2461_); -if (v_isSharedCheck_2501_ == 0) -{ -lean_object* v_unused_2502_; lean_object* v_unused_2503_; -v_unused_2502_ = lean_ctor_get(v_m_2461_, 1); -lean_dec(v_unused_2502_); -v_unused_2503_ = lean_ctor_get(v_m_2461_, 0); -lean_dec(v_unused_2503_); -v___x_2482_ = v_m_2461_; -v_isShared_2483_ = v_isSharedCheck_2501_; -goto v_resetjp_2481_; -} -else -{ -lean_dec(v_m_2461_); -v___x_2482_ = lean_box(0); -v_isShared_2483_ = v_isSharedCheck_2501_; -goto v_resetjp_2481_; -} -v_resetjp_2481_: -{ -lean_object* v___x_2484_; lean_object* v_size_x27_2485_; lean_object* v___x_2486_; lean_object* v_buckets_x27_2487_; lean_object* v___x_2488_; lean_object* v___x_2489_; lean_object* v___x_2490_; lean_object* v___x_2491_; lean_object* v___x_2492_; uint8_t v___x_2493_; -v___x_2484_ = lean_unsigned_to_nat(1u); -v_size_x27_2485_ = lean_nat_add(v_size_2464_, v___x_2484_); -lean_dec(v_size_2464_); -lean_inc(v_bkt_2479_); -v___x_2486_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2486_, 0, v_a_2462_); -lean_ctor_set(v___x_2486_, 1, v_b_2463_); -lean_ctor_set(v___x_2486_, 2, v_bkt_2479_); -v_buckets_x27_2487_ = lean_array_uset(v_buckets_2465_, v___x_2478_, v___x_2486_); -v___x_2488_ = lean_unsigned_to_nat(4u); -v___x_2489_ = lean_nat_mul(v_size_x27_2485_, v___x_2488_); -v___x_2490_ = lean_unsigned_to_nat(3u); -v___x_2491_ = lean_nat_div(v___x_2489_, v___x_2490_); -lean_dec(v___x_2489_); -v___x_2492_ = lean_array_get_size(v_buckets_x27_2487_); -v___x_2493_ = lean_nat_dec_le(v___x_2491_, v___x_2492_); -lean_dec(v___x_2491_); -if (v___x_2493_ == 0) -{ -lean_object* v_val_2494_; lean_object* v___x_2496_; -v_val_2494_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1___redArg(v_buckets_x27_2487_); -if (v_isShared_2483_ == 0) -{ -lean_ctor_set(v___x_2482_, 1, v_val_2494_); -lean_ctor_set(v___x_2482_, 0, v_size_x27_2485_); -v___x_2496_ = v___x_2482_; -goto v_reusejp_2495_; -} -else -{ -lean_object* v_reuseFailAlloc_2497_; -v_reuseFailAlloc_2497_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2497_, 0, v_size_x27_2485_); -lean_ctor_set(v_reuseFailAlloc_2497_, 1, v_val_2494_); -v___x_2496_ = v_reuseFailAlloc_2497_; -goto v_reusejp_2495_; -} -v_reusejp_2495_: -{ -return v___x_2496_; +lean_object* v_buckets_2322_; lean_object* v___x_2323_; uint64_t v___x_2324_; uint64_t v___x_2325_; uint64_t v___x_2326_; uint64_t v_fold_2327_; uint64_t v___x_2328_; uint64_t v___x_2329_; uint64_t v___x_2330_; size_t v___x_2331_; size_t v___x_2332_; size_t v___x_2333_; size_t v___x_2334_; size_t v___x_2335_; lean_object* v___x_2336_; lean_object* v___x_2337_; +v_buckets_2322_ = lean_ctor_get(v_m_2320_, 1); +v___x_2323_ = lean_array_get_size(v_buckets_2322_); +v___x_2324_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_2321_); +v___x_2325_ = 32ULL; +v___x_2326_ = lean_uint64_shift_right(v___x_2324_, v___x_2325_); +v_fold_2327_ = lean_uint64_xor(v___x_2324_, v___x_2326_); +v___x_2328_ = 16ULL; +v___x_2329_ = lean_uint64_shift_right(v_fold_2327_, v___x_2328_); +v___x_2330_ = lean_uint64_xor(v_fold_2327_, v___x_2329_); +v___x_2331_ = lean_uint64_to_usize(v___x_2330_); +v___x_2332_ = lean_usize_of_nat(v___x_2323_); +v___x_2333_ = ((size_t)1ULL); +v___x_2334_ = lean_usize_sub(v___x_2332_, v___x_2333_); +v___x_2335_ = lean_usize_land(v___x_2331_, v___x_2334_); +v___x_2336_ = lean_array_uget_borrowed(v_buckets_2322_, v___x_2335_); +v___x_2337_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2321_, v___x_2336_); +return v___x_2337_; } } -else -{ -lean_object* v___x_2499_; -if (v_isShared_2483_ == 0) -{ -lean_ctor_set(v___x_2482_, 1, v_buckets_x27_2487_); -lean_ctor_set(v___x_2482_, 0, v_size_x27_2485_); -v___x_2499_ = v___x_2482_; -goto v_reusejp_2498_; -} -else -{ -lean_object* v_reuseFailAlloc_2500_; -v_reuseFailAlloc_2500_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2500_, 0, v_size_x27_2485_); -lean_ctor_set(v_reuseFailAlloc_2500_, 1, v_buckets_x27_2487_); -v___x_2499_ = v_reuseFailAlloc_2500_; -goto v_reusejp_2498_; -} -v_reusejp_2498_: -{ -return v___x_2499_; -} -} -} -} -else -{ -lean_dec(v_b_2463_); -lean_dec(v_a_2462_); -return v_m_2461_; -} -} -} -static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4(void){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg___boxed(lean_object* v_m_2338_, lean_object* v_a_2339_){ _start: { -lean_object* v___x_2510_; lean_object* v___x_2511_; -v___x_2510_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__3)); -v___x_2511_ = l_Lean_stringToMessageData(v___x_2510_); -return v___x_2511_; +lean_object* v_res_2340_; +v_res_2340_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_m_2338_, v_a_2339_); +lean_dec_ref(v_a_2339_); +lean_dec_ref(v_m_2338_); +return v_res_2340_; } } -static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6(void){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(lean_object* v_a_2341_, lean_object* v_x_2342_){ _start: { -lean_object* v___x_2513_; lean_object* v___x_2514_; -v___x_2513_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__5)); -v___x_2514_ = l_Lean_stringToMessageData(v___x_2513_); -return v___x_2514_; +if (lean_obj_tag(v_x_2342_) == 0) +{ +return v_x_2342_; +} +else +{ +lean_object* v_key_2343_; lean_object* v_value_2344_; lean_object* v_tail_2345_; lean_object* v___x_2347_; uint8_t v_isShared_2348_; uint8_t v_isSharedCheck_2354_; +v_key_2343_ = lean_ctor_get(v_x_2342_, 0); +v_value_2344_ = lean_ctor_get(v_x_2342_, 1); +v_tail_2345_ = lean_ctor_get(v_x_2342_, 2); +v_isSharedCheck_2354_ = !lean_is_exclusive(v_x_2342_); +if (v_isSharedCheck_2354_ == 0) +{ +v___x_2347_ = v_x_2342_; +v_isShared_2348_ = v_isSharedCheck_2354_; +goto v_resetjp_2346_; +} +else +{ +lean_inc(v_tail_2345_); +lean_inc(v_value_2344_); +lean_inc(v_key_2343_); +lean_dec(v_x_2342_); +v___x_2347_ = lean_box(0); +v_isShared_2348_ = v_isSharedCheck_2354_; +goto v_resetjp_2346_; +} +v_resetjp_2346_: +{ +uint8_t v___x_2349_; +v___x_2349_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instBEqKey_beq(v_key_2343_, v_a_2341_); +if (v___x_2349_ == 0) +{ +lean_object* v___x_2350_; lean_object* v___x_2352_; +v___x_2350_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2341_, v_tail_2345_); +if (v_isShared_2348_ == 0) +{ +lean_ctor_set(v___x_2347_, 2, v___x_2350_); +v___x_2352_ = v___x_2347_; +goto v_reusejp_2351_; +} +else +{ +lean_object* v_reuseFailAlloc_2353_; +v_reuseFailAlloc_2353_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_2353_, 0, v_key_2343_); +lean_ctor_set(v_reuseFailAlloc_2353_, 1, v_value_2344_); +lean_ctor_set(v_reuseFailAlloc_2353_, 2, v___x_2350_); +v___x_2352_ = v_reuseFailAlloc_2353_; +goto v_reusejp_2351_; +} +v_reusejp_2351_: +{ +return v___x_2352_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(lean_object* v_fvarId_2515_, lean_object* v_reason_2516_, lean_object* v_a_2517_, lean_object* v_a_2518_, lean_object* v_a_2519_, lean_object* v_a_2520_, lean_object* v_a_2521_, lean_object* v_a_2522_){ +else +{ +lean_del_object(v___x_2347_); +lean_dec(v_value_2344_); +lean_dec(v_key_2343_); +return v_tail_2345_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg___boxed(lean_object* v_a_2355_, lean_object* v_x_2356_){ _start: { -lean_object* v___x_2524_; lean_object* v_owned_2525_; uint8_t v___x_2526_; -v___x_2524_ = lean_st_ref_get(v_a_2518_); -v_owned_2525_ = lean_ctor_get(v___x_2524_, 0); -lean_inc_ref(v_owned_2525_); -lean_dec(v___x_2524_); -v___x_2526_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_owned_2525_, v_fvarId_2515_); -lean_dec_ref(v_owned_2525_); -if (v___x_2526_ == 0) +lean_object* v_res_2357_; +v_res_2357_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2355_, v_x_2356_); +lean_dec_ref(v_a_2355_); +return v_res_2357_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(lean_object* v_m_2358_, lean_object* v_a_2359_){ +_start: { -lean_object* v___x_2527_; lean_object* v___x_2528_; lean_object* v_a_2529_; lean_object* v___x_2531_; uint8_t v_isShared_2532_; uint8_t v_isSharedCheck_2582_; -v___x_2527_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__2)); -v___x_2528_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v___x_2527_, v_a_2521_); -v_a_2529_ = lean_ctor_get(v___x_2528_, 0); -v_isSharedCheck_2582_ = !lean_is_exclusive(v___x_2528_); -if (v_isSharedCheck_2582_ == 0) +lean_object* v_size_2360_; lean_object* v_buckets_2361_; lean_object* v___x_2362_; uint64_t v___x_2363_; uint64_t v___x_2364_; uint64_t v___x_2365_; uint64_t v_fold_2366_; uint64_t v___x_2367_; uint64_t v___x_2368_; uint64_t v___x_2369_; size_t v___x_2370_; size_t v___x_2371_; size_t v___x_2372_; size_t v___x_2373_; size_t v___x_2374_; lean_object* v_bkt_2375_; uint8_t v___x_2376_; +v_size_2360_ = lean_ctor_get(v_m_2358_, 0); +v_buckets_2361_ = lean_ctor_get(v_m_2358_, 1); +v___x_2362_ = lean_array_get_size(v_buckets_2361_); +v___x_2363_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_ParamMap_instHashableKey_hash(v_a_2359_); +v___x_2364_ = 32ULL; +v___x_2365_ = lean_uint64_shift_right(v___x_2363_, v___x_2364_); +v_fold_2366_ = lean_uint64_xor(v___x_2363_, v___x_2365_); +v___x_2367_ = 16ULL; +v___x_2368_ = lean_uint64_shift_right(v_fold_2366_, v___x_2367_); +v___x_2369_ = lean_uint64_xor(v_fold_2366_, v___x_2368_); +v___x_2370_ = lean_uint64_to_usize(v___x_2369_); +v___x_2371_ = lean_usize_of_nat(v___x_2362_); +v___x_2372_ = ((size_t)1ULL); +v___x_2373_ = lean_usize_sub(v___x_2371_, v___x_2372_); +v___x_2374_ = lean_usize_land(v___x_2370_, v___x_2373_); +v_bkt_2375_ = lean_array_uget_borrowed(v_buckets_2361_, v___x_2374_); +v___x_2376_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2_spec__4___redArg(v_a_2359_, v_bkt_2375_); +if (v___x_2376_ == 0) { -v___x_2531_ = v___x_2528_; -v_isShared_2532_ = v_isSharedCheck_2582_; -goto v_resetjp_2530_; +return v_m_2358_; } else { -lean_inc(v_a_2529_); -lean_dec(v___x_2528_); -v___x_2531_ = lean_box(0); -v_isShared_2532_ = v_isSharedCheck_2582_; -goto v_resetjp_2530_; -} -v_resetjp_2530_: +lean_object* v___x_2378_; uint8_t v_isShared_2379_; uint8_t v_isSharedCheck_2389_; +lean_inc(v_bkt_2375_); +lean_inc_ref(v_buckets_2361_); +lean_inc(v_size_2360_); +v_isSharedCheck_2389_ = !lean_is_exclusive(v_m_2358_); +if (v_isSharedCheck_2389_ == 0) { -uint8_t v___x_2533_; lean_object* v___y_2535_; uint8_t v___x_2552_; -v___x_2533_ = 1; -v___x_2552_ = lean_unbox(v_a_2529_); -lean_dec(v_a_2529_); -if (v___x_2552_ == 0) -{ -lean_dec(v_a_2522_); -lean_dec_ref(v_a_2521_); -lean_dec(v_a_2520_); -lean_dec_ref(v_a_2519_); -lean_dec_ref(v_reason_2516_); -v___y_2535_ = v_a_2518_; -goto v___jp_2534_; +lean_object* v_unused_2390_; lean_object* v_unused_2391_; +v_unused_2390_ = lean_ctor_get(v_m_2358_, 1); +lean_dec(v_unused_2390_); +v_unused_2391_ = lean_ctor_get(v_m_2358_, 0); +lean_dec(v_unused_2391_); +v___x_2378_ = v_m_2358_; +v_isShared_2379_ = v_isSharedCheck_2389_; +goto v_resetjp_2377_; } else { -lean_object* v___x_2553_; lean_object* v___x_2554_; -lean_inc(v_fvarId_2515_); -v___x_2553_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppFVar___boxed), 7, 1); -lean_closure_set(v___x_2553_, 0, v_fvarId_2515_); -lean_inc(v_a_2522_); -lean_inc_ref(v_a_2521_); -lean_inc(v_a_2520_); -lean_inc_ref(v_a_2519_); -v___x_2554_ = l_Lean_Compiler_LCNF_PP_run___redArg(v___x_2553_, v_a_2519_, v_a_2520_, v_a_2521_, v_a_2522_); -if (lean_obj_tag(v___x_2554_) == 0) +lean_dec(v_m_2358_); +v___x_2378_ = lean_box(0); +v_isShared_2379_ = v_isSharedCheck_2389_; +goto v_resetjp_2377_; +} +v_resetjp_2377_: { -lean_object* v_a_2555_; lean_object* v___x_2556_; -v_a_2555_ = lean_ctor_get(v___x_2554_, 0); -lean_inc(v_a_2555_); -lean_dec_ref(v___x_2554_); -lean_inc(v_a_2522_); -lean_inc_ref(v_a_2521_); -lean_inc(v_a_2520_); -lean_inc_ref(v_a_2519_); -v___x_2556_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(v_reason_2516_, v_a_2519_, v_a_2520_, v_a_2521_, v_a_2522_); -if (lean_obj_tag(v___x_2556_) == 0) +lean_object* v___x_2380_; lean_object* v_buckets_x27_2381_; lean_object* v___x_2382_; lean_object* v___x_2383_; lean_object* v___x_2384_; lean_object* v___x_2385_; lean_object* v___x_2387_; +v___x_2380_ = lean_box(0); +v_buckets_x27_2381_ = lean_array_uset(v_buckets_2361_, v___x_2374_, v___x_2380_); +v___x_2382_ = lean_unsigned_to_nat(1u); +v___x_2383_ = lean_nat_sub(v_size_2360_, v___x_2382_); +lean_dec(v_size_2360_); +v___x_2384_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2359_, v_bkt_2375_); +v___x_2385_ = lean_array_uset(v_buckets_x27_2381_, v___x_2374_, v___x_2384_); +if (v_isShared_2379_ == 0) { -lean_object* v_a_2557_; lean_object* v___x_2558_; lean_object* v___x_2559_; lean_object* v___x_2560_; lean_object* v___x_2561_; lean_object* v___x_2562_; lean_object* v___x_2563_; lean_object* v___x_2564_; lean_object* v___x_2565_; -v_a_2557_ = lean_ctor_get(v___x_2556_, 0); -lean_inc(v_a_2557_); -lean_dec_ref(v___x_2556_); -v___x_2558_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4); -v___x_2559_ = l_Lean_MessageData_ofFormat(v_a_2555_); -v___x_2560_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2560_, 0, v___x_2558_); -lean_ctor_set(v___x_2560_, 1, v___x_2559_); -v___x_2561_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6); -v___x_2562_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2562_, 0, v___x_2560_); -lean_ctor_set(v___x_2562_, 1, v___x_2561_); -v___x_2563_ = l_Lean_stringToMessageData(v_a_2557_); -v___x_2564_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2564_, 0, v___x_2562_); -lean_ctor_set(v___x_2564_, 1, v___x_2563_); -v___x_2565_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg(v___x_2527_, v___x_2564_, v_a_2519_, v_a_2520_, v_a_2521_, v_a_2522_); -lean_dec(v_a_2522_); -lean_dec_ref(v_a_2521_); -lean_dec(v_a_2520_); -lean_dec_ref(v_a_2519_); -if (lean_obj_tag(v___x_2565_) == 0) -{ -lean_dec_ref(v___x_2565_); -v___y_2535_ = v_a_2518_; -goto v___jp_2534_; +lean_ctor_set(v___x_2378_, 1, v___x_2385_); +lean_ctor_set(v___x_2378_, 0, v___x_2383_); +v___x_2387_ = v___x_2378_; +goto v_reusejp_2386_; } else { -lean_del_object(v___x_2531_); -lean_dec(v_fvarId_2515_); -return v___x_2565_; +lean_object* v_reuseFailAlloc_2388_; +v_reuseFailAlloc_2388_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2388_, 0, v___x_2383_); +lean_ctor_set(v_reuseFailAlloc_2388_, 1, v___x_2385_); +v___x_2387_ = v_reuseFailAlloc_2388_; +goto v_reusejp_2386_; } +v_reusejp_2386_: +{ +return v___x_2387_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg___boxed(lean_object* v_m_2392_, lean_object* v_a_2393_){ +_start: +{ +lean_object* v_res_2394_; +v_res_2394_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_m_2392_, v_a_2393_); +lean_dec_ref(v_a_2393_); +return v_res_2394_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(lean_object* v_k_2395_, lean_object* v_a_2396_, lean_object* v_a_2397_, lean_object* v_a_2398_, lean_object* v_a_2399_, lean_object* v_a_2400_, lean_object* v_a_2401_){ +_start: +{ +lean_object* v___x_2403_; lean_object* v_paramMap_2404_; lean_object* v_map_2405_; lean_object* v___x_2406_; +v___x_2403_ = lean_st_ref_get(v_a_2397_); +v_paramMap_2404_ = lean_ctor_get(v___x_2403_, 1); +lean_inc_ref(v_paramMap_2404_); +lean_dec(v___x_2403_); +v_map_2405_ = lean_ctor_get(v_paramMap_2404_, 0); +lean_inc_ref(v_map_2405_); +lean_dec_ref(v_paramMap_2404_); +v___x_2406_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_map_2405_, v_k_2395_); +lean_dec_ref(v_map_2405_); +if (lean_obj_tag(v___x_2406_) == 1) +{ +lean_object* v_val_2407_; lean_object* v___x_2408_; lean_object* v_paramMap_2409_; lean_object* v_owned_2410_; uint8_t v_modified_2411_; lean_object* v___x_2413_; uint8_t v_isShared_2414_; uint8_t v_isSharedCheck_2471_; +v_val_2407_ = lean_ctor_get(v___x_2406_, 0); +lean_inc(v_val_2407_); +lean_dec_ref(v___x_2406_); +v___x_2408_ = lean_st_ref_take(v_a_2397_); +v_paramMap_2409_ = lean_ctor_get(v___x_2408_, 1); +v_owned_2410_ = lean_ctor_get(v___x_2408_, 0); +v_modified_2411_ = lean_ctor_get_uint8(v___x_2408_, sizeof(void*)*2); +v_isSharedCheck_2471_ = !lean_is_exclusive(v___x_2408_); +if (v_isSharedCheck_2471_ == 0) +{ +v___x_2413_ = v___x_2408_; +v_isShared_2414_ = v_isSharedCheck_2471_; +goto v_resetjp_2412_; } else { -lean_object* v_a_2566_; lean_object* v___x_2568_; uint8_t v_isShared_2569_; uint8_t v_isSharedCheck_2573_; -lean_dec(v_a_2555_); -lean_del_object(v___x_2531_); -lean_dec(v_a_2522_); -lean_dec_ref(v_a_2521_); -lean_dec(v_a_2520_); -lean_dec_ref(v_a_2519_); -lean_dec(v_fvarId_2515_); -v_a_2566_ = lean_ctor_get(v___x_2556_, 0); -v_isSharedCheck_2573_ = !lean_is_exclusive(v___x_2556_); -if (v_isSharedCheck_2573_ == 0) +lean_inc(v_paramMap_2409_); +lean_inc(v_owned_2410_); +lean_dec(v___x_2408_); +v___x_2413_ = lean_box(0); +v_isShared_2414_ = v_isSharedCheck_2471_; +goto v_resetjp_2412_; +} +v_resetjp_2412_: { -v___x_2568_ = v___x_2556_; -v_isShared_2569_ = v_isSharedCheck_2573_; -goto v_resetjp_2567_; +lean_object* v_map_2415_; lean_object* v_annoatedBorrows_2416_; lean_object* v___x_2418_; uint8_t v_isShared_2419_; uint8_t v_isSharedCheck_2470_; +v_map_2415_ = lean_ctor_get(v_paramMap_2409_, 0); +v_annoatedBorrows_2416_ = lean_ctor_get(v_paramMap_2409_, 1); +v_isSharedCheck_2470_ = !lean_is_exclusive(v_paramMap_2409_); +if (v_isSharedCheck_2470_ == 0) +{ +v___x_2418_ = v_paramMap_2409_; +v_isShared_2419_ = v_isSharedCheck_2470_; +goto v_resetjp_2417_; } else { -lean_inc(v_a_2566_); -lean_dec(v___x_2556_); -v___x_2568_ = lean_box(0); -v_isShared_2569_ = v_isSharedCheck_2573_; -goto v_resetjp_2567_; +lean_inc(v_annoatedBorrows_2416_); +lean_inc(v_map_2415_); +lean_dec(v_paramMap_2409_); +v___x_2418_ = lean_box(0); +v_isShared_2419_ = v_isSharedCheck_2470_; +goto v_resetjp_2417_; } -v_resetjp_2567_: +v_resetjp_2417_: { -lean_object* v___x_2571_; -if (v_isShared_2569_ == 0) +lean_object* v___x_2420_; lean_object* v___x_2422_; +v___x_2420_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_map_2415_, v_k_2395_); +if (v_isShared_2419_ == 0) { -v___x_2571_ = v___x_2568_; -goto v_reusejp_2570_; +lean_ctor_set(v___x_2418_, 0, v___x_2420_); +v___x_2422_ = v___x_2418_; +goto v_reusejp_2421_; } else { -lean_object* v_reuseFailAlloc_2572_; -v_reuseFailAlloc_2572_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2572_, 0, v_a_2566_); -v___x_2571_ = v_reuseFailAlloc_2572_; -goto v_reusejp_2570_; +lean_object* v_reuseFailAlloc_2469_; +v_reuseFailAlloc_2469_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2469_, 0, v___x_2420_); +lean_ctor_set(v_reuseFailAlloc_2469_, 1, v_annoatedBorrows_2416_); +v___x_2422_ = v_reuseFailAlloc_2469_; +goto v_reusejp_2421_; } -v_reusejp_2570_: +v_reusejp_2421_: { -return v___x_2571_; +lean_object* v___x_2424_; +if (v_isShared_2414_ == 0) +{ +lean_ctor_set(v___x_2413_, 1, v___x_2422_); +v___x_2424_ = v___x_2413_; +goto v_reusejp_2423_; +} +else +{ +lean_object* v_reuseFailAlloc_2468_; +v_reuseFailAlloc_2468_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_2468_, 0, v_owned_2410_); +lean_ctor_set(v_reuseFailAlloc_2468_, 1, v___x_2422_); +lean_ctor_set_uint8(v_reuseFailAlloc_2468_, sizeof(void*)*2, v_modified_2411_); +v___x_2424_ = v_reuseFailAlloc_2468_; +goto v_reusejp_2423_; +} +v_reusejp_2423_: +{ +lean_object* v___x_2425_; size_t v_sz_2426_; size_t v___x_2427_; lean_object* v___x_2428_; +v___x_2425_ = lean_st_ref_set(v_a_2397_, v___x_2424_); +v_sz_2426_ = lean_array_size(v_val_2407_); +v___x_2427_ = ((size_t)0ULL); +v___x_2428_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_2426_, v___x_2427_, v_val_2407_, v_a_2397_); +if (lean_obj_tag(v___x_2428_) == 0) +{ +lean_object* v_a_2429_; lean_object* v___x_2431_; uint8_t v_isShared_2432_; uint8_t v_isSharedCheck_2459_; +v_a_2429_ = lean_ctor_get(v___x_2428_, 0); +v_isSharedCheck_2459_ = !lean_is_exclusive(v___x_2428_); +if (v_isSharedCheck_2459_ == 0) +{ +v___x_2431_ = v___x_2428_; +v_isShared_2432_ = v_isSharedCheck_2459_; +goto v_resetjp_2430_; +} +else +{ +lean_inc(v_a_2429_); +lean_dec(v___x_2428_); +v___x_2431_ = lean_box(0); +v_isShared_2432_ = v_isSharedCheck_2459_; +goto v_resetjp_2430_; +} +v_resetjp_2430_: +{ +lean_object* v___x_2433_; lean_object* v_paramMap_2434_; lean_object* v_owned_2435_; uint8_t v_modified_2436_; lean_object* v___x_2438_; uint8_t v_isShared_2439_; uint8_t v_isSharedCheck_2458_; +v___x_2433_ = lean_st_ref_take(v_a_2397_); +v_paramMap_2434_ = lean_ctor_get(v___x_2433_, 1); +v_owned_2435_ = lean_ctor_get(v___x_2433_, 0); +v_modified_2436_ = lean_ctor_get_uint8(v___x_2433_, sizeof(void*)*2); +v_isSharedCheck_2458_ = !lean_is_exclusive(v___x_2433_); +if (v_isSharedCheck_2458_ == 0) +{ +v___x_2438_ = v___x_2433_; +v_isShared_2439_ = v_isSharedCheck_2458_; +goto v_resetjp_2437_; +} +else +{ +lean_inc(v_paramMap_2434_); +lean_inc(v_owned_2435_); +lean_dec(v___x_2433_); +v___x_2438_ = lean_box(0); +v_isShared_2439_ = v_isSharedCheck_2458_; +goto v_resetjp_2437_; +} +v_resetjp_2437_: +{ +lean_object* v_map_2440_; lean_object* v_annoatedBorrows_2441_; lean_object* v___x_2443_; uint8_t v_isShared_2444_; uint8_t v_isSharedCheck_2457_; +v_map_2440_ = lean_ctor_get(v_paramMap_2434_, 0); +v_annoatedBorrows_2441_ = lean_ctor_get(v_paramMap_2434_, 1); +v_isSharedCheck_2457_ = !lean_is_exclusive(v_paramMap_2434_); +if (v_isSharedCheck_2457_ == 0) +{ +v___x_2443_ = v_paramMap_2434_; +v_isShared_2444_ = v_isSharedCheck_2457_; +goto v_resetjp_2442_; +} +else +{ +lean_inc(v_annoatedBorrows_2441_); +lean_inc(v_map_2440_); +lean_dec(v_paramMap_2434_); +v___x_2443_ = lean_box(0); +v_isShared_2444_ = v_isSharedCheck_2457_; +goto v_resetjp_2442_; +} +v_resetjp_2442_: +{ +lean_object* v___x_2445_; lean_object* v___x_2447_; +v___x_2445_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__2___redArg(v_map_2440_, v_k_2395_, v_a_2429_); +if (v_isShared_2444_ == 0) +{ +lean_ctor_set(v___x_2443_, 0, v___x_2445_); +v___x_2447_ = v___x_2443_; +goto v_reusejp_2446_; +} +else +{ +lean_object* v_reuseFailAlloc_2456_; +v_reuseFailAlloc_2456_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2456_, 0, v___x_2445_); +lean_ctor_set(v_reuseFailAlloc_2456_, 1, v_annoatedBorrows_2441_); +v___x_2447_ = v_reuseFailAlloc_2456_; +goto v_reusejp_2446_; +} +v_reusejp_2446_: +{ +lean_object* v___x_2449_; +if (v_isShared_2439_ == 0) +{ +lean_ctor_set(v___x_2438_, 1, v___x_2447_); +v___x_2449_ = v___x_2438_; +goto v_reusejp_2448_; +} +else +{ +lean_object* v_reuseFailAlloc_2455_; +v_reuseFailAlloc_2455_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_2455_, 0, v_owned_2435_); +lean_ctor_set(v_reuseFailAlloc_2455_, 1, v___x_2447_); +lean_ctor_set_uint8(v_reuseFailAlloc_2455_, sizeof(void*)*2, v_modified_2436_); +v___x_2449_ = v_reuseFailAlloc_2455_; +goto v_reusejp_2448_; +} +v_reusejp_2448_: +{ +lean_object* v___x_2450_; lean_object* v___x_2451_; lean_object* v___x_2453_; +v___x_2450_ = lean_st_ref_set(v_a_2397_, v___x_2449_); +v___x_2451_ = lean_box(0); +if (v_isShared_2432_ == 0) +{ +lean_ctor_set(v___x_2431_, 0, v___x_2451_); +v___x_2453_ = v___x_2431_; +goto v_reusejp_2452_; +} +else +{ +lean_object* v_reuseFailAlloc_2454_; +v_reuseFailAlloc_2454_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2454_, 0, v___x_2451_); +v___x_2453_ = v_reuseFailAlloc_2454_; +goto v_reusejp_2452_; +} +v_reusejp_2452_: +{ +return v___x_2453_; +} +} +} } } } } else { -lean_object* v_a_2574_; lean_object* v___x_2576_; uint8_t v_isShared_2577_; uint8_t v_isSharedCheck_2581_; -lean_del_object(v___x_2531_); -lean_dec(v_a_2522_); -lean_dec_ref(v_a_2521_); -lean_dec(v_a_2520_); -lean_dec_ref(v_a_2519_); -lean_dec_ref(v_reason_2516_); -lean_dec(v_fvarId_2515_); -v_a_2574_ = lean_ctor_get(v___x_2554_, 0); -v_isSharedCheck_2581_ = !lean_is_exclusive(v___x_2554_); -if (v_isSharedCheck_2581_ == 0) +lean_object* v_a_2460_; lean_object* v___x_2462_; uint8_t v_isShared_2463_; uint8_t v_isSharedCheck_2467_; +lean_dec_ref(v_k_2395_); +v_a_2460_ = lean_ctor_get(v___x_2428_, 0); +v_isSharedCheck_2467_ = !lean_is_exclusive(v___x_2428_); +if (v_isSharedCheck_2467_ == 0) { -v___x_2576_ = v___x_2554_; -v_isShared_2577_ = v_isSharedCheck_2581_; -goto v_resetjp_2575_; +v___x_2462_ = v___x_2428_; +v_isShared_2463_ = v_isSharedCheck_2467_; +goto v_resetjp_2461_; } else { -lean_inc(v_a_2574_); -lean_dec(v___x_2554_); -v___x_2576_ = lean_box(0); -v_isShared_2577_ = v_isSharedCheck_2581_; -goto v_resetjp_2575_; +lean_inc(v_a_2460_); +lean_dec(v___x_2428_); +v___x_2462_ = lean_box(0); +v_isShared_2463_ = v_isSharedCheck_2467_; +goto v_resetjp_2461_; } -v_resetjp_2575_: +v_resetjp_2461_: { -lean_object* v___x_2579_; -if (v_isShared_2577_ == 0) +lean_object* v___x_2465_; +if (v_isShared_2463_ == 0) { -v___x_2579_ = v___x_2576_; -goto v_reusejp_2578_; +v___x_2465_ = v___x_2462_; +goto v_reusejp_2464_; } else { -lean_object* v_reuseFailAlloc_2580_; -v_reuseFailAlloc_2580_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2580_, 0, v_a_2574_); -v___x_2579_ = v_reuseFailAlloc_2580_; -goto v_reusejp_2578_; +lean_object* v_reuseFailAlloc_2466_; +v_reuseFailAlloc_2466_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2466_, 0, v_a_2460_); +v___x_2465_ = v_reuseFailAlloc_2466_; +goto v_reusejp_2464_; } -v_reusejp_2578_: +v_reusejp_2464_: { +return v___x_2465_; +} +} +} +} +} +} +} +} +else +{ +lean_object* v___x_2472_; lean_object* v___x_2473_; +lean_dec(v___x_2406_); +lean_dec_ref(v_k_2395_); +v___x_2472_ = lean_box(0); +v___x_2473_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2473_, 0, v___x_2472_); +return v___x_2473_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap___boxed(lean_object* v_k_2474_, lean_object* v_a_2475_, lean_object* v_a_2476_, lean_object* v_a_2477_, lean_object* v_a_2478_, lean_object* v_a_2479_, lean_object* v_a_2480_, lean_object* v_a_2481_){ +_start: +{ +lean_object* v_res_2482_; +v_res_2482_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v_k_2474_, v_a_2475_, v_a_2476_, v_a_2477_, v_a_2478_, v_a_2479_, v_a_2480_); +lean_dec(v_a_2480_); +lean_dec_ref(v_a_2479_); +lean_dec(v_a_2478_); +lean_dec_ref(v_a_2477_); +lean_dec(v_a_2476_); +lean_dec_ref(v_a_2475_); +return v_res_2482_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0(lean_object* v_00_u03b2_2483_, lean_object* v_m_2484_, lean_object* v_a_2485_){ +_start: +{ +lean_object* v___x_2486_; +v___x_2486_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_m_2484_, v_a_2485_); +return v___x_2486_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___boxed(lean_object* v_00_u03b2_2487_, lean_object* v_m_2488_, lean_object* v_a_2489_){ +_start: +{ +lean_object* v_res_2490_; +v_res_2490_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0(v_00_u03b2_2487_, v_m_2488_, v_a_2489_); +lean_dec_ref(v_a_2489_); +lean_dec_ref(v_m_2488_); +return v_res_2490_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1(lean_object* v_00_u03b2_2491_, lean_object* v_m_2492_, lean_object* v_a_2493_){ +_start: +{ +lean_object* v___x_2494_; +v___x_2494_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___redArg(v_m_2492_, v_a_2493_); +return v___x_2494_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1___boxed(lean_object* v_00_u03b2_2495_, lean_object* v_m_2496_, lean_object* v_a_2497_){ +_start: +{ +lean_object* v_res_2498_; +v_res_2498_ = l_Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1(v_00_u03b2_2495_, v_m_2496_, v_a_2497_); +lean_dec_ref(v_a_2497_); +return v_res_2498_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2(size_t v_sz_2499_, size_t v_i_2500_, lean_object* v_bs_2501_, lean_object* v___y_2502_, lean_object* v___y_2503_, lean_object* v___y_2504_, lean_object* v___y_2505_, lean_object* v___y_2506_, lean_object* v___y_2507_){ +_start: +{ +lean_object* v___x_2509_; +v___x_2509_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___redArg(v_sz_2499_, v_i_2500_, v_bs_2501_, v___y_2503_); +return v___x_2509_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2___boxed(lean_object* v_sz_2510_, lean_object* v_i_2511_, lean_object* v_bs_2512_, lean_object* v___y_2513_, lean_object* v___y_2514_, lean_object* v___y_2515_, lean_object* v___y_2516_, lean_object* v___y_2517_, lean_object* v___y_2518_, lean_object* v___y_2519_){ +_start: +{ +size_t v_sz_boxed_2520_; size_t v_i_boxed_2521_; lean_object* v_res_2522_; +v_sz_boxed_2520_ = lean_unbox_usize(v_sz_2510_); +lean_dec(v_sz_2510_); +v_i_boxed_2521_ = lean_unbox_usize(v_i_2511_); +lean_dec(v_i_2511_); +v_res_2522_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__2(v_sz_boxed_2520_, v_i_boxed_2521_, v_bs_2512_, v___y_2513_, v___y_2514_, v___y_2515_, v___y_2516_, v___y_2517_, v___y_2518_); +lean_dec(v___y_2518_); +lean_dec_ref(v___y_2517_); +lean_dec(v___y_2516_); +lean_dec_ref(v___y_2515_); +lean_dec(v___y_2514_); +lean_dec_ref(v___y_2513_); +return v_res_2522_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0(lean_object* v_00_u03b2_2523_, lean_object* v_a_2524_, lean_object* v_x_2525_){ +_start: +{ +lean_object* v___x_2526_; +v___x_2526_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___redArg(v_a_2524_, v_x_2525_); +return v___x_2526_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0___boxed(lean_object* v_00_u03b2_2527_, lean_object* v_a_2528_, lean_object* v_x_2529_){ +_start: +{ +lean_object* v_res_2530_; +v_res_2530_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0_spec__0(v_00_u03b2_2527_, v_a_2528_, v_x_2529_); +lean_dec(v_x_2529_); +lean_dec_ref(v_a_2528_); +return v_res_2530_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2(lean_object* v_00_u03b2_2531_, lean_object* v_a_2532_, lean_object* v_x_2533_){ +_start: +{ +lean_object* v___x_2534_; +v___x_2534_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___redArg(v_a_2532_, v_x_2533_); +return v___x_2534_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2___boxed(lean_object* v_00_u03b2_2535_, lean_object* v_a_2536_, lean_object* v_x_2537_){ +_start: +{ +lean_object* v_res_2538_; +v_res_2538_ = l_Std_DHashMap_Internal_AssocList_erase___at___00Std_DHashMap_Internal_Raw_u2080_erase___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__1_spec__2(v_00_u03b2_2535_, v_a_2536_, v_x_2537_); +lean_dec_ref(v_a_2536_); +return v_res_2538_; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(lean_object* v_cls_2542_, lean_object* v___y_2543_){ +_start: +{ +lean_object* v_options_2545_; uint8_t v_hasTrace_2546_; +v_options_2545_ = lean_ctor_get(v___y_2543_, 2); +v_hasTrace_2546_ = lean_ctor_get_uint8(v_options_2545_, sizeof(void*)*1); +if (v_hasTrace_2546_ == 0) +{ +lean_object* v___x_2547_; lean_object* v___x_2548_; +lean_dec(v_cls_2542_); +v___x_2547_ = lean_box(v_hasTrace_2546_); +v___x_2548_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2548_, 0, v___x_2547_); +return v___x_2548_; +} +else +{ +lean_object* v_inheritedTraceOptions_2549_; lean_object* v___x_2550_; lean_object* v___x_2551_; uint8_t v___x_2552_; lean_object* v___x_2553_; lean_object* v___x_2554_; +v_inheritedTraceOptions_2549_ = lean_ctor_get(v___y_2543_, 13); +v___x_2550_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg___closed__1)); +v___x_2551_ = l_Lean_Name_append(v___x_2550_, v_cls_2542_); +v___x_2552_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_2549_, v_options_2545_, v___x_2551_); +lean_dec(v___x_2551_); +v___x_2553_ = lean_box(v___x_2552_); +v___x_2554_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2554_, 0, v___x_2553_); +return v___x_2554_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg___boxed(lean_object* v_cls_2555_, lean_object* v___y_2556_, lean_object* v___y_2557_){ +_start: +{ +lean_object* v_res_2558_; +v_res_2558_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v_cls_2555_, v___y_2556_); +lean_dec_ref(v___y_2556_); +return v_res_2558_; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0(lean_object* v_cls_2559_, lean_object* v___y_2560_, lean_object* v___y_2561_, lean_object* v___y_2562_, lean_object* v___y_2563_, lean_object* v___y_2564_, lean_object* v___y_2565_){ +_start: +{ +lean_object* v___x_2567_; +v___x_2567_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v_cls_2559_, v___y_2564_); +return v___x_2567_; +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___boxed(lean_object* v_cls_2568_, lean_object* v___y_2569_, lean_object* v___y_2570_, lean_object* v___y_2571_, lean_object* v___y_2572_, lean_object* v___y_2573_, lean_object* v___y_2574_, lean_object* v___y_2575_){ +_start: +{ +lean_object* v_res_2576_; +v_res_2576_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0(v_cls_2568_, v___y_2569_, v___y_2570_, v___y_2571_, v___y_2572_, v___y_2573_, v___y_2574_); +lean_dec(v___y_2574_); +lean_dec_ref(v___y_2573_); +lean_dec(v___y_2572_); +lean_dec_ref(v___y_2571_); +lean_dec(v___y_2570_); +lean_dec_ref(v___y_2569_); +return v_res_2576_; +} +} +static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0(void){ +_start: +{ +lean_object* v___x_2577_; +v___x_2577_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_2577_; +} +} +static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1(void){ +_start: +{ +lean_object* v___x_2578_; lean_object* v___x_2579_; +v___x_2578_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__0); +v___x_2579_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2579_, 0, v___x_2578_); return v___x_2579_; } } -} -} -v___jp_2534_: +static lean_object* _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2(void){ +_start: { -lean_object* v___x_2536_; lean_object* v_owned_2537_; lean_object* v_paramMap_2538_; lean_object* v___x_2540_; uint8_t v_isShared_2541_; uint8_t v_isSharedCheck_2551_; -v___x_2536_ = lean_st_ref_take(v___y_2535_); -v_owned_2537_ = lean_ctor_get(v___x_2536_, 0); -v_paramMap_2538_ = lean_ctor_get(v___x_2536_, 1); -v_isSharedCheck_2551_ = !lean_is_exclusive(v___x_2536_); -if (v_isSharedCheck_2551_ == 0) +lean_object* v___x_2580_; lean_object* v___x_2581_; lean_object* v___x_2582_; +v___x_2580_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__1); +v___x_2581_ = lean_unsigned_to_nat(0u); +v___x_2582_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_2582_, 0, v___x_2581_); +lean_ctor_set(v___x_2582_, 1, v___x_2581_); +lean_ctor_set(v___x_2582_, 2, v___x_2581_); +lean_ctor_set(v___x_2582_, 3, v___x_2580_); +lean_ctor_set(v___x_2582_, 4, v___x_2580_); +lean_ctor_set(v___x_2582_, 5, v___x_2580_); +lean_ctor_set(v___x_2582_, 6, v___x_2580_); +lean_ctor_set(v___x_2582_, 7, v___x_2580_); +lean_ctor_set(v___x_2582_, 8, v___x_2580_); +return v___x_2582_; +} +} +static double _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3(void){ +_start: { -v___x_2540_ = v___x_2536_; -v_isShared_2541_ = v_isSharedCheck_2551_; -goto v_resetjp_2539_; -} -else -{ -lean_inc(v_paramMap_2538_); -lean_inc(v_owned_2537_); -lean_dec(v___x_2536_); -v___x_2540_ = lean_box(0); -v_isShared_2541_ = v_isSharedCheck_2551_; -goto v_resetjp_2539_; -} -v_resetjp_2539_: -{ -lean_object* v___x_2542_; lean_object* v___x_2543_; lean_object* v___x_2545_; -v___x_2542_ = lean_box(0); -v___x_2543_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v_owned_2537_, v_fvarId_2515_, v___x_2542_); -if (v_isShared_2541_ == 0) -{ -lean_ctor_set(v___x_2540_, 0, v___x_2543_); -v___x_2545_ = v___x_2540_; -goto v_reusejp_2544_; -} -else -{ -lean_object* v_reuseFailAlloc_2550_; -v_reuseFailAlloc_2550_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_2550_, 0, v___x_2543_); -lean_ctor_set(v_reuseFailAlloc_2550_, 1, v_paramMap_2538_); -v___x_2545_ = v_reuseFailAlloc_2550_; -goto v_reusejp_2544_; -} -v_reusejp_2544_: -{ -lean_object* v___x_2546_; lean_object* v___x_2548_; -lean_ctor_set_uint8(v___x_2545_, sizeof(void*)*2, v___x_2533_); -v___x_2546_ = lean_st_ref_set(v___y_2535_, v___x_2545_); -if (v_isShared_2532_ == 0) -{ -lean_ctor_set(v___x_2531_, 0, v___x_2542_); -v___x_2548_ = v___x_2531_; -goto v_reusejp_2547_; -} -else -{ -lean_object* v_reuseFailAlloc_2549_; -v_reuseFailAlloc_2549_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2549_, 0, v___x_2542_); -v___x_2548_ = v_reuseFailAlloc_2549_; -goto v_reusejp_2547_; -} -v_reusejp_2547_: -{ -return v___x_2548_; -} -} -} -} -} -} -else -{ -lean_object* v___x_2583_; lean_object* v___x_2584_; -lean_dec(v_a_2522_); -lean_dec_ref(v_a_2521_); -lean_dec(v_a_2520_); -lean_dec_ref(v_a_2519_); -lean_dec_ref(v_reason_2516_); -lean_dec(v_fvarId_2515_); -v___x_2583_ = lean_box(0); -v___x_2584_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2584_, 0, v___x_2583_); +lean_object* v___x_2583_; double v___x_2584_; +v___x_2583_ = lean_unsigned_to_nat(0u); +v___x_2584_ = lean_float_of_nat(v___x_2583_); return v___x_2584_; } } -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___boxed(lean_object* v_fvarId_2585_, lean_object* v_reason_2586_, lean_object* v_a_2587_, lean_object* v_a_2588_, lean_object* v_a_2589_, lean_object* v_a_2590_, lean_object* v_a_2591_, lean_object* v_a_2592_, lean_object* v_a_2593_){ +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(lean_object* v_cls_2588_, lean_object* v_msg_2589_, lean_object* v___y_2590_, lean_object* v___y_2591_, lean_object* v___y_2592_, lean_object* v___y_2593_){ _start: { -lean_object* v_res_2594_; -v_res_2594_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_2585_, v_reason_2586_, v_a_2587_, v_a_2588_, v_a_2589_, v_a_2590_, v_a_2591_, v_a_2592_); -lean_dec(v_a_2588_); -lean_dec_ref(v_a_2587_); -return v_res_2594_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1(lean_object* v_00_u03b2_2595_, lean_object* v_m_2596_, lean_object* v_a_2597_, lean_object* v_b_2598_){ -_start: +lean_object* v_options_2595_; lean_object* v_ref_2596_; lean_object* v___x_2597_; lean_object* v___x_2598_; lean_object* v___x_2599_; +v_options_2595_ = lean_ctor_get(v___y_2592_, 2); +v_ref_2596_ = lean_ctor_get(v___y_2592_, 5); +v___x_2597_ = lean_st_ref_get(v___y_2593_); +v___x_2598_ = lean_st_ref_get(v___y_2591_); +v___x_2599_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_2590_); +if (lean_obj_tag(v___x_2599_) == 0) { -lean_object* v___x_2599_; -v___x_2599_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v_m_2596_, v_a_2597_, v_b_2598_); -return v___x_2599_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1(lean_object* v_00_u03b2_2600_, lean_object* v_data_2601_){ -_start: +lean_object* v_a_2600_; lean_object* v___x_2602_; uint8_t v_isShared_2603_; uint8_t v_isSharedCheck_2658_; +v_a_2600_ = lean_ctor_get(v___x_2599_, 0); +v_isSharedCheck_2658_ = !lean_is_exclusive(v___x_2599_); +if (v_isSharedCheck_2658_ == 0) { -lean_object* v___x_2602_; -v___x_2602_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1___redArg(v_data_2601_); -return v___x_2602_; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3(lean_object* v_00_u03b2_2603_, lean_object* v_i_2604_, lean_object* v_source_2605_, lean_object* v_target_2606_){ -_start: -{ -lean_object* v___x_2607_; -v___x_2607_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3___redArg(v_i_2604_, v_source_2605_, v_target_2606_); -return v___x_2607_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4(lean_object* v_00_u03b2_2608_, lean_object* v_x_2609_, lean_object* v_x_2610_){ -_start: -{ -lean_object* v___x_2611_; -v___x_2611_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1_spec__1_spec__3_spec__4___redArg(v_x_2609_, v_x_2610_); -return v___x_2611_; -} -} -static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0(void){ -_start: -{ -uint8_t v___x_2612_; lean_object* v___x_2613_; -v___x_2612_ = 1; -v___x_2613_ = l_Lean_Compiler_LCNF_instInhabitedParam_default(v___x_2612_); -return v___x_2613_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(lean_object* v_upperBound_2614_, lean_object* v_args_2615_, lean_object* v_ps_2616_, lean_object* v_reason_2617_, lean_object* v_a_2618_, lean_object* v_b_2619_, lean_object* v___y_2620_, lean_object* v___y_2621_, lean_object* v___y_2622_, lean_object* v___y_2623_, lean_object* v___y_2624_, lean_object* v___y_2625_){ -_start: -{ -lean_object* v_a_2628_; uint8_t v___x_2632_; -v___x_2632_ = lean_nat_dec_lt(v_a_2618_, v_upperBound_2614_); -if (v___x_2632_ == 0) -{ -lean_object* v___x_2633_; -lean_dec(v___y_2625_); -lean_dec_ref(v___y_2624_); -lean_dec(v___y_2623_); -lean_dec_ref(v___y_2622_); -lean_dec(v_a_2618_); -lean_dec_ref(v_reason_2617_); -v___x_2633_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2633_, 0, v_b_2619_); -return v___x_2633_; +v___x_2602_ = v___x_2599_; +v_isShared_2603_ = v_isSharedCheck_2658_; +goto v_resetjp_2601_; } else { -lean_object* v___x_2634_; lean_object* v___x_2635_; -v___x_2634_ = lean_box(0); -v___x_2635_ = lean_array_fget_borrowed(v_args_2615_, v_a_2618_); -if (lean_obj_tag(v___x_2635_) == 1) +lean_inc(v_a_2600_); +lean_dec(v___x_2599_); +v___x_2602_ = lean_box(0); +v_isShared_2603_ = v_isSharedCheck_2658_; +goto v_resetjp_2601_; +} +v_resetjp_2601_: { -lean_object* v_fvarId_2636_; lean_object* v___x_2637_; -v_fvarId_2636_ = lean_ctor_get(v___x_2635_, 0); -v___x_2637_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_2636_, v___y_2621_); -if (lean_obj_tag(v___x_2637_) == 0) +lean_object* v_env_2604_; lean_object* v_lctx_2605_; lean_object* v___x_2607_; uint8_t v_isShared_2608_; uint8_t v_isSharedCheck_2656_; +v_env_2604_ = lean_ctor_get(v___x_2597_, 0); +lean_inc_ref(v_env_2604_); +lean_dec(v___x_2597_); +v_lctx_2605_ = lean_ctor_get(v___x_2598_, 0); +v_isSharedCheck_2656_ = !lean_is_exclusive(v___x_2598_); +if (v_isSharedCheck_2656_ == 0) { -lean_object* v_a_2638_; uint8_t v___x_2639_; -v_a_2638_ = lean_ctor_get(v___x_2637_, 0); -lean_inc(v_a_2638_); -lean_dec_ref(v___x_2637_); -v___x_2639_ = lean_unbox(v_a_2638_); -lean_dec(v_a_2638_); -if (v___x_2639_ == 0) -{ -v_a_2628_ = v___x_2634_; -goto v___jp_2627_; +lean_object* v_unused_2657_; +v_unused_2657_ = lean_ctor_get(v___x_2598_, 1); +lean_dec(v_unused_2657_); +v___x_2607_ = v___x_2598_; +v_isShared_2608_ = v_isSharedCheck_2656_; +goto v_resetjp_2606_; } else { -lean_object* v___x_2640_; lean_object* v___x_2641_; lean_object* v_fvarId_2642_; lean_object* v___x_2643_; -v___x_2640_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0); -v___x_2641_ = lean_array_get_borrowed(v___x_2640_, v_ps_2616_, v_a_2618_); -v_fvarId_2642_ = lean_ctor_get(v___x_2641_, 0); -lean_inc(v___y_2625_); -lean_inc_ref(v___y_2624_); -lean_inc(v___y_2623_); -lean_inc_ref(v___y_2622_); -lean_inc_ref(v_reason_2617_); -lean_inc(v_fvarId_2642_); -v___x_2643_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_2642_, v_reason_2617_, v___y_2620_, v___y_2621_, v___y_2622_, v___y_2623_, v___y_2624_, v___y_2625_); -if (lean_obj_tag(v___x_2643_) == 0) +lean_inc(v_lctx_2605_); +lean_dec(v___x_2598_); +v___x_2607_ = lean_box(0); +v_isShared_2608_ = v_isSharedCheck_2656_; +goto v_resetjp_2606_; +} +v_resetjp_2606_: { -lean_dec_ref(v___x_2643_); -v_a_2628_ = v___x_2634_; -goto v___jp_2627_; +lean_object* v___x_2609_; lean_object* v___x_2610_; lean_object* v_traceState_2611_; lean_object* v_env_2612_; lean_object* v_nextMacroScope_2613_; lean_object* v_ngen_2614_; lean_object* v_auxDeclNGen_2615_; lean_object* v_cache_2616_; lean_object* v_messages_2617_; lean_object* v_infoState_2618_; lean_object* v_snapshotTasks_2619_; lean_object* v___x_2621_; uint8_t v_isShared_2622_; uint8_t v_isSharedCheck_2655_; +v___x_2609_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2); +v___x_2610_ = lean_st_ref_take(v___y_2593_); +v_traceState_2611_ = lean_ctor_get(v___x_2610_, 4); +v_env_2612_ = lean_ctor_get(v___x_2610_, 0); +v_nextMacroScope_2613_ = lean_ctor_get(v___x_2610_, 1); +v_ngen_2614_ = lean_ctor_get(v___x_2610_, 2); +v_auxDeclNGen_2615_ = lean_ctor_get(v___x_2610_, 3); +v_cache_2616_ = lean_ctor_get(v___x_2610_, 5); +v_messages_2617_ = lean_ctor_get(v___x_2610_, 6); +v_infoState_2618_ = lean_ctor_get(v___x_2610_, 7); +v_snapshotTasks_2619_ = lean_ctor_get(v___x_2610_, 8); +v_isSharedCheck_2655_ = !lean_is_exclusive(v___x_2610_); +if (v_isSharedCheck_2655_ == 0) +{ +v___x_2621_ = v___x_2610_; +v_isShared_2622_ = v_isSharedCheck_2655_; +goto v_resetjp_2620_; } else { -lean_dec(v___y_2625_); -lean_dec_ref(v___y_2624_); -lean_dec(v___y_2623_); -lean_dec_ref(v___y_2622_); -lean_dec(v_a_2618_); -lean_dec_ref(v_reason_2617_); -return v___x_2643_; -} +lean_inc(v_snapshotTasks_2619_); +lean_inc(v_infoState_2618_); +lean_inc(v_messages_2617_); +lean_inc(v_cache_2616_); +lean_inc(v_traceState_2611_); +lean_inc(v_auxDeclNGen_2615_); +lean_inc(v_ngen_2614_); +lean_inc(v_nextMacroScope_2613_); +lean_inc(v_env_2612_); +lean_dec(v___x_2610_); +v___x_2621_ = lean_box(0); +v_isShared_2622_ = v_isSharedCheck_2655_; +goto v_resetjp_2620_; } +v_resetjp_2620_: +{ +uint64_t v_tid_2623_; lean_object* v_traces_2624_; lean_object* v___x_2626_; uint8_t v_isShared_2627_; uint8_t v_isSharedCheck_2654_; +v_tid_2623_ = lean_ctor_get_uint64(v_traceState_2611_, sizeof(void*)*1); +v_traces_2624_ = lean_ctor_get(v_traceState_2611_, 0); +v_isSharedCheck_2654_ = !lean_is_exclusive(v_traceState_2611_); +if (v_isSharedCheck_2654_ == 0) +{ +v___x_2626_ = v_traceState_2611_; +v_isShared_2627_ = v_isSharedCheck_2654_; +goto v_resetjp_2625_; } else { -lean_object* v_a_2644_; lean_object* v___x_2646_; uint8_t v_isShared_2647_; uint8_t v_isSharedCheck_2651_; -lean_dec(v___y_2625_); -lean_dec_ref(v___y_2624_); -lean_dec(v___y_2623_); -lean_dec_ref(v___y_2622_); -lean_dec(v_a_2618_); -lean_dec_ref(v_reason_2617_); -v_a_2644_ = lean_ctor_get(v___x_2637_, 0); -v_isSharedCheck_2651_ = !lean_is_exclusive(v___x_2637_); -if (v_isSharedCheck_2651_ == 0) +lean_inc(v_traces_2624_); +lean_dec(v_traceState_2611_); +v___x_2626_ = lean_box(0); +v_isShared_2627_ = v_isSharedCheck_2654_; +goto v_resetjp_2625_; +} +v_resetjp_2625_: { -v___x_2646_ = v___x_2637_; -v_isShared_2647_ = v_isSharedCheck_2651_; -goto v_resetjp_2645_; +uint8_t v___x_2628_; lean_object* v___x_2629_; lean_object* v___x_2630_; lean_object* v___x_2632_; +v___x_2628_ = lean_unbox(v_a_2600_); +lean_dec(v_a_2600_); +v___x_2629_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_2605_, v___x_2628_); +lean_dec_ref(v_lctx_2605_); +lean_inc_ref(v_options_2595_); +v___x_2630_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_2630_, 0, v_env_2604_); +lean_ctor_set(v___x_2630_, 1, v___x_2609_); +lean_ctor_set(v___x_2630_, 2, v___x_2629_); +lean_ctor_set(v___x_2630_, 3, v_options_2595_); +if (v_isShared_2608_ == 0) +{ +lean_ctor_set_tag(v___x_2607_, 3); +lean_ctor_set(v___x_2607_, 1, v_msg_2589_); +lean_ctor_set(v___x_2607_, 0, v___x_2630_); +v___x_2632_ = v___x_2607_; +goto v_reusejp_2631_; } else { -lean_inc(v_a_2644_); -lean_dec(v___x_2637_); -v___x_2646_ = lean_box(0); -v_isShared_2647_ = v_isSharedCheck_2651_; -goto v_resetjp_2645_; +lean_object* v_reuseFailAlloc_2653_; +v_reuseFailAlloc_2653_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2653_, 0, v___x_2630_); +lean_ctor_set(v_reuseFailAlloc_2653_, 1, v_msg_2589_); +v___x_2632_ = v_reuseFailAlloc_2653_; +goto v_reusejp_2631_; } -v_resetjp_2645_: +v_reusejp_2631_: { -lean_object* v___x_2649_; -if (v_isShared_2647_ == 0) +lean_object* v___x_2633_; double v___x_2634_; uint8_t v___x_2635_; lean_object* v___x_2636_; lean_object* v___x_2637_; lean_object* v___x_2638_; lean_object* v___x_2639_; lean_object* v___x_2640_; lean_object* v___x_2641_; lean_object* v___x_2643_; +v___x_2633_ = lean_box(0); +v___x_2634_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__3); +v___x_2635_ = 0; +v___x_2636_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__4)); +v___x_2637_ = lean_alloc_ctor(0, 3, 17); +lean_ctor_set(v___x_2637_, 0, v_cls_2588_); +lean_ctor_set(v___x_2637_, 1, v___x_2633_); +lean_ctor_set(v___x_2637_, 2, v___x_2636_); +lean_ctor_set_float(v___x_2637_, sizeof(void*)*3, v___x_2634_); +lean_ctor_set_float(v___x_2637_, sizeof(void*)*3 + 8, v___x_2634_); +lean_ctor_set_uint8(v___x_2637_, sizeof(void*)*3 + 16, v___x_2635_); +v___x_2638_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__5)); +v___x_2639_ = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(v___x_2639_, 0, v___x_2637_); +lean_ctor_set(v___x_2639_, 1, v___x_2632_); +lean_ctor_set(v___x_2639_, 2, v___x_2638_); +lean_inc(v_ref_2596_); +v___x_2640_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2640_, 0, v_ref_2596_); +lean_ctor_set(v___x_2640_, 1, v___x_2639_); +v___x_2641_ = l_Lean_PersistentArray_push___redArg(v_traces_2624_, v___x_2640_); +if (v_isShared_2627_ == 0) { -v___x_2649_ = v___x_2646_; +lean_ctor_set(v___x_2626_, 0, v___x_2641_); +v___x_2643_ = v___x_2626_; +goto v_reusejp_2642_; +} +else +{ +lean_object* v_reuseFailAlloc_2652_; +v_reuseFailAlloc_2652_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_2652_, 0, v___x_2641_); +lean_ctor_set_uint64(v_reuseFailAlloc_2652_, sizeof(void*)*1, v_tid_2623_); +v___x_2643_ = v_reuseFailAlloc_2652_; +goto v_reusejp_2642_; +} +v_reusejp_2642_: +{ +lean_object* v___x_2645_; +if (v_isShared_2622_ == 0) +{ +lean_ctor_set(v___x_2621_, 4, v___x_2643_); +v___x_2645_ = v___x_2621_; +goto v_reusejp_2644_; +} +else +{ +lean_object* v_reuseFailAlloc_2651_; +v_reuseFailAlloc_2651_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2651_, 0, v_env_2612_); +lean_ctor_set(v_reuseFailAlloc_2651_, 1, v_nextMacroScope_2613_); +lean_ctor_set(v_reuseFailAlloc_2651_, 2, v_ngen_2614_); +lean_ctor_set(v_reuseFailAlloc_2651_, 3, v_auxDeclNGen_2615_); +lean_ctor_set(v_reuseFailAlloc_2651_, 4, v___x_2643_); +lean_ctor_set(v_reuseFailAlloc_2651_, 5, v_cache_2616_); +lean_ctor_set(v_reuseFailAlloc_2651_, 6, v_messages_2617_); +lean_ctor_set(v_reuseFailAlloc_2651_, 7, v_infoState_2618_); +lean_ctor_set(v_reuseFailAlloc_2651_, 8, v_snapshotTasks_2619_); +v___x_2645_ = v_reuseFailAlloc_2651_; +goto v_reusejp_2644_; +} +v_reusejp_2644_: +{ +lean_object* v___x_2646_; lean_object* v___x_2647_; lean_object* v___x_2649_; +v___x_2646_ = lean_st_ref_set(v___y_2593_, v___x_2645_); +v___x_2647_ = lean_box(0); +if (v_isShared_2603_ == 0) +{ +lean_ctor_set(v___x_2602_, 0, v___x_2647_); +v___x_2649_ = v___x_2602_; goto v_reusejp_2648_; } else { lean_object* v_reuseFailAlloc_2650_; -v_reuseFailAlloc_2650_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2650_, 0, v_a_2644_); +v_reuseFailAlloc_2650_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2650_, 0, v___x_2647_); v___x_2649_ = v_reuseFailAlloc_2650_; goto v_reusejp_2648_; } @@ -8656,379 +8848,1165 @@ return v___x_2649_; } } } +} +} +} +} +} else { -v_a_2628_ = v___x_2634_; -goto v___jp_2627_; -} -} -v___jp_2627_: +lean_object* v_a_2659_; lean_object* v___x_2661_; uint8_t v_isShared_2662_; uint8_t v_isSharedCheck_2666_; +lean_dec(v___x_2598_); +lean_dec(v___x_2597_); +lean_dec_ref(v_msg_2589_); +lean_dec(v_cls_2588_); +v_a_2659_ = lean_ctor_get(v___x_2599_, 0); +v_isSharedCheck_2666_ = !lean_is_exclusive(v___x_2599_); +if (v_isSharedCheck_2666_ == 0) { -lean_object* v___x_2629_; lean_object* v___x_2630_; -v___x_2629_ = lean_unsigned_to_nat(1u); -v___x_2630_ = lean_nat_add(v_a_2618_, v___x_2629_); -lean_dec(v_a_2618_); -v_a_2618_ = v___x_2630_; -v_b_2619_ = v_a_2628_; +v___x_2661_ = v___x_2599_; +v_isShared_2662_ = v_isSharedCheck_2666_; +goto v_resetjp_2660_; +} +else +{ +lean_inc(v_a_2659_); +lean_dec(v___x_2599_); +v___x_2661_ = lean_box(0); +v_isShared_2662_ = v_isSharedCheck_2666_; +goto v_resetjp_2660_; +} +v_resetjp_2660_: +{ +lean_object* v___x_2664_; +if (v_isShared_2662_ == 0) +{ +v___x_2664_ = v___x_2661_; +goto v_reusejp_2663_; +} +else +{ +lean_object* v_reuseFailAlloc_2665_; +v_reuseFailAlloc_2665_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2665_, 0, v_a_2659_); +v___x_2664_ = v_reuseFailAlloc_2665_; +goto v_reusejp_2663_; +} +v_reusejp_2663_: +{ +return v___x_2664_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___boxed(lean_object* v_cls_2667_, lean_object* v_msg_2668_, lean_object* v___y_2669_, lean_object* v___y_2670_, lean_object* v___y_2671_, lean_object* v___y_2672_, lean_object* v___y_2673_){ +_start: +{ +lean_object* v_res_2674_; +v_res_2674_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v_cls_2667_, v_msg_2668_, v___y_2669_, v___y_2670_, v___y_2671_, v___y_2672_); +lean_dec(v___y_2672_); +lean_dec_ref(v___y_2671_); +lean_dec(v___y_2670_); +lean_dec_ref(v___y_2669_); +return v_res_2674_; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1(lean_object* v_cls_2675_, lean_object* v_msg_2676_, lean_object* v___y_2677_, lean_object* v___y_2678_, lean_object* v___y_2679_, lean_object* v___y_2680_, lean_object* v___y_2681_, lean_object* v___y_2682_){ +_start: +{ +lean_object* v___x_2684_; +v___x_2684_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v_cls_2675_, v_msg_2676_, v___y_2679_, v___y_2680_, v___y_2681_, v___y_2682_); +return v___x_2684_; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___boxed(lean_object* v_cls_2685_, lean_object* v_msg_2686_, lean_object* v___y_2687_, lean_object* v___y_2688_, lean_object* v___y_2689_, lean_object* v___y_2690_, lean_object* v___y_2691_, lean_object* v___y_2692_, lean_object* v___y_2693_){ +_start: +{ +lean_object* v_res_2694_; +v_res_2694_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1(v_cls_2685_, v_msg_2686_, v___y_2687_, v___y_2688_, v___y_2689_, v___y_2690_, v___y_2691_, v___y_2692_); +lean_dec(v___y_2692_); +lean_dec_ref(v___y_2691_); +lean_dec(v___y_2690_); +lean_dec_ref(v___y_2689_); +lean_dec(v___y_2688_); +lean_dec_ref(v___y_2687_); +return v_res_2694_; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4(void){ +_start: +{ +lean_object* v___x_2701_; lean_object* v___x_2702_; +v___x_2701_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__3)); +v___x_2702_ = l_Lean_stringToMessageData(v___x_2701_); +return v___x_2702_; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6(void){ +_start: +{ +lean_object* v___x_2704_; lean_object* v___x_2705_; +v___x_2704_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__5)); +v___x_2705_ = l_Lean_stringToMessageData(v___x_2704_); +return v___x_2705_; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8(void){ +_start: +{ +lean_object* v___x_2707_; lean_object* v___x_2708_; +v___x_2707_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__7)); +v___x_2708_ = l_Lean_stringToMessageData(v___x_2707_); +return v___x_2708_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(lean_object* v_fvarId_2709_, lean_object* v_reason_2710_, lean_object* v_a_2711_, lean_object* v_a_2712_, lean_object* v_a_2713_, lean_object* v_a_2714_, lean_object* v_a_2715_, lean_object* v_a_2716_){ +_start: +{ +lean_object* v___x_2718_; lean_object* v_owned_2719_; uint8_t v___x_2720_; +v___x_2718_ = lean_st_ref_get(v_a_2712_); +v_owned_2719_ = lean_ctor_get(v___x_2718_, 0); +lean_inc_ref(v_owned_2719_); +lean_dec(v___x_2718_); +v___x_2720_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_owned_2719_, v_fvarId_2709_); +lean_dec_ref(v_owned_2719_); +if (v___x_2720_ == 0) +{ +lean_object* v___x_2721_; uint8_t v___x_2722_; lean_object* v___y_2724_; uint8_t v___x_2825_; +v___x_2721_ = lean_st_ref_get(v_a_2712_); +v___x_2722_ = 1; +v___x_2825_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_isForced(v_reason_2710_); +if (v___x_2825_ == 0) +{ +goto v___jp_2773_; +} +else +{ +if (v___x_2720_ == 0) +{ +lean_dec(v___x_2721_); +goto v___jp_2739_; +} +else +{ +goto v___jp_2773_; +} +} +v___jp_2723_: +{ +lean_object* v___x_2725_; lean_object* v_owned_2726_; lean_object* v_paramMap_2727_; lean_object* v___x_2729_; uint8_t v_isShared_2730_; uint8_t v_isSharedCheck_2738_; +v___x_2725_ = lean_st_ref_take(v___y_2724_); +v_owned_2726_ = lean_ctor_get(v___x_2725_, 0); +v_paramMap_2727_ = lean_ctor_get(v___x_2725_, 1); +v_isSharedCheck_2738_ = !lean_is_exclusive(v___x_2725_); +if (v_isSharedCheck_2738_ == 0) +{ +v___x_2729_ = v___x_2725_; +v_isShared_2730_ = v_isSharedCheck_2738_; +goto v_resetjp_2728_; +} +else +{ +lean_inc(v_paramMap_2727_); +lean_inc(v_owned_2726_); +lean_dec(v___x_2725_); +v___x_2729_ = lean_box(0); +v_isShared_2730_ = v_isSharedCheck_2738_; +goto v_resetjp_2728_; +} +v_resetjp_2728_: +{ +lean_object* v___x_2731_; lean_object* v___x_2732_; lean_object* v___x_2734_; +v___x_2731_ = lean_box(0); +v___x_2732_ = l_Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__0___redArg(v_owned_2726_, v_fvarId_2709_, v___x_2731_); +if (v_isShared_2730_ == 0) +{ +lean_ctor_set(v___x_2729_, 0, v___x_2732_); +v___x_2734_ = v___x_2729_; +goto v_reusejp_2733_; +} +else +{ +lean_object* v_reuseFailAlloc_2737_; +v_reuseFailAlloc_2737_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_2737_, 0, v___x_2732_); +lean_ctor_set(v_reuseFailAlloc_2737_, 1, v_paramMap_2727_); +v___x_2734_ = v_reuseFailAlloc_2737_; +goto v_reusejp_2733_; +} +v_reusejp_2733_: +{ +lean_object* v___x_2735_; lean_object* v___x_2736_; +lean_ctor_set_uint8(v___x_2734_, sizeof(void*)*2, v___x_2722_); +v___x_2735_ = lean_st_ref_set(v___y_2724_, v___x_2734_); +v___x_2736_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2736_, 0, v___x_2731_); +return v___x_2736_; +} +} +} +v___jp_2739_: +{ +lean_object* v___x_2740_; lean_object* v___x_2741_; lean_object* v_a_2742_; uint8_t v___x_2743_; +v___x_2740_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__2)); +v___x_2741_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v___x_2740_, v_a_2715_); +v_a_2742_ = lean_ctor_get(v___x_2741_, 0); +lean_inc(v_a_2742_); +lean_dec_ref(v___x_2741_); +v___x_2743_ = lean_unbox(v_a_2742_); +lean_dec(v_a_2742_); +if (v___x_2743_ == 0) +{ +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec_ref(v_reason_2710_); +v___y_2724_ = v_a_2712_; +goto v___jp_2723_; +} +else +{ +lean_object* v___x_2744_; lean_object* v___x_2745_; +lean_inc(v_fvarId_2709_); +v___x_2744_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppFVar___boxed), 7, 1); +lean_closure_set(v___x_2744_, 0, v_fvarId_2709_); +lean_inc(v_a_2716_); +lean_inc_ref(v_a_2715_); +lean_inc(v_a_2714_); +lean_inc_ref(v_a_2713_); +v___x_2745_ = l_Lean_Compiler_LCNF_PP_run___redArg(v___x_2744_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +if (lean_obj_tag(v___x_2745_) == 0) +{ +lean_object* v_a_2746_; lean_object* v___x_2747_; +v_a_2746_ = lean_ctor_get(v___x_2745_, 0); +lean_inc(v_a_2746_); +lean_dec_ref(v___x_2745_); +lean_inc(v_a_2716_); +lean_inc_ref(v_a_2715_); +lean_inc(v_a_2714_); +lean_inc_ref(v_a_2713_); +v___x_2747_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(v_reason_2710_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +if (lean_obj_tag(v___x_2747_) == 0) +{ +lean_object* v_a_2748_; lean_object* v___x_2749_; lean_object* v___x_2750_; lean_object* v___x_2751_; lean_object* v___x_2752_; lean_object* v___x_2753_; lean_object* v___x_2754_; lean_object* v___x_2755_; lean_object* v___x_2756_; +v_a_2748_ = lean_ctor_get(v___x_2747_, 0); +lean_inc(v_a_2748_); +lean_dec_ref(v___x_2747_); +v___x_2749_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__4); +v___x_2750_ = l_Lean_MessageData_ofFormat(v_a_2746_); +v___x_2751_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2751_, 0, v___x_2749_); +lean_ctor_set(v___x_2751_, 1, v___x_2750_); +v___x_2752_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6); +v___x_2753_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2753_, 0, v___x_2751_); +lean_ctor_set(v___x_2753_, 1, v___x_2752_); +v___x_2754_ = l_Lean_stringToMessageData(v_a_2748_); +v___x_2755_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2755_, 0, v___x_2753_); +lean_ctor_set(v___x_2755_, 1, v___x_2754_); +v___x_2756_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v___x_2740_, v___x_2755_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +if (lean_obj_tag(v___x_2756_) == 0) +{ +lean_dec_ref(v___x_2756_); +v___y_2724_ = v_a_2712_; +goto v___jp_2723_; +} +else +{ +lean_dec(v_fvarId_2709_); +return v___x_2756_; +} +} +else +{ +lean_object* v_a_2757_; lean_object* v___x_2759_; uint8_t v_isShared_2760_; uint8_t v_isSharedCheck_2764_; +lean_dec(v_a_2746_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec(v_fvarId_2709_); +v_a_2757_ = lean_ctor_get(v___x_2747_, 0); +v_isSharedCheck_2764_ = !lean_is_exclusive(v___x_2747_); +if (v_isSharedCheck_2764_ == 0) +{ +v___x_2759_ = v___x_2747_; +v_isShared_2760_ = v_isSharedCheck_2764_; +goto v_resetjp_2758_; +} +else +{ +lean_inc(v_a_2757_); +lean_dec(v___x_2747_); +v___x_2759_ = lean_box(0); +v_isShared_2760_ = v_isSharedCheck_2764_; +goto v_resetjp_2758_; +} +v_resetjp_2758_: +{ +lean_object* v___x_2762_; +if (v_isShared_2760_ == 0) +{ +v___x_2762_ = v___x_2759_; +goto v_reusejp_2761_; +} +else +{ +lean_object* v_reuseFailAlloc_2763_; +v_reuseFailAlloc_2763_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2763_, 0, v_a_2757_); +v___x_2762_ = v_reuseFailAlloc_2763_; +goto v_reusejp_2761_; +} +v_reusejp_2761_: +{ +return v___x_2762_; +} +} +} +} +else +{ +lean_object* v_a_2765_; lean_object* v___x_2767_; uint8_t v_isShared_2768_; uint8_t v_isSharedCheck_2772_; +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec_ref(v_reason_2710_); +lean_dec(v_fvarId_2709_); +v_a_2765_ = lean_ctor_get(v___x_2745_, 0); +v_isSharedCheck_2772_ = !lean_is_exclusive(v___x_2745_); +if (v_isSharedCheck_2772_ == 0) +{ +v___x_2767_ = v___x_2745_; +v_isShared_2768_ = v_isSharedCheck_2772_; +goto v_resetjp_2766_; +} +else +{ +lean_inc(v_a_2765_); +lean_dec(v___x_2745_); +v___x_2767_ = lean_box(0); +v_isShared_2768_ = v_isSharedCheck_2772_; +goto v_resetjp_2766_; +} +v_resetjp_2766_: +{ +lean_object* v___x_2770_; +if (v_isShared_2768_ == 0) +{ +v___x_2770_ = v___x_2767_; +goto v_reusejp_2769_; +} +else +{ +lean_object* v_reuseFailAlloc_2771_; +v_reuseFailAlloc_2771_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2771_, 0, v_a_2765_); +v___x_2770_ = v_reuseFailAlloc_2771_; +goto v_reusejp_2769_; +} +v_reusejp_2769_: +{ +return v___x_2770_; +} +} +} +} +} +v___jp_2773_: +{ +lean_object* v_paramMap_2774_; lean_object* v_annoatedBorrows_2775_; lean_object* v___x_2777_; uint8_t v_isShared_2778_; uint8_t v_isSharedCheck_2823_; +v_paramMap_2774_ = lean_ctor_get(v___x_2721_, 1); +lean_inc_ref(v_paramMap_2774_); +lean_dec(v___x_2721_); +v_annoatedBorrows_2775_ = lean_ctor_get(v_paramMap_2774_, 1); +v_isSharedCheck_2823_ = !lean_is_exclusive(v_paramMap_2774_); +if (v_isSharedCheck_2823_ == 0) +{ +lean_object* v_unused_2824_; +v_unused_2824_ = lean_ctor_get(v_paramMap_2774_, 0); +lean_dec(v_unused_2824_); +v___x_2777_ = v_paramMap_2774_; +v_isShared_2778_ = v_isSharedCheck_2823_; +goto v_resetjp_2776_; +} +else +{ +lean_inc(v_annoatedBorrows_2775_); +lean_dec(v_paramMap_2774_); +v___x_2777_ = lean_box(0); +v_isShared_2778_ = v_isSharedCheck_2823_; +goto v_resetjp_2776_; +} +v_resetjp_2776_: +{ +uint8_t v___x_2779_; +v___x_2779_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned_spec__0___redArg(v_annoatedBorrows_2775_, v_fvarId_2709_); +lean_dec_ref(v_annoatedBorrows_2775_); +if (v___x_2779_ == 0) +{ +lean_del_object(v___x_2777_); +goto v___jp_2739_; +} +else +{ +lean_object* v___x_2780_; lean_object* v___x_2781_; lean_object* v_a_2782_; lean_object* v___x_2784_; uint8_t v_isShared_2785_; uint8_t v_isSharedCheck_2822_; +v___x_2780_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__2)); +v___x_2781_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__0___redArg(v___x_2780_, v_a_2715_); +v_a_2782_ = lean_ctor_get(v___x_2781_, 0); +v_isSharedCheck_2822_ = !lean_is_exclusive(v___x_2781_); +if (v_isSharedCheck_2822_ == 0) +{ +v___x_2784_ = v___x_2781_; +v_isShared_2785_ = v_isSharedCheck_2822_; +goto v_resetjp_2783_; +} +else +{ +lean_inc(v_a_2782_); +lean_dec(v___x_2781_); +v___x_2784_ = lean_box(0); +v_isShared_2785_ = v_isSharedCheck_2822_; +goto v_resetjp_2783_; +} +v_resetjp_2783_: +{ +uint8_t v___x_2786_; +v___x_2786_ = lean_unbox(v_a_2782_); +lean_dec(v_a_2782_); +if (v___x_2786_ == 0) +{ +lean_object* v___x_2787_; lean_object* v___x_2789_; +lean_del_object(v___x_2777_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec_ref(v_reason_2710_); +lean_dec(v_fvarId_2709_); +v___x_2787_ = lean_box(0); +if (v_isShared_2785_ == 0) +{ +lean_ctor_set(v___x_2784_, 0, v___x_2787_); +v___x_2789_ = v___x_2784_; +goto v_reusejp_2788_; +} +else +{ +lean_object* v_reuseFailAlloc_2790_; +v_reuseFailAlloc_2790_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2790_, 0, v___x_2787_); +v___x_2789_ = v_reuseFailAlloc_2790_; +goto v_reusejp_2788_; +} +v_reusejp_2788_: +{ +return v___x_2789_; +} +} +else +{ +lean_object* v___x_2791_; lean_object* v___x_2792_; +lean_del_object(v___x_2784_); +v___x_2791_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppFVar___boxed), 7, 1); +lean_closure_set(v___x_2791_, 0, v_fvarId_2709_); +lean_inc(v_a_2716_); +lean_inc_ref(v_a_2715_); +lean_inc(v_a_2714_); +lean_inc_ref(v_a_2713_); +v___x_2792_ = l_Lean_Compiler_LCNF_PP_run___redArg(v___x_2791_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +if (lean_obj_tag(v___x_2792_) == 0) +{ +lean_object* v_a_2793_; lean_object* v___x_2794_; +v_a_2793_ = lean_ctor_get(v___x_2792_, 0); +lean_inc(v_a_2793_); +lean_dec_ref(v___x_2792_); +lean_inc(v_a_2716_); +lean_inc_ref(v_a_2715_); +lean_inc(v_a_2714_); +lean_inc_ref(v_a_2713_); +v___x_2794_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_OwnReason_toString(v_reason_2710_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +if (lean_obj_tag(v___x_2794_) == 0) +{ +lean_object* v_a_2795_; lean_object* v___x_2796_; lean_object* v___x_2797_; lean_object* v___x_2799_; +v_a_2795_ = lean_ctor_get(v___x_2794_, 0); +lean_inc(v_a_2795_); +lean_dec_ref(v___x_2794_); +v___x_2796_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__8); +v___x_2797_ = l_Lean_MessageData_ofFormat(v_a_2793_); +if (v_isShared_2778_ == 0) +{ +lean_ctor_set_tag(v___x_2777_, 7); +lean_ctor_set(v___x_2777_, 1, v___x_2797_); +lean_ctor_set(v___x_2777_, 0, v___x_2796_); +v___x_2799_ = v___x_2777_; +goto v_reusejp_2798_; +} +else +{ +lean_object* v_reuseFailAlloc_2805_; +v_reuseFailAlloc_2805_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2805_, 0, v___x_2796_); +lean_ctor_set(v_reuseFailAlloc_2805_, 1, v___x_2797_); +v___x_2799_ = v_reuseFailAlloc_2805_; +goto v_reusejp_2798_; +} +v_reusejp_2798_: +{ +lean_object* v___x_2800_; lean_object* v___x_2801_; lean_object* v___x_2802_; lean_object* v___x_2803_; lean_object* v___x_2804_; +v___x_2800_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__6); +v___x_2801_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2801_, 0, v___x_2799_); +lean_ctor_set(v___x_2801_, 1, v___x_2800_); +v___x_2802_ = l_Lean_stringToMessageData(v_a_2795_); +v___x_2803_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2803_, 0, v___x_2801_); +lean_ctor_set(v___x_2803_, 1, v___x_2802_); +v___x_2804_ = l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg(v___x_2780_, v___x_2803_, v_a_2713_, v_a_2714_, v_a_2715_, v_a_2716_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +return v___x_2804_; +} +} +else +{ +lean_object* v_a_2806_; lean_object* v___x_2808_; uint8_t v_isShared_2809_; uint8_t v_isSharedCheck_2813_; +lean_dec(v_a_2793_); +lean_del_object(v___x_2777_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +v_a_2806_ = lean_ctor_get(v___x_2794_, 0); +v_isSharedCheck_2813_ = !lean_is_exclusive(v___x_2794_); +if (v_isSharedCheck_2813_ == 0) +{ +v___x_2808_ = v___x_2794_; +v_isShared_2809_ = v_isSharedCheck_2813_; +goto v_resetjp_2807_; +} +else +{ +lean_inc(v_a_2806_); +lean_dec(v___x_2794_); +v___x_2808_ = lean_box(0); +v_isShared_2809_ = v_isSharedCheck_2813_; +goto v_resetjp_2807_; +} +v_resetjp_2807_: +{ +lean_object* v___x_2811_; +if (v_isShared_2809_ == 0) +{ +v___x_2811_ = v___x_2808_; +goto v_reusejp_2810_; +} +else +{ +lean_object* v_reuseFailAlloc_2812_; +v_reuseFailAlloc_2812_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2812_, 0, v_a_2806_); +v___x_2811_ = v_reuseFailAlloc_2812_; +goto v_reusejp_2810_; +} +v_reusejp_2810_: +{ +return v___x_2811_; +} +} +} +} +else +{ +lean_object* v_a_2814_; lean_object* v___x_2816_; uint8_t v_isShared_2817_; uint8_t v_isSharedCheck_2821_; +lean_del_object(v___x_2777_); +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec_ref(v_reason_2710_); +v_a_2814_ = lean_ctor_get(v___x_2792_, 0); +v_isSharedCheck_2821_ = !lean_is_exclusive(v___x_2792_); +if (v_isSharedCheck_2821_ == 0) +{ +v___x_2816_ = v___x_2792_; +v_isShared_2817_ = v_isSharedCheck_2821_; +goto v_resetjp_2815_; +} +else +{ +lean_inc(v_a_2814_); +lean_dec(v___x_2792_); +v___x_2816_ = lean_box(0); +v_isShared_2817_ = v_isSharedCheck_2821_; +goto v_resetjp_2815_; +} +v_resetjp_2815_: +{ +lean_object* v___x_2819_; +if (v_isShared_2817_ == 0) +{ +v___x_2819_ = v___x_2816_; +goto v_reusejp_2818_; +} +else +{ +lean_object* v_reuseFailAlloc_2820_; +v_reuseFailAlloc_2820_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2820_, 0, v_a_2814_); +v___x_2819_ = v_reuseFailAlloc_2820_; +goto v_reusejp_2818_; +} +v_reusejp_2818_: +{ +return v___x_2819_; +} +} +} +} +} +} +} +} +} +else +{ +lean_object* v___x_2826_; lean_object* v___x_2827_; +lean_dec(v_a_2716_); +lean_dec_ref(v_a_2715_); +lean_dec(v_a_2714_); +lean_dec_ref(v_a_2713_); +lean_dec_ref(v_reason_2710_); +lean_dec(v_fvarId_2709_); +v___x_2826_ = lean_box(0); +v___x_2827_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2827_, 0, v___x_2826_); +return v___x_2827_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___boxed(lean_object* v_fvarId_2828_, lean_object* v_reason_2829_, lean_object* v_a_2830_, lean_object* v_a_2831_, lean_object* v_a_2832_, lean_object* v_a_2833_, lean_object* v_a_2834_, lean_object* v_a_2835_, lean_object* v_a_2836_){ +_start: +{ +lean_object* v_res_2837_; +v_res_2837_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_2828_, v_reason_2829_, v_a_2830_, v_a_2831_, v_a_2832_, v_a_2833_, v_a_2834_, v_a_2835_); +lean_dec(v_a_2831_); +lean_dec_ref(v_a_2830_); +return v_res_2837_; +} +} +static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0(void){ +_start: +{ +uint8_t v___x_2838_; lean_object* v___x_2839_; +v___x_2838_ = 1; +v___x_2839_ = l_Lean_Compiler_LCNF_instInhabitedParam_default(v___x_2838_); +return v___x_2839_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(lean_object* v_upperBound_2840_, lean_object* v_args_2841_, lean_object* v_ps_2842_, lean_object* v_reason_2843_, lean_object* v_a_2844_, lean_object* v_b_2845_, lean_object* v___y_2846_, lean_object* v___y_2847_, lean_object* v___y_2848_, lean_object* v___y_2849_, lean_object* v___y_2850_, lean_object* v___y_2851_){ +_start: +{ +lean_object* v_a_2854_; uint8_t v___x_2858_; +v___x_2858_ = lean_nat_dec_lt(v_a_2844_, v_upperBound_2840_); +if (v___x_2858_ == 0) +{ +lean_object* v___x_2859_; +lean_dec(v___y_2851_); +lean_dec_ref(v___y_2850_); +lean_dec(v___y_2849_); +lean_dec_ref(v___y_2848_); +lean_dec(v_a_2844_); +lean_dec_ref(v_reason_2843_); +v___x_2859_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2859_, 0, v_b_2845_); +return v___x_2859_; +} +else +{ +lean_object* v___x_2860_; lean_object* v___x_2861_; +v___x_2860_ = lean_box(0); +v___x_2861_ = lean_array_fget_borrowed(v_args_2841_, v_a_2844_); +if (lean_obj_tag(v___x_2861_) == 1) +{ +lean_object* v_fvarId_2862_; lean_object* v___x_2863_; +v_fvarId_2862_ = lean_ctor_get(v___x_2861_, 0); +v___x_2863_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_fvarId_2862_, v___y_2847_); +if (lean_obj_tag(v___x_2863_) == 0) +{ +lean_object* v_a_2864_; uint8_t v___x_2865_; +v_a_2864_ = lean_ctor_get(v___x_2863_, 0); +lean_inc(v_a_2864_); +lean_dec_ref(v___x_2863_); +v___x_2865_ = lean_unbox(v_a_2864_); +lean_dec(v_a_2864_); +if (v___x_2865_ == 0) +{ +v_a_2854_ = v___x_2860_; +goto v___jp_2853_; +} +else +{ +lean_object* v___x_2866_; lean_object* v___x_2867_; lean_object* v_fvarId_2868_; lean_object* v___x_2869_; +v___x_2866_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0); +v___x_2867_ = lean_array_get_borrowed(v___x_2866_, v_ps_2842_, v_a_2844_); +v_fvarId_2868_ = lean_ctor_get(v___x_2867_, 0); +lean_inc(v___y_2851_); +lean_inc_ref(v___y_2850_); +lean_inc(v___y_2849_); +lean_inc_ref(v___y_2848_); +lean_inc_ref(v_reason_2843_); +lean_inc(v_fvarId_2868_); +v___x_2869_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_2868_, v_reason_2843_, v___y_2846_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_); +if (lean_obj_tag(v___x_2869_) == 0) +{ +lean_dec_ref(v___x_2869_); +v_a_2854_ = v___x_2860_; +goto v___jp_2853_; +} +else +{ +lean_dec(v___y_2851_); +lean_dec_ref(v___y_2850_); +lean_dec(v___y_2849_); +lean_dec_ref(v___y_2848_); +lean_dec(v_a_2844_); +lean_dec_ref(v_reason_2843_); +return v___x_2869_; +} +} +} +else +{ +lean_object* v_a_2870_; lean_object* v___x_2872_; uint8_t v_isShared_2873_; uint8_t v_isSharedCheck_2877_; +lean_dec(v___y_2851_); +lean_dec_ref(v___y_2850_); +lean_dec(v___y_2849_); +lean_dec_ref(v___y_2848_); +lean_dec(v_a_2844_); +lean_dec_ref(v_reason_2843_); +v_a_2870_ = lean_ctor_get(v___x_2863_, 0); +v_isSharedCheck_2877_ = !lean_is_exclusive(v___x_2863_); +if (v_isSharedCheck_2877_ == 0) +{ +v___x_2872_ = v___x_2863_; +v_isShared_2873_ = v_isSharedCheck_2877_; +goto v_resetjp_2871_; +} +else +{ +lean_inc(v_a_2870_); +lean_dec(v___x_2863_); +v___x_2872_ = lean_box(0); +v_isShared_2873_ = v_isSharedCheck_2877_; +goto v_resetjp_2871_; +} +v_resetjp_2871_: +{ +lean_object* v___x_2875_; +if (v_isShared_2873_ == 0) +{ +v___x_2875_ = v___x_2872_; +goto v_reusejp_2874_; +} +else +{ +lean_object* v_reuseFailAlloc_2876_; +v_reuseFailAlloc_2876_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2876_, 0, v_a_2870_); +v___x_2875_ = v_reuseFailAlloc_2876_; +goto v_reusejp_2874_; +} +v_reusejp_2874_: +{ +return v___x_2875_; +} +} +} +} +else +{ +v_a_2854_ = v___x_2860_; +goto v___jp_2853_; +} +} +v___jp_2853_: +{ +lean_object* v___x_2855_; lean_object* v___x_2856_; +v___x_2855_ = lean_unsigned_to_nat(1u); +v___x_2856_ = lean_nat_add(v_a_2844_, v___x_2855_); +lean_dec(v_a_2844_); +v_a_2844_ = v___x_2856_; +v_b_2845_ = v_a_2854_; goto _start; } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___boxed(lean_object* v_upperBound_2652_, lean_object* v_args_2653_, lean_object* v_ps_2654_, lean_object* v_reason_2655_, lean_object* v_a_2656_, lean_object* v_b_2657_, lean_object* v___y_2658_, lean_object* v___y_2659_, lean_object* v___y_2660_, lean_object* v___y_2661_, lean_object* v___y_2662_, lean_object* v___y_2663_, lean_object* v___y_2664_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___boxed(lean_object* v_upperBound_2878_, lean_object* v_args_2879_, lean_object* v_ps_2880_, lean_object* v_reason_2881_, lean_object* v_a_2882_, lean_object* v_b_2883_, lean_object* v___y_2884_, lean_object* v___y_2885_, lean_object* v___y_2886_, lean_object* v___y_2887_, lean_object* v___y_2888_, lean_object* v___y_2889_, lean_object* v___y_2890_){ _start: { -lean_object* v_res_2665_; -v_res_2665_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v_upperBound_2652_, v_args_2653_, v_ps_2654_, v_reason_2655_, v_a_2656_, v_b_2657_, v___y_2658_, v___y_2659_, v___y_2660_, v___y_2661_, v___y_2662_, v___y_2663_); -lean_dec(v___y_2659_); -lean_dec_ref(v___y_2658_); -lean_dec_ref(v_ps_2654_); -lean_dec_ref(v_args_2653_); -lean_dec(v_upperBound_2652_); -return v_res_2665_; +lean_object* v_res_2891_; +v_res_2891_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v_upperBound_2878_, v_args_2879_, v_ps_2880_, v_reason_2881_, v_a_2882_, v_b_2883_, v___y_2884_, v___y_2885_, v___y_2886_, v___y_2887_, v___y_2888_, v___y_2889_); +lean_dec(v___y_2885_); +lean_dec_ref(v___y_2884_); +lean_dec_ref(v_ps_2880_); +lean_dec_ref(v_args_2879_); +lean_dec(v_upperBound_2878_); +return v_res_2891_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(lean_object* v_args_2666_, lean_object* v_ps_2667_, lean_object* v_reason_2668_, lean_object* v_a_2669_, lean_object* v_a_2670_, lean_object* v_a_2671_, lean_object* v_a_2672_, lean_object* v_a_2673_, lean_object* v_a_2674_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(lean_object* v_args_2892_, lean_object* v_ps_2893_, lean_object* v_reason_2894_, lean_object* v_a_2895_, lean_object* v_a_2896_, lean_object* v_a_2897_, lean_object* v_a_2898_, lean_object* v_a_2899_, lean_object* v_a_2900_){ _start: { -lean_object* v___x_2676_; lean_object* v___x_2677_; lean_object* v___x_2678_; lean_object* v___x_2679_; -v___x_2676_ = lean_unsigned_to_nat(0u); -v___x_2677_ = lean_array_get_size(v_args_2666_); -v___x_2678_ = lean_box(0); -v___x_2679_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v___x_2677_, v_args_2666_, v_ps_2667_, v_reason_2668_, v___x_2676_, v___x_2678_, v_a_2669_, v_a_2670_, v_a_2671_, v_a_2672_, v_a_2673_, v_a_2674_); -if (lean_obj_tag(v___x_2679_) == 0) +lean_object* v___x_2902_; lean_object* v___x_2903_; lean_object* v___x_2904_; lean_object* v___x_2905_; +v___x_2902_ = lean_unsigned_to_nat(0u); +v___x_2903_ = lean_array_get_size(v_args_2892_); +v___x_2904_ = lean_box(0); +v___x_2905_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v___x_2903_, v_args_2892_, v_ps_2893_, v_reason_2894_, v___x_2902_, v___x_2904_, v_a_2895_, v_a_2896_, v_a_2897_, v_a_2898_, v_a_2899_, v_a_2900_); +if (lean_obj_tag(v___x_2905_) == 0) { -lean_object* v___x_2681_; uint8_t v_isShared_2682_; uint8_t v_isSharedCheck_2686_; -v_isSharedCheck_2686_ = !lean_is_exclusive(v___x_2679_); -if (v_isSharedCheck_2686_ == 0) +lean_object* v___x_2907_; uint8_t v_isShared_2908_; uint8_t v_isSharedCheck_2912_; +v_isSharedCheck_2912_ = !lean_is_exclusive(v___x_2905_); +if (v_isSharedCheck_2912_ == 0) { -lean_object* v_unused_2687_; -v_unused_2687_ = lean_ctor_get(v___x_2679_, 0); -lean_dec(v_unused_2687_); -v___x_2681_ = v___x_2679_; -v_isShared_2682_ = v_isSharedCheck_2686_; -goto v_resetjp_2680_; +lean_object* v_unused_2913_; +v_unused_2913_ = lean_ctor_get(v___x_2905_, 0); +lean_dec(v_unused_2913_); +v___x_2907_ = v___x_2905_; +v_isShared_2908_ = v_isSharedCheck_2912_; +goto v_resetjp_2906_; } else { -lean_dec(v___x_2679_); -v___x_2681_ = lean_box(0); -v_isShared_2682_ = v_isSharedCheck_2686_; -goto v_resetjp_2680_; +lean_dec(v___x_2905_); +v___x_2907_ = lean_box(0); +v_isShared_2908_ = v_isSharedCheck_2912_; +goto v_resetjp_2906_; } -v_resetjp_2680_: +v_resetjp_2906_: { -lean_object* v___x_2684_; -if (v_isShared_2682_ == 0) +lean_object* v___x_2910_; +if (v_isShared_2908_ == 0) { -lean_ctor_set(v___x_2681_, 0, v___x_2678_); -v___x_2684_ = v___x_2681_; -goto v_reusejp_2683_; +lean_ctor_set(v___x_2907_, 0, v___x_2904_); +v___x_2910_ = v___x_2907_; +goto v_reusejp_2909_; } else { -lean_object* v_reuseFailAlloc_2685_; -v_reuseFailAlloc_2685_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2685_, 0, v___x_2678_); -v___x_2684_ = v_reuseFailAlloc_2685_; -goto v_reusejp_2683_; +lean_object* v_reuseFailAlloc_2911_; +v_reuseFailAlloc_2911_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2911_, 0, v___x_2904_); +v___x_2910_ = v_reuseFailAlloc_2911_; +goto v_reusejp_2909_; } -v_reusejp_2683_: +v_reusejp_2909_: { -return v___x_2684_; +return v___x_2910_; } } } else { -return v___x_2679_; +return v___x_2905_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs___boxed(lean_object* v_args_2688_, lean_object* v_ps_2689_, lean_object* v_reason_2690_, lean_object* v_a_2691_, lean_object* v_a_2692_, lean_object* v_a_2693_, lean_object* v_a_2694_, lean_object* v_a_2695_, lean_object* v_a_2696_, lean_object* v_a_2697_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs___boxed(lean_object* v_args_2914_, lean_object* v_ps_2915_, lean_object* v_reason_2916_, lean_object* v_a_2917_, lean_object* v_a_2918_, lean_object* v_a_2919_, lean_object* v_a_2920_, lean_object* v_a_2921_, lean_object* v_a_2922_, lean_object* v_a_2923_){ _start: { -lean_object* v_res_2698_; -v_res_2698_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_2688_, v_ps_2689_, v_reason_2690_, v_a_2691_, v_a_2692_, v_a_2693_, v_a_2694_, v_a_2695_, v_a_2696_); -lean_dec(v_a_2692_); -lean_dec_ref(v_a_2691_); -lean_dec_ref(v_ps_2689_); -lean_dec_ref(v_args_2688_); -return v_res_2698_; +lean_object* v_res_2924_; +v_res_2924_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_2914_, v_ps_2915_, v_reason_2916_, v_a_2917_, v_a_2918_, v_a_2919_, v_a_2920_, v_a_2921_, v_a_2922_); +lean_dec(v_a_2918_); +lean_dec_ref(v_a_2917_); +lean_dec_ref(v_ps_2915_); +lean_dec_ref(v_args_2914_); +return v_res_2924_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0(lean_object* v_upperBound_2699_, lean_object* v_args_2700_, lean_object* v_ps_2701_, lean_object* v_reason_2702_, lean_object* v_inst_2703_, lean_object* v_R_2704_, lean_object* v_a_2705_, lean_object* v_b_2706_, lean_object* v_c_2707_, lean_object* v___y_2708_, lean_object* v___y_2709_, lean_object* v___y_2710_, lean_object* v___y_2711_, lean_object* v___y_2712_, lean_object* v___y_2713_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0(lean_object* v_upperBound_2925_, lean_object* v_args_2926_, lean_object* v_ps_2927_, lean_object* v_reason_2928_, lean_object* v_inst_2929_, lean_object* v_R_2930_, lean_object* v_a_2931_, lean_object* v_b_2932_, lean_object* v_c_2933_, lean_object* v___y_2934_, lean_object* v___y_2935_, lean_object* v___y_2936_, lean_object* v___y_2937_, lean_object* v___y_2938_, lean_object* v___y_2939_){ _start: { -lean_object* v___x_2715_; -v___x_2715_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v_upperBound_2699_, v_args_2700_, v_ps_2701_, v_reason_2702_, v_a_2705_, v_b_2706_, v___y_2708_, v___y_2709_, v___y_2710_, v___y_2711_, v___y_2712_, v___y_2713_); -return v___x_2715_; +lean_object* v___x_2941_; +v___x_2941_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg(v_upperBound_2925_, v_args_2926_, v_ps_2927_, v_reason_2928_, v_a_2931_, v_b_2932_, v___y_2934_, v___y_2935_, v___y_2936_, v___y_2937_, v___y_2938_, v___y_2939_); +return v___x_2941_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___boxed(lean_object* v_upperBound_2716_, lean_object* v_args_2717_, lean_object* v_ps_2718_, lean_object* v_reason_2719_, lean_object* v_inst_2720_, lean_object* v_R_2721_, lean_object* v_a_2722_, lean_object* v_b_2723_, lean_object* v_c_2724_, lean_object* v___y_2725_, lean_object* v___y_2726_, lean_object* v___y_2727_, lean_object* v___y_2728_, lean_object* v___y_2729_, lean_object* v___y_2730_, lean_object* v___y_2731_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___boxed(lean_object* v_upperBound_2942_, lean_object* v_args_2943_, lean_object* v_ps_2944_, lean_object* v_reason_2945_, lean_object* v_inst_2946_, lean_object* v_R_2947_, lean_object* v_a_2948_, lean_object* v_b_2949_, lean_object* v_c_2950_, lean_object* v___y_2951_, lean_object* v___y_2952_, lean_object* v___y_2953_, lean_object* v___y_2954_, lean_object* v___y_2955_, lean_object* v___y_2956_, lean_object* v___y_2957_){ _start: { -lean_object* v_res_2732_; -v_res_2732_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0(v_upperBound_2716_, v_args_2717_, v_ps_2718_, v_reason_2719_, v_inst_2720_, v_R_2721_, v_a_2722_, v_b_2723_, v_c_2724_, v___y_2725_, v___y_2726_, v___y_2727_, v___y_2728_, v___y_2729_, v___y_2730_); -lean_dec(v___y_2726_); -lean_dec_ref(v___y_2725_); -lean_dec_ref(v_ps_2718_); -lean_dec_ref(v_args_2717_); -lean_dec(v_upperBound_2716_); -return v_res_2732_; +lean_object* v_res_2958_; +v_res_2958_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0(v_upperBound_2942_, v_args_2943_, v_ps_2944_, v_reason_2945_, v_inst_2946_, v_R_2947_, v_a_2948_, v_b_2949_, v_c_2950_, v___y_2951_, v___y_2952_, v___y_2953_, v___y_2954_, v___y_2955_, v___y_2956_); +lean_dec(v___y_2952_); +lean_dec_ref(v___y_2951_); +lean_dec_ref(v_ps_2944_); +lean_dec_ref(v_args_2943_); +lean_dec(v_upperBound_2942_); +return v_res_2958_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0(lean_object* v_reason_2733_, lean_object* v_x_2734_, lean_object* v___y_2735_, lean_object* v___y_2736_, lean_object* v___y_2737_, lean_object* v___y_2738_, lean_object* v___y_2739_, lean_object* v___y_2740_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0(lean_object* v_reason_2959_, lean_object* v_x_2960_, lean_object* v___y_2961_, lean_object* v___y_2962_, lean_object* v___y_2963_, lean_object* v___y_2964_, lean_object* v___y_2965_, lean_object* v___y_2966_){ _start: { -lean_object* v___x_2742_; -v___x_2742_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_x_2734_, v_reason_2733_, v___y_2735_, v___y_2736_, v___y_2737_, v___y_2738_, v___y_2739_, v___y_2740_); -return v___x_2742_; +lean_object* v___x_2968_; +v___x_2968_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_x_2960_, v_reason_2959_, v___y_2961_, v___y_2962_, v___y_2963_, v___y_2964_, v___y_2965_, v___y_2966_); +return v___x_2968_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0___boxed(lean_object* v_reason_2743_, lean_object* v_x_2744_, lean_object* v___y_2745_, lean_object* v___y_2746_, lean_object* v___y_2747_, lean_object* v___y_2748_, lean_object* v___y_2749_, lean_object* v___y_2750_, lean_object* v___y_2751_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0___boxed(lean_object* v_reason_2969_, lean_object* v_x_2970_, lean_object* v___y_2971_, lean_object* v___y_2972_, lean_object* v___y_2973_, lean_object* v___y_2974_, lean_object* v___y_2975_, lean_object* v___y_2976_, lean_object* v___y_2977_){ _start: { -lean_object* v_res_2752_; -v_res_2752_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0(v_reason_2743_, v_x_2744_, v___y_2745_, v___y_2746_, v___y_2747_, v___y_2748_, v___y_2749_, v___y_2750_); -lean_dec(v___y_2746_); -lean_dec_ref(v___y_2745_); -return v_res_2752_; +lean_object* v_res_2978_; +v_res_2978_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0(v_reason_2969_, v_x_2970_, v___y_2971_, v___y_2972_, v___y_2973_, v___y_2974_, v___y_2975_, v___y_2976_); +lean_dec(v___y_2972_); +lean_dec_ref(v___y_2971_); +return v_res_2978_; } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(lean_object* v_msg_2753_, lean_object* v___y_2754_, lean_object* v___y_2755_, lean_object* v___y_2756_, lean_object* v___y_2757_, lean_object* v___y_2758_, lean_object* v___y_2759_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(lean_object* v_msg_2979_, lean_object* v___y_2980_, lean_object* v___y_2981_, lean_object* v___y_2982_, lean_object* v___y_2983_, lean_object* v___y_2984_, lean_object* v___y_2985_){ _start: { -lean_object* v___x_2761_; lean_object* v___x_2762_; lean_object* v_toApplicative_2763_; lean_object* v___x_2765_; uint8_t v_isShared_2766_; uint8_t v_isSharedCheck_2826_; -v___x_2761_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_2762_ = l_ReaderT_instMonad___redArg(v___x_2761_); -v_toApplicative_2763_ = lean_ctor_get(v___x_2762_, 0); -v_isSharedCheck_2826_ = !lean_is_exclusive(v___x_2762_); -if (v_isSharedCheck_2826_ == 0) +lean_object* v___x_2987_; lean_object* v___x_2988_; lean_object* v_toApplicative_2989_; lean_object* v___x_2991_; uint8_t v_isShared_2992_; uint8_t v_isSharedCheck_3052_; +v___x_2987_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_2988_ = l_ReaderT_instMonad___redArg(v___x_2987_); +v_toApplicative_2989_ = lean_ctor_get(v___x_2988_, 0); +v_isSharedCheck_3052_ = !lean_is_exclusive(v___x_2988_); +if (v_isSharedCheck_3052_ == 0) { -lean_object* v_unused_2827_; -v_unused_2827_ = lean_ctor_get(v___x_2762_, 1); -lean_dec(v_unused_2827_); -v___x_2765_ = v___x_2762_; -v_isShared_2766_ = v_isSharedCheck_2826_; -goto v_resetjp_2764_; +lean_object* v_unused_3053_; +v_unused_3053_ = lean_ctor_get(v___x_2988_, 1); +lean_dec(v_unused_3053_); +v___x_2991_ = v___x_2988_; +v_isShared_2992_ = v_isSharedCheck_3052_; +goto v_resetjp_2990_; } else { -lean_inc(v_toApplicative_2763_); -lean_dec(v___x_2762_); -v___x_2765_ = lean_box(0); -v_isShared_2766_ = v_isSharedCheck_2826_; -goto v_resetjp_2764_; +lean_inc(v_toApplicative_2989_); +lean_dec(v___x_2988_); +v___x_2991_ = lean_box(0); +v_isShared_2992_ = v_isSharedCheck_3052_; +goto v_resetjp_2990_; } -v_resetjp_2764_: +v_resetjp_2990_: { -lean_object* v_toFunctor_2767_; lean_object* v_toSeq_2768_; lean_object* v_toSeqLeft_2769_; lean_object* v_toSeqRight_2770_; lean_object* v___x_2772_; uint8_t v_isShared_2773_; uint8_t v_isSharedCheck_2824_; -v_toFunctor_2767_ = lean_ctor_get(v_toApplicative_2763_, 0); -v_toSeq_2768_ = lean_ctor_get(v_toApplicative_2763_, 2); -v_toSeqLeft_2769_ = lean_ctor_get(v_toApplicative_2763_, 3); -v_toSeqRight_2770_ = lean_ctor_get(v_toApplicative_2763_, 4); -v_isSharedCheck_2824_ = !lean_is_exclusive(v_toApplicative_2763_); -if (v_isSharedCheck_2824_ == 0) +lean_object* v_toFunctor_2993_; lean_object* v_toSeq_2994_; lean_object* v_toSeqLeft_2995_; lean_object* v_toSeqRight_2996_; lean_object* v___x_2998_; uint8_t v_isShared_2999_; uint8_t v_isSharedCheck_3050_; +v_toFunctor_2993_ = lean_ctor_get(v_toApplicative_2989_, 0); +v_toSeq_2994_ = lean_ctor_get(v_toApplicative_2989_, 2); +v_toSeqLeft_2995_ = lean_ctor_get(v_toApplicative_2989_, 3); +v_toSeqRight_2996_ = lean_ctor_get(v_toApplicative_2989_, 4); +v_isSharedCheck_3050_ = !lean_is_exclusive(v_toApplicative_2989_); +if (v_isSharedCheck_3050_ == 0) { -lean_object* v_unused_2825_; -v_unused_2825_ = lean_ctor_get(v_toApplicative_2763_, 1); -lean_dec(v_unused_2825_); -v___x_2772_ = v_toApplicative_2763_; -v_isShared_2773_ = v_isSharedCheck_2824_; -goto v_resetjp_2771_; +lean_object* v_unused_3051_; +v_unused_3051_ = lean_ctor_get(v_toApplicative_2989_, 1); +lean_dec(v_unused_3051_); +v___x_2998_ = v_toApplicative_2989_; +v_isShared_2999_ = v_isSharedCheck_3050_; +goto v_resetjp_2997_; } else { -lean_inc(v_toSeqRight_2770_); -lean_inc(v_toSeqLeft_2769_); -lean_inc(v_toSeq_2768_); -lean_inc(v_toFunctor_2767_); -lean_dec(v_toApplicative_2763_); -v___x_2772_ = lean_box(0); -v_isShared_2773_ = v_isSharedCheck_2824_; -goto v_resetjp_2771_; +lean_inc(v_toSeqRight_2996_); +lean_inc(v_toSeqLeft_2995_); +lean_inc(v_toSeq_2994_); +lean_inc(v_toFunctor_2993_); +lean_dec(v_toApplicative_2989_); +v___x_2998_ = lean_box(0); +v_isShared_2999_ = v_isSharedCheck_3050_; +goto v_resetjp_2997_; } -v_resetjp_2771_: +v_resetjp_2997_: { -lean_object* v___f_2774_; lean_object* v___f_2775_; lean_object* v___f_2776_; lean_object* v___f_2777_; lean_object* v___x_2778_; lean_object* v___f_2779_; lean_object* v___f_2780_; lean_object* v___f_2781_; lean_object* v___x_2783_; -v___f_2774_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_2775_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_2767_); -v___f_2776_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_2776_, 0, v_toFunctor_2767_); -v___f_2777_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_2777_, 0, v_toFunctor_2767_); -v___x_2778_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2778_, 0, v___f_2776_); -lean_ctor_set(v___x_2778_, 1, v___f_2777_); -v___f_2779_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_2779_, 0, v_toSeqRight_2770_); -v___f_2780_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_2780_, 0, v_toSeqLeft_2769_); -v___f_2781_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_2781_, 0, v_toSeq_2768_); -if (v_isShared_2773_ == 0) +lean_object* v___f_3000_; lean_object* v___f_3001_; lean_object* v___f_3002_; lean_object* v___f_3003_; lean_object* v___x_3004_; lean_object* v___f_3005_; lean_object* v___f_3006_; lean_object* v___f_3007_; lean_object* v___x_3009_; +v___f_3000_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_3001_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_2993_); +v___f_3002_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3002_, 0, v_toFunctor_2993_); +v___f_3003_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3003_, 0, v_toFunctor_2993_); +v___x_3004_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3004_, 0, v___f_3002_); +lean_ctor_set(v___x_3004_, 1, v___f_3003_); +v___f_3005_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3005_, 0, v_toSeqRight_2996_); +v___f_3006_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3006_, 0, v_toSeqLeft_2995_); +v___f_3007_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3007_, 0, v_toSeq_2994_); +if (v_isShared_2999_ == 0) { -lean_ctor_set(v___x_2772_, 4, v___f_2779_); -lean_ctor_set(v___x_2772_, 3, v___f_2780_); -lean_ctor_set(v___x_2772_, 2, v___f_2781_); -lean_ctor_set(v___x_2772_, 1, v___f_2774_); -lean_ctor_set(v___x_2772_, 0, v___x_2778_); -v___x_2783_ = v___x_2772_; -goto v_reusejp_2782_; +lean_ctor_set(v___x_2998_, 4, v___f_3005_); +lean_ctor_set(v___x_2998_, 3, v___f_3006_); +lean_ctor_set(v___x_2998_, 2, v___f_3007_); +lean_ctor_set(v___x_2998_, 1, v___f_3000_); +lean_ctor_set(v___x_2998_, 0, v___x_3004_); +v___x_3009_ = v___x_2998_; +goto v_reusejp_3008_; } else { -lean_object* v_reuseFailAlloc_2823_; -v_reuseFailAlloc_2823_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_2823_, 0, v___x_2778_); -lean_ctor_set(v_reuseFailAlloc_2823_, 1, v___f_2774_); -lean_ctor_set(v_reuseFailAlloc_2823_, 2, v___f_2781_); -lean_ctor_set(v_reuseFailAlloc_2823_, 3, v___f_2780_); -lean_ctor_set(v_reuseFailAlloc_2823_, 4, v___f_2779_); -v___x_2783_ = v_reuseFailAlloc_2823_; -goto v_reusejp_2782_; +lean_object* v_reuseFailAlloc_3049_; +v_reuseFailAlloc_3049_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3049_, 0, v___x_3004_); +lean_ctor_set(v_reuseFailAlloc_3049_, 1, v___f_3000_); +lean_ctor_set(v_reuseFailAlloc_3049_, 2, v___f_3007_); +lean_ctor_set(v_reuseFailAlloc_3049_, 3, v___f_3006_); +lean_ctor_set(v_reuseFailAlloc_3049_, 4, v___f_3005_); +v___x_3009_ = v_reuseFailAlloc_3049_; +goto v_reusejp_3008_; } -v_reusejp_2782_: +v_reusejp_3008_: { -lean_object* v___x_2785_; -if (v_isShared_2766_ == 0) +lean_object* v___x_3011_; +if (v_isShared_2992_ == 0) { -lean_ctor_set(v___x_2765_, 1, v___f_2775_); -lean_ctor_set(v___x_2765_, 0, v___x_2783_); -v___x_2785_ = v___x_2765_; -goto v_reusejp_2784_; +lean_ctor_set(v___x_2991_, 1, v___f_3001_); +lean_ctor_set(v___x_2991_, 0, v___x_3009_); +v___x_3011_ = v___x_2991_; +goto v_reusejp_3010_; } else { -lean_object* v_reuseFailAlloc_2822_; -v_reuseFailAlloc_2822_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2822_, 0, v___x_2783_); -lean_ctor_set(v_reuseFailAlloc_2822_, 1, v___f_2775_); -v___x_2785_ = v_reuseFailAlloc_2822_; -goto v_reusejp_2784_; +lean_object* v_reuseFailAlloc_3048_; +v_reuseFailAlloc_3048_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3048_, 0, v___x_3009_); +lean_ctor_set(v_reuseFailAlloc_3048_, 1, v___f_3001_); +v___x_3011_ = v_reuseFailAlloc_3048_; +goto v_reusejp_3010_; } -v_reusejp_2784_: +v_reusejp_3010_: { -lean_object* v___x_2786_; lean_object* v_toApplicative_2787_; lean_object* v___x_2789_; uint8_t v_isShared_2790_; uint8_t v_isSharedCheck_2820_; -v___x_2786_ = l_ReaderT_instMonad___redArg(v___x_2785_); -v_toApplicative_2787_ = lean_ctor_get(v___x_2786_, 0); -v_isSharedCheck_2820_ = !lean_is_exclusive(v___x_2786_); -if (v_isSharedCheck_2820_ == 0) +lean_object* v___x_3012_; lean_object* v_toApplicative_3013_; lean_object* v___x_3015_; uint8_t v_isShared_3016_; uint8_t v_isSharedCheck_3046_; +v___x_3012_ = l_ReaderT_instMonad___redArg(v___x_3011_); +v_toApplicative_3013_ = lean_ctor_get(v___x_3012_, 0); +v_isSharedCheck_3046_ = !lean_is_exclusive(v___x_3012_); +if (v_isSharedCheck_3046_ == 0) { -lean_object* v_unused_2821_; -v_unused_2821_ = lean_ctor_get(v___x_2786_, 1); -lean_dec(v_unused_2821_); -v___x_2789_ = v___x_2786_; -v_isShared_2790_ = v_isSharedCheck_2820_; -goto v_resetjp_2788_; +lean_object* v_unused_3047_; +v_unused_3047_ = lean_ctor_get(v___x_3012_, 1); +lean_dec(v_unused_3047_); +v___x_3015_ = v___x_3012_; +v_isShared_3016_ = v_isSharedCheck_3046_; +goto v_resetjp_3014_; } else { -lean_inc(v_toApplicative_2787_); -lean_dec(v___x_2786_); -v___x_2789_ = lean_box(0); -v_isShared_2790_ = v_isSharedCheck_2820_; -goto v_resetjp_2788_; +lean_inc(v_toApplicative_3013_); +lean_dec(v___x_3012_); +v___x_3015_ = lean_box(0); +v_isShared_3016_ = v_isSharedCheck_3046_; +goto v_resetjp_3014_; } -v_resetjp_2788_: +v_resetjp_3014_: { -lean_object* v_toFunctor_2791_; lean_object* v_toSeq_2792_; lean_object* v_toSeqLeft_2793_; lean_object* v_toSeqRight_2794_; lean_object* v___x_2796_; uint8_t v_isShared_2797_; uint8_t v_isSharedCheck_2818_; -v_toFunctor_2791_ = lean_ctor_get(v_toApplicative_2787_, 0); -v_toSeq_2792_ = lean_ctor_get(v_toApplicative_2787_, 2); -v_toSeqLeft_2793_ = lean_ctor_get(v_toApplicative_2787_, 3); -v_toSeqRight_2794_ = lean_ctor_get(v_toApplicative_2787_, 4); -v_isSharedCheck_2818_ = !lean_is_exclusive(v_toApplicative_2787_); -if (v_isSharedCheck_2818_ == 0) +lean_object* v_toFunctor_3017_; lean_object* v_toSeq_3018_; lean_object* v_toSeqLeft_3019_; lean_object* v_toSeqRight_3020_; lean_object* v___x_3022_; uint8_t v_isShared_3023_; uint8_t v_isSharedCheck_3044_; +v_toFunctor_3017_ = lean_ctor_get(v_toApplicative_3013_, 0); +v_toSeq_3018_ = lean_ctor_get(v_toApplicative_3013_, 2); +v_toSeqLeft_3019_ = lean_ctor_get(v_toApplicative_3013_, 3); +v_toSeqRight_3020_ = lean_ctor_get(v_toApplicative_3013_, 4); +v_isSharedCheck_3044_ = !lean_is_exclusive(v_toApplicative_3013_); +if (v_isSharedCheck_3044_ == 0) { -lean_object* v_unused_2819_; -v_unused_2819_ = lean_ctor_get(v_toApplicative_2787_, 1); -lean_dec(v_unused_2819_); -v___x_2796_ = v_toApplicative_2787_; -v_isShared_2797_ = v_isSharedCheck_2818_; -goto v_resetjp_2795_; +lean_object* v_unused_3045_; +v_unused_3045_ = lean_ctor_get(v_toApplicative_3013_, 1); +lean_dec(v_unused_3045_); +v___x_3022_ = v_toApplicative_3013_; +v_isShared_3023_ = v_isSharedCheck_3044_; +goto v_resetjp_3021_; } else { -lean_inc(v_toSeqRight_2794_); -lean_inc(v_toSeqLeft_2793_); -lean_inc(v_toSeq_2792_); -lean_inc(v_toFunctor_2791_); -lean_dec(v_toApplicative_2787_); -v___x_2796_ = lean_box(0); -v_isShared_2797_ = v_isSharedCheck_2818_; -goto v_resetjp_2795_; +lean_inc(v_toSeqRight_3020_); +lean_inc(v_toSeqLeft_3019_); +lean_inc(v_toSeq_3018_); +lean_inc(v_toFunctor_3017_); +lean_dec(v_toApplicative_3013_); +v___x_3022_ = lean_box(0); +v_isShared_3023_ = v_isSharedCheck_3044_; +goto v_resetjp_3021_; } -v_resetjp_2795_: +v_resetjp_3021_: { -lean_object* v___f_2798_; lean_object* v___f_2799_; lean_object* v___f_2800_; lean_object* v___f_2801_; lean_object* v___x_2802_; lean_object* v___f_2803_; lean_object* v___f_2804_; lean_object* v___f_2805_; lean_object* v___x_2807_; -v___f_2798_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3)); -v___f_2799_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4)); -lean_inc_ref(v_toFunctor_2791_); -v___f_2800_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_2800_, 0, v_toFunctor_2791_); -v___f_2801_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_2801_, 0, v_toFunctor_2791_); -v___x_2802_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2802_, 0, v___f_2800_); -lean_ctor_set(v___x_2802_, 1, v___f_2801_); -v___f_2803_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_2803_, 0, v_toSeqRight_2794_); -v___f_2804_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_2804_, 0, v_toSeqLeft_2793_); -v___f_2805_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_2805_, 0, v_toSeq_2792_); -if (v_isShared_2797_ == 0) +lean_object* v___f_3024_; lean_object* v___f_3025_; lean_object* v___f_3026_; lean_object* v___f_3027_; lean_object* v___x_3028_; lean_object* v___f_3029_; lean_object* v___f_3030_; lean_object* v___f_3031_; lean_object* v___x_3033_; +v___f_3024_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3)); +v___f_3025_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4)); +lean_inc_ref(v_toFunctor_3017_); +v___f_3026_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3026_, 0, v_toFunctor_3017_); +v___f_3027_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3027_, 0, v_toFunctor_3017_); +v___x_3028_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3028_, 0, v___f_3026_); +lean_ctor_set(v___x_3028_, 1, v___f_3027_); +v___f_3029_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3029_, 0, v_toSeqRight_3020_); +v___f_3030_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3030_, 0, v_toSeqLeft_3019_); +v___f_3031_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3031_, 0, v_toSeq_3018_); +if (v_isShared_3023_ == 0) { -lean_ctor_set(v___x_2796_, 4, v___f_2803_); -lean_ctor_set(v___x_2796_, 3, v___f_2804_); -lean_ctor_set(v___x_2796_, 2, v___f_2805_); -lean_ctor_set(v___x_2796_, 1, v___f_2798_); -lean_ctor_set(v___x_2796_, 0, v___x_2802_); -v___x_2807_ = v___x_2796_; -goto v_reusejp_2806_; +lean_ctor_set(v___x_3022_, 4, v___f_3029_); +lean_ctor_set(v___x_3022_, 3, v___f_3030_); +lean_ctor_set(v___x_3022_, 2, v___f_3031_); +lean_ctor_set(v___x_3022_, 1, v___f_3024_); +lean_ctor_set(v___x_3022_, 0, v___x_3028_); +v___x_3033_ = v___x_3022_; +goto v_reusejp_3032_; } else { -lean_object* v_reuseFailAlloc_2817_; -v_reuseFailAlloc_2817_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_2817_, 0, v___x_2802_); -lean_ctor_set(v_reuseFailAlloc_2817_, 1, v___f_2798_); -lean_ctor_set(v_reuseFailAlloc_2817_, 2, v___f_2805_); -lean_ctor_set(v_reuseFailAlloc_2817_, 3, v___f_2804_); -lean_ctor_set(v_reuseFailAlloc_2817_, 4, v___f_2803_); -v___x_2807_ = v_reuseFailAlloc_2817_; -goto v_reusejp_2806_; +lean_object* v_reuseFailAlloc_3043_; +v_reuseFailAlloc_3043_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3043_, 0, v___x_3028_); +lean_ctor_set(v_reuseFailAlloc_3043_, 1, v___f_3024_); +lean_ctor_set(v_reuseFailAlloc_3043_, 2, v___f_3031_); +lean_ctor_set(v_reuseFailAlloc_3043_, 3, v___f_3030_); +lean_ctor_set(v_reuseFailAlloc_3043_, 4, v___f_3029_); +v___x_3033_ = v_reuseFailAlloc_3043_; +goto v_reusejp_3032_; } -v_reusejp_2806_: +v_reusejp_3032_: { -lean_object* v___x_2809_; -if (v_isShared_2790_ == 0) +lean_object* v___x_3035_; +if (v_isShared_3016_ == 0) { -lean_ctor_set(v___x_2789_, 1, v___f_2799_); -lean_ctor_set(v___x_2789_, 0, v___x_2807_); -v___x_2809_ = v___x_2789_; -goto v_reusejp_2808_; +lean_ctor_set(v___x_3015_, 1, v___f_3025_); +lean_ctor_set(v___x_3015_, 0, v___x_3033_); +v___x_3035_ = v___x_3015_; +goto v_reusejp_3034_; } else { -lean_object* v_reuseFailAlloc_2816_; -v_reuseFailAlloc_2816_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2816_, 0, v___x_2807_); -lean_ctor_set(v_reuseFailAlloc_2816_, 1, v___f_2799_); -v___x_2809_ = v_reuseFailAlloc_2816_; -goto v_reusejp_2808_; +lean_object* v_reuseFailAlloc_3042_; +v_reuseFailAlloc_3042_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3042_, 0, v___x_3033_); +lean_ctor_set(v_reuseFailAlloc_3042_, 1, v___f_3025_); +v___x_3035_ = v_reuseFailAlloc_3042_; +goto v_reusejp_3034_; } -v_reusejp_2808_: +v_reusejp_3034_: { -lean_object* v___x_2810_; lean_object* v___x_2811_; lean_object* v___x_2812_; lean_object* v___x_2813_; lean_object* v___x_915__overap_2814_; lean_object* v___x_2815_; -v___x_2810_ = l_ReaderT_instMonad___redArg(v___x_2809_); -v___x_2811_ = l_ReaderT_instMonad___redArg(v___x_2810_); -v___x_2812_ = lean_box(0); -v___x_2813_ = l_instInhabitedOfMonad___redArg(v___x_2811_, v___x_2812_); -v___x_915__overap_2814_ = lean_panic_fn(v___x_2813_, v_msg_2753_); -v___x_2815_ = lean_apply_7(v___x_915__overap_2814_, v___y_2754_, v___y_2755_, v___y_2756_, v___y_2757_, v___y_2758_, v___y_2759_, lean_box(0)); -return v___x_2815_; +lean_object* v___x_3036_; lean_object* v___x_3037_; lean_object* v___x_3038_; lean_object* v___x_3039_; lean_object* v___x_915__overap_3040_; lean_object* v___x_3041_; +v___x_3036_ = l_ReaderT_instMonad___redArg(v___x_3035_); +v___x_3037_ = l_ReaderT_instMonad___redArg(v___x_3036_); +v___x_3038_ = lean_box(0); +v___x_3039_ = l_instInhabitedOfMonad___redArg(v___x_3037_, v___x_3038_); +v___x_915__overap_3040_ = lean_panic_fn(v___x_3039_, v_msg_2979_); +v___x_3041_ = lean_apply_7(v___x_915__overap_3040_, v___y_2980_, v___y_2981_, v___y_2982_, v___y_2983_, v___y_2984_, v___y_2985_, lean_box(0)); +return v___x_3041_; } } } @@ -9039,583 +10017,583 @@ return v___x_2815_; } } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1___boxed(lean_object* v_msg_2828_, lean_object* v___y_2829_, lean_object* v___y_2830_, lean_object* v___y_2831_, lean_object* v___y_2832_, lean_object* v___y_2833_, lean_object* v___y_2834_, lean_object* v___y_2835_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1___boxed(lean_object* v_msg_3054_, lean_object* v___y_3055_, lean_object* v___y_3056_, lean_object* v___y_3057_, lean_object* v___y_3058_, lean_object* v___y_3059_, lean_object* v___y_3060_, lean_object* v___y_3061_){ _start: { -lean_object* v_res_2836_; -v_res_2836_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v_msg_2828_, v___y_2829_, v___y_2830_, v___y_2831_, v___y_2832_, v___y_2833_, v___y_2834_); -return v_res_2836_; +lean_object* v_res_3062_; +v_res_3062_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v_msg_3054_, v___y_3055_, v___y_3056_, v___y_3057_, v___y_3058_, v___y_3059_, v___y_3060_); +return v_res_3062_; } } static lean_object* _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2(void){ _start: { -lean_object* v___x_2839_; lean_object* v___x_2840_; lean_object* v___x_2841_; lean_object* v___x_2842_; lean_object* v___x_2843_; lean_object* v___x_2844_; -v___x_2839_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); -v___x_2840_ = lean_unsigned_to_nat(40u); -v___x_2841_ = lean_unsigned_to_nat(49u); -v___x_2842_ = ((lean_object*)(l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__1)); -v___x_2843_ = ((lean_object*)(l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__0)); -v___x_2844_ = l_mkPanicMessageWithDecl(v___x_2843_, v___x_2842_, v___x_2841_, v___x_2840_, v___x_2839_); -return v___x_2844_; +lean_object* v___x_3065_; lean_object* v___x_3066_; lean_object* v___x_3067_; lean_object* v___x_3068_; lean_object* v___x_3069_; lean_object* v___x_3070_; +v___x_3065_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); +v___x_3066_ = lean_unsigned_to_nat(40u); +v___x_3067_ = lean_unsigned_to_nat(49u); +v___x_3068_ = ((lean_object*)(l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__1)); +v___x_3069_ = ((lean_object*)(l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__0)); +v___x_3070_ = l_mkPanicMessageWithDecl(v___x_3069_, v___x_3068_, v___x_3067_, v___x_3066_, v___x_3065_); +return v___x_3070_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(lean_object* v_f_2845_, lean_object* v_e_2846_, lean_object* v___y_2847_, lean_object* v___y_2848_, lean_object* v___y_2849_, lean_object* v___y_2850_, lean_object* v___y_2851_, lean_object* v___y_2852_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(lean_object* v_f_3071_, lean_object* v_e_3072_, lean_object* v___y_3073_, lean_object* v___y_3074_, lean_object* v___y_3075_, lean_object* v___y_3076_, lean_object* v___y_3077_, lean_object* v___y_3078_){ _start: { -lean_object* v_ty_2855_; lean_object* v_body_2856_; uint8_t v___x_2859_; -v___x_2859_ = l_Lean_Expr_hasFVar(v_e_2846_); -if (v___x_2859_ == 0) +lean_object* v_ty_3081_; lean_object* v_body_3082_; uint8_t v___x_3085_; +v___x_3085_ = l_Lean_Expr_hasFVar(v_e_3072_); +if (v___x_3085_ == 0) { -lean_object* v___x_2860_; lean_object* v___x_2861_; -lean_dec(v___y_2852_); -lean_dec_ref(v___y_2851_); -lean_dec(v___y_2850_); -lean_dec_ref(v___y_2849_); -lean_dec(v___y_2848_); -lean_dec_ref(v___y_2847_); -lean_dec_ref(v_e_2846_); -lean_dec_ref(v_f_2845_); -v___x_2860_ = lean_box(0); -v___x_2861_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2861_, 0, v___x_2860_); -return v___x_2861_; +lean_object* v___x_3086_; lean_object* v___x_3087_; +lean_dec(v___y_3078_); +lean_dec_ref(v___y_3077_); +lean_dec(v___y_3076_); +lean_dec_ref(v___y_3075_); +lean_dec(v___y_3074_); +lean_dec_ref(v___y_3073_); +lean_dec_ref(v_e_3072_); +lean_dec_ref(v_f_3071_); +v___x_3086_ = lean_box(0); +v___x_3087_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3087_, 0, v___x_3086_); +return v___x_3087_; } else { -switch(lean_obj_tag(v_e_2846_)) +switch(lean_obj_tag(v_e_3072_)) { case 1: { -lean_object* v_fvarId_2862_; lean_object* v___x_2863_; -v_fvarId_2862_ = lean_ctor_get(v_e_2846_, 0); -lean_inc(v_fvarId_2862_); -lean_dec_ref(v_e_2846_); -v___x_2863_ = lean_apply_8(v_f_2845_, v_fvarId_2862_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_, lean_box(0)); -return v___x_2863_; +lean_object* v_fvarId_3088_; lean_object* v___x_3089_; +v_fvarId_3088_ = lean_ctor_get(v_e_3072_, 0); +lean_inc(v_fvarId_3088_); +lean_dec_ref(v_e_3072_); +v___x_3089_ = lean_apply_8(v_f_3071_, v_fvarId_3088_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_, lean_box(0)); +return v___x_3089_; } case 2: { -lean_object* v___x_2864_; lean_object* v___x_2865_; -lean_dec_ref(v_e_2846_); -lean_dec_ref(v_f_2845_); -v___x_2864_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); -v___x_2865_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_2864_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_); -return v___x_2865_; +lean_object* v___x_3090_; lean_object* v___x_3091_; +lean_dec_ref(v_e_3072_); +lean_dec_ref(v_f_3071_); +v___x_3090_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); +v___x_3091_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_3090_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_); +return v___x_3091_; } case 5: { -lean_object* v_fn_2866_; lean_object* v_arg_2867_; lean_object* v___x_2868_; -v_fn_2866_ = lean_ctor_get(v_e_2846_, 0); -lean_inc_ref(v_fn_2866_); -v_arg_2867_ = lean_ctor_get(v_e_2846_, 1); -lean_inc_ref(v_arg_2867_); -lean_dec_ref(v_e_2846_); -lean_inc(v___y_2852_); -lean_inc_ref(v___y_2851_); -lean_inc(v___y_2850_); -lean_inc_ref(v___y_2849_); -lean_inc(v___y_2848_); -lean_inc_ref(v___y_2847_); -lean_inc_ref(v_f_2845_); -v___x_2868_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_2845_, v_fn_2866_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_); -if (lean_obj_tag(v___x_2868_) == 0) +lean_object* v_fn_3092_; lean_object* v_arg_3093_; lean_object* v___x_3094_; +v_fn_3092_ = lean_ctor_get(v_e_3072_, 0); +lean_inc_ref(v_fn_3092_); +v_arg_3093_ = lean_ctor_get(v_e_3072_, 1); +lean_inc_ref(v_arg_3093_); +lean_dec_ref(v_e_3072_); +lean_inc(v___y_3078_); +lean_inc_ref(v___y_3077_); +lean_inc(v___y_3076_); +lean_inc_ref(v___y_3075_); +lean_inc(v___y_3074_); +lean_inc_ref(v___y_3073_); +lean_inc_ref(v_f_3071_); +v___x_3094_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_3071_, v_fn_3092_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_); +if (lean_obj_tag(v___x_3094_) == 0) { -lean_dec_ref(v___x_2868_); -v_e_2846_ = v_arg_2867_; +lean_dec_ref(v___x_3094_); +v_e_3072_ = v_arg_3093_; goto _start; } else { -lean_dec_ref(v_arg_2867_); -lean_dec(v___y_2852_); -lean_dec_ref(v___y_2851_); -lean_dec(v___y_2850_); -lean_dec_ref(v___y_2849_); -lean_dec(v___y_2848_); -lean_dec_ref(v___y_2847_); -lean_dec_ref(v_f_2845_); -return v___x_2868_; +lean_dec_ref(v_arg_3093_); +lean_dec(v___y_3078_); +lean_dec_ref(v___y_3077_); +lean_dec(v___y_3076_); +lean_dec_ref(v___y_3075_); +lean_dec(v___y_3074_); +lean_dec_ref(v___y_3073_); +lean_dec_ref(v_f_3071_); +return v___x_3094_; } } case 6: { -lean_object* v_binderType_2870_; lean_object* v_body_2871_; -v_binderType_2870_ = lean_ctor_get(v_e_2846_, 1); -lean_inc_ref(v_binderType_2870_); -v_body_2871_ = lean_ctor_get(v_e_2846_, 2); -lean_inc_ref(v_body_2871_); -lean_dec_ref(v_e_2846_); -v_ty_2855_ = v_binderType_2870_; -v_body_2856_ = v_body_2871_; -goto v___jp_2854_; +lean_object* v_binderType_3096_; lean_object* v_body_3097_; +v_binderType_3096_ = lean_ctor_get(v_e_3072_, 1); +lean_inc_ref(v_binderType_3096_); +v_body_3097_ = lean_ctor_get(v_e_3072_, 2); +lean_inc_ref(v_body_3097_); +lean_dec_ref(v_e_3072_); +v_ty_3081_ = v_binderType_3096_; +v_body_3082_ = v_body_3097_; +goto v___jp_3080_; } case 7: { -lean_object* v_binderType_2872_; lean_object* v_body_2873_; -v_binderType_2872_ = lean_ctor_get(v_e_2846_, 1); -lean_inc_ref(v_binderType_2872_); -v_body_2873_ = lean_ctor_get(v_e_2846_, 2); -lean_inc_ref(v_body_2873_); -lean_dec_ref(v_e_2846_); -v_ty_2855_ = v_binderType_2872_; -v_body_2856_ = v_body_2873_; -goto v___jp_2854_; +lean_object* v_binderType_3098_; lean_object* v_body_3099_; +v_binderType_3098_ = lean_ctor_get(v_e_3072_, 1); +lean_inc_ref(v_binderType_3098_); +v_body_3099_ = lean_ctor_get(v_e_3072_, 2); +lean_inc_ref(v_body_3099_); +lean_dec_ref(v_e_3072_); +v_ty_3081_ = v_binderType_3098_; +v_body_3082_ = v_body_3099_; +goto v___jp_3080_; } case 8: { -lean_object* v___x_2874_; lean_object* v___x_2875_; -lean_dec_ref(v_e_2846_); -lean_dec_ref(v_f_2845_); -v___x_2874_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); -v___x_2875_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_2874_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_); -return v___x_2875_; +lean_object* v___x_3100_; lean_object* v___x_3101_; +lean_dec_ref(v_e_3072_); +lean_dec_ref(v_f_3071_); +v___x_3100_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); +v___x_3101_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_3100_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_); +return v___x_3101_; } case 11: { -lean_object* v___x_2876_; lean_object* v___x_2877_; -lean_dec_ref(v_e_2846_); -lean_dec_ref(v_f_2845_); -v___x_2876_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); -v___x_2877_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_2876_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_); -return v___x_2877_; +lean_object* v___x_3102_; lean_object* v___x_3103_; +lean_dec_ref(v_e_3072_); +lean_dec_ref(v_f_3071_); +v___x_3102_ = lean_obj_once(&l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2, &l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2_once, _init_l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___closed__2); +v___x_3103_ = l_panic___at___00Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0_spec__1(v___x_3102_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_); +return v___x_3103_; } default: { -lean_object* v___x_2878_; lean_object* v___x_2879_; -lean_dec(v___y_2852_); -lean_dec_ref(v___y_2851_); -lean_dec(v___y_2850_); -lean_dec_ref(v___y_2849_); -lean_dec(v___y_2848_); -lean_dec_ref(v___y_2847_); -lean_dec_ref(v_e_2846_); -lean_dec_ref(v_f_2845_); -v___x_2878_ = lean_box(0); -v___x_2879_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2879_, 0, v___x_2878_); -return v___x_2879_; +lean_object* v___x_3104_; lean_object* v___x_3105_; +lean_dec(v___y_3078_); +lean_dec_ref(v___y_3077_); +lean_dec(v___y_3076_); +lean_dec_ref(v___y_3075_); +lean_dec(v___y_3074_); +lean_dec_ref(v___y_3073_); +lean_dec_ref(v_e_3072_); +lean_dec_ref(v_f_3071_); +v___x_3104_ = lean_box(0); +v___x_3105_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3105_, 0, v___x_3104_); +return v___x_3105_; } } } -v___jp_2854_: +v___jp_3080_: { -lean_object* v___x_2857_; -lean_inc(v___y_2852_); -lean_inc_ref(v___y_2851_); -lean_inc(v___y_2850_); -lean_inc_ref(v___y_2849_); -lean_inc(v___y_2848_); -lean_inc_ref(v___y_2847_); -lean_inc_ref(v_f_2845_); -v___x_2857_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_2845_, v_ty_2855_, v___y_2847_, v___y_2848_, v___y_2849_, v___y_2850_, v___y_2851_, v___y_2852_); -if (lean_obj_tag(v___x_2857_) == 0) +lean_object* v___x_3083_; +lean_inc(v___y_3078_); +lean_inc_ref(v___y_3077_); +lean_inc(v___y_3076_); +lean_inc_ref(v___y_3075_); +lean_inc(v___y_3074_); +lean_inc_ref(v___y_3073_); +lean_inc_ref(v_f_3071_); +v___x_3083_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_3071_, v_ty_3081_, v___y_3073_, v___y_3074_, v___y_3075_, v___y_3076_, v___y_3077_, v___y_3078_); +if (lean_obj_tag(v___x_3083_) == 0) { -lean_dec_ref(v___x_2857_); -v_e_2846_ = v_body_2856_; +lean_dec_ref(v___x_3083_); +v_e_3072_ = v_body_3082_; goto _start; } else { -lean_dec_ref(v_body_2856_); -lean_dec(v___y_2852_); -lean_dec_ref(v___y_2851_); -lean_dec(v___y_2850_); -lean_dec_ref(v___y_2849_); -lean_dec(v___y_2848_); -lean_dec_ref(v___y_2847_); -lean_dec_ref(v_f_2845_); -return v___x_2857_; +lean_dec_ref(v_body_3082_); +lean_dec(v___y_3078_); +lean_dec_ref(v___y_3077_); +lean_dec(v___y_3076_); +lean_dec_ref(v___y_3075_); +lean_dec(v___y_3074_); +lean_dec_ref(v___y_3073_); +lean_dec_ref(v_f_3071_); +return v___x_3083_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___boxed(lean_object* v_f_2880_, lean_object* v_e_2881_, lean_object* v___y_2882_, lean_object* v___y_2883_, lean_object* v___y_2884_, lean_object* v___y_2885_, lean_object* v___y_2886_, lean_object* v___y_2887_, lean_object* v___y_2888_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0___boxed(lean_object* v_f_3106_, lean_object* v_e_3107_, lean_object* v___y_3108_, lean_object* v___y_3109_, lean_object* v___y_3110_, lean_object* v___y_3111_, lean_object* v___y_3112_, lean_object* v___y_3113_, lean_object* v___y_3114_){ _start: { -lean_object* v_res_2889_; -v_res_2889_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_2880_, v_e_2881_, v___y_2882_, v___y_2883_, v___y_2884_, v___y_2885_, v___y_2886_, v___y_2887_); -return v_res_2889_; +lean_object* v_res_3115_; +v_res_3115_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_3106_, v_e_3107_, v___y_3108_, v___y_3109_, v___y_3110_, v___y_3111_, v___y_3112_, v___y_3113_); +return v_res_3115_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(lean_object* v_f_2890_, lean_object* v_arg_2891_, lean_object* v___y_2892_, lean_object* v___y_2893_, lean_object* v___y_2894_, lean_object* v___y_2895_, lean_object* v___y_2896_, lean_object* v___y_2897_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(lean_object* v_f_3116_, lean_object* v_arg_3117_, lean_object* v___y_3118_, lean_object* v___y_3119_, lean_object* v___y_3120_, lean_object* v___y_3121_, lean_object* v___y_3122_, lean_object* v___y_3123_){ _start: { -switch(lean_obj_tag(v_arg_2891_)) +switch(lean_obj_tag(v_arg_3117_)) { case 0: { -lean_object* v___x_2899_; lean_object* v___x_2900_; -lean_dec(v___y_2897_); -lean_dec_ref(v___y_2896_); -lean_dec(v___y_2895_); -lean_dec_ref(v___y_2894_); -lean_dec(v___y_2893_); -lean_dec_ref(v___y_2892_); -lean_dec_ref(v_f_2890_); -v___x_2899_ = lean_box(0); -v___x_2900_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2900_, 0, v___x_2899_); -return v___x_2900_; +lean_object* v___x_3125_; lean_object* v___x_3126_; +lean_dec(v___y_3123_); +lean_dec_ref(v___y_3122_); +lean_dec(v___y_3121_); +lean_dec_ref(v___y_3120_); +lean_dec(v___y_3119_); +lean_dec_ref(v___y_3118_); +lean_dec_ref(v_f_3116_); +v___x_3125_ = lean_box(0); +v___x_3126_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3126_, 0, v___x_3125_); +return v___x_3126_; } case 1: { -lean_object* v_fvarId_2901_; lean_object* v___x_2902_; -v_fvarId_2901_ = lean_ctor_get(v_arg_2891_, 0); -lean_inc(v_fvarId_2901_); -lean_dec_ref(v_arg_2891_); -v___x_2902_ = lean_apply_8(v_f_2890_, v_fvarId_2901_, v___y_2892_, v___y_2893_, v___y_2894_, v___y_2895_, v___y_2896_, v___y_2897_, lean_box(0)); -return v___x_2902_; +lean_object* v_fvarId_3127_; lean_object* v___x_3128_; +v_fvarId_3127_ = lean_ctor_get(v_arg_3117_, 0); +lean_inc(v_fvarId_3127_); +lean_dec_ref(v_arg_3117_); +v___x_3128_ = lean_apply_8(v_f_3116_, v_fvarId_3127_, v___y_3118_, v___y_3119_, v___y_3120_, v___y_3121_, v___y_3122_, v___y_3123_, lean_box(0)); +return v___x_3128_; } default: { -lean_object* v_expr_2903_; lean_object* v___x_2904_; -v_expr_2903_ = lean_ctor_get(v_arg_2891_, 0); -lean_inc_ref(v_expr_2903_); -lean_dec_ref(v_arg_2891_); -v___x_2904_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_2890_, v_expr_2903_, v___y_2892_, v___y_2893_, v___y_2894_, v___y_2895_, v___y_2896_, v___y_2897_); -return v___x_2904_; +lean_object* v_expr_3129_; lean_object* v___x_3130_; +v_expr_3129_ = lean_ctor_get(v_arg_3117_, 0); +lean_inc_ref(v_expr_3129_); +lean_dec_ref(v_arg_3117_); +v___x_3130_ = l_Lean_Compiler_LCNF_Expr_forFVarM___at___00Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0_spec__0(v_f_3116_, v_expr_3129_, v___y_3118_, v___y_3119_, v___y_3120_, v___y_3121_, v___y_3122_, v___y_3123_); +return v___x_3130_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg___boxed(lean_object* v_f_2905_, lean_object* v_arg_2906_, lean_object* v___y_2907_, lean_object* v___y_2908_, lean_object* v___y_2909_, lean_object* v___y_2910_, lean_object* v___y_2911_, lean_object* v___y_2912_, lean_object* v___y_2913_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg___boxed(lean_object* v_f_3131_, lean_object* v_arg_3132_, lean_object* v___y_3133_, lean_object* v___y_3134_, lean_object* v___y_3135_, lean_object* v___y_3136_, lean_object* v___y_3137_, lean_object* v___y_3138_, lean_object* v___y_3139_){ _start: { -lean_object* v_res_2914_; -v_res_2914_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v_f_2905_, v_arg_2906_, v___y_2907_, v___y_2908_, v___y_2909_, v___y_2910_, v___y_2911_, v___y_2912_); -return v_res_2914_; +lean_object* v_res_3140_; +v_res_3140_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v_f_3131_, v_arg_3132_, v___y_3133_, v___y_3134_, v___y_3135_, v___y_3136_, v___y_3137_, v___y_3138_); +return v_res_3140_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(lean_object* v_reason_2915_, lean_object* v_a_2916_, lean_object* v_a_2917_, lean_object* v_a_2918_, lean_object* v_a_2919_, lean_object* v_a_2920_, lean_object* v_a_2921_, lean_object* v_a_2922_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(lean_object* v_reason_3141_, lean_object* v_a_3142_, lean_object* v_a_3143_, lean_object* v_a_3144_, lean_object* v_a_3145_, lean_object* v_a_3146_, lean_object* v_a_3147_, lean_object* v_a_3148_){ _start: { -lean_object* v___f_2924_; lean_object* v___x_2925_; -v___f_2924_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0___boxed), 9, 1); -lean_closure_set(v___f_2924_, 0, v_reason_2915_); -v___x_2925_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v___f_2924_, v_a_2916_, v_a_2917_, v_a_2918_, v_a_2919_, v_a_2920_, v_a_2921_, v_a_2922_); -return v___x_2925_; +lean_object* v___f_3150_; lean_object* v___x_3151_; +v___f_3150_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___lam__0___boxed), 9, 1); +lean_closure_set(v___f_3150_, 0, v_reason_3141_); +v___x_3151_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v___f_3150_, v_a_3142_, v_a_3143_, v_a_3144_, v_a_3145_, v_a_3146_, v_a_3147_, v_a_3148_); +return v___x_3151_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___boxed(lean_object* v_reason_2926_, lean_object* v_a_2927_, lean_object* v_a_2928_, lean_object* v_a_2929_, lean_object* v_a_2930_, lean_object* v_a_2931_, lean_object* v_a_2932_, lean_object* v_a_2933_, lean_object* v_a_2934_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg___boxed(lean_object* v_reason_3152_, lean_object* v_a_3153_, lean_object* v_a_3154_, lean_object* v_a_3155_, lean_object* v_a_3156_, lean_object* v_a_3157_, lean_object* v_a_3158_, lean_object* v_a_3159_, lean_object* v_a_3160_){ _start: { -lean_object* v_res_2935_; -v_res_2935_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_2926_, v_a_2927_, v_a_2928_, v_a_2929_, v_a_2930_, v_a_2931_, v_a_2932_, v_a_2933_); -return v_res_2935_; +lean_object* v_res_3161_; +v_res_3161_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_3152_, v_a_3153_, v_a_3154_, v_a_3155_, v_a_3156_, v_a_3157_, v_a_3158_, v_a_3159_); +return v_res_3161_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0(uint8_t v_pu_2936_, lean_object* v_f_2937_, lean_object* v_arg_2938_, lean_object* v___y_2939_, lean_object* v___y_2940_, lean_object* v___y_2941_, lean_object* v___y_2942_, lean_object* v___y_2943_, lean_object* v___y_2944_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0(uint8_t v_pu_3162_, lean_object* v_f_3163_, lean_object* v_arg_3164_, lean_object* v___y_3165_, lean_object* v___y_3166_, lean_object* v___y_3167_, lean_object* v___y_3168_, lean_object* v___y_3169_, lean_object* v___y_3170_){ _start: { -lean_object* v___x_2946_; -v___x_2946_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v_f_2937_, v_arg_2938_, v___y_2939_, v___y_2940_, v___y_2941_, v___y_2942_, v___y_2943_, v___y_2944_); -return v___x_2946_; +lean_object* v___x_3172_; +v___x_3172_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___redArg(v_f_3163_, v_arg_3164_, v___y_3165_, v___y_3166_, v___y_3167_, v___y_3168_, v___y_3169_, v___y_3170_); +return v___x_3172_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___boxed(lean_object* v_pu_2947_, lean_object* v_f_2948_, lean_object* v_arg_2949_, lean_object* v___y_2950_, lean_object* v___y_2951_, lean_object* v___y_2952_, lean_object* v___y_2953_, lean_object* v___y_2954_, lean_object* v___y_2955_, lean_object* v___y_2956_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0___boxed(lean_object* v_pu_3173_, lean_object* v_f_3174_, lean_object* v_arg_3175_, lean_object* v___y_3176_, lean_object* v___y_3177_, lean_object* v___y_3178_, lean_object* v___y_3179_, lean_object* v___y_3180_, lean_object* v___y_3181_, lean_object* v___y_3182_){ _start: { -uint8_t v_pu_boxed_2957_; lean_object* v_res_2958_; -v_pu_boxed_2957_ = lean_unbox(v_pu_2947_); -v_res_2958_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0(v_pu_boxed_2957_, v_f_2948_, v_arg_2949_, v___y_2950_, v___y_2951_, v___y_2952_, v___y_2953_, v___y_2954_, v___y_2955_); -return v_res_2958_; +uint8_t v_pu_boxed_3183_; lean_object* v_res_3184_; +v_pu_boxed_3183_ = lean_unbox(v_pu_3173_); +v_res_3184_ = l_Lean_Compiler_LCNF_Arg_forFVarM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg_spec__0(v_pu_boxed_3183_, v_f_3174_, v_arg_3175_, v___y_3176_, v___y_3177_, v___y_3178_, v___y_3179_, v___y_3180_, v___y_3181_); +return v_res_3184_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(lean_object* v_upperBound_2959_, lean_object* v_ps_2960_, lean_object* v_args_2961_, lean_object* v_reason_2962_, lean_object* v_a_2963_, lean_object* v_b_2964_, lean_object* v___y_2965_, lean_object* v___y_2966_, lean_object* v___y_2967_, lean_object* v___y_2968_, lean_object* v___y_2969_, lean_object* v___y_2970_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(lean_object* v_upperBound_3185_, lean_object* v_ps_3186_, lean_object* v_args_3187_, lean_object* v_reason_3188_, lean_object* v_a_3189_, lean_object* v_b_3190_, lean_object* v___y_3191_, lean_object* v___y_3192_, lean_object* v___y_3193_, lean_object* v___y_3194_, lean_object* v___y_3195_, lean_object* v___y_3196_){ _start: { -lean_object* v_a_2973_; uint8_t v___x_2977_; -v___x_2977_ = lean_nat_dec_lt(v_a_2963_, v_upperBound_2959_); -if (v___x_2977_ == 0) +lean_object* v_a_3199_; uint8_t v___x_3203_; +v___x_3203_ = lean_nat_dec_lt(v_a_3189_, v_upperBound_3185_); +if (v___x_3203_ == 0) { -lean_object* v___x_2978_; -lean_dec(v___y_2970_); -lean_dec_ref(v___y_2969_); -lean_dec(v___y_2968_); -lean_dec_ref(v___y_2967_); -lean_dec(v___y_2966_); -lean_dec_ref(v___y_2965_); -lean_dec(v_a_2963_); -lean_dec_ref(v_reason_2962_); -v___x_2978_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2978_, 0, v_b_2964_); -return v___x_2978_; +lean_object* v___x_3204_; +lean_dec(v___y_3196_); +lean_dec_ref(v___y_3195_); +lean_dec(v___y_3194_); +lean_dec_ref(v___y_3193_); +lean_dec(v___y_3192_); +lean_dec_ref(v___y_3191_); +lean_dec(v_a_3189_); +lean_dec_ref(v_reason_3188_); +v___x_3204_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3204_, 0, v_b_3190_); +return v___x_3204_; } else { -lean_object* v___x_2979_; lean_object* v___x_2980_; lean_object* v_type_2981_; uint8_t v_borrow_2982_; lean_object* v___x_2983_; -v___x_2979_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0); -v___x_2980_ = lean_array_get_borrowed(v___x_2979_, v_ps_2960_, v_a_2963_); -v_type_2981_ = lean_ctor_get(v___x_2980_, 2); -v_borrow_2982_ = lean_ctor_get_uint8(v___x_2980_, sizeof(void*)*3); -v___x_2983_ = lean_box(0); -if (v_borrow_2982_ == 0) +lean_object* v___x_3205_; lean_object* v___x_3206_; lean_object* v_type_3207_; uint8_t v_borrow_3208_; lean_object* v___x_3209_; +v___x_3205_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs_spec__0___redArg___closed__0); +v___x_3206_ = lean_array_get_borrowed(v___x_3205_, v_ps_3186_, v_a_3189_); +v_type_3207_ = lean_ctor_get(v___x_3206_, 2); +v_borrow_3208_ = lean_ctor_get_uint8(v___x_3206_, sizeof(void*)*3); +v___x_3209_ = lean_box(0); +if (v_borrow_3208_ == 0) { -uint8_t v___x_2984_; -v___x_2984_ = l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isScalar(v_type_2981_); -if (v___x_2984_ == 0) +uint8_t v___x_3210_; +v___x_3210_ = l_Lean_Compiler_LCNF_ImpureType_Lean_Expr_isScalar(v_type_3207_); +if (v___x_3210_ == 0) { -lean_object* v___x_2985_; lean_object* v___x_2986_; -v___x_2985_ = lean_array_fget_borrowed(v_args_2961_, v_a_2963_); -lean_inc(v___y_2970_); -lean_inc_ref(v___y_2969_); -lean_inc(v___y_2968_); -lean_inc_ref(v___y_2967_); -lean_inc(v___y_2966_); -lean_inc_ref(v___y_2965_); -lean_inc(v___x_2985_); -lean_inc_ref(v_reason_2962_); -v___x_2986_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_2962_, v___x_2985_, v___y_2965_, v___y_2966_, v___y_2967_, v___y_2968_, v___y_2969_, v___y_2970_); -if (lean_obj_tag(v___x_2986_) == 0) +lean_object* v___x_3211_; lean_object* v___x_3212_; +v___x_3211_ = lean_array_fget_borrowed(v_args_3187_, v_a_3189_); +lean_inc(v___y_3196_); +lean_inc_ref(v___y_3195_); +lean_inc(v___y_3194_); +lean_inc_ref(v___y_3193_); +lean_inc(v___y_3192_); +lean_inc_ref(v___y_3191_); +lean_inc(v___x_3211_); +lean_inc_ref(v_reason_3188_); +v___x_3212_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_3188_, v___x_3211_, v___y_3191_, v___y_3192_, v___y_3193_, v___y_3194_, v___y_3195_, v___y_3196_); +if (lean_obj_tag(v___x_3212_) == 0) { -lean_dec_ref(v___x_2986_); -v_a_2973_ = v___x_2983_; -goto v___jp_2972_; +lean_dec_ref(v___x_3212_); +v_a_3199_ = v___x_3209_; +goto v___jp_3198_; } else { -lean_dec(v___y_2970_); -lean_dec_ref(v___y_2969_); -lean_dec(v___y_2968_); -lean_dec_ref(v___y_2967_); -lean_dec(v___y_2966_); -lean_dec_ref(v___y_2965_); -lean_dec(v_a_2963_); -lean_dec_ref(v_reason_2962_); -return v___x_2986_; +lean_dec(v___y_3196_); +lean_dec_ref(v___y_3195_); +lean_dec(v___y_3194_); +lean_dec_ref(v___y_3193_); +lean_dec(v___y_3192_); +lean_dec_ref(v___y_3191_); +lean_dec(v_a_3189_); +lean_dec_ref(v_reason_3188_); +return v___x_3212_; } } else { -v_a_2973_ = v___x_2983_; -goto v___jp_2972_; +v_a_3199_ = v___x_3209_; +goto v___jp_3198_; } } else { -v_a_2973_ = v___x_2983_; -goto v___jp_2972_; +v_a_3199_ = v___x_3209_; +goto v___jp_3198_; } } -v___jp_2972_: +v___jp_3198_: { -lean_object* v___x_2974_; lean_object* v___x_2975_; -v___x_2974_ = lean_unsigned_to_nat(1u); -v___x_2975_ = lean_nat_add(v_a_2963_, v___x_2974_); -lean_dec(v_a_2963_); -v_a_2963_ = v___x_2975_; -v_b_2964_ = v_a_2973_; +lean_object* v___x_3200_; lean_object* v___x_3201_; +v___x_3200_ = lean_unsigned_to_nat(1u); +v___x_3201_ = lean_nat_add(v_a_3189_, v___x_3200_); +lean_dec(v_a_3189_); +v_a_3189_ = v___x_3201_; +v_b_3190_ = v_a_3199_; goto _start; } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg___boxed(lean_object* v_upperBound_2987_, lean_object* v_ps_2988_, lean_object* v_args_2989_, lean_object* v_reason_2990_, lean_object* v_a_2991_, lean_object* v_b_2992_, lean_object* v___y_2993_, lean_object* v___y_2994_, lean_object* v___y_2995_, lean_object* v___y_2996_, lean_object* v___y_2997_, lean_object* v___y_2998_, lean_object* v___y_2999_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg___boxed(lean_object* v_upperBound_3213_, lean_object* v_ps_3214_, lean_object* v_args_3215_, lean_object* v_reason_3216_, lean_object* v_a_3217_, lean_object* v_b_3218_, lean_object* v___y_3219_, lean_object* v___y_3220_, lean_object* v___y_3221_, lean_object* v___y_3222_, lean_object* v___y_3223_, lean_object* v___y_3224_, lean_object* v___y_3225_){ _start: { -lean_object* v_res_3000_; -v_res_3000_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v_upperBound_2987_, v_ps_2988_, v_args_2989_, v_reason_2990_, v_a_2991_, v_b_2992_, v___y_2993_, v___y_2994_, v___y_2995_, v___y_2996_, v___y_2997_, v___y_2998_); -lean_dec_ref(v_args_2989_); -lean_dec_ref(v_ps_2988_); -lean_dec(v_upperBound_2987_); -return v_res_3000_; +lean_object* v_res_3226_; +v_res_3226_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v_upperBound_3213_, v_ps_3214_, v_args_3215_, v_reason_3216_, v_a_3217_, v_b_3218_, v___y_3219_, v___y_3220_, v___y_3221_, v___y_3222_, v___y_3223_, v___y_3224_); +lean_dec_ref(v_args_3215_); +lean_dec_ref(v_ps_3214_); +lean_dec(v_upperBound_3213_); +return v_res_3226_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(lean_object* v_args_3001_, lean_object* v_ps_3002_, lean_object* v_reason_3003_, lean_object* v_a_3004_, lean_object* v_a_3005_, lean_object* v_a_3006_, lean_object* v_a_3007_, lean_object* v_a_3008_, lean_object* v_a_3009_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(lean_object* v_args_3227_, lean_object* v_ps_3228_, lean_object* v_reason_3229_, lean_object* v_a_3230_, lean_object* v_a_3231_, lean_object* v_a_3232_, lean_object* v_a_3233_, lean_object* v_a_3234_, lean_object* v_a_3235_){ _start: { -lean_object* v___x_3011_; lean_object* v___x_3012_; lean_object* v___x_3013_; lean_object* v___x_3014_; -v___x_3011_ = lean_unsigned_to_nat(0u); -v___x_3012_ = lean_array_get_size(v_args_3001_); -v___x_3013_ = lean_box(0); -v___x_3014_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v___x_3012_, v_ps_3002_, v_args_3001_, v_reason_3003_, v___x_3011_, v___x_3013_, v_a_3004_, v_a_3005_, v_a_3006_, v_a_3007_, v_a_3008_, v_a_3009_); -if (lean_obj_tag(v___x_3014_) == 0) +lean_object* v___x_3237_; lean_object* v___x_3238_; lean_object* v___x_3239_; lean_object* v___x_3240_; +v___x_3237_ = lean_unsigned_to_nat(0u); +v___x_3238_ = lean_array_get_size(v_args_3227_); +v___x_3239_ = lean_box(0); +v___x_3240_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v___x_3238_, v_ps_3228_, v_args_3227_, v_reason_3229_, v___x_3237_, v___x_3239_, v_a_3230_, v_a_3231_, v_a_3232_, v_a_3233_, v_a_3234_, v_a_3235_); +if (lean_obj_tag(v___x_3240_) == 0) { -lean_object* v___x_3016_; uint8_t v_isShared_3017_; uint8_t v_isSharedCheck_3021_; -v_isSharedCheck_3021_ = !lean_is_exclusive(v___x_3014_); -if (v_isSharedCheck_3021_ == 0) +lean_object* v___x_3242_; uint8_t v_isShared_3243_; uint8_t v_isSharedCheck_3247_; +v_isSharedCheck_3247_ = !lean_is_exclusive(v___x_3240_); +if (v_isSharedCheck_3247_ == 0) { -lean_object* v_unused_3022_; -v_unused_3022_ = lean_ctor_get(v___x_3014_, 0); -lean_dec(v_unused_3022_); -v___x_3016_ = v___x_3014_; -v_isShared_3017_ = v_isSharedCheck_3021_; -goto v_resetjp_3015_; +lean_object* v_unused_3248_; +v_unused_3248_ = lean_ctor_get(v___x_3240_, 0); +lean_dec(v_unused_3248_); +v___x_3242_ = v___x_3240_; +v_isShared_3243_ = v_isSharedCheck_3247_; +goto v_resetjp_3241_; } else { -lean_dec(v___x_3014_); -v___x_3016_ = lean_box(0); -v_isShared_3017_ = v_isSharedCheck_3021_; -goto v_resetjp_3015_; +lean_dec(v___x_3240_); +v___x_3242_ = lean_box(0); +v_isShared_3243_ = v_isSharedCheck_3247_; +goto v_resetjp_3241_; } -v_resetjp_3015_: +v_resetjp_3241_: { -lean_object* v___x_3019_; -if (v_isShared_3017_ == 0) +lean_object* v___x_3245_; +if (v_isShared_3243_ == 0) { -lean_ctor_set(v___x_3016_, 0, v___x_3013_); -v___x_3019_ = v___x_3016_; -goto v_reusejp_3018_; +lean_ctor_set(v___x_3242_, 0, v___x_3239_); +v___x_3245_ = v___x_3242_; +goto v_reusejp_3244_; } else { -lean_object* v_reuseFailAlloc_3020_; -v_reuseFailAlloc_3020_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3020_, 0, v___x_3013_); -v___x_3019_ = v_reuseFailAlloc_3020_; -goto v_reusejp_3018_; +lean_object* v_reuseFailAlloc_3246_; +v_reuseFailAlloc_3246_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3246_, 0, v___x_3239_); +v___x_3245_ = v_reuseFailAlloc_3246_; +goto v_reusejp_3244_; } -v_reusejp_3018_: +v_reusejp_3244_: { -return v___x_3019_; +return v___x_3245_; } } } else { -return v___x_3014_; +return v___x_3240_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams___boxed(lean_object* v_args_3023_, lean_object* v_ps_3024_, lean_object* v_reason_3025_, lean_object* v_a_3026_, lean_object* v_a_3027_, lean_object* v_a_3028_, lean_object* v_a_3029_, lean_object* v_a_3030_, lean_object* v_a_3031_, lean_object* v_a_3032_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams___boxed(lean_object* v_args_3249_, lean_object* v_ps_3250_, lean_object* v_reason_3251_, lean_object* v_a_3252_, lean_object* v_a_3253_, lean_object* v_a_3254_, lean_object* v_a_3255_, lean_object* v_a_3256_, lean_object* v_a_3257_, lean_object* v_a_3258_){ _start: { -lean_object* v_res_3033_; -v_res_3033_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_3023_, v_ps_3024_, v_reason_3025_, v_a_3026_, v_a_3027_, v_a_3028_, v_a_3029_, v_a_3030_, v_a_3031_); -lean_dec_ref(v_ps_3024_); -lean_dec_ref(v_args_3023_); -return v_res_3033_; +lean_object* v_res_3259_; +v_res_3259_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_3249_, v_ps_3250_, v_reason_3251_, v_a_3252_, v_a_3253_, v_a_3254_, v_a_3255_, v_a_3256_, v_a_3257_); +lean_dec_ref(v_ps_3250_); +lean_dec_ref(v_args_3249_); +return v_res_3259_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0(lean_object* v_upperBound_3034_, lean_object* v_ps_3035_, lean_object* v_args_3036_, lean_object* v_reason_3037_, lean_object* v_inst_3038_, lean_object* v_R_3039_, lean_object* v_a_3040_, lean_object* v_b_3041_, lean_object* v_c_3042_, lean_object* v___y_3043_, lean_object* v___y_3044_, lean_object* v___y_3045_, lean_object* v___y_3046_, lean_object* v___y_3047_, lean_object* v___y_3048_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0(lean_object* v_upperBound_3260_, lean_object* v_ps_3261_, lean_object* v_args_3262_, lean_object* v_reason_3263_, lean_object* v_inst_3264_, lean_object* v_R_3265_, lean_object* v_a_3266_, lean_object* v_b_3267_, lean_object* v_c_3268_, lean_object* v___y_3269_, lean_object* v___y_3270_, lean_object* v___y_3271_, lean_object* v___y_3272_, lean_object* v___y_3273_, lean_object* v___y_3274_){ _start: { -lean_object* v___x_3050_; -v___x_3050_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v_upperBound_3034_, v_ps_3035_, v_args_3036_, v_reason_3037_, v_a_3040_, v_b_3041_, v___y_3043_, v___y_3044_, v___y_3045_, v___y_3046_, v___y_3047_, v___y_3048_); -return v___x_3050_; +lean_object* v___x_3276_; +v___x_3276_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___redArg(v_upperBound_3260_, v_ps_3261_, v_args_3262_, v_reason_3263_, v_a_3266_, v_b_3267_, v___y_3269_, v___y_3270_, v___y_3271_, v___y_3272_, v___y_3273_, v___y_3274_); +return v___x_3276_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___boxed(lean_object* v_upperBound_3051_, lean_object* v_ps_3052_, lean_object* v_args_3053_, lean_object* v_reason_3054_, lean_object* v_inst_3055_, lean_object* v_R_3056_, lean_object* v_a_3057_, lean_object* v_b_3058_, lean_object* v_c_3059_, lean_object* v___y_3060_, lean_object* v___y_3061_, lean_object* v___y_3062_, lean_object* v___y_3063_, lean_object* v___y_3064_, lean_object* v___y_3065_, lean_object* v___y_3066_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0___boxed(lean_object* v_upperBound_3277_, lean_object* v_ps_3278_, lean_object* v_args_3279_, lean_object* v_reason_3280_, lean_object* v_inst_3281_, lean_object* v_R_3282_, lean_object* v_a_3283_, lean_object* v_b_3284_, lean_object* v_c_3285_, lean_object* v___y_3286_, lean_object* v___y_3287_, lean_object* v___y_3288_, lean_object* v___y_3289_, lean_object* v___y_3290_, lean_object* v___y_3291_, lean_object* v___y_3292_){ _start: { -lean_object* v_res_3067_; -v_res_3067_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0(v_upperBound_3051_, v_ps_3052_, v_args_3053_, v_reason_3054_, v_inst_3055_, v_R_3056_, v_a_3057_, v_b_3058_, v_c_3059_, v___y_3060_, v___y_3061_, v___y_3062_, v___y_3063_, v___y_3064_, v___y_3065_); -lean_dec_ref(v_args_3053_); -lean_dec_ref(v_ps_3052_); -lean_dec(v_upperBound_3051_); -return v_res_3067_; +lean_object* v_res_3293_; +v_res_3293_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams_spec__0(v_upperBound_3277_, v_ps_3278_, v_args_3279_, v_reason_3280_, v_inst_3281_, v_R_3282_, v_a_3283_, v_b_3284_, v_c_3285_, v___y_3286_, v___y_3287_, v___y_3288_, v___y_3289_, v___y_3290_, v___y_3291_); +lean_dec_ref(v_args_3279_); +lean_dec_ref(v_ps_3278_); +lean_dec(v_upperBound_3277_); +return v_res_3293_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(lean_object* v_msg_3068_, lean_object* v___y_3069_, lean_object* v___y_3070_, lean_object* v___y_3071_, lean_object* v___y_3072_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(lean_object* v_msg_3294_, lean_object* v___y_3295_, lean_object* v___y_3296_, lean_object* v___y_3297_, lean_object* v___y_3298_){ _start: { -lean_object* v_options_3074_; lean_object* v_ref_3075_; lean_object* v___x_3076_; lean_object* v___x_3077_; lean_object* v___x_3078_; -v_options_3074_ = lean_ctor_get(v___y_3071_, 2); -v_ref_3075_ = lean_ctor_get(v___y_3071_, 5); -v___x_3076_ = lean_st_ref_get(v___y_3072_); -v___x_3077_ = lean_st_ref_get(v___y_3070_); -v___x_3078_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_3069_); -if (lean_obj_tag(v___x_3078_) == 0) +lean_object* v_options_3300_; lean_object* v_ref_3301_; lean_object* v___x_3302_; lean_object* v___x_3303_; lean_object* v___x_3304_; +v_options_3300_ = lean_ctor_get(v___y_3297_, 2); +v_ref_3301_ = lean_ctor_get(v___y_3297_, 5); +v___x_3302_ = lean_st_ref_get(v___y_3298_); +v___x_3303_ = lean_st_ref_get(v___y_3296_); +v___x_3304_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_3295_); +if (lean_obj_tag(v___x_3304_) == 0) { -lean_object* v_a_3079_; lean_object* v___x_3081_; uint8_t v_isShared_3082_; uint8_t v_isSharedCheck_3101_; -v_a_3079_ = lean_ctor_get(v___x_3078_, 0); -v_isSharedCheck_3101_ = !lean_is_exclusive(v___x_3078_); -if (v_isSharedCheck_3101_ == 0) +lean_object* v_a_3305_; lean_object* v___x_3307_; uint8_t v_isShared_3308_; uint8_t v_isSharedCheck_3327_; +v_a_3305_ = lean_ctor_get(v___x_3304_, 0); +v_isSharedCheck_3327_ = !lean_is_exclusive(v___x_3304_); +if (v_isSharedCheck_3327_ == 0) { -v___x_3081_ = v___x_3078_; -v_isShared_3082_ = v_isSharedCheck_3101_; -goto v_resetjp_3080_; +v___x_3307_ = v___x_3304_; +v_isShared_3308_ = v_isSharedCheck_3327_; +goto v_resetjp_3306_; } else { -lean_inc(v_a_3079_); -lean_dec(v___x_3078_); -v___x_3081_ = lean_box(0); -v_isShared_3082_ = v_isSharedCheck_3101_; -goto v_resetjp_3080_; +lean_inc(v_a_3305_); +lean_dec(v___x_3304_); +v___x_3307_ = lean_box(0); +v_isShared_3308_ = v_isSharedCheck_3327_; +goto v_resetjp_3306_; } -v_resetjp_3080_: +v_resetjp_3306_: { -lean_object* v_env_3083_; lean_object* v_lctx_3084_; lean_object* v___x_3086_; uint8_t v_isShared_3087_; uint8_t v_isSharedCheck_3099_; -v_env_3083_ = lean_ctor_get(v___x_3076_, 0); -lean_inc_ref(v_env_3083_); -lean_dec(v___x_3076_); -v_lctx_3084_ = lean_ctor_get(v___x_3077_, 0); -v_isSharedCheck_3099_ = !lean_is_exclusive(v___x_3077_); -if (v_isSharedCheck_3099_ == 0) +lean_object* v_env_3309_; lean_object* v_lctx_3310_; lean_object* v___x_3312_; uint8_t v_isShared_3313_; uint8_t v_isSharedCheck_3325_; +v_env_3309_ = lean_ctor_get(v___x_3302_, 0); +lean_inc_ref(v_env_3309_); +lean_dec(v___x_3302_); +v_lctx_3310_ = lean_ctor_get(v___x_3303_, 0); +v_isSharedCheck_3325_ = !lean_is_exclusive(v___x_3303_); +if (v_isSharedCheck_3325_ == 0) { -lean_object* v_unused_3100_; -v_unused_3100_ = lean_ctor_get(v___x_3077_, 1); -lean_dec(v_unused_3100_); -v___x_3086_ = v___x_3077_; -v_isShared_3087_ = v_isSharedCheck_3099_; -goto v_resetjp_3085_; +lean_object* v_unused_3326_; +v_unused_3326_ = lean_ctor_get(v___x_3303_, 1); +lean_dec(v_unused_3326_); +v___x_3312_ = v___x_3303_; +v_isShared_3313_ = v_isSharedCheck_3325_; +goto v_resetjp_3311_; } else { -lean_inc(v_lctx_3084_); -lean_dec(v___x_3077_); -v___x_3086_ = lean_box(0); -v_isShared_3087_ = v_isSharedCheck_3099_; -goto v_resetjp_3085_; +lean_inc(v_lctx_3310_); +lean_dec(v___x_3303_); +v___x_3312_ = lean_box(0); +v_isShared_3313_ = v_isSharedCheck_3325_; +goto v_resetjp_3311_; } -v_resetjp_3085_: +v_resetjp_3311_: { -uint8_t v___x_3088_; lean_object* v___x_3089_; lean_object* v___x_3090_; lean_object* v___x_3091_; lean_object* v___x_3093_; -v___x_3088_ = lean_unbox(v_a_3079_); -lean_dec(v_a_3079_); -v___x_3089_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_3084_, v___x_3088_); -lean_dec_ref(v_lctx_3084_); -v___x_3090_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__2___redArg___closed__2); -lean_inc_ref(v_options_3074_); -v___x_3091_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_3091_, 0, v_env_3083_); -lean_ctor_set(v___x_3091_, 1, v___x_3090_); -lean_ctor_set(v___x_3091_, 2, v___x_3089_); -lean_ctor_set(v___x_3091_, 3, v_options_3074_); -if (v_isShared_3087_ == 0) +uint8_t v___x_3314_; lean_object* v___x_3315_; lean_object* v___x_3316_; lean_object* v___x_3317_; lean_object* v___x_3319_; +v___x_3314_ = lean_unbox(v_a_3305_); +lean_dec(v_a_3305_); +v___x_3315_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_3310_, v___x_3314_); +lean_dec_ref(v_lctx_3310_); +v___x_3316_ = lean_obj_once(&l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2, &l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2_once, _init_l_Lean_addTrace___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar_spec__1___redArg___closed__2); +lean_inc_ref(v_options_3300_); +v___x_3317_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_3317_, 0, v_env_3309_); +lean_ctor_set(v___x_3317_, 1, v___x_3316_); +lean_ctor_set(v___x_3317_, 2, v___x_3315_); +lean_ctor_set(v___x_3317_, 3, v_options_3300_); +if (v_isShared_3313_ == 0) { -lean_ctor_set_tag(v___x_3086_, 3); -lean_ctor_set(v___x_3086_, 1, v_msg_3068_); -lean_ctor_set(v___x_3086_, 0, v___x_3091_); -v___x_3093_ = v___x_3086_; -goto v_reusejp_3092_; +lean_ctor_set_tag(v___x_3312_, 3); +lean_ctor_set(v___x_3312_, 1, v_msg_3294_); +lean_ctor_set(v___x_3312_, 0, v___x_3317_); +v___x_3319_ = v___x_3312_; +goto v_reusejp_3318_; } else { -lean_object* v_reuseFailAlloc_3098_; -v_reuseFailAlloc_3098_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3098_, 0, v___x_3091_); -lean_ctor_set(v_reuseFailAlloc_3098_, 1, v_msg_3068_); -v___x_3093_ = v_reuseFailAlloc_3098_; -goto v_reusejp_3092_; +lean_object* v_reuseFailAlloc_3324_; +v_reuseFailAlloc_3324_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3324_, 0, v___x_3317_); +lean_ctor_set(v_reuseFailAlloc_3324_, 1, v_msg_3294_); +v___x_3319_ = v_reuseFailAlloc_3324_; +goto v_reusejp_3318_; } -v_reusejp_3092_: +v_reusejp_3318_: { -lean_object* v___x_3094_; lean_object* v___x_3096_; -lean_inc(v_ref_3075_); -v___x_3094_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3094_, 0, v_ref_3075_); -lean_ctor_set(v___x_3094_, 1, v___x_3093_); -if (v_isShared_3082_ == 0) +lean_object* v___x_3320_; lean_object* v___x_3322_; +lean_inc(v_ref_3301_); +v___x_3320_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3320_, 0, v_ref_3301_); +lean_ctor_set(v___x_3320_, 1, v___x_3319_); +if (v_isShared_3308_ == 0) { -lean_ctor_set_tag(v___x_3081_, 1); -lean_ctor_set(v___x_3081_, 0, v___x_3094_); -v___x_3096_ = v___x_3081_; -goto v_reusejp_3095_; +lean_ctor_set_tag(v___x_3307_, 1); +lean_ctor_set(v___x_3307_, 0, v___x_3320_); +v___x_3322_ = v___x_3307_; +goto v_reusejp_3321_; } else { -lean_object* v_reuseFailAlloc_3097_; -v_reuseFailAlloc_3097_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3097_, 0, v___x_3094_); -v___x_3096_ = v_reuseFailAlloc_3097_; -goto v_reusejp_3095_; +lean_object* v_reuseFailAlloc_3323_; +v_reuseFailAlloc_3323_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3323_, 0, v___x_3320_); +v___x_3322_ = v_reuseFailAlloc_3323_; +goto v_reusejp_3321_; } -v_reusejp_3095_: +v_reusejp_3321_: { -return v___x_3096_; +return v___x_3322_; } } } @@ -9623,319 +10601,319 @@ return v___x_3096_; } else { -lean_object* v_a_3102_; lean_object* v___x_3104_; uint8_t v_isShared_3105_; uint8_t v_isSharedCheck_3109_; -lean_dec(v___x_3077_); -lean_dec(v___x_3076_); -lean_dec_ref(v_msg_3068_); -v_a_3102_ = lean_ctor_get(v___x_3078_, 0); -v_isSharedCheck_3109_ = !lean_is_exclusive(v___x_3078_); -if (v_isSharedCheck_3109_ == 0) +lean_object* v_a_3328_; lean_object* v___x_3330_; uint8_t v_isShared_3331_; uint8_t v_isSharedCheck_3335_; +lean_dec(v___x_3303_); +lean_dec(v___x_3302_); +lean_dec_ref(v_msg_3294_); +v_a_3328_ = lean_ctor_get(v___x_3304_, 0); +v_isSharedCheck_3335_ = !lean_is_exclusive(v___x_3304_); +if (v_isSharedCheck_3335_ == 0) { -v___x_3104_ = v___x_3078_; -v_isShared_3105_ = v_isSharedCheck_3109_; -goto v_resetjp_3103_; +v___x_3330_ = v___x_3304_; +v_isShared_3331_ = v_isSharedCheck_3335_; +goto v_resetjp_3329_; } else { -lean_inc(v_a_3102_); -lean_dec(v___x_3078_); -v___x_3104_ = lean_box(0); -v_isShared_3105_ = v_isSharedCheck_3109_; -goto v_resetjp_3103_; +lean_inc(v_a_3328_); +lean_dec(v___x_3304_); +v___x_3330_ = lean_box(0); +v_isShared_3331_ = v_isSharedCheck_3335_; +goto v_resetjp_3329_; } -v_resetjp_3103_: +v_resetjp_3329_: { -lean_object* v___x_3107_; -if (v_isShared_3105_ == 0) +lean_object* v___x_3333_; +if (v_isShared_3331_ == 0) { -v___x_3107_ = v___x_3104_; -goto v_reusejp_3106_; +v___x_3333_ = v___x_3330_; +goto v_reusejp_3332_; } else { -lean_object* v_reuseFailAlloc_3108_; -v_reuseFailAlloc_3108_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3108_, 0, v_a_3102_); -v___x_3107_ = v_reuseFailAlloc_3108_; -goto v_reusejp_3106_; +lean_object* v_reuseFailAlloc_3334_; +v_reuseFailAlloc_3334_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3334_, 0, v_a_3328_); +v___x_3333_ = v_reuseFailAlloc_3334_; +goto v_reusejp_3332_; } -v_reusejp_3106_: +v_reusejp_3332_: { -return v___x_3107_; +return v___x_3333_; } } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg___boxed(lean_object* v_msg_3110_, lean_object* v___y_3111_, lean_object* v___y_3112_, lean_object* v___y_3113_, lean_object* v___y_3114_, lean_object* v___y_3115_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg___boxed(lean_object* v_msg_3336_, lean_object* v___y_3337_, lean_object* v___y_3338_, lean_object* v___y_3339_, lean_object* v___y_3340_, lean_object* v___y_3341_){ _start: { -lean_object* v_res_3116_; -v_res_3116_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v_msg_3110_, v___y_3111_, v___y_3112_, v___y_3113_, v___y_3114_); -lean_dec(v___y_3114_); -lean_dec_ref(v___y_3113_); -lean_dec(v___y_3112_); -lean_dec_ref(v___y_3111_); -return v_res_3116_; +lean_object* v_res_3342_; +v_res_3342_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v_msg_3336_, v___y_3337_, v___y_3338_, v___y_3339_, v___y_3340_); +lean_dec(v___y_3340_); +lean_dec_ref(v___y_3339_); +lean_dec(v___y_3338_); +lean_dec_ref(v___y_3337_); +return v_res_3342_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0(lean_object* v_00_u03b1_3117_, lean_object* v_msg_3118_, lean_object* v___y_3119_, lean_object* v___y_3120_, lean_object* v___y_3121_, lean_object* v___y_3122_, lean_object* v___y_3123_, lean_object* v___y_3124_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0(lean_object* v_00_u03b1_3343_, lean_object* v_msg_3344_, lean_object* v___y_3345_, lean_object* v___y_3346_, lean_object* v___y_3347_, lean_object* v___y_3348_, lean_object* v___y_3349_, lean_object* v___y_3350_){ _start: { -lean_object* v___x_3126_; -v___x_3126_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v_msg_3118_, v___y_3121_, v___y_3122_, v___y_3123_, v___y_3124_); -return v___x_3126_; +lean_object* v___x_3352_; +v___x_3352_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v_msg_3344_, v___y_3347_, v___y_3348_, v___y_3349_, v___y_3350_); +return v___x_3352_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___boxed(lean_object* v_00_u03b1_3127_, lean_object* v_msg_3128_, lean_object* v___y_3129_, lean_object* v___y_3130_, lean_object* v___y_3131_, lean_object* v___y_3132_, lean_object* v___y_3133_, lean_object* v___y_3134_, lean_object* v___y_3135_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___boxed(lean_object* v_00_u03b1_3353_, lean_object* v_msg_3354_, lean_object* v___y_3355_, lean_object* v___y_3356_, lean_object* v___y_3357_, lean_object* v___y_3358_, lean_object* v___y_3359_, lean_object* v___y_3360_, lean_object* v___y_3361_){ _start: { -lean_object* v_res_3136_; -v_res_3136_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0(v_00_u03b1_3127_, v_msg_3128_, v___y_3129_, v___y_3130_, v___y_3131_, v___y_3132_, v___y_3133_, v___y_3134_); -lean_dec(v___y_3134_); -lean_dec_ref(v___y_3133_); -lean_dec(v___y_3132_); -lean_dec_ref(v___y_3131_); -lean_dec(v___y_3130_); -lean_dec_ref(v___y_3129_); -return v_res_3136_; +lean_object* v_res_3362_; +v_res_3362_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0(v_00_u03b1_3353_, v_msg_3354_, v___y_3355_, v___y_3356_, v___y_3357_, v___y_3358_, v___y_3359_, v___y_3360_); +lean_dec(v___y_3360_); +lean_dec_ref(v___y_3359_); +lean_dec(v___y_3358_); +lean_dec_ref(v___y_3357_); +lean_dec(v___y_3356_); +lean_dec_ref(v___y_3355_); +return v_res_3362_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(lean_object* v_msg_3137_, lean_object* v___y_3138_, lean_object* v___y_3139_, lean_object* v___y_3140_, lean_object* v___y_3141_, lean_object* v___y_3142_, lean_object* v___y_3143_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(lean_object* v_msg_3363_, lean_object* v___y_3364_, lean_object* v___y_3365_, lean_object* v___y_3366_, lean_object* v___y_3367_, lean_object* v___y_3368_, lean_object* v___y_3369_){ _start: { -lean_object* v___x_3145_; lean_object* v___x_3146_; lean_object* v_toApplicative_3147_; lean_object* v___x_3149_; uint8_t v_isShared_3150_; uint8_t v_isSharedCheck_3210_; -v___x_3145_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_3146_ = l_ReaderT_instMonad___redArg(v___x_3145_); -v_toApplicative_3147_ = lean_ctor_get(v___x_3146_, 0); -v_isSharedCheck_3210_ = !lean_is_exclusive(v___x_3146_); -if (v_isSharedCheck_3210_ == 0) +lean_object* v___x_3371_; lean_object* v___x_3372_; lean_object* v_toApplicative_3373_; lean_object* v___x_3375_; uint8_t v_isShared_3376_; uint8_t v_isSharedCheck_3436_; +v___x_3371_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_3372_ = l_ReaderT_instMonad___redArg(v___x_3371_); +v_toApplicative_3373_ = lean_ctor_get(v___x_3372_, 0); +v_isSharedCheck_3436_ = !lean_is_exclusive(v___x_3372_); +if (v_isSharedCheck_3436_ == 0) { -lean_object* v_unused_3211_; -v_unused_3211_ = lean_ctor_get(v___x_3146_, 1); -lean_dec(v_unused_3211_); -v___x_3149_ = v___x_3146_; -v_isShared_3150_ = v_isSharedCheck_3210_; -goto v_resetjp_3148_; +lean_object* v_unused_3437_; +v_unused_3437_ = lean_ctor_get(v___x_3372_, 1); +lean_dec(v_unused_3437_); +v___x_3375_ = v___x_3372_; +v_isShared_3376_ = v_isSharedCheck_3436_; +goto v_resetjp_3374_; } else { -lean_inc(v_toApplicative_3147_); -lean_dec(v___x_3146_); -v___x_3149_ = lean_box(0); -v_isShared_3150_ = v_isSharedCheck_3210_; -goto v_resetjp_3148_; +lean_inc(v_toApplicative_3373_); +lean_dec(v___x_3372_); +v___x_3375_ = lean_box(0); +v_isShared_3376_ = v_isSharedCheck_3436_; +goto v_resetjp_3374_; } -v_resetjp_3148_: +v_resetjp_3374_: { -lean_object* v_toFunctor_3151_; lean_object* v_toSeq_3152_; lean_object* v_toSeqLeft_3153_; lean_object* v_toSeqRight_3154_; lean_object* v___x_3156_; uint8_t v_isShared_3157_; uint8_t v_isSharedCheck_3208_; -v_toFunctor_3151_ = lean_ctor_get(v_toApplicative_3147_, 0); -v_toSeq_3152_ = lean_ctor_get(v_toApplicative_3147_, 2); -v_toSeqLeft_3153_ = lean_ctor_get(v_toApplicative_3147_, 3); -v_toSeqRight_3154_ = lean_ctor_get(v_toApplicative_3147_, 4); -v_isSharedCheck_3208_ = !lean_is_exclusive(v_toApplicative_3147_); -if (v_isSharedCheck_3208_ == 0) +lean_object* v_toFunctor_3377_; lean_object* v_toSeq_3378_; lean_object* v_toSeqLeft_3379_; lean_object* v_toSeqRight_3380_; lean_object* v___x_3382_; uint8_t v_isShared_3383_; uint8_t v_isSharedCheck_3434_; +v_toFunctor_3377_ = lean_ctor_get(v_toApplicative_3373_, 0); +v_toSeq_3378_ = lean_ctor_get(v_toApplicative_3373_, 2); +v_toSeqLeft_3379_ = lean_ctor_get(v_toApplicative_3373_, 3); +v_toSeqRight_3380_ = lean_ctor_get(v_toApplicative_3373_, 4); +v_isSharedCheck_3434_ = !lean_is_exclusive(v_toApplicative_3373_); +if (v_isSharedCheck_3434_ == 0) { -lean_object* v_unused_3209_; -v_unused_3209_ = lean_ctor_get(v_toApplicative_3147_, 1); -lean_dec(v_unused_3209_); -v___x_3156_ = v_toApplicative_3147_; -v_isShared_3157_ = v_isSharedCheck_3208_; -goto v_resetjp_3155_; +lean_object* v_unused_3435_; +v_unused_3435_ = lean_ctor_get(v_toApplicative_3373_, 1); +lean_dec(v_unused_3435_); +v___x_3382_ = v_toApplicative_3373_; +v_isShared_3383_ = v_isSharedCheck_3434_; +goto v_resetjp_3381_; } else { -lean_inc(v_toSeqRight_3154_); -lean_inc(v_toSeqLeft_3153_); -lean_inc(v_toSeq_3152_); -lean_inc(v_toFunctor_3151_); -lean_dec(v_toApplicative_3147_); -v___x_3156_ = lean_box(0); -v_isShared_3157_ = v_isSharedCheck_3208_; -goto v_resetjp_3155_; +lean_inc(v_toSeqRight_3380_); +lean_inc(v_toSeqLeft_3379_); +lean_inc(v_toSeq_3378_); +lean_inc(v_toFunctor_3377_); +lean_dec(v_toApplicative_3373_); +v___x_3382_ = lean_box(0); +v_isShared_3383_ = v_isSharedCheck_3434_; +goto v_resetjp_3381_; } -v_resetjp_3155_: +v_resetjp_3381_: { -lean_object* v___f_3158_; lean_object* v___f_3159_; lean_object* v___f_3160_; lean_object* v___f_3161_; lean_object* v___x_3162_; lean_object* v___f_3163_; lean_object* v___f_3164_; lean_object* v___f_3165_; lean_object* v___x_3167_; -v___f_3158_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_3159_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_3151_); -v___f_3160_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_3160_, 0, v_toFunctor_3151_); -v___f_3161_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3161_, 0, v_toFunctor_3151_); -v___x_3162_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3162_, 0, v___f_3160_); -lean_ctor_set(v___x_3162_, 1, v___f_3161_); -v___f_3163_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3163_, 0, v_toSeqRight_3154_); -v___f_3164_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_3164_, 0, v_toSeqLeft_3153_); -v___f_3165_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_3165_, 0, v_toSeq_3152_); -if (v_isShared_3157_ == 0) +lean_object* v___f_3384_; lean_object* v___f_3385_; lean_object* v___f_3386_; lean_object* v___f_3387_; lean_object* v___x_3388_; lean_object* v___f_3389_; lean_object* v___f_3390_; lean_object* v___f_3391_; lean_object* v___x_3393_; +v___f_3384_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_3385_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_3377_); +v___f_3386_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3386_, 0, v_toFunctor_3377_); +v___f_3387_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3387_, 0, v_toFunctor_3377_); +v___x_3388_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3388_, 0, v___f_3386_); +lean_ctor_set(v___x_3388_, 1, v___f_3387_); +v___f_3389_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3389_, 0, v_toSeqRight_3380_); +v___f_3390_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3390_, 0, v_toSeqLeft_3379_); +v___f_3391_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3391_, 0, v_toSeq_3378_); +if (v_isShared_3383_ == 0) { -lean_ctor_set(v___x_3156_, 4, v___f_3163_); -lean_ctor_set(v___x_3156_, 3, v___f_3164_); -lean_ctor_set(v___x_3156_, 2, v___f_3165_); -lean_ctor_set(v___x_3156_, 1, v___f_3158_); -lean_ctor_set(v___x_3156_, 0, v___x_3162_); -v___x_3167_ = v___x_3156_; -goto v_reusejp_3166_; +lean_ctor_set(v___x_3382_, 4, v___f_3389_); +lean_ctor_set(v___x_3382_, 3, v___f_3390_); +lean_ctor_set(v___x_3382_, 2, v___f_3391_); +lean_ctor_set(v___x_3382_, 1, v___f_3384_); +lean_ctor_set(v___x_3382_, 0, v___x_3388_); +v___x_3393_ = v___x_3382_; +goto v_reusejp_3392_; } else { -lean_object* v_reuseFailAlloc_3207_; -v_reuseFailAlloc_3207_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3207_, 0, v___x_3162_); -lean_ctor_set(v_reuseFailAlloc_3207_, 1, v___f_3158_); -lean_ctor_set(v_reuseFailAlloc_3207_, 2, v___f_3165_); -lean_ctor_set(v_reuseFailAlloc_3207_, 3, v___f_3164_); -lean_ctor_set(v_reuseFailAlloc_3207_, 4, v___f_3163_); -v___x_3167_ = v_reuseFailAlloc_3207_; -goto v_reusejp_3166_; +lean_object* v_reuseFailAlloc_3433_; +v_reuseFailAlloc_3433_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3433_, 0, v___x_3388_); +lean_ctor_set(v_reuseFailAlloc_3433_, 1, v___f_3384_); +lean_ctor_set(v_reuseFailAlloc_3433_, 2, v___f_3391_); +lean_ctor_set(v_reuseFailAlloc_3433_, 3, v___f_3390_); +lean_ctor_set(v_reuseFailAlloc_3433_, 4, v___f_3389_); +v___x_3393_ = v_reuseFailAlloc_3433_; +goto v_reusejp_3392_; } -v_reusejp_3166_: +v_reusejp_3392_: { -lean_object* v___x_3169_; -if (v_isShared_3150_ == 0) +lean_object* v___x_3395_; +if (v_isShared_3376_ == 0) { -lean_ctor_set(v___x_3149_, 1, v___f_3159_); -lean_ctor_set(v___x_3149_, 0, v___x_3167_); -v___x_3169_ = v___x_3149_; -goto v_reusejp_3168_; +lean_ctor_set(v___x_3375_, 1, v___f_3385_); +lean_ctor_set(v___x_3375_, 0, v___x_3393_); +v___x_3395_ = v___x_3375_; +goto v_reusejp_3394_; } else { -lean_object* v_reuseFailAlloc_3206_; -v_reuseFailAlloc_3206_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3206_, 0, v___x_3167_); -lean_ctor_set(v_reuseFailAlloc_3206_, 1, v___f_3159_); -v___x_3169_ = v_reuseFailAlloc_3206_; -goto v_reusejp_3168_; +lean_object* v_reuseFailAlloc_3432_; +v_reuseFailAlloc_3432_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3432_, 0, v___x_3393_); +lean_ctor_set(v_reuseFailAlloc_3432_, 1, v___f_3385_); +v___x_3395_ = v_reuseFailAlloc_3432_; +goto v_reusejp_3394_; } -v_reusejp_3168_: +v_reusejp_3394_: { -lean_object* v___x_3170_; lean_object* v_toApplicative_3171_; lean_object* v___x_3173_; uint8_t v_isShared_3174_; uint8_t v_isSharedCheck_3204_; -v___x_3170_ = l_ReaderT_instMonad___redArg(v___x_3169_); -v_toApplicative_3171_ = lean_ctor_get(v___x_3170_, 0); -v_isSharedCheck_3204_ = !lean_is_exclusive(v___x_3170_); -if (v_isSharedCheck_3204_ == 0) +lean_object* v___x_3396_; lean_object* v_toApplicative_3397_; lean_object* v___x_3399_; uint8_t v_isShared_3400_; uint8_t v_isSharedCheck_3430_; +v___x_3396_ = l_ReaderT_instMonad___redArg(v___x_3395_); +v_toApplicative_3397_ = lean_ctor_get(v___x_3396_, 0); +v_isSharedCheck_3430_ = !lean_is_exclusive(v___x_3396_); +if (v_isSharedCheck_3430_ == 0) { -lean_object* v_unused_3205_; -v_unused_3205_ = lean_ctor_get(v___x_3170_, 1); -lean_dec(v_unused_3205_); -v___x_3173_ = v___x_3170_; -v_isShared_3174_ = v_isSharedCheck_3204_; -goto v_resetjp_3172_; +lean_object* v_unused_3431_; +v_unused_3431_ = lean_ctor_get(v___x_3396_, 1); +lean_dec(v_unused_3431_); +v___x_3399_ = v___x_3396_; +v_isShared_3400_ = v_isSharedCheck_3430_; +goto v_resetjp_3398_; } else { -lean_inc(v_toApplicative_3171_); -lean_dec(v___x_3170_); -v___x_3173_ = lean_box(0); -v_isShared_3174_ = v_isSharedCheck_3204_; -goto v_resetjp_3172_; +lean_inc(v_toApplicative_3397_); +lean_dec(v___x_3396_); +v___x_3399_ = lean_box(0); +v_isShared_3400_ = v_isSharedCheck_3430_; +goto v_resetjp_3398_; } -v_resetjp_3172_: +v_resetjp_3398_: { -lean_object* v_toFunctor_3175_; lean_object* v_toSeq_3176_; lean_object* v_toSeqLeft_3177_; lean_object* v_toSeqRight_3178_; lean_object* v___x_3180_; uint8_t v_isShared_3181_; uint8_t v_isSharedCheck_3202_; -v_toFunctor_3175_ = lean_ctor_get(v_toApplicative_3171_, 0); -v_toSeq_3176_ = lean_ctor_get(v_toApplicative_3171_, 2); -v_toSeqLeft_3177_ = lean_ctor_get(v_toApplicative_3171_, 3); -v_toSeqRight_3178_ = lean_ctor_get(v_toApplicative_3171_, 4); -v_isSharedCheck_3202_ = !lean_is_exclusive(v_toApplicative_3171_); -if (v_isSharedCheck_3202_ == 0) +lean_object* v_toFunctor_3401_; lean_object* v_toSeq_3402_; lean_object* v_toSeqLeft_3403_; lean_object* v_toSeqRight_3404_; lean_object* v___x_3406_; uint8_t v_isShared_3407_; uint8_t v_isSharedCheck_3428_; +v_toFunctor_3401_ = lean_ctor_get(v_toApplicative_3397_, 0); +v_toSeq_3402_ = lean_ctor_get(v_toApplicative_3397_, 2); +v_toSeqLeft_3403_ = lean_ctor_get(v_toApplicative_3397_, 3); +v_toSeqRight_3404_ = lean_ctor_get(v_toApplicative_3397_, 4); +v_isSharedCheck_3428_ = !lean_is_exclusive(v_toApplicative_3397_); +if (v_isSharedCheck_3428_ == 0) { -lean_object* v_unused_3203_; -v_unused_3203_ = lean_ctor_get(v_toApplicative_3171_, 1); -lean_dec(v_unused_3203_); -v___x_3180_ = v_toApplicative_3171_; -v_isShared_3181_ = v_isSharedCheck_3202_; -goto v_resetjp_3179_; +lean_object* v_unused_3429_; +v_unused_3429_ = lean_ctor_get(v_toApplicative_3397_, 1); +lean_dec(v_unused_3429_); +v___x_3406_ = v_toApplicative_3397_; +v_isShared_3407_ = v_isSharedCheck_3428_; +goto v_resetjp_3405_; } else { -lean_inc(v_toSeqRight_3178_); -lean_inc(v_toSeqLeft_3177_); -lean_inc(v_toSeq_3176_); -lean_inc(v_toFunctor_3175_); -lean_dec(v_toApplicative_3171_); -v___x_3180_ = lean_box(0); -v_isShared_3181_ = v_isSharedCheck_3202_; -goto v_resetjp_3179_; +lean_inc(v_toSeqRight_3404_); +lean_inc(v_toSeqLeft_3403_); +lean_inc(v_toSeq_3402_); +lean_inc(v_toFunctor_3401_); +lean_dec(v_toApplicative_3397_); +v___x_3406_ = lean_box(0); +v_isShared_3407_ = v_isSharedCheck_3428_; +goto v_resetjp_3405_; } -v_resetjp_3179_: +v_resetjp_3405_: { -lean_object* v___f_3182_; lean_object* v___f_3183_; lean_object* v___f_3184_; lean_object* v___f_3185_; lean_object* v___x_3186_; lean_object* v___f_3187_; lean_object* v___f_3188_; lean_object* v___f_3189_; lean_object* v___x_3191_; -v___f_3182_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3)); -v___f_3183_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4)); -lean_inc_ref(v_toFunctor_3175_); -v___f_3184_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_3184_, 0, v_toFunctor_3175_); -v___f_3185_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3185_, 0, v_toFunctor_3175_); -v___x_3186_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3186_, 0, v___f_3184_); -lean_ctor_set(v___x_3186_, 1, v___f_3185_); -v___f_3187_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3187_, 0, v_toSeqRight_3178_); -v___f_3188_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_3188_, 0, v_toSeqLeft_3177_); -v___f_3189_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_3189_, 0, v_toSeq_3176_); -if (v_isShared_3181_ == 0) +lean_object* v___f_3408_; lean_object* v___f_3409_; lean_object* v___f_3410_; lean_object* v___f_3411_; lean_object* v___x_3412_; lean_object* v___f_3413_; lean_object* v___f_3414_; lean_object* v___f_3415_; lean_object* v___x_3417_; +v___f_3408_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3)); +v___f_3409_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4)); +lean_inc_ref(v_toFunctor_3401_); +v___f_3410_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3410_, 0, v_toFunctor_3401_); +v___f_3411_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3411_, 0, v_toFunctor_3401_); +v___x_3412_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3412_, 0, v___f_3410_); +lean_ctor_set(v___x_3412_, 1, v___f_3411_); +v___f_3413_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3413_, 0, v_toSeqRight_3404_); +v___f_3414_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3414_, 0, v_toSeqLeft_3403_); +v___f_3415_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3415_, 0, v_toSeq_3402_); +if (v_isShared_3407_ == 0) { -lean_ctor_set(v___x_3180_, 4, v___f_3187_); -lean_ctor_set(v___x_3180_, 3, v___f_3188_); -lean_ctor_set(v___x_3180_, 2, v___f_3189_); -lean_ctor_set(v___x_3180_, 1, v___f_3182_); -lean_ctor_set(v___x_3180_, 0, v___x_3186_); -v___x_3191_ = v___x_3180_; -goto v_reusejp_3190_; +lean_ctor_set(v___x_3406_, 4, v___f_3413_); +lean_ctor_set(v___x_3406_, 3, v___f_3414_); +lean_ctor_set(v___x_3406_, 2, v___f_3415_); +lean_ctor_set(v___x_3406_, 1, v___f_3408_); +lean_ctor_set(v___x_3406_, 0, v___x_3412_); +v___x_3417_ = v___x_3406_; +goto v_reusejp_3416_; } else { -lean_object* v_reuseFailAlloc_3201_; -v_reuseFailAlloc_3201_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3201_, 0, v___x_3186_); -lean_ctor_set(v_reuseFailAlloc_3201_, 1, v___f_3182_); -lean_ctor_set(v_reuseFailAlloc_3201_, 2, v___f_3189_); -lean_ctor_set(v_reuseFailAlloc_3201_, 3, v___f_3188_); -lean_ctor_set(v_reuseFailAlloc_3201_, 4, v___f_3187_); -v___x_3191_ = v_reuseFailAlloc_3201_; -goto v_reusejp_3190_; +lean_object* v_reuseFailAlloc_3427_; +v_reuseFailAlloc_3427_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3427_, 0, v___x_3412_); +lean_ctor_set(v_reuseFailAlloc_3427_, 1, v___f_3408_); +lean_ctor_set(v_reuseFailAlloc_3427_, 2, v___f_3415_); +lean_ctor_set(v_reuseFailAlloc_3427_, 3, v___f_3414_); +lean_ctor_set(v_reuseFailAlloc_3427_, 4, v___f_3413_); +v___x_3417_ = v_reuseFailAlloc_3427_; +goto v_reusejp_3416_; } -v_reusejp_3190_: +v_reusejp_3416_: { -lean_object* v___x_3193_; -if (v_isShared_3174_ == 0) +lean_object* v___x_3419_; +if (v_isShared_3400_ == 0) { -lean_ctor_set(v___x_3173_, 1, v___f_3183_); -lean_ctor_set(v___x_3173_, 0, v___x_3191_); -v___x_3193_ = v___x_3173_; -goto v_reusejp_3192_; +lean_ctor_set(v___x_3399_, 1, v___f_3409_); +lean_ctor_set(v___x_3399_, 0, v___x_3417_); +v___x_3419_ = v___x_3399_; +goto v_reusejp_3418_; } else { -lean_object* v_reuseFailAlloc_3200_; -v_reuseFailAlloc_3200_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3200_, 0, v___x_3191_); -lean_ctor_set(v_reuseFailAlloc_3200_, 1, v___f_3183_); -v___x_3193_ = v_reuseFailAlloc_3200_; -goto v_reusejp_3192_; +lean_object* v_reuseFailAlloc_3426_; +v_reuseFailAlloc_3426_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3426_, 0, v___x_3417_); +lean_ctor_set(v_reuseFailAlloc_3426_, 1, v___f_3409_); +v___x_3419_ = v_reuseFailAlloc_3426_; +goto v_reusejp_3418_; } -v_reusejp_3192_: +v_reusejp_3418_: { -lean_object* v___x_3194_; lean_object* v___x_3195_; lean_object* v___x_3196_; lean_object* v___f_3197_; lean_object* v___x_3957__overap_3198_; lean_object* v___x_3199_; -v___x_3194_ = l_ReaderT_instMonad___redArg(v___x_3193_); -v___x_3195_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); -v___x_3196_ = l_instInhabitedOfMonad___redArg(v___x_3194_, v___x_3195_); -v___f_3197_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); -lean_closure_set(v___f_3197_, 0, v___x_3196_); -v___x_3957__overap_3198_ = lean_panic_fn(v___f_3197_, v_msg_3137_); -v___x_3199_ = lean_apply_7(v___x_3957__overap_3198_, v___y_3138_, v___y_3139_, v___y_3140_, v___y_3141_, v___y_3142_, v___y_3143_, lean_box(0)); -return v___x_3199_; +lean_object* v___x_3420_; lean_object* v___x_3421_; lean_object* v___x_3422_; lean_object* v___f_3423_; lean_object* v___x_3965__overap_3424_; lean_object* v___x_3425_; +v___x_3420_ = l_ReaderT_instMonad___redArg(v___x_3419_); +v___x_3421_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply_go___closed__0); +v___x_3422_ = l_instInhabitedOfMonad___redArg(v___x_3420_, v___x_3421_); +v___f_3423_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); +lean_closure_set(v___f_3423_, 0, v___x_3422_); +v___x_3965__overap_3424_ = lean_panic_fn(v___f_3423_, v_msg_3363_); +v___x_3425_ = lean_apply_7(v___x_3965__overap_3424_, v___y_3364_, v___y_3365_, v___y_3366_, v___y_3367_, v___y_3368_, v___y_3369_, lean_box(0)); +return v___x_3425_; } } } @@ -9946,371 +10924,416 @@ return v___x_3199_; } } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1___boxed(lean_object* v_msg_3212_, lean_object* v___y_3213_, lean_object* v___y_3214_, lean_object* v___y_3215_, lean_object* v___y_3216_, lean_object* v___y_3217_, lean_object* v___y_3218_, lean_object* v___y_3219_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1___boxed(lean_object* v_msg_3438_, lean_object* v___y_3439_, lean_object* v___y_3440_, lean_object* v___y_3441_, lean_object* v___y_3442_, lean_object* v___y_3443_, lean_object* v___y_3444_, lean_object* v___y_3445_){ _start: { -lean_object* v_res_3220_; -v_res_3220_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(v_msg_3212_, v___y_3213_, v___y_3214_, v___y_3215_, v___y_3216_, v___y_3217_, v___y_3218_); -return v_res_3220_; +lean_object* v_res_3446_; +v_res_3446_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(v_msg_3438_, v___y_3439_, v___y_3440_, v___y_3441_, v___y_3442_, v___y_3443_, v___y_3444_); +return v_res_3446_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1(void){ _start: { -lean_object* v___x_3222_; lean_object* v___x_3223_; -v___x_3222_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__0)); -v___x_3223_ = l_Lean_stringToMessageData(v___x_3222_); -return v___x_3223_; +lean_object* v___x_3448_; lean_object* v___x_3449_; +v___x_3448_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__0)); +v___x_3449_ = l_Lean_stringToMessageData(v___x_3448_); +return v___x_3449_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3(void){ _start: { -lean_object* v___x_3225_; lean_object* v___x_3226_; lean_object* v___x_3227_; lean_object* v___x_3228_; lean_object* v___x_3229_; lean_object* v___x_3230_; -v___x_3225_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); -v___x_3226_ = lean_unsigned_to_nat(26u); -v___x_3227_ = lean_unsigned_to_nat(261u); -v___x_3228_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__2)); -v___x_3229_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); -v___x_3230_ = l_mkPanicMessageWithDecl(v___x_3229_, v___x_3228_, v___x_3227_, v___x_3226_, v___x_3225_); -return v___x_3230_; +lean_object* v___x_3451_; lean_object* v___x_3452_; lean_object* v___x_3453_; lean_object* v___x_3454_; lean_object* v___x_3455_; lean_object* v___x_3456_; +v___x_3451_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); +v___x_3452_ = lean_unsigned_to_nat(26u); +v___x_3453_ = lean_unsigned_to_nat(319u); +v___x_3454_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__2)); +v___x_3455_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); +v___x_3456_ = l_mkPanicMessageWithDecl(v___x_3455_, v___x_3454_, v___x_3453_, v___x_3452_, v___x_3451_); +return v___x_3456_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(lean_object* v_k_3231_, lean_object* v_a_3232_, lean_object* v_a_3233_, lean_object* v_a_3234_, lean_object* v_a_3235_, lean_object* v_a_3236_, lean_object* v_a_3237_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(lean_object* v_k_3457_, lean_object* v_a_3458_, lean_object* v_a_3459_, lean_object* v_a_3460_, lean_object* v_a_3461_, lean_object* v_a_3462_, lean_object* v_a_3463_){ _start: { -lean_object* v___x_3239_; lean_object* v_paramMap_3240_; lean_object* v___x_3241_; -v___x_3239_ = lean_st_ref_get(v_a_3233_); -v_paramMap_3240_ = lean_ctor_get(v___x_3239_, 1); -lean_inc_ref(v_paramMap_3240_); -lean_dec(v___x_3239_); -v___x_3241_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_paramMap_3240_, v_k_3231_); -lean_dec_ref(v_paramMap_3240_); -if (lean_obj_tag(v___x_3241_) == 0) +lean_object* v___x_3465_; lean_object* v_paramMap_3466_; lean_object* v_map_3467_; lean_object* v___x_3469_; uint8_t v_isShared_3470_; uint8_t v_isSharedCheck_3508_; +v___x_3465_ = lean_st_ref_get(v_a_3459_); +v_paramMap_3466_ = lean_ctor_get(v___x_3465_, 1); +lean_inc_ref(v_paramMap_3466_); +lean_dec(v___x_3465_); +v_map_3467_ = lean_ctor_get(v_paramMap_3466_, 0); +v_isSharedCheck_3508_ = !lean_is_exclusive(v_paramMap_3466_); +if (v_isSharedCheck_3508_ == 0) { -if (lean_obj_tag(v_k_3231_) == 0) -{ -lean_object* v_name_3242_; lean_object* v___x_3243_; -lean_dec(v_a_3233_); -lean_dec_ref(v_a_3232_); -v_name_3242_ = lean_ctor_get(v_k_3231_, 0); -lean_inc(v_name_3242_); -lean_dec_ref(v_k_3231_); -lean_inc(v_name_3242_); -v___x_3243_ = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(v_name_3242_, v_a_3237_); -if (lean_obj_tag(v___x_3243_) == 0) -{ -lean_object* v_a_3244_; lean_object* v___x_3246_; uint8_t v_isShared_3247_; uint8_t v_isSharedCheck_3257_; -v_a_3244_ = lean_ctor_get(v___x_3243_, 0); -v_isSharedCheck_3257_ = !lean_is_exclusive(v___x_3243_); -if (v_isSharedCheck_3257_ == 0) -{ -v___x_3246_ = v___x_3243_; -v_isShared_3247_ = v_isSharedCheck_3257_; -goto v_resetjp_3245_; +lean_object* v_unused_3509_; +v_unused_3509_ = lean_ctor_get(v_paramMap_3466_, 1); +lean_dec(v_unused_3509_); +v___x_3469_ = v_paramMap_3466_; +v_isShared_3470_ = v_isSharedCheck_3508_; +goto v_resetjp_3468_; } else { -lean_inc(v_a_3244_); -lean_dec(v___x_3243_); -v___x_3246_ = lean_box(0); -v_isShared_3247_ = v_isSharedCheck_3257_; -goto v_resetjp_3245_; +lean_inc(v_map_3467_); +lean_dec(v_paramMap_3466_); +v___x_3469_ = lean_box(0); +v_isShared_3470_ = v_isSharedCheck_3508_; +goto v_resetjp_3468_; } -v_resetjp_3245_: +v_resetjp_3468_: { -if (lean_obj_tag(v_a_3244_) == 1) +lean_object* v___x_3471_; +v___x_3471_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap_spec__0___redArg(v_map_3467_, v_k_3457_); +lean_dec_ref(v_map_3467_); +if (lean_obj_tag(v___x_3471_) == 0) { -lean_object* v_val_3248_; lean_object* v_params_3249_; lean_object* v___x_3251_; -lean_dec(v_name_3242_); -lean_dec(v_a_3237_); -lean_dec_ref(v_a_3236_); -lean_dec(v_a_3235_); -lean_dec_ref(v_a_3234_); -v_val_3248_ = lean_ctor_get(v_a_3244_, 0); -lean_inc(v_val_3248_); -lean_dec_ref(v_a_3244_); -v_params_3249_ = lean_ctor_get(v_val_3248_, 3); -lean_inc_ref(v_params_3249_); -lean_dec(v_val_3248_); -if (v_isShared_3247_ == 0) +if (lean_obj_tag(v_k_3457_) == 0) { -lean_ctor_set(v___x_3246_, 0, v_params_3249_); -v___x_3251_ = v___x_3246_; -goto v_reusejp_3250_; +lean_object* v_name_3472_; lean_object* v___x_3473_; +lean_dec(v_a_3459_); +lean_dec_ref(v_a_3458_); +v_name_3472_ = lean_ctor_get(v_k_3457_, 0); +lean_inc(v_name_3472_); +lean_dec_ref(v_k_3457_); +lean_inc(v_name_3472_); +v___x_3473_ = l_Lean_Compiler_LCNF_getImpureSignature_x3f___redArg(v_name_3472_, v_a_3463_); +if (lean_obj_tag(v___x_3473_) == 0) +{ +lean_object* v_a_3474_; lean_object* v___x_3476_; uint8_t v_isShared_3477_; uint8_t v_isSharedCheck_3489_; +v_a_3474_ = lean_ctor_get(v___x_3473_, 0); +v_isSharedCheck_3489_ = !lean_is_exclusive(v___x_3473_); +if (v_isSharedCheck_3489_ == 0) +{ +v___x_3476_ = v___x_3473_; +v_isShared_3477_ = v_isSharedCheck_3489_; +goto v_resetjp_3475_; } else { -lean_object* v_reuseFailAlloc_3252_; -v_reuseFailAlloc_3252_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3252_, 0, v_params_3249_); -v___x_3251_ = v_reuseFailAlloc_3252_; -goto v_reusejp_3250_; +lean_inc(v_a_3474_); +lean_dec(v___x_3473_); +v___x_3476_ = lean_box(0); +v_isShared_3477_ = v_isSharedCheck_3489_; +goto v_resetjp_3475_; } -v_reusejp_3250_: +v_resetjp_3475_: { -return v___x_3251_; +if (lean_obj_tag(v_a_3474_) == 1) +{ +lean_object* v_val_3478_; lean_object* v_params_3479_; lean_object* v___x_3481_; +lean_dec(v_name_3472_); +lean_del_object(v___x_3469_); +lean_dec(v_a_3463_); +lean_dec_ref(v_a_3462_); +lean_dec(v_a_3461_); +lean_dec_ref(v_a_3460_); +v_val_3478_ = lean_ctor_get(v_a_3474_, 0); +lean_inc(v_val_3478_); +lean_dec_ref(v_a_3474_); +v_params_3479_ = lean_ctor_get(v_val_3478_, 3); +lean_inc_ref(v_params_3479_); +lean_dec(v_val_3478_); +if (v_isShared_3477_ == 0) +{ +lean_ctor_set(v___x_3476_, 0, v_params_3479_); +v___x_3481_ = v___x_3476_; +goto v_reusejp_3480_; +} +else +{ +lean_object* v_reuseFailAlloc_3482_; +v_reuseFailAlloc_3482_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3482_, 0, v_params_3479_); +v___x_3481_ = v_reuseFailAlloc_3482_; +goto v_reusejp_3480_; +} +v_reusejp_3480_: +{ +return v___x_3481_; } } else { -lean_object* v___x_3253_; lean_object* v___x_3254_; lean_object* v___x_3255_; lean_object* v___x_3256_; -lean_del_object(v___x_3246_); -lean_dec(v_a_3244_); -v___x_3253_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1); -v___x_3254_ = l_Lean_MessageData_ofName(v_name_3242_); -v___x_3255_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3255_, 0, v___x_3253_); -lean_ctor_set(v___x_3255_, 1, v___x_3254_); -v___x_3256_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v___x_3255_, v_a_3234_, v_a_3235_, v_a_3236_, v_a_3237_); -lean_dec(v_a_3237_); -lean_dec_ref(v_a_3236_); -lean_dec(v_a_3235_); -lean_dec_ref(v_a_3234_); -return v___x_3256_; -} -} +lean_object* v___x_3483_; lean_object* v___x_3484_; lean_object* v___x_3486_; +lean_del_object(v___x_3476_); +lean_dec(v_a_3474_); +v___x_3483_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__1); +v___x_3484_ = l_Lean_MessageData_ofName(v_name_3472_); +if (v_isShared_3470_ == 0) +{ +lean_ctor_set_tag(v___x_3469_, 7); +lean_ctor_set(v___x_3469_, 1, v___x_3484_); +lean_ctor_set(v___x_3469_, 0, v___x_3483_); +v___x_3486_ = v___x_3469_; +goto v_reusejp_3485_; } else { -lean_object* v_a_3258_; lean_object* v___x_3260_; uint8_t v_isShared_3261_; uint8_t v_isSharedCheck_3265_; -lean_dec(v_name_3242_); -lean_dec(v_a_3237_); -lean_dec_ref(v_a_3236_); -lean_dec(v_a_3235_); -lean_dec_ref(v_a_3234_); -v_a_3258_ = lean_ctor_get(v___x_3243_, 0); -v_isSharedCheck_3265_ = !lean_is_exclusive(v___x_3243_); -if (v_isSharedCheck_3265_ == 0) -{ -v___x_3260_ = v___x_3243_; -v_isShared_3261_ = v_isSharedCheck_3265_; -goto v_resetjp_3259_; +lean_object* v_reuseFailAlloc_3488_; +v_reuseFailAlloc_3488_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3488_, 0, v___x_3483_); +lean_ctor_set(v_reuseFailAlloc_3488_, 1, v___x_3484_); +v___x_3486_ = v_reuseFailAlloc_3488_; +goto v_reusejp_3485_; } -else +v_reusejp_3485_: { -lean_inc(v_a_3258_); -lean_dec(v___x_3243_); -v___x_3260_ = lean_box(0); -v_isShared_3261_ = v_isSharedCheck_3265_; -goto v_resetjp_3259_; -} -v_resetjp_3259_: -{ -lean_object* v___x_3263_; -if (v_isShared_3261_ == 0) -{ -v___x_3263_ = v___x_3260_; -goto v_reusejp_3262_; -} -else -{ -lean_object* v_reuseFailAlloc_3264_; -v_reuseFailAlloc_3264_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3264_, 0, v_a_3258_); -v___x_3263_ = v_reuseFailAlloc_3264_; -goto v_reusejp_3262_; -} -v_reusejp_3262_: -{ -return v___x_3263_; +lean_object* v___x_3487_; +v___x_3487_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__0___redArg(v___x_3486_, v_a_3460_, v_a_3461_, v_a_3462_, v_a_3463_); +lean_dec(v_a_3463_); +lean_dec_ref(v_a_3462_); +lean_dec(v_a_3461_); +lean_dec_ref(v_a_3460_); +return v___x_3487_; } } } } else { -lean_object* v___x_3266_; lean_object* v___x_3267_; -lean_dec_ref(v_k_3231_); -v___x_3266_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3); -v___x_3267_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(v___x_3266_, v_a_3232_, v_a_3233_, v_a_3234_, v_a_3235_, v_a_3236_, v_a_3237_); -return v___x_3267_; +lean_object* v_a_3490_; lean_object* v___x_3492_; uint8_t v_isShared_3493_; uint8_t v_isSharedCheck_3497_; +lean_dec(v_name_3472_); +lean_del_object(v___x_3469_); +lean_dec(v_a_3463_); +lean_dec_ref(v_a_3462_); +lean_dec(v_a_3461_); +lean_dec_ref(v_a_3460_); +v_a_3490_ = lean_ctor_get(v___x_3473_, 0); +v_isSharedCheck_3497_ = !lean_is_exclusive(v___x_3473_); +if (v_isSharedCheck_3497_ == 0) +{ +v___x_3492_ = v___x_3473_; +v_isShared_3493_ = v_isSharedCheck_3497_; +goto v_resetjp_3491_; +} +else +{ +lean_inc(v_a_3490_); +lean_dec(v___x_3473_); +v___x_3492_ = lean_box(0); +v_isShared_3493_ = v_isSharedCheck_3497_; +goto v_resetjp_3491_; +} +v_resetjp_3491_: +{ +lean_object* v___x_3495_; +if (v_isShared_3493_ == 0) +{ +v___x_3495_ = v___x_3492_; +goto v_reusejp_3494_; +} +else +{ +lean_object* v_reuseFailAlloc_3496_; +v_reuseFailAlloc_3496_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3496_, 0, v_a_3490_); +v___x_3495_ = v_reuseFailAlloc_3496_; +goto v_reusejp_3494_; +} +v_reusejp_3494_: +{ +return v___x_3495_; +} +} } } else { -lean_object* v_val_3268_; lean_object* v___x_3270_; uint8_t v_isShared_3271_; uint8_t v_isSharedCheck_3275_; -lean_dec(v_a_3237_); -lean_dec_ref(v_a_3236_); -lean_dec(v_a_3235_); -lean_dec_ref(v_a_3234_); -lean_dec(v_a_3233_); -lean_dec_ref(v_a_3232_); -lean_dec_ref(v_k_3231_); -v_val_3268_ = lean_ctor_get(v___x_3241_, 0); -v_isSharedCheck_3275_ = !lean_is_exclusive(v___x_3241_); -if (v_isSharedCheck_3275_ == 0) -{ -v___x_3270_ = v___x_3241_; -v_isShared_3271_ = v_isSharedCheck_3275_; -goto v_resetjp_3269_; +lean_object* v___x_3498_; lean_object* v___x_3499_; +lean_del_object(v___x_3469_); +lean_dec_ref(v_k_3457_); +v___x_3498_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___closed__3); +v___x_3499_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo_spec__1(v___x_3498_, v_a_3458_, v_a_3459_, v_a_3460_, v_a_3461_, v_a_3462_, v_a_3463_); +return v___x_3499_; +} } else { -lean_inc(v_val_3268_); -lean_dec(v___x_3241_); -v___x_3270_ = lean_box(0); -v_isShared_3271_ = v_isSharedCheck_3275_; -goto v_resetjp_3269_; -} -v_resetjp_3269_: +lean_object* v_val_3500_; lean_object* v___x_3502_; uint8_t v_isShared_3503_; uint8_t v_isSharedCheck_3507_; +lean_del_object(v___x_3469_); +lean_dec(v_a_3463_); +lean_dec_ref(v_a_3462_); +lean_dec(v_a_3461_); +lean_dec_ref(v_a_3460_); +lean_dec(v_a_3459_); +lean_dec_ref(v_a_3458_); +lean_dec_ref(v_k_3457_); +v_val_3500_ = lean_ctor_get(v___x_3471_, 0); +v_isSharedCheck_3507_ = !lean_is_exclusive(v___x_3471_); +if (v_isSharedCheck_3507_ == 0) { -lean_object* v___x_3273_; -if (v_isShared_3271_ == 0) -{ -lean_ctor_set_tag(v___x_3270_, 0); -v___x_3273_ = v___x_3270_; -goto v_reusejp_3272_; +v___x_3502_ = v___x_3471_; +v_isShared_3503_ = v_isSharedCheck_3507_; +goto v_resetjp_3501_; } else { -lean_object* v_reuseFailAlloc_3274_; -v_reuseFailAlloc_3274_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3274_, 0, v_val_3268_); -v___x_3273_ = v_reuseFailAlloc_3274_; -goto v_reusejp_3272_; +lean_inc(v_val_3500_); +lean_dec(v___x_3471_); +v___x_3502_ = lean_box(0); +v_isShared_3503_ = v_isSharedCheck_3507_; +goto v_resetjp_3501_; } -v_reusejp_3272_: +v_resetjp_3501_: { -return v___x_3273_; +lean_object* v___x_3505_; +if (v_isShared_3503_ == 0) +{ +lean_ctor_set_tag(v___x_3502_, 0); +v___x_3505_ = v___x_3502_; +goto v_reusejp_3504_; +} +else +{ +lean_object* v_reuseFailAlloc_3506_; +v_reuseFailAlloc_3506_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3506_, 0, v_val_3500_); +v___x_3505_ = v_reuseFailAlloc_3506_; +goto v_reusejp_3504_; +} +v_reusejp_3504_: +{ +return v___x_3505_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___boxed(lean_object* v_k_3276_, lean_object* v_a_3277_, lean_object* v_a_3278_, lean_object* v_a_3279_, lean_object* v_a_3280_, lean_object* v_a_3281_, lean_object* v_a_3282_, lean_object* v_a_3283_){ +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo___boxed(lean_object* v_k_3510_, lean_object* v_a_3511_, lean_object* v_a_3512_, lean_object* v_a_3513_, lean_object* v_a_3514_, lean_object* v_a_3515_, lean_object* v_a_3516_, lean_object* v_a_3517_){ _start: { -lean_object* v_res_3284_; -v_res_3284_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v_k_3276_, v_a_3277_, v_a_3278_, v_a_3279_, v_a_3280_, v_a_3281_, v_a_3282_); -return v_res_3284_; +lean_object* v_res_3518_; +v_res_3518_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v_k_3510_, v_a_3511_, v_a_3512_, v_a_3513_, v_a_3514_, v_a_3515_, v_a_3516_); +return v_res_3518_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(lean_object* v_x_3285_, lean_object* v_v_3286_, lean_object* v_k_3287_, lean_object* v_a_3288_, lean_object* v_a_3289_, lean_object* v_a_3290_, lean_object* v_a_3291_, lean_object* v_a_3292_, lean_object* v_a_3293_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(lean_object* v_x_3519_, lean_object* v_v_3520_, lean_object* v_k_3521_, lean_object* v_a_3522_, lean_object* v_a_3523_, lean_object* v_a_3524_, lean_object* v_a_3525_, lean_object* v_a_3526_, lean_object* v_a_3527_){ _start: { -if (lean_obj_tag(v_v_3286_) == 9) +if (lean_obj_tag(v_v_3520_) == 9) { -lean_object* v_fn_3298_; lean_object* v_args_3299_; uint8_t v___y_3301_; -v_fn_3298_ = lean_ctor_get(v_v_3286_, 0); -v_args_3299_ = lean_ctor_get(v_v_3286_, 1); -if (lean_obj_tag(v_k_3287_) == 5) +lean_object* v_fn_3532_; lean_object* v_args_3533_; uint8_t v___y_3535_; +v_fn_3532_ = lean_ctor_get(v_v_3520_, 0); +v_args_3533_ = lean_ctor_get(v_v_3520_, 1); +if (lean_obj_tag(v_k_3521_) == 5) { -lean_object* v_fvarId_3317_; lean_object* v_currDecl_3318_; uint8_t v___x_3319_; -v_fvarId_3317_ = lean_ctor_get(v_k_3287_, 0); -v_currDecl_3318_ = lean_ctor_get(v_a_3288_, 1); -v___x_3319_ = lean_name_eq(v_currDecl_3318_, v_fn_3298_); -if (v___x_3319_ == 0) +lean_object* v_fvarId_3551_; lean_object* v_currDecl_3552_; uint8_t v___x_3553_; +v_fvarId_3551_ = lean_ctor_get(v_k_3521_, 0); +v_currDecl_3552_ = lean_ctor_get(v_a_3522_, 1); +v___x_3553_ = lean_name_eq(v_currDecl_3552_, v_fn_3532_); +if (v___x_3553_ == 0) { -v___y_3301_ = v___x_3319_; -goto v___jp_3300_; +v___y_3535_ = v___x_3553_; +goto v___jp_3534_; } else { -uint8_t v___x_3320_; -v___x_3320_ = l_Lean_instBEqFVarId_beq(v_x_3285_, v_fvarId_3317_); -v___y_3301_ = v___x_3320_; -goto v___jp_3300_; +uint8_t v___x_3554_; +v___x_3554_ = l_Lean_instBEqFVarId_beq(v_x_3519_, v_fvarId_3551_); +v___y_3535_ = v___x_3554_; +goto v___jp_3534_; } } else { -lean_dec(v_a_3293_); -lean_dec_ref(v_a_3292_); -lean_dec(v_a_3291_); -lean_dec_ref(v_a_3290_); -lean_dec(v_a_3289_); -lean_dec_ref(v_a_3288_); -goto v___jp_3295_; +lean_dec(v_a_3527_); +lean_dec_ref(v_a_3526_); +lean_dec(v_a_3525_); +lean_dec_ref(v_a_3524_); +lean_dec(v_a_3523_); +lean_dec_ref(v_a_3522_); +goto v___jp_3529_; } -v___jp_3300_: +v___jp_3534_: { -if (v___y_3301_ == 0) +if (v___y_3535_ == 0) { -lean_object* v___x_3302_; lean_object* v___x_3303_; -lean_dec(v_a_3293_); -lean_dec_ref(v_a_3292_); -lean_dec(v_a_3291_); -lean_dec_ref(v_a_3290_); -lean_dec(v_a_3289_); -lean_dec_ref(v_a_3288_); -v___x_3302_ = lean_box(0); -v___x_3303_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3303_, 0, v___x_3302_); -return v___x_3303_; +lean_object* v___x_3536_; lean_object* v___x_3537_; +lean_dec(v_a_3527_); +lean_dec_ref(v_a_3526_); +lean_dec(v_a_3525_); +lean_dec_ref(v_a_3524_); +lean_dec(v_a_3523_); +lean_dec_ref(v_a_3522_); +v___x_3536_ = lean_box(0); +v___x_3537_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3537_, 0, v___x_3536_); +return v___x_3537_; } else { -lean_object* v___x_3304_; lean_object* v___x_3305_; -lean_inc(v_fn_3298_); -v___x_3304_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3304_, 0, v_fn_3298_); -lean_inc(v_a_3293_); -lean_inc_ref(v_a_3292_); -lean_inc(v_a_3291_); -lean_inc_ref(v_a_3290_); -lean_inc(v_a_3289_); -lean_inc_ref(v_a_3288_); -v___x_3305_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_3304_, v_a_3288_, v_a_3289_, v_a_3290_, v_a_3291_, v_a_3292_, v_a_3293_); -if (lean_obj_tag(v___x_3305_) == 0) +lean_object* v___x_3538_; lean_object* v___x_3539_; +lean_inc(v_fn_3532_); +v___x_3538_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3538_, 0, v_fn_3532_); +lean_inc(v_a_3527_); +lean_inc_ref(v_a_3526_); +lean_inc(v_a_3525_); +lean_inc_ref(v_a_3524_); +lean_inc(v_a_3523_); +lean_inc_ref(v_a_3522_); +v___x_3539_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_3538_, v_a_3522_, v_a_3523_, v_a_3524_, v_a_3525_, v_a_3526_, v_a_3527_); +if (lean_obj_tag(v___x_3539_) == 0) { -lean_object* v_a_3306_; lean_object* v___x_3307_; lean_object* v___x_3308_; -v_a_3306_ = lean_ctor_get(v___x_3305_, 0); -lean_inc(v_a_3306_); -lean_dec_ref(v___x_3305_); -lean_inc(v_fn_3298_); -v___x_3307_ = lean_alloc_ctor(8, 1, 0); -lean_ctor_set(v___x_3307_, 0, v_fn_3298_); -v___x_3308_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_3299_, v_a_3306_, v___x_3307_, v_a_3288_, v_a_3289_, v_a_3290_, v_a_3291_, v_a_3292_, v_a_3293_); -lean_dec(v_a_3289_); -lean_dec_ref(v_a_3288_); -lean_dec(v_a_3306_); -return v___x_3308_; +lean_object* v_a_3540_; lean_object* v___x_3541_; lean_object* v___x_3542_; +v_a_3540_ = lean_ctor_get(v___x_3539_, 0); +lean_inc(v_a_3540_); +lean_dec_ref(v___x_3539_); +lean_inc(v_fn_3532_); +v___x_3541_ = lean_alloc_ctor(9, 1, 0); +lean_ctor_set(v___x_3541_, 0, v_fn_3532_); +v___x_3542_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_3533_, v_a_3540_, v___x_3541_, v_a_3522_, v_a_3523_, v_a_3524_, v_a_3525_, v_a_3526_, v_a_3527_); +lean_dec(v_a_3523_); +lean_dec_ref(v_a_3522_); +lean_dec(v_a_3540_); +return v___x_3542_; } else { -lean_object* v_a_3309_; lean_object* v___x_3311_; uint8_t v_isShared_3312_; uint8_t v_isSharedCheck_3316_; -lean_dec(v_a_3293_); -lean_dec_ref(v_a_3292_); -lean_dec(v_a_3291_); -lean_dec_ref(v_a_3290_); -lean_dec(v_a_3289_); -lean_dec_ref(v_a_3288_); -v_a_3309_ = lean_ctor_get(v___x_3305_, 0); -v_isSharedCheck_3316_ = !lean_is_exclusive(v___x_3305_); -if (v_isSharedCheck_3316_ == 0) +lean_object* v_a_3543_; lean_object* v___x_3545_; uint8_t v_isShared_3546_; uint8_t v_isSharedCheck_3550_; +lean_dec(v_a_3527_); +lean_dec_ref(v_a_3526_); +lean_dec(v_a_3525_); +lean_dec_ref(v_a_3524_); +lean_dec(v_a_3523_); +lean_dec_ref(v_a_3522_); +v_a_3543_ = lean_ctor_get(v___x_3539_, 0); +v_isSharedCheck_3550_ = !lean_is_exclusive(v___x_3539_); +if (v_isSharedCheck_3550_ == 0) { -v___x_3311_ = v___x_3305_; -v_isShared_3312_ = v_isSharedCheck_3316_; -goto v_resetjp_3310_; +v___x_3545_ = v___x_3539_; +v_isShared_3546_ = v_isSharedCheck_3550_; +goto v_resetjp_3544_; } else { -lean_inc(v_a_3309_); -lean_dec(v___x_3305_); -v___x_3311_ = lean_box(0); -v_isShared_3312_ = v_isSharedCheck_3316_; -goto v_resetjp_3310_; +lean_inc(v_a_3543_); +lean_dec(v___x_3539_); +v___x_3545_ = lean_box(0); +v_isShared_3546_ = v_isSharedCheck_3550_; +goto v_resetjp_3544_; } -v_resetjp_3310_: +v_resetjp_3544_: { -lean_object* v___x_3314_; -if (v_isShared_3312_ == 0) +lean_object* v___x_3548_; +if (v_isShared_3546_ == 0) { -v___x_3314_ = v___x_3311_; -goto v_reusejp_3313_; +v___x_3548_ = v___x_3545_; +goto v_reusejp_3547_; } else { -lean_object* v_reuseFailAlloc_3315_; -v_reuseFailAlloc_3315_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3315_, 0, v_a_3309_); -v___x_3314_ = v_reuseFailAlloc_3315_; -goto v_reusejp_3313_; +lean_object* v_reuseFailAlloc_3549_; +v_reuseFailAlloc_3549_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3549_, 0, v_a_3543_); +v___x_3548_ = v_reuseFailAlloc_3549_; +goto v_reusejp_3547_; } -v_reusejp_3313_: +v_reusejp_3547_: { -return v___x_3314_; +return v___x_3548_; } } } @@ -10319,320 +11342,320 @@ return v___x_3314_; } else { -lean_dec(v_a_3293_); -lean_dec_ref(v_a_3292_); -lean_dec(v_a_3291_); -lean_dec_ref(v_a_3290_); -lean_dec(v_a_3289_); -lean_dec_ref(v_a_3288_); -goto v___jp_3295_; +lean_dec(v_a_3527_); +lean_dec_ref(v_a_3526_); +lean_dec(v_a_3525_); +lean_dec_ref(v_a_3524_); +lean_dec(v_a_3523_); +lean_dec_ref(v_a_3522_); +goto v___jp_3529_; } -v___jp_3295_: +v___jp_3529_: { -lean_object* v___x_3296_; lean_object* v___x_3297_; -v___x_3296_ = lean_box(0); -v___x_3297_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3297_, 0, v___x_3296_); -return v___x_3297_; +lean_object* v___x_3530_; lean_object* v___x_3531_; +v___x_3530_ = lean_box(0); +v___x_3531_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3531_, 0, v___x_3530_); +return v___x_3531_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall___boxed(lean_object* v_x_3321_, lean_object* v_v_3322_, lean_object* v_k_3323_, lean_object* v_a_3324_, lean_object* v_a_3325_, lean_object* v_a_3326_, lean_object* v_a_3327_, lean_object* v_a_3328_, lean_object* v_a_3329_, lean_object* v_a_3330_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall___boxed(lean_object* v_x_3555_, lean_object* v_v_3556_, lean_object* v_k_3557_, lean_object* v_a_3558_, lean_object* v_a_3559_, lean_object* v_a_3560_, lean_object* v_a_3561_, lean_object* v_a_3562_, lean_object* v_a_3563_, lean_object* v_a_3564_){ _start: { -lean_object* v_res_3331_; -v_res_3331_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(v_x_3321_, v_v_3322_, v_k_3323_, v_a_3324_, v_a_3325_, v_a_3326_, v_a_3327_, v_a_3328_, v_a_3329_); -lean_dec_ref(v_k_3323_); -lean_dec(v_v_3322_); -lean_dec(v_x_3321_); -return v_res_3331_; +lean_object* v_res_3565_; +v_res_3565_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(v_x_3555_, v_v_3556_, v_k_3557_, v_a_3558_, v_a_3559_, v_a_3560_, v_a_3561_, v_a_3562_, v_a_3563_); +lean_dec_ref(v_k_3557_); +lean_dec(v_v_3556_); +lean_dec(v_x_3555_); +return v_res_3565_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(lean_object* v_reason_3332_, lean_object* v_as_3333_, size_t v_i_3334_, size_t v_stop_3335_, lean_object* v_b_3336_, lean_object* v___y_3337_, lean_object* v___y_3338_, lean_object* v___y_3339_, lean_object* v___y_3340_, lean_object* v___y_3341_, lean_object* v___y_3342_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(lean_object* v_reason_3566_, lean_object* v_as_3567_, size_t v_i_3568_, size_t v_stop_3569_, lean_object* v_b_3570_, lean_object* v___y_3571_, lean_object* v___y_3572_, lean_object* v___y_3573_, lean_object* v___y_3574_, lean_object* v___y_3575_, lean_object* v___y_3576_){ _start: { -uint8_t v___x_3344_; -v___x_3344_ = lean_usize_dec_eq(v_i_3334_, v_stop_3335_); -if (v___x_3344_ == 0) +uint8_t v___x_3578_; +v___x_3578_ = lean_usize_dec_eq(v_i_3568_, v_stop_3569_); +if (v___x_3578_ == 0) { -lean_object* v___x_3345_; lean_object* v___x_3346_; -v___x_3345_ = lean_array_uget_borrowed(v_as_3333_, v_i_3334_); -lean_inc(v___y_3342_); -lean_inc_ref(v___y_3341_); -lean_inc(v___y_3340_); -lean_inc_ref(v___y_3339_); -lean_inc(v___y_3338_); -lean_inc_ref(v___y_3337_); -lean_inc(v___x_3345_); -lean_inc_ref(v_reason_3332_); -v___x_3346_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_3332_, v___x_3345_, v___y_3337_, v___y_3338_, v___y_3339_, v___y_3340_, v___y_3341_, v___y_3342_); -if (lean_obj_tag(v___x_3346_) == 0) +lean_object* v___x_3579_; lean_object* v___x_3580_; +v___x_3579_ = lean_array_uget_borrowed(v_as_3567_, v_i_3568_); +lean_inc(v___y_3576_); +lean_inc_ref(v___y_3575_); +lean_inc(v___y_3574_); +lean_inc_ref(v___y_3573_); +lean_inc(v___y_3572_); +lean_inc_ref(v___y_3571_); +lean_inc(v___x_3579_); +lean_inc_ref(v_reason_3566_); +v___x_3580_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArg(v_reason_3566_, v___x_3579_, v___y_3571_, v___y_3572_, v___y_3573_, v___y_3574_, v___y_3575_, v___y_3576_); +if (lean_obj_tag(v___x_3580_) == 0) { -lean_object* v_a_3347_; size_t v___x_3348_; size_t v___x_3349_; -v_a_3347_ = lean_ctor_get(v___x_3346_, 0); -lean_inc(v_a_3347_); -lean_dec_ref(v___x_3346_); -v___x_3348_ = ((size_t)1ULL); -v___x_3349_ = lean_usize_add(v_i_3334_, v___x_3348_); -v_i_3334_ = v___x_3349_; -v_b_3336_ = v_a_3347_; +lean_object* v_a_3581_; size_t v___x_3582_; size_t v___x_3583_; +v_a_3581_ = lean_ctor_get(v___x_3580_, 0); +lean_inc(v_a_3581_); +lean_dec_ref(v___x_3580_); +v___x_3582_ = ((size_t)1ULL); +v___x_3583_ = lean_usize_add(v_i_3568_, v___x_3582_); +v_i_3568_ = v___x_3583_; +v_b_3570_ = v_a_3581_; goto _start; } else { -lean_dec(v___y_3342_); -lean_dec_ref(v___y_3341_); -lean_dec(v___y_3340_); -lean_dec_ref(v___y_3339_); -lean_dec(v___y_3338_); -lean_dec_ref(v___y_3337_); -lean_dec_ref(v_reason_3332_); -return v___x_3346_; +lean_dec(v___y_3576_); +lean_dec_ref(v___y_3575_); +lean_dec(v___y_3574_); +lean_dec_ref(v___y_3573_); +lean_dec(v___y_3572_); +lean_dec_ref(v___y_3571_); +lean_dec_ref(v_reason_3566_); +return v___x_3580_; } } else { -lean_object* v___x_3351_; -lean_dec(v___y_3342_); -lean_dec_ref(v___y_3341_); -lean_dec(v___y_3340_); -lean_dec_ref(v___y_3339_); -lean_dec(v___y_3338_); -lean_dec_ref(v___y_3337_); -lean_dec_ref(v_reason_3332_); -v___x_3351_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3351_, 0, v_b_3336_); -return v___x_3351_; +lean_object* v___x_3585_; +lean_dec(v___y_3576_); +lean_dec_ref(v___y_3575_); +lean_dec(v___y_3574_); +lean_dec_ref(v___y_3573_); +lean_dec(v___y_3572_); +lean_dec_ref(v___y_3571_); +lean_dec_ref(v_reason_3566_); +v___x_3585_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3585_, 0, v_b_3570_); +return v___x_3585_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0___boxed(lean_object* v_reason_3352_, lean_object* v_as_3353_, lean_object* v_i_3354_, lean_object* v_stop_3355_, lean_object* v_b_3356_, lean_object* v___y_3357_, lean_object* v___y_3358_, lean_object* v___y_3359_, lean_object* v___y_3360_, lean_object* v___y_3361_, lean_object* v___y_3362_, lean_object* v___y_3363_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0___boxed(lean_object* v_reason_3586_, lean_object* v_as_3587_, lean_object* v_i_3588_, lean_object* v_stop_3589_, lean_object* v_b_3590_, lean_object* v___y_3591_, lean_object* v___y_3592_, lean_object* v___y_3593_, lean_object* v___y_3594_, lean_object* v___y_3595_, lean_object* v___y_3596_, lean_object* v___y_3597_){ _start: { -size_t v_i_boxed_3364_; size_t v_stop_boxed_3365_; lean_object* v_res_3366_; -v_i_boxed_3364_ = lean_unbox_usize(v_i_3354_); -lean_dec(v_i_3354_); -v_stop_boxed_3365_ = lean_unbox_usize(v_stop_3355_); -lean_dec(v_stop_3355_); -v_res_3366_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3352_, v_as_3353_, v_i_boxed_3364_, v_stop_boxed_3365_, v_b_3356_, v___y_3357_, v___y_3358_, v___y_3359_, v___y_3360_, v___y_3361_, v___y_3362_); -lean_dec_ref(v_as_3353_); -return v_res_3366_; +size_t v_i_boxed_3598_; size_t v_stop_boxed_3599_; lean_object* v_res_3600_; +v_i_boxed_3598_ = lean_unbox_usize(v_i_3588_); +lean_dec(v_i_3588_); +v_stop_boxed_3599_ = lean_unbox_usize(v_stop_3589_); +lean_dec(v_stop_3589_); +v_res_3600_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3586_, v_as_3587_, v_i_boxed_3598_, v_stop_boxed_3599_, v_b_3590_, v___y_3591_, v___y_3592_, v___y_3593_, v___y_3594_, v___y_3595_, v___y_3596_); +lean_dec_ref(v_as_3587_); +return v_res_3600_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(lean_object* v_reason_3367_, lean_object* v_as_3368_, lean_object* v_a_3369_, lean_object* v_a_3370_, lean_object* v_a_3371_, lean_object* v_a_3372_, lean_object* v_a_3373_, lean_object* v_a_3374_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(lean_object* v_reason_3601_, lean_object* v_as_3602_, lean_object* v_a_3603_, lean_object* v_a_3604_, lean_object* v_a_3605_, lean_object* v_a_3606_, lean_object* v_a_3607_, lean_object* v_a_3608_){ _start: { -lean_object* v___x_3376_; lean_object* v___x_3377_; lean_object* v___x_3378_; uint8_t v___x_3379_; -v___x_3376_ = lean_unsigned_to_nat(0u); -v___x_3377_ = lean_array_get_size(v_as_3368_); -v___x_3378_ = lean_box(0); -v___x_3379_ = lean_nat_dec_lt(v___x_3376_, v___x_3377_); -if (v___x_3379_ == 0) +lean_object* v___x_3610_; lean_object* v___x_3611_; lean_object* v___x_3612_; uint8_t v___x_3613_; +v___x_3610_ = lean_unsigned_to_nat(0u); +v___x_3611_ = lean_array_get_size(v_as_3602_); +v___x_3612_ = lean_box(0); +v___x_3613_ = lean_nat_dec_lt(v___x_3610_, v___x_3611_); +if (v___x_3613_ == 0) { -lean_object* v___x_3380_; -lean_dec(v_a_3374_); -lean_dec_ref(v_a_3373_); -lean_dec(v_a_3372_); -lean_dec_ref(v_a_3371_); -lean_dec(v_a_3370_); -lean_dec_ref(v_a_3369_); -lean_dec_ref(v_reason_3367_); -v___x_3380_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3380_, 0, v___x_3378_); -return v___x_3380_; +lean_object* v___x_3614_; +lean_dec(v_a_3608_); +lean_dec_ref(v_a_3607_); +lean_dec(v_a_3606_); +lean_dec_ref(v_a_3605_); +lean_dec(v_a_3604_); +lean_dec_ref(v_a_3603_); +lean_dec_ref(v_reason_3601_); +v___x_3614_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3614_, 0, v___x_3612_); +return v___x_3614_; } else { -uint8_t v___x_3381_; -v___x_3381_ = lean_nat_dec_le(v___x_3377_, v___x_3377_); -if (v___x_3381_ == 0) +uint8_t v___x_3615_; +v___x_3615_ = lean_nat_dec_le(v___x_3611_, v___x_3611_); +if (v___x_3615_ == 0) { -if (v___x_3379_ == 0) +if (v___x_3613_ == 0) { -lean_object* v___x_3382_; -lean_dec(v_a_3374_); -lean_dec_ref(v_a_3373_); -lean_dec(v_a_3372_); -lean_dec_ref(v_a_3371_); -lean_dec(v_a_3370_); -lean_dec_ref(v_a_3369_); -lean_dec_ref(v_reason_3367_); -v___x_3382_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3382_, 0, v___x_3378_); -return v___x_3382_; +lean_object* v___x_3616_; +lean_dec(v_a_3608_); +lean_dec_ref(v_a_3607_); +lean_dec(v_a_3606_); +lean_dec_ref(v_a_3605_); +lean_dec(v_a_3604_); +lean_dec_ref(v_a_3603_); +lean_dec_ref(v_reason_3601_); +v___x_3616_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3616_, 0, v___x_3612_); +return v___x_3616_; } else { -size_t v___x_3383_; size_t v___x_3384_; lean_object* v___x_3385_; -v___x_3383_ = ((size_t)0ULL); -v___x_3384_ = lean_usize_of_nat(v___x_3377_); -v___x_3385_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3367_, v_as_3368_, v___x_3383_, v___x_3384_, v___x_3378_, v_a_3369_, v_a_3370_, v_a_3371_, v_a_3372_, v_a_3373_, v_a_3374_); -return v___x_3385_; +size_t v___x_3617_; size_t v___x_3618_; lean_object* v___x_3619_; +v___x_3617_ = ((size_t)0ULL); +v___x_3618_ = lean_usize_of_nat(v___x_3611_); +v___x_3619_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3601_, v_as_3602_, v___x_3617_, v___x_3618_, v___x_3612_, v_a_3603_, v_a_3604_, v_a_3605_, v_a_3606_, v_a_3607_, v_a_3608_); +return v___x_3619_; } } else { -size_t v___x_3386_; size_t v___x_3387_; lean_object* v___x_3388_; -v___x_3386_ = ((size_t)0ULL); -v___x_3387_ = lean_usize_of_nat(v___x_3377_); -v___x_3388_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3367_, v_as_3368_, v___x_3386_, v___x_3387_, v___x_3378_, v_a_3369_, v_a_3370_, v_a_3371_, v_a_3372_, v_a_3373_, v_a_3374_); -return v___x_3388_; +size_t v___x_3620_; size_t v___x_3621_; lean_object* v___x_3622_; +v___x_3620_ = ((size_t)0ULL); +v___x_3621_ = lean_usize_of_nat(v___x_3611_); +v___x_3622_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs_spec__0(v_reason_3601_, v_as_3602_, v___x_3620_, v___x_3621_, v___x_3612_, v_a_3603_, v_a_3604_, v_a_3605_, v_a_3606_, v_a_3607_, v_a_3608_); +return v___x_3622_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs___boxed(lean_object* v_reason_3389_, lean_object* v_as_3390_, lean_object* v_a_3391_, lean_object* v_a_3392_, lean_object* v_a_3393_, lean_object* v_a_3394_, lean_object* v_a_3395_, lean_object* v_a_3396_, lean_object* v_a_3397_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs___boxed(lean_object* v_reason_3623_, lean_object* v_as_3624_, lean_object* v_a_3625_, lean_object* v_a_3626_, lean_object* v_a_3627_, lean_object* v_a_3628_, lean_object* v_a_3629_, lean_object* v_a_3630_, lean_object* v_a_3631_){ _start: { -lean_object* v_res_3398_; -v_res_3398_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v_reason_3389_, v_as_3390_, v_a_3391_, v_a_3392_, v_a_3393_, v_a_3394_, v_a_3395_, v_a_3396_); -lean_dec_ref(v_as_3390_); -return v_res_3398_; +lean_object* v_res_3632_; +v_res_3632_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v_reason_3623_, v_as_3624_, v_a_3625_, v_a_3626_, v_a_3627_, v_a_3628_, v_a_3629_, v_a_3630_); +lean_dec_ref(v_as_3624_); +return v_res_3632_; } } -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(lean_object* v_k_3399_, lean_object* v_t_3400_){ +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(lean_object* v_k_3633_, lean_object* v_t_3634_){ _start: { -if (lean_obj_tag(v_t_3400_) == 0) +if (lean_obj_tag(v_t_3634_) == 0) { -lean_object* v_k_3401_; lean_object* v_l_3402_; lean_object* v_r_3403_; uint8_t v___x_3404_; -v_k_3401_ = lean_ctor_get(v_t_3400_, 1); -v_l_3402_ = lean_ctor_get(v_t_3400_, 3); -v_r_3403_ = lean_ctor_get(v_t_3400_, 4); -v___x_3404_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_3399_, v_k_3401_); -switch(v___x_3404_) +lean_object* v_k_3635_; lean_object* v_l_3636_; lean_object* v_r_3637_; uint8_t v___x_3638_; +v_k_3635_ = lean_ctor_get(v_t_3634_, 1); +v_l_3636_ = lean_ctor_get(v_t_3634_, 3); +v_r_3637_ = lean_ctor_get(v_t_3634_, 4); +v___x_3638_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_3633_, v_k_3635_); +switch(v___x_3638_) { case 0: { -v_t_3400_ = v_l_3402_; +v_t_3634_ = v_l_3636_; goto _start; } case 1: { -uint8_t v___x_3406_; -v___x_3406_ = 1; -return v___x_3406_; +uint8_t v___x_3640_; +v___x_3640_ = 1; +return v___x_3640_; } default: { -v_t_3400_ = v_r_3403_; +v_t_3634_ = v_r_3637_; goto _start; } } } else { -uint8_t v___x_3408_; -v___x_3408_ = 0; -return v___x_3408_; +uint8_t v___x_3642_; +v___x_3642_ = 0; +return v___x_3642_; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg___boxed(lean_object* v_k_3409_, lean_object* v_t_3410_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg___boxed(lean_object* v_k_3643_, lean_object* v_t_3644_){ _start: { -uint8_t v_res_3411_; lean_object* v_r_3412_; -v_res_3411_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_k_3409_, v_t_3410_); -lean_dec(v_t_3410_); -lean_dec(v_k_3409_); -v_r_3412_ = lean_box(v_res_3411_); -return v_r_3412_; +uint8_t v_res_3645_; lean_object* v_r_3646_; +v_res_3645_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_k_3643_, v_t_3644_); +lean_dec(v_t_3644_); +lean_dec(v_k_3643_); +v_r_3646_ = lean_box(v_res_3645_); +return v_r_3646_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(lean_object* v_z_3413_, lean_object* v_as_3414_, size_t v_sz_3415_, size_t v_i_3416_, lean_object* v_b_3417_, lean_object* v___y_3418_, lean_object* v___y_3419_, lean_object* v___y_3420_, lean_object* v___y_3421_, lean_object* v___y_3422_, lean_object* v___y_3423_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(lean_object* v_z_3647_, lean_object* v_as_3648_, size_t v_sz_3649_, size_t v_i_3650_, lean_object* v_b_3651_, lean_object* v___y_3652_, lean_object* v___y_3653_, lean_object* v___y_3654_, lean_object* v___y_3655_, lean_object* v___y_3656_, lean_object* v___y_3657_){ _start: { -lean_object* v_a_3426_; uint8_t v___x_3430_; -v___x_3430_ = lean_usize_dec_lt(v_i_3416_, v_sz_3415_); -if (v___x_3430_ == 0) +lean_object* v_a_3660_; uint8_t v___x_3664_; +v___x_3664_ = lean_usize_dec_lt(v_i_3650_, v_sz_3649_); +if (v___x_3664_ == 0) { -lean_object* v___x_3431_; -lean_dec(v___y_3423_); -lean_dec_ref(v___y_3422_); -lean_dec(v___y_3421_); -lean_dec_ref(v___y_3420_); -lean_dec(v_z_3413_); -v___x_3431_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3431_, 0, v_b_3417_); -return v___x_3431_; +lean_object* v___x_3665_; +lean_dec(v___y_3657_); +lean_dec_ref(v___y_3656_); +lean_dec(v___y_3655_); +lean_dec_ref(v___y_3654_); +lean_dec(v_z_3647_); +v___x_3665_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3665_, 0, v_b_3651_); +return v___x_3665_; } else { -lean_object* v___x_3432_; lean_object* v_a_3433_; -v___x_3432_ = lean_box(0); -v_a_3433_ = lean_array_uget(v_as_3414_, v_i_3416_); -if (lean_obj_tag(v_a_3433_) == 1) +lean_object* v___x_3666_; lean_object* v_a_3667_; +v___x_3666_ = lean_box(0); +v_a_3667_ = lean_array_uget(v_as_3648_, v_i_3650_); +if (lean_obj_tag(v_a_3667_) == 1) { -lean_object* v_fvarId_3434_; lean_object* v___x_3436_; uint8_t v_isShared_3437_; uint8_t v_isSharedCheck_3444_; -v_fvarId_3434_ = lean_ctor_get(v_a_3433_, 0); -v_isSharedCheck_3444_ = !lean_is_exclusive(v_a_3433_); -if (v_isSharedCheck_3444_ == 0) +lean_object* v_fvarId_3668_; lean_object* v___x_3670_; uint8_t v_isShared_3671_; uint8_t v_isSharedCheck_3678_; +v_fvarId_3668_ = lean_ctor_get(v_a_3667_, 0); +v_isSharedCheck_3678_ = !lean_is_exclusive(v_a_3667_); +if (v_isSharedCheck_3678_ == 0) { -v___x_3436_ = v_a_3433_; -v_isShared_3437_ = v_isSharedCheck_3444_; -goto v_resetjp_3435_; +v___x_3670_ = v_a_3667_; +v_isShared_3671_ = v_isSharedCheck_3678_; +goto v_resetjp_3669_; } else { -lean_inc(v_fvarId_3434_); -lean_dec(v_a_3433_); -v___x_3436_ = lean_box(0); -v_isShared_3437_ = v_isSharedCheck_3444_; -goto v_resetjp_3435_; +lean_inc(v_fvarId_3668_); +lean_dec(v_a_3667_); +v___x_3670_ = lean_box(0); +v_isShared_3671_ = v_isSharedCheck_3678_; +goto v_resetjp_3669_; } -v_resetjp_3435_: +v_resetjp_3669_: { -lean_object* v_paramSet_3438_; uint8_t v___x_3439_; -v_paramSet_3438_ = lean_ctor_get(v___y_3418_, 2); -v___x_3439_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_fvarId_3434_, v_paramSet_3438_); -if (v___x_3439_ == 0) +lean_object* v_paramSet_3672_; uint8_t v___x_3673_; +v_paramSet_3672_ = lean_ctor_get(v___y_3652_, 2); +v___x_3673_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_fvarId_3668_, v_paramSet_3672_); +if (v___x_3673_ == 0) { -lean_del_object(v___x_3436_); -lean_dec(v_fvarId_3434_); -v_a_3426_ = v___x_3432_; -goto v___jp_3425_; +lean_del_object(v___x_3670_); +lean_dec(v_fvarId_3668_); +v_a_3660_ = v___x_3666_; +goto v___jp_3659_; } else { -lean_object* v___x_3441_; -lean_inc(v_z_3413_); -if (v_isShared_3437_ == 0) +lean_object* v___x_3675_; +lean_inc(v_z_3647_); +if (v_isShared_3671_ == 0) { -lean_ctor_set_tag(v___x_3436_, 2); -lean_ctor_set(v___x_3436_, 0, v_z_3413_); -v___x_3441_ = v___x_3436_; -goto v_reusejp_3440_; +lean_ctor_set_tag(v___x_3670_, 2); +lean_ctor_set(v___x_3670_, 0, v_z_3647_); +v___x_3675_ = v___x_3670_; +goto v_reusejp_3674_; } else { -lean_object* v_reuseFailAlloc_3443_; -v_reuseFailAlloc_3443_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3443_, 0, v_z_3413_); -v___x_3441_ = v_reuseFailAlloc_3443_; -goto v_reusejp_3440_; +lean_object* v_reuseFailAlloc_3677_; +v_reuseFailAlloc_3677_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3677_, 0, v_z_3647_); +v___x_3675_ = v_reuseFailAlloc_3677_; +goto v_reusejp_3674_; } -v_reusejp_3440_: +v_reusejp_3674_: { -lean_object* v___x_3442_; -lean_inc(v___y_3423_); -lean_inc_ref(v___y_3422_); -lean_inc(v___y_3421_); -lean_inc_ref(v___y_3420_); -v___x_3442_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_3434_, v___x_3441_, v___y_3418_, v___y_3419_, v___y_3420_, v___y_3421_, v___y_3422_, v___y_3423_); -if (lean_obj_tag(v___x_3442_) == 0) +lean_object* v___x_3676_; +lean_inc(v___y_3657_); +lean_inc_ref(v___y_3656_); +lean_inc(v___y_3655_); +lean_inc_ref(v___y_3654_); +v___x_3676_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_3668_, v___x_3675_, v___y_3652_, v___y_3653_, v___y_3654_, v___y_3655_, v___y_3656_, v___y_3657_); +if (lean_obj_tag(v___x_3676_) == 0) { -lean_dec_ref(v___x_3442_); -v_a_3426_ = v___x_3432_; -goto v___jp_3425_; +lean_dec_ref(v___x_3676_); +v_a_3660_ = v___x_3666_; +goto v___jp_3659_; } else { -lean_dec(v___y_3423_); -lean_dec_ref(v___y_3422_); -lean_dec(v___y_3421_); -lean_dec_ref(v___y_3420_); -lean_dec(v_z_3413_); -return v___x_3442_; +lean_dec(v___y_3657_); +lean_dec_ref(v___y_3656_); +lean_dec(v___y_3655_); +lean_dec_ref(v___y_3654_); +lean_dec(v_z_3647_); +return v___x_3676_; } } } @@ -10640,427 +11663,427 @@ return v___x_3442_; } else { -lean_dec(v_a_3433_); -v_a_3426_ = v___x_3432_; -goto v___jp_3425_; +lean_dec(v_a_3667_); +v_a_3660_ = v___x_3666_; +goto v___jp_3659_; } } -v___jp_3425_: +v___jp_3659_: { -size_t v___x_3427_; size_t v___x_3428_; -v___x_3427_ = ((size_t)1ULL); -v___x_3428_ = lean_usize_add(v_i_3416_, v___x_3427_); -v_i_3416_ = v___x_3428_; -v_b_3417_ = v_a_3426_; +size_t v___x_3661_; size_t v___x_3662_; +v___x_3661_ = ((size_t)1ULL); +v___x_3662_ = lean_usize_add(v_i_3650_, v___x_3661_); +v_i_3650_ = v___x_3662_; +v_b_3651_ = v_a_3660_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1___boxed(lean_object* v_z_3445_, lean_object* v_as_3446_, lean_object* v_sz_3447_, lean_object* v_i_3448_, lean_object* v_b_3449_, lean_object* v___y_3450_, lean_object* v___y_3451_, lean_object* v___y_3452_, lean_object* v___y_3453_, lean_object* v___y_3454_, lean_object* v___y_3455_, lean_object* v___y_3456_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1___boxed(lean_object* v_z_3679_, lean_object* v_as_3680_, lean_object* v_sz_3681_, lean_object* v_i_3682_, lean_object* v_b_3683_, lean_object* v___y_3684_, lean_object* v___y_3685_, lean_object* v___y_3686_, lean_object* v___y_3687_, lean_object* v___y_3688_, lean_object* v___y_3689_, lean_object* v___y_3690_){ _start: { -size_t v_sz_boxed_3457_; size_t v_i_boxed_3458_; lean_object* v_res_3459_; -v_sz_boxed_3457_ = lean_unbox_usize(v_sz_3447_); -lean_dec(v_sz_3447_); -v_i_boxed_3458_ = lean_unbox_usize(v_i_3448_); -lean_dec(v_i_3448_); -v_res_3459_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(v_z_3445_, v_as_3446_, v_sz_boxed_3457_, v_i_boxed_3458_, v_b_3449_, v___y_3450_, v___y_3451_, v___y_3452_, v___y_3453_, v___y_3454_, v___y_3455_); -lean_dec(v___y_3451_); -lean_dec_ref(v___y_3450_); -lean_dec_ref(v_as_3446_); -return v_res_3459_; +size_t v_sz_boxed_3691_; size_t v_i_boxed_3692_; lean_object* v_res_3693_; +v_sz_boxed_3691_ = lean_unbox_usize(v_sz_3681_); +lean_dec(v_sz_3681_); +v_i_boxed_3692_ = lean_unbox_usize(v_i_3682_); +lean_dec(v_i_3682_); +v_res_3693_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(v_z_3679_, v_as_3680_, v_sz_boxed_3691_, v_i_boxed_3692_, v_b_3683_, v___y_3684_, v___y_3685_, v___y_3686_, v___y_3687_, v___y_3688_, v___y_3689_); +lean_dec(v___y_3685_); +lean_dec_ref(v___y_3684_); +lean_dec_ref(v_as_3680_); +return v_res_3693_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(lean_object* v_z_3460_, lean_object* v_args_3461_, lean_object* v_a_3462_, lean_object* v_a_3463_, lean_object* v_a_3464_, lean_object* v_a_3465_, lean_object* v_a_3466_, lean_object* v_a_3467_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(lean_object* v_z_3694_, lean_object* v_args_3695_, lean_object* v_a_3696_, lean_object* v_a_3697_, lean_object* v_a_3698_, lean_object* v_a_3699_, lean_object* v_a_3700_, lean_object* v_a_3701_){ _start: { -lean_object* v___x_3469_; size_t v_sz_3470_; size_t v___x_3471_; lean_object* v___x_3472_; -v___x_3469_ = lean_box(0); -v_sz_3470_ = lean_array_size(v_args_3461_); -v___x_3471_ = ((size_t)0ULL); -v___x_3472_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(v_z_3460_, v_args_3461_, v_sz_3470_, v___x_3471_, v___x_3469_, v_a_3462_, v_a_3463_, v_a_3464_, v_a_3465_, v_a_3466_, v_a_3467_); -if (lean_obj_tag(v___x_3472_) == 0) +lean_object* v___x_3703_; size_t v_sz_3704_; size_t v___x_3705_; lean_object* v___x_3706_; +v___x_3703_ = lean_box(0); +v_sz_3704_ = lean_array_size(v_args_3695_); +v___x_3705_ = ((size_t)0ULL); +v___x_3706_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__1(v_z_3694_, v_args_3695_, v_sz_3704_, v___x_3705_, v___x_3703_, v_a_3696_, v_a_3697_, v_a_3698_, v_a_3699_, v_a_3700_, v_a_3701_); +if (lean_obj_tag(v___x_3706_) == 0) { -lean_object* v___x_3474_; uint8_t v_isShared_3475_; uint8_t v_isSharedCheck_3479_; -v_isSharedCheck_3479_ = !lean_is_exclusive(v___x_3472_); -if (v_isSharedCheck_3479_ == 0) +lean_object* v___x_3708_; uint8_t v_isShared_3709_; uint8_t v_isSharedCheck_3713_; +v_isSharedCheck_3713_ = !lean_is_exclusive(v___x_3706_); +if (v_isSharedCheck_3713_ == 0) { -lean_object* v_unused_3480_; -v_unused_3480_ = lean_ctor_get(v___x_3472_, 0); -lean_dec(v_unused_3480_); -v___x_3474_ = v___x_3472_; -v_isShared_3475_ = v_isSharedCheck_3479_; -goto v_resetjp_3473_; +lean_object* v_unused_3714_; +v_unused_3714_ = lean_ctor_get(v___x_3706_, 0); +lean_dec(v_unused_3714_); +v___x_3708_ = v___x_3706_; +v_isShared_3709_ = v_isSharedCheck_3713_; +goto v_resetjp_3707_; } else { -lean_dec(v___x_3472_); -v___x_3474_ = lean_box(0); -v_isShared_3475_ = v_isSharedCheck_3479_; -goto v_resetjp_3473_; +lean_dec(v___x_3706_); +v___x_3708_ = lean_box(0); +v_isShared_3709_ = v_isSharedCheck_3713_; +goto v_resetjp_3707_; } -v_resetjp_3473_: +v_resetjp_3707_: { -lean_object* v___x_3477_; -if (v_isShared_3475_ == 0) +lean_object* v___x_3711_; +if (v_isShared_3709_ == 0) { -lean_ctor_set(v___x_3474_, 0, v___x_3469_); -v___x_3477_ = v___x_3474_; -goto v_reusejp_3476_; +lean_ctor_set(v___x_3708_, 0, v___x_3703_); +v___x_3711_ = v___x_3708_; +goto v_reusejp_3710_; } else { -lean_object* v_reuseFailAlloc_3478_; -v_reuseFailAlloc_3478_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3478_, 0, v___x_3469_); -v___x_3477_ = v_reuseFailAlloc_3478_; -goto v_reusejp_3476_; +lean_object* v_reuseFailAlloc_3712_; +v_reuseFailAlloc_3712_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3712_, 0, v___x_3703_); +v___x_3711_ = v_reuseFailAlloc_3712_; +goto v_reusejp_3710_; } -v_reusejp_3476_: +v_reusejp_3710_: { -return v___x_3477_; +return v___x_3711_; } } } else { -return v___x_3472_; +return v___x_3706_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam___boxed(lean_object* v_z_3481_, lean_object* v_args_3482_, lean_object* v_a_3483_, lean_object* v_a_3484_, lean_object* v_a_3485_, lean_object* v_a_3486_, lean_object* v_a_3487_, lean_object* v_a_3488_, lean_object* v_a_3489_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam___boxed(lean_object* v_z_3715_, lean_object* v_args_3716_, lean_object* v_a_3717_, lean_object* v_a_3718_, lean_object* v_a_3719_, lean_object* v_a_3720_, lean_object* v_a_3721_, lean_object* v_a_3722_, lean_object* v_a_3723_){ _start: { -lean_object* v_res_3490_; -v_res_3490_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3481_, v_args_3482_, v_a_3483_, v_a_3484_, v_a_3485_, v_a_3486_, v_a_3487_, v_a_3488_); -lean_dec(v_a_3484_); -lean_dec_ref(v_a_3483_); -lean_dec_ref(v_args_3482_); -return v_res_3490_; +lean_object* v_res_3724_; +v_res_3724_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3715_, v_args_3716_, v_a_3717_, v_a_3718_, v_a_3719_, v_a_3720_, v_a_3721_, v_a_3722_); +lean_dec(v_a_3718_); +lean_dec_ref(v_a_3717_); +lean_dec_ref(v_args_3716_); +return v_res_3724_; } } -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0(lean_object* v_00_u03b2_3491_, lean_object* v_k_3492_, lean_object* v_t_3493_){ +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0(lean_object* v_00_u03b2_3725_, lean_object* v_k_3726_, lean_object* v_t_3727_){ _start: { -uint8_t v___x_3494_; -v___x_3494_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_k_3492_, v_t_3493_); -return v___x_3494_; +uint8_t v___x_3728_; +v___x_3728_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___redArg(v_k_3726_, v_t_3727_); +return v___x_3728_; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___boxed(lean_object* v_00_u03b2_3495_, lean_object* v_k_3496_, lean_object* v_t_3497_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0___boxed(lean_object* v_00_u03b2_3729_, lean_object* v_k_3730_, lean_object* v_t_3731_){ _start: { -uint8_t v_res_3498_; lean_object* v_r_3499_; -v_res_3498_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0(v_00_u03b2_3495_, v_k_3496_, v_t_3497_); -lean_dec(v_t_3497_); -lean_dec(v_k_3496_); -v_r_3499_ = lean_box(v_res_3498_); -return v_r_3499_; +uint8_t v_res_3732_; lean_object* v_r_3733_; +v_res_3732_ = l_Std_DTreeMap_Internal_Impl_contains___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam_spec__0(v_00_u03b2_3729_, v_k_3730_, v_t_3731_); +lean_dec(v_t_3731_); +lean_dec(v_k_3730_); +v_r_3733_ = lean_box(v_res_3732_); +return v_r_3733_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(lean_object* v_z_3500_, lean_object* v_v_3501_, lean_object* v_a_3502_, lean_object* v_a_3503_, lean_object* v_a_3504_, lean_object* v_a_3505_, lean_object* v_a_3506_, lean_object* v_a_3507_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(lean_object* v_z_3734_, lean_object* v_v_3735_, lean_object* v_a_3736_, lean_object* v_a_3737_, lean_object* v_a_3738_, lean_object* v_a_3739_, lean_object* v_a_3740_, lean_object* v_a_3741_){ _start: { -switch(lean_obj_tag(v_v_3501_)) +switch(lean_obj_tag(v_v_3735_)) { case 11: { -lean_object* v_var_3509_; lean_object* v___x_3510_; lean_object* v___x_3511_; -v_var_3509_ = lean_ctor_get(v_v_3501_, 1); -lean_inc(v_var_3509_); -lean_dec_ref(v_v_3501_); -lean_inc(v_z_3500_); -v___x_3510_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3510_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc_ref(v___x_3510_); -v___x_3511_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3510_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3511_) == 0) +lean_object* v_var_3743_; lean_object* v___x_3744_; lean_object* v___x_3745_; +v_var_3743_ = lean_ctor_get(v_v_3735_, 1); +lean_inc(v_var_3743_); +lean_dec_ref(v_v_3735_); +lean_inc(v_z_3734_); +v___x_3744_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3744_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc_ref(v___x_3744_); +v___x_3745_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3744_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3745_) == 0) { -lean_object* v___x_3512_; -lean_dec_ref(v___x_3511_); -v___x_3512_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3509_, v___x_3510_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -return v___x_3512_; +lean_object* v___x_3746_; +lean_dec_ref(v___x_3745_); +v___x_3746_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3743_, v___x_3744_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +return v___x_3746_; } else { -lean_dec_ref(v___x_3510_); -lean_dec(v_var_3509_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -return v___x_3511_; +lean_dec_ref(v___x_3744_); +lean_dec(v_var_3743_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +return v___x_3745_; } } case 12: { -lean_object* v_var_3513_; lean_object* v_args_3514_; lean_object* v___x_3515_; lean_object* v___x_3516_; -v_var_3513_ = lean_ctor_get(v_v_3501_, 0); -lean_inc(v_var_3513_); -v_args_3514_ = lean_ctor_get(v_v_3501_, 2); -lean_inc_ref(v_args_3514_); -lean_dec_ref(v_v_3501_); -lean_inc(v_z_3500_); -v___x_3515_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3515_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc_ref(v___x_3515_); -lean_inc(v_z_3500_); -v___x_3516_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3515_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3516_) == 0) +lean_object* v_var_3747_; lean_object* v_args_3748_; lean_object* v___x_3749_; lean_object* v___x_3750_; +v_var_3747_ = lean_ctor_get(v_v_3735_, 0); +lean_inc(v_var_3747_); +v_args_3748_ = lean_ctor_get(v_v_3735_, 2); +lean_inc_ref(v_args_3748_); +lean_dec_ref(v_v_3735_); +lean_inc(v_z_3734_); +v___x_3749_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3749_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc_ref(v___x_3749_); +lean_inc(v_z_3734_); +v___x_3750_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3749_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3750_) == 0) { -lean_object* v___x_3517_; -lean_dec_ref(v___x_3516_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -v___x_3517_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3513_, v___x_3515_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3517_) == 0) +lean_object* v___x_3751_; +lean_dec_ref(v___x_3750_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +v___x_3751_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3747_, v___x_3749_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3751_) == 0) { -lean_object* v___x_3518_; -lean_dec_ref(v___x_3517_); -v___x_3518_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3500_, v_args_3514_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec_ref(v_args_3514_); -return v___x_3518_; +lean_object* v___x_3752_; +lean_dec_ref(v___x_3751_); +v___x_3752_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3734_, v_args_3748_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec_ref(v_args_3748_); +return v___x_3752_; } else { -lean_dec_ref(v_args_3514_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3517_; +lean_dec_ref(v_args_3748_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3751_; } } else { -lean_dec_ref(v___x_3515_); -lean_dec_ref(v_args_3514_); -lean_dec(v_var_3513_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3516_; +lean_dec_ref(v___x_3749_); +lean_dec_ref(v_args_3748_); +lean_dec(v_var_3747_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3750_; } } case 5: { -lean_object* v_args_3519_; lean_object* v___x_3520_; lean_object* v___x_3521_; -v_args_3519_ = lean_ctor_get(v_v_3501_, 1); -lean_inc_ref(v_args_3519_); -lean_dec_ref(v_v_3501_); -lean_inc(v_z_3500_); -v___x_3520_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_3520_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_z_3500_); -v___x_3521_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3520_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3521_) == 0) +lean_object* v_args_3753_; lean_object* v___x_3754_; lean_object* v___x_3755_; +v_args_3753_ = lean_ctor_get(v_v_3735_, 1); +lean_inc_ref(v_args_3753_); +lean_dec_ref(v_v_3735_); +lean_inc(v_z_3734_); +v___x_3754_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_3754_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_z_3734_); +v___x_3755_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3754_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3755_) == 0) { -lean_object* v___x_3522_; -lean_dec_ref(v___x_3521_); -v___x_3522_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3500_, v_args_3519_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec_ref(v_args_3519_); -return v___x_3522_; +lean_object* v___x_3756_; +lean_dec_ref(v___x_3755_); +v___x_3756_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsIfParam(v_z_3734_, v_args_3753_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec_ref(v_args_3753_); +return v___x_3756_; } else { -lean_dec_ref(v_args_3519_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3521_; +lean_dec_ref(v_args_3753_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3755_; } } case 6: { -lean_object* v_var_3523_; lean_object* v___y_3525_; lean_object* v___y_3526_; lean_object* v___y_3527_; lean_object* v___y_3528_; lean_object* v___y_3529_; lean_object* v___y_3530_; lean_object* v___x_3544_; lean_object* v_a_3545_; lean_object* v___x_3547_; uint8_t v_isShared_3548_; uint8_t v_isSharedCheck_3554_; -v_var_3523_ = lean_ctor_get(v_v_3501_, 1); -lean_inc(v_var_3523_); -lean_dec_ref(v_v_3501_); -v___x_3544_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_var_3523_, v_a_3503_); -v_a_3545_ = lean_ctor_get(v___x_3544_, 0); -v_isSharedCheck_3554_ = !lean_is_exclusive(v___x_3544_); -if (v_isSharedCheck_3554_ == 0) +lean_object* v_var_3757_; lean_object* v___y_3759_; lean_object* v___y_3760_; lean_object* v___y_3761_; lean_object* v___y_3762_; lean_object* v___y_3763_; lean_object* v___y_3764_; lean_object* v___x_3778_; lean_object* v_a_3779_; lean_object* v___x_3781_; uint8_t v_isShared_3782_; uint8_t v_isSharedCheck_3788_; +v_var_3757_ = lean_ctor_get(v_v_3735_, 1); +lean_inc(v_var_3757_); +lean_dec_ref(v_v_3735_); +v___x_3778_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_var_3757_, v_a_3737_); +v_a_3779_ = lean_ctor_get(v___x_3778_, 0); +v_isSharedCheck_3788_ = !lean_is_exclusive(v___x_3778_); +if (v_isSharedCheck_3788_ == 0) { -v___x_3547_ = v___x_3544_; -v_isShared_3548_ = v_isSharedCheck_3554_; -goto v_resetjp_3546_; +v___x_3781_ = v___x_3778_; +v_isShared_3782_ = v_isSharedCheck_3788_; +goto v_resetjp_3780_; } else { -lean_inc(v_a_3545_); -lean_dec(v___x_3544_); -v___x_3547_ = lean_box(0); -v_isShared_3548_ = v_isSharedCheck_3554_; -goto v_resetjp_3546_; +lean_inc(v_a_3779_); +lean_dec(v___x_3778_); +v___x_3781_ = lean_box(0); +v_isShared_3782_ = v_isSharedCheck_3788_; +goto v_resetjp_3780_; } -v___jp_3524_: +v___jp_3758_: { -lean_object* v___x_3531_; lean_object* v_a_3532_; lean_object* v___x_3534_; uint8_t v_isShared_3535_; uint8_t v_isSharedCheck_3543_; -v___x_3531_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_z_3500_, v___y_3526_); -v_a_3532_ = lean_ctor_get(v___x_3531_, 0); -v_isSharedCheck_3543_ = !lean_is_exclusive(v___x_3531_); -if (v_isSharedCheck_3543_ == 0) +lean_object* v___x_3765_; lean_object* v_a_3766_; lean_object* v___x_3768_; uint8_t v_isShared_3769_; uint8_t v_isSharedCheck_3777_; +v___x_3765_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_isOwned___redArg(v_z_3734_, v___y_3760_); +v_a_3766_ = lean_ctor_get(v___x_3765_, 0); +v_isSharedCheck_3777_ = !lean_is_exclusive(v___x_3765_); +if (v_isSharedCheck_3777_ == 0) { -v___x_3534_ = v___x_3531_; -v_isShared_3535_ = v_isSharedCheck_3543_; -goto v_resetjp_3533_; +v___x_3768_ = v___x_3765_; +v_isShared_3769_ = v_isSharedCheck_3777_; +goto v_resetjp_3767_; } else { -lean_inc(v_a_3532_); -lean_dec(v___x_3531_); -v___x_3534_ = lean_box(0); -v_isShared_3535_ = v_isSharedCheck_3543_; -goto v_resetjp_3533_; +lean_inc(v_a_3766_); +lean_dec(v___x_3765_); +v___x_3768_ = lean_box(0); +v_isShared_3769_ = v_isSharedCheck_3777_; +goto v_resetjp_3767_; } -v_resetjp_3533_: +v_resetjp_3767_: { -uint8_t v___x_3536_; -v___x_3536_ = lean_unbox(v_a_3532_); -lean_dec(v_a_3532_); -if (v___x_3536_ == 0) +uint8_t v___x_3770_; +v___x_3770_ = lean_unbox(v_a_3766_); +lean_dec(v_a_3766_); +if (v___x_3770_ == 0) { -lean_object* v___x_3537_; lean_object* v___x_3539_; -lean_dec(v___y_3530_); -lean_dec_ref(v___y_3529_); -lean_dec(v___y_3528_); -lean_dec_ref(v___y_3527_); -lean_dec(v___y_3526_); -lean_dec_ref(v___y_3525_); -lean_dec(v_var_3523_); -lean_dec(v_z_3500_); -v___x_3537_ = lean_box(0); -if (v_isShared_3535_ == 0) +lean_object* v___x_3771_; lean_object* v___x_3773_; +lean_dec(v___y_3764_); +lean_dec_ref(v___y_3763_); +lean_dec(v___y_3762_); +lean_dec_ref(v___y_3761_); +lean_dec(v___y_3760_); +lean_dec_ref(v___y_3759_); +lean_dec(v_var_3757_); +lean_dec(v_z_3734_); +v___x_3771_ = lean_box(0); +if (v_isShared_3769_ == 0) { -lean_ctor_set(v___x_3534_, 0, v___x_3537_); -v___x_3539_ = v___x_3534_; -goto v_reusejp_3538_; +lean_ctor_set(v___x_3768_, 0, v___x_3771_); +v___x_3773_ = v___x_3768_; +goto v_reusejp_3772_; } else { -lean_object* v_reuseFailAlloc_3540_; -v_reuseFailAlloc_3540_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3540_, 0, v___x_3537_); -v___x_3539_ = v_reuseFailAlloc_3540_; -goto v_reusejp_3538_; +lean_object* v_reuseFailAlloc_3774_; +v_reuseFailAlloc_3774_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3774_, 0, v___x_3771_); +v___x_3773_ = v_reuseFailAlloc_3774_; +goto v_reusejp_3772_; } -v_reusejp_3538_: +v_reusejp_3772_: { -return v___x_3539_; +return v___x_3773_; } } else { -lean_object* v___x_3541_; lean_object* v___x_3542_; -lean_del_object(v___x_3534_); -v___x_3541_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_3541_, 0, v_z_3500_); -v___x_3542_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3523_, v___x_3541_, v___y_3525_, v___y_3526_, v___y_3527_, v___y_3528_, v___y_3529_, v___y_3530_); -lean_dec(v___y_3526_); -lean_dec_ref(v___y_3525_); -return v___x_3542_; +lean_object* v___x_3775_; lean_object* v___x_3776_; +lean_del_object(v___x_3768_); +v___x_3775_ = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(v___x_3775_, 0, v_z_3734_); +v___x_3776_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_var_3757_, v___x_3775_, v___y_3759_, v___y_3760_, v___y_3761_, v___y_3762_, v___y_3763_, v___y_3764_); +lean_dec(v___y_3760_); +lean_dec_ref(v___y_3759_); +return v___x_3776_; } } } -v_resetjp_3546_: +v_resetjp_3780_: { -uint8_t v___x_3549_; -v___x_3549_ = lean_unbox(v_a_3545_); -lean_dec(v_a_3545_); -if (v___x_3549_ == 0) +uint8_t v___x_3783_; +v___x_3783_ = lean_unbox(v_a_3779_); +lean_dec(v_a_3779_); +if (v___x_3783_ == 0) { -lean_del_object(v___x_3547_); -v___y_3525_ = v_a_3502_; -v___y_3526_ = v_a_3503_; -v___y_3527_ = v_a_3504_; -v___y_3528_ = v_a_3505_; -v___y_3529_ = v_a_3506_; -v___y_3530_ = v_a_3507_; -goto v___jp_3524_; +lean_del_object(v___x_3781_); +v___y_3759_ = v_a_3736_; +v___y_3760_ = v_a_3737_; +v___y_3761_ = v_a_3738_; +v___y_3762_ = v_a_3739_; +v___y_3763_ = v_a_3740_; +v___y_3764_ = v_a_3741_; +goto v___jp_3758_; } else { -lean_object* v___x_3551_; -lean_inc(v_z_3500_); -if (v_isShared_3548_ == 0) +lean_object* v___x_3785_; +lean_inc(v_z_3734_); +if (v_isShared_3782_ == 0) { -lean_ctor_set_tag(v___x_3547_, 3); -lean_ctor_set(v___x_3547_, 0, v_z_3500_); -v___x_3551_ = v___x_3547_; -goto v_reusejp_3550_; +lean_ctor_set_tag(v___x_3781_, 3); +lean_ctor_set(v___x_3781_, 0, v_z_3734_); +v___x_3785_ = v___x_3781_; +goto v_reusejp_3784_; } else { -lean_object* v_reuseFailAlloc_3553_; -v_reuseFailAlloc_3553_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3553_, 0, v_z_3500_); -v___x_3551_ = v_reuseFailAlloc_3553_; -goto v_reusejp_3550_; +lean_object* v_reuseFailAlloc_3787_; +v_reuseFailAlloc_3787_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3787_, 0, v_z_3734_); +v___x_3785_ = v_reuseFailAlloc_3787_; +goto v_reusejp_3784_; } -v_reusejp_3550_: +v_reusejp_3784_: { -lean_object* v___x_3552_; -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_z_3500_); -v___x_3552_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3551_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3552_) == 0) +lean_object* v___x_3786_; +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_z_3734_); +v___x_3786_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3785_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3786_) == 0) { -lean_dec_ref(v___x_3552_); -v___y_3525_ = v_a_3502_; -v___y_3526_ = v_a_3503_; -v___y_3527_ = v_a_3504_; -v___y_3528_ = v_a_3505_; -v___y_3529_ = v_a_3506_; -v___y_3530_ = v_a_3507_; -goto v___jp_3524_; +lean_dec_ref(v___x_3786_); +v___y_3759_ = v_a_3736_; +v___y_3760_ = v_a_3737_; +v___y_3761_ = v_a_3738_; +v___y_3762_ = v_a_3739_; +v___y_3763_ = v_a_3740_; +v___y_3764_ = v_a_3741_; +goto v___jp_3758_; } else { -lean_dec(v_var_3523_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3552_; +lean_dec(v_var_3757_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3786_; } } } @@ -11068,646 +12091,646 @@ return v___x_3552_; } case 9: { -lean_object* v_fn_3555_; lean_object* v_args_3556_; lean_object* v___x_3557_; lean_object* v___x_3558_; -v_fn_3555_ = lean_ctor_get(v_v_3501_, 0); -lean_inc(v_fn_3555_); -v_args_3556_ = lean_ctor_get(v_v_3501_, 1); -lean_inc_ref(v_args_3556_); -lean_dec_ref(v_v_3501_); -v___x_3557_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3557_, 0, v_fn_3555_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_a_3503_); -lean_inc_ref(v_a_3502_); -v___x_3558_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_3557_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3558_) == 0) +lean_object* v_fn_3789_; lean_object* v_args_3790_; lean_object* v___x_3791_; lean_object* v___x_3792_; +v_fn_3789_ = lean_ctor_get(v_v_3735_, 0); +lean_inc(v_fn_3789_); +v_args_3790_ = lean_ctor_get(v_v_3735_, 1); +lean_inc_ref(v_args_3790_); +lean_dec_ref(v_v_3735_); +v___x_3791_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3791_, 0, v_fn_3789_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_a_3737_); +lean_inc_ref(v_a_3736_); +v___x_3792_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_3791_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3792_) == 0) { -lean_object* v_a_3559_; lean_object* v___x_3560_; lean_object* v___x_3561_; -v_a_3559_ = lean_ctor_get(v___x_3558_, 0); -lean_inc(v_a_3559_); -lean_dec_ref(v___x_3558_); -lean_inc(v_z_3500_); -v___x_3560_ = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(v___x_3560_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_z_3500_); -v___x_3561_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3560_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3561_) == 0) +lean_object* v_a_3793_; lean_object* v___x_3794_; lean_object* v___x_3795_; +v_a_3793_ = lean_ctor_get(v___x_3792_, 0); +lean_inc(v_a_3793_); +lean_dec_ref(v___x_3792_); +lean_inc(v_z_3734_); +v___x_3794_ = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(v___x_3794_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_z_3734_); +v___x_3795_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3794_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3795_) == 0) { -lean_object* v___x_3563_; uint8_t v_isShared_3564_; uint8_t v_isSharedCheck_3569_; -v_isSharedCheck_3569_ = !lean_is_exclusive(v___x_3561_); -if (v_isSharedCheck_3569_ == 0) +lean_object* v___x_3797_; uint8_t v_isShared_3798_; uint8_t v_isSharedCheck_3803_; +v_isSharedCheck_3803_ = !lean_is_exclusive(v___x_3795_); +if (v_isSharedCheck_3803_ == 0) { -lean_object* v_unused_3570_; -v_unused_3570_ = lean_ctor_get(v___x_3561_, 0); -lean_dec(v_unused_3570_); -v___x_3563_ = v___x_3561_; -v_isShared_3564_ = v_isSharedCheck_3569_; -goto v_resetjp_3562_; +lean_object* v_unused_3804_; +v_unused_3804_ = lean_ctor_get(v___x_3795_, 0); +lean_dec(v_unused_3804_); +v___x_3797_ = v___x_3795_; +v_isShared_3798_ = v_isSharedCheck_3803_; +goto v_resetjp_3796_; } else { -lean_dec(v___x_3561_); -v___x_3563_ = lean_box(0); -v_isShared_3564_ = v_isSharedCheck_3569_; -goto v_resetjp_3562_; +lean_dec(v___x_3795_); +v___x_3797_ = lean_box(0); +v_isShared_3798_ = v_isSharedCheck_3803_; +goto v_resetjp_3796_; } -v_resetjp_3562_: +v_resetjp_3796_: { -lean_object* v___x_3566_; -if (v_isShared_3564_ == 0) +lean_object* v___x_3800_; +if (v_isShared_3798_ == 0) { -lean_ctor_set_tag(v___x_3563_, 5); -lean_ctor_set(v___x_3563_, 0, v_z_3500_); -v___x_3566_ = v___x_3563_; -goto v_reusejp_3565_; +lean_ctor_set_tag(v___x_3797_, 6); +lean_ctor_set(v___x_3797_, 0, v_z_3734_); +v___x_3800_ = v___x_3797_; +goto v_reusejp_3799_; } else { -lean_object* v_reuseFailAlloc_3568_; -v_reuseFailAlloc_3568_ = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3568_, 0, v_z_3500_); -v___x_3566_ = v_reuseFailAlloc_3568_; -goto v_reusejp_3565_; +lean_object* v_reuseFailAlloc_3802_; +v_reuseFailAlloc_3802_ = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3802_, 0, v_z_3734_); +v___x_3800_ = v_reuseFailAlloc_3802_; +goto v_reusejp_3799_; } -v_reusejp_3565_: +v_reusejp_3799_: { -lean_object* v___x_3567_; -v___x_3567_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_3556_, v_a_3559_, v___x_3566_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec(v_a_3559_); -lean_dec_ref(v_args_3556_); -return v___x_3567_; +lean_object* v___x_3801_; +v___x_3801_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_3790_, v_a_3793_, v___x_3800_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec(v_a_3793_); +lean_dec_ref(v_args_3790_); +return v___x_3801_; } } } else { -lean_dec(v_a_3559_); -lean_dec_ref(v_args_3556_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3561_; +lean_dec(v_a_3793_); +lean_dec_ref(v_args_3790_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3795_; } } else { -lean_object* v_a_3571_; lean_object* v___x_3573_; uint8_t v_isShared_3574_; uint8_t v_isSharedCheck_3578_; -lean_dec_ref(v_args_3556_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -v_a_3571_ = lean_ctor_get(v___x_3558_, 0); -v_isSharedCheck_3578_ = !lean_is_exclusive(v___x_3558_); -if (v_isSharedCheck_3578_ == 0) +lean_object* v_a_3805_; lean_object* v___x_3807_; uint8_t v_isShared_3808_; uint8_t v_isSharedCheck_3812_; +lean_dec_ref(v_args_3790_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +v_a_3805_ = lean_ctor_get(v___x_3792_, 0); +v_isSharedCheck_3812_ = !lean_is_exclusive(v___x_3792_); +if (v_isSharedCheck_3812_ == 0) { -v___x_3573_ = v___x_3558_; -v_isShared_3574_ = v_isSharedCheck_3578_; -goto v_resetjp_3572_; +v___x_3807_ = v___x_3792_; +v_isShared_3808_ = v_isSharedCheck_3812_; +goto v_resetjp_3806_; } else { -lean_inc(v_a_3571_); -lean_dec(v___x_3558_); -v___x_3573_ = lean_box(0); -v_isShared_3574_ = v_isSharedCheck_3578_; -goto v_resetjp_3572_; +lean_inc(v_a_3805_); +lean_dec(v___x_3792_); +v___x_3807_ = lean_box(0); +v_isShared_3808_ = v_isSharedCheck_3812_; +goto v_resetjp_3806_; } -v_resetjp_3572_: +v_resetjp_3806_: { -lean_object* v___x_3576_; -if (v_isShared_3574_ == 0) +lean_object* v___x_3810_; +if (v_isShared_3808_ == 0) { -v___x_3576_ = v___x_3573_; -goto v_reusejp_3575_; +v___x_3810_ = v___x_3807_; +goto v_reusejp_3809_; } else { -lean_object* v_reuseFailAlloc_3577_; -v_reuseFailAlloc_3577_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3577_, 0, v_a_3571_); -v___x_3576_ = v_reuseFailAlloc_3577_; -goto v_reusejp_3575_; +lean_object* v_reuseFailAlloc_3811_; +v_reuseFailAlloc_3811_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3811_, 0, v_a_3805_); +v___x_3810_ = v_reuseFailAlloc_3811_; +goto v_reusejp_3809_; } -v_reusejp_3575_: +v_reusejp_3809_: { -return v___x_3576_; +return v___x_3810_; } } } } case 4: { -lean_object* v_fvarId_3579_; lean_object* v_args_3580_; lean_object* v___x_3581_; lean_object* v___x_3582_; -v_fvarId_3579_ = lean_ctor_get(v_v_3501_, 0); -lean_inc(v_fvarId_3579_); -v_args_3580_ = lean_ctor_get(v_v_3501_, 1); -lean_inc_ref(v_args_3580_); -lean_dec_ref(v_v_3501_); -lean_inc(v_z_3500_); -v___x_3581_ = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(v___x_3581_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_z_3500_); -v___x_3582_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3581_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3582_) == 0) +lean_object* v_fvarId_3813_; lean_object* v_args_3814_; lean_object* v___x_3815_; lean_object* v___x_3816_; +v_fvarId_3813_ = lean_ctor_get(v_v_3735_, 0); +lean_inc(v_fvarId_3813_); +v_args_3814_ = lean_ctor_get(v_v_3735_, 1); +lean_inc_ref(v_args_3814_); +lean_dec_ref(v_v_3735_); +lean_inc(v_z_3734_); +v___x_3815_ = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(v___x_3815_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_z_3734_); +v___x_3816_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3815_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3816_) == 0) { -lean_object* v___x_3584_; uint8_t v_isShared_3585_; uint8_t v_isSharedCheck_3591_; -v_isSharedCheck_3591_ = !lean_is_exclusive(v___x_3582_); -if (v_isSharedCheck_3591_ == 0) +lean_object* v___x_3818_; uint8_t v_isShared_3819_; uint8_t v_isSharedCheck_3825_; +v_isSharedCheck_3825_ = !lean_is_exclusive(v___x_3816_); +if (v_isSharedCheck_3825_ == 0) { -lean_object* v_unused_3592_; -v_unused_3592_ = lean_ctor_get(v___x_3582_, 0); -lean_dec(v_unused_3592_); -v___x_3584_ = v___x_3582_; -v_isShared_3585_ = v_isSharedCheck_3591_; -goto v_resetjp_3583_; +lean_object* v_unused_3826_; +v_unused_3826_ = lean_ctor_get(v___x_3816_, 0); +lean_dec(v_unused_3826_); +v___x_3818_ = v___x_3816_; +v_isShared_3819_ = v_isSharedCheck_3825_; +goto v_resetjp_3817_; } else { -lean_dec(v___x_3582_); -v___x_3584_ = lean_box(0); -v_isShared_3585_ = v_isSharedCheck_3591_; -goto v_resetjp_3583_; +lean_dec(v___x_3816_); +v___x_3818_ = lean_box(0); +v_isShared_3819_ = v_isSharedCheck_3825_; +goto v_resetjp_3817_; } -v_resetjp_3583_: +v_resetjp_3817_: { -lean_object* v___x_3587_; -if (v_isShared_3585_ == 0) +lean_object* v___x_3821_; +if (v_isShared_3819_ == 0) { -lean_ctor_set_tag(v___x_3584_, 6); -lean_ctor_set(v___x_3584_, 0, v_z_3500_); -v___x_3587_ = v___x_3584_; -goto v_reusejp_3586_; +lean_ctor_set_tag(v___x_3818_, 7); +lean_ctor_set(v___x_3818_, 0, v_z_3734_); +v___x_3821_ = v___x_3818_; +goto v_reusejp_3820_; } else { -lean_object* v_reuseFailAlloc_3590_; -v_reuseFailAlloc_3590_ = lean_alloc_ctor(6, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3590_, 0, v_z_3500_); -v___x_3587_ = v_reuseFailAlloc_3590_; -goto v_reusejp_3586_; +lean_object* v_reuseFailAlloc_3824_; +v_reuseFailAlloc_3824_ = lean_alloc_ctor(7, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3824_, 0, v_z_3734_); +v___x_3821_ = v_reuseFailAlloc_3824_; +goto v_reusejp_3820_; } -v_reusejp_3586_: +v_reusejp_3820_: { -lean_object* v___x_3588_; -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc_ref(v___x_3587_); -v___x_3588_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_3579_, v___x_3587_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3588_) == 0) +lean_object* v___x_3822_; +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc_ref(v___x_3821_); +v___x_3822_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_fvarId_3813_, v___x_3821_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3822_) == 0) { -lean_object* v___x_3589_; -lean_dec_ref(v___x_3588_); -v___x_3589_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v___x_3587_, v_args_3580_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec_ref(v_args_3580_); -return v___x_3589_; +lean_object* v___x_3823_; +lean_dec_ref(v___x_3822_); +v___x_3823_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v___x_3821_, v_args_3814_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec_ref(v_args_3814_); +return v___x_3823_; } else { -lean_dec_ref(v___x_3587_); -lean_dec_ref(v_args_3580_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -return v___x_3588_; +lean_dec_ref(v___x_3821_); +lean_dec_ref(v_args_3814_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +return v___x_3822_; } } } } else { -lean_dec_ref(v_args_3580_); -lean_dec(v_fvarId_3579_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3582_; +lean_dec_ref(v_args_3814_); +lean_dec(v_fvarId_3813_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3816_; } } case 10: { -lean_object* v_args_3593_; lean_object* v___x_3594_; lean_object* v___x_3595_; -v_args_3593_ = lean_ctor_get(v_v_3501_, 1); -lean_inc_ref(v_args_3593_); -lean_dec_ref(v_v_3501_); -lean_inc(v_z_3500_); -v___x_3594_ = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(v___x_3594_, 0, v_z_3500_); -lean_inc(v_a_3507_); -lean_inc_ref(v_a_3506_); -lean_inc(v_a_3505_); -lean_inc_ref(v_a_3504_); -lean_inc(v_z_3500_); -v___x_3595_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3500_, v___x_3594_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -if (lean_obj_tag(v___x_3595_) == 0) +lean_object* v_args_3827_; lean_object* v___x_3828_; lean_object* v___x_3829_; +v_args_3827_ = lean_ctor_get(v_v_3735_, 1); +lean_inc_ref(v_args_3827_); +lean_dec_ref(v_v_3735_); +lean_inc(v_z_3734_); +v___x_3828_ = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(v___x_3828_, 0, v_z_3734_); +lean_inc(v_a_3741_); +lean_inc_ref(v_a_3740_); +lean_inc(v_a_3739_); +lean_inc_ref(v_a_3738_); +lean_inc(v_z_3734_); +v___x_3829_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar(v_z_3734_, v___x_3828_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +if (lean_obj_tag(v___x_3829_) == 0) { -lean_object* v___x_3597_; uint8_t v_isShared_3598_; uint8_t v_isSharedCheck_3603_; -v_isSharedCheck_3603_ = !lean_is_exclusive(v___x_3595_); -if (v_isSharedCheck_3603_ == 0) +lean_object* v___x_3831_; uint8_t v_isShared_3832_; uint8_t v_isSharedCheck_3837_; +v_isSharedCheck_3837_ = !lean_is_exclusive(v___x_3829_); +if (v_isSharedCheck_3837_ == 0) { -lean_object* v_unused_3604_; -v_unused_3604_ = lean_ctor_get(v___x_3595_, 0); -lean_dec(v_unused_3604_); -v___x_3597_ = v___x_3595_; -v_isShared_3598_ = v_isSharedCheck_3603_; -goto v_resetjp_3596_; +lean_object* v_unused_3838_; +v_unused_3838_ = lean_ctor_get(v___x_3829_, 0); +lean_dec(v_unused_3838_); +v___x_3831_ = v___x_3829_; +v_isShared_3832_ = v_isSharedCheck_3837_; +goto v_resetjp_3830_; } else { -lean_dec(v___x_3595_); -v___x_3597_ = lean_box(0); -v_isShared_3598_ = v_isSharedCheck_3603_; -goto v_resetjp_3596_; +lean_dec(v___x_3829_); +v___x_3831_ = lean_box(0); +v_isShared_3832_ = v_isSharedCheck_3837_; +goto v_resetjp_3830_; } -v_resetjp_3596_: +v_resetjp_3830_: { -lean_object* v___x_3600_; -if (v_isShared_3598_ == 0) +lean_object* v___x_3834_; +if (v_isShared_3832_ == 0) { -lean_ctor_set_tag(v___x_3597_, 7); -lean_ctor_set(v___x_3597_, 0, v_z_3500_); -v___x_3600_ = v___x_3597_; -goto v_reusejp_3599_; +lean_ctor_set_tag(v___x_3831_, 8); +lean_ctor_set(v___x_3831_, 0, v_z_3734_); +v___x_3834_ = v___x_3831_; +goto v_reusejp_3833_; } else { -lean_object* v_reuseFailAlloc_3602_; -v_reuseFailAlloc_3602_ = lean_alloc_ctor(7, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3602_, 0, v_z_3500_); -v___x_3600_ = v_reuseFailAlloc_3602_; -goto v_reusejp_3599_; +lean_object* v_reuseFailAlloc_3836_; +v_reuseFailAlloc_3836_ = lean_alloc_ctor(8, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3836_, 0, v_z_3734_); +v___x_3834_ = v_reuseFailAlloc_3836_; +goto v_reusejp_3833_; } -v_reusejp_3599_: +v_reusejp_3833_: { -lean_object* v___x_3601_; -v___x_3601_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v___x_3600_, v_args_3593_, v_a_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec_ref(v_args_3593_); -return v___x_3601_; +lean_object* v___x_3835_; +v___x_3835_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgs(v___x_3834_, v_args_3827_, v_a_3736_, v_a_3737_, v_a_3738_, v_a_3739_, v_a_3740_, v_a_3741_); +lean_dec_ref(v_args_3827_); +return v___x_3835_; } } } else { -lean_dec_ref(v_args_3593_); -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_z_3500_); -return v___x_3595_; +lean_dec_ref(v_args_3827_); +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_z_3734_); +return v___x_3829_; } } default: { -lean_object* v___x_3605_; lean_object* v___x_3606_; -lean_dec(v_a_3507_); -lean_dec_ref(v_a_3506_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -lean_dec_ref(v_a_3502_); -lean_dec(v_v_3501_); -lean_dec(v_z_3500_); -v___x_3605_ = lean_box(0); -v___x_3606_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3606_, 0, v___x_3605_); -return v___x_3606_; +lean_object* v___x_3839_; lean_object* v___x_3840_; +lean_dec(v_a_3741_); +lean_dec_ref(v_a_3740_); +lean_dec(v_a_3739_); +lean_dec_ref(v_a_3738_); +lean_dec(v_a_3737_); +lean_dec_ref(v_a_3736_); +lean_dec(v_v_3735_); +lean_dec(v_z_3734_); +v___x_3839_ = lean_box(0); +v___x_3840_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3840_, 0, v___x_3839_); +return v___x_3840_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue___boxed(lean_object* v_z_3607_, lean_object* v_v_3608_, lean_object* v_a_3609_, lean_object* v_a_3610_, lean_object* v_a_3611_, lean_object* v_a_3612_, lean_object* v_a_3613_, lean_object* v_a_3614_, lean_object* v_a_3615_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue___boxed(lean_object* v_z_3841_, lean_object* v_v_3842_, lean_object* v_a_3843_, lean_object* v_a_3844_, lean_object* v_a_3845_, lean_object* v_a_3846_, lean_object* v_a_3847_, lean_object* v_a_3848_, lean_object* v_a_3849_){ _start: { -lean_object* v_res_3616_; -v_res_3616_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(v_z_3607_, v_v_3608_, v_a_3609_, v_a_3610_, v_a_3611_, v_a_3612_, v_a_3613_, v_a_3614_); -return v_res_3616_; +lean_object* v_res_3850_; +v_res_3850_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(v_z_3841_, v_v_3842_, v_a_3843_, v_a_3844_, v_a_3845_, v_a_3846_, v_a_3847_, v_a_3848_); +return v_res_3850_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(lean_object* v_alt_3617_, lean_object* v_f_3618_, lean_object* v___y_3619_, lean_object* v___y_3620_, lean_object* v___y_3621_, lean_object* v___y_3622_, lean_object* v___y_3623_, lean_object* v___y_3624_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(lean_object* v_alt_3851_, lean_object* v_f_3852_, lean_object* v___y_3853_, lean_object* v___y_3854_, lean_object* v___y_3855_, lean_object* v___y_3856_, lean_object* v___y_3857_, lean_object* v___y_3858_){ _start: { -switch(lean_obj_tag(v_alt_3617_)) +switch(lean_obj_tag(v_alt_3851_)) { case 0: { -lean_object* v_code_3626_; lean_object* v___x_3627_; -v_code_3626_ = lean_ctor_get(v_alt_3617_, 2); -lean_inc_ref(v_code_3626_); -lean_dec_ref(v_alt_3617_); -v___x_3627_ = lean_apply_8(v_f_3618_, v_code_3626_, v___y_3619_, v___y_3620_, v___y_3621_, v___y_3622_, v___y_3623_, v___y_3624_, lean_box(0)); -return v___x_3627_; +lean_object* v_code_3860_; lean_object* v___x_3861_; +v_code_3860_ = lean_ctor_get(v_alt_3851_, 2); +lean_inc_ref(v_code_3860_); +lean_dec_ref(v_alt_3851_); +v___x_3861_ = lean_apply_8(v_f_3852_, v_code_3860_, v___y_3853_, v___y_3854_, v___y_3855_, v___y_3856_, v___y_3857_, v___y_3858_, lean_box(0)); +return v___x_3861_; } case 1: { -lean_object* v_code_3628_; lean_object* v___x_3629_; -v_code_3628_ = lean_ctor_get(v_alt_3617_, 1); -lean_inc_ref(v_code_3628_); -lean_dec_ref(v_alt_3617_); -v___x_3629_ = lean_apply_8(v_f_3618_, v_code_3628_, v___y_3619_, v___y_3620_, v___y_3621_, v___y_3622_, v___y_3623_, v___y_3624_, lean_box(0)); -return v___x_3629_; +lean_object* v_code_3862_; lean_object* v___x_3863_; +v_code_3862_ = lean_ctor_get(v_alt_3851_, 1); +lean_inc_ref(v_code_3862_); +lean_dec_ref(v_alt_3851_); +v___x_3863_ = lean_apply_8(v_f_3852_, v_code_3862_, v___y_3853_, v___y_3854_, v___y_3855_, v___y_3856_, v___y_3857_, v___y_3858_, lean_box(0)); +return v___x_3863_; } default: { -lean_object* v_code_3630_; lean_object* v___x_3631_; -v_code_3630_ = lean_ctor_get(v_alt_3617_, 0); -lean_inc_ref(v_code_3630_); -lean_dec_ref(v_alt_3617_); -v___x_3631_ = lean_apply_8(v_f_3618_, v_code_3630_, v___y_3619_, v___y_3620_, v___y_3621_, v___y_3622_, v___y_3623_, v___y_3624_, lean_box(0)); -return v___x_3631_; +lean_object* v_code_3864_; lean_object* v___x_3865_; +v_code_3864_ = lean_ctor_get(v_alt_3851_, 0); +lean_inc_ref(v_code_3864_); +lean_dec_ref(v_alt_3851_); +v___x_3865_ = lean_apply_8(v_f_3852_, v_code_3864_, v___y_3853_, v___y_3854_, v___y_3855_, v___y_3856_, v___y_3857_, v___y_3858_, lean_box(0)); +return v___x_3865_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg___boxed(lean_object* v_alt_3632_, lean_object* v_f_3633_, lean_object* v___y_3634_, lean_object* v___y_3635_, lean_object* v___y_3636_, lean_object* v___y_3637_, lean_object* v___y_3638_, lean_object* v___y_3639_, lean_object* v___y_3640_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg___boxed(lean_object* v_alt_3866_, lean_object* v_f_3867_, lean_object* v___y_3868_, lean_object* v___y_3869_, lean_object* v___y_3870_, lean_object* v___y_3871_, lean_object* v___y_3872_, lean_object* v___y_3873_, lean_object* v___y_3874_){ _start: { -lean_object* v_res_3641_; -v_res_3641_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v_alt_3632_, v_f_3633_, v___y_3634_, v___y_3635_, v___y_3636_, v___y_3637_, v___y_3638_, v___y_3639_); -return v_res_3641_; +lean_object* v_res_3875_; +v_res_3875_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v_alt_3866_, v_f_3867_, v___y_3868_, v___y_3869_, v___y_3870_, v___y_3871_, v___y_3872_, v___y_3873_); +return v_res_3875_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0(uint8_t v_pu_3642_, lean_object* v_alt_3643_, lean_object* v_f_3644_, lean_object* v___y_3645_, lean_object* v___y_3646_, lean_object* v___y_3647_, lean_object* v___y_3648_, lean_object* v___y_3649_, lean_object* v___y_3650_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0(uint8_t v_pu_3876_, lean_object* v_alt_3877_, lean_object* v_f_3878_, lean_object* v___y_3879_, lean_object* v___y_3880_, lean_object* v___y_3881_, lean_object* v___y_3882_, lean_object* v___y_3883_, lean_object* v___y_3884_){ _start: { -lean_object* v___x_3652_; -v___x_3652_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v_alt_3643_, v_f_3644_, v___y_3645_, v___y_3646_, v___y_3647_, v___y_3648_, v___y_3649_, v___y_3650_); -return v___x_3652_; +lean_object* v___x_3886_; +v___x_3886_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v_alt_3877_, v_f_3878_, v___y_3879_, v___y_3880_, v___y_3881_, v___y_3882_, v___y_3883_, v___y_3884_); +return v___x_3886_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___boxed(lean_object* v_pu_3653_, lean_object* v_alt_3654_, lean_object* v_f_3655_, lean_object* v___y_3656_, lean_object* v___y_3657_, lean_object* v___y_3658_, lean_object* v___y_3659_, lean_object* v___y_3660_, lean_object* v___y_3661_, lean_object* v___y_3662_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___boxed(lean_object* v_pu_3887_, lean_object* v_alt_3888_, lean_object* v_f_3889_, lean_object* v___y_3890_, lean_object* v___y_3891_, lean_object* v___y_3892_, lean_object* v___y_3893_, lean_object* v___y_3894_, lean_object* v___y_3895_, lean_object* v___y_3896_){ _start: { -uint8_t v_pu_boxed_3663_; lean_object* v_res_3664_; -v_pu_boxed_3663_ = lean_unbox(v_pu_3653_); -v_res_3664_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0(v_pu_boxed_3663_, v_alt_3654_, v_f_3655_, v___y_3656_, v___y_3657_, v___y_3658_, v___y_3659_, v___y_3660_, v___y_3661_); -return v_res_3664_; +uint8_t v_pu_boxed_3897_; lean_object* v_res_3898_; +v_pu_boxed_3897_ = lean_unbox(v_pu_3887_); +v_res_3898_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0(v_pu_boxed_3897_, v_alt_3888_, v_f_3889_, v___y_3890_, v___y_3891_, v___y_3892_, v___y_3893_, v___y_3894_, v___y_3895_); +return v_res_3898_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(lean_object* v_msg_3665_, lean_object* v___y_3666_, lean_object* v___y_3667_, lean_object* v___y_3668_, lean_object* v___y_3669_, lean_object* v___y_3670_, lean_object* v___y_3671_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(lean_object* v_msg_3899_, lean_object* v___y_3900_, lean_object* v___y_3901_, lean_object* v___y_3902_, lean_object* v___y_3903_, lean_object* v___y_3904_, lean_object* v___y_3905_){ _start: { -lean_object* v___x_3673_; lean_object* v___x_3674_; lean_object* v_toApplicative_3675_; lean_object* v___x_3677_; uint8_t v_isShared_3678_; uint8_t v_isSharedCheck_3738_; -v___x_3673_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__0); -v___x_3674_ = l_ReaderT_instMonad___redArg(v___x_3673_); -v_toApplicative_3675_ = lean_ctor_get(v___x_3674_, 0); -v_isSharedCheck_3738_ = !lean_is_exclusive(v___x_3674_); -if (v_isSharedCheck_3738_ == 0) +lean_object* v___x_3907_; lean_object* v___x_3908_; lean_object* v_toApplicative_3909_; lean_object* v___x_3911_; uint8_t v_isShared_3912_; uint8_t v_isSharedCheck_3972_; +v___x_3907_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__0); +v___x_3908_ = l_ReaderT_instMonad___redArg(v___x_3907_); +v_toApplicative_3909_ = lean_ctor_get(v___x_3908_, 0); +v_isSharedCheck_3972_ = !lean_is_exclusive(v___x_3908_); +if (v_isSharedCheck_3972_ == 0) { -lean_object* v_unused_3739_; -v_unused_3739_ = lean_ctor_get(v___x_3674_, 1); -lean_dec(v_unused_3739_); -v___x_3677_ = v___x_3674_; -v_isShared_3678_ = v_isSharedCheck_3738_; -goto v_resetjp_3676_; +lean_object* v_unused_3973_; +v_unused_3973_ = lean_ctor_get(v___x_3908_, 1); +lean_dec(v_unused_3973_); +v___x_3911_ = v___x_3908_; +v_isShared_3912_ = v_isSharedCheck_3972_; +goto v_resetjp_3910_; } else { -lean_inc(v_toApplicative_3675_); -lean_dec(v___x_3674_); -v___x_3677_ = lean_box(0); -v_isShared_3678_ = v_isSharedCheck_3738_; -goto v_resetjp_3676_; +lean_inc(v_toApplicative_3909_); +lean_dec(v___x_3908_); +v___x_3911_ = lean_box(0); +v_isShared_3912_ = v_isSharedCheck_3972_; +goto v_resetjp_3910_; } -v_resetjp_3676_: +v_resetjp_3910_: { -lean_object* v_toFunctor_3679_; lean_object* v_toSeq_3680_; lean_object* v_toSeqLeft_3681_; lean_object* v_toSeqRight_3682_; lean_object* v___x_3684_; uint8_t v_isShared_3685_; uint8_t v_isSharedCheck_3736_; -v_toFunctor_3679_ = lean_ctor_get(v_toApplicative_3675_, 0); -v_toSeq_3680_ = lean_ctor_get(v_toApplicative_3675_, 2); -v_toSeqLeft_3681_ = lean_ctor_get(v_toApplicative_3675_, 3); -v_toSeqRight_3682_ = lean_ctor_get(v_toApplicative_3675_, 4); -v_isSharedCheck_3736_ = !lean_is_exclusive(v_toApplicative_3675_); -if (v_isSharedCheck_3736_ == 0) +lean_object* v_toFunctor_3913_; lean_object* v_toSeq_3914_; lean_object* v_toSeqLeft_3915_; lean_object* v_toSeqRight_3916_; lean_object* v___x_3918_; uint8_t v_isShared_3919_; uint8_t v_isSharedCheck_3970_; +v_toFunctor_3913_ = lean_ctor_get(v_toApplicative_3909_, 0); +v_toSeq_3914_ = lean_ctor_get(v_toApplicative_3909_, 2); +v_toSeqLeft_3915_ = lean_ctor_get(v_toApplicative_3909_, 3); +v_toSeqRight_3916_ = lean_ctor_get(v_toApplicative_3909_, 4); +v_isSharedCheck_3970_ = !lean_is_exclusive(v_toApplicative_3909_); +if (v_isSharedCheck_3970_ == 0) { -lean_object* v_unused_3737_; -v_unused_3737_ = lean_ctor_get(v_toApplicative_3675_, 1); -lean_dec(v_unused_3737_); -v___x_3684_ = v_toApplicative_3675_; -v_isShared_3685_ = v_isSharedCheck_3736_; -goto v_resetjp_3683_; +lean_object* v_unused_3971_; +v_unused_3971_ = lean_ctor_get(v_toApplicative_3909_, 1); +lean_dec(v_unused_3971_); +v___x_3918_ = v_toApplicative_3909_; +v_isShared_3919_ = v_isSharedCheck_3970_; +goto v_resetjp_3917_; } else { -lean_inc(v_toSeqRight_3682_); -lean_inc(v_toSeqLeft_3681_); -lean_inc(v_toSeq_3680_); -lean_inc(v_toFunctor_3679_); -lean_dec(v_toApplicative_3675_); -v___x_3684_ = lean_box(0); -v_isShared_3685_ = v_isSharedCheck_3736_; -goto v_resetjp_3683_; +lean_inc(v_toSeqRight_3916_); +lean_inc(v_toSeqLeft_3915_); +lean_inc(v_toSeq_3914_); +lean_inc(v_toFunctor_3913_); +lean_dec(v_toApplicative_3909_); +v___x_3918_ = lean_box(0); +v_isShared_3919_ = v_isSharedCheck_3970_; +goto v_resetjp_3917_; } -v_resetjp_3683_: +v_resetjp_3917_: { -lean_object* v___f_3686_; lean_object* v___f_3687_; lean_object* v___f_3688_; lean_object* v___f_3689_; lean_object* v___x_3690_; lean_object* v___f_3691_; lean_object* v___f_3692_; lean_object* v___f_3693_; lean_object* v___x_3695_; -v___f_3686_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__1)); -v___f_3687_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__2)); -lean_inc_ref(v_toFunctor_3679_); -v___f_3688_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_3688_, 0, v_toFunctor_3679_); -v___f_3689_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3689_, 0, v_toFunctor_3679_); -v___x_3690_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3690_, 0, v___f_3688_); -lean_ctor_set(v___x_3690_, 1, v___f_3689_); -v___f_3691_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3691_, 0, v_toSeqRight_3682_); -v___f_3692_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_3692_, 0, v_toSeqLeft_3681_); -v___f_3693_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_3693_, 0, v_toSeq_3680_); -if (v_isShared_3685_ == 0) +lean_object* v___f_3920_; lean_object* v___f_3921_; lean_object* v___f_3922_; lean_object* v___f_3923_; lean_object* v___x_3924_; lean_object* v___f_3925_; lean_object* v___f_3926_; lean_object* v___f_3927_; lean_object* v___x_3929_; +v___f_3920_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__1)); +v___f_3921_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__2)); +lean_inc_ref(v_toFunctor_3913_); +v___f_3922_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3922_, 0, v_toFunctor_3913_); +v___f_3923_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3923_, 0, v_toFunctor_3913_); +v___x_3924_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3924_, 0, v___f_3922_); +lean_ctor_set(v___x_3924_, 1, v___f_3923_); +v___f_3925_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3925_, 0, v_toSeqRight_3916_); +v___f_3926_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3926_, 0, v_toSeqLeft_3915_); +v___f_3927_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3927_, 0, v_toSeq_3914_); +if (v_isShared_3919_ == 0) { -lean_ctor_set(v___x_3684_, 4, v___f_3691_); -lean_ctor_set(v___x_3684_, 3, v___f_3692_); -lean_ctor_set(v___x_3684_, 2, v___f_3693_); -lean_ctor_set(v___x_3684_, 1, v___f_3686_); -lean_ctor_set(v___x_3684_, 0, v___x_3690_); -v___x_3695_ = v___x_3684_; -goto v_reusejp_3694_; +lean_ctor_set(v___x_3918_, 4, v___f_3925_); +lean_ctor_set(v___x_3918_, 3, v___f_3926_); +lean_ctor_set(v___x_3918_, 2, v___f_3927_); +lean_ctor_set(v___x_3918_, 1, v___f_3920_); +lean_ctor_set(v___x_3918_, 0, v___x_3924_); +v___x_3929_ = v___x_3918_; +goto v_reusejp_3928_; } else { -lean_object* v_reuseFailAlloc_3735_; -v_reuseFailAlloc_3735_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3735_, 0, v___x_3690_); -lean_ctor_set(v_reuseFailAlloc_3735_, 1, v___f_3686_); -lean_ctor_set(v_reuseFailAlloc_3735_, 2, v___f_3693_); -lean_ctor_set(v_reuseFailAlloc_3735_, 3, v___f_3692_); -lean_ctor_set(v_reuseFailAlloc_3735_, 4, v___f_3691_); -v___x_3695_ = v_reuseFailAlloc_3735_; -goto v_reusejp_3694_; +lean_object* v_reuseFailAlloc_3969_; +v_reuseFailAlloc_3969_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3969_, 0, v___x_3924_); +lean_ctor_set(v_reuseFailAlloc_3969_, 1, v___f_3920_); +lean_ctor_set(v_reuseFailAlloc_3969_, 2, v___f_3927_); +lean_ctor_set(v_reuseFailAlloc_3969_, 3, v___f_3926_); +lean_ctor_set(v_reuseFailAlloc_3969_, 4, v___f_3925_); +v___x_3929_ = v_reuseFailAlloc_3969_; +goto v_reusejp_3928_; } -v_reusejp_3694_: +v_reusejp_3928_: { -lean_object* v___x_3697_; -if (v_isShared_3678_ == 0) +lean_object* v___x_3931_; +if (v_isShared_3912_ == 0) { -lean_ctor_set(v___x_3677_, 1, v___f_3687_); -lean_ctor_set(v___x_3677_, 0, v___x_3695_); -v___x_3697_ = v___x_3677_; -goto v_reusejp_3696_; +lean_ctor_set(v___x_3911_, 1, v___f_3921_); +lean_ctor_set(v___x_3911_, 0, v___x_3929_); +v___x_3931_ = v___x_3911_; +goto v_reusejp_3930_; } else { -lean_object* v_reuseFailAlloc_3734_; -v_reuseFailAlloc_3734_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3734_, 0, v___x_3695_); -lean_ctor_set(v_reuseFailAlloc_3734_, 1, v___f_3687_); -v___x_3697_ = v_reuseFailAlloc_3734_; -goto v_reusejp_3696_; +lean_object* v_reuseFailAlloc_3968_; +v_reuseFailAlloc_3968_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3968_, 0, v___x_3929_); +lean_ctor_set(v_reuseFailAlloc_3968_, 1, v___f_3921_); +v___x_3931_ = v_reuseFailAlloc_3968_; +goto v_reusejp_3930_; } -v_reusejp_3696_: +v_reusejp_3930_: { -lean_object* v___x_3698_; lean_object* v_toApplicative_3699_; lean_object* v___x_3701_; uint8_t v_isShared_3702_; uint8_t v_isSharedCheck_3732_; -v___x_3698_ = l_ReaderT_instMonad___redArg(v___x_3697_); -v_toApplicative_3699_ = lean_ctor_get(v___x_3698_, 0); -v_isSharedCheck_3732_ = !lean_is_exclusive(v___x_3698_); -if (v_isSharedCheck_3732_ == 0) +lean_object* v___x_3932_; lean_object* v_toApplicative_3933_; lean_object* v___x_3935_; uint8_t v_isShared_3936_; uint8_t v_isSharedCheck_3966_; +v___x_3932_ = l_ReaderT_instMonad___redArg(v___x_3931_); +v_toApplicative_3933_ = lean_ctor_get(v___x_3932_, 0); +v_isSharedCheck_3966_ = !lean_is_exclusive(v___x_3932_); +if (v_isSharedCheck_3966_ == 0) { -lean_object* v_unused_3733_; -v_unused_3733_ = lean_ctor_get(v___x_3698_, 1); -lean_dec(v_unused_3733_); -v___x_3701_ = v___x_3698_; -v_isShared_3702_ = v_isSharedCheck_3732_; -goto v_resetjp_3700_; +lean_object* v_unused_3967_; +v_unused_3967_ = lean_ctor_get(v___x_3932_, 1); +lean_dec(v_unused_3967_); +v___x_3935_ = v___x_3932_; +v_isShared_3936_ = v_isSharedCheck_3966_; +goto v_resetjp_3934_; } else { -lean_inc(v_toApplicative_3699_); -lean_dec(v___x_3698_); -v___x_3701_ = lean_box(0); -v_isShared_3702_ = v_isSharedCheck_3732_; -goto v_resetjp_3700_; +lean_inc(v_toApplicative_3933_); +lean_dec(v___x_3932_); +v___x_3935_ = lean_box(0); +v_isShared_3936_ = v_isSharedCheck_3966_; +goto v_resetjp_3934_; } -v_resetjp_3700_: +v_resetjp_3934_: { -lean_object* v_toFunctor_3703_; lean_object* v_toSeq_3704_; lean_object* v_toSeqLeft_3705_; lean_object* v_toSeqRight_3706_; lean_object* v___x_3708_; uint8_t v_isShared_3709_; uint8_t v_isSharedCheck_3730_; -v_toFunctor_3703_ = lean_ctor_get(v_toApplicative_3699_, 0); -v_toSeq_3704_ = lean_ctor_get(v_toApplicative_3699_, 2); -v_toSeqLeft_3705_ = lean_ctor_get(v_toApplicative_3699_, 3); -v_toSeqRight_3706_ = lean_ctor_get(v_toApplicative_3699_, 4); -v_isSharedCheck_3730_ = !lean_is_exclusive(v_toApplicative_3699_); -if (v_isSharedCheck_3730_ == 0) +lean_object* v_toFunctor_3937_; lean_object* v_toSeq_3938_; lean_object* v_toSeqLeft_3939_; lean_object* v_toSeqRight_3940_; lean_object* v___x_3942_; uint8_t v_isShared_3943_; uint8_t v_isSharedCheck_3964_; +v_toFunctor_3937_ = lean_ctor_get(v_toApplicative_3933_, 0); +v_toSeq_3938_ = lean_ctor_get(v_toApplicative_3933_, 2); +v_toSeqLeft_3939_ = lean_ctor_get(v_toApplicative_3933_, 3); +v_toSeqRight_3940_ = lean_ctor_get(v_toApplicative_3933_, 4); +v_isSharedCheck_3964_ = !lean_is_exclusive(v_toApplicative_3933_); +if (v_isSharedCheck_3964_ == 0) { -lean_object* v_unused_3731_; -v_unused_3731_ = lean_ctor_get(v_toApplicative_3699_, 1); -lean_dec(v_unused_3731_); -v___x_3708_ = v_toApplicative_3699_; -v_isShared_3709_ = v_isSharedCheck_3730_; -goto v_resetjp_3707_; +lean_object* v_unused_3965_; +v_unused_3965_ = lean_ctor_get(v_toApplicative_3933_, 1); +lean_dec(v_unused_3965_); +v___x_3942_ = v_toApplicative_3933_; +v_isShared_3943_ = v_isSharedCheck_3964_; +goto v_resetjp_3941_; } else { -lean_inc(v_toSeqRight_3706_); -lean_inc(v_toSeqLeft_3705_); -lean_inc(v_toSeq_3704_); -lean_inc(v_toFunctor_3703_); -lean_dec(v_toApplicative_3699_); -v___x_3708_ = lean_box(0); -v_isShared_3709_ = v_isSharedCheck_3730_; -goto v_resetjp_3707_; +lean_inc(v_toSeqRight_3940_); +lean_inc(v_toSeqLeft_3939_); +lean_inc(v_toSeq_3938_); +lean_inc(v_toFunctor_3937_); +lean_dec(v_toApplicative_3933_); +v___x_3942_ = lean_box(0); +v_isShared_3943_ = v_isSharedCheck_3964_; +goto v_resetjp_3941_; } -v_resetjp_3707_: +v_resetjp_3941_: { -lean_object* v___f_3710_; lean_object* v___f_3711_; lean_object* v___f_3712_; lean_object* v___f_3713_; lean_object* v___x_3714_; lean_object* v___f_3715_; lean_object* v___f_3716_; lean_object* v___f_3717_; lean_object* v___x_3719_; -v___f_3710_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__3)); -v___f_3711_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__3___closed__4)); -lean_inc_ref(v_toFunctor_3703_); -v___f_3712_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_3712_, 0, v_toFunctor_3703_); -v___f_3713_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3713_, 0, v_toFunctor_3703_); -v___x_3714_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3714_, 0, v___f_3712_); -lean_ctor_set(v___x_3714_, 1, v___f_3713_); -v___f_3715_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_3715_, 0, v_toSeqRight_3706_); -v___f_3716_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_3716_, 0, v_toSeqLeft_3705_); -v___f_3717_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_3717_, 0, v_toSeq_3704_); -if (v_isShared_3709_ == 0) +lean_object* v___f_3944_; lean_object* v___f_3945_; lean_object* v___f_3946_; lean_object* v___f_3947_; lean_object* v___x_3948_; lean_object* v___f_3949_; lean_object* v___f_3950_; lean_object* v___f_3951_; lean_object* v___x_3953_; +v___f_3944_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__3)); +v___f_3945_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode_spec__5___closed__4)); +lean_inc_ref(v_toFunctor_3937_); +v___f_3946_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_3946_, 0, v_toFunctor_3937_); +v___f_3947_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3947_, 0, v_toFunctor_3937_); +v___x_3948_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3948_, 0, v___f_3946_); +lean_ctor_set(v___x_3948_, 1, v___f_3947_); +v___f_3949_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_3949_, 0, v_toSeqRight_3940_); +v___f_3950_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_3950_, 0, v_toSeqLeft_3939_); +v___f_3951_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_3951_, 0, v_toSeq_3938_); +if (v_isShared_3943_ == 0) { -lean_ctor_set(v___x_3708_, 4, v___f_3715_); -lean_ctor_set(v___x_3708_, 3, v___f_3716_); -lean_ctor_set(v___x_3708_, 2, v___f_3717_); -lean_ctor_set(v___x_3708_, 1, v___f_3710_); -lean_ctor_set(v___x_3708_, 0, v___x_3714_); -v___x_3719_ = v___x_3708_; -goto v_reusejp_3718_; +lean_ctor_set(v___x_3942_, 4, v___f_3949_); +lean_ctor_set(v___x_3942_, 3, v___f_3950_); +lean_ctor_set(v___x_3942_, 2, v___f_3951_); +lean_ctor_set(v___x_3942_, 1, v___f_3944_); +lean_ctor_set(v___x_3942_, 0, v___x_3948_); +v___x_3953_ = v___x_3942_; +goto v_reusejp_3952_; } else { -lean_object* v_reuseFailAlloc_3729_; -v_reuseFailAlloc_3729_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3729_, 0, v___x_3714_); -lean_ctor_set(v_reuseFailAlloc_3729_, 1, v___f_3710_); -lean_ctor_set(v_reuseFailAlloc_3729_, 2, v___f_3717_); -lean_ctor_set(v_reuseFailAlloc_3729_, 3, v___f_3716_); -lean_ctor_set(v_reuseFailAlloc_3729_, 4, v___f_3715_); -v___x_3719_ = v_reuseFailAlloc_3729_; -goto v_reusejp_3718_; +lean_object* v_reuseFailAlloc_3963_; +v_reuseFailAlloc_3963_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3963_, 0, v___x_3948_); +lean_ctor_set(v_reuseFailAlloc_3963_, 1, v___f_3944_); +lean_ctor_set(v_reuseFailAlloc_3963_, 2, v___f_3951_); +lean_ctor_set(v_reuseFailAlloc_3963_, 3, v___f_3950_); +lean_ctor_set(v_reuseFailAlloc_3963_, 4, v___f_3949_); +v___x_3953_ = v_reuseFailAlloc_3963_; +goto v_reusejp_3952_; } -v_reusejp_3718_: +v_reusejp_3952_: { -lean_object* v___x_3721_; -if (v_isShared_3702_ == 0) +lean_object* v___x_3955_; +if (v_isShared_3936_ == 0) { -lean_ctor_set(v___x_3701_, 1, v___f_3711_); -lean_ctor_set(v___x_3701_, 0, v___x_3719_); -v___x_3721_ = v___x_3701_; -goto v_reusejp_3720_; +lean_ctor_set(v___x_3935_, 1, v___f_3945_); +lean_ctor_set(v___x_3935_, 0, v___x_3953_); +v___x_3955_ = v___x_3935_; +goto v_reusejp_3954_; } else { -lean_object* v_reuseFailAlloc_3728_; -v_reuseFailAlloc_3728_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3728_, 0, v___x_3719_); -lean_ctor_set(v_reuseFailAlloc_3728_, 1, v___f_3711_); -v___x_3721_ = v_reuseFailAlloc_3728_; -goto v_reusejp_3720_; +lean_object* v_reuseFailAlloc_3962_; +v_reuseFailAlloc_3962_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3962_, 0, v___x_3953_); +lean_ctor_set(v_reuseFailAlloc_3962_, 1, v___f_3945_); +v___x_3955_ = v_reuseFailAlloc_3962_; +goto v_reusejp_3954_; } -v_reusejp_3720_: +v_reusejp_3954_: { -lean_object* v___x_3722_; lean_object* v___x_3723_; lean_object* v___x_3724_; lean_object* v___f_3725_; lean_object* v___x_4789__overap_3726_; lean_object* v___x_3727_; -v___x_3722_ = l_ReaderT_instMonad___redArg(v___x_3721_); -v___x_3723_ = lean_box(0); -v___x_3724_ = l_instInhabitedOfMonad___redArg(v___x_3722_, v___x_3723_); -v___f_3725_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); -lean_closure_set(v___f_3725_, 0, v___x_3724_); -v___x_4789__overap_3726_ = lean_panic_fn(v___f_3725_, v_msg_3665_); -v___x_3727_ = lean_apply_7(v___x_4789__overap_3726_, v___y_3666_, v___y_3667_, v___y_3668_, v___y_3669_, v___y_3670_, v___y_3671_, lean_box(0)); -return v___x_3727_; +lean_object* v___x_3956_; lean_object* v___x_3957_; lean_object* v___x_3958_; lean_object* v___f_3959_; lean_object* v___x_4789__overap_3960_; lean_object* v___x_3961_; +v___x_3956_ = l_ReaderT_instMonad___redArg(v___x_3955_); +v___x_3957_ = lean_box(0); +v___x_3958_ = l_instInhabitedOfMonad___redArg(v___x_3956_, v___x_3957_); +v___f_3959_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); +lean_closure_set(v___f_3959_, 0, v___x_3958_); +v___x_4789__overap_3960_ = lean_panic_fn(v___f_3959_, v_msg_3899_); +v___x_3961_ = lean_apply_7(v___x_4789__overap_3960_, v___y_3900_, v___y_3901_, v___y_3902_, v___y_3903_, v___y_3904_, v___y_3905_, lean_box(0)); +return v___x_3961_; } } } @@ -11718,477 +12741,477 @@ return v___x_3727_; } } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3___boxed(lean_object* v_msg_3740_, lean_object* v___y_3741_, lean_object* v___y_3742_, lean_object* v___y_3743_, lean_object* v___y_3744_, lean_object* v___y_3745_, lean_object* v___y_3746_, lean_object* v___y_3747_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3___boxed(lean_object* v_msg_3974_, lean_object* v___y_3975_, lean_object* v___y_3976_, lean_object* v___y_3977_, lean_object* v___y_3978_, lean_object* v___y_3979_, lean_object* v___y_3980_, lean_object* v___y_3981_){ _start: { -lean_object* v_res_3748_; -v_res_3748_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(v_msg_3740_, v___y_3741_, v___y_3742_, v___y_3743_, v___y_3744_, v___y_3745_, v___y_3746_); -return v_res_3748_; +lean_object* v_res_3982_; +v_res_3982_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(v_msg_3974_, v___y_3975_, v___y_3976_, v___y_3977_, v___y_3978_, v___y_3979_, v___y_3980_); +return v_res_3982_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(lean_object* v_as_3749_, size_t v_i_3750_, size_t v_stop_3751_, lean_object* v_b_3752_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(lean_object* v_as_3983_, size_t v_i_3984_, size_t v_stop_3985_, lean_object* v_b_3986_){ _start: { -uint8_t v___x_3753_; -v___x_3753_ = lean_usize_dec_eq(v_i_3750_, v_stop_3751_); -if (v___x_3753_ == 0) +uint8_t v___x_3987_; +v___x_3987_ = lean_usize_dec_eq(v_i_3984_, v_stop_3985_); +if (v___x_3987_ == 0) { -lean_object* v___x_3754_; lean_object* v_fvarId_3755_; lean_object* v___x_3756_; size_t v___x_3757_; size_t v___x_3758_; -v___x_3754_ = lean_array_uget_borrowed(v_as_3749_, v_i_3750_); -v_fvarId_3755_ = lean_ctor_get(v___x_3754_, 0); -lean_inc(v_fvarId_3755_); -v___x_3756_ = l_Lean_FVarIdSet_insert(v_b_3752_, v_fvarId_3755_); -v___x_3757_ = ((size_t)1ULL); -v___x_3758_ = lean_usize_add(v_i_3750_, v___x_3757_); -v_i_3750_ = v___x_3758_; -v_b_3752_ = v___x_3756_; +lean_object* v___x_3988_; lean_object* v_fvarId_3989_; lean_object* v___x_3990_; size_t v___x_3991_; size_t v___x_3992_; +v___x_3988_ = lean_array_uget_borrowed(v_as_3983_, v_i_3984_); +v_fvarId_3989_ = lean_ctor_get(v___x_3988_, 0); +lean_inc(v_fvarId_3989_); +v___x_3990_ = l_Lean_FVarIdSet_insert(v_b_3986_, v_fvarId_3989_); +v___x_3991_ = ((size_t)1ULL); +v___x_3992_ = lean_usize_add(v_i_3984_, v___x_3991_); +v_i_3984_ = v___x_3992_; +v_b_3986_ = v___x_3990_; goto _start; } else { -return v_b_3752_; +return v_b_3986_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1___boxed(lean_object* v_as_3760_, lean_object* v_i_3761_, lean_object* v_stop_3762_, lean_object* v_b_3763_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1___boxed(lean_object* v_as_3994_, lean_object* v_i_3995_, lean_object* v_stop_3996_, lean_object* v_b_3997_){ _start: { -size_t v_i_boxed_3764_; size_t v_stop_boxed_3765_; lean_object* v_res_3766_; -v_i_boxed_3764_ = lean_unbox_usize(v_i_3761_); -lean_dec(v_i_3761_); -v_stop_boxed_3765_ = lean_unbox_usize(v_stop_3762_); -lean_dec(v_stop_3762_); -v_res_3766_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_as_3760_, v_i_boxed_3764_, v_stop_boxed_3765_, v_b_3763_); -lean_dec_ref(v_as_3760_); -return v_res_3766_; +size_t v_i_boxed_3998_; size_t v_stop_boxed_3999_; lean_object* v_res_4000_; +v_i_boxed_3998_ = lean_unbox_usize(v_i_3995_); +lean_dec(v_i_3995_); +v_stop_boxed_3999_ = lean_unbox_usize(v_stop_3996_); +lean_dec(v_stop_3996_); +v_res_4000_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_as_3994_, v_i_boxed_3998_, v_stop_boxed_3999_, v_b_3997_); +lean_dec_ref(v_as_3994_); +return v_res_4000_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1(void){ _start: { -lean_object* v___x_3768_; lean_object* v___x_3769_; lean_object* v___x_3770_; lean_object* v___x_3771_; lean_object* v___x_3772_; lean_object* v___x_3773_; -v___x_3768_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); -v___x_3769_ = lean_unsigned_to_nat(61u); -v___x_3770_ = lean_unsigned_to_nat(350u); -v___x_3771_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__0)); -v___x_3772_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); -v___x_3773_ = l_mkPanicMessageWithDecl(v___x_3772_, v___x_3771_, v___x_3770_, v___x_3769_, v___x_3768_); -return v___x_3773_; +lean_object* v___x_4002_; lean_object* v___x_4003_; lean_object* v___x_4004_; lean_object* v___x_4005_; lean_object* v___x_4006_; lean_object* v___x_4007_; +v___x_4002_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__2)); +v___x_4003_ = lean_unsigned_to_nat(61u); +v___x_4004_ = lean_unsigned_to_nat(408u); +v___x_4005_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__0)); +v___x_4006_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap_goCode___closed__0)); +v___x_4007_ = l_mkPanicMessageWithDecl(v___x_4006_, v___x_4005_, v___x_4004_, v___x_4003_, v___x_4002_); +return v___x_4007_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(lean_object* v_code_3774_, lean_object* v_a_3775_, lean_object* v_a_3776_, lean_object* v_a_3777_, lean_object* v_a_3778_, lean_object* v_a_3779_, lean_object* v_a_3780_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(lean_object* v_code_4008_, lean_object* v_a_4009_, lean_object* v_a_4010_, lean_object* v_a_4011_, lean_object* v_a_4012_, lean_object* v_a_4013_, lean_object* v_a_4014_){ _start: { -switch(lean_obj_tag(v_code_3774_)) +switch(lean_obj_tag(v_code_4008_)) { case 0: { -lean_object* v_decl_3782_; lean_object* v_k_3783_; lean_object* v___x_3784_; -v_decl_3782_ = lean_ctor_get(v_code_3774_, 0); -lean_inc_ref(v_decl_3782_); -v_k_3783_ = lean_ctor_get(v_code_3774_, 1); -lean_inc_ref(v_k_3783_); -lean_dec_ref(v_code_3774_); -lean_inc(v_a_3780_); -lean_inc_ref(v_a_3779_); -lean_inc(v_a_3778_); -lean_inc_ref(v_a_3777_); -lean_inc(v_a_3776_); -lean_inc_ref(v_a_3775_); -lean_inc_ref(v_k_3783_); -v___x_3784_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_k_3783_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3784_) == 0) +lean_object* v_decl_4016_; lean_object* v_k_4017_; lean_object* v___x_4018_; +v_decl_4016_ = lean_ctor_get(v_code_4008_, 0); +lean_inc_ref(v_decl_4016_); +v_k_4017_ = lean_ctor_get(v_code_4008_, 1); +lean_inc_ref(v_k_4017_); +lean_dec_ref(v_code_4008_); +lean_inc(v_a_4014_); +lean_inc_ref(v_a_4013_); +lean_inc(v_a_4012_); +lean_inc_ref(v_a_4011_); +lean_inc(v_a_4010_); +lean_inc_ref(v_a_4009_); +lean_inc_ref(v_k_4017_); +v___x_4018_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_k_4017_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4018_) == 0) { -lean_object* v_fvarId_3785_; lean_object* v_value_3786_; lean_object* v___x_3787_; -lean_dec_ref(v___x_3784_); -v_fvarId_3785_ = lean_ctor_get(v_decl_3782_, 0); -lean_inc(v_fvarId_3785_); -v_value_3786_ = lean_ctor_get(v_decl_3782_, 3); -lean_inc(v_value_3786_); -lean_dec_ref(v_decl_3782_); -lean_inc(v_a_3780_); -lean_inc_ref(v_a_3779_); -lean_inc(v_a_3778_); -lean_inc_ref(v_a_3777_); -lean_inc(v_a_3776_); -lean_inc_ref(v_a_3775_); -lean_inc(v_value_3786_); -lean_inc(v_fvarId_3785_); -v___x_3787_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(v_fvarId_3785_, v_value_3786_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3787_) == 0) +lean_object* v_fvarId_4019_; lean_object* v_value_4020_; lean_object* v___x_4021_; +lean_dec_ref(v___x_4018_); +v_fvarId_4019_ = lean_ctor_get(v_decl_4016_, 0); +lean_inc(v_fvarId_4019_); +v_value_4020_ = lean_ctor_get(v_decl_4016_, 3); +lean_inc(v_value_4020_); +lean_dec_ref(v_decl_4016_); +lean_inc(v_a_4014_); +lean_inc_ref(v_a_4013_); +lean_inc(v_a_4012_); +lean_inc_ref(v_a_4011_); +lean_inc(v_a_4010_); +lean_inc_ref(v_a_4009_); +lean_inc(v_value_4020_); +lean_inc(v_fvarId_4019_); +v___x_4021_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectLetValue(v_fvarId_4019_, v_value_4020_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4021_) == 0) { -lean_object* v___x_3788_; -lean_dec_ref(v___x_3787_); -v___x_3788_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(v_fvarId_3785_, v_value_3786_, v_k_3783_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -lean_dec_ref(v_k_3783_); -lean_dec(v_value_3786_); -lean_dec(v_fvarId_3785_); -return v___x_3788_; +lean_object* v___x_4022_; +lean_dec_ref(v___x_4021_); +v___x_4022_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_preserveTailCall(v_fvarId_4019_, v_value_4020_, v_k_4017_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +lean_dec_ref(v_k_4017_); +lean_dec(v_value_4020_); +lean_dec(v_fvarId_4019_); +return v___x_4022_; } else { -lean_dec(v_value_3786_); -lean_dec(v_fvarId_3785_); -lean_dec_ref(v_k_3783_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -return v___x_3787_; +lean_dec(v_value_4020_); +lean_dec(v_fvarId_4019_); +lean_dec_ref(v_k_4017_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +return v___x_4021_; } } else { -lean_dec_ref(v_k_3783_); -lean_dec_ref(v_decl_3782_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -return v___x_3784_; +lean_dec_ref(v_k_4017_); +lean_dec_ref(v_decl_4016_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +return v___x_4018_; } } case 2: { -lean_object* v_decl_3789_; lean_object* v_k_3790_; lean_object* v___x_3792_; uint8_t v_isShared_3793_; uint8_t v_isSharedCheck_3819_; -v_decl_3789_ = lean_ctor_get(v_code_3774_, 0); -v_k_3790_ = lean_ctor_get(v_code_3774_, 1); -v_isSharedCheck_3819_ = !lean_is_exclusive(v_code_3774_); -if (v_isSharedCheck_3819_ == 0) +lean_object* v_decl_4023_; lean_object* v_k_4024_; lean_object* v___x_4026_; uint8_t v_isShared_4027_; uint8_t v_isSharedCheck_4053_; +v_decl_4023_ = lean_ctor_get(v_code_4008_, 0); +v_k_4024_ = lean_ctor_get(v_code_4008_, 1); +v_isSharedCheck_4053_ = !lean_is_exclusive(v_code_4008_); +if (v_isSharedCheck_4053_ == 0) { -v___x_3792_ = v_code_3774_; -v_isShared_3793_ = v_isSharedCheck_3819_; -goto v_resetjp_3791_; +v___x_4026_ = v_code_4008_; +v_isShared_4027_ = v_isSharedCheck_4053_; +goto v_resetjp_4025_; } else { -lean_inc(v_k_3790_); -lean_inc(v_decl_3789_); -lean_dec(v_code_3774_); -v___x_3792_ = lean_box(0); -v_isShared_3793_ = v_isSharedCheck_3819_; -goto v_resetjp_3791_; +lean_inc(v_k_4024_); +lean_inc(v_decl_4023_); +lean_dec(v_code_4008_); +v___x_4026_ = lean_box(0); +v_isShared_4027_ = v_isSharedCheck_4053_; +goto v_resetjp_4025_; } -v_resetjp_3791_: +v_resetjp_4025_: { -lean_object* v_fvarId_3794_; lean_object* v_params_3795_; lean_object* v_value_3796_; lean_object* v_decls_3797_; lean_object* v_currDecl_3798_; lean_object* v_paramSet_3799_; lean_object* v___y_3801_; lean_object* v___x_3809_; lean_object* v___x_3810_; uint8_t v___x_3811_; -v_fvarId_3794_ = lean_ctor_get(v_decl_3789_, 0); -lean_inc(v_fvarId_3794_); -v_params_3795_ = lean_ctor_get(v_decl_3789_, 2); -lean_inc_ref(v_params_3795_); -v_value_3796_ = lean_ctor_get(v_decl_3789_, 4); -lean_inc_ref(v_value_3796_); -lean_dec_ref(v_decl_3789_); -v_decls_3797_ = lean_ctor_get(v_a_3775_, 0); -v_currDecl_3798_ = lean_ctor_get(v_a_3775_, 1); -v_paramSet_3799_ = lean_ctor_get(v_a_3775_, 2); -v___x_3809_ = lean_unsigned_to_nat(0u); -v___x_3810_ = lean_array_get_size(v_params_3795_); -v___x_3811_ = lean_nat_dec_lt(v___x_3809_, v___x_3810_); -if (v___x_3811_ == 0) +lean_object* v_fvarId_4028_; lean_object* v_params_4029_; lean_object* v_value_4030_; lean_object* v_decls_4031_; lean_object* v_currDecl_4032_; lean_object* v_paramSet_4033_; lean_object* v___y_4035_; lean_object* v___x_4043_; lean_object* v___x_4044_; uint8_t v___x_4045_; +v_fvarId_4028_ = lean_ctor_get(v_decl_4023_, 0); +lean_inc(v_fvarId_4028_); +v_params_4029_ = lean_ctor_get(v_decl_4023_, 2); +lean_inc_ref(v_params_4029_); +v_value_4030_ = lean_ctor_get(v_decl_4023_, 4); +lean_inc_ref(v_value_4030_); +lean_dec_ref(v_decl_4023_); +v_decls_4031_ = lean_ctor_get(v_a_4009_, 0); +v_currDecl_4032_ = lean_ctor_get(v_a_4009_, 1); +v_paramSet_4033_ = lean_ctor_get(v_a_4009_, 2); +v___x_4043_ = lean_unsigned_to_nat(0u); +v___x_4044_ = lean_array_get_size(v_params_4029_); +v___x_4045_ = lean_nat_dec_lt(v___x_4043_, v___x_4044_); +if (v___x_4045_ == 0) { -lean_dec_ref(v_params_3795_); -lean_inc(v_paramSet_3799_); -v___y_3801_ = v_paramSet_3799_; -goto v___jp_3800_; +lean_dec_ref(v_params_4029_); +lean_inc(v_paramSet_4033_); +v___y_4035_ = v_paramSet_4033_; +goto v___jp_4034_; } else { -uint8_t v___x_3812_; -v___x_3812_ = lean_nat_dec_le(v___x_3810_, v___x_3810_); -if (v___x_3812_ == 0) +uint8_t v___x_4046_; +v___x_4046_ = lean_nat_dec_le(v___x_4044_, v___x_4044_); +if (v___x_4046_ == 0) { -if (v___x_3811_ == 0) +if (v___x_4045_ == 0) { -lean_dec_ref(v_params_3795_); -lean_inc(v_paramSet_3799_); -v___y_3801_ = v_paramSet_3799_; -goto v___jp_3800_; +lean_dec_ref(v_params_4029_); +lean_inc(v_paramSet_4033_); +v___y_4035_ = v_paramSet_4033_; +goto v___jp_4034_; } else { -size_t v___x_3813_; size_t v___x_3814_; lean_object* v___x_3815_; -v___x_3813_ = ((size_t)0ULL); -v___x_3814_ = lean_usize_of_nat(v___x_3810_); -lean_inc(v_paramSet_3799_); -v___x_3815_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_3795_, v___x_3813_, v___x_3814_, v_paramSet_3799_); -lean_dec_ref(v_params_3795_); -v___y_3801_ = v___x_3815_; -goto v___jp_3800_; +size_t v___x_4047_; size_t v___x_4048_; lean_object* v___x_4049_; +v___x_4047_ = ((size_t)0ULL); +v___x_4048_ = lean_usize_of_nat(v___x_4044_); +lean_inc(v_paramSet_4033_); +v___x_4049_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_4029_, v___x_4047_, v___x_4048_, v_paramSet_4033_); +lean_dec_ref(v_params_4029_); +v___y_4035_ = v___x_4049_; +goto v___jp_4034_; } } else { -size_t v___x_3816_; size_t v___x_3817_; lean_object* v___x_3818_; -v___x_3816_ = ((size_t)0ULL); -v___x_3817_ = lean_usize_of_nat(v___x_3810_); -lean_inc(v_paramSet_3799_); -v___x_3818_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_3795_, v___x_3816_, v___x_3817_, v_paramSet_3799_); -lean_dec_ref(v_params_3795_); -v___y_3801_ = v___x_3818_; -goto v___jp_3800_; +size_t v___x_4050_; size_t v___x_4051_; lean_object* v___x_4052_; +v___x_4050_ = ((size_t)0ULL); +v___x_4051_ = lean_usize_of_nat(v___x_4044_); +lean_inc(v_paramSet_4033_); +v___x_4052_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_4029_, v___x_4050_, v___x_4051_, v_paramSet_4033_); +lean_dec_ref(v_params_4029_); +v___y_4035_ = v___x_4052_; +goto v___jp_4034_; } } -v___jp_3800_: +v___jp_4034_: { -lean_object* v___x_3802_; lean_object* v___x_3803_; -lean_inc(v_currDecl_3798_); -lean_inc_ref(v_decls_3797_); -v___x_3802_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_3802_, 0, v_decls_3797_); -lean_ctor_set(v___x_3802_, 1, v_currDecl_3798_); -lean_ctor_set(v___x_3802_, 2, v___y_3801_); -lean_inc(v_a_3780_); -lean_inc_ref(v_a_3779_); -lean_inc(v_a_3778_); -lean_inc_ref(v_a_3777_); -lean_inc(v_a_3776_); -v___x_3803_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_value_3796_, v___x_3802_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3803_) == 0) +lean_object* v___x_4036_; lean_object* v___x_4037_; +lean_inc(v_currDecl_4032_); +lean_inc_ref(v_decls_4031_); +v___x_4036_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_4036_, 0, v_decls_4031_); +lean_ctor_set(v___x_4036_, 1, v_currDecl_4032_); +lean_ctor_set(v___x_4036_, 2, v___y_4035_); +lean_inc(v_a_4014_); +lean_inc_ref(v_a_4013_); +lean_inc(v_a_4012_); +lean_inc_ref(v_a_4011_); +lean_inc(v_a_4010_); +v___x_4037_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_value_4030_, v___x_4036_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4037_) == 0) { -lean_object* v___x_3805_; -lean_dec_ref(v___x_3803_); -lean_inc(v_currDecl_3798_); -if (v_isShared_3793_ == 0) +lean_object* v___x_4039_; +lean_dec_ref(v___x_4037_); +lean_inc(v_currDecl_4032_); +if (v_isShared_4027_ == 0) { -lean_ctor_set_tag(v___x_3792_, 1); -lean_ctor_set(v___x_3792_, 1, v_fvarId_3794_); -lean_ctor_set(v___x_3792_, 0, v_currDecl_3798_); -v___x_3805_ = v___x_3792_; -goto v_reusejp_3804_; +lean_ctor_set_tag(v___x_4026_, 1); +lean_ctor_set(v___x_4026_, 1, v_fvarId_4028_); +lean_ctor_set(v___x_4026_, 0, v_currDecl_4032_); +v___x_4039_ = v___x_4026_; +goto v_reusejp_4038_; } else { -lean_object* v_reuseFailAlloc_3808_; -v_reuseFailAlloc_3808_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3808_, 0, v_currDecl_3798_); -lean_ctor_set(v_reuseFailAlloc_3808_, 1, v_fvarId_3794_); -v___x_3805_ = v_reuseFailAlloc_3808_; -goto v_reusejp_3804_; +lean_object* v_reuseFailAlloc_4042_; +v_reuseFailAlloc_4042_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4042_, 0, v_currDecl_4032_); +lean_ctor_set(v_reuseFailAlloc_4042_, 1, v_fvarId_4028_); +v___x_4039_ = v_reuseFailAlloc_4042_; +goto v_reusejp_4038_; } -v_reusejp_3804_: +v_reusejp_4038_: { -lean_object* v___x_3806_; -v___x_3806_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v___x_3805_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3806_) == 0) +lean_object* v___x_4040_; +v___x_4040_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v___x_4039_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4040_) == 0) { -lean_dec_ref(v___x_3806_); -v_code_3774_ = v_k_3790_; +lean_dec_ref(v___x_4040_); +v_code_4008_ = v_k_4024_; goto _start; } else { -lean_dec_ref(v_k_3790_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -return v___x_3806_; +lean_dec_ref(v_k_4024_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +return v___x_4040_; } } } else { -lean_dec(v_fvarId_3794_); -lean_del_object(v___x_3792_); -lean_dec_ref(v_k_3790_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -return v___x_3803_; +lean_dec(v_fvarId_4028_); +lean_del_object(v___x_4026_); +lean_dec_ref(v_k_4024_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +return v___x_4037_; } } } } case 3: { -lean_object* v_fvarId_3820_; lean_object* v_args_3821_; lean_object* v___x_3823_; uint8_t v_isShared_3824_; uint8_t v_isSharedCheck_3850_; -v_fvarId_3820_ = lean_ctor_get(v_code_3774_, 0); -v_args_3821_ = lean_ctor_get(v_code_3774_, 1); -v_isSharedCheck_3850_ = !lean_is_exclusive(v_code_3774_); -if (v_isSharedCheck_3850_ == 0) +lean_object* v_fvarId_4054_; lean_object* v_args_4055_; lean_object* v___x_4057_; uint8_t v_isShared_4058_; uint8_t v_isSharedCheck_4084_; +v_fvarId_4054_ = lean_ctor_get(v_code_4008_, 0); +v_args_4055_ = lean_ctor_get(v_code_4008_, 1); +v_isSharedCheck_4084_ = !lean_is_exclusive(v_code_4008_); +if (v_isSharedCheck_4084_ == 0) { -v___x_3823_ = v_code_3774_; -v_isShared_3824_ = v_isSharedCheck_3850_; -goto v_resetjp_3822_; +v___x_4057_ = v_code_4008_; +v_isShared_4058_ = v_isSharedCheck_4084_; +goto v_resetjp_4056_; } else { -lean_inc(v_args_3821_); -lean_inc(v_fvarId_3820_); -lean_dec(v_code_3774_); -v___x_3823_ = lean_box(0); -v_isShared_3824_ = v_isSharedCheck_3850_; -goto v_resetjp_3822_; +lean_inc(v_args_4055_); +lean_inc(v_fvarId_4054_); +lean_dec(v_code_4008_); +v___x_4057_ = lean_box(0); +v_isShared_4058_ = v_isSharedCheck_4084_; +goto v_resetjp_4056_; } -v_resetjp_3822_: +v_resetjp_4056_: { -lean_object* v_currDecl_3825_; lean_object* v___x_3827_; -v_currDecl_3825_ = lean_ctor_get(v_a_3775_, 1); -lean_inc(v_fvarId_3820_); -lean_inc(v_currDecl_3825_); -if (v_isShared_3824_ == 0) +lean_object* v_currDecl_4059_; lean_object* v___x_4061_; +v_currDecl_4059_ = lean_ctor_get(v_a_4009_, 1); +lean_inc(v_fvarId_4054_); +lean_inc(v_currDecl_4059_); +if (v_isShared_4058_ == 0) { -lean_ctor_set_tag(v___x_3823_, 1); -lean_ctor_set(v___x_3823_, 1, v_fvarId_3820_); -lean_ctor_set(v___x_3823_, 0, v_currDecl_3825_); -v___x_3827_ = v___x_3823_; -goto v_reusejp_3826_; +lean_ctor_set_tag(v___x_4057_, 1); +lean_ctor_set(v___x_4057_, 1, v_fvarId_4054_); +lean_ctor_set(v___x_4057_, 0, v_currDecl_4059_); +v___x_4061_ = v___x_4057_; +goto v_reusejp_4060_; } else { -lean_object* v_reuseFailAlloc_3849_; -v_reuseFailAlloc_3849_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3849_, 0, v_currDecl_3825_); -lean_ctor_set(v_reuseFailAlloc_3849_, 1, v_fvarId_3820_); -v___x_3827_ = v_reuseFailAlloc_3849_; -goto v_reusejp_3826_; +lean_object* v_reuseFailAlloc_4083_; +v_reuseFailAlloc_4083_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4083_, 0, v_currDecl_4059_); +lean_ctor_set(v_reuseFailAlloc_4083_, 1, v_fvarId_4054_); +v___x_4061_ = v_reuseFailAlloc_4083_; +goto v_reusejp_4060_; } -v_reusejp_3826_: +v_reusejp_4060_: { -lean_object* v___x_3828_; -lean_inc(v_a_3780_); -lean_inc_ref(v_a_3779_); -lean_inc(v_a_3778_); -lean_inc_ref(v_a_3777_); -lean_inc(v_a_3776_); -lean_inc_ref(v_a_3775_); -v___x_3828_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_3827_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3828_) == 0) +lean_object* v___x_4062_; +lean_inc(v_a_4014_); +lean_inc_ref(v_a_4013_); +lean_inc(v_a_4012_); +lean_inc_ref(v_a_4011_); +lean_inc(v_a_4010_); +lean_inc_ref(v_a_4009_); +v___x_4062_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_getParamInfo(v___x_4061_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4062_) == 0) { -lean_object* v_a_3829_; lean_object* v___x_3830_; lean_object* v___x_3831_; -v_a_3829_ = lean_ctor_get(v___x_3828_, 0); -lean_inc(v_a_3829_); -lean_dec_ref(v___x_3828_); -lean_inc(v_fvarId_3820_); -v___x_3830_ = lean_alloc_ctor(9, 1, 0); -lean_ctor_set(v___x_3830_, 0, v_fvarId_3820_); -lean_inc(v_a_3780_); -lean_inc_ref(v_a_3779_); -lean_inc(v_a_3778_); -lean_inc_ref(v_a_3777_); -lean_inc(v_a_3776_); -lean_inc_ref(v_a_3775_); -v___x_3831_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_3821_, v_a_3829_, v___x_3830_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -if (lean_obj_tag(v___x_3831_) == 0) +lean_object* v_a_4063_; lean_object* v___x_4064_; lean_object* v___x_4065_; +v_a_4063_ = lean_ctor_get(v___x_4062_, 0); +lean_inc(v_a_4063_); +lean_dec_ref(v___x_4062_); +lean_inc(v_fvarId_4054_); +v___x_4064_ = lean_alloc_ctor(10, 1, 0); +lean_ctor_set(v___x_4064_, 0, v_fvarId_4054_); +lean_inc(v_a_4014_); +lean_inc_ref(v_a_4013_); +lean_inc(v_a_4012_); +lean_inc_ref(v_a_4011_); +lean_inc(v_a_4010_); +lean_inc_ref(v_a_4009_); +v___x_4065_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownArgsUsingParams(v_args_4055_, v_a_4063_, v___x_4064_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +if (lean_obj_tag(v___x_4065_) == 0) { -lean_object* v___x_3833_; uint8_t v_isShared_3834_; uint8_t v_isSharedCheck_3839_; -v_isSharedCheck_3839_ = !lean_is_exclusive(v___x_3831_); -if (v_isSharedCheck_3839_ == 0) +lean_object* v___x_4067_; uint8_t v_isShared_4068_; uint8_t v_isSharedCheck_4073_; +v_isSharedCheck_4073_ = !lean_is_exclusive(v___x_4065_); +if (v_isSharedCheck_4073_ == 0) { -lean_object* v_unused_3840_; -v_unused_3840_ = lean_ctor_get(v___x_3831_, 0); -lean_dec(v_unused_3840_); -v___x_3833_ = v___x_3831_; -v_isShared_3834_ = v_isSharedCheck_3839_; -goto v_resetjp_3832_; +lean_object* v_unused_4074_; +v_unused_4074_ = lean_ctor_get(v___x_4065_, 0); +lean_dec(v_unused_4074_); +v___x_4067_ = v___x_4065_; +v_isShared_4068_ = v_isSharedCheck_4073_; +goto v_resetjp_4066_; } else { -lean_dec(v___x_3831_); -v___x_3833_ = lean_box(0); -v_isShared_3834_ = v_isSharedCheck_3839_; -goto v_resetjp_3832_; +lean_dec(v___x_4065_); +v___x_4067_ = lean_box(0); +v_isShared_4068_ = v_isSharedCheck_4073_; +goto v_resetjp_4066_; } -v_resetjp_3832_: +v_resetjp_4066_: { -lean_object* v___x_3836_; -if (v_isShared_3834_ == 0) +lean_object* v___x_4070_; +if (v_isShared_4068_ == 0) { -lean_ctor_set_tag(v___x_3833_, 10); -lean_ctor_set(v___x_3833_, 0, v_fvarId_3820_); -v___x_3836_ = v___x_3833_; -goto v_reusejp_3835_; +lean_ctor_set_tag(v___x_4067_, 11); +lean_ctor_set(v___x_4067_, 0, v_fvarId_4054_); +v___x_4070_ = v___x_4067_; +goto v_reusejp_4069_; } else { -lean_object* v_reuseFailAlloc_3838_; -v_reuseFailAlloc_3838_ = lean_alloc_ctor(10, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3838_, 0, v_fvarId_3820_); -v___x_3836_ = v_reuseFailAlloc_3838_; -goto v_reusejp_3835_; +lean_object* v_reuseFailAlloc_4072_; +v_reuseFailAlloc_4072_ = lean_alloc_ctor(11, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4072_, 0, v_fvarId_4054_); +v___x_4070_ = v_reuseFailAlloc_4072_; +goto v_reusejp_4069_; } -v_reusejp_3835_: +v_reusejp_4069_: { -lean_object* v___x_3837_; -v___x_3837_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_3821_, v_a_3829_, v___x_3836_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -lean_dec(v_a_3829_); -lean_dec_ref(v_args_3821_); -return v___x_3837_; +lean_object* v___x_4071_; +v___x_4071_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownParamsUsingArgs(v_args_4055_, v_a_4063_, v___x_4070_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +lean_dec(v_a_4063_); +lean_dec_ref(v_args_4055_); +return v___x_4071_; } } } else { -lean_dec(v_a_3829_); -lean_dec_ref(v_args_3821_); -lean_dec(v_fvarId_3820_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -return v___x_3831_; +lean_dec(v_a_4063_); +lean_dec_ref(v_args_4055_); +lean_dec(v_fvarId_4054_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +return v___x_4065_; } } else { -lean_object* v_a_3841_; lean_object* v___x_3843_; uint8_t v_isShared_3844_; uint8_t v_isSharedCheck_3848_; -lean_dec_ref(v_args_3821_); -lean_dec(v_fvarId_3820_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -v_a_3841_ = lean_ctor_get(v___x_3828_, 0); -v_isSharedCheck_3848_ = !lean_is_exclusive(v___x_3828_); -if (v_isSharedCheck_3848_ == 0) +lean_object* v_a_4075_; lean_object* v___x_4077_; uint8_t v_isShared_4078_; uint8_t v_isSharedCheck_4082_; +lean_dec_ref(v_args_4055_); +lean_dec(v_fvarId_4054_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +v_a_4075_ = lean_ctor_get(v___x_4062_, 0); +v_isSharedCheck_4082_ = !lean_is_exclusive(v___x_4062_); +if (v_isSharedCheck_4082_ == 0) { -v___x_3843_ = v___x_3828_; -v_isShared_3844_ = v_isSharedCheck_3848_; -goto v_resetjp_3842_; +v___x_4077_ = v___x_4062_; +v_isShared_4078_ = v_isSharedCheck_4082_; +goto v_resetjp_4076_; } else { -lean_inc(v_a_3841_); -lean_dec(v___x_3828_); -v___x_3843_ = lean_box(0); -v_isShared_3844_ = v_isSharedCheck_3848_; -goto v_resetjp_3842_; +lean_inc(v_a_4075_); +lean_dec(v___x_4062_); +v___x_4077_ = lean_box(0); +v_isShared_4078_ = v_isSharedCheck_4082_; +goto v_resetjp_4076_; } -v_resetjp_3842_: +v_resetjp_4076_: { -lean_object* v___x_3846_; -if (v_isShared_3844_ == 0) +lean_object* v___x_4080_; +if (v_isShared_4078_ == 0) { -v___x_3846_ = v___x_3843_; -goto v_reusejp_3845_; +v___x_4080_ = v___x_4077_; +goto v_reusejp_4079_; } else { -lean_object* v_reuseFailAlloc_3847_; -v_reuseFailAlloc_3847_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3847_, 0, v_a_3841_); -v___x_3846_ = v_reuseFailAlloc_3847_; -goto v_reusejp_3845_; +lean_object* v_reuseFailAlloc_4081_; +v_reuseFailAlloc_4081_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4081_, 0, v_a_4075_); +v___x_4080_ = v_reuseFailAlloc_4081_; +goto v_reusejp_4079_; } -v_reusejp_3845_: +v_reusejp_4079_: { -return v___x_3846_; +return v___x_4080_; } } } @@ -12197,510 +13220,510 @@ return v___x_3846_; } case 4: { -lean_object* v_cases_3851_; lean_object* v___x_3853_; uint8_t v_isShared_3854_; uint8_t v_isSharedCheck_3873_; -v_cases_3851_ = lean_ctor_get(v_code_3774_, 0); -v_isSharedCheck_3873_ = !lean_is_exclusive(v_code_3774_); -if (v_isSharedCheck_3873_ == 0) +lean_object* v_cases_4085_; lean_object* v___x_4087_; uint8_t v_isShared_4088_; uint8_t v_isSharedCheck_4107_; +v_cases_4085_ = lean_ctor_get(v_code_4008_, 0); +v_isSharedCheck_4107_ = !lean_is_exclusive(v_code_4008_); +if (v_isSharedCheck_4107_ == 0) { -v___x_3853_ = v_code_3774_; -v_isShared_3854_ = v_isSharedCheck_3873_; -goto v_resetjp_3852_; +v___x_4087_ = v_code_4008_; +v_isShared_4088_ = v_isSharedCheck_4107_; +goto v_resetjp_4086_; } else { -lean_inc(v_cases_3851_); -lean_dec(v_code_3774_); -v___x_3853_ = lean_box(0); -v_isShared_3854_ = v_isSharedCheck_3873_; -goto v_resetjp_3852_; +lean_inc(v_cases_4085_); +lean_dec(v_code_4008_); +v___x_4087_ = lean_box(0); +v_isShared_4088_ = v_isSharedCheck_4107_; +goto v_resetjp_4086_; } -v_resetjp_3852_: +v_resetjp_4086_: { -lean_object* v_alts_3855_; lean_object* v___x_3856_; lean_object* v___x_3857_; lean_object* v___x_3858_; uint8_t v___x_3859_; -v_alts_3855_ = lean_ctor_get(v_cases_3851_, 3); -lean_inc_ref(v_alts_3855_); -lean_dec_ref(v_cases_3851_); -v___x_3856_ = lean_unsigned_to_nat(0u); -v___x_3857_ = lean_array_get_size(v_alts_3855_); -v___x_3858_ = lean_box(0); -v___x_3859_ = lean_nat_dec_lt(v___x_3856_, v___x_3857_); -if (v___x_3859_ == 0) +lean_object* v_alts_4089_; lean_object* v___x_4090_; lean_object* v___x_4091_; lean_object* v___x_4092_; uint8_t v___x_4093_; +v_alts_4089_ = lean_ctor_get(v_cases_4085_, 3); +lean_inc_ref(v_alts_4089_); +lean_dec_ref(v_cases_4085_); +v___x_4090_ = lean_unsigned_to_nat(0u); +v___x_4091_ = lean_array_get_size(v_alts_4089_); +v___x_4092_ = lean_box(0); +v___x_4093_ = lean_nat_dec_lt(v___x_4090_, v___x_4091_); +if (v___x_4093_ == 0) { -lean_object* v___x_3861_; -lean_dec_ref(v_alts_3855_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -if (v_isShared_3854_ == 0) +lean_object* v___x_4095_; +lean_dec_ref(v_alts_4089_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +if (v_isShared_4088_ == 0) { -lean_ctor_set_tag(v___x_3853_, 0); -lean_ctor_set(v___x_3853_, 0, v___x_3858_); -v___x_3861_ = v___x_3853_; -goto v_reusejp_3860_; +lean_ctor_set_tag(v___x_4087_, 0); +lean_ctor_set(v___x_4087_, 0, v___x_4092_); +v___x_4095_ = v___x_4087_; +goto v_reusejp_4094_; } else { -lean_object* v_reuseFailAlloc_3862_; -v_reuseFailAlloc_3862_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3862_, 0, v___x_3858_); -v___x_3861_ = v_reuseFailAlloc_3862_; -goto v_reusejp_3860_; +lean_object* v_reuseFailAlloc_4096_; +v_reuseFailAlloc_4096_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4096_, 0, v___x_4092_); +v___x_4095_ = v_reuseFailAlloc_4096_; +goto v_reusejp_4094_; } -v_reusejp_3860_: +v_reusejp_4094_: { -return v___x_3861_; +return v___x_4095_; } } else { -uint8_t v___x_3863_; -v___x_3863_ = lean_nat_dec_le(v___x_3857_, v___x_3857_); -if (v___x_3863_ == 0) +uint8_t v___x_4097_; +v___x_4097_ = lean_nat_dec_le(v___x_4091_, v___x_4091_); +if (v___x_4097_ == 0) { -if (v___x_3859_ == 0) +if (v___x_4093_ == 0) { -lean_object* v___x_3865_; -lean_dec_ref(v_alts_3855_); -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -if (v_isShared_3854_ == 0) +lean_object* v___x_4099_; +lean_dec_ref(v_alts_4089_); +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +if (v_isShared_4088_ == 0) { -lean_ctor_set_tag(v___x_3853_, 0); -lean_ctor_set(v___x_3853_, 0, v___x_3858_); -v___x_3865_ = v___x_3853_; -goto v_reusejp_3864_; +lean_ctor_set_tag(v___x_4087_, 0); +lean_ctor_set(v___x_4087_, 0, v___x_4092_); +v___x_4099_ = v___x_4087_; +goto v_reusejp_4098_; } else { -lean_object* v_reuseFailAlloc_3866_; -v_reuseFailAlloc_3866_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3866_, 0, v___x_3858_); -v___x_3865_ = v_reuseFailAlloc_3866_; -goto v_reusejp_3864_; +lean_object* v_reuseFailAlloc_4100_; +v_reuseFailAlloc_4100_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4100_, 0, v___x_4092_); +v___x_4099_ = v_reuseFailAlloc_4100_; +goto v_reusejp_4098_; } -v_reusejp_3864_: +v_reusejp_4098_: { -return v___x_3865_; +return v___x_4099_; } } else { -size_t v___x_3867_; size_t v___x_3868_; lean_object* v___x_3869_; -lean_del_object(v___x_3853_); -v___x_3867_ = ((size_t)0ULL); -v___x_3868_ = lean_usize_of_nat(v___x_3857_); -v___x_3869_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_alts_3855_, v___x_3867_, v___x_3868_, v___x_3858_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -lean_dec_ref(v_alts_3855_); -return v___x_3869_; +size_t v___x_4101_; size_t v___x_4102_; lean_object* v___x_4103_; +lean_del_object(v___x_4087_); +v___x_4101_ = ((size_t)0ULL); +v___x_4102_ = lean_usize_of_nat(v___x_4091_); +v___x_4103_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_alts_4089_, v___x_4101_, v___x_4102_, v___x_4092_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +lean_dec_ref(v_alts_4089_); +return v___x_4103_; } } else { -size_t v___x_3870_; size_t v___x_3871_; lean_object* v___x_3872_; -lean_del_object(v___x_3853_); -v___x_3870_ = ((size_t)0ULL); -v___x_3871_ = lean_usize_of_nat(v___x_3857_); -v___x_3872_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_alts_3855_, v___x_3870_, v___x_3871_, v___x_3858_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -lean_dec_ref(v_alts_3855_); -return v___x_3872_; +size_t v___x_4104_; size_t v___x_4105_; lean_object* v___x_4106_; +lean_del_object(v___x_4087_); +v___x_4104_ = ((size_t)0ULL); +v___x_4105_ = lean_usize_of_nat(v___x_4091_); +v___x_4106_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_alts_4089_, v___x_4104_, v___x_4105_, v___x_4092_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +lean_dec_ref(v_alts_4089_); +return v___x_4106_; } } } } case 5: { -lean_object* v___x_3875_; uint8_t v_isShared_3876_; uint8_t v_isSharedCheck_3881_; -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -v_isSharedCheck_3881_ = !lean_is_exclusive(v_code_3774_); -if (v_isSharedCheck_3881_ == 0) +lean_object* v___x_4109_; uint8_t v_isShared_4110_; uint8_t v_isSharedCheck_4115_; +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +v_isSharedCheck_4115_ = !lean_is_exclusive(v_code_4008_); +if (v_isSharedCheck_4115_ == 0) { -lean_object* v_unused_3882_; -v_unused_3882_ = lean_ctor_get(v_code_3774_, 0); -lean_dec(v_unused_3882_); -v___x_3875_ = v_code_3774_; -v_isShared_3876_ = v_isSharedCheck_3881_; -goto v_resetjp_3874_; +lean_object* v_unused_4116_; +v_unused_4116_ = lean_ctor_get(v_code_4008_, 0); +lean_dec(v_unused_4116_); +v___x_4109_ = v_code_4008_; +v_isShared_4110_ = v_isSharedCheck_4115_; +goto v_resetjp_4108_; } else { -lean_dec(v_code_3774_); -v___x_3875_ = lean_box(0); -v_isShared_3876_ = v_isSharedCheck_3881_; -goto v_resetjp_3874_; +lean_dec(v_code_4008_); +v___x_4109_ = lean_box(0); +v_isShared_4110_ = v_isSharedCheck_4115_; +goto v_resetjp_4108_; } -v_resetjp_3874_: +v_resetjp_4108_: { -lean_object* v___x_3877_; lean_object* v___x_3879_; -v___x_3877_ = lean_box(0); -if (v_isShared_3876_ == 0) +lean_object* v___x_4111_; lean_object* v___x_4113_; +v___x_4111_ = lean_box(0); +if (v_isShared_4110_ == 0) { -lean_ctor_set_tag(v___x_3875_, 0); -lean_ctor_set(v___x_3875_, 0, v___x_3877_); -v___x_3879_ = v___x_3875_; -goto v_reusejp_3878_; +lean_ctor_set_tag(v___x_4109_, 0); +lean_ctor_set(v___x_4109_, 0, v___x_4111_); +v___x_4113_ = v___x_4109_; +goto v_reusejp_4112_; } else { -lean_object* v_reuseFailAlloc_3880_; -v_reuseFailAlloc_3880_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3880_, 0, v___x_3877_); -v___x_3879_ = v_reuseFailAlloc_3880_; -goto v_reusejp_3878_; +lean_object* v_reuseFailAlloc_4114_; +v_reuseFailAlloc_4114_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4114_, 0, v___x_4111_); +v___x_4113_ = v_reuseFailAlloc_4114_; +goto v_reusejp_4112_; } -v_reusejp_3878_: +v_reusejp_4112_: { -return v___x_3879_; +return v___x_4113_; } } } case 6: { -lean_object* v___x_3884_; uint8_t v_isShared_3885_; uint8_t v_isSharedCheck_3890_; -lean_dec(v_a_3780_); -lean_dec_ref(v_a_3779_); -lean_dec(v_a_3778_); -lean_dec_ref(v_a_3777_); -lean_dec(v_a_3776_); -lean_dec_ref(v_a_3775_); -v_isSharedCheck_3890_ = !lean_is_exclusive(v_code_3774_); -if (v_isSharedCheck_3890_ == 0) +lean_object* v___x_4118_; uint8_t v_isShared_4119_; uint8_t v_isSharedCheck_4124_; +lean_dec(v_a_4014_); +lean_dec_ref(v_a_4013_); +lean_dec(v_a_4012_); +lean_dec_ref(v_a_4011_); +lean_dec(v_a_4010_); +lean_dec_ref(v_a_4009_); +v_isSharedCheck_4124_ = !lean_is_exclusive(v_code_4008_); +if (v_isSharedCheck_4124_ == 0) { -lean_object* v_unused_3891_; -v_unused_3891_ = lean_ctor_get(v_code_3774_, 0); -lean_dec(v_unused_3891_); -v___x_3884_ = v_code_3774_; -v_isShared_3885_ = v_isSharedCheck_3890_; -goto v_resetjp_3883_; +lean_object* v_unused_4125_; +v_unused_4125_ = lean_ctor_get(v_code_4008_, 0); +lean_dec(v_unused_4125_); +v___x_4118_ = v_code_4008_; +v_isShared_4119_ = v_isSharedCheck_4124_; +goto v_resetjp_4117_; } else { -lean_dec(v_code_3774_); -v___x_3884_ = lean_box(0); -v_isShared_3885_ = v_isSharedCheck_3890_; -goto v_resetjp_3883_; +lean_dec(v_code_4008_); +v___x_4118_ = lean_box(0); +v_isShared_4119_ = v_isSharedCheck_4124_; +goto v_resetjp_4117_; } -v_resetjp_3883_: +v_resetjp_4117_: { -lean_object* v___x_3886_; lean_object* v___x_3888_; -v___x_3886_ = lean_box(0); -if (v_isShared_3885_ == 0) +lean_object* v___x_4120_; lean_object* v___x_4122_; +v___x_4120_ = lean_box(0); +if (v_isShared_4119_ == 0) { -lean_ctor_set_tag(v___x_3884_, 0); -lean_ctor_set(v___x_3884_, 0, v___x_3886_); -v___x_3888_ = v___x_3884_; -goto v_reusejp_3887_; +lean_ctor_set_tag(v___x_4118_, 0); +lean_ctor_set(v___x_4118_, 0, v___x_4120_); +v___x_4122_ = v___x_4118_; +goto v_reusejp_4121_; } else { -lean_object* v_reuseFailAlloc_3889_; -v_reuseFailAlloc_3889_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3889_, 0, v___x_3886_); -v___x_3888_ = v_reuseFailAlloc_3889_; -goto v_reusejp_3887_; +lean_object* v_reuseFailAlloc_4123_; +v_reuseFailAlloc_4123_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4123_, 0, v___x_4120_); +v___x_4122_ = v_reuseFailAlloc_4123_; +goto v_reusejp_4121_; } -v_reusejp_3887_: +v_reusejp_4121_: { -return v___x_3888_; +return v___x_4122_; } } } case 8: { -lean_object* v_k_3892_; -v_k_3892_ = lean_ctor_get(v_code_3774_, 3); -lean_inc_ref(v_k_3892_); -lean_dec_ref(v_code_3774_); -v_code_3774_ = v_k_3892_; +lean_object* v_k_4126_; +v_k_4126_ = lean_ctor_get(v_code_4008_, 3); +lean_inc_ref(v_k_4126_); +lean_dec_ref(v_code_4008_); +v_code_4008_ = v_k_4126_; goto _start; } case 9: { -lean_object* v_k_3894_; -v_k_3894_ = lean_ctor_get(v_code_3774_, 5); -lean_inc_ref(v_k_3894_); -lean_dec_ref(v_code_3774_); -v_code_3774_ = v_k_3894_; +lean_object* v_k_4128_; +v_k_4128_ = lean_ctor_get(v_code_4008_, 5); +lean_inc_ref(v_k_4128_); +lean_dec_ref(v_code_4008_); +v_code_4008_ = v_k_4128_; goto _start; } default: { -lean_object* v___x_3896_; lean_object* v___x_3897_; -lean_dec_ref(v_code_3774_); -v___x_3896_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1); -v___x_3897_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(v___x_3896_, v_a_3775_, v_a_3776_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); -return v___x_3897_; +lean_object* v___x_4130_; lean_object* v___x_4131_; +lean_dec_ref(v_code_4008_); +v___x_4130_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1, &l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1_once, _init_l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___closed__1); +v___x_4131_ = l_panic___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__3(v___x_4130_, v_a_4009_, v_a_4010_, v_a_4011_, v_a_4012_, v_a_4013_, v_a_4014_); +return v___x_4131_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___boxed(lean_object* v_code_3898_, lean_object* v_a_3899_, lean_object* v_a_3900_, lean_object* v_a_3901_, lean_object* v_a_3902_, lean_object* v_a_3903_, lean_object* v_a_3904_, lean_object* v_a_3905_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___boxed(lean_object* v_code_4132_, lean_object* v_a_4133_, lean_object* v_a_4134_, lean_object* v_a_4135_, lean_object* v_a_4136_, lean_object* v_a_4137_, lean_object* v_a_4138_, lean_object* v_a_4139_){ _start: { -lean_object* v_res_3906_; -v_res_3906_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_code_3898_, v_a_3899_, v_a_3900_, v_a_3901_, v_a_3902_, v_a_3903_, v_a_3904_); -return v_res_3906_; +lean_object* v_res_4140_; +v_res_4140_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_code_4132_, v_a_4133_, v_a_4134_, v_a_4135_, v_a_4136_, v_a_4137_, v_a_4138_); +return v_res_4140_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(lean_object* v_as_3907_, size_t v_i_3908_, size_t v_stop_3909_, lean_object* v_b_3910_, lean_object* v___y_3911_, lean_object* v___y_3912_, lean_object* v___y_3913_, lean_object* v___y_3914_, lean_object* v___y_3915_, lean_object* v___y_3916_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(lean_object* v_as_4141_, size_t v_i_4142_, size_t v_stop_4143_, lean_object* v_b_4144_, lean_object* v___y_4145_, lean_object* v___y_4146_, lean_object* v___y_4147_, lean_object* v___y_4148_, lean_object* v___y_4149_, lean_object* v___y_4150_){ _start: { -uint8_t v___x_3918_; -v___x_3918_ = lean_usize_dec_eq(v_i_3908_, v_stop_3909_); -if (v___x_3918_ == 0) +uint8_t v___x_4152_; +v___x_4152_ = lean_usize_dec_eq(v_i_4142_, v_stop_4143_); +if (v___x_4152_ == 0) { -lean_object* v___x_3919_; lean_object* v___x_3920_; lean_object* v___x_3921_; -v___x_3919_ = lean_array_uget_borrowed(v_as_3907_, v_i_3908_); -v___x_3920_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___boxed), 8, 0); -lean_inc(v___y_3916_); -lean_inc_ref(v___y_3915_); -lean_inc(v___y_3914_); -lean_inc_ref(v___y_3913_); -lean_inc(v___y_3912_); -lean_inc_ref(v___y_3911_); -lean_inc(v___x_3919_); -v___x_3921_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v___x_3919_, v___x_3920_, v___y_3911_, v___y_3912_, v___y_3913_, v___y_3914_, v___y_3915_, v___y_3916_); -if (lean_obj_tag(v___x_3921_) == 0) +lean_object* v___x_4153_; lean_object* v___x_4154_; lean_object* v___x_4155_; +v___x_4153_ = lean_array_uget_borrowed(v_as_4141_, v_i_4142_); +v___x_4154_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode___boxed), 8, 0); +lean_inc(v___y_4150_); +lean_inc_ref(v___y_4149_); +lean_inc(v___y_4148_); +lean_inc_ref(v___y_4147_); +lean_inc(v___y_4146_); +lean_inc_ref(v___y_4145_); +lean_inc(v___x_4153_); +v___x_4155_ = l_Lean_Compiler_LCNF_Alt_forCodeM___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__0___redArg(v___x_4153_, v___x_4154_, v___y_4145_, v___y_4146_, v___y_4147_, v___y_4148_, v___y_4149_, v___y_4150_); +if (lean_obj_tag(v___x_4155_) == 0) { -lean_object* v_a_3922_; size_t v___x_3923_; size_t v___x_3924_; -v_a_3922_ = lean_ctor_get(v___x_3921_, 0); -lean_inc(v_a_3922_); -lean_dec_ref(v___x_3921_); -v___x_3923_ = ((size_t)1ULL); -v___x_3924_ = lean_usize_add(v_i_3908_, v___x_3923_); -v_i_3908_ = v___x_3924_; -v_b_3910_ = v_a_3922_; +lean_object* v_a_4156_; size_t v___x_4157_; size_t v___x_4158_; +v_a_4156_ = lean_ctor_get(v___x_4155_, 0); +lean_inc(v_a_4156_); +lean_dec_ref(v___x_4155_); +v___x_4157_ = ((size_t)1ULL); +v___x_4158_ = lean_usize_add(v_i_4142_, v___x_4157_); +v_i_4142_ = v___x_4158_; +v_b_4144_ = v_a_4156_; goto _start; } else { -lean_dec(v___y_3916_); -lean_dec_ref(v___y_3915_); -lean_dec(v___y_3914_); -lean_dec_ref(v___y_3913_); -lean_dec(v___y_3912_); -lean_dec_ref(v___y_3911_); -return v___x_3921_; +lean_dec(v___y_4150_); +lean_dec_ref(v___y_4149_); +lean_dec(v___y_4148_); +lean_dec_ref(v___y_4147_); +lean_dec(v___y_4146_); +lean_dec_ref(v___y_4145_); +return v___x_4155_; } } else { -lean_object* v___x_3926_; -lean_dec(v___y_3916_); -lean_dec_ref(v___y_3915_); -lean_dec(v___y_3914_); -lean_dec_ref(v___y_3913_); -lean_dec(v___y_3912_); -lean_dec_ref(v___y_3911_); -v___x_3926_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3926_, 0, v_b_3910_); -return v___x_3926_; +lean_object* v___x_4160_; +lean_dec(v___y_4150_); +lean_dec_ref(v___y_4149_); +lean_dec(v___y_4148_); +lean_dec_ref(v___y_4147_); +lean_dec(v___y_4146_); +lean_dec_ref(v___y_4145_); +v___x_4160_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4160_, 0, v_b_4144_); +return v___x_4160_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2___boxed(lean_object* v_as_3927_, lean_object* v_i_3928_, lean_object* v_stop_3929_, lean_object* v_b_3930_, lean_object* v___y_3931_, lean_object* v___y_3932_, lean_object* v___y_3933_, lean_object* v___y_3934_, lean_object* v___y_3935_, lean_object* v___y_3936_, lean_object* v___y_3937_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2___boxed(lean_object* v_as_4161_, lean_object* v_i_4162_, lean_object* v_stop_4163_, lean_object* v_b_4164_, lean_object* v___y_4165_, lean_object* v___y_4166_, lean_object* v___y_4167_, lean_object* v___y_4168_, lean_object* v___y_4169_, lean_object* v___y_4170_, lean_object* v___y_4171_){ _start: { -size_t v_i_boxed_3938_; size_t v_stop_boxed_3939_; lean_object* v_res_3940_; -v_i_boxed_3938_ = lean_unbox_usize(v_i_3928_); -lean_dec(v_i_3928_); -v_stop_boxed_3939_ = lean_unbox_usize(v_stop_3929_); -lean_dec(v_stop_3929_); -v_res_3940_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_as_3927_, v_i_boxed_3938_, v_stop_boxed_3939_, v_b_3930_, v___y_3931_, v___y_3932_, v___y_3933_, v___y_3934_, v___y_3935_, v___y_3936_); -lean_dec_ref(v_as_3927_); -return v_res_3940_; +size_t v_i_boxed_4172_; size_t v_stop_boxed_4173_; lean_object* v_res_4174_; +v_i_boxed_4172_ = lean_unbox_usize(v_i_4162_); +lean_dec(v_i_4162_); +v_stop_boxed_4173_ = lean_unbox_usize(v_stop_4163_); +lean_dec(v_stop_4163_); +v_res_4174_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__2(v_as_4161_, v_i_boxed_4172_, v_stop_boxed_4173_, v_b_4164_, v___y_4165_, v___y_4166_, v___y_4167_, v___y_4168_, v___y_4169_, v___y_4170_); +lean_dec_ref(v_as_4161_); +return v_res_4174_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(lean_object* v_decl_3941_, lean_object* v_a_3942_, lean_object* v_a_3943_, lean_object* v_a_3944_, lean_object* v_a_3945_, lean_object* v_a_3946_, lean_object* v_a_3947_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(lean_object* v_decl_4175_, lean_object* v_a_4176_, lean_object* v_a_4177_, lean_object* v_a_4178_, lean_object* v_a_4179_, lean_object* v_a_4180_, lean_object* v_a_4181_){ _start: { -lean_object* v_value_3949_; -v_value_3949_ = lean_ctor_get(v_decl_3941_, 1); -lean_inc_ref(v_value_3949_); -if (lean_obj_tag(v_value_3949_) == 0) +lean_object* v_value_4183_; +v_value_4183_ = lean_ctor_get(v_decl_4175_, 1); +lean_inc_ref(v_value_4183_); +if (lean_obj_tag(v_value_4183_) == 0) { -lean_object* v_toSignature_3950_; lean_object* v_code_3951_; lean_object* v_name_3952_; lean_object* v_params_3953_; lean_object* v_decls_3954_; lean_object* v_paramSet_3955_; lean_object* v___x_3957_; uint8_t v_isShared_3958_; uint8_t v_isSharedCheck_3984_; -v_toSignature_3950_ = lean_ctor_get(v_decl_3941_, 0); -lean_inc_ref(v_toSignature_3950_); -lean_dec_ref(v_decl_3941_); -v_code_3951_ = lean_ctor_get(v_value_3949_, 0); -lean_inc_ref(v_code_3951_); -lean_dec_ref(v_value_3949_); -v_name_3952_ = lean_ctor_get(v_toSignature_3950_, 0); -lean_inc(v_name_3952_); -v_params_3953_ = lean_ctor_get(v_toSignature_3950_, 3); -lean_inc_ref(v_params_3953_); -lean_dec_ref(v_toSignature_3950_); -v_decls_3954_ = lean_ctor_get(v_a_3942_, 0); -v_paramSet_3955_ = lean_ctor_get(v_a_3942_, 2); -v_isSharedCheck_3984_ = !lean_is_exclusive(v_a_3942_); -if (v_isSharedCheck_3984_ == 0) +lean_object* v_toSignature_4184_; lean_object* v_code_4185_; lean_object* v_name_4186_; lean_object* v_params_4187_; lean_object* v_decls_4188_; lean_object* v_paramSet_4189_; lean_object* v___x_4191_; uint8_t v_isShared_4192_; uint8_t v_isSharedCheck_4218_; +v_toSignature_4184_ = lean_ctor_get(v_decl_4175_, 0); +lean_inc_ref(v_toSignature_4184_); +lean_dec_ref(v_decl_4175_); +v_code_4185_ = lean_ctor_get(v_value_4183_, 0); +lean_inc_ref(v_code_4185_); +lean_dec_ref(v_value_4183_); +v_name_4186_ = lean_ctor_get(v_toSignature_4184_, 0); +lean_inc(v_name_4186_); +v_params_4187_ = lean_ctor_get(v_toSignature_4184_, 3); +lean_inc_ref(v_params_4187_); +lean_dec_ref(v_toSignature_4184_); +v_decls_4188_ = lean_ctor_get(v_a_4176_, 0); +v_paramSet_4189_ = lean_ctor_get(v_a_4176_, 2); +v_isSharedCheck_4218_ = !lean_is_exclusive(v_a_4176_); +if (v_isSharedCheck_4218_ == 0) { -lean_object* v_unused_3985_; -v_unused_3985_ = lean_ctor_get(v_a_3942_, 1); -lean_dec(v_unused_3985_); -v___x_3957_ = v_a_3942_; -v_isShared_3958_ = v_isSharedCheck_3984_; -goto v_resetjp_3956_; +lean_object* v_unused_4219_; +v_unused_4219_ = lean_ctor_get(v_a_4176_, 1); +lean_dec(v_unused_4219_); +v___x_4191_ = v_a_4176_; +v_isShared_4192_ = v_isSharedCheck_4218_; +goto v_resetjp_4190_; } else { -lean_inc(v_paramSet_3955_); -lean_inc(v_decls_3954_); -lean_dec(v_a_3942_); -v___x_3957_ = lean_box(0); -v_isShared_3958_ = v_isSharedCheck_3984_; -goto v_resetjp_3956_; +lean_inc(v_paramSet_4189_); +lean_inc(v_decls_4188_); +lean_dec(v_a_4176_); +v___x_4191_ = lean_box(0); +v_isShared_4192_ = v_isSharedCheck_4218_; +goto v_resetjp_4190_; } -v_resetjp_3956_: +v_resetjp_4190_: { -lean_object* v___y_3960_; lean_object* v___x_3974_; lean_object* v___x_3975_; uint8_t v___x_3976_; -v___x_3974_ = lean_unsigned_to_nat(0u); -v___x_3975_ = lean_array_get_size(v_params_3953_); -v___x_3976_ = lean_nat_dec_lt(v___x_3974_, v___x_3975_); -if (v___x_3976_ == 0) +lean_object* v___y_4194_; lean_object* v___x_4208_; lean_object* v___x_4209_; uint8_t v___x_4210_; +v___x_4208_ = lean_unsigned_to_nat(0u); +v___x_4209_ = lean_array_get_size(v_params_4187_); +v___x_4210_ = lean_nat_dec_lt(v___x_4208_, v___x_4209_); +if (v___x_4210_ == 0) { -lean_dec_ref(v_params_3953_); -v___y_3960_ = v_paramSet_3955_; -goto v___jp_3959_; +lean_dec_ref(v_params_4187_); +v___y_4194_ = v_paramSet_4189_; +goto v___jp_4193_; } else { -uint8_t v___x_3977_; -v___x_3977_ = lean_nat_dec_le(v___x_3975_, v___x_3975_); -if (v___x_3977_ == 0) +uint8_t v___x_4211_; +v___x_4211_ = lean_nat_dec_le(v___x_4209_, v___x_4209_); +if (v___x_4211_ == 0) { -if (v___x_3976_ == 0) +if (v___x_4210_ == 0) { -lean_dec_ref(v_params_3953_); -v___y_3960_ = v_paramSet_3955_; -goto v___jp_3959_; +lean_dec_ref(v_params_4187_); +v___y_4194_ = v_paramSet_4189_; +goto v___jp_4193_; } else { -size_t v___x_3978_; size_t v___x_3979_; lean_object* v___x_3980_; -v___x_3978_ = ((size_t)0ULL); -v___x_3979_ = lean_usize_of_nat(v___x_3975_); -v___x_3980_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_3953_, v___x_3978_, v___x_3979_, v_paramSet_3955_); -lean_dec_ref(v_params_3953_); -v___y_3960_ = v___x_3980_; -goto v___jp_3959_; +size_t v___x_4212_; size_t v___x_4213_; lean_object* v___x_4214_; +v___x_4212_ = ((size_t)0ULL); +v___x_4213_ = lean_usize_of_nat(v___x_4209_); +v___x_4214_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_4187_, v___x_4212_, v___x_4213_, v_paramSet_4189_); +lean_dec_ref(v_params_4187_); +v___y_4194_ = v___x_4214_; +goto v___jp_4193_; } } else { -size_t v___x_3981_; size_t v___x_3982_; lean_object* v___x_3983_; -v___x_3981_ = ((size_t)0ULL); -v___x_3982_ = lean_usize_of_nat(v___x_3975_); -v___x_3983_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_3953_, v___x_3981_, v___x_3982_, v_paramSet_3955_); -lean_dec_ref(v_params_3953_); -v___y_3960_ = v___x_3983_; -goto v___jp_3959_; +size_t v___x_4215_; size_t v___x_4216_; lean_object* v___x_4217_; +v___x_4215_ = ((size_t)0ULL); +v___x_4216_ = lean_usize_of_nat(v___x_4209_); +v___x_4217_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode_spec__1(v_params_4187_, v___x_4215_, v___x_4216_, v_paramSet_4189_); +lean_dec_ref(v_params_4187_); +v___y_4194_ = v___x_4217_; +goto v___jp_4193_; } } -v___jp_3959_: +v___jp_4193_: { -lean_object* v___x_3962_; -lean_inc(v_name_3952_); -if (v_isShared_3958_ == 0) +lean_object* v___x_4196_; +lean_inc(v_name_4186_); +if (v_isShared_4192_ == 0) { -lean_ctor_set(v___x_3957_, 2, v___y_3960_); -lean_ctor_set(v___x_3957_, 1, v_name_3952_); -v___x_3962_ = v___x_3957_; -goto v_reusejp_3961_; +lean_ctor_set(v___x_4191_, 2, v___y_4194_); +lean_ctor_set(v___x_4191_, 1, v_name_4186_); +v___x_4196_ = v___x_4191_; +goto v_reusejp_4195_; } else { -lean_object* v_reuseFailAlloc_3973_; -v_reuseFailAlloc_3973_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_3973_, 0, v_decls_3954_); -lean_ctor_set(v_reuseFailAlloc_3973_, 1, v_name_3952_); -lean_ctor_set(v_reuseFailAlloc_3973_, 2, v___y_3960_); -v___x_3962_ = v_reuseFailAlloc_3973_; -goto v_reusejp_3961_; +lean_object* v_reuseFailAlloc_4207_; +v_reuseFailAlloc_4207_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4207_, 0, v_decls_4188_); +lean_ctor_set(v_reuseFailAlloc_4207_, 1, v_name_4186_); +lean_ctor_set(v_reuseFailAlloc_4207_, 2, v___y_4194_); +v___x_4196_ = v_reuseFailAlloc_4207_; +goto v_reusejp_4195_; } -v_reusejp_3961_: +v_reusejp_4195_: { -lean_object* v___x_3963_; -lean_inc(v_a_3947_); -lean_inc_ref(v_a_3946_); -lean_inc(v_a_3945_); -lean_inc_ref(v_a_3944_); -lean_inc(v_a_3943_); -lean_inc_ref(v___x_3962_); -v___x_3963_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_code_3951_, v___x_3962_, v_a_3943_, v_a_3944_, v_a_3945_, v_a_3946_, v_a_3947_); -if (lean_obj_tag(v___x_3963_) == 0) +lean_object* v___x_4197_; +lean_inc(v_a_4181_); +lean_inc_ref(v_a_4180_); +lean_inc(v_a_4179_); +lean_inc_ref(v_a_4178_); +lean_inc(v_a_4177_); +lean_inc_ref(v___x_4196_); +v___x_4197_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectCode(v_code_4185_, v___x_4196_, v_a_4177_, v_a_4178_, v_a_4179_, v_a_4180_, v_a_4181_); +if (lean_obj_tag(v___x_4197_) == 0) { -lean_object* v___x_3965_; uint8_t v_isShared_3966_; uint8_t v_isSharedCheck_3971_; -v_isSharedCheck_3971_ = !lean_is_exclusive(v___x_3963_); -if (v_isSharedCheck_3971_ == 0) +lean_object* v___x_4199_; uint8_t v_isShared_4200_; uint8_t v_isSharedCheck_4205_; +v_isSharedCheck_4205_ = !lean_is_exclusive(v___x_4197_); +if (v_isSharedCheck_4205_ == 0) { -lean_object* v_unused_3972_; -v_unused_3972_ = lean_ctor_get(v___x_3963_, 0); -lean_dec(v_unused_3972_); -v___x_3965_ = v___x_3963_; -v_isShared_3966_ = v_isSharedCheck_3971_; -goto v_resetjp_3964_; +lean_object* v_unused_4206_; +v_unused_4206_ = lean_ctor_get(v___x_4197_, 0); +lean_dec(v_unused_4206_); +v___x_4199_ = v___x_4197_; +v_isShared_4200_ = v_isSharedCheck_4205_; +goto v_resetjp_4198_; } else { -lean_dec(v___x_3963_); -v___x_3965_ = lean_box(0); -v_isShared_3966_ = v_isSharedCheck_3971_; -goto v_resetjp_3964_; +lean_dec(v___x_4197_); +v___x_4199_ = lean_box(0); +v_isShared_4200_ = v_isSharedCheck_4205_; +goto v_resetjp_4198_; } -v_resetjp_3964_: +v_resetjp_4198_: { -lean_object* v___x_3968_; -if (v_isShared_3966_ == 0) +lean_object* v___x_4202_; +if (v_isShared_4200_ == 0) { -lean_ctor_set(v___x_3965_, 0, v_name_3952_); -v___x_3968_ = v___x_3965_; -goto v_reusejp_3967_; +lean_ctor_set(v___x_4199_, 0, v_name_4186_); +v___x_4202_ = v___x_4199_; +goto v_reusejp_4201_; } else { -lean_object* v_reuseFailAlloc_3970_; -v_reuseFailAlloc_3970_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3970_, 0, v_name_3952_); -v___x_3968_ = v_reuseFailAlloc_3970_; -goto v_reusejp_3967_; +lean_object* v_reuseFailAlloc_4204_; +v_reuseFailAlloc_4204_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4204_, 0, v_name_4186_); +v___x_4202_ = v_reuseFailAlloc_4204_; +goto v_reusejp_4201_; } -v_reusejp_3967_: +v_reusejp_4201_: { -lean_object* v___x_3969_; -v___x_3969_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v___x_3968_, v___x_3962_, v_a_3943_, v_a_3944_, v_a_3945_, v_a_3946_, v_a_3947_); -lean_dec(v_a_3947_); -lean_dec_ref(v_a_3946_); -lean_dec(v_a_3945_); -lean_dec_ref(v_a_3944_); -lean_dec(v_a_3943_); -lean_dec_ref(v___x_3962_); -return v___x_3969_; +lean_object* v___x_4203_; +v___x_4203_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_updateParamMap(v___x_4202_, v___x_4196_, v_a_4177_, v_a_4178_, v_a_4179_, v_a_4180_, v_a_4181_); +lean_dec(v_a_4181_); +lean_dec_ref(v_a_4180_); +lean_dec(v_a_4179_); +lean_dec_ref(v_a_4178_); +lean_dec(v_a_4177_); +lean_dec_ref(v___x_4196_); +return v___x_4203_; } } } else { -lean_dec_ref(v___x_3962_); -lean_dec(v_name_3952_); -lean_dec(v_a_3947_); -lean_dec_ref(v_a_3946_); -lean_dec(v_a_3945_); -lean_dec_ref(v_a_3944_); -lean_dec(v_a_3943_); -return v___x_3963_; +lean_dec_ref(v___x_4196_); +lean_dec(v_name_4186_); +lean_dec(v_a_4181_); +lean_dec_ref(v_a_4180_); +lean_dec(v_a_4179_); +lean_dec_ref(v_a_4178_); +lean_dec(v_a_4177_); +return v___x_4197_; } } } @@ -12708,284 +13731,284 @@ return v___x_3963_; } else { -lean_object* v___x_3986_; lean_object* v___x_3987_; -lean_dec_ref(v_value_3949_); -lean_dec(v_a_3947_); -lean_dec_ref(v_a_3946_); -lean_dec(v_a_3945_); -lean_dec_ref(v_a_3944_); -lean_dec(v_a_3943_); -lean_dec_ref(v_a_3942_); -lean_dec_ref(v_decl_3941_); -v___x_3986_ = lean_box(0); -v___x_3987_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3987_, 0, v___x_3986_); -return v___x_3987_; +lean_object* v___x_4220_; lean_object* v___x_4221_; +lean_dec_ref(v_value_4183_); +lean_dec(v_a_4181_); +lean_dec_ref(v_a_4180_); +lean_dec(v_a_4179_); +lean_dec_ref(v_a_4178_); +lean_dec(v_a_4177_); +lean_dec_ref(v_a_4176_); +lean_dec_ref(v_decl_4175_); +v___x_4220_ = lean_box(0); +v___x_4221_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4221_, 0, v___x_4220_); +return v___x_4221_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl___boxed(lean_object* v_decl_3988_, lean_object* v_a_3989_, lean_object* v_a_3990_, lean_object* v_a_3991_, lean_object* v_a_3992_, lean_object* v_a_3993_, lean_object* v_a_3994_, lean_object* v_a_3995_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl___boxed(lean_object* v_decl_4222_, lean_object* v_a_4223_, lean_object* v_a_4224_, lean_object* v_a_4225_, lean_object* v_a_4226_, lean_object* v_a_4227_, lean_object* v_a_4228_, lean_object* v_a_4229_){ _start: { -lean_object* v_res_3996_; -v_res_3996_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(v_decl_3988_, v_a_3989_, v_a_3990_, v_a_3991_, v_a_3992_, v_a_3993_, v_a_3994_); -return v_res_3996_; +lean_object* v_res_4230_; +v_res_4230_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(v_decl_4222_, v_a_4223_, v_a_4224_, v_a_4225_, v_a_4226_, v_a_4227_, v_a_4228_); +return v_res_4230_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(lean_object* v_as_3997_, size_t v_i_3998_, size_t v_stop_3999_, lean_object* v_b_4000_, lean_object* v___y_4001_, lean_object* v___y_4002_, lean_object* v___y_4003_, lean_object* v___y_4004_, lean_object* v___y_4005_, lean_object* v___y_4006_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(lean_object* v_as_4231_, size_t v_i_4232_, size_t v_stop_4233_, lean_object* v_b_4234_, lean_object* v___y_4235_, lean_object* v___y_4236_, lean_object* v___y_4237_, lean_object* v___y_4238_, lean_object* v___y_4239_, lean_object* v___y_4240_){ _start: { -uint8_t v___x_4008_; -v___x_4008_ = lean_usize_dec_eq(v_i_3998_, v_stop_3999_); -if (v___x_4008_ == 0) +uint8_t v___x_4242_; +v___x_4242_ = lean_usize_dec_eq(v_i_4232_, v_stop_4233_); +if (v___x_4242_ == 0) { -lean_object* v___x_4009_; lean_object* v___x_4010_; -v___x_4009_ = lean_array_uget_borrowed(v_as_3997_, v_i_3998_); -lean_inc(v___y_4006_); -lean_inc_ref(v___y_4005_); -lean_inc(v___y_4004_); -lean_inc_ref(v___y_4003_); -lean_inc(v___y_4002_); -lean_inc_ref(v___y_4001_); -lean_inc(v___x_4009_); -v___x_4010_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(v___x_4009_, v___y_4001_, v___y_4002_, v___y_4003_, v___y_4004_, v___y_4005_, v___y_4006_); -if (lean_obj_tag(v___x_4010_) == 0) +lean_object* v___x_4243_; lean_object* v___x_4244_; +v___x_4243_ = lean_array_uget_borrowed(v_as_4231_, v_i_4232_); +lean_inc(v___y_4240_); +lean_inc_ref(v___y_4239_); +lean_inc(v___y_4238_); +lean_inc_ref(v___y_4237_); +lean_inc(v___y_4236_); +lean_inc_ref(v___y_4235_); +lean_inc(v___x_4243_); +v___x_4244_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_collectDecl(v___x_4243_, v___y_4235_, v___y_4236_, v___y_4237_, v___y_4238_, v___y_4239_, v___y_4240_); +if (lean_obj_tag(v___x_4244_) == 0) { -lean_object* v_a_4011_; size_t v___x_4012_; size_t v___x_4013_; -v_a_4011_ = lean_ctor_get(v___x_4010_, 0); -lean_inc(v_a_4011_); -lean_dec_ref(v___x_4010_); -v___x_4012_ = ((size_t)1ULL); -v___x_4013_ = lean_usize_add(v_i_3998_, v___x_4012_); -v_i_3998_ = v___x_4013_; -v_b_4000_ = v_a_4011_; +lean_object* v_a_4245_; size_t v___x_4246_; size_t v___x_4247_; +v_a_4245_ = lean_ctor_get(v___x_4244_, 0); +lean_inc(v_a_4245_); +lean_dec_ref(v___x_4244_); +v___x_4246_ = ((size_t)1ULL); +v___x_4247_ = lean_usize_add(v_i_4232_, v___x_4246_); +v_i_4232_ = v___x_4247_; +v_b_4234_ = v_a_4245_; goto _start; } else { -lean_dec(v___y_4006_); -lean_dec_ref(v___y_4005_); -lean_dec(v___y_4004_); -lean_dec_ref(v___y_4003_); -lean_dec(v___y_4002_); -lean_dec_ref(v___y_4001_); -return v___x_4010_; +lean_dec(v___y_4240_); +lean_dec_ref(v___y_4239_); +lean_dec(v___y_4238_); +lean_dec_ref(v___y_4237_); +lean_dec(v___y_4236_); +lean_dec_ref(v___y_4235_); +return v___x_4244_; } } else { -lean_object* v___x_4015_; -lean_dec(v___y_4006_); -lean_dec_ref(v___y_4005_); -lean_dec(v___y_4004_); -lean_dec_ref(v___y_4003_); -lean_dec(v___y_4002_); -lean_dec_ref(v___y_4001_); -v___x_4015_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4015_, 0, v_b_4000_); -return v___x_4015_; +lean_object* v___x_4249_; +lean_dec(v___y_4240_); +lean_dec_ref(v___y_4239_); +lean_dec(v___y_4238_); +lean_dec_ref(v___y_4237_); +lean_dec(v___y_4236_); +lean_dec_ref(v___y_4235_); +v___x_4249_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4249_, 0, v_b_4234_); +return v___x_4249_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0___boxed(lean_object* v_as_4016_, lean_object* v_i_4017_, lean_object* v_stop_4018_, lean_object* v_b_4019_, lean_object* v___y_4020_, lean_object* v___y_4021_, lean_object* v___y_4022_, lean_object* v___y_4023_, lean_object* v___y_4024_, lean_object* v___y_4025_, lean_object* v___y_4026_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0___boxed(lean_object* v_as_4250_, lean_object* v_i_4251_, lean_object* v_stop_4252_, lean_object* v_b_4253_, lean_object* v___y_4254_, lean_object* v___y_4255_, lean_object* v___y_4256_, lean_object* v___y_4257_, lean_object* v___y_4258_, lean_object* v___y_4259_, lean_object* v___y_4260_){ _start: { -size_t v_i_boxed_4027_; size_t v_stop_boxed_4028_; lean_object* v_res_4029_; -v_i_boxed_4027_ = lean_unbox_usize(v_i_4017_); -lean_dec(v_i_4017_); -v_stop_boxed_4028_ = lean_unbox_usize(v_stop_4018_); -lean_dec(v_stop_4018_); -v_res_4029_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_as_4016_, v_i_boxed_4027_, v_stop_boxed_4028_, v_b_4019_, v___y_4020_, v___y_4021_, v___y_4022_, v___y_4023_, v___y_4024_, v___y_4025_); -lean_dec_ref(v_as_4016_); -return v_res_4029_; +size_t v_i_boxed_4261_; size_t v_stop_boxed_4262_; lean_object* v_res_4263_; +v_i_boxed_4261_ = lean_unbox_usize(v_i_4251_); +lean_dec(v_i_4251_); +v_stop_boxed_4262_ = lean_unbox_usize(v_stop_4252_); +lean_dec(v_stop_4252_); +v_res_4263_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_as_4250_, v_i_boxed_4261_, v_stop_boxed_4262_, v_b_4253_, v___y_4254_, v___y_4255_, v___y_4256_, v___y_4257_, v___y_4258_, v___y_4259_); +lean_dec_ref(v_as_4250_); +return v_res_4263_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(lean_object* v_a_4030_, lean_object* v_a_4031_, lean_object* v_a_4032_, lean_object* v_a_4033_, lean_object* v_a_4034_, lean_object* v_a_4035_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(lean_object* v_a_4264_, lean_object* v_a_4265_, lean_object* v_a_4266_, lean_object* v_a_4267_, lean_object* v_a_4268_, lean_object* v_a_4269_){ _start: { -lean_object* v_decls_4037_; lean_object* v___x_4038_; lean_object* v___x_4039_; lean_object* v___x_4040_; uint8_t v___x_4041_; -v_decls_4037_ = lean_ctor_get(v_a_4030_, 0); -lean_inc_ref(v_decls_4037_); -v___x_4038_ = lean_unsigned_to_nat(0u); -v___x_4039_ = lean_array_get_size(v_decls_4037_); -v___x_4040_ = lean_box(0); -v___x_4041_ = lean_nat_dec_lt(v___x_4038_, v___x_4039_); -if (v___x_4041_ == 0) +lean_object* v_decls_4271_; lean_object* v___x_4272_; lean_object* v___x_4273_; lean_object* v___x_4274_; uint8_t v___x_4275_; +v_decls_4271_ = lean_ctor_get(v_a_4264_, 0); +lean_inc_ref(v_decls_4271_); +v___x_4272_ = lean_unsigned_to_nat(0u); +v___x_4273_ = lean_array_get_size(v_decls_4271_); +v___x_4274_ = lean_box(0); +v___x_4275_ = lean_nat_dec_lt(v___x_4272_, v___x_4273_); +if (v___x_4275_ == 0) { -lean_object* v___x_4042_; -lean_dec_ref(v_decls_4037_); -lean_dec(v_a_4035_); -lean_dec_ref(v_a_4034_); -lean_dec(v_a_4033_); -lean_dec_ref(v_a_4032_); -lean_dec(v_a_4031_); -lean_dec_ref(v_a_4030_); -v___x_4042_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4042_, 0, v___x_4040_); -return v___x_4042_; +lean_object* v___x_4276_; +lean_dec_ref(v_decls_4271_); +lean_dec(v_a_4269_); +lean_dec_ref(v_a_4268_); +lean_dec(v_a_4267_); +lean_dec_ref(v_a_4266_); +lean_dec(v_a_4265_); +lean_dec_ref(v_a_4264_); +v___x_4276_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4276_, 0, v___x_4274_); +return v___x_4276_; } else { -uint8_t v___x_4043_; -v___x_4043_ = lean_nat_dec_le(v___x_4039_, v___x_4039_); -if (v___x_4043_ == 0) +uint8_t v___x_4277_; +v___x_4277_ = lean_nat_dec_le(v___x_4273_, v___x_4273_); +if (v___x_4277_ == 0) { -if (v___x_4041_ == 0) +if (v___x_4275_ == 0) { -lean_object* v___x_4044_; -lean_dec_ref(v_decls_4037_); -lean_dec(v_a_4035_); -lean_dec_ref(v_a_4034_); -lean_dec(v_a_4033_); -lean_dec_ref(v_a_4032_); -lean_dec(v_a_4031_); -lean_dec_ref(v_a_4030_); -v___x_4044_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4044_, 0, v___x_4040_); -return v___x_4044_; +lean_object* v___x_4278_; +lean_dec_ref(v_decls_4271_); +lean_dec(v_a_4269_); +lean_dec_ref(v_a_4268_); +lean_dec(v_a_4267_); +lean_dec_ref(v_a_4266_); +lean_dec(v_a_4265_); +lean_dec_ref(v_a_4264_); +v___x_4278_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4278_, 0, v___x_4274_); +return v___x_4278_; } else { -size_t v___x_4045_; size_t v___x_4046_; lean_object* v___x_4047_; -v___x_4045_ = ((size_t)0ULL); -v___x_4046_ = lean_usize_of_nat(v___x_4039_); -v___x_4047_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_decls_4037_, v___x_4045_, v___x_4046_, v___x_4040_, v_a_4030_, v_a_4031_, v_a_4032_, v_a_4033_, v_a_4034_, v_a_4035_); -lean_dec_ref(v_decls_4037_); -return v___x_4047_; +size_t v___x_4279_; size_t v___x_4280_; lean_object* v___x_4281_; +v___x_4279_ = ((size_t)0ULL); +v___x_4280_ = lean_usize_of_nat(v___x_4273_); +v___x_4281_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_decls_4271_, v___x_4279_, v___x_4280_, v___x_4274_, v_a_4264_, v_a_4265_, v_a_4266_, v_a_4267_, v_a_4268_, v_a_4269_); +lean_dec_ref(v_decls_4271_); +return v___x_4281_; } } else { -size_t v___x_4048_; size_t v___x_4049_; lean_object* v___x_4050_; -v___x_4048_ = ((size_t)0ULL); -v___x_4049_ = lean_usize_of_nat(v___x_4039_); -v___x_4050_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_decls_4037_, v___x_4048_, v___x_4049_, v___x_4040_, v_a_4030_, v_a_4031_, v_a_4032_, v_a_4033_, v_a_4034_, v_a_4035_); -lean_dec_ref(v_decls_4037_); -return v___x_4050_; +size_t v___x_4282_; size_t v___x_4283_; lean_object* v___x_4284_; +v___x_4282_ = ((size_t)0ULL); +v___x_4283_ = lean_usize_of_nat(v___x_4273_); +v___x_4284_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step_spec__0(v_decls_4271_, v___x_4282_, v___x_4283_, v___x_4274_, v_a_4264_, v_a_4265_, v_a_4266_, v_a_4267_, v_a_4268_, v_a_4269_); +lean_dec_ref(v_decls_4271_); +return v___x_4284_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step___boxed(lean_object* v_a_4051_, lean_object* v_a_4052_, lean_object* v_a_4053_, lean_object* v_a_4054_, lean_object* v_a_4055_, lean_object* v_a_4056_, lean_object* v_a_4057_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step___boxed(lean_object* v_a_4285_, lean_object* v_a_4286_, lean_object* v_a_4287_, lean_object* v_a_4288_, lean_object* v_a_4289_, lean_object* v_a_4290_, lean_object* v_a_4291_){ _start: { -lean_object* v_res_4058_; -v_res_4058_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(v_a_4051_, v_a_4052_, v_a_4053_, v_a_4054_, v_a_4055_, v_a_4056_); -return v_res_4058_; +lean_object* v_res_4292_; +v_res_4292_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(v_a_4285_, v_a_4286_, v_a_4287_, v_a_4288_, v_a_4289_, v_a_4290_); +return v_res_4292_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(lean_object* v_a_4059_, lean_object* v_a_4060_, lean_object* v_a_4061_, lean_object* v_a_4062_, lean_object* v_a_4063_, lean_object* v_a_4064_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(lean_object* v_a_4293_, lean_object* v_a_4294_, lean_object* v_a_4295_, lean_object* v_a_4296_, lean_object* v_a_4297_, lean_object* v_a_4298_){ _start: { -lean_object* v___x_4066_; -lean_inc(v_a_4064_); -lean_inc_ref(v_a_4063_); -lean_inc(v_a_4062_); -lean_inc_ref(v_a_4061_); -lean_inc(v_a_4060_); -lean_inc_ref(v_a_4059_); -v___x_4066_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(v_a_4059_, v_a_4060_, v_a_4061_, v_a_4062_, v_a_4063_, v_a_4064_); -if (lean_obj_tag(v___x_4066_) == 0) +lean_object* v___x_4300_; +lean_inc(v_a_4298_); +lean_inc_ref(v_a_4297_); +lean_inc(v_a_4296_); +lean_inc_ref(v_a_4295_); +lean_inc(v_a_4294_); +lean_inc_ref(v_a_4293_); +v___x_4300_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_step(v_a_4293_, v_a_4294_, v_a_4295_, v_a_4296_, v_a_4297_, v_a_4298_); +if (lean_obj_tag(v___x_4300_) == 0) { -lean_object* v___x_4068_; uint8_t v_isShared_4069_; uint8_t v_isSharedCheck_4089_; -v_isSharedCheck_4089_ = !lean_is_exclusive(v___x_4066_); -if (v_isSharedCheck_4089_ == 0) +lean_object* v___x_4302_; uint8_t v_isShared_4303_; uint8_t v_isSharedCheck_4323_; +v_isSharedCheck_4323_ = !lean_is_exclusive(v___x_4300_); +if (v_isSharedCheck_4323_ == 0) { -lean_object* v_unused_4090_; -v_unused_4090_ = lean_ctor_get(v___x_4066_, 0); -lean_dec(v_unused_4090_); -v___x_4068_ = v___x_4066_; -v_isShared_4069_ = v_isSharedCheck_4089_; -goto v_resetjp_4067_; +lean_object* v_unused_4324_; +v_unused_4324_ = lean_ctor_get(v___x_4300_, 0); +lean_dec(v_unused_4324_); +v___x_4302_ = v___x_4300_; +v_isShared_4303_ = v_isSharedCheck_4323_; +goto v_resetjp_4301_; } else { -lean_dec(v___x_4066_); -v___x_4068_ = lean_box(0); -v_isShared_4069_ = v_isSharedCheck_4089_; -goto v_resetjp_4067_; +lean_dec(v___x_4300_); +v___x_4302_ = lean_box(0); +v_isShared_4303_ = v_isSharedCheck_4323_; +goto v_resetjp_4301_; } -v_resetjp_4067_: +v_resetjp_4301_: { -lean_object* v___x_4070_; uint8_t v_modified_4071_; -v___x_4070_ = lean_st_ref_get(v_a_4060_); -v_modified_4071_ = lean_ctor_get_uint8(v___x_4070_, sizeof(void*)*2); -lean_dec(v___x_4070_); -if (v_modified_4071_ == 0) +lean_object* v___x_4304_; uint8_t v_modified_4305_; +v___x_4304_ = lean_st_ref_get(v_a_4294_); +v_modified_4305_ = lean_ctor_get_uint8(v___x_4304_, sizeof(void*)*2); +lean_dec(v___x_4304_); +if (v_modified_4305_ == 0) { -lean_object* v___x_4072_; lean_object* v___x_4074_; -lean_dec(v_a_4064_); -lean_dec_ref(v_a_4063_); -lean_dec(v_a_4062_); -lean_dec_ref(v_a_4061_); -lean_dec(v_a_4060_); -lean_dec_ref(v_a_4059_); -v___x_4072_ = lean_box(0); -if (v_isShared_4069_ == 0) +lean_object* v___x_4306_; lean_object* v___x_4308_; +lean_dec(v_a_4298_); +lean_dec_ref(v_a_4297_); +lean_dec(v_a_4296_); +lean_dec_ref(v_a_4295_); +lean_dec(v_a_4294_); +lean_dec_ref(v_a_4293_); +v___x_4306_ = lean_box(0); +if (v_isShared_4303_ == 0) { -lean_ctor_set(v___x_4068_, 0, v___x_4072_); -v___x_4074_ = v___x_4068_; -goto v_reusejp_4073_; +lean_ctor_set(v___x_4302_, 0, v___x_4306_); +v___x_4308_ = v___x_4302_; +goto v_reusejp_4307_; } else { -lean_object* v_reuseFailAlloc_4075_; -v_reuseFailAlloc_4075_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4075_, 0, v___x_4072_); -v___x_4074_ = v_reuseFailAlloc_4075_; -goto v_reusejp_4073_; +lean_object* v_reuseFailAlloc_4309_; +v_reuseFailAlloc_4309_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4309_, 0, v___x_4306_); +v___x_4308_ = v_reuseFailAlloc_4309_; +goto v_reusejp_4307_; } -v_reusejp_4073_: +v_reusejp_4307_: { -return v___x_4074_; +return v___x_4308_; } } else { -lean_object* v___x_4076_; lean_object* v_owned_4077_; lean_object* v_paramMap_4078_; lean_object* v___x_4080_; uint8_t v_isShared_4081_; uint8_t v_isSharedCheck_4088_; -lean_del_object(v___x_4068_); -v___x_4076_ = lean_st_ref_take(v_a_4060_); -v_owned_4077_ = lean_ctor_get(v___x_4076_, 0); -v_paramMap_4078_ = lean_ctor_get(v___x_4076_, 1); -v_isSharedCheck_4088_ = !lean_is_exclusive(v___x_4076_); -if (v_isSharedCheck_4088_ == 0) +lean_object* v___x_4310_; lean_object* v_owned_4311_; lean_object* v_paramMap_4312_; lean_object* v___x_4314_; uint8_t v_isShared_4315_; uint8_t v_isSharedCheck_4322_; +lean_del_object(v___x_4302_); +v___x_4310_ = lean_st_ref_take(v_a_4294_); +v_owned_4311_ = lean_ctor_get(v___x_4310_, 0); +v_paramMap_4312_ = lean_ctor_get(v___x_4310_, 1); +v_isSharedCheck_4322_ = !lean_is_exclusive(v___x_4310_); +if (v_isSharedCheck_4322_ == 0) { -v___x_4080_ = v___x_4076_; -v_isShared_4081_ = v_isSharedCheck_4088_; -goto v_resetjp_4079_; +v___x_4314_ = v___x_4310_; +v_isShared_4315_ = v_isSharedCheck_4322_; +goto v_resetjp_4313_; } else { -lean_inc(v_paramMap_4078_); -lean_inc(v_owned_4077_); -lean_dec(v___x_4076_); -v___x_4080_ = lean_box(0); -v_isShared_4081_ = v_isSharedCheck_4088_; -goto v_resetjp_4079_; +lean_inc(v_paramMap_4312_); +lean_inc(v_owned_4311_); +lean_dec(v___x_4310_); +v___x_4314_ = lean_box(0); +v_isShared_4315_ = v_isSharedCheck_4322_; +goto v_resetjp_4313_; } -v_resetjp_4079_: +v_resetjp_4313_: { -uint8_t v___x_4082_; lean_object* v___x_4084_; -v___x_4082_ = 0; -if (v_isShared_4081_ == 0) +uint8_t v___x_4316_; lean_object* v___x_4318_; +v___x_4316_ = 0; +if (v_isShared_4315_ == 0) { -v___x_4084_ = v___x_4080_; -goto v_reusejp_4083_; +v___x_4318_ = v___x_4314_; +goto v_reusejp_4317_; } else { -lean_object* v_reuseFailAlloc_4087_; -v_reuseFailAlloc_4087_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_4087_, 0, v_owned_4077_); -lean_ctor_set(v_reuseFailAlloc_4087_, 1, v_paramMap_4078_); -v___x_4084_ = v_reuseFailAlloc_4087_; -goto v_reusejp_4083_; +lean_object* v_reuseFailAlloc_4321_; +v_reuseFailAlloc_4321_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_4321_, 0, v_owned_4311_); +lean_ctor_set(v_reuseFailAlloc_4321_, 1, v_paramMap_4312_); +v___x_4318_ = v_reuseFailAlloc_4321_; +goto v_reusejp_4317_; } -v_reusejp_4083_: +v_reusejp_4317_: { -lean_object* v___x_4085_; -lean_ctor_set_uint8(v___x_4084_, sizeof(void*)*2, v___x_4082_); -v___x_4085_ = lean_st_ref_set(v_a_4060_, v___x_4084_); +lean_object* v___x_4319_; +lean_ctor_set_uint8(v___x_4318_, sizeof(void*)*2, v___x_4316_); +v___x_4319_ = lean_st_ref_set(v_a_4294_, v___x_4318_); goto _start; } } @@ -12994,367 +14017,367 @@ goto _start; } else { -lean_dec(v_a_4064_); -lean_dec_ref(v_a_4063_); -lean_dec(v_a_4062_); -lean_dec_ref(v_a_4061_); -lean_dec(v_a_4060_); -lean_dec_ref(v_a_4059_); -return v___x_4066_; +lean_dec(v_a_4298_); +lean_dec_ref(v_a_4297_); +lean_dec(v_a_4296_); +lean_dec_ref(v_a_4295_); +lean_dec(v_a_4294_); +lean_dec_ref(v_a_4293_); +return v___x_4300_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go___boxed(lean_object* v_a_4091_, lean_object* v_a_4092_, lean_object* v_a_4093_, lean_object* v_a_4094_, lean_object* v_a_4095_, lean_object* v_a_4096_, lean_object* v_a_4097_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go___boxed(lean_object* v_a_4325_, lean_object* v_a_4326_, lean_object* v_a_4327_, lean_object* v_a_4328_, lean_object* v_a_4329_, lean_object* v_a_4330_, lean_object* v_a_4331_){ _start: { -lean_object* v_res_4098_; -v_res_4098_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(v_a_4091_, v_a_4092_, v_a_4093_, v_a_4094_, v_a_4095_, v_a_4096_); -return v_res_4098_; +lean_object* v_res_4332_; +v_res_4332_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(v_a_4325_, v_a_4326_, v_a_4327_, v_a_4328_, v_a_4329_, v_a_4330_); +return v_res_4332_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(lean_object* v_decls_4099_, lean_object* v_a_4100_, lean_object* v_a_4101_, lean_object* v_a_4102_, lean_object* v_a_4103_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(lean_object* v_decls_4333_, lean_object* v_a_4334_, lean_object* v_a_4335_, lean_object* v_a_4336_, lean_object* v_a_4337_){ _start: { -lean_object* v___x_4105_; -lean_inc(v_a_4103_); -lean_inc_ref(v_a_4102_); -lean_inc(v_a_4101_); -lean_inc_ref(v_a_4100_); -v___x_4105_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(v_decls_4099_, v_a_4100_, v_a_4101_, v_a_4102_, v_a_4103_); -if (lean_obj_tag(v___x_4105_) == 0) +lean_object* v___x_4339_; +lean_inc(v_a_4337_); +lean_inc_ref(v_a_4336_); +lean_inc(v_a_4335_); +lean_inc_ref(v_a_4334_); +v___x_4339_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_mkInitParamMap(v_decls_4333_, v_a_4334_, v_a_4335_, v_a_4336_, v_a_4337_); +if (lean_obj_tag(v___x_4339_) == 0) { -lean_object* v_a_4106_; lean_object* v___x_4107_; uint8_t v___x_4108_; lean_object* v___x_4109_; lean_object* v___x_4110_; lean_object* v___x_4111_; lean_object* v___x_4112_; lean_object* v___x_4113_; lean_object* v___x_4114_; -v_a_4106_ = lean_ctor_get(v___x_4105_, 0); -lean_inc(v_a_4106_); -lean_dec_ref(v___x_4105_); -v___x_4107_ = l_Lean_instEmptyCollectionFVarIdHashSet; -v___x_4108_ = 0; -v___x_4109_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_4109_, 0, v___x_4107_); -lean_ctor_set(v___x_4109_, 1, v_a_4106_); -lean_ctor_set_uint8(v___x_4109_, sizeof(void*)*2, v___x_4108_); -v___x_4110_ = lean_st_mk_ref(v___x_4109_); -v___x_4111_ = lean_box(1); -v___x_4112_ = lean_box(0); -v___x_4113_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_4113_, 0, v_decls_4099_); -lean_ctor_set(v___x_4113_, 1, v___x_4112_); -lean_ctor_set(v___x_4113_, 2, v___x_4111_); -lean_inc(v___x_4110_); -v___x_4114_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(v___x_4113_, v___x_4110_, v_a_4100_, v_a_4101_, v_a_4102_, v_a_4103_); -if (lean_obj_tag(v___x_4114_) == 0) +lean_object* v_a_4340_; lean_object* v___x_4341_; uint8_t v___x_4342_; lean_object* v___x_4343_; lean_object* v___x_4344_; lean_object* v___x_4345_; lean_object* v___x_4346_; lean_object* v___x_4347_; lean_object* v___x_4348_; +v_a_4340_ = lean_ctor_get(v___x_4339_, 0); +lean_inc(v_a_4340_); +lean_dec_ref(v___x_4339_); +v___x_4341_ = l_Lean_instEmptyCollectionFVarIdHashSet; +v___x_4342_ = 0; +v___x_4343_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_4343_, 0, v___x_4341_); +lean_ctor_set(v___x_4343_, 1, v_a_4340_); +lean_ctor_set_uint8(v___x_4343_, sizeof(void*)*2, v___x_4342_); +v___x_4344_ = lean_st_mk_ref(v___x_4343_); +v___x_4345_ = lean_box(1); +v___x_4346_ = lean_box(0); +v___x_4347_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_4347_, 0, v_decls_4333_); +lean_ctor_set(v___x_4347_, 1, v___x_4346_); +lean_ctor_set(v___x_4347_, 2, v___x_4345_); +lean_inc(v___x_4344_); +v___x_4348_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_go(v___x_4347_, v___x_4344_, v_a_4334_, v_a_4335_, v_a_4336_, v_a_4337_); +if (lean_obj_tag(v___x_4348_) == 0) { -lean_object* v___x_4116_; uint8_t v_isShared_4117_; uint8_t v_isSharedCheck_4123_; -v_isSharedCheck_4123_ = !lean_is_exclusive(v___x_4114_); -if (v_isSharedCheck_4123_ == 0) +lean_object* v___x_4350_; uint8_t v_isShared_4351_; uint8_t v_isSharedCheck_4357_; +v_isSharedCheck_4357_ = !lean_is_exclusive(v___x_4348_); +if (v_isSharedCheck_4357_ == 0) { -lean_object* v_unused_4124_; -v_unused_4124_ = lean_ctor_get(v___x_4114_, 0); -lean_dec(v_unused_4124_); -v___x_4116_ = v___x_4114_; -v_isShared_4117_ = v_isSharedCheck_4123_; -goto v_resetjp_4115_; +lean_object* v_unused_4358_; +v_unused_4358_ = lean_ctor_get(v___x_4348_, 0); +lean_dec(v_unused_4358_); +v___x_4350_ = v___x_4348_; +v_isShared_4351_ = v_isSharedCheck_4357_; +goto v_resetjp_4349_; } else { -lean_dec(v___x_4114_); -v___x_4116_ = lean_box(0); -v_isShared_4117_ = v_isSharedCheck_4123_; -goto v_resetjp_4115_; +lean_dec(v___x_4348_); +v___x_4350_ = lean_box(0); +v_isShared_4351_ = v_isSharedCheck_4357_; +goto v_resetjp_4349_; } -v_resetjp_4115_: +v_resetjp_4349_: { -lean_object* v___x_4118_; lean_object* v_paramMap_4119_; lean_object* v___x_4121_; -v___x_4118_ = lean_st_ref_get(v___x_4110_); -lean_dec(v___x_4110_); -v_paramMap_4119_ = lean_ctor_get(v___x_4118_, 1); -lean_inc_ref(v_paramMap_4119_); -lean_dec(v___x_4118_); -if (v_isShared_4117_ == 0) +lean_object* v___x_4352_; lean_object* v_paramMap_4353_; lean_object* v___x_4355_; +v___x_4352_ = lean_st_ref_get(v___x_4344_); +lean_dec(v___x_4344_); +v_paramMap_4353_ = lean_ctor_get(v___x_4352_, 1); +lean_inc_ref(v_paramMap_4353_); +lean_dec(v___x_4352_); +if (v_isShared_4351_ == 0) { -lean_ctor_set(v___x_4116_, 0, v_paramMap_4119_); -v___x_4121_ = v___x_4116_; -goto v_reusejp_4120_; +lean_ctor_set(v___x_4350_, 0, v_paramMap_4353_); +v___x_4355_ = v___x_4350_; +goto v_reusejp_4354_; } else { -lean_object* v_reuseFailAlloc_4122_; -v_reuseFailAlloc_4122_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4122_, 0, v_paramMap_4119_); -v___x_4121_ = v_reuseFailAlloc_4122_; -goto v_reusejp_4120_; +lean_object* v_reuseFailAlloc_4356_; +v_reuseFailAlloc_4356_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4356_, 0, v_paramMap_4353_); +v___x_4355_ = v_reuseFailAlloc_4356_; +goto v_reusejp_4354_; } -v_reusejp_4120_: +v_reusejp_4354_: { -return v___x_4121_; +return v___x_4355_; } } } else { -lean_object* v_a_4125_; lean_object* v___x_4127_; uint8_t v_isShared_4128_; uint8_t v_isSharedCheck_4132_; -lean_dec(v___x_4110_); -v_a_4125_ = lean_ctor_get(v___x_4114_, 0); -v_isSharedCheck_4132_ = !lean_is_exclusive(v___x_4114_); -if (v_isSharedCheck_4132_ == 0) +lean_object* v_a_4359_; lean_object* v___x_4361_; uint8_t v_isShared_4362_; uint8_t v_isSharedCheck_4366_; +lean_dec(v___x_4344_); +v_a_4359_ = lean_ctor_get(v___x_4348_, 0); +v_isSharedCheck_4366_ = !lean_is_exclusive(v___x_4348_); +if (v_isSharedCheck_4366_ == 0) { -v___x_4127_ = v___x_4114_; -v_isShared_4128_ = v_isSharedCheck_4132_; -goto v_resetjp_4126_; +v___x_4361_ = v___x_4348_; +v_isShared_4362_ = v_isSharedCheck_4366_; +goto v_resetjp_4360_; } else { -lean_inc(v_a_4125_); -lean_dec(v___x_4114_); -v___x_4127_ = lean_box(0); -v_isShared_4128_ = v_isSharedCheck_4132_; -goto v_resetjp_4126_; +lean_inc(v_a_4359_); +lean_dec(v___x_4348_); +v___x_4361_ = lean_box(0); +v_isShared_4362_ = v_isSharedCheck_4366_; +goto v_resetjp_4360_; } -v_resetjp_4126_: +v_resetjp_4360_: { -lean_object* v___x_4130_; -if (v_isShared_4128_ == 0) +lean_object* v___x_4364_; +if (v_isShared_4362_ == 0) { -v___x_4130_ = v___x_4127_; -goto v_reusejp_4129_; +v___x_4364_ = v___x_4361_; +goto v_reusejp_4363_; } else { -lean_object* v_reuseFailAlloc_4131_; -v_reuseFailAlloc_4131_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4131_, 0, v_a_4125_); -v___x_4130_ = v_reuseFailAlloc_4131_; -goto v_reusejp_4129_; +lean_object* v_reuseFailAlloc_4365_; +v_reuseFailAlloc_4365_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4365_, 0, v_a_4359_); +v___x_4364_ = v_reuseFailAlloc_4365_; +goto v_reusejp_4363_; } -v_reusejp_4129_: +v_reusejp_4363_: { -return v___x_4130_; +return v___x_4364_; } } } } else { -lean_dec(v_a_4103_); -lean_dec_ref(v_a_4102_); -lean_dec(v_a_4101_); -lean_dec_ref(v_a_4100_); -lean_dec_ref(v_decls_4099_); -return v___x_4105_; +lean_dec(v_a_4337_); +lean_dec_ref(v_a_4336_); +lean_dec(v_a_4335_); +lean_dec_ref(v_a_4334_); +lean_dec_ref(v_decls_4333_); +return v___x_4339_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer___boxed(lean_object* v_decls_4133_, lean_object* v_a_4134_, lean_object* v_a_4135_, lean_object* v_a_4136_, lean_object* v_a_4137_, lean_object* v_a_4138_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer___boxed(lean_object* v_decls_4367_, lean_object* v_a_4368_, lean_object* v_a_4369_, lean_object* v_a_4370_, lean_object* v_a_4371_, lean_object* v_a_4372_){ _start: { -lean_object* v_res_4139_; -v_res_4139_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(v_decls_4133_, v_a_4134_, v_a_4135_, v_a_4136_, v_a_4137_); -return v_res_4139_; +lean_object* v_res_4373_; +v_res_4373_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(v_decls_4367_, v_a_4368_, v_a_4369_, v_a_4370_, v_a_4371_); +return v_res_4373_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(lean_object* v_as_4140_, size_t v_i_4141_, size_t v_stop_4142_, lean_object* v_b_4143_, lean_object* v___y_4144_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(lean_object* v_as_4374_, size_t v_i_4375_, size_t v_stop_4376_, lean_object* v_b_4377_, lean_object* v___y_4378_){ _start: { -uint8_t v___x_4146_; -v___x_4146_ = lean_usize_dec_eq(v_i_4141_, v_stop_4142_); -if (v___x_4146_ == 0) +uint8_t v___x_4380_; +v___x_4380_ = lean_usize_dec_eq(v_i_4375_, v_stop_4376_); +if (v___x_4380_ == 0) { -lean_object* v___x_4147_; lean_object* v___x_4148_; -v___x_4147_ = lean_array_uget_borrowed(v_as_4140_, v_i_4141_); -lean_inc(v___x_4147_); -v___x_4148_ = l_Lean_Compiler_LCNF_Decl_saveImpure___redArg(v___x_4147_, v___y_4144_); -if (lean_obj_tag(v___x_4148_) == 0) +lean_object* v___x_4381_; lean_object* v___x_4382_; +v___x_4381_ = lean_array_uget_borrowed(v_as_4374_, v_i_4375_); +lean_inc(v___x_4381_); +v___x_4382_ = l_Lean_Compiler_LCNF_Decl_saveImpure___redArg(v___x_4381_, v___y_4378_); +if (lean_obj_tag(v___x_4382_) == 0) { -lean_object* v_a_4149_; size_t v___x_4150_; size_t v___x_4151_; -v_a_4149_ = lean_ctor_get(v___x_4148_, 0); -lean_inc(v_a_4149_); -lean_dec_ref(v___x_4148_); -v___x_4150_ = ((size_t)1ULL); -v___x_4151_ = lean_usize_add(v_i_4141_, v___x_4150_); -v_i_4141_ = v___x_4151_; -v_b_4143_ = v_a_4149_; +lean_object* v_a_4383_; size_t v___x_4384_; size_t v___x_4385_; +v_a_4383_ = lean_ctor_get(v___x_4382_, 0); +lean_inc(v_a_4383_); +lean_dec_ref(v___x_4382_); +v___x_4384_ = ((size_t)1ULL); +v___x_4385_ = lean_usize_add(v_i_4375_, v___x_4384_); +v_i_4375_ = v___x_4385_; +v_b_4377_ = v_a_4383_; goto _start; } else { -return v___x_4148_; +return v___x_4382_; } } else { -lean_object* v___x_4153_; -v___x_4153_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4153_, 0, v_b_4143_); -return v___x_4153_; +lean_object* v___x_4387_; +v___x_4387_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4387_, 0, v_b_4377_); +return v___x_4387_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg___boxed(lean_object* v_as_4154_, lean_object* v_i_4155_, lean_object* v_stop_4156_, lean_object* v_b_4157_, lean_object* v___y_4158_, lean_object* v___y_4159_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg___boxed(lean_object* v_as_4388_, lean_object* v_i_4389_, lean_object* v_stop_4390_, lean_object* v_b_4391_, lean_object* v___y_4392_, lean_object* v___y_4393_){ _start: { -size_t v_i_boxed_4160_; size_t v_stop_boxed_4161_; lean_object* v_res_4162_; -v_i_boxed_4160_ = lean_unbox_usize(v_i_4155_); -lean_dec(v_i_4155_); -v_stop_boxed_4161_ = lean_unbox_usize(v_stop_4156_); -lean_dec(v_stop_4156_); -v_res_4162_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_as_4154_, v_i_boxed_4160_, v_stop_boxed_4161_, v_b_4157_, v___y_4158_); -lean_dec(v___y_4158_); -lean_dec_ref(v_as_4154_); -return v_res_4162_; +size_t v_i_boxed_4394_; size_t v_stop_boxed_4395_; lean_object* v_res_4396_; +v_i_boxed_4394_ = lean_unbox_usize(v_i_4389_); +lean_dec(v_i_4389_); +v_stop_boxed_4395_ = lean_unbox_usize(v_stop_4390_); +lean_dec(v_stop_4390_); +v_res_4396_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_as_4388_, v_i_boxed_4394_, v_stop_boxed_4395_, v_b_4391_, v___y_4392_); +lean_dec(v___y_4392_); +lean_dec_ref(v_as_4388_); +return v_res_4396_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferBorrow___lam__0(lean_object* v___x_4163_, lean_object* v_decls_4164_, lean_object* v___y_4165_, lean_object* v___y_4166_, lean_object* v___y_4167_, lean_object* v___y_4168_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferBorrow___lam__0(lean_object* v___x_4397_, lean_object* v_decls_4398_, lean_object* v___y_4399_, lean_object* v___y_4400_, lean_object* v___y_4401_, lean_object* v___y_4402_){ _start: { -lean_object* v___x_4170_; -lean_inc(v___y_4168_); -lean_inc_ref(v___y_4167_); -lean_inc(v___y_4166_); -lean_inc_ref(v___y_4165_); -lean_inc_ref(v_decls_4164_); -v___x_4170_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(v_decls_4164_, v___y_4165_, v___y_4166_, v___y_4167_, v___y_4168_); -if (lean_obj_tag(v___x_4170_) == 0) +lean_object* v___x_4404_; +lean_inc(v___y_4402_); +lean_inc_ref(v___y_4401_); +lean_inc(v___y_4400_); +lean_inc_ref(v___y_4399_); +lean_inc_ref(v_decls_4398_); +v___x_4404_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer(v_decls_4398_, v___y_4399_, v___y_4400_, v___y_4401_, v___y_4402_); +if (lean_obj_tag(v___x_4404_) == 0) { -lean_object* v_a_4171_; lean_object* v___x_4172_; -v_a_4171_ = lean_ctor_get(v___x_4170_, 0); -lean_inc(v_a_4171_); -lean_dec_ref(v___x_4170_); -lean_inc(v___y_4168_); -v___x_4172_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(v_decls_4164_, v_a_4171_, v___y_4165_, v___y_4166_, v___y_4167_, v___y_4168_); -if (lean_obj_tag(v___x_4172_) == 0) +lean_object* v_a_4405_; lean_object* v___x_4406_; +v_a_4405_ = lean_ctor_get(v___x_4404_, 0); +lean_inc(v_a_4405_); +lean_dec_ref(v___x_4404_); +lean_inc(v___y_4402_); +v___x_4406_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_apply(v_decls_4398_, v_a_4405_, v___y_4399_, v___y_4400_, v___y_4401_, v___y_4402_); +if (lean_obj_tag(v___x_4406_) == 0) { -lean_object* v_a_4173_; lean_object* v___y_4175_; lean_object* v___x_4192_; uint8_t v___x_4193_; -v_a_4173_ = lean_ctor_get(v___x_4172_, 0); -lean_inc(v_a_4173_); -v___x_4192_ = lean_array_get_size(v_a_4173_); -v___x_4193_ = lean_nat_dec_lt(v___x_4163_, v___x_4192_); -if (v___x_4193_ == 0) +lean_object* v_a_4407_; lean_object* v___y_4409_; lean_object* v___x_4426_; uint8_t v___x_4427_; +v_a_4407_ = lean_ctor_get(v___x_4406_, 0); +lean_inc(v_a_4407_); +v___x_4426_ = lean_array_get_size(v_a_4407_); +v___x_4427_ = lean_nat_dec_lt(v___x_4397_, v___x_4426_); +if (v___x_4427_ == 0) { -lean_dec(v_a_4173_); -lean_dec(v___y_4168_); -return v___x_4172_; +lean_dec(v_a_4407_); +lean_dec(v___y_4402_); +return v___x_4406_; } else { -lean_object* v___x_4194_; uint8_t v___x_4195_; -v___x_4194_ = lean_box(0); -v___x_4195_ = lean_nat_dec_le(v___x_4192_, v___x_4192_); -if (v___x_4195_ == 0) +lean_object* v___x_4428_; uint8_t v___x_4429_; +v___x_4428_ = lean_box(0); +v___x_4429_ = lean_nat_dec_le(v___x_4426_, v___x_4426_); +if (v___x_4429_ == 0) { -if (v___x_4193_ == 0) +if (v___x_4427_ == 0) { -lean_dec(v_a_4173_); -lean_dec(v___y_4168_); -return v___x_4172_; +lean_dec(v_a_4407_); +lean_dec(v___y_4402_); +return v___x_4406_; } else { -size_t v___x_4196_; size_t v___x_4197_; lean_object* v___x_4198_; -lean_dec_ref(v___x_4172_); -v___x_4196_ = ((size_t)0ULL); -v___x_4197_ = lean_usize_of_nat(v___x_4192_); -v___x_4198_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_a_4173_, v___x_4196_, v___x_4197_, v___x_4194_, v___y_4168_); -lean_dec(v___y_4168_); -v___y_4175_ = v___x_4198_; -goto v___jp_4174_; +size_t v___x_4430_; size_t v___x_4431_; lean_object* v___x_4432_; +lean_dec_ref(v___x_4406_); +v___x_4430_ = ((size_t)0ULL); +v___x_4431_ = lean_usize_of_nat(v___x_4426_); +v___x_4432_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_a_4407_, v___x_4430_, v___x_4431_, v___x_4428_, v___y_4402_); +lean_dec(v___y_4402_); +v___y_4409_ = v___x_4432_; +goto v___jp_4408_; } } else { -size_t v___x_4199_; size_t v___x_4200_; lean_object* v___x_4201_; -lean_dec_ref(v___x_4172_); -v___x_4199_ = ((size_t)0ULL); -v___x_4200_ = lean_usize_of_nat(v___x_4192_); -v___x_4201_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_a_4173_, v___x_4199_, v___x_4200_, v___x_4194_, v___y_4168_); -lean_dec(v___y_4168_); -v___y_4175_ = v___x_4201_; -goto v___jp_4174_; +size_t v___x_4433_; size_t v___x_4434_; lean_object* v___x_4435_; +lean_dec_ref(v___x_4406_); +v___x_4433_ = ((size_t)0ULL); +v___x_4434_ = lean_usize_of_nat(v___x_4426_); +v___x_4435_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_a_4407_, v___x_4433_, v___x_4434_, v___x_4428_, v___y_4402_); +lean_dec(v___y_4402_); +v___y_4409_ = v___x_4435_; +goto v___jp_4408_; } } -v___jp_4174_: +v___jp_4408_: { -if (lean_obj_tag(v___y_4175_) == 0) +if (lean_obj_tag(v___y_4409_) == 0) { -lean_object* v___x_4177_; uint8_t v_isShared_4178_; uint8_t v_isSharedCheck_4182_; -v_isSharedCheck_4182_ = !lean_is_exclusive(v___y_4175_); -if (v_isSharedCheck_4182_ == 0) +lean_object* v___x_4411_; uint8_t v_isShared_4412_; uint8_t v_isSharedCheck_4416_; +v_isSharedCheck_4416_ = !lean_is_exclusive(v___y_4409_); +if (v_isSharedCheck_4416_ == 0) { -lean_object* v_unused_4183_; -v_unused_4183_ = lean_ctor_get(v___y_4175_, 0); -lean_dec(v_unused_4183_); -v___x_4177_ = v___y_4175_; -v_isShared_4178_ = v_isSharedCheck_4182_; -goto v_resetjp_4176_; +lean_object* v_unused_4417_; +v_unused_4417_ = lean_ctor_get(v___y_4409_, 0); +lean_dec(v_unused_4417_); +v___x_4411_ = v___y_4409_; +v_isShared_4412_ = v_isSharedCheck_4416_; +goto v_resetjp_4410_; } else { -lean_dec(v___y_4175_); -v___x_4177_ = lean_box(0); -v_isShared_4178_ = v_isSharedCheck_4182_; -goto v_resetjp_4176_; +lean_dec(v___y_4409_); +v___x_4411_ = lean_box(0); +v_isShared_4412_ = v_isSharedCheck_4416_; +goto v_resetjp_4410_; } -v_resetjp_4176_: +v_resetjp_4410_: { -lean_object* v___x_4180_; -if (v_isShared_4178_ == 0) +lean_object* v___x_4414_; +if (v_isShared_4412_ == 0) { -lean_ctor_set(v___x_4177_, 0, v_a_4173_); -v___x_4180_ = v___x_4177_; -goto v_reusejp_4179_; +lean_ctor_set(v___x_4411_, 0, v_a_4407_); +v___x_4414_ = v___x_4411_; +goto v_reusejp_4413_; } else { -lean_object* v_reuseFailAlloc_4181_; -v_reuseFailAlloc_4181_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4181_, 0, v_a_4173_); -v___x_4180_ = v_reuseFailAlloc_4181_; -goto v_reusejp_4179_; +lean_object* v_reuseFailAlloc_4415_; +v_reuseFailAlloc_4415_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4415_, 0, v_a_4407_); +v___x_4414_ = v_reuseFailAlloc_4415_; +goto v_reusejp_4413_; } -v_reusejp_4179_: +v_reusejp_4413_: { -return v___x_4180_; +return v___x_4414_; } } } else { -lean_object* v_a_4184_; lean_object* v___x_4186_; uint8_t v_isShared_4187_; uint8_t v_isSharedCheck_4191_; -lean_dec(v_a_4173_); -v_a_4184_ = lean_ctor_get(v___y_4175_, 0); -v_isSharedCheck_4191_ = !lean_is_exclusive(v___y_4175_); -if (v_isSharedCheck_4191_ == 0) +lean_object* v_a_4418_; lean_object* v___x_4420_; uint8_t v_isShared_4421_; uint8_t v_isSharedCheck_4425_; +lean_dec(v_a_4407_); +v_a_4418_ = lean_ctor_get(v___y_4409_, 0); +v_isSharedCheck_4425_ = !lean_is_exclusive(v___y_4409_); +if (v_isSharedCheck_4425_ == 0) { -v___x_4186_ = v___y_4175_; -v_isShared_4187_ = v_isSharedCheck_4191_; -goto v_resetjp_4185_; +v___x_4420_ = v___y_4409_; +v_isShared_4421_ = v_isSharedCheck_4425_; +goto v_resetjp_4419_; } else { -lean_inc(v_a_4184_); -lean_dec(v___y_4175_); -v___x_4186_ = lean_box(0); -v_isShared_4187_ = v_isSharedCheck_4191_; -goto v_resetjp_4185_; +lean_inc(v_a_4418_); +lean_dec(v___y_4409_); +v___x_4420_ = lean_box(0); +v_isShared_4421_ = v_isSharedCheck_4425_; +goto v_resetjp_4419_; } -v_resetjp_4185_: +v_resetjp_4419_: { -lean_object* v___x_4189_; -if (v_isShared_4187_ == 0) +lean_object* v___x_4423_; +if (v_isShared_4421_ == 0) { -v___x_4189_ = v___x_4186_; -goto v_reusejp_4188_; +v___x_4423_ = v___x_4420_; +goto v_reusejp_4422_; } else { -lean_object* v_reuseFailAlloc_4190_; -v_reuseFailAlloc_4190_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4190_, 0, v_a_4184_); -v___x_4189_ = v_reuseFailAlloc_4190_; -goto v_reusejp_4188_; +lean_object* v_reuseFailAlloc_4424_; +v_reuseFailAlloc_4424_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4424_, 0, v_a_4418_); +v___x_4423_ = v_reuseFailAlloc_4424_; +goto v_reusejp_4422_; } -v_reusejp_4188_: +v_reusejp_4422_: { -return v___x_4189_; +return v___x_4423_; } } } @@ -13362,109 +14385,109 @@ return v___x_4189_; } else { -lean_dec(v___y_4168_); -return v___x_4172_; +lean_dec(v___y_4402_); +return v___x_4406_; } } else { -lean_object* v_a_4202_; lean_object* v___x_4204_; uint8_t v_isShared_4205_; uint8_t v_isSharedCheck_4209_; -lean_dec(v___y_4168_); -lean_dec_ref(v___y_4167_); -lean_dec(v___y_4166_); -lean_dec_ref(v___y_4165_); -lean_dec_ref(v_decls_4164_); -v_a_4202_ = lean_ctor_get(v___x_4170_, 0); -v_isSharedCheck_4209_ = !lean_is_exclusive(v___x_4170_); -if (v_isSharedCheck_4209_ == 0) +lean_object* v_a_4436_; lean_object* v___x_4438_; uint8_t v_isShared_4439_; uint8_t v_isSharedCheck_4443_; +lean_dec(v___y_4402_); +lean_dec_ref(v___y_4401_); +lean_dec(v___y_4400_); +lean_dec_ref(v___y_4399_); +lean_dec_ref(v_decls_4398_); +v_a_4436_ = lean_ctor_get(v___x_4404_, 0); +v_isSharedCheck_4443_ = !lean_is_exclusive(v___x_4404_); +if (v_isSharedCheck_4443_ == 0) { -v___x_4204_ = v___x_4170_; -v_isShared_4205_ = v_isSharedCheck_4209_; -goto v_resetjp_4203_; +v___x_4438_ = v___x_4404_; +v_isShared_4439_ = v_isSharedCheck_4443_; +goto v_resetjp_4437_; } else { -lean_inc(v_a_4202_); -lean_dec(v___x_4170_); -v___x_4204_ = lean_box(0); -v_isShared_4205_ = v_isSharedCheck_4209_; -goto v_resetjp_4203_; +lean_inc(v_a_4436_); +lean_dec(v___x_4404_); +v___x_4438_ = lean_box(0); +v_isShared_4439_ = v_isSharedCheck_4443_; +goto v_resetjp_4437_; } -v_resetjp_4203_: +v_resetjp_4437_: { -lean_object* v___x_4207_; -if (v_isShared_4205_ == 0) +lean_object* v___x_4441_; +if (v_isShared_4439_ == 0) { -v___x_4207_ = v___x_4204_; -goto v_reusejp_4206_; +v___x_4441_ = v___x_4438_; +goto v_reusejp_4440_; } else { -lean_object* v_reuseFailAlloc_4208_; -v_reuseFailAlloc_4208_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4208_, 0, v_a_4202_); -v___x_4207_ = v_reuseFailAlloc_4208_; -goto v_reusejp_4206_; +lean_object* v_reuseFailAlloc_4442_; +v_reuseFailAlloc_4442_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4442_, 0, v_a_4436_); +v___x_4441_ = v_reuseFailAlloc_4442_; +goto v_reusejp_4440_; } -v_reusejp_4206_: +v_reusejp_4440_: { -return v___x_4207_; +return v___x_4441_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferBorrow___lam__0___boxed(lean_object* v___x_4210_, lean_object* v_decls_4211_, lean_object* v___y_4212_, lean_object* v___y_4213_, lean_object* v___y_4214_, lean_object* v___y_4215_, lean_object* v___y_4216_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferBorrow___lam__0___boxed(lean_object* v___x_4444_, lean_object* v_decls_4445_, lean_object* v___y_4446_, lean_object* v___y_4447_, lean_object* v___y_4448_, lean_object* v___y_4449_, lean_object* v___y_4450_){ _start: { -lean_object* v_res_4217_; -v_res_4217_ = l_Lean_Compiler_LCNF_inferBorrow___lam__0(v___x_4210_, v_decls_4211_, v___y_4212_, v___y_4213_, v___y_4214_, v___y_4215_); -lean_dec(v___x_4210_); -return v_res_4217_; +lean_object* v_res_4451_; +v_res_4451_ = l_Lean_Compiler_LCNF_inferBorrow___lam__0(v___x_4444_, v_decls_4445_, v___y_4446_, v___y_4447_, v___y_4448_, v___y_4449_); +lean_dec(v___x_4444_); +return v_res_4451_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0(lean_object* v_as_4229_, size_t v_i_4230_, size_t v_stop_4231_, lean_object* v_b_4232_, lean_object* v___y_4233_, lean_object* v___y_4234_, lean_object* v___y_4235_, lean_object* v___y_4236_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0(lean_object* v_as_4463_, size_t v_i_4464_, size_t v_stop_4465_, lean_object* v_b_4466_, lean_object* v___y_4467_, lean_object* v___y_4468_, lean_object* v___y_4469_, lean_object* v___y_4470_){ _start: { -lean_object* v___x_4238_; -v___x_4238_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_as_4229_, v_i_4230_, v_stop_4231_, v_b_4232_, v___y_4236_); -return v___x_4238_; +lean_object* v___x_4472_; +v___x_4472_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___redArg(v_as_4463_, v_i_4464_, v_stop_4465_, v_b_4466_, v___y_4470_); +return v___x_4472_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___boxed(lean_object* v_as_4239_, lean_object* v_i_4240_, lean_object* v_stop_4241_, lean_object* v_b_4242_, lean_object* v___y_4243_, lean_object* v___y_4244_, lean_object* v___y_4245_, lean_object* v___y_4246_, lean_object* v___y_4247_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0___boxed(lean_object* v_as_4473_, lean_object* v_i_4474_, lean_object* v_stop_4475_, lean_object* v_b_4476_, lean_object* v___y_4477_, lean_object* v___y_4478_, lean_object* v___y_4479_, lean_object* v___y_4480_, lean_object* v___y_4481_){ _start: { -size_t v_i_boxed_4248_; size_t v_stop_boxed_4249_; lean_object* v_res_4250_; -v_i_boxed_4248_ = lean_unbox_usize(v_i_4240_); -lean_dec(v_i_4240_); -v_stop_boxed_4249_ = lean_unbox_usize(v_stop_4241_); -lean_dec(v_stop_4241_); -v_res_4250_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0(v_as_4239_, v_i_boxed_4248_, v_stop_boxed_4249_, v_b_4242_, v___y_4243_, v___y_4244_, v___y_4245_, v___y_4246_); -lean_dec(v___y_4246_); -lean_dec_ref(v___y_4245_); -lean_dec(v___y_4244_); -lean_dec_ref(v___y_4243_); -lean_dec_ref(v_as_4239_); -return v_res_4250_; +size_t v_i_boxed_4482_; size_t v_stop_boxed_4483_; lean_object* v_res_4484_; +v_i_boxed_4482_ = lean_unbox_usize(v_i_4474_); +lean_dec(v_i_4474_); +v_stop_boxed_4483_ = lean_unbox_usize(v_stop_4475_); +lean_dec(v_stop_4475_); +v_res_4484_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Compiler_LCNF_inferBorrow_spec__0(v_as_4473_, v_i_boxed_4482_, v_stop_boxed_4483_, v_b_4476_, v___y_4477_, v___y_4478_, v___y_4479_, v___y_4480_); +lean_dec(v___y_4480_); +lean_dec_ref(v___y_4479_); +lean_dec(v___y_4478_); +lean_dec_ref(v___y_4477_); +lean_dec_ref(v_as_4473_); +return v_res_4484_; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_4317_; uint8_t v___x_4318_; lean_object* v___x_4319_; lean_object* v___x_4320_; -v___x_4317_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__2)); -v___x_4318_ = 1; -v___x_4319_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn___closed__26_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2_)); -v___x_4320_ = l_Lean_registerTraceClass(v___x_4317_, v___x_4318_, v___x_4319_); -return v___x_4320_; +lean_object* v___x_4551_; uint8_t v___x_4552_; lean_object* v___x_4553_; lean_object* v___x_4554_; +v___x_4551_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_infer_ownFVar___closed__2)); +v___x_4552_ = 1; +v___x_4553_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn___closed__26_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2_)); +v___x_4554_ = l_Lean_registerTraceClass(v___x_4551_, v___x_4552_, v___x_4553_); +return v___x_4554_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2____boxed(lean_object* v_a_4321_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2____boxed(lean_object* v_a_4555_){ _start: { -lean_object* v_res_4322_; -v_res_4322_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2_(); -return v_res_4322_; +lean_object* v_res_4556_; +v_res_4556_ = l___private_Lean_Compiler_LCNF_InferBorrow_0__Lean_Compiler_LCNF_initFn_00___x40_Lean_Compiler_LCNF_InferBorrow_419080822____hygCtx___hyg_2_(); +return v_res_4556_; } } lean_object* runtime_initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c index 83c6288fbe..1bf67a9246 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c @@ -127,7 +127,7 @@ lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l_Lean_Compiler_LCNF_toLCNFType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_hasInitAttr(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_value_x3f(lean_object*, uint8_t); -lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_eraseFunDecl___redArg(uint8_t, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_macroInline___lam__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_macroInline___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -11252,7 +11252,8 @@ lean_inc(v_a_3780_); lean_inc_ref(v_a_3779_); lean_inc(v_a_3778_); lean_inc_ref(v_a_3777_); -v___x_3972_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(v_a_3970_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); +lean_inc(v_a_3957_); +v___x_3972_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(v_a_3970_, v_a_3957_, v_a_3777_, v_a_3778_, v_a_3779_, v_a_3780_); if (lean_obj_tag(v___x_3972_) == 0) { lean_object* v_a_3973_; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c index 5cb8b11a2f..8d96ae4a77 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c @@ -25,9 +25,9 @@ lean_object* lean_array_get_size(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); +uint8_t l_Lean_isMarkedBorrowed(lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); -uint8_t l_Lean_isMarkedBorrowed(lean_object*); lean_object* lean_st_ref_get(lean_object*); uint8_t l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_anyExpr; @@ -59,9 +59,6 @@ lean_object* l_Lean_LocalContext_mkLocalDecl(lean_object*, lean_object*, lean_ob lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Param_toExpr___redArg(lean_object*); lean_object* l_Lean_Environment_getProjectionFnInfo_x3f(lean_object*, lean_object*); -lean_object* l_Lean_replaceRef(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getPurity___redArg(lean_object*); -lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*, uint8_t); size_t lean_array_size(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); @@ -73,6 +70,7 @@ lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_upda size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_FVarIdSet_insert(lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); +uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); size_t lean_usize_shift_left(size_t, size_t); lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___redArg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -87,7 +85,9 @@ lean_object* l_Lean_Compiler_CSimp_replaceConstant(lean_object*, lean_object*, l lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_MessageData_ofFormat(lean_object*); +lean_object* l_Lean_Compiler_LCNF_getPurity___redArg(lean_object*); lean_object* l_Lean_MessageData_tagWithErrorName(lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*, uint8_t); uint8_t l_Lean_isExtern(lean_object*, lean_object*); lean_object* l_Lean_Compiler_getImplementedBy_x3f(lean_object*, lean_object*); extern lean_object* l_Lean_noncomputableExt; @@ -125,6 +125,7 @@ lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); uint8_t l_Lean_isPrivateName(lean_object*); lean_object* l_Lean_MessageData_ofName(lean_object*); extern lean_object* l_Lean_unknownIdentifierMessageTag; +lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* l_CasesInfo_numAlts(lean_object*); lean_object* l_Lean_Compiler_LCNF_joinTypes(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_mkAuxParam(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -354,27 +355,27 @@ static lean_once_cell_t l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed_ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___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_Compiler_LCNF_ToLCNF_pushElement___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___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_Compiler_LCNF_ToLCNF_letValueToArg___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___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_Compiler_LCNF_ToLCNF_toCode___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_once_cell_t l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0; @@ -394,10 +395,18 @@ static const lean_array_object l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed static const lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7 = (const lean_object*)&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7_value; static lean_once_cell_t l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___redArg___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_Compiler_LCNF_ToLCNF_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___boxed(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_Compiler_LCNF_ToLCNF_withoutExpectedType___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(lean_object*, lean_object*); @@ -413,7 +422,7 @@ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___ LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1(lean_object*, lean_object*, lean_object*); @@ -428,9 +437,9 @@ LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHas LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___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___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg___boxed(lean_object*, lean_object*); @@ -440,45 +449,41 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___boxed(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___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___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_Compiler_LCNF_ToLCNF_mkParam___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg___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_Compiler_LCNF_ToLCNF_mkParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_array_object l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; static const lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0 = (const lean_object*)&l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0_value; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(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_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___boxed(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_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(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_Compiler_LCNF_ToLCNF_mkLetDecl___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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_array_object l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; -static const lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0 = (const lean_object*)&l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0_value; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_array_object l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; +static const lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0 = (const lean_object*)&l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0_value; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___boxed(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_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "Eq"}; static const lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__0 = (const lean_object*)&l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__0_value; @@ -499,11 +504,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0___boxed(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_Compiler_LCNF_ToLCNF_etaExpandN___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___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_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "lean"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__0_value; @@ -534,17 +539,17 @@ static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Co static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__12 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__12_value; static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "lift"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13_value; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_litToValue(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "runtime"}; static const lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__0 = (const lean_object*)&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__0_value; @@ -571,13 +576,13 @@ static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_T static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3_value; static const lean_closure_object l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Compiler_LCNF_instMonadCompilerM___lam__1___boxed, .m_arity = 9, .m_num_fixed = 0, .m_objs = {} }; static const lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4 = (const lean_object*)&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4_value; -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "Lean.MonadEnv"}; static const lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__0 = (const lean_object*)&l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__0_value; @@ -587,7 +592,7 @@ static const lean_string_object l_Lean_isCtor_x3f___at___00__private_Lean_Compil static const lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2 = (const lean_object*)&l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2_value; static lean_once_cell_t l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3; -LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -603,57 +608,57 @@ static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_L static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3(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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___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_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "A private declaration `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__1 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__1_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 79, .m_capacity = 79, .m_length = 78, .m_data = "` (from the current module) exists but would need to be public to access here."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__3 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__3_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = "A public declaration `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__5 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__5_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 68, .m_capacity = 68, .m_length = 67, .m_data = "` exists but is imported privately; consider adding `public import "}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__7 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__7_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "`."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__9 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__9_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "` (from `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__11 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__11_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 54, .m_capacity = 54, .m_length = 53, .m_data = "`) exists but would need to be public to access here."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__13 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__13_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50___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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "Unknown constant `"}; -static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__0 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__0_value; -static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___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_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "A private declaration `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__1 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__1_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 79, .m_capacity = 79, .m_length = 78, .m_data = "` (from the current module) exists but would need to be public to access here."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__3 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__3_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = "A public declaration `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__5 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__5_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 68, .m_capacity = 68, .m_length = 67, .m_data = "` exists but is imported privately; consider adding `public import "}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__7 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__7_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "`."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__9 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__9_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "` (from `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__11 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__11_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 54, .m_capacity = 54, .m_length = 53, .m_data = "`) exists but would need to be public to access here."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__13 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__13_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51___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_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg___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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "Unknown constant `"}; +static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__0 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__0_value; +static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___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_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2___boxed(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -680,8 +685,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___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_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(lean_object*, lean_object*, lean_object*); static lean_once_cell_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static size_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0; static lean_once_cell_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; @@ -689,12 +696,12 @@ static size_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap static lean_once_cell_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg(size_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(lean_object*, lean_object*); @@ -702,8 +709,8 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Le static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_ctor_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__11_value),LEAN_SCALAR_PTR_LITERAL(91, 127, 250, 116, 111, 99, 160, 200)}}; static const lean_ctor_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0_value_aux_0),((lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13_value),LEAN_SCALAR_PTR_LITERAL(91, 125, 38, 34, 222, 200, 201, 80)}}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0_value; @@ -752,13 +759,13 @@ static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Co static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12_value; static const lean_ctor_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12_value),LEAN_SCALAR_PTR_LITERAL(244, 152, 7, 242, 102, 125, 47, 175)}}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13_value; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; @@ -777,46 +784,46 @@ static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_L static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1(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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__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_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__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*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 80, .m_capacity = 80, .m_length = 79, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitCtor"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 82, .m_capacity = 82, .m_length = 81, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitProjFn"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 91, .m_capacity = 91, .m_length = 90, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitAppDefaultConst"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__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*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 87, .m_capacity = 87, .m_length = 86, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitNoConfusion"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_closure_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0___boxed, .m_arity = 8, .m_num_fixed = 0, .m_objs = {} }; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0_value; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 84, .m_capacity = 84, .m_length = 83, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitQuotLift"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; @@ -828,47 +835,47 @@ static const lean_ctor_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Comp static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__3 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__3_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(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_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "_f"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__0_value; static const lean_ctor_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__0_value),LEAN_SCALAR_PTR_LITERAL(253, 65, 185, 154, 193, 83, 240, 170)}}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__1 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__1_value; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 80, .m_capacity = 80, .m_length = 79, .m_data = "_private.Lean.Compiler.LCNF.ToLCNF.0.Lean.Compiler.LCNF.ToLCNF.toLCNF.visitCore"}; static const lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__0 = (const lean_object*)&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__0_value; static lean_once_cell_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___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_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg___boxed(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_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore___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_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg___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___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___boxed(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_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -876,13 +883,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___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_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__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_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___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_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -891,41 +898,41 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Le LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___boxed(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(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_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___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_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___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_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___boxed(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(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_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(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_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___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_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(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_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(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_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___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_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13(lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___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_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___boxed(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_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___boxed(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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___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_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___boxed(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_Compiler_LCNF_ToLCNF_toLCNF___lam__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30(lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___boxed(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_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50(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_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___boxed(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_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___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_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___boxed(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_Compiler_LCNF_ToLCNF_toLCNF___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_ToLCNF_isLCProof(lean_object* v_e_4_){ _start: { @@ -9449,7 +9456,7 @@ lean_dec(v_a_2176_); return v_res_2180_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(lean_object* v_00_u03b1_2181_, lean_object* v_x_2182_, uint8_t v_a_2183_, lean_object* v_a_2184_, lean_object* v_a_2185_, lean_object* v_a_2186_, lean_object* v_a_2187_, lean_object* v_a_2188_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(lean_object* v_00_u03b1_2181_, lean_object* v_x_2182_, lean_object* v_a_2183_, lean_object* v_a_2184_, lean_object* v_a_2185_, lean_object* v_a_2186_, lean_object* v_a_2187_, lean_object* v_a_2188_){ _start: { lean_object* v___x_2190_; lean_object* v_lctx_2191_; lean_object* v___x_2192_; lean_object* v___x_2193_; uint8_t v___x_2194_; lean_object* v___x_2195_; lean_object* v___x_2196_; lean_object* v___x_2197_; uint8_t v___x_2198_; lean_object* v___x_2199_; lean_object* v___x_2200_; lean_object* v___x_2201_; lean_object* v___x_2202_; lean_object* v___x_2203_; lean_object* v___x_2204_; @@ -9537,5256 +9544,5682 @@ return v___x_2204_; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___boxed(lean_object* v_00_u03b1_2214_, lean_object* v_x_2215_, lean_object* v_a_2216_, lean_object* v_a_2217_, lean_object* v_a_2218_, lean_object* v_a_2219_, lean_object* v_a_2220_, lean_object* v_a_2221_, lean_object* v_a_2222_){ _start: { -uint8_t v_a_1370__boxed_2223_; lean_object* v_res_2224_; -v_a_1370__boxed_2223_ = lean_unbox(v_a_2216_); -v_res_2224_ = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(v_00_u03b1_2214_, v_x_2215_, v_a_1370__boxed_2223_, v_a_2217_, v_a_2218_, v_a_2219_, v_a_2220_, v_a_2221_); +lean_object* v_res_2223_; +v_res_2223_ = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM(v_00_u03b1_2214_, v_x_2215_, v_a_2216_, v_a_2217_, v_a_2218_, v_a_2219_, v_a_2220_, v_a_2221_); lean_dec(v_a_2219_); lean_dec_ref(v_a_2218_); lean_dec(v_a_2217_); -return v_res_2224_; +lean_dec_ref(v_a_2216_); +return v_res_2223_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(lean_object* v_elem_2225_, lean_object* v_a_2226_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(lean_object* v_elem_2224_, lean_object* v_a_2225_){ _start: { -lean_object* v___x_2228_; lean_object* v_lctx_2229_; lean_object* v_cache_2230_; uint8_t v_shouldCache_2231_; lean_object* v_typeCache_2232_; lean_object* v_isTypeFormerTypeCache_2233_; lean_object* v_seq_2234_; lean_object* v_toAny_2235_; lean_object* v___x_2237_; uint8_t v_isShared_2238_; uint8_t v_isSharedCheck_2246_; -v___x_2228_ = lean_st_ref_take(v_a_2226_); -v_lctx_2229_ = lean_ctor_get(v___x_2228_, 0); -v_cache_2230_ = lean_ctor_get(v___x_2228_, 1); -v_shouldCache_2231_ = lean_ctor_get_uint8(v___x_2228_, sizeof(void*)*6); -v_typeCache_2232_ = lean_ctor_get(v___x_2228_, 2); -v_isTypeFormerTypeCache_2233_ = lean_ctor_get(v___x_2228_, 3); -v_seq_2234_ = lean_ctor_get(v___x_2228_, 4); -v_toAny_2235_ = lean_ctor_get(v___x_2228_, 5); -v_isSharedCheck_2246_ = !lean_is_exclusive(v___x_2228_); -if (v_isSharedCheck_2246_ == 0) +lean_object* v___x_2227_; lean_object* v_lctx_2228_; lean_object* v_cache_2229_; uint8_t v_shouldCache_2230_; lean_object* v_typeCache_2231_; lean_object* v_isTypeFormerTypeCache_2232_; lean_object* v_seq_2233_; lean_object* v_toAny_2234_; lean_object* v___x_2236_; uint8_t v_isShared_2237_; uint8_t v_isSharedCheck_2245_; +v___x_2227_ = lean_st_ref_take(v_a_2225_); +v_lctx_2228_ = lean_ctor_get(v___x_2227_, 0); +v_cache_2229_ = lean_ctor_get(v___x_2227_, 1); +v_shouldCache_2230_ = lean_ctor_get_uint8(v___x_2227_, sizeof(void*)*6); +v_typeCache_2231_ = lean_ctor_get(v___x_2227_, 2); +v_isTypeFormerTypeCache_2232_ = lean_ctor_get(v___x_2227_, 3); +v_seq_2233_ = lean_ctor_get(v___x_2227_, 4); +v_toAny_2234_ = lean_ctor_get(v___x_2227_, 5); +v_isSharedCheck_2245_ = !lean_is_exclusive(v___x_2227_); +if (v_isSharedCheck_2245_ == 0) { -v___x_2237_ = v___x_2228_; -v_isShared_2238_ = v_isSharedCheck_2246_; -goto v_resetjp_2236_; +v___x_2236_ = v___x_2227_; +v_isShared_2237_ = v_isSharedCheck_2245_; +goto v_resetjp_2235_; } else { -lean_inc(v_toAny_2235_); -lean_inc(v_seq_2234_); -lean_inc(v_isTypeFormerTypeCache_2233_); -lean_inc(v_typeCache_2232_); -lean_inc(v_cache_2230_); -lean_inc(v_lctx_2229_); -lean_dec(v___x_2228_); -v___x_2237_ = lean_box(0); -v_isShared_2238_ = v_isSharedCheck_2246_; -goto v_resetjp_2236_; +lean_inc(v_toAny_2234_); +lean_inc(v_seq_2233_); +lean_inc(v_isTypeFormerTypeCache_2232_); +lean_inc(v_typeCache_2231_); +lean_inc(v_cache_2229_); +lean_inc(v_lctx_2228_); +lean_dec(v___x_2227_); +v___x_2236_ = lean_box(0); +v_isShared_2237_ = v_isSharedCheck_2245_; +goto v_resetjp_2235_; } -v_resetjp_2236_: +v_resetjp_2235_: { -lean_object* v___x_2239_; lean_object* v___x_2241_; -v___x_2239_ = lean_array_push(v_seq_2234_, v_elem_2225_); -if (v_isShared_2238_ == 0) +lean_object* v___x_2238_; lean_object* v___x_2240_; +v___x_2238_ = lean_array_push(v_seq_2233_, v_elem_2224_); +if (v_isShared_2237_ == 0) { -lean_ctor_set(v___x_2237_, 4, v___x_2239_); -v___x_2241_ = v___x_2237_; -goto v_reusejp_2240_; +lean_ctor_set(v___x_2236_, 4, v___x_2238_); +v___x_2240_ = v___x_2236_; +goto v_reusejp_2239_; } else { -lean_object* v_reuseFailAlloc_2245_; -v_reuseFailAlloc_2245_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_2245_, 0, v_lctx_2229_); -lean_ctor_set(v_reuseFailAlloc_2245_, 1, v_cache_2230_); -lean_ctor_set(v_reuseFailAlloc_2245_, 2, v_typeCache_2232_); -lean_ctor_set(v_reuseFailAlloc_2245_, 3, v_isTypeFormerTypeCache_2233_); -lean_ctor_set(v_reuseFailAlloc_2245_, 4, v___x_2239_); -lean_ctor_set(v_reuseFailAlloc_2245_, 5, v_toAny_2235_); -lean_ctor_set_uint8(v_reuseFailAlloc_2245_, sizeof(void*)*6, v_shouldCache_2231_); -v___x_2241_ = v_reuseFailAlloc_2245_; -goto v_reusejp_2240_; +lean_object* v_reuseFailAlloc_2244_; +v_reuseFailAlloc_2244_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_2244_, 0, v_lctx_2228_); +lean_ctor_set(v_reuseFailAlloc_2244_, 1, v_cache_2229_); +lean_ctor_set(v_reuseFailAlloc_2244_, 2, v_typeCache_2231_); +lean_ctor_set(v_reuseFailAlloc_2244_, 3, v_isTypeFormerTypeCache_2232_); +lean_ctor_set(v_reuseFailAlloc_2244_, 4, v___x_2238_); +lean_ctor_set(v_reuseFailAlloc_2244_, 5, v_toAny_2234_); +lean_ctor_set_uint8(v_reuseFailAlloc_2244_, sizeof(void*)*6, v_shouldCache_2230_); +v___x_2240_ = v_reuseFailAlloc_2244_; +goto v_reusejp_2239_; } -v_reusejp_2240_: +v_reusejp_2239_: { -lean_object* v___x_2242_; lean_object* v___x_2243_; lean_object* v___x_2244_; -v___x_2242_ = lean_st_ref_set(v_a_2226_, v___x_2241_); -v___x_2243_ = lean_box(0); -v___x_2244_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2244_, 0, v___x_2243_); -return v___x_2244_; +lean_object* v___x_2241_; lean_object* v___x_2242_; lean_object* v___x_2243_; +v___x_2241_ = lean_st_ref_set(v_a_2225_, v___x_2240_); +v___x_2242_ = lean_box(0); +v___x_2243_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2243_, 0, v___x_2242_); +return v___x_2243_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg___boxed(lean_object* v_elem_2247_, lean_object* v_a_2248_, lean_object* v_a_2249_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg___boxed(lean_object* v_elem_2246_, lean_object* v_a_2247_, lean_object* v_a_2248_){ _start: { -lean_object* v_res_2250_; -v_res_2250_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v_elem_2247_, v_a_2248_); -lean_dec(v_a_2248_); -return v_res_2250_; +lean_object* v_res_2249_; +v_res_2249_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v_elem_2246_, v_a_2247_); +lean_dec(v_a_2247_); +return v_res_2249_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object* v_elem_2251_, uint8_t v_a_2252_, lean_object* v_a_2253_, lean_object* v_a_2254_, lean_object* v_a_2255_, lean_object* v_a_2256_, lean_object* v_a_2257_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object* v_elem_2250_, lean_object* v_a_2251_, lean_object* v_a_2252_, lean_object* v_a_2253_, lean_object* v_a_2254_, lean_object* v_a_2255_, lean_object* v_a_2256_){ _start: { -lean_object* v___x_2259_; -v___x_2259_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v_elem_2251_, v_a_2253_); -return v___x_2259_; +lean_object* v___x_2258_; +v___x_2258_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v_elem_2250_, v_a_2252_); +return v___x_2258_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___boxed(lean_object* v_elem_2260_, lean_object* v_a_2261_, lean_object* v_a_2262_, lean_object* v_a_2263_, lean_object* v_a_2264_, lean_object* v_a_2265_, lean_object* v_a_2266_, lean_object* v_a_2267_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___boxed(lean_object* v_elem_2259_, lean_object* v_a_2260_, lean_object* v_a_2261_, lean_object* v_a_2262_, lean_object* v_a_2263_, lean_object* v_a_2264_, lean_object* v_a_2265_, lean_object* v_a_2266_){ _start: { -uint8_t v_a_416__boxed_2268_; lean_object* v_res_2269_; -v_a_416__boxed_2268_ = lean_unbox(v_a_2261_); -v_res_2269_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement(v_elem_2260_, v_a_416__boxed_2268_, v_a_2262_, v_a_2263_, v_a_2264_, v_a_2265_, v_a_2266_); -lean_dec(v_a_2266_); -lean_dec_ref(v_a_2265_); -lean_dec(v_a_2264_); -lean_dec_ref(v_a_2263_); -lean_dec(v_a_2262_); -return v_res_2269_; +lean_object* v_res_2267_; +v_res_2267_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement(v_elem_2259_, v_a_2260_, v_a_2261_, v_a_2262_, v_a_2263_, v_a_2264_, v_a_2265_); +lean_dec(v_a_2265_); +lean_dec_ref(v_a_2264_); +lean_dec(v_a_2263_); +lean_dec_ref(v_a_2262_); +lean_dec(v_a_2261_); +lean_dec_ref(v_a_2260_); +return v_res_2267_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(lean_object* v_type_2270_, lean_object* v_a_2271_, lean_object* v_a_2272_, lean_object* v_a_2273_, lean_object* v_a_2274_, lean_object* v_a_2275_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(lean_object* v_type_2268_, lean_object* v_a_2269_, lean_object* v_a_2270_, lean_object* v_a_2271_, lean_object* v_a_2272_, lean_object* v_a_2273_){ _start: { -uint8_t v___x_2277_; uint8_t v___x_2278_; lean_object* v___x_2279_; -v___x_2277_ = 0; -v___x_2278_ = 0; -v___x_2279_ = l_Lean_Compiler_LCNF_mkAuxParam(v___x_2277_, v_type_2270_, v___x_2278_, v_a_2272_, v_a_2273_, v_a_2274_, v_a_2275_); -if (lean_obj_tag(v___x_2279_) == 0) +uint8_t v___x_2275_; uint8_t v___x_2276_; lean_object* v___x_2277_; +v___x_2275_ = 0; +v___x_2276_ = 0; +v___x_2277_ = l_Lean_Compiler_LCNF_mkAuxParam(v___x_2275_, v_type_2268_, v___x_2276_, v_a_2270_, v_a_2271_, v_a_2272_, v_a_2273_); +if (lean_obj_tag(v___x_2277_) == 0) { -lean_object* v_a_2280_; lean_object* v___x_2281_; lean_object* v___x_2282_; lean_object* v___x_2284_; uint8_t v_isShared_2285_; uint8_t v_isSharedCheck_2291_; -v_a_2280_ = lean_ctor_get(v___x_2279_, 0); -lean_inc(v_a_2280_); -lean_dec_ref(v___x_2279_); -lean_inc(v_a_2280_); -v___x_2281_ = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(v___x_2281_, 0, v_a_2280_); -v___x_2282_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_2281_, v_a_2271_); -v_isSharedCheck_2291_ = !lean_is_exclusive(v___x_2282_); -if (v_isSharedCheck_2291_ == 0) +lean_object* v_a_2278_; lean_object* v___x_2279_; lean_object* v___x_2280_; lean_object* v___x_2282_; uint8_t v_isShared_2283_; uint8_t v_isSharedCheck_2289_; +v_a_2278_ = lean_ctor_get(v___x_2277_, 0); +lean_inc(v_a_2278_); +lean_dec_ref(v___x_2277_); +lean_inc(v_a_2278_); +v___x_2279_ = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(v___x_2279_, 0, v_a_2278_); +v___x_2280_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_2279_, v_a_2269_); +v_isSharedCheck_2289_ = !lean_is_exclusive(v___x_2280_); +if (v_isSharedCheck_2289_ == 0) { -lean_object* v_unused_2292_; -v_unused_2292_ = lean_ctor_get(v___x_2282_, 0); -lean_dec(v_unused_2292_); -v___x_2284_ = v___x_2282_; -v_isShared_2285_ = v_isSharedCheck_2291_; -goto v_resetjp_2283_; +lean_object* v_unused_2290_; +v_unused_2290_ = lean_ctor_get(v___x_2280_, 0); +lean_dec(v_unused_2290_); +v___x_2282_ = v___x_2280_; +v_isShared_2283_ = v_isSharedCheck_2289_; +goto v_resetjp_2281_; } else { -lean_dec(v___x_2282_); -v___x_2284_ = lean_box(0); -v_isShared_2285_ = v_isSharedCheck_2291_; -goto v_resetjp_2283_; +lean_dec(v___x_2280_); +v___x_2282_ = lean_box(0); +v_isShared_2283_ = v_isSharedCheck_2289_; +goto v_resetjp_2281_; } -v_resetjp_2283_: +v_resetjp_2281_: { -lean_object* v_fvarId_2286_; lean_object* v___x_2287_; lean_object* v___x_2289_; -v_fvarId_2286_ = lean_ctor_get(v_a_2280_, 0); -lean_inc(v_fvarId_2286_); -lean_dec(v_a_2280_); -v___x_2287_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2287_, 0, v_fvarId_2286_); -if (v_isShared_2285_ == 0) +lean_object* v_fvarId_2284_; lean_object* v___x_2285_; lean_object* v___x_2287_; +v_fvarId_2284_ = lean_ctor_get(v_a_2278_, 0); +lean_inc(v_fvarId_2284_); +lean_dec(v_a_2278_); +v___x_2285_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2285_, 0, v_fvarId_2284_); +if (v_isShared_2283_ == 0) { -lean_ctor_set(v___x_2284_, 0, v___x_2287_); -v___x_2289_ = v___x_2284_; -goto v_reusejp_2288_; +lean_ctor_set(v___x_2282_, 0, v___x_2285_); +v___x_2287_ = v___x_2282_; +goto v_reusejp_2286_; } else { -lean_object* v_reuseFailAlloc_2290_; -v_reuseFailAlloc_2290_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2290_, 0, v___x_2287_); -v___x_2289_ = v_reuseFailAlloc_2290_; -goto v_reusejp_2288_; +lean_object* v_reuseFailAlloc_2288_; +v_reuseFailAlloc_2288_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2288_, 0, v___x_2285_); +v___x_2287_ = v_reuseFailAlloc_2288_; +goto v_reusejp_2286_; } -v_reusejp_2288_: +v_reusejp_2286_: { -return v___x_2289_; +return v___x_2287_; } } } else { -lean_object* v_a_2293_; lean_object* v___x_2295_; uint8_t v_isShared_2296_; uint8_t v_isSharedCheck_2300_; -v_a_2293_ = lean_ctor_get(v___x_2279_, 0); -v_isSharedCheck_2300_ = !lean_is_exclusive(v___x_2279_); -if (v_isSharedCheck_2300_ == 0) +lean_object* v_a_2291_; lean_object* v___x_2293_; uint8_t v_isShared_2294_; uint8_t v_isSharedCheck_2298_; +v_a_2291_ = lean_ctor_get(v___x_2277_, 0); +v_isSharedCheck_2298_ = !lean_is_exclusive(v___x_2277_); +if (v_isSharedCheck_2298_ == 0) { -v___x_2295_ = v___x_2279_; -v_isShared_2296_ = v_isSharedCheck_2300_; -goto v_resetjp_2294_; +v___x_2293_ = v___x_2277_; +v_isShared_2294_ = v_isSharedCheck_2298_; +goto v_resetjp_2292_; } else { -lean_inc(v_a_2293_); -lean_dec(v___x_2279_); -v___x_2295_ = lean_box(0); -v_isShared_2296_ = v_isSharedCheck_2300_; -goto v_resetjp_2294_; +lean_inc(v_a_2291_); +lean_dec(v___x_2277_); +v___x_2293_ = lean_box(0); +v_isShared_2294_ = v_isSharedCheck_2298_; +goto v_resetjp_2292_; } -v_resetjp_2294_: +v_resetjp_2292_: { -lean_object* v___x_2298_; -if (v_isShared_2296_ == 0) +lean_object* v___x_2296_; +if (v_isShared_2294_ == 0) { -v___x_2298_ = v___x_2295_; -goto v_reusejp_2297_; +v___x_2296_ = v___x_2293_; +goto v_reusejp_2295_; } else { -lean_object* v_reuseFailAlloc_2299_; -v_reuseFailAlloc_2299_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2299_, 0, v_a_2293_); -v___x_2298_ = v_reuseFailAlloc_2299_; -goto v_reusejp_2297_; +lean_object* v_reuseFailAlloc_2297_; +v_reuseFailAlloc_2297_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2297_, 0, v_a_2291_); +v___x_2296_ = v_reuseFailAlloc_2297_; +goto v_reusejp_2295_; } -v_reusejp_2297_: +v_reusejp_2295_: { -return v___x_2298_; +return v___x_2296_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg___boxed(lean_object* v_type_2301_, lean_object* v_a_2302_, lean_object* v_a_2303_, lean_object* v_a_2304_, lean_object* v_a_2305_, lean_object* v_a_2306_, lean_object* v_a_2307_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg___boxed(lean_object* v_type_2299_, lean_object* v_a_2300_, lean_object* v_a_2301_, lean_object* v_a_2302_, lean_object* v_a_2303_, lean_object* v_a_2304_, lean_object* v_a_2305_){ _start: { -lean_object* v_res_2308_; -v_res_2308_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_type_2301_, v_a_2302_, v_a_2303_, v_a_2304_, v_a_2305_, v_a_2306_); -lean_dec(v_a_2306_); -lean_dec_ref(v_a_2305_); +lean_object* v_res_2306_; +v_res_2306_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_type_2299_, v_a_2300_, v_a_2301_, v_a_2302_, v_a_2303_, v_a_2304_); lean_dec(v_a_2304_); lean_dec_ref(v_a_2303_); lean_dec(v_a_2302_); -return v_res_2308_; +lean_dec_ref(v_a_2301_); +lean_dec(v_a_2300_); +return v_res_2306_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object* v_type_2309_, uint8_t v_a_2310_, lean_object* v_a_2311_, lean_object* v_a_2312_, lean_object* v_a_2313_, lean_object* v_a_2314_, lean_object* v_a_2315_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object* v_type_2307_, lean_object* v_a_2308_, lean_object* v_a_2309_, lean_object* v_a_2310_, lean_object* v_a_2311_, lean_object* v_a_2312_, lean_object* v_a_2313_){ _start: { -lean_object* v___x_2317_; -v___x_2317_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_type_2309_, v_a_2311_, v_a_2312_, v_a_2313_, v_a_2314_, v_a_2315_); -return v___x_2317_; +lean_object* v___x_2315_; +v___x_2315_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_type_2307_, v_a_2309_, v_a_2310_, v_a_2311_, v_a_2312_, v_a_2313_); +return v___x_2315_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___boxed(lean_object* v_type_2318_, lean_object* v_a_2319_, lean_object* v_a_2320_, lean_object* v_a_2321_, lean_object* v_a_2322_, lean_object* v_a_2323_, lean_object* v_a_2324_, lean_object* v_a_2325_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___boxed(lean_object* v_type_2316_, lean_object* v_a_2317_, lean_object* v_a_2318_, lean_object* v_a_2319_, lean_object* v_a_2320_, lean_object* v_a_2321_, lean_object* v_a_2322_, lean_object* v_a_2323_){ _start: { -uint8_t v_a_688__boxed_2326_; lean_object* v_res_2327_; -v_a_688__boxed_2326_ = lean_unbox(v_a_2319_); -v_res_2327_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(v_type_2318_, v_a_688__boxed_2326_, v_a_2320_, v_a_2321_, v_a_2322_, v_a_2323_, v_a_2324_); -lean_dec(v_a_2324_); -lean_dec_ref(v_a_2323_); +lean_object* v_res_2324_; +v_res_2324_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(v_type_2316_, v_a_2317_, v_a_2318_, v_a_2319_, v_a_2320_, v_a_2321_, v_a_2322_); lean_dec(v_a_2322_); lean_dec_ref(v_a_2321_); lean_dec(v_a_2320_); -return v_res_2327_; +lean_dec_ref(v_a_2319_); +lean_dec(v_a_2318_); +lean_dec_ref(v_a_2317_); +return v_res_2324_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(lean_object* v_e_2328_, lean_object* v_prefixName_2329_, lean_object* v_a_2330_, lean_object* v_a_2331_, lean_object* v_a_2332_, lean_object* v_a_2333_, lean_object* v_a_2334_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(lean_object* v_e_2325_, lean_object* v_prefixName_2326_, lean_object* v_a_2327_, lean_object* v_a_2328_, lean_object* v_a_2329_, lean_object* v_a_2330_, lean_object* v_a_2331_){ _start: { -lean_object* v___y_2337_; lean_object* v___y_2338_; lean_object* v___y_2339_; lean_object* v___y_2340_; lean_object* v___y_2341_; -if (lean_obj_tag(v_e_2328_) == 4) +lean_object* v___y_2334_; lean_object* v___y_2335_; lean_object* v___y_2336_; lean_object* v___y_2337_; lean_object* v___y_2338_; +if (lean_obj_tag(v_e_2325_) == 4) { -lean_object* v_fvarId_2384_; lean_object* v_args_2385_; lean_object* v___x_2386_; lean_object* v___x_2387_; uint8_t v___x_2388_; -v_fvarId_2384_ = lean_ctor_get(v_e_2328_, 0); -v_args_2385_ = lean_ctor_get(v_e_2328_, 1); -v___x_2386_ = lean_array_get_size(v_args_2385_); -v___x_2387_ = lean_unsigned_to_nat(0u); -v___x_2388_ = lean_nat_dec_eq(v___x_2386_, v___x_2387_); -if (v___x_2388_ == 0) +lean_object* v_fvarId_2381_; lean_object* v_args_2382_; lean_object* v___x_2383_; lean_object* v___x_2384_; uint8_t v___x_2385_; +v_fvarId_2381_ = lean_ctor_get(v_e_2325_, 0); +v_args_2382_ = lean_ctor_get(v_e_2325_, 1); +v___x_2383_ = lean_array_get_size(v_args_2382_); +v___x_2384_ = lean_unsigned_to_nat(0u); +v___x_2385_ = lean_nat_dec_eq(v___x_2383_, v___x_2384_); +if (v___x_2385_ == 0) { +v___y_2334_ = v_a_2327_; +v___y_2335_ = v_a_2328_; +v___y_2336_ = v_a_2329_; v___y_2337_ = v_a_2330_; v___y_2338_ = v_a_2331_; -v___y_2339_ = v_a_2332_; -v___y_2340_ = v_a_2333_; -v___y_2341_ = v_a_2334_; -goto v___jp_2336_; +goto v___jp_2333_; } else { -lean_object* v___x_2389_; -lean_inc(v_fvarId_2384_); -lean_dec_ref(v_e_2328_); -lean_dec(v_a_2334_); -lean_dec_ref(v_a_2333_); -lean_dec(v_a_2332_); -lean_dec_ref(v_a_2331_); -lean_dec(v_prefixName_2329_); -v___x_2389_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2389_, 0, v_fvarId_2384_); -return v___x_2389_; +lean_object* v___x_2386_; +lean_inc(v_fvarId_2381_); +lean_dec_ref(v_e_2325_); +lean_dec(v_a_2331_); +lean_dec_ref(v_a_2330_); +lean_dec(v_a_2329_); +lean_dec_ref(v_a_2328_); +lean_dec(v_prefixName_2326_); +v___x_2386_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2386_, 0, v_fvarId_2381_); +return v___x_2386_; } } else { +v___y_2334_ = v_a_2327_; +v___y_2335_ = v_a_2328_; +v___y_2336_ = v_a_2329_; v___y_2337_ = v_a_2330_; v___y_2338_ = v_a_2331_; -v___y_2339_ = v_a_2332_; -v___y_2340_ = v_a_2333_; -v___y_2341_ = v_a_2334_; -goto v___jp_2336_; +goto v___jp_2333_; } -v___jp_2336_: +v___jp_2333_: { -lean_object* v___x_2342_; -v___x_2342_ = l_Lean_Compiler_LCNF_mkFreshBinderName___redArg(v_prefixName_2329_, v___y_2339_); +lean_object* v___x_2339_; +v___x_2339_ = l_Lean_Compiler_LCNF_mkFreshBinderName___redArg(v_prefixName_2326_, v___y_2336_); +if (lean_obj_tag(v___x_2339_) == 0) +{ +lean_object* v_a_2340_; uint8_t v___x_2341_; lean_object* v___x_2342_; +v_a_2340_ = lean_ctor_get(v___x_2339_, 0); +lean_inc(v_a_2340_); +lean_dec_ref(v___x_2339_); +v___x_2341_ = 0; +lean_inc(v___y_2338_); +lean_inc_ref(v___y_2337_); +lean_inc(v___y_2336_); +lean_inc_ref(v___y_2335_); +lean_inc(v_e_2325_); +v___x_2342_ = l_Lean_Compiler_LCNF_LetValue_inferType(v___x_2341_, v_e_2325_, v___y_2335_, v___y_2336_, v___y_2337_, v___y_2338_); if (lean_obj_tag(v___x_2342_) == 0) { -lean_object* v_a_2343_; uint8_t v___x_2344_; lean_object* v___x_2345_; +lean_object* v_a_2343_; lean_object* v___x_2344_; v_a_2343_ = lean_ctor_get(v___x_2342_, 0); lean_inc(v_a_2343_); lean_dec_ref(v___x_2342_); -v___x_2344_ = 0; -lean_inc(v___y_2341_); -lean_inc_ref(v___y_2340_); -lean_inc(v___y_2339_); -lean_inc_ref(v___y_2338_); -lean_inc(v_e_2328_); -v___x_2345_ = l_Lean_Compiler_LCNF_LetValue_inferType(v___x_2344_, v_e_2328_, v___y_2338_, v___y_2339_, v___y_2340_, v___y_2341_); -if (lean_obj_tag(v___x_2345_) == 0) +v___x_2344_ = l_Lean_Compiler_LCNF_mkLetDecl(v___x_2341_, v_a_2340_, v_a_2343_, v_e_2325_, v___y_2335_, v___y_2336_, v___y_2337_, v___y_2338_); +lean_dec(v___y_2338_); +lean_dec_ref(v___y_2337_); +lean_dec(v___y_2336_); +lean_dec_ref(v___y_2335_); +if (lean_obj_tag(v___x_2344_) == 0) { -lean_object* v_a_2346_; lean_object* v___x_2347_; -v_a_2346_ = lean_ctor_get(v___x_2345_, 0); -lean_inc(v_a_2346_); -lean_dec_ref(v___x_2345_); -v___x_2347_ = l_Lean_Compiler_LCNF_mkLetDecl(v___x_2344_, v_a_2343_, v_a_2346_, v_e_2328_, v___y_2338_, v___y_2339_, v___y_2340_, v___y_2341_); -lean_dec(v___y_2341_); -lean_dec_ref(v___y_2340_); -lean_dec(v___y_2339_); -lean_dec_ref(v___y_2338_); -if (lean_obj_tag(v___x_2347_) == 0) +lean_object* v_a_2345_; lean_object* v___x_2346_; lean_object* v___x_2347_; lean_object* v___x_2349_; uint8_t v_isShared_2350_; uint8_t v_isSharedCheck_2355_; +v_a_2345_ = lean_ctor_get(v___x_2344_, 0); +lean_inc(v_a_2345_); +lean_dec_ref(v___x_2344_); +lean_inc(v_a_2345_); +v___x_2346_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v___x_2346_, 0, v_a_2345_); +v___x_2347_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_2346_, v___y_2334_); +v_isSharedCheck_2355_ = !lean_is_exclusive(v___x_2347_); +if (v_isSharedCheck_2355_ == 0) { -lean_object* v_a_2348_; lean_object* v___x_2349_; lean_object* v___x_2350_; lean_object* v___x_2352_; uint8_t v_isShared_2353_; uint8_t v_isSharedCheck_2358_; -v_a_2348_ = lean_ctor_get(v___x_2347_, 0); -lean_inc(v_a_2348_); -lean_dec_ref(v___x_2347_); -lean_inc(v_a_2348_); -v___x_2349_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v___x_2349_, 0, v_a_2348_); -v___x_2350_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_2349_, v___y_2337_); -v_isSharedCheck_2358_ = !lean_is_exclusive(v___x_2350_); -if (v_isSharedCheck_2358_ == 0) -{ -lean_object* v_unused_2359_; -v_unused_2359_ = lean_ctor_get(v___x_2350_, 0); -lean_dec(v_unused_2359_); -v___x_2352_ = v___x_2350_; -v_isShared_2353_ = v_isSharedCheck_2358_; -goto v_resetjp_2351_; +lean_object* v_unused_2356_; +v_unused_2356_ = lean_ctor_get(v___x_2347_, 0); +lean_dec(v_unused_2356_); +v___x_2349_ = v___x_2347_; +v_isShared_2350_ = v_isSharedCheck_2355_; +goto v_resetjp_2348_; } else { -lean_dec(v___x_2350_); -v___x_2352_ = lean_box(0); -v_isShared_2353_ = v_isSharedCheck_2358_; -goto v_resetjp_2351_; -} -v_resetjp_2351_: -{ -lean_object* v_fvarId_2354_; lean_object* v___x_2356_; -v_fvarId_2354_ = lean_ctor_get(v_a_2348_, 0); -lean_inc(v_fvarId_2354_); -lean_dec(v_a_2348_); -if (v_isShared_2353_ == 0) -{ -lean_ctor_set(v___x_2352_, 0, v_fvarId_2354_); -v___x_2356_ = v___x_2352_; -goto v_reusejp_2355_; -} -else -{ -lean_object* v_reuseFailAlloc_2357_; -v_reuseFailAlloc_2357_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2357_, 0, v_fvarId_2354_); -v___x_2356_ = v_reuseFailAlloc_2357_; -goto v_reusejp_2355_; -} -v_reusejp_2355_: -{ -return v___x_2356_; -} -} -} -else -{ -lean_object* v_a_2360_; lean_object* v___x_2362_; uint8_t v_isShared_2363_; uint8_t v_isSharedCheck_2367_; -v_a_2360_ = lean_ctor_get(v___x_2347_, 0); -v_isSharedCheck_2367_ = !lean_is_exclusive(v___x_2347_); -if (v_isSharedCheck_2367_ == 0) -{ -v___x_2362_ = v___x_2347_; -v_isShared_2363_ = v_isSharedCheck_2367_; -goto v_resetjp_2361_; -} -else -{ -lean_inc(v_a_2360_); lean_dec(v___x_2347_); -v___x_2362_ = lean_box(0); -v_isShared_2363_ = v_isSharedCheck_2367_; -goto v_resetjp_2361_; +v___x_2349_ = lean_box(0); +v_isShared_2350_ = v_isSharedCheck_2355_; +goto v_resetjp_2348_; } -v_resetjp_2361_: +v_resetjp_2348_: { -lean_object* v___x_2365_; -if (v_isShared_2363_ == 0) +lean_object* v_fvarId_2351_; lean_object* v___x_2353_; +v_fvarId_2351_ = lean_ctor_get(v_a_2345_, 0); +lean_inc(v_fvarId_2351_); +lean_dec(v_a_2345_); +if (v_isShared_2350_ == 0) { -v___x_2365_ = v___x_2362_; -goto v_reusejp_2364_; +lean_ctor_set(v___x_2349_, 0, v_fvarId_2351_); +v___x_2353_ = v___x_2349_; +goto v_reusejp_2352_; } else { -lean_object* v_reuseFailAlloc_2366_; -v_reuseFailAlloc_2366_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2366_, 0, v_a_2360_); -v___x_2365_ = v_reuseFailAlloc_2366_; -goto v_reusejp_2364_; +lean_object* v_reuseFailAlloc_2354_; +v_reuseFailAlloc_2354_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2354_, 0, v_fvarId_2351_); +v___x_2353_ = v_reuseFailAlloc_2354_; +goto v_reusejp_2352_; } -v_reusejp_2364_: +v_reusejp_2352_: { -return v___x_2365_; +return v___x_2353_; +} +} +} +else +{ +lean_object* v_a_2357_; lean_object* v___x_2359_; uint8_t v_isShared_2360_; uint8_t v_isSharedCheck_2364_; +v_a_2357_ = lean_ctor_get(v___x_2344_, 0); +v_isSharedCheck_2364_ = !lean_is_exclusive(v___x_2344_); +if (v_isSharedCheck_2364_ == 0) +{ +v___x_2359_ = v___x_2344_; +v_isShared_2360_ = v_isSharedCheck_2364_; +goto v_resetjp_2358_; +} +else +{ +lean_inc(v_a_2357_); +lean_dec(v___x_2344_); +v___x_2359_ = lean_box(0); +v_isShared_2360_ = v_isSharedCheck_2364_; +goto v_resetjp_2358_; +} +v_resetjp_2358_: +{ +lean_object* v___x_2362_; +if (v_isShared_2360_ == 0) +{ +v___x_2362_ = v___x_2359_; +goto v_reusejp_2361_; +} +else +{ +lean_object* v_reuseFailAlloc_2363_; +v_reuseFailAlloc_2363_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2363_, 0, v_a_2357_); +v___x_2362_ = v_reuseFailAlloc_2363_; +goto v_reusejp_2361_; +} +v_reusejp_2361_: +{ +return v___x_2362_; } } } } else { -lean_object* v_a_2368_; lean_object* v___x_2370_; uint8_t v_isShared_2371_; uint8_t v_isSharedCheck_2375_; -lean_dec(v_a_2343_); -lean_dec(v___y_2341_); -lean_dec_ref(v___y_2340_); -lean_dec(v___y_2339_); -lean_dec_ref(v___y_2338_); -lean_dec(v_e_2328_); -v_a_2368_ = lean_ctor_get(v___x_2345_, 0); -v_isSharedCheck_2375_ = !lean_is_exclusive(v___x_2345_); -if (v_isSharedCheck_2375_ == 0) +lean_object* v_a_2365_; lean_object* v___x_2367_; uint8_t v_isShared_2368_; uint8_t v_isSharedCheck_2372_; +lean_dec(v_a_2340_); +lean_dec(v___y_2338_); +lean_dec_ref(v___y_2337_); +lean_dec(v___y_2336_); +lean_dec_ref(v___y_2335_); +lean_dec(v_e_2325_); +v_a_2365_ = lean_ctor_get(v___x_2342_, 0); +v_isSharedCheck_2372_ = !lean_is_exclusive(v___x_2342_); +if (v_isSharedCheck_2372_ == 0) { -v___x_2370_ = v___x_2345_; -v_isShared_2371_ = v_isSharedCheck_2375_; -goto v_resetjp_2369_; +v___x_2367_ = v___x_2342_; +v_isShared_2368_ = v_isSharedCheck_2372_; +goto v_resetjp_2366_; } else { -lean_inc(v_a_2368_); -lean_dec(v___x_2345_); -v___x_2370_ = lean_box(0); -v_isShared_2371_ = v_isSharedCheck_2375_; -goto v_resetjp_2369_; -} -v_resetjp_2369_: -{ -lean_object* v___x_2373_; -if (v_isShared_2371_ == 0) -{ -v___x_2373_ = v___x_2370_; -goto v_reusejp_2372_; -} -else -{ -lean_object* v_reuseFailAlloc_2374_; -v_reuseFailAlloc_2374_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2374_, 0, v_a_2368_); -v___x_2373_ = v_reuseFailAlloc_2374_; -goto v_reusejp_2372_; -} -v_reusejp_2372_: -{ -return v___x_2373_; -} -} -} -} -else -{ -lean_object* v_a_2376_; lean_object* v___x_2378_; uint8_t v_isShared_2379_; uint8_t v_isSharedCheck_2383_; -lean_dec(v___y_2341_); -lean_dec_ref(v___y_2340_); -lean_dec(v___y_2339_); -lean_dec_ref(v___y_2338_); -lean_dec(v_e_2328_); -v_a_2376_ = lean_ctor_get(v___x_2342_, 0); -v_isSharedCheck_2383_ = !lean_is_exclusive(v___x_2342_); -if (v_isSharedCheck_2383_ == 0) -{ -v___x_2378_ = v___x_2342_; -v_isShared_2379_ = v_isSharedCheck_2383_; -goto v_resetjp_2377_; -} -else -{ -lean_inc(v_a_2376_); +lean_inc(v_a_2365_); lean_dec(v___x_2342_); -v___x_2378_ = lean_box(0); -v_isShared_2379_ = v_isSharedCheck_2383_; -goto v_resetjp_2377_; +v___x_2367_ = lean_box(0); +v_isShared_2368_ = v_isSharedCheck_2372_; +goto v_resetjp_2366_; } -v_resetjp_2377_: +v_resetjp_2366_: { -lean_object* v___x_2381_; -if (v_isShared_2379_ == 0) +lean_object* v___x_2370_; +if (v_isShared_2368_ == 0) { -v___x_2381_ = v___x_2378_; -goto v_reusejp_2380_; +v___x_2370_ = v___x_2367_; +goto v_reusejp_2369_; } else { -lean_object* v_reuseFailAlloc_2382_; -v_reuseFailAlloc_2382_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2382_, 0, v_a_2376_); -v___x_2381_ = v_reuseFailAlloc_2382_; -goto v_reusejp_2380_; +lean_object* v_reuseFailAlloc_2371_; +v_reuseFailAlloc_2371_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2371_, 0, v_a_2365_); +v___x_2370_ = v_reuseFailAlloc_2371_; +goto v_reusejp_2369_; } -v_reusejp_2380_: +v_reusejp_2369_: { -return v___x_2381_; +return v___x_2370_; } } } } -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg___boxed(lean_object* v_e_2390_, lean_object* v_prefixName_2391_, lean_object* v_a_2392_, lean_object* v_a_2393_, lean_object* v_a_2394_, lean_object* v_a_2395_, lean_object* v_a_2396_, lean_object* v_a_2397_){ -_start: -{ -lean_object* v_res_2398_; -v_res_2398_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2390_, v_prefixName_2391_, v_a_2392_, v_a_2393_, v_a_2394_, v_a_2395_, v_a_2396_); -lean_dec(v_a_2392_); -return v_res_2398_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object* v_e_2399_, lean_object* v_prefixName_2400_, uint8_t v_a_2401_, lean_object* v_a_2402_, lean_object* v_a_2403_, lean_object* v_a_2404_, lean_object* v_a_2405_, lean_object* v_a_2406_){ -_start: -{ -lean_object* v___x_2408_; -v___x_2408_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2399_, v_prefixName_2400_, v_a_2402_, v_a_2403_, v_a_2404_, v_a_2405_, v_a_2406_); -return v___x_2408_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___boxed(lean_object* v_e_2409_, lean_object* v_prefixName_2410_, lean_object* v_a_2411_, lean_object* v_a_2412_, lean_object* v_a_2413_, lean_object* v_a_2414_, lean_object* v_a_2415_, lean_object* v_a_2416_, lean_object* v_a_2417_){ -_start: -{ -uint8_t v_a_1815__boxed_2418_; lean_object* v_res_2419_; -v_a_1815__boxed_2418_ = lean_unbox(v_a_2411_); -v_res_2419_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(v_e_2409_, v_prefixName_2410_, v_a_1815__boxed_2418_, v_a_2412_, v_a_2413_, v_a_2414_, v_a_2415_, v_a_2416_); -lean_dec(v_a_2412_); -return v_res_2419_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(lean_object* v_e_2420_, lean_object* v_prefixName_2421_, lean_object* v_a_2422_, lean_object* v_a_2423_, lean_object* v_a_2424_, lean_object* v_a_2425_, lean_object* v_a_2426_){ -_start: -{ -lean_object* v___x_2428_; -v___x_2428_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2420_, v_prefixName_2421_, v_a_2422_, v_a_2423_, v_a_2424_, v_a_2425_, v_a_2426_); -if (lean_obj_tag(v___x_2428_) == 0) -{ -lean_object* v_a_2429_; lean_object* v___x_2431_; uint8_t v_isShared_2432_; uint8_t v_isSharedCheck_2437_; -v_a_2429_ = lean_ctor_get(v___x_2428_, 0); -v_isSharedCheck_2437_ = !lean_is_exclusive(v___x_2428_); -if (v_isSharedCheck_2437_ == 0) -{ -v___x_2431_ = v___x_2428_; -v_isShared_2432_ = v_isSharedCheck_2437_; -goto v_resetjp_2430_; -} -else -{ -lean_inc(v_a_2429_); -lean_dec(v___x_2428_); -v___x_2431_ = lean_box(0); -v_isShared_2432_ = v_isSharedCheck_2437_; -goto v_resetjp_2430_; -} -v_resetjp_2430_: -{ -lean_object* v___x_2433_; lean_object* v___x_2435_; -v___x_2433_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2433_, 0, v_a_2429_); -if (v_isShared_2432_ == 0) -{ -lean_ctor_set(v___x_2431_, 0, v___x_2433_); -v___x_2435_ = v___x_2431_; -goto v_reusejp_2434_; -} -else -{ -lean_object* v_reuseFailAlloc_2436_; -v_reuseFailAlloc_2436_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2436_, 0, v___x_2433_); -v___x_2435_ = v_reuseFailAlloc_2436_; -goto v_reusejp_2434_; -} -v_reusejp_2434_: -{ -return v___x_2435_; -} -} -} else { -lean_object* v_a_2438_; lean_object* v___x_2440_; uint8_t v_isShared_2441_; uint8_t v_isSharedCheck_2445_; -v_a_2438_ = lean_ctor_get(v___x_2428_, 0); -v_isSharedCheck_2445_ = !lean_is_exclusive(v___x_2428_); -if (v_isSharedCheck_2445_ == 0) +lean_object* v_a_2373_; lean_object* v___x_2375_; uint8_t v_isShared_2376_; uint8_t v_isSharedCheck_2380_; +lean_dec(v___y_2338_); +lean_dec_ref(v___y_2337_); +lean_dec(v___y_2336_); +lean_dec_ref(v___y_2335_); +lean_dec(v_e_2325_); +v_a_2373_ = lean_ctor_get(v___x_2339_, 0); +v_isSharedCheck_2380_ = !lean_is_exclusive(v___x_2339_); +if (v_isSharedCheck_2380_ == 0) { -v___x_2440_ = v___x_2428_; -v_isShared_2441_ = v_isSharedCheck_2445_; -goto v_resetjp_2439_; +v___x_2375_ = v___x_2339_; +v_isShared_2376_ = v_isSharedCheck_2380_; +goto v_resetjp_2374_; } else { -lean_inc(v_a_2438_); -lean_dec(v___x_2428_); -v___x_2440_ = lean_box(0); -v_isShared_2441_ = v_isSharedCheck_2445_; -goto v_resetjp_2439_; +lean_inc(v_a_2373_); +lean_dec(v___x_2339_); +v___x_2375_ = lean_box(0); +v_isShared_2376_ = v_isSharedCheck_2380_; +goto v_resetjp_2374_; } -v_resetjp_2439_: +v_resetjp_2374_: { -lean_object* v___x_2443_; -if (v_isShared_2441_ == 0) +lean_object* v___x_2378_; +if (v_isShared_2376_ == 0) { -v___x_2443_ = v___x_2440_; -goto v_reusejp_2442_; +v___x_2378_ = v___x_2375_; +goto v_reusejp_2377_; } else { -lean_object* v_reuseFailAlloc_2444_; -v_reuseFailAlloc_2444_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2444_, 0, v_a_2438_); -v___x_2443_ = v_reuseFailAlloc_2444_; -goto v_reusejp_2442_; +lean_object* v_reuseFailAlloc_2379_; +v_reuseFailAlloc_2379_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2379_, 0, v_a_2373_); +v___x_2378_ = v_reuseFailAlloc_2379_; +goto v_reusejp_2377_; } -v_reusejp_2442_: +v_reusejp_2377_: { -return v___x_2443_; +return v___x_2378_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg___boxed(lean_object* v_e_2446_, lean_object* v_prefixName_2447_, lean_object* v_a_2448_, lean_object* v_a_2449_, lean_object* v_a_2450_, lean_object* v_a_2451_, lean_object* v_a_2452_, lean_object* v_a_2453_){ +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg___boxed(lean_object* v_e_2387_, lean_object* v_prefixName_2388_, lean_object* v_a_2389_, lean_object* v_a_2390_, lean_object* v_a_2391_, lean_object* v_a_2392_, lean_object* v_a_2393_, lean_object* v_a_2394_){ _start: { -lean_object* v_res_2454_; -v_res_2454_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v_e_2446_, v_prefixName_2447_, v_a_2448_, v_a_2449_, v_a_2450_, v_a_2451_, v_a_2452_); -lean_dec(v_a_2448_); -return v_res_2454_; +lean_object* v_res_2395_; +v_res_2395_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2387_, v_prefixName_2388_, v_a_2389_, v_a_2390_, v_a_2391_, v_a_2392_, v_a_2393_); +lean_dec(v_a_2389_); +return v_res_2395_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(lean_object* v_e_2455_, lean_object* v_prefixName_2456_, uint8_t v_a_2457_, lean_object* v_a_2458_, lean_object* v_a_2459_, lean_object* v_a_2460_, lean_object* v_a_2461_, lean_object* v_a_2462_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object* v_e_2396_, lean_object* v_prefixName_2397_, lean_object* v_a_2398_, lean_object* v_a_2399_, lean_object* v_a_2400_, lean_object* v_a_2401_, lean_object* v_a_2402_, lean_object* v_a_2403_){ _start: { -lean_object* v___x_2464_; -v___x_2464_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v_e_2455_, v_prefixName_2456_, v_a_2458_, v_a_2459_, v_a_2460_, v_a_2461_, v_a_2462_); -return v___x_2464_; +lean_object* v___x_2405_; +v___x_2405_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2396_, v_prefixName_2397_, v_a_2399_, v_a_2400_, v_a_2401_, v_a_2402_, v_a_2403_); +return v___x_2405_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___boxed(lean_object* v_e_2465_, lean_object* v_prefixName_2466_, lean_object* v_a_2467_, lean_object* v_a_2468_, lean_object* v_a_2469_, lean_object* v_a_2470_, lean_object* v_a_2471_, lean_object* v_a_2472_, lean_object* v_a_2473_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___boxed(lean_object* v_e_2406_, lean_object* v_prefixName_2407_, lean_object* v_a_2408_, lean_object* v_a_2409_, lean_object* v_a_2410_, lean_object* v_a_2411_, lean_object* v_a_2412_, lean_object* v_a_2413_, lean_object* v_a_2414_){ _start: { -uint8_t v_a_385__boxed_2474_; lean_object* v_res_2475_; -v_a_385__boxed_2474_ = lean_unbox(v_a_2467_); -v_res_2475_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(v_e_2465_, v_prefixName_2466_, v_a_385__boxed_2474_, v_a_2468_, v_a_2469_, v_a_2470_, v_a_2471_, v_a_2472_); -lean_dec(v_a_2468_); -return v_res_2475_; +lean_object* v_res_2415_; +v_res_2415_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(v_e_2406_, v_prefixName_2407_, v_a_2408_, v_a_2409_, v_a_2410_, v_a_2411_, v_a_2412_, v_a_2413_); +lean_dec(v_a_2409_); +lean_dec_ref(v_a_2408_); +return v_res_2415_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(lean_object* v_result_2476_, lean_object* v_a_2477_, lean_object* v_a_2478_, lean_object* v_a_2479_, lean_object* v_a_2480_, lean_object* v_a_2481_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(lean_object* v_e_2416_, lean_object* v_prefixName_2417_, lean_object* v_a_2418_, lean_object* v_a_2419_, lean_object* v_a_2420_, lean_object* v_a_2421_, lean_object* v_a_2422_){ _start: { -lean_object* v_fvarId_2484_; lean_object* v___y_2485_; lean_object* v___y_2486_; lean_object* v___y_2487_; lean_object* v___y_2488_; lean_object* v___y_2489_; -if (lean_obj_tag(v_result_2476_) == 1) +lean_object* v___x_2424_; +v___x_2424_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v_e_2416_, v_prefixName_2417_, v_a_2418_, v_a_2419_, v_a_2420_, v_a_2421_, v_a_2422_); +if (lean_obj_tag(v___x_2424_) == 0) { -lean_object* v_fvarId_2494_; -v_fvarId_2494_ = lean_ctor_get(v_result_2476_, 0); -lean_inc(v_fvarId_2494_); -lean_dec_ref(v_result_2476_); -v_fvarId_2484_ = v_fvarId_2494_; -v___y_2485_ = v_a_2477_; -v___y_2486_ = v_a_2478_; -v___y_2487_ = v_a_2479_; -v___y_2488_ = v_a_2480_; -v___y_2489_ = v_a_2481_; -goto v___jp_2483_; +lean_object* v_a_2425_; lean_object* v___x_2427_; uint8_t v_isShared_2428_; uint8_t v_isSharedCheck_2433_; +v_a_2425_ = lean_ctor_get(v___x_2424_, 0); +v_isSharedCheck_2433_ = !lean_is_exclusive(v___x_2424_); +if (v_isSharedCheck_2433_ == 0) +{ +v___x_2427_ = v___x_2424_; +v_isShared_2428_ = v_isSharedCheck_2433_; +goto v_resetjp_2426_; } else { -lean_object* v___x_2495_; lean_object* v___x_2496_; lean_object* v___x_2497_; -lean_dec(v_result_2476_); -v___x_2495_ = lean_box(1); -v___x_2496_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -lean_inc(v_a_2481_); -lean_inc_ref(v_a_2480_); -lean_inc(v_a_2479_); -lean_inc_ref(v_a_2478_); -v___x_2497_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_2495_, v___x_2496_, v_a_2477_, v_a_2478_, v_a_2479_, v_a_2480_, v_a_2481_); -if (lean_obj_tag(v___x_2497_) == 0) +lean_inc(v_a_2425_); +lean_dec(v___x_2424_); +v___x_2427_ = lean_box(0); +v_isShared_2428_ = v_isSharedCheck_2433_; +goto v_resetjp_2426_; +} +v_resetjp_2426_: { -lean_object* v_a_2498_; -v_a_2498_ = lean_ctor_get(v___x_2497_, 0); -lean_inc(v_a_2498_); -lean_dec_ref(v___x_2497_); -v_fvarId_2484_ = v_a_2498_; -v___y_2485_ = v_a_2477_; -v___y_2486_ = v_a_2478_; -v___y_2487_ = v_a_2479_; -v___y_2488_ = v_a_2480_; -v___y_2489_ = v_a_2481_; -goto v___jp_2483_; +lean_object* v___x_2429_; lean_object* v___x_2431_; +v___x_2429_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2429_, 0, v_a_2425_); +if (v_isShared_2428_ == 0) +{ +lean_ctor_set(v___x_2427_, 0, v___x_2429_); +v___x_2431_ = v___x_2427_; +goto v_reusejp_2430_; } else { -lean_object* v_a_2499_; lean_object* v___x_2501_; uint8_t v_isShared_2502_; uint8_t v_isSharedCheck_2506_; -lean_dec(v_a_2481_); -lean_dec_ref(v_a_2480_); -lean_dec(v_a_2479_); -lean_dec_ref(v_a_2478_); -v_a_2499_ = lean_ctor_get(v___x_2497_, 0); -v_isSharedCheck_2506_ = !lean_is_exclusive(v___x_2497_); -if (v_isSharedCheck_2506_ == 0) +lean_object* v_reuseFailAlloc_2432_; +v_reuseFailAlloc_2432_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2432_, 0, v___x_2429_); +v___x_2431_ = v_reuseFailAlloc_2432_; +goto v_reusejp_2430_; +} +v_reusejp_2430_: { -v___x_2501_ = v___x_2497_; -v_isShared_2502_ = v_isSharedCheck_2506_; -goto v_resetjp_2500_; +return v___x_2431_; +} +} } else { -lean_inc(v_a_2499_); -lean_dec(v___x_2497_); -v___x_2501_ = lean_box(0); -v_isShared_2502_ = v_isSharedCheck_2506_; -goto v_resetjp_2500_; -} -v_resetjp_2500_: +lean_object* v_a_2434_; lean_object* v___x_2436_; uint8_t v_isShared_2437_; uint8_t v_isSharedCheck_2441_; +v_a_2434_ = lean_ctor_get(v___x_2424_, 0); +v_isSharedCheck_2441_ = !lean_is_exclusive(v___x_2424_); +if (v_isSharedCheck_2441_ == 0) { -lean_object* v___x_2504_; -if (v_isShared_2502_ == 0) -{ -v___x_2504_ = v___x_2501_; -goto v_reusejp_2503_; +v___x_2436_ = v___x_2424_; +v_isShared_2437_ = v_isSharedCheck_2441_; +goto v_resetjp_2435_; } else { -lean_object* v_reuseFailAlloc_2505_; -v_reuseFailAlloc_2505_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2505_, 0, v_a_2499_); -v___x_2504_ = v_reuseFailAlloc_2505_; -goto v_reusejp_2503_; +lean_inc(v_a_2434_); +lean_dec(v___x_2424_); +v___x_2436_ = lean_box(0); +v_isShared_2437_ = v_isSharedCheck_2441_; +goto v_resetjp_2435_; } -v_reusejp_2503_: +v_resetjp_2435_: { -return v___x_2504_; -} -} -} -} -v___jp_2483_: +lean_object* v___x_2439_; +if (v_isShared_2437_ == 0) { -lean_object* v___x_2490_; lean_object* v_seq_2491_; lean_object* v___x_2492_; lean_object* v___x_2493_; -v___x_2490_ = lean_st_ref_get(v___y_2485_); -v_seq_2491_ = lean_ctor_get(v___x_2490_, 4); -lean_inc_ref(v_seq_2491_); -lean_dec(v___x_2490_); -v___x_2492_ = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(v___x_2492_, 0, v_fvarId_2484_); -v___x_2493_ = l_Lean_Compiler_LCNF_ToLCNF_seqToCode(v_seq_2491_, v___x_2492_, v___y_2486_, v___y_2487_, v___y_2488_, v___y_2489_); -return v___x_2493_; +v___x_2439_ = v___x_2436_; +goto v_reusejp_2438_; +} +else +{ +lean_object* v_reuseFailAlloc_2440_; +v_reuseFailAlloc_2440_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2440_, 0, v_a_2434_); +v___x_2439_ = v_reuseFailAlloc_2440_; +goto v_reusejp_2438_; +} +v_reusejp_2438_: +{ +return v___x_2439_; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg___boxed(lean_object* v_result_2507_, lean_object* v_a_2508_, lean_object* v_a_2509_, lean_object* v_a_2510_, lean_object* v_a_2511_, lean_object* v_a_2512_, lean_object* v_a_2513_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg___boxed(lean_object* v_e_2442_, lean_object* v_prefixName_2443_, lean_object* v_a_2444_, lean_object* v_a_2445_, lean_object* v_a_2446_, lean_object* v_a_2447_, lean_object* v_a_2448_, lean_object* v_a_2449_){ _start: { -lean_object* v_res_2514_; -v_res_2514_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_result_2507_, v_a_2508_, v_a_2509_, v_a_2510_, v_a_2511_, v_a_2512_); -lean_dec(v_a_2508_); -return v_res_2514_; +lean_object* v_res_2450_; +v_res_2450_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v_e_2442_, v_prefixName_2443_, v_a_2444_, v_a_2445_, v_a_2446_, v_a_2447_, v_a_2448_); +lean_dec(v_a_2444_); +return v_res_2450_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object* v_result_2515_, uint8_t v_a_2516_, lean_object* v_a_2517_, lean_object* v_a_2518_, lean_object* v_a_2519_, lean_object* v_a_2520_, lean_object* v_a_2521_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(lean_object* v_e_2451_, lean_object* v_prefixName_2452_, lean_object* v_a_2453_, lean_object* v_a_2454_, lean_object* v_a_2455_, lean_object* v_a_2456_, lean_object* v_a_2457_, lean_object* v_a_2458_){ _start: { -lean_object* v___x_2523_; -v___x_2523_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_result_2515_, v_a_2517_, v_a_2518_, v_a_2519_, v_a_2520_, v_a_2521_); -return v___x_2523_; +lean_object* v___x_2460_; +v___x_2460_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v_e_2451_, v_prefixName_2452_, v_a_2454_, v_a_2455_, v_a_2456_, v_a_2457_, v_a_2458_); +return v___x_2460_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed(lean_object* v_result_2524_, lean_object* v_a_2525_, lean_object* v_a_2526_, lean_object* v_a_2527_, lean_object* v_a_2528_, lean_object* v_a_2529_, lean_object* v_a_2530_, lean_object* v_a_2531_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___boxed(lean_object* v_e_2461_, lean_object* v_prefixName_2462_, lean_object* v_a_2463_, lean_object* v_a_2464_, lean_object* v_a_2465_, lean_object* v_a_2466_, lean_object* v_a_2467_, lean_object* v_a_2468_, lean_object* v_a_2469_){ _start: { -uint8_t v_a_941__boxed_2532_; lean_object* v_res_2533_; -v_a_941__boxed_2532_ = lean_unbox(v_a_2525_); -v_res_2533_ = l_Lean_Compiler_LCNF_ToLCNF_toCode(v_result_2524_, v_a_941__boxed_2532_, v_a_2526_, v_a_2527_, v_a_2528_, v_a_2529_, v_a_2530_); -lean_dec(v_a_2526_); -return v_res_2533_; +lean_object* v_res_2470_; +v_res_2470_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg(v_e_2461_, v_prefixName_2462_, v_a_2463_, v_a_2464_, v_a_2465_, v_a_2466_, v_a_2467_, v_a_2468_); +lean_dec(v_a_2464_); +lean_dec_ref(v_a_2463_); +return v_res_2470_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(lean_object* v_result_2471_, lean_object* v_a_2472_, lean_object* v_a_2473_, lean_object* v_a_2474_, lean_object* v_a_2475_, lean_object* v_a_2476_){ +_start: +{ +lean_object* v_fvarId_2479_; lean_object* v___y_2480_; lean_object* v___y_2481_; lean_object* v___y_2482_; lean_object* v___y_2483_; lean_object* v___y_2484_; +if (lean_obj_tag(v_result_2471_) == 1) +{ +lean_object* v_fvarId_2489_; +v_fvarId_2489_ = lean_ctor_get(v_result_2471_, 0); +lean_inc(v_fvarId_2489_); +lean_dec_ref(v_result_2471_); +v_fvarId_2479_ = v_fvarId_2489_; +v___y_2480_ = v_a_2472_; +v___y_2481_ = v_a_2473_; +v___y_2482_ = v_a_2474_; +v___y_2483_ = v_a_2475_; +v___y_2484_ = v_a_2476_; +goto v___jp_2478_; +} +else +{ +lean_object* v___x_2490_; lean_object* v___x_2491_; lean_object* v___x_2492_; +lean_dec(v_result_2471_); +v___x_2490_ = lean_box(1); +v___x_2491_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +lean_inc(v_a_2476_); +lean_inc_ref(v_a_2475_); +lean_inc(v_a_2474_); +lean_inc_ref(v_a_2473_); +v___x_2492_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_2490_, v___x_2491_, v_a_2472_, v_a_2473_, v_a_2474_, v_a_2475_, v_a_2476_); +if (lean_obj_tag(v___x_2492_) == 0) +{ +lean_object* v_a_2493_; +v_a_2493_ = lean_ctor_get(v___x_2492_, 0); +lean_inc(v_a_2493_); +lean_dec_ref(v___x_2492_); +v_fvarId_2479_ = v_a_2493_; +v___y_2480_ = v_a_2472_; +v___y_2481_ = v_a_2473_; +v___y_2482_ = v_a_2474_; +v___y_2483_ = v_a_2475_; +v___y_2484_ = v_a_2476_; +goto v___jp_2478_; +} +else +{ +lean_object* v_a_2494_; lean_object* v___x_2496_; uint8_t v_isShared_2497_; uint8_t v_isSharedCheck_2501_; +lean_dec(v_a_2476_); +lean_dec_ref(v_a_2475_); +lean_dec(v_a_2474_); +lean_dec_ref(v_a_2473_); +v_a_2494_ = lean_ctor_get(v___x_2492_, 0); +v_isSharedCheck_2501_ = !lean_is_exclusive(v___x_2492_); +if (v_isSharedCheck_2501_ == 0) +{ +v___x_2496_ = v___x_2492_; +v_isShared_2497_ = v_isSharedCheck_2501_; +goto v_resetjp_2495_; +} +else +{ +lean_inc(v_a_2494_); +lean_dec(v___x_2492_); +v___x_2496_ = lean_box(0); +v_isShared_2497_ = v_isSharedCheck_2501_; +goto v_resetjp_2495_; +} +v_resetjp_2495_: +{ +lean_object* v___x_2499_; +if (v_isShared_2497_ == 0) +{ +v___x_2499_ = v___x_2496_; +goto v_reusejp_2498_; +} +else +{ +lean_object* v_reuseFailAlloc_2500_; +v_reuseFailAlloc_2500_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2500_, 0, v_a_2494_); +v___x_2499_ = v_reuseFailAlloc_2500_; +goto v_reusejp_2498_; +} +v_reusejp_2498_: +{ +return v___x_2499_; +} +} +} +} +v___jp_2478_: +{ +lean_object* v___x_2485_; lean_object* v_seq_2486_; lean_object* v___x_2487_; lean_object* v___x_2488_; +v___x_2485_ = lean_st_ref_get(v___y_2480_); +v_seq_2486_ = lean_ctor_get(v___x_2485_, 4); +lean_inc_ref(v_seq_2486_); +lean_dec(v___x_2485_); +v___x_2487_ = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(v___x_2487_, 0, v_fvarId_2479_); +v___x_2488_ = l_Lean_Compiler_LCNF_ToLCNF_seqToCode(v_seq_2486_, v___x_2487_, v___y_2481_, v___y_2482_, v___y_2483_, v___y_2484_); +return v___x_2488_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg___boxed(lean_object* v_result_2502_, lean_object* v_a_2503_, lean_object* v_a_2504_, lean_object* v_a_2505_, lean_object* v_a_2506_, lean_object* v_a_2507_, lean_object* v_a_2508_){ +_start: +{ +lean_object* v_res_2509_; +v_res_2509_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_result_2502_, v_a_2503_, v_a_2504_, v_a_2505_, v_a_2506_, v_a_2507_); +lean_dec(v_a_2503_); +return v_res_2509_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object* v_result_2510_, lean_object* v_a_2511_, lean_object* v_a_2512_, lean_object* v_a_2513_, lean_object* v_a_2514_, lean_object* v_a_2515_, lean_object* v_a_2516_){ +_start: +{ +lean_object* v___x_2518_; +v___x_2518_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_result_2510_, v_a_2512_, v_a_2513_, v_a_2514_, v_a_2515_, v_a_2516_); +return v___x_2518_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed(lean_object* v_result_2519_, lean_object* v_a_2520_, lean_object* v_a_2521_, lean_object* v_a_2522_, lean_object* v_a_2523_, lean_object* v_a_2524_, lean_object* v_a_2525_, lean_object* v_a_2526_){ +_start: +{ +lean_object* v_res_2527_; +v_res_2527_ = l_Lean_Compiler_LCNF_ToLCNF_toCode(v_result_2519_, v_a_2520_, v_a_2521_, v_a_2522_, v_a_2523_, v_a_2524_, v_a_2525_); +lean_dec(v_a_2521_); +lean_dec_ref(v_a_2520_); +return v_res_2527_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0(void){ _start: { -lean_object* v___x_2534_; -v___x_2534_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_2534_; +lean_object* v___x_2528_; +v___x_2528_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_2528_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1(void){ _start: { -lean_object* v___x_2535_; lean_object* v___x_2536_; -v___x_2535_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0); -v___x_2536_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2536_, 0, v___x_2535_); -return v___x_2536_; +lean_object* v___x_2529_; lean_object* v___x_2530_; +v___x_2529_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__0); +v___x_2530_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2530_, 0, v___x_2529_); +return v___x_2530_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2(void){ _start: { -lean_object* v___x_2537_; lean_object* v___x_2538_; lean_object* v___x_2539_; -v___x_2537_ = lean_unsigned_to_nat(32u); -v___x_2538_ = lean_mk_empty_array_with_capacity(v___x_2537_); -v___x_2539_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2539_, 0, v___x_2538_); -return v___x_2539_; +lean_object* v___x_2531_; lean_object* v___x_2532_; lean_object* v___x_2533_; +v___x_2531_ = lean_unsigned_to_nat(32u); +v___x_2532_ = lean_mk_empty_array_with_capacity(v___x_2531_); +v___x_2533_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2533_, 0, v___x_2532_); +return v___x_2533_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3(void){ _start: { -size_t v___x_2540_; lean_object* v___x_2541_; lean_object* v___x_2542_; lean_object* v___x_2543_; lean_object* v___x_2544_; lean_object* v___x_2545_; -v___x_2540_ = ((size_t)5ULL); -v___x_2541_ = lean_unsigned_to_nat(0u); -v___x_2542_ = lean_unsigned_to_nat(32u); -v___x_2543_ = lean_mk_empty_array_with_capacity(v___x_2542_); -v___x_2544_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2); -v___x_2545_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v___x_2545_, 0, v___x_2544_); -lean_ctor_set(v___x_2545_, 1, v___x_2543_); -lean_ctor_set(v___x_2545_, 2, v___x_2541_); -lean_ctor_set(v___x_2545_, 3, v___x_2541_); -lean_ctor_set_usize(v___x_2545_, 4, v___x_2540_); -return v___x_2545_; +size_t v___x_2534_; lean_object* v___x_2535_; lean_object* v___x_2536_; lean_object* v___x_2537_; lean_object* v___x_2538_; lean_object* v___x_2539_; +v___x_2534_ = ((size_t)5ULL); +v___x_2535_ = lean_unsigned_to_nat(0u); +v___x_2536_ = lean_unsigned_to_nat(32u); +v___x_2537_ = lean_mk_empty_array_with_capacity(v___x_2536_); +v___x_2538_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__2); +v___x_2539_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v___x_2539_, 0, v___x_2538_); +lean_ctor_set(v___x_2539_, 1, v___x_2537_); +lean_ctor_set(v___x_2539_, 2, v___x_2535_); +lean_ctor_set(v___x_2539_, 3, v___x_2535_); +lean_ctor_set_usize(v___x_2539_, 4, v___x_2534_); +return v___x_2539_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4(void){ _start: { -lean_object* v___x_2546_; lean_object* v___x_2547_; lean_object* v___x_2548_; lean_object* v___x_2549_; -v___x_2546_ = lean_box(1); -v___x_2547_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); -v___x_2548_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); -v___x_2549_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_2549_, 0, v___x_2548_); -lean_ctor_set(v___x_2549_, 1, v___x_2547_); -lean_ctor_set(v___x_2549_, 2, v___x_2546_); -return v___x_2549_; +lean_object* v___x_2540_; lean_object* v___x_2541_; lean_object* v___x_2542_; lean_object* v___x_2543_; +v___x_2540_ = lean_box(1); +v___x_2541_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); +v___x_2542_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); +v___x_2543_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_2543_, 0, v___x_2542_); +lean_ctor_set(v___x_2543_, 1, v___x_2541_); +lean_ctor_set(v___x_2543_, 2, v___x_2540_); +return v___x_2543_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5(void){ _start: { -lean_object* v___x_2550_; lean_object* v___x_2551_; lean_object* v___x_2552_; -v___x_2550_ = lean_box(0); -v___x_2551_ = lean_unsigned_to_nat(16u); -v___x_2552_ = lean_mk_array(v___x_2551_, v___x_2550_); -return v___x_2552_; +lean_object* v___x_2544_; lean_object* v___x_2545_; lean_object* v___x_2546_; +v___x_2544_ = lean_box(0); +v___x_2545_ = lean_unsigned_to_nat(16u); +v___x_2546_ = lean_mk_array(v___x_2545_, v___x_2544_); +return v___x_2546_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6(void){ _start: { -lean_object* v___x_2553_; lean_object* v___x_2554_; lean_object* v___x_2555_; -v___x_2553_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5); -v___x_2554_ = lean_unsigned_to_nat(0u); -v___x_2555_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2555_, 0, v___x_2554_); -lean_ctor_set(v___x_2555_, 1, v___x_2553_); -return v___x_2555_; +lean_object* v___x_2547_; lean_object* v___x_2548_; lean_object* v___x_2549_; +v___x_2547_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__5); +v___x_2548_ = lean_unsigned_to_nat(0u); +v___x_2549_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2549_, 0, v___x_2548_); +lean_ctor_set(v___x_2549_, 1, v___x_2547_); +return v___x_2549_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8(void){ _start: { -lean_object* v___x_2558_; lean_object* v___x_2559_; lean_object* v___x_2560_; uint8_t v___x_2561_; lean_object* v___x_2562_; lean_object* v___x_2563_; lean_object* v___x_2564_; -v___x_2558_ = lean_box(1); -v___x_2559_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7)); -v___x_2560_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6); -v___x_2561_ = 1; -v___x_2562_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); -v___x_2563_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4); -v___x_2564_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v___x_2564_, 0, v___x_2563_); -lean_ctor_set(v___x_2564_, 1, v___x_2562_); -lean_ctor_set(v___x_2564_, 2, v___x_2560_); -lean_ctor_set(v___x_2564_, 3, v___x_2560_); -lean_ctor_set(v___x_2564_, 4, v___x_2559_); -lean_ctor_set(v___x_2564_, 5, v___x_2558_); -lean_ctor_set_uint8(v___x_2564_, sizeof(void*)*6, v___x_2561_); -return v___x_2564_; +lean_object* v___x_2552_; lean_object* v___x_2553_; lean_object* v___x_2554_; uint8_t v___x_2555_; lean_object* v___x_2556_; lean_object* v___x_2557_; lean_object* v___x_2558_; +v___x_2552_ = lean_box(1); +v___x_2553_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7)); +v___x_2554_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__6); +v___x_2555_ = 1; +v___x_2556_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); +v___x_2557_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4); +v___x_2558_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v___x_2558_, 0, v___x_2557_); +lean_ctor_set(v___x_2558_, 1, v___x_2556_); +lean_ctor_set(v___x_2558_, 2, v___x_2554_); +lean_ctor_set(v___x_2558_, 3, v___x_2554_); +lean_ctor_set(v___x_2558_, 4, v___x_2553_); +lean_ctor_set(v___x_2558_, 5, v___x_2552_); +lean_ctor_set_uint8(v___x_2558_, sizeof(void*)*6, v___x_2555_); +return v___x_2558_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg(lean_object* v_x_2565_, lean_object* v_a_2566_, lean_object* v_a_2567_, lean_object* v_a_2568_, lean_object* v_a_2569_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg(lean_object* v_expectedType_2559_, lean_object* v_x_2560_, lean_object* v_a_2561_, lean_object* v_a_2562_, lean_object* v_a_2563_, lean_object* v_a_2564_){ _start: { -lean_object* v___x_2571_; lean_object* v___x_2572_; uint8_t v___x_2573_; lean_object* v___x_2574_; lean_object* v___x_2575_; -v___x_2571_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8); -v___x_2572_ = lean_st_mk_ref(v___x_2571_); -v___x_2573_ = 0; -v___x_2574_ = lean_box(v___x_2573_); -lean_inc(v___x_2572_); -v___x_2575_ = lean_apply_7(v_x_2565_, v___x_2574_, v___x_2572_, v_a_2566_, v_a_2567_, v_a_2568_, v_a_2569_, lean_box(0)); -if (lean_obj_tag(v___x_2575_) == 0) +lean_object* v___x_2566_; lean_object* v___x_2567_; uint8_t v___x_2568_; lean_object* v___x_2569_; lean_object* v___x_2570_; lean_object* v___x_2571_; +v___x_2566_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__8); +v___x_2567_ = lean_st_mk_ref(v___x_2566_); +v___x_2568_ = 0; +v___x_2569_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2569_, 0, v_expectedType_2559_); +v___x_2570_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_2570_, 0, v___x_2569_); +lean_ctor_set_uint8(v___x_2570_, sizeof(void*)*1, v___x_2568_); +lean_inc(v___x_2567_); +v___x_2571_ = lean_apply_7(v_x_2560_, v___x_2570_, v___x_2567_, v_a_2561_, v_a_2562_, v_a_2563_, v_a_2564_, lean_box(0)); +if (lean_obj_tag(v___x_2571_) == 0) { -lean_object* v_a_2576_; lean_object* v___x_2578_; uint8_t v_isShared_2579_; uint8_t v_isSharedCheck_2584_; -v_a_2576_ = lean_ctor_get(v___x_2575_, 0); -v_isSharedCheck_2584_ = !lean_is_exclusive(v___x_2575_); -if (v_isSharedCheck_2584_ == 0) +lean_object* v_a_2572_; lean_object* v___x_2574_; uint8_t v_isShared_2575_; uint8_t v_isSharedCheck_2580_; +v_a_2572_ = lean_ctor_get(v___x_2571_, 0); +v_isSharedCheck_2580_ = !lean_is_exclusive(v___x_2571_); +if (v_isSharedCheck_2580_ == 0) { -v___x_2578_ = v___x_2575_; -v_isShared_2579_ = v_isSharedCheck_2584_; -goto v_resetjp_2577_; +v___x_2574_ = v___x_2571_; +v_isShared_2575_ = v_isSharedCheck_2580_; +goto v_resetjp_2573_; } else { -lean_inc(v_a_2576_); -lean_dec(v___x_2575_); -v___x_2578_ = lean_box(0); -v_isShared_2579_ = v_isSharedCheck_2584_; -goto v_resetjp_2577_; +lean_inc(v_a_2572_); +lean_dec(v___x_2571_); +v___x_2574_ = lean_box(0); +v_isShared_2575_ = v_isSharedCheck_2580_; +goto v_resetjp_2573_; } -v_resetjp_2577_: +v_resetjp_2573_: { -lean_object* v___x_2580_; lean_object* v___x_2582_; -v___x_2580_ = lean_st_ref_get(v___x_2572_); -lean_dec(v___x_2572_); -lean_dec(v___x_2580_); -if (v_isShared_2579_ == 0) +lean_object* v___x_2576_; lean_object* v___x_2578_; +v___x_2576_ = lean_st_ref_get(v___x_2567_); +lean_dec(v___x_2567_); +lean_dec(v___x_2576_); +if (v_isShared_2575_ == 0) { -v___x_2582_ = v___x_2578_; -goto v_reusejp_2581_; +v___x_2578_ = v___x_2574_; +goto v_reusejp_2577_; } else { -lean_object* v_reuseFailAlloc_2583_; -v_reuseFailAlloc_2583_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2583_, 0, v_a_2576_); -v___x_2582_ = v_reuseFailAlloc_2583_; -goto v_reusejp_2581_; +lean_object* v_reuseFailAlloc_2579_; +v_reuseFailAlloc_2579_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2579_, 0, v_a_2572_); +v___x_2578_ = v_reuseFailAlloc_2579_; +goto v_reusejp_2577_; } -v_reusejp_2581_: +v_reusejp_2577_: { -return v___x_2582_; +return v___x_2578_; } } } else { -lean_dec(v___x_2572_); -return v___x_2575_; +lean_dec(v___x_2567_); +return v___x_2571_; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___boxed(lean_object* v_x_2585_, lean_object* v_a_2586_, lean_object* v_a_2587_, lean_object* v_a_2588_, lean_object* v_a_2589_, lean_object* v_a_2590_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___redArg___boxed(lean_object* v_expectedType_2581_, lean_object* v_x_2582_, lean_object* v_a_2583_, lean_object* v_a_2584_, lean_object* v_a_2585_, lean_object* v_a_2586_, lean_object* v_a_2587_){ _start: { -lean_object* v_res_2591_; -v_res_2591_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v_x_2585_, v_a_2586_, v_a_2587_, v_a_2588_, v_a_2589_); -return v_res_2591_; +lean_object* v_res_2588_; +v_res_2588_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v_expectedType_2581_, v_x_2582_, v_a_2583_, v_a_2584_, v_a_2585_, v_a_2586_); +return v_res_2588_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object* v_00_u03b1_2592_, lean_object* v_x_2593_, lean_object* v_a_2594_, lean_object* v_a_2595_, lean_object* v_a_2596_, lean_object* v_a_2597_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object* v_00_u03b1_2589_, lean_object* v_expectedType_2590_, lean_object* v_x_2591_, lean_object* v_a_2592_, lean_object* v_a_2593_, lean_object* v_a_2594_, lean_object* v_a_2595_){ _start: { -lean_object* v___x_2599_; -v___x_2599_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v_x_2593_, v_a_2594_, v_a_2595_, v_a_2596_, v_a_2597_); -return v___x_2599_; +lean_object* v___x_2597_; +v___x_2597_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v_expectedType_2590_, v_x_2591_, v_a_2592_, v_a_2593_, v_a_2594_, v_a_2595_); +return v___x_2597_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___boxed(lean_object* v_00_u03b1_2600_, lean_object* v_x_2601_, lean_object* v_a_2602_, lean_object* v_a_2603_, lean_object* v_a_2604_, lean_object* v_a_2605_, lean_object* v_a_2606_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___boxed(lean_object* v_00_u03b1_2598_, lean_object* v_expectedType_2599_, lean_object* v_x_2600_, lean_object* v_a_2601_, lean_object* v_a_2602_, lean_object* v_a_2603_, lean_object* v_a_2604_, lean_object* v_a_2605_){ _start: { -lean_object* v_res_2607_; -v_res_2607_ = l_Lean_Compiler_LCNF_ToLCNF_run(v_00_u03b1_2600_, v_x_2601_, v_a_2602_, v_a_2603_, v_a_2604_, v_a_2605_); -return v_res_2607_; +lean_object* v_res_2606_; +v_res_2606_ = l_Lean_Compiler_LCNF_ToLCNF_run(v_00_u03b1_2598_, v_expectedType_2599_, v_x_2600_, v_a_2601_, v_a_2602_, v_a_2603_, v_a_2604_); +return v_res_2606_; } } -LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object* v_env_2608_, lean_object* v_a_2609_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___redArg(lean_object* v_e_2607_, lean_object* v_x_2608_, lean_object* v_a_2609_, lean_object* v_a_2610_, lean_object* v_a_2611_, lean_object* v_a_2612_, lean_object* v_a_2613_, lean_object* v_a_2614_){ _start: { -switch(lean_obj_tag(v_a_2609_)) +uint8_t v_ignoreNoncomputable_2616_; lean_object* v___x_2618_; uint8_t v_isShared_2619_; uint8_t v_isSharedCheck_2624_; +v_ignoreNoncomputable_2616_ = lean_ctor_get_uint8(v_a_2609_, sizeof(void*)*1); +v_isSharedCheck_2624_ = !lean_is_exclusive(v_a_2609_); +if (v_isSharedCheck_2624_ == 0) { -case 7: -{ -lean_object* v_body_2610_; -v_body_2610_ = lean_ctor_get(v_a_2609_, 2); -v_a_2609_ = v_body_2610_; -goto _start; -} -case 10: -{ -lean_object* v_expr_2612_; -v_expr_2612_ = lean_ctor_get(v_a_2609_, 1); -v_a_2609_ = v_expr_2612_; -goto _start; -} -case 8: -{ -uint8_t v___x_2614_; -lean_dec_ref(v_env_2608_); -v___x_2614_ = 2; -return v___x_2614_; -} -case 3: -{ -uint8_t v___x_2615_; -lean_dec_ref(v_env_2608_); -v___x_2615_ = 1; -return v___x_2615_; -} -case 0: -{ -uint8_t v___x_2616_; -lean_dec_ref(v_env_2608_); -v___x_2616_ = 0; -return v___x_2616_; -} -default: -{ -lean_object* v___x_2617_; -v___x_2617_ = l_Lean_Expr_getAppFn(v_a_2609_); -switch(lean_obj_tag(v___x_2617_)) -{ -case 0: -{ -uint8_t v___x_2618_; -lean_dec_ref(v___x_2617_); -lean_dec_ref(v_env_2608_); -v___x_2618_ = 0; -return v___x_2618_; -} -case 4: -{ -lean_object* v_declName_2619_; uint8_t v___x_2620_; lean_object* v___x_2621_; -v_declName_2619_ = lean_ctor_get(v___x_2617_, 0); -lean_inc(v_declName_2619_); -lean_dec_ref(v___x_2617_); -v___x_2620_ = 0; -v___x_2621_ = l_Lean_Environment_find_x3f(v_env_2608_, v_declName_2619_, v___x_2620_); -if (lean_obj_tag(v___x_2621_) == 1) -{ -lean_object* v_val_2622_; -v_val_2622_ = lean_ctor_get(v___x_2621_, 0); -lean_inc(v_val_2622_); -lean_dec_ref(v___x_2621_); -if (lean_obj_tag(v_val_2622_) == 5) -{ -uint8_t v___x_2623_; -lean_dec_ref(v_val_2622_); -v___x_2623_ = 0; -return v___x_2623_; +lean_object* v_unused_2625_; +v_unused_2625_ = lean_ctor_get(v_a_2609_, 0); +lean_dec(v_unused_2625_); +v___x_2618_ = v_a_2609_; +v_isShared_2619_ = v_isSharedCheck_2624_; +goto v_resetjp_2617_; } else { -uint8_t v___x_2624_; -lean_dec(v_val_2622_); -v___x_2624_ = 2; -return v___x_2624_; +lean_dec(v_a_2609_); +v___x_2618_ = lean_box(0); +v_isShared_2619_ = v_isSharedCheck_2624_; +goto v_resetjp_2617_; } +v_resetjp_2617_: +{ +lean_object* v___x_2621_; +if (v_isShared_2619_ == 0) +{ +lean_ctor_set(v___x_2618_, 0, v_e_2607_); +v___x_2621_ = v___x_2618_; +goto v_reusejp_2620_; } else { -uint8_t v___x_2625_; -lean_dec(v___x_2621_); -v___x_2625_ = 2; -return v___x_2625_; +lean_object* v_reuseFailAlloc_2623_; +v_reuseFailAlloc_2623_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_2623_, 0, v_e_2607_); +lean_ctor_set_uint8(v_reuseFailAlloc_2623_, sizeof(void*)*1, v_ignoreNoncomputable_2616_); +v___x_2621_ = v_reuseFailAlloc_2623_; +goto v_reusejp_2620_; } -} -default: +v_reusejp_2620_: { -uint8_t v___x_2626_; -lean_dec_ref(v___x_2617_); -lean_dec_ref(v_env_2608_); -v___x_2626_ = 2; -return v___x_2626_; +lean_object* v___x_2622_; +v___x_2622_ = lean_apply_7(v_x_2608_, v___x_2621_, v_a_2610_, v_a_2611_, v_a_2612_, v_a_2613_, v_a_2614_, lean_box(0)); +return v___x_2622_; } } } } -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick___boxed(lean_object* v_env_2627_, lean_object* v_a_2628_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___redArg___boxed(lean_object* v_e_2626_, lean_object* v_x_2627_, lean_object* v_a_2628_, lean_object* v_a_2629_, lean_object* v_a_2630_, lean_object* v_a_2631_, lean_object* v_a_2632_, lean_object* v_a_2633_, lean_object* v_a_2634_){ _start: { -uint8_t v_res_2629_; lean_object* v_r_2630_; -v_res_2629_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(v_env_2627_, v_a_2628_); -lean_dec_ref(v_a_2628_); -v_r_2630_ = lean_box(v_res_2629_); -return v_r_2630_; +lean_object* v_res_2635_; +v_res_2635_ = l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___redArg(v_e_2626_, v_x_2627_, v_a_2628_, v_a_2629_, v_a_2630_, v_a_2631_, v_a_2632_, v_a_2633_); +return v_res_2635_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(lean_object* v_a_2631_, lean_object* v_x_2632_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType(lean_object* v_00_u03b1_2636_, lean_object* v_e_2637_, lean_object* v_x_2638_, lean_object* v_a_2639_, lean_object* v_a_2640_, lean_object* v_a_2641_, lean_object* v_a_2642_, lean_object* v_a_2643_, lean_object* v_a_2644_){ _start: { -if (lean_obj_tag(v_x_2632_) == 0) +uint8_t v_ignoreNoncomputable_2646_; lean_object* v___x_2648_; uint8_t v_isShared_2649_; uint8_t v_isSharedCheck_2654_; +v_ignoreNoncomputable_2646_ = lean_ctor_get_uint8(v_a_2639_, sizeof(void*)*1); +v_isSharedCheck_2654_ = !lean_is_exclusive(v_a_2639_); +if (v_isSharedCheck_2654_ == 0) { -uint8_t v___x_2633_; -v___x_2633_ = 0; -return v___x_2633_; -} -else -{ -lean_object* v_key_2634_; lean_object* v_tail_2635_; uint8_t v___x_2636_; -v_key_2634_ = lean_ctor_get(v_x_2632_, 0); -v_tail_2635_ = lean_ctor_get(v_x_2632_, 2); -v___x_2636_ = lean_expr_eqv(v_key_2634_, v_a_2631_); -if (v___x_2636_ == 0) -{ -v_x_2632_ = v_tail_2635_; -goto _start; -} -else -{ -return v___x_2636_; -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg___boxed(lean_object* v_a_2638_, lean_object* v_x_2639_){ -_start: -{ -uint8_t v_res_2640_; lean_object* v_r_2641_; -v_res_2640_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_2638_, v_x_2639_); -lean_dec(v_x_2639_); -lean_dec_ref(v_a_2638_); -v_r_2641_ = lean_box(v_res_2640_); -return v_r_2641_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(lean_object* v_x_2642_, lean_object* v_x_2643_){ -_start: -{ -if (lean_obj_tag(v_x_2643_) == 0) -{ -return v_x_2642_; -} -else -{ -lean_object* v_key_2644_; lean_object* v_value_2645_; lean_object* v_tail_2646_; lean_object* v___x_2648_; uint8_t v_isShared_2649_; uint8_t v_isSharedCheck_2669_; -v_key_2644_ = lean_ctor_get(v_x_2643_, 0); -v_value_2645_ = lean_ctor_get(v_x_2643_, 1); -v_tail_2646_ = lean_ctor_get(v_x_2643_, 2); -v_isSharedCheck_2669_ = !lean_is_exclusive(v_x_2643_); -if (v_isSharedCheck_2669_ == 0) -{ -v___x_2648_ = v_x_2643_; -v_isShared_2649_ = v_isSharedCheck_2669_; +lean_object* v_unused_2655_; +v_unused_2655_ = lean_ctor_get(v_a_2639_, 0); +lean_dec(v_unused_2655_); +v___x_2648_ = v_a_2639_; +v_isShared_2649_ = v_isSharedCheck_2654_; goto v_resetjp_2647_; } else { -lean_inc(v_tail_2646_); -lean_inc(v_value_2645_); -lean_inc(v_key_2644_); -lean_dec(v_x_2643_); +lean_dec(v_a_2639_); v___x_2648_ = lean_box(0); -v_isShared_2649_ = v_isSharedCheck_2669_; +v_isShared_2649_ = v_isSharedCheck_2654_; goto v_resetjp_2647_; } v_resetjp_2647_: { -lean_object* v___x_2650_; uint64_t v___x_2651_; uint64_t v___x_2652_; uint64_t v___x_2653_; uint64_t v_fold_2654_; uint64_t v___x_2655_; uint64_t v___x_2656_; uint64_t v___x_2657_; size_t v___x_2658_; size_t v___x_2659_; size_t v___x_2660_; size_t v___x_2661_; size_t v___x_2662_; lean_object* v___x_2663_; lean_object* v___x_2665_; -v___x_2650_ = lean_array_get_size(v_x_2642_); -v___x_2651_ = l_Lean_Expr_hash(v_key_2644_); -v___x_2652_ = 32ULL; -v___x_2653_ = lean_uint64_shift_right(v___x_2651_, v___x_2652_); -v_fold_2654_ = lean_uint64_xor(v___x_2651_, v___x_2653_); -v___x_2655_ = 16ULL; -v___x_2656_ = lean_uint64_shift_right(v_fold_2654_, v___x_2655_); -v___x_2657_ = lean_uint64_xor(v_fold_2654_, v___x_2656_); -v___x_2658_ = lean_uint64_to_usize(v___x_2657_); -v___x_2659_ = lean_usize_of_nat(v___x_2650_); -v___x_2660_ = ((size_t)1ULL); -v___x_2661_ = lean_usize_sub(v___x_2659_, v___x_2660_); -v___x_2662_ = lean_usize_land(v___x_2658_, v___x_2661_); -v___x_2663_ = lean_array_uget_borrowed(v_x_2642_, v___x_2662_); -lean_inc(v___x_2663_); +lean_object* v___x_2651_; if (v_isShared_2649_ == 0) { -lean_ctor_set(v___x_2648_, 2, v___x_2663_); -v___x_2665_ = v___x_2648_; -goto v_reusejp_2664_; +lean_ctor_set(v___x_2648_, 0, v_e_2637_); +v___x_2651_ = v___x_2648_; +goto v_reusejp_2650_; } else { -lean_object* v_reuseFailAlloc_2668_; -v_reuseFailAlloc_2668_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_2668_, 0, v_key_2644_); -lean_ctor_set(v_reuseFailAlloc_2668_, 1, v_value_2645_); -lean_ctor_set(v_reuseFailAlloc_2668_, 2, v___x_2663_); -v___x_2665_ = v_reuseFailAlloc_2668_; -goto v_reusejp_2664_; +lean_object* v_reuseFailAlloc_2653_; +v_reuseFailAlloc_2653_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_2653_, 0, v_e_2637_); +lean_ctor_set_uint8(v_reuseFailAlloc_2653_, sizeof(void*)*1, v_ignoreNoncomputable_2646_); +v___x_2651_ = v_reuseFailAlloc_2653_; +goto v_reusejp_2650_; } -v_reusejp_2664_: +v_reusejp_2650_: { -lean_object* v___x_2666_; -v___x_2666_ = lean_array_uset(v_x_2642_, v___x_2662_, v___x_2665_); -v_x_2642_ = v___x_2666_; -v_x_2643_ = v_tail_2646_; +lean_object* v___x_2652_; +v___x_2652_ = lean_apply_7(v_x_2638_, v___x_2651_, v_a_2640_, v_a_2641_, v_a_2642_, v_a_2643_, v_a_2644_, lean_box(0)); +return v___x_2652_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withExpectedType___boxed(lean_object* v_00_u03b1_2656_, lean_object* v_e_2657_, lean_object* v_x_2658_, lean_object* v_a_2659_, lean_object* v_a_2660_, lean_object* v_a_2661_, lean_object* v_a_2662_, lean_object* v_a_2663_, lean_object* v_a_2664_, lean_object* v_a_2665_){ +_start: +{ +lean_object* v_res_2666_; +v_res_2666_ = l_Lean_Compiler_LCNF_ToLCNF_withExpectedType(v_00_u03b1_2656_, v_e_2657_, v_x_2658_, v_a_2659_, v_a_2660_, v_a_2661_, v_a_2662_, v_a_2663_, v_a_2664_); +return v_res_2666_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___redArg(lean_object* v_x_2667_, lean_object* v_a_2668_, lean_object* v_a_2669_, lean_object* v_a_2670_, lean_object* v_a_2671_, lean_object* v_a_2672_, lean_object* v_a_2673_){ +_start: +{ +uint8_t v_ignoreNoncomputable_2675_; lean_object* v___x_2677_; uint8_t v_isShared_2678_; uint8_t v_isSharedCheck_2684_; +v_ignoreNoncomputable_2675_ = lean_ctor_get_uint8(v_a_2668_, sizeof(void*)*1); +v_isSharedCheck_2684_ = !lean_is_exclusive(v_a_2668_); +if (v_isSharedCheck_2684_ == 0) +{ +lean_object* v_unused_2685_; +v_unused_2685_ = lean_ctor_get(v_a_2668_, 0); +lean_dec(v_unused_2685_); +v___x_2677_ = v_a_2668_; +v_isShared_2678_ = v_isSharedCheck_2684_; +goto v_resetjp_2676_; +} +else +{ +lean_dec(v_a_2668_); +v___x_2677_ = lean_box(0); +v_isShared_2678_ = v_isSharedCheck_2684_; +goto v_resetjp_2676_; +} +v_resetjp_2676_: +{ +lean_object* v___x_2679_; lean_object* v___x_2681_; +v___x_2679_ = lean_box(0); +if (v_isShared_2678_ == 0) +{ +lean_ctor_set(v___x_2677_, 0, v___x_2679_); +v___x_2681_ = v___x_2677_; +goto v_reusejp_2680_; +} +else +{ +lean_object* v_reuseFailAlloc_2683_; +v_reuseFailAlloc_2683_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_2683_, 0, v___x_2679_); +lean_ctor_set_uint8(v_reuseFailAlloc_2683_, sizeof(void*)*1, v_ignoreNoncomputable_2675_); +v___x_2681_ = v_reuseFailAlloc_2683_; +goto v_reusejp_2680_; +} +v_reusejp_2680_: +{ +lean_object* v___x_2682_; +v___x_2682_ = lean_apply_7(v_x_2667_, v___x_2681_, v_a_2669_, v_a_2670_, v_a_2671_, v_a_2672_, v_a_2673_, lean_box(0)); +return v___x_2682_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___redArg___boxed(lean_object* v_x_2686_, lean_object* v_a_2687_, lean_object* v_a_2688_, lean_object* v_a_2689_, lean_object* v_a_2690_, lean_object* v_a_2691_, lean_object* v_a_2692_, lean_object* v_a_2693_){ +_start: +{ +lean_object* v_res_2694_; +v_res_2694_ = l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___redArg(v_x_2686_, v_a_2687_, v_a_2688_, v_a_2689_, v_a_2690_, v_a_2691_, v_a_2692_); +return v_res_2694_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType(lean_object* v_00_u03b1_2695_, lean_object* v_x_2696_, lean_object* v_a_2697_, lean_object* v_a_2698_, lean_object* v_a_2699_, lean_object* v_a_2700_, lean_object* v_a_2701_, lean_object* v_a_2702_){ +_start: +{ +uint8_t v_ignoreNoncomputable_2704_; lean_object* v___x_2706_; uint8_t v_isShared_2707_; uint8_t v_isSharedCheck_2713_; +v_ignoreNoncomputable_2704_ = lean_ctor_get_uint8(v_a_2697_, sizeof(void*)*1); +v_isSharedCheck_2713_ = !lean_is_exclusive(v_a_2697_); +if (v_isSharedCheck_2713_ == 0) +{ +lean_object* v_unused_2714_; +v_unused_2714_ = lean_ctor_get(v_a_2697_, 0); +lean_dec(v_unused_2714_); +v___x_2706_ = v_a_2697_; +v_isShared_2707_ = v_isSharedCheck_2713_; +goto v_resetjp_2705_; +} +else +{ +lean_dec(v_a_2697_); +v___x_2706_ = lean_box(0); +v_isShared_2707_ = v_isSharedCheck_2713_; +goto v_resetjp_2705_; +} +v_resetjp_2705_: +{ +lean_object* v___x_2708_; lean_object* v___x_2710_; +v___x_2708_ = lean_box(0); +if (v_isShared_2707_ == 0) +{ +lean_ctor_set(v___x_2706_, 0, v___x_2708_); +v___x_2710_ = v___x_2706_; +goto v_reusejp_2709_; +} +else +{ +lean_object* v_reuseFailAlloc_2712_; +v_reuseFailAlloc_2712_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_2712_, 0, v___x_2708_); +lean_ctor_set_uint8(v_reuseFailAlloc_2712_, sizeof(void*)*1, v_ignoreNoncomputable_2704_); +v___x_2710_ = v_reuseFailAlloc_2712_; +goto v_reusejp_2709_; +} +v_reusejp_2709_: +{ +lean_object* v___x_2711_; +v___x_2711_ = lean_apply_7(v_x_2696_, v___x_2710_, v_a_2698_, v_a_2699_, v_a_2700_, v_a_2701_, v_a_2702_, lean_box(0)); +return v___x_2711_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType___boxed(lean_object* v_00_u03b1_2715_, lean_object* v_x_2716_, lean_object* v_a_2717_, lean_object* v_a_2718_, lean_object* v_a_2719_, lean_object* v_a_2720_, lean_object* v_a_2721_, lean_object* v_a_2722_, lean_object* v_a_2723_){ +_start: +{ +lean_object* v_res_2724_; +v_res_2724_ = l_Lean_Compiler_LCNF_ToLCNF_withoutExpectedType(v_00_u03b1_2715_, v_x_2716_, v_a_2717_, v_a_2718_, v_a_2719_, v_a_2720_, v_a_2721_, v_a_2722_); +return v_res_2724_; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object* v_env_2725_, lean_object* v_a_2726_){ +_start: +{ +switch(lean_obj_tag(v_a_2726_)) +{ +case 7: +{ +lean_object* v_body_2727_; +v_body_2727_ = lean_ctor_get(v_a_2726_, 2); +v_a_2726_ = v_body_2727_; goto _start; } -} -} -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(lean_object* v_i_2670_, lean_object* v_source_2671_, lean_object* v_target_2672_){ -_start: +case 10: { -lean_object* v___x_2673_; uint8_t v___x_2674_; -v___x_2673_ = lean_array_get_size(v_source_2671_); -v___x_2674_ = lean_nat_dec_lt(v_i_2670_, v___x_2673_); -if (v___x_2674_ == 0) -{ -lean_dec_ref(v_source_2671_); -lean_dec(v_i_2670_); -return v_target_2672_; -} -else -{ -lean_object* v_es_2675_; lean_object* v___x_2676_; lean_object* v_source_2677_; lean_object* v_target_2678_; lean_object* v___x_2679_; lean_object* v___x_2680_; -v_es_2675_ = lean_array_fget(v_source_2671_, v_i_2670_); -v___x_2676_ = lean_box(0); -v_source_2677_ = lean_array_fset(v_source_2671_, v_i_2670_, v___x_2676_); -v_target_2678_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(v_target_2672_, v_es_2675_); -v___x_2679_ = lean_unsigned_to_nat(1u); -v___x_2680_ = lean_nat_add(v_i_2670_, v___x_2679_); -lean_dec(v_i_2670_); -v_i_2670_ = v___x_2680_; -v_source_2671_ = v_source_2677_; -v_target_2672_ = v_target_2678_; +lean_object* v_expr_2729_; +v_expr_2729_ = lean_ctor_get(v_a_2726_, 1); +v_a_2726_ = v_expr_2729_; goto _start; } -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(lean_object* v_data_2682_){ -_start: +case 8: { -lean_object* v___x_2683_; lean_object* v___x_2684_; lean_object* v_nbuckets_2685_; lean_object* v___x_2686_; lean_object* v___x_2687_; lean_object* v___x_2688_; lean_object* v___x_2689_; -v___x_2683_ = lean_array_get_size(v_data_2682_); -v___x_2684_ = lean_unsigned_to_nat(2u); -v_nbuckets_2685_ = lean_nat_mul(v___x_2683_, v___x_2684_); -v___x_2686_ = lean_unsigned_to_nat(0u); -v___x_2687_ = lean_box(0); -v___x_2688_ = lean_mk_array(v_nbuckets_2685_, v___x_2687_); -v___x_2689_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(v___x_2686_, v_data_2682_, v___x_2688_); -return v___x_2689_; +uint8_t v___x_2731_; +lean_dec_ref(v_env_2725_); +v___x_2731_ = 2; +return v___x_2731_; } +case 3: +{ +uint8_t v___x_2732_; +lean_dec_ref(v_env_2725_); +v___x_2732_ = 1; +return v___x_2732_; } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(lean_object* v_a_2690_, lean_object* v_b_2691_, lean_object* v_x_2692_){ -_start: +case 0: { -if (lean_obj_tag(v_x_2692_) == 0) +uint8_t v___x_2733_; +lean_dec_ref(v_env_2725_); +v___x_2733_ = 0; +return v___x_2733_; +} +default: { -lean_dec(v_b_2691_); -lean_dec_ref(v_a_2690_); -return v_x_2692_; +lean_object* v___x_2734_; +v___x_2734_ = l_Lean_Expr_getAppFn(v_a_2726_); +switch(lean_obj_tag(v___x_2734_)) +{ +case 0: +{ +uint8_t v___x_2735_; +lean_dec_ref(v___x_2734_); +lean_dec_ref(v_env_2725_); +v___x_2735_ = 0; +return v___x_2735_; +} +case 4: +{ +lean_object* v_declName_2736_; uint8_t v___x_2737_; lean_object* v___x_2738_; +v_declName_2736_ = lean_ctor_get(v___x_2734_, 0); +lean_inc(v_declName_2736_); +lean_dec_ref(v___x_2734_); +v___x_2737_ = 0; +v___x_2738_ = l_Lean_Environment_find_x3f(v_env_2725_, v_declName_2736_, v___x_2737_); +if (lean_obj_tag(v___x_2738_) == 1) +{ +lean_object* v_val_2739_; +v_val_2739_ = lean_ctor_get(v___x_2738_, 0); +lean_inc(v_val_2739_); +lean_dec_ref(v___x_2738_); +if (lean_obj_tag(v_val_2739_) == 5) +{ +uint8_t v___x_2740_; +lean_dec_ref(v_val_2739_); +v___x_2740_ = 0; +return v___x_2740_; } else { -lean_object* v_key_2693_; lean_object* v_value_2694_; lean_object* v_tail_2695_; lean_object* v___x_2697_; uint8_t v_isShared_2698_; uint8_t v_isSharedCheck_2707_; -v_key_2693_ = lean_ctor_get(v_x_2692_, 0); -v_value_2694_ = lean_ctor_get(v_x_2692_, 1); -v_tail_2695_ = lean_ctor_get(v_x_2692_, 2); -v_isSharedCheck_2707_ = !lean_is_exclusive(v_x_2692_); -if (v_isSharedCheck_2707_ == 0) -{ -v___x_2697_ = v_x_2692_; -v_isShared_2698_ = v_isSharedCheck_2707_; -goto v_resetjp_2696_; -} -else -{ -lean_inc(v_tail_2695_); -lean_inc(v_value_2694_); -lean_inc(v_key_2693_); -lean_dec(v_x_2692_); -v___x_2697_ = lean_box(0); -v_isShared_2698_ = v_isSharedCheck_2707_; -goto v_resetjp_2696_; -} -v_resetjp_2696_: -{ -uint8_t v___x_2699_; -v___x_2699_ = lean_expr_eqv(v_key_2693_, v_a_2690_); -if (v___x_2699_ == 0) -{ -lean_object* v___x_2700_; lean_object* v___x_2702_; -v___x_2700_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_2690_, v_b_2691_, v_tail_2695_); -if (v_isShared_2698_ == 0) -{ -lean_ctor_set(v___x_2697_, 2, v___x_2700_); -v___x_2702_ = v___x_2697_; -goto v_reusejp_2701_; -} -else -{ -lean_object* v_reuseFailAlloc_2703_; -v_reuseFailAlloc_2703_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_2703_, 0, v_key_2693_); -lean_ctor_set(v_reuseFailAlloc_2703_, 1, v_value_2694_); -lean_ctor_set(v_reuseFailAlloc_2703_, 2, v___x_2700_); -v___x_2702_ = v_reuseFailAlloc_2703_; -goto v_reusejp_2701_; -} -v_reusejp_2701_: -{ -return v___x_2702_; +uint8_t v___x_2741_; +lean_dec(v_val_2739_); +v___x_2741_ = 2; +return v___x_2741_; } } else { -lean_object* v___x_2705_; -lean_dec(v_value_2694_); -lean_dec(v_key_2693_); -if (v_isShared_2698_ == 0) -{ -lean_ctor_set(v___x_2697_, 1, v_b_2691_); -lean_ctor_set(v___x_2697_, 0, v_a_2690_); -v___x_2705_ = v___x_2697_; -goto v_reusejp_2704_; -} -else -{ -lean_object* v_reuseFailAlloc_2706_; -v_reuseFailAlloc_2706_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_2706_, 0, v_a_2690_); -lean_ctor_set(v_reuseFailAlloc_2706_, 1, v_b_2691_); -lean_ctor_set(v_reuseFailAlloc_2706_, 2, v_tail_2695_); -v___x_2705_ = v_reuseFailAlloc_2706_; -goto v_reusejp_2704_; -} -v_reusejp_2704_: -{ -return v___x_2705_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(lean_object* v_m_2708_, lean_object* v_a_2709_, lean_object* v_b_2710_){ -_start: -{ -lean_object* v_size_2711_; lean_object* v_buckets_2712_; lean_object* v___x_2714_; uint8_t v_isShared_2715_; uint8_t v_isSharedCheck_2755_; -v_size_2711_ = lean_ctor_get(v_m_2708_, 0); -v_buckets_2712_ = lean_ctor_get(v_m_2708_, 1); -v_isSharedCheck_2755_ = !lean_is_exclusive(v_m_2708_); -if (v_isSharedCheck_2755_ == 0) -{ -v___x_2714_ = v_m_2708_; -v_isShared_2715_ = v_isSharedCheck_2755_; -goto v_resetjp_2713_; -} -else -{ -lean_inc(v_buckets_2712_); -lean_inc(v_size_2711_); -lean_dec(v_m_2708_); -v___x_2714_ = lean_box(0); -v_isShared_2715_ = v_isSharedCheck_2755_; -goto v_resetjp_2713_; -} -v_resetjp_2713_: -{ -lean_object* v___x_2716_; uint64_t v___x_2717_; uint64_t v___x_2718_; uint64_t v___x_2719_; uint64_t v_fold_2720_; uint64_t v___x_2721_; uint64_t v___x_2722_; uint64_t v___x_2723_; size_t v___x_2724_; size_t v___x_2725_; size_t v___x_2726_; size_t v___x_2727_; size_t v___x_2728_; lean_object* v_bkt_2729_; uint8_t v___x_2730_; -v___x_2716_ = lean_array_get_size(v_buckets_2712_); -v___x_2717_ = l_Lean_Expr_hash(v_a_2709_); -v___x_2718_ = 32ULL; -v___x_2719_ = lean_uint64_shift_right(v___x_2717_, v___x_2718_); -v_fold_2720_ = lean_uint64_xor(v___x_2717_, v___x_2719_); -v___x_2721_ = 16ULL; -v___x_2722_ = lean_uint64_shift_right(v_fold_2720_, v___x_2721_); -v___x_2723_ = lean_uint64_xor(v_fold_2720_, v___x_2722_); -v___x_2724_ = lean_uint64_to_usize(v___x_2723_); -v___x_2725_ = lean_usize_of_nat(v___x_2716_); -v___x_2726_ = ((size_t)1ULL); -v___x_2727_ = lean_usize_sub(v___x_2725_, v___x_2726_); -v___x_2728_ = lean_usize_land(v___x_2724_, v___x_2727_); -v_bkt_2729_ = lean_array_uget_borrowed(v_buckets_2712_, v___x_2728_); -v___x_2730_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_2709_, v_bkt_2729_); -if (v___x_2730_ == 0) -{ -lean_object* v___x_2731_; lean_object* v_size_x27_2732_; lean_object* v___x_2733_; lean_object* v_buckets_x27_2734_; lean_object* v___x_2735_; lean_object* v___x_2736_; lean_object* v___x_2737_; lean_object* v___x_2738_; lean_object* v___x_2739_; uint8_t v___x_2740_; -v___x_2731_ = lean_unsigned_to_nat(1u); -v_size_x27_2732_ = lean_nat_add(v_size_2711_, v___x_2731_); -lean_dec(v_size_2711_); -lean_inc(v_bkt_2729_); -v___x_2733_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2733_, 0, v_a_2709_); -lean_ctor_set(v___x_2733_, 1, v_b_2710_); -lean_ctor_set(v___x_2733_, 2, v_bkt_2729_); -v_buckets_x27_2734_ = lean_array_uset(v_buckets_2712_, v___x_2728_, v___x_2733_); -v___x_2735_ = lean_unsigned_to_nat(4u); -v___x_2736_ = lean_nat_mul(v_size_x27_2732_, v___x_2735_); -v___x_2737_ = lean_unsigned_to_nat(3u); -v___x_2738_ = lean_nat_div(v___x_2736_, v___x_2737_); -lean_dec(v___x_2736_); -v___x_2739_ = lean_array_get_size(v_buckets_x27_2734_); -v___x_2740_ = lean_nat_dec_le(v___x_2738_, v___x_2739_); +uint8_t v___x_2742_; lean_dec(v___x_2738_); -if (v___x_2740_ == 0) -{ -lean_object* v_val_2741_; lean_object* v___x_2743_; -v_val_2741_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(v_buckets_x27_2734_); -if (v_isShared_2715_ == 0) -{ -lean_ctor_set(v___x_2714_, 1, v_val_2741_); -lean_ctor_set(v___x_2714_, 0, v_size_x27_2732_); -v___x_2743_ = v___x_2714_; -goto v_reusejp_2742_; +v___x_2742_ = 2; +return v___x_2742_; } -else -{ -lean_object* v_reuseFailAlloc_2744_; -v_reuseFailAlloc_2744_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2744_, 0, v_size_x27_2732_); -lean_ctor_set(v_reuseFailAlloc_2744_, 1, v_val_2741_); -v___x_2743_ = v_reuseFailAlloc_2744_; -goto v_reusejp_2742_; } -v_reusejp_2742_: +default: { +uint8_t v___x_2743_; +lean_dec_ref(v___x_2734_); +lean_dec_ref(v_env_2725_); +v___x_2743_ = 2; return v___x_2743_; } } -else +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick___boxed(lean_object* v_env_2744_, lean_object* v_a_2745_){ +_start: { -lean_object* v___x_2746_; -if (v_isShared_2715_ == 0) +uint8_t v_res_2746_; lean_object* v_r_2747_; +v_res_2746_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(v_env_2744_, v_a_2745_); +lean_dec_ref(v_a_2745_); +v_r_2747_ = lean_box(v_res_2746_); +return v_r_2747_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(lean_object* v_a_2748_, lean_object* v_x_2749_){ +_start: { -lean_ctor_set(v___x_2714_, 1, v_buckets_x27_2734_); -lean_ctor_set(v___x_2714_, 0, v_size_x27_2732_); -v___x_2746_ = v___x_2714_; -goto v_reusejp_2745_; +if (lean_obj_tag(v_x_2749_) == 0) +{ +uint8_t v___x_2750_; +v___x_2750_ = 0; +return v___x_2750_; } else { -lean_object* v_reuseFailAlloc_2747_; -v_reuseFailAlloc_2747_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2747_, 0, v_size_x27_2732_); -lean_ctor_set(v_reuseFailAlloc_2747_, 1, v_buckets_x27_2734_); -v___x_2746_ = v_reuseFailAlloc_2747_; -goto v_reusejp_2745_; -} -v_reusejp_2745_: +lean_object* v_key_2751_; lean_object* v_tail_2752_; uint8_t v___x_2753_; +v_key_2751_ = lean_ctor_get(v_x_2749_, 0); +v_tail_2752_ = lean_ctor_get(v_x_2749_, 2); +v___x_2753_ = lean_expr_eqv(v_key_2751_, v_a_2748_); +if (v___x_2753_ == 0) { -return v___x_2746_; -} -} +v_x_2749_ = v_tail_2752_; +goto _start; } else { -lean_object* v___x_2748_; lean_object* v_buckets_x27_2749_; lean_object* v___x_2750_; lean_object* v___x_2751_; lean_object* v___x_2753_; -lean_inc(v_bkt_2729_); -v___x_2748_ = lean_box(0); -v_buckets_x27_2749_ = lean_array_uset(v_buckets_2712_, v___x_2728_, v___x_2748_); -v___x_2750_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_2709_, v_b_2710_, v_bkt_2729_); -v___x_2751_ = lean_array_uset(v_buckets_x27_2749_, v___x_2728_, v___x_2750_); -if (v_isShared_2715_ == 0) -{ -lean_ctor_set(v___x_2714_, 1, v___x_2751_); -v___x_2753_ = v___x_2714_; -goto v_reusejp_2752_; -} -else -{ -lean_object* v_reuseFailAlloc_2754_; -v_reuseFailAlloc_2754_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2754_, 0, v_size_2711_); -lean_ctor_set(v_reuseFailAlloc_2754_, 1, v___x_2751_); -v___x_2753_ = v_reuseFailAlloc_2754_; -goto v_reusejp_2752_; -} -v_reusejp_2752_: -{ return v___x_2753_; } } } } -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(lean_object* v_a_2756_, lean_object* v_x_2757_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg___boxed(lean_object* v_a_2755_, lean_object* v_x_2756_){ _start: { -if (lean_obj_tag(v_x_2757_) == 0) +uint8_t v_res_2757_; lean_object* v_r_2758_; +v_res_2757_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_2755_, v_x_2756_); +lean_dec(v_x_2756_); +lean_dec_ref(v_a_2755_); +v_r_2758_ = lean_box(v_res_2757_); +return v_r_2758_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(lean_object* v_x_2759_, lean_object* v_x_2760_){ +_start: { -lean_object* v___x_2758_; -v___x_2758_ = lean_box(0); -return v___x_2758_; +if (lean_obj_tag(v_x_2760_) == 0) +{ +return v_x_2759_; } else { -lean_object* v_key_2759_; lean_object* v_value_2760_; lean_object* v_tail_2761_; uint8_t v___x_2762_; -v_key_2759_ = lean_ctor_get(v_x_2757_, 0); -v_value_2760_ = lean_ctor_get(v_x_2757_, 1); -v_tail_2761_ = lean_ctor_get(v_x_2757_, 2); -v___x_2762_ = lean_expr_eqv(v_key_2759_, v_a_2756_); -if (v___x_2762_ == 0) +lean_object* v_key_2761_; lean_object* v_value_2762_; lean_object* v_tail_2763_; lean_object* v___x_2765_; uint8_t v_isShared_2766_; uint8_t v_isSharedCheck_2786_; +v_key_2761_ = lean_ctor_get(v_x_2760_, 0); +v_value_2762_ = lean_ctor_get(v_x_2760_, 1); +v_tail_2763_ = lean_ctor_get(v_x_2760_, 2); +v_isSharedCheck_2786_ = !lean_is_exclusive(v_x_2760_); +if (v_isSharedCheck_2786_ == 0) { -v_x_2757_ = v_tail_2761_; +v___x_2765_ = v_x_2760_; +v_isShared_2766_ = v_isSharedCheck_2786_; +goto v_resetjp_2764_; +} +else +{ +lean_inc(v_tail_2763_); +lean_inc(v_value_2762_); +lean_inc(v_key_2761_); +lean_dec(v_x_2760_); +v___x_2765_ = lean_box(0); +v_isShared_2766_ = v_isSharedCheck_2786_; +goto v_resetjp_2764_; +} +v_resetjp_2764_: +{ +lean_object* v___x_2767_; uint64_t v___x_2768_; uint64_t v___x_2769_; uint64_t v___x_2770_; uint64_t v_fold_2771_; uint64_t v___x_2772_; uint64_t v___x_2773_; uint64_t v___x_2774_; size_t v___x_2775_; size_t v___x_2776_; size_t v___x_2777_; size_t v___x_2778_; size_t v___x_2779_; lean_object* v___x_2780_; lean_object* v___x_2782_; +v___x_2767_ = lean_array_get_size(v_x_2759_); +v___x_2768_ = l_Lean_Expr_hash(v_key_2761_); +v___x_2769_ = 32ULL; +v___x_2770_ = lean_uint64_shift_right(v___x_2768_, v___x_2769_); +v_fold_2771_ = lean_uint64_xor(v___x_2768_, v___x_2770_); +v___x_2772_ = 16ULL; +v___x_2773_ = lean_uint64_shift_right(v_fold_2771_, v___x_2772_); +v___x_2774_ = lean_uint64_xor(v_fold_2771_, v___x_2773_); +v___x_2775_ = lean_uint64_to_usize(v___x_2774_); +v___x_2776_ = lean_usize_of_nat(v___x_2767_); +v___x_2777_ = ((size_t)1ULL); +v___x_2778_ = lean_usize_sub(v___x_2776_, v___x_2777_); +v___x_2779_ = lean_usize_land(v___x_2775_, v___x_2778_); +v___x_2780_ = lean_array_uget_borrowed(v_x_2759_, v___x_2779_); +lean_inc(v___x_2780_); +if (v_isShared_2766_ == 0) +{ +lean_ctor_set(v___x_2765_, 2, v___x_2780_); +v___x_2782_ = v___x_2765_; +goto v_reusejp_2781_; +} +else +{ +lean_object* v_reuseFailAlloc_2785_; +v_reuseFailAlloc_2785_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_2785_, 0, v_key_2761_); +lean_ctor_set(v_reuseFailAlloc_2785_, 1, v_value_2762_); +lean_ctor_set(v_reuseFailAlloc_2785_, 2, v___x_2780_); +v___x_2782_ = v_reuseFailAlloc_2785_; +goto v_reusejp_2781_; +} +v_reusejp_2781_: +{ +lean_object* v___x_2783_; +v___x_2783_ = lean_array_uset(v_x_2759_, v___x_2779_, v___x_2782_); +v_x_2759_ = v___x_2783_; +v_x_2760_ = v_tail_2763_; goto _start; } -else -{ -lean_object* v___x_2764_; -lean_inc(v_value_2760_); -v___x_2764_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2764_, 0, v_value_2760_); -return v___x_2764_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg___boxed(lean_object* v_a_2765_, lean_object* v_x_2766_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(lean_object* v_i_2787_, lean_object* v_source_2788_, lean_object* v_target_2789_){ _start: { -lean_object* v_res_2767_; -v_res_2767_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_2765_, v_x_2766_); -lean_dec(v_x_2766_); -lean_dec_ref(v_a_2765_); -return v_res_2767_; +lean_object* v___x_2790_; uint8_t v___x_2791_; +v___x_2790_ = lean_array_get_size(v_source_2788_); +v___x_2791_ = lean_nat_dec_lt(v_i_2787_, v___x_2790_); +if (v___x_2791_ == 0) +{ +lean_dec_ref(v_source_2788_); +lean_dec(v_i_2787_); +return v_target_2789_; +} +else +{ +lean_object* v_es_2792_; lean_object* v___x_2793_; lean_object* v_source_2794_; lean_object* v_target_2795_; lean_object* v___x_2796_; lean_object* v___x_2797_; +v_es_2792_ = lean_array_fget(v_source_2788_, v_i_2787_); +v___x_2793_ = lean_box(0); +v_source_2794_ = lean_array_fset(v_source_2788_, v_i_2787_, v___x_2793_); +v_target_2795_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(v_target_2789_, v_es_2792_); +v___x_2796_ = lean_unsigned_to_nat(1u); +v___x_2797_ = lean_nat_add(v_i_2787_, v___x_2796_); +lean_dec(v_i_2787_); +v_i_2787_ = v___x_2797_; +v_source_2788_ = v_source_2794_; +v_target_2789_ = v_target_2795_; +goto _start; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(lean_object* v_m_2768_, lean_object* v_a_2769_){ +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(lean_object* v_data_2799_){ _start: { -lean_object* v_buckets_2770_; lean_object* v___x_2771_; uint64_t v___x_2772_; uint64_t v___x_2773_; uint64_t v___x_2774_; uint64_t v_fold_2775_; uint64_t v___x_2776_; uint64_t v___x_2777_; uint64_t v___x_2778_; size_t v___x_2779_; size_t v___x_2780_; size_t v___x_2781_; size_t v___x_2782_; size_t v___x_2783_; lean_object* v___x_2784_; lean_object* v___x_2785_; -v_buckets_2770_ = lean_ctor_get(v_m_2768_, 1); -v___x_2771_ = lean_array_get_size(v_buckets_2770_); -v___x_2772_ = l_Lean_Expr_hash(v_a_2769_); -v___x_2773_ = 32ULL; -v___x_2774_ = lean_uint64_shift_right(v___x_2772_, v___x_2773_); -v_fold_2775_ = lean_uint64_xor(v___x_2772_, v___x_2774_); -v___x_2776_ = 16ULL; -v___x_2777_ = lean_uint64_shift_right(v_fold_2775_, v___x_2776_); -v___x_2778_ = lean_uint64_xor(v_fold_2775_, v___x_2777_); -v___x_2779_ = lean_uint64_to_usize(v___x_2778_); -v___x_2780_ = lean_usize_of_nat(v___x_2771_); -v___x_2781_ = ((size_t)1ULL); -v___x_2782_ = lean_usize_sub(v___x_2780_, v___x_2781_); -v___x_2783_ = lean_usize_land(v___x_2779_, v___x_2782_); -v___x_2784_ = lean_array_uget_borrowed(v_buckets_2770_, v___x_2783_); -v___x_2785_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_2769_, v___x_2784_); -return v___x_2785_; +lean_object* v___x_2800_; lean_object* v___x_2801_; lean_object* v_nbuckets_2802_; lean_object* v___x_2803_; lean_object* v___x_2804_; lean_object* v___x_2805_; lean_object* v___x_2806_; +v___x_2800_ = lean_array_get_size(v_data_2799_); +v___x_2801_ = lean_unsigned_to_nat(2u); +v_nbuckets_2802_ = lean_nat_mul(v___x_2800_, v___x_2801_); +v___x_2803_ = lean_unsigned_to_nat(0u); +v___x_2804_ = lean_box(0); +v___x_2805_ = lean_mk_array(v_nbuckets_2802_, v___x_2804_); +v___x_2806_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(v___x_2803_, v_data_2799_, v___x_2805_); +return v___x_2806_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg___boxed(lean_object* v_m_2786_, lean_object* v_a_2787_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(lean_object* v_a_2807_, lean_object* v_b_2808_, lean_object* v_x_2809_){ _start: { -lean_object* v_res_2788_; -v_res_2788_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_m_2786_, v_a_2787_); -lean_dec_ref(v_a_2787_); -lean_dec_ref(v_m_2786_); -return v_res_2788_; +if (lean_obj_tag(v_x_2809_) == 0) +{ +lean_dec(v_b_2808_); +lean_dec_ref(v_a_2807_); +return v_x_2809_; +} +else +{ +lean_object* v_key_2810_; lean_object* v_value_2811_; lean_object* v_tail_2812_; lean_object* v___x_2814_; uint8_t v_isShared_2815_; uint8_t v_isSharedCheck_2824_; +v_key_2810_ = lean_ctor_get(v_x_2809_, 0); +v_value_2811_ = lean_ctor_get(v_x_2809_, 1); +v_tail_2812_ = lean_ctor_get(v_x_2809_, 2); +v_isSharedCheck_2824_ = !lean_is_exclusive(v_x_2809_); +if (v_isSharedCheck_2824_ == 0) +{ +v___x_2814_ = v_x_2809_; +v_isShared_2815_ = v_isSharedCheck_2824_; +goto v_resetjp_2813_; +} +else +{ +lean_inc(v_tail_2812_); +lean_inc(v_value_2811_); +lean_inc(v_key_2810_); +lean_dec(v_x_2809_); +v___x_2814_ = lean_box(0); +v_isShared_2815_ = v_isSharedCheck_2824_; +goto v_resetjp_2813_; +} +v_resetjp_2813_: +{ +uint8_t v___x_2816_; +v___x_2816_ = lean_expr_eqv(v_key_2810_, v_a_2807_); +if (v___x_2816_ == 0) +{ +lean_object* v___x_2817_; lean_object* v___x_2819_; +v___x_2817_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_2807_, v_b_2808_, v_tail_2812_); +if (v_isShared_2815_ == 0) +{ +lean_ctor_set(v___x_2814_, 2, v___x_2817_); +v___x_2819_ = v___x_2814_; +goto v_reusejp_2818_; +} +else +{ +lean_object* v_reuseFailAlloc_2820_; +v_reuseFailAlloc_2820_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_2820_, 0, v_key_2810_); +lean_ctor_set(v_reuseFailAlloc_2820_, 1, v_value_2811_); +lean_ctor_set(v_reuseFailAlloc_2820_, 2, v___x_2817_); +v___x_2819_ = v_reuseFailAlloc_2820_; +goto v_reusejp_2818_; +} +v_reusejp_2818_: +{ +return v___x_2819_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(lean_object* v_type_2789_, lean_object* v_a_2790_, lean_object* v_a_2791_, lean_object* v_a_2792_){ +else +{ +lean_object* v___x_2822_; +lean_dec(v_value_2811_); +lean_dec(v_key_2810_); +if (v_isShared_2815_ == 0) +{ +lean_ctor_set(v___x_2814_, 1, v_b_2808_); +lean_ctor_set(v___x_2814_, 0, v_a_2807_); +v___x_2822_ = v___x_2814_; +goto v_reusejp_2821_; +} +else +{ +lean_object* v_reuseFailAlloc_2823_; +v_reuseFailAlloc_2823_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_2823_, 0, v_a_2807_); +lean_ctor_set(v_reuseFailAlloc_2823_, 1, v_b_2808_); +lean_ctor_set(v_reuseFailAlloc_2823_, 2, v_tail_2812_); +v___x_2822_ = v_reuseFailAlloc_2823_; +goto v_reusejp_2821_; +} +v_reusejp_2821_: +{ +return v___x_2822_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(lean_object* v_m_2825_, lean_object* v_a_2826_, lean_object* v_b_2827_){ _start: { -uint8_t v_a_2795_; lean_object* v___x_2816_; lean_object* v_env_2817_; uint8_t v___x_2818_; -v___x_2816_ = lean_st_ref_get(v_a_2792_); -v_env_2817_ = lean_ctor_get(v___x_2816_, 0); -lean_inc_ref(v_env_2817_); -lean_dec(v___x_2816_); -v___x_2818_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(v_env_2817_, v_type_2789_); -switch(v___x_2818_) +lean_object* v_size_2828_; lean_object* v_buckets_2829_; lean_object* v___x_2831_; uint8_t v_isShared_2832_; uint8_t v_isSharedCheck_2872_; +v_size_2828_ = lean_ctor_get(v_m_2825_, 0); +v_buckets_2829_ = lean_ctor_get(v_m_2825_, 1); +v_isSharedCheck_2872_ = !lean_is_exclusive(v_m_2825_); +if (v_isSharedCheck_2872_ == 0) { -case 0: -{ -uint8_t v___x_2819_; lean_object* v___x_2820_; lean_object* v___x_2821_; -lean_dec(v_a_2792_); -lean_dec_ref(v_a_2791_); -lean_dec_ref(v_type_2789_); -v___x_2819_ = 0; -v___x_2820_ = lean_box(v___x_2819_); -v___x_2821_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2821_, 0, v___x_2820_); -return v___x_2821_; -} -case 1: -{ -uint8_t v___x_2822_; lean_object* v___x_2823_; lean_object* v___x_2824_; -lean_dec(v_a_2792_); -lean_dec_ref(v_a_2791_); -lean_dec_ref(v_type_2789_); -v___x_2822_ = 1; -v___x_2823_ = lean_box(v___x_2822_); -v___x_2824_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2824_, 0, v___x_2823_); -return v___x_2824_; -} -default: -{ -lean_object* v___x_2825_; lean_object* v_isTypeFormerTypeCache_2826_; lean_object* v___x_2827_; -v___x_2825_ = lean_st_ref_get(v_a_2790_); -v_isTypeFormerTypeCache_2826_ = lean_ctor_get(v___x_2825_, 3); -lean_inc_ref(v_isTypeFormerTypeCache_2826_); -lean_dec(v___x_2825_); -v___x_2827_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_isTypeFormerTypeCache_2826_, v_type_2789_); -lean_dec_ref(v_isTypeFormerTypeCache_2826_); -if (lean_obj_tag(v___x_2827_) == 1) -{ -lean_object* v_val_2828_; lean_object* v___x_2830_; uint8_t v_isShared_2831_; uint8_t v_isSharedCheck_2835_; -lean_dec(v_a_2792_); -lean_dec_ref(v_a_2791_); -lean_dec_ref(v_type_2789_); -v_val_2828_ = lean_ctor_get(v___x_2827_, 0); -v_isSharedCheck_2835_ = !lean_is_exclusive(v___x_2827_); -if (v_isSharedCheck_2835_ == 0) -{ -v___x_2830_ = v___x_2827_; -v_isShared_2831_ = v_isSharedCheck_2835_; -goto v_resetjp_2829_; +v___x_2831_ = v_m_2825_; +v_isShared_2832_ = v_isSharedCheck_2872_; +goto v_resetjp_2830_; } else { -lean_inc(v_val_2828_); -lean_dec(v___x_2827_); -v___x_2830_ = lean_box(0); -v_isShared_2831_ = v_isSharedCheck_2835_; -goto v_resetjp_2829_; +lean_inc(v_buckets_2829_); +lean_inc(v_size_2828_); +lean_dec(v_m_2825_); +v___x_2831_ = lean_box(0); +v_isShared_2832_ = v_isSharedCheck_2872_; +goto v_resetjp_2830_; } -v_resetjp_2829_: +v_resetjp_2830_: { -lean_object* v___x_2833_; -if (v_isShared_2831_ == 0) +lean_object* v___x_2833_; uint64_t v___x_2834_; uint64_t v___x_2835_; uint64_t v___x_2836_; uint64_t v_fold_2837_; uint64_t v___x_2838_; uint64_t v___x_2839_; uint64_t v___x_2840_; size_t v___x_2841_; size_t v___x_2842_; size_t v___x_2843_; size_t v___x_2844_; size_t v___x_2845_; lean_object* v_bkt_2846_; uint8_t v___x_2847_; +v___x_2833_ = lean_array_get_size(v_buckets_2829_); +v___x_2834_ = l_Lean_Expr_hash(v_a_2826_); +v___x_2835_ = 32ULL; +v___x_2836_ = lean_uint64_shift_right(v___x_2834_, v___x_2835_); +v_fold_2837_ = lean_uint64_xor(v___x_2834_, v___x_2836_); +v___x_2838_ = 16ULL; +v___x_2839_ = lean_uint64_shift_right(v_fold_2837_, v___x_2838_); +v___x_2840_ = lean_uint64_xor(v_fold_2837_, v___x_2839_); +v___x_2841_ = lean_uint64_to_usize(v___x_2840_); +v___x_2842_ = lean_usize_of_nat(v___x_2833_); +v___x_2843_ = ((size_t)1ULL); +v___x_2844_ = lean_usize_sub(v___x_2842_, v___x_2843_); +v___x_2845_ = lean_usize_land(v___x_2841_, v___x_2844_); +v_bkt_2846_ = lean_array_uget_borrowed(v_buckets_2829_, v___x_2845_); +v___x_2847_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_2826_, v_bkt_2846_); +if (v___x_2847_ == 0) { -lean_ctor_set_tag(v___x_2830_, 0); -v___x_2833_ = v___x_2830_; -goto v_reusejp_2832_; +lean_object* v___x_2848_; lean_object* v_size_x27_2849_; lean_object* v___x_2850_; lean_object* v_buckets_x27_2851_; lean_object* v___x_2852_; lean_object* v___x_2853_; lean_object* v___x_2854_; lean_object* v___x_2855_; lean_object* v___x_2856_; uint8_t v___x_2857_; +v___x_2848_ = lean_unsigned_to_nat(1u); +v_size_x27_2849_ = lean_nat_add(v_size_2828_, v___x_2848_); +lean_dec(v_size_2828_); +lean_inc(v_bkt_2846_); +v___x_2850_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2850_, 0, v_a_2826_); +lean_ctor_set(v___x_2850_, 1, v_b_2827_); +lean_ctor_set(v___x_2850_, 2, v_bkt_2846_); +v_buckets_x27_2851_ = lean_array_uset(v_buckets_2829_, v___x_2845_, v___x_2850_); +v___x_2852_ = lean_unsigned_to_nat(4u); +v___x_2853_ = lean_nat_mul(v_size_x27_2849_, v___x_2852_); +v___x_2854_ = lean_unsigned_to_nat(3u); +v___x_2855_ = lean_nat_div(v___x_2853_, v___x_2854_); +lean_dec(v___x_2853_); +v___x_2856_ = lean_array_get_size(v_buckets_x27_2851_); +v___x_2857_ = lean_nat_dec_le(v___x_2855_, v___x_2856_); +lean_dec(v___x_2855_); +if (v___x_2857_ == 0) +{ +lean_object* v_val_2858_; lean_object* v___x_2860_; +v_val_2858_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(v_buckets_x27_2851_); +if (v_isShared_2832_ == 0) +{ +lean_ctor_set(v___x_2831_, 1, v_val_2858_); +lean_ctor_set(v___x_2831_, 0, v_size_x27_2849_); +v___x_2860_ = v___x_2831_; +goto v_reusejp_2859_; } else { -lean_object* v_reuseFailAlloc_2834_; -v_reuseFailAlloc_2834_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2834_, 0, v_val_2828_); -v___x_2833_ = v_reuseFailAlloc_2834_; -goto v_reusejp_2832_; +lean_object* v_reuseFailAlloc_2861_; +v_reuseFailAlloc_2861_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2861_, 0, v_size_x27_2849_); +lean_ctor_set(v_reuseFailAlloc_2861_, 1, v_val_2858_); +v___x_2860_ = v_reuseFailAlloc_2861_; +goto v_reusejp_2859_; } -v_reusejp_2832_: +v_reusejp_2859_: { -return v___x_2833_; +return v___x_2860_; +} +} +else +{ +lean_object* v___x_2863_; +if (v_isShared_2832_ == 0) +{ +lean_ctor_set(v___x_2831_, 1, v_buckets_x27_2851_); +lean_ctor_set(v___x_2831_, 0, v_size_x27_2849_); +v___x_2863_ = v___x_2831_; +goto v_reusejp_2862_; +} +else +{ +lean_object* v_reuseFailAlloc_2864_; +v_reuseFailAlloc_2864_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2864_, 0, v_size_x27_2849_); +lean_ctor_set(v_reuseFailAlloc_2864_, 1, v_buckets_x27_2851_); +v___x_2863_ = v_reuseFailAlloc_2864_; +goto v_reusejp_2862_; +} +v_reusejp_2862_: +{ +return v___x_2863_; } } } else { -lean_object* v___x_2836_; lean_object* v_lctx_2837_; lean_object* v___x_2838_; lean_object* v___x_2839_; uint8_t v___x_2840_; lean_object* v___x_2841_; lean_object* v___x_2842_; lean_object* v___x_2843_; uint8_t v___x_2844_; lean_object* v___x_2845_; lean_object* v___x_2846_; lean_object* v___x_2847_; lean_object* v___x_2848_; lean_object* v___x_2849_; lean_object* v___x_2850_; -lean_dec(v___x_2827_); -v___x_2836_ = lean_st_ref_get(v_a_2790_); -v_lctx_2837_ = lean_ctor_get(v___x_2836_, 0); -lean_inc_ref(v_lctx_2837_); -lean_dec(v___x_2836_); -v___x_2838_ = lean_box(1); -v___x_2839_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_2840_ = 0; -v___x_2841_ = lean_unsigned_to_nat(0u); -v___x_2842_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_2843_ = lean_box(0); -v___x_2844_ = 1; -v___x_2845_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_2845_, 0, v___x_2839_); -lean_ctor_set(v___x_2845_, 1, v___x_2838_); -lean_ctor_set(v___x_2845_, 2, v_lctx_2837_); -lean_ctor_set(v___x_2845_, 3, v___x_2842_); -lean_ctor_set(v___x_2845_, 4, v___x_2843_); -lean_ctor_set(v___x_2845_, 5, v___x_2841_); -lean_ctor_set(v___x_2845_, 6, v___x_2843_); -lean_ctor_set_uint8(v___x_2845_, sizeof(void*)*7, v___x_2840_); -lean_ctor_set_uint8(v___x_2845_, sizeof(void*)*7 + 1, v___x_2840_); -lean_ctor_set_uint8(v___x_2845_, sizeof(void*)*7 + 2, v___x_2840_); -lean_ctor_set_uint8(v___x_2845_, sizeof(void*)*7 + 3, v___x_2844_); -v___x_2846_ = lean_unsigned_to_nat(32u); -v___x_2847_ = lean_mk_empty_array_with_capacity(v___x_2846_); -lean_dec_ref(v___x_2847_); -v___x_2848_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_2849_ = lean_st_mk_ref(v___x_2848_); -lean_inc(v___x_2849_); -lean_inc_ref(v_type_2789_); -v___x_2850_ = l_Lean_Meta_isTypeFormerType(v_type_2789_, v___x_2845_, v___x_2849_, v_a_2791_, v_a_2792_); -if (lean_obj_tag(v___x_2850_) == 0) +lean_object* v___x_2865_; lean_object* v_buckets_x27_2866_; lean_object* v___x_2867_; lean_object* v___x_2868_; lean_object* v___x_2870_; +lean_inc(v_bkt_2846_); +v___x_2865_ = lean_box(0); +v_buckets_x27_2866_ = lean_array_uset(v_buckets_2829_, v___x_2845_, v___x_2865_); +v___x_2867_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_2826_, v_b_2827_, v_bkt_2846_); +v___x_2868_ = lean_array_uset(v_buckets_x27_2866_, v___x_2845_, v___x_2867_); +if (v_isShared_2832_ == 0) { -lean_object* v_a_2851_; lean_object* v___x_2852_; uint8_t v___x_2853_; -v_a_2851_ = lean_ctor_get(v___x_2850_, 0); -lean_inc(v_a_2851_); -lean_dec_ref(v___x_2850_); -v___x_2852_ = lean_st_ref_get(v___x_2849_); -lean_dec(v___x_2849_); -lean_dec(v___x_2852_); -v___x_2853_ = lean_unbox(v_a_2851_); -lean_dec(v_a_2851_); -v_a_2795_ = v___x_2853_; -goto v___jp_2794_; +lean_ctor_set(v___x_2831_, 1, v___x_2868_); +v___x_2870_ = v___x_2831_; +goto v_reusejp_2869_; } else { -lean_dec(v___x_2849_); -if (lean_obj_tag(v___x_2850_) == 0) +lean_object* v_reuseFailAlloc_2871_; +v_reuseFailAlloc_2871_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2871_, 0, v_size_2828_); +lean_ctor_set(v_reuseFailAlloc_2871_, 1, v___x_2868_); +v___x_2870_ = v_reuseFailAlloc_2871_; +goto v_reusejp_2869_; +} +v_reusejp_2869_: { -lean_object* v_a_2854_; uint8_t v___x_2855_; -v_a_2854_ = lean_ctor_get(v___x_2850_, 0); -lean_inc(v_a_2854_); -lean_dec_ref(v___x_2850_); -v___x_2855_ = lean_unbox(v_a_2854_); -lean_dec(v_a_2854_); -v_a_2795_ = v___x_2855_; -goto v___jp_2794_; -} -else -{ -lean_dec_ref(v_type_2789_); -return v___x_2850_; -} -} -} -} -} -v___jp_2794_: -{ -lean_object* v___x_2796_; lean_object* v_lctx_2797_; lean_object* v_cache_2798_; uint8_t v_shouldCache_2799_; lean_object* v_typeCache_2800_; lean_object* v_isTypeFormerTypeCache_2801_; lean_object* v_seq_2802_; lean_object* v_toAny_2803_; lean_object* v___x_2805_; uint8_t v_isShared_2806_; uint8_t v_isSharedCheck_2815_; -v___x_2796_ = lean_st_ref_take(v_a_2790_); -v_lctx_2797_ = lean_ctor_get(v___x_2796_, 0); -v_cache_2798_ = lean_ctor_get(v___x_2796_, 1); -v_shouldCache_2799_ = lean_ctor_get_uint8(v___x_2796_, sizeof(void*)*6); -v_typeCache_2800_ = lean_ctor_get(v___x_2796_, 2); -v_isTypeFormerTypeCache_2801_ = lean_ctor_get(v___x_2796_, 3); -v_seq_2802_ = lean_ctor_get(v___x_2796_, 4); -v_toAny_2803_ = lean_ctor_get(v___x_2796_, 5); -v_isSharedCheck_2815_ = !lean_is_exclusive(v___x_2796_); -if (v_isSharedCheck_2815_ == 0) -{ -v___x_2805_ = v___x_2796_; -v_isShared_2806_ = v_isSharedCheck_2815_; -goto v_resetjp_2804_; -} -else -{ -lean_inc(v_toAny_2803_); -lean_inc(v_seq_2802_); -lean_inc(v_isTypeFormerTypeCache_2801_); -lean_inc(v_typeCache_2800_); -lean_inc(v_cache_2798_); -lean_inc(v_lctx_2797_); -lean_dec(v___x_2796_); -v___x_2805_ = lean_box(0); -v_isShared_2806_ = v_isSharedCheck_2815_; -goto v_resetjp_2804_; -} -v_resetjp_2804_: -{ -lean_object* v___x_2807_; lean_object* v___x_2808_; lean_object* v___x_2810_; -v___x_2807_ = lean_box(v_a_2795_); -v___x_2808_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_isTypeFormerTypeCache_2801_, v_type_2789_, v___x_2807_); -if (v_isShared_2806_ == 0) -{ -lean_ctor_set(v___x_2805_, 3, v___x_2808_); -v___x_2810_ = v___x_2805_; -goto v_reusejp_2809_; -} -else -{ -lean_object* v_reuseFailAlloc_2814_; -v_reuseFailAlloc_2814_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_2814_, 0, v_lctx_2797_); -lean_ctor_set(v_reuseFailAlloc_2814_, 1, v_cache_2798_); -lean_ctor_set(v_reuseFailAlloc_2814_, 2, v_typeCache_2800_); -lean_ctor_set(v_reuseFailAlloc_2814_, 3, v___x_2808_); -lean_ctor_set(v_reuseFailAlloc_2814_, 4, v_seq_2802_); -lean_ctor_set(v_reuseFailAlloc_2814_, 5, v_toAny_2803_); -lean_ctor_set_uint8(v_reuseFailAlloc_2814_, sizeof(void*)*6, v_shouldCache_2799_); -v___x_2810_ = v_reuseFailAlloc_2814_; -goto v_reusejp_2809_; -} -v_reusejp_2809_: -{ -lean_object* v___x_2811_; lean_object* v___x_2812_; lean_object* v___x_2813_; -v___x_2811_ = lean_st_ref_set(v_a_2790_, v___x_2810_); -v___x_2812_ = lean_box(v_a_2795_); -v___x_2813_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2813_, 0, v___x_2812_); -return v___x_2813_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg___boxed(lean_object* v_type_2856_, lean_object* v_a_2857_, lean_object* v_a_2858_, lean_object* v_a_2859_, lean_object* v_a_2860_){ -_start: -{ -lean_object* v_res_2861_; -v_res_2861_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_2856_, v_a_2857_, v_a_2858_, v_a_2859_); -lean_dec(v_a_2857_); -return v_res_2861_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object* v_type_2862_, uint8_t v_a_2863_, lean_object* v_a_2864_, lean_object* v_a_2865_, lean_object* v_a_2866_, lean_object* v_a_2867_, lean_object* v_a_2868_){ -_start: -{ -lean_object* v___x_2870_; -v___x_2870_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_2862_, v_a_2864_, v_a_2867_, v_a_2868_); return v___x_2870_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___boxed(lean_object* v_type_2871_, lean_object* v_a_2872_, lean_object* v_a_2873_, lean_object* v_a_2874_, lean_object* v_a_2875_, lean_object* v_a_2876_, lean_object* v_a_2877_, lean_object* v_a_2878_){ +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(lean_object* v_a_2873_, lean_object* v_x_2874_){ _start: { -uint8_t v_a_6381__boxed_2879_; lean_object* v_res_2880_; -v_a_6381__boxed_2879_ = lean_unbox(v_a_2872_); -v_res_2880_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(v_type_2871_, v_a_6381__boxed_2879_, v_a_2873_, v_a_2874_, v_a_2875_, v_a_2876_, v_a_2877_); -lean_dec(v_a_2875_); -lean_dec_ref(v_a_2874_); -lean_dec(v_a_2873_); -return v_res_2880_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0(lean_object* v_00_u03b2_2881_, lean_object* v_m_2882_, lean_object* v_a_2883_, lean_object* v_b_2884_){ -_start: +if (lean_obj_tag(v_x_2874_) == 0) { -lean_object* v___x_2885_; -v___x_2885_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_m_2882_, v_a_2883_, v_b_2884_); -return v___x_2885_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1(lean_object* v_00_u03b2_2886_, lean_object* v_m_2887_, lean_object* v_a_2888_){ -_start: -{ -lean_object* v___x_2889_; -v___x_2889_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_m_2887_, v_a_2888_); -return v___x_2889_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___boxed(lean_object* v_00_u03b2_2890_, lean_object* v_m_2891_, lean_object* v_a_2892_){ -_start: -{ -lean_object* v_res_2893_; -v_res_2893_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1(v_00_u03b2_2890_, v_m_2891_, v_a_2892_); -lean_dec_ref(v_a_2892_); -lean_dec_ref(v_m_2891_); -return v_res_2893_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0(lean_object* v_00_u03b2_2894_, lean_object* v_a_2895_, lean_object* v_x_2896_){ -_start: -{ -uint8_t v___x_2897_; -v___x_2897_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_2895_, v_x_2896_); -return v___x_2897_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___boxed(lean_object* v_00_u03b2_2898_, lean_object* v_a_2899_, lean_object* v_x_2900_){ -_start: -{ -uint8_t v_res_2901_; lean_object* v_r_2902_; -v_res_2901_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0(v_00_u03b2_2898_, v_a_2899_, v_x_2900_); -lean_dec(v_x_2900_); -lean_dec_ref(v_a_2899_); -v_r_2902_ = lean_box(v_res_2901_); -return v_r_2902_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1(lean_object* v_00_u03b2_2903_, lean_object* v_data_2904_){ -_start: -{ -lean_object* v___x_2905_; -v___x_2905_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(v_data_2904_); -return v___x_2905_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2(lean_object* v_00_u03b2_2906_, lean_object* v_a_2907_, lean_object* v_b_2908_, lean_object* v_x_2909_){ -_start: -{ -lean_object* v___x_2910_; -v___x_2910_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_2907_, v_b_2908_, v_x_2909_); -return v___x_2910_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4(lean_object* v_00_u03b2_2911_, lean_object* v_a_2912_, lean_object* v_x_2913_){ -_start: -{ -lean_object* v___x_2914_; -v___x_2914_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_2912_, v_x_2913_); -return v___x_2914_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___boxed(lean_object* v_00_u03b2_2915_, lean_object* v_a_2916_, lean_object* v_x_2917_){ -_start: -{ -lean_object* v_res_2918_; -v_res_2918_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4(v_00_u03b2_2915_, v_a_2916_, v_x_2917_); -lean_dec(v_x_2917_); -lean_dec_ref(v_a_2916_); -return v_res_2918_; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2(lean_object* v_00_u03b2_2919_, lean_object* v_i_2920_, lean_object* v_source_2921_, lean_object* v_target_2922_){ -_start: -{ -lean_object* v___x_2923_; -v___x_2923_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(v_i_2920_, v_source_2921_, v_target_2922_); -return v___x_2923_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_2924_, lean_object* v_x_2925_, lean_object* v_x_2926_){ -_start: -{ -lean_object* v___x_2927_; -v___x_2927_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(v_x_2925_, v_x_2926_); -return v___x_2927_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(lean_object* v_a_2928_, lean_object* v_lctx_2929_, lean_object* v_cache_2930_, uint8_t v_shouldCache_2931_, lean_object* v_seq_2932_, lean_object* v_toAny_2933_, lean_object* v_a_x3f_2934_){ -_start: -{ -lean_object* v___x_2936_; lean_object* v___x_2937_; lean_object* v_typeCache_2938_; lean_object* v_isTypeFormerTypeCache_2939_; lean_object* v___x_2941_; uint8_t v_isShared_2942_; uint8_t v_isSharedCheck_2948_; -v___x_2936_ = lean_st_ref_get(v_a_2928_); -v___x_2937_ = lean_st_ref_get(v_a_2928_); -v_typeCache_2938_ = lean_ctor_get(v___x_2936_, 2); -lean_inc_ref(v_typeCache_2938_); -lean_dec(v___x_2936_); -v_isTypeFormerTypeCache_2939_ = lean_ctor_get(v___x_2937_, 3); -v_isSharedCheck_2948_ = !lean_is_exclusive(v___x_2937_); -if (v_isSharedCheck_2948_ == 0) -{ -lean_object* v_unused_2949_; lean_object* v_unused_2950_; lean_object* v_unused_2951_; lean_object* v_unused_2952_; lean_object* v_unused_2953_; -v_unused_2949_ = lean_ctor_get(v___x_2937_, 5); -lean_dec(v_unused_2949_); -v_unused_2950_ = lean_ctor_get(v___x_2937_, 4); -lean_dec(v_unused_2950_); -v_unused_2951_ = lean_ctor_get(v___x_2937_, 2); -lean_dec(v_unused_2951_); -v_unused_2952_ = lean_ctor_get(v___x_2937_, 1); -lean_dec(v_unused_2952_); -v_unused_2953_ = lean_ctor_get(v___x_2937_, 0); -lean_dec(v_unused_2953_); -v___x_2941_ = v___x_2937_; -v_isShared_2942_ = v_isSharedCheck_2948_; -goto v_resetjp_2940_; +lean_object* v___x_2875_; +v___x_2875_ = lean_box(0); +return v___x_2875_; } else { -lean_inc(v_isTypeFormerTypeCache_2939_); -lean_dec(v___x_2937_); -v___x_2941_ = lean_box(0); -v_isShared_2942_ = v_isSharedCheck_2948_; -goto v_resetjp_2940_; -} -v_resetjp_2940_: +lean_object* v_key_2876_; lean_object* v_value_2877_; lean_object* v_tail_2878_; uint8_t v___x_2879_; +v_key_2876_ = lean_ctor_get(v_x_2874_, 0); +v_value_2877_ = lean_ctor_get(v_x_2874_, 1); +v_tail_2878_ = lean_ctor_get(v_x_2874_, 2); +v___x_2879_ = lean_expr_eqv(v_key_2876_, v_a_2873_); +if (v___x_2879_ == 0) { -lean_object* v___x_2944_; -if (v_isShared_2942_ == 0) -{ -lean_ctor_set(v___x_2941_, 5, v_toAny_2933_); -lean_ctor_set(v___x_2941_, 4, v_seq_2932_); -lean_ctor_set(v___x_2941_, 2, v_typeCache_2938_); -lean_ctor_set(v___x_2941_, 1, v_cache_2930_); -lean_ctor_set(v___x_2941_, 0, v_lctx_2929_); -v___x_2944_ = v___x_2941_; -goto v_reusejp_2943_; +v_x_2874_ = v_tail_2878_; +goto _start; } else { -lean_object* v_reuseFailAlloc_2947_; -v_reuseFailAlloc_2947_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_2947_, 0, v_lctx_2929_); -lean_ctor_set(v_reuseFailAlloc_2947_, 1, v_cache_2930_); -lean_ctor_set(v_reuseFailAlloc_2947_, 2, v_typeCache_2938_); -lean_ctor_set(v_reuseFailAlloc_2947_, 3, v_isTypeFormerTypeCache_2939_); -lean_ctor_set(v_reuseFailAlloc_2947_, 4, v_seq_2932_); -lean_ctor_set(v_reuseFailAlloc_2947_, 5, v_toAny_2933_); -v___x_2944_ = v_reuseFailAlloc_2947_; -goto v_reusejp_2943_; -} -v_reusejp_2943_: -{ -lean_object* v___x_2945_; lean_object* v___x_2946_; -lean_ctor_set_uint8(v___x_2944_, sizeof(void*)*6, v_shouldCache_2931_); -v___x_2945_ = lean_st_ref_set(v_a_2928_, v___x_2944_); -v___x_2946_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2946_, 0, v___x_2945_); -return v___x_2946_; +lean_object* v___x_2881_; +lean_inc(v_value_2877_); +v___x_2881_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2881_, 0, v_value_2877_); +return v___x_2881_; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0___boxed(lean_object* v_a_2954_, lean_object* v_lctx_2955_, lean_object* v_cache_2956_, lean_object* v_shouldCache_2957_, lean_object* v_seq_2958_, lean_object* v_toAny_2959_, lean_object* v_a_x3f_2960_, lean_object* v___y_2961_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg___boxed(lean_object* v_a_2882_, lean_object* v_x_2883_){ _start: { -uint8_t v_shouldCache_boxed_2962_; lean_object* v_res_2963_; -v_shouldCache_boxed_2962_ = lean_unbox(v_shouldCache_2957_); -v_res_2963_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_2954_, v_lctx_2955_, v_cache_2956_, v_shouldCache_boxed_2962_, v_seq_2958_, v_toAny_2959_, v_a_x3f_2960_); -lean_dec(v_a_x3f_2960_); -lean_dec(v_a_2954_); -return v_res_2963_; +lean_object* v_res_2884_; +v_res_2884_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_2882_, v_x_2883_); +lean_dec(v_x_2883_); +lean_dec_ref(v_a_2882_); +return v_res_2884_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(lean_object* v_x_2964_, uint8_t v_a_2965_, lean_object* v_a_2966_, lean_object* v_a_2967_, lean_object* v_a_2968_, lean_object* v_a_2969_, lean_object* v_a_2970_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(lean_object* v_m_2885_, lean_object* v_a_2886_){ _start: { -lean_object* v___x_2972_; lean_object* v___x_2973_; lean_object* v_lctx_2974_; lean_object* v_cache_2975_; uint8_t v_shouldCache_2976_; lean_object* v_typeCache_2977_; lean_object* v_isTypeFormerTypeCache_2978_; lean_object* v_toAny_2979_; lean_object* v___x_2981_; uint8_t v_isShared_2982_; uint8_t v_isSharedCheck_3023_; -v___x_2972_ = lean_st_ref_get(v_a_2966_); -v___x_2973_ = lean_st_ref_take(v_a_2966_); -v_lctx_2974_ = lean_ctor_get(v___x_2973_, 0); -v_cache_2975_ = lean_ctor_get(v___x_2973_, 1); -v_shouldCache_2976_ = lean_ctor_get_uint8(v___x_2973_, sizeof(void*)*6); -v_typeCache_2977_ = lean_ctor_get(v___x_2973_, 2); -v_isTypeFormerTypeCache_2978_ = lean_ctor_get(v___x_2973_, 3); -v_toAny_2979_ = lean_ctor_get(v___x_2973_, 5); -v_isSharedCheck_3023_ = !lean_is_exclusive(v___x_2973_); -if (v_isSharedCheck_3023_ == 0) -{ -lean_object* v_unused_3024_; -v_unused_3024_ = lean_ctor_get(v___x_2973_, 4); -lean_dec(v_unused_3024_); -v___x_2981_ = v___x_2973_; -v_isShared_2982_ = v_isSharedCheck_3023_; -goto v_resetjp_2980_; -} -else -{ -lean_inc(v_toAny_2979_); -lean_inc(v_isTypeFormerTypeCache_2978_); -lean_inc(v_typeCache_2977_); -lean_inc(v_cache_2975_); -lean_inc(v_lctx_2974_); -lean_dec(v___x_2973_); -v___x_2981_ = lean_box(0); -v_isShared_2982_ = v_isSharedCheck_3023_; -goto v_resetjp_2980_; -} -v_resetjp_2980_: -{ -lean_object* v___x_2983_; lean_object* v___x_2985_; -v___x_2983_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7)); -if (v_isShared_2982_ == 0) -{ -lean_ctor_set(v___x_2981_, 4, v___x_2983_); -v___x_2985_ = v___x_2981_; -goto v_reusejp_2984_; -} -else -{ -lean_object* v_reuseFailAlloc_3022_; -v_reuseFailAlloc_3022_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_3022_, 0, v_lctx_2974_); -lean_ctor_set(v_reuseFailAlloc_3022_, 1, v_cache_2975_); -lean_ctor_set(v_reuseFailAlloc_3022_, 2, v_typeCache_2977_); -lean_ctor_set(v_reuseFailAlloc_3022_, 3, v_isTypeFormerTypeCache_2978_); -lean_ctor_set(v_reuseFailAlloc_3022_, 4, v___x_2983_); -lean_ctor_set(v_reuseFailAlloc_3022_, 5, v_toAny_2979_); -lean_ctor_set_uint8(v_reuseFailAlloc_3022_, sizeof(void*)*6, v_shouldCache_2976_); -v___x_2985_ = v_reuseFailAlloc_3022_; -goto v_reusejp_2984_; -} -v_reusejp_2984_: -{ -lean_object* v___x_2986_; lean_object* v_lctx_2987_; lean_object* v_cache_2988_; uint8_t v_shouldCache_2989_; lean_object* v_seq_2990_; lean_object* v_toAny_2991_; lean_object* v___x_2992_; lean_object* v_r_2993_; -v___x_2986_ = lean_st_ref_set(v_a_2966_, v___x_2985_); -v_lctx_2987_ = lean_ctor_get(v___x_2972_, 0); -lean_inc_ref(v_lctx_2987_); -v_cache_2988_ = lean_ctor_get(v___x_2972_, 1); -lean_inc_ref(v_cache_2988_); -v_shouldCache_2989_ = lean_ctor_get_uint8(v___x_2972_, sizeof(void*)*6); -v_seq_2990_ = lean_ctor_get(v___x_2972_, 4); -lean_inc_ref(v_seq_2990_); -v_toAny_2991_ = lean_ctor_get(v___x_2972_, 5); -lean_inc(v_toAny_2991_); -lean_dec(v___x_2972_); -v___x_2992_ = lean_box(v_a_2965_); -lean_inc(v_a_2966_); -v_r_2993_ = lean_apply_7(v_x_2964_, v___x_2992_, v_a_2966_, v_a_2967_, v_a_2968_, v_a_2969_, v_a_2970_, lean_box(0)); -if (lean_obj_tag(v_r_2993_) == 0) -{ -lean_object* v_a_2994_; lean_object* v___x_2996_; uint8_t v_isShared_2997_; uint8_t v_isSharedCheck_3010_; -v_a_2994_ = lean_ctor_get(v_r_2993_, 0); -v_isSharedCheck_3010_ = !lean_is_exclusive(v_r_2993_); -if (v_isSharedCheck_3010_ == 0) -{ -v___x_2996_ = v_r_2993_; -v_isShared_2997_ = v_isSharedCheck_3010_; -goto v_resetjp_2995_; -} -else -{ -lean_inc(v_a_2994_); -lean_dec(v_r_2993_); -v___x_2996_ = lean_box(0); -v_isShared_2997_ = v_isSharedCheck_3010_; -goto v_resetjp_2995_; -} -v_resetjp_2995_: -{ -lean_object* v___x_2999_; -lean_inc(v_a_2994_); -if (v_isShared_2997_ == 0) -{ -lean_ctor_set_tag(v___x_2996_, 1); -v___x_2999_ = v___x_2996_; -goto v_reusejp_2998_; -} -else -{ -lean_object* v_reuseFailAlloc_3009_; -v_reuseFailAlloc_3009_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3009_, 0, v_a_2994_); -v___x_2999_ = v_reuseFailAlloc_3009_; -goto v_reusejp_2998_; -} -v_reusejp_2998_: -{ -lean_object* v___x_3000_; lean_object* v___x_3002_; uint8_t v_isShared_3003_; uint8_t v_isSharedCheck_3007_; -v___x_3000_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_2966_, v_lctx_2987_, v_cache_2988_, v_shouldCache_2989_, v_seq_2990_, v_toAny_2991_, v___x_2999_); -lean_dec_ref(v___x_2999_); -lean_dec(v_a_2966_); -v_isSharedCheck_3007_ = !lean_is_exclusive(v___x_3000_); -if (v_isSharedCheck_3007_ == 0) -{ -lean_object* v_unused_3008_; -v_unused_3008_ = lean_ctor_get(v___x_3000_, 0); -lean_dec(v_unused_3008_); -v___x_3002_ = v___x_3000_; -v_isShared_3003_ = v_isSharedCheck_3007_; -goto v_resetjp_3001_; -} -else -{ -lean_dec(v___x_3000_); -v___x_3002_ = lean_box(0); -v_isShared_3003_ = v_isSharedCheck_3007_; -goto v_resetjp_3001_; -} -v_resetjp_3001_: -{ -lean_object* v___x_3005_; -if (v_isShared_3003_ == 0) -{ -lean_ctor_set(v___x_3002_, 0, v_a_2994_); -v___x_3005_ = v___x_3002_; -goto v_reusejp_3004_; -} -else -{ -lean_object* v_reuseFailAlloc_3006_; -v_reuseFailAlloc_3006_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3006_, 0, v_a_2994_); -v___x_3005_ = v_reuseFailAlloc_3006_; -goto v_reusejp_3004_; -} -v_reusejp_3004_: -{ -return v___x_3005_; +lean_object* v_buckets_2887_; lean_object* v___x_2888_; uint64_t v___x_2889_; uint64_t v___x_2890_; uint64_t v___x_2891_; uint64_t v_fold_2892_; uint64_t v___x_2893_; uint64_t v___x_2894_; uint64_t v___x_2895_; size_t v___x_2896_; size_t v___x_2897_; size_t v___x_2898_; size_t v___x_2899_; size_t v___x_2900_; lean_object* v___x_2901_; lean_object* v___x_2902_; +v_buckets_2887_ = lean_ctor_get(v_m_2885_, 1); +v___x_2888_ = lean_array_get_size(v_buckets_2887_); +v___x_2889_ = l_Lean_Expr_hash(v_a_2886_); +v___x_2890_ = 32ULL; +v___x_2891_ = lean_uint64_shift_right(v___x_2889_, v___x_2890_); +v_fold_2892_ = lean_uint64_xor(v___x_2889_, v___x_2891_); +v___x_2893_ = 16ULL; +v___x_2894_ = lean_uint64_shift_right(v_fold_2892_, v___x_2893_); +v___x_2895_ = lean_uint64_xor(v_fold_2892_, v___x_2894_); +v___x_2896_ = lean_uint64_to_usize(v___x_2895_); +v___x_2897_ = lean_usize_of_nat(v___x_2888_); +v___x_2898_ = ((size_t)1ULL); +v___x_2899_ = lean_usize_sub(v___x_2897_, v___x_2898_); +v___x_2900_ = lean_usize_land(v___x_2896_, v___x_2899_); +v___x_2901_ = lean_array_uget_borrowed(v_buckets_2887_, v___x_2900_); +v___x_2902_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_2886_, v___x_2901_); +return v___x_2902_; } } -} -} -} -else -{ -lean_object* v_a_3011_; lean_object* v___x_3012_; lean_object* v___x_3013_; lean_object* v___x_3015_; uint8_t v_isShared_3016_; uint8_t v_isSharedCheck_3020_; -v_a_3011_ = lean_ctor_get(v_r_2993_, 0); -lean_inc(v_a_3011_); -lean_dec_ref(v_r_2993_); -v___x_3012_ = lean_box(0); -v___x_3013_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_2966_, v_lctx_2987_, v_cache_2988_, v_shouldCache_2989_, v_seq_2990_, v_toAny_2991_, v___x_3012_); -lean_dec(v_a_2966_); -v_isSharedCheck_3020_ = !lean_is_exclusive(v___x_3013_); -if (v_isSharedCheck_3020_ == 0) -{ -lean_object* v_unused_3021_; -v_unused_3021_ = lean_ctor_get(v___x_3013_, 0); -lean_dec(v_unused_3021_); -v___x_3015_ = v___x_3013_; -v_isShared_3016_ = v_isSharedCheck_3020_; -goto v_resetjp_3014_; -} -else -{ -lean_dec(v___x_3013_); -v___x_3015_ = lean_box(0); -v_isShared_3016_ = v_isSharedCheck_3020_; -goto v_resetjp_3014_; -} -v_resetjp_3014_: -{ -lean_object* v___x_3018_; -if (v_isShared_3016_ == 0) -{ -lean_ctor_set_tag(v___x_3015_, 1); -lean_ctor_set(v___x_3015_, 0, v_a_3011_); -v___x_3018_ = v___x_3015_; -goto v_reusejp_3017_; -} -else -{ -lean_object* v_reuseFailAlloc_3019_; -v_reuseFailAlloc_3019_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3019_, 0, v_a_3011_); -v___x_3018_ = v_reuseFailAlloc_3019_; -goto v_reusejp_3017_; -} -v_reusejp_3017_: -{ -return v___x_3018_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___boxed(lean_object* v_x_3025_, lean_object* v_a_3026_, lean_object* v_a_3027_, lean_object* v_a_3028_, lean_object* v_a_3029_, lean_object* v_a_3030_, lean_object* v_a_3031_, lean_object* v_a_3032_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg___boxed(lean_object* v_m_2903_, lean_object* v_a_2904_){ _start: { -uint8_t v_a_5086__boxed_3033_; lean_object* v_res_3034_; -v_a_5086__boxed_3033_ = lean_unbox(v_a_3026_); -v_res_3034_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v_x_3025_, v_a_5086__boxed_3033_, v_a_3027_, v_a_3028_, v_a_3029_, v_a_3030_, v_a_3031_); -return v_res_3034_; +lean_object* v_res_2905_; +v_res_2905_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_m_2903_, v_a_2904_); +lean_dec_ref(v_a_2904_); +lean_dec_ref(v_m_2903_); +return v_res_2905_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object* v_00_u03b1_3035_, lean_object* v_x_3036_, uint8_t v_a_3037_, lean_object* v_a_3038_, lean_object* v_a_3039_, lean_object* v_a_3040_, lean_object* v_a_3041_, lean_object* v_a_3042_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(lean_object* v_type_2906_, lean_object* v_a_2907_, lean_object* v_a_2908_, lean_object* v_a_2909_){ _start: { -lean_object* v___x_3044_; -v___x_3044_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v_x_3036_, v_a_3037_, v_a_3038_, v_a_3039_, v_a_3040_, v_a_3041_, v_a_3042_); -return v___x_3044_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___boxed(lean_object* v_00_u03b1_3045_, lean_object* v_x_3046_, lean_object* v_a_3047_, lean_object* v_a_3048_, lean_object* v_a_3049_, lean_object* v_a_3050_, lean_object* v_a_3051_, lean_object* v_a_3052_, lean_object* v_a_3053_){ -_start: -{ -uint8_t v_a_5194__boxed_3054_; lean_object* v_res_3055_; -v_a_5194__boxed_3054_ = lean_unbox(v_a_3047_); -v_res_3055_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope(v_00_u03b1_3045_, v_x_3046_, v_a_5194__boxed_3054_, v_a_3048_, v_a_3049_, v_a_3050_, v_a_3051_, v_a_3052_); -return v_res_3055_; -} -} -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(lean_object* v_k_3056_, lean_object* v_t_3057_){ -_start: -{ -if (lean_obj_tag(v_t_3057_) == 0) -{ -lean_object* v_k_3058_; lean_object* v_l_3059_; lean_object* v_r_3060_; uint8_t v___x_3061_; -v_k_3058_ = lean_ctor_get(v_t_3057_, 1); -v_l_3059_ = lean_ctor_get(v_t_3057_, 3); -v_r_3060_ = lean_ctor_get(v_t_3057_, 4); -v___x_3061_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_3056_, v_k_3058_); -switch(v___x_3061_) +uint8_t v_a_2912_; lean_object* v___x_2933_; lean_object* v_env_2934_; uint8_t v___x_2935_; +v___x_2933_ = lean_st_ref_get(v_a_2909_); +v_env_2934_ = lean_ctor_get(v___x_2933_, 0); +lean_inc_ref(v_env_2934_); +lean_dec(v___x_2933_); +v___x_2935_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(v_env_2934_, v_type_2906_); +switch(v___x_2935_) { case 0: { -v_t_3057_ = v_l_3059_; +uint8_t v___x_2936_; lean_object* v___x_2937_; lean_object* v___x_2938_; +lean_dec(v_a_2909_); +lean_dec_ref(v_a_2908_); +lean_dec_ref(v_type_2906_); +v___x_2936_ = 0; +v___x_2937_ = lean_box(v___x_2936_); +v___x_2938_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2938_, 0, v___x_2937_); +return v___x_2938_; +} +case 1: +{ +uint8_t v___x_2939_; lean_object* v___x_2940_; lean_object* v___x_2941_; +lean_dec(v_a_2909_); +lean_dec_ref(v_a_2908_); +lean_dec_ref(v_type_2906_); +v___x_2939_ = 1; +v___x_2940_ = lean_box(v___x_2939_); +v___x_2941_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2941_, 0, v___x_2940_); +return v___x_2941_; +} +default: +{ +lean_object* v___x_2942_; lean_object* v_isTypeFormerTypeCache_2943_; lean_object* v___x_2944_; +v___x_2942_ = lean_st_ref_get(v_a_2907_); +v_isTypeFormerTypeCache_2943_ = lean_ctor_get(v___x_2942_, 3); +lean_inc_ref(v_isTypeFormerTypeCache_2943_); +lean_dec(v___x_2942_); +v___x_2944_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_isTypeFormerTypeCache_2943_, v_type_2906_); +lean_dec_ref(v_isTypeFormerTypeCache_2943_); +if (lean_obj_tag(v___x_2944_) == 1) +{ +lean_object* v_val_2945_; lean_object* v___x_2947_; uint8_t v_isShared_2948_; uint8_t v_isSharedCheck_2952_; +lean_dec(v_a_2909_); +lean_dec_ref(v_a_2908_); +lean_dec_ref(v_type_2906_); +v_val_2945_ = lean_ctor_get(v___x_2944_, 0); +v_isSharedCheck_2952_ = !lean_is_exclusive(v___x_2944_); +if (v_isSharedCheck_2952_ == 0) +{ +v___x_2947_ = v___x_2944_; +v_isShared_2948_ = v_isSharedCheck_2952_; +goto v_resetjp_2946_; +} +else +{ +lean_inc(v_val_2945_); +lean_dec(v___x_2944_); +v___x_2947_ = lean_box(0); +v_isShared_2948_ = v_isSharedCheck_2952_; +goto v_resetjp_2946_; +} +v_resetjp_2946_: +{ +lean_object* v___x_2950_; +if (v_isShared_2948_ == 0) +{ +lean_ctor_set_tag(v___x_2947_, 0); +v___x_2950_ = v___x_2947_; +goto v_reusejp_2949_; +} +else +{ +lean_object* v_reuseFailAlloc_2951_; +v_reuseFailAlloc_2951_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2951_, 0, v_val_2945_); +v___x_2950_ = v_reuseFailAlloc_2951_; +goto v_reusejp_2949_; +} +v_reusejp_2949_: +{ +return v___x_2950_; +} +} +} +else +{ +lean_object* v___x_2953_; lean_object* v_lctx_2954_; lean_object* v___x_2955_; lean_object* v___x_2956_; uint8_t v___x_2957_; lean_object* v___x_2958_; lean_object* v___x_2959_; lean_object* v___x_2960_; uint8_t v___x_2961_; lean_object* v___x_2962_; lean_object* v___x_2963_; lean_object* v___x_2964_; lean_object* v___x_2965_; lean_object* v___x_2966_; lean_object* v___x_2967_; +lean_dec(v___x_2944_); +v___x_2953_ = lean_st_ref_get(v_a_2907_); +v_lctx_2954_ = lean_ctor_get(v___x_2953_, 0); +lean_inc_ref(v_lctx_2954_); +lean_dec(v___x_2953_); +v___x_2955_ = lean_box(1); +v___x_2956_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_2957_ = 0; +v___x_2958_ = lean_unsigned_to_nat(0u); +v___x_2959_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_2960_ = lean_box(0); +v___x_2961_ = 1; +v___x_2962_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_2962_, 0, v___x_2956_); +lean_ctor_set(v___x_2962_, 1, v___x_2955_); +lean_ctor_set(v___x_2962_, 2, v_lctx_2954_); +lean_ctor_set(v___x_2962_, 3, v___x_2959_); +lean_ctor_set(v___x_2962_, 4, v___x_2960_); +lean_ctor_set(v___x_2962_, 5, v___x_2958_); +lean_ctor_set(v___x_2962_, 6, v___x_2960_); +lean_ctor_set_uint8(v___x_2962_, sizeof(void*)*7, v___x_2957_); +lean_ctor_set_uint8(v___x_2962_, sizeof(void*)*7 + 1, v___x_2957_); +lean_ctor_set_uint8(v___x_2962_, sizeof(void*)*7 + 2, v___x_2957_); +lean_ctor_set_uint8(v___x_2962_, sizeof(void*)*7 + 3, v___x_2961_); +v___x_2963_ = lean_unsigned_to_nat(32u); +v___x_2964_ = lean_mk_empty_array_with_capacity(v___x_2963_); +lean_dec_ref(v___x_2964_); +v___x_2965_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_2966_ = lean_st_mk_ref(v___x_2965_); +lean_inc(v___x_2966_); +lean_inc_ref(v_type_2906_); +v___x_2967_ = l_Lean_Meta_isTypeFormerType(v_type_2906_, v___x_2962_, v___x_2966_, v_a_2908_, v_a_2909_); +if (lean_obj_tag(v___x_2967_) == 0) +{ +lean_object* v_a_2968_; lean_object* v___x_2969_; uint8_t v___x_2970_; +v_a_2968_ = lean_ctor_get(v___x_2967_, 0); +lean_inc(v_a_2968_); +lean_dec_ref(v___x_2967_); +v___x_2969_ = lean_st_ref_get(v___x_2966_); +lean_dec(v___x_2966_); +lean_dec(v___x_2969_); +v___x_2970_ = lean_unbox(v_a_2968_); +lean_dec(v_a_2968_); +v_a_2912_ = v___x_2970_; +goto v___jp_2911_; +} +else +{ +lean_dec(v___x_2966_); +if (lean_obj_tag(v___x_2967_) == 0) +{ +lean_object* v_a_2971_; uint8_t v___x_2972_; +v_a_2971_ = lean_ctor_get(v___x_2967_, 0); +lean_inc(v_a_2971_); +lean_dec_ref(v___x_2967_); +v___x_2972_ = lean_unbox(v_a_2971_); +lean_dec(v_a_2971_); +v_a_2912_ = v___x_2972_; +goto v___jp_2911_; +} +else +{ +lean_dec_ref(v_type_2906_); +return v___x_2967_; +} +} +} +} +} +v___jp_2911_: +{ +lean_object* v___x_2913_; lean_object* v_lctx_2914_; lean_object* v_cache_2915_; uint8_t v_shouldCache_2916_; lean_object* v_typeCache_2917_; lean_object* v_isTypeFormerTypeCache_2918_; lean_object* v_seq_2919_; lean_object* v_toAny_2920_; lean_object* v___x_2922_; uint8_t v_isShared_2923_; uint8_t v_isSharedCheck_2932_; +v___x_2913_ = lean_st_ref_take(v_a_2907_); +v_lctx_2914_ = lean_ctor_get(v___x_2913_, 0); +v_cache_2915_ = lean_ctor_get(v___x_2913_, 1); +v_shouldCache_2916_ = lean_ctor_get_uint8(v___x_2913_, sizeof(void*)*6); +v_typeCache_2917_ = lean_ctor_get(v___x_2913_, 2); +v_isTypeFormerTypeCache_2918_ = lean_ctor_get(v___x_2913_, 3); +v_seq_2919_ = lean_ctor_get(v___x_2913_, 4); +v_toAny_2920_ = lean_ctor_get(v___x_2913_, 5); +v_isSharedCheck_2932_ = !lean_is_exclusive(v___x_2913_); +if (v_isSharedCheck_2932_ == 0) +{ +v___x_2922_ = v___x_2913_; +v_isShared_2923_ = v_isSharedCheck_2932_; +goto v_resetjp_2921_; +} +else +{ +lean_inc(v_toAny_2920_); +lean_inc(v_seq_2919_); +lean_inc(v_isTypeFormerTypeCache_2918_); +lean_inc(v_typeCache_2917_); +lean_inc(v_cache_2915_); +lean_inc(v_lctx_2914_); +lean_dec(v___x_2913_); +v___x_2922_ = lean_box(0); +v_isShared_2923_ = v_isSharedCheck_2932_; +goto v_resetjp_2921_; +} +v_resetjp_2921_: +{ +lean_object* v___x_2924_; lean_object* v___x_2925_; lean_object* v___x_2927_; +v___x_2924_ = lean_box(v_a_2912_); +v___x_2925_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_isTypeFormerTypeCache_2918_, v_type_2906_, v___x_2924_); +if (v_isShared_2923_ == 0) +{ +lean_ctor_set(v___x_2922_, 3, v___x_2925_); +v___x_2927_ = v___x_2922_; +goto v_reusejp_2926_; +} +else +{ +lean_object* v_reuseFailAlloc_2931_; +v_reuseFailAlloc_2931_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_2931_, 0, v_lctx_2914_); +lean_ctor_set(v_reuseFailAlloc_2931_, 1, v_cache_2915_); +lean_ctor_set(v_reuseFailAlloc_2931_, 2, v_typeCache_2917_); +lean_ctor_set(v_reuseFailAlloc_2931_, 3, v___x_2925_); +lean_ctor_set(v_reuseFailAlloc_2931_, 4, v_seq_2919_); +lean_ctor_set(v_reuseFailAlloc_2931_, 5, v_toAny_2920_); +lean_ctor_set_uint8(v_reuseFailAlloc_2931_, sizeof(void*)*6, v_shouldCache_2916_); +v___x_2927_ = v_reuseFailAlloc_2931_; +goto v_reusejp_2926_; +} +v_reusejp_2926_: +{ +lean_object* v___x_2928_; lean_object* v___x_2929_; lean_object* v___x_2930_; +v___x_2928_ = lean_st_ref_set(v_a_2907_, v___x_2927_); +v___x_2929_ = lean_box(v_a_2912_); +v___x_2930_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2930_, 0, v___x_2929_); +return v___x_2930_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg___boxed(lean_object* v_type_2973_, lean_object* v_a_2974_, lean_object* v_a_2975_, lean_object* v_a_2976_, lean_object* v_a_2977_){ +_start: +{ +lean_object* v_res_2978_; +v_res_2978_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_2973_, v_a_2974_, v_a_2975_, v_a_2976_); +lean_dec(v_a_2974_); +return v_res_2978_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object* v_type_2979_, lean_object* v_a_2980_, lean_object* v_a_2981_, lean_object* v_a_2982_, lean_object* v_a_2983_, lean_object* v_a_2984_, lean_object* v_a_2985_){ +_start: +{ +lean_object* v___x_2987_; +v___x_2987_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_2979_, v_a_2981_, v_a_2984_, v_a_2985_); +return v___x_2987_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___boxed(lean_object* v_type_2988_, lean_object* v_a_2989_, lean_object* v_a_2990_, lean_object* v_a_2991_, lean_object* v_a_2992_, lean_object* v_a_2993_, lean_object* v_a_2994_, lean_object* v_a_2995_){ +_start: +{ +lean_object* v_res_2996_; +v_res_2996_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(v_type_2988_, v_a_2989_, v_a_2990_, v_a_2991_, v_a_2992_, v_a_2993_, v_a_2994_); +lean_dec(v_a_2992_); +lean_dec_ref(v_a_2991_); +lean_dec(v_a_2990_); +lean_dec_ref(v_a_2989_); +return v_res_2996_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0(lean_object* v_00_u03b2_2997_, lean_object* v_m_2998_, lean_object* v_a_2999_, lean_object* v_b_3000_){ +_start: +{ +lean_object* v___x_3001_; +v___x_3001_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_m_2998_, v_a_2999_, v_b_3000_); +return v___x_3001_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1(lean_object* v_00_u03b2_3002_, lean_object* v_m_3003_, lean_object* v_a_3004_){ +_start: +{ +lean_object* v___x_3005_; +v___x_3005_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_m_3003_, v_a_3004_); +return v___x_3005_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___boxed(lean_object* v_00_u03b2_3006_, lean_object* v_m_3007_, lean_object* v_a_3008_){ +_start: +{ +lean_object* v_res_3009_; +v_res_3009_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1(v_00_u03b2_3006_, v_m_3007_, v_a_3008_); +lean_dec_ref(v_a_3008_); +lean_dec_ref(v_m_3007_); +return v_res_3009_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0(lean_object* v_00_u03b2_3010_, lean_object* v_a_3011_, lean_object* v_x_3012_){ +_start: +{ +uint8_t v___x_3013_; +v___x_3013_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___redArg(v_a_3011_, v_x_3012_); +return v___x_3013_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0___boxed(lean_object* v_00_u03b2_3014_, lean_object* v_a_3015_, lean_object* v_x_3016_){ +_start: +{ +uint8_t v_res_3017_; lean_object* v_r_3018_; +v_res_3017_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__0(v_00_u03b2_3014_, v_a_3015_, v_x_3016_); +lean_dec(v_x_3016_); +lean_dec_ref(v_a_3015_); +v_r_3018_ = lean_box(v_res_3017_); +return v_r_3018_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1(lean_object* v_00_u03b2_3019_, lean_object* v_data_3020_){ +_start: +{ +lean_object* v___x_3021_; +v___x_3021_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1___redArg(v_data_3020_); +return v___x_3021_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2(lean_object* v_00_u03b2_3022_, lean_object* v_a_3023_, lean_object* v_b_3024_, lean_object* v_x_3025_){ +_start: +{ +lean_object* v___x_3026_; +v___x_3026_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__2___redArg(v_a_3023_, v_b_3024_, v_x_3025_); +return v___x_3026_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4(lean_object* v_00_u03b2_3027_, lean_object* v_a_3028_, lean_object* v_x_3029_){ +_start: +{ +lean_object* v___x_3030_; +v___x_3030_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___redArg(v_a_3028_, v_x_3029_); +return v___x_3030_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4___boxed(lean_object* v_00_u03b2_3031_, lean_object* v_a_3032_, lean_object* v_x_3033_){ +_start: +{ +lean_object* v_res_3034_; +v_res_3034_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1_spec__4(v_00_u03b2_3031_, v_a_3032_, v_x_3033_); +lean_dec(v_x_3033_); +lean_dec_ref(v_a_3032_); +return v_res_3034_; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2(lean_object* v_00_u03b2_3035_, lean_object* v_i_3036_, lean_object* v_source_3037_, lean_object* v_target_3038_){ +_start: +{ +lean_object* v___x_3039_; +v___x_3039_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2___redArg(v_i_3036_, v_source_3037_, v_target_3038_); +return v___x_3039_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_3040_, lean_object* v_x_3041_, lean_object* v_x_3042_){ +_start: +{ +lean_object* v___x_3043_; +v___x_3043_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0_spec__1_spec__2_spec__4___redArg(v_x_3041_, v_x_3042_); +return v___x_3043_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(lean_object* v_a_3044_, lean_object* v_lctx_3045_, lean_object* v_cache_3046_, uint8_t v_shouldCache_3047_, lean_object* v_seq_3048_, lean_object* v_toAny_3049_, lean_object* v_a_x3f_3050_){ +_start: +{ +lean_object* v___x_3052_; lean_object* v___x_3053_; lean_object* v_typeCache_3054_; lean_object* v_isTypeFormerTypeCache_3055_; lean_object* v___x_3057_; uint8_t v_isShared_3058_; uint8_t v_isSharedCheck_3064_; +v___x_3052_ = lean_st_ref_get(v_a_3044_); +v___x_3053_ = lean_st_ref_get(v_a_3044_); +v_typeCache_3054_ = lean_ctor_get(v___x_3052_, 2); +lean_inc_ref(v_typeCache_3054_); +lean_dec(v___x_3052_); +v_isTypeFormerTypeCache_3055_ = lean_ctor_get(v___x_3053_, 3); +v_isSharedCheck_3064_ = !lean_is_exclusive(v___x_3053_); +if (v_isSharedCheck_3064_ == 0) +{ +lean_object* v_unused_3065_; lean_object* v_unused_3066_; lean_object* v_unused_3067_; lean_object* v_unused_3068_; lean_object* v_unused_3069_; +v_unused_3065_ = lean_ctor_get(v___x_3053_, 5); +lean_dec(v_unused_3065_); +v_unused_3066_ = lean_ctor_get(v___x_3053_, 4); +lean_dec(v_unused_3066_); +v_unused_3067_ = lean_ctor_get(v___x_3053_, 2); +lean_dec(v_unused_3067_); +v_unused_3068_ = lean_ctor_get(v___x_3053_, 1); +lean_dec(v_unused_3068_); +v_unused_3069_ = lean_ctor_get(v___x_3053_, 0); +lean_dec(v_unused_3069_); +v___x_3057_ = v___x_3053_; +v_isShared_3058_ = v_isSharedCheck_3064_; +goto v_resetjp_3056_; +} +else +{ +lean_inc(v_isTypeFormerTypeCache_3055_); +lean_dec(v___x_3053_); +v___x_3057_ = lean_box(0); +v_isShared_3058_ = v_isSharedCheck_3064_; +goto v_resetjp_3056_; +} +v_resetjp_3056_: +{ +lean_object* v___x_3060_; +if (v_isShared_3058_ == 0) +{ +lean_ctor_set(v___x_3057_, 5, v_toAny_3049_); +lean_ctor_set(v___x_3057_, 4, v_seq_3048_); +lean_ctor_set(v___x_3057_, 2, v_typeCache_3054_); +lean_ctor_set(v___x_3057_, 1, v_cache_3046_); +lean_ctor_set(v___x_3057_, 0, v_lctx_3045_); +v___x_3060_ = v___x_3057_; +goto v_reusejp_3059_; +} +else +{ +lean_object* v_reuseFailAlloc_3063_; +v_reuseFailAlloc_3063_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_3063_, 0, v_lctx_3045_); +lean_ctor_set(v_reuseFailAlloc_3063_, 1, v_cache_3046_); +lean_ctor_set(v_reuseFailAlloc_3063_, 2, v_typeCache_3054_); +lean_ctor_set(v_reuseFailAlloc_3063_, 3, v_isTypeFormerTypeCache_3055_); +lean_ctor_set(v_reuseFailAlloc_3063_, 4, v_seq_3048_); +lean_ctor_set(v_reuseFailAlloc_3063_, 5, v_toAny_3049_); +v___x_3060_ = v_reuseFailAlloc_3063_; +goto v_reusejp_3059_; +} +v_reusejp_3059_: +{ +lean_object* v___x_3061_; lean_object* v___x_3062_; +lean_ctor_set_uint8(v___x_3060_, sizeof(void*)*6, v_shouldCache_3047_); +v___x_3061_ = lean_st_ref_set(v_a_3044_, v___x_3060_); +v___x_3062_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3062_, 0, v___x_3061_); +return v___x_3062_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0___boxed(lean_object* v_a_3070_, lean_object* v_lctx_3071_, lean_object* v_cache_3072_, lean_object* v_shouldCache_3073_, lean_object* v_seq_3074_, lean_object* v_toAny_3075_, lean_object* v_a_x3f_3076_, lean_object* v___y_3077_){ +_start: +{ +uint8_t v_shouldCache_boxed_3078_; lean_object* v_res_3079_; +v_shouldCache_boxed_3078_ = lean_unbox(v_shouldCache_3073_); +v_res_3079_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_3070_, v_lctx_3071_, v_cache_3072_, v_shouldCache_boxed_3078_, v_seq_3074_, v_toAny_3075_, v_a_x3f_3076_); +lean_dec(v_a_x3f_3076_); +lean_dec(v_a_3070_); +return v_res_3079_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(lean_object* v_x_3080_, lean_object* v_a_3081_, lean_object* v_a_3082_, lean_object* v_a_3083_, lean_object* v_a_3084_, lean_object* v_a_3085_, lean_object* v_a_3086_){ +_start: +{ +lean_object* v___x_3088_; lean_object* v___x_3089_; lean_object* v_lctx_3090_; lean_object* v_cache_3091_; uint8_t v_shouldCache_3092_; lean_object* v_typeCache_3093_; lean_object* v_isTypeFormerTypeCache_3094_; lean_object* v_toAny_3095_; lean_object* v___x_3097_; uint8_t v_isShared_3098_; uint8_t v_isSharedCheck_3138_; +v___x_3088_ = lean_st_ref_get(v_a_3082_); +v___x_3089_ = lean_st_ref_take(v_a_3082_); +v_lctx_3090_ = lean_ctor_get(v___x_3089_, 0); +v_cache_3091_ = lean_ctor_get(v___x_3089_, 1); +v_shouldCache_3092_ = lean_ctor_get_uint8(v___x_3089_, sizeof(void*)*6); +v_typeCache_3093_ = lean_ctor_get(v___x_3089_, 2); +v_isTypeFormerTypeCache_3094_ = lean_ctor_get(v___x_3089_, 3); +v_toAny_3095_ = lean_ctor_get(v___x_3089_, 5); +v_isSharedCheck_3138_ = !lean_is_exclusive(v___x_3089_); +if (v_isSharedCheck_3138_ == 0) +{ +lean_object* v_unused_3139_; +v_unused_3139_ = lean_ctor_get(v___x_3089_, 4); +lean_dec(v_unused_3139_); +v___x_3097_ = v___x_3089_; +v_isShared_3098_ = v_isSharedCheck_3138_; +goto v_resetjp_3096_; +} +else +{ +lean_inc(v_toAny_3095_); +lean_inc(v_isTypeFormerTypeCache_3094_); +lean_inc(v_typeCache_3093_); +lean_inc(v_cache_3091_); +lean_inc(v_lctx_3090_); +lean_dec(v___x_3089_); +v___x_3097_ = lean_box(0); +v_isShared_3098_ = v_isSharedCheck_3138_; +goto v_resetjp_3096_; +} +v_resetjp_3096_: +{ +lean_object* v___x_3099_; lean_object* v___x_3101_; +v___x_3099_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__7)); +if (v_isShared_3098_ == 0) +{ +lean_ctor_set(v___x_3097_, 4, v___x_3099_); +v___x_3101_ = v___x_3097_; +goto v_reusejp_3100_; +} +else +{ +lean_object* v_reuseFailAlloc_3137_; +v_reuseFailAlloc_3137_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_3137_, 0, v_lctx_3090_); +lean_ctor_set(v_reuseFailAlloc_3137_, 1, v_cache_3091_); +lean_ctor_set(v_reuseFailAlloc_3137_, 2, v_typeCache_3093_); +lean_ctor_set(v_reuseFailAlloc_3137_, 3, v_isTypeFormerTypeCache_3094_); +lean_ctor_set(v_reuseFailAlloc_3137_, 4, v___x_3099_); +lean_ctor_set(v_reuseFailAlloc_3137_, 5, v_toAny_3095_); +lean_ctor_set_uint8(v_reuseFailAlloc_3137_, sizeof(void*)*6, v_shouldCache_3092_); +v___x_3101_ = v_reuseFailAlloc_3137_; +goto v_reusejp_3100_; +} +v_reusejp_3100_: +{ +lean_object* v___x_3102_; lean_object* v_lctx_3103_; lean_object* v_cache_3104_; uint8_t v_shouldCache_3105_; lean_object* v_seq_3106_; lean_object* v_toAny_3107_; lean_object* v_r_3108_; +v___x_3102_ = lean_st_ref_set(v_a_3082_, v___x_3101_); +v_lctx_3103_ = lean_ctor_get(v___x_3088_, 0); +lean_inc_ref(v_lctx_3103_); +v_cache_3104_ = lean_ctor_get(v___x_3088_, 1); +lean_inc_ref(v_cache_3104_); +v_shouldCache_3105_ = lean_ctor_get_uint8(v___x_3088_, sizeof(void*)*6); +v_seq_3106_ = lean_ctor_get(v___x_3088_, 4); +lean_inc_ref(v_seq_3106_); +v_toAny_3107_ = lean_ctor_get(v___x_3088_, 5); +lean_inc(v_toAny_3107_); +lean_dec(v___x_3088_); +lean_inc(v_a_3082_); +v_r_3108_ = lean_apply_7(v_x_3080_, v_a_3081_, v_a_3082_, v_a_3083_, v_a_3084_, v_a_3085_, v_a_3086_, lean_box(0)); +if (lean_obj_tag(v_r_3108_) == 0) +{ +lean_object* v_a_3109_; lean_object* v___x_3111_; uint8_t v_isShared_3112_; uint8_t v_isSharedCheck_3125_; +v_a_3109_ = lean_ctor_get(v_r_3108_, 0); +v_isSharedCheck_3125_ = !lean_is_exclusive(v_r_3108_); +if (v_isSharedCheck_3125_ == 0) +{ +v___x_3111_ = v_r_3108_; +v_isShared_3112_ = v_isSharedCheck_3125_; +goto v_resetjp_3110_; +} +else +{ +lean_inc(v_a_3109_); +lean_dec(v_r_3108_); +v___x_3111_ = lean_box(0); +v_isShared_3112_ = v_isSharedCheck_3125_; +goto v_resetjp_3110_; +} +v_resetjp_3110_: +{ +lean_object* v___x_3114_; +lean_inc(v_a_3109_); +if (v_isShared_3112_ == 0) +{ +lean_ctor_set_tag(v___x_3111_, 1); +v___x_3114_ = v___x_3111_; +goto v_reusejp_3113_; +} +else +{ +lean_object* v_reuseFailAlloc_3124_; +v_reuseFailAlloc_3124_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3124_, 0, v_a_3109_); +v___x_3114_ = v_reuseFailAlloc_3124_; +goto v_reusejp_3113_; +} +v_reusejp_3113_: +{ +lean_object* v___x_3115_; lean_object* v___x_3117_; uint8_t v_isShared_3118_; uint8_t v_isSharedCheck_3122_; +v___x_3115_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_3082_, v_lctx_3103_, v_cache_3104_, v_shouldCache_3105_, v_seq_3106_, v_toAny_3107_, v___x_3114_); +lean_dec_ref(v___x_3114_); +lean_dec(v_a_3082_); +v_isSharedCheck_3122_ = !lean_is_exclusive(v___x_3115_); +if (v_isSharedCheck_3122_ == 0) +{ +lean_object* v_unused_3123_; +v_unused_3123_ = lean_ctor_get(v___x_3115_, 0); +lean_dec(v_unused_3123_); +v___x_3117_ = v___x_3115_; +v_isShared_3118_ = v_isSharedCheck_3122_; +goto v_resetjp_3116_; +} +else +{ +lean_dec(v___x_3115_); +v___x_3117_ = lean_box(0); +v_isShared_3118_ = v_isSharedCheck_3122_; +goto v_resetjp_3116_; +} +v_resetjp_3116_: +{ +lean_object* v___x_3120_; +if (v_isShared_3118_ == 0) +{ +lean_ctor_set(v___x_3117_, 0, v_a_3109_); +v___x_3120_ = v___x_3117_; +goto v_reusejp_3119_; +} +else +{ +lean_object* v_reuseFailAlloc_3121_; +v_reuseFailAlloc_3121_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3121_, 0, v_a_3109_); +v___x_3120_ = v_reuseFailAlloc_3121_; +goto v_reusejp_3119_; +} +v_reusejp_3119_: +{ +return v___x_3120_; +} +} +} +} +} +else +{ +lean_object* v_a_3126_; lean_object* v___x_3127_; lean_object* v___x_3128_; lean_object* v___x_3130_; uint8_t v_isShared_3131_; uint8_t v_isSharedCheck_3135_; +v_a_3126_ = lean_ctor_get(v_r_3108_, 0); +lean_inc(v_a_3126_); +lean_dec_ref(v_r_3108_); +v___x_3127_ = lean_box(0); +v___x_3128_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___lam__0(v_a_3082_, v_lctx_3103_, v_cache_3104_, v_shouldCache_3105_, v_seq_3106_, v_toAny_3107_, v___x_3127_); +lean_dec(v_a_3082_); +v_isSharedCheck_3135_ = !lean_is_exclusive(v___x_3128_); +if (v_isSharedCheck_3135_ == 0) +{ +lean_object* v_unused_3136_; +v_unused_3136_ = lean_ctor_get(v___x_3128_, 0); +lean_dec(v_unused_3136_); +v___x_3130_ = v___x_3128_; +v_isShared_3131_ = v_isSharedCheck_3135_; +goto v_resetjp_3129_; +} +else +{ +lean_dec(v___x_3128_); +v___x_3130_ = lean_box(0); +v_isShared_3131_ = v_isSharedCheck_3135_; +goto v_resetjp_3129_; +} +v_resetjp_3129_: +{ +lean_object* v___x_3133_; +if (v_isShared_3131_ == 0) +{ +lean_ctor_set_tag(v___x_3130_, 1); +lean_ctor_set(v___x_3130_, 0, v_a_3126_); +v___x_3133_ = v___x_3130_; +goto v_reusejp_3132_; +} +else +{ +lean_object* v_reuseFailAlloc_3134_; +v_reuseFailAlloc_3134_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3134_, 0, v_a_3126_); +v___x_3133_ = v_reuseFailAlloc_3134_; +goto v_reusejp_3132_; +} +v_reusejp_3132_: +{ +return v___x_3133_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg___boxed(lean_object* v_x_3140_, lean_object* v_a_3141_, lean_object* v_a_3142_, lean_object* v_a_3143_, lean_object* v_a_3144_, lean_object* v_a_3145_, lean_object* v_a_3146_, lean_object* v_a_3147_){ +_start: +{ +lean_object* v_res_3148_; +v_res_3148_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v_x_3140_, v_a_3141_, v_a_3142_, v_a_3143_, v_a_3144_, v_a_3145_, v_a_3146_); +return v_res_3148_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object* v_00_u03b1_3149_, lean_object* v_x_3150_, lean_object* v_a_3151_, lean_object* v_a_3152_, lean_object* v_a_3153_, lean_object* v_a_3154_, lean_object* v_a_3155_, lean_object* v_a_3156_){ +_start: +{ +lean_object* v___x_3158_; +v___x_3158_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v_x_3150_, v_a_3151_, v_a_3152_, v_a_3153_, v_a_3154_, v_a_3155_, v_a_3156_); +return v___x_3158_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___boxed(lean_object* v_00_u03b1_3159_, lean_object* v_x_3160_, lean_object* v_a_3161_, lean_object* v_a_3162_, lean_object* v_a_3163_, lean_object* v_a_3164_, lean_object* v_a_3165_, lean_object* v_a_3166_, lean_object* v_a_3167_){ +_start: +{ +lean_object* v_res_3168_; +v_res_3168_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope(v_00_u03b1_3159_, v_x_3160_, v_a_3161_, v_a_3162_, v_a_3163_, v_a_3164_, v_a_3165_, v_a_3166_); +return v_res_3168_; +} +} +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(lean_object* v_k_3169_, lean_object* v_t_3170_){ +_start: +{ +if (lean_obj_tag(v_t_3170_) == 0) +{ +lean_object* v_k_3171_; lean_object* v_l_3172_; lean_object* v_r_3173_; uint8_t v___x_3174_; +v_k_3171_ = lean_ctor_get(v_t_3170_, 1); +v_l_3172_ = lean_ctor_get(v_t_3170_, 3); +v_r_3173_ = lean_ctor_get(v_t_3170_, 4); +v___x_3174_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_3169_, v_k_3171_); +switch(v___x_3174_) +{ +case 0: +{ +v_t_3170_ = v_l_3172_; goto _start; } case 1: { -uint8_t v___x_3063_; -v___x_3063_ = 1; -return v___x_3063_; +uint8_t v___x_3176_; +v___x_3176_ = 1; +return v___x_3176_; } default: { -v_t_3057_ = v_r_3060_; +v_t_3170_ = v_r_3173_; goto _start; } } } else { -uint8_t v___x_3065_; -v___x_3065_ = 0; -return v___x_3065_; +uint8_t v___x_3178_; +v___x_3178_ = 0; +return v___x_3178_; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg___boxed(lean_object* v_k_3066_, lean_object* v_t_3067_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg___boxed(lean_object* v_k_3179_, lean_object* v_t_3180_){ _start: { -uint8_t v_res_3068_; lean_object* v_r_3069_; -v_res_3068_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_k_3066_, v_t_3067_); -lean_dec(v_t_3067_); -lean_dec(v_k_3066_); -v_r_3069_ = lean_box(v_res_3068_); -return v_r_3069_; +uint8_t v_res_3181_; lean_object* v_r_3182_; +v_res_3181_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_k_3179_, v_t_3180_); +lean_dec(v_t_3180_); +lean_dec(v_k_3179_); +v_r_3182_ = lean_box(v_res_3181_); +return v_r_3182_; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0(void){ _start: { -lean_object* v___x_3070_; lean_object* v___x_3071_; -v___x_3070_ = l_Lean_Compiler_LCNF_anyExpr; -v___x_3071_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_3071_, 0, v___x_3070_); -return v___x_3071_; +lean_object* v___x_3183_; lean_object* v___x_3184_; +v___x_3183_ = l_Lean_Compiler_LCNF_anyExpr; +v___x_3184_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_3184_, 0, v___x_3183_); +return v___x_3184_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0(lean_object* v_toAny_3072_, lean_object* v_x_3073_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0(lean_object* v_toAny_3185_, lean_object* v_x_3186_){ _start: { -if (lean_obj_tag(v_x_3073_) == 1) +if (lean_obj_tag(v_x_3186_) == 1) { -lean_object* v_fvarId_3074_; uint8_t v___x_3075_; -v_fvarId_3074_ = lean_ctor_get(v_x_3073_, 0); -v___x_3075_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_fvarId_3074_, v_toAny_3072_); -if (v___x_3075_ == 0) +lean_object* v_fvarId_3187_; uint8_t v___x_3188_; +v_fvarId_3187_ = lean_ctor_get(v_x_3186_, 0); +v___x_3188_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_fvarId_3187_, v_toAny_3185_); +if (v___x_3188_ == 0) { -lean_object* v___x_3076_; -v___x_3076_ = lean_box(0); -return v___x_3076_; +lean_object* v___x_3189_; +v___x_3189_ = lean_box(0); +return v___x_3189_; } else { -lean_object* v___x_3077_; -v___x_3077_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0, &l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0_once, _init_l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0); -return v___x_3077_; +lean_object* v___x_3190_; +v___x_3190_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0, &l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0_once, _init_l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___closed__0); +return v___x_3190_; } } else { -lean_object* v___x_3078_; -v___x_3078_ = lean_box(0); -return v___x_3078_; +lean_object* v___x_3191_; +v___x_3191_ = lean_box(0); +return v___x_3191_; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___boxed(lean_object* v_toAny_3079_, lean_object* v_x_3080_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___boxed(lean_object* v_toAny_3192_, lean_object* v_x_3193_){ _start: { -lean_object* v_res_3081_; -v_res_3081_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0(v_toAny_3079_, v_x_3080_); -lean_dec_ref(v_x_3080_); -lean_dec(v_toAny_3079_); -return v_res_3081_; +lean_object* v_res_3194_; +v_res_3194_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0(v_toAny_3192_, v_x_3193_); +lean_dec_ref(v_x_3193_); +lean_dec(v_toAny_3192_); +return v_res_3194_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(lean_object* v_type_3082_, lean_object* v_a_3083_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(lean_object* v_type_3195_, lean_object* v_a_3196_){ _start: { -lean_object* v___x_3085_; lean_object* v_toAny_3086_; lean_object* v___f_3087_; lean_object* v___x_3088_; lean_object* v___x_3089_; -v___x_3085_ = lean_st_ref_get(v_a_3083_); -v_toAny_3086_ = lean_ctor_get(v___x_3085_, 5); -lean_inc(v_toAny_3086_); -lean_dec(v___x_3085_); -v___f_3087_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___boxed), 2, 1); -lean_closure_set(v___f_3087_, 0, v_toAny_3086_); -v___x_3088_ = lean_replace_expr(v___f_3087_, v_type_3082_); -lean_dec_ref(v___f_3087_); -v___x_3089_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3089_, 0, v___x_3088_); -return v___x_3089_; +lean_object* v___x_3198_; lean_object* v_toAny_3199_; lean_object* v___f_3200_; lean_object* v___x_3201_; lean_object* v___x_3202_; +v___x_3198_ = lean_st_ref_get(v_a_3196_); +v_toAny_3199_ = lean_ctor_get(v___x_3198_, 5); +lean_inc(v_toAny_3199_); +lean_dec(v___x_3198_); +v___f_3200_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___lam__0___boxed), 2, 1); +lean_closure_set(v___f_3200_, 0, v_toAny_3199_); +v___x_3201_ = lean_replace_expr(v___f_3200_, v_type_3195_); +lean_dec_ref(v___f_3200_); +v___x_3202_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3202_, 0, v___x_3201_); +return v___x_3202_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___boxed(lean_object* v_type_3090_, lean_object* v_a_3091_, lean_object* v_a_3092_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg___boxed(lean_object* v_type_3203_, lean_object* v_a_3204_, lean_object* v_a_3205_){ _start: { -lean_object* v_res_3093_; -v_res_3093_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_3090_, v_a_3091_); -lean_dec(v_a_3091_); -lean_dec_ref(v_type_3090_); -return v_res_3093_; +lean_object* v_res_3206_; +v_res_3206_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_3203_, v_a_3204_); +lean_dec(v_a_3204_); +lean_dec_ref(v_type_3203_); +return v_res_3206_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object* v_type_3094_, uint8_t v_a_3095_, lean_object* v_a_3096_, lean_object* v_a_3097_, lean_object* v_a_3098_, lean_object* v_a_3099_, lean_object* v_a_3100_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object* v_type_3207_, lean_object* v_a_3208_, lean_object* v_a_3209_, lean_object* v_a_3210_, lean_object* v_a_3211_, lean_object* v_a_3212_, lean_object* v_a_3213_){ _start: { -lean_object* v___x_3102_; -v___x_3102_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_3094_, v_a_3096_); -return v___x_3102_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___boxed(lean_object* v_type_3103_, lean_object* v_a_3104_, lean_object* v_a_3105_, lean_object* v_a_3106_, lean_object* v_a_3107_, lean_object* v_a_3108_, lean_object* v_a_3109_, lean_object* v_a_3110_){ -_start: -{ -uint8_t v_a_856__boxed_3111_; lean_object* v_res_3112_; -v_a_856__boxed_3111_ = lean_unbox(v_a_3104_); -v_res_3112_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny(v_type_3103_, v_a_856__boxed_3111_, v_a_3105_, v_a_3106_, v_a_3107_, v_a_3108_, v_a_3109_); -lean_dec(v_a_3109_); -lean_dec_ref(v_a_3108_); -lean_dec(v_a_3107_); -lean_dec_ref(v_a_3106_); -lean_dec(v_a_3105_); -lean_dec_ref(v_type_3103_); -return v_res_3112_; -} -} -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0(lean_object* v_00_u03b2_3113_, lean_object* v_k_3114_, lean_object* v_t_3115_){ -_start: -{ -uint8_t v___x_3116_; -v___x_3116_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_k_3114_, v_t_3115_); -return v___x_3116_; -} -} -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___boxed(lean_object* v_00_u03b2_3117_, lean_object* v_k_3118_, lean_object* v_t_3119_){ -_start: -{ -uint8_t v_res_3120_; lean_object* v_r_3121_; -v_res_3120_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0(v_00_u03b2_3117_, v_k_3118_, v_t_3119_); -lean_dec(v_t_3119_); -lean_dec(v_k_3118_); -v_r_3121_ = lean_box(v_res_3120_); -return v_r_3121_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(lean_object* v_type_3122_, lean_object* v_a_3123_, lean_object* v_a_3124_, lean_object* v_a_3125_){ -_start: -{ -lean_object* v_a_3128_; lean_object* v___x_3155_; lean_object* v_typeCache_3156_; lean_object* v___x_3157_; -v___x_3155_ = lean_st_ref_get(v_a_3123_); -v_typeCache_3156_ = lean_ctor_get(v___x_3155_, 2); -lean_inc_ref(v_typeCache_3156_); -lean_dec(v___x_3155_); -v___x_3157_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_typeCache_3156_, v_type_3122_); -lean_dec_ref(v_typeCache_3156_); -if (lean_obj_tag(v___x_3157_) == 0) -{ -lean_object* v___x_3158_; lean_object* v_lctx_3159_; lean_object* v___x_3160_; lean_object* v___x_3161_; uint8_t v___x_3162_; lean_object* v___x_3163_; lean_object* v___x_3164_; lean_object* v___x_3165_; uint8_t v___x_3166_; lean_object* v___x_3167_; lean_object* v___x_3168_; lean_object* v___x_3169_; lean_object* v___x_3170_; lean_object* v___x_3171_; lean_object* v___x_3172_; -v___x_3158_ = lean_st_ref_get(v_a_3123_); -v_lctx_3159_ = lean_ctor_get(v___x_3158_, 0); -lean_inc_ref(v_lctx_3159_); -lean_dec(v___x_3158_); -v___x_3160_ = lean_box(1); -v___x_3161_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_3162_ = 0; -v___x_3163_ = lean_unsigned_to_nat(0u); -v___x_3164_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_3165_ = lean_box(0); -v___x_3166_ = 1; -v___x_3167_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_3167_, 0, v___x_3161_); -lean_ctor_set(v___x_3167_, 1, v___x_3160_); -lean_ctor_set(v___x_3167_, 2, v_lctx_3159_); -lean_ctor_set(v___x_3167_, 3, v___x_3164_); -lean_ctor_set(v___x_3167_, 4, v___x_3165_); -lean_ctor_set(v___x_3167_, 5, v___x_3163_); -lean_ctor_set(v___x_3167_, 6, v___x_3165_); -lean_ctor_set_uint8(v___x_3167_, sizeof(void*)*7, v___x_3162_); -lean_ctor_set_uint8(v___x_3167_, sizeof(void*)*7 + 1, v___x_3162_); -lean_ctor_set_uint8(v___x_3167_, sizeof(void*)*7 + 2, v___x_3162_); -lean_ctor_set_uint8(v___x_3167_, sizeof(void*)*7 + 3, v___x_3166_); -v___x_3168_ = lean_unsigned_to_nat(32u); -v___x_3169_ = lean_mk_empty_array_with_capacity(v___x_3168_); -lean_dec_ref(v___x_3169_); -v___x_3170_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_3171_ = lean_st_mk_ref(v___x_3170_); -lean_inc(v___x_3171_); -lean_inc_ref(v_type_3122_); -v___x_3172_ = l_Lean_Compiler_LCNF_toLCNFType(v_type_3122_, v___x_3167_, v___x_3171_, v_a_3124_, v_a_3125_); -if (lean_obj_tag(v___x_3172_) == 0) -{ -lean_object* v_a_3173_; lean_object* v___x_3174_; -v_a_3173_ = lean_ctor_get(v___x_3172_, 0); -lean_inc(v_a_3173_); -lean_dec_ref(v___x_3172_); -v___x_3174_ = lean_st_ref_get(v___x_3171_); -lean_dec(v___x_3171_); -lean_dec(v___x_3174_); -v_a_3128_ = v_a_3173_; -goto v___jp_3127_; -} -else -{ -lean_dec(v___x_3171_); -if (lean_obj_tag(v___x_3172_) == 0) -{ -lean_object* v_a_3175_; -v_a_3175_ = lean_ctor_get(v___x_3172_, 0); -lean_inc(v_a_3175_); -lean_dec_ref(v___x_3172_); -v_a_3128_ = v_a_3175_; -goto v___jp_3127_; -} -else -{ -lean_dec_ref(v_type_3122_); -return v___x_3172_; -} -} -} -else -{ -lean_object* v_val_3176_; lean_object* v___x_3178_; uint8_t v_isShared_3179_; uint8_t v_isSharedCheck_3183_; -lean_dec(v_a_3125_); -lean_dec_ref(v_a_3124_); -lean_dec_ref(v_type_3122_); -v_val_3176_ = lean_ctor_get(v___x_3157_, 0); -v_isSharedCheck_3183_ = !lean_is_exclusive(v___x_3157_); -if (v_isSharedCheck_3183_ == 0) -{ -v___x_3178_ = v___x_3157_; -v_isShared_3179_ = v_isSharedCheck_3183_; -goto v_resetjp_3177_; -} -else -{ -lean_inc(v_val_3176_); -lean_dec(v___x_3157_); -v___x_3178_ = lean_box(0); -v_isShared_3179_ = v_isSharedCheck_3183_; -goto v_resetjp_3177_; -} -v_resetjp_3177_: -{ -lean_object* v___x_3181_; -if (v_isShared_3179_ == 0) -{ -lean_ctor_set_tag(v___x_3178_, 0); -v___x_3181_ = v___x_3178_; -goto v_reusejp_3180_; -} -else -{ -lean_object* v_reuseFailAlloc_3182_; -v_reuseFailAlloc_3182_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3182_, 0, v_val_3176_); -v___x_3181_ = v_reuseFailAlloc_3182_; -goto v_reusejp_3180_; -} -v_reusejp_3180_: -{ -return v___x_3181_; -} -} -} -v___jp_3127_: -{ -lean_object* v___x_3129_; lean_object* v_a_3130_; lean_object* v___x_3132_; uint8_t v_isShared_3133_; uint8_t v_isSharedCheck_3154_; -v___x_3129_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_a_3128_, v_a_3123_); -lean_dec_ref(v_a_3128_); -v_a_3130_ = lean_ctor_get(v___x_3129_, 0); -v_isSharedCheck_3154_ = !lean_is_exclusive(v___x_3129_); -if (v_isSharedCheck_3154_ == 0) -{ -v___x_3132_ = v___x_3129_; -v_isShared_3133_ = v_isSharedCheck_3154_; -goto v_resetjp_3131_; -} -else -{ -lean_inc(v_a_3130_); -lean_dec(v___x_3129_); -v___x_3132_ = lean_box(0); -v_isShared_3133_ = v_isSharedCheck_3154_; -goto v_resetjp_3131_; -} -v_resetjp_3131_: -{ -lean_object* v___x_3134_; lean_object* v_lctx_3135_; lean_object* v_cache_3136_; uint8_t v_shouldCache_3137_; lean_object* v_typeCache_3138_; lean_object* v_isTypeFormerTypeCache_3139_; lean_object* v_seq_3140_; lean_object* v_toAny_3141_; lean_object* v___x_3143_; uint8_t v_isShared_3144_; uint8_t v_isSharedCheck_3153_; -v___x_3134_ = lean_st_ref_take(v_a_3123_); -v_lctx_3135_ = lean_ctor_get(v___x_3134_, 0); -v_cache_3136_ = lean_ctor_get(v___x_3134_, 1); -v_shouldCache_3137_ = lean_ctor_get_uint8(v___x_3134_, sizeof(void*)*6); -v_typeCache_3138_ = lean_ctor_get(v___x_3134_, 2); -v_isTypeFormerTypeCache_3139_ = lean_ctor_get(v___x_3134_, 3); -v_seq_3140_ = lean_ctor_get(v___x_3134_, 4); -v_toAny_3141_ = lean_ctor_get(v___x_3134_, 5); -v_isSharedCheck_3153_ = !lean_is_exclusive(v___x_3134_); -if (v_isSharedCheck_3153_ == 0) -{ -v___x_3143_ = v___x_3134_; -v_isShared_3144_ = v_isSharedCheck_3153_; -goto v_resetjp_3142_; -} -else -{ -lean_inc(v_toAny_3141_); -lean_inc(v_seq_3140_); -lean_inc(v_isTypeFormerTypeCache_3139_); -lean_inc(v_typeCache_3138_); -lean_inc(v_cache_3136_); -lean_inc(v_lctx_3135_); -lean_dec(v___x_3134_); -v___x_3143_ = lean_box(0); -v_isShared_3144_ = v_isSharedCheck_3153_; -goto v_resetjp_3142_; -} -v_resetjp_3142_: -{ -lean_object* v___x_3145_; lean_object* v___x_3147_; -lean_inc(v_a_3130_); -v___x_3145_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_typeCache_3138_, v_type_3122_, v_a_3130_); -if (v_isShared_3144_ == 0) -{ -lean_ctor_set(v___x_3143_, 2, v___x_3145_); -v___x_3147_ = v___x_3143_; -goto v_reusejp_3146_; -} -else -{ -lean_object* v_reuseFailAlloc_3152_; -v_reuseFailAlloc_3152_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_3152_, 0, v_lctx_3135_); -lean_ctor_set(v_reuseFailAlloc_3152_, 1, v_cache_3136_); -lean_ctor_set(v_reuseFailAlloc_3152_, 2, v___x_3145_); -lean_ctor_set(v_reuseFailAlloc_3152_, 3, v_isTypeFormerTypeCache_3139_); -lean_ctor_set(v_reuseFailAlloc_3152_, 4, v_seq_3140_); -lean_ctor_set(v_reuseFailAlloc_3152_, 5, v_toAny_3141_); -lean_ctor_set_uint8(v_reuseFailAlloc_3152_, sizeof(void*)*6, v_shouldCache_3137_); -v___x_3147_ = v_reuseFailAlloc_3152_; -goto v_reusejp_3146_; -} -v_reusejp_3146_: -{ -lean_object* v___x_3148_; lean_object* v___x_3150_; -v___x_3148_ = lean_st_ref_set(v_a_3123_, v___x_3147_); -if (v_isShared_3133_ == 0) -{ -v___x_3150_ = v___x_3132_; -goto v_reusejp_3149_; -} -else -{ -lean_object* v_reuseFailAlloc_3151_; -v_reuseFailAlloc_3151_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3151_, 0, v_a_3130_); -v___x_3150_ = v_reuseFailAlloc_3151_; -goto v_reusejp_3149_; -} -v_reusejp_3149_: -{ -return v___x_3150_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg___boxed(lean_object* v_type_3184_, lean_object* v_a_3185_, lean_object* v_a_3186_, lean_object* v_a_3187_, lean_object* v_a_3188_){ -_start: -{ -lean_object* v_res_3189_; -v_res_3189_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3184_, v_a_3185_, v_a_3186_, v_a_3187_); -lean_dec(v_a_3185_); -return v_res_3189_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object* v_type_3190_, uint8_t v_a_3191_, lean_object* v_a_3192_, lean_object* v_a_3193_, lean_object* v_a_3194_, lean_object* v_a_3195_, lean_object* v_a_3196_){ -_start: -{ -lean_object* v___x_3198_; -v___x_3198_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3190_, v_a_3192_, v_a_3195_, v_a_3196_); -return v___x_3198_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___boxed(lean_object* v_type_3199_, lean_object* v_a_3200_, lean_object* v_a_3201_, lean_object* v_a_3202_, lean_object* v_a_3203_, lean_object* v_a_3204_, lean_object* v_a_3205_, lean_object* v_a_3206_){ -_start: -{ -uint8_t v_a_3592__boxed_3207_; lean_object* v_res_3208_; -v_a_3592__boxed_3207_ = lean_unbox(v_a_3200_); -v_res_3208_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(v_type_3199_, v_a_3592__boxed_3207_, v_a_3201_, v_a_3202_, v_a_3203_, v_a_3204_, v_a_3205_); -lean_dec(v_a_3203_); -lean_dec_ref(v_a_3202_); -lean_dec(v_a_3201_); -return v_res_3208_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(lean_object* v_binderName_3209_, lean_object* v_a_3210_){ -_start: -{ -uint8_t v___x_3212_; -v___x_3212_ = l_Lean_Name_hasMacroScopes(v_binderName_3209_); -if (v___x_3212_ == 0) -{ -lean_object* v___x_3213_; -v___x_3213_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3213_, 0, v_binderName_3209_); -return v___x_3213_; -} -else -{ -lean_object* v_binderName_3214_; lean_object* v___x_3215_; -v_binderName_3214_ = lean_erase_macro_scopes(v_binderName_3209_); -v___x_3215_ = l_Lean_Compiler_LCNF_mkFreshBinderName___redArg(v_binderName_3214_, v_a_3210_); +lean_object* v___x_3215_; +v___x_3215_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_3207_, v_a_3209_); return v___x_3215_; } } -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg___boxed(lean_object* v_binderName_3216_, lean_object* v_a_3217_, lean_object* v_a_3218_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___boxed(lean_object* v_type_3216_, lean_object* v_a_3217_, lean_object* v_a_3218_, lean_object* v_a_3219_, lean_object* v_a_3220_, lean_object* v_a_3221_, lean_object* v_a_3222_, lean_object* v_a_3223_){ _start: { -lean_object* v_res_3219_; -v_res_3219_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3216_, v_a_3217_); -lean_dec(v_a_3217_); -return v_res_3219_; +lean_object* v_res_3224_; +v_res_3224_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny(v_type_3216_, v_a_3217_, v_a_3218_, v_a_3219_, v_a_3220_, v_a_3221_, v_a_3222_); +lean_dec(v_a_3222_); +lean_dec_ref(v_a_3221_); +lean_dec(v_a_3220_); +lean_dec_ref(v_a_3219_); +lean_dec(v_a_3218_); +lean_dec_ref(v_a_3217_); +lean_dec_ref(v_type_3216_); +return v_res_3224_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object* v_binderName_3220_, lean_object* v_a_3221_, lean_object* v_a_3222_, lean_object* v_a_3223_, lean_object* v_a_3224_){ +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0(lean_object* v_00_u03b2_3225_, lean_object* v_k_3226_, lean_object* v_t_3227_){ _start: { -lean_object* v___x_3226_; -v___x_3226_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3220_, v_a_3222_); -return v___x_3226_; +uint8_t v___x_3228_; +v___x_3228_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_k_3226_, v_t_3227_); +return v___x_3228_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___boxed(lean_object* v_binderName_3227_, lean_object* v_a_3228_, lean_object* v_a_3229_, lean_object* v_a_3230_, lean_object* v_a_3231_, lean_object* v_a_3232_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___boxed(lean_object* v_00_u03b2_3229_, lean_object* v_k_3230_, lean_object* v_t_3231_){ _start: { -lean_object* v_res_3233_; -v_res_3233_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(v_binderName_3227_, v_a_3228_, v_a_3229_, v_a_3230_, v_a_3231_); -lean_dec(v_a_3231_); -lean_dec_ref(v_a_3230_); -lean_dec(v_a_3229_); -lean_dec_ref(v_a_3228_); -return v_res_3233_; +uint8_t v_res_3232_; lean_object* v_r_3233_; +v_res_3232_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0(v_00_u03b2_3229_, v_k_3230_, v_t_3231_); +lean_dec(v_t_3231_); +lean_dec(v_k_3230_); +v_r_3233_ = lean_box(v_res_3232_); +return v_r_3233_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(lean_object* v_binderName_3234_, lean_object* v_type_3235_, lean_object* v_a_3236_, lean_object* v_a_3237_, lean_object* v_a_3238_, lean_object* v_a_3239_, lean_object* v_a_3240_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(lean_object* v_type_3234_, lean_object* v_a_3235_, lean_object* v_a_3236_, lean_object* v_a_3237_){ _start: { -lean_object* v___x_3242_; -v___x_3242_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3234_, v_a_3238_); -if (lean_obj_tag(v___x_3242_) == 0) +lean_object* v_a_3240_; lean_object* v___x_3267_; lean_object* v_typeCache_3268_; lean_object* v___x_3269_; +v___x_3267_ = lean_st_ref_get(v_a_3235_); +v_typeCache_3268_ = lean_ctor_get(v___x_3267_, 2); +lean_inc_ref(v_typeCache_3268_); +lean_dec(v___x_3267_); +v___x_3269_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__1___redArg(v_typeCache_3268_, v_type_3234_); +lean_dec_ref(v_typeCache_3268_); +if (lean_obj_tag(v___x_3269_) == 0) { -lean_object* v_a_3243_; uint8_t v___x_3244_; lean_object* v___x_3245_; -v_a_3243_ = lean_ctor_get(v___x_3242_, 0); -lean_inc(v_a_3243_); -lean_dec_ref(v___x_3242_); -v___x_3244_ = l_Lean_isMarkedBorrowed(v_type_3235_); -lean_inc(v_a_3240_); -lean_inc_ref(v_a_3239_); -lean_inc_ref(v_type_3235_); -v___x_3245_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3235_, v_a_3236_, v_a_3239_, v_a_3240_); -if (lean_obj_tag(v___x_3245_) == 0) -{ -lean_object* v_a_3246_; uint8_t v___x_3247_; lean_object* v___x_3248_; -v_a_3246_ = lean_ctor_get(v___x_3245_, 0); -lean_inc(v_a_3246_); -lean_dec_ref(v___x_3245_); -v___x_3247_ = 0; -lean_inc(v_a_3243_); -v___x_3248_ = l_Lean_Compiler_LCNF_mkParam(v___x_3247_, v_a_3243_, v_a_3246_, v___x_3244_, v_a_3237_, v_a_3238_, v_a_3239_, v_a_3240_); -lean_dec(v_a_3240_); -lean_dec_ref(v_a_3239_); -if (lean_obj_tag(v___x_3248_) == 0) -{ -lean_object* v_a_3249_; lean_object* v___x_3251_; uint8_t v_isShared_3252_; uint8_t v_isSharedCheck_3276_; -v_a_3249_ = lean_ctor_get(v___x_3248_, 0); -v_isSharedCheck_3276_ = !lean_is_exclusive(v___x_3248_); -if (v_isSharedCheck_3276_ == 0) -{ -v___x_3251_ = v___x_3248_; -v_isShared_3252_ = v_isSharedCheck_3276_; -goto v_resetjp_3250_; -} -else -{ -lean_inc(v_a_3249_); -lean_dec(v___x_3248_); -v___x_3251_ = lean_box(0); -v_isShared_3252_ = v_isSharedCheck_3276_; -goto v_resetjp_3250_; -} -v_resetjp_3250_: -{ -lean_object* v___x_3253_; lean_object* v_lctx_3254_; lean_object* v_cache_3255_; uint8_t v_shouldCache_3256_; lean_object* v_typeCache_3257_; lean_object* v_isTypeFormerTypeCache_3258_; lean_object* v_seq_3259_; lean_object* v_toAny_3260_; lean_object* v___x_3262_; uint8_t v_isShared_3263_; uint8_t v_isSharedCheck_3275_; -v___x_3253_ = lean_st_ref_take(v_a_3236_); -v_lctx_3254_ = lean_ctor_get(v___x_3253_, 0); -v_cache_3255_ = lean_ctor_get(v___x_3253_, 1); -v_shouldCache_3256_ = lean_ctor_get_uint8(v___x_3253_, sizeof(void*)*6); -v_typeCache_3257_ = lean_ctor_get(v___x_3253_, 2); -v_isTypeFormerTypeCache_3258_ = lean_ctor_get(v___x_3253_, 3); -v_seq_3259_ = lean_ctor_get(v___x_3253_, 4); -v_toAny_3260_ = lean_ctor_get(v___x_3253_, 5); -v_isSharedCheck_3275_ = !lean_is_exclusive(v___x_3253_); -if (v_isSharedCheck_3275_ == 0) -{ -v___x_3262_ = v___x_3253_; -v_isShared_3263_ = v_isSharedCheck_3275_; -goto v_resetjp_3261_; -} -else -{ -lean_inc(v_toAny_3260_); -lean_inc(v_seq_3259_); -lean_inc(v_isTypeFormerTypeCache_3258_); -lean_inc(v_typeCache_3257_); -lean_inc(v_cache_3255_); -lean_inc(v_lctx_3254_); -lean_dec(v___x_3253_); -v___x_3262_ = lean_box(0); -v_isShared_3263_ = v_isSharedCheck_3275_; -goto v_resetjp_3261_; -} -v_resetjp_3261_: -{ -lean_object* v_fvarId_3264_; uint8_t v___x_3265_; uint8_t v___x_3266_; lean_object* v___x_3267_; lean_object* v___x_3269_; -v_fvarId_3264_ = lean_ctor_get(v_a_3249_, 0); -v___x_3265_ = 0; -v___x_3266_ = 0; -lean_inc(v_fvarId_3264_); -v___x_3267_ = l_Lean_LocalContext_mkLocalDecl(v_lctx_3254_, v_fvarId_3264_, v_a_3243_, v_type_3235_, v___x_3265_, v___x_3266_); -if (v_isShared_3263_ == 0) -{ -lean_ctor_set(v___x_3262_, 0, v___x_3267_); -v___x_3269_ = v___x_3262_; -goto v_reusejp_3268_; -} -else -{ -lean_object* v_reuseFailAlloc_3274_; -v_reuseFailAlloc_3274_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_3274_, 0, v___x_3267_); -lean_ctor_set(v_reuseFailAlloc_3274_, 1, v_cache_3255_); -lean_ctor_set(v_reuseFailAlloc_3274_, 2, v_typeCache_3257_); -lean_ctor_set(v_reuseFailAlloc_3274_, 3, v_isTypeFormerTypeCache_3258_); -lean_ctor_set(v_reuseFailAlloc_3274_, 4, v_seq_3259_); -lean_ctor_set(v_reuseFailAlloc_3274_, 5, v_toAny_3260_); -lean_ctor_set_uint8(v_reuseFailAlloc_3274_, sizeof(void*)*6, v_shouldCache_3256_); -v___x_3269_ = v_reuseFailAlloc_3274_; -goto v_reusejp_3268_; -} -v_reusejp_3268_: -{ -lean_object* v___x_3270_; lean_object* v___x_3272_; -v___x_3270_ = lean_st_ref_set(v_a_3236_, v___x_3269_); -if (v_isShared_3252_ == 0) -{ -v___x_3272_ = v___x_3251_; -goto v_reusejp_3271_; -} -else -{ -lean_object* v_reuseFailAlloc_3273_; -v_reuseFailAlloc_3273_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3273_, 0, v_a_3249_); -v___x_3272_ = v_reuseFailAlloc_3273_; -goto v_reusejp_3271_; -} -v_reusejp_3271_: -{ -return v___x_3272_; -} -} -} -} -} -else -{ -lean_dec(v_a_3243_); -lean_dec_ref(v_type_3235_); -return v___x_3248_; -} -} -else -{ -lean_object* v_a_3277_; lean_object* v___x_3279_; uint8_t v_isShared_3280_; uint8_t v_isSharedCheck_3284_; -lean_dec(v_a_3243_); -lean_dec(v_a_3240_); -lean_dec_ref(v_a_3239_); -lean_dec_ref(v_type_3235_); -v_a_3277_ = lean_ctor_get(v___x_3245_, 0); -v_isSharedCheck_3284_ = !lean_is_exclusive(v___x_3245_); -if (v_isSharedCheck_3284_ == 0) -{ -v___x_3279_ = v___x_3245_; -v_isShared_3280_ = v_isSharedCheck_3284_; -goto v_resetjp_3278_; -} -else -{ -lean_inc(v_a_3277_); -lean_dec(v___x_3245_); -v___x_3279_ = lean_box(0); -v_isShared_3280_ = v_isSharedCheck_3284_; -goto v_resetjp_3278_; -} -v_resetjp_3278_: -{ -lean_object* v___x_3282_; -if (v_isShared_3280_ == 0) -{ -v___x_3282_ = v___x_3279_; -goto v_reusejp_3281_; -} -else -{ -lean_object* v_reuseFailAlloc_3283_; -v_reuseFailAlloc_3283_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3283_, 0, v_a_3277_); -v___x_3282_ = v_reuseFailAlloc_3283_; -goto v_reusejp_3281_; -} -v_reusejp_3281_: -{ -return v___x_3282_; -} -} -} -} -else -{ -lean_object* v_a_3285_; lean_object* v___x_3287_; uint8_t v_isShared_3288_; uint8_t v_isSharedCheck_3292_; -lean_dec(v_a_3240_); -lean_dec_ref(v_a_3239_); -lean_dec_ref(v_type_3235_); -v_a_3285_ = lean_ctor_get(v___x_3242_, 0); -v_isSharedCheck_3292_ = !lean_is_exclusive(v___x_3242_); -if (v_isSharedCheck_3292_ == 0) -{ -v___x_3287_ = v___x_3242_; -v_isShared_3288_ = v_isSharedCheck_3292_; -goto v_resetjp_3286_; -} -else +lean_object* v___x_3270_; lean_object* v_lctx_3271_; lean_object* v___x_3272_; lean_object* v___x_3273_; uint8_t v___x_3274_; lean_object* v___x_3275_; lean_object* v___x_3276_; lean_object* v___x_3277_; uint8_t v___x_3278_; lean_object* v___x_3279_; lean_object* v___x_3280_; lean_object* v___x_3281_; lean_object* v___x_3282_; lean_object* v___x_3283_; lean_object* v___x_3284_; +v___x_3270_ = lean_st_ref_get(v_a_3235_); +v_lctx_3271_ = lean_ctor_get(v___x_3270_, 0); +lean_inc_ref(v_lctx_3271_); +lean_dec(v___x_3270_); +v___x_3272_ = lean_box(1); +v___x_3273_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_3274_ = 0; +v___x_3275_ = lean_unsigned_to_nat(0u); +v___x_3276_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_3277_ = lean_box(0); +v___x_3278_ = 1; +v___x_3279_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_3279_, 0, v___x_3273_); +lean_ctor_set(v___x_3279_, 1, v___x_3272_); +lean_ctor_set(v___x_3279_, 2, v_lctx_3271_); +lean_ctor_set(v___x_3279_, 3, v___x_3276_); +lean_ctor_set(v___x_3279_, 4, v___x_3277_); +lean_ctor_set(v___x_3279_, 5, v___x_3275_); +lean_ctor_set(v___x_3279_, 6, v___x_3277_); +lean_ctor_set_uint8(v___x_3279_, sizeof(void*)*7, v___x_3274_); +lean_ctor_set_uint8(v___x_3279_, sizeof(void*)*7 + 1, v___x_3274_); +lean_ctor_set_uint8(v___x_3279_, sizeof(void*)*7 + 2, v___x_3274_); +lean_ctor_set_uint8(v___x_3279_, sizeof(void*)*7 + 3, v___x_3278_); +v___x_3280_ = lean_unsigned_to_nat(32u); +v___x_3281_ = lean_mk_empty_array_with_capacity(v___x_3280_); +lean_dec_ref(v___x_3281_); +v___x_3282_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_3283_ = lean_st_mk_ref(v___x_3282_); +lean_inc(v___x_3283_); +lean_inc_ref(v_type_3234_); +v___x_3284_ = l_Lean_Compiler_LCNF_toLCNFType(v_type_3234_, v___x_3279_, v___x_3283_, v_a_3236_, v_a_3237_); +if (lean_obj_tag(v___x_3284_) == 0) { +lean_object* v_a_3285_; lean_object* v___x_3286_; +v_a_3285_ = lean_ctor_get(v___x_3284_, 0); lean_inc(v_a_3285_); -lean_dec(v___x_3242_); -v___x_3287_ = lean_box(0); -v_isShared_3288_ = v_isSharedCheck_3292_; -goto v_resetjp_3286_; -} -v_resetjp_3286_: -{ -lean_object* v___x_3290_; -if (v_isShared_3288_ == 0) -{ -v___x_3290_ = v___x_3287_; -goto v_reusejp_3289_; +lean_dec_ref(v___x_3284_); +v___x_3286_ = lean_st_ref_get(v___x_3283_); +lean_dec(v___x_3283_); +lean_dec(v___x_3286_); +v_a_3240_ = v_a_3285_; +goto v___jp_3239_; } else { -lean_object* v_reuseFailAlloc_3291_; -v_reuseFailAlloc_3291_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3291_, 0, v_a_3285_); -v___x_3290_ = v_reuseFailAlloc_3291_; -goto v_reusejp_3289_; -} -v_reusejp_3289_: +lean_dec(v___x_3283_); +if (lean_obj_tag(v___x_3284_) == 0) { -return v___x_3290_; +lean_object* v_a_3287_; +v_a_3287_ = lean_ctor_get(v___x_3284_, 0); +lean_inc(v_a_3287_); +lean_dec_ref(v___x_3284_); +v_a_3240_ = v_a_3287_; +goto v___jp_3239_; +} +else +{ +lean_dec_ref(v_type_3234_); +return v___x_3284_; +} +} +} +else +{ +lean_object* v_val_3288_; lean_object* v___x_3290_; uint8_t v_isShared_3291_; uint8_t v_isSharedCheck_3295_; +lean_dec(v_a_3237_); +lean_dec_ref(v_a_3236_); +lean_dec_ref(v_type_3234_); +v_val_3288_ = lean_ctor_get(v___x_3269_, 0); +v_isSharedCheck_3295_ = !lean_is_exclusive(v___x_3269_); +if (v_isSharedCheck_3295_ == 0) +{ +v___x_3290_ = v___x_3269_; +v_isShared_3291_ = v_isSharedCheck_3295_; +goto v_resetjp_3289_; +} +else +{ +lean_inc(v_val_3288_); +lean_dec(v___x_3269_); +v___x_3290_ = lean_box(0); +v_isShared_3291_ = v_isSharedCheck_3295_; +goto v_resetjp_3289_; +} +v_resetjp_3289_: +{ +lean_object* v___x_3293_; +if (v_isShared_3291_ == 0) +{ +lean_ctor_set_tag(v___x_3290_, 0); +v___x_3293_ = v___x_3290_; +goto v_reusejp_3292_; +} +else +{ +lean_object* v_reuseFailAlloc_3294_; +v_reuseFailAlloc_3294_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3294_, 0, v_val_3288_); +v___x_3293_ = v_reuseFailAlloc_3294_; +goto v_reusejp_3292_; +} +v_reusejp_3292_: +{ +return v___x_3293_; +} +} +} +v___jp_3239_: +{ +lean_object* v___x_3241_; lean_object* v_a_3242_; lean_object* v___x_3244_; uint8_t v_isShared_3245_; uint8_t v_isSharedCheck_3266_; +v___x_3241_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_a_3240_, v_a_3235_); +lean_dec_ref(v_a_3240_); +v_a_3242_ = lean_ctor_get(v___x_3241_, 0); +v_isSharedCheck_3266_ = !lean_is_exclusive(v___x_3241_); +if (v_isSharedCheck_3266_ == 0) +{ +v___x_3244_ = v___x_3241_; +v_isShared_3245_ = v_isSharedCheck_3266_; +goto v_resetjp_3243_; +} +else +{ +lean_inc(v_a_3242_); +lean_dec(v___x_3241_); +v___x_3244_ = lean_box(0); +v_isShared_3245_ = v_isSharedCheck_3266_; +goto v_resetjp_3243_; +} +v_resetjp_3243_: +{ +lean_object* v___x_3246_; lean_object* v_lctx_3247_; lean_object* v_cache_3248_; uint8_t v_shouldCache_3249_; lean_object* v_typeCache_3250_; lean_object* v_isTypeFormerTypeCache_3251_; lean_object* v_seq_3252_; lean_object* v_toAny_3253_; lean_object* v___x_3255_; uint8_t v_isShared_3256_; uint8_t v_isSharedCheck_3265_; +v___x_3246_ = lean_st_ref_take(v_a_3235_); +v_lctx_3247_ = lean_ctor_get(v___x_3246_, 0); +v_cache_3248_ = lean_ctor_get(v___x_3246_, 1); +v_shouldCache_3249_ = lean_ctor_get_uint8(v___x_3246_, sizeof(void*)*6); +v_typeCache_3250_ = lean_ctor_get(v___x_3246_, 2); +v_isTypeFormerTypeCache_3251_ = lean_ctor_get(v___x_3246_, 3); +v_seq_3252_ = lean_ctor_get(v___x_3246_, 4); +v_toAny_3253_ = lean_ctor_get(v___x_3246_, 5); +v_isSharedCheck_3265_ = !lean_is_exclusive(v___x_3246_); +if (v_isSharedCheck_3265_ == 0) +{ +v___x_3255_ = v___x_3246_; +v_isShared_3256_ = v_isSharedCheck_3265_; +goto v_resetjp_3254_; +} +else +{ +lean_inc(v_toAny_3253_); +lean_inc(v_seq_3252_); +lean_inc(v_isTypeFormerTypeCache_3251_); +lean_inc(v_typeCache_3250_); +lean_inc(v_cache_3248_); +lean_inc(v_lctx_3247_); +lean_dec(v___x_3246_); +v___x_3255_ = lean_box(0); +v_isShared_3256_ = v_isSharedCheck_3265_; +goto v_resetjp_3254_; +} +v_resetjp_3254_: +{ +lean_object* v___x_3257_; lean_object* v___x_3259_; +lean_inc(v_a_3242_); +v___x_3257_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_spec__0___redArg(v_typeCache_3250_, v_type_3234_, v_a_3242_); +if (v_isShared_3256_ == 0) +{ +lean_ctor_set(v___x_3255_, 2, v___x_3257_); +v___x_3259_ = v___x_3255_; +goto v_reusejp_3258_; +} +else +{ +lean_object* v_reuseFailAlloc_3264_; +v_reuseFailAlloc_3264_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_3264_, 0, v_lctx_3247_); +lean_ctor_set(v_reuseFailAlloc_3264_, 1, v_cache_3248_); +lean_ctor_set(v_reuseFailAlloc_3264_, 2, v___x_3257_); +lean_ctor_set(v_reuseFailAlloc_3264_, 3, v_isTypeFormerTypeCache_3251_); +lean_ctor_set(v_reuseFailAlloc_3264_, 4, v_seq_3252_); +lean_ctor_set(v_reuseFailAlloc_3264_, 5, v_toAny_3253_); +lean_ctor_set_uint8(v_reuseFailAlloc_3264_, sizeof(void*)*6, v_shouldCache_3249_); +v___x_3259_ = v_reuseFailAlloc_3264_; +goto v_reusejp_3258_; +} +v_reusejp_3258_: +{ +lean_object* v___x_3260_; lean_object* v___x_3262_; +v___x_3260_ = lean_st_ref_set(v_a_3235_, v___x_3259_); +if (v_isShared_3245_ == 0) +{ +v___x_3262_ = v___x_3244_; +goto v_reusejp_3261_; +} +else +{ +lean_object* v_reuseFailAlloc_3263_; +v_reuseFailAlloc_3263_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3263_, 0, v_a_3242_); +v___x_3262_ = v_reuseFailAlloc_3263_; +goto v_reusejp_3261_; +} +v_reusejp_3261_: +{ +return v___x_3262_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg___boxed(lean_object* v_binderName_3293_, lean_object* v_type_3294_, lean_object* v_a_3295_, lean_object* v_a_3296_, lean_object* v_a_3297_, lean_object* v_a_3298_, lean_object* v_a_3299_, lean_object* v_a_3300_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg___boxed(lean_object* v_type_3296_, lean_object* v_a_3297_, lean_object* v_a_3298_, lean_object* v_a_3299_, lean_object* v_a_3300_){ _start: { lean_object* v_res_3301_; -v_res_3301_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3293_, v_type_3294_, v_a_3295_, v_a_3296_, v_a_3297_, v_a_3298_, v_a_3299_); +v_res_3301_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3296_, v_a_3297_, v_a_3298_, v_a_3299_); lean_dec(v_a_3297_); -lean_dec_ref(v_a_3296_); -lean_dec(v_a_3295_); return v_res_3301_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object* v_binderName_3302_, lean_object* v_type_3303_, uint8_t v_a_3304_, lean_object* v_a_3305_, lean_object* v_a_3306_, lean_object* v_a_3307_, lean_object* v_a_3308_, lean_object* v_a_3309_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object* v_type_3302_, lean_object* v_a_3303_, lean_object* v_a_3304_, lean_object* v_a_3305_, lean_object* v_a_3306_, lean_object* v_a_3307_, lean_object* v_a_3308_){ _start: { -lean_object* v___x_3311_; -v___x_3311_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3302_, v_type_3303_, v_a_3305_, v_a_3306_, v_a_3307_, v_a_3308_, v_a_3309_); -return v___x_3311_; +lean_object* v___x_3310_; +v___x_3310_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3302_, v_a_3304_, v_a_3307_, v_a_3308_); +return v___x_3310_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___boxed(lean_object* v_binderName_3312_, lean_object* v_type_3313_, lean_object* v_a_3314_, lean_object* v_a_3315_, lean_object* v_a_3316_, lean_object* v_a_3317_, lean_object* v_a_3318_, lean_object* v_a_3319_, lean_object* v_a_3320_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___boxed(lean_object* v_type_3311_, lean_object* v_a_3312_, lean_object* v_a_3313_, lean_object* v_a_3314_, lean_object* v_a_3315_, lean_object* v_a_3316_, lean_object* v_a_3317_, lean_object* v_a_3318_){ _start: { -uint8_t v_a_2111__boxed_3321_; lean_object* v_res_3322_; -v_a_2111__boxed_3321_ = lean_unbox(v_a_3314_); -v_res_3322_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam(v_binderName_3312_, v_type_3313_, v_a_2111__boxed_3321_, v_a_3315_, v_a_3316_, v_a_3317_, v_a_3318_, v_a_3319_); -lean_dec(v_a_3317_); -lean_dec_ref(v_a_3316_); +lean_object* v_res_3319_; +v_res_3319_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(v_type_3311_, v_a_3312_, v_a_3313_, v_a_3314_, v_a_3315_, v_a_3316_, v_a_3317_); lean_dec(v_a_3315_); -return v_res_3322_; +lean_dec_ref(v_a_3314_); +lean_dec(v_a_3313_); +lean_dec_ref(v_a_3312_); +return v_res_3319_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(lean_object* v_binderName_3325_, lean_object* v_type_3326_, lean_object* v_value_3327_, lean_object* v_type_x27_3328_, lean_object* v_arg_3329_, lean_object* v_a_3330_, lean_object* v_a_3331_, lean_object* v_a_3332_, lean_object* v_a_3333_, lean_object* v_a_3334_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(lean_object* v_binderName_3320_, lean_object* v_a_3321_){ _start: { -lean_object* v___x_3336_; -v___x_3336_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3325_, v_a_3332_); -if (lean_obj_tag(v___x_3336_) == 0) +uint8_t v___x_3323_; +v___x_3323_ = l_Lean_Name_hasMacroScopes(v_binderName_3320_); +if (v___x_3323_ == 0) { -lean_object* v_a_3337_; lean_object* v_value_x27_3339_; lean_object* v___y_3340_; lean_object* v___y_3341_; lean_object* v___y_3342_; lean_object* v___y_3343_; lean_object* v___y_3344_; -v_a_3337_ = lean_ctor_get(v___x_3336_, 0); -lean_inc(v_a_3337_); -lean_dec_ref(v___x_3336_); -if (lean_obj_tag(v_arg_3329_) == 1) -{ -lean_object* v_fvarId_3377_; lean_object* v___x_3378_; lean_object* v___x_3379_; -v_fvarId_3377_ = lean_ctor_get(v_arg_3329_, 0); -v___x_3378_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0)); -lean_inc(v_fvarId_3377_); -v___x_3379_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_3379_, 0, v_fvarId_3377_); -lean_ctor_set(v___x_3379_, 1, v___x_3378_); -v_value_x27_3339_ = v___x_3379_; -v___y_3340_ = v_a_3330_; -v___y_3341_ = v_a_3331_; -v___y_3342_ = v_a_3332_; -v___y_3343_ = v_a_3333_; -v___y_3344_ = v_a_3334_; -goto v___jp_3338_; +lean_object* v___x_3324_; +v___x_3324_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3324_, 0, v_binderName_3320_); +return v___x_3324_; } else { -lean_object* v___x_3380_; -v___x_3380_ = lean_box(1); -v_value_x27_3339_ = v___x_3380_; -v___y_3340_ = v_a_3330_; -v___y_3341_ = v_a_3331_; -v___y_3342_ = v_a_3332_; -v___y_3343_ = v_a_3333_; -v___y_3344_ = v_a_3334_; -goto v___jp_3338_; -} -v___jp_3338_: -{ -uint8_t v___x_3345_; lean_object* v___x_3346_; -v___x_3345_ = 0; -lean_inc(v_a_3337_); -v___x_3346_ = l_Lean_Compiler_LCNF_mkLetDecl(v___x_3345_, v_a_3337_, v_type_x27_3328_, v_value_x27_3339_, v___y_3341_, v___y_3342_, v___y_3343_, v___y_3344_); -if (lean_obj_tag(v___x_3346_) == 0) -{ -lean_object* v_a_3347_; lean_object* v___x_3349_; uint8_t v_isShared_3350_; uint8_t v_isSharedCheck_3376_; -v_a_3347_ = lean_ctor_get(v___x_3346_, 0); -v_isSharedCheck_3376_ = !lean_is_exclusive(v___x_3346_); -if (v_isSharedCheck_3376_ == 0) -{ -v___x_3349_ = v___x_3346_; -v_isShared_3350_ = v_isSharedCheck_3376_; -goto v_resetjp_3348_; -} -else -{ -lean_inc(v_a_3347_); -lean_dec(v___x_3346_); -v___x_3349_ = lean_box(0); -v_isShared_3350_ = v_isSharedCheck_3376_; -goto v_resetjp_3348_; -} -v_resetjp_3348_: -{ -lean_object* v___x_3351_; lean_object* v_lctx_3352_; lean_object* v_cache_3353_; uint8_t v_shouldCache_3354_; lean_object* v_typeCache_3355_; lean_object* v_isTypeFormerTypeCache_3356_; lean_object* v_seq_3357_; lean_object* v_toAny_3358_; lean_object* v___x_3360_; uint8_t v_isShared_3361_; uint8_t v_isSharedCheck_3375_; -v___x_3351_ = lean_st_ref_take(v___y_3340_); -v_lctx_3352_ = lean_ctor_get(v___x_3351_, 0); -v_cache_3353_ = lean_ctor_get(v___x_3351_, 1); -v_shouldCache_3354_ = lean_ctor_get_uint8(v___x_3351_, sizeof(void*)*6); -v_typeCache_3355_ = lean_ctor_get(v___x_3351_, 2); -v_isTypeFormerTypeCache_3356_ = lean_ctor_get(v___x_3351_, 3); -v_seq_3357_ = lean_ctor_get(v___x_3351_, 4); -v_toAny_3358_ = lean_ctor_get(v___x_3351_, 5); -v_isSharedCheck_3375_ = !lean_is_exclusive(v___x_3351_); -if (v_isSharedCheck_3375_ == 0) -{ -v___x_3360_ = v___x_3351_; -v_isShared_3361_ = v_isSharedCheck_3375_; -goto v_resetjp_3359_; -} -else -{ -lean_inc(v_toAny_3358_); -lean_inc(v_seq_3357_); -lean_inc(v_isTypeFormerTypeCache_3356_); -lean_inc(v_typeCache_3355_); -lean_inc(v_cache_3353_); -lean_inc(v_lctx_3352_); -lean_dec(v___x_3351_); -v___x_3360_ = lean_box(0); -v_isShared_3361_ = v_isSharedCheck_3375_; -goto v_resetjp_3359_; -} -v_resetjp_3359_: -{ -lean_object* v_fvarId_3362_; uint8_t v___x_3363_; uint8_t v___x_3364_; lean_object* v___x_3365_; lean_object* v___x_3366_; lean_object* v___x_3367_; lean_object* v___x_3369_; -v_fvarId_3362_ = lean_ctor_get(v_a_3347_, 0); -v___x_3363_ = 0; -v___x_3364_ = 0; -lean_inc(v_fvarId_3362_); -v___x_3365_ = l_Lean_LocalContext_mkLetDecl(v_lctx_3352_, v_fvarId_3362_, v_a_3337_, v_type_3326_, v_value_3327_, v___x_3363_, v___x_3364_); -lean_inc(v_a_3347_); -v___x_3366_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v___x_3366_, 0, v_a_3347_); -v___x_3367_ = lean_array_push(v_seq_3357_, v___x_3366_); -if (v_isShared_3361_ == 0) -{ -lean_ctor_set(v___x_3360_, 4, v___x_3367_); -lean_ctor_set(v___x_3360_, 0, v___x_3365_); -v___x_3369_ = v___x_3360_; -goto v_reusejp_3368_; -} -else -{ -lean_object* v_reuseFailAlloc_3374_; -v_reuseFailAlloc_3374_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_3374_, 0, v___x_3365_); -lean_ctor_set(v_reuseFailAlloc_3374_, 1, v_cache_3353_); -lean_ctor_set(v_reuseFailAlloc_3374_, 2, v_typeCache_3355_); -lean_ctor_set(v_reuseFailAlloc_3374_, 3, v_isTypeFormerTypeCache_3356_); -lean_ctor_set(v_reuseFailAlloc_3374_, 4, v___x_3367_); -lean_ctor_set(v_reuseFailAlloc_3374_, 5, v_toAny_3358_); -lean_ctor_set_uint8(v_reuseFailAlloc_3374_, sizeof(void*)*6, v_shouldCache_3354_); -v___x_3369_ = v_reuseFailAlloc_3374_; -goto v_reusejp_3368_; -} -v_reusejp_3368_: -{ -lean_object* v___x_3370_; lean_object* v___x_3372_; -v___x_3370_ = lean_st_ref_set(v___y_3340_, v___x_3369_); -if (v_isShared_3350_ == 0) -{ -v___x_3372_ = v___x_3349_; -goto v_reusejp_3371_; -} -else -{ -lean_object* v_reuseFailAlloc_3373_; -v_reuseFailAlloc_3373_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3373_, 0, v_a_3347_); -v___x_3372_ = v_reuseFailAlloc_3373_; -goto v_reusejp_3371_; -} -v_reusejp_3371_: -{ -return v___x_3372_; +lean_object* v_binderName_3325_; lean_object* v___x_3326_; +v_binderName_3325_ = lean_erase_macro_scopes(v_binderName_3320_); +v___x_3326_ = l_Lean_Compiler_LCNF_mkFreshBinderName___redArg(v_binderName_3325_, v_a_3321_); +return v___x_3326_; } } } -} -} -else -{ -lean_dec(v_a_3337_); -lean_dec_ref(v_value_3327_); -lean_dec_ref(v_type_3326_); -return v___x_3346_; -} -} -} -else -{ -lean_object* v_a_3381_; lean_object* v___x_3383_; uint8_t v_isShared_3384_; uint8_t v_isSharedCheck_3388_; -lean_dec_ref(v_type_x27_3328_); -lean_dec_ref(v_value_3327_); -lean_dec_ref(v_type_3326_); -v_a_3381_ = lean_ctor_get(v___x_3336_, 0); -v_isSharedCheck_3388_ = !lean_is_exclusive(v___x_3336_); -if (v_isSharedCheck_3388_ == 0) -{ -v___x_3383_ = v___x_3336_; -v_isShared_3384_ = v_isSharedCheck_3388_; -goto v_resetjp_3382_; -} -else -{ -lean_inc(v_a_3381_); -lean_dec(v___x_3336_); -v___x_3383_ = lean_box(0); -v_isShared_3384_ = v_isSharedCheck_3388_; -goto v_resetjp_3382_; -} -v_resetjp_3382_: -{ -lean_object* v___x_3386_; -if (v_isShared_3384_ == 0) -{ -v___x_3386_ = v___x_3383_; -goto v_reusejp_3385_; -} -else -{ -lean_object* v_reuseFailAlloc_3387_; -v_reuseFailAlloc_3387_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3387_, 0, v_a_3381_); -v___x_3386_ = v_reuseFailAlloc_3387_; -goto v_reusejp_3385_; -} -v_reusejp_3385_: -{ -return v___x_3386_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___boxed(lean_object* v_binderName_3389_, lean_object* v_type_3390_, lean_object* v_value_3391_, lean_object* v_type_x27_3392_, lean_object* v_arg_3393_, lean_object* v_a_3394_, lean_object* v_a_3395_, lean_object* v_a_3396_, lean_object* v_a_3397_, lean_object* v_a_3398_, lean_object* v_a_3399_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg___boxed(lean_object* v_binderName_3327_, lean_object* v_a_3328_, lean_object* v_a_3329_){ _start: { -lean_object* v_res_3400_; -v_res_3400_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_binderName_3389_, v_type_3390_, v_value_3391_, v_type_x27_3392_, v_arg_3393_, v_a_3394_, v_a_3395_, v_a_3396_, v_a_3397_, v_a_3398_); -lean_dec(v_a_3398_); -lean_dec_ref(v_a_3397_); -lean_dec(v_a_3396_); -lean_dec_ref(v_a_3395_); -lean_dec(v_a_3394_); -lean_dec(v_arg_3393_); -return v_res_3400_; +lean_object* v_res_3330_; +v_res_3330_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3327_, v_a_3328_); +lean_dec(v_a_3328_); +return v_res_3330_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object* v_binderName_3401_, lean_object* v_type_3402_, lean_object* v_value_3403_, lean_object* v_type_x27_3404_, lean_object* v_arg_3405_, uint8_t v_a_3406_, lean_object* v_a_3407_, lean_object* v_a_3408_, lean_object* v_a_3409_, lean_object* v_a_3410_, lean_object* v_a_3411_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object* v_binderName_3331_, lean_object* v_a_3332_, lean_object* v_a_3333_, lean_object* v_a_3334_, lean_object* v_a_3335_){ _start: { -lean_object* v___x_3413_; -v___x_3413_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_binderName_3401_, v_type_3402_, v_value_3403_, v_type_x27_3404_, v_arg_3405_, v_a_3407_, v_a_3408_, v_a_3409_, v_a_3410_, v_a_3411_); -return v___x_3413_; +lean_object* v___x_3337_; +v___x_3337_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3331_, v_a_3333_); +return v___x_3337_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___boxed(lean_object* v_binderName_3414_, lean_object* v_type_3415_, lean_object* v_value_3416_, lean_object* v_type_x27_3417_, lean_object* v_arg_3418_, lean_object* v_a_3419_, lean_object* v_a_3420_, lean_object* v_a_3421_, lean_object* v_a_3422_, lean_object* v_a_3423_, lean_object* v_a_3424_, lean_object* v_a_3425_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___boxed(lean_object* v_binderName_3338_, lean_object* v_a_3339_, lean_object* v_a_3340_, lean_object* v_a_3341_, lean_object* v_a_3342_, lean_object* v_a_3343_){ _start: { -uint8_t v_a_2911__boxed_3426_; lean_object* v_res_3427_; -v_a_2911__boxed_3426_ = lean_unbox(v_a_3419_); -v_res_3427_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(v_binderName_3414_, v_type_3415_, v_value_3416_, v_type_x27_3417_, v_arg_3418_, v_a_2911__boxed_3426_, v_a_3420_, v_a_3421_, v_a_3422_, v_a_3423_, v_a_3424_); -lean_dec(v_a_3424_); -lean_dec_ref(v_a_3423_); -lean_dec(v_a_3422_); -lean_dec_ref(v_a_3421_); -lean_dec(v_a_3420_); -lean_dec(v_arg_3418_); -return v_res_3427_; +lean_object* v_res_3344_; +v_res_3344_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(v_binderName_3338_, v_a_3339_, v_a_3340_, v_a_3341_, v_a_3342_); +lean_dec(v_a_3342_); +lean_dec_ref(v_a_3341_); +lean_dec(v_a_3340_); +lean_dec_ref(v_a_3339_); +return v_res_3344_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg(lean_object* v_e_3428_, lean_object* v_xs_3429_, lean_object* v_ps_3430_, lean_object* v_a_3431_, lean_object* v_a_3432_, lean_object* v_a_3433_, lean_object* v_a_3434_, lean_object* v_a_3435_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(lean_object* v_binderName_3345_, lean_object* v_type_3346_, uint8_t v_borrow_3347_, lean_object* v_a_3348_, lean_object* v_a_3349_, lean_object* v_a_3350_, lean_object* v_a_3351_, lean_object* v_a_3352_){ _start: { -if (lean_obj_tag(v_e_3428_) == 6) +lean_object* v___x_3354_; +v___x_3354_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3345_, v_a_3350_); +if (lean_obj_tag(v___x_3354_) == 0) { -lean_object* v_binderName_3437_; lean_object* v_binderType_3438_; lean_object* v_body_3439_; lean_object* v_type_3440_; lean_object* v___x_3441_; -v_binderName_3437_ = lean_ctor_get(v_e_3428_, 0); -lean_inc(v_binderName_3437_); -v_binderType_3438_ = lean_ctor_get(v_e_3428_, 1); -lean_inc_ref(v_binderType_3438_); -v_body_3439_ = lean_ctor_get(v_e_3428_, 2); -lean_inc_ref(v_body_3439_); -lean_dec_ref(v_e_3428_); -v_type_3440_ = lean_expr_instantiate_rev(v_binderType_3438_, v_xs_3429_); -lean_dec_ref(v_binderType_3438_); -lean_inc(v_a_3435_); -lean_inc_ref(v_a_3434_); -v___x_3441_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3437_, v_type_3440_, v_a_3431_, v_a_3432_, v_a_3433_, v_a_3434_, v_a_3435_); -if (lean_obj_tag(v___x_3441_) == 0) +lean_object* v_a_3355_; lean_object* v___x_3356_; +v_a_3355_ = lean_ctor_get(v___x_3354_, 0); +lean_inc(v_a_3355_); +lean_dec_ref(v___x_3354_); +lean_inc(v_a_3352_); +lean_inc_ref(v_a_3351_); +lean_inc_ref(v_type_3346_); +v___x_3356_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_3346_, v_a_3348_, v_a_3351_, v_a_3352_); +if (lean_obj_tag(v___x_3356_) == 0) { -lean_object* v_a_3442_; lean_object* v___x_3443_; lean_object* v___x_3444_; lean_object* v___x_3445_; -v_a_3442_ = lean_ctor_get(v___x_3441_, 0); -lean_inc(v_a_3442_); -lean_dec_ref(v___x_3441_); -lean_inc(v_a_3442_); -v___x_3443_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_a_3442_); -v___x_3444_ = lean_array_push(v_xs_3429_, v___x_3443_); -v___x_3445_ = lean_array_push(v_ps_3430_, v_a_3442_); -v_e_3428_ = v_body_3439_; -v_xs_3429_ = v___x_3444_; -v_ps_3430_ = v___x_3445_; -goto _start; +lean_object* v_a_3357_; uint8_t v___x_3358_; lean_object* v___x_3359_; +v_a_3357_ = lean_ctor_get(v___x_3356_, 0); +lean_inc(v_a_3357_); +lean_dec_ref(v___x_3356_); +v___x_3358_ = 0; +lean_inc(v_a_3355_); +v___x_3359_ = l_Lean_Compiler_LCNF_mkParam(v___x_3358_, v_a_3355_, v_a_3357_, v_borrow_3347_, v_a_3349_, v_a_3350_, v_a_3351_, v_a_3352_); +lean_dec(v_a_3352_); +lean_dec_ref(v_a_3351_); +if (lean_obj_tag(v___x_3359_) == 0) +{ +lean_object* v_a_3360_; lean_object* v___x_3362_; uint8_t v_isShared_3363_; uint8_t v_isSharedCheck_3387_; +v_a_3360_ = lean_ctor_get(v___x_3359_, 0); +v_isSharedCheck_3387_ = !lean_is_exclusive(v___x_3359_); +if (v_isSharedCheck_3387_ == 0) +{ +v___x_3362_ = v___x_3359_; +v_isShared_3363_ = v_isSharedCheck_3387_; +goto v_resetjp_3361_; } else { -lean_object* v_a_3447_; lean_object* v___x_3449_; uint8_t v_isShared_3450_; uint8_t v_isSharedCheck_3454_; -lean_dec_ref(v_body_3439_); -lean_dec(v_a_3435_); -lean_dec_ref(v_a_3434_); -lean_dec_ref(v_ps_3430_); -lean_dec_ref(v_xs_3429_); -v_a_3447_ = lean_ctor_get(v___x_3441_, 0); -v_isSharedCheck_3454_ = !lean_is_exclusive(v___x_3441_); -if (v_isSharedCheck_3454_ == 0) +lean_inc(v_a_3360_); +lean_dec(v___x_3359_); +v___x_3362_ = lean_box(0); +v_isShared_3363_ = v_isSharedCheck_3387_; +goto v_resetjp_3361_; +} +v_resetjp_3361_: { -v___x_3449_ = v___x_3441_; -v_isShared_3450_ = v_isSharedCheck_3454_; -goto v_resetjp_3448_; +lean_object* v___x_3364_; lean_object* v_lctx_3365_; lean_object* v_cache_3366_; uint8_t v_shouldCache_3367_; lean_object* v_typeCache_3368_; lean_object* v_isTypeFormerTypeCache_3369_; lean_object* v_seq_3370_; lean_object* v_toAny_3371_; lean_object* v___x_3373_; uint8_t v_isShared_3374_; uint8_t v_isSharedCheck_3386_; +v___x_3364_ = lean_st_ref_take(v_a_3348_); +v_lctx_3365_ = lean_ctor_get(v___x_3364_, 0); +v_cache_3366_ = lean_ctor_get(v___x_3364_, 1); +v_shouldCache_3367_ = lean_ctor_get_uint8(v___x_3364_, sizeof(void*)*6); +v_typeCache_3368_ = lean_ctor_get(v___x_3364_, 2); +v_isTypeFormerTypeCache_3369_ = lean_ctor_get(v___x_3364_, 3); +v_seq_3370_ = lean_ctor_get(v___x_3364_, 4); +v_toAny_3371_ = lean_ctor_get(v___x_3364_, 5); +v_isSharedCheck_3386_ = !lean_is_exclusive(v___x_3364_); +if (v_isSharedCheck_3386_ == 0) +{ +v___x_3373_ = v___x_3364_; +v_isShared_3374_ = v_isSharedCheck_3386_; +goto v_resetjp_3372_; } else { -lean_inc(v_a_3447_); -lean_dec(v___x_3441_); -v___x_3449_ = lean_box(0); -v_isShared_3450_ = v_isSharedCheck_3454_; -goto v_resetjp_3448_; +lean_inc(v_toAny_3371_); +lean_inc(v_seq_3370_); +lean_inc(v_isTypeFormerTypeCache_3369_); +lean_inc(v_typeCache_3368_); +lean_inc(v_cache_3366_); +lean_inc(v_lctx_3365_); +lean_dec(v___x_3364_); +v___x_3373_ = lean_box(0); +v_isShared_3374_ = v_isSharedCheck_3386_; +goto v_resetjp_3372_; } -v_resetjp_3448_: +v_resetjp_3372_: { -lean_object* v___x_3452_; -if (v_isShared_3450_ == 0) +lean_object* v_fvarId_3375_; uint8_t v___x_3376_; uint8_t v___x_3377_; lean_object* v___x_3378_; lean_object* v___x_3380_; +v_fvarId_3375_ = lean_ctor_get(v_a_3360_, 0); +v___x_3376_ = 0; +v___x_3377_ = 0; +lean_inc(v_fvarId_3375_); +v___x_3378_ = l_Lean_LocalContext_mkLocalDecl(v_lctx_3365_, v_fvarId_3375_, v_a_3355_, v_type_3346_, v___x_3376_, v___x_3377_); +if (v_isShared_3374_ == 0) { -v___x_3452_ = v___x_3449_; -goto v_reusejp_3451_; +lean_ctor_set(v___x_3373_, 0, v___x_3378_); +v___x_3380_ = v___x_3373_; +goto v_reusejp_3379_; } else { -lean_object* v_reuseFailAlloc_3453_; -v_reuseFailAlloc_3453_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3453_, 0, v_a_3447_); -v___x_3452_ = v_reuseFailAlloc_3453_; -goto v_reusejp_3451_; +lean_object* v_reuseFailAlloc_3385_; +v_reuseFailAlloc_3385_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_3385_, 0, v___x_3378_); +lean_ctor_set(v_reuseFailAlloc_3385_, 1, v_cache_3366_); +lean_ctor_set(v_reuseFailAlloc_3385_, 2, v_typeCache_3368_); +lean_ctor_set(v_reuseFailAlloc_3385_, 3, v_isTypeFormerTypeCache_3369_); +lean_ctor_set(v_reuseFailAlloc_3385_, 4, v_seq_3370_); +lean_ctor_set(v_reuseFailAlloc_3385_, 5, v_toAny_3371_); +lean_ctor_set_uint8(v_reuseFailAlloc_3385_, sizeof(void*)*6, v_shouldCache_3367_); +v___x_3380_ = v_reuseFailAlloc_3385_; +goto v_reusejp_3379_; } -v_reusejp_3451_: +v_reusejp_3379_: { -return v___x_3452_; +lean_object* v___x_3381_; lean_object* v___x_3383_; +v___x_3381_ = lean_st_ref_set(v_a_3348_, v___x_3380_); +if (v_isShared_3363_ == 0) +{ +v___x_3383_ = v___x_3362_; +goto v_reusejp_3382_; +} +else +{ +lean_object* v_reuseFailAlloc_3384_; +v_reuseFailAlloc_3384_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3384_, 0, v_a_3360_); +v___x_3383_ = v_reuseFailAlloc_3384_; +goto v_reusejp_3382_; +} +v_reusejp_3382_: +{ +return v___x_3383_; +} } } } } else { -lean_object* v___x_3455_; lean_object* v___x_3456_; lean_object* v___x_3457_; -lean_dec(v_a_3435_); -lean_dec_ref(v_a_3434_); -v___x_3455_ = lean_expr_instantiate_rev(v_e_3428_, v_xs_3429_); -lean_dec_ref(v_xs_3429_); -lean_dec_ref(v_e_3428_); -v___x_3456_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3456_, 0, v_ps_3430_); -lean_ctor_set(v___x_3456_, 1, v___x_3455_); -v___x_3457_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3457_, 0, v___x_3456_); -return v___x_3457_; +lean_dec(v_a_3355_); +lean_dec_ref(v_type_3346_); +return v___x_3359_; +} +} +else +{ +lean_object* v_a_3388_; lean_object* v___x_3390_; uint8_t v_isShared_3391_; uint8_t v_isSharedCheck_3395_; +lean_dec(v_a_3355_); +lean_dec(v_a_3352_); +lean_dec_ref(v_a_3351_); +lean_dec_ref(v_type_3346_); +v_a_3388_ = lean_ctor_get(v___x_3356_, 0); +v_isSharedCheck_3395_ = !lean_is_exclusive(v___x_3356_); +if (v_isSharedCheck_3395_ == 0) +{ +v___x_3390_ = v___x_3356_; +v_isShared_3391_ = v_isSharedCheck_3395_; +goto v_resetjp_3389_; +} +else +{ +lean_inc(v_a_3388_); +lean_dec(v___x_3356_); +v___x_3390_ = lean_box(0); +v_isShared_3391_ = v_isSharedCheck_3395_; +goto v_resetjp_3389_; +} +v_resetjp_3389_: +{ +lean_object* v___x_3393_; +if (v_isShared_3391_ == 0) +{ +v___x_3393_ = v___x_3390_; +goto v_reusejp_3392_; +} +else +{ +lean_object* v_reuseFailAlloc_3394_; +v_reuseFailAlloc_3394_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3394_, 0, v_a_3388_); +v___x_3393_ = v_reuseFailAlloc_3394_; +goto v_reusejp_3392_; +} +v_reusejp_3392_: +{ +return v___x_3393_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg___boxed(lean_object* v_e_3458_, lean_object* v_xs_3459_, lean_object* v_ps_3460_, lean_object* v_a_3461_, lean_object* v_a_3462_, lean_object* v_a_3463_, lean_object* v_a_3464_, lean_object* v_a_3465_, lean_object* v_a_3466_){ +} +else +{ +lean_object* v_a_3396_; lean_object* v___x_3398_; uint8_t v_isShared_3399_; uint8_t v_isSharedCheck_3403_; +lean_dec(v_a_3352_); +lean_dec_ref(v_a_3351_); +lean_dec_ref(v_type_3346_); +v_a_3396_ = lean_ctor_get(v___x_3354_, 0); +v_isSharedCheck_3403_ = !lean_is_exclusive(v___x_3354_); +if (v_isSharedCheck_3403_ == 0) +{ +v___x_3398_ = v___x_3354_; +v_isShared_3399_ = v_isSharedCheck_3403_; +goto v_resetjp_3397_; +} +else +{ +lean_inc(v_a_3396_); +lean_dec(v___x_3354_); +v___x_3398_ = lean_box(0); +v_isShared_3399_ = v_isSharedCheck_3403_; +goto v_resetjp_3397_; +} +v_resetjp_3397_: +{ +lean_object* v___x_3401_; +if (v_isShared_3399_ == 0) +{ +v___x_3401_ = v___x_3398_; +goto v_reusejp_3400_; +} +else +{ +lean_object* v_reuseFailAlloc_3402_; +v_reuseFailAlloc_3402_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3402_, 0, v_a_3396_); +v___x_3401_ = v_reuseFailAlloc_3402_; +goto v_reusejp_3400_; +} +v_reusejp_3400_: +{ +return v___x_3401_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg___boxed(lean_object* v_binderName_3404_, lean_object* v_type_3405_, lean_object* v_borrow_3406_, lean_object* v_a_3407_, lean_object* v_a_3408_, lean_object* v_a_3409_, lean_object* v_a_3410_, lean_object* v_a_3411_, lean_object* v_a_3412_){ _start: { -lean_object* v_res_3467_; -v_res_3467_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg(v_e_3458_, v_xs_3459_, v_ps_3460_, v_a_3461_, v_a_3462_, v_a_3463_, v_a_3464_, v_a_3465_); -lean_dec(v_a_3463_); -lean_dec_ref(v_a_3462_); -lean_dec(v_a_3461_); -return v_res_3467_; +uint8_t v_borrow_boxed_3413_; lean_object* v_res_3414_; +v_borrow_boxed_3413_ = lean_unbox(v_borrow_3406_); +v_res_3414_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3404_, v_type_3405_, v_borrow_boxed_3413_, v_a_3407_, v_a_3408_, v_a_3409_, v_a_3410_, v_a_3411_); +lean_dec(v_a_3409_); +lean_dec_ref(v_a_3408_); +lean_dec(v_a_3407_); +return v_res_3414_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object* v_e_3468_, lean_object* v_xs_3469_, lean_object* v_ps_3470_, uint8_t v_a_3471_, lean_object* v_a_3472_, lean_object* v_a_3473_, lean_object* v_a_3474_, lean_object* v_a_3475_, lean_object* v_a_3476_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object* v_binderName_3415_, lean_object* v_type_3416_, uint8_t v_borrow_3417_, lean_object* v_a_3418_, lean_object* v_a_3419_, lean_object* v_a_3420_, lean_object* v_a_3421_, lean_object* v_a_3422_, lean_object* v_a_3423_){ _start: { -lean_object* v___x_3478_; -v___x_3478_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg(v_e_3468_, v_xs_3469_, v_ps_3470_, v_a_3472_, v_a_3473_, v_a_3474_, v_a_3475_, v_a_3476_); -return v___x_3478_; +lean_object* v___x_3425_; +v___x_3425_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3415_, v_type_3416_, v_borrow_3417_, v_a_3419_, v_a_3420_, v_a_3421_, v_a_3422_, v_a_3423_); +return v___x_3425_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object* v_e_3479_, lean_object* v_xs_3480_, lean_object* v_ps_3481_, lean_object* v_a_3482_, lean_object* v_a_3483_, lean_object* v_a_3484_, lean_object* v_a_3485_, lean_object* v_a_3486_, lean_object* v_a_3487_, lean_object* v_a_3488_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___boxed(lean_object* v_binderName_3426_, lean_object* v_type_3427_, lean_object* v_borrow_3428_, lean_object* v_a_3429_, lean_object* v_a_3430_, lean_object* v_a_3431_, lean_object* v_a_3432_, lean_object* v_a_3433_, lean_object* v_a_3434_, lean_object* v_a_3435_){ _start: { -uint8_t v_a_584__boxed_3489_; lean_object* v_res_3490_; -v_a_584__boxed_3489_ = lean_unbox(v_a_3482_); -v_res_3490_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(v_e_3479_, v_xs_3480_, v_ps_3481_, v_a_584__boxed_3489_, v_a_3483_, v_a_3484_, v_a_3485_, v_a_3486_, v_a_3487_); -lean_dec(v_a_3485_); -lean_dec_ref(v_a_3484_); -lean_dec(v_a_3483_); -return v_res_3490_; +uint8_t v_borrow_boxed_3436_; lean_object* v_res_3437_; +v_borrow_boxed_3436_ = lean_unbox(v_borrow_3428_); +v_res_3437_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam(v_binderName_3426_, v_type_3427_, v_borrow_boxed_3436_, v_a_3429_, v_a_3430_, v_a_3431_, v_a_3432_, v_a_3433_, v_a_3434_); +lean_dec(v_a_3432_); +lean_dec_ref(v_a_3431_); +lean_dec(v_a_3430_); +lean_dec_ref(v_a_3429_); +return v_res_3437_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(lean_object* v_e_3493_, lean_object* v_a_3494_, lean_object* v_a_3495_, lean_object* v_a_3496_, lean_object* v_a_3497_, lean_object* v_a_3498_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(lean_object* v_binderName_3440_, lean_object* v_type_3441_, lean_object* v_value_3442_, lean_object* v_type_x27_3443_, lean_object* v_arg_3444_, lean_object* v_a_3445_, lean_object* v_a_3446_, lean_object* v_a_3447_, lean_object* v_a_3448_, lean_object* v_a_3449_){ _start: { -lean_object* v___x_3500_; lean_object* v___x_3501_; -v___x_3500_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0)); -v___x_3501_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___redArg(v_e_3493_, v___x_3500_, v___x_3500_, v_a_3494_, v_a_3495_, v_a_3496_, v_a_3497_, v_a_3498_); +lean_object* v___x_3451_; +v___x_3451_ = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___redArg(v_binderName_3440_, v_a_3447_); +if (lean_obj_tag(v___x_3451_) == 0) +{ +lean_object* v_a_3452_; lean_object* v_value_x27_3454_; lean_object* v___y_3455_; lean_object* v___y_3456_; lean_object* v___y_3457_; lean_object* v___y_3458_; lean_object* v___y_3459_; +v_a_3452_ = lean_ctor_get(v___x_3451_, 0); +lean_inc(v_a_3452_); +lean_dec_ref(v___x_3451_); +if (lean_obj_tag(v_arg_3444_) == 1) +{ +lean_object* v_fvarId_3492_; lean_object* v___x_3493_; lean_object* v___x_3494_; +v_fvarId_3492_ = lean_ctor_get(v_arg_3444_, 0); +v___x_3493_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0)); +lean_inc(v_fvarId_3492_); +v___x_3494_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_3494_, 0, v_fvarId_3492_); +lean_ctor_set(v___x_3494_, 1, v___x_3493_); +v_value_x27_3454_ = v___x_3494_; +v___y_3455_ = v_a_3445_; +v___y_3456_ = v_a_3446_; +v___y_3457_ = v_a_3447_; +v___y_3458_ = v_a_3448_; +v___y_3459_ = v_a_3449_; +goto v___jp_3453_; +} +else +{ +lean_object* v___x_3495_; +v___x_3495_ = lean_box(1); +v_value_x27_3454_ = v___x_3495_; +v___y_3455_ = v_a_3445_; +v___y_3456_ = v_a_3446_; +v___y_3457_ = v_a_3447_; +v___y_3458_ = v_a_3448_; +v___y_3459_ = v_a_3449_; +goto v___jp_3453_; +} +v___jp_3453_: +{ +uint8_t v___x_3460_; lean_object* v___x_3461_; +v___x_3460_ = 0; +lean_inc(v_a_3452_); +v___x_3461_ = l_Lean_Compiler_LCNF_mkLetDecl(v___x_3460_, v_a_3452_, v_type_x27_3443_, v_value_x27_3454_, v___y_3456_, v___y_3457_, v___y_3458_, v___y_3459_); +if (lean_obj_tag(v___x_3461_) == 0) +{ +lean_object* v_a_3462_; lean_object* v___x_3464_; uint8_t v_isShared_3465_; uint8_t v_isSharedCheck_3491_; +v_a_3462_ = lean_ctor_get(v___x_3461_, 0); +v_isSharedCheck_3491_ = !lean_is_exclusive(v___x_3461_); +if (v_isSharedCheck_3491_ == 0) +{ +v___x_3464_ = v___x_3461_; +v_isShared_3465_ = v_isSharedCheck_3491_; +goto v_resetjp_3463_; +} +else +{ +lean_inc(v_a_3462_); +lean_dec(v___x_3461_); +v___x_3464_ = lean_box(0); +v_isShared_3465_ = v_isSharedCheck_3491_; +goto v_resetjp_3463_; +} +v_resetjp_3463_: +{ +lean_object* v___x_3466_; lean_object* v_lctx_3467_; lean_object* v_cache_3468_; uint8_t v_shouldCache_3469_; lean_object* v_typeCache_3470_; lean_object* v_isTypeFormerTypeCache_3471_; lean_object* v_seq_3472_; lean_object* v_toAny_3473_; lean_object* v___x_3475_; uint8_t v_isShared_3476_; uint8_t v_isSharedCheck_3490_; +v___x_3466_ = lean_st_ref_take(v___y_3455_); +v_lctx_3467_ = lean_ctor_get(v___x_3466_, 0); +v_cache_3468_ = lean_ctor_get(v___x_3466_, 1); +v_shouldCache_3469_ = lean_ctor_get_uint8(v___x_3466_, sizeof(void*)*6); +v_typeCache_3470_ = lean_ctor_get(v___x_3466_, 2); +v_isTypeFormerTypeCache_3471_ = lean_ctor_get(v___x_3466_, 3); +v_seq_3472_ = lean_ctor_get(v___x_3466_, 4); +v_toAny_3473_ = lean_ctor_get(v___x_3466_, 5); +v_isSharedCheck_3490_ = !lean_is_exclusive(v___x_3466_); +if (v_isSharedCheck_3490_ == 0) +{ +v___x_3475_ = v___x_3466_; +v_isShared_3476_ = v_isSharedCheck_3490_; +goto v_resetjp_3474_; +} +else +{ +lean_inc(v_toAny_3473_); +lean_inc(v_seq_3472_); +lean_inc(v_isTypeFormerTypeCache_3471_); +lean_inc(v_typeCache_3470_); +lean_inc(v_cache_3468_); +lean_inc(v_lctx_3467_); +lean_dec(v___x_3466_); +v___x_3475_ = lean_box(0); +v_isShared_3476_ = v_isSharedCheck_3490_; +goto v_resetjp_3474_; +} +v_resetjp_3474_: +{ +lean_object* v_fvarId_3477_; uint8_t v___x_3478_; uint8_t v___x_3479_; lean_object* v___x_3480_; lean_object* v___x_3481_; lean_object* v___x_3482_; lean_object* v___x_3484_; +v_fvarId_3477_ = lean_ctor_get(v_a_3462_, 0); +v___x_3478_ = 0; +v___x_3479_ = 0; +lean_inc(v_fvarId_3477_); +v___x_3480_ = l_Lean_LocalContext_mkLetDecl(v_lctx_3467_, v_fvarId_3477_, v_a_3452_, v_type_3441_, v_value_3442_, v___x_3478_, v___x_3479_); +lean_inc(v_a_3462_); +v___x_3481_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v___x_3481_, 0, v_a_3462_); +v___x_3482_ = lean_array_push(v_seq_3472_, v___x_3481_); +if (v_isShared_3476_ == 0) +{ +lean_ctor_set(v___x_3475_, 4, v___x_3482_); +lean_ctor_set(v___x_3475_, 0, v___x_3480_); +v___x_3484_ = v___x_3475_; +goto v_reusejp_3483_; +} +else +{ +lean_object* v_reuseFailAlloc_3489_; +v_reuseFailAlloc_3489_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_3489_, 0, v___x_3480_); +lean_ctor_set(v_reuseFailAlloc_3489_, 1, v_cache_3468_); +lean_ctor_set(v_reuseFailAlloc_3489_, 2, v_typeCache_3470_); +lean_ctor_set(v_reuseFailAlloc_3489_, 3, v_isTypeFormerTypeCache_3471_); +lean_ctor_set(v_reuseFailAlloc_3489_, 4, v___x_3482_); +lean_ctor_set(v_reuseFailAlloc_3489_, 5, v_toAny_3473_); +lean_ctor_set_uint8(v_reuseFailAlloc_3489_, sizeof(void*)*6, v_shouldCache_3469_); +v___x_3484_ = v_reuseFailAlloc_3489_; +goto v_reusejp_3483_; +} +v_reusejp_3483_: +{ +lean_object* v___x_3485_; lean_object* v___x_3487_; +v___x_3485_ = lean_st_ref_set(v___y_3455_, v___x_3484_); +if (v_isShared_3465_ == 0) +{ +v___x_3487_ = v___x_3464_; +goto v_reusejp_3486_; +} +else +{ +lean_object* v_reuseFailAlloc_3488_; +v_reuseFailAlloc_3488_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3488_, 0, v_a_3462_); +v___x_3487_ = v_reuseFailAlloc_3488_; +goto v_reusejp_3486_; +} +v_reusejp_3486_: +{ +return v___x_3487_; +} +} +} +} +} +else +{ +lean_dec(v_a_3452_); +lean_dec_ref(v_value_3442_); +lean_dec_ref(v_type_3441_); +return v___x_3461_; +} +} +} +else +{ +lean_object* v_a_3496_; lean_object* v___x_3498_; uint8_t v_isShared_3499_; uint8_t v_isSharedCheck_3503_; +lean_dec_ref(v_type_x27_3443_); +lean_dec_ref(v_value_3442_); +lean_dec_ref(v_type_3441_); +v_a_3496_ = lean_ctor_get(v___x_3451_, 0); +v_isSharedCheck_3503_ = !lean_is_exclusive(v___x_3451_); +if (v_isSharedCheck_3503_ == 0) +{ +v___x_3498_ = v___x_3451_; +v_isShared_3499_ = v_isSharedCheck_3503_; +goto v_resetjp_3497_; +} +else +{ +lean_inc(v_a_3496_); +lean_dec(v___x_3451_); +v___x_3498_ = lean_box(0); +v_isShared_3499_ = v_isSharedCheck_3503_; +goto v_resetjp_3497_; +} +v_resetjp_3497_: +{ +lean_object* v___x_3501_; +if (v_isShared_3499_ == 0) +{ +v___x_3501_ = v___x_3498_; +goto v_reusejp_3500_; +} +else +{ +lean_object* v_reuseFailAlloc_3502_; +v_reuseFailAlloc_3502_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3502_, 0, v_a_3496_); +v___x_3501_ = v_reuseFailAlloc_3502_; +goto v_reusejp_3500_; +} +v_reusejp_3500_: +{ return v___x_3501_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___boxed(lean_object* v_e_3502_, lean_object* v_a_3503_, lean_object* v_a_3504_, lean_object* v_a_3505_, lean_object* v_a_3506_, lean_object* v_a_3507_, lean_object* v_a_3508_){ +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___boxed(lean_object* v_binderName_3504_, lean_object* v_type_3505_, lean_object* v_value_3506_, lean_object* v_type_x27_3507_, lean_object* v_arg_3508_, lean_object* v_a_3509_, lean_object* v_a_3510_, lean_object* v_a_3511_, lean_object* v_a_3512_, lean_object* v_a_3513_, lean_object* v_a_3514_){ _start: { -lean_object* v_res_3509_; -v_res_3509_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(v_e_3502_, v_a_3503_, v_a_3504_, v_a_3505_, v_a_3506_, v_a_3507_); -lean_dec(v_a_3505_); -lean_dec_ref(v_a_3504_); -lean_dec(v_a_3503_); -return v_res_3509_; +lean_object* v_res_3515_; +v_res_3515_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_binderName_3504_, v_type_3505_, v_value_3506_, v_type_x27_3507_, v_arg_3508_, v_a_3509_, v_a_3510_, v_a_3511_, v_a_3512_, v_a_3513_); +lean_dec(v_a_3513_); +lean_dec_ref(v_a_3512_); +lean_dec(v_a_3511_); +lean_dec_ref(v_a_3510_); +lean_dec(v_a_3509_); +lean_dec(v_arg_3508_); +return v_res_3515_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object* v_e_3510_, uint8_t v_a_3511_, lean_object* v_a_3512_, lean_object* v_a_3513_, lean_object* v_a_3514_, lean_object* v_a_3515_, lean_object* v_a_3516_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object* v_binderName_3516_, lean_object* v_type_3517_, lean_object* v_value_3518_, lean_object* v_type_x27_3519_, lean_object* v_arg_3520_, lean_object* v_a_3521_, lean_object* v_a_3522_, lean_object* v_a_3523_, lean_object* v_a_3524_, lean_object* v_a_3525_, lean_object* v_a_3526_){ _start: { -lean_object* v___x_3518_; -v___x_3518_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(v_e_3510_, v_a_3512_, v_a_3513_, v_a_3514_, v_a_3515_, v_a_3516_); -return v___x_3518_; +lean_object* v___x_3528_; +v___x_3528_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_binderName_3516_, v_type_3517_, v_value_3518_, v_type_x27_3519_, v_arg_3520_, v_a_3522_, v_a_3523_, v_a_3524_, v_a_3525_, v_a_3526_); +return v___x_3528_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed(lean_object* v_e_3519_, lean_object* v_a_3520_, lean_object* v_a_3521_, lean_object* v_a_3522_, lean_object* v_a_3523_, lean_object* v_a_3524_, lean_object* v_a_3525_, lean_object* v_a_3526_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___boxed(lean_object* v_binderName_3529_, lean_object* v_type_3530_, lean_object* v_value_3531_, lean_object* v_type_x27_3532_, lean_object* v_arg_3533_, lean_object* v_a_3534_, lean_object* v_a_3535_, lean_object* v_a_3536_, lean_object* v_a_3537_, lean_object* v_a_3538_, lean_object* v_a_3539_, lean_object* v_a_3540_){ _start: { -uint8_t v_a_54__boxed_3527_; lean_object* v_res_3528_; -v_a_54__boxed_3527_ = lean_unbox(v_a_3520_); -v_res_3528_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(v_e_3519_, v_a_54__boxed_3527_, v_a_3521_, v_a_3522_, v_a_3523_, v_a_3524_, v_a_3525_); -lean_dec(v_a_3523_); -lean_dec_ref(v_a_3522_); -lean_dec(v_a_3521_); -return v_res_3528_; +lean_object* v_res_3541_; +v_res_3541_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(v_binderName_3529_, v_type_3530_, v_value_3531_, v_type_x27_3532_, v_arg_3533_, v_a_3534_, v_a_3535_, v_a_3536_, v_a_3537_, v_a_3538_, v_a_3539_); +lean_dec(v_a_3539_); +lean_dec_ref(v_a_3538_); +lean_dec(v_a_3537_); +lean_dec_ref(v_a_3536_); +lean_dec(v_a_3535_); +lean_dec_ref(v_a_3534_); +lean_dec(v_arg_3533_); +return v_res_3541_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(lean_object* v_e_3529_, lean_object* v_n_3530_, lean_object* v_xs_3531_, lean_object* v_ps_3532_, lean_object* v_a_3533_, lean_object* v_a_3534_, lean_object* v_a_3535_, lean_object* v_a_3536_, lean_object* v_a_3537_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object* v_e_3542_, lean_object* v_xs_3543_, lean_object* v_ps_3544_, lean_object* v_eType_x3f_3545_, lean_object* v_a_3546_, lean_object* v_a_3547_, lean_object* v_a_3548_, lean_object* v_a_3549_, lean_object* v_a_3550_, lean_object* v_a_3551_){ _start: { -lean_object* v___x_3539_; uint8_t v___x_3540_; -v___x_3539_ = lean_unsigned_to_nat(0u); -v___x_3540_ = lean_nat_dec_eq(v_n_3530_, v___x_3539_); -if (v___x_3540_ == 0) +if (lean_obj_tag(v_e_3542_) == 6) { -if (lean_obj_tag(v_e_3529_) == 6) +lean_object* v_binderName_3553_; lean_object* v_binderType_3554_; lean_object* v_body_3555_; lean_object* v_type_3556_; lean_object* v___y_3558_; lean_object* v___y_3559_; lean_object* v___y_3560_; lean_object* v___y_3561_; lean_object* v___y_3562_; lean_object* v___y_3563_; +v_binderName_3553_ = lean_ctor_get(v_e_3542_, 0); +lean_inc(v_binderName_3553_); +v_binderType_3554_ = lean_ctor_get(v_e_3542_, 1); +lean_inc_ref(v_binderType_3554_); +v_body_3555_ = lean_ctor_get(v_e_3542_, 2); +lean_inc_ref(v_body_3555_); +lean_dec_ref(v_e_3542_); +v_type_3556_ = lean_expr_instantiate_rev(v_binderType_3554_, v_xs_3543_); +lean_dec_ref(v_binderType_3554_); +if (lean_obj_tag(v_eType_x3f_3545_) == 1) { -lean_object* v_binderName_3541_; lean_object* v_binderType_3542_; lean_object* v_body_3543_; lean_object* v_type_3544_; lean_object* v___x_3545_; -v_binderName_3541_ = lean_ctor_get(v_e_3529_, 0); -lean_inc(v_binderName_3541_); -v_binderType_3542_ = lean_ctor_get(v_e_3529_, 1); -lean_inc_ref(v_binderType_3542_); -v_body_3543_ = lean_ctor_get(v_e_3529_, 2); -lean_inc_ref(v_body_3543_); -lean_dec_ref(v_e_3529_); -v_type_3544_ = lean_expr_instantiate_rev(v_binderType_3542_, v_xs_3531_); -lean_dec_ref(v_binderType_3542_); -lean_inc(v_a_3537_); -lean_inc_ref(v_a_3536_); -v___x_3545_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3541_, v_type_3544_, v_a_3533_, v_a_3534_, v_a_3535_, v_a_3536_, v_a_3537_); -if (lean_obj_tag(v___x_3545_) == 0) +lean_object* v_val_3580_; lean_object* v___x_3582_; uint8_t v_isShared_3583_; uint8_t v_isSharedCheck_3607_; +v_val_3580_ = lean_ctor_get(v_eType_x3f_3545_, 0); +v_isSharedCheck_3607_ = !lean_is_exclusive(v_eType_x3f_3545_); +if (v_isSharedCheck_3607_ == 0) { -lean_object* v_a_3546_; lean_object* v___x_3547_; lean_object* v___x_3548_; lean_object* v___x_3549_; lean_object* v___x_3550_; lean_object* v___x_3551_; -v_a_3546_ = lean_ctor_get(v___x_3545_, 0); -lean_inc(v_a_3546_); -lean_dec_ref(v___x_3545_); -v___x_3547_ = lean_unsigned_to_nat(1u); -v___x_3548_ = lean_nat_sub(v_n_3530_, v___x_3547_); -lean_dec(v_n_3530_); -lean_inc(v_a_3546_); -v___x_3549_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_a_3546_); -v___x_3550_ = lean_array_push(v_xs_3531_, v___x_3549_); -v___x_3551_ = lean_array_push(v_ps_3532_, v_a_3546_); -v_e_3529_ = v_body_3543_; -v_n_3530_ = v___x_3548_; -v_xs_3531_ = v___x_3550_; -v_ps_3532_ = v___x_3551_; +v___x_3582_ = v_eType_x3f_3545_; +v_isShared_3583_ = v_isSharedCheck_3607_; +goto v_resetjp_3581_; +} +else +{ +lean_inc(v_val_3580_); +lean_dec(v_eType_x3f_3545_); +v___x_3582_ = lean_box(0); +v_isShared_3583_ = v_isSharedCheck_3607_; +goto v_resetjp_3581_; +} +v_resetjp_3581_: +{ +if (lean_obj_tag(v_val_3580_) == 7) +{ +lean_object* v_binderType_3584_; lean_object* v_body_3585_; uint8_t v___y_3587_; uint8_t v___x_3605_; +v_binderType_3584_ = lean_ctor_get(v_val_3580_, 1); +lean_inc_ref(v_binderType_3584_); +v_body_3585_ = lean_ctor_get(v_val_3580_, 2); +lean_inc_ref(v_body_3585_); +lean_dec_ref(v_val_3580_); +v___x_3605_ = l_Lean_isMarkedBorrowed(v_type_3556_); +if (v___x_3605_ == 0) +{ +uint8_t v___x_3606_; +v___x_3606_ = l_Lean_isMarkedBorrowed(v_binderType_3584_); +lean_dec_ref(v_binderType_3584_); +v___y_3587_ = v___x_3606_; +goto v___jp_3586_; +} +else +{ +lean_dec_ref(v_binderType_3584_); +v___y_3587_ = v___x_3605_; +goto v___jp_3586_; +} +v___jp_3586_: +{ +lean_object* v___x_3588_; +lean_inc(v_a_3551_); +lean_inc_ref(v_a_3550_); +v___x_3588_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3553_, v_type_3556_, v___y_3587_, v_a_3547_, v_a_3548_, v_a_3549_, v_a_3550_, v_a_3551_); +if (lean_obj_tag(v___x_3588_) == 0) +{ +lean_object* v_a_3589_; lean_object* v___x_3590_; lean_object* v___x_3591_; lean_object* v___x_3592_; lean_object* v___x_3594_; +v_a_3589_ = lean_ctor_get(v___x_3588_, 0); +lean_inc(v_a_3589_); +lean_dec_ref(v___x_3588_); +lean_inc(v_a_3589_); +v___x_3590_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_a_3589_); +v___x_3591_ = lean_array_push(v_xs_3543_, v___x_3590_); +v___x_3592_ = lean_array_push(v_ps_3544_, v_a_3589_); +if (v_isShared_3583_ == 0) +{ +lean_ctor_set(v___x_3582_, 0, v_body_3585_); +v___x_3594_ = v___x_3582_; +goto v_reusejp_3593_; +} +else +{ +lean_object* v_reuseFailAlloc_3596_; +v_reuseFailAlloc_3596_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3596_, 0, v_body_3585_); +v___x_3594_ = v_reuseFailAlloc_3596_; +goto v_reusejp_3593_; +} +v_reusejp_3593_: +{ +v_e_3542_ = v_body_3555_; +v_xs_3543_ = v___x_3591_; +v_ps_3544_ = v___x_3592_; +v_eType_x3f_3545_ = v___x_3594_; +goto _start; +} +} +else +{ +lean_object* v_a_3597_; lean_object* v___x_3599_; uint8_t v_isShared_3600_; uint8_t v_isSharedCheck_3604_; +lean_dec_ref(v_body_3585_); +lean_del_object(v___x_3582_); +lean_dec_ref(v_body_3555_); +lean_dec(v_a_3551_); +lean_dec_ref(v_a_3550_); +lean_dec_ref(v_ps_3544_); +lean_dec_ref(v_xs_3543_); +v_a_3597_ = lean_ctor_get(v___x_3588_, 0); +v_isSharedCheck_3604_ = !lean_is_exclusive(v___x_3588_); +if (v_isSharedCheck_3604_ == 0) +{ +v___x_3599_ = v___x_3588_; +v_isShared_3600_ = v_isSharedCheck_3604_; +goto v_resetjp_3598_; +} +else +{ +lean_inc(v_a_3597_); +lean_dec(v___x_3588_); +v___x_3599_ = lean_box(0); +v_isShared_3600_ = v_isSharedCheck_3604_; +goto v_resetjp_3598_; +} +v_resetjp_3598_: +{ +lean_object* v___x_3602_; +if (v_isShared_3600_ == 0) +{ +v___x_3602_ = v___x_3599_; +goto v_reusejp_3601_; +} +else +{ +lean_object* v_reuseFailAlloc_3603_; +v_reuseFailAlloc_3603_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3603_, 0, v_a_3597_); +v___x_3602_ = v_reuseFailAlloc_3603_; +goto v_reusejp_3601_; +} +v_reusejp_3601_: +{ +return v___x_3602_; +} +} +} +} +} +else +{ +lean_del_object(v___x_3582_); +lean_dec(v_val_3580_); +v___y_3558_ = v_a_3546_; +v___y_3559_ = v_a_3547_; +v___y_3560_ = v_a_3548_; +v___y_3561_ = v_a_3549_; +v___y_3562_ = v_a_3550_; +v___y_3563_ = v_a_3551_; +goto v___jp_3557_; +} +} +} +else +{ +lean_dec(v_eType_x3f_3545_); +v___y_3558_ = v_a_3546_; +v___y_3559_ = v_a_3547_; +v___y_3560_ = v_a_3548_; +v___y_3561_ = v_a_3549_; +v___y_3562_ = v_a_3550_; +v___y_3563_ = v_a_3551_; +goto v___jp_3557_; +} +v___jp_3557_: +{ +uint8_t v___x_3564_; lean_object* v___x_3565_; +v___x_3564_ = l_Lean_isMarkedBorrowed(v_type_3556_); +lean_inc(v___y_3563_); +lean_inc_ref(v___y_3562_); +v___x_3565_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3553_, v_type_3556_, v___x_3564_, v___y_3559_, v___y_3560_, v___y_3561_, v___y_3562_, v___y_3563_); +if (lean_obj_tag(v___x_3565_) == 0) +{ +lean_object* v_a_3566_; lean_object* v___x_3567_; lean_object* v___x_3568_; lean_object* v___x_3569_; lean_object* v___x_3570_; +v_a_3566_ = lean_ctor_get(v___x_3565_, 0); +lean_inc(v_a_3566_); +lean_dec_ref(v___x_3565_); +lean_inc(v_a_3566_); +v___x_3567_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_a_3566_); +v___x_3568_ = lean_array_push(v_xs_3543_, v___x_3567_); +v___x_3569_ = lean_array_push(v_ps_3544_, v_a_3566_); +v___x_3570_ = lean_box(0); +v_e_3542_ = v_body_3555_; +v_xs_3543_ = v___x_3568_; +v_ps_3544_ = v___x_3569_; +v_eType_x3f_3545_ = v___x_3570_; +v_a_3546_ = v___y_3558_; +v_a_3547_ = v___y_3559_; +v_a_3548_ = v___y_3560_; +v_a_3549_ = v___y_3561_; +v_a_3550_ = v___y_3562_; +v_a_3551_ = v___y_3563_; goto _start; } else { -lean_object* v_a_3553_; lean_object* v___x_3555_; uint8_t v_isShared_3556_; uint8_t v_isSharedCheck_3560_; -lean_dec_ref(v_body_3543_); -lean_dec(v_a_3537_); -lean_dec_ref(v_a_3536_); -lean_dec_ref(v_ps_3532_); -lean_dec_ref(v_xs_3531_); -lean_dec(v_n_3530_); -v_a_3553_ = lean_ctor_get(v___x_3545_, 0); -v_isSharedCheck_3560_ = !lean_is_exclusive(v___x_3545_); -if (v_isSharedCheck_3560_ == 0) +lean_object* v_a_3572_; lean_object* v___x_3574_; uint8_t v_isShared_3575_; uint8_t v_isSharedCheck_3579_; +lean_dec(v___y_3563_); +lean_dec_ref(v___y_3562_); +lean_dec_ref(v_body_3555_); +lean_dec_ref(v_ps_3544_); +lean_dec_ref(v_xs_3543_); +v_a_3572_ = lean_ctor_get(v___x_3565_, 0); +v_isSharedCheck_3579_ = !lean_is_exclusive(v___x_3565_); +if (v_isSharedCheck_3579_ == 0) { -v___x_3555_ = v___x_3545_; -v_isShared_3556_ = v_isSharedCheck_3560_; -goto v_resetjp_3554_; +v___x_3574_ = v___x_3565_; +v_isShared_3575_ = v_isSharedCheck_3579_; +goto v_resetjp_3573_; } else { -lean_inc(v_a_3553_); -lean_dec(v___x_3545_); -v___x_3555_ = lean_box(0); -v_isShared_3556_ = v_isSharedCheck_3560_; -goto v_resetjp_3554_; +lean_inc(v_a_3572_); +lean_dec(v___x_3565_); +v___x_3574_ = lean_box(0); +v_isShared_3575_ = v_isSharedCheck_3579_; +goto v_resetjp_3573_; } -v_resetjp_3554_: +v_resetjp_3573_: { -lean_object* v___x_3558_; -if (v_isShared_3556_ == 0) +lean_object* v___x_3577_; +if (v_isShared_3575_ == 0) { -v___x_3558_ = v___x_3555_; -goto v_reusejp_3557_; +v___x_3577_ = v___x_3574_; +goto v_reusejp_3576_; } else { -lean_object* v_reuseFailAlloc_3559_; -v_reuseFailAlloc_3559_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3559_, 0, v_a_3553_); -v___x_3558_ = v_reuseFailAlloc_3559_; -goto v_reusejp_3557_; +lean_object* v_reuseFailAlloc_3578_; +v_reuseFailAlloc_3578_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3578_, 0, v_a_3572_); +v___x_3577_ = v_reuseFailAlloc_3578_; +goto v_reusejp_3576_; } -v_reusejp_3557_: +v_reusejp_3576_: { -return v___x_3558_; +return v___x_3577_; +} } } } } else { -lean_object* v___x_3561_; lean_object* v___x_3562_; lean_object* v___x_3563_; -lean_dec(v_a_3537_); -lean_dec_ref(v_a_3536_); -lean_dec(v_n_3530_); -v___x_3561_ = lean_expr_instantiate_rev(v_e_3529_, v_xs_3531_); -lean_dec_ref(v_xs_3531_); -lean_dec_ref(v_e_3529_); -v___x_3562_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3562_, 0, v_ps_3532_); -lean_ctor_set(v___x_3562_, 1, v___x_3561_); -v___x_3563_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3563_, 0, v___x_3562_); -return v___x_3563_; +lean_object* v___x_3608_; lean_object* v___y_3610_; +lean_dec(v_a_3551_); +lean_dec_ref(v_a_3550_); +v___x_3608_ = lean_expr_instantiate_rev(v_e_3542_, v_xs_3543_); +lean_dec_ref(v_e_3542_); +if (lean_obj_tag(v_eType_x3f_3545_) == 0) +{ +lean_dec_ref(v_xs_3543_); +v___y_3610_ = v_eType_x3f_3545_; +goto v___jp_3609_; +} +else +{ +lean_object* v_val_3614_; lean_object* v___x_3616_; uint8_t v_isShared_3617_; uint8_t v_isSharedCheck_3622_; +v_val_3614_ = lean_ctor_get(v_eType_x3f_3545_, 0); +v_isSharedCheck_3622_ = !lean_is_exclusive(v_eType_x3f_3545_); +if (v_isSharedCheck_3622_ == 0) +{ +v___x_3616_ = v_eType_x3f_3545_; +v_isShared_3617_ = v_isSharedCheck_3622_; +goto v_resetjp_3615_; +} +else +{ +lean_inc(v_val_3614_); +lean_dec(v_eType_x3f_3545_); +v___x_3616_ = lean_box(0); +v_isShared_3617_ = v_isSharedCheck_3622_; +goto v_resetjp_3615_; +} +v_resetjp_3615_: +{ +lean_object* v___x_3618_; lean_object* v___x_3620_; +v___x_3618_ = lean_expr_instantiate_rev(v_val_3614_, v_xs_3543_); +lean_dec_ref(v_xs_3543_); +lean_dec(v_val_3614_); +if (v_isShared_3617_ == 0) +{ +lean_ctor_set(v___x_3616_, 0, v___x_3618_); +v___x_3620_ = v___x_3616_; +goto v_reusejp_3619_; +} +else +{ +lean_object* v_reuseFailAlloc_3621_; +v_reuseFailAlloc_3621_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3621_, 0, v___x_3618_); +v___x_3620_ = v_reuseFailAlloc_3621_; +goto v_reusejp_3619_; +} +v_reusejp_3619_: +{ +v___y_3610_ = v___x_3620_; +goto v___jp_3609_; +} +} +} +v___jp_3609_: +{ +lean_object* v___x_3611_; lean_object* v___x_3612_; lean_object* v___x_3613_; +v___x_3611_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3611_, 0, v___x_3608_); +lean_ctor_set(v___x_3611_, 1, v___y_3610_); +v___x_3612_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3612_, 0, v_ps_3544_); +lean_ctor_set(v___x_3612_, 1, v___x_3611_); +v___x_3613_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3613_, 0, v___x_3612_); +return v___x_3613_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object* v_e_3623_, lean_object* v_xs_3624_, lean_object* v_ps_3625_, lean_object* v_eType_x3f_3626_, lean_object* v_a_3627_, lean_object* v_a_3628_, lean_object* v_a_3629_, lean_object* v_a_3630_, lean_object* v_a_3631_, lean_object* v_a_3632_, lean_object* v_a_3633_){ +_start: +{ +lean_object* v_res_3634_; +v_res_3634_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(v_e_3623_, v_xs_3624_, v_ps_3625_, v_eType_x3f_3626_, v_a_3627_, v_a_3628_, v_a_3629_, v_a_3630_, v_a_3631_, v_a_3632_); +lean_dec(v_a_3630_); +lean_dec_ref(v_a_3629_); +lean_dec(v_a_3628_); +lean_dec_ref(v_a_3627_); +return v_res_3634_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object* v_e_3637_, lean_object* v_a_3638_, lean_object* v_a_3639_, lean_object* v_a_3640_, lean_object* v_a_3641_, lean_object* v_a_3642_, lean_object* v_a_3643_){ +_start: +{ +lean_object* v_expectedType_3645_; lean_object* v___x_3646_; lean_object* v___x_3647_; +v_expectedType_3645_ = lean_ctor_get(v_a_3638_, 0); +lean_inc(v_expectedType_3645_); +v___x_3646_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0)); +v___x_3647_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitLambda_go(v_e_3637_, v___x_3646_, v___x_3646_, v_expectedType_3645_, v_a_3638_, v_a_3639_, v_a_3640_, v_a_3641_, v_a_3642_, v_a_3643_); +lean_dec_ref(v_a_3638_); +return v___x_3647_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed(lean_object* v_e_3648_, lean_object* v_a_3649_, lean_object* v_a_3650_, lean_object* v_a_3651_, lean_object* v_a_3652_, lean_object* v_a_3653_, lean_object* v_a_3654_, lean_object* v_a_3655_){ +_start: +{ +lean_object* v_res_3656_; +v_res_3656_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(v_e_3648_, v_a_3649_, v_a_3650_, v_a_3651_, v_a_3652_, v_a_3653_, v_a_3654_); +lean_dec(v_a_3652_); +lean_dec_ref(v_a_3651_); +lean_dec(v_a_3650_); +return v_res_3656_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(lean_object* v_e_3657_, lean_object* v_n_3658_, lean_object* v_xs_3659_, lean_object* v_ps_3660_, lean_object* v_a_3661_, lean_object* v_a_3662_, lean_object* v_a_3663_, lean_object* v_a_3664_, lean_object* v_a_3665_){ +_start: +{ +lean_object* v___x_3667_; uint8_t v___x_3668_; +v___x_3667_ = lean_unsigned_to_nat(0u); +v___x_3668_ = lean_nat_dec_eq(v_n_3658_, v___x_3667_); +if (v___x_3668_ == 0) +{ +if (lean_obj_tag(v_e_3657_) == 6) +{ +lean_object* v_binderName_3669_; lean_object* v_binderType_3670_; lean_object* v_body_3671_; lean_object* v_type_3672_; uint8_t v___x_3673_; lean_object* v___x_3674_; +v_binderName_3669_ = lean_ctor_get(v_e_3657_, 0); +lean_inc(v_binderName_3669_); +v_binderType_3670_ = lean_ctor_get(v_e_3657_, 1); +lean_inc_ref(v_binderType_3670_); +v_body_3671_ = lean_ctor_get(v_e_3657_, 2); +lean_inc_ref(v_body_3671_); +lean_dec_ref(v_e_3657_); +v_type_3672_ = lean_expr_instantiate_rev(v_binderType_3670_, v_xs_3659_); +lean_dec_ref(v_binderType_3670_); +v___x_3673_ = l_Lean_isMarkedBorrowed(v_type_3672_); +lean_inc(v_a_3665_); +lean_inc_ref(v_a_3664_); +v___x_3674_ = l_Lean_Compiler_LCNF_ToLCNF_mkParam___redArg(v_binderName_3669_, v_type_3672_, v___x_3673_, v_a_3661_, v_a_3662_, v_a_3663_, v_a_3664_, v_a_3665_); +if (lean_obj_tag(v___x_3674_) == 0) +{ +lean_object* v_a_3675_; lean_object* v___x_3676_; lean_object* v___x_3677_; lean_object* v___x_3678_; lean_object* v___x_3679_; lean_object* v___x_3680_; +v_a_3675_ = lean_ctor_get(v___x_3674_, 0); +lean_inc(v_a_3675_); +lean_dec_ref(v___x_3674_); +v___x_3676_ = lean_unsigned_to_nat(1u); +v___x_3677_ = lean_nat_sub(v_n_3658_, v___x_3676_); +lean_dec(v_n_3658_); +lean_inc(v_a_3675_); +v___x_3678_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_a_3675_); +v___x_3679_ = lean_array_push(v_xs_3659_, v___x_3678_); +v___x_3680_ = lean_array_push(v_ps_3660_, v_a_3675_); +v_e_3657_ = v_body_3671_; +v_n_3658_ = v___x_3677_; +v_xs_3659_ = v___x_3679_; +v_ps_3660_ = v___x_3680_; +goto _start; +} +else +{ +lean_object* v_a_3682_; lean_object* v___x_3684_; uint8_t v_isShared_3685_; uint8_t v_isSharedCheck_3689_; +lean_dec_ref(v_body_3671_); +lean_dec(v_a_3665_); +lean_dec_ref(v_a_3664_); +lean_dec_ref(v_ps_3660_); +lean_dec_ref(v_xs_3659_); +lean_dec(v_n_3658_); +v_a_3682_ = lean_ctor_get(v___x_3674_, 0); +v_isSharedCheck_3689_ = !lean_is_exclusive(v___x_3674_); +if (v_isSharedCheck_3689_ == 0) +{ +v___x_3684_ = v___x_3674_; +v_isShared_3685_ = v_isSharedCheck_3689_; +goto v_resetjp_3683_; +} +else +{ +lean_inc(v_a_3682_); +lean_dec(v___x_3674_); +v___x_3684_ = lean_box(0); +v_isShared_3685_ = v_isSharedCheck_3689_; +goto v_resetjp_3683_; +} +v_resetjp_3683_: +{ +lean_object* v___x_3687_; +if (v_isShared_3685_ == 0) +{ +v___x_3687_ = v___x_3684_; +goto v_reusejp_3686_; +} +else +{ +lean_object* v_reuseFailAlloc_3688_; +v_reuseFailAlloc_3688_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3688_, 0, v_a_3682_); +v___x_3687_ = v_reuseFailAlloc_3688_; +goto v_reusejp_3686_; +} +v_reusejp_3686_: +{ +return v___x_3687_; +} +} } } else { -lean_object* v___x_3564_; lean_object* v___x_3565_; lean_object* v___x_3566_; -lean_dec(v_a_3537_); -lean_dec_ref(v_a_3536_); -lean_dec(v_n_3530_); -v___x_3564_ = lean_expr_instantiate_rev(v_e_3529_, v_xs_3531_); -lean_dec_ref(v_xs_3531_); -lean_dec_ref(v_e_3529_); -v___x_3565_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3565_, 0, v_ps_3532_); -lean_ctor_set(v___x_3565_, 1, v___x_3564_); -v___x_3566_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3566_, 0, v___x_3565_); -return v___x_3566_; +lean_object* v___x_3690_; lean_object* v___x_3691_; lean_object* v___x_3692_; +lean_dec(v_a_3665_); +lean_dec_ref(v_a_3664_); +lean_dec(v_n_3658_); +v___x_3690_ = lean_expr_instantiate_rev(v_e_3657_, v_xs_3659_); +lean_dec_ref(v_xs_3659_); +lean_dec_ref(v_e_3657_); +v___x_3691_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3691_, 0, v_ps_3660_); +lean_ctor_set(v___x_3691_, 1, v___x_3690_); +v___x_3692_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3692_, 0, v___x_3691_); +return v___x_3692_; +} +} +else +{ +lean_object* v___x_3693_; lean_object* v___x_3694_; lean_object* v___x_3695_; +lean_dec(v_a_3665_); +lean_dec_ref(v_a_3664_); +lean_dec(v_n_3658_); +v___x_3693_ = lean_expr_instantiate_rev(v_e_3657_, v_xs_3659_); +lean_dec_ref(v_xs_3659_); +lean_dec_ref(v_e_3657_); +v___x_3694_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_3694_, 0, v_ps_3660_); +lean_ctor_set(v___x_3694_, 1, v___x_3693_); +v___x_3695_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3695_, 0, v___x_3694_); +return v___x_3695_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg___boxed(lean_object* v_e_3567_, lean_object* v_n_3568_, lean_object* v_xs_3569_, lean_object* v_ps_3570_, lean_object* v_a_3571_, lean_object* v_a_3572_, lean_object* v_a_3573_, lean_object* v_a_3574_, lean_object* v_a_3575_, lean_object* v_a_3576_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg___boxed(lean_object* v_e_3696_, lean_object* v_n_3697_, lean_object* v_xs_3698_, lean_object* v_ps_3699_, lean_object* v_a_3700_, lean_object* v_a_3701_, lean_object* v_a_3702_, lean_object* v_a_3703_, lean_object* v_a_3704_, lean_object* v_a_3705_){ _start: { -lean_object* v_res_3577_; -v_res_3577_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3567_, v_n_3568_, v_xs_3569_, v_ps_3570_, v_a_3571_, v_a_3572_, v_a_3573_, v_a_3574_, v_a_3575_); -lean_dec(v_a_3573_); -lean_dec_ref(v_a_3572_); -lean_dec(v_a_3571_); -return v_res_3577_; +lean_object* v_res_3706_; +v_res_3706_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3696_, v_n_3697_, v_xs_3698_, v_ps_3699_, v_a_3700_, v_a_3701_, v_a_3702_, v_a_3703_, v_a_3704_); +lean_dec(v_a_3702_); +lean_dec_ref(v_a_3701_); +lean_dec(v_a_3700_); +return v_res_3706_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object* v_e_3578_, lean_object* v_n_3579_, lean_object* v_xs_3580_, lean_object* v_ps_3581_, uint8_t v_a_3582_, lean_object* v_a_3583_, lean_object* v_a_3584_, lean_object* v_a_3585_, lean_object* v_a_3586_, lean_object* v_a_3587_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object* v_e_3707_, lean_object* v_n_3708_, lean_object* v_xs_3709_, lean_object* v_ps_3710_, lean_object* v_a_3711_, lean_object* v_a_3712_, lean_object* v_a_3713_, lean_object* v_a_3714_, lean_object* v_a_3715_, lean_object* v_a_3716_){ _start: { -lean_object* v___x_3589_; -v___x_3589_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3578_, v_n_3579_, v_xs_3580_, v_ps_3581_, v_a_3583_, v_a_3584_, v_a_3585_, v_a_3586_, v_a_3587_); -return v___x_3589_; +lean_object* v___x_3718_; +v___x_3718_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3707_, v_n_3708_, v_xs_3709_, v_ps_3710_, v_a_3712_, v_a_3713_, v_a_3714_, v_a_3715_, v_a_3716_); +return v___x_3718_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___boxed(lean_object* v_e_3590_, lean_object* v_n_3591_, lean_object* v_xs_3592_, lean_object* v_ps_3593_, lean_object* v_a_3594_, lean_object* v_a_3595_, lean_object* v_a_3596_, lean_object* v_a_3597_, lean_object* v_a_3598_, lean_object* v_a_3599_, lean_object* v_a_3600_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___boxed(lean_object* v_e_3719_, lean_object* v_n_3720_, lean_object* v_xs_3721_, lean_object* v_ps_3722_, lean_object* v_a_3723_, lean_object* v_a_3724_, lean_object* v_a_3725_, lean_object* v_a_3726_, lean_object* v_a_3727_, lean_object* v_a_3728_, lean_object* v_a_3729_){ _start: { -uint8_t v_a_903__boxed_3601_; lean_object* v_res_3602_; -v_a_903__boxed_3601_ = lean_unbox(v_a_3594_); -v_res_3602_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(v_e_3590_, v_n_3591_, v_xs_3592_, v_ps_3593_, v_a_903__boxed_3601_, v_a_3595_, v_a_3596_, v_a_3597_, v_a_3598_, v_a_3599_); -lean_dec(v_a_3597_); -lean_dec_ref(v_a_3596_); -lean_dec(v_a_3595_); -return v_res_3602_; +lean_object* v_res_3730_; +v_res_3730_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(v_e_3719_, v_n_3720_, v_xs_3721_, v_ps_3722_, v_a_3723_, v_a_3724_, v_a_3725_, v_a_3726_, v_a_3727_, v_a_3728_); +lean_dec(v_a_3726_); +lean_dec_ref(v_a_3725_); +lean_dec(v_a_3724_); +lean_dec_ref(v_a_3723_); +return v_res_3730_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(lean_object* v_e_3603_, lean_object* v_n_3604_, lean_object* v_a_3605_, lean_object* v_a_3606_, lean_object* v_a_3607_, lean_object* v_a_3608_, lean_object* v_a_3609_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(lean_object* v_e_3731_, lean_object* v_n_3732_, lean_object* v_a_3733_, lean_object* v_a_3734_, lean_object* v_a_3735_, lean_object* v_a_3736_, lean_object* v_a_3737_){ _start: { -lean_object* v___x_3611_; lean_object* v___x_3612_; -v___x_3611_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0)); -v___x_3612_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3603_, v_n_3604_, v___x_3611_, v___x_3611_, v_a_3605_, v_a_3606_, v_a_3607_, v_a_3608_, v_a_3609_); -return v___x_3612_; +lean_object* v___x_3739_; lean_object* v___x_3740_; +v___x_3739_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0)); +v___x_3740_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___redArg(v_e_3731_, v_n_3732_, v___x_3739_, v___x_3739_, v_a_3733_, v_a_3734_, v_a_3735_, v_a_3736_, v_a_3737_); +return v___x_3740_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg___boxed(lean_object* v_e_3613_, lean_object* v_n_3614_, lean_object* v_a_3615_, lean_object* v_a_3616_, lean_object* v_a_3617_, lean_object* v_a_3618_, lean_object* v_a_3619_, lean_object* v_a_3620_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg___boxed(lean_object* v_e_3741_, lean_object* v_n_3742_, lean_object* v_a_3743_, lean_object* v_a_3744_, lean_object* v_a_3745_, lean_object* v_a_3746_, lean_object* v_a_3747_, lean_object* v_a_3748_){ _start: { -lean_object* v_res_3621_; -v_res_3621_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_3613_, v_n_3614_, v_a_3615_, v_a_3616_, v_a_3617_, v_a_3618_, v_a_3619_); -lean_dec(v_a_3617_); -lean_dec_ref(v_a_3616_); -lean_dec(v_a_3615_); -return v_res_3621_; +lean_object* v_res_3749_; +v_res_3749_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_3741_, v_n_3742_, v_a_3743_, v_a_3744_, v_a_3745_, v_a_3746_, v_a_3747_); +lean_dec(v_a_3745_); +lean_dec_ref(v_a_3744_); +lean_dec(v_a_3743_); +return v_res_3749_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object* v_e_3622_, lean_object* v_n_3623_, uint8_t v_a_3624_, lean_object* v_a_3625_, lean_object* v_a_3626_, lean_object* v_a_3627_, lean_object* v_a_3628_, lean_object* v_a_3629_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object* v_e_3750_, lean_object* v_n_3751_, lean_object* v_a_3752_, lean_object* v_a_3753_, lean_object* v_a_3754_, lean_object* v_a_3755_, lean_object* v_a_3756_, lean_object* v_a_3757_){ _start: { -lean_object* v___x_3631_; -v___x_3631_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_3622_, v_n_3623_, v_a_3625_, v_a_3626_, v_a_3627_, v_a_3628_, v_a_3629_); -return v___x_3631_; +lean_object* v___x_3759_; +v___x_3759_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_3750_, v_n_3751_, v_a_3753_, v_a_3754_, v_a_3755_, v_a_3756_, v_a_3757_); +return v___x_3759_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed(lean_object* v_e_3632_, lean_object* v_n_3633_, lean_object* v_a_3634_, lean_object* v_a_3635_, lean_object* v_a_3636_, lean_object* v_a_3637_, lean_object* v_a_3638_, lean_object* v_a_3639_, lean_object* v_a_3640_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed(lean_object* v_e_3760_, lean_object* v_n_3761_, lean_object* v_a_3762_, lean_object* v_a_3763_, lean_object* v_a_3764_, lean_object* v_a_3765_, lean_object* v_a_3766_, lean_object* v_a_3767_, lean_object* v_a_3768_){ _start: { -uint8_t v_a_51__boxed_3641_; lean_object* v_res_3642_; -v_a_51__boxed_3641_ = lean_unbox(v_a_3634_); -v_res_3642_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(v_e_3632_, v_n_3633_, v_a_51__boxed_3641_, v_a_3635_, v_a_3636_, v_a_3637_, v_a_3638_, v_a_3639_); -lean_dec(v_a_3637_); -lean_dec_ref(v_a_3636_); -lean_dec(v_a_3635_); -return v_res_3642_; +lean_object* v_res_3769_; +v_res_3769_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(v_e_3760_, v_n_3761_, v_a_3762_, v_a_3763_, v_a_3764_, v_a_3765_, v_a_3766_, v_a_3767_); +lean_dec(v_a_3765_); +lean_dec_ref(v_a_3764_); +lean_dec(v_a_3763_); +lean_dec_ref(v_a_3762_); +return v_res_3769_; } } -LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(lean_object* v_env_3648_, lean_object* v_e_3649_){ +LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(lean_object* v_env_3775_, lean_object* v_e_3776_){ _start: { -lean_object* v___x_3650_; -v___x_3650_ = l_Lean_Expr_getAppFn(v_e_3649_); -if (lean_obj_tag(v___x_3650_) == 4) +lean_object* v___x_3777_; +v___x_3777_ = l_Lean_Expr_getAppFn(v_e_3776_); +if (lean_obj_tag(v___x_3777_) == 4) { -lean_object* v_declName_3651_; uint8_t v___y_3653_; uint8_t v___x_3660_; lean_object* v___x_3661_; -v_declName_3651_ = lean_ctor_get(v___x_3650_, 0); -lean_inc(v_declName_3651_); -lean_dec_ref(v___x_3650_); -v___x_3660_ = 0; -lean_inc(v_declName_3651_); -lean_inc_ref(v_env_3648_); -v___x_3661_ = l_Lean_Environment_find_x3f(v_env_3648_, v_declName_3651_, v___x_3660_); -if (lean_obj_tag(v___x_3661_) == 1) +lean_object* v_declName_3778_; uint8_t v___y_3780_; uint8_t v___x_3787_; lean_object* v___x_3788_; +v_declName_3778_ = lean_ctor_get(v___x_3777_, 0); +lean_inc(v_declName_3778_); +lean_dec_ref(v___x_3777_); +v___x_3787_ = 0; +lean_inc(v_declName_3778_); +lean_inc_ref(v_env_3775_); +v___x_3788_ = l_Lean_Environment_find_x3f(v_env_3775_, v_declName_3778_, v___x_3787_); +if (lean_obj_tag(v___x_3788_) == 1) { -lean_object* v_val_3662_; -v_val_3662_ = lean_ctor_get(v___x_3661_, 0); -lean_inc(v_val_3662_); -lean_dec_ref(v___x_3661_); -switch(lean_obj_tag(v_val_3662_)) +lean_object* v_val_3789_; +v_val_3789_ = lean_ctor_get(v___x_3788_, 0); +lean_inc(v_val_3789_); +lean_dec_ref(v___x_3788_); +switch(lean_obj_tag(v_val_3789_)) { case 7: { -uint8_t v___x_3663_; -lean_dec_ref(v_val_3662_); -lean_dec(v_declName_3651_); -lean_dec_ref(v_env_3648_); -v___x_3663_ = 1; -return v___x_3663_; +uint8_t v___x_3790_; +lean_dec_ref(v_val_3789_); +lean_dec(v_declName_3778_); +lean_dec_ref(v_env_3775_); +v___x_3790_ = 1; +return v___x_3790_; } case 6: { -uint8_t v___x_3664_; -lean_dec_ref(v_val_3662_); -lean_dec(v_declName_3651_); -lean_dec_ref(v_env_3648_); -v___x_3664_ = 1; -return v___x_3664_; +uint8_t v___x_3791_; +lean_dec_ref(v_val_3789_); +lean_dec(v_declName_3778_); +lean_dec_ref(v_env_3775_); +v___x_3791_ = 1; +return v___x_3791_; } case 4: { -uint8_t v___x_3665_; -lean_dec_ref(v_val_3662_); -lean_dec(v_declName_3651_); -lean_dec_ref(v_env_3648_); -v___x_3665_ = 1; -return v___x_3665_; +uint8_t v___x_3792_; +lean_dec_ref(v_val_3789_); +lean_dec(v_declName_3778_); +lean_dec_ref(v_env_3775_); +v___x_3792_ = 1; +return v___x_3792_; } default: { -lean_dec(v_val_3662_); -goto v___jp_3657_; +lean_dec(v_val_3789_); +goto v___jp_3784_; } } } else { -lean_dec(v___x_3661_); -goto v___jp_3657_; +lean_dec(v___x_3788_); +goto v___jp_3784_; } -v___jp_3652_: +v___jp_3779_: { -if (v___y_3653_ == 0) +if (v___y_3780_ == 0) { -uint8_t v___x_3654_; -lean_inc(v_declName_3651_); -v___x_3654_ = l_Lean_Environment_isProjectionFn(v_env_3648_, v_declName_3651_); -if (v___x_3654_ == 0) +uint8_t v___x_3781_; +lean_inc(v_declName_3778_); +v___x_3781_ = l_Lean_Environment_isProjectionFn(v_env_3775_, v_declName_3778_); +if (v___x_3781_ == 0) { -lean_object* v___x_3655_; uint8_t v___x_3656_; -v___x_3655_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); -v___x_3656_ = lean_name_eq(v_declName_3651_, v___x_3655_); -lean_dec(v_declName_3651_); -return v___x_3656_; +lean_object* v___x_3782_; uint8_t v___x_3783_; +v___x_3782_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); +v___x_3783_ = lean_name_eq(v_declName_3778_, v___x_3782_); +lean_dec(v_declName_3778_); +return v___x_3783_; } else { -lean_dec(v_declName_3651_); -return v___x_3654_; +lean_dec(v_declName_3778_); +return v___x_3781_; } } else { -lean_dec(v_declName_3651_); -lean_dec_ref(v_env_3648_); -return v___y_3653_; +lean_dec(v_declName_3778_); +lean_dec_ref(v_env_3775_); +return v___y_3780_; } } -v___jp_3657_: +v___jp_3784_: { -uint8_t v___x_3658_; -lean_inc(v_declName_3651_); -lean_inc_ref(v_env_3648_); -v___x_3658_ = l_Lean_isCasesOnLike(v_env_3648_, v_declName_3651_); -if (v___x_3658_ == 0) +uint8_t v___x_3785_; +lean_inc(v_declName_3778_); +lean_inc_ref(v_env_3775_); +v___x_3785_ = l_Lean_isCasesOnLike(v_env_3775_, v_declName_3778_); +if (v___x_3785_ == 0) { -uint8_t v___x_3659_; -lean_inc(v_declName_3651_); -lean_inc_ref(v_env_3648_); -v___x_3659_ = l_Lean_isNoConfusion(v_env_3648_, v_declName_3651_); -v___y_3653_ = v___x_3659_; -goto v___jp_3652_; +uint8_t v___x_3786_; +lean_inc(v_declName_3778_); +lean_inc_ref(v_env_3775_); +v___x_3786_ = l_Lean_isNoConfusion(v_env_3775_, v_declName_3778_); +v___y_3780_ = v___x_3786_; +goto v___jp_3779_; } else { -v___y_3653_ = v___x_3658_; -goto v___jp_3652_; +v___y_3780_ = v___x_3785_; +goto v___jp_3779_; } } } else { -uint8_t v___x_3666_; -lean_dec_ref(v___x_3650_); -lean_dec_ref(v_env_3648_); -v___x_3666_ = 0; -return v___x_3666_; +uint8_t v___x_3793_; +lean_dec_ref(v___x_3777_); +lean_dec_ref(v_env_3775_); +v___x_3793_ = 0; +return v___x_3793_; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___boxed(lean_object* v_env_3667_, lean_object* v_e_3668_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___boxed(lean_object* v_env_3794_, lean_object* v_e_3795_){ _start: { -uint8_t v_res_3669_; lean_object* v_r_3670_; -v_res_3669_ = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(v_env_3667_, v_e_3668_); -lean_dec_ref(v_e_3668_); -v_r_3670_ = lean_box(v_res_3669_); -return v_r_3670_; +uint8_t v_res_3796_; lean_object* v_r_3797_; +v_res_3796_ = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(v_env_3794_, v_e_3795_); +lean_dec_ref(v_e_3795_); +v_r_3797_ = lean_box(v_res_3796_); +return v_r_3797_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0(lean_object* v_k_3671_, lean_object* v_b_3672_, lean_object* v_c_3673_, lean_object* v___y_3674_, lean_object* v___y_3675_, lean_object* v___y_3676_, lean_object* v___y_3677_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0(lean_object* v_k_3798_, lean_object* v_b_3799_, lean_object* v_c_3800_, lean_object* v___y_3801_, lean_object* v___y_3802_, lean_object* v___y_3803_, lean_object* v___y_3804_){ _start: { -lean_object* v___x_3679_; -v___x_3679_ = lean_apply_7(v_k_3671_, v_b_3672_, v_c_3673_, v___y_3674_, v___y_3675_, v___y_3676_, v___y_3677_, lean_box(0)); -return v___x_3679_; +lean_object* v___x_3806_; +v___x_3806_ = lean_apply_7(v_k_3798_, v_b_3799_, v_c_3800_, v___y_3801_, v___y_3802_, v___y_3803_, v___y_3804_, lean_box(0)); +return v___x_3806_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed(lean_object* v_k_3680_, lean_object* v_b_3681_, lean_object* v_c_3682_, lean_object* v___y_3683_, lean_object* v___y_3684_, lean_object* v___y_3685_, lean_object* v___y_3686_, lean_object* v___y_3687_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed(lean_object* v_k_3807_, lean_object* v_b_3808_, lean_object* v_c_3809_, lean_object* v___y_3810_, lean_object* v___y_3811_, lean_object* v___y_3812_, lean_object* v___y_3813_, lean_object* v___y_3814_){ _start: { -lean_object* v_res_3688_; -v_res_3688_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0(v_k_3680_, v_b_3681_, v_c_3682_, v___y_3683_, v___y_3684_, v___y_3685_, v___y_3686_); -return v_res_3688_; +lean_object* v_res_3815_; +v_res_3815_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0(v_k_3807_, v_b_3808_, v_c_3809_, v___y_3810_, v___y_3811_, v___y_3812_, v___y_3813_); +return v_res_3815_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(lean_object* v_type_3689_, lean_object* v_maxFVars_x3f_3690_, lean_object* v_k_3691_, uint8_t v_cleanupAnnotations_3692_, uint8_t v_whnfType_3693_, lean_object* v___y_3694_, lean_object* v___y_3695_, lean_object* v___y_3696_, lean_object* v___y_3697_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(lean_object* v_type_3816_, lean_object* v_maxFVars_x3f_3817_, lean_object* v_k_3818_, uint8_t v_cleanupAnnotations_3819_, uint8_t v_whnfType_3820_, lean_object* v___y_3821_, lean_object* v___y_3822_, lean_object* v___y_3823_, lean_object* v___y_3824_){ _start: { -lean_object* v___f_3699_; lean_object* v___x_3700_; -v___f_3699_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_3699_, 0, v_k_3691_); -v___x_3700_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_3689_, v_maxFVars_x3f_3690_, v___f_3699_, v_cleanupAnnotations_3692_, v_whnfType_3693_, v___y_3694_, v___y_3695_, v___y_3696_, v___y_3697_); -if (lean_obj_tag(v___x_3700_) == 0) +lean_object* v___f_3826_; lean_object* v___x_3827_; +v___f_3826_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_3826_, 0, v_k_3818_); +v___x_3827_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_3816_, v_maxFVars_x3f_3817_, v___f_3826_, v_cleanupAnnotations_3819_, v_whnfType_3820_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_); +if (lean_obj_tag(v___x_3827_) == 0) { -lean_object* v_a_3701_; lean_object* v___x_3703_; uint8_t v_isShared_3704_; uint8_t v_isSharedCheck_3708_; -v_a_3701_ = lean_ctor_get(v___x_3700_, 0); -v_isSharedCheck_3708_ = !lean_is_exclusive(v___x_3700_); -if (v_isSharedCheck_3708_ == 0) +lean_object* v_a_3828_; lean_object* v___x_3830_; uint8_t v_isShared_3831_; uint8_t v_isSharedCheck_3835_; +v_a_3828_ = lean_ctor_get(v___x_3827_, 0); +v_isSharedCheck_3835_ = !lean_is_exclusive(v___x_3827_); +if (v_isSharedCheck_3835_ == 0) { -v___x_3703_ = v___x_3700_; -v_isShared_3704_ = v_isSharedCheck_3708_; -goto v_resetjp_3702_; +v___x_3830_ = v___x_3827_; +v_isShared_3831_ = v_isSharedCheck_3835_; +goto v_resetjp_3829_; } else { -lean_inc(v_a_3701_); -lean_dec(v___x_3700_); -v___x_3703_ = lean_box(0); -v_isShared_3704_ = v_isSharedCheck_3708_; -goto v_resetjp_3702_; +lean_inc(v_a_3828_); +lean_dec(v___x_3827_); +v___x_3830_ = lean_box(0); +v_isShared_3831_ = v_isSharedCheck_3835_; +goto v_resetjp_3829_; } -v_resetjp_3702_: +v_resetjp_3829_: { -lean_object* v___x_3706_; -if (v_isShared_3704_ == 0) +lean_object* v___x_3833_; +if (v_isShared_3831_ == 0) { -v___x_3706_ = v___x_3703_; -goto v_reusejp_3705_; +v___x_3833_ = v___x_3830_; +goto v_reusejp_3832_; } else { -lean_object* v_reuseFailAlloc_3707_; -v_reuseFailAlloc_3707_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3707_, 0, v_a_3701_); -v___x_3706_ = v_reuseFailAlloc_3707_; -goto v_reusejp_3705_; +lean_object* v_reuseFailAlloc_3834_; +v_reuseFailAlloc_3834_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3834_, 0, v_a_3828_); +v___x_3833_ = v_reuseFailAlloc_3834_; +goto v_reusejp_3832_; } -v_reusejp_3705_: +v_reusejp_3832_: { -return v___x_3706_; +return v___x_3833_; } } } else { -lean_object* v_a_3709_; lean_object* v___x_3711_; uint8_t v_isShared_3712_; uint8_t v_isSharedCheck_3716_; -v_a_3709_ = lean_ctor_get(v___x_3700_, 0); -v_isSharedCheck_3716_ = !lean_is_exclusive(v___x_3700_); -if (v_isSharedCheck_3716_ == 0) +lean_object* v_a_3836_; lean_object* v___x_3838_; uint8_t v_isShared_3839_; uint8_t v_isSharedCheck_3843_; +v_a_3836_ = lean_ctor_get(v___x_3827_, 0); +v_isSharedCheck_3843_ = !lean_is_exclusive(v___x_3827_); +if (v_isSharedCheck_3843_ == 0) { -v___x_3711_ = v___x_3700_; -v_isShared_3712_ = v_isSharedCheck_3716_; -goto v_resetjp_3710_; +v___x_3838_ = v___x_3827_; +v_isShared_3839_ = v_isSharedCheck_3843_; +goto v_resetjp_3837_; } else { -lean_inc(v_a_3709_); -lean_dec(v___x_3700_); -v___x_3711_ = lean_box(0); -v_isShared_3712_ = v_isSharedCheck_3716_; -goto v_resetjp_3710_; +lean_inc(v_a_3836_); +lean_dec(v___x_3827_); +v___x_3838_ = lean_box(0); +v_isShared_3839_ = v_isSharedCheck_3843_; +goto v_resetjp_3837_; } -v_resetjp_3710_: +v_resetjp_3837_: { -lean_object* v___x_3714_; -if (v_isShared_3712_ == 0) +lean_object* v___x_3841_; +if (v_isShared_3839_ == 0) { -v___x_3714_ = v___x_3711_; -goto v_reusejp_3713_; +v___x_3841_ = v___x_3838_; +goto v_reusejp_3840_; } else { -lean_object* v_reuseFailAlloc_3715_; -v_reuseFailAlloc_3715_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3715_, 0, v_a_3709_); -v___x_3714_ = v_reuseFailAlloc_3715_; -goto v_reusejp_3713_; +lean_object* v_reuseFailAlloc_3842_; +v_reuseFailAlloc_3842_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3842_, 0, v_a_3836_); +v___x_3841_ = v_reuseFailAlloc_3842_; +goto v_reusejp_3840_; } -v_reusejp_3713_: +v_reusejp_3840_: { -return v___x_3714_; +return v___x_3841_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___boxed(lean_object* v_type_3717_, lean_object* v_maxFVars_x3f_3718_, lean_object* v_k_3719_, lean_object* v_cleanupAnnotations_3720_, lean_object* v_whnfType_3721_, lean_object* v___y_3722_, lean_object* v___y_3723_, lean_object* v___y_3724_, lean_object* v___y_3725_, lean_object* v___y_3726_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___boxed(lean_object* v_type_3844_, lean_object* v_maxFVars_x3f_3845_, lean_object* v_k_3846_, lean_object* v_cleanupAnnotations_3847_, lean_object* v_whnfType_3848_, lean_object* v___y_3849_, lean_object* v___y_3850_, lean_object* v___y_3851_, lean_object* v___y_3852_, lean_object* v___y_3853_){ _start: { -uint8_t v_cleanupAnnotations_boxed_3727_; uint8_t v_whnfType_boxed_3728_; lean_object* v_res_3729_; -v_cleanupAnnotations_boxed_3727_ = lean_unbox(v_cleanupAnnotations_3720_); -v_whnfType_boxed_3728_ = lean_unbox(v_whnfType_3721_); -v_res_3729_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_type_3717_, v_maxFVars_x3f_3718_, v_k_3719_, v_cleanupAnnotations_boxed_3727_, v_whnfType_boxed_3728_, v___y_3722_, v___y_3723_, v___y_3724_, v___y_3725_); -return v_res_3729_; +uint8_t v_cleanupAnnotations_boxed_3854_; uint8_t v_whnfType_boxed_3855_; lean_object* v_res_3856_; +v_cleanupAnnotations_boxed_3854_ = lean_unbox(v_cleanupAnnotations_3847_); +v_whnfType_boxed_3855_ = lean_unbox(v_whnfType_3848_); +v_res_3856_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_type_3844_, v_maxFVars_x3f_3845_, v_k_3846_, v_cleanupAnnotations_boxed_3854_, v_whnfType_boxed_3855_, v___y_3849_, v___y_3850_, v___y_3851_, v___y_3852_); +return v_res_3856_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0(lean_object* v_00_u03b1_3730_, lean_object* v_type_3731_, lean_object* v_maxFVars_x3f_3732_, lean_object* v_k_3733_, uint8_t v_cleanupAnnotations_3734_, uint8_t v_whnfType_3735_, lean_object* v___y_3736_, lean_object* v___y_3737_, lean_object* v___y_3738_, lean_object* v___y_3739_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0(lean_object* v_00_u03b1_3857_, lean_object* v_type_3858_, lean_object* v_maxFVars_x3f_3859_, lean_object* v_k_3860_, uint8_t v_cleanupAnnotations_3861_, uint8_t v_whnfType_3862_, lean_object* v___y_3863_, lean_object* v___y_3864_, lean_object* v___y_3865_, lean_object* v___y_3866_){ _start: { -lean_object* v___x_3741_; -v___x_3741_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_type_3731_, v_maxFVars_x3f_3732_, v_k_3733_, v_cleanupAnnotations_3734_, v_whnfType_3735_, v___y_3736_, v___y_3737_, v___y_3738_, v___y_3739_); -return v___x_3741_; +lean_object* v___x_3868_; +v___x_3868_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_type_3858_, v_maxFVars_x3f_3859_, v_k_3860_, v_cleanupAnnotations_3861_, v_whnfType_3862_, v___y_3863_, v___y_3864_, v___y_3865_, v___y_3866_); +return v___x_3868_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___boxed(lean_object* v_00_u03b1_3742_, lean_object* v_type_3743_, lean_object* v_maxFVars_x3f_3744_, lean_object* v_k_3745_, lean_object* v_cleanupAnnotations_3746_, lean_object* v_whnfType_3747_, lean_object* v___y_3748_, lean_object* v___y_3749_, lean_object* v___y_3750_, lean_object* v___y_3751_, lean_object* v___y_3752_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___boxed(lean_object* v_00_u03b1_3869_, lean_object* v_type_3870_, lean_object* v_maxFVars_x3f_3871_, lean_object* v_k_3872_, lean_object* v_cleanupAnnotations_3873_, lean_object* v_whnfType_3874_, lean_object* v___y_3875_, lean_object* v___y_3876_, lean_object* v___y_3877_, lean_object* v___y_3878_, lean_object* v___y_3879_){ _start: { -uint8_t v_cleanupAnnotations_boxed_3753_; uint8_t v_whnfType_boxed_3754_; lean_object* v_res_3755_; -v_cleanupAnnotations_boxed_3753_ = lean_unbox(v_cleanupAnnotations_3746_); -v_whnfType_boxed_3754_ = lean_unbox(v_whnfType_3747_); -v_res_3755_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0(v_00_u03b1_3742_, v_type_3743_, v_maxFVars_x3f_3744_, v_k_3745_, v_cleanupAnnotations_boxed_3753_, v_whnfType_boxed_3754_, v___y_3748_, v___y_3749_, v___y_3750_, v___y_3751_); -return v_res_3755_; +uint8_t v_cleanupAnnotations_boxed_3880_; uint8_t v_whnfType_boxed_3881_; lean_object* v_res_3882_; +v_cleanupAnnotations_boxed_3880_ = lean_unbox(v_cleanupAnnotations_3873_); +v_whnfType_boxed_3881_ = lean_unbox(v_whnfType_3874_); +v_res_3882_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0(v_00_u03b1_3869_, v_type_3870_, v_maxFVars_x3f_3871_, v_k_3872_, v_cleanupAnnotations_boxed_3880_, v_whnfType_boxed_3881_, v___y_3875_, v___y_3876_, v___y_3877_, v___y_3878_); +return v_res_3882_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0(lean_object* v_e_3756_, uint8_t v___x_3757_, uint8_t v___x_3758_, lean_object* v_xs_3759_, lean_object* v_x_3760_, lean_object* v___y_3761_, lean_object* v___y_3762_, lean_object* v___y_3763_, lean_object* v___y_3764_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0(lean_object* v_e_3883_, uint8_t v___x_3884_, uint8_t v___x_3885_, lean_object* v_xs_3886_, lean_object* v_x_3887_, lean_object* v___y_3888_, lean_object* v___y_3889_, lean_object* v___y_3890_, lean_object* v___y_3891_){ _start: { -lean_object* v___x_3766_; uint8_t v___x_3767_; lean_object* v___x_3768_; -v___x_3766_ = l_Lean_mkAppN(v_e_3756_, v_xs_3759_); -v___x_3767_ = 1; -v___x_3768_ = l_Lean_Meta_mkLambdaFVars(v_xs_3759_, v___x_3766_, v___x_3757_, v___x_3758_, v___x_3757_, v___x_3758_, v___x_3767_, v___y_3761_, v___y_3762_, v___y_3763_, v___y_3764_); -return v___x_3768_; +lean_object* v___x_3893_; uint8_t v___x_3894_; lean_object* v___x_3895_; +v___x_3893_ = l_Lean_mkAppN(v_e_3883_, v_xs_3886_); +v___x_3894_ = 1; +v___x_3895_ = l_Lean_Meta_mkLambdaFVars(v_xs_3886_, v___x_3893_, v___x_3884_, v___x_3885_, v___x_3884_, v___x_3885_, v___x_3894_, v___y_3888_, v___y_3889_, v___y_3890_, v___y_3891_); +return v___x_3895_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0___boxed(lean_object* v_e_3769_, lean_object* v___x_3770_, lean_object* v___x_3771_, lean_object* v_xs_3772_, lean_object* v_x_3773_, lean_object* v___y_3774_, lean_object* v___y_3775_, lean_object* v___y_3776_, lean_object* v___y_3777_, lean_object* v___y_3778_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0___boxed(lean_object* v_e_3896_, lean_object* v___x_3897_, lean_object* v___x_3898_, lean_object* v_xs_3899_, lean_object* v_x_3900_, lean_object* v___y_3901_, lean_object* v___y_3902_, lean_object* v___y_3903_, lean_object* v___y_3904_, lean_object* v___y_3905_){ _start: { -uint8_t v___x_1141__boxed_3779_; uint8_t v___x_1142__boxed_3780_; lean_object* v_res_3781_; -v___x_1141__boxed_3779_ = lean_unbox(v___x_3770_); -v___x_1142__boxed_3780_ = lean_unbox(v___x_3771_); -v_res_3781_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0(v_e_3769_, v___x_1141__boxed_3779_, v___x_1142__boxed_3780_, v_xs_3772_, v_x_3773_, v___y_3774_, v___y_3775_, v___y_3776_, v___y_3777_); -lean_dec(v___y_3777_); -lean_dec_ref(v___y_3776_); -lean_dec(v___y_3775_); -lean_dec_ref(v___y_3774_); -lean_dec_ref(v_x_3773_); -lean_dec_ref(v_xs_3772_); -return v_res_3781_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(lean_object* v_e_3782_, lean_object* v_n_3783_, lean_object* v_a_3784_, lean_object* v_a_3785_, lean_object* v_a_3786_){ -_start: -{ -lean_object* v___x_3788_; uint8_t v___x_3789_; -v___x_3788_ = lean_unsigned_to_nat(0u); -v___x_3789_ = lean_nat_dec_eq(v_n_3783_, v___x_3788_); -if (v___x_3789_ == 0) -{ -lean_object* v___x_3790_; lean_object* v_lctx_3791_; lean_object* v___x_3792_; lean_object* v___x_3793_; lean_object* v___x_3794_; lean_object* v___x_3795_; uint8_t v___x_3796_; lean_object* v___x_3797_; lean_object* v___x_3798_; lean_object* v___x_3799_; lean_object* v___x_3800_; lean_object* v___x_3801_; lean_object* v___y_3803_; lean_object* v___x_3813_; -v___x_3790_ = lean_st_ref_get(v_a_3784_); -v_lctx_3791_ = lean_ctor_get(v___x_3790_, 0); -lean_inc_ref(v_lctx_3791_); -lean_dec(v___x_3790_); -v___x_3792_ = lean_box(1); -v___x_3793_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_3794_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_3795_ = lean_box(0); -v___x_3796_ = 1; -v___x_3797_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_3797_, 0, v___x_3793_); -lean_ctor_set(v___x_3797_, 1, v___x_3792_); -lean_ctor_set(v___x_3797_, 2, v_lctx_3791_); -lean_ctor_set(v___x_3797_, 3, v___x_3794_); -lean_ctor_set(v___x_3797_, 4, v___x_3795_); -lean_ctor_set(v___x_3797_, 5, v___x_3788_); -lean_ctor_set(v___x_3797_, 6, v___x_3795_); -lean_ctor_set_uint8(v___x_3797_, sizeof(void*)*7, v___x_3789_); -lean_ctor_set_uint8(v___x_3797_, sizeof(void*)*7 + 1, v___x_3789_); -lean_ctor_set_uint8(v___x_3797_, sizeof(void*)*7 + 2, v___x_3789_); -lean_ctor_set_uint8(v___x_3797_, sizeof(void*)*7 + 3, v___x_3796_); -v___x_3798_ = lean_unsigned_to_nat(32u); -v___x_3799_ = lean_mk_empty_array_with_capacity(v___x_3798_); -lean_dec_ref(v___x_3799_); -v___x_3800_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_3801_ = lean_st_mk_ref(v___x_3800_); -lean_inc(v_a_3786_); -lean_inc_ref(v_a_3785_); -lean_inc(v___x_3801_); -lean_inc_ref(v___x_3797_); -lean_inc_ref(v_e_3782_); -v___x_3813_ = lean_infer_type(v_e_3782_, v___x_3797_, v___x_3801_, v_a_3785_, v_a_3786_); -if (lean_obj_tag(v___x_3813_) == 0) -{ -lean_object* v_a_3814_; lean_object* v___x_3816_; uint8_t v_isShared_3817_; uint8_t v_isSharedCheck_3825_; -v_a_3814_ = lean_ctor_get(v___x_3813_, 0); -v_isSharedCheck_3825_ = !lean_is_exclusive(v___x_3813_); -if (v_isSharedCheck_3825_ == 0) -{ -v___x_3816_ = v___x_3813_; -v_isShared_3817_ = v_isSharedCheck_3825_; -goto v_resetjp_3815_; -} -else -{ -lean_inc(v_a_3814_); -lean_dec(v___x_3813_); -v___x_3816_ = lean_box(0); -v_isShared_3817_ = v_isSharedCheck_3825_; -goto v_resetjp_3815_; -} -v_resetjp_3815_: -{ -lean_object* v___x_3818_; lean_object* v___x_3819_; lean_object* v___f_3820_; lean_object* v___x_3822_; -v___x_3818_ = lean_box(v___x_3789_); -v___x_3819_ = lean_box(v___x_3796_); -v___f_3820_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0___boxed), 10, 3); -lean_closure_set(v___f_3820_, 0, v_e_3782_); -lean_closure_set(v___f_3820_, 1, v___x_3818_); -lean_closure_set(v___f_3820_, 2, v___x_3819_); -if (v_isShared_3817_ == 0) -{ -lean_ctor_set_tag(v___x_3816_, 1); -lean_ctor_set(v___x_3816_, 0, v_n_3783_); -v___x_3822_ = v___x_3816_; -goto v_reusejp_3821_; -} -else -{ -lean_object* v_reuseFailAlloc_3824_; -v_reuseFailAlloc_3824_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3824_, 0, v_n_3783_); -v___x_3822_ = v_reuseFailAlloc_3824_; -goto v_reusejp_3821_; -} -v_reusejp_3821_: -{ -lean_object* v___x_3823_; -lean_inc(v___x_3801_); -v___x_3823_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_a_3814_, v___x_3822_, v___f_3820_, v___x_3789_, v___x_3789_, v___x_3797_, v___x_3801_, v_a_3785_, v_a_3786_); -v___y_3803_ = v___x_3823_; -goto v___jp_3802_; -} -} -} -else -{ -lean_dec_ref(v___x_3797_); -lean_dec(v_a_3786_); -lean_dec_ref(v_a_3785_); -lean_dec(v_n_3783_); -lean_dec_ref(v_e_3782_); -v___y_3803_ = v___x_3813_; -goto v___jp_3802_; -} -v___jp_3802_: -{ -if (lean_obj_tag(v___y_3803_) == 0) -{ -lean_object* v_a_3804_; lean_object* v___x_3806_; uint8_t v_isShared_3807_; uint8_t v_isSharedCheck_3812_; -v_a_3804_ = lean_ctor_get(v___y_3803_, 0); -v_isSharedCheck_3812_ = !lean_is_exclusive(v___y_3803_); -if (v_isSharedCheck_3812_ == 0) -{ -v___x_3806_ = v___y_3803_; -v_isShared_3807_ = v_isSharedCheck_3812_; -goto v_resetjp_3805_; -} -else -{ -lean_inc(v_a_3804_); -lean_dec(v___y_3803_); -v___x_3806_ = lean_box(0); -v_isShared_3807_ = v_isSharedCheck_3812_; -goto v_resetjp_3805_; -} -v_resetjp_3805_: -{ -lean_object* v___x_3808_; lean_object* v___x_3810_; -v___x_3808_ = lean_st_ref_get(v___x_3801_); -lean_dec(v___x_3801_); -lean_dec(v___x_3808_); -if (v_isShared_3807_ == 0) -{ -v___x_3810_ = v___x_3806_; -goto v_reusejp_3809_; -} -else -{ -lean_object* v_reuseFailAlloc_3811_; -v_reuseFailAlloc_3811_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3811_, 0, v_a_3804_); -v___x_3810_ = v_reuseFailAlloc_3811_; -goto v_reusejp_3809_; -} -v_reusejp_3809_: -{ -return v___x_3810_; -} -} -} -else -{ -lean_dec(v___x_3801_); -return v___y_3803_; -} -} -} -else -{ -lean_object* v___x_3826_; -lean_dec(v_a_3786_); -lean_dec_ref(v_a_3785_); -lean_dec(v_n_3783_); -v___x_3826_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3826_, 0, v_e_3782_); -return v___x_3826_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___boxed(lean_object* v_e_3827_, lean_object* v_n_3828_, lean_object* v_a_3829_, lean_object* v_a_3830_, lean_object* v_a_3831_, lean_object* v_a_3832_){ -_start: -{ -lean_object* v_res_3833_; -v_res_3833_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_3827_, v_n_3828_, v_a_3829_, v_a_3830_, v_a_3831_); -lean_dec(v_a_3829_); -return v_res_3833_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object* v_e_3834_, lean_object* v_n_3835_, uint8_t v_a_3836_, lean_object* v_a_3837_, lean_object* v_a_3838_, lean_object* v_a_3839_, lean_object* v_a_3840_, lean_object* v_a_3841_){ -_start: -{ -lean_object* v___x_3843_; -v___x_3843_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_3834_, v_n_3835_, v_a_3837_, v_a_3840_, v_a_3841_); -return v___x_3843_; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___boxed(lean_object* v_e_3844_, lean_object* v_n_3845_, lean_object* v_a_3846_, lean_object* v_a_3847_, lean_object* v_a_3848_, lean_object* v_a_3849_, lean_object* v_a_3850_, lean_object* v_a_3851_, lean_object* v_a_3852_){ -_start: -{ -uint8_t v_a_1313__boxed_3853_; lean_object* v_res_3854_; -v_a_1313__boxed_3853_ = lean_unbox(v_a_3846_); -v_res_3854_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(v_e_3844_, v_n_3845_, v_a_1313__boxed_3853_, v_a_3847_, v_a_3848_, v_a_3849_, v_a_3850_, v_a_3851_); -lean_dec(v_a_3849_); -lean_dec_ref(v_a_3848_); -lean_dec(v_a_3847_); -return v_res_3854_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(lean_object* v_name_3855_, lean_object* v_msg_3856_, lean_object* v___y_3857_, lean_object* v___y_3858_, lean_object* v___y_3859_, lean_object* v___y_3860_){ -_start: -{ -lean_object* v_options_3862_; lean_object* v_ref_3863_; lean_object* v___x_3864_; lean_object* v___x_3865_; lean_object* v___x_3866_; -v_options_3862_ = lean_ctor_get(v___y_3859_, 2); -v_ref_3863_ = lean_ctor_get(v___y_3859_, 5); -v___x_3864_ = lean_st_ref_get(v___y_3860_); -v___x_3865_ = lean_st_ref_get(v___y_3858_); -v___x_3866_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_3857_); -if (lean_obj_tag(v___x_3866_) == 0) -{ -lean_object* v_a_3867_; lean_object* v___x_3869_; uint8_t v_isShared_3870_; uint8_t v_isSharedCheck_3890_; -v_a_3867_ = lean_ctor_get(v___x_3866_, 0); -v_isSharedCheck_3890_ = !lean_is_exclusive(v___x_3866_); -if (v_isSharedCheck_3890_ == 0) -{ -v___x_3869_ = v___x_3866_; -v_isShared_3870_ = v_isSharedCheck_3890_; -goto v_resetjp_3868_; -} -else -{ -lean_inc(v_a_3867_); -lean_dec(v___x_3866_); -v___x_3869_ = lean_box(0); -v_isShared_3870_ = v_isSharedCheck_3890_; -goto v_resetjp_3868_; -} -v_resetjp_3868_: -{ -lean_object* v_env_3871_; lean_object* v_lctx_3872_; lean_object* v___x_3874_; uint8_t v_isShared_3875_; uint8_t v_isSharedCheck_3888_; -v_env_3871_ = lean_ctor_get(v___x_3864_, 0); -lean_inc_ref(v_env_3871_); -lean_dec(v___x_3864_); -v_lctx_3872_ = lean_ctor_get(v___x_3865_, 0); -v_isSharedCheck_3888_ = !lean_is_exclusive(v___x_3865_); -if (v_isSharedCheck_3888_ == 0) -{ -lean_object* v_unused_3889_; -v_unused_3889_ = lean_ctor_get(v___x_3865_, 1); -lean_dec(v_unused_3889_); -v___x_3874_ = v___x_3865_; -v_isShared_3875_ = v_isSharedCheck_3888_; -goto v_resetjp_3873_; -} -else -{ -lean_inc(v_lctx_3872_); -lean_dec(v___x_3865_); -v___x_3874_ = lean_box(0); -v_isShared_3875_ = v_isSharedCheck_3888_; -goto v_resetjp_3873_; -} -v_resetjp_3873_: -{ -lean_object* v_msg_3876_; uint8_t v___x_3877_; lean_object* v___x_3878_; lean_object* v___x_3879_; lean_object* v___x_3880_; lean_object* v___x_3882_; -v_msg_3876_ = l_Lean_MessageData_tagWithErrorName(v_msg_3856_, v_name_3855_); -v___x_3877_ = lean_unbox(v_a_3867_); -lean_dec(v_a_3867_); -v___x_3878_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_3872_, v___x_3877_); -lean_dec_ref(v_lctx_3872_); -v___x_3879_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); -lean_inc_ref(v_options_3862_); -v___x_3880_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_3880_, 0, v_env_3871_); -lean_ctor_set(v___x_3880_, 1, v___x_3879_); -lean_ctor_set(v___x_3880_, 2, v___x_3878_); -lean_ctor_set(v___x_3880_, 3, v_options_3862_); -if (v_isShared_3875_ == 0) -{ -lean_ctor_set_tag(v___x_3874_, 3); -lean_ctor_set(v___x_3874_, 1, v_msg_3876_); -lean_ctor_set(v___x_3874_, 0, v___x_3880_); -v___x_3882_ = v___x_3874_; -goto v_reusejp_3881_; -} -else -{ -lean_object* v_reuseFailAlloc_3887_; -v_reuseFailAlloc_3887_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3887_, 0, v___x_3880_); -lean_ctor_set(v_reuseFailAlloc_3887_, 1, v_msg_3876_); -v___x_3882_ = v_reuseFailAlloc_3887_; -goto v_reusejp_3881_; -} -v_reusejp_3881_: -{ -lean_object* v___x_3883_; lean_object* v___x_3885_; -lean_inc(v_ref_3863_); -v___x_3883_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_3883_, 0, v_ref_3863_); -lean_ctor_set(v___x_3883_, 1, v___x_3882_); -if (v_isShared_3870_ == 0) -{ -lean_ctor_set_tag(v___x_3869_, 1); -lean_ctor_set(v___x_3869_, 0, v___x_3883_); -v___x_3885_ = v___x_3869_; -goto v_reusejp_3884_; -} -else -{ -lean_object* v_reuseFailAlloc_3886_; -v_reuseFailAlloc_3886_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3886_, 0, v___x_3883_); -v___x_3885_ = v_reuseFailAlloc_3886_; -goto v_reusejp_3884_; -} -v_reusejp_3884_: -{ -return v___x_3885_; -} -} -} -} -} -else -{ -lean_object* v_a_3891_; lean_object* v___x_3893_; uint8_t v_isShared_3894_; uint8_t v_isSharedCheck_3898_; -lean_dec(v___x_3865_); -lean_dec(v___x_3864_); -lean_dec_ref(v_msg_3856_); -lean_dec(v_name_3855_); -v_a_3891_ = lean_ctor_get(v___x_3866_, 0); -v_isSharedCheck_3898_ = !lean_is_exclusive(v___x_3866_); -if (v_isSharedCheck_3898_ == 0) -{ -v___x_3893_ = v___x_3866_; -v_isShared_3894_ = v_isSharedCheck_3898_; -goto v_resetjp_3892_; -} -else -{ -lean_inc(v_a_3891_); -lean_dec(v___x_3866_); -v___x_3893_ = lean_box(0); -v_isShared_3894_ = v_isSharedCheck_3898_; -goto v_resetjp_3892_; -} -v_resetjp_3892_: -{ -lean_object* v___x_3896_; -if (v_isShared_3894_ == 0) -{ -v___x_3896_ = v___x_3893_; -goto v_reusejp_3895_; -} -else -{ -lean_object* v_reuseFailAlloc_3897_; -v_reuseFailAlloc_3897_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3897_, 0, v_a_3891_); -v___x_3896_ = v_reuseFailAlloc_3897_; -goto v_reusejp_3895_; -} -v_reusejp_3895_: -{ -return v___x_3896_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg___boxed(lean_object* v_name_3899_, lean_object* v_msg_3900_, lean_object* v___y_3901_, lean_object* v___y_3902_, lean_object* v___y_3903_, lean_object* v___y_3904_, lean_object* v___y_3905_){ -_start: -{ -lean_object* v_res_3906_; -v_res_3906_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v_name_3899_, v_msg_3900_, v___y_3901_, v___y_3902_, v___y_3903_, v___y_3904_); +uint8_t v___x_1141__boxed_3906_; uint8_t v___x_1142__boxed_3907_; lean_object* v_res_3908_; +v___x_1141__boxed_3906_ = lean_unbox(v___x_3897_); +v___x_1142__boxed_3907_ = lean_unbox(v___x_3898_); +v_res_3908_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0(v_e_3896_, v___x_1141__boxed_3906_, v___x_1142__boxed_3907_, v_xs_3899_, v_x_3900_, v___y_3901_, v___y_3902_, v___y_3903_, v___y_3904_); lean_dec(v___y_3904_); lean_dec_ref(v___y_3903_); lean_dec(v___y_3902_); lean_dec_ref(v___y_3901_); -return v_res_3906_; +lean_dec_ref(v_x_3900_); +lean_dec_ref(v_xs_3899_); +return v_res_3908_; } } -LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(lean_object* v_00_u03b1_3907_, lean_object* v_name_3908_, lean_object* v_msg_3909_, uint8_t v___y_3910_, lean_object* v___y_3911_, lean_object* v___y_3912_, lean_object* v___y_3913_, lean_object* v___y_3914_, lean_object* v___y_3915_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(lean_object* v_e_3909_, lean_object* v_n_3910_, lean_object* v_a_3911_, lean_object* v_a_3912_, lean_object* v_a_3913_){ _start: { -lean_object* v___x_3917_; -v___x_3917_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v_name_3908_, v_msg_3909_, v___y_3912_, v___y_3913_, v___y_3914_, v___y_3915_); -return v___x_3917_; +lean_object* v___x_3915_; uint8_t v___x_3916_; +v___x_3915_ = lean_unsigned_to_nat(0u); +v___x_3916_ = lean_nat_dec_eq(v_n_3910_, v___x_3915_); +if (v___x_3916_ == 0) +{ +lean_object* v___x_3917_; lean_object* v_lctx_3918_; lean_object* v___x_3919_; lean_object* v___x_3920_; lean_object* v___x_3921_; lean_object* v___x_3922_; uint8_t v___x_3923_; lean_object* v___x_3924_; lean_object* v___x_3925_; lean_object* v___x_3926_; lean_object* v___x_3927_; lean_object* v___x_3928_; lean_object* v___y_3930_; lean_object* v___x_3940_; +v___x_3917_ = lean_st_ref_get(v_a_3911_); +v_lctx_3918_ = lean_ctor_get(v___x_3917_, 0); +lean_inc_ref(v_lctx_3918_); +lean_dec(v___x_3917_); +v___x_3919_ = lean_box(1); +v___x_3920_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_3921_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_3922_ = lean_box(0); +v___x_3923_ = 1; +v___x_3924_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_3924_, 0, v___x_3920_); +lean_ctor_set(v___x_3924_, 1, v___x_3919_); +lean_ctor_set(v___x_3924_, 2, v_lctx_3918_); +lean_ctor_set(v___x_3924_, 3, v___x_3921_); +lean_ctor_set(v___x_3924_, 4, v___x_3922_); +lean_ctor_set(v___x_3924_, 5, v___x_3915_); +lean_ctor_set(v___x_3924_, 6, v___x_3922_); +lean_ctor_set_uint8(v___x_3924_, sizeof(void*)*7, v___x_3916_); +lean_ctor_set_uint8(v___x_3924_, sizeof(void*)*7 + 1, v___x_3916_); +lean_ctor_set_uint8(v___x_3924_, sizeof(void*)*7 + 2, v___x_3916_); +lean_ctor_set_uint8(v___x_3924_, sizeof(void*)*7 + 3, v___x_3923_); +v___x_3925_ = lean_unsigned_to_nat(32u); +v___x_3926_ = lean_mk_empty_array_with_capacity(v___x_3925_); +lean_dec_ref(v___x_3926_); +v___x_3927_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_3928_ = lean_st_mk_ref(v___x_3927_); +lean_inc(v_a_3913_); +lean_inc_ref(v_a_3912_); +lean_inc(v___x_3928_); +lean_inc_ref(v___x_3924_); +lean_inc_ref(v_e_3909_); +v___x_3940_ = lean_infer_type(v_e_3909_, v___x_3924_, v___x_3928_, v_a_3912_, v_a_3913_); +if (lean_obj_tag(v___x_3940_) == 0) +{ +lean_object* v_a_3941_; lean_object* v___x_3943_; uint8_t v_isShared_3944_; uint8_t v_isSharedCheck_3952_; +v_a_3941_ = lean_ctor_get(v___x_3940_, 0); +v_isSharedCheck_3952_ = !lean_is_exclusive(v___x_3940_); +if (v_isSharedCheck_3952_ == 0) +{ +v___x_3943_ = v___x_3940_; +v_isShared_3944_ = v_isSharedCheck_3952_; +goto v_resetjp_3942_; +} +else +{ +lean_inc(v_a_3941_); +lean_dec(v___x_3940_); +v___x_3943_ = lean_box(0); +v_isShared_3944_ = v_isSharedCheck_3952_; +goto v_resetjp_3942_; +} +v_resetjp_3942_: +{ +lean_object* v___x_3945_; lean_object* v___x_3946_; lean_object* v___f_3947_; lean_object* v___x_3949_; +v___x_3945_ = lean_box(v___x_3916_); +v___x_3946_ = lean_box(v___x_3923_); +v___f_3947_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___lam__0___boxed), 10, 3); +lean_closure_set(v___f_3947_, 0, v_e_3909_); +lean_closure_set(v___f_3947_, 1, v___x_3945_); +lean_closure_set(v___f_3947_, 2, v___x_3946_); +if (v_isShared_3944_ == 0) +{ +lean_ctor_set_tag(v___x_3943_, 1); +lean_ctor_set(v___x_3943_, 0, v_n_3910_); +v___x_3949_ = v___x_3943_; +goto v_reusejp_3948_; +} +else +{ +lean_object* v_reuseFailAlloc_3951_; +v_reuseFailAlloc_3951_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3951_, 0, v_n_3910_); +v___x_3949_ = v_reuseFailAlloc_3951_; +goto v_reusejp_3948_; +} +v_reusejp_3948_: +{ +lean_object* v___x_3950_; +lean_inc(v___x_3928_); +v___x_3950_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg(v_a_3941_, v___x_3949_, v___f_3947_, v___x_3916_, v___x_3916_, v___x_3924_, v___x_3928_, v_a_3912_, v_a_3913_); +v___y_3930_ = v___x_3950_; +goto v___jp_3929_; } } -LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___boxed(lean_object* v_00_u03b1_3918_, lean_object* v_name_3919_, lean_object* v_msg_3920_, lean_object* v___y_3921_, lean_object* v___y_3922_, lean_object* v___y_3923_, lean_object* v___y_3924_, lean_object* v___y_3925_, lean_object* v___y_3926_, lean_object* v___y_3927_){ +} +else +{ +lean_dec_ref(v___x_3924_); +lean_dec(v_a_3913_); +lean_dec_ref(v_a_3912_); +lean_dec(v_n_3910_); +lean_dec_ref(v_e_3909_); +v___y_3930_ = v___x_3940_; +goto v___jp_3929_; +} +v___jp_3929_: +{ +if (lean_obj_tag(v___y_3930_) == 0) +{ +lean_object* v_a_3931_; lean_object* v___x_3933_; uint8_t v_isShared_3934_; uint8_t v_isSharedCheck_3939_; +v_a_3931_ = lean_ctor_get(v___y_3930_, 0); +v_isSharedCheck_3939_ = !lean_is_exclusive(v___y_3930_); +if (v_isSharedCheck_3939_ == 0) +{ +v___x_3933_ = v___y_3930_; +v_isShared_3934_ = v_isSharedCheck_3939_; +goto v_resetjp_3932_; +} +else +{ +lean_inc(v_a_3931_); +lean_dec(v___y_3930_); +v___x_3933_ = lean_box(0); +v_isShared_3934_ = v_isSharedCheck_3939_; +goto v_resetjp_3932_; +} +v_resetjp_3932_: +{ +lean_object* v___x_3935_; lean_object* v___x_3937_; +v___x_3935_ = lean_st_ref_get(v___x_3928_); +lean_dec(v___x_3928_); +lean_dec(v___x_3935_); +if (v_isShared_3934_ == 0) +{ +v___x_3937_ = v___x_3933_; +goto v_reusejp_3936_; +} +else +{ +lean_object* v_reuseFailAlloc_3938_; +v_reuseFailAlloc_3938_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3938_, 0, v_a_3931_); +v___x_3937_ = v_reuseFailAlloc_3938_; +goto v_reusejp_3936_; +} +v_reusejp_3936_: +{ +return v___x_3937_; +} +} +} +else +{ +lean_dec(v___x_3928_); +return v___y_3930_; +} +} +} +else +{ +lean_object* v___x_3953_; +lean_dec(v_a_3913_); +lean_dec_ref(v_a_3912_); +lean_dec(v_n_3910_); +v___x_3953_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3953_, 0, v_e_3909_); +return v___x_3953_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg___boxed(lean_object* v_e_3954_, lean_object* v_n_3955_, lean_object* v_a_3956_, lean_object* v_a_3957_, lean_object* v_a_3958_, lean_object* v_a_3959_){ _start: { -uint8_t v___y_10299__boxed_3928_; lean_object* v_res_3929_; -v___y_10299__boxed_3928_ = lean_unbox(v___y_3921_); -v_res_3929_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(v_00_u03b1_3918_, v_name_3919_, v_msg_3920_, v___y_10299__boxed_3928_, v___y_3922_, v___y_3923_, v___y_3924_, v___y_3925_, v___y_3926_); -lean_dec(v___y_3926_); -lean_dec_ref(v___y_3925_); -lean_dec(v___y_3924_); -lean_dec_ref(v___y_3923_); -lean_dec(v___y_3922_); -return v_res_3929_; +lean_object* v_res_3960_; +v_res_3960_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_3954_, v_n_3955_, v_a_3956_, v_a_3957_, v_a_3958_); +lean_dec(v_a_3956_); +return v_res_3960_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object* v_e_3961_, lean_object* v_n_3962_, lean_object* v_a_3963_, lean_object* v_a_3964_, lean_object* v_a_3965_, lean_object* v_a_3966_, lean_object* v_a_3967_, lean_object* v_a_3968_){ +_start: +{ +lean_object* v___x_3970_; +v___x_3970_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_3961_, v_n_3962_, v_a_3964_, v_a_3967_, v_a_3968_); +return v___x_3970_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___boxed(lean_object* v_e_3971_, lean_object* v_n_3972_, lean_object* v_a_3973_, lean_object* v_a_3974_, lean_object* v_a_3975_, lean_object* v_a_3976_, lean_object* v_a_3977_, lean_object* v_a_3978_, lean_object* v_a_3979_){ +_start: +{ +lean_object* v_res_3980_; +v_res_3980_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(v_e_3971_, v_n_3972_, v_a_3973_, v_a_3974_, v_a_3975_, v_a_3976_, v_a_3977_, v_a_3978_); +lean_dec(v_a_3976_); +lean_dec_ref(v_a_3975_); +lean_dec(v_a_3974_); +lean_dec_ref(v_a_3973_); +return v_res_3980_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(lean_object* v_name_3981_, lean_object* v_msg_3982_, lean_object* v___y_3983_, lean_object* v___y_3984_, lean_object* v___y_3985_, lean_object* v___y_3986_){ +_start: +{ +lean_object* v_options_3988_; lean_object* v_ref_3989_; lean_object* v___x_3990_; lean_object* v___x_3991_; lean_object* v___x_3992_; +v_options_3988_ = lean_ctor_get(v___y_3985_, 2); +v_ref_3989_ = lean_ctor_get(v___y_3985_, 5); +v___x_3990_ = lean_st_ref_get(v___y_3986_); +v___x_3991_ = lean_st_ref_get(v___y_3984_); +v___x_3992_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_3983_); +if (lean_obj_tag(v___x_3992_) == 0) +{ +lean_object* v_a_3993_; lean_object* v___x_3995_; uint8_t v_isShared_3996_; uint8_t v_isSharedCheck_4016_; +v_a_3993_ = lean_ctor_get(v___x_3992_, 0); +v_isSharedCheck_4016_ = !lean_is_exclusive(v___x_3992_); +if (v_isSharedCheck_4016_ == 0) +{ +v___x_3995_ = v___x_3992_; +v_isShared_3996_ = v_isSharedCheck_4016_; +goto v_resetjp_3994_; +} +else +{ +lean_inc(v_a_3993_); +lean_dec(v___x_3992_); +v___x_3995_ = lean_box(0); +v_isShared_3996_ = v_isSharedCheck_4016_; +goto v_resetjp_3994_; +} +v_resetjp_3994_: +{ +lean_object* v_env_3997_; lean_object* v_lctx_3998_; lean_object* v___x_4000_; uint8_t v_isShared_4001_; uint8_t v_isSharedCheck_4014_; +v_env_3997_ = lean_ctor_get(v___x_3990_, 0); +lean_inc_ref(v_env_3997_); +lean_dec(v___x_3990_); +v_lctx_3998_ = lean_ctor_get(v___x_3991_, 0); +v_isSharedCheck_4014_ = !lean_is_exclusive(v___x_3991_); +if (v_isSharedCheck_4014_ == 0) +{ +lean_object* v_unused_4015_; +v_unused_4015_ = lean_ctor_get(v___x_3991_, 1); +lean_dec(v_unused_4015_); +v___x_4000_ = v___x_3991_; +v_isShared_4001_ = v_isSharedCheck_4014_; +goto v_resetjp_3999_; +} +else +{ +lean_inc(v_lctx_3998_); +lean_dec(v___x_3991_); +v___x_4000_ = lean_box(0); +v_isShared_4001_ = v_isSharedCheck_4014_; +goto v_resetjp_3999_; +} +v_resetjp_3999_: +{ +lean_object* v_msg_4002_; uint8_t v___x_4003_; lean_object* v___x_4004_; lean_object* v___x_4005_; lean_object* v___x_4006_; lean_object* v___x_4008_; +v_msg_4002_ = l_Lean_MessageData_tagWithErrorName(v_msg_3982_, v_name_3981_); +v___x_4003_ = lean_unbox(v_a_3993_); +lean_dec(v_a_3993_); +v___x_4004_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_3998_, v___x_4003_); +lean_dec_ref(v_lctx_3998_); +v___x_4005_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); +lean_inc_ref(v_options_3988_); +v___x_4006_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_4006_, 0, v_env_3997_); +lean_ctor_set(v___x_4006_, 1, v___x_4005_); +lean_ctor_set(v___x_4006_, 2, v___x_4004_); +lean_ctor_set(v___x_4006_, 3, v_options_3988_); +if (v_isShared_4001_ == 0) +{ +lean_ctor_set_tag(v___x_4000_, 3); +lean_ctor_set(v___x_4000_, 1, v_msg_4002_); +lean_ctor_set(v___x_4000_, 0, v___x_4006_); +v___x_4008_ = v___x_4000_; +goto v_reusejp_4007_; +} +else +{ +lean_object* v_reuseFailAlloc_4013_; +v_reuseFailAlloc_4013_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4013_, 0, v___x_4006_); +lean_ctor_set(v_reuseFailAlloc_4013_, 1, v_msg_4002_); +v___x_4008_ = v_reuseFailAlloc_4013_; +goto v_reusejp_4007_; +} +v_reusejp_4007_: +{ +lean_object* v___x_4009_; lean_object* v___x_4011_; +lean_inc(v_ref_3989_); +v___x_4009_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4009_, 0, v_ref_3989_); +lean_ctor_set(v___x_4009_, 1, v___x_4008_); +if (v_isShared_3996_ == 0) +{ +lean_ctor_set_tag(v___x_3995_, 1); +lean_ctor_set(v___x_3995_, 0, v___x_4009_); +v___x_4011_ = v___x_3995_; +goto v_reusejp_4010_; +} +else +{ +lean_object* v_reuseFailAlloc_4012_; +v_reuseFailAlloc_4012_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4012_, 0, v___x_4009_); +v___x_4011_ = v_reuseFailAlloc_4012_; +goto v_reusejp_4010_; +} +v_reusejp_4010_: +{ +return v___x_4011_; +} +} +} +} +} +else +{ +lean_object* v_a_4017_; lean_object* v___x_4019_; uint8_t v_isShared_4020_; uint8_t v_isSharedCheck_4024_; +lean_dec(v___x_3991_); +lean_dec(v___x_3990_); +lean_dec_ref(v_msg_3982_); +lean_dec(v_name_3981_); +v_a_4017_ = lean_ctor_get(v___x_3992_, 0); +v_isSharedCheck_4024_ = !lean_is_exclusive(v___x_3992_); +if (v_isSharedCheck_4024_ == 0) +{ +v___x_4019_ = v___x_3992_; +v_isShared_4020_ = v_isSharedCheck_4024_; +goto v_resetjp_4018_; +} +else +{ +lean_inc(v_a_4017_); +lean_dec(v___x_3992_); +v___x_4019_ = lean_box(0); +v_isShared_4020_ = v_isSharedCheck_4024_; +goto v_resetjp_4018_; +} +v_resetjp_4018_: +{ +lean_object* v___x_4022_; +if (v_isShared_4020_ == 0) +{ +v___x_4022_ = v___x_4019_; +goto v_reusejp_4021_; +} +else +{ +lean_object* v_reuseFailAlloc_4023_; +v_reuseFailAlloc_4023_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4023_, 0, v_a_4017_); +v___x_4022_ = v_reuseFailAlloc_4023_; +goto v_reusejp_4021_; +} +v_reusejp_4021_: +{ +return v___x_4022_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg___boxed(lean_object* v_name_4025_, lean_object* v_msg_4026_, lean_object* v___y_4027_, lean_object* v___y_4028_, lean_object* v___y_4029_, lean_object* v___y_4030_, lean_object* v___y_4031_){ +_start: +{ +lean_object* v_res_4032_; +v_res_4032_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v_name_4025_, v_msg_4026_, v___y_4027_, v___y_4028_, v___y_4029_, v___y_4030_); +lean_dec(v___y_4030_); +lean_dec_ref(v___y_4029_); +lean_dec(v___y_4028_); +lean_dec_ref(v___y_4027_); +return v_res_4032_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(lean_object* v_00_u03b1_4033_, lean_object* v_name_4034_, lean_object* v_msg_4035_, lean_object* v___y_4036_, lean_object* v___y_4037_, lean_object* v___y_4038_, lean_object* v___y_4039_, lean_object* v___y_4040_, lean_object* v___y_4041_){ +_start: +{ +lean_object* v___x_4043_; +v___x_4043_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v_name_4034_, v_msg_4035_, v___y_4038_, v___y_4039_, v___y_4040_, v___y_4041_); +return v___x_4043_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___boxed(lean_object* v_00_u03b1_4044_, lean_object* v_name_4045_, lean_object* v_msg_4046_, lean_object* v___y_4047_, lean_object* v___y_4048_, lean_object* v___y_4049_, lean_object* v___y_4050_, lean_object* v___y_4051_, lean_object* v___y_4052_, lean_object* v___y_4053_){ +_start: +{ +lean_object* v_res_4054_; +v_res_4054_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0(v_00_u03b1_4044_, v_name_4045_, v_msg_4046_, v___y_4047_, v___y_4048_, v___y_4049_, v___y_4050_, v___y_4051_, v___y_4052_); +lean_dec(v___y_4052_); +lean_dec_ref(v___y_4051_); +lean_dec(v___y_4050_); +lean_dec_ref(v___y_4049_); +lean_dec(v___y_4048_); +lean_dec_ref(v___y_4047_); +return v_res_4054_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8(void){ _start: { -lean_object* v___x_3942_; lean_object* v___x_3943_; -v___x_3942_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__7)); -v___x_3943_ = l_Lean_stringToMessageData(v___x_3942_); -return v___x_3943_; +lean_object* v___x_4067_; lean_object* v___x_4068_; +v___x_4067_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__7)); +v___x_4068_ = l_Lean_stringToMessageData(v___x_4067_); +return v___x_4068_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10(void){ _start: { -lean_object* v___x_3945_; lean_object* v___x_3946_; -v___x_3945_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__9)); -v___x_3946_ = l_Lean_stringToMessageData(v___x_3945_); -return v___x_3946_; +lean_object* v___x_4070_; lean_object* v___x_4071_; +v___x_4070_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__9)); +v___x_4071_ = l_Lean_stringToMessageData(v___x_4070_); +return v___x_4071_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(lean_object* v_ref_3950_, uint8_t v_a_3951_, lean_object* v_a_3952_, lean_object* v_a_3953_, lean_object* v_a_3954_, lean_object* v_a_3955_, lean_object* v_a_3956_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(lean_object* v_ref_4075_, lean_object* v_a_4076_, lean_object* v_a_4077_, lean_object* v_a_4078_, lean_object* v_a_4079_, lean_object* v_a_4080_, lean_object* v_a_4081_){ _start: { -uint8_t v___y_3959_; uint8_t v___y_3970_; -if (v_a_3951_ == 0) +uint8_t v___y_4084_; uint8_t v___y_4095_; uint8_t v_ignoreNoncomputable_4098_; +v_ignoreNoncomputable_4098_ = lean_ctor_get_uint8(v_a_4076_, sizeof(void*)*1); +if (v_ignoreNoncomputable_4098_ == 0) { -lean_object* v___x_3973_; lean_object* v___x_3974_; lean_object* v_env_3978_; lean_object* v_env_3979_; uint8_t v___x_3980_; -v___x_3973_ = lean_st_ref_get(v_a_3956_); -v___x_3974_ = lean_st_ref_get(v_a_3956_); -v_env_3978_ = lean_ctor_get(v___x_3973_, 0); -lean_inc_ref(v_env_3978_); -lean_dec(v___x_3973_); -v_env_3979_ = lean_ctor_get(v___x_3974_, 0); -lean_inc_ref(v_env_3979_); -lean_dec(v___x_3974_); -v___x_3980_ = 1; -if (lean_obj_tag(v_ref_3950_) == 1) +lean_object* v___x_4099_; lean_object* v___x_4100_; lean_object* v_env_4104_; lean_object* v_env_4105_; uint8_t v___x_4106_; +v___x_4099_ = lean_st_ref_get(v_a_4081_); +v___x_4100_ = lean_st_ref_get(v_a_4081_); +v_env_4104_ = lean_ctor_get(v___x_4099_, 0); +lean_inc_ref(v_env_4104_); +lean_dec(v___x_4099_); +v_env_4105_ = lean_ctor_get(v___x_4100_, 0); +lean_inc_ref(v_env_4105_); +lean_dec(v___x_4100_); +v___x_4106_ = 1; +if (lean_obj_tag(v_ref_4075_) == 1) { -lean_object* v_pre_4002_; -v_pre_4002_ = lean_ctor_get(v_ref_3950_, 0); -if (lean_obj_tag(v_pre_4002_) == 1) +lean_object* v_pre_4128_; +v_pre_4128_ = lean_ctor_get(v_ref_4075_, 0); +if (lean_obj_tag(v_pre_4128_) == 1) { -lean_object* v_pre_4003_; -v_pre_4003_ = lean_ctor_get(v_pre_4002_, 0); -if (lean_obj_tag(v_pre_4003_) == 0) +lean_object* v_pre_4129_; +v_pre_4129_ = lean_ctor_get(v_pre_4128_, 0); +if (lean_obj_tag(v_pre_4129_) == 0) { -lean_object* v_str_4004_; lean_object* v_str_4005_; lean_object* v___x_4006_; uint8_t v___x_4007_; -v_str_4004_ = lean_ctor_get(v_ref_3950_, 1); -v_str_4005_ = lean_ctor_get(v_pre_4002_, 1); -v___x_4006_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__11)); -v___x_4007_ = lean_string_dec_eq(v_str_4005_, v___x_4006_); -if (v___x_4007_ == 0) +lean_object* v_str_4130_; lean_object* v_str_4131_; lean_object* v___x_4132_; uint8_t v___x_4133_; +v_str_4130_ = lean_ctor_get(v_ref_4075_, 1); +v_str_4131_ = lean_ctor_get(v_pre_4128_, 1); +v___x_4132_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__11)); +v___x_4133_ = lean_string_dec_eq(v_str_4131_, v___x_4132_); +if (v___x_4133_ == 0) { -goto v___jp_3981_; +goto v___jp_4107_; } else { -lean_object* v___x_4008_; uint8_t v___x_4009_; -v___x_4008_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__12)); -v___x_4009_ = lean_string_dec_eq(v_str_4004_, v___x_4008_); -if (v___x_4009_ == 0) +lean_object* v___x_4134_; uint8_t v___x_4135_; +v___x_4134_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__12)); +v___x_4135_ = lean_string_dec_eq(v_str_4130_, v___x_4134_); +if (v___x_4135_ == 0) { -lean_object* v___x_4010_; uint8_t v___x_4011_; -v___x_4010_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13)); -v___x_4011_ = lean_string_dec_eq(v_str_4004_, v___x_4010_); -if (v___x_4011_ == 0) +lean_object* v___x_4136_; uint8_t v___x_4137_; +v___x_4136_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__13)); +v___x_4137_ = lean_string_dec_eq(v_str_4130_, v___x_4136_); +if (v___x_4137_ == 0) { -goto v___jp_3981_; +goto v___jp_4107_; } else { -lean_dec_ref(v_ref_3950_); -lean_dec_ref(v_env_3979_); -lean_dec_ref(v_env_3978_); -goto v___jp_3975_; +lean_dec_ref(v_ref_4075_); +lean_dec_ref(v_env_4105_); +lean_dec_ref(v_env_4104_); +goto v___jp_4101_; } } else { -lean_dec_ref(v_ref_3950_); -lean_dec_ref(v_env_3979_); -lean_dec_ref(v_env_3978_); -goto v___jp_3975_; +lean_dec_ref(v_ref_4075_); +lean_dec_ref(v_env_4105_); +lean_dec_ref(v_env_4104_); +goto v___jp_4101_; } } } else { -goto v___jp_3981_; +goto v___jp_4107_; } } else { -goto v___jp_3981_; +goto v___jp_4107_; } } else { -goto v___jp_3981_; +goto v___jp_4107_; } -v___jp_3975_: +v___jp_4101_: { -lean_object* v___x_3976_; lean_object* v___x_3977_; -v___x_3976_ = lean_box(0); -v___x_3977_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3977_, 0, v___x_3976_); -return v___x_3977_; +lean_object* v___x_4102_; lean_object* v___x_4103_; +v___x_4102_ = lean_box(0); +v___x_4103_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4103_, 0, v___x_4102_); +return v___x_4103_; } -v___jp_3981_: +v___jp_4107_: { -uint8_t v___x_3982_; -lean_inc(v_ref_3950_); -v___x_3982_ = l_Lean_isExtern(v_env_3978_, v_ref_3950_); -if (v___x_3982_ == 0) +uint8_t v___x_4108_; +lean_inc(v_ref_4075_); +v___x_4108_ = l_Lean_isExtern(v_env_4104_, v_ref_4075_); +if (v___x_4108_ == 0) { -lean_object* v___x_3983_; -lean_inc(v_ref_3950_); -v___x_3983_ = l_Lean_Compiler_getImplementedBy_x3f(v_env_3979_, v_ref_3950_); -if (lean_obj_tag(v___x_3983_) == 0) +lean_object* v___x_4109_; +lean_inc(v_ref_4075_); +v___x_4109_ = l_Lean_Compiler_getImplementedBy_x3f(v_env_4105_, v_ref_4075_); +if (lean_obj_tag(v___x_4109_) == 0) { -lean_object* v___x_3984_; lean_object* v_env_3985_; lean_object* v___x_3986_; lean_object* v_toEnvExtension_3987_; lean_object* v_asyncMode_3988_; uint8_t v___x_3989_; -v___x_3984_ = lean_st_ref_get(v_a_3956_); -v_env_3985_ = lean_ctor_get(v___x_3984_, 0); -lean_inc_ref(v_env_3985_); -lean_dec(v___x_3984_); -v___x_3986_ = l_Lean_noncomputableExt; -v_toEnvExtension_3987_ = lean_ctor_get(v___x_3986_, 0); -lean_inc_ref(v_toEnvExtension_3987_); -v_asyncMode_3988_ = lean_ctor_get(v_toEnvExtension_3987_, 2); -lean_inc(v_asyncMode_3988_); -lean_dec_ref(v_toEnvExtension_3987_); -lean_inc(v_ref_3950_); -v___x_3989_ = l_Lean_isNoncomputable(v_env_3985_, v_ref_3950_, v_asyncMode_3988_); -lean_dec(v_asyncMode_3988_); -if (v___x_3989_ == 0) +lean_object* v___x_4110_; lean_object* v_env_4111_; lean_object* v___x_4112_; lean_object* v_toEnvExtension_4113_; lean_object* v_asyncMode_4114_; uint8_t v___x_4115_; +v___x_4110_ = lean_st_ref_get(v_a_4081_); +v_env_4111_ = lean_ctor_get(v___x_4110_, 0); +lean_inc_ref(v_env_4111_); +lean_dec(v___x_4110_); +v___x_4112_ = l_Lean_noncomputableExt; +v_toEnvExtension_4113_ = lean_ctor_get(v___x_4112_, 0); +lean_inc_ref(v_toEnvExtension_4113_); +v_asyncMode_4114_ = lean_ctor_get(v_toEnvExtension_4113_, 2); +lean_inc(v_asyncMode_4114_); +lean_dec_ref(v_toEnvExtension_4113_); +lean_inc(v_ref_4075_); +v___x_4115_ = l_Lean_isNoncomputable(v_env_4111_, v_ref_4075_, v_asyncMode_4114_); +lean_dec(v_asyncMode_4114_); +if (v___x_4115_ == 0) { -lean_object* v___x_3990_; lean_object* v_env_3991_; lean_object* v___x_3992_; -v___x_3990_ = lean_st_ref_get(v_a_3956_); -v_env_3991_ = lean_ctor_get(v___x_3990_, 0); -lean_inc_ref(v_env_3991_); -lean_dec(v___x_3990_); -lean_inc(v_ref_3950_); -v___x_3992_ = l_Lean_getOriginalConstKind_x3f(v_env_3991_, v_ref_3950_); -if (lean_obj_tag(v___x_3992_) == 1) +lean_object* v___x_4116_; lean_object* v_env_4117_; lean_object* v___x_4118_; +v___x_4116_ = lean_st_ref_get(v_a_4081_); +v_env_4117_ = lean_ctor_get(v___x_4116_, 0); +lean_inc_ref(v_env_4117_); +lean_dec(v___x_4116_); +lean_inc(v_ref_4075_); +v___x_4118_ = l_Lean_getOriginalConstKind_x3f(v_env_4117_, v_ref_4075_); +if (lean_obj_tag(v___x_4118_) == 1) { -lean_object* v_val_3993_; uint8_t v___x_3994_; -v_val_3993_ = lean_ctor_get(v___x_3992_, 0); -lean_inc(v_val_3993_); -lean_dec_ref(v___x_3992_); -v___x_3994_ = lean_unbox(v_val_3993_); -lean_dec(v_val_3993_); -switch(v___x_3994_) +lean_object* v_val_4119_; uint8_t v___x_4120_; +v_val_4119_ = lean_ctor_get(v___x_4118_, 0); +lean_inc(v_val_4119_); +lean_dec_ref(v___x_4118_); +v___x_4120_ = lean_unbox(v_val_4119_); +lean_dec(v_val_4119_); +switch(v___x_4120_) { case 2: { -v___y_3959_ = v___x_3980_; -goto v___jp_3958_; +v___y_4084_ = v___x_4106_; +goto v___jp_4083_; } case 4: { -v___y_3959_ = v___x_3980_; -goto v___jp_3958_; +v___y_4084_ = v___x_4106_; +goto v___jp_4083_; } case 5: { -v___y_3959_ = v___x_3980_; -goto v___jp_3958_; +v___y_4084_ = v___x_4106_; +goto v___jp_4083_; } case 1: { -v___y_3959_ = v___x_3980_; -goto v___jp_3958_; +v___y_4084_ = v___x_4106_; +goto v___jp_4083_; } default: { -v___y_3970_ = v___x_3989_; -goto v___jp_3969_; +v___y_4095_ = v___x_4115_; +goto v___jp_4094_; } } } else { -lean_dec(v___x_3992_); -v___y_3970_ = v___x_3989_; -goto v___jp_3969_; +lean_dec(v___x_4118_); +v___y_4095_ = v___x_4115_; +goto v___jp_4094_; } } else { -lean_object* v___x_3995_; lean_object* v___x_3996_; lean_object* v___x_3997_; lean_object* v___x_3998_; lean_object* v___x_3999_; lean_object* v___x_4000_; lean_object* v___x_4001_; -v___x_3995_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__2)); -v___x_3996_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8); -v___x_3997_ = l_Lean_MessageData_ofConstName(v_ref_3950_, v___x_3982_); -v___x_3998_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3998_, 0, v___x_3996_); -lean_ctor_set(v___x_3998_, 1, v___x_3997_); -v___x_3999_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10); -v___x_4000_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_4000_, 0, v___x_3998_); -lean_ctor_set(v___x_4000_, 1, v___x_3999_); -v___x_4001_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v___x_3995_, v___x_4000_, v_a_3953_, v_a_3954_, v_a_3955_, v_a_3956_); -return v___x_4001_; +lean_object* v___x_4121_; lean_object* v___x_4122_; lean_object* v___x_4123_; lean_object* v___x_4124_; lean_object* v___x_4125_; lean_object* v___x_4126_; lean_object* v___x_4127_; +v___x_4121_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__2)); +v___x_4122_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__8); +v___x_4123_ = l_Lean_MessageData_ofConstName(v_ref_4075_, v___x_4108_); +v___x_4124_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4124_, 0, v___x_4122_); +lean_ctor_set(v___x_4124_, 1, v___x_4123_); +v___x_4125_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__10); +v___x_4126_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4126_, 0, v___x_4124_); +lean_ctor_set(v___x_4126_, 1, v___x_4125_); +v___x_4127_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v___x_4121_, v___x_4126_, v_a_4078_, v_a_4079_, v_a_4080_, v_a_4081_); +return v___x_4127_; } } else { -lean_dec_ref(v___x_3983_); -lean_dec(v_ref_3950_); -goto v___jp_3975_; +lean_dec_ref(v___x_4109_); +lean_dec(v_ref_4075_); +goto v___jp_4101_; } } else { -lean_dec_ref(v_env_3979_); -lean_dec(v_ref_3950_); -goto v___jp_3975_; +lean_dec_ref(v_env_4105_); +lean_dec(v_ref_4075_); +goto v___jp_4101_; } } } else { -lean_object* v___x_4012_; lean_object* v___x_4013_; -lean_dec(v_ref_3950_); -v___x_4012_ = lean_box(0); -v___x_4013_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4013_, 0, v___x_4012_); -return v___x_4013_; +lean_object* v___x_4138_; lean_object* v___x_4139_; +lean_dec(v_ref_4075_); +v___x_4138_ = lean_box(0); +v___x_4139_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4139_, 0, v___x_4138_); +return v___x_4139_; } -v___jp_3958_: +v___jp_4083_: { -lean_object* v___x_3960_; lean_object* v___x_3961_; lean_object* v___x_3962_; lean_object* v___x_3963_; lean_object* v___x_3964_; lean_object* v___x_3965_; lean_object* v___x_3966_; lean_object* v___x_3967_; lean_object* v___x_3968_; -v___x_3960_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__2)); -v___x_3961_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__4)); -v___x_3962_ = l_Lean_Name_toString(v_ref_3950_, v___y_3959_); -v___x_3963_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_3963_, 0, v___x_3962_); -v___x_3964_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_3964_, 0, v___x_3961_); -lean_ctor_set(v___x_3964_, 1, v___x_3963_); -v___x_3965_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__6)); -v___x_3966_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_3966_, 0, v___x_3964_); -lean_ctor_set(v___x_3966_, 1, v___x_3965_); -v___x_3967_ = l_Lean_MessageData_ofFormat(v___x_3966_); -v___x_3968_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v___x_3960_, v___x_3967_, v_a_3953_, v_a_3954_, v_a_3955_, v_a_3956_); -return v___x_3968_; +lean_object* v___x_4085_; lean_object* v___x_4086_; lean_object* v___x_4087_; lean_object* v___x_4088_; lean_object* v___x_4089_; lean_object* v___x_4090_; lean_object* v___x_4091_; lean_object* v___x_4092_; lean_object* v___x_4093_; +v___x_4085_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__2)); +v___x_4086_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__4)); +v___x_4087_ = l_Lean_Name_toString(v_ref_4075_, v___y_4084_); +v___x_4088_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_4088_, 0, v___x_4087_); +v___x_4089_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_4089_, 0, v___x_4086_); +lean_ctor_set(v___x_4089_, 1, v___x_4088_); +v___x_4090_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__6)); +v___x_4091_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_4091_, 0, v___x_4089_); +lean_ctor_set(v___x_4091_, 1, v___x_4090_); +v___x_4092_ = l_Lean_MessageData_ofFormat(v___x_4091_); +v___x_4093_ = l_Lean_throwNamedError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable_spec__0___redArg(v___x_4085_, v___x_4092_, v_a_4078_, v_a_4079_, v_a_4080_, v_a_4081_); +return v___x_4093_; } -v___jp_3969_: +v___jp_4094_: { -if (v___y_3970_ == 0) +if (v___y_4095_ == 0) { -lean_object* v___x_3971_; lean_object* v___x_3972_; -lean_dec(v_ref_3950_); -v___x_3971_ = lean_box(0); -v___x_3972_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3972_, 0, v___x_3971_); -return v___x_3972_; +lean_object* v___x_4096_; lean_object* v___x_4097_; +lean_dec(v_ref_4075_); +v___x_4096_ = lean_box(0); +v___x_4097_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4097_, 0, v___x_4096_); +return v___x_4097_; } else { -v___y_3959_ = v___y_3970_; -goto v___jp_3958_; +v___y_4084_ = v___y_4095_; +goto v___jp_4083_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___boxed(lean_object* v_ref_4014_, lean_object* v_a_4015_, lean_object* v_a_4016_, lean_object* v_a_4017_, lean_object* v_a_4018_, lean_object* v_a_4019_, lean_object* v_a_4020_, lean_object* v_a_4021_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___boxed(lean_object* v_ref_4140_, lean_object* v_a_4141_, lean_object* v_a_4142_, lean_object* v_a_4143_, lean_object* v_a_4144_, lean_object* v_a_4145_, lean_object* v_a_4146_, lean_object* v_a_4147_){ _start: { -uint8_t v_a_10367__boxed_4022_; lean_object* v_res_4023_; -v_a_10367__boxed_4022_ = lean_unbox(v_a_4015_); -v_res_4023_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(v_ref_4014_, v_a_10367__boxed_4022_, v_a_4016_, v_a_4017_, v_a_4018_, v_a_4019_, v_a_4020_); -lean_dec(v_a_4020_); -lean_dec_ref(v_a_4019_); -lean_dec(v_a_4018_); -lean_dec_ref(v_a_4017_); -lean_dec(v_a_4016_); -return v_res_4023_; +lean_object* v_res_4148_; +v_res_4148_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(v_ref_4140_, v_a_4141_, v_a_4142_, v_a_4143_, v_a_4144_, v_a_4145_, v_a_4146_); +lean_dec(v_a_4146_); +lean_dec_ref(v_a_4145_); +lean_dec(v_a_4144_); +lean_dec_ref(v_a_4143_); +lean_dec(v_a_4142_); +lean_dec_ref(v_a_4141_); +return v_res_4148_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object* v_e_4024_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object* v_e_4149_){ _start: { -if (lean_obj_tag(v_e_4024_) == 6) +if (lean_obj_tag(v_e_4149_) == 6) { -lean_object* v_binderName_4025_; lean_object* v_binderType_4026_; lean_object* v_body_4027_; uint8_t v_binderInfo_4028_; uint8_t v___x_4029_; -v_binderName_4025_ = lean_ctor_get(v_e_4024_, 0); -v_binderType_4026_ = lean_ctor_get(v_e_4024_, 1); -v_body_4027_ = lean_ctor_get(v_e_4024_, 2); -v_binderInfo_4028_ = lean_ctor_get_uint8(v_e_4024_, sizeof(void*)*3 + 8); -v___x_4029_ = l_Lean_BinderInfo_isImplicit(v_binderInfo_4028_); -if (v___x_4029_ == 0) +lean_object* v_binderName_4150_; lean_object* v_binderType_4151_; lean_object* v_body_4152_; uint8_t v_binderInfo_4153_; uint8_t v___x_4154_; +v_binderName_4150_ = lean_ctor_get(v_e_4149_, 0); +v_binderType_4151_ = lean_ctor_get(v_e_4149_, 1); +v_body_4152_ = lean_ctor_get(v_e_4149_, 2); +v_binderInfo_4153_ = lean_ctor_get_uint8(v_e_4149_, sizeof(void*)*3 + 8); +v___x_4154_ = l_Lean_BinderInfo_isImplicit(v_binderInfo_4153_); +if (v___x_4154_ == 0) { -return v_e_4024_; +return v_e_4149_; } else { -lean_object* v_b_x27_4030_; uint8_t v___y_4032_; uint8_t v___y_4043_; -lean_inc_ref(v_body_4027_); -v_b_x27_4030_ = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(v_body_4027_); -if (lean_obj_tag(v_b_x27_4030_) == 5) +lean_object* v_b_x27_4155_; uint8_t v___y_4157_; uint8_t v___y_4168_; +lean_inc_ref(v_body_4152_); +v_b_x27_4155_ = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(v_body_4152_); +if (lean_obj_tag(v_b_x27_4155_) == 5) { -lean_object* v_arg_4053_; -v_arg_4053_ = lean_ctor_get(v_b_x27_4030_, 1); -lean_inc_ref(v_arg_4053_); -if (lean_obj_tag(v_arg_4053_) == 0) +lean_object* v_arg_4178_; +v_arg_4178_ = lean_ctor_get(v_b_x27_4155_, 1); +lean_inc_ref(v_arg_4178_); +if (lean_obj_tag(v_arg_4178_) == 0) { -lean_object* v_fn_4054_; lean_object* v_deBruijnIndex_4055_; lean_object* v___x_4056_; uint8_t v___x_4057_; -v_fn_4054_ = lean_ctor_get(v_b_x27_4030_, 0); -lean_inc_ref(v_fn_4054_); -v_deBruijnIndex_4055_ = lean_ctor_get(v_arg_4053_, 0); -lean_inc(v_deBruijnIndex_4055_); -lean_dec_ref(v_arg_4053_); -v___x_4056_ = lean_unsigned_to_nat(0u); -v___x_4057_ = lean_nat_dec_eq(v_deBruijnIndex_4055_, v___x_4056_); -lean_dec(v_deBruijnIndex_4055_); -if (v___x_4057_ == 0) +lean_object* v_fn_4179_; lean_object* v_deBruijnIndex_4180_; lean_object* v___x_4181_; uint8_t v___x_4182_; +v_fn_4179_ = lean_ctor_get(v_b_x27_4155_, 0); +lean_inc_ref(v_fn_4179_); +v_deBruijnIndex_4180_ = lean_ctor_get(v_arg_4178_, 0); +lean_inc(v_deBruijnIndex_4180_); +lean_dec_ref(v_arg_4178_); +v___x_4181_ = lean_unsigned_to_nat(0u); +v___x_4182_ = lean_nat_dec_eq(v_deBruijnIndex_4180_, v___x_4181_); +lean_dec(v_deBruijnIndex_4180_); +if (v___x_4182_ == 0) { -lean_dec_ref(v_fn_4054_); -goto v___jp_4047_; +lean_dec_ref(v_fn_4179_); +goto v___jp_4172_; } else { -uint8_t v___x_4058_; -v___x_4058_ = lean_expr_has_loose_bvar(v_fn_4054_, v___x_4056_); -if (v___x_4058_ == 0) +uint8_t v___x_4183_; +v___x_4183_ = lean_expr_has_loose_bvar(v_fn_4179_, v___x_4181_); +if (v___x_4183_ == 0) { -if (v___x_4029_ == 0) +if (v___x_4154_ == 0) { -lean_dec_ref(v_fn_4054_); -goto v___jp_4036_; +lean_dec_ref(v_fn_4179_); +goto v___jp_4161_; } else { -lean_object* v___x_4059_; lean_object* v___x_4060_; -lean_dec_ref(v_b_x27_4030_); -lean_dec_ref(v_e_4024_); -v___x_4059_ = lean_unsigned_to_nat(1u); -v___x_4060_ = lean_expr_lower_loose_bvars(v_fn_4054_, v___x_4059_, v___x_4059_); -lean_dec_ref(v_fn_4054_); -return v___x_4060_; +lean_object* v___x_4184_; lean_object* v___x_4185_; +lean_dec_ref(v_b_x27_4155_); +lean_dec_ref(v_e_4149_); +v___x_4184_ = lean_unsigned_to_nat(1u); +v___x_4185_ = lean_expr_lower_loose_bvars(v_fn_4179_, v___x_4184_, v___x_4184_); +lean_dec_ref(v_fn_4179_); +return v___x_4185_; } } else { -lean_dec_ref(v_fn_4054_); -goto v___jp_4036_; +lean_dec_ref(v_fn_4179_); +goto v___jp_4161_; } } } else { -lean_dec_ref(v_arg_4053_); -goto v___jp_4047_; +lean_dec_ref(v_arg_4178_); +goto v___jp_4172_; } } else { -goto v___jp_4047_; +goto v___jp_4172_; } -v___jp_4031_: +v___jp_4156_: { -if (v___y_4032_ == 0) +if (v___y_4157_ == 0) { -lean_object* v___x_4033_; -lean_inc_ref(v_binderType_4026_); -lean_inc(v_binderName_4025_); -lean_dec_ref(v_e_4024_); -v___x_4033_ = l_Lean_Expr_lam___override(v_binderName_4025_, v_binderType_4026_, v_b_x27_4030_, v_binderInfo_4028_); -return v___x_4033_; +lean_object* v___x_4158_; +lean_inc_ref(v_binderType_4151_); +lean_inc(v_binderName_4150_); +lean_dec_ref(v_e_4149_); +v___x_4158_ = l_Lean_Expr_lam___override(v_binderName_4150_, v_binderType_4151_, v_b_x27_4155_, v_binderInfo_4153_); +return v___x_4158_; } else { -uint8_t v___x_4034_; -v___x_4034_ = l_Lean_instBEqBinderInfo_beq(v_binderInfo_4028_, v_binderInfo_4028_); -if (v___x_4034_ == 0) +uint8_t v___x_4159_; +v___x_4159_ = l_Lean_instBEqBinderInfo_beq(v_binderInfo_4153_, v_binderInfo_4153_); +if (v___x_4159_ == 0) { -lean_object* v___x_4035_; -lean_inc_ref(v_binderType_4026_); -lean_inc(v_binderName_4025_); -lean_dec_ref(v_e_4024_); -v___x_4035_ = l_Lean_Expr_lam___override(v_binderName_4025_, v_binderType_4026_, v_b_x27_4030_, v_binderInfo_4028_); -return v___x_4035_; +lean_object* v___x_4160_; +lean_inc_ref(v_binderType_4151_); +lean_inc(v_binderName_4150_); +lean_dec_ref(v_e_4149_); +v___x_4160_ = l_Lean_Expr_lam___override(v_binderName_4150_, v_binderType_4151_, v_b_x27_4155_, v_binderInfo_4153_); +return v___x_4160_; } else { -lean_dec_ref(v_b_x27_4030_); -return v_e_4024_; +lean_dec_ref(v_b_x27_4155_); +return v_e_4149_; } } } -v___jp_4036_: +v___jp_4161_: { -size_t v___x_4037_; uint8_t v___x_4038_; -v___x_4037_ = lean_ptr_addr(v_binderType_4026_); -v___x_4038_ = lean_usize_dec_eq(v___x_4037_, v___x_4037_); -if (v___x_4038_ == 0) +size_t v___x_4162_; uint8_t v___x_4163_; +v___x_4162_ = lean_ptr_addr(v_binderType_4151_); +v___x_4163_ = lean_usize_dec_eq(v___x_4162_, v___x_4162_); +if (v___x_4163_ == 0) { -v___y_4032_ = v___x_4038_; -goto v___jp_4031_; +v___y_4157_ = v___x_4163_; +goto v___jp_4156_; } else { -size_t v___x_4039_; size_t v___x_4040_; uint8_t v___x_4041_; -v___x_4039_ = lean_ptr_addr(v_body_4027_); -v___x_4040_ = lean_ptr_addr(v_b_x27_4030_); -v___x_4041_ = lean_usize_dec_eq(v___x_4039_, v___x_4040_); -v___y_4032_ = v___x_4041_; -goto v___jp_4031_; +size_t v___x_4164_; size_t v___x_4165_; uint8_t v___x_4166_; +v___x_4164_ = lean_ptr_addr(v_body_4152_); +v___x_4165_ = lean_ptr_addr(v_b_x27_4155_); +v___x_4166_ = lean_usize_dec_eq(v___x_4164_, v___x_4165_); +v___y_4157_ = v___x_4166_; +goto v___jp_4156_; } } -v___jp_4042_: +v___jp_4167_: { -if (v___y_4043_ == 0) +if (v___y_4168_ == 0) { -lean_object* v___x_4044_; -lean_inc_ref(v_binderType_4026_); -lean_inc(v_binderName_4025_); -lean_dec_ref(v_e_4024_); -v___x_4044_ = l_Lean_Expr_lam___override(v_binderName_4025_, v_binderType_4026_, v_b_x27_4030_, v_binderInfo_4028_); -return v___x_4044_; +lean_object* v___x_4169_; +lean_inc_ref(v_binderType_4151_); +lean_inc(v_binderName_4150_); +lean_dec_ref(v_e_4149_); +v___x_4169_ = l_Lean_Expr_lam___override(v_binderName_4150_, v_binderType_4151_, v_b_x27_4155_, v_binderInfo_4153_); +return v___x_4169_; } else { -uint8_t v___x_4045_; -v___x_4045_ = l_Lean_instBEqBinderInfo_beq(v_binderInfo_4028_, v_binderInfo_4028_); -if (v___x_4045_ == 0) +uint8_t v___x_4170_; +v___x_4170_ = l_Lean_instBEqBinderInfo_beq(v_binderInfo_4153_, v_binderInfo_4153_); +if (v___x_4170_ == 0) { -lean_object* v___x_4046_; -lean_inc_ref(v_binderType_4026_); -lean_inc(v_binderName_4025_); -lean_dec_ref(v_e_4024_); -v___x_4046_ = l_Lean_Expr_lam___override(v_binderName_4025_, v_binderType_4026_, v_b_x27_4030_, v_binderInfo_4028_); -return v___x_4046_; +lean_object* v___x_4171_; +lean_inc_ref(v_binderType_4151_); +lean_inc(v_binderName_4150_); +lean_dec_ref(v_e_4149_); +v___x_4171_ = l_Lean_Expr_lam___override(v_binderName_4150_, v_binderType_4151_, v_b_x27_4155_, v_binderInfo_4153_); +return v___x_4171_; } else { -lean_dec_ref(v_b_x27_4030_); -return v_e_4024_; +lean_dec_ref(v_b_x27_4155_); +return v_e_4149_; } } } -v___jp_4047_: +v___jp_4172_: { -size_t v___x_4048_; uint8_t v___x_4049_; -v___x_4048_ = lean_ptr_addr(v_binderType_4026_); -v___x_4049_ = lean_usize_dec_eq(v___x_4048_, v___x_4048_); -if (v___x_4049_ == 0) +size_t v___x_4173_; uint8_t v___x_4174_; +v___x_4173_ = lean_ptr_addr(v_binderType_4151_); +v___x_4174_ = lean_usize_dec_eq(v___x_4173_, v___x_4173_); +if (v___x_4174_ == 0) { -v___y_4043_ = v___x_4049_; -goto v___jp_4042_; +v___y_4168_ = v___x_4174_; +goto v___jp_4167_; } else { -size_t v___x_4050_; size_t v___x_4051_; uint8_t v___x_4052_; -v___x_4050_ = lean_ptr_addr(v_body_4027_); -v___x_4051_ = lean_ptr_addr(v_b_x27_4030_); -v___x_4052_ = lean_usize_dec_eq(v___x_4050_, v___x_4051_); -v___y_4043_ = v___x_4052_; -goto v___jp_4042_; +size_t v___x_4175_; size_t v___x_4176_; uint8_t v___x_4177_; +v___x_4175_ = lean_ptr_addr(v_body_4152_); +v___x_4176_ = lean_ptr_addr(v_b_x27_4155_); +v___x_4177_ = lean_usize_dec_eq(v___x_4175_, v___x_4176_); +v___y_4168_ = v___x_4177_; +goto v___jp_4167_; } } } } else { -return v_e_4024_; +return v_e_4149_; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_litToValue(lean_object* v_lit_4061_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_litToValue(lean_object* v_lit_4186_){ _start: { -if (lean_obj_tag(v_lit_4061_) == 0) +if (lean_obj_tag(v_lit_4186_) == 0) { -lean_object* v_val_4062_; lean_object* v___x_4064_; uint8_t v_isShared_4065_; uint8_t v_isSharedCheck_4069_; -v_val_4062_ = lean_ctor_get(v_lit_4061_, 0); -v_isSharedCheck_4069_ = !lean_is_exclusive(v_lit_4061_); -if (v_isSharedCheck_4069_ == 0) +lean_object* v_val_4187_; lean_object* v___x_4189_; uint8_t v_isShared_4190_; uint8_t v_isSharedCheck_4194_; +v_val_4187_ = lean_ctor_get(v_lit_4186_, 0); +v_isSharedCheck_4194_ = !lean_is_exclusive(v_lit_4186_); +if (v_isSharedCheck_4194_ == 0) { -v___x_4064_ = v_lit_4061_; -v_isShared_4065_ = v_isSharedCheck_4069_; -goto v_resetjp_4063_; +v___x_4189_ = v_lit_4186_; +v_isShared_4190_ = v_isSharedCheck_4194_; +goto v_resetjp_4188_; } else { -lean_inc(v_val_4062_); -lean_dec(v_lit_4061_); -v___x_4064_ = lean_box(0); -v_isShared_4065_ = v_isSharedCheck_4069_; -goto v_resetjp_4063_; +lean_inc(v_val_4187_); +lean_dec(v_lit_4186_); +v___x_4189_ = lean_box(0); +v_isShared_4190_ = v_isSharedCheck_4194_; +goto v_resetjp_4188_; } -v_resetjp_4063_: +v_resetjp_4188_: { -lean_object* v___x_4067_; -if (v_isShared_4065_ == 0) +lean_object* v___x_4192_; +if (v_isShared_4190_ == 0) { -v___x_4067_ = v___x_4064_; -goto v_reusejp_4066_; +v___x_4192_ = v___x_4189_; +goto v_reusejp_4191_; } else { -lean_object* v_reuseFailAlloc_4068_; -v_reuseFailAlloc_4068_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4068_, 0, v_val_4062_); -v___x_4067_ = v_reuseFailAlloc_4068_; -goto v_reusejp_4066_; +lean_object* v_reuseFailAlloc_4193_; +v_reuseFailAlloc_4193_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4193_, 0, v_val_4187_); +v___x_4192_ = v_reuseFailAlloc_4193_; +goto v_reusejp_4191_; } -v_reusejp_4066_: +v_reusejp_4191_: { -return v___x_4067_; +return v___x_4192_; } } } else { -lean_object* v_val_4070_; lean_object* v___x_4072_; uint8_t v_isShared_4073_; uint8_t v_isSharedCheck_4077_; -v_val_4070_ = lean_ctor_get(v_lit_4061_, 0); -v_isSharedCheck_4077_ = !lean_is_exclusive(v_lit_4061_); -if (v_isSharedCheck_4077_ == 0) +lean_object* v_val_4195_; lean_object* v___x_4197_; uint8_t v_isShared_4198_; uint8_t v_isSharedCheck_4202_; +v_val_4195_ = lean_ctor_get(v_lit_4186_, 0); +v_isSharedCheck_4202_ = !lean_is_exclusive(v_lit_4186_); +if (v_isSharedCheck_4202_ == 0) { -v___x_4072_ = v_lit_4061_; -v_isShared_4073_ = v_isSharedCheck_4077_; -goto v_resetjp_4071_; +v___x_4197_ = v_lit_4186_; +v_isShared_4198_ = v_isSharedCheck_4202_; +goto v_resetjp_4196_; } else { -lean_inc(v_val_4070_); -lean_dec(v_lit_4061_); -v___x_4072_ = lean_box(0); -v_isShared_4073_ = v_isSharedCheck_4077_; -goto v_resetjp_4071_; +lean_inc(v_val_4195_); +lean_dec(v_lit_4186_); +v___x_4197_ = lean_box(0); +v_isShared_4198_ = v_isSharedCheck_4202_; +goto v_resetjp_4196_; } -v_resetjp_4071_: +v_resetjp_4196_: { -lean_object* v___x_4075_; -if (v_isShared_4073_ == 0) +lean_object* v___x_4200_; +if (v_isShared_4198_ == 0) { -v___x_4075_ = v___x_4072_; -goto v_reusejp_4074_; +v___x_4200_ = v___x_4197_; +goto v_reusejp_4199_; } else { -lean_object* v_reuseFailAlloc_4076_; -v_reuseFailAlloc_4076_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4076_, 0, v_val_4070_); -v___x_4075_ = v_reuseFailAlloc_4076_; -goto v_reusejp_4074_; +lean_object* v_reuseFailAlloc_4201_; +v_reuseFailAlloc_4201_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4201_, 0, v_val_4195_); +v___x_4200_ = v_reuseFailAlloc_4201_; +goto v_reusejp_4199_; } -v_reusejp_4074_: +v_reusejp_4199_: { -return v___x_4075_; +return v___x_4200_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(lean_object* v_lit_4078_, lean_object* v_a_4079_, lean_object* v_a_4080_, lean_object* v_a_4081_, lean_object* v_a_4082_, lean_object* v_a_4083_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(lean_object* v_lit_4203_, lean_object* v_a_4204_, lean_object* v_a_4205_, lean_object* v_a_4206_, lean_object* v_a_4207_, lean_object* v_a_4208_){ _start: { -lean_object* v___x_4085_; lean_object* v___x_4086_; lean_object* v___x_4087_; lean_object* v___x_4088_; -v___x_4085_ = l_Lean_Compiler_LCNF_ToLCNF_litToValue(v_lit_4078_); -v___x_4086_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4086_, 0, v___x_4085_); -v___x_4087_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_4088_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_4086_, v___x_4087_, v_a_4079_, v_a_4080_, v_a_4081_, v_a_4082_, v_a_4083_); -return v___x_4088_; +lean_object* v___x_4210_; lean_object* v___x_4211_; lean_object* v___x_4212_; lean_object* v___x_4213_; +v___x_4210_ = l_Lean_Compiler_LCNF_ToLCNF_litToValue(v_lit_4203_); +v___x_4211_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4211_, 0, v___x_4210_); +v___x_4212_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_4213_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_4211_, v___x_4212_, v_a_4204_, v_a_4205_, v_a_4206_, v_a_4207_, v_a_4208_); +return v___x_4213_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg___boxed(lean_object* v_lit_4089_, lean_object* v_a_4090_, lean_object* v_a_4091_, lean_object* v_a_4092_, lean_object* v_a_4093_, lean_object* v_a_4094_, lean_object* v_a_4095_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg___boxed(lean_object* v_lit_4214_, lean_object* v_a_4215_, lean_object* v_a_4216_, lean_object* v_a_4217_, lean_object* v_a_4218_, lean_object* v_a_4219_, lean_object* v_a_4220_){ _start: { -lean_object* v_res_4096_; -v_res_4096_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_lit_4089_, v_a_4090_, v_a_4091_, v_a_4092_, v_a_4093_, v_a_4094_); -lean_dec(v_a_4090_); -return v_res_4096_; +lean_object* v_res_4221_; +v_res_4221_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_lit_4214_, v_a_4215_, v_a_4216_, v_a_4217_, v_a_4218_, v_a_4219_); +lean_dec(v_a_4215_); +return v_res_4221_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(lean_object* v_lit_4097_, uint8_t v_a_4098_, lean_object* v_a_4099_, lean_object* v_a_4100_, lean_object* v_a_4101_, lean_object* v_a_4102_, lean_object* v_a_4103_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(lean_object* v_lit_4222_, lean_object* v_a_4223_, lean_object* v_a_4224_, lean_object* v_a_4225_, lean_object* v_a_4226_, lean_object* v_a_4227_, lean_object* v_a_4228_){ _start: { -lean_object* v___x_4105_; -v___x_4105_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_lit_4097_, v_a_4099_, v_a_4100_, v_a_4101_, v_a_4102_, v_a_4103_); -return v___x_4105_; +lean_object* v___x_4230_; +v___x_4230_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_lit_4222_, v_a_4224_, v_a_4225_, v_a_4226_, v_a_4227_, v_a_4228_); +return v___x_4230_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___boxed(lean_object* v_lit_4106_, lean_object* v_a_4107_, lean_object* v_a_4108_, lean_object* v_a_4109_, lean_object* v_a_4110_, lean_object* v_a_4111_, lean_object* v_a_4112_, lean_object* v_a_4113_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___boxed(lean_object* v_lit_4231_, lean_object* v_a_4232_, lean_object* v_a_4233_, lean_object* v_a_4234_, lean_object* v_a_4235_, lean_object* v_a_4236_, lean_object* v_a_4237_, lean_object* v_a_4238_){ _start: { -uint8_t v_a_53__boxed_4114_; lean_object* v_res_4115_; -v_a_53__boxed_4114_ = lean_unbox(v_a_4107_); -v_res_4115_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(v_lit_4106_, v_a_53__boxed_4114_, v_a_4108_, v_a_4109_, v_a_4110_, v_a_4111_, v_a_4112_); -lean_dec(v_a_4108_); -return v_res_4115_; +lean_object* v_res_4239_; +v_res_4239_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit(v_lit_4231_, v_a_4232_, v_a_4233_, v_a_4234_, v_a_4235_, v_a_4236_, v_a_4237_); +lean_dec(v_a_4233_); +lean_dec_ref(v_a_4232_); +return v_res_4239_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(lean_object* v_major_4116_, lean_object* v_numFields_4117_, lean_object* v_a_4118_, lean_object* v_a_4119_, lean_object* v_a_4120_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(lean_object* v_major_4240_, lean_object* v_numFields_4241_, lean_object* v_a_4242_, lean_object* v_a_4243_, lean_object* v_a_4244_){ _start: { -lean_object* v_zero_4122_; uint8_t v_isZero_4123_; -v_zero_4122_ = lean_unsigned_to_nat(0u); -v_isZero_4123_ = lean_nat_dec_eq(v_numFields_4117_, v_zero_4122_); -if (v_isZero_4123_ == 1) +lean_object* v_zero_4246_; uint8_t v_isZero_4247_; +v_zero_4246_ = lean_unsigned_to_nat(0u); +v_isZero_4247_ = lean_nat_dec_eq(v_numFields_4241_, v_zero_4246_); +if (v_isZero_4247_ == 1) { -lean_object* v___x_4124_; -lean_dec(v_a_4120_); -lean_dec_ref(v_a_4119_); -lean_dec(v_numFields_4117_); -v___x_4124_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4124_, 0, v_major_4116_); -return v___x_4124_; +lean_object* v___x_4248_; +lean_dec(v_a_4244_); +lean_dec_ref(v_a_4243_); +lean_dec(v_numFields_4241_); +v___x_4248_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4248_, 0, v_major_4240_); +return v___x_4248_; } else { -lean_object* v_one_4125_; lean_object* v_n_4126_; -v_one_4125_ = lean_unsigned_to_nat(1u); -v_n_4126_ = lean_nat_sub(v_numFields_4117_, v_one_4125_); -lean_dec(v_numFields_4117_); -if (lean_obj_tag(v_major_4116_) == 6) +lean_object* v_one_4249_; lean_object* v_n_4250_; +v_one_4249_ = lean_unsigned_to_nat(1u); +v_n_4250_ = lean_nat_sub(v_numFields_4241_, v_one_4249_); +lean_dec(v_numFields_4241_); +if (lean_obj_tag(v_major_4240_) == 6) { -lean_object* v_binderType_4127_; lean_object* v_body_4128_; lean_object* v_proof_4129_; lean_object* v___x_4130_; -v_binderType_4127_ = lean_ctor_get(v_major_4116_, 1); -lean_inc_ref(v_binderType_4127_); -v_body_4128_ = lean_ctor_get(v_major_4116_, 2); -lean_inc_ref(v_body_4128_); -lean_dec_ref(v_major_4116_); -v_proof_4129_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v_binderType_4127_); -v___x_4130_ = lean_expr_instantiate1(v_body_4128_, v_proof_4129_); -lean_dec_ref(v_proof_4129_); -lean_dec_ref(v_body_4128_); -v_major_4116_ = v___x_4130_; -v_numFields_4117_ = v_n_4126_; +lean_object* v_binderType_4251_; lean_object* v_body_4252_; lean_object* v_proof_4253_; lean_object* v___x_4254_; +v_binderType_4251_ = lean_ctor_get(v_major_4240_, 1); +lean_inc_ref(v_binderType_4251_); +v_body_4252_ = lean_ctor_get(v_major_4240_, 2); +lean_inc_ref(v_body_4252_); +lean_dec_ref(v_major_4240_); +v_proof_4253_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v_binderType_4251_); +v___x_4254_ = lean_expr_instantiate1(v_body_4252_, v_proof_4253_); +lean_dec_ref(v_proof_4253_); +lean_dec_ref(v_body_4252_); +v_major_4240_ = v___x_4254_; +v_numFields_4241_ = v_n_4250_; goto _start; } else { -lean_object* v___x_4132_; lean_object* v___x_4133_; -v___x_4132_ = lean_nat_add(v_n_4126_, v_one_4125_); -lean_dec(v_n_4126_); -lean_inc(v_a_4120_); -lean_inc_ref(v_a_4119_); -lean_inc(v___x_4132_); -v___x_4133_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_major_4116_, v___x_4132_, v_a_4118_, v_a_4119_, v_a_4120_); -if (lean_obj_tag(v___x_4133_) == 0) +lean_object* v___x_4256_; lean_object* v___x_4257_; +v___x_4256_ = lean_nat_add(v_n_4250_, v_one_4249_); +lean_dec(v_n_4250_); +lean_inc(v_a_4244_); +lean_inc_ref(v_a_4243_); +lean_inc(v___x_4256_); +v___x_4257_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_major_4240_, v___x_4256_, v_a_4242_, v_a_4243_, v_a_4244_); +if (lean_obj_tag(v___x_4257_) == 0) { -lean_object* v_a_4134_; -v_a_4134_ = lean_ctor_get(v___x_4133_, 0); -lean_inc(v_a_4134_); -lean_dec_ref(v___x_4133_); -v_major_4116_ = v_a_4134_; -v_numFields_4117_ = v___x_4132_; +lean_object* v_a_4258_; +v_a_4258_ = lean_ctor_get(v___x_4257_, 0); +lean_inc(v_a_4258_); +lean_dec_ref(v___x_4257_); +v_major_4240_ = v_a_4258_; +v_numFields_4241_ = v___x_4256_; goto _start; } else { -lean_dec(v___x_4132_); -lean_dec(v_a_4120_); -lean_dec_ref(v_a_4119_); -return v___x_4133_; +lean_dec(v___x_4256_); +lean_dec(v_a_4244_); +lean_dec_ref(v_a_4243_); +return v___x_4257_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg___boxed(lean_object* v_major_4136_, lean_object* v_numFields_4137_, lean_object* v_a_4138_, lean_object* v_a_4139_, lean_object* v_a_4140_, lean_object* v_a_4141_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg___boxed(lean_object* v_major_4260_, lean_object* v_numFields_4261_, lean_object* v_a_4262_, lean_object* v_a_4263_, lean_object* v_a_4264_, lean_object* v_a_4265_){ _start: { -lean_object* v_res_4142_; -v_res_4142_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v_major_4136_, v_numFields_4137_, v_a_4138_, v_a_4139_, v_a_4140_); -lean_dec(v_a_4138_); -return v_res_4142_; +lean_object* v_res_4266_; +v_res_4266_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v_major_4260_, v_numFields_4261_, v_a_4262_, v_a_4263_, v_a_4264_); +lean_dec(v_a_4262_); +return v_res_4266_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object* v_major_4143_, lean_object* v_numFields_4144_, uint8_t v_a_4145_, lean_object* v_a_4146_, lean_object* v_a_4147_, lean_object* v_a_4148_, lean_object* v_a_4149_, lean_object* v_a_4150_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object* v_major_4267_, lean_object* v_numFields_4268_, lean_object* v_a_4269_, lean_object* v_a_4270_, lean_object* v_a_4271_, lean_object* v_a_4272_, lean_object* v_a_4273_, lean_object* v_a_4274_){ _start: { -lean_object* v___x_4152_; -v___x_4152_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v_major_4143_, v_numFields_4144_, v_a_4146_, v_a_4149_, v_a_4150_); -return v___x_4152_; +lean_object* v___x_4276_; +v___x_4276_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v_major_4267_, v_numFields_4268_, v_a_4270_, v_a_4273_, v_a_4274_); +return v___x_4276_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed(lean_object* v_major_4153_, lean_object* v_numFields_4154_, lean_object* v_a_4155_, lean_object* v_a_4156_, lean_object* v_a_4157_, lean_object* v_a_4158_, lean_object* v_a_4159_, lean_object* v_a_4160_, lean_object* v_a_4161_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed(lean_object* v_major_4277_, lean_object* v_numFields_4278_, lean_object* v_a_4279_, lean_object* v_a_4280_, lean_object* v_a_4281_, lean_object* v_a_4282_, lean_object* v_a_4283_, lean_object* v_a_4284_, lean_object* v_a_4285_){ _start: { -uint8_t v_a_568__boxed_4162_; lean_object* v_res_4163_; -v_a_568__boxed_4162_ = lean_unbox(v_a_4155_); -v_res_4163_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(v_major_4153_, v_numFields_4154_, v_a_568__boxed_4162_, v_a_4156_, v_a_4157_, v_a_4158_, v_a_4159_, v_a_4160_); -lean_dec(v_a_4158_); -lean_dec_ref(v_a_4157_); -lean_dec(v_a_4156_); -return v_res_4163_; +lean_object* v_res_4286_; +v_res_4286_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(v_major_4277_, v_numFields_4278_, v_a_4279_, v_a_4280_, v_a_4281_, v_a_4282_, v_a_4283_, v_a_4284_); +lean_dec(v_a_4282_); +lean_dec_ref(v_a_4281_); +lean_dec(v_a_4280_); +lean_dec_ref(v_a_4279_); +return v_res_4286_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3(void){ _start: { -lean_object* v___x_4169_; lean_object* v___x_4170_; -v___x_4169_ = l_Lean_maxRecDepthErrorMessage; -v___x_4170_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_4170_, 0, v___x_4169_); -return v___x_4170_; +lean_object* v___x_4292_; lean_object* v___x_4293_; +v___x_4292_ = l_Lean_maxRecDepthErrorMessage; +v___x_4293_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_4293_, 0, v___x_4292_); +return v___x_4293_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4(void){ _start: { -lean_object* v___x_4171_; lean_object* v___x_4172_; -v___x_4171_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3); -v___x_4172_ = l_Lean_MessageData_ofFormat(v___x_4171_); -return v___x_4172_; +lean_object* v___x_4294_; lean_object* v___x_4295_; +v___x_4294_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__3); +v___x_4295_ = l_Lean_MessageData_ofFormat(v___x_4294_); +return v___x_4295_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5(void){ _start: { -lean_object* v___x_4173_; lean_object* v___x_4174_; lean_object* v___x_4175_; -v___x_4173_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4); -v___x_4174_ = ((lean_object*)(l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__2)); -v___x_4175_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_4175_, 0, v___x_4174_); -lean_ctor_set(v___x_4175_, 1, v___x_4173_); -return v___x_4175_; +lean_object* v___x_4296_; lean_object* v___x_4297_; lean_object* v___x_4298_; +v___x_4296_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__4); +v___x_4297_ = ((lean_object*)(l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__2)); +v___x_4298_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_4298_, 0, v___x_4297_); +lean_ctor_set(v___x_4298_, 1, v___x_4296_); +return v___x_4298_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(lean_object* v_ref_4176_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(lean_object* v_ref_4299_){ _start: { -lean_object* v___x_4178_; lean_object* v___x_4179_; lean_object* v___x_4180_; -v___x_4178_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5); -v___x_4179_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4179_, 0, v_ref_4176_); -lean_ctor_set(v___x_4179_, 1, v___x_4178_); -v___x_4180_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4180_, 0, v___x_4179_); -return v___x_4180_; +lean_object* v___x_4301_; lean_object* v___x_4302_; lean_object* v___x_4303_; +v___x_4301_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___closed__5); +v___x_4302_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4302_, 0, v_ref_4299_); +lean_ctor_set(v___x_4302_, 1, v___x_4301_); +v___x_4303_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_4303_, 0, v___x_4302_); +return v___x_4303_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___boxed(lean_object* v_ref_4181_, lean_object* v___y_4182_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg___boxed(lean_object* v_ref_4304_, lean_object* v___y_4305_){ _start: { -lean_object* v_res_4183_; -v_res_4183_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_4181_); -return v_res_4183_; +lean_object* v_res_4306_; +v_res_4306_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_4304_); +return v_res_4306_; } } static lean_object* _init_l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0(void){ _start: { -lean_object* v___x_4184_; -v___x_4184_ = l_instMonadEST(lean_box(0), lean_box(0)); -return v___x_4184_; +lean_object* v___x_4307_; +v___x_4307_ = l_instMonadEST(lean_box(0), lean_box(0)); +return v___x_4307_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(lean_object* v_msg_4189_, uint8_t v___y_4190_, lean_object* v___y_4191_, lean_object* v___y_4192_, lean_object* v___y_4193_, lean_object* v___y_4194_, lean_object* v___y_4195_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(lean_object* v_msg_4312_, lean_object* v___y_4313_, lean_object* v___y_4314_, lean_object* v___y_4315_, lean_object* v___y_4316_, lean_object* v___y_4317_, lean_object* v___y_4318_){ _start: { -lean_object* v___x_4197_; lean_object* v___x_4198_; lean_object* v_toApplicative_4199_; lean_object* v___x_4201_; uint8_t v_isShared_4202_; uint8_t v_isSharedCheck_4263_; -v___x_4197_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0); -v___x_4198_ = l_ReaderT_instMonad___redArg(v___x_4197_); -v_toApplicative_4199_ = lean_ctor_get(v___x_4198_, 0); -v_isSharedCheck_4263_ = !lean_is_exclusive(v___x_4198_); -if (v_isSharedCheck_4263_ == 0) +lean_object* v___x_4320_; lean_object* v___x_4321_; lean_object* v_toApplicative_4322_; lean_object* v___x_4324_; uint8_t v_isShared_4325_; uint8_t v_isSharedCheck_4385_; +v___x_4320_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0); +v___x_4321_ = l_ReaderT_instMonad___redArg(v___x_4320_); +v_toApplicative_4322_ = lean_ctor_get(v___x_4321_, 0); +v_isSharedCheck_4385_ = !lean_is_exclusive(v___x_4321_); +if (v_isSharedCheck_4385_ == 0) { -lean_object* v_unused_4264_; -v_unused_4264_ = lean_ctor_get(v___x_4198_, 1); -lean_dec(v_unused_4264_); -v___x_4201_ = v___x_4198_; -v_isShared_4202_ = v_isSharedCheck_4263_; -goto v_resetjp_4200_; +lean_object* v_unused_4386_; +v_unused_4386_ = lean_ctor_get(v___x_4321_, 1); +lean_dec(v_unused_4386_); +v___x_4324_ = v___x_4321_; +v_isShared_4325_ = v_isSharedCheck_4385_; +goto v_resetjp_4323_; } else { -lean_inc(v_toApplicative_4199_); -lean_dec(v___x_4198_); -v___x_4201_ = lean_box(0); -v_isShared_4202_ = v_isSharedCheck_4263_; -goto v_resetjp_4200_; +lean_inc(v_toApplicative_4322_); +lean_dec(v___x_4321_); +v___x_4324_ = lean_box(0); +v_isShared_4325_ = v_isSharedCheck_4385_; +goto v_resetjp_4323_; } -v_resetjp_4200_: +v_resetjp_4323_: { -lean_object* v_toFunctor_4203_; lean_object* v_toSeq_4204_; lean_object* v_toSeqLeft_4205_; lean_object* v_toSeqRight_4206_; lean_object* v___x_4208_; uint8_t v_isShared_4209_; uint8_t v_isSharedCheck_4261_; -v_toFunctor_4203_ = lean_ctor_get(v_toApplicative_4199_, 0); -v_toSeq_4204_ = lean_ctor_get(v_toApplicative_4199_, 2); -v_toSeqLeft_4205_ = lean_ctor_get(v_toApplicative_4199_, 3); -v_toSeqRight_4206_ = lean_ctor_get(v_toApplicative_4199_, 4); -v_isSharedCheck_4261_ = !lean_is_exclusive(v_toApplicative_4199_); -if (v_isSharedCheck_4261_ == 0) +lean_object* v_toFunctor_4326_; lean_object* v_toSeq_4327_; lean_object* v_toSeqLeft_4328_; lean_object* v_toSeqRight_4329_; lean_object* v___x_4331_; uint8_t v_isShared_4332_; uint8_t v_isSharedCheck_4383_; +v_toFunctor_4326_ = lean_ctor_get(v_toApplicative_4322_, 0); +v_toSeq_4327_ = lean_ctor_get(v_toApplicative_4322_, 2); +v_toSeqLeft_4328_ = lean_ctor_get(v_toApplicative_4322_, 3); +v_toSeqRight_4329_ = lean_ctor_get(v_toApplicative_4322_, 4); +v_isSharedCheck_4383_ = !lean_is_exclusive(v_toApplicative_4322_); +if (v_isSharedCheck_4383_ == 0) { -lean_object* v_unused_4262_; -v_unused_4262_ = lean_ctor_get(v_toApplicative_4199_, 1); -lean_dec(v_unused_4262_); -v___x_4208_ = v_toApplicative_4199_; -v_isShared_4209_ = v_isSharedCheck_4261_; -goto v_resetjp_4207_; +lean_object* v_unused_4384_; +v_unused_4384_ = lean_ctor_get(v_toApplicative_4322_, 1); +lean_dec(v_unused_4384_); +v___x_4331_ = v_toApplicative_4322_; +v_isShared_4332_ = v_isSharedCheck_4383_; +goto v_resetjp_4330_; } else { -lean_inc(v_toSeqRight_4206_); -lean_inc(v_toSeqLeft_4205_); -lean_inc(v_toSeq_4204_); -lean_inc(v_toFunctor_4203_); -lean_dec(v_toApplicative_4199_); -v___x_4208_ = lean_box(0); -v_isShared_4209_ = v_isSharedCheck_4261_; -goto v_resetjp_4207_; +lean_inc(v_toSeqRight_4329_); +lean_inc(v_toSeqLeft_4328_); +lean_inc(v_toSeq_4327_); +lean_inc(v_toFunctor_4326_); +lean_dec(v_toApplicative_4322_); +v___x_4331_ = lean_box(0); +v_isShared_4332_ = v_isSharedCheck_4383_; +goto v_resetjp_4330_; } -v_resetjp_4207_: +v_resetjp_4330_: { -lean_object* v___f_4210_; lean_object* v___f_4211_; lean_object* v___f_4212_; lean_object* v___f_4213_; lean_object* v___x_4214_; lean_object* v___f_4215_; lean_object* v___f_4216_; lean_object* v___f_4217_; lean_object* v___x_4219_; -v___f_4210_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__1)); -v___f_4211_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__2)); -lean_inc_ref(v_toFunctor_4203_); -v___f_4212_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4212_, 0, v_toFunctor_4203_); -v___f_4213_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4213_, 0, v_toFunctor_4203_); -v___x_4214_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4214_, 0, v___f_4212_); -lean_ctor_set(v___x_4214_, 1, v___f_4213_); -v___f_4215_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4215_, 0, v_toSeqRight_4206_); -v___f_4216_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4216_, 0, v_toSeqLeft_4205_); -v___f_4217_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4217_, 0, v_toSeq_4204_); -if (v_isShared_4209_ == 0) +lean_object* v___f_4333_; lean_object* v___f_4334_; lean_object* v___f_4335_; lean_object* v___f_4336_; lean_object* v___x_4337_; lean_object* v___f_4338_; lean_object* v___f_4339_; lean_object* v___f_4340_; lean_object* v___x_4342_; +v___f_4333_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__1)); +v___f_4334_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__2)); +lean_inc_ref(v_toFunctor_4326_); +v___f_4335_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4335_, 0, v_toFunctor_4326_); +v___f_4336_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4336_, 0, v_toFunctor_4326_); +v___x_4337_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4337_, 0, v___f_4335_); +lean_ctor_set(v___x_4337_, 1, v___f_4336_); +v___f_4338_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4338_, 0, v_toSeqRight_4329_); +v___f_4339_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4339_, 0, v_toSeqLeft_4328_); +v___f_4340_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4340_, 0, v_toSeq_4327_); +if (v_isShared_4332_ == 0) { -lean_ctor_set(v___x_4208_, 4, v___f_4215_); -lean_ctor_set(v___x_4208_, 3, v___f_4216_); -lean_ctor_set(v___x_4208_, 2, v___f_4217_); -lean_ctor_set(v___x_4208_, 1, v___f_4210_); -lean_ctor_set(v___x_4208_, 0, v___x_4214_); -v___x_4219_ = v___x_4208_; -goto v_reusejp_4218_; +lean_ctor_set(v___x_4331_, 4, v___f_4338_); +lean_ctor_set(v___x_4331_, 3, v___f_4339_); +lean_ctor_set(v___x_4331_, 2, v___f_4340_); +lean_ctor_set(v___x_4331_, 1, v___f_4333_); +lean_ctor_set(v___x_4331_, 0, v___x_4337_); +v___x_4342_ = v___x_4331_; +goto v_reusejp_4341_; } else { -lean_object* v_reuseFailAlloc_4260_; -v_reuseFailAlloc_4260_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4260_, 0, v___x_4214_); -lean_ctor_set(v_reuseFailAlloc_4260_, 1, v___f_4210_); -lean_ctor_set(v_reuseFailAlloc_4260_, 2, v___f_4217_); -lean_ctor_set(v_reuseFailAlloc_4260_, 3, v___f_4216_); -lean_ctor_set(v_reuseFailAlloc_4260_, 4, v___f_4215_); -v___x_4219_ = v_reuseFailAlloc_4260_; -goto v_reusejp_4218_; +lean_object* v_reuseFailAlloc_4382_; +v_reuseFailAlloc_4382_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4382_, 0, v___x_4337_); +lean_ctor_set(v_reuseFailAlloc_4382_, 1, v___f_4333_); +lean_ctor_set(v_reuseFailAlloc_4382_, 2, v___f_4340_); +lean_ctor_set(v_reuseFailAlloc_4382_, 3, v___f_4339_); +lean_ctor_set(v_reuseFailAlloc_4382_, 4, v___f_4338_); +v___x_4342_ = v_reuseFailAlloc_4382_; +goto v_reusejp_4341_; } -v_reusejp_4218_: +v_reusejp_4341_: { -lean_object* v___x_4221_; -if (v_isShared_4202_ == 0) +lean_object* v___x_4344_; +if (v_isShared_4325_ == 0) { -lean_ctor_set(v___x_4201_, 1, v___f_4211_); -lean_ctor_set(v___x_4201_, 0, v___x_4219_); -v___x_4221_ = v___x_4201_; -goto v_reusejp_4220_; +lean_ctor_set(v___x_4324_, 1, v___f_4334_); +lean_ctor_set(v___x_4324_, 0, v___x_4342_); +v___x_4344_ = v___x_4324_; +goto v_reusejp_4343_; } else { -lean_object* v_reuseFailAlloc_4259_; -v_reuseFailAlloc_4259_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4259_, 0, v___x_4219_); -lean_ctor_set(v_reuseFailAlloc_4259_, 1, v___f_4211_); -v___x_4221_ = v_reuseFailAlloc_4259_; -goto v_reusejp_4220_; +lean_object* v_reuseFailAlloc_4381_; +v_reuseFailAlloc_4381_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4381_, 0, v___x_4342_); +lean_ctor_set(v_reuseFailAlloc_4381_, 1, v___f_4334_); +v___x_4344_ = v_reuseFailAlloc_4381_; +goto v_reusejp_4343_; } -v_reusejp_4220_: +v_reusejp_4343_: { -lean_object* v___x_4222_; lean_object* v_toApplicative_4223_; lean_object* v___x_4225_; uint8_t v_isShared_4226_; uint8_t v_isSharedCheck_4257_; -v___x_4222_ = l_ReaderT_instMonad___redArg(v___x_4221_); -v_toApplicative_4223_ = lean_ctor_get(v___x_4222_, 0); -v_isSharedCheck_4257_ = !lean_is_exclusive(v___x_4222_); -if (v_isSharedCheck_4257_ == 0) +lean_object* v___x_4345_; lean_object* v_toApplicative_4346_; lean_object* v___x_4348_; uint8_t v_isShared_4349_; uint8_t v_isSharedCheck_4379_; +v___x_4345_ = l_ReaderT_instMonad___redArg(v___x_4344_); +v_toApplicative_4346_ = lean_ctor_get(v___x_4345_, 0); +v_isSharedCheck_4379_ = !lean_is_exclusive(v___x_4345_); +if (v_isSharedCheck_4379_ == 0) { -lean_object* v_unused_4258_; -v_unused_4258_ = lean_ctor_get(v___x_4222_, 1); -lean_dec(v_unused_4258_); -v___x_4225_ = v___x_4222_; -v_isShared_4226_ = v_isSharedCheck_4257_; -goto v_resetjp_4224_; +lean_object* v_unused_4380_; +v_unused_4380_ = lean_ctor_get(v___x_4345_, 1); +lean_dec(v_unused_4380_); +v___x_4348_ = v___x_4345_; +v_isShared_4349_ = v_isSharedCheck_4379_; +goto v_resetjp_4347_; } else { -lean_inc(v_toApplicative_4223_); -lean_dec(v___x_4222_); -v___x_4225_ = lean_box(0); -v_isShared_4226_ = v_isSharedCheck_4257_; -goto v_resetjp_4224_; +lean_inc(v_toApplicative_4346_); +lean_dec(v___x_4345_); +v___x_4348_ = lean_box(0); +v_isShared_4349_ = v_isSharedCheck_4379_; +goto v_resetjp_4347_; } -v_resetjp_4224_: +v_resetjp_4347_: { -lean_object* v_toFunctor_4227_; lean_object* v_toSeq_4228_; lean_object* v_toSeqLeft_4229_; lean_object* v_toSeqRight_4230_; lean_object* v___x_4232_; uint8_t v_isShared_4233_; uint8_t v_isSharedCheck_4255_; -v_toFunctor_4227_ = lean_ctor_get(v_toApplicative_4223_, 0); -v_toSeq_4228_ = lean_ctor_get(v_toApplicative_4223_, 2); -v_toSeqLeft_4229_ = lean_ctor_get(v_toApplicative_4223_, 3); -v_toSeqRight_4230_ = lean_ctor_get(v_toApplicative_4223_, 4); -v_isSharedCheck_4255_ = !lean_is_exclusive(v_toApplicative_4223_); -if (v_isSharedCheck_4255_ == 0) +lean_object* v_toFunctor_4350_; lean_object* v_toSeq_4351_; lean_object* v_toSeqLeft_4352_; lean_object* v_toSeqRight_4353_; lean_object* v___x_4355_; uint8_t v_isShared_4356_; uint8_t v_isSharedCheck_4377_; +v_toFunctor_4350_ = lean_ctor_get(v_toApplicative_4346_, 0); +v_toSeq_4351_ = lean_ctor_get(v_toApplicative_4346_, 2); +v_toSeqLeft_4352_ = lean_ctor_get(v_toApplicative_4346_, 3); +v_toSeqRight_4353_ = lean_ctor_get(v_toApplicative_4346_, 4); +v_isSharedCheck_4377_ = !lean_is_exclusive(v_toApplicative_4346_); +if (v_isSharedCheck_4377_ == 0) { -lean_object* v_unused_4256_; -v_unused_4256_ = lean_ctor_get(v_toApplicative_4223_, 1); -lean_dec(v_unused_4256_); -v___x_4232_ = v_toApplicative_4223_; -v_isShared_4233_ = v_isSharedCheck_4255_; -goto v_resetjp_4231_; +lean_object* v_unused_4378_; +v_unused_4378_ = lean_ctor_get(v_toApplicative_4346_, 1); +lean_dec(v_unused_4378_); +v___x_4355_ = v_toApplicative_4346_; +v_isShared_4356_ = v_isSharedCheck_4377_; +goto v_resetjp_4354_; } else { -lean_inc(v_toSeqRight_4230_); -lean_inc(v_toSeqLeft_4229_); -lean_inc(v_toSeq_4228_); -lean_inc(v_toFunctor_4227_); -lean_dec(v_toApplicative_4223_); -v___x_4232_ = lean_box(0); -v_isShared_4233_ = v_isSharedCheck_4255_; -goto v_resetjp_4231_; +lean_inc(v_toSeqRight_4353_); +lean_inc(v_toSeqLeft_4352_); +lean_inc(v_toSeq_4351_); +lean_inc(v_toFunctor_4350_); +lean_dec(v_toApplicative_4346_); +v___x_4355_ = lean_box(0); +v_isShared_4356_ = v_isSharedCheck_4377_; +goto v_resetjp_4354_; } -v_resetjp_4231_: +v_resetjp_4354_: { -lean_object* v___f_4234_; lean_object* v___f_4235_; lean_object* v___f_4236_; lean_object* v___f_4237_; lean_object* v___x_4238_; lean_object* v___f_4239_; lean_object* v___f_4240_; lean_object* v___f_4241_; lean_object* v___x_4243_; -v___f_4234_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3)); -v___f_4235_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4)); -lean_inc_ref(v_toFunctor_4227_); -v___f_4236_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4236_, 0, v_toFunctor_4227_); -v___f_4237_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4237_, 0, v_toFunctor_4227_); -v___x_4238_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4238_, 0, v___f_4236_); -lean_ctor_set(v___x_4238_, 1, v___f_4237_); -v___f_4239_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4239_, 0, v_toSeqRight_4230_); -v___f_4240_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4240_, 0, v_toSeqLeft_4229_); -v___f_4241_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4241_, 0, v_toSeq_4228_); -if (v_isShared_4233_ == 0) +lean_object* v___f_4357_; lean_object* v___f_4358_; lean_object* v___f_4359_; lean_object* v___f_4360_; lean_object* v___x_4361_; lean_object* v___f_4362_; lean_object* v___f_4363_; lean_object* v___f_4364_; lean_object* v___x_4366_; +v___f_4357_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3)); +v___f_4358_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4)); +lean_inc_ref(v_toFunctor_4350_); +v___f_4359_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4359_, 0, v_toFunctor_4350_); +v___f_4360_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4360_, 0, v_toFunctor_4350_); +v___x_4361_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4361_, 0, v___f_4359_); +lean_ctor_set(v___x_4361_, 1, v___f_4360_); +v___f_4362_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4362_, 0, v_toSeqRight_4353_); +v___f_4363_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4363_, 0, v_toSeqLeft_4352_); +v___f_4364_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4364_, 0, v_toSeq_4351_); +if (v_isShared_4356_ == 0) { -lean_ctor_set(v___x_4232_, 4, v___f_4239_); -lean_ctor_set(v___x_4232_, 3, v___f_4240_); -lean_ctor_set(v___x_4232_, 2, v___f_4241_); -lean_ctor_set(v___x_4232_, 1, v___f_4234_); -lean_ctor_set(v___x_4232_, 0, v___x_4238_); -v___x_4243_ = v___x_4232_; -goto v_reusejp_4242_; +lean_ctor_set(v___x_4355_, 4, v___f_4362_); +lean_ctor_set(v___x_4355_, 3, v___f_4363_); +lean_ctor_set(v___x_4355_, 2, v___f_4364_); +lean_ctor_set(v___x_4355_, 1, v___f_4357_); +lean_ctor_set(v___x_4355_, 0, v___x_4361_); +v___x_4366_ = v___x_4355_; +goto v_reusejp_4365_; } else { -lean_object* v_reuseFailAlloc_4254_; -v_reuseFailAlloc_4254_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4254_, 0, v___x_4238_); -lean_ctor_set(v_reuseFailAlloc_4254_, 1, v___f_4234_); -lean_ctor_set(v_reuseFailAlloc_4254_, 2, v___f_4241_); -lean_ctor_set(v_reuseFailAlloc_4254_, 3, v___f_4240_); -lean_ctor_set(v_reuseFailAlloc_4254_, 4, v___f_4239_); -v___x_4243_ = v_reuseFailAlloc_4254_; -goto v_reusejp_4242_; +lean_object* v_reuseFailAlloc_4376_; +v_reuseFailAlloc_4376_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4376_, 0, v___x_4361_); +lean_ctor_set(v_reuseFailAlloc_4376_, 1, v___f_4357_); +lean_ctor_set(v_reuseFailAlloc_4376_, 2, v___f_4364_); +lean_ctor_set(v_reuseFailAlloc_4376_, 3, v___f_4363_); +lean_ctor_set(v_reuseFailAlloc_4376_, 4, v___f_4362_); +v___x_4366_ = v_reuseFailAlloc_4376_; +goto v_reusejp_4365_; } -v_reusejp_4242_: +v_reusejp_4365_: { -lean_object* v___x_4245_; -if (v_isShared_4226_ == 0) +lean_object* v___x_4368_; +if (v_isShared_4349_ == 0) { -lean_ctor_set(v___x_4225_, 1, v___f_4235_); -lean_ctor_set(v___x_4225_, 0, v___x_4243_); -v___x_4245_ = v___x_4225_; -goto v_reusejp_4244_; +lean_ctor_set(v___x_4348_, 1, v___f_4358_); +lean_ctor_set(v___x_4348_, 0, v___x_4366_); +v___x_4368_ = v___x_4348_; +goto v_reusejp_4367_; } else { -lean_object* v_reuseFailAlloc_4253_; -v_reuseFailAlloc_4253_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4253_, 0, v___x_4243_); -lean_ctor_set(v_reuseFailAlloc_4253_, 1, v___f_4235_); -v___x_4245_ = v_reuseFailAlloc_4253_; -goto v_reusejp_4244_; +lean_object* v_reuseFailAlloc_4375_; +v_reuseFailAlloc_4375_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4375_, 0, v___x_4366_); +lean_ctor_set(v_reuseFailAlloc_4375_, 1, v___f_4358_); +v___x_4368_ = v_reuseFailAlloc_4375_; +goto v_reusejp_4367_; } -v_reusejp_4244_: +v_reusejp_4367_: { -lean_object* v___x_4246_; lean_object* v___x_4247_; lean_object* v___x_4248_; lean_object* v___f_4249_; lean_object* v___x_152011__overap_4250_; lean_object* v___x_4251_; lean_object* v___x_4252_; -v___x_4246_ = l_ReaderT_instMonad___redArg(v___x_4245_); -v___x_4247_ = lean_box(0); -v___x_4248_ = l_instInhabitedOfMonad___redArg(v___x_4246_, v___x_4247_); -v___f_4249_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); -lean_closure_set(v___f_4249_, 0, v___x_4248_); -v___x_152011__overap_4250_ = lean_panic_fn(v___f_4249_, v_msg_4189_); -v___x_4251_ = lean_box(v___y_4190_); -v___x_4252_ = lean_apply_7(v___x_152011__overap_4250_, v___x_4251_, v___y_4191_, v___y_4192_, v___y_4193_, v___y_4194_, v___y_4195_, lean_box(0)); -return v___x_4252_; +lean_object* v___x_4369_; lean_object* v___x_4370_; lean_object* v___x_4371_; lean_object* v___f_4372_; lean_object* v___x_156581__overap_4373_; lean_object* v___x_4374_; +v___x_4369_ = l_ReaderT_instMonad___redArg(v___x_4368_); +v___x_4370_ = lean_box(0); +v___x_4371_ = l_instInhabitedOfMonad___redArg(v___x_4369_, v___x_4370_); +v___f_4372_ = lean_alloc_closure((void*)(l_instInhabitedForall___redArg___lam__0___boxed), 2, 1); +lean_closure_set(v___f_4372_, 0, v___x_4371_); +v___x_156581__overap_4373_ = lean_panic_fn(v___f_4372_, v_msg_4312_); +v___x_4374_ = lean_apply_7(v___x_156581__overap_4373_, v___y_4313_, v___y_4314_, v___y_4315_, v___y_4316_, v___y_4317_, v___y_4318_, lean_box(0)); +return v___x_4374_; } } } @@ -14797,446 +15230,442 @@ return v___x_4252_; } } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___boxed(lean_object* v_msg_4265_, lean_object* v___y_4266_, lean_object* v___y_4267_, lean_object* v___y_4268_, lean_object* v___y_4269_, lean_object* v___y_4270_, lean_object* v___y_4271_, lean_object* v___y_4272_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___boxed(lean_object* v_msg_4387_, lean_object* v___y_4388_, lean_object* v___y_4389_, lean_object* v___y_4390_, lean_object* v___y_4391_, lean_object* v___y_4392_, lean_object* v___y_4393_, lean_object* v___y_4394_){ _start: { -uint8_t v___y_164149__boxed_4273_; lean_object* v_res_4274_; -v___y_164149__boxed_4273_ = lean_unbox(v___y_4266_); -v_res_4274_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v_msg_4265_, v___y_164149__boxed_4273_, v___y_4267_, v___y_4268_, v___y_4269_, v___y_4270_, v___y_4271_); -return v_res_4274_; +lean_object* v_res_4395_; +v_res_4395_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v_msg_4387_, v___y_4388_, v___y_4389_, v___y_4390_, v___y_4391_, v___y_4392_, v___y_4393_); +return v_res_4395_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(lean_object* v_e_4275_, lean_object* v___f_4276_, uint8_t v___y_4277_, lean_object* v___y_4278_, lean_object* v___y_4279_, lean_object* v___y_4280_, lean_object* v___y_4281_, lean_object* v___y_4282_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(lean_object* v_e_4396_, lean_object* v___f_4397_, lean_object* v___y_4398_, lean_object* v___y_4399_, lean_object* v___y_4400_, lean_object* v___y_4401_, lean_object* v___y_4402_, lean_object* v___y_4403_){ _start: { -lean_object* v___x_4284_; lean_object* v_lctx_4285_; lean_object* v___x_4286_; lean_object* v___x_4287_; uint8_t v___x_4288_; lean_object* v___x_4289_; lean_object* v___x_4290_; lean_object* v___x_4291_; uint8_t v___x_4292_; lean_object* v___x_4293_; lean_object* v___x_4294_; lean_object* v___x_4295_; lean_object* v___x_4296_; lean_object* v___x_4297_; lean_object* v___x_4298_; -v___x_4284_ = lean_st_ref_get(v___y_4278_); -v_lctx_4285_ = lean_ctor_get(v___x_4284_, 0); -lean_inc_ref(v_lctx_4285_); -lean_dec(v___x_4284_); -v___x_4286_ = lean_box(1); -v___x_4287_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4288_ = 0; -v___x_4289_ = lean_unsigned_to_nat(0u); -v___x_4290_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4291_ = lean_box(0); -v___x_4292_ = 1; -v___x_4293_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4293_, 0, v___x_4287_); -lean_ctor_set(v___x_4293_, 1, v___x_4286_); -lean_ctor_set(v___x_4293_, 2, v_lctx_4285_); -lean_ctor_set(v___x_4293_, 3, v___x_4290_); -lean_ctor_set(v___x_4293_, 4, v___x_4291_); -lean_ctor_set(v___x_4293_, 5, v___x_4289_); -lean_ctor_set(v___x_4293_, 6, v___x_4291_); -lean_ctor_set_uint8(v___x_4293_, sizeof(void*)*7, v___x_4288_); -lean_ctor_set_uint8(v___x_4293_, sizeof(void*)*7 + 1, v___x_4288_); -lean_ctor_set_uint8(v___x_4293_, sizeof(void*)*7 + 2, v___x_4288_); -lean_ctor_set_uint8(v___x_4293_, sizeof(void*)*7 + 3, v___x_4292_); -v___x_4294_ = lean_unsigned_to_nat(32u); -v___x_4295_ = lean_mk_empty_array_with_capacity(v___x_4294_); -lean_dec_ref(v___x_4295_); -v___x_4296_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4297_ = lean_st_mk_ref(v___x_4296_); -lean_inc(v___y_4282_); -lean_inc_ref(v___y_4281_); -lean_inc(v___x_4297_); -v___x_4298_ = lean_infer_type(v_e_4275_, v___x_4293_, v___x_4297_, v___y_4281_, v___y_4282_); -if (lean_obj_tag(v___x_4298_) == 0) +lean_object* v___x_4405_; lean_object* v_lctx_4406_; lean_object* v___x_4407_; lean_object* v___x_4408_; uint8_t v___x_4409_; lean_object* v___x_4410_; lean_object* v___x_4411_; lean_object* v___x_4412_; uint8_t v___x_4413_; lean_object* v___x_4414_; lean_object* v___x_4415_; lean_object* v___x_4416_; lean_object* v___x_4417_; lean_object* v___x_4418_; lean_object* v___x_4419_; +v___x_4405_ = lean_st_ref_get(v___y_4399_); +v_lctx_4406_ = lean_ctor_get(v___x_4405_, 0); +lean_inc_ref(v_lctx_4406_); +lean_dec(v___x_4405_); +v___x_4407_ = lean_box(1); +v___x_4408_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4409_ = 0; +v___x_4410_ = lean_unsigned_to_nat(0u); +v___x_4411_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4412_ = lean_box(0); +v___x_4413_ = 1; +v___x_4414_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4414_, 0, v___x_4408_); +lean_ctor_set(v___x_4414_, 1, v___x_4407_); +lean_ctor_set(v___x_4414_, 2, v_lctx_4406_); +lean_ctor_set(v___x_4414_, 3, v___x_4411_); +lean_ctor_set(v___x_4414_, 4, v___x_4412_); +lean_ctor_set(v___x_4414_, 5, v___x_4410_); +lean_ctor_set(v___x_4414_, 6, v___x_4412_); +lean_ctor_set_uint8(v___x_4414_, sizeof(void*)*7, v___x_4409_); +lean_ctor_set_uint8(v___x_4414_, sizeof(void*)*7 + 1, v___x_4409_); +lean_ctor_set_uint8(v___x_4414_, sizeof(void*)*7 + 2, v___x_4409_); +lean_ctor_set_uint8(v___x_4414_, sizeof(void*)*7 + 3, v___x_4413_); +v___x_4415_ = lean_unsigned_to_nat(32u); +v___x_4416_ = lean_mk_empty_array_with_capacity(v___x_4415_); +lean_dec_ref(v___x_4416_); +v___x_4417_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4418_ = lean_st_mk_ref(v___x_4417_); +lean_inc(v___y_4403_); +lean_inc_ref(v___y_4402_); +lean_inc(v___x_4418_); +v___x_4419_ = lean_infer_type(v_e_4396_, v___x_4414_, v___x_4418_, v___y_4402_, v___y_4403_); +if (lean_obj_tag(v___x_4419_) == 0) { -lean_object* v_a_4299_; lean_object* v___x_4300_; lean_object* v___x_4301_; lean_object* v___x_4302_; -v_a_4299_ = lean_ctor_get(v___x_4298_, 0); -lean_inc(v_a_4299_); -lean_dec_ref(v___x_4298_); -v___x_4300_ = lean_st_ref_get(v___x_4297_); -lean_dec(v___x_4297_); -lean_dec(v___x_4300_); -v___x_4301_ = lean_box(v___y_4277_); -v___x_4302_ = lean_apply_8(v___f_4276_, v_a_4299_, v___x_4301_, v___y_4278_, v___y_4279_, v___y_4280_, v___y_4281_, v___y_4282_, lean_box(0)); -return v___x_4302_; +lean_object* v_a_4420_; lean_object* v___x_4421_; lean_object* v___x_4422_; +v_a_4420_ = lean_ctor_get(v___x_4419_, 0); +lean_inc(v_a_4420_); +lean_dec_ref(v___x_4419_); +v___x_4421_ = lean_st_ref_get(v___x_4418_); +lean_dec(v___x_4418_); +lean_dec(v___x_4421_); +v___x_4422_ = lean_apply_8(v___f_4397_, v_a_4420_, v___y_4398_, v___y_4399_, v___y_4400_, v___y_4401_, v___y_4402_, v___y_4403_, lean_box(0)); +return v___x_4422_; } else { -lean_dec(v___x_4297_); -if (lean_obj_tag(v___x_4298_) == 0) +lean_dec(v___x_4418_); +if (lean_obj_tag(v___x_4419_) == 0) { -lean_object* v_a_4303_; lean_object* v___x_4304_; lean_object* v___x_4305_; -v_a_4303_ = lean_ctor_get(v___x_4298_, 0); -lean_inc(v_a_4303_); -lean_dec_ref(v___x_4298_); -v___x_4304_ = lean_box(v___y_4277_); -v___x_4305_ = lean_apply_8(v___f_4276_, v_a_4303_, v___x_4304_, v___y_4278_, v___y_4279_, v___y_4280_, v___y_4281_, v___y_4282_, lean_box(0)); -return v___x_4305_; +lean_object* v_a_4423_; lean_object* v___x_4424_; +v_a_4423_ = lean_ctor_get(v___x_4419_, 0); +lean_inc(v_a_4423_); +lean_dec_ref(v___x_4419_); +v___x_4424_ = lean_apply_8(v___f_4397_, v_a_4423_, v___y_4398_, v___y_4399_, v___y_4400_, v___y_4401_, v___y_4402_, v___y_4403_, lean_box(0)); +return v___x_4424_; } else { -lean_object* v_a_4306_; lean_object* v___x_4308_; uint8_t v_isShared_4309_; uint8_t v_isSharedCheck_4313_; -lean_dec(v___y_4282_); -lean_dec_ref(v___y_4281_); -lean_dec(v___y_4280_); -lean_dec_ref(v___y_4279_); -lean_dec(v___y_4278_); -lean_dec_ref(v___f_4276_); -v_a_4306_ = lean_ctor_get(v___x_4298_, 0); -v_isSharedCheck_4313_ = !lean_is_exclusive(v___x_4298_); -if (v_isSharedCheck_4313_ == 0) +lean_object* v_a_4425_; lean_object* v___x_4427_; uint8_t v_isShared_4428_; uint8_t v_isSharedCheck_4432_; +lean_dec(v___y_4403_); +lean_dec_ref(v___y_4402_); +lean_dec(v___y_4401_); +lean_dec_ref(v___y_4400_); +lean_dec(v___y_4399_); +lean_dec_ref(v___y_4398_); +lean_dec_ref(v___f_4397_); +v_a_4425_ = lean_ctor_get(v___x_4419_, 0); +v_isSharedCheck_4432_ = !lean_is_exclusive(v___x_4419_); +if (v_isSharedCheck_4432_ == 0) { -v___x_4308_ = v___x_4298_; -v_isShared_4309_ = v_isSharedCheck_4313_; -goto v_resetjp_4307_; +v___x_4427_ = v___x_4419_; +v_isShared_4428_ = v_isSharedCheck_4432_; +goto v_resetjp_4426_; } else { -lean_inc(v_a_4306_); -lean_dec(v___x_4298_); -v___x_4308_ = lean_box(0); -v_isShared_4309_ = v_isSharedCheck_4313_; -goto v_resetjp_4307_; +lean_inc(v_a_4425_); +lean_dec(v___x_4419_); +v___x_4427_ = lean_box(0); +v_isShared_4428_ = v_isSharedCheck_4432_; +goto v_resetjp_4426_; } -v_resetjp_4307_: +v_resetjp_4426_: { -lean_object* v___x_4311_; -if (v_isShared_4309_ == 0) +lean_object* v___x_4430_; +if (v_isShared_4428_ == 0) { -v___x_4311_ = v___x_4308_; -goto v_reusejp_4310_; +v___x_4430_ = v___x_4427_; +goto v_reusejp_4429_; } else { -lean_object* v_reuseFailAlloc_4312_; -v_reuseFailAlloc_4312_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4312_, 0, v_a_4306_); -v___x_4311_ = v_reuseFailAlloc_4312_; -goto v_reusejp_4310_; +lean_object* v_reuseFailAlloc_4431_; +v_reuseFailAlloc_4431_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4431_, 0, v_a_4425_); +v___x_4430_ = v_reuseFailAlloc_4431_; +goto v_reusejp_4429_; } -v_reusejp_4310_: +v_reusejp_4429_: { -return v___x_4311_; +return v___x_4430_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed(lean_object* v_e_4314_, lean_object* v___f_4315_, lean_object* v___y_4316_, lean_object* v___y_4317_, lean_object* v___y_4318_, lean_object* v___y_4319_, lean_object* v___y_4320_, lean_object* v___y_4321_, lean_object* v___y_4322_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed(lean_object* v_e_4433_, lean_object* v___f_4434_, lean_object* v___y_4435_, lean_object* v___y_4436_, lean_object* v___y_4437_, lean_object* v___y_4438_, lean_object* v___y_4439_, lean_object* v___y_4440_, lean_object* v___y_4441_){ _start: { -uint8_t v___y_164334__boxed_4323_; lean_object* v_res_4324_; -v___y_164334__boxed_4323_ = lean_unbox(v___y_4316_); -v_res_4324_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(v_e_4314_, v___f_4315_, v___y_164334__boxed_4323_, v___y_4317_, v___y_4318_, v___y_4319_, v___y_4320_, v___y_4321_); -return v_res_4324_; +lean_object* v_res_4442_; +v_res_4442_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1(v_e_4433_, v___f_4434_, v___y_4435_, v___y_4436_, v___y_4437_, v___y_4438_, v___y_4439_, v___y_4440_); +return v_res_4442_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(lean_object* v_____do__lift_4325_, uint8_t v___y_4326_, lean_object* v___y_4327_, lean_object* v___y_4328_, lean_object* v___y_4329_, lean_object* v___y_4330_, lean_object* v___y_4331_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(lean_object* v_____do__lift_4443_, lean_object* v___y_4444_, lean_object* v___y_4445_, lean_object* v___y_4446_, lean_object* v___y_4447_, lean_object* v___y_4448_, lean_object* v___y_4449_){ _start: { -lean_object* v___x_4333_; -lean_inc(v___y_4331_); -lean_inc_ref(v___y_4330_); -v___x_4333_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_____do__lift_4325_, v___y_4327_, v___y_4330_, v___y_4331_); -if (lean_obj_tag(v___x_4333_) == 0) +lean_object* v___x_4451_; +lean_inc(v___y_4449_); +lean_inc_ref(v___y_4448_); +v___x_4451_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_____do__lift_4443_, v___y_4445_, v___y_4448_, v___y_4449_); +if (lean_obj_tag(v___x_4451_) == 0) { -lean_object* v_a_4334_; lean_object* v___x_4335_; -v_a_4334_ = lean_ctor_get(v___x_4333_, 0); -lean_inc(v_a_4334_); -lean_dec_ref(v___x_4333_); -v___x_4335_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_4334_, v___y_4327_, v___y_4328_, v___y_4329_, v___y_4330_, v___y_4331_); -lean_dec(v___y_4331_); -lean_dec_ref(v___y_4330_); -return v___x_4335_; +lean_object* v_a_4452_; lean_object* v___x_4453_; +v_a_4452_ = lean_ctor_get(v___x_4451_, 0); +lean_inc(v_a_4452_); +lean_dec_ref(v___x_4451_); +v___x_4453_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_4452_, v___y_4445_, v___y_4446_, v___y_4447_, v___y_4448_, v___y_4449_); +lean_dec(v___y_4449_); +lean_dec_ref(v___y_4448_); +return v___x_4453_; } else { -lean_object* v_a_4336_; lean_object* v___x_4338_; uint8_t v_isShared_4339_; uint8_t v_isSharedCheck_4343_; -lean_dec(v___y_4331_); -lean_dec_ref(v___y_4330_); -v_a_4336_ = lean_ctor_get(v___x_4333_, 0); -v_isSharedCheck_4343_ = !lean_is_exclusive(v___x_4333_); -if (v_isSharedCheck_4343_ == 0) +lean_object* v_a_4454_; lean_object* v___x_4456_; uint8_t v_isShared_4457_; uint8_t v_isSharedCheck_4461_; +lean_dec(v___y_4449_); +lean_dec_ref(v___y_4448_); +v_a_4454_ = lean_ctor_get(v___x_4451_, 0); +v_isSharedCheck_4461_ = !lean_is_exclusive(v___x_4451_); +if (v_isSharedCheck_4461_ == 0) { -v___x_4338_ = v___x_4333_; -v_isShared_4339_ = v_isSharedCheck_4343_; -goto v_resetjp_4337_; +v___x_4456_ = v___x_4451_; +v_isShared_4457_ = v_isSharedCheck_4461_; +goto v_resetjp_4455_; } else { -lean_inc(v_a_4336_); -lean_dec(v___x_4333_); -v___x_4338_ = lean_box(0); -v_isShared_4339_ = v_isSharedCheck_4343_; -goto v_resetjp_4337_; +lean_inc(v_a_4454_); +lean_dec(v___x_4451_); +v___x_4456_ = lean_box(0); +v_isShared_4457_ = v_isSharedCheck_4461_; +goto v_resetjp_4455_; } -v_resetjp_4337_: +v_resetjp_4455_: { -lean_object* v___x_4341_; -if (v_isShared_4339_ == 0) +lean_object* v___x_4459_; +if (v_isShared_4457_ == 0) { -v___x_4341_ = v___x_4338_; -goto v_reusejp_4340_; +v___x_4459_ = v___x_4456_; +goto v_reusejp_4458_; } else { -lean_object* v_reuseFailAlloc_4342_; -v_reuseFailAlloc_4342_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4342_, 0, v_a_4336_); -v___x_4341_ = v_reuseFailAlloc_4342_; -goto v_reusejp_4340_; +lean_object* v_reuseFailAlloc_4460_; +v_reuseFailAlloc_4460_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4460_, 0, v_a_4454_); +v___x_4459_ = v_reuseFailAlloc_4460_; +goto v_reusejp_4458_; } -v_reusejp_4340_: +v_reusejp_4458_: { -return v___x_4341_; +return v___x_4459_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0___boxed(lean_object* v_____do__lift_4344_, lean_object* v___y_4345_, lean_object* v___y_4346_, lean_object* v___y_4347_, lean_object* v___y_4348_, lean_object* v___y_4349_, lean_object* v___y_4350_, lean_object* v___y_4351_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0___boxed(lean_object* v_____do__lift_4462_, lean_object* v___y_4463_, lean_object* v___y_4464_, lean_object* v___y_4465_, lean_object* v___y_4466_, lean_object* v___y_4467_, lean_object* v___y_4468_, lean_object* v___y_4469_){ _start: { -uint8_t v___y_164424__boxed_4352_; lean_object* v_res_4353_; -v___y_164424__boxed_4352_ = lean_unbox(v___y_4345_); -v_res_4353_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(v_____do__lift_4344_, v___y_164424__boxed_4352_, v___y_4346_, v___y_4347_, v___y_4348_, v___y_4349_, v___y_4350_); -lean_dec(v___y_4348_); -lean_dec_ref(v___y_4347_); -lean_dec(v___y_4346_); -return v_res_4353_; +lean_object* v_res_4470_; +v_res_4470_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__0(v_____do__lift_4462_, v___y_4463_, v___y_4464_, v___y_4465_, v___y_4466_, v___y_4467_, v___y_4468_); +lean_dec(v___y_4466_); +lean_dec_ref(v___y_4465_); +lean_dec(v___y_4464_); +lean_dec_ref(v___y_4463_); +return v_res_4470_; } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(lean_object* v_msg_4354_, uint8_t v___y_4355_, lean_object* v___y_4356_, lean_object* v___y_4357_, lean_object* v___y_4358_, lean_object* v___y_4359_, lean_object* v___y_4360_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(lean_object* v_msg_4471_, lean_object* v___y_4472_, lean_object* v___y_4473_, lean_object* v___y_4474_, lean_object* v___y_4475_, lean_object* v___y_4476_, lean_object* v___y_4477_){ _start: { -lean_object* v___x_4362_; lean_object* v___x_4363_; lean_object* v_toApplicative_4364_; lean_object* v___x_4366_; uint8_t v_isShared_4367_; uint8_t v_isSharedCheck_4428_; -v___x_4362_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0); -v___x_4363_ = l_ReaderT_instMonad___redArg(v___x_4362_); -v_toApplicative_4364_ = lean_ctor_get(v___x_4363_, 0); -v_isSharedCheck_4428_ = !lean_is_exclusive(v___x_4363_); -if (v_isSharedCheck_4428_ == 0) +lean_object* v___x_4479_; lean_object* v___x_4480_; lean_object* v_toApplicative_4481_; lean_object* v___x_4483_; uint8_t v_isShared_4484_; uint8_t v_isSharedCheck_4544_; +v___x_4479_ = lean_obj_once(&l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0, &l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0_once, _init_l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__0); +v___x_4480_ = l_ReaderT_instMonad___redArg(v___x_4479_); +v_toApplicative_4481_ = lean_ctor_get(v___x_4480_, 0); +v_isSharedCheck_4544_ = !lean_is_exclusive(v___x_4480_); +if (v_isSharedCheck_4544_ == 0) { -lean_object* v_unused_4429_; -v_unused_4429_ = lean_ctor_get(v___x_4363_, 1); -lean_dec(v_unused_4429_); -v___x_4366_ = v___x_4363_; -v_isShared_4367_ = v_isSharedCheck_4428_; -goto v_resetjp_4365_; +lean_object* v_unused_4545_; +v_unused_4545_ = lean_ctor_get(v___x_4480_, 1); +lean_dec(v_unused_4545_); +v___x_4483_ = v___x_4480_; +v_isShared_4484_ = v_isSharedCheck_4544_; +goto v_resetjp_4482_; } else { -lean_inc(v_toApplicative_4364_); -lean_dec(v___x_4363_); -v___x_4366_ = lean_box(0); -v_isShared_4367_ = v_isSharedCheck_4428_; -goto v_resetjp_4365_; +lean_inc(v_toApplicative_4481_); +lean_dec(v___x_4480_); +v___x_4483_ = lean_box(0); +v_isShared_4484_ = v_isSharedCheck_4544_; +goto v_resetjp_4482_; } -v_resetjp_4365_: +v_resetjp_4482_: { -lean_object* v_toFunctor_4368_; lean_object* v_toSeq_4369_; lean_object* v_toSeqLeft_4370_; lean_object* v_toSeqRight_4371_; lean_object* v___x_4373_; uint8_t v_isShared_4374_; uint8_t v_isSharedCheck_4426_; -v_toFunctor_4368_ = lean_ctor_get(v_toApplicative_4364_, 0); -v_toSeq_4369_ = lean_ctor_get(v_toApplicative_4364_, 2); -v_toSeqLeft_4370_ = lean_ctor_get(v_toApplicative_4364_, 3); -v_toSeqRight_4371_ = lean_ctor_get(v_toApplicative_4364_, 4); -v_isSharedCheck_4426_ = !lean_is_exclusive(v_toApplicative_4364_); -if (v_isSharedCheck_4426_ == 0) +lean_object* v_toFunctor_4485_; lean_object* v_toSeq_4486_; lean_object* v_toSeqLeft_4487_; lean_object* v_toSeqRight_4488_; lean_object* v___x_4490_; uint8_t v_isShared_4491_; uint8_t v_isSharedCheck_4542_; +v_toFunctor_4485_ = lean_ctor_get(v_toApplicative_4481_, 0); +v_toSeq_4486_ = lean_ctor_get(v_toApplicative_4481_, 2); +v_toSeqLeft_4487_ = lean_ctor_get(v_toApplicative_4481_, 3); +v_toSeqRight_4488_ = lean_ctor_get(v_toApplicative_4481_, 4); +v_isSharedCheck_4542_ = !lean_is_exclusive(v_toApplicative_4481_); +if (v_isSharedCheck_4542_ == 0) { -lean_object* v_unused_4427_; -v_unused_4427_ = lean_ctor_get(v_toApplicative_4364_, 1); -lean_dec(v_unused_4427_); -v___x_4373_ = v_toApplicative_4364_; -v_isShared_4374_ = v_isSharedCheck_4426_; -goto v_resetjp_4372_; +lean_object* v_unused_4543_; +v_unused_4543_ = lean_ctor_get(v_toApplicative_4481_, 1); +lean_dec(v_unused_4543_); +v___x_4490_ = v_toApplicative_4481_; +v_isShared_4491_ = v_isSharedCheck_4542_; +goto v_resetjp_4489_; } else { -lean_inc(v_toSeqRight_4371_); -lean_inc(v_toSeqLeft_4370_); -lean_inc(v_toSeq_4369_); -lean_inc(v_toFunctor_4368_); -lean_dec(v_toApplicative_4364_); -v___x_4373_ = lean_box(0); -v_isShared_4374_ = v_isSharedCheck_4426_; -goto v_resetjp_4372_; +lean_inc(v_toSeqRight_4488_); +lean_inc(v_toSeqLeft_4487_); +lean_inc(v_toSeq_4486_); +lean_inc(v_toFunctor_4485_); +lean_dec(v_toApplicative_4481_); +v___x_4490_ = lean_box(0); +v_isShared_4491_ = v_isSharedCheck_4542_; +goto v_resetjp_4489_; } -v_resetjp_4372_: +v_resetjp_4489_: { -lean_object* v___f_4375_; lean_object* v___f_4376_; lean_object* v___f_4377_; lean_object* v___f_4378_; lean_object* v___x_4379_; lean_object* v___f_4380_; lean_object* v___f_4381_; lean_object* v___f_4382_; lean_object* v___x_4384_; -v___f_4375_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__1)); -v___f_4376_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__2)); -lean_inc_ref(v_toFunctor_4368_); -v___f_4377_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4377_, 0, v_toFunctor_4368_); -v___f_4378_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4378_, 0, v_toFunctor_4368_); -v___x_4379_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4379_, 0, v___f_4377_); -lean_ctor_set(v___x_4379_, 1, v___f_4378_); -v___f_4380_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4380_, 0, v_toSeqRight_4371_); -v___f_4381_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4381_, 0, v_toSeqLeft_4370_); -v___f_4382_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4382_, 0, v_toSeq_4369_); -if (v_isShared_4374_ == 0) +lean_object* v___f_4492_; lean_object* v___f_4493_; lean_object* v___f_4494_; lean_object* v___f_4495_; lean_object* v___x_4496_; lean_object* v___f_4497_; lean_object* v___f_4498_; lean_object* v___f_4499_; lean_object* v___x_4501_; +v___f_4492_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__1)); +v___f_4493_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__2)); +lean_inc_ref(v_toFunctor_4485_); +v___f_4494_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4494_, 0, v_toFunctor_4485_); +v___f_4495_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4495_, 0, v_toFunctor_4485_); +v___x_4496_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4496_, 0, v___f_4494_); +lean_ctor_set(v___x_4496_, 1, v___f_4495_); +v___f_4497_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4497_, 0, v_toSeqRight_4488_); +v___f_4498_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4498_, 0, v_toSeqLeft_4487_); +v___f_4499_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4499_, 0, v_toSeq_4486_); +if (v_isShared_4491_ == 0) { -lean_ctor_set(v___x_4373_, 4, v___f_4380_); -lean_ctor_set(v___x_4373_, 3, v___f_4381_); -lean_ctor_set(v___x_4373_, 2, v___f_4382_); -lean_ctor_set(v___x_4373_, 1, v___f_4375_); -lean_ctor_set(v___x_4373_, 0, v___x_4379_); -v___x_4384_ = v___x_4373_; -goto v_reusejp_4383_; +lean_ctor_set(v___x_4490_, 4, v___f_4497_); +lean_ctor_set(v___x_4490_, 3, v___f_4498_); +lean_ctor_set(v___x_4490_, 2, v___f_4499_); +lean_ctor_set(v___x_4490_, 1, v___f_4492_); +lean_ctor_set(v___x_4490_, 0, v___x_4496_); +v___x_4501_ = v___x_4490_; +goto v_reusejp_4500_; } else { -lean_object* v_reuseFailAlloc_4425_; -v_reuseFailAlloc_4425_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4425_, 0, v___x_4379_); -lean_ctor_set(v_reuseFailAlloc_4425_, 1, v___f_4375_); -lean_ctor_set(v_reuseFailAlloc_4425_, 2, v___f_4382_); -lean_ctor_set(v_reuseFailAlloc_4425_, 3, v___f_4381_); -lean_ctor_set(v_reuseFailAlloc_4425_, 4, v___f_4380_); -v___x_4384_ = v_reuseFailAlloc_4425_; -goto v_reusejp_4383_; +lean_object* v_reuseFailAlloc_4541_; +v_reuseFailAlloc_4541_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4541_, 0, v___x_4496_); +lean_ctor_set(v_reuseFailAlloc_4541_, 1, v___f_4492_); +lean_ctor_set(v_reuseFailAlloc_4541_, 2, v___f_4499_); +lean_ctor_set(v_reuseFailAlloc_4541_, 3, v___f_4498_); +lean_ctor_set(v_reuseFailAlloc_4541_, 4, v___f_4497_); +v___x_4501_ = v_reuseFailAlloc_4541_; +goto v_reusejp_4500_; } -v_reusejp_4383_: +v_reusejp_4500_: { -lean_object* v___x_4386_; -if (v_isShared_4367_ == 0) +lean_object* v___x_4503_; +if (v_isShared_4484_ == 0) { -lean_ctor_set(v___x_4366_, 1, v___f_4376_); -lean_ctor_set(v___x_4366_, 0, v___x_4384_); -v___x_4386_ = v___x_4366_; -goto v_reusejp_4385_; +lean_ctor_set(v___x_4483_, 1, v___f_4493_); +lean_ctor_set(v___x_4483_, 0, v___x_4501_); +v___x_4503_ = v___x_4483_; +goto v_reusejp_4502_; } else { -lean_object* v_reuseFailAlloc_4424_; -v_reuseFailAlloc_4424_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4424_, 0, v___x_4384_); -lean_ctor_set(v_reuseFailAlloc_4424_, 1, v___f_4376_); -v___x_4386_ = v_reuseFailAlloc_4424_; -goto v_reusejp_4385_; +lean_object* v_reuseFailAlloc_4540_; +v_reuseFailAlloc_4540_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4540_, 0, v___x_4501_); +lean_ctor_set(v_reuseFailAlloc_4540_, 1, v___f_4493_); +v___x_4503_ = v_reuseFailAlloc_4540_; +goto v_reusejp_4502_; } -v_reusejp_4385_: +v_reusejp_4502_: { -lean_object* v___x_4387_; lean_object* v_toApplicative_4388_; lean_object* v___x_4390_; uint8_t v_isShared_4391_; uint8_t v_isSharedCheck_4422_; -v___x_4387_ = l_ReaderT_instMonad___redArg(v___x_4386_); -v_toApplicative_4388_ = lean_ctor_get(v___x_4387_, 0); -v_isSharedCheck_4422_ = !lean_is_exclusive(v___x_4387_); -if (v_isSharedCheck_4422_ == 0) +lean_object* v___x_4504_; lean_object* v_toApplicative_4505_; lean_object* v___x_4507_; uint8_t v_isShared_4508_; uint8_t v_isSharedCheck_4538_; +v___x_4504_ = l_ReaderT_instMonad___redArg(v___x_4503_); +v_toApplicative_4505_ = lean_ctor_get(v___x_4504_, 0); +v_isSharedCheck_4538_ = !lean_is_exclusive(v___x_4504_); +if (v_isSharedCheck_4538_ == 0) { -lean_object* v_unused_4423_; -v_unused_4423_ = lean_ctor_get(v___x_4387_, 1); -lean_dec(v_unused_4423_); -v___x_4390_ = v___x_4387_; -v_isShared_4391_ = v_isSharedCheck_4422_; -goto v_resetjp_4389_; +lean_object* v_unused_4539_; +v_unused_4539_ = lean_ctor_get(v___x_4504_, 1); +lean_dec(v_unused_4539_); +v___x_4507_ = v___x_4504_; +v_isShared_4508_ = v_isSharedCheck_4538_; +goto v_resetjp_4506_; } else { -lean_inc(v_toApplicative_4388_); -lean_dec(v___x_4387_); -v___x_4390_ = lean_box(0); -v_isShared_4391_ = v_isSharedCheck_4422_; -goto v_resetjp_4389_; +lean_inc(v_toApplicative_4505_); +lean_dec(v___x_4504_); +v___x_4507_ = lean_box(0); +v_isShared_4508_ = v_isSharedCheck_4538_; +goto v_resetjp_4506_; } -v_resetjp_4389_: +v_resetjp_4506_: { -lean_object* v_toFunctor_4392_; lean_object* v_toSeq_4393_; lean_object* v_toSeqLeft_4394_; lean_object* v_toSeqRight_4395_; lean_object* v___x_4397_; uint8_t v_isShared_4398_; uint8_t v_isSharedCheck_4420_; -v_toFunctor_4392_ = lean_ctor_get(v_toApplicative_4388_, 0); -v_toSeq_4393_ = lean_ctor_get(v_toApplicative_4388_, 2); -v_toSeqLeft_4394_ = lean_ctor_get(v_toApplicative_4388_, 3); -v_toSeqRight_4395_ = lean_ctor_get(v_toApplicative_4388_, 4); -v_isSharedCheck_4420_ = !lean_is_exclusive(v_toApplicative_4388_); -if (v_isSharedCheck_4420_ == 0) +lean_object* v_toFunctor_4509_; lean_object* v_toSeq_4510_; lean_object* v_toSeqLeft_4511_; lean_object* v_toSeqRight_4512_; lean_object* v___x_4514_; uint8_t v_isShared_4515_; uint8_t v_isSharedCheck_4536_; +v_toFunctor_4509_ = lean_ctor_get(v_toApplicative_4505_, 0); +v_toSeq_4510_ = lean_ctor_get(v_toApplicative_4505_, 2); +v_toSeqLeft_4511_ = lean_ctor_get(v_toApplicative_4505_, 3); +v_toSeqRight_4512_ = lean_ctor_get(v_toApplicative_4505_, 4); +v_isSharedCheck_4536_ = !lean_is_exclusive(v_toApplicative_4505_); +if (v_isSharedCheck_4536_ == 0) { -lean_object* v_unused_4421_; -v_unused_4421_ = lean_ctor_get(v_toApplicative_4388_, 1); -lean_dec(v_unused_4421_); -v___x_4397_ = v_toApplicative_4388_; -v_isShared_4398_ = v_isSharedCheck_4420_; -goto v_resetjp_4396_; +lean_object* v_unused_4537_; +v_unused_4537_ = lean_ctor_get(v_toApplicative_4505_, 1); +lean_dec(v_unused_4537_); +v___x_4514_ = v_toApplicative_4505_; +v_isShared_4515_ = v_isSharedCheck_4536_; +goto v_resetjp_4513_; } else { -lean_inc(v_toSeqRight_4395_); -lean_inc(v_toSeqLeft_4394_); -lean_inc(v_toSeq_4393_); -lean_inc(v_toFunctor_4392_); -lean_dec(v_toApplicative_4388_); -v___x_4397_ = lean_box(0); -v_isShared_4398_ = v_isSharedCheck_4420_; -goto v_resetjp_4396_; +lean_inc(v_toSeqRight_4512_); +lean_inc(v_toSeqLeft_4511_); +lean_inc(v_toSeq_4510_); +lean_inc(v_toFunctor_4509_); +lean_dec(v_toApplicative_4505_); +v___x_4514_ = lean_box(0); +v_isShared_4515_ = v_isSharedCheck_4536_; +goto v_resetjp_4513_; } -v_resetjp_4396_: +v_resetjp_4513_: { -lean_object* v___f_4399_; lean_object* v___f_4400_; lean_object* v___f_4401_; lean_object* v___f_4402_; lean_object* v___x_4403_; lean_object* v___f_4404_; lean_object* v___f_4405_; lean_object* v___f_4406_; lean_object* v___x_4408_; -v___f_4399_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3)); -v___f_4400_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4)); -lean_inc_ref(v_toFunctor_4392_); -v___f_4401_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4401_, 0, v_toFunctor_4392_); -v___f_4402_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4402_, 0, v_toFunctor_4392_); -v___x_4403_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4403_, 0, v___f_4401_); -lean_ctor_set(v___x_4403_, 1, v___f_4402_); -v___f_4404_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4404_, 0, v_toSeqRight_4395_); -v___f_4405_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4405_, 0, v_toSeqLeft_4394_); -v___f_4406_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4406_, 0, v_toSeq_4393_); -if (v_isShared_4398_ == 0) +lean_object* v___f_4516_; lean_object* v___f_4517_; lean_object* v___f_4518_; lean_object* v___f_4519_; lean_object* v___x_4520_; lean_object* v___f_4521_; lean_object* v___f_4522_; lean_object* v___f_4523_; lean_object* v___x_4525_; +v___f_4516_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__3)); +v___f_4517_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2___closed__4)); +lean_inc_ref(v_toFunctor_4509_); +v___f_4518_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4518_, 0, v_toFunctor_4509_); +v___f_4519_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4519_, 0, v_toFunctor_4509_); +v___x_4520_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4520_, 0, v___f_4518_); +lean_ctor_set(v___x_4520_, 1, v___f_4519_); +v___f_4521_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4521_, 0, v_toSeqRight_4512_); +v___f_4522_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4522_, 0, v_toSeqLeft_4511_); +v___f_4523_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4523_, 0, v_toSeq_4510_); +if (v_isShared_4515_ == 0) { -lean_ctor_set(v___x_4397_, 4, v___f_4404_); -lean_ctor_set(v___x_4397_, 3, v___f_4405_); -lean_ctor_set(v___x_4397_, 2, v___f_4406_); -lean_ctor_set(v___x_4397_, 1, v___f_4399_); -lean_ctor_set(v___x_4397_, 0, v___x_4403_); -v___x_4408_ = v___x_4397_; -goto v_reusejp_4407_; +lean_ctor_set(v___x_4514_, 4, v___f_4521_); +lean_ctor_set(v___x_4514_, 3, v___f_4522_); +lean_ctor_set(v___x_4514_, 2, v___f_4523_); +lean_ctor_set(v___x_4514_, 1, v___f_4516_); +lean_ctor_set(v___x_4514_, 0, v___x_4520_); +v___x_4525_ = v___x_4514_; +goto v_reusejp_4524_; } else { -lean_object* v_reuseFailAlloc_4419_; -v_reuseFailAlloc_4419_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4419_, 0, v___x_4403_); -lean_ctor_set(v_reuseFailAlloc_4419_, 1, v___f_4399_); -lean_ctor_set(v_reuseFailAlloc_4419_, 2, v___f_4406_); -lean_ctor_set(v_reuseFailAlloc_4419_, 3, v___f_4405_); -lean_ctor_set(v_reuseFailAlloc_4419_, 4, v___f_4404_); -v___x_4408_ = v_reuseFailAlloc_4419_; -goto v_reusejp_4407_; +lean_object* v_reuseFailAlloc_4535_; +v_reuseFailAlloc_4535_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4535_, 0, v___x_4520_); +lean_ctor_set(v_reuseFailAlloc_4535_, 1, v___f_4516_); +lean_ctor_set(v_reuseFailAlloc_4535_, 2, v___f_4523_); +lean_ctor_set(v_reuseFailAlloc_4535_, 3, v___f_4522_); +lean_ctor_set(v_reuseFailAlloc_4535_, 4, v___f_4521_); +v___x_4525_ = v_reuseFailAlloc_4535_; +goto v_reusejp_4524_; } -v_reusejp_4407_: +v_reusejp_4524_: { -lean_object* v___x_4410_; -if (v_isShared_4391_ == 0) +lean_object* v___x_4527_; +if (v_isShared_4508_ == 0) { -lean_ctor_set(v___x_4390_, 1, v___f_4400_); -lean_ctor_set(v___x_4390_, 0, v___x_4408_); -v___x_4410_ = v___x_4390_; -goto v_reusejp_4409_; +lean_ctor_set(v___x_4507_, 1, v___f_4517_); +lean_ctor_set(v___x_4507_, 0, v___x_4525_); +v___x_4527_ = v___x_4507_; +goto v_reusejp_4526_; } else { -lean_object* v_reuseFailAlloc_4418_; -v_reuseFailAlloc_4418_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4418_, 0, v___x_4408_); -lean_ctor_set(v_reuseFailAlloc_4418_, 1, v___f_4400_); -v___x_4410_ = v_reuseFailAlloc_4418_; -goto v_reusejp_4409_; +lean_object* v_reuseFailAlloc_4534_; +v_reuseFailAlloc_4534_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4534_, 0, v___x_4525_); +lean_ctor_set(v_reuseFailAlloc_4534_, 1, v___f_4517_); +v___x_4527_ = v_reuseFailAlloc_4534_; +goto v_reusejp_4526_; } -v_reusejp_4409_: +v_reusejp_4526_: { -lean_object* v___x_4411_; lean_object* v___x_4412_; lean_object* v___x_4413_; lean_object* v___x_4414_; lean_object* v___x_158738__overap_4415_; lean_object* v___x_4416_; lean_object* v___x_4417_; -v___x_4411_ = l_ReaderT_instMonad___redArg(v___x_4410_); -v___x_4412_ = l_ReaderT_instMonad___redArg(v___x_4411_); -v___x_4413_ = lean_box(0); -v___x_4414_ = l_instInhabitedOfMonad___redArg(v___x_4412_, v___x_4413_); -v___x_158738__overap_4415_ = lean_panic_fn(v___x_4414_, v_msg_4354_); -v___x_4416_ = lean_box(v___y_4355_); -v___x_4417_ = lean_apply_7(v___x_158738__overap_4415_, v___x_4416_, v___y_4356_, v___y_4357_, v___y_4358_, v___y_4359_, v___y_4360_, lean_box(0)); -return v___x_4417_; +lean_object* v___x_4528_; lean_object* v___x_4529_; lean_object* v___x_4530_; lean_object* v___x_4531_; lean_object* v___x_163382__overap_4532_; lean_object* v___x_4533_; +v___x_4528_ = l_ReaderT_instMonad___redArg(v___x_4527_); +v___x_4529_ = l_ReaderT_instMonad___redArg(v___x_4528_); +v___x_4530_ = lean_box(0); +v___x_4531_ = l_instInhabitedOfMonad___redArg(v___x_4529_, v___x_4530_); +v___x_163382__overap_4532_ = lean_panic_fn(v___x_4531_, v_msg_4471_); +v___x_4533_ = lean_apply_7(v___x_163382__overap_4532_, v___y_4472_, v___y_4473_, v___y_4474_, v___y_4475_, v___y_4476_, v___y_4477_, lean_box(0)); +return v___x_4533_; } } } @@ -15247,1300 +15676,686 @@ return v___x_4417_; } } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41___boxed(lean_object* v_msg_4430_, lean_object* v___y_4431_, lean_object* v___y_4432_, lean_object* v___y_4433_, lean_object* v___y_4434_, lean_object* v___y_4435_, lean_object* v___y_4436_, lean_object* v___y_4437_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41___boxed(lean_object* v_msg_4546_, lean_object* v___y_4547_, lean_object* v___y_4548_, lean_object* v___y_4549_, lean_object* v___y_4550_, lean_object* v___y_4551_, lean_object* v___y_4552_, lean_object* v___y_4553_){ _start: { -uint8_t v___y_164474__boxed_4438_; lean_object* v_res_4439_; -v___y_164474__boxed_4438_ = lean_unbox(v___y_4431_); -v_res_4439_ = l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(v_msg_4430_, v___y_164474__boxed_4438_, v___y_4432_, v___y_4433_, v___y_4434_, v___y_4435_, v___y_4436_); -return v_res_4439_; +lean_object* v_res_4554_; +v_res_4554_ = l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(v_msg_4546_, v___y_4547_, v___y_4548_, v___y_4549_, v___y_4550_, v___y_4551_, v___y_4552_); +return v_res_4554_; } } static lean_object* _init_l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3(void){ _start: { -lean_object* v___x_4443_; lean_object* v___x_4444_; lean_object* v___x_4445_; lean_object* v___x_4446_; lean_object* v___x_4447_; lean_object* v___x_4448_; -v___x_4443_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_4444_ = lean_unsigned_to_nat(11u); -v___x_4445_ = lean_unsigned_to_nat(122u); -v___x_4446_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__1)); -v___x_4447_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__0)); -v___x_4448_ = l_mkPanicMessageWithDecl(v___x_4447_, v___x_4446_, v___x_4445_, v___x_4444_, v___x_4443_); -return v___x_4448_; +lean_object* v___x_4558_; lean_object* v___x_4559_; lean_object* v___x_4560_; lean_object* v___x_4561_; lean_object* v___x_4562_; lean_object* v___x_4563_; +v___x_4558_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_4559_ = lean_unsigned_to_nat(11u); +v___x_4560_ = lean_unsigned_to_nat(122u); +v___x_4561_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__1)); +v___x_4562_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__0)); +v___x_4563_ = l_mkPanicMessageWithDecl(v___x_4562_, v___x_4561_, v___x_4560_, v___x_4559_, v___x_4558_); +return v___x_4563_; } } -LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(lean_object* v_constName_4449_, uint8_t v___y_4450_, lean_object* v___y_4451_, lean_object* v___y_4452_, lean_object* v___y_4453_, lean_object* v___y_4454_, lean_object* v___y_4455_){ +LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(lean_object* v_constName_4564_, lean_object* v___y_4565_, lean_object* v___y_4566_, lean_object* v___y_4567_, lean_object* v___y_4568_, lean_object* v___y_4569_, lean_object* v___y_4570_){ _start: { -lean_object* v___x_4457_; lean_object* v_env_4461_; uint8_t v___x_4462_; lean_object* v___x_4463_; -v___x_4457_ = lean_st_ref_get(v___y_4455_); -v_env_4461_ = lean_ctor_get(v___x_4457_, 0); -lean_inc_ref(v_env_4461_); -lean_dec(v___x_4457_); -v___x_4462_ = 0; -v___x_4463_ = l_Lean_Environment_findAsync_x3f(v_env_4461_, v_constName_4449_, v___x_4462_); -if (lean_obj_tag(v___x_4463_) == 1) +lean_object* v___x_4572_; lean_object* v_env_4576_; uint8_t v___x_4577_; lean_object* v___x_4578_; +v___x_4572_ = lean_st_ref_get(v___y_4570_); +v_env_4576_ = lean_ctor_get(v___x_4572_, 0); +lean_inc_ref(v_env_4576_); +lean_dec(v___x_4572_); +v___x_4577_ = 0; +v___x_4578_ = l_Lean_Environment_findAsync_x3f(v_env_4576_, v_constName_4564_, v___x_4577_); +if (lean_obj_tag(v___x_4578_) == 1) { -lean_object* v_val_4464_; lean_object* v___x_4466_; uint8_t v_isShared_4467_; uint8_t v_isSharedCheck_4483_; -v_val_4464_ = lean_ctor_get(v___x_4463_, 0); -v_isSharedCheck_4483_ = !lean_is_exclusive(v___x_4463_); -if (v_isSharedCheck_4483_ == 0) +lean_object* v_val_4579_; lean_object* v___x_4581_; uint8_t v_isShared_4582_; uint8_t v_isSharedCheck_4598_; +v_val_4579_ = lean_ctor_get(v___x_4578_, 0); +v_isSharedCheck_4598_ = !lean_is_exclusive(v___x_4578_); +if (v_isSharedCheck_4598_ == 0) { -v___x_4466_ = v___x_4463_; -v_isShared_4467_ = v_isSharedCheck_4483_; -goto v_resetjp_4465_; +v___x_4581_ = v___x_4578_; +v_isShared_4582_ = v_isSharedCheck_4598_; +goto v_resetjp_4580_; } else { -lean_inc(v_val_4464_); -lean_dec(v___x_4463_); -v___x_4466_ = lean_box(0); -v_isShared_4467_ = v_isSharedCheck_4483_; -goto v_resetjp_4465_; +lean_inc(v_val_4579_); +lean_dec(v___x_4578_); +v___x_4581_ = lean_box(0); +v_isShared_4582_ = v_isSharedCheck_4598_; +goto v_resetjp_4580_; } -v_resetjp_4465_: +v_resetjp_4580_: { -uint8_t v_kind_4468_; -v_kind_4468_ = lean_ctor_get_uint8(v_val_4464_, sizeof(void*)*3); -if (v_kind_4468_ == 6) +uint8_t v_kind_4583_; +v_kind_4583_ = lean_ctor_get_uint8(v_val_4579_, sizeof(void*)*3); +if (v_kind_4583_ == 6) { -lean_object* v___x_4469_; -v___x_4469_ = l_Lean_AsyncConstantInfo_toConstantInfo(v_val_4464_); -if (lean_obj_tag(v___x_4469_) == 6) +lean_object* v___x_4584_; +v___x_4584_ = l_Lean_AsyncConstantInfo_toConstantInfo(v_val_4579_); +if (lean_obj_tag(v___x_4584_) == 6) { -lean_object* v_val_4470_; lean_object* v___x_4472_; uint8_t v_isShared_4473_; uint8_t v_isSharedCheck_4480_; -lean_dec(v___y_4455_); -lean_dec_ref(v___y_4454_); -lean_dec(v___y_4453_); -lean_dec_ref(v___y_4452_); -lean_dec(v___y_4451_); -v_val_4470_ = lean_ctor_get(v___x_4469_, 0); -v_isSharedCheck_4480_ = !lean_is_exclusive(v___x_4469_); -if (v_isSharedCheck_4480_ == 0) +lean_object* v_val_4585_; lean_object* v___x_4587_; uint8_t v_isShared_4588_; uint8_t v_isSharedCheck_4595_; +lean_dec(v___y_4570_); +lean_dec_ref(v___y_4569_); +lean_dec(v___y_4568_); +lean_dec_ref(v___y_4567_); +lean_dec(v___y_4566_); +lean_dec_ref(v___y_4565_); +v_val_4585_ = lean_ctor_get(v___x_4584_, 0); +v_isSharedCheck_4595_ = !lean_is_exclusive(v___x_4584_); +if (v_isSharedCheck_4595_ == 0) { -v___x_4472_ = v___x_4469_; -v_isShared_4473_ = v_isSharedCheck_4480_; -goto v_resetjp_4471_; +v___x_4587_ = v___x_4584_; +v_isShared_4588_ = v_isSharedCheck_4595_; +goto v_resetjp_4586_; } else { -lean_inc(v_val_4470_); -lean_dec(v___x_4469_); -v___x_4472_ = lean_box(0); -v_isShared_4473_ = v_isSharedCheck_4480_; -goto v_resetjp_4471_; +lean_inc(v_val_4585_); +lean_dec(v___x_4584_); +v___x_4587_ = lean_box(0); +v_isShared_4588_ = v_isSharedCheck_4595_; +goto v_resetjp_4586_; } -v_resetjp_4471_: +v_resetjp_4586_: { -lean_object* v___x_4475_; -if (v_isShared_4467_ == 0) +lean_object* v___x_4590_; +if (v_isShared_4582_ == 0) { -lean_ctor_set(v___x_4466_, 0, v_val_4470_); -v___x_4475_ = v___x_4466_; -goto v_reusejp_4474_; +lean_ctor_set(v___x_4581_, 0, v_val_4585_); +v___x_4590_ = v___x_4581_; +goto v_reusejp_4589_; } else { -lean_object* v_reuseFailAlloc_4479_; -v_reuseFailAlloc_4479_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4479_, 0, v_val_4470_); -v___x_4475_ = v_reuseFailAlloc_4479_; -goto v_reusejp_4474_; +lean_object* v_reuseFailAlloc_4594_; +v_reuseFailAlloc_4594_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4594_, 0, v_val_4585_); +v___x_4590_ = v_reuseFailAlloc_4594_; +goto v_reusejp_4589_; } -v_reusejp_4474_: +v_reusejp_4589_: { -lean_object* v___x_4477_; -if (v_isShared_4473_ == 0) +lean_object* v___x_4592_; +if (v_isShared_4588_ == 0) { -lean_ctor_set_tag(v___x_4472_, 0); -lean_ctor_set(v___x_4472_, 0, v___x_4475_); -v___x_4477_ = v___x_4472_; -goto v_reusejp_4476_; +lean_ctor_set_tag(v___x_4587_, 0); +lean_ctor_set(v___x_4587_, 0, v___x_4590_); +v___x_4592_ = v___x_4587_; +goto v_reusejp_4591_; } else { -lean_object* v_reuseFailAlloc_4478_; -v_reuseFailAlloc_4478_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4478_, 0, v___x_4475_); -v___x_4477_ = v_reuseFailAlloc_4478_; -goto v_reusejp_4476_; +lean_object* v_reuseFailAlloc_4593_; +v_reuseFailAlloc_4593_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4593_, 0, v___x_4590_); +v___x_4592_ = v_reuseFailAlloc_4593_; +goto v_reusejp_4591_; } -v_reusejp_4476_: +v_reusejp_4591_: { -return v___x_4477_; +return v___x_4592_; } } } } else { -lean_object* v___x_4481_; lean_object* v___x_4482_; -lean_dec_ref(v___x_4469_); -lean_del_object(v___x_4466_); -v___x_4481_ = lean_obj_once(&l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3, &l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3_once, _init_l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3); -v___x_4482_ = l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(v___x_4481_, v___y_4450_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); -return v___x_4482_; +lean_object* v___x_4596_; lean_object* v___x_4597_; +lean_dec_ref(v___x_4584_); +lean_del_object(v___x_4581_); +v___x_4596_ = lean_obj_once(&l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3, &l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3_once, _init_l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__3); +v___x_4597_ = l_panic___at___00Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38_spec__41(v___x_4596_, v___y_4565_, v___y_4566_, v___y_4567_, v___y_4568_, v___y_4569_, v___y_4570_); +return v___x_4597_; } } else { -lean_del_object(v___x_4466_); -lean_dec(v_val_4464_); -lean_dec(v___y_4455_); -lean_dec_ref(v___y_4454_); -lean_dec(v___y_4453_); -lean_dec_ref(v___y_4452_); -lean_dec(v___y_4451_); -goto v___jp_4458_; +lean_del_object(v___x_4581_); +lean_dec(v_val_4579_); +lean_dec(v___y_4570_); +lean_dec_ref(v___y_4569_); +lean_dec(v___y_4568_); +lean_dec_ref(v___y_4567_); +lean_dec(v___y_4566_); +lean_dec_ref(v___y_4565_); +goto v___jp_4573_; } } } else { -lean_dec(v___x_4463_); -lean_dec(v___y_4455_); -lean_dec_ref(v___y_4454_); -lean_dec(v___y_4453_); -lean_dec_ref(v___y_4452_); -lean_dec(v___y_4451_); -goto v___jp_4458_; +lean_dec(v___x_4578_); +lean_dec(v___y_4570_); +lean_dec_ref(v___y_4569_); +lean_dec(v___y_4568_); +lean_dec_ref(v___y_4567_); +lean_dec(v___y_4566_); +lean_dec_ref(v___y_4565_); +goto v___jp_4573_; } -v___jp_4458_: +v___jp_4573_: { -lean_object* v___x_4459_; lean_object* v___x_4460_; -v___x_4459_ = lean_box(0); -v___x_4460_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4460_, 0, v___x_4459_); -return v___x_4460_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___boxed(lean_object* v_constName_4484_, lean_object* v___y_4485_, lean_object* v___y_4486_, lean_object* v___y_4487_, lean_object* v___y_4488_, lean_object* v___y_4489_, lean_object* v___y_4490_, lean_object* v___y_4491_){ -_start: -{ -uint8_t v___y_164627__boxed_4492_; lean_object* v_res_4493_; -v___y_164627__boxed_4492_ = lean_unbox(v___y_4485_); -v_res_4493_ = l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(v_constName_4484_, v___y_164627__boxed_4492_, v___y_4486_, v___y_4487_, v___y_4488_, v___y_4489_, v___y_4490_); -return v_res_4493_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(lean_object* v_type_4494_, lean_object* v_k_4495_, uint8_t v_cleanupAnnotations_4496_, lean_object* v___y_4497_, lean_object* v___y_4498_, lean_object* v___y_4499_, lean_object* v___y_4500_){ -_start: -{ -lean_object* v___f_4502_; uint8_t v___x_4503_; lean_object* v___x_4504_; lean_object* v___x_4505_; -v___f_4502_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_4502_, 0, v_k_4495_); -v___x_4503_ = 0; -v___x_4504_ = lean_box(0); -v___x_4505_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_4503_, v___x_4504_, v_type_4494_, v___f_4502_, v_cleanupAnnotations_4496_, v___x_4503_, v___y_4497_, v___y_4498_, v___y_4499_, v___y_4500_); -if (lean_obj_tag(v___x_4505_) == 0) -{ -lean_object* v_a_4506_; lean_object* v___x_4508_; uint8_t v_isShared_4509_; uint8_t v_isSharedCheck_4513_; -v_a_4506_ = lean_ctor_get(v___x_4505_, 0); -v_isSharedCheck_4513_ = !lean_is_exclusive(v___x_4505_); -if (v_isSharedCheck_4513_ == 0) -{ -v___x_4508_ = v___x_4505_; -v_isShared_4509_ = v_isSharedCheck_4513_; -goto v_resetjp_4507_; -} -else -{ -lean_inc(v_a_4506_); -lean_dec(v___x_4505_); -v___x_4508_ = lean_box(0); -v_isShared_4509_ = v_isSharedCheck_4513_; -goto v_resetjp_4507_; -} -v_resetjp_4507_: -{ -lean_object* v___x_4511_; -if (v_isShared_4509_ == 0) -{ -v___x_4511_ = v___x_4508_; -goto v_reusejp_4510_; -} -else -{ -lean_object* v_reuseFailAlloc_4512_; -v_reuseFailAlloc_4512_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4512_, 0, v_a_4506_); -v___x_4511_ = v_reuseFailAlloc_4512_; -goto v_reusejp_4510_; -} -v_reusejp_4510_: -{ -return v___x_4511_; -} -} -} -else -{ -lean_object* v_a_4514_; lean_object* v___x_4516_; uint8_t v_isShared_4517_; uint8_t v_isSharedCheck_4521_; -v_a_4514_ = lean_ctor_get(v___x_4505_, 0); -v_isSharedCheck_4521_ = !lean_is_exclusive(v___x_4505_); -if (v_isSharedCheck_4521_ == 0) -{ -v___x_4516_ = v___x_4505_; -v_isShared_4517_ = v_isSharedCheck_4521_; -goto v_resetjp_4515_; -} -else -{ -lean_inc(v_a_4514_); -lean_dec(v___x_4505_); -v___x_4516_ = lean_box(0); -v_isShared_4517_ = v_isSharedCheck_4521_; -goto v_resetjp_4515_; -} -v_resetjp_4515_: -{ -lean_object* v___x_4519_; -if (v_isShared_4517_ == 0) -{ -v___x_4519_ = v___x_4516_; -goto v_reusejp_4518_; -} -else -{ -lean_object* v_reuseFailAlloc_4520_; -v_reuseFailAlloc_4520_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4520_, 0, v_a_4514_); -v___x_4519_ = v_reuseFailAlloc_4520_; -goto v_reusejp_4518_; -} -v_reusejp_4518_: -{ -return v___x_4519_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg___boxed(lean_object* v_type_4522_, lean_object* v_k_4523_, lean_object* v_cleanupAnnotations_4524_, lean_object* v___y_4525_, lean_object* v___y_4526_, lean_object* v___y_4527_, lean_object* v___y_4528_, lean_object* v___y_4529_){ -_start: -{ -uint8_t v_cleanupAnnotations_boxed_4530_; lean_object* v_res_4531_; -v_cleanupAnnotations_boxed_4530_ = lean_unbox(v_cleanupAnnotations_4524_); -v_res_4531_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_4522_, v_k_4523_, v_cleanupAnnotations_boxed_4530_, v___y_4525_, v___y_4526_, v___y_4527_, v___y_4528_); -return v_res_4531_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(uint8_t v___x_4532_, lean_object* v_a_4533_, lean_object* v_b_4534_, lean_object* v___y_4535_, lean_object* v___y_4536_, lean_object* v___y_4537_, lean_object* v___y_4538_){ -_start: -{ -lean_object* v_array_4540_; lean_object* v_start_4541_; lean_object* v_stop_4542_; lean_object* v___x_4544_; uint8_t v_isShared_4545_; uint8_t v_isSharedCheck_4580_; -v_array_4540_ = lean_ctor_get(v_a_4533_, 0); -v_start_4541_ = lean_ctor_get(v_a_4533_, 1); -v_stop_4542_ = lean_ctor_get(v_a_4533_, 2); -v_isSharedCheck_4580_ = !lean_is_exclusive(v_a_4533_); -if (v_isSharedCheck_4580_ == 0) -{ -v___x_4544_ = v_a_4533_; -v_isShared_4545_ = v_isSharedCheck_4580_; -goto v_resetjp_4543_; -} -else -{ -lean_inc(v_stop_4542_); -lean_inc(v_start_4541_); -lean_inc(v_array_4540_); -lean_dec(v_a_4533_); -v___x_4544_ = lean_box(0); -v_isShared_4545_ = v_isSharedCheck_4580_; -goto v_resetjp_4543_; -} -v_resetjp_4543_: -{ -uint8_t v___x_4546_; -v___x_4546_ = lean_nat_dec_lt(v_start_4541_, v_stop_4542_); -if (v___x_4546_ == 0) -{ -lean_object* v___x_4547_; -lean_del_object(v___x_4544_); -lean_dec(v_stop_4542_); -lean_dec(v_start_4541_); -lean_dec_ref(v_array_4540_); -lean_dec(v___y_4538_); -lean_dec_ref(v___y_4537_); -lean_dec(v___y_4536_); -lean_dec_ref(v___y_4535_); -v___x_4547_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4547_, 0, v_b_4534_); -return v___x_4547_; -} -else -{ -lean_object* v___x_4548_; lean_object* v___x_4549_; lean_object* v___x_4550_; -v___x_4548_ = lean_array_fget_borrowed(v_array_4540_, v_start_4541_); -v___x_4549_ = l_Lean_Expr_fvarId_x21(v___x_4548_); -lean_inc_ref(v___y_4535_); -v___x_4550_ = l_Lean_FVarId_getType___redArg(v___x_4549_, v___y_4535_, v___y_4537_, v___y_4538_); -if (lean_obj_tag(v___x_4550_) == 0) -{ -lean_object* v_a_4551_; lean_object* v___x_4552_; -v_a_4551_ = lean_ctor_get(v___x_4550_, 0); -lean_inc(v_a_4551_); -lean_dec_ref(v___x_4550_); -lean_inc(v___y_4538_); -lean_inc_ref(v___y_4537_); -lean_inc(v___y_4536_); -lean_inc_ref(v___y_4535_); -v___x_4552_ = l_Lean_Meta_isProp(v_a_4551_, v___y_4535_, v___y_4536_, v___y_4537_, v___y_4538_); -if (lean_obj_tag(v___x_4552_) == 0) -{ -lean_object* v_a_4553_; lean_object* v___x_4554_; lean_object* v___x_4555_; lean_object* v___x_4557_; -v_a_4553_ = lean_ctor_get(v___x_4552_, 0); -lean_inc(v_a_4553_); -lean_dec_ref(v___x_4552_); -v___x_4554_ = lean_unsigned_to_nat(1u); -v___x_4555_ = lean_nat_add(v_start_4541_, v___x_4554_); -lean_dec(v_start_4541_); -if (v_isShared_4545_ == 0) -{ -lean_ctor_set(v___x_4544_, 1, v___x_4555_); -v___x_4557_ = v___x_4544_; -goto v_reusejp_4556_; -} -else -{ -lean_object* v_reuseFailAlloc_4563_; -v_reuseFailAlloc_4563_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4563_, 0, v_array_4540_); -lean_ctor_set(v_reuseFailAlloc_4563_, 1, v___x_4555_); -lean_ctor_set(v_reuseFailAlloc_4563_, 2, v_stop_4542_); -v___x_4557_ = v_reuseFailAlloc_4563_; -goto v_reusejp_4556_; -} -v_reusejp_4556_: -{ -uint8_t v___x_4558_; -v___x_4558_ = lean_unbox(v_a_4553_); -lean_dec(v_a_4553_); -if (v___x_4558_ == 0) -{ -if (v___x_4532_ == 0) -{ -v_a_4533_ = v___x_4557_; -goto _start; -} -else -{ -lean_object* v___x_4560_; -v___x_4560_ = lean_nat_add(v_b_4534_, v___x_4554_); -lean_dec(v_b_4534_); -v_a_4533_ = v___x_4557_; -v_b_4534_ = v___x_4560_; -goto _start; -} -} -else -{ -v_a_4533_ = v___x_4557_; -goto _start; -} -} -} -else -{ -lean_object* v_a_4564_; lean_object* v___x_4566_; uint8_t v_isShared_4567_; uint8_t v_isSharedCheck_4571_; -lean_del_object(v___x_4544_); -lean_dec(v_stop_4542_); -lean_dec(v_start_4541_); -lean_dec_ref(v_array_4540_); -lean_dec(v___y_4538_); -lean_dec_ref(v___y_4537_); -lean_dec(v___y_4536_); -lean_dec_ref(v___y_4535_); -lean_dec(v_b_4534_); -v_a_4564_ = lean_ctor_get(v___x_4552_, 0); -v_isSharedCheck_4571_ = !lean_is_exclusive(v___x_4552_); -if (v_isSharedCheck_4571_ == 0) -{ -v___x_4566_ = v___x_4552_; -v_isShared_4567_ = v_isSharedCheck_4571_; -goto v_resetjp_4565_; -} -else -{ -lean_inc(v_a_4564_); -lean_dec(v___x_4552_); -v___x_4566_ = lean_box(0); -v_isShared_4567_ = v_isSharedCheck_4571_; -goto v_resetjp_4565_; -} -v_resetjp_4565_: -{ -lean_object* v___x_4569_; -if (v_isShared_4567_ == 0) -{ -v___x_4569_ = v___x_4566_; -goto v_reusejp_4568_; -} -else -{ -lean_object* v_reuseFailAlloc_4570_; -v_reuseFailAlloc_4570_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4570_, 0, v_a_4564_); -v___x_4569_ = v_reuseFailAlloc_4570_; -goto v_reusejp_4568_; -} -v_reusejp_4568_: -{ -return v___x_4569_; -} -} -} -} -else -{ -lean_object* v_a_4572_; lean_object* v___x_4574_; uint8_t v_isShared_4575_; uint8_t v_isSharedCheck_4579_; -lean_del_object(v___x_4544_); -lean_dec(v_stop_4542_); -lean_dec(v_start_4541_); -lean_dec_ref(v_array_4540_); -lean_dec(v___y_4538_); -lean_dec_ref(v___y_4537_); -lean_dec(v___y_4536_); -lean_dec_ref(v___y_4535_); -lean_dec(v_b_4534_); -v_a_4572_ = lean_ctor_get(v___x_4550_, 0); -v_isSharedCheck_4579_ = !lean_is_exclusive(v___x_4550_); -if (v_isSharedCheck_4579_ == 0) -{ -v___x_4574_ = v___x_4550_; -v_isShared_4575_ = v_isSharedCheck_4579_; -goto v_resetjp_4573_; -} -else -{ -lean_inc(v_a_4572_); -lean_dec(v___x_4550_); +lean_object* v___x_4574_; lean_object* v___x_4575_; v___x_4574_ = lean_box(0); -v_isShared_4575_ = v_isSharedCheck_4579_; -goto v_resetjp_4573_; -} -v_resetjp_4573_: -{ -lean_object* v___x_4577_; -if (v_isShared_4575_ == 0) -{ -v___x_4577_ = v___x_4574_; -goto v_reusejp_4576_; -} -else -{ -lean_object* v_reuseFailAlloc_4578_; -v_reuseFailAlloc_4578_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4578_, 0, v_a_4572_); -v___x_4577_ = v_reuseFailAlloc_4578_; -goto v_reusejp_4576_; -} -v_reusejp_4576_: -{ -return v___x_4577_; +v___x_4575_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4575_, 0, v___x_4574_); +return v___x_4575_; } } } -} -} -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg___boxed(lean_object* v___x_4581_, lean_object* v_a_4582_, lean_object* v_b_4583_, lean_object* v___y_4584_, lean_object* v___y_4585_, lean_object* v___y_4586_, lean_object* v___y_4587_, lean_object* v___y_4588_){ +LEAN_EXPORT lean_object* l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___boxed(lean_object* v_constName_4599_, lean_object* v___y_4600_, lean_object* v___y_4601_, lean_object* v___y_4602_, lean_object* v___y_4603_, lean_object* v___y_4604_, lean_object* v___y_4605_, lean_object* v___y_4606_){ _start: { -uint8_t v___x_164764__boxed_4589_; lean_object* v_res_4590_; -v___x_164764__boxed_4589_ = lean_unbox(v___x_4581_); -v_res_4590_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_164764__boxed_4589_, v_a_4582_, v_b_4583_, v___y_4584_, v___y_4585_, v___y_4586_, v___y_4587_); -return v_res_4590_; +lean_object* v_res_4607_; +v_res_4607_ = l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(v_constName_4599_, v___y_4600_, v___y_4601_, v___y_4602_, v___y_4603_, v___y_4604_, v___y_4605_); +return v_res_4607_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(uint8_t v___x_4591_, lean_object* v_numParams_4592_, lean_object* v_params_4593_, lean_object* v_x_4594_, lean_object* v___y_4595_, lean_object* v___y_4596_, lean_object* v___y_4597_, lean_object* v___y_4598_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(lean_object* v_type_4608_, lean_object* v_k_4609_, uint8_t v_cleanupAnnotations_4610_, lean_object* v___y_4611_, lean_object* v___y_4612_, lean_object* v___y_4613_, lean_object* v___y_4614_){ _start: { -lean_object* v___x_4600_; lean_object* v_lower_4602_; lean_object* v_upper_4603_; lean_object* v___x_4606_; uint8_t v___x_4607_; -v___x_4600_ = lean_unsigned_to_nat(0u); -v___x_4606_ = lean_array_get_size(v_params_4593_); -v___x_4607_ = lean_nat_dec_le(v_numParams_4592_, v___x_4600_); -if (v___x_4607_ == 0) +lean_object* v___f_4616_; uint8_t v___x_4617_; lean_object* v___x_4618_; lean_object* v___x_4619_; +v___f_4616_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Compiler_LCNF_ToLCNF_etaExpandN_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_4616_, 0, v_k_4609_); +v___x_4617_ = 0; +v___x_4618_ = lean_box(0); +v___x_4619_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_4617_, v___x_4618_, v_type_4608_, v___f_4616_, v_cleanupAnnotations_4610_, v___x_4617_, v___y_4611_, v___y_4612_, v___y_4613_, v___y_4614_); +if (lean_obj_tag(v___x_4619_) == 0) { -v_lower_4602_ = v_numParams_4592_; -v_upper_4603_ = v___x_4606_; -goto v___jp_4601_; +lean_object* v_a_4620_; lean_object* v___x_4622_; uint8_t v_isShared_4623_; uint8_t v_isSharedCheck_4627_; +v_a_4620_ = lean_ctor_get(v___x_4619_, 0); +v_isSharedCheck_4627_ = !lean_is_exclusive(v___x_4619_); +if (v_isSharedCheck_4627_ == 0) +{ +v___x_4622_ = v___x_4619_; +v_isShared_4623_ = v_isSharedCheck_4627_; +goto v_resetjp_4621_; } else { -lean_dec(v_numParams_4592_); -v_lower_4602_ = v___x_4600_; -v_upper_4603_ = v___x_4606_; -goto v___jp_4601_; +lean_inc(v_a_4620_); +lean_dec(v___x_4619_); +v___x_4622_ = lean_box(0); +v_isShared_4623_ = v_isSharedCheck_4627_; +goto v_resetjp_4621_; } -v___jp_4601_: +v_resetjp_4621_: { -lean_object* v___x_4604_; lean_object* v___x_4605_; -v___x_4604_ = l_Array_toSubarray___redArg(v_params_4593_, v_lower_4602_, v_upper_4603_); -v___x_4605_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_4591_, v___x_4604_, v___x_4600_, v___y_4595_, v___y_4596_, v___y_4597_, v___y_4598_); -return v___x_4605_; +lean_object* v___x_4625_; +if (v_isShared_4623_ == 0) +{ +v___x_4625_ = v___x_4622_; +goto v_reusejp_4624_; +} +else +{ +lean_object* v_reuseFailAlloc_4626_; +v_reuseFailAlloc_4626_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4626_, 0, v_a_4620_); +v___x_4625_ = v_reuseFailAlloc_4626_; +goto v_reusejp_4624_; +} +v_reusejp_4624_: +{ +return v___x_4625_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed(lean_object* v___x_4608_, lean_object* v_numParams_4609_, lean_object* v_params_4610_, lean_object* v_x_4611_, lean_object* v___y_4612_, lean_object* v___y_4613_, lean_object* v___y_4614_, lean_object* v___y_4615_, lean_object* v___y_4616_){ +else +{ +lean_object* v_a_4628_; lean_object* v___x_4630_; uint8_t v_isShared_4631_; uint8_t v_isSharedCheck_4635_; +v_a_4628_ = lean_ctor_get(v___x_4619_, 0); +v_isSharedCheck_4635_ = !lean_is_exclusive(v___x_4619_); +if (v_isSharedCheck_4635_ == 0) +{ +v___x_4630_ = v___x_4619_; +v_isShared_4631_ = v_isSharedCheck_4635_; +goto v_resetjp_4629_; +} +else +{ +lean_inc(v_a_4628_); +lean_dec(v___x_4619_); +v___x_4630_ = lean_box(0); +v_isShared_4631_ = v_isSharedCheck_4635_; +goto v_resetjp_4629_; +} +v_resetjp_4629_: +{ +lean_object* v___x_4633_; +if (v_isShared_4631_ == 0) +{ +v___x_4633_ = v___x_4630_; +goto v_reusejp_4632_; +} +else +{ +lean_object* v_reuseFailAlloc_4634_; +v_reuseFailAlloc_4634_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4634_, 0, v_a_4628_); +v___x_4633_ = v_reuseFailAlloc_4634_; +goto v_reusejp_4632_; +} +v_reusejp_4632_: +{ +return v___x_4633_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg___boxed(lean_object* v_type_4636_, lean_object* v_k_4637_, lean_object* v_cleanupAnnotations_4638_, lean_object* v___y_4639_, lean_object* v___y_4640_, lean_object* v___y_4641_, lean_object* v___y_4642_, lean_object* v___y_4643_){ _start: { -uint8_t v___x_164858__boxed_4617_; lean_object* v_res_4618_; -v___x_164858__boxed_4617_ = lean_unbox(v___x_4608_); -v_res_4618_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(v___x_164858__boxed_4617_, v_numParams_4609_, v_params_4610_, v_x_4611_, v___y_4612_, v___y_4613_, v___y_4614_, v___y_4615_); -lean_dec_ref(v_x_4611_); -return v_res_4618_; +uint8_t v_cleanupAnnotations_boxed_4644_; lean_object* v_res_4645_; +v_cleanupAnnotations_boxed_4644_ = lean_unbox(v_cleanupAnnotations_4638_); +v_res_4645_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_4636_, v_k_4637_, v_cleanupAnnotations_boxed_4644_, v___y_4639_, v___y_4640_, v___y_4641_, v___y_4642_); +return v_res_4645_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(lean_object* v_msg_4619_, lean_object* v___y_4620_, lean_object* v___y_4621_, lean_object* v___y_4622_, lean_object* v___y_4623_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(uint8_t v___x_4646_, lean_object* v_a_4647_, lean_object* v_b_4648_, lean_object* v___y_4649_, lean_object* v___y_4650_, lean_object* v___y_4651_, lean_object* v___y_4652_){ _start: { -lean_object* v_options_4625_; lean_object* v_ref_4626_; lean_object* v___x_4627_; lean_object* v___x_4628_; lean_object* v___x_4629_; -v_options_4625_ = lean_ctor_get(v___y_4622_, 2); -v_ref_4626_ = lean_ctor_get(v___y_4622_, 5); -v___x_4627_ = lean_st_ref_get(v___y_4623_); -v___x_4628_ = lean_st_ref_get(v___y_4621_); -v___x_4629_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_4620_); -if (lean_obj_tag(v___x_4629_) == 0) +lean_object* v_array_4654_; lean_object* v_start_4655_; lean_object* v_stop_4656_; lean_object* v___x_4658_; uint8_t v_isShared_4659_; uint8_t v_isSharedCheck_4694_; +v_array_4654_ = lean_ctor_get(v_a_4647_, 0); +v_start_4655_ = lean_ctor_get(v_a_4647_, 1); +v_stop_4656_ = lean_ctor_get(v_a_4647_, 2); +v_isSharedCheck_4694_ = !lean_is_exclusive(v_a_4647_); +if (v_isSharedCheck_4694_ == 0) { -lean_object* v_a_4630_; lean_object* v___x_4632_; uint8_t v_isShared_4633_; uint8_t v_isSharedCheck_4652_; -v_a_4630_ = lean_ctor_get(v___x_4629_, 0); -v_isSharedCheck_4652_ = !lean_is_exclusive(v___x_4629_); -if (v_isSharedCheck_4652_ == 0) -{ -v___x_4632_ = v___x_4629_; -v_isShared_4633_ = v_isSharedCheck_4652_; -goto v_resetjp_4631_; +v___x_4658_ = v_a_4647_; +v_isShared_4659_ = v_isSharedCheck_4694_; +goto v_resetjp_4657_; } else { -lean_inc(v_a_4630_); -lean_dec(v___x_4629_); -v___x_4632_ = lean_box(0); -v_isShared_4633_ = v_isSharedCheck_4652_; -goto v_resetjp_4631_; +lean_inc(v_stop_4656_); +lean_inc(v_start_4655_); +lean_inc(v_array_4654_); +lean_dec(v_a_4647_); +v___x_4658_ = lean_box(0); +v_isShared_4659_ = v_isSharedCheck_4694_; +goto v_resetjp_4657_; } -v_resetjp_4631_: +v_resetjp_4657_: { -lean_object* v_env_4634_; lean_object* v_lctx_4635_; lean_object* v___x_4637_; uint8_t v_isShared_4638_; uint8_t v_isSharedCheck_4650_; -v_env_4634_ = lean_ctor_get(v___x_4627_, 0); -lean_inc_ref(v_env_4634_); -lean_dec(v___x_4627_); -v_lctx_4635_ = lean_ctor_get(v___x_4628_, 0); -v_isSharedCheck_4650_ = !lean_is_exclusive(v___x_4628_); -if (v_isSharedCheck_4650_ == 0) +uint8_t v___x_4660_; +v___x_4660_ = lean_nat_dec_lt(v_start_4655_, v_stop_4656_); +if (v___x_4660_ == 0) { -lean_object* v_unused_4651_; -v_unused_4651_ = lean_ctor_get(v___x_4628_, 1); -lean_dec(v_unused_4651_); -v___x_4637_ = v___x_4628_; -v_isShared_4638_ = v_isSharedCheck_4650_; -goto v_resetjp_4636_; +lean_object* v___x_4661_; +lean_del_object(v___x_4658_); +lean_dec(v_stop_4656_); +lean_dec(v_start_4655_); +lean_dec_ref(v_array_4654_); +lean_dec(v___y_4652_); +lean_dec_ref(v___y_4651_); +lean_dec(v___y_4650_); +lean_dec_ref(v___y_4649_); +v___x_4661_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4661_, 0, v_b_4648_); +return v___x_4661_; } else { -lean_inc(v_lctx_4635_); -lean_dec(v___x_4628_); -v___x_4637_ = lean_box(0); -v_isShared_4638_ = v_isSharedCheck_4650_; -goto v_resetjp_4636_; -} -v_resetjp_4636_: +lean_object* v___x_4662_; lean_object* v___x_4663_; lean_object* v___x_4664_; +v___x_4662_ = lean_array_fget_borrowed(v_array_4654_, v_start_4655_); +v___x_4663_ = l_Lean_Expr_fvarId_x21(v___x_4662_); +lean_inc_ref(v___y_4649_); +v___x_4664_ = l_Lean_FVarId_getType___redArg(v___x_4663_, v___y_4649_, v___y_4651_, v___y_4652_); +if (lean_obj_tag(v___x_4664_) == 0) { -uint8_t v___x_4639_; lean_object* v___x_4640_; lean_object* v___x_4641_; lean_object* v___x_4642_; lean_object* v___x_4644_; -v___x_4639_ = lean_unbox(v_a_4630_); -lean_dec(v_a_4630_); -v___x_4640_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_4635_, v___x_4639_); -lean_dec_ref(v_lctx_4635_); -v___x_4641_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); -lean_inc_ref(v_options_4625_); -v___x_4642_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_4642_, 0, v_env_4634_); -lean_ctor_set(v___x_4642_, 1, v___x_4641_); -lean_ctor_set(v___x_4642_, 2, v___x_4640_); -lean_ctor_set(v___x_4642_, 3, v_options_4625_); -if (v_isShared_4638_ == 0) +lean_object* v_a_4665_; lean_object* v___x_4666_; +v_a_4665_ = lean_ctor_get(v___x_4664_, 0); +lean_inc(v_a_4665_); +lean_dec_ref(v___x_4664_); +lean_inc(v___y_4652_); +lean_inc_ref(v___y_4651_); +lean_inc(v___y_4650_); +lean_inc_ref(v___y_4649_); +v___x_4666_ = l_Lean_Meta_isProp(v_a_4665_, v___y_4649_, v___y_4650_, v___y_4651_, v___y_4652_); +if (lean_obj_tag(v___x_4666_) == 0) { -lean_ctor_set_tag(v___x_4637_, 3); -lean_ctor_set(v___x_4637_, 1, v_msg_4619_); -lean_ctor_set(v___x_4637_, 0, v___x_4642_); -v___x_4644_ = v___x_4637_; -goto v_reusejp_4643_; +lean_object* v_a_4667_; lean_object* v___x_4668_; lean_object* v___x_4669_; lean_object* v___x_4671_; +v_a_4667_ = lean_ctor_get(v___x_4666_, 0); +lean_inc(v_a_4667_); +lean_dec_ref(v___x_4666_); +v___x_4668_ = lean_unsigned_to_nat(1u); +v___x_4669_ = lean_nat_add(v_start_4655_, v___x_4668_); +lean_dec(v_start_4655_); +if (v_isShared_4659_ == 0) +{ +lean_ctor_set(v___x_4658_, 1, v___x_4669_); +v___x_4671_ = v___x_4658_; +goto v_reusejp_4670_; } else { -lean_object* v_reuseFailAlloc_4649_; -v_reuseFailAlloc_4649_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4649_, 0, v___x_4642_); -lean_ctor_set(v_reuseFailAlloc_4649_, 1, v_msg_4619_); -v___x_4644_ = v_reuseFailAlloc_4649_; -goto v_reusejp_4643_; +lean_object* v_reuseFailAlloc_4677_; +v_reuseFailAlloc_4677_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4677_, 0, v_array_4654_); +lean_ctor_set(v_reuseFailAlloc_4677_, 1, v___x_4669_); +lean_ctor_set(v_reuseFailAlloc_4677_, 2, v_stop_4656_); +v___x_4671_ = v_reuseFailAlloc_4677_; +goto v_reusejp_4670_; } -v_reusejp_4643_: +v_reusejp_4670_: { -lean_object* v___x_4645_; lean_object* v___x_4647_; -lean_inc(v_ref_4626_); -v___x_4645_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4645_, 0, v_ref_4626_); -lean_ctor_set(v___x_4645_, 1, v___x_4644_); -if (v_isShared_4633_ == 0) +uint8_t v___x_4672_; +v___x_4672_ = lean_unbox(v_a_4667_); +lean_dec(v_a_4667_); +if (v___x_4672_ == 0) { -lean_ctor_set_tag(v___x_4632_, 1); -lean_ctor_set(v___x_4632_, 0, v___x_4645_); -v___x_4647_ = v___x_4632_; -goto v_reusejp_4646_; +if (v___x_4646_ == 0) +{ +v_a_4647_ = v___x_4671_; +goto _start; } else { -lean_object* v_reuseFailAlloc_4648_; -v_reuseFailAlloc_4648_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4648_, 0, v___x_4645_); -v___x_4647_ = v_reuseFailAlloc_4648_; -goto v_reusejp_4646_; +lean_object* v___x_4674_; +v___x_4674_ = lean_nat_add(v_b_4648_, v___x_4668_); +lean_dec(v_b_4648_); +v_a_4647_ = v___x_4671_; +v_b_4648_ = v___x_4674_; +goto _start; } -v_reusejp_4646_: +} +else { -return v___x_4647_; +v_a_4647_ = v___x_4671_; +goto _start; } } } +else +{ +lean_object* v_a_4678_; lean_object* v___x_4680_; uint8_t v_isShared_4681_; uint8_t v_isSharedCheck_4685_; +lean_del_object(v___x_4658_); +lean_dec(v_stop_4656_); +lean_dec(v_start_4655_); +lean_dec_ref(v_array_4654_); +lean_dec(v___y_4652_); +lean_dec_ref(v___y_4651_); +lean_dec(v___y_4650_); +lean_dec_ref(v___y_4649_); +lean_dec(v_b_4648_); +v_a_4678_ = lean_ctor_get(v___x_4666_, 0); +v_isSharedCheck_4685_ = !lean_is_exclusive(v___x_4666_); +if (v_isSharedCheck_4685_ == 0) +{ +v___x_4680_ = v___x_4666_; +v_isShared_4681_ = v_isSharedCheck_4685_; +goto v_resetjp_4679_; +} +else +{ +lean_inc(v_a_4678_); +lean_dec(v___x_4666_); +v___x_4680_ = lean_box(0); +v_isShared_4681_ = v_isSharedCheck_4685_; +goto v_resetjp_4679_; +} +v_resetjp_4679_: +{ +lean_object* v___x_4683_; +if (v_isShared_4681_ == 0) +{ +v___x_4683_ = v___x_4680_; +goto v_reusejp_4682_; +} +else +{ +lean_object* v_reuseFailAlloc_4684_; +v_reuseFailAlloc_4684_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4684_, 0, v_a_4678_); +v___x_4683_ = v_reuseFailAlloc_4684_; +goto v_reusejp_4682_; +} +v_reusejp_4682_: +{ +return v___x_4683_; +} +} } } else { -lean_object* v_a_4653_; lean_object* v___x_4655_; uint8_t v_isShared_4656_; uint8_t v_isSharedCheck_4660_; -lean_dec(v___x_4628_); -lean_dec(v___x_4627_); -lean_dec_ref(v_msg_4619_); -v_a_4653_ = lean_ctor_get(v___x_4629_, 0); -v_isSharedCheck_4660_ = !lean_is_exclusive(v___x_4629_); -if (v_isSharedCheck_4660_ == 0) +lean_object* v_a_4686_; lean_object* v___x_4688_; uint8_t v_isShared_4689_; uint8_t v_isSharedCheck_4693_; +lean_del_object(v___x_4658_); +lean_dec(v_stop_4656_); +lean_dec(v_start_4655_); +lean_dec_ref(v_array_4654_); +lean_dec(v___y_4652_); +lean_dec_ref(v___y_4651_); +lean_dec(v___y_4650_); +lean_dec_ref(v___y_4649_); +lean_dec(v_b_4648_); +v_a_4686_ = lean_ctor_get(v___x_4664_, 0); +v_isSharedCheck_4693_ = !lean_is_exclusive(v___x_4664_); +if (v_isSharedCheck_4693_ == 0) { -v___x_4655_ = v___x_4629_; -v_isShared_4656_ = v_isSharedCheck_4660_; -goto v_resetjp_4654_; +v___x_4688_ = v___x_4664_; +v_isShared_4689_ = v_isSharedCheck_4693_; +goto v_resetjp_4687_; } else { -lean_inc(v_a_4653_); -lean_dec(v___x_4629_); -v___x_4655_ = lean_box(0); -v_isShared_4656_ = v_isSharedCheck_4660_; -goto v_resetjp_4654_; +lean_inc(v_a_4686_); +lean_dec(v___x_4664_); +v___x_4688_ = lean_box(0); +v_isShared_4689_ = v_isSharedCheck_4693_; +goto v_resetjp_4687_; } -v_resetjp_4654_: +v_resetjp_4687_: { -lean_object* v___x_4658_; -if (v_isShared_4656_ == 0) +lean_object* v___x_4691_; +if (v_isShared_4689_ == 0) { -v___x_4658_ = v___x_4655_; -goto v_reusejp_4657_; +v___x_4691_ = v___x_4688_; +goto v_reusejp_4690_; } else { -lean_object* v_reuseFailAlloc_4659_; -v_reuseFailAlloc_4659_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4659_, 0, v_a_4653_); -v___x_4658_ = v_reuseFailAlloc_4659_; -goto v_reusejp_4657_; +lean_object* v_reuseFailAlloc_4692_; +v_reuseFailAlloc_4692_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4692_, 0, v_a_4686_); +v___x_4691_ = v_reuseFailAlloc_4692_; +goto v_reusejp_4690_; } -v_reusejp_4657_: +v_reusejp_4690_: { -return v___x_4658_; +return v___x_4691_; } } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg___boxed(lean_object* v_msg_4661_, lean_object* v___y_4662_, lean_object* v___y_4663_, lean_object* v___y_4664_, lean_object* v___y_4665_, lean_object* v___y_4666_){ +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg___boxed(lean_object* v___x_4695_, lean_object* v_a_4696_, lean_object* v_b_4697_, lean_object* v___y_4698_, lean_object* v___y_4699_, lean_object* v___y_4700_, lean_object* v___y_4701_, lean_object* v___y_4702_){ _start: { -lean_object* v_res_4667_; -v_res_4667_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_4661_, v___y_4662_, v___y_4663_, v___y_4664_, v___y_4665_); -lean_dec(v___y_4665_); -lean_dec_ref(v___y_4664_); -lean_dec(v___y_4663_); -lean_dec_ref(v___y_4662_); -return v_res_4667_; +uint8_t v___x_169562__boxed_4703_; lean_object* v_res_4704_; +v___x_169562__boxed_4703_ = lean_unbox(v___x_4695_); +v_res_4704_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_169562__boxed_4703_, v_a_4696_, v_b_4697_, v___y_4698_, v___y_4699_, v___y_4700_, v___y_4701_); +return v_res_4704_; } } -static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1(void){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(uint8_t v___x_4705_, lean_object* v_numParams_4706_, lean_object* v_params_4707_, lean_object* v_x_4708_, lean_object* v___y_4709_, lean_object* v___y_4710_, lean_object* v___y_4711_, lean_object* v___y_4712_){ _start: { -lean_object* v___x_4669_; lean_object* v___x_4670_; -v___x_4669_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__0)); -v___x_4670_ = l_Lean_stringToMessageData(v___x_4669_); -return v___x_4670_; +lean_object* v___x_4714_; lean_object* v_lower_4716_; lean_object* v_upper_4717_; lean_object* v___x_4720_; uint8_t v___x_4721_; +v___x_4714_ = lean_unsigned_to_nat(0u); +v___x_4720_ = lean_array_get_size(v_params_4707_); +v___x_4721_ = lean_nat_dec_le(v_numParams_4706_, v___x_4714_); +if (v___x_4721_ == 0) +{ +v_lower_4716_ = v_numParams_4706_; +v_upper_4717_ = v___x_4720_; +goto v___jp_4715_; +} +else +{ +lean_dec(v_numParams_4706_); +v_lower_4716_ = v___x_4714_; +v_upper_4717_ = v___x_4720_; +goto v___jp_4715_; +} +v___jp_4715_: +{ +lean_object* v___x_4718_; lean_object* v___x_4719_; +v___x_4718_ = l_Array_toSubarray___redArg(v_params_4707_, v_lower_4716_, v_upper_4717_); +v___x_4719_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_4705_, v___x_4718_, v___x_4714_, v___y_4709_, v___y_4710_, v___y_4711_, v___y_4712_); +return v___x_4719_; } } -static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2(void){ +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed(lean_object* v___x_4722_, lean_object* v_numParams_4723_, lean_object* v_params_4724_, lean_object* v_x_4725_, lean_object* v___y_4726_, lean_object* v___y_4727_, lean_object* v___y_4728_, lean_object* v___y_4729_, lean_object* v___y_4730_){ _start: { -lean_object* v___x_4671_; lean_object* v___x_4672_; -v___x_4671_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__3)); -v___x_4672_ = l_Lean_stringToMessageData(v___x_4671_); -return v___x_4672_; +uint8_t v___x_169656__boxed_4731_; lean_object* v_res_4732_; +v___x_169656__boxed_4731_ = lean_unbox(v___x_4722_); +v_res_4732_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2(v___x_169656__boxed_4731_, v_numParams_4723_, v_params_4724_, v_x_4725_, v___y_4726_, v___y_4727_, v___y_4728_, v___y_4729_); +lean_dec_ref(v_x_4725_); +return v_res_4732_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3(lean_object* v___x_4673_, lean_object* v_declName_4674_, lean_object* v_e_4675_, lean_object* v___f_4676_, lean_object* v___x_4677_, lean_object* v___x_4678_, uint8_t v___y_4679_, lean_object* v___y_4680_, lean_object* v___y_4681_, lean_object* v___y_4682_, lean_object* v___y_4683_, lean_object* v___y_4684_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(lean_object* v_msg_4733_, lean_object* v___y_4734_, lean_object* v___y_4735_, lean_object* v___y_4736_, lean_object* v___y_4737_){ _start: { -lean_object* v_a_4687_; lean_object* v___y_4700_; lean_object* v___y_4701_; lean_object* v___y_4702_; lean_object* v___y_4703_; lean_object* v___y_4712_; lean_object* v_a_4713_; lean_object* v___y_4776_; lean_object* v_a_4777_; lean_object* v___y_4803_; lean_object* v_a_4804_; lean_object* v___y_4830_; lean_object* v_a_4831_; lean_object* v___y_4857_; lean_object* v_a_4858_; -if (lean_obj_tag(v___x_4673_) == 0) +lean_object* v_options_4739_; lean_object* v_ref_4740_; lean_object* v___x_4741_; lean_object* v___x_4742_; lean_object* v___x_4743_; +v_options_4739_ = lean_ctor_get(v___y_4736_, 2); +v_ref_4740_ = lean_ctor_get(v___y_4736_, 5); +v___x_4741_ = lean_st_ref_get(v___y_4737_); +v___x_4742_ = lean_st_ref_get(v___y_4735_); +v___x_4743_ = l_Lean_Compiler_LCNF_getPurity___redArg(v___y_4734_); +if (lean_obj_tag(v___x_4743_) == 0) { -lean_object* v_lhs_4883_; lean_object* v_rhs_4884_; lean_object* v_a_4886_; lean_object* v___x_4912_; lean_object* v_lctx_4913_; lean_object* v___x_4914_; lean_object* v___x_4915_; uint8_t v___x_4916_; lean_object* v___x_4917_; lean_object* v___x_4918_; lean_object* v___x_4919_; uint8_t v___x_4920_; lean_object* v___x_4921_; lean_object* v___x_4922_; lean_object* v___x_4923_; lean_object* v___x_4924_; lean_object* v___x_4925_; -v_lhs_4883_ = lean_ctor_get(v___x_4673_, 1); -lean_inc(v_lhs_4883_); -v_rhs_4884_ = lean_ctor_get(v___x_4673_, 2); -lean_inc(v_rhs_4884_); -lean_dec_ref(v___x_4673_); -v___x_4912_ = lean_st_ref_get(v___y_4680_); -v_lctx_4913_ = lean_ctor_get(v___x_4912_, 0); -lean_inc_ref(v_lctx_4913_); -lean_dec(v___x_4912_); -v___x_4914_ = lean_box(1); -v___x_4915_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4916_ = 0; -v___x_4917_ = lean_unsigned_to_nat(0u); -v___x_4918_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4919_ = lean_box(0); -v___x_4920_ = 1; -v___x_4921_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4921_, 0, v___x_4915_); -lean_ctor_set(v___x_4921_, 1, v___x_4914_); -lean_ctor_set(v___x_4921_, 2, v_lctx_4913_); -lean_ctor_set(v___x_4921_, 3, v___x_4918_); -lean_ctor_set(v___x_4921_, 4, v___x_4919_); -lean_ctor_set(v___x_4921_, 5, v___x_4917_); -lean_ctor_set(v___x_4921_, 6, v___x_4919_); -lean_ctor_set_uint8(v___x_4921_, sizeof(void*)*7, v___x_4916_); -lean_ctor_set_uint8(v___x_4921_, sizeof(void*)*7 + 1, v___x_4916_); -lean_ctor_set_uint8(v___x_4921_, sizeof(void*)*7 + 2, v___x_4916_); -lean_ctor_set_uint8(v___x_4921_, sizeof(void*)*7 + 3, v___x_4920_); -v___x_4922_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4923_ = lean_st_mk_ref(v___x_4922_); -lean_inc_ref(v___x_4677_); -v___x_4924_ = lean_array_get_borrowed(v___x_4677_, v___x_4678_, v_lhs_4883_); -lean_dec(v_lhs_4883_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4923_); -lean_inc(v___x_4924_); -v___x_4925_ = lean_whnf(v___x_4924_, v___x_4921_, v___x_4923_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4925_) == 0) +lean_object* v_a_4744_; lean_object* v___x_4746_; uint8_t v_isShared_4747_; uint8_t v_isSharedCheck_4766_; +v_a_4744_ = lean_ctor_get(v___x_4743_, 0); +v_isSharedCheck_4766_ = !lean_is_exclusive(v___x_4743_); +if (v_isSharedCheck_4766_ == 0) { -lean_object* v_a_4926_; lean_object* v___x_4927_; -v_a_4926_ = lean_ctor_get(v___x_4925_, 0); -lean_inc(v_a_4926_); -lean_dec_ref(v___x_4925_); -v___x_4927_ = lean_st_ref_get(v___x_4923_); -lean_dec(v___x_4923_); -lean_dec(v___x_4927_); -v_a_4886_ = v_a_4926_; -goto v___jp_4885_; +v___x_4746_ = v___x_4743_; +v_isShared_4747_ = v_isSharedCheck_4766_; +goto v_resetjp_4745_; } else { -lean_dec(v___x_4923_); -if (lean_obj_tag(v___x_4925_) == 0) +lean_inc(v_a_4744_); +lean_dec(v___x_4743_); +v___x_4746_ = lean_box(0); +v_isShared_4747_ = v_isSharedCheck_4766_; +goto v_resetjp_4745_; +} +v_resetjp_4745_: { -lean_object* v_a_4928_; -v_a_4928_ = lean_ctor_get(v___x_4925_, 0); -lean_inc(v_a_4928_); -lean_dec_ref(v___x_4925_); -v_a_4886_ = v_a_4928_; -goto v___jp_4885_; +lean_object* v_env_4748_; lean_object* v_lctx_4749_; lean_object* v___x_4751_; uint8_t v_isShared_4752_; uint8_t v_isSharedCheck_4764_; +v_env_4748_ = lean_ctor_get(v___x_4741_, 0); +lean_inc_ref(v_env_4748_); +lean_dec(v___x_4741_); +v_lctx_4749_ = lean_ctor_get(v___x_4742_, 0); +v_isSharedCheck_4764_ = !lean_is_exclusive(v___x_4742_); +if (v_isSharedCheck_4764_ == 0) +{ +lean_object* v_unused_4765_; +v_unused_4765_ = lean_ctor_get(v___x_4742_, 1); +lean_dec(v_unused_4765_); +v___x_4751_ = v___x_4742_; +v_isShared_4752_ = v_isSharedCheck_4764_; +goto v_resetjp_4750_; } else { -lean_object* v_a_4929_; lean_object* v___x_4931_; uint8_t v_isShared_4932_; uint8_t v_isSharedCheck_4936_; -lean_dec(v_rhs_4884_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___x_4677_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4929_ = lean_ctor_get(v___x_4925_, 0); -v_isSharedCheck_4936_ = !lean_is_exclusive(v___x_4925_); -if (v_isSharedCheck_4936_ == 0) +lean_inc(v_lctx_4749_); +lean_dec(v___x_4742_); +v___x_4751_ = lean_box(0); +v_isShared_4752_ = v_isSharedCheck_4764_; +goto v_resetjp_4750_; +} +v_resetjp_4750_: { -v___x_4931_ = v___x_4925_; -v_isShared_4932_ = v_isSharedCheck_4936_; -goto v_resetjp_4930_; +uint8_t v___x_4753_; lean_object* v___x_4754_; lean_object* v___x_4755_; lean_object* v___x_4756_; lean_object* v___x_4758_; +v___x_4753_ = lean_unbox(v_a_4744_); +lean_dec(v_a_4744_); +v___x_4754_ = l_Lean_Compiler_LCNF_LCtx_toLocalContext(v_lctx_4749_, v___x_4753_); +lean_dec_ref(v_lctx_4749_); +v___x_4755_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); +lean_inc_ref(v_options_4739_); +v___x_4756_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_4756_, 0, v_env_4748_); +lean_ctor_set(v___x_4756_, 1, v___x_4755_); +lean_ctor_set(v___x_4756_, 2, v___x_4754_); +lean_ctor_set(v___x_4756_, 3, v_options_4739_); +if (v_isShared_4752_ == 0) +{ +lean_ctor_set_tag(v___x_4751_, 3); +lean_ctor_set(v___x_4751_, 1, v_msg_4733_); +lean_ctor_set(v___x_4751_, 0, v___x_4756_); +v___x_4758_ = v___x_4751_; +goto v_reusejp_4757_; } else { -lean_inc(v_a_4929_); -lean_dec(v___x_4925_); -v___x_4931_ = lean_box(0); -v_isShared_4932_ = v_isSharedCheck_4936_; -goto v_resetjp_4930_; +lean_object* v_reuseFailAlloc_4763_; +v_reuseFailAlloc_4763_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4763_, 0, v___x_4756_); +lean_ctor_set(v_reuseFailAlloc_4763_, 1, v_msg_4733_); +v___x_4758_ = v_reuseFailAlloc_4763_; +goto v_reusejp_4757_; } -v_resetjp_4930_: +v_reusejp_4757_: { -lean_object* v___x_4934_; -if (v_isShared_4932_ == 0) +lean_object* v___x_4759_; lean_object* v___x_4761_; +lean_inc(v_ref_4740_); +v___x_4759_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4759_, 0, v_ref_4740_); +lean_ctor_set(v___x_4759_, 1, v___x_4758_); +if (v_isShared_4747_ == 0) { -v___x_4934_ = v___x_4931_; -goto v_reusejp_4933_; +lean_ctor_set_tag(v___x_4746_, 1); +lean_ctor_set(v___x_4746_, 0, v___x_4759_); +v___x_4761_ = v___x_4746_; +goto v_reusejp_4760_; } else { -lean_object* v_reuseFailAlloc_4935_; -v_reuseFailAlloc_4935_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4935_, 0, v_a_4929_); -v___x_4934_ = v_reuseFailAlloc_4935_; -goto v_reusejp_4933_; +lean_object* v_reuseFailAlloc_4762_; +v_reuseFailAlloc_4762_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4762_, 0, v___x_4759_); +v___x_4761_ = v_reuseFailAlloc_4762_; +goto v_reusejp_4760_; } -v_reusejp_4933_: +v_reusejp_4760_: { -return v___x_4934_; +return v___x_4761_; } } } } -v___jp_4885_: -{ -lean_object* v___x_4887_; lean_object* v_lctx_4888_; lean_object* v___x_4889_; lean_object* v___x_4890_; uint8_t v___x_4891_; lean_object* v___x_4892_; lean_object* v___x_4893_; lean_object* v___x_4894_; uint8_t v___x_4895_; lean_object* v___x_4896_; lean_object* v___x_4897_; lean_object* v___x_4898_; lean_object* v___x_4899_; lean_object* v___x_4900_; -v___x_4887_ = lean_st_ref_get(v___y_4680_); -v_lctx_4888_ = lean_ctor_get(v___x_4887_, 0); -lean_inc_ref(v_lctx_4888_); -lean_dec(v___x_4887_); -v___x_4889_ = lean_box(1); -v___x_4890_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4891_ = 0; -v___x_4892_ = lean_unsigned_to_nat(0u); -v___x_4893_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4894_ = lean_box(0); -v___x_4895_ = 1; -v___x_4896_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4896_, 0, v___x_4890_); -lean_ctor_set(v___x_4896_, 1, v___x_4889_); -lean_ctor_set(v___x_4896_, 2, v_lctx_4888_); -lean_ctor_set(v___x_4896_, 3, v___x_4893_); -lean_ctor_set(v___x_4896_, 4, v___x_4894_); -lean_ctor_set(v___x_4896_, 5, v___x_4892_); -lean_ctor_set(v___x_4896_, 6, v___x_4894_); -lean_ctor_set_uint8(v___x_4896_, sizeof(void*)*7, v___x_4891_); -lean_ctor_set_uint8(v___x_4896_, sizeof(void*)*7 + 1, v___x_4891_); -lean_ctor_set_uint8(v___x_4896_, sizeof(void*)*7 + 2, v___x_4891_); -lean_ctor_set_uint8(v___x_4896_, sizeof(void*)*7 + 3, v___x_4895_); -v___x_4897_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4898_ = lean_st_mk_ref(v___x_4897_); -v___x_4899_ = lean_array_get_borrowed(v___x_4677_, v___x_4678_, v_rhs_4884_); -lean_dec(v_rhs_4884_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4898_); -lean_inc(v___x_4899_); -v___x_4900_ = lean_whnf(v___x_4899_, v___x_4896_, v___x_4898_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4900_) == 0) -{ -lean_object* v_a_4901_; lean_object* v___x_4902_; -v_a_4901_ = lean_ctor_get(v___x_4900_, 0); -lean_inc(v_a_4901_); -lean_dec_ref(v___x_4900_); -v___x_4902_ = lean_st_ref_get(v___x_4898_); -lean_dec(v___x_4898_); -lean_dec(v___x_4902_); -v___y_4857_ = v_a_4886_; -v_a_4858_ = v_a_4901_; -goto v___jp_4856_; -} -else -{ -lean_dec(v___x_4898_); -if (lean_obj_tag(v___x_4900_) == 0) -{ -lean_object* v_a_4903_; -v_a_4903_ = lean_ctor_get(v___x_4900_, 0); -lean_inc(v_a_4903_); -lean_dec_ref(v___x_4900_); -v___y_4857_ = v_a_4886_; -v_a_4858_ = v_a_4903_; -goto v___jp_4856_; -} -else -{ -lean_object* v_a_4904_; lean_object* v___x_4906_; uint8_t v_isShared_4907_; uint8_t v_isSharedCheck_4911_; -lean_dec_ref(v_a_4886_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4904_ = lean_ctor_get(v___x_4900_, 0); -v_isSharedCheck_4911_ = !lean_is_exclusive(v___x_4900_); -if (v_isSharedCheck_4911_ == 0) -{ -v___x_4906_ = v___x_4900_; -v_isShared_4907_ = v_isSharedCheck_4911_; -goto v_resetjp_4905_; -} -else -{ -lean_inc(v_a_4904_); -lean_dec(v___x_4900_); -v___x_4906_ = lean_box(0); -v_isShared_4907_ = v_isSharedCheck_4911_; -goto v_resetjp_4905_; -} -v_resetjp_4905_: -{ -lean_object* v___x_4909_; -if (v_isShared_4907_ == 0) -{ -v___x_4909_ = v___x_4906_; -goto v_reusejp_4908_; -} -else -{ -lean_object* v_reuseFailAlloc_4910_; -v_reuseFailAlloc_4910_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4910_, 0, v_a_4904_); -v___x_4909_ = v_reuseFailAlloc_4910_; -goto v_reusejp_4908_; -} -v_reusejp_4908_: -{ -return v___x_4909_; -} -} -} -} -} -} -else -{ -lean_object* v_fields_4937_; lean_object* v___x_4938_; lean_object* v___x_4939_; -lean_dec_ref(v___x_4677_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_fields_4937_ = lean_ctor_get(v___x_4673_, 1); -lean_inc(v_fields_4937_); -lean_dec_ref(v___x_4673_); -v___x_4938_ = lean_box(v___y_4679_); -v___x_4939_ = lean_apply_8(v___f_4676_, v_fields_4937_, v___x_4938_, v___y_4680_, v___y_4681_, v___y_4682_, v___y_4683_, v___y_4684_, lean_box(0)); -return v___x_4939_; -} -v___jp_4686_: -{ -lean_object* v___x_4688_; -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -v___x_4688_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_a_4687_, v___y_4680_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4688_) == 0) -{ -lean_object* v_a_4689_; lean_object* v___x_4690_; -v_a_4689_ = lean_ctor_get(v___x_4688_, 0); -lean_inc(v_a_4689_); -lean_dec_ref(v___x_4688_); -v___x_4690_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_4689_, v___y_4680_, v___y_4681_, v___y_4682_, v___y_4683_, v___y_4684_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -return v___x_4690_; -} -else -{ -lean_object* v_a_4691_; lean_object* v___x_4693_; uint8_t v_isShared_4694_; uint8_t v_isSharedCheck_4698_; -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -v_a_4691_ = lean_ctor_get(v___x_4688_, 0); -v_isSharedCheck_4698_ = !lean_is_exclusive(v___x_4688_); -if (v_isSharedCheck_4698_ == 0) -{ -v___x_4693_ = v___x_4688_; -v_isShared_4694_ = v_isSharedCheck_4698_; -goto v_resetjp_4692_; -} -else -{ -lean_inc(v_a_4691_); -lean_dec(v___x_4688_); -v___x_4693_ = lean_box(0); -v_isShared_4694_ = v_isSharedCheck_4698_; -goto v_resetjp_4692_; -} -v_resetjp_4692_: -{ -lean_object* v___x_4696_; -if (v_isShared_4694_ == 0) -{ -v___x_4696_ = v___x_4693_; -goto v_reusejp_4695_; -} -else -{ -lean_object* v_reuseFailAlloc_4697_; -v_reuseFailAlloc_4697_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4697_, 0, v_a_4691_); -v___x_4696_ = v_reuseFailAlloc_4697_; -goto v_reusejp_4695_; -} -v_reusejp_4695_: -{ -return v___x_4696_; -} -} -} -} -v___jp_4699_: -{ -lean_object* v___x_4704_; uint8_t v___x_4705_; lean_object* v___x_4706_; lean_object* v___x_4707_; lean_object* v___x_4708_; lean_object* v___x_4709_; lean_object* v___x_4710_; -v___x_4704_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1); -v___x_4705_ = 0; -v___x_4706_ = l_Lean_MessageData_ofConstName(v_declName_4674_, v___x_4705_); -v___x_4707_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_4707_, 0, v___x_4704_); -lean_ctor_set(v___x_4707_, 1, v___x_4706_); -v___x_4708_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2); -v___x_4709_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_4709_, 0, v___x_4707_); -lean_ctor_set(v___x_4709_, 1, v___x_4708_); -v___x_4710_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v___x_4709_, v___y_4700_, v___y_4701_, v___y_4702_, v___y_4703_); -lean_dec(v___y_4703_); -lean_dec_ref(v___y_4702_); -lean_dec(v___y_4701_); -lean_dec_ref(v___y_4700_); -return v___x_4710_; -} -v___jp_4711_: -{ -if (lean_obj_tag(v___y_4712_) == 1) -{ -if (lean_obj_tag(v_a_4713_) == 1) -{ -lean_object* v_val_4714_; lean_object* v_toConstantVal_4715_; lean_object* v_val_4716_; lean_object* v_toConstantVal_4717_; lean_object* v_numParams_4718_; lean_object* v_name_4719_; lean_object* v_type_4720_; lean_object* v_name_4721_; uint8_t v___x_4722_; -lean_dec(v_declName_4674_); -v_val_4714_ = lean_ctor_get(v___y_4712_, 0); -lean_inc(v_val_4714_); -lean_dec_ref(v___y_4712_); -v_toConstantVal_4715_ = lean_ctor_get(v_val_4714_, 0); -lean_inc_ref(v_toConstantVal_4715_); -v_val_4716_ = lean_ctor_get(v_a_4713_, 0); -lean_inc(v_val_4716_); -lean_dec_ref(v_a_4713_); -v_toConstantVal_4717_ = lean_ctor_get(v_val_4716_, 0); -lean_inc_ref(v_toConstantVal_4717_); -lean_dec(v_val_4716_); -v_numParams_4718_ = lean_ctor_get(v_val_4714_, 3); -lean_inc(v_numParams_4718_); -lean_dec(v_val_4714_); -v_name_4719_ = lean_ctor_get(v_toConstantVal_4715_, 0); -lean_inc(v_name_4719_); -v_type_4720_ = lean_ctor_get(v_toConstantVal_4715_, 2); -lean_inc_ref(v_type_4720_); -lean_dec_ref(v_toConstantVal_4715_); -v_name_4721_ = lean_ctor_get(v_toConstantVal_4717_, 0); -lean_inc(v_name_4721_); -lean_dec_ref(v_toConstantVal_4717_); -v___x_4722_ = lean_name_eq(v_name_4719_, v_name_4721_); -lean_dec(v_name_4721_); -lean_dec(v_name_4719_); -if (v___x_4722_ == 0) -{ -lean_object* v___x_4723_; lean_object* v_lctx_4724_; lean_object* v___x_4725_; lean_object* v___x_4726_; lean_object* v___x_4727_; lean_object* v___x_4728_; lean_object* v___x_4729_; uint8_t v___x_4730_; lean_object* v___x_4731_; lean_object* v___x_4732_; lean_object* v___x_4733_; lean_object* v___x_4734_; -lean_dec_ref(v_type_4720_); -lean_dec(v_numParams_4718_); -lean_dec_ref(v___f_4676_); -v___x_4723_ = lean_st_ref_get(v___y_4680_); -v_lctx_4724_ = lean_ctor_get(v___x_4723_, 0); -lean_inc_ref(v_lctx_4724_); -lean_dec(v___x_4723_); -v___x_4725_ = lean_box(1); -v___x_4726_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4727_ = lean_unsigned_to_nat(0u); -v___x_4728_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4729_ = lean_box(0); -v___x_4730_ = 1; -v___x_4731_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4731_, 0, v___x_4726_); -lean_ctor_set(v___x_4731_, 1, v___x_4725_); -lean_ctor_set(v___x_4731_, 2, v_lctx_4724_); -lean_ctor_set(v___x_4731_, 3, v___x_4728_); -lean_ctor_set(v___x_4731_, 4, v___x_4729_); -lean_ctor_set(v___x_4731_, 5, v___x_4727_); -lean_ctor_set(v___x_4731_, 6, v___x_4729_); -lean_ctor_set_uint8(v___x_4731_, sizeof(void*)*7, v___x_4722_); -lean_ctor_set_uint8(v___x_4731_, sizeof(void*)*7 + 1, v___x_4722_); -lean_ctor_set_uint8(v___x_4731_, sizeof(void*)*7 + 2, v___x_4722_); -lean_ctor_set_uint8(v___x_4731_, sizeof(void*)*7 + 3, v___x_4730_); -v___x_4732_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4733_ = lean_st_mk_ref(v___x_4732_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4733_); -v___x_4734_ = lean_infer_type(v_e_4675_, v___x_4731_, v___x_4733_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4734_) == 0) -{ -lean_object* v_a_4735_; lean_object* v___x_4736_; -v_a_4735_ = lean_ctor_get(v___x_4734_, 0); -lean_inc(v_a_4735_); -lean_dec_ref(v___x_4734_); -v___x_4736_ = lean_st_ref_get(v___x_4733_); -lean_dec(v___x_4733_); -lean_dec(v___x_4736_); -v_a_4687_ = v_a_4735_; -goto v___jp_4686_; -} -else -{ -lean_dec(v___x_4733_); -if (lean_obj_tag(v___x_4734_) == 0) -{ -lean_object* v_a_4737_; -v_a_4737_ = lean_ctor_get(v___x_4734_, 0); -lean_inc(v_a_4737_); -lean_dec_ref(v___x_4734_); -v_a_4687_ = v_a_4737_; -goto v___jp_4686_; -} -else -{ -lean_object* v_a_4738_; lean_object* v___x_4740_; uint8_t v_isShared_4741_; uint8_t v_isSharedCheck_4745_; -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -v_a_4738_ = lean_ctor_get(v___x_4734_, 0); -v_isSharedCheck_4745_ = !lean_is_exclusive(v___x_4734_); -if (v_isSharedCheck_4745_ == 0) -{ -v___x_4740_ = v___x_4734_; -v_isShared_4741_ = v_isSharedCheck_4745_; -goto v_resetjp_4739_; -} -else -{ -lean_inc(v_a_4738_); -lean_dec(v___x_4734_); -v___x_4740_ = lean_box(0); -v_isShared_4741_ = v_isSharedCheck_4745_; -goto v_resetjp_4739_; -} -v_resetjp_4739_: -{ -lean_object* v___x_4743_; -if (v_isShared_4741_ == 0) -{ -v___x_4743_ = v___x_4740_; -goto v_reusejp_4742_; -} -else -{ -lean_object* v_reuseFailAlloc_4744_; -v_reuseFailAlloc_4744_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4744_, 0, v_a_4738_); -v___x_4743_ = v_reuseFailAlloc_4744_; -goto v_reusejp_4742_; -} -v_reusejp_4742_: -{ -return v___x_4743_; -} -} -} -} -} -else -{ -lean_object* v___x_4746_; lean_object* v_lctx_4747_; lean_object* v___x_4748_; lean_object* v___x_4749_; uint8_t v___x_4750_; lean_object* v___x_4751_; lean_object* v___x_4752_; lean_object* v___x_4753_; lean_object* v___x_4754_; lean_object* v___x_4755_; lean_object* v___x_4756_; lean_object* v___x_4757_; lean_object* v___f_4758_; lean_object* v___x_4759_; -lean_dec_ref(v_e_4675_); -v___x_4746_ = lean_st_ref_get(v___y_4680_); -v_lctx_4747_ = lean_ctor_get(v___x_4746_, 0); -lean_inc_ref(v_lctx_4747_); -lean_dec(v___x_4746_); -v___x_4748_ = lean_box(1); -v___x_4749_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4750_ = 0; -v___x_4751_ = lean_unsigned_to_nat(0u); -v___x_4752_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4753_ = lean_box(0); -v___x_4754_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4754_, 0, v___x_4749_); -lean_ctor_set(v___x_4754_, 1, v___x_4748_); -lean_ctor_set(v___x_4754_, 2, v_lctx_4747_); -lean_ctor_set(v___x_4754_, 3, v___x_4752_); -lean_ctor_set(v___x_4754_, 4, v___x_4753_); -lean_ctor_set(v___x_4754_, 5, v___x_4751_); -lean_ctor_set(v___x_4754_, 6, v___x_4753_); -lean_ctor_set_uint8(v___x_4754_, sizeof(void*)*7, v___x_4750_); -lean_ctor_set_uint8(v___x_4754_, sizeof(void*)*7 + 1, v___x_4750_); -lean_ctor_set_uint8(v___x_4754_, sizeof(void*)*7 + 2, v___x_4750_); -lean_ctor_set_uint8(v___x_4754_, sizeof(void*)*7 + 3, v___x_4722_); -v___x_4755_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4756_ = lean_st_mk_ref(v___x_4755_); -v___x_4757_ = lean_box(v___x_4722_); -v___f_4758_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed), 9, 2); -lean_closure_set(v___f_4758_, 0, v___x_4757_); -lean_closure_set(v___f_4758_, 1, v_numParams_4718_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4756_); -v___x_4759_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_4720_, v___f_4758_, v___x_4750_, v___x_4754_, v___x_4756_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4759_) == 0) -{ -lean_object* v_a_4760_; lean_object* v___x_4761_; lean_object* v___x_4762_; lean_object* v___x_4763_; -v_a_4760_ = lean_ctor_get(v___x_4759_, 0); -lean_inc(v_a_4760_); -lean_dec_ref(v___x_4759_); -v___x_4761_ = lean_st_ref_get(v___x_4756_); -lean_dec(v___x_4756_); -lean_dec(v___x_4761_); -v___x_4762_ = lean_box(v___y_4679_); -v___x_4763_ = lean_apply_8(v___f_4676_, v_a_4760_, v___x_4762_, v___y_4680_, v___y_4681_, v___y_4682_, v___y_4683_, v___y_4684_, lean_box(0)); -return v___x_4763_; -} -else -{ -lean_dec(v___x_4756_); -if (lean_obj_tag(v___x_4759_) == 0) -{ -lean_object* v_a_4764_; lean_object* v___x_4765_; lean_object* v___x_4766_; -v_a_4764_ = lean_ctor_get(v___x_4759_, 0); -lean_inc(v_a_4764_); -lean_dec_ref(v___x_4759_); -v___x_4765_ = lean_box(v___y_4679_); -v___x_4766_ = lean_apply_8(v___f_4676_, v_a_4764_, v___x_4765_, v___y_4680_, v___y_4681_, v___y_4682_, v___y_4683_, v___y_4684_, lean_box(0)); -return v___x_4766_; } else { lean_object* v_a_4767_; lean_object* v___x_4769_; uint8_t v_isShared_4770_; uint8_t v_isSharedCheck_4774_; -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -v_a_4767_ = lean_ctor_get(v___x_4759_, 0); -v_isSharedCheck_4774_ = !lean_is_exclusive(v___x_4759_); +lean_dec(v___x_4742_); +lean_dec(v___x_4741_); +lean_dec_ref(v_msg_4733_); +v_a_4767_ = lean_ctor_get(v___x_4743_, 0); +v_isSharedCheck_4774_ = !lean_is_exclusive(v___x_4743_); if (v_isSharedCheck_4774_ == 0) { -v___x_4769_ = v___x_4759_; +v___x_4769_ = v___x_4743_; v_isShared_4770_ = v_isSharedCheck_4774_; goto v_resetjp_4768_; } else { lean_inc(v_a_4767_); -lean_dec(v___x_4759_); +lean_dec(v___x_4743_); v___x_4769_ = lean_box(0); v_isShared_4770_ = v_isSharedCheck_4774_; goto v_resetjp_4768_; @@ -16569,1971 +16384,2590 @@ return v___x_4772_; } } } -} -else -{ -lean_dec_ref(v___y_4712_); -lean_dec(v_a_4713_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -v___y_4700_ = v___y_4681_; -v___y_4701_ = v___y_4682_; -v___y_4702_ = v___y_4683_; -v___y_4703_ = v___y_4684_; -goto v___jp_4699_; -} -} -else -{ -lean_dec(v_a_4713_); -lean_dec(v___y_4712_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -v___y_4700_ = v___y_4681_; -v___y_4701_ = v___y_4682_; -v___y_4702_ = v___y_4683_; -v___y_4703_ = v___y_4684_; -goto v___jp_4699_; -} -} -v___jp_4775_: -{ -lean_object* v___x_4778_; lean_object* v_lctx_4779_; lean_object* v___x_4780_; lean_object* v___x_4781_; uint8_t v___x_4782_; lean_object* v___x_4783_; lean_object* v___x_4784_; lean_object* v___x_4785_; uint8_t v___x_4786_; lean_object* v___x_4787_; lean_object* v___x_4788_; lean_object* v___x_4789_; lean_object* v___x_4790_; -v___x_4778_ = lean_st_ref_get(v___y_4680_); -v_lctx_4779_ = lean_ctor_get(v___x_4778_, 0); -lean_inc_ref(v_lctx_4779_); -lean_dec(v___x_4778_); -v___x_4780_ = lean_box(1); -v___x_4781_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4782_ = 0; -v___x_4783_ = lean_unsigned_to_nat(0u); -v___x_4784_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4785_ = lean_box(0); -v___x_4786_ = 1; -v___x_4787_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4787_, 0, v___x_4781_); -lean_ctor_set(v___x_4787_, 1, v___x_4780_); -lean_ctor_set(v___x_4787_, 2, v_lctx_4779_); -lean_ctor_set(v___x_4787_, 3, v___x_4784_); -lean_ctor_set(v___x_4787_, 4, v___x_4785_); -lean_ctor_set(v___x_4787_, 5, v___x_4783_); -lean_ctor_set(v___x_4787_, 6, v___x_4785_); -lean_ctor_set_uint8(v___x_4787_, sizeof(void*)*7, v___x_4782_); -lean_ctor_set_uint8(v___x_4787_, sizeof(void*)*7 + 1, v___x_4782_); -lean_ctor_set_uint8(v___x_4787_, sizeof(void*)*7 + 2, v___x_4782_); -lean_ctor_set_uint8(v___x_4787_, sizeof(void*)*7 + 3, v___x_4786_); -v___x_4788_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4789_ = lean_st_mk_ref(v___x_4788_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4789_); -v___x_4790_ = l_Lean_Meta_isConstructorApp_x3f(v___y_4776_, v___x_4787_, v___x_4789_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4790_) == 0) -{ -lean_object* v_a_4791_; lean_object* v___x_4792_; -v_a_4791_ = lean_ctor_get(v___x_4790_, 0); -lean_inc(v_a_4791_); -lean_dec_ref(v___x_4790_); -v___x_4792_ = lean_st_ref_get(v___x_4789_); -lean_dec(v___x_4789_); -lean_dec(v___x_4792_); -v___y_4712_ = v_a_4777_; -v_a_4713_ = v_a_4791_; -goto v___jp_4711_; -} -else -{ -lean_dec(v___x_4789_); -if (lean_obj_tag(v___x_4790_) == 0) -{ -lean_object* v_a_4793_; -v_a_4793_ = lean_ctor_get(v___x_4790_, 0); -lean_inc(v_a_4793_); -lean_dec_ref(v___x_4790_); -v___y_4712_ = v_a_4777_; -v_a_4713_ = v_a_4793_; -goto v___jp_4711_; -} -else -{ -lean_object* v_a_4794_; lean_object* v___x_4796_; uint8_t v_isShared_4797_; uint8_t v_isSharedCheck_4801_; -lean_dec(v_a_4777_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4794_ = lean_ctor_get(v___x_4790_, 0); -v_isSharedCheck_4801_ = !lean_is_exclusive(v___x_4790_); -if (v_isSharedCheck_4801_ == 0) -{ -v___x_4796_ = v___x_4790_; -v_isShared_4797_ = v_isSharedCheck_4801_; -goto v_resetjp_4795_; -} -else -{ -lean_inc(v_a_4794_); -lean_dec(v___x_4790_); -v___x_4796_ = lean_box(0); -v_isShared_4797_ = v_isSharedCheck_4801_; -goto v_resetjp_4795_; -} -v_resetjp_4795_: -{ -lean_object* v___x_4799_; -if (v_isShared_4797_ == 0) -{ -v___x_4799_ = v___x_4796_; -goto v_reusejp_4798_; -} -else -{ -lean_object* v_reuseFailAlloc_4800_; -v_reuseFailAlloc_4800_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4800_, 0, v_a_4794_); -v___x_4799_ = v_reuseFailAlloc_4800_; -goto v_reusejp_4798_; -} -v_reusejp_4798_: -{ -return v___x_4799_; -} -} -} -} -} -v___jp_4802_: -{ -lean_object* v___x_4805_; lean_object* v_lctx_4806_; lean_object* v___x_4807_; lean_object* v___x_4808_; uint8_t v___x_4809_; lean_object* v___x_4810_; lean_object* v___x_4811_; lean_object* v___x_4812_; uint8_t v___x_4813_; lean_object* v___x_4814_; lean_object* v___x_4815_; lean_object* v___x_4816_; lean_object* v___x_4817_; -v___x_4805_ = lean_st_ref_get(v___y_4680_); -v_lctx_4806_ = lean_ctor_get(v___x_4805_, 0); -lean_inc_ref(v_lctx_4806_); -lean_dec(v___x_4805_); -v___x_4807_ = lean_box(1); -v___x_4808_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4809_ = 0; -v___x_4810_ = lean_unsigned_to_nat(0u); -v___x_4811_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4812_ = lean_box(0); -v___x_4813_ = 1; -v___x_4814_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4814_, 0, v___x_4808_); -lean_ctor_set(v___x_4814_, 1, v___x_4807_); -lean_ctor_set(v___x_4814_, 2, v_lctx_4806_); -lean_ctor_set(v___x_4814_, 3, v___x_4811_); -lean_ctor_set(v___x_4814_, 4, v___x_4812_); -lean_ctor_set(v___x_4814_, 5, v___x_4810_); -lean_ctor_set(v___x_4814_, 6, v___x_4812_); -lean_ctor_set_uint8(v___x_4814_, sizeof(void*)*7, v___x_4809_); -lean_ctor_set_uint8(v___x_4814_, sizeof(void*)*7 + 1, v___x_4809_); -lean_ctor_set_uint8(v___x_4814_, sizeof(void*)*7 + 2, v___x_4809_); -lean_ctor_set_uint8(v___x_4814_, sizeof(void*)*7 + 3, v___x_4813_); -v___x_4815_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4816_ = lean_st_mk_ref(v___x_4815_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4816_); -v___x_4817_ = l_Lean_Meta_isConstructorApp_x3f(v___y_4803_, v___x_4814_, v___x_4816_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4817_) == 0) -{ -lean_object* v_a_4818_; lean_object* v___x_4819_; -v_a_4818_ = lean_ctor_get(v___x_4817_, 0); -lean_inc(v_a_4818_); -lean_dec_ref(v___x_4817_); -v___x_4819_ = lean_st_ref_get(v___x_4816_); -lean_dec(v___x_4816_); -lean_dec(v___x_4819_); -v___y_4776_ = v_a_4804_; -v_a_4777_ = v_a_4818_; -goto v___jp_4775_; -} -else -{ -lean_dec(v___x_4816_); -if (lean_obj_tag(v___x_4817_) == 0) -{ -lean_object* v_a_4820_; -v_a_4820_ = lean_ctor_get(v___x_4817_, 0); -lean_inc(v_a_4820_); -lean_dec_ref(v___x_4817_); -v___y_4776_ = v_a_4804_; -v_a_4777_ = v_a_4820_; -goto v___jp_4775_; -} -else -{ -lean_object* v_a_4821_; lean_object* v___x_4823_; uint8_t v_isShared_4824_; uint8_t v_isSharedCheck_4828_; -lean_dec_ref(v_a_4804_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4821_ = lean_ctor_get(v___x_4817_, 0); -v_isSharedCheck_4828_ = !lean_is_exclusive(v___x_4817_); -if (v_isSharedCheck_4828_ == 0) -{ -v___x_4823_ = v___x_4817_; -v_isShared_4824_ = v_isSharedCheck_4828_; -goto v_resetjp_4822_; -} -else -{ -lean_inc(v_a_4821_); -lean_dec(v___x_4817_); -v___x_4823_ = lean_box(0); -v_isShared_4824_ = v_isSharedCheck_4828_; -goto v_resetjp_4822_; -} -v_resetjp_4822_: -{ -lean_object* v___x_4826_; -if (v_isShared_4824_ == 0) -{ -v___x_4826_ = v___x_4823_; -goto v_reusejp_4825_; -} -else -{ -lean_object* v_reuseFailAlloc_4827_; -v_reuseFailAlloc_4827_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4827_, 0, v_a_4821_); -v___x_4826_ = v_reuseFailAlloc_4827_; -goto v_reusejp_4825_; -} -v_reusejp_4825_: -{ -return v___x_4826_; -} -} -} -} -} -v___jp_4829_: -{ -lean_object* v___x_4832_; lean_object* v_lctx_4833_; lean_object* v___x_4834_; lean_object* v___x_4835_; uint8_t v___x_4836_; lean_object* v___x_4837_; lean_object* v___x_4838_; lean_object* v___x_4839_; uint8_t v___x_4840_; lean_object* v___x_4841_; lean_object* v___x_4842_; lean_object* v___x_4843_; lean_object* v___x_4844_; -v___x_4832_ = lean_st_ref_get(v___y_4680_); -v_lctx_4833_ = lean_ctor_get(v___x_4832_, 0); -lean_inc_ref(v_lctx_4833_); -lean_dec(v___x_4832_); -v___x_4834_ = lean_box(1); -v___x_4835_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4836_ = 0; -v___x_4837_ = lean_unsigned_to_nat(0u); -v___x_4838_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4839_ = lean_box(0); -v___x_4840_ = 1; -v___x_4841_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4841_, 0, v___x_4835_); -lean_ctor_set(v___x_4841_, 1, v___x_4834_); -lean_ctor_set(v___x_4841_, 2, v_lctx_4833_); -lean_ctor_set(v___x_4841_, 3, v___x_4838_); -lean_ctor_set(v___x_4841_, 4, v___x_4839_); -lean_ctor_set(v___x_4841_, 5, v___x_4837_); -lean_ctor_set(v___x_4841_, 6, v___x_4839_); -lean_ctor_set_uint8(v___x_4841_, sizeof(void*)*7, v___x_4836_); -lean_ctor_set_uint8(v___x_4841_, sizeof(void*)*7 + 1, v___x_4836_); -lean_ctor_set_uint8(v___x_4841_, sizeof(void*)*7 + 2, v___x_4836_); -lean_ctor_set_uint8(v___x_4841_, sizeof(void*)*7 + 3, v___x_4840_); -v___x_4842_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4843_ = lean_st_mk_ref(v___x_4842_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4843_); -v___x_4844_ = l_Lean_Expr_toCtorIfLit(v___y_4830_, v___x_4841_, v___x_4843_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4844_) == 0) -{ -lean_object* v_a_4845_; lean_object* v___x_4846_; -v_a_4845_ = lean_ctor_get(v___x_4844_, 0); -lean_inc(v_a_4845_); -lean_dec_ref(v___x_4844_); -v___x_4846_ = lean_st_ref_get(v___x_4843_); -lean_dec(v___x_4843_); -lean_dec(v___x_4846_); -v___y_4803_ = v_a_4831_; -v_a_4804_ = v_a_4845_; -goto v___jp_4802_; -} -else -{ -lean_dec(v___x_4843_); -if (lean_obj_tag(v___x_4844_) == 0) -{ -lean_object* v_a_4847_; -v_a_4847_ = lean_ctor_get(v___x_4844_, 0); -lean_inc(v_a_4847_); -lean_dec_ref(v___x_4844_); -v___y_4803_ = v_a_4831_; -v_a_4804_ = v_a_4847_; -goto v___jp_4802_; -} -else -{ -lean_object* v_a_4848_; lean_object* v___x_4850_; uint8_t v_isShared_4851_; uint8_t v_isSharedCheck_4855_; -lean_dec_ref(v_a_4831_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4848_ = lean_ctor_get(v___x_4844_, 0); -v_isSharedCheck_4855_ = !lean_is_exclusive(v___x_4844_); -if (v_isSharedCheck_4855_ == 0) -{ -v___x_4850_ = v___x_4844_; -v_isShared_4851_ = v_isSharedCheck_4855_; -goto v_resetjp_4849_; -} -else -{ -lean_inc(v_a_4848_); -lean_dec(v___x_4844_); -v___x_4850_ = lean_box(0); -v_isShared_4851_ = v_isSharedCheck_4855_; -goto v_resetjp_4849_; -} -v_resetjp_4849_: -{ -lean_object* v___x_4853_; -if (v_isShared_4851_ == 0) -{ -v___x_4853_ = v___x_4850_; -goto v_reusejp_4852_; -} -else -{ -lean_object* v_reuseFailAlloc_4854_; -v_reuseFailAlloc_4854_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4854_, 0, v_a_4848_); -v___x_4853_ = v_reuseFailAlloc_4854_; -goto v_reusejp_4852_; -} -v_reusejp_4852_: -{ -return v___x_4853_; -} -} -} -} -} -v___jp_4856_: -{ -lean_object* v___x_4859_; lean_object* v_lctx_4860_; lean_object* v___x_4861_; lean_object* v___x_4862_; uint8_t v___x_4863_; lean_object* v___x_4864_; lean_object* v___x_4865_; lean_object* v___x_4866_; uint8_t v___x_4867_; lean_object* v___x_4868_; lean_object* v___x_4869_; lean_object* v___x_4870_; lean_object* v___x_4871_; -v___x_4859_ = lean_st_ref_get(v___y_4680_); -v_lctx_4860_ = lean_ctor_get(v___x_4859_, 0); -lean_inc_ref(v_lctx_4860_); -lean_dec(v___x_4859_); -v___x_4861_ = lean_box(1); -v___x_4862_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_4863_ = 0; -v___x_4864_ = lean_unsigned_to_nat(0u); -v___x_4865_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_4866_ = lean_box(0); -v___x_4867_ = 1; -v___x_4868_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_4868_, 0, v___x_4862_); -lean_ctor_set(v___x_4868_, 1, v___x_4861_); -lean_ctor_set(v___x_4868_, 2, v_lctx_4860_); -lean_ctor_set(v___x_4868_, 3, v___x_4865_); -lean_ctor_set(v___x_4868_, 4, v___x_4866_); -lean_ctor_set(v___x_4868_, 5, v___x_4864_); -lean_ctor_set(v___x_4868_, 6, v___x_4866_); -lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7, v___x_4863_); -lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 1, v___x_4863_); -lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 2, v___x_4863_); -lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 3, v___x_4867_); -v___x_4869_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_4870_ = lean_st_mk_ref(v___x_4869_); -lean_inc(v___y_4684_); -lean_inc_ref(v___y_4683_); -lean_inc(v___x_4870_); -v___x_4871_ = l_Lean_Expr_toCtorIfLit(v___y_4857_, v___x_4868_, v___x_4870_, v___y_4683_, v___y_4684_); -if (lean_obj_tag(v___x_4871_) == 0) -{ -lean_object* v_a_4872_; lean_object* v___x_4873_; -v_a_4872_ = lean_ctor_get(v___x_4871_, 0); -lean_inc(v_a_4872_); -lean_dec_ref(v___x_4871_); -v___x_4873_ = lean_st_ref_get(v___x_4870_); -lean_dec(v___x_4870_); -lean_dec(v___x_4873_); -v___y_4830_ = v_a_4858_; -v_a_4831_ = v_a_4872_; -goto v___jp_4829_; -} -else -{ -lean_dec(v___x_4870_); -if (lean_obj_tag(v___x_4871_) == 0) -{ -lean_object* v_a_4874_; -v_a_4874_ = lean_ctor_get(v___x_4871_, 0); -lean_inc(v_a_4874_); -lean_dec_ref(v___x_4871_); -v___y_4830_ = v_a_4858_; -v_a_4831_ = v_a_4874_; -goto v___jp_4829_; -} -else -{ -lean_object* v_a_4875_; lean_object* v___x_4877_; uint8_t v_isShared_4878_; uint8_t v_isSharedCheck_4882_; -lean_dec_ref(v_a_4858_); -lean_dec(v___y_4684_); -lean_dec_ref(v___y_4683_); -lean_dec(v___y_4682_); -lean_dec_ref(v___y_4681_); -lean_dec(v___y_4680_); -lean_dec_ref(v___f_4676_); -lean_dec_ref(v_e_4675_); -lean_dec(v_declName_4674_); -v_a_4875_ = lean_ctor_get(v___x_4871_, 0); -v_isSharedCheck_4882_ = !lean_is_exclusive(v___x_4871_); -if (v_isSharedCheck_4882_ == 0) -{ -v___x_4877_ = v___x_4871_; -v_isShared_4878_ = v_isSharedCheck_4882_; -goto v_resetjp_4876_; -} -else -{ -lean_inc(v_a_4875_); -lean_dec(v___x_4871_); -v___x_4877_ = lean_box(0); -v_isShared_4878_ = v_isSharedCheck_4882_; -goto v_resetjp_4876_; -} -v_resetjp_4876_: -{ -lean_object* v___x_4880_; -if (v_isShared_4878_ == 0) -{ -v___x_4880_ = v___x_4877_; -goto v_reusejp_4879_; -} -else -{ -lean_object* v_reuseFailAlloc_4881_; -v_reuseFailAlloc_4881_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4881_, 0, v_a_4875_); -v___x_4880_ = v_reuseFailAlloc_4881_; -goto v_reusejp_4879_; -} -v_reusejp_4879_: -{ -return v___x_4880_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___boxed(lean_object* v___x_4940_, lean_object* v_declName_4941_, lean_object* v_e_4942_, lean_object* v___f_4943_, lean_object* v___x_4944_, lean_object* v___x_4945_, lean_object* v___y_4946_, lean_object* v___y_4947_, lean_object* v___y_4948_, lean_object* v___y_4949_, lean_object* v___y_4950_, lean_object* v___y_4951_, lean_object* v___y_4952_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg___boxed(lean_object* v_msg_4775_, lean_object* v___y_4776_, lean_object* v___y_4777_, lean_object* v___y_4778_, lean_object* v___y_4779_, lean_object* v___y_4780_){ _start: { -uint8_t v___y_165354__boxed_4953_; lean_object* v_res_4954_; -v___y_165354__boxed_4953_ = lean_unbox(v___y_4946_); -v_res_4954_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3(v___x_4940_, v_declName_4941_, v_e_4942_, v___f_4943_, v___x_4944_, v___x_4945_, v___y_165354__boxed_4953_, v___y_4947_, v___y_4948_, v___y_4949_, v___y_4950_, v___y_4951_); -lean_dec_ref(v___x_4945_); -return v_res_4954_; +lean_object* v_res_4781_; +v_res_4781_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_4775_, v___y_4776_, v___y_4777_, v___y_4778_, v___y_4779_); +lean_dec(v___y_4779_); +lean_dec_ref(v___y_4778_); +lean_dec(v___y_4777_); +lean_dec_ref(v___y_4776_); +return v_res_4781_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg(lean_object* v_ref_4955_, lean_object* v_msg_4956_, uint8_t v___y_4957_, lean_object* v___y_4958_, lean_object* v___y_4959_, lean_object* v___y_4960_, lean_object* v___y_4961_, lean_object* v___y_4962_){ +static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1(void){ _start: { -lean_object* v_fileName_4964_; lean_object* v_fileMap_4965_; lean_object* v_options_4966_; lean_object* v_currRecDepth_4967_; lean_object* v_maxRecDepth_4968_; lean_object* v_ref_4969_; lean_object* v_currNamespace_4970_; lean_object* v_openDecls_4971_; lean_object* v_initHeartbeats_4972_; lean_object* v_maxHeartbeats_4973_; lean_object* v_quotContext_4974_; lean_object* v_currMacroScope_4975_; uint8_t v_diag_4976_; lean_object* v_cancelTk_x3f_4977_; uint8_t v_suppressElabErrors_4978_; lean_object* v_inheritedTraceOptions_4979_; lean_object* v___x_4981_; uint8_t v_isShared_4982_; uint8_t v_isSharedCheck_4988_; -v_fileName_4964_ = lean_ctor_get(v___y_4961_, 0); -v_fileMap_4965_ = lean_ctor_get(v___y_4961_, 1); -v_options_4966_ = lean_ctor_get(v___y_4961_, 2); -v_currRecDepth_4967_ = lean_ctor_get(v___y_4961_, 3); -v_maxRecDepth_4968_ = lean_ctor_get(v___y_4961_, 4); -v_ref_4969_ = lean_ctor_get(v___y_4961_, 5); -v_currNamespace_4970_ = lean_ctor_get(v___y_4961_, 6); -v_openDecls_4971_ = lean_ctor_get(v___y_4961_, 7); -v_initHeartbeats_4972_ = lean_ctor_get(v___y_4961_, 8); -v_maxHeartbeats_4973_ = lean_ctor_get(v___y_4961_, 9); -v_quotContext_4974_ = lean_ctor_get(v___y_4961_, 10); -v_currMacroScope_4975_ = lean_ctor_get(v___y_4961_, 11); -v_diag_4976_ = lean_ctor_get_uint8(v___y_4961_, sizeof(void*)*14); -v_cancelTk_x3f_4977_ = lean_ctor_get(v___y_4961_, 12); -v_suppressElabErrors_4978_ = lean_ctor_get_uint8(v___y_4961_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_4979_ = lean_ctor_get(v___y_4961_, 13); -v_isSharedCheck_4988_ = !lean_is_exclusive(v___y_4961_); -if (v_isSharedCheck_4988_ == 0) +lean_object* v___x_4783_; lean_object* v___x_4784_; +v___x_4783_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__0)); +v___x_4784_ = l_Lean_stringToMessageData(v___x_4783_); +return v___x_4784_; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2(void){ +_start: { -v___x_4981_ = v___y_4961_; -v_isShared_4982_ = v_isSharedCheck_4988_; -goto v_resetjp_4980_; +lean_object* v___x_4785_; lean_object* v___x_4786_; +v___x_4785_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable___closed__3)); +v___x_4786_ = l_Lean_stringToMessageData(v___x_4785_); +return v___x_4786_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3(lean_object* v___x_4787_, lean_object* v_declName_4788_, lean_object* v_e_4789_, lean_object* v___f_4790_, lean_object* v___x_4791_, lean_object* v___x_4792_, lean_object* v___y_4793_, lean_object* v___y_4794_, lean_object* v___y_4795_, lean_object* v___y_4796_, lean_object* v___y_4797_, lean_object* v___y_4798_){ +_start: +{ +lean_object* v_a_4801_; lean_object* v___y_4814_; lean_object* v___y_4815_; lean_object* v___y_4816_; lean_object* v___y_4817_; lean_object* v___y_4826_; lean_object* v_a_4827_; lean_object* v___y_4888_; lean_object* v_a_4889_; lean_object* v___y_4915_; lean_object* v_a_4916_; lean_object* v___y_4942_; lean_object* v_a_4943_; lean_object* v___y_4969_; lean_object* v_a_4970_; +if (lean_obj_tag(v___x_4787_) == 0) +{ +lean_object* v_lhs_4995_; lean_object* v_rhs_4996_; lean_object* v_a_4998_; lean_object* v___x_5024_; lean_object* v_lctx_5025_; lean_object* v___x_5026_; lean_object* v___x_5027_; uint8_t v___x_5028_; lean_object* v___x_5029_; lean_object* v___x_5030_; lean_object* v___x_5031_; uint8_t v___x_5032_; lean_object* v___x_5033_; lean_object* v___x_5034_; lean_object* v___x_5035_; lean_object* v___x_5036_; lean_object* v___x_5037_; +v_lhs_4995_ = lean_ctor_get(v___x_4787_, 1); +lean_inc(v_lhs_4995_); +v_rhs_4996_ = lean_ctor_get(v___x_4787_, 2); +lean_inc(v_rhs_4996_); +lean_dec_ref(v___x_4787_); +v___x_5024_ = lean_st_ref_get(v___y_4794_); +v_lctx_5025_ = lean_ctor_get(v___x_5024_, 0); +lean_inc_ref(v_lctx_5025_); +lean_dec(v___x_5024_); +v___x_5026_ = lean_box(1); +v___x_5027_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_5028_ = 0; +v___x_5029_ = lean_unsigned_to_nat(0u); +v___x_5030_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_5031_ = lean_box(0); +v___x_5032_ = 1; +v___x_5033_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5033_, 0, v___x_5027_); +lean_ctor_set(v___x_5033_, 1, v___x_5026_); +lean_ctor_set(v___x_5033_, 2, v_lctx_5025_); +lean_ctor_set(v___x_5033_, 3, v___x_5030_); +lean_ctor_set(v___x_5033_, 4, v___x_5031_); +lean_ctor_set(v___x_5033_, 5, v___x_5029_); +lean_ctor_set(v___x_5033_, 6, v___x_5031_); +lean_ctor_set_uint8(v___x_5033_, sizeof(void*)*7, v___x_5028_); +lean_ctor_set_uint8(v___x_5033_, sizeof(void*)*7 + 1, v___x_5028_); +lean_ctor_set_uint8(v___x_5033_, sizeof(void*)*7 + 2, v___x_5028_); +lean_ctor_set_uint8(v___x_5033_, sizeof(void*)*7 + 3, v___x_5032_); +v___x_5034_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_5035_ = lean_st_mk_ref(v___x_5034_); +lean_inc_ref(v___x_4791_); +v___x_5036_ = lean_array_get_borrowed(v___x_4791_, v___x_4792_, v_lhs_4995_); +lean_dec(v_lhs_4995_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_5035_); +lean_inc(v___x_5036_); +v___x_5037_ = lean_whnf(v___x_5036_, v___x_5033_, v___x_5035_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_5037_) == 0) +{ +lean_object* v_a_5038_; lean_object* v___x_5039_; +v_a_5038_ = lean_ctor_get(v___x_5037_, 0); +lean_inc(v_a_5038_); +lean_dec_ref(v___x_5037_); +v___x_5039_ = lean_st_ref_get(v___x_5035_); +lean_dec(v___x_5035_); +lean_dec(v___x_5039_); +v_a_4998_ = v_a_5038_; +goto v___jp_4997_; } else { -lean_inc(v_inheritedTraceOptions_4979_); -lean_inc(v_cancelTk_x3f_4977_); -lean_inc(v_currMacroScope_4975_); -lean_inc(v_quotContext_4974_); -lean_inc(v_maxHeartbeats_4973_); -lean_inc(v_initHeartbeats_4972_); -lean_inc(v_openDecls_4971_); -lean_inc(v_currNamespace_4970_); -lean_inc(v_ref_4969_); -lean_inc(v_maxRecDepth_4968_); -lean_inc(v_currRecDepth_4967_); -lean_inc(v_options_4966_); -lean_inc(v_fileMap_4965_); -lean_inc(v_fileName_4964_); -lean_dec(v___y_4961_); -v___x_4981_ = lean_box(0); -v_isShared_4982_ = v_isSharedCheck_4988_; -goto v_resetjp_4980_; -} -v_resetjp_4980_: +lean_dec(v___x_5035_); +if (lean_obj_tag(v___x_5037_) == 0) { -lean_object* v_ref_4983_; lean_object* v___x_4985_; -v_ref_4983_ = l_Lean_replaceRef(v_ref_4955_, v_ref_4969_); -lean_dec(v_ref_4969_); -if (v_isShared_4982_ == 0) -{ -lean_ctor_set(v___x_4981_, 5, v_ref_4983_); -v___x_4985_ = v___x_4981_; -goto v_reusejp_4984_; +lean_object* v_a_5040_; +v_a_5040_ = lean_ctor_get(v___x_5037_, 0); +lean_inc(v_a_5040_); +lean_dec_ref(v___x_5037_); +v_a_4998_ = v_a_5040_; +goto v___jp_4997_; } else { -lean_object* v_reuseFailAlloc_4987_; -v_reuseFailAlloc_4987_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_4987_, 0, v_fileName_4964_); -lean_ctor_set(v_reuseFailAlloc_4987_, 1, v_fileMap_4965_); -lean_ctor_set(v_reuseFailAlloc_4987_, 2, v_options_4966_); -lean_ctor_set(v_reuseFailAlloc_4987_, 3, v_currRecDepth_4967_); -lean_ctor_set(v_reuseFailAlloc_4987_, 4, v_maxRecDepth_4968_); -lean_ctor_set(v_reuseFailAlloc_4987_, 5, v_ref_4983_); -lean_ctor_set(v_reuseFailAlloc_4987_, 6, v_currNamespace_4970_); -lean_ctor_set(v_reuseFailAlloc_4987_, 7, v_openDecls_4971_); -lean_ctor_set(v_reuseFailAlloc_4987_, 8, v_initHeartbeats_4972_); -lean_ctor_set(v_reuseFailAlloc_4987_, 9, v_maxHeartbeats_4973_); -lean_ctor_set(v_reuseFailAlloc_4987_, 10, v_quotContext_4974_); -lean_ctor_set(v_reuseFailAlloc_4987_, 11, v_currMacroScope_4975_); -lean_ctor_set(v_reuseFailAlloc_4987_, 12, v_cancelTk_x3f_4977_); -lean_ctor_set(v_reuseFailAlloc_4987_, 13, v_inheritedTraceOptions_4979_); -lean_ctor_set_uint8(v_reuseFailAlloc_4987_, sizeof(void*)*14, v_diag_4976_); -lean_ctor_set_uint8(v_reuseFailAlloc_4987_, sizeof(void*)*14 + 1, v_suppressElabErrors_4978_); -v___x_4985_ = v_reuseFailAlloc_4987_; -goto v_reusejp_4984_; -} -v_reusejp_4984_: +lean_object* v_a_5041_; lean_object* v___x_5043_; uint8_t v_isShared_5044_; uint8_t v_isSharedCheck_5048_; +lean_dec(v_rhs_4996_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___x_4791_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_5041_ = lean_ctor_get(v___x_5037_, 0); +v_isSharedCheck_5048_ = !lean_is_exclusive(v___x_5037_); +if (v_isSharedCheck_5048_ == 0) { -lean_object* v___x_4986_; -v___x_4986_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_4956_, v___y_4959_, v___y_4960_, v___x_4985_, v___y_4962_); -lean_dec_ref(v___x_4985_); -return v___x_4986_; +v___x_5043_ = v___x_5037_; +v_isShared_5044_ = v_isSharedCheck_5048_; +goto v_resetjp_5042_; } -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg___boxed(lean_object* v_ref_4989_, lean_object* v_msg_4990_, lean_object* v___y_4991_, lean_object* v___y_4992_, lean_object* v___y_4993_, lean_object* v___y_4994_, lean_object* v___y_4995_, lean_object* v___y_4996_, lean_object* v___y_4997_){ -_start: +else { -uint8_t v___y_165872__boxed_4998_; lean_object* v_res_4999_; -v___y_165872__boxed_4998_ = lean_unbox(v___y_4991_); -v_res_4999_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg(v_ref_4989_, v_msg_4990_, v___y_165872__boxed_4998_, v___y_4992_, v___y_4993_, v___y_4994_, v___y_4995_, v___y_4996_); -lean_dec(v___y_4996_); -lean_dec(v___y_4994_); -lean_dec_ref(v___y_4993_); -lean_dec(v___y_4992_); -lean_dec(v_ref_4989_); -return v_res_4999_; +lean_inc(v_a_5041_); +lean_dec(v___x_5037_); +v___x_5043_ = lean_box(0); +v_isShared_5044_ = v_isSharedCheck_5048_; +goto v_resetjp_5042_; } -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0(void){ -_start: +v_resetjp_5042_: { -lean_object* v___x_5000_; lean_object* v___x_5001_; lean_object* v___x_5002_; lean_object* v___x_5003_; -v___x_5000_ = lean_box(1); -v___x_5001_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); -v___x_5002_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1); -v___x_5003_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_5003_, 0, v___x_5002_); -lean_ctor_set(v___x_5003_, 1, v___x_5001_); -lean_ctor_set(v___x_5003_, 2, v___x_5000_); -return v___x_5003_; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2(void){ -_start: +lean_object* v___x_5046_; +if (v_isShared_5044_ == 0) { -lean_object* v___x_5005_; lean_object* v___x_5006_; -v___x_5005_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__1)); -v___x_5006_ = l_Lean_stringToMessageData(v___x_5005_); -return v___x_5006_; +v___x_5046_ = v___x_5043_; +goto v_reusejp_5045_; } -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4(void){ -_start: +else { -lean_object* v___x_5008_; lean_object* v___x_5009_; -v___x_5008_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__3)); -v___x_5009_ = l_Lean_stringToMessageData(v___x_5008_); -return v___x_5009_; +lean_object* v_reuseFailAlloc_5047_; +v_reuseFailAlloc_5047_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5047_, 0, v_a_5041_); +v___x_5046_ = v_reuseFailAlloc_5047_; +goto v_reusejp_5045_; } -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6(void){ -_start: +v_reusejp_5045_: { -lean_object* v___x_5011_; lean_object* v___x_5012_; -v___x_5011_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__5)); -v___x_5012_ = l_Lean_stringToMessageData(v___x_5011_); -return v___x_5012_; +return v___x_5046_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8(void){ -_start: +} +} +v___jp_4997_: { -lean_object* v___x_5014_; lean_object* v___x_5015_; -v___x_5014_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__7)); -v___x_5015_ = l_Lean_stringToMessageData(v___x_5014_); -return v___x_5015_; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10(void){ -_start: +lean_object* v___x_4999_; lean_object* v_lctx_5000_; lean_object* v___x_5001_; lean_object* v___x_5002_; uint8_t v___x_5003_; lean_object* v___x_5004_; lean_object* v___x_5005_; lean_object* v___x_5006_; uint8_t v___x_5007_; lean_object* v___x_5008_; lean_object* v___x_5009_; lean_object* v___x_5010_; lean_object* v___x_5011_; lean_object* v___x_5012_; +v___x_4999_ = lean_st_ref_get(v___y_4794_); +v_lctx_5000_ = lean_ctor_get(v___x_4999_, 0); +lean_inc_ref(v_lctx_5000_); +lean_dec(v___x_4999_); +v___x_5001_ = lean_box(1); +v___x_5002_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_5003_ = 0; +v___x_5004_ = lean_unsigned_to_nat(0u); +v___x_5005_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_5006_ = lean_box(0); +v___x_5007_ = 1; +v___x_5008_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5008_, 0, v___x_5002_); +lean_ctor_set(v___x_5008_, 1, v___x_5001_); +lean_ctor_set(v___x_5008_, 2, v_lctx_5000_); +lean_ctor_set(v___x_5008_, 3, v___x_5005_); +lean_ctor_set(v___x_5008_, 4, v___x_5006_); +lean_ctor_set(v___x_5008_, 5, v___x_5004_); +lean_ctor_set(v___x_5008_, 6, v___x_5006_); +lean_ctor_set_uint8(v___x_5008_, sizeof(void*)*7, v___x_5003_); +lean_ctor_set_uint8(v___x_5008_, sizeof(void*)*7 + 1, v___x_5003_); +lean_ctor_set_uint8(v___x_5008_, sizeof(void*)*7 + 2, v___x_5003_); +lean_ctor_set_uint8(v___x_5008_, sizeof(void*)*7 + 3, v___x_5007_); +v___x_5009_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_5010_ = lean_st_mk_ref(v___x_5009_); +v___x_5011_ = lean_array_get_borrowed(v___x_4791_, v___x_4792_, v_rhs_4996_); +lean_dec(v_rhs_4996_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_5010_); +lean_inc(v___x_5011_); +v___x_5012_ = lean_whnf(v___x_5011_, v___x_5008_, v___x_5010_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_5012_) == 0) { -lean_object* v___x_5017_; lean_object* v___x_5018_; -v___x_5017_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__9)); -v___x_5018_ = l_Lean_stringToMessageData(v___x_5017_); -return v___x_5018_; +lean_object* v_a_5013_; lean_object* v___x_5014_; +v_a_5013_ = lean_ctor_get(v___x_5012_, 0); +lean_inc(v_a_5013_); +lean_dec_ref(v___x_5012_); +v___x_5014_ = lean_st_ref_get(v___x_5010_); +lean_dec(v___x_5010_); +lean_dec(v___x_5014_); +v___y_4969_ = v_a_4998_; +v_a_4970_ = v_a_5013_; +goto v___jp_4968_; } -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12(void){ -_start: +else +{ +lean_dec(v___x_5010_); +if (lean_obj_tag(v___x_5012_) == 0) +{ +lean_object* v_a_5015_; +v_a_5015_ = lean_ctor_get(v___x_5012_, 0); +lean_inc(v_a_5015_); +lean_dec_ref(v___x_5012_); +v___y_4969_ = v_a_4998_; +v_a_4970_ = v_a_5015_; +goto v___jp_4968_; +} +else +{ +lean_object* v_a_5016_; lean_object* v___x_5018_; uint8_t v_isShared_5019_; uint8_t v_isSharedCheck_5023_; +lean_dec_ref(v_a_4998_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_5016_ = lean_ctor_get(v___x_5012_, 0); +v_isSharedCheck_5023_ = !lean_is_exclusive(v___x_5012_); +if (v_isSharedCheck_5023_ == 0) +{ +v___x_5018_ = v___x_5012_; +v_isShared_5019_ = v_isSharedCheck_5023_; +goto v_resetjp_5017_; +} +else +{ +lean_inc(v_a_5016_); +lean_dec(v___x_5012_); +v___x_5018_ = lean_box(0); +v_isShared_5019_ = v_isSharedCheck_5023_; +goto v_resetjp_5017_; +} +v_resetjp_5017_: +{ +lean_object* v___x_5021_; +if (v_isShared_5019_ == 0) +{ +v___x_5021_ = v___x_5018_; +goto v_reusejp_5020_; +} +else +{ +lean_object* v_reuseFailAlloc_5022_; +v_reuseFailAlloc_5022_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5022_, 0, v_a_5016_); +v___x_5021_ = v_reuseFailAlloc_5022_; +goto v_reusejp_5020_; +} +v_reusejp_5020_: { -lean_object* v___x_5020_; lean_object* v___x_5021_; -v___x_5020_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__11)); -v___x_5021_ = l_Lean_stringToMessageData(v___x_5020_); return v___x_5021_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14(void){ -_start: -{ -lean_object* v___x_5023_; lean_object* v___x_5024_; -v___x_5023_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__13)); -v___x_5024_ = l_Lean_stringToMessageData(v___x_5023_); -return v___x_5024_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg(lean_object* v_msg_5025_, lean_object* v_declHint_5026_, lean_object* v___y_5027_){ -_start: -{ -lean_object* v___x_5029_; lean_object* v_env_5030_; uint8_t v___x_5031_; -v___x_5029_ = lean_st_ref_get(v___y_5027_); -v_env_5030_ = lean_ctor_get(v___x_5029_, 0); -lean_inc_ref(v_env_5030_); -lean_dec(v___x_5029_); -v___x_5031_ = l_Lean_Name_isAnonymous(v_declHint_5026_); -if (v___x_5031_ == 0) -{ -uint8_t v_isExporting_5032_; -v_isExporting_5032_ = lean_ctor_get_uint8(v_env_5030_, sizeof(void*)*8); -if (v_isExporting_5032_ == 0) -{ -lean_object* v___x_5033_; -lean_dec_ref(v_env_5030_); -lean_dec(v_declHint_5026_); -v___x_5033_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5033_, 0, v_msg_5025_); -return v___x_5033_; +} } else { -lean_object* v___x_5034_; uint8_t v___x_5035_; -lean_inc_ref(v_env_5030_); -v___x_5034_ = l_Lean_Environment_setExporting(v_env_5030_, v___x_5031_); -lean_inc(v_declHint_5026_); -lean_inc_ref(v___x_5034_); -v___x_5035_ = l_Lean_Environment_contains(v___x_5034_, v_declHint_5026_, v_isExporting_5032_); -if (v___x_5035_ == 0) -{ -lean_object* v___x_5036_; -lean_dec_ref(v___x_5034_); -lean_dec_ref(v_env_5030_); -lean_dec(v_declHint_5026_); -v___x_5036_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5036_, 0, v_msg_5025_); -return v___x_5036_; -} -else -{ -lean_object* v___x_5037_; lean_object* v___x_5038_; lean_object* v___x_5039_; lean_object* v___x_5040_; lean_object* v___x_5041_; lean_object* v_c_5042_; lean_object* v___x_5043_; -v___x_5037_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); -v___x_5038_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__0); -v___x_5039_ = l_Lean_Options_empty; -v___x_5040_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_5040_, 0, v___x_5034_); -lean_ctor_set(v___x_5040_, 1, v___x_5037_); -lean_ctor_set(v___x_5040_, 2, v___x_5038_); -lean_ctor_set(v___x_5040_, 3, v___x_5039_); -lean_inc(v_declHint_5026_); -v___x_5041_ = l_Lean_MessageData_ofConstName(v_declHint_5026_, v___x_5031_); -v_c_5042_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_c_5042_, 0, v___x_5040_); -lean_ctor_set(v_c_5042_, 1, v___x_5041_); -v___x_5043_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_5030_, v_declHint_5026_); -if (lean_obj_tag(v___x_5043_) == 0) -{ -lean_object* v___x_5044_; lean_object* v___x_5045_; lean_object* v___x_5046_; lean_object* v___x_5047_; lean_object* v___x_5048_; lean_object* v___x_5049_; lean_object* v___x_5050_; -lean_dec_ref(v_env_5030_); -lean_dec(v_declHint_5026_); -v___x_5044_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2); -v___x_5045_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5045_, 0, v___x_5044_); -lean_ctor_set(v___x_5045_, 1, v_c_5042_); -v___x_5046_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__4); -v___x_5047_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5047_, 0, v___x_5045_); -lean_ctor_set(v___x_5047_, 1, v___x_5046_); -v___x_5048_ = l_Lean_MessageData_note(v___x_5047_); -v___x_5049_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5049_, 0, v_msg_5025_); -lean_ctor_set(v___x_5049_, 1, v___x_5048_); -v___x_5050_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5050_, 0, v___x_5049_); +lean_object* v_fields_5049_; lean_object* v___x_5050_; +lean_dec_ref(v___x_4791_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_fields_5049_ = lean_ctor_get(v___x_4787_, 1); +lean_inc(v_fields_5049_); +lean_dec_ref(v___x_4787_); +v___x_5050_ = lean_apply_8(v___f_4790_, v_fields_5049_, v___y_4793_, v___y_4794_, v___y_4795_, v___y_4796_, v___y_4797_, v___y_4798_, lean_box(0)); return v___x_5050_; } -else +v___jp_4800_: { -lean_object* v_val_5051_; lean_object* v___x_5053_; uint8_t v_isShared_5054_; uint8_t v_isSharedCheck_5086_; -v_val_5051_ = lean_ctor_get(v___x_5043_, 0); -v_isSharedCheck_5086_ = !lean_is_exclusive(v___x_5043_); -if (v_isSharedCheck_5086_ == 0) +lean_object* v___x_4802_; +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +v___x_4802_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_a_4801_, v___y_4794_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4802_) == 0) { -v___x_5053_ = v___x_5043_; -v_isShared_5054_ = v_isSharedCheck_5086_; -goto v_resetjp_5052_; +lean_object* v_a_4803_; lean_object* v___x_4804_; +v_a_4803_ = lean_ctor_get(v___x_4802_, 0); +lean_inc(v_a_4803_); +lean_dec_ref(v___x_4802_); +v___x_4804_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_4803_, v___y_4794_, v___y_4795_, v___y_4796_, v___y_4797_, v___y_4798_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +return v___x_4804_; } else { -lean_inc(v_val_5051_); -lean_dec(v___x_5043_); -v___x_5053_ = lean_box(0); -v_isShared_5054_ = v_isSharedCheck_5086_; -goto v_resetjp_5052_; -} -v_resetjp_5052_: +lean_object* v_a_4805_; lean_object* v___x_4807_; uint8_t v_isShared_4808_; uint8_t v_isSharedCheck_4812_; +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +v_a_4805_ = lean_ctor_get(v___x_4802_, 0); +v_isSharedCheck_4812_ = !lean_is_exclusive(v___x_4802_); +if (v_isSharedCheck_4812_ == 0) { -lean_object* v___x_5055_; lean_object* v___x_5056_; lean_object* v___x_5057_; lean_object* v_mod_5058_; uint8_t v___x_5059_; -v___x_5055_ = lean_box(0); -v___x_5056_ = l_Lean_Environment_header(v_env_5030_); -lean_dec_ref(v_env_5030_); -v___x_5057_ = l_Lean_EnvironmentHeader_moduleNames(v___x_5056_); -v_mod_5058_ = lean_array_get(v___x_5055_, v___x_5057_, v_val_5051_); -lean_dec(v_val_5051_); -lean_dec_ref(v___x_5057_); -v___x_5059_ = l_Lean_isPrivateName(v_declHint_5026_); -lean_dec(v_declHint_5026_); -if (v___x_5059_ == 0) -{ -lean_object* v___x_5060_; lean_object* v___x_5061_; lean_object* v___x_5062_; lean_object* v___x_5063_; lean_object* v___x_5064_; lean_object* v___x_5065_; lean_object* v___x_5066_; lean_object* v___x_5067_; lean_object* v___x_5068_; lean_object* v___x_5069_; lean_object* v___x_5071_; -v___x_5060_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__6); -v___x_5061_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5061_, 0, v___x_5060_); -lean_ctor_set(v___x_5061_, 1, v_c_5042_); -v___x_5062_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__8); -v___x_5063_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5063_, 0, v___x_5061_); -lean_ctor_set(v___x_5063_, 1, v___x_5062_); -v___x_5064_ = l_Lean_MessageData_ofName(v_mod_5058_); -v___x_5065_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5065_, 0, v___x_5063_); -lean_ctor_set(v___x_5065_, 1, v___x_5064_); -v___x_5066_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__10); -v___x_5067_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5067_, 0, v___x_5065_); -lean_ctor_set(v___x_5067_, 1, v___x_5066_); -v___x_5068_ = l_Lean_MessageData_note(v___x_5067_); -v___x_5069_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5069_, 0, v_msg_5025_); -lean_ctor_set(v___x_5069_, 1, v___x_5068_); -if (v_isShared_5054_ == 0) -{ -lean_ctor_set_tag(v___x_5053_, 0); -lean_ctor_set(v___x_5053_, 0, v___x_5069_); -v___x_5071_ = v___x_5053_; -goto v_reusejp_5070_; +v___x_4807_ = v___x_4802_; +v_isShared_4808_ = v_isSharedCheck_4812_; +goto v_resetjp_4806_; } else { -lean_object* v_reuseFailAlloc_5072_; -v_reuseFailAlloc_5072_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5072_, 0, v___x_5069_); -v___x_5071_ = v_reuseFailAlloc_5072_; -goto v_reusejp_5070_; +lean_inc(v_a_4805_); +lean_dec(v___x_4802_); +v___x_4807_ = lean_box(0); +v_isShared_4808_ = v_isSharedCheck_4812_; +goto v_resetjp_4806_; } -v_reusejp_5070_: +v_resetjp_4806_: { +lean_object* v___x_4810_; +if (v_isShared_4808_ == 0) +{ +v___x_4810_ = v___x_4807_; +goto v_reusejp_4809_; +} +else +{ +lean_object* v_reuseFailAlloc_4811_; +v_reuseFailAlloc_4811_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4811_, 0, v_a_4805_); +v___x_4810_ = v_reuseFailAlloc_4811_; +goto v_reusejp_4809_; +} +v_reusejp_4809_: +{ +return v___x_4810_; +} +} +} +} +v___jp_4813_: +{ +lean_object* v___x_4818_; uint8_t v___x_4819_; lean_object* v___x_4820_; lean_object* v___x_4821_; lean_object* v___x_4822_; lean_object* v___x_4823_; lean_object* v___x_4824_; +v___x_4818_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__1); +v___x_4819_ = 0; +v___x_4820_ = l_Lean_MessageData_ofConstName(v_declName_4788_, v___x_4819_); +v___x_4821_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4821_, 0, v___x_4818_); +lean_ctor_set(v___x_4821_, 1, v___x_4820_); +v___x_4822_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2); +v___x_4823_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4823_, 0, v___x_4821_); +lean_ctor_set(v___x_4823_, 1, v___x_4822_); +v___x_4824_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v___x_4823_, v___y_4814_, v___y_4815_, v___y_4816_, v___y_4817_); +lean_dec(v___y_4817_); +lean_dec_ref(v___y_4816_); +lean_dec(v___y_4815_); +lean_dec_ref(v___y_4814_); +return v___x_4824_; +} +v___jp_4825_: +{ +if (lean_obj_tag(v___y_4826_) == 1) +{ +if (lean_obj_tag(v_a_4827_) == 1) +{ +lean_object* v_val_4828_; lean_object* v_toConstantVal_4829_; lean_object* v_val_4830_; lean_object* v_toConstantVal_4831_; lean_object* v_numParams_4832_; lean_object* v_name_4833_; lean_object* v_type_4834_; lean_object* v_name_4835_; uint8_t v___x_4836_; +lean_dec(v_declName_4788_); +v_val_4828_ = lean_ctor_get(v___y_4826_, 0); +lean_inc(v_val_4828_); +lean_dec_ref(v___y_4826_); +v_toConstantVal_4829_ = lean_ctor_get(v_val_4828_, 0); +lean_inc_ref(v_toConstantVal_4829_); +v_val_4830_ = lean_ctor_get(v_a_4827_, 0); +lean_inc(v_val_4830_); +lean_dec_ref(v_a_4827_); +v_toConstantVal_4831_ = lean_ctor_get(v_val_4830_, 0); +lean_inc_ref(v_toConstantVal_4831_); +lean_dec(v_val_4830_); +v_numParams_4832_ = lean_ctor_get(v_val_4828_, 3); +lean_inc(v_numParams_4832_); +lean_dec(v_val_4828_); +v_name_4833_ = lean_ctor_get(v_toConstantVal_4829_, 0); +lean_inc(v_name_4833_); +v_type_4834_ = lean_ctor_get(v_toConstantVal_4829_, 2); +lean_inc_ref(v_type_4834_); +lean_dec_ref(v_toConstantVal_4829_); +v_name_4835_ = lean_ctor_get(v_toConstantVal_4831_, 0); +lean_inc(v_name_4835_); +lean_dec_ref(v_toConstantVal_4831_); +v___x_4836_ = lean_name_eq(v_name_4833_, v_name_4835_); +lean_dec(v_name_4835_); +lean_dec(v_name_4833_); +if (v___x_4836_ == 0) +{ +lean_object* v___x_4837_; lean_object* v_lctx_4838_; lean_object* v___x_4839_; lean_object* v___x_4840_; lean_object* v___x_4841_; lean_object* v___x_4842_; lean_object* v___x_4843_; uint8_t v___x_4844_; lean_object* v___x_4845_; lean_object* v___x_4846_; lean_object* v___x_4847_; lean_object* v___x_4848_; +lean_dec_ref(v_type_4834_); +lean_dec(v_numParams_4832_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +v___x_4837_ = lean_st_ref_get(v___y_4794_); +v_lctx_4838_ = lean_ctor_get(v___x_4837_, 0); +lean_inc_ref(v_lctx_4838_); +lean_dec(v___x_4837_); +v___x_4839_ = lean_box(1); +v___x_4840_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4841_ = lean_unsigned_to_nat(0u); +v___x_4842_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4843_ = lean_box(0); +v___x_4844_ = 1; +v___x_4845_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4845_, 0, v___x_4840_); +lean_ctor_set(v___x_4845_, 1, v___x_4839_); +lean_ctor_set(v___x_4845_, 2, v_lctx_4838_); +lean_ctor_set(v___x_4845_, 3, v___x_4842_); +lean_ctor_set(v___x_4845_, 4, v___x_4843_); +lean_ctor_set(v___x_4845_, 5, v___x_4841_); +lean_ctor_set(v___x_4845_, 6, v___x_4843_); +lean_ctor_set_uint8(v___x_4845_, sizeof(void*)*7, v___x_4836_); +lean_ctor_set_uint8(v___x_4845_, sizeof(void*)*7 + 1, v___x_4836_); +lean_ctor_set_uint8(v___x_4845_, sizeof(void*)*7 + 2, v___x_4836_); +lean_ctor_set_uint8(v___x_4845_, sizeof(void*)*7 + 3, v___x_4844_); +v___x_4846_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4847_ = lean_st_mk_ref(v___x_4846_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4847_); +v___x_4848_ = lean_infer_type(v_e_4789_, v___x_4845_, v___x_4847_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4848_) == 0) +{ +lean_object* v_a_4849_; lean_object* v___x_4850_; +v_a_4849_ = lean_ctor_get(v___x_4848_, 0); +lean_inc(v_a_4849_); +lean_dec_ref(v___x_4848_); +v___x_4850_ = lean_st_ref_get(v___x_4847_); +lean_dec(v___x_4847_); +lean_dec(v___x_4850_); +v_a_4801_ = v_a_4849_; +goto v___jp_4800_; +} +else +{ +lean_dec(v___x_4847_); +if (lean_obj_tag(v___x_4848_) == 0) +{ +lean_object* v_a_4851_; +v_a_4851_ = lean_ctor_get(v___x_4848_, 0); +lean_inc(v_a_4851_); +lean_dec_ref(v___x_4848_); +v_a_4801_ = v_a_4851_; +goto v___jp_4800_; +} +else +{ +lean_object* v_a_4852_; lean_object* v___x_4854_; uint8_t v_isShared_4855_; uint8_t v_isSharedCheck_4859_; +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +v_a_4852_ = lean_ctor_get(v___x_4848_, 0); +v_isSharedCheck_4859_ = !lean_is_exclusive(v___x_4848_); +if (v_isSharedCheck_4859_ == 0) +{ +v___x_4854_ = v___x_4848_; +v_isShared_4855_ = v_isSharedCheck_4859_; +goto v_resetjp_4853_; +} +else +{ +lean_inc(v_a_4852_); +lean_dec(v___x_4848_); +v___x_4854_ = lean_box(0); +v_isShared_4855_ = v_isSharedCheck_4859_; +goto v_resetjp_4853_; +} +v_resetjp_4853_: +{ +lean_object* v___x_4857_; +if (v_isShared_4855_ == 0) +{ +v___x_4857_ = v___x_4854_; +goto v_reusejp_4856_; +} +else +{ +lean_object* v_reuseFailAlloc_4858_; +v_reuseFailAlloc_4858_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4858_, 0, v_a_4852_); +v___x_4857_ = v_reuseFailAlloc_4858_; +goto v_reusejp_4856_; +} +v_reusejp_4856_: +{ +return v___x_4857_; +} +} +} +} +} +else +{ +lean_object* v___x_4860_; lean_object* v_lctx_4861_; lean_object* v___x_4862_; lean_object* v___x_4863_; uint8_t v___x_4864_; lean_object* v___x_4865_; lean_object* v___x_4866_; lean_object* v___x_4867_; lean_object* v___x_4868_; lean_object* v___x_4869_; lean_object* v___x_4870_; lean_object* v___x_4871_; lean_object* v___f_4872_; lean_object* v___x_4873_; +lean_dec_ref(v_e_4789_); +v___x_4860_ = lean_st_ref_get(v___y_4794_); +v_lctx_4861_ = lean_ctor_get(v___x_4860_, 0); +lean_inc_ref(v_lctx_4861_); +lean_dec(v___x_4860_); +v___x_4862_ = lean_box(1); +v___x_4863_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4864_ = 0; +v___x_4865_ = lean_unsigned_to_nat(0u); +v___x_4866_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4867_ = lean_box(0); +v___x_4868_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4868_, 0, v___x_4863_); +lean_ctor_set(v___x_4868_, 1, v___x_4862_); +lean_ctor_set(v___x_4868_, 2, v_lctx_4861_); +lean_ctor_set(v___x_4868_, 3, v___x_4866_); +lean_ctor_set(v___x_4868_, 4, v___x_4867_); +lean_ctor_set(v___x_4868_, 5, v___x_4865_); +lean_ctor_set(v___x_4868_, 6, v___x_4867_); +lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7, v___x_4864_); +lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 1, v___x_4864_); +lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 2, v___x_4864_); +lean_ctor_set_uint8(v___x_4868_, sizeof(void*)*7 + 3, v___x_4836_); +v___x_4869_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4870_ = lean_st_mk_ref(v___x_4869_); +v___x_4871_ = lean_box(v___x_4836_); +v___f_4872_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__2___boxed), 9, 2); +lean_closure_set(v___f_4872_, 0, v___x_4871_); +lean_closure_set(v___f_4872_, 1, v_numParams_4832_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4870_); +v___x_4873_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_4834_, v___f_4872_, v___x_4864_, v___x_4868_, v___x_4870_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4873_) == 0) +{ +lean_object* v_a_4874_; lean_object* v___x_4875_; lean_object* v___x_4876_; +v_a_4874_ = lean_ctor_get(v___x_4873_, 0); +lean_inc(v_a_4874_); +lean_dec_ref(v___x_4873_); +v___x_4875_ = lean_st_ref_get(v___x_4870_); +lean_dec(v___x_4870_); +lean_dec(v___x_4875_); +v___x_4876_ = lean_apply_8(v___f_4790_, v_a_4874_, v___y_4793_, v___y_4794_, v___y_4795_, v___y_4796_, v___y_4797_, v___y_4798_, lean_box(0)); +return v___x_4876_; +} +else +{ +lean_dec(v___x_4870_); +if (lean_obj_tag(v___x_4873_) == 0) +{ +lean_object* v_a_4877_; lean_object* v___x_4878_; +v_a_4877_ = lean_ctor_get(v___x_4873_, 0); +lean_inc(v_a_4877_); +lean_dec_ref(v___x_4873_); +v___x_4878_ = lean_apply_8(v___f_4790_, v_a_4877_, v___y_4793_, v___y_4794_, v___y_4795_, v___y_4796_, v___y_4797_, v___y_4798_, lean_box(0)); +return v___x_4878_; +} +else +{ +lean_object* v_a_4879_; lean_object* v___x_4881_; uint8_t v_isShared_4882_; uint8_t v_isSharedCheck_4886_; +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +v_a_4879_ = lean_ctor_get(v___x_4873_, 0); +v_isSharedCheck_4886_ = !lean_is_exclusive(v___x_4873_); +if (v_isSharedCheck_4886_ == 0) +{ +v___x_4881_ = v___x_4873_; +v_isShared_4882_ = v_isSharedCheck_4886_; +goto v_resetjp_4880_; +} +else +{ +lean_inc(v_a_4879_); +lean_dec(v___x_4873_); +v___x_4881_ = lean_box(0); +v_isShared_4882_ = v_isSharedCheck_4886_; +goto v_resetjp_4880_; +} +v_resetjp_4880_: +{ +lean_object* v___x_4884_; +if (v_isShared_4882_ == 0) +{ +v___x_4884_ = v___x_4881_; +goto v_reusejp_4883_; +} +else +{ +lean_object* v_reuseFailAlloc_4885_; +v_reuseFailAlloc_4885_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4885_, 0, v_a_4879_); +v___x_4884_ = v_reuseFailAlloc_4885_; +goto v_reusejp_4883_; +} +v_reusejp_4883_: +{ +return v___x_4884_; +} +} +} +} +} +} +else +{ +lean_dec_ref(v___y_4826_); +lean_dec(v_a_4827_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +v___y_4814_ = v___y_4795_; +v___y_4815_ = v___y_4796_; +v___y_4816_ = v___y_4797_; +v___y_4817_ = v___y_4798_; +goto v___jp_4813_; +} +} +else +{ +lean_dec(v_a_4827_); +lean_dec(v___y_4826_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +v___y_4814_ = v___y_4795_; +v___y_4815_ = v___y_4796_; +v___y_4816_ = v___y_4797_; +v___y_4817_ = v___y_4798_; +goto v___jp_4813_; +} +} +v___jp_4887_: +{ +lean_object* v___x_4890_; lean_object* v_lctx_4891_; lean_object* v___x_4892_; lean_object* v___x_4893_; uint8_t v___x_4894_; lean_object* v___x_4895_; lean_object* v___x_4896_; lean_object* v___x_4897_; uint8_t v___x_4898_; lean_object* v___x_4899_; lean_object* v___x_4900_; lean_object* v___x_4901_; lean_object* v___x_4902_; +v___x_4890_ = lean_st_ref_get(v___y_4794_); +v_lctx_4891_ = lean_ctor_get(v___x_4890_, 0); +lean_inc_ref(v_lctx_4891_); +lean_dec(v___x_4890_); +v___x_4892_ = lean_box(1); +v___x_4893_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4894_ = 0; +v___x_4895_ = lean_unsigned_to_nat(0u); +v___x_4896_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4897_ = lean_box(0); +v___x_4898_ = 1; +v___x_4899_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4899_, 0, v___x_4893_); +lean_ctor_set(v___x_4899_, 1, v___x_4892_); +lean_ctor_set(v___x_4899_, 2, v_lctx_4891_); +lean_ctor_set(v___x_4899_, 3, v___x_4896_); +lean_ctor_set(v___x_4899_, 4, v___x_4897_); +lean_ctor_set(v___x_4899_, 5, v___x_4895_); +lean_ctor_set(v___x_4899_, 6, v___x_4897_); +lean_ctor_set_uint8(v___x_4899_, sizeof(void*)*7, v___x_4894_); +lean_ctor_set_uint8(v___x_4899_, sizeof(void*)*7 + 1, v___x_4894_); +lean_ctor_set_uint8(v___x_4899_, sizeof(void*)*7 + 2, v___x_4894_); +lean_ctor_set_uint8(v___x_4899_, sizeof(void*)*7 + 3, v___x_4898_); +v___x_4900_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4901_ = lean_st_mk_ref(v___x_4900_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4901_); +v___x_4902_ = l_Lean_Meta_isConstructorApp_x3f(v___y_4888_, v___x_4899_, v___x_4901_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4902_) == 0) +{ +lean_object* v_a_4903_; lean_object* v___x_4904_; +v_a_4903_ = lean_ctor_get(v___x_4902_, 0); +lean_inc(v_a_4903_); +lean_dec_ref(v___x_4902_); +v___x_4904_ = lean_st_ref_get(v___x_4901_); +lean_dec(v___x_4901_); +lean_dec(v___x_4904_); +v___y_4826_ = v_a_4889_; +v_a_4827_ = v_a_4903_; +goto v___jp_4825_; +} +else +{ +lean_dec(v___x_4901_); +if (lean_obj_tag(v___x_4902_) == 0) +{ +lean_object* v_a_4905_; +v_a_4905_ = lean_ctor_get(v___x_4902_, 0); +lean_inc(v_a_4905_); +lean_dec_ref(v___x_4902_); +v___y_4826_ = v_a_4889_; +v_a_4827_ = v_a_4905_; +goto v___jp_4825_; +} +else +{ +lean_object* v_a_4906_; lean_object* v___x_4908_; uint8_t v_isShared_4909_; uint8_t v_isSharedCheck_4913_; +lean_dec(v_a_4889_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_4906_ = lean_ctor_get(v___x_4902_, 0); +v_isSharedCheck_4913_ = !lean_is_exclusive(v___x_4902_); +if (v_isSharedCheck_4913_ == 0) +{ +v___x_4908_ = v___x_4902_; +v_isShared_4909_ = v_isSharedCheck_4913_; +goto v_resetjp_4907_; +} +else +{ +lean_inc(v_a_4906_); +lean_dec(v___x_4902_); +v___x_4908_ = lean_box(0); +v_isShared_4909_ = v_isSharedCheck_4913_; +goto v_resetjp_4907_; +} +v_resetjp_4907_: +{ +lean_object* v___x_4911_; +if (v_isShared_4909_ == 0) +{ +v___x_4911_ = v___x_4908_; +goto v_reusejp_4910_; +} +else +{ +lean_object* v_reuseFailAlloc_4912_; +v_reuseFailAlloc_4912_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4912_, 0, v_a_4906_); +v___x_4911_ = v_reuseFailAlloc_4912_; +goto v_reusejp_4910_; +} +v_reusejp_4910_: +{ +return v___x_4911_; +} +} +} +} +} +v___jp_4914_: +{ +lean_object* v___x_4917_; lean_object* v_lctx_4918_; lean_object* v___x_4919_; lean_object* v___x_4920_; uint8_t v___x_4921_; lean_object* v___x_4922_; lean_object* v___x_4923_; lean_object* v___x_4924_; uint8_t v___x_4925_; lean_object* v___x_4926_; lean_object* v___x_4927_; lean_object* v___x_4928_; lean_object* v___x_4929_; +v___x_4917_ = lean_st_ref_get(v___y_4794_); +v_lctx_4918_ = lean_ctor_get(v___x_4917_, 0); +lean_inc_ref(v_lctx_4918_); +lean_dec(v___x_4917_); +v___x_4919_ = lean_box(1); +v___x_4920_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4921_ = 0; +v___x_4922_ = lean_unsigned_to_nat(0u); +v___x_4923_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4924_ = lean_box(0); +v___x_4925_ = 1; +v___x_4926_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4926_, 0, v___x_4920_); +lean_ctor_set(v___x_4926_, 1, v___x_4919_); +lean_ctor_set(v___x_4926_, 2, v_lctx_4918_); +lean_ctor_set(v___x_4926_, 3, v___x_4923_); +lean_ctor_set(v___x_4926_, 4, v___x_4924_); +lean_ctor_set(v___x_4926_, 5, v___x_4922_); +lean_ctor_set(v___x_4926_, 6, v___x_4924_); +lean_ctor_set_uint8(v___x_4926_, sizeof(void*)*7, v___x_4921_); +lean_ctor_set_uint8(v___x_4926_, sizeof(void*)*7 + 1, v___x_4921_); +lean_ctor_set_uint8(v___x_4926_, sizeof(void*)*7 + 2, v___x_4921_); +lean_ctor_set_uint8(v___x_4926_, sizeof(void*)*7 + 3, v___x_4925_); +v___x_4927_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4928_ = lean_st_mk_ref(v___x_4927_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4928_); +v___x_4929_ = l_Lean_Meta_isConstructorApp_x3f(v___y_4915_, v___x_4926_, v___x_4928_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4929_) == 0) +{ +lean_object* v_a_4930_; lean_object* v___x_4931_; +v_a_4930_ = lean_ctor_get(v___x_4929_, 0); +lean_inc(v_a_4930_); +lean_dec_ref(v___x_4929_); +v___x_4931_ = lean_st_ref_get(v___x_4928_); +lean_dec(v___x_4928_); +lean_dec(v___x_4931_); +v___y_4888_ = v_a_4916_; +v_a_4889_ = v_a_4930_; +goto v___jp_4887_; +} +else +{ +lean_dec(v___x_4928_); +if (lean_obj_tag(v___x_4929_) == 0) +{ +lean_object* v_a_4932_; +v_a_4932_ = lean_ctor_get(v___x_4929_, 0); +lean_inc(v_a_4932_); +lean_dec_ref(v___x_4929_); +v___y_4888_ = v_a_4916_; +v_a_4889_ = v_a_4932_; +goto v___jp_4887_; +} +else +{ +lean_object* v_a_4933_; lean_object* v___x_4935_; uint8_t v_isShared_4936_; uint8_t v_isSharedCheck_4940_; +lean_dec_ref(v_a_4916_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_4933_ = lean_ctor_get(v___x_4929_, 0); +v_isSharedCheck_4940_ = !lean_is_exclusive(v___x_4929_); +if (v_isSharedCheck_4940_ == 0) +{ +v___x_4935_ = v___x_4929_; +v_isShared_4936_ = v_isSharedCheck_4940_; +goto v_resetjp_4934_; +} +else +{ +lean_inc(v_a_4933_); +lean_dec(v___x_4929_); +v___x_4935_ = lean_box(0); +v_isShared_4936_ = v_isSharedCheck_4940_; +goto v_resetjp_4934_; +} +v_resetjp_4934_: +{ +lean_object* v___x_4938_; +if (v_isShared_4936_ == 0) +{ +v___x_4938_ = v___x_4935_; +goto v_reusejp_4937_; +} +else +{ +lean_object* v_reuseFailAlloc_4939_; +v_reuseFailAlloc_4939_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4939_, 0, v_a_4933_); +v___x_4938_ = v_reuseFailAlloc_4939_; +goto v_reusejp_4937_; +} +v_reusejp_4937_: +{ +return v___x_4938_; +} +} +} +} +} +v___jp_4941_: +{ +lean_object* v___x_4944_; lean_object* v_lctx_4945_; lean_object* v___x_4946_; lean_object* v___x_4947_; uint8_t v___x_4948_; lean_object* v___x_4949_; lean_object* v___x_4950_; lean_object* v___x_4951_; uint8_t v___x_4952_; lean_object* v___x_4953_; lean_object* v___x_4954_; lean_object* v___x_4955_; lean_object* v___x_4956_; +v___x_4944_ = lean_st_ref_get(v___y_4794_); +v_lctx_4945_ = lean_ctor_get(v___x_4944_, 0); +lean_inc_ref(v_lctx_4945_); +lean_dec(v___x_4944_); +v___x_4946_ = lean_box(1); +v___x_4947_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4948_ = 0; +v___x_4949_ = lean_unsigned_to_nat(0u); +v___x_4950_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4951_ = lean_box(0); +v___x_4952_ = 1; +v___x_4953_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4953_, 0, v___x_4947_); +lean_ctor_set(v___x_4953_, 1, v___x_4946_); +lean_ctor_set(v___x_4953_, 2, v_lctx_4945_); +lean_ctor_set(v___x_4953_, 3, v___x_4950_); +lean_ctor_set(v___x_4953_, 4, v___x_4951_); +lean_ctor_set(v___x_4953_, 5, v___x_4949_); +lean_ctor_set(v___x_4953_, 6, v___x_4951_); +lean_ctor_set_uint8(v___x_4953_, sizeof(void*)*7, v___x_4948_); +lean_ctor_set_uint8(v___x_4953_, sizeof(void*)*7 + 1, v___x_4948_); +lean_ctor_set_uint8(v___x_4953_, sizeof(void*)*7 + 2, v___x_4948_); +lean_ctor_set_uint8(v___x_4953_, sizeof(void*)*7 + 3, v___x_4952_); +v___x_4954_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4955_ = lean_st_mk_ref(v___x_4954_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4955_); +v___x_4956_ = l_Lean_Expr_toCtorIfLit(v___y_4942_, v___x_4953_, v___x_4955_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4956_) == 0) +{ +lean_object* v_a_4957_; lean_object* v___x_4958_; +v_a_4957_ = lean_ctor_get(v___x_4956_, 0); +lean_inc(v_a_4957_); +lean_dec_ref(v___x_4956_); +v___x_4958_ = lean_st_ref_get(v___x_4955_); +lean_dec(v___x_4955_); +lean_dec(v___x_4958_); +v___y_4915_ = v_a_4943_; +v_a_4916_ = v_a_4957_; +goto v___jp_4914_; +} +else +{ +lean_dec(v___x_4955_); +if (lean_obj_tag(v___x_4956_) == 0) +{ +lean_object* v_a_4959_; +v_a_4959_ = lean_ctor_get(v___x_4956_, 0); +lean_inc(v_a_4959_); +lean_dec_ref(v___x_4956_); +v___y_4915_ = v_a_4943_; +v_a_4916_ = v_a_4959_; +goto v___jp_4914_; +} +else +{ +lean_object* v_a_4960_; lean_object* v___x_4962_; uint8_t v_isShared_4963_; uint8_t v_isSharedCheck_4967_; +lean_dec_ref(v_a_4943_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_4960_ = lean_ctor_get(v___x_4956_, 0); +v_isSharedCheck_4967_ = !lean_is_exclusive(v___x_4956_); +if (v_isSharedCheck_4967_ == 0) +{ +v___x_4962_ = v___x_4956_; +v_isShared_4963_ = v_isSharedCheck_4967_; +goto v_resetjp_4961_; +} +else +{ +lean_inc(v_a_4960_); +lean_dec(v___x_4956_); +v___x_4962_ = lean_box(0); +v_isShared_4963_ = v_isSharedCheck_4967_; +goto v_resetjp_4961_; +} +v_resetjp_4961_: +{ +lean_object* v___x_4965_; +if (v_isShared_4963_ == 0) +{ +v___x_4965_ = v___x_4962_; +goto v_reusejp_4964_; +} +else +{ +lean_object* v_reuseFailAlloc_4966_; +v_reuseFailAlloc_4966_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4966_, 0, v_a_4960_); +v___x_4965_ = v_reuseFailAlloc_4966_; +goto v_reusejp_4964_; +} +v_reusejp_4964_: +{ +return v___x_4965_; +} +} +} +} +} +v___jp_4968_: +{ +lean_object* v___x_4971_; lean_object* v_lctx_4972_; lean_object* v___x_4973_; lean_object* v___x_4974_; uint8_t v___x_4975_; lean_object* v___x_4976_; lean_object* v___x_4977_; lean_object* v___x_4978_; uint8_t v___x_4979_; lean_object* v___x_4980_; lean_object* v___x_4981_; lean_object* v___x_4982_; lean_object* v___x_4983_; +v___x_4971_ = lean_st_ref_get(v___y_4794_); +v_lctx_4972_ = lean_ctor_get(v___x_4971_, 0); +lean_inc_ref(v_lctx_4972_); +lean_dec(v___x_4971_); +v___x_4973_ = lean_box(1); +v___x_4974_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_4975_ = 0; +v___x_4976_ = lean_unsigned_to_nat(0u); +v___x_4977_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_4978_ = lean_box(0); +v___x_4979_ = 1; +v___x_4980_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_4980_, 0, v___x_4974_); +lean_ctor_set(v___x_4980_, 1, v___x_4973_); +lean_ctor_set(v___x_4980_, 2, v_lctx_4972_); +lean_ctor_set(v___x_4980_, 3, v___x_4977_); +lean_ctor_set(v___x_4980_, 4, v___x_4978_); +lean_ctor_set(v___x_4980_, 5, v___x_4976_); +lean_ctor_set(v___x_4980_, 6, v___x_4978_); +lean_ctor_set_uint8(v___x_4980_, sizeof(void*)*7, v___x_4975_); +lean_ctor_set_uint8(v___x_4980_, sizeof(void*)*7 + 1, v___x_4975_); +lean_ctor_set_uint8(v___x_4980_, sizeof(void*)*7 + 2, v___x_4975_); +lean_ctor_set_uint8(v___x_4980_, sizeof(void*)*7 + 3, v___x_4979_); +v___x_4981_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_4982_ = lean_st_mk_ref(v___x_4981_); +lean_inc(v___y_4798_); +lean_inc_ref(v___y_4797_); +lean_inc(v___x_4982_); +v___x_4983_ = l_Lean_Expr_toCtorIfLit(v___y_4969_, v___x_4980_, v___x_4982_, v___y_4797_, v___y_4798_); +if (lean_obj_tag(v___x_4983_) == 0) +{ +lean_object* v_a_4984_; lean_object* v___x_4985_; +v_a_4984_ = lean_ctor_get(v___x_4983_, 0); +lean_inc(v_a_4984_); +lean_dec_ref(v___x_4983_); +v___x_4985_ = lean_st_ref_get(v___x_4982_); +lean_dec(v___x_4982_); +lean_dec(v___x_4985_); +v___y_4942_ = v_a_4970_; +v_a_4943_ = v_a_4984_; +goto v___jp_4941_; +} +else +{ +lean_dec(v___x_4982_); +if (lean_obj_tag(v___x_4983_) == 0) +{ +lean_object* v_a_4986_; +v_a_4986_ = lean_ctor_get(v___x_4983_, 0); +lean_inc(v_a_4986_); +lean_dec_ref(v___x_4983_); +v___y_4942_ = v_a_4970_; +v_a_4943_ = v_a_4986_; +goto v___jp_4941_; +} +else +{ +lean_object* v_a_4987_; lean_object* v___x_4989_; uint8_t v_isShared_4990_; uint8_t v_isSharedCheck_4994_; +lean_dec_ref(v_a_4970_); +lean_dec(v___y_4798_); +lean_dec_ref(v___y_4797_); +lean_dec(v___y_4796_); +lean_dec_ref(v___y_4795_); +lean_dec(v___y_4794_); +lean_dec_ref(v___y_4793_); +lean_dec_ref(v___f_4790_); +lean_dec_ref(v_e_4789_); +lean_dec(v_declName_4788_); +v_a_4987_ = lean_ctor_get(v___x_4983_, 0); +v_isSharedCheck_4994_ = !lean_is_exclusive(v___x_4983_); +if (v_isSharedCheck_4994_ == 0) +{ +v___x_4989_ = v___x_4983_; +v_isShared_4990_ = v_isSharedCheck_4994_; +goto v_resetjp_4988_; +} +else +{ +lean_inc(v_a_4987_); +lean_dec(v___x_4983_); +v___x_4989_ = lean_box(0); +v_isShared_4990_ = v_isSharedCheck_4994_; +goto v_resetjp_4988_; +} +v_resetjp_4988_: +{ +lean_object* v___x_4992_; +if (v_isShared_4990_ == 0) +{ +v___x_4992_ = v___x_4989_; +goto v_reusejp_4991_; +} +else +{ +lean_object* v_reuseFailAlloc_4993_; +v_reuseFailAlloc_4993_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4993_, 0, v_a_4987_); +v___x_4992_ = v_reuseFailAlloc_4993_; +goto v_reusejp_4991_; +} +v_reusejp_4991_: +{ +return v___x_4992_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___boxed(lean_object* v___x_5051_, lean_object* v_declName_5052_, lean_object* v_e_5053_, lean_object* v___f_5054_, lean_object* v___x_5055_, lean_object* v___x_5056_, lean_object* v___y_5057_, lean_object* v___y_5058_, lean_object* v___y_5059_, lean_object* v___y_5060_, lean_object* v___y_5061_, lean_object* v___y_5062_, lean_object* v___y_5063_){ +_start: +{ +lean_object* v_res_5064_; +v_res_5064_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3(v___x_5051_, v_declName_5052_, v_e_5053_, v___f_5054_, v___x_5055_, v___x_5056_, v___y_5057_, v___y_5058_, v___y_5059_, v___y_5060_, v___y_5061_, v___y_5062_); +lean_dec_ref(v___x_5056_); +return v_res_5064_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0(void){ +_start: +{ +lean_object* v___x_5065_; lean_object* v___x_5066_; lean_object* v___x_5067_; lean_object* v___x_5068_; +v___x_5065_ = lean_box(1); +v___x_5066_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); +v___x_5067_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1); +v___x_5068_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_5068_, 0, v___x_5067_); +lean_ctor_set(v___x_5068_, 1, v___x_5066_); +lean_ctor_set(v___x_5068_, 2, v___x_5065_); +return v___x_5068_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2(void){ +_start: +{ +lean_object* v___x_5070_; lean_object* v___x_5071_; +v___x_5070_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__1)); +v___x_5071_ = l_Lean_stringToMessageData(v___x_5070_); return v___x_5071_; } } -else -{ -lean_object* v___x_5073_; lean_object* v___x_5074_; lean_object* v___x_5075_; lean_object* v___x_5076_; lean_object* v___x_5077_; lean_object* v___x_5078_; lean_object* v___x_5079_; lean_object* v___x_5080_; lean_object* v___x_5081_; lean_object* v___x_5082_; lean_object* v___x_5084_; -v___x_5073_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__2); -v___x_5074_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5074_, 0, v___x_5073_); -lean_ctor_set(v___x_5074_, 1, v_c_5042_); -v___x_5075_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__12); -v___x_5076_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5076_, 0, v___x_5074_); -lean_ctor_set(v___x_5076_, 1, v___x_5075_); -v___x_5077_ = l_Lean_MessageData_ofName(v_mod_5058_); -v___x_5078_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5078_, 0, v___x_5076_); -lean_ctor_set(v___x_5078_, 1, v___x_5077_); -v___x_5079_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___closed__14); -v___x_5080_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5080_, 0, v___x_5078_); -lean_ctor_set(v___x_5080_, 1, v___x_5079_); -v___x_5081_ = l_Lean_MessageData_note(v___x_5080_); -v___x_5082_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5082_, 0, v_msg_5025_); -lean_ctor_set(v___x_5082_, 1, v___x_5081_); -if (v_isShared_5054_ == 0) -{ -lean_ctor_set_tag(v___x_5053_, 0); -lean_ctor_set(v___x_5053_, 0, v___x_5082_); -v___x_5084_ = v___x_5053_; -goto v_reusejp_5083_; -} -else -{ -lean_object* v_reuseFailAlloc_5085_; -v_reuseFailAlloc_5085_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5085_, 0, v___x_5082_); -v___x_5084_ = v_reuseFailAlloc_5085_; -goto v_reusejp_5083_; -} -v_reusejp_5083_: -{ -return v___x_5084_; -} -} -} -} -} -} -} -else -{ -lean_object* v___x_5087_; -lean_dec_ref(v_env_5030_); -lean_dec(v_declHint_5026_); -v___x_5087_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5087_, 0, v_msg_5025_); -return v___x_5087_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg___boxed(lean_object* v_msg_5088_, lean_object* v_declHint_5089_, lean_object* v___y_5090_, lean_object* v___y_5091_){ +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4(void){ _start: { -lean_object* v_res_5092_; -v_res_5092_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg(v_msg_5088_, v_declHint_5089_, v___y_5090_); -lean_dec(v___y_5090_); -return v_res_5092_; +lean_object* v___x_5073_; lean_object* v___x_5074_; +v___x_5073_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__3)); +v___x_5074_ = l_Lean_stringToMessageData(v___x_5073_); +return v___x_5074_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50(lean_object* v_msg_5093_, lean_object* v_declHint_5094_, uint8_t v___y_5095_, lean_object* v___y_5096_, lean_object* v___y_5097_, lean_object* v___y_5098_, lean_object* v___y_5099_, lean_object* v___y_5100_){ +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6(void){ _start: { -lean_object* v___x_5102_; lean_object* v_a_5103_; lean_object* v___x_5105_; uint8_t v_isShared_5106_; uint8_t v_isSharedCheck_5112_; -v___x_5102_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg(v_msg_5093_, v_declHint_5094_, v___y_5100_); -v_a_5103_ = lean_ctor_get(v___x_5102_, 0); -v_isSharedCheck_5112_ = !lean_is_exclusive(v___x_5102_); -if (v_isSharedCheck_5112_ == 0) +lean_object* v___x_5076_; lean_object* v___x_5077_; +v___x_5076_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__5)); +v___x_5077_ = l_Lean_stringToMessageData(v___x_5076_); +return v___x_5077_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8(void){ +_start: { -v___x_5105_ = v___x_5102_; -v_isShared_5106_ = v_isSharedCheck_5112_; -goto v_resetjp_5104_; +lean_object* v___x_5079_; lean_object* v___x_5080_; +v___x_5079_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__7)); +v___x_5080_ = l_Lean_stringToMessageData(v___x_5079_); +return v___x_5080_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10(void){ +_start: +{ +lean_object* v___x_5082_; lean_object* v___x_5083_; +v___x_5082_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__9)); +v___x_5083_ = l_Lean_stringToMessageData(v___x_5082_); +return v___x_5083_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12(void){ +_start: +{ +lean_object* v___x_5085_; lean_object* v___x_5086_; +v___x_5085_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__11)); +v___x_5086_ = l_Lean_stringToMessageData(v___x_5085_); +return v___x_5086_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14(void){ +_start: +{ +lean_object* v___x_5088_; lean_object* v___x_5089_; +v___x_5088_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__13)); +v___x_5089_ = l_Lean_stringToMessageData(v___x_5088_); +return v___x_5089_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg(lean_object* v_msg_5090_, lean_object* v_declHint_5091_, lean_object* v___y_5092_){ +_start: +{ +lean_object* v___x_5094_; lean_object* v_env_5095_; uint8_t v___x_5096_; +v___x_5094_ = lean_st_ref_get(v___y_5092_); +v_env_5095_ = lean_ctor_get(v___x_5094_, 0); +lean_inc_ref(v_env_5095_); +lean_dec(v___x_5094_); +v___x_5096_ = l_Lean_Name_isAnonymous(v_declHint_5091_); +if (v___x_5096_ == 0) +{ +uint8_t v_isExporting_5097_; +v_isExporting_5097_ = lean_ctor_get_uint8(v_env_5095_, sizeof(void*)*8); +if (v_isExporting_5097_ == 0) +{ +lean_object* v___x_5098_; +lean_dec_ref(v_env_5095_); +lean_dec(v_declHint_5091_); +v___x_5098_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5098_, 0, v_msg_5090_); +return v___x_5098_; } else { -lean_inc(v_a_5103_); -lean_dec(v___x_5102_); -v___x_5105_ = lean_box(0); -v_isShared_5106_ = v_isSharedCheck_5112_; -goto v_resetjp_5104_; -} -v_resetjp_5104_: +lean_object* v___x_5099_; uint8_t v___x_5100_; +lean_inc_ref(v_env_5095_); +v___x_5099_ = l_Lean_Environment_setExporting(v_env_5095_, v___x_5096_); +lean_inc(v_declHint_5091_); +lean_inc_ref(v___x_5099_); +v___x_5100_ = l_Lean_Environment_contains(v___x_5099_, v_declHint_5091_, v_isExporting_5097_); +if (v___x_5100_ == 0) { -lean_object* v___x_5107_; lean_object* v___x_5108_; lean_object* v___x_5110_; -v___x_5107_ = l_Lean_unknownIdentifierMessageTag; -v___x_5108_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_5108_, 0, v___x_5107_); -lean_ctor_set(v___x_5108_, 1, v_a_5103_); -if (v_isShared_5106_ == 0) -{ -lean_ctor_set(v___x_5105_, 0, v___x_5108_); -v___x_5110_ = v___x_5105_; -goto v_reusejp_5109_; +lean_object* v___x_5101_; +lean_dec_ref(v___x_5099_); +lean_dec_ref(v_env_5095_); +lean_dec(v_declHint_5091_); +v___x_5101_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5101_, 0, v_msg_5090_); +return v___x_5101_; } else { -lean_object* v_reuseFailAlloc_5111_; -v_reuseFailAlloc_5111_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5111_, 0, v___x_5108_); -v___x_5110_ = v_reuseFailAlloc_5111_; -goto v_reusejp_5109_; -} -v_reusejp_5109_: +lean_object* v___x_5102_; lean_object* v___x_5103_; lean_object* v___x_5104_; lean_object* v___x_5105_; lean_object* v___x_5106_; lean_object* v_c_5107_; lean_object* v___x_5108_; +v___x_5102_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__2); +v___x_5103_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__0); +v___x_5104_ = l_Lean_Options_empty; +v___x_5105_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_5105_, 0, v___x_5099_); +lean_ctor_set(v___x_5105_, 1, v___x_5102_); +lean_ctor_set(v___x_5105_, 2, v___x_5103_); +lean_ctor_set(v___x_5105_, 3, v___x_5104_); +lean_inc(v_declHint_5091_); +v___x_5106_ = l_Lean_MessageData_ofConstName(v_declHint_5091_, v___x_5096_); +v_c_5107_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_c_5107_, 0, v___x_5105_); +lean_ctor_set(v_c_5107_, 1, v___x_5106_); +v___x_5108_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_5095_, v_declHint_5091_); +if (lean_obj_tag(v___x_5108_) == 0) { -return v___x_5110_; +lean_object* v___x_5109_; lean_object* v___x_5110_; lean_object* v___x_5111_; lean_object* v___x_5112_; lean_object* v___x_5113_; lean_object* v___x_5114_; lean_object* v___x_5115_; +lean_dec_ref(v_env_5095_); +lean_dec(v_declHint_5091_); +v___x_5109_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2); +v___x_5110_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5110_, 0, v___x_5109_); +lean_ctor_set(v___x_5110_, 1, v_c_5107_); +v___x_5111_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__4); +v___x_5112_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5112_, 0, v___x_5110_); +lean_ctor_set(v___x_5112_, 1, v___x_5111_); +v___x_5113_ = l_Lean_MessageData_note(v___x_5112_); +v___x_5114_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5114_, 0, v_msg_5090_); +lean_ctor_set(v___x_5114_, 1, v___x_5113_); +v___x_5115_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5115_, 0, v___x_5114_); +return v___x_5115_; } -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50___boxed(lean_object* v_msg_5113_, lean_object* v_declHint_5114_, lean_object* v___y_5115_, lean_object* v___y_5116_, lean_object* v___y_5117_, lean_object* v___y_5118_, lean_object* v___y_5119_, lean_object* v___y_5120_, lean_object* v___y_5121_){ -_start: +else { -uint8_t v___y_166126__boxed_5122_; lean_object* v_res_5123_; -v___y_166126__boxed_5122_ = lean_unbox(v___y_5115_); -v_res_5123_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50(v_msg_5113_, v_declHint_5114_, v___y_166126__boxed_5122_, v___y_5116_, v___y_5117_, v___y_5118_, v___y_5119_, v___y_5120_); -lean_dec(v___y_5120_); -lean_dec_ref(v___y_5119_); -lean_dec(v___y_5118_); -lean_dec_ref(v___y_5117_); -lean_dec(v___y_5116_); -return v_res_5123_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg(lean_object* v_ref_5124_, lean_object* v_msg_5125_, lean_object* v_declHint_5126_, uint8_t v___y_5127_, lean_object* v___y_5128_, lean_object* v___y_5129_, lean_object* v___y_5130_, lean_object* v___y_5131_, lean_object* v___y_5132_){ -_start: +lean_object* v_val_5116_; lean_object* v___x_5118_; uint8_t v_isShared_5119_; uint8_t v_isSharedCheck_5151_; +v_val_5116_ = lean_ctor_get(v___x_5108_, 0); +v_isSharedCheck_5151_ = !lean_is_exclusive(v___x_5108_); +if (v_isSharedCheck_5151_ == 0) +{ +v___x_5118_ = v___x_5108_; +v_isShared_5119_ = v_isSharedCheck_5151_; +goto v_resetjp_5117_; +} +else +{ +lean_inc(v_val_5116_); +lean_dec(v___x_5108_); +v___x_5118_ = lean_box(0); +v_isShared_5119_ = v_isSharedCheck_5151_; +goto v_resetjp_5117_; +} +v_resetjp_5117_: +{ +lean_object* v___x_5120_; lean_object* v___x_5121_; lean_object* v___x_5122_; lean_object* v_mod_5123_; uint8_t v___x_5124_; +v___x_5120_ = lean_box(0); +v___x_5121_ = l_Lean_Environment_header(v_env_5095_); +lean_dec_ref(v_env_5095_); +v___x_5122_ = l_Lean_EnvironmentHeader_moduleNames(v___x_5121_); +v_mod_5123_ = lean_array_get(v___x_5120_, v___x_5122_, v_val_5116_); +lean_dec(v_val_5116_); +lean_dec_ref(v___x_5122_); +v___x_5124_ = l_Lean_isPrivateName(v_declHint_5091_); +lean_dec(v_declHint_5091_); +if (v___x_5124_ == 0) +{ +lean_object* v___x_5125_; lean_object* v___x_5126_; lean_object* v___x_5127_; lean_object* v___x_5128_; lean_object* v___x_5129_; lean_object* v___x_5130_; lean_object* v___x_5131_; lean_object* v___x_5132_; lean_object* v___x_5133_; lean_object* v___x_5134_; lean_object* v___x_5136_; +v___x_5125_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__6); +v___x_5126_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5126_, 0, v___x_5125_); +lean_ctor_set(v___x_5126_, 1, v_c_5107_); +v___x_5127_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__8); +v___x_5128_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5128_, 0, v___x_5126_); +lean_ctor_set(v___x_5128_, 1, v___x_5127_); +v___x_5129_ = l_Lean_MessageData_ofName(v_mod_5123_); +v___x_5130_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5130_, 0, v___x_5128_); +lean_ctor_set(v___x_5130_, 1, v___x_5129_); +v___x_5131_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__10); +v___x_5132_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5132_, 0, v___x_5130_); +lean_ctor_set(v___x_5132_, 1, v___x_5131_); +v___x_5133_ = l_Lean_MessageData_note(v___x_5132_); +v___x_5134_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5134_, 0, v_msg_5090_); +lean_ctor_set(v___x_5134_, 1, v___x_5133_); +if (v_isShared_5119_ == 0) +{ +lean_ctor_set_tag(v___x_5118_, 0); +lean_ctor_set(v___x_5118_, 0, v___x_5134_); +v___x_5136_ = v___x_5118_; +goto v_reusejp_5135_; +} +else +{ +lean_object* v_reuseFailAlloc_5137_; +v_reuseFailAlloc_5137_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5137_, 0, v___x_5134_); +v___x_5136_ = v_reuseFailAlloc_5137_; +goto v_reusejp_5135_; +} +v_reusejp_5135_: { -lean_object* v___x_5134_; lean_object* v_a_5135_; lean_object* v___x_5136_; -v___x_5134_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50(v_msg_5125_, v_declHint_5126_, v___y_5127_, v___y_5128_, v___y_5129_, v___y_5130_, v___y_5131_, v___y_5132_); -v_a_5135_ = lean_ctor_get(v___x_5134_, 0); -lean_inc(v_a_5135_); -lean_dec_ref(v___x_5134_); -v___x_5136_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg(v_ref_5124_, v_a_5135_, v___y_5127_, v___y_5128_, v___y_5129_, v___y_5130_, v___y_5131_, v___y_5132_); return v___x_5136_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg___boxed(lean_object* v_ref_5137_, lean_object* v_msg_5138_, lean_object* v_declHint_5139_, lean_object* v___y_5140_, lean_object* v___y_5141_, lean_object* v___y_5142_, lean_object* v___y_5143_, lean_object* v___y_5144_, lean_object* v___y_5145_, lean_object* v___y_5146_){ -_start: +else { -uint8_t v___y_166170__boxed_5147_; lean_object* v_res_5148_; -v___y_166170__boxed_5147_ = lean_unbox(v___y_5140_); -v_res_5148_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg(v_ref_5137_, v_msg_5138_, v_declHint_5139_, v___y_166170__boxed_5147_, v___y_5141_, v___y_5142_, v___y_5143_, v___y_5144_, v___y_5145_); -lean_dec(v___y_5145_); -lean_dec(v___y_5143_); -lean_dec_ref(v___y_5142_); -lean_dec(v___y_5141_); -lean_dec(v_ref_5137_); -return v_res_5148_; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1(void){ -_start: +lean_object* v___x_5138_; lean_object* v___x_5139_; lean_object* v___x_5140_; lean_object* v___x_5141_; lean_object* v___x_5142_; lean_object* v___x_5143_; lean_object* v___x_5144_; lean_object* v___x_5145_; lean_object* v___x_5146_; lean_object* v___x_5147_; lean_object* v___x_5149_; +v___x_5138_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__2); +v___x_5139_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5139_, 0, v___x_5138_); +lean_ctor_set(v___x_5139_, 1, v_c_5107_); +v___x_5140_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__12); +v___x_5141_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5141_, 0, v___x_5139_); +lean_ctor_set(v___x_5141_, 1, v___x_5140_); +v___x_5142_ = l_Lean_MessageData_ofName(v_mod_5123_); +v___x_5143_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5143_, 0, v___x_5141_); +lean_ctor_set(v___x_5143_, 1, v___x_5142_); +v___x_5144_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___closed__14); +v___x_5145_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5145_, 0, v___x_5143_); +lean_ctor_set(v___x_5145_, 1, v___x_5144_); +v___x_5146_ = l_Lean_MessageData_note(v___x_5145_); +v___x_5147_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5147_, 0, v_msg_5090_); +lean_ctor_set(v___x_5147_, 1, v___x_5146_); +if (v_isShared_5119_ == 0) { -lean_object* v___x_5150_; lean_object* v___x_5151_; -v___x_5150_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__0)); -v___x_5151_ = l_Lean_stringToMessageData(v___x_5150_); -return v___x_5151_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg(lean_object* v_ref_5152_, lean_object* v_constName_5153_, uint8_t v___y_5154_, lean_object* v___y_5155_, lean_object* v___y_5156_, lean_object* v___y_5157_, lean_object* v___y_5158_, lean_object* v___y_5159_){ -_start: -{ -lean_object* v___x_5161_; uint8_t v___x_5162_; lean_object* v___x_5163_; lean_object* v___x_5164_; lean_object* v___x_5165_; lean_object* v___x_5166_; lean_object* v___x_5167_; -v___x_5161_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___closed__1); -v___x_5162_ = 0; -lean_inc(v_constName_5153_); -v___x_5163_ = l_Lean_MessageData_ofConstName(v_constName_5153_, v___x_5162_); -v___x_5164_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5164_, 0, v___x_5161_); -lean_ctor_set(v___x_5164_, 1, v___x_5163_); -v___x_5165_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2); -v___x_5166_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5166_, 0, v___x_5164_); -lean_ctor_set(v___x_5166_, 1, v___x_5165_); -v___x_5167_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg(v_ref_5152_, v___x_5166_, v_constName_5153_, v___y_5154_, v___y_5155_, v___y_5156_, v___y_5157_, v___y_5158_, v___y_5159_); -return v___x_5167_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg___boxed(lean_object* v_ref_5168_, lean_object* v_constName_5169_, lean_object* v___y_5170_, lean_object* v___y_5171_, lean_object* v___y_5172_, lean_object* v___y_5173_, lean_object* v___y_5174_, lean_object* v___y_5175_, lean_object* v___y_5176_){ -_start: -{ -uint8_t v___y_166207__boxed_5177_; lean_object* v_res_5178_; -v___y_166207__boxed_5177_ = lean_unbox(v___y_5170_); -v_res_5178_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg(v_ref_5168_, v_constName_5169_, v___y_166207__boxed_5177_, v___y_5171_, v___y_5172_, v___y_5173_, v___y_5174_, v___y_5175_); -lean_dec(v___y_5175_); -lean_dec(v___y_5173_); -lean_dec_ref(v___y_5172_); -lean_dec(v___y_5171_); -lean_dec(v_ref_5168_); -return v_res_5178_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(lean_object* v_constName_5179_, uint8_t v___y_5180_, lean_object* v___y_5181_, lean_object* v___y_5182_, lean_object* v___y_5183_, lean_object* v___y_5184_, lean_object* v___y_5185_){ -_start: -{ -lean_object* v_ref_5187_; lean_object* v___x_5188_; -v_ref_5187_ = lean_ctor_get(v___y_5184_, 5); -lean_inc(v_ref_5187_); -v___x_5188_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg(v_ref_5187_, v_constName_5179_, v___y_5180_, v___y_5181_, v___y_5182_, v___y_5183_, v___y_5184_, v___y_5185_); -lean_dec(v_ref_5187_); -return v___x_5188_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg___boxed(lean_object* v_constName_5189_, lean_object* v___y_5190_, lean_object* v___y_5191_, lean_object* v___y_5192_, lean_object* v___y_5193_, lean_object* v___y_5194_, lean_object* v___y_5195_, lean_object* v___y_5196_){ -_start: -{ -uint8_t v___y_166245__boxed_5197_; lean_object* v_res_5198_; -v___y_166245__boxed_5197_ = lean_unbox(v___y_5190_); -v_res_5198_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_5189_, v___y_166245__boxed_5197_, v___y_5191_, v___y_5192_, v___y_5193_, v___y_5194_, v___y_5195_); -lean_dec(v___y_5195_); -lean_dec(v___y_5193_); -lean_dec_ref(v___y_5192_); -lean_dec(v___y_5191_); -return v_res_5198_; -} -} -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(lean_object* v_constName_5199_, uint8_t v___y_5200_, lean_object* v___y_5201_, lean_object* v___y_5202_, lean_object* v___y_5203_, lean_object* v___y_5204_, lean_object* v___y_5205_){ -_start: -{ -lean_object* v___x_5207_; lean_object* v_env_5208_; uint8_t v___x_5209_; lean_object* v___x_5210_; -v___x_5207_ = lean_st_ref_get(v___y_5205_); -v_env_5208_ = lean_ctor_get(v___x_5207_, 0); -lean_inc_ref(v_env_5208_); -lean_dec(v___x_5207_); -v___x_5209_ = 0; -lean_inc(v_constName_5199_); -v___x_5210_ = l_Lean_Environment_find_x3f(v_env_5208_, v_constName_5199_, v___x_5209_); -if (lean_obj_tag(v___x_5210_) == 0) -{ -lean_object* v___x_5211_; -v___x_5211_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_5199_, v___y_5200_, v___y_5201_, v___y_5202_, v___y_5203_, v___y_5204_, v___y_5205_); -return v___x_5211_; +lean_ctor_set_tag(v___x_5118_, 0); +lean_ctor_set(v___x_5118_, 0, v___x_5147_); +v___x_5149_ = v___x_5118_; +goto v_reusejp_5148_; } else { -lean_object* v_val_5212_; lean_object* v___x_5214_; uint8_t v_isShared_5215_; uint8_t v_isSharedCheck_5219_; -lean_dec_ref(v___y_5204_); -lean_dec(v_constName_5199_); -v_val_5212_ = lean_ctor_get(v___x_5210_, 0); -v_isSharedCheck_5219_ = !lean_is_exclusive(v___x_5210_); -if (v_isSharedCheck_5219_ == 0) +lean_object* v_reuseFailAlloc_5150_; +v_reuseFailAlloc_5150_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5150_, 0, v___x_5147_); +v___x_5149_ = v_reuseFailAlloc_5150_; +goto v_reusejp_5148_; +} +v_reusejp_5148_: { -v___x_5214_ = v___x_5210_; -v_isShared_5215_ = v_isSharedCheck_5219_; +return v___x_5149_; +} +} +} +} +} +} +} +else +{ +lean_object* v___x_5152_; +lean_dec_ref(v_env_5095_); +lean_dec(v_declHint_5091_); +v___x_5152_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5152_, 0, v_msg_5090_); +return v___x_5152_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg___boxed(lean_object* v_msg_5153_, lean_object* v_declHint_5154_, lean_object* v___y_5155_, lean_object* v___y_5156_){ +_start: +{ +lean_object* v_res_5157_; +v_res_5157_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg(v_msg_5153_, v_declHint_5154_, v___y_5155_); +lean_dec(v___y_5155_); +return v_res_5157_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51(lean_object* v_msg_5158_, lean_object* v_declHint_5159_, lean_object* v___y_5160_, lean_object* v___y_5161_, lean_object* v___y_5162_, lean_object* v___y_5163_, lean_object* v___y_5164_, lean_object* v___y_5165_){ +_start: +{ +lean_object* v___x_5167_; lean_object* v_a_5168_; lean_object* v___x_5170_; uint8_t v_isShared_5171_; uint8_t v_isSharedCheck_5177_; +v___x_5167_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg(v_msg_5158_, v_declHint_5159_, v___y_5165_); +v_a_5168_ = lean_ctor_get(v___x_5167_, 0); +v_isSharedCheck_5177_ = !lean_is_exclusive(v___x_5167_); +if (v_isSharedCheck_5177_ == 0) +{ +v___x_5170_ = v___x_5167_; +v_isShared_5171_ = v_isSharedCheck_5177_; +goto v_resetjp_5169_; +} +else +{ +lean_inc(v_a_5168_); +lean_dec(v___x_5167_); +v___x_5170_ = lean_box(0); +v_isShared_5171_ = v_isSharedCheck_5177_; +goto v_resetjp_5169_; +} +v_resetjp_5169_: +{ +lean_object* v___x_5172_; lean_object* v___x_5173_; lean_object* v___x_5175_; +v___x_5172_ = l_Lean_unknownIdentifierMessageTag; +v___x_5173_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_5173_, 0, v___x_5172_); +lean_ctor_set(v___x_5173_, 1, v_a_5168_); +if (v_isShared_5171_ == 0) +{ +lean_ctor_set(v___x_5170_, 0, v___x_5173_); +v___x_5175_ = v___x_5170_; +goto v_reusejp_5174_; +} +else +{ +lean_object* v_reuseFailAlloc_5176_; +v_reuseFailAlloc_5176_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5176_, 0, v___x_5173_); +v___x_5175_ = v_reuseFailAlloc_5176_; +goto v_reusejp_5174_; +} +v_reusejp_5174_: +{ +return v___x_5175_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51___boxed(lean_object* v_msg_5178_, lean_object* v_declHint_5179_, lean_object* v___y_5180_, lean_object* v___y_5181_, lean_object* v___y_5182_, lean_object* v___y_5183_, lean_object* v___y_5184_, lean_object* v___y_5185_, lean_object* v___y_5186_){ +_start: +{ +lean_object* v_res_5187_; +v_res_5187_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51(v_msg_5178_, v_declHint_5179_, v___y_5180_, v___y_5181_, v___y_5182_, v___y_5183_, v___y_5184_, v___y_5185_); +lean_dec(v___y_5185_); +lean_dec_ref(v___y_5184_); +lean_dec(v___y_5183_); +lean_dec_ref(v___y_5182_); +lean_dec(v___y_5181_); +lean_dec_ref(v___y_5180_); +return v_res_5187_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg(lean_object* v_ref_5188_, lean_object* v_msg_5189_, lean_object* v___y_5190_, lean_object* v___y_5191_, lean_object* v___y_5192_, lean_object* v___y_5193_, lean_object* v___y_5194_, lean_object* v___y_5195_){ +_start: +{ +lean_object* v_fileName_5197_; lean_object* v_fileMap_5198_; lean_object* v_options_5199_; lean_object* v_currRecDepth_5200_; lean_object* v_maxRecDepth_5201_; lean_object* v_ref_5202_; lean_object* v_currNamespace_5203_; lean_object* v_openDecls_5204_; lean_object* v_initHeartbeats_5205_; lean_object* v_maxHeartbeats_5206_; lean_object* v_quotContext_5207_; lean_object* v_currMacroScope_5208_; uint8_t v_diag_5209_; lean_object* v_cancelTk_x3f_5210_; uint8_t v_suppressElabErrors_5211_; lean_object* v_inheritedTraceOptions_5212_; lean_object* v___x_5214_; uint8_t v_isShared_5215_; uint8_t v_isSharedCheck_5221_; +v_fileName_5197_ = lean_ctor_get(v___y_5194_, 0); +v_fileMap_5198_ = lean_ctor_get(v___y_5194_, 1); +v_options_5199_ = lean_ctor_get(v___y_5194_, 2); +v_currRecDepth_5200_ = lean_ctor_get(v___y_5194_, 3); +v_maxRecDepth_5201_ = lean_ctor_get(v___y_5194_, 4); +v_ref_5202_ = lean_ctor_get(v___y_5194_, 5); +v_currNamespace_5203_ = lean_ctor_get(v___y_5194_, 6); +v_openDecls_5204_ = lean_ctor_get(v___y_5194_, 7); +v_initHeartbeats_5205_ = lean_ctor_get(v___y_5194_, 8); +v_maxHeartbeats_5206_ = lean_ctor_get(v___y_5194_, 9); +v_quotContext_5207_ = lean_ctor_get(v___y_5194_, 10); +v_currMacroScope_5208_ = lean_ctor_get(v___y_5194_, 11); +v_diag_5209_ = lean_ctor_get_uint8(v___y_5194_, sizeof(void*)*14); +v_cancelTk_x3f_5210_ = lean_ctor_get(v___y_5194_, 12); +v_suppressElabErrors_5211_ = lean_ctor_get_uint8(v___y_5194_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_5212_ = lean_ctor_get(v___y_5194_, 13); +v_isSharedCheck_5221_ = !lean_is_exclusive(v___y_5194_); +if (v_isSharedCheck_5221_ == 0) +{ +v___x_5214_ = v___y_5194_; +v_isShared_5215_ = v_isSharedCheck_5221_; goto v_resetjp_5213_; } else { -lean_inc(v_val_5212_); -lean_dec(v___x_5210_); +lean_inc(v_inheritedTraceOptions_5212_); +lean_inc(v_cancelTk_x3f_5210_); +lean_inc(v_currMacroScope_5208_); +lean_inc(v_quotContext_5207_); +lean_inc(v_maxHeartbeats_5206_); +lean_inc(v_initHeartbeats_5205_); +lean_inc(v_openDecls_5204_); +lean_inc(v_currNamespace_5203_); +lean_inc(v_ref_5202_); +lean_inc(v_maxRecDepth_5201_); +lean_inc(v_currRecDepth_5200_); +lean_inc(v_options_5199_); +lean_inc(v_fileMap_5198_); +lean_inc(v_fileName_5197_); +lean_dec(v___y_5194_); v___x_5214_ = lean_box(0); -v_isShared_5215_ = v_isSharedCheck_5219_; +v_isShared_5215_ = v_isSharedCheck_5221_; goto v_resetjp_5213_; } v_resetjp_5213_: { -lean_object* v___x_5217_; +lean_object* v_ref_5216_; lean_object* v___x_5218_; +v_ref_5216_ = l_Lean_replaceRef(v_ref_5188_, v_ref_5202_); +lean_dec(v_ref_5202_); if (v_isShared_5215_ == 0) { -lean_ctor_set_tag(v___x_5214_, 0); -v___x_5217_ = v___x_5214_; -goto v_reusejp_5216_; +lean_ctor_set(v___x_5214_, 5, v_ref_5216_); +v___x_5218_ = v___x_5214_; +goto v_reusejp_5217_; } else { -lean_object* v_reuseFailAlloc_5218_; -v_reuseFailAlloc_5218_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5218_, 0, v_val_5212_); -v___x_5217_ = v_reuseFailAlloc_5218_; -goto v_reusejp_5216_; +lean_object* v_reuseFailAlloc_5220_; +v_reuseFailAlloc_5220_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_5220_, 0, v_fileName_5197_); +lean_ctor_set(v_reuseFailAlloc_5220_, 1, v_fileMap_5198_); +lean_ctor_set(v_reuseFailAlloc_5220_, 2, v_options_5199_); +lean_ctor_set(v_reuseFailAlloc_5220_, 3, v_currRecDepth_5200_); +lean_ctor_set(v_reuseFailAlloc_5220_, 4, v_maxRecDepth_5201_); +lean_ctor_set(v_reuseFailAlloc_5220_, 5, v_ref_5216_); +lean_ctor_set(v_reuseFailAlloc_5220_, 6, v_currNamespace_5203_); +lean_ctor_set(v_reuseFailAlloc_5220_, 7, v_openDecls_5204_); +lean_ctor_set(v_reuseFailAlloc_5220_, 8, v_initHeartbeats_5205_); +lean_ctor_set(v_reuseFailAlloc_5220_, 9, v_maxHeartbeats_5206_); +lean_ctor_set(v_reuseFailAlloc_5220_, 10, v_quotContext_5207_); +lean_ctor_set(v_reuseFailAlloc_5220_, 11, v_currMacroScope_5208_); +lean_ctor_set(v_reuseFailAlloc_5220_, 12, v_cancelTk_x3f_5210_); +lean_ctor_set(v_reuseFailAlloc_5220_, 13, v_inheritedTraceOptions_5212_); +lean_ctor_set_uint8(v_reuseFailAlloc_5220_, sizeof(void*)*14, v_diag_5209_); +lean_ctor_set_uint8(v_reuseFailAlloc_5220_, sizeof(void*)*14 + 1, v_suppressElabErrors_5211_); +v___x_5218_ = v_reuseFailAlloc_5220_; +goto v_reusejp_5217_; } -v_reusejp_5216_: +v_reusejp_5217_: { -return v___x_5217_; +lean_object* v___x_5219_; +v___x_5219_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_5189_, v___y_5192_, v___y_5193_, v___x_5218_, v___y_5195_); +lean_dec_ref(v___x_5218_); +return v___x_5219_; } } } } -} -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17___boxed(lean_object* v_constName_5220_, lean_object* v___y_5221_, lean_object* v___y_5222_, lean_object* v___y_5223_, lean_object* v___y_5224_, lean_object* v___y_5225_, lean_object* v___y_5226_, lean_object* v___y_5227_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg___boxed(lean_object* v_ref_5222_, lean_object* v_msg_5223_, lean_object* v___y_5224_, lean_object* v___y_5225_, lean_object* v___y_5226_, lean_object* v___y_5227_, lean_object* v___y_5228_, lean_object* v___y_5229_, lean_object* v___y_5230_){ _start: { -uint8_t v___y_166268__boxed_5228_; lean_object* v_res_5229_; -v___y_166268__boxed_5228_ = lean_unbox(v___y_5221_); -v_res_5229_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_constName_5220_, v___y_166268__boxed_5228_, v___y_5222_, v___y_5223_, v___y_5224_, v___y_5225_, v___y_5226_); -lean_dec(v___y_5226_); -lean_dec(v___y_5224_); -lean_dec_ref(v___y_5223_); -lean_dec(v___y_5222_); -return v_res_5229_; +lean_object* v_res_5231_; +v_res_5231_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg(v_ref_5222_, v_msg_5223_, v___y_5224_, v___y_5225_, v___y_5226_, v___y_5227_, v___y_5228_, v___y_5229_); +lean_dec(v___y_5229_); +lean_dec(v___y_5227_); +lean_dec_ref(v___y_5226_); +lean_dec(v___y_5225_); +lean_dec_ref(v___y_5224_); +lean_dec(v_ref_5222_); +return v_res_5231_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(lean_object* v___x_5230_, lean_object* v___x_5231_, lean_object* v___f_5232_, uint8_t v___y_5233_, lean_object* v___y_5234_, lean_object* v___y_5235_, lean_object* v___y_5236_, lean_object* v___y_5237_, lean_object* v___y_5238_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg(lean_object* v_ref_5232_, lean_object* v_msg_5233_, lean_object* v_declHint_5234_, lean_object* v___y_5235_, lean_object* v___y_5236_, lean_object* v___y_5237_, lean_object* v___y_5238_, lean_object* v___y_5239_, lean_object* v___y_5240_){ _start: { -lean_object* v___x_5240_; lean_object* v_lctx_5241_; lean_object* v___x_5242_; lean_object* v___x_5243_; uint8_t v___x_5244_; lean_object* v___x_5245_; lean_object* v___x_5246_; uint8_t v___x_5247_; lean_object* v___x_5248_; lean_object* v___x_5249_; lean_object* v___x_5250_; lean_object* v___x_5251_; lean_object* v___x_5252_; lean_object* v___x_5253_; lean_object* v___x_5254_; size_t v___x_5255_; lean_object* v___x_5256_; lean_object* v___x_5257_; lean_object* v___x_5258_; lean_object* v___x_5259_; lean_object* v___x_5260_; -v___x_5240_ = lean_st_ref_get(v___y_5234_); -v_lctx_5241_ = lean_ctor_get(v___x_5240_, 0); -lean_inc_ref(v_lctx_5241_); -lean_dec(v___x_5240_); -v___x_5242_ = lean_box(1); -v___x_5243_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_5244_ = 0; -v___x_5245_ = lean_mk_empty_array_with_capacity(v___x_5230_); -v___x_5246_ = lean_box(0); -v___x_5247_ = 1; -lean_inc(v___x_5230_); -v___x_5248_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_5248_, 0, v___x_5243_); -lean_ctor_set(v___x_5248_, 1, v___x_5242_); -lean_ctor_set(v___x_5248_, 2, v_lctx_5241_); -lean_ctor_set(v___x_5248_, 3, v___x_5245_); -lean_ctor_set(v___x_5248_, 4, v___x_5246_); -lean_ctor_set(v___x_5248_, 5, v___x_5230_); -lean_ctor_set(v___x_5248_, 6, v___x_5246_); -lean_ctor_set_uint8(v___x_5248_, sizeof(void*)*7, v___x_5244_); -lean_ctor_set_uint8(v___x_5248_, sizeof(void*)*7 + 1, v___x_5244_); -lean_ctor_set_uint8(v___x_5248_, sizeof(void*)*7 + 2, v___x_5244_); -lean_ctor_set_uint8(v___x_5248_, sizeof(void*)*7 + 3, v___x_5247_); -v___x_5249_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1); -lean_inc_n(v___x_5230_, 3); -v___x_5250_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_5250_, 0, v___x_5230_); -lean_ctor_set(v___x_5250_, 1, v___x_5230_); -lean_ctor_set(v___x_5250_, 2, v___x_5230_); -lean_ctor_set(v___x_5250_, 3, v___x_5249_); -lean_ctor_set(v___x_5250_, 4, v___x_5249_); -lean_ctor_set(v___x_5250_, 5, v___x_5249_); -lean_ctor_set(v___x_5250_, 6, v___x_5249_); -lean_ctor_set(v___x_5250_, 7, v___x_5249_); -lean_ctor_set(v___x_5250_, 8, v___x_5249_); -v___x_5251_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1); -v___x_5252_ = lean_unsigned_to_nat(32u); -v___x_5253_ = lean_mk_empty_array_with_capacity(v___x_5252_); -v___x_5254_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2); -v___x_5255_ = ((size_t)5ULL); -lean_inc(v___x_5230_); -v___x_5256_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v___x_5256_, 0, v___x_5254_); -lean_ctor_set(v___x_5256_, 1, v___x_5253_); -lean_ctor_set(v___x_5256_, 2, v___x_5230_); -lean_ctor_set(v___x_5256_, 3, v___x_5230_); -lean_ctor_set_usize(v___x_5256_, 4, v___x_5255_); -v___x_5257_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4); -v___x_5258_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_5258_, 0, v___x_5250_); -lean_ctor_set(v___x_5258_, 1, v___x_5251_); -lean_ctor_set(v___x_5258_, 2, v___x_5242_); -lean_ctor_set(v___x_5258_, 3, v___x_5256_); -lean_ctor_set(v___x_5258_, 4, v___x_5257_); -v___x_5259_ = lean_st_mk_ref(v___x_5258_); -lean_inc(v___y_5238_); -lean_inc_ref(v___y_5237_); -lean_inc(v___x_5259_); -v___x_5260_ = lean_infer_type(v___x_5231_, v___x_5248_, v___x_5259_, v___y_5237_, v___y_5238_); -if (lean_obj_tag(v___x_5260_) == 0) -{ -lean_object* v_a_5261_; lean_object* v___x_5262_; lean_object* v___x_5263_; lean_object* v___x_5264_; -v_a_5261_ = lean_ctor_get(v___x_5260_, 0); -lean_inc(v_a_5261_); -lean_dec_ref(v___x_5260_); -v___x_5262_ = lean_st_ref_get(v___x_5259_); -lean_dec(v___x_5259_); -lean_dec(v___x_5262_); -v___x_5263_ = lean_box(v___y_5233_); -v___x_5264_ = lean_apply_8(v___f_5232_, v_a_5261_, v___x_5263_, v___y_5234_, v___y_5235_, v___y_5236_, v___y_5237_, v___y_5238_, lean_box(0)); -return v___x_5264_; -} -else -{ -lean_dec(v___x_5259_); -if (lean_obj_tag(v___x_5260_) == 0) -{ -lean_object* v_a_5265_; lean_object* v___x_5266_; lean_object* v___x_5267_; -v_a_5265_ = lean_ctor_get(v___x_5260_, 0); -lean_inc(v_a_5265_); -lean_dec_ref(v___x_5260_); -v___x_5266_ = lean_box(v___y_5233_); -v___x_5267_ = lean_apply_8(v___f_5232_, v_a_5265_, v___x_5266_, v___y_5234_, v___y_5235_, v___y_5236_, v___y_5237_, v___y_5238_, lean_box(0)); -return v___x_5267_; -} -else -{ -lean_object* v_a_5268_; lean_object* v___x_5270_; uint8_t v_isShared_5271_; uint8_t v_isSharedCheck_5275_; -lean_dec(v___y_5238_); -lean_dec_ref(v___y_5237_); -lean_dec(v___y_5236_); -lean_dec_ref(v___y_5235_); -lean_dec(v___y_5234_); -lean_dec_ref(v___f_5232_); -v_a_5268_ = lean_ctor_get(v___x_5260_, 0); -v_isSharedCheck_5275_ = !lean_is_exclusive(v___x_5260_); -if (v_isSharedCheck_5275_ == 0) -{ -v___x_5270_ = v___x_5260_; -v_isShared_5271_ = v_isSharedCheck_5275_; -goto v_resetjp_5269_; -} -else -{ -lean_inc(v_a_5268_); -lean_dec(v___x_5260_); -v___x_5270_ = lean_box(0); -v_isShared_5271_ = v_isSharedCheck_5275_; -goto v_resetjp_5269_; -} -v_resetjp_5269_: -{ -lean_object* v___x_5273_; -if (v_isShared_5271_ == 0) -{ -v___x_5273_ = v___x_5270_; -goto v_reusejp_5272_; -} -else -{ -lean_object* v_reuseFailAlloc_5274_; -v_reuseFailAlloc_5274_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5274_, 0, v_a_5268_); -v___x_5273_ = v_reuseFailAlloc_5274_; -goto v_reusejp_5272_; -} -v_reusejp_5272_: -{ -return v___x_5273_; +lean_object* v___x_5242_; lean_object* v_a_5243_; lean_object* v___x_5244_; +v___x_5242_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51(v_msg_5233_, v_declHint_5234_, v___y_5235_, v___y_5236_, v___y_5237_, v___y_5238_, v___y_5239_, v___y_5240_); +v_a_5243_ = lean_ctor_get(v___x_5242_, 0); +lean_inc(v_a_5243_); +lean_dec_ref(v___x_5242_); +v___x_5244_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg(v_ref_5232_, v_a_5243_, v___y_5235_, v___y_5236_, v___y_5237_, v___y_5238_, v___y_5239_, v___y_5240_); +return v___x_5244_; } } -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2___boxed(lean_object* v___x_5276_, lean_object* v___x_5277_, lean_object* v___f_5278_, lean_object* v___y_5279_, lean_object* v___y_5280_, lean_object* v___y_5281_, lean_object* v___y_5282_, lean_object* v___y_5283_, lean_object* v___y_5284_, lean_object* v___y_5285_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg___boxed(lean_object* v_ref_5245_, lean_object* v_msg_5246_, lean_object* v_declHint_5247_, lean_object* v___y_5248_, lean_object* v___y_5249_, lean_object* v___y_5250_, lean_object* v___y_5251_, lean_object* v___y_5252_, lean_object* v___y_5253_, lean_object* v___y_5254_){ _start: { -uint8_t v___y_166335__boxed_5286_; lean_object* v_res_5287_; -v___y_166335__boxed_5286_ = lean_unbox(v___y_5279_); -v_res_5287_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(v___x_5276_, v___x_5277_, v___f_5278_, v___y_166335__boxed_5286_, v___y_5280_, v___y_5281_, v___y_5282_, v___y_5283_, v___y_5284_); -return v_res_5287_; +lean_object* v_res_5255_; +v_res_5255_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg(v_ref_5245_, v_msg_5246_, v_declHint_5247_, v___y_5248_, v___y_5249_, v___y_5250_, v___y_5251_, v___y_5252_, v___y_5253_); +lean_dec(v___y_5253_); +lean_dec(v___y_5251_); +lean_dec_ref(v___y_5250_); +lean_dec(v___y_5249_); +lean_dec_ref(v___y_5248_); +lean_dec(v_ref_5245_); +return v_res_5255_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(size_t v_sz_5288_, size_t v_i_5289_, lean_object* v_bs_5290_, lean_object* v___y_5291_, lean_object* v___y_5292_, lean_object* v___y_5293_, lean_object* v___y_5294_, lean_object* v___y_5295_){ +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1(void){ _start: { -uint8_t v___x_5297_; -v___x_5297_ = lean_usize_dec_lt(v_i_5289_, v_sz_5288_); -if (v___x_5297_ == 0) -{ -lean_object* v___x_5298_; -lean_dec(v___y_5295_); -lean_dec_ref(v___y_5294_); -lean_dec(v___y_5293_); -lean_dec_ref(v___y_5292_); -v___x_5298_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5298_, 0, v_bs_5290_); -return v___x_5298_; -} -else -{ -lean_object* v_v_5299_; lean_object* v___x_5300_; lean_object* v___x_5301_; -v_v_5299_ = lean_array_uget(v_bs_5290_, v_i_5289_); -lean_inc(v_v_5299_); -v___x_5300_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_v_5299_); -lean_inc(v___y_5295_); -lean_inc_ref(v___y_5294_); -lean_inc(v___y_5293_); -lean_inc_ref(v___y_5292_); -v___x_5301_ = l_Lean_Compiler_LCNF_inferType(v___x_5300_, v___y_5292_, v___y_5293_, v___y_5294_, v___y_5295_); -if (lean_obj_tag(v___x_5301_) == 0) -{ -lean_object* v_a_5302_; lean_object* v___x_5303_; -v_a_5302_ = lean_ctor_get(v___x_5301_, 0); -lean_inc(v_a_5302_); -lean_dec_ref(v___x_5301_); -lean_inc(v___y_5295_); -lean_inc_ref(v___y_5294_); -v___x_5303_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_a_5302_, v___y_5291_, v___y_5294_, v___y_5295_); -if (lean_obj_tag(v___x_5303_) == 0) -{ -lean_object* v_a_5304_; lean_object* v___x_5305_; lean_object* v_bs_x27_5306_; uint8_t v___x_5307_; lean_object* v___y_5309_; lean_object* v___y_5310_; uint8_t v___x_5336_; -v_a_5304_ = lean_ctor_get(v___x_5303_, 0); -lean_inc(v_a_5304_); -lean_dec_ref(v___x_5303_); -v___x_5305_ = lean_unsigned_to_nat(0u); -v_bs_x27_5306_ = lean_array_uset(v_bs_5290_, v_i_5289_, v___x_5305_); -v___x_5307_ = 0; -v___x_5336_ = lean_unbox(v_a_5304_); -lean_dec(v_a_5304_); -if (v___x_5336_ == 0) -{ -lean_inc(v___y_5293_); -v___y_5309_ = v___y_5291_; -v___y_5310_ = v___y_5293_; -goto v___jp_5308_; -} -else -{ -lean_object* v___x_5337_; lean_object* v_lctx_5338_; lean_object* v_cache_5339_; uint8_t v_shouldCache_5340_; lean_object* v_typeCache_5341_; lean_object* v_isTypeFormerTypeCache_5342_; lean_object* v_seq_5343_; lean_object* v_toAny_5344_; lean_object* v___x_5346_; uint8_t v_isShared_5347_; uint8_t v_isSharedCheck_5354_; -v___x_5337_ = lean_st_ref_take(v___y_5291_); -v_lctx_5338_ = lean_ctor_get(v___x_5337_, 0); -v_cache_5339_ = lean_ctor_get(v___x_5337_, 1); -v_shouldCache_5340_ = lean_ctor_get_uint8(v___x_5337_, sizeof(void*)*6); -v_typeCache_5341_ = lean_ctor_get(v___x_5337_, 2); -v_isTypeFormerTypeCache_5342_ = lean_ctor_get(v___x_5337_, 3); -v_seq_5343_ = lean_ctor_get(v___x_5337_, 4); -v_toAny_5344_ = lean_ctor_get(v___x_5337_, 5); -v_isSharedCheck_5354_ = !lean_is_exclusive(v___x_5337_); -if (v_isSharedCheck_5354_ == 0) -{ -v___x_5346_ = v___x_5337_; -v_isShared_5347_ = v_isSharedCheck_5354_; -goto v_resetjp_5345_; -} -else -{ -lean_inc(v_toAny_5344_); -lean_inc(v_seq_5343_); -lean_inc(v_isTypeFormerTypeCache_5342_); -lean_inc(v_typeCache_5341_); -lean_inc(v_cache_5339_); -lean_inc(v_lctx_5338_); -lean_dec(v___x_5337_); -v___x_5346_ = lean_box(0); -v_isShared_5347_ = v_isSharedCheck_5354_; -goto v_resetjp_5345_; -} -v_resetjp_5345_: -{ -lean_object* v_fvarId_5348_; lean_object* v___x_5349_; lean_object* v___x_5351_; -v_fvarId_5348_ = lean_ctor_get(v_v_5299_, 0); -lean_inc(v_fvarId_5348_); -v___x_5349_ = l_Lean_FVarIdSet_insert(v_toAny_5344_, v_fvarId_5348_); -if (v_isShared_5347_ == 0) -{ -lean_ctor_set(v___x_5346_, 5, v___x_5349_); -v___x_5351_ = v___x_5346_; -goto v_reusejp_5350_; -} -else -{ -lean_object* v_reuseFailAlloc_5353_; -v_reuseFailAlloc_5353_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_5353_, 0, v_lctx_5338_); -lean_ctor_set(v_reuseFailAlloc_5353_, 1, v_cache_5339_); -lean_ctor_set(v_reuseFailAlloc_5353_, 2, v_typeCache_5341_); -lean_ctor_set(v_reuseFailAlloc_5353_, 3, v_isTypeFormerTypeCache_5342_); -lean_ctor_set(v_reuseFailAlloc_5353_, 4, v_seq_5343_); -lean_ctor_set(v_reuseFailAlloc_5353_, 5, v___x_5349_); -lean_ctor_set_uint8(v_reuseFailAlloc_5353_, sizeof(void*)*6, v_shouldCache_5340_); -v___x_5351_ = v_reuseFailAlloc_5353_; -goto v_reusejp_5350_; -} -v_reusejp_5350_: -{ -lean_object* v___x_5352_; -v___x_5352_ = lean_st_ref_set(v___y_5291_, v___x_5351_); -lean_inc(v___y_5293_); -v___y_5309_ = v___y_5291_; -v___y_5310_ = v___y_5293_; -goto v___jp_5308_; +lean_object* v___x_5257_; lean_object* v___x_5258_; +v___x_5257_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__0)); +v___x_5258_ = l_Lean_stringToMessageData(v___x_5257_); +return v___x_5258_; } } -} -v___jp_5308_: +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg(lean_object* v_ref_5259_, lean_object* v_constName_5260_, lean_object* v___y_5261_, lean_object* v___y_5262_, lean_object* v___y_5263_, lean_object* v___y_5264_, lean_object* v___y_5265_, lean_object* v___y_5266_){ +_start: { -lean_object* v_type_5311_; lean_object* v___x_5312_; -v_type_5311_ = lean_ctor_get(v_v_5299_, 2); -v___x_5312_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_5311_, v___y_5309_); -if (lean_obj_tag(v___x_5312_) == 0) -{ -lean_object* v_a_5313_; lean_object* v___x_5314_; -v_a_5313_ = lean_ctor_get(v___x_5312_, 0); -lean_inc(v_a_5313_); -lean_dec_ref(v___x_5312_); -v___x_5314_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp___redArg(v___x_5307_, v_v_5299_, v_a_5313_, v___y_5310_); -lean_dec(v___y_5310_); -if (lean_obj_tag(v___x_5314_) == 0) -{ -lean_object* v_a_5315_; size_t v___x_5316_; size_t v___x_5317_; lean_object* v___x_5318_; -v_a_5315_ = lean_ctor_get(v___x_5314_, 0); -lean_inc(v_a_5315_); -lean_dec_ref(v___x_5314_); -v___x_5316_ = ((size_t)1ULL); -v___x_5317_ = lean_usize_add(v_i_5289_, v___x_5316_); -v___x_5318_ = lean_array_uset(v_bs_x27_5306_, v_i_5289_, v_a_5315_); -v_i_5289_ = v___x_5317_; -v_bs_5290_ = v___x_5318_; -goto _start; -} -else -{ -lean_object* v_a_5320_; lean_object* v___x_5322_; uint8_t v_isShared_5323_; uint8_t v_isSharedCheck_5327_; -lean_dec_ref(v_bs_x27_5306_); -lean_dec(v___y_5295_); -lean_dec_ref(v___y_5294_); -lean_dec(v___y_5293_); -lean_dec_ref(v___y_5292_); -v_a_5320_ = lean_ctor_get(v___x_5314_, 0); -v_isSharedCheck_5327_ = !lean_is_exclusive(v___x_5314_); -if (v_isSharedCheck_5327_ == 0) -{ -v___x_5322_ = v___x_5314_; -v_isShared_5323_ = v_isSharedCheck_5327_; -goto v_resetjp_5321_; -} -else -{ -lean_inc(v_a_5320_); -lean_dec(v___x_5314_); -v___x_5322_ = lean_box(0); -v_isShared_5323_ = v_isSharedCheck_5327_; -goto v_resetjp_5321_; -} -v_resetjp_5321_: -{ -lean_object* v___x_5325_; -if (v_isShared_5323_ == 0) -{ -v___x_5325_ = v___x_5322_; -goto v_reusejp_5324_; -} -else -{ -lean_object* v_reuseFailAlloc_5326_; -v_reuseFailAlloc_5326_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5326_, 0, v_a_5320_); -v___x_5325_ = v_reuseFailAlloc_5326_; -goto v_reusejp_5324_; -} -v_reusejp_5324_: -{ -return v___x_5325_; +lean_object* v___x_5268_; uint8_t v___x_5269_; lean_object* v___x_5270_; lean_object* v___x_5271_; lean_object* v___x_5272_; lean_object* v___x_5273_; lean_object* v___x_5274_; +v___x_5268_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___closed__1); +v___x_5269_ = 0; +lean_inc(v_constName_5260_); +v___x_5270_ = l_Lean_MessageData_ofConstName(v_constName_5260_, v___x_5269_); +v___x_5271_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5271_, 0, v___x_5268_); +lean_ctor_set(v___x_5271_, 1, v___x_5270_); +v___x_5272_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___closed__2); +v___x_5273_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5273_, 0, v___x_5271_); +lean_ctor_set(v___x_5273_, 1, v___x_5272_); +v___x_5274_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg(v_ref_5259_, v___x_5273_, v_constName_5260_, v___y_5261_, v___y_5262_, v___y_5263_, v___y_5264_, v___y_5265_, v___y_5266_); +return v___x_5274_; } } +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg___boxed(lean_object* v_ref_5275_, lean_object* v_constName_5276_, lean_object* v___y_5277_, lean_object* v___y_5278_, lean_object* v___y_5279_, lean_object* v___y_5280_, lean_object* v___y_5281_, lean_object* v___y_5282_, lean_object* v___y_5283_){ +_start: +{ +lean_object* v_res_5284_; +v_res_5284_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg(v_ref_5275_, v_constName_5276_, v___y_5277_, v___y_5278_, v___y_5279_, v___y_5280_, v___y_5281_, v___y_5282_); +lean_dec(v___y_5282_); +lean_dec(v___y_5280_); +lean_dec_ref(v___y_5279_); +lean_dec(v___y_5278_); +lean_dec_ref(v___y_5277_); +lean_dec(v_ref_5275_); +return v_res_5284_; } } -else +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(lean_object* v_constName_5285_, lean_object* v___y_5286_, lean_object* v___y_5287_, lean_object* v___y_5288_, lean_object* v___y_5289_, lean_object* v___y_5290_, lean_object* v___y_5291_){ +_start: { -lean_object* v_a_5328_; lean_object* v___x_5330_; uint8_t v_isShared_5331_; uint8_t v_isSharedCheck_5335_; -lean_dec(v___y_5310_); -lean_dec_ref(v_bs_x27_5306_); -lean_dec(v_v_5299_); -lean_dec(v___y_5295_); -lean_dec_ref(v___y_5294_); -lean_dec(v___y_5293_); -lean_dec_ref(v___y_5292_); -v_a_5328_ = lean_ctor_get(v___x_5312_, 0); -v_isSharedCheck_5335_ = !lean_is_exclusive(v___x_5312_); -if (v_isSharedCheck_5335_ == 0) -{ -v___x_5330_ = v___x_5312_; -v_isShared_5331_ = v_isSharedCheck_5335_; -goto v_resetjp_5329_; +lean_object* v_ref_5293_; lean_object* v___x_5294_; +v_ref_5293_ = lean_ctor_get(v___y_5290_, 5); +lean_inc(v_ref_5293_); +v___x_5294_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg(v_ref_5293_, v_constName_5285_, v___y_5286_, v___y_5287_, v___y_5288_, v___y_5289_, v___y_5290_, v___y_5291_); +lean_dec(v_ref_5293_); +return v___x_5294_; } -else +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg___boxed(lean_object* v_constName_5295_, lean_object* v___y_5296_, lean_object* v___y_5297_, lean_object* v___y_5298_, lean_object* v___y_5299_, lean_object* v___y_5300_, lean_object* v___y_5301_, lean_object* v___y_5302_){ +_start: { -lean_inc(v_a_5328_); +lean_object* v_res_5303_; +v_res_5303_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_5295_, v___y_5296_, v___y_5297_, v___y_5298_, v___y_5299_, v___y_5300_, v___y_5301_); +lean_dec(v___y_5301_); +lean_dec(v___y_5299_); +lean_dec_ref(v___y_5298_); +lean_dec(v___y_5297_); +lean_dec_ref(v___y_5296_); +return v_res_5303_; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(lean_object* v_constName_5304_, lean_object* v___y_5305_, lean_object* v___y_5306_, lean_object* v___y_5307_, lean_object* v___y_5308_, lean_object* v___y_5309_, lean_object* v___y_5310_){ +_start: +{ +lean_object* v___x_5312_; lean_object* v_env_5313_; uint8_t v___x_5314_; lean_object* v___x_5315_; +v___x_5312_ = lean_st_ref_get(v___y_5310_); +v_env_5313_ = lean_ctor_get(v___x_5312_, 0); +lean_inc_ref(v_env_5313_); lean_dec(v___x_5312_); -v___x_5330_ = lean_box(0); -v_isShared_5331_ = v_isSharedCheck_5335_; -goto v_resetjp_5329_; -} -v_resetjp_5329_: +v___x_5314_ = 0; +lean_inc(v_constName_5304_); +v___x_5315_ = l_Lean_Environment_find_x3f(v_env_5313_, v_constName_5304_, v___x_5314_); +if (lean_obj_tag(v___x_5315_) == 0) { -lean_object* v___x_5333_; -if (v_isShared_5331_ == 0) -{ -v___x_5333_ = v___x_5330_; -goto v_reusejp_5332_; +lean_object* v___x_5316_; +v___x_5316_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_5304_, v___y_5305_, v___y_5306_, v___y_5307_, v___y_5308_, v___y_5309_, v___y_5310_); +return v___x_5316_; } else { -lean_object* v_reuseFailAlloc_5334_; -v_reuseFailAlloc_5334_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5334_, 0, v_a_5328_); -v___x_5333_ = v_reuseFailAlloc_5334_; -goto v_reusejp_5332_; -} -v_reusejp_5332_: +lean_object* v_val_5317_; lean_object* v___x_5319_; uint8_t v_isShared_5320_; uint8_t v_isSharedCheck_5324_; +lean_dec_ref(v___y_5309_); +lean_dec(v_constName_5304_); +v_val_5317_ = lean_ctor_get(v___x_5315_, 0); +v_isSharedCheck_5324_ = !lean_is_exclusive(v___x_5315_); +if (v_isSharedCheck_5324_ == 0) { -return v___x_5333_; -} -} -} -} +v___x_5319_ = v___x_5315_; +v_isShared_5320_ = v_isSharedCheck_5324_; +goto v_resetjp_5318_; } else { -lean_object* v_a_5355_; lean_object* v___x_5357_; uint8_t v_isShared_5358_; uint8_t v_isSharedCheck_5362_; -lean_dec(v_v_5299_); -lean_dec(v___y_5295_); -lean_dec_ref(v___y_5294_); -lean_dec(v___y_5293_); -lean_dec_ref(v___y_5292_); -lean_dec_ref(v_bs_5290_); -v_a_5355_ = lean_ctor_get(v___x_5303_, 0); -v_isSharedCheck_5362_ = !lean_is_exclusive(v___x_5303_); -if (v_isSharedCheck_5362_ == 0) +lean_inc(v_val_5317_); +lean_dec(v___x_5315_); +v___x_5319_ = lean_box(0); +v_isShared_5320_ = v_isSharedCheck_5324_; +goto v_resetjp_5318_; +} +v_resetjp_5318_: { -v___x_5357_ = v___x_5303_; -v_isShared_5358_ = v_isSharedCheck_5362_; -goto v_resetjp_5356_; +lean_object* v___x_5322_; +if (v_isShared_5320_ == 0) +{ +lean_ctor_set_tag(v___x_5319_, 0); +v___x_5322_ = v___x_5319_; +goto v_reusejp_5321_; } else { -lean_inc(v_a_5355_); -lean_dec(v___x_5303_); -v___x_5357_ = lean_box(0); -v_isShared_5358_ = v_isSharedCheck_5362_; -goto v_resetjp_5356_; +lean_object* v_reuseFailAlloc_5323_; +v_reuseFailAlloc_5323_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5323_, 0, v_val_5317_); +v___x_5322_ = v_reuseFailAlloc_5323_; +goto v_reusejp_5321_; } -v_resetjp_5356_: +v_reusejp_5321_: { -lean_object* v___x_5360_; -if (v_isShared_5358_ == 0) -{ -v___x_5360_ = v___x_5357_; -goto v_reusejp_5359_; -} -else -{ -lean_object* v_reuseFailAlloc_5361_; -v_reuseFailAlloc_5361_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5361_, 0, v_a_5355_); -v___x_5360_ = v_reuseFailAlloc_5361_; -goto v_reusejp_5359_; -} -v_reusejp_5359_: -{ -return v___x_5360_; -} -} -} -} -else -{ -lean_object* v_a_5363_; lean_object* v___x_5365_; uint8_t v_isShared_5366_; uint8_t v_isSharedCheck_5370_; -lean_dec(v_v_5299_); -lean_dec(v___y_5295_); -lean_dec_ref(v___y_5294_); -lean_dec(v___y_5293_); -lean_dec_ref(v___y_5292_); -lean_dec_ref(v_bs_5290_); -v_a_5363_ = lean_ctor_get(v___x_5301_, 0); -v_isSharedCheck_5370_ = !lean_is_exclusive(v___x_5301_); -if (v_isSharedCheck_5370_ == 0) -{ -v___x_5365_ = v___x_5301_; -v_isShared_5366_ = v_isSharedCheck_5370_; -goto v_resetjp_5364_; -} -else -{ -lean_inc(v_a_5363_); -lean_dec(v___x_5301_); -v___x_5365_ = lean_box(0); -v_isShared_5366_ = v_isSharedCheck_5370_; -goto v_resetjp_5364_; -} -v_resetjp_5364_: -{ -lean_object* v___x_5368_; -if (v_isShared_5366_ == 0) -{ -v___x_5368_ = v___x_5365_; -goto v_reusejp_5367_; -} -else -{ -lean_object* v_reuseFailAlloc_5369_; -v_reuseFailAlloc_5369_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5369_, 0, v_a_5363_); -v___x_5368_ = v_reuseFailAlloc_5369_; -goto v_reusejp_5367_; -} -v_reusejp_5367_: -{ -return v___x_5368_; +return v___x_5322_; } } } } } -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg___boxed(lean_object* v_sz_5371_, lean_object* v_i_5372_, lean_object* v_bs_5373_, lean_object* v___y_5374_, lean_object* v___y_5375_, lean_object* v___y_5376_, lean_object* v___y_5377_, lean_object* v___y_5378_, lean_object* v___y_5379_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17___boxed(lean_object* v_constName_5325_, lean_object* v___y_5326_, lean_object* v___y_5327_, lean_object* v___y_5328_, lean_object* v___y_5329_, lean_object* v___y_5330_, lean_object* v___y_5331_, lean_object* v___y_5332_){ _start: { -size_t v_sz_boxed_5380_; size_t v_i_boxed_5381_; lean_object* v_res_5382_; -v_sz_boxed_5380_ = lean_unbox_usize(v_sz_5371_); -lean_dec(v_sz_5371_); -v_i_boxed_5381_ = lean_unbox_usize(v_i_5372_); -lean_dec(v_i_5372_); -v_res_5382_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_boxed_5380_, v_i_boxed_5381_, v_bs_5373_, v___y_5374_, v___y_5375_, v___y_5376_, v___y_5377_, v___y_5378_); -lean_dec(v___y_5374_); -return v_res_5382_; +lean_object* v_res_5333_; +v_res_5333_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_constName_5325_, v___y_5326_, v___y_5327_, v___y_5328_, v___y_5329_, v___y_5330_, v___y_5331_); +lean_dec(v___y_5331_); +lean_dec(v___y_5329_); +lean_dec_ref(v___y_5328_); +lean_dec(v___y_5327_); +lean_dec_ref(v___y_5326_); +return v_res_5333_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(lean_object* v_a_5383_, lean_object* v_b_5384_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(lean_object* v___x_5334_, lean_object* v___x_5335_, lean_object* v___f_5336_, lean_object* v___y_5337_, lean_object* v___y_5338_, lean_object* v___y_5339_, lean_object* v___y_5340_, lean_object* v___y_5341_, lean_object* v___y_5342_){ _start: { -lean_object* v_array_5385_; lean_object* v_start_5386_; lean_object* v_stop_5387_; lean_object* v___x_5389_; uint8_t v_isShared_5390_; uint8_t v_isSharedCheck_5400_; -v_array_5385_ = lean_ctor_get(v_a_5383_, 0); -v_start_5386_ = lean_ctor_get(v_a_5383_, 1); -v_stop_5387_ = lean_ctor_get(v_a_5383_, 2); -v_isSharedCheck_5400_ = !lean_is_exclusive(v_a_5383_); -if (v_isSharedCheck_5400_ == 0) +lean_object* v___x_5344_; lean_object* v_lctx_5345_; lean_object* v___x_5346_; lean_object* v___x_5347_; uint8_t v___x_5348_; lean_object* v___x_5349_; lean_object* v___x_5350_; uint8_t v___x_5351_; lean_object* v___x_5352_; lean_object* v___x_5353_; lean_object* v___x_5354_; lean_object* v___x_5355_; lean_object* v___x_5356_; lean_object* v___x_5357_; lean_object* v___x_5358_; size_t v___x_5359_; lean_object* v___x_5360_; lean_object* v___x_5361_; lean_object* v___x_5362_; lean_object* v___x_5363_; lean_object* v___x_5364_; +v___x_5344_ = lean_st_ref_get(v___y_5338_); +v_lctx_5345_ = lean_ctor_get(v___x_5344_, 0); +lean_inc_ref(v_lctx_5345_); +lean_dec(v___x_5344_); +v___x_5346_ = lean_box(1); +v___x_5347_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_5348_ = 0; +v___x_5349_ = lean_mk_empty_array_with_capacity(v___x_5334_); +v___x_5350_ = lean_box(0); +v___x_5351_ = 1; +lean_inc(v___x_5334_); +v___x_5352_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5352_, 0, v___x_5347_); +lean_ctor_set(v___x_5352_, 1, v___x_5346_); +lean_ctor_set(v___x_5352_, 2, v_lctx_5345_); +lean_ctor_set(v___x_5352_, 3, v___x_5349_); +lean_ctor_set(v___x_5352_, 4, v___x_5350_); +lean_ctor_set(v___x_5352_, 5, v___x_5334_); +lean_ctor_set(v___x_5352_, 6, v___x_5350_); +lean_ctor_set_uint8(v___x_5352_, sizeof(void*)*7, v___x_5348_); +lean_ctor_set_uint8(v___x_5352_, sizeof(void*)*7 + 1, v___x_5348_); +lean_ctor_set_uint8(v___x_5352_, sizeof(void*)*7 + 2, v___x_5348_); +lean_ctor_set_uint8(v___x_5352_, sizeof(void*)*7 + 3, v___x_5351_); +v___x_5353_ = lean_obj_once(&l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1, &l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1_once, _init_l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go_spec__5___redArg___closed__1); +lean_inc_n(v___x_5334_, 3); +v___x_5354_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_5354_, 0, v___x_5334_); +lean_ctor_set(v___x_5354_, 1, v___x_5334_); +lean_ctor_set(v___x_5354_, 2, v___x_5334_); +lean_ctor_set(v___x_5354_, 3, v___x_5353_); +lean_ctor_set(v___x_5354_, 4, v___x_5353_); +lean_ctor_set(v___x_5354_, 5, v___x_5353_); +lean_ctor_set(v___x_5354_, 6, v___x_5353_); +lean_ctor_set(v___x_5354_, 7, v___x_5353_); +lean_ctor_set(v___x_5354_, 8, v___x_5353_); +v___x_5355_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__1); +v___x_5356_ = lean_unsigned_to_nat(32u); +v___x_5357_ = lean_mk_empty_array_with_capacity(v___x_5356_); +v___x_5358_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__2); +v___x_5359_ = ((size_t)5ULL); +lean_inc(v___x_5334_); +v___x_5360_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v___x_5360_, 0, v___x_5358_); +lean_ctor_set(v___x_5360_, 1, v___x_5357_); +lean_ctor_set(v___x_5360_, 2, v___x_5334_); +lean_ctor_set(v___x_5360_, 3, v___x_5334_); +lean_ctor_set_usize(v___x_5360_, 4, v___x_5359_); +v___x_5361_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__4); +v___x_5362_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_5362_, 0, v___x_5354_); +lean_ctor_set(v___x_5362_, 1, v___x_5355_); +lean_ctor_set(v___x_5362_, 2, v___x_5346_); +lean_ctor_set(v___x_5362_, 3, v___x_5360_); +lean_ctor_set(v___x_5362_, 4, v___x_5361_); +v___x_5363_ = lean_st_mk_ref(v___x_5362_); +lean_inc(v___y_5342_); +lean_inc_ref(v___y_5341_); +lean_inc(v___x_5363_); +v___x_5364_ = lean_infer_type(v___x_5335_, v___x_5352_, v___x_5363_, v___y_5341_, v___y_5342_); +if (lean_obj_tag(v___x_5364_) == 0) { -v___x_5389_ = v_a_5383_; -v_isShared_5390_ = v_isSharedCheck_5400_; -goto v_resetjp_5388_; +lean_object* v_a_5365_; lean_object* v___x_5366_; lean_object* v___x_5367_; +v_a_5365_ = lean_ctor_get(v___x_5364_, 0); +lean_inc(v_a_5365_); +lean_dec_ref(v___x_5364_); +v___x_5366_ = lean_st_ref_get(v___x_5363_); +lean_dec(v___x_5363_); +lean_dec(v___x_5366_); +v___x_5367_ = lean_apply_8(v___f_5336_, v_a_5365_, v___y_5337_, v___y_5338_, v___y_5339_, v___y_5340_, v___y_5341_, v___y_5342_, lean_box(0)); +return v___x_5367_; } else { -lean_inc(v_stop_5387_); -lean_inc(v_start_5386_); -lean_inc(v_array_5385_); -lean_dec(v_a_5383_); -v___x_5389_ = lean_box(0); -v_isShared_5390_ = v_isSharedCheck_5400_; -goto v_resetjp_5388_; -} -v_resetjp_5388_: +lean_dec(v___x_5363_); +if (lean_obj_tag(v___x_5364_) == 0) { -uint8_t v___x_5391_; -v___x_5391_ = lean_nat_dec_lt(v_start_5386_, v_stop_5387_); -if (v___x_5391_ == 0) -{ -lean_del_object(v___x_5389_); -lean_dec(v_stop_5387_); -lean_dec(v_start_5386_); -lean_dec_ref(v_array_5385_); -return v_b_5384_; +lean_object* v_a_5368_; lean_object* v___x_5369_; +v_a_5368_ = lean_ctor_get(v___x_5364_, 0); +lean_inc(v_a_5368_); +lean_dec_ref(v___x_5364_); +v___x_5369_ = lean_apply_8(v___f_5336_, v_a_5368_, v___y_5337_, v___y_5338_, v___y_5339_, v___y_5340_, v___y_5341_, v___y_5342_, lean_box(0)); +return v___x_5369_; } else { -lean_object* v___x_5392_; lean_object* v___x_5393_; lean_object* v___x_5395_; -v___x_5392_ = lean_unsigned_to_nat(1u); -v___x_5393_ = lean_nat_add(v_start_5386_, v___x_5392_); -lean_inc_ref(v_array_5385_); -if (v_isShared_5390_ == 0) +lean_object* v_a_5370_; lean_object* v___x_5372_; uint8_t v_isShared_5373_; uint8_t v_isSharedCheck_5377_; +lean_dec(v___y_5342_); +lean_dec_ref(v___y_5341_); +lean_dec(v___y_5340_); +lean_dec_ref(v___y_5339_); +lean_dec(v___y_5338_); +lean_dec_ref(v___y_5337_); +lean_dec_ref(v___f_5336_); +v_a_5370_ = lean_ctor_get(v___x_5364_, 0); +v_isSharedCheck_5377_ = !lean_is_exclusive(v___x_5364_); +if (v_isSharedCheck_5377_ == 0) { -lean_ctor_set(v___x_5389_, 1, v___x_5393_); -v___x_5395_ = v___x_5389_; -goto v_reusejp_5394_; +v___x_5372_ = v___x_5364_; +v_isShared_5373_ = v_isSharedCheck_5377_; +goto v_resetjp_5371_; } else { -lean_object* v_reuseFailAlloc_5399_; -v_reuseFailAlloc_5399_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_5399_, 0, v_array_5385_); -lean_ctor_set(v_reuseFailAlloc_5399_, 1, v___x_5393_); -lean_ctor_set(v_reuseFailAlloc_5399_, 2, v_stop_5387_); -v___x_5395_ = v_reuseFailAlloc_5399_; -goto v_reusejp_5394_; +lean_inc(v_a_5370_); +lean_dec(v___x_5364_); +v___x_5372_ = lean_box(0); +v_isShared_5373_ = v_isSharedCheck_5377_; +goto v_resetjp_5371_; } -v_reusejp_5394_: +v_resetjp_5371_: { -lean_object* v___x_5396_; lean_object* v___x_5397_; -v___x_5396_ = lean_array_fget(v_array_5385_, v_start_5386_); -lean_dec(v_start_5386_); -lean_dec_ref(v_array_5385_); -v___x_5397_ = lean_array_push(v_b_5384_, v___x_5396_); -v_a_5383_ = v___x_5395_; -v_b_5384_ = v___x_5397_; +lean_object* v___x_5375_; +if (v_isShared_5373_ == 0) +{ +v___x_5375_ = v___x_5372_; +goto v_reusejp_5374_; +} +else +{ +lean_object* v_reuseFailAlloc_5376_; +v_reuseFailAlloc_5376_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5376_, 0, v_a_5370_); +v___x_5375_ = v_reuseFailAlloc_5376_; +goto v_reusejp_5374_; +} +v_reusejp_5374_: +{ +return v___x_5375_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2___boxed(lean_object* v___x_5378_, lean_object* v___x_5379_, lean_object* v___f_5380_, lean_object* v___y_5381_, lean_object* v___y_5382_, lean_object* v___y_5383_, lean_object* v___y_5384_, lean_object* v___y_5385_, lean_object* v___y_5386_, lean_object* v___y_5387_){ +_start: +{ +lean_object* v_res_5388_; +v_res_5388_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2(v___x_5378_, v___x_5379_, v___f_5380_, v___y_5381_, v___y_5382_, v___y_5383_, v___y_5384_, v___y_5385_, v___y_5386_); +return v_res_5388_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(size_t v_sz_5389_, size_t v_i_5390_, lean_object* v_bs_5391_, lean_object* v___y_5392_, lean_object* v___y_5393_, lean_object* v___y_5394_, lean_object* v___y_5395_, lean_object* v___y_5396_){ +_start: +{ +uint8_t v___x_5398_; +v___x_5398_ = lean_usize_dec_lt(v_i_5390_, v_sz_5389_); +if (v___x_5398_ == 0) +{ +lean_object* v___x_5399_; +lean_dec(v___y_5396_); +lean_dec_ref(v___y_5395_); +lean_dec(v___y_5394_); +lean_dec_ref(v___y_5393_); +v___x_5399_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5399_, 0, v_bs_5391_); +return v___x_5399_; +} +else +{ +lean_object* v_v_5400_; lean_object* v___x_5401_; lean_object* v___x_5402_; +v_v_5400_ = lean_array_uget(v_bs_5391_, v_i_5390_); +lean_inc(v_v_5400_); +v___x_5401_ = l_Lean_Compiler_LCNF_Param_toExpr___redArg(v_v_5400_); +lean_inc(v___y_5396_); +lean_inc_ref(v___y_5395_); +lean_inc(v___y_5394_); +lean_inc_ref(v___y_5393_); +v___x_5402_ = l_Lean_Compiler_LCNF_inferType(v___x_5401_, v___y_5393_, v___y_5394_, v___y_5395_, v___y_5396_); +if (lean_obj_tag(v___x_5402_) == 0) +{ +lean_object* v_a_5403_; lean_object* v___x_5404_; +v_a_5403_ = lean_ctor_get(v___x_5402_, 0); +lean_inc(v_a_5403_); +lean_dec_ref(v___x_5402_); +lean_inc(v___y_5396_); +lean_inc_ref(v___y_5395_); +v___x_5404_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_a_5403_, v___y_5392_, v___y_5395_, v___y_5396_); +if (lean_obj_tag(v___x_5404_) == 0) +{ +lean_object* v_a_5405_; lean_object* v___x_5406_; lean_object* v_bs_x27_5407_; uint8_t v___x_5408_; lean_object* v___y_5410_; lean_object* v___y_5411_; uint8_t v___x_5437_; +v_a_5405_ = lean_ctor_get(v___x_5404_, 0); +lean_inc(v_a_5405_); +lean_dec_ref(v___x_5404_); +v___x_5406_ = lean_unsigned_to_nat(0u); +v_bs_x27_5407_ = lean_array_uset(v_bs_5391_, v_i_5390_, v___x_5406_); +v___x_5408_ = 0; +v___x_5437_ = lean_unbox(v_a_5405_); +lean_dec(v_a_5405_); +if (v___x_5437_ == 0) +{ +lean_inc(v___y_5394_); +v___y_5410_ = v___y_5392_; +v___y_5411_ = v___y_5394_; +goto v___jp_5409_; +} +else +{ +lean_object* v___x_5438_; lean_object* v_lctx_5439_; lean_object* v_cache_5440_; uint8_t v_shouldCache_5441_; lean_object* v_typeCache_5442_; lean_object* v_isTypeFormerTypeCache_5443_; lean_object* v_seq_5444_; lean_object* v_toAny_5445_; lean_object* v___x_5447_; uint8_t v_isShared_5448_; uint8_t v_isSharedCheck_5455_; +v___x_5438_ = lean_st_ref_take(v___y_5392_); +v_lctx_5439_ = lean_ctor_get(v___x_5438_, 0); +v_cache_5440_ = lean_ctor_get(v___x_5438_, 1); +v_shouldCache_5441_ = lean_ctor_get_uint8(v___x_5438_, sizeof(void*)*6); +v_typeCache_5442_ = lean_ctor_get(v___x_5438_, 2); +v_isTypeFormerTypeCache_5443_ = lean_ctor_get(v___x_5438_, 3); +v_seq_5444_ = lean_ctor_get(v___x_5438_, 4); +v_toAny_5445_ = lean_ctor_get(v___x_5438_, 5); +v_isSharedCheck_5455_ = !lean_is_exclusive(v___x_5438_); +if (v_isSharedCheck_5455_ == 0) +{ +v___x_5447_ = v___x_5438_; +v_isShared_5448_ = v_isSharedCheck_5455_; +goto v_resetjp_5446_; +} +else +{ +lean_inc(v_toAny_5445_); +lean_inc(v_seq_5444_); +lean_inc(v_isTypeFormerTypeCache_5443_); +lean_inc(v_typeCache_5442_); +lean_inc(v_cache_5440_); +lean_inc(v_lctx_5439_); +lean_dec(v___x_5438_); +v___x_5447_ = lean_box(0); +v_isShared_5448_ = v_isSharedCheck_5455_; +goto v_resetjp_5446_; +} +v_resetjp_5446_: +{ +lean_object* v_fvarId_5449_; lean_object* v___x_5450_; lean_object* v___x_5452_; +v_fvarId_5449_ = lean_ctor_get(v_v_5400_, 0); +lean_inc(v_fvarId_5449_); +v___x_5450_ = l_Lean_FVarIdSet_insert(v_toAny_5445_, v_fvarId_5449_); +if (v_isShared_5448_ == 0) +{ +lean_ctor_set(v___x_5447_, 5, v___x_5450_); +v___x_5452_ = v___x_5447_; +goto v_reusejp_5451_; +} +else +{ +lean_object* v_reuseFailAlloc_5454_; +v_reuseFailAlloc_5454_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_5454_, 0, v_lctx_5439_); +lean_ctor_set(v_reuseFailAlloc_5454_, 1, v_cache_5440_); +lean_ctor_set(v_reuseFailAlloc_5454_, 2, v_typeCache_5442_); +lean_ctor_set(v_reuseFailAlloc_5454_, 3, v_isTypeFormerTypeCache_5443_); +lean_ctor_set(v_reuseFailAlloc_5454_, 4, v_seq_5444_); +lean_ctor_set(v_reuseFailAlloc_5454_, 5, v___x_5450_); +lean_ctor_set_uint8(v_reuseFailAlloc_5454_, sizeof(void*)*6, v_shouldCache_5441_); +v___x_5452_ = v_reuseFailAlloc_5454_; +goto v_reusejp_5451_; +} +v_reusejp_5451_: +{ +lean_object* v___x_5453_; +v___x_5453_ = lean_st_ref_set(v___y_5392_, v___x_5452_); +lean_inc(v___y_5394_); +v___y_5410_ = v___y_5392_; +v___y_5411_ = v___y_5394_; +goto v___jp_5409_; +} +} +} +v___jp_5409_: +{ +lean_object* v_type_5412_; lean_object* v___x_5413_; +v_type_5412_ = lean_ctor_get(v_v_5400_, 2); +v___x_5413_ = l_Lean_Compiler_LCNF_ToLCNF_applyToAny___redArg(v_type_5412_, v___y_5410_); +if (lean_obj_tag(v___x_5413_) == 0) +{ +lean_object* v_a_5414_; lean_object* v___x_5415_; +v_a_5414_ = lean_ctor_get(v___x_5413_, 0); +lean_inc(v_a_5414_); +lean_dec_ref(v___x_5413_); +v___x_5415_ = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp___redArg(v___x_5408_, v_v_5400_, v_a_5414_, v___y_5411_); +lean_dec(v___y_5411_); +if (lean_obj_tag(v___x_5415_) == 0) +{ +lean_object* v_a_5416_; size_t v___x_5417_; size_t v___x_5418_; lean_object* v___x_5419_; +v_a_5416_ = lean_ctor_get(v___x_5415_, 0); +lean_inc(v_a_5416_); +lean_dec_ref(v___x_5415_); +v___x_5417_ = ((size_t)1ULL); +v___x_5418_ = lean_usize_add(v_i_5390_, v___x_5417_); +v___x_5419_ = lean_array_uset(v_bs_x27_5407_, v_i_5390_, v_a_5416_); +v_i_5390_ = v___x_5418_; +v_bs_5391_ = v___x_5419_; goto _start; } -} -} -} -} -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(lean_object* v_msg_5402_, lean_object* v___y_5403_, lean_object* v___y_5404_, lean_object* v___y_5405_, lean_object* v___y_5406_){ -_start: +else { -lean_object* v___f_5408_; lean_object* v___x_156350__overap_5409_; lean_object* v___x_5410_; -v___f_5408_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27___closed__0)); -v___x_156350__overap_5409_ = lean_panic_fn(v___f_5408_, v_msg_5402_); -v___x_5410_ = lean_apply_5(v___x_156350__overap_5409_, v___y_5403_, v___y_5404_, v___y_5405_, v___y_5406_, lean_box(0)); -return v___x_5410_; -} -} -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27___boxed(lean_object* v_msg_5411_, lean_object* v___y_5412_, lean_object* v___y_5413_, lean_object* v___y_5414_, lean_object* v___y_5415_, lean_object* v___y_5416_){ -_start: +lean_object* v_a_5421_; lean_object* v___x_5423_; uint8_t v_isShared_5424_; uint8_t v_isSharedCheck_5428_; +lean_dec_ref(v_bs_x27_5407_); +lean_dec(v___y_5396_); +lean_dec_ref(v___y_5395_); +lean_dec(v___y_5394_); +lean_dec_ref(v___y_5393_); +v_a_5421_ = lean_ctor_get(v___x_5415_, 0); +v_isSharedCheck_5428_ = !lean_is_exclusive(v___x_5415_); +if (v_isSharedCheck_5428_ == 0) { -lean_object* v_res_5417_; -v_res_5417_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(v_msg_5411_, v___y_5412_, v___y_5413_, v___y_5414_, v___y_5415_); -return v_res_5417_; +v___x_5423_ = v___x_5415_; +v_isShared_5424_ = v_isSharedCheck_5428_; +goto v_resetjp_5422_; } -} -LEAN_EXPORT uint8_t l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1(lean_object* v___x_5418_, lean_object* v_x_5419_){ -_start: +else { -uint8_t v___x_5420_; -v___x_5420_ = lean_expr_eqv(v_x_5419_, v___x_5418_); -return v___x_5420_; +lean_inc(v_a_5421_); +lean_dec(v___x_5415_); +v___x_5423_ = lean_box(0); +v_isShared_5424_ = v_isSharedCheck_5428_; +goto v_resetjp_5422_; } -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1___boxed(lean_object* v___x_5421_, lean_object* v_x_5422_){ -_start: +v_resetjp_5422_: { -uint8_t v_res_5423_; lean_object* v_r_5424_; -v_res_5423_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1(v___x_5421_, v_x_5422_); -lean_dec_ref(v_x_5422_); -lean_dec_ref(v___x_5421_); -v_r_5424_ = lean_box(v_res_5423_); -return v_r_5424_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(lean_object* v_b_5425_, lean_object* v_fieldArg_5426_, lean_object* v___y_5427_, lean_object* v___y_5428_, lean_object* v___y_5429_, lean_object* v___y_5430_){ -_start: +lean_object* v___x_5426_; +if (v_isShared_5424_ == 0) +{ +v___x_5426_ = v___x_5423_; +goto v_reusejp_5425_; +} +else +{ +lean_object* v_reuseFailAlloc_5427_; +v_reuseFailAlloc_5427_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5427_, 0, v_a_5421_); +v___x_5426_ = v_reuseFailAlloc_5427_; +goto v_reusejp_5425_; +} +v_reusejp_5425_: +{ +return v___x_5426_; +} +} +} +} +else +{ +lean_object* v_a_5429_; lean_object* v___x_5431_; uint8_t v_isShared_5432_; uint8_t v_isSharedCheck_5436_; +lean_dec(v___y_5411_); +lean_dec_ref(v_bs_x27_5407_); +lean_dec(v_v_5400_); +lean_dec(v___y_5396_); +lean_dec_ref(v___y_5395_); +lean_dec(v___y_5394_); +lean_dec_ref(v___y_5393_); +v_a_5429_ = lean_ctor_get(v___x_5413_, 0); +v_isSharedCheck_5436_ = !lean_is_exclusive(v___x_5413_); +if (v_isSharedCheck_5436_ == 0) +{ +v___x_5431_ = v___x_5413_; +v_isShared_5432_ = v_isSharedCheck_5436_; +goto v_resetjp_5430_; +} +else +{ +lean_inc(v_a_5429_); +lean_dec(v___x_5413_); +v___x_5431_ = lean_box(0); +v_isShared_5432_ = v_isSharedCheck_5436_; +goto v_resetjp_5430_; +} +v_resetjp_5430_: +{ +lean_object* v___x_5434_; +if (v_isShared_5432_ == 0) +{ +v___x_5434_ = v___x_5431_; +goto v_reusejp_5433_; +} +else +{ +lean_object* v_reuseFailAlloc_5435_; +v_reuseFailAlloc_5435_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5435_, 0, v_a_5429_); +v___x_5434_ = v_reuseFailAlloc_5435_; +goto v_reusejp_5433_; +} +v_reusejp_5433_: { -lean_object* v___x_5432_; lean_object* v___x_5433_; lean_object* v___x_5434_; -v___x_5432_ = lean_array_push(v_b_5425_, v_fieldArg_5426_); -v___x_5433_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5433_, 0, v___x_5432_); -v___x_5434_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5434_, 0, v___x_5433_); return v___x_5434_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0___boxed(lean_object* v_b_5435_, lean_object* v_fieldArg_5436_, lean_object* v___y_5437_, lean_object* v___y_5438_, lean_object* v___y_5439_, lean_object* v___y_5440_, lean_object* v___y_5441_){ -_start: -{ -lean_object* v_res_5442_; -v_res_5442_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5435_, v_fieldArg_5436_, v___y_5437_, v___y_5438_, v___y_5439_, v___y_5440_); -lean_dec(v___y_5440_); -lean_dec_ref(v___y_5439_); -lean_dec(v___y_5438_); -lean_dec_ref(v___y_5437_); -return v_res_5442_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(lean_object* v_upperBound_5443_, lean_object* v___x_5444_, lean_object* v_params_5445_, lean_object* v___x_5446_, lean_object* v_args_5447_, lean_object* v_a_5448_, lean_object* v_b_5449_, lean_object* v___y_5450_, lean_object* v___y_5451_, lean_object* v___y_5452_, lean_object* v___y_5453_){ -_start: -{ -uint8_t v___x_5455_; -v___x_5455_ = lean_nat_dec_lt(v_a_5448_, v_upperBound_5443_); -if (v___x_5455_ == 0) -{ -lean_object* v___x_5456_; -lean_dec_ref(v___y_5450_); -lean_dec(v_a_5448_); -v___x_5456_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5456_, 0, v_b_5449_); -return v___x_5456_; } else { -lean_object* v___x_5457_; lean_object* v___y_5459_; lean_object* v___x_5480_; lean_object* v___x_5481_; lean_object* v___x_5482_; lean_object* v___f_5483_; lean_object* v___x_5484_; lean_object* v___x_5485_; -v___x_5457_ = lean_unsigned_to_nat(1u); -v___x_5480_ = l_Lean_instInhabitedExpr; -v___x_5481_ = lean_nat_add(v___x_5444_, v_a_5448_); -v___x_5482_ = lean_array_get_borrowed(v___x_5480_, v_params_5445_, v___x_5481_); -lean_dec(v___x_5481_); -lean_inc(v___x_5482_); -v___f_5483_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1___boxed), 2, 1); -lean_closure_set(v___f_5483_, 0, v___x_5482_); -v___x_5484_ = lean_unsigned_to_nat(0u); -v___x_5485_ = l_Array_findIdx_x3f_loop___redArg(v___f_5483_, v___x_5446_, v___x_5484_); -if (lean_obj_tag(v___x_5485_) == 1) +lean_object* v_a_5456_; lean_object* v___x_5458_; uint8_t v_isShared_5459_; uint8_t v_isSharedCheck_5463_; +lean_dec(v_v_5400_); +lean_dec(v___y_5396_); +lean_dec_ref(v___y_5395_); +lean_dec(v___y_5394_); +lean_dec_ref(v___y_5393_); +lean_dec_ref(v_bs_5391_); +v_a_5456_ = lean_ctor_get(v___x_5404_, 0); +v_isSharedCheck_5463_ = !lean_is_exclusive(v___x_5404_); +if (v_isSharedCheck_5463_ == 0) { -lean_object* v_val_5486_; lean_object* v___x_5487_; lean_object* v___x_5488_; lean_object* v___x_5489_; lean_object* v___x_5490_; -v_val_5486_ = lean_ctor_get(v___x_5485_, 0); -lean_inc(v_val_5486_); -lean_dec_ref(v___x_5485_); -v___x_5487_ = lean_nat_add(v___x_5444_, v___x_5457_); -v___x_5488_ = lean_nat_add(v___x_5487_, v_val_5486_); -lean_dec(v_val_5486_); -lean_dec(v___x_5487_); -v___x_5489_ = lean_array_get_borrowed(v___x_5480_, v_args_5447_, v___x_5488_); -lean_dec(v___x_5488_); -lean_inc(v___x_5489_); -v___x_5490_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5449_, v___x_5489_, v___y_5450_, v___y_5451_, v___y_5452_, v___y_5453_); -v___y_5459_ = v___x_5490_; -goto v___jp_5458_; +v___x_5458_ = v___x_5404_; +v_isShared_5459_ = v_isSharedCheck_5463_; +goto v_resetjp_5457_; } else { -lean_object* v___x_5491_; lean_object* v___x_5492_; -lean_dec(v___x_5485_); -v___x_5491_ = l_Lean_Expr_fvarId_x21(v___x_5482_); -lean_inc_ref(v___y_5450_); -v___x_5492_ = l_Lean_FVarId_getType___redArg(v___x_5491_, v___y_5450_, v___y_5452_, v___y_5453_); -if (lean_obj_tag(v___x_5492_) == 0) +lean_inc(v_a_5456_); +lean_dec(v___x_5404_); +v___x_5458_ = lean_box(0); +v_isShared_5459_ = v_isSharedCheck_5463_; +goto v_resetjp_5457_; +} +v_resetjp_5457_: { -lean_object* v_a_5493_; lean_object* v___x_5494_; lean_object* v___x_5495_; -v_a_5493_ = lean_ctor_get(v___x_5492_, 0); -lean_inc(v_a_5493_); -lean_dec_ref(v___x_5492_); -v___x_5494_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v_a_5493_); -v___x_5495_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5449_, v___x_5494_, v___y_5450_, v___y_5451_, v___y_5452_, v___y_5453_); -v___y_5459_ = v___x_5495_; -goto v___jp_5458_; +lean_object* v___x_5461_; +if (v_isShared_5459_ == 0) +{ +v___x_5461_ = v___x_5458_; +goto v_reusejp_5460_; } else { -lean_object* v_a_5496_; lean_object* v___x_5498_; uint8_t v_isShared_5499_; uint8_t v_isSharedCheck_5503_; -lean_dec_ref(v___y_5450_); -lean_dec_ref(v_b_5449_); -lean_dec(v_a_5448_); -v_a_5496_ = lean_ctor_get(v___x_5492_, 0); -v_isSharedCheck_5503_ = !lean_is_exclusive(v___x_5492_); -if (v_isSharedCheck_5503_ == 0) +lean_object* v_reuseFailAlloc_5462_; +v_reuseFailAlloc_5462_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5462_, 0, v_a_5456_); +v___x_5461_ = v_reuseFailAlloc_5462_; +goto v_reusejp_5460_; +} +v_reusejp_5460_: { -v___x_5498_ = v___x_5492_; -v_isShared_5499_ = v_isSharedCheck_5503_; -goto v_resetjp_5497_; +return v___x_5461_; +} +} +} } else { -lean_inc(v_a_5496_); -lean_dec(v___x_5492_); -v___x_5498_ = lean_box(0); -v_isShared_5499_ = v_isSharedCheck_5503_; -goto v_resetjp_5497_; -} -v_resetjp_5497_: -{ -lean_object* v___x_5501_; -if (v_isShared_5499_ == 0) -{ -v___x_5501_ = v___x_5498_; -goto v_reusejp_5500_; -} -else -{ -lean_object* v_reuseFailAlloc_5502_; -v_reuseFailAlloc_5502_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5502_, 0, v_a_5496_); -v___x_5501_ = v_reuseFailAlloc_5502_; -goto v_reusejp_5500_; -} -v_reusejp_5500_: -{ -return v___x_5501_; -} -} -} -} -v___jp_5458_: -{ -if (lean_obj_tag(v___y_5459_) == 0) -{ -lean_object* v_a_5460_; lean_object* v___x_5462_; uint8_t v_isShared_5463_; uint8_t v_isSharedCheck_5471_; -v_a_5460_ = lean_ctor_get(v___y_5459_, 0); -v_isSharedCheck_5471_ = !lean_is_exclusive(v___y_5459_); +lean_object* v_a_5464_; lean_object* v___x_5466_; uint8_t v_isShared_5467_; uint8_t v_isSharedCheck_5471_; +lean_dec(v_v_5400_); +lean_dec(v___y_5396_); +lean_dec_ref(v___y_5395_); +lean_dec(v___y_5394_); +lean_dec_ref(v___y_5393_); +lean_dec_ref(v_bs_5391_); +v_a_5464_ = lean_ctor_get(v___x_5402_, 0); +v_isSharedCheck_5471_ = !lean_is_exclusive(v___x_5402_); if (v_isSharedCheck_5471_ == 0) { -v___x_5462_ = v___y_5459_; -v_isShared_5463_ = v_isSharedCheck_5471_; -goto v_resetjp_5461_; +v___x_5466_ = v___x_5402_; +v_isShared_5467_ = v_isSharedCheck_5471_; +goto v_resetjp_5465_; } else { -lean_inc(v_a_5460_); -lean_dec(v___y_5459_); -v___x_5462_ = lean_box(0); -v_isShared_5463_ = v_isSharedCheck_5471_; -goto v_resetjp_5461_; -} -v_resetjp_5461_: -{ -if (lean_obj_tag(v_a_5460_) == 0) -{ -lean_object* v_a_5464_; lean_object* v___x_5466_; -lean_dec_ref(v___y_5450_); -lean_dec(v_a_5448_); -v_a_5464_ = lean_ctor_get(v_a_5460_, 0); lean_inc(v_a_5464_); -lean_dec_ref(v_a_5460_); -if (v_isShared_5463_ == 0) +lean_dec(v___x_5402_); +v___x_5466_ = lean_box(0); +v_isShared_5467_ = v_isSharedCheck_5471_; +goto v_resetjp_5465_; +} +v_resetjp_5465_: { -lean_ctor_set(v___x_5462_, 0, v_a_5464_); -v___x_5466_ = v___x_5462_; -goto v_reusejp_5465_; +lean_object* v___x_5469_; +if (v_isShared_5467_ == 0) +{ +v___x_5469_ = v___x_5466_; +goto v_reusejp_5468_; } else { -lean_object* v_reuseFailAlloc_5467_; -v_reuseFailAlloc_5467_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5467_, 0, v_a_5464_); -v___x_5466_ = v_reuseFailAlloc_5467_; -goto v_reusejp_5465_; +lean_object* v_reuseFailAlloc_5470_; +v_reuseFailAlloc_5470_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5470_, 0, v_a_5464_); +v___x_5469_ = v_reuseFailAlloc_5470_; +goto v_reusejp_5468_; } -v_reusejp_5465_: +v_reusejp_5468_: { -return v___x_5466_; +return v___x_5469_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg___boxed(lean_object* v_sz_5472_, lean_object* v_i_5473_, lean_object* v_bs_5474_, lean_object* v___y_5475_, lean_object* v___y_5476_, lean_object* v___y_5477_, lean_object* v___y_5478_, lean_object* v___y_5479_, lean_object* v___y_5480_){ +_start: +{ +size_t v_sz_boxed_5481_; size_t v_i_boxed_5482_; lean_object* v_res_5483_; +v_sz_boxed_5481_ = lean_unbox_usize(v_sz_5472_); +lean_dec(v_sz_5472_); +v_i_boxed_5482_ = lean_unbox_usize(v_i_5473_); +lean_dec(v_i_5473_); +v_res_5483_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_boxed_5481_, v_i_boxed_5482_, v_bs_5474_, v___y_5475_, v___y_5476_, v___y_5477_, v___y_5478_, v___y_5479_); +lean_dec(v___y_5475_); +return v_res_5483_; +} +} +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(lean_object* v_a_5484_, lean_object* v_b_5485_){ +_start: +{ +lean_object* v_array_5486_; lean_object* v_start_5487_; lean_object* v_stop_5488_; lean_object* v___x_5490_; uint8_t v_isShared_5491_; uint8_t v_isSharedCheck_5501_; +v_array_5486_ = lean_ctor_get(v_a_5484_, 0); +v_start_5487_ = lean_ctor_get(v_a_5484_, 1); +v_stop_5488_ = lean_ctor_get(v_a_5484_, 2); +v_isSharedCheck_5501_ = !lean_is_exclusive(v_a_5484_); +if (v_isSharedCheck_5501_ == 0) +{ +v___x_5490_ = v_a_5484_; +v_isShared_5491_ = v_isSharedCheck_5501_; +goto v_resetjp_5489_; +} +else +{ +lean_inc(v_stop_5488_); +lean_inc(v_start_5487_); +lean_inc(v_array_5486_); +lean_dec(v_a_5484_); +v___x_5490_ = lean_box(0); +v_isShared_5491_ = v_isSharedCheck_5501_; +goto v_resetjp_5489_; +} +v_resetjp_5489_: +{ +uint8_t v___x_5492_; +v___x_5492_ = lean_nat_dec_lt(v_start_5487_, v_stop_5488_); +if (v___x_5492_ == 0) +{ +lean_del_object(v___x_5490_); +lean_dec(v_stop_5488_); +lean_dec(v_start_5487_); +lean_dec_ref(v_array_5486_); +return v_b_5485_; +} +else +{ +lean_object* v___x_5493_; lean_object* v___x_5494_; lean_object* v___x_5496_; +v___x_5493_ = lean_unsigned_to_nat(1u); +v___x_5494_ = lean_nat_add(v_start_5487_, v___x_5493_); +lean_inc_ref(v_array_5486_); +if (v_isShared_5491_ == 0) +{ +lean_ctor_set(v___x_5490_, 1, v___x_5494_); +v___x_5496_ = v___x_5490_; +goto v_reusejp_5495_; +} +else +{ +lean_object* v_reuseFailAlloc_5500_; +v_reuseFailAlloc_5500_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_5500_, 0, v_array_5486_); +lean_ctor_set(v_reuseFailAlloc_5500_, 1, v___x_5494_); +lean_ctor_set(v_reuseFailAlloc_5500_, 2, v_stop_5488_); +v___x_5496_ = v_reuseFailAlloc_5500_; +goto v_reusejp_5495_; +} +v_reusejp_5495_: +{ +lean_object* v___x_5497_; lean_object* v___x_5498_; +v___x_5497_ = lean_array_fget(v_array_5486_, v_start_5487_); +lean_dec(v_start_5487_); +lean_dec_ref(v_array_5486_); +v___x_5498_ = lean_array_push(v_b_5485_, v___x_5497_); +v_a_5484_ = v___x_5496_; +v_b_5485_ = v___x_5498_; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(lean_object* v_msg_5503_, lean_object* v___y_5504_, lean_object* v___y_5505_, lean_object* v___y_5506_, lean_object* v___y_5507_){ +_start: +{ +lean_object* v___f_5509_; lean_object* v___x_160934__overap_5510_; lean_object* v___x_5511_; +v___f_5509_ = ((lean_object*)(l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27___closed__0)); +v___x_160934__overap_5510_ = lean_panic_fn(v___f_5509_, v_msg_5503_); +v___x_5511_ = lean_apply_5(v___x_160934__overap_5510_, v___y_5504_, v___y_5505_, v___y_5506_, v___y_5507_, lean_box(0)); +return v___x_5511_; +} +} +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27___boxed(lean_object* v_msg_5512_, lean_object* v___y_5513_, lean_object* v___y_5514_, lean_object* v___y_5515_, lean_object* v___y_5516_, lean_object* v___y_5517_){ +_start: +{ +lean_object* v_res_5518_; +v_res_5518_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(v_msg_5512_, v___y_5513_, v___y_5514_, v___y_5515_, v___y_5516_); +return v_res_5518_; +} +} +LEAN_EXPORT uint8_t l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1(lean_object* v___x_5519_, lean_object* v_x_5520_){ +_start: +{ +uint8_t v___x_5521_; +v___x_5521_ = lean_expr_eqv(v_x_5520_, v___x_5519_); +return v___x_5521_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1___boxed(lean_object* v___x_5522_, lean_object* v_x_5523_){ +_start: +{ +uint8_t v_res_5524_; lean_object* v_r_5525_; +v_res_5524_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1(v___x_5522_, v_x_5523_); +lean_dec_ref(v_x_5523_); +lean_dec_ref(v___x_5522_); +v_r_5525_ = lean_box(v_res_5524_); +return v_r_5525_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(lean_object* v_b_5526_, lean_object* v_fieldArg_5527_, lean_object* v___y_5528_, lean_object* v___y_5529_, lean_object* v___y_5530_, lean_object* v___y_5531_){ +_start: +{ +lean_object* v___x_5533_; lean_object* v___x_5534_; lean_object* v___x_5535_; +v___x_5533_ = lean_array_push(v_b_5526_, v_fieldArg_5527_); +v___x_5534_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5534_, 0, v___x_5533_); +v___x_5535_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5535_, 0, v___x_5534_); +return v___x_5535_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0___boxed(lean_object* v_b_5536_, lean_object* v_fieldArg_5537_, lean_object* v___y_5538_, lean_object* v___y_5539_, lean_object* v___y_5540_, lean_object* v___y_5541_, lean_object* v___y_5542_){ +_start: +{ +lean_object* v_res_5543_; +v_res_5543_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5536_, v_fieldArg_5537_, v___y_5538_, v___y_5539_, v___y_5540_, v___y_5541_); +lean_dec(v___y_5541_); +lean_dec_ref(v___y_5540_); +lean_dec(v___y_5539_); +lean_dec_ref(v___y_5538_); +return v_res_5543_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(lean_object* v_upperBound_5544_, lean_object* v___x_5545_, lean_object* v_params_5546_, lean_object* v___x_5547_, lean_object* v_args_5548_, lean_object* v_a_5549_, lean_object* v_b_5550_, lean_object* v___y_5551_, lean_object* v___y_5552_, lean_object* v___y_5553_, lean_object* v___y_5554_){ +_start: +{ +uint8_t v___x_5556_; +v___x_5556_ = lean_nat_dec_lt(v_a_5549_, v_upperBound_5544_); +if (v___x_5556_ == 0) +{ +lean_object* v___x_5557_; +lean_dec_ref(v___y_5551_); +lean_dec(v_a_5549_); +v___x_5557_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5557_, 0, v_b_5550_); +return v___x_5557_; +} +else +{ +lean_object* v___x_5558_; lean_object* v___y_5560_; lean_object* v___x_5581_; lean_object* v___x_5582_; lean_object* v___x_5583_; lean_object* v___f_5584_; lean_object* v___x_5585_; lean_object* v___x_5586_; +v___x_5558_ = lean_unsigned_to_nat(1u); +v___x_5581_ = l_Lean_instInhabitedExpr; +v___x_5582_ = lean_nat_add(v___x_5545_, v_a_5549_); +v___x_5583_ = lean_array_get_borrowed(v___x_5581_, v_params_5546_, v___x_5582_); +lean_dec(v___x_5582_); +lean_inc(v___x_5583_); +v___f_5584_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__1___boxed), 2, 1); +lean_closure_set(v___f_5584_, 0, v___x_5583_); +v___x_5585_ = lean_unsigned_to_nat(0u); +v___x_5586_ = l_Array_findIdx_x3f_loop___redArg(v___f_5584_, v___x_5547_, v___x_5585_); +if (lean_obj_tag(v___x_5586_) == 1) +{ +lean_object* v_val_5587_; lean_object* v___x_5588_; lean_object* v___x_5589_; lean_object* v___x_5590_; lean_object* v___x_5591_; +v_val_5587_ = lean_ctor_get(v___x_5586_, 0); +lean_inc(v_val_5587_); +lean_dec_ref(v___x_5586_); +v___x_5588_ = lean_nat_add(v___x_5545_, v___x_5558_); +v___x_5589_ = lean_nat_add(v___x_5588_, v_val_5587_); +lean_dec(v_val_5587_); +lean_dec(v___x_5588_); +v___x_5590_ = lean_array_get_borrowed(v___x_5581_, v_args_5548_, v___x_5589_); +lean_dec(v___x_5589_); +lean_inc(v___x_5590_); +v___x_5591_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5550_, v___x_5590_, v___y_5551_, v___y_5552_, v___y_5553_, v___y_5554_); +v___y_5560_ = v___x_5591_; +goto v___jp_5559_; +} +else +{ +lean_object* v___x_5592_; lean_object* v___x_5593_; +lean_dec(v___x_5586_); +v___x_5592_ = l_Lean_Expr_fvarId_x21(v___x_5583_); +lean_inc_ref(v___y_5551_); +v___x_5593_ = l_Lean_FVarId_getType___redArg(v___x_5592_, v___y_5551_, v___y_5553_, v___y_5554_); +if (lean_obj_tag(v___x_5593_) == 0) +{ +lean_object* v_a_5594_; lean_object* v___x_5595_; lean_object* v___x_5596_; +v_a_5594_ = lean_ctor_get(v___x_5593_, 0); +lean_inc(v_a_5594_); +lean_dec_ref(v___x_5593_); +v___x_5595_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v_a_5594_); +v___x_5596_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___lam__0(v_b_5550_, v___x_5595_, v___y_5551_, v___y_5552_, v___y_5553_, v___y_5554_); +v___y_5560_ = v___x_5596_; +goto v___jp_5559_; +} +else +{ +lean_object* v_a_5597_; lean_object* v___x_5599_; uint8_t v_isShared_5600_; uint8_t v_isSharedCheck_5604_; +lean_dec_ref(v___y_5551_); +lean_dec_ref(v_b_5550_); +lean_dec(v_a_5549_); +v_a_5597_ = lean_ctor_get(v___x_5593_, 0); +v_isSharedCheck_5604_ = !lean_is_exclusive(v___x_5593_); +if (v_isSharedCheck_5604_ == 0) +{ +v___x_5599_ = v___x_5593_; +v_isShared_5600_ = v_isSharedCheck_5604_; +goto v_resetjp_5598_; +} +else +{ +lean_inc(v_a_5597_); +lean_dec(v___x_5593_); +v___x_5599_ = lean_box(0); +v_isShared_5600_ = v_isSharedCheck_5604_; +goto v_resetjp_5598_; +} +v_resetjp_5598_: +{ +lean_object* v___x_5602_; +if (v_isShared_5600_ == 0) +{ +v___x_5602_ = v___x_5599_; +goto v_reusejp_5601_; +} +else +{ +lean_object* v_reuseFailAlloc_5603_; +v_reuseFailAlloc_5603_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5603_, 0, v_a_5597_); +v___x_5602_ = v_reuseFailAlloc_5603_; +goto v_reusejp_5601_; +} +v_reusejp_5601_: +{ +return v___x_5602_; +} +} +} +} +v___jp_5559_: +{ +if (lean_obj_tag(v___y_5560_) == 0) +{ +lean_object* v_a_5561_; lean_object* v___x_5563_; uint8_t v_isShared_5564_; uint8_t v_isSharedCheck_5572_; +v_a_5561_ = lean_ctor_get(v___y_5560_, 0); +v_isSharedCheck_5572_ = !lean_is_exclusive(v___y_5560_); +if (v_isSharedCheck_5572_ == 0) +{ +v___x_5563_ = v___y_5560_; +v_isShared_5564_ = v_isSharedCheck_5572_; +goto v_resetjp_5562_; +} +else +{ +lean_inc(v_a_5561_); +lean_dec(v___y_5560_); +v___x_5563_ = lean_box(0); +v_isShared_5564_ = v_isSharedCheck_5572_; +goto v_resetjp_5562_; +} +v_resetjp_5562_: +{ +if (lean_obj_tag(v_a_5561_) == 0) +{ +lean_object* v_a_5565_; lean_object* v___x_5567_; +lean_dec_ref(v___y_5551_); +lean_dec(v_a_5549_); +v_a_5565_ = lean_ctor_get(v_a_5561_, 0); +lean_inc(v_a_5565_); +lean_dec_ref(v_a_5561_); +if (v_isShared_5564_ == 0) +{ +lean_ctor_set(v___x_5563_, 0, v_a_5565_); +v___x_5567_ = v___x_5563_; +goto v_reusejp_5566_; +} +else +{ +lean_object* v_reuseFailAlloc_5568_; +v_reuseFailAlloc_5568_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5568_, 0, v_a_5565_); +v___x_5567_ = v_reuseFailAlloc_5568_; +goto v_reusejp_5566_; +} +v_reusejp_5566_: +{ +return v___x_5567_; } } else { -lean_object* v_a_5468_; lean_object* v___x_5469_; -lean_del_object(v___x_5462_); -v_a_5468_ = lean_ctor_get(v_a_5460_, 0); -lean_inc(v_a_5468_); -lean_dec_ref(v_a_5460_); -v___x_5469_ = lean_nat_add(v_a_5448_, v___x_5457_); -lean_dec(v_a_5448_); -v_a_5448_ = v___x_5469_; -v_b_5449_ = v_a_5468_; +lean_object* v_a_5569_; lean_object* v___x_5570_; +lean_del_object(v___x_5563_); +v_a_5569_ = lean_ctor_get(v_a_5561_, 0); +lean_inc(v_a_5569_); +lean_dec_ref(v_a_5561_); +v___x_5570_ = lean_nat_add(v_a_5549_, v___x_5558_); +lean_dec(v_a_5549_); +v_a_5549_ = v___x_5570_; +v_b_5550_ = v_a_5569_; goto _start; } } } else { -lean_object* v_a_5472_; lean_object* v___x_5474_; uint8_t v_isShared_5475_; uint8_t v_isSharedCheck_5479_; -lean_dec_ref(v___y_5450_); -lean_dec(v_a_5448_); -v_a_5472_ = lean_ctor_get(v___y_5459_, 0); -v_isSharedCheck_5479_ = !lean_is_exclusive(v___y_5459_); -if (v_isSharedCheck_5479_ == 0) +lean_object* v_a_5573_; lean_object* v___x_5575_; uint8_t v_isShared_5576_; uint8_t v_isSharedCheck_5580_; +lean_dec_ref(v___y_5551_); +lean_dec(v_a_5549_); +v_a_5573_ = lean_ctor_get(v___y_5560_, 0); +v_isSharedCheck_5580_ = !lean_is_exclusive(v___y_5560_); +if (v_isSharedCheck_5580_ == 0) { -v___x_5474_ = v___y_5459_; -v_isShared_5475_ = v_isSharedCheck_5479_; -goto v_resetjp_5473_; +v___x_5575_ = v___y_5560_; +v_isShared_5576_ = v_isSharedCheck_5580_; +goto v_resetjp_5574_; } else { -lean_inc(v_a_5472_); -lean_dec(v___y_5459_); -v___x_5474_ = lean_box(0); -v_isShared_5475_ = v_isSharedCheck_5479_; -goto v_resetjp_5473_; +lean_inc(v_a_5573_); +lean_dec(v___y_5560_); +v___x_5575_ = lean_box(0); +v_isShared_5576_ = v_isSharedCheck_5580_; +goto v_resetjp_5574_; } -v_resetjp_5473_: +v_resetjp_5574_: { -lean_object* v___x_5477_; -if (v_isShared_5475_ == 0) +lean_object* v___x_5578_; +if (v_isShared_5576_ == 0) { -v___x_5477_ = v___x_5474_; -goto v_reusejp_5476_; +v___x_5578_ = v___x_5575_; +goto v_reusejp_5577_; } else { -lean_object* v_reuseFailAlloc_5478_; -v_reuseFailAlloc_5478_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5478_, 0, v_a_5472_); -v___x_5477_ = v_reuseFailAlloc_5478_; -goto v_reusejp_5476_; +lean_object* v_reuseFailAlloc_5579_; +v_reuseFailAlloc_5579_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5579_, 0, v_a_5573_); +v___x_5578_ = v_reuseFailAlloc_5579_; +goto v_reusejp_5577_; } -v_reusejp_5476_: +v_reusejp_5577_: { -return v___x_5477_; +return v___x_5578_; } } } @@ -18541,476 +18975,547 @@ return v___x_5477_; } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___boxed(lean_object* v_upperBound_5504_, lean_object* v___x_5505_, lean_object* v_params_5506_, lean_object* v___x_5507_, lean_object* v_args_5508_, lean_object* v_a_5509_, lean_object* v_b_5510_, lean_object* v___y_5511_, lean_object* v___y_5512_, lean_object* v___y_5513_, lean_object* v___y_5514_, lean_object* v___y_5515_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg___boxed(lean_object* v_upperBound_5605_, lean_object* v___x_5606_, lean_object* v_params_5607_, lean_object* v___x_5608_, lean_object* v_args_5609_, lean_object* v_a_5610_, lean_object* v_b_5611_, lean_object* v___y_5612_, lean_object* v___y_5613_, lean_object* v___y_5614_, lean_object* v___y_5615_, lean_object* v___y_5616_){ _start: { -lean_object* v_res_5516_; -v_res_5516_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_upperBound_5504_, v___x_5505_, v_params_5506_, v___x_5507_, v_args_5508_, v_a_5509_, v_b_5510_, v___y_5511_, v___y_5512_, v___y_5513_, v___y_5514_); -lean_dec(v___y_5514_); -lean_dec_ref(v___y_5513_); -lean_dec(v___y_5512_); -lean_dec_ref(v_args_5508_); -lean_dec_ref(v___x_5507_); -lean_dec_ref(v_params_5506_); -lean_dec(v___x_5505_); -lean_dec(v_upperBound_5504_); -return v_res_5516_; +lean_object* v_res_5617_; +v_res_5617_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_upperBound_5605_, v___x_5606_, v_params_5607_, v___x_5608_, v_args_5609_, v_a_5610_, v_b_5611_, v___y_5612_, v___y_5613_, v___y_5614_, v___y_5615_); +lean_dec(v___y_5615_); +lean_dec_ref(v___y_5614_); +lean_dec(v___y_5613_); +lean_dec_ref(v_args_5609_); +lean_dec_ref(v___x_5608_); +lean_dec_ref(v_params_5607_); +lean_dec(v___x_5606_); +lean_dec(v_upperBound_5605_); +return v_res_5617_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3(void){ _start: { -lean_object* v___x_5520_; lean_object* v___x_5521_; lean_object* v___x_5522_; lean_object* v___x_5523_; lean_object* v___x_5524_; lean_object* v___x_5525_; -v___x_5520_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__2)); -v___x_5521_ = lean_unsigned_to_nat(12u); -v___x_5522_ = lean_unsigned_to_nat(597u); -v___x_5523_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); -v___x_5524_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_5525_ = l_mkPanicMessageWithDecl(v___x_5524_, v___x_5523_, v___x_5522_, v___x_5521_, v___x_5520_); -return v___x_5525_; +lean_object* v___x_5621_; lean_object* v___x_5622_; lean_object* v___x_5623_; lean_object* v___x_5624_; lean_object* v___x_5625_; lean_object* v___x_5626_; +v___x_5621_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__2)); +v___x_5622_ = lean_unsigned_to_nat(12u); +v___x_5623_ = lean_unsigned_to_nat(622u); +v___x_5624_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); +v___x_5625_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_5626_ = l_mkPanicMessageWithDecl(v___x_5625_, v___x_5624_, v___x_5623_, v___x_5622_, v___x_5621_); +return v___x_5626_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0(lean_object* v_indName_5526_, lean_object* v_numFields_5527_, lean_object* v___x_5528_, lean_object* v_numParams_5529_, lean_object* v_args_5530_, lean_object* v_params_5531_, lean_object* v_indApp_5532_, lean_object* v___y_5533_, lean_object* v___y_5534_, lean_object* v___y_5535_, lean_object* v___y_5536_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0(lean_object* v_indName_5627_, lean_object* v_numFields_5628_, lean_object* v___x_5629_, lean_object* v_numParams_5630_, lean_object* v_args_5631_, lean_object* v_params_5632_, lean_object* v_indApp_5633_, lean_object* v___y_5634_, lean_object* v___y_5635_, lean_object* v___y_5636_, lean_object* v___y_5637_){ _start: { -lean_object* v___x_5538_; lean_object* v_fst_5539_; lean_object* v_snd_5540_; lean_object* v_lower_5542_; lean_object* v_upper_5543_; uint8_t v___x_5549_; -v___x_5538_ = l_Lean_Expr_getAppFnArgs(v_indApp_5532_); -v_fst_5539_ = lean_ctor_get(v___x_5538_, 0); -lean_inc(v_fst_5539_); -v_snd_5540_ = lean_ctor_get(v___x_5538_, 1); -lean_inc(v_snd_5540_); -lean_dec_ref(v___x_5538_); -v___x_5549_ = lean_name_eq(v_fst_5539_, v_indName_5526_); -lean_dec(v_fst_5539_); -if (v___x_5549_ == 0) +lean_object* v___x_5639_; lean_object* v_fst_5640_; lean_object* v_snd_5641_; lean_object* v_lower_5643_; lean_object* v_upper_5644_; uint8_t v___x_5650_; +v___x_5639_ = l_Lean_Expr_getAppFnArgs(v_indApp_5633_); +v_fst_5640_ = lean_ctor_get(v___x_5639_, 0); +lean_inc(v_fst_5640_); +v_snd_5641_ = lean_ctor_get(v___x_5639_, 1); +lean_inc(v_snd_5641_); +lean_dec_ref(v___x_5639_); +v___x_5650_ = lean_name_eq(v_fst_5640_, v_indName_5627_); +lean_dec(v_fst_5640_); +if (v___x_5650_ == 0) { -lean_object* v___x_5550_; lean_object* v___x_5551_; -lean_dec(v_snd_5540_); -lean_dec(v_numParams_5529_); -lean_dec(v___x_5528_); -v___x_5550_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3); -v___x_5551_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(v___x_5550_, v___y_5533_, v___y_5534_, v___y_5535_, v___y_5536_); -return v___x_5551_; +lean_object* v___x_5651_; lean_object* v___x_5652_; +lean_dec(v_snd_5641_); +lean_dec(v_numParams_5630_); +lean_dec(v___x_5629_); +v___x_5651_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__3); +v___x_5652_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__27(v___x_5651_, v___y_5634_, v___y_5635_, v___y_5636_, v___y_5637_); +return v___x_5652_; } else { -lean_object* v___x_5552_; uint8_t v___x_5553_; -v___x_5552_ = lean_array_get_size(v_snd_5540_); -v___x_5553_ = lean_nat_dec_le(v_numParams_5529_, v___x_5528_); -if (v___x_5553_ == 0) +lean_object* v___x_5653_; uint8_t v___x_5654_; +v___x_5653_ = lean_array_get_size(v_snd_5641_); +v___x_5654_ = lean_nat_dec_le(v_numParams_5630_, v___x_5629_); +if (v___x_5654_ == 0) { -lean_inc(v_numParams_5529_); -v_lower_5542_ = v_numParams_5529_; -v_upper_5543_ = v___x_5552_; -goto v___jp_5541_; +lean_inc(v_numParams_5630_); +v_lower_5643_ = v_numParams_5630_; +v_upper_5644_ = v___x_5653_; +goto v___jp_5642_; } else { -lean_inc(v___x_5528_); -v_lower_5542_ = v___x_5528_; -v_upper_5543_ = v___x_5552_; -goto v___jp_5541_; +lean_inc(v___x_5629_); +v_lower_5643_ = v___x_5629_; +v_upper_5644_ = v___x_5653_; +goto v___jp_5642_; } } -v___jp_5541_: +v___jp_5642_: { -lean_object* v___x_5544_; lean_object* v___x_5545_; lean_object* v___x_5546_; lean_object* v___x_5547_; lean_object* v___x_5548_; -v___x_5544_ = lean_mk_empty_array_with_capacity(v_numFields_5527_); -v___x_5545_ = l_Array_toSubarray___redArg(v_snd_5540_, v_lower_5542_, v_upper_5543_); -v___x_5546_ = lean_mk_empty_array_with_capacity(v___x_5528_); -v___x_5547_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(v___x_5545_, v___x_5546_); -v___x_5548_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_numFields_5527_, v_numParams_5529_, v_params_5531_, v___x_5547_, v_args_5530_, v___x_5528_, v___x_5544_, v___y_5533_, v___y_5534_, v___y_5535_, v___y_5536_); -lean_dec(v___y_5536_); -lean_dec_ref(v___y_5535_); -lean_dec(v___y_5534_); -lean_dec_ref(v___x_5547_); -lean_dec(v_numParams_5529_); -return v___x_5548_; +lean_object* v___x_5645_; lean_object* v___x_5646_; lean_object* v___x_5647_; lean_object* v___x_5648_; lean_object* v___x_5649_; +v___x_5645_ = lean_mk_empty_array_with_capacity(v_numFields_5628_); +v___x_5646_ = l_Array_toSubarray___redArg(v_snd_5641_, v_lower_5643_, v_upper_5644_); +v___x_5647_ = lean_mk_empty_array_with_capacity(v___x_5629_); +v___x_5648_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(v___x_5646_, v___x_5647_); +v___x_5649_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_numFields_5628_, v_numParams_5630_, v_params_5632_, v___x_5648_, v_args_5631_, v___x_5629_, v___x_5645_, v___y_5634_, v___y_5635_, v___y_5636_, v___y_5637_); +lean_dec(v___y_5637_); +lean_dec_ref(v___y_5636_); +lean_dec(v___y_5635_); +lean_dec_ref(v___x_5648_); +lean_dec(v_numParams_5630_); +return v___x_5649_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___boxed(lean_object* v_indName_5554_, lean_object* v_numFields_5555_, lean_object* v___x_5556_, lean_object* v_numParams_5557_, lean_object* v_args_5558_, lean_object* v_params_5559_, lean_object* v_indApp_5560_, lean_object* v___y_5561_, lean_object* v___y_5562_, lean_object* v___y_5563_, lean_object* v___y_5564_, lean_object* v___y_5565_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___boxed(lean_object* v_indName_5655_, lean_object* v_numFields_5656_, lean_object* v___x_5657_, lean_object* v_numParams_5658_, lean_object* v_args_5659_, lean_object* v_params_5660_, lean_object* v_indApp_5661_, lean_object* v___y_5662_, lean_object* v___y_5663_, lean_object* v___y_5664_, lean_object* v___y_5665_, lean_object* v___y_5666_){ _start: { -lean_object* v_res_5566_; -v_res_5566_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0(v_indName_5554_, v_numFields_5555_, v___x_5556_, v_numParams_5557_, v_args_5558_, v_params_5559_, v_indApp_5560_, v___y_5561_, v___y_5562_, v___y_5563_, v___y_5564_); -lean_dec_ref(v_params_5559_); -lean_dec_ref(v_args_5558_); -lean_dec(v_numFields_5555_); -lean_dec(v_indName_5554_); -return v_res_5566_; +lean_object* v_res_5667_; +v_res_5667_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0(v_indName_5655_, v_numFields_5656_, v___x_5657_, v_numParams_5658_, v_args_5659_, v_params_5660_, v_indApp_5661_, v___y_5662_, v___y_5663_, v___y_5664_, v___y_5665_); +lean_dec_ref(v_params_5660_); +lean_dec_ref(v_args_5659_); +lean_dec(v_numFields_5656_); +lean_dec(v_indName_5655_); +return v_res_5667_; } } -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(lean_object* v_declName_5567_, lean_object* v___y_5568_){ +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(lean_object* v_declName_5668_, lean_object* v___y_5669_){ _start: { -lean_object* v___x_5570_; lean_object* v_env_5571_; lean_object* v___x_5572_; lean_object* v___x_5573_; -v___x_5570_ = lean_st_ref_get(v___y_5568_); -v_env_5571_ = lean_ctor_get(v___x_5570_, 0); -lean_inc_ref(v_env_5571_); -lean_dec(v___x_5570_); -v___x_5572_ = l_Lean_Environment_getProjectionFnInfo_x3f(v_env_5571_, v_declName_5567_); -v___x_5573_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5573_, 0, v___x_5572_); -return v___x_5573_; +lean_object* v___x_5671_; lean_object* v_env_5672_; lean_object* v___x_5673_; lean_object* v___x_5674_; +v___x_5671_ = lean_st_ref_get(v___y_5669_); +v_env_5672_ = lean_ctor_get(v___x_5671_, 0); +lean_inc_ref(v_env_5672_); +lean_dec(v___x_5671_); +v___x_5673_ = l_Lean_Environment_getProjectionFnInfo_x3f(v_env_5672_, v_declName_5668_); +v___x_5674_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5674_, 0, v___x_5673_); +return v___x_5674_; } } -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg___boxed(lean_object* v_declName_5574_, lean_object* v___y_5575_, lean_object* v___y_5576_){ +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg___boxed(lean_object* v_declName_5675_, lean_object* v___y_5676_, lean_object* v___y_5677_){ _start: { -lean_object* v_res_5577_; -v_res_5577_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_5574_, v___y_5575_); -lean_dec(v___y_5575_); -return v_res_5577_; +lean_object* v_res_5678_; +v_res_5678_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_5675_, v___y_5676_); +lean_dec(v___y_5676_); +return v_res_5678_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43___redArg(lean_object* v_x_5578_, lean_object* v_x_5579_, lean_object* v_x_5580_, lean_object* v_x_5581_){ +LEAN_EXPORT uint8_t l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(lean_object* v_x_5679_, lean_object* v_x_5680_){ _start: { -lean_object* v_ks_5582_; lean_object* v_vs_5583_; lean_object* v___x_5585_; uint8_t v_isShared_5586_; uint8_t v_isSharedCheck_5607_; -v_ks_5582_ = lean_ctor_get(v_x_5578_, 0); -v_vs_5583_ = lean_ctor_get(v_x_5578_, 1); -v_isSharedCheck_5607_ = !lean_is_exclusive(v_x_5578_); -if (v_isSharedCheck_5607_ == 0) +if (lean_obj_tag(v_x_5679_) == 0) { -v___x_5585_ = v_x_5578_; -v_isShared_5586_ = v_isSharedCheck_5607_; -goto v_resetjp_5584_; +if (lean_obj_tag(v_x_5680_) == 0) +{ +uint8_t v___x_5681_; +v___x_5681_ = 1; +return v___x_5681_; } else { -lean_inc(v_vs_5583_); -lean_inc(v_ks_5582_); -lean_dec(v_x_5578_); -v___x_5585_ = lean_box(0); -v_isShared_5586_ = v_isSharedCheck_5607_; -goto v_resetjp_5584_; -} -v_resetjp_5584_: -{ -lean_object* v___x_5587_; uint8_t v___x_5588_; -v___x_5587_ = lean_array_get_size(v_ks_5582_); -v___x_5588_ = lean_nat_dec_lt(v_x_5579_, v___x_5587_); -if (v___x_5588_ == 0) -{ -lean_object* v___x_5589_; lean_object* v___x_5590_; lean_object* v___x_5592_; -lean_dec(v_x_5579_); -v___x_5589_ = lean_array_push(v_ks_5582_, v_x_5580_); -v___x_5590_ = lean_array_push(v_vs_5583_, v_x_5581_); -if (v_isShared_5586_ == 0) -{ -lean_ctor_set(v___x_5585_, 1, v___x_5590_); -lean_ctor_set(v___x_5585_, 0, v___x_5589_); -v___x_5592_ = v___x_5585_; -goto v_reusejp_5591_; -} -else -{ -lean_object* v_reuseFailAlloc_5593_; -v_reuseFailAlloc_5593_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5593_, 0, v___x_5589_); -lean_ctor_set(v_reuseFailAlloc_5593_, 1, v___x_5590_); -v___x_5592_ = v_reuseFailAlloc_5593_; -goto v_reusejp_5591_; -} -v_reusejp_5591_: -{ -return v___x_5592_; +uint8_t v___x_5682_; +v___x_5682_ = 0; +return v___x_5682_; } } else { -lean_object* v_k_x27_5594_; uint8_t v___x_5595_; -v_k_x27_5594_ = lean_array_fget_borrowed(v_ks_5582_, v_x_5579_); -v___x_5595_ = lean_expr_eqv(v_x_5580_, v_k_x27_5594_); -if (v___x_5595_ == 0) +if (lean_obj_tag(v_x_5680_) == 0) { -lean_object* v___x_5597_; -if (v_isShared_5586_ == 0) -{ -v___x_5597_ = v___x_5585_; -goto v_reusejp_5596_; +uint8_t v___x_5683_; +v___x_5683_ = 0; +return v___x_5683_; } else { -lean_object* v_reuseFailAlloc_5601_; -v_reuseFailAlloc_5601_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5601_, 0, v_ks_5582_); -lean_ctor_set(v_reuseFailAlloc_5601_, 1, v_vs_5583_); -v___x_5597_ = v_reuseFailAlloc_5601_; -goto v_reusejp_5596_; +lean_object* v_val_5684_; lean_object* v_val_5685_; uint8_t v___x_5686_; +v_val_5684_ = lean_ctor_get(v_x_5679_, 0); +v_val_5685_ = lean_ctor_get(v_x_5680_, 0); +v___x_5686_ = lean_expr_eqv(v_val_5684_, v_val_5685_); +return v___x_5686_; } -v_reusejp_5596_: +} +} +} +LEAN_EXPORT lean_object* l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___boxed(lean_object* v_x_5687_, lean_object* v_x_5688_){ +_start: { -lean_object* v___x_5598_; lean_object* v___x_5599_; -v___x_5598_ = lean_unsigned_to_nat(1u); -v___x_5599_ = lean_nat_add(v_x_5579_, v___x_5598_); -lean_dec(v_x_5579_); -v_x_5578_ = v___x_5597_; -v_x_5579_ = v___x_5599_; +uint8_t v_res_5689_; lean_object* v_r_5690_; +v_res_5689_ = l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(v_x_5687_, v_x_5688_); +lean_dec(v_x_5688_); +lean_dec(v_x_5687_); +v_r_5690_ = lean_box(v_res_5689_); +return v_r_5690_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44___redArg(lean_object* v_x_5691_, lean_object* v_x_5692_, lean_object* v_x_5693_, lean_object* v_x_5694_){ +_start: +{ +lean_object* v_ks_5695_; lean_object* v_vs_5696_; lean_object* v___x_5698_; uint8_t v_isShared_5699_; uint8_t v_isSharedCheck_5725_; +v_ks_5695_ = lean_ctor_get(v_x_5691_, 0); +v_vs_5696_ = lean_ctor_get(v_x_5691_, 1); +v_isSharedCheck_5725_ = !lean_is_exclusive(v_x_5691_); +if (v_isSharedCheck_5725_ == 0) +{ +v___x_5698_ = v_x_5691_; +v_isShared_5699_ = v_isSharedCheck_5725_; +goto v_resetjp_5697_; +} +else +{ +lean_inc(v_vs_5696_); +lean_inc(v_ks_5695_); +lean_dec(v_x_5691_); +v___x_5698_ = lean_box(0); +v_isShared_5699_ = v_isSharedCheck_5725_; +goto v_resetjp_5697_; +} +v_resetjp_5697_: +{ +uint8_t v___y_5701_; lean_object* v___x_5713_; uint8_t v___x_5714_; +v___x_5713_ = lean_array_get_size(v_ks_5695_); +v___x_5714_ = lean_nat_dec_lt(v_x_5692_, v___x_5713_); +if (v___x_5714_ == 0) +{ +lean_object* v___x_5715_; lean_object* v___x_5716_; lean_object* v___x_5717_; +lean_del_object(v___x_5698_); +lean_dec(v_x_5692_); +v___x_5715_ = lean_array_push(v_ks_5695_, v_x_5693_); +v___x_5716_ = lean_array_push(v_vs_5696_, v_x_5694_); +v___x_5717_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_5717_, 0, v___x_5715_); +lean_ctor_set(v___x_5717_, 1, v___x_5716_); +return v___x_5717_; +} +else +{ +lean_object* v_fst_5718_; lean_object* v_snd_5719_; lean_object* v_k_x27_5720_; lean_object* v_fst_5721_; lean_object* v_snd_5722_; uint8_t v___x_5723_; +v_fst_5718_ = lean_ctor_get(v_x_5693_, 0); +v_snd_5719_ = lean_ctor_get(v_x_5693_, 1); +v_k_x27_5720_ = lean_array_fget_borrowed(v_ks_5695_, v_x_5692_); +v_fst_5721_ = lean_ctor_get(v_k_x27_5720_, 0); +v_snd_5722_ = lean_ctor_get(v_k_x27_5720_, 1); +v___x_5723_ = lean_expr_eqv(v_fst_5718_, v_fst_5721_); +if (v___x_5723_ == 0) +{ +v___y_5701_ = v___x_5723_; +goto v___jp_5700_; +} +else +{ +uint8_t v___x_5724_; +v___x_5724_ = l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(v_snd_5719_, v_snd_5722_); +v___y_5701_ = v___x_5724_; +goto v___jp_5700_; +} +} +v___jp_5700_: +{ +if (v___y_5701_ == 0) +{ +lean_object* v___x_5703_; +if (v_isShared_5699_ == 0) +{ +v___x_5703_ = v___x_5698_; +goto v_reusejp_5702_; +} +else +{ +lean_object* v_reuseFailAlloc_5707_; +v_reuseFailAlloc_5707_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5707_, 0, v_ks_5695_); +lean_ctor_set(v_reuseFailAlloc_5707_, 1, v_vs_5696_); +v___x_5703_ = v_reuseFailAlloc_5707_; +goto v_reusejp_5702_; +} +v_reusejp_5702_: +{ +lean_object* v___x_5704_; lean_object* v___x_5705_; +v___x_5704_ = lean_unsigned_to_nat(1u); +v___x_5705_ = lean_nat_add(v_x_5692_, v___x_5704_); +lean_dec(v_x_5692_); +v_x_5691_ = v___x_5703_; +v_x_5692_ = v___x_5705_; goto _start; } } else { -lean_object* v___x_5602_; lean_object* v___x_5603_; lean_object* v___x_5605_; -v___x_5602_ = lean_array_fset(v_ks_5582_, v_x_5579_, v_x_5580_); -v___x_5603_ = lean_array_fset(v_vs_5583_, v_x_5579_, v_x_5581_); -lean_dec(v_x_5579_); -if (v_isShared_5586_ == 0) +lean_object* v___x_5708_; lean_object* v___x_5709_; lean_object* v___x_5711_; +v___x_5708_ = lean_array_fset(v_ks_5695_, v_x_5692_, v_x_5693_); +v___x_5709_ = lean_array_fset(v_vs_5696_, v_x_5692_, v_x_5694_); +lean_dec(v_x_5692_); +if (v_isShared_5699_ == 0) { -lean_ctor_set(v___x_5585_, 1, v___x_5603_); -lean_ctor_set(v___x_5585_, 0, v___x_5602_); -v___x_5605_ = v___x_5585_; -goto v_reusejp_5604_; +lean_ctor_set(v___x_5698_, 1, v___x_5709_); +lean_ctor_set(v___x_5698_, 0, v___x_5708_); +v___x_5711_ = v___x_5698_; +goto v_reusejp_5710_; } else { -lean_object* v_reuseFailAlloc_5606_; -v_reuseFailAlloc_5606_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5606_, 0, v___x_5602_); -lean_ctor_set(v_reuseFailAlloc_5606_, 1, v___x_5603_); -v___x_5605_ = v_reuseFailAlloc_5606_; -goto v_reusejp_5604_; +lean_object* v_reuseFailAlloc_5712_; +v_reuseFailAlloc_5712_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5712_, 0, v___x_5708_); +lean_ctor_set(v_reuseFailAlloc_5712_, 1, v___x_5709_); +v___x_5711_ = v_reuseFailAlloc_5712_; +goto v_reusejp_5710_; } -v_reusejp_5604_: +v_reusejp_5710_: { -return v___x_5605_; +return v___x_5711_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___redArg(lean_object* v_n_5608_, lean_object* v_k_5609_, lean_object* v_v_5610_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(lean_object* v_n_5726_, lean_object* v_k_5727_, lean_object* v_v_5728_){ _start: { -lean_object* v___x_5611_; lean_object* v___x_5612_; -v___x_5611_ = lean_unsigned_to_nat(0u); -v___x_5612_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43___redArg(v_n_5608_, v___x_5611_, v_k_5609_, v_v_5610_); -return v___x_5612_; +lean_object* v___x_5729_; lean_object* v___x_5730_; +v___x_5729_ = lean_unsigned_to_nat(0u); +v___x_5730_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44___redArg(v_n_5726_, v___x_5729_, v_k_5727_, v_v_5728_); +return v___x_5730_; } } static size_t _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0(void){ _start: { -size_t v___x_5613_; size_t v___x_5614_; size_t v___x_5615_; -v___x_5613_ = ((size_t)5ULL); -v___x_5614_ = ((size_t)1ULL); -v___x_5615_ = lean_usize_shift_left(v___x_5614_, v___x_5613_); -return v___x_5615_; +size_t v___x_5731_; size_t v___x_5732_; size_t v___x_5733_; +v___x_5731_ = ((size_t)5ULL); +v___x_5732_ = ((size_t)1ULL); +v___x_5733_ = lean_usize_shift_left(v___x_5732_, v___x_5731_); +return v___x_5733_; } } static size_t _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1(void){ _start: { -size_t v___x_5616_; size_t v___x_5617_; size_t v___x_5618_; -v___x_5616_ = ((size_t)1ULL); -v___x_5617_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0); -v___x_5618_ = lean_usize_sub(v___x_5617_, v___x_5616_); -return v___x_5618_; +size_t v___x_5734_; size_t v___x_5735_; size_t v___x_5736_; +v___x_5734_ = ((size_t)1ULL); +v___x_5735_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__0); +v___x_5736_ = lean_usize_sub(v___x_5735_, v___x_5734_); +return v___x_5736_; } } static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2(void){ _start: { -lean_object* v___x_5619_; -v___x_5619_ = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); -return v___x_5619_; +lean_object* v___x_5737_; +v___x_5737_ = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); +return v___x_5737_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(lean_object* v_x_5620_, size_t v_x_5621_, size_t v_x_5622_, lean_object* v_x_5623_, lean_object* v_x_5624_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(lean_object* v_x_5738_, size_t v_x_5739_, size_t v_x_5740_, lean_object* v_x_5741_, lean_object* v_x_5742_){ _start: { -if (lean_obj_tag(v_x_5620_) == 0) +if (lean_obj_tag(v_x_5738_) == 0) { -lean_object* v_es_5625_; size_t v___x_5626_; size_t v___x_5627_; size_t v___x_5628_; size_t v___x_5629_; lean_object* v_j_5630_; lean_object* v___x_5631_; uint8_t v___x_5632_; -v_es_5625_ = lean_ctor_get(v_x_5620_, 0); -v___x_5626_ = ((size_t)5ULL); -v___x_5627_ = ((size_t)1ULL); -v___x_5628_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1); -v___x_5629_ = lean_usize_land(v_x_5621_, v___x_5628_); -v_j_5630_ = lean_usize_to_nat(v___x_5629_); -v___x_5631_ = lean_array_get_size(v_es_5625_); -v___x_5632_ = lean_nat_dec_lt(v_j_5630_, v___x_5631_); -if (v___x_5632_ == 0) +lean_object* v_es_5743_; size_t v___x_5744_; size_t v___x_5745_; size_t v___x_5746_; size_t v___x_5747_; lean_object* v_j_5748_; lean_object* v___x_5749_; uint8_t v___x_5750_; +v_es_5743_ = lean_ctor_get(v_x_5738_, 0); +v___x_5744_ = ((size_t)5ULL); +v___x_5745_ = ((size_t)1ULL); +v___x_5746_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1); +v___x_5747_ = lean_usize_land(v_x_5739_, v___x_5746_); +v_j_5748_ = lean_usize_to_nat(v___x_5747_); +v___x_5749_ = lean_array_get_size(v_es_5743_); +v___x_5750_ = lean_nat_dec_lt(v_j_5748_, v___x_5749_); +if (v___x_5750_ == 0) { -lean_dec(v_j_5630_); -lean_dec(v_x_5624_); -lean_dec_ref(v_x_5623_); -return v_x_5620_; +lean_dec(v_j_5748_); +lean_dec(v_x_5742_); +lean_dec_ref(v_x_5741_); +return v_x_5738_; } else { -lean_object* v___x_5634_; uint8_t v_isShared_5635_; uint8_t v_isSharedCheck_5669_; -lean_inc_ref(v_es_5625_); -v_isSharedCheck_5669_ = !lean_is_exclusive(v_x_5620_); -if (v_isSharedCheck_5669_ == 0) +lean_object* v___x_5752_; uint8_t v_isShared_5753_; uint8_t v_isSharedCheck_5794_; +lean_inc_ref(v_es_5743_); +v_isSharedCheck_5794_ = !lean_is_exclusive(v_x_5738_); +if (v_isSharedCheck_5794_ == 0) { -lean_object* v_unused_5670_; -v_unused_5670_ = lean_ctor_get(v_x_5620_, 0); -lean_dec(v_unused_5670_); -v___x_5634_ = v_x_5620_; -v_isShared_5635_ = v_isSharedCheck_5669_; -goto v_resetjp_5633_; +lean_object* v_unused_5795_; +v_unused_5795_ = lean_ctor_get(v_x_5738_, 0); +lean_dec(v_unused_5795_); +v___x_5752_ = v_x_5738_; +v_isShared_5753_ = v_isSharedCheck_5794_; +goto v_resetjp_5751_; } else { -lean_dec(v_x_5620_); -v___x_5634_ = lean_box(0); -v_isShared_5635_ = v_isSharedCheck_5669_; -goto v_resetjp_5633_; +lean_dec(v_x_5738_); +v___x_5752_ = lean_box(0); +v_isShared_5753_ = v_isSharedCheck_5794_; +goto v_resetjp_5751_; } -v_resetjp_5633_: +v_resetjp_5751_: { -lean_object* v_v_5636_; lean_object* v___x_5637_; lean_object* v_xs_x27_5638_; lean_object* v___y_5640_; -v_v_5636_ = lean_array_fget(v_es_5625_, v_j_5630_); -v___x_5637_ = lean_box(0); -v_xs_x27_5638_ = lean_array_fset(v_es_5625_, v_j_5630_, v___x_5637_); -switch(lean_obj_tag(v_v_5636_)) +lean_object* v_v_5754_; lean_object* v___x_5755_; lean_object* v_xs_x27_5756_; lean_object* v___y_5758_; +v_v_5754_ = lean_array_fget(v_es_5743_, v_j_5748_); +v___x_5755_ = lean_box(0); +v_xs_x27_5756_ = lean_array_fset(v_es_5743_, v_j_5748_, v___x_5755_); +switch(lean_obj_tag(v_v_5754_)) { case 0: { -lean_object* v_key_5645_; lean_object* v_val_5646_; lean_object* v___x_5648_; uint8_t v_isShared_5649_; uint8_t v_isSharedCheck_5656_; -v_key_5645_ = lean_ctor_get(v_v_5636_, 0); -v_val_5646_ = lean_ctor_get(v_v_5636_, 1); -v_isSharedCheck_5656_ = !lean_is_exclusive(v_v_5636_); -if (v_isSharedCheck_5656_ == 0) +lean_object* v_key_5763_; lean_object* v_val_5764_; lean_object* v___x_5766_; uint8_t v_isShared_5767_; uint8_t v_isSharedCheck_5781_; +v_key_5763_ = lean_ctor_get(v_v_5754_, 0); +v_val_5764_ = lean_ctor_get(v_v_5754_, 1); +v_isSharedCheck_5781_ = !lean_is_exclusive(v_v_5754_); +if (v_isSharedCheck_5781_ == 0) { -v___x_5648_ = v_v_5636_; -v_isShared_5649_ = v_isSharedCheck_5656_; -goto v_resetjp_5647_; +v___x_5766_ = v_v_5754_; +v_isShared_5767_ = v_isSharedCheck_5781_; +goto v_resetjp_5765_; } else { -lean_inc(v_val_5646_); -lean_inc(v_key_5645_); -lean_dec(v_v_5636_); -v___x_5648_ = lean_box(0); -v_isShared_5649_ = v_isSharedCheck_5656_; -goto v_resetjp_5647_; +lean_inc(v_val_5764_); +lean_inc(v_key_5763_); +lean_dec(v_v_5754_); +v___x_5766_ = lean_box(0); +v_isShared_5767_ = v_isSharedCheck_5781_; +goto v_resetjp_5765_; } -v_resetjp_5647_: +v_resetjp_5765_: { -uint8_t v___x_5650_; -v___x_5650_ = lean_expr_eqv(v_x_5623_, v_key_5645_); -if (v___x_5650_ == 0) +uint8_t v___y_5769_; lean_object* v_fst_5775_; lean_object* v_snd_5776_; lean_object* v_fst_5777_; lean_object* v_snd_5778_; uint8_t v___x_5779_; +v_fst_5775_ = lean_ctor_get(v_x_5741_, 0); +v_snd_5776_ = lean_ctor_get(v_x_5741_, 1); +v_fst_5777_ = lean_ctor_get(v_key_5763_, 0); +v_snd_5778_ = lean_ctor_get(v_key_5763_, 1); +v___x_5779_ = lean_expr_eqv(v_fst_5775_, v_fst_5777_); +if (v___x_5779_ == 0) { -lean_object* v___x_5651_; lean_object* v___x_5652_; -lean_del_object(v___x_5648_); -v___x_5651_ = l_Lean_PersistentHashMap_mkCollisionNode___redArg(v_key_5645_, v_val_5646_, v_x_5623_, v_x_5624_); -v___x_5652_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5652_, 0, v___x_5651_); -v___y_5640_ = v___x_5652_; -goto v___jp_5639_; +v___y_5769_ = v___x_5779_; +goto v___jp_5768_; } else { -lean_object* v___x_5654_; -lean_dec(v_val_5646_); -lean_dec(v_key_5645_); -if (v_isShared_5649_ == 0) +uint8_t v___x_5780_; +v___x_5780_ = l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(v_snd_5776_, v_snd_5778_); +v___y_5769_ = v___x_5780_; +goto v___jp_5768_; +} +v___jp_5768_: { -lean_ctor_set(v___x_5648_, 1, v_x_5624_); -lean_ctor_set(v___x_5648_, 0, v_x_5623_); -v___x_5654_ = v___x_5648_; -goto v_reusejp_5653_; +if (v___y_5769_ == 0) +{ +lean_object* v___x_5770_; lean_object* v___x_5771_; +lean_del_object(v___x_5766_); +v___x_5770_ = l_Lean_PersistentHashMap_mkCollisionNode___redArg(v_key_5763_, v_val_5764_, v_x_5741_, v_x_5742_); +v___x_5771_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5771_, 0, v___x_5770_); +v___y_5758_ = v___x_5771_; +goto v___jp_5757_; } else { -lean_object* v_reuseFailAlloc_5655_; -v_reuseFailAlloc_5655_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5655_, 0, v_x_5623_); -lean_ctor_set(v_reuseFailAlloc_5655_, 1, v_x_5624_); -v___x_5654_ = v_reuseFailAlloc_5655_; -goto v_reusejp_5653_; -} -v_reusejp_5653_: +lean_object* v___x_5773_; +lean_dec(v_val_5764_); +lean_dec(v_key_5763_); +if (v_isShared_5767_ == 0) { -v___y_5640_ = v___x_5654_; -goto v___jp_5639_; +lean_ctor_set(v___x_5766_, 1, v_x_5742_); +lean_ctor_set(v___x_5766_, 0, v_x_5741_); +v___x_5773_ = v___x_5766_; +goto v_reusejp_5772_; +} +else +{ +lean_object* v_reuseFailAlloc_5774_; +v_reuseFailAlloc_5774_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5774_, 0, v_x_5741_); +lean_ctor_set(v_reuseFailAlloc_5774_, 1, v_x_5742_); +v___x_5773_ = v_reuseFailAlloc_5774_; +goto v_reusejp_5772_; +} +v_reusejp_5772_: +{ +v___y_5758_ = v___x_5773_; +goto v___jp_5757_; +} } } } } case 1: { -lean_object* v_node_5657_; lean_object* v___x_5659_; uint8_t v_isShared_5660_; uint8_t v_isSharedCheck_5667_; -v_node_5657_ = lean_ctor_get(v_v_5636_, 0); -v_isSharedCheck_5667_ = !lean_is_exclusive(v_v_5636_); -if (v_isSharedCheck_5667_ == 0) +lean_object* v_node_5782_; lean_object* v___x_5784_; uint8_t v_isShared_5785_; uint8_t v_isSharedCheck_5792_; +v_node_5782_ = lean_ctor_get(v_v_5754_, 0); +v_isSharedCheck_5792_ = !lean_is_exclusive(v_v_5754_); +if (v_isSharedCheck_5792_ == 0) { -v___x_5659_ = v_v_5636_; -v_isShared_5660_ = v_isSharedCheck_5667_; -goto v_resetjp_5658_; +v___x_5784_ = v_v_5754_; +v_isShared_5785_ = v_isSharedCheck_5792_; +goto v_resetjp_5783_; } else { -lean_inc(v_node_5657_); -lean_dec(v_v_5636_); -v___x_5659_ = lean_box(0); -v_isShared_5660_ = v_isSharedCheck_5667_; -goto v_resetjp_5658_; +lean_inc(v_node_5782_); +lean_dec(v_v_5754_); +v___x_5784_ = lean_box(0); +v_isShared_5785_ = v_isSharedCheck_5792_; +goto v_resetjp_5783_; } -v_resetjp_5658_: +v_resetjp_5783_: { -size_t v___x_5661_; size_t v___x_5662_; lean_object* v___x_5663_; lean_object* v___x_5665_; -v___x_5661_ = lean_usize_shift_right(v_x_5621_, v___x_5626_); -v___x_5662_ = lean_usize_add(v_x_5622_, v___x_5627_); -v___x_5663_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_node_5657_, v___x_5661_, v___x_5662_, v_x_5623_, v_x_5624_); -if (v_isShared_5660_ == 0) +size_t v___x_5786_; size_t v___x_5787_; lean_object* v___x_5788_; lean_object* v___x_5790_; +v___x_5786_ = lean_usize_shift_right(v_x_5739_, v___x_5744_); +v___x_5787_ = lean_usize_add(v_x_5740_, v___x_5745_); +v___x_5788_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_node_5782_, v___x_5786_, v___x_5787_, v_x_5741_, v_x_5742_); +if (v_isShared_5785_ == 0) { -lean_ctor_set(v___x_5659_, 0, v___x_5663_); -v___x_5665_ = v___x_5659_; -goto v_reusejp_5664_; +lean_ctor_set(v___x_5784_, 0, v___x_5788_); +v___x_5790_ = v___x_5784_; +goto v_reusejp_5789_; } else { -lean_object* v_reuseFailAlloc_5666_; -v_reuseFailAlloc_5666_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5666_, 0, v___x_5663_); -v___x_5665_ = v_reuseFailAlloc_5666_; -goto v_reusejp_5664_; +lean_object* v_reuseFailAlloc_5791_; +v_reuseFailAlloc_5791_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5791_, 0, v___x_5788_); +v___x_5790_ = v_reuseFailAlloc_5791_; +goto v_reusejp_5789_; } -v_reusejp_5664_: +v_reusejp_5789_: { -v___y_5640_ = v___x_5665_; -goto v___jp_5639_; +v___y_5758_ = v___x_5790_; +goto v___jp_5757_; } } } default: { -lean_object* v___x_5668_; -v___x_5668_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_5668_, 0, v_x_5623_); -lean_ctor_set(v___x_5668_, 1, v_x_5624_); -v___y_5640_ = v___x_5668_; -goto v___jp_5639_; +lean_object* v___x_5793_; +v___x_5793_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_5793_, 0, v_x_5741_); +lean_ctor_set(v___x_5793_, 1, v_x_5742_); +v___y_5758_ = v___x_5793_; +goto v___jp_5757_; } } -v___jp_5639_: +v___jp_5757_: { -lean_object* v___x_5641_; lean_object* v___x_5643_; -v___x_5641_ = lean_array_fset(v_xs_x27_5638_, v_j_5630_, v___y_5640_); -lean_dec(v_j_5630_); -if (v_isShared_5635_ == 0) +lean_object* v___x_5759_; lean_object* v___x_5761_; +v___x_5759_ = lean_array_fset(v_xs_x27_5756_, v_j_5748_, v___y_5758_); +lean_dec(v_j_5748_); +if (v_isShared_5753_ == 0) { -lean_ctor_set(v___x_5634_, 0, v___x_5641_); -v___x_5643_ = v___x_5634_; -goto v_reusejp_5642_; +lean_ctor_set(v___x_5752_, 0, v___x_5759_); +v___x_5761_ = v___x_5752_; +goto v_reusejp_5760_; } else { -lean_object* v_reuseFailAlloc_5644_; -v_reuseFailAlloc_5644_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5644_, 0, v___x_5641_); -v___x_5643_ = v_reuseFailAlloc_5644_; -goto v_reusejp_5642_; +lean_object* v_reuseFailAlloc_5762_; +v_reuseFailAlloc_5762_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5762_, 0, v___x_5759_); +v___x_5761_ = v_reuseFailAlloc_5762_; +goto v_reusejp_5760_; } -v_reusejp_5642_: +v_reusejp_5760_: { -return v___x_5643_; +return v___x_5761_; } } } @@ -19018,83 +19523,83 @@ return v___x_5643_; } else { -lean_object* v_ks_5671_; lean_object* v_vs_5672_; lean_object* v___x_5674_; uint8_t v_isShared_5675_; uint8_t v_isSharedCheck_5692_; -v_ks_5671_ = lean_ctor_get(v_x_5620_, 0); -v_vs_5672_ = lean_ctor_get(v_x_5620_, 1); -v_isSharedCheck_5692_ = !lean_is_exclusive(v_x_5620_); -if (v_isSharedCheck_5692_ == 0) +lean_object* v_ks_5796_; lean_object* v_vs_5797_; lean_object* v___x_5799_; uint8_t v_isShared_5800_; uint8_t v_isSharedCheck_5817_; +v_ks_5796_ = lean_ctor_get(v_x_5738_, 0); +v_vs_5797_ = lean_ctor_get(v_x_5738_, 1); +v_isSharedCheck_5817_ = !lean_is_exclusive(v_x_5738_); +if (v_isSharedCheck_5817_ == 0) { -v___x_5674_ = v_x_5620_; -v_isShared_5675_ = v_isSharedCheck_5692_; -goto v_resetjp_5673_; +v___x_5799_ = v_x_5738_; +v_isShared_5800_ = v_isSharedCheck_5817_; +goto v_resetjp_5798_; } else { -lean_inc(v_vs_5672_); -lean_inc(v_ks_5671_); -lean_dec(v_x_5620_); -v___x_5674_ = lean_box(0); -v_isShared_5675_ = v_isSharedCheck_5692_; -goto v_resetjp_5673_; +lean_inc(v_vs_5797_); +lean_inc(v_ks_5796_); +lean_dec(v_x_5738_); +v___x_5799_ = lean_box(0); +v_isShared_5800_ = v_isSharedCheck_5817_; +goto v_resetjp_5798_; } -v_resetjp_5673_: +v_resetjp_5798_: { -lean_object* v___x_5677_; -if (v_isShared_5675_ == 0) +lean_object* v___x_5802_; +if (v_isShared_5800_ == 0) { -v___x_5677_ = v___x_5674_; -goto v_reusejp_5676_; +v___x_5802_ = v___x_5799_; +goto v_reusejp_5801_; } else { -lean_object* v_reuseFailAlloc_5691_; -v_reuseFailAlloc_5691_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5691_, 0, v_ks_5671_); -lean_ctor_set(v_reuseFailAlloc_5691_, 1, v_vs_5672_); -v___x_5677_ = v_reuseFailAlloc_5691_; -goto v_reusejp_5676_; +lean_object* v_reuseFailAlloc_5816_; +v_reuseFailAlloc_5816_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5816_, 0, v_ks_5796_); +lean_ctor_set(v_reuseFailAlloc_5816_, 1, v_vs_5797_); +v___x_5802_ = v_reuseFailAlloc_5816_; +goto v_reusejp_5801_; } -v_reusejp_5676_: +v_reusejp_5801_: { -lean_object* v_newNode_5678_; uint8_t v___y_5680_; size_t v___x_5686_; uint8_t v___x_5687_; -v_newNode_5678_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___redArg(v___x_5677_, v_x_5623_, v_x_5624_); -v___x_5686_ = ((size_t)7ULL); -v___x_5687_ = lean_usize_dec_le(v___x_5686_, v_x_5622_); -if (v___x_5687_ == 0) +lean_object* v_newNode_5803_; uint8_t v___y_5805_; size_t v___x_5811_; uint8_t v___x_5812_; +v_newNode_5803_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(v___x_5802_, v_x_5741_, v_x_5742_); +v___x_5811_ = ((size_t)7ULL); +v___x_5812_ = lean_usize_dec_le(v___x_5811_, v_x_5740_); +if (v___x_5812_ == 0) { -lean_object* v___x_5688_; lean_object* v___x_5689_; uint8_t v___x_5690_; -v___x_5688_ = l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(v_newNode_5678_); -v___x_5689_ = lean_unsigned_to_nat(4u); -v___x_5690_ = lean_nat_dec_lt(v___x_5688_, v___x_5689_); -lean_dec(v___x_5688_); -v___y_5680_ = v___x_5690_; -goto v___jp_5679_; +lean_object* v___x_5813_; lean_object* v___x_5814_; uint8_t v___x_5815_; +v___x_5813_ = l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(v_newNode_5803_); +v___x_5814_ = lean_unsigned_to_nat(4u); +v___x_5815_ = lean_nat_dec_lt(v___x_5813_, v___x_5814_); +lean_dec(v___x_5813_); +v___y_5805_ = v___x_5815_; +goto v___jp_5804_; } else { -v___y_5680_ = v___x_5687_; -goto v___jp_5679_; +v___y_5805_ = v___x_5812_; +goto v___jp_5804_; } -v___jp_5679_: +v___jp_5804_: { -if (v___y_5680_ == 0) +if (v___y_5805_ == 0) { -lean_object* v_ks_5681_; lean_object* v_vs_5682_; lean_object* v___x_5683_; lean_object* v___x_5684_; lean_object* v___x_5685_; -v_ks_5681_ = lean_ctor_get(v_newNode_5678_, 0); -lean_inc_ref(v_ks_5681_); -v_vs_5682_ = lean_ctor_get(v_newNode_5678_, 1); -lean_inc_ref(v_vs_5682_); -lean_dec_ref(v_newNode_5678_); -v___x_5683_ = lean_unsigned_to_nat(0u); -v___x_5684_ = lean_obj_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2); -v___x_5685_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(v_x_5622_, v_ks_5681_, v_vs_5682_, v___x_5683_, v___x_5684_); -lean_dec_ref(v_vs_5682_); -lean_dec_ref(v_ks_5681_); -return v___x_5685_; +lean_object* v_ks_5806_; lean_object* v_vs_5807_; lean_object* v___x_5808_; lean_object* v___x_5809_; lean_object* v___x_5810_; +v_ks_5806_ = lean_ctor_get(v_newNode_5803_, 0); +lean_inc_ref(v_ks_5806_); +v_vs_5807_ = lean_ctor_get(v_newNode_5803_, 1); +lean_inc_ref(v_vs_5807_); +lean_dec_ref(v_newNode_5803_); +v___x_5808_ = lean_unsigned_to_nat(0u); +v___x_5809_ = lean_obj_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__2); +v___x_5810_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg(v_x_5740_, v_ks_5806_, v_vs_5807_, v___x_5808_, v___x_5809_); +lean_dec_ref(v_vs_5807_); +lean_dec_ref(v_ks_5806_); +return v___x_5810_; } else { -return v_newNode_5678_; +return v_newNode_5803_; } } } @@ -19102,517 +19607,674 @@ return v_newNode_5678_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(size_t v_depth_5693_, lean_object* v_keys_5694_, lean_object* v_vals_5695_, lean_object* v_i_5696_, lean_object* v_entries_5697_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg(size_t v_depth_5818_, lean_object* v_keys_5819_, lean_object* v_vals_5820_, lean_object* v_i_5821_, lean_object* v_entries_5822_){ _start: { -lean_object* v___x_5698_; uint8_t v___x_5699_; -v___x_5698_ = lean_array_get_size(v_keys_5694_); -v___x_5699_ = lean_nat_dec_lt(v_i_5696_, v___x_5698_); -if (v___x_5699_ == 0) +lean_object* v___x_5823_; uint8_t v___x_5824_; +v___x_5823_ = lean_array_get_size(v_keys_5819_); +v___x_5824_ = lean_nat_dec_lt(v_i_5821_, v___x_5823_); +if (v___x_5824_ == 0) { -lean_dec(v_i_5696_); -return v_entries_5697_; +lean_dec(v_i_5821_); +return v_entries_5822_; } else { -lean_object* v_k_5700_; lean_object* v_v_5701_; uint64_t v___x_5702_; size_t v_h_5703_; size_t v___x_5704_; lean_object* v___x_5705_; size_t v___x_5706_; size_t v___x_5707_; size_t v___x_5708_; size_t v_h_5709_; lean_object* v___x_5710_; lean_object* v___x_5711_; -v_k_5700_ = lean_array_fget_borrowed(v_keys_5694_, v_i_5696_); -v_v_5701_ = lean_array_fget_borrowed(v_vals_5695_, v_i_5696_); -v___x_5702_ = l_Lean_Expr_hash(v_k_5700_); -v_h_5703_ = lean_uint64_to_usize(v___x_5702_); -v___x_5704_ = ((size_t)5ULL); -v___x_5705_ = lean_unsigned_to_nat(1u); -v___x_5706_ = ((size_t)1ULL); -v___x_5707_ = lean_usize_sub(v_depth_5693_, v___x_5706_); -v___x_5708_ = lean_usize_mul(v___x_5704_, v___x_5707_); -v_h_5709_ = lean_usize_shift_right(v_h_5703_, v___x_5708_); -v___x_5710_ = lean_nat_add(v_i_5696_, v___x_5705_); -lean_dec(v_i_5696_); -lean_inc(v_v_5701_); -lean_inc(v_k_5700_); -v___x_5711_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_entries_5697_, v_h_5709_, v_depth_5693_, v_k_5700_, v_v_5701_); -v_i_5696_ = v___x_5710_; -v_entries_5697_ = v___x_5711_; +lean_object* v_k_5825_; lean_object* v_fst_5826_; lean_object* v_snd_5827_; lean_object* v_v_5828_; uint64_t v___x_5829_; uint64_t v___y_5831_; +v_k_5825_ = lean_array_fget_borrowed(v_keys_5819_, v_i_5821_); +v_fst_5826_ = lean_ctor_get(v_k_5825_, 0); +v_snd_5827_ = lean_ctor_get(v_k_5825_, 1); +v_v_5828_ = lean_array_fget_borrowed(v_vals_5820_, v_i_5821_); +v___x_5829_ = l_Lean_Expr_hash(v_fst_5826_); +if (lean_obj_tag(v_snd_5827_) == 0) +{ +uint64_t v___x_5843_; +v___x_5843_ = 11ULL; +v___y_5831_ = v___x_5843_; +goto v___jp_5830_; +} +else +{ +lean_object* v_val_5844_; uint64_t v___x_5845_; uint64_t v___x_5846_; uint64_t v___x_5847_; +v_val_5844_ = lean_ctor_get(v_snd_5827_, 0); +v___x_5845_ = l_Lean_Expr_hash(v_val_5844_); +v___x_5846_ = 13ULL; +v___x_5847_ = lean_uint64_mix_hash(v___x_5845_, v___x_5846_); +v___y_5831_ = v___x_5847_; +goto v___jp_5830_; +} +v___jp_5830_: +{ +uint64_t v___x_5832_; size_t v_h_5833_; size_t v___x_5834_; lean_object* v___x_5835_; size_t v___x_5836_; size_t v___x_5837_; size_t v___x_5838_; size_t v_h_5839_; lean_object* v___x_5840_; lean_object* v___x_5841_; +v___x_5832_ = lean_uint64_mix_hash(v___x_5829_, v___y_5831_); +v_h_5833_ = lean_uint64_to_usize(v___x_5832_); +v___x_5834_ = ((size_t)5ULL); +v___x_5835_ = lean_unsigned_to_nat(1u); +v___x_5836_ = ((size_t)1ULL); +v___x_5837_ = lean_usize_sub(v_depth_5818_, v___x_5836_); +v___x_5838_ = lean_usize_mul(v___x_5834_, v___x_5837_); +v_h_5839_ = lean_usize_shift_right(v_h_5833_, v___x_5838_); +v___x_5840_ = lean_nat_add(v_i_5821_, v___x_5835_); +lean_dec(v_i_5821_); +lean_inc(v_v_5828_); +lean_inc(v_k_5825_); +v___x_5841_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_entries_5822_, v_h_5839_, v_depth_5818_, v_k_5825_, v_v_5828_); +v_i_5821_ = v___x_5840_; +v_entries_5822_ = v___x_5841_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg___boxed(lean_object* v_depth_5713_, lean_object* v_keys_5714_, lean_object* v_vals_5715_, lean_object* v_i_5716_, lean_object* v_entries_5717_){ +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg___boxed(lean_object* v_depth_5848_, lean_object* v_keys_5849_, lean_object* v_vals_5850_, lean_object* v_i_5851_, lean_object* v_entries_5852_){ _start: { -size_t v_depth_boxed_5718_; lean_object* v_res_5719_; -v_depth_boxed_5718_ = lean_unbox_usize(v_depth_5713_); -lean_dec(v_depth_5713_); -v_res_5719_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(v_depth_boxed_5718_, v_keys_5714_, v_vals_5715_, v_i_5716_, v_entries_5717_); -lean_dec_ref(v_vals_5715_); -lean_dec_ref(v_keys_5714_); -return v_res_5719_; +size_t v_depth_boxed_5853_; lean_object* v_res_5854_; +v_depth_boxed_5853_ = lean_unbox_usize(v_depth_5848_); +lean_dec(v_depth_5848_); +v_res_5854_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg(v_depth_boxed_5853_, v_keys_5849_, v_vals_5850_, v_i_5851_, v_entries_5852_); +lean_dec_ref(v_vals_5850_); +lean_dec_ref(v_keys_5849_); +return v_res_5854_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___boxed(lean_object* v_x_5720_, lean_object* v_x_5721_, lean_object* v_x_5722_, lean_object* v_x_5723_, lean_object* v_x_5724_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___boxed(lean_object* v_x_5855_, lean_object* v_x_5856_, lean_object* v_x_5857_, lean_object* v_x_5858_, lean_object* v_x_5859_){ _start: { -size_t v_x_166953__boxed_5725_; size_t v_x_166954__boxed_5726_; lean_object* v_res_5727_; -v_x_166953__boxed_5725_ = lean_unbox_usize(v_x_5721_); -lean_dec(v_x_5721_); -v_x_166954__boxed_5726_ = lean_unbox_usize(v_x_5722_); -lean_dec(v_x_5722_); -v_res_5727_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_5720_, v_x_166953__boxed_5725_, v_x_166954__boxed_5726_, v_x_5723_, v_x_5724_); -return v_res_5727_; +size_t v_x_171780__boxed_5860_; size_t v_x_171781__boxed_5861_; lean_object* v_res_5862_; +v_x_171780__boxed_5860_ = lean_unbox_usize(v_x_5856_); +lean_dec(v_x_5856_); +v_x_171781__boxed_5861_ = lean_unbox_usize(v_x_5857_); +lean_dec(v_x_5857_); +v_res_5862_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_5855_, v_x_171780__boxed_5860_, v_x_171781__boxed_5861_, v_x_5858_, v_x_5859_); +return v_res_5862_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(lean_object* v_x_5728_, lean_object* v_x_5729_, lean_object* v_x_5730_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(lean_object* v_x_5863_, lean_object* v_x_5864_, lean_object* v_x_5865_){ _start: { -uint64_t v___x_5731_; size_t v___x_5732_; size_t v___x_5733_; lean_object* v___x_5734_; -v___x_5731_ = l_Lean_Expr_hash(v_x_5729_); -v___x_5732_ = lean_uint64_to_usize(v___x_5731_); -v___x_5733_ = ((size_t)1ULL); -v___x_5734_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_5728_, v___x_5732_, v___x_5733_, v_x_5729_, v_x_5730_); -return v___x_5734_; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg(lean_object* v_keys_5735_, lean_object* v_vals_5736_, lean_object* v_i_5737_, lean_object* v_k_5738_){ -_start: +lean_object* v_fst_5866_; lean_object* v_snd_5867_; uint64_t v___x_5868_; uint64_t v___y_5870_; +v_fst_5866_ = lean_ctor_get(v_x_5864_, 0); +v_snd_5867_ = lean_ctor_get(v_x_5864_, 1); +v___x_5868_ = l_Lean_Expr_hash(v_fst_5866_); +if (lean_obj_tag(v_snd_5867_) == 0) { -lean_object* v___x_5739_; uint8_t v___x_5740_; -v___x_5739_ = lean_array_get_size(v_keys_5735_); -v___x_5740_ = lean_nat_dec_lt(v_i_5737_, v___x_5739_); -if (v___x_5740_ == 0) -{ -lean_object* v___x_5741_; -lean_dec(v_i_5737_); -v___x_5741_ = lean_box(0); -return v___x_5741_; +uint64_t v___x_5875_; +v___x_5875_ = 11ULL; +v___y_5870_ = v___x_5875_; +goto v___jp_5869_; } else { -lean_object* v_k_x27_5742_; uint8_t v___x_5743_; -v_k_x27_5742_ = lean_array_fget_borrowed(v_keys_5735_, v_i_5737_); -v___x_5743_ = lean_expr_eqv(v_k_5738_, v_k_x27_5742_); -if (v___x_5743_ == 0) +lean_object* v_val_5876_; uint64_t v___x_5877_; uint64_t v___x_5878_; uint64_t v___x_5879_; +v_val_5876_ = lean_ctor_get(v_snd_5867_, 0); +v___x_5877_ = l_Lean_Expr_hash(v_val_5876_); +v___x_5878_ = 13ULL; +v___x_5879_ = lean_uint64_mix_hash(v___x_5877_, v___x_5878_); +v___y_5870_ = v___x_5879_; +goto v___jp_5869_; +} +v___jp_5869_: { -lean_object* v___x_5744_; lean_object* v___x_5745_; -v___x_5744_ = lean_unsigned_to_nat(1u); -v___x_5745_ = lean_nat_add(v_i_5737_, v___x_5744_); -lean_dec(v_i_5737_); -v_i_5737_ = v___x_5745_; +uint64_t v___x_5871_; size_t v___x_5872_; size_t v___x_5873_; lean_object* v___x_5874_; +v___x_5871_ = lean_uint64_mix_hash(v___x_5868_, v___y_5870_); +v___x_5872_ = lean_uint64_to_usize(v___x_5871_); +v___x_5873_ = ((size_t)1ULL); +v___x_5874_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_5863_, v___x_5872_, v___x_5873_, v_x_5864_, v_x_5865_); +return v___x_5874_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg(lean_object* v_keys_5880_, lean_object* v_vals_5881_, lean_object* v_i_5882_, lean_object* v_k_5883_){ +_start: +{ +uint8_t v___y_5885_; lean_object* v___x_5891_; uint8_t v___x_5892_; +v___x_5891_ = lean_array_get_size(v_keys_5880_); +v___x_5892_ = lean_nat_dec_lt(v_i_5882_, v___x_5891_); +if (v___x_5892_ == 0) +{ +lean_object* v___x_5893_; +lean_dec(v_i_5882_); +v___x_5893_ = lean_box(0); +return v___x_5893_; +} +else +{ +lean_object* v_fst_5894_; lean_object* v_snd_5895_; lean_object* v_k_x27_5896_; lean_object* v_fst_5897_; lean_object* v_snd_5898_; uint8_t v___x_5899_; +v_fst_5894_ = lean_ctor_get(v_k_5883_, 0); +v_snd_5895_ = lean_ctor_get(v_k_5883_, 1); +v_k_x27_5896_ = lean_array_fget_borrowed(v_keys_5880_, v_i_5882_); +v_fst_5897_ = lean_ctor_get(v_k_x27_5896_, 0); +v_snd_5898_ = lean_ctor_get(v_k_x27_5896_, 1); +v___x_5899_ = lean_expr_eqv(v_fst_5894_, v_fst_5897_); +if (v___x_5899_ == 0) +{ +v___y_5885_ = v___x_5899_; +goto v___jp_5884_; +} +else +{ +uint8_t v___x_5900_; +v___x_5900_ = l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(v_snd_5895_, v_snd_5898_); +v___y_5885_ = v___x_5900_; +goto v___jp_5884_; +} +} +v___jp_5884_: +{ +if (v___y_5885_ == 0) +{ +lean_object* v___x_5886_; lean_object* v___x_5887_; +v___x_5886_ = lean_unsigned_to_nat(1u); +v___x_5887_ = lean_nat_add(v_i_5882_, v___x_5886_); +lean_dec(v_i_5882_); +v_i_5882_ = v___x_5887_; goto _start; } else { -lean_object* v___x_5747_; lean_object* v___x_5748_; -v___x_5747_ = lean_array_fget_borrowed(v_vals_5736_, v_i_5737_); -lean_dec(v_i_5737_); -lean_inc(v___x_5747_); -v___x_5748_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5748_, 0, v___x_5747_); -return v___x_5748_; +lean_object* v___x_5889_; lean_object* v___x_5890_; +v___x_5889_ = lean_array_fget_borrowed(v_vals_5881_, v_i_5882_); +lean_dec(v_i_5882_); +lean_inc(v___x_5889_); +v___x_5890_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5890_, 0, v___x_5889_); +return v___x_5890_; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg___boxed(lean_object* v_keys_5749_, lean_object* v_vals_5750_, lean_object* v_i_5751_, lean_object* v_k_5752_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg___boxed(lean_object* v_keys_5901_, lean_object* v_vals_5902_, lean_object* v_i_5903_, lean_object* v_k_5904_){ _start: { -lean_object* v_res_5753_; -v_res_5753_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg(v_keys_5749_, v_vals_5750_, v_i_5751_, v_k_5752_); -lean_dec_ref(v_k_5752_); -lean_dec_ref(v_vals_5750_); -lean_dec_ref(v_keys_5749_); -return v_res_5753_; +lean_object* v_res_5905_; +v_res_5905_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg(v_keys_5901_, v_vals_5902_, v_i_5903_, v_k_5904_); +lean_dec_ref(v_k_5904_); +lean_dec_ref(v_vals_5902_); +lean_dec_ref(v_keys_5901_); +return v_res_5905_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(lean_object* v_x_5754_, size_t v_x_5755_, lean_object* v_x_5756_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(lean_object* v_x_5906_, size_t v_x_5907_, lean_object* v_x_5908_){ _start: { -if (lean_obj_tag(v_x_5754_) == 0) +if (lean_obj_tag(v_x_5906_) == 0) { -lean_object* v_es_5757_; lean_object* v___x_5759_; uint8_t v_isShared_5760_; uint8_t v_isSharedCheck_5778_; -v_es_5757_ = lean_ctor_get(v_x_5754_, 0); -v_isSharedCheck_5778_ = !lean_is_exclusive(v_x_5754_); -if (v_isSharedCheck_5778_ == 0) +lean_object* v_es_5909_; lean_object* v___x_5911_; uint8_t v_isShared_5912_; uint8_t v_isSharedCheck_5937_; +v_es_5909_ = lean_ctor_get(v_x_5906_, 0); +v_isSharedCheck_5937_ = !lean_is_exclusive(v_x_5906_); +if (v_isSharedCheck_5937_ == 0) { -v___x_5759_ = v_x_5754_; -v_isShared_5760_ = v_isSharedCheck_5778_; -goto v_resetjp_5758_; +v___x_5911_ = v_x_5906_; +v_isShared_5912_ = v_isSharedCheck_5937_; +goto v_resetjp_5910_; } else { -lean_inc(v_es_5757_); -lean_dec(v_x_5754_); -v___x_5759_ = lean_box(0); -v_isShared_5760_ = v_isSharedCheck_5778_; -goto v_resetjp_5758_; +lean_inc(v_es_5909_); +lean_dec(v_x_5906_); +v___x_5911_ = lean_box(0); +v_isShared_5912_ = v_isSharedCheck_5937_; +goto v_resetjp_5910_; } -v_resetjp_5758_: +v_resetjp_5910_: { -lean_object* v___x_5761_; size_t v___x_5762_; size_t v___x_5763_; size_t v___x_5764_; lean_object* v_j_5765_; lean_object* v___x_5766_; -v___x_5761_ = lean_box(2); -v___x_5762_ = ((size_t)5ULL); -v___x_5763_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1); -v___x_5764_ = lean_usize_land(v_x_5755_, v___x_5763_); -v_j_5765_ = lean_usize_to_nat(v___x_5764_); -v___x_5766_ = lean_array_get(v___x_5761_, v_es_5757_, v_j_5765_); -lean_dec(v_j_5765_); -lean_dec_ref(v_es_5757_); -switch(lean_obj_tag(v___x_5766_)) +lean_object* v___x_5913_; size_t v___x_5914_; size_t v___x_5915_; size_t v___x_5916_; lean_object* v_j_5917_; lean_object* v___x_5918_; +v___x_5913_ = lean_box(2); +v___x_5914_ = ((size_t)5ULL); +v___x_5915_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg___closed__1); +v___x_5916_ = lean_usize_land(v_x_5907_, v___x_5915_); +v_j_5917_ = lean_usize_to_nat(v___x_5916_); +v___x_5918_ = lean_array_get(v___x_5913_, v_es_5909_, v_j_5917_); +lean_dec(v_j_5917_); +lean_dec_ref(v_es_5909_); +switch(lean_obj_tag(v___x_5918_)) { case 0: { -lean_object* v_key_5767_; lean_object* v_val_5768_; uint8_t v___x_5769_; -v_key_5767_ = lean_ctor_get(v___x_5766_, 0); -lean_inc(v_key_5767_); -v_val_5768_ = lean_ctor_get(v___x_5766_, 1); -lean_inc(v_val_5768_); -lean_dec_ref(v___x_5766_); -v___x_5769_ = lean_expr_eqv(v_x_5756_, v_key_5767_); -lean_dec(v_key_5767_); -if (v___x_5769_ == 0) +lean_object* v_key_5919_; lean_object* v_val_5920_; uint8_t v___y_5922_; lean_object* v_fst_5927_; lean_object* v_snd_5928_; lean_object* v_fst_5929_; lean_object* v_snd_5930_; uint8_t v___x_5931_; +v_key_5919_ = lean_ctor_get(v___x_5918_, 0); +lean_inc(v_key_5919_); +v_val_5920_ = lean_ctor_get(v___x_5918_, 1); +lean_inc(v_val_5920_); +lean_dec_ref(v___x_5918_); +v_fst_5927_ = lean_ctor_get(v_x_5908_, 0); +v_snd_5928_ = lean_ctor_get(v_x_5908_, 1); +v_fst_5929_ = lean_ctor_get(v_key_5919_, 0); +lean_inc(v_fst_5929_); +v_snd_5930_ = lean_ctor_get(v_key_5919_, 1); +lean_inc(v_snd_5930_); +lean_dec(v_key_5919_); +v___x_5931_ = lean_expr_eqv(v_fst_5927_, v_fst_5929_); +lean_dec(v_fst_5929_); +if (v___x_5931_ == 0) { -lean_object* v___x_5770_; -lean_dec(v_val_5768_); -lean_del_object(v___x_5759_); -v___x_5770_ = lean_box(0); -return v___x_5770_; +lean_dec(v_snd_5930_); +v___y_5922_ = v___x_5931_; +goto v___jp_5921_; } else { -lean_object* v___x_5772_; -if (v_isShared_5760_ == 0) +uint8_t v___x_5932_; +v___x_5932_ = l_Option_instBEq_beq___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(v_snd_5928_, v_snd_5930_); +lean_dec(v_snd_5930_); +v___y_5922_ = v___x_5932_; +goto v___jp_5921_; +} +v___jp_5921_: { -lean_ctor_set_tag(v___x_5759_, 1); -lean_ctor_set(v___x_5759_, 0, v_val_5768_); -v___x_5772_ = v___x_5759_; -goto v_reusejp_5771_; +if (v___y_5922_ == 0) +{ +lean_object* v___x_5923_; +lean_dec(v_val_5920_); +lean_del_object(v___x_5911_); +v___x_5923_ = lean_box(0); +return v___x_5923_; } else { -lean_object* v_reuseFailAlloc_5773_; -v_reuseFailAlloc_5773_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5773_, 0, v_val_5768_); -v___x_5772_ = v_reuseFailAlloc_5773_; -goto v_reusejp_5771_; -} -v_reusejp_5771_: +lean_object* v___x_5925_; +if (v_isShared_5912_ == 0) { -return v___x_5772_; +lean_ctor_set_tag(v___x_5911_, 1); +lean_ctor_set(v___x_5911_, 0, v_val_5920_); +v___x_5925_ = v___x_5911_; +goto v_reusejp_5924_; +} +else +{ +lean_object* v_reuseFailAlloc_5926_; +v_reuseFailAlloc_5926_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5926_, 0, v_val_5920_); +v___x_5925_ = v_reuseFailAlloc_5926_; +goto v_reusejp_5924_; +} +v_reusejp_5924_: +{ +return v___x_5925_; +} } } } case 1: { -lean_object* v_node_5774_; size_t v___x_5775_; -lean_del_object(v___x_5759_); -v_node_5774_ = lean_ctor_get(v___x_5766_, 0); -lean_inc(v_node_5774_); -lean_dec_ref(v___x_5766_); -v___x_5775_ = lean_usize_shift_right(v_x_5755_, v___x_5762_); -v_x_5754_ = v_node_5774_; -v_x_5755_ = v___x_5775_; +lean_object* v_node_5933_; size_t v___x_5934_; +lean_del_object(v___x_5911_); +v_node_5933_ = lean_ctor_get(v___x_5918_, 0); +lean_inc(v_node_5933_); +lean_dec_ref(v___x_5918_); +v___x_5934_ = lean_usize_shift_right(v_x_5907_, v___x_5914_); +v_x_5906_ = v_node_5933_; +v_x_5907_ = v___x_5934_; goto _start; } default: { -lean_object* v___x_5777_; -lean_del_object(v___x_5759_); -v___x_5777_ = lean_box(0); -return v___x_5777_; +lean_object* v___x_5936_; +lean_del_object(v___x_5911_); +v___x_5936_ = lean_box(0); +return v___x_5936_; } } } } else { -lean_object* v_ks_5779_; lean_object* v_vs_5780_; lean_object* v___x_5781_; lean_object* v___x_5782_; -v_ks_5779_ = lean_ctor_get(v_x_5754_, 0); -lean_inc_ref(v_ks_5779_); -v_vs_5780_ = lean_ctor_get(v_x_5754_, 1); -lean_inc_ref(v_vs_5780_); -lean_dec_ref(v_x_5754_); -v___x_5781_ = lean_unsigned_to_nat(0u); -v___x_5782_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg(v_ks_5779_, v_vs_5780_, v___x_5781_, v_x_5756_); -lean_dec_ref(v_vs_5780_); -lean_dec_ref(v_ks_5779_); -return v___x_5782_; +lean_object* v_ks_5938_; lean_object* v_vs_5939_; lean_object* v___x_5940_; lean_object* v___x_5941_; +v_ks_5938_ = lean_ctor_get(v_x_5906_, 0); +lean_inc_ref(v_ks_5938_); +v_vs_5939_ = lean_ctor_get(v_x_5906_, 1); +lean_inc_ref(v_vs_5939_); +lean_dec_ref(v_x_5906_); +v___x_5940_ = lean_unsigned_to_nat(0u); +v___x_5941_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg(v_ks_5938_, v_vs_5939_, v___x_5940_, v_x_5908_); +lean_dec_ref(v_vs_5939_); +lean_dec_ref(v_ks_5938_); +return v___x_5941_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg___boxed(lean_object* v_x_5783_, lean_object* v_x_5784_, lean_object* v_x_5785_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg___boxed(lean_object* v_x_5942_, lean_object* v_x_5943_, lean_object* v_x_5944_){ _start: { -size_t v_x_167153__boxed_5786_; lean_object* v_res_5787_; -v_x_167153__boxed_5786_ = lean_unbox_usize(v_x_5784_); -lean_dec(v_x_5784_); -v_res_5787_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_5783_, v_x_167153__boxed_5786_, v_x_5785_); -lean_dec_ref(v_x_5785_); -return v_res_5787_; +size_t v_x_172038__boxed_5945_; lean_object* v_res_5946_; +v_x_172038__boxed_5945_ = lean_unbox_usize(v_x_5943_); +lean_dec(v_x_5943_); +v_res_5946_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_5942_, v_x_172038__boxed_5945_, v_x_5944_); +lean_dec_ref(v_x_5944_); +return v_res_5946_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(lean_object* v_x_5788_, lean_object* v_x_5789_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(lean_object* v_x_5947_, lean_object* v_x_5948_){ _start: { -uint64_t v___x_5790_; size_t v___x_5791_; lean_object* v___x_5792_; -v___x_5790_ = l_Lean_Expr_hash(v_x_5789_); -v___x_5791_ = lean_uint64_to_usize(v___x_5790_); -v___x_5792_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_5788_, v___x_5791_, v_x_5789_); -return v___x_5792_; +lean_object* v_fst_5949_; lean_object* v_snd_5950_; uint64_t v___x_5951_; uint64_t v___y_5953_; +v_fst_5949_ = lean_ctor_get(v_x_5948_, 0); +v_snd_5950_ = lean_ctor_get(v_x_5948_, 1); +v___x_5951_ = l_Lean_Expr_hash(v_fst_5949_); +if (lean_obj_tag(v_snd_5950_) == 0) +{ +uint64_t v___x_5957_; +v___x_5957_ = 11ULL; +v___y_5953_ = v___x_5957_; +goto v___jp_5952_; +} +else +{ +lean_object* v_val_5958_; uint64_t v___x_5959_; uint64_t v___x_5960_; uint64_t v___x_5961_; +v_val_5958_ = lean_ctor_get(v_snd_5950_, 0); +v___x_5959_ = l_Lean_Expr_hash(v_val_5958_); +v___x_5960_ = 13ULL; +v___x_5961_ = lean_uint64_mix_hash(v___x_5959_, v___x_5960_); +v___y_5953_ = v___x_5961_; +goto v___jp_5952_; +} +v___jp_5952_: +{ +uint64_t v___x_5954_; size_t v___x_5955_; lean_object* v___x_5956_; +v___x_5954_ = lean_uint64_mix_hash(v___x_5951_, v___y_5953_); +v___x_5955_ = lean_uint64_to_usize(v___x_5954_); +v___x_5956_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_5947_, v___x_5955_, v_x_5948_); +return v___x_5956_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg___boxed(lean_object* v_x_5793_, lean_object* v_x_5794_){ +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg___boxed(lean_object* v_x_5962_, lean_object* v_x_5963_){ _start: { -lean_object* v_res_5795_; -v_res_5795_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_x_5793_, v_x_5794_); -lean_dec_ref(v_x_5794_); -return v_res_5795_; +lean_object* v_res_5964_; +v_res_5964_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_x_5962_, v_x_5963_); +lean_dec_ref(v_x_5963_); +return v_res_5964_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0(void){ _start: { -lean_object* v___x_5796_; lean_object* v_dummy_5797_; -v___x_5796_ = lean_box(0); -v_dummy_5797_ = l_Lean_Expr_sort___override(v___x_5796_); -return v_dummy_5797_; +lean_object* v___x_5965_; lean_object* v_dummy_5966_; +v___x_5965_ = lean_box(0); +v_dummy_5966_ = l_Lean_Expr_sort___override(v___x_5965_); +return v_dummy_5966_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed(lean_object* v_e_5798_, lean_object* v_a_5799_, lean_object* v_a_5800_, lean_object* v_a_5801_, lean_object* v_a_5802_, lean_object* v_a_5803_, lean_object* v_a_5804_, lean_object* v_a_5805_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed(lean_object* v_e_5967_, lean_object* v_a_5968_, lean_object* v_a_5969_, lean_object* v_a_5970_, lean_object* v_a_5971_, lean_object* v_a_5972_, lean_object* v_a_5973_, lean_object* v_a_5974_){ _start: { -uint8_t v_a_168684__boxed_5806_; lean_object* v_res_5807_; -v_a_168684__boxed_5806_ = lean_unbox(v_a_5799_); -v_res_5807_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_5798_, v_a_168684__boxed_5806_, v_a_5800_, v_a_5801_, v_a_5802_, v_a_5803_, v_a_5804_); -return v_res_5807_; +lean_object* v_res_5975_; +v_res_5975_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_5967_, v_a_5968_, v_a_5969_, v_a_5970_, v_a_5971_, v_a_5972_, v_a_5973_); +return v_res_5975_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object* v_e_5808_, lean_object* v_arity_5809_, lean_object* v_k_5810_, uint8_t v_a_5811_, lean_object* v_a_5812_, lean_object* v_a_5813_, lean_object* v_a_5814_, lean_object* v_a_5815_, lean_object* v_a_5816_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object* v_e_5976_, lean_object* v_arity_5977_, lean_object* v_k_5978_, lean_object* v_a_5979_, lean_object* v_a_5980_, lean_object* v_a_5981_, lean_object* v_a_5982_, lean_object* v_a_5983_, lean_object* v_a_5984_){ _start: { -lean_object* v_numArgs_5818_; uint8_t v___x_5819_; -v_numArgs_5818_ = l_Lean_Expr_getAppNumArgs(v_e_5808_); -v___x_5819_ = lean_nat_dec_lt(v_numArgs_5818_, v_arity_5809_); -if (v___x_5819_ == 0) +lean_object* v_numArgs_5986_; uint8_t v___x_5987_; +v_numArgs_5986_ = l_Lean_Expr_getAppNumArgs(v_e_5976_); +v___x_5987_ = lean_nat_dec_lt(v_numArgs_5986_, v_arity_5977_); +if (v___x_5987_ == 0) { -lean_object* v___x_5820_; lean_object* v___x_5821_; -lean_dec(v_numArgs_5818_); -lean_dec_ref(v_e_5808_); -v___x_5820_ = lean_box(v_a_5811_); -v___x_5821_ = lean_apply_7(v_k_5810_, v___x_5820_, v_a_5812_, v_a_5813_, v_a_5814_, v_a_5815_, v_a_5816_, lean_box(0)); -return v___x_5821_; +lean_object* v___x_5988_; +lean_dec(v_numArgs_5986_); +lean_dec_ref(v_e_5976_); +v___x_5988_ = lean_apply_7(v_k_5978_, v_a_5979_, v_a_5980_, v_a_5981_, v_a_5982_, v_a_5983_, v_a_5984_, lean_box(0)); +return v___x_5988_; } else { -lean_object* v___x_5822_; lean_object* v___x_5823_; -lean_dec_ref(v_k_5810_); -v___x_5822_ = lean_nat_sub(v_arity_5809_, v_numArgs_5818_); -lean_dec(v_numArgs_5818_); -lean_inc(v_a_5816_); -lean_inc_ref(v_a_5815_); -v___x_5823_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_5808_, v___x_5822_, v_a_5812_, v_a_5815_, v_a_5816_); -if (lean_obj_tag(v___x_5823_) == 0) +lean_object* v___x_5989_; lean_object* v___x_5990_; +lean_dec_ref(v_k_5978_); +v___x_5989_ = lean_nat_sub(v_arity_5977_, v_numArgs_5986_); +lean_dec(v_numArgs_5986_); +lean_inc(v_a_5984_); +lean_inc_ref(v_a_5983_); +v___x_5990_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_5976_, v___x_5989_, v_a_5980_, v_a_5983_, v_a_5984_); +if (lean_obj_tag(v___x_5990_) == 0) { -lean_object* v_a_5824_; lean_object* v___x_5825_; -v_a_5824_ = lean_ctor_get(v___x_5823_, 0); -lean_inc(v_a_5824_); -lean_dec_ref(v___x_5823_); -v___x_5825_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_a_5824_, v_a_5811_, v_a_5812_, v_a_5813_, v_a_5814_, v_a_5815_, v_a_5816_); -return v___x_5825_; +lean_object* v_a_5991_; lean_object* v___x_5992_; +v_a_5991_ = lean_ctor_get(v___x_5990_, 0); +lean_inc(v_a_5991_); +lean_dec_ref(v___x_5990_); +v___x_5992_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_a_5991_, v_a_5979_, v_a_5980_, v_a_5981_, v_a_5982_, v_a_5983_, v_a_5984_); +return v___x_5992_; } else { -lean_object* v_a_5826_; lean_object* v___x_5828_; uint8_t v_isShared_5829_; uint8_t v_isSharedCheck_5833_; -lean_dec(v_a_5816_); -lean_dec_ref(v_a_5815_); -lean_dec(v_a_5814_); -lean_dec_ref(v_a_5813_); -lean_dec(v_a_5812_); -v_a_5826_ = lean_ctor_get(v___x_5823_, 0); -v_isSharedCheck_5833_ = !lean_is_exclusive(v___x_5823_); -if (v_isSharedCheck_5833_ == 0) +lean_object* v_a_5993_; lean_object* v___x_5995_; uint8_t v_isShared_5996_; uint8_t v_isSharedCheck_6000_; +lean_dec(v_a_5984_); +lean_dec_ref(v_a_5983_); +lean_dec(v_a_5982_); +lean_dec_ref(v_a_5981_); +lean_dec(v_a_5980_); +lean_dec_ref(v_a_5979_); +v_a_5993_ = lean_ctor_get(v___x_5990_, 0); +v_isSharedCheck_6000_ = !lean_is_exclusive(v___x_5990_); +if (v_isSharedCheck_6000_ == 0) { -v___x_5828_ = v___x_5823_; -v_isShared_5829_ = v_isSharedCheck_5833_; -goto v_resetjp_5827_; +v___x_5995_ = v___x_5990_; +v_isShared_5996_ = v_isSharedCheck_6000_; +goto v_resetjp_5994_; } else { -lean_inc(v_a_5826_); -lean_dec(v___x_5823_); -v___x_5828_ = lean_box(0); -v_isShared_5829_ = v_isSharedCheck_5833_; -goto v_resetjp_5827_; +lean_inc(v_a_5993_); +lean_dec(v___x_5990_); +v___x_5995_ = lean_box(0); +v_isShared_5996_ = v_isSharedCheck_6000_; +goto v_resetjp_5994_; } -v_resetjp_5827_: +v_resetjp_5994_: { -lean_object* v___x_5831_; -if (v_isShared_5829_ == 0) +lean_object* v___x_5998_; +if (v_isShared_5996_ == 0) { -v___x_5831_ = v___x_5828_; -goto v_reusejp_5830_; +v___x_5998_ = v___x_5995_; +goto v_reusejp_5997_; } else { -lean_object* v_reuseFailAlloc_5832_; -v_reuseFailAlloc_5832_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5832_, 0, v_a_5826_); -v___x_5831_ = v_reuseFailAlloc_5832_; -goto v_reusejp_5830_; +lean_object* v_reuseFailAlloc_5999_; +v_reuseFailAlloc_5999_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5999_, 0, v_a_5993_); +v___x_5998_ = v_reuseFailAlloc_5999_; +goto v_reusejp_5997_; } -v_reusejp_5830_: +v_reusejp_5997_: { -return v___x_5831_; +return v___x_5998_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(lean_object* v_e_5834_, lean_object* v_minorPos_5835_, uint8_t v_a_5836_, lean_object* v_a_5837_, lean_object* v_a_5838_, lean_object* v_a_5839_, lean_object* v_a_5840_, lean_object* v_a_5841_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(lean_object* v_e_6001_, lean_object* v_minorPos_6002_, lean_object* v_a_6003_, lean_object* v_a_6004_, lean_object* v_a_6005_, lean_object* v_a_6006_, lean_object* v_a_6007_, lean_object* v_a_6008_){ _start: { -lean_object* v___x_5843_; lean_object* v_arity_5844_; lean_object* v_dummy_5845_; lean_object* v_nargs_5846_; lean_object* v___x_5847_; lean_object* v___x_5848_; lean_object* v___x_5849_; lean_object* v_args_5850_; lean_object* v___x_5851_; lean_object* v___x_5852_; lean_object* v_ha_5853_; lean_object* v___x_5854_; lean_object* v_hb_5855_; lean_object* v_minor_5856_; lean_object* v___x_5857_; lean_object* v___x_5858_; lean_object* v___x_5859_; lean_object* v___x_5860_; lean_object* v_minor_5861_; lean_object* v___x_5862_; lean_object* v___x_5863_; lean_object* v___x_5864_; lean_object* v___x_5865_; lean_object* v___x_5866_; lean_object* v___x_5867_; -v___x_5843_ = l_Lean_instInhabitedExpr; -v_arity_5844_ = lean_unsigned_to_nat(5u); -v_dummy_5845_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_5846_ = l_Lean_Expr_getAppNumArgs(v_e_5834_); -lean_inc(v_nargs_5846_); -v___x_5847_ = lean_mk_array(v_nargs_5846_, v_dummy_5845_); -v___x_5848_ = lean_unsigned_to_nat(1u); -v___x_5849_ = lean_nat_sub(v_nargs_5846_, v___x_5848_); -lean_dec(v_nargs_5846_); -lean_inc_ref(v_e_5834_); -v_args_5850_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_5834_, v___x_5847_, v___x_5849_); -v___x_5851_ = lean_unsigned_to_nat(0u); -v___x_5852_ = lean_array_get(v___x_5843_, v_args_5850_, v___x_5851_); -v_ha_5853_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v___x_5852_); -v___x_5854_ = lean_array_get(v___x_5843_, v_args_5850_, v___x_5848_); -v_hb_5855_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v___x_5854_); -v_minor_5856_ = lean_array_get(v___x_5843_, v_args_5850_, v_minorPos_5835_); -v___x_5857_ = lean_unsigned_to_nat(2u); -v___x_5858_ = lean_mk_empty_array_with_capacity(v___x_5857_); -v___x_5859_ = lean_array_push(v___x_5858_, v_ha_5853_); -v___x_5860_ = lean_array_push(v___x_5859_, v_hb_5855_); -v_minor_5861_ = l_Lean_Expr_beta(v_minor_5856_, v___x_5860_); -v___x_5862_ = lean_array_get_size(v_args_5850_); -v___x_5863_ = l_Array_toSubarray___redArg(v_args_5850_, v_arity_5844_, v___x_5862_); -v___x_5864_ = l_Subarray_copy___redArg(v___x_5863_); -v___x_5865_ = l_Lean_mkAppN(v_minor_5861_, v___x_5864_); -lean_dec_ref(v___x_5864_); -v___x_5866_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 8, 1); -lean_closure_set(v___x_5866_, 0, v___x_5865_); -v___x_5867_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_5834_, v_arity_5844_, v___x_5866_, v_a_5836_, v_a_5837_, v_a_5838_, v_a_5839_, v_a_5840_, v_a_5841_); -return v___x_5867_; +lean_object* v___x_6010_; lean_object* v_dummy_6011_; lean_object* v_nargs_6012_; lean_object* v___x_6013_; lean_object* v___x_6014_; lean_object* v___x_6015_; lean_object* v_args_6016_; lean_object* v___x_6017_; lean_object* v___x_6018_; lean_object* v___x_6019_; uint8_t v_ignoreNoncomputable_6020_; lean_object* v___x_6022_; uint8_t v_isShared_6023_; uint8_t v_isSharedCheck_6043_; +v___x_6010_ = l_Lean_instInhabitedExpr; +v_dummy_6011_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_6012_ = l_Lean_Expr_getAppNumArgs(v_e_6001_); +lean_inc(v_nargs_6012_); +v___x_6013_ = lean_mk_array(v_nargs_6012_, v_dummy_6011_); +v___x_6014_ = lean_unsigned_to_nat(1u); +v___x_6015_ = lean_nat_sub(v_nargs_6012_, v___x_6014_); +lean_dec(v_nargs_6012_); +lean_inc_ref(v_e_6001_); +v_args_6016_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6001_, v___x_6013_, v___x_6015_); +v___x_6017_ = lean_unsigned_to_nat(0u); +v___x_6018_ = lean_array_get(v___x_6010_, v_args_6016_, v___x_6017_); +v___x_6019_ = lean_array_get(v___x_6010_, v_args_6016_, v___x_6014_); +v_ignoreNoncomputable_6020_ = lean_ctor_get_uint8(v_a_6003_, sizeof(void*)*1); +v_isSharedCheck_6043_ = !lean_is_exclusive(v_a_6003_); +if (v_isSharedCheck_6043_ == 0) +{ +lean_object* v_unused_6044_; +v_unused_6044_ = lean_ctor_get(v_a_6003_, 0); +lean_dec(v_unused_6044_); +v___x_6022_ = v_a_6003_; +v_isShared_6023_ = v_isSharedCheck_6043_; +goto v_resetjp_6021_; +} +else +{ +lean_dec(v_a_6003_); +v___x_6022_ = lean_box(0); +v_isShared_6023_ = v_isSharedCheck_6043_; +goto v_resetjp_6021_; +} +v_resetjp_6021_: +{ +lean_object* v_minor_6024_; lean_object* v___x_6025_; lean_object* v_arity_6026_; lean_object* v_ha_6027_; lean_object* v_hb_6028_; lean_object* v___x_6029_; lean_object* v___x_6030_; lean_object* v___x_6031_; lean_object* v___x_6032_; lean_object* v_minor_6033_; lean_object* v___x_6034_; lean_object* v___x_6035_; lean_object* v___x_6036_; lean_object* v___x_6037_; lean_object* v___x_6038_; lean_object* v___x_6040_; +v_minor_6024_ = lean_array_get(v___x_6010_, v_args_6016_, v_minorPos_6002_); +v___x_6025_ = lean_array_get_size(v_args_6016_); +v_arity_6026_ = lean_unsigned_to_nat(5u); +v_ha_6027_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v___x_6018_); +v_hb_6028_ = l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(v___x_6019_); +v___x_6029_ = lean_unsigned_to_nat(2u); +v___x_6030_ = lean_mk_empty_array_with_capacity(v___x_6029_); +v___x_6031_ = lean_array_push(v___x_6030_, v_ha_6027_); +v___x_6032_ = lean_array_push(v___x_6031_, v_hb_6028_); +v_minor_6033_ = l_Lean_Expr_beta(v_minor_6024_, v___x_6032_); +v___x_6034_ = l_Array_toSubarray___redArg(v_args_6016_, v_arity_6026_, v___x_6025_); +v___x_6035_ = l_Subarray_copy___redArg(v___x_6034_); +v___x_6036_ = l_Lean_mkAppN(v_minor_6033_, v___x_6035_); +lean_dec_ref(v___x_6035_); +v___x_6037_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 8, 1); +lean_closure_set(v___x_6037_, 0, v___x_6036_); +v___x_6038_ = lean_box(0); +if (v_isShared_6023_ == 0) +{ +lean_ctor_set(v___x_6022_, 0, v___x_6038_); +v___x_6040_ = v___x_6022_; +goto v_reusejp_6039_; +} +else +{ +lean_object* v_reuseFailAlloc_6042_; +v_reuseFailAlloc_6042_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_6042_, 0, v___x_6038_); +lean_ctor_set_uint8(v_reuseFailAlloc_6042_, sizeof(void*)*1, v_ignoreNoncomputable_6020_); +v___x_6040_ = v_reuseFailAlloc_6042_; +goto v_reusejp_6039_; +} +v_reusejp_6039_: +{ +lean_object* v___x_6041_; +v___x_6041_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_6001_, v_arity_6026_, v___x_6037_, v___x_6040_, v_a_6004_, v_a_6005_, v_a_6006_, v_a_6007_, v_a_6008_); +return v___x_6041_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object* v_e_5908_, uint8_t v_a_5909_, lean_object* v_a_5910_, lean_object* v_a_5911_, lean_object* v_a_5912_, lean_object* v_a_5913_, lean_object* v_a_5914_){ +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object* v_e_6085_, lean_object* v_a_6086_, lean_object* v_a_6087_, lean_object* v_a_6088_, lean_object* v_a_6089_, lean_object* v_a_6090_, lean_object* v_a_6091_){ _start: { -lean_object* v___y_5917_; uint8_t v_a_5918_; uint8_t v___x_5970_; lean_object* v_a_5972_; -v___x_5970_ = l_Lean_Compiler_LCNF_ToLCNF_isLCProof(v_e_5908_); -if (v___x_5970_ == 0) +lean_object* v___y_6094_; uint8_t v_a_6095_; uint8_t v___x_6147_; lean_object* v_a_6149_; +v___x_6147_ = l_Lean_Compiler_LCNF_ToLCNF_isLCProof(v_e_6085_); +if (v___x_6147_ == 0) { -lean_object* v___x_6000_; lean_object* v_lctx_6001_; lean_object* v___x_6002_; lean_object* v___x_6003_; lean_object* v___x_6004_; lean_object* v___x_6005_; lean_object* v___x_6006_; uint8_t v___x_6007_; lean_object* v___x_6008_; lean_object* v___x_6009_; lean_object* v___x_6010_; lean_object* v___x_6011_; lean_object* v___x_6012_; lean_object* v___x_6013_; -v___x_6000_ = lean_st_ref_get(v_a_5910_); -v_lctx_6001_ = lean_ctor_get(v___x_6000_, 0); -lean_inc_ref(v_lctx_6001_); -lean_dec(v___x_6000_); -v___x_6002_ = lean_box(1); -v___x_6003_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_6004_ = lean_unsigned_to_nat(0u); -v___x_6005_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_6006_ = lean_box(0); -v___x_6007_ = 1; -v___x_6008_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_6008_, 0, v___x_6003_); -lean_ctor_set(v___x_6008_, 1, v___x_6002_); -lean_ctor_set(v___x_6008_, 2, v_lctx_6001_); -lean_ctor_set(v___x_6008_, 3, v___x_6005_); -lean_ctor_set(v___x_6008_, 4, v___x_6006_); -lean_ctor_set(v___x_6008_, 5, v___x_6004_); -lean_ctor_set(v___x_6008_, 6, v___x_6006_); -lean_ctor_set_uint8(v___x_6008_, sizeof(void*)*7, v___x_5970_); -lean_ctor_set_uint8(v___x_6008_, sizeof(void*)*7 + 1, v___x_5970_); -lean_ctor_set_uint8(v___x_6008_, sizeof(void*)*7 + 2, v___x_5970_); -lean_ctor_set_uint8(v___x_6008_, sizeof(void*)*7 + 3, v___x_6007_); -v___x_6009_ = lean_unsigned_to_nat(32u); -v___x_6010_ = lean_mk_empty_array_with_capacity(v___x_6009_); -lean_dec_ref(v___x_6010_); -v___x_6011_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_6012_ = lean_st_mk_ref(v___x_6011_); -lean_inc(v_a_5914_); -lean_inc_ref(v_a_5913_); -lean_inc(v___x_6012_); -lean_inc_ref(v_e_5908_); -v___x_6013_ = lean_infer_type(v_e_5908_, v___x_6008_, v___x_6012_, v_a_5913_, v_a_5914_); -if (lean_obj_tag(v___x_6013_) == 0) +lean_object* v___x_6177_; lean_object* v_lctx_6178_; lean_object* v___x_6179_; lean_object* v___x_6180_; lean_object* v___x_6181_; lean_object* v___x_6182_; lean_object* v___x_6183_; uint8_t v___x_6184_; lean_object* v___x_6185_; lean_object* v___x_6186_; lean_object* v___x_6187_; lean_object* v___x_6188_; lean_object* v___x_6189_; lean_object* v___x_6190_; +v___x_6177_ = lean_st_ref_get(v_a_6087_); +v_lctx_6178_ = lean_ctor_get(v___x_6177_, 0); +lean_inc_ref(v_lctx_6178_); +lean_dec(v___x_6177_); +v___x_6179_ = lean_box(1); +v___x_6180_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_6181_ = lean_unsigned_to_nat(0u); +v___x_6182_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_6183_ = lean_box(0); +v___x_6184_ = 1; +v___x_6185_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_6185_, 0, v___x_6180_); +lean_ctor_set(v___x_6185_, 1, v___x_6179_); +lean_ctor_set(v___x_6185_, 2, v_lctx_6178_); +lean_ctor_set(v___x_6185_, 3, v___x_6182_); +lean_ctor_set(v___x_6185_, 4, v___x_6183_); +lean_ctor_set(v___x_6185_, 5, v___x_6181_); +lean_ctor_set(v___x_6185_, 6, v___x_6183_); +lean_ctor_set_uint8(v___x_6185_, sizeof(void*)*7, v___x_6147_); +lean_ctor_set_uint8(v___x_6185_, sizeof(void*)*7 + 1, v___x_6147_); +lean_ctor_set_uint8(v___x_6185_, sizeof(void*)*7 + 2, v___x_6147_); +lean_ctor_set_uint8(v___x_6185_, sizeof(void*)*7 + 3, v___x_6184_); +v___x_6186_ = lean_unsigned_to_nat(32u); +v___x_6187_ = lean_mk_empty_array_with_capacity(v___x_6186_); +lean_dec_ref(v___x_6187_); +v___x_6188_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_6189_ = lean_st_mk_ref(v___x_6188_); +lean_inc(v_a_6091_); +lean_inc_ref(v_a_6090_); +lean_inc(v___x_6189_); +lean_inc_ref(v_e_6085_); +v___x_6190_ = lean_infer_type(v_e_6085_, v___x_6185_, v___x_6189_, v_a_6090_, v_a_6091_); +if (lean_obj_tag(v___x_6190_) == 0) { -lean_object* v_a_6014_; lean_object* v___x_6015_; -v_a_6014_ = lean_ctor_get(v___x_6013_, 0); -lean_inc(v_a_6014_); -lean_dec_ref(v___x_6013_); -v___x_6015_ = lean_st_ref_get(v___x_6012_); -lean_dec(v___x_6012_); -lean_dec(v___x_6015_); -v_a_5972_ = v_a_6014_; -goto v___jp_5971_; +lean_object* v_a_6191_; lean_object* v___x_6192_; +v_a_6191_ = lean_ctor_get(v___x_6190_, 0); +lean_inc(v_a_6191_); +lean_dec_ref(v___x_6190_); +v___x_6192_ = lean_st_ref_get(v___x_6189_); +lean_dec(v___x_6189_); +lean_dec(v___x_6192_); +v_a_6149_ = v_a_6191_; +goto v___jp_6148_; } else { -lean_dec(v___x_6012_); -if (lean_obj_tag(v___x_6013_) == 0) +lean_dec(v___x_6189_); +if (lean_obj_tag(v___x_6190_) == 0) { -lean_object* v_a_6016_; -v_a_6016_ = lean_ctor_get(v___x_6013_, 0); -lean_inc(v_a_6016_); -lean_dec_ref(v___x_6013_); -v_a_5972_ = v_a_6016_; -goto v___jp_5971_; +lean_object* v_a_6193_; +v_a_6193_ = lean_ctor_get(v___x_6190_, 0); +lean_inc(v_a_6193_); +lean_dec_ref(v___x_6190_); +v_a_6149_ = v_a_6193_; +goto v___jp_6148_; } else { -lean_object* v_a_6017_; lean_object* v___x_6019_; uint8_t v_isShared_6020_; uint8_t v_isSharedCheck_6024_; -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v_a_6017_ = lean_ctor_get(v___x_6013_, 0); -v_isSharedCheck_6024_ = !lean_is_exclusive(v___x_6013_); -if (v_isSharedCheck_6024_ == 0) +lean_object* v_a_6194_; lean_object* v___x_6196_; uint8_t v_isShared_6197_; uint8_t v_isSharedCheck_6201_; +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec(v_a_6087_); +lean_dec_ref(v_a_6086_); +lean_dec_ref(v_e_6085_); +v_a_6194_ = lean_ctor_get(v___x_6190_, 0); +v_isSharedCheck_6201_ = !lean_is_exclusive(v___x_6190_); +if (v_isSharedCheck_6201_ == 0) { -v___x_6019_ = v___x_6013_; -v_isShared_6020_ = v_isSharedCheck_6024_; -goto v_resetjp_6018_; +v___x_6196_ = v___x_6190_; +v_isShared_6197_ = v_isSharedCheck_6201_; +goto v_resetjp_6195_; } else { -lean_inc(v_a_6017_); -lean_dec(v___x_6013_); -v___x_6019_ = lean_box(0); -v_isShared_6020_ = v_isSharedCheck_6024_; -goto v_resetjp_6018_; +lean_inc(v_a_6194_); +lean_dec(v___x_6190_); +v___x_6196_ = lean_box(0); +v_isShared_6197_ = v_isSharedCheck_6201_; +goto v_resetjp_6195_; } -v_resetjp_6018_: +v_resetjp_6195_: { -lean_object* v___x_6022_; -if (v_isShared_6020_ == 0) +lean_object* v___x_6199_; +if (v_isShared_6197_ == 0) { -v___x_6022_ = v___x_6019_; -goto v_reusejp_6021_; +v___x_6199_ = v___x_6196_; +goto v_reusejp_6198_; } else { -lean_object* v_reuseFailAlloc_6023_; -v_reuseFailAlloc_6023_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6023_, 0, v_a_6017_); -v___x_6022_ = v_reuseFailAlloc_6023_; -goto v_reusejp_6021_; +lean_object* v_reuseFailAlloc_6200_; +v_reuseFailAlloc_6200_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6200_, 0, v_a_6194_); +v___x_6199_ = v_reuseFailAlloc_6200_; +goto v_reusejp_6198_; } -v_reusejp_6021_: +v_reusejp_6198_: { -return v___x_6022_; +return v___x_6199_; } } } @@ -19620,970 +20282,179 @@ return v___x_6022_; } else { -lean_object* v___x_6025_; lean_object* v___x_6026_; -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v___x_6025_ = lean_box(0); -v___x_6026_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6026_, 0, v___x_6025_); -return v___x_6026_; +lean_object* v___x_6202_; lean_object* v___x_6203_; +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec(v_a_6087_); +lean_dec_ref(v_a_6086_); +lean_dec_ref(v_e_6085_); +v___x_6202_ = lean_box(0); +v___x_6203_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6203_, 0, v___x_6202_); +return v___x_6203_; } -v___jp_5916_: +v___jp_6093_: { -if (v_a_5918_ == 0) +if (v_a_6095_ == 0) { -lean_object* v___x_5919_; -lean_inc(v_a_5914_); -lean_inc_ref(v_a_5913_); -lean_inc_ref(v___y_5917_); -v___x_5919_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v___y_5917_, v_a_5910_, v_a_5913_, v_a_5914_); -if (lean_obj_tag(v___x_5919_) == 0) +lean_object* v___x_6096_; +lean_inc(v_a_6091_); +lean_inc_ref(v_a_6090_); +lean_inc_ref(v___y_6094_); +v___x_6096_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v___y_6094_, v_a_6087_, v_a_6090_, v_a_6091_); +if (lean_obj_tag(v___x_6096_) == 0) { -lean_object* v_a_5920_; uint8_t v___x_5921_; -v_a_5920_ = lean_ctor_get(v___x_5919_, 0); -lean_inc(v_a_5920_); -lean_dec_ref(v___x_5919_); -v___x_5921_ = lean_unbox(v_a_5920_); -lean_dec(v_a_5920_); -if (v___x_5921_ == 0) +lean_object* v_a_6097_; uint8_t v___x_6098_; +v_a_6097_ = lean_ctor_get(v___x_6096_, 0); +lean_inc(v_a_6097_); +lean_dec_ref(v___x_6096_); +v___x_6098_ = lean_unbox(v_a_6097_); +lean_dec(v_a_6097_); +if (v___x_6098_ == 0) { -lean_object* v___x_5922_; -lean_dec_ref(v___y_5917_); -v___x_5922_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_5908_, v_a_5909_, v_a_5910_, v_a_5911_, v_a_5912_, v_a_5913_, v_a_5914_); -return v___x_5922_; +lean_object* v___x_6099_; +lean_dec_ref(v___y_6094_); +v___x_6099_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_6085_, v_a_6086_, v_a_6087_, v_a_6088_, v_a_6089_, v_a_6090_, v_a_6091_); +return v___x_6099_; } else { -lean_object* v___x_5923_; -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_inc(v_a_5914_); -lean_inc_ref(v_a_5913_); -v___x_5923_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v___y_5917_, v_a_5910_, v_a_5913_, v_a_5914_); -if (lean_obj_tag(v___x_5923_) == 0) +lean_object* v___x_6100_; +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec_ref(v_a_6086_); +lean_inc(v_a_6091_); +lean_inc_ref(v_a_6090_); +v___x_6100_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v___y_6094_, v_a_6087_, v_a_6090_, v_a_6091_); +if (lean_obj_tag(v___x_6100_) == 0) { -lean_object* v_a_5924_; lean_object* v___x_5926_; uint8_t v_isShared_5927_; uint8_t v_isSharedCheck_5951_; -v_a_5924_ = lean_ctor_get(v___x_5923_, 0); -v_isSharedCheck_5951_ = !lean_is_exclusive(v___x_5923_); -if (v_isSharedCheck_5951_ == 0) +lean_object* v_a_6101_; lean_object* v___x_6103_; uint8_t v_isShared_6104_; uint8_t v_isSharedCheck_6128_; +v_a_6101_ = lean_ctor_get(v___x_6100_, 0); +v_isSharedCheck_6128_ = !lean_is_exclusive(v___x_6100_); +if (v_isSharedCheck_6128_ == 0) { -v___x_5926_ = v___x_5923_; -v_isShared_5927_ = v_isSharedCheck_5951_; -goto v_resetjp_5925_; +v___x_6103_ = v___x_6100_; +v_isShared_6104_ = v_isSharedCheck_6128_; +goto v_resetjp_6102_; } else { -lean_inc(v_a_5924_); -lean_dec(v___x_5923_); -v___x_5926_ = lean_box(0); -v_isShared_5927_ = v_isSharedCheck_5951_; -goto v_resetjp_5925_; +lean_inc(v_a_6101_); +lean_dec(v___x_6100_); +v___x_6103_ = lean_box(0); +v_isShared_6104_ = v_isSharedCheck_6128_; +goto v_resetjp_6102_; } -v_resetjp_5925_: +v_resetjp_6102_: { -uint8_t v___x_5928_; -v___x_5928_ = l_Lean_Compiler_LCNF_isPredicateType(v_a_5924_); -if (v___x_5928_ == 0) +uint8_t v___x_6105_; +v___x_6105_ = l_Lean_Compiler_LCNF_isPredicateType(v_a_6101_); +if (v___x_6105_ == 0) { -lean_object* v___x_5929_; -lean_del_object(v___x_5926_); -v___x_5929_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_e_5908_, v_a_5910_, v_a_5913_, v_a_5914_); -lean_dec(v_a_5910_); -if (lean_obj_tag(v___x_5929_) == 0) +lean_object* v___x_6106_; +lean_del_object(v___x_6103_); +v___x_6106_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_e_6085_, v_a_6087_, v_a_6090_, v_a_6091_); +lean_dec(v_a_6087_); +if (lean_obj_tag(v___x_6106_) == 0) { -lean_object* v_a_5930_; lean_object* v___x_5932_; uint8_t v_isShared_5933_; uint8_t v_isSharedCheck_5938_; -v_a_5930_ = lean_ctor_get(v___x_5929_, 0); -v_isSharedCheck_5938_ = !lean_is_exclusive(v___x_5929_); -if (v_isSharedCheck_5938_ == 0) +lean_object* v_a_6107_; lean_object* v___x_6109_; uint8_t v_isShared_6110_; uint8_t v_isSharedCheck_6115_; +v_a_6107_ = lean_ctor_get(v___x_6106_, 0); +v_isSharedCheck_6115_ = !lean_is_exclusive(v___x_6106_); +if (v_isSharedCheck_6115_ == 0) { -v___x_5932_ = v___x_5929_; -v_isShared_5933_ = v_isSharedCheck_5938_; -goto v_resetjp_5931_; +v___x_6109_ = v___x_6106_; +v_isShared_6110_ = v_isSharedCheck_6115_; +goto v_resetjp_6108_; } else { -lean_inc(v_a_5930_); -lean_dec(v___x_5929_); -v___x_5932_ = lean_box(0); -v_isShared_5933_ = v_isSharedCheck_5938_; -goto v_resetjp_5931_; +lean_inc(v_a_6107_); +lean_dec(v___x_6106_); +v___x_6109_ = lean_box(0); +v_isShared_6110_ = v_isSharedCheck_6115_; +goto v_resetjp_6108_; } -v_resetjp_5931_: +v_resetjp_6108_: { -lean_object* v___x_5934_; lean_object* v___x_5936_; -v___x_5934_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v___x_5934_, 0, v_a_5930_); -if (v_isShared_5933_ == 0) +lean_object* v___x_6111_; lean_object* v___x_6113_; +v___x_6111_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v___x_6111_, 0, v_a_6107_); +if (v_isShared_6110_ == 0) { -lean_ctor_set(v___x_5932_, 0, v___x_5934_); -v___x_5936_ = v___x_5932_; -goto v_reusejp_5935_; +lean_ctor_set(v___x_6109_, 0, v___x_6111_); +v___x_6113_ = v___x_6109_; +goto v_reusejp_6112_; } else { -lean_object* v_reuseFailAlloc_5937_; -v_reuseFailAlloc_5937_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5937_, 0, v___x_5934_); -v___x_5936_ = v_reuseFailAlloc_5937_; -goto v_reusejp_5935_; +lean_object* v_reuseFailAlloc_6114_; +v_reuseFailAlloc_6114_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6114_, 0, v___x_6111_); +v___x_6113_ = v_reuseFailAlloc_6114_; +goto v_reusejp_6112_; } -v_reusejp_5935_: +v_reusejp_6112_: { -return v___x_5936_; +return v___x_6113_; } } } else { -lean_object* v_a_5939_; lean_object* v___x_5941_; uint8_t v_isShared_5942_; uint8_t v_isSharedCheck_5946_; -v_a_5939_ = lean_ctor_get(v___x_5929_, 0); -v_isSharedCheck_5946_ = !lean_is_exclusive(v___x_5929_); -if (v_isSharedCheck_5946_ == 0) +lean_object* v_a_6116_; lean_object* v___x_6118_; uint8_t v_isShared_6119_; uint8_t v_isSharedCheck_6123_; +v_a_6116_ = lean_ctor_get(v___x_6106_, 0); +v_isSharedCheck_6123_ = !lean_is_exclusive(v___x_6106_); +if (v_isSharedCheck_6123_ == 0) { -v___x_5941_ = v___x_5929_; -v_isShared_5942_ = v_isSharedCheck_5946_; -goto v_resetjp_5940_; +v___x_6118_ = v___x_6106_; +v_isShared_6119_ = v_isSharedCheck_6123_; +goto v_resetjp_6117_; } else { -lean_inc(v_a_5939_); -lean_dec(v___x_5929_); -v___x_5941_ = lean_box(0); -v_isShared_5942_ = v_isSharedCheck_5946_; -goto v_resetjp_5940_; +lean_inc(v_a_6116_); +lean_dec(v___x_6106_); +v___x_6118_ = lean_box(0); +v_isShared_6119_ = v_isSharedCheck_6123_; +goto v_resetjp_6117_; } -v_resetjp_5940_: +v_resetjp_6117_: { -lean_object* v___x_5944_; -if (v_isShared_5942_ == 0) +lean_object* v___x_6121_; +if (v_isShared_6119_ == 0) { -v___x_5944_ = v___x_5941_; -goto v_reusejp_5943_; +v___x_6121_ = v___x_6118_; +goto v_reusejp_6120_; } else { -lean_object* v_reuseFailAlloc_5945_; -v_reuseFailAlloc_5945_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5945_, 0, v_a_5939_); -v___x_5944_ = v_reuseFailAlloc_5945_; -goto v_reusejp_5943_; +lean_object* v_reuseFailAlloc_6122_; +v_reuseFailAlloc_6122_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6122_, 0, v_a_6116_); +v___x_6121_ = v_reuseFailAlloc_6122_; +goto v_reusejp_6120_; } -v_reusejp_5943_: +v_reusejp_6120_: { -return v___x_5944_; +return v___x_6121_; } } } } else { -lean_object* v___x_5947_; lean_object* v___x_5949_; -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v___x_5947_ = lean_box(0); -if (v_isShared_5927_ == 0) -{ -lean_ctor_set(v___x_5926_, 0, v___x_5947_); -v___x_5949_ = v___x_5926_; -goto v_reusejp_5948_; -} -else -{ -lean_object* v_reuseFailAlloc_5950_; -v_reuseFailAlloc_5950_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5950_, 0, v___x_5947_); -v___x_5949_ = v_reuseFailAlloc_5950_; -goto v_reusejp_5948_; -} -v_reusejp_5948_: -{ -return v___x_5949_; -} -} -} -} -else -{ -lean_object* v_a_5952_; lean_object* v___x_5954_; uint8_t v_isShared_5955_; uint8_t v_isSharedCheck_5959_; -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v_a_5952_ = lean_ctor_get(v___x_5923_, 0); -v_isSharedCheck_5959_ = !lean_is_exclusive(v___x_5923_); -if (v_isSharedCheck_5959_ == 0) -{ -v___x_5954_ = v___x_5923_; -v_isShared_5955_ = v_isSharedCheck_5959_; -goto v_resetjp_5953_; -} -else -{ -lean_inc(v_a_5952_); -lean_dec(v___x_5923_); -v___x_5954_ = lean_box(0); -v_isShared_5955_ = v_isSharedCheck_5959_; -goto v_resetjp_5953_; -} -v_resetjp_5953_: -{ -lean_object* v___x_5957_; -if (v_isShared_5955_ == 0) -{ -v___x_5957_ = v___x_5954_; -goto v_reusejp_5956_; -} -else -{ -lean_object* v_reuseFailAlloc_5958_; -v_reuseFailAlloc_5958_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5958_, 0, v_a_5952_); -v___x_5957_ = v_reuseFailAlloc_5958_; -goto v_reusejp_5956_; -} -v_reusejp_5956_: -{ -return v___x_5957_; -} -} -} -} -} -else -{ -lean_object* v_a_5960_; lean_object* v___x_5962_; uint8_t v_isShared_5963_; uint8_t v_isSharedCheck_5967_; -lean_dec_ref(v___y_5917_); -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v_a_5960_ = lean_ctor_get(v___x_5919_, 0); -v_isSharedCheck_5967_ = !lean_is_exclusive(v___x_5919_); -if (v_isSharedCheck_5967_ == 0) -{ -v___x_5962_ = v___x_5919_; -v_isShared_5963_ = v_isSharedCheck_5967_; -goto v_resetjp_5961_; -} -else -{ -lean_inc(v_a_5960_); -lean_dec(v___x_5919_); -v___x_5962_ = lean_box(0); -v_isShared_5963_ = v_isSharedCheck_5967_; -goto v_resetjp_5961_; -} -v_resetjp_5961_: -{ -lean_object* v___x_5965_; -if (v_isShared_5963_ == 0) -{ -v___x_5965_ = v___x_5962_; -goto v_reusejp_5964_; -} -else -{ -lean_object* v_reuseFailAlloc_5966_; -v_reuseFailAlloc_5966_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5966_, 0, v_a_5960_); -v___x_5965_ = v_reuseFailAlloc_5966_; -goto v_reusejp_5964_; -} -v_reusejp_5964_: -{ -return v___x_5965_; -} -} -} -} -else -{ -lean_object* v___x_5968_; lean_object* v___x_5969_; -lean_dec_ref(v___y_5917_); -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v___x_5968_ = lean_box(0); -v___x_5969_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5969_, 0, v___x_5968_); -return v___x_5969_; -} -} -v___jp_5971_: -{ -lean_object* v___x_5973_; lean_object* v_lctx_5974_; lean_object* v___x_5975_; lean_object* v___x_5976_; lean_object* v___x_5977_; lean_object* v___x_5978_; lean_object* v___x_5979_; uint8_t v___x_5980_; lean_object* v___x_5981_; lean_object* v___x_5982_; lean_object* v___x_5983_; lean_object* v___x_5984_; lean_object* v___x_5985_; lean_object* v___x_5986_; -v___x_5973_ = lean_st_ref_get(v_a_5910_); -v_lctx_5974_ = lean_ctor_get(v___x_5973_, 0); -lean_inc_ref(v_lctx_5974_); -lean_dec(v___x_5973_); -v___x_5975_ = lean_box(1); -v___x_5976_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_5977_ = lean_unsigned_to_nat(0u); -v___x_5978_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_5979_ = lean_box(0); -v___x_5980_ = 1; -v___x_5981_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_5981_, 0, v___x_5976_); -lean_ctor_set(v___x_5981_, 1, v___x_5975_); -lean_ctor_set(v___x_5981_, 2, v_lctx_5974_); -lean_ctor_set(v___x_5981_, 3, v___x_5978_); -lean_ctor_set(v___x_5981_, 4, v___x_5979_); -lean_ctor_set(v___x_5981_, 5, v___x_5977_); -lean_ctor_set(v___x_5981_, 6, v___x_5979_); -lean_ctor_set_uint8(v___x_5981_, sizeof(void*)*7, v___x_5970_); -lean_ctor_set_uint8(v___x_5981_, sizeof(void*)*7 + 1, v___x_5970_); -lean_ctor_set_uint8(v___x_5981_, sizeof(void*)*7 + 2, v___x_5970_); -lean_ctor_set_uint8(v___x_5981_, sizeof(void*)*7 + 3, v___x_5980_); -v___x_5982_ = lean_unsigned_to_nat(32u); -v___x_5983_ = lean_mk_empty_array_with_capacity(v___x_5982_); -lean_dec_ref(v___x_5983_); -v___x_5984_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_5985_ = lean_st_mk_ref(v___x_5984_); -lean_inc(v_a_5914_); -lean_inc_ref(v_a_5913_); -lean_inc(v___x_5985_); -lean_inc_ref(v_a_5972_); -v___x_5986_ = l_Lean_Meta_isProp(v_a_5972_, v___x_5981_, v___x_5985_, v_a_5913_, v_a_5914_); -if (lean_obj_tag(v___x_5986_) == 0) -{ -lean_object* v_a_5987_; lean_object* v___x_5988_; uint8_t v___x_5989_; -v_a_5987_ = lean_ctor_get(v___x_5986_, 0); -lean_inc(v_a_5987_); -lean_dec_ref(v___x_5986_); -v___x_5988_ = lean_st_ref_get(v___x_5985_); -lean_dec(v___x_5985_); -lean_dec(v___x_5988_); -v___x_5989_ = lean_unbox(v_a_5987_); -lean_dec(v_a_5987_); -v___y_5917_ = v_a_5972_; -v_a_5918_ = v___x_5989_; -goto v___jp_5916_; -} -else -{ -lean_dec(v___x_5985_); -if (lean_obj_tag(v___x_5986_) == 0) -{ -lean_object* v_a_5990_; uint8_t v___x_5991_; -v_a_5990_ = lean_ctor_get(v___x_5986_, 0); -lean_inc(v_a_5990_); -lean_dec_ref(v___x_5986_); -v___x_5991_ = lean_unbox(v_a_5990_); -lean_dec(v_a_5990_); -v___y_5917_ = v_a_5972_; -v_a_5918_ = v___x_5991_; -goto v___jp_5916_; -} -else -{ -lean_object* v_a_5992_; lean_object* v___x_5994_; uint8_t v_isShared_5995_; uint8_t v_isSharedCheck_5999_; -lean_dec_ref(v_a_5972_); -lean_dec(v_a_5914_); -lean_dec_ref(v_a_5913_); -lean_dec(v_a_5912_); -lean_dec_ref(v_a_5911_); -lean_dec(v_a_5910_); -lean_dec_ref(v_e_5908_); -v_a_5992_ = lean_ctor_get(v___x_5986_, 0); -v_isSharedCheck_5999_ = !lean_is_exclusive(v___x_5986_); -if (v_isSharedCheck_5999_ == 0) -{ -v___x_5994_ = v___x_5986_; -v_isShared_5995_ = v_isSharedCheck_5999_; -goto v_resetjp_5993_; -} -else -{ -lean_inc(v_a_5992_); -lean_dec(v___x_5986_); -v___x_5994_ = lean_box(0); -v_isShared_5995_ = v_isSharedCheck_5999_; -goto v_resetjp_5993_; -} -v_resetjp_5993_: -{ -lean_object* v___x_5997_; -if (v_isShared_5995_ == 0) -{ -v___x_5997_ = v___x_5994_; -goto v_reusejp_5996_; -} -else -{ -lean_object* v_reuseFailAlloc_5998_; -v_reuseFailAlloc_5998_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5998_, 0, v_a_5992_); -v___x_5997_ = v_reuseFailAlloc_5998_; -goto v_reusejp_5996_; -} -v_reusejp_5996_: -{ -return v___x_5997_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(lean_object* v_upperBound_6027_, lean_object* v_args_6028_, lean_object* v_a_6029_, lean_object* v_b_6030_, uint8_t v___y_6031_, lean_object* v___y_6032_, lean_object* v___y_6033_, lean_object* v___y_6034_, lean_object* v___y_6035_, lean_object* v___y_6036_){ -_start: -{ -uint8_t v___x_6038_; -v___x_6038_ = lean_nat_dec_lt(v_a_6029_, v_upperBound_6027_); -if (v___x_6038_ == 0) -{ -lean_object* v___x_6039_; -lean_dec(v___y_6036_); -lean_dec_ref(v___y_6035_); -lean_dec(v___y_6034_); -lean_dec_ref(v___y_6033_); -lean_dec(v___y_6032_); -lean_dec(v_a_6029_); -v___x_6039_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6039_, 0, v_b_6030_); -return v___x_6039_; -} -else -{ -lean_object* v___x_6040_; lean_object* v___x_6041_; -v___x_6040_ = lean_array_fget_borrowed(v_args_6028_, v_a_6029_); -lean_inc(v___y_6036_); -lean_inc_ref(v___y_6035_); -lean_inc(v___y_6034_); -lean_inc_ref(v___y_6033_); -lean_inc(v___y_6032_); -lean_inc(v___x_6040_); -v___x_6041_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6040_, v___y_6031_, v___y_6032_, v___y_6033_, v___y_6034_, v___y_6035_, v___y_6036_); -if (lean_obj_tag(v___x_6041_) == 0) -{ -lean_object* v_a_6042_; lean_object* v___x_6043_; lean_object* v___x_6044_; lean_object* v___x_6045_; -v_a_6042_ = lean_ctor_get(v___x_6041_, 0); -lean_inc(v_a_6042_); -lean_dec_ref(v___x_6041_); -v___x_6043_ = lean_array_push(v_b_6030_, v_a_6042_); -v___x_6044_ = lean_unsigned_to_nat(1u); -v___x_6045_ = lean_nat_add(v_a_6029_, v___x_6044_); -lean_dec(v_a_6029_); -v_a_6029_ = v___x_6045_; -v_b_6030_ = v___x_6043_; -goto _start; -} -else -{ -lean_object* v_a_6047_; lean_object* v___x_6049_; uint8_t v_isShared_6050_; uint8_t v_isSharedCheck_6054_; -lean_dec(v___y_6036_); -lean_dec_ref(v___y_6035_); -lean_dec(v___y_6034_); -lean_dec_ref(v___y_6033_); -lean_dec(v___y_6032_); -lean_dec_ref(v_b_6030_); -lean_dec(v_a_6029_); -v_a_6047_ = lean_ctor_get(v___x_6041_, 0); -v_isSharedCheck_6054_ = !lean_is_exclusive(v___x_6041_); -if (v_isSharedCheck_6054_ == 0) -{ -v___x_6049_ = v___x_6041_; -v_isShared_6050_ = v_isSharedCheck_6054_; -goto v_resetjp_6048_; -} -else -{ -lean_inc(v_a_6047_); -lean_dec(v___x_6041_); -v___x_6049_ = lean_box(0); -v_isShared_6050_ = v_isSharedCheck_6054_; -goto v_resetjp_6048_; -} -v_resetjp_6048_: -{ -lean_object* v___x_6052_; -if (v_isShared_6050_ == 0) -{ -v___x_6052_ = v___x_6049_; -goto v_reusejp_6051_; -} -else -{ -lean_object* v_reuseFailAlloc_6053_; -v_reuseFailAlloc_6053_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6053_, 0, v_a_6047_); -v___x_6052_ = v_reuseFailAlloc_6053_; -goto v_reusejp_6051_; -} -v_reusejp_6051_: -{ -return v___x_6052_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object* v_app_6055_, lean_object* v_args_6056_, lean_object* v_arity_6057_, uint8_t v_a_6058_, lean_object* v_a_6059_, lean_object* v_a_6060_, lean_object* v_a_6061_, lean_object* v_a_6062_, lean_object* v_a_6063_){ -_start: -{ -lean_object* v___x_6065_; uint8_t v___x_6066_; -v___x_6065_ = lean_array_get_size(v_args_6056_); -v___x_6066_ = lean_nat_dec_eq(v___x_6065_, v_arity_6057_); -if (v___x_6066_ == 0) -{ -if (lean_obj_tag(v_app_6055_) == 1) -{ -lean_object* v_fvarId_6067_; lean_object* v_argsNew_6068_; lean_object* v___x_6069_; -v_fvarId_6067_ = lean_ctor_get(v_app_6055_, 0); -lean_inc(v_fvarId_6067_); -lean_dec_ref(v_app_6055_); -v_argsNew_6068_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0)); -lean_inc(v_a_6063_); -lean_inc_ref(v_a_6062_); -lean_inc(v_a_6061_); -lean_inc_ref(v_a_6060_); -lean_inc(v_a_6059_); -v___x_6069_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v___x_6065_, v_args_6056_, v_arity_6057_, v_argsNew_6068_, v_a_6058_, v_a_6059_, v_a_6060_, v_a_6061_, v_a_6062_, v_a_6063_); -if (lean_obj_tag(v___x_6069_) == 0) -{ -lean_object* v_a_6070_; lean_object* v___x_6071_; lean_object* v___x_6072_; lean_object* v___x_6073_; -v_a_6070_ = lean_ctor_get(v___x_6069_, 0); -lean_inc(v_a_6070_); -lean_dec_ref(v___x_6069_); -v___x_6071_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_6071_, 0, v_fvarId_6067_); -lean_ctor_set(v___x_6071_, 1, v_a_6070_); -v___x_6072_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_6073_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_6071_, v___x_6072_, v_a_6059_, v_a_6060_, v_a_6061_, v_a_6062_, v_a_6063_); -lean_dec(v_a_6059_); -return v___x_6073_; -} -else -{ -lean_object* v_a_6074_; lean_object* v___x_6076_; uint8_t v_isShared_6077_; uint8_t v_isSharedCheck_6081_; -lean_dec(v_fvarId_6067_); -lean_dec(v_a_6063_); -lean_dec_ref(v_a_6062_); -lean_dec(v_a_6061_); -lean_dec_ref(v_a_6060_); -lean_dec(v_a_6059_); -v_a_6074_ = lean_ctor_get(v___x_6069_, 0); -v_isSharedCheck_6081_ = !lean_is_exclusive(v___x_6069_); -if (v_isSharedCheck_6081_ == 0) -{ -v___x_6076_ = v___x_6069_; -v_isShared_6077_ = v_isSharedCheck_6081_; -goto v_resetjp_6075_; -} -else -{ -lean_inc(v_a_6074_); -lean_dec(v___x_6069_); -v___x_6076_ = lean_box(0); -v_isShared_6077_ = v_isSharedCheck_6081_; -goto v_resetjp_6075_; -} -v_resetjp_6075_: -{ -lean_object* v___x_6079_; -if (v_isShared_6077_ == 0) -{ -v___x_6079_ = v___x_6076_; -goto v_reusejp_6078_; -} -else -{ -lean_object* v_reuseFailAlloc_6080_; -v_reuseFailAlloc_6080_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6080_, 0, v_a_6074_); -v___x_6079_ = v_reuseFailAlloc_6080_; -goto v_reusejp_6078_; -} -v_reusejp_6078_: -{ -return v___x_6079_; -} -} -} -} -else -{ -lean_object* v___x_6082_; lean_object* v___x_6083_; -lean_dec(v_a_6063_); -lean_dec_ref(v_a_6062_); -lean_dec(v_a_6061_); -lean_dec_ref(v_a_6060_); -lean_dec(v_a_6059_); -lean_dec(v_arity_6057_); -lean_dec(v_app_6055_); -v___x_6082_ = lean_box(0); -v___x_6083_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6083_, 0, v___x_6082_); -return v___x_6083_; -} -} -else -{ -lean_object* v___x_6084_; -lean_dec(v_a_6063_); -lean_dec_ref(v_a_6062_); -lean_dec(v_a_6061_); -lean_dec_ref(v_a_6060_); -lean_dec(v_a_6059_); -lean_dec(v_arity_6057_); -v___x_6084_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6084_, 0, v_app_6055_); -return v___x_6084_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(lean_object* v_casesAltInfo_6085_, lean_object* v_e_6086_, uint8_t v___y_6087_, lean_object* v___y_6088_, lean_object* v___y_6089_, lean_object* v___y_6090_, lean_object* v___y_6091_, lean_object* v___y_6092_){ -_start: -{ -if (lean_obj_tag(v_casesAltInfo_6085_) == 0) -{ -lean_object* v_ctorName_6094_; lean_object* v_numFields_6095_; lean_object* v___x_6097_; uint8_t v_isShared_6098_; uint8_t v_isSharedCheck_6200_; -v_ctorName_6094_ = lean_ctor_get(v_casesAltInfo_6085_, 0); -v_numFields_6095_ = lean_ctor_get(v_casesAltInfo_6085_, 1); -v_isSharedCheck_6200_ = !lean_is_exclusive(v_casesAltInfo_6085_); -if (v_isSharedCheck_6200_ == 0) -{ -v___x_6097_ = v_casesAltInfo_6085_; -v_isShared_6098_ = v_isSharedCheck_6200_; -goto v_resetjp_6096_; -} -else -{ -lean_inc(v_numFields_6095_); -lean_inc(v_ctorName_6094_); -lean_dec(v_casesAltInfo_6085_); -v___x_6097_ = lean_box(0); -v_isShared_6098_ = v_isSharedCheck_6200_; -goto v_resetjp_6096_; -} -v_resetjp_6096_: -{ -lean_object* v_ps_6100_; lean_object* v_e_6101_; uint8_t v___y_6102_; lean_object* v___y_6103_; lean_object* v___y_6104_; lean_object* v___y_6105_; lean_object* v___y_6106_; lean_object* v___y_6107_; lean_object* v___x_6162_; -lean_inc(v___y_6092_); -lean_inc_ref(v___y_6091_); -lean_inc(v_numFields_6095_); -v___x_6162_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_6086_, v_numFields_6095_, v___y_6088_, v___y_6089_, v___y_6090_, v___y_6091_, v___y_6092_); -if (lean_obj_tag(v___x_6162_) == 0) -{ -lean_object* v_a_6163_; lean_object* v_fst_6164_; lean_object* v_snd_6165_; lean_object* v___x_6166_; uint8_t v___x_6167_; -v_a_6163_ = lean_ctor_get(v___x_6162_, 0); -lean_inc(v_a_6163_); -lean_dec_ref(v___x_6162_); -v_fst_6164_ = lean_ctor_get(v_a_6163_, 0); -lean_inc(v_fst_6164_); -v_snd_6165_ = lean_ctor_get(v_a_6163_, 1); -lean_inc(v_snd_6165_); -lean_dec(v_a_6163_); -v___x_6166_ = lean_array_get_size(v_fst_6164_); -v___x_6167_ = lean_nat_dec_lt(v___x_6166_, v_numFields_6095_); -if (v___x_6167_ == 0) -{ -lean_dec(v_numFields_6095_); -v_ps_6100_ = v_fst_6164_; -v_e_6101_ = v_snd_6165_; -v___y_6102_ = v___y_6087_; -v___y_6103_ = v___y_6088_; -v___y_6104_ = v___y_6089_; -v___y_6105_ = v___y_6090_; -v___y_6106_ = v___y_6091_; -v___y_6107_ = v___y_6092_; -goto v___jp_6099_; -} -else -{ -lean_object* v___x_6168_; lean_object* v___x_6169_; -v___x_6168_ = lean_nat_sub(v_numFields_6095_, v___x_6166_); -lean_dec(v_numFields_6095_); -lean_inc(v___y_6092_); -lean_inc_ref(v___y_6091_); -v___x_6169_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_snd_6165_, v___x_6168_, v___y_6088_, v___y_6091_, v___y_6092_); -if (lean_obj_tag(v___x_6169_) == 0) -{ -lean_object* v_a_6170_; lean_object* v___x_6171_; -v_a_6170_ = lean_ctor_get(v___x_6169_, 0); -lean_inc(v_a_6170_); -lean_dec_ref(v___x_6169_); -lean_inc(v___y_6092_); -lean_inc_ref(v___y_6091_); -v___x_6171_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(v_a_6170_, v___y_6088_, v___y_6089_, v___y_6090_, v___y_6091_, v___y_6092_); -if (lean_obj_tag(v___x_6171_) == 0) -{ -lean_object* v_a_6172_; lean_object* v_fst_6173_; lean_object* v_snd_6174_; lean_object* v___x_6175_; -v_a_6172_ = lean_ctor_get(v___x_6171_, 0); -lean_inc(v_a_6172_); -lean_dec_ref(v___x_6171_); -v_fst_6173_ = lean_ctor_get(v_a_6172_, 0); -lean_inc(v_fst_6173_); -v_snd_6174_ = lean_ctor_get(v_a_6172_, 1); -lean_inc(v_snd_6174_); -lean_dec(v_a_6172_); -v___x_6175_ = l_Array_append___redArg(v_fst_6164_, v_fst_6173_); -lean_dec(v_fst_6173_); -v_ps_6100_ = v___x_6175_; -v_e_6101_ = v_snd_6174_; -v___y_6102_ = v___y_6087_; -v___y_6103_ = v___y_6088_; -v___y_6104_ = v___y_6089_; -v___y_6105_ = v___y_6090_; -v___y_6106_ = v___y_6091_; -v___y_6107_ = v___y_6092_; -goto v___jp_6099_; -} -else -{ -lean_object* v_a_6176_; lean_object* v___x_6178_; uint8_t v_isShared_6179_; uint8_t v_isSharedCheck_6183_; -lean_dec(v_fst_6164_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -lean_dec(v___y_6092_); -lean_dec_ref(v___y_6091_); -lean_dec(v___y_6090_); -lean_dec_ref(v___y_6089_); -lean_dec(v___y_6088_); -v_a_6176_ = lean_ctor_get(v___x_6171_, 0); -v_isSharedCheck_6183_ = !lean_is_exclusive(v___x_6171_); -if (v_isSharedCheck_6183_ == 0) -{ -v___x_6178_ = v___x_6171_; -v_isShared_6179_ = v_isSharedCheck_6183_; -goto v_resetjp_6177_; -} -else -{ -lean_inc(v_a_6176_); -lean_dec(v___x_6171_); -v___x_6178_ = lean_box(0); -v_isShared_6179_ = v_isSharedCheck_6183_; -goto v_resetjp_6177_; -} -v_resetjp_6177_: -{ -lean_object* v___x_6181_; -if (v_isShared_6179_ == 0) -{ -v___x_6181_ = v___x_6178_; -goto v_reusejp_6180_; -} -else -{ -lean_object* v_reuseFailAlloc_6182_; -v_reuseFailAlloc_6182_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6182_, 0, v_a_6176_); -v___x_6181_ = v_reuseFailAlloc_6182_; -goto v_reusejp_6180_; -} -v_reusejp_6180_: -{ -return v___x_6181_; -} -} -} -} -else -{ -lean_object* v_a_6184_; lean_object* v___x_6186_; uint8_t v_isShared_6187_; uint8_t v_isSharedCheck_6191_; -lean_dec(v_fst_6164_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -lean_dec(v___y_6092_); -lean_dec_ref(v___y_6091_); -lean_dec(v___y_6090_); -lean_dec_ref(v___y_6089_); -lean_dec(v___y_6088_); -v_a_6184_ = lean_ctor_get(v___x_6169_, 0); -v_isSharedCheck_6191_ = !lean_is_exclusive(v___x_6169_); -if (v_isSharedCheck_6191_ == 0) -{ -v___x_6186_ = v___x_6169_; -v_isShared_6187_ = v_isSharedCheck_6191_; -goto v_resetjp_6185_; -} -else -{ -lean_inc(v_a_6184_); -lean_dec(v___x_6169_); -v___x_6186_ = lean_box(0); -v_isShared_6187_ = v_isSharedCheck_6191_; -goto v_resetjp_6185_; -} -v_resetjp_6185_: -{ -lean_object* v___x_6189_; -if (v_isShared_6187_ == 0) -{ -v___x_6189_ = v___x_6186_; -goto v_reusejp_6188_; -} -else -{ -lean_object* v_reuseFailAlloc_6190_; -v_reuseFailAlloc_6190_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6190_, 0, v_a_6184_); -v___x_6189_ = v_reuseFailAlloc_6190_; -goto v_reusejp_6188_; -} -v_reusejp_6188_: -{ -return v___x_6189_; -} -} -} -} -} -else -{ -lean_object* v_a_6192_; lean_object* v___x_6194_; uint8_t v_isShared_6195_; uint8_t v_isSharedCheck_6199_; -lean_del_object(v___x_6097_); -lean_dec(v_numFields_6095_); -lean_dec(v_ctorName_6094_); -lean_dec(v___y_6092_); -lean_dec_ref(v___y_6091_); -lean_dec(v___y_6090_); -lean_dec_ref(v___y_6089_); -lean_dec(v___y_6088_); -v_a_6192_ = lean_ctor_get(v___x_6162_, 0); -v_isSharedCheck_6199_ = !lean_is_exclusive(v___x_6162_); -if (v_isSharedCheck_6199_ == 0) -{ -v___x_6194_ = v___x_6162_; -v_isShared_6195_ = v_isSharedCheck_6199_; -goto v_resetjp_6193_; -} -else -{ -lean_inc(v_a_6192_); -lean_dec(v___x_6162_); -v___x_6194_ = lean_box(0); -v_isShared_6195_ = v_isSharedCheck_6199_; -goto v_resetjp_6193_; -} -v_resetjp_6193_: -{ -lean_object* v___x_6197_; -if (v_isShared_6195_ == 0) -{ -v___x_6197_ = v___x_6194_; -goto v_reusejp_6196_; -} -else -{ -lean_object* v_reuseFailAlloc_6198_; -v_reuseFailAlloc_6198_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6198_, 0, v_a_6192_); -v___x_6197_ = v_reuseFailAlloc_6198_; -goto v_reusejp_6196_; -} -v_reusejp_6196_: -{ -return v___x_6197_; -} -} -} -v___jp_6099_: -{ -size_t v_sz_6108_; size_t v___x_6109_; lean_object* v___x_6110_; -v_sz_6108_ = lean_array_size(v_ps_6100_); -v___x_6109_ = ((size_t)0ULL); -lean_inc(v___y_6107_); -lean_inc_ref(v___y_6106_); -lean_inc(v___y_6105_); -lean_inc_ref(v___y_6104_); -v___x_6110_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_6108_, v___x_6109_, v_ps_6100_, v___y_6103_, v___y_6104_, v___y_6105_, v___y_6106_, v___y_6107_); -if (lean_obj_tag(v___x_6110_) == 0) -{ -lean_object* v_a_6111_; lean_object* v___x_6112_; -v_a_6111_ = lean_ctor_get(v___x_6110_, 0); -lean_inc(v_a_6111_); -lean_dec_ref(v___x_6110_); -lean_inc(v___y_6107_); -lean_inc_ref(v___y_6106_); -lean_inc(v___y_6105_); -lean_inc_ref(v___y_6104_); -lean_inc(v___y_6103_); -v___x_6112_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_6101_, v___y_6102_, v___y_6103_, v___y_6104_, v___y_6105_, v___y_6106_, v___y_6107_); -if (lean_obj_tag(v___x_6112_) == 0) -{ -lean_object* v_a_6113_; lean_object* v___x_6114_; -v_a_6113_ = lean_ctor_get(v___x_6112_, 0); -lean_inc(v_a_6113_); -lean_dec_ref(v___x_6112_); -lean_inc(v___y_6107_); -lean_inc_ref(v___y_6106_); -lean_inc(v___y_6105_); -lean_inc_ref(v___y_6104_); -v___x_6114_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_6113_, v___y_6103_, v___y_6104_, v___y_6105_, v___y_6106_, v___y_6107_); -lean_dec(v___y_6103_); -if (lean_obj_tag(v___x_6114_) == 0) -{ -lean_object* v_a_6115_; uint8_t v___x_6116_; lean_object* v___x_6117_; -v_a_6115_ = lean_ctor_get(v___x_6114_, 0); -lean_inc(v_a_6115_); -lean_dec_ref(v___x_6114_); -v___x_6116_ = 0; -lean_inc(v_a_6115_); -v___x_6117_ = l_Lean_Compiler_LCNF_Code_inferType(v___x_6116_, v_a_6115_, v___y_6104_, v___y_6105_, v___y_6106_, v___y_6107_); -if (lean_obj_tag(v___x_6117_) == 0) -{ -lean_object* v_a_6118_; lean_object* v___x_6120_; uint8_t v_isShared_6121_; uint8_t v_isSharedCheck_6129_; -v_a_6118_ = lean_ctor_get(v___x_6117_, 0); -v_isSharedCheck_6129_ = !lean_is_exclusive(v___x_6117_); -if (v_isSharedCheck_6129_ == 0) -{ -v___x_6120_ = v___x_6117_; -v_isShared_6121_ = v_isSharedCheck_6129_; -goto v_resetjp_6119_; -} -else -{ -lean_inc(v_a_6118_); -lean_dec(v___x_6117_); -v___x_6120_ = lean_box(0); -v_isShared_6121_ = v_isSharedCheck_6129_; -goto v_resetjp_6119_; -} -v_resetjp_6119_: -{ -lean_object* v___x_6122_; lean_object* v___x_6124_; -v___x_6122_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_6122_, 0, v_ctorName_6094_); -lean_ctor_set(v___x_6122_, 1, v_a_6111_); -lean_ctor_set(v___x_6122_, 2, v_a_6115_); -if (v_isShared_6098_ == 0) -{ -lean_ctor_set(v___x_6097_, 1, v___x_6122_); -lean_ctor_set(v___x_6097_, 0, v_a_6118_); -v___x_6124_ = v___x_6097_; -goto v_reusejp_6123_; -} -else -{ -lean_object* v_reuseFailAlloc_6128_; -v_reuseFailAlloc_6128_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6128_, 0, v_a_6118_); -lean_ctor_set(v_reuseFailAlloc_6128_, 1, v___x_6122_); -v___x_6124_ = v_reuseFailAlloc_6128_; -goto v_reusejp_6123_; -} -v_reusejp_6123_: -{ -lean_object* v___x_6126_; -if (v_isShared_6121_ == 0) -{ -lean_ctor_set(v___x_6120_, 0, v___x_6124_); -v___x_6126_ = v___x_6120_; +lean_object* v___x_6124_; lean_object* v___x_6126_; +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6087_); +lean_dec_ref(v_e_6085_); +v___x_6124_ = lean_box(0); +if (v_isShared_6104_ == 0) +{ +lean_ctor_set(v___x_6103_, 0, v___x_6124_); +v___x_6126_ = v___x_6103_; goto v_reusejp_6125_; } else @@ -20603,453 +20474,229 @@ return v___x_6126_; } else { -lean_object* v_a_6130_; lean_object* v___x_6132_; uint8_t v_isShared_6133_; uint8_t v_isSharedCheck_6137_; -lean_dec(v_a_6115_); -lean_dec(v_a_6111_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -v_a_6130_ = lean_ctor_get(v___x_6117_, 0); -v_isSharedCheck_6137_ = !lean_is_exclusive(v___x_6117_); -if (v_isSharedCheck_6137_ == 0) +lean_object* v_a_6129_; lean_object* v___x_6131_; uint8_t v_isShared_6132_; uint8_t v_isSharedCheck_6136_; +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6087_); +lean_dec_ref(v_e_6085_); +v_a_6129_ = lean_ctor_get(v___x_6100_, 0); +v_isSharedCheck_6136_ = !lean_is_exclusive(v___x_6100_); +if (v_isSharedCheck_6136_ == 0) { -v___x_6132_ = v___x_6117_; -v_isShared_6133_ = v_isSharedCheck_6137_; -goto v_resetjp_6131_; +v___x_6131_ = v___x_6100_; +v_isShared_6132_ = v_isSharedCheck_6136_; +goto v_resetjp_6130_; } else { -lean_inc(v_a_6130_); -lean_dec(v___x_6117_); -v___x_6132_ = lean_box(0); -v_isShared_6133_ = v_isSharedCheck_6137_; -goto v_resetjp_6131_; +lean_inc(v_a_6129_); +lean_dec(v___x_6100_); +v___x_6131_ = lean_box(0); +v_isShared_6132_ = v_isSharedCheck_6136_; +goto v_resetjp_6130_; } -v_resetjp_6131_: +v_resetjp_6130_: { -lean_object* v___x_6135_; -if (v_isShared_6133_ == 0) +lean_object* v___x_6134_; +if (v_isShared_6132_ == 0) { -v___x_6135_ = v___x_6132_; -goto v_reusejp_6134_; +v___x_6134_ = v___x_6131_; +goto v_reusejp_6133_; } else { -lean_object* v_reuseFailAlloc_6136_; -v_reuseFailAlloc_6136_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6136_, 0, v_a_6130_); -v___x_6135_ = v_reuseFailAlloc_6136_; -goto v_reusejp_6134_; +lean_object* v_reuseFailAlloc_6135_; +v_reuseFailAlloc_6135_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6135_, 0, v_a_6129_); +v___x_6134_ = v_reuseFailAlloc_6135_; +goto v_reusejp_6133_; } -v_reusejp_6134_: +v_reusejp_6133_: { -return v___x_6135_; +return v___x_6134_; +} } } } } else { -lean_object* v_a_6138_; lean_object* v___x_6140_; uint8_t v_isShared_6141_; uint8_t v_isSharedCheck_6145_; -lean_dec(v_a_6111_); -lean_dec(v___y_6107_); -lean_dec_ref(v___y_6106_); -lean_dec(v___y_6105_); -lean_dec_ref(v___y_6104_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -v_a_6138_ = lean_ctor_get(v___x_6114_, 0); -v_isSharedCheck_6145_ = !lean_is_exclusive(v___x_6114_); -if (v_isSharedCheck_6145_ == 0) +lean_object* v_a_6137_; lean_object* v___x_6139_; uint8_t v_isShared_6140_; uint8_t v_isSharedCheck_6144_; +lean_dec_ref(v___y_6094_); +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec(v_a_6087_); +lean_dec_ref(v_a_6086_); +lean_dec_ref(v_e_6085_); +v_a_6137_ = lean_ctor_get(v___x_6096_, 0); +v_isSharedCheck_6144_ = !lean_is_exclusive(v___x_6096_); +if (v_isSharedCheck_6144_ == 0) { -v___x_6140_ = v___x_6114_; -v_isShared_6141_ = v_isSharedCheck_6145_; -goto v_resetjp_6139_; +v___x_6139_ = v___x_6096_; +v_isShared_6140_ = v_isSharedCheck_6144_; +goto v_resetjp_6138_; } else { -lean_inc(v_a_6138_); -lean_dec(v___x_6114_); -v___x_6140_ = lean_box(0); -v_isShared_6141_ = v_isSharedCheck_6145_; -goto v_resetjp_6139_; +lean_inc(v_a_6137_); +lean_dec(v___x_6096_); +v___x_6139_ = lean_box(0); +v_isShared_6140_ = v_isSharedCheck_6144_; +goto v_resetjp_6138_; } -v_resetjp_6139_: +v_resetjp_6138_: { -lean_object* v___x_6143_; -if (v_isShared_6141_ == 0) +lean_object* v___x_6142_; +if (v_isShared_6140_ == 0) { -v___x_6143_ = v___x_6140_; -goto v_reusejp_6142_; +v___x_6142_ = v___x_6139_; +goto v_reusejp_6141_; } else { -lean_object* v_reuseFailAlloc_6144_; -v_reuseFailAlloc_6144_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6144_, 0, v_a_6138_); -v___x_6143_ = v_reuseFailAlloc_6144_; -goto v_reusejp_6142_; +lean_object* v_reuseFailAlloc_6143_; +v_reuseFailAlloc_6143_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6143_, 0, v_a_6137_); +v___x_6142_ = v_reuseFailAlloc_6143_; +goto v_reusejp_6141_; } -v_reusejp_6142_: +v_reusejp_6141_: { -return v___x_6143_; +return v___x_6142_; } } } } else { -lean_object* v_a_6146_; lean_object* v___x_6148_; uint8_t v_isShared_6149_; uint8_t v_isSharedCheck_6153_; -lean_dec(v_a_6111_); -lean_dec(v___y_6107_); -lean_dec_ref(v___y_6106_); -lean_dec(v___y_6105_); -lean_dec_ref(v___y_6104_); -lean_dec(v___y_6103_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -v_a_6146_ = lean_ctor_get(v___x_6112_, 0); -v_isSharedCheck_6153_ = !lean_is_exclusive(v___x_6112_); -if (v_isSharedCheck_6153_ == 0) -{ -v___x_6148_ = v___x_6112_; -v_isShared_6149_ = v_isSharedCheck_6153_; -goto v_resetjp_6147_; -} -else -{ -lean_inc(v_a_6146_); -lean_dec(v___x_6112_); -v___x_6148_ = lean_box(0); -v_isShared_6149_ = v_isSharedCheck_6153_; -goto v_resetjp_6147_; -} -v_resetjp_6147_: -{ -lean_object* v___x_6151_; -if (v_isShared_6149_ == 0) -{ -v___x_6151_ = v___x_6148_; -goto v_reusejp_6150_; -} -else -{ -lean_object* v_reuseFailAlloc_6152_; -v_reuseFailAlloc_6152_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6152_, 0, v_a_6146_); -v___x_6151_ = v_reuseFailAlloc_6152_; -goto v_reusejp_6150_; -} -v_reusejp_6150_: -{ -return v___x_6151_; +lean_object* v___x_6145_; lean_object* v___x_6146_; +lean_dec_ref(v___y_6094_); +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec(v_a_6087_); +lean_dec_ref(v_a_6086_); +lean_dec_ref(v_e_6085_); +v___x_6145_ = lean_box(0); +v___x_6146_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6146_, 0, v___x_6145_); +return v___x_6146_; } } -} -} -else +v___jp_6148_: { -lean_object* v_a_6154_; lean_object* v___x_6156_; uint8_t v_isShared_6157_; uint8_t v_isSharedCheck_6161_; -lean_dec(v___y_6107_); -lean_dec_ref(v___y_6106_); -lean_dec(v___y_6105_); -lean_dec_ref(v___y_6104_); -lean_dec(v___y_6103_); -lean_dec_ref(v_e_6101_); -lean_del_object(v___x_6097_); -lean_dec(v_ctorName_6094_); -v_a_6154_ = lean_ctor_get(v___x_6110_, 0); -v_isSharedCheck_6161_ = !lean_is_exclusive(v___x_6110_); -if (v_isSharedCheck_6161_ == 0) -{ -v___x_6156_ = v___x_6110_; -v_isShared_6157_ = v_isSharedCheck_6161_; -goto v_resetjp_6155_; -} -else -{ -lean_inc(v_a_6154_); -lean_dec(v___x_6110_); +lean_object* v___x_6150_; lean_object* v_lctx_6151_; lean_object* v___x_6152_; lean_object* v___x_6153_; lean_object* v___x_6154_; lean_object* v___x_6155_; lean_object* v___x_6156_; uint8_t v___x_6157_; lean_object* v___x_6158_; lean_object* v___x_6159_; lean_object* v___x_6160_; lean_object* v___x_6161_; lean_object* v___x_6162_; lean_object* v___x_6163_; +v___x_6150_ = lean_st_ref_get(v_a_6087_); +v_lctx_6151_ = lean_ctor_get(v___x_6150_, 0); +lean_inc_ref(v_lctx_6151_); +lean_dec(v___x_6150_); +v___x_6152_ = lean_box(1); +v___x_6153_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_6154_ = lean_unsigned_to_nat(0u); +v___x_6155_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); v___x_6156_ = lean_box(0); -v_isShared_6157_ = v_isSharedCheck_6161_; -goto v_resetjp_6155_; -} -v_resetjp_6155_: +v___x_6157_ = 1; +v___x_6158_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_6158_, 0, v___x_6153_); +lean_ctor_set(v___x_6158_, 1, v___x_6152_); +lean_ctor_set(v___x_6158_, 2, v_lctx_6151_); +lean_ctor_set(v___x_6158_, 3, v___x_6155_); +lean_ctor_set(v___x_6158_, 4, v___x_6156_); +lean_ctor_set(v___x_6158_, 5, v___x_6154_); +lean_ctor_set(v___x_6158_, 6, v___x_6156_); +lean_ctor_set_uint8(v___x_6158_, sizeof(void*)*7, v___x_6147_); +lean_ctor_set_uint8(v___x_6158_, sizeof(void*)*7 + 1, v___x_6147_); +lean_ctor_set_uint8(v___x_6158_, sizeof(void*)*7 + 2, v___x_6147_); +lean_ctor_set_uint8(v___x_6158_, sizeof(void*)*7 + 3, v___x_6157_); +v___x_6159_ = lean_unsigned_to_nat(32u); +v___x_6160_ = lean_mk_empty_array_with_capacity(v___x_6159_); +lean_dec_ref(v___x_6160_); +v___x_6161_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_6162_ = lean_st_mk_ref(v___x_6161_); +lean_inc(v_a_6091_); +lean_inc_ref(v_a_6090_); +lean_inc(v___x_6162_); +lean_inc_ref(v_a_6149_); +v___x_6163_ = l_Lean_Meta_isProp(v_a_6149_, v___x_6158_, v___x_6162_, v_a_6090_, v_a_6091_); +if (lean_obj_tag(v___x_6163_) == 0) { -lean_object* v___x_6159_; -if (v_isShared_6157_ == 0) -{ -v___x_6159_ = v___x_6156_; -goto v_reusejp_6158_; +lean_object* v_a_6164_; lean_object* v___x_6165_; uint8_t v___x_6166_; +v_a_6164_ = lean_ctor_get(v___x_6163_, 0); +lean_inc(v_a_6164_); +lean_dec_ref(v___x_6163_); +v___x_6165_ = lean_st_ref_get(v___x_6162_); +lean_dec(v___x_6162_); +lean_dec(v___x_6165_); +v___x_6166_ = lean_unbox(v_a_6164_); +lean_dec(v_a_6164_); +v___y_6094_ = v_a_6149_; +v_a_6095_ = v___x_6166_; +goto v___jp_6093_; } else { -lean_object* v_reuseFailAlloc_6160_; -v_reuseFailAlloc_6160_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6160_, 0, v_a_6154_); -v___x_6159_ = v_reuseFailAlloc_6160_; -goto v_reusejp_6158_; -} -v_reusejp_6158_: +lean_dec(v___x_6162_); +if (lean_obj_tag(v___x_6163_) == 0) { -return v___x_6159_; -} -} -} -} -} +lean_object* v_a_6167_; uint8_t v___x_6168_; +v_a_6167_ = lean_ctor_get(v___x_6163_, 0); +lean_inc(v_a_6167_); +lean_dec_ref(v___x_6163_); +v___x_6168_ = lean_unbox(v_a_6167_); +lean_dec(v_a_6167_); +v___y_6094_ = v_a_6149_; +v_a_6095_ = v___x_6168_; +goto v___jp_6093_; } else { -lean_object* v_numHyps_6201_; lean_object* v___x_6203_; uint8_t v_isShared_6204_; uint8_t v_isSharedCheck_6250_; -v_numHyps_6201_ = lean_ctor_get(v_casesAltInfo_6085_, 0); -v_isSharedCheck_6250_ = !lean_is_exclusive(v_casesAltInfo_6085_); -if (v_isSharedCheck_6250_ == 0) +lean_object* v_a_6169_; lean_object* v___x_6171_; uint8_t v_isShared_6172_; uint8_t v_isSharedCheck_6176_; +lean_dec_ref(v_a_6149_); +lean_dec(v_a_6091_); +lean_dec_ref(v_a_6090_); +lean_dec(v_a_6089_); +lean_dec_ref(v_a_6088_); +lean_dec(v_a_6087_); +lean_dec_ref(v_a_6086_); +lean_dec_ref(v_e_6085_); +v_a_6169_ = lean_ctor_get(v___x_6163_, 0); +v_isSharedCheck_6176_ = !lean_is_exclusive(v___x_6163_); +if (v_isSharedCheck_6176_ == 0) { -v___x_6203_ = v_casesAltInfo_6085_; -v_isShared_6204_ = v_isSharedCheck_6250_; -goto v_resetjp_6202_; +v___x_6171_ = v___x_6163_; +v_isShared_6172_ = v_isSharedCheck_6176_; +goto v_resetjp_6170_; } else { -lean_inc(v_numHyps_6201_); -lean_dec(v_casesAltInfo_6085_); -v___x_6203_ = lean_box(0); -v_isShared_6204_ = v_isSharedCheck_6250_; -goto v_resetjp_6202_; +lean_inc(v_a_6169_); +lean_dec(v___x_6163_); +v___x_6171_ = lean_box(0); +v_isShared_6172_ = v_isSharedCheck_6176_; +goto v_resetjp_6170_; } -v_resetjp_6202_: +v_resetjp_6170_: { -lean_object* v___x_6205_; lean_object* v___x_6206_; lean_object* v___x_6207_; lean_object* v___x_6208_; -v___x_6205_ = l_Lean_Compiler_LCNF_erasedExpr; -v___x_6206_ = lean_mk_array(v_numHyps_6201_, v___x_6205_); -v___x_6207_ = l_Lean_mkAppN(v_e_6086_, v___x_6206_); -lean_dec_ref(v___x_6206_); -lean_inc(v___y_6092_); -lean_inc_ref(v___y_6091_); -lean_inc(v___y_6090_); -lean_inc_ref(v___y_6089_); -lean_inc(v___y_6088_); -v___x_6208_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6207_, v___y_6087_, v___y_6088_, v___y_6089_, v___y_6090_, v___y_6091_, v___y_6092_); -if (lean_obj_tag(v___x_6208_) == 0) +lean_object* v___x_6174_; +if (v_isShared_6172_ == 0) { -lean_object* v_a_6209_; lean_object* v___x_6210_; -v_a_6209_ = lean_ctor_get(v___x_6208_, 0); -lean_inc(v_a_6209_); -lean_dec_ref(v___x_6208_); -lean_inc(v___y_6092_); -lean_inc_ref(v___y_6091_); -lean_inc(v___y_6090_); -lean_inc_ref(v___y_6089_); -v___x_6210_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_6209_, v___y_6088_, v___y_6089_, v___y_6090_, v___y_6091_, v___y_6092_); -lean_dec(v___y_6088_); -if (lean_obj_tag(v___x_6210_) == 0) -{ -lean_object* v_a_6211_; uint8_t v___x_6212_; lean_object* v___x_6213_; -v_a_6211_ = lean_ctor_get(v___x_6210_, 0); -lean_inc(v_a_6211_); -lean_dec_ref(v___x_6210_); -v___x_6212_ = 0; -lean_inc(v_a_6211_); -v___x_6213_ = l_Lean_Compiler_LCNF_Code_inferType(v___x_6212_, v_a_6211_, v___y_6089_, v___y_6090_, v___y_6091_, v___y_6092_); -if (lean_obj_tag(v___x_6213_) == 0) -{ -lean_object* v_a_6214_; lean_object* v___x_6216_; uint8_t v_isShared_6217_; uint8_t v_isSharedCheck_6225_; -v_a_6214_ = lean_ctor_get(v___x_6213_, 0); -v_isSharedCheck_6225_ = !lean_is_exclusive(v___x_6213_); -if (v_isSharedCheck_6225_ == 0) -{ -v___x_6216_ = v___x_6213_; -v_isShared_6217_ = v_isSharedCheck_6225_; -goto v_resetjp_6215_; +v___x_6174_ = v___x_6171_; +goto v_reusejp_6173_; } else { -lean_inc(v_a_6214_); -lean_dec(v___x_6213_); -v___x_6216_ = lean_box(0); -v_isShared_6217_ = v_isSharedCheck_6225_; -goto v_resetjp_6215_; +lean_object* v_reuseFailAlloc_6175_; +v_reuseFailAlloc_6175_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6175_, 0, v_a_6169_); +v___x_6174_ = v_reuseFailAlloc_6175_; +goto v_reusejp_6173_; } -v_resetjp_6215_: +v_reusejp_6173_: { -lean_object* v___x_6219_; -if (v_isShared_6204_ == 0) -{ -lean_ctor_set_tag(v___x_6203_, 2); -lean_ctor_set(v___x_6203_, 0, v_a_6211_); -v___x_6219_ = v___x_6203_; -goto v_reusejp_6218_; -} -else -{ -lean_object* v_reuseFailAlloc_6224_; -v_reuseFailAlloc_6224_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6224_, 0, v_a_6211_); -v___x_6219_ = v_reuseFailAlloc_6224_; -goto v_reusejp_6218_; -} -v_reusejp_6218_: -{ -lean_object* v___x_6220_; lean_object* v___x_6222_; -v___x_6220_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_6220_, 0, v_a_6214_); -lean_ctor_set(v___x_6220_, 1, v___x_6219_); -if (v_isShared_6217_ == 0) -{ -lean_ctor_set(v___x_6216_, 0, v___x_6220_); -v___x_6222_ = v___x_6216_; -goto v_reusejp_6221_; -} -else -{ -lean_object* v_reuseFailAlloc_6223_; -v_reuseFailAlloc_6223_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6223_, 0, v___x_6220_); -v___x_6222_ = v_reuseFailAlloc_6223_; -goto v_reusejp_6221_; -} -v_reusejp_6221_: -{ -return v___x_6222_; -} -} -} -} -else -{ -lean_object* v_a_6226_; lean_object* v___x_6228_; uint8_t v_isShared_6229_; uint8_t v_isSharedCheck_6233_; -lean_dec(v_a_6211_); -lean_del_object(v___x_6203_); -v_a_6226_ = lean_ctor_get(v___x_6213_, 0); -v_isSharedCheck_6233_ = !lean_is_exclusive(v___x_6213_); -if (v_isSharedCheck_6233_ == 0) -{ -v___x_6228_ = v___x_6213_; -v_isShared_6229_ = v_isSharedCheck_6233_; -goto v_resetjp_6227_; -} -else -{ -lean_inc(v_a_6226_); -lean_dec(v___x_6213_); -v___x_6228_ = lean_box(0); -v_isShared_6229_ = v_isSharedCheck_6233_; -goto v_resetjp_6227_; -} -v_resetjp_6227_: -{ -lean_object* v___x_6231_; -if (v_isShared_6229_ == 0) -{ -v___x_6231_ = v___x_6228_; -goto v_reusejp_6230_; -} -else -{ -lean_object* v_reuseFailAlloc_6232_; -v_reuseFailAlloc_6232_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6232_, 0, v_a_6226_); -v___x_6231_ = v_reuseFailAlloc_6232_; -goto v_reusejp_6230_; -} -v_reusejp_6230_: -{ -return v___x_6231_; -} -} -} -} -else -{ -lean_object* v_a_6234_; lean_object* v___x_6236_; uint8_t v_isShared_6237_; uint8_t v_isSharedCheck_6241_; -lean_del_object(v___x_6203_); -lean_dec(v___y_6092_); -lean_dec_ref(v___y_6091_); -lean_dec(v___y_6090_); -lean_dec_ref(v___y_6089_); -v_a_6234_ = lean_ctor_get(v___x_6210_, 0); -v_isSharedCheck_6241_ = !lean_is_exclusive(v___x_6210_); -if (v_isSharedCheck_6241_ == 0) -{ -v___x_6236_ = v___x_6210_; -v_isShared_6237_ = v_isSharedCheck_6241_; -goto v_resetjp_6235_; -} -else -{ -lean_inc(v_a_6234_); -lean_dec(v___x_6210_); -v___x_6236_ = lean_box(0); -v_isShared_6237_ = v_isSharedCheck_6241_; -goto v_resetjp_6235_; -} -v_resetjp_6235_: -{ -lean_object* v___x_6239_; -if (v_isShared_6237_ == 0) -{ -v___x_6239_ = v___x_6236_; -goto v_reusejp_6238_; -} -else -{ -lean_object* v_reuseFailAlloc_6240_; -v_reuseFailAlloc_6240_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6240_, 0, v_a_6234_); -v___x_6239_ = v_reuseFailAlloc_6240_; -goto v_reusejp_6238_; -} -v_reusejp_6238_: -{ -return v___x_6239_; -} -} -} -} -else -{ -lean_object* v_a_6242_; lean_object* v___x_6244_; uint8_t v_isShared_6245_; uint8_t v_isSharedCheck_6249_; -lean_del_object(v___x_6203_); -lean_dec(v___y_6092_); -lean_dec_ref(v___y_6091_); -lean_dec(v___y_6090_); -lean_dec_ref(v___y_6089_); -lean_dec(v___y_6088_); -v_a_6242_ = lean_ctor_get(v___x_6208_, 0); -v_isSharedCheck_6249_ = !lean_is_exclusive(v___x_6208_); -if (v_isSharedCheck_6249_ == 0) -{ -v___x_6244_ = v___x_6208_; -v_isShared_6245_ = v_isSharedCheck_6249_; -goto v_resetjp_6243_; -} -else -{ -lean_inc(v_a_6242_); -lean_dec(v___x_6208_); -v___x_6244_ = lean_box(0); -v_isShared_6245_ = v_isSharedCheck_6249_; -goto v_resetjp_6243_; -} -v_resetjp_6243_: -{ -lean_object* v___x_6247_; -if (v_isShared_6245_ == 0) -{ -v___x_6247_ = v___x_6244_; -goto v_reusejp_6246_; -} -else -{ -lean_object* v_reuseFailAlloc_6248_; -v_reuseFailAlloc_6248_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6248_, 0, v_a_6242_); -v___x_6247_ = v_reuseFailAlloc_6248_; -goto v_reusejp_6246_; -} -v_reusejp_6246_: -{ -return v___x_6247_; +return v___x_6174_; } } } @@ -21057,284 +20704,1323 @@ return v___x_6247_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0___boxed(lean_object* v_casesAltInfo_6251_, lean_object* v_e_6252_, lean_object* v___y_6253_, lean_object* v___y_6254_, lean_object* v___y_6255_, lean_object* v___y_6256_, lean_object* v___y_6257_, lean_object* v___y_6258_, lean_object* v___y_6259_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(lean_object* v_upperBound_6204_, lean_object* v_args_6205_, lean_object* v_a_6206_, lean_object* v_b_6207_, lean_object* v___y_6208_, lean_object* v___y_6209_, lean_object* v___y_6210_, lean_object* v___y_6211_, lean_object* v___y_6212_, lean_object* v___y_6213_){ _start: { -uint8_t v___y_168326__boxed_6260_; lean_object* v_res_6261_; -v___y_168326__boxed_6260_ = lean_unbox(v___y_6253_); -v_res_6261_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(v_casesAltInfo_6251_, v_e_6252_, v___y_168326__boxed_6260_, v___y_6254_, v___y_6255_, v___y_6256_, v___y_6257_, v___y_6258_); -return v_res_6261_; +uint8_t v___x_6215_; +v___x_6215_ = lean_nat_dec_lt(v_a_6206_, v_upperBound_6204_); +if (v___x_6215_ == 0) +{ +lean_object* v___x_6216_; +lean_dec(v___y_6213_); +lean_dec_ref(v___y_6212_); +lean_dec(v___y_6211_); +lean_dec_ref(v___y_6210_); +lean_dec(v___y_6209_); +lean_dec_ref(v___y_6208_); +lean_dec(v_a_6206_); +v___x_6216_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6216_, 0, v_b_6207_); +return v___x_6216_; +} +else +{ +lean_object* v___x_6217_; lean_object* v___x_6218_; +v___x_6217_ = lean_array_fget_borrowed(v_args_6205_, v_a_6206_); +lean_inc(v___y_6213_); +lean_inc_ref(v___y_6212_); +lean_inc(v___y_6211_); +lean_inc_ref(v___y_6210_); +lean_inc(v___y_6209_); +lean_inc_ref(v___y_6208_); +lean_inc(v___x_6217_); +v___x_6218_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6217_, v___y_6208_, v___y_6209_, v___y_6210_, v___y_6211_, v___y_6212_, v___y_6213_); +if (lean_obj_tag(v___x_6218_) == 0) +{ +lean_object* v_a_6219_; lean_object* v___x_6220_; lean_object* v___x_6221_; lean_object* v___x_6222_; +v_a_6219_ = lean_ctor_get(v___x_6218_, 0); +lean_inc(v_a_6219_); +lean_dec_ref(v___x_6218_); +v___x_6220_ = lean_array_push(v_b_6207_, v_a_6219_); +v___x_6221_ = lean_unsigned_to_nat(1u); +v___x_6222_ = lean_nat_add(v_a_6206_, v___x_6221_); +lean_dec(v_a_6206_); +v_a_6206_ = v___x_6222_; +v_b_6207_ = v___x_6220_; +goto _start; +} +else +{ +lean_object* v_a_6224_; lean_object* v___x_6226_; uint8_t v_isShared_6227_; uint8_t v_isSharedCheck_6231_; +lean_dec(v___y_6213_); +lean_dec_ref(v___y_6212_); +lean_dec(v___y_6211_); +lean_dec_ref(v___y_6210_); +lean_dec(v___y_6209_); +lean_dec_ref(v___y_6208_); +lean_dec_ref(v_b_6207_); +lean_dec(v_a_6206_); +v_a_6224_ = lean_ctor_get(v___x_6218_, 0); +v_isSharedCheck_6231_ = !lean_is_exclusive(v___x_6218_); +if (v_isSharedCheck_6231_ == 0) +{ +v___x_6226_ = v___x_6218_; +v_isShared_6227_ = v_isSharedCheck_6231_; +goto v_resetjp_6225_; +} +else +{ +lean_inc(v_a_6224_); +lean_dec(v___x_6218_); +v___x_6226_ = lean_box(0); +v_isShared_6227_ = v_isSharedCheck_6231_; +goto v_resetjp_6225_; +} +v_resetjp_6225_: +{ +lean_object* v___x_6229_; +if (v_isShared_6227_ == 0) +{ +v___x_6229_ = v___x_6226_; +goto v_reusejp_6228_; +} +else +{ +lean_object* v_reuseFailAlloc_6230_; +v_reuseFailAlloc_6230_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6230_, 0, v_a_6224_); +v___x_6229_ = v_reuseFailAlloc_6230_; +goto v_reusejp_6228_; +} +v_reusejp_6228_: +{ +return v___x_6229_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object* v_casesAltInfo_6262_, lean_object* v_e_6263_, uint8_t v_a_6264_, lean_object* v_a_6265_, lean_object* v_a_6266_, lean_object* v_a_6267_, lean_object* v_a_6268_, lean_object* v_a_6269_){ +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object* v_app_6232_, lean_object* v_args_6233_, lean_object* v_arity_6234_, lean_object* v_a_6235_, lean_object* v_a_6236_, lean_object* v_a_6237_, lean_object* v_a_6238_, lean_object* v_a_6239_, lean_object* v_a_6240_){ _start: { -lean_object* v___y_6271_; lean_object* v___x_6272_; -v___y_6271_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0___boxed), 9, 2); -lean_closure_set(v___y_6271_, 0, v_casesAltInfo_6262_); -lean_closure_set(v___y_6271_, 1, v_e_6263_); -v___x_6272_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v___y_6271_, v_a_6264_, v_a_6265_, v_a_6266_, v_a_6267_, v_a_6268_, v_a_6269_); -return v___x_6272_; +lean_object* v___x_6242_; uint8_t v___x_6243_; +v___x_6242_ = lean_array_get_size(v_args_6233_); +v___x_6243_ = lean_nat_dec_eq(v___x_6242_, v_arity_6234_); +if (v___x_6243_ == 0) +{ +if (lean_obj_tag(v_app_6232_) == 1) +{ +lean_object* v_fvarId_6244_; lean_object* v_argsNew_6245_; lean_object* v___x_6246_; +v_fvarId_6244_ = lean_ctor_get(v_app_6232_, 0); +lean_inc(v_fvarId_6244_); +lean_dec_ref(v_app_6232_); +v_argsNew_6245_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg___closed__0)); +lean_inc(v_a_6240_); +lean_inc_ref(v_a_6239_); +lean_inc(v_a_6238_); +lean_inc_ref(v_a_6237_); +lean_inc(v_a_6236_); +v___x_6246_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v___x_6242_, v_args_6233_, v_arity_6234_, v_argsNew_6245_, v_a_6235_, v_a_6236_, v_a_6237_, v_a_6238_, v_a_6239_, v_a_6240_); +if (lean_obj_tag(v___x_6246_) == 0) +{ +lean_object* v_a_6247_; lean_object* v___x_6248_; lean_object* v___x_6249_; lean_object* v___x_6250_; +v_a_6247_ = lean_ctor_get(v___x_6246_, 0); +lean_inc(v_a_6247_); +lean_dec_ref(v___x_6246_); +v___x_6248_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_6248_, 0, v_fvarId_6244_); +lean_ctor_set(v___x_6248_, 1, v_a_6247_); +v___x_6249_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_6250_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_6248_, v___x_6249_, v_a_6236_, v_a_6237_, v_a_6238_, v_a_6239_, v_a_6240_); +lean_dec(v_a_6236_); +return v___x_6250_; +} +else +{ +lean_object* v_a_6251_; lean_object* v___x_6253_; uint8_t v_isShared_6254_; uint8_t v_isSharedCheck_6258_; +lean_dec(v_fvarId_6244_); +lean_dec(v_a_6240_); +lean_dec_ref(v_a_6239_); +lean_dec(v_a_6238_); +lean_dec_ref(v_a_6237_); +lean_dec(v_a_6236_); +v_a_6251_ = lean_ctor_get(v___x_6246_, 0); +v_isSharedCheck_6258_ = !lean_is_exclusive(v___x_6246_); +if (v_isSharedCheck_6258_ == 0) +{ +v___x_6253_ = v___x_6246_; +v_isShared_6254_ = v_isSharedCheck_6258_; +goto v_resetjp_6252_; +} +else +{ +lean_inc(v_a_6251_); +lean_dec(v___x_6246_); +v___x_6253_ = lean_box(0); +v_isShared_6254_ = v_isSharedCheck_6258_; +goto v_resetjp_6252_; +} +v_resetjp_6252_: +{ +lean_object* v___x_6256_; +if (v_isShared_6254_ == 0) +{ +v___x_6256_ = v___x_6253_; +goto v_reusejp_6255_; +} +else +{ +lean_object* v_reuseFailAlloc_6257_; +v_reuseFailAlloc_6257_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6257_, 0, v_a_6251_); +v___x_6256_ = v_reuseFailAlloc_6257_; +goto v_reusejp_6255_; +} +v_reusejp_6255_: +{ +return v___x_6256_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(lean_object* v_upperBound_6273_, lean_object* v_args_6274_, lean_object* v_a_6275_, lean_object* v_b_6276_, uint8_t v___y_6277_, lean_object* v___y_6278_, lean_object* v___y_6279_, lean_object* v___y_6280_, lean_object* v___y_6281_, lean_object* v___y_6282_){ +} +} +else +{ +lean_object* v___x_6259_; lean_object* v___x_6260_; +lean_dec(v_a_6240_); +lean_dec_ref(v_a_6239_); +lean_dec(v_a_6238_); +lean_dec_ref(v_a_6237_); +lean_dec(v_a_6236_); +lean_dec_ref(v_a_6235_); +lean_dec(v_arity_6234_); +lean_dec(v_app_6232_); +v___x_6259_ = lean_box(0); +v___x_6260_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6260_, 0, v___x_6259_); +return v___x_6260_; +} +} +else +{ +lean_object* v___x_6261_; +lean_dec(v_a_6240_); +lean_dec_ref(v_a_6239_); +lean_dec(v_a_6238_); +lean_dec_ref(v_a_6237_); +lean_dec(v_a_6236_); +lean_dec_ref(v_a_6235_); +lean_dec(v_arity_6234_); +v___x_6261_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6261_, 0, v_app_6232_); +return v___x_6261_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(lean_object* v_casesAltInfo_6262_, lean_object* v_e_6263_, lean_object* v___y_6264_, lean_object* v___y_6265_, lean_object* v___y_6266_, lean_object* v___y_6267_, lean_object* v___y_6268_, lean_object* v___y_6269_){ _start: { -uint8_t v___x_6284_; -v___x_6284_ = lean_nat_dec_lt(v_a_6275_, v_upperBound_6273_); -if (v___x_6284_ == 0) +if (lean_obj_tag(v_casesAltInfo_6262_) == 0) { -lean_object* v___x_6285_; -lean_dec(v___y_6282_); -lean_dec_ref(v___y_6281_); +lean_object* v_ctorName_6271_; lean_object* v_numFields_6272_; lean_object* v___x_6274_; uint8_t v_isShared_6275_; uint8_t v_isSharedCheck_6381_; +v_ctorName_6271_ = lean_ctor_get(v_casesAltInfo_6262_, 0); +v_numFields_6272_ = lean_ctor_get(v_casesAltInfo_6262_, 1); +v_isSharedCheck_6381_ = !lean_is_exclusive(v_casesAltInfo_6262_); +if (v_isSharedCheck_6381_ == 0) +{ +v___x_6274_ = v_casesAltInfo_6262_; +v_isShared_6275_ = v_isSharedCheck_6381_; +goto v_resetjp_6273_; +} +else +{ +lean_inc(v_numFields_6272_); +lean_inc(v_ctorName_6271_); +lean_dec(v_casesAltInfo_6262_); +v___x_6274_ = lean_box(0); +v_isShared_6275_ = v_isSharedCheck_6381_; +goto v_resetjp_6273_; +} +v_resetjp_6273_: +{ +lean_object* v_ps_6277_; lean_object* v_e_6278_; lean_object* v___y_6279_; lean_object* v___y_6280_; lean_object* v___y_6281_; lean_object* v___y_6282_; lean_object* v___y_6283_; lean_object* v___y_6284_; uint8_t v_ignoreNoncomputable_6339_; lean_object* v___x_6340_; +v_ignoreNoncomputable_6339_ = lean_ctor_get_uint8(v___y_6264_, sizeof(void*)*1); +lean_inc(v___y_6269_); +lean_inc_ref(v___y_6268_); +lean_inc(v_numFields_6272_); +v___x_6340_ = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___redArg(v_e_6263_, v_numFields_6272_, v___y_6265_, v___y_6266_, v___y_6267_, v___y_6268_, v___y_6269_); +if (lean_obj_tag(v___x_6340_) == 0) +{ +lean_object* v_a_6341_; lean_object* v_fst_6342_; lean_object* v_snd_6343_; lean_object* v___x_6344_; uint8_t v___x_6345_; +v_a_6341_ = lean_ctor_get(v___x_6340_, 0); +lean_inc(v_a_6341_); +lean_dec_ref(v___x_6340_); +v_fst_6342_ = lean_ctor_get(v_a_6341_, 0); +lean_inc(v_fst_6342_); +v_snd_6343_ = lean_ctor_get(v_a_6341_, 1); +lean_inc(v_snd_6343_); +lean_dec(v_a_6341_); +v___x_6344_ = lean_array_get_size(v_fst_6342_); +v___x_6345_ = lean_nat_dec_lt(v___x_6344_, v_numFields_6272_); +if (v___x_6345_ == 0) +{ +lean_dec(v_numFields_6272_); +v_ps_6277_ = v_fst_6342_; +v_e_6278_ = v_snd_6343_; +v___y_6279_ = v___y_6264_; +v___y_6280_ = v___y_6265_; +v___y_6281_ = v___y_6266_; +v___y_6282_ = v___y_6267_; +v___y_6283_ = v___y_6268_; +v___y_6284_ = v___y_6269_; +goto v___jp_6276_; +} +else +{ +lean_object* v___x_6346_; lean_object* v___x_6347_; +v___x_6346_ = lean_nat_sub(v_numFields_6272_, v___x_6344_); +lean_dec(v_numFields_6272_); +lean_inc(v___y_6269_); +lean_inc_ref(v___y_6268_); +v___x_6347_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_snd_6343_, v___x_6346_, v___y_6265_, v___y_6268_, v___y_6269_); +if (lean_obj_tag(v___x_6347_) == 0) +{ +lean_object* v_a_6348_; lean_object* v___x_6349_; lean_object* v___x_6350_; lean_object* v___x_6351_; +v_a_6348_ = lean_ctor_get(v___x_6347_, 0); +lean_inc(v_a_6348_); +lean_dec_ref(v___x_6347_); +v___x_6349_ = lean_box(0); +v___x_6350_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_6350_, 0, v___x_6349_); +lean_ctor_set_uint8(v___x_6350_, sizeof(void*)*1, v_ignoreNoncomputable_6339_); +lean_inc(v___y_6269_); +lean_inc_ref(v___y_6268_); +v___x_6351_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(v_a_6348_, v___x_6350_, v___y_6265_, v___y_6266_, v___y_6267_, v___y_6268_, v___y_6269_); +if (lean_obj_tag(v___x_6351_) == 0) +{ +lean_object* v_a_6352_; lean_object* v_snd_6353_; lean_object* v_fst_6354_; lean_object* v_fst_6355_; lean_object* v___x_6356_; +v_a_6352_ = lean_ctor_get(v___x_6351_, 0); +lean_inc(v_a_6352_); +lean_dec_ref(v___x_6351_); +v_snd_6353_ = lean_ctor_get(v_a_6352_, 1); +lean_inc(v_snd_6353_); +v_fst_6354_ = lean_ctor_get(v_a_6352_, 0); +lean_inc(v_fst_6354_); +lean_dec(v_a_6352_); +v_fst_6355_ = lean_ctor_get(v_snd_6353_, 0); +lean_inc(v_fst_6355_); +lean_dec(v_snd_6353_); +v___x_6356_ = l_Array_append___redArg(v_fst_6342_, v_fst_6354_); +lean_dec(v_fst_6354_); +v_ps_6277_ = v___x_6356_; +v_e_6278_ = v_fst_6355_; +v___y_6279_ = v___y_6264_; +v___y_6280_ = v___y_6265_; +v___y_6281_ = v___y_6266_; +v___y_6282_ = v___y_6267_; +v___y_6283_ = v___y_6268_; +v___y_6284_ = v___y_6269_; +goto v___jp_6276_; +} +else +{ +lean_object* v_a_6357_; lean_object* v___x_6359_; uint8_t v_isShared_6360_; uint8_t v_isSharedCheck_6364_; +lean_dec(v_fst_6342_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +lean_dec(v___y_6269_); +lean_dec_ref(v___y_6268_); +lean_dec(v___y_6267_); +lean_dec_ref(v___y_6266_); +lean_dec(v___y_6265_); +lean_dec_ref(v___y_6264_); +v_a_6357_ = lean_ctor_get(v___x_6351_, 0); +v_isSharedCheck_6364_ = !lean_is_exclusive(v___x_6351_); +if (v_isSharedCheck_6364_ == 0) +{ +v___x_6359_ = v___x_6351_; +v_isShared_6360_ = v_isSharedCheck_6364_; +goto v_resetjp_6358_; +} +else +{ +lean_inc(v_a_6357_); +lean_dec(v___x_6351_); +v___x_6359_ = lean_box(0); +v_isShared_6360_ = v_isSharedCheck_6364_; +goto v_resetjp_6358_; +} +v_resetjp_6358_: +{ +lean_object* v___x_6362_; +if (v_isShared_6360_ == 0) +{ +v___x_6362_ = v___x_6359_; +goto v_reusejp_6361_; +} +else +{ +lean_object* v_reuseFailAlloc_6363_; +v_reuseFailAlloc_6363_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6363_, 0, v_a_6357_); +v___x_6362_ = v_reuseFailAlloc_6363_; +goto v_reusejp_6361_; +} +v_reusejp_6361_: +{ +return v___x_6362_; +} +} +} +} +else +{ +lean_object* v_a_6365_; lean_object* v___x_6367_; uint8_t v_isShared_6368_; uint8_t v_isSharedCheck_6372_; +lean_dec(v_fst_6342_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +lean_dec(v___y_6269_); +lean_dec_ref(v___y_6268_); +lean_dec(v___y_6267_); +lean_dec_ref(v___y_6266_); +lean_dec(v___y_6265_); +lean_dec_ref(v___y_6264_); +v_a_6365_ = lean_ctor_get(v___x_6347_, 0); +v_isSharedCheck_6372_ = !lean_is_exclusive(v___x_6347_); +if (v_isSharedCheck_6372_ == 0) +{ +v___x_6367_ = v___x_6347_; +v_isShared_6368_ = v_isSharedCheck_6372_; +goto v_resetjp_6366_; +} +else +{ +lean_inc(v_a_6365_); +lean_dec(v___x_6347_); +v___x_6367_ = lean_box(0); +v_isShared_6368_ = v_isSharedCheck_6372_; +goto v_resetjp_6366_; +} +v_resetjp_6366_: +{ +lean_object* v___x_6370_; +if (v_isShared_6368_ == 0) +{ +v___x_6370_ = v___x_6367_; +goto v_reusejp_6369_; +} +else +{ +lean_object* v_reuseFailAlloc_6371_; +v_reuseFailAlloc_6371_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6371_, 0, v_a_6365_); +v___x_6370_ = v_reuseFailAlloc_6371_; +goto v_reusejp_6369_; +} +v_reusejp_6369_: +{ +return v___x_6370_; +} +} +} +} +} +else +{ +lean_object* v_a_6373_; lean_object* v___x_6375_; uint8_t v_isShared_6376_; uint8_t v_isSharedCheck_6380_; +lean_del_object(v___x_6274_); +lean_dec(v_numFields_6272_); +lean_dec(v_ctorName_6271_); +lean_dec(v___y_6269_); +lean_dec_ref(v___y_6268_); +lean_dec(v___y_6267_); +lean_dec_ref(v___y_6266_); +lean_dec(v___y_6265_); +lean_dec_ref(v___y_6264_); +v_a_6373_ = lean_ctor_get(v___x_6340_, 0); +v_isSharedCheck_6380_ = !lean_is_exclusive(v___x_6340_); +if (v_isSharedCheck_6380_ == 0) +{ +v___x_6375_ = v___x_6340_; +v_isShared_6376_ = v_isSharedCheck_6380_; +goto v_resetjp_6374_; +} +else +{ +lean_inc(v_a_6373_); +lean_dec(v___x_6340_); +v___x_6375_ = lean_box(0); +v_isShared_6376_ = v_isSharedCheck_6380_; +goto v_resetjp_6374_; +} +v_resetjp_6374_: +{ +lean_object* v___x_6378_; +if (v_isShared_6376_ == 0) +{ +v___x_6378_ = v___x_6375_; +goto v_reusejp_6377_; +} +else +{ +lean_object* v_reuseFailAlloc_6379_; +v_reuseFailAlloc_6379_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6379_, 0, v_a_6373_); +v___x_6378_ = v_reuseFailAlloc_6379_; +goto v_reusejp_6377_; +} +v_reusejp_6377_: +{ +return v___x_6378_; +} +} +} +v___jp_6276_: +{ +size_t v_sz_6285_; size_t v___x_6286_; lean_object* v___x_6287_; +v_sz_6285_ = lean_array_size(v_ps_6277_); +v___x_6286_ = ((size_t)0ULL); +lean_inc(v___y_6284_); +lean_inc_ref(v___y_6283_); +lean_inc(v___y_6282_); +lean_inc_ref(v___y_6281_); +v___x_6287_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_6285_, v___x_6286_, v_ps_6277_, v___y_6280_, v___y_6281_, v___y_6282_, v___y_6283_, v___y_6284_); +if (lean_obj_tag(v___x_6287_) == 0) +{ +lean_object* v_a_6288_; lean_object* v___x_6289_; +v_a_6288_ = lean_ctor_get(v___x_6287_, 0); +lean_inc(v_a_6288_); +lean_dec_ref(v___x_6287_); +lean_inc(v___y_6284_); +lean_inc_ref(v___y_6283_); +lean_inc(v___y_6282_); +lean_inc_ref(v___y_6281_); +lean_inc(v___y_6280_); +v___x_6289_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_6278_, v___y_6279_, v___y_6280_, v___y_6281_, v___y_6282_, v___y_6283_, v___y_6284_); +if (lean_obj_tag(v___x_6289_) == 0) +{ +lean_object* v_a_6290_; lean_object* v___x_6291_; +v_a_6290_ = lean_ctor_get(v___x_6289_, 0); +lean_inc(v_a_6290_); +lean_dec_ref(v___x_6289_); +lean_inc(v___y_6284_); +lean_inc_ref(v___y_6283_); +lean_inc(v___y_6282_); +lean_inc_ref(v___y_6281_); +v___x_6291_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_6290_, v___y_6280_, v___y_6281_, v___y_6282_, v___y_6283_, v___y_6284_); lean_dec(v___y_6280_); -lean_dec_ref(v___y_6279_); -lean_dec(v___y_6278_); -lean_dec(v_a_6275_); -v___x_6285_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6285_, 0, v_b_6276_); -return v___x_6285_; +if (lean_obj_tag(v___x_6291_) == 0) +{ +lean_object* v_a_6292_; uint8_t v___x_6293_; lean_object* v___x_6294_; +v_a_6292_ = lean_ctor_get(v___x_6291_, 0); +lean_inc(v_a_6292_); +lean_dec_ref(v___x_6291_); +v___x_6293_ = 0; +lean_inc(v_a_6292_); +v___x_6294_ = l_Lean_Compiler_LCNF_Code_inferType(v___x_6293_, v_a_6292_, v___y_6281_, v___y_6282_, v___y_6283_, v___y_6284_); +if (lean_obj_tag(v___x_6294_) == 0) +{ +lean_object* v_a_6295_; lean_object* v___x_6297_; uint8_t v_isShared_6298_; uint8_t v_isSharedCheck_6306_; +v_a_6295_ = lean_ctor_get(v___x_6294_, 0); +v_isSharedCheck_6306_ = !lean_is_exclusive(v___x_6294_); +if (v_isSharedCheck_6306_ == 0) +{ +v___x_6297_ = v___x_6294_; +v_isShared_6298_ = v_isSharedCheck_6306_; +goto v_resetjp_6296_; } else { -lean_object* v_snd_6286_; lean_object* v_snd_6287_; lean_object* v_fst_6288_; lean_object* v___x_6290_; uint8_t v_isShared_6291_; uint8_t v_isSharedCheck_6350_; -v_snd_6286_ = lean_ctor_get(v_b_6276_, 1); -lean_inc(v_snd_6286_); -v_snd_6287_ = lean_ctor_get(v_snd_6286_, 1); -lean_inc(v_snd_6287_); -v_fst_6288_ = lean_ctor_get(v_b_6276_, 0); -v_isSharedCheck_6350_ = !lean_is_exclusive(v_b_6276_); -if (v_isSharedCheck_6350_ == 0) -{ -lean_object* v_unused_6351_; -v_unused_6351_ = lean_ctor_get(v_b_6276_, 1); -lean_dec(v_unused_6351_); -v___x_6290_ = v_b_6276_; -v_isShared_6291_ = v_isSharedCheck_6350_; -goto v_resetjp_6289_; +lean_inc(v_a_6295_); +lean_dec(v___x_6294_); +v___x_6297_ = lean_box(0); +v_isShared_6298_ = v_isSharedCheck_6306_; +goto v_resetjp_6296_; } -else +v_resetjp_6296_: { -lean_inc(v_fst_6288_); -lean_dec(v_b_6276_); -v___x_6290_ = lean_box(0); -v_isShared_6291_ = v_isSharedCheck_6350_; -goto v_resetjp_6289_; -} -v_resetjp_6289_: +lean_object* v___x_6299_; lean_object* v___x_6301_; +v___x_6299_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_6299_, 0, v_ctorName_6271_); +lean_ctor_set(v___x_6299_, 1, v_a_6288_); +lean_ctor_set(v___x_6299_, 2, v_a_6292_); +if (v_isShared_6275_ == 0) { -lean_object* v_fst_6292_; lean_object* v___x_6294_; uint8_t v_isShared_6295_; uint8_t v_isSharedCheck_6348_; -v_fst_6292_ = lean_ctor_get(v_snd_6286_, 0); -v_isSharedCheck_6348_ = !lean_is_exclusive(v_snd_6286_); -if (v_isSharedCheck_6348_ == 0) -{ -lean_object* v_unused_6349_; -v_unused_6349_ = lean_ctor_get(v_snd_6286_, 1); -lean_dec(v_unused_6349_); -v___x_6294_ = v_snd_6286_; -v_isShared_6295_ = v_isSharedCheck_6348_; -goto v_resetjp_6293_; -} -else -{ -lean_inc(v_fst_6292_); -lean_dec(v_snd_6286_); -v___x_6294_ = lean_box(0); -v_isShared_6295_ = v_isSharedCheck_6348_; -goto v_resetjp_6293_; -} -v_resetjp_6293_: -{ -lean_object* v_array_6296_; lean_object* v_start_6297_; lean_object* v_stop_6298_; uint8_t v___x_6299_; -v_array_6296_ = lean_ctor_get(v_snd_6287_, 0); -v_start_6297_ = lean_ctor_get(v_snd_6287_, 1); -v_stop_6298_ = lean_ctor_get(v_snd_6287_, 2); -v___x_6299_ = lean_nat_dec_lt(v_start_6297_, v_stop_6298_); -if (v___x_6299_ == 0) -{ -lean_object* v___x_6301_; -lean_dec(v___y_6282_); -lean_dec_ref(v___y_6281_); -lean_dec(v___y_6280_); -lean_dec_ref(v___y_6279_); -lean_dec(v___y_6278_); -lean_dec(v_a_6275_); -if (v_isShared_6295_ == 0) -{ -v___x_6301_ = v___x_6294_; +lean_ctor_set(v___x_6274_, 1, v___x_6299_); +lean_ctor_set(v___x_6274_, 0, v_a_6295_); +v___x_6301_ = v___x_6274_; goto v_reusejp_6300_; } else { -lean_object* v_reuseFailAlloc_6306_; -v_reuseFailAlloc_6306_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6306_, 0, v_fst_6292_); -lean_ctor_set(v_reuseFailAlloc_6306_, 1, v_snd_6287_); -v___x_6301_ = v_reuseFailAlloc_6306_; -goto v_reusejp_6300_; -} -v_reusejp_6300_: -{ -lean_object* v___x_6303_; -if (v_isShared_6291_ == 0) -{ -lean_ctor_set(v___x_6290_, 1, v___x_6301_); -v___x_6303_ = v___x_6290_; -goto v_reusejp_6302_; -} -else -{ lean_object* v_reuseFailAlloc_6305_; v_reuseFailAlloc_6305_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6305_, 0, v_fst_6288_); -lean_ctor_set(v_reuseFailAlloc_6305_, 1, v___x_6301_); -v___x_6303_ = v_reuseFailAlloc_6305_; +lean_ctor_set(v_reuseFailAlloc_6305_, 0, v_a_6295_); +lean_ctor_set(v_reuseFailAlloc_6305_, 1, v___x_6299_); +v___x_6301_ = v_reuseFailAlloc_6305_; +goto v_reusejp_6300_; +} +v_reusejp_6300_: +{ +lean_object* v___x_6303_; +if (v_isShared_6298_ == 0) +{ +lean_ctor_set(v___x_6297_, 0, v___x_6301_); +v___x_6303_ = v___x_6297_; +goto v_reusejp_6302_; +} +else +{ +lean_object* v_reuseFailAlloc_6304_; +v_reuseFailAlloc_6304_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6304_, 0, v___x_6301_); +v___x_6303_ = v_reuseFailAlloc_6304_; goto v_reusejp_6302_; } v_reusejp_6302_: { -lean_object* v___x_6304_; -v___x_6304_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6304_, 0, v___x_6303_); -return v___x_6304_; +return v___x_6303_; +} } } } else { -lean_object* v___x_6308_; uint8_t v_isShared_6309_; uint8_t v_isSharedCheck_6344_; -lean_inc(v_stop_6298_); -lean_inc(v_start_6297_); -lean_inc_ref(v_array_6296_); -lean_del_object(v___x_6290_); -v_isSharedCheck_6344_ = !lean_is_exclusive(v_snd_6287_); -if (v_isSharedCheck_6344_ == 0) +lean_object* v_a_6307_; lean_object* v___x_6309_; uint8_t v_isShared_6310_; uint8_t v_isSharedCheck_6314_; +lean_dec(v_a_6292_); +lean_dec(v_a_6288_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +v_a_6307_ = lean_ctor_get(v___x_6294_, 0); +v_isSharedCheck_6314_ = !lean_is_exclusive(v___x_6294_); +if (v_isSharedCheck_6314_ == 0) { -lean_object* v_unused_6345_; lean_object* v_unused_6346_; lean_object* v_unused_6347_; -v_unused_6345_ = lean_ctor_get(v_snd_6287_, 2); -lean_dec(v_unused_6345_); -v_unused_6346_ = lean_ctor_get(v_snd_6287_, 1); -lean_dec(v_unused_6346_); -v_unused_6347_ = lean_ctor_get(v_snd_6287_, 0); -lean_dec(v_unused_6347_); -v___x_6308_ = v_snd_6287_; -v_isShared_6309_ = v_isSharedCheck_6344_; -goto v_resetjp_6307_; +v___x_6309_ = v___x_6294_; +v_isShared_6310_ = v_isSharedCheck_6314_; +goto v_resetjp_6308_; } else { -lean_dec(v_snd_6287_); -v___x_6308_ = lean_box(0); -v_isShared_6309_ = v_isSharedCheck_6344_; -goto v_resetjp_6307_; +lean_inc(v_a_6307_); +lean_dec(v___x_6294_); +v___x_6309_ = lean_box(0); +v_isShared_6310_ = v_isSharedCheck_6314_; +goto v_resetjp_6308_; } -v_resetjp_6307_: +v_resetjp_6308_: { -lean_object* v___x_6310_; lean_object* v___x_6311_; lean_object* v___x_6312_; lean_object* v___x_6313_; -v___x_6310_ = l_Lean_instInhabitedExpr; -v___x_6311_ = lean_array_fget_borrowed(v_array_6296_, v_start_6297_); -v___x_6312_ = lean_array_get_borrowed(v___x_6310_, v_args_6274_, v_a_6275_); -lean_inc(v___y_6282_); -lean_inc_ref(v___y_6281_); -lean_inc(v___y_6280_); -lean_inc_ref(v___y_6279_); -lean_inc(v___y_6278_); -lean_inc(v___x_6312_); -lean_inc(v___x_6311_); -v___x_6313_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(v___x_6311_, v___x_6312_, v___y_6277_, v___y_6278_, v___y_6279_, v___y_6280_, v___y_6281_, v___y_6282_); -if (lean_obj_tag(v___x_6313_) == 0) +lean_object* v___x_6312_; +if (v_isShared_6310_ == 0) { -lean_object* v_a_6314_; lean_object* v_fst_6315_; lean_object* v_snd_6316_; lean_object* v___x_6318_; uint8_t v_isShared_6319_; uint8_t v_isSharedCheck_6335_; -v_a_6314_ = lean_ctor_get(v___x_6313_, 0); -lean_inc(v_a_6314_); -lean_dec_ref(v___x_6313_); -v_fst_6315_ = lean_ctor_get(v_a_6314_, 0); -v_snd_6316_ = lean_ctor_get(v_a_6314_, 1); -v_isSharedCheck_6335_ = !lean_is_exclusive(v_a_6314_); -if (v_isSharedCheck_6335_ == 0) -{ -v___x_6318_ = v_a_6314_; -v_isShared_6319_ = v_isSharedCheck_6335_; -goto v_resetjp_6317_; +v___x_6312_ = v___x_6309_; +goto v_reusejp_6311_; } else { -lean_inc(v_snd_6316_); -lean_inc(v_fst_6315_); -lean_dec(v_a_6314_); -v___x_6318_ = lean_box(0); -v_isShared_6319_ = v_isSharedCheck_6335_; -goto v_resetjp_6317_; +lean_object* v_reuseFailAlloc_6313_; +v_reuseFailAlloc_6313_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6313_, 0, v_a_6307_); +v___x_6312_ = v_reuseFailAlloc_6313_; +goto v_reusejp_6311_; } -v_resetjp_6317_: +v_reusejp_6311_: { -lean_object* v___x_6320_; lean_object* v___x_6321_; lean_object* v___x_6323_; -v___x_6320_ = lean_unsigned_to_nat(1u); -v___x_6321_ = lean_nat_add(v_start_6297_, v___x_6320_); -lean_dec(v_start_6297_); -if (v_isShared_6309_ == 0) -{ -lean_ctor_set(v___x_6308_, 1, v___x_6321_); -v___x_6323_ = v___x_6308_; -goto v_reusejp_6322_; +return v___x_6312_; +} +} +} } else { -lean_object* v_reuseFailAlloc_6334_; -v_reuseFailAlloc_6334_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_6334_, 0, v_array_6296_); -lean_ctor_set(v_reuseFailAlloc_6334_, 1, v___x_6321_); -lean_ctor_set(v_reuseFailAlloc_6334_, 2, v_stop_6298_); -v___x_6323_ = v_reuseFailAlloc_6334_; -goto v_reusejp_6322_; -} -v_reusejp_6322_: +lean_object* v_a_6315_; lean_object* v___x_6317_; uint8_t v_isShared_6318_; uint8_t v_isSharedCheck_6322_; +lean_dec(v_a_6288_); +lean_dec(v___y_6284_); +lean_dec_ref(v___y_6283_); +lean_dec(v___y_6282_); +lean_dec_ref(v___y_6281_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +v_a_6315_ = lean_ctor_get(v___x_6291_, 0); +v_isSharedCheck_6322_ = !lean_is_exclusive(v___x_6291_); +if (v_isSharedCheck_6322_ == 0) { -lean_object* v___x_6324_; lean_object* v___x_6325_; lean_object* v___x_6327_; -v___x_6324_ = l_Lean_Compiler_LCNF_joinTypes(v_fst_6315_, v_fst_6288_); -v___x_6325_ = lean_array_push(v_fst_6292_, v_snd_6316_); -if (v_isShared_6319_ == 0) -{ -lean_ctor_set(v___x_6318_, 1, v___x_6323_); -lean_ctor_set(v___x_6318_, 0, v___x_6325_); -v___x_6327_ = v___x_6318_; -goto v_reusejp_6326_; +v___x_6317_ = v___x_6291_; +v_isShared_6318_ = v_isSharedCheck_6322_; +goto v_resetjp_6316_; } else { -lean_object* v_reuseFailAlloc_6333_; -v_reuseFailAlloc_6333_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6333_, 0, v___x_6325_); -lean_ctor_set(v_reuseFailAlloc_6333_, 1, v___x_6323_); -v___x_6327_ = v_reuseFailAlloc_6333_; -goto v_reusejp_6326_; +lean_inc(v_a_6315_); +lean_dec(v___x_6291_); +v___x_6317_ = lean_box(0); +v_isShared_6318_ = v_isSharedCheck_6322_; +goto v_resetjp_6316_; } -v_reusejp_6326_: +v_resetjp_6316_: { -lean_object* v___x_6329_; -if (v_isShared_6295_ == 0) +lean_object* v___x_6320_; +if (v_isShared_6318_ == 0) { -lean_ctor_set(v___x_6294_, 1, v___x_6327_); -lean_ctor_set(v___x_6294_, 0, v___x_6324_); -v___x_6329_ = v___x_6294_; -goto v_reusejp_6328_; +v___x_6320_ = v___x_6317_; +goto v_reusejp_6319_; } else { -lean_object* v_reuseFailAlloc_6332_; -v_reuseFailAlloc_6332_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6332_, 0, v___x_6324_); -lean_ctor_set(v_reuseFailAlloc_6332_, 1, v___x_6327_); -v___x_6329_ = v_reuseFailAlloc_6332_; -goto v_reusejp_6328_; +lean_object* v_reuseFailAlloc_6321_; +v_reuseFailAlloc_6321_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6321_, 0, v_a_6315_); +v___x_6320_ = v_reuseFailAlloc_6321_; +goto v_reusejp_6319_; } -v_reusejp_6328_: +v_reusejp_6319_: { -lean_object* v___x_6330_; -v___x_6330_ = lean_nat_add(v_a_6275_, v___x_6320_); -lean_dec(v_a_6275_); -v_a_6275_ = v___x_6330_; -v_b_6276_ = v___x_6329_; +return v___x_6320_; +} +} +} +} +else +{ +lean_object* v_a_6323_; lean_object* v___x_6325_; uint8_t v_isShared_6326_; uint8_t v_isSharedCheck_6330_; +lean_dec(v_a_6288_); +lean_dec(v___y_6284_); +lean_dec_ref(v___y_6283_); +lean_dec(v___y_6282_); +lean_dec_ref(v___y_6281_); +lean_dec(v___y_6280_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +v_a_6323_ = lean_ctor_get(v___x_6289_, 0); +v_isSharedCheck_6330_ = !lean_is_exclusive(v___x_6289_); +if (v_isSharedCheck_6330_ == 0) +{ +v___x_6325_ = v___x_6289_; +v_isShared_6326_ = v_isSharedCheck_6330_; +goto v_resetjp_6324_; +} +else +{ +lean_inc(v_a_6323_); +lean_dec(v___x_6289_); +v___x_6325_ = lean_box(0); +v_isShared_6326_ = v_isSharedCheck_6330_; +goto v_resetjp_6324_; +} +v_resetjp_6324_: +{ +lean_object* v___x_6328_; +if (v_isShared_6326_ == 0) +{ +v___x_6328_ = v___x_6325_; +goto v_reusejp_6327_; +} +else +{ +lean_object* v_reuseFailAlloc_6329_; +v_reuseFailAlloc_6329_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6329_, 0, v_a_6323_); +v___x_6328_ = v_reuseFailAlloc_6329_; +goto v_reusejp_6327_; +} +v_reusejp_6327_: +{ +return v___x_6328_; +} +} +} +} +else +{ +lean_object* v_a_6331_; lean_object* v___x_6333_; uint8_t v_isShared_6334_; uint8_t v_isSharedCheck_6338_; +lean_dec(v___y_6284_); +lean_dec_ref(v___y_6283_); +lean_dec(v___y_6282_); +lean_dec_ref(v___y_6281_); +lean_dec(v___y_6280_); +lean_dec_ref(v___y_6279_); +lean_dec_ref(v_e_6278_); +lean_del_object(v___x_6274_); +lean_dec(v_ctorName_6271_); +v_a_6331_ = lean_ctor_get(v___x_6287_, 0); +v_isSharedCheck_6338_ = !lean_is_exclusive(v___x_6287_); +if (v_isSharedCheck_6338_ == 0) +{ +v___x_6333_ = v___x_6287_; +v_isShared_6334_ = v_isSharedCheck_6338_; +goto v_resetjp_6332_; +} +else +{ +lean_inc(v_a_6331_); +lean_dec(v___x_6287_); +v___x_6333_ = lean_box(0); +v_isShared_6334_ = v_isSharedCheck_6338_; +goto v_resetjp_6332_; +} +v_resetjp_6332_: +{ +lean_object* v___x_6336_; +if (v_isShared_6334_ == 0) +{ +v___x_6336_ = v___x_6333_; +goto v_reusejp_6335_; +} +else +{ +lean_object* v_reuseFailAlloc_6337_; +v_reuseFailAlloc_6337_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6337_, 0, v_a_6331_); +v___x_6336_ = v_reuseFailAlloc_6337_; +goto v_reusejp_6335_; +} +v_reusejp_6335_: +{ +return v___x_6336_; +} +} +} +} +} +} +else +{ +lean_object* v_numHyps_6382_; lean_object* v___x_6384_; uint8_t v_isShared_6385_; uint8_t v_isSharedCheck_6431_; +v_numHyps_6382_ = lean_ctor_get(v_casesAltInfo_6262_, 0); +v_isSharedCheck_6431_ = !lean_is_exclusive(v_casesAltInfo_6262_); +if (v_isSharedCheck_6431_ == 0) +{ +v___x_6384_ = v_casesAltInfo_6262_; +v_isShared_6385_ = v_isSharedCheck_6431_; +goto v_resetjp_6383_; +} +else +{ +lean_inc(v_numHyps_6382_); +lean_dec(v_casesAltInfo_6262_); +v___x_6384_ = lean_box(0); +v_isShared_6385_ = v_isSharedCheck_6431_; +goto v_resetjp_6383_; +} +v_resetjp_6383_: +{ +lean_object* v___x_6386_; lean_object* v___x_6387_; lean_object* v___x_6388_; lean_object* v___x_6389_; +v___x_6386_ = l_Lean_Compiler_LCNF_erasedExpr; +v___x_6387_ = lean_mk_array(v_numHyps_6382_, v___x_6386_); +v___x_6388_ = l_Lean_mkAppN(v_e_6263_, v___x_6387_); +lean_dec_ref(v___x_6387_); +lean_inc(v___y_6269_); +lean_inc_ref(v___y_6268_); +lean_inc(v___y_6267_); +lean_inc_ref(v___y_6266_); +lean_inc(v___y_6265_); +v___x_6389_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6388_, v___y_6264_, v___y_6265_, v___y_6266_, v___y_6267_, v___y_6268_, v___y_6269_); +if (lean_obj_tag(v___x_6389_) == 0) +{ +lean_object* v_a_6390_; lean_object* v___x_6391_; +v_a_6390_ = lean_ctor_get(v___x_6389_, 0); +lean_inc(v_a_6390_); +lean_dec_ref(v___x_6389_); +lean_inc(v___y_6269_); +lean_inc_ref(v___y_6268_); +lean_inc(v___y_6267_); +lean_inc_ref(v___y_6266_); +v___x_6391_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_6390_, v___y_6265_, v___y_6266_, v___y_6267_, v___y_6268_, v___y_6269_); +lean_dec(v___y_6265_); +if (lean_obj_tag(v___x_6391_) == 0) +{ +lean_object* v_a_6392_; uint8_t v___x_6393_; lean_object* v___x_6394_; +v_a_6392_ = lean_ctor_get(v___x_6391_, 0); +lean_inc(v_a_6392_); +lean_dec_ref(v___x_6391_); +v___x_6393_ = 0; +lean_inc(v_a_6392_); +v___x_6394_ = l_Lean_Compiler_LCNF_Code_inferType(v___x_6393_, v_a_6392_, v___y_6266_, v___y_6267_, v___y_6268_, v___y_6269_); +if (lean_obj_tag(v___x_6394_) == 0) +{ +lean_object* v_a_6395_; lean_object* v___x_6397_; uint8_t v_isShared_6398_; uint8_t v_isSharedCheck_6406_; +v_a_6395_ = lean_ctor_get(v___x_6394_, 0); +v_isSharedCheck_6406_ = !lean_is_exclusive(v___x_6394_); +if (v_isSharedCheck_6406_ == 0) +{ +v___x_6397_ = v___x_6394_; +v_isShared_6398_ = v_isSharedCheck_6406_; +goto v_resetjp_6396_; +} +else +{ +lean_inc(v_a_6395_); +lean_dec(v___x_6394_); +v___x_6397_ = lean_box(0); +v_isShared_6398_ = v_isSharedCheck_6406_; +goto v_resetjp_6396_; +} +v_resetjp_6396_: +{ +lean_object* v___x_6400_; +if (v_isShared_6385_ == 0) +{ +lean_ctor_set_tag(v___x_6384_, 2); +lean_ctor_set(v___x_6384_, 0, v_a_6392_); +v___x_6400_ = v___x_6384_; +goto v_reusejp_6399_; +} +else +{ +lean_object* v_reuseFailAlloc_6405_; +v_reuseFailAlloc_6405_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6405_, 0, v_a_6392_); +v___x_6400_ = v_reuseFailAlloc_6405_; +goto v_reusejp_6399_; +} +v_reusejp_6399_: +{ +lean_object* v___x_6401_; lean_object* v___x_6403_; +v___x_6401_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_6401_, 0, v_a_6395_); +lean_ctor_set(v___x_6401_, 1, v___x_6400_); +if (v_isShared_6398_ == 0) +{ +lean_ctor_set(v___x_6397_, 0, v___x_6401_); +v___x_6403_ = v___x_6397_; +goto v_reusejp_6402_; +} +else +{ +lean_object* v_reuseFailAlloc_6404_; +v_reuseFailAlloc_6404_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6404_, 0, v___x_6401_); +v___x_6403_ = v_reuseFailAlloc_6404_; +goto v_reusejp_6402_; +} +v_reusejp_6402_: +{ +return v___x_6403_; +} +} +} +} +else +{ +lean_object* v_a_6407_; lean_object* v___x_6409_; uint8_t v_isShared_6410_; uint8_t v_isSharedCheck_6414_; +lean_dec(v_a_6392_); +lean_del_object(v___x_6384_); +v_a_6407_ = lean_ctor_get(v___x_6394_, 0); +v_isSharedCheck_6414_ = !lean_is_exclusive(v___x_6394_); +if (v_isSharedCheck_6414_ == 0) +{ +v___x_6409_ = v___x_6394_; +v_isShared_6410_ = v_isSharedCheck_6414_; +goto v_resetjp_6408_; +} +else +{ +lean_inc(v_a_6407_); +lean_dec(v___x_6394_); +v___x_6409_ = lean_box(0); +v_isShared_6410_ = v_isSharedCheck_6414_; +goto v_resetjp_6408_; +} +v_resetjp_6408_: +{ +lean_object* v___x_6412_; +if (v_isShared_6410_ == 0) +{ +v___x_6412_ = v___x_6409_; +goto v_reusejp_6411_; +} +else +{ +lean_object* v_reuseFailAlloc_6413_; +v_reuseFailAlloc_6413_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6413_, 0, v_a_6407_); +v___x_6412_ = v_reuseFailAlloc_6413_; +goto v_reusejp_6411_; +} +v_reusejp_6411_: +{ +return v___x_6412_; +} +} +} +} +else +{ +lean_object* v_a_6415_; lean_object* v___x_6417_; uint8_t v_isShared_6418_; uint8_t v_isSharedCheck_6422_; +lean_del_object(v___x_6384_); +lean_dec(v___y_6269_); +lean_dec_ref(v___y_6268_); +lean_dec(v___y_6267_); +lean_dec_ref(v___y_6266_); +v_a_6415_ = lean_ctor_get(v___x_6391_, 0); +v_isSharedCheck_6422_ = !lean_is_exclusive(v___x_6391_); +if (v_isSharedCheck_6422_ == 0) +{ +v___x_6417_ = v___x_6391_; +v_isShared_6418_ = v_isSharedCheck_6422_; +goto v_resetjp_6416_; +} +else +{ +lean_inc(v_a_6415_); +lean_dec(v___x_6391_); +v___x_6417_ = lean_box(0); +v_isShared_6418_ = v_isSharedCheck_6422_; +goto v_resetjp_6416_; +} +v_resetjp_6416_: +{ +lean_object* v___x_6420_; +if (v_isShared_6418_ == 0) +{ +v___x_6420_ = v___x_6417_; +goto v_reusejp_6419_; +} +else +{ +lean_object* v_reuseFailAlloc_6421_; +v_reuseFailAlloc_6421_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6421_, 0, v_a_6415_); +v___x_6420_ = v_reuseFailAlloc_6421_; +goto v_reusejp_6419_; +} +v_reusejp_6419_: +{ +return v___x_6420_; +} +} +} +} +else +{ +lean_object* v_a_6423_; lean_object* v___x_6425_; uint8_t v_isShared_6426_; uint8_t v_isSharedCheck_6430_; +lean_del_object(v___x_6384_); +lean_dec(v___y_6269_); +lean_dec_ref(v___y_6268_); +lean_dec(v___y_6267_); +lean_dec_ref(v___y_6266_); +lean_dec(v___y_6265_); +v_a_6423_ = lean_ctor_get(v___x_6389_, 0); +v_isSharedCheck_6430_ = !lean_is_exclusive(v___x_6389_); +if (v_isSharedCheck_6430_ == 0) +{ +v___x_6425_ = v___x_6389_; +v_isShared_6426_ = v_isSharedCheck_6430_; +goto v_resetjp_6424_; +} +else +{ +lean_inc(v_a_6423_); +lean_dec(v___x_6389_); +v___x_6425_ = lean_box(0); +v_isShared_6426_ = v_isSharedCheck_6430_; +goto v_resetjp_6424_; +} +v_resetjp_6424_: +{ +lean_object* v___x_6428_; +if (v_isShared_6426_ == 0) +{ +v___x_6428_ = v___x_6425_; +goto v_reusejp_6427_; +} +else +{ +lean_object* v_reuseFailAlloc_6429_; +v_reuseFailAlloc_6429_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6429_, 0, v_a_6423_); +v___x_6428_ = v_reuseFailAlloc_6429_; +goto v_reusejp_6427_; +} +v_reusejp_6427_: +{ +return v___x_6428_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0___boxed(lean_object* v_casesAltInfo_6432_, lean_object* v_e_6433_, lean_object* v___y_6434_, lean_object* v___y_6435_, lean_object* v___y_6436_, lean_object* v___y_6437_, lean_object* v___y_6438_, lean_object* v___y_6439_, lean_object* v___y_6440_){ +_start: +{ +lean_object* v_res_6441_; +v_res_6441_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0(v_casesAltInfo_6432_, v_e_6433_, v___y_6434_, v___y_6435_, v___y_6436_, v___y_6437_, v___y_6438_, v___y_6439_); +return v_res_6441_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object* v_casesAltInfo_6442_, lean_object* v_e_6443_, lean_object* v_a_6444_, lean_object* v_a_6445_, lean_object* v_a_6446_, lean_object* v_a_6447_, lean_object* v_a_6448_, lean_object* v_a_6449_){ +_start: +{ +lean_object* v___y_6451_; lean_object* v___x_6452_; +v___y_6451_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lam__0___boxed), 9, 2); +lean_closure_set(v___y_6451_, 0, v_casesAltInfo_6442_); +lean_closure_set(v___y_6451_, 1, v_e_6443_); +v___x_6452_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v___y_6451_, v_a_6444_, v_a_6445_, v_a_6446_, v_a_6447_, v_a_6448_, v_a_6449_); +return v___x_6452_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(lean_object* v_upperBound_6453_, lean_object* v_args_6454_, lean_object* v_a_6455_, lean_object* v_b_6456_, lean_object* v___y_6457_, lean_object* v___y_6458_, lean_object* v___y_6459_, lean_object* v___y_6460_, lean_object* v___y_6461_, lean_object* v___y_6462_){ +_start: +{ +uint8_t v___x_6464_; +v___x_6464_ = lean_nat_dec_lt(v_a_6455_, v_upperBound_6453_); +if (v___x_6464_ == 0) +{ +lean_object* v___x_6465_; +lean_dec(v___y_6462_); +lean_dec_ref(v___y_6461_); +lean_dec(v___y_6460_); +lean_dec_ref(v___y_6459_); +lean_dec(v___y_6458_); +lean_dec_ref(v___y_6457_); +lean_dec(v_a_6455_); +v___x_6465_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6465_, 0, v_b_6456_); +return v___x_6465_; +} +else +{ +lean_object* v_snd_6466_; lean_object* v_snd_6467_; lean_object* v_fst_6468_; lean_object* v___x_6470_; uint8_t v_isShared_6471_; uint8_t v_isSharedCheck_6530_; +v_snd_6466_ = lean_ctor_get(v_b_6456_, 1); +lean_inc(v_snd_6466_); +v_snd_6467_ = lean_ctor_get(v_snd_6466_, 1); +lean_inc(v_snd_6467_); +v_fst_6468_ = lean_ctor_get(v_b_6456_, 0); +v_isSharedCheck_6530_ = !lean_is_exclusive(v_b_6456_); +if (v_isSharedCheck_6530_ == 0) +{ +lean_object* v_unused_6531_; +v_unused_6531_ = lean_ctor_get(v_b_6456_, 1); +lean_dec(v_unused_6531_); +v___x_6470_ = v_b_6456_; +v_isShared_6471_ = v_isSharedCheck_6530_; +goto v_resetjp_6469_; +} +else +{ +lean_inc(v_fst_6468_); +lean_dec(v_b_6456_); +v___x_6470_ = lean_box(0); +v_isShared_6471_ = v_isSharedCheck_6530_; +goto v_resetjp_6469_; +} +v_resetjp_6469_: +{ +lean_object* v_fst_6472_; lean_object* v___x_6474_; uint8_t v_isShared_6475_; uint8_t v_isSharedCheck_6528_; +v_fst_6472_ = lean_ctor_get(v_snd_6466_, 0); +v_isSharedCheck_6528_ = !lean_is_exclusive(v_snd_6466_); +if (v_isSharedCheck_6528_ == 0) +{ +lean_object* v_unused_6529_; +v_unused_6529_ = lean_ctor_get(v_snd_6466_, 1); +lean_dec(v_unused_6529_); +v___x_6474_ = v_snd_6466_; +v_isShared_6475_ = v_isSharedCheck_6528_; +goto v_resetjp_6473_; +} +else +{ +lean_inc(v_fst_6472_); +lean_dec(v_snd_6466_); +v___x_6474_ = lean_box(0); +v_isShared_6475_ = v_isSharedCheck_6528_; +goto v_resetjp_6473_; +} +v_resetjp_6473_: +{ +lean_object* v_array_6476_; lean_object* v_start_6477_; lean_object* v_stop_6478_; uint8_t v___x_6479_; +v_array_6476_ = lean_ctor_get(v_snd_6467_, 0); +v_start_6477_ = lean_ctor_get(v_snd_6467_, 1); +v_stop_6478_ = lean_ctor_get(v_snd_6467_, 2); +v___x_6479_ = lean_nat_dec_lt(v_start_6477_, v_stop_6478_); +if (v___x_6479_ == 0) +{ +lean_object* v___x_6481_; +lean_dec(v___y_6462_); +lean_dec_ref(v___y_6461_); +lean_dec(v___y_6460_); +lean_dec_ref(v___y_6459_); +lean_dec(v___y_6458_); +lean_dec_ref(v___y_6457_); +lean_dec(v_a_6455_); +if (v_isShared_6475_ == 0) +{ +v___x_6481_ = v___x_6474_; +goto v_reusejp_6480_; +} +else +{ +lean_object* v_reuseFailAlloc_6486_; +v_reuseFailAlloc_6486_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6486_, 0, v_fst_6472_); +lean_ctor_set(v_reuseFailAlloc_6486_, 1, v_snd_6467_); +v___x_6481_ = v_reuseFailAlloc_6486_; +goto v_reusejp_6480_; +} +v_reusejp_6480_: +{ +lean_object* v___x_6483_; +if (v_isShared_6471_ == 0) +{ +lean_ctor_set(v___x_6470_, 1, v___x_6481_); +v___x_6483_ = v___x_6470_; +goto v_reusejp_6482_; +} +else +{ +lean_object* v_reuseFailAlloc_6485_; +v_reuseFailAlloc_6485_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6485_, 0, v_fst_6468_); +lean_ctor_set(v_reuseFailAlloc_6485_, 1, v___x_6481_); +v___x_6483_ = v_reuseFailAlloc_6485_; +goto v_reusejp_6482_; +} +v_reusejp_6482_: +{ +lean_object* v___x_6484_; +v___x_6484_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6484_, 0, v___x_6483_); +return v___x_6484_; +} +} +} +else +{ +lean_object* v___x_6488_; uint8_t v_isShared_6489_; uint8_t v_isSharedCheck_6524_; +lean_inc(v_stop_6478_); +lean_inc(v_start_6477_); +lean_inc_ref(v_array_6476_); +lean_del_object(v___x_6470_); +v_isSharedCheck_6524_ = !lean_is_exclusive(v_snd_6467_); +if (v_isSharedCheck_6524_ == 0) +{ +lean_object* v_unused_6525_; lean_object* v_unused_6526_; lean_object* v_unused_6527_; +v_unused_6525_ = lean_ctor_get(v_snd_6467_, 2); +lean_dec(v_unused_6525_); +v_unused_6526_ = lean_ctor_get(v_snd_6467_, 1); +lean_dec(v_unused_6526_); +v_unused_6527_ = lean_ctor_get(v_snd_6467_, 0); +lean_dec(v_unused_6527_); +v___x_6488_ = v_snd_6467_; +v_isShared_6489_ = v_isSharedCheck_6524_; +goto v_resetjp_6487_; +} +else +{ +lean_dec(v_snd_6467_); +v___x_6488_ = lean_box(0); +v_isShared_6489_ = v_isSharedCheck_6524_; +goto v_resetjp_6487_; +} +v_resetjp_6487_: +{ +lean_object* v___x_6490_; lean_object* v___x_6491_; lean_object* v___x_6492_; lean_object* v___x_6493_; +v___x_6490_ = l_Lean_instInhabitedExpr; +v___x_6491_ = lean_array_fget_borrowed(v_array_6476_, v_start_6477_); +v___x_6492_ = lean_array_get_borrowed(v___x_6490_, v_args_6454_, v_a_6455_); +lean_inc(v___y_6462_); +lean_inc_ref(v___y_6461_); +lean_inc(v___y_6460_); +lean_inc_ref(v___y_6459_); +lean_inc(v___y_6458_); +lean_inc_ref(v___y_6457_); +lean_inc(v___x_6492_); +lean_inc(v___x_6491_); +v___x_6493_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(v___x_6491_, v___x_6492_, v___y_6457_, v___y_6458_, v___y_6459_, v___y_6460_, v___y_6461_, v___y_6462_); +if (lean_obj_tag(v___x_6493_) == 0) +{ +lean_object* v_a_6494_; lean_object* v_fst_6495_; lean_object* v_snd_6496_; lean_object* v___x_6498_; uint8_t v_isShared_6499_; uint8_t v_isSharedCheck_6515_; +v_a_6494_ = lean_ctor_get(v___x_6493_, 0); +lean_inc(v_a_6494_); +lean_dec_ref(v___x_6493_); +v_fst_6495_ = lean_ctor_get(v_a_6494_, 0); +v_snd_6496_ = lean_ctor_get(v_a_6494_, 1); +v_isSharedCheck_6515_ = !lean_is_exclusive(v_a_6494_); +if (v_isSharedCheck_6515_ == 0) +{ +v___x_6498_ = v_a_6494_; +v_isShared_6499_ = v_isSharedCheck_6515_; +goto v_resetjp_6497_; +} +else +{ +lean_inc(v_snd_6496_); +lean_inc(v_fst_6495_); +lean_dec(v_a_6494_); +v___x_6498_ = lean_box(0); +v_isShared_6499_ = v_isSharedCheck_6515_; +goto v_resetjp_6497_; +} +v_resetjp_6497_: +{ +lean_object* v___x_6500_; lean_object* v___x_6501_; lean_object* v___x_6503_; +v___x_6500_ = lean_unsigned_to_nat(1u); +v___x_6501_ = lean_nat_add(v_start_6477_, v___x_6500_); +lean_dec(v_start_6477_); +if (v_isShared_6489_ == 0) +{ +lean_ctor_set(v___x_6488_, 1, v___x_6501_); +v___x_6503_ = v___x_6488_; +goto v_reusejp_6502_; +} +else +{ +lean_object* v_reuseFailAlloc_6514_; +v_reuseFailAlloc_6514_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_6514_, 0, v_array_6476_); +lean_ctor_set(v_reuseFailAlloc_6514_, 1, v___x_6501_); +lean_ctor_set(v_reuseFailAlloc_6514_, 2, v_stop_6478_); +v___x_6503_ = v_reuseFailAlloc_6514_; +goto v_reusejp_6502_; +} +v_reusejp_6502_: +{ +lean_object* v___x_6504_; lean_object* v___x_6505_; lean_object* v___x_6507_; +v___x_6504_ = l_Lean_Compiler_LCNF_joinTypes(v_fst_6495_, v_fst_6468_); +v___x_6505_ = lean_array_push(v_fst_6472_, v_snd_6496_); +if (v_isShared_6499_ == 0) +{ +lean_ctor_set(v___x_6498_, 1, v___x_6503_); +lean_ctor_set(v___x_6498_, 0, v___x_6505_); +v___x_6507_ = v___x_6498_; +goto v_reusejp_6506_; +} +else +{ +lean_object* v_reuseFailAlloc_6513_; +v_reuseFailAlloc_6513_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6513_, 0, v___x_6505_); +lean_ctor_set(v_reuseFailAlloc_6513_, 1, v___x_6503_); +v___x_6507_ = v_reuseFailAlloc_6513_; +goto v_reusejp_6506_; +} +v_reusejp_6506_: +{ +lean_object* v___x_6509_; +if (v_isShared_6475_ == 0) +{ +lean_ctor_set(v___x_6474_, 1, v___x_6507_); +lean_ctor_set(v___x_6474_, 0, v___x_6504_); +v___x_6509_ = v___x_6474_; +goto v_reusejp_6508_; +} +else +{ +lean_object* v_reuseFailAlloc_6512_; +v_reuseFailAlloc_6512_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6512_, 0, v___x_6504_); +lean_ctor_set(v_reuseFailAlloc_6512_, 1, v___x_6507_); +v___x_6509_ = v_reuseFailAlloc_6512_; +goto v_reusejp_6508_; +} +v_reusejp_6508_: +{ +lean_object* v___x_6510_; +v___x_6510_ = lean_nat_add(v_a_6455_, v___x_6500_); +lean_dec(v_a_6455_); +v_a_6455_ = v___x_6510_; +v_b_6456_ = v___x_6509_; goto _start; } } @@ -21343,55 +22029,56 @@ goto _start; } else { -lean_object* v_a_6336_; lean_object* v___x_6338_; uint8_t v_isShared_6339_; uint8_t v_isSharedCheck_6343_; -lean_del_object(v___x_6308_); -lean_dec(v_stop_6298_); -lean_dec(v_start_6297_); -lean_dec_ref(v_array_6296_); -lean_del_object(v___x_6294_); -lean_dec(v_fst_6292_); -lean_dec(v_fst_6288_); -lean_dec(v___y_6282_); -lean_dec_ref(v___y_6281_); -lean_dec(v___y_6280_); -lean_dec_ref(v___y_6279_); -lean_dec(v___y_6278_); -lean_dec(v_a_6275_); -v_a_6336_ = lean_ctor_get(v___x_6313_, 0); -v_isSharedCheck_6343_ = !lean_is_exclusive(v___x_6313_); -if (v_isSharedCheck_6343_ == 0) +lean_object* v_a_6516_; lean_object* v___x_6518_; uint8_t v_isShared_6519_; uint8_t v_isSharedCheck_6523_; +lean_del_object(v___x_6488_); +lean_dec(v_stop_6478_); +lean_dec(v_start_6477_); +lean_dec_ref(v_array_6476_); +lean_del_object(v___x_6474_); +lean_dec(v_fst_6472_); +lean_dec(v_fst_6468_); +lean_dec(v___y_6462_); +lean_dec_ref(v___y_6461_); +lean_dec(v___y_6460_); +lean_dec_ref(v___y_6459_); +lean_dec(v___y_6458_); +lean_dec_ref(v___y_6457_); +lean_dec(v_a_6455_); +v_a_6516_ = lean_ctor_get(v___x_6493_, 0); +v_isSharedCheck_6523_ = !lean_is_exclusive(v___x_6493_); +if (v_isSharedCheck_6523_ == 0) { -v___x_6338_ = v___x_6313_; -v_isShared_6339_ = v_isSharedCheck_6343_; -goto v_resetjp_6337_; +v___x_6518_ = v___x_6493_; +v_isShared_6519_ = v_isSharedCheck_6523_; +goto v_resetjp_6517_; } else { -lean_inc(v_a_6336_); -lean_dec(v___x_6313_); -v___x_6338_ = lean_box(0); -v_isShared_6339_ = v_isSharedCheck_6343_; -goto v_resetjp_6337_; +lean_inc(v_a_6516_); +lean_dec(v___x_6493_); +v___x_6518_ = lean_box(0); +v_isShared_6519_ = v_isSharedCheck_6523_; +goto v_resetjp_6517_; } -v_resetjp_6337_: +v_resetjp_6517_: { -lean_object* v___x_6341_; -if (v_isShared_6339_ == 0) +lean_object* v___x_6521_; +if (v_isShared_6519_ == 0) { -v___x_6341_ = v___x_6338_; -goto v_reusejp_6340_; +v___x_6521_ = v___x_6518_; +goto v_reusejp_6520_; } else { -lean_object* v_reuseFailAlloc_6342_; -v_reuseFailAlloc_6342_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6342_, 0, v_a_6336_); -v___x_6341_ = v_reuseFailAlloc_6342_; -goto v_reusejp_6340_; +lean_object* v_reuseFailAlloc_6522_; +v_reuseFailAlloc_6522_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6522_, 0, v_a_6516_); +v___x_6521_ = v_reuseFailAlloc_6522_; +goto v_reusejp_6520_; } -v_reusejp_6340_: +v_reusejp_6520_: { -return v___x_6341_; +return v___x_6521_; } } } @@ -21405,398 +22092,406 @@ return v___x_6341_; static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2(void){ _start: { -lean_object* v___x_6352_; lean_object* v___x_6353_; -v___x_6352_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); -v___x_6353_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_6353_, 0, v___x_6352_); -lean_ctor_set(v___x_6353_, 1, v___x_6352_); -lean_ctor_set(v___x_6353_, 2, v___x_6352_); -lean_ctor_set(v___x_6353_, 3, v___x_6352_); -lean_ctor_set(v___x_6353_, 4, v___x_6352_); -return v___x_6353_; +lean_object* v___x_6532_; lean_object* v___x_6533_; +v___x_6532_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); +v___x_6533_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_6533_, 0, v___x_6532_); +lean_ctor_set(v___x_6533_, 1, v___x_6532_); +lean_ctor_set(v___x_6533_, 2, v___x_6532_); +lean_ctor_set(v___x_6533_, 3, v___x_6532_); +lean_ctor_set(v___x_6533_, 4, v___x_6532_); +return v___x_6533_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1(void){ _start: { -lean_object* v___x_6354_; lean_object* v___x_6355_; -v___x_6354_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); -v___x_6355_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_6355_, 0, v___x_6354_); -lean_ctor_set(v___x_6355_, 1, v___x_6354_); -lean_ctor_set(v___x_6355_, 2, v___x_6354_); -lean_ctor_set(v___x_6355_, 3, v___x_6354_); -lean_ctor_set(v___x_6355_, 4, v___x_6354_); -lean_ctor_set(v___x_6355_, 5, v___x_6354_); -return v___x_6355_; +lean_object* v___x_6534_; lean_object* v___x_6535_; +v___x_6534_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); +v___x_6535_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_6535_, 0, v___x_6534_); +lean_ctor_set(v___x_6535_, 1, v___x_6534_); +lean_ctor_set(v___x_6535_, 2, v___x_6534_); +lean_ctor_set(v___x_6535_, 3, v___x_6534_); +lean_ctor_set(v___x_6535_, 4, v___x_6534_); +lean_ctor_set(v___x_6535_, 5, v___x_6534_); +return v___x_6535_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0(void){ _start: { -lean_object* v___x_6356_; lean_object* v___x_6357_; lean_object* v___x_6358_; -v___x_6356_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); -v___x_6357_ = lean_unsigned_to_nat(0u); -v___x_6358_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_6358_, 0, v___x_6357_); -lean_ctor_set(v___x_6358_, 1, v___x_6357_); -lean_ctor_set(v___x_6358_, 2, v___x_6357_); -lean_ctor_set(v___x_6358_, 3, v___x_6356_); -lean_ctor_set(v___x_6358_, 4, v___x_6356_); -lean_ctor_set(v___x_6358_, 5, v___x_6356_); -lean_ctor_set(v___x_6358_, 6, v___x_6356_); -lean_ctor_set(v___x_6358_, 7, v___x_6356_); -lean_ctor_set(v___x_6358_, 8, v___x_6356_); -return v___x_6358_; +lean_object* v___x_6536_; lean_object* v___x_6537_; lean_object* v___x_6538_; +v___x_6536_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__1); +v___x_6537_ = lean_unsigned_to_nat(0u); +v___x_6538_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_6538_, 0, v___x_6537_); +lean_ctor_set(v___x_6538_, 1, v___x_6537_); +lean_ctor_set(v___x_6538_, 2, v___x_6537_); +lean_ctor_set(v___x_6538_, 3, v___x_6536_); +lean_ctor_set(v___x_6538_, 4, v___x_6536_); +lean_ctor_set(v___x_6538_, 5, v___x_6536_); +lean_ctor_set(v___x_6538_, 6, v___x_6536_); +lean_ctor_set(v___x_6538_, 7, v___x_6536_); +lean_ctor_set(v___x_6538_, 8, v___x_6536_); +return v___x_6538_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3(void){ _start: { -lean_object* v___x_6359_; lean_object* v___x_6360_; lean_object* v___x_6361_; lean_object* v___x_6362_; lean_object* v___x_6363_; lean_object* v___x_6364_; -v___x_6359_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2); -v___x_6360_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); -v___x_6361_ = lean_box(1); -v___x_6362_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1); -v___x_6363_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0); -v___x_6364_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_6364_, 0, v___x_6363_); -lean_ctor_set(v___x_6364_, 1, v___x_6362_); -lean_ctor_set(v___x_6364_, 2, v___x_6361_); -lean_ctor_set(v___x_6364_, 3, v___x_6360_); -lean_ctor_set(v___x_6364_, 4, v___x_6359_); -return v___x_6364_; +lean_object* v___x_6539_; lean_object* v___x_6540_; lean_object* v___x_6541_; lean_object* v___x_6542_; lean_object* v___x_6543_; lean_object* v___x_6544_; +v___x_6539_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__2); +v___x_6540_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__3); +v___x_6541_ = lean_box(1); +v___x_6542_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__1); +v___x_6543_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__0); +v___x_6544_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_6544_, 0, v___x_6543_); +lean_ctor_set(v___x_6544_, 1, v___x_6542_); +lean_ctor_set(v___x_6544_, 2, v___x_6541_); +lean_ctor_set(v___x_6544_, 3, v___x_6540_); +lean_ctor_set(v___x_6544_, 4, v___x_6539_); +return v___x_6544_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5(void){ _start: { -lean_object* v___x_6366_; lean_object* v___x_6367_; lean_object* v___x_6368_; lean_object* v___x_6369_; lean_object* v___x_6370_; lean_object* v___x_6371_; -v___x_6366_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__4)); -v___x_6367_ = lean_unsigned_to_nat(8u); -v___x_6368_ = lean_unsigned_to_nat(589u); -v___x_6369_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); -v___x_6370_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6371_ = l_mkPanicMessageWithDecl(v___x_6370_, v___x_6369_, v___x_6368_, v___x_6367_, v___x_6366_); -return v___x_6371_; +lean_object* v___x_6546_; lean_object* v___x_6547_; lean_object* v___x_6548_; lean_object* v___x_6549_; lean_object* v___x_6550_; lean_object* v___x_6551_; +v___x_6546_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__4)); +v___x_6547_ = lean_unsigned_to_nat(8u); +v___x_6548_ = lean_unsigned_to_nat(614u); +v___x_6549_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); +v___x_6550_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_6551_ = l_mkPanicMessageWithDecl(v___x_6550_, v___x_6549_, v___x_6548_, v___x_6547_, v___x_6546_); +return v___x_6551_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6(void){ _start: { -lean_object* v___x_6372_; lean_object* v___x_6373_; lean_object* v___x_6374_; lean_object* v___x_6375_; lean_object* v___x_6376_; lean_object* v___x_6377_; -v___x_6372_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6373_ = lean_unsigned_to_nat(66u); -v___x_6374_ = lean_unsigned_to_nat(593u); -v___x_6375_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); -v___x_6376_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6377_ = l_mkPanicMessageWithDecl(v___x_6376_, v___x_6375_, v___x_6374_, v___x_6373_, v___x_6372_); -return v___x_6377_; +lean_object* v___x_6552_; lean_object* v___x_6553_; lean_object* v___x_6554_; lean_object* v___x_6555_; lean_object* v___x_6556_; lean_object* v___x_6557_; +v___x_6552_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_6553_ = lean_unsigned_to_nat(66u); +v___x_6554_ = lean_unsigned_to_nat(618u); +v___x_6555_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); +v___x_6556_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_6557_ = l_mkPanicMessageWithDecl(v___x_6556_, v___x_6555_, v___x_6554_, v___x_6553_, v___x_6552_); +return v___x_6557_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7(void){ _start: { -lean_object* v___x_6378_; lean_object* v___x_6379_; lean_object* v___x_6380_; lean_object* v___x_6381_; lean_object* v___x_6382_; lean_object* v___x_6383_; -v___x_6378_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6379_ = lean_unsigned_to_nat(64u); -v___x_6380_ = lean_unsigned_to_nat(592u); -v___x_6381_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); -v___x_6382_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6383_ = l_mkPanicMessageWithDecl(v___x_6382_, v___x_6381_, v___x_6380_, v___x_6379_, v___x_6378_); -return v___x_6383_; +lean_object* v___x_6558_; lean_object* v___x_6559_; lean_object* v___x_6560_; lean_object* v___x_6561_; lean_object* v___x_6562_; lean_object* v___x_6563_; +v___x_6558_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_6559_ = lean_unsigned_to_nat(64u); +v___x_6560_ = lean_unsigned_to_nat(617u); +v___x_6561_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); +v___x_6562_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_6563_ = l_mkPanicMessageWithDecl(v___x_6562_, v___x_6561_, v___x_6560_, v___x_6559_, v___x_6558_); +return v___x_6563_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8(void){ _start: { -lean_object* v___x_6384_; lean_object* v___x_6385_; lean_object* v___x_6386_; lean_object* v___x_6387_; lean_object* v___x_6388_; lean_object* v___x_6389_; -v___x_6384_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6385_ = lean_unsigned_to_nat(55u); -v___x_6386_ = lean_unsigned_to_nat(584u); -v___x_6387_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); -v___x_6388_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6389_ = l_mkPanicMessageWithDecl(v___x_6388_, v___x_6387_, v___x_6386_, v___x_6385_, v___x_6384_); -return v___x_6389_; +lean_object* v___x_6564_; lean_object* v___x_6565_; lean_object* v___x_6566_; lean_object* v___x_6567_; lean_object* v___x_6568_; lean_object* v___x_6569_; +v___x_6564_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_6565_ = lean_unsigned_to_nat(55u); +v___x_6566_ = lean_unsigned_to_nat(609u); +v___x_6567_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__1)); +v___x_6568_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_6569_ = l_mkPanicMessageWithDecl(v___x_6568_, v___x_6567_, v___x_6566_, v___x_6565_, v___x_6564_); +return v___x_6569_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1(lean_object* v_indName_6390_, lean_object* v_casesInfo_6391_, lean_object* v_altsRange_6392_, lean_object* v_args_6393_, lean_object* v_arity_6394_, lean_object* v_altNumParams_6395_, lean_object* v_discrPos_6396_, lean_object* v___x_6397_, lean_object* v_____do__lift_6398_, uint8_t v___y_6399_, lean_object* v___y_6400_, lean_object* v___y_6401_, lean_object* v___y_6402_, lean_object* v___y_6403_, lean_object* v___y_6404_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1(lean_object* v_indName_6570_, lean_object* v_casesInfo_6571_, lean_object* v_altsRange_6572_, lean_object* v_args_6573_, lean_object* v_arity_6574_, lean_object* v_altNumParams_6575_, lean_object* v_discrPos_6576_, lean_object* v___x_6577_, lean_object* v_____do__lift_6578_, lean_object* v___y_6579_, lean_object* v___y_6580_, lean_object* v___y_6581_, lean_object* v___y_6582_, lean_object* v___y_6583_, lean_object* v___y_6584_){ _start: { -lean_object* v_a_6407_; lean_object* v___x_6415_; -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -v___x_6415_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_____do__lift_6398_, v___y_6400_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6415_) == 0) +lean_object* v_a_6587_; lean_object* v___x_6609_; +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +v___x_6609_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_____do__lift_6578_, v___y_6580_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6609_) == 0) { -lean_object* v_a_6416_; lean_object* v___x_6417_; -v_a_6416_ = lean_ctor_get(v___x_6415_, 0); -lean_inc(v_a_6416_); -lean_dec_ref(v___x_6415_); -lean_inc_ref(v___y_6403_); -lean_inc(v_indName_6390_); -v___x_6417_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_indName_6390_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6417_) == 0) +lean_object* v_a_6610_; lean_object* v___x_6611_; +v_a_6610_ = lean_ctor_get(v___x_6609_, 0); +lean_inc(v_a_6610_); +lean_dec_ref(v___x_6609_); +lean_inc_ref(v___y_6583_); +lean_inc(v_indName_6570_); +v___x_6611_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_indName_6570_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6611_) == 0) { -lean_object* v_a_6418_; -v_a_6418_ = lean_ctor_get(v___x_6417_, 0); -lean_inc(v_a_6418_); -lean_dec_ref(v___x_6417_); -if (lean_obj_tag(v_a_6418_) == 5) +lean_object* v_a_6612_; +v_a_6612_ = lean_ctor_get(v___x_6611_, 0); +lean_inc(v_a_6612_); +lean_dec_ref(v___x_6611_); +if (lean_obj_tag(v_a_6612_) == 5) { -lean_object* v_val_6419_; lean_object* v___x_6421_; uint8_t v_isShared_6422_; uint8_t v_isSharedCheck_6578_; -v_val_6419_ = lean_ctor_get(v_a_6418_, 0); -v_isSharedCheck_6578_ = !lean_is_exclusive(v_a_6418_); -if (v_isSharedCheck_6578_ == 0) +lean_object* v_val_6613_; lean_object* v___x_6615_; uint8_t v_isShared_6616_; uint8_t v_isSharedCheck_6784_; +v_val_6613_ = lean_ctor_get(v_a_6612_, 0); +v_isSharedCheck_6784_ = !lean_is_exclusive(v_a_6612_); +if (v_isSharedCheck_6784_ == 0) { -v___x_6421_ = v_a_6418_; -v_isShared_6422_ = v_isSharedCheck_6578_; -goto v_resetjp_6420_; +v___x_6615_ = v_a_6612_; +v_isShared_6616_ = v_isSharedCheck_6784_; +goto v_resetjp_6614_; } else { -lean_inc(v_val_6419_); -lean_dec(v_a_6418_); -v___x_6421_ = lean_box(0); -v_isShared_6422_ = v_isSharedCheck_6578_; -goto v_resetjp_6420_; +lean_inc(v_val_6613_); +lean_dec(v_a_6612_); +v___x_6615_ = lean_box(0); +v_isShared_6616_ = v_isSharedCheck_6784_; +goto v_resetjp_6614_; } -v_resetjp_6420_: +v_resetjp_6614_: { -lean_object* v___x_6423_; lean_object* v___x_6424_; uint8_t v___x_6425_; lean_object* v___y_6427_; lean_object* v_discrFVarId_6428_; uint8_t v___y_6429_; lean_object* v___y_6430_; lean_object* v___y_6431_; lean_object* v___y_6432_; lean_object* v___y_6433_; lean_object* v___y_6434_; -v___x_6423_ = l_CasesInfo_numAlts(v_casesInfo_6391_); -v___x_6424_ = lean_unsigned_to_nat(0u); -v___x_6425_ = lean_nat_dec_eq(v___x_6423_, v___x_6424_); -if (v___x_6425_ == 0) +lean_object* v___x_6617_; lean_object* v___x_6618_; uint8_t v___x_6619_; lean_object* v___y_6621_; lean_object* v___y_6622_; lean_object* v_discrFVarId_6623_; lean_object* v___y_6624_; lean_object* v___y_6625_; lean_object* v___y_6626_; lean_object* v___y_6627_; lean_object* v___y_6628_; lean_object* v___y_6629_; +v___x_6617_ = l_CasesInfo_numAlts(v_casesInfo_6571_); +v___x_6618_ = lean_unsigned_to_nat(0u); +v___x_6619_ = lean_nat_dec_eq(v___x_6617_, v___x_6618_); +if (v___x_6619_ == 0) { -uint8_t v___x_6494_; lean_object* v___x_6495_; lean_object* v___x_6496_; lean_object* v___x_6497_; lean_object* v___x_6498_; lean_object* v___x_6499_; lean_object* v___x_6500_; lean_object* v___x_6501_; uint8_t v_a_6503_; lean_object* v___x_6562_; lean_object* v___x_6563_; -v___x_6494_ = 1; -v___x_6495_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_6496_ = lean_box(1); -v___x_6497_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4); -v___x_6498_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_6499_ = lean_box(0); -v___x_6500_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_6500_, 0, v___x_6495_); -lean_ctor_set(v___x_6500_, 1, v___x_6496_); -lean_ctor_set(v___x_6500_, 2, v___x_6497_); -lean_ctor_set(v___x_6500_, 3, v___x_6498_); -lean_ctor_set(v___x_6500_, 4, v___x_6499_); -lean_ctor_set(v___x_6500_, 5, v___x_6424_); -lean_ctor_set(v___x_6500_, 6, v___x_6499_); -lean_ctor_set_uint8(v___x_6500_, sizeof(void*)*7, v___x_6425_); -lean_ctor_set_uint8(v___x_6500_, sizeof(void*)*7 + 1, v___x_6425_); -lean_ctor_set_uint8(v___x_6500_, sizeof(void*)*7 + 2, v___x_6425_); -lean_ctor_set_uint8(v___x_6500_, sizeof(void*)*7 + 3, v___x_6494_); -v___x_6501_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3); -v___x_6562_ = lean_st_mk_ref(v___x_6501_); -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -lean_inc(v___x_6562_); -lean_inc_ref(v___x_6500_); -lean_inc_ref(v_val_6419_); -v___x_6563_ = l_Lean_Meta_isInductivePredicateVal(v_val_6419_, v___x_6500_, v___x_6562_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6563_) == 0) +uint8_t v___x_6698_; lean_object* v___x_6699_; lean_object* v___x_6700_; lean_object* v___x_6701_; lean_object* v___x_6702_; lean_object* v___x_6703_; lean_object* v___x_6704_; lean_object* v___x_6705_; uint8_t v_a_6707_; lean_object* v___x_6768_; lean_object* v___x_6769_; +v___x_6698_ = 1; +v___x_6699_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_6700_ = lean_box(1); +v___x_6701_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4, &l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4_once, _init_l_Lean_Compiler_LCNF_ToLCNF_run___redArg___closed__4); +v___x_6702_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_6703_ = lean_box(0); +v___x_6704_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_6704_, 0, v___x_6699_); +lean_ctor_set(v___x_6704_, 1, v___x_6700_); +lean_ctor_set(v___x_6704_, 2, v___x_6701_); +lean_ctor_set(v___x_6704_, 3, v___x_6702_); +lean_ctor_set(v___x_6704_, 4, v___x_6703_); +lean_ctor_set(v___x_6704_, 5, v___x_6618_); +lean_ctor_set(v___x_6704_, 6, v___x_6703_); +lean_ctor_set_uint8(v___x_6704_, sizeof(void*)*7, v___x_6619_); +lean_ctor_set_uint8(v___x_6704_, sizeof(void*)*7 + 1, v___x_6619_); +lean_ctor_set_uint8(v___x_6704_, sizeof(void*)*7 + 2, v___x_6619_); +lean_ctor_set_uint8(v___x_6704_, sizeof(void*)*7 + 3, v___x_6698_); +v___x_6705_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__3); +v___x_6768_ = lean_st_mk_ref(v___x_6705_); +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +lean_inc(v___x_6768_); +lean_inc_ref(v___x_6704_); +lean_inc_ref(v_val_6613_); +v___x_6769_ = l_Lean_Meta_isInductivePredicateVal(v_val_6613_, v___x_6704_, v___x_6768_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6769_) == 0) { -lean_object* v_a_6564_; lean_object* v___x_6565_; uint8_t v___x_6566_; -v_a_6564_ = lean_ctor_get(v___x_6563_, 0); -lean_inc(v_a_6564_); -lean_dec_ref(v___x_6563_); -v___x_6565_ = lean_st_ref_get(v___x_6562_); -lean_dec(v___x_6562_); -lean_dec(v___x_6565_); -v___x_6566_ = lean_unbox(v_a_6564_); -lean_dec(v_a_6564_); -v_a_6503_ = v___x_6566_; -goto v___jp_6502_; +lean_object* v_a_6770_; lean_object* v___x_6771_; uint8_t v___x_6772_; +v_a_6770_ = lean_ctor_get(v___x_6769_, 0); +lean_inc(v_a_6770_); +lean_dec_ref(v___x_6769_); +v___x_6771_ = lean_st_ref_get(v___x_6768_); +lean_dec(v___x_6768_); +lean_dec(v___x_6771_); +v___x_6772_ = lean_unbox(v_a_6770_); +lean_dec(v_a_6770_); +v_a_6707_ = v___x_6772_; +goto v___jp_6706_; } else { -lean_dec(v___x_6562_); -if (lean_obj_tag(v___x_6563_) == 0) +lean_dec(v___x_6768_); +if (lean_obj_tag(v___x_6769_) == 0) { -lean_object* v_a_6567_; uint8_t v___x_6568_; -v_a_6567_ = lean_ctor_get(v___x_6563_, 0); -lean_inc(v_a_6567_); -lean_dec_ref(v___x_6563_); -v___x_6568_ = lean_unbox(v_a_6567_); -lean_dec(v_a_6567_); -v_a_6503_ = v___x_6568_; -goto v___jp_6502_; +lean_object* v_a_6773_; uint8_t v___x_6774_; +v_a_6773_ = lean_ctor_get(v___x_6769_, 0); +lean_inc(v_a_6773_); +lean_dec_ref(v___x_6769_); +v___x_6774_ = lean_unbox(v_a_6773_); +lean_dec(v_a_6773_); +v_a_6707_ = v___x_6774_; +goto v___jp_6706_; } else { -lean_object* v_a_6569_; lean_object* v___x_6571_; uint8_t v_isShared_6572_; uint8_t v_isSharedCheck_6576_; -lean_dec_ref(v___x_6500_); -lean_dec(v___x_6423_); -lean_del_object(v___x_6421_); -lean_dec_ref(v_val_6419_); -lean_dec(v_a_6416_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v_a_6569_ = lean_ctor_get(v___x_6563_, 0); -v_isSharedCheck_6576_ = !lean_is_exclusive(v___x_6563_); -if (v_isSharedCheck_6576_ == 0) +lean_object* v_a_6775_; lean_object* v___x_6777_; uint8_t v_isShared_6778_; uint8_t v_isSharedCheck_6782_; +lean_dec_ref(v___x_6704_); +lean_dec(v___x_6617_); +lean_del_object(v___x_6615_); +lean_dec_ref(v_val_6613_); +lean_dec(v_a_6610_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v_a_6775_ = lean_ctor_get(v___x_6769_, 0); +v_isSharedCheck_6782_ = !lean_is_exclusive(v___x_6769_); +if (v_isSharedCheck_6782_ == 0) { -v___x_6571_ = v___x_6563_; -v_isShared_6572_ = v_isSharedCheck_6576_; -goto v_resetjp_6570_; +v___x_6777_ = v___x_6769_; +v_isShared_6778_ = v_isSharedCheck_6782_; +goto v_resetjp_6776_; } else { -lean_inc(v_a_6569_); -lean_dec(v___x_6563_); -v___x_6571_ = lean_box(0); -v_isShared_6572_ = v_isSharedCheck_6576_; -goto v_resetjp_6570_; +lean_inc(v_a_6775_); +lean_dec(v___x_6769_); +v___x_6777_ = lean_box(0); +v_isShared_6778_ = v_isSharedCheck_6782_; +goto v_resetjp_6776_; } -v_resetjp_6570_: +v_resetjp_6776_: { -lean_object* v___x_6574_; -if (v_isShared_6572_ == 0) +lean_object* v___x_6780_; +if (v_isShared_6778_ == 0) { -v___x_6574_ = v___x_6571_; -goto v_reusejp_6573_; +v___x_6780_ = v___x_6777_; +goto v_reusejp_6779_; } else { -lean_object* v_reuseFailAlloc_6575_; -v_reuseFailAlloc_6575_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6575_, 0, v_a_6569_); -v___x_6574_ = v_reuseFailAlloc_6575_; -goto v_reusejp_6573_; +lean_object* v_reuseFailAlloc_6781_; +v_reuseFailAlloc_6781_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6781_, 0, v_a_6775_); +v___x_6780_ = v_reuseFailAlloc_6781_; +goto v_reusejp_6779_; } -v_reusejp_6573_: +v_reusejp_6779_: { -return v___x_6574_; +return v___x_6780_; } } } } -v___jp_6502_: +v___jp_6706_: { -if (v_a_6503_ == 0) +if (v_a_6707_ == 0) { -lean_object* v___x_6504_; lean_object* v___x_6505_; lean_object* v___x_6506_; -lean_dec_ref(v___x_6500_); -lean_dec(v___x_6423_); -lean_dec_ref(v_val_6419_); -v___x_6504_ = l_Lean_instInhabitedExpr; -v___x_6505_ = lean_array_get_borrowed(v___x_6504_, v_args_6393_, v_discrPos_6396_); -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -lean_inc(v___y_6402_); -lean_inc_ref(v___y_6401_); -lean_inc(v___y_6400_); -lean_inc(v___x_6505_); -v___x_6506_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6505_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6506_) == 0) +uint8_t v_ignoreNoncomputable_6708_; lean_object* v___x_6709_; lean_object* v___x_6710_; lean_object* v___x_6711_; lean_object* v___x_6712_; +lean_dec_ref(v___x_6704_); +lean_dec(v___x_6617_); +lean_dec_ref(v_val_6613_); +v_ignoreNoncomputable_6708_ = lean_ctor_get_uint8(v___y_6579_, sizeof(void*)*1); +v___x_6709_ = l_Lean_instInhabitedExpr; +v___x_6710_ = lean_array_get_borrowed(v___x_6709_, v_args_6573_, v_discrPos_6576_); +v___x_6711_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_6711_, 0, v___x_6703_); +lean_ctor_set_uint8(v___x_6711_, sizeof(void*)*1, v_ignoreNoncomputable_6708_); +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +lean_inc(v___y_6582_); +lean_inc_ref(v___y_6581_); +lean_inc(v___y_6580_); +lean_inc(v___x_6710_); +v___x_6712_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6710_, v___x_6711_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6712_) == 0) { -lean_object* v_a_6507_; -v_a_6507_ = lean_ctor_get(v___x_6506_, 0); -lean_inc(v_a_6507_); -lean_dec_ref(v___x_6506_); -if (lean_obj_tag(v_a_6507_) == 1) +lean_object* v_a_6713_; +v_a_6713_ = lean_ctor_get(v___x_6712_, 0); +lean_inc(v_a_6713_); +lean_dec_ref(v___x_6712_); +if (lean_obj_tag(v_a_6713_) == 1) { -lean_object* v_fvarId_6508_; -v_fvarId_6508_ = lean_ctor_get(v_a_6507_, 0); -lean_inc(v_fvarId_6508_); -lean_dec_ref(v_a_6507_); -v___y_6427_ = v___x_6498_; -v_discrFVarId_6428_ = v_fvarId_6508_; -v___y_6429_ = v___y_6399_; -v___y_6430_ = v___y_6400_; -v___y_6431_ = v___y_6401_; -v___y_6432_ = v___y_6402_; -v___y_6433_ = v___y_6403_; -v___y_6434_ = v___y_6404_; -goto v___jp_6426_; +lean_object* v_fvarId_6714_; +v_fvarId_6714_ = lean_ctor_get(v_a_6713_, 0); +lean_inc(v_fvarId_6714_); +lean_dec_ref(v_a_6713_); +v___y_6621_ = v___x_6703_; +v___y_6622_ = v___x_6702_; +v_discrFVarId_6623_ = v_fvarId_6714_; +v___y_6624_ = v___y_6579_; +v___y_6625_ = v___y_6580_; +v___y_6626_ = v___y_6581_; +v___y_6627_ = v___y_6582_; +v___y_6628_ = v___y_6583_; +v___y_6629_ = v___y_6584_; +goto v___jp_6620_; } else { -lean_object* v___x_6509_; lean_object* v___x_6510_; lean_object* v___x_6511_; -lean_dec(v_a_6507_); -v___x_6509_ = lean_box(1); -v___x_6510_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -lean_inc(v___y_6402_); -lean_inc_ref(v___y_6401_); -v___x_6511_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_6509_, v___x_6510_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6511_) == 0) +lean_object* v___x_6715_; lean_object* v___x_6716_; lean_object* v___x_6717_; +lean_dec(v_a_6713_); +v___x_6715_ = lean_box(1); +v___x_6716_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +lean_inc(v___y_6582_); +lean_inc_ref(v___y_6581_); +v___x_6717_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_6715_, v___x_6716_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6717_) == 0) { -lean_object* v_a_6512_; -v_a_6512_ = lean_ctor_get(v___x_6511_, 0); -lean_inc(v_a_6512_); -lean_dec_ref(v___x_6511_); -v___y_6427_ = v___x_6498_; -v_discrFVarId_6428_ = v_a_6512_; -v___y_6429_ = v___y_6399_; -v___y_6430_ = v___y_6400_; -v___y_6431_ = v___y_6401_; -v___y_6432_ = v___y_6402_; -v___y_6433_ = v___y_6403_; -v___y_6434_ = v___y_6404_; -goto v___jp_6426_; +lean_object* v_a_6718_; +v_a_6718_ = lean_ctor_get(v___x_6717_, 0); +lean_inc(v_a_6718_); +lean_dec_ref(v___x_6717_); +v___y_6621_ = v___x_6703_; +v___y_6622_ = v___x_6702_; +v_discrFVarId_6623_ = v_a_6718_; +v___y_6624_ = v___y_6579_; +v___y_6625_ = v___y_6580_; +v___y_6626_ = v___y_6581_; +v___y_6627_ = v___y_6582_; +v___y_6628_ = v___y_6583_; +v___y_6629_ = v___y_6584_; +goto v___jp_6620_; } else { -lean_object* v_a_6513_; lean_object* v___x_6515_; uint8_t v_isShared_6516_; uint8_t v_isSharedCheck_6520_; -lean_del_object(v___x_6421_); -lean_dec(v_a_6416_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v_a_6513_ = lean_ctor_get(v___x_6511_, 0); -v_isSharedCheck_6520_ = !lean_is_exclusive(v___x_6511_); -if (v_isSharedCheck_6520_ == 0) +lean_object* v_a_6719_; lean_object* v___x_6721_; uint8_t v_isShared_6722_; uint8_t v_isSharedCheck_6726_; +lean_del_object(v___x_6615_); +lean_dec(v_a_6610_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v_a_6719_ = lean_ctor_get(v___x_6717_, 0); +v_isSharedCheck_6726_ = !lean_is_exclusive(v___x_6717_); +if (v_isSharedCheck_6726_ == 0) { -v___x_6515_ = v___x_6511_; -v_isShared_6516_ = v_isSharedCheck_6520_; -goto v_resetjp_6514_; +v___x_6721_ = v___x_6717_; +v_isShared_6722_ = v_isSharedCheck_6726_; +goto v_resetjp_6720_; } else { -lean_inc(v_a_6513_); -lean_dec(v___x_6511_); -v___x_6515_ = lean_box(0); -v_isShared_6516_ = v_isSharedCheck_6520_; -goto v_resetjp_6514_; +lean_inc(v_a_6719_); +lean_dec(v___x_6717_); +v___x_6721_ = lean_box(0); +v_isShared_6722_ = v_isSharedCheck_6726_; +goto v_resetjp_6720_; } -v_resetjp_6514_: +v_resetjp_6720_: { -lean_object* v___x_6518_; -if (v_isShared_6516_ == 0) +lean_object* v___x_6724_; +if (v_isShared_6722_ == 0) { -v___x_6518_ = v___x_6515_; -goto v_reusejp_6517_; +v___x_6724_ = v___x_6721_; +goto v_reusejp_6723_; } else { -lean_object* v_reuseFailAlloc_6519_; -v_reuseFailAlloc_6519_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6519_, 0, v_a_6513_); -v___x_6518_ = v_reuseFailAlloc_6519_; -goto v_reusejp_6517_; +lean_object* v_reuseFailAlloc_6725_; +v_reuseFailAlloc_6725_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6725_, 0, v_a_6719_); +v___x_6724_ = v_reuseFailAlloc_6725_; +goto v_reusejp_6723_; } -v_reusejp_6517_: +v_reusejp_6723_: { -return v___x_6518_; +return v___x_6724_; } } } @@ -21804,164 +22499,166 @@ return v___x_6518_; } else { -lean_del_object(v___x_6421_); -lean_dec(v_a_6416_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -return v___x_6506_; +lean_del_object(v___x_6615_); +lean_dec(v_a_6610_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +return v___x_6712_; } } else { -uint8_t v___x_6521_; -lean_del_object(v___x_6421_); -lean_dec(v_a_6416_); -v___x_6521_ = lean_nat_dec_eq(v___x_6423_, v___x_6397_); -lean_dec(v___x_6423_); -if (v___x_6521_ == 0) +uint8_t v___x_6727_; +lean_del_object(v___x_6615_); +lean_dec(v_a_6610_); +v___x_6727_ = lean_nat_dec_eq(v___x_6617_, v___x_6577_); +lean_dec(v___x_6617_); +if (v___x_6727_ == 0) { -lean_object* v___x_6522_; lean_object* v___x_6523_; -lean_dec_ref(v___x_6500_); -lean_dec_ref(v_val_6419_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v___x_6522_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5); -v___x_6523_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6522_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -return v___x_6523_; +lean_object* v___x_6728_; lean_object* v___x_6729_; +lean_dec_ref(v___x_6704_); +lean_dec_ref(v_val_6613_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v___x_6728_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__5); +v___x_6729_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6728_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +return v___x_6729_; } else { -lean_object* v_numParams_6524_; lean_object* v_ctors_6525_; lean_object* v___x_6526_; lean_object* v___x_6527_; lean_object* v___x_6528_; -v_numParams_6524_ = lean_ctor_get(v_val_6419_, 1); -lean_inc(v_numParams_6524_); -v_ctors_6525_ = lean_ctor_get(v_val_6419_, 4); -lean_inc(v_ctors_6525_); -lean_dec_ref(v_val_6419_); -v___x_6526_ = lean_box(0); -v___x_6527_ = l_List_get_x21Internal___redArg(v___x_6526_, v_ctors_6525_, v___x_6424_); -lean_dec(v_ctors_6525_); -lean_inc_ref(v___y_6403_); -v___x_6528_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v___x_6527_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6528_) == 0) +lean_object* v_numParams_6730_; lean_object* v_ctors_6731_; lean_object* v___x_6732_; lean_object* v___x_6733_; lean_object* v___x_6734_; +v_numParams_6730_ = lean_ctor_get(v_val_6613_, 1); +lean_inc(v_numParams_6730_); +v_ctors_6731_ = lean_ctor_get(v_val_6613_, 4); +lean_inc(v_ctors_6731_); +lean_dec_ref(v_val_6613_); +v___x_6732_ = lean_box(0); +v___x_6733_ = l_List_get_x21Internal___redArg(v___x_6732_, v_ctors_6731_, v___x_6618_); +lean_dec(v_ctors_6731_); +lean_inc_ref(v___y_6583_); +v___x_6734_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v___x_6733_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6734_) == 0) { -lean_object* v_a_6529_; -v_a_6529_ = lean_ctor_get(v___x_6528_, 0); -lean_inc(v_a_6529_); -lean_dec_ref(v___x_6528_); -if (lean_obj_tag(v_a_6529_) == 6) +lean_object* v_a_6735_; +v_a_6735_ = lean_ctor_get(v___x_6734_, 0); +lean_inc(v_a_6735_); +lean_dec_ref(v___x_6734_); +if (lean_obj_tag(v_a_6735_) == 6) { -lean_object* v_val_6530_; lean_object* v___x_6531_; lean_object* v___x_6532_; -v_val_6530_ = lean_ctor_get(v_a_6529_, 0); -lean_inc_ref(v_val_6530_); -lean_dec_ref(v_a_6529_); -v___x_6531_ = l_instInhabitedCasesAltInfo_default; -v___x_6532_ = lean_array_get(v___x_6531_, v_altNumParams_6395_, v___x_6424_); -lean_dec_ref(v_altNumParams_6395_); -if (lean_obj_tag(v___x_6532_) == 0) +lean_object* v_val_6736_; lean_object* v___x_6737_; lean_object* v___x_6738_; +v_val_6736_ = lean_ctor_get(v_a_6735_, 0); +lean_inc_ref(v_val_6736_); +lean_dec_ref(v_a_6735_); +v___x_6737_ = l_instInhabitedCasesAltInfo_default; +v___x_6738_ = lean_array_get(v___x_6737_, v_altNumParams_6575_, v___x_6618_); +lean_dec_ref(v_altNumParams_6575_); +if (lean_obj_tag(v___x_6738_) == 0) { -lean_object* v_numFields_6533_; lean_object* v___x_6534_; lean_object* v_toConstantVal_6535_; lean_object* v_type_6536_; lean_object* v___f_6537_; lean_object* v___x_6538_; -v_numFields_6533_ = lean_ctor_get(v___x_6532_, 1); -lean_inc(v_numFields_6533_); -lean_dec_ref(v___x_6532_); -v___x_6534_ = lean_st_mk_ref(v___x_6501_); -v_toConstantVal_6535_ = lean_ctor_get(v_val_6530_, 0); -lean_inc_ref(v_toConstantVal_6535_); -lean_dec_ref(v_val_6530_); -v_type_6536_ = lean_ctor_get(v_toConstantVal_6535_, 2); -lean_inc_ref(v_type_6536_); -lean_dec_ref(v_toConstantVal_6535_); -lean_inc_ref(v_args_6393_); -v___f_6537_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___boxed), 12, 5); -lean_closure_set(v___f_6537_, 0, v_indName_6390_); -lean_closure_set(v___f_6537_, 1, v_numFields_6533_); -lean_closure_set(v___f_6537_, 2, v___x_6424_); -lean_closure_set(v___f_6537_, 3, v_numParams_6524_); -lean_closure_set(v___f_6537_, 4, v_args_6393_); -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -lean_inc(v___x_6534_); -v___x_6538_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_6536_, v___f_6537_, v___x_6425_, v___x_6500_, v___x_6534_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6538_) == 0) +lean_object* v_numFields_6739_; lean_object* v___x_6740_; lean_object* v_toConstantVal_6741_; lean_object* v_type_6742_; lean_object* v___f_6743_; lean_object* v___x_6744_; +v_numFields_6739_ = lean_ctor_get(v___x_6738_, 1); +lean_inc(v_numFields_6739_); +lean_dec_ref(v___x_6738_); +v___x_6740_ = lean_st_mk_ref(v___x_6705_); +v_toConstantVal_6741_ = lean_ctor_get(v_val_6736_, 0); +lean_inc_ref(v_toConstantVal_6741_); +lean_dec_ref(v_val_6736_); +v_type_6742_ = lean_ctor_get(v_toConstantVal_6741_, 2); +lean_inc_ref(v_type_6742_); +lean_dec_ref(v_toConstantVal_6741_); +lean_inc_ref(v_args_6573_); +v___f_6743_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___boxed), 12, 5); +lean_closure_set(v___f_6743_, 0, v_indName_6570_); +lean_closure_set(v___f_6743_, 1, v_numFields_6739_); +lean_closure_set(v___f_6743_, 2, v___x_6618_); +lean_closure_set(v___f_6743_, 3, v_numParams_6730_); +lean_closure_set(v___f_6743_, 4, v_args_6573_); +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +lean_inc(v___x_6740_); +v___x_6744_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_6742_, v___f_6743_, v___x_6619_, v___x_6704_, v___x_6740_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6744_) == 0) { -lean_object* v_a_6539_; lean_object* v___x_6540_; -v_a_6539_ = lean_ctor_get(v___x_6538_, 0); -lean_inc(v_a_6539_); -lean_dec_ref(v___x_6538_); -v___x_6540_ = lean_st_ref_get(v___x_6534_); -lean_dec(v___x_6534_); -lean_dec(v___x_6540_); -v_a_6407_ = v_a_6539_; -goto v___jp_6406_; +lean_object* v_a_6745_; lean_object* v___x_6746_; +v_a_6745_ = lean_ctor_get(v___x_6744_, 0); +lean_inc(v_a_6745_); +lean_dec_ref(v___x_6744_); +v___x_6746_ = lean_st_ref_get(v___x_6740_); +lean_dec(v___x_6740_); +lean_dec(v___x_6746_); +v_a_6587_ = v_a_6745_; +goto v___jp_6586_; } else { -lean_dec(v___x_6534_); -if (lean_obj_tag(v___x_6538_) == 0) +lean_dec(v___x_6740_); +if (lean_obj_tag(v___x_6744_) == 0) { -lean_object* v_a_6541_; -v_a_6541_ = lean_ctor_get(v___x_6538_, 0); -lean_inc(v_a_6541_); -lean_dec_ref(v___x_6538_); -v_a_6407_ = v_a_6541_; -goto v___jp_6406_; +lean_object* v_a_6747_; +v_a_6747_ = lean_ctor_get(v___x_6744_, 0); +lean_inc(v_a_6747_); +lean_dec_ref(v___x_6744_); +v_a_6587_ = v_a_6747_; +goto v___jp_6586_; } else { -lean_object* v_a_6542_; lean_object* v___x_6544_; uint8_t v_isShared_6545_; uint8_t v_isSharedCheck_6549_; -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -v_a_6542_ = lean_ctor_get(v___x_6538_, 0); -v_isSharedCheck_6549_ = !lean_is_exclusive(v___x_6538_); -if (v_isSharedCheck_6549_ == 0) +lean_object* v_a_6748_; lean_object* v___x_6750_; uint8_t v_isShared_6751_; uint8_t v_isSharedCheck_6755_; +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +v_a_6748_ = lean_ctor_get(v___x_6744_, 0); +v_isSharedCheck_6755_ = !lean_is_exclusive(v___x_6744_); +if (v_isSharedCheck_6755_ == 0) { -v___x_6544_ = v___x_6538_; -v_isShared_6545_ = v_isSharedCheck_6549_; -goto v_resetjp_6543_; +v___x_6750_ = v___x_6744_; +v_isShared_6751_ = v_isSharedCheck_6755_; +goto v_resetjp_6749_; } else { -lean_inc(v_a_6542_); -lean_dec(v___x_6538_); -v___x_6544_ = lean_box(0); -v_isShared_6545_ = v_isSharedCheck_6549_; -goto v_resetjp_6543_; +lean_inc(v_a_6748_); +lean_dec(v___x_6744_); +v___x_6750_ = lean_box(0); +v_isShared_6751_ = v_isSharedCheck_6755_; +goto v_resetjp_6749_; } -v_resetjp_6543_: +v_resetjp_6749_: { -lean_object* v___x_6547_; -if (v_isShared_6545_ == 0) +lean_object* v___x_6753_; +if (v_isShared_6751_ == 0) { -v___x_6547_ = v___x_6544_; -goto v_reusejp_6546_; +v___x_6753_ = v___x_6750_; +goto v_reusejp_6752_; } else { -lean_object* v_reuseFailAlloc_6548_; -v_reuseFailAlloc_6548_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6548_, 0, v_a_6542_); -v___x_6547_ = v_reuseFailAlloc_6548_; -goto v_reusejp_6546_; +lean_object* v_reuseFailAlloc_6754_; +v_reuseFailAlloc_6754_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6754_, 0, v_a_6748_); +v___x_6753_ = v_reuseFailAlloc_6754_; +goto v_reusejp_6752_; } -v_reusejp_6546_: +v_reusejp_6752_: { -return v___x_6547_; +return v___x_6753_; } } } @@ -21969,86 +22666,87 @@ return v___x_6547_; } else { -lean_object* v___x_6550_; lean_object* v___x_6551_; -lean_dec(v___x_6532_); -lean_dec_ref(v_val_6530_); -lean_dec(v_numParams_6524_); -lean_dec_ref(v___x_6500_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v___x_6550_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6); -v___x_6551_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6550_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -return v___x_6551_; +lean_object* v___x_6756_; lean_object* v___x_6757_; +lean_dec(v___x_6738_); +lean_dec_ref(v_val_6736_); +lean_dec(v_numParams_6730_); +lean_dec_ref(v___x_6704_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v___x_6756_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__6); +v___x_6757_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6756_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +return v___x_6757_; } } else { -lean_object* v___x_6552_; lean_object* v___x_6553_; -lean_dec(v_a_6529_); -lean_dec(v_numParams_6524_); -lean_dec_ref(v___x_6500_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v___x_6552_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7); -v___x_6553_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6552_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -return v___x_6553_; +lean_object* v___x_6758_; lean_object* v___x_6759_; +lean_dec(v_a_6735_); +lean_dec(v_numParams_6730_); +lean_dec_ref(v___x_6704_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v___x_6758_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__7); +v___x_6759_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6758_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +return v___x_6759_; } } else { -lean_object* v_a_6554_; lean_object* v___x_6556_; uint8_t v_isShared_6557_; uint8_t v_isSharedCheck_6561_; -lean_dec(v_numParams_6524_); -lean_dec_ref(v___x_6500_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v_a_6554_ = lean_ctor_get(v___x_6528_, 0); -v_isSharedCheck_6561_ = !lean_is_exclusive(v___x_6528_); -if (v_isSharedCheck_6561_ == 0) +lean_object* v_a_6760_; lean_object* v___x_6762_; uint8_t v_isShared_6763_; uint8_t v_isSharedCheck_6767_; +lean_dec(v_numParams_6730_); +lean_dec_ref(v___x_6704_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v_a_6760_ = lean_ctor_get(v___x_6734_, 0); +v_isSharedCheck_6767_ = !lean_is_exclusive(v___x_6734_); +if (v_isSharedCheck_6767_ == 0) { -v___x_6556_ = v___x_6528_; -v_isShared_6557_ = v_isSharedCheck_6561_; -goto v_resetjp_6555_; +v___x_6762_ = v___x_6734_; +v_isShared_6763_ = v_isSharedCheck_6767_; +goto v_resetjp_6761_; } else { -lean_inc(v_a_6554_); -lean_dec(v___x_6528_); -v___x_6556_ = lean_box(0); -v_isShared_6557_ = v_isSharedCheck_6561_; -goto v_resetjp_6555_; +lean_inc(v_a_6760_); +lean_dec(v___x_6734_); +v___x_6762_ = lean_box(0); +v_isShared_6763_ = v_isSharedCheck_6767_; +goto v_resetjp_6761_; } -v_resetjp_6555_: +v_resetjp_6761_: { -lean_object* v___x_6559_; -if (v_isShared_6557_ == 0) +lean_object* v___x_6765_; +if (v_isShared_6763_ == 0) { -v___x_6559_ = v___x_6556_; -goto v_reusejp_6558_; +v___x_6765_ = v___x_6762_; +goto v_reusejp_6764_; } else { -lean_object* v_reuseFailAlloc_6560_; -v_reuseFailAlloc_6560_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6560_, 0, v_a_6554_); -v___x_6559_ = v_reuseFailAlloc_6560_; -goto v_reusejp_6558_; +lean_object* v_reuseFailAlloc_6766_; +v_reuseFailAlloc_6766_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6766_, 0, v_a_6760_); +v___x_6765_ = v_reuseFailAlloc_6766_; +goto v_reusejp_6764_; } -v_reusejp_6558_: +v_reusejp_6764_: { -return v___x_6559_; +return v___x_6765_; } } } @@ -22058,224 +22756,269 @@ return v___x_6559_; } else { -lean_object* v___x_6577_; -lean_dec(v___x_6423_); -lean_del_object(v___x_6421_); -lean_dec_ref(v_val_6419_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v___x_6577_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_6416_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -return v___x_6577_; +lean_object* v___x_6783_; +lean_dec(v___x_6617_); +lean_del_object(v___x_6615_); +lean_dec_ref(v_val_6613_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v___x_6783_ = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___redArg(v_a_6610_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +return v___x_6783_; } -v___jp_6426_: +v___jp_6620_: { -lean_object* v_lower_6435_; lean_object* v_upper_6436_; lean_object* v___x_6438_; uint8_t v_isShared_6439_; uint8_t v_isSharedCheck_6493_; -v_lower_6435_ = lean_ctor_get(v_altsRange_6392_, 0); -v_upper_6436_ = lean_ctor_get(v_altsRange_6392_, 1); -v_isSharedCheck_6493_ = !lean_is_exclusive(v_altsRange_6392_); -if (v_isSharedCheck_6493_ == 0) +lean_object* v_lower_6630_; lean_object* v_upper_6631_; lean_object* v___x_6633_; uint8_t v_isShared_6634_; uint8_t v_isSharedCheck_6697_; +v_lower_6630_ = lean_ctor_get(v_altsRange_6572_, 0); +v_upper_6631_ = lean_ctor_get(v_altsRange_6572_, 1); +v_isSharedCheck_6697_ = !lean_is_exclusive(v_altsRange_6572_); +if (v_isSharedCheck_6697_ == 0) { -v___x_6438_ = v_altsRange_6392_; -v_isShared_6439_ = v_isSharedCheck_6493_; -goto v_resetjp_6437_; +v___x_6633_ = v_altsRange_6572_; +v_isShared_6634_ = v_isSharedCheck_6697_; +goto v_resetjp_6632_; } else { -lean_inc(v_upper_6436_); -lean_inc(v_lower_6435_); -lean_dec(v_altsRange_6392_); -v___x_6438_ = lean_box(0); -v_isShared_6439_ = v_isSharedCheck_6493_; -goto v_resetjp_6437_; +lean_inc(v_upper_6631_); +lean_inc(v_lower_6630_); +lean_dec(v_altsRange_6572_); +v___x_6633_ = lean_box(0); +v_isShared_6634_ = v_isSharedCheck_6697_; +goto v_resetjp_6632_; } -v_resetjp_6437_: +v_resetjp_6632_: { -lean_object* v___x_6440_; lean_object* v___x_6441_; lean_object* v___x_6443_; -v___x_6440_ = lean_array_get_size(v_altNumParams_6395_); -v___x_6441_ = l_Array_toSubarray___redArg(v_altNumParams_6395_, v___x_6424_, v___x_6440_); -if (v_isShared_6439_ == 0) +lean_object* v___x_6635_; lean_object* v___x_6636_; lean_object* v___x_6638_; +v___x_6635_ = lean_array_get_size(v_altNumParams_6575_); +v___x_6636_ = l_Array_toSubarray___redArg(v_altNumParams_6575_, v___x_6618_, v___x_6635_); +if (v_isShared_6634_ == 0) { -lean_ctor_set(v___x_6438_, 1, v___x_6441_); -lean_ctor_set(v___x_6438_, 0, v___y_6427_); -v___x_6443_ = v___x_6438_; -goto v_reusejp_6442_; +lean_ctor_set(v___x_6633_, 1, v___x_6636_); +lean_ctor_set(v___x_6633_, 0, v___y_6622_); +v___x_6638_ = v___x_6633_; +goto v_reusejp_6637_; } else { -lean_object* v_reuseFailAlloc_6492_; -v_reuseFailAlloc_6492_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6492_, 0, v___y_6427_); -lean_ctor_set(v_reuseFailAlloc_6492_, 1, v___x_6441_); -v___x_6443_ = v_reuseFailAlloc_6492_; -goto v_reusejp_6442_; +lean_object* v_reuseFailAlloc_6696_; +v_reuseFailAlloc_6696_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6696_, 0, v___y_6622_); +lean_ctor_set(v_reuseFailAlloc_6696_, 1, v___x_6636_); +v___x_6638_ = v_reuseFailAlloc_6696_; +goto v_reusejp_6637_; } -v_reusejp_6442_: +v_reusejp_6637_: { -lean_object* v___x_6444_; lean_object* v___x_6445_; -v___x_6444_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_6444_, 0, v_a_6416_); -lean_ctor_set(v___x_6444_, 1, v___x_6443_); -lean_inc(v___y_6434_); -lean_inc_ref(v___y_6433_); -lean_inc(v___y_6432_); -lean_inc_ref(v___y_6431_); -lean_inc(v___y_6430_); -v___x_6445_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upper_6436_, v_args_6393_, v_lower_6435_, v___x_6444_, v___y_6429_, v___y_6430_, v___y_6431_, v___y_6432_, v___y_6433_, v___y_6434_); -lean_dec(v_upper_6436_); -if (lean_obj_tag(v___x_6445_) == 0) +lean_object* v___x_6639_; lean_object* v___x_6640_; +v___x_6639_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_6639_, 0, v_a_6610_); +lean_ctor_set(v___x_6639_, 1, v___x_6638_); +lean_inc(v___y_6629_); +lean_inc_ref(v___y_6628_); +lean_inc(v___y_6627_); +lean_inc_ref(v___y_6626_); +lean_inc(v___y_6625_); +lean_inc_ref(v___y_6624_); +v___x_6640_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upper_6631_, v_args_6573_, v_lower_6630_, v___x_6639_, v___y_6624_, v___y_6625_, v___y_6626_, v___y_6627_, v___y_6628_, v___y_6629_); +lean_dec(v_upper_6631_); +if (lean_obj_tag(v___x_6640_) == 0) { -lean_object* v_a_6446_; lean_object* v_snd_6447_; lean_object* v_fst_6448_; lean_object* v_fst_6449_; lean_object* v___x_6451_; uint8_t v_isShared_6452_; uint8_t v_isSharedCheck_6482_; -v_a_6446_ = lean_ctor_get(v___x_6445_, 0); -lean_inc(v_a_6446_); -lean_dec_ref(v___x_6445_); -v_snd_6447_ = lean_ctor_get(v_a_6446_, 1); -lean_inc(v_snd_6447_); -v_fst_6448_ = lean_ctor_get(v_a_6446_, 0); -lean_inc(v_fst_6448_); -lean_dec(v_a_6446_); -v_fst_6449_ = lean_ctor_get(v_snd_6447_, 0); -v_isSharedCheck_6482_ = !lean_is_exclusive(v_snd_6447_); -if (v_isSharedCheck_6482_ == 0) +lean_object* v_a_6641_; lean_object* v_snd_6642_; lean_object* v_fst_6643_; lean_object* v_fst_6644_; lean_object* v___x_6646_; uint8_t v_isShared_6647_; uint8_t v_isSharedCheck_6686_; +v_a_6641_ = lean_ctor_get(v___x_6640_, 0); +lean_inc(v_a_6641_); +lean_dec_ref(v___x_6640_); +v_snd_6642_ = lean_ctor_get(v_a_6641_, 1); +lean_inc(v_snd_6642_); +v_fst_6643_ = lean_ctor_get(v_a_6641_, 0); +lean_inc(v_fst_6643_); +lean_dec(v_a_6641_); +v_fst_6644_ = lean_ctor_get(v_snd_6642_, 0); +v_isSharedCheck_6686_ = !lean_is_exclusive(v_snd_6642_); +if (v_isSharedCheck_6686_ == 0) { -lean_object* v_unused_6483_; -v_unused_6483_ = lean_ctor_get(v_snd_6447_, 1); -lean_dec(v_unused_6483_); -v___x_6451_ = v_snd_6447_; -v_isShared_6452_ = v_isSharedCheck_6482_; -goto v_resetjp_6450_; +lean_object* v_unused_6687_; +v_unused_6687_ = lean_ctor_get(v_snd_6642_, 1); +lean_dec(v_unused_6687_); +v___x_6646_ = v_snd_6642_; +v_isShared_6647_ = v_isSharedCheck_6686_; +goto v_resetjp_6645_; } else { -lean_inc(v_fst_6449_); -lean_dec(v_snd_6447_); -v___x_6451_ = lean_box(0); -v_isShared_6452_ = v_isSharedCheck_6482_; -goto v_resetjp_6450_; +lean_inc(v_fst_6644_); +lean_dec(v_snd_6642_); +v___x_6646_ = lean_box(0); +v_isShared_6647_ = v_isSharedCheck_6686_; +goto v_resetjp_6645_; } -v_resetjp_6450_: +v_resetjp_6645_: { -uint8_t v___x_6453_; lean_object* v___x_6454_; lean_object* v___x_6455_; -v___x_6453_ = 0; -lean_inc(v_fst_6448_); -v___x_6454_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_6454_, 0, v_indName_6390_); -lean_ctor_set(v___x_6454_, 1, v_fst_6448_); -lean_ctor_set(v___x_6454_, 2, v_discrFVarId_6428_); -lean_ctor_set(v___x_6454_, 3, v_fst_6449_); -v___x_6455_ = l_Lean_Compiler_LCNF_mkAuxParam(v___x_6453_, v_fst_6448_, v___x_6425_, v___y_6431_, v___y_6432_, v___y_6433_, v___y_6434_); -if (lean_obj_tag(v___x_6455_) == 0) +uint8_t v___x_6648_; lean_object* v___x_6649_; lean_object* v___x_6650_; +v___x_6648_ = 0; +lean_inc(v_fst_6643_); +v___x_6649_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_6649_, 0, v_indName_6570_); +lean_ctor_set(v___x_6649_, 1, v_fst_6643_); +lean_ctor_set(v___x_6649_, 2, v_discrFVarId_6623_); +lean_ctor_set(v___x_6649_, 3, v_fst_6644_); +v___x_6650_ = l_Lean_Compiler_LCNF_mkAuxParam(v___x_6648_, v_fst_6643_, v___x_6619_, v___y_6626_, v___y_6627_, v___y_6628_, v___y_6629_); +if (lean_obj_tag(v___x_6650_) == 0) { -lean_object* v_a_6456_; lean_object* v___x_6458_; -v_a_6456_ = lean_ctor_get(v___x_6455_, 0); -lean_inc(v_a_6456_); -lean_dec_ref(v___x_6455_); -lean_inc(v_a_6456_); -if (v_isShared_6452_ == 0) +lean_object* v_a_6651_; lean_object* v___x_6653_; +v_a_6651_ = lean_ctor_get(v___x_6650_, 0); +lean_inc(v_a_6651_); +lean_dec_ref(v___x_6650_); +lean_inc(v_a_6651_); +if (v_isShared_6647_ == 0) { -lean_ctor_set_tag(v___x_6451_, 3); -lean_ctor_set(v___x_6451_, 1, v___x_6454_); -lean_ctor_set(v___x_6451_, 0, v_a_6456_); -v___x_6458_ = v___x_6451_; -goto v_reusejp_6457_; +lean_ctor_set_tag(v___x_6646_, 3); +lean_ctor_set(v___x_6646_, 1, v___x_6649_); +lean_ctor_set(v___x_6646_, 0, v_a_6651_); +v___x_6653_ = v___x_6646_; +goto v_reusejp_6652_; } else { -lean_object* v_reuseFailAlloc_6473_; -v_reuseFailAlloc_6473_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_reuseFailAlloc_6473_, 0, v_a_6456_); -lean_ctor_set(v_reuseFailAlloc_6473_, 1, v___x_6454_); -v___x_6458_ = v_reuseFailAlloc_6473_; -goto v_reusejp_6457_; +lean_object* v_reuseFailAlloc_6677_; +v_reuseFailAlloc_6677_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_reuseFailAlloc_6677_, 0, v_a_6651_); +lean_ctor_set(v_reuseFailAlloc_6677_, 1, v___x_6649_); +v___x_6653_ = v_reuseFailAlloc_6677_; +goto v_reusejp_6652_; } -v_reusejp_6457_: +v_reusejp_6652_: { -lean_object* v___x_6459_; -v___x_6459_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_6458_, v___y_6430_); -if (lean_obj_tag(v___x_6459_) == 0) +lean_object* v___x_6654_; +v___x_6654_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_6653_, v___y_6625_); +if (lean_obj_tag(v___x_6654_) == 0) { -lean_object* v_fvarId_6460_; lean_object* v___x_6462_; -lean_dec_ref(v___x_6459_); -v_fvarId_6460_ = lean_ctor_get(v_a_6456_, 0); -lean_inc(v_fvarId_6460_); -lean_dec(v_a_6456_); -if (v_isShared_6422_ == 0) +lean_object* v_fvarId_6655_; uint8_t v_ignoreNoncomputable_6656_; lean_object* v___x_6658_; uint8_t v_isShared_6659_; uint8_t v_isSharedCheck_6667_; +lean_dec_ref(v___x_6654_); +v_fvarId_6655_ = lean_ctor_get(v_a_6651_, 0); +lean_inc(v_fvarId_6655_); +lean_dec(v_a_6651_); +v_ignoreNoncomputable_6656_ = lean_ctor_get_uint8(v___y_6624_, sizeof(void*)*1); +v_isSharedCheck_6667_ = !lean_is_exclusive(v___y_6624_); +if (v_isSharedCheck_6667_ == 0) { -lean_ctor_set_tag(v___x_6421_, 1); -lean_ctor_set(v___x_6421_, 0, v_fvarId_6460_); -v___x_6462_ = v___x_6421_; -goto v_reusejp_6461_; +lean_object* v_unused_6668_; +v_unused_6668_ = lean_ctor_get(v___y_6624_, 0); +lean_dec(v_unused_6668_); +v___x_6658_ = v___y_6624_; +v_isShared_6659_ = v_isSharedCheck_6667_; +goto v_resetjp_6657_; } else { -lean_object* v_reuseFailAlloc_6464_; -v_reuseFailAlloc_6464_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6464_, 0, v_fvarId_6460_); -v___x_6462_ = v_reuseFailAlloc_6464_; -goto v_reusejp_6461_; +lean_dec(v___y_6624_); +v___x_6658_ = lean_box(0); +v_isShared_6659_ = v_isSharedCheck_6667_; +goto v_resetjp_6657_; } -v_reusejp_6461_: +v_resetjp_6657_: { -lean_object* v___x_6463_; -v___x_6463_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v___x_6462_, v_args_6393_, v_arity_6394_, v___y_6429_, v___y_6430_, v___y_6431_, v___y_6432_, v___y_6433_, v___y_6434_); -lean_dec_ref(v_args_6393_); -return v___x_6463_; +lean_object* v___x_6661_; +if (v_isShared_6616_ == 0) +{ +lean_ctor_set_tag(v___x_6615_, 1); +lean_ctor_set(v___x_6615_, 0, v_fvarId_6655_); +v___x_6661_ = v___x_6615_; +goto v_reusejp_6660_; +} +else +{ +lean_object* v_reuseFailAlloc_6666_; +v_reuseFailAlloc_6666_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6666_, 0, v_fvarId_6655_); +v___x_6661_ = v_reuseFailAlloc_6666_; +goto v_reusejp_6660_; +} +v_reusejp_6660_: +{ +lean_object* v___x_6663_; +if (v_isShared_6659_ == 0) +{ +lean_ctor_set(v___x_6658_, 0, v___y_6621_); +v___x_6663_ = v___x_6658_; +goto v_reusejp_6662_; +} +else +{ +lean_object* v_reuseFailAlloc_6665_; +v_reuseFailAlloc_6665_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_6665_, 0, v___y_6621_); +lean_ctor_set_uint8(v_reuseFailAlloc_6665_, sizeof(void*)*1, v_ignoreNoncomputable_6656_); +v___x_6663_ = v_reuseFailAlloc_6665_; +goto v_reusejp_6662_; +} +v_reusejp_6662_: +{ +lean_object* v___x_6664_; +v___x_6664_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v___x_6661_, v_args_6573_, v_arity_6574_, v___x_6663_, v___y_6625_, v___y_6626_, v___y_6627_, v___y_6628_, v___y_6629_); +lean_dec_ref(v_args_6573_); +return v___x_6664_; +} +} } } else { -lean_object* v_a_6465_; lean_object* v___x_6467_; uint8_t v_isShared_6468_; uint8_t v_isSharedCheck_6472_; -lean_dec(v_a_6456_); -lean_dec(v___y_6434_); -lean_dec_ref(v___y_6433_); -lean_dec(v___y_6432_); -lean_dec_ref(v___y_6431_); -lean_dec(v___y_6430_); -lean_del_object(v___x_6421_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -v_a_6465_ = lean_ctor_get(v___x_6459_, 0); -v_isSharedCheck_6472_ = !lean_is_exclusive(v___x_6459_); -if (v_isSharedCheck_6472_ == 0) +lean_object* v_a_6669_; lean_object* v___x_6671_; uint8_t v_isShared_6672_; uint8_t v_isSharedCheck_6676_; +lean_dec(v_a_6651_); +lean_dec(v___y_6629_); +lean_dec_ref(v___y_6628_); +lean_dec(v___y_6627_); +lean_dec_ref(v___y_6626_); +lean_dec(v___y_6625_); +lean_dec_ref(v___y_6624_); +lean_dec(v___y_6621_); +lean_del_object(v___x_6615_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +v_a_6669_ = lean_ctor_get(v___x_6654_, 0); +v_isSharedCheck_6676_ = !lean_is_exclusive(v___x_6654_); +if (v_isSharedCheck_6676_ == 0) { -v___x_6467_ = v___x_6459_; -v_isShared_6468_ = v_isSharedCheck_6472_; -goto v_resetjp_6466_; +v___x_6671_ = v___x_6654_; +v_isShared_6672_ = v_isSharedCheck_6676_; +goto v_resetjp_6670_; } else { -lean_inc(v_a_6465_); -lean_dec(v___x_6459_); -v___x_6467_ = lean_box(0); -v_isShared_6468_ = v_isSharedCheck_6472_; -goto v_resetjp_6466_; +lean_inc(v_a_6669_); +lean_dec(v___x_6654_); +v___x_6671_ = lean_box(0); +v_isShared_6672_ = v_isSharedCheck_6676_; +goto v_resetjp_6670_; } -v_resetjp_6466_: +v_resetjp_6670_: { -lean_object* v___x_6470_; -if (v_isShared_6468_ == 0) +lean_object* v___x_6674_; +if (v_isShared_6672_ == 0) { -v___x_6470_ = v___x_6467_; -goto v_reusejp_6469_; +v___x_6674_ = v___x_6671_; +goto v_reusejp_6673_; } else { -lean_object* v_reuseFailAlloc_6471_; -v_reuseFailAlloc_6471_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6471_, 0, v_a_6465_); -v___x_6470_ = v_reuseFailAlloc_6471_; -goto v_reusejp_6469_; +lean_object* v_reuseFailAlloc_6675_; +v_reuseFailAlloc_6675_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6675_, 0, v_a_6669_); +v___x_6674_ = v_reuseFailAlloc_6675_; +goto v_reusejp_6673_; } -v_reusejp_6469_: +v_reusejp_6673_: { -return v___x_6470_; +return v___x_6674_; } } } @@ -22283,52 +23026,54 @@ return v___x_6470_; } else { -lean_object* v_a_6474_; lean_object* v___x_6476_; uint8_t v_isShared_6477_; uint8_t v_isSharedCheck_6481_; -lean_dec_ref(v___x_6454_); -lean_del_object(v___x_6451_); -lean_dec(v___y_6434_); -lean_dec_ref(v___y_6433_); -lean_dec(v___y_6432_); -lean_dec_ref(v___y_6431_); -lean_dec(v___y_6430_); -lean_del_object(v___x_6421_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -v_a_6474_ = lean_ctor_get(v___x_6455_, 0); -v_isSharedCheck_6481_ = !lean_is_exclusive(v___x_6455_); -if (v_isSharedCheck_6481_ == 0) +lean_object* v_a_6678_; lean_object* v___x_6680_; uint8_t v_isShared_6681_; uint8_t v_isSharedCheck_6685_; +lean_dec_ref(v___x_6649_); +lean_del_object(v___x_6646_); +lean_dec(v___y_6629_); +lean_dec_ref(v___y_6628_); +lean_dec(v___y_6627_); +lean_dec_ref(v___y_6626_); +lean_dec(v___y_6625_); +lean_dec_ref(v___y_6624_); +lean_dec(v___y_6621_); +lean_del_object(v___x_6615_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +v_a_6678_ = lean_ctor_get(v___x_6650_, 0); +v_isSharedCheck_6685_ = !lean_is_exclusive(v___x_6650_); +if (v_isSharedCheck_6685_ == 0) { -v___x_6476_ = v___x_6455_; -v_isShared_6477_ = v_isSharedCheck_6481_; -goto v_resetjp_6475_; +v___x_6680_ = v___x_6650_; +v_isShared_6681_ = v_isSharedCheck_6685_; +goto v_resetjp_6679_; } else { -lean_inc(v_a_6474_); -lean_dec(v___x_6455_); -v___x_6476_ = lean_box(0); -v_isShared_6477_ = v_isSharedCheck_6481_; -goto v_resetjp_6475_; +lean_inc(v_a_6678_); +lean_dec(v___x_6650_); +v___x_6680_ = lean_box(0); +v_isShared_6681_ = v_isSharedCheck_6685_; +goto v_resetjp_6679_; } -v_resetjp_6475_: +v_resetjp_6679_: { -lean_object* v___x_6479_; -if (v_isShared_6477_ == 0) +lean_object* v___x_6683_; +if (v_isShared_6681_ == 0) { -v___x_6479_ = v___x_6476_; -goto v_reusejp_6478_; +v___x_6683_ = v___x_6680_; +goto v_reusejp_6682_; } else { -lean_object* v_reuseFailAlloc_6480_; -v_reuseFailAlloc_6480_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6480_, 0, v_a_6474_); -v___x_6479_ = v_reuseFailAlloc_6480_; -goto v_reusejp_6478_; +lean_object* v_reuseFailAlloc_6684_; +v_reuseFailAlloc_6684_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6684_, 0, v_a_6678_); +v___x_6683_ = v_reuseFailAlloc_6684_; +goto v_reusejp_6682_; } -v_reusejp_6478_: +v_reusejp_6682_: { -return v___x_6479_; +return v___x_6683_; } } } @@ -22336,52 +23081,54 @@ return v___x_6479_; } else { -lean_object* v_a_6484_; lean_object* v___x_6486_; uint8_t v_isShared_6487_; uint8_t v_isSharedCheck_6491_; -lean_dec(v___y_6434_); -lean_dec_ref(v___y_6433_); -lean_dec(v___y_6432_); -lean_dec_ref(v___y_6431_); -lean_dec(v___y_6430_); -lean_dec(v_discrFVarId_6428_); -lean_del_object(v___x_6421_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec(v_indName_6390_); -v_a_6484_ = lean_ctor_get(v___x_6445_, 0); -v_isSharedCheck_6491_ = !lean_is_exclusive(v___x_6445_); -if (v_isSharedCheck_6491_ == 0) +lean_object* v_a_6688_; lean_object* v___x_6690_; uint8_t v_isShared_6691_; uint8_t v_isSharedCheck_6695_; +lean_dec(v___y_6629_); +lean_dec_ref(v___y_6628_); +lean_dec(v___y_6627_); +lean_dec_ref(v___y_6626_); +lean_dec(v___y_6625_); +lean_dec_ref(v___y_6624_); +lean_dec(v_discrFVarId_6623_); +lean_dec(v___y_6621_); +lean_del_object(v___x_6615_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec(v_indName_6570_); +v_a_6688_ = lean_ctor_get(v___x_6640_, 0); +v_isSharedCheck_6695_ = !lean_is_exclusive(v___x_6640_); +if (v_isSharedCheck_6695_ == 0) { -v___x_6486_ = v___x_6445_; -v_isShared_6487_ = v_isSharedCheck_6491_; -goto v_resetjp_6485_; +v___x_6690_ = v___x_6640_; +v_isShared_6691_ = v_isSharedCheck_6695_; +goto v_resetjp_6689_; } else { -lean_inc(v_a_6484_); -lean_dec(v___x_6445_); -v___x_6486_ = lean_box(0); -v_isShared_6487_ = v_isSharedCheck_6491_; -goto v_resetjp_6485_; +lean_inc(v_a_6688_); +lean_dec(v___x_6640_); +v___x_6690_ = lean_box(0); +v_isShared_6691_ = v_isSharedCheck_6695_; +goto v_resetjp_6689_; } -v_resetjp_6485_: +v_resetjp_6689_: { -lean_object* v___x_6489_; -if (v_isShared_6487_ == 0) +lean_object* v___x_6693_; +if (v_isShared_6691_ == 0) { -v___x_6489_ = v___x_6486_; -goto v_reusejp_6488_; +v___x_6693_ = v___x_6690_; +goto v_reusejp_6692_; } else { -lean_object* v_reuseFailAlloc_6490_; -v_reuseFailAlloc_6490_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6490_, 0, v_a_6484_); -v___x_6489_ = v_reuseFailAlloc_6490_; -goto v_reusejp_6488_; +lean_object* v_reuseFailAlloc_6694_; +v_reuseFailAlloc_6694_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6694_, 0, v_a_6688_); +v___x_6693_ = v_reuseFailAlloc_6694_; +goto v_reusejp_6692_; } -v_reusejp_6488_: +v_reusejp_6692_: { -return v___x_6489_; +return v___x_6693_; } } } @@ -22392,814 +23139,919 @@ return v___x_6489_; } else { -lean_object* v___x_6579_; lean_object* v___x_6580_; -lean_dec(v_a_6418_); -lean_dec(v_a_6416_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v___x_6579_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8); -v___x_6580_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6579_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -return v___x_6580_; +lean_object* v___x_6785_; lean_object* v___x_6786_; +lean_dec(v_a_6612_); +lean_dec(v_a_6610_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v___x_6785_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___closed__8); +v___x_6786_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6785_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +return v___x_6786_; } } else { -lean_object* v_a_6581_; lean_object* v___x_6583_; uint8_t v_isShared_6584_; uint8_t v_isSharedCheck_6588_; -lean_dec(v_a_6416_); -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v_a_6581_ = lean_ctor_get(v___x_6417_, 0); -v_isSharedCheck_6588_ = !lean_is_exclusive(v___x_6417_); -if (v_isSharedCheck_6588_ == 0) +lean_object* v_a_6787_; lean_object* v___x_6789_; uint8_t v_isShared_6790_; uint8_t v_isSharedCheck_6794_; +lean_dec(v_a_6610_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v_a_6787_ = lean_ctor_get(v___x_6611_, 0); +v_isSharedCheck_6794_ = !lean_is_exclusive(v___x_6611_); +if (v_isSharedCheck_6794_ == 0) { -v___x_6583_ = v___x_6417_; -v_isShared_6584_ = v_isSharedCheck_6588_; -goto v_resetjp_6582_; +v___x_6789_ = v___x_6611_; +v_isShared_6790_ = v_isSharedCheck_6794_; +goto v_resetjp_6788_; } else { -lean_inc(v_a_6581_); -lean_dec(v___x_6417_); -v___x_6583_ = lean_box(0); -v_isShared_6584_ = v_isSharedCheck_6588_; -goto v_resetjp_6582_; +lean_inc(v_a_6787_); +lean_dec(v___x_6611_); +v___x_6789_ = lean_box(0); +v_isShared_6790_ = v_isSharedCheck_6794_; +goto v_resetjp_6788_; } -v_resetjp_6582_: +v_resetjp_6788_: { -lean_object* v___x_6586_; -if (v_isShared_6584_ == 0) +lean_object* v___x_6792_; +if (v_isShared_6790_ == 0) { -v___x_6586_ = v___x_6583_; -goto v_reusejp_6585_; +v___x_6792_ = v___x_6789_; +goto v_reusejp_6791_; } else { -lean_object* v_reuseFailAlloc_6587_; -v_reuseFailAlloc_6587_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6587_, 0, v_a_6581_); -v___x_6586_ = v_reuseFailAlloc_6587_; -goto v_reusejp_6585_; +lean_object* v_reuseFailAlloc_6793_; +v_reuseFailAlloc_6793_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6793_, 0, v_a_6787_); +v___x_6792_ = v_reuseFailAlloc_6793_; +goto v_reusejp_6791_; } -v_reusejp_6585_: +v_reusejp_6791_: { -return v___x_6586_; +return v___x_6792_; } } } } else { -lean_object* v_a_6589_; lean_object* v___x_6591_; uint8_t v_isShared_6592_; uint8_t v_isSharedCheck_6596_; -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec_ref(v_altNumParams_6395_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -lean_dec_ref(v_altsRange_6392_); -lean_dec(v_indName_6390_); -v_a_6589_ = lean_ctor_get(v___x_6415_, 0); -v_isSharedCheck_6596_ = !lean_is_exclusive(v___x_6415_); -if (v_isSharedCheck_6596_ == 0) +lean_object* v_a_6795_; lean_object* v___x_6797_; uint8_t v_isShared_6798_; uint8_t v_isSharedCheck_6802_; +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec_ref(v___y_6579_); +lean_dec_ref(v_altNumParams_6575_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +lean_dec_ref(v_altsRange_6572_); +lean_dec(v_indName_6570_); +v_a_6795_ = lean_ctor_get(v___x_6609_, 0); +v_isSharedCheck_6802_ = !lean_is_exclusive(v___x_6609_); +if (v_isSharedCheck_6802_ == 0) { -v___x_6591_ = v___x_6415_; -v_isShared_6592_ = v_isSharedCheck_6596_; -goto v_resetjp_6590_; +v___x_6797_ = v___x_6609_; +v_isShared_6798_ = v_isSharedCheck_6802_; +goto v_resetjp_6796_; } else { -lean_inc(v_a_6589_); -lean_dec(v___x_6415_); -v___x_6591_ = lean_box(0); -v_isShared_6592_ = v_isSharedCheck_6596_; -goto v_resetjp_6590_; +lean_inc(v_a_6795_); +lean_dec(v___x_6609_); +v___x_6797_ = lean_box(0); +v_isShared_6798_ = v_isSharedCheck_6802_; +goto v_resetjp_6796_; } -v_resetjp_6590_: +v_resetjp_6796_: { -lean_object* v___x_6594_; -if (v_isShared_6592_ == 0) +lean_object* v___x_6800_; +if (v_isShared_6798_ == 0) { -v___x_6594_ = v___x_6591_; -goto v_reusejp_6593_; +v___x_6800_ = v___x_6797_; +goto v_reusejp_6799_; } else { -lean_object* v_reuseFailAlloc_6595_; -v_reuseFailAlloc_6595_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6595_, 0, v_a_6589_); -v___x_6594_ = v_reuseFailAlloc_6595_; -goto v_reusejp_6593_; +lean_object* v_reuseFailAlloc_6801_; +v_reuseFailAlloc_6801_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6801_, 0, v_a_6795_); +v___x_6800_ = v_reuseFailAlloc_6801_; +goto v_reusejp_6799_; } -v_reusejp_6593_: +v_reusejp_6799_: { -return v___x_6594_; +return v___x_6800_; } } } -v___jp_6406_: +v___jp_6586_: { -lean_object* v_lower_6408_; lean_object* v___x_6409_; lean_object* v___x_6410_; lean_object* v___x_6411_; lean_object* v___x_6412_; -v_lower_6408_ = lean_ctor_get(v_altsRange_6392_, 0); -lean_inc(v_lower_6408_); -lean_dec_ref(v_altsRange_6392_); -v___x_6409_ = l_Lean_instInhabitedExpr; -v___x_6410_ = lean_array_get_borrowed(v___x_6409_, v_args_6393_, v_lower_6408_); -lean_dec(v_lower_6408_); -lean_inc(v___x_6410_); -v___x_6411_ = l_Lean_mkAppN(v___x_6410_, v_a_6407_); -lean_dec_ref(v_a_6407_); -lean_inc(v___y_6404_); -lean_inc_ref(v___y_6403_); -lean_inc(v___y_6402_); -lean_inc_ref(v___y_6401_); -lean_inc(v___y_6400_); -v___x_6412_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6411_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -if (lean_obj_tag(v___x_6412_) == 0) +lean_object* v_lower_6588_; lean_object* v___x_6589_; lean_object* v___x_6590_; lean_object* v___x_6591_; uint8_t v___x_6592_; +v_lower_6588_ = lean_ctor_get(v_altsRange_6572_, 0); +lean_inc(v_lower_6588_); +lean_dec_ref(v_altsRange_6572_); +v___x_6589_ = l_Lean_instInhabitedExpr; +v___x_6590_ = lean_array_get_borrowed(v___x_6589_, v_args_6573_, v_lower_6588_); +lean_dec(v_lower_6588_); +v___x_6591_ = lean_array_get_size(v_args_6573_); +v___x_6592_ = lean_nat_dec_eq(v___x_6591_, v_arity_6574_); +if (v___x_6592_ == 0) { -lean_object* v_a_6413_; lean_object* v___x_6414_; -v_a_6413_ = lean_ctor_get(v___x_6412_, 0); -lean_inc(v_a_6413_); -lean_dec_ref(v___x_6412_); -v___x_6414_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_6413_, v_args_6393_, v_arity_6394_, v___y_6399_, v___y_6400_, v___y_6401_, v___y_6402_, v___y_6403_, v___y_6404_); -lean_dec_ref(v_args_6393_); -return v___x_6414_; +uint8_t v_ignoreNoncomputable_6593_; lean_object* v___x_6595_; uint8_t v_isShared_6596_; uint8_t v_isSharedCheck_6605_; +v_ignoreNoncomputable_6593_ = lean_ctor_get_uint8(v___y_6579_, sizeof(void*)*1); +v_isSharedCheck_6605_ = !lean_is_exclusive(v___y_6579_); +if (v_isSharedCheck_6605_ == 0) +{ +lean_object* v_unused_6606_; +v_unused_6606_ = lean_ctor_get(v___y_6579_, 0); +lean_dec(v_unused_6606_); +v___x_6595_ = v___y_6579_; +v_isShared_6596_ = v_isSharedCheck_6605_; +goto v_resetjp_6594_; } else { -lean_dec(v___y_6404_); -lean_dec_ref(v___y_6403_); -lean_dec(v___y_6402_); -lean_dec_ref(v___y_6401_); -lean_dec(v___y_6400_); -lean_dec(v_arity_6394_); -lean_dec_ref(v_args_6393_); -return v___x_6412_; +lean_dec(v___y_6579_); +v___x_6595_ = lean_box(0); +v_isShared_6596_ = v_isSharedCheck_6605_; +goto v_resetjp_6594_; +} +v_resetjp_6594_: +{ +lean_object* v___x_6597_; lean_object* v___x_6598_; lean_object* v___x_6600_; +lean_inc(v___x_6590_); +v___x_6597_ = l_Lean_mkAppN(v___x_6590_, v_a_6587_); +lean_dec_ref(v_a_6587_); +v___x_6598_ = lean_box(0); +if (v_isShared_6596_ == 0) +{ +lean_ctor_set(v___x_6595_, 0, v___x_6598_); +v___x_6600_ = v___x_6595_; +goto v_reusejp_6599_; +} +else +{ +lean_object* v_reuseFailAlloc_6604_; +v_reuseFailAlloc_6604_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_6604_, 0, v___x_6598_); +lean_ctor_set_uint8(v_reuseFailAlloc_6604_, sizeof(void*)*1, v_ignoreNoncomputable_6593_); +v___x_6600_ = v_reuseFailAlloc_6604_; +goto v_reusejp_6599_; +} +v_reusejp_6599_: +{ +lean_object* v___x_6601_; +lean_inc(v___y_6584_); +lean_inc_ref(v___y_6583_); +lean_inc(v___y_6582_); +lean_inc_ref(v___y_6581_); +lean_inc(v___y_6580_); +lean_inc_ref(v___x_6600_); +v___x_6601_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6597_, v___x_6600_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +if (lean_obj_tag(v___x_6601_) == 0) +{ +lean_object* v_a_6602_; lean_object* v___x_6603_; +v_a_6602_ = lean_ctor_get(v___x_6601_, 0); +lean_inc(v_a_6602_); +lean_dec_ref(v___x_6601_); +v___x_6603_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_6602_, v_args_6573_, v_arity_6574_, v___x_6600_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +lean_dec_ref(v_args_6573_); +return v___x_6603_; +} +else +{ +lean_dec_ref(v___x_6600_); +lean_dec(v___y_6584_); +lean_dec_ref(v___y_6583_); +lean_dec(v___y_6582_); +lean_dec_ref(v___y_6581_); +lean_dec(v___y_6580_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +return v___x_6601_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___boxed(lean_object* v_indName_6597_, lean_object* v_casesInfo_6598_, lean_object* v_altsRange_6599_, lean_object* v_args_6600_, lean_object* v_arity_6601_, lean_object* v_altNumParams_6602_, lean_object* v_discrPos_6603_, lean_object* v___x_6604_, lean_object* v_____do__lift_6605_, lean_object* v___y_6606_, lean_object* v___y_6607_, lean_object* v___y_6608_, lean_object* v___y_6609_, lean_object* v___y_6610_, lean_object* v___y_6611_, lean_object* v___y_6612_){ +else +{ +lean_object* v___x_6607_; lean_object* v___x_6608_; +lean_inc(v___x_6590_); +lean_dec(v_arity_6574_); +lean_dec_ref(v_args_6573_); +v___x_6607_ = l_Lean_mkAppN(v___x_6590_, v_a_6587_); +lean_dec_ref(v_a_6587_); +v___x_6608_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6607_, v___y_6579_, v___y_6580_, v___y_6581_, v___y_6582_, v___y_6583_, v___y_6584_); +return v___x_6608_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___boxed(lean_object* v_indName_6803_, lean_object* v_casesInfo_6804_, lean_object* v_altsRange_6805_, lean_object* v_args_6806_, lean_object* v_arity_6807_, lean_object* v_altNumParams_6808_, lean_object* v_discrPos_6809_, lean_object* v___x_6810_, lean_object* v_____do__lift_6811_, lean_object* v___y_6812_, lean_object* v___y_6813_, lean_object* v___y_6814_, lean_object* v___y_6815_, lean_object* v___y_6816_, lean_object* v___y_6817_, lean_object* v___y_6818_){ _start: { -uint8_t v___y_169006__boxed_6613_; lean_object* v_res_6614_; -v___y_169006__boxed_6613_ = lean_unbox(v___y_6606_); -v_res_6614_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1(v_indName_6597_, v_casesInfo_6598_, v_altsRange_6599_, v_args_6600_, v_arity_6601_, v_altNumParams_6602_, v_discrPos_6603_, v___x_6604_, v_____do__lift_6605_, v___y_169006__boxed_6613_, v___y_6607_, v___y_6608_, v___y_6609_, v___y_6610_, v___y_6611_); -lean_dec(v___x_6604_); -lean_dec(v_discrPos_6603_); -lean_dec_ref(v_casesInfo_6598_); -return v_res_6614_; +lean_object* v_res_6819_; +v_res_6819_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1(v_indName_6803_, v_casesInfo_6804_, v_altsRange_6805_, v_args_6806_, v_arity_6807_, v_altNumParams_6808_, v_discrPos_6809_, v___x_6810_, v_____do__lift_6811_, v___y_6812_, v___y_6813_, v___y_6814_, v___y_6815_, v___y_6816_, v___y_6817_); +lean_dec(v___x_6810_); +lean_dec(v_discrPos_6809_); +lean_dec_ref(v_casesInfo_6804_); +return v_res_6819_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object* v_casesInfo_6615_, lean_object* v_e_6616_, uint8_t v_a_6617_, lean_object* v_a_6618_, lean_object* v_a_6619_, lean_object* v_a_6620_, lean_object* v_a_6621_, lean_object* v_a_6622_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object* v_casesInfo_6820_, lean_object* v_e_6821_, lean_object* v_a_6822_, lean_object* v_a_6823_, lean_object* v_a_6824_, lean_object* v_a_6825_, lean_object* v_a_6826_, lean_object* v_a_6827_){ _start: { -lean_object* v_indName_6624_; lean_object* v_arity_6625_; lean_object* v_discrPos_6626_; lean_object* v_altsRange_6627_; lean_object* v_altNumParams_6628_; lean_object* v_dummy_6629_; lean_object* v_nargs_6630_; lean_object* v___x_6631_; lean_object* v___x_6632_; lean_object* v___x_6633_; lean_object* v_args_6634_; lean_object* v___f_6635_; lean_object* v___x_6636_; lean_object* v___x_6637_; lean_object* v___x_6638_; lean_object* v___x_6639_; lean_object* v___x_6640_; lean_object* v___f_6641_; lean_object* v___x_6642_; -v_indName_6624_ = lean_ctor_get(v_casesInfo_6615_, 1); -lean_inc(v_indName_6624_); -v_arity_6625_ = lean_ctor_get(v_casesInfo_6615_, 2); -lean_inc(v_arity_6625_); -v_discrPos_6626_ = lean_ctor_get(v_casesInfo_6615_, 3); -lean_inc(v_discrPos_6626_); -v_altsRange_6627_ = lean_ctor_get(v_casesInfo_6615_, 4); -lean_inc_ref(v_altsRange_6627_); -v_altNumParams_6628_ = lean_ctor_get(v_casesInfo_6615_, 5); -lean_inc_ref(v_altNumParams_6628_); -v_dummy_6629_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_6630_ = l_Lean_Expr_getAppNumArgs(v_e_6616_); -lean_inc(v_nargs_6630_); -v___x_6631_ = lean_mk_array(v_nargs_6630_, v_dummy_6629_); -v___x_6632_ = lean_unsigned_to_nat(1u); -v___x_6633_ = lean_nat_sub(v_nargs_6630_, v___x_6632_); -lean_dec(v_nargs_6630_); -lean_inc_ref(v_e_6616_); -v_args_6634_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6616_, v___x_6631_, v___x_6633_); -lean_inc(v_arity_6625_); -lean_inc_ref(v_args_6634_); -v___f_6635_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___boxed), 16, 8); -lean_closure_set(v___f_6635_, 0, v_indName_6624_); -lean_closure_set(v___f_6635_, 1, v_casesInfo_6615_); -lean_closure_set(v___f_6635_, 2, v_altsRange_6627_); -lean_closure_set(v___f_6635_, 3, v_args_6634_); -lean_closure_set(v___f_6635_, 4, v_arity_6625_); -lean_closure_set(v___f_6635_, 5, v_altNumParams_6628_); -lean_closure_set(v___f_6635_, 6, v_discrPos_6626_); -lean_closure_set(v___f_6635_, 7, v___x_6632_); -v___x_6636_ = l_Lean_Expr_getAppFn(v_e_6616_); -v___x_6637_ = lean_unsigned_to_nat(0u); -lean_inc(v_arity_6625_); -v___x_6638_ = l_Array_toSubarray___redArg(v_args_6634_, v___x_6637_, v_arity_6625_); -v___x_6639_ = l_Subarray_copy___redArg(v___x_6638_); -v___x_6640_ = l_Lean_mkAppN(v___x_6636_, v___x_6639_); -lean_dec_ref(v___x_6639_); -v___f_6641_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2___boxed), 10, 3); -lean_closure_set(v___f_6641_, 0, v___x_6637_); -lean_closure_set(v___f_6641_, 1, v___x_6640_); -lean_closure_set(v___f_6641_, 2, v___f_6635_); -v___x_6642_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_6616_, v_arity_6625_, v___f_6641_, v_a_6617_, v_a_6618_, v_a_6619_, v_a_6620_, v_a_6621_, v_a_6622_); -lean_dec(v_arity_6625_); -return v___x_6642_; +lean_object* v_indName_6829_; lean_object* v_arity_6830_; lean_object* v_discrPos_6831_; lean_object* v_altsRange_6832_; lean_object* v_altNumParams_6833_; lean_object* v_dummy_6834_; lean_object* v_nargs_6835_; lean_object* v___x_6836_; lean_object* v___x_6837_; lean_object* v___x_6838_; lean_object* v_args_6839_; lean_object* v___f_6840_; lean_object* v___x_6841_; lean_object* v___x_6842_; lean_object* v___x_6843_; lean_object* v___x_6844_; lean_object* v___x_6845_; lean_object* v___f_6846_; lean_object* v___x_6847_; +v_indName_6829_ = lean_ctor_get(v_casesInfo_6820_, 1); +lean_inc(v_indName_6829_); +v_arity_6830_ = lean_ctor_get(v_casesInfo_6820_, 2); +lean_inc(v_arity_6830_); +v_discrPos_6831_ = lean_ctor_get(v_casesInfo_6820_, 3); +lean_inc(v_discrPos_6831_); +v_altsRange_6832_ = lean_ctor_get(v_casesInfo_6820_, 4); +lean_inc_ref(v_altsRange_6832_); +v_altNumParams_6833_ = lean_ctor_get(v_casesInfo_6820_, 5); +lean_inc_ref(v_altNumParams_6833_); +v_dummy_6834_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_6835_ = l_Lean_Expr_getAppNumArgs(v_e_6821_); +lean_inc(v_nargs_6835_); +v___x_6836_ = lean_mk_array(v_nargs_6835_, v_dummy_6834_); +v___x_6837_ = lean_unsigned_to_nat(1u); +v___x_6838_ = lean_nat_sub(v_nargs_6835_, v___x_6837_); +lean_dec(v_nargs_6835_); +lean_inc_ref(v_e_6821_); +v_args_6839_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6821_, v___x_6836_, v___x_6838_); +lean_inc(v_arity_6830_); +lean_inc_ref(v_args_6839_); +v___f_6840_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__1___boxed), 16, 8); +lean_closure_set(v___f_6840_, 0, v_indName_6829_); +lean_closure_set(v___f_6840_, 1, v_casesInfo_6820_); +lean_closure_set(v___f_6840_, 2, v_altsRange_6832_); +lean_closure_set(v___f_6840_, 3, v_args_6839_); +lean_closure_set(v___f_6840_, 4, v_arity_6830_); +lean_closure_set(v___f_6840_, 5, v_altNumParams_6833_); +lean_closure_set(v___f_6840_, 6, v_discrPos_6831_); +lean_closure_set(v___f_6840_, 7, v___x_6837_); +v___x_6841_ = l_Lean_Expr_getAppFn(v_e_6821_); +v___x_6842_ = lean_unsigned_to_nat(0u); +lean_inc(v_arity_6830_); +v___x_6843_ = l_Array_toSubarray___redArg(v_args_6839_, v___x_6842_, v_arity_6830_); +v___x_6844_ = l_Subarray_copy___redArg(v___x_6843_); +v___x_6845_ = l_Lean_mkAppN(v___x_6841_, v___x_6844_); +lean_dec_ref(v___x_6844_); +v___f_6846_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__2___boxed), 10, 3); +lean_closure_set(v___f_6846_, 0, v___x_6842_); +lean_closure_set(v___f_6846_, 1, v___x_6845_); +lean_closure_set(v___f_6846_, 2, v___f_6840_); +v___x_6847_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_6821_, v_arity_6830_, v___f_6846_, v_a_6822_, v_a_6823_, v_a_6824_, v_a_6825_, v_a_6826_, v_a_6827_); +lean_dec(v_arity_6830_); +return v___x_6847_; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(lean_object* v_a_6643_, lean_object* v_as_6644_, lean_object* v_i_6645_, lean_object* v_j_6646_, lean_object* v_bs_6647_, uint8_t v___y_6648_, lean_object* v___y_6649_, lean_object* v___y_6650_, lean_object* v___y_6651_, lean_object* v___y_6652_, lean_object* v___y_6653_){ +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(lean_object* v_a_6848_, lean_object* v_as_6849_, lean_object* v_i_6850_, lean_object* v_j_6851_, lean_object* v_bs_6852_, lean_object* v___y_6853_, lean_object* v___y_6854_, lean_object* v___y_6855_, lean_object* v___y_6856_, lean_object* v___y_6857_, lean_object* v___y_6858_){ _start: { -lean_object* v_zero_6655_; uint8_t v_isZero_6656_; -v_zero_6655_ = lean_unsigned_to_nat(0u); -v_isZero_6656_ = lean_nat_dec_eq(v_i_6645_, v_zero_6655_); -if (v_isZero_6656_ == 1) +lean_object* v_zero_6860_; uint8_t v_isZero_6861_; +v_zero_6860_ = lean_unsigned_to_nat(0u); +v_isZero_6861_ = lean_nat_dec_eq(v_i_6850_, v_zero_6860_); +if (v_isZero_6861_ == 1) { -lean_object* v___x_6657_; -lean_dec(v___y_6653_); -lean_dec_ref(v___y_6652_); -lean_dec(v___y_6651_); -lean_dec_ref(v___y_6650_); -lean_dec(v___y_6649_); -lean_dec(v_j_6646_); -lean_dec(v_i_6645_); -v___x_6657_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6657_, 0, v_bs_6647_); -return v___x_6657_; +lean_object* v___x_6862_; +lean_dec(v___y_6858_); +lean_dec_ref(v___y_6857_); +lean_dec(v___y_6856_); +lean_dec_ref(v___y_6855_); +lean_dec(v___y_6854_); +lean_dec(v_j_6851_); +lean_dec(v_i_6850_); +v___x_6862_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6862_, 0, v_bs_6852_); +return v___x_6862_; } else { -lean_object* v_one_6658_; lean_object* v_n_6659_; lean_object* v___y_6661_; lean_object* v___x_6674_; uint8_t v___y_6676_; -v_one_6658_ = lean_unsigned_to_nat(1u); -v_n_6659_ = lean_nat_sub(v_i_6645_, v_one_6658_); -lean_dec(v_i_6645_); -v___x_6674_ = lean_array_fget_borrowed(v_as_6644_, v_j_6646_); -if (v___y_6648_ == 0) +uint8_t v_ignoreNoncomputable_6863_; lean_object* v_expectedType_6864_; lean_object* v_one_6865_; lean_object* v_n_6866_; lean_object* v___x_6867_; uint8_t v___y_6869_; +v_ignoreNoncomputable_6863_ = lean_ctor_get_uint8(v___y_6853_, sizeof(void*)*1); +v_expectedType_6864_ = lean_ctor_get(v___y_6853_, 0); +v_one_6865_ = lean_unsigned_to_nat(1u); +v_n_6866_ = lean_nat_sub(v_i_6850_, v_one_6865_); +lean_dec(v_i_6850_); +v___x_6867_ = lean_array_fget_borrowed(v_as_6849_, v_j_6851_); +if (v_ignoreNoncomputable_6863_ == 0) { -if (lean_obj_tag(v_a_6643_) == 0) +if (lean_obj_tag(v_a_6848_) == 0) { -v___y_6676_ = v___y_6648_; -goto v___jp_6675_; +v___y_6869_ = v_ignoreNoncomputable_6863_; +goto v___jp_6868_; } else { -lean_object* v_val_6678_; lean_object* v_numParams_6679_; uint8_t v___x_6680_; -v_val_6678_ = lean_ctor_get(v_a_6643_, 0); -v_numParams_6679_ = lean_ctor_get(v_val_6678_, 3); -v___x_6680_ = lean_nat_dec_lt(v_j_6646_, v_numParams_6679_); -v___y_6676_ = v___x_6680_; -goto v___jp_6675_; +lean_object* v_val_6884_; lean_object* v_numParams_6885_; uint8_t v___x_6886_; +v_val_6884_ = lean_ctor_get(v_a_6848_, 0); +v_numParams_6885_ = lean_ctor_get(v_val_6884_, 3); +v___x_6886_ = lean_nat_dec_lt(v_j_6851_, v_numParams_6885_); +v___y_6869_ = v___x_6886_; +goto v___jp_6868_; } } else { -lean_object* v___x_6681_; -lean_inc(v___y_6653_); -lean_inc_ref(v___y_6652_); -lean_inc(v___y_6651_); -lean_inc_ref(v___y_6650_); -lean_inc(v___y_6649_); -lean_inc(v___x_6674_); -v___x_6681_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6674_, v___y_6648_, v___y_6649_, v___y_6650_, v___y_6651_, v___y_6652_, v___y_6653_); -v___y_6661_ = v___x_6681_; -goto v___jp_6660_; +v___y_6869_ = v_ignoreNoncomputable_6863_; +goto v___jp_6868_; } -v___jp_6660_: +v___jp_6868_: { -if (lean_obj_tag(v___y_6661_) == 0) +lean_object* v___x_6870_; lean_object* v___x_6871_; +lean_inc(v_expectedType_6864_); +v___x_6870_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_6870_, 0, v_expectedType_6864_); +lean_ctor_set_uint8(v___x_6870_, sizeof(void*)*1, v___y_6869_); +lean_inc(v___y_6858_); +lean_inc_ref(v___y_6857_); +lean_inc(v___y_6856_); +lean_inc_ref(v___y_6855_); +lean_inc(v___y_6854_); +lean_inc(v___x_6867_); +v___x_6871_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6867_, v___x_6870_, v___y_6854_, v___y_6855_, v___y_6856_, v___y_6857_, v___y_6858_); +if (lean_obj_tag(v___x_6871_) == 0) { -lean_object* v_a_6662_; lean_object* v___x_6663_; lean_object* v___x_6664_; -v_a_6662_ = lean_ctor_get(v___y_6661_, 0); -lean_inc(v_a_6662_); -lean_dec_ref(v___y_6661_); -v___x_6663_ = lean_nat_add(v_j_6646_, v_one_6658_); -lean_dec(v_j_6646_); -v___x_6664_ = lean_array_push(v_bs_6647_, v_a_6662_); -v_i_6645_ = v_n_6659_; -v_j_6646_ = v___x_6663_; -v_bs_6647_ = v___x_6664_; +lean_object* v_a_6872_; lean_object* v___x_6873_; lean_object* v___x_6874_; +v_a_6872_ = lean_ctor_get(v___x_6871_, 0); +lean_inc(v_a_6872_); +lean_dec_ref(v___x_6871_); +v___x_6873_ = lean_nat_add(v_j_6851_, v_one_6865_); +lean_dec(v_j_6851_); +v___x_6874_ = lean_array_push(v_bs_6852_, v_a_6872_); +v_i_6850_ = v_n_6866_; +v_j_6851_ = v___x_6873_; +v_bs_6852_ = v___x_6874_; goto _start; } else { -lean_object* v_a_6666_; lean_object* v___x_6668_; uint8_t v_isShared_6669_; uint8_t v_isSharedCheck_6673_; -lean_dec(v_n_6659_); -lean_dec(v___y_6653_); -lean_dec_ref(v___y_6652_); -lean_dec(v___y_6651_); -lean_dec_ref(v___y_6650_); -lean_dec(v___y_6649_); -lean_dec_ref(v_bs_6647_); -lean_dec(v_j_6646_); -v_a_6666_ = lean_ctor_get(v___y_6661_, 0); -v_isSharedCheck_6673_ = !lean_is_exclusive(v___y_6661_); -if (v_isSharedCheck_6673_ == 0) +lean_object* v_a_6876_; lean_object* v___x_6878_; uint8_t v_isShared_6879_; uint8_t v_isSharedCheck_6883_; +lean_dec(v_n_6866_); +lean_dec(v___y_6858_); +lean_dec_ref(v___y_6857_); +lean_dec(v___y_6856_); +lean_dec_ref(v___y_6855_); +lean_dec(v___y_6854_); +lean_dec_ref(v_bs_6852_); +lean_dec(v_j_6851_); +v_a_6876_ = lean_ctor_get(v___x_6871_, 0); +v_isSharedCheck_6883_ = !lean_is_exclusive(v___x_6871_); +if (v_isSharedCheck_6883_ == 0) { -v___x_6668_ = v___y_6661_; -v_isShared_6669_ = v_isSharedCheck_6673_; -goto v_resetjp_6667_; +v___x_6878_ = v___x_6871_; +v_isShared_6879_ = v_isSharedCheck_6883_; +goto v_resetjp_6877_; } else { -lean_inc(v_a_6666_); -lean_dec(v___y_6661_); -v___x_6668_ = lean_box(0); -v_isShared_6669_ = v_isSharedCheck_6673_; -goto v_resetjp_6667_; +lean_inc(v_a_6876_); +lean_dec(v___x_6871_); +v___x_6878_ = lean_box(0); +v_isShared_6879_ = v_isSharedCheck_6883_; +goto v_resetjp_6877_; } -v_resetjp_6667_: +v_resetjp_6877_: { -lean_object* v___x_6671_; -if (v_isShared_6669_ == 0) +lean_object* v___x_6881_; +if (v_isShared_6879_ == 0) { -v___x_6671_ = v___x_6668_; -goto v_reusejp_6670_; +v___x_6881_ = v___x_6878_; +goto v_reusejp_6880_; } else { -lean_object* v_reuseFailAlloc_6672_; -v_reuseFailAlloc_6672_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6672_, 0, v_a_6666_); -v___x_6671_ = v_reuseFailAlloc_6672_; -goto v_reusejp_6670_; +lean_object* v_reuseFailAlloc_6882_; +v_reuseFailAlloc_6882_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6882_, 0, v_a_6876_); +v___x_6881_ = v_reuseFailAlloc_6882_; +goto v_reusejp_6880_; } -v_reusejp_6670_: +v_reusejp_6880_: { -return v___x_6671_; +return v___x_6881_; } } } } -v___jp_6675_: -{ -lean_object* v___x_6677_; -lean_inc(v___y_6653_); -lean_inc_ref(v___y_6652_); -lean_inc(v___y_6651_); -lean_inc_ref(v___y_6650_); -lean_inc(v___y_6649_); -lean_inc(v___x_6674_); -v___x_6677_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_6674_, v___y_6676_, v___y_6649_, v___y_6650_, v___y_6651_, v___y_6652_, v___y_6653_); -v___y_6661_ = v___x_6677_; -goto v___jp_6660_; -} } } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1(void){ _start: { -lean_object* v___x_6683_; lean_object* v___x_6684_; lean_object* v___x_6685_; lean_object* v___x_6686_; lean_object* v___x_6687_; lean_object* v___x_6688_; -v___x_6683_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6684_ = lean_unsigned_to_nat(61u); -v___x_6685_ = lean_unsigned_to_nat(635u); -v___x_6686_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__0)); -v___x_6687_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6688_ = l_mkPanicMessageWithDecl(v___x_6687_, v___x_6686_, v___x_6685_, v___x_6684_, v___x_6683_); -return v___x_6688_; +lean_object* v___x_6888_; lean_object* v___x_6889_; lean_object* v___x_6890_; lean_object* v___x_6891_; lean_object* v___x_6892_; lean_object* v___x_6893_; +v___x_6888_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_6889_ = lean_unsigned_to_nat(61u); +v___x_6890_ = lean_unsigned_to_nat(668u); +v___x_6891_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__0)); +v___x_6892_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_6893_ = l_mkPanicMessageWithDecl(v___x_6892_, v___x_6891_, v___x_6890_, v___x_6889_, v___x_6888_); +return v___x_6893_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(lean_object* v_f_6689_, lean_object* v_args_6690_, uint8_t v___y_6691_, lean_object* v___y_6692_, lean_object* v___y_6693_, lean_object* v___y_6694_, lean_object* v___y_6695_, lean_object* v___y_6696_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(lean_object* v_f_6894_, lean_object* v_args_6895_, lean_object* v___y_6896_, lean_object* v___y_6897_, lean_object* v___y_6898_, lean_object* v___y_6899_, lean_object* v___y_6900_, lean_object* v___y_6901_){ _start: { -lean_object* v___x_6698_; lean_object* v_env_6699_; lean_object* v___x_6700_; -v___x_6698_ = lean_st_ref_get(v___y_6696_); -v_env_6699_ = lean_ctor_get(v___x_6698_, 0); -lean_inc_ref(v_env_6699_); -lean_dec(v___x_6698_); -lean_inc(v___y_6696_); -lean_inc_ref(v___y_6695_); -lean_inc_ref(v_env_6699_); -v___x_6700_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_6699_, v_f_6689_, v___y_6695_, v___y_6696_); -if (lean_obj_tag(v___x_6700_) == 0) +lean_object* v___x_6903_; lean_object* v_env_6904_; lean_object* v___x_6905_; +v___x_6903_ = lean_st_ref_get(v___y_6901_); +v_env_6904_ = lean_ctor_get(v___x_6903_, 0); +lean_inc_ref(v_env_6904_); +lean_dec(v___x_6903_); +lean_inc(v___y_6901_); +lean_inc_ref(v___y_6900_); +lean_inc_ref(v_env_6904_); +v___x_6905_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_6904_, v_f_6894_, v___y_6900_, v___y_6901_); +if (lean_obj_tag(v___x_6905_) == 0) { -lean_object* v_a_6701_; -v_a_6701_ = lean_ctor_get(v___x_6700_, 0); -lean_inc(v_a_6701_); -lean_dec_ref(v___x_6700_); -if (lean_obj_tag(v_a_6701_) == 4) +lean_object* v_a_6906_; +v_a_6906_ = lean_ctor_get(v___x_6905_, 0); +lean_inc(v_a_6906_); +lean_dec_ref(v___x_6905_); +if (lean_obj_tag(v_a_6906_) == 4) { -lean_object* v_declName_6702_; lean_object* v_us_6703_; lean_object* v___x_6704_; -v_declName_6702_ = lean_ctor_get(v_a_6701_, 0); -lean_inc(v_declName_6702_); -v_us_6703_ = lean_ctor_get(v_a_6701_, 1); -lean_inc(v_us_6703_); -lean_dec_ref(v_a_6701_); -lean_inc(v___y_6696_); -lean_inc_ref(v___y_6695_); -lean_inc(v___y_6694_); -lean_inc_ref(v___y_6693_); -lean_inc(v___y_6692_); -lean_inc(v_declName_6702_); -v___x_6704_ = l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(v_declName_6702_, v___y_6691_, v___y_6692_, v___y_6693_, v___y_6694_, v___y_6695_, v___y_6696_); -if (lean_obj_tag(v___x_6704_) == 0) +lean_object* v_declName_6907_; lean_object* v_us_6908_; lean_object* v___x_6909_; +v_declName_6907_ = lean_ctor_get(v_a_6906_, 0); +lean_inc(v_declName_6907_); +v_us_6908_ = lean_ctor_get(v_a_6906_, 1); +lean_inc(v_us_6908_); +lean_dec_ref(v_a_6906_); +lean_inc(v___y_6901_); +lean_inc_ref(v___y_6900_); +lean_inc(v___y_6899_); +lean_inc_ref(v___y_6898_); +lean_inc(v___y_6897_); +lean_inc_ref(v___y_6896_); +lean_inc(v_declName_6907_); +v___x_6909_ = l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38(v_declName_6907_, v___y_6896_, v___y_6897_, v___y_6898_, v___y_6899_, v___y_6900_, v___y_6901_); +if (lean_obj_tag(v___x_6909_) == 0) { -lean_object* v_a_6705_; lean_object* v___x_6706_; lean_object* v___x_6707_; lean_object* v___x_6708_; lean_object* v___x_6709_; -v_a_6705_ = lean_ctor_get(v___x_6704_, 0); -lean_inc(v_a_6705_); -lean_dec_ref(v___x_6704_); -v___x_6706_ = lean_array_get_size(v_args_6690_); -v___x_6707_ = lean_unsigned_to_nat(0u); -v___x_6708_ = lean_mk_empty_array_with_capacity(v___x_6706_); -lean_inc(v___y_6696_); -lean_inc_ref(v___y_6695_); -lean_inc(v___y_6694_); -lean_inc_ref(v___y_6693_); -lean_inc(v___y_6692_); -v___x_6709_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_6705_, v_args_6690_, v___x_6706_, v___x_6707_, v___x_6708_, v___y_6691_, v___y_6692_, v___y_6693_, v___y_6694_, v___y_6695_, v___y_6696_); -lean_dec(v_a_6705_); -if (lean_obj_tag(v___x_6709_) == 0) +lean_object* v_a_6910_; lean_object* v___x_6911_; lean_object* v___x_6912_; lean_object* v___x_6913_; lean_object* v___x_6914_; +v_a_6910_ = lean_ctor_get(v___x_6909_, 0); +lean_inc(v_a_6910_); +lean_dec_ref(v___x_6909_); +v___x_6911_ = lean_array_get_size(v_args_6895_); +v___x_6912_ = lean_unsigned_to_nat(0u); +v___x_6913_ = lean_mk_empty_array_with_capacity(v___x_6911_); +lean_inc(v___y_6901_); +lean_inc_ref(v___y_6900_); +lean_inc(v___y_6899_); +lean_inc_ref(v___y_6898_); +lean_inc(v___y_6897_); +v___x_6914_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_6910_, v_args_6895_, v___x_6911_, v___x_6912_, v___x_6913_, v___y_6896_, v___y_6897_, v___y_6898_, v___y_6899_, v___y_6900_, v___y_6901_); +lean_dec_ref(v___y_6896_); +lean_dec(v_a_6910_); +if (lean_obj_tag(v___x_6914_) == 0) { -lean_object* v_a_6710_; lean_object* v___y_6712_; lean_object* v___y_6713_; lean_object* v___y_6714_; lean_object* v___y_6715_; lean_object* v___y_6716_; uint8_t v___x_6720_; -v_a_6710_ = lean_ctor_get(v___x_6709_, 0); -lean_inc(v_a_6710_); -lean_dec_ref(v___x_6709_); -lean_inc(v_declName_6702_); -v___x_6720_ = l_Lean_hasNeverExtractAttribute(v_env_6699_, v_declName_6702_); -if (v___x_6720_ == 0) +lean_object* v_a_6915_; lean_object* v___y_6917_; lean_object* v___y_6918_; lean_object* v___y_6919_; lean_object* v___y_6920_; lean_object* v___y_6921_; uint8_t v___x_6925_; +v_a_6915_ = lean_ctor_get(v___x_6914_, 0); +lean_inc(v_a_6915_); +lean_dec_ref(v___x_6914_); +lean_inc(v_declName_6907_); +v___x_6925_ = l_Lean_hasNeverExtractAttribute(v_env_6904_, v_declName_6907_); +if (v___x_6925_ == 0) { -v___y_6712_ = v___y_6692_; -v___y_6713_ = v___y_6693_; -v___y_6714_ = v___y_6694_; -v___y_6715_ = v___y_6695_; -v___y_6716_ = v___y_6696_; -goto v___jp_6711_; +v___y_6917_ = v___y_6897_; +v___y_6918_ = v___y_6898_; +v___y_6919_ = v___y_6899_; +v___y_6920_ = v___y_6900_; +v___y_6921_ = v___y_6901_; +goto v___jp_6916_; } else { -lean_object* v___x_6721_; lean_object* v_lctx_6722_; lean_object* v_cache_6723_; lean_object* v_typeCache_6724_; lean_object* v_isTypeFormerTypeCache_6725_; lean_object* v_seq_6726_; lean_object* v_toAny_6727_; lean_object* v___x_6729_; uint8_t v_isShared_6730_; uint8_t v_isSharedCheck_6736_; -v___x_6721_ = lean_st_ref_take(v___y_6692_); -v_lctx_6722_ = lean_ctor_get(v___x_6721_, 0); -v_cache_6723_ = lean_ctor_get(v___x_6721_, 1); -v_typeCache_6724_ = lean_ctor_get(v___x_6721_, 2); -v_isTypeFormerTypeCache_6725_ = lean_ctor_get(v___x_6721_, 3); -v_seq_6726_ = lean_ctor_get(v___x_6721_, 4); -v_toAny_6727_ = lean_ctor_get(v___x_6721_, 5); -v_isSharedCheck_6736_ = !lean_is_exclusive(v___x_6721_); -if (v_isSharedCheck_6736_ == 0) +lean_object* v___x_6926_; lean_object* v_lctx_6927_; lean_object* v_cache_6928_; lean_object* v_typeCache_6929_; lean_object* v_isTypeFormerTypeCache_6930_; lean_object* v_seq_6931_; lean_object* v_toAny_6932_; lean_object* v___x_6934_; uint8_t v_isShared_6935_; uint8_t v_isSharedCheck_6941_; +v___x_6926_ = lean_st_ref_take(v___y_6897_); +v_lctx_6927_ = lean_ctor_get(v___x_6926_, 0); +v_cache_6928_ = lean_ctor_get(v___x_6926_, 1); +v_typeCache_6929_ = lean_ctor_get(v___x_6926_, 2); +v_isTypeFormerTypeCache_6930_ = lean_ctor_get(v___x_6926_, 3); +v_seq_6931_ = lean_ctor_get(v___x_6926_, 4); +v_toAny_6932_ = lean_ctor_get(v___x_6926_, 5); +v_isSharedCheck_6941_ = !lean_is_exclusive(v___x_6926_); +if (v_isSharedCheck_6941_ == 0) { -v___x_6729_ = v___x_6721_; -v_isShared_6730_ = v_isSharedCheck_6736_; -goto v_resetjp_6728_; +v___x_6934_ = v___x_6926_; +v_isShared_6935_ = v_isSharedCheck_6941_; +goto v_resetjp_6933_; } else { -lean_inc(v_toAny_6727_); -lean_inc(v_seq_6726_); -lean_inc(v_isTypeFormerTypeCache_6725_); -lean_inc(v_typeCache_6724_); -lean_inc(v_cache_6723_); -lean_inc(v_lctx_6722_); -lean_dec(v___x_6721_); -v___x_6729_ = lean_box(0); -v_isShared_6730_ = v_isSharedCheck_6736_; -goto v_resetjp_6728_; +lean_inc(v_toAny_6932_); +lean_inc(v_seq_6931_); +lean_inc(v_isTypeFormerTypeCache_6930_); +lean_inc(v_typeCache_6929_); +lean_inc(v_cache_6928_); +lean_inc(v_lctx_6927_); +lean_dec(v___x_6926_); +v___x_6934_ = lean_box(0); +v_isShared_6935_ = v_isSharedCheck_6941_; +goto v_resetjp_6933_; } -v_resetjp_6728_: +v_resetjp_6933_: { -uint8_t v___x_6731_; lean_object* v___x_6733_; -v___x_6731_ = 0; -if (v_isShared_6730_ == 0) +uint8_t v___x_6936_; lean_object* v___x_6938_; +v___x_6936_ = 0; +if (v_isShared_6935_ == 0) { -v___x_6733_ = v___x_6729_; -goto v_reusejp_6732_; +v___x_6938_ = v___x_6934_; +goto v_reusejp_6937_; } else { -lean_object* v_reuseFailAlloc_6735_; -v_reuseFailAlloc_6735_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_6735_, 0, v_lctx_6722_); -lean_ctor_set(v_reuseFailAlloc_6735_, 1, v_cache_6723_); -lean_ctor_set(v_reuseFailAlloc_6735_, 2, v_typeCache_6724_); -lean_ctor_set(v_reuseFailAlloc_6735_, 3, v_isTypeFormerTypeCache_6725_); -lean_ctor_set(v_reuseFailAlloc_6735_, 4, v_seq_6726_); -lean_ctor_set(v_reuseFailAlloc_6735_, 5, v_toAny_6727_); -v___x_6733_ = v_reuseFailAlloc_6735_; -goto v_reusejp_6732_; +lean_object* v_reuseFailAlloc_6940_; +v_reuseFailAlloc_6940_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_6940_, 0, v_lctx_6927_); +lean_ctor_set(v_reuseFailAlloc_6940_, 1, v_cache_6928_); +lean_ctor_set(v_reuseFailAlloc_6940_, 2, v_typeCache_6929_); +lean_ctor_set(v_reuseFailAlloc_6940_, 3, v_isTypeFormerTypeCache_6930_); +lean_ctor_set(v_reuseFailAlloc_6940_, 4, v_seq_6931_); +lean_ctor_set(v_reuseFailAlloc_6940_, 5, v_toAny_6932_); +v___x_6938_ = v_reuseFailAlloc_6940_; +goto v_reusejp_6937_; } -v_reusejp_6732_: +v_reusejp_6937_: { -lean_object* v___x_6734_; -lean_ctor_set_uint8(v___x_6733_, sizeof(void*)*6, v___x_6731_); -v___x_6734_ = lean_st_ref_set(v___y_6692_, v___x_6733_); -v___y_6712_ = v___y_6692_; -v___y_6713_ = v___y_6693_; -v___y_6714_ = v___y_6694_; -v___y_6715_ = v___y_6695_; -v___y_6716_ = v___y_6696_; -goto v___jp_6711_; +lean_object* v___x_6939_; +lean_ctor_set_uint8(v___x_6938_, sizeof(void*)*6, v___x_6936_); +v___x_6939_ = lean_st_ref_set(v___y_6897_, v___x_6938_); +v___y_6917_ = v___y_6897_; +v___y_6918_ = v___y_6898_; +v___y_6919_ = v___y_6899_; +v___y_6920_ = v___y_6900_; +v___y_6921_ = v___y_6901_; +goto v___jp_6916_; } } } -v___jp_6711_: +v___jp_6916_: { -lean_object* v___x_6717_; lean_object* v___x_6718_; lean_object* v___x_6719_; -v___x_6717_ = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(v___x_6717_, 0, v_declName_6702_); -lean_ctor_set(v___x_6717_, 1, v_us_6703_); -lean_ctor_set(v___x_6717_, 2, v_a_6710_); -v___x_6718_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_6719_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_6717_, v___x_6718_, v___y_6712_, v___y_6713_, v___y_6714_, v___y_6715_, v___y_6716_); -lean_dec(v___y_6712_); -return v___x_6719_; +lean_object* v___x_6922_; lean_object* v___x_6923_; lean_object* v___x_6924_; +v___x_6922_ = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(v___x_6922_, 0, v_declName_6907_); +lean_ctor_set(v___x_6922_, 1, v_us_6908_); +lean_ctor_set(v___x_6922_, 2, v_a_6915_); +v___x_6923_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_6924_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_6922_, v___x_6923_, v___y_6917_, v___y_6918_, v___y_6919_, v___y_6920_, v___y_6921_); +lean_dec(v___y_6917_); +return v___x_6924_; } } else { -lean_object* v_a_6737_; lean_object* v___x_6739_; uint8_t v_isShared_6740_; uint8_t v_isSharedCheck_6744_; -lean_dec(v_us_6703_); -lean_dec(v_declName_6702_); -lean_dec_ref(v_env_6699_); -lean_dec(v___y_6696_); -lean_dec_ref(v___y_6695_); -lean_dec(v___y_6694_); -lean_dec_ref(v___y_6693_); -lean_dec(v___y_6692_); -v_a_6737_ = lean_ctor_get(v___x_6709_, 0); -v_isSharedCheck_6744_ = !lean_is_exclusive(v___x_6709_); -if (v_isSharedCheck_6744_ == 0) +lean_object* v_a_6942_; lean_object* v___x_6944_; uint8_t v_isShared_6945_; uint8_t v_isSharedCheck_6949_; +lean_dec(v_us_6908_); +lean_dec(v_declName_6907_); +lean_dec_ref(v_env_6904_); +lean_dec(v___y_6901_); +lean_dec_ref(v___y_6900_); +lean_dec(v___y_6899_); +lean_dec_ref(v___y_6898_); +lean_dec(v___y_6897_); +v_a_6942_ = lean_ctor_get(v___x_6914_, 0); +v_isSharedCheck_6949_ = !lean_is_exclusive(v___x_6914_); +if (v_isSharedCheck_6949_ == 0) { -v___x_6739_ = v___x_6709_; -v_isShared_6740_ = v_isSharedCheck_6744_; -goto v_resetjp_6738_; +v___x_6944_ = v___x_6914_; +v_isShared_6945_ = v_isSharedCheck_6949_; +goto v_resetjp_6943_; } else { -lean_inc(v_a_6737_); -lean_dec(v___x_6709_); -v___x_6739_ = lean_box(0); -v_isShared_6740_ = v_isSharedCheck_6744_; -goto v_resetjp_6738_; +lean_inc(v_a_6942_); +lean_dec(v___x_6914_); +v___x_6944_ = lean_box(0); +v_isShared_6945_ = v_isSharedCheck_6949_; +goto v_resetjp_6943_; } -v_resetjp_6738_: +v_resetjp_6943_: { -lean_object* v___x_6742_; -if (v_isShared_6740_ == 0) +lean_object* v___x_6947_; +if (v_isShared_6945_ == 0) { -v___x_6742_ = v___x_6739_; -goto v_reusejp_6741_; +v___x_6947_ = v___x_6944_; +goto v_reusejp_6946_; } else { -lean_object* v_reuseFailAlloc_6743_; -v_reuseFailAlloc_6743_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6743_, 0, v_a_6737_); -v___x_6742_ = v_reuseFailAlloc_6743_; -goto v_reusejp_6741_; +lean_object* v_reuseFailAlloc_6948_; +v_reuseFailAlloc_6948_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6948_, 0, v_a_6942_); +v___x_6947_ = v_reuseFailAlloc_6948_; +goto v_reusejp_6946_; } -v_reusejp_6741_: +v_reusejp_6946_: { -return v___x_6742_; +return v___x_6947_; } } } } else { -lean_object* v_a_6745_; lean_object* v___x_6747_; uint8_t v_isShared_6748_; uint8_t v_isSharedCheck_6752_; -lean_dec(v_us_6703_); -lean_dec(v_declName_6702_); -lean_dec_ref(v_env_6699_); -lean_dec(v___y_6696_); -lean_dec_ref(v___y_6695_); -lean_dec(v___y_6694_); -lean_dec_ref(v___y_6693_); -lean_dec(v___y_6692_); -v_a_6745_ = lean_ctor_get(v___x_6704_, 0); -v_isSharedCheck_6752_ = !lean_is_exclusive(v___x_6704_); -if (v_isSharedCheck_6752_ == 0) +lean_object* v_a_6950_; lean_object* v___x_6952_; uint8_t v_isShared_6953_; uint8_t v_isSharedCheck_6957_; +lean_dec(v_us_6908_); +lean_dec(v_declName_6907_); +lean_dec_ref(v_env_6904_); +lean_dec(v___y_6901_); +lean_dec_ref(v___y_6900_); +lean_dec(v___y_6899_); +lean_dec_ref(v___y_6898_); +lean_dec(v___y_6897_); +lean_dec_ref(v___y_6896_); +v_a_6950_ = lean_ctor_get(v___x_6909_, 0); +v_isSharedCheck_6957_ = !lean_is_exclusive(v___x_6909_); +if (v_isSharedCheck_6957_ == 0) { -v___x_6747_ = v___x_6704_; -v_isShared_6748_ = v_isSharedCheck_6752_; -goto v_resetjp_6746_; +v___x_6952_ = v___x_6909_; +v_isShared_6953_ = v_isSharedCheck_6957_; +goto v_resetjp_6951_; } else { -lean_inc(v_a_6745_); -lean_dec(v___x_6704_); -v___x_6747_ = lean_box(0); -v_isShared_6748_ = v_isSharedCheck_6752_; -goto v_resetjp_6746_; +lean_inc(v_a_6950_); +lean_dec(v___x_6909_); +v___x_6952_ = lean_box(0); +v_isShared_6953_ = v_isSharedCheck_6957_; +goto v_resetjp_6951_; } -v_resetjp_6746_: +v_resetjp_6951_: { -lean_object* v___x_6750_; -if (v_isShared_6748_ == 0) +lean_object* v___x_6955_; +if (v_isShared_6953_ == 0) { -v___x_6750_ = v___x_6747_; -goto v_reusejp_6749_; +v___x_6955_ = v___x_6952_; +goto v_reusejp_6954_; } else { -lean_object* v_reuseFailAlloc_6751_; -v_reuseFailAlloc_6751_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6751_, 0, v_a_6745_); -v___x_6750_ = v_reuseFailAlloc_6751_; -goto v_reusejp_6749_; +lean_object* v_reuseFailAlloc_6956_; +v_reuseFailAlloc_6956_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6956_, 0, v_a_6950_); +v___x_6955_ = v_reuseFailAlloc_6956_; +goto v_reusejp_6954_; } -v_reusejp_6749_: +v_reusejp_6954_: { -return v___x_6750_; +return v___x_6955_; } } } } else { -lean_object* v___x_6753_; lean_object* v___x_6754_; -lean_dec(v_a_6701_); -lean_dec_ref(v_env_6699_); -v___x_6753_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1); -v___x_6754_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6753_, v___y_6691_, v___y_6692_, v___y_6693_, v___y_6694_, v___y_6695_, v___y_6696_); -return v___x_6754_; +lean_object* v___x_6958_; lean_object* v___x_6959_; +lean_dec(v_a_6906_); +lean_dec_ref(v_env_6904_); +v___x_6958_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___closed__1); +v___x_6959_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6958_, v___y_6896_, v___y_6897_, v___y_6898_, v___y_6899_, v___y_6900_, v___y_6901_); +return v___x_6959_; } } else { -lean_object* v_a_6755_; lean_object* v___x_6757_; uint8_t v_isShared_6758_; uint8_t v_isSharedCheck_6762_; -lean_dec_ref(v_env_6699_); -lean_dec(v___y_6696_); -lean_dec_ref(v___y_6695_); -lean_dec(v___y_6694_); -lean_dec_ref(v___y_6693_); -lean_dec(v___y_6692_); -v_a_6755_ = lean_ctor_get(v___x_6700_, 0); -v_isSharedCheck_6762_ = !lean_is_exclusive(v___x_6700_); -if (v_isSharedCheck_6762_ == 0) +lean_object* v_a_6960_; lean_object* v___x_6962_; uint8_t v_isShared_6963_; uint8_t v_isSharedCheck_6967_; +lean_dec_ref(v_env_6904_); +lean_dec(v___y_6901_); +lean_dec_ref(v___y_6900_); +lean_dec(v___y_6899_); +lean_dec_ref(v___y_6898_); +lean_dec(v___y_6897_); +lean_dec_ref(v___y_6896_); +v_a_6960_ = lean_ctor_get(v___x_6905_, 0); +v_isSharedCheck_6967_ = !lean_is_exclusive(v___x_6905_); +if (v_isSharedCheck_6967_ == 0) { -v___x_6757_ = v___x_6700_; -v_isShared_6758_ = v_isSharedCheck_6762_; -goto v_resetjp_6756_; +v___x_6962_ = v___x_6905_; +v_isShared_6963_ = v_isSharedCheck_6967_; +goto v_resetjp_6961_; } else { -lean_inc(v_a_6755_); -lean_dec(v___x_6700_); -v___x_6757_ = lean_box(0); -v_isShared_6758_ = v_isSharedCheck_6762_; -goto v_resetjp_6756_; +lean_inc(v_a_6960_); +lean_dec(v___x_6905_); +v___x_6962_ = lean_box(0); +v_isShared_6963_ = v_isSharedCheck_6967_; +goto v_resetjp_6961_; } -v_resetjp_6756_: +v_resetjp_6961_: { -lean_object* v___x_6760_; -if (v_isShared_6758_ == 0) +lean_object* v___x_6965_; +if (v_isShared_6963_ == 0) { -v___x_6760_ = v___x_6757_; -goto v_reusejp_6759_; +v___x_6965_ = v___x_6962_; +goto v_reusejp_6964_; } else { -lean_object* v_reuseFailAlloc_6761_; -v_reuseFailAlloc_6761_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6761_, 0, v_a_6755_); -v___x_6760_ = v_reuseFailAlloc_6761_; -goto v_reusejp_6759_; +lean_object* v_reuseFailAlloc_6966_; +v_reuseFailAlloc_6966_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6966_, 0, v_a_6960_); +v___x_6965_ = v_reuseFailAlloc_6966_; +goto v_reusejp_6964_; } -v_reusejp_6759_: +v_reusejp_6964_: { -return v___x_6760_; +return v___x_6965_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___boxed(lean_object* v_f_6763_, lean_object* v_args_6764_, lean_object* v___y_6765_, lean_object* v___y_6766_, lean_object* v___y_6767_, lean_object* v___y_6768_, lean_object* v___y_6769_, lean_object* v___y_6770_, lean_object* v___y_6771_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___boxed(lean_object* v_f_6968_, lean_object* v_args_6969_, lean_object* v___y_6970_, lean_object* v___y_6971_, lean_object* v___y_6972_, lean_object* v___y_6973_, lean_object* v___y_6974_, lean_object* v___y_6975_, lean_object* v___y_6976_){ _start: { -uint8_t v___y_168238__boxed_6772_; lean_object* v_res_6773_; -v___y_168238__boxed_6772_ = lean_unbox(v___y_6765_); -v_res_6773_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(v_f_6763_, v_args_6764_, v___y_168238__boxed_6772_, v___y_6766_, v___y_6767_, v___y_6768_, v___y_6769_, v___y_6770_); -lean_dec_ref(v_args_6764_); -return v_res_6773_; +lean_object* v_res_6977_; +v_res_6977_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0(v_f_6968_, v_args_6969_, v___y_6970_, v___y_6971_, v___y_6972_, v___y_6973_, v___y_6974_, v___y_6975_); +lean_dec_ref(v_args_6969_); +return v_res_6977_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object* v_arity_6774_, lean_object* v_e_6775_, uint8_t v_a_6776_, lean_object* v_a_6777_, lean_object* v_a_6778_, lean_object* v_a_6779_, lean_object* v_a_6780_, lean_object* v_a_6781_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object* v_arity_6978_, lean_object* v_e_6979_, lean_object* v_a_6980_, lean_object* v_a_6981_, lean_object* v_a_6982_, lean_object* v_a_6983_, lean_object* v_a_6984_, lean_object* v_a_6985_){ _start: { -lean_object* v_f_6783_; lean_object* v_dummy_6784_; lean_object* v_nargs_6785_; lean_object* v___x_6786_; lean_object* v___x_6787_; lean_object* v___x_6788_; lean_object* v_args_6789_; lean_object* v___f_6790_; lean_object* v___x_6791_; -v_f_6783_ = l_Lean_Expr_getAppFn(v_e_6775_); -v_dummy_6784_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_6785_ = l_Lean_Expr_getAppNumArgs(v_e_6775_); -lean_inc(v_nargs_6785_); -v___x_6786_ = lean_mk_array(v_nargs_6785_, v_dummy_6784_); -v___x_6787_ = lean_unsigned_to_nat(1u); -v___x_6788_ = lean_nat_sub(v_nargs_6785_, v___x_6787_); -lean_dec(v_nargs_6785_); -lean_inc_ref(v_e_6775_); -v_args_6789_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6775_, v___x_6786_, v___x_6788_); -v___f_6790_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___boxed), 9, 2); -lean_closure_set(v___f_6790_, 0, v_f_6783_); -lean_closure_set(v___f_6790_, 1, v_args_6789_); -v___x_6791_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_6775_, v_arity_6774_, v___f_6790_, v_a_6776_, v_a_6777_, v_a_6778_, v_a_6779_, v_a_6780_, v_a_6781_); -return v___x_6791_; +uint8_t v_ignoreNoncomputable_6987_; lean_object* v___x_6989_; uint8_t v_isShared_6990_; uint8_t v_isSharedCheck_7004_; +v_ignoreNoncomputable_6987_ = lean_ctor_get_uint8(v_a_6980_, sizeof(void*)*1); +v_isSharedCheck_7004_ = !lean_is_exclusive(v_a_6980_); +if (v_isSharedCheck_7004_ == 0) +{ +lean_object* v_unused_7005_; +v_unused_7005_ = lean_ctor_get(v_a_6980_, 0); +lean_dec(v_unused_7005_); +v___x_6989_ = v_a_6980_; +v_isShared_6990_ = v_isSharedCheck_7004_; +goto v_resetjp_6988_; +} +else +{ +lean_dec(v_a_6980_); +v___x_6989_ = lean_box(0); +v_isShared_6990_ = v_isSharedCheck_7004_; +goto v_resetjp_6988_; +} +v_resetjp_6988_: +{ +lean_object* v_f_6991_; lean_object* v_nargs_6992_; lean_object* v_dummy_6993_; lean_object* v___x_6994_; lean_object* v___x_6995_; lean_object* v___x_6996_; lean_object* v_args_6997_; lean_object* v___f_6998_; lean_object* v___x_6999_; lean_object* v___x_7001_; +v_f_6991_ = l_Lean_Expr_getAppFn(v_e_6979_); +v_nargs_6992_ = l_Lean_Expr_getAppNumArgs(v_e_6979_); +v_dummy_6993_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +lean_inc(v_nargs_6992_); +v___x_6994_ = lean_mk_array(v_nargs_6992_, v_dummy_6993_); +v___x_6995_ = lean_unsigned_to_nat(1u); +v___x_6996_ = lean_nat_sub(v_nargs_6992_, v___x_6995_); +lean_dec(v_nargs_6992_); +lean_inc_ref(v_e_6979_); +v_args_6997_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6979_, v___x_6994_, v___x_6996_); +v___f_6998_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___lam__0___boxed), 9, 2); +lean_closure_set(v___f_6998_, 0, v_f_6991_); +lean_closure_set(v___f_6998_, 1, v_args_6997_); +v___x_6999_ = lean_box(0); +if (v_isShared_6990_ == 0) +{ +lean_ctor_set(v___x_6989_, 0, v___x_6999_); +v___x_7001_ = v___x_6989_; +goto v_reusejp_7000_; +} +else +{ +lean_object* v_reuseFailAlloc_7003_; +v_reuseFailAlloc_7003_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7003_, 0, v___x_6999_); +lean_ctor_set_uint8(v_reuseFailAlloc_7003_, sizeof(void*)*1, v_ignoreNoncomputable_6987_); +v___x_7001_ = v_reuseFailAlloc_7003_; +goto v_reusejp_7000_; +} +v_reusejp_7000_: +{ +lean_object* v___x_7002_; +v___x_7002_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_6979_, v_arity_6978_, v___f_6998_, v___x_7001_, v_a_6981_, v_a_6982_, v_a_6983_, v_a_6984_, v_a_6985_); +return v___x_7002_; +} +} } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1(void){ _start: { -lean_object* v___x_6793_; lean_object* v___x_6794_; lean_object* v___x_6795_; lean_object* v___x_6796_; lean_object* v___x_6797_; lean_object* v___x_6798_; -v___x_6793_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6794_ = lean_unsigned_to_nat(45u); -v___x_6795_ = lean_unsigned_to_nat(755u); -v___x_6796_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__0)); -v___x_6797_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6798_ = l_mkPanicMessageWithDecl(v___x_6797_, v___x_6796_, v___x_6795_, v___x_6794_, v___x_6793_); -return v___x_6798_; +lean_object* v___x_7007_; lean_object* v___x_7008_; lean_object* v___x_7009_; lean_object* v___x_7010_; lean_object* v___x_7011_; lean_object* v___x_7012_; +v___x_7007_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_7008_ = lean_unsigned_to_nat(45u); +v___x_7009_ = lean_unsigned_to_nat(795u); +v___x_7010_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__0)); +v___x_7011_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_7012_ = l_mkPanicMessageWithDecl(v___x_7011_, v___x_7010_, v___x_7009_, v___x_7008_, v___x_7007_); +return v___x_7012_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(size_t v_sz_6799_, size_t v_i_6800_, lean_object* v_bs_6801_, uint8_t v___y_6802_, lean_object* v___y_6803_, lean_object* v___y_6804_, lean_object* v___y_6805_, lean_object* v___y_6806_, lean_object* v___y_6807_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(size_t v_sz_7013_, size_t v_i_7014_, lean_object* v_bs_7015_, lean_object* v___y_7016_, lean_object* v___y_7017_, lean_object* v___y_7018_, lean_object* v___y_7019_, lean_object* v___y_7020_, lean_object* v___y_7021_){ _start: { -uint8_t v___x_6809_; -v___x_6809_ = lean_usize_dec_lt(v_i_6800_, v_sz_6799_); -if (v___x_6809_ == 0) +uint8_t v___x_7023_; +v___x_7023_ = lean_usize_dec_lt(v_i_7014_, v_sz_7013_); +if (v___x_7023_ == 0) { -lean_object* v___x_6810_; -lean_dec(v___y_6807_); -lean_dec_ref(v___y_6806_); -lean_dec(v___y_6805_); -lean_dec_ref(v___y_6804_); -lean_dec(v___y_6803_); -v___x_6810_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6810_, 0, v_bs_6801_); -return v___x_6810_; +lean_object* v___x_7024_; +lean_dec(v___y_7021_); +lean_dec_ref(v___y_7020_); +lean_dec(v___y_7019_); +lean_dec_ref(v___y_7018_); +lean_dec(v___y_7017_); +v___x_7024_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7024_, 0, v_bs_7015_); +return v___x_7024_; } else { -lean_object* v_v_6811_; lean_object* v___x_6812_; -v_v_6811_ = lean_array_uget_borrowed(v_bs_6801_, v_i_6800_); -lean_inc(v___y_6807_); -lean_inc_ref(v___y_6806_); -lean_inc(v___y_6805_); -lean_inc_ref(v___y_6804_); -lean_inc(v___y_6803_); -lean_inc(v_v_6811_); -v___x_6812_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v_v_6811_, v___y_6802_, v___y_6803_, v___y_6804_, v___y_6805_, v___y_6806_, v___y_6807_); -if (lean_obj_tag(v___x_6812_) == 0) +uint8_t v_ignoreNoncomputable_7025_; lean_object* v_v_7026_; lean_object* v___x_7027_; lean_object* v___x_7028_; lean_object* v___x_7029_; +v_ignoreNoncomputable_7025_ = lean_ctor_get_uint8(v___y_7016_, sizeof(void*)*1); +v_v_7026_ = lean_array_uget_borrowed(v_bs_7015_, v_i_7014_); +v___x_7027_ = lean_box(0); +v___x_7028_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_7028_, 0, v___x_7027_); +lean_ctor_set_uint8(v___x_7028_, sizeof(void*)*1, v_ignoreNoncomputable_7025_); +lean_inc(v___y_7021_); +lean_inc_ref(v___y_7020_); +lean_inc(v___y_7019_); +lean_inc_ref(v___y_7018_); +lean_inc(v___y_7017_); +lean_inc(v_v_7026_); +v___x_7029_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v_v_7026_, v___x_7028_, v___y_7017_, v___y_7018_, v___y_7019_, v___y_7020_, v___y_7021_); +if (lean_obj_tag(v___x_7029_) == 0) { -lean_object* v_a_6813_; lean_object* v___x_6814_; lean_object* v_bs_x27_6815_; size_t v___x_6816_; size_t v___x_6817_; lean_object* v___x_6818_; -v_a_6813_ = lean_ctor_get(v___x_6812_, 0); -lean_inc(v_a_6813_); -lean_dec_ref(v___x_6812_); -v___x_6814_ = lean_unsigned_to_nat(0u); -v_bs_x27_6815_ = lean_array_uset(v_bs_6801_, v_i_6800_, v___x_6814_); -v___x_6816_ = ((size_t)1ULL); -v___x_6817_ = lean_usize_add(v_i_6800_, v___x_6816_); -v___x_6818_ = lean_array_uset(v_bs_x27_6815_, v_i_6800_, v_a_6813_); -v_i_6800_ = v___x_6817_; -v_bs_6801_ = v___x_6818_; +lean_object* v_a_7030_; lean_object* v___x_7031_; lean_object* v_bs_x27_7032_; size_t v___x_7033_; size_t v___x_7034_; lean_object* v___x_7035_; +v_a_7030_ = lean_ctor_get(v___x_7029_, 0); +lean_inc(v_a_7030_); +lean_dec_ref(v___x_7029_); +v___x_7031_ = lean_unsigned_to_nat(0u); +v_bs_x27_7032_ = lean_array_uset(v_bs_7015_, v_i_7014_, v___x_7031_); +v___x_7033_ = ((size_t)1ULL); +v___x_7034_ = lean_usize_add(v_i_7014_, v___x_7033_); +v___x_7035_ = lean_array_uset(v_bs_x27_7032_, v_i_7014_, v_a_7030_); +v_i_7014_ = v___x_7034_; +v_bs_7015_ = v___x_7035_; goto _start; } else { -lean_object* v_a_6820_; lean_object* v___x_6822_; uint8_t v_isShared_6823_; uint8_t v_isSharedCheck_6827_; -lean_dec(v___y_6807_); -lean_dec_ref(v___y_6806_); -lean_dec(v___y_6805_); -lean_dec_ref(v___y_6804_); -lean_dec(v___y_6803_); -lean_dec_ref(v_bs_6801_); -v_a_6820_ = lean_ctor_get(v___x_6812_, 0); -v_isSharedCheck_6827_ = !lean_is_exclusive(v___x_6812_); -if (v_isSharedCheck_6827_ == 0) +lean_object* v_a_7037_; lean_object* v___x_7039_; uint8_t v_isShared_7040_; uint8_t v_isSharedCheck_7044_; +lean_dec(v___y_7021_); +lean_dec_ref(v___y_7020_); +lean_dec(v___y_7019_); +lean_dec_ref(v___y_7018_); +lean_dec(v___y_7017_); +lean_dec_ref(v_bs_7015_); +v_a_7037_ = lean_ctor_get(v___x_7029_, 0); +v_isSharedCheck_7044_ = !lean_is_exclusive(v___x_7029_); +if (v_isSharedCheck_7044_ == 0) { -v___x_6822_ = v___x_6812_; -v_isShared_6823_ = v_isSharedCheck_6827_; -goto v_resetjp_6821_; +v___x_7039_ = v___x_7029_; +v_isShared_7040_ = v_isSharedCheck_7044_; +goto v_resetjp_7038_; } else { -lean_inc(v_a_6820_); -lean_dec(v___x_6812_); -v___x_6822_ = lean_box(0); -v_isShared_6823_ = v_isSharedCheck_6827_; -goto v_resetjp_6821_; +lean_inc(v_a_7037_); +lean_dec(v___x_7029_); +v___x_7039_ = lean_box(0); +v_isShared_7040_ = v_isSharedCheck_7044_; +goto v_resetjp_7038_; } -v_resetjp_6821_: +v_resetjp_7038_: { -lean_object* v___x_6825_; -if (v_isShared_6823_ == 0) +lean_object* v___x_7042_; +if (v_isShared_7040_ == 0) { -v___x_6825_ = v___x_6822_; -goto v_reusejp_6824_; +v___x_7042_ = v___x_7039_; +goto v_reusejp_7041_; } else { -lean_object* v_reuseFailAlloc_6826_; -v_reuseFailAlloc_6826_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6826_, 0, v_a_6820_); -v___x_6825_ = v_reuseFailAlloc_6826_; -goto v_reusejp_6824_; +lean_object* v_reuseFailAlloc_7043_; +v_reuseFailAlloc_7043_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7043_, 0, v_a_7037_); +v___x_7042_ = v_reuseFailAlloc_7043_; +goto v_reusejp_7041_; } -v_reusejp_6824_: +v_reusejp_7041_: { -return v___x_6825_; +return v___x_7042_; } } } @@ -23209,495 +24061,500 @@ return v___x_6825_; static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1(void){ _start: { -lean_object* v___x_6829_; lean_object* v___x_6830_; lean_object* v___x_6831_; lean_object* v___x_6832_; lean_object* v___x_6833_; lean_object* v___x_6834_; -v___x_6829_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_6830_ = lean_unsigned_to_nat(59u); -v___x_6831_ = lean_unsigned_to_nat(507u); -v___x_6832_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__0)); -v___x_6833_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_6834_ = l_mkPanicMessageWithDecl(v___x_6833_, v___x_6832_, v___x_6831_, v___x_6830_, v___x_6829_); -return v___x_6834_; +lean_object* v___x_7046_; lean_object* v___x_7047_; lean_object* v___x_7048_; lean_object* v___x_7049_; lean_object* v___x_7050_; lean_object* v___x_7051_; +v___x_7046_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_7047_ = lean_unsigned_to_nat(59u); +v___x_7048_ = lean_unsigned_to_nat(530u); +v___x_7049_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__0)); +v___x_7050_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_7051_ = l_mkPanicMessageWithDecl(v___x_7050_, v___x_7049_, v___x_7048_, v___x_7047_, v___x_7046_); +return v___x_7051_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(lean_object* v_f_6835_, lean_object* v_args_6836_, uint8_t v_a_6837_, lean_object* v_a_6838_, lean_object* v_a_6839_, lean_object* v_a_6840_, lean_object* v_a_6841_, lean_object* v_a_6842_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(lean_object* v_f_7052_, lean_object* v_args_7053_, lean_object* v_a_7054_, lean_object* v_a_7055_, lean_object* v_a_7056_, lean_object* v_a_7057_, lean_object* v_a_7058_, lean_object* v_a_7059_){ _start: { -lean_object* v___x_6844_; lean_object* v_env_6845_; lean_object* v___x_6846_; -v___x_6844_ = lean_st_ref_get(v_a_6842_); -v_env_6845_ = lean_ctor_get(v___x_6844_, 0); -lean_inc_ref(v_env_6845_); -lean_dec(v___x_6844_); -lean_inc(v_a_6842_); -lean_inc_ref(v_a_6841_); -lean_inc_ref(v_env_6845_); -v___x_6846_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_6845_, v_f_6835_, v_a_6841_, v_a_6842_); -if (lean_obj_tag(v___x_6846_) == 0) +lean_object* v___x_7061_; lean_object* v_env_7062_; lean_object* v___x_7063_; +v___x_7061_ = lean_st_ref_get(v_a_7059_); +v_env_7062_ = lean_ctor_get(v___x_7061_, 0); +lean_inc_ref(v_env_7062_); +lean_dec(v___x_7061_); +lean_inc(v_a_7059_); +lean_inc_ref(v_a_7058_); +lean_inc_ref(v_env_7062_); +v___x_7063_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_7062_, v_f_7052_, v_a_7058_, v_a_7059_); +if (lean_obj_tag(v___x_7063_) == 0) { -lean_object* v_a_6847_; -v_a_6847_ = lean_ctor_get(v___x_6846_, 0); -lean_inc(v_a_6847_); -lean_dec_ref(v___x_6846_); -if (lean_obj_tag(v_a_6847_) == 4) +lean_object* v_a_7064_; +v_a_7064_ = lean_ctor_get(v___x_7063_, 0); +lean_inc(v_a_7064_); +lean_dec_ref(v___x_7063_); +if (lean_obj_tag(v_a_7064_) == 4) { -lean_object* v_declName_6848_; lean_object* v_us_6849_; size_t v_sz_6850_; size_t v___x_6851_; lean_object* v___x_6852_; -v_declName_6848_ = lean_ctor_get(v_a_6847_, 0); -lean_inc(v_declName_6848_); -v_us_6849_ = lean_ctor_get(v_a_6847_, 1); -lean_inc(v_us_6849_); -lean_dec_ref(v_a_6847_); -v_sz_6850_ = lean_array_size(v_args_6836_); -v___x_6851_ = ((size_t)0ULL); -lean_inc(v_a_6842_); -lean_inc_ref(v_a_6841_); -lean_inc(v_a_6840_); -lean_inc_ref(v_a_6839_); -lean_inc(v_a_6838_); -v___x_6852_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_6850_, v___x_6851_, v_args_6836_, v_a_6837_, v_a_6838_, v_a_6839_, v_a_6840_, v_a_6841_, v_a_6842_); -if (lean_obj_tag(v___x_6852_) == 0) +lean_object* v_declName_7065_; lean_object* v_us_7066_; size_t v_sz_7067_; size_t v___x_7068_; lean_object* v___x_7069_; +v_declName_7065_ = lean_ctor_get(v_a_7064_, 0); +lean_inc(v_declName_7065_); +v_us_7066_ = lean_ctor_get(v_a_7064_, 1); +lean_inc(v_us_7066_); +lean_dec_ref(v_a_7064_); +v_sz_7067_ = lean_array_size(v_args_7053_); +v___x_7068_ = ((size_t)0ULL); +lean_inc(v_a_7059_); +lean_inc_ref(v_a_7058_); +lean_inc(v_a_7057_); +lean_inc_ref(v_a_7056_); +lean_inc(v_a_7055_); +v___x_7069_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_7067_, v___x_7068_, v_args_7053_, v_a_7054_, v_a_7055_, v_a_7056_, v_a_7057_, v_a_7058_, v_a_7059_); +lean_dec_ref(v_a_7054_); +if (lean_obj_tag(v___x_7069_) == 0) { -lean_object* v_a_6853_; lean_object* v___y_6855_; lean_object* v___y_6856_; lean_object* v___y_6857_; lean_object* v___y_6858_; lean_object* v___y_6859_; uint8_t v___x_6863_; -v_a_6853_ = lean_ctor_get(v___x_6852_, 0); -lean_inc(v_a_6853_); -lean_dec_ref(v___x_6852_); -lean_inc(v_declName_6848_); -v___x_6863_ = l_Lean_hasNeverExtractAttribute(v_env_6845_, v_declName_6848_); -if (v___x_6863_ == 0) +lean_object* v_a_7070_; lean_object* v___y_7072_; lean_object* v___y_7073_; lean_object* v___y_7074_; lean_object* v___y_7075_; lean_object* v___y_7076_; uint8_t v___x_7080_; +v_a_7070_ = lean_ctor_get(v___x_7069_, 0); +lean_inc(v_a_7070_); +lean_dec_ref(v___x_7069_); +lean_inc(v_declName_7065_); +v___x_7080_ = l_Lean_hasNeverExtractAttribute(v_env_7062_, v_declName_7065_); +if (v___x_7080_ == 0) { -v___y_6855_ = v_a_6838_; -v___y_6856_ = v_a_6839_; -v___y_6857_ = v_a_6840_; -v___y_6858_ = v_a_6841_; -v___y_6859_ = v_a_6842_; -goto v___jp_6854_; +v___y_7072_ = v_a_7055_; +v___y_7073_ = v_a_7056_; +v___y_7074_ = v_a_7057_; +v___y_7075_ = v_a_7058_; +v___y_7076_ = v_a_7059_; +goto v___jp_7071_; } else { -lean_object* v___x_6864_; lean_object* v_lctx_6865_; lean_object* v_cache_6866_; lean_object* v_typeCache_6867_; lean_object* v_isTypeFormerTypeCache_6868_; lean_object* v_seq_6869_; lean_object* v_toAny_6870_; lean_object* v___x_6872_; uint8_t v_isShared_6873_; uint8_t v_isSharedCheck_6879_; -v___x_6864_ = lean_st_ref_take(v_a_6838_); -v_lctx_6865_ = lean_ctor_get(v___x_6864_, 0); -v_cache_6866_ = lean_ctor_get(v___x_6864_, 1); -v_typeCache_6867_ = lean_ctor_get(v___x_6864_, 2); -v_isTypeFormerTypeCache_6868_ = lean_ctor_get(v___x_6864_, 3); -v_seq_6869_ = lean_ctor_get(v___x_6864_, 4); -v_toAny_6870_ = lean_ctor_get(v___x_6864_, 5); -v_isSharedCheck_6879_ = !lean_is_exclusive(v___x_6864_); -if (v_isSharedCheck_6879_ == 0) +lean_object* v___x_7081_; lean_object* v_lctx_7082_; lean_object* v_cache_7083_; lean_object* v_typeCache_7084_; lean_object* v_isTypeFormerTypeCache_7085_; lean_object* v_seq_7086_; lean_object* v_toAny_7087_; lean_object* v___x_7089_; uint8_t v_isShared_7090_; uint8_t v_isSharedCheck_7096_; +v___x_7081_ = lean_st_ref_take(v_a_7055_); +v_lctx_7082_ = lean_ctor_get(v___x_7081_, 0); +v_cache_7083_ = lean_ctor_get(v___x_7081_, 1); +v_typeCache_7084_ = lean_ctor_get(v___x_7081_, 2); +v_isTypeFormerTypeCache_7085_ = lean_ctor_get(v___x_7081_, 3); +v_seq_7086_ = lean_ctor_get(v___x_7081_, 4); +v_toAny_7087_ = lean_ctor_get(v___x_7081_, 5); +v_isSharedCheck_7096_ = !lean_is_exclusive(v___x_7081_); +if (v_isSharedCheck_7096_ == 0) { -v___x_6872_ = v___x_6864_; -v_isShared_6873_ = v_isSharedCheck_6879_; -goto v_resetjp_6871_; +v___x_7089_ = v___x_7081_; +v_isShared_7090_ = v_isSharedCheck_7096_; +goto v_resetjp_7088_; } else { -lean_inc(v_toAny_6870_); -lean_inc(v_seq_6869_); -lean_inc(v_isTypeFormerTypeCache_6868_); -lean_inc(v_typeCache_6867_); -lean_inc(v_cache_6866_); -lean_inc(v_lctx_6865_); -lean_dec(v___x_6864_); -v___x_6872_ = lean_box(0); -v_isShared_6873_ = v_isSharedCheck_6879_; -goto v_resetjp_6871_; +lean_inc(v_toAny_7087_); +lean_inc(v_seq_7086_); +lean_inc(v_isTypeFormerTypeCache_7085_); +lean_inc(v_typeCache_7084_); +lean_inc(v_cache_7083_); +lean_inc(v_lctx_7082_); +lean_dec(v___x_7081_); +v___x_7089_ = lean_box(0); +v_isShared_7090_ = v_isSharedCheck_7096_; +goto v_resetjp_7088_; } -v_resetjp_6871_: +v_resetjp_7088_: { -uint8_t v___x_6874_; lean_object* v___x_6876_; -v___x_6874_ = 0; -if (v_isShared_6873_ == 0) +uint8_t v___x_7091_; lean_object* v___x_7093_; +v___x_7091_ = 0; +if (v_isShared_7090_ == 0) { -v___x_6876_ = v___x_6872_; -goto v_reusejp_6875_; +v___x_7093_ = v___x_7089_; +goto v_reusejp_7092_; } else { -lean_object* v_reuseFailAlloc_6878_; -v_reuseFailAlloc_6878_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_6878_, 0, v_lctx_6865_); -lean_ctor_set(v_reuseFailAlloc_6878_, 1, v_cache_6866_); -lean_ctor_set(v_reuseFailAlloc_6878_, 2, v_typeCache_6867_); -lean_ctor_set(v_reuseFailAlloc_6878_, 3, v_isTypeFormerTypeCache_6868_); -lean_ctor_set(v_reuseFailAlloc_6878_, 4, v_seq_6869_); -lean_ctor_set(v_reuseFailAlloc_6878_, 5, v_toAny_6870_); -v___x_6876_ = v_reuseFailAlloc_6878_; -goto v_reusejp_6875_; +lean_object* v_reuseFailAlloc_7095_; +v_reuseFailAlloc_7095_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_7095_, 0, v_lctx_7082_); +lean_ctor_set(v_reuseFailAlloc_7095_, 1, v_cache_7083_); +lean_ctor_set(v_reuseFailAlloc_7095_, 2, v_typeCache_7084_); +lean_ctor_set(v_reuseFailAlloc_7095_, 3, v_isTypeFormerTypeCache_7085_); +lean_ctor_set(v_reuseFailAlloc_7095_, 4, v_seq_7086_); +lean_ctor_set(v_reuseFailAlloc_7095_, 5, v_toAny_7087_); +v___x_7093_ = v_reuseFailAlloc_7095_; +goto v_reusejp_7092_; } -v_reusejp_6875_: +v_reusejp_7092_: { -lean_object* v___x_6877_; -lean_ctor_set_uint8(v___x_6876_, sizeof(void*)*6, v___x_6874_); -v___x_6877_ = lean_st_ref_set(v_a_6838_, v___x_6876_); -v___y_6855_ = v_a_6838_; -v___y_6856_ = v_a_6839_; -v___y_6857_ = v_a_6840_; -v___y_6858_ = v_a_6841_; -v___y_6859_ = v_a_6842_; -goto v___jp_6854_; +lean_object* v___x_7094_; +lean_ctor_set_uint8(v___x_7093_, sizeof(void*)*6, v___x_7091_); +v___x_7094_ = lean_st_ref_set(v_a_7055_, v___x_7093_); +v___y_7072_ = v_a_7055_; +v___y_7073_ = v_a_7056_; +v___y_7074_ = v_a_7057_; +v___y_7075_ = v_a_7058_; +v___y_7076_ = v_a_7059_; +goto v___jp_7071_; } } } -v___jp_6854_: +v___jp_7071_: { -lean_object* v___x_6860_; lean_object* v___x_6861_; lean_object* v___x_6862_; -v___x_6860_ = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(v___x_6860_, 0, v_declName_6848_); -lean_ctor_set(v___x_6860_, 1, v_us_6849_); -lean_ctor_set(v___x_6860_, 2, v_a_6853_); -v___x_6861_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_6862_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_6860_, v___x_6861_, v___y_6855_, v___y_6856_, v___y_6857_, v___y_6858_, v___y_6859_); -lean_dec(v___y_6855_); -return v___x_6862_; +lean_object* v___x_7077_; lean_object* v___x_7078_; lean_object* v___x_7079_; +v___x_7077_ = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(v___x_7077_, 0, v_declName_7065_); +lean_ctor_set(v___x_7077_, 1, v_us_7066_); +lean_ctor_set(v___x_7077_, 2, v_a_7070_); +v___x_7078_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_7079_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7077_, v___x_7078_, v___y_7072_, v___y_7073_, v___y_7074_, v___y_7075_, v___y_7076_); +lean_dec(v___y_7072_); +return v___x_7079_; } } else { -lean_object* v_a_6880_; lean_object* v___x_6882_; uint8_t v_isShared_6883_; uint8_t v_isSharedCheck_6887_; -lean_dec(v_us_6849_); -lean_dec(v_declName_6848_); -lean_dec_ref(v_env_6845_); -lean_dec(v_a_6842_); -lean_dec_ref(v_a_6841_); -lean_dec(v_a_6840_); -lean_dec_ref(v_a_6839_); -lean_dec(v_a_6838_); -v_a_6880_ = lean_ctor_get(v___x_6852_, 0); -v_isSharedCheck_6887_ = !lean_is_exclusive(v___x_6852_); -if (v_isSharedCheck_6887_ == 0) +lean_object* v_a_7097_; lean_object* v___x_7099_; uint8_t v_isShared_7100_; uint8_t v_isSharedCheck_7104_; +lean_dec(v_us_7066_); +lean_dec(v_declName_7065_); +lean_dec_ref(v_env_7062_); +lean_dec(v_a_7059_); +lean_dec_ref(v_a_7058_); +lean_dec(v_a_7057_); +lean_dec_ref(v_a_7056_); +lean_dec(v_a_7055_); +v_a_7097_ = lean_ctor_get(v___x_7069_, 0); +v_isSharedCheck_7104_ = !lean_is_exclusive(v___x_7069_); +if (v_isSharedCheck_7104_ == 0) { -v___x_6882_ = v___x_6852_; -v_isShared_6883_ = v_isSharedCheck_6887_; -goto v_resetjp_6881_; +v___x_7099_ = v___x_7069_; +v_isShared_7100_ = v_isSharedCheck_7104_; +goto v_resetjp_7098_; } else { -lean_inc(v_a_6880_); -lean_dec(v___x_6852_); -v___x_6882_ = lean_box(0); -v_isShared_6883_ = v_isSharedCheck_6887_; -goto v_resetjp_6881_; +lean_inc(v_a_7097_); +lean_dec(v___x_7069_); +v___x_7099_ = lean_box(0); +v_isShared_7100_ = v_isSharedCheck_7104_; +goto v_resetjp_7098_; } -v_resetjp_6881_: +v_resetjp_7098_: { -lean_object* v___x_6885_; -if (v_isShared_6883_ == 0) +lean_object* v___x_7102_; +if (v_isShared_7100_ == 0) { -v___x_6885_ = v___x_6882_; -goto v_reusejp_6884_; +v___x_7102_ = v___x_7099_; +goto v_reusejp_7101_; } else { -lean_object* v_reuseFailAlloc_6886_; -v_reuseFailAlloc_6886_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6886_, 0, v_a_6880_); -v___x_6885_ = v_reuseFailAlloc_6886_; -goto v_reusejp_6884_; +lean_object* v_reuseFailAlloc_7103_; +v_reuseFailAlloc_7103_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7103_, 0, v_a_7097_); +v___x_7102_ = v_reuseFailAlloc_7103_; +goto v_reusejp_7101_; } -v_reusejp_6884_: +v_reusejp_7101_: { -return v___x_6885_; +return v___x_7102_; } } } } else { -lean_object* v___x_6888_; lean_object* v___x_6889_; -lean_dec(v_a_6847_); -lean_dec_ref(v_env_6845_); -lean_dec_ref(v_args_6836_); -v___x_6888_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1); -v___x_6889_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6888_, v_a_6837_, v_a_6838_, v_a_6839_, v_a_6840_, v_a_6841_, v_a_6842_); -return v___x_6889_; +lean_object* v___x_7105_; lean_object* v___x_7106_; +lean_dec(v_a_7064_); +lean_dec_ref(v_env_7062_); +lean_dec_ref(v_args_7053_); +v___x_7105_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___closed__1); +v___x_7106_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7105_, v_a_7054_, v_a_7055_, v_a_7056_, v_a_7057_, v_a_7058_, v_a_7059_); +return v___x_7106_; } } else { -lean_object* v_a_6890_; lean_object* v___x_6892_; uint8_t v_isShared_6893_; uint8_t v_isSharedCheck_6897_; -lean_dec_ref(v_env_6845_); -lean_dec(v_a_6842_); -lean_dec_ref(v_a_6841_); -lean_dec(v_a_6840_); -lean_dec_ref(v_a_6839_); -lean_dec(v_a_6838_); -lean_dec_ref(v_args_6836_); -v_a_6890_ = lean_ctor_get(v___x_6846_, 0); -v_isSharedCheck_6897_ = !lean_is_exclusive(v___x_6846_); -if (v_isSharedCheck_6897_ == 0) +lean_object* v_a_7107_; lean_object* v___x_7109_; uint8_t v_isShared_7110_; uint8_t v_isSharedCheck_7114_; +lean_dec_ref(v_env_7062_); +lean_dec(v_a_7059_); +lean_dec_ref(v_a_7058_); +lean_dec(v_a_7057_); +lean_dec_ref(v_a_7056_); +lean_dec(v_a_7055_); +lean_dec_ref(v_a_7054_); +lean_dec_ref(v_args_7053_); +v_a_7107_ = lean_ctor_get(v___x_7063_, 0); +v_isSharedCheck_7114_ = !lean_is_exclusive(v___x_7063_); +if (v_isSharedCheck_7114_ == 0) { -v___x_6892_ = v___x_6846_; -v_isShared_6893_ = v_isSharedCheck_6897_; -goto v_resetjp_6891_; +v___x_7109_ = v___x_7063_; +v_isShared_7110_ = v_isSharedCheck_7114_; +goto v_resetjp_7108_; } else { -lean_inc(v_a_6890_); -lean_dec(v___x_6846_); -v___x_6892_ = lean_box(0); -v_isShared_6893_ = v_isSharedCheck_6897_; -goto v_resetjp_6891_; +lean_inc(v_a_7107_); +lean_dec(v___x_7063_); +v___x_7109_ = lean_box(0); +v_isShared_7110_ = v_isSharedCheck_7114_; +goto v_resetjp_7108_; } -v_resetjp_6891_: +v_resetjp_7108_: { -lean_object* v___x_6895_; -if (v_isShared_6893_ == 0) +lean_object* v___x_7112_; +if (v_isShared_7110_ == 0) { -v___x_6895_ = v___x_6892_; -goto v_reusejp_6894_; +v___x_7112_ = v___x_7109_; +goto v_reusejp_7111_; } else { -lean_object* v_reuseFailAlloc_6896_; -v_reuseFailAlloc_6896_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6896_, 0, v_a_6890_); -v___x_6895_ = v_reuseFailAlloc_6896_; -goto v_reusejp_6894_; +lean_object* v_reuseFailAlloc_7113_; +v_reuseFailAlloc_7113_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7113_, 0, v_a_7107_); +v___x_7112_ = v_reuseFailAlloc_7113_; +goto v_reusejp_7111_; } -v_reusejp_6894_: +v_reusejp_7111_: { -return v___x_6895_; +return v___x_7112_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object* v_projInfo_6898_, lean_object* v_e_6899_, uint8_t v_a_6900_, lean_object* v_a_6901_, lean_object* v_a_6902_, lean_object* v_a_6903_, lean_object* v_a_6904_, lean_object* v_a_6905_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object* v_projInfo_7115_, lean_object* v_e_7116_, lean_object* v_a_7117_, lean_object* v_a_7118_, lean_object* v_a_7119_, lean_object* v_a_7120_, lean_object* v_a_7121_, lean_object* v_a_7122_){ _start: { -lean_object* v_ctorName_6907_; lean_object* v_numParams_6908_; lean_object* v_typeName_6909_; uint8_t v___x_6910_; -v_ctorName_6907_ = lean_ctor_get(v_projInfo_6898_, 0); -v_numParams_6908_ = lean_ctor_get(v_projInfo_6898_, 1); -v_typeName_6909_ = l_Lean_Name_getPrefix(v_ctorName_6907_); -v___x_6910_ = l_Lean_Compiler_LCNF_isRuntimeBuiltinType(v_typeName_6909_); -lean_dec(v_typeName_6909_); -if (v___x_6910_ == 0) +lean_object* v_ctorName_7124_; lean_object* v_numParams_7125_; lean_object* v_typeName_7126_; uint8_t v___x_7127_; +v_ctorName_7124_ = lean_ctor_get(v_projInfo_7115_, 0); +v_numParams_7125_ = lean_ctor_get(v_projInfo_7115_, 1); +v_typeName_7126_ = l_Lean_Name_getPrefix(v_ctorName_7124_); +v___x_7127_ = l_Lean_Compiler_LCNF_isRuntimeBuiltinType(v_typeName_7126_); +lean_dec(v_typeName_7126_); +if (v___x_7127_ == 0) { -lean_object* v___x_6911_; -v___x_6911_ = l_Lean_Expr_getAppFn(v_e_6899_); -if (lean_obj_tag(v___x_6911_) == 4) +lean_object* v___x_7128_; +v___x_7128_ = l_Lean_Expr_getAppFn(v_e_7116_); +if (lean_obj_tag(v___x_7128_) == 4) { -lean_object* v_declName_6912_; lean_object* v_us_6913_; lean_object* v___x_6914_; -v_declName_6912_ = lean_ctor_get(v___x_6911_, 0); -lean_inc(v_declName_6912_); -v_us_6913_ = lean_ctor_get(v___x_6911_, 1); -lean_inc(v_us_6913_); -lean_dec_ref(v___x_6911_); -lean_inc_ref(v_a_6904_); -v___x_6914_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_declName_6912_, v_a_6900_, v_a_6901_, v_a_6902_, v_a_6903_, v_a_6904_, v_a_6905_); -if (lean_obj_tag(v___x_6914_) == 0) +lean_object* v_declName_7129_; lean_object* v_us_7130_; lean_object* v___x_7131_; +v_declName_7129_ = lean_ctor_get(v___x_7128_, 0); +lean_inc(v_declName_7129_); +v_us_7130_ = lean_ctor_get(v___x_7128_, 1); +lean_inc(v_us_7130_); +lean_dec_ref(v___x_7128_); +lean_inc_ref(v_a_7121_); +v___x_7131_ = l_Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17(v_declName_7129_, v_a_7117_, v_a_7118_, v_a_7119_, v_a_7120_, v_a_7121_, v_a_7122_); +if (lean_obj_tag(v___x_7131_) == 0) { -lean_object* v_a_6915_; lean_object* v___x_6916_; -v_a_6915_ = lean_ctor_get(v___x_6914_, 0); -lean_inc(v_a_6915_); -lean_dec_ref(v___x_6914_); -v___x_6916_ = l_Lean_Core_instantiateValueLevelParams(v_a_6915_, v_us_6913_, v_a_6904_, v_a_6905_); -lean_dec(v_a_6915_); -if (lean_obj_tag(v___x_6916_) == 0) +lean_object* v_a_7132_; lean_object* v___x_7133_; +v_a_7132_ = lean_ctor_get(v___x_7131_, 0); +lean_inc(v_a_7132_); +lean_dec_ref(v___x_7131_); +v___x_7133_ = l_Lean_Core_instantiateValueLevelParams(v_a_7132_, v_us_7130_, v_a_7121_, v_a_7122_); +lean_dec(v_a_7132_); +if (lean_obj_tag(v___x_7133_) == 0) { -lean_object* v_a_6917_; lean_object* v_dummy_6918_; lean_object* v_nargs_6919_; lean_object* v___x_6920_; lean_object* v___x_6921_; lean_object* v___x_6922_; lean_object* v___x_6923_; lean_object* v___x_6924_; lean_object* v___x_6925_; -v_a_6917_ = lean_ctor_get(v___x_6916_, 0); -lean_inc(v_a_6917_); -lean_dec_ref(v___x_6916_); -v_dummy_6918_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_6919_ = l_Lean_Expr_getAppNumArgs(v_e_6899_); -lean_inc(v_nargs_6919_); -v___x_6920_ = lean_mk_array(v_nargs_6919_, v_dummy_6918_); -v___x_6921_ = lean_unsigned_to_nat(1u); -v___x_6922_ = lean_nat_sub(v_nargs_6919_, v___x_6921_); -lean_dec(v_nargs_6919_); -v___x_6923_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6899_, v___x_6920_, v___x_6922_); -v___x_6924_ = l_Lean_Expr_beta(v_a_6917_, v___x_6923_); -v___x_6925_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_6924_, v_a_6900_, v_a_6901_, v_a_6902_, v_a_6903_, v_a_6904_, v_a_6905_); -return v___x_6925_; +lean_object* v_a_7134_; lean_object* v_dummy_7135_; lean_object* v_nargs_7136_; lean_object* v___x_7137_; lean_object* v___x_7138_; lean_object* v___x_7139_; lean_object* v___x_7140_; lean_object* v___x_7141_; lean_object* v___x_7142_; +v_a_7134_ = lean_ctor_get(v___x_7133_, 0); +lean_inc(v_a_7134_); +lean_dec_ref(v___x_7133_); +v_dummy_7135_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_7136_ = l_Lean_Expr_getAppNumArgs(v_e_7116_); +lean_inc(v_nargs_7136_); +v___x_7137_ = lean_mk_array(v_nargs_7136_, v_dummy_7135_); +v___x_7138_ = lean_unsigned_to_nat(1u); +v___x_7139_ = lean_nat_sub(v_nargs_7136_, v___x_7138_); +lean_dec(v_nargs_7136_); +v___x_7140_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7116_, v___x_7137_, v___x_7139_); +v___x_7141_ = l_Lean_Expr_beta(v_a_7134_, v___x_7140_); +v___x_7142_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_7141_, v_a_7117_, v_a_7118_, v_a_7119_, v_a_7120_, v_a_7121_, v_a_7122_); +return v___x_7142_; } else { -lean_object* v_a_6926_; lean_object* v___x_6928_; uint8_t v_isShared_6929_; uint8_t v_isSharedCheck_6933_; -lean_dec(v_a_6905_); -lean_dec_ref(v_a_6904_); -lean_dec(v_a_6903_); -lean_dec_ref(v_a_6902_); -lean_dec(v_a_6901_); -lean_dec_ref(v_e_6899_); -v_a_6926_ = lean_ctor_get(v___x_6916_, 0); -v_isSharedCheck_6933_ = !lean_is_exclusive(v___x_6916_); -if (v_isSharedCheck_6933_ == 0) +lean_object* v_a_7143_; lean_object* v___x_7145_; uint8_t v_isShared_7146_; uint8_t v_isSharedCheck_7150_; +lean_dec(v_a_7122_); +lean_dec_ref(v_a_7121_); +lean_dec(v_a_7120_); +lean_dec_ref(v_a_7119_); +lean_dec(v_a_7118_); +lean_dec_ref(v_a_7117_); +lean_dec_ref(v_e_7116_); +v_a_7143_ = lean_ctor_get(v___x_7133_, 0); +v_isSharedCheck_7150_ = !lean_is_exclusive(v___x_7133_); +if (v_isSharedCheck_7150_ == 0) { -v___x_6928_ = v___x_6916_; -v_isShared_6929_ = v_isSharedCheck_6933_; -goto v_resetjp_6927_; +v___x_7145_ = v___x_7133_; +v_isShared_7146_ = v_isSharedCheck_7150_; +goto v_resetjp_7144_; } else { -lean_inc(v_a_6926_); -lean_dec(v___x_6916_); -v___x_6928_ = lean_box(0); -v_isShared_6929_ = v_isSharedCheck_6933_; -goto v_resetjp_6927_; +lean_inc(v_a_7143_); +lean_dec(v___x_7133_); +v___x_7145_ = lean_box(0); +v_isShared_7146_ = v_isSharedCheck_7150_; +goto v_resetjp_7144_; } -v_resetjp_6927_: +v_resetjp_7144_: { -lean_object* v___x_6931_; -if (v_isShared_6929_ == 0) +lean_object* v___x_7148_; +if (v_isShared_7146_ == 0) { -v___x_6931_ = v___x_6928_; -goto v_reusejp_6930_; +v___x_7148_ = v___x_7145_; +goto v_reusejp_7147_; } else { -lean_object* v_reuseFailAlloc_6932_; -v_reuseFailAlloc_6932_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6932_, 0, v_a_6926_); -v___x_6931_ = v_reuseFailAlloc_6932_; -goto v_reusejp_6930_; +lean_object* v_reuseFailAlloc_7149_; +v_reuseFailAlloc_7149_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7149_, 0, v_a_7143_); +v___x_7148_ = v_reuseFailAlloc_7149_; +goto v_reusejp_7147_; } -v_reusejp_6930_: +v_reusejp_7147_: { -return v___x_6931_; +return v___x_7148_; } } } } else { -lean_object* v_a_6934_; lean_object* v___x_6936_; uint8_t v_isShared_6937_; uint8_t v_isSharedCheck_6941_; -lean_dec(v_us_6913_); -lean_dec(v_a_6905_); -lean_dec_ref(v_a_6904_); -lean_dec(v_a_6903_); -lean_dec_ref(v_a_6902_); -lean_dec(v_a_6901_); -lean_dec_ref(v_e_6899_); -v_a_6934_ = lean_ctor_get(v___x_6914_, 0); -v_isSharedCheck_6941_ = !lean_is_exclusive(v___x_6914_); -if (v_isSharedCheck_6941_ == 0) +lean_object* v_a_7151_; lean_object* v___x_7153_; uint8_t v_isShared_7154_; uint8_t v_isSharedCheck_7158_; +lean_dec(v_us_7130_); +lean_dec(v_a_7122_); +lean_dec_ref(v_a_7121_); +lean_dec(v_a_7120_); +lean_dec_ref(v_a_7119_); +lean_dec(v_a_7118_); +lean_dec_ref(v_a_7117_); +lean_dec_ref(v_e_7116_); +v_a_7151_ = lean_ctor_get(v___x_7131_, 0); +v_isSharedCheck_7158_ = !lean_is_exclusive(v___x_7131_); +if (v_isSharedCheck_7158_ == 0) { -v___x_6936_ = v___x_6914_; -v_isShared_6937_ = v_isSharedCheck_6941_; -goto v_resetjp_6935_; +v___x_7153_ = v___x_7131_; +v_isShared_7154_ = v_isSharedCheck_7158_; +goto v_resetjp_7152_; } else { -lean_inc(v_a_6934_); -lean_dec(v___x_6914_); -v___x_6936_ = lean_box(0); -v_isShared_6937_ = v_isSharedCheck_6941_; -goto v_resetjp_6935_; +lean_inc(v_a_7151_); +lean_dec(v___x_7131_); +v___x_7153_ = lean_box(0); +v_isShared_7154_ = v_isSharedCheck_7158_; +goto v_resetjp_7152_; } -v_resetjp_6935_: +v_resetjp_7152_: { -lean_object* v___x_6939_; -if (v_isShared_6937_ == 0) +lean_object* v___x_7156_; +if (v_isShared_7154_ == 0) { -v___x_6939_ = v___x_6936_; -goto v_reusejp_6938_; +v___x_7156_ = v___x_7153_; +goto v_reusejp_7155_; } else { -lean_object* v_reuseFailAlloc_6940_; -v_reuseFailAlloc_6940_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6940_, 0, v_a_6934_); -v___x_6939_ = v_reuseFailAlloc_6940_; -goto v_reusejp_6938_; +lean_object* v_reuseFailAlloc_7157_; +v_reuseFailAlloc_7157_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7157_, 0, v_a_7151_); +v___x_7156_ = v_reuseFailAlloc_7157_; +goto v_reusejp_7155_; } -v_reusejp_6938_: +v_reusejp_7155_: { -return v___x_6939_; +return v___x_7156_; } } } } else { -lean_object* v___x_6942_; lean_object* v___x_6943_; -lean_dec_ref(v___x_6911_); -lean_dec_ref(v_e_6899_); -v___x_6942_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1); -v___x_6943_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_6942_, v_a_6900_, v_a_6901_, v_a_6902_, v_a_6903_, v_a_6904_, v_a_6905_); -return v___x_6943_; +lean_object* v___x_7159_; lean_object* v___x_7160_; +lean_dec_ref(v___x_7128_); +lean_dec_ref(v_e_7116_); +v___x_7159_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1); +v___x_7160_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7159_, v_a_7117_, v_a_7118_, v_a_7119_, v_a_7120_, v_a_7121_, v_a_7122_); +return v___x_7160_; } } else { -lean_object* v_numArgs_6944_; lean_object* v___x_6945_; lean_object* v_arity_6946_; uint8_t v___x_6947_; -v_numArgs_6944_ = l_Lean_Expr_getAppNumArgs(v_e_6899_); -v___x_6945_ = lean_unsigned_to_nat(1u); -v_arity_6946_ = lean_nat_add(v_numParams_6908_, v___x_6945_); -v___x_6947_ = lean_nat_dec_lt(v_numArgs_6944_, v_arity_6946_); -if (v___x_6947_ == 0) +lean_object* v_numArgs_7161_; lean_object* v___x_7162_; lean_object* v_arity_7163_; uint8_t v___x_7164_; +v_numArgs_7161_ = l_Lean_Expr_getAppNumArgs(v_e_7116_); +v___x_7162_ = lean_unsigned_to_nat(1u); +v_arity_7163_ = lean_nat_add(v_numParams_7125_, v___x_7162_); +v___x_7164_ = lean_nat_dec_lt(v_numArgs_7161_, v_arity_7163_); +if (v___x_7164_ == 0) { -lean_object* v___x_6948_; lean_object* v_dummy_6949_; lean_object* v___x_6950_; lean_object* v___x_6951_; lean_object* v___x_6952_; lean_object* v___x_6953_; -lean_dec(v_arity_6946_); -v___x_6948_ = l_Lean_Expr_getAppFn(v_e_6899_); -v_dummy_6949_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -lean_inc(v_numArgs_6944_); -v___x_6950_ = lean_mk_array(v_numArgs_6944_, v_dummy_6949_); -v___x_6951_ = lean_nat_sub(v_numArgs_6944_, v___x_6945_); -lean_dec(v_numArgs_6944_); -v___x_6952_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_6899_, v___x_6950_, v___x_6951_); -v___x_6953_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v___x_6948_, v___x_6952_, v_a_6900_, v_a_6901_, v_a_6902_, v_a_6903_, v_a_6904_, v_a_6905_); -return v___x_6953_; +lean_object* v___x_7165_; lean_object* v_dummy_7166_; lean_object* v___x_7167_; lean_object* v___x_7168_; lean_object* v___x_7169_; lean_object* v___x_7170_; +lean_dec(v_arity_7163_); +v___x_7165_ = l_Lean_Expr_getAppFn(v_e_7116_); +v_dummy_7166_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +lean_inc(v_numArgs_7161_); +v___x_7167_ = lean_mk_array(v_numArgs_7161_, v_dummy_7166_); +v___x_7168_ = lean_nat_sub(v_numArgs_7161_, v___x_7162_); +lean_dec(v_numArgs_7161_); +v___x_7169_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7116_, v___x_7167_, v___x_7168_); +v___x_7170_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v___x_7165_, v___x_7169_, v_a_7117_, v_a_7118_, v_a_7119_, v_a_7120_, v_a_7121_, v_a_7122_); +return v___x_7170_; } else { -lean_object* v___x_6954_; lean_object* v___x_6955_; -v___x_6954_ = lean_nat_sub(v_arity_6946_, v_numArgs_6944_); -lean_dec(v_numArgs_6944_); -lean_dec(v_arity_6946_); -lean_inc(v_a_6905_); -lean_inc_ref(v_a_6904_); -v___x_6955_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_6899_, v___x_6954_, v_a_6901_, v_a_6904_, v_a_6905_); -if (lean_obj_tag(v___x_6955_) == 0) +lean_object* v___x_7171_; lean_object* v___x_7172_; +v___x_7171_ = lean_nat_sub(v_arity_7163_, v_numArgs_7161_); +lean_dec(v_numArgs_7161_); +lean_dec(v_arity_7163_); +lean_inc(v_a_7122_); +lean_inc_ref(v_a_7121_); +v___x_7172_ = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___redArg(v_e_7116_, v___x_7171_, v_a_7118_, v_a_7121_, v_a_7122_); +if (lean_obj_tag(v___x_7172_) == 0) { -lean_object* v_a_6956_; lean_object* v___x_6957_; -v_a_6956_ = lean_ctor_get(v___x_6955_, 0); -lean_inc(v_a_6956_); -lean_dec_ref(v___x_6955_); -v___x_6957_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_a_6956_, v_a_6900_, v_a_6901_, v_a_6902_, v_a_6903_, v_a_6904_, v_a_6905_); -return v___x_6957_; +lean_object* v_a_7173_; lean_object* v___x_7174_; +v_a_7173_ = lean_ctor_get(v___x_7172_, 0); +lean_inc(v_a_7173_); +lean_dec_ref(v___x_7172_); +v___x_7174_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_a_7173_, v_a_7117_, v_a_7118_, v_a_7119_, v_a_7120_, v_a_7121_, v_a_7122_); +return v___x_7174_; } else { -lean_object* v_a_6958_; lean_object* v___x_6960_; uint8_t v_isShared_6961_; uint8_t v_isSharedCheck_6965_; -lean_dec(v_a_6905_); -lean_dec_ref(v_a_6904_); -lean_dec(v_a_6903_); -lean_dec_ref(v_a_6902_); -lean_dec(v_a_6901_); -v_a_6958_ = lean_ctor_get(v___x_6955_, 0); -v_isSharedCheck_6965_ = !lean_is_exclusive(v___x_6955_); -if (v_isSharedCheck_6965_ == 0) +lean_object* v_a_7175_; lean_object* v___x_7177_; uint8_t v_isShared_7178_; uint8_t v_isSharedCheck_7182_; +lean_dec(v_a_7122_); +lean_dec_ref(v_a_7121_); +lean_dec(v_a_7120_); +lean_dec_ref(v_a_7119_); +lean_dec(v_a_7118_); +lean_dec_ref(v_a_7117_); +v_a_7175_ = lean_ctor_get(v___x_7172_, 0); +v_isSharedCheck_7182_ = !lean_is_exclusive(v___x_7172_); +if (v_isSharedCheck_7182_ == 0) { -v___x_6960_ = v___x_6955_; -v_isShared_6961_ = v_isSharedCheck_6965_; -goto v_resetjp_6959_; +v___x_7177_ = v___x_7172_; +v_isShared_7178_ = v_isSharedCheck_7182_; +goto v_resetjp_7176_; } else { -lean_inc(v_a_6958_); -lean_dec(v___x_6955_); -v___x_6960_ = lean_box(0); -v_isShared_6961_ = v_isSharedCheck_6965_; -goto v_resetjp_6959_; +lean_inc(v_a_7175_); +lean_dec(v___x_7172_); +v___x_7177_ = lean_box(0); +v_isShared_7178_ = v_isSharedCheck_7182_; +goto v_resetjp_7176_; } -v_resetjp_6959_: +v_resetjp_7176_: { -lean_object* v___x_6963_; -if (v_isShared_6961_ == 0) +lean_object* v___x_7180_; +if (v_isShared_7178_ == 0) { -v___x_6963_ = v___x_6960_; -goto v_reusejp_6962_; +v___x_7180_ = v___x_7177_; +goto v_reusejp_7179_; } else { -lean_object* v_reuseFailAlloc_6964_; -v_reuseFailAlloc_6964_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6964_, 0, v_a_6958_); -v___x_6963_ = v_reuseFailAlloc_6964_; -goto v_reusejp_6962_; +lean_object* v_reuseFailAlloc_7181_; +v_reuseFailAlloc_7181_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7181_, 0, v_a_7175_); +v___x_7180_ = v_reuseFailAlloc_7181_; +goto v_reusejp_7179_; } -v_reusejp_6962_: +v_reusejp_7179_: { -return v___x_6963_; +return v___x_7180_; } } } @@ -23705,424 +24562,634 @@ return v___x_6963_; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(lean_object* v_x_6966_, lean_object* v_x_6967_, lean_object* v_x_6968_, uint8_t v___y_6969_, lean_object* v___y_6970_, lean_object* v___y_6971_, lean_object* v___y_6972_, lean_object* v___y_6973_, lean_object* v___y_6974_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(lean_object* v_x_7183_, lean_object* v_x_7184_, lean_object* v_x_7185_, lean_object* v___y_7186_, lean_object* v___y_7187_, lean_object* v___y_7188_, lean_object* v___y_7189_, lean_object* v___y_7190_, lean_object* v___y_7191_){ _start: { -if (lean_obj_tag(v_x_6966_) == 5) +if (lean_obj_tag(v_x_7183_) == 5) { -lean_object* v_fn_6976_; lean_object* v_arg_6977_; lean_object* v___x_6978_; lean_object* v___x_6979_; lean_object* v___x_6980_; -v_fn_6976_ = lean_ctor_get(v_x_6966_, 0); -lean_inc_ref(v_fn_6976_); -v_arg_6977_ = lean_ctor_get(v_x_6966_, 1); -lean_inc_ref(v_arg_6977_); -lean_dec_ref(v_x_6966_); -v___x_6978_ = lean_array_set(v_x_6967_, v_x_6968_, v_arg_6977_); -v___x_6979_ = lean_unsigned_to_nat(1u); -v___x_6980_ = lean_nat_sub(v_x_6968_, v___x_6979_); -lean_dec(v_x_6968_); -v_x_6966_ = v_fn_6976_; -v_x_6967_ = v___x_6978_; -v_x_6968_ = v___x_6980_; +lean_object* v_fn_7193_; lean_object* v_arg_7194_; lean_object* v___x_7195_; lean_object* v___x_7196_; lean_object* v___x_7197_; +v_fn_7193_ = lean_ctor_get(v_x_7183_, 0); +lean_inc_ref(v_fn_7193_); +v_arg_7194_ = lean_ctor_get(v_x_7183_, 1); +lean_inc_ref(v_arg_7194_); +lean_dec_ref(v_x_7183_); +v___x_7195_ = lean_array_set(v_x_7184_, v_x_7185_, v_arg_7194_); +v___x_7196_ = lean_unsigned_to_nat(1u); +v___x_7197_ = lean_nat_sub(v_x_7185_, v___x_7196_); +lean_dec(v_x_7185_); +v_x_7183_ = v_fn_7193_; +v_x_7184_ = v___x_7195_; +v_x_7185_ = v___x_7197_; goto _start; } else { -lean_object* v___x_6982_; -lean_dec(v_x_6968_); -v___x_6982_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v_x_6966_, v_x_6967_, v___y_6969_, v___y_6970_, v___y_6971_, v___y_6972_, v___y_6973_, v___y_6974_); -return v___x_6982_; +lean_object* v___x_7199_; +lean_dec(v_x_7185_); +v___x_7199_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v_x_7183_, v_x_7184_, v___y_7186_, v___y_7187_, v___y_7188_, v___y_7189_, v___y_7190_, v___y_7191_); +return v___x_7199_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(lean_object* v___x_6983_, lean_object* v_numNonPropFields_6984_, lean_object* v___x_6985_, lean_object* v___x_6986_, uint8_t v___y_6987_, lean_object* v___y_6988_, lean_object* v___y_6989_, lean_object* v___y_6990_, lean_object* v___y_6991_, lean_object* v___y_6992_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(lean_object* v___x_7200_, lean_object* v_numNonPropFields_7201_, lean_object* v___x_7202_, lean_object* v___x_7203_, lean_object* v___y_7204_, lean_object* v___y_7205_, lean_object* v___y_7206_, lean_object* v___y_7207_, lean_object* v___y_7208_, lean_object* v___y_7209_){ _start: { -lean_object* v___x_6994_; -lean_inc(v___y_6992_); -lean_inc_ref(v___y_6991_); -v___x_6994_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v___x_6983_, v_numNonPropFields_6984_, v___y_6988_, v___y_6991_, v___y_6992_); -if (lean_obj_tag(v___x_6994_) == 0) +lean_object* v___x_7211_; +lean_inc(v___y_7209_); +lean_inc_ref(v___y_7208_); +v___x_7211_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___redArg(v___x_7200_, v_numNonPropFields_7201_, v___y_7205_, v___y_7208_, v___y_7209_); +if (lean_obj_tag(v___x_7211_) == 0) { -lean_object* v_a_6995_; lean_object* v_lower_6997_; lean_object* v_upper_6998_; lean_object* v___x_7003_; lean_object* v___x_7004_; uint8_t v___x_7005_; -v_a_6995_ = lean_ctor_get(v___x_6994_, 0); -lean_inc(v_a_6995_); -lean_dec_ref(v___x_6994_); -v___x_7003_ = lean_unsigned_to_nat(0u); -v___x_7004_ = lean_array_get_size(v___x_6985_); -v___x_7005_ = lean_nat_dec_le(v___x_6986_, v___x_7003_); -if (v___x_7005_ == 0) +lean_object* v_a_7212_; lean_object* v_lower_7214_; lean_object* v_upper_7215_; lean_object* v___x_7220_; lean_object* v___x_7221_; uint8_t v___x_7222_; +v_a_7212_ = lean_ctor_get(v___x_7211_, 0); +lean_inc(v_a_7212_); +lean_dec_ref(v___x_7211_); +v___x_7220_ = lean_unsigned_to_nat(0u); +v___x_7221_ = lean_array_get_size(v___x_7202_); +v___x_7222_ = lean_nat_dec_le(v___x_7203_, v___x_7220_); +if (v___x_7222_ == 0) { -v_lower_6997_ = v___x_6986_; -v_upper_6998_ = v___x_7004_; -goto v___jp_6996_; +v_lower_7214_ = v___x_7203_; +v_upper_7215_ = v___x_7221_; +goto v___jp_7213_; } else { -lean_dec(v___x_6986_); -v_lower_6997_ = v___x_7003_; -v_upper_6998_ = v___x_7004_; -goto v___jp_6996_; +lean_dec(v___x_7203_); +v_lower_7214_ = v___x_7220_; +v_upper_7215_ = v___x_7221_; +goto v___jp_7213_; } -v___jp_6996_: +v___jp_7213_: { -lean_object* v___x_6999_; lean_object* v___x_7000_; lean_object* v___x_7001_; lean_object* v___x_7002_; -v___x_6999_ = l_Array_toSubarray___redArg(v___x_6985_, v_lower_6997_, v_upper_6998_); -v___x_7000_ = l_Subarray_copy___redArg(v___x_6999_); -v___x_7001_ = l_Lean_mkAppN(v_a_6995_, v___x_7000_); -lean_dec_ref(v___x_7000_); -v___x_7002_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_7001_, v___y_6987_, v___y_6988_, v___y_6989_, v___y_6990_, v___y_6991_, v___y_6992_); -return v___x_7002_; +lean_object* v___x_7216_; lean_object* v___x_7217_; lean_object* v___x_7218_; lean_object* v___x_7219_; +v___x_7216_ = l_Array_toSubarray___redArg(v___x_7202_, v_lower_7214_, v_upper_7215_); +v___x_7217_ = l_Subarray_copy___redArg(v___x_7216_); +v___x_7218_ = l_Lean_mkAppN(v_a_7212_, v___x_7217_); +lean_dec_ref(v___x_7217_); +v___x_7219_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___x_7218_, v___y_7204_, v___y_7205_, v___y_7206_, v___y_7207_, v___y_7208_, v___y_7209_); +return v___x_7219_; } } else { -lean_object* v_a_7006_; lean_object* v___x_7008_; uint8_t v_isShared_7009_; uint8_t v_isSharedCheck_7013_; -lean_dec(v___y_6992_); -lean_dec_ref(v___y_6991_); -lean_dec(v___y_6990_); -lean_dec_ref(v___y_6989_); -lean_dec(v___y_6988_); -lean_dec(v___x_6986_); -lean_dec_ref(v___x_6985_); -v_a_7006_ = lean_ctor_get(v___x_6994_, 0); -v_isSharedCheck_7013_ = !lean_is_exclusive(v___x_6994_); -if (v_isSharedCheck_7013_ == 0) +lean_object* v_a_7223_; lean_object* v___x_7225_; uint8_t v_isShared_7226_; uint8_t v_isSharedCheck_7230_; +lean_dec(v___y_7209_); +lean_dec_ref(v___y_7208_); +lean_dec(v___y_7207_); +lean_dec_ref(v___y_7206_); +lean_dec(v___y_7205_); +lean_dec_ref(v___y_7204_); +lean_dec(v___x_7203_); +lean_dec_ref(v___x_7202_); +v_a_7223_ = lean_ctor_get(v___x_7211_, 0); +v_isSharedCheck_7230_ = !lean_is_exclusive(v___x_7211_); +if (v_isSharedCheck_7230_ == 0) { -v___x_7008_ = v___x_6994_; -v_isShared_7009_ = v_isSharedCheck_7013_; -goto v_resetjp_7007_; +v___x_7225_ = v___x_7211_; +v_isShared_7226_ = v_isSharedCheck_7230_; +goto v_resetjp_7224_; } else { -lean_inc(v_a_7006_); -lean_dec(v___x_6994_); -v___x_7008_ = lean_box(0); -v_isShared_7009_ = v_isSharedCheck_7013_; -goto v_resetjp_7007_; +lean_inc(v_a_7223_); +lean_dec(v___x_7211_); +v___x_7225_ = lean_box(0); +v_isShared_7226_ = v_isSharedCheck_7230_; +goto v_resetjp_7224_; } -v_resetjp_7007_: +v_resetjp_7224_: { -lean_object* v___x_7011_; -if (v_isShared_7009_ == 0) +lean_object* v___x_7228_; +if (v_isShared_7226_ == 0) { -v___x_7011_ = v___x_7008_; -goto v_reusejp_7010_; +v___x_7228_ = v___x_7225_; +goto v_reusejp_7227_; } else { -lean_object* v_reuseFailAlloc_7012_; -v_reuseFailAlloc_7012_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7012_, 0, v_a_7006_); -v___x_7011_ = v_reuseFailAlloc_7012_; -goto v_reusejp_7010_; +lean_object* v_reuseFailAlloc_7229_; +v_reuseFailAlloc_7229_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7229_, 0, v_a_7223_); +v___x_7228_ = v_reuseFailAlloc_7229_; +goto v_reusejp_7227_; } -v_reusejp_7010_: +v_reusejp_7227_: { -return v___x_7011_; +return v___x_7228_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed(lean_object* v___x_7014_, lean_object* v_numNonPropFields_7015_, lean_object* v___x_7016_, lean_object* v___x_7017_, lean_object* v___y_7018_, lean_object* v___y_7019_, lean_object* v___y_7020_, lean_object* v___y_7021_, lean_object* v___y_7022_, lean_object* v___y_7023_, lean_object* v___y_7024_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed(lean_object* v___x_7231_, lean_object* v_numNonPropFields_7232_, lean_object* v___x_7233_, lean_object* v___x_7234_, lean_object* v___y_7235_, lean_object* v___y_7236_, lean_object* v___y_7237_, lean_object* v___y_7238_, lean_object* v___y_7239_, lean_object* v___y_7240_, lean_object* v___y_7241_){ _start: { -uint8_t v___y_167888__boxed_7025_; lean_object* v_res_7026_; -v___y_167888__boxed_7025_ = lean_unbox(v___y_7018_); -v_res_7026_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(v___x_7014_, v_numNonPropFields_7015_, v___x_7016_, v___x_7017_, v___y_167888__boxed_7025_, v___y_7019_, v___y_7020_, v___y_7021_, v___y_7022_, v___y_7023_); -return v_res_7026_; +lean_object* v_res_7242_; +v_res_7242_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0(v___x_7231_, v_numNonPropFields_7232_, v___x_7233_, v___x_7234_, v___y_7235_, v___y_7236_, v___y_7237_, v___y_7238_, v___y_7239_, v___y_7240_); +return v_res_7242_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(lean_object* v___x_7027_, lean_object* v___x_7028_, lean_object* v___x_7029_, lean_object* v___x_7030_, lean_object* v_e_7031_, lean_object* v_numNonPropFields_7032_, uint8_t v___y_7033_, lean_object* v___y_7034_, lean_object* v___y_7035_, lean_object* v___y_7036_, lean_object* v___y_7037_, lean_object* v___y_7038_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(lean_object* v___x_7243_, lean_object* v___x_7244_, lean_object* v___x_7245_, lean_object* v___x_7246_, lean_object* v_e_7247_, lean_object* v_numNonPropFields_7248_, lean_object* v___y_7249_, lean_object* v___y_7250_, lean_object* v___y_7251_, lean_object* v___y_7252_, lean_object* v___y_7253_, lean_object* v___y_7254_){ _start: { -lean_object* v___x_7040_; lean_object* v___x_7041_; lean_object* v___f_7042_; lean_object* v___x_7043_; -v___x_7040_ = lean_nat_add(v___x_7027_, v___x_7028_); -v___x_7041_ = lean_array_get(v___x_7029_, v___x_7030_, v___x_7027_); -lean_inc(v___x_7040_); -v___f_7042_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed), 11, 4); -lean_closure_set(v___f_7042_, 0, v___x_7041_); -lean_closure_set(v___f_7042_, 1, v_numNonPropFields_7032_); -lean_closure_set(v___f_7042_, 2, v___x_7030_); -lean_closure_set(v___f_7042_, 3, v___x_7040_); -v___x_7043_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7031_, v___x_7040_, v___f_7042_, v___y_7033_, v___y_7034_, v___y_7035_, v___y_7036_, v___y_7037_, v___y_7038_); -lean_dec(v___x_7040_); -return v___x_7043_; +lean_object* v___x_7256_; lean_object* v___x_7257_; lean_object* v___f_7258_; lean_object* v___x_7259_; +v___x_7256_ = lean_nat_add(v___x_7243_, v___x_7244_); +v___x_7257_ = lean_array_get(v___x_7245_, v___x_7246_, v___x_7243_); +lean_inc(v___x_7256_); +v___f_7258_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__0___boxed), 11, 4); +lean_closure_set(v___f_7258_, 0, v___x_7257_); +lean_closure_set(v___f_7258_, 1, v_numNonPropFields_7248_); +lean_closure_set(v___f_7258_, 2, v___x_7246_); +lean_closure_set(v___f_7258_, 3, v___x_7256_); +v___x_7259_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7247_, v___x_7256_, v___f_7258_, v___y_7249_, v___y_7250_, v___y_7251_, v___y_7252_, v___y_7253_, v___y_7254_); +lean_dec(v___x_7256_); +return v___x_7259_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1___boxed(lean_object* v___x_7044_, lean_object* v___x_7045_, lean_object* v___x_7046_, lean_object* v___x_7047_, lean_object* v_e_7048_, lean_object* v_numNonPropFields_7049_, lean_object* v___y_7050_, lean_object* v___y_7051_, lean_object* v___y_7052_, lean_object* v___y_7053_, lean_object* v___y_7054_, lean_object* v___y_7055_, lean_object* v___y_7056_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1___boxed(lean_object* v___x_7260_, lean_object* v___x_7261_, lean_object* v___x_7262_, lean_object* v___x_7263_, lean_object* v_e_7264_, lean_object* v_numNonPropFields_7265_, lean_object* v___y_7266_, lean_object* v___y_7267_, lean_object* v___y_7268_, lean_object* v___y_7269_, lean_object* v___y_7270_, lean_object* v___y_7271_, lean_object* v___y_7272_){ _start: { -uint8_t v___y_167745__boxed_7057_; lean_object* v_res_7058_; -v___y_167745__boxed_7057_ = lean_unbox(v___y_7050_); -v_res_7058_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(v___x_7044_, v___x_7045_, v___x_7046_, v___x_7047_, v_e_7048_, v_numNonPropFields_7049_, v___y_167745__boxed_7057_, v___y_7051_, v___y_7052_, v___y_7053_, v___y_7054_, v___y_7055_); -lean_dec(v___x_7045_); -lean_dec(v___x_7044_); -return v_res_7058_; +lean_object* v_res_7273_; +v_res_7273_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1(v___x_7260_, v___x_7261_, v___x_7262_, v___x_7263_, v_e_7264_, v_numNonPropFields_7265_, v___y_7266_, v___y_7267_, v___y_7268_, v___y_7269_, v___y_7270_, v___y_7271_); +lean_dec(v___x_7261_); +lean_dec(v___x_7260_); +return v_res_7273_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1(void){ _start: { -lean_object* v___x_7060_; lean_object* v___x_7061_; lean_object* v___x_7062_; lean_object* v___x_7063_; lean_object* v___x_7064_; lean_object* v___x_7065_; -v___x_7060_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_7061_ = lean_unsigned_to_nat(42u); -v___x_7062_ = lean_unsigned_to_nat(701u); -v___x_7063_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__0)); -v___x_7064_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_7065_ = l_mkPanicMessageWithDecl(v___x_7064_, v___x_7063_, v___x_7062_, v___x_7061_, v___x_7060_); -return v___x_7065_; +lean_object* v___x_7275_; lean_object* v___x_7276_; lean_object* v___x_7277_; lean_object* v___x_7278_; lean_object* v___x_7279_; lean_object* v___x_7280_; +v___x_7275_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_7276_ = lean_unsigned_to_nat(42u); +v___x_7277_ = lean_unsigned_to_nat(740u); +v___x_7278_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__0)); +v___x_7279_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_7280_ = l_mkPanicMessageWithDecl(v___x_7279_, v___x_7278_, v___x_7277_, v___x_7276_, v___x_7275_); +return v___x_7280_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object* v_e_7066_, uint8_t v_a_7067_, lean_object* v_a_7068_, lean_object* v_a_7069_, lean_object* v_a_7070_, lean_object* v_a_7071_, lean_object* v_a_7072_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object* v_e_7281_, lean_object* v_a_7282_, lean_object* v_a_7283_, lean_object* v_a_7284_, lean_object* v_a_7285_, lean_object* v_a_7286_, lean_object* v_a_7287_){ _start: { -lean_object* v___x_7074_; -v___x_7074_ = l_Lean_Expr_getAppFn(v_e_7066_); -if (lean_obj_tag(v___x_7074_) == 4) +lean_object* v___x_7289_; +v___x_7289_ = l_Lean_Expr_getAppFn(v_e_7281_); +if (lean_obj_tag(v___x_7289_) == 4) { -lean_object* v_declName_7075_; lean_object* v___x_7076_; lean_object* v_env_7077_; lean_object* v___x_7078_; lean_object* v___x_7079_; lean_object* v___x_7080_; lean_object* v_dummy_7081_; lean_object* v_nargs_7082_; lean_object* v___x_7083_; lean_object* v___x_7084_; lean_object* v___x_7085_; lean_object* v___x_7086_; lean_object* v___f_7087_; lean_object* v___y_7088_; lean_object* v___x_7089_; -v_declName_7075_ = lean_ctor_get(v___x_7074_, 0); -lean_inc(v_declName_7075_); -lean_dec_ref(v___x_7074_); -v___x_7076_ = lean_st_ref_get(v_a_7072_); -v_env_7077_ = lean_ctor_get(v___x_7076_, 0); -lean_inc_ref(v_env_7077_); -lean_dec(v___x_7076_); -v___x_7078_ = l_Lean_instInhabitedExpr; -lean_inc(v_declName_7075_); -v___x_7079_ = l_Lean_getNoConfusionInfo(v_env_7077_, v_declName_7075_); -v___x_7080_ = l_Lean_NoConfusionInfo_arity(v___x_7079_); -v_dummy_7081_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7082_ = l_Lean_Expr_getAppNumArgs(v_e_7066_); -lean_inc(v_nargs_7082_); -v___x_7083_ = lean_mk_array(v_nargs_7082_, v_dummy_7081_); -v___x_7084_ = lean_unsigned_to_nat(1u); -v___x_7085_ = lean_nat_sub(v_nargs_7082_, v___x_7084_); -lean_dec(v_nargs_7082_); -lean_inc_ref(v_e_7066_); -v___x_7086_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7066_, v___x_7083_, v___x_7085_); -lean_inc_ref(v_e_7066_); -lean_inc_ref(v___x_7086_); -lean_inc(v___x_7080_); -v___f_7087_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1___boxed), 13, 5); -lean_closure_set(v___f_7087_, 0, v___x_7080_); -lean_closure_set(v___f_7087_, 1, v___x_7084_); -lean_closure_set(v___f_7087_, 2, v___x_7078_); -lean_closure_set(v___f_7087_, 3, v___x_7086_); -lean_closure_set(v___f_7087_, 4, v_e_7066_); -lean_inc_ref(v_e_7066_); -v___y_7088_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___boxed), 13, 6); -lean_closure_set(v___y_7088_, 0, v___x_7079_); -lean_closure_set(v___y_7088_, 1, v_declName_7075_); -lean_closure_set(v___y_7088_, 2, v_e_7066_); -lean_closure_set(v___y_7088_, 3, v___f_7087_); -lean_closure_set(v___y_7088_, 4, v___x_7078_); -lean_closure_set(v___y_7088_, 5, v___x_7086_); -v___x_7089_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7066_, v___x_7080_, v___y_7088_, v_a_7067_, v_a_7068_, v_a_7069_, v_a_7070_, v_a_7071_, v_a_7072_); -lean_dec(v___x_7080_); -return v___x_7089_; +lean_object* v_declName_7290_; lean_object* v___x_7291_; lean_object* v_env_7292_; uint8_t v_ignoreNoncomputable_7293_; lean_object* v___x_7295_; uint8_t v_isShared_7296_; uint8_t v_isSharedCheck_7313_; +v_declName_7290_ = lean_ctor_get(v___x_7289_, 0); +lean_inc(v_declName_7290_); +lean_dec_ref(v___x_7289_); +v___x_7291_ = lean_st_ref_get(v_a_7287_); +v_env_7292_ = lean_ctor_get(v___x_7291_, 0); +lean_inc_ref(v_env_7292_); +lean_dec(v___x_7291_); +v_ignoreNoncomputable_7293_ = lean_ctor_get_uint8(v_a_7282_, sizeof(void*)*1); +v_isSharedCheck_7313_ = !lean_is_exclusive(v_a_7282_); +if (v_isSharedCheck_7313_ == 0) +{ +lean_object* v_unused_7314_; +v_unused_7314_ = lean_ctor_get(v_a_7282_, 0); +lean_dec(v_unused_7314_); +v___x_7295_ = v_a_7282_; +v_isShared_7296_ = v_isSharedCheck_7313_; +goto v_resetjp_7294_; } else { -lean_object* v___x_7090_; lean_object* v___x_7091_; -lean_dec_ref(v___x_7074_); -lean_dec_ref(v_e_7066_); -v___x_7090_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1); -v___x_7091_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7090_, v_a_7067_, v_a_7068_, v_a_7069_, v_a_7070_, v_a_7071_, v_a_7072_); -return v___x_7091_; +lean_dec(v_a_7282_); +v___x_7295_ = lean_box(0); +v_isShared_7296_ = v_isSharedCheck_7313_; +goto v_resetjp_7294_; } -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(lean_object* v_e_7093_, uint8_t v_a_7094_, lean_object* v_a_7095_, lean_object* v_a_7096_, lean_object* v_a_7097_, lean_object* v_a_7098_, lean_object* v_a_7099_){ -_start: +v_resetjp_7294_: { -lean_object* v___f_7101_; lean_object* v___f_7102_; lean_object* v_arity_7103_; lean_object* v___x_7104_; -v___f_7101_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0)); -lean_inc_ref(v_e_7093_); -v___f_7102_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed), 9, 2); -lean_closure_set(v___f_7102_, 0, v_e_7093_); -lean_closure_set(v___f_7102_, 1, v___f_7101_); -v_arity_7103_ = lean_unsigned_to_nat(1u); -v___x_7104_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7093_, v_arity_7103_, v___f_7102_, v_a_7094_, v_a_7095_, v_a_7096_, v_a_7097_, v_a_7098_, v_a_7099_); -return v___x_7104_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object* v_e_7105_, uint8_t v_a_7106_, lean_object* v_a_7107_, lean_object* v_a_7108_, lean_object* v_a_7109_, lean_object* v_a_7110_, lean_object* v_a_7111_){ -_start: +lean_object* v_nargs_7297_; lean_object* v___x_7298_; lean_object* v___x_7299_; lean_object* v___x_7300_; lean_object* v_dummy_7301_; lean_object* v___x_7302_; lean_object* v___x_7303_; lean_object* v___x_7304_; lean_object* v___x_7305_; lean_object* v___f_7306_; lean_object* v___y_7307_; lean_object* v___x_7308_; lean_object* v___x_7310_; +v_nargs_7297_ = l_Lean_Expr_getAppNumArgs(v_e_7281_); +v___x_7298_ = l_Lean_instInhabitedExpr; +lean_inc(v_declName_7290_); +v___x_7299_ = l_Lean_getNoConfusionInfo(v_env_7292_, v_declName_7290_); +v___x_7300_ = l_Lean_NoConfusionInfo_arity(v___x_7299_); +v_dummy_7301_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +lean_inc(v_nargs_7297_); +v___x_7302_ = lean_mk_array(v_nargs_7297_, v_dummy_7301_); +v___x_7303_ = lean_unsigned_to_nat(1u); +v___x_7304_ = lean_nat_sub(v_nargs_7297_, v___x_7303_); +lean_dec(v_nargs_7297_); +lean_inc_ref(v_e_7281_); +v___x_7305_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7281_, v___x_7302_, v___x_7304_); +lean_inc_ref(v_e_7281_); +lean_inc_ref(v___x_7305_); +lean_inc(v___x_7300_); +v___f_7306_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__1___boxed), 13, 5); +lean_closure_set(v___f_7306_, 0, v___x_7300_); +lean_closure_set(v___f_7306_, 1, v___x_7303_); +lean_closure_set(v___f_7306_, 2, v___x_7298_); +lean_closure_set(v___f_7306_, 3, v___x_7305_); +lean_closure_set(v___f_7306_, 4, v_e_7281_); +lean_inc_ref(v_e_7281_); +v___y_7307_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lam__3___boxed), 13, 6); +lean_closure_set(v___y_7307_, 0, v___x_7299_); +lean_closure_set(v___y_7307_, 1, v_declName_7290_); +lean_closure_set(v___y_7307_, 2, v_e_7281_); +lean_closure_set(v___y_7307_, 3, v___f_7306_); +lean_closure_set(v___y_7307_, 4, v___x_7298_); +lean_closure_set(v___y_7307_, 5, v___x_7305_); +v___x_7308_ = lean_box(0); +if (v_isShared_7296_ == 0) { -lean_object* v___f_7113_; lean_object* v___f_7114_; lean_object* v_arity_7115_; lean_object* v___x_7116_; -v___f_7113_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0)); -lean_inc_ref(v_e_7105_); -v___f_7114_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed), 9, 2); -lean_closure_set(v___f_7114_, 0, v_e_7105_); -lean_closure_set(v___f_7114_, 1, v___f_7113_); -v_arity_7115_ = lean_unsigned_to_nat(2u); -v___x_7116_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7105_, v_arity_7115_, v___f_7114_, v_a_7106_, v_a_7107_, v_a_7108_, v_a_7109_, v_a_7110_, v_a_7111_); -return v___x_7116_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(lean_object* v___y_7117_, lean_object* v_args_7118_, lean_object* v_arity_7119_, uint8_t v___y_7120_, lean_object* v___y_7121_, lean_object* v___y_7122_, lean_object* v___y_7123_, lean_object* v___y_7124_, lean_object* v___y_7125_){ -_start: -{ -lean_object* v___x_7127_; -lean_inc(v___y_7125_); -lean_inc_ref(v___y_7124_); -lean_inc(v___y_7123_); -lean_inc_ref(v___y_7122_); -lean_inc(v___y_7121_); -v___x_7127_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___y_7117_, v___y_7120_, v___y_7121_, v___y_7122_, v___y_7123_, v___y_7124_, v___y_7125_); -if (lean_obj_tag(v___x_7127_) == 0) -{ -lean_object* v_a_7128_; lean_object* v___x_7129_; -v_a_7128_ = lean_ctor_get(v___x_7127_, 0); -lean_inc(v_a_7128_); -lean_dec_ref(v___x_7127_); -v___x_7129_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_7128_, v_args_7118_, v_arity_7119_, v___y_7120_, v___y_7121_, v___y_7122_, v___y_7123_, v___y_7124_, v___y_7125_); -return v___x_7129_; +lean_ctor_set(v___x_7295_, 0, v___x_7308_); +v___x_7310_ = v___x_7295_; +goto v_reusejp_7309_; } else { -lean_dec(v___y_7125_); -lean_dec_ref(v___y_7124_); -lean_dec(v___y_7123_); -lean_dec_ref(v___y_7122_); -lean_dec(v___y_7121_); -lean_dec(v_arity_7119_); -return v___x_7127_; +lean_object* v_reuseFailAlloc_7312_; +v_reuseFailAlloc_7312_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7312_, 0, v___x_7308_); +lean_ctor_set_uint8(v_reuseFailAlloc_7312_, sizeof(void*)*1, v_ignoreNoncomputable_7293_); +v___x_7310_ = v_reuseFailAlloc_7312_; +goto v_reusejp_7309_; +} +v_reusejp_7309_: +{ +lean_object* v___x_7311_; +v___x_7311_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7281_, v___x_7300_, v___y_7307_, v___x_7310_, v_a_7283_, v_a_7284_, v_a_7285_, v_a_7286_, v_a_7287_); +lean_dec(v___x_7300_); +return v___x_7311_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed(lean_object* v___y_7130_, lean_object* v_args_7131_, lean_object* v_arity_7132_, lean_object* v___y_7133_, lean_object* v___y_7134_, lean_object* v___y_7135_, lean_object* v___y_7136_, lean_object* v___y_7137_, lean_object* v___y_7138_, lean_object* v___y_7139_){ +else +{ +lean_object* v___x_7315_; lean_object* v___x_7316_; +lean_dec_ref(v___x_7289_); +lean_dec_ref(v_e_7281_); +v___x_7315_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1); +v___x_7316_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7315_, v_a_7282_, v_a_7283_, v_a_7284_, v_a_7285_, v_a_7286_, v_a_7287_); +return v___x_7316_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(lean_object* v_e_7318_, lean_object* v_a_7319_, lean_object* v_a_7320_, lean_object* v_a_7321_, lean_object* v_a_7322_, lean_object* v_a_7323_, lean_object* v_a_7324_){ _start: { -uint8_t v___y_167757__boxed_7140_; lean_object* v_res_7141_; -v___y_167757__boxed_7140_ = lean_unbox(v___y_7133_); -v_res_7141_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(v___y_7130_, v_args_7131_, v_arity_7132_, v___y_167757__boxed_7140_, v___y_7134_, v___y_7135_, v___y_7136_, v___y_7137_, v___y_7138_); -lean_dec_ref(v_args_7131_); -return v_res_7141_; +uint8_t v_ignoreNoncomputable_7326_; lean_object* v___x_7328_; uint8_t v_isShared_7329_; uint8_t v_isSharedCheck_7338_; +v_ignoreNoncomputable_7326_ = lean_ctor_get_uint8(v_a_7319_, sizeof(void*)*1); +v_isSharedCheck_7338_ = !lean_is_exclusive(v_a_7319_); +if (v_isSharedCheck_7338_ == 0) +{ +lean_object* v_unused_7339_; +v_unused_7339_ = lean_ctor_get(v_a_7319_, 0); +lean_dec(v_unused_7339_); +v___x_7328_ = v_a_7319_; +v_isShared_7329_ = v_isSharedCheck_7338_; +goto v_resetjp_7327_; +} +else +{ +lean_dec(v_a_7319_); +v___x_7328_ = lean_box(0); +v_isShared_7329_ = v_isSharedCheck_7338_; +goto v_resetjp_7327_; +} +v_resetjp_7327_: +{ +lean_object* v___f_7330_; lean_object* v___f_7331_; lean_object* v_arity_7332_; lean_object* v___x_7333_; lean_object* v___x_7335_; +v___f_7330_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0)); +lean_inc_ref(v_e_7318_); +v___f_7331_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed), 9, 2); +lean_closure_set(v___f_7331_, 0, v_e_7318_); +lean_closure_set(v___f_7331_, 1, v___f_7330_); +v_arity_7332_ = lean_unsigned_to_nat(1u); +v___x_7333_ = lean_box(0); +if (v_isShared_7329_ == 0) +{ +lean_ctor_set(v___x_7328_, 0, v___x_7333_); +v___x_7335_ = v___x_7328_; +goto v_reusejp_7334_; +} +else +{ +lean_object* v_reuseFailAlloc_7337_; +v_reuseFailAlloc_7337_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7337_, 0, v___x_7333_); +lean_ctor_set_uint8(v_reuseFailAlloc_7337_, sizeof(void*)*1, v_ignoreNoncomputable_7326_); +v___x_7335_ = v_reuseFailAlloc_7337_; +goto v_reusejp_7334_; +} +v_reusejp_7334_: +{ +lean_object* v___x_7336_; +v___x_7336_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7318_, v_arity_7332_, v___f_7331_, v___x_7335_, v_a_7320_, v_a_7321_, v_a_7322_, v_a_7323_, v_a_7324_); +return v___x_7336_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(lean_object* v_e_7142_, uint8_t v_a_7143_, lean_object* v_a_7144_, lean_object* v_a_7145_, lean_object* v_a_7146_, lean_object* v_a_7147_, lean_object* v_a_7148_){ +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object* v_e_7340_, lean_object* v_a_7341_, lean_object* v_a_7342_, lean_object* v_a_7343_, lean_object* v_a_7344_, lean_object* v_a_7345_, lean_object* v_a_7346_){ _start: { -lean_object* v_arity_7150_; lean_object* v_dummy_7151_; lean_object* v_nargs_7152_; lean_object* v___x_7153_; lean_object* v___x_7154_; lean_object* v___x_7155_; lean_object* v_args_7156_; lean_object* v___y_7158_; uint8_t v___y_7162_; lean_object* v___x_7169_; uint8_t v___x_7170_; -v_arity_7150_ = lean_unsigned_to_nat(7u); -v_dummy_7151_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7152_ = l_Lean_Expr_getAppNumArgs(v_e_7142_); -lean_inc(v_nargs_7152_); -v___x_7153_ = lean_mk_array(v_nargs_7152_, v_dummy_7151_); -v___x_7154_ = lean_unsigned_to_nat(1u); -v___x_7155_ = lean_nat_sub(v_nargs_7152_, v___x_7154_); -lean_dec(v_nargs_7152_); -lean_inc_ref(v_e_7142_); -v_args_7156_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7142_, v___x_7153_, v___x_7155_); -v___x_7169_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__1)); -v___x_7170_ = l_Lean_Expr_isAppOf(v_e_7142_, v___x_7169_); -if (v___x_7170_ == 0) +uint8_t v_ignoreNoncomputable_7348_; lean_object* v___x_7350_; uint8_t v_isShared_7351_; uint8_t v_isSharedCheck_7360_; +v_ignoreNoncomputable_7348_ = lean_ctor_get_uint8(v_a_7341_, sizeof(void*)*1); +v_isSharedCheck_7360_ = !lean_is_exclusive(v_a_7341_); +if (v_isSharedCheck_7360_ == 0) { -lean_object* v___x_7171_; uint8_t v___x_7172_; -v___x_7171_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__2)); -v___x_7172_ = l_Lean_Expr_isAppOf(v_e_7142_, v___x_7171_); -v___y_7162_ = v___x_7172_; -goto v___jp_7161_; +lean_object* v_unused_7361_; +v_unused_7361_ = lean_ctor_get(v_a_7341_, 0); +lean_dec(v_unused_7361_); +v___x_7350_ = v_a_7341_; +v_isShared_7351_ = v_isSharedCheck_7360_; +goto v_resetjp_7349_; } else { -v___y_7162_ = v___x_7170_; -goto v___jp_7161_; +lean_dec(v_a_7341_); +v___x_7350_ = lean_box(0); +v_isShared_7351_ = v_isSharedCheck_7360_; +goto v_resetjp_7349_; } -v___jp_7157_: +v_resetjp_7349_: { -lean_object* v___f_7159_; lean_object* v___x_7160_; -v___f_7159_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed), 10, 3); -lean_closure_set(v___f_7159_, 0, v___y_7158_); -lean_closure_set(v___f_7159_, 1, v_args_7156_); -lean_closure_set(v___f_7159_, 2, v_arity_7150_); -v___x_7160_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7142_, v_arity_7150_, v___f_7159_, v_a_7143_, v_a_7144_, v_a_7145_, v_a_7146_, v_a_7147_, v_a_7148_); -return v___x_7160_; -} -v___jp_7161_: +lean_object* v___f_7352_; lean_object* v___f_7353_; lean_object* v_arity_7354_; lean_object* v___x_7355_; lean_object* v___x_7357_; +v___f_7352_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__0)); +lean_inc_ref(v_e_7340_); +v___f_7353_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___lam__1___boxed), 9, 2); +lean_closure_set(v___f_7353_, 0, v_e_7340_); +lean_closure_set(v___f_7353_, 1, v___f_7352_); +v_arity_7354_ = lean_unsigned_to_nat(2u); +v___x_7355_ = lean_box(0); +if (v_isShared_7351_ == 0) { -if (v___y_7162_ == 0) -{ -lean_object* v___x_7163_; lean_object* v___x_7164_; lean_object* v___x_7165_; -v___x_7163_ = l_Lean_instInhabitedExpr; -v___x_7164_ = lean_unsigned_to_nat(6u); -v___x_7165_ = lean_array_get(v___x_7163_, v_args_7156_, v___x_7164_); -v___y_7158_ = v___x_7165_; -goto v___jp_7157_; +lean_ctor_set(v___x_7350_, 0, v___x_7355_); +v___x_7357_ = v___x_7350_; +goto v_reusejp_7356_; } else { -lean_object* v___x_7166_; lean_object* v___x_7167_; lean_object* v___x_7168_; -v___x_7166_ = l_Lean_instInhabitedExpr; -v___x_7167_ = lean_unsigned_to_nat(3u); -v___x_7168_ = lean_array_get(v___x_7166_, v_args_7156_, v___x_7167_); -v___y_7158_ = v___x_7168_; -goto v___jp_7157_; +lean_object* v_reuseFailAlloc_7359_; +v_reuseFailAlloc_7359_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7359_, 0, v___x_7355_); +lean_ctor_set_uint8(v_reuseFailAlloc_7359_, sizeof(void*)*1, v_ignoreNoncomputable_7348_); +v___x_7357_ = v_reuseFailAlloc_7359_; +goto v_reusejp_7356_; +} +v_reusejp_7356_: +{ +lean_object* v___x_7358_; +v___x_7358_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7340_, v_arity_7354_, v___f_7353_, v___x_7357_, v_a_7342_, v_a_7343_, v_a_7344_, v_a_7345_, v_a_7346_); +return v___x_7358_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object* v_e_7173_, uint8_t v_a_7174_, lean_object* v_a_7175_, lean_object* v_a_7176_, lean_object* v_a_7177_, lean_object* v_a_7178_, lean_object* v_a_7179_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(lean_object* v___y_7362_, lean_object* v_args_7363_, lean_object* v_arity_7364_, lean_object* v___y_7365_, lean_object* v___y_7366_, lean_object* v___y_7367_, lean_object* v___y_7368_, lean_object* v___y_7369_, lean_object* v___y_7370_){ _start: { -lean_object* v_arity_7181_; lean_object* v_dummy_7182_; lean_object* v_nargs_7183_; lean_object* v___x_7184_; lean_object* v___x_7185_; lean_object* v___x_7186_; lean_object* v_args_7187_; lean_object* v___y_7189_; uint8_t v___y_7193_; lean_object* v___x_7200_; uint8_t v___x_7201_; -v_arity_7181_ = lean_unsigned_to_nat(6u); -v_dummy_7182_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7183_ = l_Lean_Expr_getAppNumArgs(v_e_7173_); -lean_inc(v_nargs_7183_); -v___x_7184_ = lean_mk_array(v_nargs_7183_, v_dummy_7182_); -v___x_7185_ = lean_unsigned_to_nat(1u); -v___x_7186_ = lean_nat_sub(v_nargs_7183_, v___x_7185_); -lean_dec(v_nargs_7183_); -lean_inc_ref(v_e_7173_); -v_args_7187_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7173_, v___x_7184_, v___x_7186_); -v___x_7200_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___closed__1)); -v___x_7201_ = l_Lean_Expr_isAppOf(v_e_7173_, v___x_7200_); -if (v___x_7201_ == 0) +lean_object* v___x_7372_; +lean_inc(v___y_7370_); +lean_inc_ref(v___y_7369_); +lean_inc(v___y_7368_); +lean_inc_ref(v___y_7367_); +lean_inc(v___y_7366_); +lean_inc_ref(v___y_7365_); +v___x_7372_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v___y_7362_, v___y_7365_, v___y_7366_, v___y_7367_, v___y_7368_, v___y_7369_, v___y_7370_); +if (lean_obj_tag(v___x_7372_) == 0) { -lean_object* v___x_7202_; uint8_t v___x_7203_; -v___x_7202_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); -v___x_7203_ = l_Lean_Expr_isAppOf(v_e_7173_, v___x_7202_); -v___y_7193_ = v___x_7203_; -goto v___jp_7192_; +lean_object* v_a_7373_; lean_object* v___x_7374_; +v_a_7373_ = lean_ctor_get(v___x_7372_, 0); +lean_inc(v_a_7373_); +lean_dec_ref(v___x_7372_); +v___x_7374_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_7373_, v_args_7363_, v_arity_7364_, v___y_7365_, v___y_7366_, v___y_7367_, v___y_7368_, v___y_7369_, v___y_7370_); +return v___x_7374_; } else { -v___y_7193_ = v___x_7201_; -goto v___jp_7192_; +lean_dec(v___y_7370_); +lean_dec_ref(v___y_7369_); +lean_dec(v___y_7368_); +lean_dec_ref(v___y_7367_); +lean_dec(v___y_7366_); +lean_dec_ref(v___y_7365_); +lean_dec(v_arity_7364_); +return v___x_7372_; } -v___jp_7188_: -{ -lean_object* v___f_7190_; lean_object* v___x_7191_; -v___f_7190_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed), 10, 3); -lean_closure_set(v___f_7190_, 0, v___y_7189_); -lean_closure_set(v___f_7190_, 1, v_args_7187_); -lean_closure_set(v___f_7190_, 2, v_arity_7181_); -v___x_7191_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7173_, v_arity_7181_, v___f_7190_, v_a_7174_, v_a_7175_, v_a_7176_, v_a_7177_, v_a_7178_, v_a_7179_); -return v___x_7191_; } -v___jp_7192_: +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed(lean_object* v___y_7375_, lean_object* v_args_7376_, lean_object* v_arity_7377_, lean_object* v___y_7378_, lean_object* v___y_7379_, lean_object* v___y_7380_, lean_object* v___y_7381_, lean_object* v___y_7382_, lean_object* v___y_7383_, lean_object* v___y_7384_){ +_start: { -if (v___y_7193_ == 0) +lean_object* v_res_7385_; +v_res_7385_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0(v___y_7375_, v_args_7376_, v_arity_7377_, v___y_7378_, v___y_7379_, v___y_7380_, v___y_7381_, v___y_7382_, v___y_7383_); +lean_dec_ref(v_args_7376_); +return v_res_7385_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(lean_object* v_e_7386_, lean_object* v_a_7387_, lean_object* v_a_7388_, lean_object* v_a_7389_, lean_object* v_a_7390_, lean_object* v_a_7391_, lean_object* v_a_7392_){ +_start: { -lean_object* v___x_7194_; lean_object* v___x_7195_; lean_object* v___x_7196_; -v___x_7194_ = l_Lean_instInhabitedExpr; -v___x_7195_ = lean_unsigned_to_nat(5u); -v___x_7196_ = lean_array_get(v___x_7194_, v_args_7187_, v___x_7195_); -v___y_7189_ = v___x_7196_; -goto v___jp_7188_; +lean_object* v_arity_7394_; lean_object* v_dummy_7395_; lean_object* v_nargs_7396_; lean_object* v___x_7397_; lean_object* v___x_7398_; lean_object* v___x_7399_; lean_object* v_args_7400_; lean_object* v___y_7402_; uint8_t v___y_7416_; lean_object* v___x_7423_; uint8_t v___x_7424_; +v_arity_7394_ = lean_unsigned_to_nat(7u); +v_dummy_7395_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_7396_ = l_Lean_Expr_getAppNumArgs(v_e_7386_); +lean_inc(v_nargs_7396_); +v___x_7397_ = lean_mk_array(v_nargs_7396_, v_dummy_7395_); +v___x_7398_ = lean_unsigned_to_nat(1u); +v___x_7399_ = lean_nat_sub(v_nargs_7396_, v___x_7398_); +lean_dec(v_nargs_7396_); +lean_inc_ref(v_e_7386_); +v_args_7400_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7386_, v___x_7397_, v___x_7399_); +v___x_7423_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__1)); +v___x_7424_ = l_Lean_Expr_isAppOf(v_e_7386_, v___x_7423_); +if (v___x_7424_ == 0) +{ +lean_object* v___x_7425_; uint8_t v___x_7426_; +v___x_7425_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__2)); +v___x_7426_ = l_Lean_Expr_isAppOf(v_e_7386_, v___x_7425_); +v___y_7416_ = v___x_7426_; +goto v___jp_7415_; } else { -lean_object* v___x_7197_; lean_object* v___x_7198_; lean_object* v___x_7199_; -v___x_7197_ = l_Lean_instInhabitedExpr; -v___x_7198_ = lean_unsigned_to_nat(3u); -v___x_7199_ = lean_array_get(v___x_7197_, v_args_7187_, v___x_7198_); -v___y_7189_ = v___x_7199_; -goto v___jp_7188_; +v___y_7416_ = v___x_7424_; +goto v___jp_7415_; +} +v___jp_7401_: +{ +uint8_t v_ignoreNoncomputable_7403_; lean_object* v___x_7405_; uint8_t v_isShared_7406_; uint8_t v_isSharedCheck_7413_; +v_ignoreNoncomputable_7403_ = lean_ctor_get_uint8(v_a_7387_, sizeof(void*)*1); +v_isSharedCheck_7413_ = !lean_is_exclusive(v_a_7387_); +if (v_isSharedCheck_7413_ == 0) +{ +lean_object* v_unused_7414_; +v_unused_7414_ = lean_ctor_get(v_a_7387_, 0); +lean_dec(v_unused_7414_); +v___x_7405_ = v_a_7387_; +v_isShared_7406_ = v_isSharedCheck_7413_; +goto v_resetjp_7404_; +} +else +{ +lean_dec(v_a_7387_); +v___x_7405_ = lean_box(0); +v_isShared_7406_ = v_isSharedCheck_7413_; +goto v_resetjp_7404_; +} +v_resetjp_7404_: +{ +lean_object* v___f_7407_; lean_object* v___x_7408_; lean_object* v___x_7410_; +v___f_7407_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed), 10, 3); +lean_closure_set(v___f_7407_, 0, v___y_7402_); +lean_closure_set(v___f_7407_, 1, v_args_7400_); +lean_closure_set(v___f_7407_, 2, v_arity_7394_); +v___x_7408_ = lean_box(0); +if (v_isShared_7406_ == 0) +{ +lean_ctor_set(v___x_7405_, 0, v___x_7408_); +v___x_7410_ = v___x_7405_; +goto v_reusejp_7409_; +} +else +{ +lean_object* v_reuseFailAlloc_7412_; +v_reuseFailAlloc_7412_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7412_, 0, v___x_7408_); +lean_ctor_set_uint8(v_reuseFailAlloc_7412_, sizeof(void*)*1, v_ignoreNoncomputable_7403_); +v___x_7410_ = v_reuseFailAlloc_7412_; +goto v_reusejp_7409_; +} +v_reusejp_7409_: +{ +lean_object* v___x_7411_; +v___x_7411_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7386_, v_arity_7394_, v___f_7407_, v___x_7410_, v_a_7388_, v_a_7389_, v_a_7390_, v_a_7391_, v_a_7392_); +return v___x_7411_; +} +} +} +v___jp_7415_: +{ +if (v___y_7416_ == 0) +{ +lean_object* v___x_7417_; lean_object* v___x_7418_; lean_object* v___x_7419_; +v___x_7417_ = l_Lean_instInhabitedExpr; +v___x_7418_ = lean_unsigned_to_nat(6u); +v___x_7419_ = lean_array_get(v___x_7417_, v_args_7400_, v___x_7418_); +v___y_7402_ = v___x_7419_; +goto v___jp_7401_; +} +else +{ +lean_object* v___x_7420_; lean_object* v___x_7421_; lean_object* v___x_7422_; +v___x_7420_ = l_Lean_instInhabitedExpr; +v___x_7421_ = lean_unsigned_to_nat(3u); +v___x_7422_ = lean_array_get(v___x_7420_, v_args_7400_, v___x_7421_); +v___y_7402_ = v___x_7422_; +goto v___jp_7401_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object* v_e_7427_, lean_object* v_a_7428_, lean_object* v_a_7429_, lean_object* v_a_7430_, lean_object* v_a_7431_, lean_object* v_a_7432_, lean_object* v_a_7433_){ +_start: +{ +lean_object* v_arity_7435_; lean_object* v_dummy_7436_; lean_object* v_nargs_7437_; lean_object* v___x_7438_; lean_object* v___x_7439_; lean_object* v___x_7440_; lean_object* v_args_7441_; lean_object* v___y_7443_; uint8_t v___y_7457_; lean_object* v___x_7464_; uint8_t v___x_7465_; +v_arity_7435_ = lean_unsigned_to_nat(6u); +v_dummy_7436_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_7437_ = l_Lean_Expr_getAppNumArgs(v_e_7427_); +lean_inc(v_nargs_7437_); +v___x_7438_ = lean_mk_array(v_nargs_7437_, v_dummy_7436_); +v___x_7439_ = lean_unsigned_to_nat(1u); +v___x_7440_ = lean_nat_sub(v_nargs_7437_, v___x_7439_); +lean_dec(v_nargs_7437_); +lean_inc_ref(v_e_7427_); +v_args_7441_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7427_, v___x_7438_, v___x_7440_); +v___x_7464_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___closed__1)); +v___x_7465_ = l_Lean_Expr_isAppOf(v_e_7427_, v___x_7464_); +if (v___x_7465_ == 0) +{ +lean_object* v___x_7466_; uint8_t v___x_7467_; +v___x_7466_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); +v___x_7467_ = l_Lean_Expr_isAppOf(v_e_7427_, v___x_7466_); +v___y_7457_ = v___x_7467_; +goto v___jp_7456_; +} +else +{ +v___y_7457_ = v___x_7465_; +goto v___jp_7456_; +} +v___jp_7442_: +{ +uint8_t v_ignoreNoncomputable_7444_; lean_object* v___x_7446_; uint8_t v_isShared_7447_; uint8_t v_isSharedCheck_7454_; +v_ignoreNoncomputable_7444_ = lean_ctor_get_uint8(v_a_7428_, sizeof(void*)*1); +v_isSharedCheck_7454_ = !lean_is_exclusive(v_a_7428_); +if (v_isSharedCheck_7454_ == 0) +{ +lean_object* v_unused_7455_; +v_unused_7455_ = lean_ctor_get(v_a_7428_, 0); +lean_dec(v_unused_7455_); +v___x_7446_ = v_a_7428_; +v_isShared_7447_ = v_isSharedCheck_7454_; +goto v_resetjp_7445_; +} +else +{ +lean_dec(v_a_7428_); +v___x_7446_ = lean_box(0); +v_isShared_7447_ = v_isSharedCheck_7454_; +goto v_resetjp_7445_; +} +v_resetjp_7445_: +{ +lean_object* v___f_7448_; lean_object* v___x_7449_; lean_object* v___x_7451_; +v___f_7448_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___lam__0___boxed), 10, 3); +lean_closure_set(v___f_7448_, 0, v___y_7443_); +lean_closure_set(v___f_7448_, 1, v_args_7441_); +lean_closure_set(v___f_7448_, 2, v_arity_7435_); +v___x_7449_ = lean_box(0); +if (v_isShared_7447_ == 0) +{ +lean_ctor_set(v___x_7446_, 0, v___x_7449_); +v___x_7451_ = v___x_7446_; +goto v_reusejp_7450_; +} +else +{ +lean_object* v_reuseFailAlloc_7453_; +v_reuseFailAlloc_7453_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7453_, 0, v___x_7449_); +lean_ctor_set_uint8(v_reuseFailAlloc_7453_, sizeof(void*)*1, v_ignoreNoncomputable_7444_); +v___x_7451_ = v_reuseFailAlloc_7453_; +goto v_reusejp_7450_; +} +v_reusejp_7450_: +{ +lean_object* v___x_7452_; +v___x_7452_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7427_, v_arity_7435_, v___f_7448_, v___x_7451_, v_a_7429_, v_a_7430_, v_a_7431_, v_a_7432_, v_a_7433_); +return v___x_7452_; +} +} +} +v___jp_7456_: +{ +if (v___y_7457_ == 0) +{ +lean_object* v___x_7458_; lean_object* v___x_7459_; lean_object* v___x_7460_; +v___x_7458_ = l_Lean_instInhabitedExpr; +v___x_7459_ = lean_unsigned_to_nat(5u); +v___x_7460_ = lean_array_get(v___x_7458_, v_args_7441_, v___x_7459_); +v___y_7443_ = v___x_7460_; +goto v___jp_7442_; +} +else +{ +lean_object* v___x_7461_; lean_object* v___x_7462_; lean_object* v___x_7463_; +v___x_7461_ = l_Lean_instInhabitedExpr; +v___x_7462_ = lean_unsigned_to_nat(3u); +v___x_7463_ = lean_array_get(v___x_7461_, v_args_7441_, v___x_7462_); +v___y_7443_ = v___x_7463_; +goto v___jp_7442_; } } } @@ -24130,327 +25197,333 @@ goto v___jp_7188_; static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1(void){ _start: { -lean_object* v___x_7205_; lean_object* v___x_7206_; lean_object* v___x_7207_; lean_object* v___x_7208_; lean_object* v___x_7209_; lean_object* v___x_7210_; -v___x_7205_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_7206_ = lean_unsigned_to_nat(42u); -v___x_7207_ = lean_unsigned_to_nat(655u); -v___x_7208_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0)); -v___x_7209_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_7210_ = l_mkPanicMessageWithDecl(v___x_7209_, v___x_7208_, v___x_7207_, v___x_7206_, v___x_7205_); -return v___x_7210_; +lean_object* v___x_7469_; lean_object* v___x_7470_; lean_object* v___x_7471_; lean_object* v___x_7472_; lean_object* v___x_7473_; lean_object* v___x_7474_; +v___x_7469_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_7470_ = lean_unsigned_to_nat(42u); +v___x_7471_ = lean_unsigned_to_nat(689u); +v___x_7472_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0)); +v___x_7473_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_7474_ = l_mkPanicMessageWithDecl(v___x_7473_, v___x_7472_, v___x_7471_, v___x_7470_, v___x_7469_); +return v___x_7474_; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4(void){ _start: { -lean_object* v___x_7215_; lean_object* v___x_7216_; lean_object* v___x_7217_; lean_object* v___x_7218_; lean_object* v___x_7219_; lean_object* v___x_7220_; -v___x_7215_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_7216_ = lean_unsigned_to_nat(19u); -v___x_7217_ = lean_unsigned_to_nat(659u); -v___x_7218_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0)); -v___x_7219_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_7220_ = l_mkPanicMessageWithDecl(v___x_7219_, v___x_7218_, v___x_7217_, v___x_7216_, v___x_7215_); -return v___x_7220_; +lean_object* v___x_7479_; lean_object* v___x_7480_; lean_object* v___x_7481_; lean_object* v___x_7482_; lean_object* v___x_7483_; lean_object* v___x_7484_; +v___x_7479_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_7480_ = lean_unsigned_to_nat(19u); +v___x_7481_ = lean_unsigned_to_nat(693u); +v___x_7482_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__0)); +v___x_7483_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_7484_ = l_mkPanicMessageWithDecl(v___x_7483_, v___x_7482_, v___x_7481_, v___x_7480_, v___x_7479_); +return v___x_7484_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(lean_object* v___x_7221_, lean_object* v___x_7222_, lean_object* v_args_7223_, lean_object* v___x_7224_, lean_object* v_e_7225_, lean_object* v_arity_7226_, uint8_t v___y_7227_, lean_object* v___y_7228_, lean_object* v___y_7229_, lean_object* v___y_7230_, lean_object* v___y_7231_, lean_object* v___y_7232_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(lean_object* v___x_7485_, lean_object* v___x_7486_, lean_object* v_args_7487_, lean_object* v___x_7488_, lean_object* v_e_7489_, lean_object* v_arity_7490_, lean_object* v___y_7491_, lean_object* v___y_7492_, lean_object* v___y_7493_, lean_object* v___y_7494_, lean_object* v___y_7495_, lean_object* v___y_7496_){ _start: { -lean_object* v___x_7234_; -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -lean_inc(v___y_7228_); -v___x_7234_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7221_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7234_) == 0) +lean_object* v___x_7498_; +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +lean_inc(v___y_7492_); +lean_inc_ref(v___y_7491_); +v___x_7498_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7485_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7498_) == 0) { -lean_object* v_a_7235_; lean_object* v___x_7236_; lean_object* v___x_7237_; -v_a_7235_ = lean_ctor_get(v___x_7234_, 0); -lean_inc(v_a_7235_); -lean_dec_ref(v___x_7234_); -lean_inc_ref(v___x_7222_); -v___x_7236_ = lean_array_get_borrowed(v___x_7222_, v_args_7223_, v___x_7224_); -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -lean_inc(v___y_7228_); -lean_inc(v___x_7236_); -v___x_7237_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7236_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7237_) == 0) +lean_object* v_a_7499_; lean_object* v___x_7500_; lean_object* v___x_7501_; +v_a_7499_ = lean_ctor_get(v___x_7498_, 0); +lean_inc(v_a_7499_); +lean_dec_ref(v___x_7498_); +lean_inc_ref(v___x_7486_); +v___x_7500_ = lean_array_get_borrowed(v___x_7486_, v_args_7487_, v___x_7488_); +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +lean_inc(v___y_7492_); +lean_inc_ref(v___y_7491_); +lean_inc(v___x_7500_); +v___x_7501_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7500_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7501_) == 0) { -lean_object* v_a_7238_; lean_object* v___x_7239_; lean_object* v___x_7240_; lean_object* v___x_7241_; -v_a_7238_ = lean_ctor_get(v___x_7237_, 0); -lean_inc(v_a_7238_); -lean_dec_ref(v___x_7237_); -v___x_7239_ = lean_unsigned_to_nat(3u); -lean_inc_ref(v___x_7222_); -v___x_7240_ = lean_array_get_borrowed(v___x_7222_, v_args_7223_, v___x_7239_); -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -lean_inc(v___y_7228_); -lean_inc(v___x_7240_); -v___x_7241_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7240_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7241_) == 0) +lean_object* v_a_7502_; lean_object* v___x_7503_; lean_object* v___x_7504_; lean_object* v___x_7505_; +v_a_7502_ = lean_ctor_get(v___x_7501_, 0); +lean_inc(v_a_7502_); +lean_dec_ref(v___x_7501_); +v___x_7503_ = lean_unsigned_to_nat(3u); +lean_inc_ref(v___x_7486_); +v___x_7504_ = lean_array_get_borrowed(v___x_7486_, v_args_7487_, v___x_7503_); +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +lean_inc(v___y_7492_); +lean_inc_ref(v___y_7491_); +lean_inc(v___x_7504_); +v___x_7505_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7504_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7505_) == 0) { -lean_object* v_a_7242_; lean_object* v___x_7243_; lean_object* v___x_7244_; lean_object* v___x_7245_; -v_a_7242_ = lean_ctor_get(v___x_7241_, 0); -lean_inc(v_a_7242_); -lean_dec_ref(v___x_7241_); -v___x_7243_ = lean_unsigned_to_nat(5u); -v___x_7244_ = lean_array_get_borrowed(v___x_7222_, v_args_7223_, v___x_7243_); -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -lean_inc(v___y_7228_); -lean_inc(v___x_7244_); -v___x_7245_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7244_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7245_) == 0) +lean_object* v_a_7506_; lean_object* v___x_7507_; lean_object* v___x_7508_; lean_object* v___x_7509_; +v_a_7506_ = lean_ctor_get(v___x_7505_, 0); +lean_inc(v_a_7506_); +lean_dec_ref(v___x_7505_); +v___x_7507_ = lean_unsigned_to_nat(5u); +v___x_7508_ = lean_array_get_borrowed(v___x_7486_, v_args_7487_, v___x_7507_); +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +lean_inc(v___y_7492_); +lean_inc_ref(v___y_7491_); +lean_inc(v___x_7508_); +v___x_7509_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v___x_7508_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7509_) == 0) { -lean_object* v_a_7246_; uint8_t v___y_7248_; lean_object* v___y_7249_; lean_object* v___y_7250_; lean_object* v___y_7251_; lean_object* v___y_7252_; lean_object* v___y_7253_; lean_object* v___x_7256_; -v_a_7246_ = lean_ctor_get(v___x_7245_, 0); -lean_inc(v_a_7246_); -lean_dec_ref(v___x_7245_); -v___x_7256_ = l_Lean_Expr_getAppFn(v_e_7225_); -if (lean_obj_tag(v___x_7256_) == 4) +lean_object* v_a_7510_; lean_object* v___y_7512_; lean_object* v___y_7513_; lean_object* v___y_7514_; lean_object* v___y_7515_; lean_object* v___y_7516_; lean_object* v___y_7517_; lean_object* v___x_7520_; +v_a_7510_ = lean_ctor_get(v___x_7509_, 0); +lean_inc(v_a_7510_); +lean_dec_ref(v___x_7509_); +v___x_7520_ = l_Lean_Expr_getAppFn(v_e_7489_); +if (lean_obj_tag(v___x_7520_) == 4) { -lean_object* v_us_7257_; -v_us_7257_ = lean_ctor_get(v___x_7256_, 1); -lean_inc(v_us_7257_); -lean_dec_ref(v___x_7256_); -if (lean_obj_tag(v_us_7257_) == 1) +lean_object* v_us_7521_; +v_us_7521_ = lean_ctor_get(v___x_7520_, 1); +lean_inc(v_us_7521_); +lean_dec_ref(v___x_7520_); +if (lean_obj_tag(v_us_7521_) == 1) { -lean_object* v_tail_7258_; -v_tail_7258_ = lean_ctor_get(v_us_7257_, 1); -lean_inc(v_tail_7258_); -if (lean_obj_tag(v_tail_7258_) == 1) +lean_object* v_tail_7522_; +v_tail_7522_ = lean_ctor_get(v_us_7521_, 1); +lean_inc(v_tail_7522_); +if (lean_obj_tag(v_tail_7522_) == 1) { -lean_object* v_tail_7259_; lean_object* v___x_7261_; uint8_t v_isShared_7262_; uint8_t v_isSharedCheck_7316_; -v_tail_7259_ = lean_ctor_get(v_tail_7258_, 1); -v_isSharedCheck_7316_ = !lean_is_exclusive(v_tail_7258_); -if (v_isSharedCheck_7316_ == 0) +lean_object* v_tail_7523_; lean_object* v___x_7525_; uint8_t v_isShared_7526_; uint8_t v_isSharedCheck_7580_; +v_tail_7523_ = lean_ctor_get(v_tail_7522_, 1); +v_isSharedCheck_7580_ = !lean_is_exclusive(v_tail_7522_); +if (v_isSharedCheck_7580_ == 0) { -lean_object* v_unused_7317_; -v_unused_7317_ = lean_ctor_get(v_tail_7258_, 0); -lean_dec(v_unused_7317_); -v___x_7261_ = v_tail_7258_; -v_isShared_7262_ = v_isSharedCheck_7316_; -goto v_resetjp_7260_; +lean_object* v_unused_7581_; +v_unused_7581_ = lean_ctor_get(v_tail_7522_, 0); +lean_dec(v_unused_7581_); +v___x_7525_ = v_tail_7522_; +v_isShared_7526_ = v_isSharedCheck_7580_; +goto v_resetjp_7524_; } else { -lean_inc(v_tail_7259_); -lean_dec(v_tail_7258_); -v___x_7261_ = lean_box(0); -v_isShared_7262_ = v_isSharedCheck_7316_; -goto v_resetjp_7260_; +lean_inc(v_tail_7523_); +lean_dec(v_tail_7522_); +v___x_7525_ = lean_box(0); +v_isShared_7526_ = v_isSharedCheck_7580_; +goto v_resetjp_7524_; } -v_resetjp_7260_: +v_resetjp_7524_: { -if (lean_obj_tag(v_tail_7259_) == 0) +if (lean_obj_tag(v_tail_7523_) == 0) { -lean_object* v_head_7263_; lean_object* v___x_7265_; uint8_t v_isShared_7266_; uint8_t v_isSharedCheck_7314_; -v_head_7263_ = lean_ctor_get(v_us_7257_, 0); -v_isSharedCheck_7314_ = !lean_is_exclusive(v_us_7257_); -if (v_isSharedCheck_7314_ == 0) +lean_object* v_head_7527_; lean_object* v___x_7529_; uint8_t v_isShared_7530_; uint8_t v_isSharedCheck_7578_; +v_head_7527_ = lean_ctor_get(v_us_7521_, 0); +v_isSharedCheck_7578_ = !lean_is_exclusive(v_us_7521_); +if (v_isSharedCheck_7578_ == 0) { -lean_object* v_unused_7315_; -v_unused_7315_ = lean_ctor_get(v_us_7257_, 1); -lean_dec(v_unused_7315_); -v___x_7265_ = v_us_7257_; -v_isShared_7266_ = v_isSharedCheck_7314_; -goto v_resetjp_7264_; +lean_object* v_unused_7579_; +v_unused_7579_ = lean_ctor_get(v_us_7521_, 1); +lean_dec(v_unused_7579_); +v___x_7529_ = v_us_7521_; +v_isShared_7530_ = v_isSharedCheck_7578_; +goto v_resetjp_7528_; } else { -lean_inc(v_head_7263_); -lean_dec(v_us_7257_); -v___x_7265_ = lean_box(0); -v_isShared_7266_ = v_isSharedCheck_7314_; -goto v_resetjp_7264_; +lean_inc(v_head_7527_); +lean_dec(v_us_7521_); +v___x_7529_ = lean_box(0); +v_isShared_7530_ = v_isSharedCheck_7578_; +goto v_resetjp_7528_; } -v_resetjp_7264_: +v_resetjp_7528_: { -lean_object* v___x_7267_; lean_object* v___x_7269_; -v___x_7267_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__3)); -if (v_isShared_7262_ == 0) +lean_object* v___x_7531_; lean_object* v___x_7533_; +v___x_7531_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__3)); +if (v_isShared_7526_ == 0) { -lean_ctor_set(v___x_7261_, 0, v_head_7263_); -v___x_7269_ = v___x_7261_; -goto v_reusejp_7268_; +lean_ctor_set(v___x_7525_, 0, v_head_7527_); +v___x_7533_ = v___x_7525_; +goto v_reusejp_7532_; } else { -lean_object* v_reuseFailAlloc_7313_; -v_reuseFailAlloc_7313_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_7313_, 0, v_head_7263_); -lean_ctor_set(v_reuseFailAlloc_7313_, 1, v_tail_7259_); -v___x_7269_ = v_reuseFailAlloc_7313_; -goto v_reusejp_7268_; +lean_object* v_reuseFailAlloc_7577_; +v_reuseFailAlloc_7577_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_7577_, 0, v_head_7527_); +lean_ctor_set(v_reuseFailAlloc_7577_, 1, v_tail_7523_); +v___x_7533_ = v_reuseFailAlloc_7577_; +goto v_reusejp_7532_; } -v_reusejp_7268_: +v_reusejp_7532_: { -lean_object* v___x_7270_; lean_object* v___x_7271_; lean_object* v___x_7272_; lean_object* v___x_7273_; lean_object* v___x_7274_; lean_object* v___x_7275_; lean_object* v___x_7276_; -v___x_7270_ = lean_mk_empty_array_with_capacity(v___x_7239_); -v___x_7271_ = lean_array_push(v___x_7270_, v_a_7235_); -v___x_7272_ = lean_array_push(v___x_7271_, v_a_7238_); -v___x_7273_ = lean_array_push(v___x_7272_, v_a_7246_); -v___x_7274_ = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(v___x_7274_, 0, v___x_7267_); -lean_ctor_set(v___x_7274_, 1, v___x_7269_); -lean_ctor_set(v___x_7274_, 2, v___x_7273_); -v___x_7275_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -v___x_7276_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_7274_, v___x_7275_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7276_) == 0) +lean_object* v___x_7534_; lean_object* v___x_7535_; lean_object* v___x_7536_; lean_object* v___x_7537_; lean_object* v___x_7538_; lean_object* v___x_7539_; lean_object* v___x_7540_; +v___x_7534_ = lean_mk_empty_array_with_capacity(v___x_7503_); +v___x_7535_ = lean_array_push(v___x_7534_, v_a_7499_); +v___x_7536_ = lean_array_push(v___x_7535_, v_a_7502_); +v___x_7537_ = lean_array_push(v___x_7536_, v_a_7510_); +v___x_7538_ = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(v___x_7538_, 0, v___x_7531_); +lean_ctor_set(v___x_7538_, 1, v___x_7533_); +lean_ctor_set(v___x_7538_, 2, v___x_7537_); +v___x_7539_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +v___x_7540_ = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___redArg(v___x_7538_, v___x_7539_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7540_) == 0) { -switch(lean_obj_tag(v_a_7242_)) +switch(lean_obj_tag(v_a_7506_)) { case 0: { -lean_object* v___x_7278_; uint8_t v_isShared_7279_; uint8_t v_isSharedCheck_7284_; -lean_del_object(v___x_7265_); -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -v_isSharedCheck_7284_ = !lean_is_exclusive(v___x_7276_); -if (v_isSharedCheck_7284_ == 0) +lean_object* v___x_7542_; uint8_t v_isShared_7543_; uint8_t v_isSharedCheck_7548_; +lean_del_object(v___x_7529_); +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +v_isSharedCheck_7548_ = !lean_is_exclusive(v___x_7540_); +if (v_isSharedCheck_7548_ == 0) { -lean_object* v_unused_7285_; -v_unused_7285_ = lean_ctor_get(v___x_7276_, 0); -lean_dec(v_unused_7285_); -v___x_7278_ = v___x_7276_; -v_isShared_7279_ = v_isSharedCheck_7284_; -goto v_resetjp_7277_; +lean_object* v_unused_7549_; +v_unused_7549_ = lean_ctor_get(v___x_7540_, 0); +lean_dec(v_unused_7549_); +v___x_7542_ = v___x_7540_; +v_isShared_7543_ = v_isSharedCheck_7548_; +goto v_resetjp_7541_; } else { -lean_dec(v___x_7276_); -v___x_7278_ = lean_box(0); -v_isShared_7279_ = v_isSharedCheck_7284_; -goto v_resetjp_7277_; +lean_dec(v___x_7540_); +v___x_7542_ = lean_box(0); +v_isShared_7543_ = v_isSharedCheck_7548_; +goto v_resetjp_7541_; } -v_resetjp_7277_: +v_resetjp_7541_: { -lean_object* v___x_7280_; lean_object* v___x_7282_; -v___x_7280_ = lean_box(0); -if (v_isShared_7279_ == 0) +lean_object* v___x_7544_; lean_object* v___x_7546_; +v___x_7544_ = lean_box(0); +if (v_isShared_7543_ == 0) { -lean_ctor_set(v___x_7278_, 0, v___x_7280_); -v___x_7282_ = v___x_7278_; -goto v_reusejp_7281_; +lean_ctor_set(v___x_7542_, 0, v___x_7544_); +v___x_7546_ = v___x_7542_; +goto v_reusejp_7545_; } else { -lean_object* v_reuseFailAlloc_7283_; -v_reuseFailAlloc_7283_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7283_, 0, v___x_7280_); -v___x_7282_ = v_reuseFailAlloc_7283_; -goto v_reusejp_7281_; +lean_object* v_reuseFailAlloc_7547_; +v_reuseFailAlloc_7547_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7547_, 0, v___x_7544_); +v___x_7546_ = v_reuseFailAlloc_7547_; +goto v_reusejp_7545_; } -v_reusejp_7281_: +v_reusejp_7545_: { -return v___x_7282_; +return v___x_7546_; } } } case 1: { -lean_object* v_a_7286_; lean_object* v_fvarId_7287_; lean_object* v___x_7289_; uint8_t v_isShared_7290_; uint8_t v_isSharedCheck_7302_; -v_a_7286_ = lean_ctor_get(v___x_7276_, 0); -lean_inc(v_a_7286_); -lean_dec_ref(v___x_7276_); -v_fvarId_7287_ = lean_ctor_get(v_a_7242_, 0); -v_isSharedCheck_7302_ = !lean_is_exclusive(v_a_7242_); -if (v_isSharedCheck_7302_ == 0) +lean_object* v_a_7550_; lean_object* v_fvarId_7551_; lean_object* v___x_7553_; uint8_t v_isShared_7554_; uint8_t v_isSharedCheck_7566_; +v_a_7550_ = lean_ctor_get(v___x_7540_, 0); +lean_inc(v_a_7550_); +lean_dec_ref(v___x_7540_); +v_fvarId_7551_ = lean_ctor_get(v_a_7506_, 0); +v_isSharedCheck_7566_ = !lean_is_exclusive(v_a_7506_); +if (v_isSharedCheck_7566_ == 0) { -v___x_7289_ = v_a_7242_; -v_isShared_7290_ = v_isSharedCheck_7302_; -goto v_resetjp_7288_; +v___x_7553_ = v_a_7506_; +v_isShared_7554_ = v_isSharedCheck_7566_; +goto v_resetjp_7552_; } else { -lean_inc(v_fvarId_7287_); -lean_dec(v_a_7242_); -v___x_7289_ = lean_box(0); -v_isShared_7290_ = v_isSharedCheck_7302_; -goto v_resetjp_7288_; +lean_inc(v_fvarId_7551_); +lean_dec(v_a_7506_); +v___x_7553_ = lean_box(0); +v_isShared_7554_ = v_isSharedCheck_7566_; +goto v_resetjp_7552_; } -v_resetjp_7288_: +v_resetjp_7552_: { -lean_object* v___x_7292_; -if (v_isShared_7290_ == 0) +lean_object* v___x_7556_; +if (v_isShared_7554_ == 0) { -lean_ctor_set(v___x_7289_, 0, v_a_7286_); -v___x_7292_ = v___x_7289_; -goto v_reusejp_7291_; +lean_ctor_set(v___x_7553_, 0, v_a_7550_); +v___x_7556_ = v___x_7553_; +goto v_reusejp_7555_; } else { -lean_object* v_reuseFailAlloc_7301_; -v_reuseFailAlloc_7301_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7301_, 0, v_a_7286_); -v___x_7292_ = v_reuseFailAlloc_7301_; -goto v_reusejp_7291_; +lean_object* v_reuseFailAlloc_7565_; +v_reuseFailAlloc_7565_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7565_, 0, v_a_7550_); +v___x_7556_ = v_reuseFailAlloc_7565_; +goto v_reusejp_7555_; } -v_reusejp_7291_: +v_reusejp_7555_: { -lean_object* v___x_7293_; lean_object* v___x_7294_; lean_object* v___x_7296_; -v___x_7293_ = lean_mk_empty_array_with_capacity(v___x_7224_); -v___x_7294_ = lean_array_push(v___x_7293_, v___x_7292_); -if (v_isShared_7266_ == 0) +lean_object* v___x_7557_; lean_object* v___x_7558_; lean_object* v___x_7560_; +v___x_7557_ = lean_mk_empty_array_with_capacity(v___x_7488_); +v___x_7558_ = lean_array_push(v___x_7557_, v___x_7556_); +if (v_isShared_7530_ == 0) { -lean_ctor_set_tag(v___x_7265_, 4); -lean_ctor_set(v___x_7265_, 1, v___x_7294_); -lean_ctor_set(v___x_7265_, 0, v_fvarId_7287_); -v___x_7296_ = v___x_7265_; -goto v_reusejp_7295_; +lean_ctor_set_tag(v___x_7529_, 4); +lean_ctor_set(v___x_7529_, 1, v___x_7558_); +lean_ctor_set(v___x_7529_, 0, v_fvarId_7551_); +v___x_7560_ = v___x_7529_; +goto v_reusejp_7559_; } else { -lean_object* v_reuseFailAlloc_7300_; -v_reuseFailAlloc_7300_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v_reuseFailAlloc_7300_, 0, v_fvarId_7287_); -lean_ctor_set(v_reuseFailAlloc_7300_, 1, v___x_7294_); -v___x_7296_ = v_reuseFailAlloc_7300_; -goto v_reusejp_7295_; +lean_object* v_reuseFailAlloc_7564_; +v_reuseFailAlloc_7564_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v_reuseFailAlloc_7564_, 0, v_fvarId_7551_); +lean_ctor_set(v_reuseFailAlloc_7564_, 1, v___x_7558_); +v___x_7560_ = v_reuseFailAlloc_7564_; +goto v_reusejp_7559_; } -v_reusejp_7295_: +v_reusejp_7559_: { -lean_object* v___x_7297_; -lean_inc(v___y_7232_); -lean_inc_ref(v___y_7231_); -lean_inc(v___y_7230_); -lean_inc_ref(v___y_7229_); -v___x_7297_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7296_, v___x_7275_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -if (lean_obj_tag(v___x_7297_) == 0) +lean_object* v___x_7561_; +lean_inc(v___y_7496_); +lean_inc_ref(v___y_7495_); +lean_inc(v___y_7494_); +lean_inc_ref(v___y_7493_); +v___x_7561_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7560_, v___x_7539_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +if (lean_obj_tag(v___x_7561_) == 0) { -lean_object* v_a_7298_; lean_object* v___x_7299_; -v_a_7298_ = lean_ctor_get(v___x_7297_, 0); -lean_inc(v_a_7298_); -lean_dec_ref(v___x_7297_); -v___x_7299_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_7298_, v_args_7223_, v_arity_7226_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -return v___x_7299_; +lean_object* v_a_7562_; lean_object* v___x_7563_; +v_a_7562_ = lean_ctor_get(v___x_7561_, 0); +lean_inc(v_a_7562_); +lean_dec_ref(v___x_7561_); +v___x_7563_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_a_7562_, v_args_7487_, v_arity_7490_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +return v___x_7563_; } else { -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -return v___x_7297_; +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +return v___x_7561_; } } } @@ -24458,63 +25531,64 @@ return v___x_7297_; } default: { -lean_object* v___x_7303_; lean_object* v___x_7304_; -lean_dec_ref(v_a_7242_); -lean_dec_ref(v___x_7276_); -lean_del_object(v___x_7265_); -lean_dec(v_arity_7226_); -v___x_7303_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4); -v___x_7304_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7303_, v___y_7227_, v___y_7228_, v___y_7229_, v___y_7230_, v___y_7231_, v___y_7232_); -return v___x_7304_; +lean_object* v___x_7567_; lean_object* v___x_7568_; +lean_dec_ref(v_a_7506_); +lean_dec_ref(v___x_7540_); +lean_del_object(v___x_7529_); +lean_dec(v_arity_7490_); +v___x_7567_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__4); +v___x_7568_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7567_, v___y_7491_, v___y_7492_, v___y_7493_, v___y_7494_, v___y_7495_, v___y_7496_); +return v___x_7568_; } } } else { -lean_object* v_a_7305_; lean_object* v___x_7307_; uint8_t v_isShared_7308_; uint8_t v_isSharedCheck_7312_; -lean_del_object(v___x_7265_); -lean_dec(v_a_7242_); -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -v_a_7305_ = lean_ctor_get(v___x_7276_, 0); -v_isSharedCheck_7312_ = !lean_is_exclusive(v___x_7276_); -if (v_isSharedCheck_7312_ == 0) +lean_object* v_a_7569_; lean_object* v___x_7571_; uint8_t v_isShared_7572_; uint8_t v_isSharedCheck_7576_; +lean_del_object(v___x_7529_); +lean_dec(v_a_7506_); +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +v_a_7569_ = lean_ctor_get(v___x_7540_, 0); +v_isSharedCheck_7576_ = !lean_is_exclusive(v___x_7540_); +if (v_isSharedCheck_7576_ == 0) { -v___x_7307_ = v___x_7276_; -v_isShared_7308_ = v_isSharedCheck_7312_; -goto v_resetjp_7306_; +v___x_7571_ = v___x_7540_; +v_isShared_7572_ = v_isSharedCheck_7576_; +goto v_resetjp_7570_; } else { -lean_inc(v_a_7305_); -lean_dec(v___x_7276_); -v___x_7307_ = lean_box(0); -v_isShared_7308_ = v_isSharedCheck_7312_; -goto v_resetjp_7306_; +lean_inc(v_a_7569_); +lean_dec(v___x_7540_); +v___x_7571_ = lean_box(0); +v_isShared_7572_ = v_isSharedCheck_7576_; +goto v_resetjp_7570_; } -v_resetjp_7306_: +v_resetjp_7570_: { -lean_object* v___x_7310_; -if (v_isShared_7308_ == 0) +lean_object* v___x_7574_; +if (v_isShared_7572_ == 0) { -v___x_7310_ = v___x_7307_; -goto v_reusejp_7309_; +v___x_7574_ = v___x_7571_; +goto v_reusejp_7573_; } else { -lean_object* v_reuseFailAlloc_7311_; -v_reuseFailAlloc_7311_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7311_, 0, v_a_7305_); -v___x_7310_ = v_reuseFailAlloc_7311_; -goto v_reusejp_7309_; +lean_object* v_reuseFailAlloc_7575_; +v_reuseFailAlloc_7575_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7575_, 0, v_a_7569_); +v___x_7574_ = v_reuseFailAlloc_7575_; +goto v_reusejp_7573_; } -v_reusejp_7309_: +v_reusejp_7573_: { -return v___x_7310_; +return v___x_7574_; } } } @@ -24523,1889 +25597,2047 @@ return v___x_7310_; } else { -lean_del_object(v___x_7261_); -lean_dec(v_tail_7259_); -lean_dec_ref(v_us_7257_); -lean_dec(v_a_7246_); -lean_dec(v_a_7242_); -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v_arity_7226_); -v___y_7248_ = v___y_7227_; -v___y_7249_ = v___y_7228_; -v___y_7250_ = v___y_7229_; -v___y_7251_ = v___y_7230_; -v___y_7252_ = v___y_7231_; -v___y_7253_ = v___y_7232_; -goto v___jp_7247_; +lean_del_object(v___x_7525_); +lean_dec(v_tail_7523_); +lean_dec_ref(v_us_7521_); +lean_dec(v_a_7510_); +lean_dec(v_a_7506_); +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v_arity_7490_); +v___y_7512_ = v___y_7491_; +v___y_7513_ = v___y_7492_; +v___y_7514_ = v___y_7493_; +v___y_7515_ = v___y_7494_; +v___y_7516_ = v___y_7495_; +v___y_7517_ = v___y_7496_; +goto v___jp_7511_; } } } else { -lean_dec(v_tail_7258_); -lean_dec_ref(v_us_7257_); -lean_dec(v_a_7246_); -lean_dec(v_a_7242_); -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v_arity_7226_); -v___y_7248_ = v___y_7227_; -v___y_7249_ = v___y_7228_; -v___y_7250_ = v___y_7229_; -v___y_7251_ = v___y_7230_; -v___y_7252_ = v___y_7231_; -v___y_7253_ = v___y_7232_; -goto v___jp_7247_; +lean_dec_ref(v_us_7521_); +lean_dec(v_tail_7522_); +lean_dec(v_a_7510_); +lean_dec(v_a_7506_); +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v_arity_7490_); +v___y_7512_ = v___y_7491_; +v___y_7513_ = v___y_7492_; +v___y_7514_ = v___y_7493_; +v___y_7515_ = v___y_7494_; +v___y_7516_ = v___y_7495_; +v___y_7517_ = v___y_7496_; +goto v___jp_7511_; } } else { -lean_dec(v_us_7257_); -lean_dec(v_a_7246_); -lean_dec(v_a_7242_); -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v_arity_7226_); -v___y_7248_ = v___y_7227_; -v___y_7249_ = v___y_7228_; -v___y_7250_ = v___y_7229_; -v___y_7251_ = v___y_7230_; -v___y_7252_ = v___y_7231_; -v___y_7253_ = v___y_7232_; -goto v___jp_7247_; +lean_dec(v_us_7521_); +lean_dec(v_a_7510_); +lean_dec(v_a_7506_); +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v_arity_7490_); +v___y_7512_ = v___y_7491_; +v___y_7513_ = v___y_7492_; +v___y_7514_ = v___y_7493_; +v___y_7515_ = v___y_7494_; +v___y_7516_ = v___y_7495_; +v___y_7517_ = v___y_7496_; +goto v___jp_7511_; } } else { -lean_dec_ref(v___x_7256_); -lean_dec(v_a_7246_); -lean_dec(v_a_7242_); -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v_arity_7226_); -v___y_7248_ = v___y_7227_; -v___y_7249_ = v___y_7228_; -v___y_7250_ = v___y_7229_; -v___y_7251_ = v___y_7230_; -v___y_7252_ = v___y_7231_; -v___y_7253_ = v___y_7232_; -goto v___jp_7247_; +lean_dec_ref(v___x_7520_); +lean_dec(v_a_7510_); +lean_dec(v_a_7506_); +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v_arity_7490_); +v___y_7512_ = v___y_7491_; +v___y_7513_ = v___y_7492_; +v___y_7514_ = v___y_7493_; +v___y_7515_ = v___y_7494_; +v___y_7516_ = v___y_7495_; +v___y_7517_ = v___y_7496_; +goto v___jp_7511_; } -v___jp_7247_: +v___jp_7511_: { -lean_object* v___x_7254_; lean_object* v___x_7255_; -v___x_7254_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1); -v___x_7255_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7254_, v___y_7248_, v___y_7249_, v___y_7250_, v___y_7251_, v___y_7252_, v___y_7253_); -return v___x_7255_; +lean_object* v___x_7518_; lean_object* v___x_7519_; +v___x_7518_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___closed__1); +v___x_7519_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7518_, v___y_7512_, v___y_7513_, v___y_7514_, v___y_7515_, v___y_7516_, v___y_7517_); +return v___x_7519_; } } else { -lean_dec(v_a_7242_); -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -return v___x_7245_; +lean_dec(v_a_7506_); +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +return v___x_7509_; } } else { -lean_dec(v_a_7238_); -lean_dec(v_a_7235_); -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -lean_dec_ref(v___x_7222_); -return v___x_7241_; +lean_dec(v_a_7502_); +lean_dec(v_a_7499_); +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +lean_dec_ref(v___x_7486_); +return v___x_7505_; } } else { -lean_dec(v_a_7235_); -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -lean_dec_ref(v___x_7222_); -return v___x_7237_; +lean_dec(v_a_7499_); +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +lean_dec_ref(v___x_7486_); +return v___x_7501_; } } else { -lean_dec(v___y_7232_); -lean_dec_ref(v___y_7231_); -lean_dec(v___y_7230_); -lean_dec_ref(v___y_7229_); -lean_dec(v___y_7228_); -lean_dec(v_arity_7226_); -lean_dec_ref(v___x_7222_); -return v___x_7234_; +lean_dec(v___y_7496_); +lean_dec_ref(v___y_7495_); +lean_dec(v___y_7494_); +lean_dec_ref(v___y_7493_); +lean_dec(v___y_7492_); +lean_dec_ref(v___y_7491_); +lean_dec(v_arity_7490_); +lean_dec_ref(v___x_7486_); +return v___x_7498_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___boxed(lean_object* v___x_7318_, lean_object* v___x_7319_, lean_object* v_args_7320_, lean_object* v___x_7321_, lean_object* v_e_7322_, lean_object* v_arity_7323_, lean_object* v___y_7324_, lean_object* v___y_7325_, lean_object* v___y_7326_, lean_object* v___y_7327_, lean_object* v___y_7328_, lean_object* v___y_7329_, lean_object* v___y_7330_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___boxed(lean_object* v___x_7582_, lean_object* v___x_7583_, lean_object* v_args_7584_, lean_object* v___x_7585_, lean_object* v_e_7586_, lean_object* v_arity_7587_, lean_object* v___y_7588_, lean_object* v___y_7589_, lean_object* v___y_7590_, lean_object* v___y_7591_, lean_object* v___y_7592_, lean_object* v___y_7593_, lean_object* v___y_7594_){ _start: { -uint8_t v___y_168423__boxed_7331_; lean_object* v_res_7332_; -v___y_168423__boxed_7331_ = lean_unbox(v___y_7324_); -v_res_7332_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(v___x_7318_, v___x_7319_, v_args_7320_, v___x_7321_, v_e_7322_, v_arity_7323_, v___y_168423__boxed_7331_, v___y_7325_, v___y_7326_, v___y_7327_, v___y_7328_, v___y_7329_); -lean_dec_ref(v_e_7322_); -lean_dec(v___x_7321_); -lean_dec_ref(v_args_7320_); -return v_res_7332_; +lean_object* v_res_7595_; +v_res_7595_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0(v___x_7582_, v___x_7583_, v_args_7584_, v___x_7585_, v_e_7586_, v_arity_7587_, v___y_7588_, v___y_7589_, v___y_7590_, v___y_7591_, v___y_7592_, v___y_7593_); +lean_dec_ref(v_e_7586_); +lean_dec(v___x_7585_); +lean_dec_ref(v_args_7584_); +return v_res_7595_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object* v_e_7333_, uint8_t v_a_7334_, lean_object* v_a_7335_, lean_object* v_a_7336_, lean_object* v_a_7337_, lean_object* v_a_7338_, lean_object* v_a_7339_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object* v_e_7596_, lean_object* v_a_7597_, lean_object* v_a_7598_, lean_object* v_a_7599_, lean_object* v_a_7600_, lean_object* v_a_7601_, lean_object* v_a_7602_){ _start: { -lean_object* v___x_7341_; lean_object* v_arity_7342_; lean_object* v_dummy_7343_; lean_object* v_nargs_7344_; lean_object* v___x_7345_; lean_object* v___x_7346_; lean_object* v___x_7347_; lean_object* v_args_7348_; lean_object* v___x_7349_; lean_object* v___x_7350_; lean_object* v___f_7351_; lean_object* v___x_7352_; -v___x_7341_ = l_Lean_instInhabitedExpr; -v_arity_7342_ = lean_unsigned_to_nat(6u); -v_dummy_7343_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7344_ = l_Lean_Expr_getAppNumArgs(v_e_7333_); -lean_inc(v_nargs_7344_); -v___x_7345_ = lean_mk_array(v_nargs_7344_, v_dummy_7343_); -v___x_7346_ = lean_unsigned_to_nat(1u); -v___x_7347_ = lean_nat_sub(v_nargs_7344_, v___x_7346_); -lean_dec(v_nargs_7344_); -lean_inc_ref(v_e_7333_); -v_args_7348_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7333_, v___x_7345_, v___x_7347_); -v___x_7349_ = lean_unsigned_to_nat(0u); -v___x_7350_ = lean_array_get(v___x_7341_, v_args_7348_, v___x_7349_); -lean_inc_ref(v_e_7333_); -v___f_7351_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___boxed), 13, 6); -lean_closure_set(v___f_7351_, 0, v___x_7350_); -lean_closure_set(v___f_7351_, 1, v___x_7341_); -lean_closure_set(v___f_7351_, 2, v_args_7348_); -lean_closure_set(v___f_7351_, 3, v___x_7346_); -lean_closure_set(v___f_7351_, 4, v_e_7333_); -lean_closure_set(v___f_7351_, 5, v_arity_7342_); -v___x_7352_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7333_, v_arity_7342_, v___f_7351_, v_a_7334_, v_a_7335_, v_a_7336_, v_a_7337_, v_a_7338_, v_a_7339_); -return v___x_7352_; +uint8_t v_ignoreNoncomputable_7604_; lean_object* v___x_7606_; uint8_t v_isShared_7607_; uint8_t v_isSharedCheck_7624_; +v_ignoreNoncomputable_7604_ = lean_ctor_get_uint8(v_a_7597_, sizeof(void*)*1); +v_isSharedCheck_7624_ = !lean_is_exclusive(v_a_7597_); +if (v_isSharedCheck_7624_ == 0) +{ +lean_object* v_unused_7625_; +v_unused_7625_ = lean_ctor_get(v_a_7597_, 0); +lean_dec(v_unused_7625_); +v___x_7606_ = v_a_7597_; +v_isShared_7607_ = v_isSharedCheck_7624_; +goto v_resetjp_7605_; +} +else +{ +lean_dec(v_a_7597_); +v___x_7606_ = lean_box(0); +v_isShared_7607_ = v_isSharedCheck_7624_; +goto v_resetjp_7605_; +} +v_resetjp_7605_: +{ +lean_object* v_nargs_7608_; lean_object* v___x_7609_; lean_object* v_arity_7610_; lean_object* v_dummy_7611_; lean_object* v___x_7612_; lean_object* v___x_7613_; lean_object* v___x_7614_; lean_object* v_args_7615_; lean_object* v___x_7616_; lean_object* v___x_7617_; lean_object* v___f_7618_; lean_object* v___x_7619_; lean_object* v___x_7621_; +v_nargs_7608_ = l_Lean_Expr_getAppNumArgs(v_e_7596_); +v___x_7609_ = l_Lean_instInhabitedExpr; +v_arity_7610_ = lean_unsigned_to_nat(6u); +v_dummy_7611_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +lean_inc(v_nargs_7608_); +v___x_7612_ = lean_mk_array(v_nargs_7608_, v_dummy_7611_); +v___x_7613_ = lean_unsigned_to_nat(1u); +v___x_7614_ = lean_nat_sub(v_nargs_7608_, v___x_7613_); +lean_dec(v_nargs_7608_); +lean_inc_ref(v_e_7596_); +v_args_7615_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_7596_, v___x_7612_, v___x_7614_); +v___x_7616_ = lean_unsigned_to_nat(0u); +v___x_7617_ = lean_array_get(v___x_7609_, v_args_7615_, v___x_7616_); +lean_inc_ref(v_e_7596_); +v___f_7618_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lam__0___boxed), 13, 6); +lean_closure_set(v___f_7618_, 0, v___x_7617_); +lean_closure_set(v___f_7618_, 1, v___x_7609_); +lean_closure_set(v___f_7618_, 2, v_args_7615_); +lean_closure_set(v___f_7618_, 3, v___x_7613_); +lean_closure_set(v___f_7618_, 4, v_e_7596_); +lean_closure_set(v___f_7618_, 5, v_arity_7610_); +v___x_7619_ = lean_box(0); +if (v_isShared_7607_ == 0) +{ +lean_ctor_set(v___x_7606_, 0, v___x_7619_); +v___x_7621_ = v___x_7606_; +goto v_reusejp_7620_; +} +else +{ +lean_object* v_reuseFailAlloc_7623_; +v_reuseFailAlloc_7623_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7623_, 0, v___x_7619_); +lean_ctor_set_uint8(v_reuseFailAlloc_7623_, sizeof(void*)*1, v_ignoreNoncomputable_7604_); +v___x_7621_ = v_reuseFailAlloc_7623_; +goto v_reusejp_7620_; +} +v_reusejp_7620_: +{ +lean_object* v___x_7622_; +v___x_7622_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_7596_, v_arity_7610_, v___f_7618_, v___x_7621_, v_a_7598_, v_a_7599_, v_a_7600_, v_a_7601_, v_a_7602_); +return v___x_7622_; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(lean_object* v_x_7353_, lean_object* v_x_7354_, lean_object* v_x_7355_, uint8_t v___y_7356_, lean_object* v___y_7357_, lean_object* v___y_7358_, lean_object* v___y_7359_, lean_object* v___y_7360_, lean_object* v___y_7361_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(lean_object* v_x_7626_, lean_object* v_x_7627_, lean_object* v_x_7628_, lean_object* v___y_7629_, lean_object* v___y_7630_, lean_object* v___y_7631_, lean_object* v___y_7632_, lean_object* v___y_7633_, lean_object* v___y_7634_){ _start: { -if (lean_obj_tag(v_x_7353_) == 5) +if (lean_obj_tag(v_x_7626_) == 5) { -lean_object* v_fn_7363_; lean_object* v_arg_7364_; lean_object* v___x_7365_; lean_object* v___x_7366_; lean_object* v___x_7367_; -v_fn_7363_ = lean_ctor_get(v_x_7353_, 0); -lean_inc_ref(v_fn_7363_); -v_arg_7364_ = lean_ctor_get(v_x_7353_, 1); -lean_inc_ref(v_arg_7364_); -lean_dec_ref(v_x_7353_); -v___x_7365_ = lean_array_set(v_x_7354_, v_x_7355_, v_arg_7364_); -v___x_7366_ = lean_unsigned_to_nat(1u); -v___x_7367_ = lean_nat_sub(v_x_7355_, v___x_7366_); -lean_dec(v_x_7355_); -v_x_7353_ = v_fn_7363_; -v_x_7354_ = v___x_7365_; -v_x_7355_ = v___x_7367_; +lean_object* v_fn_7636_; lean_object* v_arg_7637_; lean_object* v___x_7638_; lean_object* v___x_7639_; lean_object* v___x_7640_; +v_fn_7636_ = lean_ctor_get(v_x_7626_, 0); +lean_inc_ref(v_fn_7636_); +v_arg_7637_ = lean_ctor_get(v_x_7626_, 1); +lean_inc_ref(v_arg_7637_); +lean_dec_ref(v_x_7626_); +v___x_7638_ = lean_array_set(v_x_7627_, v_x_7628_, v_arg_7637_); +v___x_7639_ = lean_unsigned_to_nat(1u); +v___x_7640_ = lean_nat_sub(v_x_7628_, v___x_7639_); +lean_dec(v_x_7628_); +v_x_7626_ = v_fn_7636_; +v_x_7627_ = v___x_7638_; +v_x_7628_ = v___x_7640_; goto _start; } else { -lean_object* v___x_7369_; -lean_dec(v_x_7355_); -lean_inc(v___y_7361_); -lean_inc_ref(v___y_7360_); -lean_inc(v___y_7359_); -lean_inc_ref(v___y_7358_); -lean_inc(v___y_7357_); -v___x_7369_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_x_7353_, v___y_7356_, v___y_7357_, v___y_7358_, v___y_7359_, v___y_7360_, v___y_7361_); -if (lean_obj_tag(v___x_7369_) == 0) +uint8_t v_ignoreNoncomputable_7642_; lean_object* v___x_7643_; lean_object* v___x_7644_; lean_object* v___x_7645_; +lean_dec(v_x_7628_); +v_ignoreNoncomputable_7642_ = lean_ctor_get_uint8(v___y_7629_, sizeof(void*)*1); +v___x_7643_ = lean_box(0); +v___x_7644_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_7644_, 0, v___x_7643_); +lean_ctor_set_uint8(v___x_7644_, sizeof(void*)*1, v_ignoreNoncomputable_7642_); +lean_inc(v___y_7634_); +lean_inc_ref(v___y_7633_); +lean_inc(v___y_7632_); +lean_inc_ref(v___y_7631_); +lean_inc(v___y_7630_); +v___x_7645_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_x_7626_, v___x_7644_, v___y_7630_, v___y_7631_, v___y_7632_, v___y_7633_, v___y_7634_); +if (lean_obj_tag(v___x_7645_) == 0) { -lean_object* v_a_7370_; lean_object* v___x_7372_; uint8_t v_isShared_7373_; uint8_t v_isSharedCheck_7394_; -v_a_7370_ = lean_ctor_get(v___x_7369_, 0); -v_isSharedCheck_7394_ = !lean_is_exclusive(v___x_7369_); -if (v_isSharedCheck_7394_ == 0) +lean_object* v_a_7646_; lean_object* v___x_7648_; uint8_t v_isShared_7649_; uint8_t v_isSharedCheck_7670_; +v_a_7646_ = lean_ctor_get(v___x_7645_, 0); +v_isSharedCheck_7670_ = !lean_is_exclusive(v___x_7645_); +if (v_isSharedCheck_7670_ == 0) { -v___x_7372_ = v___x_7369_; -v_isShared_7373_ = v_isSharedCheck_7394_; -goto v_resetjp_7371_; +v___x_7648_ = v___x_7645_; +v_isShared_7649_ = v_isSharedCheck_7670_; +goto v_resetjp_7647_; } else { -lean_inc(v_a_7370_); -lean_dec(v___x_7369_); -v___x_7372_ = lean_box(0); -v_isShared_7373_ = v_isSharedCheck_7394_; -goto v_resetjp_7371_; +lean_inc(v_a_7646_); +lean_dec(v___x_7645_); +v___x_7648_ = lean_box(0); +v_isShared_7649_ = v_isSharedCheck_7670_; +goto v_resetjp_7647_; } -v_resetjp_7371_: +v_resetjp_7647_: { -if (lean_obj_tag(v_a_7370_) == 1) +if (lean_obj_tag(v_a_7646_) == 1) { -lean_object* v_fvarId_7374_; size_t v_sz_7375_; size_t v___x_7376_; lean_object* v___x_7377_; -lean_del_object(v___x_7372_); -v_fvarId_7374_ = lean_ctor_get(v_a_7370_, 0); -lean_inc(v_fvarId_7374_); -lean_dec_ref(v_a_7370_); -v_sz_7375_ = lean_array_size(v_x_7354_); -v___x_7376_ = ((size_t)0ULL); -lean_inc(v___y_7361_); -lean_inc_ref(v___y_7360_); -lean_inc(v___y_7359_); -lean_inc_ref(v___y_7358_); -lean_inc(v___y_7357_); -v___x_7377_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_7375_, v___x_7376_, v_x_7354_, v___y_7356_, v___y_7357_, v___y_7358_, v___y_7359_, v___y_7360_, v___y_7361_); -if (lean_obj_tag(v___x_7377_) == 0) +lean_object* v_fvarId_7650_; size_t v_sz_7651_; size_t v___x_7652_; lean_object* v___x_7653_; +lean_del_object(v___x_7648_); +v_fvarId_7650_ = lean_ctor_get(v_a_7646_, 0); +lean_inc(v_fvarId_7650_); +lean_dec_ref(v_a_7646_); +v_sz_7651_ = lean_array_size(v_x_7627_); +v___x_7652_ = ((size_t)0ULL); +lean_inc(v___y_7634_); +lean_inc_ref(v___y_7633_); +lean_inc(v___y_7632_); +lean_inc_ref(v___y_7631_); +lean_inc(v___y_7630_); +v___x_7653_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_7651_, v___x_7652_, v_x_7627_, v___y_7629_, v___y_7630_, v___y_7631_, v___y_7632_, v___y_7633_, v___y_7634_); +if (lean_obj_tag(v___x_7653_) == 0) { -lean_object* v_a_7378_; lean_object* v___x_7379_; lean_object* v___x_7380_; lean_object* v___x_7381_; -v_a_7378_ = lean_ctor_get(v___x_7377_, 0); -lean_inc(v_a_7378_); -lean_dec_ref(v___x_7377_); -v___x_7379_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_7379_, 0, v_fvarId_7374_); -lean_ctor_set(v___x_7379_, 1, v_a_7378_); -v___x_7380_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_7381_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7379_, v___x_7380_, v___y_7357_, v___y_7358_, v___y_7359_, v___y_7360_, v___y_7361_); -lean_dec(v___y_7357_); -return v___x_7381_; +lean_object* v_a_7654_; lean_object* v___x_7655_; lean_object* v___x_7656_; lean_object* v___x_7657_; +v_a_7654_ = lean_ctor_get(v___x_7653_, 0); +lean_inc(v_a_7654_); +lean_dec_ref(v___x_7653_); +v___x_7655_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_7655_, 0, v_fvarId_7650_); +lean_ctor_set(v___x_7655_, 1, v_a_7654_); +v___x_7656_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_7657_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7655_, v___x_7656_, v___y_7630_, v___y_7631_, v___y_7632_, v___y_7633_, v___y_7634_); +lean_dec(v___y_7630_); +return v___x_7657_; } else { -lean_object* v_a_7382_; lean_object* v___x_7384_; uint8_t v_isShared_7385_; uint8_t v_isSharedCheck_7389_; -lean_dec(v_fvarId_7374_); -lean_dec(v___y_7361_); -lean_dec_ref(v___y_7360_); -lean_dec(v___y_7359_); -lean_dec_ref(v___y_7358_); -lean_dec(v___y_7357_); -v_a_7382_ = lean_ctor_get(v___x_7377_, 0); -v_isSharedCheck_7389_ = !lean_is_exclusive(v___x_7377_); -if (v_isSharedCheck_7389_ == 0) +lean_object* v_a_7658_; lean_object* v___x_7660_; uint8_t v_isShared_7661_; uint8_t v_isSharedCheck_7665_; +lean_dec(v_fvarId_7650_); +lean_dec(v___y_7634_); +lean_dec_ref(v___y_7633_); +lean_dec(v___y_7632_); +lean_dec_ref(v___y_7631_); +lean_dec(v___y_7630_); +v_a_7658_ = lean_ctor_get(v___x_7653_, 0); +v_isSharedCheck_7665_ = !lean_is_exclusive(v___x_7653_); +if (v_isSharedCheck_7665_ == 0) { -v___x_7384_ = v___x_7377_; -v_isShared_7385_ = v_isSharedCheck_7389_; -goto v_resetjp_7383_; +v___x_7660_ = v___x_7653_; +v_isShared_7661_ = v_isSharedCheck_7665_; +goto v_resetjp_7659_; } else { -lean_inc(v_a_7382_); -lean_dec(v___x_7377_); -v___x_7384_ = lean_box(0); -v_isShared_7385_ = v_isSharedCheck_7389_; -goto v_resetjp_7383_; +lean_inc(v_a_7658_); +lean_dec(v___x_7653_); +v___x_7660_ = lean_box(0); +v_isShared_7661_ = v_isSharedCheck_7665_; +goto v_resetjp_7659_; } -v_resetjp_7383_: +v_resetjp_7659_: { -lean_object* v___x_7387_; -if (v_isShared_7385_ == 0) +lean_object* v___x_7663_; +if (v_isShared_7661_ == 0) { -v___x_7387_ = v___x_7384_; -goto v_reusejp_7386_; +v___x_7663_ = v___x_7660_; +goto v_reusejp_7662_; } else { -lean_object* v_reuseFailAlloc_7388_; -v_reuseFailAlloc_7388_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7388_, 0, v_a_7382_); -v___x_7387_ = v_reuseFailAlloc_7388_; -goto v_reusejp_7386_; +lean_object* v_reuseFailAlloc_7664_; +v_reuseFailAlloc_7664_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7664_, 0, v_a_7658_); +v___x_7663_ = v_reuseFailAlloc_7664_; +goto v_reusejp_7662_; } -v_reusejp_7386_: +v_reusejp_7662_: { -return v___x_7387_; +return v___x_7663_; } } } } else { -lean_object* v___x_7390_; lean_object* v___x_7392_; -lean_dec(v_a_7370_); -lean_dec(v___y_7361_); -lean_dec_ref(v___y_7360_); -lean_dec(v___y_7359_); -lean_dec_ref(v___y_7358_); -lean_dec(v___y_7357_); -lean_dec_ref(v_x_7354_); -v___x_7390_ = lean_box(0); -if (v_isShared_7373_ == 0) -{ -lean_ctor_set(v___x_7372_, 0, v___x_7390_); -v___x_7392_ = v___x_7372_; -goto v_reusejp_7391_; -} -else -{ -lean_object* v_reuseFailAlloc_7393_; -v_reuseFailAlloc_7393_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7393_, 0, v___x_7390_); -v___x_7392_ = v_reuseFailAlloc_7393_; -goto v_reusejp_7391_; -} -v_reusejp_7391_: -{ -return v___x_7392_; -} -} -} -} -else -{ -lean_dec(v___y_7361_); -lean_dec_ref(v___y_7360_); -lean_dec(v___y_7359_); -lean_dec_ref(v___y_7358_); -lean_dec(v___y_7357_); -lean_dec_ref(v_x_7354_); -return v___x_7369_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object* v_e_7395_, uint8_t v_a_7396_, lean_object* v_a_7397_, lean_object* v_a_7398_, lean_object* v_a_7399_, lean_object* v_a_7400_, lean_object* v_a_7401_){ -_start: -{ -lean_object* v___x_7403_; lean_object* v_env_7404_; lean_object* v___x_7405_; lean_object* v___x_7406_; -v___x_7403_ = lean_st_ref_get(v_a_7401_); -v_env_7404_ = lean_ctor_get(v___x_7403_, 0); -lean_inc_ref(v_env_7404_); -lean_dec(v___x_7403_); -v___x_7405_ = l_Lean_Expr_getAppFn(v_e_7395_); -lean_inc(v_a_7401_); -lean_inc_ref(v_a_7400_); -v___x_7406_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_7404_, v___x_7405_, v_a_7400_, v_a_7401_); -if (lean_obj_tag(v___x_7406_) == 0) -{ -lean_object* v_a_7407_; -v_a_7407_ = lean_ctor_get(v___x_7406_, 0); -lean_inc(v_a_7407_); -lean_dec_ref(v___x_7406_); -if (lean_obj_tag(v_a_7407_) == 4) -{ -lean_object* v_declName_7408_; lean_object* v___x_7409_; -v_declName_7408_ = lean_ctor_get(v_a_7407_, 0); -lean_inc(v_declName_7408_); -lean_dec_ref(v_a_7407_); -lean_inc(v_declName_7408_); -v___x_7409_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(v_declName_7408_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -if (lean_obj_tag(v___x_7409_) == 0) -{ -lean_object* v___x_7413_; uint8_t v___x_7414_; -lean_dec_ref(v___x_7409_); -v___x_7413_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0)); -v___x_7414_ = lean_name_eq(v_declName_7408_, v___x_7413_); -if (v___x_7414_ == 0) -{ -lean_object* v___x_7415_; uint8_t v___x_7416_; -v___x_7415_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1)); -v___x_7416_ = lean_name_eq(v_declName_7408_, v___x_7415_); -if (v___x_7416_ == 0) -{ -lean_object* v___x_7417_; uint8_t v___x_7418_; -v___x_7417_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___closed__1)); -v___x_7418_ = lean_name_eq(v_declName_7408_, v___x_7417_); -if (v___x_7418_ == 0) -{ -lean_object* v___x_7419_; uint8_t v___x_7420_; -v___x_7419_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__3)); -v___x_7420_ = lean_name_eq(v_declName_7408_, v___x_7419_); -if (v___x_7420_ == 0) -{ -lean_object* v___x_7421_; uint8_t v___x_7422_; -v___x_7421_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); -v___x_7422_ = lean_name_eq(v_declName_7408_, v___x_7421_); -if (v___x_7422_ == 0) -{ -lean_object* v___x_7423_; uint8_t v___x_7424_; -v___x_7423_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__1)); -v___x_7424_ = lean_name_eq(v_declName_7408_, v___x_7423_); -if (v___x_7424_ == 0) -{ -lean_object* v___x_7425_; uint8_t v___x_7426_; -v___x_7425_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__2)); -v___x_7426_ = lean_name_eq(v_declName_7408_, v___x_7425_); -if (v___x_7426_ == 0) -{ -lean_object* v___x_7427_; uint8_t v___x_7428_; -v___x_7427_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__5)); -v___x_7428_ = lean_name_eq(v_declName_7408_, v___x_7427_); -if (v___x_7428_ == 0) -{ -lean_object* v___x_7429_; uint8_t v___x_7430_; -v___x_7429_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__7)); -v___x_7430_ = lean_name_eq(v_declName_7408_, v___x_7429_); -if (v___x_7430_ == 0) -{ -lean_object* v___x_7431_; uint8_t v___x_7432_; -v___x_7431_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__9)); -v___x_7432_ = lean_name_eq(v_declName_7408_, v___x_7431_); -if (v___x_7432_ == 0) -{ -lean_object* v___x_7433_; uint8_t v___x_7434_; -v___x_7433_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__11)); -v___x_7434_ = lean_name_eq(v_declName_7408_, v___x_7433_); -if (v___x_7434_ == 0) -{ -lean_object* v___x_7435_; uint8_t v___x_7436_; -v___x_7435_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13)); -v___x_7436_ = lean_name_eq(v_declName_7408_, v___x_7435_); -if (v___x_7436_ == 0) -{ -lean_object* v___x_7437_; -lean_inc(v_a_7401_); -lean_inc_ref(v_a_7400_); -lean_inc(v_declName_7408_); -v___x_7437_ = l_getCasesInfo_x3f(v_declName_7408_, v_a_7400_, v_a_7401_); -if (lean_obj_tag(v___x_7437_) == 0) -{ -lean_object* v_a_7438_; -v_a_7438_ = lean_ctor_get(v___x_7437_, 0); -lean_inc(v_a_7438_); -lean_dec_ref(v___x_7437_); -if (lean_obj_tag(v_a_7438_) == 1) -{ -lean_object* v_val_7439_; lean_object* v___x_7440_; -lean_dec(v_declName_7408_); -v_val_7439_ = lean_ctor_get(v_a_7438_, 0); -lean_inc(v_val_7439_); -lean_dec_ref(v_a_7438_); -v___x_7440_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(v_val_7439_, v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7440_; -} -else -{ -lean_object* v___x_7441_; -lean_dec(v_a_7438_); -lean_inc_ref(v_a_7400_); -lean_inc(v_declName_7408_); -v___x_7441_ = l_Lean_Compiler_LCNF_getCtorArity_x3f(v_declName_7408_, v_a_7400_, v_a_7401_); -if (lean_obj_tag(v___x_7441_) == 0) -{ -lean_object* v_a_7442_; -v_a_7442_ = lean_ctor_get(v___x_7441_, 0); -lean_inc(v_a_7442_); -lean_dec_ref(v___x_7441_); -if (lean_obj_tag(v_a_7442_) == 1) -{ -lean_object* v_val_7443_; lean_object* v___x_7444_; -lean_dec(v_declName_7408_); -v_val_7443_ = lean_ctor_get(v_a_7442_, 0); -lean_inc(v_val_7443_); -lean_dec_ref(v_a_7442_); -v___x_7444_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v_val_7443_, v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -lean_dec(v_val_7443_); -return v___x_7444_; -} -else -{ -lean_object* v___x_7445_; lean_object* v_env_7446_; uint8_t v___x_7447_; -lean_dec(v_a_7442_); -v___x_7445_ = lean_st_ref_get(v_a_7401_); -v_env_7446_ = lean_ctor_get(v___x_7445_, 0); -lean_inc_ref(v_env_7446_); -lean_dec(v___x_7445_); -lean_inc(v_declName_7408_); -v___x_7447_ = l_Lean_isNoConfusion(v_env_7446_, v_declName_7408_); -if (v___x_7447_ == 0) -{ -lean_object* v___x_7448_; -v___x_7448_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_7408_, v_a_7401_); -if (lean_obj_tag(v___x_7448_) == 0) -{ -lean_object* v_a_7449_; -v_a_7449_ = lean_ctor_get(v___x_7448_, 0); -lean_inc(v_a_7449_); -lean_dec_ref(v___x_7448_); -if (lean_obj_tag(v_a_7449_) == 1) -{ -lean_object* v_val_7450_; lean_object* v___x_7451_; -v_val_7450_ = lean_ctor_get(v_a_7449_, 0); -lean_inc(v_val_7450_); -lean_dec_ref(v_a_7449_); -v___x_7451_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(v_val_7450_, v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -lean_dec(v_val_7450_); -return v___x_7451_; -} -else -{ -lean_object* v_dummy_7452_; lean_object* v_nargs_7453_; lean_object* v___x_7454_; lean_object* v___x_7455_; lean_object* v___x_7456_; lean_object* v___x_7457_; -lean_dec(v_a_7449_); -v_dummy_7452_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7453_ = l_Lean_Expr_getAppNumArgs(v_e_7395_); -lean_inc(v_nargs_7453_); -v___x_7454_ = lean_mk_array(v_nargs_7453_, v_dummy_7452_); -v___x_7455_ = lean_unsigned_to_nat(1u); -v___x_7456_ = lean_nat_sub(v_nargs_7453_, v___x_7455_); -lean_dec(v_nargs_7453_); -v___x_7457_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(v_e_7395_, v___x_7454_, v___x_7456_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7457_; -} -} -else -{ -lean_object* v_a_7458_; lean_object* v___x_7460_; uint8_t v_isShared_7461_; uint8_t v_isSharedCheck_7465_; -lean_dec(v_a_7401_); -lean_dec_ref(v_a_7400_); -lean_dec(v_a_7399_); -lean_dec_ref(v_a_7398_); -lean_dec(v_a_7397_); -lean_dec_ref(v_e_7395_); -v_a_7458_ = lean_ctor_get(v___x_7448_, 0); -v_isSharedCheck_7465_ = !lean_is_exclusive(v___x_7448_); -if (v_isSharedCheck_7465_ == 0) -{ -v___x_7460_ = v___x_7448_; -v_isShared_7461_ = v_isSharedCheck_7465_; -goto v_resetjp_7459_; -} -else -{ -lean_inc(v_a_7458_); -lean_dec(v___x_7448_); -v___x_7460_ = lean_box(0); -v_isShared_7461_ = v_isSharedCheck_7465_; -goto v_resetjp_7459_; -} -v_resetjp_7459_: -{ -lean_object* v___x_7463_; -if (v_isShared_7461_ == 0) -{ -v___x_7463_ = v___x_7460_; -goto v_reusejp_7462_; -} -else -{ -lean_object* v_reuseFailAlloc_7464_; -v_reuseFailAlloc_7464_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7464_, 0, v_a_7458_); -v___x_7463_ = v_reuseFailAlloc_7464_; -goto v_reusejp_7462_; -} -v_reusejp_7462_: -{ -return v___x_7463_; -} -} -} -} -else -{ -lean_object* v___x_7466_; -lean_dec(v_declName_7408_); -v___x_7466_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7466_; -} -} -} -else -{ -lean_object* v_a_7467_; lean_object* v___x_7469_; uint8_t v_isShared_7470_; uint8_t v_isSharedCheck_7474_; -lean_dec(v_declName_7408_); -lean_dec(v_a_7401_); -lean_dec_ref(v_a_7400_); -lean_dec(v_a_7399_); -lean_dec_ref(v_a_7398_); -lean_dec(v_a_7397_); -lean_dec_ref(v_e_7395_); -v_a_7467_ = lean_ctor_get(v___x_7441_, 0); -v_isSharedCheck_7474_ = !lean_is_exclusive(v___x_7441_); -if (v_isSharedCheck_7474_ == 0) -{ -v___x_7469_ = v___x_7441_; -v_isShared_7470_ = v_isSharedCheck_7474_; -goto v_resetjp_7468_; -} -else -{ -lean_inc(v_a_7467_); -lean_dec(v___x_7441_); -v___x_7469_ = lean_box(0); -v_isShared_7470_ = v_isSharedCheck_7474_; -goto v_resetjp_7468_; -} -v_resetjp_7468_: -{ -lean_object* v___x_7472_; -if (v_isShared_7470_ == 0) -{ -v___x_7472_ = v___x_7469_; -goto v_reusejp_7471_; -} -else -{ -lean_object* v_reuseFailAlloc_7473_; -v_reuseFailAlloc_7473_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7473_, 0, v_a_7467_); -v___x_7472_ = v_reuseFailAlloc_7473_; -goto v_reusejp_7471_; -} -v_reusejp_7471_: -{ -return v___x_7472_; -} -} -} -} -} -else -{ -lean_object* v_a_7475_; lean_object* v___x_7477_; uint8_t v_isShared_7478_; uint8_t v_isSharedCheck_7482_; -lean_dec(v_declName_7408_); -lean_dec(v_a_7401_); -lean_dec_ref(v_a_7400_); -lean_dec(v_a_7399_); -lean_dec_ref(v_a_7398_); -lean_dec(v_a_7397_); -lean_dec_ref(v_e_7395_); -v_a_7475_ = lean_ctor_get(v___x_7437_, 0); -v_isSharedCheck_7482_ = !lean_is_exclusive(v___x_7437_); -if (v_isSharedCheck_7482_ == 0) -{ -v___x_7477_ = v___x_7437_; -v_isShared_7478_ = v_isSharedCheck_7482_; -goto v_resetjp_7476_; -} -else -{ -lean_inc(v_a_7475_); -lean_dec(v___x_7437_); -v___x_7477_ = lean_box(0); -v_isShared_7478_ = v_isSharedCheck_7482_; -goto v_resetjp_7476_; -} -v_resetjp_7476_: -{ -lean_object* v___x_7480_; -if (v_isShared_7478_ == 0) -{ -v___x_7480_ = v___x_7477_; -goto v_reusejp_7479_; -} -else -{ -lean_object* v_reuseFailAlloc_7481_; -v_reuseFailAlloc_7481_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7481_, 0, v_a_7475_); -v___x_7480_ = v_reuseFailAlloc_7481_; -goto v_reusejp_7479_; -} -v_reusejp_7479_: -{ -return v___x_7480_; -} -} -} -} -else -{ -lean_object* v___x_7483_; -lean_dec(v_declName_7408_); -v___x_7483_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7483_; -} -} -else -{ -lean_object* v___x_7484_; -lean_dec(v_declName_7408_); -v___x_7484_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7484_; -} -} -else -{ -lean_object* v___x_7485_; -lean_dec(v_declName_7408_); -v___x_7485_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7485_; -} -} -else -{ -lean_dec(v_declName_7408_); -goto v___jp_7410_; -} -} -else -{ -lean_dec(v_declName_7408_); -goto v___jp_7410_; -} -} -else -{ -lean_object* v___x_7486_; -lean_dec(v_declName_7408_); -v___x_7486_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7486_; -} -} -else -{ -lean_object* v___x_7487_; -lean_dec(v_declName_7408_); -v___x_7487_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7487_; -} -} -else -{ -lean_object* v___x_7488_; -lean_dec(v_declName_7408_); -v___x_7488_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7488_; -} -} -else -{ -lean_object* v___x_7489_; -lean_dec(v_declName_7408_); -v___x_7489_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7489_; -} -} -else -{ -lean_object* v___x_7490_; -lean_dec(v_declName_7408_); -v___x_7490_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7490_; -} -} -else -{ -lean_object* v___x_7491_; lean_object* v___x_7492_; -lean_dec(v_declName_7408_); -v___x_7491_ = lean_unsigned_to_nat(3u); -v___x_7492_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v___x_7491_, v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7492_; -} -} -else -{ -lean_object* v___x_7493_; -lean_dec(v_declName_7408_); -v___x_7493_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(v_e_7395_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7493_; -} -v___jp_7410_: -{ -lean_object* v___x_7411_; lean_object* v___x_7412_; -v___x_7411_ = lean_unsigned_to_nat(3u); -v___x_7412_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(v_e_7395_, v___x_7411_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7412_; -} -} -else -{ -lean_object* v_a_7494_; lean_object* v___x_7496_; uint8_t v_isShared_7497_; uint8_t v_isSharedCheck_7501_; -lean_dec(v_declName_7408_); -lean_dec(v_a_7401_); -lean_dec_ref(v_a_7400_); -lean_dec(v_a_7399_); -lean_dec_ref(v_a_7398_); -lean_dec(v_a_7397_); -lean_dec_ref(v_e_7395_); -v_a_7494_ = lean_ctor_get(v___x_7409_, 0); -v_isSharedCheck_7501_ = !lean_is_exclusive(v___x_7409_); -if (v_isSharedCheck_7501_ == 0) -{ -v___x_7496_ = v___x_7409_; -v_isShared_7497_ = v_isSharedCheck_7501_; -goto v_resetjp_7495_; -} -else -{ -lean_inc(v_a_7494_); -lean_dec(v___x_7409_); -v___x_7496_ = lean_box(0); -v_isShared_7497_ = v_isSharedCheck_7501_; -goto v_resetjp_7495_; -} -v_resetjp_7495_: -{ -lean_object* v___x_7499_; -if (v_isShared_7497_ == 0) -{ -v___x_7499_ = v___x_7496_; -goto v_reusejp_7498_; -} -else -{ -lean_object* v_reuseFailAlloc_7500_; -v_reuseFailAlloc_7500_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7500_, 0, v_a_7494_); -v___x_7499_ = v_reuseFailAlloc_7500_; -goto v_reusejp_7498_; -} -v_reusejp_7498_: -{ -return v___x_7499_; -} -} -} -} -else -{ -lean_object* v_dummy_7502_; lean_object* v_nargs_7503_; lean_object* v___x_7504_; lean_object* v___x_7505_; lean_object* v___x_7506_; lean_object* v___x_7507_; -lean_dec(v_a_7407_); -v_dummy_7502_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); -v_nargs_7503_ = l_Lean_Expr_getAppNumArgs(v_e_7395_); -lean_inc(v_nargs_7503_); -v___x_7504_ = lean_mk_array(v_nargs_7503_, v_dummy_7502_); -v___x_7505_ = lean_unsigned_to_nat(1u); -v___x_7506_ = lean_nat_sub(v_nargs_7503_, v___x_7505_); -lean_dec(v_nargs_7503_); -v___x_7507_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(v_e_7395_, v___x_7504_, v___x_7506_, v_a_7396_, v_a_7397_, v_a_7398_, v_a_7399_, v_a_7400_, v_a_7401_); -return v___x_7507_; -} -} -else -{ -lean_object* v_a_7508_; lean_object* v___x_7510_; uint8_t v_isShared_7511_; uint8_t v_isSharedCheck_7515_; -lean_dec(v_a_7401_); -lean_dec_ref(v_a_7400_); -lean_dec(v_a_7399_); -lean_dec_ref(v_a_7398_); -lean_dec(v_a_7397_); -lean_dec_ref(v_e_7395_); -v_a_7508_ = lean_ctor_get(v___x_7406_, 0); -v_isSharedCheck_7515_ = !lean_is_exclusive(v___x_7406_); -if (v_isSharedCheck_7515_ == 0) -{ -v___x_7510_ = v___x_7406_; -v_isShared_7511_ = v_isSharedCheck_7515_; -goto v_resetjp_7509_; -} -else -{ -lean_inc(v_a_7508_); -lean_dec(v___x_7406_); -v___x_7510_ = lean_box(0); -v_isShared_7511_ = v_isSharedCheck_7515_; -goto v_resetjp_7509_; -} -v_resetjp_7509_: -{ -lean_object* v___x_7513_; -if (v_isShared_7511_ == 0) -{ -v___x_7513_ = v___x_7510_; -goto v_reusejp_7512_; -} -else -{ -lean_object* v_reuseFailAlloc_7514_; -v_reuseFailAlloc_7514_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7514_, 0, v_a_7508_); -v___x_7513_ = v_reuseFailAlloc_7514_; -goto v_reusejp_7512_; -} -v_reusejp_7512_: -{ -return v___x_7513_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(lean_object* v_e_7519_, uint8_t v___y_7520_, lean_object* v___y_7521_, lean_object* v___y_7522_, lean_object* v___y_7523_, lean_object* v___y_7524_, lean_object* v___y_7525_){ -_start: -{ -lean_object* v___x_7527_; -lean_inc(v___y_7525_); -lean_inc_ref(v___y_7524_); -v___x_7527_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg(v_e_7519_, v___y_7521_, v___y_7522_, v___y_7523_, v___y_7524_, v___y_7525_); -if (lean_obj_tag(v___x_7527_) == 0) -{ -lean_object* v_a_7528_; lean_object* v_fst_7529_; lean_object* v_snd_7530_; lean_object* v___x_7531_; -v_a_7528_ = lean_ctor_get(v___x_7527_, 0); -lean_inc(v_a_7528_); -lean_dec_ref(v___x_7527_); -v_fst_7529_ = lean_ctor_get(v_a_7528_, 0); -lean_inc(v_fst_7529_); -v_snd_7530_ = lean_ctor_get(v_a_7528_, 1); -lean_inc(v_snd_7530_); -lean_dec(v_a_7528_); -lean_inc(v___y_7525_); -lean_inc_ref(v___y_7524_); -lean_inc(v___y_7523_); -lean_inc_ref(v___y_7522_); -lean_inc(v___y_7521_); -v___x_7531_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_snd_7530_, v___y_7520_, v___y_7521_, v___y_7522_, v___y_7523_, v___y_7524_, v___y_7525_); -if (lean_obj_tag(v___x_7531_) == 0) -{ -lean_object* v_a_7532_; lean_object* v___x_7533_; -v_a_7532_ = lean_ctor_get(v___x_7531_, 0); -lean_inc(v_a_7532_); -lean_dec_ref(v___x_7531_); -lean_inc(v___y_7525_); -lean_inc_ref(v___y_7524_); -lean_inc(v___y_7523_); -lean_inc_ref(v___y_7522_); -v___x_7533_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_7532_, v___y_7521_, v___y_7522_, v___y_7523_, v___y_7524_, v___y_7525_); -lean_dec(v___y_7521_); -if (lean_obj_tag(v___x_7533_) == 0) -{ -lean_object* v_a_7534_; lean_object* v___x_7535_; lean_object* v___x_7536_; -v_a_7534_ = lean_ctor_get(v___x_7533_, 0); -lean_inc(v_a_7534_); -lean_dec_ref(v___x_7533_); -v___x_7535_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__1)); -v___x_7536_ = l_Lean_Compiler_LCNF_mkAuxFunDecl(v_fst_7529_, v_a_7534_, v___x_7535_, v___y_7522_, v___y_7523_, v___y_7524_, v___y_7525_); -return v___x_7536_; -} -else -{ -lean_object* v_a_7537_; lean_object* v___x_7539_; uint8_t v_isShared_7540_; uint8_t v_isSharedCheck_7544_; -lean_dec(v_fst_7529_); -lean_dec(v___y_7525_); -lean_dec_ref(v___y_7524_); -lean_dec(v___y_7523_); -lean_dec_ref(v___y_7522_); -v_a_7537_ = lean_ctor_get(v___x_7533_, 0); -v_isSharedCheck_7544_ = !lean_is_exclusive(v___x_7533_); -if (v_isSharedCheck_7544_ == 0) -{ -v___x_7539_ = v___x_7533_; -v_isShared_7540_ = v_isSharedCheck_7544_; -goto v_resetjp_7538_; -} -else -{ -lean_inc(v_a_7537_); -lean_dec(v___x_7533_); -v___x_7539_ = lean_box(0); -v_isShared_7540_ = v_isSharedCheck_7544_; -goto v_resetjp_7538_; -} -v_resetjp_7538_: -{ -lean_object* v___x_7542_; -if (v_isShared_7540_ == 0) -{ -v___x_7542_ = v___x_7539_; -goto v_reusejp_7541_; -} -else -{ -lean_object* v_reuseFailAlloc_7543_; -v_reuseFailAlloc_7543_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7543_, 0, v_a_7537_); -v___x_7542_ = v_reuseFailAlloc_7543_; -goto v_reusejp_7541_; -} -v_reusejp_7541_: -{ -return v___x_7542_; -} -} -} -} -else -{ -lean_object* v_a_7545_; lean_object* v___x_7547_; uint8_t v_isShared_7548_; uint8_t v_isSharedCheck_7552_; -lean_dec(v_fst_7529_); -lean_dec(v___y_7525_); -lean_dec_ref(v___y_7524_); -lean_dec(v___y_7523_); -lean_dec_ref(v___y_7522_); -lean_dec(v___y_7521_); -v_a_7545_ = lean_ctor_get(v___x_7531_, 0); -v_isSharedCheck_7552_ = !lean_is_exclusive(v___x_7531_); -if (v_isSharedCheck_7552_ == 0) -{ -v___x_7547_ = v___x_7531_; -v_isShared_7548_ = v_isSharedCheck_7552_; -goto v_resetjp_7546_; -} -else -{ -lean_inc(v_a_7545_); -lean_dec(v___x_7531_); -v___x_7547_ = lean_box(0); -v_isShared_7548_ = v_isSharedCheck_7552_; -goto v_resetjp_7546_; -} -v_resetjp_7546_: -{ -lean_object* v___x_7550_; -if (v_isShared_7548_ == 0) -{ -v___x_7550_ = v___x_7547_; -goto v_reusejp_7549_; -} -else -{ -lean_object* v_reuseFailAlloc_7551_; -v_reuseFailAlloc_7551_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7551_, 0, v_a_7545_); -v___x_7550_ = v_reuseFailAlloc_7551_; -goto v_reusejp_7549_; -} -v_reusejp_7549_: -{ -return v___x_7550_; -} -} -} -} -else -{ -lean_object* v_a_7553_; lean_object* v___x_7555_; uint8_t v_isShared_7556_; uint8_t v_isSharedCheck_7560_; -lean_dec(v___y_7525_); -lean_dec_ref(v___y_7524_); -lean_dec(v___y_7523_); -lean_dec_ref(v___y_7522_); -lean_dec(v___y_7521_); -v_a_7553_ = lean_ctor_get(v___x_7527_, 0); -v_isSharedCheck_7560_ = !lean_is_exclusive(v___x_7527_); -if (v_isSharedCheck_7560_ == 0) -{ -v___x_7555_ = v___x_7527_; -v_isShared_7556_ = v_isSharedCheck_7560_; -goto v_resetjp_7554_; -} -else -{ -lean_inc(v_a_7553_); -lean_dec(v___x_7527_); -v___x_7555_ = lean_box(0); -v_isShared_7556_ = v_isSharedCheck_7560_; -goto v_resetjp_7554_; -} -v_resetjp_7554_: -{ -lean_object* v___x_7558_; -if (v_isShared_7556_ == 0) -{ -v___x_7558_ = v___x_7555_; -goto v_reusejp_7557_; -} -else -{ -lean_object* v_reuseFailAlloc_7559_; -v_reuseFailAlloc_7559_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7559_, 0, v_a_7553_); -v___x_7558_ = v_reuseFailAlloc_7559_; -goto v_reusejp_7557_; -} -v_reusejp_7557_: -{ -return v___x_7558_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___boxed(lean_object* v_e_7561_, lean_object* v___y_7562_, lean_object* v___y_7563_, lean_object* v___y_7564_, lean_object* v___y_7565_, lean_object* v___y_7566_, lean_object* v___y_7567_, lean_object* v___y_7568_){ -_start: -{ -uint8_t v___y_167910__boxed_7569_; lean_object* v_res_7570_; -v___y_167910__boxed_7569_ = lean_unbox(v___y_7562_); -v_res_7570_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(v_e_7561_, v___y_167910__boxed_7569_, v___y_7563_, v___y_7564_, v___y_7565_, v___y_7566_, v___y_7567_); -return v_res_7570_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object* v_e_7571_, uint8_t v_a_7572_, lean_object* v_a_7573_, lean_object* v_a_7574_, lean_object* v_a_7575_, lean_object* v_a_7576_, lean_object* v_a_7577_){ -_start: -{ -lean_object* v___x_7579_; lean_object* v_env_7580_; lean_object* v___f_7581_; lean_object* v_b_7613_; uint8_t v___x_7614_; -v___x_7579_ = lean_st_ref_get(v_a_7577_); -v_env_7580_ = lean_ctor_get(v___x_7579_, 0); -lean_inc_ref(v_env_7580_); -lean_dec(v___x_7579_); -lean_inc_ref(v_e_7571_); -v___f_7581_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___boxed), 8, 1); -lean_closure_set(v___f_7581_, 0, v_e_7571_); -v_b_7613_ = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(v_e_7571_); -v___x_7614_ = l_Lean_Expr_isLambda(v_b_7613_); -if (v___x_7614_ == 0) -{ -uint8_t v___x_7615_; -v___x_7615_ = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(v_env_7580_, v_b_7613_); -if (v___x_7615_ == 0) -{ -lean_object* v___x_7616_; -lean_dec_ref(v___f_7581_); -v___x_7616_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_b_7613_, v_a_7572_, v_a_7573_, v_a_7574_, v_a_7575_, v_a_7576_, v_a_7577_); -return v___x_7616_; -} -else -{ -lean_dec_ref(v_b_7613_); -goto v___jp_7582_; -} -} -else -{ -lean_dec_ref(v_b_7613_); -lean_dec_ref(v_env_7580_); -goto v___jp_7582_; -} -v___jp_7582_: -{ -lean_object* v___x_7583_; -lean_inc(v_a_7573_); -v___x_7583_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v___f_7581_, v_a_7572_, v_a_7573_, v_a_7574_, v_a_7575_, v_a_7576_, v_a_7577_); -if (lean_obj_tag(v___x_7583_) == 0) -{ -lean_object* v_a_7584_; lean_object* v___x_7585_; lean_object* v___x_7586_; -v_a_7584_ = lean_ctor_get(v___x_7583_, 0); -lean_inc(v_a_7584_); -lean_dec_ref(v___x_7583_); -lean_inc(v_a_7584_); -v___x_7585_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_7585_, 0, v_a_7584_); -v___x_7586_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_7585_, v_a_7573_); -lean_dec(v_a_7573_); -if (lean_obj_tag(v___x_7586_) == 0) -{ -lean_object* v___x_7588_; uint8_t v_isShared_7589_; uint8_t v_isSharedCheck_7595_; -v_isSharedCheck_7595_ = !lean_is_exclusive(v___x_7586_); -if (v_isSharedCheck_7595_ == 0) -{ -lean_object* v_unused_7596_; -v_unused_7596_ = lean_ctor_get(v___x_7586_, 0); -lean_dec(v_unused_7596_); -v___x_7588_ = v___x_7586_; -v_isShared_7589_ = v_isSharedCheck_7595_; -goto v_resetjp_7587_; -} -else -{ -lean_dec(v___x_7586_); -v___x_7588_ = lean_box(0); -v_isShared_7589_ = v_isSharedCheck_7595_; -goto v_resetjp_7587_; -} -v_resetjp_7587_: -{ -lean_object* v_fvarId_7590_; lean_object* v___x_7591_; lean_object* v___x_7593_; -v_fvarId_7590_ = lean_ctor_get(v_a_7584_, 0); -lean_inc(v_fvarId_7590_); -lean_dec(v_a_7584_); -v___x_7591_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_7591_, 0, v_fvarId_7590_); -if (v_isShared_7589_ == 0) -{ -lean_ctor_set(v___x_7588_, 0, v___x_7591_); -v___x_7593_ = v___x_7588_; -goto v_reusejp_7592_; -} -else -{ -lean_object* v_reuseFailAlloc_7594_; -v_reuseFailAlloc_7594_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7594_, 0, v___x_7591_); -v___x_7593_ = v_reuseFailAlloc_7594_; -goto v_reusejp_7592_; -} -v_reusejp_7592_: -{ -return v___x_7593_; -} -} -} -else -{ -lean_object* v_a_7597_; lean_object* v___x_7599_; uint8_t v_isShared_7600_; uint8_t v_isSharedCheck_7604_; -lean_dec(v_a_7584_); -v_a_7597_ = lean_ctor_get(v___x_7586_, 0); -v_isSharedCheck_7604_ = !lean_is_exclusive(v___x_7586_); -if (v_isSharedCheck_7604_ == 0) -{ -v___x_7599_ = v___x_7586_; -v_isShared_7600_ = v_isSharedCheck_7604_; -goto v_resetjp_7598_; -} -else -{ -lean_inc(v_a_7597_); -lean_dec(v___x_7586_); -v___x_7599_ = lean_box(0); -v_isShared_7600_ = v_isSharedCheck_7604_; -goto v_resetjp_7598_; -} -v_resetjp_7598_: -{ -lean_object* v___x_7602_; -if (v_isShared_7600_ == 0) -{ -v___x_7602_ = v___x_7599_; -goto v_reusejp_7601_; -} -else -{ -lean_object* v_reuseFailAlloc_7603_; -v_reuseFailAlloc_7603_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7603_, 0, v_a_7597_); -v___x_7602_ = v_reuseFailAlloc_7603_; -goto v_reusejp_7601_; -} -v_reusejp_7601_: -{ -return v___x_7602_; -} -} -} -} -else -{ -lean_object* v_a_7605_; lean_object* v___x_7607_; uint8_t v_isShared_7608_; uint8_t v_isSharedCheck_7612_; -lean_dec(v_a_7573_); -v_a_7605_ = lean_ctor_get(v___x_7583_, 0); -v_isSharedCheck_7612_ = !lean_is_exclusive(v___x_7583_); -if (v_isSharedCheck_7612_ == 0) -{ -v___x_7607_ = v___x_7583_; -v_isShared_7608_ = v_isSharedCheck_7612_; -goto v_resetjp_7606_; -} -else -{ -lean_inc(v_a_7605_); -lean_dec(v___x_7583_); -v___x_7607_ = lean_box(0); -v_isShared_7608_ = v_isSharedCheck_7612_; -goto v_resetjp_7606_; -} -v_resetjp_7606_: -{ -lean_object* v___x_7610_; -if (v_isShared_7608_ == 0) -{ -v___x_7610_ = v___x_7607_; -goto v_reusejp_7609_; -} -else -{ -lean_object* v_reuseFailAlloc_7611_; -v_reuseFailAlloc_7611_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7611_, 0, v_a_7605_); -v___x_7610_ = v_reuseFailAlloc_7611_; -goto v_reusejp_7609_; -} -v_reusejp_7609_: -{ -return v___x_7610_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object* v_e_7617_, lean_object* v_xs_7618_, uint8_t v_a_7619_, lean_object* v_a_7620_, lean_object* v_a_7621_, lean_object* v_a_7622_, lean_object* v_a_7623_, lean_object* v_a_7624_){ -_start: -{ -if (lean_obj_tag(v_e_7617_) == 8) -{ -lean_object* v_declName_7626_; lean_object* v_type_7627_; lean_object* v_value_7628_; lean_object* v_body_7629_; lean_object* v___x_7630_; lean_object* v_lctx_7631_; lean_object* v___x_7632_; lean_object* v___x_7633_; uint8_t v___x_7634_; lean_object* v___x_7635_; lean_object* v___x_7636_; lean_object* v___x_7637_; uint8_t v___x_7638_; lean_object* v___x_7639_; lean_object* v___x_7640_; lean_object* v___x_7641_; lean_object* v___x_7642_; lean_object* v___x_7643_; lean_object* v_type_7644_; lean_object* v_value_7645_; uint8_t v_a_7650_; lean_object* v___x_7688_; -v_declName_7626_ = lean_ctor_get(v_e_7617_, 0); -lean_inc(v_declName_7626_); -v_type_7627_ = lean_ctor_get(v_e_7617_, 1); -lean_inc_ref(v_type_7627_); -v_value_7628_ = lean_ctor_get(v_e_7617_, 2); -lean_inc_ref(v_value_7628_); -v_body_7629_ = lean_ctor_get(v_e_7617_, 3); -lean_inc_ref(v_body_7629_); -lean_dec_ref(v_e_7617_); -v___x_7630_ = lean_st_ref_get(v_a_7620_); -v_lctx_7631_ = lean_ctor_get(v___x_7630_, 0); -lean_inc_ref(v_lctx_7631_); -lean_dec(v___x_7630_); -v___x_7632_ = lean_box(1); -v___x_7633_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_7634_ = 0; -v___x_7635_ = lean_unsigned_to_nat(0u); -v___x_7636_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_7637_ = lean_box(0); -v___x_7638_ = 1; -v___x_7639_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_7639_, 0, v___x_7633_); -lean_ctor_set(v___x_7639_, 1, v___x_7632_); -lean_ctor_set(v___x_7639_, 2, v_lctx_7631_); -lean_ctor_set(v___x_7639_, 3, v___x_7636_); -lean_ctor_set(v___x_7639_, 4, v___x_7637_); -lean_ctor_set(v___x_7639_, 5, v___x_7635_); -lean_ctor_set(v___x_7639_, 6, v___x_7637_); -lean_ctor_set_uint8(v___x_7639_, sizeof(void*)*7, v___x_7634_); -lean_ctor_set_uint8(v___x_7639_, sizeof(void*)*7 + 1, v___x_7634_); -lean_ctor_set_uint8(v___x_7639_, sizeof(void*)*7 + 2, v___x_7634_); -lean_ctor_set_uint8(v___x_7639_, sizeof(void*)*7 + 3, v___x_7638_); -v___x_7640_ = lean_unsigned_to_nat(32u); -v___x_7641_ = lean_mk_empty_array_with_capacity(v___x_7640_); -lean_dec_ref(v___x_7641_); -v___x_7642_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_7643_ = lean_st_mk_ref(v___x_7642_); -v_type_7644_ = lean_expr_instantiate_rev(v_type_7627_, v_xs_7618_); -lean_dec_ref(v_type_7627_); -v_value_7645_ = lean_expr_instantiate_rev(v_value_7628_, v_xs_7618_); -lean_dec_ref(v_value_7628_); -lean_inc(v_a_7624_); -lean_inc_ref(v_a_7623_); -lean_inc(v___x_7643_); -lean_inc_ref(v_type_7644_); -v___x_7688_ = l_Lean_Meta_isProp(v_type_7644_, v___x_7639_, v___x_7643_, v_a_7623_, v_a_7624_); -if (lean_obj_tag(v___x_7688_) == 0) -{ -lean_object* v_a_7689_; lean_object* v___x_7690_; uint8_t v___x_7691_; -v_a_7689_ = lean_ctor_get(v___x_7688_, 0); -lean_inc(v_a_7689_); -lean_dec_ref(v___x_7688_); -v___x_7690_ = lean_st_ref_get(v___x_7643_); -lean_dec(v___x_7643_); -lean_dec(v___x_7690_); -v___x_7691_ = lean_unbox(v_a_7689_); -lean_dec(v_a_7689_); -v_a_7650_ = v___x_7691_; -goto v___jp_7649_; -} -else -{ -lean_dec(v___x_7643_); -if (lean_obj_tag(v___x_7688_) == 0) -{ -lean_object* v_a_7692_; uint8_t v___x_7693_; -v_a_7692_ = lean_ctor_get(v___x_7688_, 0); -lean_inc(v_a_7692_); -lean_dec_ref(v___x_7688_); -v___x_7693_ = lean_unbox(v_a_7692_); -lean_dec(v_a_7692_); -v_a_7650_ = v___x_7693_; -goto v___jp_7649_; -} -else -{ -lean_object* v_a_7694_; lean_object* v___x_7696_; uint8_t v_isShared_7697_; uint8_t v_isSharedCheck_7701_; -lean_dec_ref(v_value_7645_); -lean_dec_ref(v_type_7644_); -lean_dec_ref(v_body_7629_); -lean_dec(v_declName_7626_); -lean_dec(v_a_7624_); -lean_dec_ref(v_a_7623_); -lean_dec(v_a_7622_); -lean_dec_ref(v_a_7621_); -lean_dec(v_a_7620_); -lean_dec_ref(v_xs_7618_); -v_a_7694_ = lean_ctor_get(v___x_7688_, 0); -v_isSharedCheck_7701_ = !lean_is_exclusive(v___x_7688_); -if (v_isSharedCheck_7701_ == 0) -{ -v___x_7696_ = v___x_7688_; -v_isShared_7697_ = v_isSharedCheck_7701_; -goto v_resetjp_7695_; -} -else -{ -lean_inc(v_a_7694_); -lean_dec(v___x_7688_); -v___x_7696_ = lean_box(0); -v_isShared_7697_ = v_isSharedCheck_7701_; -goto v_resetjp_7695_; -} -v_resetjp_7695_: -{ -lean_object* v___x_7699_; -if (v_isShared_7697_ == 0) -{ -v___x_7699_ = v___x_7696_; -goto v_reusejp_7698_; -} -else -{ -lean_object* v_reuseFailAlloc_7700_; -v_reuseFailAlloc_7700_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7700_, 0, v_a_7694_); -v___x_7699_ = v_reuseFailAlloc_7700_; -goto v_reusejp_7698_; -} -v_reusejp_7698_: -{ -return v___x_7699_; -} -} -} -} -v___jp_7646_: -{ -lean_object* v___x_7647_; -v___x_7647_ = lean_array_push(v_xs_7618_, v_value_7645_); -v_e_7617_ = v_body_7629_; -v_xs_7618_ = v___x_7647_; -goto _start; -} -v___jp_7649_: -{ -if (v_a_7650_ == 0) -{ -lean_object* v___x_7651_; -lean_inc(v_a_7624_); -lean_inc_ref(v_a_7623_); -lean_inc_ref(v_type_7644_); -v___x_7651_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_7644_, v_a_7620_, v_a_7623_, v_a_7624_); -if (lean_obj_tag(v___x_7651_) == 0) -{ -lean_object* v_a_7652_; uint8_t v___x_7653_; -v_a_7652_ = lean_ctor_get(v___x_7651_, 0); -lean_inc(v_a_7652_); -lean_dec_ref(v___x_7651_); -v___x_7653_ = lean_unbox(v_a_7652_); -lean_dec(v_a_7652_); -if (v___x_7653_ == 0) -{ -lean_object* v___x_7654_; -lean_inc(v_a_7624_); -lean_inc_ref(v_a_7623_); -lean_inc_ref(v_type_7644_); -v___x_7654_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_7644_, v_a_7620_, v_a_7623_, v_a_7624_); -if (lean_obj_tag(v___x_7654_) == 0) -{ -lean_object* v_a_7655_; lean_object* v___x_7656_; -v_a_7655_ = lean_ctor_get(v___x_7654_, 0); -lean_inc(v_a_7655_); -lean_dec_ref(v___x_7654_); -lean_inc(v_a_7624_); -lean_inc_ref(v_a_7623_); -lean_inc(v_a_7622_); -lean_inc_ref(v_a_7621_); -lean_inc(v_a_7620_); -lean_inc_ref(v_value_7645_); -v___x_7656_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_value_7645_, v_a_7619_, v_a_7620_, v_a_7621_, v_a_7622_, v_a_7623_, v_a_7624_); -if (lean_obj_tag(v___x_7656_) == 0) -{ -lean_object* v_a_7657_; lean_object* v___x_7658_; -v_a_7657_ = lean_ctor_get(v___x_7656_, 0); -lean_inc(v_a_7657_); -lean_dec_ref(v___x_7656_); -v___x_7658_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_declName_7626_, v_type_7644_, v_value_7645_, v_a_7655_, v_a_7657_, v_a_7620_, v_a_7621_, v_a_7622_, v_a_7623_, v_a_7624_); -lean_dec(v_a_7657_); -if (lean_obj_tag(v___x_7658_) == 0) -{ -lean_object* v_a_7659_; lean_object* v_fvarId_7660_; lean_object* v___x_7661_; lean_object* v___x_7662_; -v_a_7659_ = lean_ctor_get(v___x_7658_, 0); -lean_inc(v_a_7659_); -lean_dec_ref(v___x_7658_); -v_fvarId_7660_ = lean_ctor_get(v_a_7659_, 0); -lean_inc(v_fvarId_7660_); -lean_dec(v_a_7659_); -v___x_7661_ = l_Lean_Expr_fvar___override(v_fvarId_7660_); -v___x_7662_ = lean_array_push(v_xs_7618_, v___x_7661_); -v_e_7617_ = v_body_7629_; -v_xs_7618_ = v___x_7662_; -goto _start; -} -else -{ -lean_object* v_a_7664_; lean_object* v___x_7666_; uint8_t v_isShared_7667_; uint8_t v_isSharedCheck_7671_; -lean_dec_ref(v_body_7629_); -lean_dec(v_a_7624_); -lean_dec_ref(v_a_7623_); -lean_dec(v_a_7622_); -lean_dec_ref(v_a_7621_); -lean_dec(v_a_7620_); -lean_dec_ref(v_xs_7618_); -v_a_7664_ = lean_ctor_get(v___x_7658_, 0); -v_isSharedCheck_7671_ = !lean_is_exclusive(v___x_7658_); -if (v_isSharedCheck_7671_ == 0) -{ -v___x_7666_ = v___x_7658_; -v_isShared_7667_ = v_isSharedCheck_7671_; -goto v_resetjp_7665_; -} -else -{ -lean_inc(v_a_7664_); -lean_dec(v___x_7658_); +lean_object* v___x_7666_; lean_object* v___x_7668_; +lean_dec(v_a_7646_); +lean_dec(v___y_7634_); +lean_dec_ref(v___y_7633_); +lean_dec(v___y_7632_); +lean_dec_ref(v___y_7631_); +lean_dec(v___y_7630_); +lean_dec_ref(v_x_7627_); v___x_7666_ = lean_box(0); -v_isShared_7667_ = v_isSharedCheck_7671_; -goto v_resetjp_7665_; -} -v_resetjp_7665_: +if (v_isShared_7649_ == 0) { -lean_object* v___x_7669_; -if (v_isShared_7667_ == 0) -{ -v___x_7669_ = v___x_7666_; -goto v_reusejp_7668_; +lean_ctor_set(v___x_7648_, 0, v___x_7666_); +v___x_7668_ = v___x_7648_; +goto v_reusejp_7667_; } else { -lean_object* v_reuseFailAlloc_7670_; -v_reuseFailAlloc_7670_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7670_, 0, v_a_7664_); -v___x_7669_ = v_reuseFailAlloc_7670_; -goto v_reusejp_7668_; +lean_object* v_reuseFailAlloc_7669_; +v_reuseFailAlloc_7669_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7669_, 0, v___x_7666_); +v___x_7668_ = v_reuseFailAlloc_7669_; +goto v_reusejp_7667_; } -v_reusejp_7668_: +v_reusejp_7667_: { -return v___x_7669_; +return v___x_7668_; } } } } else { -lean_dec(v_a_7655_); -lean_dec_ref(v_value_7645_); -lean_dec_ref(v_type_7644_); -lean_dec_ref(v_body_7629_); -lean_dec(v_declName_7626_); -lean_dec(v_a_7624_); -lean_dec_ref(v_a_7623_); -lean_dec(v_a_7622_); -lean_dec_ref(v_a_7621_); -lean_dec(v_a_7620_); -lean_dec_ref(v_xs_7618_); -return v___x_7656_; -} -} -else -{ -lean_object* v_a_7672_; lean_object* v___x_7674_; uint8_t v_isShared_7675_; uint8_t v_isSharedCheck_7679_; -lean_dec_ref(v_value_7645_); -lean_dec_ref(v_type_7644_); -lean_dec_ref(v_body_7629_); -lean_dec(v_declName_7626_); -lean_dec(v_a_7624_); -lean_dec_ref(v_a_7623_); -lean_dec(v_a_7622_); -lean_dec_ref(v_a_7621_); -lean_dec(v_a_7620_); -lean_dec_ref(v_xs_7618_); -v_a_7672_ = lean_ctor_get(v___x_7654_, 0); -v_isSharedCheck_7679_ = !lean_is_exclusive(v___x_7654_); -if (v_isSharedCheck_7679_ == 0) -{ -v___x_7674_ = v___x_7654_; -v_isShared_7675_ = v_isSharedCheck_7679_; -goto v_resetjp_7673_; -} -else -{ -lean_inc(v_a_7672_); -lean_dec(v___x_7654_); -v___x_7674_ = lean_box(0); -v_isShared_7675_ = v_isSharedCheck_7679_; -goto v_resetjp_7673_; -} -v_resetjp_7673_: -{ -lean_object* v___x_7677_; -if (v_isShared_7675_ == 0) -{ -v___x_7677_ = v___x_7674_; -goto v_reusejp_7676_; -} -else -{ -lean_object* v_reuseFailAlloc_7678_; -v_reuseFailAlloc_7678_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7678_, 0, v_a_7672_); -v___x_7677_ = v_reuseFailAlloc_7678_; -goto v_reusejp_7676_; -} -v_reusejp_7676_: -{ -return v___x_7677_; +lean_dec(v___y_7634_); +lean_dec_ref(v___y_7633_); +lean_dec(v___y_7632_); +lean_dec_ref(v___y_7631_); +lean_dec(v___y_7630_); +lean_dec_ref(v_x_7627_); +return v___x_7645_; } } } } -else -{ -lean_dec_ref(v_type_7644_); -lean_dec(v_declName_7626_); -goto v___jp_7646_; -} -} -else -{ -lean_object* v_a_7680_; lean_object* v___x_7682_; uint8_t v_isShared_7683_; uint8_t v_isSharedCheck_7687_; -lean_dec_ref(v_value_7645_); -lean_dec_ref(v_type_7644_); -lean_dec_ref(v_body_7629_); -lean_dec(v_declName_7626_); -lean_dec(v_a_7624_); -lean_dec_ref(v_a_7623_); -lean_dec(v_a_7622_); -lean_dec_ref(v_a_7621_); -lean_dec(v_a_7620_); -lean_dec_ref(v_xs_7618_); -v_a_7680_ = lean_ctor_get(v___x_7651_, 0); -v_isSharedCheck_7687_ = !lean_is_exclusive(v___x_7651_); -if (v_isSharedCheck_7687_ == 0) -{ -v___x_7682_ = v___x_7651_; -v_isShared_7683_ = v_isSharedCheck_7687_; -goto v_resetjp_7681_; -} -else -{ -lean_inc(v_a_7680_); -lean_dec(v___x_7651_); -v___x_7682_ = lean_box(0); -v_isShared_7683_ = v_isSharedCheck_7687_; -goto v_resetjp_7681_; -} -v_resetjp_7681_: -{ -lean_object* v___x_7685_; -if (v_isShared_7683_ == 0) -{ -v___x_7685_ = v___x_7682_; -goto v_reusejp_7684_; -} -else -{ -lean_object* v_reuseFailAlloc_7686_; -v_reuseFailAlloc_7686_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7686_, 0, v_a_7680_); -v___x_7685_ = v_reuseFailAlloc_7686_; -goto v_reusejp_7684_; -} -v_reusejp_7684_: -{ -return v___x_7685_; -} -} -} -} -else -{ -lean_dec_ref(v_type_7644_); -lean_dec(v_declName_7626_); -goto v___jp_7646_; -} -} -} -else -{ -lean_object* v_e_7702_; lean_object* v___x_7703_; -v_e_7702_ = lean_expr_instantiate_rev(v_e_7617_, v_xs_7618_); -lean_dec_ref(v_xs_7618_); -lean_dec_ref(v_e_7617_); -v___x_7703_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_7702_, v_a_7619_, v_a_7620_, v_a_7621_, v_a_7622_, v_a_7623_, v_a_7624_); -return v___x_7703_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object* v_s_7704_, lean_object* v_i_7705_, lean_object* v_e_7706_, uint8_t v_a_7707_, lean_object* v_a_7708_, lean_object* v_a_7709_, lean_object* v_a_7710_, lean_object* v_a_7711_, lean_object* v_a_7712_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object* v_e_7671_, lean_object* v_a_7672_, lean_object* v_a_7673_, lean_object* v_a_7674_, lean_object* v_a_7675_, lean_object* v_a_7676_, lean_object* v_a_7677_){ _start: { -uint8_t v___x_7714_; -v___x_7714_ = l_Lean_Compiler_LCNF_isRuntimeBuiltinType(v_s_7704_); -if (v___x_7714_ == 0) +lean_object* v___x_7679_; lean_object* v_env_7680_; lean_object* v___x_7681_; lean_object* v___x_7682_; +v___x_7679_ = lean_st_ref_get(v_a_7677_); +v_env_7680_ = lean_ctor_get(v___x_7679_, 0); +lean_inc_ref(v_env_7680_); +lean_dec(v___x_7679_); +v___x_7681_ = l_Lean_Expr_getAppFn(v_e_7671_); +lean_inc(v_a_7677_); +lean_inc_ref(v_a_7676_); +v___x_7682_ = l_Lean_Compiler_CSimp_replaceConstant(v_env_7680_, v___x_7681_, v_a_7676_, v_a_7677_); +if (lean_obj_tag(v___x_7682_) == 0) { -lean_object* v___x_7715_; -lean_inc(v_a_7712_); -lean_inc_ref(v_a_7711_); -lean_inc(v_a_7710_); -lean_inc_ref(v_a_7709_); -lean_inc(v_a_7708_); -v___x_7715_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_7706_, v_a_7707_, v_a_7708_, v_a_7709_, v_a_7710_, v_a_7711_, v_a_7712_); -if (lean_obj_tag(v___x_7715_) == 0) +lean_object* v_a_7683_; +v_a_7683_ = lean_ctor_get(v___x_7682_, 0); +lean_inc(v_a_7683_); +lean_dec_ref(v___x_7682_); +if (lean_obj_tag(v_a_7683_) == 4) { -lean_object* v_a_7716_; lean_object* v___x_7718_; uint8_t v_isShared_7719_; uint8_t v_isSharedCheck_7728_; -v_a_7716_ = lean_ctor_get(v___x_7715_, 0); -v_isSharedCheck_7728_ = !lean_is_exclusive(v___x_7715_); -if (v_isSharedCheck_7728_ == 0) +lean_object* v_declName_7684_; lean_object* v___x_7685_; +v_declName_7684_ = lean_ctor_get(v_a_7683_, 0); +lean_inc(v_declName_7684_); +lean_dec_ref(v_a_7683_); +lean_inc(v_declName_7684_); +v___x_7685_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_checkComputable(v_declName_7684_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +if (lean_obj_tag(v___x_7685_) == 0) { -v___x_7718_ = v___x_7715_; -v_isShared_7719_ = v_isSharedCheck_7728_; -goto v_resetjp_7717_; +lean_object* v___x_7689_; uint8_t v___x_7690_; +lean_dec_ref(v___x_7685_); +v___x_7689_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__0)); +v___x_7690_ = lean_name_eq(v_declName_7684_, v___x_7689_); +if (v___x_7690_ == 0) +{ +lean_object* v___x_7691_; uint8_t v___x_7692_; +v___x_7691_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1)); +v___x_7692_ = lean_name_eq(v_declName_7684_, v___x_7691_); +if (v___x_7692_ == 0) +{ +lean_object* v___x_7693_; uint8_t v___x_7694_; +v___x_7693_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___closed__1)); +v___x_7694_ = lean_name_eq(v_declName_7684_, v___x_7693_); +if (v___x_7694_ == 0) +{ +lean_object* v___x_7695_; uint8_t v___x_7696_; +v___x_7695_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__3)); +v___x_7696_ = lean_name_eq(v_declName_7684_, v___x_7695_); +if (v___x_7696_ == 0) +{ +lean_object* v___x_7697_; uint8_t v___x_7698_; +v___x_7697_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2)); +v___x_7698_ = lean_name_eq(v_declName_7684_, v___x_7697_); +if (v___x_7698_ == 0) +{ +lean_object* v___x_7699_; uint8_t v___x_7700_; +v___x_7699_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__1)); +v___x_7700_ = lean_name_eq(v_declName_7684_, v___x_7699_); +if (v___x_7700_ == 0) +{ +lean_object* v___x_7701_; uint8_t v___x_7702_; +v___x_7701_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___closed__2)); +v___x_7702_ = lean_name_eq(v_declName_7684_, v___x_7701_); +if (v___x_7702_ == 0) +{ +lean_object* v___x_7703_; uint8_t v___x_7704_; +v___x_7703_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__5)); +v___x_7704_ = lean_name_eq(v_declName_7684_, v___x_7703_); +if (v___x_7704_ == 0) +{ +lean_object* v___x_7705_; uint8_t v___x_7706_; +v___x_7705_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__7)); +v___x_7706_ = lean_name_eq(v_declName_7684_, v___x_7705_); +if (v___x_7706_ == 0) +{ +lean_object* v___x_7707_; uint8_t v___x_7708_; +v___x_7707_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__9)); +v___x_7708_ = lean_name_eq(v_declName_7684_, v___x_7707_); +if (v___x_7708_ == 0) +{ +lean_object* v___x_7709_; uint8_t v___x_7710_; +v___x_7709_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__11)); +v___x_7710_ = lean_name_eq(v_declName_7684_, v___x_7709_); +if (v___x_7710_ == 0) +{ +lean_object* v___x_7711_; uint8_t v___x_7712_; +v___x_7711_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13)); +v___x_7712_ = lean_name_eq(v_declName_7684_, v___x_7711_); +if (v___x_7712_ == 0) +{ +lean_object* v___x_7713_; +lean_inc(v_a_7677_); +lean_inc_ref(v_a_7676_); +lean_inc(v_declName_7684_); +v___x_7713_ = l_getCasesInfo_x3f(v_declName_7684_, v_a_7676_, v_a_7677_); +if (lean_obj_tag(v___x_7713_) == 0) +{ +lean_object* v_a_7714_; +v_a_7714_ = lean_ctor_get(v___x_7713_, 0); +lean_inc(v_a_7714_); +lean_dec_ref(v___x_7713_); +if (lean_obj_tag(v_a_7714_) == 1) +{ +lean_object* v_val_7715_; lean_object* v___x_7716_; +lean_dec(v_declName_7684_); +v_val_7715_ = lean_ctor_get(v_a_7714_, 0); +lean_inc(v_val_7715_); +lean_dec_ref(v_a_7714_); +v___x_7716_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(v_val_7715_, v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7716_; } else { -lean_inc(v_a_7716_); -lean_dec(v___x_7715_); -v___x_7718_ = lean_box(0); -v_isShared_7719_ = v_isSharedCheck_7728_; -goto v_resetjp_7717_; -} -v_resetjp_7717_: +lean_object* v___x_7717_; +lean_dec(v_a_7714_); +lean_inc_ref(v_a_7676_); +lean_inc(v_declName_7684_); +v___x_7717_ = l_Lean_Compiler_LCNF_getCtorArity_x3f(v_declName_7684_, v_a_7676_, v_a_7677_); +if (lean_obj_tag(v___x_7717_) == 0) { -if (lean_obj_tag(v_a_7716_) == 1) +lean_object* v_a_7718_; +v_a_7718_ = lean_ctor_get(v___x_7717_, 0); +lean_inc(v_a_7718_); +lean_dec_ref(v___x_7717_); +if (lean_obj_tag(v_a_7718_) == 1) { -lean_object* v_fvarId_7720_; lean_object* v___x_7721_; lean_object* v___x_7722_; lean_object* v___x_7723_; -lean_del_object(v___x_7718_); -v_fvarId_7720_ = lean_ctor_get(v_a_7716_, 0); -lean_inc(v_fvarId_7720_); -lean_dec_ref(v_a_7716_); -v___x_7721_ = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(v___x_7721_, 0, v_s_7704_); -lean_ctor_set(v___x_7721_, 1, v_i_7705_); -lean_ctor_set(v___x_7721_, 2, v_fvarId_7720_); -v___x_7722_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); -v___x_7723_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_7721_, v___x_7722_, v_a_7708_, v_a_7709_, v_a_7710_, v_a_7711_, v_a_7712_); -lean_dec(v_a_7708_); -return v___x_7723_; +lean_object* v_val_7719_; lean_object* v___x_7720_; +lean_dec(v_declName_7684_); +v_val_7719_ = lean_ctor_get(v_a_7718_, 0); +lean_inc(v_val_7719_); +lean_dec_ref(v_a_7718_); +v___x_7720_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v_val_7719_, v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +lean_dec(v_val_7719_); +return v___x_7720_; } else { -lean_object* v___x_7724_; lean_object* v___x_7726_; -lean_dec(v_a_7716_); -lean_dec(v_a_7712_); -lean_dec_ref(v_a_7711_); -lean_dec(v_a_7710_); -lean_dec_ref(v_a_7709_); -lean_dec(v_a_7708_); -lean_dec(v_i_7705_); -lean_dec(v_s_7704_); -v___x_7724_ = lean_box(0); -if (v_isShared_7719_ == 0) +lean_object* v___x_7721_; lean_object* v_env_7722_; uint8_t v___x_7723_; +lean_dec(v_a_7718_); +v___x_7721_ = lean_st_ref_get(v_a_7677_); +v_env_7722_ = lean_ctor_get(v___x_7721_, 0); +lean_inc_ref(v_env_7722_); +lean_dec(v___x_7721_); +lean_inc(v_declName_7684_); +v___x_7723_ = l_Lean_isNoConfusion(v_env_7722_, v_declName_7684_); +if (v___x_7723_ == 0) { -lean_ctor_set(v___x_7718_, 0, v___x_7724_); -v___x_7726_ = v___x_7718_; -goto v_reusejp_7725_; +lean_object* v___x_7724_; +v___x_7724_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_7684_, v_a_7677_); +if (lean_obj_tag(v___x_7724_) == 0) +{ +lean_object* v_a_7725_; +v_a_7725_ = lean_ctor_get(v___x_7724_, 0); +lean_inc(v_a_7725_); +lean_dec_ref(v___x_7724_); +if (lean_obj_tag(v_a_7725_) == 1) +{ +lean_object* v_val_7726_; lean_object* v___x_7727_; +v_val_7726_ = lean_ctor_get(v_a_7725_, 0); +lean_inc(v_val_7726_); +lean_dec_ref(v_a_7725_); +v___x_7727_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(v_val_7726_, v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +lean_dec(v_val_7726_); +return v___x_7727_; } else { -lean_object* v_reuseFailAlloc_7727_; -v_reuseFailAlloc_7727_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7727_, 0, v___x_7724_); -v___x_7726_ = v_reuseFailAlloc_7727_; -goto v_reusejp_7725_; +lean_object* v_dummy_7728_; lean_object* v_nargs_7729_; lean_object* v___x_7730_; lean_object* v___x_7731_; lean_object* v___x_7732_; lean_object* v___x_7733_; +lean_dec(v_a_7725_); +v_dummy_7728_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_7729_ = l_Lean_Expr_getAppNumArgs(v_e_7671_); +lean_inc(v_nargs_7729_); +v___x_7730_ = lean_mk_array(v_nargs_7729_, v_dummy_7728_); +v___x_7731_ = lean_unsigned_to_nat(1u); +v___x_7732_ = lean_nat_sub(v_nargs_7729_, v___x_7731_); +lean_dec(v_nargs_7729_); +v___x_7733_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(v_e_7671_, v___x_7730_, v___x_7732_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7733_; } -v_reusejp_7725_: +} +else { -return v___x_7726_; +lean_object* v_a_7734_; lean_object* v___x_7736_; uint8_t v_isShared_7737_; uint8_t v_isSharedCheck_7741_; +lean_dec(v_a_7677_); +lean_dec_ref(v_a_7676_); +lean_dec(v_a_7675_); +lean_dec_ref(v_a_7674_); +lean_dec(v_a_7673_); +lean_dec_ref(v_a_7672_); +lean_dec_ref(v_e_7671_); +v_a_7734_ = lean_ctor_get(v___x_7724_, 0); +v_isSharedCheck_7741_ = !lean_is_exclusive(v___x_7724_); +if (v_isSharedCheck_7741_ == 0) +{ +v___x_7736_ = v___x_7724_; +v_isShared_7737_ = v_isSharedCheck_7741_; +goto v_resetjp_7735_; +} +else +{ +lean_inc(v_a_7734_); +lean_dec(v___x_7724_); +v___x_7736_ = lean_box(0); +v_isShared_7737_ = v_isSharedCheck_7741_; +goto v_resetjp_7735_; +} +v_resetjp_7735_: +{ +lean_object* v___x_7739_; +if (v_isShared_7737_ == 0) +{ +v___x_7739_ = v___x_7736_; +goto v_reusejp_7738_; +} +else +{ +lean_object* v_reuseFailAlloc_7740_; +v_reuseFailAlloc_7740_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7740_, 0, v_a_7734_); +v___x_7739_ = v_reuseFailAlloc_7740_; +goto v_reusejp_7738_; +} +v_reusejp_7738_: +{ +return v___x_7739_; } } } } else { -lean_dec(v_a_7712_); -lean_dec_ref(v_a_7711_); -lean_dec(v_a_7710_); -lean_dec_ref(v_a_7709_); -lean_dec(v_a_7708_); -lean_dec(v_i_7705_); -lean_dec(v_s_7704_); -return v___x_7715_; +lean_object* v___x_7742_; +lean_dec(v_declName_7684_); +v___x_7742_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7742_; +} } } else { -lean_object* v___x_7729_; lean_object* v___x_7730_; lean_object* v_lctx_7731_; lean_object* v___x_7732_; lean_object* v___x_7733_; uint8_t v___x_7734_; lean_object* v___x_7735_; lean_object* v___x_7736_; lean_object* v___x_7737_; lean_object* v___x_7738_; lean_object* v___x_7739_; lean_object* v___x_7740_; lean_object* v___x_7741_; lean_object* v___x_7742_; lean_object* v_env_7743_; lean_object* v___x_7744_; lean_object* v_fieldNames_7745_; lean_object* v___x_7746_; lean_object* v___x_7747_; lean_object* v___x_7748_; -v___x_7729_ = lean_st_ref_get(v_a_7712_); -v___x_7730_ = lean_st_ref_get(v_a_7708_); -v_lctx_7731_ = lean_ctor_get(v___x_7730_, 0); -lean_inc_ref(v_lctx_7731_); -lean_dec(v___x_7730_); -v___x_7732_ = lean_box(1); -v___x_7733_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_7734_ = 0; -v___x_7735_ = lean_unsigned_to_nat(0u); -v___x_7736_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_7737_ = lean_box(0); -v___x_7738_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_7738_, 0, v___x_7733_); -lean_ctor_set(v___x_7738_, 1, v___x_7732_); -lean_ctor_set(v___x_7738_, 2, v_lctx_7731_); -lean_ctor_set(v___x_7738_, 3, v___x_7736_); -lean_ctor_set(v___x_7738_, 4, v___x_7737_); -lean_ctor_set(v___x_7738_, 5, v___x_7735_); -lean_ctor_set(v___x_7738_, 6, v___x_7737_); -lean_ctor_set_uint8(v___x_7738_, sizeof(void*)*7, v___x_7734_); -lean_ctor_set_uint8(v___x_7738_, sizeof(void*)*7 + 1, v___x_7734_); -lean_ctor_set_uint8(v___x_7738_, sizeof(void*)*7 + 2, v___x_7734_); -lean_ctor_set_uint8(v___x_7738_, sizeof(void*)*7 + 3, v___x_7714_); -v___x_7739_ = lean_unsigned_to_nat(32u); -v___x_7740_ = lean_mk_empty_array_with_capacity(v___x_7739_); -lean_dec_ref(v___x_7740_); -v___x_7741_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_7742_ = lean_st_mk_ref(v___x_7741_); -v_env_7743_ = lean_ctor_get(v___x_7729_, 0); -lean_inc_ref(v_env_7743_); -lean_dec(v___x_7729_); -v___x_7744_ = l_Lean_getStructureInfo(v_env_7743_, v_s_7704_); -v_fieldNames_7745_ = lean_ctor_get(v___x_7744_, 1); -lean_inc_ref(v_fieldNames_7745_); -lean_dec_ref(v___x_7744_); -v___x_7746_ = lean_box(0); -v___x_7747_ = lean_array_get(v___x_7746_, v_fieldNames_7745_, v_i_7705_); -lean_dec(v_i_7705_); -lean_dec_ref(v_fieldNames_7745_); -lean_inc(v_a_7712_); -lean_inc_ref(v_a_7711_); -lean_inc(v___x_7742_); -v___x_7748_ = l_Lean_Meta_mkProjection(v_e_7706_, v___x_7747_, v___x_7738_, v___x_7742_, v_a_7711_, v_a_7712_); -if (lean_obj_tag(v___x_7748_) == 0) +lean_object* v_a_7743_; lean_object* v___x_7745_; uint8_t v_isShared_7746_; uint8_t v_isSharedCheck_7750_; +lean_dec(v_declName_7684_); +lean_dec(v_a_7677_); +lean_dec_ref(v_a_7676_); +lean_dec(v_a_7675_); +lean_dec_ref(v_a_7674_); +lean_dec(v_a_7673_); +lean_dec_ref(v_a_7672_); +lean_dec_ref(v_e_7671_); +v_a_7743_ = lean_ctor_get(v___x_7717_, 0); +v_isSharedCheck_7750_ = !lean_is_exclusive(v___x_7717_); +if (v_isSharedCheck_7750_ == 0) { -lean_object* v_a_7749_; lean_object* v___x_7750_; lean_object* v___x_7751_; -v_a_7749_ = lean_ctor_get(v___x_7748_, 0); -lean_inc(v_a_7749_); -lean_dec_ref(v___x_7748_); -v___x_7750_ = lean_st_ref_get(v___x_7742_); -lean_dec(v___x_7742_); -lean_dec(v___x_7750_); -v___x_7751_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_a_7749_, v_a_7707_, v_a_7708_, v_a_7709_, v_a_7710_, v_a_7711_, v_a_7712_); -return v___x_7751_; +v___x_7745_ = v___x_7717_; +v_isShared_7746_ = v_isSharedCheck_7750_; +goto v_resetjp_7744_; } else { -lean_dec(v___x_7742_); -if (lean_obj_tag(v___x_7748_) == 0) +lean_inc(v_a_7743_); +lean_dec(v___x_7717_); +v___x_7745_ = lean_box(0); +v_isShared_7746_ = v_isSharedCheck_7750_; +goto v_resetjp_7744_; +} +v_resetjp_7744_: { -lean_object* v_a_7752_; lean_object* v___x_7753_; -v_a_7752_ = lean_ctor_get(v___x_7748_, 0); -lean_inc(v_a_7752_); -lean_dec_ref(v___x_7748_); -v___x_7753_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_a_7752_, v_a_7707_, v_a_7708_, v_a_7709_, v_a_7710_, v_a_7711_, v_a_7712_); -return v___x_7753_; +lean_object* v___x_7748_; +if (v_isShared_7746_ == 0) +{ +v___x_7748_ = v___x_7745_; +goto v_reusejp_7747_; } else { -lean_object* v_a_7754_; lean_object* v___x_7756_; uint8_t v_isShared_7757_; uint8_t v_isSharedCheck_7761_; -lean_dec(v_a_7712_); -lean_dec_ref(v_a_7711_); -lean_dec(v_a_7710_); -lean_dec_ref(v_a_7709_); -lean_dec(v_a_7708_); -v_a_7754_ = lean_ctor_get(v___x_7748_, 0); -v_isSharedCheck_7761_ = !lean_is_exclusive(v___x_7748_); -if (v_isSharedCheck_7761_ == 0) +lean_object* v_reuseFailAlloc_7749_; +v_reuseFailAlloc_7749_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7749_, 0, v_a_7743_); +v___x_7748_ = v_reuseFailAlloc_7749_; +goto v_reusejp_7747_; +} +v_reusejp_7747_: { -v___x_7756_ = v___x_7748_; -v_isShared_7757_ = v_isSharedCheck_7761_; -goto v_resetjp_7755_; +return v___x_7748_; +} +} +} +} } else { -lean_inc(v_a_7754_); -lean_dec(v___x_7748_); -v___x_7756_ = lean_box(0); -v_isShared_7757_ = v_isSharedCheck_7761_; -goto v_resetjp_7755_; +lean_object* v_a_7751_; lean_object* v___x_7753_; uint8_t v_isShared_7754_; uint8_t v_isSharedCheck_7758_; +lean_dec(v_declName_7684_); +lean_dec(v_a_7677_); +lean_dec_ref(v_a_7676_); +lean_dec(v_a_7675_); +lean_dec_ref(v_a_7674_); +lean_dec(v_a_7673_); +lean_dec_ref(v_a_7672_); +lean_dec_ref(v_e_7671_); +v_a_7751_ = lean_ctor_get(v___x_7713_, 0); +v_isSharedCheck_7758_ = !lean_is_exclusive(v___x_7713_); +if (v_isSharedCheck_7758_ == 0) +{ +v___x_7753_ = v___x_7713_; +v_isShared_7754_ = v_isSharedCheck_7758_; +goto v_resetjp_7752_; } -v_resetjp_7755_: +else +{ +lean_inc(v_a_7751_); +lean_dec(v___x_7713_); +v___x_7753_ = lean_box(0); +v_isShared_7754_ = v_isSharedCheck_7758_; +goto v_resetjp_7752_; +} +v_resetjp_7752_: +{ +lean_object* v___x_7756_; +if (v_isShared_7754_ == 0) +{ +v___x_7756_ = v___x_7753_; +goto v_reusejp_7755_; +} +else +{ +lean_object* v_reuseFailAlloc_7757_; +v_reuseFailAlloc_7757_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7757_, 0, v_a_7751_); +v___x_7756_ = v_reuseFailAlloc_7757_; +goto v_reusejp_7755_; +} +v_reusejp_7755_: +{ +return v___x_7756_; +} +} +} +} +else { lean_object* v___x_7759_; -if (v_isShared_7757_ == 0) -{ -v___x_7759_ = v___x_7756_; -goto v_reusejp_7758_; +lean_dec(v_declName_7684_); +v___x_7759_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7759_; +} } else { -lean_object* v_reuseFailAlloc_7760_; -v_reuseFailAlloc_7760_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7760_, 0, v_a_7754_); -v___x_7759_ = v_reuseFailAlloc_7760_; -goto v_reusejp_7758_; +lean_object* v___x_7760_; +lean_dec(v_declName_7684_); +v___x_7760_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7760_; } -v_reusejp_7758_: +} +else { -return v___x_7759_; +lean_object* v___x_7761_; +lean_dec(v_declName_7684_); +v___x_7761_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7761_; +} +} +else +{ +lean_dec(v_declName_7684_); +goto v___jp_7686_; +} +} +else +{ +lean_dec(v_declName_7684_); +goto v___jp_7686_; +} +} +else +{ +lean_object* v___x_7762_; +lean_dec(v_declName_7684_); +v___x_7762_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7762_; +} +} +else +{ +lean_object* v___x_7763_; +lean_dec(v_declName_7684_); +v___x_7763_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7763_; +} +} +else +{ +lean_object* v___x_7764_; +lean_dec(v_declName_7684_); +v___x_7764_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7764_; +} +} +else +{ +lean_object* v___x_7765_; +lean_dec(v_declName_7684_); +v___x_7765_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7765_; +} +} +else +{ +lean_object* v___x_7766_; +lean_dec(v_declName_7684_); +v___x_7766_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7766_; +} +} +else +{ +lean_object* v___x_7767_; lean_object* v___x_7768_; +lean_dec(v_declName_7684_); +v___x_7767_ = lean_unsigned_to_nat(3u); +v___x_7768_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v___x_7767_, v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7768_; +} +} +else +{ +lean_object* v___x_7769_; +lean_dec(v_declName_7684_); +v___x_7769_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(v_e_7671_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7769_; +} +v___jp_7686_: +{ +lean_object* v___x_7687_; lean_object* v___x_7688_; +v___x_7687_ = lean_unsigned_to_nat(3u); +v___x_7688_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(v_e_7671_, v___x_7687_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +return v___x_7688_; +} +} +else +{ +lean_object* v_a_7770_; lean_object* v___x_7772_; uint8_t v_isShared_7773_; uint8_t v_isSharedCheck_7777_; +lean_dec(v_declName_7684_); +lean_dec(v_a_7677_); +lean_dec_ref(v_a_7676_); +lean_dec(v_a_7675_); +lean_dec_ref(v_a_7674_); +lean_dec(v_a_7673_); +lean_dec_ref(v_a_7672_); +lean_dec_ref(v_e_7671_); +v_a_7770_ = lean_ctor_get(v___x_7685_, 0); +v_isSharedCheck_7777_ = !lean_is_exclusive(v___x_7685_); +if (v_isSharedCheck_7777_ == 0) +{ +v___x_7772_ = v___x_7685_; +v_isShared_7773_ = v_isSharedCheck_7777_; +goto v_resetjp_7771_; +} +else +{ +lean_inc(v_a_7770_); +lean_dec(v___x_7685_); +v___x_7772_ = lean_box(0); +v_isShared_7773_ = v_isSharedCheck_7777_; +goto v_resetjp_7771_; +} +v_resetjp_7771_: +{ +lean_object* v___x_7775_; +if (v_isShared_7773_ == 0) +{ +v___x_7775_ = v___x_7772_; +goto v_reusejp_7774_; +} +else +{ +lean_object* v_reuseFailAlloc_7776_; +v_reuseFailAlloc_7776_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7776_, 0, v_a_7770_); +v___x_7775_ = v_reuseFailAlloc_7776_; +goto v_reusejp_7774_; +} +v_reusejp_7774_: +{ +return v___x_7775_; +} +} +} +} +else +{ +lean_object* v_dummy_7778_; lean_object* v_nargs_7779_; lean_object* v___x_7780_; lean_object* v___x_7781_; lean_object* v___x_7782_; lean_object* v___x_7783_; +lean_dec(v_a_7683_); +v_dummy_7778_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___closed__0); +v_nargs_7779_ = l_Lean_Expr_getAppNumArgs(v_e_7671_); +lean_inc(v_nargs_7779_); +v___x_7780_ = lean_mk_array(v_nargs_7779_, v_dummy_7778_); +v___x_7781_ = lean_unsigned_to_nat(1u); +v___x_7782_ = lean_nat_sub(v_nargs_7779_, v___x_7781_); +lean_dec(v_nargs_7779_); +v___x_7783_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(v_e_7671_, v___x_7780_, v___x_7782_, v_a_7672_, v_a_7673_, v_a_7674_, v_a_7675_, v_a_7676_, v_a_7677_); +lean_dec_ref(v_a_7672_); +return v___x_7783_; +} +} +else +{ +lean_object* v_a_7784_; lean_object* v___x_7786_; uint8_t v_isShared_7787_; uint8_t v_isSharedCheck_7791_; +lean_dec(v_a_7677_); +lean_dec_ref(v_a_7676_); +lean_dec(v_a_7675_); +lean_dec_ref(v_a_7674_); +lean_dec(v_a_7673_); +lean_dec_ref(v_a_7672_); +lean_dec_ref(v_e_7671_); +v_a_7784_ = lean_ctor_get(v___x_7682_, 0); +v_isSharedCheck_7791_ = !lean_is_exclusive(v___x_7682_); +if (v_isSharedCheck_7791_ == 0) +{ +v___x_7786_ = v___x_7682_; +v_isShared_7787_ = v_isSharedCheck_7791_; +goto v_resetjp_7785_; +} +else +{ +lean_inc(v_a_7784_); +lean_dec(v___x_7682_); +v___x_7786_ = lean_box(0); +v_isShared_7787_ = v_isSharedCheck_7791_; +goto v_resetjp_7785_; +} +v_resetjp_7785_: +{ +lean_object* v___x_7789_; +if (v_isShared_7787_ == 0) +{ +v___x_7789_ = v___x_7786_; +goto v_reusejp_7788_; +} +else +{ +lean_object* v_reuseFailAlloc_7790_; +v_reuseFailAlloc_7790_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7790_, 0, v_a_7784_); +v___x_7789_ = v_reuseFailAlloc_7790_; +goto v_reusejp_7788_; +} +v_reusejp_7788_: +{ +return v___x_7789_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(lean_object* v_e_7795_, lean_object* v___y_7796_, lean_object* v___y_7797_, lean_object* v___y_7798_, lean_object* v___y_7799_, lean_object* v___y_7800_, lean_object* v___y_7801_){ +_start: +{ +lean_object* v___x_7803_; +lean_inc(v___y_7801_); +lean_inc_ref(v___y_7800_); +lean_inc_ref(v___y_7796_); +v___x_7803_ = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(v_e_7795_, v___y_7796_, v___y_7797_, v___y_7798_, v___y_7799_, v___y_7800_, v___y_7801_); +if (lean_obj_tag(v___x_7803_) == 0) +{ +lean_object* v_a_7804_; lean_object* v_snd_7805_; lean_object* v_fst_7806_; lean_object* v_fst_7807_; lean_object* v_snd_7808_; uint8_t v_ignoreNoncomputable_7809_; lean_object* v___x_7811_; uint8_t v_isShared_7812_; uint8_t v_isSharedCheck_7838_; +v_a_7804_ = lean_ctor_get(v___x_7803_, 0); +lean_inc(v_a_7804_); +lean_dec_ref(v___x_7803_); +v_snd_7805_ = lean_ctor_get(v_a_7804_, 1); +lean_inc(v_snd_7805_); +v_fst_7806_ = lean_ctor_get(v_a_7804_, 0); +lean_inc(v_fst_7806_); +lean_dec(v_a_7804_); +v_fst_7807_ = lean_ctor_get(v_snd_7805_, 0); +lean_inc(v_fst_7807_); +v_snd_7808_ = lean_ctor_get(v_snd_7805_, 1); +lean_inc(v_snd_7808_); +lean_dec(v_snd_7805_); +v_ignoreNoncomputable_7809_ = lean_ctor_get_uint8(v___y_7796_, sizeof(void*)*1); +v_isSharedCheck_7838_ = !lean_is_exclusive(v___y_7796_); +if (v_isSharedCheck_7838_ == 0) +{ +lean_object* v_unused_7839_; +v_unused_7839_ = lean_ctor_get(v___y_7796_, 0); +lean_dec(v_unused_7839_); +v___x_7811_ = v___y_7796_; +v_isShared_7812_ = v_isSharedCheck_7838_; +goto v_resetjp_7810_; +} +else +{ +lean_dec(v___y_7796_); +v___x_7811_ = lean_box(0); +v_isShared_7812_ = v_isSharedCheck_7838_; +goto v_resetjp_7810_; +} +v_resetjp_7810_: +{ +lean_object* v___x_7814_; +if (v_isShared_7812_ == 0) +{ +lean_ctor_set(v___x_7811_, 0, v_snd_7808_); +v___x_7814_ = v___x_7811_; +goto v_reusejp_7813_; +} +else +{ +lean_object* v_reuseFailAlloc_7837_; +v_reuseFailAlloc_7837_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_7837_, 0, v_snd_7808_); +lean_ctor_set_uint8(v_reuseFailAlloc_7837_, sizeof(void*)*1, v_ignoreNoncomputable_7809_); +v___x_7814_ = v_reuseFailAlloc_7837_; +goto v_reusejp_7813_; +} +v_reusejp_7813_: +{ +lean_object* v___x_7815_; +lean_inc(v___y_7801_); +lean_inc_ref(v___y_7800_); +lean_inc(v___y_7799_); +lean_inc_ref(v___y_7798_); +lean_inc(v___y_7797_); +v___x_7815_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_fst_7807_, v___x_7814_, v___y_7797_, v___y_7798_, v___y_7799_, v___y_7800_, v___y_7801_); +if (lean_obj_tag(v___x_7815_) == 0) +{ +lean_object* v_a_7816_; lean_object* v___x_7817_; +v_a_7816_ = lean_ctor_get(v___x_7815_, 0); +lean_inc(v_a_7816_); +lean_dec_ref(v___x_7815_); +lean_inc(v___y_7801_); +lean_inc_ref(v___y_7800_); +lean_inc(v___y_7799_); +lean_inc_ref(v___y_7798_); +v___x_7817_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_7816_, v___y_7797_, v___y_7798_, v___y_7799_, v___y_7800_, v___y_7801_); +lean_dec(v___y_7797_); +if (lean_obj_tag(v___x_7817_) == 0) +{ +lean_object* v_a_7818_; lean_object* v___x_7819_; lean_object* v___x_7820_; +v_a_7818_ = lean_ctor_get(v___x_7817_, 0); +lean_inc(v_a_7818_); +lean_dec_ref(v___x_7817_); +v___x_7819_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___closed__1)); +v___x_7820_ = l_Lean_Compiler_LCNF_mkAuxFunDecl(v_fst_7806_, v_a_7818_, v___x_7819_, v___y_7798_, v___y_7799_, v___y_7800_, v___y_7801_); +return v___x_7820_; +} +else +{ +lean_object* v_a_7821_; lean_object* v___x_7823_; uint8_t v_isShared_7824_; uint8_t v_isSharedCheck_7828_; +lean_dec(v_fst_7806_); +lean_dec(v___y_7801_); +lean_dec_ref(v___y_7800_); +lean_dec(v___y_7799_); +lean_dec_ref(v___y_7798_); +v_a_7821_ = lean_ctor_get(v___x_7817_, 0); +v_isSharedCheck_7828_ = !lean_is_exclusive(v___x_7817_); +if (v_isSharedCheck_7828_ == 0) +{ +v___x_7823_ = v___x_7817_; +v_isShared_7824_ = v_isSharedCheck_7828_; +goto v_resetjp_7822_; +} +else +{ +lean_inc(v_a_7821_); +lean_dec(v___x_7817_); +v___x_7823_ = lean_box(0); +v_isShared_7824_ = v_isSharedCheck_7828_; +goto v_resetjp_7822_; +} +v_resetjp_7822_: +{ +lean_object* v___x_7826_; +if (v_isShared_7824_ == 0) +{ +v___x_7826_ = v___x_7823_; +goto v_reusejp_7825_; +} +else +{ +lean_object* v_reuseFailAlloc_7827_; +v_reuseFailAlloc_7827_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7827_, 0, v_a_7821_); +v___x_7826_ = v_reuseFailAlloc_7827_; +goto v_reusejp_7825_; +} +v_reusejp_7825_: +{ +return v___x_7826_; +} +} +} +} +else +{ +lean_object* v_a_7829_; lean_object* v___x_7831_; uint8_t v_isShared_7832_; uint8_t v_isSharedCheck_7836_; +lean_dec(v_fst_7806_); +lean_dec(v___y_7801_); +lean_dec_ref(v___y_7800_); +lean_dec(v___y_7799_); +lean_dec_ref(v___y_7798_); +lean_dec(v___y_7797_); +v_a_7829_ = lean_ctor_get(v___x_7815_, 0); +v_isSharedCheck_7836_ = !lean_is_exclusive(v___x_7815_); +if (v_isSharedCheck_7836_ == 0) +{ +v___x_7831_ = v___x_7815_; +v_isShared_7832_ = v_isSharedCheck_7836_; +goto v_resetjp_7830_; +} +else +{ +lean_inc(v_a_7829_); +lean_dec(v___x_7815_); +v___x_7831_ = lean_box(0); +v_isShared_7832_ = v_isSharedCheck_7836_; +goto v_resetjp_7830_; +} +v_resetjp_7830_: +{ +lean_object* v___x_7834_; +if (v_isShared_7832_ == 0) +{ +v___x_7834_ = v___x_7831_; +goto v_reusejp_7833_; +} +else +{ +lean_object* v_reuseFailAlloc_7835_; +v_reuseFailAlloc_7835_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7835_, 0, v_a_7829_); +v___x_7834_ = v_reuseFailAlloc_7835_; +goto v_reusejp_7833_; +} +v_reusejp_7833_: +{ +return v___x_7834_; +} +} +} +} +} +} +else +{ +lean_object* v_a_7840_; lean_object* v___x_7842_; uint8_t v_isShared_7843_; uint8_t v_isSharedCheck_7847_; +lean_dec(v___y_7801_); +lean_dec_ref(v___y_7800_); +lean_dec(v___y_7799_); +lean_dec_ref(v___y_7798_); +lean_dec(v___y_7797_); +lean_dec_ref(v___y_7796_); +v_a_7840_ = lean_ctor_get(v___x_7803_, 0); +v_isSharedCheck_7847_ = !lean_is_exclusive(v___x_7803_); +if (v_isSharedCheck_7847_ == 0) +{ +v___x_7842_ = v___x_7803_; +v_isShared_7843_ = v_isSharedCheck_7847_; +goto v_resetjp_7841_; +} +else +{ +lean_inc(v_a_7840_); +lean_dec(v___x_7803_); +v___x_7842_ = lean_box(0); +v_isShared_7843_ = v_isSharedCheck_7847_; +goto v_resetjp_7841_; +} +v_resetjp_7841_: +{ +lean_object* v___x_7845_; +if (v_isShared_7843_ == 0) +{ +v___x_7845_ = v___x_7842_; +goto v_reusejp_7844_; +} +else +{ +lean_object* v_reuseFailAlloc_7846_; +v_reuseFailAlloc_7846_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7846_, 0, v_a_7840_); +v___x_7845_ = v_reuseFailAlloc_7846_; +goto v_reusejp_7844_; +} +v_reusejp_7844_: +{ +return v___x_7845_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___boxed(lean_object* v_e_7848_, lean_object* v___y_7849_, lean_object* v___y_7850_, lean_object* v___y_7851_, lean_object* v___y_7852_, lean_object* v___y_7853_, lean_object* v___y_7854_, lean_object* v___y_7855_){ +_start: +{ +lean_object* v_res_7856_; +v_res_7856_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0(v_e_7848_, v___y_7849_, v___y_7850_, v___y_7851_, v___y_7852_, v___y_7853_, v___y_7854_); +return v_res_7856_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object* v_e_7857_, lean_object* v_a_7858_, lean_object* v_a_7859_, lean_object* v_a_7860_, lean_object* v_a_7861_, lean_object* v_a_7862_, lean_object* v_a_7863_){ +_start: +{ +lean_object* v___x_7865_; lean_object* v_env_7866_; lean_object* v___f_7867_; lean_object* v_b_7899_; uint8_t v___x_7900_; +v___x_7865_ = lean_st_ref_get(v_a_7863_); +v_env_7866_ = lean_ctor_get(v___x_7865_, 0); +lean_inc_ref(v_env_7866_); +lean_dec(v___x_7865_); +lean_inc_ref(v_e_7857_); +v___f_7867_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lam__0___boxed), 8, 1); +lean_closure_set(v___f_7867_, 0, v_e_7857_); +v_b_7899_ = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(v_e_7857_); +v___x_7900_ = l_Lean_Expr_isLambda(v_b_7899_); +if (v___x_7900_ == 0) +{ +uint8_t v___x_7901_; +v___x_7901_ = l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(v_env_7866_, v_b_7899_); +if (v___x_7901_ == 0) +{ +lean_object* v___x_7902_; +lean_dec_ref(v___f_7867_); +v___x_7902_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_b_7899_, v_a_7858_, v_a_7859_, v_a_7860_, v_a_7861_, v_a_7862_, v_a_7863_); +return v___x_7902_; +} +else +{ +lean_dec_ref(v_b_7899_); +goto v___jp_7868_; +} +} +else +{ +lean_dec_ref(v_b_7899_); +lean_dec_ref(v_env_7866_); +goto v___jp_7868_; +} +v___jp_7868_: +{ +lean_object* v___x_7869_; +lean_inc(v_a_7859_); +v___x_7869_ = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___redArg(v___f_7867_, v_a_7858_, v_a_7859_, v_a_7860_, v_a_7861_, v_a_7862_, v_a_7863_); +if (lean_obj_tag(v___x_7869_) == 0) +{ +lean_object* v_a_7870_; lean_object* v___x_7871_; lean_object* v___x_7872_; +v_a_7870_ = lean_ctor_get(v___x_7869_, 0); +lean_inc(v_a_7870_); +lean_dec_ref(v___x_7869_); +lean_inc(v_a_7870_); +v___x_7871_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_7871_, 0, v_a_7870_); +v___x_7872_ = l_Lean_Compiler_LCNF_ToLCNF_pushElement___redArg(v___x_7871_, v_a_7859_); +lean_dec(v_a_7859_); +if (lean_obj_tag(v___x_7872_) == 0) +{ +lean_object* v___x_7874_; uint8_t v_isShared_7875_; uint8_t v_isSharedCheck_7881_; +v_isSharedCheck_7881_ = !lean_is_exclusive(v___x_7872_); +if (v_isSharedCheck_7881_ == 0) +{ +lean_object* v_unused_7882_; +v_unused_7882_ = lean_ctor_get(v___x_7872_, 0); +lean_dec(v_unused_7882_); +v___x_7874_ = v___x_7872_; +v_isShared_7875_ = v_isSharedCheck_7881_; +goto v_resetjp_7873_; +} +else +{ +lean_dec(v___x_7872_); +v___x_7874_ = lean_box(0); +v_isShared_7875_ = v_isSharedCheck_7881_; +goto v_resetjp_7873_; +} +v_resetjp_7873_: +{ +lean_object* v_fvarId_7876_; lean_object* v___x_7877_; lean_object* v___x_7879_; +v_fvarId_7876_ = lean_ctor_get(v_a_7870_, 0); +lean_inc(v_fvarId_7876_); +lean_dec(v_a_7870_); +v___x_7877_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_7877_, 0, v_fvarId_7876_); +if (v_isShared_7875_ == 0) +{ +lean_ctor_set(v___x_7874_, 0, v___x_7877_); +v___x_7879_ = v___x_7874_; +goto v_reusejp_7878_; +} +else +{ +lean_object* v_reuseFailAlloc_7880_; +v_reuseFailAlloc_7880_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7880_, 0, v___x_7877_); +v___x_7879_ = v_reuseFailAlloc_7880_; +goto v_reusejp_7878_; +} +v_reusejp_7878_: +{ +return v___x_7879_; +} +} +} +else +{ +lean_object* v_a_7883_; lean_object* v___x_7885_; uint8_t v_isShared_7886_; uint8_t v_isSharedCheck_7890_; +lean_dec(v_a_7870_); +v_a_7883_ = lean_ctor_get(v___x_7872_, 0); +v_isSharedCheck_7890_ = !lean_is_exclusive(v___x_7872_); +if (v_isSharedCheck_7890_ == 0) +{ +v___x_7885_ = v___x_7872_; +v_isShared_7886_ = v_isSharedCheck_7890_; +goto v_resetjp_7884_; +} +else +{ +lean_inc(v_a_7883_); +lean_dec(v___x_7872_); +v___x_7885_ = lean_box(0); +v_isShared_7886_ = v_isSharedCheck_7890_; +goto v_resetjp_7884_; +} +v_resetjp_7884_: +{ +lean_object* v___x_7888_; +if (v_isShared_7886_ == 0) +{ +v___x_7888_ = v___x_7885_; +goto v_reusejp_7887_; +} +else +{ +lean_object* v_reuseFailAlloc_7889_; +v_reuseFailAlloc_7889_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7889_, 0, v_a_7883_); +v___x_7888_ = v_reuseFailAlloc_7889_; +goto v_reusejp_7887_; +} +v_reusejp_7887_: +{ +return v___x_7888_; +} +} +} +} +else +{ +lean_object* v_a_7891_; lean_object* v___x_7893_; uint8_t v_isShared_7894_; uint8_t v_isSharedCheck_7898_; +lean_dec(v_a_7859_); +v_a_7891_ = lean_ctor_get(v___x_7869_, 0); +v_isSharedCheck_7898_ = !lean_is_exclusive(v___x_7869_); +if (v_isSharedCheck_7898_ == 0) +{ +v___x_7893_ = v___x_7869_; +v_isShared_7894_ = v_isSharedCheck_7898_; +goto v_resetjp_7892_; +} +else +{ +lean_inc(v_a_7891_); +lean_dec(v___x_7869_); +v___x_7893_ = lean_box(0); +v_isShared_7894_ = v_isSharedCheck_7898_; +goto v_resetjp_7892_; +} +v_resetjp_7892_: +{ +lean_object* v___x_7896_; +if (v_isShared_7894_ == 0) +{ +v___x_7896_ = v___x_7893_; +goto v_reusejp_7895_; +} +else +{ +lean_object* v_reuseFailAlloc_7897_; +v_reuseFailAlloc_7897_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7897_, 0, v_a_7891_); +v___x_7896_ = v_reuseFailAlloc_7897_; +goto v_reusejp_7895_; +} +v_reusejp_7895_: +{ +return v___x_7896_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object* v_e_7903_, lean_object* v_xs_7904_, lean_object* v_a_7905_, lean_object* v_a_7906_, lean_object* v_a_7907_, lean_object* v_a_7908_, lean_object* v_a_7909_, lean_object* v_a_7910_){ +_start: +{ +if (lean_obj_tag(v_e_7903_) == 8) +{ +lean_object* v_declName_7912_; lean_object* v_type_7913_; lean_object* v_value_7914_; lean_object* v_body_7915_; lean_object* v___x_7916_; lean_object* v_lctx_7917_; lean_object* v___x_7918_; lean_object* v___x_7919_; uint8_t v___x_7920_; lean_object* v___x_7921_; lean_object* v___x_7922_; lean_object* v___x_7923_; uint8_t v___x_7924_; lean_object* v___x_7925_; lean_object* v___x_7926_; lean_object* v___x_7927_; lean_object* v___x_7928_; lean_object* v___x_7929_; lean_object* v_type_7930_; lean_object* v_value_7931_; uint8_t v_a_7936_; lean_object* v___x_7977_; +v_declName_7912_ = lean_ctor_get(v_e_7903_, 0); +lean_inc(v_declName_7912_); +v_type_7913_ = lean_ctor_get(v_e_7903_, 1); +lean_inc_ref(v_type_7913_); +v_value_7914_ = lean_ctor_get(v_e_7903_, 2); +lean_inc_ref(v_value_7914_); +v_body_7915_ = lean_ctor_get(v_e_7903_, 3); +lean_inc_ref(v_body_7915_); +lean_dec_ref(v_e_7903_); +v___x_7916_ = lean_st_ref_get(v_a_7906_); +v_lctx_7917_ = lean_ctor_get(v___x_7916_, 0); +lean_inc_ref(v_lctx_7917_); +lean_dec(v___x_7916_); +v___x_7918_ = lean_box(1); +v___x_7919_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_7920_ = 0; +v___x_7921_ = lean_unsigned_to_nat(0u); +v___x_7922_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_7923_ = lean_box(0); +v___x_7924_ = 1; +v___x_7925_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_7925_, 0, v___x_7919_); +lean_ctor_set(v___x_7925_, 1, v___x_7918_); +lean_ctor_set(v___x_7925_, 2, v_lctx_7917_); +lean_ctor_set(v___x_7925_, 3, v___x_7922_); +lean_ctor_set(v___x_7925_, 4, v___x_7923_); +lean_ctor_set(v___x_7925_, 5, v___x_7921_); +lean_ctor_set(v___x_7925_, 6, v___x_7923_); +lean_ctor_set_uint8(v___x_7925_, sizeof(void*)*7, v___x_7920_); +lean_ctor_set_uint8(v___x_7925_, sizeof(void*)*7 + 1, v___x_7920_); +lean_ctor_set_uint8(v___x_7925_, sizeof(void*)*7 + 2, v___x_7920_); +lean_ctor_set_uint8(v___x_7925_, sizeof(void*)*7 + 3, v___x_7924_); +v___x_7926_ = lean_unsigned_to_nat(32u); +v___x_7927_ = lean_mk_empty_array_with_capacity(v___x_7926_); +lean_dec_ref(v___x_7927_); +v___x_7928_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_7929_ = lean_st_mk_ref(v___x_7928_); +v_type_7930_ = lean_expr_instantiate_rev(v_type_7913_, v_xs_7904_); +lean_dec_ref(v_type_7913_); +v_value_7931_ = lean_expr_instantiate_rev(v_value_7914_, v_xs_7904_); +lean_dec_ref(v_value_7914_); +lean_inc(v_a_7910_); +lean_inc_ref(v_a_7909_); +lean_inc(v___x_7929_); +lean_inc_ref(v_type_7930_); +v___x_7977_ = l_Lean_Meta_isProp(v_type_7930_, v___x_7925_, v___x_7929_, v_a_7909_, v_a_7910_); +if (lean_obj_tag(v___x_7977_) == 0) +{ +lean_object* v_a_7978_; lean_object* v___x_7979_; uint8_t v___x_7980_; +v_a_7978_ = lean_ctor_get(v___x_7977_, 0); +lean_inc(v_a_7978_); +lean_dec_ref(v___x_7977_); +v___x_7979_ = lean_st_ref_get(v___x_7929_); +lean_dec(v___x_7929_); +lean_dec(v___x_7979_); +v___x_7980_ = lean_unbox(v_a_7978_); +lean_dec(v_a_7978_); +v_a_7936_ = v___x_7980_; +goto v___jp_7935_; +} +else +{ +lean_dec(v___x_7929_); +if (lean_obj_tag(v___x_7977_) == 0) +{ +lean_object* v_a_7981_; uint8_t v___x_7982_; +v_a_7981_ = lean_ctor_get(v___x_7977_, 0); +lean_inc(v_a_7981_); +lean_dec_ref(v___x_7977_); +v___x_7982_ = lean_unbox(v_a_7981_); +lean_dec(v_a_7981_); +v_a_7936_ = v___x_7982_; +goto v___jp_7935_; +} +else +{ +lean_object* v_a_7983_; lean_object* v___x_7985_; uint8_t v_isShared_7986_; uint8_t v_isSharedCheck_7990_; +lean_dec_ref(v_value_7931_); +lean_dec_ref(v_type_7930_); +lean_dec_ref(v_body_7915_); +lean_dec(v_declName_7912_); +lean_dec(v_a_7910_); +lean_dec_ref(v_a_7909_); +lean_dec(v_a_7908_); +lean_dec_ref(v_a_7907_); +lean_dec(v_a_7906_); +lean_dec_ref(v_a_7905_); +lean_dec_ref(v_xs_7904_); +v_a_7983_ = lean_ctor_get(v___x_7977_, 0); +v_isSharedCheck_7990_ = !lean_is_exclusive(v___x_7977_); +if (v_isSharedCheck_7990_ == 0) +{ +v___x_7985_ = v___x_7977_; +v_isShared_7986_ = v_isSharedCheck_7990_; +goto v_resetjp_7984_; +} +else +{ +lean_inc(v_a_7983_); +lean_dec(v___x_7977_); +v___x_7985_ = lean_box(0); +v_isShared_7986_ = v_isSharedCheck_7990_; +goto v_resetjp_7984_; +} +v_resetjp_7984_: +{ +lean_object* v___x_7988_; +if (v_isShared_7986_ == 0) +{ +v___x_7988_ = v___x_7985_; +goto v_reusejp_7987_; +} +else +{ +lean_object* v_reuseFailAlloc_7989_; +v_reuseFailAlloc_7989_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7989_, 0, v_a_7983_); +v___x_7988_ = v_reuseFailAlloc_7989_; +goto v_reusejp_7987_; +} +v_reusejp_7987_: +{ +return v___x_7988_; +} +} +} +} +v___jp_7932_: +{ +lean_object* v___x_7933_; +v___x_7933_ = lean_array_push(v_xs_7904_, v_value_7931_); +v_e_7903_ = v_body_7915_; +v_xs_7904_ = v___x_7933_; +goto _start; +} +v___jp_7935_: +{ +if (v_a_7936_ == 0) +{ +lean_object* v___x_7937_; +lean_inc(v_a_7910_); +lean_inc_ref(v_a_7909_); +lean_inc_ref(v_type_7930_); +v___x_7937_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v_type_7930_, v_a_7906_, v_a_7909_, v_a_7910_); +if (lean_obj_tag(v___x_7937_) == 0) +{ +lean_object* v_a_7938_; uint8_t v___x_7939_; +v_a_7938_ = lean_ctor_get(v___x_7937_, 0); +lean_inc(v_a_7938_); +lean_dec_ref(v___x_7937_); +v___x_7939_ = lean_unbox(v_a_7938_); +lean_dec(v_a_7938_); +if (v___x_7939_ == 0) +{ +lean_object* v___x_7940_; +lean_inc(v_a_7910_); +lean_inc_ref(v_a_7909_); +lean_inc_ref(v_type_7930_); +v___x_7940_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___redArg(v_type_7930_, v_a_7906_, v_a_7909_, v_a_7910_); +if (lean_obj_tag(v___x_7940_) == 0) +{ +lean_object* v_a_7941_; uint8_t v_ignoreNoncomputable_7942_; lean_object* v___x_7943_; lean_object* v___x_7944_; lean_object* v___x_7945_; +v_a_7941_ = lean_ctor_get(v___x_7940_, 0); +lean_inc(v_a_7941_); +lean_dec_ref(v___x_7940_); +v_ignoreNoncomputable_7942_ = lean_ctor_get_uint8(v_a_7905_, sizeof(void*)*1); +lean_inc(v_a_7941_); +v___x_7943_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_7943_, 0, v_a_7941_); +v___x_7944_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_7944_, 0, v___x_7943_); +lean_ctor_set_uint8(v___x_7944_, sizeof(void*)*1, v_ignoreNoncomputable_7942_); +lean_inc(v_a_7910_); +lean_inc_ref(v_a_7909_); +lean_inc(v_a_7908_); +lean_inc_ref(v_a_7907_); +lean_inc(v_a_7906_); +lean_inc_ref(v_value_7931_); +v___x_7945_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_value_7931_, v___x_7944_, v_a_7906_, v_a_7907_, v_a_7908_, v_a_7909_, v_a_7910_); +if (lean_obj_tag(v___x_7945_) == 0) +{ +lean_object* v_a_7946_; lean_object* v___x_7947_; +v_a_7946_ = lean_ctor_get(v___x_7945_, 0); +lean_inc(v_a_7946_); +lean_dec_ref(v___x_7945_); +v___x_7947_ = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___redArg(v_declName_7912_, v_type_7930_, v_value_7931_, v_a_7941_, v_a_7946_, v_a_7906_, v_a_7907_, v_a_7908_, v_a_7909_, v_a_7910_); +lean_dec(v_a_7946_); +if (lean_obj_tag(v___x_7947_) == 0) +{ +lean_object* v_a_7948_; lean_object* v_fvarId_7949_; lean_object* v___x_7950_; lean_object* v___x_7951_; +v_a_7948_ = lean_ctor_get(v___x_7947_, 0); +lean_inc(v_a_7948_); +lean_dec_ref(v___x_7947_); +v_fvarId_7949_ = lean_ctor_get(v_a_7948_, 0); +lean_inc(v_fvarId_7949_); +lean_dec(v_a_7948_); +v___x_7950_ = l_Lean_Expr_fvar___override(v_fvarId_7949_); +v___x_7951_ = lean_array_push(v_xs_7904_, v___x_7950_); +v_e_7903_ = v_body_7915_; +v_xs_7904_ = v___x_7951_; +goto _start; +} +else +{ +lean_object* v_a_7953_; lean_object* v___x_7955_; uint8_t v_isShared_7956_; uint8_t v_isSharedCheck_7960_; +lean_dec_ref(v_body_7915_); +lean_dec(v_a_7910_); +lean_dec_ref(v_a_7909_); +lean_dec(v_a_7908_); +lean_dec_ref(v_a_7907_); +lean_dec(v_a_7906_); +lean_dec_ref(v_a_7905_); +lean_dec_ref(v_xs_7904_); +v_a_7953_ = lean_ctor_get(v___x_7947_, 0); +v_isSharedCheck_7960_ = !lean_is_exclusive(v___x_7947_); +if (v_isSharedCheck_7960_ == 0) +{ +v___x_7955_ = v___x_7947_; +v_isShared_7956_ = v_isSharedCheck_7960_; +goto v_resetjp_7954_; +} +else +{ +lean_inc(v_a_7953_); +lean_dec(v___x_7947_); +v___x_7955_ = lean_box(0); +v_isShared_7956_ = v_isSharedCheck_7960_; +goto v_resetjp_7954_; +} +v_resetjp_7954_: +{ +lean_object* v___x_7958_; +if (v_isShared_7956_ == 0) +{ +v___x_7958_ = v___x_7955_; +goto v_reusejp_7957_; +} +else +{ +lean_object* v_reuseFailAlloc_7959_; +v_reuseFailAlloc_7959_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7959_, 0, v_a_7953_); +v___x_7958_ = v_reuseFailAlloc_7959_; +goto v_reusejp_7957_; +} +v_reusejp_7957_: +{ +return v___x_7958_; +} +} +} +} +else +{ +lean_dec(v_a_7941_); +lean_dec_ref(v_value_7931_); +lean_dec_ref(v_type_7930_); +lean_dec_ref(v_body_7915_); +lean_dec(v_declName_7912_); +lean_dec(v_a_7910_); +lean_dec_ref(v_a_7909_); +lean_dec(v_a_7908_); +lean_dec_ref(v_a_7907_); +lean_dec(v_a_7906_); +lean_dec_ref(v_a_7905_); +lean_dec_ref(v_xs_7904_); +return v___x_7945_; +} +} +else +{ +lean_object* v_a_7961_; lean_object* v___x_7963_; uint8_t v_isShared_7964_; uint8_t v_isSharedCheck_7968_; +lean_dec_ref(v_value_7931_); +lean_dec_ref(v_type_7930_); +lean_dec_ref(v_body_7915_); +lean_dec(v_declName_7912_); +lean_dec(v_a_7910_); +lean_dec_ref(v_a_7909_); +lean_dec(v_a_7908_); +lean_dec_ref(v_a_7907_); +lean_dec(v_a_7906_); +lean_dec_ref(v_a_7905_); +lean_dec_ref(v_xs_7904_); +v_a_7961_ = lean_ctor_get(v___x_7940_, 0); +v_isSharedCheck_7968_ = !lean_is_exclusive(v___x_7940_); +if (v_isSharedCheck_7968_ == 0) +{ +v___x_7963_ = v___x_7940_; +v_isShared_7964_ = v_isSharedCheck_7968_; +goto v_resetjp_7962_; +} +else +{ +lean_inc(v_a_7961_); +lean_dec(v___x_7940_); +v___x_7963_ = lean_box(0); +v_isShared_7964_ = v_isSharedCheck_7968_; +goto v_resetjp_7962_; +} +v_resetjp_7962_: +{ +lean_object* v___x_7966_; +if (v_isShared_7964_ == 0) +{ +v___x_7966_ = v___x_7963_; +goto v_reusejp_7965_; +} +else +{ +lean_object* v_reuseFailAlloc_7967_; +v_reuseFailAlloc_7967_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7967_, 0, v_a_7961_); +v___x_7966_ = v_reuseFailAlloc_7967_; +goto v_reusejp_7965_; +} +v_reusejp_7965_: +{ +return v___x_7966_; +} +} +} +} +else +{ +lean_dec_ref(v_type_7930_); +lean_dec(v_declName_7912_); +goto v___jp_7932_; +} +} +else +{ +lean_object* v_a_7969_; lean_object* v___x_7971_; uint8_t v_isShared_7972_; uint8_t v_isSharedCheck_7976_; +lean_dec_ref(v_value_7931_); +lean_dec_ref(v_type_7930_); +lean_dec_ref(v_body_7915_); +lean_dec(v_declName_7912_); +lean_dec(v_a_7910_); +lean_dec_ref(v_a_7909_); +lean_dec(v_a_7908_); +lean_dec_ref(v_a_7907_); +lean_dec(v_a_7906_); +lean_dec_ref(v_a_7905_); +lean_dec_ref(v_xs_7904_); +v_a_7969_ = lean_ctor_get(v___x_7937_, 0); +v_isSharedCheck_7976_ = !lean_is_exclusive(v___x_7937_); +if (v_isSharedCheck_7976_ == 0) +{ +v___x_7971_ = v___x_7937_; +v_isShared_7972_ = v_isSharedCheck_7976_; +goto v_resetjp_7970_; +} +else +{ +lean_inc(v_a_7969_); +lean_dec(v___x_7937_); +v___x_7971_ = lean_box(0); +v_isShared_7972_ = v_isSharedCheck_7976_; +goto v_resetjp_7970_; +} +v_resetjp_7970_: +{ +lean_object* v___x_7974_; +if (v_isShared_7972_ == 0) +{ +v___x_7974_ = v___x_7971_; +goto v_reusejp_7973_; +} +else +{ +lean_object* v_reuseFailAlloc_7975_; +v_reuseFailAlloc_7975_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7975_, 0, v_a_7969_); +v___x_7974_ = v_reuseFailAlloc_7975_; +goto v_reusejp_7973_; +} +v_reusejp_7973_: +{ +return v___x_7974_; +} +} +} +} +else +{ +lean_dec_ref(v_type_7930_); +lean_dec(v_declName_7912_); +goto v___jp_7932_; +} +} +} +else +{ +lean_object* v_e_7991_; lean_object* v___x_7992_; +v_e_7991_ = lean_expr_instantiate_rev(v_e_7903_, v_xs_7904_); +lean_dec_ref(v_xs_7904_); +lean_dec_ref(v_e_7903_); +v___x_7992_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_7991_, v_a_7905_, v_a_7906_, v_a_7907_, v_a_7908_, v_a_7909_, v_a_7910_); +return v___x_7992_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object* v_s_7993_, lean_object* v_i_7994_, lean_object* v_e_7995_, lean_object* v_a_7996_, lean_object* v_a_7997_, lean_object* v_a_7998_, lean_object* v_a_7999_, lean_object* v_a_8000_, lean_object* v_a_8001_){ +_start: +{ +uint8_t v___x_8003_; +v___x_8003_ = l_Lean_Compiler_LCNF_isRuntimeBuiltinType(v_s_7993_); +if (v___x_8003_ == 0) +{ +uint8_t v_ignoreNoncomputable_8004_; lean_object* v___x_8006_; uint8_t v_isShared_8007_; uint8_t v_isSharedCheck_8026_; +v_ignoreNoncomputable_8004_ = lean_ctor_get_uint8(v_a_7996_, sizeof(void*)*1); +v_isSharedCheck_8026_ = !lean_is_exclusive(v_a_7996_); +if (v_isSharedCheck_8026_ == 0) +{ +lean_object* v_unused_8027_; +v_unused_8027_ = lean_ctor_get(v_a_7996_, 0); +lean_dec(v_unused_8027_); +v___x_8006_ = v_a_7996_; +v_isShared_8007_ = v_isSharedCheck_8026_; +goto v_resetjp_8005_; +} +else +{ +lean_dec(v_a_7996_); +v___x_8006_ = lean_box(0); +v_isShared_8007_ = v_isSharedCheck_8026_; +goto v_resetjp_8005_; +} +v_resetjp_8005_: +{ +lean_object* v___x_8008_; lean_object* v___x_8010_; +v___x_8008_ = lean_box(0); +if (v_isShared_8007_ == 0) +{ +lean_ctor_set(v___x_8006_, 0, v___x_8008_); +v___x_8010_ = v___x_8006_; +goto v_reusejp_8009_; +} +else +{ +lean_object* v_reuseFailAlloc_8025_; +v_reuseFailAlloc_8025_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_8025_, 0, v___x_8008_); +lean_ctor_set_uint8(v_reuseFailAlloc_8025_, sizeof(void*)*1, v_ignoreNoncomputable_8004_); +v___x_8010_ = v_reuseFailAlloc_8025_; +goto v_reusejp_8009_; +} +v_reusejp_8009_: +{ +lean_object* v___x_8011_; +lean_inc(v_a_8001_); +lean_inc_ref(v_a_8000_); +lean_inc(v_a_7999_); +lean_inc_ref(v_a_7998_); +lean_inc(v_a_7997_); +v___x_8011_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_7995_, v___x_8010_, v_a_7997_, v_a_7998_, v_a_7999_, v_a_8000_, v_a_8001_); +if (lean_obj_tag(v___x_8011_) == 0) +{ +lean_object* v_a_8012_; lean_object* v___x_8014_; uint8_t v_isShared_8015_; uint8_t v_isSharedCheck_8024_; +v_a_8012_ = lean_ctor_get(v___x_8011_, 0); +v_isSharedCheck_8024_ = !lean_is_exclusive(v___x_8011_); +if (v_isSharedCheck_8024_ == 0) +{ +v___x_8014_ = v___x_8011_; +v_isShared_8015_ = v_isSharedCheck_8024_; +goto v_resetjp_8013_; +} +else +{ +lean_inc(v_a_8012_); +lean_dec(v___x_8011_); +v___x_8014_ = lean_box(0); +v_isShared_8015_ = v_isSharedCheck_8024_; +goto v_resetjp_8013_; +} +v_resetjp_8013_: +{ +if (lean_obj_tag(v_a_8012_) == 1) +{ +lean_object* v_fvarId_8016_; lean_object* v___x_8017_; lean_object* v___x_8018_; lean_object* v___x_8019_; +lean_del_object(v___x_8014_); +v_fvarId_8016_ = lean_ctor_get(v_a_8012_, 0); +lean_inc(v_fvarId_8016_); +lean_dec_ref(v_a_8012_); +v___x_8017_ = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(v___x_8017_, 0, v_s_7993_); +lean_ctor_set(v___x_8017_, 1, v_i_7994_); +lean_ctor_set(v___x_8017_, 2, v_fvarId_8016_); +v___x_8018_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8)); +v___x_8019_ = l_Lean_Compiler_LCNF_ToLCNF_letValueToArg___redArg(v___x_8017_, v___x_8018_, v_a_7997_, v_a_7998_, v_a_7999_, v_a_8000_, v_a_8001_); +lean_dec(v_a_7997_); +return v___x_8019_; +} +else +{ +lean_object* v___x_8020_; lean_object* v___x_8022_; +lean_dec(v_a_8012_); +lean_dec(v_a_8001_); +lean_dec_ref(v_a_8000_); +lean_dec(v_a_7999_); +lean_dec_ref(v_a_7998_); +lean_dec(v_a_7997_); +lean_dec(v_i_7994_); +lean_dec(v_s_7993_); +v___x_8020_ = lean_box(0); +if (v_isShared_8015_ == 0) +{ +lean_ctor_set(v___x_8014_, 0, v___x_8020_); +v___x_8022_ = v___x_8014_; +goto v_reusejp_8021_; +} +else +{ +lean_object* v_reuseFailAlloc_8023_; +v_reuseFailAlloc_8023_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8023_, 0, v___x_8020_); +v___x_8022_ = v_reuseFailAlloc_8023_; +goto v_reusejp_8021_; +} +v_reusejp_8021_: +{ +return v___x_8022_; +} +} +} +} +else +{ +lean_dec(v_a_8001_); +lean_dec_ref(v_a_8000_); +lean_dec(v_a_7999_); +lean_dec_ref(v_a_7998_); +lean_dec(v_a_7997_); +lean_dec(v_i_7994_); +lean_dec(v_s_7993_); +return v___x_8011_; +} +} +} +} +else +{ +lean_object* v___x_8028_; lean_object* v___x_8029_; lean_object* v_lctx_8030_; lean_object* v___x_8031_; lean_object* v___x_8032_; uint8_t v___x_8033_; lean_object* v___x_8034_; lean_object* v___x_8035_; lean_object* v___x_8036_; lean_object* v___x_8037_; lean_object* v___x_8038_; lean_object* v___x_8039_; lean_object* v___x_8040_; lean_object* v___x_8041_; lean_object* v_env_8042_; lean_object* v___x_8043_; lean_object* v_fieldNames_8044_; lean_object* v___x_8045_; lean_object* v___x_8046_; lean_object* v___x_8047_; +v___x_8028_ = lean_st_ref_get(v_a_8001_); +v___x_8029_ = lean_st_ref_get(v_a_7997_); +v_lctx_8030_ = lean_ctor_get(v___x_8029_, 0); +lean_inc_ref(v_lctx_8030_); +lean_dec(v___x_8029_); +v___x_8031_ = lean_box(1); +v___x_8032_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_8033_ = 0; +v___x_8034_ = lean_unsigned_to_nat(0u); +v___x_8035_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_8036_ = lean_box(0); +v___x_8037_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_8037_, 0, v___x_8032_); +lean_ctor_set(v___x_8037_, 1, v___x_8031_); +lean_ctor_set(v___x_8037_, 2, v_lctx_8030_); +lean_ctor_set(v___x_8037_, 3, v___x_8035_); +lean_ctor_set(v___x_8037_, 4, v___x_8036_); +lean_ctor_set(v___x_8037_, 5, v___x_8034_); +lean_ctor_set(v___x_8037_, 6, v___x_8036_); +lean_ctor_set_uint8(v___x_8037_, sizeof(void*)*7, v___x_8033_); +lean_ctor_set_uint8(v___x_8037_, sizeof(void*)*7 + 1, v___x_8033_); +lean_ctor_set_uint8(v___x_8037_, sizeof(void*)*7 + 2, v___x_8033_); +lean_ctor_set_uint8(v___x_8037_, sizeof(void*)*7 + 3, v___x_8003_); +v___x_8038_ = lean_unsigned_to_nat(32u); +v___x_8039_ = lean_mk_empty_array_with_capacity(v___x_8038_); +lean_dec_ref(v___x_8039_); +v___x_8040_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_8041_ = lean_st_mk_ref(v___x_8040_); +v_env_8042_ = lean_ctor_get(v___x_8028_, 0); +lean_inc_ref(v_env_8042_); +lean_dec(v___x_8028_); +v___x_8043_ = l_Lean_getStructureInfo(v_env_8042_, v_s_7993_); +v_fieldNames_8044_ = lean_ctor_get(v___x_8043_, 1); +lean_inc_ref(v_fieldNames_8044_); +lean_dec_ref(v___x_8043_); +v___x_8045_ = lean_box(0); +v___x_8046_ = lean_array_get(v___x_8045_, v_fieldNames_8044_, v_i_7994_); +lean_dec(v_i_7994_); +lean_dec_ref(v_fieldNames_8044_); +lean_inc(v_a_8001_); +lean_inc_ref(v_a_8000_); +lean_inc(v___x_8041_); +v___x_8047_ = l_Lean_Meta_mkProjection(v_e_7995_, v___x_8046_, v___x_8037_, v___x_8041_, v_a_8000_, v_a_8001_); +if (lean_obj_tag(v___x_8047_) == 0) +{ +lean_object* v_a_8048_; lean_object* v___x_8049_; lean_object* v___x_8050_; +v_a_8048_ = lean_ctor_get(v___x_8047_, 0); +lean_inc(v_a_8048_); +lean_dec_ref(v___x_8047_); +v___x_8049_ = lean_st_ref_get(v___x_8041_); +lean_dec(v___x_8041_); +lean_dec(v___x_8049_); +v___x_8050_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_a_8048_, v_a_7996_, v_a_7997_, v_a_7998_, v_a_7999_, v_a_8000_, v_a_8001_); +return v___x_8050_; +} +else +{ +lean_dec(v___x_8041_); +if (lean_obj_tag(v___x_8047_) == 0) +{ +lean_object* v_a_8051_; lean_object* v___x_8052_; +v_a_8051_ = lean_ctor_get(v___x_8047_, 0); +lean_inc(v_a_8051_); +lean_dec_ref(v___x_8047_); +v___x_8052_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_a_8051_, v_a_7996_, v_a_7997_, v_a_7998_, v_a_7999_, v_a_8000_, v_a_8001_); +return v___x_8052_; +} +else +{ +lean_object* v_a_8053_; lean_object* v___x_8055_; uint8_t v_isShared_8056_; uint8_t v_isSharedCheck_8060_; +lean_dec(v_a_8001_); +lean_dec_ref(v_a_8000_); +lean_dec(v_a_7999_); +lean_dec_ref(v_a_7998_); +lean_dec(v_a_7997_); +lean_dec_ref(v_a_7996_); +v_a_8053_ = lean_ctor_get(v___x_8047_, 0); +v_isSharedCheck_8060_ = !lean_is_exclusive(v___x_8047_); +if (v_isSharedCheck_8060_ == 0) +{ +v___x_8055_ = v___x_8047_; +v_isShared_8056_ = v_isSharedCheck_8060_; +goto v_resetjp_8054_; +} +else +{ +lean_inc(v_a_8053_); +lean_dec(v___x_8047_); +v___x_8055_ = lean_box(0); +v_isShared_8056_ = v_isSharedCheck_8060_; +goto v_resetjp_8054_; +} +v_resetjp_8054_: +{ +lean_object* v___x_8058_; +if (v_isShared_8056_ == 0) +{ +v___x_8058_ = v___x_8055_; +goto v_reusejp_8057_; +} +else +{ +lean_object* v_reuseFailAlloc_8059_; +v_reuseFailAlloc_8059_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8059_, 0, v_a_8053_); +v___x_8058_ = v_reuseFailAlloc_8059_; +goto v_reusejp_8057_; +} +v_reusejp_8057_: +{ +return v___x_8058_; } } } @@ -26416,952 +27648,982 @@ return v___x_7759_; static lean_object* _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1(void){ _start: { -lean_object* v___x_7763_; lean_object* v___x_7764_; lean_object* v___x_7765_; lean_object* v___x_7766_; lean_object* v___x_7767_; lean_object* v___x_7768_; -v___x_7763_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); -v___x_7764_ = lean_unsigned_to_nat(57u); -v___x_7765_ = lean_unsigned_to_nat(464u); -v___x_7766_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__0)); -v___x_7767_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); -v___x_7768_ = l_mkPanicMessageWithDecl(v___x_7767_, v___x_7766_, v___x_7765_, v___x_7764_, v___x_7763_); -return v___x_7768_; +lean_object* v___x_8062_; lean_object* v___x_8063_; lean_object* v___x_8064_; lean_object* v___x_8065_; lean_object* v___x_8066_; lean_object* v___x_8067_; +v___x_8062_ = ((lean_object*)(l_Lean_isCtor_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__38___closed__2)); +v___x_8063_ = lean_unsigned_to_nat(57u); +v___x_8064_ = lean_unsigned_to_nat(487u); +v___x_8065_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__0)); +v___x_8066_ = ((lean_object*)(l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lam__0___closed__0)); +v___x_8067_ = l_mkPanicMessageWithDecl(v___x_8066_, v___x_8065_, v___x_8064_, v___x_8063_, v___x_8062_); +return v___x_8067_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object* v_e_7769_, uint8_t v_a_7770_, lean_object* v_a_7771_, lean_object* v_a_7772_, lean_object* v_a_7773_, lean_object* v_a_7774_, lean_object* v_a_7775_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object* v_e_8068_, lean_object* v_a_8069_, lean_object* v_a_8070_, lean_object* v_a_8071_, lean_object* v_a_8072_, lean_object* v_a_8073_, lean_object* v_a_8074_){ _start: { -lean_object* v___y_7778_; lean_object* v___y_7779_; lean_object* v_snd_7780_; lean_object* v_r_7784_; lean_object* v___y_7785_; lean_object* v_fileName_7802_; lean_object* v_fileMap_7803_; lean_object* v_options_7804_; lean_object* v_currRecDepth_7805_; lean_object* v_maxRecDepth_7806_; lean_object* v_ref_7807_; lean_object* v_currNamespace_7808_; lean_object* v_openDecls_7809_; lean_object* v_initHeartbeats_7810_; lean_object* v_maxHeartbeats_7811_; lean_object* v_quotContext_7812_; lean_object* v_currMacroScope_7813_; uint8_t v_diag_7814_; lean_object* v_cancelTk_x3f_7815_; uint8_t v_suppressElabErrors_7816_; lean_object* v_inheritedTraceOptions_7817_; lean_object* v___x_7819_; uint8_t v_isShared_7820_; uint8_t v_isSharedCheck_7868_; -v_fileName_7802_ = lean_ctor_get(v_a_7774_, 0); -v_fileMap_7803_ = lean_ctor_get(v_a_7774_, 1); -v_options_7804_ = lean_ctor_get(v_a_7774_, 2); -v_currRecDepth_7805_ = lean_ctor_get(v_a_7774_, 3); -v_maxRecDepth_7806_ = lean_ctor_get(v_a_7774_, 4); -v_ref_7807_ = lean_ctor_get(v_a_7774_, 5); -v_currNamespace_7808_ = lean_ctor_get(v_a_7774_, 6); -v_openDecls_7809_ = lean_ctor_get(v_a_7774_, 7); -v_initHeartbeats_7810_ = lean_ctor_get(v_a_7774_, 8); -v_maxHeartbeats_7811_ = lean_ctor_get(v_a_7774_, 9); -v_quotContext_7812_ = lean_ctor_get(v_a_7774_, 10); -v_currMacroScope_7813_ = lean_ctor_get(v_a_7774_, 11); -v_diag_7814_ = lean_ctor_get_uint8(v_a_7774_, sizeof(void*)*14); -v_cancelTk_x3f_7815_ = lean_ctor_get(v_a_7774_, 12); -v_suppressElabErrors_7816_ = lean_ctor_get_uint8(v_a_7774_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_7817_ = lean_ctor_get(v_a_7774_, 13); -v_isSharedCheck_7868_ = !lean_is_exclusive(v_a_7774_); -if (v_isSharedCheck_7868_ == 0) +lean_object* v___y_8077_; lean_object* v___y_8078_; lean_object* v_snd_8079_; lean_object* v_fileName_8082_; lean_object* v_fileMap_8083_; lean_object* v_options_8084_; lean_object* v_currRecDepth_8085_; lean_object* v_maxRecDepth_8086_; lean_object* v_ref_8087_; lean_object* v_currNamespace_8088_; lean_object* v_openDecls_8089_; lean_object* v_initHeartbeats_8090_; lean_object* v_maxHeartbeats_8091_; lean_object* v_quotContext_8092_; lean_object* v_currMacroScope_8093_; uint8_t v_diag_8094_; lean_object* v_cancelTk_x3f_8095_; uint8_t v_suppressElabErrors_8096_; lean_object* v_inheritedTraceOptions_8097_; lean_object* v___x_8099_; uint8_t v_isShared_8100_; uint8_t v_isSharedCheck_8170_; +v_fileName_8082_ = lean_ctor_get(v_a_8073_, 0); +v_fileMap_8083_ = lean_ctor_get(v_a_8073_, 1); +v_options_8084_ = lean_ctor_get(v_a_8073_, 2); +v_currRecDepth_8085_ = lean_ctor_get(v_a_8073_, 3); +v_maxRecDepth_8086_ = lean_ctor_get(v_a_8073_, 4); +v_ref_8087_ = lean_ctor_get(v_a_8073_, 5); +v_currNamespace_8088_ = lean_ctor_get(v_a_8073_, 6); +v_openDecls_8089_ = lean_ctor_get(v_a_8073_, 7); +v_initHeartbeats_8090_ = lean_ctor_get(v_a_8073_, 8); +v_maxHeartbeats_8091_ = lean_ctor_get(v_a_8073_, 9); +v_quotContext_8092_ = lean_ctor_get(v_a_8073_, 10); +v_currMacroScope_8093_ = lean_ctor_get(v_a_8073_, 11); +v_diag_8094_ = lean_ctor_get_uint8(v_a_8073_, sizeof(void*)*14); +v_cancelTk_x3f_8095_ = lean_ctor_get(v_a_8073_, 12); +v_suppressElabErrors_8096_ = lean_ctor_get_uint8(v_a_8073_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_8097_ = lean_ctor_get(v_a_8073_, 13); +v_isSharedCheck_8170_ = !lean_is_exclusive(v_a_8073_); +if (v_isSharedCheck_8170_ == 0) { -v___x_7819_ = v_a_7774_; -v_isShared_7820_ = v_isSharedCheck_7868_; -goto v_resetjp_7818_; +v___x_8099_ = v_a_8073_; +v_isShared_8100_ = v_isSharedCheck_8170_; +goto v_resetjp_8098_; } else { -lean_inc(v_inheritedTraceOptions_7817_); -lean_inc(v_cancelTk_x3f_7815_); -lean_inc(v_currMacroScope_7813_); -lean_inc(v_quotContext_7812_); -lean_inc(v_maxHeartbeats_7811_); -lean_inc(v_initHeartbeats_7810_); -lean_inc(v_openDecls_7809_); -lean_inc(v_currNamespace_7808_); -lean_inc(v_ref_7807_); -lean_inc(v_maxRecDepth_7806_); -lean_inc(v_currRecDepth_7805_); -lean_inc(v_options_7804_); -lean_inc(v_fileMap_7803_); -lean_inc(v_fileName_7802_); -lean_dec(v_a_7774_); -v___x_7819_ = lean_box(0); -v_isShared_7820_ = v_isSharedCheck_7868_; -goto v_resetjp_7818_; +lean_inc(v_inheritedTraceOptions_8097_); +lean_inc(v_cancelTk_x3f_8095_); +lean_inc(v_currMacroScope_8093_); +lean_inc(v_quotContext_8092_); +lean_inc(v_maxHeartbeats_8091_); +lean_inc(v_initHeartbeats_8090_); +lean_inc(v_openDecls_8089_); +lean_inc(v_currNamespace_8088_); +lean_inc(v_ref_8087_); +lean_inc(v_maxRecDepth_8086_); +lean_inc(v_currRecDepth_8085_); +lean_inc(v_options_8084_); +lean_inc(v_fileMap_8083_); +lean_inc(v_fileName_8082_); +lean_dec(v_a_8073_); +v___x_8099_ = lean_box(0); +v_isShared_8100_ = v_isSharedCheck_8170_; +goto v_resetjp_8098_; } -v___jp_7777_: +v___jp_8076_: { -lean_object* v___x_7781_; lean_object* v___x_7782_; -v___x_7781_ = lean_st_ref_set(v___y_7778_, v_snd_7780_); -lean_dec(v___y_7778_); -v___x_7782_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7782_, 0, v___y_7779_); -return v___x_7782_; +lean_object* v___x_8080_; lean_object* v___x_8081_; +v___x_8080_ = lean_st_ref_set(v___y_8078_, v_snd_8079_); +lean_dec(v___y_8078_); +v___x_8081_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_8081_, 0, v___y_8077_); +return v___x_8081_; } -v___jp_7783_: +v_resetjp_8098_: { -lean_object* v___x_7786_; uint8_t v_shouldCache_7787_; -v___x_7786_ = lean_st_ref_take(v___y_7785_); -v_shouldCache_7787_ = lean_ctor_get_uint8(v___x_7786_, sizeof(void*)*6); -if (v_shouldCache_7787_ == 0) +uint8_t v___x_8101_; +v___x_8101_ = lean_nat_dec_eq(v_currRecDepth_8085_, v_maxRecDepth_8086_); +if (v___x_8101_ == 0) { -lean_dec_ref(v_e_7769_); -v___y_7778_ = v___y_7785_; -v___y_7779_ = v_r_7784_; -v_snd_7780_ = v___x_7786_; -goto v___jp_7777_; +lean_object* v___x_8102_; lean_object* v_expectedType_8103_; lean_object* v_r_8105_; lean_object* v___y_8106_; lean_object* v_cache_8124_; lean_object* v___x_8125_; lean_object* v___x_8126_; +v___x_8102_ = lean_st_ref_get(v_a_8070_); +v_expectedType_8103_ = lean_ctor_get(v_a_8069_, 0); +lean_inc(v_expectedType_8103_); +v_cache_8124_ = lean_ctor_get(v___x_8102_, 1); +lean_inc_ref(v_cache_8124_); +lean_dec(v___x_8102_); +lean_inc(v_expectedType_8103_); +lean_inc_ref(v_e_8068_); +v___x_8125_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_8125_, 0, v_e_8068_); +lean_ctor_set(v___x_8125_, 1, v_expectedType_8103_); +v___x_8126_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_cache_8124_, v___x_8125_); +lean_dec_ref(v___x_8125_); +if (lean_obj_tag(v___x_8126_) == 1) +{ +lean_object* v_val_8127_; lean_object* v___x_8129_; uint8_t v_isShared_8130_; uint8_t v_isSharedCheck_8134_; +lean_dec(v_expectedType_8103_); +lean_del_object(v___x_8099_); +lean_dec_ref(v_inheritedTraceOptions_8097_); +lean_dec(v_cancelTk_x3f_8095_); +lean_dec(v_currMacroScope_8093_); +lean_dec(v_quotContext_8092_); +lean_dec(v_maxHeartbeats_8091_); +lean_dec(v_initHeartbeats_8090_); +lean_dec(v_openDecls_8089_); +lean_dec(v_currNamespace_8088_); +lean_dec(v_ref_8087_); +lean_dec(v_maxRecDepth_8086_); +lean_dec(v_currRecDepth_8085_); +lean_dec_ref(v_options_8084_); +lean_dec_ref(v_fileMap_8083_); +lean_dec_ref(v_fileName_8082_); +lean_dec(v_a_8074_); +lean_dec(v_a_8072_); +lean_dec_ref(v_a_8071_); +lean_dec(v_a_8070_); +lean_dec_ref(v_a_8069_); +lean_dec_ref(v_e_8068_); +v_val_8127_ = lean_ctor_get(v___x_8126_, 0); +v_isSharedCheck_8134_ = !lean_is_exclusive(v___x_8126_); +if (v_isSharedCheck_8134_ == 0) +{ +v___x_8129_ = v___x_8126_; +v_isShared_8130_ = v_isSharedCheck_8134_; +goto v_resetjp_8128_; } else { -lean_object* v_lctx_7788_; lean_object* v_cache_7789_; lean_object* v_typeCache_7790_; lean_object* v_isTypeFormerTypeCache_7791_; lean_object* v_seq_7792_; lean_object* v_toAny_7793_; lean_object* v___x_7795_; uint8_t v_isShared_7796_; uint8_t v_isSharedCheck_7801_; -v_lctx_7788_ = lean_ctor_get(v___x_7786_, 0); -v_cache_7789_ = lean_ctor_get(v___x_7786_, 1); -v_typeCache_7790_ = lean_ctor_get(v___x_7786_, 2); -v_isTypeFormerTypeCache_7791_ = lean_ctor_get(v___x_7786_, 3); -v_seq_7792_ = lean_ctor_get(v___x_7786_, 4); -v_toAny_7793_ = lean_ctor_get(v___x_7786_, 5); -v_isSharedCheck_7801_ = !lean_is_exclusive(v___x_7786_); -if (v_isSharedCheck_7801_ == 0) +lean_inc(v_val_8127_); +lean_dec(v___x_8126_); +v___x_8129_ = lean_box(0); +v_isShared_8130_ = v_isSharedCheck_8134_; +goto v_resetjp_8128_; +} +v_resetjp_8128_: { -v___x_7795_ = v___x_7786_; -v_isShared_7796_ = v_isSharedCheck_7801_; -goto v_resetjp_7794_; +lean_object* v___x_8132_; +if (v_isShared_8130_ == 0) +{ +lean_ctor_set_tag(v___x_8129_, 0); +v___x_8132_ = v___x_8129_; +goto v_reusejp_8131_; } else { -lean_inc(v_toAny_7793_); -lean_inc(v_seq_7792_); -lean_inc(v_isTypeFormerTypeCache_7791_); -lean_inc(v_typeCache_7790_); -lean_inc(v_cache_7789_); -lean_inc(v_lctx_7788_); -lean_dec(v___x_7786_); -v___x_7795_ = lean_box(0); -v_isShared_7796_ = v_isSharedCheck_7801_; -goto v_resetjp_7794_; +lean_object* v_reuseFailAlloc_8133_; +v_reuseFailAlloc_8133_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8133_, 0, v_val_8127_); +v___x_8132_ = v_reuseFailAlloc_8133_; +goto v_reusejp_8131_; } -v_resetjp_7794_: +v_reusejp_8131_: { -lean_object* v___x_7797_; lean_object* v___x_7799_; -lean_inc(v_r_7784_); -v___x_7797_ = l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(v_cache_7789_, v_e_7769_, v_r_7784_); -if (v_isShared_7796_ == 0) -{ -lean_ctor_set(v___x_7795_, 1, v___x_7797_); -v___x_7799_ = v___x_7795_; -goto v_reusejp_7798_; -} -else -{ -lean_object* v_reuseFailAlloc_7800_; -v_reuseFailAlloc_7800_ = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(v_reuseFailAlloc_7800_, 0, v_lctx_7788_); -lean_ctor_set(v_reuseFailAlloc_7800_, 1, v___x_7797_); -lean_ctor_set(v_reuseFailAlloc_7800_, 2, v_typeCache_7790_); -lean_ctor_set(v_reuseFailAlloc_7800_, 3, v_isTypeFormerTypeCache_7791_); -lean_ctor_set(v_reuseFailAlloc_7800_, 4, v_seq_7792_); -lean_ctor_set(v_reuseFailAlloc_7800_, 5, v_toAny_7793_); -lean_ctor_set_uint8(v_reuseFailAlloc_7800_, sizeof(void*)*6, v_shouldCache_7787_); -v___x_7799_ = v_reuseFailAlloc_7800_; -goto v_reusejp_7798_; -} -v_reusejp_7798_: -{ -v___y_7778_ = v___y_7785_; -v___y_7779_ = v_r_7784_; -v_snd_7780_ = v___x_7799_; -goto v___jp_7777_; -} -} -} -} -v_resetjp_7818_: -{ -uint8_t v___x_7821_; -v___x_7821_ = lean_nat_dec_eq(v_currRecDepth_7805_, v_maxRecDepth_7806_); -if (v___x_7821_ == 0) -{ -lean_object* v___x_7822_; lean_object* v_cache_7823_; lean_object* v___x_7824_; -v___x_7822_ = lean_st_ref_get(v_a_7771_); -v_cache_7823_ = lean_ctor_get(v___x_7822_, 1); -lean_inc_ref(v_cache_7823_); -lean_dec(v___x_7822_); -v___x_7824_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_cache_7823_, v_e_7769_); -if (lean_obj_tag(v___x_7824_) == 1) -{ -lean_object* v_val_7825_; lean_object* v___x_7827_; uint8_t v_isShared_7828_; uint8_t v_isSharedCheck_7832_; -lean_del_object(v___x_7819_); -lean_dec_ref(v_inheritedTraceOptions_7817_); -lean_dec(v_cancelTk_x3f_7815_); -lean_dec(v_currMacroScope_7813_); -lean_dec(v_quotContext_7812_); -lean_dec(v_maxHeartbeats_7811_); -lean_dec(v_initHeartbeats_7810_); -lean_dec(v_openDecls_7809_); -lean_dec(v_currNamespace_7808_); -lean_dec(v_ref_7807_); -lean_dec(v_maxRecDepth_7806_); -lean_dec(v_currRecDepth_7805_); -lean_dec_ref(v_options_7804_); -lean_dec_ref(v_fileMap_7803_); -lean_dec_ref(v_fileName_7802_); -lean_dec(v_a_7775_); -lean_dec(v_a_7773_); -lean_dec_ref(v_a_7772_); -lean_dec(v_a_7771_); -lean_dec_ref(v_e_7769_); -v_val_7825_ = lean_ctor_get(v___x_7824_, 0); -v_isSharedCheck_7832_ = !lean_is_exclusive(v___x_7824_); -if (v_isSharedCheck_7832_ == 0) -{ -v___x_7827_ = v___x_7824_; -v_isShared_7828_ = v_isSharedCheck_7832_; -goto v_resetjp_7826_; -} -else -{ -lean_inc(v_val_7825_); -lean_dec(v___x_7824_); -v___x_7827_ = lean_box(0); -v_isShared_7828_ = v_isSharedCheck_7832_; -goto v_resetjp_7826_; -} -v_resetjp_7826_: -{ -lean_object* v___x_7830_; -if (v_isShared_7828_ == 0) -{ -lean_ctor_set_tag(v___x_7827_, 0); -v___x_7830_ = v___x_7827_; -goto v_reusejp_7829_; -} -else -{ -lean_object* v_reuseFailAlloc_7831_; -v_reuseFailAlloc_7831_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7831_, 0, v_val_7825_); -v___x_7830_ = v_reuseFailAlloc_7831_; -goto v_reusejp_7829_; -} -v_reusejp_7829_: -{ -return v___x_7830_; +return v___x_8132_; } } } else { -lean_object* v___x_7833_; lean_object* v___x_7834_; lean_object* v___x_7836_; -lean_dec(v___x_7824_); -v___x_7833_ = lean_unsigned_to_nat(1u); -v___x_7834_ = lean_nat_add(v_currRecDepth_7805_, v___x_7833_); -lean_dec(v_currRecDepth_7805_); -if (v_isShared_7820_ == 0) +lean_object* v___x_8135_; lean_object* v___x_8136_; lean_object* v___x_8138_; +lean_dec(v___x_8126_); +v___x_8135_ = lean_unsigned_to_nat(1u); +v___x_8136_ = lean_nat_add(v_currRecDepth_8085_, v___x_8135_); +lean_dec(v_currRecDepth_8085_); +if (v_isShared_8100_ == 0) { -lean_ctor_set(v___x_7819_, 3, v___x_7834_); -v___x_7836_ = v___x_7819_; -goto v_reusejp_7835_; +lean_ctor_set(v___x_8099_, 3, v___x_8136_); +v___x_8138_ = v___x_8099_; +goto v_reusejp_8137_; } else { -lean_object* v_reuseFailAlloc_7866_; -v_reuseFailAlloc_7866_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_7866_, 0, v_fileName_7802_); -lean_ctor_set(v_reuseFailAlloc_7866_, 1, v_fileMap_7803_); -lean_ctor_set(v_reuseFailAlloc_7866_, 2, v_options_7804_); -lean_ctor_set(v_reuseFailAlloc_7866_, 3, v___x_7834_); -lean_ctor_set(v_reuseFailAlloc_7866_, 4, v_maxRecDepth_7806_); -lean_ctor_set(v_reuseFailAlloc_7866_, 5, v_ref_7807_); -lean_ctor_set(v_reuseFailAlloc_7866_, 6, v_currNamespace_7808_); -lean_ctor_set(v_reuseFailAlloc_7866_, 7, v_openDecls_7809_); -lean_ctor_set(v_reuseFailAlloc_7866_, 8, v_initHeartbeats_7810_); -lean_ctor_set(v_reuseFailAlloc_7866_, 9, v_maxHeartbeats_7811_); -lean_ctor_set(v_reuseFailAlloc_7866_, 10, v_quotContext_7812_); -lean_ctor_set(v_reuseFailAlloc_7866_, 11, v_currMacroScope_7813_); -lean_ctor_set(v_reuseFailAlloc_7866_, 12, v_cancelTk_x3f_7815_); -lean_ctor_set(v_reuseFailAlloc_7866_, 13, v_inheritedTraceOptions_7817_); -lean_ctor_set_uint8(v_reuseFailAlloc_7866_, sizeof(void*)*14, v_diag_7814_); -lean_ctor_set_uint8(v_reuseFailAlloc_7866_, sizeof(void*)*14 + 1, v_suppressElabErrors_7816_); -v___x_7836_ = v_reuseFailAlloc_7866_; -goto v_reusejp_7835_; +lean_object* v_reuseFailAlloc_8168_; +v_reuseFailAlloc_8168_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_8168_, 0, v_fileName_8082_); +lean_ctor_set(v_reuseFailAlloc_8168_, 1, v_fileMap_8083_); +lean_ctor_set(v_reuseFailAlloc_8168_, 2, v_options_8084_); +lean_ctor_set(v_reuseFailAlloc_8168_, 3, v___x_8136_); +lean_ctor_set(v_reuseFailAlloc_8168_, 4, v_maxRecDepth_8086_); +lean_ctor_set(v_reuseFailAlloc_8168_, 5, v_ref_8087_); +lean_ctor_set(v_reuseFailAlloc_8168_, 6, v_currNamespace_8088_); +lean_ctor_set(v_reuseFailAlloc_8168_, 7, v_openDecls_8089_); +lean_ctor_set(v_reuseFailAlloc_8168_, 8, v_initHeartbeats_8090_); +lean_ctor_set(v_reuseFailAlloc_8168_, 9, v_maxHeartbeats_8091_); +lean_ctor_set(v_reuseFailAlloc_8168_, 10, v_quotContext_8092_); +lean_ctor_set(v_reuseFailAlloc_8168_, 11, v_currMacroScope_8093_); +lean_ctor_set(v_reuseFailAlloc_8168_, 12, v_cancelTk_x3f_8095_); +lean_ctor_set(v_reuseFailAlloc_8168_, 13, v_inheritedTraceOptions_8097_); +lean_ctor_set_uint8(v_reuseFailAlloc_8168_, sizeof(void*)*14, v_diag_8094_); +lean_ctor_set_uint8(v_reuseFailAlloc_8168_, sizeof(void*)*14 + 1, v_suppressElabErrors_8096_); +v___x_8138_ = v_reuseFailAlloc_8168_; +goto v_reusejp_8137_; } -v_reusejp_7835_: +v_reusejp_8137_: { -switch(lean_obj_tag(v_e_7769_)) +switch(lean_obj_tag(v_e_8068_)) { case 1: { -lean_object* v_fvarId_7837_; lean_object* v___x_7838_; lean_object* v_toAny_7839_; uint8_t v___x_7840_; -lean_dec_ref(v___x_7836_); -lean_dec(v_a_7775_); -lean_dec(v_a_7773_); -lean_dec_ref(v_a_7772_); -v_fvarId_7837_ = lean_ctor_get(v_e_7769_, 0); -v___x_7838_ = lean_st_ref_get(v_a_7771_); -v_toAny_7839_ = lean_ctor_get(v___x_7838_, 5); -lean_inc(v_toAny_7839_); -lean_dec(v___x_7838_); -v___x_7840_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_fvarId_7837_, v_toAny_7839_); -lean_dec(v_toAny_7839_); -if (v___x_7840_ == 0) +lean_object* v_fvarId_8139_; lean_object* v___x_8140_; lean_object* v_toAny_8141_; uint8_t v___x_8142_; +lean_dec_ref(v___x_8138_); +lean_dec(v_a_8074_); +lean_dec(v_a_8072_); +lean_dec_ref(v_a_8071_); +lean_dec_ref(v_a_8069_); +v_fvarId_8139_ = lean_ctor_get(v_e_8068_, 0); +v___x_8140_ = lean_st_ref_get(v_a_8070_); +v_toAny_8141_ = lean_ctor_get(v___x_8140_, 5); +lean_inc(v_toAny_8141_); +lean_dec(v___x_8140_); +v___x_8142_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Compiler_LCNF_ToLCNF_applyToAny_spec__0___redArg(v_fvarId_8139_, v_toAny_8141_); +lean_dec(v_toAny_8141_); +if (v___x_8142_ == 0) { -lean_object* v___x_7841_; -lean_inc(v_fvarId_7837_); -v___x_7841_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_7841_, 0, v_fvarId_7837_); -v_r_7784_ = v___x_7841_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v___x_8143_; +lean_inc(v_fvarId_8139_); +v___x_8143_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_8143_, 0, v_fvarId_8139_); +v_r_8105_ = v___x_8143_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_object* v___x_7842_; -v___x_7842_ = lean_box(0); -v_r_7784_ = v___x_7842_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v___x_8144_; +v___x_8144_ = lean_box(0); +v_r_8105_ = v___x_8144_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } } case 4: { -lean_object* v___x_7843_; -lean_inc(v_a_7771_); -lean_inc_ref(v_e_7769_); -v___x_7843_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_7769_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7843_) == 0) +lean_object* v___x_8145_; +lean_inc(v_a_8070_); +lean_inc_ref(v_e_8068_); +v___x_8145_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_8068_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8145_) == 0) { -lean_object* v_a_7844_; -v_a_7844_ = lean_ctor_get(v___x_7843_, 0); -lean_inc(v_a_7844_); -lean_dec_ref(v___x_7843_); -v_r_7784_ = v_a_7844_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8146_; +v_a_8146_ = lean_ctor_get(v___x_8145_, 0); +lean_inc(v_a_8146_); +lean_dec_ref(v___x_8145_); +v_r_8105_ = v_a_8146_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7843_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8145_; } } case 5: { -lean_object* v___x_7845_; -lean_inc(v_a_7771_); -lean_inc_ref(v_e_7769_); -v___x_7845_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_7769_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7845_) == 0) +lean_object* v___x_8147_; +lean_inc(v_a_8070_); +lean_inc_ref(v_e_8068_); +v___x_8147_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_8068_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8147_) == 0) { -lean_object* v_a_7846_; -v_a_7846_ = lean_ctor_get(v___x_7845_, 0); -lean_inc(v_a_7846_); -lean_dec_ref(v___x_7845_); -v_r_7784_ = v_a_7846_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8148_; +v_a_8148_ = lean_ctor_get(v___x_8147_, 0); +lean_inc(v_a_8148_); +lean_dec_ref(v___x_8147_); +v_r_8105_ = v_a_8148_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7845_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8147_; } } case 6: { -lean_object* v___x_7847_; -lean_inc(v_a_7771_); -lean_inc_ref(v_e_7769_); -v___x_7847_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(v_e_7769_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7847_) == 0) +lean_object* v___x_8149_; +lean_inc(v_a_8070_); +lean_inc_ref(v_e_8068_); +v___x_8149_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(v_e_8068_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8149_) == 0) { -lean_object* v_a_7848_; -v_a_7848_ = lean_ctor_get(v___x_7847_, 0); -lean_inc(v_a_7848_); -lean_dec_ref(v___x_7847_); -v_r_7784_ = v_a_7848_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8150_; +v_a_8150_ = lean_ctor_get(v___x_8149_, 0); +lean_inc(v_a_8150_); +lean_dec_ref(v___x_8149_); +v_r_8105_ = v_a_8150_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7847_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8149_; } } case 8: { -lean_object* v___x_7849_; lean_object* v___x_7850_; -v___x_7849_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___redArg___closed__0)); -lean_inc(v_a_7771_); -lean_inc_ref(v_e_7769_); -v___x_7850_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(v_e_7769_, v___x_7849_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7850_) == 0) +lean_object* v___x_8151_; lean_object* v___x_8152_; +v___x_8151_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___closed__0)); +lean_inc(v_a_8070_); +lean_inc_ref(v_e_8068_); +v___x_8152_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(v_e_8068_, v___x_8151_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8152_) == 0) { -lean_object* v_a_7851_; -v_a_7851_ = lean_ctor_get(v___x_7850_, 0); -lean_inc(v_a_7851_); -lean_dec_ref(v___x_7850_); -v_r_7784_ = v_a_7851_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8153_; +v_a_8153_ = lean_ctor_get(v___x_8152_, 0); +lean_inc(v_a_8153_); +lean_dec_ref(v___x_8152_); +v_r_8105_ = v_a_8153_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7850_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8152_; } } case 9: { -lean_object* v_a_7852_; lean_object* v___x_7853_; -v_a_7852_ = lean_ctor_get(v_e_7769_, 0); -lean_inc_ref(v_a_7852_); -v___x_7853_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_a_7852_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7853_) == 0) +lean_object* v_a_8154_; lean_object* v___x_8155_; +lean_dec_ref(v_a_8069_); +v_a_8154_ = lean_ctor_get(v_e_8068_, 0); +lean_inc_ref(v_a_8154_); +v___x_8155_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLit___redArg(v_a_8154_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8155_) == 0) { -lean_object* v_a_7854_; -v_a_7854_ = lean_ctor_get(v___x_7853_, 0); -lean_inc(v_a_7854_); -lean_dec_ref(v___x_7853_); -v_r_7784_ = v_a_7854_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8156_; +v_a_8156_ = lean_ctor_get(v___x_8155_, 0); +lean_inc(v_a_8156_); +lean_dec_ref(v___x_8155_); +v_r_8105_ = v_a_8156_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7853_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8155_; } } case 10: { -lean_object* v_expr_7855_; lean_object* v___x_7856_; -v_expr_7855_ = lean_ctor_get(v_e_7769_, 1); -lean_inc(v_a_7771_); -lean_inc_ref(v_expr_7855_); -v___x_7856_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_expr_7855_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7856_) == 0) +lean_object* v_expr_8157_; lean_object* v___x_8158_; +v_expr_8157_ = lean_ctor_get(v_e_8068_, 1); +lean_inc(v_a_8070_); +lean_inc_ref(v_expr_8157_); +v___x_8158_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_expr_8157_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8158_) == 0) { -lean_object* v_a_7857_; -v_a_7857_ = lean_ctor_get(v___x_7856_, 0); -lean_inc(v_a_7857_); -lean_dec_ref(v___x_7856_); -v_r_7784_ = v_a_7857_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8159_; +v_a_8159_ = lean_ctor_get(v___x_8158_, 0); +lean_inc(v_a_8159_); +lean_dec_ref(v___x_8158_); +v_r_8105_ = v_a_8159_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7856_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8158_; } } case 11: { -lean_object* v_typeName_7858_; lean_object* v_idx_7859_; lean_object* v_struct_7860_; lean_object* v___x_7861_; -v_typeName_7858_ = lean_ctor_get(v_e_7769_, 0); -v_idx_7859_ = lean_ctor_get(v_e_7769_, 1); -v_struct_7860_ = lean_ctor_get(v_e_7769_, 2); -lean_inc(v_a_7771_); -lean_inc_ref(v_struct_7860_); -lean_inc(v_idx_7859_); -lean_inc(v_typeName_7858_); -v___x_7861_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(v_typeName_7858_, v_idx_7859_, v_struct_7860_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7861_) == 0) +lean_object* v_typeName_8160_; lean_object* v_idx_8161_; lean_object* v_struct_8162_; lean_object* v___x_8163_; +v_typeName_8160_ = lean_ctor_get(v_e_8068_, 0); +v_idx_8161_ = lean_ctor_get(v_e_8068_, 1); +v_struct_8162_ = lean_ctor_get(v_e_8068_, 2); +lean_inc(v_a_8070_); +lean_inc_ref(v_struct_8162_); +lean_inc(v_idx_8161_); +lean_inc(v_typeName_8160_); +v___x_8163_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(v_typeName_8160_, v_idx_8161_, v_struct_8162_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8163_) == 0) { -lean_object* v_a_7862_; -v_a_7862_ = lean_ctor_get(v___x_7861_, 0); -lean_inc(v_a_7862_); -lean_dec_ref(v___x_7861_); -v_r_7784_ = v_a_7862_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8164_; +v_a_8164_ = lean_ctor_get(v___x_8163_, 0); +lean_inc(v_a_8164_); +lean_dec_ref(v___x_8163_); +v_r_8105_ = v_a_8164_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec_ref(v_e_7769_); -lean_dec(v_a_7771_); -return v___x_7861_; +lean_dec_ref(v_e_8068_); +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +return v___x_8163_; } } default: { -lean_object* v___x_7863_; lean_object* v___x_7864_; -v___x_7863_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1); -lean_inc(v_a_7771_); -v___x_7864_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_7863_, v_a_7770_, v_a_7771_, v_a_7772_, v_a_7773_, v___x_7836_, v_a_7775_); -if (lean_obj_tag(v___x_7864_) == 0) +lean_object* v___x_8165_; lean_object* v___x_8166_; +v___x_8165_ = lean_obj_once(&l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1, &l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1_once, _init_l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___closed__1); +lean_inc(v_a_8070_); +v___x_8166_ = l_panic___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__2(v___x_8165_, v_a_8069_, v_a_8070_, v_a_8071_, v_a_8072_, v___x_8138_, v_a_8074_); +if (lean_obj_tag(v___x_8166_) == 0) { -lean_object* v_a_7865_; -v_a_7865_ = lean_ctor_get(v___x_7864_, 0); -lean_inc(v_a_7865_); -lean_dec_ref(v___x_7864_); -v_r_7784_ = v_a_7865_; -v___y_7785_ = v_a_7771_; -goto v___jp_7783_; +lean_object* v_a_8167_; +v_a_8167_ = lean_ctor_get(v___x_8166_, 0); +lean_inc(v_a_8167_); +lean_dec_ref(v___x_8166_); +v_r_8105_ = v_a_8167_; +v___y_8106_ = v_a_8070_; +goto v___jp_8104_; } else { -lean_dec(v_a_7771_); -lean_dec_ref(v_e_7769_); -return v___x_7864_; +lean_dec(v_expectedType_8103_); +lean_dec(v_a_8070_); +lean_dec_ref(v_e_8068_); +return v___x_8166_; } } } } } +v___jp_8104_: +{ +lean_object* v___x_8107_; uint8_t v_shouldCache_8108_; +v___x_8107_ = lean_st_ref_take(v___y_8106_); +v_shouldCache_8108_ = lean_ctor_get_uint8(v___x_8107_, sizeof(void*)*6); +if (v_shouldCache_8108_ == 0) +{ +lean_dec(v_expectedType_8103_); +lean_dec_ref(v_e_8068_); +v___y_8077_ = v_r_8105_; +v___y_8078_ = v___y_8106_; +v_snd_8079_ = v___x_8107_; +goto v___jp_8076_; +} +else +{ +lean_object* v_lctx_8109_; lean_object* v_cache_8110_; lean_object* v_typeCache_8111_; lean_object* v_isTypeFormerTypeCache_8112_; lean_object* v_seq_8113_; lean_object* v_toAny_8114_; lean_object* v___x_8116_; uint8_t v_isShared_8117_; uint8_t v_isSharedCheck_8123_; +v_lctx_8109_ = lean_ctor_get(v___x_8107_, 0); +v_cache_8110_ = lean_ctor_get(v___x_8107_, 1); +v_typeCache_8111_ = lean_ctor_get(v___x_8107_, 2); +v_isTypeFormerTypeCache_8112_ = lean_ctor_get(v___x_8107_, 3); +v_seq_8113_ = lean_ctor_get(v___x_8107_, 4); +v_toAny_8114_ = lean_ctor_get(v___x_8107_, 5); +v_isSharedCheck_8123_ = !lean_is_exclusive(v___x_8107_); +if (v_isSharedCheck_8123_ == 0) +{ +v___x_8116_ = v___x_8107_; +v_isShared_8117_ = v_isSharedCheck_8123_; +goto v_resetjp_8115_; +} +else +{ +lean_inc(v_toAny_8114_); +lean_inc(v_seq_8113_); +lean_inc(v_isTypeFormerTypeCache_8112_); +lean_inc(v_typeCache_8111_); +lean_inc(v_cache_8110_); +lean_inc(v_lctx_8109_); +lean_dec(v___x_8107_); +v___x_8116_ = lean_box(0); +v_isShared_8117_ = v_isSharedCheck_8123_; +goto v_resetjp_8115_; +} +v_resetjp_8115_: +{ +lean_object* v___x_8118_; lean_object* v___x_8119_; lean_object* v___x_8121_; +v___x_8118_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_8118_, 0, v_e_8068_); +lean_ctor_set(v___x_8118_, 1, v_expectedType_8103_); +lean_inc(v_r_8105_); +v___x_8119_ = l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(v_cache_8110_, v___x_8118_, v_r_8105_); +if (v_isShared_8117_ == 0) +{ +lean_ctor_set(v___x_8116_, 1, v___x_8119_); +v___x_8121_ = v___x_8116_; +goto v_reusejp_8120_; +} +else +{ +lean_object* v_reuseFailAlloc_8122_; +v_reuseFailAlloc_8122_ = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(v_reuseFailAlloc_8122_, 0, v_lctx_8109_); +lean_ctor_set(v_reuseFailAlloc_8122_, 1, v___x_8119_); +lean_ctor_set(v_reuseFailAlloc_8122_, 2, v_typeCache_8111_); +lean_ctor_set(v_reuseFailAlloc_8122_, 3, v_isTypeFormerTypeCache_8112_); +lean_ctor_set(v_reuseFailAlloc_8122_, 4, v_seq_8113_); +lean_ctor_set(v_reuseFailAlloc_8122_, 5, v_toAny_8114_); +lean_ctor_set_uint8(v_reuseFailAlloc_8122_, sizeof(void*)*6, v_shouldCache_8108_); +v___x_8121_ = v_reuseFailAlloc_8122_; +goto v_reusejp_8120_; +} +v_reusejp_8120_: +{ +v___y_8077_ = v_r_8105_; +v___y_8078_ = v___y_8106_; +v_snd_8079_ = v___x_8121_; +goto v___jp_8076_; +} +} +} +} } else { -lean_object* v___x_7867_; -lean_del_object(v___x_7819_); -lean_dec_ref(v_inheritedTraceOptions_7817_); -lean_dec(v_cancelTk_x3f_7815_); -lean_dec(v_currMacroScope_7813_); -lean_dec(v_quotContext_7812_); -lean_dec(v_maxHeartbeats_7811_); -lean_dec(v_initHeartbeats_7810_); -lean_dec(v_openDecls_7809_); -lean_dec(v_currNamespace_7808_); -lean_dec(v_maxRecDepth_7806_); -lean_dec(v_currRecDepth_7805_); -lean_dec_ref(v_options_7804_); -lean_dec_ref(v_fileMap_7803_); -lean_dec_ref(v_fileName_7802_); -lean_dec(v_a_7775_); -lean_dec(v_a_7773_); -lean_dec_ref(v_a_7772_); -lean_dec(v_a_7771_); -lean_dec_ref(v_e_7769_); -v___x_7867_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_7807_); -return v___x_7867_; +lean_object* v___x_8169_; +lean_del_object(v___x_8099_); +lean_dec_ref(v_inheritedTraceOptions_8097_); +lean_dec(v_cancelTk_x3f_8095_); +lean_dec(v_currMacroScope_8093_); +lean_dec(v_quotContext_8092_); +lean_dec(v_maxHeartbeats_8091_); +lean_dec(v_initHeartbeats_8090_); +lean_dec(v_openDecls_8089_); +lean_dec(v_currNamespace_8088_); +lean_dec(v_maxRecDepth_8086_); +lean_dec(v_currRecDepth_8085_); +lean_dec_ref(v_options_8084_); +lean_dec_ref(v_fileMap_8083_); +lean_dec_ref(v_fileName_8082_); +lean_dec(v_a_8074_); +lean_dec(v_a_8072_); +lean_dec_ref(v_a_8071_); +lean_dec(v_a_8070_); +lean_dec_ref(v_a_8069_); +lean_dec_ref(v_e_8068_); +v___x_8169_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_8087_); +return v___x_8169_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object* v_e_7869_, uint8_t v_a_7870_, lean_object* v_a_7871_, lean_object* v_a_7872_, lean_object* v_a_7873_, lean_object* v_a_7874_, lean_object* v_a_7875_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object* v_e_8171_, lean_object* v_a_8172_, lean_object* v_a_8173_, lean_object* v_a_8174_, lean_object* v_a_8175_, lean_object* v_a_8176_, lean_object* v_a_8177_){ _start: { -lean_object* v_fileName_7877_; lean_object* v_fileMap_7878_; lean_object* v_options_7879_; lean_object* v_currRecDepth_7880_; lean_object* v_maxRecDepth_7881_; lean_object* v_ref_7882_; lean_object* v_currNamespace_7883_; lean_object* v_openDecls_7884_; lean_object* v_initHeartbeats_7885_; lean_object* v_maxHeartbeats_7886_; lean_object* v_quotContext_7887_; lean_object* v_currMacroScope_7888_; uint8_t v_diag_7889_; lean_object* v_cancelTk_x3f_7890_; uint8_t v_suppressElabErrors_7891_; lean_object* v_inheritedTraceOptions_7892_; lean_object* v___x_7894_; uint8_t v_isShared_7895_; uint8_t v_isSharedCheck_7976_; -v_fileName_7877_ = lean_ctor_get(v_a_7874_, 0); -v_fileMap_7878_ = lean_ctor_get(v_a_7874_, 1); -v_options_7879_ = lean_ctor_get(v_a_7874_, 2); -v_currRecDepth_7880_ = lean_ctor_get(v_a_7874_, 3); -v_maxRecDepth_7881_ = lean_ctor_get(v_a_7874_, 4); -v_ref_7882_ = lean_ctor_get(v_a_7874_, 5); -v_currNamespace_7883_ = lean_ctor_get(v_a_7874_, 6); -v_openDecls_7884_ = lean_ctor_get(v_a_7874_, 7); -v_initHeartbeats_7885_ = lean_ctor_get(v_a_7874_, 8); -v_maxHeartbeats_7886_ = lean_ctor_get(v_a_7874_, 9); -v_quotContext_7887_ = lean_ctor_get(v_a_7874_, 10); -v_currMacroScope_7888_ = lean_ctor_get(v_a_7874_, 11); -v_diag_7889_ = lean_ctor_get_uint8(v_a_7874_, sizeof(void*)*14); -v_cancelTk_x3f_7890_ = lean_ctor_get(v_a_7874_, 12); -v_suppressElabErrors_7891_ = lean_ctor_get_uint8(v_a_7874_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_7892_ = lean_ctor_get(v_a_7874_, 13); -v_isSharedCheck_7976_ = !lean_is_exclusive(v_a_7874_); -if (v_isSharedCheck_7976_ == 0) +lean_object* v_fileName_8179_; lean_object* v_fileMap_8180_; lean_object* v_options_8181_; lean_object* v_currRecDepth_8182_; lean_object* v_maxRecDepth_8183_; lean_object* v_ref_8184_; lean_object* v_currNamespace_8185_; lean_object* v_openDecls_8186_; lean_object* v_initHeartbeats_8187_; lean_object* v_maxHeartbeats_8188_; lean_object* v_quotContext_8189_; lean_object* v_currMacroScope_8190_; uint8_t v_diag_8191_; lean_object* v_cancelTk_x3f_8192_; uint8_t v_suppressElabErrors_8193_; lean_object* v_inheritedTraceOptions_8194_; lean_object* v___x_8196_; uint8_t v_isShared_8197_; uint8_t v_isSharedCheck_8278_; +v_fileName_8179_ = lean_ctor_get(v_a_8176_, 0); +v_fileMap_8180_ = lean_ctor_get(v_a_8176_, 1); +v_options_8181_ = lean_ctor_get(v_a_8176_, 2); +v_currRecDepth_8182_ = lean_ctor_get(v_a_8176_, 3); +v_maxRecDepth_8183_ = lean_ctor_get(v_a_8176_, 4); +v_ref_8184_ = lean_ctor_get(v_a_8176_, 5); +v_currNamespace_8185_ = lean_ctor_get(v_a_8176_, 6); +v_openDecls_8186_ = lean_ctor_get(v_a_8176_, 7); +v_initHeartbeats_8187_ = lean_ctor_get(v_a_8176_, 8); +v_maxHeartbeats_8188_ = lean_ctor_get(v_a_8176_, 9); +v_quotContext_8189_ = lean_ctor_get(v_a_8176_, 10); +v_currMacroScope_8190_ = lean_ctor_get(v_a_8176_, 11); +v_diag_8191_ = lean_ctor_get_uint8(v_a_8176_, sizeof(void*)*14); +v_cancelTk_x3f_8192_ = lean_ctor_get(v_a_8176_, 12); +v_suppressElabErrors_8193_ = lean_ctor_get_uint8(v_a_8176_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_8194_ = lean_ctor_get(v_a_8176_, 13); +v_isSharedCheck_8278_ = !lean_is_exclusive(v_a_8176_); +if (v_isSharedCheck_8278_ == 0) { -v___x_7894_ = v_a_7874_; -v_isShared_7895_ = v_isSharedCheck_7976_; -goto v_resetjp_7893_; +v___x_8196_ = v_a_8176_; +v_isShared_8197_ = v_isSharedCheck_8278_; +goto v_resetjp_8195_; } else { -lean_inc(v_inheritedTraceOptions_7892_); -lean_inc(v_cancelTk_x3f_7890_); -lean_inc(v_currMacroScope_7888_); -lean_inc(v_quotContext_7887_); -lean_inc(v_maxHeartbeats_7886_); -lean_inc(v_initHeartbeats_7885_); -lean_inc(v_openDecls_7884_); -lean_inc(v_currNamespace_7883_); -lean_inc(v_ref_7882_); -lean_inc(v_maxRecDepth_7881_); -lean_inc(v_currRecDepth_7880_); -lean_inc(v_options_7879_); -lean_inc(v_fileMap_7878_); -lean_inc(v_fileName_7877_); -lean_dec(v_a_7874_); -v___x_7894_ = lean_box(0); -v_isShared_7895_ = v_isSharedCheck_7976_; -goto v_resetjp_7893_; +lean_inc(v_inheritedTraceOptions_8194_); +lean_inc(v_cancelTk_x3f_8192_); +lean_inc(v_currMacroScope_8190_); +lean_inc(v_quotContext_8189_); +lean_inc(v_maxHeartbeats_8188_); +lean_inc(v_initHeartbeats_8187_); +lean_inc(v_openDecls_8186_); +lean_inc(v_currNamespace_8185_); +lean_inc(v_ref_8184_); +lean_inc(v_maxRecDepth_8183_); +lean_inc(v_currRecDepth_8182_); +lean_inc(v_options_8181_); +lean_inc(v_fileMap_8180_); +lean_inc(v_fileName_8179_); +lean_dec(v_a_8176_); +v___x_8196_ = lean_box(0); +v_isShared_8197_ = v_isSharedCheck_8278_; +goto v_resetjp_8195_; } -v_resetjp_7893_: +v_resetjp_8195_: { -uint8_t v___x_7896_; -v___x_7896_ = lean_nat_dec_eq(v_currRecDepth_7880_, v_maxRecDepth_7881_); -if (v___x_7896_ == 0) +uint8_t v___x_8198_; +v___x_8198_ = lean_nat_dec_eq(v_currRecDepth_8182_, v_maxRecDepth_8183_); +if (v___x_8198_ == 0) { -uint8_t v___x_7897_; -v___x_7897_ = l_Lean_Compiler_LCNF_ToLCNF_isLCProof(v_e_7869_); -if (v___x_7897_ == 0) +uint8_t v___x_8199_; +v___x_8199_ = l_Lean_Compiler_LCNF_ToLCNF_isLCProof(v_e_8171_); +if (v___x_8199_ == 0) { -lean_object* v___x_7898_; lean_object* v_lctx_7899_; lean_object* v___x_7900_; lean_object* v___x_7901_; lean_object* v___x_7902_; lean_object* v___x_7903_; lean_object* v___x_7904_; uint8_t v___x_7905_; lean_object* v___x_7906_; lean_object* v___x_7907_; lean_object* v___x_7908_; lean_object* v___x_7909_; lean_object* v___x_7910_; lean_object* v___x_7911_; lean_object* v___x_7912_; lean_object* v___x_7914_; -v___x_7898_ = lean_st_ref_get(v_a_7871_); -v_lctx_7899_ = lean_ctor_get(v___x_7898_, 0); -lean_inc_ref(v_lctx_7899_); -lean_dec(v___x_7898_); -v___x_7900_ = lean_box(1); -v___x_7901_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_7902_ = lean_unsigned_to_nat(0u); -v___x_7903_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); -v___x_7904_ = lean_box(0); -v___x_7905_ = 1; -v___x_7906_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_7906_, 0, v___x_7901_); -lean_ctor_set(v___x_7906_, 1, v___x_7900_); -lean_ctor_set(v___x_7906_, 2, v_lctx_7899_); -lean_ctor_set(v___x_7906_, 3, v___x_7903_); -lean_ctor_set(v___x_7906_, 4, v___x_7904_); -lean_ctor_set(v___x_7906_, 5, v___x_7902_); -lean_ctor_set(v___x_7906_, 6, v___x_7904_); -lean_ctor_set_uint8(v___x_7906_, sizeof(void*)*7, v___x_7896_); -lean_ctor_set_uint8(v___x_7906_, sizeof(void*)*7 + 1, v___x_7896_); -lean_ctor_set_uint8(v___x_7906_, sizeof(void*)*7 + 2, v___x_7896_); -lean_ctor_set_uint8(v___x_7906_, sizeof(void*)*7 + 3, v___x_7905_); -v___x_7907_ = lean_unsigned_to_nat(32u); -v___x_7908_ = lean_mk_empty_array_with_capacity(v___x_7907_); -lean_dec_ref(v___x_7908_); -v___x_7909_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); -v___x_7910_ = lean_st_mk_ref(v___x_7909_); -v___x_7911_ = lean_unsigned_to_nat(1u); -v___x_7912_ = lean_nat_add(v_currRecDepth_7880_, v___x_7911_); -lean_dec(v_currRecDepth_7880_); -if (v_isShared_7895_ == 0) +lean_object* v___x_8200_; lean_object* v_lctx_8201_; lean_object* v___x_8202_; lean_object* v___x_8203_; lean_object* v___x_8204_; lean_object* v___x_8205_; lean_object* v___x_8206_; uint8_t v___x_8207_; lean_object* v___x_8208_; lean_object* v___x_8209_; lean_object* v___x_8210_; lean_object* v___x_8211_; lean_object* v___x_8212_; lean_object* v___x_8213_; lean_object* v___x_8214_; lean_object* v___x_8216_; +v___x_8200_ = lean_st_ref_get(v_a_8173_); +v_lctx_8201_ = lean_ctor_get(v___x_8200_, 0); +lean_inc_ref(v_lctx_8201_); +lean_dec(v___x_8200_); +v___x_8202_ = lean_box(1); +v___x_8203_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_8204_ = lean_unsigned_to_nat(0u); +v___x_8205_ = ((lean_object*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__0)); +v___x_8206_ = lean_box(0); +v___x_8207_ = 1; +v___x_8208_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_8208_, 0, v___x_8203_); +lean_ctor_set(v___x_8208_, 1, v___x_8202_); +lean_ctor_set(v___x_8208_, 2, v_lctx_8201_); +lean_ctor_set(v___x_8208_, 3, v___x_8205_); +lean_ctor_set(v___x_8208_, 4, v___x_8206_); +lean_ctor_set(v___x_8208_, 5, v___x_8204_); +lean_ctor_set(v___x_8208_, 6, v___x_8206_); +lean_ctor_set_uint8(v___x_8208_, sizeof(void*)*7, v___x_8198_); +lean_ctor_set_uint8(v___x_8208_, sizeof(void*)*7 + 1, v___x_8198_); +lean_ctor_set_uint8(v___x_8208_, sizeof(void*)*7 + 2, v___x_8198_); +lean_ctor_set_uint8(v___x_8208_, sizeof(void*)*7 + 3, v___x_8207_); +v___x_8209_ = lean_unsigned_to_nat(32u); +v___x_8210_ = lean_mk_empty_array_with_capacity(v___x_8209_); +lean_dec_ref(v___x_8210_); +v___x_8211_ = lean_obj_once(&l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5, &l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5_once, _init_l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___redArg___closed__5); +v___x_8212_ = lean_st_mk_ref(v___x_8211_); +v___x_8213_ = lean_unsigned_to_nat(1u); +v___x_8214_ = lean_nat_add(v_currRecDepth_8182_, v___x_8213_); +lean_dec(v_currRecDepth_8182_); +if (v_isShared_8197_ == 0) { -lean_ctor_set(v___x_7894_, 3, v___x_7912_); -v___x_7914_ = v___x_7894_; -goto v_reusejp_7913_; +lean_ctor_set(v___x_8196_, 3, v___x_8214_); +v___x_8216_ = v___x_8196_; +goto v_reusejp_8215_; } else { -lean_object* v_reuseFailAlloc_7972_; -v_reuseFailAlloc_7972_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_7972_, 0, v_fileName_7877_); -lean_ctor_set(v_reuseFailAlloc_7972_, 1, v_fileMap_7878_); -lean_ctor_set(v_reuseFailAlloc_7972_, 2, v_options_7879_); -lean_ctor_set(v_reuseFailAlloc_7972_, 3, v___x_7912_); -lean_ctor_set(v_reuseFailAlloc_7972_, 4, v_maxRecDepth_7881_); -lean_ctor_set(v_reuseFailAlloc_7972_, 5, v_ref_7882_); -lean_ctor_set(v_reuseFailAlloc_7972_, 6, v_currNamespace_7883_); -lean_ctor_set(v_reuseFailAlloc_7972_, 7, v_openDecls_7884_); -lean_ctor_set(v_reuseFailAlloc_7972_, 8, v_initHeartbeats_7885_); -lean_ctor_set(v_reuseFailAlloc_7972_, 9, v_maxHeartbeats_7886_); -lean_ctor_set(v_reuseFailAlloc_7972_, 10, v_quotContext_7887_); -lean_ctor_set(v_reuseFailAlloc_7972_, 11, v_currMacroScope_7888_); -lean_ctor_set(v_reuseFailAlloc_7972_, 12, v_cancelTk_x3f_7890_); -lean_ctor_set(v_reuseFailAlloc_7972_, 13, v_inheritedTraceOptions_7892_); -lean_ctor_set_uint8(v_reuseFailAlloc_7972_, sizeof(void*)*14, v_diag_7889_); -lean_ctor_set_uint8(v_reuseFailAlloc_7972_, sizeof(void*)*14 + 1, v_suppressElabErrors_7891_); -v___x_7914_ = v_reuseFailAlloc_7972_; -goto v_reusejp_7913_; +lean_object* v_reuseFailAlloc_8274_; +v_reuseFailAlloc_8274_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_8274_, 0, v_fileName_8179_); +lean_ctor_set(v_reuseFailAlloc_8274_, 1, v_fileMap_8180_); +lean_ctor_set(v_reuseFailAlloc_8274_, 2, v_options_8181_); +lean_ctor_set(v_reuseFailAlloc_8274_, 3, v___x_8214_); +lean_ctor_set(v_reuseFailAlloc_8274_, 4, v_maxRecDepth_8183_); +lean_ctor_set(v_reuseFailAlloc_8274_, 5, v_ref_8184_); +lean_ctor_set(v_reuseFailAlloc_8274_, 6, v_currNamespace_8185_); +lean_ctor_set(v_reuseFailAlloc_8274_, 7, v_openDecls_8186_); +lean_ctor_set(v_reuseFailAlloc_8274_, 8, v_initHeartbeats_8187_); +lean_ctor_set(v_reuseFailAlloc_8274_, 9, v_maxHeartbeats_8188_); +lean_ctor_set(v_reuseFailAlloc_8274_, 10, v_quotContext_8189_); +lean_ctor_set(v_reuseFailAlloc_8274_, 11, v_currMacroScope_8190_); +lean_ctor_set(v_reuseFailAlloc_8274_, 12, v_cancelTk_x3f_8192_); +lean_ctor_set(v_reuseFailAlloc_8274_, 13, v_inheritedTraceOptions_8194_); +lean_ctor_set_uint8(v_reuseFailAlloc_8274_, sizeof(void*)*14, v_diag_8191_); +lean_ctor_set_uint8(v_reuseFailAlloc_8274_, sizeof(void*)*14 + 1, v_suppressElabErrors_8193_); +v___x_8216_ = v_reuseFailAlloc_8274_; +goto v_reusejp_8215_; } -v_reusejp_7913_: +v_reusejp_8215_: { -lean_object* v___y_7916_; uint8_t v_a_7917_; lean_object* v_a_7941_; lean_object* v___x_7960_; -lean_inc(v_a_7875_); -lean_inc_ref(v___x_7914_); -lean_inc(v___x_7910_); -lean_inc_ref(v_e_7869_); -v___x_7960_ = lean_infer_type(v_e_7869_, v___x_7906_, v___x_7910_, v___x_7914_, v_a_7875_); -if (lean_obj_tag(v___x_7960_) == 0) +lean_object* v___y_8218_; uint8_t v_a_8219_; lean_object* v_a_8243_; lean_object* v___x_8262_; +lean_inc(v_a_8177_); +lean_inc_ref(v___x_8216_); +lean_inc(v___x_8212_); +lean_inc_ref(v_e_8171_); +v___x_8262_ = lean_infer_type(v_e_8171_, v___x_8208_, v___x_8212_, v___x_8216_, v_a_8177_); +if (lean_obj_tag(v___x_8262_) == 0) { -lean_object* v_a_7961_; lean_object* v___x_7962_; -v_a_7961_ = lean_ctor_get(v___x_7960_, 0); -lean_inc(v_a_7961_); -lean_dec_ref(v___x_7960_); -v___x_7962_ = lean_st_ref_get(v___x_7910_); -lean_dec(v___x_7910_); -lean_dec(v___x_7962_); -v_a_7941_ = v_a_7961_; -goto v___jp_7940_; +lean_object* v_a_8263_; lean_object* v___x_8264_; +v_a_8263_ = lean_ctor_get(v___x_8262_, 0); +lean_inc(v_a_8263_); +lean_dec_ref(v___x_8262_); +v___x_8264_ = lean_st_ref_get(v___x_8212_); +lean_dec(v___x_8212_); +lean_dec(v___x_8264_); +v_a_8243_ = v_a_8263_; +goto v___jp_8242_; } else { -lean_dec(v___x_7910_); -if (lean_obj_tag(v___x_7960_) == 0) +lean_dec(v___x_8212_); +if (lean_obj_tag(v___x_8262_) == 0) { -lean_object* v_a_7963_; -v_a_7963_ = lean_ctor_get(v___x_7960_, 0); -lean_inc(v_a_7963_); -lean_dec_ref(v___x_7960_); -v_a_7941_ = v_a_7963_; -goto v___jp_7940_; +lean_object* v_a_8265_; +v_a_8265_ = lean_ctor_get(v___x_8262_, 0); +lean_inc(v_a_8265_); +lean_dec_ref(v___x_8262_); +v_a_8243_ = v_a_8265_; +goto v___jp_8242_; } else { -lean_object* v_a_7964_; lean_object* v___x_7966_; uint8_t v_isShared_7967_; uint8_t v_isSharedCheck_7971_; -lean_dec_ref(v___x_7914_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v_a_7964_ = lean_ctor_get(v___x_7960_, 0); -v_isSharedCheck_7971_ = !lean_is_exclusive(v___x_7960_); -if (v_isSharedCheck_7971_ == 0) +lean_object* v_a_8266_; lean_object* v___x_8268_; uint8_t v_isShared_8269_; uint8_t v_isSharedCheck_8273_; +lean_dec_ref(v___x_8216_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v_a_8266_ = lean_ctor_get(v___x_8262_, 0); +v_isSharedCheck_8273_ = !lean_is_exclusive(v___x_8262_); +if (v_isSharedCheck_8273_ == 0) { -v___x_7966_ = v___x_7960_; -v_isShared_7967_ = v_isSharedCheck_7971_; -goto v_resetjp_7965_; +v___x_8268_ = v___x_8262_; +v_isShared_8269_ = v_isSharedCheck_8273_; +goto v_resetjp_8267_; } else { -lean_inc(v_a_7964_); -lean_dec(v___x_7960_); -v___x_7966_ = lean_box(0); -v_isShared_7967_ = v_isSharedCheck_7971_; -goto v_resetjp_7965_; +lean_inc(v_a_8266_); +lean_dec(v___x_8262_); +v___x_8268_ = lean_box(0); +v_isShared_8269_ = v_isSharedCheck_8273_; +goto v_resetjp_8267_; } -v_resetjp_7965_: +v_resetjp_8267_: { -lean_object* v___x_7969_; -if (v_isShared_7967_ == 0) +lean_object* v___x_8271_; +if (v_isShared_8269_ == 0) { -v___x_7969_ = v___x_7966_; -goto v_reusejp_7968_; +v___x_8271_ = v___x_8268_; +goto v_reusejp_8270_; } else { -lean_object* v_reuseFailAlloc_7970_; -v_reuseFailAlloc_7970_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7970_, 0, v_a_7964_); -v___x_7969_ = v_reuseFailAlloc_7970_; -goto v_reusejp_7968_; +lean_object* v_reuseFailAlloc_8272_; +v_reuseFailAlloc_8272_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8272_, 0, v_a_8266_); +v___x_8271_ = v_reuseFailAlloc_8272_; +goto v_reusejp_8270_; } -v_reusejp_7968_: +v_reusejp_8270_: { -return v___x_7969_; +return v___x_8271_; } } } } -v___jp_7915_: +v___jp_8217_: { -if (v_a_7917_ == 0) +if (v_a_8219_ == 0) { -lean_object* v___x_7918_; -lean_inc(v_a_7875_); -lean_inc_ref(v___x_7914_); -v___x_7918_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v___y_7916_, v_a_7871_, v___x_7914_, v_a_7875_); -if (lean_obj_tag(v___x_7918_) == 0) +lean_object* v___x_8220_; +lean_inc(v_a_8177_); +lean_inc_ref(v___x_8216_); +v___x_8220_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___redArg(v___y_8218_, v_a_8173_, v___x_8216_, v_a_8177_); +if (lean_obj_tag(v___x_8220_) == 0) { -lean_object* v_a_7919_; lean_object* v___x_7921_; uint8_t v_isShared_7922_; uint8_t v_isSharedCheck_7929_; -v_a_7919_ = lean_ctor_get(v___x_7918_, 0); -v_isSharedCheck_7929_ = !lean_is_exclusive(v___x_7918_); -if (v_isSharedCheck_7929_ == 0) +lean_object* v_a_8221_; lean_object* v___x_8223_; uint8_t v_isShared_8224_; uint8_t v_isSharedCheck_8231_; +v_a_8221_ = lean_ctor_get(v___x_8220_, 0); +v_isSharedCheck_8231_ = !lean_is_exclusive(v___x_8220_); +if (v_isSharedCheck_8231_ == 0) { -v___x_7921_ = v___x_7918_; -v_isShared_7922_ = v_isSharedCheck_7929_; -goto v_resetjp_7920_; +v___x_8223_ = v___x_8220_; +v_isShared_8224_ = v_isSharedCheck_8231_; +goto v_resetjp_8222_; } else { -lean_inc(v_a_7919_); -lean_dec(v___x_7918_); -v___x_7921_ = lean_box(0); -v_isShared_7922_ = v_isSharedCheck_7929_; -goto v_resetjp_7920_; +lean_inc(v_a_8221_); +lean_dec(v___x_8220_); +v___x_8223_ = lean_box(0); +v_isShared_8224_ = v_isSharedCheck_8231_; +goto v_resetjp_8222_; } -v_resetjp_7920_: +v_resetjp_8222_: { -uint8_t v___x_7923_; -v___x_7923_ = lean_unbox(v_a_7919_); -lean_dec(v_a_7919_); -if (v___x_7923_ == 0) +uint8_t v___x_8225_; +v___x_8225_ = lean_unbox(v_a_8221_); +lean_dec(v_a_8221_); +if (v___x_8225_ == 0) { -lean_object* v___x_7924_; -lean_del_object(v___x_7921_); -v___x_7924_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_7869_, v_a_7870_, v_a_7871_, v_a_7872_, v_a_7873_, v___x_7914_, v_a_7875_); -return v___x_7924_; +lean_object* v___x_8226_; +lean_del_object(v___x_8223_); +v___x_8226_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_8171_, v_a_8172_, v_a_8173_, v_a_8174_, v_a_8175_, v___x_8216_, v_a_8177_); +return v___x_8226_; } else { -lean_object* v___x_7925_; lean_object* v___x_7927_; -lean_dec_ref(v___x_7914_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v___x_7925_ = lean_box(0); -if (v_isShared_7922_ == 0) +lean_object* v___x_8227_; lean_object* v___x_8229_; +lean_dec_ref(v___x_8216_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v___x_8227_ = lean_box(0); +if (v_isShared_8224_ == 0) { -lean_ctor_set(v___x_7921_, 0, v___x_7925_); -v___x_7927_ = v___x_7921_; -goto v_reusejp_7926_; +lean_ctor_set(v___x_8223_, 0, v___x_8227_); +v___x_8229_ = v___x_8223_; +goto v_reusejp_8228_; } else { -lean_object* v_reuseFailAlloc_7928_; -v_reuseFailAlloc_7928_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7928_, 0, v___x_7925_); -v___x_7927_ = v_reuseFailAlloc_7928_; -goto v_reusejp_7926_; +lean_object* v_reuseFailAlloc_8230_; +v_reuseFailAlloc_8230_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8230_, 0, v___x_8227_); +v___x_8229_ = v_reuseFailAlloc_8230_; +goto v_reusejp_8228_; } -v_reusejp_7926_: +v_reusejp_8228_: { -return v___x_7927_; +return v___x_8229_; } } } } else { -lean_object* v_a_7930_; lean_object* v___x_7932_; uint8_t v_isShared_7933_; uint8_t v_isSharedCheck_7937_; -lean_dec_ref(v___x_7914_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v_a_7930_ = lean_ctor_get(v___x_7918_, 0); -v_isSharedCheck_7937_ = !lean_is_exclusive(v___x_7918_); -if (v_isSharedCheck_7937_ == 0) +lean_object* v_a_8232_; lean_object* v___x_8234_; uint8_t v_isShared_8235_; uint8_t v_isSharedCheck_8239_; +lean_dec_ref(v___x_8216_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v_a_8232_ = lean_ctor_get(v___x_8220_, 0); +v_isSharedCheck_8239_ = !lean_is_exclusive(v___x_8220_); +if (v_isSharedCheck_8239_ == 0) { -v___x_7932_ = v___x_7918_; -v_isShared_7933_ = v_isSharedCheck_7937_; -goto v_resetjp_7931_; +v___x_8234_ = v___x_8220_; +v_isShared_8235_ = v_isSharedCheck_8239_; +goto v_resetjp_8233_; } else { -lean_inc(v_a_7930_); -lean_dec(v___x_7918_); -v___x_7932_ = lean_box(0); -v_isShared_7933_ = v_isSharedCheck_7937_; -goto v_resetjp_7931_; +lean_inc(v_a_8232_); +lean_dec(v___x_8220_); +v___x_8234_ = lean_box(0); +v_isShared_8235_ = v_isSharedCheck_8239_; +goto v_resetjp_8233_; } -v_resetjp_7931_: +v_resetjp_8233_: { -lean_object* v___x_7935_; -if (v_isShared_7933_ == 0) +lean_object* v___x_8237_; +if (v_isShared_8235_ == 0) { -v___x_7935_ = v___x_7932_; -goto v_reusejp_7934_; +v___x_8237_ = v___x_8234_; +goto v_reusejp_8236_; } else { -lean_object* v_reuseFailAlloc_7936_; -v_reuseFailAlloc_7936_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7936_, 0, v_a_7930_); -v___x_7935_ = v_reuseFailAlloc_7936_; -goto v_reusejp_7934_; +lean_object* v_reuseFailAlloc_8238_; +v_reuseFailAlloc_8238_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8238_, 0, v_a_8232_); +v___x_8237_ = v_reuseFailAlloc_8238_; +goto v_reusejp_8236_; } -v_reusejp_7934_: +v_reusejp_8236_: { -return v___x_7935_; +return v___x_8237_; } } } } else { -lean_object* v___x_7938_; lean_object* v___x_7939_; -lean_dec_ref(v___y_7916_); -lean_dec_ref(v___x_7914_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v___x_7938_ = lean_box(0); -v___x_7939_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7939_, 0, v___x_7938_); -return v___x_7939_; +lean_object* v___x_8240_; lean_object* v___x_8241_; +lean_dec_ref(v___y_8218_); +lean_dec_ref(v___x_8216_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v___x_8240_ = lean_box(0); +v___x_8241_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_8241_, 0, v___x_8240_); +return v___x_8241_; } } -v___jp_7940_: +v___jp_8242_: { -lean_object* v___x_7942_; lean_object* v_lctx_7943_; lean_object* v___x_7944_; lean_object* v___x_7945_; lean_object* v___x_7946_; -v___x_7942_ = lean_st_ref_get(v_a_7871_); -v_lctx_7943_ = lean_ctor_get(v___x_7942_, 0); -lean_inc_ref(v_lctx_7943_); -lean_dec(v___x_7942_); -v___x_7944_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_7944_, 0, v___x_7901_); -lean_ctor_set(v___x_7944_, 1, v___x_7900_); -lean_ctor_set(v___x_7944_, 2, v_lctx_7943_); -lean_ctor_set(v___x_7944_, 3, v___x_7903_); -lean_ctor_set(v___x_7944_, 4, v___x_7904_); -lean_ctor_set(v___x_7944_, 5, v___x_7902_); -lean_ctor_set(v___x_7944_, 6, v___x_7904_); -lean_ctor_set_uint8(v___x_7944_, sizeof(void*)*7, v___x_7896_); -lean_ctor_set_uint8(v___x_7944_, sizeof(void*)*7 + 1, v___x_7896_); -lean_ctor_set_uint8(v___x_7944_, sizeof(void*)*7 + 2, v___x_7896_); -lean_ctor_set_uint8(v___x_7944_, sizeof(void*)*7 + 3, v___x_7905_); -v___x_7945_ = lean_st_mk_ref(v___x_7909_); -lean_inc(v_a_7875_); -lean_inc_ref(v___x_7914_); -lean_inc(v___x_7945_); -lean_inc_ref(v_a_7941_); -v___x_7946_ = l_Lean_Meta_isProp(v_a_7941_, v___x_7944_, v___x_7945_, v___x_7914_, v_a_7875_); -if (lean_obj_tag(v___x_7946_) == 0) +lean_object* v___x_8244_; lean_object* v_lctx_8245_; lean_object* v___x_8246_; lean_object* v___x_8247_; lean_object* v___x_8248_; +v___x_8244_ = lean_st_ref_get(v_a_8173_); +v_lctx_8245_ = lean_ctor_get(v___x_8244_, 0); +lean_inc_ref(v_lctx_8245_); +lean_dec(v___x_8244_); +v___x_8246_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_8246_, 0, v___x_8203_); +lean_ctor_set(v___x_8246_, 1, v___x_8202_); +lean_ctor_set(v___x_8246_, 2, v_lctx_8245_); +lean_ctor_set(v___x_8246_, 3, v___x_8205_); +lean_ctor_set(v___x_8246_, 4, v___x_8206_); +lean_ctor_set(v___x_8246_, 5, v___x_8204_); +lean_ctor_set(v___x_8246_, 6, v___x_8206_); +lean_ctor_set_uint8(v___x_8246_, sizeof(void*)*7, v___x_8198_); +lean_ctor_set_uint8(v___x_8246_, sizeof(void*)*7 + 1, v___x_8198_); +lean_ctor_set_uint8(v___x_8246_, sizeof(void*)*7 + 2, v___x_8198_); +lean_ctor_set_uint8(v___x_8246_, sizeof(void*)*7 + 3, v___x_8207_); +v___x_8247_ = lean_st_mk_ref(v___x_8211_); +lean_inc(v_a_8177_); +lean_inc_ref(v___x_8216_); +lean_inc(v___x_8247_); +lean_inc_ref(v_a_8243_); +v___x_8248_ = l_Lean_Meta_isProp(v_a_8243_, v___x_8246_, v___x_8247_, v___x_8216_, v_a_8177_); +if (lean_obj_tag(v___x_8248_) == 0) { -lean_object* v_a_7947_; lean_object* v___x_7948_; uint8_t v___x_7949_; -v_a_7947_ = lean_ctor_get(v___x_7946_, 0); -lean_inc(v_a_7947_); -lean_dec_ref(v___x_7946_); -v___x_7948_ = lean_st_ref_get(v___x_7945_); -lean_dec(v___x_7945_); -lean_dec(v___x_7948_); -v___x_7949_ = lean_unbox(v_a_7947_); -lean_dec(v_a_7947_); -v___y_7916_ = v_a_7941_; -v_a_7917_ = v___x_7949_; -goto v___jp_7915_; +lean_object* v_a_8249_; lean_object* v___x_8250_; uint8_t v___x_8251_; +v_a_8249_ = lean_ctor_get(v___x_8248_, 0); +lean_inc(v_a_8249_); +lean_dec_ref(v___x_8248_); +v___x_8250_ = lean_st_ref_get(v___x_8247_); +lean_dec(v___x_8247_); +lean_dec(v___x_8250_); +v___x_8251_ = lean_unbox(v_a_8249_); +lean_dec(v_a_8249_); +v___y_8218_ = v_a_8243_; +v_a_8219_ = v___x_8251_; +goto v___jp_8217_; } else { -lean_dec(v___x_7945_); -if (lean_obj_tag(v___x_7946_) == 0) +lean_dec(v___x_8247_); +if (lean_obj_tag(v___x_8248_) == 0) { -lean_object* v_a_7950_; uint8_t v___x_7951_; -v_a_7950_ = lean_ctor_get(v___x_7946_, 0); -lean_inc(v_a_7950_); -lean_dec_ref(v___x_7946_); -v___x_7951_ = lean_unbox(v_a_7950_); -lean_dec(v_a_7950_); -v___y_7916_ = v_a_7941_; -v_a_7917_ = v___x_7951_; -goto v___jp_7915_; +lean_object* v_a_8252_; uint8_t v___x_8253_; +v_a_8252_ = lean_ctor_get(v___x_8248_, 0); +lean_inc(v_a_8252_); +lean_dec_ref(v___x_8248_); +v___x_8253_ = lean_unbox(v_a_8252_); +lean_dec(v_a_8252_); +v___y_8218_ = v_a_8243_; +v_a_8219_ = v___x_8253_; +goto v___jp_8217_; } else { -lean_object* v_a_7952_; lean_object* v___x_7954_; uint8_t v_isShared_7955_; uint8_t v_isSharedCheck_7959_; -lean_dec_ref(v_a_7941_); -lean_dec_ref(v___x_7914_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v_a_7952_ = lean_ctor_get(v___x_7946_, 0); -v_isSharedCheck_7959_ = !lean_is_exclusive(v___x_7946_); -if (v_isSharedCheck_7959_ == 0) +lean_object* v_a_8254_; lean_object* v___x_8256_; uint8_t v_isShared_8257_; uint8_t v_isSharedCheck_8261_; +lean_dec_ref(v_a_8243_); +lean_dec_ref(v___x_8216_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v_a_8254_ = lean_ctor_get(v___x_8248_, 0); +v_isSharedCheck_8261_ = !lean_is_exclusive(v___x_8248_); +if (v_isSharedCheck_8261_ == 0) { -v___x_7954_ = v___x_7946_; -v_isShared_7955_ = v_isSharedCheck_7959_; -goto v_resetjp_7953_; +v___x_8256_ = v___x_8248_; +v_isShared_8257_ = v_isSharedCheck_8261_; +goto v_resetjp_8255_; } else { -lean_inc(v_a_7952_); -lean_dec(v___x_7946_); -v___x_7954_ = lean_box(0); -v_isShared_7955_ = v_isSharedCheck_7959_; -goto v_resetjp_7953_; +lean_inc(v_a_8254_); +lean_dec(v___x_8248_); +v___x_8256_ = lean_box(0); +v_isShared_8257_ = v_isSharedCheck_8261_; +goto v_resetjp_8255_; } -v_resetjp_7953_: +v_resetjp_8255_: { -lean_object* v___x_7957_; -if (v_isShared_7955_ == 0) +lean_object* v___x_8259_; +if (v_isShared_8257_ == 0) { -v___x_7957_ = v___x_7954_; -goto v_reusejp_7956_; +v___x_8259_ = v___x_8256_; +goto v_reusejp_8258_; } else { -lean_object* v_reuseFailAlloc_7958_; -v_reuseFailAlloc_7958_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7958_, 0, v_a_7952_); -v___x_7957_ = v_reuseFailAlloc_7958_; -goto v_reusejp_7956_; +lean_object* v_reuseFailAlloc_8260_; +v_reuseFailAlloc_8260_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_8260_, 0, v_a_8254_); +v___x_8259_ = v_reuseFailAlloc_8260_; +goto v_reusejp_8258_; } -v_reusejp_7956_: +v_reusejp_8258_: { -return v___x_7957_; +return v___x_8259_; } } } @@ -27371,877 +28633,851 @@ return v___x_7957_; } else { -lean_object* v___x_7973_; lean_object* v___x_7974_; -lean_del_object(v___x_7894_); -lean_dec_ref(v_inheritedTraceOptions_7892_); -lean_dec(v_cancelTk_x3f_7890_); -lean_dec(v_currMacroScope_7888_); -lean_dec(v_quotContext_7887_); -lean_dec(v_maxHeartbeats_7886_); -lean_dec(v_initHeartbeats_7885_); -lean_dec(v_openDecls_7884_); -lean_dec(v_currNamespace_7883_); -lean_dec(v_ref_7882_); -lean_dec(v_maxRecDepth_7881_); -lean_dec(v_currRecDepth_7880_); -lean_dec_ref(v_options_7879_); -lean_dec_ref(v_fileMap_7878_); -lean_dec_ref(v_fileName_7877_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v___x_7973_ = lean_box(0); -v___x_7974_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7974_, 0, v___x_7973_); -return v___x_7974_; +lean_object* v___x_8275_; lean_object* v___x_8276_; +lean_del_object(v___x_8196_); +lean_dec_ref(v_inheritedTraceOptions_8194_); +lean_dec(v_cancelTk_x3f_8192_); +lean_dec(v_currMacroScope_8190_); +lean_dec(v_quotContext_8189_); +lean_dec(v_maxHeartbeats_8188_); +lean_dec(v_initHeartbeats_8187_); +lean_dec(v_openDecls_8186_); +lean_dec(v_currNamespace_8185_); +lean_dec(v_ref_8184_); +lean_dec(v_maxRecDepth_8183_); +lean_dec(v_currRecDepth_8182_); +lean_dec_ref(v_options_8181_); +lean_dec_ref(v_fileMap_8180_); +lean_dec_ref(v_fileName_8179_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v___x_8275_ = lean_box(0); +v___x_8276_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_8276_, 0, v___x_8275_); +return v___x_8276_; } } else { -lean_object* v___x_7975_; -lean_del_object(v___x_7894_); -lean_dec_ref(v_inheritedTraceOptions_7892_); -lean_dec(v_cancelTk_x3f_7890_); -lean_dec(v_currMacroScope_7888_); -lean_dec(v_quotContext_7887_); -lean_dec(v_maxHeartbeats_7886_); -lean_dec(v_initHeartbeats_7885_); -lean_dec(v_openDecls_7884_); -lean_dec(v_currNamespace_7883_); -lean_dec(v_maxRecDepth_7881_); -lean_dec(v_currRecDepth_7880_); -lean_dec_ref(v_options_7879_); -lean_dec_ref(v_fileMap_7878_); -lean_dec_ref(v_fileName_7877_); -lean_dec(v_a_7875_); -lean_dec(v_a_7873_); -lean_dec_ref(v_a_7872_); -lean_dec(v_a_7871_); -lean_dec_ref(v_e_7869_); -v___x_7975_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_7882_); -return v___x_7975_; +lean_object* v___x_8277_; +lean_del_object(v___x_8196_); +lean_dec_ref(v_inheritedTraceOptions_8194_); +lean_dec(v_cancelTk_x3f_8192_); +lean_dec(v_currMacroScope_8190_); +lean_dec(v_quotContext_8189_); +lean_dec(v_maxHeartbeats_8188_); +lean_dec(v_initHeartbeats_8187_); +lean_dec(v_openDecls_8186_); +lean_dec(v_currNamespace_8185_); +lean_dec(v_maxRecDepth_8183_); +lean_dec(v_currRecDepth_8182_); +lean_dec_ref(v_options_8181_); +lean_dec_ref(v_fileMap_8180_); +lean_dec_ref(v_fileName_8179_); +lean_dec(v_a_8177_); +lean_dec(v_a_8175_); +lean_dec_ref(v_a_8174_); +lean_dec(v_a_8173_); +lean_dec_ref(v_a_8172_); +lean_dec_ref(v_e_8171_); +v___x_8277_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_8184_); +return v___x_8277_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(lean_object* v_e_7977_, uint8_t v_a_7978_, lean_object* v_a_7979_, lean_object* v_a_7980_, lean_object* v_a_7981_, lean_object* v_a_7982_, lean_object* v_a_7983_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(lean_object* v_e_8279_, lean_object* v_a_8280_, lean_object* v_a_8281_, lean_object* v_a_8282_, lean_object* v_a_8283_, lean_object* v_a_8284_, lean_object* v_a_8285_){ _start: { -lean_object* v___x_7985_; -v___x_7985_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_7977_, v_a_7978_, v_a_7979_, v_a_7980_, v_a_7981_, v_a_7982_, v_a_7983_); -return v___x_7985_; +lean_object* v___x_8287_; +v___x_8287_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_8279_, v_a_8280_, v_a_8281_, v_a_8282_, v_a_8283_, v_a_8284_, v_a_8285_); +return v___x_8287_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg___boxed(lean_object* v_e_7986_, lean_object* v_a_7987_, lean_object* v_a_7988_, lean_object* v_a_7989_, lean_object* v_a_7990_, lean_object* v_a_7991_, lean_object* v_a_7992_, lean_object* v_a_7993_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg___boxed(lean_object* v_e_8288_, lean_object* v_a_8289_, lean_object* v_a_8290_, lean_object* v_a_8291_, lean_object* v_a_8292_, lean_object* v_a_8293_, lean_object* v_a_8294_, lean_object* v_a_8295_){ _start: { -uint8_t v_a_167703__boxed_7994_; lean_object* v_res_7995_; -v_a_167703__boxed_7994_ = lean_unbox(v_a_7987_); -v_res_7995_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_e_7986_, v_a_167703__boxed_7994_, v_a_7988_, v_a_7989_, v_a_7990_, v_a_7991_, v_a_7992_); -return v_res_7995_; +lean_object* v_res_8296_; +v_res_8296_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_e_8288_, v_a_8289_, v_a_8290_, v_a_8291_, v_a_8292_, v_a_8293_, v_a_8294_); +return v_res_8296_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___boxed(lean_object* v_casesAltInfo_7996_, lean_object* v_e_7997_, lean_object* v_a_7998_, lean_object* v_a_7999_, lean_object* v_a_8000_, lean_object* v_a_8001_, lean_object* v_a_8002_, lean_object* v_a_8003_, lean_object* v_a_8004_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___boxed(lean_object* v_casesAltInfo_8297_, lean_object* v_e_8298_, lean_object* v_a_8299_, lean_object* v_a_8300_, lean_object* v_a_8301_, lean_object* v_a_8302_, lean_object* v_a_8303_, lean_object* v_a_8304_, lean_object* v_a_8305_){ _start: { -uint8_t v_a_167711__boxed_8005_; lean_object* v_res_8006_; -v_a_167711__boxed_8005_ = lean_unbox(v_a_7998_); -v_res_8006_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(v_casesAltInfo_7996_, v_e_7997_, v_a_167711__boxed_8005_, v_a_7999_, v_a_8000_, v_a_8001_, v_a_8002_, v_a_8003_); -return v_res_8006_; +lean_object* v_res_8306_; +v_res_8306_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(v_casesAltInfo_8297_, v_e_8298_, v_a_8299_, v_a_8300_, v_a_8301_, v_a_8302_, v_a_8303_, v_a_8304_); +return v_res_8306_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___boxed(lean_object* v_e_8007_, lean_object* v_a_8008_, lean_object* v_a_8009_, lean_object* v_a_8010_, lean_object* v_a_8011_, lean_object* v_a_8012_, lean_object* v_a_8013_, lean_object* v_a_8014_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12___boxed(lean_object* v_x_8307_, lean_object* v_x_8308_, lean_object* v_x_8309_, lean_object* v___y_8310_, lean_object* v___y_8311_, lean_object* v___y_8312_, lean_object* v___y_8313_, lean_object* v___y_8314_, lean_object* v___y_8315_, lean_object* v___y_8316_){ _start: { -uint8_t v_a_167721__boxed_8015_; lean_object* v_res_8016_; -v_a_167721__boxed_8015_ = lean_unbox(v_a_8008_); -v_res_8016_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_8007_, v_a_167721__boxed_8015_, v_a_8009_, v_a_8010_, v_a_8011_, v_a_8012_, v_a_8013_); -return v_res_8016_; +lean_object* v_res_8317_; +v_res_8317_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(v_x_8307_, v_x_8308_, v_x_8309_, v___y_8310_, v___y_8311_, v___y_8312_, v___y_8313_, v___y_8314_, v___y_8315_); +return v_res_8317_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___boxed(lean_object* v_e_8017_, lean_object* v_a_8018_, lean_object* v_a_8019_, lean_object* v_a_8020_, lean_object* v_a_8021_, lean_object* v_a_8022_, lean_object* v_a_8023_, lean_object* v_a_8024_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___boxed(lean_object* v_e_8318_, lean_object* v_a_8319_, lean_object* v_a_8320_, lean_object* v_a_8321_, lean_object* v_a_8322_, lean_object* v_a_8323_, lean_object* v_a_8324_, lean_object* v_a_8325_){ _start: { -uint8_t v_a_167731__boxed_8025_; lean_object* v_res_8026_; -v_a_167731__boxed_8025_ = lean_unbox(v_a_8018_); -v_res_8026_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(v_e_8017_, v_a_167731__boxed_8025_, v_a_8019_, v_a_8020_, v_a_8021_, v_a_8022_, v_a_8023_); -return v_res_8026_; +lean_object* v_res_8326_; +v_res_8326_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(v_e_8318_, v_a_8319_, v_a_8320_, v_a_8321_, v_a_8322_, v_a_8323_, v_a_8324_); +return v_res_8326_; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12___boxed(lean_object* v_x_8027_, lean_object* v_x_8028_, lean_object* v_x_8029_, lean_object* v___y_8030_, lean_object* v___y_8031_, lean_object* v___y_8032_, lean_object* v___y_8033_, lean_object* v___y_8034_, lean_object* v___y_8035_, lean_object* v___y_8036_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable___boxed(lean_object* v_e_8327_, lean_object* v_a_8328_, lean_object* v_a_8329_, lean_object* v_a_8330_, lean_object* v_a_8331_, lean_object* v_a_8332_, lean_object* v_a_8333_, lean_object* v_a_8334_){ _start: { -uint8_t v___y_167771__boxed_8037_; lean_object* v_res_8038_; -v___y_167771__boxed_8037_ = lean_unbox(v___y_8030_); -v_res_8038_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__12(v_x_8027_, v_x_8028_, v_x_8029_, v___y_167771__boxed_8037_, v___y_8031_, v___y_8032_, v___y_8033_, v___y_8034_, v___y_8035_); -return v_res_8038_; +lean_object* v_res_8335_; +v_res_8335_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLcUnreachable(v_e_8327_, v_a_8328_, v_a_8329_, v_a_8330_, v_a_8331_, v_a_8332_, v_a_8333_); +return v_res_8335_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(lean_object* v_arity_8039_, lean_object* v_e_8040_, lean_object* v_a_8041_, lean_object* v_a_8042_, lean_object* v_a_8043_, lean_object* v_a_8044_, lean_object* v_a_8045_, lean_object* v_a_8046_, lean_object* v_a_8047_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied___boxed(lean_object* v_e_8336_, lean_object* v_arity_8337_, lean_object* v_k_8338_, lean_object* v_a_8339_, lean_object* v_a_8340_, lean_object* v_a_8341_, lean_object* v_a_8342_, lean_object* v_a_8343_, lean_object* v_a_8344_, lean_object* v_a_8345_){ _start: { -uint8_t v_a_167786__boxed_8048_; lean_object* v_res_8049_; -v_a_167786__boxed_8048_ = lean_unbox(v_a_8041_); -v_res_8049_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v_arity_8039_, v_e_8040_, v_a_167786__boxed_8048_, v_a_8042_, v_a_8043_, v_a_8044_, v_a_8045_, v_a_8046_); -lean_dec(v_arity_8039_); -return v_res_8049_; +lean_object* v_res_8346_; +v_res_8346_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_8336_, v_arity_8337_, v_k_8338_, v_a_8339_, v_a_8340_, v_a_8341_, v_a_8342_, v_a_8343_, v_a_8344_); +lean_dec(v_arity_8337_); +return v_res_8346_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied___boxed(lean_object* v_e_8050_, lean_object* v_arity_8051_, lean_object* v_k_8052_, lean_object* v_a_8053_, lean_object* v_a_8054_, lean_object* v_a_8055_, lean_object* v_a_8056_, lean_object* v_a_8057_, lean_object* v_a_8058_, lean_object* v_a_8059_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(lean_object* v_arity_8347_, lean_object* v_e_8348_, lean_object* v_a_8349_, lean_object* v_a_8350_, lean_object* v_a_8351_, lean_object* v_a_8352_, lean_object* v_a_8353_, lean_object* v_a_8354_, lean_object* v_a_8355_){ _start: { -uint8_t v_a_167798__boxed_8060_; lean_object* v_res_8061_; -v_a_167798__boxed_8060_ = lean_unbox(v_a_8053_); -v_res_8061_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(v_e_8050_, v_arity_8051_, v_k_8052_, v_a_167798__boxed_8060_, v_a_8054_, v_a_8055_, v_a_8056_, v_a_8057_, v_a_8058_); -lean_dec(v_arity_8051_); -return v_res_8061_; +lean_object* v_res_8356_; +v_res_8356_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(v_arity_8347_, v_e_8348_, v_a_8349_, v_a_8350_, v_a_8351_, v_a_8352_, v_a_8353_, v_a_8354_); +lean_dec(v_arity_8347_); +return v_res_8356_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object* v_e_8062_, lean_object* v_a_8063_, lean_object* v_a_8064_, lean_object* v_a_8065_, lean_object* v_a_8066_, lean_object* v_a_8067_, lean_object* v_a_8068_, lean_object* v_a_8069_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg___boxed(lean_object* v_upperBound_8357_, lean_object* v_args_8358_, lean_object* v_a_8359_, lean_object* v_b_8360_, lean_object* v___y_8361_, lean_object* v___y_8362_, lean_object* v___y_8363_, lean_object* v___y_8364_, lean_object* v___y_8365_, lean_object* v___y_8366_, lean_object* v___y_8367_){ _start: { -uint8_t v_a_167813__boxed_8070_; lean_object* v_res_8071_; -v_a_167813__boxed_8070_ = lean_unbox(v_a_8063_); -v_res_8071_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(v_e_8062_, v_a_167813__boxed_8070_, v_a_8064_, v_a_8065_, v_a_8066_, v_a_8067_, v_a_8068_); -return v_res_8071_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg___boxed(lean_object* v_upperBound_8072_, lean_object* v_args_8073_, lean_object* v_a_8074_, lean_object* v_b_8075_, lean_object* v___y_8076_, lean_object* v___y_8077_, lean_object* v___y_8078_, lean_object* v___y_8079_, lean_object* v___y_8080_, lean_object* v___y_8081_, lean_object* v___y_8082_){ -_start: -{ -uint8_t v___y_167830__boxed_8083_; lean_object* v_res_8084_; -v___y_167830__boxed_8083_ = lean_unbox(v___y_8076_); -v_res_8084_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v_upperBound_8072_, v_args_8073_, v_a_8074_, v_b_8075_, v___y_167830__boxed_8083_, v___y_8077_, v___y_8078_, v___y_8079_, v___y_8080_, v___y_8081_); -lean_dec_ref(v_args_8073_); -lean_dec(v_upperBound_8072_); -return v_res_8084_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10___boxed(lean_object* v_sz_8085_, lean_object* v_i_8086_, lean_object* v_bs_8087_, lean_object* v___y_8088_, lean_object* v___y_8089_, lean_object* v___y_8090_, lean_object* v___y_8091_, lean_object* v___y_8092_, lean_object* v___y_8093_, lean_object* v___y_8094_){ -_start: -{ -size_t v_sz_boxed_8095_; size_t v_i_boxed_8096_; uint8_t v___y_167848__boxed_8097_; lean_object* v_res_8098_; -v_sz_boxed_8095_ = lean_unbox_usize(v_sz_8085_); -lean_dec(v_sz_8085_); -v_i_boxed_8096_ = lean_unbox_usize(v_i_8086_); -lean_dec(v_i_8086_); -v___y_167848__boxed_8097_ = lean_unbox(v___y_8088_); -v_res_8098_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_boxed_8095_, v_i_boxed_8096_, v_bs_8087_, v___y_167848__boxed_8097_, v___y_8089_, v___y_8090_, v___y_8091_, v___y_8092_, v___y_8093_); -return v_res_8098_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___boxed(lean_object* v_casesInfo_8099_, lean_object* v_e_8100_, lean_object* v_a_8101_, lean_object* v_a_8102_, lean_object* v_a_8103_, lean_object* v_a_8104_, lean_object* v_a_8105_, lean_object* v_a_8106_, lean_object* v_a_8107_){ -_start: -{ -uint8_t v_a_167866__boxed_8108_; lean_object* v_res_8109_; -v_a_167866__boxed_8108_ = lean_unbox(v_a_8101_); -v_res_8109_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(v_casesInfo_8099_, v_e_8100_, v_a_167866__boxed_8108_, v_a_8102_, v_a_8103_, v_a_8104_, v_a_8105_, v_a_8106_); -return v_res_8109_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___boxed(lean_object* v_app_8110_, lean_object* v_args_8111_, lean_object* v_arity_8112_, lean_object* v_a_8113_, lean_object* v_a_8114_, lean_object* v_a_8115_, lean_object* v_a_8116_, lean_object* v_a_8117_, lean_object* v_a_8118_, lean_object* v_a_8119_){ -_start: -{ -uint8_t v_a_167933__boxed_8120_; lean_object* v_res_8121_; -v_a_167933__boxed_8120_ = lean_unbox(v_a_8113_); -v_res_8121_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_app_8110_, v_args_8111_, v_arity_8112_, v_a_167933__boxed_8120_, v_a_8114_, v_a_8115_, v_a_8116_, v_a_8117_, v_a_8118_); -lean_dec_ref(v_args_8111_); -return v_res_8121_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore___boxed(lean_object* v_e_8122_, lean_object* v_minorPos_8123_, lean_object* v_a_8124_, lean_object* v_a_8125_, lean_object* v_a_8126_, lean_object* v_a_8127_, lean_object* v_a_8128_, lean_object* v_a_8129_, lean_object* v_a_8130_){ -_start: -{ -uint8_t v_a_167955__boxed_8131_; lean_object* v_res_8132_; -v_a_167955__boxed_8131_ = lean_unbox(v_a_8124_); -v_res_8132_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(v_e_8122_, v_minorPos_8123_, v_a_167955__boxed_8131_, v_a_8125_, v_a_8126_, v_a_8127_, v_a_8128_, v_a_8129_); -lean_dec(v_minorPos_8123_); -return v_res_8132_; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13___boxed(lean_object* v_x_8133_, lean_object* v_x_8134_, lean_object* v_x_8135_, lean_object* v___y_8136_, lean_object* v___y_8137_, lean_object* v___y_8138_, lean_object* v___y_8139_, lean_object* v___y_8140_, lean_object* v___y_8141_, lean_object* v___y_8142_){ -_start: -{ -uint8_t v___y_167983__boxed_8143_; lean_object* v_res_8144_; -v___y_167983__boxed_8143_ = lean_unbox(v___y_8136_); -v_res_8144_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(v_x_8133_, v_x_8134_, v_x_8135_, v___y_167983__boxed_8143_, v___y_8137_, v___y_8138_, v___y_8139_, v___y_8140_, v___y_8141_); -return v_res_8144_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object* v_e_8145_, lean_object* v_a_8146_, lean_object* v_a_8147_, lean_object* v_a_8148_, lean_object* v_a_8149_, lean_object* v_a_8150_, lean_object* v_a_8151_, lean_object* v_a_8152_){ -_start: -{ -uint8_t v_a_168018__boxed_8153_; lean_object* v_res_8154_; -v_a_168018__boxed_8153_ = lean_unbox(v_a_8146_); -v_res_8154_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(v_e_8145_, v_a_168018__boxed_8153_, v_a_8147_, v_a_8148_, v_a_8149_, v_a_8150_, v_a_8151_); -return v_res_8154_; -} -} -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg___boxed(lean_object* v_a_8155_, lean_object* v_as_8156_, lean_object* v_i_8157_, lean_object* v_j_8158_, lean_object* v_bs_8159_, lean_object* v___y_8160_, lean_object* v___y_8161_, lean_object* v___y_8162_, lean_object* v___y_8163_, lean_object* v___y_8164_, lean_object* v___y_8165_, lean_object* v___y_8166_){ -_start: -{ -uint8_t v___y_168042__boxed_8167_; lean_object* v_res_8168_; -v___y_168042__boxed_8167_ = lean_unbox(v___y_8160_); -v_res_8168_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_8155_, v_as_8156_, v_i_8157_, v_j_8158_, v_bs_8159_, v___y_168042__boxed_8167_, v___y_8161_, v___y_8162_, v___y_8163_, v___y_8164_, v___y_8165_); -lean_dec_ref(v_as_8156_); -lean_dec(v_a_8155_); -return v_res_8168_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___boxed(lean_object* v_e_8169_, lean_object* v_a_8170_, lean_object* v_a_8171_, lean_object* v_a_8172_, lean_object* v_a_8173_, lean_object* v_a_8174_, lean_object* v_a_8175_, lean_object* v_a_8176_){ -_start: -{ -uint8_t v_a_168070__boxed_8177_; lean_object* v_res_8178_; -v_a_168070__boxed_8177_ = lean_unbox(v_a_8170_); -v_res_8178_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_8169_, v_a_168070__boxed_8177_, v_a_8171_, v_a_8172_, v_a_8173_, v_a_8174_, v_a_8175_); -return v_res_8178_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___boxed(lean_object* v_e_8179_, lean_object* v_a_8180_, lean_object* v_a_8181_, lean_object* v_a_8182_, lean_object* v_a_8183_, lean_object* v_a_8184_, lean_object* v_a_8185_, lean_object* v_a_8186_){ -_start: -{ -uint8_t v_a_168103__boxed_8187_; lean_object* v_res_8188_; -v_a_168103__boxed_8187_ = lean_unbox(v_a_8180_); -v_res_8188_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_8179_, v_a_168103__boxed_8187_, v_a_8181_, v_a_8182_, v_a_8183_, v_a_8184_, v_a_8185_); -return v_res_8188_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object* v_e_8189_, lean_object* v_a_8190_, lean_object* v_a_8191_, lean_object* v_a_8192_, lean_object* v_a_8193_, lean_object* v_a_8194_, lean_object* v_a_8195_, lean_object* v_a_8196_){ -_start: -{ -uint8_t v_a_168129__boxed_8197_; lean_object* v_res_8198_; -v_a_168129__boxed_8197_ = lean_unbox(v_a_8190_); -v_res_8198_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(v_e_8189_, v_a_168129__boxed_8197_, v_a_8191_, v_a_8192_, v_a_8193_, v_a_8194_, v_a_8195_); -return v_res_8198_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg___boxed(lean_object* v_upperBound_8199_, lean_object* v_args_8200_, lean_object* v_a_8201_, lean_object* v_b_8202_, lean_object* v___y_8203_, lean_object* v___y_8204_, lean_object* v___y_8205_, lean_object* v___y_8206_, lean_object* v___y_8207_, lean_object* v___y_8208_, lean_object* v___y_8209_){ -_start: -{ -uint8_t v___y_168158__boxed_8210_; lean_object* v_res_8211_; -v___y_168158__boxed_8210_ = lean_unbox(v___y_8203_); -v_res_8211_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upperBound_8199_, v_args_8200_, v_a_8201_, v_b_8202_, v___y_168158__boxed_8210_, v___y_8204_, v___y_8205_, v___y_8206_, v___y_8207_, v___y_8208_); -lean_dec_ref(v_args_8200_); -lean_dec(v_upperBound_8199_); -return v_res_8211_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___boxed(lean_object* v_f_8212_, lean_object* v_args_8213_, lean_object* v_a_8214_, lean_object* v_a_8215_, lean_object* v_a_8216_, lean_object* v_a_8217_, lean_object* v_a_8218_, lean_object* v_a_8219_, lean_object* v_a_8220_){ -_start: -{ -uint8_t v_a_168196__boxed_8221_; lean_object* v_res_8222_; -v_a_168196__boxed_8221_ = lean_unbox(v_a_8214_); -v_res_8222_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v_f_8212_, v_args_8213_, v_a_168196__boxed_8221_, v_a_8215_, v_a_8216_, v_a_8217_, v_a_8218_, v_a_8219_); -return v_res_8222_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___boxed(lean_object* v_projInfo_8223_, lean_object* v_e_8224_, lean_object* v_a_8225_, lean_object* v_a_8226_, lean_object* v_a_8227_, lean_object* v_a_8228_, lean_object* v_a_8229_, lean_object* v_a_8230_, lean_object* v_a_8231_){ -_start: -{ -uint8_t v_a_168286__boxed_8232_; lean_object* v_res_8233_; -v_a_168286__boxed_8232_ = lean_unbox(v_a_8225_); -v_res_8233_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(v_projInfo_8223_, v_e_8224_, v_a_168286__boxed_8232_, v_a_8226_, v_a_8227_, v_a_8228_, v_a_8229_, v_a_8230_); -lean_dec_ref(v_projInfo_8223_); -return v_res_8233_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj___boxed(lean_object* v_s_8234_, lean_object* v_i_8235_, lean_object* v_e_8236_, lean_object* v_a_8237_, lean_object* v_a_8238_, lean_object* v_a_8239_, lean_object* v_a_8240_, lean_object* v_a_8241_, lean_object* v_a_8242_, lean_object* v_a_8243_){ -_start: -{ -uint8_t v_a_168487__boxed_8244_; lean_object* v_res_8245_; -v_a_168487__boxed_8244_ = lean_unbox(v_a_8237_); -v_res_8245_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(v_s_8234_, v_i_8235_, v_e_8236_, v_a_168487__boxed_8244_, v_a_8238_, v_a_8239_, v_a_8240_, v_a_8241_, v_a_8242_); -return v_res_8245_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet___boxed(lean_object* v_e_8246_, lean_object* v_xs_8247_, lean_object* v_a_8248_, lean_object* v_a_8249_, lean_object* v_a_8250_, lean_object* v_a_8251_, lean_object* v_a_8252_, lean_object* v_a_8253_, lean_object* v_a_8254_){ -_start: -{ -uint8_t v_a_168537__boxed_8255_; lean_object* v_res_8256_; -v_a_168537__boxed_8255_ = lean_unbox(v_a_8248_); -v_res_8256_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(v_e_8246_, v_xs_8247_, v_a_168537__boxed_8255_, v_a_8249_, v_a_8250_, v_a_8251_, v_a_8252_, v_a_8253_); -return v_res_8256_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___boxed(lean_object* v_e_8257_, lean_object* v_a_8258_, lean_object* v_a_8259_, lean_object* v_a_8260_, lean_object* v_a_8261_, lean_object* v_a_8262_, lean_object* v_a_8263_, lean_object* v_a_8264_){ -_start: -{ -uint8_t v_a_168607__boxed_8265_; lean_object* v_res_8266_; -v_a_168607__boxed_8265_ = lean_unbox(v_a_8258_); -v_res_8266_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_8257_, v_a_168607__boxed_8265_, v_a_8259_, v_a_8260_, v_a_8261_, v_a_8262_, v_a_8263_); -return v_res_8266_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___boxed(lean_object* v_e_8267_, lean_object* v_a_8268_, lean_object* v_a_8269_, lean_object* v_a_8270_, lean_object* v_a_8271_, lean_object* v_a_8272_, lean_object* v_a_8273_, lean_object* v_a_8274_){ -_start: -{ -uint8_t v_a_168777__boxed_8275_; lean_object* v_res_8276_; -v_a_168777__boxed_8275_ = lean_unbox(v_a_8268_); -v_res_8276_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_8267_, v_a_168777__boxed_8275_, v_a_8269_, v_a_8270_, v_a_8271_, v_a_8272_, v_a_8273_); -return v_res_8276_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed(lean_object* v_e_8277_, lean_object* v_a_8278_, lean_object* v_a_8279_, lean_object* v_a_8280_, lean_object* v_a_8281_, lean_object* v_a_8282_, lean_object* v_a_8283_, lean_object* v_a_8284_){ -_start: -{ -uint8_t v_a_168863__boxed_8285_; lean_object* v_res_8286_; -v_a_168863__boxed_8285_ = lean_unbox(v_a_8278_); -v_res_8286_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v_e_8277_, v_a_168863__boxed_8285_, v_a_8279_, v_a_8280_, v_a_8281_, v_a_8282_, v_a_8283_); -return v_res_8286_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object* v___mdata_8287_, lean_object* v_e_8288_, uint8_t v_a_8289_, lean_object* v_a_8290_, lean_object* v_a_8291_, lean_object* v_a_8292_, lean_object* v_a_8293_, lean_object* v_a_8294_){ -_start: -{ -lean_object* v___x_8296_; -v___x_8296_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_e_8288_, v_a_8289_, v_a_8290_, v_a_8291_, v_a_8292_, v_a_8293_, v_a_8294_); -return v___x_8296_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___boxed(lean_object* v___mdata_8297_, lean_object* v_e_8298_, lean_object* v_a_8299_, lean_object* v_a_8300_, lean_object* v_a_8301_, lean_object* v_a_8302_, lean_object* v_a_8303_, lean_object* v_a_8304_, lean_object* v_a_8305_){ -_start: -{ -uint8_t v_a_171785__boxed_8306_; lean_object* v_res_8307_; -v_a_171785__boxed_8306_ = lean_unbox(v_a_8299_); -v_res_8307_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(v___mdata_8297_, v_e_8298_, v_a_171785__boxed_8306_, v_a_8300_, v_a_8301_, v_a_8302_, v_a_8303_, v_a_8304_); -lean_dec(v___mdata_8297_); -return v_res_8307_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(lean_object* v_00_u03b1_8308_, lean_object* v_ref_8309_, uint8_t v___y_8310_, lean_object* v___y_8311_, lean_object* v___y_8312_, lean_object* v___y_8313_, lean_object* v___y_8314_, lean_object* v___y_8315_){ -_start: -{ -lean_object* v___x_8317_; -v___x_8317_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_8309_); -return v___x_8317_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___boxed(lean_object* v_00_u03b1_8318_, lean_object* v_ref_8319_, lean_object* v___y_8320_, lean_object* v___y_8321_, lean_object* v___y_8322_, lean_object* v___y_8323_, lean_object* v___y_8324_, lean_object* v___y_8325_, lean_object* v___y_8326_){ -_start: -{ -uint8_t v___y_171808__boxed_8327_; lean_object* v_res_8328_; -v___y_171808__boxed_8327_ = lean_unbox(v___y_8320_); -v_res_8328_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(v_00_u03b1_8318_, v_ref_8319_, v___y_171808__boxed_8327_, v___y_8321_, v___y_8322_, v___y_8323_, v___y_8324_, v___y_8325_); -lean_dec(v___y_8325_); -lean_dec_ref(v___y_8324_); -lean_dec(v___y_8323_); -lean_dec_ref(v___y_8322_); -lean_dec(v___y_8321_); -return v_res_8328_; -} -} -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(lean_object* v_declName_8329_, uint8_t v___y_8330_, lean_object* v___y_8331_, lean_object* v___y_8332_, lean_object* v___y_8333_, lean_object* v___y_8334_, lean_object* v___y_8335_){ -_start: -{ -lean_object* v___x_8337_; -v___x_8337_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_8329_, v___y_8335_); -return v___x_8337_; -} -} -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___boxed(lean_object* v_declName_8338_, lean_object* v___y_8339_, lean_object* v___y_8340_, lean_object* v___y_8341_, lean_object* v___y_8342_, lean_object* v___y_8343_, lean_object* v___y_8344_, lean_object* v___y_8345_){ -_start: -{ -uint8_t v___y_171831__boxed_8346_; lean_object* v_res_8347_; -v___y_171831__boxed_8346_ = lean_unbox(v___y_8339_); -v_res_8347_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(v_declName_8338_, v___y_171831__boxed_8346_, v___y_8340_, v___y_8341_, v___y_8342_, v___y_8343_, v___y_8344_); -lean_dec(v___y_8344_); -lean_dec_ref(v___y_8343_); -lean_dec(v___y_8342_); -lean_dec_ref(v___y_8341_); -lean_dec(v___y_8340_); -return v_res_8347_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(lean_object* v_00_u03b1_8348_, lean_object* v_msg_8349_, uint8_t v___y_8350_, lean_object* v___y_8351_, lean_object* v___y_8352_, lean_object* v___y_8353_, lean_object* v___y_8354_, lean_object* v___y_8355_){ -_start: -{ -lean_object* v___x_8357_; -v___x_8357_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_8349_, v___y_8352_, v___y_8353_, v___y_8354_, v___y_8355_); -return v___x_8357_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___boxed(lean_object* v_00_u03b1_8358_, lean_object* v_msg_8359_, lean_object* v___y_8360_, lean_object* v___y_8361_, lean_object* v___y_8362_, lean_object* v___y_8363_, lean_object* v___y_8364_, lean_object* v___y_8365_, lean_object* v___y_8366_){ -_start: -{ -uint8_t v___y_171854__boxed_8367_; lean_object* v_res_8368_; -v___y_171854__boxed_8367_ = lean_unbox(v___y_8360_); -v_res_8368_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(v_00_u03b1_8358_, v_msg_8359_, v___y_171854__boxed_8367_, v___y_8361_, v___y_8362_, v___y_8363_, v___y_8364_, v___y_8365_); -lean_dec(v___y_8365_); -lean_dec_ref(v___y_8364_); -lean_dec(v___y_8363_); -lean_dec_ref(v___y_8362_); -lean_dec(v___y_8361_); +lean_object* v_res_8368_; +v_res_8368_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v_upperBound_8357_, v_args_8358_, v_a_8359_, v_b_8360_, v___y_8361_, v___y_8362_, v___y_8363_, v___y_8364_, v___y_8365_, v___y_8366_); +lean_dec_ref(v_args_8358_); +lean_dec(v_upperBound_8357_); return v_res_8368_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21(lean_object* v_00_u03b1_8369_, lean_object* v_type_8370_, lean_object* v_k_8371_, uint8_t v_cleanupAnnotations_8372_, lean_object* v___y_8373_, lean_object* v___y_8374_, lean_object* v___y_8375_, lean_object* v___y_8376_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___boxed(lean_object* v_casesInfo_8369_, lean_object* v_e_8370_, lean_object* v_a_8371_, lean_object* v_a_8372_, lean_object* v_a_8373_, lean_object* v_a_8374_, lean_object* v_a_8375_, lean_object* v_a_8376_, lean_object* v_a_8377_){ _start: { -lean_object* v___x_8378_; -v___x_8378_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_8370_, v_k_8371_, v_cleanupAnnotations_8372_, v___y_8373_, v___y_8374_, v___y_8375_, v___y_8376_); -return v___x_8378_; +lean_object* v_res_8378_; +v_res_8378_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(v_casesInfo_8369_, v_e_8370_, v_a_8371_, v_a_8372_, v_a_8373_, v_a_8374_, v_a_8375_, v_a_8376_); +return v_res_8378_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___boxed(lean_object* v_00_u03b1_8379_, lean_object* v_type_8380_, lean_object* v_k_8381_, lean_object* v_cleanupAnnotations_8382_, lean_object* v___y_8383_, lean_object* v___y_8384_, lean_object* v___y_8385_, lean_object* v___y_8386_, lean_object* v___y_8387_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object* v_e_8379_, lean_object* v_a_8380_, lean_object* v_a_8381_, lean_object* v_a_8382_, lean_object* v_a_8383_, lean_object* v_a_8384_, lean_object* v_a_8385_, lean_object* v_a_8386_){ _start: { -uint8_t v_cleanupAnnotations_boxed_8388_; lean_object* v_res_8389_; -v_cleanupAnnotations_boxed_8388_ = lean_unbox(v_cleanupAnnotations_8382_); -v_res_8389_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21(v_00_u03b1_8379_, v_type_8380_, v_k_8381_, v_cleanupAnnotations_boxed_8388_, v___y_8383_, v___y_8384_, v___y_8385_, v___y_8386_); -return v_res_8389_; +lean_object* v_res_8387_; +v_res_8387_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(v_e_8379_, v_a_8380_, v_a_8381_, v_a_8382_, v_a_8383_, v_a_8384_, v_a_8385_); +return v_res_8387_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0(lean_object* v_00_u03b2_8390_, lean_object* v_x_8391_, lean_object* v_x_8392_, lean_object* v_x_8393_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10___boxed(lean_object* v_sz_8388_, lean_object* v_i_8389_, lean_object* v_bs_8390_, lean_object* v___y_8391_, lean_object* v___y_8392_, lean_object* v___y_8393_, lean_object* v___y_8394_, lean_object* v___y_8395_, lean_object* v___y_8396_, lean_object* v___y_8397_){ _start: { -lean_object* v___x_8394_; -v___x_8394_ = l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(v_x_8391_, v_x_8392_, v_x_8393_); -return v___x_8394_; +size_t v_sz_boxed_8398_; size_t v_i_boxed_8399_; lean_object* v_res_8400_; +v_sz_boxed_8398_ = lean_unbox_usize(v_sz_8388_); +lean_dec(v_sz_8388_); +v_i_boxed_8399_ = lean_unbox_usize(v_i_8389_); +lean_dec(v_i_8389_); +v_res_8400_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__10(v_sz_boxed_8398_, v_i_boxed_8399_, v_bs_8390_, v___y_8391_, v___y_8392_, v___y_8393_, v___y_8394_, v___y_8395_, v___y_8396_); +lean_dec_ref(v___y_8391_); +return v_res_8400_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1(lean_object* v_00_u03b2_8395_, lean_object* v_x_8396_, lean_object* v_x_8397_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___boxed(lean_object* v_app_8401_, lean_object* v_args_8402_, lean_object* v_arity_8403_, lean_object* v_a_8404_, lean_object* v_a_8405_, lean_object* v_a_8406_, lean_object* v_a_8407_, lean_object* v_a_8408_, lean_object* v_a_8409_, lean_object* v_a_8410_){ _start: { -lean_object* v___x_8398_; -v___x_8398_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_x_8396_, v_x_8397_); -return v___x_8398_; +lean_object* v_res_8411_; +v_res_8411_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(v_app_8401_, v_args_8402_, v_arity_8403_, v_a_8404_, v_a_8405_, v_a_8406_, v_a_8407_, v_a_8408_, v_a_8409_); +lean_dec_ref(v_args_8402_); +return v_res_8411_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___boxed(lean_object* v_00_u03b2_8399_, lean_object* v_x_8400_, lean_object* v_x_8401_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore___boxed(lean_object* v_e_8412_, lean_object* v_minorPos_8413_, lean_object* v_a_8414_, lean_object* v_a_8415_, lean_object* v_a_8416_, lean_object* v_a_8417_, lean_object* v_a_8418_, lean_object* v_a_8419_, lean_object* v_a_8420_){ _start: { -lean_object* v_res_8402_; -v_res_8402_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1(v_00_u03b2_8399_, v_x_8400_, v_x_8401_); -lean_dec_ref(v_x_8401_); -return v_res_8402_; +lean_object* v_res_8421_; +v_res_8421_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndIffRecCore(v_e_8412_, v_minorPos_8413_, v_a_8414_, v_a_8415_, v_a_8416_, v_a_8417_, v_a_8418_, v_a_8419_); +lean_dec(v_minorPos_8413_); +return v_res_8421_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20(uint8_t v___x_8403_, lean_object* v_inst_8404_, lean_object* v_R_8405_, lean_object* v_a_8406_, lean_object* v_b_8407_, lean_object* v_c_8408_, lean_object* v___y_8409_, lean_object* v___y_8410_, lean_object* v___y_8411_, lean_object* v___y_8412_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13___boxed(lean_object* v_x_8422_, lean_object* v_x_8423_, lean_object* v_x_8424_, lean_object* v___y_8425_, lean_object* v___y_8426_, lean_object* v___y_8427_, lean_object* v___y_8428_, lean_object* v___y_8429_, lean_object* v___y_8430_, lean_object* v___y_8431_){ _start: { -lean_object* v___x_8414_; -v___x_8414_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_8403_, v_a_8406_, v_b_8407_, v___y_8409_, v___y_8410_, v___y_8411_, v___y_8412_); -return v___x_8414_; +lean_object* v_res_8432_; +v_res_8432_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__13(v_x_8422_, v_x_8423_, v_x_8424_, v___y_8425_, v___y_8426_, v___y_8427_, v___y_8428_, v___y_8429_, v___y_8430_); +lean_dec_ref(v___y_8425_); +return v_res_8432_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___boxed(lean_object* v___x_8415_, lean_object* v_inst_8416_, lean_object* v_R_8417_, lean_object* v_a_8418_, lean_object* v_b_8419_, lean_object* v_c_8420_, lean_object* v___y_8421_, lean_object* v___y_8422_, lean_object* v___y_8423_, lean_object* v___y_8424_, lean_object* v___y_8425_){ +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg___boxed(lean_object* v_a_8433_, lean_object* v_as_8434_, lean_object* v_i_8435_, lean_object* v_j_8436_, lean_object* v_bs_8437_, lean_object* v___y_8438_, lean_object* v___y_8439_, lean_object* v___y_8440_, lean_object* v___y_8441_, lean_object* v___y_8442_, lean_object* v___y_8443_, lean_object* v___y_8444_){ _start: { -uint8_t v___x_171910__boxed_8426_; lean_object* v_res_8427_; -v___x_171910__boxed_8426_ = lean_unbox(v___x_8415_); -v_res_8427_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20(v___x_171910__boxed_8426_, v_inst_8416_, v_R_8417_, v_a_8418_, v_b_8419_, v_c_8420_, v___y_8421_, v___y_8422_, v___y_8423_, v___y_8424_); -return v_res_8427_; +lean_object* v_res_8445_; +v_res_8445_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_8433_, v_as_8434_, v_i_8435_, v_j_8436_, v_bs_8437_, v___y_8438_, v___y_8439_, v___y_8440_, v___y_8441_, v___y_8442_, v___y_8443_); +lean_dec_ref(v___y_8438_); +lean_dec_ref(v_as_8434_); +lean_dec(v_a_8433_); +return v_res_8445_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(lean_object* v_upperBound_8428_, lean_object* v_args_8429_, lean_object* v_inst_8430_, lean_object* v_R_8431_, lean_object* v_a_8432_, lean_object* v_b_8433_, lean_object* v_c_8434_, uint8_t v___y_8435_, lean_object* v___y_8436_, lean_object* v___y_8437_, lean_object* v___y_8438_, lean_object* v___y_8439_, lean_object* v___y_8440_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object* v_e_8446_, lean_object* v_a_8447_, lean_object* v_a_8448_, lean_object* v_a_8449_, lean_object* v_a_8450_, lean_object* v_a_8451_, lean_object* v_a_8452_, lean_object* v_a_8453_){ _start: { -lean_object* v___x_8442_; -v___x_8442_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upperBound_8428_, v_args_8429_, v_a_8432_, v_b_8433_, v___y_8435_, v___y_8436_, v___y_8437_, v___y_8438_, v___y_8439_, v___y_8440_); -return v___x_8442_; +lean_object* v_res_8454_; +v_res_8454_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(v_e_8446_, v_a_8447_, v_a_8448_, v_a_8449_, v_a_8450_, v_a_8451_, v_a_8452_); +return v_res_8454_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___boxed(lean_object* v_upperBound_8443_, lean_object* v_args_8444_, lean_object* v_inst_8445_, lean_object* v_R_8446_, lean_object* v_a_8447_, lean_object* v_b_8448_, lean_object* v_c_8449_, lean_object* v___y_8450_, lean_object* v___y_8451_, lean_object* v___y_8452_, lean_object* v___y_8453_, lean_object* v___y_8454_, lean_object* v___y_8455_, lean_object* v___y_8456_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object* v_e_8455_, lean_object* v_a_8456_, lean_object* v_a_8457_, lean_object* v_a_8458_, lean_object* v_a_8459_, lean_object* v_a_8460_, lean_object* v_a_8461_, lean_object* v_a_8462_){ _start: { -uint8_t v___y_171935__boxed_8457_; lean_object* v_res_8458_; -v___y_171935__boxed_8457_ = lean_unbox(v___y_8450_); -v_res_8458_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(v_upperBound_8443_, v_args_8444_, v_inst_8445_, v_R_8446_, v_a_8447_, v_b_8448_, v_c_8449_, v___y_171935__boxed_8457_, v___y_8451_, v___y_8452_, v___y_8453_, v___y_8454_, v___y_8455_); -lean_dec_ref(v_args_8444_); -lean_dec(v_upperBound_8443_); -return v_res_8458_; +lean_object* v_res_8463_; +v_res_8463_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(v_e_8455_, v_a_8456_, v_a_8457_, v_a_8458_, v_a_8459_, v_a_8460_, v_a_8461_); +return v_res_8463_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25(lean_object* v_inst_8459_, lean_object* v_R_8460_, lean_object* v_a_8461_, lean_object* v_b_8462_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg___boxed(lean_object* v_upperBound_8464_, lean_object* v_args_8465_, lean_object* v_a_8466_, lean_object* v_b_8467_, lean_object* v___y_8468_, lean_object* v___y_8469_, lean_object* v___y_8470_, lean_object* v___y_8471_, lean_object* v___y_8472_, lean_object* v___y_8473_, lean_object* v___y_8474_){ _start: { -lean_object* v___x_8463_; -v___x_8463_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(v_a_8461_, v_b_8462_); -return v___x_8463_; +lean_object* v_res_8475_; +v_res_8475_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upperBound_8464_, v_args_8465_, v_a_8466_, v_b_8467_, v___y_8468_, v___y_8469_, v___y_8470_, v___y_8471_, v___y_8472_, v___y_8473_); +lean_dec_ref(v_args_8465_); +lean_dec(v_upperBound_8464_); +return v_res_8475_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26(lean_object* v_upperBound_8464_, lean_object* v___x_8465_, lean_object* v_params_8466_, lean_object* v___x_8467_, lean_object* v_args_8468_, lean_object* v_inst_8469_, lean_object* v_R_8470_, lean_object* v_a_8471_, lean_object* v_b_8472_, lean_object* v_c_8473_, lean_object* v___y_8474_, lean_object* v___y_8475_, lean_object* v___y_8476_, lean_object* v___y_8477_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___boxed(lean_object* v_e_8476_, lean_object* v_a_8477_, lean_object* v_a_8478_, lean_object* v_a_8479_, lean_object* v_a_8480_, lean_object* v_a_8481_, lean_object* v_a_8482_, lean_object* v_a_8483_){ _start: { -lean_object* v___x_8479_; -v___x_8479_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_upperBound_8464_, v___x_8465_, v_params_8466_, v___x_8467_, v_args_8468_, v_a_8471_, v_b_8472_, v___y_8474_, v___y_8475_, v___y_8476_, v___y_8477_); -return v___x_8479_; +lean_object* v_res_8484_; +v_res_8484_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(v_e_8476_, v_a_8477_, v_a_8478_, v_a_8479_, v_a_8480_, v_a_8481_, v_a_8482_); +return v_res_8484_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___boxed(lean_object* v_upperBound_8480_, lean_object* v___x_8481_, lean_object* v_params_8482_, lean_object* v___x_8483_, lean_object* v_args_8484_, lean_object* v_inst_8485_, lean_object* v_R_8486_, lean_object* v_a_8487_, lean_object* v_b_8488_, lean_object* v_c_8489_, lean_object* v___y_8490_, lean_object* v___y_8491_, lean_object* v___y_8492_, lean_object* v___y_8493_, lean_object* v___y_8494_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec___boxed(lean_object* v_e_8485_, lean_object* v_a_8486_, lean_object* v_a_8487_, lean_object* v_a_8488_, lean_object* v_a_8489_, lean_object* v_a_8490_, lean_object* v_a_8491_, lean_object* v_a_8492_){ _start: { -lean_object* v_res_8495_; -v_res_8495_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26(v_upperBound_8480_, v___x_8481_, v_params_8482_, v___x_8483_, v_args_8484_, v_inst_8485_, v_R_8486_, v_a_8487_, v_b_8488_, v_c_8489_, v___y_8490_, v___y_8491_, v___y_8492_, v___y_8493_); -lean_dec(v___y_8493_); -lean_dec_ref(v___y_8492_); -lean_dec(v___y_8491_); -lean_dec_ref(v_args_8484_); -lean_dec_ref(v___x_8483_); -lean_dec_ref(v_params_8482_); -lean_dec(v___x_8481_); -lean_dec(v_upperBound_8480_); -return v_res_8495_; +lean_object* v_res_8493_; +v_res_8493_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitHEqRec(v_e_8485_, v_a_8486_, v_a_8487_, v_a_8488_, v_a_8489_, v_a_8490_, v_a_8491_); +return v_res_8493_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(size_t v_sz_8496_, size_t v_i_8497_, lean_object* v_bs_8498_, uint8_t v___y_8499_, lean_object* v___y_8500_, lean_object* v___y_8501_, lean_object* v___y_8502_, lean_object* v___y_8503_, lean_object* v___y_8504_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst___boxed(lean_object* v_f_8494_, lean_object* v_args_8495_, lean_object* v_a_8496_, lean_object* v_a_8497_, lean_object* v_a_8498_, lean_object* v_a_8499_, lean_object* v_a_8500_, lean_object* v_a_8501_, lean_object* v_a_8502_){ _start: { -lean_object* v___x_8506_; -v___x_8506_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_8496_, v_i_8497_, v_bs_8498_, v___y_8500_, v___y_8501_, v___y_8502_, v___y_8503_, v___y_8504_); -return v___x_8506_; +lean_object* v_res_8503_; +v_res_8503_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefaultConst(v_f_8494_, v_args_8495_, v_a_8496_, v_a_8497_, v_a_8498_, v_a_8499_, v_a_8500_, v_a_8501_); +return v_res_8503_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___boxed(lean_object* v_sz_8507_, lean_object* v_i_8508_, lean_object* v_bs_8509_, lean_object* v___y_8510_, lean_object* v___y_8511_, lean_object* v___y_8512_, lean_object* v___y_8513_, lean_object* v___y_8514_, lean_object* v___y_8515_, lean_object* v___y_8516_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___boxed(lean_object* v_projInfo_8504_, lean_object* v_e_8505_, lean_object* v_a_8506_, lean_object* v_a_8507_, lean_object* v_a_8508_, lean_object* v_a_8509_, lean_object* v_a_8510_, lean_object* v_a_8511_, lean_object* v_a_8512_){ _start: { -size_t v_sz_boxed_8517_; size_t v_i_boxed_8518_; uint8_t v___y_171995__boxed_8519_; lean_object* v_res_8520_; -v_sz_boxed_8517_ = lean_unbox_usize(v_sz_8507_); -lean_dec(v_sz_8507_); -v_i_boxed_8518_ = lean_unbox_usize(v_i_8508_); -lean_dec(v_i_8508_); -v___y_171995__boxed_8519_ = lean_unbox(v___y_8510_); -v_res_8520_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(v_sz_boxed_8517_, v_i_boxed_8518_, v_bs_8509_, v___y_171995__boxed_8519_, v___y_8511_, v___y_8512_, v___y_8513_, v___y_8514_, v___y_8515_); -lean_dec(v___y_8511_); -return v_res_8520_; +lean_object* v_res_8513_; +v_res_8513_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(v_projInfo_8504_, v_e_8505_, v_a_8506_, v_a_8507_, v_a_8508_, v_a_8509_, v_a_8510_, v_a_8511_); +lean_dec_ref(v_projInfo_8504_); +return v_res_8513_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(lean_object* v_upperBound_8521_, lean_object* v_args_8522_, lean_object* v_inst_8523_, lean_object* v_R_8524_, lean_object* v_a_8525_, lean_object* v_b_8526_, lean_object* v_c_8527_, uint8_t v___y_8528_, lean_object* v___y_8529_, lean_object* v___y_8530_, lean_object* v___y_8531_, lean_object* v___y_8532_, lean_object* v___y_8533_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj___boxed(lean_object* v_s_8514_, lean_object* v_i_8515_, lean_object* v_e_8516_, lean_object* v_a_8517_, lean_object* v_a_8518_, lean_object* v_a_8519_, lean_object* v_a_8520_, lean_object* v_a_8521_, lean_object* v_a_8522_, lean_object* v_a_8523_){ _start: { -lean_object* v___x_8535_; -v___x_8535_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v_upperBound_8521_, v_args_8522_, v_a_8525_, v_b_8526_, v___y_8528_, v___y_8529_, v___y_8530_, v___y_8531_, v___y_8532_, v___y_8533_); -return v___x_8535_; +lean_object* v_res_8524_; +v_res_8524_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(v_s_8514_, v_i_8515_, v_e_8516_, v_a_8517_, v_a_8518_, v_a_8519_, v_a_8520_, v_a_8521_, v_a_8522_); +return v_res_8524_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___boxed(lean_object* v_upperBound_8536_, lean_object* v_args_8537_, lean_object* v_inst_8538_, lean_object* v_R_8539_, lean_object* v_a_8540_, lean_object* v_b_8541_, lean_object* v_c_8542_, lean_object* v___y_8543_, lean_object* v___y_8544_, lean_object* v___y_8545_, lean_object* v___y_8546_, lean_object* v___y_8547_, lean_object* v___y_8548_, lean_object* v___y_8549_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet___boxed(lean_object* v_e_8525_, lean_object* v_xs_8526_, lean_object* v_a_8527_, lean_object* v_a_8528_, lean_object* v_a_8529_, lean_object* v_a_8530_, lean_object* v_a_8531_, lean_object* v_a_8532_, lean_object* v_a_8533_){ _start: { -uint8_t v___y_172020__boxed_8550_; lean_object* v_res_8551_; -v___y_172020__boxed_8550_ = lean_unbox(v___y_8543_); -v_res_8551_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(v_upperBound_8536_, v_args_8537_, v_inst_8538_, v_R_8539_, v_a_8540_, v_b_8541_, v_c_8542_, v___y_172020__boxed_8550_, v___y_8544_, v___y_8545_, v___y_8546_, v___y_8547_, v___y_8548_); -lean_dec_ref(v_args_8537_); -lean_dec(v_upperBound_8536_); -return v_res_8551_; +lean_object* v_res_8534_; +v_res_8534_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(v_e_8525_, v_xs_8526_, v_a_8527_, v_a_8528_, v_a_8529_, v_a_8530_, v_a_8531_, v_a_8532_); +return v_res_8534_; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(lean_object* v_a_8552_, lean_object* v_as_8553_, lean_object* v_i_8554_, lean_object* v_j_8555_, lean_object* v_inv_8556_, lean_object* v_bs_8557_, uint8_t v___y_8558_, lean_object* v___y_8559_, lean_object* v___y_8560_, lean_object* v___y_8561_, lean_object* v___y_8562_, lean_object* v___y_8563_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___boxed(lean_object* v_e_8535_, lean_object* v_a_8536_, lean_object* v_a_8537_, lean_object* v_a_8538_, lean_object* v_a_8539_, lean_object* v_a_8540_, lean_object* v_a_8541_, lean_object* v_a_8542_){ _start: { -lean_object* v___x_8565_; -v___x_8565_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_8552_, v_as_8553_, v_i_8554_, v_j_8555_, v_bs_8557_, v___y_8558_, v___y_8559_, v___y_8560_, v___y_8561_, v___y_8562_, v___y_8563_); -return v___x_8565_; +lean_object* v_res_8543_; +v_res_8543_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(v_e_8535_, v_a_8536_, v_a_8537_, v_a_8538_, v_a_8539_, v_a_8540_, v_a_8541_); +return v_res_8543_; } } -LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___boxed(lean_object* v_a_8566_, lean_object* v_as_8567_, lean_object* v_i_8568_, lean_object* v_j_8569_, lean_object* v_inv_8570_, lean_object* v_bs_8571_, lean_object* v___y_8572_, lean_object* v___y_8573_, lean_object* v___y_8574_, lean_object* v___y_8575_, lean_object* v___y_8576_, lean_object* v___y_8577_, lean_object* v___y_8578_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___boxed(lean_object* v_e_8544_, lean_object* v_a_8545_, lean_object* v_a_8546_, lean_object* v_a_8547_, lean_object* v_a_8548_, lean_object* v_a_8549_, lean_object* v_a_8550_, lean_object* v_a_8551_){ _start: { -uint8_t v___y_172048__boxed_8579_; lean_object* v_res_8580_; -v___y_172048__boxed_8579_ = lean_unbox(v___y_8572_); -v_res_8580_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(v_a_8566_, v_as_8567_, v_i_8568_, v_j_8569_, v_inv_8570_, v_bs_8571_, v___y_172048__boxed_8579_, v___y_8573_, v___y_8574_, v___y_8575_, v___y_8576_, v___y_8577_); -lean_dec_ref(v_as_8567_); -lean_dec(v_a_8566_); -return v_res_8580_; +lean_object* v_res_8552_; +v_res_8552_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(v_e_8544_, v_a_8545_, v_a_8546_, v_a_8547_, v_a_8548_, v_a_8549_, v_a_8550_); +return v_res_8552_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11(lean_object* v_00_u03b2_8581_, lean_object* v_x_8582_, size_t v_x_8583_, size_t v_x_8584_, lean_object* v_x_8585_, lean_object* v_x_8586_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed(lean_object* v_e_8553_, lean_object* v_a_8554_, lean_object* v_a_8555_, lean_object* v_a_8556_, lean_object* v_a_8557_, lean_object* v_a_8558_, lean_object* v_a_8559_, lean_object* v_a_8560_){ _start: { -lean_object* v___x_8587_; -v___x_8587_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_8582_, v_x_8583_, v_x_8584_, v_x_8585_, v_x_8586_); -return v___x_8587_; +lean_object* v_res_8561_; +v_res_8561_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(v_e_8553_, v_a_8554_, v_a_8555_, v_a_8556_, v_a_8557_, v_a_8558_, v_a_8559_); +return v_res_8561_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___boxed(lean_object* v_00_u03b2_8588_, lean_object* v_x_8589_, lean_object* v_x_8590_, lean_object* v_x_8591_, lean_object* v_x_8592_, lean_object* v_x_8593_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object* v___mdata_8562_, lean_object* v_e_8563_, lean_object* v_a_8564_, lean_object* v_a_8565_, lean_object* v_a_8566_, lean_object* v_a_8567_, lean_object* v_a_8568_, lean_object* v_a_8569_){ _start: { -size_t v_x_172074__boxed_8594_; size_t v_x_172075__boxed_8595_; lean_object* v_res_8596_; -v_x_172074__boxed_8594_ = lean_unbox_usize(v_x_8590_); -lean_dec(v_x_8590_); -v_x_172075__boxed_8595_ = lean_unbox_usize(v_x_8591_); -lean_dec(v_x_8591_); -v_res_8596_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11(v_00_u03b2_8588_, v_x_8589_, v_x_172074__boxed_8594_, v_x_172075__boxed_8595_, v_x_8592_, v_x_8593_); -return v_res_8596_; +lean_object* v___x_8571_; +v___x_8571_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___redArg(v_e_8563_, v_a_8564_, v_a_8565_, v_a_8566_, v_a_8567_, v_a_8568_, v_a_8569_); +return v___x_8571_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13(lean_object* v_00_u03b2_8597_, lean_object* v_x_8598_, size_t v_x_8599_, lean_object* v_x_8600_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___boxed(lean_object* v___mdata_8572_, lean_object* v_e_8573_, lean_object* v_a_8574_, lean_object* v_a_8575_, lean_object* v_a_8576_, lean_object* v_a_8577_, lean_object* v_a_8578_, lean_object* v_a_8579_, lean_object* v_a_8580_){ _start: { -lean_object* v___x_8601_; -v___x_8601_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_8598_, v_x_8599_, v_x_8600_); -return v___x_8601_; +lean_object* v_res_8581_; +v_res_8581_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(v___mdata_8572_, v_e_8573_, v_a_8574_, v_a_8575_, v_a_8576_, v_a_8577_, v_a_8578_, v_a_8579_); +lean_dec(v___mdata_8572_); +return v_res_8581_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___boxed(lean_object* v_00_u03b2_8602_, lean_object* v_x_8603_, lean_object* v_x_8604_, lean_object* v_x_8605_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(lean_object* v_00_u03b1_8582_, lean_object* v_ref_8583_, lean_object* v___y_8584_, lean_object* v___y_8585_, lean_object* v___y_8586_, lean_object* v___y_8587_, lean_object* v___y_8588_, lean_object* v___y_8589_){ _start: { -size_t v_x_172091__boxed_8606_; lean_object* v_res_8607_; -v_x_172091__boxed_8606_ = lean_unbox_usize(v_x_8604_); -lean_dec(v_x_8604_); -v_res_8607_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13(v_00_u03b2_8602_, v_x_8603_, v_x_172091__boxed_8606_, v_x_8605_); -lean_dec_ref(v_x_8605_); -return v_res_8607_; +lean_object* v___x_8591_; +v___x_8591_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___redArg(v_ref_8583_); +return v___x_8591_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(lean_object* v_00_u03b1_8608_, lean_object* v_constName_8609_, uint8_t v___y_8610_, lean_object* v___y_8611_, lean_object* v___y_8612_, lean_object* v___y_8613_, lean_object* v___y_8614_, lean_object* v___y_8615_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3___boxed(lean_object* v_00_u03b1_8592_, lean_object* v_ref_8593_, lean_object* v___y_8594_, lean_object* v___y_8595_, lean_object* v___y_8596_, lean_object* v___y_8597_, lean_object* v___y_8598_, lean_object* v___y_8599_, lean_object* v___y_8600_){ _start: { -lean_object* v___x_8617_; -v___x_8617_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_8609_, v___y_8610_, v___y_8611_, v___y_8612_, v___y_8613_, v___y_8614_, v___y_8615_); -return v___x_8617_; +lean_object* v_res_8601_; +v_res_8601_ = l_Lean_throwMaxRecDepthAt___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__3(v_00_u03b1_8592_, v_ref_8593_, v___y_8594_, v___y_8595_, v___y_8596_, v___y_8597_, v___y_8598_, v___y_8599_); +lean_dec(v___y_8599_); +lean_dec_ref(v___y_8598_); +lean_dec(v___y_8597_); +lean_dec_ref(v___y_8596_); +lean_dec(v___y_8595_); +lean_dec_ref(v___y_8594_); +return v_res_8601_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___boxed(lean_object* v_00_u03b1_8618_, lean_object* v_constName_8619_, lean_object* v___y_8620_, lean_object* v___y_8621_, lean_object* v___y_8622_, lean_object* v___y_8623_, lean_object* v___y_8624_, lean_object* v___y_8625_, lean_object* v___y_8626_){ +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(lean_object* v_declName_8602_, lean_object* v___y_8603_, lean_object* v___y_8604_, lean_object* v___y_8605_, lean_object* v___y_8606_, lean_object* v___y_8607_, lean_object* v___y_8608_){ _start: { -uint8_t v___y_172101__boxed_8627_; lean_object* v_res_8628_; -v___y_172101__boxed_8627_ = lean_unbox(v___y_8620_); -v_res_8628_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(v_00_u03b1_8618_, v_constName_8619_, v___y_172101__boxed_8627_, v___y_8621_, v___y_8622_, v___y_8623_, v___y_8624_, v___y_8625_); -lean_dec(v___y_8625_); -lean_dec(v___y_8623_); -lean_dec_ref(v___y_8622_); -lean_dec(v___y_8621_); -return v_res_8628_; +lean_object* v___x_8610_; +v___x_8610_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___redArg(v_declName_8602_, v___y_8608_); +return v___x_8610_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28(lean_object* v_00_u03b2_8629_, lean_object* v_n_8630_, lean_object* v_k_8631_, lean_object* v_v_8632_){ +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11___boxed(lean_object* v_declName_8611_, lean_object* v___y_8612_, lean_object* v___y_8613_, lean_object* v___y_8614_, lean_object* v___y_8615_, lean_object* v___y_8616_, lean_object* v___y_8617_, lean_object* v___y_8618_){ _start: { -lean_object* v___x_8633_; -v___x_8633_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28___redArg(v_n_8630_, v_k_8631_, v_v_8632_); -return v___x_8633_; +lean_object* v_res_8619_; +v_res_8619_ = l_Lean_getProjectionFnInfo_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp_spec__11(v_declName_8611_, v___y_8612_, v___y_8613_, v___y_8614_, v___y_8615_, v___y_8616_, v___y_8617_); +lean_dec(v___y_8617_); +lean_dec_ref(v___y_8616_); +lean_dec(v___y_8615_); +lean_dec_ref(v___y_8614_); +lean_dec(v___y_8613_); +lean_dec_ref(v___y_8612_); +return v_res_8619_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29(lean_object* v_00_u03b2_8634_, size_t v_depth_8635_, lean_object* v_keys_8636_, lean_object* v_vals_8637_, lean_object* v_heq_8638_, lean_object* v_i_8639_, lean_object* v_entries_8640_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(lean_object* v_00_u03b1_8620_, lean_object* v_msg_8621_, lean_object* v___y_8622_, lean_object* v___y_8623_, lean_object* v___y_8624_, lean_object* v___y_8625_, lean_object* v___y_8626_, lean_object* v___y_8627_){ _start: { -lean_object* v___x_8641_; -v___x_8641_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(v_depth_8635_, v_keys_8636_, v_vals_8637_, v_i_8639_, v_entries_8640_); -return v___x_8641_; +lean_object* v___x_8629_; +v___x_8629_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___redArg(v_msg_8621_, v___y_8624_, v___y_8625_, v___y_8626_, v___y_8627_); +return v___x_8629_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___boxed(lean_object* v_00_u03b2_8642_, lean_object* v_depth_8643_, lean_object* v_keys_8644_, lean_object* v_vals_8645_, lean_object* v_heq_8646_, lean_object* v_i_8647_, lean_object* v_entries_8648_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19___boxed(lean_object* v_00_u03b1_8630_, lean_object* v_msg_8631_, lean_object* v___y_8632_, lean_object* v___y_8633_, lean_object* v___y_8634_, lean_object* v___y_8635_, lean_object* v___y_8636_, lean_object* v___y_8637_, lean_object* v___y_8638_){ _start: { -size_t v_depth_boxed_8649_; lean_object* v_res_8650_; -v_depth_boxed_8649_ = lean_unbox_usize(v_depth_8643_); -lean_dec(v_depth_8643_); -v_res_8650_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29(v_00_u03b2_8642_, v_depth_boxed_8649_, v_keys_8644_, v_vals_8645_, v_heq_8646_, v_i_8647_, v_entries_8648_); -lean_dec_ref(v_vals_8645_); -lean_dec_ref(v_keys_8644_); -return v_res_8650_; +lean_object* v_res_8639_; +v_res_8639_ = l_Lean_throwError___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__19(v_00_u03b1_8630_, v_msg_8631_, v___y_8632_, v___y_8633_, v___y_8634_, v___y_8635_, v___y_8636_, v___y_8637_); +lean_dec(v___y_8637_); +lean_dec_ref(v___y_8636_); +lean_dec(v___y_8635_); +lean_dec_ref(v___y_8634_); +lean_dec(v___y_8633_); +lean_dec_ref(v___y_8632_); +return v_res_8639_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32(lean_object* v_00_u03b2_8651_, lean_object* v_keys_8652_, lean_object* v_vals_8653_, lean_object* v_heq_8654_, lean_object* v_i_8655_, lean_object* v_k_8656_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21(lean_object* v_00_u03b1_8640_, lean_object* v_type_8641_, lean_object* v_k_8642_, uint8_t v_cleanupAnnotations_8643_, lean_object* v___y_8644_, lean_object* v___y_8645_, lean_object* v___y_8646_, lean_object* v___y_8647_){ _start: { -lean_object* v___x_8657_; -v___x_8657_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___redArg(v_keys_8652_, v_vals_8653_, v_i_8655_, v_k_8656_); -return v___x_8657_; +lean_object* v___x_8649_; +v___x_8649_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___redArg(v_type_8641_, v_k_8642_, v_cleanupAnnotations_8643_, v___y_8644_, v___y_8645_, v___y_8646_, v___y_8647_); +return v___x_8649_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32___boxed(lean_object* v_00_u03b2_8658_, lean_object* v_keys_8659_, lean_object* v_vals_8660_, lean_object* v_heq_8661_, lean_object* v_i_8662_, lean_object* v_k_8663_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21___boxed(lean_object* v_00_u03b1_8650_, lean_object* v_type_8651_, lean_object* v_k_8652_, lean_object* v_cleanupAnnotations_8653_, lean_object* v___y_8654_, lean_object* v___y_8655_, lean_object* v___y_8656_, lean_object* v___y_8657_, lean_object* v___y_8658_){ _start: { -lean_object* v_res_8664_; -v_res_8664_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__32(v_00_u03b2_8658_, v_keys_8659_, v_vals_8660_, v_heq_8661_, v_i_8662_, v_k_8663_); -lean_dec_ref(v_k_8663_); -lean_dec_ref(v_vals_8660_); -lean_dec_ref(v_keys_8659_); -return v_res_8664_; +uint8_t v_cleanupAnnotations_boxed_8659_; lean_object* v_res_8660_; +v_cleanupAnnotations_boxed_8659_ = lean_unbox(v_cleanupAnnotations_8653_); +v_res_8660_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__21(v_00_u03b1_8650_, v_type_8651_, v_k_8652_, v_cleanupAnnotations_boxed_8659_, v___y_8654_, v___y_8655_, v___y_8656_, v___y_8657_); +return v_res_8660_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38(lean_object* v_00_u03b1_8665_, lean_object* v_ref_8666_, lean_object* v_constName_8667_, uint8_t v___y_8668_, lean_object* v___y_8669_, lean_object* v___y_8670_, lean_object* v___y_8671_, lean_object* v___y_8672_, lean_object* v___y_8673_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0(lean_object* v_00_u03b2_8661_, lean_object* v_x_8662_, lean_object* v_x_8663_, lean_object* v_x_8664_){ _start: { -lean_object* v___x_8675_; -v___x_8675_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___redArg(v_ref_8666_, v_constName_8667_, v___y_8668_, v___y_8669_, v___y_8670_, v___y_8671_, v___y_8672_, v___y_8673_); -return v___x_8675_; +lean_object* v___x_8665_; +v___x_8665_ = l_Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0___redArg(v_x_8662_, v_x_8663_, v_x_8664_); +return v___x_8665_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38___boxed(lean_object* v_00_u03b1_8676_, lean_object* v_ref_8677_, lean_object* v_constName_8678_, lean_object* v___y_8679_, lean_object* v___y_8680_, lean_object* v___y_8681_, lean_object* v___y_8682_, lean_object* v___y_8683_, lean_object* v___y_8684_, lean_object* v___y_8685_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1(lean_object* v_00_u03b2_8666_, lean_object* v_x_8667_, lean_object* v_x_8668_){ _start: { -uint8_t v___y_172130__boxed_8686_; lean_object* v_res_8687_; -v___y_172130__boxed_8686_ = lean_unbox(v___y_8679_); -v_res_8687_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38(v_00_u03b1_8676_, v_ref_8677_, v_constName_8678_, v___y_172130__boxed_8686_, v___y_8680_, v___y_8681_, v___y_8682_, v___y_8683_, v___y_8684_); -lean_dec(v___y_8684_); -lean_dec(v___y_8682_); -lean_dec_ref(v___y_8681_); -lean_dec(v___y_8680_); -lean_dec(v_ref_8677_); -return v_res_8687_; +lean_object* v___x_8669_; +v___x_8669_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___redArg(v_x_8667_, v_x_8668_); +return v___x_8669_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43(lean_object* v_00_u03b2_8688_, lean_object* v_x_8689_, lean_object* v_x_8690_, lean_object* v_x_8691_, lean_object* v_x_8692_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1___boxed(lean_object* v_00_u03b2_8670_, lean_object* v_x_8671_, lean_object* v_x_8672_){ _start: { -lean_object* v___x_8693_; -v___x_8693_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__28_spec__43___redArg(v_x_8689_, v_x_8690_, v_x_8691_, v_x_8692_); -return v___x_8693_; +lean_object* v_res_8673_; +v_res_8673_ = l_Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1(v_00_u03b2_8670_, v_x_8671_, v_x_8672_); +lean_dec_ref(v_x_8672_); +return v_res_8673_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49(lean_object* v_00_u03b1_8694_, lean_object* v_ref_8695_, lean_object* v_msg_8696_, lean_object* v_declHint_8697_, uint8_t v___y_8698_, lean_object* v___y_8699_, lean_object* v___y_8700_, lean_object* v___y_8701_, lean_object* v___y_8702_, lean_object* v___y_8703_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20(uint8_t v___x_8674_, lean_object* v_inst_8675_, lean_object* v_R_8676_, lean_object* v_a_8677_, lean_object* v_b_8678_, lean_object* v_c_8679_, lean_object* v___y_8680_, lean_object* v___y_8681_, lean_object* v___y_8682_, lean_object* v___y_8683_){ _start: { -lean_object* v___x_8705_; -v___x_8705_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___redArg(v_ref_8695_, v_msg_8696_, v_declHint_8697_, v___y_8698_, v___y_8699_, v___y_8700_, v___y_8701_, v___y_8702_, v___y_8703_); -return v___x_8705_; +lean_object* v___x_8685_; +v___x_8685_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___redArg(v___x_8674_, v_a_8677_, v_b_8678_, v___y_8680_, v___y_8681_, v___y_8682_, v___y_8683_); +return v___x_8685_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49___boxed(lean_object* v_00_u03b1_8706_, lean_object* v_ref_8707_, lean_object* v_msg_8708_, lean_object* v_declHint_8709_, lean_object* v___y_8710_, lean_object* v___y_8711_, lean_object* v___y_8712_, lean_object* v___y_8713_, lean_object* v___y_8714_, lean_object* v___y_8715_, lean_object* v___y_8716_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20___boxed(lean_object* v___x_8686_, lean_object* v_inst_8687_, lean_object* v_R_8688_, lean_object* v_a_8689_, lean_object* v_b_8690_, lean_object* v_c_8691_, lean_object* v___y_8692_, lean_object* v___y_8693_, lean_object* v___y_8694_, lean_object* v___y_8695_, lean_object* v___y_8696_){ _start: { -uint8_t v___y_172163__boxed_8717_; lean_object* v_res_8718_; -v___y_172163__boxed_8717_ = lean_unbox(v___y_8710_); -v_res_8718_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49(v_00_u03b1_8706_, v_ref_8707_, v_msg_8708_, v_declHint_8709_, v___y_172163__boxed_8717_, v___y_8711_, v___y_8712_, v___y_8713_, v___y_8714_, v___y_8715_); -lean_dec(v___y_8715_); -lean_dec(v___y_8713_); -lean_dec_ref(v___y_8712_); -lean_dec(v___y_8711_); -lean_dec(v_ref_8707_); -return v_res_8718_; +uint8_t v___x_177074__boxed_8697_; lean_object* v_res_8698_; +v___x_177074__boxed_8697_ = lean_unbox(v___x_8686_); +v_res_8698_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion_spec__20(v___x_177074__boxed_8697_, v_inst_8687_, v_R_8688_, v_a_8689_, v_b_8690_, v_c_8691_, v___y_8692_, v___y_8693_, v___y_8694_, v___y_8695_); +return v_res_8698_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51(lean_object* v_msg_8719_, lean_object* v_declHint_8720_, uint8_t v___y_8721_, lean_object* v___y_8722_, lean_object* v___y_8723_, lean_object* v___y_8724_, lean_object* v___y_8725_, lean_object* v___y_8726_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(lean_object* v_upperBound_8699_, lean_object* v_args_8700_, lean_object* v_inst_8701_, lean_object* v_R_8702_, lean_object* v_a_8703_, lean_object* v_b_8704_, lean_object* v_c_8705_, lean_object* v___y_8706_, lean_object* v___y_8707_, lean_object* v___y_8708_, lean_object* v___y_8709_, lean_object* v___y_8710_, lean_object* v___y_8711_){ _start: { -lean_object* v___x_8728_; -v___x_8728_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___redArg(v_msg_8719_, v_declHint_8720_, v___y_8726_); -return v___x_8728_; +lean_object* v___x_8713_; +v___x_8713_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___redArg(v_upperBound_8699_, v_args_8700_, v_a_8703_, v_b_8704_, v___y_8706_, v___y_8707_, v___y_8708_, v___y_8709_, v___y_8710_, v___y_8711_); +return v___x_8713_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51___boxed(lean_object* v_msg_8729_, lean_object* v_declHint_8730_, lean_object* v___y_8731_, lean_object* v___y_8732_, lean_object* v___y_8733_, lean_object* v___y_8734_, lean_object* v___y_8735_, lean_object* v___y_8736_, lean_object* v___y_8737_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24___boxed(lean_object* v_upperBound_8714_, lean_object* v_args_8715_, lean_object* v_inst_8716_, lean_object* v_R_8717_, lean_object* v_a_8718_, lean_object* v_b_8719_, lean_object* v_c_8720_, lean_object* v___y_8721_, lean_object* v___y_8722_, lean_object* v___y_8723_, lean_object* v___y_8724_, lean_object* v___y_8725_, lean_object* v___y_8726_, lean_object* v___y_8727_){ _start: { -uint8_t v___y_172186__boxed_8738_; lean_object* v_res_8739_; -v___y_172186__boxed_8738_ = lean_unbox(v___y_8731_); -v_res_8739_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__50_spec__51(v_msg_8729_, v_declHint_8730_, v___y_172186__boxed_8738_, v___y_8732_, v___y_8733_, v___y_8734_, v___y_8735_, v___y_8736_); -lean_dec(v___y_8736_); -lean_dec_ref(v___y_8735_); -lean_dec(v___y_8734_); -lean_dec_ref(v___y_8733_); -lean_dec(v___y_8732_); -return v_res_8739_; +lean_object* v_res_8728_; +v_res_8728_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__24(v_upperBound_8714_, v_args_8715_, v_inst_8716_, v_R_8717_, v_a_8718_, v_b_8719_, v_c_8720_, v___y_8721_, v___y_8722_, v___y_8723_, v___y_8724_, v___y_8725_, v___y_8726_); +lean_dec_ref(v_args_8715_); +lean_dec(v_upperBound_8714_); +return v_res_8728_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51(lean_object* v_00_u03b1_8740_, lean_object* v_ref_8741_, lean_object* v_msg_8742_, uint8_t v___y_8743_, lean_object* v___y_8744_, lean_object* v___y_8745_, lean_object* v___y_8746_, lean_object* v___y_8747_, lean_object* v___y_8748_){ +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25(lean_object* v_inst_8729_, lean_object* v_R_8730_, lean_object* v_a_8731_, lean_object* v_b_8732_){ _start: { -lean_object* v___x_8750_; -v___x_8750_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___redArg(v_ref_8741_, v_msg_8742_, v___y_8743_, v___y_8744_, v___y_8745_, v___y_8746_, v___y_8747_, v___y_8748_); -return v___x_8750_; +lean_object* v___x_8733_; +v___x_8733_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__25___redArg(v_a_8731_, v_b_8732_); +return v___x_8733_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51___boxed(lean_object* v_00_u03b1_8751_, lean_object* v_ref_8752_, lean_object* v_msg_8753_, lean_object* v___y_8754_, lean_object* v___y_8755_, lean_object* v___y_8756_, lean_object* v___y_8757_, lean_object* v___y_8758_, lean_object* v___y_8759_, lean_object* v___y_8760_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26(lean_object* v_upperBound_8734_, lean_object* v___x_8735_, lean_object* v_params_8736_, lean_object* v___x_8737_, lean_object* v_args_8738_, lean_object* v_inst_8739_, lean_object* v_R_8740_, lean_object* v_a_8741_, lean_object* v_b_8742_, lean_object* v_c_8743_, lean_object* v___y_8744_, lean_object* v___y_8745_, lean_object* v___y_8746_, lean_object* v___y_8747_){ _start: { -uint8_t v___y_172209__boxed_8761_; lean_object* v_res_8762_; -v___y_172209__boxed_8761_ = lean_unbox(v___y_8754_); -v_res_8762_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__38_spec__49_spec__51(v_00_u03b1_8751_, v_ref_8752_, v_msg_8753_, v___y_172209__boxed_8761_, v___y_8755_, v___y_8756_, v___y_8757_, v___y_8758_, v___y_8759_); -lean_dec(v___y_8759_); -lean_dec(v___y_8757_); -lean_dec_ref(v___y_8756_); -lean_dec(v___y_8755_); -lean_dec(v_ref_8752_); -return v_res_8762_; +lean_object* v___x_8749_; +v___x_8749_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___redArg(v_upperBound_8734_, v___x_8735_, v_params_8736_, v___x_8737_, v_args_8738_, v_a_8741_, v_b_8742_, v___y_8744_, v___y_8745_, v___y_8746_, v___y_8747_); +return v___x_8749_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0(lean_object* v_e_8763_, uint8_t v___y_8764_, lean_object* v___y_8765_, lean_object* v___y_8766_, lean_object* v___y_8767_, lean_object* v___y_8768_, lean_object* v___y_8769_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26___boxed(lean_object* v_upperBound_8750_, lean_object* v___x_8751_, lean_object* v_params_8752_, lean_object* v___x_8753_, lean_object* v_args_8754_, lean_object* v_inst_8755_, lean_object* v_R_8756_, lean_object* v_a_8757_, lean_object* v_b_8758_, lean_object* v_c_8759_, lean_object* v___y_8760_, lean_object* v___y_8761_, lean_object* v___y_8762_, lean_object* v___y_8763_, lean_object* v___y_8764_){ _start: { -lean_object* v___x_8771_; -lean_inc(v___y_8769_); -lean_inc_ref(v___y_8768_); -lean_inc(v___y_8767_); -lean_inc_ref(v___y_8766_); -lean_inc(v___y_8765_); -v___x_8771_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_8763_, v___y_8764_, v___y_8765_, v___y_8766_, v___y_8767_, v___y_8768_, v___y_8769_); -if (lean_obj_tag(v___x_8771_) == 0) +lean_object* v_res_8765_; +v_res_8765_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases_spec__26(v_upperBound_8750_, v___x_8751_, v_params_8752_, v___x_8753_, v_args_8754_, v_inst_8755_, v_R_8756_, v_a_8757_, v_b_8758_, v_c_8759_, v___y_8760_, v___y_8761_, v___y_8762_, v___y_8763_); +lean_dec(v___y_8763_); +lean_dec_ref(v___y_8762_); +lean_dec(v___y_8761_); +lean_dec_ref(v_args_8754_); +lean_dec_ref(v___x_8753_); +lean_dec_ref(v_params_8752_); +lean_dec(v___x_8751_); +lean_dec(v_upperBound_8750_); +return v_res_8765_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(size_t v_sz_8766_, size_t v_i_8767_, lean_object* v_bs_8768_, lean_object* v___y_8769_, lean_object* v___y_8770_, lean_object* v___y_8771_, lean_object* v___y_8772_, lean_object* v___y_8773_, lean_object* v___y_8774_){ +_start: { -lean_object* v_a_8772_; lean_object* v___x_8773_; -v_a_8772_ = lean_ctor_get(v___x_8771_, 0); -lean_inc(v_a_8772_); -lean_dec_ref(v___x_8771_); -v___x_8773_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_8772_, v___y_8765_, v___y_8766_, v___y_8767_, v___y_8768_, v___y_8769_); -lean_dec(v___y_8765_); -return v___x_8773_; +lean_object* v___x_8776_; +v___x_8776_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___redArg(v_sz_8766_, v_i_8767_, v_bs_8768_, v___y_8770_, v___y_8771_, v___y_8772_, v___y_8773_, v___y_8774_); +return v___x_8776_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29___boxed(lean_object* v_sz_8777_, lean_object* v_i_8778_, lean_object* v_bs_8779_, lean_object* v___y_8780_, lean_object* v___y_8781_, lean_object* v___y_8782_, lean_object* v___y_8783_, lean_object* v___y_8784_, lean_object* v___y_8785_, lean_object* v___y_8786_){ +_start: +{ +size_t v_sz_boxed_8787_; size_t v_i_boxed_8788_; lean_object* v_res_8789_; +v_sz_boxed_8787_ = lean_unbox_usize(v_sz_8777_); +lean_dec(v_sz_8777_); +v_i_boxed_8788_ = lean_unbox_usize(v_i_8778_); +lean_dec(v_i_8778_); +v_res_8789_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt_spec__29(v_sz_boxed_8787_, v_i_boxed_8788_, v_bs_8779_, v___y_8780_, v___y_8781_, v___y_8782_, v___y_8783_, v___y_8784_, v___y_8785_); +lean_dec(v___y_8781_); +lean_dec_ref(v___y_8780_); +return v_res_8789_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(lean_object* v_upperBound_8790_, lean_object* v_args_8791_, lean_object* v_inst_8792_, lean_object* v_R_8793_, lean_object* v_a_8794_, lean_object* v_b_8795_, lean_object* v_c_8796_, lean_object* v___y_8797_, lean_object* v___y_8798_, lean_object* v___y_8799_, lean_object* v___y_8800_, lean_object* v___y_8801_, lean_object* v___y_8802_){ +_start: +{ +lean_object* v___x_8804_; +v___x_8804_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___redArg(v_upperBound_8790_, v_args_8791_, v_a_8794_, v_b_8795_, v___y_8797_, v___y_8798_, v___y_8799_, v___y_8800_, v___y_8801_, v___y_8802_); +return v___x_8804_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31___boxed(lean_object* v_upperBound_8805_, lean_object* v_args_8806_, lean_object* v_inst_8807_, lean_object* v_R_8808_, lean_object* v_a_8809_, lean_object* v_b_8810_, lean_object* v_c_8811_, lean_object* v___y_8812_, lean_object* v___y_8813_, lean_object* v___y_8814_, lean_object* v___y_8815_, lean_object* v___y_8816_, lean_object* v___y_8817_, lean_object* v___y_8818_){ +_start: +{ +lean_object* v_res_8819_; +v_res_8819_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication_spec__31(v_upperBound_8805_, v_args_8806_, v_inst_8807_, v_R_8808_, v_a_8809_, v_b_8810_, v_c_8811_, v___y_8812_, v___y_8813_, v___y_8814_, v___y_8815_, v___y_8816_, v___y_8817_); +lean_dec_ref(v_args_8806_); +lean_dec(v_upperBound_8805_); +return v_res_8819_; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(lean_object* v_a_8820_, lean_object* v_as_8821_, lean_object* v_i_8822_, lean_object* v_j_8823_, lean_object* v_inv_8824_, lean_object* v_bs_8825_, lean_object* v___y_8826_, lean_object* v___y_8827_, lean_object* v___y_8828_, lean_object* v___y_8829_, lean_object* v___y_8830_, lean_object* v___y_8831_){ +_start: +{ +lean_object* v___x_8833_; +v___x_8833_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___redArg(v_a_8820_, v_as_8821_, v_i_8822_, v_j_8823_, v_bs_8825_, v___y_8826_, v___y_8827_, v___y_8828_, v___y_8829_, v___y_8830_, v___y_8831_); +return v___x_8833_; +} +} +LEAN_EXPORT lean_object* l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39___boxed(lean_object* v_a_8834_, lean_object* v_as_8835_, lean_object* v_i_8836_, lean_object* v_j_8837_, lean_object* v_inv_8838_, lean_object* v_bs_8839_, lean_object* v___y_8840_, lean_object* v___y_8841_, lean_object* v___y_8842_, lean_object* v___y_8843_, lean_object* v___y_8844_, lean_object* v___y_8845_, lean_object* v___y_8846_){ +_start: +{ +lean_object* v_res_8847_; +v_res_8847_ = l_Array_mapFinIdxM_map___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor_spec__39(v_a_8834_, v_as_8835_, v_i_8836_, v_j_8837_, v_inv_8838_, v_bs_8839_, v___y_8840_, v___y_8841_, v___y_8842_, v___y_8843_, v___y_8844_, v___y_8845_); +lean_dec_ref(v___y_8840_); +lean_dec_ref(v_as_8835_); +lean_dec(v_a_8834_); +return v_res_8847_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11(lean_object* v_00_u03b2_8848_, lean_object* v_x_8849_, size_t v_x_8850_, size_t v_x_8851_, lean_object* v_x_8852_, lean_object* v_x_8853_){ +_start: +{ +lean_object* v___x_8854_; +v___x_8854_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___redArg(v_x_8849_, v_x_8850_, v_x_8851_, v_x_8852_, v_x_8853_); +return v___x_8854_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11___boxed(lean_object* v_00_u03b2_8855_, lean_object* v_x_8856_, lean_object* v_x_8857_, lean_object* v_x_8858_, lean_object* v_x_8859_, lean_object* v_x_8860_){ +_start: +{ +size_t v_x_177238__boxed_8861_; size_t v_x_177239__boxed_8862_; lean_object* v_res_8863_; +v_x_177238__boxed_8861_ = lean_unbox_usize(v_x_8857_); +lean_dec(v_x_8857_); +v_x_177239__boxed_8862_ = lean_unbox_usize(v_x_8858_); +lean_dec(v_x_8858_); +v_res_8863_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11(v_00_u03b2_8855_, v_x_8856_, v_x_177238__boxed_8861_, v_x_177239__boxed_8862_, v_x_8859_, v_x_8860_); +return v_res_8863_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13(lean_object* v_00_u03b2_8864_, lean_object* v_x_8865_, size_t v_x_8866_, lean_object* v_x_8867_){ +_start: +{ +lean_object* v___x_8868_; +v___x_8868_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___redArg(v_x_8865_, v_x_8866_, v_x_8867_); +return v___x_8868_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13___boxed(lean_object* v_00_u03b2_8869_, lean_object* v_x_8870_, lean_object* v_x_8871_, lean_object* v_x_8872_){ +_start: +{ +size_t v_x_177255__boxed_8873_; lean_object* v_res_8874_; +v_x_177255__boxed_8873_ = lean_unbox_usize(v_x_8871_); +lean_dec(v_x_8871_); +v_res_8874_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13(v_00_u03b2_8869_, v_x_8870_, v_x_177255__boxed_8873_, v_x_8872_); +lean_dec_ref(v_x_8872_); +return v_res_8874_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(lean_object* v_00_u03b1_8875_, lean_object* v_constName_8876_, lean_object* v___y_8877_, lean_object* v___y_8878_, lean_object* v___y_8879_, lean_object* v___y_8880_, lean_object* v___y_8881_, lean_object* v___y_8882_){ +_start: +{ +lean_object* v___x_8884_; +v___x_8884_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___redArg(v_constName_8876_, v___y_8877_, v___y_8878_, v___y_8879_, v___y_8880_, v___y_8881_, v___y_8882_); +return v___x_8884_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25___boxed(lean_object* v_00_u03b1_8885_, lean_object* v_constName_8886_, lean_object* v___y_8887_, lean_object* v___y_8888_, lean_object* v___y_8889_, lean_object* v___y_8890_, lean_object* v___y_8891_, lean_object* v___y_8892_, lean_object* v___y_8893_){ +_start: +{ +lean_object* v_res_8894_; +v_res_8894_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25(v_00_u03b1_8885_, v_constName_8886_, v___y_8887_, v___y_8888_, v___y_8889_, v___y_8890_, v___y_8891_, v___y_8892_); +lean_dec(v___y_8892_); +lean_dec(v___y_8890_); +lean_dec_ref(v___y_8889_); +lean_dec(v___y_8888_); +lean_dec_ref(v___y_8887_); +return v_res_8894_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29(lean_object* v_00_u03b2_8895_, lean_object* v_n_8896_, lean_object* v_k_8897_, lean_object* v_v_8898_){ +_start: +{ +lean_object* v___x_8899_; +v___x_8899_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29___redArg(v_n_8896_, v_k_8897_, v_v_8898_); +return v___x_8899_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30(lean_object* v_00_u03b2_8900_, size_t v_depth_8901_, lean_object* v_keys_8902_, lean_object* v_vals_8903_, lean_object* v_heq_8904_, lean_object* v_i_8905_, lean_object* v_entries_8906_){ +_start: +{ +lean_object* v___x_8907_; +v___x_8907_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___redArg(v_depth_8901_, v_keys_8902_, v_vals_8903_, v_i_8905_, v_entries_8906_); +return v___x_8907_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30___boxed(lean_object* v_00_u03b2_8908_, lean_object* v_depth_8909_, lean_object* v_keys_8910_, lean_object* v_vals_8911_, lean_object* v_heq_8912_, lean_object* v_i_8913_, lean_object* v_entries_8914_){ +_start: +{ +size_t v_depth_boxed_8915_; lean_object* v_res_8916_; +v_depth_boxed_8915_ = lean_unbox_usize(v_depth_8909_); +lean_dec(v_depth_8909_); +v_res_8916_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__30(v_00_u03b2_8908_, v_depth_boxed_8915_, v_keys_8910_, v_vals_8911_, v_heq_8912_, v_i_8913_, v_entries_8914_); +lean_dec_ref(v_vals_8911_); +lean_dec_ref(v_keys_8910_); +return v_res_8916_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33(lean_object* v_00_u03b2_8917_, lean_object* v_keys_8918_, lean_object* v_vals_8919_, lean_object* v_heq_8920_, lean_object* v_i_8921_, lean_object* v_k_8922_){ +_start: +{ +lean_object* v___x_8923_; +v___x_8923_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___redArg(v_keys_8918_, v_vals_8919_, v_i_8921_, v_k_8922_); +return v___x_8923_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33___boxed(lean_object* v_00_u03b2_8924_, lean_object* v_keys_8925_, lean_object* v_vals_8926_, lean_object* v_heq_8927_, lean_object* v_i_8928_, lean_object* v_k_8929_){ +_start: +{ +lean_object* v_res_8930_; +v_res_8930_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__1_spec__13_spec__33(v_00_u03b2_8924_, v_keys_8925_, v_vals_8926_, v_heq_8927_, v_i_8928_, v_k_8929_); +lean_dec_ref(v_k_8929_); +lean_dec_ref(v_vals_8926_); +lean_dec_ref(v_keys_8925_); +return v_res_8930_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39(lean_object* v_00_u03b1_8931_, lean_object* v_ref_8932_, lean_object* v_constName_8933_, lean_object* v___y_8934_, lean_object* v___y_8935_, lean_object* v___y_8936_, lean_object* v___y_8937_, lean_object* v___y_8938_, lean_object* v___y_8939_){ +_start: +{ +lean_object* v___x_8941_; +v___x_8941_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___redArg(v_ref_8932_, v_constName_8933_, v___y_8934_, v___y_8935_, v___y_8936_, v___y_8937_, v___y_8938_, v___y_8939_); +return v___x_8941_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39___boxed(lean_object* v_00_u03b1_8942_, lean_object* v_ref_8943_, lean_object* v_constName_8944_, lean_object* v___y_8945_, lean_object* v___y_8946_, lean_object* v___y_8947_, lean_object* v___y_8948_, lean_object* v___y_8949_, lean_object* v___y_8950_, lean_object* v___y_8951_){ +_start: +{ +lean_object* v_res_8952_; +v_res_8952_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39(v_00_u03b1_8942_, v_ref_8943_, v_constName_8944_, v___y_8945_, v___y_8946_, v___y_8947_, v___y_8948_, v___y_8949_, v___y_8950_); +lean_dec(v___y_8950_); +lean_dec(v___y_8948_); +lean_dec_ref(v___y_8947_); +lean_dec(v___y_8946_); +lean_dec_ref(v___y_8945_); +lean_dec(v_ref_8943_); +return v_res_8952_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44(lean_object* v_00_u03b2_8953_, lean_object* v_x_8954_, lean_object* v_x_8955_, lean_object* v_x_8956_, lean_object* v_x_8957_){ +_start: +{ +lean_object* v___x_8958_; +v___x_8958_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore_spec__0_spec__11_spec__29_spec__44___redArg(v_x_8954_, v_x_8955_, v_x_8956_, v_x_8957_); +return v___x_8958_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50(lean_object* v_00_u03b1_8959_, lean_object* v_ref_8960_, lean_object* v_msg_8961_, lean_object* v_declHint_8962_, lean_object* v___y_8963_, lean_object* v___y_8964_, lean_object* v___y_8965_, lean_object* v___y_8966_, lean_object* v___y_8967_, lean_object* v___y_8968_){ +_start: +{ +lean_object* v___x_8970_; +v___x_8970_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___redArg(v_ref_8960_, v_msg_8961_, v_declHint_8962_, v___y_8963_, v___y_8964_, v___y_8965_, v___y_8966_, v___y_8967_, v___y_8968_); +return v___x_8970_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50___boxed(lean_object* v_00_u03b1_8971_, lean_object* v_ref_8972_, lean_object* v_msg_8973_, lean_object* v_declHint_8974_, lean_object* v___y_8975_, lean_object* v___y_8976_, lean_object* v___y_8977_, lean_object* v___y_8978_, lean_object* v___y_8979_, lean_object* v___y_8980_, lean_object* v___y_8981_){ +_start: +{ +lean_object* v_res_8982_; +v_res_8982_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50(v_00_u03b1_8971_, v_ref_8972_, v_msg_8973_, v_declHint_8974_, v___y_8975_, v___y_8976_, v___y_8977_, v___y_8978_, v___y_8979_, v___y_8980_); +lean_dec(v___y_8980_); +lean_dec(v___y_8978_); +lean_dec_ref(v___y_8977_); +lean_dec(v___y_8976_); +lean_dec_ref(v___y_8975_); +lean_dec(v_ref_8972_); +return v_res_8982_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52(lean_object* v_msg_8983_, lean_object* v_declHint_8984_, lean_object* v___y_8985_, lean_object* v___y_8986_, lean_object* v___y_8987_, lean_object* v___y_8988_, lean_object* v___y_8989_, lean_object* v___y_8990_){ +_start: +{ +lean_object* v___x_8992_; +v___x_8992_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___redArg(v_msg_8983_, v_declHint_8984_, v___y_8990_); +return v___x_8992_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52___boxed(lean_object* v_msg_8993_, lean_object* v_declHint_8994_, lean_object* v___y_8995_, lean_object* v___y_8996_, lean_object* v___y_8997_, lean_object* v___y_8998_, lean_object* v___y_8999_, lean_object* v___y_9000_, lean_object* v___y_9001_){ +_start: +{ +lean_object* v_res_9002_; +v_res_9002_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__51_spec__52(v_msg_8993_, v_declHint_8994_, v___y_8995_, v___y_8996_, v___y_8997_, v___y_8998_, v___y_8999_, v___y_9000_); +lean_dec(v___y_9000_); +lean_dec_ref(v___y_8999_); +lean_dec(v___y_8998_); +lean_dec_ref(v___y_8997_); +lean_dec(v___y_8996_); +lean_dec_ref(v___y_8995_); +return v_res_9002_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52(lean_object* v_00_u03b1_9003_, lean_object* v_ref_9004_, lean_object* v_msg_9005_, lean_object* v___y_9006_, lean_object* v___y_9007_, lean_object* v___y_9008_, lean_object* v___y_9009_, lean_object* v___y_9010_, lean_object* v___y_9011_){ +_start: +{ +lean_object* v___x_9013_; +v___x_9013_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___redArg(v_ref_9004_, v_msg_9005_, v___y_9006_, v___y_9007_, v___y_9008_, v___y_9009_, v___y_9010_, v___y_9011_); +return v___x_9013_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52___boxed(lean_object* v_00_u03b1_9014_, lean_object* v_ref_9015_, lean_object* v_msg_9016_, lean_object* v___y_9017_, lean_object* v___y_9018_, lean_object* v___y_9019_, lean_object* v___y_9020_, lean_object* v___y_9021_, lean_object* v___y_9022_, lean_object* v___y_9023_){ +_start: +{ +lean_object* v_res_9024_; +v_res_9024_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn_spec__17_spec__25_spec__39_spec__50_spec__52(v_00_u03b1_9014_, v_ref_9015_, v_msg_9016_, v___y_9017_, v___y_9018_, v___y_9019_, v___y_9020_, v___y_9021_, v___y_9022_); +lean_dec(v___y_9022_); +lean_dec(v___y_9020_); +lean_dec_ref(v___y_9019_); +lean_dec(v___y_9018_); +lean_dec_ref(v___y_9017_); +lean_dec(v_ref_9015_); +return v_res_9024_; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0(lean_object* v_e_9025_, lean_object* v___y_9026_, lean_object* v___y_9027_, lean_object* v___y_9028_, lean_object* v___y_9029_, lean_object* v___y_9030_, lean_object* v___y_9031_){ +_start: +{ +lean_object* v___x_9033_; +lean_inc(v___y_9031_); +lean_inc_ref(v___y_9030_); +lean_inc(v___y_9029_); +lean_inc_ref(v___y_9028_); +lean_inc(v___y_9027_); +v___x_9033_ = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(v_e_9025_, v___y_9026_, v___y_9027_, v___y_9028_, v___y_9029_, v___y_9030_, v___y_9031_); +if (lean_obj_tag(v___x_9033_) == 0) +{ +lean_object* v_a_9034_; lean_object* v___x_9035_; +v_a_9034_ = lean_ctor_get(v___x_9033_, 0); +lean_inc(v_a_9034_); +lean_dec_ref(v___x_9033_); +v___x_9035_ = l_Lean_Compiler_LCNF_ToLCNF_toCode___redArg(v_a_9034_, v___y_9027_, v___y_9028_, v___y_9029_, v___y_9030_, v___y_9031_); +lean_dec(v___y_9027_); +return v___x_9035_; } else { -lean_object* v_a_8774_; lean_object* v___x_8776_; uint8_t v_isShared_8777_; uint8_t v_isSharedCheck_8781_; -lean_dec(v___y_8769_); -lean_dec_ref(v___y_8768_); -lean_dec(v___y_8767_); -lean_dec_ref(v___y_8766_); -lean_dec(v___y_8765_); -v_a_8774_ = lean_ctor_get(v___x_8771_, 0); -v_isSharedCheck_8781_ = !lean_is_exclusive(v___x_8771_); -if (v_isSharedCheck_8781_ == 0) +lean_object* v_a_9036_; lean_object* v___x_9038_; uint8_t v_isShared_9039_; uint8_t v_isSharedCheck_9043_; +lean_dec(v___y_9031_); +lean_dec_ref(v___y_9030_); +lean_dec(v___y_9029_); +lean_dec_ref(v___y_9028_); +lean_dec(v___y_9027_); +v_a_9036_ = lean_ctor_get(v___x_9033_, 0); +v_isSharedCheck_9043_ = !lean_is_exclusive(v___x_9033_); +if (v_isSharedCheck_9043_ == 0) { -v___x_8776_ = v___x_8771_; -v_isShared_8777_ = v_isSharedCheck_8781_; -goto v_resetjp_8775_; +v___x_9038_ = v___x_9033_; +v_isShared_9039_ = v_isSharedCheck_9043_; +goto v_resetjp_9037_; } else { -lean_inc(v_a_8774_); -lean_dec(v___x_8771_); -v___x_8776_ = lean_box(0); -v_isShared_8777_ = v_isSharedCheck_8781_; -goto v_resetjp_8775_; +lean_inc(v_a_9036_); +lean_dec(v___x_9033_); +v___x_9038_ = lean_box(0); +v_isShared_9039_ = v_isSharedCheck_9043_; +goto v_resetjp_9037_; } -v_resetjp_8775_: +v_resetjp_9037_: { -lean_object* v___x_8779_; -if (v_isShared_8777_ == 0) +lean_object* v___x_9041_; +if (v_isShared_9039_ == 0) { -v___x_8779_ = v___x_8776_; -goto v_reusejp_8778_; +v___x_9041_ = v___x_9038_; +goto v_reusejp_9040_; } else { -lean_object* v_reuseFailAlloc_8780_; -v_reuseFailAlloc_8780_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_8780_, 0, v_a_8774_); -v___x_8779_ = v_reuseFailAlloc_8780_; -goto v_reusejp_8778_; +lean_object* v_reuseFailAlloc_9042_; +v_reuseFailAlloc_9042_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9042_, 0, v_a_9036_); +v___x_9041_ = v_reuseFailAlloc_9042_; +goto v_reusejp_9040_; } -v_reusejp_8778_: +v_reusejp_9040_: { -return v___x_8779_; +return v___x_9041_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0___boxed(lean_object* v_e_8782_, lean_object* v___y_8783_, lean_object* v___y_8784_, lean_object* v___y_8785_, lean_object* v___y_8786_, lean_object* v___y_8787_, lean_object* v___y_8788_, lean_object* v___y_8789_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0___boxed(lean_object* v_e_9044_, lean_object* v___y_9045_, lean_object* v___y_9046_, lean_object* v___y_9047_, lean_object* v___y_9048_, lean_object* v___y_9049_, lean_object* v___y_9050_, lean_object* v___y_9051_){ _start: { -uint8_t v___y_182__boxed_8790_; lean_object* v_res_8791_; -v___y_182__boxed_8790_ = lean_unbox(v___y_8783_); -v_res_8791_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0(v_e_8782_, v___y_182__boxed_8790_, v___y_8784_, v___y_8785_, v___y_8786_, v___y_8787_, v___y_8788_); -return v_res_8791_; +lean_object* v_res_9052_; +v_res_9052_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0(v_e_9044_, v___y_9045_, v___y_9046_, v___y_9047_, v___y_9048_, v___y_9049_, v___y_9050_); +return v_res_9052_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object* v_e_8792_, lean_object* v_a_8793_, lean_object* v_a_8794_, lean_object* v_a_8795_, lean_object* v_a_8796_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object* v_e_9053_, lean_object* v_eType_9054_, lean_object* v_a_9055_, lean_object* v_a_9056_, lean_object* v_a_9057_, lean_object* v_a_9058_){ _start: { -lean_object* v___f_8798_; lean_object* v___x_8799_; -v___f_8798_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0___boxed), 8, 1); -lean_closure_set(v___f_8798_, 0, v_e_8792_); -v___x_8799_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v___f_8798_, v_a_8793_, v_a_8794_, v_a_8795_, v_a_8796_); -return v___x_8799_; +lean_object* v___f_9060_; lean_object* v___x_9061_; +v___f_9060_ = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF___lam__0___boxed), 8, 1); +lean_closure_set(v___f_9060_, 0, v_e_9053_); +v___x_9061_ = l_Lean_Compiler_LCNF_ToLCNF_run___redArg(v_eType_9054_, v___f_9060_, v_a_9055_, v_a_9056_, v_a_9057_, v_a_9058_); +return v___x_9061_; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object* v_e_8800_, lean_object* v_a_8801_, lean_object* v_a_8802_, lean_object* v_a_8803_, lean_object* v_a_8804_, lean_object* v_a_8805_){ +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object* v_e_9062_, lean_object* v_eType_9063_, lean_object* v_a_9064_, lean_object* v_a_9065_, lean_object* v_a_9066_, lean_object* v_a_9067_, lean_object* v_a_9068_){ _start: { -lean_object* v_res_8806_; -v_res_8806_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(v_e_8800_, v_a_8801_, v_a_8802_, v_a_8803_, v_a_8804_); -return v_res_8806_; +lean_object* v_res_9069_; +v_res_9069_ = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(v_e_9062_, v_eType_9063_, v_a_9064_, v_a_9065_, v_a_9066_, v_a_9067_); +return v_res_9069_; } } lean_object* runtime_initialize_Lean_Meta_AppBuilder(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Compiler/MetaAttr.c b/stage0/stdlib/Lean/Compiler/MetaAttr.c index 01137053c3..567c1ed628 100644 --- a/stage0/stdlib/Lean/Compiler/MetaAttr.c +++ b/stage0/stdlib/Lean/Compiler/MetaAttr.c @@ -13,8 +13,8 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_NameSet_insert(lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); +lean_object* l_Lean_NameSet_insert(lean_object*, lean_object*); lean_object* l_Lean_SimplePersistentEnvExtension_replayOfFilter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -37,10 +37,10 @@ uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_header(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); +lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); +uint8_t l_Lean_ConstantInfo_isCtor(lean_object*); lean_object* l_Lean_mkTagDeclarationExtension(lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__0(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Id_instMonad___lam__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -55,8 +55,6 @@ lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___redArg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); uint8_t lean_string_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_Name_isAnonymous(lean_object*); -lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_TagDeclarationExtension_tag(lean_object*, lean_object*, lean_object*); static const lean_string_object l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "_private"}; static const lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2__value; @@ -87,23 +85,7 @@ static const lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___cl LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2_(); LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt; -LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__spec__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object*, lean_object*); -static const lean_closure_object l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed, .m_arity = 4, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__value; -static lean_once_cell_t l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_; -static const lean_ctor_object l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__2_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__value)}}; -static const lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__2_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_ = (const lean_object*)&l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__2_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__value; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_notMetaExt; LEAN_EXPORT lean_object* l_Lean_markMeta(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markNotMeta___lam__0(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_markNotMeta(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isMarkedMeta___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object*); @@ -200,816 +182,706 @@ v_res_34_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Comp return v_res_34_; } } -LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__spec__0(lean_object* v_x_35_, lean_object* v_x_36_){ +LEAN_EXPORT lean_object* l_Lean_markMeta(lean_object* v_env_35_, lean_object* v_declName_36_){ _start: { -if (lean_obj_tag(v_x_36_) == 0) +lean_object* v___x_37_; lean_object* v___x_38_; +v___x_37_ = l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt; +v___x_38_ = l_Lean_TagDeclarationExtension_tag(v___x_37_, v_env_35_, v_declName_36_); +return v___x_38_; +} +} +LEAN_EXPORT uint8_t l_Lean_isMarkedMeta(lean_object* v_env_39_, lean_object* v_declName_40_){ +_start: { -return v_x_35_; +lean_object* v___x_41_; lean_object* v_toEnvExtension_42_; lean_object* v_asyncMode_43_; uint8_t v___x_44_; +v___x_41_ = l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt; +v_toEnvExtension_42_ = lean_ctor_get(v___x_41_, 0); +lean_inc_ref(v_toEnvExtension_42_); +v_asyncMode_43_ = lean_ctor_get(v_toEnvExtension_42_, 2); +lean_inc(v_asyncMode_43_); +lean_dec_ref(v_toEnvExtension_42_); +v___x_44_ = l_Lean_TagDeclarationExtension_isTagged(v___x_41_, v_env_39_, v_declName_40_, v_asyncMode_43_); +lean_dec(v_asyncMode_43_); +return v___x_44_; +} +} +LEAN_EXPORT lean_object* l_Lean_isMarkedMeta___boxed(lean_object* v_env_45_, lean_object* v_declName_46_){ +_start: +{ +uint8_t v_res_47_; lean_object* v_r_48_; +v_res_47_ = l_Lean_isMarkedMeta(v_env_45_, v_declName_46_); +v_r_48_ = lean_box(v_res_47_); +return v_r_48_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_x_49_){ +_start: +{ +lean_object* v___x_50_; +v___x_50_ = l_Lean_NameSet_empty; +return v___x_50_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_x_51_){ +_start: +{ +lean_object* v_res_52_; +v_res_52_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v_x_51_); +lean_dec_ref(v_x_51_); +return v_res_52_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_es_53_){ +_start: +{ +lean_object* v___x_54_; +v___x_54_ = lean_array_mk(v_es_53_); +return v___x_54_; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_x1_55_, lean_object* v_x2_56_){ +_start: +{ +uint8_t v___x_57_; +v___x_57_ = l_Lean_NameSet_contains(v_x1_55_, v_x2_56_); +if (v___x_57_ == 0) +{ +uint8_t v___x_58_; +v___x_58_ = 1; +return v___x_58_; } else { -lean_object* v_head_37_; lean_object* v_tail_38_; lean_object* v___x_39_; -v_head_37_ = lean_ctor_get(v_x_36_, 0); -lean_inc(v_head_37_); -v_tail_38_ = lean_ctor_get(v_x_36_, 1); -lean_inc(v_tail_38_); -lean_dec_ref(v_x_36_); -v___x_39_ = l_Lean_NameSet_insert(v_x_35_, v_head_37_); -v_x_35_ = v___x_39_; -v_x_36_ = v_tail_38_; +uint8_t v___x_59_; +v___x_59_ = 0; +return v___x_59_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_x1_60_, lean_object* v_x2_61_){ +_start: +{ +uint8_t v_res_62_; lean_object* v_r_63_; +v_res_62_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v_x1_60_, v_x2_61_); +lean_dec(v_x2_61_); +lean_dec(v_x1_60_); +v_r_63_ = lean_box(v_res_62_); +return v_r_63_; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__0(lean_object* v_x_64_, lean_object* v_x_65_){ +_start: +{ +if (lean_obj_tag(v_x_65_) == 0) +{ +return v_x_64_; +} +else +{ +lean_object* v_head_66_; lean_object* v_tail_67_; lean_object* v___x_68_; +v_head_66_ = lean_ctor_get(v_x_65_, 0); +lean_inc(v_head_66_); +v_tail_67_ = lean_ctor_get(v_x_65_, 1); +lean_inc(v_tail_67_); +lean_dec_ref(v_x_65_); +v___x_68_ = lean_array_push(v_x_64_, v_head_66_); +v_x_64_ = v___x_68_; +v_x_65_ = v_tail_67_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(lean_object* v_x_41_, lean_object* v_x_42_, lean_object* v_newEntries_43_, lean_object* v_s_44_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(lean_object* v_as_71_, lean_object* v_lo_72_, lean_object* v_hi_73_){ _start: { -lean_object* v___x_45_; -v___x_45_ = l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__spec__0(v_s_44_, v_newEntries_43_); -return v___x_45_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object* v_x_46_, lean_object* v_x_47_, lean_object* v_newEntries_48_, lean_object* v_s_49_){ -_start: +uint8_t v___x_74_; +v___x_74_ = lean_nat_dec_lt(v_lo_72_, v_hi_73_); +if (v___x_74_ == 0) { -lean_object* v_res_50_; -v_res_50_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(v_x_46_, v_x_47_, v_newEntries_48_, v_s_49_); -lean_dec(v_x_47_); -lean_dec(v_x_46_); -return v_res_50_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(lean_object* v___x_51_){ -_start: -{ -lean_object* v___x_53_; -v___x_53_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_53_, 0, v___x_51_); -return v___x_53_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object* v___x_54_, lean_object* v___y_55_){ -_start: -{ -lean_object* v_res_56_; -v_res_56_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(v___x_54_); -return v_res_56_; -} -} -static lean_object* _init_l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(void){ -_start: -{ -lean_object* v___x_58_; lean_object* v___f_59_; -v___x_58_ = l_Lean_NameSet_empty; -v___f_59_ = lean_alloc_closure((void*)(l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed), 2, 1); -lean_closure_set(v___f_59_, 0, v___x_58_); -return v___f_59_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(){ -_start: -{ -lean_object* v___f_63_; lean_object* v___x_64_; lean_object* v___x_65_; lean_object* v___x_66_; -v___f_63_ = lean_obj_once(&l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_, &l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2__once, _init_l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__1_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_); -v___x_64_ = ((lean_object*)(l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__2_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_)); -v___x_65_ = ((lean_object*)(l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__12_00___x40_Lean_Compiler_MetaAttr_246726276____hygCtx___hyg_2_)); -v___x_66_ = l_Lean_registerEnvExtension___redArg(v___f_63_, v___x_64_, v___x_65_); -return v___x_66_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2____boxed(lean_object* v_a_67_){ -_start: -{ -lean_object* v_res_68_; -v_res_68_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(); -return v_res_68_; -} -} -LEAN_EXPORT lean_object* l_Lean_markMeta(lean_object* v_env_69_, lean_object* v_declName_70_){ -_start: -{ -lean_object* v___x_71_; lean_object* v___x_72_; -v___x_71_ = l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt; -v___x_72_ = l_Lean_TagDeclarationExtension_tag(v___x_71_, v_env_69_, v_declName_70_); -return v___x_72_; -} -} -LEAN_EXPORT lean_object* l_Lean_markNotMeta___lam__0(lean_object* v_declName_73_, lean_object* v_x_74_){ -_start: -{ -lean_object* v___x_75_; -v___x_75_ = l_Lean_NameSet_insert(v_x_74_, v_declName_73_); -return v___x_75_; -} -} -LEAN_EXPORT lean_object* l_Lean_markNotMeta(lean_object* v_env_76_, lean_object* v_declName_77_){ -_start: -{ -uint8_t v___x_78_; -v___x_78_ = l_Lean_Name_isAnonymous(v_declName_77_); -if (v___x_78_ == 0) -{ -lean_object* v___x_79_; lean_object* v_asyncMode_80_; lean_object* v___f_81_; lean_object* v___x_82_; -v___x_79_ = l___private_Lean_Compiler_MetaAttr_0__Lean_notMetaExt; -v_asyncMode_80_ = lean_ctor_get(v___x_79_, 2); -lean_inc(v_asyncMode_80_); -lean_inc(v_declName_77_); -v___f_81_ = lean_alloc_closure((void*)(l_Lean_markNotMeta___lam__0), 2, 1); -lean_closure_set(v___f_81_, 0, v_declName_77_); -v___x_82_ = l_Lean_EnvExtension_modifyState___redArg(v___x_79_, v_env_76_, v___f_81_, v_asyncMode_80_, v_declName_77_); -lean_dec(v_asyncMode_80_); -return v___x_82_; +lean_dec(v_lo_72_); +return v_as_71_; } else { -lean_dec(v_declName_77_); -return v_env_76_; +lean_object* v___x_75_; lean_object* v___x_76_; lean_object* v_fst_77_; lean_object* v_snd_78_; uint8_t v___x_79_; +v___x_75_ = ((lean_object*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg___closed__0)); +lean_inc(v_lo_72_); +v___x_76_ = l_Array_qpartition___redArg(v_as_71_, v___x_75_, v_lo_72_, v_hi_73_); +v_fst_77_ = lean_ctor_get(v___x_76_, 0); +lean_inc(v_fst_77_); +v_snd_78_ = lean_ctor_get(v___x_76_, 1); +lean_inc(v_snd_78_); +lean_dec_ref(v___x_76_); +v___x_79_ = lean_nat_dec_le(v_hi_73_, v_fst_77_); +if (v___x_79_ == 0) +{ +lean_object* v___x_80_; lean_object* v___x_81_; lean_object* v___x_82_; +v___x_80_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_snd_78_, v_lo_72_, v_fst_77_); +v___x_81_ = lean_unsigned_to_nat(1u); +v___x_82_ = lean_nat_add(v_fst_77_, v___x_81_); +lean_dec(v_fst_77_); +v_as_71_ = v___x_80_; +v_lo_72_ = v___x_82_; +goto _start; +} +else +{ +lean_dec(v_fst_77_); +lean_dec(v_lo_72_); +return v_snd_78_; } } } -LEAN_EXPORT uint8_t l_Lean_isMarkedMeta(lean_object* v_env_83_, lean_object* v_declName_84_){ +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg___boxed(lean_object* v_as_84_, lean_object* v_lo_85_, lean_object* v_hi_86_){ _start: { -lean_object* v___x_85_; lean_object* v_toEnvExtension_86_; lean_object* v_asyncMode_87_; uint8_t v___x_88_; -v___x_85_ = l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt; -v_toEnvExtension_86_ = lean_ctor_get(v___x_85_, 0); -lean_inc_ref(v_toEnvExtension_86_); -v_asyncMode_87_ = lean_ctor_get(v_toEnvExtension_86_, 2); -lean_inc(v_asyncMode_87_); -lean_dec_ref(v_toEnvExtension_86_); -v___x_88_ = l_Lean_TagDeclarationExtension_isTagged(v___x_85_, v_env_83_, v_declName_84_, v_asyncMode_87_); -lean_dec(v_asyncMode_87_); -return v___x_88_; +lean_object* v_res_87_; +v_res_87_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_as_84_, v_lo_85_, v_hi_86_); +lean_dec(v_hi_86_); +return v_res_87_; } } -LEAN_EXPORT lean_object* l_Lean_isMarkedMeta___boxed(lean_object* v_env_89_, lean_object* v_declName_90_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v___x_88_, lean_object* v_env_89_, lean_object* v_s_90_, lean_object* v_entries_91_, uint8_t v_x_92_){ _start: { -uint8_t v_res_91_; lean_object* v_r_92_; -v_res_91_ = l_Lean_isMarkedMeta(v_env_89_, v_declName_90_); -v_r_92_ = lean_box(v_res_91_); -return v_r_92_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_x_93_){ -_start: +if (v_x_92_ == 2) { -lean_object* v___x_94_; -v___x_94_ = l_Lean_NameSet_empty; -return v___x_94_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_x_95_){ -_start: +lean_object* v___x_93_; lean_object* v_decls_94_; lean_object* v___x_95_; uint8_t v___x_96_; +v___x_93_ = lean_mk_empty_array_with_capacity(v___x_88_); +v_decls_94_ = l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__0(v___x_93_, v_entries_91_); +v___x_95_ = lean_array_get_size(v_decls_94_); +v___x_96_ = lean_nat_dec_eq(v___x_95_, v___x_88_); +if (v___x_96_ == 0) { -lean_object* v_res_96_; -v_res_96_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__0_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v_x_95_); -lean_dec_ref(v_x_95_); -return v_res_96_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__1_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_es_97_){ -_start: +lean_object* v___x_97_; lean_object* v___x_98_; lean_object* v___y_100_; uint8_t v___x_104_; +v___x_97_ = lean_unsigned_to_nat(1u); +v___x_98_ = lean_nat_sub(v___x_95_, v___x_97_); +v___x_104_ = lean_nat_dec_le(v___x_88_, v___x_98_); +if (v___x_104_ == 0) { -lean_object* v___x_98_; -v___x_98_ = lean_array_mk(v_es_97_); -return v___x_98_; +lean_dec(v___x_88_); +lean_inc(v___x_98_); +v___y_100_ = v___x_98_; +goto v___jp_99_; } +else +{ +v___y_100_ = v___x_88_; +goto v___jp_99_; } -LEAN_EXPORT uint8_t l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v_x1_99_, lean_object* v_x2_100_){ -_start: +v___jp_99_: { uint8_t v___x_101_; -v___x_101_ = l_Lean_NameSet_contains(v_x1_99_, v_x2_100_); +v___x_101_ = lean_nat_dec_le(v___y_100_, v___x_98_); if (v___x_101_ == 0) { -uint8_t v___x_102_; -v___x_102_ = 1; +lean_object* v___x_102_; +lean_dec(v___x_98_); +lean_inc(v___y_100_); +v___x_102_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_decls_94_, v___y_100_, v___y_100_); +lean_dec(v___y_100_); return v___x_102_; } else { -uint8_t v___x_103_; -v___x_103_ = 0; +lean_object* v___x_103_; +v___x_103_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_decls_94_, v___y_100_, v___x_98_); +lean_dec(v___x_98_); return v___x_103_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_x1_104_, lean_object* v_x2_105_){ +else +{ +lean_dec(v___x_88_); +return v_decls_94_; +} +} +else +{ +lean_object* v___x_105_; +lean_dec(v_entries_91_); +v___x_105_ = lean_mk_empty_array_with_capacity(v___x_88_); +lean_dec(v___x_88_); +return v___x_105_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v___x_106_, lean_object* v_env_107_, lean_object* v_s_108_, lean_object* v_entries_109_, lean_object* v_x_110_){ _start: { -uint8_t v_res_106_; lean_object* v_r_107_; -v_res_106_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__2_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v_x1_104_, v_x2_105_); -lean_dec(v_x2_105_); -lean_dec(v_x1_104_); -v_r_107_ = lean_box(v_res_106_); -return v_r_107_; -} -} -LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__0(lean_object* v_x_108_, lean_object* v_x_109_){ -_start: -{ -if (lean_obj_tag(v_x_109_) == 0) -{ -return v_x_108_; -} -else -{ -lean_object* v_head_110_; lean_object* v_tail_111_; lean_object* v___x_112_; -v_head_110_ = lean_ctor_get(v_x_109_, 0); -lean_inc(v_head_110_); -v_tail_111_ = lean_ctor_get(v_x_109_, 1); -lean_inc(v_tail_111_); -lean_dec_ref(v_x_109_); -v___x_112_ = lean_array_push(v_x_108_, v_head_110_); -v_x_108_ = v___x_112_; -v_x_109_ = v_tail_111_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(lean_object* v_as_115_, lean_object* v_lo_116_, lean_object* v_hi_117_){ -_start: -{ -uint8_t v___x_118_; -v___x_118_ = lean_nat_dec_lt(v_lo_116_, v_hi_117_); -if (v___x_118_ == 0) -{ -lean_dec(v_lo_116_); -return v_as_115_; -} -else -{ -lean_object* v___x_119_; lean_object* v___x_120_; lean_object* v_fst_121_; lean_object* v_snd_122_; uint8_t v___x_123_; -v___x_119_ = ((lean_object*)(l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg___closed__0)); -lean_inc(v_lo_116_); -v___x_120_ = l_Array_qpartition___redArg(v_as_115_, v___x_119_, v_lo_116_, v_hi_117_); -v_fst_121_ = lean_ctor_get(v___x_120_, 0); -lean_inc(v_fst_121_); -v_snd_122_ = lean_ctor_get(v___x_120_, 1); -lean_inc(v_snd_122_); -lean_dec_ref(v___x_120_); -v___x_123_ = lean_nat_dec_le(v_hi_117_, v_fst_121_); -if (v___x_123_ == 0) -{ -lean_object* v___x_124_; lean_object* v___x_125_; lean_object* v___x_126_; -v___x_124_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_snd_122_, v_lo_116_, v_fst_121_); -v___x_125_ = lean_unsigned_to_nat(1u); -v___x_126_ = lean_nat_add(v_fst_121_, v___x_125_); -lean_dec(v_fst_121_); -v_as_115_ = v___x_124_; -v_lo_116_ = v___x_126_; -goto _start; -} -else -{ -lean_dec(v_fst_121_); -lean_dec(v_lo_116_); -return v_snd_122_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg___boxed(lean_object* v_as_128_, lean_object* v_lo_129_, lean_object* v_hi_130_){ -_start: -{ -lean_object* v_res_131_; -v_res_131_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_as_128_, v_lo_129_, v_hi_130_); -lean_dec(v_hi_130_); -return v_res_131_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(lean_object* v___x_132_, lean_object* v_env_133_, lean_object* v_s_134_, lean_object* v_entries_135_, uint8_t v_x_136_){ -_start: -{ -if (v_x_136_ == 2) -{ -lean_object* v___x_137_; lean_object* v_decls_138_; lean_object* v___x_139_; uint8_t v___x_140_; -v___x_137_ = lean_mk_empty_array_with_capacity(v___x_132_); -v_decls_138_ = l_List_foldl___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__0(v___x_137_, v_entries_135_); -v___x_139_ = lean_array_get_size(v_decls_138_); -v___x_140_ = lean_nat_dec_eq(v___x_139_, v___x_132_); -if (v___x_140_ == 0) -{ -lean_object* v___x_141_; lean_object* v___x_142_; lean_object* v___y_144_; uint8_t v___x_148_; -v___x_141_ = lean_unsigned_to_nat(1u); -v___x_142_ = lean_nat_sub(v___x_139_, v___x_141_); -v___x_148_ = lean_nat_dec_le(v___x_132_, v___x_142_); -if (v___x_148_ == 0) -{ -lean_dec(v___x_132_); -lean_inc(v___x_142_); -v___y_144_ = v___x_142_; -goto v___jp_143_; -} -else -{ -v___y_144_ = v___x_132_; -goto v___jp_143_; -} -v___jp_143_: -{ -uint8_t v___x_145_; -v___x_145_ = lean_nat_dec_le(v___y_144_, v___x_142_); -if (v___x_145_ == 0) -{ -lean_object* v___x_146_; -lean_dec(v___x_142_); -lean_inc(v___y_144_); -v___x_146_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_decls_138_, v___y_144_, v___y_144_); -lean_dec(v___y_144_); -return v___x_146_; -} -else -{ -lean_object* v___x_147_; -v___x_147_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_decls_138_, v___y_144_, v___x_142_); -lean_dec(v___x_142_); -return v___x_147_; -} -} -} -else -{ -lean_dec(v___x_132_); -return v_decls_138_; -} -} -else -{ -lean_object* v___x_149_; -lean_dec(v_entries_135_); -v___x_149_ = lean_mk_empty_array_with_capacity(v___x_132_); -lean_dec(v___x_132_); -return v___x_149_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v___x_150_, lean_object* v_env_151_, lean_object* v_s_152_, lean_object* v_entries_153_, lean_object* v_x_154_){ -_start: -{ -uint8_t v_x_282__boxed_155_; lean_object* v_res_156_; -v_x_282__boxed_155_ = lean_unbox(v_x_154_); -v_res_156_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v___x_150_, v_env_151_, v_s_152_, v_entries_153_, v_x_282__boxed_155_); -lean_dec(v_s_152_); -lean_dec_ref(v_env_151_); -return v_res_156_; +uint8_t v_x_282__boxed_111_; lean_object* v_res_112_; +v_x_282__boxed_111_ = lean_unbox(v_x_110_); +v_res_112_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___lam__3_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(v___x_106_, v_env_107_, v_s_108_, v_entries_109_, v_x_282__boxed_111_); +lean_dec(v_s_108_); +lean_dec_ref(v_env_107_); +return v_res_112_; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_183_; lean_object* v___x_184_; -v___x_183_ = ((lean_object*)(l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__10_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_)); -v___x_184_ = l_Lean_registerSimplePersistentEnvExtension___redArg(v___x_183_); -return v___x_184_; +lean_object* v___x_139_; lean_object* v___x_140_; +v___x_139_ = ((lean_object*)(l___private_Lean_Compiler_MetaAttr_0__Lean_initFn___closed__10_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_)); +v___x_140_ = l_Lean_registerSimplePersistentEnvExtension___redArg(v___x_139_); +return v___x_140_; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_a_185_){ +LEAN_EXPORT lean_object* l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2____boxed(lean_object* v_a_141_){ _start: { -lean_object* v_res_186_; -v_res_186_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(); -return v_res_186_; +lean_object* v_res_142_; +v_res_142_ = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(); +return v_res_142_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1(lean_object* v_n_187_, lean_object* v_as_188_, lean_object* v_lo_189_, lean_object* v_hi_190_, lean_object* v_w_191_, lean_object* v_hlo_192_, lean_object* v_hhi_193_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1(lean_object* v_n_143_, lean_object* v_as_144_, lean_object* v_lo_145_, lean_object* v_hi_146_, lean_object* v_w_147_, lean_object* v_hlo_148_, lean_object* v_hhi_149_){ _start: { -lean_object* v___x_194_; -v___x_194_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_as_188_, v_lo_189_, v_hi_190_); +lean_object* v___x_150_; +v___x_150_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___redArg(v_as_144_, v_lo_145_, v_hi_146_); +return v___x_150_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___boxed(lean_object* v_n_151_, lean_object* v_as_152_, lean_object* v_lo_153_, lean_object* v_hi_154_, lean_object* v_w_155_, lean_object* v_hlo_156_, lean_object* v_hhi_157_){ +_start: +{ +lean_object* v_res_158_; +v_res_158_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1(v_n_151_, v_as_152_, v_lo_153_, v_hi_154_, v_w_155_, v_hlo_156_, v_hhi_157_); +lean_dec(v_hi_154_); +lean_dec(v_n_151_); +return v_res_158_; +} +} +LEAN_EXPORT uint8_t l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(uint8_t v___x_159_, lean_object* v_as_160_, lean_object* v_k_161_, lean_object* v_x_162_, lean_object* v_x_163_){ +_start: +{ +lean_object* v___x_164_; lean_object* v___x_165_; lean_object* v_m_166_; lean_object* v_a_167_; uint8_t v___x_168_; +v___x_164_ = lean_nat_add(v_x_162_, v_x_163_); +v___x_165_ = lean_unsigned_to_nat(1u); +v_m_166_ = lean_nat_shiftr(v___x_164_, v___x_165_); +lean_dec(v___x_164_); +v_a_167_ = lean_array_fget_borrowed(v_as_160_, v_m_166_); +v___x_168_ = l_Lean_Name_quickLt(v_a_167_, v_k_161_); +if (v___x_168_ == 0) +{ +uint8_t v___x_169_; +lean_dec(v_x_163_); +v___x_169_ = l_Lean_Name_quickLt(v_k_161_, v_a_167_); +if (v___x_169_ == 0) +{ +lean_dec(v_m_166_); +lean_dec(v_x_162_); +return v___x_159_; +} +else +{ +lean_object* v___x_170_; uint8_t v___x_171_; +v___x_170_ = lean_unsigned_to_nat(0u); +v___x_171_ = lean_nat_dec_eq(v_m_166_, v___x_170_); +if (v___x_171_ == 0) +{ +lean_object* v___x_172_; uint8_t v___x_173_; +v___x_172_ = lean_nat_sub(v_m_166_, v___x_165_); +lean_dec(v_m_166_); +v___x_173_ = lean_nat_dec_lt(v___x_172_, v_x_162_); +if (v___x_173_ == 0) +{ +v_x_163_ = v___x_172_; +goto _start; +} +else +{ +lean_dec(v___x_172_); +lean_dec(v_x_162_); +return v___x_168_; +} +} +else +{ +lean_dec(v_m_166_); +lean_dec(v_x_162_); +return v___x_168_; +} +} +} +else +{ +lean_object* v___x_175_; uint8_t v___x_176_; +lean_dec(v_x_162_); +v___x_175_ = lean_nat_add(v_m_166_, v___x_165_); +lean_dec(v_m_166_); +v___x_176_ = lean_nat_dec_le(v___x_175_, v_x_163_); +if (v___x_176_ == 0) +{ +lean_dec(v___x_175_); +lean_dec(v_x_163_); +return v___x_176_; +} +else +{ +v_x_162_ = v___x_175_; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg___boxed(lean_object* v___x_178_, lean_object* v_as_179_, lean_object* v_k_180_, lean_object* v_x_181_, lean_object* v_x_182_){ +_start: +{ +uint8_t v___x_434__boxed_183_; uint8_t v_res_184_; lean_object* v_r_185_; +v___x_434__boxed_183_ = lean_unbox(v___x_178_); +v_res_184_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v___x_434__boxed_183_, v_as_179_, v_k_180_, v_x_181_, v_x_182_); +lean_dec(v_k_180_); +lean_dec_ref(v_as_179_); +v_r_185_ = lean_box(v_res_184_); +return v_r_185_; +} +} +LEAN_EXPORT uint8_t l_Lean_isDeclMeta(lean_object* v_env_190_, lean_object* v_declName_191_){ +_start: +{ +lean_object* v___x_192_; uint8_t v_isModule_193_; +v___x_192_ = l_Lean_Environment_header(v_env_190_); +v_isModule_193_ = lean_ctor_get_uint8(v___x_192_, sizeof(void*)*7 + 4); +lean_dec_ref(v___x_192_); +if (v_isModule_193_ == 0) +{ +uint8_t v___x_194_; +lean_dec_ref(v_env_190_); +v___x_194_ = 1; return v___x_194_; } -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1___boxed(lean_object* v_n_195_, lean_object* v_as_196_, lean_object* v_lo_197_, lean_object* v_hi_198_, lean_object* v_w_199_, lean_object* v_hlo_200_, lean_object* v_hhi_201_){ -_start: +else { -lean_object* v_res_202_; -v_res_202_ = l___private_Init_Data_Array_QSort_Basic_0__Array_qsort_sort___at___00__private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2__spec__1(v_n_195_, v_as_196_, v_lo_197_, v_hi_198_, v_w_199_, v_hlo_200_, v_hhi_201_); -lean_dec(v_hi_198_); -lean_dec(v_n_195_); -return v_res_202_; +uint8_t v___x_195_; lean_object* v___y_197_; +v___x_195_ = 0; +if (lean_obj_tag(v_declName_191_) == 1) +{ +lean_object* v_pre_218_; lean_object* v_str_219_; lean_object* v___x_220_; uint8_t v___x_221_; +v_pre_218_ = lean_ctor_get(v_declName_191_, 0); +v_str_219_ = lean_ctor_get(v_declName_191_, 1); +v___x_220_ = ((lean_object*)(l_Lean_isDeclMeta___closed__1)); +v___x_221_ = lean_string_dec_eq(v_str_219_, v___x_220_); +if (v___x_221_ == 0) +{ +v___y_197_ = v_declName_191_; +goto v___jp_196_; +} +else +{ +v___y_197_ = v_pre_218_; +goto v___jp_196_; } } -LEAN_EXPORT uint8_t l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(uint8_t v___x_203_, lean_object* v_as_204_, lean_object* v_k_205_, lean_object* v_x_206_, lean_object* v_x_207_){ -_start: +else { -lean_object* v___x_208_; lean_object* v___x_209_; lean_object* v_m_210_; lean_object* v_a_211_; uint8_t v___x_212_; -v___x_208_ = lean_nat_add(v_x_206_, v_x_207_); -v___x_209_ = lean_unsigned_to_nat(1u); -v_m_210_ = lean_nat_shiftr(v___x_208_, v___x_209_); -lean_dec(v___x_208_); -v_a_211_ = lean_array_fget_borrowed(v_as_204_, v_m_210_); -v___x_212_ = l_Lean_Name_quickLt(v_a_211_, v_k_205_); -if (v___x_212_ == 0) +v___y_197_ = v_declName_191_; +goto v___jp_196_; +} +v___jp_196_: { -uint8_t v___x_213_; -lean_dec(v_x_207_); -v___x_213_ = l_Lean_Name_quickLt(v_k_205_, v_a_211_); +lean_object* v___x_198_; +v___x_198_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_190_, v_declName_191_); +if (lean_obj_tag(v___x_198_) == 0) +{ +lean_object* v___x_199_; lean_object* v_toEnvExtension_200_; lean_object* v_asyncMode_201_; lean_object* v___x_202_; lean_object* v___x_203_; lean_object* v___x_204_; uint8_t v___x_205_; +v___x_199_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; +v_toEnvExtension_200_ = lean_ctor_get(v___x_199_, 0); +lean_inc_ref(v_toEnvExtension_200_); +v_asyncMode_201_ = lean_ctor_get(v_toEnvExtension_200_, 2); +lean_inc(v_asyncMode_201_); +lean_dec_ref(v_toEnvExtension_200_); +v___x_202_ = lean_box(1); +v___x_203_ = lean_box(0); +v___x_204_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_202_, v___x_199_, v_env_190_, v_asyncMode_201_, v___x_203_); +lean_dec(v_asyncMode_201_); +v___x_205_ = l_Lean_NameSet_contains(v___x_204_, v___y_197_); +lean_dec(v___x_204_); +return v___x_205_; +} +else +{ +lean_object* v_val_206_; lean_object* v___x_207_; lean_object* v___x_208_; uint8_t v___x_209_; lean_object* v___x_210_; lean_object* v___x_211_; lean_object* v___x_212_; uint8_t v___x_213_; +v_val_206_ = lean_ctor_get(v___x_198_, 0); +lean_inc(v_val_206_); +lean_dec_ref(v___x_198_); +v___x_207_ = ((lean_object*)(l_Lean_isDeclMeta___closed__0)); +v___x_208_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; +v___x_209_ = 0; +v___x_210_ = l_Lean_PersistentEnvExtension_getModuleEntries___redArg(v___x_207_, v___x_208_, v_env_190_, v_val_206_, v___x_209_); +lean_dec(v_val_206_); +lean_dec_ref(v_env_190_); +v___x_211_ = lean_unsigned_to_nat(0u); +v___x_212_ = lean_array_get_size(v___x_210_); +v___x_213_ = lean_nat_dec_lt(v___x_211_, v___x_212_); if (v___x_213_ == 0) { -lean_dec(v_m_210_); -lean_dec(v_x_206_); -return v___x_203_; +lean_dec_ref(v___x_210_); +return v___x_195_; } else { -lean_object* v___x_214_; uint8_t v___x_215_; -v___x_214_ = lean_unsigned_to_nat(0u); -v___x_215_ = lean_nat_dec_eq(v_m_210_, v___x_214_); -if (v___x_215_ == 0) +lean_object* v___x_214_; lean_object* v___x_215_; uint8_t v___x_216_; +v___x_214_ = lean_unsigned_to_nat(1u); +v___x_215_ = lean_nat_sub(v___x_212_, v___x_214_); +v___x_216_ = lean_nat_dec_le(v___x_211_, v___x_215_); +if (v___x_216_ == 0) { -lean_object* v___x_216_; uint8_t v___x_217_; -v___x_216_ = lean_nat_sub(v_m_210_, v___x_209_); -lean_dec(v_m_210_); -v___x_217_ = lean_nat_dec_lt(v___x_216_, v_x_206_); -if (v___x_217_ == 0) -{ -v_x_207_ = v___x_216_; -goto _start; +lean_dec(v___x_215_); +lean_dec_ref(v___x_210_); +return v___x_195_; } else { -lean_dec(v___x_216_); -lean_dec(v_x_206_); -return v___x_212_; -} -} -else -{ -lean_dec(v_m_210_); -lean_dec(v_x_206_); -return v___x_212_; -} -} -} -else -{ -lean_object* v___x_219_; uint8_t v___x_220_; -lean_dec(v_x_206_); -v___x_219_ = lean_nat_add(v_m_210_, v___x_209_); -lean_dec(v_m_210_); -v___x_220_ = lean_nat_dec_le(v___x_219_, v_x_207_); -if (v___x_220_ == 0) -{ -lean_dec(v___x_219_); -lean_dec(v_x_207_); -return v___x_220_; -} -else -{ -v_x_206_ = v___x_219_; -goto _start; +uint8_t v___x_217_; +v___x_217_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v_isModule_193_, v___x_210_, v___y_197_, v___x_211_, v___x_215_); +lean_dec_ref(v___x_210_); +return v___x_217_; } } } } -LEAN_EXPORT lean_object* l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg___boxed(lean_object* v___x_222_, lean_object* v_as_223_, lean_object* v_k_224_, lean_object* v_x_225_, lean_object* v_x_226_){ +} +} +} +LEAN_EXPORT lean_object* l_Lean_isDeclMeta___boxed(lean_object* v_env_222_, lean_object* v_declName_223_){ _start: { -uint8_t v___x_434__boxed_227_; uint8_t v_res_228_; lean_object* v_r_229_; -v___x_434__boxed_227_ = lean_unbox(v___x_222_); -v_res_228_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v___x_434__boxed_227_, v_as_223_, v_k_224_, v_x_225_, v_x_226_); -lean_dec(v_k_224_); -lean_dec_ref(v_as_223_); -v_r_229_ = lean_box(v_res_228_); -return v_r_229_; +uint8_t v_res_224_; lean_object* v_r_225_; +v_res_224_ = l_Lean_isDeclMeta(v_env_222_, v_declName_223_); +lean_dec(v_declName_223_); +v_r_225_ = lean_box(v_res_224_); +return v_r_225_; } } -LEAN_EXPORT uint8_t l_Lean_isDeclMeta(lean_object* v_env_234_, lean_object* v_declName_235_){ +LEAN_EXPORT uint8_t l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0(uint8_t v___x_226_, lean_object* v_as_227_, lean_object* v_k_228_, lean_object* v_x_229_, lean_object* v_x_230_, lean_object* v_x_231_){ _start: { -lean_object* v___x_236_; uint8_t v_isModule_237_; -v___x_236_ = l_Lean_Environment_header(v_env_234_); -v_isModule_237_ = lean_ctor_get_uint8(v___x_236_, sizeof(void*)*7 + 4); -lean_dec_ref(v___x_236_); -if (v_isModule_237_ == 0) -{ -uint8_t v___x_238_; -lean_dec_ref(v_env_234_); -v___x_238_ = 1; -return v___x_238_; -} -else -{ -uint8_t v___x_239_; lean_object* v___y_241_; -v___x_239_ = 0; -if (lean_obj_tag(v_declName_235_) == 1) -{ -lean_object* v_pre_262_; lean_object* v_str_263_; lean_object* v___x_264_; uint8_t v___x_265_; -v_pre_262_ = lean_ctor_get(v_declName_235_, 0); -v_str_263_ = lean_ctor_get(v_declName_235_, 1); -v___x_264_ = ((lean_object*)(l_Lean_isDeclMeta___closed__1)); -v___x_265_ = lean_string_dec_eq(v_str_263_, v___x_264_); -if (v___x_265_ == 0) -{ -v___y_241_ = v_declName_235_; -goto v___jp_240_; -} -else -{ -v___y_241_ = v_pre_262_; -goto v___jp_240_; +uint8_t v___x_232_; +v___x_232_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v___x_226_, v_as_227_, v_k_228_, v_x_229_, v_x_230_); +return v___x_232_; } } -else +LEAN_EXPORT lean_object* l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___boxed(lean_object* v___x_233_, lean_object* v_as_234_, lean_object* v_k_235_, lean_object* v_x_236_, lean_object* v_x_237_, lean_object* v_x_238_){ +_start: { -v___y_241_ = v_declName_235_; -goto v___jp_240_; +uint8_t v___x_533__boxed_239_; uint8_t v_res_240_; lean_object* v_r_241_; +v___x_533__boxed_239_ = lean_unbox(v___x_233_); +v_res_240_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0(v___x_533__boxed_239_, v_as_234_, v_k_235_, v_x_236_, v_x_237_, v_x_238_); +lean_dec(v_k_235_); +lean_dec_ref(v_as_234_); +v_r_241_ = lean_box(v_res_240_); +return v_r_241_; } -v___jp_240_: +} +LEAN_EXPORT lean_object* l_Lean_setDeclMeta(lean_object* v_env_242_, lean_object* v_declName_243_){ +_start: { -lean_object* v___x_242_; -v___x_242_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_234_, v_declName_235_); -if (lean_obj_tag(v___x_242_) == 0) +uint8_t v___x_244_; +lean_inc_ref(v_env_242_); +v___x_244_ = l_Lean_isDeclMeta(v_env_242_, v_declName_243_); +if (v___x_244_ == 0) { -lean_object* v___x_243_; lean_object* v_toEnvExtension_244_; lean_object* v_asyncMode_245_; lean_object* v___x_246_; lean_object* v___x_247_; lean_object* v___x_248_; uint8_t v___x_249_; -v___x_243_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; -v_toEnvExtension_244_ = lean_ctor_get(v___x_243_, 0); -lean_inc_ref(v_toEnvExtension_244_); -v_asyncMode_245_ = lean_ctor_get(v_toEnvExtension_244_, 2); -lean_inc(v_asyncMode_245_); -lean_dec_ref(v_toEnvExtension_244_); -v___x_246_ = lean_box(1); -v___x_247_ = lean_box(0); -v___x_248_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_246_, v___x_243_, v_env_234_, v_asyncMode_245_, v___x_247_); -lean_dec(v_asyncMode_245_); -v___x_249_ = l_Lean_NameSet_contains(v___x_248_, v___y_241_); -lean_dec(v___x_248_); +lean_object* v___x_245_; lean_object* v_toEnvExtension_246_; lean_object* v_asyncMode_247_; lean_object* v___x_248_; lean_object* v___x_249_; +v___x_245_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; +v_toEnvExtension_246_ = lean_ctor_get(v___x_245_, 0); +lean_inc_ref(v_toEnvExtension_246_); +v_asyncMode_247_ = lean_ctor_get(v_toEnvExtension_246_, 2); +lean_inc(v_asyncMode_247_); +lean_dec_ref(v_toEnvExtension_246_); +v___x_248_ = lean_box(0); +v___x_249_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_245_, v_env_242_, v_declName_243_, v_asyncMode_247_, v___x_248_); +lean_dec(v_asyncMode_247_); return v___x_249_; } else { -lean_object* v_val_250_; lean_object* v___x_251_; lean_object* v___x_252_; uint8_t v___x_253_; lean_object* v___x_254_; lean_object* v___x_255_; lean_object* v___x_256_; uint8_t v___x_257_; -v_val_250_ = lean_ctor_get(v___x_242_, 0); -lean_inc(v_val_250_); -lean_dec_ref(v___x_242_); -v___x_251_ = ((lean_object*)(l_Lean_isDeclMeta___closed__0)); -v___x_252_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; -v___x_253_ = 0; -v___x_254_ = l_Lean_PersistentEnvExtension_getModuleEntries___redArg(v___x_251_, v___x_252_, v_env_234_, v_val_250_, v___x_253_); -lean_dec(v_val_250_); -lean_dec_ref(v_env_234_); -v___x_255_ = lean_unsigned_to_nat(0u); -v___x_256_ = lean_array_get_size(v___x_254_); -v___x_257_ = lean_nat_dec_lt(v___x_255_, v___x_256_); -if (v___x_257_ == 0) -{ -lean_dec_ref(v___x_254_); -return v___x_239_; -} -else -{ -lean_object* v___x_258_; lean_object* v___x_259_; uint8_t v___x_260_; -v___x_258_ = lean_unsigned_to_nat(1u); -v___x_259_ = lean_nat_sub(v___x_256_, v___x_258_); -v___x_260_ = lean_nat_dec_le(v___x_255_, v___x_259_); -if (v___x_260_ == 0) -{ -lean_dec(v___x_259_); -lean_dec_ref(v___x_254_); -return v___x_239_; -} -else -{ -uint8_t v___x_261_; -v___x_261_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v_isModule_237_, v___x_254_, v___y_241_, v___x_255_, v___x_259_); -lean_dec_ref(v___x_254_); -return v___x_261_; +lean_dec(v_declName_243_); +return v_env_242_; } } } -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_isDeclMeta___boxed(lean_object* v_env_266_, lean_object* v_declName_267_){ +LEAN_EXPORT uint8_t l_panic___at___00Lean_getIRPhases_spec__0(lean_object* v_msg_257_){ _start: { -uint8_t v_res_268_; lean_object* v_r_269_; -v_res_268_ = l_Lean_isDeclMeta(v_env_266_, v_declName_267_); -lean_dec(v_declName_267_); -v_r_269_ = lean_box(v_res_268_); -return v_r_269_; +lean_object* v___f_258_; lean_object* v___f_259_; lean_object* v___f_260_; lean_object* v___f_261_; lean_object* v___f_262_; lean_object* v___f_263_; lean_object* v___f_264_; lean_object* v___x_265_; lean_object* v___x_266_; lean_object* v___x_267_; uint8_t v___x_268_; lean_object* v___x_269_; lean_object* v___x_270_; lean_object* v___x_271_; uint8_t v___x_272_; +v___f_258_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__0)); +v___f_259_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__1)); +v___f_260_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__2)); +v___f_261_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__3)); +v___f_262_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__4)); +v___f_263_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__5)); +v___f_264_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__6)); +v___x_265_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_265_, 0, v___f_258_); +lean_ctor_set(v___x_265_, 1, v___f_259_); +v___x_266_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_266_, 0, v___x_265_); +lean_ctor_set(v___x_266_, 1, v___f_260_); +lean_ctor_set(v___x_266_, 2, v___f_261_); +lean_ctor_set(v___x_266_, 3, v___f_262_); +lean_ctor_set(v___x_266_, 4, v___f_263_); +v___x_267_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_267_, 0, v___x_266_); +lean_ctor_set(v___x_267_, 1, v___f_264_); +v___x_268_ = 0; +v___x_269_ = lean_box(v___x_268_); +v___x_270_ = l_instInhabitedOfMonad___redArg(v___x_267_, v___x_269_); +v___x_271_ = lean_panic_fn(v___x_270_, v_msg_257_); +v___x_272_ = lean_unbox(v___x_271_); +lean_dec(v___x_271_); +return v___x_272_; } } -LEAN_EXPORT uint8_t l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0(uint8_t v___x_270_, lean_object* v_as_271_, lean_object* v_k_272_, lean_object* v_x_273_, lean_object* v_x_274_, lean_object* v_x_275_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_getIRPhases_spec__0___boxed(lean_object* v_msg_273_){ _start: { -uint8_t v___x_276_; -v___x_276_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___redArg(v___x_270_, v_as_271_, v_k_272_, v_x_273_, v_x_274_); -return v___x_276_; -} -} -LEAN_EXPORT lean_object* l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0___boxed(lean_object* v___x_277_, lean_object* v_as_278_, lean_object* v_k_279_, lean_object* v_x_280_, lean_object* v_x_281_, lean_object* v_x_282_){ -_start: -{ -uint8_t v___x_533__boxed_283_; uint8_t v_res_284_; lean_object* v_r_285_; -v___x_533__boxed_283_ = lean_unbox(v___x_277_); -v_res_284_ = l_Array_binSearchAux___at___00Lean_isDeclMeta_spec__0(v___x_533__boxed_283_, v_as_278_, v_k_279_, v_x_280_, v_x_281_, v_x_282_); -lean_dec(v_k_279_); -lean_dec_ref(v_as_278_); -v_r_285_ = lean_box(v_res_284_); -return v_r_285_; -} -} -LEAN_EXPORT lean_object* l_Lean_setDeclMeta(lean_object* v_env_286_, lean_object* v_declName_287_){ -_start: -{ -uint8_t v___x_288_; -lean_inc_ref(v_env_286_); -v___x_288_ = l_Lean_isDeclMeta(v_env_286_, v_declName_287_); -if (v___x_288_ == 0) -{ -lean_object* v___x_289_; lean_object* v_toEnvExtension_290_; lean_object* v_asyncMode_291_; lean_object* v___x_292_; lean_object* v___x_293_; -v___x_289_ = l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt; -v_toEnvExtension_290_ = lean_ctor_get(v___x_289_, 0); -lean_inc_ref(v_toEnvExtension_290_); -v_asyncMode_291_ = lean_ctor_get(v_toEnvExtension_290_, 2); -lean_inc(v_asyncMode_291_); -lean_dec_ref(v_toEnvExtension_290_); -v___x_292_ = lean_box(0); -v___x_293_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_289_, v_env_286_, v_declName_287_, v_asyncMode_291_, v___x_292_); -lean_dec(v_asyncMode_291_); -return v___x_293_; -} -else -{ -lean_dec(v_declName_287_); -return v_env_286_; -} -} -} -LEAN_EXPORT uint8_t l_panic___at___00Lean_getIRPhases_spec__0(lean_object* v_msg_301_){ -_start: -{ -lean_object* v___f_302_; lean_object* v___f_303_; lean_object* v___f_304_; lean_object* v___f_305_; lean_object* v___f_306_; lean_object* v___f_307_; lean_object* v___f_308_; lean_object* v___x_309_; lean_object* v___x_310_; lean_object* v___x_311_; uint8_t v___x_312_; lean_object* v___x_313_; lean_object* v___x_314_; lean_object* v___x_315_; uint8_t v___x_316_; -v___f_302_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__0)); -v___f_303_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__1)); -v___f_304_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__2)); -v___f_305_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__3)); -v___f_306_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__4)); -v___f_307_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__5)); -v___f_308_ = ((lean_object*)(l_panic___at___00Lean_getIRPhases_spec__0___closed__6)); -v___x_309_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_309_, 0, v___f_302_); -lean_ctor_set(v___x_309_, 1, v___f_303_); -v___x_310_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_310_, 0, v___x_309_); -lean_ctor_set(v___x_310_, 1, v___f_304_); -lean_ctor_set(v___x_310_, 2, v___f_305_); -lean_ctor_set(v___x_310_, 3, v___f_306_); -lean_ctor_set(v___x_310_, 4, v___f_307_); -v___x_311_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_311_, 0, v___x_310_); -lean_ctor_set(v___x_311_, 1, v___f_308_); -v___x_312_ = 0; -v___x_313_ = lean_box(v___x_312_); -v___x_314_ = l_instInhabitedOfMonad___redArg(v___x_311_, v___x_313_); -v___x_315_ = lean_panic_fn(v___x_314_, v_msg_301_); -v___x_316_ = lean_unbox(v___x_315_); -lean_dec(v___x_315_); -return v___x_316_; -} -} -LEAN_EXPORT lean_object* l_panic___at___00Lean_getIRPhases_spec__0___boxed(lean_object* v_msg_317_){ -_start: -{ -uint8_t v_res_318_; lean_object* v_r_319_; -v_res_318_ = l_panic___at___00Lean_getIRPhases_spec__0(v_msg_317_); -v_r_319_ = lean_box(v_res_318_); -return v_r_319_; +uint8_t v_res_274_; lean_object* v_r_275_; +v_res_274_ = l_panic___at___00Lean_getIRPhases_spec__0(v_msg_273_); +v_r_275_ = lean_box(v_res_274_); +return v_r_275_; } } static lean_object* _init_l_Lean_getIRPhases___closed__3(void){ _start: { -lean_object* v___x_323_; lean_object* v___x_324_; lean_object* v___x_325_; lean_object* v___x_326_; lean_object* v___x_327_; lean_object* v___x_328_; -v___x_323_ = ((lean_object*)(l_Lean_getIRPhases___closed__2)); -v___x_324_ = lean_unsigned_to_nat(14u); -v___x_325_ = lean_unsigned_to_nat(22u); -v___x_326_ = ((lean_object*)(l_Lean_getIRPhases___closed__1)); -v___x_327_ = ((lean_object*)(l_Lean_getIRPhases___closed__0)); -v___x_328_ = l_mkPanicMessageWithDecl(v___x_327_, v___x_326_, v___x_325_, v___x_324_, v___x_323_); -return v___x_328_; +lean_object* v___x_279_; lean_object* v___x_280_; lean_object* v___x_281_; lean_object* v___x_282_; lean_object* v___x_283_; lean_object* v___x_284_; +v___x_279_ = ((lean_object*)(l_Lean_getIRPhases___closed__2)); +v___x_280_ = lean_unsigned_to_nat(14u); +v___x_281_ = lean_unsigned_to_nat(22u); +v___x_282_ = ((lean_object*)(l_Lean_getIRPhases___closed__1)); +v___x_283_ = ((lean_object*)(l_Lean_getIRPhases___closed__0)); +v___x_284_ = l_mkPanicMessageWithDecl(v___x_283_, v___x_282_, v___x_281_, v___x_280_, v___x_279_); +return v___x_284_; } } -LEAN_EXPORT uint8_t l_Lean_getIRPhases(lean_object* v_env_329_, lean_object* v_declName_330_){ +LEAN_EXPORT uint8_t l_Lean_getIRPhases(lean_object* v_env_285_, lean_object* v_declName_286_){ _start: { -lean_object* v___x_331_; uint8_t v_isModule_332_; -v___x_331_ = l_Lean_Environment_header(v_env_329_); -v_isModule_332_ = lean_ctor_get_uint8(v___x_331_, sizeof(void*)*7 + 4); -if (v_isModule_332_ == 0) +lean_object* v___x_287_; uint8_t v_isModule_288_; +v___x_287_ = l_Lean_Environment_header(v_env_285_); +v_isModule_288_ = lean_ctor_get_uint8(v___x_287_, sizeof(void*)*7 + 4); +if (v_isModule_288_ == 0) { -uint8_t v___x_333_; -lean_dec_ref(v___x_331_); -lean_dec(v_declName_330_); -lean_dec_ref(v_env_329_); -v___x_333_ = 2; -return v___x_333_; +uint8_t v___x_289_; +lean_dec_ref(v___x_287_); +lean_dec(v_declName_286_); +lean_dec_ref(v_env_285_); +v___x_289_ = 2; +return v___x_289_; } else { -lean_object* v_modules_334_; lean_object* v___x_335_; -v_modules_334_ = lean_ctor_get(v___x_331_, 3); -lean_inc_ref(v_modules_334_); -lean_dec_ref(v___x_331_); -v___x_335_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_329_, v_declName_330_); -if (lean_obj_tag(v___x_335_) == 0) +lean_object* v_modules_290_; lean_object* v___x_291_; +v_modules_290_ = lean_ctor_get(v___x_287_, 3); +lean_inc_ref(v_modules_290_); +lean_dec_ref(v___x_287_); +v___x_291_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_285_, v_declName_286_); +if (lean_obj_tag(v___x_291_) == 0) { -uint8_t v___x_336_; -lean_dec_ref(v_modules_334_); -lean_inc(v_declName_330_); -lean_inc_ref(v_env_329_); -v___x_336_ = l_Lean_isMarkedMeta(v_env_329_, v_declName_330_); -if (v___x_336_ == 0) +uint8_t v___x_292_; lean_object* v___x_293_; +lean_dec_ref(v_modules_290_); +v___x_292_ = 0; +lean_inc(v_declName_286_); +lean_inc_ref(v_env_285_); +v___x_293_ = l_Lean_Environment_find_x3f(v_env_285_, v_declName_286_, v___x_292_); +if (lean_obj_tag(v___x_293_) == 0) { -lean_object* v___x_337_; lean_object* v_asyncMode_338_; lean_object* v___x_339_; lean_object* v___x_340_; lean_object* v___x_341_; uint8_t v___x_342_; -v___x_337_ = l___private_Lean_Compiler_MetaAttr_0__Lean_notMetaExt; -v_asyncMode_338_ = lean_ctor_get(v___x_337_, 2); -lean_inc(v_asyncMode_338_); -v___x_339_ = lean_box(1); -v___x_340_ = lean_box(0); -v___x_341_ = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(v___x_339_, v___x_337_, v_env_329_, v_asyncMode_338_, v___x_340_); -lean_dec(v_asyncMode_338_); -v___x_342_ = l_Lean_NameSet_contains(v___x_341_, v_declName_330_); -lean_dec(v_declName_330_); -lean_dec(v___x_341_); -if (v___x_342_ == 0) -{ -uint8_t v___x_343_; -v___x_343_ = 2; -return v___x_343_; +uint8_t v___x_294_; +lean_dec(v_declName_286_); +lean_dec_ref(v_env_285_); +v___x_294_ = 2; +return v___x_294_; } else { -uint8_t v___x_344_; -v___x_344_ = 0; -return v___x_344_; +lean_object* v_val_295_; uint8_t v___x_296_; +v_val_295_ = lean_ctor_get(v___x_293_, 0); +lean_inc(v_val_295_); +lean_dec_ref(v___x_293_); +v___x_296_ = l_Lean_ConstantInfo_isCtor(v_val_295_); +lean_dec(v_val_295_); +if (v___x_296_ == 0) +{ +uint8_t v___x_297_; +v___x_297_ = l_Lean_isMarkedMeta(v_env_285_, v_declName_286_); +if (v___x_297_ == 0) +{ +uint8_t v___x_298_; +v___x_298_ = 0; +return v___x_298_; +} +else +{ +uint8_t v___x_299_; +v___x_299_ = 1; +return v___x_299_; } } else { -uint8_t v___x_345_; -lean_dec(v_declName_330_); -lean_dec_ref(v_env_329_); -v___x_345_ = 1; -return v___x_345_; +uint8_t v___x_300_; +lean_dec(v_declName_286_); +lean_dec_ref(v_env_285_); +v___x_300_ = 2; +return v___x_300_; +} } } else { -lean_object* v_val_346_; uint8_t v___x_347_; -v_val_346_ = lean_ctor_get(v___x_335_, 0); -lean_inc(v_val_346_); -lean_dec_ref(v___x_335_); -v___x_347_ = l_Lean_isMarkedMeta(v_env_329_, v_declName_330_); -if (v___x_347_ == 0) +lean_object* v_val_301_; uint8_t v___x_302_; +v_val_301_ = lean_ctor_get(v___x_291_, 0); +lean_inc(v_val_301_); +lean_dec_ref(v___x_291_); +v___x_302_ = l_Lean_isMarkedMeta(v_env_285_, v_declName_286_); +if (v___x_302_ == 0) { -lean_object* v___x_348_; uint8_t v___x_349_; -v___x_348_ = lean_array_get_size(v_modules_334_); -v___x_349_ = lean_nat_dec_lt(v_val_346_, v___x_348_); -if (v___x_349_ == 0) +lean_object* v___x_303_; uint8_t v___x_304_; +v___x_303_ = lean_array_get_size(v_modules_290_); +v___x_304_ = lean_nat_dec_lt(v_val_301_, v___x_303_); +if (v___x_304_ == 0) { -lean_object* v___x_350_; uint8_t v___x_351_; -lean_dec(v_val_346_); -lean_dec_ref(v_modules_334_); -v___x_350_ = lean_obj_once(&l_Lean_getIRPhases___closed__3, &l_Lean_getIRPhases___closed__3_once, _init_l_Lean_getIRPhases___closed__3); -v___x_351_ = l_panic___at___00Lean_getIRPhases_spec__0(v___x_350_); -return v___x_351_; +lean_object* v___x_305_; uint8_t v___x_306_; +lean_dec(v_val_301_); +lean_dec_ref(v_modules_290_); +v___x_305_ = lean_obj_once(&l_Lean_getIRPhases___closed__3, &l_Lean_getIRPhases___closed__3_once, _init_l_Lean_getIRPhases___closed__3); +v___x_306_ = l_panic___at___00Lean_getIRPhases_spec__0(v___x_305_); +return v___x_306_; } else { -lean_object* v___x_352_; uint8_t v_irPhases_353_; -v___x_352_ = lean_array_fget(v_modules_334_, v_val_346_); -lean_dec(v_val_346_); -lean_dec_ref(v_modules_334_); -v_irPhases_353_ = lean_ctor_get_uint8(v___x_352_, sizeof(void*)*1); -lean_dec(v___x_352_); -return v_irPhases_353_; +lean_object* v___x_307_; uint8_t v_irPhases_308_; +v___x_307_ = lean_array_fget(v_modules_290_, v_val_301_); +lean_dec(v_val_301_); +lean_dec_ref(v_modules_290_); +v_irPhases_308_ = lean_ctor_get_uint8(v___x_307_, sizeof(void*)*1); +lean_dec(v___x_307_); +return v_irPhases_308_; } } else { -uint8_t v___x_354_; -lean_dec(v_val_346_); -lean_dec_ref(v_modules_334_); -v___x_354_ = 1; -return v___x_354_; +uint8_t v___x_309_; +lean_dec(v_val_301_); +lean_dec_ref(v_modules_290_); +v___x_309_ = 1; +return v___x_309_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getIRPhases___boxed(lean_object* v_env_355_, lean_object* v_declName_356_){ +LEAN_EXPORT lean_object* l_Lean_getIRPhases___boxed(lean_object* v_env_310_, lean_object* v_declName_311_){ _start: { -uint8_t v_res_357_; lean_object* v_r_358_; -v_res_357_ = l_Lean_getIRPhases(v_env_355_, v_declName_356_); -v_r_358_ = lean_box(v_res_357_); -return v_r_358_; +uint8_t v_res_312_; lean_object* v_r_313_; +v_res_312_ = l_Lean_getIRPhases(v_env_310_, v_declName_311_); +v_r_313_ = lean_box(v_res_312_); +return v_r_313_; } } lean_object* runtime_initialize_Lean_EnvExtension(uint8_t builtin); @@ -1026,11 +898,6 @@ if (lean_io_result_is_error(res)) return res; l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt = lean_io_result_get_value(res); lean_mark_persistent(l___private_Lean_Compiler_MetaAttr_0__Lean_metaExt); lean_dec_ref(res); -res = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_285705796____hygCtx___hyg_2_(); -if (lean_io_result_is_error(res)) return res; -l___private_Lean_Compiler_MetaAttr_0__Lean_notMetaExt = lean_io_result_get_value(res); -lean_mark_persistent(l___private_Lean_Compiler_MetaAttr_0__Lean_notMetaExt); -lean_dec_ref(res); res = l___private_Lean_Compiler_MetaAttr_0__Lean_initFn_00___x40_Lean_Compiler_MetaAttr_2418679097____hygCtx___hyg_2_(); if (lean_io_result_is_error(res)) return res; l___private_Lean_Compiler_MetaAttr_0__Lean_declMetaExt = lean_io_result_get_value(res); diff --git a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c index c6b5e77d9f..ec17e3f4e5 100644 --- a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c +++ b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Data.Lsp.LanguageFeatures -// Imports: public import Lean.Data.Lsp.Basic public import Lean.Expr public import Init.Data.String.Search public import Init.Data.Array.GetLit +// Imports: public import Lean.Data.Lsp.Basic public import Lean.Expr public import Init.Data.String.Search public import Init.Data.Array.GetLit meta import Lean.Data.Json.FromToJson.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -53269,17 +53269,22 @@ l_Lean_Lsp_instInhabitedCallHierarchyOutgoingCall = _init_l_Lean_Lsp_instInhabit lean_mark_persistent(l_Lean_Lsp_instInhabitedCallHierarchyOutgoingCall); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Data_Json_FromToJson_Basic(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Data_Json_FromToJson_Basic(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Data_Lsp_Basic(uint8_t builtin); lean_object* initialize_Lean_Expr(uint8_t builtin); lean_object* initialize_Init_Data_String_Search(uint8_t builtin); lean_object* initialize_Init_Data_Array_GetLit(uint8_t builtin); +lean_object* initialize_Lean_Data_Json_FromToJson_Basic(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin) { lean_object * res; @@ -53297,6 +53302,9 @@ lean_dec_ref(res); res = initialize_Init_Data_Array_GetLit(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Data_Json_FromToJson_Basic(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Data_Lsp_LanguageFeatures(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index a096b7bceb..1e646d0b7f 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -193,11 +193,7 @@ lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_logUnassignedUsingErrorInfos(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_mkAuxDefinitionFor(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); -extern lean_object* l_Lean_unknownIdentifierMessageTag; +lean_object* l_Lean_compileDecls(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkOfNonempty(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Compiler_setImplementedBy(lean_object*, lean_object*, lean_object*); @@ -205,6 +201,12 @@ lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Expr_getAppNumArgs(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_mkAuxDefinitionFor(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); +lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); +extern lean_object* l_Lean_unknownIdentifierMessageTag; +lean_object* l_Lean_markMeta(lean_object*, lean_object*); lean_object* l_mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -2260,14 +2262,14 @@ static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__1_value_aux_ static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__1_value_aux_1),((lean_object*)&l_Lean_Elab_Term_elabCoe___regBuiltin_Lean_Elab_Term_elabCoe__1___closed__4_value),LEAN_SCALAR_PTR_LITERAL(75, 170, 162, 138, 136, 204, 251, 229)}}; static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__1_value_aux_2),((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__0_value),LEAN_SCALAR_PTR_LITERAL(230, 60, 143, 92, 148, 151, 143, 207)}}; static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__1 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__1_value; -static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__0_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 119, 170, 15, 163, 222, 21)}}; -static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__2 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__2_value; -static const lean_string_object l_Lean_Elab_Term_elabUnsafe___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "unsafe_impl"}; +static lean_once_cell_t l_Lean_Elab_Term_elabUnsafe___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Elab_Term_elabUnsafe___closed__2; +static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__0_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 119, 170, 15, 163, 222, 21)}}; static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__3 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__3_value; -static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__3_value),LEAN_SCALAR_PTR_LITERAL(233, 148, 45, 12, 3, 101, 68, 54)}}; +static const lean_string_object l_Lean_Elab_Term_elabUnsafe___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "unsafe_impl"}; static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__4 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__4_value; -static lean_once_cell_t l_Lean_Elab_Term_elabUnsafe___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Elab_Term_elabUnsafe___closed__5; +static const lean_ctor_object l_Lean_Elab_Term_elabUnsafe___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__4_value),LEAN_SCALAR_PTR_LITERAL(233, 148, 45, 12, 3, 101, 68, 54)}}; +static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__5 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__5_value; static const lean_string_object l_Lean_Elab_Term_elabUnsafe___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 26, .m_capacity = 26, .m_length = 25, .m_data = "Lean.Elab.BuiltinNotation"}; static const lean_object* l_Lean_Elab_Term_elabUnsafe___closed__6 = (const lean_object*)&l_Lean_Elab_Term_elabUnsafe___closed__6_value; static const lean_string_object l_Lean_Elab_Term_elabUnsafe___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 26, .m_capacity = 26, .m_length = 25, .m_data = "Lean.Elab.Term.elabUnsafe"}; @@ -25249,10 +25251,10 @@ return v___x_9078_; LEAN_EXPORT lean_object* l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2(lean_object* v_msg_9079_, lean_object* v___y_9080_, lean_object* v___y_9081_, lean_object* v___y_9082_, lean_object* v___y_9083_, lean_object* v___y_9084_, lean_object* v___y_9085_){ _start: { -lean_object* v___x_9087_; lean_object* v___x_3835__overap_9088_; lean_object* v___x_9089_; +lean_object* v___x_9087_; lean_object* v___x_9229__overap_9088_; lean_object* v___x_9089_; v___x_9087_ = lean_obj_once(&l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2___closed__0, &l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2___closed__0_once, _init_l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2___closed__0); -v___x_3835__overap_9088_ = lean_panic_fn(v___x_9087_, v_msg_9079_); -v___x_9089_ = lean_apply_7(v___x_3835__overap_9088_, v___y_9080_, v___y_9081_, v___y_9082_, v___y_9083_, v___y_9084_, v___y_9085_, lean_box(0)); +v___x_9229__overap_9088_ = lean_panic_fn(v___x_9087_, v_msg_9079_); +v___x_9089_ = lean_apply_7(v___x_9229__overap_9088_, v___y_9080_, v___y_9081_, v___y_9082_, v___y_9083_, v___y_9084_, v___y_9085_, lean_box(0)); return v___x_9089_; } } @@ -26127,13 +26129,13 @@ lean_dec(v___y_9437_); return v_res_9443_; } } -static lean_object* _init_l_Lean_Elab_Term_elabUnsafe___closed__5(void){ +static lean_object* _init_l_Lean_Elab_Term_elabUnsafe___closed__2(void){ _start: { -lean_object* v___x_9455_; lean_object* v_dummy_9456_; -v___x_9455_ = lean_box(0); -v_dummy_9456_ = l_Lean_Expr_sort___override(v___x_9455_); -return v_dummy_9456_; +lean_object* v___x_9450_; lean_object* v_dummy_9451_; +v___x_9450_ = lean_box(0); +v_dummy_9451_ = l_Lean_Expr_sort___override(v___x_9450_); +return v_dummy_9451_; } } static lean_object* _init_l_Lean_Elab_Term_elabUnsafe___closed__8(void){ @@ -26221,26 +26223,26 @@ v___x_9490_ = l_Lean_Elab_Term_logUnassignedUsingErrorInfos(v_a_9488_, v___x_948 lean_dec(v_a_9488_); if (lean_obj_tag(v___x_9490_) == 0) { -lean_object* v_a_9491_; lean_object* v___x_9492_; lean_object* v___y_9494_; lean_object* v___y_9495_; lean_object* v___y_9496_; lean_object* v___y_9497_; lean_object* v___y_9498_; lean_object* v___y_9499_; uint8_t v___x_9598_; +lean_object* v_a_9491_; lean_object* v___x_9492_; uint8_t v___y_9494_; lean_object* v___y_9495_; lean_object* v___y_9496_; lean_object* v___y_9497_; lean_object* v___y_9498_; lean_object* v___y_9499_; lean_object* v___y_9500_; lean_object* v___y_9501_; lean_object* v___y_9502_; lean_object* v___y_9503_; lean_object* v___y_9504_; lean_object* v___y_9505_; lean_object* v___y_9573_; lean_object* v___y_9574_; lean_object* v___y_9575_; lean_object* v___y_9576_; lean_object* v___y_9577_; lean_object* v___y_9578_; uint8_t v___x_9695_; v_a_9491_ = lean_ctor_get(v___x_9490_, 0); lean_inc(v_a_9491_); lean_dec_ref(v___x_9490_); v___x_9492_ = lean_box(0); -v___x_9598_ = lean_unbox(v_a_9491_); +v___x_9695_ = lean_unbox(v_a_9491_); lean_dec(v_a_9491_); -if (v___x_9598_ == 0) +if (v___x_9695_ == 0) { -v___y_9494_ = v_a_9473_; -v___y_9495_ = v_a_9474_; -v___y_9496_ = v_a_9475_; -v___y_9497_ = v_a_9476_; -v___y_9498_ = v_a_9477_; -v___y_9499_ = v_a_9478_; -goto v___jp_9493_; +v___y_9573_ = v_a_9473_; +v___y_9574_ = v_a_9474_; +v___y_9575_ = v_a_9475_; +v___y_9576_ = v_a_9476_; +v___y_9577_ = v_a_9477_; +v___y_9578_ = v_a_9478_; +goto v___jp_9572_; } else { -lean_object* v___x_9599_; lean_object* v_a_9600_; lean_object* v___x_9602_; uint8_t v_isShared_9603_; uint8_t v_isSharedCheck_9607_; +lean_object* v___x_9696_; lean_object* v_a_9697_; lean_object* v___x_9699_; uint8_t v_isShared_9700_; uint8_t v_isSharedCheck_9704_; lean_dec(v_a_9486_); lean_dec(v_a_9478_); lean_dec_ref(v_a_9477_); @@ -26248,570 +26250,943 @@ lean_dec(v_a_9476_); lean_dec_ref(v_a_9475_); lean_dec(v_a_9474_); lean_dec_ref(v_a_9473_); -v___x_9599_ = l_Lean_Elab_throwAbortTerm___at___00Lean_Elab_Term_elabUnsafe_spec__3___redArg(); -v_a_9600_ = lean_ctor_get(v___x_9599_, 0); -v_isSharedCheck_9607_ = !lean_is_exclusive(v___x_9599_); -if (v_isSharedCheck_9607_ == 0) +v___x_9696_ = l_Lean_Elab_throwAbortTerm___at___00Lean_Elab_Term_elabUnsafe_spec__3___redArg(); +v_a_9697_ = lean_ctor_get(v___x_9696_, 0); +v_isSharedCheck_9704_ = !lean_is_exclusive(v___x_9696_); +if (v_isSharedCheck_9704_ == 0) { -v___x_9602_ = v___x_9599_; -v_isShared_9603_ = v_isSharedCheck_9607_; -goto v_resetjp_9601_; +v___x_9699_ = v___x_9696_; +v_isShared_9700_ = v_isSharedCheck_9704_; +goto v_resetjp_9698_; } else { -lean_inc(v_a_9600_); -lean_dec(v___x_9599_); -v___x_9602_ = lean_box(0); -v_isShared_9603_ = v_isSharedCheck_9607_; -goto v_resetjp_9601_; +lean_inc(v_a_9697_); +lean_dec(v___x_9696_); +v___x_9699_ = lean_box(0); +v_isShared_9700_ = v_isSharedCheck_9704_; +goto v_resetjp_9698_; } -v_resetjp_9601_: +v_resetjp_9698_: { -lean_object* v___x_9605_; -if (v_isShared_9603_ == 0) +lean_object* v___x_9702_; +if (v_isShared_9700_ == 0) { -v___x_9605_ = v___x_9602_; -goto v_reusejp_9604_; +v___x_9702_ = v___x_9699_; +goto v_reusejp_9701_; } else { -lean_object* v_reuseFailAlloc_9606_; -v_reuseFailAlloc_9606_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9606_, 0, v_a_9600_); -v___x_9605_ = v_reuseFailAlloc_9606_; -goto v_reusejp_9604_; +lean_object* v_reuseFailAlloc_9703_; +v_reuseFailAlloc_9703_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9703_, 0, v_a_9697_); +v___x_9702_ = v_reuseFailAlloc_9703_; +goto v_reusejp_9701_; } -v_reusejp_9604_: +v_reusejp_9701_: { -return v___x_9605_; +return v___x_9702_; } } } v___jp_9493_: { -lean_object* v___x_9500_; lean_object* v___x_9501_; -v___x_9500_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__2)); -v___x_9501_ = l_Lean_Elab_Term_mkAuxName(v___x_9500_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9501_) == 0) -{ -lean_object* v_a_9502_; uint8_t v___x_9503_; lean_object* v___x_9504_; -v_a_9502_ = lean_ctor_get(v___x_9501_, 0); -lean_inc(v_a_9502_); -lean_dec_ref(v___x_9501_); -v___x_9503_ = 0; -lean_inc(v___y_9499_); -lean_inc_ref(v___y_9498_); +lean_object* v___x_9506_; lean_object* v___x_9507_; lean_object* v___x_9508_; +v___x_9506_ = lean_mk_empty_array_with_capacity(v___x_9483_); lean_inc(v___y_9497_); -lean_inc_ref(v___y_9496_); -v___x_9504_ = l_Lean_Meta_mkAuxDefinitionFor(v_a_9502_, v_a_9486_, v___x_9503_, v___x_9481_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9504_) == 0) +v___x_9507_ = lean_array_push(v___x_9506_, v___y_9497_); +lean_inc(v___y_9505_); +lean_inc_ref(v___y_9504_); +v___x_9508_ = l_Lean_compileDecls(v___x_9507_, v___x_9481_, v___y_9504_, v___y_9505_); +if (lean_obj_tag(v___x_9508_) == 0) { -lean_object* v_a_9505_; lean_object* v___x_9506_; -v_a_9505_ = lean_ctor_get(v___x_9504_, 0); -lean_inc(v_a_9505_); -lean_dec_ref(v___x_9504_); -v___x_9506_ = l_Lean_Expr_getAppFn(v_a_9505_); -if (lean_obj_tag(v___x_9506_) == 4) +lean_object* v_toConstantVal_9509_; lean_object* v_levelParams_9510_; lean_object* v_type_9511_; lean_object* v___x_9513_; uint8_t v_isShared_9514_; uint8_t v_isSharedCheck_9562_; +lean_dec_ref(v___x_9508_); +v_toConstantVal_9509_ = lean_ctor_get(v___y_9495_, 0); +lean_inc_ref(v_toConstantVal_9509_); +lean_dec_ref(v___y_9495_); +v_levelParams_9510_ = lean_ctor_get(v_toConstantVal_9509_, 1); +v_type_9511_ = lean_ctor_get(v_toConstantVal_9509_, 2); +v_isSharedCheck_9562_ = !lean_is_exclusive(v_toConstantVal_9509_); +if (v_isSharedCheck_9562_ == 0) { -lean_object* v_declName_9507_; lean_object* v_us_9508_; lean_object* v___x_9509_; -v_declName_9507_ = lean_ctor_get(v___x_9506_, 0); -lean_inc(v_declName_9507_); -v_us_9508_ = lean_ctor_get(v___x_9506_, 1); -lean_inc(v_us_9508_); -lean_dec_ref(v___x_9506_); -lean_inc_ref(v___y_9498_); -lean_inc_ref(v___y_9494_); -lean_inc(v_declName_9507_); -v___x_9509_ = l_Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0(v_declName_9507_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9509_) == 0) -{ -lean_object* v_a_9510_; -v_a_9510_ = lean_ctor_get(v___x_9509_, 0); -lean_inc(v_a_9510_); -lean_dec_ref(v___x_9509_); -if (lean_obj_tag(v_a_9510_) == 1) -{ -lean_object* v_val_9511_; lean_object* v___x_9512_; lean_object* v___x_9513_; -v_val_9511_ = lean_ctor_get(v_a_9510_, 0); -lean_inc_ref(v_val_9511_); -lean_dec_ref(v_a_9510_); -v___x_9512_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__4)); -v___x_9513_ = l_Lean_Elab_Term_mkAuxName(v___x_9512_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9513_) == 0) -{ -lean_object* v_toConstantVal_9514_; lean_object* v_a_9515_; lean_object* v_levelParams_9516_; lean_object* v_type_9517_; lean_object* v___x_9519_; uint8_t v_isShared_9520_; uint8_t v_isSharedCheck_9568_; -v_toConstantVal_9514_ = lean_ctor_get(v_val_9511_, 0); -lean_inc_ref(v_toConstantVal_9514_); -lean_dec_ref(v_val_9511_); -v_a_9515_ = lean_ctor_get(v___x_9513_, 0); -lean_inc(v_a_9515_); -lean_dec_ref(v___x_9513_); -v_levelParams_9516_ = lean_ctor_get(v_toConstantVal_9514_, 1); -v_type_9517_ = lean_ctor_get(v_toConstantVal_9514_, 2); -v_isSharedCheck_9568_ = !lean_is_exclusive(v_toConstantVal_9514_); -if (v_isSharedCheck_9568_ == 0) -{ -lean_object* v_unused_9569_; -v_unused_9569_ = lean_ctor_get(v_toConstantVal_9514_, 0); -lean_dec(v_unused_9569_); -v___x_9519_ = v_toConstantVal_9514_; -v_isShared_9520_ = v_isSharedCheck_9568_; -goto v_resetjp_9518_; +lean_object* v_unused_9563_; +v_unused_9563_ = lean_ctor_get(v_toConstantVal_9509_, 0); +lean_dec(v_unused_9563_); +v___x_9513_ = v_toConstantVal_9509_; +v_isShared_9514_ = v_isSharedCheck_9562_; +goto v_resetjp_9512_; } else { -lean_inc(v_type_9517_); -lean_inc(v_levelParams_9516_); -lean_dec(v_toConstantVal_9514_); -v___x_9519_ = lean_box(0); -v_isShared_9520_ = v_isSharedCheck_9568_; -goto v_resetjp_9518_; +lean_inc(v_type_9511_); +lean_inc(v_levelParams_9510_); +lean_dec(v_toConstantVal_9509_); +v___x_9513_ = lean_box(0); +v_isShared_9514_ = v_isSharedCheck_9562_; +goto v_resetjp_9512_; } -v_resetjp_9518_: +v_resetjp_9512_: +{ +lean_object* v___x_9515_; +lean_inc(v___y_9505_); +lean_inc_ref(v___y_9504_); +lean_inc(v___y_9503_); +lean_inc_ref(v___y_9502_); +lean_inc_ref(v_type_9511_); +v___x_9515_ = l_Lean_Meta_mkOfNonempty(v_type_9511_, v___y_9502_, v___y_9503_, v___y_9504_, v___y_9505_); +if (lean_obj_tag(v___x_9515_) == 0) +{ +lean_object* v_a_9516_; lean_object* v___x_9518_; uint8_t v_isShared_9519_; uint8_t v_isSharedCheck_9561_; +v_a_9516_ = lean_ctor_get(v___x_9515_, 0); +v_isSharedCheck_9561_ = !lean_is_exclusive(v___x_9515_); +if (v_isSharedCheck_9561_ == 0) +{ +v___x_9518_ = v___x_9515_; +v_isShared_9519_ = v_isSharedCheck_9561_; +goto v_resetjp_9517_; +} +else +{ +lean_inc(v_a_9516_); +lean_dec(v___x_9515_); +v___x_9518_ = lean_box(0); +v_isShared_9519_ = v_isSharedCheck_9561_; +goto v_resetjp_9517_; +} +v_resetjp_9517_: { lean_object* v___x_9521_; lean_inc(v___y_9499_); -lean_inc_ref(v___y_9498_); -lean_inc(v___y_9497_); -lean_inc_ref(v___y_9496_); -lean_inc_ref(v_type_9517_); -v___x_9521_ = l_Lean_Meta_mkOfNonempty(v_type_9517_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9521_) == 0) +if (v_isShared_9514_ == 0) { -lean_object* v_a_9522_; lean_object* v___x_9524_; uint8_t v_isShared_9525_; uint8_t v_isSharedCheck_9567_; -v_a_9522_ = lean_ctor_get(v___x_9521_, 0); -v_isSharedCheck_9567_ = !lean_is_exclusive(v___x_9521_); -if (v_isSharedCheck_9567_ == 0) -{ -v___x_9524_ = v___x_9521_; -v_isShared_9525_ = v_isSharedCheck_9567_; -goto v_resetjp_9523_; +lean_ctor_set(v___x_9513_, 0, v___y_9499_); +v___x_9521_ = v___x_9513_; +goto v_reusejp_9520_; } else { -lean_inc(v_a_9522_); -lean_dec(v___x_9521_); -v___x_9524_ = lean_box(0); -v_isShared_9525_ = v_isSharedCheck_9567_; -goto v_resetjp_9523_; +lean_object* v_reuseFailAlloc_9560_; +v_reuseFailAlloc_9560_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_9560_, 0, v___y_9499_); +lean_ctor_set(v_reuseFailAlloc_9560_, 1, v_levelParams_9510_); +lean_ctor_set(v_reuseFailAlloc_9560_, 2, v_type_9511_); +v___x_9521_ = v_reuseFailAlloc_9560_; +goto v_reusejp_9520_; } -v_resetjp_9523_: +v_reusejp_9520_: +{ +lean_object* v___x_9522_; lean_object* v___x_9523_; lean_object* v___x_9525_; +lean_inc(v___y_9499_); +v___x_9522_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_9522_, 0, v___y_9499_); +lean_ctor_set(v___x_9522_, 1, v___x_9492_); +v___x_9523_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v___x_9523_, 0, v___x_9521_); +lean_ctor_set(v___x_9523_, 1, v_a_9516_); +lean_ctor_set(v___x_9523_, 2, v___x_9522_); +lean_ctor_set_uint8(v___x_9523_, sizeof(void*)*3, v___y_9494_); +if (v_isShared_9519_ == 0) +{ +lean_ctor_set_tag(v___x_9518_, 3); +lean_ctor_set(v___x_9518_, 0, v___x_9523_); +v___x_9525_ = v___x_9518_; +goto v_reusejp_9524_; +} +else +{ +lean_object* v_reuseFailAlloc_9559_; +v_reuseFailAlloc_9559_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9559_, 0, v___x_9523_); +v___x_9525_ = v_reuseFailAlloc_9559_; +goto v_reusejp_9524_; +} +v_reusejp_9524_: +{ +lean_object* v___x_9526_; +lean_inc(v___y_9505_); +lean_inc_ref(v___y_9504_); +v___x_9526_ = l_Lean_addDecl(v___x_9525_, v___y_9494_, v___y_9504_, v___y_9505_); +if (lean_obj_tag(v___x_9526_) == 0) { lean_object* v___x_9527_; -lean_inc(v_a_9515_); -if (v_isShared_9520_ == 0) -{ -lean_ctor_set(v___x_9519_, 0, v_a_9515_); -v___x_9527_ = v___x_9519_; -goto v_reusejp_9526_; -} -else -{ -lean_object* v_reuseFailAlloc_9566_; -v_reuseFailAlloc_9566_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_9566_, 0, v_a_9515_); -lean_ctor_set(v_reuseFailAlloc_9566_, 1, v_levelParams_9516_); -lean_ctor_set(v_reuseFailAlloc_9566_, 2, v_type_9517_); -v___x_9527_ = v_reuseFailAlloc_9566_; -goto v_reusejp_9526_; -} -v_reusejp_9526_: -{ -lean_object* v___x_9528_; lean_object* v___x_9529_; lean_object* v___x_9531_; -lean_inc(v_a_9515_); -v___x_9528_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_9528_, 0, v_a_9515_); -lean_ctor_set(v___x_9528_, 1, v___x_9492_); -v___x_9529_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v___x_9529_, 0, v___x_9527_); -lean_ctor_set(v___x_9529_, 1, v_a_9522_); -lean_ctor_set(v___x_9529_, 2, v___x_9528_); -lean_ctor_set_uint8(v___x_9529_, sizeof(void*)*3, v___x_9503_); -if (v_isShared_9525_ == 0) -{ -lean_ctor_set_tag(v___x_9524_, 3); -lean_ctor_set(v___x_9524_, 0, v___x_9529_); -v___x_9531_ = v___x_9524_; -goto v_reusejp_9530_; -} -else -{ -lean_object* v_reuseFailAlloc_9565_; -v_reuseFailAlloc_9565_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9565_, 0, v___x_9529_); -v___x_9531_ = v_reuseFailAlloc_9565_; -goto v_reusejp_9530_; -} -v_reusejp_9530_: -{ -lean_object* v___x_9532_; +lean_dec_ref(v___x_9526_); lean_inc(v___y_9499_); -lean_inc_ref(v___y_9498_); -v___x_9532_ = l_Lean_addDecl(v___x_9531_, v___x_9503_, v___y_9498_, v___y_9499_); -if (lean_obj_tag(v___x_9532_) == 0) +v___x_9527_ = l_Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1(v___y_9499_, v___y_9497_, v___y_9500_, v___y_9501_, v___y_9502_, v___y_9503_, v___y_9504_, v___y_9505_); +lean_dec(v___y_9505_); +lean_dec_ref(v___y_9504_); +lean_dec(v___y_9503_); +lean_dec_ref(v___y_9502_); +lean_dec(v___y_9501_); +if (lean_obj_tag(v___x_9527_) == 0) { -lean_object* v___x_9533_; -lean_dec_ref(v___x_9532_); -lean_inc(v_a_9515_); -v___x_9533_ = l_Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1(v_a_9515_, v_declName_9507_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); +lean_object* v___x_9529_; uint8_t v_isShared_9530_; uint8_t v_isSharedCheck_9541_; +v_isSharedCheck_9541_ = !lean_is_exclusive(v___x_9527_); +if (v_isSharedCheck_9541_ == 0) +{ +lean_object* v_unused_9542_; +v_unused_9542_ = lean_ctor_get(v___x_9527_, 0); +lean_dec(v_unused_9542_); +v___x_9529_ = v___x_9527_; +v_isShared_9530_ = v_isSharedCheck_9541_; +goto v_resetjp_9528_; +} +else +{ +lean_dec(v___x_9527_); +v___x_9529_ = lean_box(0); +v_isShared_9530_ = v_isSharedCheck_9541_; +goto v_resetjp_9528_; +} +v_resetjp_9528_: +{ +lean_object* v___x_9531_; lean_object* v_dummy_9532_; lean_object* v_nargs_9533_; lean_object* v___x_9534_; lean_object* v___x_9535_; lean_object* v___x_9536_; lean_object* v___x_9537_; lean_object* v___x_9539_; +v___x_9531_ = l_Lean_mkConst(v___y_9499_, v___y_9498_); +v_dummy_9532_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__2, &l_Lean_Elab_Term_elabUnsafe___closed__2_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__2); +v_nargs_9533_ = l_Lean_Expr_getAppNumArgs(v___y_9496_); +lean_inc(v_nargs_9533_); +v___x_9534_ = lean_mk_array(v_nargs_9533_, v_dummy_9532_); +v___x_9535_ = lean_nat_sub(v_nargs_9533_, v___x_9483_); +lean_dec(v_nargs_9533_); +v___x_9536_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v___y_9496_, v___x_9534_, v___x_9535_); +v___x_9537_ = l_Lean_mkAppN(v___x_9531_, v___x_9536_); +lean_dec_ref(v___x_9536_); +if (v_isShared_9530_ == 0) +{ +lean_ctor_set(v___x_9529_, 0, v___x_9537_); +v___x_9539_ = v___x_9529_; +goto v_reusejp_9538_; +} +else +{ +lean_object* v_reuseFailAlloc_9540_; +v_reuseFailAlloc_9540_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9540_, 0, v___x_9537_); +v___x_9539_ = v_reuseFailAlloc_9540_; +goto v_reusejp_9538_; +} +v_reusejp_9538_: +{ +return v___x_9539_; +} +} +} +else +{ +lean_object* v_a_9543_; lean_object* v___x_9545_; uint8_t v_isShared_9546_; uint8_t v_isSharedCheck_9550_; lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); +lean_dec(v___y_9498_); +lean_dec_ref(v___y_9496_); +v_a_9543_ = lean_ctor_get(v___x_9527_, 0); +v_isSharedCheck_9550_ = !lean_is_exclusive(v___x_9527_); +if (v_isSharedCheck_9550_ == 0) +{ +v___x_9545_ = v___x_9527_; +v_isShared_9546_ = v_isSharedCheck_9550_; +goto v_resetjp_9544_; +} +else +{ +lean_inc(v_a_9543_); +lean_dec(v___x_9527_); +v___x_9545_ = lean_box(0); +v_isShared_9546_ = v_isSharedCheck_9550_; +goto v_resetjp_9544_; +} +v_resetjp_9544_: +{ +lean_object* v___x_9548_; +if (v_isShared_9546_ == 0) +{ +v___x_9548_ = v___x_9545_; +goto v_reusejp_9547_; +} +else +{ +lean_object* v_reuseFailAlloc_9549_; +v_reuseFailAlloc_9549_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9549_, 0, v_a_9543_); +v___x_9548_ = v_reuseFailAlloc_9549_; +goto v_reusejp_9547_; +} +v_reusejp_9547_: +{ +return v___x_9548_; +} +} +} +} +else +{ +lean_object* v_a_9551_; lean_object* v___x_9553_; uint8_t v_isShared_9554_; uint8_t v_isSharedCheck_9558_; +lean_dec(v___y_9505_); +lean_dec_ref(v___y_9504_); +lean_dec(v___y_9503_); +lean_dec_ref(v___y_9502_); +lean_dec(v___y_9501_); +lean_dec_ref(v___y_9500_); +lean_dec(v___y_9499_); +lean_dec(v___y_9498_); lean_dec(v___y_9497_); lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -if (lean_obj_tag(v___x_9533_) == 0) +v_a_9551_ = lean_ctor_get(v___x_9526_, 0); +v_isSharedCheck_9558_ = !lean_is_exclusive(v___x_9526_); +if (v_isSharedCheck_9558_ == 0) { -lean_object* v___x_9535_; uint8_t v_isShared_9536_; uint8_t v_isSharedCheck_9547_; -v_isSharedCheck_9547_ = !lean_is_exclusive(v___x_9533_); -if (v_isSharedCheck_9547_ == 0) -{ -lean_object* v_unused_9548_; -v_unused_9548_ = lean_ctor_get(v___x_9533_, 0); -lean_dec(v_unused_9548_); -v___x_9535_ = v___x_9533_; -v_isShared_9536_ = v_isSharedCheck_9547_; -goto v_resetjp_9534_; +v___x_9553_ = v___x_9526_; +v_isShared_9554_ = v_isSharedCheck_9558_; +goto v_resetjp_9552_; } else { -lean_dec(v___x_9533_); -v___x_9535_ = lean_box(0); -v_isShared_9536_ = v_isSharedCheck_9547_; -goto v_resetjp_9534_; +lean_inc(v_a_9551_); +lean_dec(v___x_9526_); +v___x_9553_ = lean_box(0); +v_isShared_9554_ = v_isSharedCheck_9558_; +goto v_resetjp_9552_; } -v_resetjp_9534_: +v_resetjp_9552_: { -lean_object* v___x_9537_; lean_object* v_dummy_9538_; lean_object* v_nargs_9539_; lean_object* v___x_9540_; lean_object* v___x_9541_; lean_object* v___x_9542_; lean_object* v___x_9543_; lean_object* v___x_9545_; -v___x_9537_ = l_Lean_mkConst(v_a_9515_, v_us_9508_); -v_dummy_9538_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__5, &l_Lean_Elab_Term_elabUnsafe___closed__5_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__5); -v_nargs_9539_ = l_Lean_Expr_getAppNumArgs(v_a_9505_); -lean_inc(v_nargs_9539_); -v___x_9540_ = lean_mk_array(v_nargs_9539_, v_dummy_9538_); -v___x_9541_ = lean_nat_sub(v_nargs_9539_, v___x_9483_); -lean_dec(v_nargs_9539_); -v___x_9542_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_a_9505_, v___x_9540_, v___x_9541_); -v___x_9543_ = l_Lean_mkAppN(v___x_9537_, v___x_9542_); -lean_dec_ref(v___x_9542_); -if (v_isShared_9536_ == 0) +lean_object* v___x_9556_; +if (v_isShared_9554_ == 0) { -lean_ctor_set(v___x_9535_, 0, v___x_9543_); -v___x_9545_ = v___x_9535_; -goto v_reusejp_9544_; +v___x_9556_ = v___x_9553_; +goto v_reusejp_9555_; } else { -lean_object* v_reuseFailAlloc_9546_; -v_reuseFailAlloc_9546_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9546_, 0, v___x_9543_); -v___x_9545_ = v_reuseFailAlloc_9546_; -goto v_reusejp_9544_; +lean_object* v_reuseFailAlloc_9557_; +v_reuseFailAlloc_9557_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9557_, 0, v_a_9551_); +v___x_9556_ = v_reuseFailAlloc_9557_; +goto v_reusejp_9555_; } -v_reusejp_9544_: +v_reusejp_9555_: { -return v___x_9545_; +return v___x_9556_; } } } -else -{ -lean_object* v_a_9549_; lean_object* v___x_9551_; uint8_t v_isShared_9552_; uint8_t v_isSharedCheck_9556_; -lean_dec(v_a_9515_); -lean_dec(v_us_9508_); -lean_dec(v_a_9505_); -v_a_9549_ = lean_ctor_get(v___x_9533_, 0); -v_isSharedCheck_9556_ = !lean_is_exclusive(v___x_9533_); -if (v_isSharedCheck_9556_ == 0) -{ -v___x_9551_ = v___x_9533_; -v_isShared_9552_ = v_isSharedCheck_9556_; -goto v_resetjp_9550_; -} -else -{ -lean_inc(v_a_9549_); -lean_dec(v___x_9533_); -v___x_9551_ = lean_box(0); -v_isShared_9552_ = v_isSharedCheck_9556_; -goto v_resetjp_9550_; -} -v_resetjp_9550_: -{ -lean_object* v___x_9554_; -if (v_isShared_9552_ == 0) -{ -v___x_9554_ = v___x_9551_; -goto v_reusejp_9553_; -} -else -{ -lean_object* v_reuseFailAlloc_9555_; -v_reuseFailAlloc_9555_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9555_, 0, v_a_9549_); -v___x_9554_ = v_reuseFailAlloc_9555_; -goto v_reusejp_9553_; -} -v_reusejp_9553_: -{ -return v___x_9554_; } } } } else { -lean_object* v_a_9557_; lean_object* v___x_9559_; uint8_t v_isShared_9560_; uint8_t v_isSharedCheck_9564_; -lean_dec(v_a_9515_); -lean_dec(v_us_9508_); -lean_dec(v_declName_9507_); -lean_dec(v_a_9505_); +lean_del_object(v___x_9513_); +lean_dec_ref(v_type_9511_); +lean_dec(v_levelParams_9510_); +lean_dec(v___y_9505_); +lean_dec_ref(v___y_9504_); +lean_dec(v___y_9503_); +lean_dec_ref(v___y_9502_); +lean_dec(v___y_9501_); +lean_dec_ref(v___y_9500_); lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); +lean_dec(v___y_9498_); lean_dec(v___y_9497_); lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); -v_a_9557_ = lean_ctor_get(v___x_9532_, 0); -v_isSharedCheck_9564_ = !lean_is_exclusive(v___x_9532_); -if (v_isSharedCheck_9564_ == 0) -{ -v___x_9559_ = v___x_9532_; -v_isShared_9560_ = v_isSharedCheck_9564_; -goto v_resetjp_9558_; -} -else -{ -lean_inc(v_a_9557_); -lean_dec(v___x_9532_); -v___x_9559_ = lean_box(0); -v_isShared_9560_ = v_isSharedCheck_9564_; -goto v_resetjp_9558_; -} -v_resetjp_9558_: -{ -lean_object* v___x_9562_; -if (v_isShared_9560_ == 0) -{ -v___x_9562_ = v___x_9559_; -goto v_reusejp_9561_; -} -else -{ -lean_object* v_reuseFailAlloc_9563_; -v_reuseFailAlloc_9563_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9563_, 0, v_a_9557_); -v___x_9562_ = v_reuseFailAlloc_9563_; -goto v_reusejp_9561_; -} -v_reusejp_9561_: -{ -return v___x_9562_; -} -} -} -} +return v___x_9515_; } } } else { -lean_del_object(v___x_9519_); -lean_dec_ref(v_type_9517_); -lean_dec(v_levelParams_9516_); -lean_dec(v_a_9515_); -lean_dec(v_us_9508_); -lean_dec(v_declName_9507_); -lean_dec(v_a_9505_); +lean_object* v_a_9564_; lean_object* v___x_9566_; uint8_t v_isShared_9567_; uint8_t v_isSharedCheck_9571_; +lean_dec(v___y_9505_); +lean_dec_ref(v___y_9504_); +lean_dec(v___y_9503_); +lean_dec_ref(v___y_9502_); +lean_dec(v___y_9501_); +lean_dec_ref(v___y_9500_); lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); +lean_dec(v___y_9498_); lean_dec(v___y_9497_); lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); -return v___x_9521_; -} -} +lean_dec_ref(v___y_9495_); +v_a_9564_ = lean_ctor_get(v___x_9508_, 0); +v_isSharedCheck_9571_ = !lean_is_exclusive(v___x_9508_); +if (v_isSharedCheck_9571_ == 0) +{ +v___x_9566_ = v___x_9508_; +v_isShared_9567_ = v_isSharedCheck_9571_; +goto v_resetjp_9565_; } else { -lean_object* v_a_9570_; lean_object* v___x_9572_; uint8_t v_isShared_9573_; uint8_t v_isSharedCheck_9577_; -lean_dec_ref(v_val_9511_); -lean_dec(v_us_9508_); -lean_dec(v_declName_9507_); -lean_dec(v_a_9505_); -lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); -lean_dec(v___y_9497_); -lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); -v_a_9570_ = lean_ctor_get(v___x_9513_, 0); -v_isSharedCheck_9577_ = !lean_is_exclusive(v___x_9513_); -if (v_isSharedCheck_9577_ == 0) +lean_inc(v_a_9564_); +lean_dec(v___x_9508_); +v___x_9566_ = lean_box(0); +v_isShared_9567_ = v_isSharedCheck_9571_; +goto v_resetjp_9565_; +} +v_resetjp_9565_: { -v___x_9572_ = v___x_9513_; -v_isShared_9573_ = v_isSharedCheck_9577_; -goto v_resetjp_9571_; +lean_object* v___x_9569_; +if (v_isShared_9567_ == 0) +{ +v___x_9569_ = v___x_9566_; +goto v_reusejp_9568_; } else { -lean_inc(v_a_9570_); -lean_dec(v___x_9513_); -v___x_9572_ = lean_box(0); -v_isShared_9573_ = v_isSharedCheck_9577_; -goto v_resetjp_9571_; +lean_object* v_reuseFailAlloc_9570_; +v_reuseFailAlloc_9570_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9570_, 0, v_a_9564_); +v___x_9569_ = v_reuseFailAlloc_9570_; +goto v_reusejp_9568_; } -v_resetjp_9571_: +v_reusejp_9568_: { -lean_object* v___x_9575_; -if (v_isShared_9573_ == 0) +return v___x_9569_; +} +} +} +} +v___jp_9572_: { -v___x_9575_ = v___x_9572_; -goto v_reusejp_9574_; +lean_object* v___x_9579_; lean_object* v___x_9580_; +v___x_9579_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__3)); +v___x_9580_ = l_Lean_Elab_Term_mkAuxName(v___x_9579_, v___y_9573_, v___y_9574_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +if (lean_obj_tag(v___x_9580_) == 0) +{ +lean_object* v_a_9581_; uint8_t v___x_9582_; lean_object* v___x_9583_; +v_a_9581_ = lean_ctor_get(v___x_9580_, 0); +lean_inc(v_a_9581_); +lean_dec_ref(v___x_9580_); +v___x_9582_ = 0; +lean_inc(v___y_9578_); +lean_inc_ref(v___y_9577_); +lean_inc(v___y_9576_); +lean_inc_ref(v___y_9575_); +v___x_9583_ = l_Lean_Meta_mkAuxDefinitionFor(v_a_9581_, v_a_9486_, v___x_9582_, v___x_9582_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +if (lean_obj_tag(v___x_9583_) == 0) +{ +lean_object* v_a_9584_; lean_object* v___x_9585_; +v_a_9584_ = lean_ctor_get(v___x_9583_, 0); +lean_inc(v_a_9584_); +lean_dec_ref(v___x_9583_); +v___x_9585_ = l_Lean_Expr_getAppFn(v_a_9584_); +if (lean_obj_tag(v___x_9585_) == 4) +{ +lean_object* v_declName_9586_; lean_object* v_us_9587_; lean_object* v___x_9588_; +v_declName_9586_ = lean_ctor_get(v___x_9585_, 0); +lean_inc(v_declName_9586_); +v_us_9587_ = lean_ctor_get(v___x_9585_, 1); +lean_inc(v_us_9587_); +lean_dec_ref(v___x_9585_); +lean_inc_ref(v___y_9577_); +lean_inc_ref(v___y_9573_); +lean_inc(v_declName_9586_); +v___x_9588_ = l_Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0(v_declName_9586_, v___y_9573_, v___y_9574_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +if (lean_obj_tag(v___x_9588_) == 0) +{ +lean_object* v_a_9589_; +v_a_9589_ = lean_ctor_get(v___x_9588_, 0); +lean_inc(v_a_9589_); +lean_dec_ref(v___x_9588_); +if (lean_obj_tag(v_a_9589_) == 1) +{ +lean_object* v_val_9590_; lean_object* v___x_9591_; lean_object* v___x_9592_; +v_val_9590_ = lean_ctor_get(v_a_9589_, 0); +lean_inc_ref(v_val_9590_); +lean_dec_ref(v_a_9589_); +v___x_9591_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__5)); +v___x_9592_ = l_Lean_Elab_Term_mkAuxName(v___x_9591_, v___y_9573_, v___y_9574_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +if (lean_obj_tag(v___x_9592_) == 0) +{ +lean_object* v_a_9593_; lean_object* v___x_9594_; lean_object* v_declName_x3f_9595_; +v_a_9593_ = lean_ctor_get(v___x_9592_, 0); +lean_inc(v_a_9593_); +lean_dec_ref(v___x_9592_); +v___x_9594_ = lean_st_ref_get(v___y_9578_); +v_declName_x3f_9595_ = lean_ctor_get(v___y_9573_, 0); +if (lean_obj_tag(v_declName_x3f_9595_) == 0) +{ +lean_dec(v___x_9594_); +v___y_9494_ = v___x_9582_; +v___y_9495_ = v_val_9590_; +v___y_9496_ = v_a_9584_; +v___y_9497_ = v_declName_9586_; +v___y_9498_ = v_us_9587_; +v___y_9499_ = v_a_9593_; +v___y_9500_ = v___y_9573_; +v___y_9501_ = v___y_9574_; +v___y_9502_ = v___y_9575_; +v___y_9503_ = v___y_9576_; +v___y_9504_ = v___y_9577_; +v___y_9505_ = v___y_9578_; +goto v___jp_9493_; } else { -lean_object* v_reuseFailAlloc_9576_; -v_reuseFailAlloc_9576_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9576_, 0, v_a_9570_); -v___x_9575_ = v_reuseFailAlloc_9576_; -goto v_reusejp_9574_; -} -v_reusejp_9574_: +lean_object* v_val_9596_; lean_object* v_env_9597_; uint8_t v___x_9598_; +v_val_9596_ = lean_ctor_get(v_declName_x3f_9595_, 0); +v_env_9597_ = lean_ctor_get(v___x_9594_, 0); +lean_inc_ref(v_env_9597_); +lean_dec(v___x_9594_); +lean_inc(v_val_9596_); +v___x_9598_ = l_Lean_isMarkedMeta(v_env_9597_, v_val_9596_); +if (v___x_9598_ == 0) { -return v___x_9575_; +v___y_9494_ = v___x_9582_; +v___y_9495_ = v_val_9590_; +v___y_9496_ = v_a_9584_; +v___y_9497_ = v_declName_9586_; +v___y_9498_ = v_us_9587_; +v___y_9499_ = v_a_9593_; +v___y_9500_ = v___y_9573_; +v___y_9501_ = v___y_9574_; +v___y_9502_ = v___y_9575_; +v___y_9503_ = v___y_9576_; +v___y_9504_ = v___y_9577_; +v___y_9505_ = v___y_9578_; +goto v___jp_9493_; +} +else +{ +lean_object* v___x_9599_; lean_object* v_env_9600_; lean_object* v_nextMacroScope_9601_; lean_object* v_ngen_9602_; lean_object* v_auxDeclNGen_9603_; lean_object* v_traceState_9604_; lean_object* v_messages_9605_; lean_object* v_infoState_9606_; lean_object* v_snapshotTasks_9607_; lean_object* v___x_9609_; uint8_t v_isShared_9610_; uint8_t v_isSharedCheck_9665_; +v___x_9599_ = lean_st_ref_take(v___y_9578_); +v_env_9600_ = lean_ctor_get(v___x_9599_, 0); +v_nextMacroScope_9601_ = lean_ctor_get(v___x_9599_, 1); +v_ngen_9602_ = lean_ctor_get(v___x_9599_, 2); +v_auxDeclNGen_9603_ = lean_ctor_get(v___x_9599_, 3); +v_traceState_9604_ = lean_ctor_get(v___x_9599_, 4); +v_messages_9605_ = lean_ctor_get(v___x_9599_, 6); +v_infoState_9606_ = lean_ctor_get(v___x_9599_, 7); +v_snapshotTasks_9607_ = lean_ctor_get(v___x_9599_, 8); +v_isSharedCheck_9665_ = !lean_is_exclusive(v___x_9599_); +if (v_isSharedCheck_9665_ == 0) +{ +lean_object* v_unused_9666_; +v_unused_9666_ = lean_ctor_get(v___x_9599_, 5); +lean_dec(v_unused_9666_); +v___x_9609_ = v___x_9599_; +v_isShared_9610_ = v_isSharedCheck_9665_; +goto v_resetjp_9608_; +} +else +{ +lean_inc(v_snapshotTasks_9607_); +lean_inc(v_infoState_9606_); +lean_inc(v_messages_9605_); +lean_inc(v_traceState_9604_); +lean_inc(v_auxDeclNGen_9603_); +lean_inc(v_ngen_9602_); +lean_inc(v_nextMacroScope_9601_); +lean_inc(v_env_9600_); +lean_dec(v___x_9599_); +v___x_9609_ = lean_box(0); +v_isShared_9610_ = v_isSharedCheck_9665_; +goto v_resetjp_9608_; +} +v_resetjp_9608_: +{ +lean_object* v___x_9611_; lean_object* v___x_9612_; lean_object* v___x_9614_; +lean_inc(v_declName_9586_); +v___x_9611_ = l_Lean_markMeta(v_env_9600_, v_declName_9586_); +v___x_9612_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__5); +if (v_isShared_9610_ == 0) +{ +lean_ctor_set(v___x_9609_, 5, v___x_9612_); +lean_ctor_set(v___x_9609_, 0, v___x_9611_); +v___x_9614_ = v___x_9609_; +goto v_reusejp_9613_; +} +else +{ +lean_object* v_reuseFailAlloc_9664_; +v_reuseFailAlloc_9664_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_9664_, 0, v___x_9611_); +lean_ctor_set(v_reuseFailAlloc_9664_, 1, v_nextMacroScope_9601_); +lean_ctor_set(v_reuseFailAlloc_9664_, 2, v_ngen_9602_); +lean_ctor_set(v_reuseFailAlloc_9664_, 3, v_auxDeclNGen_9603_); +lean_ctor_set(v_reuseFailAlloc_9664_, 4, v_traceState_9604_); +lean_ctor_set(v_reuseFailAlloc_9664_, 5, v___x_9612_); +lean_ctor_set(v_reuseFailAlloc_9664_, 6, v_messages_9605_); +lean_ctor_set(v_reuseFailAlloc_9664_, 7, v_infoState_9606_); +lean_ctor_set(v_reuseFailAlloc_9664_, 8, v_snapshotTasks_9607_); +v___x_9614_ = v_reuseFailAlloc_9664_; +goto v_reusejp_9613_; +} +v_reusejp_9613_: +{ +lean_object* v___x_9615_; lean_object* v___x_9616_; lean_object* v_mctx_9617_; lean_object* v_zetaDeltaFVarIds_9618_; lean_object* v_postponed_9619_; lean_object* v_diag_9620_; lean_object* v___x_9622_; uint8_t v_isShared_9623_; uint8_t v_isSharedCheck_9662_; +v___x_9615_ = lean_st_ref_set(v___y_9578_, v___x_9614_); +v___x_9616_ = lean_st_ref_take(v___y_9576_); +v_mctx_9617_ = lean_ctor_get(v___x_9616_, 0); +v_zetaDeltaFVarIds_9618_ = lean_ctor_get(v___x_9616_, 2); +v_postponed_9619_ = lean_ctor_get(v___x_9616_, 3); +v_diag_9620_ = lean_ctor_get(v___x_9616_, 4); +v_isSharedCheck_9662_ = !lean_is_exclusive(v___x_9616_); +if (v_isSharedCheck_9662_ == 0) +{ +lean_object* v_unused_9663_; +v_unused_9663_ = lean_ctor_get(v___x_9616_, 1); +lean_dec(v_unused_9663_); +v___x_9622_ = v___x_9616_; +v_isShared_9623_ = v_isSharedCheck_9662_; +goto v_resetjp_9621_; +} +else +{ +lean_inc(v_diag_9620_); +lean_inc(v_postponed_9619_); +lean_inc(v_zetaDeltaFVarIds_9618_); +lean_inc(v_mctx_9617_); +lean_dec(v___x_9616_); +v___x_9622_ = lean_box(0); +v_isShared_9623_ = v_isSharedCheck_9662_; +goto v_resetjp_9621_; +} +v_resetjp_9621_: +{ +lean_object* v___x_9624_; lean_object* v___x_9626_; +v___x_9624_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_Term_elabCDotFunctionAlias_x3f_spec__0_spec__3_spec__4___closed__6); +if (v_isShared_9623_ == 0) +{ +lean_ctor_set(v___x_9622_, 1, v___x_9624_); +v___x_9626_ = v___x_9622_; +goto v_reusejp_9625_; +} +else +{ +lean_object* v_reuseFailAlloc_9661_; +v_reuseFailAlloc_9661_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_9661_, 0, v_mctx_9617_); +lean_ctor_set(v_reuseFailAlloc_9661_, 1, v___x_9624_); +lean_ctor_set(v_reuseFailAlloc_9661_, 2, v_zetaDeltaFVarIds_9618_); +lean_ctor_set(v_reuseFailAlloc_9661_, 3, v_postponed_9619_); +lean_ctor_set(v_reuseFailAlloc_9661_, 4, v_diag_9620_); +v___x_9626_ = v_reuseFailAlloc_9661_; +goto v_reusejp_9625_; +} +v_reusejp_9625_: +{ +lean_object* v___x_9627_; lean_object* v___x_9628_; lean_object* v_env_9629_; lean_object* v_nextMacroScope_9630_; lean_object* v_ngen_9631_; lean_object* v_auxDeclNGen_9632_; lean_object* v_traceState_9633_; lean_object* v_messages_9634_; lean_object* v_infoState_9635_; lean_object* v_snapshotTasks_9636_; lean_object* v___x_9638_; uint8_t v_isShared_9639_; uint8_t v_isSharedCheck_9659_; +v___x_9627_ = lean_st_ref_set(v___y_9576_, v___x_9626_); +v___x_9628_ = lean_st_ref_take(v___y_9578_); +v_env_9629_ = lean_ctor_get(v___x_9628_, 0); +v_nextMacroScope_9630_ = lean_ctor_get(v___x_9628_, 1); +v_ngen_9631_ = lean_ctor_get(v___x_9628_, 2); +v_auxDeclNGen_9632_ = lean_ctor_get(v___x_9628_, 3); +v_traceState_9633_ = lean_ctor_get(v___x_9628_, 4); +v_messages_9634_ = lean_ctor_get(v___x_9628_, 6); +v_infoState_9635_ = lean_ctor_get(v___x_9628_, 7); +v_snapshotTasks_9636_ = lean_ctor_get(v___x_9628_, 8); +v_isSharedCheck_9659_ = !lean_is_exclusive(v___x_9628_); +if (v_isSharedCheck_9659_ == 0) +{ +lean_object* v_unused_9660_; +v_unused_9660_ = lean_ctor_get(v___x_9628_, 5); +lean_dec(v_unused_9660_); +v___x_9638_ = v___x_9628_; +v_isShared_9639_ = v_isSharedCheck_9659_; +goto v_resetjp_9637_; +} +else +{ +lean_inc(v_snapshotTasks_9636_); +lean_inc(v_infoState_9635_); +lean_inc(v_messages_9634_); +lean_inc(v_traceState_9633_); +lean_inc(v_auxDeclNGen_9632_); +lean_inc(v_ngen_9631_); +lean_inc(v_nextMacroScope_9630_); +lean_inc(v_env_9629_); +lean_dec(v___x_9628_); +v___x_9638_ = lean_box(0); +v_isShared_9639_ = v_isSharedCheck_9659_; +goto v_resetjp_9637_; +} +v_resetjp_9637_: +{ +lean_object* v___x_9640_; lean_object* v___x_9642_; +lean_inc(v_a_9593_); +v___x_9640_ = l_Lean_markMeta(v_env_9629_, v_a_9593_); +if (v_isShared_9639_ == 0) +{ +lean_ctor_set(v___x_9638_, 5, v___x_9612_); +lean_ctor_set(v___x_9638_, 0, v___x_9640_); +v___x_9642_ = v___x_9638_; +goto v_reusejp_9641_; +} +else +{ +lean_object* v_reuseFailAlloc_9658_; +v_reuseFailAlloc_9658_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_9658_, 0, v___x_9640_); +lean_ctor_set(v_reuseFailAlloc_9658_, 1, v_nextMacroScope_9630_); +lean_ctor_set(v_reuseFailAlloc_9658_, 2, v_ngen_9631_); +lean_ctor_set(v_reuseFailAlloc_9658_, 3, v_auxDeclNGen_9632_); +lean_ctor_set(v_reuseFailAlloc_9658_, 4, v_traceState_9633_); +lean_ctor_set(v_reuseFailAlloc_9658_, 5, v___x_9612_); +lean_ctor_set(v_reuseFailAlloc_9658_, 6, v_messages_9634_); +lean_ctor_set(v_reuseFailAlloc_9658_, 7, v_infoState_9635_); +lean_ctor_set(v_reuseFailAlloc_9658_, 8, v_snapshotTasks_9636_); +v___x_9642_ = v_reuseFailAlloc_9658_; +goto v_reusejp_9641_; +} +v_reusejp_9641_: +{ +lean_object* v___x_9643_; lean_object* v___x_9644_; lean_object* v_mctx_9645_; lean_object* v_zetaDeltaFVarIds_9646_; lean_object* v_postponed_9647_; lean_object* v_diag_9648_; lean_object* v___x_9650_; uint8_t v_isShared_9651_; uint8_t v_isSharedCheck_9656_; +v___x_9643_ = lean_st_ref_set(v___y_9578_, v___x_9642_); +v___x_9644_ = lean_st_ref_take(v___y_9576_); +v_mctx_9645_ = lean_ctor_get(v___x_9644_, 0); +v_zetaDeltaFVarIds_9646_ = lean_ctor_get(v___x_9644_, 2); +v_postponed_9647_ = lean_ctor_get(v___x_9644_, 3); +v_diag_9648_ = lean_ctor_get(v___x_9644_, 4); +v_isSharedCheck_9656_ = !lean_is_exclusive(v___x_9644_); +if (v_isSharedCheck_9656_ == 0) +{ +lean_object* v_unused_9657_; +v_unused_9657_ = lean_ctor_get(v___x_9644_, 1); +lean_dec(v_unused_9657_); +v___x_9650_ = v___x_9644_; +v_isShared_9651_ = v_isSharedCheck_9656_; +goto v_resetjp_9649_; +} +else +{ +lean_inc(v_diag_9648_); +lean_inc(v_postponed_9647_); +lean_inc(v_zetaDeltaFVarIds_9646_); +lean_inc(v_mctx_9645_); +lean_dec(v___x_9644_); +v___x_9650_ = lean_box(0); +v_isShared_9651_ = v_isSharedCheck_9656_; +goto v_resetjp_9649_; +} +v_resetjp_9649_: +{ +lean_object* v___x_9653_; +if (v_isShared_9651_ == 0) +{ +lean_ctor_set(v___x_9650_, 1, v___x_9624_); +v___x_9653_ = v___x_9650_; +goto v_reusejp_9652_; +} +else +{ +lean_object* v_reuseFailAlloc_9655_; +v_reuseFailAlloc_9655_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_9655_, 0, v_mctx_9645_); +lean_ctor_set(v_reuseFailAlloc_9655_, 1, v___x_9624_); +lean_ctor_set(v_reuseFailAlloc_9655_, 2, v_zetaDeltaFVarIds_9646_); +lean_ctor_set(v_reuseFailAlloc_9655_, 3, v_postponed_9647_); +lean_ctor_set(v_reuseFailAlloc_9655_, 4, v_diag_9648_); +v___x_9653_ = v_reuseFailAlloc_9655_; +goto v_reusejp_9652_; +} +v_reusejp_9652_: +{ +lean_object* v___x_9654_; +v___x_9654_ = lean_st_ref_set(v___y_9576_, v___x_9653_); +v___y_9494_ = v___x_9582_; +v___y_9495_ = v_val_9590_; +v___y_9496_ = v_a_9584_; +v___y_9497_ = v_declName_9586_; +v___y_9498_ = v_us_9587_; +v___y_9499_ = v_a_9593_; +v___y_9500_ = v___y_9573_; +v___y_9501_ = v___y_9574_; +v___y_9502_ = v___y_9575_; +v___y_9503_ = v___y_9576_; +v___y_9504_ = v___y_9577_; +v___y_9505_ = v___y_9578_; +goto v___jp_9493_; +} +} +} +} +} +} +} } } } } else { -lean_object* v___x_9578_; lean_object* v___x_9579_; -lean_dec(v_a_9510_); -lean_dec(v_us_9508_); -lean_dec(v_declName_9507_); -lean_dec(v_a_9505_); -v___x_9578_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__8, &l_Lean_Elab_Term_elabUnsafe___closed__8_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__8); -v___x_9579_ = l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2(v___x_9578_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -return v___x_9579_; -} +lean_object* v_a_9667_; lean_object* v___x_9669_; uint8_t v_isShared_9670_; uint8_t v_isSharedCheck_9674_; +lean_dec_ref(v_val_9590_); +lean_dec(v_us_9587_); +lean_dec(v_declName_9586_); +lean_dec(v_a_9584_); +lean_dec(v___y_9578_); +lean_dec_ref(v___y_9577_); +lean_dec(v___y_9576_); +lean_dec_ref(v___y_9575_); +lean_dec(v___y_9574_); +lean_dec_ref(v___y_9573_); +v_a_9667_ = lean_ctor_get(v___x_9592_, 0); +v_isSharedCheck_9674_ = !lean_is_exclusive(v___x_9592_); +if (v_isSharedCheck_9674_ == 0) +{ +v___x_9669_ = v___x_9592_; +v_isShared_9670_ = v_isSharedCheck_9674_; +goto v_resetjp_9668_; } else { -lean_object* v_a_9580_; lean_object* v___x_9582_; uint8_t v_isShared_9583_; uint8_t v_isSharedCheck_9587_; -lean_dec(v_us_9508_); -lean_dec(v_declName_9507_); -lean_dec(v_a_9505_); -lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); -lean_dec(v___y_9497_); -lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); -v_a_9580_ = lean_ctor_get(v___x_9509_, 0); -v_isSharedCheck_9587_ = !lean_is_exclusive(v___x_9509_); -if (v_isSharedCheck_9587_ == 0) +lean_inc(v_a_9667_); +lean_dec(v___x_9592_); +v___x_9669_ = lean_box(0); +v_isShared_9670_ = v_isSharedCheck_9674_; +goto v_resetjp_9668_; +} +v_resetjp_9668_: { -v___x_9582_ = v___x_9509_; -v_isShared_9583_ = v_isSharedCheck_9587_; -goto v_resetjp_9581_; +lean_object* v___x_9672_; +if (v_isShared_9670_ == 0) +{ +v___x_9672_ = v___x_9669_; +goto v_reusejp_9671_; } else { -lean_inc(v_a_9580_); -lean_dec(v___x_9509_); -v___x_9582_ = lean_box(0); -v_isShared_9583_ = v_isSharedCheck_9587_; -goto v_resetjp_9581_; +lean_object* v_reuseFailAlloc_9673_; +v_reuseFailAlloc_9673_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9673_, 0, v_a_9667_); +v___x_9672_ = v_reuseFailAlloc_9673_; +goto v_reusejp_9671_; } -v_resetjp_9581_: +v_reusejp_9671_: { -lean_object* v___x_9585_; -if (v_isShared_9583_ == 0) -{ -v___x_9585_ = v___x_9582_; -goto v_reusejp_9584_; -} -else -{ -lean_object* v_reuseFailAlloc_9586_; -v_reuseFailAlloc_9586_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9586_, 0, v_a_9580_); -v___x_9585_ = v_reuseFailAlloc_9586_; -goto v_reusejp_9584_; -} -v_reusejp_9584_: -{ -return v___x_9585_; +return v___x_9672_; } } } } else { -lean_object* v___x_9588_; lean_object* v___x_9589_; -lean_dec_ref(v___x_9506_); -lean_dec(v_a_9505_); -v___x_9588_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__9, &l_Lean_Elab_Term_elabUnsafe___closed__9_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__9); -v___x_9589_ = l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2(v___x_9588_, v___y_9494_, v___y_9495_, v___y_9496_, v___y_9497_, v___y_9498_, v___y_9499_); -return v___x_9589_; +lean_object* v___x_9675_; lean_object* v___x_9676_; +lean_dec(v_a_9589_); +lean_dec(v_us_9587_); +lean_dec(v_declName_9586_); +lean_dec(v_a_9584_); +v___x_9675_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__8, &l_Lean_Elab_Term_elabUnsafe___closed__8_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__8); +v___x_9676_ = l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2(v___x_9675_, v___y_9573_, v___y_9574_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +return v___x_9676_; } } else { -lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); -lean_dec(v___y_9497_); -lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); -return v___x_9504_; +lean_object* v_a_9677_; lean_object* v___x_9679_; uint8_t v_isShared_9680_; uint8_t v_isSharedCheck_9684_; +lean_dec(v_us_9587_); +lean_dec(v_declName_9586_); +lean_dec(v_a_9584_); +lean_dec(v___y_9578_); +lean_dec_ref(v___y_9577_); +lean_dec(v___y_9576_); +lean_dec_ref(v___y_9575_); +lean_dec(v___y_9574_); +lean_dec_ref(v___y_9573_); +v_a_9677_ = lean_ctor_get(v___x_9588_, 0); +v_isSharedCheck_9684_ = !lean_is_exclusive(v___x_9588_); +if (v_isSharedCheck_9684_ == 0) +{ +v___x_9679_ = v___x_9588_; +v_isShared_9680_ = v_isSharedCheck_9684_; +goto v_resetjp_9678_; +} +else +{ +lean_inc(v_a_9677_); +lean_dec(v___x_9588_); +v___x_9679_ = lean_box(0); +v_isShared_9680_ = v_isSharedCheck_9684_; +goto v_resetjp_9678_; +} +v_resetjp_9678_: +{ +lean_object* v___x_9682_; +if (v_isShared_9680_ == 0) +{ +v___x_9682_ = v___x_9679_; +goto v_reusejp_9681_; +} +else +{ +lean_object* v_reuseFailAlloc_9683_; +v_reuseFailAlloc_9683_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9683_, 0, v_a_9677_); +v___x_9682_ = v_reuseFailAlloc_9683_; +goto v_reusejp_9681_; +} +v_reusejp_9681_: +{ +return v___x_9682_; +} +} } } else { -lean_object* v_a_9590_; lean_object* v___x_9592_; uint8_t v_isShared_9593_; uint8_t v_isSharedCheck_9597_; -lean_dec(v___y_9499_); -lean_dec_ref(v___y_9498_); -lean_dec(v___y_9497_); -lean_dec_ref(v___y_9496_); -lean_dec(v___y_9495_); -lean_dec_ref(v___y_9494_); +lean_object* v___x_9685_; lean_object* v___x_9686_; +lean_dec_ref(v___x_9585_); +lean_dec(v_a_9584_); +v___x_9685_ = lean_obj_once(&l_Lean_Elab_Term_elabUnsafe___closed__9, &l_Lean_Elab_Term_elabUnsafe___closed__9_once, _init_l_Lean_Elab_Term_elabUnsafe___closed__9); +v___x_9686_ = l_panic___at___00Lean_Elab_Term_elabUnsafe_spec__2(v___x_9685_, v___y_9573_, v___y_9574_, v___y_9575_, v___y_9576_, v___y_9577_, v___y_9578_); +return v___x_9686_; +} +} +else +{ +lean_dec(v___y_9578_); +lean_dec_ref(v___y_9577_); +lean_dec(v___y_9576_); +lean_dec_ref(v___y_9575_); +lean_dec(v___y_9574_); +lean_dec_ref(v___y_9573_); +return v___x_9583_; +} +} +else +{ +lean_object* v_a_9687_; lean_object* v___x_9689_; uint8_t v_isShared_9690_; uint8_t v_isSharedCheck_9694_; +lean_dec(v___y_9578_); +lean_dec_ref(v___y_9577_); +lean_dec(v___y_9576_); +lean_dec_ref(v___y_9575_); +lean_dec(v___y_9574_); +lean_dec_ref(v___y_9573_); lean_dec(v_a_9486_); -v_a_9590_ = lean_ctor_get(v___x_9501_, 0); -v_isSharedCheck_9597_ = !lean_is_exclusive(v___x_9501_); -if (v_isSharedCheck_9597_ == 0) +v_a_9687_ = lean_ctor_get(v___x_9580_, 0); +v_isSharedCheck_9694_ = !lean_is_exclusive(v___x_9580_); +if (v_isSharedCheck_9694_ == 0) { -v___x_9592_ = v___x_9501_; -v_isShared_9593_ = v_isSharedCheck_9597_; -goto v_resetjp_9591_; +v___x_9689_ = v___x_9580_; +v_isShared_9690_ = v_isSharedCheck_9694_; +goto v_resetjp_9688_; } else { -lean_inc(v_a_9590_); -lean_dec(v___x_9501_); -v___x_9592_ = lean_box(0); -v_isShared_9593_ = v_isSharedCheck_9597_; -goto v_resetjp_9591_; +lean_inc(v_a_9687_); +lean_dec(v___x_9580_); +v___x_9689_ = lean_box(0); +v_isShared_9690_ = v_isSharedCheck_9694_; +goto v_resetjp_9688_; } -v_resetjp_9591_: +v_resetjp_9688_: { -lean_object* v___x_9595_; -if (v_isShared_9593_ == 0) +lean_object* v___x_9692_; +if (v_isShared_9690_ == 0) { -v___x_9595_ = v___x_9592_; -goto v_reusejp_9594_; +v___x_9692_ = v___x_9689_; +goto v_reusejp_9691_; } else { -lean_object* v_reuseFailAlloc_9596_; -v_reuseFailAlloc_9596_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9596_, 0, v_a_9590_); -v___x_9595_ = v_reuseFailAlloc_9596_; -goto v_reusejp_9594_; +lean_object* v_reuseFailAlloc_9693_; +v_reuseFailAlloc_9693_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9693_, 0, v_a_9687_); +v___x_9692_ = v_reuseFailAlloc_9693_; +goto v_reusejp_9691_; } -v_reusejp_9594_: +v_reusejp_9691_: { -return v___x_9595_; +return v___x_9692_; } } } @@ -26819,7 +27194,7 @@ return v___x_9595_; } else { -lean_object* v_a_9608_; lean_object* v___x_9610_; uint8_t v_isShared_9611_; uint8_t v_isSharedCheck_9615_; +lean_object* v_a_9705_; lean_object* v___x_9707_; uint8_t v_isShared_9708_; uint8_t v_isSharedCheck_9712_; lean_dec(v_a_9486_); lean_dec(v_a_9478_); lean_dec_ref(v_a_9477_); @@ -26827,48 +27202,48 @@ lean_dec(v_a_9476_); lean_dec_ref(v_a_9475_); lean_dec(v_a_9474_); lean_dec_ref(v_a_9473_); -v_a_9608_ = lean_ctor_get(v___x_9490_, 0); -v_isSharedCheck_9615_ = !lean_is_exclusive(v___x_9490_); -if (v_isSharedCheck_9615_ == 0) +v_a_9705_ = lean_ctor_get(v___x_9490_, 0); +v_isSharedCheck_9712_ = !lean_is_exclusive(v___x_9490_); +if (v_isSharedCheck_9712_ == 0) { -v___x_9610_ = v___x_9490_; -v_isShared_9611_ = v_isSharedCheck_9615_; -goto v_resetjp_9609_; +v___x_9707_ = v___x_9490_; +v_isShared_9708_ = v_isSharedCheck_9712_; +goto v_resetjp_9706_; } else { -lean_inc(v_a_9608_); +lean_inc(v_a_9705_); lean_dec(v___x_9490_); -v___x_9610_ = lean_box(0); -v_isShared_9611_ = v_isSharedCheck_9615_; -goto v_resetjp_9609_; +v___x_9707_ = lean_box(0); +v_isShared_9708_ = v_isSharedCheck_9712_; +goto v_resetjp_9706_; } -v_resetjp_9609_: +v_resetjp_9706_: { -lean_object* v___x_9613_; -if (v_isShared_9611_ == 0) +lean_object* v___x_9710_; +if (v_isShared_9708_ == 0) { -v___x_9613_ = v___x_9610_; -goto v_reusejp_9612_; +v___x_9710_ = v___x_9707_; +goto v_reusejp_9709_; } else { -lean_object* v_reuseFailAlloc_9614_; -v_reuseFailAlloc_9614_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9614_, 0, v_a_9608_); -v___x_9613_ = v_reuseFailAlloc_9614_; -goto v_reusejp_9612_; +lean_object* v_reuseFailAlloc_9711_; +v_reuseFailAlloc_9711_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9711_, 0, v_a_9705_); +v___x_9710_ = v_reuseFailAlloc_9711_; +goto v_reusejp_9709_; } -v_reusejp_9612_: +v_reusejp_9709_: { -return v___x_9613_; +return v___x_9710_; } } } } else { -lean_object* v_a_9616_; lean_object* v___x_9618_; uint8_t v_isShared_9619_; uint8_t v_isSharedCheck_9623_; +lean_object* v_a_9713_; lean_object* v___x_9715_; uint8_t v_isShared_9716_; uint8_t v_isSharedCheck_9720_; lean_dec(v_a_9486_); lean_dec(v_a_9478_); lean_dec_ref(v_a_9477_); @@ -26876,41 +27251,41 @@ lean_dec(v_a_9476_); lean_dec_ref(v_a_9475_); lean_dec(v_a_9474_); lean_dec_ref(v_a_9473_); -v_a_9616_ = lean_ctor_get(v___x_9487_, 0); -v_isSharedCheck_9623_ = !lean_is_exclusive(v___x_9487_); -if (v_isSharedCheck_9623_ == 0) +v_a_9713_ = lean_ctor_get(v___x_9487_, 0); +v_isSharedCheck_9720_ = !lean_is_exclusive(v___x_9487_); +if (v_isSharedCheck_9720_ == 0) { -v___x_9618_ = v___x_9487_; -v_isShared_9619_ = v_isSharedCheck_9623_; -goto v_resetjp_9617_; +v___x_9715_ = v___x_9487_; +v_isShared_9716_ = v_isSharedCheck_9720_; +goto v_resetjp_9714_; } else { -lean_inc(v_a_9616_); +lean_inc(v_a_9713_); lean_dec(v___x_9487_); -v___x_9618_ = lean_box(0); -v_isShared_9619_ = v_isSharedCheck_9623_; -goto v_resetjp_9617_; +v___x_9715_ = lean_box(0); +v_isShared_9716_ = v_isSharedCheck_9720_; +goto v_resetjp_9714_; } -v_resetjp_9617_: +v_resetjp_9714_: { -lean_object* v___x_9621_; -if (v_isShared_9619_ == 0) +lean_object* v___x_9718_; +if (v_isShared_9716_ == 0) { -v___x_9621_ = v___x_9618_; -goto v_reusejp_9620_; +v___x_9718_ = v___x_9715_; +goto v_reusejp_9717_; } else { -lean_object* v_reuseFailAlloc_9622_; -v_reuseFailAlloc_9622_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9622_, 0, v_a_9616_); -v___x_9621_ = v_reuseFailAlloc_9622_; -goto v_reusejp_9620_; +lean_object* v_reuseFailAlloc_9719_; +v_reuseFailAlloc_9719_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_9719_, 0, v_a_9713_); +v___x_9718_ = v_reuseFailAlloc_9719_; +goto v_reusejp_9717_; } -v_reusejp_9620_: +v_reusejp_9717_: { -return v___x_9621_; +return v___x_9718_; } } } @@ -26928,551 +27303,551 @@ return v___x_9485_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___boxed(lean_object* v_stx_9624_, lean_object* v_expectedType_x3f_9625_, lean_object* v_a_9626_, lean_object* v_a_9627_, lean_object* v_a_9628_, lean_object* v_a_9629_, lean_object* v_a_9630_, lean_object* v_a_9631_, lean_object* v_a_9632_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___boxed(lean_object* v_stx_9721_, lean_object* v_expectedType_x3f_9722_, lean_object* v_a_9723_, lean_object* v_a_9724_, lean_object* v_a_9725_, lean_object* v_a_9726_, lean_object* v_a_9727_, lean_object* v_a_9728_, lean_object* v_a_9729_){ _start: { -lean_object* v_res_9633_; -v_res_9633_ = l_Lean_Elab_Term_elabUnsafe(v_stx_9624_, v_expectedType_x3f_9625_, v_a_9626_, v_a_9627_, v_a_9628_, v_a_9629_, v_a_9630_, v_a_9631_); -return v_res_9633_; +lean_object* v_res_9730_; +v_res_9730_ = l_Lean_Elab_Term_elabUnsafe(v_stx_9721_, v_expectedType_x3f_9722_, v_a_9723_, v_a_9724_, v_a_9725_, v_a_9726_, v_a_9727_, v_a_9728_); +return v_res_9730_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2(lean_object* v_env_9634_, lean_object* v___y_9635_, lean_object* v___y_9636_, lean_object* v___y_9637_, lean_object* v___y_9638_, lean_object* v___y_9639_, lean_object* v___y_9640_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2(lean_object* v_env_9731_, lean_object* v___y_9732_, lean_object* v___y_9733_, lean_object* v___y_9734_, lean_object* v___y_9735_, lean_object* v___y_9736_, lean_object* v___y_9737_){ _start: { -lean_object* v___x_9642_; -v___x_9642_ = l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2___redArg(v_env_9634_, v___y_9638_, v___y_9640_); -return v___x_9642_; +lean_object* v___x_9739_; +v___x_9739_ = l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2___redArg(v_env_9731_, v___y_9735_, v___y_9737_); +return v___x_9739_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2___boxed(lean_object* v_env_9643_, lean_object* v___y_9644_, lean_object* v___y_9645_, lean_object* v___y_9646_, lean_object* v___y_9647_, lean_object* v___y_9648_, lean_object* v___y_9649_, lean_object* v___y_9650_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2___boxed(lean_object* v_env_9740_, lean_object* v___y_9741_, lean_object* v___y_9742_, lean_object* v___y_9743_, lean_object* v___y_9744_, lean_object* v___y_9745_, lean_object* v___y_9746_, lean_object* v___y_9747_){ _start: { -lean_object* v_res_9651_; -v_res_9651_ = l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2(v_env_9643_, v___y_9644_, v___y_9645_, v___y_9646_, v___y_9647_, v___y_9648_, v___y_9649_); -lean_dec(v___y_9649_); -lean_dec_ref(v___y_9648_); -lean_dec(v___y_9647_); -lean_dec_ref(v___y_9646_); -lean_dec(v___y_9645_); -lean_dec_ref(v___y_9644_); -return v_res_9651_; +lean_object* v_res_9748_; +v_res_9748_ = l_Lean_setEnv___at___00Lean_setImplementedBy___at___00Lean_Elab_Term_elabUnsafe_spec__1_spec__2(v_env_9740_, v___y_9741_, v___y_9742_, v___y_9743_, v___y_9744_, v___y_9745_, v___y_9746_); +lean_dec(v___y_9746_); +lean_dec_ref(v___y_9745_); +lean_dec(v___y_9744_); +lean_dec_ref(v___y_9743_); +lean_dec(v___y_9742_); +lean_dec_ref(v___y_9741_); +return v_res_9748_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0(lean_object* v_00_u03b1_9652_, lean_object* v_constName_9653_, lean_object* v___y_9654_, lean_object* v___y_9655_, lean_object* v___y_9656_, lean_object* v___y_9657_, lean_object* v___y_9658_, lean_object* v___y_9659_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0(lean_object* v_00_u03b1_9749_, lean_object* v_constName_9750_, lean_object* v___y_9751_, lean_object* v___y_9752_, lean_object* v___y_9753_, lean_object* v___y_9754_, lean_object* v___y_9755_, lean_object* v___y_9756_){ _start: { -lean_object* v___x_9661_; -v___x_9661_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0___redArg(v_constName_9653_, v___y_9654_, v___y_9655_, v___y_9656_, v___y_9657_, v___y_9658_, v___y_9659_); -return v___x_9661_; +lean_object* v___x_9758_; +v___x_9758_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0___redArg(v_constName_9750_, v___y_9751_, v___y_9752_, v___y_9753_, v___y_9754_, v___y_9755_, v___y_9756_); +return v___x_9758_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0___boxed(lean_object* v_00_u03b1_9662_, lean_object* v_constName_9663_, lean_object* v___y_9664_, lean_object* v___y_9665_, lean_object* v___y_9666_, lean_object* v___y_9667_, lean_object* v___y_9668_, lean_object* v___y_9669_, lean_object* v___y_9670_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0___boxed(lean_object* v_00_u03b1_9759_, lean_object* v_constName_9760_, lean_object* v___y_9761_, lean_object* v___y_9762_, lean_object* v___y_9763_, lean_object* v___y_9764_, lean_object* v___y_9765_, lean_object* v___y_9766_, lean_object* v___y_9767_){ _start: { -lean_object* v_res_9671_; -v_res_9671_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0(v_00_u03b1_9662_, v_constName_9663_, v___y_9664_, v___y_9665_, v___y_9666_, v___y_9667_, v___y_9668_, v___y_9669_); -lean_dec(v___y_9669_); -lean_dec(v___y_9667_); -lean_dec_ref(v___y_9666_); -lean_dec(v___y_9665_); -return v_res_9671_; +lean_object* v_res_9768_; +v_res_9768_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0(v_00_u03b1_9759_, v_constName_9760_, v___y_9761_, v___y_9762_, v___y_9763_, v___y_9764_, v___y_9765_, v___y_9766_); +lean_dec(v___y_9766_); +lean_dec(v___y_9764_); +lean_dec_ref(v___y_9763_); +lean_dec(v___y_9762_); +return v_res_9768_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3(lean_object* v_00_u03b1_9672_, lean_object* v_ref_9673_, lean_object* v_constName_9674_, lean_object* v___y_9675_, lean_object* v___y_9676_, lean_object* v___y_9677_, lean_object* v___y_9678_, lean_object* v___y_9679_, lean_object* v___y_9680_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3(lean_object* v_00_u03b1_9769_, lean_object* v_ref_9770_, lean_object* v_constName_9771_, lean_object* v___y_9772_, lean_object* v___y_9773_, lean_object* v___y_9774_, lean_object* v___y_9775_, lean_object* v___y_9776_, lean_object* v___y_9777_){ _start: { -lean_object* v___x_9682_; -v___x_9682_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3___redArg(v_ref_9673_, v_constName_9674_, v___y_9675_, v___y_9676_, v___y_9677_, v___y_9678_, v___y_9679_, v___y_9680_); -return v___x_9682_; +lean_object* v___x_9779_; +v___x_9779_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3___redArg(v_ref_9770_, v_constName_9771_, v___y_9772_, v___y_9773_, v___y_9774_, v___y_9775_, v___y_9776_, v___y_9777_); +return v___x_9779_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3___boxed(lean_object* v_00_u03b1_9683_, lean_object* v_ref_9684_, lean_object* v_constName_9685_, lean_object* v___y_9686_, lean_object* v___y_9687_, lean_object* v___y_9688_, lean_object* v___y_9689_, lean_object* v___y_9690_, lean_object* v___y_9691_, lean_object* v___y_9692_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3___boxed(lean_object* v_00_u03b1_9780_, lean_object* v_ref_9781_, lean_object* v_constName_9782_, lean_object* v___y_9783_, lean_object* v___y_9784_, lean_object* v___y_9785_, lean_object* v___y_9786_, lean_object* v___y_9787_, lean_object* v___y_9788_, lean_object* v___y_9789_){ _start: { -lean_object* v_res_9693_; -v_res_9693_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3(v_00_u03b1_9683_, v_ref_9684_, v_constName_9685_, v___y_9686_, v___y_9687_, v___y_9688_, v___y_9689_, v___y_9690_, v___y_9691_); -lean_dec(v___y_9691_); -lean_dec(v___y_9689_); -lean_dec_ref(v___y_9688_); -lean_dec(v___y_9687_); -lean_dec(v_ref_9684_); -return v_res_9693_; +lean_object* v_res_9790_; +v_res_9790_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3(v_00_u03b1_9780_, v_ref_9781_, v_constName_9782_, v___y_9783_, v___y_9784_, v___y_9785_, v___y_9786_, v___y_9787_, v___y_9788_); +lean_dec(v___y_9788_); +lean_dec(v___y_9786_); +lean_dec_ref(v___y_9785_); +lean_dec(v___y_9784_); +lean_dec(v_ref_9781_); +return v_res_9790_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6(lean_object* v_00_u03b1_9694_, lean_object* v_ref_9695_, lean_object* v_msg_9696_, lean_object* v_declHint_9697_, lean_object* v___y_9698_, lean_object* v___y_9699_, lean_object* v___y_9700_, lean_object* v___y_9701_, lean_object* v___y_9702_, lean_object* v___y_9703_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6(lean_object* v_00_u03b1_9791_, lean_object* v_ref_9792_, lean_object* v_msg_9793_, lean_object* v_declHint_9794_, lean_object* v___y_9795_, lean_object* v___y_9796_, lean_object* v___y_9797_, lean_object* v___y_9798_, lean_object* v___y_9799_, lean_object* v___y_9800_){ _start: { -lean_object* v___x_9705_; -v___x_9705_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6___redArg(v_ref_9695_, v_msg_9696_, v_declHint_9697_, v___y_9698_, v___y_9699_, v___y_9700_, v___y_9701_, v___y_9702_, v___y_9703_); -return v___x_9705_; +lean_object* v___x_9802_; +v___x_9802_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6___redArg(v_ref_9792_, v_msg_9793_, v_declHint_9794_, v___y_9795_, v___y_9796_, v___y_9797_, v___y_9798_, v___y_9799_, v___y_9800_); +return v___x_9802_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6___boxed(lean_object* v_00_u03b1_9706_, lean_object* v_ref_9707_, lean_object* v_msg_9708_, lean_object* v_declHint_9709_, lean_object* v___y_9710_, lean_object* v___y_9711_, lean_object* v___y_9712_, lean_object* v___y_9713_, lean_object* v___y_9714_, lean_object* v___y_9715_, lean_object* v___y_9716_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6___boxed(lean_object* v_00_u03b1_9803_, lean_object* v_ref_9804_, lean_object* v_msg_9805_, lean_object* v_declHint_9806_, lean_object* v___y_9807_, lean_object* v___y_9808_, lean_object* v___y_9809_, lean_object* v___y_9810_, lean_object* v___y_9811_, lean_object* v___y_9812_, lean_object* v___y_9813_){ _start: { -lean_object* v_res_9717_; -v_res_9717_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6(v_00_u03b1_9706_, v_ref_9707_, v_msg_9708_, v_declHint_9709_, v___y_9710_, v___y_9711_, v___y_9712_, v___y_9713_, v___y_9714_, v___y_9715_); -lean_dec(v___y_9715_); -lean_dec(v___y_9713_); -lean_dec_ref(v___y_9712_); -lean_dec(v___y_9711_); -lean_dec(v_ref_9707_); -return v_res_9717_; +lean_object* v_res_9814_; +v_res_9814_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6(v_00_u03b1_9803_, v_ref_9804_, v_msg_9805_, v_declHint_9806_, v___y_9807_, v___y_9808_, v___y_9809_, v___y_9810_, v___y_9811_, v___y_9812_); +lean_dec(v___y_9812_); +lean_dec(v___y_9810_); +lean_dec_ref(v___y_9809_); +lean_dec(v___y_9808_); +lean_dec(v_ref_9804_); +return v_res_9814_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8(lean_object* v_msg_9718_, lean_object* v_declHint_9719_, lean_object* v___y_9720_, lean_object* v___y_9721_, lean_object* v___y_9722_, lean_object* v___y_9723_, lean_object* v___y_9724_, lean_object* v___y_9725_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8(lean_object* v_msg_9815_, lean_object* v_declHint_9816_, lean_object* v___y_9817_, lean_object* v___y_9818_, lean_object* v___y_9819_, lean_object* v___y_9820_, lean_object* v___y_9821_, lean_object* v___y_9822_){ _start: { -lean_object* v___x_9727_; -v___x_9727_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8___redArg(v_msg_9718_, v_declHint_9719_, v___y_9725_); -return v___x_9727_; +lean_object* v___x_9824_; +v___x_9824_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8___redArg(v_msg_9815_, v_declHint_9816_, v___y_9822_); +return v___x_9824_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8___boxed(lean_object* v_msg_9728_, lean_object* v_declHint_9729_, lean_object* v___y_9730_, lean_object* v___y_9731_, lean_object* v___y_9732_, lean_object* v___y_9733_, lean_object* v___y_9734_, lean_object* v___y_9735_, lean_object* v___y_9736_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8___boxed(lean_object* v_msg_9825_, lean_object* v_declHint_9826_, lean_object* v___y_9827_, lean_object* v___y_9828_, lean_object* v___y_9829_, lean_object* v___y_9830_, lean_object* v___y_9831_, lean_object* v___y_9832_, lean_object* v___y_9833_){ _start: { -lean_object* v_res_9737_; -v_res_9737_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8(v_msg_9728_, v_declHint_9729_, v___y_9730_, v___y_9731_, v___y_9732_, v___y_9733_, v___y_9734_, v___y_9735_); -lean_dec(v___y_9735_); -lean_dec_ref(v___y_9734_); -lean_dec(v___y_9733_); -lean_dec_ref(v___y_9732_); -lean_dec(v___y_9731_); -lean_dec_ref(v___y_9730_); -return v_res_9737_; +lean_object* v_res_9834_; +v_res_9834_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Elab_Term_elabUnsafe_spec__0_spec__0_spec__3_spec__6_spec__7_spec__8(v_msg_9825_, v_declHint_9826_, v___y_9827_, v___y_9828_, v___y_9829_, v___y_9830_, v___y_9831_, v___y_9832_); +lean_dec(v___y_9832_); +lean_dec_ref(v___y_9831_); +lean_dec(v___y_9830_); +lean_dec_ref(v___y_9829_); +lean_dec(v___y_9828_); +lean_dec_ref(v___y_9827_); +return v_res_9834_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1(){ _start: { -lean_object* v___x_9745_; lean_object* v___x_9746_; lean_object* v___x_9747_; lean_object* v___x_9748_; lean_object* v___x_9749_; -v___x_9745_ = l_Lean_Elab_Term_termElabAttribute; -v___x_9746_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__1)); -v___x_9747_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___closed__1)); -v___x_9748_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabUnsafe___boxed), 9, 0); -v___x_9749_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_9745_, v___x_9746_, v___x_9747_, v___x_9748_); -return v___x_9749_; +lean_object* v___x_9842_; lean_object* v___x_9843_; lean_object* v___x_9844_; lean_object* v___x_9845_; lean_object* v___x_9846_; +v___x_9842_ = l_Lean_Elab_Term_termElabAttribute; +v___x_9843_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___closed__1)); +v___x_9844_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___closed__1)); +v___x_9845_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabUnsafe___boxed), 9, 0); +v___x_9846_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_9842_, v___x_9843_, v___x_9844_, v___x_9845_); +return v___x_9846_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___boxed(lean_object* v_a_9750_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___boxed(lean_object* v_a_9847_){ _start: { -lean_object* v_res_9751_; -v_res_9751_ = l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1(); -return v_res_9751_; +lean_object* v_res_9848_; +v_res_9848_ = l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1(); +return v_res_9848_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3(){ _start: { -lean_object* v___x_9778_; lean_object* v___x_9779_; lean_object* v___x_9780_; -v___x_9778_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___closed__1)); -v___x_9779_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__6)); -v___x_9780_ = l_Lean_addBuiltinDeclarationRanges(v___x_9778_, v___x_9779_); -return v___x_9780_; +lean_object* v___x_9875_; lean_object* v___x_9876_; lean_object* v___x_9877_; +v___x_9875_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe__1___closed__1)); +v___x_9876_ = ((lean_object*)(l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___closed__6)); +v___x_9877_ = l_Lean_addBuiltinDeclarationRanges(v___x_9875_, v___x_9876_); +return v___x_9877_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___boxed(lean_object* v_a_9781_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3___boxed(lean_object* v_a_9878_){ _start: { -lean_object* v_res_9782_; -v_res_9782_ = l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3(); -return v_res_9782_; +lean_object* v_res_9879_; +v_res_9879_ = l_Lean_Elab_Term_elabUnsafe___regBuiltin_Lean_Elab_Term_elabUnsafe_declRange__3(); +return v_res_9879_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2(void){ _start: { -lean_object* v___x_9786_; lean_object* v___x_9787_; lean_object* v___x_9788_; -v___x_9786_ = lean_box(0); -v___x_9787_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__1)); -v___x_9788_ = l_Lean_mkConst(v___x_9787_, v___x_9786_); -return v___x_9788_; +lean_object* v___x_9883_; lean_object* v___x_9884_; lean_object* v___x_9885_; +v___x_9883_ = lean_box(0); +v___x_9884_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__1)); +v___x_9885_ = l_Lean_mkConst(v___x_9884_, v___x_9883_); +return v___x_9885_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5(void){ _start: { -lean_object* v___x_9793_; lean_object* v___x_9794_; lean_object* v___x_9795_; -v___x_9793_ = lean_box(0); -v___x_9794_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__4)); -v___x_9795_ = l_Lean_mkConst(v___x_9794_, v___x_9793_); -return v___x_9795_; +lean_object* v___x_9890_; lean_object* v___x_9891_; lean_object* v___x_9892_; +v___x_9890_ = lean_box(0); +v___x_9891_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__4)); +v___x_9892_ = l_Lean_mkConst(v___x_9891_, v___x_9890_); +return v___x_9892_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6(void){ _start: { -lean_object* v___x_9796_; lean_object* v___x_9797_; lean_object* v___x_9798_; -v___x_9796_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5); -v___x_9797_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2); -v___x_9798_ = l_Lean_Expr_app___override(v___x_9797_, v___x_9796_); -return v___x_9798_; +lean_object* v___x_9893_; lean_object* v___x_9894_; lean_object* v___x_9895_; +v___x_9893_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5); +v___x_9894_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__2); +v___x_9895_ = l_Lean_Expr_app___override(v___x_9894_, v___x_9893_); +return v___x_9895_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9(void){ _start: { -lean_object* v___x_9805_; lean_object* v___x_9806_; lean_object* v___x_9807_; -v___x_9805_ = lean_box(0); -v___x_9806_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__8)); -v___x_9807_ = l_Lean_mkConst(v___x_9806_, v___x_9805_); -return v___x_9807_; +lean_object* v___x_9902_; lean_object* v___x_9903_; lean_object* v___x_9904_; +v___x_9902_ = lean_box(0); +v___x_9903_ = ((lean_object*)(l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__8)); +v___x_9904_ = l_Lean_mkConst(v___x_9903_, v___x_9902_); +return v___x_9904_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10(void){ _start: { -lean_object* v___x_9808_; lean_object* v___x_9809_; lean_object* v___x_9810_; -v___x_9808_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5); -v___x_9809_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9); -v___x_9810_ = l_Lean_Expr_app___override(v___x_9809_, v___x_9808_); -return v___x_9810_; +lean_object* v___x_9905_; lean_object* v___x_9906_; lean_object* v___x_9907_; +v___x_9905_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__5); +v___x_9906_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__9); +v___x_9907_ = l_Lean_Expr_app___override(v___x_9906_, v___x_9905_); +return v___x_9907_; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11(void){ _start: { -lean_object* v___x_9811_; lean_object* v___x_9812_; uint8_t v___x_9813_; lean_object* v___x_9814_; lean_object* v___x_9815_; -v___x_9811_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10); -v___x_9812_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6); -v___x_9813_ = 0; -v___x_9814_ = ((lean_object*)(l_Lean_Elab_Term_elabSubst___lam__2___closed__0)); -v___x_9815_ = l_Lean_mkForall(v___x_9814_, v___x_9813_, v___x_9812_, v___x_9811_); -return v___x_9815_; +lean_object* v___x_9908_; lean_object* v___x_9909_; uint8_t v___x_9910_; lean_object* v___x_9911_; lean_object* v___x_9912_; +v___x_9908_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10); +v___x_9909_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__6); +v___x_9910_ = 0; +v___x_9911_ = ((lean_object*)(l_Lean_Elab_Term_elabSubst___lam__2___closed__0)); +v___x_9912_ = l_Lean_mkForall(v___x_9911_, v___x_9910_, v___x_9909_, v___x_9908_); +return v___x_9912_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(lean_object* v_e_9816_, lean_object* v_a_9817_, lean_object* v_a_9818_, lean_object* v_a_9819_, lean_object* v_a_9820_, lean_object* v_a_9821_, lean_object* v_a_9822_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(lean_object* v_e_9913_, lean_object* v_a_9914_, lean_object* v_a_9915_, lean_object* v_a_9916_, lean_object* v_a_9917_, lean_object* v_a_9918_, lean_object* v_a_9919_){ _start: { -lean_object* v___x_9824_; uint8_t v___x_9825_; lean_object* v___x_9826_; -v___x_9824_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11); -v___x_9825_ = 1; -v___x_9826_ = l_Lean_Elab_Term_evalTerm___redArg(v___x_9824_, v_e_9816_, v___x_9825_, v_a_9817_, v_a_9818_, v_a_9819_, v_a_9820_, v_a_9821_, v_a_9822_); -return v___x_9826_; +lean_object* v___x_9921_; uint8_t v___x_9922_; lean_object* v___x_9923_; +v___x_9921_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__11); +v___x_9922_ = 1; +v___x_9923_ = l_Lean_Elab_Term_evalTerm___redArg(v___x_9921_, v_e_9913_, v___x_9922_, v_a_9914_, v_a_9915_, v_a_9916_, v_a_9917_, v_a_9918_, v_a_9919_); +return v___x_9923_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___boxed(lean_object* v_e_9827_, lean_object* v_a_9828_, lean_object* v_a_9829_, lean_object* v_a_9830_, lean_object* v_a_9831_, lean_object* v_a_9832_, lean_object* v_a_9833_, lean_object* v_a_9834_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___boxed(lean_object* v_e_9924_, lean_object* v_a_9925_, lean_object* v_a_9926_, lean_object* v_a_9927_, lean_object* v_a_9928_, lean_object* v_a_9929_, lean_object* v_a_9930_, lean_object* v_a_9931_){ _start: { -lean_object* v_res_9835_; -v_res_9835_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(v_e_9827_, v_a_9828_, v_a_9829_, v_a_9830_, v_a_9831_, v_a_9832_, v_a_9833_); -return v_res_9835_; +lean_object* v_res_9932_; +v_res_9932_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(v_e_9924_, v_a_9925_, v_a_9926_, v_a_9927_, v_a_9928_, v_a_9929_, v_a_9930_); +return v_res_9932_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(lean_object* v_____do__lift_9836_, lean_object* v_a_9837_, lean_object* v_a_9838_, lean_object* v_a_9839_, lean_object* v_a_9840_, lean_object* v_a_9841_, lean_object* v_a_9842_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(lean_object* v_____do__lift_9933_, lean_object* v_a_9934_, lean_object* v_a_9935_, lean_object* v_a_9936_, lean_object* v_a_9937_, lean_object* v_a_9938_, lean_object* v_a_9939_){ _start: { -lean_object* v___x_9844_; uint8_t v___x_9845_; lean_object* v___x_9846_; -v___x_9844_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10); -v___x_9845_ = 1; -v___x_9846_ = l_Lean_Elab_Term_evalTerm___redArg(v___x_9844_, v_____do__lift_9836_, v___x_9845_, v_a_9837_, v_a_9838_, v_a_9839_, v_a_9840_, v_a_9841_, v_a_9842_); -return v___x_9846_; +lean_object* v___x_9941_; uint8_t v___x_9942_; lean_object* v___x_9943_; +v___x_9941_ = lean_obj_once(&l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10, &l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10_once, _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3___closed__10); +v___x_9942_ = 1; +v___x_9943_ = l_Lean_Elab_Term_evalTerm___redArg(v___x_9941_, v_____do__lift_9933_, v___x_9942_, v_a_9934_, v_a_9935_, v_a_9936_, v_a_9937_, v_a_9938_, v_a_9939_); +return v___x_9943_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6___boxed(lean_object* v_____do__lift_9847_, lean_object* v_a_9848_, lean_object* v_a_9849_, lean_object* v_a_9850_, lean_object* v_a_9851_, lean_object* v_a_9852_, lean_object* v_a_9853_, lean_object* v_a_9854_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6___boxed(lean_object* v_____do__lift_9944_, lean_object* v_a_9945_, lean_object* v_a_9946_, lean_object* v_a_9947_, lean_object* v_a_9948_, lean_object* v_a_9949_, lean_object* v_a_9950_, lean_object* v_a_9951_){ _start: { -lean_object* v_res_9855_; -v_res_9855_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(v_____do__lift_9847_, v_a_9848_, v_a_9849_, v_a_9850_, v_a_9851_, v_a_9852_, v_a_9853_); -return v_res_9855_; +lean_object* v_res_9952_; +v_res_9952_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(v_____do__lift_9944_, v_a_9945_, v_a_9946_, v_a_9947_, v_a_9948_, v_a_9949_, v_a_9950_); +return v_res_9952_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(size_t v_sz_9856_, size_t v_i_9857_, lean_object* v_bs_9858_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(size_t v_sz_9953_, size_t v_i_9954_, lean_object* v_bs_9955_){ _start: { -uint8_t v___x_9859_; -v___x_9859_ = lean_usize_dec_lt(v_i_9857_, v_sz_9856_); -if (v___x_9859_ == 0) +uint8_t v___x_9956_; +v___x_9956_ = lean_usize_dec_lt(v_i_9954_, v_sz_9953_); +if (v___x_9956_ == 0) { -lean_object* v___x_9860_; -v___x_9860_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_9860_, 0, v_bs_9858_); -return v___x_9860_; +lean_object* v___x_9957_; +v___x_9957_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_9957_, 0, v_bs_9955_); +return v___x_9957_; } else { -lean_object* v_v_9861_; lean_object* v___x_9862_; lean_object* v_bs_x27_9863_; size_t v___x_9864_; size_t v___x_9865_; lean_object* v___x_9866_; -v_v_9861_ = lean_array_uget(v_bs_9858_, v_i_9857_); -v___x_9862_ = lean_unsigned_to_nat(0u); -v_bs_x27_9863_ = lean_array_uset(v_bs_9858_, v_i_9857_, v___x_9862_); -v___x_9864_ = ((size_t)1ULL); -v___x_9865_ = lean_usize_add(v_i_9857_, v___x_9864_); -v___x_9866_ = lean_array_uset(v_bs_x27_9863_, v_i_9857_, v_v_9861_); -v_i_9857_ = v___x_9865_; -v_bs_9858_ = v___x_9866_; +lean_object* v_v_9958_; lean_object* v___x_9959_; lean_object* v_bs_x27_9960_; size_t v___x_9961_; size_t v___x_9962_; lean_object* v___x_9963_; +v_v_9958_ = lean_array_uget(v_bs_9955_, v_i_9954_); +v___x_9959_ = lean_unsigned_to_nat(0u); +v_bs_x27_9960_ = lean_array_uset(v_bs_9955_, v_i_9954_, v___x_9959_); +v___x_9961_ = ((size_t)1ULL); +v___x_9962_ = lean_usize_add(v_i_9954_, v___x_9961_); +v___x_9963_ = lean_array_uset(v_bs_x27_9960_, v_i_9954_, v_v_9958_); +v_i_9954_ = v___x_9962_; +v_bs_9955_ = v___x_9963_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0___boxed(lean_object* v_sz_9868_, lean_object* v_i_9869_, lean_object* v_bs_9870_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0___boxed(lean_object* v_sz_9965_, lean_object* v_i_9966_, lean_object* v_bs_9967_){ _start: { -size_t v_sz_boxed_9871_; size_t v_i_boxed_9872_; lean_object* v_res_9873_; -v_sz_boxed_9871_ = lean_unbox_usize(v_sz_9868_); -lean_dec(v_sz_9868_); -v_i_boxed_9872_ = lean_unbox_usize(v_i_9869_); -lean_dec(v_i_9869_); -v_res_9873_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(v_sz_boxed_9871_, v_i_boxed_9872_, v_bs_9870_); -return v_res_9873_; +size_t v_sz_boxed_9968_; size_t v_i_boxed_9969_; lean_object* v_res_9970_; +v_sz_boxed_9968_ = lean_unbox_usize(v_sz_9965_); +lean_dec(v_sz_9965_); +v_i_boxed_9969_ = lean_unbox_usize(v_i_9966_); +lean_dec(v_i_9966_); +v_res_9970_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(v_sz_boxed_9968_, v_i_boxed_9969_, v_bs_9967_); +return v_res_9970_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab(lean_object* v_stx_9902_, lean_object* v_expectedType_x3f_9903_, lean_object* v_a_9904_, lean_object* v_a_9905_, lean_object* v_a_9906_, lean_object* v_a_9907_, lean_object* v_a_9908_, lean_object* v_a_9909_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab(lean_object* v_stx_9999_, lean_object* v_expectedType_x3f_10000_, lean_object* v_a_10001_, lean_object* v_a_10002_, lean_object* v_a_10003_, lean_object* v_a_10004_, lean_object* v_a_10005_, lean_object* v_a_10006_){ _start: { -lean_object* v___x_9911_; uint8_t v___x_9912_; -v___x_9911_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__1)); -lean_inc(v_stx_9902_); -v___x_9912_ = l_Lean_Syntax_isOfKind(v_stx_9902_, v___x_9911_); -if (v___x_9912_ == 0) +lean_object* v___x_10008_; uint8_t v___x_10009_; +v___x_10008_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__1)); +lean_inc(v_stx_9999_); +v___x_10009_ = l_Lean_Syntax_isOfKind(v_stx_9999_, v___x_10008_); +if (v___x_10009_ == 0) { -lean_object* v___x_9913_; -lean_dec(v_a_9909_); -lean_dec_ref(v_a_9908_); -lean_dec(v_a_9907_); -lean_dec_ref(v_a_9906_); -lean_dec(v_a_9905_); -lean_dec_ref(v_a_9904_); -lean_dec(v_expectedType_x3f_9903_); -lean_dec(v_stx_9902_); -v___x_9913_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Term_elabAnonymousCtor_spec__0___redArg(); -return v___x_9913_; +lean_object* v___x_10010_; +lean_dec(v_a_10006_); +lean_dec_ref(v_a_10005_); +lean_dec(v_a_10004_); +lean_dec_ref(v_a_10003_); +lean_dec(v_a_10002_); +lean_dec_ref(v_a_10001_); +lean_dec(v_expectedType_x3f_10000_); +lean_dec(v_stx_9999_); +v___x_10010_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Term_elabAnonymousCtor_spec__0___redArg(); +return v___x_10010_; } else { -lean_object* v___x_9914_; lean_object* v___x_9915_; lean_object* v___y_9917_; lean_object* v___y_9918_; lean_object* v___y_9919_; lean_object* v___y_9920_; lean_object* v___y_9921_; lean_object* v___y_9922_; lean_object* v___x_9941_; uint8_t v___x_9942_; -v___x_9914_ = lean_unsigned_to_nat(1u); -v___x_9915_ = l_Lean_Syntax_getArg(v_stx_9902_, v___x_9914_); -lean_dec(v_stx_9902_); -v___x_9941_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__5)); -lean_inc(v___x_9915_); -v___x_9942_ = l_Lean_Syntax_isOfKind(v___x_9915_, v___x_9941_); -if (v___x_9942_ == 0) +lean_object* v___x_10011_; lean_object* v___x_10012_; lean_object* v___y_10014_; lean_object* v___y_10015_; lean_object* v___y_10016_; lean_object* v___y_10017_; lean_object* v___y_10018_; lean_object* v___y_10019_; lean_object* v___x_10038_; uint8_t v___x_10039_; +v___x_10011_ = lean_unsigned_to_nat(1u); +v___x_10012_ = l_Lean_Syntax_getArg(v_stx_9999_, v___x_10011_); +lean_dec(v_stx_9999_); +v___x_10038_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__5)); +lean_inc(v___x_10012_); +v___x_10039_ = l_Lean_Syntax_isOfKind(v___x_10012_, v___x_10038_); +if (v___x_10039_ == 0) { -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9943_; lean_object* v___x_9944_; uint8_t v___x_9945_; -v___x_9943_ = lean_unsigned_to_nat(0u); -v___x_9944_ = l_Lean_Syntax_getArg(v___x_9915_, v___x_9943_); -lean_inc(v___x_9944_); -v___x_9945_ = l_Lean_Syntax_matchesNull(v___x_9944_, v___x_9914_); -if (v___x_9945_ == 0) +lean_object* v___x_10040_; lean_object* v___x_10041_; uint8_t v___x_10042_; +v___x_10040_ = lean_unsigned_to_nat(0u); +v___x_10041_ = l_Lean_Syntax_getArg(v___x_10012_, v___x_10040_); +lean_inc(v___x_10041_); +v___x_10042_ = l_Lean_Syntax_matchesNull(v___x_10041_, v___x_10011_); +if (v___x_10042_ == 0) { -lean_dec(v___x_9944_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v___x_10041_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9946_; lean_object* v___x_9947_; uint8_t v___x_9948_; -v___x_9946_ = l_Lean_Syntax_getArg(v___x_9944_, v___x_9943_); -lean_dec(v___x_9944_); -v___x_9947_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__7)); -lean_inc(v___x_9946_); -v___x_9948_ = l_Lean_Syntax_isOfKind(v___x_9946_, v___x_9947_); -if (v___x_9948_ == 0) +lean_object* v___x_10043_; lean_object* v___x_10044_; uint8_t v___x_10045_; +v___x_10043_ = l_Lean_Syntax_getArg(v___x_10041_, v___x_10040_); +lean_dec(v___x_10041_); +v___x_10044_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__7)); +lean_inc(v___x_10043_); +v___x_10045_ = l_Lean_Syntax_isOfKind(v___x_10043_, v___x_10044_); +if (v___x_10045_ == 0) { -lean_dec(v___x_9946_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v___x_10043_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9949_; lean_object* v___x_9950_; uint8_t v___x_9951_; -v___x_9949_ = l_Lean_Syntax_getArg(v___x_9946_, v___x_9943_); -v___x_9950_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__9)); -lean_inc(v___x_9949_); -v___x_9951_ = l_Lean_Syntax_isOfKind(v___x_9949_, v___x_9950_); -if (v___x_9951_ == 0) +lean_object* v___x_10046_; lean_object* v___x_10047_; uint8_t v___x_10048_; +v___x_10046_ = l_Lean_Syntax_getArg(v___x_10043_, v___x_10040_); +v___x_10047_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__9)); +lean_inc(v___x_10046_); +v___x_10048_ = l_Lean_Syntax_isOfKind(v___x_10046_, v___x_10047_); +if (v___x_10048_ == 0) { -lean_dec(v___x_9949_); -lean_dec(v___x_9946_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v___x_10046_); +lean_dec(v___x_10043_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9952_; uint8_t v___x_9953_; -v___x_9952_ = l_Lean_Syntax_getArg(v___x_9946_, v___x_9914_); -lean_dec(v___x_9946_); -v___x_9953_ = l_Lean_Syntax_matchesNull(v___x_9952_, v___x_9943_); -if (v___x_9953_ == 0) +lean_object* v___x_10049_; uint8_t v___x_10050_; +v___x_10049_ = l_Lean_Syntax_getArg(v___x_10043_, v___x_10011_); +lean_dec(v___x_10043_); +v___x_10050_ = l_Lean_Syntax_matchesNull(v___x_10049_, v___x_10040_); +if (v___x_10050_ == 0) { -lean_dec(v___x_9949_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v___x_10046_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v_e_9954_; uint8_t v___y_9968_; uint8_t v___x_9969_; -v_e_9954_ = l_Lean_Syntax_getArg(v___x_9949_, v___x_9943_); -lean_dec(v___x_9949_); -lean_inc(v_e_9954_); -v___x_9969_ = l_Lean_Syntax_isOfKind(v_e_9954_, v___x_9941_); -if (v___x_9969_ == 0) +lean_object* v_e_10051_; uint8_t v___y_10065_; uint8_t v___x_10066_; +v_e_10051_ = l_Lean_Syntax_getArg(v___x_10046_, v___x_10040_); +lean_dec(v___x_10046_); +lean_inc(v_e_10051_); +v___x_10066_ = l_Lean_Syntax_isOfKind(v_e_10051_, v___x_10038_); +if (v___x_10066_ == 0) { -lean_dec(v_e_9954_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v_e_10051_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9970_; uint8_t v___x_9971_; -v___x_9970_ = l_Lean_Syntax_getArg(v_e_9954_, v___x_9943_); -lean_inc(v___x_9970_); -v___x_9971_ = l_Lean_Syntax_matchesNull(v___x_9970_, v___x_9914_); -if (v___x_9971_ == 0) +lean_object* v___x_10067_; uint8_t v___x_10068_; +v___x_10067_ = l_Lean_Syntax_getArg(v_e_10051_, v___x_10040_); +lean_inc(v___x_10067_); +v___x_10068_ = l_Lean_Syntax_matchesNull(v___x_10067_, v___x_10011_); +if (v___x_10068_ == 0) { -lean_dec(v___x_9970_); -v___y_9968_ = v___x_9971_; -goto v___jp_9967_; +lean_dec(v___x_10067_); +v___y_10065_ = v___x_10068_; +goto v___jp_10064_; } else { -lean_object* v___x_9972_; uint8_t v___x_9973_; -v___x_9972_ = l_Lean_Syntax_getArg(v___x_9970_, v___x_9943_); -lean_dec(v___x_9970_); -lean_inc(v___x_9972_); -v___x_9973_ = l_Lean_Syntax_isOfKind(v___x_9972_, v___x_9947_); -if (v___x_9973_ == 0) +lean_object* v___x_10069_; uint8_t v___x_10070_; +v___x_10069_ = l_Lean_Syntax_getArg(v___x_10067_, v___x_10040_); +lean_dec(v___x_10067_); +lean_inc(v___x_10069_); +v___x_10070_ = l_Lean_Syntax_isOfKind(v___x_10069_, v___x_10044_); +if (v___x_10070_ == 0) { -lean_dec(v___x_9972_); -v___y_9968_ = v___x_9973_; -goto v___jp_9967_; +lean_dec(v___x_10069_); +v___y_10065_ = v___x_10070_; +goto v___jp_10064_; } else { -lean_object* v___x_9974_; uint8_t v___x_9975_; -v___x_9974_ = l_Lean_Syntax_getArg(v___x_9972_, v___x_9943_); -lean_inc(v___x_9974_); -v___x_9975_ = l_Lean_Syntax_isOfKind(v___x_9974_, v___x_9950_); -if (v___x_9975_ == 0) +lean_object* v___x_10071_; uint8_t v___x_10072_; +v___x_10071_ = l_Lean_Syntax_getArg(v___x_10069_, v___x_10040_); +lean_inc(v___x_10071_); +v___x_10072_ = l_Lean_Syntax_isOfKind(v___x_10071_, v___x_10047_); +if (v___x_10072_ == 0) { -lean_dec(v___x_9974_); -lean_dec(v___x_9972_); -v___y_9968_ = v___x_9975_; -goto v___jp_9967_; +lean_dec(v___x_10071_); +lean_dec(v___x_10069_); +v___y_10065_ = v___x_10072_; +goto v___jp_10064_; } else { -lean_object* v___x_9976_; lean_object* v___x_9977_; uint8_t v___x_9978_; -v___x_9976_ = l_Lean_Syntax_getArg(v___x_9974_, v___x_9943_); -lean_dec(v___x_9974_); -v___x_9977_ = ((lean_object*)(l_Lean_Elab_Term_expandDbgTrace___closed__17)); -lean_inc(v___x_9976_); -v___x_9978_ = l_Lean_Syntax_isOfKind(v___x_9976_, v___x_9977_); -if (v___x_9978_ == 0) +lean_object* v___x_10073_; lean_object* v___x_10074_; uint8_t v___x_10075_; +v___x_10073_ = l_Lean_Syntax_getArg(v___x_10071_, v___x_10040_); +lean_dec(v___x_10071_); +v___x_10074_ = ((lean_object*)(l_Lean_Elab_Term_expandDbgTrace___closed__17)); +lean_inc(v___x_10073_); +v___x_10075_ = l_Lean_Syntax_isOfKind(v___x_10073_, v___x_10074_); +if (v___x_10075_ == 0) { -lean_dec(v___x_9976_); -lean_dec(v___x_9972_); -v___y_9968_ = v___x_9978_; -goto v___jp_9967_; +lean_dec(v___x_10073_); +lean_dec(v___x_10069_); +v___y_10065_ = v___x_10075_; +goto v___jp_10064_; } else { -lean_object* v___x_9979_; lean_object* v___x_9980_; uint8_t v___x_9981_; -v___x_9979_ = l_Lean_Syntax_getArg(v___x_9976_, v___x_9914_); -lean_dec(v___x_9976_); -v___x_9980_ = ((lean_object*)(l_Lean_Elab_Term_expandDbgTrace___closed__19)); -lean_inc(v___x_9979_); -v___x_9981_ = l_Lean_Syntax_isOfKind(v___x_9979_, v___x_9980_); -if (v___x_9981_ == 0) +lean_object* v___x_10076_; lean_object* v___x_10077_; uint8_t v___x_10078_; +v___x_10076_ = l_Lean_Syntax_getArg(v___x_10073_, v___x_10011_); +lean_dec(v___x_10073_); +v___x_10077_ = ((lean_object*)(l_Lean_Elab_Term_expandDbgTrace___closed__19)); +lean_inc(v___x_10076_); +v___x_10078_ = l_Lean_Syntax_isOfKind(v___x_10076_, v___x_10077_); +if (v___x_10078_ == 0) { -lean_dec(v___x_9979_); -lean_dec(v___x_9972_); -v___y_9968_ = v___x_9981_; -goto v___jp_9967_; +lean_dec(v___x_10076_); +lean_dec(v___x_10069_); +v___y_10065_ = v___x_10078_; +goto v___jp_10064_; } else { -lean_object* v___x_9982_; lean_object* v___x_9983_; size_t v_sz_9984_; size_t v___x_9985_; lean_object* v___x_9986_; -v___x_9982_ = l_Lean_Syntax_getArg(v___x_9979_, v___x_9943_); -v___x_9983_ = l_Lean_Syntax_getArgs(v___x_9982_); -lean_dec(v___x_9982_); -v_sz_9984_ = lean_array_size(v___x_9983_); -v___x_9985_ = ((size_t)0ULL); -v___x_9986_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(v_sz_9984_, v___x_9985_, v___x_9983_); -if (lean_obj_tag(v___x_9986_) == 0) +lean_object* v___x_10079_; lean_object* v___x_10080_; size_t v_sz_10081_; size_t v___x_10082_; lean_object* v___x_10083_; +v___x_10079_ = l_Lean_Syntax_getArg(v___x_10076_, v___x_10040_); +v___x_10080_ = l_Lean_Syntax_getArgs(v___x_10079_); +lean_dec(v___x_10079_); +v_sz_10081_ = lean_array_size(v___x_10080_); +v___x_10082_ = ((size_t)0ULL); +v___x_10083_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_elabRunElab_spec__0(v_sz_10081_, v___x_10082_, v___x_10080_); +if (lean_obj_tag(v___x_10083_) == 0) { -lean_dec(v___x_9979_); -lean_dec(v___x_9972_); -lean_dec(v_e_9954_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v___x_10076_); +lean_dec(v___x_10069_); +lean_dec(v_e_10051_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_object* v___x_9987_; uint8_t v___x_9988_; -lean_dec_ref(v___x_9986_); -v___x_9987_ = l_Lean_Syntax_getArg(v___x_9979_, v___x_9914_); -lean_dec(v___x_9979_); -v___x_9988_ = l_Lean_Syntax_matchesNull(v___x_9987_, v___x_9943_); -if (v___x_9988_ == 0) +lean_object* v___x_10084_; uint8_t v___x_10085_; +lean_dec_ref(v___x_10083_); +v___x_10084_ = l_Lean_Syntax_getArg(v___x_10076_, v___x_10011_); +lean_dec(v___x_10076_); +v___x_10085_ = l_Lean_Syntax_matchesNull(v___x_10084_, v___x_10040_); +if (v___x_10085_ == 0) { -lean_dec(v___x_9972_); -v___y_9968_ = v___x_9988_; -goto v___jp_9967_; +lean_dec(v___x_10069_); +v___y_10065_ = v___x_10085_; +goto v___jp_10064_; } else { -lean_object* v___x_9989_; uint8_t v___x_9990_; -v___x_9989_ = l_Lean_Syntax_getArg(v___x_9972_, v___x_9914_); -lean_dec(v___x_9972_); -v___x_9990_ = l_Lean_Syntax_matchesNull(v___x_9989_, v___x_9943_); -if (v___x_9990_ == 0) +lean_object* v___x_10086_; uint8_t v___x_10087_; +v___x_10086_ = l_Lean_Syntax_getArg(v___x_10069_, v___x_10011_); +lean_dec(v___x_10069_); +v___x_10087_ = l_Lean_Syntax_matchesNull(v___x_10086_, v___x_10040_); +if (v___x_10087_ == 0) { -v___y_9968_ = v___x_9990_; -goto v___jp_9967_; +v___y_10065_ = v___x_10087_; +goto v___jp_10064_; } else { -lean_dec(v___x_9915_); -goto v___jp_9955_; +lean_dec(v___x_10012_); +goto v___jp_10052_; } } } @@ -27482,92 +27857,92 @@ goto v___jp_9955_; } } } -v___jp_9955_: +v___jp_10052_: { -lean_object* v___x_9956_; -lean_inc(v_a_9909_); -lean_inc_ref(v_a_9908_); -lean_inc(v_a_9907_); -lean_inc_ref(v_a_9906_); -lean_inc(v_a_9905_); -lean_inc_ref(v_a_9904_); -v___x_9956_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(v_e_9954_, v_a_9904_, v_a_9905_, v_a_9906_, v_a_9907_, v_a_9908_, v_a_9909_); -if (lean_obj_tag(v___x_9956_) == 0) +lean_object* v___x_10053_; +lean_inc(v_a_10006_); +lean_inc_ref(v_a_10005_); +lean_inc(v_a_10004_); +lean_inc_ref(v_a_10003_); +lean_inc(v_a_10002_); +lean_inc_ref(v_a_10001_); +v___x_10053_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__3(v_e_10051_, v_a_10001_, v_a_10002_, v_a_10003_, v_a_10004_, v_a_10005_, v_a_10006_); +if (lean_obj_tag(v___x_10053_) == 0) { -lean_object* v_a_9957_; lean_object* v___x_9958_; -v_a_9957_ = lean_ctor_get(v___x_9956_, 0); -lean_inc(v_a_9957_); -lean_dec_ref(v___x_9956_); -v___x_9958_ = lean_apply_8(v_a_9957_, v_expectedType_x3f_9903_, v_a_9904_, v_a_9905_, v_a_9906_, v_a_9907_, v_a_9908_, v_a_9909_, lean_box(0)); -return v___x_9958_; +lean_object* v_a_10054_; lean_object* v___x_10055_; +v_a_10054_ = lean_ctor_get(v___x_10053_, 0); +lean_inc(v_a_10054_); +lean_dec_ref(v___x_10053_); +v___x_10055_ = lean_apply_8(v_a_10054_, v_expectedType_x3f_10000_, v_a_10001_, v_a_10002_, v_a_10003_, v_a_10004_, v_a_10005_, v_a_10006_, lean_box(0)); +return v___x_10055_; } else { -lean_object* v_a_9959_; lean_object* v___x_9961_; uint8_t v_isShared_9962_; uint8_t v_isSharedCheck_9966_; -lean_dec(v_a_9909_); -lean_dec_ref(v_a_9908_); -lean_dec(v_a_9907_); -lean_dec_ref(v_a_9906_); -lean_dec(v_a_9905_); -lean_dec_ref(v_a_9904_); -lean_dec(v_expectedType_x3f_9903_); -v_a_9959_ = lean_ctor_get(v___x_9956_, 0); -v_isSharedCheck_9966_ = !lean_is_exclusive(v___x_9956_); -if (v_isSharedCheck_9966_ == 0) +lean_object* v_a_10056_; lean_object* v___x_10058_; uint8_t v_isShared_10059_; uint8_t v_isSharedCheck_10063_; +lean_dec(v_a_10006_); +lean_dec_ref(v_a_10005_); +lean_dec(v_a_10004_); +lean_dec_ref(v_a_10003_); +lean_dec(v_a_10002_); +lean_dec_ref(v_a_10001_); +lean_dec(v_expectedType_x3f_10000_); +v_a_10056_ = lean_ctor_get(v___x_10053_, 0); +v_isSharedCheck_10063_ = !lean_is_exclusive(v___x_10053_); +if (v_isSharedCheck_10063_ == 0) { -v___x_9961_ = v___x_9956_; -v_isShared_9962_ = v_isSharedCheck_9966_; -goto v_resetjp_9960_; +v___x_10058_ = v___x_10053_; +v_isShared_10059_ = v_isSharedCheck_10063_; +goto v_resetjp_10057_; } else { -lean_inc(v_a_9959_); -lean_dec(v___x_9956_); -v___x_9961_ = lean_box(0); -v_isShared_9962_ = v_isSharedCheck_9966_; -goto v_resetjp_9960_; +lean_inc(v_a_10056_); +lean_dec(v___x_10053_); +v___x_10058_ = lean_box(0); +v_isShared_10059_ = v_isSharedCheck_10063_; +goto v_resetjp_10057_; } -v_resetjp_9960_: +v_resetjp_10057_: { -lean_object* v___x_9964_; -if (v_isShared_9962_ == 0) +lean_object* v___x_10061_; +if (v_isShared_10059_ == 0) { -v___x_9964_ = v___x_9961_; -goto v_reusejp_9963_; +v___x_10061_ = v___x_10058_; +goto v_reusejp_10060_; } else { -lean_object* v_reuseFailAlloc_9965_; -v_reuseFailAlloc_9965_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9965_, 0, v_a_9959_); -v___x_9964_ = v_reuseFailAlloc_9965_; -goto v_reusejp_9963_; +lean_object* v_reuseFailAlloc_10062_; +v_reuseFailAlloc_10062_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_10062_, 0, v_a_10056_); +v___x_10061_ = v_reuseFailAlloc_10062_; +goto v_reusejp_10060_; } -v_reusejp_9963_: +v_reusejp_10060_: { -return v___x_9964_; +return v___x_10061_; } } } } -v___jp_9967_: +v___jp_10064_: { -if (v___y_9968_ == 0) +if (v___y_10065_ == 0) { -lean_dec(v_e_9954_); -lean_dec(v_expectedType_x3f_9903_); -v___y_9917_ = v_a_9904_; -v___y_9918_ = v_a_9905_; -v___y_9919_ = v_a_9906_; -v___y_9920_ = v_a_9907_; -v___y_9921_ = v_a_9908_; -v___y_9922_ = v_a_9909_; -goto v___jp_9916_; +lean_dec(v_e_10051_); +lean_dec(v_expectedType_x3f_10000_); +v___y_10014_ = v_a_10001_; +v___y_10015_ = v_a_10002_; +v___y_10016_ = v_a_10003_; +v___y_10017_ = v_a_10004_; +v___y_10018_ = v_a_10005_; +v___y_10019_ = v_a_10006_; +goto v___jp_10013_; } else { -lean_dec(v___x_9915_); -goto v___jp_9955_; +lean_dec(v___x_10012_); +goto v___jp_10052_; } } } @@ -27575,79 +27950,79 @@ goto v___jp_9955_; } } } -v___jp_9916_: +v___jp_10013_: { -lean_object* v_ref_9923_; uint8_t v___x_9924_; lean_object* v___x_9925_; lean_object* v___x_9926_; lean_object* v___x_9927_; lean_object* v___x_9928_; lean_object* v___x_9929_; lean_object* v___x_9930_; -v_ref_9923_ = lean_ctor_get(v___y_9921_, 5); -v___x_9924_ = 0; -v___x_9925_ = l_Lean_SourceInfo_fromRef(v_ref_9923_, v___x_9924_); -v___x_9926_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__2)); -v___x_9927_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__3)); -lean_inc(v___x_9925_); -v___x_9928_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_9928_, 0, v___x_9925_); -lean_ctor_set(v___x_9928_, 1, v___x_9926_); -v___x_9929_ = l_Lean_Syntax_node2(v___x_9925_, v___x_9927_, v___x_9928_, v___x_9915_); -lean_inc(v___y_9922_); -lean_inc_ref(v___y_9921_); -lean_inc(v___y_9920_); -lean_inc_ref(v___y_9919_); -lean_inc(v___y_9918_); -lean_inc_ref(v___y_9917_); -v___x_9930_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(v___x_9929_, v___y_9917_, v___y_9918_, v___y_9919_, v___y_9920_, v___y_9921_, v___y_9922_); -if (lean_obj_tag(v___x_9930_) == 0) +lean_object* v_ref_10020_; uint8_t v___x_10021_; lean_object* v___x_10022_; lean_object* v___x_10023_; lean_object* v___x_10024_; lean_object* v___x_10025_; lean_object* v___x_10026_; lean_object* v___x_10027_; +v_ref_10020_ = lean_ctor_get(v___y_10018_, 5); +v___x_10021_ = 0; +v___x_10022_ = l_Lean_SourceInfo_fromRef(v_ref_10020_, v___x_10021_); +v___x_10023_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__2)); +v___x_10024_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__3)); +lean_inc(v___x_10022_); +v___x_10025_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_10025_, 0, v___x_10022_); +lean_ctor_set(v___x_10025_, 1, v___x_10023_); +v___x_10026_ = l_Lean_Syntax_node2(v___x_10022_, v___x_10024_, v___x_10025_, v___x_10012_); +lean_inc(v___y_10019_); +lean_inc_ref(v___y_10018_); +lean_inc(v___y_10017_); +lean_inc_ref(v___y_10016_); +lean_inc(v___y_10015_); +lean_inc_ref(v___y_10014_); +v___x_10027_ = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabRunElab_unsafe__6(v___x_10026_, v___y_10014_, v___y_10015_, v___y_10016_, v___y_10017_, v___y_10018_, v___y_10019_); +if (lean_obj_tag(v___x_10027_) == 0) { -lean_object* v_a_9931_; lean_object* v___x_9932_; -v_a_9931_ = lean_ctor_get(v___x_9930_, 0); -lean_inc(v_a_9931_); -lean_dec_ref(v___x_9930_); -v___x_9932_ = lean_apply_7(v_a_9931_, v___y_9917_, v___y_9918_, v___y_9919_, v___y_9920_, v___y_9921_, v___y_9922_, lean_box(0)); -return v___x_9932_; +lean_object* v_a_10028_; lean_object* v___x_10029_; +v_a_10028_ = lean_ctor_get(v___x_10027_, 0); +lean_inc(v_a_10028_); +lean_dec_ref(v___x_10027_); +v___x_10029_ = lean_apply_7(v_a_10028_, v___y_10014_, v___y_10015_, v___y_10016_, v___y_10017_, v___y_10018_, v___y_10019_, lean_box(0)); +return v___x_10029_; } else { -lean_object* v_a_9933_; lean_object* v___x_9935_; uint8_t v_isShared_9936_; uint8_t v_isSharedCheck_9940_; -lean_dec(v___y_9922_); -lean_dec_ref(v___y_9921_); -lean_dec(v___y_9920_); -lean_dec_ref(v___y_9919_); -lean_dec(v___y_9918_); -lean_dec_ref(v___y_9917_); -v_a_9933_ = lean_ctor_get(v___x_9930_, 0); -v_isSharedCheck_9940_ = !lean_is_exclusive(v___x_9930_); -if (v_isSharedCheck_9940_ == 0) +lean_object* v_a_10030_; lean_object* v___x_10032_; uint8_t v_isShared_10033_; uint8_t v_isSharedCheck_10037_; +lean_dec(v___y_10019_); +lean_dec_ref(v___y_10018_); +lean_dec(v___y_10017_); +lean_dec_ref(v___y_10016_); +lean_dec(v___y_10015_); +lean_dec_ref(v___y_10014_); +v_a_10030_ = lean_ctor_get(v___x_10027_, 0); +v_isSharedCheck_10037_ = !lean_is_exclusive(v___x_10027_); +if (v_isSharedCheck_10037_ == 0) { -v___x_9935_ = v___x_9930_; -v_isShared_9936_ = v_isSharedCheck_9940_; -goto v_resetjp_9934_; +v___x_10032_ = v___x_10027_; +v_isShared_10033_ = v_isSharedCheck_10037_; +goto v_resetjp_10031_; } else { -lean_inc(v_a_9933_); -lean_dec(v___x_9930_); -v___x_9935_ = lean_box(0); -v_isShared_9936_ = v_isSharedCheck_9940_; -goto v_resetjp_9934_; +lean_inc(v_a_10030_); +lean_dec(v___x_10027_); +v___x_10032_ = lean_box(0); +v_isShared_10033_ = v_isSharedCheck_10037_; +goto v_resetjp_10031_; } -v_resetjp_9934_: +v_resetjp_10031_: { -lean_object* v___x_9938_; -if (v_isShared_9936_ == 0) +lean_object* v___x_10035_; +if (v_isShared_10033_ == 0) { -v___x_9938_ = v___x_9935_; -goto v_reusejp_9937_; +v___x_10035_ = v___x_10032_; +goto v_reusejp_10034_; } else { -lean_object* v_reuseFailAlloc_9939_; -v_reuseFailAlloc_9939_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_9939_, 0, v_a_9933_); -v___x_9938_ = v_reuseFailAlloc_9939_; -goto v_reusejp_9937_; +lean_object* v_reuseFailAlloc_10036_; +v_reuseFailAlloc_10036_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_10036_, 0, v_a_10030_); +v___x_10035_ = v_reuseFailAlloc_10036_; +goto v_reusejp_10034_; } -v_reusejp_9937_: +v_reusejp_10034_: { -return v___x_9938_; +return v___x_10035_; } } } @@ -27655,68 +28030,68 @@ return v___x_9938_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___boxed(lean_object* v_stx_9991_, lean_object* v_expectedType_x3f_9992_, lean_object* v_a_9993_, lean_object* v_a_9994_, lean_object* v_a_9995_, lean_object* v_a_9996_, lean_object* v_a_9997_, lean_object* v_a_9998_, lean_object* v_a_9999_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___boxed(lean_object* v_stx_10088_, lean_object* v_expectedType_x3f_10089_, lean_object* v_a_10090_, lean_object* v_a_10091_, lean_object* v_a_10092_, lean_object* v_a_10093_, lean_object* v_a_10094_, lean_object* v_a_10095_, lean_object* v_a_10096_){ _start: { -lean_object* v_res_10000_; -v_res_10000_ = l_Lean_Elab_Term_elabRunElab(v_stx_9991_, v_expectedType_x3f_9992_, v_a_9993_, v_a_9994_, v_a_9995_, v_a_9996_, v_a_9997_, v_a_9998_); -return v_res_10000_; +lean_object* v_res_10097_; +v_res_10097_ = l_Lean_Elab_Term_elabRunElab(v_stx_10088_, v_expectedType_x3f_10089_, v_a_10090_, v_a_10091_, v_a_10092_, v_a_10093_, v_a_10094_, v_a_10095_); +return v_res_10097_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1(){ _start: { -lean_object* v___x_10008_; lean_object* v___x_10009_; lean_object* v___x_10010_; lean_object* v___x_10011_; lean_object* v___x_10012_; -v___x_10008_ = l_Lean_Elab_Term_termElabAttribute; -v___x_10009_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__1)); -v___x_10010_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); -v___x_10011_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRunElab___boxed), 9, 0); -v___x_10012_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_10008_, v___x_10009_, v___x_10010_, v___x_10011_); -return v___x_10012_; +lean_object* v___x_10105_; lean_object* v___x_10106_; lean_object* v___x_10107_; lean_object* v___x_10108_; lean_object* v___x_10109_; +v___x_10105_ = l_Lean_Elab_Term_termElabAttribute; +v___x_10106_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___closed__1)); +v___x_10107_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); +v___x_10108_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabRunElab___boxed), 9, 0); +v___x_10109_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_10105_, v___x_10106_, v___x_10107_, v___x_10108_); +return v___x_10109_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___boxed(lean_object* v_a_10013_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___boxed(lean_object* v_a_10110_){ _start: { -lean_object* v_res_10014_; -v_res_10014_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1(); -return v_res_10014_; +lean_object* v_res_10111_; +v_res_10111_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1(); +return v_res_10111_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3(){ _start: { -lean_object* v___x_10017_; lean_object* v___x_10018_; lean_object* v___x_10019_; -v___x_10017_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); -v___x_10018_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3___closed__0)); -v___x_10019_ = l_Lean_addBuiltinDocString(v___x_10017_, v___x_10018_); -return v___x_10019_; +lean_object* v___x_10114_; lean_object* v___x_10115_; lean_object* v___x_10116_; +v___x_10114_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); +v___x_10115_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3___closed__0)); +v___x_10116_ = l_Lean_addBuiltinDocString(v___x_10114_, v___x_10115_); +return v___x_10116_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3___boxed(lean_object* v_a_10020_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3___boxed(lean_object* v_a_10117_){ _start: { -lean_object* v_res_10021_; -v_res_10021_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3(); -return v_res_10021_; +lean_object* v_res_10118_; +v_res_10118_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_docString__3(); +return v_res_10118_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5(){ _start: { -lean_object* v___x_10048_; lean_object* v___x_10049_; lean_object* v___x_10050_; -v___x_10048_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); -v___x_10049_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5___closed__6)); -v___x_10050_ = l_Lean_addBuiltinDeclarationRanges(v___x_10048_, v___x_10049_); -return v___x_10050_; +lean_object* v___x_10145_; lean_object* v___x_10146_; lean_object* v___x_10147_; +v___x_10145_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab__1___closed__1)); +v___x_10146_ = ((lean_object*)(l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5___closed__6)); +v___x_10147_ = l_Lean_addBuiltinDeclarationRanges(v___x_10145_, v___x_10146_); +return v___x_10147_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5___boxed(lean_object* v_a_10051_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5___boxed(lean_object* v_a_10148_){ _start: { -lean_object* v_res_10052_; -v_res_10052_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5(); -return v_res_10052_; +lean_object* v_res_10149_; +v_res_10149_ = l_Lean_Elab_Term_elabRunElab___regBuiltin_Lean_Elab_Term_elabRunElab_declRange__5(); +return v_res_10149_; } } lean_object* runtime_initialize_Lean_Compiler_ImplementedByAttr(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Elab/BuiltinTerm.c b/stage0/stdlib/Lean/Elab/BuiltinTerm.c index 7790ab49ab..1c96092eb4 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinTerm.c +++ b/stage0/stdlib/Lean/Elab/BuiltinTerm.c @@ -230,9 +230,11 @@ lean_object* l_Array_zip___redArg(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Elab_Term_mkNoImplicitLambdaAnnotation(lean_object*); lean_object* l_Lean_Level_succ___override(lean_object*); +lean_object* l_Lean_compileDecls(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAuxDefinitionFor(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); extern lean_object* l_Lean_noncomputableExt; uint8_t l_Lean_isNoncomputable(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_DataValue_sameCtor(lean_object*, lean_object*); @@ -2331,8 +2333,8 @@ LEAN_EXPORT lean_object* l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivat LEAN_EXPORT lean_object* l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivateDecl_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivateDecl_spec__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivateDecl_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0(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_Lean_Elab_Term_elabPrivateDecl___lam__0___boxed(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_Elab_Term_elabPrivateDecl___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0___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 const lean_string_object l_Lean_Elab_Term_elabPrivateDecl___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "privateDecl"}; static const lean_object* l_Lean_Elab_Term_elabPrivateDecl___closed__0 = (const lean_object*)&l_Lean_Elab_Term_elabPrivateDecl___closed__0_value; static const lean_ctor_object l_Lean_Elab_Term_elabPrivateDecl___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_Term_elabProp___regBuiltin_Lean_Elab_Term_elabProp__1___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; @@ -30113,311 +30115,533 @@ lean_dec_ref(v___y_11642_); return v_res_11649_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0(lean_object* v___x_11650_, lean_object* v_expectedType_x3f_11651_, lean_object* v_a_11652_, uint8_t v_isExporting_11653_, lean_object* v___y_11654_, lean_object* v___y_11655_, lean_object* v___y_11656_, lean_object* v___y_11657_, lean_object* v___y_11658_, lean_object* v___y_11659_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0(lean_object* v___x_11650_, lean_object* v_expectedType_x3f_11651_, lean_object* v___x_11652_, lean_object* v_a_11653_, uint8_t v___x_11654_, uint8_t v_isExporting_11655_, lean_object* v___y_11656_, lean_object* v___y_11657_, lean_object* v___y_11658_, lean_object* v___y_11659_, lean_object* v___y_11660_, lean_object* v___y_11661_){ _start: { -lean_object* v___x_11661_; +lean_object* v___y_11664_; lean_object* v___y_11665_; lean_object* v___y_11666_; lean_object* v___x_11686_; +lean_inc(v___y_11661_); +lean_inc_ref(v___y_11660_); lean_inc(v___y_11659_); lean_inc_ref(v___y_11658_); -lean_inc(v___y_11657_); lean_inc_ref(v___y_11656_); -lean_inc_ref(v___y_11654_); -v___x_11661_ = l_Lean_Elab_Term_elabTermAndSynthesize(v___x_11650_, v_expectedType_x3f_11651_, v___y_11654_, v___y_11655_, v___y_11656_, v___y_11657_, v___y_11658_, v___y_11659_); -if (lean_obj_tag(v___x_11661_) == 0) +v___x_11686_ = l_Lean_Elab_Term_elabTermAndSynthesize(v___x_11650_, v_expectedType_x3f_11651_, v___y_11656_, v___y_11657_, v___y_11658_, v___y_11659_, v___y_11660_, v___y_11661_); +if (lean_obj_tag(v___x_11686_) == 0) { -lean_object* v_a_11662_; lean_object* v___x_11663_; uint8_t v___y_11665_; uint8_t v_isNoncomputableSection_11687_; -v_a_11662_ = lean_ctor_get(v___x_11661_, 0); -lean_inc(v_a_11662_); -lean_dec_ref(v___x_11661_); -v___x_11663_ = lean_st_ref_get(v___y_11659_); -v_isNoncomputableSection_11687_ = lean_ctor_get_uint8(v___y_11654_, sizeof(void*)*8 + 4); -if (v_isNoncomputableSection_11687_ == 0) -{ -lean_object* v_declName_x3f_11688_; -v_declName_x3f_11688_ = lean_ctor_get(v___y_11654_, 0); -lean_inc(v_declName_x3f_11688_); -lean_dec_ref(v___y_11654_); -if (lean_obj_tag(v_declName_x3f_11688_) == 0) -{ -lean_dec(v___x_11663_); -v___y_11665_ = v_isExporting_11653_; -goto v___jp_11664_; -} -else -{ -lean_object* v_env_11689_; lean_object* v_val_11690_; lean_object* v___x_11691_; lean_object* v_toEnvExtension_11692_; lean_object* v_asyncMode_11693_; uint8_t v___x_11694_; -v_env_11689_ = lean_ctor_get(v___x_11663_, 0); +lean_object* v_a_11687_; lean_object* v___x_11688_; lean_object* v_env_11689_; lean_object* v_declName_x3f_11690_; uint8_t v_isNoncomputableSection_11691_; uint8_t v___y_11693_; +v_a_11687_ = lean_ctor_get(v___x_11686_, 0); +lean_inc(v_a_11687_); +lean_dec_ref(v___x_11686_); +v___x_11688_ = lean_st_ref_get(v___y_11661_); +v_env_11689_ = lean_ctor_get(v___x_11688_, 0); lean_inc_ref(v_env_11689_); -lean_dec(v___x_11663_); -v_val_11690_ = lean_ctor_get(v_declName_x3f_11688_, 0); -lean_inc(v_val_11690_); -lean_dec_ref(v_declName_x3f_11688_); -v___x_11691_ = l_Lean_noncomputableExt; -v_toEnvExtension_11692_ = lean_ctor_get(v___x_11691_, 0); -lean_inc_ref(v_toEnvExtension_11692_); -v_asyncMode_11693_ = lean_ctor_get(v_toEnvExtension_11692_, 2); -lean_inc(v_asyncMode_11693_); -lean_dec_ref(v_toEnvExtension_11692_); -v___x_11694_ = l_Lean_isNoncomputable(v_env_11689_, v_val_11690_, v_asyncMode_11693_); -lean_dec(v_asyncMode_11693_); -if (v___x_11694_ == 0) +lean_dec(v___x_11688_); +v_declName_x3f_11690_ = lean_ctor_get(v___y_11656_, 0); +lean_inc(v_declName_x3f_11690_); +v_isNoncomputableSection_11691_ = lean_ctor_get_uint8(v___y_11656_, sizeof(void*)*8 + 4); +lean_dec_ref(v___y_11656_); +if (v_isNoncomputableSection_11691_ == 0) { -v___y_11665_ = v_isExporting_11653_; -goto v___jp_11664_; +if (lean_obj_tag(v_declName_x3f_11690_) == 0) +{ +lean_dec_ref(v_env_11689_); +v___y_11693_ = v_isExporting_11655_; +goto v___jp_11692_; } else { -v___y_11665_ = v_isNoncomputableSection_11687_; -goto v___jp_11664_; +lean_object* v_val_11746_; lean_object* v___x_11747_; lean_object* v_toEnvExtension_11748_; lean_object* v_asyncMode_11749_; uint8_t v___x_11750_; +v_val_11746_ = lean_ctor_get(v_declName_x3f_11690_, 0); +v___x_11747_ = l_Lean_noncomputableExt; +v_toEnvExtension_11748_ = lean_ctor_get(v___x_11747_, 0); +lean_inc_ref(v_toEnvExtension_11748_); +v_asyncMode_11749_ = lean_ctor_get(v_toEnvExtension_11748_, 2); +lean_inc(v_asyncMode_11749_); +lean_dec_ref(v_toEnvExtension_11748_); +lean_inc(v_val_11746_); +v___x_11750_ = l_Lean_isNoncomputable(v_env_11689_, v_val_11746_, v_asyncMode_11749_); +lean_dec(v_asyncMode_11749_); +if (v___x_11750_ == 0) +{ +v___y_11693_ = v_isExporting_11655_; +goto v___jp_11692_; +} +else +{ +v___y_11693_ = v_isNoncomputableSection_11691_; +goto v___jp_11692_; } } } else { -uint8_t v___x_11695_; -lean_dec(v___x_11663_); -lean_dec_ref(v___y_11654_); -v___x_11695_ = 0; -v___y_11665_ = v___x_11695_; -goto v___jp_11664_; +uint8_t v___x_11751_; +lean_dec_ref(v_env_11689_); +v___x_11751_ = 0; +v___y_11693_ = v___x_11751_; +goto v___jp_11692_; } -v___jp_11664_: +v___jp_11692_: { -uint8_t v___x_11666_; lean_object* v___x_11667_; -v___x_11666_ = 0; +uint8_t v___x_11694_; lean_object* v___x_11695_; +v___x_11694_ = 0; +lean_inc(v___y_11661_); +lean_inc_ref(v___y_11660_); lean_inc(v___y_11659_); lean_inc_ref(v___y_11658_); -lean_inc(v___y_11657_); -lean_inc_ref(v___y_11656_); -lean_inc(v_a_11652_); -v___x_11667_ = l_Lean_Meta_mkAuxDefinitionFor(v_a_11652_, v_a_11662_, v___x_11666_, v___y_11665_, v___y_11656_, v___y_11657_, v___y_11658_, v___y_11659_); -if (lean_obj_tag(v___x_11667_) == 0) +lean_inc(v_a_11653_); +v___x_11695_ = l_Lean_Meta_mkAuxDefinitionFor(v_a_11653_, v_a_11687_, v___x_11694_, v___x_11694_, v___y_11658_, v___y_11659_, v___y_11660_, v___y_11661_); +if (lean_obj_tag(v___x_11695_) == 0) { -if (v___y_11665_ == 0) +if (v___y_11693_ == 0) { +lean_dec(v_declName_x3f_11690_); +lean_dec(v___y_11661_); +lean_dec_ref(v___y_11660_); lean_dec(v___y_11659_); lean_dec_ref(v___y_11658_); -lean_dec(v___y_11657_); -lean_dec_ref(v___y_11656_); -lean_dec(v_a_11652_); -return v___x_11667_; +lean_dec(v_a_11653_); +return v___x_11695_; } else { -lean_object* v_a_11668_; uint8_t v___x_11669_; lean_object* v___x_11670_; -v_a_11668_ = lean_ctor_get(v___x_11667_, 0); -lean_inc(v_a_11668_); -lean_dec_ref(v___x_11667_); -v___x_11669_ = 0; -v___x_11670_ = l_Lean_Meta_setInlineAttribute(v_a_11652_, v___x_11669_, v___y_11656_, v___y_11657_, v___y_11658_, v___y_11659_); -lean_dec(v___y_11659_); +lean_object* v_a_11696_; uint8_t v___x_11697_; lean_object* v___x_11698_; +v_a_11696_ = lean_ctor_get(v___x_11695_, 0); +lean_inc(v_a_11696_); +lean_dec_ref(v___x_11695_); +v___x_11697_ = 0; +lean_inc(v_a_11653_); +v___x_11698_ = l_Lean_Meta_setInlineAttribute(v_a_11653_, v___x_11697_, v___y_11658_, v___y_11659_, v___y_11660_, v___y_11661_); lean_dec_ref(v___y_11658_); -lean_dec(v___y_11657_); -lean_dec_ref(v___y_11656_); -if (lean_obj_tag(v___x_11670_) == 0) +if (lean_obj_tag(v___x_11698_) == 0) { -lean_object* v___x_11672_; uint8_t v_isShared_11673_; uint8_t v_isSharedCheck_11677_; -v_isSharedCheck_11677_ = !lean_is_exclusive(v___x_11670_); -if (v_isSharedCheck_11677_ == 0) +lean_object* v___x_11699_; +lean_dec_ref(v___x_11698_); +v___x_11699_ = lean_st_ref_get(v___y_11661_); +if (lean_obj_tag(v_declName_x3f_11690_) == 0) { -lean_object* v_unused_11678_; -v_unused_11678_ = lean_ctor_get(v___x_11670_, 0); -lean_dec(v_unused_11678_); -v___x_11672_ = v___x_11670_; -v_isShared_11673_ = v_isSharedCheck_11677_; -goto v_resetjp_11671_; +lean_dec(v___x_11699_); +lean_dec(v___y_11659_); +v___y_11664_ = v_a_11696_; +v___y_11665_ = v___y_11660_; +v___y_11666_ = v___y_11661_; +goto v___jp_11663_; } else { -lean_dec(v___x_11670_); -v___x_11672_ = lean_box(0); -v_isShared_11673_ = v_isSharedCheck_11677_; -goto v_resetjp_11671_; -} -v_resetjp_11671_: -{ -lean_object* v___x_11675_; -if (v_isShared_11673_ == 0) -{ -lean_ctor_set(v___x_11672_, 0, v_a_11668_); -v___x_11675_ = v___x_11672_; -goto v_reusejp_11674_; -} -else -{ -lean_object* v_reuseFailAlloc_11676_; -v_reuseFailAlloc_11676_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_11676_, 0, v_a_11668_); -v___x_11675_ = v_reuseFailAlloc_11676_; -goto v_reusejp_11674_; -} -v_reusejp_11674_: -{ -return v___x_11675_; -} -} -} -else -{ -lean_object* v_a_11679_; lean_object* v___x_11681_; uint8_t v_isShared_11682_; uint8_t v_isSharedCheck_11686_; -lean_dec(v_a_11668_); -v_a_11679_ = lean_ctor_get(v___x_11670_, 0); -v_isSharedCheck_11686_ = !lean_is_exclusive(v___x_11670_); -if (v_isSharedCheck_11686_ == 0) -{ -v___x_11681_ = v___x_11670_; -v_isShared_11682_ = v_isSharedCheck_11686_; -goto v_resetjp_11680_; -} -else -{ -lean_inc(v_a_11679_); -lean_dec(v___x_11670_); -v___x_11681_ = lean_box(0); -v_isShared_11682_ = v_isSharedCheck_11686_; -goto v_resetjp_11680_; -} -v_resetjp_11680_: -{ -lean_object* v___x_11684_; -if (v_isShared_11682_ == 0) -{ -v___x_11684_ = v___x_11681_; -goto v_reusejp_11683_; -} -else -{ -lean_object* v_reuseFailAlloc_11685_; -v_reuseFailAlloc_11685_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_11685_, 0, v_a_11679_); -v___x_11684_ = v_reuseFailAlloc_11685_; -goto v_reusejp_11683_; -} -v_reusejp_11683_: -{ -return v___x_11684_; -} -} -} -} -} -else +lean_object* v_val_11700_; lean_object* v_env_11701_; uint8_t v___x_11702_; +v_val_11700_ = lean_ctor_get(v_declName_x3f_11690_, 0); +lean_inc(v_val_11700_); +lean_dec_ref(v_declName_x3f_11690_); +v_env_11701_ = lean_ctor_get(v___x_11699_, 0); +lean_inc_ref(v_env_11701_); +lean_dec(v___x_11699_); +v___x_11702_ = l_Lean_isMarkedMeta(v_env_11701_, v_val_11700_); +if (v___x_11702_ == 0) { lean_dec(v___y_11659_); -lean_dec_ref(v___y_11658_); -lean_dec(v___y_11657_); -lean_dec_ref(v___y_11656_); -lean_dec(v_a_11652_); -return v___x_11667_; -} -} +v___y_11664_ = v_a_11696_; +v___y_11665_ = v___y_11660_; +v___y_11666_ = v___y_11661_; +goto v___jp_11663_; } else { +lean_object* v___x_11703_; lean_object* v_env_11704_; lean_object* v_nextMacroScope_11705_; lean_object* v_ngen_11706_; lean_object* v_auxDeclNGen_11707_; lean_object* v_traceState_11708_; lean_object* v_messages_11709_; lean_object* v_infoState_11710_; lean_object* v_snapshotTasks_11711_; lean_object* v___x_11713_; uint8_t v_isShared_11714_; uint8_t v_isSharedCheck_11736_; +v___x_11703_ = lean_st_ref_take(v___y_11661_); +v_env_11704_ = lean_ctor_get(v___x_11703_, 0); +v_nextMacroScope_11705_ = lean_ctor_get(v___x_11703_, 1); +v_ngen_11706_ = lean_ctor_get(v___x_11703_, 2); +v_auxDeclNGen_11707_ = lean_ctor_get(v___x_11703_, 3); +v_traceState_11708_ = lean_ctor_get(v___x_11703_, 4); +v_messages_11709_ = lean_ctor_get(v___x_11703_, 6); +v_infoState_11710_ = lean_ctor_get(v___x_11703_, 7); +v_snapshotTasks_11711_ = lean_ctor_get(v___x_11703_, 8); +v_isSharedCheck_11736_ = !lean_is_exclusive(v___x_11703_); +if (v_isSharedCheck_11736_ == 0) +{ +lean_object* v_unused_11737_; +v_unused_11737_ = lean_ctor_get(v___x_11703_, 5); +lean_dec(v_unused_11737_); +v___x_11713_ = v___x_11703_; +v_isShared_11714_ = v_isSharedCheck_11736_; +goto v_resetjp_11712_; +} +else +{ +lean_inc(v_snapshotTasks_11711_); +lean_inc(v_infoState_11710_); +lean_inc(v_messages_11709_); +lean_inc(v_traceState_11708_); +lean_inc(v_auxDeclNGen_11707_); +lean_inc(v_ngen_11706_); +lean_inc(v_nextMacroScope_11705_); +lean_inc(v_env_11704_); +lean_dec(v___x_11703_); +v___x_11713_ = lean_box(0); +v_isShared_11714_ = v_isSharedCheck_11736_; +goto v_resetjp_11712_; +} +v_resetjp_11712_: +{ +lean_object* v___x_11715_; lean_object* v___x_11716_; lean_object* v___x_11718_; +lean_inc(v_a_11653_); +v___x_11715_ = l_Lean_markMeta(v_env_11704_, v_a_11653_); +v___x_11716_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__5); +if (v_isShared_11714_ == 0) +{ +lean_ctor_set(v___x_11713_, 5, v___x_11716_); +lean_ctor_set(v___x_11713_, 0, v___x_11715_); +v___x_11718_ = v___x_11713_; +goto v_reusejp_11717_; +} +else +{ +lean_object* v_reuseFailAlloc_11735_; +v_reuseFailAlloc_11735_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_11735_, 0, v___x_11715_); +lean_ctor_set(v_reuseFailAlloc_11735_, 1, v_nextMacroScope_11705_); +lean_ctor_set(v_reuseFailAlloc_11735_, 2, v_ngen_11706_); +lean_ctor_set(v_reuseFailAlloc_11735_, 3, v_auxDeclNGen_11707_); +lean_ctor_set(v_reuseFailAlloc_11735_, 4, v_traceState_11708_); +lean_ctor_set(v_reuseFailAlloc_11735_, 5, v___x_11716_); +lean_ctor_set(v_reuseFailAlloc_11735_, 6, v_messages_11709_); +lean_ctor_set(v_reuseFailAlloc_11735_, 7, v_infoState_11710_); +lean_ctor_set(v_reuseFailAlloc_11735_, 8, v_snapshotTasks_11711_); +v___x_11718_ = v_reuseFailAlloc_11735_; +goto v_reusejp_11717_; +} +v_reusejp_11717_: +{ +lean_object* v___x_11719_; lean_object* v___x_11720_; lean_object* v_mctx_11721_; lean_object* v_zetaDeltaFVarIds_11722_; lean_object* v_postponed_11723_; lean_object* v_diag_11724_; lean_object* v___x_11726_; uint8_t v_isShared_11727_; uint8_t v_isSharedCheck_11733_; +v___x_11719_ = lean_st_ref_set(v___y_11661_, v___x_11718_); +v___x_11720_ = lean_st_ref_take(v___y_11659_); +v_mctx_11721_ = lean_ctor_get(v___x_11720_, 0); +v_zetaDeltaFVarIds_11722_ = lean_ctor_get(v___x_11720_, 2); +v_postponed_11723_ = lean_ctor_get(v___x_11720_, 3); +v_diag_11724_ = lean_ctor_get(v___x_11720_, 4); +v_isSharedCheck_11733_ = !lean_is_exclusive(v___x_11720_); +if (v_isSharedCheck_11733_ == 0) +{ +lean_object* v_unused_11734_; +v_unused_11734_ = lean_ctor_get(v___x_11720_, 1); +lean_dec(v_unused_11734_); +v___x_11726_ = v___x_11720_; +v_isShared_11727_ = v_isSharedCheck_11733_; +goto v_resetjp_11725_; +} +else +{ +lean_inc(v_diag_11724_); +lean_inc(v_postponed_11723_); +lean_inc(v_zetaDeltaFVarIds_11722_); +lean_inc(v_mctx_11721_); +lean_dec(v___x_11720_); +v___x_11726_ = lean_box(0); +v_isShared_11727_ = v_isSharedCheck_11733_; +goto v_resetjp_11725_; +} +v_resetjp_11725_: +{ +lean_object* v___x_11728_; lean_object* v___x_11730_; +v___x_11728_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__0_spec__0___closed__6); +if (v_isShared_11727_ == 0) +{ +lean_ctor_set(v___x_11726_, 1, v___x_11728_); +v___x_11730_ = v___x_11726_; +goto v_reusejp_11729_; +} +else +{ +lean_object* v_reuseFailAlloc_11732_; +v_reuseFailAlloc_11732_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_11732_, 0, v_mctx_11721_); +lean_ctor_set(v_reuseFailAlloc_11732_, 1, v___x_11728_); +lean_ctor_set(v_reuseFailAlloc_11732_, 2, v_zetaDeltaFVarIds_11722_); +lean_ctor_set(v_reuseFailAlloc_11732_, 3, v_postponed_11723_); +lean_ctor_set(v_reuseFailAlloc_11732_, 4, v_diag_11724_); +v___x_11730_ = v_reuseFailAlloc_11732_; +goto v_reusejp_11729_; +} +v_reusejp_11729_: +{ +lean_object* v___x_11731_; +v___x_11731_ = lean_st_ref_set(v___y_11659_, v___x_11730_); lean_dec(v___y_11659_); -lean_dec_ref(v___y_11658_); -lean_dec(v___y_11657_); -lean_dec_ref(v___y_11656_); -lean_dec_ref(v___y_11654_); -lean_dec(v_a_11652_); -return v___x_11661_; +v___y_11664_ = v_a_11696_; +v___y_11665_ = v___y_11660_; +v___y_11666_ = v___y_11661_; +goto v___jp_11663_; +} } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0___boxed(lean_object* v___x_11696_, lean_object* v_expectedType_x3f_11697_, lean_object* v_a_11698_, lean_object* v_isExporting_11699_, lean_object* v___y_11700_, lean_object* v___y_11701_, lean_object* v___y_11702_, lean_object* v___y_11703_, lean_object* v___y_11704_, lean_object* v___y_11705_, lean_object* v___y_11706_){ -_start: -{ -uint8_t v_isExporting_boxed_11707_; lean_object* v_res_11708_; -v_isExporting_boxed_11707_ = lean_unbox(v_isExporting_11699_); -v_res_11708_ = l_Lean_Elab_Term_elabPrivateDecl___lam__0(v___x_11696_, v_expectedType_x3f_11697_, v_a_11698_, v_isExporting_boxed_11707_, v___y_11700_, v___y_11701_, v___y_11702_, v___y_11703_, v___y_11704_, v___y_11705_); -return v_res_11708_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl(lean_object* v_stx_11718_, lean_object* v_expectedType_x3f_11719_, lean_object* v_a_11720_, lean_object* v_a_11721_, lean_object* v_a_11722_, lean_object* v_a_11723_, lean_object* v_a_11724_, lean_object* v_a_11725_){ -_start: -{ -lean_object* v___x_11727_; uint8_t v___x_11728_; -v___x_11727_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__1)); -lean_inc(v_stx_11718_); -v___x_11728_ = l_Lean_Syntax_isOfKind(v_stx_11718_, v___x_11727_); -if (v___x_11728_ == 0) -{ -lean_object* v___x_11729_; -lean_dec(v_a_11725_); -lean_dec_ref(v_a_11724_); -lean_dec(v_a_11723_); -lean_dec_ref(v_a_11722_); -lean_dec(v_a_11721_); -lean_dec_ref(v_a_11720_); -lean_dec(v_expectedType_x3f_11719_); -lean_dec(v_stx_11718_); -v___x_11729_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Term_elabLetMVar_spec__0___redArg(); -return v___x_11729_; } else { -lean_object* v___x_11730_; lean_object* v_env_11731_; uint8_t v_isExporting_11732_; lean_object* v___x_11733_; lean_object* v___x_11734_; -v___x_11730_ = lean_st_ref_get(v_a_11725_); -v_env_11731_ = lean_ctor_get(v___x_11730_, 0); -lean_inc_ref(v_env_11731_); -lean_dec(v___x_11730_); -v_isExporting_11732_ = lean_ctor_get_uint8(v_env_11731_, sizeof(void*)*8); -lean_dec_ref(v_env_11731_); -v___x_11733_ = lean_unsigned_to_nat(1u); -v___x_11734_ = l_Lean_Syntax_getArg(v_stx_11718_, v___x_11733_); -lean_dec(v_stx_11718_); -if (v_isExporting_11732_ == 0) +lean_object* v_a_11738_; lean_object* v___x_11740_; uint8_t v_isShared_11741_; uint8_t v_isSharedCheck_11745_; +lean_dec(v_a_11696_); +lean_dec(v_declName_x3f_11690_); +lean_dec(v___y_11661_); +lean_dec_ref(v___y_11660_); +lean_dec(v___y_11659_); +lean_dec(v_a_11653_); +v_a_11738_ = lean_ctor_get(v___x_11698_, 0); +v_isSharedCheck_11745_ = !lean_is_exclusive(v___x_11698_); +if (v_isSharedCheck_11745_ == 0) { -lean_object* v___x_11735_; -v___x_11735_ = l_Lean_Elab_Term_elabTerm(v___x_11734_, v_expectedType_x3f_11719_, v___x_11728_, v___x_11728_, v_a_11720_, v_a_11721_, v_a_11722_, v_a_11723_, v_a_11724_, v_a_11725_); -return v___x_11735_; +v___x_11740_ = v___x_11698_; +v_isShared_11741_ = v_isSharedCheck_11745_; +goto v_resetjp_11739_; } else { -lean_object* v___x_11736_; lean_object* v___x_11737_; lean_object* v_a_11738_; lean_object* v___x_11739_; lean_object* v___f_11740_; lean_object* v___x_11741_; -v___x_11736_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__3)); -v___x_11737_ = l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivateDecl_spec__0___redArg(v___x_11736_, v_a_11725_); -v_a_11738_ = lean_ctor_get(v___x_11737_, 0); lean_inc(v_a_11738_); -lean_dec_ref(v___x_11737_); -v___x_11739_ = lean_box(v_isExporting_11732_); -v___f_11740_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPrivateDecl___lam__0___boxed), 11, 4); -lean_closure_set(v___f_11740_, 0, v___x_11734_); -lean_closure_set(v___f_11740_, 1, v_expectedType_x3f_11719_); -lean_closure_set(v___f_11740_, 2, v_a_11738_); -lean_closure_set(v___f_11740_, 3, v___x_11739_); -v___x_11741_ = l_Lean_withoutExporting___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__1___redArg(v___f_11740_, v___x_11728_, v_a_11720_, v_a_11721_, v_a_11722_, v_a_11723_, v_a_11724_, v_a_11725_); -return v___x_11741_; +lean_dec(v___x_11698_); +v___x_11740_ = lean_box(0); +v_isShared_11741_ = v_isSharedCheck_11745_; +goto v_resetjp_11739_; +} +v_resetjp_11739_: +{ +lean_object* v___x_11743_; +if (v_isShared_11741_ == 0) +{ +v___x_11743_ = v___x_11740_; +goto v_reusejp_11742_; +} +else +{ +lean_object* v_reuseFailAlloc_11744_; +v_reuseFailAlloc_11744_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_11744_, 0, v_a_11738_); +v___x_11743_ = v_reuseFailAlloc_11744_; +goto v_reusejp_11742_; +} +v_reusejp_11742_: +{ +return v___x_11743_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___boxed(lean_object* v_stx_11742_, lean_object* v_expectedType_x3f_11743_, lean_object* v_a_11744_, lean_object* v_a_11745_, lean_object* v_a_11746_, lean_object* v_a_11747_, lean_object* v_a_11748_, lean_object* v_a_11749_, lean_object* v_a_11750_){ +} +else +{ +lean_dec(v_declName_x3f_11690_); +lean_dec(v___y_11661_); +lean_dec_ref(v___y_11660_); +lean_dec(v___y_11659_); +lean_dec_ref(v___y_11658_); +lean_dec(v_a_11653_); +return v___x_11695_; +} +} +} +else +{ +lean_dec(v___y_11661_); +lean_dec_ref(v___y_11660_); +lean_dec(v___y_11659_); +lean_dec_ref(v___y_11658_); +lean_dec_ref(v___y_11656_); +lean_dec(v_a_11653_); +return v___x_11686_; +} +v___jp_11663_: +{ +lean_object* v___x_11667_; lean_object* v___x_11668_; lean_object* v___x_11669_; +v___x_11667_ = lean_mk_empty_array_with_capacity(v___x_11652_); +v___x_11668_ = lean_array_push(v___x_11667_, v_a_11653_); +v___x_11669_ = l_Lean_compileDecls(v___x_11668_, v___x_11654_, v___y_11665_, v___y_11666_); +if (lean_obj_tag(v___x_11669_) == 0) +{ +lean_object* v___x_11671_; uint8_t v_isShared_11672_; uint8_t v_isSharedCheck_11676_; +v_isSharedCheck_11676_ = !lean_is_exclusive(v___x_11669_); +if (v_isSharedCheck_11676_ == 0) +{ +lean_object* v_unused_11677_; +v_unused_11677_ = lean_ctor_get(v___x_11669_, 0); +lean_dec(v_unused_11677_); +v___x_11671_ = v___x_11669_; +v_isShared_11672_ = v_isSharedCheck_11676_; +goto v_resetjp_11670_; +} +else +{ +lean_dec(v___x_11669_); +v___x_11671_ = lean_box(0); +v_isShared_11672_ = v_isSharedCheck_11676_; +goto v_resetjp_11670_; +} +v_resetjp_11670_: +{ +lean_object* v___x_11674_; +if (v_isShared_11672_ == 0) +{ +lean_ctor_set(v___x_11671_, 0, v___y_11664_); +v___x_11674_ = v___x_11671_; +goto v_reusejp_11673_; +} +else +{ +lean_object* v_reuseFailAlloc_11675_; +v_reuseFailAlloc_11675_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_11675_, 0, v___y_11664_); +v___x_11674_ = v_reuseFailAlloc_11675_; +goto v_reusejp_11673_; +} +v_reusejp_11673_: +{ +return v___x_11674_; +} +} +} +else +{ +lean_object* v_a_11678_; lean_object* v___x_11680_; uint8_t v_isShared_11681_; uint8_t v_isSharedCheck_11685_; +lean_dec_ref(v___y_11664_); +v_a_11678_ = lean_ctor_get(v___x_11669_, 0); +v_isSharedCheck_11685_ = !lean_is_exclusive(v___x_11669_); +if (v_isSharedCheck_11685_ == 0) +{ +v___x_11680_ = v___x_11669_; +v_isShared_11681_ = v_isSharedCheck_11685_; +goto v_resetjp_11679_; +} +else +{ +lean_inc(v_a_11678_); +lean_dec(v___x_11669_); +v___x_11680_ = lean_box(0); +v_isShared_11681_ = v_isSharedCheck_11685_; +goto v_resetjp_11679_; +} +v_resetjp_11679_: +{ +lean_object* v___x_11683_; +if (v_isShared_11681_ == 0) +{ +v___x_11683_ = v___x_11680_; +goto v_reusejp_11682_; +} +else +{ +lean_object* v_reuseFailAlloc_11684_; +v_reuseFailAlloc_11684_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_11684_, 0, v_a_11678_); +v___x_11683_ = v_reuseFailAlloc_11684_; +goto v_reusejp_11682_; +} +v_reusejp_11682_: +{ +return v___x_11683_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___lam__0___boxed(lean_object* v___x_11752_, lean_object* v_expectedType_x3f_11753_, lean_object* v___x_11754_, lean_object* v_a_11755_, lean_object* v___x_11756_, lean_object* v_isExporting_11757_, lean_object* v___y_11758_, lean_object* v___y_11759_, lean_object* v___y_11760_, lean_object* v___y_11761_, lean_object* v___y_11762_, lean_object* v___y_11763_, lean_object* v___y_11764_){ _start: { -lean_object* v_res_11751_; -v_res_11751_ = l_Lean_Elab_Term_elabPrivateDecl(v_stx_11742_, v_expectedType_x3f_11743_, v_a_11744_, v_a_11745_, v_a_11746_, v_a_11747_, v_a_11748_, v_a_11749_); -return v_res_11751_; +uint8_t v___x_6945__boxed_11765_; uint8_t v_isExporting_boxed_11766_; lean_object* v_res_11767_; +v___x_6945__boxed_11765_ = lean_unbox(v___x_11756_); +v_isExporting_boxed_11766_ = lean_unbox(v_isExporting_11757_); +v_res_11767_ = l_Lean_Elab_Term_elabPrivateDecl___lam__0(v___x_11752_, v_expectedType_x3f_11753_, v___x_11754_, v_a_11755_, v___x_6945__boxed_11765_, v_isExporting_boxed_11766_, v___y_11758_, v___y_11759_, v___y_11760_, v___y_11761_, v___y_11762_, v___y_11763_); +lean_dec(v___x_11754_); +return v_res_11767_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl(lean_object* v_stx_11777_, lean_object* v_expectedType_x3f_11778_, lean_object* v_a_11779_, lean_object* v_a_11780_, lean_object* v_a_11781_, lean_object* v_a_11782_, lean_object* v_a_11783_, lean_object* v_a_11784_){ +_start: +{ +lean_object* v___x_11786_; uint8_t v___x_11787_; +v___x_11786_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__1)); +lean_inc(v_stx_11777_); +v___x_11787_ = l_Lean_Syntax_isOfKind(v_stx_11777_, v___x_11786_); +if (v___x_11787_ == 0) +{ +lean_object* v___x_11788_; +lean_dec(v_a_11784_); +lean_dec_ref(v_a_11783_); +lean_dec(v_a_11782_); +lean_dec_ref(v_a_11781_); +lean_dec(v_a_11780_); +lean_dec_ref(v_a_11779_); +lean_dec(v_expectedType_x3f_11778_); +lean_dec(v_stx_11777_); +v___x_11788_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_Term_elabLetMVar_spec__0___redArg(); +return v___x_11788_; +} +else +{ +lean_object* v___x_11789_; lean_object* v_env_11790_; uint8_t v_isExporting_11791_; lean_object* v___x_11792_; lean_object* v___x_11793_; +v___x_11789_ = lean_st_ref_get(v_a_11784_); +v_env_11790_ = lean_ctor_get(v___x_11789_, 0); +lean_inc_ref(v_env_11790_); +lean_dec(v___x_11789_); +v_isExporting_11791_ = lean_ctor_get_uint8(v_env_11790_, sizeof(void*)*8); +lean_dec_ref(v_env_11790_); +v___x_11792_ = lean_unsigned_to_nat(1u); +v___x_11793_ = l_Lean_Syntax_getArg(v_stx_11777_, v___x_11792_); +lean_dec(v_stx_11777_); +if (v_isExporting_11791_ == 0) +{ +lean_object* v___x_11794_; +v___x_11794_ = l_Lean_Elab_Term_elabTerm(v___x_11793_, v_expectedType_x3f_11778_, v___x_11787_, v___x_11787_, v_a_11779_, v_a_11780_, v_a_11781_, v_a_11782_, v_a_11783_, v_a_11784_); +return v___x_11794_; +} +else +{ +lean_object* v___x_11795_; lean_object* v___x_11796_; lean_object* v_a_11797_; lean_object* v___x_11798_; lean_object* v___x_11799_; lean_object* v___f_11800_; lean_object* v___x_11801_; +v___x_11795_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__3)); +v___x_11796_ = l_Lean_mkAuxDeclName___at___00Lean_Elab_Term_elabPrivateDecl_spec__0___redArg(v___x_11795_, v_a_11784_); +v_a_11797_ = lean_ctor_get(v___x_11796_, 0); +lean_inc(v_a_11797_); +lean_dec_ref(v___x_11796_); +v___x_11798_ = lean_box(v___x_11787_); +v___x_11799_ = lean_box(v_isExporting_11791_); +v___f_11800_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPrivateDecl___lam__0___boxed), 13, 6); +lean_closure_set(v___f_11800_, 0, v___x_11793_); +lean_closure_set(v___f_11800_, 1, v_expectedType_x3f_11778_); +lean_closure_set(v___f_11800_, 2, v___x_11792_); +lean_closure_set(v___f_11800_, 3, v_a_11797_); +lean_closure_set(v___f_11800_, 4, v___x_11798_); +lean_closure_set(v___f_11800_, 5, v___x_11799_); +v___x_11801_ = l_Lean_withoutExporting___at___00Lean_Elab_Term_elabDoubleQuotedName_spec__1___redArg(v___f_11800_, v___x_11787_, v_a_11779_, v_a_11780_, v_a_11781_, v_a_11782_, v_a_11783_, v_a_11784_); +return v___x_11801_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___boxed(lean_object* v_stx_11802_, lean_object* v_expectedType_x3f_11803_, lean_object* v_a_11804_, lean_object* v_a_11805_, lean_object* v_a_11806_, lean_object* v_a_11807_, lean_object* v_a_11808_, lean_object* v_a_11809_, lean_object* v_a_11810_){ +_start: +{ +lean_object* v_res_11811_; +v_res_11811_ = l_Lean_Elab_Term_elabPrivateDecl(v_stx_11802_, v_expectedType_x3f_11803_, v_a_11804_, v_a_11805_, v_a_11806_, v_a_11807_, v_a_11808_, v_a_11809_); +return v_res_11811_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1(){ _start: { -lean_object* v___x_11759_; lean_object* v___x_11760_; lean_object* v___x_11761_; lean_object* v___x_11762_; lean_object* v___x_11763_; -v___x_11759_ = l_Lean_Elab_Term_termElabAttribute; -v___x_11760_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__1)); -v___x_11761_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1___closed__1)); -v___x_11762_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPrivateDecl___boxed), 9, 0); -v___x_11763_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_11759_, v___x_11760_, v___x_11761_, v___x_11762_); -return v___x_11763_; +lean_object* v___x_11819_; lean_object* v___x_11820_; lean_object* v___x_11821_; lean_object* v___x_11822_; lean_object* v___x_11823_; +v___x_11819_ = l_Lean_Elab_Term_termElabAttribute; +v___x_11820_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___closed__1)); +v___x_11821_ = ((lean_object*)(l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1___closed__1)); +v___x_11822_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabPrivateDecl___boxed), 9, 0); +v___x_11823_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_11819_, v___x_11820_, v___x_11821_, v___x_11822_); +return v___x_11823_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1___boxed(lean_object* v_a_11764_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1___boxed(lean_object* v_a_11824_){ _start: { -lean_object* v_res_11765_; -v_res_11765_ = l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1(); -return v_res_11765_; +lean_object* v_res_11825_; +v_res_11825_ = l_Lean_Elab_Term_elabPrivateDecl___regBuiltin_Lean_Elab_Term_elabPrivateDecl__1(); +return v_res_11825_; } } lean_object* runtime_initialize_Lean_Meta_Diagnostics(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Elab/DeclModifiers.c b/stage0/stdlib/Lean/Elab/DeclModifiers.c index c9b5acab3b..6c6954685a 100644 --- a/stage0/stdlib/Lean/Elab/DeclModifiers.c +++ b/stage0/stdlib/Lean/Elab/DeclModifiers.c @@ -53,6 +53,9 @@ lean_object* lean_st_ref_take(lean_object*); lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); lean_object* l_Lean_addProtected(lean_object*, lean_object*); +lean_object* l_Repr_addAppParen(lean_object*, lean_object*); +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* lean_nat_to_int(lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); lean_object* l_Lean_Elab_elabDeclAttrs___redArg(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*); @@ -80,7 +83,6 @@ lean_object* l_Lean_Syntax_formatStx(lean_object*, lean_object*, uint8_t); extern lean_object* l_Std_Format_defWidth; lean_object* l_Std_Format_pretty(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); -lean_object* lean_nat_to_int(lean_object*); lean_object* l_List_appendTR___redArg(lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); lean_object* l_List_mapTR_loop___redArg(lean_object*, lean_object*, lean_object*); @@ -105,7 +107,6 @@ size_t lean_usize_of_nat(lean_object*); lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_once_cell_t l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__0; @@ -250,6 +251,27 @@ LEAN_EXPORT lean_object* l_Lean_Elab_instBEqComputeKind_beq___boxed(lean_object* static const lean_closure_object l_Lean_Elab_instBEqComputeKind___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Elab_instBEqComputeKind_beq___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; static const lean_object* l_Lean_Elab_instBEqComputeKind___closed__0 = (const lean_object*)&l_Lean_Elab_instBEqComputeKind___closed__0_value; LEAN_EXPORT const lean_object* l_Lean_Elab_instBEqComputeKind = (const lean_object*)&l_Lean_Elab_instBEqComputeKind___closed__0_value; +static const lean_string_object l_Lean_Elab_instReprComputeKind_repr___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 30, .m_capacity = 30, .m_length = 29, .m_data = "Lean.Elab.ComputeKind.regular"}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__0 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__0_value; +static const lean_ctor_object l_Lean_Elab_instReprComputeKind_repr___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__0_value)}}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__1 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__1_value; +static const lean_string_object l_Lean_Elab_instReprComputeKind_repr___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 27, .m_capacity = 27, .m_length = 26, .m_data = "Lean.Elab.ComputeKind.meta"}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__2 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__2_value; +static const lean_ctor_object l_Lean_Elab_instReprComputeKind_repr___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__2_value)}}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__3 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__3_value; +static const lean_string_object l_Lean_Elab_instReprComputeKind_repr___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 36, .m_capacity = 36, .m_length = 35, .m_data = "Lean.Elab.ComputeKind.noncomputable"}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__4 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__4_value; +static const lean_ctor_object l_Lean_Elab_instReprComputeKind_repr___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 3}, .m_objs = {((lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__4_value)}}; +static const lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__5 = (const lean_object*)&l_Lean_Elab_instReprComputeKind_repr___closed__5_value; +static lean_once_cell_t l_Lean_Elab_instReprComputeKind_repr___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__6; +static lean_once_cell_t l_Lean_Elab_instReprComputeKind_repr___closed__7_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Elab_instReprComputeKind_repr___closed__7; +LEAN_EXPORT lean_object* l_Lean_Elab_instReprComputeKind_repr(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_instReprComputeKind_repr___boxed(lean_object*, lean_object*); +static const lean_closure_object l_Lean_Elab_instReprComputeKind___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Elab_instReprComputeKind_repr___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_Lean_Elab_instReprComputeKind___closed__0 = (const lean_object*)&l_Lean_Elab_instReprComputeKind___closed__0_value; +LEAN_EXPORT const lean_object* l_Lean_Elab_instReprComputeKind = (const lean_object*)&l_Lean_Elab_instReprComputeKind___closed__0_value; static const lean_array_object l_Lean_Elab_instInhabitedModifiers_default___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; static const lean_object* l_Lean_Elab_instInhabitedModifiers_default___closed__0 = (const lean_object*)&l_Lean_Elab_instInhabitedModifiers_default___closed__0_value; static const lean_ctor_object l_Lean_Elab_instInhabitedModifiers_default___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*3 + 8, .m_other = 3, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Elab_instInhabitedModifiers_default___closed__0_value),LEAN_SCALAR_PTR_LITERAL(0, 0, 0, 0, 0, 0, 0, 0)}}; @@ -2091,2866 +2113,3005 @@ v_r_562_ = lean_box(v_res_561_); return v_r_562_; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object* v_m_577_){ +static lean_object* _init_l_Lean_Elab_instReprComputeKind_repr___closed__6(void){ _start: { -uint8_t v_visibility_578_; uint8_t v___x_579_; -v_visibility_578_ = lean_ctor_get_uint8(v_m_577_, sizeof(void*)*3); -v___x_579_ = l_Lean_Elab_Visibility_isPrivate(v_visibility_578_); -return v___x_579_; +lean_object* v___x_574_; lean_object* v___x_575_; +v___x_574_ = lean_unsigned_to_nat(2u); +v___x_575_ = lean_nat_to_int(v___x_574_); +return v___x_575_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPrivate___boxed(lean_object* v_m_580_){ +static lean_object* _init_l_Lean_Elab_instReprComputeKind_repr___closed__7(void){ _start: { -uint8_t v_res_581_; lean_object* v_r_582_; -v_res_581_ = l_Lean_Elab_Modifiers_isPrivate(v_m_580_); -lean_dec_ref(v_m_580_); -v_r_582_ = lean_box(v_res_581_); -return v_r_582_; +lean_object* v___x_576_; lean_object* v___x_577_; +v___x_576_ = lean_unsigned_to_nat(1u); +v___x_577_ = lean_nat_to_int(v___x_576_); +return v___x_577_; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPublic(lean_object* v_m_583_){ +LEAN_EXPORT lean_object* l_Lean_Elab_instReprComputeKind_repr(uint8_t v_x_578_, lean_object* v_prec_579_){ _start: { -uint8_t v_visibility_584_; uint8_t v___x_585_; -v_visibility_584_ = lean_ctor_get_uint8(v_m_583_, sizeof(void*)*3); -v___x_585_ = l_Lean_Elab_Visibility_isPublic(v_visibility_584_); -return v___x_585_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPublic___boxed(lean_object* v_m_586_){ -_start: +lean_object* v___y_581_; lean_object* v___y_588_; lean_object* v___y_595_; +switch(v_x_578_) { -uint8_t v_res_587_; lean_object* v_r_588_; -v_res_587_ = l_Lean_Elab_Modifiers_isPublic(v_m_586_); -lean_dec_ref(v_m_586_); -v_r_588_ = lean_box(v_res_587_); -return v_r_588_; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isInferredPublic(lean_object* v_env_589_, lean_object* v_m_590_){ -_start: +case 0: { -uint8_t v_visibility_591_; uint8_t v___x_592_; -v_visibility_591_ = lean_ctor_get_uint8(v_m_590_, sizeof(void*)*3); -v___x_592_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_589_, v_visibility_591_); -return v___x_592_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isInferredPublic___boxed(lean_object* v_env_593_, lean_object* v_m_594_){ -_start: +lean_object* v___x_601_; uint8_t v___x_602_; +v___x_601_ = lean_unsigned_to_nat(1024u); +v___x_602_ = lean_nat_dec_le(v___x_601_, v_prec_579_); +if (v___x_602_ == 0) { -uint8_t v_res_595_; lean_object* v_r_596_; -v_res_595_ = l_Lean_Elab_Modifiers_isInferredPublic(v_env_593_, v_m_594_); -lean_dec_ref(v_m_594_); -lean_dec_ref(v_env_593_); -v_r_596_ = lean_box(v_res_595_); -return v_r_596_; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object* v_x_597_){ -_start: -{ -uint8_t v_recKind_598_; -v_recKind_598_ = lean_ctor_get_uint8(v_x_597_, sizeof(void*)*3 + 3); -if (v_recKind_598_ == 0) -{ -uint8_t v___x_599_; -v___x_599_ = 1; -return v___x_599_; +lean_object* v___x_603_; +v___x_603_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__6, &l_Lean_Elab_instReprComputeKind_repr___closed__6_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__6); +v___y_581_ = v___x_603_; +goto v___jp_580_; } else { -uint8_t v___x_600_; -v___x_600_ = 0; +lean_object* v___x_604_; +v___x_604_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__7, &l_Lean_Elab_instReprComputeKind_repr___closed__7_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__7); +v___y_581_ = v___x_604_; +goto v___jp_580_; +} +} +case 1: +{ +lean_object* v___x_605_; uint8_t v___x_606_; +v___x_605_ = lean_unsigned_to_nat(1024u); +v___x_606_ = lean_nat_dec_le(v___x_605_, v_prec_579_); +if (v___x_606_ == 0) +{ +lean_object* v___x_607_; +v___x_607_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__6, &l_Lean_Elab_instReprComputeKind_repr___closed__6_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__6); +v___y_588_ = v___x_607_; +goto v___jp_587_; +} +else +{ +lean_object* v___x_608_; +v___x_608_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__7, &l_Lean_Elab_instReprComputeKind_repr___closed__7_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__7); +v___y_588_ = v___x_608_; +goto v___jp_587_; +} +} +default: +{ +lean_object* v___x_609_; uint8_t v___x_610_; +v___x_609_ = lean_unsigned_to_nat(1024u); +v___x_610_ = lean_nat_dec_le(v___x_609_, v_prec_579_); +if (v___x_610_ == 0) +{ +lean_object* v___x_611_; +v___x_611_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__6, &l_Lean_Elab_instReprComputeKind_repr___closed__6_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__6); +v___y_595_ = v___x_611_; +goto v___jp_594_; +} +else +{ +lean_object* v___x_612_; +v___x_612_ = lean_obj_once(&l_Lean_Elab_instReprComputeKind_repr___closed__7, &l_Lean_Elab_instReprComputeKind_repr___closed__7_once, _init_l_Lean_Elab_instReprComputeKind_repr___closed__7); +v___y_595_ = v___x_612_; +goto v___jp_594_; +} +} +} +v___jp_580_: +{ +lean_object* v___x_582_; lean_object* v___x_583_; uint8_t v___x_584_; lean_object* v___x_585_; lean_object* v___x_586_; +v___x_582_ = ((lean_object*)(l_Lean_Elab_instReprComputeKind_repr___closed__1)); +v___x_583_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_583_, 0, v___y_581_); +lean_ctor_set(v___x_583_, 1, v___x_582_); +v___x_584_ = 0; +v___x_585_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_585_, 0, v___x_583_); +lean_ctor_set_uint8(v___x_585_, sizeof(void*)*1, v___x_584_); +v___x_586_ = l_Repr_addAppParen(v___x_585_, v_prec_579_); +return v___x_586_; +} +v___jp_587_: +{ +lean_object* v___x_589_; lean_object* v___x_590_; uint8_t v___x_591_; lean_object* v___x_592_; lean_object* v___x_593_; +v___x_589_ = ((lean_object*)(l_Lean_Elab_instReprComputeKind_repr___closed__3)); +v___x_590_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_590_, 0, v___y_588_); +lean_ctor_set(v___x_590_, 1, v___x_589_); +v___x_591_ = 0; +v___x_592_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_592_, 0, v___x_590_); +lean_ctor_set_uint8(v___x_592_, sizeof(void*)*1, v___x_591_); +v___x_593_ = l_Repr_addAppParen(v___x_592_, v_prec_579_); +return v___x_593_; +} +v___jp_594_: +{ +lean_object* v___x_596_; lean_object* v___x_597_; uint8_t v___x_598_; lean_object* v___x_599_; lean_object* v___x_600_; +v___x_596_ = ((lean_object*)(l_Lean_Elab_instReprComputeKind_repr___closed__5)); +v___x_597_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_597_, 0, v___y_595_); +lean_ctor_set(v___x_597_, 1, v___x_596_); +v___x_598_ = 0; +v___x_599_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_599_, 0, v___x_597_); +lean_ctor_set_uint8(v___x_599_, sizeof(void*)*1, v___x_598_); +v___x_600_ = l_Repr_addAppParen(v___x_599_, v_prec_579_); return v___x_600_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPartial___boxed(lean_object* v_x_601_){ +LEAN_EXPORT lean_object* l_Lean_Elab_instReprComputeKind_repr___boxed(lean_object* v_x_613_, lean_object* v_prec_614_){ _start: { -uint8_t v_res_602_; lean_object* v_r_603_; -v_res_602_ = l_Lean_Elab_Modifiers_isPartial(v_x_601_); -lean_dec_ref(v_x_601_); -v_r_603_ = lean_box(v_res_602_); -return v_r_603_; +uint8_t v_x_177__boxed_615_; lean_object* v_res_616_; +v_x_177__boxed_615_ = lean_unbox(v_x_613_); +v_res_616_ = l_Lean_Elab_instReprComputeKind_repr(v_x_177__boxed_615_, v_prec_614_); +lean_dec(v_prec_614_); +return v_res_616_; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isNonrec(lean_object* v_x_604_){ +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPrivate(lean_object* v_m_631_){ _start: { -uint8_t v_recKind_605_; -v_recKind_605_ = lean_ctor_get_uint8(v_x_604_, sizeof(void*)*3 + 3); -if (v_recKind_605_ == 1) +uint8_t v_visibility_632_; uint8_t v___x_633_; +v_visibility_632_ = lean_ctor_get_uint8(v_m_631_, sizeof(void*)*3); +v___x_633_ = l_Lean_Elab_Visibility_isPrivate(v_visibility_632_); +return v___x_633_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPrivate___boxed(lean_object* v_m_634_){ +_start: { -uint8_t v___x_606_; -v___x_606_ = 1; -return v___x_606_; +uint8_t v_res_635_; lean_object* v_r_636_; +v_res_635_ = l_Lean_Elab_Modifiers_isPrivate(v_m_634_); +lean_dec_ref(v_m_634_); +v_r_636_ = lean_box(v_res_635_); +return v_r_636_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPublic(lean_object* v_m_637_){ +_start: +{ +uint8_t v_visibility_638_; uint8_t v___x_639_; +v_visibility_638_ = lean_ctor_get_uint8(v_m_637_, sizeof(void*)*3); +v___x_639_ = l_Lean_Elab_Visibility_isPublic(v_visibility_638_); +return v___x_639_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPublic___boxed(lean_object* v_m_640_){ +_start: +{ +uint8_t v_res_641_; lean_object* v_r_642_; +v_res_641_ = l_Lean_Elab_Modifiers_isPublic(v_m_640_); +lean_dec_ref(v_m_640_); +v_r_642_ = lean_box(v_res_641_); +return v_r_642_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isInferredPublic(lean_object* v_env_643_, lean_object* v_m_644_){ +_start: +{ +uint8_t v_visibility_645_; uint8_t v___x_646_; +v_visibility_645_ = lean_ctor_get_uint8(v_m_644_, sizeof(void*)*3); +v___x_646_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_643_, v_visibility_645_); +return v___x_646_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isInferredPublic___boxed(lean_object* v_env_647_, lean_object* v_m_648_){ +_start: +{ +uint8_t v_res_649_; lean_object* v_r_650_; +v_res_649_ = l_Lean_Elab_Modifiers_isInferredPublic(v_env_647_, v_m_648_); +lean_dec_ref(v_m_648_); +lean_dec_ref(v_env_647_); +v_r_650_ = lean_box(v_res_649_); +return v_r_650_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object* v_x_651_){ +_start: +{ +uint8_t v_recKind_652_; +v_recKind_652_ = lean_ctor_get_uint8(v_x_651_, sizeof(void*)*3 + 3); +if (v_recKind_652_ == 0) +{ +uint8_t v___x_653_; +v___x_653_ = 1; +return v___x_653_; } else { -uint8_t v___x_607_; -v___x_607_ = 0; -return v___x_607_; +uint8_t v___x_654_; +v___x_654_ = 0; +return v___x_654_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isNonrec___boxed(lean_object* v_x_608_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isPartial___boxed(lean_object* v_x_655_){ _start: { -uint8_t v_res_609_; lean_object* v_r_610_; -v_res_609_ = l_Lean_Elab_Modifiers_isNonrec(v_x_608_); -lean_dec_ref(v_x_608_); -v_r_610_ = lean_box(v_res_609_); -return v_r_610_; +uint8_t v_res_656_; lean_object* v_r_657_; +v_res_656_ = l_Lean_Elab_Modifiers_isPartial(v_x_655_); +lean_dec_ref(v_x_655_); +v_r_657_ = lean_box(v_res_656_); +return v_r_657_; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isMeta(lean_object* v_m_611_){ +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isNonrec(lean_object* v_x_658_){ _start: { -uint8_t v_computeKind_612_; -v_computeKind_612_ = lean_ctor_get_uint8(v_m_611_, sizeof(void*)*3 + 2); -if (v_computeKind_612_ == 1) +uint8_t v_recKind_659_; +v_recKind_659_ = lean_ctor_get_uint8(v_x_658_, sizeof(void*)*3 + 3); +if (v_recKind_659_ == 1) { -uint8_t v___x_613_; -v___x_613_ = 1; -return v___x_613_; +uint8_t v___x_660_; +v___x_660_ = 1; +return v___x_660_; } else { -uint8_t v___x_614_; -v___x_614_ = 0; -return v___x_614_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isMeta___boxed(lean_object* v_m_615_){ -_start: -{ -uint8_t v_res_616_; lean_object* v_r_617_; -v_res_616_ = l_Lean_Elab_Modifiers_isMeta(v_m_615_); -lean_dec_ref(v_m_615_); -v_r_617_ = lean_box(v_res_616_); -return v_r_617_; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isNoncomputable(lean_object* v_m_618_){ -_start: -{ -uint8_t v_computeKind_619_; -v_computeKind_619_ = lean_ctor_get_uint8(v_m_618_, sizeof(void*)*3 + 2); -if (v_computeKind_619_ == 2) -{ -uint8_t v___x_620_; -v___x_620_ = 1; -return v___x_620_; -} -else -{ -uint8_t v___x_621_; -v___x_621_ = 0; -return v___x_621_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isNoncomputable___boxed(lean_object* v_m_622_){ -_start: -{ -uint8_t v_res_623_; lean_object* v_r_624_; -v_res_623_ = l_Lean_Elab_Modifiers_isNoncomputable(v_m_622_); -lean_dec_ref(v_m_622_); -v_r_624_ = lean_box(v_res_623_); -return v_r_624_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_addAttr(lean_object* v_modifiers_625_, lean_object* v_attr_626_){ -_start: -{ -lean_object* v_stx_627_; lean_object* v_docString_x3f_628_; uint8_t v_visibility_629_; uint8_t v_isProtected_630_; uint8_t v_computeKind_631_; uint8_t v_recKind_632_; uint8_t v_isUnsafe_633_; lean_object* v_attrs_634_; lean_object* v___x_636_; uint8_t v_isShared_637_; uint8_t v_isSharedCheck_642_; -v_stx_627_ = lean_ctor_get(v_modifiers_625_, 0); -v_docString_x3f_628_ = lean_ctor_get(v_modifiers_625_, 1); -v_visibility_629_ = lean_ctor_get_uint8(v_modifiers_625_, sizeof(void*)*3); -v_isProtected_630_ = lean_ctor_get_uint8(v_modifiers_625_, sizeof(void*)*3 + 1); -v_computeKind_631_ = lean_ctor_get_uint8(v_modifiers_625_, sizeof(void*)*3 + 2); -v_recKind_632_ = lean_ctor_get_uint8(v_modifiers_625_, sizeof(void*)*3 + 3); -v_isUnsafe_633_ = lean_ctor_get_uint8(v_modifiers_625_, sizeof(void*)*3 + 4); -v_attrs_634_ = lean_ctor_get(v_modifiers_625_, 2); -v_isSharedCheck_642_ = !lean_is_exclusive(v_modifiers_625_); -if (v_isSharedCheck_642_ == 0) -{ -v___x_636_ = v_modifiers_625_; -v_isShared_637_ = v_isSharedCheck_642_; -goto v_resetjp_635_; -} -else -{ -lean_inc(v_attrs_634_); -lean_inc(v_docString_x3f_628_); -lean_inc(v_stx_627_); -lean_dec(v_modifiers_625_); -v___x_636_ = lean_box(0); -v_isShared_637_ = v_isSharedCheck_642_; -goto v_resetjp_635_; -} -v_resetjp_635_: -{ -lean_object* v___x_638_; lean_object* v___x_640_; -v___x_638_ = lean_array_push(v_attrs_634_, v_attr_626_); -if (v_isShared_637_ == 0) -{ -lean_ctor_set(v___x_636_, 2, v___x_638_); -v___x_640_ = v___x_636_; -goto v_reusejp_639_; -} -else -{ -lean_object* v_reuseFailAlloc_641_; -v_reuseFailAlloc_641_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_641_, 0, v_stx_627_); -lean_ctor_set(v_reuseFailAlloc_641_, 1, v_docString_x3f_628_); -lean_ctor_set(v_reuseFailAlloc_641_, 2, v___x_638_); -lean_ctor_set_uint8(v_reuseFailAlloc_641_, sizeof(void*)*3, v_visibility_629_); -lean_ctor_set_uint8(v_reuseFailAlloc_641_, sizeof(void*)*3 + 1, v_isProtected_630_); -lean_ctor_set_uint8(v_reuseFailAlloc_641_, sizeof(void*)*3 + 2, v_computeKind_631_); -lean_ctor_set_uint8(v_reuseFailAlloc_641_, sizeof(void*)*3 + 3, v_recKind_632_); -lean_ctor_set_uint8(v_reuseFailAlloc_641_, sizeof(void*)*3 + 4, v_isUnsafe_633_); -v___x_640_ = v_reuseFailAlloc_641_; -goto v_reusejp_639_; -} -v_reusejp_639_: -{ -return v___x_640_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_addFirstAttr(lean_object* v_modifiers_643_, lean_object* v_attr_644_){ -_start: -{ -lean_object* v_stx_645_; lean_object* v_docString_x3f_646_; uint8_t v_visibility_647_; uint8_t v_isProtected_648_; uint8_t v_computeKind_649_; uint8_t v_recKind_650_; uint8_t v_isUnsafe_651_; lean_object* v_attrs_652_; lean_object* v___x_654_; uint8_t v_isShared_655_; uint8_t v_isSharedCheck_663_; -v_stx_645_ = lean_ctor_get(v_modifiers_643_, 0); -v_docString_x3f_646_ = lean_ctor_get(v_modifiers_643_, 1); -v_visibility_647_ = lean_ctor_get_uint8(v_modifiers_643_, sizeof(void*)*3); -v_isProtected_648_ = lean_ctor_get_uint8(v_modifiers_643_, sizeof(void*)*3 + 1); -v_computeKind_649_ = lean_ctor_get_uint8(v_modifiers_643_, sizeof(void*)*3 + 2); -v_recKind_650_ = lean_ctor_get_uint8(v_modifiers_643_, sizeof(void*)*3 + 3); -v_isUnsafe_651_ = lean_ctor_get_uint8(v_modifiers_643_, sizeof(void*)*3 + 4); -v_attrs_652_ = lean_ctor_get(v_modifiers_643_, 2); -v_isSharedCheck_663_ = !lean_is_exclusive(v_modifiers_643_); -if (v_isSharedCheck_663_ == 0) -{ -v___x_654_ = v_modifiers_643_; -v_isShared_655_ = v_isSharedCheck_663_; -goto v_resetjp_653_; -} -else -{ -lean_inc(v_attrs_652_); -lean_inc(v_docString_x3f_646_); -lean_inc(v_stx_645_); -lean_dec(v_modifiers_643_); -v___x_654_ = lean_box(0); -v_isShared_655_ = v_isSharedCheck_663_; -goto v_resetjp_653_; -} -v_resetjp_653_: -{ -lean_object* v___x_656_; lean_object* v___x_657_; lean_object* v___x_658_; lean_object* v___x_659_; lean_object* v___x_661_; -v___x_656_ = lean_unsigned_to_nat(1u); -v___x_657_ = lean_mk_empty_array_with_capacity(v___x_656_); -v___x_658_ = lean_array_push(v___x_657_, v_attr_644_); -v___x_659_ = l_Array_append___redArg(v___x_658_, v_attrs_652_); -lean_dec_ref(v_attrs_652_); -if (v_isShared_655_ == 0) -{ -lean_ctor_set(v___x_654_, 2, v___x_659_); -v___x_661_ = v___x_654_; -goto v_reusejp_660_; -} -else -{ -lean_object* v_reuseFailAlloc_662_; -v_reuseFailAlloc_662_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_662_, 0, v_stx_645_); -lean_ctor_set(v_reuseFailAlloc_662_, 1, v_docString_x3f_646_); -lean_ctor_set(v_reuseFailAlloc_662_, 2, v___x_659_); -lean_ctor_set_uint8(v_reuseFailAlloc_662_, sizeof(void*)*3, v_visibility_647_); -lean_ctor_set_uint8(v_reuseFailAlloc_662_, sizeof(void*)*3 + 1, v_isProtected_648_); -lean_ctor_set_uint8(v_reuseFailAlloc_662_, sizeof(void*)*3 + 2, v_computeKind_649_); -lean_ctor_set_uint8(v_reuseFailAlloc_662_, sizeof(void*)*3 + 3, v_recKind_650_); -lean_ctor_set_uint8(v_reuseFailAlloc_662_, sizeof(void*)*3 + 4, v_isUnsafe_651_); -v___x_661_ = v_reuseFailAlloc_662_; -goto v_reusejp_660_; -} -v_reusejp_660_: -{ +uint8_t v___x_661_; +v___x_661_ = 0; return v___x_661_; } } } -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(lean_object* v_p_664_, lean_object* v_as_665_, size_t v_i_666_, size_t v_stop_667_, lean_object* v_b_668_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isNonrec___boxed(lean_object* v_x_662_){ _start: { -lean_object* v___y_670_; uint8_t v___x_674_; -v___x_674_ = lean_usize_dec_eq(v_i_666_, v_stop_667_); -if (v___x_674_ == 0) +uint8_t v_res_663_; lean_object* v_r_664_; +v_res_663_ = l_Lean_Elab_Modifiers_isNonrec(v_x_662_); +lean_dec_ref(v_x_662_); +v_r_664_ = lean_box(v_res_663_); +return v_r_664_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isMeta(lean_object* v_m_665_){ +_start: { -lean_object* v___x_675_; lean_object* v___x_676_; uint8_t v___x_677_; -v___x_675_ = lean_array_uget_borrowed(v_as_665_, v_i_666_); -lean_inc_ref(v_p_664_); -lean_inc(v___x_675_); -v___x_676_ = lean_apply_1(v_p_664_, v___x_675_); -v___x_677_ = lean_unbox(v___x_676_); -if (v___x_677_ == 0) +uint8_t v_computeKind_666_; +v_computeKind_666_ = lean_ctor_get_uint8(v_m_665_, sizeof(void*)*3 + 2); +if (v_computeKind_666_ == 1) { -v___y_670_ = v_b_668_; -goto v___jp_669_; +uint8_t v___x_667_; +v___x_667_ = 1; +return v___x_667_; } else { -lean_object* v___x_678_; -lean_inc(v___x_675_); -v___x_678_ = lean_array_push(v_b_668_, v___x_675_); -v___y_670_ = v___x_678_; -goto v___jp_669_; +uint8_t v___x_668_; +v___x_668_ = 0; +return v___x_668_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isMeta___boxed(lean_object* v_m_669_){ +_start: +{ +uint8_t v_res_670_; lean_object* v_r_671_; +v_res_670_ = l_Lean_Elab_Modifiers_isMeta(v_m_669_); +lean_dec_ref(v_m_669_); +v_r_671_ = lean_box(v_res_670_); +return v_r_671_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_isNoncomputable(lean_object* v_m_672_){ +_start: +{ +uint8_t v_computeKind_673_; +v_computeKind_673_ = lean_ctor_get_uint8(v_m_672_, sizeof(void*)*3 + 2); +if (v_computeKind_673_ == 2) +{ +uint8_t v___x_674_; +v___x_674_ = 1; +return v___x_674_; +} +else +{ +uint8_t v___x_675_; +v___x_675_ = 0; +return v___x_675_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_isNoncomputable___boxed(lean_object* v_m_676_){ +_start: +{ +uint8_t v_res_677_; lean_object* v_r_678_; +v_res_677_ = l_Lean_Elab_Modifiers_isNoncomputable(v_m_676_); +lean_dec_ref(v_m_676_); +v_r_678_ = lean_box(v_res_677_); +return v_r_678_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_addAttr(lean_object* v_modifiers_679_, lean_object* v_attr_680_){ +_start: +{ +lean_object* v_stx_681_; lean_object* v_docString_x3f_682_; uint8_t v_visibility_683_; uint8_t v_isProtected_684_; uint8_t v_computeKind_685_; uint8_t v_recKind_686_; uint8_t v_isUnsafe_687_; lean_object* v_attrs_688_; lean_object* v___x_690_; uint8_t v_isShared_691_; uint8_t v_isSharedCheck_696_; +v_stx_681_ = lean_ctor_get(v_modifiers_679_, 0); +v_docString_x3f_682_ = lean_ctor_get(v_modifiers_679_, 1); +v_visibility_683_ = lean_ctor_get_uint8(v_modifiers_679_, sizeof(void*)*3); +v_isProtected_684_ = lean_ctor_get_uint8(v_modifiers_679_, sizeof(void*)*3 + 1); +v_computeKind_685_ = lean_ctor_get_uint8(v_modifiers_679_, sizeof(void*)*3 + 2); +v_recKind_686_ = lean_ctor_get_uint8(v_modifiers_679_, sizeof(void*)*3 + 3); +v_isUnsafe_687_ = lean_ctor_get_uint8(v_modifiers_679_, sizeof(void*)*3 + 4); +v_attrs_688_ = lean_ctor_get(v_modifiers_679_, 2); +v_isSharedCheck_696_ = !lean_is_exclusive(v_modifiers_679_); +if (v_isSharedCheck_696_ == 0) +{ +v___x_690_ = v_modifiers_679_; +v_isShared_691_ = v_isSharedCheck_696_; +goto v_resetjp_689_; +} +else +{ +lean_inc(v_attrs_688_); +lean_inc(v_docString_x3f_682_); +lean_inc(v_stx_681_); +lean_dec(v_modifiers_679_); +v___x_690_ = lean_box(0); +v_isShared_691_ = v_isSharedCheck_696_; +goto v_resetjp_689_; +} +v_resetjp_689_: +{ +lean_object* v___x_692_; lean_object* v___x_694_; +v___x_692_ = lean_array_push(v_attrs_688_, v_attr_680_); +if (v_isShared_691_ == 0) +{ +lean_ctor_set(v___x_690_, 2, v___x_692_); +v___x_694_ = v___x_690_; +goto v_reusejp_693_; +} +else +{ +lean_object* v_reuseFailAlloc_695_; +v_reuseFailAlloc_695_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_695_, 0, v_stx_681_); +lean_ctor_set(v_reuseFailAlloc_695_, 1, v_docString_x3f_682_); +lean_ctor_set(v_reuseFailAlloc_695_, 2, v___x_692_); +lean_ctor_set_uint8(v_reuseFailAlloc_695_, sizeof(void*)*3, v_visibility_683_); +lean_ctor_set_uint8(v_reuseFailAlloc_695_, sizeof(void*)*3 + 1, v_isProtected_684_); +lean_ctor_set_uint8(v_reuseFailAlloc_695_, sizeof(void*)*3 + 2, v_computeKind_685_); +lean_ctor_set_uint8(v_reuseFailAlloc_695_, sizeof(void*)*3 + 3, v_recKind_686_); +lean_ctor_set_uint8(v_reuseFailAlloc_695_, sizeof(void*)*3 + 4, v_isUnsafe_687_); +v___x_694_ = v_reuseFailAlloc_695_; +goto v_reusejp_693_; +} +v_reusejp_693_: +{ +return v___x_694_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_addFirstAttr(lean_object* v_modifiers_697_, lean_object* v_attr_698_){ +_start: +{ +lean_object* v_stx_699_; lean_object* v_docString_x3f_700_; uint8_t v_visibility_701_; uint8_t v_isProtected_702_; uint8_t v_computeKind_703_; uint8_t v_recKind_704_; uint8_t v_isUnsafe_705_; lean_object* v_attrs_706_; lean_object* v___x_708_; uint8_t v_isShared_709_; uint8_t v_isSharedCheck_717_; +v_stx_699_ = lean_ctor_get(v_modifiers_697_, 0); +v_docString_x3f_700_ = lean_ctor_get(v_modifiers_697_, 1); +v_visibility_701_ = lean_ctor_get_uint8(v_modifiers_697_, sizeof(void*)*3); +v_isProtected_702_ = lean_ctor_get_uint8(v_modifiers_697_, sizeof(void*)*3 + 1); +v_computeKind_703_ = lean_ctor_get_uint8(v_modifiers_697_, sizeof(void*)*3 + 2); +v_recKind_704_ = lean_ctor_get_uint8(v_modifiers_697_, sizeof(void*)*3 + 3); +v_isUnsafe_705_ = lean_ctor_get_uint8(v_modifiers_697_, sizeof(void*)*3 + 4); +v_attrs_706_ = lean_ctor_get(v_modifiers_697_, 2); +v_isSharedCheck_717_ = !lean_is_exclusive(v_modifiers_697_); +if (v_isSharedCheck_717_ == 0) +{ +v___x_708_ = v_modifiers_697_; +v_isShared_709_ = v_isSharedCheck_717_; +goto v_resetjp_707_; +} +else +{ +lean_inc(v_attrs_706_); +lean_inc(v_docString_x3f_700_); +lean_inc(v_stx_699_); +lean_dec(v_modifiers_697_); +v___x_708_ = lean_box(0); +v_isShared_709_ = v_isSharedCheck_717_; +goto v_resetjp_707_; +} +v_resetjp_707_: +{ +lean_object* v___x_710_; lean_object* v___x_711_; lean_object* v___x_712_; lean_object* v___x_713_; lean_object* v___x_715_; +v___x_710_ = lean_unsigned_to_nat(1u); +v___x_711_ = lean_mk_empty_array_with_capacity(v___x_710_); +v___x_712_ = lean_array_push(v___x_711_, v_attr_698_); +v___x_713_ = l_Array_append___redArg(v___x_712_, v_attrs_706_); +lean_dec_ref(v_attrs_706_); +if (v_isShared_709_ == 0) +{ +lean_ctor_set(v___x_708_, 2, v___x_713_); +v___x_715_ = v___x_708_; +goto v_reusejp_714_; +} +else +{ +lean_object* v_reuseFailAlloc_716_; +v_reuseFailAlloc_716_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_716_, 0, v_stx_699_); +lean_ctor_set(v_reuseFailAlloc_716_, 1, v_docString_x3f_700_); +lean_ctor_set(v_reuseFailAlloc_716_, 2, v___x_713_); +lean_ctor_set_uint8(v_reuseFailAlloc_716_, sizeof(void*)*3, v_visibility_701_); +lean_ctor_set_uint8(v_reuseFailAlloc_716_, sizeof(void*)*3 + 1, v_isProtected_702_); +lean_ctor_set_uint8(v_reuseFailAlloc_716_, sizeof(void*)*3 + 2, v_computeKind_703_); +lean_ctor_set_uint8(v_reuseFailAlloc_716_, sizeof(void*)*3 + 3, v_recKind_704_); +lean_ctor_set_uint8(v_reuseFailAlloc_716_, sizeof(void*)*3 + 4, v_isUnsafe_705_); +v___x_715_ = v_reuseFailAlloc_716_; +goto v_reusejp_714_; +} +v_reusejp_714_: +{ +return v___x_715_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(lean_object* v_p_718_, lean_object* v_as_719_, size_t v_i_720_, size_t v_stop_721_, lean_object* v_b_722_){ +_start: +{ +lean_object* v___y_724_; uint8_t v___x_728_; +v___x_728_ = lean_usize_dec_eq(v_i_720_, v_stop_721_); +if (v___x_728_ == 0) +{ +lean_object* v___x_729_; lean_object* v___x_730_; uint8_t v___x_731_; +v___x_729_ = lean_array_uget_borrowed(v_as_719_, v_i_720_); +lean_inc_ref(v_p_718_); +lean_inc(v___x_729_); +v___x_730_ = lean_apply_1(v_p_718_, v___x_729_); +v___x_731_ = lean_unbox(v___x_730_); +if (v___x_731_ == 0) +{ +v___y_724_ = v_b_722_; +goto v___jp_723_; +} +else +{ +lean_object* v___x_732_; +lean_inc(v___x_729_); +v___x_732_ = lean_array_push(v_b_722_, v___x_729_); +v___y_724_ = v___x_732_; +goto v___jp_723_; } } else { -lean_dec_ref(v_p_664_); -return v_b_668_; +lean_dec_ref(v_p_718_); +return v_b_722_; } -v___jp_669_: +v___jp_723_: { -size_t v___x_671_; size_t v___x_672_; -v___x_671_ = ((size_t)1ULL); -v___x_672_ = lean_usize_add(v_i_666_, v___x_671_); -v_i_666_ = v___x_672_; -v_b_668_ = v___y_670_; +size_t v___x_725_; size_t v___x_726_; +v___x_725_ = ((size_t)1ULL); +v___x_726_ = lean_usize_add(v_i_720_, v___x_725_); +v_i_720_ = v___x_726_; +v_b_722_ = v___y_724_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0___boxed(lean_object* v_p_679_, lean_object* v_as_680_, lean_object* v_i_681_, lean_object* v_stop_682_, lean_object* v_b_683_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0___boxed(lean_object* v_p_733_, lean_object* v_as_734_, lean_object* v_i_735_, lean_object* v_stop_736_, lean_object* v_b_737_){ _start: { -size_t v_i_boxed_684_; size_t v_stop_boxed_685_; lean_object* v_res_686_; -v_i_boxed_684_ = lean_unbox_usize(v_i_681_); -lean_dec(v_i_681_); -v_stop_boxed_685_ = lean_unbox_usize(v_stop_682_); -lean_dec(v_stop_682_); -v_res_686_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_679_, v_as_680_, v_i_boxed_684_, v_stop_boxed_685_, v_b_683_); -lean_dec_ref(v_as_680_); -return v_res_686_; +size_t v_i_boxed_738_; size_t v_stop_boxed_739_; lean_object* v_res_740_; +v_i_boxed_738_ = lean_unbox_usize(v_i_735_); +lean_dec(v_i_735_); +v_stop_boxed_739_ = lean_unbox_usize(v_stop_736_); +lean_dec(v_stop_736_); +v_res_740_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_733_, v_as_734_, v_i_boxed_738_, v_stop_boxed_739_, v_b_737_); +lean_dec_ref(v_as_734_); +return v_res_740_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_filterAttrs(lean_object* v_modifiers_689_, lean_object* v_p_690_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_filterAttrs(lean_object* v_modifiers_743_, lean_object* v_p_744_){ _start: { -lean_object* v_stx_691_; lean_object* v_docString_x3f_692_; uint8_t v_visibility_693_; uint8_t v_isProtected_694_; uint8_t v_computeKind_695_; uint8_t v_recKind_696_; uint8_t v_isUnsafe_697_; lean_object* v_attrs_698_; lean_object* v___x_700_; uint8_t v_isShared_701_; uint8_t v_isSharedCheck_725_; -v_stx_691_ = lean_ctor_get(v_modifiers_689_, 0); -v_docString_x3f_692_ = lean_ctor_get(v_modifiers_689_, 1); -v_visibility_693_ = lean_ctor_get_uint8(v_modifiers_689_, sizeof(void*)*3); -v_isProtected_694_ = lean_ctor_get_uint8(v_modifiers_689_, sizeof(void*)*3 + 1); -v_computeKind_695_ = lean_ctor_get_uint8(v_modifiers_689_, sizeof(void*)*3 + 2); -v_recKind_696_ = lean_ctor_get_uint8(v_modifiers_689_, sizeof(void*)*3 + 3); -v_isUnsafe_697_ = lean_ctor_get_uint8(v_modifiers_689_, sizeof(void*)*3 + 4); -v_attrs_698_ = lean_ctor_get(v_modifiers_689_, 2); -v_isSharedCheck_725_ = !lean_is_exclusive(v_modifiers_689_); -if (v_isSharedCheck_725_ == 0) +lean_object* v_stx_745_; lean_object* v_docString_x3f_746_; uint8_t v_visibility_747_; uint8_t v_isProtected_748_; uint8_t v_computeKind_749_; uint8_t v_recKind_750_; uint8_t v_isUnsafe_751_; lean_object* v_attrs_752_; lean_object* v___x_754_; uint8_t v_isShared_755_; uint8_t v_isSharedCheck_779_; +v_stx_745_ = lean_ctor_get(v_modifiers_743_, 0); +v_docString_x3f_746_ = lean_ctor_get(v_modifiers_743_, 1); +v_visibility_747_ = lean_ctor_get_uint8(v_modifiers_743_, sizeof(void*)*3); +v_isProtected_748_ = lean_ctor_get_uint8(v_modifiers_743_, sizeof(void*)*3 + 1); +v_computeKind_749_ = lean_ctor_get_uint8(v_modifiers_743_, sizeof(void*)*3 + 2); +v_recKind_750_ = lean_ctor_get_uint8(v_modifiers_743_, sizeof(void*)*3 + 3); +v_isUnsafe_751_ = lean_ctor_get_uint8(v_modifiers_743_, sizeof(void*)*3 + 4); +v_attrs_752_ = lean_ctor_get(v_modifiers_743_, 2); +v_isSharedCheck_779_ = !lean_is_exclusive(v_modifiers_743_); +if (v_isSharedCheck_779_ == 0) { -v___x_700_ = v_modifiers_689_; -v_isShared_701_ = v_isSharedCheck_725_; -goto v_resetjp_699_; +v___x_754_ = v_modifiers_743_; +v_isShared_755_ = v_isSharedCheck_779_; +goto v_resetjp_753_; } else { -lean_inc(v_attrs_698_); -lean_inc(v_docString_x3f_692_); -lean_inc(v_stx_691_); -lean_dec(v_modifiers_689_); -v___x_700_ = lean_box(0); -v_isShared_701_ = v_isSharedCheck_725_; -goto v_resetjp_699_; +lean_inc(v_attrs_752_); +lean_inc(v_docString_x3f_746_); +lean_inc(v_stx_745_); +lean_dec(v_modifiers_743_); +v___x_754_ = lean_box(0); +v_isShared_755_ = v_isSharedCheck_779_; +goto v_resetjp_753_; } -v_resetjp_699_: +v_resetjp_753_: { -lean_object* v___x_702_; lean_object* v___x_703_; lean_object* v___x_704_; uint8_t v___x_705_; -v___x_702_ = lean_unsigned_to_nat(0u); -v___x_703_ = lean_array_get_size(v_attrs_698_); -v___x_704_ = ((lean_object*)(l_Lean_Elab_Modifiers_filterAttrs___closed__0)); -v___x_705_ = lean_nat_dec_lt(v___x_702_, v___x_703_); -if (v___x_705_ == 0) +lean_object* v___x_756_; lean_object* v___x_757_; lean_object* v___x_758_; uint8_t v___x_759_; +v___x_756_ = lean_unsigned_to_nat(0u); +v___x_757_ = lean_array_get_size(v_attrs_752_); +v___x_758_ = ((lean_object*)(l_Lean_Elab_Modifiers_filterAttrs___closed__0)); +v___x_759_ = lean_nat_dec_lt(v___x_756_, v___x_757_); +if (v___x_759_ == 0) { -lean_object* v___x_707_; -lean_dec_ref(v_attrs_698_); -lean_dec_ref(v_p_690_); -if (v_isShared_701_ == 0) +lean_object* v___x_761_; +lean_dec_ref(v_attrs_752_); +lean_dec_ref(v_p_744_); +if (v_isShared_755_ == 0) { -lean_ctor_set(v___x_700_, 2, v___x_704_); -v___x_707_ = v___x_700_; -goto v_reusejp_706_; +lean_ctor_set(v___x_754_, 2, v___x_758_); +v___x_761_ = v___x_754_; +goto v_reusejp_760_; } else { -lean_object* v_reuseFailAlloc_708_; -v_reuseFailAlloc_708_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_708_, 0, v_stx_691_); -lean_ctor_set(v_reuseFailAlloc_708_, 1, v_docString_x3f_692_); -lean_ctor_set(v_reuseFailAlloc_708_, 2, v___x_704_); -lean_ctor_set_uint8(v_reuseFailAlloc_708_, sizeof(void*)*3, v_visibility_693_); -lean_ctor_set_uint8(v_reuseFailAlloc_708_, sizeof(void*)*3 + 1, v_isProtected_694_); -lean_ctor_set_uint8(v_reuseFailAlloc_708_, sizeof(void*)*3 + 2, v_computeKind_695_); -lean_ctor_set_uint8(v_reuseFailAlloc_708_, sizeof(void*)*3 + 3, v_recKind_696_); -lean_ctor_set_uint8(v_reuseFailAlloc_708_, sizeof(void*)*3 + 4, v_isUnsafe_697_); -v___x_707_ = v_reuseFailAlloc_708_; -goto v_reusejp_706_; +lean_object* v_reuseFailAlloc_762_; +v_reuseFailAlloc_762_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_762_, 0, v_stx_745_); +lean_ctor_set(v_reuseFailAlloc_762_, 1, v_docString_x3f_746_); +lean_ctor_set(v_reuseFailAlloc_762_, 2, v___x_758_); +lean_ctor_set_uint8(v_reuseFailAlloc_762_, sizeof(void*)*3, v_visibility_747_); +lean_ctor_set_uint8(v_reuseFailAlloc_762_, sizeof(void*)*3 + 1, v_isProtected_748_); +lean_ctor_set_uint8(v_reuseFailAlloc_762_, sizeof(void*)*3 + 2, v_computeKind_749_); +lean_ctor_set_uint8(v_reuseFailAlloc_762_, sizeof(void*)*3 + 3, v_recKind_750_); +lean_ctor_set_uint8(v_reuseFailAlloc_762_, sizeof(void*)*3 + 4, v_isUnsafe_751_); +v___x_761_ = v_reuseFailAlloc_762_; +goto v_reusejp_760_; } -v_reusejp_706_: +v_reusejp_760_: { -return v___x_707_; +return v___x_761_; } } else { -uint8_t v___x_709_; -v___x_709_ = lean_nat_dec_le(v___x_703_, v___x_703_); -if (v___x_709_ == 0) +uint8_t v___x_763_; +v___x_763_ = lean_nat_dec_le(v___x_757_, v___x_757_); +if (v___x_763_ == 0) { -if (v___x_705_ == 0) +if (v___x_759_ == 0) { -lean_object* v___x_711_; -lean_dec_ref(v_attrs_698_); -lean_dec_ref(v_p_690_); -if (v_isShared_701_ == 0) +lean_object* v___x_765_; +lean_dec_ref(v_attrs_752_); +lean_dec_ref(v_p_744_); +if (v_isShared_755_ == 0) { -lean_ctor_set(v___x_700_, 2, v___x_704_); -v___x_711_ = v___x_700_; -goto v_reusejp_710_; +lean_ctor_set(v___x_754_, 2, v___x_758_); +v___x_765_ = v___x_754_; +goto v_reusejp_764_; } else { -lean_object* v_reuseFailAlloc_712_; -v_reuseFailAlloc_712_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_712_, 0, v_stx_691_); -lean_ctor_set(v_reuseFailAlloc_712_, 1, v_docString_x3f_692_); -lean_ctor_set(v_reuseFailAlloc_712_, 2, v___x_704_); -lean_ctor_set_uint8(v_reuseFailAlloc_712_, sizeof(void*)*3, v_visibility_693_); -lean_ctor_set_uint8(v_reuseFailAlloc_712_, sizeof(void*)*3 + 1, v_isProtected_694_); -lean_ctor_set_uint8(v_reuseFailAlloc_712_, sizeof(void*)*3 + 2, v_computeKind_695_); -lean_ctor_set_uint8(v_reuseFailAlloc_712_, sizeof(void*)*3 + 3, v_recKind_696_); -lean_ctor_set_uint8(v_reuseFailAlloc_712_, sizeof(void*)*3 + 4, v_isUnsafe_697_); -v___x_711_ = v_reuseFailAlloc_712_; -goto v_reusejp_710_; +lean_object* v_reuseFailAlloc_766_; +v_reuseFailAlloc_766_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_766_, 0, v_stx_745_); +lean_ctor_set(v_reuseFailAlloc_766_, 1, v_docString_x3f_746_); +lean_ctor_set(v_reuseFailAlloc_766_, 2, v___x_758_); +lean_ctor_set_uint8(v_reuseFailAlloc_766_, sizeof(void*)*3, v_visibility_747_); +lean_ctor_set_uint8(v_reuseFailAlloc_766_, sizeof(void*)*3 + 1, v_isProtected_748_); +lean_ctor_set_uint8(v_reuseFailAlloc_766_, sizeof(void*)*3 + 2, v_computeKind_749_); +lean_ctor_set_uint8(v_reuseFailAlloc_766_, sizeof(void*)*3 + 3, v_recKind_750_); +lean_ctor_set_uint8(v_reuseFailAlloc_766_, sizeof(void*)*3 + 4, v_isUnsafe_751_); +v___x_765_ = v_reuseFailAlloc_766_; +goto v_reusejp_764_; } -v_reusejp_710_: +v_reusejp_764_: { -return v___x_711_; +return v___x_765_; } } else { -size_t v___x_713_; size_t v___x_714_; lean_object* v___x_715_; lean_object* v___x_717_; -v___x_713_ = ((size_t)0ULL); -v___x_714_ = lean_usize_of_nat(v___x_703_); -v___x_715_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_690_, v_attrs_698_, v___x_713_, v___x_714_, v___x_704_); -lean_dec_ref(v_attrs_698_); -if (v_isShared_701_ == 0) +size_t v___x_767_; size_t v___x_768_; lean_object* v___x_769_; lean_object* v___x_771_; +v___x_767_ = ((size_t)0ULL); +v___x_768_ = lean_usize_of_nat(v___x_757_); +v___x_769_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_744_, v_attrs_752_, v___x_767_, v___x_768_, v___x_758_); +lean_dec_ref(v_attrs_752_); +if (v_isShared_755_ == 0) { -lean_ctor_set(v___x_700_, 2, v___x_715_); -v___x_717_ = v___x_700_; -goto v_reusejp_716_; +lean_ctor_set(v___x_754_, 2, v___x_769_); +v___x_771_ = v___x_754_; +goto v_reusejp_770_; } else { -lean_object* v_reuseFailAlloc_718_; -v_reuseFailAlloc_718_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_718_, 0, v_stx_691_); -lean_ctor_set(v_reuseFailAlloc_718_, 1, v_docString_x3f_692_); -lean_ctor_set(v_reuseFailAlloc_718_, 2, v___x_715_); -lean_ctor_set_uint8(v_reuseFailAlloc_718_, sizeof(void*)*3, v_visibility_693_); -lean_ctor_set_uint8(v_reuseFailAlloc_718_, sizeof(void*)*3 + 1, v_isProtected_694_); -lean_ctor_set_uint8(v_reuseFailAlloc_718_, sizeof(void*)*3 + 2, v_computeKind_695_); -lean_ctor_set_uint8(v_reuseFailAlloc_718_, sizeof(void*)*3 + 3, v_recKind_696_); -lean_ctor_set_uint8(v_reuseFailAlloc_718_, sizeof(void*)*3 + 4, v_isUnsafe_697_); -v___x_717_ = v_reuseFailAlloc_718_; -goto v_reusejp_716_; +lean_object* v_reuseFailAlloc_772_; +v_reuseFailAlloc_772_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_772_, 0, v_stx_745_); +lean_ctor_set(v_reuseFailAlloc_772_, 1, v_docString_x3f_746_); +lean_ctor_set(v_reuseFailAlloc_772_, 2, v___x_769_); +lean_ctor_set_uint8(v_reuseFailAlloc_772_, sizeof(void*)*3, v_visibility_747_); +lean_ctor_set_uint8(v_reuseFailAlloc_772_, sizeof(void*)*3 + 1, v_isProtected_748_); +lean_ctor_set_uint8(v_reuseFailAlloc_772_, sizeof(void*)*3 + 2, v_computeKind_749_); +lean_ctor_set_uint8(v_reuseFailAlloc_772_, sizeof(void*)*3 + 3, v_recKind_750_); +lean_ctor_set_uint8(v_reuseFailAlloc_772_, sizeof(void*)*3 + 4, v_isUnsafe_751_); +v___x_771_ = v_reuseFailAlloc_772_; +goto v_reusejp_770_; } -v_reusejp_716_: +v_reusejp_770_: { -return v___x_717_; +return v___x_771_; } } } else { -size_t v___x_719_; size_t v___x_720_; lean_object* v___x_721_; lean_object* v___x_723_; -v___x_719_ = ((size_t)0ULL); -v___x_720_ = lean_usize_of_nat(v___x_703_); -v___x_721_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_690_, v_attrs_698_, v___x_719_, v___x_720_, v___x_704_); -lean_dec_ref(v_attrs_698_); -if (v_isShared_701_ == 0) +size_t v___x_773_; size_t v___x_774_; lean_object* v___x_775_; lean_object* v___x_777_; +v___x_773_ = ((size_t)0ULL); +v___x_774_ = lean_usize_of_nat(v___x_757_); +v___x_775_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Modifiers_filterAttrs_spec__0(v_p_744_, v_attrs_752_, v___x_773_, v___x_774_, v___x_758_); +lean_dec_ref(v_attrs_752_); +if (v_isShared_755_ == 0) { -lean_ctor_set(v___x_700_, 2, v___x_721_); -v___x_723_ = v___x_700_; -goto v_reusejp_722_; +lean_ctor_set(v___x_754_, 2, v___x_775_); +v___x_777_ = v___x_754_; +goto v_reusejp_776_; } else { -lean_object* v_reuseFailAlloc_724_; -v_reuseFailAlloc_724_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_724_, 0, v_stx_691_); -lean_ctor_set(v_reuseFailAlloc_724_, 1, v_docString_x3f_692_); -lean_ctor_set(v_reuseFailAlloc_724_, 2, v___x_721_); -lean_ctor_set_uint8(v_reuseFailAlloc_724_, sizeof(void*)*3, v_visibility_693_); -lean_ctor_set_uint8(v_reuseFailAlloc_724_, sizeof(void*)*3 + 1, v_isProtected_694_); -lean_ctor_set_uint8(v_reuseFailAlloc_724_, sizeof(void*)*3 + 2, v_computeKind_695_); -lean_ctor_set_uint8(v_reuseFailAlloc_724_, sizeof(void*)*3 + 3, v_recKind_696_); -lean_ctor_set_uint8(v_reuseFailAlloc_724_, sizeof(void*)*3 + 4, v_isUnsafe_697_); -v___x_723_ = v_reuseFailAlloc_724_; -goto v_reusejp_722_; +lean_object* v_reuseFailAlloc_778_; +v_reuseFailAlloc_778_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_778_, 0, v_stx_745_); +lean_ctor_set(v_reuseFailAlloc_778_, 1, v_docString_x3f_746_); +lean_ctor_set(v_reuseFailAlloc_778_, 2, v___x_775_); +lean_ctor_set_uint8(v_reuseFailAlloc_778_, sizeof(void*)*3, v_visibility_747_); +lean_ctor_set_uint8(v_reuseFailAlloc_778_, sizeof(void*)*3 + 1, v_isProtected_748_); +lean_ctor_set_uint8(v_reuseFailAlloc_778_, sizeof(void*)*3 + 2, v_computeKind_749_); +lean_ctor_set_uint8(v_reuseFailAlloc_778_, sizeof(void*)*3 + 3, v_recKind_750_); +lean_ctor_set_uint8(v_reuseFailAlloc_778_, sizeof(void*)*3 + 4, v_isUnsafe_751_); +v___x_777_ = v_reuseFailAlloc_778_; +goto v_reusejp_776_; } -v_reusejp_722_: +v_reusejp_776_: { -return v___x_723_; +return v___x_777_; } } } } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(lean_object* v_p_726_, lean_object* v_as_727_, size_t v_i_728_, size_t v_stop_729_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(lean_object* v_p_780_, lean_object* v_as_781_, size_t v_i_782_, size_t v_stop_783_){ _start: { -uint8_t v___x_730_; -v___x_730_ = lean_usize_dec_eq(v_i_728_, v_stop_729_); -if (v___x_730_ == 0) +uint8_t v___x_784_; +v___x_784_ = lean_usize_dec_eq(v_i_782_, v_stop_783_); +if (v___x_784_ == 0) { -lean_object* v___x_731_; lean_object* v___x_732_; uint8_t v___x_733_; -v___x_731_ = lean_array_uget_borrowed(v_as_727_, v_i_728_); -lean_inc_ref(v_p_726_); -lean_inc(v___x_731_); -v___x_732_ = lean_apply_1(v_p_726_, v___x_731_); -v___x_733_ = lean_unbox(v___x_732_); -if (v___x_733_ == 0) +lean_object* v___x_785_; lean_object* v___x_786_; uint8_t v___x_787_; +v___x_785_ = lean_array_uget_borrowed(v_as_781_, v_i_782_); +lean_inc_ref(v_p_780_); +lean_inc(v___x_785_); +v___x_786_ = lean_apply_1(v_p_780_, v___x_785_); +v___x_787_ = lean_unbox(v___x_786_); +if (v___x_787_ == 0) { -size_t v___x_734_; size_t v___x_735_; -v___x_734_ = ((size_t)1ULL); -v___x_735_ = lean_usize_add(v_i_728_, v___x_734_); -v_i_728_ = v___x_735_; +size_t v___x_788_; size_t v___x_789_; +v___x_788_ = ((size_t)1ULL); +v___x_789_ = lean_usize_add(v_i_782_, v___x_788_); +v_i_782_ = v___x_789_; goto _start; } else { -uint8_t v___x_737_; -lean_dec_ref(v_p_726_); -v___x_737_ = lean_unbox(v___x_732_); -return v___x_737_; +uint8_t v___x_791_; +lean_dec_ref(v_p_780_); +v___x_791_ = lean_unbox(v___x_786_); +return v___x_791_; } } else { -uint8_t v___x_738_; -lean_dec_ref(v_p_726_); -v___x_738_ = 0; -return v___x_738_; +uint8_t v___x_792_; +lean_dec_ref(v_p_780_); +v___x_792_ = 0; +return v___x_792_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0___boxed(lean_object* v_p_739_, lean_object* v_as_740_, lean_object* v_i_741_, lean_object* v_stop_742_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0___boxed(lean_object* v_p_793_, lean_object* v_as_794_, lean_object* v_i_795_, lean_object* v_stop_796_){ _start: { -size_t v_i_boxed_743_; size_t v_stop_boxed_744_; uint8_t v_res_745_; lean_object* v_r_746_; -v_i_boxed_743_ = lean_unbox_usize(v_i_741_); -lean_dec(v_i_741_); -v_stop_boxed_744_ = lean_unbox_usize(v_stop_742_); -lean_dec(v_stop_742_); -v_res_745_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(v_p_739_, v_as_740_, v_i_boxed_743_, v_stop_boxed_744_); -lean_dec_ref(v_as_740_); -v_r_746_ = lean_box(v_res_745_); -return v_r_746_; +size_t v_i_boxed_797_; size_t v_stop_boxed_798_; uint8_t v_res_799_; lean_object* v_r_800_; +v_i_boxed_797_ = lean_unbox_usize(v_i_795_); +lean_dec(v_i_795_); +v_stop_boxed_798_ = lean_unbox_usize(v_stop_796_); +lean_dec(v_stop_796_); +v_res_799_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(v_p_793_, v_as_794_, v_i_boxed_797_, v_stop_boxed_798_); +lean_dec_ref(v_as_794_); +v_r_800_ = lean_box(v_res_799_); +return v_r_800_; } } -LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_anyAttr(lean_object* v_modifiers_747_, lean_object* v_p_748_){ +LEAN_EXPORT uint8_t l_Lean_Elab_Modifiers_anyAttr(lean_object* v_modifiers_801_, lean_object* v_p_802_){ _start: { -lean_object* v_attrs_749_; lean_object* v___x_750_; lean_object* v___x_751_; uint8_t v___x_752_; -v_attrs_749_ = lean_ctor_get(v_modifiers_747_, 2); -v___x_750_ = lean_unsigned_to_nat(0u); -v___x_751_ = lean_array_get_size(v_attrs_749_); -v___x_752_ = lean_nat_dec_lt(v___x_750_, v___x_751_); -if (v___x_752_ == 0) +lean_object* v_attrs_803_; lean_object* v___x_804_; lean_object* v___x_805_; uint8_t v___x_806_; +v_attrs_803_ = lean_ctor_get(v_modifiers_801_, 2); +v___x_804_ = lean_unsigned_to_nat(0u); +v___x_805_ = lean_array_get_size(v_attrs_803_); +v___x_806_ = lean_nat_dec_lt(v___x_804_, v___x_805_); +if (v___x_806_ == 0) { -lean_dec_ref(v_p_748_); -return v___x_752_; +lean_dec_ref(v_p_802_); +return v___x_806_; } else { -if (v___x_752_ == 0) +if (v___x_806_ == 0) { -lean_dec_ref(v_p_748_); -return v___x_752_; +lean_dec_ref(v_p_802_); +return v___x_806_; } else { -size_t v___x_753_; size_t v___x_754_; uint8_t v___x_755_; -v___x_753_ = ((size_t)0ULL); -v___x_754_ = lean_usize_of_nat(v___x_751_); -v___x_755_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(v_p_748_, v_attrs_749_, v___x_753_, v___x_754_); -return v___x_755_; +size_t v___x_807_; size_t v___x_808_; uint8_t v___x_809_; +v___x_807_ = ((size_t)0ULL); +v___x_808_ = lean_usize_of_nat(v___x_805_); +v___x_809_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Modifiers_anyAttr_spec__0(v_p_802_, v_attrs_803_, v___x_807_, v___x_808_); +return v___x_809_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_anyAttr___boxed(lean_object* v_modifiers_756_, lean_object* v_p_757_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Modifiers_anyAttr___boxed(lean_object* v_modifiers_810_, lean_object* v_p_811_){ _start: { -uint8_t v_res_758_; lean_object* v_r_759_; -v_res_758_ = l_Lean_Elab_Modifiers_anyAttr(v_modifiers_756_, v_p_757_); -lean_dec_ref(v_modifiers_756_); -v_r_759_ = lean_box(v_res_758_); -return v_r_759_; +uint8_t v_res_812_; lean_object* v_r_813_; +v_res_812_ = l_Lean_Elab_Modifiers_anyAttr(v_modifiers_810_, v_p_811_); +lean_dec_ref(v_modifiers_810_); +v_r_813_ = lean_box(v_res_812_); +return v_r_813_; } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__2(void){ _start: { -lean_object* v___x_762_; lean_object* v___x_763_; -v___x_762_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__0)); -v___x_763_ = lean_string_length(v___x_762_); -return v___x_763_; +lean_object* v___x_816_; lean_object* v___x_817_; +v___x_816_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__0)); +v___x_817_ = lean_string_length(v___x_816_); +return v___x_817_; } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__3(void){ _start: { -lean_object* v___x_764_; lean_object* v___x_765_; -v___x_764_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__0___closed__2, &l_Lean_Elab_instToFormatModifiers___lam__0___closed__2_once, _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__2); -v___x_765_ = lean_nat_to_int(v___x_764_); -return v___x_765_; +lean_object* v___x_818_; lean_object* v___x_819_; +v___x_818_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__0___closed__2, &l_Lean_Elab_instToFormatModifiers___lam__0___closed__2_once, _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__2); +v___x_819_ = lean_nat_to_int(v___x_818_); +return v___x_819_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_instToFormatModifiers___lam__0(lean_object* v_attr_773_){ +LEAN_EXPORT lean_object* l_Lean_Elab_instToFormatModifiers___lam__0(lean_object* v_attr_827_){ _start: { -uint8_t v_kind_774_; lean_object* v_name_775_; lean_object* v_stx_776_; lean_object* v___y_778_; -v_kind_774_ = lean_ctor_get_uint8(v_attr_773_, sizeof(void*)*2); -v_name_775_ = lean_ctor_get(v_attr_773_, 0); -lean_inc(v_name_775_); -v_stx_776_ = lean_ctor_get(v_attr_773_, 1); -lean_inc(v_stx_776_); -lean_dec_ref(v_attr_773_); -switch(v_kind_774_) +uint8_t v_kind_828_; lean_object* v_name_829_; lean_object* v_stx_830_; lean_object* v___y_832_; +v_kind_828_ = lean_ctor_get_uint8(v_attr_827_, sizeof(void*)*2); +v_name_829_ = lean_ctor_get(v_attr_827_, 0); +lean_inc(v_name_829_); +v_stx_830_ = lean_ctor_get(v_attr_827_, 1); +lean_inc(v_stx_830_); +lean_dec_ref(v_attr_827_); +switch(v_kind_828_) { case 0: { -lean_object* v___x_800_; -v___x_800_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__6)); -v___y_778_ = v___x_800_; -goto v___jp_777_; +lean_object* v___x_854_; +v___x_854_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__6)); +v___y_832_ = v___x_854_; +goto v___jp_831_; } case 1: { -lean_object* v___x_801_; -v___x_801_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__7)); -v___y_778_ = v___x_801_; -goto v___jp_777_; +lean_object* v___x_855_; +v___x_855_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__7)); +v___y_832_ = v___x_855_; +goto v___jp_831_; } default: { -lean_object* v___x_802_; -v___x_802_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__8)); -v___y_778_ = v___x_802_; -goto v___jp_777_; +lean_object* v___x_856_; +v___x_856_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__8)); +v___y_832_ = v___x_856_; +goto v___jp_831_; } } -v___jp_777_: +v___jp_831_: { -lean_object* v___x_779_; uint8_t v___x_780_; lean_object* v___x_781_; lean_object* v___x_782_; lean_object* v___x_783_; lean_object* v___x_784_; uint8_t v___x_785_; lean_object* v___x_786_; lean_object* v___x_787_; lean_object* v___x_788_; lean_object* v___x_789_; lean_object* v___x_790_; lean_object* v___x_791_; lean_object* v___x_792_; lean_object* v___x_793_; lean_object* v___x_794_; lean_object* v___x_795_; lean_object* v___x_796_; lean_object* v___x_797_; uint8_t v___x_798_; lean_object* v___x_799_; -v___x_779_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_779_, 0, v___y_778_); -v___x_780_ = 1; -v___x_781_ = l_Lean_Name_toString(v_name_775_, v___x_780_); -v___x_782_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_782_, 0, v___x_781_); -v___x_783_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_783_, 0, v___x_779_); -lean_ctor_set(v___x_783_, 1, v___x_782_); -v___x_784_ = lean_box(0); -v___x_785_ = 0; -v___x_786_ = l_Lean_Syntax_formatStx(v_stx_776_, v___x_784_, v___x_785_); -v___x_787_ = l_Std_Format_defWidth; -v___x_788_ = lean_unsigned_to_nat(0u); -v___x_789_ = l_Std_Format_pretty(v___x_786_, v___x_787_, v___x_788_, v___x_788_); -v___x_790_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_790_, 0, v___x_789_); -v___x_791_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_791_, 0, v___x_783_); -lean_ctor_set(v___x_791_, 1, v___x_790_); -v___x_792_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__0___closed__3, &l_Lean_Elab_instToFormatModifiers___lam__0___closed__3_once, _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__3); -v___x_793_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__4)); -v___x_794_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_794_, 0, v___x_793_); -lean_ctor_set(v___x_794_, 1, v___x_791_); -v___x_795_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__5)); -v___x_796_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_796_, 0, v___x_794_); -lean_ctor_set(v___x_796_, 1, v___x_795_); -v___x_797_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_797_, 0, v___x_792_); -lean_ctor_set(v___x_797_, 1, v___x_796_); -v___x_798_ = 0; -v___x_799_ = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(v___x_799_, 0, v___x_797_); -lean_ctor_set_uint8(v___x_799_, sizeof(void*)*1, v___x_798_); -return v___x_799_; +lean_object* v___x_833_; uint8_t v___x_834_; lean_object* v___x_835_; lean_object* v___x_836_; lean_object* v___x_837_; lean_object* v___x_838_; uint8_t v___x_839_; lean_object* v___x_840_; lean_object* v___x_841_; lean_object* v___x_842_; lean_object* v___x_843_; lean_object* v___x_844_; lean_object* v___x_845_; lean_object* v___x_846_; lean_object* v___x_847_; lean_object* v___x_848_; lean_object* v___x_849_; lean_object* v___x_850_; lean_object* v___x_851_; uint8_t v___x_852_; lean_object* v___x_853_; +v___x_833_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_833_, 0, v___y_832_); +v___x_834_ = 1; +v___x_835_ = l_Lean_Name_toString(v_name_829_, v___x_834_); +v___x_836_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_836_, 0, v___x_835_); +v___x_837_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_837_, 0, v___x_833_); +lean_ctor_set(v___x_837_, 1, v___x_836_); +v___x_838_ = lean_box(0); +v___x_839_ = 0; +v___x_840_ = l_Lean_Syntax_formatStx(v_stx_830_, v___x_838_, v___x_839_); +v___x_841_ = l_Std_Format_defWidth; +v___x_842_ = lean_unsigned_to_nat(0u); +v___x_843_ = l_Std_Format_pretty(v___x_840_, v___x_841_, v___x_842_, v___x_842_); +v___x_844_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_844_, 0, v___x_843_); +v___x_845_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_845_, 0, v___x_837_); +lean_ctor_set(v___x_845_, 1, v___x_844_); +v___x_846_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__0___closed__3, &l_Lean_Elab_instToFormatModifiers___lam__0___closed__3_once, _init_l_Lean_Elab_instToFormatModifiers___lam__0___closed__3); +v___x_847_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__4)); +v___x_848_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_848_, 0, v___x_847_); +lean_ctor_set(v___x_848_, 1, v___x_845_); +v___x_849_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__0___closed__5)); +v___x_850_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_850_, 0, v___x_848_); +lean_ctor_set(v___x_850_, 1, v___x_849_); +v___x_851_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_851_, 0, v___x_846_); +lean_ctor_set(v___x_851_, 1, v___x_850_); +v___x_852_ = 0; +v___x_853_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_853_, 0, v___x_851_); +lean_ctor_set_uint8(v___x_853_, sizeof(void*)*1, v___x_852_); +return v___x_853_; } } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__5(void){ _start: { -lean_object* v___x_811_; lean_object* v___x_812_; -v___x_811_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__0)); -v___x_812_ = lean_string_length(v___x_811_); -return v___x_812_; +lean_object* v___x_865_; lean_object* v___x_866_; +v___x_865_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__0)); +v___x_866_ = lean_string_length(v___x_865_); +return v___x_866_; } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__6(void){ _start: { -lean_object* v___x_813_; lean_object* v___x_814_; -v___x_813_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__5, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__5_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__5); -v___x_814_ = lean_nat_to_int(v___x_813_); -return v___x_814_; +lean_object* v___x_867_; lean_object* v___x_868_; +v___x_867_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__5, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__5_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__5); +v___x_868_ = lean_nat_to_int(v___x_867_); +return v___x_868_; } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__35(void){ _start: { -lean_object* v___x_870_; lean_object* v___x_871_; -v___x_870_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__33)); -v___x_871_ = lean_string_length(v___x_870_); -return v___x_871_; +lean_object* v___x_924_; lean_object* v___x_925_; +v___x_924_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__33)); +v___x_925_ = lean_string_length(v___x_924_); +return v___x_925_; } } static lean_object* _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__36(void){ _start: { -lean_object* v___x_872_; lean_object* v___x_873_; -v___x_872_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__35, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__35_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__35); -v___x_873_ = lean_nat_to_int(v___x_872_); -return v___x_873_; +lean_object* v___x_926_; lean_object* v___x_927_; +v___x_926_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__35, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__35_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__35); +v___x_927_ = lean_nat_to_int(v___x_926_); +return v___x_927_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_instToFormatModifiers___lam__1(lean_object* v___f_883_, lean_object* v___f_884_, lean_object* v_m_885_){ +LEAN_EXPORT lean_object* l_Lean_Elab_instToFormatModifiers___lam__1(lean_object* v___f_937_, lean_object* v___f_938_, lean_object* v_m_939_){ _start: { -lean_object* v_docString_x3f_886_; uint8_t v_visibility_887_; uint8_t v_isProtected_888_; uint8_t v_computeKind_889_; uint8_t v_recKind_890_; uint8_t v_isUnsafe_891_; lean_object* v_attrs_892_; lean_object* v___y_894_; lean_object* v___y_895_; lean_object* v___y_912_; lean_object* v___y_913_; lean_object* v___y_918_; lean_object* v___y_919_; lean_object* v___y_925_; lean_object* v___y_926_; lean_object* v___y_932_; lean_object* v___y_933_; lean_object* v___y_938_; -v_docString_x3f_886_ = lean_ctor_get(v_m_885_, 1); -lean_inc(v_docString_x3f_886_); -v_visibility_887_ = lean_ctor_get_uint8(v_m_885_, sizeof(void*)*3); -v_isProtected_888_ = lean_ctor_get_uint8(v_m_885_, sizeof(void*)*3 + 1); -v_computeKind_889_ = lean_ctor_get_uint8(v_m_885_, sizeof(void*)*3 + 2); -v_recKind_890_ = lean_ctor_get_uint8(v_m_885_, sizeof(void*)*3 + 3); -v_isUnsafe_891_ = lean_ctor_get_uint8(v_m_885_, sizeof(void*)*3 + 4); -v_attrs_892_ = lean_ctor_get(v_m_885_, 2); -lean_inc_ref(v_attrs_892_); -lean_dec_ref(v_m_885_); -if (lean_obj_tag(v_docString_x3f_886_) == 0) +lean_object* v_docString_x3f_940_; uint8_t v_visibility_941_; uint8_t v_isProtected_942_; uint8_t v_computeKind_943_; uint8_t v_recKind_944_; uint8_t v_isUnsafe_945_; lean_object* v_attrs_946_; lean_object* v___y_948_; lean_object* v___y_949_; lean_object* v___y_966_; lean_object* v___y_967_; lean_object* v___y_972_; lean_object* v___y_973_; lean_object* v___y_979_; lean_object* v___y_980_; lean_object* v___y_986_; lean_object* v___y_987_; lean_object* v___y_992_; +v_docString_x3f_940_ = lean_ctor_get(v_m_939_, 1); +lean_inc(v_docString_x3f_940_); +v_visibility_941_ = lean_ctor_get_uint8(v_m_939_, sizeof(void*)*3); +v_isProtected_942_ = lean_ctor_get_uint8(v_m_939_, sizeof(void*)*3 + 1); +v_computeKind_943_ = lean_ctor_get_uint8(v_m_939_, sizeof(void*)*3 + 2); +v_recKind_944_ = lean_ctor_get_uint8(v_m_939_, sizeof(void*)*3 + 3); +v_isUnsafe_945_ = lean_ctor_get_uint8(v_m_939_, sizeof(void*)*3 + 4); +v_attrs_946_ = lean_ctor_get(v_m_939_, 2); +lean_inc_ref(v_attrs_946_); +lean_dec_ref(v_m_939_); +if (lean_obj_tag(v_docString_x3f_940_) == 0) { -lean_object* v___x_942_; -v___x_942_ = lean_box(0); -v___y_938_ = v___x_942_; -goto v___jp_937_; +lean_object* v___x_996_; +v___x_996_ = lean_box(0); +v___y_992_ = v___x_996_; +goto v___jp_991_; } else { -lean_object* v_val_943_; lean_object* v___x_945_; uint8_t v_isShared_946_; uint8_t v_isSharedCheck_985_; -v_val_943_ = lean_ctor_get(v_docString_x3f_886_, 0); -v_isSharedCheck_985_ = !lean_is_exclusive(v_docString_x3f_886_); -if (v_isSharedCheck_985_ == 0) +lean_object* v_val_997_; lean_object* v___x_999_; uint8_t v_isShared_1000_; uint8_t v_isSharedCheck_1039_; +v_val_997_ = lean_ctor_get(v_docString_x3f_940_, 0); +v_isSharedCheck_1039_ = !lean_is_exclusive(v_docString_x3f_940_); +if (v_isSharedCheck_1039_ == 0) { -v___x_945_ = v_docString_x3f_886_; -v_isShared_946_ = v_isSharedCheck_985_; -goto v_resetjp_944_; +v___x_999_ = v_docString_x3f_940_; +v_isShared_1000_ = v_isSharedCheck_1039_; +goto v_resetjp_998_; } else { -lean_inc(v_val_943_); -lean_dec(v_docString_x3f_886_); -v___x_945_ = lean_box(0); -v_isShared_946_ = v_isSharedCheck_985_; -goto v_resetjp_944_; +lean_inc(v_val_997_); +lean_dec(v_docString_x3f_940_); +v___x_999_ = lean_box(0); +v_isShared_1000_ = v_isSharedCheck_1039_; +goto v_resetjp_998_; } -v_resetjp_944_: +v_resetjp_998_: { -lean_object* v_fst_947_; lean_object* v_snd_948_; lean_object* v___x_950_; uint8_t v_isShared_951_; uint8_t v_isSharedCheck_984_; -v_fst_947_ = lean_ctor_get(v_val_943_, 0); -v_snd_948_ = lean_ctor_get(v_val_943_, 1); -v_isSharedCheck_984_ = !lean_is_exclusive(v_val_943_); -if (v_isSharedCheck_984_ == 0) +lean_object* v_fst_1001_; lean_object* v_snd_1002_; lean_object* v___x_1004_; uint8_t v_isShared_1005_; uint8_t v_isSharedCheck_1038_; +v_fst_1001_ = lean_ctor_get(v_val_997_, 0); +v_snd_1002_ = lean_ctor_get(v_val_997_, 1); +v_isSharedCheck_1038_ = !lean_is_exclusive(v_val_997_); +if (v_isSharedCheck_1038_ == 0) { -v___x_950_ = v_val_943_; -v_isShared_951_ = v_isSharedCheck_984_; -goto v_resetjp_949_; +v___x_1004_ = v_val_997_; +v_isShared_1005_ = v_isSharedCheck_1038_; +goto v_resetjp_1003_; } else { -lean_inc(v_snd_948_); -lean_inc(v_fst_947_); -lean_dec(v_val_943_); -v___x_950_ = lean_box(0); -v_isShared_951_ = v_isSharedCheck_984_; -goto v_resetjp_949_; +lean_inc(v_snd_1002_); +lean_inc(v_fst_1001_); +lean_dec(v_val_997_); +v___x_1004_ = lean_box(0); +v_isShared_1005_ = v_isSharedCheck_1038_; +goto v_resetjp_1003_; } -v_resetjp_949_: +v_resetjp_1003_: { -lean_object* v___x_952_; lean_object* v___x_953_; uint8_t v___x_954_; lean_object* v___x_955_; lean_object* v___x_956_; lean_object* v___x_958_; -v___x_952_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__32)); -v___x_953_ = lean_box(0); -v___x_954_ = 0; -v___x_955_ = l_Lean_Syntax_formatStx(v_fst_947_, v___x_953_, v___x_954_); -v___x_956_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__2)); -if (v_isShared_951_ == 0) +lean_object* v___x_1006_; lean_object* v___x_1007_; uint8_t v___x_1008_; lean_object* v___x_1009_; lean_object* v___x_1010_; lean_object* v___x_1012_; +v___x_1006_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__32)); +v___x_1007_ = lean_box(0); +v___x_1008_ = 0; +v___x_1009_ = l_Lean_Syntax_formatStx(v_fst_1001_, v___x_1007_, v___x_1008_); +v___x_1010_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__2)); +if (v_isShared_1005_ == 0) { -lean_ctor_set_tag(v___x_950_, 5); -lean_ctor_set(v___x_950_, 1, v___x_956_); -lean_ctor_set(v___x_950_, 0, v___x_955_); -v___x_958_ = v___x_950_; -goto v_reusejp_957_; +lean_ctor_set_tag(v___x_1004_, 5); +lean_ctor_set(v___x_1004_, 1, v___x_1010_); +lean_ctor_set(v___x_1004_, 0, v___x_1009_); +v___x_1012_ = v___x_1004_; +goto v_reusejp_1011_; } else { -lean_object* v_reuseFailAlloc_983_; -v_reuseFailAlloc_983_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v_reuseFailAlloc_983_, 0, v___x_955_); -lean_ctor_set(v_reuseFailAlloc_983_, 1, v___x_956_); -v___x_958_ = v_reuseFailAlloc_983_; -goto v_reusejp_957_; +lean_object* v_reuseFailAlloc_1037_; +v_reuseFailAlloc_1037_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1037_, 0, v___x_1009_); +lean_ctor_set(v_reuseFailAlloc_1037_, 1, v___x_1010_); +v___x_1012_ = v_reuseFailAlloc_1037_; +goto v_reusejp_1011_; } -v_reusejp_957_: +v_reusejp_1011_: { -lean_object* v___x_959_; lean_object* v___x_960_; lean_object* v___y_962_; uint8_t v___x_980_; -v___x_959_ = lean_box(1); -v___x_960_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_960_, 0, v___x_958_); -lean_ctor_set(v___x_960_, 1, v___x_959_); -v___x_980_ = lean_unbox(v_snd_948_); -lean_dec(v_snd_948_); -if (v___x_980_ == 0) +lean_object* v___x_1013_; lean_object* v___x_1014_; lean_object* v___y_1016_; uint8_t v___x_1034_; +v___x_1013_ = lean_box(1); +v___x_1014_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1014_, 0, v___x_1012_); +lean_ctor_set(v___x_1014_, 1, v___x_1013_); +v___x_1034_ = lean_unbox(v_snd_1002_); +lean_dec(v_snd_1002_); +if (v___x_1034_ == 0) +{ +lean_object* v___x_1035_; +v___x_1035_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__41)); +v___y_1016_ = v___x_1035_; +goto v___jp_1015_; +} +else +{ +lean_object* v___x_1036_; +v___x_1036_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__42)); +v___y_1016_ = v___x_1036_; +goto v___jp_1015_; +} +v___jp_1015_: +{ +lean_object* v___x_1018_; +if (v_isShared_1000_ == 0) +{ +lean_ctor_set_tag(v___x_999_, 3); +lean_ctor_set(v___x_999_, 0, v___y_1016_); +v___x_1018_ = v___x_999_; +goto v_reusejp_1017_; +} +else +{ +lean_object* v_reuseFailAlloc_1033_; +v_reuseFailAlloc_1033_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1033_, 0, v___y_1016_); +v___x_1018_ = v_reuseFailAlloc_1033_; +goto v_reusejp_1017_; +} +v_reusejp_1017_: +{ +lean_object* v___x_1019_; lean_object* v___x_1020_; lean_object* v___x_1021_; lean_object* v___x_1022_; lean_object* v___x_1023_; lean_object* v___x_1024_; lean_object* v___x_1025_; uint8_t v___x_1026_; lean_object* v___x_1027_; lean_object* v___x_1028_; lean_object* v___x_1029_; lean_object* v___x_1030_; lean_object* v___x_1031_; lean_object* v___x_1032_; +v___x_1019_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1019_, 0, v___x_1014_); +lean_ctor_set(v___x_1019_, 1, v___x_1018_); +v___x_1020_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__36, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__36_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__36); +v___x_1021_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__37)); +v___x_1022_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1022_, 0, v___x_1021_); +lean_ctor_set(v___x_1022_, 1, v___x_1019_); +v___x_1023_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__38)); +v___x_1024_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1024_, 0, v___x_1022_); +lean_ctor_set(v___x_1024_, 1, v___x_1023_); +v___x_1025_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_1025_, 0, v___x_1020_); +lean_ctor_set(v___x_1025_, 1, v___x_1024_); +v___x_1026_ = 0; +v___x_1027_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_1027_, 0, v___x_1025_); +lean_ctor_set_uint8(v___x_1027_, sizeof(void*)*1, v___x_1026_); +v___x_1028_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1028_, 0, v___x_1006_); +lean_ctor_set(v___x_1028_, 1, v___x_1027_); +v___x_1029_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__40)); +v___x_1030_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_1030_, 0, v___x_1028_); +lean_ctor_set(v___x_1030_, 1, v___x_1029_); +v___x_1031_ = lean_box(0); +v___x_1032_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_1032_, 0, v___x_1030_); +lean_ctor_set(v___x_1032_, 1, v___x_1031_); +v___y_992_ = v___x_1032_; +goto v___jp_991_; +} +} +} +} +} +} +v___jp_947_: +{ +lean_object* v___x_950_; lean_object* v___x_951_; lean_object* v___x_952_; lean_object* v___x_953_; lean_object* v_components_954_; lean_object* v___x_955_; lean_object* v___x_956_; lean_object* v___x_957_; lean_object* v___x_958_; lean_object* v___x_959_; lean_object* v___x_960_; lean_object* v___x_961_; lean_object* v___x_962_; uint8_t v___x_963_; lean_object* v___x_964_; +v___x_950_ = l_List_appendTR___redArg(v___y_948_, v___y_949_); +v___x_951_ = lean_array_to_list(v_attrs_946_); +v___x_952_ = lean_box(0); +v___x_953_ = l_List_mapTR_loop___redArg(v___f_937_, v___x_951_, v___x_952_); +v_components_954_ = l_List_appendTR___redArg(v___x_950_, v___x_953_); +v___x_955_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__3)); +v___x_956_ = l_Std_Format_joinSep___redArg(v___f_938_, v_components_954_, v___x_955_); +v___x_957_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__6, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__6_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__6); +v___x_958_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__7)); +v___x_959_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_959_, 0, v___x_958_); +lean_ctor_set(v___x_959_, 1, v___x_956_); +v___x_960_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__8)); +v___x_961_ = lean_alloc_ctor(5, 2, 0); +lean_ctor_set(v___x_961_, 0, v___x_959_); +lean_ctor_set(v___x_961_, 1, v___x_960_); +v___x_962_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_962_, 0, v___x_957_); +lean_ctor_set(v___x_962_, 1, v___x_961_); +v___x_963_ = 0; +v___x_964_ = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(v___x_964_, 0, v___x_962_); +lean_ctor_set_uint8(v___x_964_, sizeof(void*)*1, v___x_963_); +return v___x_964_; +} +v___jp_965_: +{ +lean_object* v___x_968_; +v___x_968_ = l_List_appendTR___redArg(v___y_966_, v___y_967_); +if (v_isUnsafe_945_ == 0) +{ +lean_object* v___x_969_; +v___x_969_ = lean_box(0); +v___y_948_ = v___x_968_; +v___y_949_ = v___x_969_; +goto v___jp_947_; +} +else +{ +lean_object* v___x_970_; +v___x_970_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__11)); +v___y_948_ = v___x_968_; +v___y_949_ = v___x_970_; +goto v___jp_947_; +} +} +v___jp_971_: +{ +lean_object* v___x_974_; +v___x_974_ = l_List_appendTR___redArg(v___y_972_, v___y_973_); +switch(v_recKind_944_) +{ +case 0: +{ +lean_object* v___x_975_; +v___x_975_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__14)); +v___y_966_ = v___x_974_; +v___y_967_ = v___x_975_; +goto v___jp_965_; +} +case 1: +{ +lean_object* v___x_976_; +v___x_976_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__17)); +v___y_966_ = v___x_974_; +v___y_967_ = v___x_976_; +goto v___jp_965_; +} +default: +{ +lean_object* v___x_977_; +v___x_977_ = lean_box(0); +v___y_966_ = v___x_974_; +v___y_967_ = v___x_977_; +goto v___jp_965_; +} +} +} +v___jp_978_: { lean_object* v___x_981_; -v___x_981_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__41)); -v___y_962_ = v___x_981_; -goto v___jp_961_; -} -else +v___x_981_ = l_List_appendTR___redArg(v___y_979_, v___y_980_); +switch(v_computeKind_943_) +{ +case 0: { lean_object* v___x_982_; -v___x_982_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__42)); -v___y_962_ = v___x_982_; -goto v___jp_961_; -} -v___jp_961_: -{ -lean_object* v___x_964_; -if (v_isShared_946_ == 0) -{ -lean_ctor_set_tag(v___x_945_, 3); -lean_ctor_set(v___x_945_, 0, v___y_962_); -v___x_964_ = v___x_945_; -goto v_reusejp_963_; -} -else -{ -lean_object* v_reuseFailAlloc_979_; -v_reuseFailAlloc_979_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_979_, 0, v___y_962_); -v___x_964_ = v_reuseFailAlloc_979_; -goto v_reusejp_963_; -} -v_reusejp_963_: -{ -lean_object* v___x_965_; lean_object* v___x_966_; lean_object* v___x_967_; lean_object* v___x_968_; lean_object* v___x_969_; lean_object* v___x_970_; lean_object* v___x_971_; uint8_t v___x_972_; lean_object* v___x_973_; lean_object* v___x_974_; lean_object* v___x_975_; lean_object* v___x_976_; lean_object* v___x_977_; lean_object* v___x_978_; -v___x_965_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_965_, 0, v___x_960_); -lean_ctor_set(v___x_965_, 1, v___x_964_); -v___x_966_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__36, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__36_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__36); -v___x_967_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__37)); -v___x_968_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_968_, 0, v___x_967_); -lean_ctor_set(v___x_968_, 1, v___x_965_); -v___x_969_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__38)); -v___x_970_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_970_, 0, v___x_968_); -lean_ctor_set(v___x_970_, 1, v___x_969_); -v___x_971_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_971_, 0, v___x_966_); -lean_ctor_set(v___x_971_, 1, v___x_970_); -v___x_972_ = 0; -v___x_973_ = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(v___x_973_, 0, v___x_971_); -lean_ctor_set_uint8(v___x_973_, sizeof(void*)*1, v___x_972_); -v___x_974_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_974_, 0, v___x_952_); -lean_ctor_set(v___x_974_, 1, v___x_973_); -v___x_975_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__40)); -v___x_976_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_976_, 0, v___x_974_); -lean_ctor_set(v___x_976_, 1, v___x_975_); -v___x_977_ = lean_box(0); -v___x_978_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_978_, 0, v___x_976_); -lean_ctor_set(v___x_978_, 1, v___x_977_); -v___y_938_ = v___x_978_; -goto v___jp_937_; -} -} -} -} -} -} -v___jp_893_: -{ -lean_object* v___x_896_; lean_object* v___x_897_; lean_object* v___x_898_; lean_object* v___x_899_; lean_object* v_components_900_; lean_object* v___x_901_; lean_object* v___x_902_; lean_object* v___x_903_; lean_object* v___x_904_; lean_object* v___x_905_; lean_object* v___x_906_; lean_object* v___x_907_; lean_object* v___x_908_; uint8_t v___x_909_; lean_object* v___x_910_; -v___x_896_ = l_List_appendTR___redArg(v___y_894_, v___y_895_); -v___x_897_ = lean_array_to_list(v_attrs_892_); -v___x_898_ = lean_box(0); -v___x_899_ = l_List_mapTR_loop___redArg(v___f_883_, v___x_897_, v___x_898_); -v_components_900_ = l_List_appendTR___redArg(v___x_896_, v___x_899_); -v___x_901_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__3)); -v___x_902_ = l_Std_Format_joinSep___redArg(v___f_884_, v_components_900_, v___x_901_); -v___x_903_ = lean_obj_once(&l_Lean_Elab_instToFormatModifiers___lam__1___closed__6, &l_Lean_Elab_instToFormatModifiers___lam__1___closed__6_once, _init_l_Lean_Elab_instToFormatModifiers___lam__1___closed__6); -v___x_904_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__7)); -v___x_905_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_905_, 0, v___x_904_); -lean_ctor_set(v___x_905_, 1, v___x_902_); -v___x_906_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__8)); -v___x_907_ = lean_alloc_ctor(5, 2, 0); -lean_ctor_set(v___x_907_, 0, v___x_905_); -lean_ctor_set(v___x_907_, 1, v___x_906_); -v___x_908_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_908_, 0, v___x_903_); -lean_ctor_set(v___x_908_, 1, v___x_907_); -v___x_909_ = 0; -v___x_910_ = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(v___x_910_, 0, v___x_908_); -lean_ctor_set_uint8(v___x_910_, sizeof(void*)*1, v___x_909_); -return v___x_910_; -} -v___jp_911_: -{ -lean_object* v___x_914_; -v___x_914_ = l_List_appendTR___redArg(v___y_912_, v___y_913_); -if (v_isUnsafe_891_ == 0) -{ -lean_object* v___x_915_; -v___x_915_ = lean_box(0); -v___y_894_ = v___x_914_; -v___y_895_ = v___x_915_; -goto v___jp_893_; -} -else -{ -lean_object* v___x_916_; -v___x_916_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__11)); -v___y_894_ = v___x_914_; -v___y_895_ = v___x_916_; -goto v___jp_893_; -} -} -v___jp_917_: -{ -lean_object* v___x_920_; -v___x_920_ = l_List_appendTR___redArg(v___y_918_, v___y_919_); -switch(v_recKind_890_) -{ -case 0: -{ -lean_object* v___x_921_; -v___x_921_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__14)); -v___y_912_ = v___x_920_; -v___y_913_ = v___x_921_; -goto v___jp_911_; +v___x_982_ = lean_box(0); +v___y_972_ = v___x_981_; +v___y_973_ = v___x_982_; +goto v___jp_971_; } case 1: { -lean_object* v___x_922_; -v___x_922_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__17)); -v___y_912_ = v___x_920_; -v___y_913_ = v___x_922_; -goto v___jp_911_; +lean_object* v___x_983_; +v___x_983_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__20)); +v___y_972_ = v___x_981_; +v___y_973_ = v___x_983_; +goto v___jp_971_; } default: { -lean_object* v___x_923_; -v___x_923_ = lean_box(0); -v___y_912_ = v___x_920_; -v___y_913_ = v___x_923_; -goto v___jp_911_; +lean_object* v___x_984_; +v___x_984_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__23)); +v___y_972_ = v___x_981_; +v___y_973_ = v___x_984_; +goto v___jp_971_; } } } -v___jp_924_: +v___jp_985_: { -lean_object* v___x_927_; -v___x_927_ = l_List_appendTR___redArg(v___y_925_, v___y_926_); -switch(v_computeKind_889_) +lean_object* v___x_988_; +v___x_988_ = l_List_appendTR___redArg(v___y_986_, v___y_987_); +if (v_isProtected_942_ == 0) { -case 0: -{ -lean_object* v___x_928_; -v___x_928_ = lean_box(0); -v___y_918_ = v___x_927_; -v___y_919_ = v___x_928_; -goto v___jp_917_; -} -case 1: -{ -lean_object* v___x_929_; -v___x_929_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__20)); -v___y_918_ = v___x_927_; -v___y_919_ = v___x_929_; -goto v___jp_917_; -} -default: -{ -lean_object* v___x_930_; -v___x_930_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__23)); -v___y_918_ = v___x_927_; -v___y_919_ = v___x_930_; -goto v___jp_917_; -} -} -} -v___jp_931_: -{ -lean_object* v___x_934_; -v___x_934_ = l_List_appendTR___redArg(v___y_932_, v___y_933_); -if (v_isProtected_888_ == 0) -{ -lean_object* v___x_935_; -v___x_935_ = lean_box(0); -v___y_925_ = v___x_934_; -v___y_926_ = v___x_935_; -goto v___jp_924_; +lean_object* v___x_989_; +v___x_989_ = lean_box(0); +v___y_979_ = v___x_988_; +v___y_980_ = v___x_989_; +goto v___jp_978_; } else { -lean_object* v___x_936_; -v___x_936_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__26)); -v___y_925_ = v___x_934_; -v___y_926_ = v___x_936_; -goto v___jp_924_; +lean_object* v___x_990_; +v___x_990_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__26)); +v___y_979_ = v___x_988_; +v___y_980_ = v___x_990_; +goto v___jp_978_; } } -v___jp_937_: +v___jp_991_: { -switch(v_visibility_887_) +switch(v_visibility_941_) { case 0: { -lean_object* v___x_939_; -v___x_939_ = lean_box(0); -v___y_932_ = v___y_938_; -v___y_933_ = v___x_939_; -goto v___jp_931_; +lean_object* v___x_993_; +v___x_993_ = lean_box(0); +v___y_986_ = v___y_992_; +v___y_987_ = v___x_993_; +goto v___jp_985_; } case 1: { -lean_object* v___x_940_; -v___x_940_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__28)); -v___y_932_ = v___y_938_; -v___y_933_ = v___x_940_; -goto v___jp_931_; +lean_object* v___x_994_; +v___x_994_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__28)); +v___y_986_ = v___y_992_; +v___y_987_ = v___x_994_; +goto v___jp_985_; } default: { -lean_object* v___x_941_; -v___x_941_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__30)); -v___y_932_ = v___y_938_; -v___y_933_ = v___x_941_; -goto v___jp_931_; +lean_object* v___x_995_; +v___x_995_ = ((lean_object*)(l_Lean_Elab_instToFormatModifiers___lam__1___closed__30)); +v___y_986_ = v___y_992_; +v___y_987_ = v___x_995_; +goto v___jp_985_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_instToStringModifiers___lam__0(lean_object* v_f_992_){ +LEAN_EXPORT lean_object* l_Lean_Elab_instToStringModifiers___lam__0(lean_object* v_f_1046_){ _start: { -lean_object* v___x_993_; lean_object* v___x_994_; lean_object* v___x_995_; -v___x_993_ = l_Std_Format_defWidth; -v___x_994_ = lean_unsigned_to_nat(0u); -v___x_995_ = l_Std_Format_pretty(v_f_992_, v___x_993_, v___x_994_, v___x_994_); -return v___x_995_; +lean_object* v___x_1047_; lean_object* v___x_1048_; lean_object* v___x_1049_; +v___x_1047_ = l_Std_Format_defWidth; +v___x_1048_ = lean_unsigned_to_nat(0u); +v___x_1049_ = l_Std_Format_pretty(v_f_1046_, v___x_1047_, v___x_1048_, v___x_1048_); +return v___x_1049_; } } static lean_object* _init_l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1(void){ _start: { -lean_object* v___x_1002_; lean_object* v___x_1003_; -v___x_1002_ = ((lean_object*)(l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__0)); -v___x_1003_ = l_Lean_stringToMessageData(v___x_1002_); -return v___x_1003_; +lean_object* v___x_1056_; lean_object* v___x_1057_; +v___x_1056_ = ((lean_object*)(l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__0)); +v___x_1057_ = l_Lean_stringToMessageData(v___x_1056_); +return v___x_1057_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___redArg(lean_object* v_inst_1004_, lean_object* v_inst_1005_, lean_object* v_optDocComment_1006_){ +LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___redArg(lean_object* v_inst_1058_, lean_object* v_inst_1059_, lean_object* v_optDocComment_1060_){ _start: { -lean_object* v_toApplicative_1007_; lean_object* v_toPure_1008_; lean_object* v___x_1009_; -v_toApplicative_1007_ = lean_ctor_get(v_inst_1004_, 0); -v_toPure_1008_ = lean_ctor_get(v_toApplicative_1007_, 1); -v___x_1009_ = l_Lean_Syntax_getOptional_x3f(v_optDocComment_1006_); -if (lean_obj_tag(v___x_1009_) == 0) +lean_object* v_toApplicative_1061_; lean_object* v_toPure_1062_; lean_object* v___x_1063_; +v_toApplicative_1061_ = lean_ctor_get(v_inst_1058_, 0); +v_toPure_1062_ = lean_ctor_get(v_toApplicative_1061_, 1); +v___x_1063_ = l_Lean_Syntax_getOptional_x3f(v_optDocComment_1060_); +if (lean_obj_tag(v___x_1063_) == 0) { -lean_object* v___x_1010_; lean_object* v___x_1011_; -lean_inc(v_toPure_1008_); -lean_dec_ref(v_inst_1005_); -lean_dec_ref(v_inst_1004_); -v___x_1010_ = lean_box(0); -v___x_1011_ = lean_apply_2(v_toPure_1008_, lean_box(0), v___x_1010_); -return v___x_1011_; +lean_object* v___x_1064_; lean_object* v___x_1065_; +lean_inc(v_toPure_1062_); +lean_dec_ref(v_inst_1059_); +lean_dec_ref(v_inst_1058_); +v___x_1064_ = lean_box(0); +v___x_1065_ = lean_apply_2(v_toPure_1062_, lean_box(0), v___x_1064_); +return v___x_1065_; } else { -lean_object* v_val_1012_; lean_object* v___x_1014_; uint8_t v_isShared_1015_; uint8_t v_isSharedCheck_1033_; -v_val_1012_ = lean_ctor_get(v___x_1009_, 0); -v_isSharedCheck_1033_ = !lean_is_exclusive(v___x_1009_); -if (v_isSharedCheck_1033_ == 0) +lean_object* v_val_1066_; lean_object* v___x_1068_; uint8_t v_isShared_1069_; uint8_t v_isSharedCheck_1087_; +v_val_1066_ = lean_ctor_get(v___x_1063_, 0); +v_isSharedCheck_1087_ = !lean_is_exclusive(v___x_1063_); +if (v_isSharedCheck_1087_ == 0) { -v___x_1014_ = v___x_1009_; -v_isShared_1015_ = v_isSharedCheck_1033_; -goto v_resetjp_1013_; +v___x_1068_ = v___x_1063_; +v_isShared_1069_ = v_isSharedCheck_1087_; +goto v_resetjp_1067_; } else { -lean_inc(v_val_1012_); -lean_dec(v___x_1009_); -v___x_1014_ = lean_box(0); -v_isShared_1015_ = v_isSharedCheck_1033_; -goto v_resetjp_1013_; +lean_inc(v_val_1066_); +lean_dec(v___x_1063_); +v___x_1068_ = lean_box(0); +v_isShared_1069_ = v_isSharedCheck_1087_; +goto v_resetjp_1067_; } -v_resetjp_1013_: +v_resetjp_1067_: { -lean_object* v___x_1016_; lean_object* v___x_1017_; -v___x_1016_ = lean_unsigned_to_nat(1u); -v___x_1017_ = l_Lean_Syntax_getArg(v_val_1012_, v___x_1016_); -if (lean_obj_tag(v___x_1017_) == 2) +lean_object* v___x_1070_; lean_object* v___x_1071_; +v___x_1070_ = lean_unsigned_to_nat(1u); +v___x_1071_ = l_Lean_Syntax_getArg(v_val_1066_, v___x_1070_); +if (lean_obj_tag(v___x_1071_) == 2) { -lean_object* v_val_1018_; lean_object* v___x_1019_; lean_object* v___x_1020_; lean_object* v___x_1021_; lean_object* v___x_1022_; lean_object* v___x_1023_; lean_object* v___x_1025_; -lean_inc(v_toPure_1008_); -lean_dec(v_val_1012_); -lean_dec_ref(v_inst_1005_); -lean_dec_ref(v_inst_1004_); -v_val_1018_ = lean_ctor_get(v___x_1017_, 1); -lean_inc_ref(v_val_1018_); -lean_dec_ref(v___x_1017_); -v___x_1019_ = lean_unsigned_to_nat(0u); -v___x_1020_ = lean_string_utf8_byte_size(v_val_1018_); -v___x_1021_ = lean_unsigned_to_nat(2u); -v___x_1022_ = lean_nat_sub(v___x_1020_, v___x_1021_); -v___x_1023_ = lean_string_utf8_extract(v_val_1018_, v___x_1019_, v___x_1022_); -lean_dec(v___x_1022_); -lean_dec_ref(v_val_1018_); -if (v_isShared_1015_ == 0) +lean_object* v_val_1072_; lean_object* v___x_1073_; lean_object* v___x_1074_; lean_object* v___x_1075_; lean_object* v___x_1076_; lean_object* v___x_1077_; lean_object* v___x_1079_; +lean_inc(v_toPure_1062_); +lean_dec(v_val_1066_); +lean_dec_ref(v_inst_1059_); +lean_dec_ref(v_inst_1058_); +v_val_1072_ = lean_ctor_get(v___x_1071_, 1); +lean_inc_ref(v_val_1072_); +lean_dec_ref(v___x_1071_); +v___x_1073_ = lean_unsigned_to_nat(0u); +v___x_1074_ = lean_string_utf8_byte_size(v_val_1072_); +v___x_1075_ = lean_unsigned_to_nat(2u); +v___x_1076_ = lean_nat_sub(v___x_1074_, v___x_1075_); +v___x_1077_ = lean_string_utf8_extract(v_val_1072_, v___x_1073_, v___x_1076_); +lean_dec(v___x_1076_); +lean_dec_ref(v_val_1072_); +if (v_isShared_1069_ == 0) { -lean_ctor_set(v___x_1014_, 0, v___x_1023_); -v___x_1025_ = v___x_1014_; -goto v_reusejp_1024_; +lean_ctor_set(v___x_1068_, 0, v___x_1077_); +v___x_1079_ = v___x_1068_; +goto v_reusejp_1078_; } else { -lean_object* v_reuseFailAlloc_1027_; -v_reuseFailAlloc_1027_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1027_, 0, v___x_1023_); -v___x_1025_ = v_reuseFailAlloc_1027_; -goto v_reusejp_1024_; +lean_object* v_reuseFailAlloc_1081_; +v_reuseFailAlloc_1081_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1081_, 0, v___x_1077_); +v___x_1079_ = v_reuseFailAlloc_1081_; +goto v_reusejp_1078_; } -v_reusejp_1024_: -{ -lean_object* v___x_1026_; -v___x_1026_ = lean_apply_2(v_toPure_1008_, lean_box(0), v___x_1025_); -return v___x_1026_; -} -} -else -{ -lean_object* v___x_1028_; lean_object* v___x_1029_; lean_object* v___x_1030_; lean_object* v___x_1031_; lean_object* v___x_1032_; -lean_del_object(v___x_1014_); -v___x_1028_ = lean_obj_once(&l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1, &l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1_once, _init_l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1); -v___x_1029_ = l_Lean_MessageData_ofSyntax(v___x_1017_); -v___x_1030_ = l_Lean_indentD(v___x_1029_); -v___x_1031_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1031_, 0, v___x_1028_); -lean_ctor_set(v___x_1031_, 1, v___x_1030_); -v___x_1032_ = l_Lean_throwErrorAt___redArg(v_inst_1004_, v_inst_1005_, v_val_1012_, v___x_1031_); -return v___x_1032_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___redArg___boxed(lean_object* v_inst_1034_, lean_object* v_inst_1035_, lean_object* v_optDocComment_1036_){ -_start: -{ -lean_object* v_res_1037_; -v_res_1037_ = l_Lean_Elab_expandOptDocComment_x3f___redArg(v_inst_1034_, v_inst_1035_, v_optDocComment_1036_); -lean_dec(v_optDocComment_1036_); -return v_res_1037_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f(lean_object* v_m_1038_, lean_object* v_inst_1039_, lean_object* v_inst_1040_, lean_object* v_optDocComment_1041_){ -_start: -{ -lean_object* v___x_1042_; -v___x_1042_ = l_Lean_Elab_expandOptDocComment_x3f___redArg(v_inst_1039_, v_inst_1040_, v_optDocComment_1041_); -return v___x_1042_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___boxed(lean_object* v_m_1043_, lean_object* v_inst_1044_, lean_object* v_inst_1045_, lean_object* v_optDocComment_1046_){ -_start: -{ -lean_object* v_res_1047_; -v_res_1047_ = l_Lean_Elab_expandOptDocComment_x3f(v_m_1043_, v_inst_1044_, v_inst_1045_, v_optDocComment_1046_); -lean_dec(v_optDocComment_1046_); -return v_res_1047_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__0(lean_object* v_stx_1048_, lean_object* v___y_1049_, uint8_t v_visibility_1050_, uint8_t v___y_1051_, uint8_t v___y_1052_, uint8_t v___y_1053_, lean_object* v_toPure_1054_, lean_object* v_unsafeStx_1055_, lean_object* v_attrs_1056_){ -_start: -{ -uint8_t v___y_1058_; uint8_t v___x_1061_; -v___x_1061_ = l_Lean_Syntax_isNone(v_unsafeStx_1055_); -if (v___x_1061_ == 0) -{ -uint8_t v___x_1062_; -v___x_1062_ = 1; -v___y_1058_ = v___x_1062_; -goto v___jp_1057_; -} -else -{ -uint8_t v___x_1063_; -v___x_1063_ = 0; -v___y_1058_ = v___x_1063_; -goto v___jp_1057_; -} -v___jp_1057_: -{ -lean_object* v___x_1059_; lean_object* v___x_1060_; -v___x_1059_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v___x_1059_, 0, v_stx_1048_); -lean_ctor_set(v___x_1059_, 1, v___y_1049_); -lean_ctor_set(v___x_1059_, 2, v_attrs_1056_); -lean_ctor_set_uint8(v___x_1059_, sizeof(void*)*3, v_visibility_1050_); -lean_ctor_set_uint8(v___x_1059_, sizeof(void*)*3 + 1, v___y_1051_); -lean_ctor_set_uint8(v___x_1059_, sizeof(void*)*3 + 2, v___y_1052_); -lean_ctor_set_uint8(v___x_1059_, sizeof(void*)*3 + 3, v___y_1053_); -lean_ctor_set_uint8(v___x_1059_, sizeof(void*)*3 + 4, v___y_1058_); -v___x_1060_ = lean_apply_2(v_toPure_1054_, lean_box(0), v___x_1059_); -return v___x_1060_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__0___boxed(lean_object* v_stx_1064_, lean_object* v___y_1065_, lean_object* v_visibility_1066_, lean_object* v___y_1067_, lean_object* v___y_1068_, lean_object* v___y_1069_, lean_object* v_toPure_1070_, lean_object* v_unsafeStx_1071_, lean_object* v_attrs_1072_){ -_start: -{ -uint8_t v_visibility_boxed_1073_; uint8_t v___y_721__boxed_1074_; uint8_t v___y_722__boxed_1075_; uint8_t v___y_723__boxed_1076_; lean_object* v_res_1077_; -v_visibility_boxed_1073_ = lean_unbox(v_visibility_1066_); -v___y_721__boxed_1074_ = lean_unbox(v___y_1067_); -v___y_722__boxed_1075_ = lean_unbox(v___y_1068_); -v___y_723__boxed_1076_ = lean_unbox(v___y_1069_); -v_res_1077_ = l_Lean_Elab_elabModifiers___redArg___lam__0(v_stx_1064_, v___y_1065_, v_visibility_boxed_1073_, v___y_721__boxed_1074_, v___y_722__boxed_1075_, v___y_723__boxed_1076_, v_toPure_1070_, v_unsafeStx_1071_, v_attrs_1072_); -lean_dec(v_unsafeStx_1071_); -return v_res_1077_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__1(lean_object* v___f_1078_, lean_object* v_attrs_1079_){ -_start: +v_reusejp_1078_: { lean_object* v___x_1080_; -v___x_1080_ = lean_apply_1(v___f_1078_, v_attrs_1079_); +v___x_1080_ = lean_apply_2(v_toPure_1062_, lean_box(0), v___x_1079_); return v___x_1080_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__3(lean_object* v_stx_1081_, lean_object* v___y_1082_, uint8_t v___y_1083_, uint8_t v___y_1084_, lean_object* v_toPure_1085_, lean_object* v_unsafeStx_1086_, lean_object* v_attrsStx_1087_, lean_object* v___x_1088_, lean_object* v_toBind_1089_, lean_object* v_inst_1090_, lean_object* v_inst_1091_, lean_object* v_inst_1092_, lean_object* v_inst_1093_, lean_object* v_inst_1094_, lean_object* v_inst_1095_, lean_object* v_inst_1096_, lean_object* v_inst_1097_, lean_object* v_inst_1098_, lean_object* v_inst_1099_, lean_object* v_inst_1100_, lean_object* v_inst_1101_, lean_object* v_protectedStx_1102_, uint8_t v_visibility_1103_){ +else +{ +lean_object* v___x_1082_; lean_object* v___x_1083_; lean_object* v___x_1084_; lean_object* v___x_1085_; lean_object* v___x_1086_; +lean_del_object(v___x_1068_); +v___x_1082_ = lean_obj_once(&l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1, &l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1_once, _init_l_Lean_Elab_expandOptDocComment_x3f___redArg___closed__1); +v___x_1083_ = l_Lean_MessageData_ofSyntax(v___x_1071_); +v___x_1084_ = l_Lean_indentD(v___x_1083_); +v___x_1085_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1085_, 0, v___x_1082_); +lean_ctor_set(v___x_1085_, 1, v___x_1084_); +v___x_1086_ = l_Lean_throwErrorAt___redArg(v_inst_1058_, v_inst_1059_, v_val_1066_, v___x_1085_); +return v___x_1086_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___redArg___boxed(lean_object* v_inst_1088_, lean_object* v_inst_1089_, lean_object* v_optDocComment_1090_){ _start: { -uint8_t v___y_1105_; uint8_t v___x_1120_; -v___x_1120_ = l_Lean_Syntax_isNone(v_protectedStx_1102_); -if (v___x_1120_ == 0) +lean_object* v_res_1091_; +v_res_1091_ = l_Lean_Elab_expandOptDocComment_x3f___redArg(v_inst_1088_, v_inst_1089_, v_optDocComment_1090_); +lean_dec(v_optDocComment_1090_); +return v_res_1091_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f(lean_object* v_m_1092_, lean_object* v_inst_1093_, lean_object* v_inst_1094_, lean_object* v_optDocComment_1095_){ +_start: { -uint8_t v___x_1121_; -v___x_1121_ = 1; -v___y_1105_ = v___x_1121_; -goto v___jp_1104_; +lean_object* v___x_1096_; +v___x_1096_ = l_Lean_Elab_expandOptDocComment_x3f___redArg(v_inst_1093_, v_inst_1094_, v_optDocComment_1095_); +return v___x_1096_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_expandOptDocComment_x3f___boxed(lean_object* v_m_1097_, lean_object* v_inst_1098_, lean_object* v_inst_1099_, lean_object* v_optDocComment_1100_){ +_start: +{ +lean_object* v_res_1101_; +v_res_1101_ = l_Lean_Elab_expandOptDocComment_x3f(v_m_1097_, v_inst_1098_, v_inst_1099_, v_optDocComment_1100_); +lean_dec(v_optDocComment_1100_); +return v_res_1101_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__0(lean_object* v_stx_1102_, lean_object* v___y_1103_, uint8_t v_visibility_1104_, uint8_t v___y_1105_, uint8_t v___y_1106_, uint8_t v___y_1107_, lean_object* v_toPure_1108_, lean_object* v_unsafeStx_1109_, lean_object* v_attrs_1110_){ +_start: +{ +uint8_t v___y_1112_; uint8_t v___x_1115_; +v___x_1115_ = l_Lean_Syntax_isNone(v_unsafeStx_1109_); +if (v___x_1115_ == 0) +{ +uint8_t v___x_1116_; +v___x_1116_ = 1; +v___y_1112_ = v___x_1116_; +goto v___jp_1111_; } else { -uint8_t v___x_1122_; -v___x_1122_ = 0; -v___y_1105_ = v___x_1122_; -goto v___jp_1104_; +uint8_t v___x_1117_; +v___x_1117_ = 0; +v___y_1112_ = v___x_1117_; +goto v___jp_1111_; } -v___jp_1104_: +v___jp_1111_: { -lean_object* v___x_1106_; lean_object* v___x_1107_; lean_object* v___x_1108_; lean_object* v___x_1109_; lean_object* v___f_1110_; lean_object* v___x_1111_; -v___x_1106_ = lean_box(v_visibility_1103_); -v___x_1107_ = lean_box(v___y_1105_); -v___x_1108_ = lean_box(v___y_1083_); -v___x_1109_ = lean_box(v___y_1084_); -lean_inc(v_toPure_1085_); -v___f_1110_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__0___boxed), 9, 8); -lean_closure_set(v___f_1110_, 0, v_stx_1081_); -lean_closure_set(v___f_1110_, 1, v___y_1082_); -lean_closure_set(v___f_1110_, 2, v___x_1106_); -lean_closure_set(v___f_1110_, 3, v___x_1107_); -lean_closure_set(v___f_1110_, 4, v___x_1108_); -lean_closure_set(v___f_1110_, 5, v___x_1109_); -lean_closure_set(v___f_1110_, 6, v_toPure_1085_); -lean_closure_set(v___f_1110_, 7, v_unsafeStx_1086_); -v___x_1111_ = l_Lean_Syntax_getOptional_x3f(v_attrsStx_1087_); -if (lean_obj_tag(v___x_1111_) == 0) +lean_object* v___x_1113_; lean_object* v___x_1114_; +v___x_1113_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v___x_1113_, 0, v_stx_1102_); +lean_ctor_set(v___x_1113_, 1, v___y_1103_); +lean_ctor_set(v___x_1113_, 2, v_attrs_1110_); +lean_ctor_set_uint8(v___x_1113_, sizeof(void*)*3, v_visibility_1104_); +lean_ctor_set_uint8(v___x_1113_, sizeof(void*)*3 + 1, v___y_1105_); +lean_ctor_set_uint8(v___x_1113_, sizeof(void*)*3 + 2, v___y_1106_); +lean_ctor_set_uint8(v___x_1113_, sizeof(void*)*3 + 3, v___y_1107_); +lean_ctor_set_uint8(v___x_1113_, sizeof(void*)*3 + 4, v___y_1112_); +v___x_1114_ = lean_apply_2(v_toPure_1108_, lean_box(0), v___x_1113_); +return v___x_1114_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__0___boxed(lean_object* v_stx_1118_, lean_object* v___y_1119_, lean_object* v_visibility_1120_, lean_object* v___y_1121_, lean_object* v___y_1122_, lean_object* v___y_1123_, lean_object* v_toPure_1124_, lean_object* v_unsafeStx_1125_, lean_object* v_attrs_1126_){ +_start: { -lean_object* v___f_1112_; lean_object* v___x_1113_; lean_object* v___x_1114_; lean_object* v___x_1115_; -lean_dec(v_inst_1101_); -lean_dec(v_inst_1100_); -lean_dec_ref(v_inst_1099_); -lean_dec(v_inst_1098_); -lean_dec(v_inst_1097_); -lean_dec_ref(v_inst_1096_); -lean_dec_ref(v_inst_1095_); -lean_dec_ref(v_inst_1094_); -lean_dec_ref(v_inst_1093_); -lean_dec_ref(v_inst_1092_); -lean_dec_ref(v_inst_1091_); -lean_dec_ref(v_inst_1090_); -v___f_1112_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__1), 2, 1); -lean_closure_set(v___f_1112_, 0, v___f_1110_); -v___x_1113_ = lean_mk_empty_array_with_capacity(v___x_1088_); -v___x_1114_ = lean_apply_2(v_toPure_1085_, lean_box(0), v___x_1113_); -v___x_1115_ = lean_apply_4(v_toBind_1089_, lean_box(0), lean_box(0), v___x_1114_, v___f_1112_); -return v___x_1115_; +uint8_t v_visibility_boxed_1127_; uint8_t v___y_721__boxed_1128_; uint8_t v___y_722__boxed_1129_; uint8_t v___y_723__boxed_1130_; lean_object* v_res_1131_; +v_visibility_boxed_1127_ = lean_unbox(v_visibility_1120_); +v___y_721__boxed_1128_ = lean_unbox(v___y_1121_); +v___y_722__boxed_1129_ = lean_unbox(v___y_1122_); +v___y_723__boxed_1130_ = lean_unbox(v___y_1123_); +v_res_1131_ = l_Lean_Elab_elabModifiers___redArg___lam__0(v_stx_1118_, v___y_1119_, v_visibility_boxed_1127_, v___y_721__boxed_1128_, v___y_722__boxed_1129_, v___y_723__boxed_1130_, v_toPure_1124_, v_unsafeStx_1125_, v_attrs_1126_); +lean_dec(v_unsafeStx_1125_); +return v_res_1131_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__1(lean_object* v___f_1132_, lean_object* v_attrs_1133_){ +_start: +{ +lean_object* v___x_1134_; +v___x_1134_ = lean_apply_1(v___f_1132_, v_attrs_1133_); +return v___x_1134_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__3(lean_object* v_stx_1135_, lean_object* v___y_1136_, uint8_t v___y_1137_, uint8_t v___y_1138_, lean_object* v_toPure_1139_, lean_object* v_unsafeStx_1140_, lean_object* v_attrsStx_1141_, lean_object* v___x_1142_, lean_object* v_toBind_1143_, lean_object* v_inst_1144_, lean_object* v_inst_1145_, lean_object* v_inst_1146_, lean_object* v_inst_1147_, lean_object* v_inst_1148_, lean_object* v_inst_1149_, lean_object* v_inst_1150_, lean_object* v_inst_1151_, lean_object* v_inst_1152_, lean_object* v_inst_1153_, lean_object* v_inst_1154_, lean_object* v_inst_1155_, lean_object* v_protectedStx_1156_, uint8_t v_visibility_1157_){ +_start: +{ +uint8_t v___y_1159_; uint8_t v___x_1174_; +v___x_1174_ = l_Lean_Syntax_isNone(v_protectedStx_1156_); +if (v___x_1174_ == 0) +{ +uint8_t v___x_1175_; +v___x_1175_ = 1; +v___y_1159_ = v___x_1175_; +goto v___jp_1158_; } else { -lean_object* v_val_1116_; lean_object* v___f_1117_; lean_object* v___x_1118_; lean_object* v___x_1119_; -lean_dec(v_toPure_1085_); -v_val_1116_ = lean_ctor_get(v___x_1111_, 0); -lean_inc(v_val_1116_); -lean_dec_ref(v___x_1111_); -v___f_1117_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__1), 2, 1); -lean_closure_set(v___f_1117_, 0, v___f_1110_); -v___x_1118_ = l_Lean_Elab_elabDeclAttrs___redArg(v_inst_1090_, v_inst_1091_, v_inst_1092_, v_inst_1093_, v_inst_1094_, v_inst_1095_, v_inst_1096_, v_inst_1097_, v_inst_1098_, v_inst_1099_, v_inst_1100_, v_inst_1101_, v_val_1116_); -lean_dec(v_val_1116_); -v___x_1119_ = lean_apply_4(v_toBind_1089_, lean_box(0), lean_box(0), v___x_1118_, v___f_1117_); -return v___x_1119_; +uint8_t v___x_1176_; +v___x_1176_ = 0; +v___y_1159_ = v___x_1176_; +goto v___jp_1158_; +} +v___jp_1158_: +{ +lean_object* v___x_1160_; lean_object* v___x_1161_; lean_object* v___x_1162_; lean_object* v___x_1163_; lean_object* v___f_1164_; lean_object* v___x_1165_; +v___x_1160_ = lean_box(v_visibility_1157_); +v___x_1161_ = lean_box(v___y_1159_); +v___x_1162_ = lean_box(v___y_1137_); +v___x_1163_ = lean_box(v___y_1138_); +lean_inc(v_toPure_1139_); +v___f_1164_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__0___boxed), 9, 8); +lean_closure_set(v___f_1164_, 0, v_stx_1135_); +lean_closure_set(v___f_1164_, 1, v___y_1136_); +lean_closure_set(v___f_1164_, 2, v___x_1160_); +lean_closure_set(v___f_1164_, 3, v___x_1161_); +lean_closure_set(v___f_1164_, 4, v___x_1162_); +lean_closure_set(v___f_1164_, 5, v___x_1163_); +lean_closure_set(v___f_1164_, 6, v_toPure_1139_); +lean_closure_set(v___f_1164_, 7, v_unsafeStx_1140_); +v___x_1165_ = l_Lean_Syntax_getOptional_x3f(v_attrsStx_1141_); +if (lean_obj_tag(v___x_1165_) == 0) +{ +lean_object* v___f_1166_; lean_object* v___x_1167_; lean_object* v___x_1168_; lean_object* v___x_1169_; +lean_dec(v_inst_1155_); +lean_dec(v_inst_1154_); +lean_dec_ref(v_inst_1153_); +lean_dec(v_inst_1152_); +lean_dec(v_inst_1151_); +lean_dec_ref(v_inst_1150_); +lean_dec_ref(v_inst_1149_); +lean_dec_ref(v_inst_1148_); +lean_dec_ref(v_inst_1147_); +lean_dec_ref(v_inst_1146_); +lean_dec_ref(v_inst_1145_); +lean_dec_ref(v_inst_1144_); +v___f_1166_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__1), 2, 1); +lean_closure_set(v___f_1166_, 0, v___f_1164_); +v___x_1167_ = lean_mk_empty_array_with_capacity(v___x_1142_); +v___x_1168_ = lean_apply_2(v_toPure_1139_, lean_box(0), v___x_1167_); +v___x_1169_ = lean_apply_4(v_toBind_1143_, lean_box(0), lean_box(0), v___x_1168_, v___f_1166_); +return v___x_1169_; +} +else +{ +lean_object* v_val_1170_; lean_object* v___f_1171_; lean_object* v___x_1172_; lean_object* v___x_1173_; +lean_dec(v_toPure_1139_); +v_val_1170_ = lean_ctor_get(v___x_1165_, 0); +lean_inc(v_val_1170_); +lean_dec_ref(v___x_1165_); +v___f_1171_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__1), 2, 1); +lean_closure_set(v___f_1171_, 0, v___f_1164_); +v___x_1172_ = l_Lean_Elab_elabDeclAttrs___redArg(v_inst_1144_, v_inst_1145_, v_inst_1146_, v_inst_1147_, v_inst_1148_, v_inst_1149_, v_inst_1150_, v_inst_1151_, v_inst_1152_, v_inst_1153_, v_inst_1154_, v_inst_1155_, v_val_1170_); +lean_dec(v_val_1170_); +v___x_1173_ = lean_apply_4(v_toBind_1143_, lean_box(0), lean_box(0), v___x_1172_, v___f_1171_); +return v___x_1173_; } } } } LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__3___boxed(lean_object** _args){ -lean_object* v_stx_1123_ = _args[0]; -lean_object* v___y_1124_ = _args[1]; -lean_object* v___y_1125_ = _args[2]; -lean_object* v___y_1126_ = _args[3]; -lean_object* v_toPure_1127_ = _args[4]; -lean_object* v_unsafeStx_1128_ = _args[5]; -lean_object* v_attrsStx_1129_ = _args[6]; -lean_object* v___x_1130_ = _args[7]; -lean_object* v_toBind_1131_ = _args[8]; -lean_object* v_inst_1132_ = _args[9]; -lean_object* v_inst_1133_ = _args[10]; -lean_object* v_inst_1134_ = _args[11]; -lean_object* v_inst_1135_ = _args[12]; -lean_object* v_inst_1136_ = _args[13]; -lean_object* v_inst_1137_ = _args[14]; -lean_object* v_inst_1138_ = _args[15]; -lean_object* v_inst_1139_ = _args[16]; -lean_object* v_inst_1140_ = _args[17]; -lean_object* v_inst_1141_ = _args[18]; -lean_object* v_inst_1142_ = _args[19]; -lean_object* v_inst_1143_ = _args[20]; -lean_object* v_protectedStx_1144_ = _args[21]; -lean_object* v_visibility_1145_ = _args[22]; +lean_object* v_stx_1177_ = _args[0]; +lean_object* v___y_1178_ = _args[1]; +lean_object* v___y_1179_ = _args[2]; +lean_object* v___y_1180_ = _args[3]; +lean_object* v_toPure_1181_ = _args[4]; +lean_object* v_unsafeStx_1182_ = _args[5]; +lean_object* v_attrsStx_1183_ = _args[6]; +lean_object* v___x_1184_ = _args[7]; +lean_object* v_toBind_1185_ = _args[8]; +lean_object* v_inst_1186_ = _args[9]; +lean_object* v_inst_1187_ = _args[10]; +lean_object* v_inst_1188_ = _args[11]; +lean_object* v_inst_1189_ = _args[12]; +lean_object* v_inst_1190_ = _args[13]; +lean_object* v_inst_1191_ = _args[14]; +lean_object* v_inst_1192_ = _args[15]; +lean_object* v_inst_1193_ = _args[16]; +lean_object* v_inst_1194_ = _args[17]; +lean_object* v_inst_1195_ = _args[18]; +lean_object* v_inst_1196_ = _args[19]; +lean_object* v_inst_1197_ = _args[20]; +lean_object* v_protectedStx_1198_ = _args[21]; +lean_object* v_visibility_1199_ = _args[22]; _start: { -uint8_t v___y_751__boxed_1146_; uint8_t v___y_752__boxed_1147_; uint8_t v_visibility_boxed_1148_; lean_object* v_res_1149_; -v___y_751__boxed_1146_ = lean_unbox(v___y_1125_); -v___y_752__boxed_1147_ = lean_unbox(v___y_1126_); -v_visibility_boxed_1148_ = lean_unbox(v_visibility_1145_); -v_res_1149_ = l_Lean_Elab_elabModifiers___redArg___lam__3(v_stx_1123_, v___y_1124_, v___y_751__boxed_1146_, v___y_752__boxed_1147_, v_toPure_1127_, v_unsafeStx_1128_, v_attrsStx_1129_, v___x_1130_, v_toBind_1131_, v_inst_1132_, v_inst_1133_, v_inst_1134_, v_inst_1135_, v_inst_1136_, v_inst_1137_, v_inst_1138_, v_inst_1139_, v_inst_1140_, v_inst_1141_, v_inst_1142_, v_inst_1143_, v_protectedStx_1144_, v_visibility_boxed_1148_); -lean_dec(v_protectedStx_1144_); -lean_dec(v___x_1130_); -lean_dec(v_attrsStx_1129_); -return v_res_1149_; +uint8_t v___y_751__boxed_1200_; uint8_t v___y_752__boxed_1201_; uint8_t v_visibility_boxed_1202_; lean_object* v_res_1203_; +v___y_751__boxed_1200_ = lean_unbox(v___y_1179_); +v___y_752__boxed_1201_ = lean_unbox(v___y_1180_); +v_visibility_boxed_1202_ = lean_unbox(v_visibility_1199_); +v_res_1203_ = l_Lean_Elab_elabModifiers___redArg___lam__3(v_stx_1177_, v___y_1178_, v___y_751__boxed_1200_, v___y_752__boxed_1201_, v_toPure_1181_, v_unsafeStx_1182_, v_attrsStx_1183_, v___x_1184_, v_toBind_1185_, v_inst_1186_, v_inst_1187_, v_inst_1188_, v_inst_1189_, v_inst_1190_, v_inst_1191_, v_inst_1192_, v_inst_1193_, v_inst_1194_, v_inst_1195_, v_inst_1196_, v_inst_1197_, v_protectedStx_1198_, v_visibility_boxed_1202_); +lean_dec(v_protectedStx_1198_); +lean_dec(v___x_1184_); +lean_dec(v_attrsStx_1183_); +return v_res_1203_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__2(lean_object* v___f_1150_, uint8_t v_visibility_1151_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__2(lean_object* v___f_1204_, uint8_t v_visibility_1205_){ _start: { -lean_object* v___x_1152_; lean_object* v___x_1153_; -v___x_1152_ = lean_box(v_visibility_1151_); -v___x_1153_ = lean_apply_1(v___f_1150_, v___x_1152_); -return v___x_1153_; +lean_object* v___x_1206_; lean_object* v___x_1207_; +v___x_1206_ = lean_box(v_visibility_1205_); +v___x_1207_ = lean_apply_1(v___f_1204_, v___x_1206_); +return v___x_1207_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__2___boxed(lean_object* v___f_1154_, lean_object* v_visibility_1155_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__2___boxed(lean_object* v___f_1208_, lean_object* v_visibility_1209_){ _start: { -uint8_t v_visibility_boxed_1156_; lean_object* v_res_1157_; -v_visibility_boxed_1156_ = lean_unbox(v_visibility_1155_); -v_res_1157_ = l_Lean_Elab_elabModifiers___redArg___lam__2(v___f_1154_, v_visibility_boxed_1156_); -return v_res_1157_; +uint8_t v_visibility_boxed_1210_; lean_object* v_res_1211_; +v_visibility_boxed_1210_ = lean_unbox(v_visibility_1209_); +v_res_1211_ = l_Lean_Elab_elabModifiers___redArg___lam__2(v___f_1208_, v_visibility_boxed_1210_); +return v_res_1211_; } } static lean_object* _init_l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6(void){ _start: { -lean_object* v___x_1172_; lean_object* v___x_1173_; -v___x_1172_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__5)); -v___x_1173_ = l_Lean_stringToMessageData(v___x_1172_); -return v___x_1173_; +lean_object* v___x_1226_; lean_object* v___x_1227_; +v___x_1226_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__5)); +v___x_1227_ = l_Lean_stringToMessageData(v___x_1226_); +return v___x_1227_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__7(lean_object* v_stx_1174_, uint8_t v___y_1175_, uint8_t v___y_1176_, lean_object* v_toPure_1177_, lean_object* v_unsafeStx_1178_, lean_object* v_attrsStx_1179_, lean_object* v___x_1180_, lean_object* v_toBind_1181_, lean_object* v_inst_1182_, lean_object* v_inst_1183_, lean_object* v_inst_1184_, lean_object* v_inst_1185_, lean_object* v_inst_1186_, lean_object* v_inst_1187_, lean_object* v_inst_1188_, lean_object* v_inst_1189_, lean_object* v_inst_1190_, lean_object* v_inst_1191_, lean_object* v_inst_1192_, lean_object* v_inst_1193_, lean_object* v_protectedStx_1194_, lean_object* v_visibilityStx_1195_, lean_object* v_docCommentStx_1196_, lean_object* v___x_1197_, lean_object* v_____do__lift_1198_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__7(lean_object* v_stx_1228_, uint8_t v___y_1229_, uint8_t v___y_1230_, lean_object* v_toPure_1231_, lean_object* v_unsafeStx_1232_, lean_object* v_attrsStx_1233_, lean_object* v___x_1234_, lean_object* v_toBind_1235_, lean_object* v_inst_1236_, lean_object* v_inst_1237_, lean_object* v_inst_1238_, lean_object* v_inst_1239_, lean_object* v_inst_1240_, lean_object* v_inst_1241_, lean_object* v_inst_1242_, lean_object* v_inst_1243_, lean_object* v_inst_1244_, lean_object* v_inst_1245_, lean_object* v_inst_1246_, lean_object* v_inst_1247_, lean_object* v_protectedStx_1248_, lean_object* v_visibilityStx_1249_, lean_object* v_docCommentStx_1250_, lean_object* v___x_1251_, lean_object* v_____do__lift_1252_){ _start: { -lean_object* v___y_1200_; lean_object* v___x_1229_; -v___x_1229_ = l_Lean_Syntax_getOptional_x3f(v_docCommentStx_1196_); -if (lean_obj_tag(v___x_1229_) == 0) +lean_object* v___y_1254_; lean_object* v___x_1283_; +v___x_1283_ = l_Lean_Syntax_getOptional_x3f(v_docCommentStx_1250_); +if (lean_obj_tag(v___x_1283_) == 0) { -lean_object* v___x_1230_; -lean_dec_ref(v___x_1197_); -v___x_1230_ = lean_box(0); -v___y_1200_ = v___x_1230_; -goto v___jp_1199_; +lean_object* v___x_1284_; +lean_dec_ref(v___x_1251_); +v___x_1284_ = lean_box(0); +v___y_1254_ = v___x_1284_; +goto v___jp_1253_; } else { -lean_object* v_val_1231_; lean_object* v___x_1233_; uint8_t v_isShared_1234_; uint8_t v_isSharedCheck_1241_; -v_val_1231_ = lean_ctor_get(v___x_1229_, 0); -v_isSharedCheck_1241_ = !lean_is_exclusive(v___x_1229_); -if (v_isSharedCheck_1241_ == 0) +lean_object* v_val_1285_; lean_object* v___x_1287_; uint8_t v_isShared_1288_; uint8_t v_isSharedCheck_1295_; +v_val_1285_ = lean_ctor_get(v___x_1283_, 0); +v_isSharedCheck_1295_ = !lean_is_exclusive(v___x_1283_); +if (v_isSharedCheck_1295_ == 0) { -v___x_1233_ = v___x_1229_; -v_isShared_1234_ = v_isSharedCheck_1241_; -goto v_resetjp_1232_; +v___x_1287_ = v___x_1283_; +v_isShared_1288_ = v_isSharedCheck_1295_; +goto v_resetjp_1286_; } else { -lean_inc(v_val_1231_); -lean_dec(v___x_1229_); -v___x_1233_ = lean_box(0); -v_isShared_1234_ = v_isSharedCheck_1241_; -goto v_resetjp_1232_; +lean_inc(v_val_1285_); +lean_dec(v___x_1283_); +v___x_1287_ = lean_box(0); +v_isShared_1288_ = v_isSharedCheck_1295_; +goto v_resetjp_1286_; } -v_resetjp_1232_: +v_resetjp_1286_: { -lean_object* v___x_1235_; lean_object* v___x_1236_; lean_object* v___x_1237_; lean_object* v___x_1239_; -v___x_1235_ = l_Lean_doc_verso; -v___x_1236_ = l_Lean_Option_get___redArg(v___x_1197_, v_____do__lift_1198_, v___x_1235_); -v___x_1237_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1237_, 0, v_val_1231_); -lean_ctor_set(v___x_1237_, 1, v___x_1236_); -if (v_isShared_1234_ == 0) +lean_object* v___x_1289_; lean_object* v___x_1290_; lean_object* v___x_1291_; lean_object* v___x_1293_; +v___x_1289_ = l_Lean_doc_verso; +v___x_1290_ = l_Lean_Option_get___redArg(v___x_1251_, v_____do__lift_1252_, v___x_1289_); +v___x_1291_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1291_, 0, v_val_1285_); +lean_ctor_set(v___x_1291_, 1, v___x_1290_); +if (v_isShared_1288_ == 0) { -lean_ctor_set(v___x_1233_, 0, v___x_1237_); -v___x_1239_ = v___x_1233_; -goto v_reusejp_1238_; +lean_ctor_set(v___x_1287_, 0, v___x_1291_); +v___x_1293_ = v___x_1287_; +goto v_reusejp_1292_; } else { -lean_object* v_reuseFailAlloc_1240_; -v_reuseFailAlloc_1240_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1240_, 0, v___x_1237_); -v___x_1239_ = v_reuseFailAlloc_1240_; -goto v_reusejp_1238_; +lean_object* v_reuseFailAlloc_1294_; +v_reuseFailAlloc_1294_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1294_, 0, v___x_1291_); +v___x_1293_ = v_reuseFailAlloc_1294_; +goto v_reusejp_1292_; } -v_reusejp_1238_: +v_reusejp_1292_: { -v___y_1200_ = v___x_1239_; -goto v___jp_1199_; +v___y_1254_ = v___x_1293_; +goto v___jp_1253_; } } } -v___jp_1199_: +v___jp_1253_: { -lean_object* v___x_1201_; lean_object* v___x_1202_; lean_object* v___f_1203_; lean_object* v___x_1204_; -v___x_1201_ = lean_box(v___y_1175_); -v___x_1202_ = lean_box(v___y_1176_); -lean_inc_ref(v_inst_1185_); -lean_inc_ref(v_inst_1182_); -lean_inc(v_toBind_1181_); -lean_inc(v_toPure_1177_); -v___f_1203_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__3___boxed), 23, 22); -lean_closure_set(v___f_1203_, 0, v_stx_1174_); -lean_closure_set(v___f_1203_, 1, v___y_1200_); -lean_closure_set(v___f_1203_, 2, v___x_1201_); -lean_closure_set(v___f_1203_, 3, v___x_1202_); -lean_closure_set(v___f_1203_, 4, v_toPure_1177_); -lean_closure_set(v___f_1203_, 5, v_unsafeStx_1178_); -lean_closure_set(v___f_1203_, 6, v_attrsStx_1179_); -lean_closure_set(v___f_1203_, 7, v___x_1180_); -lean_closure_set(v___f_1203_, 8, v_toBind_1181_); -lean_closure_set(v___f_1203_, 9, v_inst_1182_); -lean_closure_set(v___f_1203_, 10, v_inst_1183_); -lean_closure_set(v___f_1203_, 11, v_inst_1184_); -lean_closure_set(v___f_1203_, 12, v_inst_1185_); -lean_closure_set(v___f_1203_, 13, v_inst_1186_); -lean_closure_set(v___f_1203_, 14, v_inst_1187_); -lean_closure_set(v___f_1203_, 15, v_inst_1188_); -lean_closure_set(v___f_1203_, 16, v_inst_1189_); -lean_closure_set(v___f_1203_, 17, v_inst_1190_); -lean_closure_set(v___f_1203_, 18, v_inst_1191_); -lean_closure_set(v___f_1203_, 19, v_inst_1192_); -lean_closure_set(v___f_1203_, 20, v_inst_1193_); -lean_closure_set(v___f_1203_, 21, v_protectedStx_1194_); -v___x_1204_ = l_Lean_Syntax_getOptional_x3f(v_visibilityStx_1195_); -if (lean_obj_tag(v___x_1204_) == 0) +lean_object* v___x_1255_; lean_object* v___x_1256_; lean_object* v___f_1257_; lean_object* v___x_1258_; +v___x_1255_ = lean_box(v___y_1229_); +v___x_1256_ = lean_box(v___y_1230_); +lean_inc_ref(v_inst_1239_); +lean_inc_ref(v_inst_1236_); +lean_inc(v_toBind_1235_); +lean_inc(v_toPure_1231_); +v___f_1257_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__3___boxed), 23, 22); +lean_closure_set(v___f_1257_, 0, v_stx_1228_); +lean_closure_set(v___f_1257_, 1, v___y_1254_); +lean_closure_set(v___f_1257_, 2, v___x_1255_); +lean_closure_set(v___f_1257_, 3, v___x_1256_); +lean_closure_set(v___f_1257_, 4, v_toPure_1231_); +lean_closure_set(v___f_1257_, 5, v_unsafeStx_1232_); +lean_closure_set(v___f_1257_, 6, v_attrsStx_1233_); +lean_closure_set(v___f_1257_, 7, v___x_1234_); +lean_closure_set(v___f_1257_, 8, v_toBind_1235_); +lean_closure_set(v___f_1257_, 9, v_inst_1236_); +lean_closure_set(v___f_1257_, 10, v_inst_1237_); +lean_closure_set(v___f_1257_, 11, v_inst_1238_); +lean_closure_set(v___f_1257_, 12, v_inst_1239_); +lean_closure_set(v___f_1257_, 13, v_inst_1240_); +lean_closure_set(v___f_1257_, 14, v_inst_1241_); +lean_closure_set(v___f_1257_, 15, v_inst_1242_); +lean_closure_set(v___f_1257_, 16, v_inst_1243_); +lean_closure_set(v___f_1257_, 17, v_inst_1244_); +lean_closure_set(v___f_1257_, 18, v_inst_1245_); +lean_closure_set(v___f_1257_, 19, v_inst_1246_); +lean_closure_set(v___f_1257_, 20, v_inst_1247_); +lean_closure_set(v___f_1257_, 21, v_protectedStx_1248_); +v___x_1258_ = l_Lean_Syntax_getOptional_x3f(v_visibilityStx_1249_); +if (lean_obj_tag(v___x_1258_) == 0) { -lean_object* v___f_1205_; uint8_t v___x_1206_; lean_object* v___x_1207_; lean_object* v___x_1208_; lean_object* v___x_1209_; -lean_dec_ref(v_inst_1185_); -lean_dec_ref(v_inst_1182_); -v___f_1205_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); -lean_closure_set(v___f_1205_, 0, v___f_1203_); -v___x_1206_ = 0; -v___x_1207_ = lean_box(v___x_1206_); -v___x_1208_ = lean_apply_2(v_toPure_1177_, lean_box(0), v___x_1207_); -v___x_1209_ = lean_apply_4(v_toBind_1181_, lean_box(0), lean_box(0), v___x_1208_, v___f_1205_); -return v___x_1209_; +lean_object* v___f_1259_; uint8_t v___x_1260_; lean_object* v___x_1261_; lean_object* v___x_1262_; lean_object* v___x_1263_; +lean_dec_ref(v_inst_1239_); +lean_dec_ref(v_inst_1236_); +v___f_1259_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); +lean_closure_set(v___f_1259_, 0, v___f_1257_); +v___x_1260_ = 0; +v___x_1261_ = lean_box(v___x_1260_); +v___x_1262_ = lean_apply_2(v_toPure_1231_, lean_box(0), v___x_1261_); +v___x_1263_ = lean_apply_4(v_toBind_1235_, lean_box(0), lean_box(0), v___x_1262_, v___f_1259_); +return v___x_1263_; } else { -lean_object* v_val_1210_; lean_object* v___x_1211_; uint8_t v___x_1212_; -v_val_1210_ = lean_ctor_get(v___x_1204_, 0); -lean_inc(v_val_1210_); -lean_dec_ref(v___x_1204_); -v___x_1211_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__3)); -lean_inc(v_val_1210_); -v___x_1212_ = l_Lean_Syntax_isOfKind(v_val_1210_, v___x_1211_); -if (v___x_1212_ == 0) +lean_object* v_val_1264_; lean_object* v___x_1265_; uint8_t v___x_1266_; +v_val_1264_ = lean_ctor_get(v___x_1258_, 0); +lean_inc(v_val_1264_); +lean_dec_ref(v___x_1258_); +v___x_1265_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__3)); +lean_inc(v_val_1264_); +v___x_1266_ = l_Lean_Syntax_isOfKind(v_val_1264_, v___x_1265_); +if (v___x_1266_ == 0) { -lean_object* v___x_1213_; uint8_t v___x_1214_; -v___x_1213_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__4)); -lean_inc(v_val_1210_); -v___x_1214_ = l_Lean_Syntax_isOfKind(v_val_1210_, v___x_1213_); -if (v___x_1214_ == 0) +lean_object* v___x_1267_; uint8_t v___x_1268_; +v___x_1267_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___lam__7___closed__4)); +lean_inc(v_val_1264_); +v___x_1268_ = l_Lean_Syntax_isOfKind(v_val_1264_, v___x_1267_); +if (v___x_1268_ == 0) { -lean_object* v___f_1215_; lean_object* v___x_1216_; lean_object* v___x_1217_; lean_object* v___x_1218_; -lean_dec(v_toPure_1177_); -v___f_1215_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); -lean_closure_set(v___f_1215_, 0, v___f_1203_); -v___x_1216_ = lean_obj_once(&l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6, &l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6_once, _init_l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6); -v___x_1217_ = l_Lean_throwErrorAt___redArg(v_inst_1182_, v_inst_1185_, v_val_1210_, v___x_1216_); -v___x_1218_ = lean_apply_4(v_toBind_1181_, lean_box(0), lean_box(0), v___x_1217_, v___f_1215_); -return v___x_1218_; +lean_object* v___f_1269_; lean_object* v___x_1270_; lean_object* v___x_1271_; lean_object* v___x_1272_; +lean_dec(v_toPure_1231_); +v___f_1269_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); +lean_closure_set(v___f_1269_, 0, v___f_1257_); +v___x_1270_ = lean_obj_once(&l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6, &l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6_once, _init_l_Lean_Elab_elabModifiers___redArg___lam__7___closed__6); +v___x_1271_ = l_Lean_throwErrorAt___redArg(v_inst_1236_, v_inst_1239_, v_val_1264_, v___x_1270_); +v___x_1272_ = lean_apply_4(v_toBind_1235_, lean_box(0), lean_box(0), v___x_1271_, v___f_1269_); +return v___x_1272_; } else { -lean_object* v___f_1219_; uint8_t v___x_1220_; lean_object* v___x_1221_; lean_object* v___x_1222_; lean_object* v___x_1223_; -lean_dec(v_val_1210_); -lean_dec_ref(v_inst_1185_); -lean_dec_ref(v_inst_1182_); -v___f_1219_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); -lean_closure_set(v___f_1219_, 0, v___f_1203_); -v___x_1220_ = 2; -v___x_1221_ = lean_box(v___x_1220_); -v___x_1222_ = lean_apply_2(v_toPure_1177_, lean_box(0), v___x_1221_); -v___x_1223_ = lean_apply_4(v_toBind_1181_, lean_box(0), lean_box(0), v___x_1222_, v___f_1219_); -return v___x_1223_; +lean_object* v___f_1273_; uint8_t v___x_1274_; lean_object* v___x_1275_; lean_object* v___x_1276_; lean_object* v___x_1277_; +lean_dec(v_val_1264_); +lean_dec_ref(v_inst_1239_); +lean_dec_ref(v_inst_1236_); +v___f_1273_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); +lean_closure_set(v___f_1273_, 0, v___f_1257_); +v___x_1274_ = 2; +v___x_1275_ = lean_box(v___x_1274_); +v___x_1276_ = lean_apply_2(v_toPure_1231_, lean_box(0), v___x_1275_); +v___x_1277_ = lean_apply_4(v_toBind_1235_, lean_box(0), lean_box(0), v___x_1276_, v___f_1273_); +return v___x_1277_; } } else { -lean_object* v___f_1224_; uint8_t v___x_1225_; lean_object* v___x_1226_; lean_object* v___x_1227_; lean_object* v___x_1228_; -lean_dec(v_val_1210_); -lean_dec_ref(v_inst_1185_); -lean_dec_ref(v_inst_1182_); -v___f_1224_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); -lean_closure_set(v___f_1224_, 0, v___f_1203_); -v___x_1225_ = 1; -v___x_1226_ = lean_box(v___x_1225_); -v___x_1227_ = lean_apply_2(v_toPure_1177_, lean_box(0), v___x_1226_); -v___x_1228_ = lean_apply_4(v_toBind_1181_, lean_box(0), lean_box(0), v___x_1227_, v___f_1224_); -return v___x_1228_; +lean_object* v___f_1278_; uint8_t v___x_1279_; lean_object* v___x_1280_; lean_object* v___x_1281_; lean_object* v___x_1282_; +lean_dec(v_val_1264_); +lean_dec_ref(v_inst_1239_); +lean_dec_ref(v_inst_1236_); +v___f_1278_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__2___boxed), 2, 1); +lean_closure_set(v___f_1278_, 0, v___f_1257_); +v___x_1279_ = 1; +v___x_1280_ = lean_box(v___x_1279_); +v___x_1281_ = lean_apply_2(v_toPure_1231_, lean_box(0), v___x_1280_); +v___x_1282_ = lean_apply_4(v_toBind_1235_, lean_box(0), lean_box(0), v___x_1281_, v___f_1278_); +return v___x_1282_; } } } } } LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg___lam__7___boxed(lean_object** _args){ -lean_object* v_stx_1242_ = _args[0]; -lean_object* v___y_1243_ = _args[1]; -lean_object* v___y_1244_ = _args[2]; -lean_object* v_toPure_1245_ = _args[3]; -lean_object* v_unsafeStx_1246_ = _args[4]; -lean_object* v_attrsStx_1247_ = _args[5]; -lean_object* v___x_1248_ = _args[6]; -lean_object* v_toBind_1249_ = _args[7]; -lean_object* v_inst_1250_ = _args[8]; -lean_object* v_inst_1251_ = _args[9]; -lean_object* v_inst_1252_ = _args[10]; -lean_object* v_inst_1253_ = _args[11]; -lean_object* v_inst_1254_ = _args[12]; -lean_object* v_inst_1255_ = _args[13]; -lean_object* v_inst_1256_ = _args[14]; -lean_object* v_inst_1257_ = _args[15]; -lean_object* v_inst_1258_ = _args[16]; -lean_object* v_inst_1259_ = _args[17]; -lean_object* v_inst_1260_ = _args[18]; -lean_object* v_inst_1261_ = _args[19]; -lean_object* v_protectedStx_1262_ = _args[20]; -lean_object* v_visibilityStx_1263_ = _args[21]; -lean_object* v_docCommentStx_1264_ = _args[22]; -lean_object* v___x_1265_ = _args[23]; -lean_object* v_____do__lift_1266_ = _args[24]; +lean_object* v_stx_1296_ = _args[0]; +lean_object* v___y_1297_ = _args[1]; +lean_object* v___y_1298_ = _args[2]; +lean_object* v_toPure_1299_ = _args[3]; +lean_object* v_unsafeStx_1300_ = _args[4]; +lean_object* v_attrsStx_1301_ = _args[5]; +lean_object* v___x_1302_ = _args[6]; +lean_object* v_toBind_1303_ = _args[7]; +lean_object* v_inst_1304_ = _args[8]; +lean_object* v_inst_1305_ = _args[9]; +lean_object* v_inst_1306_ = _args[10]; +lean_object* v_inst_1307_ = _args[11]; +lean_object* v_inst_1308_ = _args[12]; +lean_object* v_inst_1309_ = _args[13]; +lean_object* v_inst_1310_ = _args[14]; +lean_object* v_inst_1311_ = _args[15]; +lean_object* v_inst_1312_ = _args[16]; +lean_object* v_inst_1313_ = _args[17]; +lean_object* v_inst_1314_ = _args[18]; +lean_object* v_inst_1315_ = _args[19]; +lean_object* v_protectedStx_1316_ = _args[20]; +lean_object* v_visibilityStx_1317_ = _args[21]; +lean_object* v_docCommentStx_1318_ = _args[22]; +lean_object* v___x_1319_ = _args[23]; +lean_object* v_____do__lift_1320_ = _args[24]; _start: { -uint8_t v___y_877__boxed_1267_; uint8_t v___y_878__boxed_1268_; lean_object* v_res_1269_; -v___y_877__boxed_1267_ = lean_unbox(v___y_1243_); -v___y_878__boxed_1268_ = lean_unbox(v___y_1244_); -v_res_1269_ = l_Lean_Elab_elabModifiers___redArg___lam__7(v_stx_1242_, v___y_877__boxed_1267_, v___y_878__boxed_1268_, v_toPure_1245_, v_unsafeStx_1246_, v_attrsStx_1247_, v___x_1248_, v_toBind_1249_, v_inst_1250_, v_inst_1251_, v_inst_1252_, v_inst_1253_, v_inst_1254_, v_inst_1255_, v_inst_1256_, v_inst_1257_, v_inst_1258_, v_inst_1259_, v_inst_1260_, v_inst_1261_, v_protectedStx_1262_, v_visibilityStx_1263_, v_docCommentStx_1264_, v___x_1265_, v_____do__lift_1266_); -lean_dec_ref(v_____do__lift_1266_); -lean_dec(v_docCommentStx_1264_); -lean_dec(v_visibilityStx_1263_); -return v_res_1269_; +uint8_t v___y_877__boxed_1321_; uint8_t v___y_878__boxed_1322_; lean_object* v_res_1323_; +v___y_877__boxed_1321_ = lean_unbox(v___y_1297_); +v___y_878__boxed_1322_ = lean_unbox(v___y_1298_); +v_res_1323_ = l_Lean_Elab_elabModifiers___redArg___lam__7(v_stx_1296_, v___y_877__boxed_1321_, v___y_878__boxed_1322_, v_toPure_1299_, v_unsafeStx_1300_, v_attrsStx_1301_, v___x_1302_, v_toBind_1303_, v_inst_1304_, v_inst_1305_, v_inst_1306_, v_inst_1307_, v_inst_1308_, v_inst_1309_, v_inst_1310_, v_inst_1311_, v_inst_1312_, v_inst_1313_, v_inst_1314_, v_inst_1315_, v_protectedStx_1316_, v_visibilityStx_1317_, v_docCommentStx_1318_, v___x_1319_, v_____do__lift_1320_); +lean_dec_ref(v_____do__lift_1320_); +lean_dec(v_docCommentStx_1318_); +lean_dec(v_visibilityStx_1317_); +return v_res_1323_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg(lean_object* v_inst_1280_, lean_object* v_inst_1281_, lean_object* v_inst_1282_, lean_object* v_inst_1283_, lean_object* v_inst_1284_, lean_object* v_inst_1285_, lean_object* v_inst_1286_, lean_object* v_inst_1287_, lean_object* v_inst_1288_, lean_object* v_inst_1289_, lean_object* v_inst_1290_, lean_object* v_inst_1291_, lean_object* v_stx_1292_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___redArg(lean_object* v_inst_1334_, lean_object* v_inst_1335_, lean_object* v_inst_1336_, lean_object* v_inst_1337_, lean_object* v_inst_1338_, lean_object* v_inst_1339_, lean_object* v_inst_1340_, lean_object* v_inst_1341_, lean_object* v_inst_1342_, lean_object* v_inst_1343_, lean_object* v_inst_1344_, lean_object* v_inst_1345_, lean_object* v_stx_1346_){ _start: { -lean_object* v___x_1293_; lean_object* v_toApplicative_1294_; lean_object* v_toBind_1295_; lean_object* v_toPure_1296_; lean_object* v___x_1297_; lean_object* v_docCommentStx_1298_; lean_object* v___x_1299_; lean_object* v_attrsStx_1300_; lean_object* v___x_1301_; lean_object* v_visibilityStx_1302_; lean_object* v___x_1303_; lean_object* v_protectedStx_1304_; uint8_t v___y_1306_; lean_object* v___y_1307_; uint8_t v___y_1308_; uint8_t v___y_1314_; lean_object* v___x_1327_; lean_object* v___x_1328_; uint8_t v___x_1329_; -v___x_1293_ = l_Lean_KVMap_instValueBool; -v_toApplicative_1294_ = lean_ctor_get(v_inst_1280_, 0); -v_toBind_1295_ = lean_ctor_get(v_inst_1280_, 1); -lean_inc(v_toBind_1295_); -v_toPure_1296_ = lean_ctor_get(v_toApplicative_1294_, 1); -lean_inc(v_toPure_1296_); -v___x_1297_ = lean_unsigned_to_nat(0u); -v_docCommentStx_1298_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1297_); -v___x_1299_ = lean_unsigned_to_nat(1u); -v_attrsStx_1300_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1299_); -v___x_1301_ = lean_unsigned_to_nat(2u); -v_visibilityStx_1302_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1301_); -v___x_1303_ = lean_unsigned_to_nat(3u); -v_protectedStx_1304_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1303_); -v___x_1327_ = lean_unsigned_to_nat(4u); -v___x_1328_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1327_); -v___x_1329_ = l_Lean_Syntax_isNone(v___x_1328_); -if (v___x_1329_ == 0) +lean_object* v___x_1347_; lean_object* v_toApplicative_1348_; lean_object* v_toBind_1349_; lean_object* v_toPure_1350_; lean_object* v___x_1351_; lean_object* v_docCommentStx_1352_; lean_object* v___x_1353_; lean_object* v_attrsStx_1354_; lean_object* v___x_1355_; lean_object* v_visibilityStx_1356_; lean_object* v___x_1357_; lean_object* v_protectedStx_1358_; uint8_t v___y_1360_; lean_object* v___y_1361_; uint8_t v___y_1362_; uint8_t v___y_1368_; lean_object* v___x_1381_; lean_object* v___x_1382_; uint8_t v___x_1383_; +v___x_1347_ = l_Lean_KVMap_instValueBool; +v_toApplicative_1348_ = lean_ctor_get(v_inst_1334_, 0); +v_toBind_1349_ = lean_ctor_get(v_inst_1334_, 1); +lean_inc(v_toBind_1349_); +v_toPure_1350_ = lean_ctor_get(v_toApplicative_1348_, 1); +lean_inc(v_toPure_1350_); +v___x_1351_ = lean_unsigned_to_nat(0u); +v_docCommentStx_1352_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1351_); +v___x_1353_ = lean_unsigned_to_nat(1u); +v_attrsStx_1354_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1353_); +v___x_1355_ = lean_unsigned_to_nat(2u); +v_visibilityStx_1356_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1355_); +v___x_1357_ = lean_unsigned_to_nat(3u); +v_protectedStx_1358_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1357_); +v___x_1381_ = lean_unsigned_to_nat(4u); +v___x_1382_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1381_); +v___x_1383_ = l_Lean_Syntax_isNone(v___x_1382_); +if (v___x_1383_ == 0) { -lean_object* v___x_1330_; lean_object* v___x_1331_; lean_object* v___x_1332_; uint8_t v___x_1333_; -v___x_1330_ = l_Lean_Syntax_getArg(v___x_1328_, v___x_1297_); -lean_dec(v___x_1328_); -v___x_1331_ = l_Lean_Syntax_getKind(v___x_1330_); -v___x_1332_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___closed__1)); -v___x_1333_ = lean_name_eq(v___x_1331_, v___x_1332_); -lean_dec(v___x_1331_); -if (v___x_1333_ == 0) +lean_object* v___x_1384_; lean_object* v___x_1385_; lean_object* v___x_1386_; uint8_t v___x_1387_; +v___x_1384_ = l_Lean_Syntax_getArg(v___x_1382_, v___x_1351_); +lean_dec(v___x_1382_); +v___x_1385_ = l_Lean_Syntax_getKind(v___x_1384_); +v___x_1386_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___closed__1)); +v___x_1387_ = lean_name_eq(v___x_1385_, v___x_1386_); +lean_dec(v___x_1385_); +if (v___x_1387_ == 0) { -uint8_t v___x_1334_; -v___x_1334_ = 2; -v___y_1314_ = v___x_1334_; -goto v___jp_1313_; +uint8_t v___x_1388_; +v___x_1388_ = 2; +v___y_1368_ = v___x_1388_; +goto v___jp_1367_; } else { -uint8_t v___x_1335_; -v___x_1335_ = 1; -v___y_1314_ = v___x_1335_; -goto v___jp_1313_; +uint8_t v___x_1389_; +v___x_1389_ = 1; +v___y_1368_ = v___x_1389_; +goto v___jp_1367_; } } else { -uint8_t v___x_1336_; -lean_dec(v___x_1328_); -v___x_1336_ = 0; -v___y_1314_ = v___x_1336_; -goto v___jp_1313_; +uint8_t v___x_1390_; +lean_dec(v___x_1382_); +v___x_1390_ = 0; +v___y_1368_ = v___x_1390_; +goto v___jp_1367_; } -v___jp_1305_: +v___jp_1359_: { -lean_object* v___x_1309_; lean_object* v___x_1310_; lean_object* v___f_1311_; lean_object* v___x_1312_; -v___x_1309_ = lean_box(v___y_1306_); -v___x_1310_ = lean_box(v___y_1308_); -lean_inc(v_inst_1288_); -lean_inc(v_toBind_1295_); -v___f_1311_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__7___boxed), 25, 24); -lean_closure_set(v___f_1311_, 0, v_stx_1292_); -lean_closure_set(v___f_1311_, 1, v___x_1309_); -lean_closure_set(v___f_1311_, 2, v___x_1310_); -lean_closure_set(v___f_1311_, 3, v_toPure_1296_); -lean_closure_set(v___f_1311_, 4, v___y_1307_); -lean_closure_set(v___f_1311_, 5, v_attrsStx_1300_); -lean_closure_set(v___f_1311_, 6, v___x_1297_); -lean_closure_set(v___f_1311_, 7, v_toBind_1295_); -lean_closure_set(v___f_1311_, 8, v_inst_1280_); -lean_closure_set(v___f_1311_, 9, v_inst_1281_); -lean_closure_set(v___f_1311_, 10, v_inst_1282_); -lean_closure_set(v___f_1311_, 11, v_inst_1283_); -lean_closure_set(v___f_1311_, 12, v_inst_1285_); -lean_closure_set(v___f_1311_, 13, v_inst_1286_); -lean_closure_set(v___f_1311_, 14, v_inst_1287_); -lean_closure_set(v___f_1311_, 15, v_inst_1288_); -lean_closure_set(v___f_1311_, 16, v_inst_1289_); -lean_closure_set(v___f_1311_, 17, v_inst_1290_); -lean_closure_set(v___f_1311_, 18, v_inst_1291_); -lean_closure_set(v___f_1311_, 19, v_inst_1284_); -lean_closure_set(v___f_1311_, 20, v_protectedStx_1304_); -lean_closure_set(v___f_1311_, 21, v_visibilityStx_1302_); -lean_closure_set(v___f_1311_, 22, v_docCommentStx_1298_); -lean_closure_set(v___f_1311_, 23, v___x_1293_); -v___x_1312_ = lean_apply_4(v_toBind_1295_, lean_box(0), lean_box(0), v_inst_1288_, v___f_1311_); -return v___x_1312_; +lean_object* v___x_1363_; lean_object* v___x_1364_; lean_object* v___f_1365_; lean_object* v___x_1366_; +v___x_1363_ = lean_box(v___y_1360_); +v___x_1364_ = lean_box(v___y_1362_); +lean_inc(v_inst_1342_); +lean_inc(v_toBind_1349_); +v___f_1365_ = lean_alloc_closure((void*)(l_Lean_Elab_elabModifiers___redArg___lam__7___boxed), 25, 24); +lean_closure_set(v___f_1365_, 0, v_stx_1346_); +lean_closure_set(v___f_1365_, 1, v___x_1363_); +lean_closure_set(v___f_1365_, 2, v___x_1364_); +lean_closure_set(v___f_1365_, 3, v_toPure_1350_); +lean_closure_set(v___f_1365_, 4, v___y_1361_); +lean_closure_set(v___f_1365_, 5, v_attrsStx_1354_); +lean_closure_set(v___f_1365_, 6, v___x_1351_); +lean_closure_set(v___f_1365_, 7, v_toBind_1349_); +lean_closure_set(v___f_1365_, 8, v_inst_1334_); +lean_closure_set(v___f_1365_, 9, v_inst_1335_); +lean_closure_set(v___f_1365_, 10, v_inst_1336_); +lean_closure_set(v___f_1365_, 11, v_inst_1337_); +lean_closure_set(v___f_1365_, 12, v_inst_1339_); +lean_closure_set(v___f_1365_, 13, v_inst_1340_); +lean_closure_set(v___f_1365_, 14, v_inst_1341_); +lean_closure_set(v___f_1365_, 15, v_inst_1342_); +lean_closure_set(v___f_1365_, 16, v_inst_1343_); +lean_closure_set(v___f_1365_, 17, v_inst_1344_); +lean_closure_set(v___f_1365_, 18, v_inst_1345_); +lean_closure_set(v___f_1365_, 19, v_inst_1338_); +lean_closure_set(v___f_1365_, 20, v_protectedStx_1358_); +lean_closure_set(v___f_1365_, 21, v_visibilityStx_1356_); +lean_closure_set(v___f_1365_, 22, v_docCommentStx_1352_); +lean_closure_set(v___f_1365_, 23, v___x_1347_); +v___x_1366_ = lean_apply_4(v_toBind_1349_, lean_box(0), lean_box(0), v_inst_1342_, v___f_1365_); +return v___x_1366_; } -v___jp_1313_: +v___jp_1367_: { -lean_object* v___x_1315_; lean_object* v_unsafeStx_1316_; lean_object* v___x_1317_; lean_object* v___x_1318_; uint8_t v___x_1319_; -v___x_1315_ = lean_unsigned_to_nat(5u); -v_unsafeStx_1316_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1315_); -v___x_1317_ = lean_unsigned_to_nat(6u); -v___x_1318_ = l_Lean_Syntax_getArg(v_stx_1292_, v___x_1317_); -v___x_1319_ = l_Lean_Syntax_isNone(v___x_1318_); -if (v___x_1319_ == 0) +lean_object* v___x_1369_; lean_object* v_unsafeStx_1370_; lean_object* v___x_1371_; lean_object* v___x_1372_; uint8_t v___x_1373_; +v___x_1369_ = lean_unsigned_to_nat(5u); +v_unsafeStx_1370_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1369_); +v___x_1371_ = lean_unsigned_to_nat(6u); +v___x_1372_ = l_Lean_Syntax_getArg(v_stx_1346_, v___x_1371_); +v___x_1373_ = l_Lean_Syntax_isNone(v___x_1372_); +if (v___x_1373_ == 0) { -lean_object* v___x_1320_; lean_object* v___x_1321_; lean_object* v___x_1322_; uint8_t v___x_1323_; -v___x_1320_ = l_Lean_Syntax_getArg(v___x_1318_, v___x_1297_); -lean_dec(v___x_1318_); -v___x_1321_ = l_Lean_Syntax_getKind(v___x_1320_); -v___x_1322_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___closed__0)); -v___x_1323_ = lean_name_eq(v___x_1321_, v___x_1322_); -lean_dec(v___x_1321_); -if (v___x_1323_ == 0) +lean_object* v___x_1374_; lean_object* v___x_1375_; lean_object* v___x_1376_; uint8_t v___x_1377_; +v___x_1374_ = l_Lean_Syntax_getArg(v___x_1372_, v___x_1351_); +lean_dec(v___x_1372_); +v___x_1375_ = l_Lean_Syntax_getKind(v___x_1374_); +v___x_1376_ = ((lean_object*)(l_Lean_Elab_elabModifiers___redArg___closed__0)); +v___x_1377_ = lean_name_eq(v___x_1375_, v___x_1376_); +lean_dec(v___x_1375_); +if (v___x_1377_ == 0) { -uint8_t v___x_1324_; -v___x_1324_ = 1; -v___y_1306_ = v___y_1314_; -v___y_1307_ = v_unsafeStx_1316_; -v___y_1308_ = v___x_1324_; -goto v___jp_1305_; +uint8_t v___x_1378_; +v___x_1378_ = 1; +v___y_1360_ = v___y_1368_; +v___y_1361_ = v_unsafeStx_1370_; +v___y_1362_ = v___x_1378_; +goto v___jp_1359_; } else { -uint8_t v___x_1325_; -v___x_1325_ = 0; -v___y_1306_ = v___y_1314_; -v___y_1307_ = v_unsafeStx_1316_; -v___y_1308_ = v___x_1325_; -goto v___jp_1305_; +uint8_t v___x_1379_; +v___x_1379_ = 0; +v___y_1360_ = v___y_1368_; +v___y_1361_ = v_unsafeStx_1370_; +v___y_1362_ = v___x_1379_; +goto v___jp_1359_; } } else { -uint8_t v___x_1326_; -lean_dec(v___x_1318_); -v___x_1326_ = 2; -v___y_1306_ = v___y_1314_; -v___y_1307_ = v_unsafeStx_1316_; -v___y_1308_ = v___x_1326_; -goto v___jp_1305_; +uint8_t v___x_1380_; +lean_dec(v___x_1372_); +v___x_1380_ = 2; +v___y_1360_ = v___y_1368_; +v___y_1361_ = v_unsafeStx_1370_; +v___y_1362_ = v___x_1380_; +goto v___jp_1359_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers(lean_object* v_m_1337_, lean_object* v_inst_1338_, lean_object* v_inst_1339_, lean_object* v_inst_1340_, lean_object* v_inst_1341_, lean_object* v_inst_1342_, lean_object* v_inst_1343_, lean_object* v_inst_1344_, lean_object* v_inst_1345_, lean_object* v_inst_1346_, lean_object* v_inst_1347_, lean_object* v_inst_1348_, lean_object* v_inst_1349_, lean_object* v_stx_1350_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers(lean_object* v_m_1391_, lean_object* v_inst_1392_, lean_object* v_inst_1393_, lean_object* v_inst_1394_, lean_object* v_inst_1395_, lean_object* v_inst_1396_, lean_object* v_inst_1397_, lean_object* v_inst_1398_, lean_object* v_inst_1399_, lean_object* v_inst_1400_, lean_object* v_inst_1401_, lean_object* v_inst_1402_, lean_object* v_inst_1403_, lean_object* v_stx_1404_){ _start: { -lean_object* v___x_1351_; -v___x_1351_ = l_Lean_Elab_elabModifiers___redArg(v_inst_1338_, v_inst_1339_, v_inst_1340_, v_inst_1341_, v_inst_1342_, v_inst_1343_, v_inst_1344_, v_inst_1345_, v_inst_1346_, v_inst_1347_, v_inst_1348_, v_inst_1349_, v_stx_1350_); -return v___x_1351_; +lean_object* v___x_1405_; +v___x_1405_ = l_Lean_Elab_elabModifiers___redArg(v_inst_1392_, v_inst_1393_, v_inst_1394_, v_inst_1395_, v_inst_1396_, v_inst_1397_, v_inst_1398_, v_inst_1399_, v_inst_1400_, v_inst_1401_, v_inst_1402_, v_inst_1403_, v_stx_1404_); +return v___x_1405_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__0(lean_object* v_toPure_1352_, lean_object* v_declName_1353_, lean_object* v_____r_1354_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__0(lean_object* v_toPure_1406_, lean_object* v_declName_1407_, lean_object* v_____r_1408_){ _start: { -lean_object* v___x_1355_; -v___x_1355_ = lean_apply_2(v_toPure_1352_, lean_box(0), v_declName_1353_); -return v___x_1355_; +lean_object* v___x_1409_; +v___x_1409_ = lean_apply_2(v_toPure_1406_, lean_box(0), v_declName_1407_); +return v___x_1409_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__1(lean_object* v_declName_1356_, lean_object* v_env_1357_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__1(lean_object* v_declName_1410_, lean_object* v_env_1411_){ _start: { -lean_object* v___x_1358_; -v___x_1358_ = l_Lean_addProtected(v_env_1357_, v_declName_1356_); -return v___x_1358_; +lean_object* v___x_1412_; +v___x_1412_ = l_Lean_addProtected(v_env_1411_, v_declName_1410_); +return v___x_1412_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__2(lean_object* v_modifiers_1359_, lean_object* v_toPure_1360_, lean_object* v_declName_1361_, lean_object* v_modifyEnv_1362_, lean_object* v___f_1363_, lean_object* v_toBind_1364_, lean_object* v___f_1365_, lean_object* v_____r_1366_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__2(lean_object* v_modifiers_1413_, lean_object* v_toPure_1414_, lean_object* v_declName_1415_, lean_object* v_modifyEnv_1416_, lean_object* v___f_1417_, lean_object* v_toBind_1418_, lean_object* v___f_1419_, lean_object* v_____r_1420_){ _start: { -uint8_t v_isProtected_1367_; -v_isProtected_1367_ = lean_ctor_get_uint8(v_modifiers_1359_, sizeof(void*)*3 + 1); -if (v_isProtected_1367_ == 0) +uint8_t v_isProtected_1421_; +v_isProtected_1421_ = lean_ctor_get_uint8(v_modifiers_1413_, sizeof(void*)*3 + 1); +if (v_isProtected_1421_ == 0) { -lean_object* v___x_1368_; -lean_dec(v___f_1365_); -lean_dec(v_toBind_1364_); -lean_dec_ref(v___f_1363_); -lean_dec(v_modifyEnv_1362_); -v___x_1368_ = lean_apply_2(v_toPure_1360_, lean_box(0), v_declName_1361_); -return v___x_1368_; +lean_object* v___x_1422_; +lean_dec(v___f_1419_); +lean_dec(v_toBind_1418_); +lean_dec_ref(v___f_1417_); +lean_dec(v_modifyEnv_1416_); +v___x_1422_ = lean_apply_2(v_toPure_1414_, lean_box(0), v_declName_1415_); +return v___x_1422_; } else { -lean_object* v___x_1369_; lean_object* v___x_1370_; -lean_dec(v_declName_1361_); -lean_dec(v_toPure_1360_); -v___x_1369_ = lean_apply_1(v_modifyEnv_1362_, v___f_1363_); -v___x_1370_ = lean_apply_4(v_toBind_1364_, lean_box(0), lean_box(0), v___x_1369_, v___f_1365_); -return v___x_1370_; +lean_object* v___x_1423_; lean_object* v___x_1424_; +lean_dec(v_declName_1415_); +lean_dec(v_toPure_1414_); +v___x_1423_ = lean_apply_1(v_modifyEnv_1416_, v___f_1417_); +v___x_1424_ = lean_apply_4(v_toBind_1418_, lean_box(0), lean_box(0), v___x_1423_, v___f_1419_); +return v___x_1424_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__2___boxed(lean_object* v_modifiers_1371_, lean_object* v_toPure_1372_, lean_object* v_declName_1373_, lean_object* v_modifyEnv_1374_, lean_object* v___f_1375_, lean_object* v_toBind_1376_, lean_object* v___f_1377_, lean_object* v_____r_1378_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__2___boxed(lean_object* v_modifiers_1425_, lean_object* v_toPure_1426_, lean_object* v_declName_1427_, lean_object* v_modifyEnv_1428_, lean_object* v___f_1429_, lean_object* v_toBind_1430_, lean_object* v___f_1431_, lean_object* v_____r_1432_){ _start: { -lean_object* v_res_1379_; -v_res_1379_ = l_Lean_Elab_applyVisibility___redArg___lam__2(v_modifiers_1371_, v_toPure_1372_, v_declName_1373_, v_modifyEnv_1374_, v___f_1375_, v_toBind_1376_, v___f_1377_, v_____r_1378_); -lean_dec_ref(v_modifiers_1371_); -return v_res_1379_; +lean_object* v_res_1433_; +v_res_1433_ = l_Lean_Elab_applyVisibility___redArg___lam__2(v_modifiers_1425_, v_toPure_1426_, v_declName_1427_, v_modifyEnv_1428_, v___f_1429_, v_toBind_1430_, v___f_1431_, v_____r_1432_); +lean_dec_ref(v_modifiers_1425_); +return v_res_1433_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__3(lean_object* v_toPure_1380_, lean_object* v_modifiers_1381_, lean_object* v_modifyEnv_1382_, lean_object* v_toBind_1383_, lean_object* v_inst_1384_, lean_object* v_inst_1385_, lean_object* v_inst_1386_, lean_object* v_inst_1387_, lean_object* v_inst_1388_, lean_object* v_____r_1389_, lean_object* v_declName_1390_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__3(lean_object* v_toPure_1434_, lean_object* v_modifiers_1435_, lean_object* v_modifyEnv_1436_, lean_object* v_toBind_1437_, lean_object* v_inst_1438_, lean_object* v_inst_1439_, lean_object* v_inst_1440_, lean_object* v_inst_1441_, lean_object* v_inst_1442_, lean_object* v_____r_1443_, lean_object* v_declName_1444_){ _start: { -lean_object* v___f_1391_; lean_object* v___f_1392_; lean_object* v___f_1393_; lean_object* v___x_1394_; lean_object* v___x_1395_; -lean_inc(v_declName_1390_); -lean_inc(v_toPure_1380_); -v___f_1391_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__0), 3, 2); -lean_closure_set(v___f_1391_, 0, v_toPure_1380_); -lean_closure_set(v___f_1391_, 1, v_declName_1390_); -lean_inc(v_declName_1390_); -v___f_1392_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__1), 2, 1); -lean_closure_set(v___f_1392_, 0, v_declName_1390_); -lean_inc(v_toBind_1383_); -lean_inc(v_declName_1390_); -v___f_1393_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__2___boxed), 8, 7); -lean_closure_set(v___f_1393_, 0, v_modifiers_1381_); -lean_closure_set(v___f_1393_, 1, v_toPure_1380_); -lean_closure_set(v___f_1393_, 2, v_declName_1390_); -lean_closure_set(v___f_1393_, 3, v_modifyEnv_1382_); -lean_closure_set(v___f_1393_, 4, v___f_1392_); -lean_closure_set(v___f_1393_, 5, v_toBind_1383_); -lean_closure_set(v___f_1393_, 6, v___f_1391_); -v___x_1394_ = l_Lean_Elab_checkNotAlreadyDeclared___redArg(v_inst_1384_, v_inst_1385_, v_inst_1386_, v_inst_1387_, v_inst_1388_, v_declName_1390_); -v___x_1395_ = lean_apply_4(v_toBind_1383_, lean_box(0), lean_box(0), v___x_1394_, v___f_1393_); -return v___x_1395_; +lean_object* v___f_1445_; lean_object* v___f_1446_; lean_object* v___f_1447_; lean_object* v___x_1448_; lean_object* v___x_1449_; +lean_inc(v_declName_1444_); +lean_inc(v_toPure_1434_); +v___f_1445_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__0), 3, 2); +lean_closure_set(v___f_1445_, 0, v_toPure_1434_); +lean_closure_set(v___f_1445_, 1, v_declName_1444_); +lean_inc(v_declName_1444_); +v___f_1446_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__1), 2, 1); +lean_closure_set(v___f_1446_, 0, v_declName_1444_); +lean_inc(v_toBind_1437_); +lean_inc(v_declName_1444_); +v___f_1447_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__2___boxed), 8, 7); +lean_closure_set(v___f_1447_, 0, v_modifiers_1435_); +lean_closure_set(v___f_1447_, 1, v_toPure_1434_); +lean_closure_set(v___f_1447_, 2, v_declName_1444_); +lean_closure_set(v___f_1447_, 3, v_modifyEnv_1436_); +lean_closure_set(v___f_1447_, 4, v___f_1446_); +lean_closure_set(v___f_1447_, 5, v_toBind_1437_); +lean_closure_set(v___f_1447_, 6, v___f_1445_); +v___x_1448_ = l_Lean_Elab_checkNotAlreadyDeclared___redArg(v_inst_1438_, v_inst_1439_, v_inst_1440_, v_inst_1441_, v_inst_1442_, v_declName_1444_); +v___x_1449_ = lean_apply_4(v_toBind_1437_, lean_box(0), lean_box(0), v___x_1448_, v___f_1447_); +return v___x_1449_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__4(lean_object* v_declName_1396_, lean_object* v___f_1397_, lean_object* v_____do__lift_1398_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__4(lean_object* v_declName_1450_, lean_object* v___f_1451_, lean_object* v_____do__lift_1452_){ _start: { -lean_object* v_declName_1399_; lean_object* v___x_1400_; lean_object* v___x_1401_; -v_declName_1399_ = l_Lean_mkPrivateName(v_____do__lift_1398_, v_declName_1396_); -v___x_1400_ = lean_box(0); -v___x_1401_ = lean_apply_2(v___f_1397_, v___x_1400_, v_declName_1399_); -return v___x_1401_; +lean_object* v_declName_1453_; lean_object* v___x_1454_; lean_object* v___x_1455_; +v_declName_1453_ = l_Lean_mkPrivateName(v_____do__lift_1452_, v_declName_1450_); +v___x_1454_ = lean_box(0); +v___x_1455_ = lean_apply_2(v___f_1451_, v___x_1454_, v_declName_1453_); +return v___x_1455_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__4___boxed(lean_object* v_declName_1402_, lean_object* v___f_1403_, lean_object* v_____do__lift_1404_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__4___boxed(lean_object* v_declName_1456_, lean_object* v___f_1457_, lean_object* v_____do__lift_1458_){ _start: { -lean_object* v_res_1405_; -v_res_1405_ = l_Lean_Elab_applyVisibility___redArg___lam__4(v_declName_1402_, v___f_1403_, v_____do__lift_1404_); -lean_dec_ref(v_____do__lift_1404_); -return v_res_1405_; +lean_object* v_res_1459_; +v_res_1459_ = l_Lean_Elab_applyVisibility___redArg___lam__4(v_declName_1456_, v___f_1457_, v_____do__lift_1458_); +lean_dec_ref(v_____do__lift_1458_); +return v_res_1459_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__5(lean_object* v_modifiers_1406_, lean_object* v_toBind_1407_, lean_object* v_getEnv_1408_, lean_object* v___f_1409_, lean_object* v___f_1410_, lean_object* v_declName_1411_, lean_object* v_____do__lift_1412_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__5(lean_object* v_modifiers_1460_, lean_object* v_toBind_1461_, lean_object* v_getEnv_1462_, lean_object* v___f_1463_, lean_object* v___f_1464_, lean_object* v_declName_1465_, lean_object* v_____do__lift_1466_){ _start: { -uint8_t v_visibility_1413_; uint8_t v___x_1414_; -v_visibility_1413_ = lean_ctor_get_uint8(v_modifiers_1406_, sizeof(void*)*3); -v___x_1414_ = l_Lean_Elab_Visibility_isInferredPublic(v_____do__lift_1412_, v_visibility_1413_); -if (v___x_1414_ == 0) +uint8_t v_visibility_1467_; uint8_t v___x_1468_; +v_visibility_1467_ = lean_ctor_get_uint8(v_modifiers_1460_, sizeof(void*)*3); +v___x_1468_ = l_Lean_Elab_Visibility_isInferredPublic(v_____do__lift_1466_, v_visibility_1467_); +if (v___x_1468_ == 0) { -lean_object* v___x_1415_; -lean_dec(v_declName_1411_); -lean_dec(v___f_1410_); -v___x_1415_ = lean_apply_4(v_toBind_1407_, lean_box(0), lean_box(0), v_getEnv_1408_, v___f_1409_); -return v___x_1415_; +lean_object* v___x_1469_; +lean_dec(v_declName_1465_); +lean_dec(v___f_1464_); +v___x_1469_ = lean_apply_4(v_toBind_1461_, lean_box(0), lean_box(0), v_getEnv_1462_, v___f_1463_); +return v___x_1469_; } else { -lean_object* v___x_1416_; lean_object* v___x_1417_; -lean_dec(v___f_1409_); -lean_dec(v_getEnv_1408_); -lean_dec(v_toBind_1407_); -v___x_1416_ = lean_box(0); -v___x_1417_ = lean_apply_2(v___f_1410_, v___x_1416_, v_declName_1411_); -return v___x_1417_; +lean_object* v___x_1470_; lean_object* v___x_1471_; +lean_dec(v___f_1463_); +lean_dec(v_getEnv_1462_); +lean_dec(v_toBind_1461_); +v___x_1470_ = lean_box(0); +v___x_1471_ = lean_apply_2(v___f_1464_, v___x_1470_, v_declName_1465_); +return v___x_1471_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__5___boxed(lean_object* v_modifiers_1418_, lean_object* v_toBind_1419_, lean_object* v_getEnv_1420_, lean_object* v___f_1421_, lean_object* v___f_1422_, lean_object* v_declName_1423_, lean_object* v_____do__lift_1424_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg___lam__5___boxed(lean_object* v_modifiers_1472_, lean_object* v_toBind_1473_, lean_object* v_getEnv_1474_, lean_object* v___f_1475_, lean_object* v___f_1476_, lean_object* v_declName_1477_, lean_object* v_____do__lift_1478_){ _start: { -lean_object* v_res_1425_; -v_res_1425_ = l_Lean_Elab_applyVisibility___redArg___lam__5(v_modifiers_1418_, v_toBind_1419_, v_getEnv_1420_, v___f_1421_, v___f_1422_, v_declName_1423_, v_____do__lift_1424_); -lean_dec_ref(v_____do__lift_1424_); -lean_dec_ref(v_modifiers_1418_); -return v_res_1425_; +lean_object* v_res_1479_; +v_res_1479_ = l_Lean_Elab_applyVisibility___redArg___lam__5(v_modifiers_1472_, v_toBind_1473_, v_getEnv_1474_, v___f_1475_, v___f_1476_, v_declName_1477_, v_____do__lift_1478_); +lean_dec_ref(v_____do__lift_1478_); +lean_dec_ref(v_modifiers_1472_); +return v_res_1479_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg(lean_object* v_inst_1426_, lean_object* v_inst_1427_, lean_object* v_inst_1428_, lean_object* v_inst_1429_, lean_object* v_inst_1430_, lean_object* v_modifiers_1431_, lean_object* v_declName_1432_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___redArg(lean_object* v_inst_1480_, lean_object* v_inst_1481_, lean_object* v_inst_1482_, lean_object* v_inst_1483_, lean_object* v_inst_1484_, lean_object* v_modifiers_1485_, lean_object* v_declName_1486_){ _start: { -lean_object* v_toApplicative_1433_; lean_object* v_toBind_1434_; lean_object* v_getEnv_1435_; lean_object* v_modifyEnv_1436_; lean_object* v_toPure_1437_; lean_object* v___f_1438_; lean_object* v___f_1439_; lean_object* v___f_1440_; lean_object* v___x_1441_; -v_toApplicative_1433_ = lean_ctor_get(v_inst_1426_, 0); -v_toBind_1434_ = lean_ctor_get(v_inst_1426_, 1); -lean_inc(v_toBind_1434_); -v_getEnv_1435_ = lean_ctor_get(v_inst_1427_, 0); -lean_inc(v_getEnv_1435_); -v_modifyEnv_1436_ = lean_ctor_get(v_inst_1427_, 1); -lean_inc(v_modifyEnv_1436_); -v_toPure_1437_ = lean_ctor_get(v_toApplicative_1433_, 1); -lean_inc(v_toPure_1437_); -lean_inc(v_toBind_1434_); -lean_inc_ref(v_modifiers_1431_); -v___f_1438_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__3), 11, 9); -lean_closure_set(v___f_1438_, 0, v_toPure_1437_); -lean_closure_set(v___f_1438_, 1, v_modifiers_1431_); -lean_closure_set(v___f_1438_, 2, v_modifyEnv_1436_); -lean_closure_set(v___f_1438_, 3, v_toBind_1434_); -lean_closure_set(v___f_1438_, 4, v_inst_1426_); -lean_closure_set(v___f_1438_, 5, v_inst_1427_); -lean_closure_set(v___f_1438_, 6, v_inst_1428_); -lean_closure_set(v___f_1438_, 7, v_inst_1429_); -lean_closure_set(v___f_1438_, 8, v_inst_1430_); -lean_inc_ref(v___f_1438_); -lean_inc(v_declName_1432_); -v___f_1439_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__4___boxed), 3, 2); -lean_closure_set(v___f_1439_, 0, v_declName_1432_); -lean_closure_set(v___f_1439_, 1, v___f_1438_); -lean_inc(v_getEnv_1435_); -lean_inc(v_toBind_1434_); -v___f_1440_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__5___boxed), 7, 6); -lean_closure_set(v___f_1440_, 0, v_modifiers_1431_); -lean_closure_set(v___f_1440_, 1, v_toBind_1434_); -lean_closure_set(v___f_1440_, 2, v_getEnv_1435_); -lean_closure_set(v___f_1440_, 3, v___f_1439_); -lean_closure_set(v___f_1440_, 4, v___f_1438_); -lean_closure_set(v___f_1440_, 5, v_declName_1432_); -v___x_1441_ = lean_apply_4(v_toBind_1434_, lean_box(0), lean_box(0), v_getEnv_1435_, v___f_1440_); -return v___x_1441_; +lean_object* v_toApplicative_1487_; lean_object* v_toBind_1488_; lean_object* v_getEnv_1489_; lean_object* v_modifyEnv_1490_; lean_object* v_toPure_1491_; lean_object* v___f_1492_; lean_object* v___f_1493_; lean_object* v___f_1494_; lean_object* v___x_1495_; +v_toApplicative_1487_ = lean_ctor_get(v_inst_1480_, 0); +v_toBind_1488_ = lean_ctor_get(v_inst_1480_, 1); +lean_inc(v_toBind_1488_); +v_getEnv_1489_ = lean_ctor_get(v_inst_1481_, 0); +lean_inc(v_getEnv_1489_); +v_modifyEnv_1490_ = lean_ctor_get(v_inst_1481_, 1); +lean_inc(v_modifyEnv_1490_); +v_toPure_1491_ = lean_ctor_get(v_toApplicative_1487_, 1); +lean_inc(v_toPure_1491_); +lean_inc(v_toBind_1488_); +lean_inc_ref(v_modifiers_1485_); +v___f_1492_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__3), 11, 9); +lean_closure_set(v___f_1492_, 0, v_toPure_1491_); +lean_closure_set(v___f_1492_, 1, v_modifiers_1485_); +lean_closure_set(v___f_1492_, 2, v_modifyEnv_1490_); +lean_closure_set(v___f_1492_, 3, v_toBind_1488_); +lean_closure_set(v___f_1492_, 4, v_inst_1480_); +lean_closure_set(v___f_1492_, 5, v_inst_1481_); +lean_closure_set(v___f_1492_, 6, v_inst_1482_); +lean_closure_set(v___f_1492_, 7, v_inst_1483_); +lean_closure_set(v___f_1492_, 8, v_inst_1484_); +lean_inc_ref(v___f_1492_); +lean_inc(v_declName_1486_); +v___f_1493_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__4___boxed), 3, 2); +lean_closure_set(v___f_1493_, 0, v_declName_1486_); +lean_closure_set(v___f_1493_, 1, v___f_1492_); +lean_inc(v_getEnv_1489_); +lean_inc(v_toBind_1488_); +v___f_1494_ = lean_alloc_closure((void*)(l_Lean_Elab_applyVisibility___redArg___lam__5___boxed), 7, 6); +lean_closure_set(v___f_1494_, 0, v_modifiers_1485_); +lean_closure_set(v___f_1494_, 1, v_toBind_1488_); +lean_closure_set(v___f_1494_, 2, v_getEnv_1489_); +lean_closure_set(v___f_1494_, 3, v___f_1493_); +lean_closure_set(v___f_1494_, 4, v___f_1492_); +lean_closure_set(v___f_1494_, 5, v_declName_1486_); +v___x_1495_ = lean_apply_4(v_toBind_1488_, lean_box(0), lean_box(0), v_getEnv_1489_, v___f_1494_); +return v___x_1495_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility(lean_object* v_m_1442_, lean_object* v_inst_1443_, lean_object* v_inst_1444_, lean_object* v_inst_1445_, lean_object* v_inst_1446_, lean_object* v_inst_1447_, lean_object* v_modifiers_1448_, lean_object* v_declName_1449_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility(lean_object* v_m_1496_, lean_object* v_inst_1497_, lean_object* v_inst_1498_, lean_object* v_inst_1499_, lean_object* v_inst_1500_, lean_object* v_inst_1501_, lean_object* v_modifiers_1502_, lean_object* v_declName_1503_){ _start: { -lean_object* v___x_1450_; -v___x_1450_ = l_Lean_Elab_applyVisibility___redArg(v_inst_1443_, v_inst_1444_, v_inst_1445_, v_inst_1446_, v_inst_1447_, v_modifiers_1448_, v_declName_1449_); -return v___x_1450_; +lean_object* v___x_1504_; +v___x_1504_ = l_Lean_Elab_applyVisibility___redArg(v_inst_1497_, v_inst_1498_, v_inst_1499_, v_inst_1500_, v_inst_1501_, v_modifiers_1502_, v_declName_1503_); +return v___x_1504_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__0(lean_object* v_toPure_1451_, lean_object* v_____s_1452_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__0(lean_object* v_toPure_1505_, lean_object* v_____s_1506_){ _start: { -lean_object* v___x_1453_; lean_object* v___x_1454_; -v___x_1453_ = lean_box(0); -v___x_1454_ = lean_apply_2(v_toPure_1451_, lean_box(0), v___x_1453_); -return v___x_1454_; +lean_object* v___x_1507_; lean_object* v___x_1508_; +v___x_1507_ = lean_box(0); +v___x_1508_ = lean_apply_2(v_toPure_1505_, lean_box(0), v___x_1507_); +return v___x_1508_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__1(lean_object* v___x_1455_, lean_object* v_toPure_1456_, lean_object* v_r_1457_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__1(lean_object* v___x_1509_, lean_object* v_toPure_1510_, lean_object* v_r_1511_){ _start: { -lean_object* v___x_1458_; lean_object* v___x_1459_; -v___x_1458_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1458_, 0, v___x_1455_); -v___x_1459_ = lean_apply_2(v_toPure_1456_, lean_box(0), v___x_1458_); -return v___x_1459_; +lean_object* v___x_1512_; lean_object* v___x_1513_; +v___x_1512_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1512_, 0, v___x_1509_); +v___x_1513_ = lean_apply_2(v_toPure_1510_, lean_box(0), v___x_1512_); +return v___x_1513_; } } static lean_object* _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1(void){ _start: { -lean_object* v___x_1461_; lean_object* v___x_1462_; -v___x_1461_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__0)); -v___x_1462_ = l_Lean_stringToMessageData(v___x_1461_); -return v___x_1462_; +lean_object* v___x_1515_; lean_object* v___x_1516_; +v___x_1515_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__0)); +v___x_1516_ = l_Lean_stringToMessageData(v___x_1515_); +return v___x_1516_; } } static lean_object* _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3(void){ _start: { -lean_object* v___x_1464_; lean_object* v___x_1465_; -v___x_1464_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__2)); -v___x_1465_ = l_Lean_stringToMessageData(v___x_1464_); -return v___x_1465_; +lean_object* v___x_1518_; lean_object* v___x_1519_; +v___x_1518_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__2)); +v___x_1519_ = l_Lean_stringToMessageData(v___x_1518_); +return v___x_1519_; } } static lean_object* _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5(void){ _start: { -lean_object* v___x_1467_; lean_object* v___x_1468_; -v___x_1467_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__4)); -v___x_1468_ = l_Lean_stringToMessageData(v___x_1467_); -return v___x_1468_; +lean_object* v___x_1521_; lean_object* v___x_1522_; +v___x_1521_ = ((lean_object*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__4)); +v___x_1522_ = l_Lean_stringToMessageData(v___x_1521_); +return v___x_1522_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2(lean_object* v_pre_1469_, lean_object* v_declName_1470_, lean_object* v___x_1471_, lean_object* v_toPure_1472_, lean_object* v_inst_1473_, lean_object* v_inst_1474_, lean_object* v_toBind_1475_, lean_object* v___f_1476_, lean_object* v_a_1477_, lean_object* v_x_1478_, lean_object* v___y_1479_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2(lean_object* v_pre_1523_, lean_object* v_declName_1524_, lean_object* v___x_1525_, lean_object* v_toPure_1526_, lean_object* v_inst_1527_, lean_object* v_inst_1528_, lean_object* v_toBind_1529_, lean_object* v___f_1530_, lean_object* v_a_1531_, lean_object* v_x_1532_, lean_object* v___y_1533_){ _start: { -lean_object* v___x_1480_; uint8_t v___x_1481_; -lean_inc(v_a_1477_); -lean_inc(v_pre_1469_); -v___x_1480_ = l_Lean_Name_append(v_pre_1469_, v_a_1477_); -v___x_1481_ = lean_name_eq(v___x_1480_, v_declName_1470_); -lean_dec(v___x_1480_); -if (v___x_1481_ == 0) +lean_object* v___x_1534_; uint8_t v___x_1535_; +lean_inc(v_a_1531_); +lean_inc(v_pre_1523_); +v___x_1534_ = l_Lean_Name_append(v_pre_1523_, v_a_1531_); +v___x_1535_ = lean_name_eq(v___x_1534_, v_declName_1524_); +lean_dec(v___x_1534_); +if (v___x_1535_ == 0) { -lean_object* v___x_1482_; lean_object* v___x_1483_; -lean_dec(v_a_1477_); -lean_dec(v___f_1476_); -lean_dec(v_toBind_1475_); -lean_dec_ref(v_inst_1474_); -lean_dec_ref(v_inst_1473_); -lean_dec(v_declName_1470_); -lean_dec(v_pre_1469_); -v___x_1482_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1482_, 0, v___x_1471_); -v___x_1483_ = lean_apply_2(v_toPure_1472_, lean_box(0), v___x_1482_); -return v___x_1483_; +lean_object* v___x_1536_; lean_object* v___x_1537_; +lean_dec(v_a_1531_); +lean_dec(v___f_1530_); +lean_dec(v_toBind_1529_); +lean_dec_ref(v_inst_1528_); +lean_dec_ref(v_inst_1527_); +lean_dec(v_declName_1524_); +lean_dec(v_pre_1523_); +v___x_1536_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1536_, 0, v___x_1525_); +v___x_1537_ = lean_apply_2(v_toPure_1526_, lean_box(0), v___x_1536_); +return v___x_1537_; } else { -lean_object* v___x_1484_; uint8_t v___x_1485_; lean_object* v___x_1486_; lean_object* v___x_1487_; lean_object* v___x_1488_; lean_object* v___x_1489_; lean_object* v___x_1490_; lean_object* v___x_1491_; lean_object* v___x_1492_; lean_object* v___x_1493_; lean_object* v___x_1494_; lean_object* v___x_1495_; lean_object* v___x_1496_; lean_object* v___x_1497_; lean_object* v___x_1498_; lean_object* v___x_1499_; -lean_dec(v_toPure_1472_); -v___x_1484_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); -v___x_1485_ = 0; -v___x_1486_ = l_Lean_MessageData_ofConstName(v_declName_1470_, v___x_1485_); -v___x_1487_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1487_, 0, v___x_1484_); -lean_ctor_set(v___x_1487_, 1, v___x_1486_); -v___x_1488_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3); -v___x_1489_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1489_, 0, v___x_1487_); -lean_ctor_set(v___x_1489_, 1, v___x_1488_); -v___x_1490_ = l_Lean_MessageData_ofName(v_pre_1469_); -v___x_1491_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1491_, 0, v___x_1489_); -lean_ctor_set(v___x_1491_, 1, v___x_1490_); -v___x_1492_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5); -v___x_1493_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1493_, 0, v___x_1491_); -lean_ctor_set(v___x_1493_, 1, v___x_1492_); -v___x_1494_ = l_Lean_MessageData_ofName(v_a_1477_); -v___x_1495_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1495_, 0, v___x_1493_); -lean_ctor_set(v___x_1495_, 1, v___x_1494_); -v___x_1496_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_1497_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1497_, 0, v___x_1495_); -lean_ctor_set(v___x_1497_, 1, v___x_1496_); -v___x_1498_ = l_Lean_throwError___redArg(v_inst_1473_, v_inst_1474_, v___x_1497_); -v___x_1499_ = lean_apply_4(v_toBind_1475_, lean_box(0), lean_box(0), v___x_1498_, v___f_1476_); -return v___x_1499_; +lean_object* v___x_1538_; uint8_t v___x_1539_; lean_object* v___x_1540_; lean_object* v___x_1541_; lean_object* v___x_1542_; lean_object* v___x_1543_; lean_object* v___x_1544_; lean_object* v___x_1545_; lean_object* v___x_1546_; lean_object* v___x_1547_; lean_object* v___x_1548_; lean_object* v___x_1549_; lean_object* v___x_1550_; lean_object* v___x_1551_; lean_object* v___x_1552_; lean_object* v___x_1553_; +lean_dec(v_toPure_1526_); +v___x_1538_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); +v___x_1539_ = 0; +v___x_1540_ = l_Lean_MessageData_ofConstName(v_declName_1524_, v___x_1539_); +v___x_1541_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1541_, 0, v___x_1538_); +lean_ctor_set(v___x_1541_, 1, v___x_1540_); +v___x_1542_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3); +v___x_1543_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1543_, 0, v___x_1541_); +lean_ctor_set(v___x_1543_, 1, v___x_1542_); +v___x_1544_ = l_Lean_MessageData_ofName(v_pre_1523_); +v___x_1545_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1545_, 0, v___x_1543_); +lean_ctor_set(v___x_1545_, 1, v___x_1544_); +v___x_1546_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5); +v___x_1547_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1547_, 0, v___x_1545_); +lean_ctor_set(v___x_1547_, 1, v___x_1546_); +v___x_1548_ = l_Lean_MessageData_ofName(v_a_1531_); +v___x_1549_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1549_, 0, v___x_1547_); +lean_ctor_set(v___x_1549_, 1, v___x_1548_); +v___x_1550_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_1551_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1551_, 0, v___x_1549_); +lean_ctor_set(v___x_1551_, 1, v___x_1550_); +v___x_1552_ = l_Lean_throwError___redArg(v_inst_1527_, v_inst_1528_, v___x_1551_); +v___x_1553_ = lean_apply_4(v_toBind_1529_, lean_box(0), lean_box(0), v___x_1552_, v___f_1530_); +return v___x_1553_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3(lean_object* v_pre_1500_, uint8_t v___x_1501_, lean_object* v_toPure_1502_, lean_object* v_declName_1503_, lean_object* v_inst_1504_, lean_object* v_inst_1505_, lean_object* v_toBind_1506_, lean_object* v___f_1507_, lean_object* v_____do__lift_1508_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3(lean_object* v_pre_1554_, uint8_t v___x_1555_, lean_object* v_toPure_1556_, lean_object* v_declName_1557_, lean_object* v_inst_1558_, lean_object* v_inst_1559_, lean_object* v_toBind_1560_, lean_object* v___f_1561_, lean_object* v_____do__lift_1562_){ _start: { -lean_object* v_fieldNames_1509_; lean_object* v___x_1510_; lean_object* v___f_1511_; lean_object* v___f_1512_; size_t v_sz_1513_; size_t v___x_1514_; lean_object* v___x_1515_; lean_object* v___x_1516_; -lean_inc(v_pre_1500_); -v_fieldNames_1509_ = l_Lean_getStructureFieldsFlattened(v_____do__lift_1508_, v_pre_1500_, v___x_1501_); -v___x_1510_ = lean_box(0); -lean_inc(v_toPure_1502_); -v___f_1511_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__1), 3, 2); -lean_closure_set(v___f_1511_, 0, v___x_1510_); -lean_closure_set(v___f_1511_, 1, v_toPure_1502_); -lean_inc(v_toBind_1506_); -lean_inc_ref(v_inst_1504_); -v___f_1512_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2), 11, 8); -lean_closure_set(v___f_1512_, 0, v_pre_1500_); -lean_closure_set(v___f_1512_, 1, v_declName_1503_); -lean_closure_set(v___f_1512_, 2, v___x_1510_); -lean_closure_set(v___f_1512_, 3, v_toPure_1502_); -lean_closure_set(v___f_1512_, 4, v_inst_1504_); -lean_closure_set(v___f_1512_, 5, v_inst_1505_); -lean_closure_set(v___f_1512_, 6, v_toBind_1506_); -lean_closure_set(v___f_1512_, 7, v___f_1511_); -v_sz_1513_ = lean_array_size(v_fieldNames_1509_); -v___x_1514_ = ((size_t)0ULL); -v___x_1515_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), v_inst_1504_, v_fieldNames_1509_, v___f_1512_, v_sz_1513_, v___x_1514_, v___x_1510_); -v___x_1516_ = lean_apply_4(v_toBind_1506_, lean_box(0), lean_box(0), v___x_1515_, v___f_1507_); -return v___x_1516_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3___boxed(lean_object* v_pre_1517_, lean_object* v___x_1518_, lean_object* v_toPure_1519_, lean_object* v_declName_1520_, lean_object* v_inst_1521_, lean_object* v_inst_1522_, lean_object* v_toBind_1523_, lean_object* v___f_1524_, lean_object* v_____do__lift_1525_){ -_start: -{ -uint8_t v___x_671__boxed_1526_; lean_object* v_res_1527_; -v___x_671__boxed_1526_ = lean_unbox(v___x_1518_); -v_res_1527_ = l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3(v_pre_1517_, v___x_671__boxed_1526_, v_toPure_1519_, v_declName_1520_, v_inst_1521_, v_inst_1522_, v_toBind_1523_, v___f_1524_, v_____do__lift_1525_); -return v_res_1527_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__4(lean_object* v_pre_1528_, lean_object* v_toPure_1529_, lean_object* v_declName_1530_, lean_object* v_inst_1531_, lean_object* v_inst_1532_, lean_object* v_toBind_1533_, lean_object* v___f_1534_, lean_object* v_getEnv_1535_, lean_object* v_____do__lift_1536_){ -_start: -{ -uint8_t v___x_1537_; -lean_inc(v_pre_1528_); -v___x_1537_ = l_Lean_isStructure(v_____do__lift_1536_, v_pre_1528_); -if (v___x_1537_ == 0) -{ -lean_object* v___x_1538_; lean_object* v___x_1539_; -lean_dec(v_getEnv_1535_); -lean_dec(v___f_1534_); -lean_dec(v_toBind_1533_); -lean_dec_ref(v_inst_1532_); -lean_dec_ref(v_inst_1531_); -lean_dec(v_declName_1530_); -lean_dec(v_pre_1528_); -v___x_1538_ = lean_box(0); -v___x_1539_ = lean_apply_2(v_toPure_1529_, lean_box(0), v___x_1538_); -return v___x_1539_; -} -else -{ -lean_object* v___x_1540_; lean_object* v___f_1541_; lean_object* v___x_1542_; -v___x_1540_ = lean_box(v___x_1537_); -lean_inc(v_toBind_1533_); -v___f_1541_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3___boxed), 9, 8); -lean_closure_set(v___f_1541_, 0, v_pre_1528_); -lean_closure_set(v___f_1541_, 1, v___x_1540_); -lean_closure_set(v___f_1541_, 2, v_toPure_1529_); -lean_closure_set(v___f_1541_, 3, v_declName_1530_); -lean_closure_set(v___f_1541_, 4, v_inst_1531_); -lean_closure_set(v___f_1541_, 5, v_inst_1532_); -lean_closure_set(v___f_1541_, 6, v_toBind_1533_); -lean_closure_set(v___f_1541_, 7, v___f_1534_); -v___x_1542_ = lean_apply_4(v_toBind_1533_, lean_box(0), lean_box(0), v_getEnv_1535_, v___f_1541_); -return v___x_1542_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg(lean_object* v_inst_1543_, lean_object* v_inst_1544_, lean_object* v_inst_1545_, lean_object* v_declName_1546_){ -_start: -{ -if (lean_obj_tag(v_declName_1546_) == 1) -{ -lean_object* v_toApplicative_1547_; lean_object* v_toBind_1548_; lean_object* v_toPure_1549_; lean_object* v_pre_1550_; lean_object* v_getEnv_1551_; lean_object* v___f_1552_; lean_object* v___f_1553_; lean_object* v___x_1554_; -v_toApplicative_1547_ = lean_ctor_get(v_inst_1543_, 0); -v_toBind_1548_ = lean_ctor_get(v_inst_1543_, 1); -lean_inc(v_toBind_1548_); -v_toPure_1549_ = lean_ctor_get(v_toApplicative_1547_, 1); -lean_inc(v_toPure_1549_); -v_pre_1550_ = lean_ctor_get(v_declName_1546_, 0); -lean_inc(v_pre_1550_); -v_getEnv_1551_ = lean_ctor_get(v_inst_1544_, 0); -lean_inc(v_getEnv_1551_); -lean_dec_ref(v_inst_1544_); -lean_inc(v_toPure_1549_); -v___f_1552_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__0), 2, 1); -lean_closure_set(v___f_1552_, 0, v_toPure_1549_); -lean_inc(v_getEnv_1551_); -lean_inc(v_toBind_1548_); -v___f_1553_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__4), 9, 8); -lean_closure_set(v___f_1553_, 0, v_pre_1550_); -lean_closure_set(v___f_1553_, 1, v_toPure_1549_); -lean_closure_set(v___f_1553_, 2, v_declName_1546_); -lean_closure_set(v___f_1553_, 3, v_inst_1543_); -lean_closure_set(v___f_1553_, 4, v_inst_1545_); -lean_closure_set(v___f_1553_, 5, v_toBind_1548_); -lean_closure_set(v___f_1553_, 6, v___f_1552_); -lean_closure_set(v___f_1553_, 7, v_getEnv_1551_); -v___x_1554_ = lean_apply_4(v_toBind_1548_, lean_box(0), lean_box(0), v_getEnv_1551_, v___f_1553_); -return v___x_1554_; -} -else -{ -lean_object* v_toApplicative_1555_; lean_object* v_toPure_1556_; lean_object* v___x_1557_; lean_object* v___x_1558_; -v_toApplicative_1555_ = lean_ctor_get(v_inst_1543_, 0); -lean_inc_ref(v_toApplicative_1555_); -lean_dec(v_declName_1546_); -lean_dec_ref(v_inst_1545_); -lean_dec_ref(v_inst_1544_); -lean_dec_ref(v_inst_1543_); -v_toPure_1556_ = lean_ctor_get(v_toApplicative_1555_, 1); +lean_object* v_fieldNames_1563_; lean_object* v___x_1564_; lean_object* v___f_1565_; lean_object* v___f_1566_; size_t v_sz_1567_; size_t v___x_1568_; lean_object* v___x_1569_; lean_object* v___x_1570_; +lean_inc(v_pre_1554_); +v_fieldNames_1563_ = l_Lean_getStructureFieldsFlattened(v_____do__lift_1562_, v_pre_1554_, v___x_1555_); +v___x_1564_ = lean_box(0); lean_inc(v_toPure_1556_); -lean_dec_ref(v_toApplicative_1555_); -v___x_1557_ = lean_box(0); -v___x_1558_ = lean_apply_2(v_toPure_1556_, lean_box(0), v___x_1557_); -return v___x_1558_; +v___f_1565_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__1), 3, 2); +lean_closure_set(v___f_1565_, 0, v___x_1564_); +lean_closure_set(v___f_1565_, 1, v_toPure_1556_); +lean_inc(v_toBind_1560_); +lean_inc_ref(v_inst_1558_); +v___f_1566_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2), 11, 8); +lean_closure_set(v___f_1566_, 0, v_pre_1554_); +lean_closure_set(v___f_1566_, 1, v_declName_1557_); +lean_closure_set(v___f_1566_, 2, v___x_1564_); +lean_closure_set(v___f_1566_, 3, v_toPure_1556_); +lean_closure_set(v___f_1566_, 4, v_inst_1558_); +lean_closure_set(v___f_1566_, 5, v_inst_1559_); +lean_closure_set(v___f_1566_, 6, v_toBind_1560_); +lean_closure_set(v___f_1566_, 7, v___f_1565_); +v_sz_1567_ = lean_array_size(v_fieldNames_1563_); +v___x_1568_ = ((size_t)0ULL); +v___x_1569_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop(lean_box(0), lean_box(0), lean_box(0), v_inst_1558_, v_fieldNames_1563_, v___f_1566_, v_sz_1567_, v___x_1568_, v___x_1564_); +v___x_1570_ = lean_apply_4(v_toBind_1560_, lean_box(0), lean_box(0), v___x_1569_, v___f_1561_); +return v___x_1570_; } } -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField(lean_object* v_m_1559_, lean_object* v_inst_1560_, lean_object* v_inst_1561_, lean_object* v_inst_1562_, lean_object* v_declName_1563_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3___boxed(lean_object* v_pre_1571_, lean_object* v___x_1572_, lean_object* v_toPure_1573_, lean_object* v_declName_1574_, lean_object* v_inst_1575_, lean_object* v_inst_1576_, lean_object* v_toBind_1577_, lean_object* v___f_1578_, lean_object* v_____do__lift_1579_){ _start: { -lean_object* v___x_1564_; -v___x_1564_ = l_Lean_Elab_checkIfShadowingStructureField___redArg(v_inst_1560_, v_inst_1561_, v_inst_1562_, v_declName_1563_); -return v___x_1564_; +uint8_t v___x_671__boxed_1580_; lean_object* v_res_1581_; +v___x_671__boxed_1580_ = lean_unbox(v___x_1572_); +v_res_1581_ = l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3(v_pre_1571_, v___x_671__boxed_1580_, v_toPure_1573_, v_declName_1574_, v_inst_1575_, v_inst_1576_, v_toBind_1577_, v___f_1578_, v_____do__lift_1579_); +return v_res_1581_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__0(lean_object* v_toApplicative_1565_, lean_object* v_declName_1566_, lean_object* v_shortName_1567_, lean_object* v_____r_1568_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__4(lean_object* v_pre_1582_, lean_object* v_toPure_1583_, lean_object* v_declName_1584_, lean_object* v_inst_1585_, lean_object* v_inst_1586_, lean_object* v_toBind_1587_, lean_object* v___f_1588_, lean_object* v_getEnv_1589_, lean_object* v_____do__lift_1590_){ _start: { -lean_object* v_toPure_1569_; lean_object* v___x_1570_; lean_object* v___x_1571_; -v_toPure_1569_ = lean_ctor_get(v_toApplicative_1565_, 1); -lean_inc(v_toPure_1569_); -lean_dec_ref(v_toApplicative_1565_); -v___x_1570_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1570_, 0, v_declName_1566_); -lean_ctor_set(v___x_1570_, 1, v_shortName_1567_); -v___x_1571_ = lean_apply_2(v_toPure_1569_, lean_box(0), v___x_1570_); -return v___x_1571_; +uint8_t v___x_1591_; +lean_inc(v_pre_1582_); +v___x_1591_ = l_Lean_isStructure(v_____do__lift_1590_, v_pre_1582_); +if (v___x_1591_ == 0) +{ +lean_object* v___x_1592_; lean_object* v___x_1593_; +lean_dec(v_getEnv_1589_); +lean_dec(v___f_1588_); +lean_dec(v_toBind_1587_); +lean_dec_ref(v_inst_1586_); +lean_dec_ref(v_inst_1585_); +lean_dec(v_declName_1584_); +lean_dec(v_pre_1582_); +v___x_1592_ = lean_box(0); +v___x_1593_ = lean_apply_2(v_toPure_1583_, lean_box(0), v___x_1592_); +return v___x_1593_; +} +else +{ +lean_object* v___x_1594_; lean_object* v___f_1595_; lean_object* v___x_1596_; +v___x_1594_ = lean_box(v___x_1591_); +lean_inc(v_toBind_1587_); +v___f_1595_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__3___boxed), 9, 8); +lean_closure_set(v___f_1595_, 0, v_pre_1582_); +lean_closure_set(v___f_1595_, 1, v___x_1594_); +lean_closure_set(v___f_1595_, 2, v_toPure_1583_); +lean_closure_set(v___f_1595_, 3, v_declName_1584_); +lean_closure_set(v___f_1595_, 4, v_inst_1585_); +lean_closure_set(v___f_1595_, 5, v_inst_1586_); +lean_closure_set(v___f_1595_, 6, v_toBind_1587_); +lean_closure_set(v___f_1595_, 7, v___f_1588_); +v___x_1596_ = lean_apply_4(v_toBind_1587_, lean_box(0), lean_box(0), v_getEnv_1589_, v___f_1595_); +return v___x_1596_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___redArg(lean_object* v_inst_1597_, lean_object* v_inst_1598_, lean_object* v_inst_1599_, lean_object* v_declName_1600_){ +_start: +{ +if (lean_obj_tag(v_declName_1600_) == 1) +{ +lean_object* v_toApplicative_1601_; lean_object* v_toBind_1602_; lean_object* v_toPure_1603_; lean_object* v_pre_1604_; lean_object* v_getEnv_1605_; lean_object* v___f_1606_; lean_object* v___f_1607_; lean_object* v___x_1608_; +v_toApplicative_1601_ = lean_ctor_get(v_inst_1597_, 0); +v_toBind_1602_ = lean_ctor_get(v_inst_1597_, 1); +lean_inc(v_toBind_1602_); +v_toPure_1603_ = lean_ctor_get(v_toApplicative_1601_, 1); +lean_inc(v_toPure_1603_); +v_pre_1604_ = lean_ctor_get(v_declName_1600_, 0); +lean_inc(v_pre_1604_); +v_getEnv_1605_ = lean_ctor_get(v_inst_1598_, 0); +lean_inc(v_getEnv_1605_); +lean_dec_ref(v_inst_1598_); +lean_inc(v_toPure_1603_); +v___f_1606_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__0), 2, 1); +lean_closure_set(v___f_1606_, 0, v_toPure_1603_); +lean_inc(v_getEnv_1605_); +lean_inc(v_toBind_1602_); +v___f_1607_ = lean_alloc_closure((void*)(l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__4), 9, 8); +lean_closure_set(v___f_1607_, 0, v_pre_1604_); +lean_closure_set(v___f_1607_, 1, v_toPure_1603_); +lean_closure_set(v___f_1607_, 2, v_declName_1600_); +lean_closure_set(v___f_1607_, 3, v_inst_1597_); +lean_closure_set(v___f_1607_, 4, v_inst_1599_); +lean_closure_set(v___f_1607_, 5, v_toBind_1602_); +lean_closure_set(v___f_1607_, 6, v___f_1606_); +lean_closure_set(v___f_1607_, 7, v_getEnv_1605_); +v___x_1608_ = lean_apply_4(v_toBind_1602_, lean_box(0), lean_box(0), v_getEnv_1605_, v___f_1607_); +return v___x_1608_; +} +else +{ +lean_object* v_toApplicative_1609_; lean_object* v_toPure_1610_; lean_object* v___x_1611_; lean_object* v___x_1612_; +v_toApplicative_1609_ = lean_ctor_get(v_inst_1597_, 0); +lean_inc_ref(v_toApplicative_1609_); +lean_dec(v_declName_1600_); +lean_dec_ref(v_inst_1599_); +lean_dec_ref(v_inst_1598_); +lean_dec_ref(v_inst_1597_); +v_toPure_1610_ = lean_ctor_get(v_toApplicative_1609_, 1); +lean_inc(v_toPure_1610_); +lean_dec_ref(v_toApplicative_1609_); +v___x_1611_ = lean_box(0); +v___x_1612_ = lean_apply_2(v_toPure_1610_, lean_box(0), v___x_1611_); +return v___x_1612_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField(lean_object* v_m_1613_, lean_object* v_inst_1614_, lean_object* v_inst_1615_, lean_object* v_inst_1616_, lean_object* v_declName_1617_){ +_start: +{ +lean_object* v___x_1618_; +v___x_1618_ = l_Lean_Elab_checkIfShadowingStructureField___redArg(v_inst_1614_, v_inst_1615_, v_inst_1616_, v_declName_1617_); +return v___x_1618_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__0(lean_object* v_toApplicative_1619_, lean_object* v_declName_1620_, lean_object* v_shortName_1621_, lean_object* v_____r_1622_){ +_start: +{ +lean_object* v_toPure_1623_; lean_object* v___x_1624_; lean_object* v___x_1625_; +v_toPure_1623_ = lean_ctor_get(v_toApplicative_1619_, 1); +lean_inc(v_toPure_1623_); +lean_dec_ref(v_toApplicative_1619_); +v___x_1624_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1624_, 0, v_declName_1620_); +lean_ctor_set(v___x_1624_, 1, v_shortName_1621_); +v___x_1625_ = lean_apply_2(v_toPure_1623_, lean_box(0), v___x_1624_); +return v___x_1625_; } } static lean_object* _init_l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1(void){ _start: { -lean_object* v___x_1573_; lean_object* v___x_1574_; -v___x_1573_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___lam__2___closed__0)); -v___x_1574_ = l_Lean_stringToMessageData(v___x_1573_); -return v___x_1574_; +lean_object* v___x_1627_; lean_object* v___x_1628_; +v___x_1627_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___lam__2___closed__0)); +v___x_1628_ = l_Lean_stringToMessageData(v___x_1627_); +return v___x_1628_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__2(lean_object* v_modifiers_1575_, lean_object* v_toApplicative_1576_, lean_object* v_shortName_1577_, lean_object* v_currNamespace_1578_, lean_object* v_inst_1579_, lean_object* v_inst_1580_, lean_object* v_toBind_1581_, lean_object* v_declName_1582_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__2(lean_object* v_modifiers_1629_, lean_object* v_toApplicative_1630_, lean_object* v_shortName_1631_, lean_object* v_currNamespace_1632_, lean_object* v_inst_1633_, lean_object* v_inst_1634_, lean_object* v_toBind_1635_, lean_object* v_declName_1636_){ _start: { -uint8_t v_isProtected_1583_; -v_isProtected_1583_ = lean_ctor_get_uint8(v_modifiers_1575_, sizeof(void*)*3 + 1); -if (v_isProtected_1583_ == 0) +uint8_t v_isProtected_1637_; +v_isProtected_1637_ = lean_ctor_get_uint8(v_modifiers_1629_, sizeof(void*)*3 + 1); +if (v_isProtected_1637_ == 0) { -lean_object* v_toPure_1584_; lean_object* v___x_1585_; lean_object* v___x_1586_; -lean_dec(v_toBind_1581_); -lean_dec_ref(v_inst_1580_); -lean_dec_ref(v_inst_1579_); -lean_dec(v_currNamespace_1578_); -v_toPure_1584_ = lean_ctor_get(v_toApplicative_1576_, 1); -lean_inc(v_toPure_1584_); -lean_dec_ref(v_toApplicative_1576_); -v___x_1585_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1585_, 0, v_declName_1582_); -lean_ctor_set(v___x_1585_, 1, v_shortName_1577_); -v___x_1586_ = lean_apply_2(v_toPure_1584_, lean_box(0), v___x_1585_); -return v___x_1586_; +lean_object* v_toPure_1638_; lean_object* v___x_1639_; lean_object* v___x_1640_; +lean_dec(v_toBind_1635_); +lean_dec_ref(v_inst_1634_); +lean_dec_ref(v_inst_1633_); +lean_dec(v_currNamespace_1632_); +v_toPure_1638_ = lean_ctor_get(v_toApplicative_1630_, 1); +lean_inc(v_toPure_1638_); +lean_dec_ref(v_toApplicative_1630_); +v___x_1639_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1639_, 0, v_declName_1636_); +lean_ctor_set(v___x_1639_, 1, v_shortName_1631_); +v___x_1640_ = lean_apply_2(v_toPure_1638_, lean_box(0), v___x_1639_); +return v___x_1640_; } else { -if (lean_obj_tag(v_currNamespace_1578_) == 1) +if (lean_obj_tag(v_currNamespace_1632_) == 1) { -lean_object* v_str_1587_; lean_object* v_toPure_1588_; lean_object* v___x_1589_; lean_object* v___x_1590_; lean_object* v___x_1591_; lean_object* v___x_1592_; lean_object* v___x_1593_; -lean_dec(v_toBind_1581_); -lean_dec_ref(v_inst_1580_); -lean_dec_ref(v_inst_1579_); -v_str_1587_ = lean_ctor_get(v_currNamespace_1578_, 1); -lean_inc_ref(v_str_1587_); -lean_dec_ref(v_currNamespace_1578_); -v_toPure_1588_ = lean_ctor_get(v_toApplicative_1576_, 1); -lean_inc(v_toPure_1588_); -lean_dec_ref(v_toApplicative_1576_); -v___x_1589_ = lean_box(0); -v___x_1590_ = l_Lean_Name_str___override(v___x_1589_, v_str_1587_); -v___x_1591_ = l_Lean_Name_append(v___x_1590_, v_shortName_1577_); -v___x_1592_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1592_, 0, v_declName_1582_); -lean_ctor_set(v___x_1592_, 1, v___x_1591_); -v___x_1593_ = lean_apply_2(v_toPure_1588_, lean_box(0), v___x_1592_); -return v___x_1593_; +lean_object* v_str_1641_; lean_object* v_toPure_1642_; lean_object* v___x_1643_; lean_object* v___x_1644_; lean_object* v___x_1645_; lean_object* v___x_1646_; lean_object* v___x_1647_; +lean_dec(v_toBind_1635_); +lean_dec_ref(v_inst_1634_); +lean_dec_ref(v_inst_1633_); +v_str_1641_ = lean_ctor_get(v_currNamespace_1632_, 1); +lean_inc_ref(v_str_1641_); +lean_dec_ref(v_currNamespace_1632_); +v_toPure_1642_ = lean_ctor_get(v_toApplicative_1630_, 1); +lean_inc(v_toPure_1642_); +lean_dec_ref(v_toApplicative_1630_); +v___x_1643_ = lean_box(0); +v___x_1644_ = l_Lean_Name_str___override(v___x_1643_, v_str_1641_); +v___x_1645_ = l_Lean_Name_append(v___x_1644_, v_shortName_1631_); +v___x_1646_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1646_, 0, v_declName_1636_); +lean_ctor_set(v___x_1646_, 1, v___x_1645_); +v___x_1647_ = lean_apply_2(v_toPure_1642_, lean_box(0), v___x_1646_); +return v___x_1647_; } else { -lean_object* v___f_1594_; uint8_t v___x_1595_; -lean_dec(v_currNamespace_1578_); -lean_inc(v_shortName_1577_); -lean_inc(v_declName_1582_); -lean_inc_ref(v_toApplicative_1576_); -v___f_1594_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__0), 4, 3); -lean_closure_set(v___f_1594_, 0, v_toApplicative_1576_); -lean_closure_set(v___f_1594_, 1, v_declName_1582_); -lean_closure_set(v___f_1594_, 2, v_shortName_1577_); -v___x_1595_ = l_Lean_Name_isAtomic(v_shortName_1577_); -if (v___x_1595_ == 0) +lean_object* v___f_1648_; uint8_t v___x_1649_; +lean_dec(v_currNamespace_1632_); +lean_inc(v_shortName_1631_); +lean_inc(v_declName_1636_); +lean_inc_ref(v_toApplicative_1630_); +v___f_1648_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__0), 4, 3); +lean_closure_set(v___f_1648_, 0, v_toApplicative_1630_); +lean_closure_set(v___f_1648_, 1, v_declName_1636_); +lean_closure_set(v___f_1648_, 2, v_shortName_1631_); +v___x_1649_ = l_Lean_Name_isAtomic(v_shortName_1631_); +if (v___x_1649_ == 0) { -lean_object* v___x_1596_; lean_object* v___x_1597_; -lean_dec_ref(v___f_1594_); -lean_dec(v_toBind_1581_); -lean_dec_ref(v_inst_1580_); -lean_dec_ref(v_inst_1579_); -v___x_1596_ = lean_box(0); -v___x_1597_ = l_Lean_Elab_mkDeclName___redArg___lam__0(v_toApplicative_1576_, v_declName_1582_, v_shortName_1577_, v___x_1596_); -return v___x_1597_; +lean_object* v___x_1650_; lean_object* v___x_1651_; +lean_dec_ref(v___f_1648_); +lean_dec(v_toBind_1635_); +lean_dec_ref(v_inst_1634_); +lean_dec_ref(v_inst_1633_); +v___x_1650_ = lean_box(0); +v___x_1651_ = l_Lean_Elab_mkDeclName___redArg___lam__0(v_toApplicative_1630_, v_declName_1636_, v_shortName_1631_, v___x_1650_); +return v___x_1651_; } else { -lean_object* v___f_1598_; lean_object* v___x_1599_; lean_object* v___x_1600_; lean_object* v___x_1601_; -lean_dec(v_declName_1582_); -lean_dec(v_shortName_1577_); -lean_dec_ref(v_toApplicative_1576_); -v___f_1598_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__5), 2, 1); -lean_closure_set(v___f_1598_, 0, v___f_1594_); -v___x_1599_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1, &l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1); -v___x_1600_ = l_Lean_throwError___redArg(v_inst_1579_, v_inst_1580_, v___x_1599_); -v___x_1601_ = lean_apply_4(v_toBind_1581_, lean_box(0), lean_box(0), v___x_1600_, v___f_1598_); -return v___x_1601_; +lean_object* v___f_1652_; lean_object* v___x_1653_; lean_object* v___x_1654_; lean_object* v___x_1655_; +lean_dec(v_declName_1636_); +lean_dec(v_shortName_1631_); +lean_dec_ref(v_toApplicative_1630_); +v___f_1652_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__5), 2, 1); +lean_closure_set(v___f_1652_, 0, v___f_1648_); +v___x_1653_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1, &l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1); +v___x_1654_ = l_Lean_throwError___redArg(v_inst_1633_, v_inst_1634_, v___x_1653_); +v___x_1655_ = lean_apply_4(v_toBind_1635_, lean_box(0), lean_box(0), v___x_1654_, v___f_1652_); +return v___x_1655_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__2___boxed(lean_object* v_modifiers_1602_, lean_object* v_toApplicative_1603_, lean_object* v_shortName_1604_, lean_object* v_currNamespace_1605_, lean_object* v_inst_1606_, lean_object* v_inst_1607_, lean_object* v_toBind_1608_, lean_object* v_declName_1609_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__2___boxed(lean_object* v_modifiers_1656_, lean_object* v_toApplicative_1657_, lean_object* v_shortName_1658_, lean_object* v_currNamespace_1659_, lean_object* v_inst_1660_, lean_object* v_inst_1661_, lean_object* v_toBind_1662_, lean_object* v_declName_1663_){ _start: { -lean_object* v_res_1610_; -v_res_1610_ = l_Lean_Elab_mkDeclName___redArg___lam__2(v_modifiers_1602_, v_toApplicative_1603_, v_shortName_1604_, v_currNamespace_1605_, v_inst_1606_, v_inst_1607_, v_toBind_1608_, v_declName_1609_); -lean_dec_ref(v_modifiers_1602_); -return v_res_1610_; +lean_object* v_res_1664_; +v_res_1664_ = l_Lean_Elab_mkDeclName___redArg___lam__2(v_modifiers_1656_, v_toApplicative_1657_, v_shortName_1658_, v_currNamespace_1659_, v_inst_1660_, v_inst_1661_, v_toBind_1662_, v_declName_1663_); +lean_dec_ref(v_modifiers_1656_); +return v_res_1664_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__1(lean_object* v_inst_1611_, lean_object* v_inst_1612_, lean_object* v_inst_1613_, lean_object* v_inst_1614_, lean_object* v_inst_1615_, lean_object* v_modifiers_1616_, lean_object* v___y_1617_, lean_object* v_toBind_1618_, lean_object* v___f_1619_, lean_object* v_____r_1620_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__1(lean_object* v_inst_1665_, lean_object* v_inst_1666_, lean_object* v_inst_1667_, lean_object* v_inst_1668_, lean_object* v_inst_1669_, lean_object* v_modifiers_1670_, lean_object* v___y_1671_, lean_object* v_toBind_1672_, lean_object* v___f_1673_, lean_object* v_____r_1674_){ _start: { -lean_object* v___x_1621_; lean_object* v___x_1622_; -v___x_1621_ = l_Lean_Elab_applyVisibility___redArg(v_inst_1611_, v_inst_1612_, v_inst_1613_, v_inst_1614_, v_inst_1615_, v_modifiers_1616_, v___y_1617_); -v___x_1622_ = lean_apply_4(v_toBind_1618_, lean_box(0), lean_box(0), v___x_1621_, v___f_1619_); -return v___x_1622_; +lean_object* v___x_1675_; lean_object* v___x_1676_; +v___x_1675_ = l_Lean_Elab_applyVisibility___redArg(v_inst_1665_, v_inst_1666_, v_inst_1667_, v_inst_1668_, v_inst_1669_, v_modifiers_1670_, v___y_1671_); +v___x_1676_ = lean_apply_4(v_toBind_1672_, lean_box(0), lean_box(0), v___x_1675_, v___f_1673_); +return v___x_1676_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__3(lean_object* v_modifiers_1623_, lean_object* v_toApplicative_1624_, lean_object* v_inst_1625_, lean_object* v_inst_1626_, lean_object* v_toBind_1627_, lean_object* v_inst_1628_, lean_object* v_inst_1629_, lean_object* v_inst_1630_, lean_object* v___y_1631_, lean_object* v_____r_1632_, lean_object* v_shortName_1633_, lean_object* v_currNamespace_1634_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__3(lean_object* v_modifiers_1677_, lean_object* v_toApplicative_1678_, lean_object* v_inst_1679_, lean_object* v_inst_1680_, lean_object* v_toBind_1681_, lean_object* v_inst_1682_, lean_object* v_inst_1683_, lean_object* v_inst_1684_, lean_object* v___y_1685_, lean_object* v_____r_1686_, lean_object* v_shortName_1687_, lean_object* v_currNamespace_1688_){ _start: { -lean_object* v___f_1635_; lean_object* v___f_1636_; lean_object* v___x_1637_; lean_object* v___x_1638_; -lean_inc(v_toBind_1627_); -lean_inc_ref(v_inst_1626_); -lean_inc_ref(v_inst_1625_); -lean_inc_ref(v_modifiers_1623_); -v___f_1635_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__2___boxed), 8, 7); -lean_closure_set(v___f_1635_, 0, v_modifiers_1623_); -lean_closure_set(v___f_1635_, 1, v_toApplicative_1624_); -lean_closure_set(v___f_1635_, 2, v_shortName_1633_); -lean_closure_set(v___f_1635_, 3, v_currNamespace_1634_); -lean_closure_set(v___f_1635_, 4, v_inst_1625_); -lean_closure_set(v___f_1635_, 5, v_inst_1626_); -lean_closure_set(v___f_1635_, 6, v_toBind_1627_); -lean_inc(v_toBind_1627_); -lean_inc(v___y_1631_); -lean_inc_ref(v_inst_1626_); -lean_inc_ref(v_inst_1628_); -lean_inc_ref(v_inst_1625_); -v___f_1636_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__1), 10, 9); -lean_closure_set(v___f_1636_, 0, v_inst_1625_); -lean_closure_set(v___f_1636_, 1, v_inst_1628_); -lean_closure_set(v___f_1636_, 2, v_inst_1626_); -lean_closure_set(v___f_1636_, 3, v_inst_1629_); -lean_closure_set(v___f_1636_, 4, v_inst_1630_); -lean_closure_set(v___f_1636_, 5, v_modifiers_1623_); -lean_closure_set(v___f_1636_, 6, v___y_1631_); -lean_closure_set(v___f_1636_, 7, v_toBind_1627_); -lean_closure_set(v___f_1636_, 8, v___f_1635_); -v___x_1637_ = l_Lean_Elab_checkIfShadowingStructureField___redArg(v_inst_1625_, v_inst_1628_, v_inst_1626_, v___y_1631_); -v___x_1638_ = lean_apply_4(v_toBind_1627_, lean_box(0), lean_box(0), v___x_1637_, v___f_1636_); -return v___x_1638_; +lean_object* v___f_1689_; lean_object* v___f_1690_; lean_object* v___x_1691_; lean_object* v___x_1692_; +lean_inc(v_toBind_1681_); +lean_inc_ref(v_inst_1680_); +lean_inc_ref(v_inst_1679_); +lean_inc_ref(v_modifiers_1677_); +v___f_1689_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__2___boxed), 8, 7); +lean_closure_set(v___f_1689_, 0, v_modifiers_1677_); +lean_closure_set(v___f_1689_, 1, v_toApplicative_1678_); +lean_closure_set(v___f_1689_, 2, v_shortName_1687_); +lean_closure_set(v___f_1689_, 3, v_currNamespace_1688_); +lean_closure_set(v___f_1689_, 4, v_inst_1679_); +lean_closure_set(v___f_1689_, 5, v_inst_1680_); +lean_closure_set(v___f_1689_, 6, v_toBind_1681_); +lean_inc(v_toBind_1681_); +lean_inc(v___y_1685_); +lean_inc_ref(v_inst_1680_); +lean_inc_ref(v_inst_1682_); +lean_inc_ref(v_inst_1679_); +v___f_1690_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__1), 10, 9); +lean_closure_set(v___f_1690_, 0, v_inst_1679_); +lean_closure_set(v___f_1690_, 1, v_inst_1682_); +lean_closure_set(v___f_1690_, 2, v_inst_1680_); +lean_closure_set(v___f_1690_, 3, v_inst_1683_); +lean_closure_set(v___f_1690_, 4, v_inst_1684_); +lean_closure_set(v___f_1690_, 5, v_modifiers_1677_); +lean_closure_set(v___f_1690_, 6, v___y_1685_); +lean_closure_set(v___f_1690_, 7, v_toBind_1681_); +lean_closure_set(v___f_1690_, 8, v___f_1689_); +v___x_1691_ = l_Lean_Elab_checkIfShadowingStructureField___redArg(v_inst_1679_, v_inst_1682_, v_inst_1680_, v___y_1685_); +v___x_1692_ = lean_apply_4(v_toBind_1681_, lean_box(0), lean_box(0), v___x_1691_, v___f_1690_); +return v___x_1692_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__4(lean_object* v___f_1639_, lean_object* v_shortName_1640_, lean_object* v_currNamespace_1641_, lean_object* v_____r_1642_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__4(lean_object* v___f_1693_, lean_object* v_shortName_1694_, lean_object* v_currNamespace_1695_, lean_object* v_____r_1696_){ _start: { -lean_object* v___x_1643_; -v___x_1643_ = lean_apply_3(v___f_1639_, v_____r_1642_, v_shortName_1640_, v_currNamespace_1641_); -return v___x_1643_; +lean_object* v___x_1697_; +v___x_1697_ = lean_apply_3(v___f_1693_, v_____r_1696_, v_shortName_1694_, v_currNamespace_1695_); +return v___x_1697_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__5(lean_object* v_modifiers_1644_, lean_object* v_toApplicative_1645_, lean_object* v_inst_1646_, lean_object* v_inst_1647_, lean_object* v_toBind_1648_, lean_object* v_inst_1649_, lean_object* v_inst_1650_, lean_object* v_inst_1651_, uint8_t v_isRootName_1652_, lean_object* v_shortName_1653_, lean_object* v_currNamespace_1654_, lean_object* v_name_1655_, lean_object* v___x_1656_, lean_object* v_imported_1657_, lean_object* v_ctx_1658_, lean_object* v_scopes_1659_, lean_object* v_____r_1660_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__5(lean_object* v_modifiers_1698_, lean_object* v_toApplicative_1699_, lean_object* v_inst_1700_, lean_object* v_inst_1701_, lean_object* v_toBind_1702_, lean_object* v_inst_1703_, lean_object* v_inst_1704_, lean_object* v_inst_1705_, uint8_t v_isRootName_1706_, lean_object* v_shortName_1707_, lean_object* v_currNamespace_1708_, lean_object* v_name_1709_, lean_object* v___x_1710_, lean_object* v_imported_1711_, lean_object* v_ctx_1712_, lean_object* v_scopes_1713_, lean_object* v_____r_1714_){ _start: { -lean_object* v___y_1662_; -if (v_isRootName_1652_ == 0) +lean_object* v___y_1716_; +if (v_isRootName_1706_ == 0) { -lean_object* v___x_1681_; -lean_dec(v_scopes_1659_); -lean_dec(v_ctx_1658_); -lean_dec(v_imported_1657_); -lean_inc(v_shortName_1653_); -lean_inc(v_currNamespace_1654_); -v___x_1681_ = l_Lean_Name_append(v_currNamespace_1654_, v_shortName_1653_); -v___y_1662_ = v___x_1681_; -goto v___jp_1661_; +lean_object* v___x_1735_; +lean_dec(v_scopes_1713_); +lean_dec(v_ctx_1712_); +lean_dec(v_imported_1711_); +lean_inc(v_shortName_1707_); +lean_inc(v_currNamespace_1708_); +v___x_1735_ = l_Lean_Name_append(v_currNamespace_1708_, v_shortName_1707_); +v___y_1716_ = v___x_1735_; +goto v___jp_1715_; } else { -lean_object* v___x_1682_; lean_object* v___x_1683_; lean_object* v___x_1684_; lean_object* v___x_1685_; -v___x_1682_ = lean_box(0); -lean_inc(v_name_1655_); -v___x_1683_ = l_Lean_Name_replacePrefix(v_name_1655_, v___x_1656_, v___x_1682_); -v___x_1684_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_1684_, 0, v___x_1683_); -lean_ctor_set(v___x_1684_, 1, v_imported_1657_); -lean_ctor_set(v___x_1684_, 2, v_ctx_1658_); -lean_ctor_set(v___x_1684_, 3, v_scopes_1659_); -v___x_1685_ = l_Lean_MacroScopesView_review(v___x_1684_); -v___y_1662_ = v___x_1685_; -goto v___jp_1661_; +lean_object* v___x_1736_; lean_object* v___x_1737_; lean_object* v___x_1738_; lean_object* v___x_1739_; +v___x_1736_ = lean_box(0); +lean_inc(v_name_1709_); +v___x_1737_ = l_Lean_Name_replacePrefix(v_name_1709_, v___x_1710_, v___x_1736_); +v___x_1738_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_1738_, 0, v___x_1737_); +lean_ctor_set(v___x_1738_, 1, v_imported_1711_); +lean_ctor_set(v___x_1738_, 2, v_ctx_1712_); +lean_ctor_set(v___x_1738_, 3, v_scopes_1713_); +v___x_1739_ = l_Lean_MacroScopesView_review(v___x_1738_); +v___y_1716_ = v___x_1739_; +goto v___jp_1715_; } -v___jp_1661_: +v___jp_1715_: { -lean_object* v___f_1663_; -lean_inc(v___y_1662_); -lean_inc_ref(v_inst_1651_); -lean_inc(v_inst_1650_); -lean_inc_ref(v_inst_1649_); -lean_inc(v_toBind_1648_); -lean_inc_ref(v_inst_1647_); -lean_inc_ref(v_inst_1646_); -lean_inc_ref(v_toApplicative_1645_); -lean_inc_ref(v_modifiers_1644_); -v___f_1663_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__3), 12, 9); -lean_closure_set(v___f_1663_, 0, v_modifiers_1644_); -lean_closure_set(v___f_1663_, 1, v_toApplicative_1645_); -lean_closure_set(v___f_1663_, 2, v_inst_1646_); -lean_closure_set(v___f_1663_, 3, v_inst_1647_); -lean_closure_set(v___f_1663_, 4, v_toBind_1648_); -lean_closure_set(v___f_1663_, 5, v_inst_1649_); -lean_closure_set(v___f_1663_, 6, v_inst_1650_); -lean_closure_set(v___f_1663_, 7, v_inst_1651_); -lean_closure_set(v___f_1663_, 8, v___y_1662_); -if (v_isRootName_1652_ == 0) +lean_object* v___f_1717_; +lean_inc(v___y_1716_); +lean_inc_ref(v_inst_1705_); +lean_inc(v_inst_1704_); +lean_inc_ref(v_inst_1703_); +lean_inc(v_toBind_1702_); +lean_inc_ref(v_inst_1701_); +lean_inc_ref(v_inst_1700_); +lean_inc_ref(v_toApplicative_1699_); +lean_inc_ref(v_modifiers_1698_); +v___f_1717_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__3), 12, 9); +lean_closure_set(v___f_1717_, 0, v_modifiers_1698_); +lean_closure_set(v___f_1717_, 1, v_toApplicative_1699_); +lean_closure_set(v___f_1717_, 2, v_inst_1700_); +lean_closure_set(v___f_1717_, 3, v_inst_1701_); +lean_closure_set(v___f_1717_, 4, v_toBind_1702_); +lean_closure_set(v___f_1717_, 5, v_inst_1703_); +lean_closure_set(v___f_1717_, 6, v_inst_1704_); +lean_closure_set(v___f_1717_, 7, v_inst_1705_); +lean_closure_set(v___f_1717_, 8, v___y_1716_); +if (v_isRootName_1706_ == 0) { -lean_object* v___x_1664_; lean_object* v___x_1665_; -lean_dec_ref(v___f_1663_); -lean_dec(v_name_1655_); -v___x_1664_ = lean_box(0); -v___x_1665_ = l_Lean_Elab_mkDeclName___redArg___lam__3(v_modifiers_1644_, v_toApplicative_1645_, v_inst_1646_, v_inst_1647_, v_toBind_1648_, v_inst_1649_, v_inst_1650_, v_inst_1651_, v___y_1662_, v___x_1664_, v_shortName_1653_, v_currNamespace_1654_); -return v___x_1665_; +lean_object* v___x_1718_; lean_object* v___x_1719_; +lean_dec_ref(v___f_1717_); +lean_dec(v_name_1709_); +v___x_1718_ = lean_box(0); +v___x_1719_ = l_Lean_Elab_mkDeclName___redArg___lam__3(v_modifiers_1698_, v_toApplicative_1699_, v_inst_1700_, v_inst_1701_, v_toBind_1702_, v_inst_1703_, v_inst_1704_, v_inst_1705_, v___y_1716_, v___x_1718_, v_shortName_1707_, v_currNamespace_1708_); +return v___x_1719_; } else { -if (lean_obj_tag(v_name_1655_) == 1) +if (lean_obj_tag(v_name_1709_) == 1) { -lean_object* v_pre_1666_; lean_object* v_str_1667_; lean_object* v___x_1668_; lean_object* v_shortName_1669_; lean_object* v_currNamespace_1670_; lean_object* v___x_1671_; lean_object* v___x_1672_; -lean_dec_ref(v___f_1663_); -lean_dec(v_currNamespace_1654_); -lean_dec(v_shortName_1653_); -v_pre_1666_ = lean_ctor_get(v_name_1655_, 0); -lean_inc(v_pre_1666_); -v_str_1667_ = lean_ctor_get(v_name_1655_, 1); -lean_inc_ref(v_str_1667_); -lean_dec_ref(v_name_1655_); -v___x_1668_ = lean_box(0); -v_shortName_1669_ = l_Lean_Name_str___override(v___x_1668_, v_str_1667_); -v_currNamespace_1670_ = l_Lean_Name_replacePrefix(v_pre_1666_, v___x_1656_, v___x_1668_); -v___x_1671_ = lean_box(0); -v___x_1672_ = l_Lean_Elab_mkDeclName___redArg___lam__3(v_modifiers_1644_, v_toApplicative_1645_, v_inst_1646_, v_inst_1647_, v_toBind_1648_, v_inst_1649_, v_inst_1650_, v_inst_1651_, v___y_1662_, v___x_1671_, v_shortName_1669_, v_currNamespace_1670_); -return v___x_1672_; +lean_object* v_pre_1720_; lean_object* v_str_1721_; lean_object* v___x_1722_; lean_object* v_shortName_1723_; lean_object* v_currNamespace_1724_; lean_object* v___x_1725_; lean_object* v___x_1726_; +lean_dec_ref(v___f_1717_); +lean_dec(v_currNamespace_1708_); +lean_dec(v_shortName_1707_); +v_pre_1720_ = lean_ctor_get(v_name_1709_, 0); +lean_inc(v_pre_1720_); +v_str_1721_ = lean_ctor_get(v_name_1709_, 1); +lean_inc_ref(v_str_1721_); +lean_dec_ref(v_name_1709_); +v___x_1722_ = lean_box(0); +v_shortName_1723_ = l_Lean_Name_str___override(v___x_1722_, v_str_1721_); +v_currNamespace_1724_ = l_Lean_Name_replacePrefix(v_pre_1720_, v___x_1710_, v___x_1722_); +v___x_1725_ = lean_box(0); +v___x_1726_ = l_Lean_Elab_mkDeclName___redArg___lam__3(v_modifiers_1698_, v_toApplicative_1699_, v_inst_1700_, v_inst_1701_, v_toBind_1702_, v_inst_1703_, v_inst_1704_, v_inst_1705_, v___y_1716_, v___x_1725_, v_shortName_1723_, v_currNamespace_1724_); +return v___x_1726_; } else { -lean_object* v___f_1673_; lean_object* v___x_1674_; lean_object* v___x_1675_; lean_object* v___x_1676_; lean_object* v___x_1677_; lean_object* v___x_1678_; lean_object* v___x_1679_; lean_object* v___x_1680_; -lean_dec(v___y_1662_); -lean_dec_ref(v_inst_1651_); -lean_dec(v_inst_1650_); -lean_dec_ref(v_inst_1649_); -lean_dec_ref(v_toApplicative_1645_); -lean_dec_ref(v_modifiers_1644_); -v___f_1673_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__4), 4, 3); -lean_closure_set(v___f_1673_, 0, v___f_1663_); -lean_closure_set(v___f_1673_, 1, v_shortName_1653_); -lean_closure_set(v___f_1673_, 2, v_currNamespace_1654_); -v___x_1674_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); -v___x_1675_ = l_Lean_MessageData_ofName(v_name_1655_); -v___x_1676_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1676_, 0, v___x_1674_); -lean_ctor_set(v___x_1676_, 1, v___x_1675_); -v___x_1677_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_1678_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1678_, 0, v___x_1676_); -lean_ctor_set(v___x_1678_, 1, v___x_1677_); -v___x_1679_ = l_Lean_throwError___redArg(v_inst_1646_, v_inst_1647_, v___x_1678_); -v___x_1680_ = lean_apply_4(v_toBind_1648_, lean_box(0), lean_box(0), v___x_1679_, v___f_1673_); -return v___x_1680_; +lean_object* v___f_1727_; lean_object* v___x_1728_; lean_object* v___x_1729_; lean_object* v___x_1730_; lean_object* v___x_1731_; lean_object* v___x_1732_; lean_object* v___x_1733_; lean_object* v___x_1734_; +lean_dec(v___y_1716_); +lean_dec_ref(v_inst_1705_); +lean_dec(v_inst_1704_); +lean_dec_ref(v_inst_1703_); +lean_dec_ref(v_toApplicative_1699_); +lean_dec_ref(v_modifiers_1698_); +v___f_1727_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__4), 4, 3); +lean_closure_set(v___f_1727_, 0, v___f_1717_); +lean_closure_set(v___f_1727_, 1, v_shortName_1707_); +lean_closure_set(v___f_1727_, 2, v_currNamespace_1708_); +v___x_1728_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); +v___x_1729_ = l_Lean_MessageData_ofName(v_name_1709_); +v___x_1730_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1730_, 0, v___x_1728_); +lean_ctor_set(v___x_1730_, 1, v___x_1729_); +v___x_1731_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_1732_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1732_, 0, v___x_1730_); +lean_ctor_set(v___x_1732_, 1, v___x_1731_); +v___x_1733_ = l_Lean_throwError___redArg(v_inst_1700_, v_inst_1701_, v___x_1732_); +v___x_1734_ = lean_apply_4(v_toBind_1702_, lean_box(0), lean_box(0), v___x_1733_, v___f_1727_); +return v___x_1734_; } } } } } LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg___lam__5___boxed(lean_object** _args){ -lean_object* v_modifiers_1686_ = _args[0]; -lean_object* v_toApplicative_1687_ = _args[1]; -lean_object* v_inst_1688_ = _args[2]; -lean_object* v_inst_1689_ = _args[3]; -lean_object* v_toBind_1690_ = _args[4]; -lean_object* v_inst_1691_ = _args[5]; -lean_object* v_inst_1692_ = _args[6]; -lean_object* v_inst_1693_ = _args[7]; -lean_object* v_isRootName_1694_ = _args[8]; -lean_object* v_shortName_1695_ = _args[9]; -lean_object* v_currNamespace_1696_ = _args[10]; -lean_object* v_name_1697_ = _args[11]; -lean_object* v___x_1698_ = _args[12]; -lean_object* v_imported_1699_ = _args[13]; -lean_object* v_ctx_1700_ = _args[14]; -lean_object* v_scopes_1701_ = _args[15]; -lean_object* v_____r_1702_ = _args[16]; +lean_object* v_modifiers_1740_ = _args[0]; +lean_object* v_toApplicative_1741_ = _args[1]; +lean_object* v_inst_1742_ = _args[2]; +lean_object* v_inst_1743_ = _args[3]; +lean_object* v_toBind_1744_ = _args[4]; +lean_object* v_inst_1745_ = _args[5]; +lean_object* v_inst_1746_ = _args[6]; +lean_object* v_inst_1747_ = _args[7]; +lean_object* v_isRootName_1748_ = _args[8]; +lean_object* v_shortName_1749_ = _args[9]; +lean_object* v_currNamespace_1750_ = _args[10]; +lean_object* v_name_1751_ = _args[11]; +lean_object* v___x_1752_ = _args[12]; +lean_object* v_imported_1753_ = _args[13]; +lean_object* v_ctx_1754_ = _args[14]; +lean_object* v_scopes_1755_ = _args[15]; +lean_object* v_____r_1756_ = _args[16]; _start: { -uint8_t v_isRootName_boxed_1703_; lean_object* v_res_1704_; -v_isRootName_boxed_1703_ = lean_unbox(v_isRootName_1694_); -v_res_1704_ = l_Lean_Elab_mkDeclName___redArg___lam__5(v_modifiers_1686_, v_toApplicative_1687_, v_inst_1688_, v_inst_1689_, v_toBind_1690_, v_inst_1691_, v_inst_1692_, v_inst_1693_, v_isRootName_boxed_1703_, v_shortName_1695_, v_currNamespace_1696_, v_name_1697_, v___x_1698_, v_imported_1699_, v_ctx_1700_, v_scopes_1701_, v_____r_1702_); -lean_dec(v___x_1698_); -return v_res_1704_; +uint8_t v_isRootName_boxed_1757_; lean_object* v_res_1758_; +v_isRootName_boxed_1757_ = lean_unbox(v_isRootName_1748_); +v_res_1758_ = l_Lean_Elab_mkDeclName___redArg___lam__5(v_modifiers_1740_, v_toApplicative_1741_, v_inst_1742_, v_inst_1743_, v_toBind_1744_, v_inst_1745_, v_inst_1746_, v_inst_1747_, v_isRootName_boxed_1757_, v_shortName_1749_, v_currNamespace_1750_, v_name_1751_, v___x_1752_, v_imported_1753_, v_ctx_1754_, v_scopes_1755_, v_____r_1756_); +lean_dec(v___x_1752_); +return v_res_1758_; } } static lean_object* _init_l_Lean_Elab_mkDeclName___redArg___closed__3(void){ _start: { -lean_object* v___x_1709_; lean_object* v___x_1710_; -v___x_1709_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__2)); -v___x_1710_ = l_Lean_stringToMessageData(v___x_1709_); -return v___x_1710_; +lean_object* v___x_1763_; lean_object* v___x_1764_; +v___x_1763_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__2)); +v___x_1764_ = l_Lean_stringToMessageData(v___x_1763_); +return v___x_1764_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg(lean_object* v_inst_1711_, lean_object* v_inst_1712_, lean_object* v_inst_1713_, lean_object* v_inst_1714_, lean_object* v_inst_1715_, lean_object* v_currNamespace_1716_, lean_object* v_modifiers_1717_, lean_object* v_shortName_1718_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___redArg(lean_object* v_inst_1765_, lean_object* v_inst_1766_, lean_object* v_inst_1767_, lean_object* v_inst_1768_, lean_object* v_inst_1769_, lean_object* v_currNamespace_1770_, lean_object* v_modifiers_1771_, lean_object* v_shortName_1772_){ _start: { -lean_object* v_view_1719_; lean_object* v_name_1720_; lean_object* v_imported_1721_; lean_object* v_ctx_1722_; lean_object* v_scopes_1723_; lean_object* v_toApplicative_1724_; lean_object* v_toBind_1725_; lean_object* v___x_1726_; uint8_t v_isRootName_1727_; lean_object* v___x_1728_; lean_object* v___f_1729_; uint8_t v___x_1730_; -lean_inc(v_shortName_1718_); -v_view_1719_ = l_Lean_extractMacroScopes(v_shortName_1718_); -v_name_1720_ = lean_ctor_get(v_view_1719_, 0); -lean_inc(v_name_1720_); -v_imported_1721_ = lean_ctor_get(v_view_1719_, 1); -lean_inc(v_imported_1721_); -v_ctx_1722_ = lean_ctor_get(v_view_1719_, 2); -lean_inc(v_ctx_1722_); -v_scopes_1723_ = lean_ctor_get(v_view_1719_, 3); -lean_inc(v_scopes_1723_); -lean_dec_ref(v_view_1719_); -v_toApplicative_1724_ = lean_ctor_get(v_inst_1711_, 0); -v_toBind_1725_ = lean_ctor_get(v_inst_1711_, 1); -lean_inc(v_toBind_1725_); -v___x_1726_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__1)); -v_isRootName_1727_ = l_Lean_Name_isPrefixOf(v___x_1726_, v_name_1720_); -v___x_1728_ = lean_box(v_isRootName_1727_); -lean_inc(v_scopes_1723_); -lean_inc(v_ctx_1722_); -lean_inc(v_imported_1721_); -lean_inc(v_name_1720_); -lean_inc(v_currNamespace_1716_); -lean_inc(v_shortName_1718_); -lean_inc_ref(v_inst_1715_); -lean_inc(v_inst_1714_); -lean_inc_ref(v_inst_1712_); -lean_inc(v_toBind_1725_); -lean_inc_ref(v_inst_1713_); -lean_inc_ref(v_inst_1711_); -lean_inc_ref(v_toApplicative_1724_); -lean_inc_ref(v_modifiers_1717_); -v___f_1729_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__5___boxed), 17, 16); -lean_closure_set(v___f_1729_, 0, v_modifiers_1717_); -lean_closure_set(v___f_1729_, 1, v_toApplicative_1724_); -lean_closure_set(v___f_1729_, 2, v_inst_1711_); -lean_closure_set(v___f_1729_, 3, v_inst_1713_); -lean_closure_set(v___f_1729_, 4, v_toBind_1725_); -lean_closure_set(v___f_1729_, 5, v_inst_1712_); -lean_closure_set(v___f_1729_, 6, v_inst_1714_); -lean_closure_set(v___f_1729_, 7, v_inst_1715_); -lean_closure_set(v___f_1729_, 8, v___x_1728_); -lean_closure_set(v___f_1729_, 9, v_shortName_1718_); -lean_closure_set(v___f_1729_, 10, v_currNamespace_1716_); -lean_closure_set(v___f_1729_, 11, v_name_1720_); -lean_closure_set(v___f_1729_, 12, v___x_1726_); -lean_closure_set(v___f_1729_, 13, v_imported_1721_); -lean_closure_set(v___f_1729_, 14, v_ctx_1722_); -lean_closure_set(v___f_1729_, 15, v_scopes_1723_); -v___x_1730_ = lean_name_eq(v_name_1720_, v___x_1726_); -if (v___x_1730_ == 0) +lean_object* v_view_1773_; lean_object* v_name_1774_; lean_object* v_imported_1775_; lean_object* v_ctx_1776_; lean_object* v_scopes_1777_; lean_object* v_toApplicative_1778_; lean_object* v_toBind_1779_; lean_object* v___x_1780_; uint8_t v_isRootName_1781_; lean_object* v___x_1782_; lean_object* v___f_1783_; uint8_t v___x_1784_; +lean_inc(v_shortName_1772_); +v_view_1773_ = l_Lean_extractMacroScopes(v_shortName_1772_); +v_name_1774_ = lean_ctor_get(v_view_1773_, 0); +lean_inc(v_name_1774_); +v_imported_1775_ = lean_ctor_get(v_view_1773_, 1); +lean_inc(v_imported_1775_); +v_ctx_1776_ = lean_ctor_get(v_view_1773_, 2); +lean_inc(v_ctx_1776_); +v_scopes_1777_ = lean_ctor_get(v_view_1773_, 3); +lean_inc(v_scopes_1777_); +lean_dec_ref(v_view_1773_); +v_toApplicative_1778_ = lean_ctor_get(v_inst_1765_, 0); +v_toBind_1779_ = lean_ctor_get(v_inst_1765_, 1); +lean_inc(v_toBind_1779_); +v___x_1780_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__1)); +v_isRootName_1781_ = l_Lean_Name_isPrefixOf(v___x_1780_, v_name_1774_); +v___x_1782_ = lean_box(v_isRootName_1781_); +lean_inc(v_scopes_1777_); +lean_inc(v_ctx_1776_); +lean_inc(v_imported_1775_); +lean_inc(v_name_1774_); +lean_inc(v_currNamespace_1770_); +lean_inc(v_shortName_1772_); +lean_inc_ref(v_inst_1769_); +lean_inc(v_inst_1768_); +lean_inc_ref(v_inst_1766_); +lean_inc(v_toBind_1779_); +lean_inc_ref(v_inst_1767_); +lean_inc_ref(v_inst_1765_); +lean_inc_ref(v_toApplicative_1778_); +lean_inc_ref(v_modifiers_1771_); +v___f_1783_ = lean_alloc_closure((void*)(l_Lean_Elab_mkDeclName___redArg___lam__5___boxed), 17, 16); +lean_closure_set(v___f_1783_, 0, v_modifiers_1771_); +lean_closure_set(v___f_1783_, 1, v_toApplicative_1778_); +lean_closure_set(v___f_1783_, 2, v_inst_1765_); +lean_closure_set(v___f_1783_, 3, v_inst_1767_); +lean_closure_set(v___f_1783_, 4, v_toBind_1779_); +lean_closure_set(v___f_1783_, 5, v_inst_1766_); +lean_closure_set(v___f_1783_, 6, v_inst_1768_); +lean_closure_set(v___f_1783_, 7, v_inst_1769_); +lean_closure_set(v___f_1783_, 8, v___x_1782_); +lean_closure_set(v___f_1783_, 9, v_shortName_1772_); +lean_closure_set(v___f_1783_, 10, v_currNamespace_1770_); +lean_closure_set(v___f_1783_, 11, v_name_1774_); +lean_closure_set(v___f_1783_, 12, v___x_1780_); +lean_closure_set(v___f_1783_, 13, v_imported_1775_); +lean_closure_set(v___f_1783_, 14, v_ctx_1776_); +lean_closure_set(v___f_1783_, 15, v_scopes_1777_); +v___x_1784_ = lean_name_eq(v_name_1774_, v___x_1780_); +if (v___x_1784_ == 0) { -lean_object* v___x_1731_; lean_object* v___x_1732_; -lean_inc_ref(v_toApplicative_1724_); -lean_dec_ref(v___f_1729_); -v___x_1731_ = lean_box(0); -v___x_1732_ = l_Lean_Elab_mkDeclName___redArg___lam__5(v_modifiers_1717_, v_toApplicative_1724_, v_inst_1711_, v_inst_1713_, v_toBind_1725_, v_inst_1712_, v_inst_1714_, v_inst_1715_, v_isRootName_1727_, v_shortName_1718_, v_currNamespace_1716_, v_name_1720_, v___x_1726_, v_imported_1721_, v_ctx_1722_, v_scopes_1723_, v___x_1731_); -return v___x_1732_; +lean_object* v___x_1785_; lean_object* v___x_1786_; +lean_inc_ref(v_toApplicative_1778_); +lean_dec_ref(v___f_1783_); +v___x_1785_ = lean_box(0); +v___x_1786_ = l_Lean_Elab_mkDeclName___redArg___lam__5(v_modifiers_1771_, v_toApplicative_1778_, v_inst_1765_, v_inst_1767_, v_toBind_1779_, v_inst_1766_, v_inst_1768_, v_inst_1769_, v_isRootName_1781_, v_shortName_1772_, v_currNamespace_1770_, v_name_1774_, v___x_1780_, v_imported_1775_, v_ctx_1776_, v_scopes_1777_, v___x_1785_); +return v___x_1786_; } else { -lean_object* v___f_1733_; lean_object* v___x_1734_; lean_object* v___x_1735_; lean_object* v___x_1736_; -lean_dec(v_scopes_1723_); -lean_dec(v_ctx_1722_); -lean_dec(v_imported_1721_); -lean_dec(v_name_1720_); -lean_dec(v_shortName_1718_); -lean_dec_ref(v_modifiers_1717_); -lean_dec(v_currNamespace_1716_); -lean_dec_ref(v_inst_1715_); -lean_dec(v_inst_1714_); -lean_dec_ref(v_inst_1712_); -v___f_1733_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__5), 2, 1); -lean_closure_set(v___f_1733_, 0, v___f_1729_); -v___x_1734_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___closed__3, &l_Lean_Elab_mkDeclName___redArg___closed__3_once, _init_l_Lean_Elab_mkDeclName___redArg___closed__3); -v___x_1735_ = l_Lean_throwError___redArg(v_inst_1711_, v_inst_1713_, v___x_1734_); -v___x_1736_ = lean_apply_4(v_toBind_1725_, lean_box(0), lean_box(0), v___x_1735_, v___f_1733_); -return v___x_1736_; +lean_object* v___f_1787_; lean_object* v___x_1788_; lean_object* v___x_1789_; lean_object* v___x_1790_; +lean_dec(v_scopes_1777_); +lean_dec(v_ctx_1776_); +lean_dec(v_imported_1775_); +lean_dec(v_name_1774_); +lean_dec(v_shortName_1772_); +lean_dec_ref(v_modifiers_1771_); +lean_dec(v_currNamespace_1770_); +lean_dec_ref(v_inst_1769_); +lean_dec(v_inst_1768_); +lean_dec_ref(v_inst_1766_); +v___f_1787_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__5), 2, 1); +lean_closure_set(v___f_1787_, 0, v___f_1783_); +v___x_1788_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___closed__3, &l_Lean_Elab_mkDeclName___redArg___closed__3_once, _init_l_Lean_Elab_mkDeclName___redArg___closed__3); +v___x_1789_ = l_Lean_throwError___redArg(v_inst_1765_, v_inst_1767_, v___x_1788_); +v___x_1790_ = lean_apply_4(v_toBind_1779_, lean_box(0), lean_box(0), v___x_1789_, v___f_1787_); +return v___x_1790_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName(lean_object* v_m_1737_, lean_object* v_inst_1738_, lean_object* v_inst_1739_, lean_object* v_inst_1740_, lean_object* v_inst_1741_, lean_object* v_inst_1742_, lean_object* v_currNamespace_1743_, lean_object* v_modifiers_1744_, lean_object* v_shortName_1745_){ +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName(lean_object* v_m_1791_, lean_object* v_inst_1792_, lean_object* v_inst_1793_, lean_object* v_inst_1794_, lean_object* v_inst_1795_, lean_object* v_inst_1796_, lean_object* v_currNamespace_1797_, lean_object* v_modifiers_1798_, lean_object* v_shortName_1799_){ _start: { -lean_object* v___x_1746_; -v___x_1746_ = l_Lean_Elab_mkDeclName___redArg(v_inst_1738_, v_inst_1739_, v_inst_1740_, v_inst_1741_, v_inst_1742_, v_currNamespace_1743_, v_modifiers_1744_, v_shortName_1745_); -return v___x_1746_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclIdCore(lean_object* v_declId_1756_){ -_start: -{ -uint8_t v___x_1757_; -v___x_1757_ = l_Lean_Syntax_isIdent(v_declId_1756_); -if (v___x_1757_ == 0) -{ -lean_object* v___x_1758_; lean_object* v___x_1759_; lean_object* v_id_1760_; lean_object* v___x_1761_; lean_object* v_optUnivDeclStx_1762_; lean_object* v___x_1763_; -v___x_1758_ = lean_unsigned_to_nat(0u); -v___x_1759_ = l_Lean_Syntax_getArg(v_declId_1756_, v___x_1758_); -v_id_1760_ = l_Lean_Syntax_getId(v___x_1759_); -lean_dec(v___x_1759_); -v___x_1761_ = lean_unsigned_to_nat(1u); -v_optUnivDeclStx_1762_ = l_Lean_Syntax_getArg(v_declId_1756_, v___x_1761_); -v___x_1763_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1763_, 0, v_id_1760_); -lean_ctor_set(v___x_1763_, 1, v_optUnivDeclStx_1762_); -return v___x_1763_; -} -else -{ -lean_object* v___x_1764_; lean_object* v___x_1765_; lean_object* v___x_1766_; -v___x_1764_ = l_Lean_Syntax_getId(v_declId_1756_); -v___x_1765_ = ((lean_object*)(l_Lean_Elab_expandDeclIdCore___closed__3)); -v___x_1766_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1766_, 0, v___x_1764_); -lean_ctor_set(v___x_1766_, 1, v___x_1765_); -return v___x_1766_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclIdCore___boxed(lean_object* v_declId_1767_){ -_start: -{ -lean_object* v_res_1768_; -v_res_1768_ = l_Lean_Elab_expandDeclIdCore(v_declId_1767_); -lean_dec(v_declId_1767_); -return v_res_1768_; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(lean_object* v_msgData_1769_, lean_object* v___y_1770_, lean_object* v___y_1771_, lean_object* v___y_1772_, lean_object* v___y_1773_){ -_start: -{ -lean_object* v___x_1775_; lean_object* v_env_1776_; lean_object* v___x_1777_; lean_object* v_mctx_1778_; lean_object* v_lctx_1779_; lean_object* v_options_1780_; lean_object* v___x_1781_; lean_object* v___x_1782_; lean_object* v___x_1783_; -v___x_1775_ = lean_st_ref_get(v___y_1773_); -v_env_1776_ = lean_ctor_get(v___x_1775_, 0); -lean_inc_ref(v_env_1776_); -lean_dec(v___x_1775_); -v___x_1777_ = lean_st_ref_get(v___y_1771_); -v_mctx_1778_ = lean_ctor_get(v___x_1777_, 0); -lean_inc_ref(v_mctx_1778_); -lean_dec(v___x_1777_); -v_lctx_1779_ = lean_ctor_get(v___y_1770_, 2); -v_options_1780_ = lean_ctor_get(v___y_1772_, 2); -lean_inc_ref(v_options_1780_); -lean_inc_ref(v_lctx_1779_); -v___x_1781_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_1781_, 0, v_env_1776_); -lean_ctor_set(v___x_1781_, 1, v_mctx_1778_); -lean_ctor_set(v___x_1781_, 2, v_lctx_1779_); -lean_ctor_set(v___x_1781_, 3, v_options_1780_); -v___x_1782_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v___x_1782_, 0, v___x_1781_); -lean_ctor_set(v___x_1782_, 1, v_msgData_1769_); -v___x_1783_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1783_, 0, v___x_1782_); -return v___x_1783_; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2___boxed(lean_object* v_msgData_1784_, lean_object* v___y_1785_, lean_object* v___y_1786_, lean_object* v___y_1787_, lean_object* v___y_1788_, lean_object* v___y_1789_){ -_start: -{ -lean_object* v_res_1790_; -v_res_1790_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(v_msgData_1784_, v___y_1785_, v___y_1786_, v___y_1787_, v___y_1788_); -lean_dec(v___y_1788_); -lean_dec_ref(v___y_1787_); -lean_dec(v___y_1786_); -lean_dec_ref(v___y_1785_); -return v_res_1790_; -} -} -LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(lean_object* v_opts_1791_, lean_object* v_opt_1792_){ -_start: -{ -lean_object* v_name_1793_; lean_object* v_defValue_1794_; lean_object* v_map_1795_; lean_object* v___x_1796_; -v_name_1793_ = lean_ctor_get(v_opt_1792_, 0); -v_defValue_1794_ = lean_ctor_get(v_opt_1792_, 1); -v_map_1795_ = lean_ctor_get(v_opts_1791_, 0); -v___x_1796_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(v_map_1795_, v_name_1793_); -if (lean_obj_tag(v___x_1796_) == 0) -{ -uint8_t v___x_1797_; -v___x_1797_ = lean_unbox(v_defValue_1794_); -return v___x_1797_; -} -else -{ -lean_object* v_val_1798_; -v_val_1798_ = lean_ctor_get(v___x_1796_, 0); -lean_inc(v_val_1798_); -lean_dec_ref(v___x_1796_); -if (lean_obj_tag(v_val_1798_) == 1) -{ -uint8_t v_v_1799_; -v_v_1799_ = lean_ctor_get_uint8(v_val_1798_, 0); -lean_dec_ref(v_val_1798_); -return v_v_1799_; -} -else -{ -uint8_t v___x_1800_; -lean_dec(v_val_1798_); -v___x_1800_ = lean_unbox(v_defValue_1794_); +lean_object* v___x_1800_; +v___x_1800_ = l_Lean_Elab_mkDeclName___redArg(v_inst_1792_, v_inst_1793_, v_inst_1794_, v_inst_1795_, v_inst_1796_, v_currNamespace_1797_, v_modifiers_1798_, v_shortName_1799_); return v___x_1800_; } } -} -} -LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7___boxed(lean_object* v_opts_1801_, lean_object* v_opt_1802_){ +LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclIdCore(lean_object* v_declId_1810_){ _start: { -uint8_t v_res_1803_; lean_object* v_r_1804_; -v_res_1803_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(v_opts_1801_, v_opt_1802_); -lean_dec_ref(v_opt_1802_); -lean_dec_ref(v_opts_1801_); -v_r_1804_ = lean_box(v_res_1803_); -return v_r_1804_; +uint8_t v___x_1811_; +v___x_1811_ = l_Lean_Syntax_isIdent(v_declId_1810_); +if (v___x_1811_ == 0) +{ +lean_object* v___x_1812_; lean_object* v___x_1813_; lean_object* v_id_1814_; lean_object* v___x_1815_; lean_object* v_optUnivDeclStx_1816_; lean_object* v___x_1817_; +v___x_1812_ = lean_unsigned_to_nat(0u); +v___x_1813_ = l_Lean_Syntax_getArg(v_declId_1810_, v___x_1812_); +v_id_1814_ = l_Lean_Syntax_getId(v___x_1813_); +lean_dec(v___x_1813_); +v___x_1815_ = lean_unsigned_to_nat(1u); +v_optUnivDeclStx_1816_ = l_Lean_Syntax_getArg(v_declId_1810_, v___x_1815_); +v___x_1817_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1817_, 0, v_id_1814_); +lean_ctor_set(v___x_1817_, 1, v_optUnivDeclStx_1816_); +return v___x_1817_; +} +else +{ +lean_object* v___x_1818_; lean_object* v___x_1819_; lean_object* v___x_1820_; +v___x_1818_ = l_Lean_Syntax_getId(v_declId_1810_); +v___x_1819_ = ((lean_object*)(l_Lean_Elab_expandDeclIdCore___closed__3)); +v___x_1820_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1820_, 0, v___x_1818_); +lean_ctor_set(v___x_1820_, 1, v___x_1819_); +return v___x_1820_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclIdCore___boxed(lean_object* v_declId_1821_){ +_start: +{ +lean_object* v_res_1822_; +v_res_1822_ = l_Lean_Elab_expandDeclIdCore(v_declId_1821_); +lean_dec(v_declId_1821_); +return v_res_1822_; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(lean_object* v_msgData_1823_, lean_object* v___y_1824_, lean_object* v___y_1825_, lean_object* v___y_1826_, lean_object* v___y_1827_){ +_start: +{ +lean_object* v___x_1829_; lean_object* v_env_1830_; lean_object* v___x_1831_; lean_object* v_mctx_1832_; lean_object* v_lctx_1833_; lean_object* v_options_1834_; lean_object* v___x_1835_; lean_object* v___x_1836_; lean_object* v___x_1837_; +v___x_1829_ = lean_st_ref_get(v___y_1827_); +v_env_1830_ = lean_ctor_get(v___x_1829_, 0); +lean_inc_ref(v_env_1830_); +lean_dec(v___x_1829_); +v___x_1831_ = lean_st_ref_get(v___y_1825_); +v_mctx_1832_ = lean_ctor_get(v___x_1831_, 0); +lean_inc_ref(v_mctx_1832_); +lean_dec(v___x_1831_); +v_lctx_1833_ = lean_ctor_get(v___y_1824_, 2); +v_options_1834_ = lean_ctor_get(v___y_1826_, 2); +lean_inc_ref(v_options_1834_); +lean_inc_ref(v_lctx_1833_); +v___x_1835_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_1835_, 0, v_env_1830_); +lean_ctor_set(v___x_1835_, 1, v_mctx_1832_); +lean_ctor_set(v___x_1835_, 2, v_lctx_1833_); +lean_ctor_set(v___x_1835_, 3, v_options_1834_); +v___x_1836_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v___x_1836_, 0, v___x_1835_); +lean_ctor_set(v___x_1836_, 1, v_msgData_1823_); +v___x_1837_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1837_, 0, v___x_1836_); +return v___x_1837_; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2___boxed(lean_object* v_msgData_1838_, lean_object* v___y_1839_, lean_object* v___y_1840_, lean_object* v___y_1841_, lean_object* v___y_1842_, lean_object* v___y_1843_){ +_start: +{ +lean_object* v_res_1844_; +v_res_1844_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(v_msgData_1838_, v___y_1839_, v___y_1840_, v___y_1841_, v___y_1842_); +lean_dec(v___y_1842_); +lean_dec_ref(v___y_1841_); +lean_dec(v___y_1840_); +lean_dec_ref(v___y_1839_); +return v_res_1844_; +} +} +LEAN_EXPORT uint8_t l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(lean_object* v_opts_1845_, lean_object* v_opt_1846_){ +_start: +{ +lean_object* v_name_1847_; lean_object* v_defValue_1848_; lean_object* v_map_1849_; lean_object* v___x_1850_; +v_name_1847_ = lean_ctor_get(v_opt_1846_, 0); +v_defValue_1848_ = lean_ctor_get(v_opt_1846_, 1); +v_map_1849_ = lean_ctor_get(v_opts_1845_, 0); +v___x_1850_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(v_map_1849_, v_name_1847_); +if (lean_obj_tag(v___x_1850_) == 0) +{ +uint8_t v___x_1851_; +v___x_1851_ = lean_unbox(v_defValue_1848_); +return v___x_1851_; +} +else +{ +lean_object* v_val_1852_; +v_val_1852_ = lean_ctor_get(v___x_1850_, 0); +lean_inc(v_val_1852_); +lean_dec_ref(v___x_1850_); +if (lean_obj_tag(v_val_1852_) == 1) +{ +uint8_t v_v_1853_; +v_v_1853_ = lean_ctor_get_uint8(v_val_1852_, 0); +lean_dec_ref(v_val_1852_); +return v_v_1853_; +} +else +{ +uint8_t v___x_1854_; +lean_dec(v_val_1852_); +v___x_1854_ = lean_unbox(v_defValue_1848_); +return v___x_1854_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7___boxed(lean_object* v_opts_1855_, lean_object* v_opt_1856_){ +_start: +{ +uint8_t v_res_1857_; lean_object* v_r_1858_; +v_res_1857_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(v_opts_1855_, v_opt_1856_); +lean_dec_ref(v_opt_1856_); +lean_dec_ref(v_opts_1855_); +v_r_1858_ = lean_box(v_res_1857_); +return v_r_1858_; } } static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0(void){ _start: { -lean_object* v___x_1805_; lean_object* v___x_1806_; -v___x_1805_ = lean_box(1); -v___x_1806_ = l_Lean_MessageData_ofFormat(v___x_1805_); -return v___x_1806_; +lean_object* v___x_1859_; lean_object* v___x_1860_; +v___x_1859_ = lean_box(1); +v___x_1860_ = l_Lean_MessageData_ofFormat(v___x_1859_); +return v___x_1860_; } } static lean_object* _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3(void){ _start: { -lean_object* v___x_1810_; lean_object* v___x_1811_; -v___x_1810_ = ((lean_object*)(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__2)); -v___x_1811_ = l_Lean_MessageData_ofFormat(v___x_1810_); -return v___x_1811_; +lean_object* v___x_1864_; lean_object* v___x_1865_; +v___x_1864_ = ((lean_object*)(l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__2)); +v___x_1865_ = l_Lean_MessageData_ofFormat(v___x_1864_); +return v___x_1865_; } } -LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8(lean_object* v_x_1812_, lean_object* v_x_1813_){ +LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8(lean_object* v_x_1866_, lean_object* v_x_1867_){ _start: { -if (lean_obj_tag(v_x_1813_) == 0) +if (lean_obj_tag(v_x_1867_) == 0) { -return v_x_1812_; +return v_x_1866_; } else { -lean_object* v_head_1814_; lean_object* v_tail_1815_; lean_object* v___x_1817_; uint8_t v_isShared_1818_; uint8_t v_isSharedCheck_1837_; -v_head_1814_ = lean_ctor_get(v_x_1813_, 0); -v_tail_1815_ = lean_ctor_get(v_x_1813_, 1); -v_isSharedCheck_1837_ = !lean_is_exclusive(v_x_1813_); -if (v_isSharedCheck_1837_ == 0) +lean_object* v_head_1868_; lean_object* v_tail_1869_; lean_object* v___x_1871_; uint8_t v_isShared_1872_; uint8_t v_isSharedCheck_1891_; +v_head_1868_ = lean_ctor_get(v_x_1867_, 0); +v_tail_1869_ = lean_ctor_get(v_x_1867_, 1); +v_isSharedCheck_1891_ = !lean_is_exclusive(v_x_1867_); +if (v_isSharedCheck_1891_ == 0) { -v___x_1817_ = v_x_1813_; -v_isShared_1818_ = v_isSharedCheck_1837_; -goto v_resetjp_1816_; +v___x_1871_ = v_x_1867_; +v_isShared_1872_ = v_isSharedCheck_1891_; +goto v_resetjp_1870_; } else { -lean_inc(v_tail_1815_); -lean_inc(v_head_1814_); -lean_dec(v_x_1813_); -v___x_1817_ = lean_box(0); -v_isShared_1818_ = v_isSharedCheck_1837_; -goto v_resetjp_1816_; +lean_inc(v_tail_1869_); +lean_inc(v_head_1868_); +lean_dec(v_x_1867_); +v___x_1871_ = lean_box(0); +v_isShared_1872_ = v_isSharedCheck_1891_; +goto v_resetjp_1870_; } -v_resetjp_1816_: +v_resetjp_1870_: { -lean_object* v_before_1819_; lean_object* v___x_1821_; uint8_t v_isShared_1822_; uint8_t v_isSharedCheck_1835_; -v_before_1819_ = lean_ctor_get(v_head_1814_, 0); -v_isSharedCheck_1835_ = !lean_is_exclusive(v_head_1814_); -if (v_isSharedCheck_1835_ == 0) +lean_object* v_before_1873_; lean_object* v___x_1875_; uint8_t v_isShared_1876_; uint8_t v_isSharedCheck_1889_; +v_before_1873_ = lean_ctor_get(v_head_1868_, 0); +v_isSharedCheck_1889_ = !lean_is_exclusive(v_head_1868_); +if (v_isSharedCheck_1889_ == 0) { -lean_object* v_unused_1836_; -v_unused_1836_ = lean_ctor_get(v_head_1814_, 1); -lean_dec(v_unused_1836_); -v___x_1821_ = v_head_1814_; -v_isShared_1822_ = v_isSharedCheck_1835_; -goto v_resetjp_1820_; +lean_object* v_unused_1890_; +v_unused_1890_ = lean_ctor_get(v_head_1868_, 1); +lean_dec(v_unused_1890_); +v___x_1875_ = v_head_1868_; +v_isShared_1876_ = v_isSharedCheck_1889_; +goto v_resetjp_1874_; } else { -lean_inc(v_before_1819_); -lean_dec(v_head_1814_); -v___x_1821_ = lean_box(0); -v_isShared_1822_ = v_isSharedCheck_1835_; -goto v_resetjp_1820_; +lean_inc(v_before_1873_); +lean_dec(v_head_1868_); +v___x_1875_ = lean_box(0); +v_isShared_1876_ = v_isSharedCheck_1889_; +goto v_resetjp_1874_; } -v_resetjp_1820_: +v_resetjp_1874_: { -lean_object* v___x_1823_; lean_object* v___x_1825_; -v___x_1823_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0); -if (v_isShared_1822_ == 0) +lean_object* v___x_1877_; lean_object* v___x_1879_; +v___x_1877_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0); +if (v_isShared_1876_ == 0) { -lean_ctor_set_tag(v___x_1821_, 7); -lean_ctor_set(v___x_1821_, 1, v___x_1823_); -lean_ctor_set(v___x_1821_, 0, v_x_1812_); -v___x_1825_ = v___x_1821_; -goto v_reusejp_1824_; +lean_ctor_set_tag(v___x_1875_, 7); +lean_ctor_set(v___x_1875_, 1, v___x_1877_); +lean_ctor_set(v___x_1875_, 0, v_x_1866_); +v___x_1879_ = v___x_1875_; +goto v_reusejp_1878_; } else { -lean_object* v_reuseFailAlloc_1834_; -v_reuseFailAlloc_1834_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1834_, 0, v_x_1812_); -lean_ctor_set(v_reuseFailAlloc_1834_, 1, v___x_1823_); -v___x_1825_ = v_reuseFailAlloc_1834_; -goto v_reusejp_1824_; +lean_object* v_reuseFailAlloc_1888_; +v_reuseFailAlloc_1888_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1888_, 0, v_x_1866_); +lean_ctor_set(v_reuseFailAlloc_1888_, 1, v___x_1877_); +v___x_1879_ = v_reuseFailAlloc_1888_; +goto v_reusejp_1878_; } -v_reusejp_1824_: +v_reusejp_1878_: { -lean_object* v___x_1826_; lean_object* v___x_1828_; -v___x_1826_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3); -if (v_isShared_1818_ == 0) +lean_object* v___x_1880_; lean_object* v___x_1882_; +v___x_1880_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__3); +if (v_isShared_1872_ == 0) { -lean_ctor_set_tag(v___x_1817_, 7); -lean_ctor_set(v___x_1817_, 1, v___x_1826_); -lean_ctor_set(v___x_1817_, 0, v___x_1825_); -v___x_1828_ = v___x_1817_; -goto v_reusejp_1827_; +lean_ctor_set_tag(v___x_1871_, 7); +lean_ctor_set(v___x_1871_, 1, v___x_1880_); +lean_ctor_set(v___x_1871_, 0, v___x_1879_); +v___x_1882_ = v___x_1871_; +goto v_reusejp_1881_; } else { -lean_object* v_reuseFailAlloc_1833_; -v_reuseFailAlloc_1833_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1833_, 0, v___x_1825_); -lean_ctor_set(v_reuseFailAlloc_1833_, 1, v___x_1826_); -v___x_1828_ = v_reuseFailAlloc_1833_; -goto v_reusejp_1827_; +lean_object* v_reuseFailAlloc_1887_; +v_reuseFailAlloc_1887_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1887_, 0, v___x_1879_); +lean_ctor_set(v_reuseFailAlloc_1887_, 1, v___x_1880_); +v___x_1882_ = v_reuseFailAlloc_1887_; +goto v_reusejp_1881_; } -v_reusejp_1827_: +v_reusejp_1881_: { -lean_object* v___x_1829_; lean_object* v___x_1830_; lean_object* v___x_1831_; -v___x_1829_ = l_Lean_MessageData_ofSyntax(v_before_1819_); -v___x_1830_ = l_Lean_indentD(v___x_1829_); -v___x_1831_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1831_, 0, v___x_1828_); -lean_ctor_set(v___x_1831_, 1, v___x_1830_); -v_x_1812_ = v___x_1831_; -v_x_1813_ = v_tail_1815_; +lean_object* v___x_1883_; lean_object* v___x_1884_; lean_object* v___x_1885_; +v___x_1883_ = l_Lean_MessageData_ofSyntax(v_before_1873_); +v___x_1884_ = l_Lean_indentD(v___x_1883_); +v___x_1885_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1885_, 0, v___x_1882_); +lean_ctor_set(v___x_1885_, 1, v___x_1884_); +v_x_1866_ = v___x_1885_; +v_x_1867_ = v_tail_1869_; goto _start; } } @@ -4962,601 +5123,601 @@ goto _start; static lean_object* _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2(void){ _start: { -lean_object* v___x_1841_; lean_object* v___x_1842_; -v___x_1841_ = ((lean_object*)(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__1)); -v___x_1842_ = l_Lean_MessageData_ofFormat(v___x_1841_); -return v___x_1842_; +lean_object* v___x_1895_; lean_object* v___x_1896_; +v___x_1895_ = ((lean_object*)(l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__1)); +v___x_1896_ = l_Lean_MessageData_ofFormat(v___x_1895_); +return v___x_1896_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(lean_object* v_msgData_1843_, lean_object* v_macroStack_1844_, lean_object* v___y_1845_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(lean_object* v_msgData_1897_, lean_object* v_macroStack_1898_, lean_object* v___y_1899_){ _start: { -lean_object* v_options_1847_; lean_object* v___x_1848_; uint8_t v___x_1849_; -v_options_1847_ = lean_ctor_get(v___y_1845_, 2); -v___x_1848_ = l_Lean_Elab_pp_macroStack; -v___x_1849_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(v_options_1847_, v___x_1848_); -if (v___x_1849_ == 0) +lean_object* v_options_1901_; lean_object* v___x_1902_; uint8_t v___x_1903_; +v_options_1901_ = lean_ctor_get(v___y_1899_, 2); +v___x_1902_ = l_Lean_Elab_pp_macroStack; +v___x_1903_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__7(v_options_1901_, v___x_1902_); +if (v___x_1903_ == 0) { -lean_object* v___x_1850_; -lean_dec(v_macroStack_1844_); -v___x_1850_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1850_, 0, v_msgData_1843_); -return v___x_1850_; +lean_object* v___x_1904_; +lean_dec(v_macroStack_1898_); +v___x_1904_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1904_, 0, v_msgData_1897_); +return v___x_1904_; } else { -if (lean_obj_tag(v_macroStack_1844_) == 0) +if (lean_obj_tag(v_macroStack_1898_) == 0) { -lean_object* v___x_1851_; -v___x_1851_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1851_, 0, v_msgData_1843_); -return v___x_1851_; +lean_object* v___x_1905_; +v___x_1905_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1905_, 0, v_msgData_1897_); +return v___x_1905_; } else { -lean_object* v_head_1852_; lean_object* v_after_1853_; lean_object* v___x_1855_; uint8_t v_isShared_1856_; uint8_t v_isSharedCheck_1868_; -v_head_1852_ = lean_ctor_get(v_macroStack_1844_, 0); -lean_inc(v_head_1852_); -v_after_1853_ = lean_ctor_get(v_head_1852_, 1); -v_isSharedCheck_1868_ = !lean_is_exclusive(v_head_1852_); -if (v_isSharedCheck_1868_ == 0) +lean_object* v_head_1906_; lean_object* v_after_1907_; lean_object* v___x_1909_; uint8_t v_isShared_1910_; uint8_t v_isSharedCheck_1922_; +v_head_1906_ = lean_ctor_get(v_macroStack_1898_, 0); +lean_inc(v_head_1906_); +v_after_1907_ = lean_ctor_get(v_head_1906_, 1); +v_isSharedCheck_1922_ = !lean_is_exclusive(v_head_1906_); +if (v_isSharedCheck_1922_ == 0) { -lean_object* v_unused_1869_; -v_unused_1869_ = lean_ctor_get(v_head_1852_, 0); -lean_dec(v_unused_1869_); -v___x_1855_ = v_head_1852_; -v_isShared_1856_ = v_isSharedCheck_1868_; -goto v_resetjp_1854_; +lean_object* v_unused_1923_; +v_unused_1923_ = lean_ctor_get(v_head_1906_, 0); +lean_dec(v_unused_1923_); +v___x_1909_ = v_head_1906_; +v_isShared_1910_ = v_isSharedCheck_1922_; +goto v_resetjp_1908_; } else { -lean_inc(v_after_1853_); -lean_dec(v_head_1852_); -v___x_1855_ = lean_box(0); -v_isShared_1856_ = v_isSharedCheck_1868_; -goto v_resetjp_1854_; +lean_inc(v_after_1907_); +lean_dec(v_head_1906_); +v___x_1909_ = lean_box(0); +v_isShared_1910_ = v_isSharedCheck_1922_; +goto v_resetjp_1908_; } -v_resetjp_1854_: +v_resetjp_1908_: { -lean_object* v___x_1857_; lean_object* v___x_1859_; -v___x_1857_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0); -if (v_isShared_1856_ == 0) +lean_object* v___x_1911_; lean_object* v___x_1913_; +v___x_1911_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8___closed__0); +if (v_isShared_1910_ == 0) { -lean_ctor_set_tag(v___x_1855_, 7); -lean_ctor_set(v___x_1855_, 1, v___x_1857_); -lean_ctor_set(v___x_1855_, 0, v_msgData_1843_); -v___x_1859_ = v___x_1855_; -goto v_reusejp_1858_; +lean_ctor_set_tag(v___x_1909_, 7); +lean_ctor_set(v___x_1909_, 1, v___x_1911_); +lean_ctor_set(v___x_1909_, 0, v_msgData_1897_); +v___x_1913_ = v___x_1909_; +goto v_reusejp_1912_; } else { -lean_object* v_reuseFailAlloc_1867_; -v_reuseFailAlloc_1867_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1867_, 0, v_msgData_1843_); -lean_ctor_set(v_reuseFailAlloc_1867_, 1, v___x_1857_); -v___x_1859_ = v_reuseFailAlloc_1867_; -goto v_reusejp_1858_; +lean_object* v_reuseFailAlloc_1921_; +v_reuseFailAlloc_1921_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1921_, 0, v_msgData_1897_); +lean_ctor_set(v_reuseFailAlloc_1921_, 1, v___x_1911_); +v___x_1913_ = v_reuseFailAlloc_1921_; +goto v_reusejp_1912_; } -v_reusejp_1858_: +v_reusejp_1912_: { -lean_object* v___x_1860_; lean_object* v___x_1861_; lean_object* v___x_1862_; lean_object* v___x_1863_; lean_object* v_msgData_1864_; lean_object* v___x_1865_; lean_object* v___x_1866_; -v___x_1860_ = lean_obj_once(&l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2, &l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2_once, _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2); -v___x_1861_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1861_, 0, v___x_1859_); -lean_ctor_set(v___x_1861_, 1, v___x_1860_); -v___x_1862_ = l_Lean_MessageData_ofSyntax(v_after_1853_); -v___x_1863_ = l_Lean_indentD(v___x_1862_); -v_msgData_1864_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_msgData_1864_, 0, v___x_1861_); -lean_ctor_set(v_msgData_1864_, 1, v___x_1863_); -v___x_1865_ = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8(v_msgData_1864_, v_macroStack_1844_); -v___x_1866_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1866_, 0, v___x_1865_); -return v___x_1866_; +lean_object* v___x_1914_; lean_object* v___x_1915_; lean_object* v___x_1916_; lean_object* v___x_1917_; lean_object* v_msgData_1918_; lean_object* v___x_1919_; lean_object* v___x_1920_; +v___x_1914_ = lean_obj_once(&l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2, &l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2_once, _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___closed__2); +v___x_1915_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1915_, 0, v___x_1913_); +lean_ctor_set(v___x_1915_, 1, v___x_1914_); +v___x_1916_ = l_Lean_MessageData_ofSyntax(v_after_1907_); +v___x_1917_ = l_Lean_indentD(v___x_1916_); +v_msgData_1918_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_msgData_1918_, 0, v___x_1915_); +lean_ctor_set(v_msgData_1918_, 1, v___x_1917_); +v___x_1919_ = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3_spec__8(v_msgData_1918_, v_macroStack_1898_); +v___x_1920_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1920_, 0, v___x_1919_); +return v___x_1920_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___boxed(lean_object* v_msgData_1870_, lean_object* v_macroStack_1871_, lean_object* v___y_1872_, lean_object* v___y_1873_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg___boxed(lean_object* v_msgData_1924_, lean_object* v_macroStack_1925_, lean_object* v___y_1926_, lean_object* v___y_1927_){ _start: { -lean_object* v_res_1874_; -v_res_1874_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_msgData_1870_, v_macroStack_1871_, v___y_1872_); -lean_dec_ref(v___y_1872_); -return v_res_1874_; +lean_object* v_res_1928_; +v_res_1928_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_msgData_1924_, v_macroStack_1925_, v___y_1926_); +lean_dec_ref(v___y_1926_); +return v_res_1928_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(lean_object* v_msg_1875_, lean_object* v___y_1876_, lean_object* v___y_1877_, lean_object* v___y_1878_, lean_object* v___y_1879_, lean_object* v___y_1880_, lean_object* v___y_1881_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(lean_object* v_msg_1929_, lean_object* v___y_1930_, lean_object* v___y_1931_, lean_object* v___y_1932_, lean_object* v___y_1933_, lean_object* v___y_1934_, lean_object* v___y_1935_){ _start: { -lean_object* v_ref_1883_; lean_object* v___x_1884_; lean_object* v_a_1885_; lean_object* v_macroStack_1886_; lean_object* v___x_1887_; lean_object* v___x_1888_; lean_object* v_a_1889_; lean_object* v___x_1891_; uint8_t v_isShared_1892_; uint8_t v_isSharedCheck_1897_; -v_ref_1883_ = lean_ctor_get(v___y_1880_, 5); -v___x_1884_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(v_msg_1875_, v___y_1878_, v___y_1879_, v___y_1880_, v___y_1881_); -v_a_1885_ = lean_ctor_get(v___x_1884_, 0); -lean_inc(v_a_1885_); -lean_dec_ref(v___x_1884_); -v_macroStack_1886_ = lean_ctor_get(v___y_1876_, 1); -lean_inc(v_macroStack_1886_); -lean_dec_ref(v___y_1876_); -lean_inc(v_macroStack_1886_); -v___x_1887_ = l_Lean_Elab_getBetterRef(v_ref_1883_, v_macroStack_1886_); -v___x_1888_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_a_1885_, v_macroStack_1886_, v___y_1880_); -v_a_1889_ = lean_ctor_get(v___x_1888_, 0); -v_isSharedCheck_1897_ = !lean_is_exclusive(v___x_1888_); -if (v_isSharedCheck_1897_ == 0) +lean_object* v_ref_1937_; lean_object* v___x_1938_; lean_object* v_a_1939_; lean_object* v_macroStack_1940_; lean_object* v___x_1941_; lean_object* v___x_1942_; lean_object* v_a_1943_; lean_object* v___x_1945_; uint8_t v_isShared_1946_; uint8_t v_isSharedCheck_1951_; +v_ref_1937_ = lean_ctor_get(v___y_1934_, 5); +v___x_1938_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__2(v_msg_1929_, v___y_1932_, v___y_1933_, v___y_1934_, v___y_1935_); +v_a_1939_ = lean_ctor_get(v___x_1938_, 0); +lean_inc(v_a_1939_); +lean_dec_ref(v___x_1938_); +v_macroStack_1940_ = lean_ctor_get(v___y_1930_, 1); +lean_inc(v_macroStack_1940_); +lean_dec_ref(v___y_1930_); +lean_inc(v_macroStack_1940_); +v___x_1941_ = l_Lean_Elab_getBetterRef(v_ref_1937_, v_macroStack_1940_); +v___x_1942_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_a_1939_, v_macroStack_1940_, v___y_1934_); +v_a_1943_ = lean_ctor_get(v___x_1942_, 0); +v_isSharedCheck_1951_ = !lean_is_exclusive(v___x_1942_); +if (v_isSharedCheck_1951_ == 0) { -v___x_1891_ = v___x_1888_; -v_isShared_1892_ = v_isSharedCheck_1897_; -goto v_resetjp_1890_; +v___x_1945_ = v___x_1942_; +v_isShared_1946_ = v_isSharedCheck_1951_; +goto v_resetjp_1944_; } else { -lean_inc(v_a_1889_); -lean_dec(v___x_1888_); -v___x_1891_ = lean_box(0); -v_isShared_1892_ = v_isSharedCheck_1897_; -goto v_resetjp_1890_; +lean_inc(v_a_1943_); +lean_dec(v___x_1942_); +v___x_1945_ = lean_box(0); +v_isShared_1946_ = v_isSharedCheck_1951_; +goto v_resetjp_1944_; } -v_resetjp_1890_: +v_resetjp_1944_: { -lean_object* v___x_1893_; lean_object* v___x_1895_; -v___x_1893_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1893_, 0, v___x_1887_); -lean_ctor_set(v___x_1893_, 1, v_a_1889_); -if (v_isShared_1892_ == 0) +lean_object* v___x_1947_; lean_object* v___x_1949_; +v___x_1947_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1947_, 0, v___x_1941_); +lean_ctor_set(v___x_1947_, 1, v_a_1943_); +if (v_isShared_1946_ == 0) { -lean_ctor_set_tag(v___x_1891_, 1); -lean_ctor_set(v___x_1891_, 0, v___x_1893_); -v___x_1895_ = v___x_1891_; -goto v_reusejp_1894_; +lean_ctor_set_tag(v___x_1945_, 1); +lean_ctor_set(v___x_1945_, 0, v___x_1947_); +v___x_1949_ = v___x_1945_; +goto v_reusejp_1948_; } else { -lean_object* v_reuseFailAlloc_1896_; -v_reuseFailAlloc_1896_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1896_, 0, v___x_1893_); -v___x_1895_ = v_reuseFailAlloc_1896_; -goto v_reusejp_1894_; +lean_object* v_reuseFailAlloc_1950_; +v_reuseFailAlloc_1950_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1950_, 0, v___x_1947_); +v___x_1949_ = v_reuseFailAlloc_1950_; +goto v_reusejp_1948_; } -v_reusejp_1894_: +v_reusejp_1948_: { -return v___x_1895_; +return v___x_1949_; } } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg___boxed(lean_object* v_msg_1898_, lean_object* v___y_1899_, lean_object* v___y_1900_, lean_object* v___y_1901_, lean_object* v___y_1902_, lean_object* v___y_1903_, lean_object* v___y_1904_, lean_object* v___y_1905_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg___boxed(lean_object* v_msg_1952_, lean_object* v___y_1953_, lean_object* v___y_1954_, lean_object* v___y_1955_, lean_object* v___y_1956_, lean_object* v___y_1957_, lean_object* v___y_1958_, lean_object* v___y_1959_){ _start: { -lean_object* v_res_1906_; -v_res_1906_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_1898_, v___y_1899_, v___y_1900_, v___y_1901_, v___y_1902_, v___y_1903_, v___y_1904_); -lean_dec(v___y_1904_); -lean_dec_ref(v___y_1903_); -lean_dec(v___y_1902_); -lean_dec_ref(v___y_1901_); -lean_dec(v___y_1900_); -return v_res_1906_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2(lean_object* v_env_1907_, lean_object* v_declName_1908_, lean_object* v___f_1909_, lean_object* v_addInfo_1910_, lean_object* v_____r_1911_, lean_object* v___y_1912_, lean_object* v___y_1913_, lean_object* v___y_1914_, lean_object* v___y_1915_, lean_object* v___y_1916_, lean_object* v___y_1917_){ -_start: -{ -lean_object* v___x_1919_; uint8_t v___x_1920_; uint8_t v___x_1921_; -lean_inc(v_declName_1908_); -v___x_1919_ = l_Lean_mkPrivateName(v_env_1907_, v_declName_1908_); -v___x_1920_ = 1; -lean_inc(v___x_1919_); -v___x_1921_ = l_Lean_Environment_contains(v_env_1907_, v___x_1919_, v___x_1920_); -if (v___x_1921_ == 0) -{ -lean_object* v___x_1922_; lean_object* v___x_1923_; -lean_dec(v___x_1919_); -lean_dec_ref(v_addInfo_1910_); -lean_dec(v_declName_1908_); -v___x_1922_ = lean_box(0); -v___x_1923_ = lean_apply_8(v___f_1909_, v___x_1922_, v___y_1912_, v___y_1913_, v___y_1914_, v___y_1915_, v___y_1916_, v___y_1917_, lean_box(0)); -return v___x_1923_; -} -else -{ -lean_object* v___x_1924_; -lean_dec_ref(v___f_1909_); -lean_inc(v___y_1917_); -lean_inc_ref(v___y_1916_); -lean_inc(v___y_1915_); -lean_inc_ref(v___y_1914_); -lean_inc(v___y_1913_); -lean_inc_ref(v___y_1912_); -v___x_1924_ = lean_apply_8(v_addInfo_1910_, v___x_1919_, v___y_1912_, v___y_1913_, v___y_1914_, v___y_1915_, v___y_1916_, v___y_1917_, lean_box(0)); -if (lean_obj_tag(v___x_1924_) == 0) -{ -lean_object* v___x_1925_; lean_object* v___x_1926_; lean_object* v___x_1927_; lean_object* v___x_1928_; lean_object* v___x_1929_; lean_object* v___x_1930_; -lean_dec_ref(v___x_1924_); -v___x_1925_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1); -v___x_1926_ = l_Lean_MessageData_ofConstName(v_declName_1908_, v___x_1920_); -v___x_1927_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1927_, 0, v___x_1925_); -lean_ctor_set(v___x_1927_, 1, v___x_1926_); -v___x_1928_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); -v___x_1929_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1929_, 0, v___x_1927_); -lean_ctor_set(v___x_1929_, 1, v___x_1928_); -v___x_1930_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_1929_, v___y_1912_, v___y_1913_, v___y_1914_, v___y_1915_, v___y_1916_, v___y_1917_); -lean_dec(v___y_1917_); -lean_dec_ref(v___y_1916_); -lean_dec(v___y_1915_); -lean_dec_ref(v___y_1914_); -lean_dec(v___y_1913_); -return v___x_1930_; -} -else -{ -lean_dec(v___y_1917_); -lean_dec_ref(v___y_1916_); -lean_dec(v___y_1915_); -lean_dec_ref(v___y_1914_); -lean_dec(v___y_1913_); -lean_dec_ref(v___y_1912_); -lean_dec(v_declName_1908_); -return v___x_1924_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2___boxed(lean_object* v_env_1931_, lean_object* v_declName_1932_, lean_object* v___f_1933_, lean_object* v_addInfo_1934_, lean_object* v_____r_1935_, lean_object* v___y_1936_, lean_object* v___y_1937_, lean_object* v___y_1938_, lean_object* v___y_1939_, lean_object* v___y_1940_, lean_object* v___y_1941_, lean_object* v___y_1942_){ -_start: -{ -lean_object* v_res_1943_; -v_res_1943_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2(v_env_1931_, v_declName_1932_, v___f_1933_, v_addInfo_1934_, v_____r_1935_, v___y_1936_, v___y_1937_, v___y_1938_, v___y_1939_, v___y_1940_, v___y_1941_); -return v_res_1943_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3(lean_object* v___f_1944_, lean_object* v_declName_1945_, uint8_t v___x_1946_, lean_object* v_env_1947_, lean_object* v_____do__lift_1948_, lean_object* v___y_1949_, lean_object* v___y_1950_, lean_object* v___y_1951_, lean_object* v___y_1952_, lean_object* v___y_1953_, lean_object* v___y_1954_){ -_start: -{ -uint8_t v___y_1957_; lean_object* v___x_1966_; uint8_t v___x_1967_; -lean_inc(v_declName_1945_); -v___x_1966_ = l_Lean_privateToUserName(v_declName_1945_); -lean_inc_ref(v_env_1947_); -v___x_1967_ = lean_is_reserved_name(v_env_1947_, v___x_1966_); -if (v___x_1967_ == 0) -{ -lean_object* v___x_1968_; uint8_t v___x_1969_; -lean_inc(v_declName_1945_); -v___x_1968_ = l_Lean_mkPrivateName(v_____do__lift_1948_, v_declName_1945_); -v___x_1969_ = lean_is_reserved_name(v_env_1947_, v___x_1968_); -v___y_1957_ = v___x_1969_; -goto v___jp_1956_; -} -else -{ -lean_dec_ref(v_env_1947_); -v___y_1957_ = v___x_1967_; -goto v___jp_1956_; -} -v___jp_1956_: -{ -if (v___y_1957_ == 0) -{ -lean_object* v___x_1958_; lean_object* v___x_1959_; -lean_dec(v_declName_1945_); -v___x_1958_ = lean_box(0); -v___x_1959_ = lean_apply_8(v___f_1944_, v___x_1958_, v___y_1949_, v___y_1950_, v___y_1951_, v___y_1952_, v___y_1953_, v___y_1954_, lean_box(0)); -return v___x_1959_; -} -else -{ -lean_object* v___x_1960_; lean_object* v___x_1961_; lean_object* v___x_1962_; lean_object* v___x_1963_; lean_object* v___x_1964_; lean_object* v___x_1965_; -lean_dec_ref(v___f_1944_); -v___x_1960_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_1961_ = l_Lean_MessageData_ofConstName(v_declName_1945_, v___x_1946_); -v___x_1962_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1962_, 0, v___x_1960_); -lean_ctor_set(v___x_1962_, 1, v___x_1961_); -v___x_1963_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3); -v___x_1964_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1964_, 0, v___x_1962_); -lean_ctor_set(v___x_1964_, 1, v___x_1963_); -v___x_1965_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_1964_, v___y_1949_, v___y_1950_, v___y_1951_, v___y_1952_, v___y_1953_, v___y_1954_); +lean_object* v_res_1960_; +v_res_1960_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_1952_, v___y_1953_, v___y_1954_, v___y_1955_, v___y_1956_, v___y_1957_, v___y_1958_); +lean_dec(v___y_1958_); +lean_dec_ref(v___y_1957_); +lean_dec(v___y_1956_); +lean_dec_ref(v___y_1955_); lean_dec(v___y_1954_); -lean_dec_ref(v___y_1953_); -lean_dec(v___y_1952_); -lean_dec_ref(v___y_1951_); -lean_dec(v___y_1950_); -return v___x_1965_; +return v_res_1960_; } } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3___boxed(lean_object* v___f_1970_, lean_object* v_declName_1971_, lean_object* v___x_1972_, lean_object* v_env_1973_, lean_object* v_____do__lift_1974_, lean_object* v___y_1975_, lean_object* v___y_1976_, lean_object* v___y_1977_, lean_object* v___y_1978_, lean_object* v___y_1979_, lean_object* v___y_1980_, lean_object* v___y_1981_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2(lean_object* v_env_1961_, lean_object* v_declName_1962_, lean_object* v___f_1963_, lean_object* v_addInfo_1964_, lean_object* v_____r_1965_, lean_object* v___y_1966_, lean_object* v___y_1967_, lean_object* v___y_1968_, lean_object* v___y_1969_, lean_object* v___y_1970_, lean_object* v___y_1971_){ _start: { -uint8_t v___x_18034__boxed_1982_; lean_object* v_res_1983_; -v___x_18034__boxed_1982_ = lean_unbox(v___x_1972_); -v_res_1983_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3(v___f_1970_, v_declName_1971_, v___x_18034__boxed_1982_, v_env_1973_, v_____do__lift_1974_, v___y_1975_, v___y_1976_, v___y_1977_, v___y_1978_, v___y_1979_, v___y_1980_); -lean_dec_ref(v_____do__lift_1974_); -return v_res_1983_; +lean_object* v___x_1973_; uint8_t v___x_1974_; uint8_t v___x_1975_; +lean_inc(v_declName_1962_); +v___x_1973_ = l_Lean_mkPrivateName(v_env_1961_, v_declName_1962_); +v___x_1974_ = 1; +lean_inc(v___x_1973_); +v___x_1975_ = l_Lean_Environment_contains(v_env_1961_, v___x_1973_, v___x_1974_); +if (v___x_1975_ == 0) +{ +lean_object* v___x_1976_; lean_object* v___x_1977_; +lean_dec(v___x_1973_); +lean_dec_ref(v_addInfo_1964_); +lean_dec(v_declName_1962_); +v___x_1976_ = lean_box(0); +v___x_1977_ = lean_apply_8(v___f_1963_, v___x_1976_, v___y_1966_, v___y_1967_, v___y_1968_, v___y_1969_, v___y_1970_, v___y_1971_, lean_box(0)); +return v___x_1977_; +} +else +{ +lean_object* v___x_1978_; +lean_dec_ref(v___f_1963_); +lean_inc(v___y_1971_); +lean_inc_ref(v___y_1970_); +lean_inc(v___y_1969_); +lean_inc_ref(v___y_1968_); +lean_inc(v___y_1967_); +lean_inc_ref(v___y_1966_); +v___x_1978_ = lean_apply_8(v_addInfo_1964_, v___x_1973_, v___y_1966_, v___y_1967_, v___y_1968_, v___y_1969_, v___y_1970_, v___y_1971_, lean_box(0)); +if (lean_obj_tag(v___x_1978_) == 0) +{ +lean_object* v___x_1979_; lean_object* v___x_1980_; lean_object* v___x_1981_; lean_object* v___x_1982_; lean_object* v___x_1983_; lean_object* v___x_1984_; +lean_dec_ref(v___x_1978_); +v___x_1979_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__6___closed__1); +v___x_1980_ = l_Lean_MessageData_ofConstName(v_declName_1962_, v___x_1974_); +v___x_1981_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1981_, 0, v___x_1979_); +lean_ctor_set(v___x_1981_, 1, v___x_1980_); +v___x_1982_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); +v___x_1983_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1983_, 0, v___x_1981_); +lean_ctor_set(v___x_1983_, 1, v___x_1982_); +v___x_1984_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_1983_, v___y_1966_, v___y_1967_, v___y_1968_, v___y_1969_, v___y_1970_, v___y_1971_); +lean_dec(v___y_1971_); +lean_dec_ref(v___y_1970_); +lean_dec(v___y_1969_); +lean_dec_ref(v___y_1968_); +lean_dec(v___y_1967_); +return v___x_1984_; +} +else +{ +lean_dec(v___y_1971_); +lean_dec_ref(v___y_1970_); +lean_dec(v___y_1969_); +lean_dec_ref(v___y_1968_); +lean_dec(v___y_1967_); +lean_dec_ref(v___y_1966_); +lean_dec(v_declName_1962_); +return v___x_1978_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(lean_object* v_t_1984_, lean_object* v___y_1985_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2___boxed(lean_object* v_env_1985_, lean_object* v_declName_1986_, lean_object* v___f_1987_, lean_object* v_addInfo_1988_, lean_object* v_____r_1989_, lean_object* v___y_1990_, lean_object* v___y_1991_, lean_object* v___y_1992_, lean_object* v___y_1993_, lean_object* v___y_1994_, lean_object* v___y_1995_, lean_object* v___y_1996_){ _start: { -lean_object* v___x_1987_; lean_object* v_infoState_1988_; uint8_t v_enabled_1989_; -v___x_1987_ = lean_st_ref_get(v___y_1985_); -v_infoState_1988_ = lean_ctor_get(v___x_1987_, 7); -lean_inc_ref(v_infoState_1988_); -lean_dec(v___x_1987_); -v_enabled_1989_ = lean_ctor_get_uint8(v_infoState_1988_, sizeof(void*)*3); -lean_dec_ref(v_infoState_1988_); -if (v_enabled_1989_ == 0) +lean_object* v_res_1997_; +v_res_1997_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2(v_env_1985_, v_declName_1986_, v___f_1987_, v_addInfo_1988_, v_____r_1989_, v___y_1990_, v___y_1991_, v___y_1992_, v___y_1993_, v___y_1994_, v___y_1995_); +return v_res_1997_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3(lean_object* v___f_1998_, lean_object* v_declName_1999_, uint8_t v___x_2000_, lean_object* v_env_2001_, lean_object* v_____do__lift_2002_, lean_object* v___y_2003_, lean_object* v___y_2004_, lean_object* v___y_2005_, lean_object* v___y_2006_, lean_object* v___y_2007_, lean_object* v___y_2008_){ +_start: { -lean_object* v___x_1990_; lean_object* v___x_1991_; -lean_dec_ref(v_t_1984_); -v___x_1990_ = lean_box(0); -v___x_1991_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1991_, 0, v___x_1990_); -return v___x_1991_; +uint8_t v___y_2011_; lean_object* v___x_2020_; uint8_t v___x_2021_; +lean_inc(v_declName_1999_); +v___x_2020_ = l_Lean_privateToUserName(v_declName_1999_); +lean_inc_ref(v_env_2001_); +v___x_2021_ = lean_is_reserved_name(v_env_2001_, v___x_2020_); +if (v___x_2021_ == 0) +{ +lean_object* v___x_2022_; uint8_t v___x_2023_; +lean_inc(v_declName_1999_); +v___x_2022_ = l_Lean_mkPrivateName(v_____do__lift_2002_, v_declName_1999_); +v___x_2023_ = lean_is_reserved_name(v_env_2001_, v___x_2022_); +v___y_2011_ = v___x_2023_; +goto v___jp_2010_; } else { -lean_object* v___x_1992_; lean_object* v_infoState_1993_; lean_object* v_env_1994_; lean_object* v_nextMacroScope_1995_; lean_object* v_ngen_1996_; lean_object* v_auxDeclNGen_1997_; lean_object* v_traceState_1998_; lean_object* v_cache_1999_; lean_object* v_messages_2000_; lean_object* v_snapshotTasks_2001_; lean_object* v___x_2003_; uint8_t v_isShared_2004_; uint8_t v_isSharedCheck_2023_; -v___x_1992_ = lean_st_ref_take(v___y_1985_); -v_infoState_1993_ = lean_ctor_get(v___x_1992_, 7); -v_env_1994_ = lean_ctor_get(v___x_1992_, 0); -v_nextMacroScope_1995_ = lean_ctor_get(v___x_1992_, 1); -v_ngen_1996_ = lean_ctor_get(v___x_1992_, 2); -v_auxDeclNGen_1997_ = lean_ctor_get(v___x_1992_, 3); -v_traceState_1998_ = lean_ctor_get(v___x_1992_, 4); -v_cache_1999_ = lean_ctor_get(v___x_1992_, 5); -v_messages_2000_ = lean_ctor_get(v___x_1992_, 6); -v_snapshotTasks_2001_ = lean_ctor_get(v___x_1992_, 8); -v_isSharedCheck_2023_ = !lean_is_exclusive(v___x_1992_); -if (v_isSharedCheck_2023_ == 0) +lean_dec_ref(v_env_2001_); +v___y_2011_ = v___x_2021_; +goto v___jp_2010_; +} +v___jp_2010_: { -v___x_2003_ = v___x_1992_; -v_isShared_2004_ = v_isSharedCheck_2023_; -goto v_resetjp_2002_; +if (v___y_2011_ == 0) +{ +lean_object* v___x_2012_; lean_object* v___x_2013_; +lean_dec(v_declName_1999_); +v___x_2012_ = lean_box(0); +v___x_2013_ = lean_apply_8(v___f_1998_, v___x_2012_, v___y_2003_, v___y_2004_, v___y_2005_, v___y_2006_, v___y_2007_, v___y_2008_, lean_box(0)); +return v___x_2013_; } else { -lean_inc(v_snapshotTasks_2001_); -lean_inc(v_infoState_1993_); -lean_inc(v_messages_2000_); -lean_inc(v_cache_1999_); -lean_inc(v_traceState_1998_); -lean_inc(v_auxDeclNGen_1997_); -lean_inc(v_ngen_1996_); -lean_inc(v_nextMacroScope_1995_); -lean_inc(v_env_1994_); -lean_dec(v___x_1992_); -v___x_2003_ = lean_box(0); -v_isShared_2004_ = v_isSharedCheck_2023_; -goto v_resetjp_2002_; -} -v_resetjp_2002_: -{ -uint8_t v_enabled_2005_; lean_object* v_assignment_2006_; lean_object* v_lazyAssignment_2007_; lean_object* v_trees_2008_; lean_object* v___x_2010_; uint8_t v_isShared_2011_; uint8_t v_isSharedCheck_2022_; -v_enabled_2005_ = lean_ctor_get_uint8(v_infoState_1993_, sizeof(void*)*3); -v_assignment_2006_ = lean_ctor_get(v_infoState_1993_, 0); -v_lazyAssignment_2007_ = lean_ctor_get(v_infoState_1993_, 1); -v_trees_2008_ = lean_ctor_get(v_infoState_1993_, 2); -v_isSharedCheck_2022_ = !lean_is_exclusive(v_infoState_1993_); -if (v_isSharedCheck_2022_ == 0) -{ -v___x_2010_ = v_infoState_1993_; -v_isShared_2011_ = v_isSharedCheck_2022_; -goto v_resetjp_2009_; -} -else -{ -lean_inc(v_trees_2008_); -lean_inc(v_lazyAssignment_2007_); -lean_inc(v_assignment_2006_); -lean_dec(v_infoState_1993_); -v___x_2010_ = lean_box(0); -v_isShared_2011_ = v_isSharedCheck_2022_; -goto v_resetjp_2009_; -} -v_resetjp_2009_: -{ -lean_object* v___x_2012_; lean_object* v___x_2014_; -v___x_2012_ = l_Lean_PersistentArray_push___redArg(v_trees_2008_, v_t_1984_); -if (v_isShared_2011_ == 0) -{ -lean_ctor_set(v___x_2010_, 2, v___x_2012_); -v___x_2014_ = v___x_2010_; -goto v_reusejp_2013_; -} -else -{ -lean_object* v_reuseFailAlloc_2021_; -v_reuseFailAlloc_2021_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_2021_, 0, v_assignment_2006_); -lean_ctor_set(v_reuseFailAlloc_2021_, 1, v_lazyAssignment_2007_); -lean_ctor_set(v_reuseFailAlloc_2021_, 2, v___x_2012_); -lean_ctor_set_uint8(v_reuseFailAlloc_2021_, sizeof(void*)*3, v_enabled_2005_); -v___x_2014_ = v_reuseFailAlloc_2021_; -goto v_reusejp_2013_; -} -v_reusejp_2013_: -{ -lean_object* v___x_2016_; -if (v_isShared_2004_ == 0) -{ -lean_ctor_set(v___x_2003_, 7, v___x_2014_); -v___x_2016_ = v___x_2003_; -goto v_reusejp_2015_; -} -else -{ -lean_object* v_reuseFailAlloc_2020_; -v_reuseFailAlloc_2020_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2020_, 0, v_env_1994_); -lean_ctor_set(v_reuseFailAlloc_2020_, 1, v_nextMacroScope_1995_); -lean_ctor_set(v_reuseFailAlloc_2020_, 2, v_ngen_1996_); -lean_ctor_set(v_reuseFailAlloc_2020_, 3, v_auxDeclNGen_1997_); -lean_ctor_set(v_reuseFailAlloc_2020_, 4, v_traceState_1998_); -lean_ctor_set(v_reuseFailAlloc_2020_, 5, v_cache_1999_); -lean_ctor_set(v_reuseFailAlloc_2020_, 6, v_messages_2000_); -lean_ctor_set(v_reuseFailAlloc_2020_, 7, v___x_2014_); -lean_ctor_set(v_reuseFailAlloc_2020_, 8, v_snapshotTasks_2001_); -v___x_2016_ = v_reuseFailAlloc_2020_; -goto v_reusejp_2015_; -} -v_reusejp_2015_: -{ -lean_object* v___x_2017_; lean_object* v___x_2018_; lean_object* v___x_2019_; -v___x_2017_ = lean_st_ref_set(v___y_1985_, v___x_2016_); -v___x_2018_ = lean_box(0); -v___x_2019_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2019_, 0, v___x_2018_); +lean_object* v___x_2014_; lean_object* v___x_2015_; lean_object* v___x_2016_; lean_object* v___x_2017_; lean_object* v___x_2018_; lean_object* v___x_2019_; +lean_dec_ref(v___f_1998_); +v___x_2014_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_2015_ = l_Lean_MessageData_ofConstName(v_declName_1999_, v___x_2000_); +v___x_2016_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2016_, 0, v___x_2014_); +lean_ctor_set(v___x_2016_, 1, v___x_2015_); +v___x_2017_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__3); +v___x_2018_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2018_, 0, v___x_2016_); +lean_ctor_set(v___x_2018_, 1, v___x_2017_); +v___x_2019_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2018_, v___y_2003_, v___y_2004_, v___y_2005_, v___y_2006_, v___y_2007_, v___y_2008_); +lean_dec(v___y_2008_); +lean_dec_ref(v___y_2007_); +lean_dec(v___y_2006_); +lean_dec_ref(v___y_2005_); +lean_dec(v___y_2004_); return v___x_2019_; } } } } -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg___boxed(lean_object* v_t_2024_, lean_object* v___y_2025_, lean_object* v___y_2026_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3___boxed(lean_object* v___f_2024_, lean_object* v_declName_2025_, lean_object* v___x_2026_, lean_object* v_env_2027_, lean_object* v_____do__lift_2028_, lean_object* v___y_2029_, lean_object* v___y_2030_, lean_object* v___y_2031_, lean_object* v___y_2032_, lean_object* v___y_2033_, lean_object* v___y_2034_, lean_object* v___y_2035_){ _start: { -lean_object* v_res_2027_; -v_res_2027_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v_t_2024_, v___y_2025_); -lean_dec(v___y_2025_); -return v_res_2027_; +uint8_t v___x_18034__boxed_2036_; lean_object* v_res_2037_; +v___x_18034__boxed_2036_ = lean_unbox(v___x_2026_); +v_res_2037_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3(v___f_2024_, v_declName_2025_, v___x_18034__boxed_2036_, v_env_2027_, v_____do__lift_2028_, v___y_2029_, v___y_2030_, v___y_2031_, v___y_2032_, v___y_2033_, v___y_2034_); +lean_dec_ref(v_____do__lift_2028_); +return v_res_2037_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(lean_object* v_t_2038_, lean_object* v___y_2039_){ +_start: +{ +lean_object* v___x_2041_; lean_object* v_infoState_2042_; uint8_t v_enabled_2043_; +v___x_2041_ = lean_st_ref_get(v___y_2039_); +v_infoState_2042_ = lean_ctor_get(v___x_2041_, 7); +lean_inc_ref(v_infoState_2042_); +lean_dec(v___x_2041_); +v_enabled_2043_ = lean_ctor_get_uint8(v_infoState_2042_, sizeof(void*)*3); +lean_dec_ref(v_infoState_2042_); +if (v_enabled_2043_ == 0) +{ +lean_object* v___x_2044_; lean_object* v___x_2045_; +lean_dec_ref(v_t_2038_); +v___x_2044_ = lean_box(0); +v___x_2045_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2045_, 0, v___x_2044_); +return v___x_2045_; +} +else +{ +lean_object* v___x_2046_; lean_object* v_infoState_2047_; lean_object* v_env_2048_; lean_object* v_nextMacroScope_2049_; lean_object* v_ngen_2050_; lean_object* v_auxDeclNGen_2051_; lean_object* v_traceState_2052_; lean_object* v_cache_2053_; lean_object* v_messages_2054_; lean_object* v_snapshotTasks_2055_; lean_object* v___x_2057_; uint8_t v_isShared_2058_; uint8_t v_isSharedCheck_2077_; +v___x_2046_ = lean_st_ref_take(v___y_2039_); +v_infoState_2047_ = lean_ctor_get(v___x_2046_, 7); +v_env_2048_ = lean_ctor_get(v___x_2046_, 0); +v_nextMacroScope_2049_ = lean_ctor_get(v___x_2046_, 1); +v_ngen_2050_ = lean_ctor_get(v___x_2046_, 2); +v_auxDeclNGen_2051_ = lean_ctor_get(v___x_2046_, 3); +v_traceState_2052_ = lean_ctor_get(v___x_2046_, 4); +v_cache_2053_ = lean_ctor_get(v___x_2046_, 5); +v_messages_2054_ = lean_ctor_get(v___x_2046_, 6); +v_snapshotTasks_2055_ = lean_ctor_get(v___x_2046_, 8); +v_isSharedCheck_2077_ = !lean_is_exclusive(v___x_2046_); +if (v_isSharedCheck_2077_ == 0) +{ +v___x_2057_ = v___x_2046_; +v_isShared_2058_ = v_isSharedCheck_2077_; +goto v_resetjp_2056_; +} +else +{ +lean_inc(v_snapshotTasks_2055_); +lean_inc(v_infoState_2047_); +lean_inc(v_messages_2054_); +lean_inc(v_cache_2053_); +lean_inc(v_traceState_2052_); +lean_inc(v_auxDeclNGen_2051_); +lean_inc(v_ngen_2050_); +lean_inc(v_nextMacroScope_2049_); +lean_inc(v_env_2048_); +lean_dec(v___x_2046_); +v___x_2057_ = lean_box(0); +v_isShared_2058_ = v_isSharedCheck_2077_; +goto v_resetjp_2056_; +} +v_resetjp_2056_: +{ +uint8_t v_enabled_2059_; lean_object* v_assignment_2060_; lean_object* v_lazyAssignment_2061_; lean_object* v_trees_2062_; lean_object* v___x_2064_; uint8_t v_isShared_2065_; uint8_t v_isSharedCheck_2076_; +v_enabled_2059_ = lean_ctor_get_uint8(v_infoState_2047_, sizeof(void*)*3); +v_assignment_2060_ = lean_ctor_get(v_infoState_2047_, 0); +v_lazyAssignment_2061_ = lean_ctor_get(v_infoState_2047_, 1); +v_trees_2062_ = lean_ctor_get(v_infoState_2047_, 2); +v_isSharedCheck_2076_ = !lean_is_exclusive(v_infoState_2047_); +if (v_isSharedCheck_2076_ == 0) +{ +v___x_2064_ = v_infoState_2047_; +v_isShared_2065_ = v_isSharedCheck_2076_; +goto v_resetjp_2063_; +} +else +{ +lean_inc(v_trees_2062_); +lean_inc(v_lazyAssignment_2061_); +lean_inc(v_assignment_2060_); +lean_dec(v_infoState_2047_); +v___x_2064_ = lean_box(0); +v_isShared_2065_ = v_isSharedCheck_2076_; +goto v_resetjp_2063_; +} +v_resetjp_2063_: +{ +lean_object* v___x_2066_; lean_object* v___x_2068_; +v___x_2066_ = l_Lean_PersistentArray_push___redArg(v_trees_2062_, v_t_2038_); +if (v_isShared_2065_ == 0) +{ +lean_ctor_set(v___x_2064_, 2, v___x_2066_); +v___x_2068_ = v___x_2064_; +goto v_reusejp_2067_; +} +else +{ +lean_object* v_reuseFailAlloc_2075_; +v_reuseFailAlloc_2075_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_2075_, 0, v_assignment_2060_); +lean_ctor_set(v_reuseFailAlloc_2075_, 1, v_lazyAssignment_2061_); +lean_ctor_set(v_reuseFailAlloc_2075_, 2, v___x_2066_); +lean_ctor_set_uint8(v_reuseFailAlloc_2075_, sizeof(void*)*3, v_enabled_2059_); +v___x_2068_ = v_reuseFailAlloc_2075_; +goto v_reusejp_2067_; +} +v_reusejp_2067_: +{ +lean_object* v___x_2070_; +if (v_isShared_2058_ == 0) +{ +lean_ctor_set(v___x_2057_, 7, v___x_2068_); +v___x_2070_ = v___x_2057_; +goto v_reusejp_2069_; +} +else +{ +lean_object* v_reuseFailAlloc_2074_; +v_reuseFailAlloc_2074_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2074_, 0, v_env_2048_); +lean_ctor_set(v_reuseFailAlloc_2074_, 1, v_nextMacroScope_2049_); +lean_ctor_set(v_reuseFailAlloc_2074_, 2, v_ngen_2050_); +lean_ctor_set(v_reuseFailAlloc_2074_, 3, v_auxDeclNGen_2051_); +lean_ctor_set(v_reuseFailAlloc_2074_, 4, v_traceState_2052_); +lean_ctor_set(v_reuseFailAlloc_2074_, 5, v_cache_2053_); +lean_ctor_set(v_reuseFailAlloc_2074_, 6, v_messages_2054_); +lean_ctor_set(v_reuseFailAlloc_2074_, 7, v___x_2068_); +lean_ctor_set(v_reuseFailAlloc_2074_, 8, v_snapshotTasks_2055_); +v___x_2070_ = v_reuseFailAlloc_2074_; +goto v_reusejp_2069_; +} +v_reusejp_2069_: +{ +lean_object* v___x_2071_; lean_object* v___x_2072_; lean_object* v___x_2073_; +v___x_2071_ = lean_st_ref_set(v___y_2039_, v___x_2070_); +v___x_2072_ = lean_box(0); +v___x_2073_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2073_, 0, v___x_2072_); +return v___x_2073_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg___boxed(lean_object* v_t_2078_, lean_object* v___y_2079_, lean_object* v___y_2080_){ +_start: +{ +lean_object* v_res_2081_; +v_res_2081_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v_t_2078_, v___y_2079_); +lean_dec(v___y_2079_); +return v_res_2081_; } } static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0(void){ _start: { -lean_object* v___x_2028_; lean_object* v___x_2029_; lean_object* v___x_2030_; -v___x_2028_ = lean_unsigned_to_nat(32u); -v___x_2029_ = lean_mk_empty_array_with_capacity(v___x_2028_); -v___x_2030_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2030_, 0, v___x_2029_); -return v___x_2030_; +lean_object* v___x_2082_; lean_object* v___x_2083_; lean_object* v___x_2084_; +v___x_2082_ = lean_unsigned_to_nat(32u); +v___x_2083_ = lean_mk_empty_array_with_capacity(v___x_2082_); +v___x_2084_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2084_, 0, v___x_2083_); +return v___x_2084_; } } static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1(void){ _start: { -size_t v___x_2031_; lean_object* v___x_2032_; lean_object* v___x_2033_; lean_object* v___x_2034_; lean_object* v___x_2035_; lean_object* v___x_2036_; -v___x_2031_ = ((size_t)5ULL); -v___x_2032_ = lean_unsigned_to_nat(0u); -v___x_2033_ = lean_unsigned_to_nat(32u); -v___x_2034_ = lean_mk_empty_array_with_capacity(v___x_2033_); -v___x_2035_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0); -v___x_2036_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v___x_2036_, 0, v___x_2035_); -lean_ctor_set(v___x_2036_, 1, v___x_2034_); -lean_ctor_set(v___x_2036_, 2, v___x_2032_); -lean_ctor_set(v___x_2036_, 3, v___x_2032_); -lean_ctor_set_usize(v___x_2036_, 4, v___x_2031_); -return v___x_2036_; +size_t v___x_2085_; lean_object* v___x_2086_; lean_object* v___x_2087_; lean_object* v___x_2088_; lean_object* v___x_2089_; lean_object* v___x_2090_; +v___x_2085_ = ((size_t)5ULL); +v___x_2086_ = lean_unsigned_to_nat(0u); +v___x_2087_ = lean_unsigned_to_nat(32u); +v___x_2088_ = lean_mk_empty_array_with_capacity(v___x_2087_); +v___x_2089_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__0); +v___x_2090_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v___x_2090_, 0, v___x_2089_); +lean_ctor_set(v___x_2090_, 1, v___x_2088_); +lean_ctor_set(v___x_2090_, 2, v___x_2086_); +lean_ctor_set(v___x_2090_, 3, v___x_2086_); +lean_ctor_set_usize(v___x_2090_, 4, v___x_2085_); +return v___x_2090_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(lean_object* v_t_2037_, lean_object* v___y_2038_, lean_object* v___y_2039_, lean_object* v___y_2040_, lean_object* v___y_2041_, lean_object* v___y_2042_, lean_object* v___y_2043_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(lean_object* v_t_2091_, lean_object* v___y_2092_, lean_object* v___y_2093_, lean_object* v___y_2094_, lean_object* v___y_2095_, lean_object* v___y_2096_, lean_object* v___y_2097_){ _start: { -lean_object* v___x_2045_; lean_object* v_infoState_2046_; uint8_t v_enabled_2047_; -v___x_2045_ = lean_st_ref_get(v___y_2043_); -v_infoState_2046_ = lean_ctor_get(v___x_2045_, 7); -lean_inc_ref(v_infoState_2046_); -lean_dec(v___x_2045_); -v_enabled_2047_ = lean_ctor_get_uint8(v_infoState_2046_, sizeof(void*)*3); -lean_dec_ref(v_infoState_2046_); -if (v_enabled_2047_ == 0) +lean_object* v___x_2099_; lean_object* v_infoState_2100_; uint8_t v_enabled_2101_; +v___x_2099_ = lean_st_ref_get(v___y_2097_); +v_infoState_2100_ = lean_ctor_get(v___x_2099_, 7); +lean_inc_ref(v_infoState_2100_); +lean_dec(v___x_2099_); +v_enabled_2101_ = lean_ctor_get_uint8(v_infoState_2100_, sizeof(void*)*3); +lean_dec_ref(v_infoState_2100_); +if (v_enabled_2101_ == 0) { -lean_object* v___x_2048_; lean_object* v___x_2049_; -lean_dec_ref(v_t_2037_); -v___x_2048_ = lean_box(0); -v___x_2049_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2049_, 0, v___x_2048_); -return v___x_2049_; +lean_object* v___x_2102_; lean_object* v___x_2103_; +lean_dec_ref(v_t_2091_); +v___x_2102_ = lean_box(0); +v___x_2103_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2103_, 0, v___x_2102_); +return v___x_2103_; } else { -lean_object* v___x_2050_; lean_object* v___x_2051_; lean_object* v___x_2052_; -v___x_2050_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1); -v___x_2051_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_2051_, 0, v_t_2037_); -lean_ctor_set(v___x_2051_, 1, v___x_2050_); -v___x_2052_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v___x_2051_, v___y_2043_); -return v___x_2052_; +lean_object* v___x_2104_; lean_object* v___x_2105_; lean_object* v___x_2106_; +v___x_2104_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___closed__1); +v___x_2105_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_2105_, 0, v_t_2091_); +lean_ctor_set(v___x_2105_, 1, v___x_2104_); +v___x_2106_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v___x_2105_, v___y_2097_); +return v___x_2106_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___boxed(lean_object* v_t_2053_, lean_object* v___y_2054_, lean_object* v___y_2055_, lean_object* v___y_2056_, lean_object* v___y_2057_, lean_object* v___y_2058_, lean_object* v___y_2059_, lean_object* v___y_2060_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14___boxed(lean_object* v_t_2107_, lean_object* v___y_2108_, lean_object* v___y_2109_, lean_object* v___y_2110_, lean_object* v___y_2111_, lean_object* v___y_2112_, lean_object* v___y_2113_, lean_object* v___y_2114_){ _start: { -lean_object* v_res_2061_; -v_res_2061_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(v_t_2053_, v___y_2054_, v___y_2055_, v___y_2056_, v___y_2057_, v___y_2058_, v___y_2059_); -lean_dec(v___y_2059_); -lean_dec_ref(v___y_2058_); -lean_dec(v___y_2057_); -lean_dec_ref(v___y_2056_); -lean_dec(v___y_2055_); -lean_dec_ref(v___y_2054_); -return v_res_2061_; +lean_object* v_res_2115_; +v_res_2115_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(v_t_2107_, v___y_2108_, v___y_2109_, v___y_2110_, v___y_2111_, v___y_2112_, v___y_2113_); +lean_dec(v___y_2113_); +lean_dec_ref(v___y_2112_); +lean_dec(v___y_2111_); +lean_dec_ref(v___y_2110_); +lean_dec(v___y_2109_); +lean_dec_ref(v___y_2108_); +return v_res_2115_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__15(lean_object* v_a_2062_, lean_object* v_a_2063_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__15(lean_object* v_a_2116_, lean_object* v_a_2117_){ _start: { -if (lean_obj_tag(v_a_2062_) == 0) +if (lean_obj_tag(v_a_2116_) == 0) { -lean_object* v___x_2064_; -v___x_2064_ = l_List_reverse___redArg(v_a_2063_); -return v___x_2064_; +lean_object* v___x_2118_; +v___x_2118_ = l_List_reverse___redArg(v_a_2117_); +return v___x_2118_; } else { -lean_object* v_head_2065_; lean_object* v_tail_2066_; lean_object* v___x_2068_; uint8_t v_isShared_2069_; uint8_t v_isSharedCheck_2075_; -v_head_2065_ = lean_ctor_get(v_a_2062_, 0); -v_tail_2066_ = lean_ctor_get(v_a_2062_, 1); -v_isSharedCheck_2075_ = !lean_is_exclusive(v_a_2062_); -if (v_isSharedCheck_2075_ == 0) +lean_object* v_head_2119_; lean_object* v_tail_2120_; lean_object* v___x_2122_; uint8_t v_isShared_2123_; uint8_t v_isSharedCheck_2129_; +v_head_2119_ = lean_ctor_get(v_a_2116_, 0); +v_tail_2120_ = lean_ctor_get(v_a_2116_, 1); +v_isSharedCheck_2129_ = !lean_is_exclusive(v_a_2116_); +if (v_isSharedCheck_2129_ == 0) { -v___x_2068_ = v_a_2062_; -v_isShared_2069_ = v_isSharedCheck_2075_; -goto v_resetjp_2067_; +v___x_2122_ = v_a_2116_; +v_isShared_2123_ = v_isSharedCheck_2129_; +goto v_resetjp_2121_; } else { -lean_inc(v_tail_2066_); -lean_inc(v_head_2065_); -lean_dec(v_a_2062_); -v___x_2068_ = lean_box(0); -v_isShared_2069_ = v_isSharedCheck_2075_; -goto v_resetjp_2067_; +lean_inc(v_tail_2120_); +lean_inc(v_head_2119_); +lean_dec(v_a_2116_); +v___x_2122_ = lean_box(0); +v_isShared_2123_ = v_isSharedCheck_2129_; +goto v_resetjp_2121_; } -v_resetjp_2067_: +v_resetjp_2121_: { -lean_object* v___x_2070_; lean_object* v___x_2072_; -v___x_2070_ = l_Lean_mkLevelParam(v_head_2065_); -if (v_isShared_2069_ == 0) +lean_object* v___x_2124_; lean_object* v___x_2126_; +v___x_2124_ = l_Lean_mkLevelParam(v_head_2119_); +if (v_isShared_2123_ == 0) { -lean_ctor_set(v___x_2068_, 1, v_a_2063_); -lean_ctor_set(v___x_2068_, 0, v___x_2070_); -v___x_2072_ = v___x_2068_; -goto v_reusejp_2071_; +lean_ctor_set(v___x_2122_, 1, v_a_2117_); +lean_ctor_set(v___x_2122_, 0, v___x_2124_); +v___x_2126_ = v___x_2122_; +goto v_reusejp_2125_; } else { -lean_object* v_reuseFailAlloc_2074_; -v_reuseFailAlloc_2074_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_2074_, 0, v___x_2070_); -lean_ctor_set(v_reuseFailAlloc_2074_, 1, v_a_2063_); -v___x_2072_ = v_reuseFailAlloc_2074_; -goto v_reusejp_2071_; +lean_object* v_reuseFailAlloc_2128_; +v_reuseFailAlloc_2128_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_2128_, 0, v___x_2124_); +lean_ctor_set(v_reuseFailAlloc_2128_, 1, v_a_2117_); +v___x_2126_ = v_reuseFailAlloc_2128_; +goto v_reusejp_2125_; } -v_reusejp_2071_: +v_reusejp_2125_: { -v_a_2062_ = v_tail_2066_; -v_a_2063_ = v___x_2072_; +v_a_2116_ = v_tail_2120_; +v_a_2117_ = v___x_2126_; goto _start; } } @@ -5566,3633 +5727,3633 @@ goto _start; static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0(void){ _start: { -lean_object* v___x_2076_; -v___x_2076_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_2076_; +lean_object* v___x_2130_; +v___x_2130_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_2130_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1(void){ _start: { -lean_object* v___x_2077_; lean_object* v___x_2078_; -v___x_2077_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0); -v___x_2078_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2078_, 0, v___x_2077_); -return v___x_2078_; +lean_object* v___x_2131_; lean_object* v___x_2132_; +v___x_2131_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__0); +v___x_2132_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2132_, 0, v___x_2131_); +return v___x_2132_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2(void){ _start: { -lean_object* v___x_2079_; lean_object* v___x_2080_; lean_object* v___x_2081_; -v___x_2079_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1); -v___x_2080_ = lean_unsigned_to_nat(0u); -v___x_2081_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_2081_, 0, v___x_2080_); -lean_ctor_set(v___x_2081_, 1, v___x_2080_); -lean_ctor_set(v___x_2081_, 2, v___x_2080_); -lean_ctor_set(v___x_2081_, 3, v___x_2079_); -lean_ctor_set(v___x_2081_, 4, v___x_2079_); -lean_ctor_set(v___x_2081_, 5, v___x_2079_); -lean_ctor_set(v___x_2081_, 6, v___x_2079_); -lean_ctor_set(v___x_2081_, 7, v___x_2079_); -lean_ctor_set(v___x_2081_, 8, v___x_2079_); -return v___x_2081_; +lean_object* v___x_2133_; lean_object* v___x_2134_; lean_object* v___x_2135_; +v___x_2133_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1); +v___x_2134_ = lean_unsigned_to_nat(0u); +v___x_2135_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_2135_, 0, v___x_2134_); +lean_ctor_set(v___x_2135_, 1, v___x_2134_); +lean_ctor_set(v___x_2135_, 2, v___x_2134_); +lean_ctor_set(v___x_2135_, 3, v___x_2133_); +lean_ctor_set(v___x_2135_, 4, v___x_2133_); +lean_ctor_set(v___x_2135_, 5, v___x_2133_); +lean_ctor_set(v___x_2135_, 6, v___x_2133_); +lean_ctor_set(v___x_2135_, 7, v___x_2133_); +lean_ctor_set(v___x_2135_, 8, v___x_2133_); +return v___x_2135_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3(void){ _start: { -lean_object* v___x_2082_; lean_object* v___x_2083_; lean_object* v___x_2084_; lean_object* v___x_2085_; -v___x_2082_ = lean_box(1); -v___x_2083_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3); -v___x_2084_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1); -v___x_2085_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_2085_, 0, v___x_2084_); -lean_ctor_set(v___x_2085_, 1, v___x_2083_); -lean_ctor_set(v___x_2085_, 2, v___x_2082_); -return v___x_2085_; +lean_object* v___x_2136_; lean_object* v___x_2137_; lean_object* v___x_2138_; lean_object* v___x_2139_; +v___x_2136_ = lean_box(1); +v___x_2137_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__3); +v___x_2138_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__1); +v___x_2139_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_2139_, 0, v___x_2138_); +lean_ctor_set(v___x_2139_, 1, v___x_2137_); +lean_ctor_set(v___x_2139_, 2, v___x_2136_); +return v___x_2139_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5(void){ _start: { -lean_object* v___x_2087_; lean_object* v___x_2088_; -v___x_2087_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__4)); -v___x_2088_ = l_Lean_stringToMessageData(v___x_2087_); -return v___x_2088_; +lean_object* v___x_2141_; lean_object* v___x_2142_; +v___x_2141_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__4)); +v___x_2142_ = l_Lean_stringToMessageData(v___x_2141_); +return v___x_2142_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7(void){ _start: { -lean_object* v___x_2090_; lean_object* v___x_2091_; -v___x_2090_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__6)); -v___x_2091_ = l_Lean_stringToMessageData(v___x_2090_); -return v___x_2091_; +lean_object* v___x_2144_; lean_object* v___x_2145_; +v___x_2144_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__6)); +v___x_2145_ = l_Lean_stringToMessageData(v___x_2144_); +return v___x_2145_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9(void){ _start: { -lean_object* v___x_2093_; lean_object* v___x_2094_; -v___x_2093_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__8)); -v___x_2094_ = l_Lean_stringToMessageData(v___x_2093_); -return v___x_2094_; +lean_object* v___x_2147_; lean_object* v___x_2148_; +v___x_2147_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__8)); +v___x_2148_ = l_Lean_stringToMessageData(v___x_2147_); +return v___x_2148_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11(void){ _start: { -lean_object* v___x_2096_; lean_object* v___x_2097_; -v___x_2096_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__10)); -v___x_2097_ = l_Lean_stringToMessageData(v___x_2096_); -return v___x_2097_; +lean_object* v___x_2150_; lean_object* v___x_2151_; +v___x_2150_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__10)); +v___x_2151_ = l_Lean_stringToMessageData(v___x_2150_); +return v___x_2151_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13(void){ _start: { -lean_object* v___x_2099_; lean_object* v___x_2100_; -v___x_2099_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__12)); -v___x_2100_ = l_Lean_stringToMessageData(v___x_2099_); -return v___x_2100_; +lean_object* v___x_2153_; lean_object* v___x_2154_; +v___x_2153_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__12)); +v___x_2154_ = l_Lean_stringToMessageData(v___x_2153_); +return v___x_2154_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15(void){ _start: { -lean_object* v___x_2102_; lean_object* v___x_2103_; -v___x_2102_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__14)); -v___x_2103_ = l_Lean_stringToMessageData(v___x_2102_); -return v___x_2103_; +lean_object* v___x_2156_; lean_object* v___x_2157_; +v___x_2156_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__14)); +v___x_2157_ = l_Lean_stringToMessageData(v___x_2156_); +return v___x_2157_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17(void){ _start: { -lean_object* v___x_2105_; lean_object* v___x_2106_; -v___x_2105_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__16)); -v___x_2106_ = l_Lean_stringToMessageData(v___x_2105_); -return v___x_2106_; +lean_object* v___x_2159_; lean_object* v___x_2160_; +v___x_2159_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__16)); +v___x_2160_ = l_Lean_stringToMessageData(v___x_2159_); +return v___x_2160_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(lean_object* v_msg_2107_, lean_object* v_declHint_2108_, lean_object* v___y_2109_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(lean_object* v_msg_2161_, lean_object* v_declHint_2162_, lean_object* v___y_2163_){ _start: { -lean_object* v___x_2111_; lean_object* v_env_2112_; uint8_t v___x_2113_; -v___x_2111_ = lean_st_ref_get(v___y_2109_); -v_env_2112_ = lean_ctor_get(v___x_2111_, 0); -lean_inc_ref(v_env_2112_); -lean_dec(v___x_2111_); -v___x_2113_ = l_Lean_Name_isAnonymous(v_declHint_2108_); -if (v___x_2113_ == 0) +lean_object* v___x_2165_; lean_object* v_env_2166_; uint8_t v___x_2167_; +v___x_2165_ = lean_st_ref_get(v___y_2163_); +v_env_2166_ = lean_ctor_get(v___x_2165_, 0); +lean_inc_ref(v_env_2166_); +lean_dec(v___x_2165_); +v___x_2167_ = l_Lean_Name_isAnonymous(v_declHint_2162_); +if (v___x_2167_ == 0) { -uint8_t v_isExporting_2114_; -v_isExporting_2114_ = lean_ctor_get_uint8(v_env_2112_, sizeof(void*)*8); -if (v_isExporting_2114_ == 0) -{ -lean_object* v___x_2115_; -lean_dec_ref(v_env_2112_); -lean_dec(v_declHint_2108_); -v___x_2115_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2115_, 0, v_msg_2107_); -return v___x_2115_; -} -else -{ -lean_object* v___x_2116_; uint8_t v___x_2117_; -lean_inc_ref(v_env_2112_); -v___x_2116_ = l_Lean_Environment_setExporting(v_env_2112_, v___x_2113_); -lean_inc(v_declHint_2108_); -lean_inc_ref(v___x_2116_); -v___x_2117_ = l_Lean_Environment_contains(v___x_2116_, v_declHint_2108_, v_isExporting_2114_); -if (v___x_2117_ == 0) -{ -lean_object* v___x_2118_; -lean_dec_ref(v___x_2116_); -lean_dec_ref(v_env_2112_); -lean_dec(v_declHint_2108_); -v___x_2118_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2118_, 0, v_msg_2107_); -return v___x_2118_; -} -else -{ -lean_object* v___x_2119_; lean_object* v___x_2120_; lean_object* v___x_2121_; lean_object* v___x_2122_; lean_object* v___x_2123_; lean_object* v_c_2124_; lean_object* v___x_2125_; -v___x_2119_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2); -v___x_2120_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3); -v___x_2121_ = l_Lean_Options_empty; -v___x_2122_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_2122_, 0, v___x_2116_); -lean_ctor_set(v___x_2122_, 1, v___x_2119_); -lean_ctor_set(v___x_2122_, 2, v___x_2120_); -lean_ctor_set(v___x_2122_, 3, v___x_2121_); -lean_inc(v_declHint_2108_); -v___x_2123_ = l_Lean_MessageData_ofConstName(v_declHint_2108_, v___x_2113_); -v_c_2124_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_c_2124_, 0, v___x_2122_); -lean_ctor_set(v_c_2124_, 1, v___x_2123_); -v___x_2125_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_2112_, v_declHint_2108_); -if (lean_obj_tag(v___x_2125_) == 0) -{ -lean_object* v___x_2126_; lean_object* v___x_2127_; lean_object* v___x_2128_; lean_object* v___x_2129_; lean_object* v___x_2130_; lean_object* v___x_2131_; lean_object* v___x_2132_; -lean_dec_ref(v_env_2112_); -lean_dec(v_declHint_2108_); -v___x_2126_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5); -v___x_2127_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2127_, 0, v___x_2126_); -lean_ctor_set(v___x_2127_, 1, v_c_2124_); -v___x_2128_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7); -v___x_2129_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2129_, 0, v___x_2127_); -lean_ctor_set(v___x_2129_, 1, v___x_2128_); -v___x_2130_ = l_Lean_MessageData_note(v___x_2129_); -v___x_2131_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2131_, 0, v_msg_2107_); -lean_ctor_set(v___x_2131_, 1, v___x_2130_); -v___x_2132_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2132_, 0, v___x_2131_); -return v___x_2132_; -} -else -{ -lean_object* v_val_2133_; lean_object* v___x_2135_; uint8_t v_isShared_2136_; uint8_t v_isSharedCheck_2168_; -v_val_2133_ = lean_ctor_get(v___x_2125_, 0); -v_isSharedCheck_2168_ = !lean_is_exclusive(v___x_2125_); -if (v_isSharedCheck_2168_ == 0) -{ -v___x_2135_ = v___x_2125_; -v_isShared_2136_ = v_isSharedCheck_2168_; -goto v_resetjp_2134_; -} -else -{ -lean_inc(v_val_2133_); -lean_dec(v___x_2125_); -v___x_2135_ = lean_box(0); -v_isShared_2136_ = v_isSharedCheck_2168_; -goto v_resetjp_2134_; -} -v_resetjp_2134_: -{ -lean_object* v___x_2137_; lean_object* v___x_2138_; lean_object* v___x_2139_; lean_object* v_mod_2140_; uint8_t v___x_2141_; -v___x_2137_ = lean_box(0); -v___x_2138_ = l_Lean_Environment_header(v_env_2112_); -lean_dec_ref(v_env_2112_); -v___x_2139_ = l_Lean_EnvironmentHeader_moduleNames(v___x_2138_); -v_mod_2140_ = lean_array_get(v___x_2137_, v___x_2139_, v_val_2133_); -lean_dec(v_val_2133_); -lean_dec_ref(v___x_2139_); -v___x_2141_ = l_Lean_isPrivateName(v_declHint_2108_); -lean_dec(v_declHint_2108_); -if (v___x_2141_ == 0) -{ -lean_object* v___x_2142_; lean_object* v___x_2143_; lean_object* v___x_2144_; lean_object* v___x_2145_; lean_object* v___x_2146_; lean_object* v___x_2147_; lean_object* v___x_2148_; lean_object* v___x_2149_; lean_object* v___x_2150_; lean_object* v___x_2151_; lean_object* v___x_2153_; -v___x_2142_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9); -v___x_2143_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2143_, 0, v___x_2142_); -lean_ctor_set(v___x_2143_, 1, v_c_2124_); -v___x_2144_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11); -v___x_2145_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2145_, 0, v___x_2143_); -lean_ctor_set(v___x_2145_, 1, v___x_2144_); -v___x_2146_ = l_Lean_MessageData_ofName(v_mod_2140_); -v___x_2147_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2147_, 0, v___x_2145_); -lean_ctor_set(v___x_2147_, 1, v___x_2146_); -v___x_2148_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13); -v___x_2149_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2149_, 0, v___x_2147_); -lean_ctor_set(v___x_2149_, 1, v___x_2148_); -v___x_2150_ = l_Lean_MessageData_note(v___x_2149_); -v___x_2151_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2151_, 0, v_msg_2107_); -lean_ctor_set(v___x_2151_, 1, v___x_2150_); -if (v_isShared_2136_ == 0) -{ -lean_ctor_set_tag(v___x_2135_, 0); -lean_ctor_set(v___x_2135_, 0, v___x_2151_); -v___x_2153_ = v___x_2135_; -goto v_reusejp_2152_; -} -else -{ -lean_object* v_reuseFailAlloc_2154_; -v_reuseFailAlloc_2154_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2154_, 0, v___x_2151_); -v___x_2153_ = v_reuseFailAlloc_2154_; -goto v_reusejp_2152_; -} -v_reusejp_2152_: -{ -return v___x_2153_; -} -} -else -{ -lean_object* v___x_2155_; lean_object* v___x_2156_; lean_object* v___x_2157_; lean_object* v___x_2158_; lean_object* v___x_2159_; lean_object* v___x_2160_; lean_object* v___x_2161_; lean_object* v___x_2162_; lean_object* v___x_2163_; lean_object* v___x_2164_; lean_object* v___x_2166_; -v___x_2155_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5); -v___x_2156_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2156_, 0, v___x_2155_); -lean_ctor_set(v___x_2156_, 1, v_c_2124_); -v___x_2157_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15); -v___x_2158_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2158_, 0, v___x_2156_); -lean_ctor_set(v___x_2158_, 1, v___x_2157_); -v___x_2159_ = l_Lean_MessageData_ofName(v_mod_2140_); -v___x_2160_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2160_, 0, v___x_2158_); -lean_ctor_set(v___x_2160_, 1, v___x_2159_); -v___x_2161_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17); -v___x_2162_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2162_, 0, v___x_2160_); -lean_ctor_set(v___x_2162_, 1, v___x_2161_); -v___x_2163_ = l_Lean_MessageData_note(v___x_2162_); -v___x_2164_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2164_, 0, v_msg_2107_); -lean_ctor_set(v___x_2164_, 1, v___x_2163_); -if (v_isShared_2136_ == 0) -{ -lean_ctor_set_tag(v___x_2135_, 0); -lean_ctor_set(v___x_2135_, 0, v___x_2164_); -v___x_2166_ = v___x_2135_; -goto v_reusejp_2165_; -} -else -{ -lean_object* v_reuseFailAlloc_2167_; -v_reuseFailAlloc_2167_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2167_, 0, v___x_2164_); -v___x_2166_ = v_reuseFailAlloc_2167_; -goto v_reusejp_2165_; -} -v_reusejp_2165_: -{ -return v___x_2166_; -} -} -} -} -} -} -} -else +uint8_t v_isExporting_2168_; +v_isExporting_2168_ = lean_ctor_get_uint8(v_env_2166_, sizeof(void*)*8); +if (v_isExporting_2168_ == 0) { lean_object* v___x_2169_; -lean_dec_ref(v_env_2112_); -lean_dec(v_declHint_2108_); +lean_dec_ref(v_env_2166_); +lean_dec(v_declHint_2162_); v___x_2169_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2169_, 0, v_msg_2107_); +lean_ctor_set(v___x_2169_, 0, v_msg_2161_); return v___x_2169_; } -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___boxed(lean_object* v_msg_2170_, lean_object* v_declHint_2171_, lean_object* v___y_2172_, lean_object* v___y_2173_){ -_start: +else { -lean_object* v_res_2174_; -v_res_2174_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_2170_, v_declHint_2171_, v___y_2172_); -lean_dec(v___y_2172_); -return v_res_2174_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(lean_object* v_msg_2175_, lean_object* v_declHint_2176_, lean_object* v___y_2177_, lean_object* v___y_2178_, lean_object* v___y_2179_, lean_object* v___y_2180_, lean_object* v___y_2181_, lean_object* v___y_2182_){ -_start: +lean_object* v___x_2170_; uint8_t v___x_2171_; +lean_inc_ref(v_env_2166_); +v___x_2170_ = l_Lean_Environment_setExporting(v_env_2166_, v___x_2167_); +lean_inc(v_declHint_2162_); +lean_inc_ref(v___x_2170_); +v___x_2171_ = l_Lean_Environment_contains(v___x_2170_, v_declHint_2162_, v_isExporting_2168_); +if (v___x_2171_ == 0) { -lean_object* v___x_2184_; lean_object* v_a_2185_; lean_object* v___x_2187_; uint8_t v_isShared_2188_; uint8_t v_isSharedCheck_2194_; -v___x_2184_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_2175_, v_declHint_2176_, v___y_2182_); -v_a_2185_ = lean_ctor_get(v___x_2184_, 0); -v_isSharedCheck_2194_ = !lean_is_exclusive(v___x_2184_); -if (v_isSharedCheck_2194_ == 0) -{ -v___x_2187_ = v___x_2184_; -v_isShared_2188_ = v_isSharedCheck_2194_; -goto v_resetjp_2186_; +lean_object* v___x_2172_; +lean_dec_ref(v___x_2170_); +lean_dec_ref(v_env_2166_); +lean_dec(v_declHint_2162_); +v___x_2172_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2172_, 0, v_msg_2161_); +return v___x_2172_; } else { -lean_inc(v_a_2185_); -lean_dec(v___x_2184_); -v___x_2187_ = lean_box(0); -v_isShared_2188_ = v_isSharedCheck_2194_; -goto v_resetjp_2186_; -} -v_resetjp_2186_: +lean_object* v___x_2173_; lean_object* v___x_2174_; lean_object* v___x_2175_; lean_object* v___x_2176_; lean_object* v___x_2177_; lean_object* v_c_2178_; lean_object* v___x_2179_; +v___x_2173_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__2); +v___x_2174_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__3); +v___x_2175_ = l_Lean_Options_empty; +v___x_2176_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_2176_, 0, v___x_2170_); +lean_ctor_set(v___x_2176_, 1, v___x_2173_); +lean_ctor_set(v___x_2176_, 2, v___x_2174_); +lean_ctor_set(v___x_2176_, 3, v___x_2175_); +lean_inc(v_declHint_2162_); +v___x_2177_ = l_Lean_MessageData_ofConstName(v_declHint_2162_, v___x_2167_); +v_c_2178_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_c_2178_, 0, v___x_2176_); +lean_ctor_set(v_c_2178_, 1, v___x_2177_); +v___x_2179_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_2166_, v_declHint_2162_); +if (lean_obj_tag(v___x_2179_) == 0) { -lean_object* v___x_2189_; lean_object* v___x_2190_; lean_object* v___x_2192_; -v___x_2189_ = l_Lean_unknownIdentifierMessageTag; -v___x_2190_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_2190_, 0, v___x_2189_); -lean_ctor_set(v___x_2190_, 1, v_a_2185_); -if (v_isShared_2188_ == 0) -{ -lean_ctor_set(v___x_2187_, 0, v___x_2190_); -v___x_2192_ = v___x_2187_; -goto v_reusejp_2191_; +lean_object* v___x_2180_; lean_object* v___x_2181_; lean_object* v___x_2182_; lean_object* v___x_2183_; lean_object* v___x_2184_; lean_object* v___x_2185_; lean_object* v___x_2186_; +lean_dec_ref(v_env_2166_); +lean_dec(v_declHint_2162_); +v___x_2180_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5); +v___x_2181_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2181_, 0, v___x_2180_); +lean_ctor_set(v___x_2181_, 1, v_c_2178_); +v___x_2182_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__7); +v___x_2183_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2183_, 0, v___x_2181_); +lean_ctor_set(v___x_2183_, 1, v___x_2182_); +v___x_2184_ = l_Lean_MessageData_note(v___x_2183_); +v___x_2185_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2185_, 0, v_msg_2161_); +lean_ctor_set(v___x_2185_, 1, v___x_2184_); +v___x_2186_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2186_, 0, v___x_2185_); +return v___x_2186_; } else { -lean_object* v_reuseFailAlloc_2193_; -v_reuseFailAlloc_2193_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2193_, 0, v___x_2190_); -v___x_2192_ = v_reuseFailAlloc_2193_; -goto v_reusejp_2191_; -} -v_reusejp_2191_: +lean_object* v_val_2187_; lean_object* v___x_2189_; uint8_t v_isShared_2190_; uint8_t v_isSharedCheck_2222_; +v_val_2187_ = lean_ctor_get(v___x_2179_, 0); +v_isSharedCheck_2222_ = !lean_is_exclusive(v___x_2179_); +if (v_isSharedCheck_2222_ == 0) { -return v___x_2192_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23___boxed(lean_object* v_msg_2195_, lean_object* v_declHint_2196_, lean_object* v___y_2197_, lean_object* v___y_2198_, lean_object* v___y_2199_, lean_object* v___y_2200_, lean_object* v___y_2201_, lean_object* v___y_2202_, lean_object* v___y_2203_){ -_start: -{ -lean_object* v_res_2204_; -v_res_2204_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(v_msg_2195_, v_declHint_2196_, v___y_2197_, v___y_2198_, v___y_2199_, v___y_2200_, v___y_2201_, v___y_2202_); -lean_dec(v___y_2202_); -lean_dec_ref(v___y_2201_); -lean_dec(v___y_2200_); -lean_dec_ref(v___y_2199_); -lean_dec(v___y_2198_); -lean_dec_ref(v___y_2197_); -return v_res_2204_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(lean_object* v_ref_2205_, lean_object* v_msg_2206_, lean_object* v___y_2207_, lean_object* v___y_2208_, lean_object* v___y_2209_, lean_object* v___y_2210_, lean_object* v___y_2211_, lean_object* v___y_2212_){ -_start: -{ -lean_object* v_fileName_2214_; lean_object* v_fileMap_2215_; lean_object* v_options_2216_; lean_object* v_currRecDepth_2217_; lean_object* v_maxRecDepth_2218_; lean_object* v_ref_2219_; lean_object* v_currNamespace_2220_; lean_object* v_openDecls_2221_; lean_object* v_initHeartbeats_2222_; lean_object* v_maxHeartbeats_2223_; lean_object* v_quotContext_2224_; lean_object* v_currMacroScope_2225_; uint8_t v_diag_2226_; lean_object* v_cancelTk_x3f_2227_; uint8_t v_suppressElabErrors_2228_; lean_object* v_inheritedTraceOptions_2229_; lean_object* v___x_2231_; uint8_t v_isShared_2232_; uint8_t v_isSharedCheck_2238_; -v_fileName_2214_ = lean_ctor_get(v___y_2211_, 0); -v_fileMap_2215_ = lean_ctor_get(v___y_2211_, 1); -v_options_2216_ = lean_ctor_get(v___y_2211_, 2); -v_currRecDepth_2217_ = lean_ctor_get(v___y_2211_, 3); -v_maxRecDepth_2218_ = lean_ctor_get(v___y_2211_, 4); -v_ref_2219_ = lean_ctor_get(v___y_2211_, 5); -v_currNamespace_2220_ = lean_ctor_get(v___y_2211_, 6); -v_openDecls_2221_ = lean_ctor_get(v___y_2211_, 7); -v_initHeartbeats_2222_ = lean_ctor_get(v___y_2211_, 8); -v_maxHeartbeats_2223_ = lean_ctor_get(v___y_2211_, 9); -v_quotContext_2224_ = lean_ctor_get(v___y_2211_, 10); -v_currMacroScope_2225_ = lean_ctor_get(v___y_2211_, 11); -v_diag_2226_ = lean_ctor_get_uint8(v___y_2211_, sizeof(void*)*14); -v_cancelTk_x3f_2227_ = lean_ctor_get(v___y_2211_, 12); -v_suppressElabErrors_2228_ = lean_ctor_get_uint8(v___y_2211_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_2229_ = lean_ctor_get(v___y_2211_, 13); -v_isSharedCheck_2238_ = !lean_is_exclusive(v___y_2211_); -if (v_isSharedCheck_2238_ == 0) -{ -v___x_2231_ = v___y_2211_; -v_isShared_2232_ = v_isSharedCheck_2238_; -goto v_resetjp_2230_; +v___x_2189_ = v___x_2179_; +v_isShared_2190_ = v_isSharedCheck_2222_; +goto v_resetjp_2188_; } else { -lean_inc(v_inheritedTraceOptions_2229_); -lean_inc(v_cancelTk_x3f_2227_); -lean_inc(v_currMacroScope_2225_); -lean_inc(v_quotContext_2224_); -lean_inc(v_maxHeartbeats_2223_); -lean_inc(v_initHeartbeats_2222_); -lean_inc(v_openDecls_2221_); -lean_inc(v_currNamespace_2220_); -lean_inc(v_ref_2219_); -lean_inc(v_maxRecDepth_2218_); -lean_inc(v_currRecDepth_2217_); -lean_inc(v_options_2216_); -lean_inc(v_fileMap_2215_); -lean_inc(v_fileName_2214_); -lean_dec(v___y_2211_); -v___x_2231_ = lean_box(0); -v_isShared_2232_ = v_isSharedCheck_2238_; -goto v_resetjp_2230_; +lean_inc(v_val_2187_); +lean_dec(v___x_2179_); +v___x_2189_ = lean_box(0); +v_isShared_2190_ = v_isSharedCheck_2222_; +goto v_resetjp_2188_; } -v_resetjp_2230_: +v_resetjp_2188_: { -lean_object* v_ref_2233_; lean_object* v___x_2235_; -v_ref_2233_ = l_Lean_replaceRef(v_ref_2205_, v_ref_2219_); -lean_dec(v_ref_2219_); -if (v_isShared_2232_ == 0) +lean_object* v___x_2191_; lean_object* v___x_2192_; lean_object* v___x_2193_; lean_object* v_mod_2194_; uint8_t v___x_2195_; +v___x_2191_ = lean_box(0); +v___x_2192_ = l_Lean_Environment_header(v_env_2166_); +lean_dec_ref(v_env_2166_); +v___x_2193_ = l_Lean_EnvironmentHeader_moduleNames(v___x_2192_); +v_mod_2194_ = lean_array_get(v___x_2191_, v___x_2193_, v_val_2187_); +lean_dec(v_val_2187_); +lean_dec_ref(v___x_2193_); +v___x_2195_ = l_Lean_isPrivateName(v_declHint_2162_); +lean_dec(v_declHint_2162_); +if (v___x_2195_ == 0) { -lean_ctor_set(v___x_2231_, 5, v_ref_2233_); -v___x_2235_ = v___x_2231_; -goto v_reusejp_2234_; +lean_object* v___x_2196_; lean_object* v___x_2197_; lean_object* v___x_2198_; lean_object* v___x_2199_; lean_object* v___x_2200_; lean_object* v___x_2201_; lean_object* v___x_2202_; lean_object* v___x_2203_; lean_object* v___x_2204_; lean_object* v___x_2205_; lean_object* v___x_2207_; +v___x_2196_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__9); +v___x_2197_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2197_, 0, v___x_2196_); +lean_ctor_set(v___x_2197_, 1, v_c_2178_); +v___x_2198_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__11); +v___x_2199_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2199_, 0, v___x_2197_); +lean_ctor_set(v___x_2199_, 1, v___x_2198_); +v___x_2200_ = l_Lean_MessageData_ofName(v_mod_2194_); +v___x_2201_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2201_, 0, v___x_2199_); +lean_ctor_set(v___x_2201_, 1, v___x_2200_); +v___x_2202_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__13); +v___x_2203_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2203_, 0, v___x_2201_); +lean_ctor_set(v___x_2203_, 1, v___x_2202_); +v___x_2204_ = l_Lean_MessageData_note(v___x_2203_); +v___x_2205_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2205_, 0, v_msg_2161_); +lean_ctor_set(v___x_2205_, 1, v___x_2204_); +if (v_isShared_2190_ == 0) +{ +lean_ctor_set_tag(v___x_2189_, 0); +lean_ctor_set(v___x_2189_, 0, v___x_2205_); +v___x_2207_ = v___x_2189_; +goto v_reusejp_2206_; } else { -lean_object* v_reuseFailAlloc_2237_; -v_reuseFailAlloc_2237_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_2237_, 0, v_fileName_2214_); -lean_ctor_set(v_reuseFailAlloc_2237_, 1, v_fileMap_2215_); -lean_ctor_set(v_reuseFailAlloc_2237_, 2, v_options_2216_); -lean_ctor_set(v_reuseFailAlloc_2237_, 3, v_currRecDepth_2217_); -lean_ctor_set(v_reuseFailAlloc_2237_, 4, v_maxRecDepth_2218_); -lean_ctor_set(v_reuseFailAlloc_2237_, 5, v_ref_2233_); -lean_ctor_set(v_reuseFailAlloc_2237_, 6, v_currNamespace_2220_); -lean_ctor_set(v_reuseFailAlloc_2237_, 7, v_openDecls_2221_); -lean_ctor_set(v_reuseFailAlloc_2237_, 8, v_initHeartbeats_2222_); -lean_ctor_set(v_reuseFailAlloc_2237_, 9, v_maxHeartbeats_2223_); -lean_ctor_set(v_reuseFailAlloc_2237_, 10, v_quotContext_2224_); -lean_ctor_set(v_reuseFailAlloc_2237_, 11, v_currMacroScope_2225_); -lean_ctor_set(v_reuseFailAlloc_2237_, 12, v_cancelTk_x3f_2227_); -lean_ctor_set(v_reuseFailAlloc_2237_, 13, v_inheritedTraceOptions_2229_); -lean_ctor_set_uint8(v_reuseFailAlloc_2237_, sizeof(void*)*14, v_diag_2226_); -lean_ctor_set_uint8(v_reuseFailAlloc_2237_, sizeof(void*)*14 + 1, v_suppressElabErrors_2228_); -v___x_2235_ = v_reuseFailAlloc_2237_; -goto v_reusejp_2234_; +lean_object* v_reuseFailAlloc_2208_; +v_reuseFailAlloc_2208_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2208_, 0, v___x_2205_); +v___x_2207_ = v_reuseFailAlloc_2208_; +goto v_reusejp_2206_; } -v_reusejp_2234_: +v_reusejp_2206_: { -lean_object* v___x_2236_; -v___x_2236_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_2206_, v___y_2207_, v___y_2208_, v___y_2209_, v___y_2210_, v___x_2235_, v___y_2212_); -lean_dec_ref(v___x_2235_); -return v___x_2236_; +return v___x_2207_; +} +} +else +{ +lean_object* v___x_2209_; lean_object* v___x_2210_; lean_object* v___x_2211_; lean_object* v___x_2212_; lean_object* v___x_2213_; lean_object* v___x_2214_; lean_object* v___x_2215_; lean_object* v___x_2216_; lean_object* v___x_2217_; lean_object* v___x_2218_; lean_object* v___x_2220_; +v___x_2209_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__5); +v___x_2210_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2210_, 0, v___x_2209_); +lean_ctor_set(v___x_2210_, 1, v_c_2178_); +v___x_2211_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__15); +v___x_2212_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2212_, 0, v___x_2210_); +lean_ctor_set(v___x_2212_, 1, v___x_2211_); +v___x_2213_ = l_Lean_MessageData_ofName(v_mod_2194_); +v___x_2214_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2214_, 0, v___x_2212_); +lean_ctor_set(v___x_2214_, 1, v___x_2213_); +v___x_2215_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___closed__17); +v___x_2216_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2216_, 0, v___x_2214_); +lean_ctor_set(v___x_2216_, 1, v___x_2215_); +v___x_2217_ = l_Lean_MessageData_note(v___x_2216_); +v___x_2218_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2218_, 0, v_msg_2161_); +lean_ctor_set(v___x_2218_, 1, v___x_2217_); +if (v_isShared_2190_ == 0) +{ +lean_ctor_set_tag(v___x_2189_, 0); +lean_ctor_set(v___x_2189_, 0, v___x_2218_); +v___x_2220_ = v___x_2189_; +goto v_reusejp_2219_; +} +else +{ +lean_object* v_reuseFailAlloc_2221_; +v_reuseFailAlloc_2221_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2221_, 0, v___x_2218_); +v___x_2220_ = v_reuseFailAlloc_2221_; +goto v_reusejp_2219_; +} +v_reusejp_2219_: +{ +return v___x_2220_; } } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg___boxed(lean_object* v_ref_2239_, lean_object* v_msg_2240_, lean_object* v___y_2241_, lean_object* v___y_2242_, lean_object* v___y_2243_, lean_object* v___y_2244_, lean_object* v___y_2245_, lean_object* v___y_2246_, lean_object* v___y_2247_){ +} +} +} +else +{ +lean_object* v___x_2223_; +lean_dec_ref(v_env_2166_); +lean_dec(v_declHint_2162_); +v___x_2223_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2223_, 0, v_msg_2161_); +return v___x_2223_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg___boxed(lean_object* v_msg_2224_, lean_object* v_declHint_2225_, lean_object* v___y_2226_, lean_object* v___y_2227_){ _start: { -lean_object* v_res_2248_; -v_res_2248_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_2239_, v_msg_2240_, v___y_2241_, v___y_2242_, v___y_2243_, v___y_2244_, v___y_2245_, v___y_2246_); -lean_dec(v___y_2246_); -lean_dec(v___y_2244_); -lean_dec_ref(v___y_2243_); -lean_dec(v___y_2242_); -lean_dec(v_ref_2239_); -return v_res_2248_; +lean_object* v_res_2228_; +v_res_2228_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_2224_, v_declHint_2225_, v___y_2226_); +lean_dec(v___y_2226_); +return v_res_2228_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(lean_object* v_ref_2249_, lean_object* v_msg_2250_, lean_object* v_declHint_2251_, lean_object* v___y_2252_, lean_object* v___y_2253_, lean_object* v___y_2254_, lean_object* v___y_2255_, lean_object* v___y_2256_, lean_object* v___y_2257_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(lean_object* v_msg_2229_, lean_object* v_declHint_2230_, lean_object* v___y_2231_, lean_object* v___y_2232_, lean_object* v___y_2233_, lean_object* v___y_2234_, lean_object* v___y_2235_, lean_object* v___y_2236_){ _start: { -lean_object* v___x_2259_; lean_object* v_a_2260_; lean_object* v___x_2261_; -v___x_2259_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(v_msg_2250_, v_declHint_2251_, v___y_2252_, v___y_2253_, v___y_2254_, v___y_2255_, v___y_2256_, v___y_2257_); -v_a_2260_ = lean_ctor_get(v___x_2259_, 0); -lean_inc(v_a_2260_); -lean_dec_ref(v___x_2259_); -v___x_2261_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_2249_, v_a_2260_, v___y_2252_, v___y_2253_, v___y_2254_, v___y_2255_, v___y_2256_, v___y_2257_); -return v___x_2261_; +lean_object* v___x_2238_; lean_object* v_a_2239_; lean_object* v___x_2241_; uint8_t v_isShared_2242_; uint8_t v_isSharedCheck_2248_; +v___x_2238_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_2229_, v_declHint_2230_, v___y_2236_); +v_a_2239_ = lean_ctor_get(v___x_2238_, 0); +v_isSharedCheck_2248_ = !lean_is_exclusive(v___x_2238_); +if (v_isSharedCheck_2248_ == 0) +{ +v___x_2241_ = v___x_2238_; +v_isShared_2242_ = v_isSharedCheck_2248_; +goto v_resetjp_2240_; +} +else +{ +lean_inc(v_a_2239_); +lean_dec(v___x_2238_); +v___x_2241_ = lean_box(0); +v_isShared_2242_ = v_isSharedCheck_2248_; +goto v_resetjp_2240_; +} +v_resetjp_2240_: +{ +lean_object* v___x_2243_; lean_object* v___x_2244_; lean_object* v___x_2246_; +v___x_2243_ = l_Lean_unknownIdentifierMessageTag; +v___x_2244_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_2244_, 0, v___x_2243_); +lean_ctor_set(v___x_2244_, 1, v_a_2239_); +if (v_isShared_2242_ == 0) +{ +lean_ctor_set(v___x_2241_, 0, v___x_2244_); +v___x_2246_ = v___x_2241_; +goto v_reusejp_2245_; +} +else +{ +lean_object* v_reuseFailAlloc_2247_; +v_reuseFailAlloc_2247_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2247_, 0, v___x_2244_); +v___x_2246_ = v_reuseFailAlloc_2247_; +goto v_reusejp_2245_; +} +v_reusejp_2245_: +{ +return v___x_2246_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg___boxed(lean_object* v_ref_2262_, lean_object* v_msg_2263_, lean_object* v_declHint_2264_, lean_object* v___y_2265_, lean_object* v___y_2266_, lean_object* v___y_2267_, lean_object* v___y_2268_, lean_object* v___y_2269_, lean_object* v___y_2270_, lean_object* v___y_2271_){ +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23___boxed(lean_object* v_msg_2249_, lean_object* v_declHint_2250_, lean_object* v___y_2251_, lean_object* v___y_2252_, lean_object* v___y_2253_, lean_object* v___y_2254_, lean_object* v___y_2255_, lean_object* v___y_2256_, lean_object* v___y_2257_){ _start: { -lean_object* v_res_2272_; -v_res_2272_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_2262_, v_msg_2263_, v_declHint_2264_, v___y_2265_, v___y_2266_, v___y_2267_, v___y_2268_, v___y_2269_, v___y_2270_); -lean_dec(v___y_2270_); -lean_dec(v___y_2268_); -lean_dec_ref(v___y_2267_); -lean_dec(v___y_2266_); -lean_dec(v_ref_2262_); -return v_res_2272_; +lean_object* v_res_2258_; +v_res_2258_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(v_msg_2249_, v_declHint_2250_, v___y_2251_, v___y_2252_, v___y_2253_, v___y_2254_, v___y_2255_, v___y_2256_); +lean_dec(v___y_2256_); +lean_dec_ref(v___y_2255_); +lean_dec(v___y_2254_); +lean_dec_ref(v___y_2253_); +lean_dec(v___y_2252_); +lean_dec_ref(v___y_2251_); +return v_res_2258_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(lean_object* v_ref_2259_, lean_object* v_msg_2260_, lean_object* v___y_2261_, lean_object* v___y_2262_, lean_object* v___y_2263_, lean_object* v___y_2264_, lean_object* v___y_2265_, lean_object* v___y_2266_){ +_start: +{ +lean_object* v_fileName_2268_; lean_object* v_fileMap_2269_; lean_object* v_options_2270_; lean_object* v_currRecDepth_2271_; lean_object* v_maxRecDepth_2272_; lean_object* v_ref_2273_; lean_object* v_currNamespace_2274_; lean_object* v_openDecls_2275_; lean_object* v_initHeartbeats_2276_; lean_object* v_maxHeartbeats_2277_; lean_object* v_quotContext_2278_; lean_object* v_currMacroScope_2279_; uint8_t v_diag_2280_; lean_object* v_cancelTk_x3f_2281_; uint8_t v_suppressElabErrors_2282_; lean_object* v_inheritedTraceOptions_2283_; lean_object* v___x_2285_; uint8_t v_isShared_2286_; uint8_t v_isSharedCheck_2292_; +v_fileName_2268_ = lean_ctor_get(v___y_2265_, 0); +v_fileMap_2269_ = lean_ctor_get(v___y_2265_, 1); +v_options_2270_ = lean_ctor_get(v___y_2265_, 2); +v_currRecDepth_2271_ = lean_ctor_get(v___y_2265_, 3); +v_maxRecDepth_2272_ = lean_ctor_get(v___y_2265_, 4); +v_ref_2273_ = lean_ctor_get(v___y_2265_, 5); +v_currNamespace_2274_ = lean_ctor_get(v___y_2265_, 6); +v_openDecls_2275_ = lean_ctor_get(v___y_2265_, 7); +v_initHeartbeats_2276_ = lean_ctor_get(v___y_2265_, 8); +v_maxHeartbeats_2277_ = lean_ctor_get(v___y_2265_, 9); +v_quotContext_2278_ = lean_ctor_get(v___y_2265_, 10); +v_currMacroScope_2279_ = lean_ctor_get(v___y_2265_, 11); +v_diag_2280_ = lean_ctor_get_uint8(v___y_2265_, sizeof(void*)*14); +v_cancelTk_x3f_2281_ = lean_ctor_get(v___y_2265_, 12); +v_suppressElabErrors_2282_ = lean_ctor_get_uint8(v___y_2265_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_2283_ = lean_ctor_get(v___y_2265_, 13); +v_isSharedCheck_2292_ = !lean_is_exclusive(v___y_2265_); +if (v_isSharedCheck_2292_ == 0) +{ +v___x_2285_ = v___y_2265_; +v_isShared_2286_ = v_isSharedCheck_2292_; +goto v_resetjp_2284_; +} +else +{ +lean_inc(v_inheritedTraceOptions_2283_); +lean_inc(v_cancelTk_x3f_2281_); +lean_inc(v_currMacroScope_2279_); +lean_inc(v_quotContext_2278_); +lean_inc(v_maxHeartbeats_2277_); +lean_inc(v_initHeartbeats_2276_); +lean_inc(v_openDecls_2275_); +lean_inc(v_currNamespace_2274_); +lean_inc(v_ref_2273_); +lean_inc(v_maxRecDepth_2272_); +lean_inc(v_currRecDepth_2271_); +lean_inc(v_options_2270_); +lean_inc(v_fileMap_2269_); +lean_inc(v_fileName_2268_); +lean_dec(v___y_2265_); +v___x_2285_ = lean_box(0); +v_isShared_2286_ = v_isSharedCheck_2292_; +goto v_resetjp_2284_; +} +v_resetjp_2284_: +{ +lean_object* v_ref_2287_; lean_object* v___x_2289_; +v_ref_2287_ = l_Lean_replaceRef(v_ref_2259_, v_ref_2273_); +lean_dec(v_ref_2273_); +if (v_isShared_2286_ == 0) +{ +lean_ctor_set(v___x_2285_, 5, v_ref_2287_); +v___x_2289_ = v___x_2285_; +goto v_reusejp_2288_; +} +else +{ +lean_object* v_reuseFailAlloc_2291_; +v_reuseFailAlloc_2291_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_2291_, 0, v_fileName_2268_); +lean_ctor_set(v_reuseFailAlloc_2291_, 1, v_fileMap_2269_); +lean_ctor_set(v_reuseFailAlloc_2291_, 2, v_options_2270_); +lean_ctor_set(v_reuseFailAlloc_2291_, 3, v_currRecDepth_2271_); +lean_ctor_set(v_reuseFailAlloc_2291_, 4, v_maxRecDepth_2272_); +lean_ctor_set(v_reuseFailAlloc_2291_, 5, v_ref_2287_); +lean_ctor_set(v_reuseFailAlloc_2291_, 6, v_currNamespace_2274_); +lean_ctor_set(v_reuseFailAlloc_2291_, 7, v_openDecls_2275_); +lean_ctor_set(v_reuseFailAlloc_2291_, 8, v_initHeartbeats_2276_); +lean_ctor_set(v_reuseFailAlloc_2291_, 9, v_maxHeartbeats_2277_); +lean_ctor_set(v_reuseFailAlloc_2291_, 10, v_quotContext_2278_); +lean_ctor_set(v_reuseFailAlloc_2291_, 11, v_currMacroScope_2279_); +lean_ctor_set(v_reuseFailAlloc_2291_, 12, v_cancelTk_x3f_2281_); +lean_ctor_set(v_reuseFailAlloc_2291_, 13, v_inheritedTraceOptions_2283_); +lean_ctor_set_uint8(v_reuseFailAlloc_2291_, sizeof(void*)*14, v_diag_2280_); +lean_ctor_set_uint8(v_reuseFailAlloc_2291_, sizeof(void*)*14 + 1, v_suppressElabErrors_2282_); +v___x_2289_ = v_reuseFailAlloc_2291_; +goto v_reusejp_2288_; +} +v_reusejp_2288_: +{ +lean_object* v___x_2290_; +v___x_2290_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_2260_, v___y_2261_, v___y_2262_, v___y_2263_, v___y_2264_, v___x_2289_, v___y_2266_); +lean_dec_ref(v___x_2289_); +return v___x_2290_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg___boxed(lean_object* v_ref_2293_, lean_object* v_msg_2294_, lean_object* v___y_2295_, lean_object* v___y_2296_, lean_object* v___y_2297_, lean_object* v___y_2298_, lean_object* v___y_2299_, lean_object* v___y_2300_, lean_object* v___y_2301_){ +_start: +{ +lean_object* v_res_2302_; +v_res_2302_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_2293_, v_msg_2294_, v___y_2295_, v___y_2296_, v___y_2297_, v___y_2298_, v___y_2299_, v___y_2300_); +lean_dec(v___y_2300_); +lean_dec(v___y_2298_); +lean_dec_ref(v___y_2297_); +lean_dec(v___y_2296_); +lean_dec(v_ref_2293_); +return v_res_2302_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(lean_object* v_ref_2303_, lean_object* v_msg_2304_, lean_object* v_declHint_2305_, lean_object* v___y_2306_, lean_object* v___y_2307_, lean_object* v___y_2308_, lean_object* v___y_2309_, lean_object* v___y_2310_, lean_object* v___y_2311_){ +_start: +{ +lean_object* v___x_2313_; lean_object* v_a_2314_; lean_object* v___x_2315_; +v___x_2313_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23(v_msg_2304_, v_declHint_2305_, v___y_2306_, v___y_2307_, v___y_2308_, v___y_2309_, v___y_2310_, v___y_2311_); +v_a_2314_ = lean_ctor_get(v___x_2313_, 0); +lean_inc(v_a_2314_); +lean_dec_ref(v___x_2313_); +v___x_2315_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_2303_, v_a_2314_, v___y_2306_, v___y_2307_, v___y_2308_, v___y_2309_, v___y_2310_, v___y_2311_); +return v___x_2315_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg___boxed(lean_object* v_ref_2316_, lean_object* v_msg_2317_, lean_object* v_declHint_2318_, lean_object* v___y_2319_, lean_object* v___y_2320_, lean_object* v___y_2321_, lean_object* v___y_2322_, lean_object* v___y_2323_, lean_object* v___y_2324_, lean_object* v___y_2325_){ +_start: +{ +lean_object* v_res_2326_; +v_res_2326_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_2316_, v_msg_2317_, v_declHint_2318_, v___y_2319_, v___y_2320_, v___y_2321_, v___y_2322_, v___y_2323_, v___y_2324_); +lean_dec(v___y_2324_); +lean_dec(v___y_2322_); +lean_dec_ref(v___y_2321_); +lean_dec(v___y_2320_); +lean_dec(v_ref_2316_); +return v_res_2326_; } } static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1(void){ _start: { -lean_object* v___x_2274_; lean_object* v___x_2275_; -v___x_2274_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__0)); -v___x_2275_ = l_Lean_stringToMessageData(v___x_2274_); -return v___x_2275_; +lean_object* v___x_2328_; lean_object* v___x_2329_; +v___x_2328_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__0)); +v___x_2329_ = l_Lean_stringToMessageData(v___x_2328_); +return v___x_2329_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(lean_object* v_ref_2276_, lean_object* v_constName_2277_, lean_object* v___y_2278_, lean_object* v___y_2279_, lean_object* v___y_2280_, lean_object* v___y_2281_, lean_object* v___y_2282_, lean_object* v___y_2283_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(lean_object* v_ref_2330_, lean_object* v_constName_2331_, lean_object* v___y_2332_, lean_object* v___y_2333_, lean_object* v___y_2334_, lean_object* v___y_2335_, lean_object* v___y_2336_, lean_object* v___y_2337_){ _start: { -lean_object* v___x_2285_; uint8_t v___x_2286_; lean_object* v___x_2287_; lean_object* v___x_2288_; lean_object* v___x_2289_; lean_object* v___x_2290_; lean_object* v___x_2291_; -v___x_2285_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1); -v___x_2286_ = 0; -lean_inc(v_constName_2277_); -v___x_2287_ = l_Lean_MessageData_ofConstName(v_constName_2277_, v___x_2286_); -v___x_2288_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2288_, 0, v___x_2285_); -lean_ctor_set(v___x_2288_, 1, v___x_2287_); -v___x_2289_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_2290_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2290_, 0, v___x_2288_); -lean_ctor_set(v___x_2290_, 1, v___x_2289_); -v___x_2291_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_2276_, v___x_2290_, v_constName_2277_, v___y_2278_, v___y_2279_, v___y_2280_, v___y_2281_, v___y_2282_, v___y_2283_); -return v___x_2291_; +lean_object* v___x_2339_; uint8_t v___x_2340_; lean_object* v___x_2341_; lean_object* v___x_2342_; lean_object* v___x_2343_; lean_object* v___x_2344_; lean_object* v___x_2345_; +v___x_2339_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___closed__1); +v___x_2340_ = 0; +lean_inc(v_constName_2331_); +v___x_2341_ = l_Lean_MessageData_ofConstName(v_constName_2331_, v___x_2340_); +v___x_2342_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2342_, 0, v___x_2339_); +lean_ctor_set(v___x_2342_, 1, v___x_2341_); +v___x_2343_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_2344_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2344_, 0, v___x_2342_); +lean_ctor_set(v___x_2344_, 1, v___x_2343_); +v___x_2345_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_2330_, v___x_2344_, v_constName_2331_, v___y_2332_, v___y_2333_, v___y_2334_, v___y_2335_, v___y_2336_, v___y_2337_); +return v___x_2345_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___boxed(lean_object* v_ref_2292_, lean_object* v_constName_2293_, lean_object* v___y_2294_, lean_object* v___y_2295_, lean_object* v___y_2296_, lean_object* v___y_2297_, lean_object* v___y_2298_, lean_object* v___y_2299_, lean_object* v___y_2300_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg___boxed(lean_object* v_ref_2346_, lean_object* v_constName_2347_, lean_object* v___y_2348_, lean_object* v___y_2349_, lean_object* v___y_2350_, lean_object* v___y_2351_, lean_object* v___y_2352_, lean_object* v___y_2353_, lean_object* v___y_2354_){ _start: { -lean_object* v_res_2301_; -v_res_2301_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_2292_, v_constName_2293_, v___y_2294_, v___y_2295_, v___y_2296_, v___y_2297_, v___y_2298_, v___y_2299_); -lean_dec(v___y_2299_); -lean_dec(v___y_2297_); -lean_dec_ref(v___y_2296_); -lean_dec(v___y_2295_); -lean_dec(v_ref_2292_); -return v_res_2301_; +lean_object* v_res_2355_; +v_res_2355_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_2346_, v_constName_2347_, v___y_2348_, v___y_2349_, v___y_2350_, v___y_2351_, v___y_2352_, v___y_2353_); +lean_dec(v___y_2353_); +lean_dec(v___y_2351_); +lean_dec_ref(v___y_2350_); +lean_dec(v___y_2349_); +lean_dec(v_ref_2346_); +return v_res_2355_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(lean_object* v_constName_2302_, lean_object* v___y_2303_, lean_object* v___y_2304_, lean_object* v___y_2305_, lean_object* v___y_2306_, lean_object* v___y_2307_, lean_object* v___y_2308_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(lean_object* v_constName_2356_, lean_object* v___y_2357_, lean_object* v___y_2358_, lean_object* v___y_2359_, lean_object* v___y_2360_, lean_object* v___y_2361_, lean_object* v___y_2362_){ _start: { -lean_object* v_ref_2310_; lean_object* v___x_2311_; -v_ref_2310_ = lean_ctor_get(v___y_2307_, 5); -lean_inc(v_ref_2310_); -v___x_2311_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_2310_, v_constName_2302_, v___y_2303_, v___y_2304_, v___y_2305_, v___y_2306_, v___y_2307_, v___y_2308_); -lean_dec(v_ref_2310_); -return v___x_2311_; +lean_object* v_ref_2364_; lean_object* v___x_2365_; +v_ref_2364_ = lean_ctor_get(v___y_2361_, 5); +lean_inc(v_ref_2364_); +v___x_2365_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_2364_, v_constName_2356_, v___y_2357_, v___y_2358_, v___y_2359_, v___y_2360_, v___y_2361_, v___y_2362_); +lean_dec(v_ref_2364_); +return v___x_2365_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg___boxed(lean_object* v_constName_2312_, lean_object* v___y_2313_, lean_object* v___y_2314_, lean_object* v___y_2315_, lean_object* v___y_2316_, lean_object* v___y_2317_, lean_object* v___y_2318_, lean_object* v___y_2319_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg___boxed(lean_object* v_constName_2366_, lean_object* v___y_2367_, lean_object* v___y_2368_, lean_object* v___y_2369_, lean_object* v___y_2370_, lean_object* v___y_2371_, lean_object* v___y_2372_, lean_object* v___y_2373_){ _start: { -lean_object* v_res_2320_; -v_res_2320_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_2312_, v___y_2313_, v___y_2314_, v___y_2315_, v___y_2316_, v___y_2317_, v___y_2318_); -lean_dec(v___y_2318_); -lean_dec(v___y_2316_); -lean_dec_ref(v___y_2315_); -lean_dec(v___y_2314_); -return v_res_2320_; +lean_object* v_res_2374_; +v_res_2374_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_2366_, v___y_2367_, v___y_2368_, v___y_2369_, v___y_2370_, v___y_2371_, v___y_2372_); +lean_dec(v___y_2372_); +lean_dec(v___y_2370_); +lean_dec_ref(v___y_2369_); +lean_dec(v___y_2368_); +return v_res_2374_; } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(lean_object* v_constName_2321_, lean_object* v___y_2322_, lean_object* v___y_2323_, lean_object* v___y_2324_, lean_object* v___y_2325_, lean_object* v___y_2326_, lean_object* v___y_2327_){ +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(lean_object* v_constName_2375_, lean_object* v___y_2376_, lean_object* v___y_2377_, lean_object* v___y_2378_, lean_object* v___y_2379_, lean_object* v___y_2380_, lean_object* v___y_2381_){ _start: { -lean_object* v___x_2329_; lean_object* v_env_2330_; uint8_t v___x_2331_; lean_object* v___x_2332_; -v___x_2329_ = lean_st_ref_get(v___y_2327_); -v_env_2330_ = lean_ctor_get(v___x_2329_, 0); -lean_inc_ref(v_env_2330_); -lean_dec(v___x_2329_); -v___x_2331_ = 0; -lean_inc(v_constName_2321_); -v___x_2332_ = l_Lean_Environment_findConstVal_x3f(v_env_2330_, v_constName_2321_, v___x_2331_); -if (lean_obj_tag(v___x_2332_) == 0) +lean_object* v___x_2383_; lean_object* v_env_2384_; uint8_t v___x_2385_; lean_object* v___x_2386_; +v___x_2383_ = lean_st_ref_get(v___y_2381_); +v_env_2384_ = lean_ctor_get(v___x_2383_, 0); +lean_inc_ref(v_env_2384_); +lean_dec(v___x_2383_); +v___x_2385_ = 0; +lean_inc(v_constName_2375_); +v___x_2386_ = l_Lean_Environment_findConstVal_x3f(v_env_2384_, v_constName_2375_, v___x_2385_); +if (lean_obj_tag(v___x_2386_) == 0) { -lean_object* v___x_2333_; -v___x_2333_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_2321_, v___y_2322_, v___y_2323_, v___y_2324_, v___y_2325_, v___y_2326_, v___y_2327_); -return v___x_2333_; +lean_object* v___x_2387_; +v___x_2387_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_2375_, v___y_2376_, v___y_2377_, v___y_2378_, v___y_2379_, v___y_2380_, v___y_2381_); +return v___x_2387_; } else { -lean_object* v_val_2334_; lean_object* v___x_2336_; uint8_t v_isShared_2337_; uint8_t v_isSharedCheck_2341_; -lean_dec_ref(v___y_2326_); -lean_dec_ref(v___y_2322_); -lean_dec(v_constName_2321_); -v_val_2334_ = lean_ctor_get(v___x_2332_, 0); -v_isSharedCheck_2341_ = !lean_is_exclusive(v___x_2332_); -if (v_isSharedCheck_2341_ == 0) +lean_object* v_val_2388_; lean_object* v___x_2390_; uint8_t v_isShared_2391_; uint8_t v_isSharedCheck_2395_; +lean_dec_ref(v___y_2380_); +lean_dec_ref(v___y_2376_); +lean_dec(v_constName_2375_); +v_val_2388_ = lean_ctor_get(v___x_2386_, 0); +v_isSharedCheck_2395_ = !lean_is_exclusive(v___x_2386_); +if (v_isSharedCheck_2395_ == 0) { -v___x_2336_ = v___x_2332_; -v_isShared_2337_ = v_isSharedCheck_2341_; -goto v_resetjp_2335_; +v___x_2390_ = v___x_2386_; +v_isShared_2391_ = v_isSharedCheck_2395_; +goto v_resetjp_2389_; } else { -lean_inc(v_val_2334_); -lean_dec(v___x_2332_); -v___x_2336_ = lean_box(0); -v_isShared_2337_ = v_isSharedCheck_2341_; -goto v_resetjp_2335_; +lean_inc(v_val_2388_); +lean_dec(v___x_2386_); +v___x_2390_ = lean_box(0); +v_isShared_2391_ = v_isSharedCheck_2395_; +goto v_resetjp_2389_; } -v_resetjp_2335_: +v_resetjp_2389_: { -lean_object* v___x_2339_; -if (v_isShared_2337_ == 0) +lean_object* v___x_2393_; +if (v_isShared_2391_ == 0) { -lean_ctor_set_tag(v___x_2336_, 0); -v___x_2339_ = v___x_2336_; -goto v_reusejp_2338_; +lean_ctor_set_tag(v___x_2390_, 0); +v___x_2393_ = v___x_2390_; +goto v_reusejp_2392_; } else { -lean_object* v_reuseFailAlloc_2340_; -v_reuseFailAlloc_2340_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2340_, 0, v_val_2334_); -v___x_2339_ = v_reuseFailAlloc_2340_; -goto v_reusejp_2338_; +lean_object* v_reuseFailAlloc_2394_; +v_reuseFailAlloc_2394_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2394_, 0, v_val_2388_); +v___x_2393_ = v_reuseFailAlloc_2394_; +goto v_reusejp_2392_; } -v_reusejp_2338_: +v_reusejp_2392_: { -return v___x_2339_; +return v___x_2393_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14___boxed(lean_object* v_constName_2342_, lean_object* v___y_2343_, lean_object* v___y_2344_, lean_object* v___y_2345_, lean_object* v___y_2346_, lean_object* v___y_2347_, lean_object* v___y_2348_, lean_object* v___y_2349_){ +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14___boxed(lean_object* v_constName_2396_, lean_object* v___y_2397_, lean_object* v___y_2398_, lean_object* v___y_2399_, lean_object* v___y_2400_, lean_object* v___y_2401_, lean_object* v___y_2402_, lean_object* v___y_2403_){ _start: { -lean_object* v_res_2350_; -v_res_2350_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(v_constName_2342_, v___y_2343_, v___y_2344_, v___y_2345_, v___y_2346_, v___y_2347_, v___y_2348_); -lean_dec(v___y_2348_); -lean_dec(v___y_2346_); -lean_dec_ref(v___y_2345_); -lean_dec(v___y_2344_); -return v_res_2350_; +lean_object* v_res_2404_; +v_res_2404_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(v_constName_2396_, v___y_2397_, v___y_2398_, v___y_2399_, v___y_2400_, v___y_2401_, v___y_2402_); +lean_dec(v___y_2402_); +lean_dec(v___y_2400_); +lean_dec_ref(v___y_2399_); +lean_dec(v___y_2398_); +return v_res_2404_; } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(lean_object* v_constName_2351_, lean_object* v___y_2352_, lean_object* v___y_2353_, lean_object* v___y_2354_, lean_object* v___y_2355_, lean_object* v___y_2356_, lean_object* v___y_2357_){ +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(lean_object* v_constName_2405_, lean_object* v___y_2406_, lean_object* v___y_2407_, lean_object* v___y_2408_, lean_object* v___y_2409_, lean_object* v___y_2410_, lean_object* v___y_2411_){ _start: { -lean_object* v___x_2359_; -lean_inc(v_constName_2351_); -v___x_2359_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(v_constName_2351_, v___y_2352_, v___y_2353_, v___y_2354_, v___y_2355_, v___y_2356_, v___y_2357_); -if (lean_obj_tag(v___x_2359_) == 0) +lean_object* v___x_2413_; +lean_inc(v_constName_2405_); +v___x_2413_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14(v_constName_2405_, v___y_2406_, v___y_2407_, v___y_2408_, v___y_2409_, v___y_2410_, v___y_2411_); +if (lean_obj_tag(v___x_2413_) == 0) { -lean_object* v_a_2360_; lean_object* v___x_2362_; uint8_t v_isShared_2363_; uint8_t v_isSharedCheck_2371_; -v_a_2360_ = lean_ctor_get(v___x_2359_, 0); -v_isSharedCheck_2371_ = !lean_is_exclusive(v___x_2359_); -if (v_isSharedCheck_2371_ == 0) +lean_object* v_a_2414_; lean_object* v___x_2416_; uint8_t v_isShared_2417_; uint8_t v_isSharedCheck_2425_; +v_a_2414_ = lean_ctor_get(v___x_2413_, 0); +v_isSharedCheck_2425_ = !lean_is_exclusive(v___x_2413_); +if (v_isSharedCheck_2425_ == 0) { -v___x_2362_ = v___x_2359_; -v_isShared_2363_ = v_isSharedCheck_2371_; -goto v_resetjp_2361_; +v___x_2416_ = v___x_2413_; +v_isShared_2417_ = v_isSharedCheck_2425_; +goto v_resetjp_2415_; } else { -lean_inc(v_a_2360_); -lean_dec(v___x_2359_); -v___x_2362_ = lean_box(0); -v_isShared_2363_ = v_isSharedCheck_2371_; -goto v_resetjp_2361_; +lean_inc(v_a_2414_); +lean_dec(v___x_2413_); +v___x_2416_ = lean_box(0); +v_isShared_2417_ = v_isSharedCheck_2425_; +goto v_resetjp_2415_; } -v_resetjp_2361_: +v_resetjp_2415_: { -lean_object* v_levelParams_2364_; lean_object* v___x_2365_; lean_object* v___x_2366_; lean_object* v___x_2367_; lean_object* v___x_2369_; -v_levelParams_2364_ = lean_ctor_get(v_a_2360_, 1); -lean_inc(v_levelParams_2364_); -lean_dec(v_a_2360_); -v___x_2365_ = lean_box(0); -v___x_2366_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__15(v_levelParams_2364_, v___x_2365_); -v___x_2367_ = l_Lean_mkConst(v_constName_2351_, v___x_2366_); -if (v_isShared_2363_ == 0) +lean_object* v_levelParams_2418_; lean_object* v___x_2419_; lean_object* v___x_2420_; lean_object* v___x_2421_; lean_object* v___x_2423_; +v_levelParams_2418_ = lean_ctor_get(v_a_2414_, 1); +lean_inc(v_levelParams_2418_); +lean_dec(v_a_2414_); +v___x_2419_ = lean_box(0); +v___x_2420_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__15(v_levelParams_2418_, v___x_2419_); +v___x_2421_ = l_Lean_mkConst(v_constName_2405_, v___x_2420_); +if (v_isShared_2417_ == 0) { -lean_ctor_set(v___x_2362_, 0, v___x_2367_); -v___x_2369_ = v___x_2362_; -goto v_reusejp_2368_; +lean_ctor_set(v___x_2416_, 0, v___x_2421_); +v___x_2423_ = v___x_2416_; +goto v_reusejp_2422_; } else { -lean_object* v_reuseFailAlloc_2370_; -v_reuseFailAlloc_2370_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2370_, 0, v___x_2367_); -v___x_2369_ = v_reuseFailAlloc_2370_; -goto v_reusejp_2368_; +lean_object* v_reuseFailAlloc_2424_; +v_reuseFailAlloc_2424_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2424_, 0, v___x_2421_); +v___x_2423_ = v_reuseFailAlloc_2424_; +goto v_reusejp_2422_; } -v_reusejp_2368_: +v_reusejp_2422_: { -return v___x_2369_; +return v___x_2423_; } } } else { -lean_object* v_a_2372_; lean_object* v___x_2374_; uint8_t v_isShared_2375_; uint8_t v_isSharedCheck_2379_; -lean_dec(v_constName_2351_); -v_a_2372_ = lean_ctor_get(v___x_2359_, 0); -v_isSharedCheck_2379_ = !lean_is_exclusive(v___x_2359_); -if (v_isSharedCheck_2379_ == 0) +lean_object* v_a_2426_; lean_object* v___x_2428_; uint8_t v_isShared_2429_; uint8_t v_isSharedCheck_2433_; +lean_dec(v_constName_2405_); +v_a_2426_ = lean_ctor_get(v___x_2413_, 0); +v_isSharedCheck_2433_ = !lean_is_exclusive(v___x_2413_); +if (v_isSharedCheck_2433_ == 0) { -v___x_2374_ = v___x_2359_; -v_isShared_2375_ = v_isSharedCheck_2379_; -goto v_resetjp_2373_; +v___x_2428_ = v___x_2413_; +v_isShared_2429_ = v_isSharedCheck_2433_; +goto v_resetjp_2427_; } else { -lean_inc(v_a_2372_); -lean_dec(v___x_2359_); -v___x_2374_ = lean_box(0); -v_isShared_2375_ = v_isSharedCheck_2379_; -goto v_resetjp_2373_; +lean_inc(v_a_2426_); +lean_dec(v___x_2413_); +v___x_2428_ = lean_box(0); +v_isShared_2429_ = v_isSharedCheck_2433_; +goto v_resetjp_2427_; } -v_resetjp_2373_: +v_resetjp_2427_: { -lean_object* v___x_2377_; -if (v_isShared_2375_ == 0) +lean_object* v___x_2431_; +if (v_isShared_2429_ == 0) { -v___x_2377_ = v___x_2374_; -goto v_reusejp_2376_; +v___x_2431_ = v___x_2428_; +goto v_reusejp_2430_; } else { -lean_object* v_reuseFailAlloc_2378_; -v_reuseFailAlloc_2378_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2378_, 0, v_a_2372_); -v___x_2377_ = v_reuseFailAlloc_2378_; -goto v_reusejp_2376_; +lean_object* v_reuseFailAlloc_2432_; +v_reuseFailAlloc_2432_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2432_, 0, v_a_2426_); +v___x_2431_ = v_reuseFailAlloc_2432_; +goto v_reusejp_2430_; } -v_reusejp_2376_: +v_reusejp_2430_: { -return v___x_2377_; +return v___x_2431_; } } } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13___boxed(lean_object* v_constName_2380_, lean_object* v___y_2381_, lean_object* v___y_2382_, lean_object* v___y_2383_, lean_object* v___y_2384_, lean_object* v___y_2385_, lean_object* v___y_2386_, lean_object* v___y_2387_){ +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13___boxed(lean_object* v_constName_2434_, lean_object* v___y_2435_, lean_object* v___y_2436_, lean_object* v___y_2437_, lean_object* v___y_2438_, lean_object* v___y_2439_, lean_object* v___y_2440_, lean_object* v___y_2441_){ _start: { -lean_object* v_res_2388_; -v_res_2388_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(v_constName_2380_, v___y_2381_, v___y_2382_, v___y_2383_, v___y_2384_, v___y_2385_, v___y_2386_); -lean_dec(v___y_2386_); -lean_dec(v___y_2384_); -lean_dec_ref(v___y_2383_); -lean_dec(v___y_2382_); -return v_res_2388_; +lean_object* v_res_2442_; +v_res_2442_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(v_constName_2434_, v___y_2435_, v___y_2436_, v___y_2437_, v___y_2438_, v___y_2439_, v___y_2440_); +lean_dec(v___y_2440_); +lean_dec(v___y_2438_); +lean_dec_ref(v___y_2437_); +lean_dec(v___y_2436_); +return v_res_2442_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0(uint8_t v___x_2389_, lean_object* v_declName_2390_, lean_object* v___y_2391_, lean_object* v___y_2392_, lean_object* v___y_2393_, lean_object* v___y_2394_, lean_object* v___y_2395_, lean_object* v___y_2396_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0(uint8_t v___x_2443_, lean_object* v_declName_2444_, lean_object* v___y_2445_, lean_object* v___y_2446_, lean_object* v___y_2447_, lean_object* v___y_2448_, lean_object* v___y_2449_, lean_object* v___y_2450_){ _start: { -lean_object* v_ref_2398_; lean_object* v___x_2399_; -v_ref_2398_ = lean_ctor_get(v___y_2395_, 5); -lean_inc_ref(v___y_2395_); -lean_inc_ref(v___y_2391_); -v___x_2399_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(v_declName_2390_, v___y_2391_, v___y_2392_, v___y_2393_, v___y_2394_, v___y_2395_, v___y_2396_); -if (lean_obj_tag(v___x_2399_) == 0) +lean_object* v_ref_2452_; lean_object* v___x_2453_; +v_ref_2452_ = lean_ctor_get(v___y_2449_, 5); +lean_inc_ref(v___y_2449_); +lean_inc_ref(v___y_2445_); +v___x_2453_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13(v_declName_2444_, v___y_2445_, v___y_2446_, v___y_2447_, v___y_2448_, v___y_2449_, v___y_2450_); +if (lean_obj_tag(v___x_2453_) == 0) { -lean_object* v_a_2400_; lean_object* v___x_2401_; lean_object* v___x_2402_; lean_object* v___x_2403_; lean_object* v___x_2404_; lean_object* v___x_2405_; lean_object* v___x_2406_; lean_object* v___x_2407_; lean_object* v___x_2408_; lean_object* v___x_2409_; -v_a_2400_ = lean_ctor_get(v___x_2399_, 0); -lean_inc(v_a_2400_); -lean_dec_ref(v___x_2399_); -v___x_2401_ = lean_box(0); -lean_inc(v_ref_2398_); -v___x_2402_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2402_, 0, v___x_2401_); -lean_ctor_set(v___x_2402_, 1, v_ref_2398_); -v___x_2403_ = lean_unsigned_to_nat(32u); -v___x_2404_ = lean_mk_empty_array_with_capacity(v___x_2403_); -lean_dec_ref(v___x_2404_); -v___x_2405_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4); -v___x_2406_ = lean_box(0); -v___x_2407_ = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(v___x_2407_, 0, v___x_2402_); -lean_ctor_set(v___x_2407_, 1, v___x_2405_); -lean_ctor_set(v___x_2407_, 2, v___x_2406_); -lean_ctor_set(v___x_2407_, 3, v_a_2400_); -lean_ctor_set_uint8(v___x_2407_, sizeof(void*)*4, v___x_2389_); -lean_ctor_set_uint8(v___x_2407_, sizeof(void*)*4 + 1, v___x_2389_); -v___x_2408_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2408_, 0, v___x_2407_); -v___x_2409_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(v___x_2408_, v___y_2391_, v___y_2392_, v___y_2393_, v___y_2394_, v___y_2395_, v___y_2396_); -lean_dec_ref(v___y_2395_); -lean_dec_ref(v___y_2391_); -return v___x_2409_; +lean_object* v_a_2454_; lean_object* v___x_2455_; lean_object* v___x_2456_; lean_object* v___x_2457_; lean_object* v___x_2458_; lean_object* v___x_2459_; lean_object* v___x_2460_; lean_object* v___x_2461_; lean_object* v___x_2462_; lean_object* v___x_2463_; +v_a_2454_ = lean_ctor_get(v___x_2453_, 0); +lean_inc(v_a_2454_); +lean_dec_ref(v___x_2453_); +v___x_2455_ = lean_box(0); +lean_inc(v_ref_2452_); +v___x_2456_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2456_, 0, v___x_2455_); +lean_ctor_set(v___x_2456_, 1, v_ref_2452_); +v___x_2457_ = lean_unsigned_to_nat(32u); +v___x_2458_ = lean_mk_empty_array_with_capacity(v___x_2457_); +lean_dec_ref(v___x_2458_); +v___x_2459_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__0___closed__4); +v___x_2460_ = lean_box(0); +v___x_2461_ = lean_alloc_ctor(0, 4, 2); +lean_ctor_set(v___x_2461_, 0, v___x_2456_); +lean_ctor_set(v___x_2461_, 1, v___x_2459_); +lean_ctor_set(v___x_2461_, 2, v___x_2460_); +lean_ctor_set(v___x_2461_, 3, v_a_2454_); +lean_ctor_set_uint8(v___x_2461_, sizeof(void*)*4, v___x_2443_); +lean_ctor_set_uint8(v___x_2461_, sizeof(void*)*4 + 1, v___x_2443_); +v___x_2462_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2462_, 0, v___x_2461_); +v___x_2463_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14(v___x_2462_, v___y_2445_, v___y_2446_, v___y_2447_, v___y_2448_, v___y_2449_, v___y_2450_); +lean_dec_ref(v___y_2449_); +lean_dec_ref(v___y_2445_); +return v___x_2463_; } else { -lean_object* v_a_2410_; lean_object* v___x_2412_; uint8_t v_isShared_2413_; uint8_t v_isSharedCheck_2417_; -lean_dec_ref(v___y_2395_); -lean_dec_ref(v___y_2391_); -v_a_2410_ = lean_ctor_get(v___x_2399_, 0); -v_isSharedCheck_2417_ = !lean_is_exclusive(v___x_2399_); -if (v_isSharedCheck_2417_ == 0) +lean_object* v_a_2464_; lean_object* v___x_2466_; uint8_t v_isShared_2467_; uint8_t v_isSharedCheck_2471_; +lean_dec_ref(v___y_2449_); +lean_dec_ref(v___y_2445_); +v_a_2464_ = lean_ctor_get(v___x_2453_, 0); +v_isSharedCheck_2471_ = !lean_is_exclusive(v___x_2453_); +if (v_isSharedCheck_2471_ == 0) { -v___x_2412_ = v___x_2399_; -v_isShared_2413_ = v_isSharedCheck_2417_; -goto v_resetjp_2411_; +v___x_2466_ = v___x_2453_; +v_isShared_2467_ = v_isSharedCheck_2471_; +goto v_resetjp_2465_; } else { -lean_inc(v_a_2410_); -lean_dec(v___x_2399_); -v___x_2412_ = lean_box(0); -v_isShared_2413_ = v_isSharedCheck_2417_; -goto v_resetjp_2411_; +lean_inc(v_a_2464_); +lean_dec(v___x_2453_); +v___x_2466_ = lean_box(0); +v_isShared_2467_ = v_isSharedCheck_2471_; +goto v_resetjp_2465_; } -v_resetjp_2411_: +v_resetjp_2465_: { -lean_object* v___x_2415_; -if (v_isShared_2413_ == 0) +lean_object* v___x_2469_; +if (v_isShared_2467_ == 0) { -v___x_2415_ = v___x_2412_; -goto v_reusejp_2414_; +v___x_2469_ = v___x_2466_; +goto v_reusejp_2468_; } else { -lean_object* v_reuseFailAlloc_2416_; -v_reuseFailAlloc_2416_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2416_, 0, v_a_2410_); -v___x_2415_ = v_reuseFailAlloc_2416_; -goto v_reusejp_2414_; +lean_object* v_reuseFailAlloc_2470_; +v_reuseFailAlloc_2470_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2470_, 0, v_a_2464_); +v___x_2469_ = v_reuseFailAlloc_2470_; +goto v_reusejp_2468_; } -v_reusejp_2414_: +v_reusejp_2468_: { -return v___x_2415_; +return v___x_2469_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0___boxed(lean_object* v___x_2418_, lean_object* v_declName_2419_, lean_object* v___y_2420_, lean_object* v___y_2421_, lean_object* v___y_2422_, lean_object* v___y_2423_, lean_object* v___y_2424_, lean_object* v___y_2425_, lean_object* v___y_2426_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0___boxed(lean_object* v___x_2472_, lean_object* v_declName_2473_, lean_object* v___y_2474_, lean_object* v___y_2475_, lean_object* v___y_2476_, lean_object* v___y_2477_, lean_object* v___y_2478_, lean_object* v___y_2479_, lean_object* v___y_2480_){ _start: { -uint8_t v___x_18773__boxed_2427_; lean_object* v_res_2428_; -v___x_18773__boxed_2427_ = lean_unbox(v___x_2418_); -v_res_2428_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0(v___x_18773__boxed_2427_, v_declName_2419_, v___y_2420_, v___y_2421_, v___y_2422_, v___y_2423_, v___y_2424_, v___y_2425_); -lean_dec(v___y_2425_); -lean_dec(v___y_2423_); -lean_dec_ref(v___y_2422_); -lean_dec(v___y_2421_); -return v_res_2428_; +uint8_t v___x_18773__boxed_2481_; lean_object* v_res_2482_; +v___x_18773__boxed_2481_ = lean_unbox(v___x_2472_); +v_res_2482_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__0(v___x_18773__boxed_2481_, v_declName_2473_, v___y_2474_, v___y_2475_, v___y_2476_, v___y_2477_, v___y_2478_, v___y_2479_); +lean_dec(v___y_2479_); +lean_dec(v___y_2477_); +lean_dec_ref(v___y_2476_); +lean_dec(v___y_2475_); +return v_res_2482_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4(lean_object* v___f_2429_, lean_object* v___y_2430_, lean_object* v___y_2431_, lean_object* v___y_2432_, lean_object* v___y_2433_, lean_object* v___y_2434_, lean_object* v___y_2435_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4(lean_object* v___f_2483_, lean_object* v___y_2484_, lean_object* v___y_2485_, lean_object* v___y_2486_, lean_object* v___y_2487_, lean_object* v___y_2488_, lean_object* v___y_2489_){ _start: { -lean_object* v___x_2437_; lean_object* v_env_2438_; lean_object* v___x_2439_; -v___x_2437_ = lean_st_ref_get(v___y_2435_); -v_env_2438_ = lean_ctor_get(v___x_2437_, 0); -lean_inc_ref(v_env_2438_); -lean_dec(v___x_2437_); -v___x_2439_ = lean_apply_8(v___f_2429_, v_env_2438_, v___y_2430_, v___y_2431_, v___y_2432_, v___y_2433_, v___y_2434_, v___y_2435_, lean_box(0)); -return v___x_2439_; +lean_object* v___x_2491_; lean_object* v_env_2492_; lean_object* v___x_2493_; +v___x_2491_ = lean_st_ref_get(v___y_2489_); +v_env_2492_ = lean_ctor_get(v___x_2491_, 0); +lean_inc_ref(v_env_2492_); +lean_dec(v___x_2491_); +v___x_2493_ = lean_apply_8(v___f_2483_, v_env_2492_, v___y_2484_, v___y_2485_, v___y_2486_, v___y_2487_, v___y_2488_, v___y_2489_, lean_box(0)); +return v___x_2493_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4___boxed(lean_object* v___f_2440_, lean_object* v___y_2441_, lean_object* v___y_2442_, lean_object* v___y_2443_, lean_object* v___y_2444_, lean_object* v___y_2445_, lean_object* v___y_2446_, lean_object* v___y_2447_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4___boxed(lean_object* v___f_2494_, lean_object* v___y_2495_, lean_object* v___y_2496_, lean_object* v___y_2497_, lean_object* v___y_2498_, lean_object* v___y_2499_, lean_object* v___y_2500_, lean_object* v___y_2501_){ _start: { -lean_object* v_res_2448_; -v_res_2448_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4(v___f_2440_, v___y_2441_, v___y_2442_, v___y_2443_, v___y_2444_, v___y_2445_, v___y_2446_); -return v_res_2448_; +lean_object* v_res_2502_; +v_res_2502_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4(v___f_2494_, v___y_2495_, v___y_2496_, v___y_2497_, v___y_2498_, v___y_2499_, v___y_2500_); +return v_res_2502_; } } static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0(void){ _start: { -lean_object* v___x_2449_; -v___x_2449_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_2449_; +lean_object* v___x_2503_; +v___x_2503_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_2503_; } } static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1(void){ _start: { -lean_object* v___x_2450_; lean_object* v___x_2451_; -v___x_2450_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0); -v___x_2451_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2451_, 0, v___x_2450_); -return v___x_2451_; +lean_object* v___x_2504_; lean_object* v___x_2505_; +v___x_2504_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__0); +v___x_2505_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2505_, 0, v___x_2504_); +return v___x_2505_; } } static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2(void){ _start: { -lean_object* v___x_2452_; lean_object* v___x_2453_; -v___x_2452_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1); -v___x_2453_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2453_, 0, v___x_2452_); -lean_ctor_set(v___x_2453_, 1, v___x_2452_); -return v___x_2453_; +lean_object* v___x_2506_; lean_object* v___x_2507_; +v___x_2506_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1); +v___x_2507_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2507_, 0, v___x_2506_); +lean_ctor_set(v___x_2507_, 1, v___x_2506_); +return v___x_2507_; } } static lean_object* _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3(void){ _start: { -lean_object* v___x_2454_; lean_object* v___x_2455_; -v___x_2454_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1); -v___x_2455_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_2455_, 0, v___x_2454_); -lean_ctor_set(v___x_2455_, 1, v___x_2454_); -lean_ctor_set(v___x_2455_, 2, v___x_2454_); -lean_ctor_set(v___x_2455_, 3, v___x_2454_); -lean_ctor_set(v___x_2455_, 4, v___x_2454_); -lean_ctor_set(v___x_2455_, 5, v___x_2454_); -return v___x_2455_; +lean_object* v___x_2508_; lean_object* v___x_2509_; +v___x_2508_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__1); +v___x_2509_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_2509_, 0, v___x_2508_); +lean_ctor_set(v___x_2509_, 1, v___x_2508_); +lean_ctor_set(v___x_2509_, 2, v___x_2508_); +lean_ctor_set(v___x_2509_, 3, v___x_2508_); +lean_ctor_set(v___x_2509_, 4, v___x_2508_); +lean_ctor_set(v___x_2509_, 5, v___x_2508_); +return v___x_2509_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(lean_object* v_env_2456_, lean_object* v___y_2457_, lean_object* v___y_2458_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(lean_object* v_env_2510_, lean_object* v___y_2511_, lean_object* v___y_2512_){ _start: { -lean_object* v___x_2460_; lean_object* v_nextMacroScope_2461_; lean_object* v_ngen_2462_; lean_object* v_auxDeclNGen_2463_; lean_object* v_traceState_2464_; lean_object* v_messages_2465_; lean_object* v_infoState_2466_; lean_object* v_snapshotTasks_2467_; lean_object* v___x_2469_; uint8_t v_isShared_2470_; uint8_t v_isSharedCheck_2493_; -v___x_2460_ = lean_st_ref_take(v___y_2458_); -v_nextMacroScope_2461_ = lean_ctor_get(v___x_2460_, 1); -v_ngen_2462_ = lean_ctor_get(v___x_2460_, 2); -v_auxDeclNGen_2463_ = lean_ctor_get(v___x_2460_, 3); -v_traceState_2464_ = lean_ctor_get(v___x_2460_, 4); -v_messages_2465_ = lean_ctor_get(v___x_2460_, 6); -v_infoState_2466_ = lean_ctor_get(v___x_2460_, 7); -v_snapshotTasks_2467_ = lean_ctor_get(v___x_2460_, 8); -v_isSharedCheck_2493_ = !lean_is_exclusive(v___x_2460_); -if (v_isSharedCheck_2493_ == 0) +lean_object* v___x_2514_; lean_object* v_nextMacroScope_2515_; lean_object* v_ngen_2516_; lean_object* v_auxDeclNGen_2517_; lean_object* v_traceState_2518_; lean_object* v_messages_2519_; lean_object* v_infoState_2520_; lean_object* v_snapshotTasks_2521_; lean_object* v___x_2523_; uint8_t v_isShared_2524_; uint8_t v_isSharedCheck_2547_; +v___x_2514_ = lean_st_ref_take(v___y_2512_); +v_nextMacroScope_2515_ = lean_ctor_get(v___x_2514_, 1); +v_ngen_2516_ = lean_ctor_get(v___x_2514_, 2); +v_auxDeclNGen_2517_ = lean_ctor_get(v___x_2514_, 3); +v_traceState_2518_ = lean_ctor_get(v___x_2514_, 4); +v_messages_2519_ = lean_ctor_get(v___x_2514_, 6); +v_infoState_2520_ = lean_ctor_get(v___x_2514_, 7); +v_snapshotTasks_2521_ = lean_ctor_get(v___x_2514_, 8); +v_isSharedCheck_2547_ = !lean_is_exclusive(v___x_2514_); +if (v_isSharedCheck_2547_ == 0) { -lean_object* v_unused_2494_; lean_object* v_unused_2495_; -v_unused_2494_ = lean_ctor_get(v___x_2460_, 5); -lean_dec(v_unused_2494_); -v_unused_2495_ = lean_ctor_get(v___x_2460_, 0); -lean_dec(v_unused_2495_); -v___x_2469_ = v___x_2460_; -v_isShared_2470_ = v_isSharedCheck_2493_; -goto v_resetjp_2468_; -} -else -{ -lean_inc(v_snapshotTasks_2467_); -lean_inc(v_infoState_2466_); -lean_inc(v_messages_2465_); -lean_inc(v_traceState_2464_); -lean_inc(v_auxDeclNGen_2463_); -lean_inc(v_ngen_2462_); -lean_inc(v_nextMacroScope_2461_); -lean_dec(v___x_2460_); -v___x_2469_ = lean_box(0); -v_isShared_2470_ = v_isSharedCheck_2493_; -goto v_resetjp_2468_; -} -v_resetjp_2468_: -{ -lean_object* v___x_2471_; lean_object* v___x_2473_; -v___x_2471_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2); -if (v_isShared_2470_ == 0) -{ -lean_ctor_set(v___x_2469_, 5, v___x_2471_); -lean_ctor_set(v___x_2469_, 0, v_env_2456_); -v___x_2473_ = v___x_2469_; -goto v_reusejp_2472_; -} -else -{ -lean_object* v_reuseFailAlloc_2492_; -v_reuseFailAlloc_2492_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2492_, 0, v_env_2456_); -lean_ctor_set(v_reuseFailAlloc_2492_, 1, v_nextMacroScope_2461_); -lean_ctor_set(v_reuseFailAlloc_2492_, 2, v_ngen_2462_); -lean_ctor_set(v_reuseFailAlloc_2492_, 3, v_auxDeclNGen_2463_); -lean_ctor_set(v_reuseFailAlloc_2492_, 4, v_traceState_2464_); -lean_ctor_set(v_reuseFailAlloc_2492_, 5, v___x_2471_); -lean_ctor_set(v_reuseFailAlloc_2492_, 6, v_messages_2465_); -lean_ctor_set(v_reuseFailAlloc_2492_, 7, v_infoState_2466_); -lean_ctor_set(v_reuseFailAlloc_2492_, 8, v_snapshotTasks_2467_); -v___x_2473_ = v_reuseFailAlloc_2492_; -goto v_reusejp_2472_; -} -v_reusejp_2472_: -{ -lean_object* v___x_2474_; lean_object* v___x_2475_; lean_object* v_mctx_2476_; lean_object* v_zetaDeltaFVarIds_2477_; lean_object* v_postponed_2478_; lean_object* v_diag_2479_; lean_object* v___x_2481_; uint8_t v_isShared_2482_; uint8_t v_isSharedCheck_2490_; -v___x_2474_ = lean_st_ref_set(v___y_2458_, v___x_2473_); -v___x_2475_ = lean_st_ref_take(v___y_2457_); -v_mctx_2476_ = lean_ctor_get(v___x_2475_, 0); -v_zetaDeltaFVarIds_2477_ = lean_ctor_get(v___x_2475_, 2); -v_postponed_2478_ = lean_ctor_get(v___x_2475_, 3); -v_diag_2479_ = lean_ctor_get(v___x_2475_, 4); -v_isSharedCheck_2490_ = !lean_is_exclusive(v___x_2475_); -if (v_isSharedCheck_2490_ == 0) -{ -lean_object* v_unused_2491_; -v_unused_2491_ = lean_ctor_get(v___x_2475_, 1); -lean_dec(v_unused_2491_); -v___x_2481_ = v___x_2475_; -v_isShared_2482_ = v_isSharedCheck_2490_; -goto v_resetjp_2480_; -} -else -{ -lean_inc(v_diag_2479_); -lean_inc(v_postponed_2478_); -lean_inc(v_zetaDeltaFVarIds_2477_); -lean_inc(v_mctx_2476_); -lean_dec(v___x_2475_); -v___x_2481_ = lean_box(0); -v_isShared_2482_ = v_isSharedCheck_2490_; -goto v_resetjp_2480_; -} -v_resetjp_2480_: -{ -lean_object* v___x_2483_; lean_object* v___x_2485_; -v___x_2483_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3); -if (v_isShared_2482_ == 0) -{ -lean_ctor_set(v___x_2481_, 1, v___x_2483_); -v___x_2485_ = v___x_2481_; -goto v_reusejp_2484_; -} -else -{ -lean_object* v_reuseFailAlloc_2489_; -v_reuseFailAlloc_2489_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_2489_, 0, v_mctx_2476_); -lean_ctor_set(v_reuseFailAlloc_2489_, 1, v___x_2483_); -lean_ctor_set(v_reuseFailAlloc_2489_, 2, v_zetaDeltaFVarIds_2477_); -lean_ctor_set(v_reuseFailAlloc_2489_, 3, v_postponed_2478_); -lean_ctor_set(v_reuseFailAlloc_2489_, 4, v_diag_2479_); -v___x_2485_ = v_reuseFailAlloc_2489_; -goto v_reusejp_2484_; -} -v_reusejp_2484_: -{ -lean_object* v___x_2486_; lean_object* v___x_2487_; lean_object* v___x_2488_; -v___x_2486_ = lean_st_ref_set(v___y_2457_, v___x_2485_); -v___x_2487_ = lean_box(0); -v___x_2488_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2488_, 0, v___x_2487_); -return v___x_2488_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___boxed(lean_object* v_env_2496_, lean_object* v___y_2497_, lean_object* v___y_2498_, lean_object* v___y_2499_){ -_start: -{ -lean_object* v_res_2500_; -v_res_2500_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2496_, v___y_2497_, v___y_2498_); -lean_dec(v___y_2498_); -lean_dec(v___y_2497_); -return v_res_2500_; -} -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(lean_object* v_env_2501_, lean_object* v_x_2502_, lean_object* v___y_2503_, lean_object* v___y_2504_, lean_object* v___y_2505_, lean_object* v___y_2506_, lean_object* v___y_2507_, lean_object* v___y_2508_){ -_start: -{ -lean_object* v___x_2510_; lean_object* v_env_2511_; lean_object* v_a_2513_; lean_object* v___x_2523_; lean_object* v___x_2524_; -v___x_2510_ = lean_st_ref_get(v___y_2508_); -v_env_2511_ = lean_ctor_get(v___x_2510_, 0); -lean_inc_ref(v_env_2511_); -lean_dec(v___x_2510_); -v___x_2523_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2501_, v___y_2506_, v___y_2508_); -lean_dec_ref(v___x_2523_); -lean_inc(v___y_2508_); -lean_inc(v___y_2506_); -v___x_2524_ = lean_apply_7(v_x_2502_, v___y_2503_, v___y_2504_, v___y_2505_, v___y_2506_, v___y_2507_, v___y_2508_, lean_box(0)); -if (lean_obj_tag(v___x_2524_) == 0) -{ -lean_object* v_a_2525_; lean_object* v___x_2526_; lean_object* v___x_2528_; uint8_t v_isShared_2529_; uint8_t v_isSharedCheck_2533_; -v_a_2525_ = lean_ctor_get(v___x_2524_, 0); -lean_inc(v_a_2525_); -lean_dec_ref(v___x_2524_); -v___x_2526_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2511_, v___y_2506_, v___y_2508_); -lean_dec(v___y_2508_); -lean_dec(v___y_2506_); -v_isSharedCheck_2533_ = !lean_is_exclusive(v___x_2526_); -if (v_isSharedCheck_2533_ == 0) -{ -lean_object* v_unused_2534_; -v_unused_2534_ = lean_ctor_get(v___x_2526_, 0); -lean_dec(v_unused_2534_); -v___x_2528_ = v___x_2526_; -v_isShared_2529_ = v_isSharedCheck_2533_; -goto v_resetjp_2527_; -} -else -{ -lean_dec(v___x_2526_); -v___x_2528_ = lean_box(0); -v_isShared_2529_ = v_isSharedCheck_2533_; -goto v_resetjp_2527_; -} -v_resetjp_2527_: -{ -lean_object* v___x_2531_; -if (v_isShared_2529_ == 0) -{ -lean_ctor_set(v___x_2528_, 0, v_a_2525_); -v___x_2531_ = v___x_2528_; -goto v_reusejp_2530_; -} -else -{ -lean_object* v_reuseFailAlloc_2532_; -v_reuseFailAlloc_2532_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2532_, 0, v_a_2525_); -v___x_2531_ = v_reuseFailAlloc_2532_; -goto v_reusejp_2530_; -} -v_reusejp_2530_: -{ -return v___x_2531_; -} -} -} -else -{ -lean_object* v_a_2535_; -v_a_2535_ = lean_ctor_get(v___x_2524_, 0); -lean_inc(v_a_2535_); -lean_dec_ref(v___x_2524_); -v_a_2513_ = v_a_2535_; -goto v___jp_2512_; -} -v___jp_2512_: -{ -lean_object* v___x_2514_; lean_object* v___x_2516_; uint8_t v_isShared_2517_; uint8_t v_isSharedCheck_2521_; -v___x_2514_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2511_, v___y_2506_, v___y_2508_); -lean_dec(v___y_2508_); -lean_dec(v___y_2506_); -v_isSharedCheck_2521_ = !lean_is_exclusive(v___x_2514_); -if (v_isSharedCheck_2521_ == 0) -{ -lean_object* v_unused_2522_; -v_unused_2522_ = lean_ctor_get(v___x_2514_, 0); -lean_dec(v_unused_2522_); -v___x_2516_ = v___x_2514_; -v_isShared_2517_ = v_isSharedCheck_2521_; -goto v_resetjp_2515_; +lean_object* v_unused_2548_; lean_object* v_unused_2549_; +v_unused_2548_ = lean_ctor_get(v___x_2514_, 5); +lean_dec(v_unused_2548_); +v_unused_2549_ = lean_ctor_get(v___x_2514_, 0); +lean_dec(v_unused_2549_); +v___x_2523_ = v___x_2514_; +v_isShared_2524_ = v_isSharedCheck_2547_; +goto v_resetjp_2522_; } else { +lean_inc(v_snapshotTasks_2521_); +lean_inc(v_infoState_2520_); +lean_inc(v_messages_2519_); +lean_inc(v_traceState_2518_); +lean_inc(v_auxDeclNGen_2517_); +lean_inc(v_ngen_2516_); +lean_inc(v_nextMacroScope_2515_); lean_dec(v___x_2514_); -v___x_2516_ = lean_box(0); -v_isShared_2517_ = v_isSharedCheck_2521_; -goto v_resetjp_2515_; +v___x_2523_ = lean_box(0); +v_isShared_2524_ = v_isSharedCheck_2547_; +goto v_resetjp_2522_; } -v_resetjp_2515_: +v_resetjp_2522_: { -lean_object* v___x_2519_; -if (v_isShared_2517_ == 0) +lean_object* v___x_2525_; lean_object* v___x_2527_; +v___x_2525_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2); +if (v_isShared_2524_ == 0) { -lean_ctor_set_tag(v___x_2516_, 1); -lean_ctor_set(v___x_2516_, 0, v_a_2513_); -v___x_2519_ = v___x_2516_; -goto v_reusejp_2518_; +lean_ctor_set(v___x_2523_, 5, v___x_2525_); +lean_ctor_set(v___x_2523_, 0, v_env_2510_); +v___x_2527_ = v___x_2523_; +goto v_reusejp_2526_; } else { -lean_object* v_reuseFailAlloc_2520_; -v_reuseFailAlloc_2520_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2520_, 0, v_a_2513_); -v___x_2519_ = v_reuseFailAlloc_2520_; -goto v_reusejp_2518_; +lean_object* v_reuseFailAlloc_2546_; +v_reuseFailAlloc_2546_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2546_, 0, v_env_2510_); +lean_ctor_set(v_reuseFailAlloc_2546_, 1, v_nextMacroScope_2515_); +lean_ctor_set(v_reuseFailAlloc_2546_, 2, v_ngen_2516_); +lean_ctor_set(v_reuseFailAlloc_2546_, 3, v_auxDeclNGen_2517_); +lean_ctor_set(v_reuseFailAlloc_2546_, 4, v_traceState_2518_); +lean_ctor_set(v_reuseFailAlloc_2546_, 5, v___x_2525_); +lean_ctor_set(v_reuseFailAlloc_2546_, 6, v_messages_2519_); +lean_ctor_set(v_reuseFailAlloc_2546_, 7, v_infoState_2520_); +lean_ctor_set(v_reuseFailAlloc_2546_, 8, v_snapshotTasks_2521_); +v___x_2527_ = v_reuseFailAlloc_2546_; +goto v_reusejp_2526_; } -v_reusejp_2518_: +v_reusejp_2526_: { -return v___x_2519_; +lean_object* v___x_2528_; lean_object* v___x_2529_; lean_object* v_mctx_2530_; lean_object* v_zetaDeltaFVarIds_2531_; lean_object* v_postponed_2532_; lean_object* v_diag_2533_; lean_object* v___x_2535_; uint8_t v_isShared_2536_; uint8_t v_isSharedCheck_2544_; +v___x_2528_ = lean_st_ref_set(v___y_2512_, v___x_2527_); +v___x_2529_ = lean_st_ref_take(v___y_2511_); +v_mctx_2530_ = lean_ctor_get(v___x_2529_, 0); +v_zetaDeltaFVarIds_2531_ = lean_ctor_get(v___x_2529_, 2); +v_postponed_2532_ = lean_ctor_get(v___x_2529_, 3); +v_diag_2533_ = lean_ctor_get(v___x_2529_, 4); +v_isSharedCheck_2544_ = !lean_is_exclusive(v___x_2529_); +if (v_isSharedCheck_2544_ == 0) +{ +lean_object* v_unused_2545_; +v_unused_2545_ = lean_ctor_get(v___x_2529_, 1); +lean_dec(v_unused_2545_); +v___x_2535_ = v___x_2529_; +v_isShared_2536_ = v_isSharedCheck_2544_; +goto v_resetjp_2534_; +} +else +{ +lean_inc(v_diag_2533_); +lean_inc(v_postponed_2532_); +lean_inc(v_zetaDeltaFVarIds_2531_); +lean_inc(v_mctx_2530_); +lean_dec(v___x_2529_); +v___x_2535_ = lean_box(0); +v_isShared_2536_ = v_isSharedCheck_2544_; +goto v_resetjp_2534_; +} +v_resetjp_2534_: +{ +lean_object* v___x_2537_; lean_object* v___x_2539_; +v___x_2537_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3); +if (v_isShared_2536_ == 0) +{ +lean_ctor_set(v___x_2535_, 1, v___x_2537_); +v___x_2539_ = v___x_2535_; +goto v_reusejp_2538_; +} +else +{ +lean_object* v_reuseFailAlloc_2543_; +v_reuseFailAlloc_2543_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_2543_, 0, v_mctx_2530_); +lean_ctor_set(v_reuseFailAlloc_2543_, 1, v___x_2537_); +lean_ctor_set(v_reuseFailAlloc_2543_, 2, v_zetaDeltaFVarIds_2531_); +lean_ctor_set(v_reuseFailAlloc_2543_, 3, v_postponed_2532_); +lean_ctor_set(v_reuseFailAlloc_2543_, 4, v_diag_2533_); +v___x_2539_ = v_reuseFailAlloc_2543_; +goto v_reusejp_2538_; +} +v_reusejp_2538_: +{ +lean_object* v___x_2540_; lean_object* v___x_2541_; lean_object* v___x_2542_; +v___x_2540_ = lean_st_ref_set(v___y_2511_, v___x_2539_); +v___x_2541_ = lean_box(0); +v___x_2542_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2542_, 0, v___x_2541_); +return v___x_2542_; } } } } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg___boxed(lean_object* v_env_2536_, lean_object* v_x_2537_, lean_object* v___y_2538_, lean_object* v___y_2539_, lean_object* v___y_2540_, lean_object* v___y_2541_, lean_object* v___y_2542_, lean_object* v___y_2543_, lean_object* v___y_2544_){ +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___boxed(lean_object* v_env_2550_, lean_object* v___y_2551_, lean_object* v___y_2552_, lean_object* v___y_2553_){ _start: { -lean_object* v_res_2545_; -v_res_2545_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2536_, v_x_2537_, v___y_2538_, v___y_2539_, v___y_2540_, v___y_2541_, v___y_2542_, v___y_2543_); -return v_res_2545_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1(lean_object* v_declName_2546_, lean_object* v_env_2547_, lean_object* v_addInfo_2548_, lean_object* v_____r_2549_, lean_object* v___y_2550_, lean_object* v___y_2551_, lean_object* v___y_2552_, lean_object* v___y_2553_, lean_object* v___y_2554_, lean_object* v___y_2555_){ -_start: -{ -lean_object* v___x_2557_; -v___x_2557_ = lean_private_to_user_name(v_declName_2546_); -if (lean_obj_tag(v___x_2557_) == 0) -{ -lean_object* v___x_2558_; lean_object* v___x_2559_; -lean_dec(v___y_2555_); -lean_dec_ref(v___y_2554_); -lean_dec(v___y_2553_); -lean_dec_ref(v___y_2552_); +lean_object* v_res_2554_; +v_res_2554_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2550_, v___y_2551_, v___y_2552_); +lean_dec(v___y_2552_); lean_dec(v___y_2551_); -lean_dec_ref(v___y_2550_); -lean_dec_ref(v_addInfo_2548_); -lean_dec_ref(v_env_2547_); -v___x_2558_ = lean_box(0); -v___x_2559_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2559_, 0, v___x_2558_); -return v___x_2559_; -} -else -{ -lean_object* v_val_2560_; lean_object* v___x_2562_; uint8_t v_isShared_2563_; uint8_t v_isSharedCheck_2577_; -v_val_2560_ = lean_ctor_get(v___x_2557_, 0); -v_isSharedCheck_2577_ = !lean_is_exclusive(v___x_2557_); -if (v_isSharedCheck_2577_ == 0) -{ -v___x_2562_ = v___x_2557_; -v_isShared_2563_ = v_isSharedCheck_2577_; -goto v_resetjp_2561_; -} -else -{ -lean_inc(v_val_2560_); -lean_dec(v___x_2557_); -v___x_2562_ = lean_box(0); -v_isShared_2563_ = v_isSharedCheck_2577_; -goto v_resetjp_2561_; -} -v_resetjp_2561_: -{ -uint8_t v___x_2564_; uint8_t v___x_2565_; -v___x_2564_ = 1; -lean_inc(v_val_2560_); -v___x_2565_ = l_Lean_Environment_contains(v_env_2547_, v_val_2560_, v___x_2564_); -if (v___x_2565_ == 0) -{ -lean_object* v___x_2566_; lean_object* v___x_2568_; -lean_dec(v_val_2560_); -lean_dec(v___y_2555_); -lean_dec_ref(v___y_2554_); -lean_dec(v___y_2553_); -lean_dec_ref(v___y_2552_); -lean_dec(v___y_2551_); -lean_dec_ref(v___y_2550_); -lean_dec_ref(v_addInfo_2548_); -v___x_2566_ = lean_box(0); -if (v_isShared_2563_ == 0) -{ -lean_ctor_set_tag(v___x_2562_, 0); -lean_ctor_set(v___x_2562_, 0, v___x_2566_); -v___x_2568_ = v___x_2562_; -goto v_reusejp_2567_; -} -else -{ -lean_object* v_reuseFailAlloc_2569_; -v_reuseFailAlloc_2569_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2569_, 0, v___x_2566_); -v___x_2568_ = v_reuseFailAlloc_2569_; -goto v_reusejp_2567_; -} -v_reusejp_2567_: -{ -return v___x_2568_; +return v_res_2554_; } } -else -{ -lean_object* v___x_2570_; -lean_del_object(v___x_2562_); -lean_inc(v___y_2555_); -lean_inc_ref(v___y_2554_); -lean_inc(v___y_2553_); -lean_inc_ref(v___y_2552_); -lean_inc(v___y_2551_); -lean_inc_ref(v___y_2550_); -lean_inc(v_val_2560_); -v___x_2570_ = lean_apply_8(v_addInfo_2548_, v_val_2560_, v___y_2550_, v___y_2551_, v___y_2552_, v___y_2553_, v___y_2554_, v___y_2555_, lean_box(0)); -if (lean_obj_tag(v___x_2570_) == 0) -{ -lean_object* v___x_2571_; lean_object* v___x_2572_; lean_object* v___x_2573_; lean_object* v___x_2574_; lean_object* v___x_2575_; lean_object* v___x_2576_; -lean_dec_ref(v___x_2570_); -v___x_2571_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1); -v___x_2572_ = l_Lean_MessageData_ofConstName(v_val_2560_, v___x_2564_); -v___x_2573_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2573_, 0, v___x_2571_); -lean_ctor_set(v___x_2573_, 1, v___x_2572_); -v___x_2574_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); -v___x_2575_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2575_, 0, v___x_2573_); -lean_ctor_set(v___x_2575_, 1, v___x_2574_); -v___x_2576_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2575_, v___y_2550_, v___y_2551_, v___y_2552_, v___y_2553_, v___y_2554_, v___y_2555_); -lean_dec(v___y_2555_); -lean_dec_ref(v___y_2554_); -lean_dec(v___y_2553_); -lean_dec_ref(v___y_2552_); -lean_dec(v___y_2551_); -return v___x_2576_; -} -else -{ -lean_dec(v_val_2560_); -lean_dec(v___y_2555_); -lean_dec_ref(v___y_2554_); -lean_dec(v___y_2553_); -lean_dec_ref(v___y_2552_); -lean_dec(v___y_2551_); -lean_dec_ref(v___y_2550_); -return v___x_2570_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1___boxed(lean_object* v_declName_2578_, lean_object* v_env_2579_, lean_object* v_addInfo_2580_, lean_object* v_____r_2581_, lean_object* v___y_2582_, lean_object* v___y_2583_, lean_object* v___y_2584_, lean_object* v___y_2585_, lean_object* v___y_2586_, lean_object* v___y_2587_, lean_object* v___y_2588_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(lean_object* v_env_2555_, lean_object* v_x_2556_, lean_object* v___y_2557_, lean_object* v___y_2558_, lean_object* v___y_2559_, lean_object* v___y_2560_, lean_object* v___y_2561_, lean_object* v___y_2562_){ _start: { -lean_object* v_res_2589_; -v_res_2589_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1(v_declName_2578_, v_env_2579_, v_addInfo_2580_, v_____r_2581_, v___y_2582_, v___y_2583_, v___y_2584_, v___y_2585_, v___y_2586_, v___y_2587_); -return v_res_2589_; +lean_object* v___x_2564_; lean_object* v_env_2565_; lean_object* v_a_2567_; lean_object* v___x_2577_; lean_object* v___x_2578_; +v___x_2564_ = lean_st_ref_get(v___y_2562_); +v_env_2565_ = lean_ctor_get(v___x_2564_, 0); +lean_inc_ref(v_env_2565_); +lean_dec(v___x_2564_); +v___x_2577_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2555_, v___y_2560_, v___y_2562_); +lean_dec_ref(v___x_2577_); +lean_inc(v___y_2562_); +lean_inc(v___y_2560_); +v___x_2578_ = lean_apply_7(v_x_2556_, v___y_2557_, v___y_2558_, v___y_2559_, v___y_2560_, v___y_2561_, v___y_2562_, lean_box(0)); +if (lean_obj_tag(v___x_2578_) == 0) +{ +lean_object* v_a_2579_; lean_object* v___x_2580_; lean_object* v___x_2582_; uint8_t v_isShared_2583_; uint8_t v_isSharedCheck_2587_; +v_a_2579_ = lean_ctor_get(v___x_2578_, 0); +lean_inc(v_a_2579_); +lean_dec_ref(v___x_2578_); +v___x_2580_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2565_, v___y_2560_, v___y_2562_); +lean_dec(v___y_2562_); +lean_dec(v___y_2560_); +v_isSharedCheck_2587_ = !lean_is_exclusive(v___x_2580_); +if (v_isSharedCheck_2587_ == 0) +{ +lean_object* v_unused_2588_; +v_unused_2588_ = lean_ctor_get(v___x_2580_, 0); +lean_dec(v_unused_2588_); +v___x_2582_ = v___x_2580_; +v_isShared_2583_ = v_isSharedCheck_2587_; +goto v_resetjp_2581_; +} +else +{ +lean_dec(v___x_2580_); +v___x_2582_ = lean_box(0); +v_isShared_2583_ = v_isSharedCheck_2587_; +goto v_resetjp_2581_; +} +v_resetjp_2581_: +{ +lean_object* v___x_2585_; +if (v_isShared_2583_ == 0) +{ +lean_ctor_set(v___x_2582_, 0, v_a_2579_); +v___x_2585_ = v___x_2582_; +goto v_reusejp_2584_; +} +else +{ +lean_object* v_reuseFailAlloc_2586_; +v_reuseFailAlloc_2586_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2586_, 0, v_a_2579_); +v___x_2585_ = v_reuseFailAlloc_2586_; +goto v_reusejp_2584_; +} +v_reusejp_2584_: +{ +return v___x_2585_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5(lean_object* v_addInfo_2590_, lean_object* v_declName_2591_, uint8_t v___x_2592_, lean_object* v___f_2593_, uint8_t v___x_2594_, lean_object* v_env_2595_, lean_object* v___f_2596_, lean_object* v___y_2597_, lean_object* v___y_2598_, lean_object* v___y_2599_, lean_object* v___y_2600_, lean_object* v___y_2601_, lean_object* v___y_2602_){ +} +else +{ +lean_object* v_a_2589_; +v_a_2589_ = lean_ctor_get(v___x_2578_, 0); +lean_inc(v_a_2589_); +lean_dec_ref(v___x_2578_); +v_a_2567_ = v_a_2589_; +goto v___jp_2566_; +} +v___jp_2566_: +{ +lean_object* v___x_2568_; lean_object* v___x_2570_; uint8_t v_isShared_2571_; uint8_t v_isSharedCheck_2575_; +v___x_2568_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_2565_, v___y_2560_, v___y_2562_); +lean_dec(v___y_2562_); +lean_dec(v___y_2560_); +v_isSharedCheck_2575_ = !lean_is_exclusive(v___x_2568_); +if (v_isSharedCheck_2575_ == 0) +{ +lean_object* v_unused_2576_; +v_unused_2576_ = lean_ctor_get(v___x_2568_, 0); +lean_dec(v_unused_2576_); +v___x_2570_ = v___x_2568_; +v_isShared_2571_ = v_isSharedCheck_2575_; +goto v_resetjp_2569_; +} +else +{ +lean_dec(v___x_2568_); +v___x_2570_ = lean_box(0); +v_isShared_2571_ = v_isSharedCheck_2575_; +goto v_resetjp_2569_; +} +v_resetjp_2569_: +{ +lean_object* v___x_2573_; +if (v_isShared_2571_ == 0) +{ +lean_ctor_set_tag(v___x_2570_, 1); +lean_ctor_set(v___x_2570_, 0, v_a_2567_); +v___x_2573_ = v___x_2570_; +goto v_reusejp_2572_; +} +else +{ +lean_object* v_reuseFailAlloc_2574_; +v_reuseFailAlloc_2574_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2574_, 0, v_a_2567_); +v___x_2573_ = v_reuseFailAlloc_2574_; +goto v_reusejp_2572_; +} +v_reusejp_2572_: +{ +return v___x_2573_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg___boxed(lean_object* v_env_2590_, lean_object* v_x_2591_, lean_object* v___y_2592_, lean_object* v___y_2593_, lean_object* v___y_2594_, lean_object* v___y_2595_, lean_object* v___y_2596_, lean_object* v___y_2597_, lean_object* v___y_2598_){ _start: { -lean_object* v___x_2604_; -lean_inc(v___y_2602_); -lean_inc_ref(v___y_2601_); -lean_inc(v___y_2600_); -lean_inc_ref(v___y_2599_); -lean_inc(v___y_2598_); -lean_inc_ref(v___y_2597_); -lean_inc(v_declName_2591_); -v___x_2604_ = lean_apply_8(v_addInfo_2590_, v_declName_2591_, v___y_2597_, v___y_2598_, v___y_2599_, v___y_2600_, v___y_2601_, v___y_2602_, lean_box(0)); -if (lean_obj_tag(v___x_2604_) == 0) -{ -lean_object* v___x_2605_; -lean_dec_ref(v___x_2604_); -lean_inc(v_declName_2591_); -v___x_2605_ = lean_private_to_user_name(v_declName_2591_); -if (lean_obj_tag(v___x_2605_) == 0) -{ -lean_object* v___x_2606_; lean_object* v___x_2607_; lean_object* v___x_2608_; lean_object* v___x_2609_; lean_object* v___x_2610_; lean_object* v___x_2611_; -v___x_2606_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_2607_ = l_Lean_MessageData_ofConstName(v_declName_2591_, v___x_2592_); -v___x_2608_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2608_, 0, v___x_2606_); -lean_ctor_set(v___x_2608_, 1, v___x_2607_); -v___x_2609_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); -v___x_2610_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2610_, 0, v___x_2608_); -lean_ctor_set(v___x_2610_, 1, v___x_2609_); -v___x_2611_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2610_, v___y_2597_, v___y_2598_, v___y_2599_, v___y_2600_, v___y_2601_, v___y_2602_); -lean_dec(v___y_2602_); -lean_dec_ref(v___y_2601_); -lean_dec(v___y_2600_); -lean_dec_ref(v___y_2599_); -lean_dec(v___y_2598_); -return v___x_2611_; -} -else -{ -lean_object* v_val_2612_; lean_object* v___x_2613_; lean_object* v___x_2614_; lean_object* v___x_2615_; lean_object* v___x_2616_; lean_object* v___x_2617_; lean_object* v___x_2618_; -lean_dec(v_declName_2591_); -v_val_2612_ = lean_ctor_get(v___x_2605_, 0); -lean_inc(v_val_2612_); -lean_dec_ref(v___x_2605_); -v___x_2613_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1); -v___x_2614_ = l_Lean_MessageData_ofConstName(v_val_2612_, v___x_2592_); -v___x_2615_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2615_, 0, v___x_2613_); -lean_ctor_set(v___x_2615_, 1, v___x_2614_); -v___x_2616_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); -v___x_2617_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2617_, 0, v___x_2615_); -lean_ctor_set(v___x_2617_, 1, v___x_2616_); -v___x_2618_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2617_, v___y_2597_, v___y_2598_, v___y_2599_, v___y_2600_, v___y_2601_, v___y_2602_); -lean_dec(v___y_2602_); -lean_dec_ref(v___y_2601_); -lean_dec(v___y_2600_); -lean_dec_ref(v___y_2599_); -lean_dec(v___y_2598_); -return v___x_2618_; +lean_object* v_res_2599_; +v_res_2599_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2590_, v_x_2591_, v___y_2592_, v___y_2593_, v___y_2594_, v___y_2595_, v___y_2596_, v___y_2597_); +return v_res_2599_; } } -else -{ -lean_dec(v___y_2602_); -lean_dec_ref(v___y_2601_); -lean_dec(v___y_2600_); -lean_dec_ref(v___y_2599_); -lean_dec(v___y_2598_); -lean_dec_ref(v___y_2597_); -lean_dec(v_declName_2591_); -return v___x_2604_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5___boxed(lean_object* v_addInfo_2619_, lean_object* v_declName_2620_, lean_object* v___x_2621_, lean_object* v___f_2622_, lean_object* v___x_2623_, lean_object* v_env_2624_, lean_object* v___f_2625_, lean_object* v___y_2626_, lean_object* v___y_2627_, lean_object* v___y_2628_, lean_object* v___y_2629_, lean_object* v___y_2630_, lean_object* v___y_2631_, lean_object* v___y_2632_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1(lean_object* v_declName_2600_, lean_object* v_env_2601_, lean_object* v_addInfo_2602_, lean_object* v_____r_2603_, lean_object* v___y_2604_, lean_object* v___y_2605_, lean_object* v___y_2606_, lean_object* v___y_2607_, lean_object* v___y_2608_, lean_object* v___y_2609_){ _start: { -uint8_t v___x_19127__boxed_2633_; uint8_t v___x_19129__boxed_2634_; lean_object* v_res_2635_; -v___x_19127__boxed_2633_ = lean_unbox(v___x_2621_); -v___x_19129__boxed_2634_ = lean_unbox(v___x_2623_); -v_res_2635_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5(v_addInfo_2619_, v_declName_2620_, v___x_19127__boxed_2633_, v___f_2622_, v___x_19129__boxed_2634_, v_env_2624_, v___f_2625_, v___y_2626_, v___y_2627_, v___y_2628_, v___y_2629_, v___y_2630_, v___y_2631_); -lean_dec_ref(v___f_2625_); -lean_dec_ref(v_env_2624_); -lean_dec_ref(v___f_2622_); -return v_res_2635_; +lean_object* v___x_2611_; +v___x_2611_ = lean_private_to_user_name(v_declName_2600_); +if (lean_obj_tag(v___x_2611_) == 0) +{ +lean_object* v___x_2612_; lean_object* v___x_2613_; +lean_dec(v___y_2609_); +lean_dec_ref(v___y_2608_); +lean_dec(v___y_2607_); +lean_dec_ref(v___y_2606_); +lean_dec(v___y_2605_); +lean_dec_ref(v___y_2604_); +lean_dec_ref(v_addInfo_2602_); +lean_dec_ref(v_env_2601_); +v___x_2612_ = lean_box(0); +v___x_2613_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2613_, 0, v___x_2612_); +return v___x_2613_; +} +else +{ +lean_object* v_val_2614_; lean_object* v___x_2616_; uint8_t v_isShared_2617_; uint8_t v_isSharedCheck_2631_; +v_val_2614_ = lean_ctor_get(v___x_2611_, 0); +v_isSharedCheck_2631_ = !lean_is_exclusive(v___x_2611_); +if (v_isSharedCheck_2631_ == 0) +{ +v___x_2616_ = v___x_2611_; +v_isShared_2617_ = v_isSharedCheck_2631_; +goto v_resetjp_2615_; +} +else +{ +lean_inc(v_val_2614_); +lean_dec(v___x_2611_); +v___x_2616_ = lean_box(0); +v_isShared_2617_ = v_isSharedCheck_2631_; +goto v_resetjp_2615_; +} +v_resetjp_2615_: +{ +uint8_t v___x_2618_; uint8_t v___x_2619_; +v___x_2618_ = 1; +lean_inc(v_val_2614_); +v___x_2619_ = l_Lean_Environment_contains(v_env_2601_, v_val_2614_, v___x_2618_); +if (v___x_2619_ == 0) +{ +lean_object* v___x_2620_; lean_object* v___x_2622_; +lean_dec(v_val_2614_); +lean_dec(v___y_2609_); +lean_dec_ref(v___y_2608_); +lean_dec(v___y_2607_); +lean_dec_ref(v___y_2606_); +lean_dec(v___y_2605_); +lean_dec_ref(v___y_2604_); +lean_dec_ref(v_addInfo_2602_); +v___x_2620_ = lean_box(0); +if (v_isShared_2617_ == 0) +{ +lean_ctor_set_tag(v___x_2616_, 0); +lean_ctor_set(v___x_2616_, 0, v___x_2620_); +v___x_2622_ = v___x_2616_; +goto v_reusejp_2621_; +} +else +{ +lean_object* v_reuseFailAlloc_2623_; +v_reuseFailAlloc_2623_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2623_, 0, v___x_2620_); +v___x_2622_ = v_reuseFailAlloc_2623_; +goto v_reusejp_2621_; +} +v_reusejp_2621_: +{ +return v___x_2622_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(lean_object* v_declName_2639_, lean_object* v___y_2640_, lean_object* v___y_2641_, lean_object* v___y_2642_, lean_object* v___y_2643_, lean_object* v___y_2644_, lean_object* v___y_2645_){ +else +{ +lean_object* v___x_2624_; +lean_del_object(v___x_2616_); +lean_inc(v___y_2609_); +lean_inc_ref(v___y_2608_); +lean_inc(v___y_2607_); +lean_inc_ref(v___y_2606_); +lean_inc(v___y_2605_); +lean_inc_ref(v___y_2604_); +lean_inc(v_val_2614_); +v___x_2624_ = lean_apply_8(v_addInfo_2602_, v_val_2614_, v___y_2604_, v___y_2605_, v___y_2606_, v___y_2607_, v___y_2608_, v___y_2609_, lean_box(0)); +if (lean_obj_tag(v___x_2624_) == 0) +{ +lean_object* v___x_2625_; lean_object* v___x_2626_; lean_object* v___x_2627_; lean_object* v___x_2628_; lean_object* v___x_2629_; lean_object* v___x_2630_; +lean_dec_ref(v___x_2624_); +v___x_2625_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__1); +v___x_2626_ = l_Lean_MessageData_ofConstName(v_val_2614_, v___x_2618_); +v___x_2627_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2627_, 0, v___x_2625_); +lean_ctor_set(v___x_2627_, 1, v___x_2626_); +v___x_2628_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); +v___x_2629_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2629_, 0, v___x_2627_); +lean_ctor_set(v___x_2629_, 1, v___x_2628_); +v___x_2630_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2629_, v___y_2604_, v___y_2605_, v___y_2606_, v___y_2607_, v___y_2608_, v___y_2609_); +lean_dec(v___y_2609_); +lean_dec_ref(v___y_2608_); +lean_dec(v___y_2607_); +lean_dec_ref(v___y_2606_); +lean_dec(v___y_2605_); +return v___x_2630_; +} +else +{ +lean_dec(v_val_2614_); +lean_dec(v___y_2609_); +lean_dec_ref(v___y_2608_); +lean_dec(v___y_2607_); +lean_dec_ref(v___y_2606_); +lean_dec(v___y_2605_); +lean_dec_ref(v___y_2604_); +return v___x_2624_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1___boxed(lean_object* v_declName_2632_, lean_object* v_env_2633_, lean_object* v_addInfo_2634_, lean_object* v_____r_2635_, lean_object* v___y_2636_, lean_object* v___y_2637_, lean_object* v___y_2638_, lean_object* v___y_2639_, lean_object* v___y_2640_, lean_object* v___y_2641_, lean_object* v___y_2642_){ _start: { -lean_object* v___x_2647_; lean_object* v_env_2648_; uint8_t v___x_2649_; lean_object* v_addInfo_2650_; lean_object* v_env_2651_; lean_object* v___f_2652_; lean_object* v___f_2653_; lean_object* v___x_2654_; lean_object* v___f_2655_; uint8_t v___x_2656_; uint8_t v___x_2657_; -v___x_2647_ = lean_st_ref_get(v___y_2645_); -v_env_2648_ = lean_ctor_get(v___x_2647_, 0); -lean_inc_ref(v_env_2648_); -lean_dec(v___x_2647_); -v___x_2649_ = 0; -v_addInfo_2650_ = ((lean_object*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___closed__0)); -v_env_2651_ = l_Lean_Environment_setExporting(v_env_2648_, v___x_2649_); -lean_inc_ref(v_env_2651_); -lean_inc(v_declName_2639_); -v___f_2652_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1___boxed), 11, 3); -lean_closure_set(v___f_2652_, 0, v_declName_2639_); -lean_closure_set(v___f_2652_, 1, v_env_2651_); -lean_closure_set(v___f_2652_, 2, v_addInfo_2650_); -lean_inc(v_declName_2639_); -lean_inc_ref(v_env_2651_); -v___f_2653_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2___boxed), 12, 4); -lean_closure_set(v___f_2653_, 0, v_env_2651_); -lean_closure_set(v___f_2653_, 1, v_declName_2639_); -lean_closure_set(v___f_2653_, 2, v___f_2652_); -lean_closure_set(v___f_2653_, 3, v_addInfo_2650_); -v___x_2654_ = lean_box(v___x_2649_); -lean_inc_ref(v_env_2651_); -lean_inc(v_declName_2639_); -lean_inc_ref(v___f_2653_); -v___f_2655_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3___boxed), 12, 4); -lean_closure_set(v___f_2655_, 0, v___f_2653_); -lean_closure_set(v___f_2655_, 1, v_declName_2639_); -lean_closure_set(v___f_2655_, 2, v___x_2654_); -lean_closure_set(v___f_2655_, 3, v_env_2651_); -v___x_2656_ = 1; -lean_inc(v_declName_2639_); -lean_inc_ref(v_env_2651_); -v___x_2657_ = l_Lean_Environment_contains(v_env_2651_, v_declName_2639_, v___x_2656_); -if (v___x_2657_ == 0) -{ -lean_object* v___f_2658_; lean_object* v___x_2659_; -lean_dec_ref(v___f_2653_); -lean_dec(v_declName_2639_); -v___f_2658_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4___boxed), 8, 1); -lean_closure_set(v___f_2658_, 0, v___f_2655_); -v___x_2659_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2651_, v___f_2658_, v___y_2640_, v___y_2641_, v___y_2642_, v___y_2643_, v___y_2644_, v___y_2645_); -return v___x_2659_; -} -else -{ -lean_object* v___x_2660_; lean_object* v___x_2661_; lean_object* v___f_2662_; lean_object* v___x_2663_; -v___x_2660_ = lean_box(v___x_2656_); -v___x_2661_ = lean_box(v___x_2649_); -lean_inc_ref(v_env_2651_); -v___f_2662_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5___boxed), 14, 7); -lean_closure_set(v___f_2662_, 0, v_addInfo_2650_); -lean_closure_set(v___f_2662_, 1, v_declName_2639_); -lean_closure_set(v___f_2662_, 2, v___x_2660_); -lean_closure_set(v___f_2662_, 3, v___f_2653_); -lean_closure_set(v___f_2662_, 4, v___x_2661_); -lean_closure_set(v___f_2662_, 5, v_env_2651_); -lean_closure_set(v___f_2662_, 6, v___f_2655_); -v___x_2663_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2651_, v___f_2662_, v___y_2640_, v___y_2641_, v___y_2642_, v___y_2643_, v___y_2644_, v___y_2645_); -return v___x_2663_; +lean_object* v_res_2643_; +v_res_2643_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1(v_declName_2632_, v_env_2633_, v_addInfo_2634_, v_____r_2635_, v___y_2636_, v___y_2637_, v___y_2638_, v___y_2639_, v___y_2640_, v___y_2641_); +return v_res_2643_; } } -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___boxed(lean_object* v_declName_2664_, lean_object* v___y_2665_, lean_object* v___y_2666_, lean_object* v___y_2667_, lean_object* v___y_2668_, lean_object* v___y_2669_, lean_object* v___y_2670_, lean_object* v___y_2671_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5(lean_object* v_addInfo_2644_, lean_object* v_declName_2645_, uint8_t v___x_2646_, lean_object* v___f_2647_, uint8_t v___x_2648_, lean_object* v_env_2649_, lean_object* v___f_2650_, lean_object* v___y_2651_, lean_object* v___y_2652_, lean_object* v___y_2653_, lean_object* v___y_2654_, lean_object* v___y_2655_, lean_object* v___y_2656_){ _start: { -lean_object* v_res_2672_; -v_res_2672_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(v_declName_2664_, v___y_2665_, v___y_2666_, v___y_2667_, v___y_2668_, v___y_2669_, v___y_2670_); -return v_res_2672_; +lean_object* v___x_2658_; +lean_inc(v___y_2656_); +lean_inc_ref(v___y_2655_); +lean_inc(v___y_2654_); +lean_inc_ref(v___y_2653_); +lean_inc(v___y_2652_); +lean_inc_ref(v___y_2651_); +lean_inc(v_declName_2645_); +v___x_2658_ = lean_apply_8(v_addInfo_2644_, v_declName_2645_, v___y_2651_, v___y_2652_, v___y_2653_, v___y_2654_, v___y_2655_, v___y_2656_, lean_box(0)); +if (lean_obj_tag(v___x_2658_) == 0) +{ +lean_object* v___x_2659_; +lean_dec_ref(v___x_2658_); +lean_inc(v_declName_2645_); +v___x_2659_ = lean_private_to_user_name(v_declName_2645_); +if (lean_obj_tag(v___x_2659_) == 0) +{ +lean_object* v___x_2660_; lean_object* v___x_2661_; lean_object* v___x_2662_; lean_object* v___x_2663_; lean_object* v___x_2664_; lean_object* v___x_2665_; +v___x_2660_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_2661_ = l_Lean_MessageData_ofConstName(v_declName_2645_, v___x_2646_); +v___x_2662_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2662_, 0, v___x_2660_); +lean_ctor_set(v___x_2662_, 1, v___x_2661_); +v___x_2663_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); +v___x_2664_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2664_, 0, v___x_2662_); +lean_ctor_set(v___x_2664_, 1, v___x_2663_); +v___x_2665_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2664_, v___y_2651_, v___y_2652_, v___y_2653_, v___y_2654_, v___y_2655_, v___y_2656_); +lean_dec(v___y_2656_); +lean_dec_ref(v___y_2655_); +lean_dec(v___y_2654_); +lean_dec_ref(v___y_2653_); +lean_dec(v___y_2652_); +return v___x_2665_; +} +else +{ +lean_object* v_val_2666_; lean_object* v___x_2667_; lean_object* v___x_2668_; lean_object* v___x_2669_; lean_object* v___x_2670_; lean_object* v___x_2671_; lean_object* v___x_2672_; +lean_dec(v_declName_2645_); +v_val_2666_ = lean_ctor_get(v___x_2659_, 0); +lean_inc(v_val_2666_); +lean_dec_ref(v___x_2659_); +v___x_2667_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__11___closed__1); +v___x_2668_ = l_Lean_MessageData_ofConstName(v_val_2666_, v___x_2646_); +v___x_2669_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2669_, 0, v___x_2667_); +lean_ctor_set(v___x_2669_, 1, v___x_2668_); +v___x_2670_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); +v___x_2671_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2671_, 0, v___x_2669_); +lean_ctor_set(v___x_2671_, 1, v___x_2670_); +v___x_2672_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2671_, v___y_2651_, v___y_2652_, v___y_2653_, v___y_2654_, v___y_2655_, v___y_2656_); +lean_dec(v___y_2656_); +lean_dec_ref(v___y_2655_); +lean_dec(v___y_2654_); +lean_dec_ref(v___y_2653_); +lean_dec(v___y_2652_); +return v___x_2672_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(lean_object* v_modifiers_2673_, lean_object* v_declName_2674_, lean_object* v___y_2675_, lean_object* v___y_2676_, lean_object* v___y_2677_, lean_object* v___y_2678_, lean_object* v___y_2679_, lean_object* v___y_2680_){ +else +{ +lean_dec(v___y_2656_); +lean_dec_ref(v___y_2655_); +lean_dec(v___y_2654_); +lean_dec_ref(v___y_2653_); +lean_dec(v___y_2652_); +lean_dec_ref(v___y_2651_); +lean_dec(v_declName_2645_); +return v___x_2658_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5___boxed(lean_object* v_addInfo_2673_, lean_object* v_declName_2674_, lean_object* v___x_2675_, lean_object* v___f_2676_, lean_object* v___x_2677_, lean_object* v_env_2678_, lean_object* v___f_2679_, lean_object* v___y_2680_, lean_object* v___y_2681_, lean_object* v___y_2682_, lean_object* v___y_2683_, lean_object* v___y_2684_, lean_object* v___y_2685_, lean_object* v___y_2686_){ _start: { -lean_object* v___x_2682_; lean_object* v_env_2683_; uint8_t v_visibility_2684_; uint8_t v_isProtected_2685_; lean_object* v_declName_2687_; lean_object* v___y_2688_; lean_object* v___y_2689_; lean_object* v___y_2690_; lean_object* v___y_2691_; lean_object* v___y_2692_; lean_object* v___y_2693_; uint8_t v___x_2749_; -v___x_2682_ = lean_st_ref_get(v___y_2680_); -v_env_2683_ = lean_ctor_get(v___x_2682_, 0); -lean_inc_ref(v_env_2683_); -lean_dec(v___x_2682_); -v_visibility_2684_ = lean_ctor_get_uint8(v_modifiers_2673_, sizeof(void*)*3); -v_isProtected_2685_ = lean_ctor_get_uint8(v_modifiers_2673_, sizeof(void*)*3 + 1); -v___x_2749_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_2683_, v_visibility_2684_); -lean_dec_ref(v_env_2683_); -if (v___x_2749_ == 0) -{ -lean_object* v___x_2750_; lean_object* v_env_2751_; lean_object* v_declName_2752_; -v___x_2750_ = lean_st_ref_get(v___y_2680_); -v_env_2751_ = lean_ctor_get(v___x_2750_, 0); -lean_inc_ref(v_env_2751_); -lean_dec(v___x_2750_); -v_declName_2752_ = l_Lean_mkPrivateName(v_env_2751_, v_declName_2674_); -lean_dec_ref(v_env_2751_); -v_declName_2687_ = v_declName_2752_; -v___y_2688_ = v___y_2675_; -v___y_2689_ = v___y_2676_; -v___y_2690_ = v___y_2677_; -v___y_2691_ = v___y_2678_; -v___y_2692_ = v___y_2679_; -v___y_2693_ = v___y_2680_; -goto v___jp_2686_; -} -else -{ -v_declName_2687_ = v_declName_2674_; -v___y_2688_ = v___y_2675_; -v___y_2689_ = v___y_2676_; -v___y_2690_ = v___y_2677_; -v___y_2691_ = v___y_2678_; -v___y_2692_ = v___y_2679_; -v___y_2693_ = v___y_2680_; -goto v___jp_2686_; -} -v___jp_2686_: -{ -lean_object* v___x_2694_; -lean_inc(v___y_2693_); -lean_inc(v___y_2691_); -lean_inc(v_declName_2687_); -v___x_2694_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(v_declName_2687_, v___y_2688_, v___y_2689_, v___y_2690_, v___y_2691_, v___y_2692_, v___y_2693_); -if (lean_obj_tag(v___x_2694_) == 0) -{ -lean_object* v___x_2696_; uint8_t v_isShared_2697_; uint8_t v_isSharedCheck_2739_; -v_isSharedCheck_2739_ = !lean_is_exclusive(v___x_2694_); -if (v_isSharedCheck_2739_ == 0) -{ -lean_object* v_unused_2740_; -v_unused_2740_ = lean_ctor_get(v___x_2694_, 0); -lean_dec(v_unused_2740_); -v___x_2696_ = v___x_2694_; -v_isShared_2697_ = v_isSharedCheck_2739_; -goto v_resetjp_2695_; -} -else -{ -lean_dec(v___x_2694_); -v___x_2696_ = lean_box(0); -v_isShared_2697_ = v_isSharedCheck_2739_; -goto v_resetjp_2695_; -} -v_resetjp_2695_: -{ -if (v_isProtected_2685_ == 0) -{ -lean_object* v___x_2699_; -lean_dec(v___y_2693_); -lean_dec(v___y_2691_); -if (v_isShared_2697_ == 0) -{ -lean_ctor_set(v___x_2696_, 0, v_declName_2687_); -v___x_2699_ = v___x_2696_; -goto v_reusejp_2698_; -} -else -{ -lean_object* v_reuseFailAlloc_2700_; -v_reuseFailAlloc_2700_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2700_, 0, v_declName_2687_); -v___x_2699_ = v_reuseFailAlloc_2700_; -goto v_reusejp_2698_; -} -v_reusejp_2698_: -{ -return v___x_2699_; +uint8_t v___x_19127__boxed_2687_; uint8_t v___x_19129__boxed_2688_; lean_object* v_res_2689_; +v___x_19127__boxed_2687_ = lean_unbox(v___x_2675_); +v___x_19129__boxed_2688_ = lean_unbox(v___x_2677_); +v_res_2689_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5(v_addInfo_2673_, v_declName_2674_, v___x_19127__boxed_2687_, v___f_2676_, v___x_19129__boxed_2688_, v_env_2678_, v___f_2679_, v___y_2680_, v___y_2681_, v___y_2682_, v___y_2683_, v___y_2684_, v___y_2685_); +lean_dec_ref(v___f_2679_); +lean_dec_ref(v_env_2678_); +lean_dec_ref(v___f_2676_); +return v_res_2689_; } } -else +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(lean_object* v_declName_2693_, lean_object* v___y_2694_, lean_object* v___y_2695_, lean_object* v___y_2696_, lean_object* v___y_2697_, lean_object* v___y_2698_, lean_object* v___y_2699_){ +_start: { -lean_object* v___x_2701_; lean_object* v_env_2702_; lean_object* v_nextMacroScope_2703_; lean_object* v_ngen_2704_; lean_object* v_auxDeclNGen_2705_; lean_object* v_traceState_2706_; lean_object* v_messages_2707_; lean_object* v_infoState_2708_; lean_object* v_snapshotTasks_2709_; lean_object* v___x_2711_; uint8_t v_isShared_2712_; uint8_t v_isSharedCheck_2737_; -v___x_2701_ = lean_st_ref_take(v___y_2693_); +lean_object* v___x_2701_; lean_object* v_env_2702_; uint8_t v___x_2703_; lean_object* v_addInfo_2704_; lean_object* v_env_2705_; lean_object* v___f_2706_; lean_object* v___f_2707_; lean_object* v___x_2708_; lean_object* v___f_2709_; uint8_t v___x_2710_; uint8_t v___x_2711_; +v___x_2701_ = lean_st_ref_get(v___y_2699_); v_env_2702_ = lean_ctor_get(v___x_2701_, 0); -v_nextMacroScope_2703_ = lean_ctor_get(v___x_2701_, 1); -v_ngen_2704_ = lean_ctor_get(v___x_2701_, 2); -v_auxDeclNGen_2705_ = lean_ctor_get(v___x_2701_, 3); -v_traceState_2706_ = lean_ctor_get(v___x_2701_, 4); -v_messages_2707_ = lean_ctor_get(v___x_2701_, 6); -v_infoState_2708_ = lean_ctor_get(v___x_2701_, 7); -v_snapshotTasks_2709_ = lean_ctor_get(v___x_2701_, 8); -v_isSharedCheck_2737_ = !lean_is_exclusive(v___x_2701_); -if (v_isSharedCheck_2737_ == 0) -{ -lean_object* v_unused_2738_; -v_unused_2738_ = lean_ctor_get(v___x_2701_, 5); -lean_dec(v_unused_2738_); -v___x_2711_ = v___x_2701_; -v_isShared_2712_ = v_isSharedCheck_2737_; -goto v_resetjp_2710_; -} -else -{ -lean_inc(v_snapshotTasks_2709_); -lean_inc(v_infoState_2708_); -lean_inc(v_messages_2707_); -lean_inc(v_traceState_2706_); -lean_inc(v_auxDeclNGen_2705_); -lean_inc(v_ngen_2704_); -lean_inc(v_nextMacroScope_2703_); -lean_inc(v_env_2702_); +lean_inc_ref(v_env_2702_); lean_dec(v___x_2701_); -v___x_2711_ = lean_box(0); -v_isShared_2712_ = v_isSharedCheck_2737_; -goto v_resetjp_2710_; -} -v_resetjp_2710_: +v___x_2703_ = 0; +v_addInfo_2704_ = ((lean_object*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___closed__0)); +v_env_2705_ = l_Lean_Environment_setExporting(v_env_2702_, v___x_2703_); +lean_inc_ref(v_env_2705_); +lean_inc(v_declName_2693_); +v___f_2706_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__1___boxed), 11, 3); +lean_closure_set(v___f_2706_, 0, v_declName_2693_); +lean_closure_set(v___f_2706_, 1, v_env_2705_); +lean_closure_set(v___f_2706_, 2, v_addInfo_2704_); +lean_inc(v_declName_2693_); +lean_inc_ref(v_env_2705_); +v___f_2707_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__2___boxed), 12, 4); +lean_closure_set(v___f_2707_, 0, v_env_2705_); +lean_closure_set(v___f_2707_, 1, v_declName_2693_); +lean_closure_set(v___f_2707_, 2, v___f_2706_); +lean_closure_set(v___f_2707_, 3, v_addInfo_2704_); +v___x_2708_ = lean_box(v___x_2703_); +lean_inc_ref(v_env_2705_); +lean_inc(v_declName_2693_); +lean_inc_ref(v___f_2707_); +v___f_2709_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__3___boxed), 12, 4); +lean_closure_set(v___f_2709_, 0, v___f_2707_); +lean_closure_set(v___f_2709_, 1, v_declName_2693_); +lean_closure_set(v___f_2709_, 2, v___x_2708_); +lean_closure_set(v___f_2709_, 3, v_env_2705_); +v___x_2710_ = 1; +lean_inc(v_declName_2693_); +lean_inc_ref(v_env_2705_); +v___x_2711_ = l_Lean_Environment_contains(v_env_2705_, v_declName_2693_, v___x_2710_); +if (v___x_2711_ == 0) { -lean_object* v___x_2713_; lean_object* v___x_2714_; lean_object* v___x_2716_; -lean_inc(v_declName_2687_); -v___x_2713_ = l_Lean_addProtected(v_env_2702_, v_declName_2687_); -v___x_2714_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2); -if (v_isShared_2712_ == 0) -{ -lean_ctor_set(v___x_2711_, 5, v___x_2714_); -lean_ctor_set(v___x_2711_, 0, v___x_2713_); -v___x_2716_ = v___x_2711_; -goto v_reusejp_2715_; +lean_object* v___f_2712_; lean_object* v___x_2713_; +lean_dec_ref(v___f_2707_); +lean_dec(v_declName_2693_); +v___f_2712_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__4___boxed), 8, 1); +lean_closure_set(v___f_2712_, 0, v___f_2709_); +v___x_2713_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2705_, v___f_2712_, v___y_2694_, v___y_2695_, v___y_2696_, v___y_2697_, v___y_2698_, v___y_2699_); +return v___x_2713_; } else { -lean_object* v_reuseFailAlloc_2736_; -v_reuseFailAlloc_2736_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2736_, 0, v___x_2713_); -lean_ctor_set(v_reuseFailAlloc_2736_, 1, v_nextMacroScope_2703_); -lean_ctor_set(v_reuseFailAlloc_2736_, 2, v_ngen_2704_); -lean_ctor_set(v_reuseFailAlloc_2736_, 3, v_auxDeclNGen_2705_); -lean_ctor_set(v_reuseFailAlloc_2736_, 4, v_traceState_2706_); -lean_ctor_set(v_reuseFailAlloc_2736_, 5, v___x_2714_); -lean_ctor_set(v_reuseFailAlloc_2736_, 6, v_messages_2707_); -lean_ctor_set(v_reuseFailAlloc_2736_, 7, v_infoState_2708_); -lean_ctor_set(v_reuseFailAlloc_2736_, 8, v_snapshotTasks_2709_); -v___x_2716_ = v_reuseFailAlloc_2736_; -goto v_reusejp_2715_; -} -v_reusejp_2715_: -{ -lean_object* v___x_2717_; lean_object* v___x_2718_; lean_object* v_mctx_2719_; lean_object* v_zetaDeltaFVarIds_2720_; lean_object* v_postponed_2721_; lean_object* v_diag_2722_; lean_object* v___x_2724_; uint8_t v_isShared_2725_; uint8_t v_isSharedCheck_2734_; -v___x_2717_ = lean_st_ref_set(v___y_2693_, v___x_2716_); -lean_dec(v___y_2693_); -v___x_2718_ = lean_st_ref_take(v___y_2691_); -v_mctx_2719_ = lean_ctor_get(v___x_2718_, 0); -v_zetaDeltaFVarIds_2720_ = lean_ctor_get(v___x_2718_, 2); -v_postponed_2721_ = lean_ctor_get(v___x_2718_, 3); -v_diag_2722_ = lean_ctor_get(v___x_2718_, 4); -v_isSharedCheck_2734_ = !lean_is_exclusive(v___x_2718_); -if (v_isSharedCheck_2734_ == 0) -{ -lean_object* v_unused_2735_; -v_unused_2735_ = lean_ctor_get(v___x_2718_, 1); -lean_dec(v_unused_2735_); -v___x_2724_ = v___x_2718_; -v_isShared_2725_ = v_isSharedCheck_2734_; -goto v_resetjp_2723_; -} -else -{ -lean_inc(v_diag_2722_); -lean_inc(v_postponed_2721_); -lean_inc(v_zetaDeltaFVarIds_2720_); -lean_inc(v_mctx_2719_); -lean_dec(v___x_2718_); -v___x_2724_ = lean_box(0); -v_isShared_2725_ = v_isSharedCheck_2734_; -goto v_resetjp_2723_; -} -v_resetjp_2723_: -{ -lean_object* v___x_2726_; lean_object* v___x_2728_; -v___x_2726_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3); -if (v_isShared_2725_ == 0) -{ -lean_ctor_set(v___x_2724_, 1, v___x_2726_); -v___x_2728_ = v___x_2724_; -goto v_reusejp_2727_; -} -else -{ -lean_object* v_reuseFailAlloc_2733_; -v_reuseFailAlloc_2733_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_2733_, 0, v_mctx_2719_); -lean_ctor_set(v_reuseFailAlloc_2733_, 1, v___x_2726_); -lean_ctor_set(v_reuseFailAlloc_2733_, 2, v_zetaDeltaFVarIds_2720_); -lean_ctor_set(v_reuseFailAlloc_2733_, 3, v_postponed_2721_); -lean_ctor_set(v_reuseFailAlloc_2733_, 4, v_diag_2722_); -v___x_2728_ = v_reuseFailAlloc_2733_; -goto v_reusejp_2727_; -} -v_reusejp_2727_: -{ -lean_object* v___x_2729_; lean_object* v___x_2731_; -v___x_2729_ = lean_st_ref_set(v___y_2691_, v___x_2728_); -lean_dec(v___y_2691_); -if (v_isShared_2697_ == 0) -{ -lean_ctor_set(v___x_2696_, 0, v_declName_2687_); -v___x_2731_ = v___x_2696_; -goto v_reusejp_2730_; -} -else -{ -lean_object* v_reuseFailAlloc_2732_; -v_reuseFailAlloc_2732_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2732_, 0, v_declName_2687_); -v___x_2731_ = v_reuseFailAlloc_2732_; -goto v_reusejp_2730_; -} -v_reusejp_2730_: -{ -return v___x_2731_; +lean_object* v___x_2714_; lean_object* v___x_2715_; lean_object* v___f_2716_; lean_object* v___x_2717_; +v___x_2714_ = lean_box(v___x_2710_); +v___x_2715_ = lean_box(v___x_2703_); +lean_inc_ref(v_env_2705_); +v___f_2716_ = lean_alloc_closure((void*)(l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___lam__5___boxed), 14, 7); +lean_closure_set(v___f_2716_, 0, v_addInfo_2704_); +lean_closure_set(v___f_2716_, 1, v_declName_2693_); +lean_closure_set(v___f_2716_, 2, v___x_2714_); +lean_closure_set(v___f_2716_, 3, v___f_2707_); +lean_closure_set(v___f_2716_, 4, v___x_2715_); +lean_closure_set(v___f_2716_, 5, v_env_2705_); +lean_closure_set(v___f_2716_, 6, v___f_2709_); +v___x_2717_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_2705_, v___f_2716_, v___y_2694_, v___y_2695_, v___y_2696_, v___y_2697_, v___y_2698_, v___y_2699_); +return v___x_2717_; } } } -} -} -} -} -} -else -{ -lean_object* v_a_2741_; lean_object* v___x_2743_; uint8_t v_isShared_2744_; uint8_t v_isSharedCheck_2748_; -lean_dec(v___y_2693_); -lean_dec(v___y_2691_); -lean_dec(v_declName_2687_); -v_a_2741_ = lean_ctor_get(v___x_2694_, 0); -v_isSharedCheck_2748_ = !lean_is_exclusive(v___x_2694_); -if (v_isSharedCheck_2748_ == 0) -{ -v___x_2743_ = v___x_2694_; -v_isShared_2744_ = v_isSharedCheck_2748_; -goto v_resetjp_2742_; -} -else -{ -lean_inc(v_a_2741_); -lean_dec(v___x_2694_); -v___x_2743_ = lean_box(0); -v_isShared_2744_ = v_isSharedCheck_2748_; -goto v_resetjp_2742_; -} -v_resetjp_2742_: -{ -lean_object* v___x_2746_; -if (v_isShared_2744_ == 0) -{ -v___x_2746_ = v___x_2743_; -goto v_reusejp_2745_; -} -else -{ -lean_object* v_reuseFailAlloc_2747_; -v_reuseFailAlloc_2747_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2747_, 0, v_a_2741_); -v___x_2746_ = v_reuseFailAlloc_2747_; -goto v_reusejp_2745_; -} -v_reusejp_2745_: -{ -return v___x_2746_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4___boxed(lean_object* v_modifiers_2753_, lean_object* v_declName_2754_, lean_object* v___y_2755_, lean_object* v___y_2756_, lean_object* v___y_2757_, lean_object* v___y_2758_, lean_object* v___y_2759_, lean_object* v___y_2760_, lean_object* v___y_2761_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8___boxed(lean_object* v_declName_2718_, lean_object* v___y_2719_, lean_object* v___y_2720_, lean_object* v___y_2721_, lean_object* v___y_2722_, lean_object* v___y_2723_, lean_object* v___y_2724_, lean_object* v___y_2725_){ _start: { -lean_object* v_res_2762_; -v_res_2762_ = l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(v_modifiers_2753_, v_declName_2754_, v___y_2755_, v___y_2756_, v___y_2757_, v___y_2758_, v___y_2759_, v___y_2760_); -lean_dec_ref(v_modifiers_2753_); -return v_res_2762_; +lean_object* v_res_2726_; +v_res_2726_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(v_declName_2718_, v___y_2719_, v___y_2720_, v___y_2721_, v___y_2722_, v___y_2723_, v___y_2724_); +return v_res_2726_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(lean_object* v_pre_2763_, lean_object* v_declName_2764_, lean_object* v_as_2765_, size_t v_sz_2766_, size_t v_i_2767_, lean_object* v_b_2768_, lean_object* v___y_2769_, lean_object* v___y_2770_, lean_object* v___y_2771_, lean_object* v___y_2772_, lean_object* v___y_2773_, lean_object* v___y_2774_){ +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(lean_object* v_modifiers_2727_, lean_object* v_declName_2728_, lean_object* v___y_2729_, lean_object* v___y_2730_, lean_object* v___y_2731_, lean_object* v___y_2732_, lean_object* v___y_2733_, lean_object* v___y_2734_){ _start: { -lean_object* v_a_2777_; uint8_t v___x_2781_; -v___x_2781_ = lean_usize_dec_lt(v_i_2767_, v_sz_2766_); -if (v___x_2781_ == 0) +lean_object* v___x_2736_; lean_object* v_env_2737_; uint8_t v_visibility_2738_; uint8_t v_isProtected_2739_; lean_object* v_declName_2741_; lean_object* v___y_2742_; lean_object* v___y_2743_; lean_object* v___y_2744_; lean_object* v___y_2745_; lean_object* v___y_2746_; lean_object* v___y_2747_; uint8_t v___x_2803_; +v___x_2736_ = lean_st_ref_get(v___y_2734_); +v_env_2737_ = lean_ctor_get(v___x_2736_, 0); +lean_inc_ref(v_env_2737_); +lean_dec(v___x_2736_); +v_visibility_2738_ = lean_ctor_get_uint8(v_modifiers_2727_, sizeof(void*)*3); +v_isProtected_2739_ = lean_ctor_get_uint8(v_modifiers_2727_, sizeof(void*)*3 + 1); +v___x_2803_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_2737_, v_visibility_2738_); +lean_dec_ref(v_env_2737_); +if (v___x_2803_ == 0) { -lean_object* v___x_2782_; -lean_dec_ref(v___y_2769_); -lean_dec(v_declName_2764_); -lean_dec(v_pre_2763_); -v___x_2782_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2782_, 0, v_b_2768_); -return v___x_2782_; +lean_object* v___x_2804_; lean_object* v_env_2805_; lean_object* v_declName_2806_; +v___x_2804_ = lean_st_ref_get(v___y_2734_); +v_env_2805_ = lean_ctor_get(v___x_2804_, 0); +lean_inc_ref(v_env_2805_); +lean_dec(v___x_2804_); +v_declName_2806_ = l_Lean_mkPrivateName(v_env_2805_, v_declName_2728_); +lean_dec_ref(v_env_2805_); +v_declName_2741_ = v_declName_2806_; +v___y_2742_ = v___y_2729_; +v___y_2743_ = v___y_2730_; +v___y_2744_ = v___y_2731_; +v___y_2745_ = v___y_2732_; +v___y_2746_ = v___y_2733_; +v___y_2747_ = v___y_2734_; +goto v___jp_2740_; } else { -lean_object* v___x_2783_; lean_object* v_a_2784_; lean_object* v___x_2785_; uint8_t v___x_2786_; -v___x_2783_ = lean_box(0); -v_a_2784_ = lean_array_uget_borrowed(v_as_2765_, v_i_2767_); -lean_inc(v_a_2784_); -lean_inc(v_pre_2763_); -v___x_2785_ = l_Lean_Name_append(v_pre_2763_, v_a_2784_); -v___x_2786_ = lean_name_eq(v___x_2785_, v_declName_2764_); -lean_dec(v___x_2785_); -if (v___x_2786_ == 0) +v_declName_2741_ = v_declName_2728_; +v___y_2742_ = v___y_2729_; +v___y_2743_ = v___y_2730_; +v___y_2744_ = v___y_2731_; +v___y_2745_ = v___y_2732_; +v___y_2746_ = v___y_2733_; +v___y_2747_ = v___y_2734_; +goto v___jp_2740_; +} +v___jp_2740_: { -v_a_2777_ = v___x_2783_; -goto v___jp_2776_; +lean_object* v___x_2748_; +lean_inc(v___y_2747_); +lean_inc(v___y_2745_); +lean_inc(v_declName_2741_); +v___x_2748_ = l_Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8(v_declName_2741_, v___y_2742_, v___y_2743_, v___y_2744_, v___y_2745_, v___y_2746_, v___y_2747_); +if (lean_obj_tag(v___x_2748_) == 0) +{ +lean_object* v___x_2750_; uint8_t v_isShared_2751_; uint8_t v_isSharedCheck_2793_; +v_isSharedCheck_2793_ = !lean_is_exclusive(v___x_2748_); +if (v_isSharedCheck_2793_ == 0) +{ +lean_object* v_unused_2794_; +v_unused_2794_ = lean_ctor_get(v___x_2748_, 0); +lean_dec(v_unused_2794_); +v___x_2750_ = v___x_2748_; +v_isShared_2751_ = v_isSharedCheck_2793_; +goto v_resetjp_2749_; } else { -lean_object* v___x_2787_; uint8_t v___x_2788_; lean_object* v___x_2789_; lean_object* v___x_2790_; lean_object* v___x_2791_; lean_object* v___x_2792_; lean_object* v___x_2793_; lean_object* v___x_2794_; lean_object* v___x_2795_; lean_object* v___x_2796_; lean_object* v___x_2797_; lean_object* v___x_2798_; lean_object* v___x_2799_; lean_object* v___x_2800_; lean_object* v___x_2801_; -v___x_2787_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); -v___x_2788_ = 0; -lean_inc(v_declName_2764_); -v___x_2789_ = l_Lean_MessageData_ofConstName(v_declName_2764_, v___x_2788_); -v___x_2790_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2790_, 0, v___x_2787_); -lean_ctor_set(v___x_2790_, 1, v___x_2789_); -v___x_2791_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3); -v___x_2792_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2792_, 0, v___x_2790_); -lean_ctor_set(v___x_2792_, 1, v___x_2791_); -lean_inc(v_pre_2763_); -v___x_2793_ = l_Lean_MessageData_ofName(v_pre_2763_); -v___x_2794_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2794_, 0, v___x_2792_); -lean_ctor_set(v___x_2794_, 1, v___x_2793_); -v___x_2795_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5); -v___x_2796_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2796_, 0, v___x_2794_); -lean_ctor_set(v___x_2796_, 1, v___x_2795_); -lean_inc(v_a_2784_); -v___x_2797_ = l_Lean_MessageData_ofName(v_a_2784_); -v___x_2798_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2798_, 0, v___x_2796_); -lean_ctor_set(v___x_2798_, 1, v___x_2797_); -v___x_2799_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_2800_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2800_, 0, v___x_2798_); -lean_ctor_set(v___x_2800_, 1, v___x_2799_); -lean_inc_ref(v___y_2769_); -v___x_2801_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2800_, v___y_2769_, v___y_2770_, v___y_2771_, v___y_2772_, v___y_2773_, v___y_2774_); -if (lean_obj_tag(v___x_2801_) == 0) +lean_dec(v___x_2748_); +v___x_2750_ = lean_box(0); +v_isShared_2751_ = v_isSharedCheck_2793_; +goto v_resetjp_2749_; +} +v_resetjp_2749_: { -lean_dec_ref(v___x_2801_); -v_a_2777_ = v___x_2783_; -goto v___jp_2776_; +if (v_isProtected_2739_ == 0) +{ +lean_object* v___x_2753_; +lean_dec(v___y_2747_); +lean_dec(v___y_2745_); +if (v_isShared_2751_ == 0) +{ +lean_ctor_set(v___x_2750_, 0, v_declName_2741_); +v___x_2753_ = v___x_2750_; +goto v_reusejp_2752_; } else { -lean_dec_ref(v___y_2769_); -lean_dec(v_declName_2764_); -lean_dec(v_pre_2763_); -return v___x_2801_; +lean_object* v_reuseFailAlloc_2754_; +v_reuseFailAlloc_2754_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2754_, 0, v_declName_2741_); +v___x_2753_ = v_reuseFailAlloc_2754_; +goto v_reusejp_2752_; } -} -} -v___jp_2776_: +v_reusejp_2752_: { -size_t v___x_2778_; size_t v___x_2779_; -v___x_2778_ = ((size_t)1ULL); -v___x_2779_ = lean_usize_add(v_i_2767_, v___x_2778_); -v_i_2767_ = v___x_2779_; -v_b_2768_ = v_a_2777_; +return v___x_2753_; +} +} +else +{ +lean_object* v___x_2755_; lean_object* v_env_2756_; lean_object* v_nextMacroScope_2757_; lean_object* v_ngen_2758_; lean_object* v_auxDeclNGen_2759_; lean_object* v_traceState_2760_; lean_object* v_messages_2761_; lean_object* v_infoState_2762_; lean_object* v_snapshotTasks_2763_; lean_object* v___x_2765_; uint8_t v_isShared_2766_; uint8_t v_isSharedCheck_2791_; +v___x_2755_ = lean_st_ref_take(v___y_2747_); +v_env_2756_ = lean_ctor_get(v___x_2755_, 0); +v_nextMacroScope_2757_ = lean_ctor_get(v___x_2755_, 1); +v_ngen_2758_ = lean_ctor_get(v___x_2755_, 2); +v_auxDeclNGen_2759_ = lean_ctor_get(v___x_2755_, 3); +v_traceState_2760_ = lean_ctor_get(v___x_2755_, 4); +v_messages_2761_ = lean_ctor_get(v___x_2755_, 6); +v_infoState_2762_ = lean_ctor_get(v___x_2755_, 7); +v_snapshotTasks_2763_ = lean_ctor_get(v___x_2755_, 8); +v_isSharedCheck_2791_ = !lean_is_exclusive(v___x_2755_); +if (v_isSharedCheck_2791_ == 0) +{ +lean_object* v_unused_2792_; +v_unused_2792_ = lean_ctor_get(v___x_2755_, 5); +lean_dec(v_unused_2792_); +v___x_2765_ = v___x_2755_; +v_isShared_2766_ = v_isSharedCheck_2791_; +goto v_resetjp_2764_; +} +else +{ +lean_inc(v_snapshotTasks_2763_); +lean_inc(v_infoState_2762_); +lean_inc(v_messages_2761_); +lean_inc(v_traceState_2760_); +lean_inc(v_auxDeclNGen_2759_); +lean_inc(v_ngen_2758_); +lean_inc(v_nextMacroScope_2757_); +lean_inc(v_env_2756_); +lean_dec(v___x_2755_); +v___x_2765_ = lean_box(0); +v_isShared_2766_ = v_isSharedCheck_2791_; +goto v_resetjp_2764_; +} +v_resetjp_2764_: +{ +lean_object* v___x_2767_; lean_object* v___x_2768_; lean_object* v___x_2770_; +lean_inc(v_declName_2741_); +v___x_2767_ = l_Lean_addProtected(v_env_2756_, v_declName_2741_); +v___x_2768_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__2); +if (v_isShared_2766_ == 0) +{ +lean_ctor_set(v___x_2765_, 5, v___x_2768_); +lean_ctor_set(v___x_2765_, 0, v___x_2767_); +v___x_2770_ = v___x_2765_; +goto v_reusejp_2769_; +} +else +{ +lean_object* v_reuseFailAlloc_2790_; +v_reuseFailAlloc_2790_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2790_, 0, v___x_2767_); +lean_ctor_set(v_reuseFailAlloc_2790_, 1, v_nextMacroScope_2757_); +lean_ctor_set(v_reuseFailAlloc_2790_, 2, v_ngen_2758_); +lean_ctor_set(v_reuseFailAlloc_2790_, 3, v_auxDeclNGen_2759_); +lean_ctor_set(v_reuseFailAlloc_2790_, 4, v_traceState_2760_); +lean_ctor_set(v_reuseFailAlloc_2790_, 5, v___x_2768_); +lean_ctor_set(v_reuseFailAlloc_2790_, 6, v_messages_2761_); +lean_ctor_set(v_reuseFailAlloc_2790_, 7, v_infoState_2762_); +lean_ctor_set(v_reuseFailAlloc_2790_, 8, v_snapshotTasks_2763_); +v___x_2770_ = v_reuseFailAlloc_2790_; +goto v_reusejp_2769_; +} +v_reusejp_2769_: +{ +lean_object* v___x_2771_; lean_object* v___x_2772_; lean_object* v_mctx_2773_; lean_object* v_zetaDeltaFVarIds_2774_; lean_object* v_postponed_2775_; lean_object* v_diag_2776_; lean_object* v___x_2778_; uint8_t v_isShared_2779_; uint8_t v_isSharedCheck_2788_; +v___x_2771_ = lean_st_ref_set(v___y_2747_, v___x_2770_); +lean_dec(v___y_2747_); +v___x_2772_ = lean_st_ref_take(v___y_2745_); +v_mctx_2773_ = lean_ctor_get(v___x_2772_, 0); +v_zetaDeltaFVarIds_2774_ = lean_ctor_get(v___x_2772_, 2); +v_postponed_2775_ = lean_ctor_get(v___x_2772_, 3); +v_diag_2776_ = lean_ctor_get(v___x_2772_, 4); +v_isSharedCheck_2788_ = !lean_is_exclusive(v___x_2772_); +if (v_isSharedCheck_2788_ == 0) +{ +lean_object* v_unused_2789_; +v_unused_2789_ = lean_ctor_get(v___x_2772_, 1); +lean_dec(v_unused_2789_); +v___x_2778_ = v___x_2772_; +v_isShared_2779_ = v_isSharedCheck_2788_; +goto v_resetjp_2777_; +} +else +{ +lean_inc(v_diag_2776_); +lean_inc(v_postponed_2775_); +lean_inc(v_zetaDeltaFVarIds_2774_); +lean_inc(v_mctx_2773_); +lean_dec(v___x_2772_); +v___x_2778_ = lean_box(0); +v_isShared_2779_ = v_isSharedCheck_2788_; +goto v_resetjp_2777_; +} +v_resetjp_2777_: +{ +lean_object* v___x_2780_; lean_object* v___x_2782_; +v___x_2780_ = lean_obj_once(&l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3, &l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3_once, _init_l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg___closed__3); +if (v_isShared_2779_ == 0) +{ +lean_ctor_set(v___x_2778_, 1, v___x_2780_); +v___x_2782_ = v___x_2778_; +goto v_reusejp_2781_; +} +else +{ +lean_object* v_reuseFailAlloc_2787_; +v_reuseFailAlloc_2787_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_2787_, 0, v_mctx_2773_); +lean_ctor_set(v_reuseFailAlloc_2787_, 1, v___x_2780_); +lean_ctor_set(v_reuseFailAlloc_2787_, 2, v_zetaDeltaFVarIds_2774_); +lean_ctor_set(v_reuseFailAlloc_2787_, 3, v_postponed_2775_); +lean_ctor_set(v_reuseFailAlloc_2787_, 4, v_diag_2776_); +v___x_2782_ = v_reuseFailAlloc_2787_; +goto v_reusejp_2781_; +} +v_reusejp_2781_: +{ +lean_object* v___x_2783_; lean_object* v___x_2785_; +v___x_2783_ = lean_st_ref_set(v___y_2745_, v___x_2782_); +lean_dec(v___y_2745_); +if (v_isShared_2751_ == 0) +{ +lean_ctor_set(v___x_2750_, 0, v_declName_2741_); +v___x_2785_ = v___x_2750_; +goto v_reusejp_2784_; +} +else +{ +lean_object* v_reuseFailAlloc_2786_; +v_reuseFailAlloc_2786_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2786_, 0, v_declName_2741_); +v___x_2785_ = v_reuseFailAlloc_2786_; +goto v_reusejp_2784_; +} +v_reusejp_2784_: +{ +return v___x_2785_; +} +} +} +} +} +} +} +} +else +{ +lean_object* v_a_2795_; lean_object* v___x_2797_; uint8_t v_isShared_2798_; uint8_t v_isSharedCheck_2802_; +lean_dec(v___y_2747_); +lean_dec(v___y_2745_); +lean_dec(v_declName_2741_); +v_a_2795_ = lean_ctor_get(v___x_2748_, 0); +v_isSharedCheck_2802_ = !lean_is_exclusive(v___x_2748_); +if (v_isSharedCheck_2802_ == 0) +{ +v___x_2797_ = v___x_2748_; +v_isShared_2798_ = v_isSharedCheck_2802_; +goto v_resetjp_2796_; +} +else +{ +lean_inc(v_a_2795_); +lean_dec(v___x_2748_); +v___x_2797_ = lean_box(0); +v_isShared_2798_ = v_isSharedCheck_2802_; +goto v_resetjp_2796_; +} +v_resetjp_2796_: +{ +lean_object* v___x_2800_; +if (v_isShared_2798_ == 0) +{ +v___x_2800_ = v___x_2797_; +goto v_reusejp_2799_; +} +else +{ +lean_object* v_reuseFailAlloc_2801_; +v_reuseFailAlloc_2801_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2801_, 0, v_a_2795_); +v___x_2800_ = v_reuseFailAlloc_2801_; +goto v_reusejp_2799_; +} +v_reusejp_2799_: +{ +return v___x_2800_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4___boxed(lean_object* v_modifiers_2807_, lean_object* v_declName_2808_, lean_object* v___y_2809_, lean_object* v___y_2810_, lean_object* v___y_2811_, lean_object* v___y_2812_, lean_object* v___y_2813_, lean_object* v___y_2814_, lean_object* v___y_2815_){ +_start: +{ +lean_object* v_res_2816_; +v_res_2816_ = l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(v_modifiers_2807_, v_declName_2808_, v___y_2809_, v___y_2810_, v___y_2811_, v___y_2812_, v___y_2813_, v___y_2814_); +lean_dec_ref(v_modifiers_2807_); +return v_res_2816_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(lean_object* v_pre_2817_, lean_object* v_declName_2818_, lean_object* v_as_2819_, size_t v_sz_2820_, size_t v_i_2821_, lean_object* v_b_2822_, lean_object* v___y_2823_, lean_object* v___y_2824_, lean_object* v___y_2825_, lean_object* v___y_2826_, lean_object* v___y_2827_, lean_object* v___y_2828_){ +_start: +{ +lean_object* v_a_2831_; uint8_t v___x_2835_; +v___x_2835_ = lean_usize_dec_lt(v_i_2821_, v_sz_2820_); +if (v___x_2835_ == 0) +{ +lean_object* v___x_2836_; +lean_dec_ref(v___y_2823_); +lean_dec(v_declName_2818_); +lean_dec(v_pre_2817_); +v___x_2836_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2836_, 0, v_b_2822_); +return v___x_2836_; +} +else +{ +lean_object* v___x_2837_; lean_object* v_a_2838_; lean_object* v___x_2839_; uint8_t v___x_2840_; +v___x_2837_ = lean_box(0); +v_a_2838_ = lean_array_uget_borrowed(v_as_2819_, v_i_2821_); +lean_inc(v_a_2838_); +lean_inc(v_pre_2817_); +v___x_2839_ = l_Lean_Name_append(v_pre_2817_, v_a_2838_); +v___x_2840_ = lean_name_eq(v___x_2839_, v_declName_2818_); +lean_dec(v___x_2839_); +if (v___x_2840_ == 0) +{ +v_a_2831_ = v___x_2837_; +goto v___jp_2830_; +} +else +{ +lean_object* v___x_2841_; uint8_t v___x_2842_; lean_object* v___x_2843_; lean_object* v___x_2844_; lean_object* v___x_2845_; lean_object* v___x_2846_; lean_object* v___x_2847_; lean_object* v___x_2848_; lean_object* v___x_2849_; lean_object* v___x_2850_; lean_object* v___x_2851_; lean_object* v___x_2852_; lean_object* v___x_2853_; lean_object* v___x_2854_; lean_object* v___x_2855_; +v___x_2841_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); +v___x_2842_ = 0; +lean_inc(v_declName_2818_); +v___x_2843_ = l_Lean_MessageData_ofConstName(v_declName_2818_, v___x_2842_); +v___x_2844_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2844_, 0, v___x_2841_); +lean_ctor_set(v___x_2844_, 1, v___x_2843_); +v___x_2845_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__3); +v___x_2846_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2846_, 0, v___x_2844_); +lean_ctor_set(v___x_2846_, 1, v___x_2845_); +lean_inc(v_pre_2817_); +v___x_2847_ = l_Lean_MessageData_ofName(v_pre_2817_); +v___x_2848_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2848_, 0, v___x_2846_); +lean_ctor_set(v___x_2848_, 1, v___x_2847_); +v___x_2849_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__5); +v___x_2850_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2850_, 0, v___x_2848_); +lean_ctor_set(v___x_2850_, 1, v___x_2849_); +lean_inc(v_a_2838_); +v___x_2851_ = l_Lean_MessageData_ofName(v_a_2838_); +v___x_2852_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2852_, 0, v___x_2850_); +lean_ctor_set(v___x_2852_, 1, v___x_2851_); +v___x_2853_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_2854_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2854_, 0, v___x_2852_); +lean_ctor_set(v___x_2854_, 1, v___x_2853_); +lean_inc_ref(v___y_2823_); +v___x_2855_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2854_, v___y_2823_, v___y_2824_, v___y_2825_, v___y_2826_, v___y_2827_, v___y_2828_); +if (lean_obj_tag(v___x_2855_) == 0) +{ +lean_dec_ref(v___x_2855_); +v_a_2831_ = v___x_2837_; +goto v___jp_2830_; +} +else +{ +lean_dec_ref(v___y_2823_); +lean_dec(v_declName_2818_); +lean_dec(v_pre_2817_); +return v___x_2855_; +} +} +} +v___jp_2830_: +{ +size_t v___x_2832_; size_t v___x_2833_; +v___x_2832_ = ((size_t)1ULL); +v___x_2833_ = lean_usize_add(v_i_2821_, v___x_2832_); +v_i_2821_ = v___x_2833_; +v_b_2822_ = v_a_2831_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6___boxed(lean_object* v_pre_2802_, lean_object* v_declName_2803_, lean_object* v_as_2804_, lean_object* v_sz_2805_, lean_object* v_i_2806_, lean_object* v_b_2807_, lean_object* v___y_2808_, lean_object* v___y_2809_, lean_object* v___y_2810_, lean_object* v___y_2811_, lean_object* v___y_2812_, lean_object* v___y_2813_, lean_object* v___y_2814_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6___boxed(lean_object* v_pre_2856_, lean_object* v_declName_2857_, lean_object* v_as_2858_, lean_object* v_sz_2859_, lean_object* v_i_2860_, lean_object* v_b_2861_, lean_object* v___y_2862_, lean_object* v___y_2863_, lean_object* v___y_2864_, lean_object* v___y_2865_, lean_object* v___y_2866_, lean_object* v___y_2867_, lean_object* v___y_2868_){ _start: { -size_t v_sz_boxed_2815_; size_t v_i_boxed_2816_; lean_object* v_res_2817_; -v_sz_boxed_2815_ = lean_unbox_usize(v_sz_2805_); -lean_dec(v_sz_2805_); -v_i_boxed_2816_ = lean_unbox_usize(v_i_2806_); -lean_dec(v_i_2806_); -v_res_2817_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(v_pre_2802_, v_declName_2803_, v_as_2804_, v_sz_boxed_2815_, v_i_boxed_2816_, v_b_2807_, v___y_2808_, v___y_2809_, v___y_2810_, v___y_2811_, v___y_2812_, v___y_2813_); -lean_dec(v___y_2813_); -lean_dec_ref(v___y_2812_); -lean_dec(v___y_2811_); -lean_dec_ref(v___y_2810_); -lean_dec(v___y_2809_); -lean_dec_ref(v_as_2804_); -return v_res_2817_; +size_t v_sz_boxed_2869_; size_t v_i_boxed_2870_; lean_object* v_res_2871_; +v_sz_boxed_2869_ = lean_unbox_usize(v_sz_2859_); +lean_dec(v_sz_2859_); +v_i_boxed_2870_ = lean_unbox_usize(v_i_2860_); +lean_dec(v_i_2860_); +v_res_2871_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(v_pre_2856_, v_declName_2857_, v_as_2858_, v_sz_boxed_2869_, v_i_boxed_2870_, v_b_2861_, v___y_2862_, v___y_2863_, v___y_2864_, v___y_2865_, v___y_2866_, v___y_2867_); +lean_dec(v___y_2867_); +lean_dec_ref(v___y_2866_); +lean_dec(v___y_2865_); +lean_dec_ref(v___y_2864_); +lean_dec(v___y_2863_); +lean_dec_ref(v_as_2858_); +return v_res_2871_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(lean_object* v_declName_2818_, lean_object* v___y_2819_, lean_object* v___y_2820_, lean_object* v___y_2821_, lean_object* v___y_2822_, lean_object* v___y_2823_, lean_object* v___y_2824_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(lean_object* v_declName_2872_, lean_object* v___y_2873_, lean_object* v___y_2874_, lean_object* v___y_2875_, lean_object* v___y_2876_, lean_object* v___y_2877_, lean_object* v___y_2878_){ _start: { -if (lean_obj_tag(v_declName_2818_) == 1) +if (lean_obj_tag(v_declName_2872_) == 1) { -lean_object* v_pre_2826_; lean_object* v___x_2827_; lean_object* v_env_2828_; uint8_t v___x_2829_; -v_pre_2826_ = lean_ctor_get(v_declName_2818_, 0); -lean_inc(v_pre_2826_); -v___x_2827_ = lean_st_ref_get(v___y_2824_); -v_env_2828_ = lean_ctor_get(v___x_2827_, 0); -lean_inc_ref(v_env_2828_); -lean_dec(v___x_2827_); -lean_inc(v_pre_2826_); -v___x_2829_ = l_Lean_isStructure(v_env_2828_, v_pre_2826_); -if (v___x_2829_ == 0) +lean_object* v_pre_2880_; lean_object* v___x_2881_; lean_object* v_env_2882_; uint8_t v___x_2883_; +v_pre_2880_ = lean_ctor_get(v_declName_2872_, 0); +lean_inc(v_pre_2880_); +v___x_2881_ = lean_st_ref_get(v___y_2878_); +v_env_2882_ = lean_ctor_get(v___x_2881_, 0); +lean_inc_ref(v_env_2882_); +lean_dec(v___x_2881_); +lean_inc(v_pre_2880_); +v___x_2883_ = l_Lean_isStructure(v_env_2882_, v_pre_2880_); +if (v___x_2883_ == 0) { -lean_object* v___x_2830_; lean_object* v___x_2831_; -lean_dec_ref(v_declName_2818_); -lean_dec(v_pre_2826_); -lean_dec_ref(v___y_2819_); -v___x_2830_ = lean_box(0); -v___x_2831_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2831_, 0, v___x_2830_); -return v___x_2831_; +lean_object* v___x_2884_; lean_object* v___x_2885_; +lean_dec_ref(v_declName_2872_); +lean_dec(v_pre_2880_); +lean_dec_ref(v___y_2873_); +v___x_2884_ = lean_box(0); +v___x_2885_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2885_, 0, v___x_2884_); +return v___x_2885_; } else { -lean_object* v___x_2832_; lean_object* v_env_2833_; lean_object* v_fieldNames_2834_; lean_object* v___x_2835_; size_t v_sz_2836_; size_t v___x_2837_; lean_object* v___x_2838_; -v___x_2832_ = lean_st_ref_get(v___y_2824_); -v_env_2833_ = lean_ctor_get(v___x_2832_, 0); -lean_inc_ref(v_env_2833_); -lean_dec(v___x_2832_); -lean_inc(v_pre_2826_); -v_fieldNames_2834_ = l_Lean_getStructureFieldsFlattened(v_env_2833_, v_pre_2826_, v___x_2829_); -v___x_2835_ = lean_box(0); -v_sz_2836_ = lean_array_size(v_fieldNames_2834_); -v___x_2837_ = ((size_t)0ULL); -v___x_2838_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(v_pre_2826_, v_declName_2818_, v_fieldNames_2834_, v_sz_2836_, v___x_2837_, v___x_2835_, v___y_2819_, v___y_2820_, v___y_2821_, v___y_2822_, v___y_2823_, v___y_2824_); -lean_dec_ref(v_fieldNames_2834_); -if (lean_obj_tag(v___x_2838_) == 0) +lean_object* v___x_2886_; lean_object* v_env_2887_; lean_object* v_fieldNames_2888_; lean_object* v___x_2889_; size_t v_sz_2890_; size_t v___x_2891_; lean_object* v___x_2892_; +v___x_2886_ = lean_st_ref_get(v___y_2878_); +v_env_2887_ = lean_ctor_get(v___x_2886_, 0); +lean_inc_ref(v_env_2887_); +lean_dec(v___x_2886_); +lean_inc(v_pre_2880_); +v_fieldNames_2888_ = l_Lean_getStructureFieldsFlattened(v_env_2887_, v_pre_2880_, v___x_2883_); +v___x_2889_ = lean_box(0); +v_sz_2890_ = lean_array_size(v_fieldNames_2888_); +v___x_2891_ = ((size_t)0ULL); +v___x_2892_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3_spec__6(v_pre_2880_, v_declName_2872_, v_fieldNames_2888_, v_sz_2890_, v___x_2891_, v___x_2889_, v___y_2873_, v___y_2874_, v___y_2875_, v___y_2876_, v___y_2877_, v___y_2878_); +lean_dec_ref(v_fieldNames_2888_); +if (lean_obj_tag(v___x_2892_) == 0) { -lean_object* v___x_2840_; uint8_t v_isShared_2841_; uint8_t v_isSharedCheck_2845_; -v_isSharedCheck_2845_ = !lean_is_exclusive(v___x_2838_); -if (v_isSharedCheck_2845_ == 0) +lean_object* v___x_2894_; uint8_t v_isShared_2895_; uint8_t v_isSharedCheck_2899_; +v_isSharedCheck_2899_ = !lean_is_exclusive(v___x_2892_); +if (v_isSharedCheck_2899_ == 0) { -lean_object* v_unused_2846_; -v_unused_2846_ = lean_ctor_get(v___x_2838_, 0); -lean_dec(v_unused_2846_); -v___x_2840_ = v___x_2838_; -v_isShared_2841_ = v_isSharedCheck_2845_; -goto v_resetjp_2839_; +lean_object* v_unused_2900_; +v_unused_2900_ = lean_ctor_get(v___x_2892_, 0); +lean_dec(v_unused_2900_); +v___x_2894_ = v___x_2892_; +v_isShared_2895_ = v_isSharedCheck_2899_; +goto v_resetjp_2893_; } else { -lean_dec(v___x_2838_); -v___x_2840_ = lean_box(0); -v_isShared_2841_ = v_isSharedCheck_2845_; -goto v_resetjp_2839_; +lean_dec(v___x_2892_); +v___x_2894_ = lean_box(0); +v_isShared_2895_ = v_isSharedCheck_2899_; +goto v_resetjp_2893_; } -v_resetjp_2839_: +v_resetjp_2893_: { -lean_object* v___x_2843_; -if (v_isShared_2841_ == 0) +lean_object* v___x_2897_; +if (v_isShared_2895_ == 0) { -lean_ctor_set(v___x_2840_, 0, v___x_2835_); -v___x_2843_ = v___x_2840_; -goto v_reusejp_2842_; +lean_ctor_set(v___x_2894_, 0, v___x_2889_); +v___x_2897_ = v___x_2894_; +goto v_reusejp_2896_; } else { -lean_object* v_reuseFailAlloc_2844_; -v_reuseFailAlloc_2844_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2844_, 0, v___x_2835_); -v___x_2843_ = v_reuseFailAlloc_2844_; -goto v_reusejp_2842_; +lean_object* v_reuseFailAlloc_2898_; +v_reuseFailAlloc_2898_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2898_, 0, v___x_2889_); +v___x_2897_ = v_reuseFailAlloc_2898_; +goto v_reusejp_2896_; } -v_reusejp_2842_: +v_reusejp_2896_: { -return v___x_2843_; +return v___x_2897_; } } } else { -return v___x_2838_; -} -} -} -else -{ -lean_object* v___x_2847_; lean_object* v___x_2848_; -lean_dec_ref(v___y_2819_); -lean_dec(v_declName_2818_); -v___x_2847_ = lean_box(0); -v___x_2848_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2848_, 0, v___x_2847_); -return v___x_2848_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3___boxed(lean_object* v_declName_2849_, lean_object* v___y_2850_, lean_object* v___y_2851_, lean_object* v___y_2852_, lean_object* v___y_2853_, lean_object* v___y_2854_, lean_object* v___y_2855_, lean_object* v___y_2856_){ -_start: -{ -lean_object* v_res_2857_; -v_res_2857_ = l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(v_declName_2849_, v___y_2850_, v___y_2851_, v___y_2852_, v___y_2853_, v___y_2854_, v___y_2855_); -lean_dec(v___y_2855_); -lean_dec_ref(v___y_2854_); -lean_dec(v___y_2853_); -lean_dec_ref(v___y_2852_); -lean_dec(v___y_2851_); -return v_res_2857_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(lean_object* v_currNamespace_2858_, lean_object* v_modifiers_2859_, lean_object* v_shortName_2860_, lean_object* v___y_2861_, lean_object* v___y_2862_, lean_object* v___y_2863_, lean_object* v___y_2864_, lean_object* v___y_2865_, lean_object* v___y_2866_){ -_start: -{ -lean_object* v___y_2869_; lean_object* v___y_2870_; lean_object* v___y_2874_; lean_object* v_shortName_2875_; lean_object* v_currNamespace_2876_; lean_object* v___y_2877_; lean_object* v___y_2878_; lean_object* v___y_2879_; lean_object* v___y_2880_; lean_object* v___y_2881_; lean_object* v___y_2882_; lean_object* v_view_2936_; lean_object* v_name_2937_; lean_object* v_imported_2938_; lean_object* v_ctx_2939_; lean_object* v_scopes_2940_; lean_object* v___x_2942_; uint8_t v_isShared_2943_; uint8_t v_isSharedCheck_2998_; -lean_inc(v_shortName_2860_); -v_view_2936_ = l_Lean_extractMacroScopes(v_shortName_2860_); -v_name_2937_ = lean_ctor_get(v_view_2936_, 0); -v_imported_2938_ = lean_ctor_get(v_view_2936_, 1); -v_ctx_2939_ = lean_ctor_get(v_view_2936_, 2); -v_scopes_2940_ = lean_ctor_get(v_view_2936_, 3); -v_isSharedCheck_2998_ = !lean_is_exclusive(v_view_2936_); -if (v_isSharedCheck_2998_ == 0) -{ -v___x_2942_ = v_view_2936_; -v_isShared_2943_ = v_isSharedCheck_2998_; -goto v_resetjp_2941_; -} -else -{ -lean_inc(v_scopes_2940_); -lean_inc(v_ctx_2939_); -lean_inc(v_imported_2938_); -lean_inc(v_name_2937_); -lean_dec(v_view_2936_); -v___x_2942_ = lean_box(0); -v_isShared_2943_ = v_isSharedCheck_2998_; -goto v_resetjp_2941_; -} -v___jp_2868_: -{ -lean_object* v___x_2871_; lean_object* v___x_2872_; -v___x_2871_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2871_, 0, v___y_2869_); -lean_ctor_set(v___x_2871_, 1, v___y_2870_); -v___x_2872_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2872_, 0, v___x_2871_); -return v___x_2872_; -} -v___jp_2873_: -{ -lean_object* v___x_2883_; -lean_inc_ref(v___y_2877_); -lean_inc(v___y_2874_); -v___x_2883_ = l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(v___y_2874_, v___y_2877_, v___y_2878_, v___y_2879_, v___y_2880_, v___y_2881_, v___y_2882_); -if (lean_obj_tag(v___x_2883_) == 0) -{ -lean_object* v___x_2884_; -lean_dec_ref(v___x_2883_); -lean_inc(v___y_2882_); -lean_inc_ref(v___y_2881_); -lean_inc(v___y_2880_); -lean_inc_ref(v___y_2879_); -lean_inc(v___y_2878_); -lean_inc_ref(v___y_2877_); -v___x_2884_ = l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(v_modifiers_2859_, v___y_2874_, v___y_2877_, v___y_2878_, v___y_2879_, v___y_2880_, v___y_2881_, v___y_2882_); -if (lean_obj_tag(v___x_2884_) == 0) -{ -uint8_t v_isProtected_2885_; -v_isProtected_2885_ = lean_ctor_get_uint8(v_modifiers_2859_, sizeof(void*)*3 + 1); -if (v_isProtected_2885_ == 0) -{ -lean_object* v_a_2886_; lean_object* v___x_2888_; uint8_t v_isShared_2889_; uint8_t v_isSharedCheck_2894_; -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -lean_dec_ref(v___y_2877_); -lean_dec(v_currNamespace_2876_); -v_a_2886_ = lean_ctor_get(v___x_2884_, 0); -v_isSharedCheck_2894_ = !lean_is_exclusive(v___x_2884_); -if (v_isSharedCheck_2894_ == 0) -{ -v___x_2888_ = v___x_2884_; -v_isShared_2889_ = v_isSharedCheck_2894_; -goto v_resetjp_2887_; -} -else -{ -lean_inc(v_a_2886_); -lean_dec(v___x_2884_); -v___x_2888_ = lean_box(0); -v_isShared_2889_ = v_isSharedCheck_2894_; -goto v_resetjp_2887_; -} -v_resetjp_2887_: -{ -lean_object* v___x_2890_; lean_object* v___x_2892_; -v___x_2890_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2890_, 0, v_a_2886_); -lean_ctor_set(v___x_2890_, 1, v_shortName_2875_); -if (v_isShared_2889_ == 0) -{ -lean_ctor_set(v___x_2888_, 0, v___x_2890_); -v___x_2892_ = v___x_2888_; -goto v_reusejp_2891_; -} -else -{ -lean_object* v_reuseFailAlloc_2893_; -v_reuseFailAlloc_2893_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2893_, 0, v___x_2890_); -v___x_2892_ = v_reuseFailAlloc_2893_; -goto v_reusejp_2891_; -} -v_reusejp_2891_: -{ return v___x_2892_; } } } else { -if (lean_obj_tag(v_currNamespace_2876_) == 1) +lean_object* v___x_2901_; lean_object* v___x_2902_; +lean_dec_ref(v___y_2873_); +lean_dec(v_declName_2872_); +v___x_2901_ = lean_box(0); +v___x_2902_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2902_, 0, v___x_2901_); +return v___x_2902_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3___boxed(lean_object* v_declName_2903_, lean_object* v___y_2904_, lean_object* v___y_2905_, lean_object* v___y_2906_, lean_object* v___y_2907_, lean_object* v___y_2908_, lean_object* v___y_2909_, lean_object* v___y_2910_){ +_start: { -lean_object* v_a_2895_; lean_object* v___x_2897_; uint8_t v_isShared_2898_; uint8_t v_isSharedCheck_2907_; -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -lean_dec_ref(v___y_2877_); -v_a_2895_ = lean_ctor_get(v___x_2884_, 0); -v_isSharedCheck_2907_ = !lean_is_exclusive(v___x_2884_); -if (v_isSharedCheck_2907_ == 0) +lean_object* v_res_2911_; +v_res_2911_ = l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(v_declName_2903_, v___y_2904_, v___y_2905_, v___y_2906_, v___y_2907_, v___y_2908_, v___y_2909_); +lean_dec(v___y_2909_); +lean_dec_ref(v___y_2908_); +lean_dec(v___y_2907_); +lean_dec_ref(v___y_2906_); +lean_dec(v___y_2905_); +return v_res_2911_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(lean_object* v_currNamespace_2912_, lean_object* v_modifiers_2913_, lean_object* v_shortName_2914_, lean_object* v___y_2915_, lean_object* v___y_2916_, lean_object* v___y_2917_, lean_object* v___y_2918_, lean_object* v___y_2919_, lean_object* v___y_2920_){ +_start: { -v___x_2897_ = v___x_2884_; -v_isShared_2898_ = v_isSharedCheck_2907_; -goto v_resetjp_2896_; +lean_object* v___y_2923_; lean_object* v___y_2924_; lean_object* v___y_2928_; lean_object* v_shortName_2929_; lean_object* v_currNamespace_2930_; lean_object* v___y_2931_; lean_object* v___y_2932_; lean_object* v___y_2933_; lean_object* v___y_2934_; lean_object* v___y_2935_; lean_object* v___y_2936_; lean_object* v_view_2990_; lean_object* v_name_2991_; lean_object* v_imported_2992_; lean_object* v_ctx_2993_; lean_object* v_scopes_2994_; lean_object* v___x_2996_; uint8_t v_isShared_2997_; uint8_t v_isSharedCheck_3052_; +lean_inc(v_shortName_2914_); +v_view_2990_ = l_Lean_extractMacroScopes(v_shortName_2914_); +v_name_2991_ = lean_ctor_get(v_view_2990_, 0); +v_imported_2992_ = lean_ctor_get(v_view_2990_, 1); +v_ctx_2993_ = lean_ctor_get(v_view_2990_, 2); +v_scopes_2994_ = lean_ctor_get(v_view_2990_, 3); +v_isSharedCheck_3052_ = !lean_is_exclusive(v_view_2990_); +if (v_isSharedCheck_3052_ == 0) +{ +v___x_2996_ = v_view_2990_; +v_isShared_2997_ = v_isSharedCheck_3052_; +goto v_resetjp_2995_; } else { -lean_inc(v_a_2895_); -lean_dec(v___x_2884_); -v___x_2897_ = lean_box(0); -v_isShared_2898_ = v_isSharedCheck_2907_; -goto v_resetjp_2896_; +lean_inc(v_scopes_2994_); +lean_inc(v_ctx_2993_); +lean_inc(v_imported_2992_); +lean_inc(v_name_2991_); +lean_dec(v_view_2990_); +v___x_2996_ = lean_box(0); +v_isShared_2997_ = v_isSharedCheck_3052_; +goto v_resetjp_2995_; } -v_resetjp_2896_: +v___jp_2922_: { -lean_object* v_str_2899_; lean_object* v___x_2900_; lean_object* v___x_2901_; lean_object* v___x_2902_; lean_object* v___x_2903_; lean_object* v___x_2905_; -v_str_2899_ = lean_ctor_get(v_currNamespace_2876_, 1); -lean_inc_ref(v_str_2899_); -lean_dec_ref(v_currNamespace_2876_); -v___x_2900_ = lean_box(0); -v___x_2901_ = l_Lean_Name_str___override(v___x_2900_, v_str_2899_); -v___x_2902_ = l_Lean_Name_append(v___x_2901_, v_shortName_2875_); -v___x_2903_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2903_, 0, v_a_2895_); -lean_ctor_set(v___x_2903_, 1, v___x_2902_); -if (v_isShared_2898_ == 0) +lean_object* v___x_2925_; lean_object* v___x_2926_; +v___x_2925_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2925_, 0, v___y_2923_); +lean_ctor_set(v___x_2925_, 1, v___y_2924_); +v___x_2926_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2926_, 0, v___x_2925_); +return v___x_2926_; +} +v___jp_2927_: { -lean_ctor_set(v___x_2897_, 0, v___x_2903_); -v___x_2905_ = v___x_2897_; -goto v_reusejp_2904_; +lean_object* v___x_2937_; +lean_inc_ref(v___y_2931_); +lean_inc(v___y_2928_); +v___x_2937_ = l_Lean_Elab_checkIfShadowingStructureField___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__3(v___y_2928_, v___y_2931_, v___y_2932_, v___y_2933_, v___y_2934_, v___y_2935_, v___y_2936_); +if (lean_obj_tag(v___x_2937_) == 0) +{ +lean_object* v___x_2938_; +lean_dec_ref(v___x_2937_); +lean_inc(v___y_2936_); +lean_inc_ref(v___y_2935_); +lean_inc(v___y_2934_); +lean_inc_ref(v___y_2933_); +lean_inc(v___y_2932_); +lean_inc_ref(v___y_2931_); +v___x_2938_ = l_Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4(v_modifiers_2913_, v___y_2928_, v___y_2931_, v___y_2932_, v___y_2933_, v___y_2934_, v___y_2935_, v___y_2936_); +if (lean_obj_tag(v___x_2938_) == 0) +{ +uint8_t v_isProtected_2939_; +v_isProtected_2939_ = lean_ctor_get_uint8(v_modifiers_2913_, sizeof(void*)*3 + 1); +if (v_isProtected_2939_ == 0) +{ +lean_object* v_a_2940_; lean_object* v___x_2942_; uint8_t v_isShared_2943_; uint8_t v_isSharedCheck_2948_; +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +lean_dec_ref(v___y_2931_); +lean_dec(v_currNamespace_2930_); +v_a_2940_ = lean_ctor_get(v___x_2938_, 0); +v_isSharedCheck_2948_ = !lean_is_exclusive(v___x_2938_); +if (v_isSharedCheck_2948_ == 0) +{ +v___x_2942_ = v___x_2938_; +v_isShared_2943_ = v_isSharedCheck_2948_; +goto v_resetjp_2941_; } else { -lean_object* v_reuseFailAlloc_2906_; -v_reuseFailAlloc_2906_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2906_, 0, v___x_2903_); -v___x_2905_ = v_reuseFailAlloc_2906_; -goto v_reusejp_2904_; -} -v_reusejp_2904_: -{ -return v___x_2905_; -} -} -} -else -{ -lean_object* v_a_2908_; uint8_t v___x_2909_; -lean_dec(v_currNamespace_2876_); -v_a_2908_ = lean_ctor_get(v___x_2884_, 0); -lean_inc(v_a_2908_); -lean_dec_ref(v___x_2884_); -v___x_2909_ = l_Lean_Name_isAtomic(v_shortName_2875_); -if (v___x_2909_ == 0) -{ -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -lean_dec_ref(v___y_2877_); -v___y_2869_ = v_a_2908_; -v___y_2870_ = v_shortName_2875_; -goto v___jp_2868_; -} -else -{ -lean_object* v___x_2910_; lean_object* v___x_2911_; lean_object* v_a_2912_; lean_object* v___x_2914_; uint8_t v_isShared_2915_; uint8_t v_isSharedCheck_2919_; -lean_dec(v_a_2908_); -lean_dec(v_shortName_2875_); -v___x_2910_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1, &l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1); -v___x_2911_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2910_, v___y_2877_, v___y_2878_, v___y_2879_, v___y_2880_, v___y_2881_, v___y_2882_); -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -v_a_2912_ = lean_ctor_get(v___x_2911_, 0); -v_isSharedCheck_2919_ = !lean_is_exclusive(v___x_2911_); -if (v_isSharedCheck_2919_ == 0) -{ -v___x_2914_ = v___x_2911_; -v_isShared_2915_ = v_isSharedCheck_2919_; -goto v_resetjp_2913_; -} -else -{ -lean_inc(v_a_2912_); -lean_dec(v___x_2911_); -v___x_2914_ = lean_box(0); -v_isShared_2915_ = v_isSharedCheck_2919_; -goto v_resetjp_2913_; -} -v_resetjp_2913_: -{ -lean_object* v___x_2917_; -if (v_isShared_2915_ == 0) -{ -v___x_2917_ = v___x_2914_; -goto v_reusejp_2916_; -} -else -{ -lean_object* v_reuseFailAlloc_2918_; -v_reuseFailAlloc_2918_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2918_, 0, v_a_2912_); -v___x_2917_ = v_reuseFailAlloc_2918_; -goto v_reusejp_2916_; -} -v_reusejp_2916_: -{ -return v___x_2917_; -} -} -} -} -} -} -else -{ -lean_object* v_a_2920_; lean_object* v___x_2922_; uint8_t v_isShared_2923_; uint8_t v_isSharedCheck_2927_; -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -lean_dec_ref(v___y_2877_); -lean_dec(v_currNamespace_2876_); -lean_dec(v_shortName_2875_); -v_a_2920_ = lean_ctor_get(v___x_2884_, 0); -v_isSharedCheck_2927_ = !lean_is_exclusive(v___x_2884_); -if (v_isSharedCheck_2927_ == 0) -{ -v___x_2922_ = v___x_2884_; -v_isShared_2923_ = v_isSharedCheck_2927_; -goto v_resetjp_2921_; -} -else -{ -lean_inc(v_a_2920_); -lean_dec(v___x_2884_); -v___x_2922_ = lean_box(0); -v_isShared_2923_ = v_isSharedCheck_2927_; -goto v_resetjp_2921_; -} -v_resetjp_2921_: -{ -lean_object* v___x_2925_; -if (v_isShared_2923_ == 0) -{ -v___x_2925_ = v___x_2922_; -goto v_reusejp_2924_; -} -else -{ -lean_object* v_reuseFailAlloc_2926_; -v_reuseFailAlloc_2926_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2926_, 0, v_a_2920_); -v___x_2925_ = v_reuseFailAlloc_2926_; -goto v_reusejp_2924_; -} -v_reusejp_2924_: -{ -return v___x_2925_; -} -} -} -} -else -{ -lean_object* v_a_2928_; lean_object* v___x_2930_; uint8_t v_isShared_2931_; uint8_t v_isSharedCheck_2935_; -lean_dec(v___y_2882_); -lean_dec_ref(v___y_2881_); -lean_dec(v___y_2880_); -lean_dec_ref(v___y_2879_); -lean_dec(v___y_2878_); -lean_dec_ref(v___y_2877_); -lean_dec(v_currNamespace_2876_); -lean_dec(v_shortName_2875_); -lean_dec(v___y_2874_); -v_a_2928_ = lean_ctor_get(v___x_2883_, 0); -v_isSharedCheck_2935_ = !lean_is_exclusive(v___x_2883_); -if (v_isSharedCheck_2935_ == 0) -{ -v___x_2930_ = v___x_2883_; -v_isShared_2931_ = v_isSharedCheck_2935_; -goto v_resetjp_2929_; -} -else -{ -lean_inc(v_a_2928_); -lean_dec(v___x_2883_); -v___x_2930_ = lean_box(0); -v_isShared_2931_ = v_isSharedCheck_2935_; -goto v_resetjp_2929_; -} -v_resetjp_2929_: -{ -lean_object* v___x_2933_; -if (v_isShared_2931_ == 0) -{ -v___x_2933_ = v___x_2930_; -goto v_reusejp_2932_; -} -else -{ -lean_object* v_reuseFailAlloc_2934_; -v_reuseFailAlloc_2934_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2934_, 0, v_a_2928_); -v___x_2933_ = v_reuseFailAlloc_2934_; -goto v_reusejp_2932_; -} -v_reusejp_2932_: -{ -return v___x_2933_; -} -} -} +lean_inc(v_a_2940_); +lean_dec(v___x_2938_); +v___x_2942_ = lean_box(0); +v_isShared_2943_ = v_isSharedCheck_2948_; +goto v_resetjp_2941_; } v_resetjp_2941_: { -lean_object* v___x_2944_; uint8_t v_isRootName_2945_; lean_object* v___y_2947_; lean_object* v___y_2948_; lean_object* v___y_2949_; lean_object* v___y_2950_; lean_object* v___y_2951_; lean_object* v___y_2952_; lean_object* v___y_2953_; lean_object* v___y_2974_; lean_object* v___y_2975_; lean_object* v___y_2976_; lean_object* v___y_2977_; lean_object* v___y_2978_; lean_object* v___y_2979_; uint8_t v___x_2987_; -v___x_2944_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__1)); -v_isRootName_2945_ = l_Lean_Name_isPrefixOf(v___x_2944_, v_name_2937_); -v___x_2987_ = lean_name_eq(v_name_2937_, v___x_2944_); -if (v___x_2987_ == 0) -{ -v___y_2974_ = v___y_2861_; -v___y_2975_ = v___y_2862_; -v___y_2976_ = v___y_2863_; -v___y_2977_ = v___y_2864_; -v___y_2978_ = v___y_2865_; -v___y_2979_ = v___y_2866_; -goto v___jp_2973_; -} -else -{ -lean_object* v___x_2988_; lean_object* v___x_2989_; lean_object* v_a_2990_; lean_object* v___x_2992_; uint8_t v_isShared_2993_; uint8_t v_isSharedCheck_2997_; -lean_del_object(v___x_2942_); -lean_dec(v_scopes_2940_); -lean_dec(v_ctx_2939_); -lean_dec(v_imported_2938_); -lean_dec(v_name_2937_); -lean_dec(v_shortName_2860_); -lean_dec(v_currNamespace_2858_); -v___x_2988_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___closed__3, &l_Lean_Elab_mkDeclName___redArg___closed__3_once, _init_l_Lean_Elab_mkDeclName___redArg___closed__3); -v___x_2989_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2988_, v___y_2861_, v___y_2862_, v___y_2863_, v___y_2864_, v___y_2865_, v___y_2866_); -lean_dec(v___y_2866_); -lean_dec_ref(v___y_2865_); -lean_dec(v___y_2864_); -lean_dec_ref(v___y_2863_); -lean_dec(v___y_2862_); -v_a_2990_ = lean_ctor_get(v___x_2989_, 0); -v_isSharedCheck_2997_ = !lean_is_exclusive(v___x_2989_); -if (v_isSharedCheck_2997_ == 0) -{ -v___x_2992_ = v___x_2989_; -v_isShared_2993_ = v_isSharedCheck_2997_; -goto v_resetjp_2991_; -} -else -{ -lean_inc(v_a_2990_); -lean_dec(v___x_2989_); -v___x_2992_ = lean_box(0); -v_isShared_2993_ = v_isSharedCheck_2997_; -goto v_resetjp_2991_; -} -v_resetjp_2991_: -{ -lean_object* v___x_2995_; -if (v_isShared_2993_ == 0) -{ -v___x_2995_ = v___x_2992_; -goto v_reusejp_2994_; -} -else -{ -lean_object* v_reuseFailAlloc_2996_; -v_reuseFailAlloc_2996_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2996_, 0, v_a_2990_); -v___x_2995_ = v_reuseFailAlloc_2996_; -goto v_reusejp_2994_; -} -v_reusejp_2994_: -{ -return v___x_2995_; -} -} -} -v___jp_2946_: -{ -if (v_isRootName_2945_ == 0) -{ -lean_dec(v_name_2937_); -v___y_2874_ = v___y_2953_; -v_shortName_2875_ = v_shortName_2860_; -v_currNamespace_2876_ = v_currNamespace_2858_; -v___y_2877_ = v___y_2950_; -v___y_2878_ = v___y_2948_; -v___y_2879_ = v___y_2952_; -v___y_2880_ = v___y_2951_; -v___y_2881_ = v___y_2947_; -v___y_2882_ = v___y_2949_; -goto v___jp_2873_; -} -else -{ -lean_dec(v_shortName_2860_); -lean_dec(v_currNamespace_2858_); -if (lean_obj_tag(v_name_2937_) == 1) -{ -lean_object* v_pre_2954_; lean_object* v_str_2955_; lean_object* v___x_2956_; lean_object* v_shortName_2957_; lean_object* v_currNamespace_2958_; -v_pre_2954_ = lean_ctor_get(v_name_2937_, 0); -lean_inc(v_pre_2954_); -v_str_2955_ = lean_ctor_get(v_name_2937_, 1); -lean_inc_ref(v_str_2955_); -lean_dec_ref(v_name_2937_); -v___x_2956_ = lean_box(0); -v_shortName_2957_ = l_Lean_Name_str___override(v___x_2956_, v_str_2955_); -v_currNamespace_2958_ = l_Lean_Name_replacePrefix(v_pre_2954_, v___x_2944_, v___x_2956_); -v___y_2874_ = v___y_2953_; -v_shortName_2875_ = v_shortName_2957_; -v_currNamespace_2876_ = v_currNamespace_2958_; -v___y_2877_ = v___y_2950_; -v___y_2878_ = v___y_2948_; -v___y_2879_ = v___y_2952_; -v___y_2880_ = v___y_2951_; -v___y_2881_ = v___y_2947_; -v___y_2882_ = v___y_2949_; -goto v___jp_2873_; -} -else -{ -lean_object* v___x_2959_; lean_object* v___x_2960_; lean_object* v___x_2961_; lean_object* v___x_2962_; lean_object* v___x_2963_; lean_object* v___x_2964_; lean_object* v_a_2965_; lean_object* v___x_2967_; uint8_t v_isShared_2968_; uint8_t v_isSharedCheck_2972_; -lean_dec(v___y_2953_); -v___x_2959_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); -v___x_2960_ = l_Lean_MessageData_ofName(v_name_2937_); -v___x_2961_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2961_, 0, v___x_2959_); -lean_ctor_set(v___x_2961_, 1, v___x_2960_); -v___x_2962_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); -v___x_2963_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2963_, 0, v___x_2961_); -lean_ctor_set(v___x_2963_, 1, v___x_2962_); -v___x_2964_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2963_, v___y_2950_, v___y_2948_, v___y_2952_, v___y_2951_, v___y_2947_, v___y_2949_); -lean_dec(v___y_2949_); -lean_dec_ref(v___y_2947_); -lean_dec(v___y_2951_); -lean_dec_ref(v___y_2952_); -lean_dec(v___y_2948_); -v_a_2965_ = lean_ctor_get(v___x_2964_, 0); -v_isSharedCheck_2972_ = !lean_is_exclusive(v___x_2964_); -if (v_isSharedCheck_2972_ == 0) -{ -v___x_2967_ = v___x_2964_; -v_isShared_2968_ = v_isSharedCheck_2972_; -goto v_resetjp_2966_; -} -else -{ -lean_inc(v_a_2965_); -lean_dec(v___x_2964_); -v___x_2967_ = lean_box(0); -v_isShared_2968_ = v_isSharedCheck_2972_; -goto v_resetjp_2966_; -} -v_resetjp_2966_: -{ -lean_object* v___x_2970_; -if (v_isShared_2968_ == 0) -{ -v___x_2970_ = v___x_2967_; -goto v_reusejp_2969_; -} -else -{ -lean_object* v_reuseFailAlloc_2971_; -v_reuseFailAlloc_2971_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2971_, 0, v_a_2965_); -v___x_2970_ = v_reuseFailAlloc_2971_; -goto v_reusejp_2969_; -} -v_reusejp_2969_: -{ -return v___x_2970_; -} -} -} -} -} -v___jp_2973_: -{ -if (v_isRootName_2945_ == 0) -{ -lean_object* v___x_2980_; -lean_del_object(v___x_2942_); -lean_dec(v_scopes_2940_); -lean_dec(v_ctx_2939_); -lean_dec(v_imported_2938_); -lean_inc(v_shortName_2860_); -lean_inc(v_currNamespace_2858_); -v___x_2980_ = l_Lean_Name_append(v_currNamespace_2858_, v_shortName_2860_); -v___y_2947_ = v___y_2978_; -v___y_2948_ = v___y_2975_; -v___y_2949_ = v___y_2979_; -v___y_2950_ = v___y_2974_; -v___y_2951_ = v___y_2977_; -v___y_2952_ = v___y_2976_; -v___y_2953_ = v___x_2980_; -goto v___jp_2946_; -} -else -{ -lean_object* v___x_2981_; lean_object* v___x_2982_; lean_object* v___x_2984_; -v___x_2981_ = lean_box(0); -lean_inc(v_name_2937_); -v___x_2982_ = l_Lean_Name_replacePrefix(v_name_2937_, v___x_2944_, v___x_2981_); +lean_object* v___x_2944_; lean_object* v___x_2946_; +v___x_2944_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2944_, 0, v_a_2940_); +lean_ctor_set(v___x_2944_, 1, v_shortName_2929_); if (v_isShared_2943_ == 0) { -lean_ctor_set(v___x_2942_, 0, v___x_2982_); -v___x_2984_ = v___x_2942_; -goto v_reusejp_2983_; +lean_ctor_set(v___x_2942_, 0, v___x_2944_); +v___x_2946_ = v___x_2942_; +goto v_reusejp_2945_; } else { -lean_object* v_reuseFailAlloc_2986_; -v_reuseFailAlloc_2986_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_2986_, 0, v___x_2982_); -lean_ctor_set(v_reuseFailAlloc_2986_, 1, v_imported_2938_); -lean_ctor_set(v_reuseFailAlloc_2986_, 2, v_ctx_2939_); -lean_ctor_set(v_reuseFailAlloc_2986_, 3, v_scopes_2940_); -v___x_2984_ = v_reuseFailAlloc_2986_; -goto v_reusejp_2983_; +lean_object* v_reuseFailAlloc_2947_; +v_reuseFailAlloc_2947_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2947_, 0, v___x_2944_); +v___x_2946_ = v_reuseFailAlloc_2947_; +goto v_reusejp_2945_; } -v_reusejp_2983_: +v_reusejp_2945_: { -lean_object* v___x_2985_; -v___x_2985_ = l_Lean_MacroScopesView_review(v___x_2984_); -v___y_2947_ = v___y_2978_; -v___y_2948_ = v___y_2975_; -v___y_2949_ = v___y_2979_; -v___y_2950_ = v___y_2974_; -v___y_2951_ = v___y_2977_; -v___y_2952_ = v___y_2976_; -v___y_2953_ = v___x_2985_; -goto v___jp_2946_; +return v___x_2946_; +} +} +} +else +{ +if (lean_obj_tag(v_currNamespace_2930_) == 1) +{ +lean_object* v_a_2949_; lean_object* v___x_2951_; uint8_t v_isShared_2952_; uint8_t v_isSharedCheck_2961_; +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +lean_dec_ref(v___y_2931_); +v_a_2949_ = lean_ctor_get(v___x_2938_, 0); +v_isSharedCheck_2961_ = !lean_is_exclusive(v___x_2938_); +if (v_isSharedCheck_2961_ == 0) +{ +v___x_2951_ = v___x_2938_; +v_isShared_2952_ = v_isSharedCheck_2961_; +goto v_resetjp_2950_; +} +else +{ +lean_inc(v_a_2949_); +lean_dec(v___x_2938_); +v___x_2951_ = lean_box(0); +v_isShared_2952_ = v_isSharedCheck_2961_; +goto v_resetjp_2950_; +} +v_resetjp_2950_: +{ +lean_object* v_str_2953_; lean_object* v___x_2954_; lean_object* v___x_2955_; lean_object* v___x_2956_; lean_object* v___x_2957_; lean_object* v___x_2959_; +v_str_2953_ = lean_ctor_get(v_currNamespace_2930_, 1); +lean_inc_ref(v_str_2953_); +lean_dec_ref(v_currNamespace_2930_); +v___x_2954_ = lean_box(0); +v___x_2955_ = l_Lean_Name_str___override(v___x_2954_, v_str_2953_); +v___x_2956_ = l_Lean_Name_append(v___x_2955_, v_shortName_2929_); +v___x_2957_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2957_, 0, v_a_2949_); +lean_ctor_set(v___x_2957_, 1, v___x_2956_); +if (v_isShared_2952_ == 0) +{ +lean_ctor_set(v___x_2951_, 0, v___x_2957_); +v___x_2959_ = v___x_2951_; +goto v_reusejp_2958_; +} +else +{ +lean_object* v_reuseFailAlloc_2960_; +v_reuseFailAlloc_2960_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2960_, 0, v___x_2957_); +v___x_2959_ = v_reuseFailAlloc_2960_; +goto v_reusejp_2958_; +} +v_reusejp_2958_: +{ +return v___x_2959_; +} +} +} +else +{ +lean_object* v_a_2962_; uint8_t v___x_2963_; +lean_dec(v_currNamespace_2930_); +v_a_2962_ = lean_ctor_get(v___x_2938_, 0); +lean_inc(v_a_2962_); +lean_dec_ref(v___x_2938_); +v___x_2963_ = l_Lean_Name_isAtomic(v_shortName_2929_); +if (v___x_2963_ == 0) +{ +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +lean_dec_ref(v___y_2931_); +v___y_2923_ = v_a_2962_; +v___y_2924_ = v_shortName_2929_; +goto v___jp_2922_; +} +else +{ +lean_object* v___x_2964_; lean_object* v___x_2965_; lean_object* v_a_2966_; lean_object* v___x_2968_; uint8_t v_isShared_2969_; uint8_t v_isSharedCheck_2973_; +lean_dec(v_a_2962_); +lean_dec(v_shortName_2929_); +v___x_2964_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1, &l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_mkDeclName___redArg___lam__2___closed__1); +v___x_2965_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_2964_, v___y_2931_, v___y_2932_, v___y_2933_, v___y_2934_, v___y_2935_, v___y_2936_); +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +v_a_2966_ = lean_ctor_get(v___x_2965_, 0); +v_isSharedCheck_2973_ = !lean_is_exclusive(v___x_2965_); +if (v_isSharedCheck_2973_ == 0) +{ +v___x_2968_ = v___x_2965_; +v_isShared_2969_ = v_isSharedCheck_2973_; +goto v_resetjp_2967_; +} +else +{ +lean_inc(v_a_2966_); +lean_dec(v___x_2965_); +v___x_2968_ = lean_box(0); +v_isShared_2969_ = v_isSharedCheck_2973_; +goto v_resetjp_2967_; +} +v_resetjp_2967_: +{ +lean_object* v___x_2971_; +if (v_isShared_2969_ == 0) +{ +v___x_2971_ = v___x_2968_; +goto v_reusejp_2970_; +} +else +{ +lean_object* v_reuseFailAlloc_2972_; +v_reuseFailAlloc_2972_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2972_, 0, v_a_2966_); +v___x_2971_ = v_reuseFailAlloc_2972_; +goto v_reusejp_2970_; +} +v_reusejp_2970_: +{ +return v___x_2971_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2___boxed(lean_object* v_currNamespace_2999_, lean_object* v_modifiers_3000_, lean_object* v_shortName_3001_, lean_object* v___y_3002_, lean_object* v___y_3003_, lean_object* v___y_3004_, lean_object* v___y_3005_, lean_object* v___y_3006_, lean_object* v___y_3007_, lean_object* v___y_3008_){ +else +{ +lean_object* v_a_2974_; lean_object* v___x_2976_; uint8_t v_isShared_2977_; uint8_t v_isSharedCheck_2981_; +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +lean_dec_ref(v___y_2931_); +lean_dec(v_currNamespace_2930_); +lean_dec(v_shortName_2929_); +v_a_2974_ = lean_ctor_get(v___x_2938_, 0); +v_isSharedCheck_2981_ = !lean_is_exclusive(v___x_2938_); +if (v_isSharedCheck_2981_ == 0) +{ +v___x_2976_ = v___x_2938_; +v_isShared_2977_ = v_isSharedCheck_2981_; +goto v_resetjp_2975_; +} +else +{ +lean_inc(v_a_2974_); +lean_dec(v___x_2938_); +v___x_2976_ = lean_box(0); +v_isShared_2977_ = v_isSharedCheck_2981_; +goto v_resetjp_2975_; +} +v_resetjp_2975_: +{ +lean_object* v___x_2979_; +if (v_isShared_2977_ == 0) +{ +v___x_2979_ = v___x_2976_; +goto v_reusejp_2978_; +} +else +{ +lean_object* v_reuseFailAlloc_2980_; +v_reuseFailAlloc_2980_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2980_, 0, v_a_2974_); +v___x_2979_ = v_reuseFailAlloc_2980_; +goto v_reusejp_2978_; +} +v_reusejp_2978_: +{ +return v___x_2979_; +} +} +} +} +else +{ +lean_object* v_a_2982_; lean_object* v___x_2984_; uint8_t v_isShared_2985_; uint8_t v_isSharedCheck_2989_; +lean_dec(v___y_2936_); +lean_dec_ref(v___y_2935_); +lean_dec(v___y_2934_); +lean_dec_ref(v___y_2933_); +lean_dec(v___y_2932_); +lean_dec_ref(v___y_2931_); +lean_dec(v_currNamespace_2930_); +lean_dec(v_shortName_2929_); +lean_dec(v___y_2928_); +v_a_2982_ = lean_ctor_get(v___x_2937_, 0); +v_isSharedCheck_2989_ = !lean_is_exclusive(v___x_2937_); +if (v_isSharedCheck_2989_ == 0) +{ +v___x_2984_ = v___x_2937_; +v_isShared_2985_ = v_isSharedCheck_2989_; +goto v_resetjp_2983_; +} +else +{ +lean_inc(v_a_2982_); +lean_dec(v___x_2937_); +v___x_2984_ = lean_box(0); +v_isShared_2985_ = v_isSharedCheck_2989_; +goto v_resetjp_2983_; +} +v_resetjp_2983_: +{ +lean_object* v___x_2987_; +if (v_isShared_2985_ == 0) +{ +v___x_2987_ = v___x_2984_; +goto v_reusejp_2986_; +} +else +{ +lean_object* v_reuseFailAlloc_2988_; +v_reuseFailAlloc_2988_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2988_, 0, v_a_2982_); +v___x_2987_ = v_reuseFailAlloc_2988_; +goto v_reusejp_2986_; +} +v_reusejp_2986_: +{ +return v___x_2987_; +} +} +} +} +v_resetjp_2995_: +{ +lean_object* v___x_2998_; uint8_t v_isRootName_2999_; lean_object* v___y_3001_; lean_object* v___y_3002_; lean_object* v___y_3003_; lean_object* v___y_3004_; lean_object* v___y_3005_; lean_object* v___y_3006_; lean_object* v___y_3007_; lean_object* v___y_3028_; lean_object* v___y_3029_; lean_object* v___y_3030_; lean_object* v___y_3031_; lean_object* v___y_3032_; lean_object* v___y_3033_; uint8_t v___x_3041_; +v___x_2998_ = ((lean_object*)(l_Lean_Elab_mkDeclName___redArg___closed__1)); +v_isRootName_2999_ = l_Lean_Name_isPrefixOf(v___x_2998_, v_name_2991_); +v___x_3041_ = lean_name_eq(v_name_2991_, v___x_2998_); +if (v___x_3041_ == 0) +{ +v___y_3028_ = v___y_2915_; +v___y_3029_ = v___y_2916_; +v___y_3030_ = v___y_2917_; +v___y_3031_ = v___y_2918_; +v___y_3032_ = v___y_2919_; +v___y_3033_ = v___y_2920_; +goto v___jp_3027_; +} +else +{ +lean_object* v___x_3042_; lean_object* v___x_3043_; lean_object* v_a_3044_; lean_object* v___x_3046_; uint8_t v_isShared_3047_; uint8_t v_isSharedCheck_3051_; +lean_del_object(v___x_2996_); +lean_dec(v_scopes_2994_); +lean_dec(v_ctx_2993_); +lean_dec(v_imported_2992_); +lean_dec(v_name_2991_); +lean_dec(v_shortName_2914_); +lean_dec(v_currNamespace_2912_); +v___x_3042_ = lean_obj_once(&l_Lean_Elab_mkDeclName___redArg___closed__3, &l_Lean_Elab_mkDeclName___redArg___closed__3_once, _init_l_Lean_Elab_mkDeclName___redArg___closed__3); +v___x_3043_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_3042_, v___y_2915_, v___y_2916_, v___y_2917_, v___y_2918_, v___y_2919_, v___y_2920_); +lean_dec(v___y_2920_); +lean_dec_ref(v___y_2919_); +lean_dec(v___y_2918_); +lean_dec_ref(v___y_2917_); +lean_dec(v___y_2916_); +v_a_3044_ = lean_ctor_get(v___x_3043_, 0); +v_isSharedCheck_3051_ = !lean_is_exclusive(v___x_3043_); +if (v_isSharedCheck_3051_ == 0) +{ +v___x_3046_ = v___x_3043_; +v_isShared_3047_ = v_isSharedCheck_3051_; +goto v_resetjp_3045_; +} +else +{ +lean_inc(v_a_3044_); +lean_dec(v___x_3043_); +v___x_3046_ = lean_box(0); +v_isShared_3047_ = v_isSharedCheck_3051_; +goto v_resetjp_3045_; +} +v_resetjp_3045_: +{ +lean_object* v___x_3049_; +if (v_isShared_3047_ == 0) +{ +v___x_3049_ = v___x_3046_; +goto v_reusejp_3048_; +} +else +{ +lean_object* v_reuseFailAlloc_3050_; +v_reuseFailAlloc_3050_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3050_, 0, v_a_3044_); +v___x_3049_ = v_reuseFailAlloc_3050_; +goto v_reusejp_3048_; +} +v_reusejp_3048_: +{ +return v___x_3049_; +} +} +} +v___jp_3000_: +{ +if (v_isRootName_2999_ == 0) +{ +lean_dec(v_name_2991_); +v___y_2928_ = v___y_3007_; +v_shortName_2929_ = v_shortName_2914_; +v_currNamespace_2930_ = v_currNamespace_2912_; +v___y_2931_ = v___y_3004_; +v___y_2932_ = v___y_3003_; +v___y_2933_ = v___y_3002_; +v___y_2934_ = v___y_3006_; +v___y_2935_ = v___y_3005_; +v___y_2936_ = v___y_3001_; +goto v___jp_2927_; +} +else +{ +lean_dec(v_shortName_2914_); +lean_dec(v_currNamespace_2912_); +if (lean_obj_tag(v_name_2991_) == 1) +{ +lean_object* v_pre_3008_; lean_object* v_str_3009_; lean_object* v___x_3010_; lean_object* v_shortName_3011_; lean_object* v_currNamespace_3012_; +v_pre_3008_ = lean_ctor_get(v_name_2991_, 0); +lean_inc(v_pre_3008_); +v_str_3009_ = lean_ctor_get(v_name_2991_, 1); +lean_inc_ref(v_str_3009_); +lean_dec_ref(v_name_2991_); +v___x_3010_ = lean_box(0); +v_shortName_3011_ = l_Lean_Name_str___override(v___x_3010_, v_str_3009_); +v_currNamespace_3012_ = l_Lean_Name_replacePrefix(v_pre_3008_, v___x_2998_, v___x_3010_); +v___y_2928_ = v___y_3007_; +v_shortName_2929_ = v_shortName_3011_; +v_currNamespace_2930_ = v_currNamespace_3012_; +v___y_2931_ = v___y_3004_; +v___y_2932_ = v___y_3003_; +v___y_2933_ = v___y_3002_; +v___y_2934_ = v___y_3006_; +v___y_2935_ = v___y_3005_; +v___y_2936_ = v___y_3001_; +goto v___jp_2927_; +} +else +{ +lean_object* v___x_3013_; lean_object* v___x_3014_; lean_object* v___x_3015_; lean_object* v___x_3016_; lean_object* v___x_3017_; lean_object* v___x_3018_; lean_object* v_a_3019_; lean_object* v___x_3021_; uint8_t v_isShared_3022_; uint8_t v_isSharedCheck_3026_; +lean_dec(v___y_3007_); +v___x_3013_ = lean_obj_once(&l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1, &l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1_once, _init_l_Lean_Elab_checkIfShadowingStructureField___redArg___lam__2___closed__1); +v___x_3014_ = l_Lean_MessageData_ofName(v_name_2991_); +v___x_3015_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3015_, 0, v___x_3013_); +lean_ctor_set(v___x_3015_, 1, v___x_3014_); +v___x_3016_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__9___closed__1); +v___x_3017_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3017_, 0, v___x_3015_); +lean_ctor_set(v___x_3017_, 1, v___x_3016_); +v___x_3018_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_3017_, v___y_3004_, v___y_3003_, v___y_3002_, v___y_3006_, v___y_3005_, v___y_3001_); +lean_dec(v___y_3001_); +lean_dec_ref(v___y_3005_); +lean_dec(v___y_3006_); +lean_dec_ref(v___y_3002_); +lean_dec(v___y_3003_); +v_a_3019_ = lean_ctor_get(v___x_3018_, 0); +v_isSharedCheck_3026_ = !lean_is_exclusive(v___x_3018_); +if (v_isSharedCheck_3026_ == 0) +{ +v___x_3021_ = v___x_3018_; +v_isShared_3022_ = v_isSharedCheck_3026_; +goto v_resetjp_3020_; +} +else +{ +lean_inc(v_a_3019_); +lean_dec(v___x_3018_); +v___x_3021_ = lean_box(0); +v_isShared_3022_ = v_isSharedCheck_3026_; +goto v_resetjp_3020_; +} +v_resetjp_3020_: +{ +lean_object* v___x_3024_; +if (v_isShared_3022_ == 0) +{ +v___x_3024_ = v___x_3021_; +goto v_reusejp_3023_; +} +else +{ +lean_object* v_reuseFailAlloc_3025_; +v_reuseFailAlloc_3025_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3025_, 0, v_a_3019_); +v___x_3024_ = v_reuseFailAlloc_3025_; +goto v_reusejp_3023_; +} +v_reusejp_3023_: +{ +return v___x_3024_; +} +} +} +} +} +v___jp_3027_: +{ +if (v_isRootName_2999_ == 0) +{ +lean_object* v___x_3034_; +lean_del_object(v___x_2996_); +lean_dec(v_scopes_2994_); +lean_dec(v_ctx_2993_); +lean_dec(v_imported_2992_); +lean_inc(v_shortName_2914_); +lean_inc(v_currNamespace_2912_); +v___x_3034_ = l_Lean_Name_append(v_currNamespace_2912_, v_shortName_2914_); +v___y_3001_ = v___y_3033_; +v___y_3002_ = v___y_3030_; +v___y_3003_ = v___y_3029_; +v___y_3004_ = v___y_3028_; +v___y_3005_ = v___y_3032_; +v___y_3006_ = v___y_3031_; +v___y_3007_ = v___x_3034_; +goto v___jp_3000_; +} +else +{ +lean_object* v___x_3035_; lean_object* v___x_3036_; lean_object* v___x_3038_; +v___x_3035_ = lean_box(0); +lean_inc(v_name_2991_); +v___x_3036_ = l_Lean_Name_replacePrefix(v_name_2991_, v___x_2998_, v___x_3035_); +if (v_isShared_2997_ == 0) +{ +lean_ctor_set(v___x_2996_, 0, v___x_3036_); +v___x_3038_ = v___x_2996_; +goto v_reusejp_3037_; +} +else +{ +lean_object* v_reuseFailAlloc_3040_; +v_reuseFailAlloc_3040_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_3040_, 0, v___x_3036_); +lean_ctor_set(v_reuseFailAlloc_3040_, 1, v_imported_2992_); +lean_ctor_set(v_reuseFailAlloc_3040_, 2, v_ctx_2993_); +lean_ctor_set(v_reuseFailAlloc_3040_, 3, v_scopes_2994_); +v___x_3038_ = v_reuseFailAlloc_3040_; +goto v_reusejp_3037_; +} +v_reusejp_3037_: +{ +lean_object* v___x_3039_; +v___x_3039_ = l_Lean_MacroScopesView_review(v___x_3038_); +v___y_3001_ = v___y_3033_; +v___y_3002_ = v___y_3030_; +v___y_3003_ = v___y_3029_; +v___y_3004_ = v___y_3028_; +v___y_3005_ = v___y_3032_; +v___y_3006_ = v___y_3031_; +v___y_3007_ = v___x_3039_; +goto v___jp_3000_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2___boxed(lean_object* v_currNamespace_3053_, lean_object* v_modifiers_3054_, lean_object* v_shortName_3055_, lean_object* v___y_3056_, lean_object* v___y_3057_, lean_object* v___y_3058_, lean_object* v___y_3059_, lean_object* v___y_3060_, lean_object* v___y_3061_, lean_object* v___y_3062_){ _start: { -lean_object* v_res_3009_; -v_res_3009_ = l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(v_currNamespace_2999_, v_modifiers_3000_, v_shortName_3001_, v___y_3002_, v___y_3003_, v___y_3004_, v___y_3005_, v___y_3006_, v___y_3007_); -lean_dec_ref(v_modifiers_3000_); -return v_res_3009_; +lean_object* v_res_3063_; +v_res_3063_ = l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(v_currNamespace_3053_, v_modifiers_3054_, v_shortName_3055_, v___y_3056_, v___y_3057_, v___y_3058_, v___y_3059_, v___y_3060_, v___y_3061_); +lean_dec_ref(v_modifiers_3054_); +return v_res_3063_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(uint8_t v___x_3010_, lean_object* v_as_3011_, size_t v_i_3012_, size_t v_stop_3013_, lean_object* v_b_3014_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(uint8_t v___x_3064_, lean_object* v_as_3065_, size_t v_i_3066_, size_t v_stop_3067_, lean_object* v_b_3068_){ _start: { -lean_object* v___y_3016_; uint8_t v___x_3020_; -v___x_3020_ = lean_usize_dec_eq(v_i_3012_, v_stop_3013_); -if (v___x_3020_ == 0) +lean_object* v___y_3070_; uint8_t v___x_3074_; +v___x_3074_ = lean_usize_dec_eq(v_i_3066_, v_stop_3067_); +if (v___x_3074_ == 0) { -lean_object* v_fst_3021_; uint8_t v___x_3022_; -v_fst_3021_ = lean_ctor_get(v_b_3014_, 0); -v___x_3022_ = lean_unbox(v_fst_3021_); -if (v___x_3022_ == 0) +lean_object* v_fst_3075_; uint8_t v___x_3076_; +v_fst_3075_ = lean_ctor_get(v_b_3068_, 0); +v___x_3076_ = lean_unbox(v_fst_3075_); +if (v___x_3076_ == 0) { -lean_object* v_snd_3023_; lean_object* v___x_3025_; uint8_t v_isShared_3026_; uint8_t v_isSharedCheck_3032_; -v_snd_3023_ = lean_ctor_get(v_b_3014_, 1); -v_isSharedCheck_3032_ = !lean_is_exclusive(v_b_3014_); -if (v_isSharedCheck_3032_ == 0) +lean_object* v_snd_3077_; lean_object* v___x_3079_; uint8_t v_isShared_3080_; uint8_t v_isSharedCheck_3086_; +v_snd_3077_ = lean_ctor_get(v_b_3068_, 1); +v_isSharedCheck_3086_ = !lean_is_exclusive(v_b_3068_); +if (v_isSharedCheck_3086_ == 0) { -lean_object* v_unused_3033_; -v_unused_3033_ = lean_ctor_get(v_b_3014_, 0); -lean_dec(v_unused_3033_); -v___x_3025_ = v_b_3014_; -v_isShared_3026_ = v_isSharedCheck_3032_; -goto v_resetjp_3024_; +lean_object* v_unused_3087_; +v_unused_3087_ = lean_ctor_get(v_b_3068_, 0); +lean_dec(v_unused_3087_); +v___x_3079_ = v_b_3068_; +v_isShared_3080_ = v_isSharedCheck_3086_; +goto v_resetjp_3078_; } else { -lean_inc(v_snd_3023_); -lean_dec(v_b_3014_); -v___x_3025_ = lean_box(0); -v_isShared_3026_ = v_isSharedCheck_3032_; -goto v_resetjp_3024_; +lean_inc(v_snd_3077_); +lean_dec(v_b_3068_); +v___x_3079_ = lean_box(0); +v_isShared_3080_ = v_isSharedCheck_3086_; +goto v_resetjp_3078_; } -v_resetjp_3024_: +v_resetjp_3078_: { -uint8_t v___x_3027_; lean_object* v___x_3028_; lean_object* v___x_3030_; -v___x_3027_ = 1; -v___x_3028_ = lean_box(v___x_3027_); -if (v_isShared_3026_ == 0) +uint8_t v___x_3081_; lean_object* v___x_3082_; lean_object* v___x_3084_; +v___x_3081_ = 1; +v___x_3082_ = lean_box(v___x_3081_); +if (v_isShared_3080_ == 0) { -lean_ctor_set(v___x_3025_, 0, v___x_3028_); -v___x_3030_ = v___x_3025_; -goto v_reusejp_3029_; +lean_ctor_set(v___x_3079_, 0, v___x_3082_); +v___x_3084_ = v___x_3079_; +goto v_reusejp_3083_; } else { -lean_object* v_reuseFailAlloc_3031_; -v_reuseFailAlloc_3031_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3031_, 0, v___x_3028_); -lean_ctor_set(v_reuseFailAlloc_3031_, 1, v_snd_3023_); -v___x_3030_ = v_reuseFailAlloc_3031_; -goto v_reusejp_3029_; +lean_object* v_reuseFailAlloc_3085_; +v_reuseFailAlloc_3085_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3085_, 0, v___x_3082_); +lean_ctor_set(v_reuseFailAlloc_3085_, 1, v_snd_3077_); +v___x_3084_ = v_reuseFailAlloc_3085_; +goto v_reusejp_3083_; } -v_reusejp_3029_: +v_reusejp_3083_: { -v___y_3016_ = v___x_3030_; -goto v___jp_3015_; +v___y_3070_ = v___x_3084_; +goto v___jp_3069_; } } } else { -lean_object* v_snd_3034_; lean_object* v___x_3036_; uint8_t v_isShared_3037_; uint8_t v_isSharedCheck_3044_; -v_snd_3034_ = lean_ctor_get(v_b_3014_, 1); -v_isSharedCheck_3044_ = !lean_is_exclusive(v_b_3014_); -if (v_isSharedCheck_3044_ == 0) +lean_object* v_snd_3088_; lean_object* v___x_3090_; uint8_t v_isShared_3091_; uint8_t v_isSharedCheck_3098_; +v_snd_3088_ = lean_ctor_get(v_b_3068_, 1); +v_isSharedCheck_3098_ = !lean_is_exclusive(v_b_3068_); +if (v_isSharedCheck_3098_ == 0) { -lean_object* v_unused_3045_; -v_unused_3045_ = lean_ctor_get(v_b_3014_, 0); -lean_dec(v_unused_3045_); -v___x_3036_ = v_b_3014_; -v_isShared_3037_ = v_isSharedCheck_3044_; -goto v_resetjp_3035_; +lean_object* v_unused_3099_; +v_unused_3099_ = lean_ctor_get(v_b_3068_, 0); +lean_dec(v_unused_3099_); +v___x_3090_ = v_b_3068_; +v_isShared_3091_ = v_isSharedCheck_3098_; +goto v_resetjp_3089_; } else { -lean_inc(v_snd_3034_); -lean_dec(v_b_3014_); -v___x_3036_ = lean_box(0); -v_isShared_3037_ = v_isSharedCheck_3044_; -goto v_resetjp_3035_; +lean_inc(v_snd_3088_); +lean_dec(v_b_3068_); +v___x_3090_ = lean_box(0); +v_isShared_3091_ = v_isSharedCheck_3098_; +goto v_resetjp_3089_; } -v_resetjp_3035_: +v_resetjp_3089_: { -lean_object* v___x_3038_; lean_object* v___x_3039_; lean_object* v___x_3040_; lean_object* v___x_3042_; -v___x_3038_ = lean_array_uget_borrowed(v_as_3011_, v_i_3012_); -lean_inc(v___x_3038_); -v___x_3039_ = lean_array_push(v_snd_3034_, v___x_3038_); -v___x_3040_ = lean_box(v___x_3010_); -if (v_isShared_3037_ == 0) +lean_object* v___x_3092_; lean_object* v___x_3093_; lean_object* v___x_3094_; lean_object* v___x_3096_; +v___x_3092_ = lean_array_uget_borrowed(v_as_3065_, v_i_3066_); +lean_inc(v___x_3092_); +v___x_3093_ = lean_array_push(v_snd_3088_, v___x_3092_); +v___x_3094_ = lean_box(v___x_3064_); +if (v_isShared_3091_ == 0) { -lean_ctor_set(v___x_3036_, 1, v___x_3039_); -lean_ctor_set(v___x_3036_, 0, v___x_3040_); -v___x_3042_ = v___x_3036_; -goto v_reusejp_3041_; +lean_ctor_set(v___x_3090_, 1, v___x_3093_); +lean_ctor_set(v___x_3090_, 0, v___x_3094_); +v___x_3096_ = v___x_3090_; +goto v_reusejp_3095_; } else { -lean_object* v_reuseFailAlloc_3043_; -v_reuseFailAlloc_3043_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3043_, 0, v___x_3040_); -lean_ctor_set(v_reuseFailAlloc_3043_, 1, v___x_3039_); -v___x_3042_ = v_reuseFailAlloc_3043_; -goto v_reusejp_3041_; +lean_object* v_reuseFailAlloc_3097_; +v_reuseFailAlloc_3097_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3097_, 0, v___x_3094_); +lean_ctor_set(v_reuseFailAlloc_3097_, 1, v___x_3093_); +v___x_3096_ = v_reuseFailAlloc_3097_; +goto v_reusejp_3095_; } -v_reusejp_3041_: +v_reusejp_3095_: { -v___y_3016_ = v___x_3042_; -goto v___jp_3015_; +v___y_3070_ = v___x_3096_; +goto v___jp_3069_; } } } } else { -return v_b_3014_; +return v_b_3068_; } -v___jp_3015_: +v___jp_3069_: { -size_t v___x_3017_; size_t v___x_3018_; -v___x_3017_ = ((size_t)1ULL); -v___x_3018_ = lean_usize_add(v_i_3012_, v___x_3017_); -v_i_3012_ = v___x_3018_; -v_b_3014_ = v___y_3016_; +size_t v___x_3071_; size_t v___x_3072_; +v___x_3071_ = ((size_t)1ULL); +v___x_3072_ = lean_usize_add(v_i_3066_, v___x_3071_); +v_i_3066_ = v___x_3072_; +v_b_3068_ = v___y_3070_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4___boxed(lean_object* v___x_3046_, lean_object* v_as_3047_, lean_object* v_i_3048_, lean_object* v_stop_3049_, lean_object* v_b_3050_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4___boxed(lean_object* v___x_3100_, lean_object* v_as_3101_, lean_object* v_i_3102_, lean_object* v_stop_3103_, lean_object* v_b_3104_){ _start: { -uint8_t v___x_19836__boxed_3051_; size_t v_i_boxed_3052_; size_t v_stop_boxed_3053_; lean_object* v_res_3054_; -v___x_19836__boxed_3051_ = lean_unbox(v___x_3046_); -v_i_boxed_3052_ = lean_unbox_usize(v_i_3048_); -lean_dec(v_i_3048_); -v_stop_boxed_3053_ = lean_unbox_usize(v_stop_3049_); -lean_dec(v_stop_3049_); -v_res_3054_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_19836__boxed_3051_, v_as_3047_, v_i_boxed_3052_, v_stop_boxed_3053_, v_b_3050_); -lean_dec_ref(v_as_3047_); -return v_res_3054_; +uint8_t v___x_19836__boxed_3105_; size_t v_i_boxed_3106_; size_t v_stop_boxed_3107_; lean_object* v_res_3108_; +v___x_19836__boxed_3105_ = lean_unbox(v___x_3100_); +v_i_boxed_3106_ = lean_unbox_usize(v_i_3102_); +lean_dec(v_i_3102_); +v_stop_boxed_3107_ = lean_unbox_usize(v_stop_3103_); +lean_dec(v_stop_3103_); +v_res_3108_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_19836__boxed_3105_, v_as_3101_, v_i_boxed_3106_, v_stop_boxed_3107_, v_b_3104_); +lean_dec_ref(v_as_3101_); +return v_res_3108_; } } -LEAN_EXPORT uint8_t l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(lean_object* v_a_3055_, lean_object* v_x_3056_){ +LEAN_EXPORT uint8_t l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(lean_object* v_a_3109_, lean_object* v_x_3110_){ _start: { -if (lean_obj_tag(v_x_3056_) == 0) +if (lean_obj_tag(v_x_3110_) == 0) { -uint8_t v___x_3057_; -v___x_3057_ = 0; -return v___x_3057_; +uint8_t v___x_3111_; +v___x_3111_ = 0; +return v___x_3111_; } else { -lean_object* v_head_3058_; lean_object* v_tail_3059_; uint8_t v___x_3060_; -v_head_3058_ = lean_ctor_get(v_x_3056_, 0); -v_tail_3059_ = lean_ctor_get(v_x_3056_, 1); -v___x_3060_ = lean_name_eq(v_a_3055_, v_head_3058_); -if (v___x_3060_ == 0) +lean_object* v_head_3112_; lean_object* v_tail_3113_; uint8_t v___x_3114_; +v_head_3112_ = lean_ctor_get(v_x_3110_, 0); +v_tail_3113_ = lean_ctor_get(v_x_3110_, 1); +v___x_3114_ = lean_name_eq(v_a_3109_, v_head_3112_); +if (v___x_3114_ == 0) { -v_x_3056_ = v_tail_3059_; +v_x_3110_ = v_tail_3113_; goto _start; } else { -return v___x_3060_; +return v___x_3114_; } } } } -LEAN_EXPORT lean_object* l_List_elem___at___00Lean_Elab_expandDeclId_spec__0___boxed(lean_object* v_a_3062_, lean_object* v_x_3063_){ +LEAN_EXPORT lean_object* l_List_elem___at___00Lean_Elab_expandDeclId_spec__0___boxed(lean_object* v_a_3116_, lean_object* v_x_3117_){ _start: { -uint8_t v_res_3064_; lean_object* v_r_3065_; -v_res_3064_ = l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(v_a_3062_, v_x_3063_); -lean_dec(v_x_3063_); -lean_dec(v_a_3062_); -v_r_3065_ = lean_box(v_res_3064_); -return v_r_3065_; +uint8_t v_res_3118_; lean_object* v_r_3119_; +v_res_3118_ = l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(v_a_3116_, v_x_3117_); +lean_dec(v_x_3117_); +lean_dec(v_a_3116_); +v_r_3119_ = lean_box(v_res_3118_); +return v_r_3119_; } } static lean_object* _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1(void){ _start: { -lean_object* v___x_3067_; lean_object* v___x_3068_; -v___x_3067_ = ((lean_object*)(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__0)); -v___x_3068_ = l_Lean_stringToMessageData(v___x_3067_); -return v___x_3068_; +lean_object* v___x_3121_; lean_object* v___x_3122_; +v___x_3121_ = ((lean_object*)(l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__0)); +v___x_3122_ = l_Lean_stringToMessageData(v___x_3121_); +return v___x_3122_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(lean_object* v_u_3069_, lean_object* v___y_3070_, lean_object* v___y_3071_, lean_object* v___y_3072_, lean_object* v___y_3073_, lean_object* v___y_3074_, lean_object* v___y_3075_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(lean_object* v_u_3123_, lean_object* v___y_3124_, lean_object* v___y_3125_, lean_object* v___y_3126_, lean_object* v___y_3127_, lean_object* v___y_3128_, lean_object* v___y_3129_){ _start: { -lean_object* v___x_3077_; lean_object* v___x_3078_; lean_object* v___x_3079_; lean_object* v___x_3080_; lean_object* v___x_3081_; lean_object* v___x_3082_; -v___x_3077_ = lean_obj_once(&l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1, &l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1_once, _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1); -v___x_3078_ = l_Lean_MessageData_ofName(v_u_3069_); -v___x_3079_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3079_, 0, v___x_3077_); -lean_ctor_set(v___x_3079_, 1, v___x_3078_); -v___x_3080_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); -v___x_3081_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3081_, 0, v___x_3079_); -lean_ctor_set(v___x_3081_, 1, v___x_3080_); -v___x_3082_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_3081_, v___y_3070_, v___y_3071_, v___y_3072_, v___y_3073_, v___y_3074_, v___y_3075_); -return v___x_3082_; +lean_object* v___x_3131_; lean_object* v___x_3132_; lean_object* v___x_3133_; lean_object* v___x_3134_; lean_object* v___x_3135_; lean_object* v___x_3136_; +v___x_3131_ = lean_obj_once(&l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1, &l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1_once, _init_l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___closed__1); +v___x_3132_ = l_Lean_MessageData_ofName(v_u_3123_); +v___x_3133_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3133_, 0, v___x_3131_); +lean_ctor_set(v___x_3133_, 1, v___x_3132_); +v___x_3134_ = lean_obj_once(&l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3, &l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3_once, _init_l_Lean_Elab_checkNotAlreadyDeclared___redArg___lam__3___closed__3); +v___x_3135_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3135_, 0, v___x_3133_); +lean_ctor_set(v___x_3135_, 1, v___x_3134_); +v___x_3136_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v___x_3135_, v___y_3124_, v___y_3125_, v___y_3126_, v___y_3127_, v___y_3128_, v___y_3129_); +return v___x_3136_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___boxed(lean_object* v_u_3083_, lean_object* v___y_3084_, lean_object* v___y_3085_, lean_object* v___y_3086_, lean_object* v___y_3087_, lean_object* v___y_3088_, lean_object* v___y_3089_, lean_object* v___y_3090_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg___boxed(lean_object* v_u_3137_, lean_object* v___y_3138_, lean_object* v___y_3139_, lean_object* v___y_3140_, lean_object* v___y_3141_, lean_object* v___y_3142_, lean_object* v___y_3143_, lean_object* v___y_3144_){ _start: { -lean_object* v_res_3091_; -v_res_3091_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_u_3083_, v___y_3084_, v___y_3085_, v___y_3086_, v___y_3087_, v___y_3088_, v___y_3089_); -lean_dec(v___y_3089_); -lean_dec_ref(v___y_3088_); -lean_dec(v___y_3087_); -lean_dec_ref(v___y_3086_); -lean_dec(v___y_3085_); -return v_res_3091_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(lean_object* v_as_3092_, size_t v_i_3093_, size_t v_stop_3094_, lean_object* v_b_3095_, lean_object* v___y_3096_, lean_object* v___y_3097_, lean_object* v___y_3098_, lean_object* v___y_3099_, lean_object* v___y_3100_, lean_object* v___y_3101_){ -_start: -{ -lean_object* v_a_3104_; uint8_t v___x_3108_; -v___x_3108_ = lean_usize_dec_eq(v_i_3093_, v_stop_3094_); -if (v___x_3108_ == 0) -{ -lean_object* v___x_3109_; lean_object* v_id_3110_; uint8_t v___x_3111_; -v___x_3109_ = lean_array_uget_borrowed(v_as_3092_, v_i_3093_); -v_id_3110_ = l_Lean_Syntax_getId(v___x_3109_); -v___x_3111_ = l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(v_id_3110_, v_b_3095_); -if (v___x_3111_ == 0) -{ -lean_object* v___x_3112_; -v___x_3112_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_3112_, 0, v_id_3110_); -lean_ctor_set(v___x_3112_, 1, v_b_3095_); -v_a_3104_ = v___x_3112_; -goto v___jp_3103_; -} -else -{ -lean_object* v_fileName_3113_; lean_object* v_fileMap_3114_; lean_object* v_options_3115_; lean_object* v_currRecDepth_3116_; lean_object* v_maxRecDepth_3117_; lean_object* v_ref_3118_; lean_object* v_currNamespace_3119_; lean_object* v_openDecls_3120_; lean_object* v_initHeartbeats_3121_; lean_object* v_maxHeartbeats_3122_; lean_object* v_quotContext_3123_; lean_object* v_currMacroScope_3124_; uint8_t v_diag_3125_; lean_object* v_cancelTk_x3f_3126_; uint8_t v_suppressElabErrors_3127_; lean_object* v_inheritedTraceOptions_3128_; lean_object* v_ref_3129_; lean_object* v___x_3130_; lean_object* v___x_3131_; -lean_dec(v_b_3095_); -v_fileName_3113_ = lean_ctor_get(v___y_3100_, 0); -v_fileMap_3114_ = lean_ctor_get(v___y_3100_, 1); -v_options_3115_ = lean_ctor_get(v___y_3100_, 2); -v_currRecDepth_3116_ = lean_ctor_get(v___y_3100_, 3); -v_maxRecDepth_3117_ = lean_ctor_get(v___y_3100_, 4); -v_ref_3118_ = lean_ctor_get(v___y_3100_, 5); -v_currNamespace_3119_ = lean_ctor_get(v___y_3100_, 6); -v_openDecls_3120_ = lean_ctor_get(v___y_3100_, 7); -v_initHeartbeats_3121_ = lean_ctor_get(v___y_3100_, 8); -v_maxHeartbeats_3122_ = lean_ctor_get(v___y_3100_, 9); -v_quotContext_3123_ = lean_ctor_get(v___y_3100_, 10); -v_currMacroScope_3124_ = lean_ctor_get(v___y_3100_, 11); -v_diag_3125_ = lean_ctor_get_uint8(v___y_3100_, sizeof(void*)*14); -v_cancelTk_x3f_3126_ = lean_ctor_get(v___y_3100_, 12); -v_suppressElabErrors_3127_ = lean_ctor_get_uint8(v___y_3100_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_3128_ = lean_ctor_get(v___y_3100_, 13); -v_ref_3129_ = l_Lean_replaceRef(v___x_3109_, v_ref_3118_); -lean_inc_ref(v_inheritedTraceOptions_3128_); -lean_inc(v_cancelTk_x3f_3126_); -lean_inc(v_currMacroScope_3124_); -lean_inc(v_quotContext_3123_); -lean_inc(v_maxHeartbeats_3122_); -lean_inc(v_initHeartbeats_3121_); -lean_inc(v_openDecls_3120_); -lean_inc(v_currNamespace_3119_); -lean_inc(v_maxRecDepth_3117_); -lean_inc(v_currRecDepth_3116_); -lean_inc_ref(v_options_3115_); -lean_inc_ref(v_fileMap_3114_); -lean_inc_ref(v_fileName_3113_); -v___x_3130_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_3130_, 0, v_fileName_3113_); -lean_ctor_set(v___x_3130_, 1, v_fileMap_3114_); -lean_ctor_set(v___x_3130_, 2, v_options_3115_); -lean_ctor_set(v___x_3130_, 3, v_currRecDepth_3116_); -lean_ctor_set(v___x_3130_, 4, v_maxRecDepth_3117_); -lean_ctor_set(v___x_3130_, 5, v_ref_3129_); -lean_ctor_set(v___x_3130_, 6, v_currNamespace_3119_); -lean_ctor_set(v___x_3130_, 7, v_openDecls_3120_); -lean_ctor_set(v___x_3130_, 8, v_initHeartbeats_3121_); -lean_ctor_set(v___x_3130_, 9, v_maxHeartbeats_3122_); -lean_ctor_set(v___x_3130_, 10, v_quotContext_3123_); -lean_ctor_set(v___x_3130_, 11, v_currMacroScope_3124_); -lean_ctor_set(v___x_3130_, 12, v_cancelTk_x3f_3126_); -lean_ctor_set(v___x_3130_, 13, v_inheritedTraceOptions_3128_); -lean_ctor_set_uint8(v___x_3130_, sizeof(void*)*14, v_diag_3125_); -lean_ctor_set_uint8(v___x_3130_, sizeof(void*)*14 + 1, v_suppressElabErrors_3127_); -lean_inc_ref(v___y_3096_); -v___x_3131_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_id_3110_, v___y_3096_, v___y_3097_, v___y_3098_, v___y_3099_, v___x_3130_, v___y_3101_); -lean_dec_ref(v___x_3130_); -if (lean_obj_tag(v___x_3131_) == 0) -{ -lean_object* v_a_3132_; -v_a_3132_ = lean_ctor_get(v___x_3131_, 0); -lean_inc(v_a_3132_); -lean_dec_ref(v___x_3131_); -v_a_3104_ = v_a_3132_; -goto v___jp_3103_; -} -else -{ -lean_dec_ref(v___y_3096_); -return v___x_3131_; -} -} -} -else -{ -lean_object* v___x_3133_; -lean_dec_ref(v___y_3096_); -v___x_3133_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3133_, 0, v_b_3095_); -return v___x_3133_; -} -v___jp_3103_: -{ -size_t v___x_3105_; size_t v___x_3106_; -v___x_3105_ = ((size_t)1ULL); -v___x_3106_ = lean_usize_add(v_i_3093_, v___x_3105_); -v_i_3093_ = v___x_3106_; -v_b_3095_ = v_a_3104_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3___boxed(lean_object* v_as_3134_, lean_object* v_i_3135_, lean_object* v_stop_3136_, lean_object* v_b_3137_, lean_object* v___y_3138_, lean_object* v___y_3139_, lean_object* v___y_3140_, lean_object* v___y_3141_, lean_object* v___y_3142_, lean_object* v___y_3143_, lean_object* v___y_3144_){ -_start: -{ -size_t v_i_boxed_3145_; size_t v_stop_boxed_3146_; lean_object* v_res_3147_; -v_i_boxed_3145_ = lean_unbox_usize(v_i_3135_); -lean_dec(v_i_3135_); -v_stop_boxed_3146_ = lean_unbox_usize(v_stop_3136_); -lean_dec(v_stop_3136_); -v_res_3147_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v_as_3134_, v_i_boxed_3145_, v_stop_boxed_3146_, v_b_3137_, v___y_3138_, v___y_3139_, v___y_3140_, v___y_3141_, v___y_3142_, v___y_3143_); +lean_object* v_res_3145_; +v_res_3145_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_u_3137_, v___y_3138_, v___y_3139_, v___y_3140_, v___y_3141_, v___y_3142_, v___y_3143_); lean_dec(v___y_3143_); lean_dec_ref(v___y_3142_); lean_dec(v___y_3141_); lean_dec_ref(v___y_3140_); lean_dec(v___y_3139_); -lean_dec_ref(v_as_3134_); -return v_res_3147_; +return v_res_3145_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId(lean_object* v_currNamespace_3148_, lean_object* v_currLevelNames_3149_, lean_object* v_declId_3150_, lean_object* v_modifiers_3151_, lean_object* v_a_3152_, lean_object* v_a_3153_, lean_object* v_a_3154_, lean_object* v_a_3155_, lean_object* v_a_3156_, lean_object* v_a_3157_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(lean_object* v_as_3146_, size_t v_i_3147_, size_t v_stop_3148_, lean_object* v_b_3149_, lean_object* v___y_3150_, lean_object* v___y_3151_, lean_object* v___y_3152_, lean_object* v___y_3153_, lean_object* v___y_3154_, lean_object* v___y_3155_){ _start: { -lean_object* v___x_3159_; lean_object* v_fst_3160_; lean_object* v_snd_3161_; lean_object* v___x_3163_; uint8_t v_isShared_3164_; uint8_t v_isSharedCheck_3262_; -v___x_3159_ = l_Lean_Elab_expandDeclIdCore(v_declId_3150_); -v_fst_3160_ = lean_ctor_get(v___x_3159_, 0); -v_snd_3161_ = lean_ctor_get(v___x_3159_, 1); -v_isSharedCheck_3262_ = !lean_is_exclusive(v___x_3159_); -if (v_isSharedCheck_3262_ == 0) +lean_object* v_a_3158_; uint8_t v___x_3162_; +v___x_3162_ = lean_usize_dec_eq(v_i_3147_, v_stop_3148_); +if (v___x_3162_ == 0) { -v___x_3163_ = v___x_3159_; -v_isShared_3164_ = v_isSharedCheck_3262_; -goto v_resetjp_3162_; +lean_object* v___x_3163_; lean_object* v_id_3164_; uint8_t v___x_3165_; +v___x_3163_ = lean_array_uget_borrowed(v_as_3146_, v_i_3147_); +v_id_3164_ = l_Lean_Syntax_getId(v___x_3163_); +v___x_3165_ = l_List_elem___at___00Lean_Elab_expandDeclId_spec__0(v_id_3164_, v_b_3149_); +if (v___x_3165_ == 0) +{ +lean_object* v___x_3166_; +v___x_3166_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_3166_, 0, v_id_3164_); +lean_ctor_set(v___x_3166_, 1, v_b_3149_); +v_a_3158_ = v___x_3166_; +goto v___jp_3157_; } else { -lean_inc(v_snd_3161_); -lean_inc(v_fst_3160_); -lean_dec(v___x_3159_); -v___x_3163_ = lean_box(0); -v_isShared_3164_ = v_isSharedCheck_3262_; -goto v_resetjp_3162_; -} -v_resetjp_3162_: +lean_object* v_fileName_3167_; lean_object* v_fileMap_3168_; lean_object* v_options_3169_; lean_object* v_currRecDepth_3170_; lean_object* v_maxRecDepth_3171_; lean_object* v_ref_3172_; lean_object* v_currNamespace_3173_; lean_object* v_openDecls_3174_; lean_object* v_initHeartbeats_3175_; lean_object* v_maxHeartbeats_3176_; lean_object* v_quotContext_3177_; lean_object* v_currMacroScope_3178_; uint8_t v_diag_3179_; lean_object* v_cancelTk_x3f_3180_; uint8_t v_suppressElabErrors_3181_; lean_object* v_inheritedTraceOptions_3182_; lean_object* v_ref_3183_; lean_object* v___x_3184_; lean_object* v___x_3185_; +lean_dec(v_b_3149_); +v_fileName_3167_ = lean_ctor_get(v___y_3154_, 0); +v_fileMap_3168_ = lean_ctor_get(v___y_3154_, 1); +v_options_3169_ = lean_ctor_get(v___y_3154_, 2); +v_currRecDepth_3170_ = lean_ctor_get(v___y_3154_, 3); +v_maxRecDepth_3171_ = lean_ctor_get(v___y_3154_, 4); +v_ref_3172_ = lean_ctor_get(v___y_3154_, 5); +v_currNamespace_3173_ = lean_ctor_get(v___y_3154_, 6); +v_openDecls_3174_ = lean_ctor_get(v___y_3154_, 7); +v_initHeartbeats_3175_ = lean_ctor_get(v___y_3154_, 8); +v_maxHeartbeats_3176_ = lean_ctor_get(v___y_3154_, 9); +v_quotContext_3177_ = lean_ctor_get(v___y_3154_, 10); +v_currMacroScope_3178_ = lean_ctor_get(v___y_3154_, 11); +v_diag_3179_ = lean_ctor_get_uint8(v___y_3154_, sizeof(void*)*14); +v_cancelTk_x3f_3180_ = lean_ctor_get(v___y_3154_, 12); +v_suppressElabErrors_3181_ = lean_ctor_get_uint8(v___y_3154_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_3182_ = lean_ctor_get(v___y_3154_, 13); +v_ref_3183_ = l_Lean_replaceRef(v___x_3163_, v_ref_3172_); +lean_inc_ref(v_inheritedTraceOptions_3182_); +lean_inc(v_cancelTk_x3f_3180_); +lean_inc(v_currMacroScope_3178_); +lean_inc(v_quotContext_3177_); +lean_inc(v_maxHeartbeats_3176_); +lean_inc(v_initHeartbeats_3175_); +lean_inc(v_openDecls_3174_); +lean_inc(v_currNamespace_3173_); +lean_inc(v_maxRecDepth_3171_); +lean_inc(v_currRecDepth_3170_); +lean_inc_ref(v_options_3169_); +lean_inc_ref(v_fileMap_3168_); +lean_inc_ref(v_fileName_3167_); +v___x_3184_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_3184_, 0, v_fileName_3167_); +lean_ctor_set(v___x_3184_, 1, v_fileMap_3168_); +lean_ctor_set(v___x_3184_, 2, v_options_3169_); +lean_ctor_set(v___x_3184_, 3, v_currRecDepth_3170_); +lean_ctor_set(v___x_3184_, 4, v_maxRecDepth_3171_); +lean_ctor_set(v___x_3184_, 5, v_ref_3183_); +lean_ctor_set(v___x_3184_, 6, v_currNamespace_3173_); +lean_ctor_set(v___x_3184_, 7, v_openDecls_3174_); +lean_ctor_set(v___x_3184_, 8, v_initHeartbeats_3175_); +lean_ctor_set(v___x_3184_, 9, v_maxHeartbeats_3176_); +lean_ctor_set(v___x_3184_, 10, v_quotContext_3177_); +lean_ctor_set(v___x_3184_, 11, v_currMacroScope_3178_); +lean_ctor_set(v___x_3184_, 12, v_cancelTk_x3f_3180_); +lean_ctor_set(v___x_3184_, 13, v_inheritedTraceOptions_3182_); +lean_ctor_set_uint8(v___x_3184_, sizeof(void*)*14, v_diag_3179_); +lean_ctor_set_uint8(v___x_3184_, sizeof(void*)*14 + 1, v_suppressElabErrors_3181_); +lean_inc_ref(v___y_3150_); +v___x_3185_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_id_3164_, v___y_3150_, v___y_3151_, v___y_3152_, v___y_3153_, v___x_3184_, v___y_3155_); +lean_dec_ref(v___x_3184_); +if (lean_obj_tag(v___x_3185_) == 0) { -lean_object* v_levelNames_3166_; lean_object* v___y_3167_; lean_object* v___y_3168_; lean_object* v___y_3169_; lean_object* v___y_3170_; lean_object* v___y_3171_; lean_object* v___y_3172_; lean_object* v___y_3219_; lean_object* v___y_3230_; uint8_t v___x_3241_; -v___x_3241_ = l_Lean_Syntax_isNone(v_snd_3161_); -if (v___x_3241_ == 0) -{ -lean_object* v___x_3242_; lean_object* v___x_3243_; lean_object* v___x_3244_; lean_object* v___x_3245_; lean_object* v___x_3246_; lean_object* v___x_3247_; uint8_t v___x_3248_; -v___x_3242_ = lean_unsigned_to_nat(1u); -v___x_3243_ = l_Lean_Syntax_getArg(v_snd_3161_, v___x_3242_); -lean_dec(v_snd_3161_); -v___x_3244_ = l_Lean_Syntax_getArgs(v___x_3243_); -lean_dec(v___x_3243_); -v___x_3245_ = lean_unsigned_to_nat(0u); -v___x_3246_ = ((lean_object*)(l_Lean_Elab_expandDeclIdCore___closed__0)); -v___x_3247_ = lean_array_get_size(v___x_3244_); -v___x_3248_ = lean_nat_dec_lt(v___x_3245_, v___x_3247_); -if (v___x_3248_ == 0) -{ -lean_dec_ref(v___x_3244_); -lean_del_object(v___x_3163_); -v___y_3230_ = v___x_3246_; -goto v___jp_3229_; +lean_object* v_a_3186_; +v_a_3186_ = lean_ctor_get(v___x_3185_, 0); +lean_inc(v_a_3186_); +lean_dec_ref(v___x_3185_); +v_a_3158_ = v_a_3186_; +goto v___jp_3157_; } else { -lean_object* v___x_3249_; lean_object* v___x_3251_; -v___x_3249_ = lean_box(v___x_3248_); -if (v_isShared_3164_ == 0) -{ -lean_ctor_set(v___x_3163_, 1, v___x_3246_); -lean_ctor_set(v___x_3163_, 0, v___x_3249_); -v___x_3251_ = v___x_3163_; -goto v_reusejp_3250_; -} -else -{ -lean_object* v_reuseFailAlloc_3261_; -v_reuseFailAlloc_3261_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3261_, 0, v___x_3249_); -lean_ctor_set(v_reuseFailAlloc_3261_, 1, v___x_3246_); -v___x_3251_ = v_reuseFailAlloc_3261_; -goto v_reusejp_3250_; -} -v_reusejp_3250_: -{ -uint8_t v___x_3252_; -v___x_3252_ = lean_nat_dec_le(v___x_3247_, v___x_3247_); -if (v___x_3252_ == 0) -{ -if (v___x_3248_ == 0) -{ -lean_dec_ref(v___x_3251_); -lean_dec_ref(v___x_3244_); -v___y_3230_ = v___x_3246_; -goto v___jp_3229_; -} -else -{ -size_t v___x_3253_; size_t v___x_3254_; lean_object* v___x_3255_; lean_object* v_snd_3256_; -v___x_3253_ = ((size_t)0ULL); -v___x_3254_ = lean_usize_of_nat(v___x_3247_); -v___x_3255_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_3241_, v___x_3244_, v___x_3253_, v___x_3254_, v___x_3251_); -lean_dec_ref(v___x_3244_); -v_snd_3256_ = lean_ctor_get(v___x_3255_, 1); -lean_inc(v_snd_3256_); -lean_dec_ref(v___x_3255_); -v___y_3230_ = v_snd_3256_; -goto v___jp_3229_; -} -} -else -{ -size_t v___x_3257_; size_t v___x_3258_; lean_object* v___x_3259_; lean_object* v_snd_3260_; -v___x_3257_ = ((size_t)0ULL); -v___x_3258_ = lean_usize_of_nat(v___x_3247_); -v___x_3259_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_3241_, v___x_3244_, v___x_3257_, v___x_3258_, v___x_3251_); -lean_dec_ref(v___x_3244_); -v_snd_3260_ = lean_ctor_get(v___x_3259_, 1); -lean_inc(v_snd_3260_); -lean_dec_ref(v___x_3259_); -v___y_3230_ = v_snd_3260_; -goto v___jp_3229_; -} +lean_dec_ref(v___y_3150_); +return v___x_3185_; } } } else { -lean_del_object(v___x_3163_); -lean_dec(v_snd_3161_); -v_levelNames_3166_ = v_currLevelNames_3149_; -v___y_3167_ = v_a_3152_; -v___y_3168_ = v_a_3153_; -v___y_3169_ = v_a_3154_; -v___y_3170_ = v_a_3155_; -v___y_3171_ = v_a_3156_; -v___y_3172_ = v_a_3157_; -goto v___jp_3165_; +lean_object* v___x_3187_; +lean_dec_ref(v___y_3150_); +v___x_3187_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3187_, 0, v_b_3149_); +return v___x_3187_; } -v___jp_3165_: +v___jp_3157_: { -lean_object* v_fileName_3173_; lean_object* v_fileMap_3174_; lean_object* v_options_3175_; lean_object* v_currRecDepth_3176_; lean_object* v_maxRecDepth_3177_; lean_object* v_ref_3178_; lean_object* v_currNamespace_3179_; lean_object* v_openDecls_3180_; lean_object* v_initHeartbeats_3181_; lean_object* v_maxHeartbeats_3182_; lean_object* v_quotContext_3183_; lean_object* v_currMacroScope_3184_; uint8_t v_diag_3185_; lean_object* v_cancelTk_x3f_3186_; uint8_t v_suppressElabErrors_3187_; lean_object* v_inheritedTraceOptions_3188_; lean_object* v___x_3190_; uint8_t v_isShared_3191_; uint8_t v_isSharedCheck_3217_; -v_fileName_3173_ = lean_ctor_get(v___y_3171_, 0); -v_fileMap_3174_ = lean_ctor_get(v___y_3171_, 1); -v_options_3175_ = lean_ctor_get(v___y_3171_, 2); -v_currRecDepth_3176_ = lean_ctor_get(v___y_3171_, 3); -v_maxRecDepth_3177_ = lean_ctor_get(v___y_3171_, 4); -v_ref_3178_ = lean_ctor_get(v___y_3171_, 5); -v_currNamespace_3179_ = lean_ctor_get(v___y_3171_, 6); -v_openDecls_3180_ = lean_ctor_get(v___y_3171_, 7); -v_initHeartbeats_3181_ = lean_ctor_get(v___y_3171_, 8); -v_maxHeartbeats_3182_ = lean_ctor_get(v___y_3171_, 9); -v_quotContext_3183_ = lean_ctor_get(v___y_3171_, 10); -v_currMacroScope_3184_ = lean_ctor_get(v___y_3171_, 11); -v_diag_3185_ = lean_ctor_get_uint8(v___y_3171_, sizeof(void*)*14); -v_cancelTk_x3f_3186_ = lean_ctor_get(v___y_3171_, 12); -v_suppressElabErrors_3187_ = lean_ctor_get_uint8(v___y_3171_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_3188_ = lean_ctor_get(v___y_3171_, 13); -v_isSharedCheck_3217_ = !lean_is_exclusive(v___y_3171_); -if (v_isSharedCheck_3217_ == 0) -{ -v___x_3190_ = v___y_3171_; -v_isShared_3191_ = v_isSharedCheck_3217_; -goto v_resetjp_3189_; -} -else -{ -lean_inc(v_inheritedTraceOptions_3188_); -lean_inc(v_cancelTk_x3f_3186_); -lean_inc(v_currMacroScope_3184_); -lean_inc(v_quotContext_3183_); -lean_inc(v_maxHeartbeats_3182_); -lean_inc(v_initHeartbeats_3181_); -lean_inc(v_openDecls_3180_); -lean_inc(v_currNamespace_3179_); -lean_inc(v_ref_3178_); -lean_inc(v_maxRecDepth_3177_); -lean_inc(v_currRecDepth_3176_); -lean_inc(v_options_3175_); -lean_inc(v_fileMap_3174_); -lean_inc(v_fileName_3173_); -lean_dec(v___y_3171_); -v___x_3190_ = lean_box(0); -v_isShared_3191_ = v_isSharedCheck_3217_; -goto v_resetjp_3189_; -} -v_resetjp_3189_: -{ -lean_object* v_ref_3192_; lean_object* v___x_3194_; -v_ref_3192_ = l_Lean_replaceRef(v_declId_3150_, v_ref_3178_); -lean_dec(v_ref_3178_); -if (v_isShared_3191_ == 0) -{ -lean_ctor_set(v___x_3190_, 5, v_ref_3192_); -v___x_3194_ = v___x_3190_; -goto v_reusejp_3193_; -} -else -{ -lean_object* v_reuseFailAlloc_3216_; -v_reuseFailAlloc_3216_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_3216_, 0, v_fileName_3173_); -lean_ctor_set(v_reuseFailAlloc_3216_, 1, v_fileMap_3174_); -lean_ctor_set(v_reuseFailAlloc_3216_, 2, v_options_3175_); -lean_ctor_set(v_reuseFailAlloc_3216_, 3, v_currRecDepth_3176_); -lean_ctor_set(v_reuseFailAlloc_3216_, 4, v_maxRecDepth_3177_); -lean_ctor_set(v_reuseFailAlloc_3216_, 5, v_ref_3192_); -lean_ctor_set(v_reuseFailAlloc_3216_, 6, v_currNamespace_3179_); -lean_ctor_set(v_reuseFailAlloc_3216_, 7, v_openDecls_3180_); -lean_ctor_set(v_reuseFailAlloc_3216_, 8, v_initHeartbeats_3181_); -lean_ctor_set(v_reuseFailAlloc_3216_, 9, v_maxHeartbeats_3182_); -lean_ctor_set(v_reuseFailAlloc_3216_, 10, v_quotContext_3183_); -lean_ctor_set(v_reuseFailAlloc_3216_, 11, v_currMacroScope_3184_); -lean_ctor_set(v_reuseFailAlloc_3216_, 12, v_cancelTk_x3f_3186_); -lean_ctor_set(v_reuseFailAlloc_3216_, 13, v_inheritedTraceOptions_3188_); -lean_ctor_set_uint8(v_reuseFailAlloc_3216_, sizeof(void*)*14, v_diag_3185_); -lean_ctor_set_uint8(v_reuseFailAlloc_3216_, sizeof(void*)*14 + 1, v_suppressElabErrors_3187_); -v___x_3194_ = v_reuseFailAlloc_3216_; -goto v_reusejp_3193_; -} -v_reusejp_3193_: -{ -lean_object* v___x_3195_; -v___x_3195_ = l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(v_currNamespace_3148_, v_modifiers_3151_, v_fst_3160_, v___y_3167_, v___y_3168_, v___y_3169_, v___y_3170_, v___x_3194_, v___y_3172_); -if (lean_obj_tag(v___x_3195_) == 0) -{ -lean_object* v_a_3196_; lean_object* v___x_3198_; uint8_t v_isShared_3199_; uint8_t v_isSharedCheck_3207_; -v_a_3196_ = lean_ctor_get(v___x_3195_, 0); -v_isSharedCheck_3207_ = !lean_is_exclusive(v___x_3195_); -if (v_isSharedCheck_3207_ == 0) -{ -v___x_3198_ = v___x_3195_; -v_isShared_3199_ = v_isSharedCheck_3207_; -goto v_resetjp_3197_; -} -else -{ -lean_inc(v_a_3196_); -lean_dec(v___x_3195_); -v___x_3198_ = lean_box(0); -v_isShared_3199_ = v_isSharedCheck_3207_; -goto v_resetjp_3197_; -} -v_resetjp_3197_: -{ -lean_object* v_fst_3200_; lean_object* v_snd_3201_; lean_object* v_docString_x3f_3202_; lean_object* v___x_3203_; lean_object* v___x_3205_; -v_fst_3200_ = lean_ctor_get(v_a_3196_, 0); -lean_inc(v_fst_3200_); -v_snd_3201_ = lean_ctor_get(v_a_3196_, 1); -lean_inc(v_snd_3201_); -lean_dec(v_a_3196_); -v_docString_x3f_3202_ = lean_ctor_get(v_modifiers_3151_, 1); -lean_inc(v_docString_x3f_3202_); -v___x_3203_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_3203_, 0, v_snd_3201_); -lean_ctor_set(v___x_3203_, 1, v_fst_3200_); -lean_ctor_set(v___x_3203_, 2, v_levelNames_3166_); -lean_ctor_set(v___x_3203_, 3, v_docString_x3f_3202_); -if (v_isShared_3199_ == 0) -{ -lean_ctor_set(v___x_3198_, 0, v___x_3203_); -v___x_3205_ = v___x_3198_; -goto v_reusejp_3204_; -} -else -{ -lean_object* v_reuseFailAlloc_3206_; -v_reuseFailAlloc_3206_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3206_, 0, v___x_3203_); -v___x_3205_ = v_reuseFailAlloc_3206_; -goto v_reusejp_3204_; -} -v_reusejp_3204_: -{ -return v___x_3205_; +size_t v___x_3159_; size_t v___x_3160_; +v___x_3159_ = ((size_t)1ULL); +v___x_3160_ = lean_usize_add(v_i_3147_, v___x_3159_); +v_i_3147_ = v___x_3160_; +v_b_3149_ = v_a_3158_; +goto _start; } } } -else -{ -lean_object* v_a_3208_; lean_object* v___x_3210_; uint8_t v_isShared_3211_; uint8_t v_isSharedCheck_3215_; -lean_dec(v_levelNames_3166_); -v_a_3208_ = lean_ctor_get(v___x_3195_, 0); -v_isSharedCheck_3215_ = !lean_is_exclusive(v___x_3195_); -if (v_isSharedCheck_3215_ == 0) -{ -v___x_3210_ = v___x_3195_; -v_isShared_3211_ = v_isSharedCheck_3215_; -goto v_resetjp_3209_; -} -else -{ -lean_inc(v_a_3208_); -lean_dec(v___x_3195_); -v___x_3210_ = lean_box(0); -v_isShared_3211_ = v_isSharedCheck_3215_; -goto v_resetjp_3209_; -} -v_resetjp_3209_: -{ -lean_object* v___x_3213_; -if (v_isShared_3211_ == 0) -{ -v___x_3213_ = v___x_3210_; -goto v_reusejp_3212_; -} -else -{ -lean_object* v_reuseFailAlloc_3214_; -v_reuseFailAlloc_3214_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3214_, 0, v_a_3208_); -v___x_3213_ = v_reuseFailAlloc_3214_; -goto v_reusejp_3212_; -} -v_reusejp_3212_: -{ -return v___x_3213_; -} -} -} -} -} -} -v___jp_3218_: -{ -if (lean_obj_tag(v___y_3219_) == 0) -{ -lean_object* v_a_3220_; -v_a_3220_ = lean_ctor_get(v___y_3219_, 0); -lean_inc(v_a_3220_); -lean_dec_ref(v___y_3219_); -v_levelNames_3166_ = v_a_3220_; -v___y_3167_ = v_a_3152_; -v___y_3168_ = v_a_3153_; -v___y_3169_ = v_a_3154_; -v___y_3170_ = v_a_3155_; -v___y_3171_ = v_a_3156_; -v___y_3172_ = v_a_3157_; -goto v___jp_3165_; -} -else -{ -lean_object* v_a_3221_; lean_object* v___x_3223_; uint8_t v_isShared_3224_; uint8_t v_isSharedCheck_3228_; -lean_dec(v_fst_3160_); -lean_dec(v_a_3157_); -lean_dec_ref(v_a_3156_); -lean_dec(v_a_3155_); -lean_dec_ref(v_a_3154_); -lean_dec(v_a_3153_); -lean_dec_ref(v_a_3152_); -lean_dec(v_currNamespace_3148_); -v_a_3221_ = lean_ctor_get(v___y_3219_, 0); -v_isSharedCheck_3228_ = !lean_is_exclusive(v___y_3219_); -if (v_isSharedCheck_3228_ == 0) -{ -v___x_3223_ = v___y_3219_; -v_isShared_3224_ = v_isSharedCheck_3228_; -goto v_resetjp_3222_; -} -else -{ -lean_inc(v_a_3221_); -lean_dec(v___y_3219_); -v___x_3223_ = lean_box(0); -v_isShared_3224_ = v_isSharedCheck_3228_; -goto v_resetjp_3222_; -} -v_resetjp_3222_: -{ -lean_object* v___x_3226_; -if (v_isShared_3224_ == 0) -{ -v___x_3226_ = v___x_3223_; -goto v_reusejp_3225_; -} -else -{ -lean_object* v_reuseFailAlloc_3227_; -v_reuseFailAlloc_3227_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3227_, 0, v_a_3221_); -v___x_3226_ = v_reuseFailAlloc_3227_; -goto v_reusejp_3225_; -} -v_reusejp_3225_: -{ -return v___x_3226_; -} -} -} -} -v___jp_3229_: -{ -lean_object* v___x_3231_; lean_object* v___x_3232_; uint8_t v___x_3233_; -v___x_3231_ = lean_unsigned_to_nat(0u); -v___x_3232_ = lean_array_get_size(v___y_3230_); -v___x_3233_ = lean_nat_dec_lt(v___x_3231_, v___x_3232_); -if (v___x_3233_ == 0) -{ -lean_dec_ref(v___y_3230_); -v_levelNames_3166_ = v_currLevelNames_3149_; -v___y_3167_ = v_a_3152_; -v___y_3168_ = v_a_3153_; -v___y_3169_ = v_a_3154_; -v___y_3170_ = v_a_3155_; -v___y_3171_ = v_a_3156_; -v___y_3172_ = v_a_3157_; -goto v___jp_3165_; -} -else -{ -uint8_t v___x_3234_; -v___x_3234_ = lean_nat_dec_le(v___x_3232_, v___x_3232_); -if (v___x_3234_ == 0) -{ -if (v___x_3233_ == 0) -{ -lean_dec_ref(v___y_3230_); -v_levelNames_3166_ = v_currLevelNames_3149_; -v___y_3167_ = v_a_3152_; -v___y_3168_ = v_a_3153_; -v___y_3169_ = v_a_3154_; -v___y_3170_ = v_a_3155_; -v___y_3171_ = v_a_3156_; -v___y_3172_ = v_a_3157_; -goto v___jp_3165_; -} -else -{ -size_t v___x_3235_; size_t v___x_3236_; lean_object* v___x_3237_; -v___x_3235_ = ((size_t)0ULL); -v___x_3236_ = lean_usize_of_nat(v___x_3232_); -lean_inc_ref(v_a_3152_); -v___x_3237_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v___y_3230_, v___x_3235_, v___x_3236_, v_currLevelNames_3149_, v_a_3152_, v_a_3153_, v_a_3154_, v_a_3155_, v_a_3156_, v_a_3157_); -lean_dec_ref(v___y_3230_); -v___y_3219_ = v___x_3237_; -goto v___jp_3218_; -} -} -else -{ -size_t v___x_3238_; size_t v___x_3239_; lean_object* v___x_3240_; -v___x_3238_ = ((size_t)0ULL); -v___x_3239_ = lean_usize_of_nat(v___x_3232_); -lean_inc_ref(v_a_3152_); -v___x_3240_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v___y_3230_, v___x_3238_, v___x_3239_, v_currLevelNames_3149_, v_a_3152_, v_a_3153_, v_a_3154_, v_a_3155_, v_a_3156_, v_a_3157_); -lean_dec_ref(v___y_3230_); -v___y_3219_ = v___x_3240_; -goto v___jp_3218_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___boxed(lean_object* v_currNamespace_3263_, lean_object* v_currLevelNames_3264_, lean_object* v_declId_3265_, lean_object* v_modifiers_3266_, lean_object* v_a_3267_, lean_object* v_a_3268_, lean_object* v_a_3269_, lean_object* v_a_3270_, lean_object* v_a_3271_, lean_object* v_a_3272_, lean_object* v_a_3273_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3___boxed(lean_object* v_as_3188_, lean_object* v_i_3189_, lean_object* v_stop_3190_, lean_object* v_b_3191_, lean_object* v___y_3192_, lean_object* v___y_3193_, lean_object* v___y_3194_, lean_object* v___y_3195_, lean_object* v___y_3196_, lean_object* v___y_3197_, lean_object* v___y_3198_){ _start: { -lean_object* v_res_3274_; -v_res_3274_ = l_Lean_Elab_expandDeclId(v_currNamespace_3263_, v_currLevelNames_3264_, v_declId_3265_, v_modifiers_3266_, v_a_3267_, v_a_3268_, v_a_3269_, v_a_3270_, v_a_3271_, v_a_3272_); -lean_dec_ref(v_modifiers_3266_); -lean_dec(v_declId_3265_); -return v_res_3274_; +size_t v_i_boxed_3199_; size_t v_stop_boxed_3200_; lean_object* v_res_3201_; +v_i_boxed_3199_ = lean_unbox_usize(v_i_3189_); +lean_dec(v_i_3189_); +v_stop_boxed_3200_ = lean_unbox_usize(v_stop_3190_); +lean_dec(v_stop_3190_); +v_res_3201_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v_as_3188_, v_i_boxed_3199_, v_stop_boxed_3200_, v_b_3191_, v___y_3192_, v___y_3193_, v___y_3194_, v___y_3195_, v___y_3196_, v___y_3197_); +lean_dec(v___y_3197_); +lean_dec_ref(v___y_3196_); +lean_dec(v___y_3195_); +lean_dec_ref(v___y_3194_); +lean_dec(v___y_3193_); +lean_dec_ref(v_as_3188_); +return v_res_3201_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1(lean_object* v_00_u03b1_3275_, lean_object* v_u_3276_, lean_object* v___y_3277_, lean_object* v___y_3278_, lean_object* v___y_3279_, lean_object* v___y_3280_, lean_object* v___y_3281_, lean_object* v___y_3282_){ +LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId(lean_object* v_currNamespace_3202_, lean_object* v_currLevelNames_3203_, lean_object* v_declId_3204_, lean_object* v_modifiers_3205_, lean_object* v_a_3206_, lean_object* v_a_3207_, lean_object* v_a_3208_, lean_object* v_a_3209_, lean_object* v_a_3210_, lean_object* v_a_3211_){ _start: { -lean_object* v___x_3284_; -v___x_3284_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_u_3276_, v___y_3277_, v___y_3278_, v___y_3279_, v___y_3280_, v___y_3281_, v___y_3282_); -return v___x_3284_; +lean_object* v___x_3213_; lean_object* v_fst_3214_; lean_object* v_snd_3215_; lean_object* v___x_3217_; uint8_t v_isShared_3218_; uint8_t v_isSharedCheck_3316_; +v___x_3213_ = l_Lean_Elab_expandDeclIdCore(v_declId_3204_); +v_fst_3214_ = lean_ctor_get(v___x_3213_, 0); +v_snd_3215_ = lean_ctor_get(v___x_3213_, 1); +v_isSharedCheck_3316_ = !lean_is_exclusive(v___x_3213_); +if (v_isSharedCheck_3316_ == 0) +{ +v___x_3217_ = v___x_3213_; +v_isShared_3218_ = v_isSharedCheck_3316_; +goto v_resetjp_3216_; +} +else +{ +lean_inc(v_snd_3215_); +lean_inc(v_fst_3214_); +lean_dec(v___x_3213_); +v___x_3217_ = lean_box(0); +v_isShared_3218_ = v_isSharedCheck_3316_; +goto v_resetjp_3216_; +} +v_resetjp_3216_: +{ +lean_object* v_levelNames_3220_; lean_object* v___y_3221_; lean_object* v___y_3222_; lean_object* v___y_3223_; lean_object* v___y_3224_; lean_object* v___y_3225_; lean_object* v___y_3226_; lean_object* v___y_3273_; lean_object* v___y_3284_; uint8_t v___x_3295_; +v___x_3295_ = l_Lean_Syntax_isNone(v_snd_3215_); +if (v___x_3295_ == 0) +{ +lean_object* v___x_3296_; lean_object* v___x_3297_; lean_object* v___x_3298_; lean_object* v___x_3299_; lean_object* v___x_3300_; lean_object* v___x_3301_; uint8_t v___x_3302_; +v___x_3296_ = lean_unsigned_to_nat(1u); +v___x_3297_ = l_Lean_Syntax_getArg(v_snd_3215_, v___x_3296_); +lean_dec(v_snd_3215_); +v___x_3298_ = l_Lean_Syntax_getArgs(v___x_3297_); +lean_dec(v___x_3297_); +v___x_3299_ = lean_unsigned_to_nat(0u); +v___x_3300_ = ((lean_object*)(l_Lean_Elab_expandDeclIdCore___closed__0)); +v___x_3301_ = lean_array_get_size(v___x_3298_); +v___x_3302_ = lean_nat_dec_lt(v___x_3299_, v___x_3301_); +if (v___x_3302_ == 0) +{ +lean_dec_ref(v___x_3298_); +lean_del_object(v___x_3217_); +v___y_3284_ = v___x_3300_; +goto v___jp_3283_; +} +else +{ +lean_object* v___x_3303_; lean_object* v___x_3305_; +v___x_3303_ = lean_box(v___x_3302_); +if (v_isShared_3218_ == 0) +{ +lean_ctor_set(v___x_3217_, 1, v___x_3300_); +lean_ctor_set(v___x_3217_, 0, v___x_3303_); +v___x_3305_ = v___x_3217_; +goto v_reusejp_3304_; +} +else +{ +lean_object* v_reuseFailAlloc_3315_; +v_reuseFailAlloc_3315_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3315_, 0, v___x_3303_); +lean_ctor_set(v_reuseFailAlloc_3315_, 1, v___x_3300_); +v___x_3305_ = v_reuseFailAlloc_3315_; +goto v_reusejp_3304_; +} +v_reusejp_3304_: +{ +uint8_t v___x_3306_; +v___x_3306_ = lean_nat_dec_le(v___x_3301_, v___x_3301_); +if (v___x_3306_ == 0) +{ +if (v___x_3302_ == 0) +{ +lean_dec_ref(v___x_3305_); +lean_dec_ref(v___x_3298_); +v___y_3284_ = v___x_3300_; +goto v___jp_3283_; +} +else +{ +size_t v___x_3307_; size_t v___x_3308_; lean_object* v___x_3309_; lean_object* v_snd_3310_; +v___x_3307_ = ((size_t)0ULL); +v___x_3308_ = lean_usize_of_nat(v___x_3301_); +v___x_3309_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_3295_, v___x_3298_, v___x_3307_, v___x_3308_, v___x_3305_); +lean_dec_ref(v___x_3298_); +v_snd_3310_ = lean_ctor_get(v___x_3309_, 1); +lean_inc(v_snd_3310_); +lean_dec_ref(v___x_3309_); +v___y_3284_ = v_snd_3310_; +goto v___jp_3283_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___boxed(lean_object* v_00_u03b1_3285_, lean_object* v_u_3286_, lean_object* v___y_3287_, lean_object* v___y_3288_, lean_object* v___y_3289_, lean_object* v___y_3290_, lean_object* v___y_3291_, lean_object* v___y_3292_, lean_object* v___y_3293_){ +else +{ +size_t v___x_3311_; size_t v___x_3312_; lean_object* v___x_3313_; lean_object* v_snd_3314_; +v___x_3311_ = ((size_t)0ULL); +v___x_3312_ = lean_usize_of_nat(v___x_3301_); +v___x_3313_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__4(v___x_3295_, v___x_3298_, v___x_3311_, v___x_3312_, v___x_3305_); +lean_dec_ref(v___x_3298_); +v_snd_3314_ = lean_ctor_get(v___x_3313_, 1); +lean_inc(v_snd_3314_); +lean_dec_ref(v___x_3313_); +v___y_3284_ = v_snd_3314_; +goto v___jp_3283_; +} +} +} +} +else +{ +lean_del_object(v___x_3217_); +lean_dec(v_snd_3215_); +v_levelNames_3220_ = v_currLevelNames_3203_; +v___y_3221_ = v_a_3206_; +v___y_3222_ = v_a_3207_; +v___y_3223_ = v_a_3208_; +v___y_3224_ = v_a_3209_; +v___y_3225_ = v_a_3210_; +v___y_3226_ = v_a_3211_; +goto v___jp_3219_; +} +v___jp_3219_: +{ +lean_object* v_fileName_3227_; lean_object* v_fileMap_3228_; lean_object* v_options_3229_; lean_object* v_currRecDepth_3230_; lean_object* v_maxRecDepth_3231_; lean_object* v_ref_3232_; lean_object* v_currNamespace_3233_; lean_object* v_openDecls_3234_; lean_object* v_initHeartbeats_3235_; lean_object* v_maxHeartbeats_3236_; lean_object* v_quotContext_3237_; lean_object* v_currMacroScope_3238_; uint8_t v_diag_3239_; lean_object* v_cancelTk_x3f_3240_; uint8_t v_suppressElabErrors_3241_; lean_object* v_inheritedTraceOptions_3242_; lean_object* v___x_3244_; uint8_t v_isShared_3245_; uint8_t v_isSharedCheck_3271_; +v_fileName_3227_ = lean_ctor_get(v___y_3225_, 0); +v_fileMap_3228_ = lean_ctor_get(v___y_3225_, 1); +v_options_3229_ = lean_ctor_get(v___y_3225_, 2); +v_currRecDepth_3230_ = lean_ctor_get(v___y_3225_, 3); +v_maxRecDepth_3231_ = lean_ctor_get(v___y_3225_, 4); +v_ref_3232_ = lean_ctor_get(v___y_3225_, 5); +v_currNamespace_3233_ = lean_ctor_get(v___y_3225_, 6); +v_openDecls_3234_ = lean_ctor_get(v___y_3225_, 7); +v_initHeartbeats_3235_ = lean_ctor_get(v___y_3225_, 8); +v_maxHeartbeats_3236_ = lean_ctor_get(v___y_3225_, 9); +v_quotContext_3237_ = lean_ctor_get(v___y_3225_, 10); +v_currMacroScope_3238_ = lean_ctor_get(v___y_3225_, 11); +v_diag_3239_ = lean_ctor_get_uint8(v___y_3225_, sizeof(void*)*14); +v_cancelTk_x3f_3240_ = lean_ctor_get(v___y_3225_, 12); +v_suppressElabErrors_3241_ = lean_ctor_get_uint8(v___y_3225_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_3242_ = lean_ctor_get(v___y_3225_, 13); +v_isSharedCheck_3271_ = !lean_is_exclusive(v___y_3225_); +if (v_isSharedCheck_3271_ == 0) +{ +v___x_3244_ = v___y_3225_; +v_isShared_3245_ = v_isSharedCheck_3271_; +goto v_resetjp_3243_; +} +else +{ +lean_inc(v_inheritedTraceOptions_3242_); +lean_inc(v_cancelTk_x3f_3240_); +lean_inc(v_currMacroScope_3238_); +lean_inc(v_quotContext_3237_); +lean_inc(v_maxHeartbeats_3236_); +lean_inc(v_initHeartbeats_3235_); +lean_inc(v_openDecls_3234_); +lean_inc(v_currNamespace_3233_); +lean_inc(v_ref_3232_); +lean_inc(v_maxRecDepth_3231_); +lean_inc(v_currRecDepth_3230_); +lean_inc(v_options_3229_); +lean_inc(v_fileMap_3228_); +lean_inc(v_fileName_3227_); +lean_dec(v___y_3225_); +v___x_3244_ = lean_box(0); +v_isShared_3245_ = v_isSharedCheck_3271_; +goto v_resetjp_3243_; +} +v_resetjp_3243_: +{ +lean_object* v_ref_3246_; lean_object* v___x_3248_; +v_ref_3246_ = l_Lean_replaceRef(v_declId_3204_, v_ref_3232_); +lean_dec(v_ref_3232_); +if (v_isShared_3245_ == 0) +{ +lean_ctor_set(v___x_3244_, 5, v_ref_3246_); +v___x_3248_ = v___x_3244_; +goto v_reusejp_3247_; +} +else +{ +lean_object* v_reuseFailAlloc_3270_; +v_reuseFailAlloc_3270_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_3270_, 0, v_fileName_3227_); +lean_ctor_set(v_reuseFailAlloc_3270_, 1, v_fileMap_3228_); +lean_ctor_set(v_reuseFailAlloc_3270_, 2, v_options_3229_); +lean_ctor_set(v_reuseFailAlloc_3270_, 3, v_currRecDepth_3230_); +lean_ctor_set(v_reuseFailAlloc_3270_, 4, v_maxRecDepth_3231_); +lean_ctor_set(v_reuseFailAlloc_3270_, 5, v_ref_3246_); +lean_ctor_set(v_reuseFailAlloc_3270_, 6, v_currNamespace_3233_); +lean_ctor_set(v_reuseFailAlloc_3270_, 7, v_openDecls_3234_); +lean_ctor_set(v_reuseFailAlloc_3270_, 8, v_initHeartbeats_3235_); +lean_ctor_set(v_reuseFailAlloc_3270_, 9, v_maxHeartbeats_3236_); +lean_ctor_set(v_reuseFailAlloc_3270_, 10, v_quotContext_3237_); +lean_ctor_set(v_reuseFailAlloc_3270_, 11, v_currMacroScope_3238_); +lean_ctor_set(v_reuseFailAlloc_3270_, 12, v_cancelTk_x3f_3240_); +lean_ctor_set(v_reuseFailAlloc_3270_, 13, v_inheritedTraceOptions_3242_); +lean_ctor_set_uint8(v_reuseFailAlloc_3270_, sizeof(void*)*14, v_diag_3239_); +lean_ctor_set_uint8(v_reuseFailAlloc_3270_, sizeof(void*)*14 + 1, v_suppressElabErrors_3241_); +v___x_3248_ = v_reuseFailAlloc_3270_; +goto v_reusejp_3247_; +} +v_reusejp_3247_: +{ +lean_object* v___x_3249_; +v___x_3249_ = l_Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2(v_currNamespace_3202_, v_modifiers_3205_, v_fst_3214_, v___y_3221_, v___y_3222_, v___y_3223_, v___y_3224_, v___x_3248_, v___y_3226_); +if (lean_obj_tag(v___x_3249_) == 0) +{ +lean_object* v_a_3250_; lean_object* v___x_3252_; uint8_t v_isShared_3253_; uint8_t v_isSharedCheck_3261_; +v_a_3250_ = lean_ctor_get(v___x_3249_, 0); +v_isSharedCheck_3261_ = !lean_is_exclusive(v___x_3249_); +if (v_isSharedCheck_3261_ == 0) +{ +v___x_3252_ = v___x_3249_; +v_isShared_3253_ = v_isSharedCheck_3261_; +goto v_resetjp_3251_; +} +else +{ +lean_inc(v_a_3250_); +lean_dec(v___x_3249_); +v___x_3252_ = lean_box(0); +v_isShared_3253_ = v_isSharedCheck_3261_; +goto v_resetjp_3251_; +} +v_resetjp_3251_: +{ +lean_object* v_fst_3254_; lean_object* v_snd_3255_; lean_object* v_docString_x3f_3256_; lean_object* v___x_3257_; lean_object* v___x_3259_; +v_fst_3254_ = lean_ctor_get(v_a_3250_, 0); +lean_inc(v_fst_3254_); +v_snd_3255_ = lean_ctor_get(v_a_3250_, 1); +lean_inc(v_snd_3255_); +lean_dec(v_a_3250_); +v_docString_x3f_3256_ = lean_ctor_get(v_modifiers_3205_, 1); +lean_inc(v_docString_x3f_3256_); +v___x_3257_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_3257_, 0, v_snd_3255_); +lean_ctor_set(v___x_3257_, 1, v_fst_3254_); +lean_ctor_set(v___x_3257_, 2, v_levelNames_3220_); +lean_ctor_set(v___x_3257_, 3, v_docString_x3f_3256_); +if (v_isShared_3253_ == 0) +{ +lean_ctor_set(v___x_3252_, 0, v___x_3257_); +v___x_3259_ = v___x_3252_; +goto v_reusejp_3258_; +} +else +{ +lean_object* v_reuseFailAlloc_3260_; +v_reuseFailAlloc_3260_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3260_, 0, v___x_3257_); +v___x_3259_ = v_reuseFailAlloc_3260_; +goto v_reusejp_3258_; +} +v_reusejp_3258_: +{ +return v___x_3259_; +} +} +} +else +{ +lean_object* v_a_3262_; lean_object* v___x_3264_; uint8_t v_isShared_3265_; uint8_t v_isSharedCheck_3269_; +lean_dec(v_levelNames_3220_); +v_a_3262_ = lean_ctor_get(v___x_3249_, 0); +v_isSharedCheck_3269_ = !lean_is_exclusive(v___x_3249_); +if (v_isSharedCheck_3269_ == 0) +{ +v___x_3264_ = v___x_3249_; +v_isShared_3265_ = v_isSharedCheck_3269_; +goto v_resetjp_3263_; +} +else +{ +lean_inc(v_a_3262_); +lean_dec(v___x_3249_); +v___x_3264_ = lean_box(0); +v_isShared_3265_ = v_isSharedCheck_3269_; +goto v_resetjp_3263_; +} +v_resetjp_3263_: +{ +lean_object* v___x_3267_; +if (v_isShared_3265_ == 0) +{ +v___x_3267_ = v___x_3264_; +goto v_reusejp_3266_; +} +else +{ +lean_object* v_reuseFailAlloc_3268_; +v_reuseFailAlloc_3268_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3268_, 0, v_a_3262_); +v___x_3267_ = v_reuseFailAlloc_3268_; +goto v_reusejp_3266_; +} +v_reusejp_3266_: +{ +return v___x_3267_; +} +} +} +} +} +} +v___jp_3272_: +{ +if (lean_obj_tag(v___y_3273_) == 0) +{ +lean_object* v_a_3274_; +v_a_3274_ = lean_ctor_get(v___y_3273_, 0); +lean_inc(v_a_3274_); +lean_dec_ref(v___y_3273_); +v_levelNames_3220_ = v_a_3274_; +v___y_3221_ = v_a_3206_; +v___y_3222_ = v_a_3207_; +v___y_3223_ = v_a_3208_; +v___y_3224_ = v_a_3209_; +v___y_3225_ = v_a_3210_; +v___y_3226_ = v_a_3211_; +goto v___jp_3219_; +} +else +{ +lean_object* v_a_3275_; lean_object* v___x_3277_; uint8_t v_isShared_3278_; uint8_t v_isSharedCheck_3282_; +lean_dec(v_fst_3214_); +lean_dec(v_a_3211_); +lean_dec_ref(v_a_3210_); +lean_dec(v_a_3209_); +lean_dec_ref(v_a_3208_); +lean_dec(v_a_3207_); +lean_dec_ref(v_a_3206_); +lean_dec(v_currNamespace_3202_); +v_a_3275_ = lean_ctor_get(v___y_3273_, 0); +v_isSharedCheck_3282_ = !lean_is_exclusive(v___y_3273_); +if (v_isSharedCheck_3282_ == 0) +{ +v___x_3277_ = v___y_3273_; +v_isShared_3278_ = v_isSharedCheck_3282_; +goto v_resetjp_3276_; +} +else +{ +lean_inc(v_a_3275_); +lean_dec(v___y_3273_); +v___x_3277_ = lean_box(0); +v_isShared_3278_ = v_isSharedCheck_3282_; +goto v_resetjp_3276_; +} +v_resetjp_3276_: +{ +lean_object* v___x_3280_; +if (v_isShared_3278_ == 0) +{ +v___x_3280_ = v___x_3277_; +goto v_reusejp_3279_; +} +else +{ +lean_object* v_reuseFailAlloc_3281_; +v_reuseFailAlloc_3281_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3281_, 0, v_a_3275_); +v___x_3280_ = v_reuseFailAlloc_3281_; +goto v_reusejp_3279_; +} +v_reusejp_3279_: +{ +return v___x_3280_; +} +} +} +} +v___jp_3283_: +{ +lean_object* v___x_3285_; lean_object* v___x_3286_; uint8_t v___x_3287_; +v___x_3285_ = lean_unsigned_to_nat(0u); +v___x_3286_ = lean_array_get_size(v___y_3284_); +v___x_3287_ = lean_nat_dec_lt(v___x_3285_, v___x_3286_); +if (v___x_3287_ == 0) +{ +lean_dec_ref(v___y_3284_); +v_levelNames_3220_ = v_currLevelNames_3203_; +v___y_3221_ = v_a_3206_; +v___y_3222_ = v_a_3207_; +v___y_3223_ = v_a_3208_; +v___y_3224_ = v_a_3209_; +v___y_3225_ = v_a_3210_; +v___y_3226_ = v_a_3211_; +goto v___jp_3219_; +} +else +{ +uint8_t v___x_3288_; +v___x_3288_ = lean_nat_dec_le(v___x_3286_, v___x_3286_); +if (v___x_3288_ == 0) +{ +if (v___x_3287_ == 0) +{ +lean_dec_ref(v___y_3284_); +v_levelNames_3220_ = v_currLevelNames_3203_; +v___y_3221_ = v_a_3206_; +v___y_3222_ = v_a_3207_; +v___y_3223_ = v_a_3208_; +v___y_3224_ = v_a_3209_; +v___y_3225_ = v_a_3210_; +v___y_3226_ = v_a_3211_; +goto v___jp_3219_; +} +else +{ +size_t v___x_3289_; size_t v___x_3290_; lean_object* v___x_3291_; +v___x_3289_ = ((size_t)0ULL); +v___x_3290_ = lean_usize_of_nat(v___x_3286_); +lean_inc_ref(v_a_3206_); +v___x_3291_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v___y_3284_, v___x_3289_, v___x_3290_, v_currLevelNames_3203_, v_a_3206_, v_a_3207_, v_a_3208_, v_a_3209_, v_a_3210_, v_a_3211_); +lean_dec_ref(v___y_3284_); +v___y_3273_ = v___x_3291_; +goto v___jp_3272_; +} +} +else +{ +size_t v___x_3292_; size_t v___x_3293_; lean_object* v___x_3294_; +v___x_3292_ = ((size_t)0ULL); +v___x_3293_ = lean_usize_of_nat(v___x_3286_); +lean_inc_ref(v_a_3206_); +v___x_3294_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_expandDeclId_spec__3(v___y_3284_, v___x_3292_, v___x_3293_, v_currLevelNames_3203_, v_a_3206_, v_a_3207_, v_a_3208_, v_a_3209_, v_a_3210_, v_a_3211_); +lean_dec_ref(v___y_3284_); +v___y_3273_ = v___x_3294_; +goto v___jp_3272_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_expandDeclId___boxed(lean_object* v_currNamespace_3317_, lean_object* v_currLevelNames_3318_, lean_object* v_declId_3319_, lean_object* v_modifiers_3320_, lean_object* v_a_3321_, lean_object* v_a_3322_, lean_object* v_a_3323_, lean_object* v_a_3324_, lean_object* v_a_3325_, lean_object* v_a_3326_, lean_object* v_a_3327_){ _start: { -lean_object* v_res_3294_; -v_res_3294_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1(v_00_u03b1_3285_, v_u_3286_, v___y_3287_, v___y_3288_, v___y_3289_, v___y_3290_, v___y_3291_, v___y_3292_); -lean_dec(v___y_3292_); -lean_dec_ref(v___y_3291_); -lean_dec(v___y_3290_); -lean_dec_ref(v___y_3289_); -lean_dec(v___y_3288_); -return v_res_3294_; +lean_object* v_res_3328_; +v_res_3328_ = l_Lean_Elab_expandDeclId(v_currNamespace_3317_, v_currLevelNames_3318_, v_declId_3319_, v_modifiers_3320_, v_a_3321_, v_a_3322_, v_a_3323_, v_a_3324_, v_a_3325_, v_a_3326_); +lean_dec_ref(v_modifiers_3320_); +lean_dec(v_declId_3319_); +return v_res_3328_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1(lean_object* v_00_u03b1_3295_, lean_object* v_msg_3296_, lean_object* v___y_3297_, lean_object* v___y_3298_, lean_object* v___y_3299_, lean_object* v___y_3300_, lean_object* v___y_3301_, lean_object* v___y_3302_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1(lean_object* v_00_u03b1_3329_, lean_object* v_u_3330_, lean_object* v___y_3331_, lean_object* v___y_3332_, lean_object* v___y_3333_, lean_object* v___y_3334_, lean_object* v___y_3335_, lean_object* v___y_3336_){ _start: { -lean_object* v___x_3304_; -v___x_3304_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_3296_, v___y_3297_, v___y_3298_, v___y_3299_, v___y_3300_, v___y_3301_, v___y_3302_); -return v___x_3304_; +lean_object* v___x_3338_; +v___x_3338_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___redArg(v_u_3330_, v___y_3331_, v___y_3332_, v___y_3333_, v___y_3334_, v___y_3335_, v___y_3336_); +return v___x_3338_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___boxed(lean_object* v_00_u03b1_3305_, lean_object* v_msg_3306_, lean_object* v___y_3307_, lean_object* v___y_3308_, lean_object* v___y_3309_, lean_object* v___y_3310_, lean_object* v___y_3311_, lean_object* v___y_3312_, lean_object* v___y_3313_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1___boxed(lean_object* v_00_u03b1_3339_, lean_object* v_u_3340_, lean_object* v___y_3341_, lean_object* v___y_3342_, lean_object* v___y_3343_, lean_object* v___y_3344_, lean_object* v___y_3345_, lean_object* v___y_3346_, lean_object* v___y_3347_){ _start: { -lean_object* v_res_3314_; -v_res_3314_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1(v_00_u03b1_3305_, v_msg_3306_, v___y_3307_, v___y_3308_, v___y_3309_, v___y_3310_, v___y_3311_, v___y_3312_); -lean_dec(v___y_3312_); -lean_dec_ref(v___y_3311_); -lean_dec(v___y_3310_); -lean_dec_ref(v___y_3309_); -lean_dec(v___y_3308_); -return v_res_3314_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3(lean_object* v_msgData_3315_, lean_object* v_macroStack_3316_, lean_object* v___y_3317_, lean_object* v___y_3318_, lean_object* v___y_3319_, lean_object* v___y_3320_, lean_object* v___y_3321_, lean_object* v___y_3322_){ -_start: -{ -lean_object* v___x_3324_; -v___x_3324_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_msgData_3315_, v_macroStack_3316_, v___y_3321_); -return v___x_3324_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___boxed(lean_object* v_msgData_3325_, lean_object* v_macroStack_3326_, lean_object* v___y_3327_, lean_object* v___y_3328_, lean_object* v___y_3329_, lean_object* v___y_3330_, lean_object* v___y_3331_, lean_object* v___y_3332_, lean_object* v___y_3333_){ -_start: -{ -lean_object* v_res_3334_; -v_res_3334_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3(v_msgData_3325_, v_macroStack_3326_, v___y_3327_, v___y_3328_, v___y_3329_, v___y_3330_, v___y_3331_, v___y_3332_); -lean_dec(v___y_3332_); -lean_dec_ref(v___y_3331_); -lean_dec(v___y_3330_); -lean_dec_ref(v___y_3329_); -lean_dec(v___y_3328_); -lean_dec_ref(v___y_3327_); -return v_res_3334_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17(lean_object* v_t_3335_, lean_object* v___y_3336_, lean_object* v___y_3337_, lean_object* v___y_3338_, lean_object* v___y_3339_, lean_object* v___y_3340_, lean_object* v___y_3341_){ -_start: -{ -lean_object* v___x_3343_; -v___x_3343_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v_t_3335_, v___y_3341_); -return v___x_3343_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___boxed(lean_object* v_t_3344_, lean_object* v___y_3345_, lean_object* v___y_3346_, lean_object* v___y_3347_, lean_object* v___y_3348_, lean_object* v___y_3349_, lean_object* v___y_3350_, lean_object* v___y_3351_){ -_start: -{ -lean_object* v_res_3352_; -v_res_3352_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17(v_t_3344_, v___y_3345_, v___y_3346_, v___y_3347_, v___y_3348_, v___y_3349_, v___y_3350_); -lean_dec(v___y_3350_); -lean_dec_ref(v___y_3349_); -lean_dec(v___y_3348_); -lean_dec_ref(v___y_3347_); +lean_object* v_res_3348_; +v_res_3348_ = l_Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1(v_00_u03b1_3339_, v_u_3340_, v___y_3341_, v___y_3342_, v___y_3343_, v___y_3344_, v___y_3345_, v___y_3346_); lean_dec(v___y_3346_); lean_dec_ref(v___y_3345_); -return v_res_3352_; +lean_dec(v___y_3344_); +lean_dec_ref(v___y_3343_); +lean_dec(v___y_3342_); +return v_res_3348_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19(lean_object* v_env_3353_, lean_object* v___y_3354_, lean_object* v___y_3355_, lean_object* v___y_3356_, lean_object* v___y_3357_, lean_object* v___y_3358_, lean_object* v___y_3359_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1(lean_object* v_00_u03b1_3349_, lean_object* v_msg_3350_, lean_object* v___y_3351_, lean_object* v___y_3352_, lean_object* v___y_3353_, lean_object* v___y_3354_, lean_object* v___y_3355_, lean_object* v___y_3356_){ _start: { -lean_object* v___x_3361_; -v___x_3361_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_3353_, v___y_3357_, v___y_3359_); -return v___x_3361_; +lean_object* v___x_3358_; +v___x_3358_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___redArg(v_msg_3350_, v___y_3351_, v___y_3352_, v___y_3353_, v___y_3354_, v___y_3355_, v___y_3356_); +return v___x_3358_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___boxed(lean_object* v_env_3362_, lean_object* v___y_3363_, lean_object* v___y_3364_, lean_object* v___y_3365_, lean_object* v___y_3366_, lean_object* v___y_3367_, lean_object* v___y_3368_, lean_object* v___y_3369_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1___boxed(lean_object* v_00_u03b1_3359_, lean_object* v_msg_3360_, lean_object* v___y_3361_, lean_object* v___y_3362_, lean_object* v___y_3363_, lean_object* v___y_3364_, lean_object* v___y_3365_, lean_object* v___y_3366_, lean_object* v___y_3367_){ _start: { -lean_object* v_res_3370_; -v_res_3370_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19(v_env_3362_, v___y_3363_, v___y_3364_, v___y_3365_, v___y_3366_, v___y_3367_, v___y_3368_); -lean_dec(v___y_3368_); -lean_dec_ref(v___y_3367_); +lean_object* v_res_3368_; +v_res_3368_ = l_Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1(v_00_u03b1_3359_, v_msg_3360_, v___y_3361_, v___y_3362_, v___y_3363_, v___y_3364_, v___y_3365_, v___y_3366_); lean_dec(v___y_3366_); lean_dec_ref(v___y_3365_); lean_dec(v___y_3364_); lean_dec_ref(v___y_3363_); -return v_res_3370_; +lean_dec(v___y_3362_); +return v_res_3368_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15(lean_object* v_00_u03b1_3371_, lean_object* v_env_3372_, lean_object* v_x_3373_, lean_object* v___y_3374_, lean_object* v___y_3375_, lean_object* v___y_3376_, lean_object* v___y_3377_, lean_object* v___y_3378_, lean_object* v___y_3379_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3(lean_object* v_msgData_3369_, lean_object* v_macroStack_3370_, lean_object* v___y_3371_, lean_object* v___y_3372_, lean_object* v___y_3373_, lean_object* v___y_3374_, lean_object* v___y_3375_, lean_object* v___y_3376_){ _start: { -lean_object* v___x_3381_; -v___x_3381_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_3372_, v_x_3373_, v___y_3374_, v___y_3375_, v___y_3376_, v___y_3377_, v___y_3378_, v___y_3379_); -return v___x_3381_; +lean_object* v___x_3378_; +v___x_3378_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___redArg(v_msgData_3369_, v_macroStack_3370_, v___y_3375_); +return v___x_3378_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___boxed(lean_object* v_00_u03b1_3382_, lean_object* v_env_3383_, lean_object* v_x_3384_, lean_object* v___y_3385_, lean_object* v___y_3386_, lean_object* v___y_3387_, lean_object* v___y_3388_, lean_object* v___y_3389_, lean_object* v___y_3390_, lean_object* v___y_3391_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3___boxed(lean_object* v_msgData_3379_, lean_object* v_macroStack_3380_, lean_object* v___y_3381_, lean_object* v___y_3382_, lean_object* v___y_3383_, lean_object* v___y_3384_, lean_object* v___y_3385_, lean_object* v___y_3386_, lean_object* v___y_3387_){ _start: { -lean_object* v_res_3392_; -v_res_3392_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15(v_00_u03b1_3382_, v_env_3383_, v_x_3384_, v___y_3385_, v___y_3386_, v___y_3387_, v___y_3388_, v___y_3389_, v___y_3390_); -return v_res_3392_; +lean_object* v_res_3388_; +v_res_3388_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_Elab_throwAlreadyDeclaredUniverseLevel___at___00Lean_Elab_expandDeclId_spec__1_spec__1_spec__3(v_msgData_3379_, v_macroStack_3380_, v___y_3381_, v___y_3382_, v___y_3383_, v___y_3384_, v___y_3385_, v___y_3386_); +lean_dec(v___y_3386_); +lean_dec_ref(v___y_3385_); +lean_dec(v___y_3384_); +lean_dec_ref(v___y_3383_); +lean_dec(v___y_3382_); +lean_dec_ref(v___y_3381_); +return v_res_3388_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15(lean_object* v_00_u03b1_3393_, lean_object* v_constName_3394_, lean_object* v___y_3395_, lean_object* v___y_3396_, lean_object* v___y_3397_, lean_object* v___y_3398_, lean_object* v___y_3399_, lean_object* v___y_3400_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17(lean_object* v_t_3389_, lean_object* v___y_3390_, lean_object* v___y_3391_, lean_object* v___y_3392_, lean_object* v___y_3393_, lean_object* v___y_3394_, lean_object* v___y_3395_){ _start: { -lean_object* v___x_3402_; -v___x_3402_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_3394_, v___y_3395_, v___y_3396_, v___y_3397_, v___y_3398_, v___y_3399_, v___y_3400_); -return v___x_3402_; +lean_object* v___x_3397_; +v___x_3397_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___redArg(v_t_3389_, v___y_3395_); +return v___x_3397_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___boxed(lean_object* v_00_u03b1_3403_, lean_object* v_constName_3404_, lean_object* v___y_3405_, lean_object* v___y_3406_, lean_object* v___y_3407_, lean_object* v___y_3408_, lean_object* v___y_3409_, lean_object* v___y_3410_, lean_object* v___y_3411_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17___boxed(lean_object* v_t_3398_, lean_object* v___y_3399_, lean_object* v___y_3400_, lean_object* v___y_3401_, lean_object* v___y_3402_, lean_object* v___y_3403_, lean_object* v___y_3404_, lean_object* v___y_3405_){ _start: { -lean_object* v_res_3412_; -v_res_3412_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15(v_00_u03b1_3403_, v_constName_3404_, v___y_3405_, v___y_3406_, v___y_3407_, v___y_3408_, v___y_3409_, v___y_3410_); -lean_dec(v___y_3410_); -lean_dec(v___y_3408_); -lean_dec_ref(v___y_3407_); -lean_dec(v___y_3406_); -return v_res_3412_; +lean_object* v_res_3406_; +v_res_3406_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__14_spec__17(v_t_3398_, v___y_3399_, v___y_3400_, v___y_3401_, v___y_3402_, v___y_3403_, v___y_3404_); +lean_dec(v___y_3404_); +lean_dec_ref(v___y_3403_); +lean_dec(v___y_3402_); +lean_dec_ref(v___y_3401_); +lean_dec(v___y_3400_); +lean_dec_ref(v___y_3399_); +return v_res_3406_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20(lean_object* v_00_u03b1_3413_, lean_object* v_ref_3414_, lean_object* v_constName_3415_, lean_object* v___y_3416_, lean_object* v___y_3417_, lean_object* v___y_3418_, lean_object* v___y_3419_, lean_object* v___y_3420_, lean_object* v___y_3421_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19(lean_object* v_env_3407_, lean_object* v___y_3408_, lean_object* v___y_3409_, lean_object* v___y_3410_, lean_object* v___y_3411_, lean_object* v___y_3412_, lean_object* v___y_3413_){ _start: { -lean_object* v___x_3423_; -v___x_3423_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_3414_, v_constName_3415_, v___y_3416_, v___y_3417_, v___y_3418_, v___y_3419_, v___y_3420_, v___y_3421_); -return v___x_3423_; +lean_object* v___x_3415_; +v___x_3415_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___redArg(v_env_3407_, v___y_3411_, v___y_3413_); +return v___x_3415_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___boxed(lean_object* v_00_u03b1_3424_, lean_object* v_ref_3425_, lean_object* v_constName_3426_, lean_object* v___y_3427_, lean_object* v___y_3428_, lean_object* v___y_3429_, lean_object* v___y_3430_, lean_object* v___y_3431_, lean_object* v___y_3432_, lean_object* v___y_3433_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19___boxed(lean_object* v_env_3416_, lean_object* v___y_3417_, lean_object* v___y_3418_, lean_object* v___y_3419_, lean_object* v___y_3420_, lean_object* v___y_3421_, lean_object* v___y_3422_, lean_object* v___y_3423_){ _start: { -lean_object* v_res_3434_; -v_res_3434_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20(v_00_u03b1_3424_, v_ref_3425_, v_constName_3426_, v___y_3427_, v___y_3428_, v___y_3429_, v___y_3430_, v___y_3431_, v___y_3432_); -lean_dec(v___y_3432_); -lean_dec(v___y_3430_); -lean_dec_ref(v___y_3429_); -lean_dec(v___y_3428_); -lean_dec(v_ref_3425_); -return v_res_3434_; +lean_object* v_res_3424_; +v_res_3424_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15_spec__19(v_env_3416_, v___y_3417_, v___y_3418_, v___y_3419_, v___y_3420_, v___y_3421_, v___y_3422_); +lean_dec(v___y_3422_); +lean_dec_ref(v___y_3421_); +lean_dec(v___y_3420_); +lean_dec_ref(v___y_3419_); +lean_dec(v___y_3418_); +lean_dec_ref(v___y_3417_); +return v_res_3424_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22(lean_object* v_00_u03b1_3435_, lean_object* v_ref_3436_, lean_object* v_msg_3437_, lean_object* v_declHint_3438_, lean_object* v___y_3439_, lean_object* v___y_3440_, lean_object* v___y_3441_, lean_object* v___y_3442_, lean_object* v___y_3443_, lean_object* v___y_3444_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15(lean_object* v_00_u03b1_3425_, lean_object* v_env_3426_, lean_object* v_x_3427_, lean_object* v___y_3428_, lean_object* v___y_3429_, lean_object* v___y_3430_, lean_object* v___y_3431_, lean_object* v___y_3432_, lean_object* v___y_3433_){ _start: { -lean_object* v___x_3446_; -v___x_3446_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_3436_, v_msg_3437_, v_declHint_3438_, v___y_3439_, v___y_3440_, v___y_3441_, v___y_3442_, v___y_3443_, v___y_3444_); -return v___x_3446_; +lean_object* v___x_3435_; +v___x_3435_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___redArg(v_env_3426_, v_x_3427_, v___y_3428_, v___y_3429_, v___y_3430_, v___y_3431_, v___y_3432_, v___y_3433_); +return v___x_3435_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___boxed(lean_object* v_00_u03b1_3447_, lean_object* v_ref_3448_, lean_object* v_msg_3449_, lean_object* v_declHint_3450_, lean_object* v___y_3451_, lean_object* v___y_3452_, lean_object* v___y_3453_, lean_object* v___y_3454_, lean_object* v___y_3455_, lean_object* v___y_3456_, lean_object* v___y_3457_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15___boxed(lean_object* v_00_u03b1_3436_, lean_object* v_env_3437_, lean_object* v_x_3438_, lean_object* v___y_3439_, lean_object* v___y_3440_, lean_object* v___y_3441_, lean_object* v___y_3442_, lean_object* v___y_3443_, lean_object* v___y_3444_, lean_object* v___y_3445_){ _start: { -lean_object* v_res_3458_; -v_res_3458_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22(v_00_u03b1_3447_, v_ref_3448_, v_msg_3449_, v_declHint_3450_, v___y_3451_, v___y_3452_, v___y_3453_, v___y_3454_, v___y_3455_, v___y_3456_); -lean_dec(v___y_3456_); -lean_dec(v___y_3454_); -lean_dec_ref(v___y_3453_); -lean_dec(v___y_3452_); -lean_dec(v_ref_3448_); -return v_res_3458_; +lean_object* v_res_3446_; +v_res_3446_ = l_Lean_withEnv___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__15(v_00_u03b1_3436_, v_env_3437_, v_x_3438_, v___y_3439_, v___y_3440_, v___y_3441_, v___y_3442_, v___y_3443_, v___y_3444_); +return v_res_3446_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24(lean_object* v_msg_3459_, lean_object* v_declHint_3460_, lean_object* v___y_3461_, lean_object* v___y_3462_, lean_object* v___y_3463_, lean_object* v___y_3464_, lean_object* v___y_3465_, lean_object* v___y_3466_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15(lean_object* v_00_u03b1_3447_, lean_object* v_constName_3448_, lean_object* v___y_3449_, lean_object* v___y_3450_, lean_object* v___y_3451_, lean_object* v___y_3452_, lean_object* v___y_3453_, lean_object* v___y_3454_){ _start: { -lean_object* v___x_3468_; -v___x_3468_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_3459_, v_declHint_3460_, v___y_3466_); -return v___x_3468_; +lean_object* v___x_3456_; +v___x_3456_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___redArg(v_constName_3448_, v___y_3449_, v___y_3450_, v___y_3451_, v___y_3452_, v___y_3453_, v___y_3454_); +return v___x_3456_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___boxed(lean_object* v_msg_3469_, lean_object* v_declHint_3470_, lean_object* v___y_3471_, lean_object* v___y_3472_, lean_object* v___y_3473_, lean_object* v___y_3474_, lean_object* v___y_3475_, lean_object* v___y_3476_, lean_object* v___y_3477_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15___boxed(lean_object* v_00_u03b1_3457_, lean_object* v_constName_3458_, lean_object* v___y_3459_, lean_object* v___y_3460_, lean_object* v___y_3461_, lean_object* v___y_3462_, lean_object* v___y_3463_, lean_object* v___y_3464_, lean_object* v___y_3465_){ _start: { -lean_object* v_res_3478_; -v_res_3478_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24(v_msg_3469_, v_declHint_3470_, v___y_3471_, v___y_3472_, v___y_3473_, v___y_3474_, v___y_3475_, v___y_3476_); -lean_dec(v___y_3476_); -lean_dec_ref(v___y_3475_); -lean_dec(v___y_3474_); -lean_dec_ref(v___y_3473_); -lean_dec(v___y_3472_); -lean_dec_ref(v___y_3471_); -return v_res_3478_; +lean_object* v_res_3466_; +v_res_3466_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15(v_00_u03b1_3457_, v_constName_3458_, v___y_3459_, v___y_3460_, v___y_3461_, v___y_3462_, v___y_3463_, v___y_3464_); +lean_dec(v___y_3464_); +lean_dec(v___y_3462_); +lean_dec_ref(v___y_3461_); +lean_dec(v___y_3460_); +return v_res_3466_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24(lean_object* v_00_u03b1_3479_, lean_object* v_ref_3480_, lean_object* v_msg_3481_, lean_object* v___y_3482_, lean_object* v___y_3483_, lean_object* v___y_3484_, lean_object* v___y_3485_, lean_object* v___y_3486_, lean_object* v___y_3487_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20(lean_object* v_00_u03b1_3467_, lean_object* v_ref_3468_, lean_object* v_constName_3469_, lean_object* v___y_3470_, lean_object* v___y_3471_, lean_object* v___y_3472_, lean_object* v___y_3473_, lean_object* v___y_3474_, lean_object* v___y_3475_){ _start: { -lean_object* v___x_3489_; -v___x_3489_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_3480_, v_msg_3481_, v___y_3482_, v___y_3483_, v___y_3484_, v___y_3485_, v___y_3486_, v___y_3487_); -return v___x_3489_; +lean_object* v___x_3477_; +v___x_3477_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___redArg(v_ref_3468_, v_constName_3469_, v___y_3470_, v___y_3471_, v___y_3472_, v___y_3473_, v___y_3474_, v___y_3475_); +return v___x_3477_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___boxed(lean_object* v_00_u03b1_3490_, lean_object* v_ref_3491_, lean_object* v_msg_3492_, lean_object* v___y_3493_, lean_object* v___y_3494_, lean_object* v___y_3495_, lean_object* v___y_3496_, lean_object* v___y_3497_, lean_object* v___y_3498_, lean_object* v___y_3499_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20___boxed(lean_object* v_00_u03b1_3478_, lean_object* v_ref_3479_, lean_object* v_constName_3480_, lean_object* v___y_3481_, lean_object* v___y_3482_, lean_object* v___y_3483_, lean_object* v___y_3484_, lean_object* v___y_3485_, lean_object* v___y_3486_, lean_object* v___y_3487_){ _start: { -lean_object* v_res_3500_; -v_res_3500_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24(v_00_u03b1_3490_, v_ref_3491_, v_msg_3492_, v___y_3493_, v___y_3494_, v___y_3495_, v___y_3496_, v___y_3497_, v___y_3498_); -lean_dec(v___y_3498_); -lean_dec(v___y_3496_); -lean_dec_ref(v___y_3495_); -lean_dec(v___y_3494_); -lean_dec(v_ref_3491_); -return v_res_3500_; +lean_object* v_res_3488_; +v_res_3488_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20(v_00_u03b1_3478_, v_ref_3479_, v_constName_3480_, v___y_3481_, v___y_3482_, v___y_3483_, v___y_3484_, v___y_3485_, v___y_3486_); +lean_dec(v___y_3486_); +lean_dec(v___y_3484_); +lean_dec_ref(v___y_3483_); +lean_dec(v___y_3482_); +lean_dec(v_ref_3479_); +return v_res_3488_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22(lean_object* v_00_u03b1_3489_, lean_object* v_ref_3490_, lean_object* v_msg_3491_, lean_object* v_declHint_3492_, lean_object* v___y_3493_, lean_object* v___y_3494_, lean_object* v___y_3495_, lean_object* v___y_3496_, lean_object* v___y_3497_, lean_object* v___y_3498_){ +_start: +{ +lean_object* v___x_3500_; +v___x_3500_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___redArg(v_ref_3490_, v_msg_3491_, v_declHint_3492_, v___y_3493_, v___y_3494_, v___y_3495_, v___y_3496_, v___y_3497_, v___y_3498_); +return v___x_3500_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22___boxed(lean_object* v_00_u03b1_3501_, lean_object* v_ref_3502_, lean_object* v_msg_3503_, lean_object* v_declHint_3504_, lean_object* v___y_3505_, lean_object* v___y_3506_, lean_object* v___y_3507_, lean_object* v___y_3508_, lean_object* v___y_3509_, lean_object* v___y_3510_, lean_object* v___y_3511_){ +_start: +{ +lean_object* v_res_3512_; +v_res_3512_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22(v_00_u03b1_3501_, v_ref_3502_, v_msg_3503_, v_declHint_3504_, v___y_3505_, v___y_3506_, v___y_3507_, v___y_3508_, v___y_3509_, v___y_3510_); +lean_dec(v___y_3510_); +lean_dec(v___y_3508_); +lean_dec_ref(v___y_3507_); +lean_dec(v___y_3506_); +lean_dec(v_ref_3502_); +return v_res_3512_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24(lean_object* v_msg_3513_, lean_object* v_declHint_3514_, lean_object* v___y_3515_, lean_object* v___y_3516_, lean_object* v___y_3517_, lean_object* v___y_3518_, lean_object* v___y_3519_, lean_object* v___y_3520_){ +_start: +{ +lean_object* v___x_3522_; +v___x_3522_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___redArg(v_msg_3513_, v_declHint_3514_, v___y_3520_); +return v___x_3522_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24___boxed(lean_object* v_msg_3523_, lean_object* v_declHint_3524_, lean_object* v___y_3525_, lean_object* v___y_3526_, lean_object* v___y_3527_, lean_object* v___y_3528_, lean_object* v___y_3529_, lean_object* v___y_3530_, lean_object* v___y_3531_){ +_start: +{ +lean_object* v_res_3532_; +v_res_3532_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__23_spec__24(v_msg_3523_, v_declHint_3524_, v___y_3525_, v___y_3526_, v___y_3527_, v___y_3528_, v___y_3529_, v___y_3530_); +lean_dec(v___y_3530_); +lean_dec_ref(v___y_3529_); +lean_dec(v___y_3528_); +lean_dec_ref(v___y_3527_); +lean_dec(v___y_3526_); +lean_dec_ref(v___y_3525_); +return v_res_3532_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24(lean_object* v_00_u03b1_3533_, lean_object* v_ref_3534_, lean_object* v_msg_3535_, lean_object* v___y_3536_, lean_object* v___y_3537_, lean_object* v___y_3538_, lean_object* v___y_3539_, lean_object* v___y_3540_, lean_object* v___y_3541_){ +_start: +{ +lean_object* v___x_3543_; +v___x_3543_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___redArg(v_ref_3534_, v_msg_3535_, v___y_3536_, v___y_3537_, v___y_3538_, v___y_3539_, v___y_3540_, v___y_3541_); +return v___x_3543_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24___boxed(lean_object* v_00_u03b1_3544_, lean_object* v_ref_3545_, lean_object* v_msg_3546_, lean_object* v___y_3547_, lean_object* v___y_3548_, lean_object* v___y_3549_, lean_object* v___y_3550_, lean_object* v___y_3551_, lean_object* v___y_3552_, lean_object* v___y_3553_){ +_start: +{ +lean_object* v_res_3554_; +v_res_3554_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_checkNotAlreadyDeclared___at___00Lean_Elab_applyVisibility___at___00Lean_Elab_mkDeclName___at___00Lean_Elab_expandDeclId_spec__2_spec__4_spec__8_spec__13_spec__14_spec__15_spec__20_spec__22_spec__24(v_00_u03b1_3544_, v_ref_3545_, v_msg_3546_, v___y_3547_, v___y_3548_, v___y_3549_, v___y_3550_, v___y_3551_, v___y_3552_); +lean_dec(v___y_3552_); +lean_dec(v___y_3550_); +lean_dec_ref(v___y_3549_); +lean_dec(v___y_3548_); +lean_dec(v_ref_3545_); +return v_res_3554_; } } lean_object* runtime_initialize_Lean_DocString_Add(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c b/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c index 4bd359401a..0d70086d3e 100644 --- a/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c +++ b/stage0/stdlib/Lean/Elab/DocString/Builtin/Scopes.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.DocString.Builtin.Scopes -// Imports: public import Lean.Elab.DocString import Lean.Elab.DocString.Builtin.Parsing +// Imports: public import Lean.Elab.DocString public import Lean.Elab.DocString.Builtin.Parsing #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" diff --git a/stage0/stdlib/Lean/Elab/ErrorExplanation.c b/stage0/stdlib/Lean/Elab/ErrorExplanation.c index f6cd392bb9..f2fed77bea 100644 --- a/stage0/stdlib/Lean/Elab/ErrorExplanation.c +++ b/stage0/stdlib/Lean/Elab/ErrorExplanation.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Elab.ErrorExplanation -// Imports: public import Lean.Widget.UserWidget +// Imports: public import Lean.Widget.UserWidget meta import Lean.Widget.UserWidget #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -9412,14 +9412,19 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Widget_UserWidget(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Elab_ErrorExplanation(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Widget_UserWidget(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Widget_UserWidget(uint8_t builtin); +lean_object* initialize_Lean_Widget_UserWidget(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Elab_ErrorExplanation(uint8_t builtin) { lean_object * res; @@ -9428,6 +9433,9 @@ _G_initialized = true; res = initialize_Lean_Widget_UserWidget(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Widget_UserWidget(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Elab_ErrorExplanation(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 47e0d4129c..01cac4d77a 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -215,6 +215,8 @@ lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_obje uint8_t l_Lean_Expr_isProp(lean_object*); lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkLambda(lean_object*, lean_object*); +uint8_t l_Lean_Elab_Modifiers_isMeta(lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_registerBuiltinAttribute(lean_object*); @@ -237,7 +239,6 @@ size_t lean_usize_mul(size_t, size_t); uint8_t lean_usize_dec_le(size_t, size_t); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(lean_object*); lean_object* l_Lean_Expr_getNumHeadLambdas(lean_object*); -lean_object* l_Lean_markMeta(lean_object*, lean_object*); lean_object* l_Lean_addNoncomputable(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_setGoals___redArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkInitialTacticInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -325,7 +326,6 @@ lean_object* lean_io_promise_new(); uint8_t l_Lean_Exception_isRuntime(lean_object*); uint8_t l_Lean_Elab_Modifiers_isPartial(lean_object*); uint8_t l_Lean_Elab_Modifiers_isNoncomputable(lean_object*); -uint8_t l_Lean_Elab_Modifiers_isMeta(lean_object*); lean_object* l_Array_unzip___redArg(lean_object*); lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -45236,7 +45236,7 @@ return v___x_15611_; } else { -lean_object* v_head_15612_; lean_object* v_toLift_15613_; lean_object* v_tail_15614_; lean_object* v_ref_15615_; lean_object* v_localDecls_15616_; lean_object* v_attrs_15617_; lean_object* v_declName_15618_; lean_object* v_lctx_15619_; lean_object* v_localInstances_15620_; lean_object* v_type_15621_; lean_object* v_val_15622_; lean_object* v_termination_15623_; lean_object* v_binders_15624_; lean_object* v_docString_x3f_15625_; lean_object* v___x_15626_; lean_object* v___f_15627_; lean_object* v_type_15628_; lean_object* v_value_15629_; uint8_t v_kind_15631_; +lean_object* v_head_15612_; lean_object* v_toLift_15613_; lean_object* v_tail_15614_; lean_object* v_ref_15615_; lean_object* v_localDecls_15616_; lean_object* v_attrs_15617_; lean_object* v_declName_15618_; lean_object* v_lctx_15619_; lean_object* v_localInstances_15620_; lean_object* v_type_15621_; lean_object* v_val_15622_; lean_object* v_termination_15623_; lean_object* v_binders_15624_; lean_object* v_docString_x3f_15625_; lean_object* v___x_15626_; lean_object* v___f_15627_; lean_object* v_type_15628_; lean_object* v_value_15629_; uint8_t v___y_15631_; uint8_t v_kind_15645_; lean_object* v___y_15646_; lean_object* v___y_15647_; v_head_15612_ = lean_ctor_get(v_x_15605_, 0); lean_inc(v_head_15612_); v_toLift_15613_ = lean_ctor_get(v_head_15612_, 3); @@ -45282,60 +45282,68 @@ switch(v_kind_15602_) case 0: { lean_dec_ref(v_type_15621_); -goto v___jp_15644_; +goto v___jp_15684_; } case 1: { lean_dec_ref(v_type_15621_); -goto v___jp_15644_; +goto v___jp_15684_; } case 4: { lean_dec_ref(v_type_15621_); -goto v___jp_15644_; +goto v___jp_15684_; } case 5: { lean_dec_ref(v_type_15621_); -goto v___jp_15644_; +goto v___jp_15684_; } default: { -uint8_t v___x_15656_; +uint8_t v___x_15696_; lean_dec_ref(v___f_15627_); -v___x_15656_ = l_Lean_Elab_DefKind_isTheorem(v_kind_15602_); -if (v___x_15656_ == 0) +v___x_15696_ = l_Lean_Elab_DefKind_isTheorem(v_kind_15602_); +if (v___x_15696_ == 0) { lean_dec_ref(v_type_15621_); lean_dec_ref(v_localInstances_15620_); lean_dec_ref(v_lctx_15619_); -v_kind_15631_ = v_kind_15602_; -goto v___jp_15630_; +lean_inc(v___y_15609_); +lean_inc(v___y_15607_); +v_kind_15645_ = v_kind_15602_; +v___y_15646_ = v___y_15607_; +v___y_15647_ = v___y_15609_; +goto v___jp_15644_; } else { -lean_object* v___f_15657_; lean_object* v___x_15658_; -v___f_15657_ = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___lam__1___boxed), 6, 1); -lean_closure_set(v___f_15657_, 0, v_type_15621_); +lean_object* v___f_15697_; lean_object* v___x_15698_; +v___f_15697_ = lean_alloc_closure((void*)(l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___lam__1___boxed), 6, 1); +lean_closure_set(v___f_15697_, 0, v_type_15621_); lean_inc(v___y_15609_); lean_inc_ref(v___y_15608_); lean_inc(v___y_15607_); lean_inc_ref(v___y_15606_); -v___x_15658_ = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(v_lctx_15619_, v_localInstances_15620_, v___f_15657_, v___y_15606_, v___y_15607_, v___y_15608_, v___y_15609_); -if (lean_obj_tag(v___x_15658_) == 0) +v___x_15698_ = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(v_lctx_15619_, v_localInstances_15620_, v___f_15697_, v___y_15606_, v___y_15607_, v___y_15608_, v___y_15609_); +if (lean_obj_tag(v___x_15698_) == 0) { -lean_object* v_a_15659_; uint8_t v___x_15660_; -v_a_15659_ = lean_ctor_get(v___x_15658_, 0); -lean_inc(v_a_15659_); -lean_dec_ref(v___x_15658_); -v___x_15660_ = lean_unbox(v_a_15659_); -lean_dec(v_a_15659_); -v_kind_15631_ = v___x_15660_; -goto v___jp_15630_; +lean_object* v_a_15699_; uint8_t v___x_15700_; +v_a_15699_ = lean_ctor_get(v___x_15698_, 0); +lean_inc(v_a_15699_); +lean_dec_ref(v___x_15698_); +v___x_15700_ = lean_unbox(v_a_15699_); +lean_dec(v_a_15699_); +lean_inc(v___y_15609_); +lean_inc(v___y_15607_); +v_kind_15645_ = v___x_15700_; +v___y_15646_ = v___y_15607_; +v___y_15647_ = v___y_15609_; +goto v___jp_15644_; } else { -lean_object* v_a_15661_; lean_object* v___x_15663_; uint8_t v_isShared_15664_; uint8_t v_isSharedCheck_15668_; +lean_object* v_a_15701_; lean_object* v___x_15703_; uint8_t v_isShared_15704_; uint8_t v_isSharedCheck_15708_; lean_dec_ref(v_value_15629_); lean_dec_ref(v_type_15628_); lean_dec(v_docString_x3f_15625_); @@ -45350,41 +45358,41 @@ lean_dec_ref(v___y_15608_); lean_dec(v___y_15607_); lean_dec_ref(v___y_15606_); lean_dec_ref(v_x_15604_); -v_a_15661_ = lean_ctor_get(v___x_15658_, 0); -v_isSharedCheck_15668_ = !lean_is_exclusive(v___x_15658_); -if (v_isSharedCheck_15668_ == 0) +v_a_15701_ = lean_ctor_get(v___x_15698_, 0); +v_isSharedCheck_15708_ = !lean_is_exclusive(v___x_15698_); +if (v_isSharedCheck_15708_ == 0) { -v___x_15663_ = v___x_15658_; -v_isShared_15664_ = v_isSharedCheck_15668_; -goto v_resetjp_15662_; +v___x_15703_ = v___x_15698_; +v_isShared_15704_ = v_isSharedCheck_15708_; +goto v_resetjp_15702_; } else { -lean_inc(v_a_15661_); -lean_dec(v___x_15658_); -v___x_15663_ = lean_box(0); -v_isShared_15664_ = v_isSharedCheck_15668_; -goto v_resetjp_15662_; +lean_inc(v_a_15701_); +lean_dec(v___x_15698_); +v___x_15703_ = lean_box(0); +v_isShared_15704_ = v_isSharedCheck_15708_; +goto v_resetjp_15702_; } -v_resetjp_15662_: +v_resetjp_15702_: { -lean_object* v___x_15666_; -if (v_isShared_15664_ == 0) +lean_object* v___x_15706_; +if (v_isShared_15704_ == 0) { -v___x_15666_ = v___x_15663_; -goto v_reusejp_15665_; +v___x_15706_ = v___x_15703_; +goto v_reusejp_15705_; } else { -lean_object* v_reuseFailAlloc_15667_; -v_reuseFailAlloc_15667_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15667_, 0, v_a_15661_); -v___x_15666_ = v_reuseFailAlloc_15667_; -goto v_reusejp_15665_; +lean_object* v_reuseFailAlloc_15707_; +v_reuseFailAlloc_15707_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15707_, 0, v_a_15701_); +v___x_15706_ = v_reuseFailAlloc_15707_; +goto v_reusejp_15705_; } -v_reusejp_15665_: +v_reusejp_15705_: { -return v___x_15666_; +return v___x_15706_; } } } @@ -45422,7 +45430,7 @@ lean_ctor_set(v___x_15641_, 5, v___x_15640_); lean_ctor_set(v___x_15641_, 6, v_type_15628_); lean_ctor_set(v___x_15641_, 7, v_value_15629_); lean_ctor_set(v___x_15641_, 8, v_termination_15623_); -lean_ctor_set_uint8(v___x_15641_, sizeof(void*)*9, v_kind_15631_); +lean_ctor_set_uint8(v___x_15641_, sizeof(void*)*9, v___y_15631_); v___x_15642_ = lean_array_push(v_x_15604_, v___x_15641_); v_x_15604_ = v___x_15642_; v_x_15605_ = v_tail_15614_; @@ -45430,26 +45438,173 @@ goto _start; } v___jp_15644_: { -lean_object* v___x_15645_; -lean_inc(v___y_15609_); -lean_inc_ref(v___y_15608_); -lean_inc(v___y_15607_); -lean_inc_ref(v___y_15606_); -v___x_15645_ = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(v_lctx_15619_, v_localInstances_15620_, v___f_15627_, v___y_15606_, v___y_15607_, v___y_15608_, v___y_15609_); -if (lean_obj_tag(v___x_15645_) == 0) +uint8_t v___x_15648_; +v___x_15648_ = l_Lean_Elab_Modifiers_isMeta(v_modifiers_15603_); +if (v___x_15648_ == 0) { -lean_object* v_a_15646_; uint8_t v___x_15647_; -v_a_15646_ = lean_ctor_get(v___x_15645_, 0); -lean_inc(v_a_15646_); -lean_dec_ref(v___x_15645_); -v___x_15647_ = lean_unbox(v_a_15646_); -lean_dec(v_a_15646_); -v_kind_15631_ = v___x_15647_; +lean_dec(v___y_15647_); +lean_dec(v___y_15646_); +v___y_15631_ = v_kind_15645_; goto v___jp_15630_; } else { -lean_object* v_a_15648_; lean_object* v___x_15650_; uint8_t v_isShared_15651_; uint8_t v_isSharedCheck_15655_; +lean_object* v___x_15649_; lean_object* v_env_15650_; lean_object* v_nextMacroScope_15651_; lean_object* v_ngen_15652_; lean_object* v_auxDeclNGen_15653_; lean_object* v_traceState_15654_; lean_object* v_messages_15655_; lean_object* v_infoState_15656_; lean_object* v_snapshotTasks_15657_; lean_object* v___x_15659_; uint8_t v_isShared_15660_; uint8_t v_isSharedCheck_15682_; +v___x_15649_ = lean_st_ref_take(v___y_15647_); +v_env_15650_ = lean_ctor_get(v___x_15649_, 0); +v_nextMacroScope_15651_ = lean_ctor_get(v___x_15649_, 1); +v_ngen_15652_ = lean_ctor_get(v___x_15649_, 2); +v_auxDeclNGen_15653_ = lean_ctor_get(v___x_15649_, 3); +v_traceState_15654_ = lean_ctor_get(v___x_15649_, 4); +v_messages_15655_ = lean_ctor_get(v___x_15649_, 6); +v_infoState_15656_ = lean_ctor_get(v___x_15649_, 7); +v_snapshotTasks_15657_ = lean_ctor_get(v___x_15649_, 8); +v_isSharedCheck_15682_ = !lean_is_exclusive(v___x_15649_); +if (v_isSharedCheck_15682_ == 0) +{ +lean_object* v_unused_15683_; +v_unused_15683_ = lean_ctor_get(v___x_15649_, 5); +lean_dec(v_unused_15683_); +v___x_15659_ = v___x_15649_; +v_isShared_15660_ = v_isSharedCheck_15682_; +goto v_resetjp_15658_; +} +else +{ +lean_inc(v_snapshotTasks_15657_); +lean_inc(v_infoState_15656_); +lean_inc(v_messages_15655_); +lean_inc(v_traceState_15654_); +lean_inc(v_auxDeclNGen_15653_); +lean_inc(v_ngen_15652_); +lean_inc(v_nextMacroScope_15651_); +lean_inc(v_env_15650_); +lean_dec(v___x_15649_); +v___x_15659_ = lean_box(0); +v_isShared_15660_ = v_isSharedCheck_15682_; +goto v_resetjp_15658_; +} +v_resetjp_15658_: +{ +lean_object* v___x_15661_; lean_object* v___x_15662_; lean_object* v___x_15664_; +lean_inc(v_declName_15618_); +v___x_15661_ = l_Lean_markMeta(v_env_15650_, v_declName_15618_); +v___x_15662_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_15660_ == 0) +{ +lean_ctor_set(v___x_15659_, 5, v___x_15662_); +lean_ctor_set(v___x_15659_, 0, v___x_15661_); +v___x_15664_ = v___x_15659_; +goto v_reusejp_15663_; +} +else +{ +lean_object* v_reuseFailAlloc_15681_; +v_reuseFailAlloc_15681_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_15681_, 0, v___x_15661_); +lean_ctor_set(v_reuseFailAlloc_15681_, 1, v_nextMacroScope_15651_); +lean_ctor_set(v_reuseFailAlloc_15681_, 2, v_ngen_15652_); +lean_ctor_set(v_reuseFailAlloc_15681_, 3, v_auxDeclNGen_15653_); +lean_ctor_set(v_reuseFailAlloc_15681_, 4, v_traceState_15654_); +lean_ctor_set(v_reuseFailAlloc_15681_, 5, v___x_15662_); +lean_ctor_set(v_reuseFailAlloc_15681_, 6, v_messages_15655_); +lean_ctor_set(v_reuseFailAlloc_15681_, 7, v_infoState_15656_); +lean_ctor_set(v_reuseFailAlloc_15681_, 8, v_snapshotTasks_15657_); +v___x_15664_ = v_reuseFailAlloc_15681_; +goto v_reusejp_15663_; +} +v_reusejp_15663_: +{ +lean_object* v___x_15665_; lean_object* v___x_15666_; lean_object* v_mctx_15667_; lean_object* v_zetaDeltaFVarIds_15668_; lean_object* v_postponed_15669_; lean_object* v_diag_15670_; lean_object* v___x_15672_; uint8_t v_isShared_15673_; uint8_t v_isSharedCheck_15679_; +v___x_15665_ = lean_st_ref_set(v___y_15647_, v___x_15664_); +lean_dec(v___y_15647_); +v___x_15666_ = lean_st_ref_take(v___y_15646_); +v_mctx_15667_ = lean_ctor_get(v___x_15666_, 0); +v_zetaDeltaFVarIds_15668_ = lean_ctor_get(v___x_15666_, 2); +v_postponed_15669_ = lean_ctor_get(v___x_15666_, 3); +v_diag_15670_ = lean_ctor_get(v___x_15666_, 4); +v_isSharedCheck_15679_ = !lean_is_exclusive(v___x_15666_); +if (v_isSharedCheck_15679_ == 0) +{ +lean_object* v_unused_15680_; +v_unused_15680_ = lean_ctor_get(v___x_15666_, 1); +lean_dec(v_unused_15680_); +v___x_15672_ = v___x_15666_; +v_isShared_15673_ = v_isSharedCheck_15679_; +goto v_resetjp_15671_; +} +else +{ +lean_inc(v_diag_15670_); +lean_inc(v_postponed_15669_); +lean_inc(v_zetaDeltaFVarIds_15668_); +lean_inc(v_mctx_15667_); +lean_dec(v___x_15666_); +v___x_15672_ = lean_box(0); +v_isShared_15673_ = v_isSharedCheck_15679_; +goto v_resetjp_15671_; +} +v_resetjp_15671_: +{ +lean_object* v___x_15674_; lean_object* v___x_15676_; +v___x_15674_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_15673_ == 0) +{ +lean_ctor_set(v___x_15672_, 1, v___x_15674_); +v___x_15676_ = v___x_15672_; +goto v_reusejp_15675_; +} +else +{ +lean_object* v_reuseFailAlloc_15678_; +v_reuseFailAlloc_15678_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_15678_, 0, v_mctx_15667_); +lean_ctor_set(v_reuseFailAlloc_15678_, 1, v___x_15674_); +lean_ctor_set(v_reuseFailAlloc_15678_, 2, v_zetaDeltaFVarIds_15668_); +lean_ctor_set(v_reuseFailAlloc_15678_, 3, v_postponed_15669_); +lean_ctor_set(v_reuseFailAlloc_15678_, 4, v_diag_15670_); +v___x_15676_ = v_reuseFailAlloc_15678_; +goto v_reusejp_15675_; +} +v_reusejp_15675_: +{ +lean_object* v___x_15677_; +v___x_15677_ = lean_st_ref_set(v___y_15646_, v___x_15676_); +lean_dec(v___y_15646_); +v___y_15631_ = v_kind_15645_; +goto v___jp_15630_; +} +} +} +} +} +} +v___jp_15684_: +{ +lean_object* v___x_15685_; +lean_inc(v___y_15609_); +lean_inc_ref(v___y_15608_); +lean_inc(v___y_15607_); +lean_inc_ref(v___y_15606_); +v___x_15685_ = l_Lean_Meta_withLCtx___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__0___redArg(v_lctx_15619_, v_localInstances_15620_, v___f_15627_, v___y_15606_, v___y_15607_, v___y_15608_, v___y_15609_); +if (lean_obj_tag(v___x_15685_) == 0) +{ +lean_object* v_a_15686_; uint8_t v___x_15687_; +v_a_15686_ = lean_ctor_get(v___x_15685_, 0); +lean_inc(v_a_15686_); +lean_dec_ref(v___x_15685_); +v___x_15687_ = lean_unbox(v_a_15686_); +lean_dec(v_a_15686_); +lean_inc(v___y_15609_); +lean_inc(v___y_15607_); +v_kind_15645_ = v___x_15687_; +v___y_15646_ = v___y_15607_; +v___y_15647_ = v___y_15609_; +goto v___jp_15644_; +} +else +{ +lean_object* v_a_15688_; lean_object* v___x_15690_; uint8_t v_isShared_15691_; uint8_t v_isSharedCheck_15695_; lean_dec_ref(v_value_15629_); lean_dec_ref(v_type_15628_); lean_dec(v_docString_x3f_15625_); @@ -45464,41 +45619,41 @@ lean_dec_ref(v___y_15608_); lean_dec(v___y_15607_); lean_dec_ref(v___y_15606_); lean_dec_ref(v_x_15604_); -v_a_15648_ = lean_ctor_get(v___x_15645_, 0); -v_isSharedCheck_15655_ = !lean_is_exclusive(v___x_15645_); -if (v_isSharedCheck_15655_ == 0) +v_a_15688_ = lean_ctor_get(v___x_15685_, 0); +v_isSharedCheck_15695_ = !lean_is_exclusive(v___x_15685_); +if (v_isSharedCheck_15695_ == 0) { -v___x_15650_ = v___x_15645_; -v_isShared_15651_ = v_isSharedCheck_15655_; -goto v_resetjp_15649_; +v___x_15690_ = v___x_15685_; +v_isShared_15691_ = v_isSharedCheck_15695_; +goto v_resetjp_15689_; } else { -lean_inc(v_a_15648_); -lean_dec(v___x_15645_); -v___x_15650_ = lean_box(0); -v_isShared_15651_ = v_isSharedCheck_15655_; -goto v_resetjp_15649_; +lean_inc(v_a_15688_); +lean_dec(v___x_15685_); +v___x_15690_ = lean_box(0); +v_isShared_15691_ = v_isSharedCheck_15695_; +goto v_resetjp_15689_; } -v_resetjp_15649_: +v_resetjp_15689_: { -lean_object* v___x_15653_; -if (v_isShared_15651_ == 0) +lean_object* v___x_15693_; +if (v_isShared_15691_ == 0) { -v___x_15653_ = v___x_15650_; -goto v_reusejp_15652_; +v___x_15693_ = v___x_15690_; +goto v_reusejp_15692_; } else { -lean_object* v_reuseFailAlloc_15654_; -v_reuseFailAlloc_15654_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15654_, 0, v_a_15648_); -v___x_15653_ = v_reuseFailAlloc_15654_; -goto v_reusejp_15652_; +lean_object* v_reuseFailAlloc_15694_; +v_reuseFailAlloc_15694_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15694_, 0, v_a_15688_); +v___x_15693_ = v_reuseFailAlloc_15694_; +goto v_reusejp_15692_; } -v_reusejp_15652_: +v_reusejp_15692_: { -return v___x_15653_; +return v___x_15693_; } } } @@ -45506,958 +45661,958 @@ return v___x_15653_; } } } -LEAN_EXPORT lean_object* l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___boxed(lean_object* v_kind_15669_, lean_object* v_modifiers_15670_, lean_object* v_x_15671_, lean_object* v_x_15672_, lean_object* v___y_15673_, lean_object* v___y_15674_, lean_object* v___y_15675_, lean_object* v___y_15676_, lean_object* v___y_15677_){ +LEAN_EXPORT lean_object* l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1___boxed(lean_object* v_kind_15709_, lean_object* v_modifiers_15710_, lean_object* v_x_15711_, lean_object* v_x_15712_, lean_object* v___y_15713_, lean_object* v___y_15714_, lean_object* v___y_15715_, lean_object* v___y_15716_, lean_object* v___y_15717_){ _start: { -uint8_t v_kind_boxed_15678_; lean_object* v_res_15679_; -v_kind_boxed_15678_ = lean_unbox(v_kind_15669_); -v_res_15679_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v_kind_boxed_15678_, v_modifiers_15670_, v_x_15671_, v_x_15672_, v___y_15673_, v___y_15674_, v___y_15675_, v___y_15676_); -lean_dec_ref(v_modifiers_15670_); -return v_res_15679_; +uint8_t v_kind_boxed_15718_; lean_object* v_res_15719_; +v_kind_boxed_15718_ = lean_unbox(v_kind_15709_); +v_res_15719_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v_kind_boxed_15718_, v_modifiers_15710_, v_x_15711_, v_x_15712_, v___y_15713_, v___y_15714_, v___y_15715_, v___y_15716_); +lean_dec_ref(v_modifiers_15710_); +return v_res_15719_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs(lean_object* v_preDefs_15680_, lean_object* v_letRecClosures_15681_, uint8_t v_kind_15682_, lean_object* v_modifiers_15683_, lean_object* v_a_15684_, lean_object* v_a_15685_, lean_object* v_a_15686_, lean_object* v_a_15687_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs(lean_object* v_preDefs_15720_, lean_object* v_letRecClosures_15721_, uint8_t v_kind_15722_, lean_object* v_modifiers_15723_, lean_object* v_a_15724_, lean_object* v_a_15725_, lean_object* v_a_15726_, lean_object* v_a_15727_){ _start: { -lean_object* v___x_15689_; -v___x_15689_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v_kind_15682_, v_modifiers_15683_, v_preDefs_15680_, v_letRecClosures_15681_, v_a_15684_, v_a_15685_, v_a_15686_, v_a_15687_); -return v___x_15689_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs___boxed(lean_object* v_preDefs_15690_, lean_object* v_letRecClosures_15691_, lean_object* v_kind_15692_, lean_object* v_modifiers_15693_, lean_object* v_a_15694_, lean_object* v_a_15695_, lean_object* v_a_15696_, lean_object* v_a_15697_, lean_object* v_a_15698_){ -_start: -{ -uint8_t v_kind_boxed_15699_; lean_object* v_res_15700_; -v_kind_boxed_15699_ = lean_unbox(v_kind_15692_); -v_res_15700_ = l_Lean_Elab_Term_MutualClosure_pushLetRecs(v_preDefs_15690_, v_letRecClosures_15691_, v_kind_boxed_15699_, v_modifiers_15693_, v_a_15694_, v_a_15695_, v_a_15696_, v_a_15697_); -lean_dec_ref(v_modifiers_15693_); -return v_res_15700_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(lean_object* v_as_15701_, size_t v_i_15702_, size_t v_stop_15703_){ -_start: -{ -uint8_t v___x_15704_; -v___x_15704_ = lean_usize_dec_eq(v_i_15702_, v_stop_15703_); -if (v___x_15704_ == 0) -{ -lean_object* v___x_15705_; lean_object* v_toDefView_15706_; uint8_t v_kind_15707_; uint8_t v___x_15708_; -v___x_15705_ = lean_array_uget_borrowed(v_as_15701_, v_i_15702_); -v_toDefView_15706_ = lean_ctor_get(v___x_15705_, 0); -v_kind_15707_ = lean_ctor_get_uint8(v_toDefView_15706_, sizeof(void*)*10); -v___x_15708_ = l_Lean_Elab_DefKind_isTheorem(v_kind_15707_); -if (v___x_15708_ == 0) -{ -size_t v___x_15709_; size_t v___x_15710_; -v___x_15709_ = ((size_t)1ULL); -v___x_15710_ = lean_usize_add(v_i_15702_, v___x_15709_); -v_i_15702_ = v___x_15710_; -goto _start; -} -else -{ -return v___x_15708_; -} -} -else -{ -uint8_t v___x_15712_; -v___x_15712_ = 0; -return v___x_15712_; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0___boxed(lean_object* v_as_15713_, lean_object* v_i_15714_, lean_object* v_stop_15715_){ -_start: -{ -size_t v_i_boxed_15716_; size_t v_stop_boxed_15717_; uint8_t v_res_15718_; lean_object* v_r_15719_; -v_i_boxed_15716_ = lean_unbox_usize(v_i_15714_); -lean_dec(v_i_15714_); -v_stop_boxed_15717_ = lean_unbox_usize(v_stop_15715_); -lean_dec(v_stop_15715_); -v_res_15718_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_as_15713_, v_i_boxed_15716_, v_stop_boxed_15717_); -lean_dec_ref(v_as_15713_); -v_r_15719_ = lean_box(v_res_15718_); -return v_r_15719_; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(lean_object* v_mainHeaders_15720_){ -_start: -{ -lean_object* v___x_15721_; lean_object* v___x_15722_; uint8_t v___x_15723_; -v___x_15721_ = lean_unsigned_to_nat(0u); -v___x_15722_ = lean_array_get_size(v_mainHeaders_15720_); -v___x_15723_ = lean_nat_dec_lt(v___x_15721_, v___x_15722_); -if (v___x_15723_ == 0) -{ -uint8_t v___x_15724_; -v___x_15724_ = 0; -return v___x_15724_; -} -else -{ -if (v___x_15723_ == 0) -{ -uint8_t v___x_15725_; -v___x_15725_ = 0; -return v___x_15725_; -} -else -{ -size_t v___x_15726_; size_t v___x_15727_; uint8_t v___x_15728_; -v___x_15726_ = ((size_t)0ULL); -v___x_15727_ = lean_usize_of_nat(v___x_15722_); -v___x_15728_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_mainHeaders_15720_, v___x_15726_, v___x_15727_); -if (v___x_15728_ == 0) -{ -uint8_t v___x_15729_; -v___x_15729_ = 0; +lean_object* v___x_15729_; +v___x_15729_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v_kind_15722_, v_modifiers_15723_, v_preDefs_15720_, v_letRecClosures_15721_, v_a_15724_, v_a_15725_, v_a_15726_, v_a_15727_); return v___x_15729_; } -else -{ -uint8_t v___x_15730_; -v___x_15730_ = 2; -return v___x_15730_; } -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxed(lean_object* v_mainHeaders_15731_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_pushLetRecs___boxed(lean_object* v_preDefs_15730_, lean_object* v_letRecClosures_15731_, lean_object* v_kind_15732_, lean_object* v_modifiers_15733_, lean_object* v_a_15734_, lean_object* v_a_15735_, lean_object* v_a_15736_, lean_object* v_a_15737_, lean_object* v_a_15738_){ _start: { -uint8_t v_res_15732_; lean_object* v_r_15733_; -v_res_15732_ = l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(v_mainHeaders_15731_); -lean_dec_ref(v_mainHeaders_15731_); -v_r_15733_ = lean_box(v_res_15732_); -return v_r_15733_; +uint8_t v_kind_boxed_15739_; lean_object* v_res_15740_; +v_kind_boxed_15739_ = lean_unbox(v_kind_15732_); +v_res_15740_ = l_Lean_Elab_Term_MutualClosure_pushLetRecs(v_preDefs_15730_, v_letRecClosures_15731_, v_kind_boxed_15739_, v_modifiers_15733_, v_a_15734_, v_a_15735_, v_a_15736_, v_a_15737_); +lean_dec_ref(v_modifiers_15733_); +return v_res_15740_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(lean_object* v_as_15734_, size_t v_i_15735_, size_t v_stop_15736_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(lean_object* v_as_15741_, size_t v_i_15742_, size_t v_stop_15743_){ _start: { -uint8_t v___x_15737_; -v___x_15737_ = lean_usize_dec_eq(v_i_15735_, v_stop_15736_); -if (v___x_15737_ == 0) +uint8_t v___x_15744_; +v___x_15744_ = lean_usize_dec_eq(v_i_15742_, v_stop_15743_); +if (v___x_15744_ == 0) { -lean_object* v___x_15738_; lean_object* v_toDefView_15739_; lean_object* v_modifiers_15740_; uint8_t v___x_15741_; -v___x_15738_ = lean_array_uget_borrowed(v_as_15734_, v_i_15735_); -v_toDefView_15739_ = lean_ctor_get(v___x_15738_, 0); -v_modifiers_15740_ = lean_ctor_get(v_toDefView_15739_, 2); -v___x_15741_ = l_Lean_Elab_Modifiers_isPartial(v_modifiers_15740_); -if (v___x_15741_ == 0) +lean_object* v___x_15745_; lean_object* v_toDefView_15746_; uint8_t v_kind_15747_; uint8_t v___x_15748_; +v___x_15745_ = lean_array_uget_borrowed(v_as_15741_, v_i_15742_); +v_toDefView_15746_ = lean_ctor_get(v___x_15745_, 0); +v_kind_15747_ = lean_ctor_get_uint8(v_toDefView_15746_, sizeof(void*)*10); +v___x_15748_ = l_Lean_Elab_DefKind_isTheorem(v_kind_15747_); +if (v___x_15748_ == 0) { -size_t v___x_15742_; size_t v___x_15743_; -v___x_15742_ = ((size_t)1ULL); -v___x_15743_ = lean_usize_add(v_i_15735_, v___x_15742_); -v_i_15735_ = v___x_15743_; +size_t v___x_15749_; size_t v___x_15750_; +v___x_15749_ = ((size_t)1ULL); +v___x_15750_ = lean_usize_add(v_i_15742_, v___x_15749_); +v_i_15742_ = v___x_15750_; goto _start; } else { -return v___x_15741_; +return v___x_15748_; } } else { -uint8_t v___x_15745_; -v___x_15745_ = 0; -return v___x_15745_; +uint8_t v___x_15752_; +v___x_15752_ = 0; +return v___x_15752_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1___boxed(lean_object* v_as_15746_, lean_object* v_i_15747_, lean_object* v_stop_15748_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0___boxed(lean_object* v_as_15753_, lean_object* v_i_15754_, lean_object* v_stop_15755_){ _start: { -size_t v_i_boxed_15749_; size_t v_stop_boxed_15750_; uint8_t v_res_15751_; lean_object* v_r_15752_; -v_i_boxed_15749_ = lean_unbox_usize(v_i_15747_); -lean_dec(v_i_15747_); -v_stop_boxed_15750_ = lean_unbox_usize(v_stop_15748_); -lean_dec(v_stop_15748_); -v_res_15751_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(v_as_15746_, v_i_boxed_15749_, v_stop_boxed_15750_); -lean_dec_ref(v_as_15746_); -v_r_15752_ = lean_box(v_res_15751_); -return v_r_15752_; +size_t v_i_boxed_15756_; size_t v_stop_boxed_15757_; uint8_t v_res_15758_; lean_object* v_r_15759_; +v_i_boxed_15756_ = lean_unbox_usize(v_i_15754_); +lean_dec(v_i_15754_); +v_stop_boxed_15757_ = lean_unbox_usize(v_stop_15755_); +lean_dec(v_stop_15755_); +v_res_15758_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_as_15753_, v_i_boxed_15756_, v_stop_boxed_15757_); +lean_dec_ref(v_as_15753_); +v_r_15759_ = lean_box(v_res_15758_); +return v_r_15759_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(lean_object* v_as_15753_, size_t v_i_15754_, size_t v_stop_15755_){ +LEAN_EXPORT uint8_t l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(lean_object* v_mainHeaders_15760_){ _start: { -uint8_t v___x_15756_; -v___x_15756_ = lean_usize_dec_eq(v_i_15754_, v_stop_15755_); -if (v___x_15756_ == 0) -{ -lean_object* v___x_15757_; lean_object* v_toDefView_15758_; lean_object* v_modifiers_15759_; uint8_t v___x_15760_; -v___x_15757_ = lean_array_uget_borrowed(v_as_15753_, v_i_15754_); -v_toDefView_15758_ = lean_ctor_get(v___x_15757_, 0); -v_modifiers_15759_ = lean_ctor_get(v_toDefView_15758_, 2); -v___x_15760_ = l_Lean_Elab_Modifiers_isNoncomputable(v_modifiers_15759_); -if (v___x_15760_ == 0) -{ -size_t v___x_15761_; size_t v___x_15762_; -v___x_15761_ = ((size_t)1ULL); -v___x_15762_ = lean_usize_add(v_i_15754_, v___x_15761_); -v_i_15754_ = v___x_15762_; -goto _start; -} -else -{ -return v___x_15760_; -} -} -else +lean_object* v___x_15761_; lean_object* v___x_15762_; uint8_t v___x_15763_; +v___x_15761_ = lean_unsigned_to_nat(0u); +v___x_15762_ = lean_array_get_size(v_mainHeaders_15760_); +v___x_15763_ = lean_nat_dec_lt(v___x_15761_, v___x_15762_); +if (v___x_15763_ == 0) { uint8_t v___x_15764_; v___x_15764_ = 0; return v___x_15764_; } +else +{ +if (v___x_15763_ == 0) +{ +uint8_t v___x_15765_; +v___x_15765_ = 0; +return v___x_15765_; +} +else +{ +size_t v___x_15766_; size_t v___x_15767_; uint8_t v___x_15768_; +v___x_15766_ = ((size_t)0ULL); +v___x_15767_ = lean_usize_of_nat(v___x_15762_); +v___x_15768_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_mainHeaders_15760_, v___x_15766_, v___x_15767_); +if (v___x_15768_ == 0) +{ +uint8_t v___x_15769_; +v___x_15769_ = 0; +return v___x_15769_; +} +else +{ +uint8_t v___x_15770_; +v___x_15770_ = 2; +return v___x_15770_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3___boxed(lean_object* v_as_15765_, lean_object* v_i_15766_, lean_object* v_stop_15767_){ +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getKindForLetRecs___boxed(lean_object* v_mainHeaders_15771_){ _start: { -size_t v_i_boxed_15768_; size_t v_stop_boxed_15769_; uint8_t v_res_15770_; lean_object* v_r_15771_; -v_i_boxed_15768_ = lean_unbox_usize(v_i_15766_); -lean_dec(v_i_15766_); -v_stop_boxed_15769_ = lean_unbox_usize(v_stop_15767_); -lean_dec(v_stop_15767_); -v_res_15770_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(v_as_15765_, v_i_boxed_15768_, v_stop_boxed_15769_); -lean_dec_ref(v_as_15765_); -v_r_15771_ = lean_box(v_res_15770_); -return v_r_15771_; +uint8_t v_res_15772_; lean_object* v_r_15773_; +v_res_15772_ = l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(v_mainHeaders_15771_); +lean_dec_ref(v_mainHeaders_15771_); +v_r_15773_ = lean_box(v_res_15772_); +return v_r_15773_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(lean_object* v_as_15772_, size_t v_i_15773_, size_t v_stop_15774_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(lean_object* v_as_15774_, size_t v_i_15775_, size_t v_stop_15776_){ _start: { -uint8_t v___x_15775_; -v___x_15775_ = lean_usize_dec_eq(v_i_15773_, v_stop_15774_); -if (v___x_15775_ == 0) +uint8_t v___x_15777_; +v___x_15777_ = lean_usize_dec_eq(v_i_15775_, v_stop_15776_); +if (v___x_15777_ == 0) { -lean_object* v___x_15776_; lean_object* v_toDefView_15777_; lean_object* v_modifiers_15778_; uint8_t v___x_15779_; -v___x_15776_ = lean_array_uget_borrowed(v_as_15772_, v_i_15773_); -v_toDefView_15777_ = lean_ctor_get(v___x_15776_, 0); -v_modifiers_15778_ = lean_ctor_get(v_toDefView_15777_, 2); -v___x_15779_ = l_Lean_Elab_Modifiers_isMeta(v_modifiers_15778_); -if (v___x_15779_ == 0) +lean_object* v___x_15778_; lean_object* v_toDefView_15779_; lean_object* v_modifiers_15780_; uint8_t v___x_15781_; +v___x_15778_ = lean_array_uget_borrowed(v_as_15774_, v_i_15775_); +v_toDefView_15779_ = lean_ctor_get(v___x_15778_, 0); +v_modifiers_15780_ = lean_ctor_get(v_toDefView_15779_, 2); +v___x_15781_ = l_Lean_Elab_Modifiers_isPartial(v_modifiers_15780_); +if (v___x_15781_ == 0) { -size_t v___x_15780_; size_t v___x_15781_; -v___x_15780_ = ((size_t)1ULL); -v___x_15781_ = lean_usize_add(v_i_15773_, v___x_15780_); -v_i_15773_ = v___x_15781_; +size_t v___x_15782_; size_t v___x_15783_; +v___x_15782_ = ((size_t)1ULL); +v___x_15783_ = lean_usize_add(v_i_15775_, v___x_15782_); +v_i_15775_ = v___x_15783_; goto _start; } else { -return v___x_15779_; +return v___x_15781_; } } else { -uint8_t v___x_15783_; -v___x_15783_ = 0; -return v___x_15783_; +uint8_t v___x_15785_; +v___x_15785_ = 0; +return v___x_15785_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2___boxed(lean_object* v_as_15784_, lean_object* v_i_15785_, lean_object* v_stop_15786_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1___boxed(lean_object* v_as_15786_, lean_object* v_i_15787_, lean_object* v_stop_15788_){ _start: { -size_t v_i_boxed_15787_; size_t v_stop_boxed_15788_; uint8_t v_res_15789_; lean_object* v_r_15790_; -v_i_boxed_15787_ = lean_unbox_usize(v_i_15785_); -lean_dec(v_i_15785_); -v_stop_boxed_15788_ = lean_unbox_usize(v_stop_15786_); -lean_dec(v_stop_15786_); -v_res_15789_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(v_as_15784_, v_i_boxed_15787_, v_stop_boxed_15788_); -lean_dec_ref(v_as_15784_); -v_r_15790_ = lean_box(v_res_15789_); -return v_r_15790_; +size_t v_i_boxed_15789_; size_t v_stop_boxed_15790_; uint8_t v_res_15791_; lean_object* v_r_15792_; +v_i_boxed_15789_ = lean_unbox_usize(v_i_15787_); +lean_dec(v_i_15787_); +v_stop_boxed_15790_ = lean_unbox_usize(v_stop_15788_); +lean_dec(v_stop_15788_); +v_res_15791_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(v_as_15786_, v_i_boxed_15789_, v_stop_boxed_15790_); +lean_dec_ref(v_as_15786_); +v_r_15792_ = lean_box(v_res_15791_); +return v_r_15792_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(lean_object* v_as_15791_, size_t v_i_15792_, size_t v_stop_15793_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(lean_object* v_as_15793_, size_t v_i_15794_, size_t v_stop_15795_){ _start: { -uint8_t v___x_15794_; -v___x_15794_ = lean_usize_dec_eq(v_i_15792_, v_stop_15793_); -if (v___x_15794_ == 0) +uint8_t v___x_15796_; +v___x_15796_ = lean_usize_dec_eq(v_i_15794_, v_stop_15795_); +if (v___x_15796_ == 0) { -lean_object* v___x_15795_; lean_object* v_toDefView_15796_; lean_object* v_modifiers_15797_; uint8_t v_isUnsafe_15798_; -v___x_15795_ = lean_array_uget_borrowed(v_as_15791_, v_i_15792_); -v_toDefView_15796_ = lean_ctor_get(v___x_15795_, 0); -v_modifiers_15797_ = lean_ctor_get(v_toDefView_15796_, 2); -v_isUnsafe_15798_ = lean_ctor_get_uint8(v_modifiers_15797_, sizeof(void*)*3 + 4); -if (v_isUnsafe_15798_ == 0) +lean_object* v___x_15797_; lean_object* v_toDefView_15798_; lean_object* v_modifiers_15799_; uint8_t v___x_15800_; +v___x_15797_ = lean_array_uget_borrowed(v_as_15793_, v_i_15794_); +v_toDefView_15798_ = lean_ctor_get(v___x_15797_, 0); +v_modifiers_15799_ = lean_ctor_get(v_toDefView_15798_, 2); +v___x_15800_ = l_Lean_Elab_Modifiers_isNoncomputable(v_modifiers_15799_); +if (v___x_15800_ == 0) { -size_t v___x_15799_; size_t v___x_15800_; -v___x_15799_ = ((size_t)1ULL); -v___x_15800_ = lean_usize_add(v_i_15792_, v___x_15799_); -v_i_15792_ = v___x_15800_; +size_t v___x_15801_; size_t v___x_15802_; +v___x_15801_ = ((size_t)1ULL); +v___x_15802_ = lean_usize_add(v_i_15794_, v___x_15801_); +v_i_15794_ = v___x_15802_; goto _start; } else { -return v_isUnsafe_15798_; +return v___x_15800_; } } else { -uint8_t v___x_15802_; -v___x_15802_ = 0; -return v___x_15802_; +uint8_t v___x_15804_; +v___x_15804_ = 0; +return v___x_15804_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0___boxed(lean_object* v_as_15803_, lean_object* v_i_15804_, lean_object* v_stop_15805_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3___boxed(lean_object* v_as_15805_, lean_object* v_i_15806_, lean_object* v_stop_15807_){ _start: { -size_t v_i_boxed_15806_; size_t v_stop_boxed_15807_; uint8_t v_res_15808_; lean_object* v_r_15809_; -v_i_boxed_15806_ = lean_unbox_usize(v_i_15804_); -lean_dec(v_i_15804_); -v_stop_boxed_15807_ = lean_unbox_usize(v_stop_15805_); -lean_dec(v_stop_15805_); -v_res_15808_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(v_as_15803_, v_i_boxed_15806_, v_stop_boxed_15807_); -lean_dec_ref(v_as_15803_); -v_r_15809_ = lean_box(v_res_15808_); -return v_r_15809_; +size_t v_i_boxed_15808_; size_t v_stop_boxed_15809_; uint8_t v_res_15810_; lean_object* v_r_15811_; +v_i_boxed_15808_ = lean_unbox_usize(v_i_15806_); +lean_dec(v_i_15806_); +v_stop_boxed_15809_ = lean_unbox_usize(v_stop_15807_); +lean_dec(v_stop_15807_); +v_res_15810_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(v_as_15805_, v_i_boxed_15808_, v_stop_boxed_15809_); +lean_dec_ref(v_as_15805_); +v_r_15811_ = lean_box(v_res_15810_); +return v_r_15811_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(lean_object* v_mainHeaders_15812_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(lean_object* v_as_15812_, size_t v_i_15813_, size_t v_stop_15814_){ _start: { -lean_object* v___x_15813_; lean_object* v___x_15814_; uint8_t v___x_15815_; uint8_t v___x_15816_; lean_object* v___x_15817_; uint8_t v___y_15819_; uint8_t v___y_15820_; uint8_t v___y_15821_; lean_object* v___x_15824_; uint8_t v___y_15826_; uint8_t v___y_15827_; uint8_t v___y_15833_; uint8_t v___y_15836_; uint8_t v___x_15850_; -v___x_15813_ = lean_box(0); -v___x_15814_ = lean_box(0); -v___x_15815_ = 0; -v___x_15816_ = 0; -v___x_15817_ = lean_unsigned_to_nat(0u); -v___x_15824_ = lean_array_get_size(v_mainHeaders_15812_); -v___x_15850_ = lean_nat_dec_lt(v___x_15817_, v___x_15824_); -if (v___x_15850_ == 0) +uint8_t v___x_15815_; +v___x_15815_ = lean_usize_dec_eq(v_i_15813_, v_stop_15814_); +if (v___x_15815_ == 0) { -goto v___jp_15844_; +lean_object* v___x_15816_; lean_object* v_toDefView_15817_; lean_object* v_modifiers_15818_; uint8_t v___x_15819_; +v___x_15816_ = lean_array_uget_borrowed(v_as_15812_, v_i_15813_); +v_toDefView_15817_ = lean_ctor_get(v___x_15816_, 0); +v_modifiers_15818_ = lean_ctor_get(v_toDefView_15817_, 2); +v___x_15819_ = l_Lean_Elab_Modifiers_isMeta(v_modifiers_15818_); +if (v___x_15819_ == 0) +{ +size_t v___x_15820_; size_t v___x_15821_; +v___x_15820_ = ((size_t)1ULL); +v___x_15821_ = lean_usize_add(v_i_15813_, v___x_15820_); +v_i_15813_ = v___x_15821_; +goto _start; } else { -if (v___x_15850_ == 0) -{ -goto v___jp_15844_; +return v___x_15819_; +} } else { -size_t v___x_15851_; size_t v___x_15852_; uint8_t v___x_15853_; -v___x_15851_ = ((size_t)0ULL); -v___x_15852_ = lean_usize_of_nat(v___x_15824_); -v___x_15853_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(v_mainHeaders_15812_, v___x_15851_, v___x_15852_); -if (v___x_15853_ == 0) -{ -goto v___jp_15844_; -} -else -{ -uint8_t v___x_15854_; -v___x_15854_ = 2; -v___y_15836_ = v___x_15854_; -goto v___jp_15835_; -} -} -} -v___jp_15818_: -{ -lean_object* v___x_15822_; lean_object* v___x_15823_; -v___x_15822_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); -v___x_15823_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v___x_15823_, 0, v___x_15813_); -lean_ctor_set(v___x_15823_, 1, v___x_15814_); -lean_ctor_set(v___x_15823_, 2, v___x_15822_); -lean_ctor_set_uint8(v___x_15823_, sizeof(void*)*3, v___x_15815_); -lean_ctor_set_uint8(v___x_15823_, sizeof(void*)*3 + 1, v___x_15816_); -lean_ctor_set_uint8(v___x_15823_, sizeof(void*)*3 + 2, v___y_15820_); -lean_ctor_set_uint8(v___x_15823_, sizeof(void*)*3 + 3, v___y_15819_); -lean_ctor_set_uint8(v___x_15823_, sizeof(void*)*3 + 4, v___y_15821_); +uint8_t v___x_15823_; +v___x_15823_ = 0; return v___x_15823_; } -v___jp_15825_: -{ -uint8_t v___x_15828_; -v___x_15828_ = lean_nat_dec_lt(v___x_15817_, v___x_15824_); -if (v___x_15828_ == 0) -{ -v___y_15819_ = v___y_15827_; -v___y_15820_ = v___y_15826_; -v___y_15821_ = v___x_15816_; -goto v___jp_15818_; -} -else -{ -if (v___x_15828_ == 0) -{ -v___y_15819_ = v___y_15827_; -v___y_15820_ = v___y_15826_; -v___y_15821_ = v___x_15816_; -goto v___jp_15818_; -} -else -{ -size_t v___x_15829_; size_t v___x_15830_; uint8_t v___x_15831_; -v___x_15829_ = ((size_t)0ULL); -v___x_15830_ = lean_usize_of_nat(v___x_15824_); -v___x_15831_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(v_mainHeaders_15812_, v___x_15829_, v___x_15830_); -v___y_15819_ = v___y_15827_; -v___y_15820_ = v___y_15826_; -v___y_15821_ = v___x_15831_; -goto v___jp_15818_; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2___boxed(lean_object* v_as_15824_, lean_object* v_i_15825_, lean_object* v_stop_15826_){ +_start: +{ +size_t v_i_boxed_15827_; size_t v_stop_boxed_15828_; uint8_t v_res_15829_; lean_object* v_r_15830_; +v_i_boxed_15827_ = lean_unbox_usize(v_i_15825_); +lean_dec(v_i_15825_); +v_stop_boxed_15828_ = lean_unbox_usize(v_stop_15826_); +lean_dec(v_stop_15826_); +v_res_15829_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(v_as_15824_, v_i_boxed_15827_, v_stop_boxed_15828_); +lean_dec_ref(v_as_15824_); +v_r_15830_ = lean_box(v_res_15829_); +return v_r_15830_; } -v___jp_15832_: +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(lean_object* v_as_15831_, size_t v_i_15832_, size_t v_stop_15833_){ +_start: { uint8_t v___x_15834_; -v___x_15834_ = 2; -v___y_15826_ = v___y_15833_; -v___y_15827_ = v___x_15834_; -goto v___jp_15825_; -} -v___jp_15835_: +v___x_15834_ = lean_usize_dec_eq(v_i_15832_, v_stop_15833_); +if (v___x_15834_ == 0) { -uint8_t v___x_15837_; -v___x_15837_ = lean_nat_dec_lt(v___x_15817_, v___x_15824_); -if (v___x_15837_ == 0) +lean_object* v___x_15835_; lean_object* v_toDefView_15836_; lean_object* v_modifiers_15837_; uint8_t v_isUnsafe_15838_; +v___x_15835_ = lean_array_uget_borrowed(v_as_15831_, v_i_15832_); +v_toDefView_15836_ = lean_ctor_get(v___x_15835_, 0); +v_modifiers_15837_ = lean_ctor_get(v_toDefView_15836_, 2); +v_isUnsafe_15838_ = lean_ctor_get_uint8(v_modifiers_15837_, sizeof(void*)*3 + 4); +if (v_isUnsafe_15838_ == 0) { -v___y_15833_ = v___y_15836_; -goto v___jp_15832_; -} -else -{ -if (v___x_15837_ == 0) -{ -v___y_15833_ = v___y_15836_; -goto v___jp_15832_; -} -else -{ -size_t v___x_15838_; size_t v___x_15839_; uint8_t v___x_15840_; -v___x_15838_ = ((size_t)0ULL); -v___x_15839_ = lean_usize_of_nat(v___x_15824_); -v___x_15840_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(v_mainHeaders_15812_, v___x_15838_, v___x_15839_); -if (v___x_15840_ == 0) -{ -v___y_15833_ = v___y_15836_; -goto v___jp_15832_; -} -else -{ -uint8_t v___x_15841_; -v___x_15841_ = 0; -v___y_15826_ = v___y_15836_; -v___y_15827_ = v___x_15841_; -goto v___jp_15825_; -} -} -} -} -v___jp_15842_: -{ -uint8_t v___x_15843_; -v___x_15843_ = 0; -v___y_15836_ = v___x_15843_; -goto v___jp_15835_; -} -v___jp_15844_: -{ -uint8_t v___x_15845_; -v___x_15845_ = lean_nat_dec_lt(v___x_15817_, v___x_15824_); -if (v___x_15845_ == 0) -{ -goto v___jp_15842_; -} -else -{ -if (v___x_15845_ == 0) -{ -goto v___jp_15842_; -} -else -{ -size_t v___x_15846_; size_t v___x_15847_; uint8_t v___x_15848_; -v___x_15846_ = ((size_t)0ULL); -v___x_15847_ = lean_usize_of_nat(v___x_15824_); -v___x_15848_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(v_mainHeaders_15812_, v___x_15846_, v___x_15847_); -if (v___x_15848_ == 0) -{ -goto v___jp_15842_; -} -else -{ -uint8_t v___x_15849_; -v___x_15849_ = 1; -v___y_15836_ = v___x_15849_; -goto v___jp_15835_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___boxed(lean_object* v_mainHeaders_15855_){ -_start: -{ -lean_object* v_res_15856_; -v_res_15856_ = l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(v_mainHeaders_15855_); -lean_dec_ref(v_mainHeaders_15855_); -return v_res_15856_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__0(lean_object* v_a_15857_, lean_object* v_zetaDeltaFVarIds_15858_, lean_object* v_a_x3f_15859_){ -_start: -{ -lean_object* v___x_15861_; lean_object* v_mctx_15862_; lean_object* v_cache_15863_; lean_object* v_postponed_15864_; lean_object* v_diag_15865_; lean_object* v___x_15867_; uint8_t v_isShared_15868_; uint8_t v_isSharedCheck_15875_; -v___x_15861_ = lean_st_ref_take(v_a_15857_); -v_mctx_15862_ = lean_ctor_get(v___x_15861_, 0); -v_cache_15863_ = lean_ctor_get(v___x_15861_, 1); -v_postponed_15864_ = lean_ctor_get(v___x_15861_, 3); -v_diag_15865_ = lean_ctor_get(v___x_15861_, 4); -v_isSharedCheck_15875_ = !lean_is_exclusive(v___x_15861_); -if (v_isSharedCheck_15875_ == 0) -{ -lean_object* v_unused_15876_; -v_unused_15876_ = lean_ctor_get(v___x_15861_, 2); -lean_dec(v_unused_15876_); -v___x_15867_ = v___x_15861_; -v_isShared_15868_ = v_isSharedCheck_15875_; -goto v_resetjp_15866_; -} -else -{ -lean_inc(v_diag_15865_); -lean_inc(v_postponed_15864_); -lean_inc(v_cache_15863_); -lean_inc(v_mctx_15862_); -lean_dec(v___x_15861_); -v___x_15867_ = lean_box(0); -v_isShared_15868_ = v_isSharedCheck_15875_; -goto v_resetjp_15866_; -} -v_resetjp_15866_: -{ -lean_object* v___x_15870_; -if (v_isShared_15868_ == 0) -{ -lean_ctor_set(v___x_15867_, 2, v_zetaDeltaFVarIds_15858_); -v___x_15870_ = v___x_15867_; -goto v_reusejp_15869_; -} -else -{ -lean_object* v_reuseFailAlloc_15874_; -v_reuseFailAlloc_15874_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_15874_, 0, v_mctx_15862_); -lean_ctor_set(v_reuseFailAlloc_15874_, 1, v_cache_15863_); -lean_ctor_set(v_reuseFailAlloc_15874_, 2, v_zetaDeltaFVarIds_15858_); -lean_ctor_set(v_reuseFailAlloc_15874_, 3, v_postponed_15864_); -lean_ctor_set(v_reuseFailAlloc_15874_, 4, v_diag_15865_); -v___x_15870_ = v_reuseFailAlloc_15874_; -goto v_reusejp_15869_; -} -v_reusejp_15869_: -{ -lean_object* v___x_15871_; lean_object* v___x_15872_; lean_object* v___x_15873_; -v___x_15871_ = lean_st_ref_set(v_a_15857_, v___x_15870_); -v___x_15872_ = lean_box(0); -v___x_15873_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15873_, 0, v___x_15872_); -return v___x_15873_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__0___boxed(lean_object* v_a_15877_, lean_object* v_zetaDeltaFVarIds_15878_, lean_object* v_a_x3f_15879_, lean_object* v___y_15880_){ -_start: -{ -lean_object* v_res_15881_; -v_res_15881_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_15877_, v_zetaDeltaFVarIds_15878_, v_a_x3f_15879_); -lean_dec(v_a_x3f_15879_); -lean_dec(v_a_15877_); -return v_res_15881_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__1(lean_object* v_a_15882_, lean_object* v_cache_15883_, lean_object* v_a_x3f_15884_){ -_start: -{ -lean_object* v___x_15886_; lean_object* v_mctx_15887_; lean_object* v_zetaDeltaFVarIds_15888_; lean_object* v_postponed_15889_; lean_object* v_diag_15890_; lean_object* v___x_15892_; uint8_t v_isShared_15893_; uint8_t v_isSharedCheck_15900_; -v___x_15886_ = lean_st_ref_take(v_a_15882_); -v_mctx_15887_ = lean_ctor_get(v___x_15886_, 0); -v_zetaDeltaFVarIds_15888_ = lean_ctor_get(v___x_15886_, 2); -v_postponed_15889_ = lean_ctor_get(v___x_15886_, 3); -v_diag_15890_ = lean_ctor_get(v___x_15886_, 4); -v_isSharedCheck_15900_ = !lean_is_exclusive(v___x_15886_); -if (v_isSharedCheck_15900_ == 0) -{ -lean_object* v_unused_15901_; -v_unused_15901_ = lean_ctor_get(v___x_15886_, 1); -lean_dec(v_unused_15901_); -v___x_15892_ = v___x_15886_; -v_isShared_15893_ = v_isSharedCheck_15900_; -goto v_resetjp_15891_; -} -else -{ -lean_inc(v_diag_15890_); -lean_inc(v_postponed_15889_); -lean_inc(v_zetaDeltaFVarIds_15888_); -lean_inc(v_mctx_15887_); -lean_dec(v___x_15886_); -v___x_15892_ = lean_box(0); -v_isShared_15893_ = v_isSharedCheck_15900_; -goto v_resetjp_15891_; -} -v_resetjp_15891_: -{ -lean_object* v___x_15895_; -if (v_isShared_15893_ == 0) -{ -lean_ctor_set(v___x_15892_, 1, v_cache_15883_); -v___x_15895_ = v___x_15892_; -goto v_reusejp_15894_; -} -else -{ -lean_object* v_reuseFailAlloc_15899_; -v_reuseFailAlloc_15899_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_15899_, 0, v_mctx_15887_); -lean_ctor_set(v_reuseFailAlloc_15899_, 1, v_cache_15883_); -lean_ctor_set(v_reuseFailAlloc_15899_, 2, v_zetaDeltaFVarIds_15888_); -lean_ctor_set(v_reuseFailAlloc_15899_, 3, v_postponed_15889_); -lean_ctor_set(v_reuseFailAlloc_15899_, 4, v_diag_15890_); -v___x_15895_ = v_reuseFailAlloc_15899_; -goto v_reusejp_15894_; -} -v_reusejp_15894_: -{ -lean_object* v___x_15896_; lean_object* v___x_15897_; lean_object* v___x_15898_; -v___x_15896_ = lean_st_ref_set(v_a_15882_, v___x_15895_); -v___x_15897_ = lean_box(0); -v___x_15898_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15898_, 0, v___x_15897_); -return v___x_15898_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__1___boxed(lean_object* v_a_15902_, lean_object* v_cache_15903_, lean_object* v_a_x3f_15904_, lean_object* v___y_15905_){ -_start: -{ -lean_object* v_res_15906_; -v_res_15906_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_15902_, v_cache_15903_, v_a_x3f_15904_); -lean_dec(v_a_x3f_15904_); -lean_dec(v_a_15902_); -return v_res_15906_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(lean_object* v_x_15907_, lean_object* v_x_15908_, lean_object* v___y_15909_, lean_object* v___y_15910_, lean_object* v___y_15911_, lean_object* v___y_15912_){ -_start: -{ -if (lean_obj_tag(v_x_15907_) == 0) -{ -lean_object* v___x_15914_; lean_object* v___x_15915_; -lean_dec(v___y_15912_); -lean_dec_ref(v___y_15911_); -lean_dec(v___y_15910_); -lean_dec_ref(v___y_15909_); -v___x_15914_ = l_List_reverse___redArg(v_x_15908_); -v___x_15915_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15915_, 0, v___x_15914_); -return v___x_15915_; -} -else -{ -lean_object* v_head_15916_; lean_object* v_tail_15917_; lean_object* v___x_15919_; uint8_t v_isShared_15920_; uint8_t v_isSharedCheck_15946_; -v_head_15916_ = lean_ctor_get(v_x_15907_, 0); -v_tail_15917_ = lean_ctor_get(v_x_15907_, 1); -v_isSharedCheck_15946_ = !lean_is_exclusive(v_x_15907_); -if (v_isSharedCheck_15946_ == 0) -{ -v___x_15919_ = v_x_15907_; -v_isShared_15920_ = v_isSharedCheck_15946_; -goto v_resetjp_15918_; -} -else -{ -lean_inc(v_tail_15917_); -lean_inc(v_head_15916_); -lean_dec(v_x_15907_); -v___x_15919_ = lean_box(0); -v_isShared_15920_ = v_isSharedCheck_15946_; -goto v_resetjp_15918_; -} -v_resetjp_15918_: -{ -lean_object* v_ref_15921_; lean_object* v_localDecls_15922_; lean_object* v_closed_15923_; lean_object* v_toLift_15924_; lean_object* v___x_15926_; uint8_t v_isShared_15927_; uint8_t v_isSharedCheck_15945_; -v_ref_15921_ = lean_ctor_get(v_head_15916_, 0); -v_localDecls_15922_ = lean_ctor_get(v_head_15916_, 1); -v_closed_15923_ = lean_ctor_get(v_head_15916_, 2); -v_toLift_15924_ = lean_ctor_get(v_head_15916_, 3); -v_isSharedCheck_15945_ = !lean_is_exclusive(v_head_15916_); -if (v_isSharedCheck_15945_ == 0) -{ -v___x_15926_ = v_head_15916_; -v_isShared_15927_ = v_isSharedCheck_15945_; -goto v_resetjp_15925_; -} -else -{ -lean_inc(v_toLift_15924_); -lean_inc(v_closed_15923_); -lean_inc(v_localDecls_15922_); -lean_inc(v_ref_15921_); -lean_dec(v_head_15916_); -v___x_15926_ = lean_box(0); -v_isShared_15927_ = v_isSharedCheck_15945_; -goto v_resetjp_15925_; -} -v_resetjp_15925_: -{ -lean_object* v___x_15928_; -lean_inc(v___y_15912_); -lean_inc_ref(v___y_15911_); -lean_inc(v___y_15910_); -lean_inc_ref(v___y_15909_); -v___x_15928_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___redArg(v_toLift_15924_, v___y_15909_, v___y_15910_, v___y_15911_, v___y_15912_); -if (lean_obj_tag(v___x_15928_) == 0) -{ -lean_object* v_a_15929_; lean_object* v___x_15931_; -v_a_15929_ = lean_ctor_get(v___x_15928_, 0); -lean_inc(v_a_15929_); -lean_dec_ref(v___x_15928_); -if (v_isShared_15927_ == 0) -{ -lean_ctor_set(v___x_15926_, 3, v_a_15929_); -v___x_15931_ = v___x_15926_; -goto v_reusejp_15930_; -} -else -{ -lean_object* v_reuseFailAlloc_15936_; -v_reuseFailAlloc_15936_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_15936_, 0, v_ref_15921_); -lean_ctor_set(v_reuseFailAlloc_15936_, 1, v_localDecls_15922_); -lean_ctor_set(v_reuseFailAlloc_15936_, 2, v_closed_15923_); -lean_ctor_set(v_reuseFailAlloc_15936_, 3, v_a_15929_); -v___x_15931_ = v_reuseFailAlloc_15936_; -goto v_reusejp_15930_; -} -v_reusejp_15930_: -{ -lean_object* v___x_15933_; -if (v_isShared_15920_ == 0) -{ -lean_ctor_set(v___x_15919_, 1, v_x_15908_); -lean_ctor_set(v___x_15919_, 0, v___x_15931_); -v___x_15933_ = v___x_15919_; -goto v_reusejp_15932_; -} -else -{ -lean_object* v_reuseFailAlloc_15935_; -v_reuseFailAlloc_15935_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15935_, 0, v___x_15931_); -lean_ctor_set(v_reuseFailAlloc_15935_, 1, v_x_15908_); -v___x_15933_ = v_reuseFailAlloc_15935_; -goto v_reusejp_15932_; -} -v_reusejp_15932_: -{ -v_x_15907_ = v_tail_15917_; -v_x_15908_ = v___x_15933_; +size_t v___x_15839_; size_t v___x_15840_; +v___x_15839_ = ((size_t)1ULL); +v___x_15840_ = lean_usize_add(v_i_15832_, v___x_15839_); +v_i_15832_ = v___x_15840_; goto _start; } +else +{ +return v_isUnsafe_15838_; } } else { -lean_object* v_a_15937_; lean_object* v___x_15939_; uint8_t v_isShared_15940_; uint8_t v_isSharedCheck_15944_; -lean_del_object(v___x_15926_); -lean_dec_ref(v_closed_15923_); -lean_dec_ref(v_localDecls_15922_); -lean_dec(v_ref_15921_); -lean_del_object(v___x_15919_); -lean_dec(v_tail_15917_); -lean_dec(v___y_15912_); -lean_dec_ref(v___y_15911_); -lean_dec(v___y_15910_); -lean_dec_ref(v___y_15909_); -lean_dec(v_x_15908_); -v_a_15937_ = lean_ctor_get(v___x_15928_, 0); -v_isSharedCheck_15944_ = !lean_is_exclusive(v___x_15928_); -if (v_isSharedCheck_15944_ == 0) -{ -v___x_15939_ = v___x_15928_; -v_isShared_15940_ = v_isSharedCheck_15944_; -goto v_resetjp_15938_; -} -else -{ -lean_inc(v_a_15937_); -lean_dec(v___x_15928_); -v___x_15939_ = lean_box(0); -v_isShared_15940_ = v_isSharedCheck_15944_; -goto v_resetjp_15938_; -} -v_resetjp_15938_: -{ -lean_object* v___x_15942_; -if (v_isShared_15940_ == 0) -{ -v___x_15942_ = v___x_15939_; -goto v_reusejp_15941_; -} -else -{ -lean_object* v_reuseFailAlloc_15943_; -v_reuseFailAlloc_15943_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15943_, 0, v_a_15937_); -v___x_15942_ = v_reuseFailAlloc_15943_; -goto v_reusejp_15941_; -} -v_reusejp_15941_: -{ -return v___x_15942_; +uint8_t v___x_15842_; +v___x_15842_ = 0; +return v___x_15842_; } } } -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg___boxed(lean_object* v_x_15947_, lean_object* v_x_15948_, lean_object* v___y_15949_, lean_object* v___y_15950_, lean_object* v___y_15951_, lean_object* v___y_15952_, lean_object* v___y_15953_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0___boxed(lean_object* v_as_15843_, lean_object* v_i_15844_, lean_object* v_stop_15845_){ _start: { -lean_object* v_res_15954_; -v_res_15954_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_x_15947_, v_x_15948_, v___y_15949_, v___y_15950_, v___y_15951_, v___y_15952_); -return v_res_15954_; +size_t v_i_boxed_15846_; size_t v_stop_boxed_15847_; uint8_t v_res_15848_; lean_object* v_r_15849_; +v_i_boxed_15846_ = lean_unbox_usize(v_i_15844_); +lean_dec(v_i_15844_); +v_stop_boxed_15847_ = lean_unbox_usize(v_stop_15845_); +lean_dec(v_stop_15845_); +v_res_15848_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(v_as_15843_, v_i_boxed_15846_, v_stop_boxed_15847_); +lean_dec_ref(v_as_15843_); +v_r_15849_ = lean_box(v_res_15848_); +return v_r_15849_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(lean_object* v___x_15955_, size_t v_sz_15956_, size_t v_i_15957_, lean_object* v_bs_15958_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(lean_object* v_mainHeaders_15852_){ _start: { -uint8_t v___x_15959_; -v___x_15959_ = lean_usize_dec_lt(v_i_15957_, v_sz_15956_); -if (v___x_15959_ == 0) +lean_object* v___x_15853_; lean_object* v___x_15854_; uint8_t v___x_15855_; uint8_t v___x_15856_; lean_object* v___x_15857_; uint8_t v___y_15859_; uint8_t v___y_15860_; uint8_t v___y_15861_; lean_object* v___x_15864_; uint8_t v___y_15866_; uint8_t v___y_15867_; uint8_t v___y_15873_; uint8_t v___y_15876_; uint8_t v___x_15890_; +v___x_15853_ = lean_box(0); +v___x_15854_ = lean_box(0); +v___x_15855_ = 0; +v___x_15856_ = 0; +v___x_15857_ = lean_unsigned_to_nat(0u); +v___x_15864_ = lean_array_get_size(v_mainHeaders_15852_); +v___x_15890_ = lean_nat_dec_lt(v___x_15857_, v___x_15864_); +if (v___x_15890_ == 0) { -lean_dec(v___x_15955_); -return v_bs_15958_; +goto v___jp_15884_; } else { -lean_object* v_v_15960_; lean_object* v_toDefViewElabHeaderData_15961_; lean_object* v_toDefView_15962_; lean_object* v_tacSnap_x3f_15963_; lean_object* v_bodySnap_x3f_15964_; lean_object* v___x_15966_; uint8_t v_isShared_15967_; uint8_t v_isSharedCheck_15991_; -v_v_15960_ = lean_array_uget(v_bs_15958_, v_i_15957_); -v_toDefViewElabHeaderData_15961_ = lean_ctor_get(v_v_15960_, 1); -v_toDefView_15962_ = lean_ctor_get(v_v_15960_, 0); -v_tacSnap_x3f_15963_ = lean_ctor_get(v_v_15960_, 2); -v_bodySnap_x3f_15964_ = lean_ctor_get(v_v_15960_, 3); -v_isSharedCheck_15991_ = !lean_is_exclusive(v_v_15960_); -if (v_isSharedCheck_15991_ == 0) +if (v___x_15890_ == 0) { -v___x_15966_ = v_v_15960_; -v_isShared_15967_ = v_isSharedCheck_15991_; +goto v___jp_15884_; +} +else +{ +size_t v___x_15891_; size_t v___x_15892_; uint8_t v___x_15893_; +v___x_15891_ = ((size_t)0ULL); +v___x_15892_ = lean_usize_of_nat(v___x_15864_); +v___x_15893_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__3(v_mainHeaders_15852_, v___x_15891_, v___x_15892_); +if (v___x_15893_ == 0) +{ +goto v___jp_15884_; +} +else +{ +uint8_t v___x_15894_; +v___x_15894_ = 2; +v___y_15876_ = v___x_15894_; +goto v___jp_15875_; +} +} +} +v___jp_15858_: +{ +lean_object* v___x_15862_; lean_object* v___x_15863_; +v___x_15862_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); +v___x_15863_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v___x_15863_, 0, v___x_15853_); +lean_ctor_set(v___x_15863_, 1, v___x_15854_); +lean_ctor_set(v___x_15863_, 2, v___x_15862_); +lean_ctor_set_uint8(v___x_15863_, sizeof(void*)*3, v___x_15855_); +lean_ctor_set_uint8(v___x_15863_, sizeof(void*)*3 + 1, v___x_15856_); +lean_ctor_set_uint8(v___x_15863_, sizeof(void*)*3 + 2, v___y_15860_); +lean_ctor_set_uint8(v___x_15863_, sizeof(void*)*3 + 3, v___y_15859_); +lean_ctor_set_uint8(v___x_15863_, sizeof(void*)*3 + 4, v___y_15861_); +return v___x_15863_; +} +v___jp_15865_: +{ +uint8_t v___x_15868_; +v___x_15868_ = lean_nat_dec_lt(v___x_15857_, v___x_15864_); +if (v___x_15868_ == 0) +{ +v___y_15859_ = v___y_15867_; +v___y_15860_ = v___y_15866_; +v___y_15861_ = v___x_15856_; +goto v___jp_15858_; +} +else +{ +if (v___x_15868_ == 0) +{ +v___y_15859_ = v___y_15867_; +v___y_15860_ = v___y_15866_; +v___y_15861_ = v___x_15856_; +goto v___jp_15858_; +} +else +{ +size_t v___x_15869_; size_t v___x_15870_; uint8_t v___x_15871_; +v___x_15869_ = ((size_t)0ULL); +v___x_15870_ = lean_usize_of_nat(v___x_15864_); +v___x_15871_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__0(v_mainHeaders_15852_, v___x_15869_, v___x_15870_); +v___y_15859_ = v___y_15867_; +v___y_15860_ = v___y_15866_; +v___y_15861_ = v___x_15871_; +goto v___jp_15858_; +} +} +} +v___jp_15872_: +{ +uint8_t v___x_15874_; +v___x_15874_ = 2; +v___y_15866_ = v___y_15873_; +v___y_15867_ = v___x_15874_; +goto v___jp_15865_; +} +v___jp_15875_: +{ +uint8_t v___x_15877_; +v___x_15877_ = lean_nat_dec_lt(v___x_15857_, v___x_15864_); +if (v___x_15877_ == 0) +{ +v___y_15873_ = v___y_15876_; +goto v___jp_15872_; +} +else +{ +if (v___x_15877_ == 0) +{ +v___y_15873_ = v___y_15876_; +goto v___jp_15872_; +} +else +{ +size_t v___x_15878_; size_t v___x_15879_; uint8_t v___x_15880_; +v___x_15878_ = ((size_t)0ULL); +v___x_15879_ = lean_usize_of_nat(v___x_15864_); +v___x_15880_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__1(v_mainHeaders_15852_, v___x_15878_, v___x_15879_); +if (v___x_15880_ == 0) +{ +v___y_15873_ = v___y_15876_; +goto v___jp_15872_; +} +else +{ +uint8_t v___x_15881_; +v___x_15881_ = 0; +v___y_15866_ = v___y_15876_; +v___y_15867_ = v___x_15881_; +goto v___jp_15865_; +} +} +} +} +v___jp_15882_: +{ +uint8_t v___x_15883_; +v___x_15883_ = 0; +v___y_15876_ = v___x_15883_; +goto v___jp_15875_; +} +v___jp_15884_: +{ +uint8_t v___x_15885_; +v___x_15885_ = lean_nat_dec_lt(v___x_15857_, v___x_15864_); +if (v___x_15885_ == 0) +{ +goto v___jp_15882_; +} +else +{ +if (v___x_15885_ == 0) +{ +goto v___jp_15882_; +} +else +{ +size_t v___x_15886_; size_t v___x_15887_; uint8_t v___x_15888_; +v___x_15886_ = ((size_t)0ULL); +v___x_15887_ = lean_usize_of_nat(v___x_15864_); +v___x_15888_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getModifiersForLetRecs_spec__2(v_mainHeaders_15852_, v___x_15886_, v___x_15887_); +if (v___x_15888_ == 0) +{ +goto v___jp_15882_; +} +else +{ +uint8_t v___x_15889_; +v___x_15889_ = 1; +v___y_15876_ = v___x_15889_; +goto v___jp_15875_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___boxed(lean_object* v_mainHeaders_15895_){ +_start: +{ +lean_object* v_res_15896_; +v_res_15896_ = l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(v_mainHeaders_15895_); +lean_dec_ref(v_mainHeaders_15895_); +return v_res_15896_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__0(lean_object* v_a_15897_, lean_object* v_zetaDeltaFVarIds_15898_, lean_object* v_a_x3f_15899_){ +_start: +{ +lean_object* v___x_15901_; lean_object* v_mctx_15902_; lean_object* v_cache_15903_; lean_object* v_postponed_15904_; lean_object* v_diag_15905_; lean_object* v___x_15907_; uint8_t v_isShared_15908_; uint8_t v_isSharedCheck_15915_; +v___x_15901_ = lean_st_ref_take(v_a_15897_); +v_mctx_15902_ = lean_ctor_get(v___x_15901_, 0); +v_cache_15903_ = lean_ctor_get(v___x_15901_, 1); +v_postponed_15904_ = lean_ctor_get(v___x_15901_, 3); +v_diag_15905_ = lean_ctor_get(v___x_15901_, 4); +v_isSharedCheck_15915_ = !lean_is_exclusive(v___x_15901_); +if (v_isSharedCheck_15915_ == 0) +{ +lean_object* v_unused_15916_; +v_unused_15916_ = lean_ctor_get(v___x_15901_, 2); +lean_dec(v_unused_15916_); +v___x_15907_ = v___x_15901_; +v_isShared_15908_ = v_isSharedCheck_15915_; +goto v_resetjp_15906_; +} +else +{ +lean_inc(v_diag_15905_); +lean_inc(v_postponed_15904_); +lean_inc(v_cache_15903_); +lean_inc(v_mctx_15902_); +lean_dec(v___x_15901_); +v___x_15907_ = lean_box(0); +v_isShared_15908_ = v_isSharedCheck_15915_; +goto v_resetjp_15906_; +} +v_resetjp_15906_: +{ +lean_object* v___x_15910_; +if (v_isShared_15908_ == 0) +{ +lean_ctor_set(v___x_15907_, 2, v_zetaDeltaFVarIds_15898_); +v___x_15910_ = v___x_15907_; +goto v_reusejp_15909_; +} +else +{ +lean_object* v_reuseFailAlloc_15914_; +v_reuseFailAlloc_15914_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_15914_, 0, v_mctx_15902_); +lean_ctor_set(v_reuseFailAlloc_15914_, 1, v_cache_15903_); +lean_ctor_set(v_reuseFailAlloc_15914_, 2, v_zetaDeltaFVarIds_15898_); +lean_ctor_set(v_reuseFailAlloc_15914_, 3, v_postponed_15904_); +lean_ctor_set(v_reuseFailAlloc_15914_, 4, v_diag_15905_); +v___x_15910_ = v_reuseFailAlloc_15914_; +goto v_reusejp_15909_; +} +v_reusejp_15909_: +{ +lean_object* v___x_15911_; lean_object* v___x_15912_; lean_object* v___x_15913_; +v___x_15911_ = lean_st_ref_set(v_a_15897_, v___x_15910_); +v___x_15912_ = lean_box(0); +v___x_15913_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15913_, 0, v___x_15912_); +return v___x_15913_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__0___boxed(lean_object* v_a_15917_, lean_object* v_zetaDeltaFVarIds_15918_, lean_object* v_a_x3f_15919_, lean_object* v___y_15920_){ +_start: +{ +lean_object* v_res_15921_; +v_res_15921_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_15917_, v_zetaDeltaFVarIds_15918_, v_a_x3f_15919_); +lean_dec(v_a_x3f_15919_); +lean_dec(v_a_15917_); +return v_res_15921_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__1(lean_object* v_a_15922_, lean_object* v_cache_15923_, lean_object* v_a_x3f_15924_){ +_start: +{ +lean_object* v___x_15926_; lean_object* v_mctx_15927_; lean_object* v_zetaDeltaFVarIds_15928_; lean_object* v_postponed_15929_; lean_object* v_diag_15930_; lean_object* v___x_15932_; uint8_t v_isShared_15933_; uint8_t v_isSharedCheck_15940_; +v___x_15926_ = lean_st_ref_take(v_a_15922_); +v_mctx_15927_ = lean_ctor_get(v___x_15926_, 0); +v_zetaDeltaFVarIds_15928_ = lean_ctor_get(v___x_15926_, 2); +v_postponed_15929_ = lean_ctor_get(v___x_15926_, 3); +v_diag_15930_ = lean_ctor_get(v___x_15926_, 4); +v_isSharedCheck_15940_ = !lean_is_exclusive(v___x_15926_); +if (v_isSharedCheck_15940_ == 0) +{ +lean_object* v_unused_15941_; +v_unused_15941_ = lean_ctor_get(v___x_15926_, 1); +lean_dec(v_unused_15941_); +v___x_15932_ = v___x_15926_; +v_isShared_15933_ = v_isSharedCheck_15940_; +goto v_resetjp_15931_; +} +else +{ +lean_inc(v_diag_15930_); +lean_inc(v_postponed_15929_); +lean_inc(v_zetaDeltaFVarIds_15928_); +lean_inc(v_mctx_15927_); +lean_dec(v___x_15926_); +v___x_15932_ = lean_box(0); +v_isShared_15933_ = v_isSharedCheck_15940_; +goto v_resetjp_15931_; +} +v_resetjp_15931_: +{ +lean_object* v___x_15935_; +if (v_isShared_15933_ == 0) +{ +lean_ctor_set(v___x_15932_, 1, v_cache_15923_); +v___x_15935_ = v___x_15932_; +goto v_reusejp_15934_; +} +else +{ +lean_object* v_reuseFailAlloc_15939_; +v_reuseFailAlloc_15939_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_15939_, 0, v_mctx_15927_); +lean_ctor_set(v_reuseFailAlloc_15939_, 1, v_cache_15923_); +lean_ctor_set(v_reuseFailAlloc_15939_, 2, v_zetaDeltaFVarIds_15928_); +lean_ctor_set(v_reuseFailAlloc_15939_, 3, v_postponed_15929_); +lean_ctor_set(v_reuseFailAlloc_15939_, 4, v_diag_15930_); +v___x_15935_ = v_reuseFailAlloc_15939_; +goto v_reusejp_15934_; +} +v_reusejp_15934_: +{ +lean_object* v___x_15936_; lean_object* v___x_15937_; lean_object* v___x_15938_; +v___x_15936_ = lean_st_ref_set(v_a_15922_, v___x_15935_); +v___x_15937_ = lean_box(0); +v___x_15938_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15938_, 0, v___x_15937_); +return v___x_15938_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___lam__1___boxed(lean_object* v_a_15942_, lean_object* v_cache_15943_, lean_object* v_a_x3f_15944_, lean_object* v___y_15945_){ +_start: +{ +lean_object* v_res_15946_; +v_res_15946_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_15942_, v_cache_15943_, v_a_x3f_15944_); +lean_dec(v_a_x3f_15944_); +lean_dec(v_a_15942_); +return v_res_15946_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(lean_object* v_x_15947_, lean_object* v_x_15948_, lean_object* v___y_15949_, lean_object* v___y_15950_, lean_object* v___y_15951_, lean_object* v___y_15952_){ +_start: +{ +if (lean_obj_tag(v_x_15947_) == 0) +{ +lean_object* v___x_15954_; lean_object* v___x_15955_; +lean_dec(v___y_15952_); +lean_dec_ref(v___y_15951_); +lean_dec(v___y_15950_); +lean_dec_ref(v___y_15949_); +v___x_15954_ = l_List_reverse___redArg(v_x_15948_); +v___x_15955_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15955_, 0, v___x_15954_); +return v___x_15955_; +} +else +{ +lean_object* v_head_15956_; lean_object* v_tail_15957_; lean_object* v___x_15959_; uint8_t v_isShared_15960_; uint8_t v_isSharedCheck_15986_; +v_head_15956_ = lean_ctor_get(v_x_15947_, 0); +v_tail_15957_ = lean_ctor_get(v_x_15947_, 1); +v_isSharedCheck_15986_ = !lean_is_exclusive(v_x_15947_); +if (v_isSharedCheck_15986_ == 0) +{ +v___x_15959_ = v_x_15947_; +v_isShared_15960_ = v_isSharedCheck_15986_; +goto v_resetjp_15958_; +} +else +{ +lean_inc(v_tail_15957_); +lean_inc(v_head_15956_); +lean_dec(v_x_15947_); +v___x_15959_ = lean_box(0); +v_isShared_15960_ = v_isSharedCheck_15986_; +goto v_resetjp_15958_; +} +v_resetjp_15958_: +{ +lean_object* v_ref_15961_; lean_object* v_localDecls_15962_; lean_object* v_closed_15963_; lean_object* v_toLift_15964_; lean_object* v___x_15966_; uint8_t v_isShared_15967_; uint8_t v_isSharedCheck_15985_; +v_ref_15961_ = lean_ctor_get(v_head_15956_, 0); +v_localDecls_15962_ = lean_ctor_get(v_head_15956_, 1); +v_closed_15963_ = lean_ctor_get(v_head_15956_, 2); +v_toLift_15964_ = lean_ctor_get(v_head_15956_, 3); +v_isSharedCheck_15985_ = !lean_is_exclusive(v_head_15956_); +if (v_isSharedCheck_15985_ == 0) +{ +v___x_15966_ = v_head_15956_; +v_isShared_15967_ = v_isSharedCheck_15985_; goto v_resetjp_15965_; } else { -lean_inc(v_bodySnap_x3f_15964_); -lean_inc(v_tacSnap_x3f_15963_); -lean_inc(v_toDefViewElabHeaderData_15961_); -lean_inc(v_toDefView_15962_); -lean_dec(v_v_15960_); +lean_inc(v_toLift_15964_); +lean_inc(v_closed_15963_); +lean_inc(v_localDecls_15962_); +lean_inc(v_ref_15961_); +lean_dec(v_head_15956_); v___x_15966_ = lean_box(0); -v_isShared_15967_ = v_isSharedCheck_15991_; +v_isShared_15967_ = v_isSharedCheck_15985_; goto v_resetjp_15965_; } v_resetjp_15965_: { -lean_object* v_shortDeclName_15968_; lean_object* v_declName_15969_; lean_object* v_levelNames_15970_; lean_object* v_binderIds_15971_; lean_object* v_numParams_15972_; lean_object* v_type_15973_; lean_object* v___x_15975_; uint8_t v_isShared_15976_; uint8_t v_isSharedCheck_15990_; -v_shortDeclName_15968_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 0); -v_declName_15969_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 1); -v_levelNames_15970_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 2); -v_binderIds_15971_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 3); -v_numParams_15972_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 4); -v_type_15973_ = lean_ctor_get(v_toDefViewElabHeaderData_15961_, 5); -v_isSharedCheck_15990_ = !lean_is_exclusive(v_toDefViewElabHeaderData_15961_); -if (v_isSharedCheck_15990_ == 0) +lean_object* v___x_15968_; +lean_inc(v___y_15952_); +lean_inc_ref(v___y_15951_); +lean_inc(v___y_15950_); +lean_inc_ref(v___y_15949_); +v___x_15968_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___redArg(v_toLift_15964_, v___y_15949_, v___y_15950_, v___y_15951_, v___y_15952_); +if (lean_obj_tag(v___x_15968_) == 0) { -v___x_15975_ = v_toDefViewElabHeaderData_15961_; -v_isShared_15976_ = v_isSharedCheck_15990_; -goto v_resetjp_15974_; -} -else -{ -lean_inc(v_type_15973_); -lean_inc(v_numParams_15972_); -lean_inc(v_binderIds_15971_); -lean_inc(v_levelNames_15970_); -lean_inc(v_declName_15969_); -lean_inc(v_shortDeclName_15968_); -lean_dec(v_toDefViewElabHeaderData_15961_); -v___x_15975_ = lean_box(0); -v_isShared_15976_ = v_isSharedCheck_15990_; -goto v_resetjp_15974_; -} -v_resetjp_15974_: -{ -lean_object* v___x_15977_; lean_object* v_bs_x27_15978_; lean_object* v___x_15979_; lean_object* v___x_15981_; -v___x_15977_ = lean_unsigned_to_nat(0u); -v_bs_x27_15978_ = lean_array_uset(v_bs_15958_, v_i_15957_, v___x_15977_); -lean_inc(v___x_15955_); -v___x_15979_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_15955_, v_type_15973_); -lean_dec_ref(v_type_15973_); -if (v_isShared_15976_ == 0) -{ -lean_ctor_set(v___x_15975_, 5, v___x_15979_); -v___x_15981_ = v___x_15975_; -goto v_reusejp_15980_; -} -else -{ -lean_object* v_reuseFailAlloc_15989_; -v_reuseFailAlloc_15989_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v_reuseFailAlloc_15989_, 0, v_shortDeclName_15968_); -lean_ctor_set(v_reuseFailAlloc_15989_, 1, v_declName_15969_); -lean_ctor_set(v_reuseFailAlloc_15989_, 2, v_levelNames_15970_); -lean_ctor_set(v_reuseFailAlloc_15989_, 3, v_binderIds_15971_); -lean_ctor_set(v_reuseFailAlloc_15989_, 4, v_numParams_15972_); -lean_ctor_set(v_reuseFailAlloc_15989_, 5, v___x_15979_); -v___x_15981_ = v_reuseFailAlloc_15989_; -goto v_reusejp_15980_; -} -v_reusejp_15980_: -{ -lean_object* v___x_15983_; +lean_object* v_a_15969_; lean_object* v___x_15971_; +v_a_15969_ = lean_ctor_get(v___x_15968_, 0); +lean_inc(v_a_15969_); +lean_dec_ref(v___x_15968_); if (v_isShared_15967_ == 0) { -lean_ctor_set(v___x_15966_, 1, v___x_15981_); -v___x_15983_ = v___x_15966_; -goto v_reusejp_15982_; +lean_ctor_set(v___x_15966_, 3, v_a_15969_); +v___x_15971_ = v___x_15966_; +goto v_reusejp_15970_; } else { -lean_object* v_reuseFailAlloc_15988_; -v_reuseFailAlloc_15988_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_15988_, 0, v_toDefView_15962_); -lean_ctor_set(v_reuseFailAlloc_15988_, 1, v___x_15981_); -lean_ctor_set(v_reuseFailAlloc_15988_, 2, v_tacSnap_x3f_15963_); -lean_ctor_set(v_reuseFailAlloc_15988_, 3, v_bodySnap_x3f_15964_); -v___x_15983_ = v_reuseFailAlloc_15988_; -goto v_reusejp_15982_; +lean_object* v_reuseFailAlloc_15976_; +v_reuseFailAlloc_15976_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_15976_, 0, v_ref_15961_); +lean_ctor_set(v_reuseFailAlloc_15976_, 1, v_localDecls_15962_); +lean_ctor_set(v_reuseFailAlloc_15976_, 2, v_closed_15963_); +lean_ctor_set(v_reuseFailAlloc_15976_, 3, v_a_15969_); +v___x_15971_ = v_reuseFailAlloc_15976_; +goto v_reusejp_15970_; } -v_reusejp_15982_: +v_reusejp_15970_: { -size_t v___x_15984_; size_t v___x_15985_; lean_object* v___x_15986_; -v___x_15984_ = ((size_t)1ULL); -v___x_15985_ = lean_usize_add(v_i_15957_, v___x_15984_); -v___x_15986_ = lean_array_uset(v_bs_x27_15978_, v_i_15957_, v___x_15983_); -v_i_15957_ = v___x_15985_; -v_bs_15958_ = v___x_15986_; +lean_object* v___x_15973_; +if (v_isShared_15960_ == 0) +{ +lean_ctor_set(v___x_15959_, 1, v_x_15948_); +lean_ctor_set(v___x_15959_, 0, v___x_15971_); +v___x_15973_ = v___x_15959_; +goto v_reusejp_15972_; +} +else +{ +lean_object* v_reuseFailAlloc_15975_; +v_reuseFailAlloc_15975_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15975_, 0, v___x_15971_); +lean_ctor_set(v_reuseFailAlloc_15975_, 1, v_x_15948_); +v___x_15973_ = v_reuseFailAlloc_15975_; +goto v_reusejp_15972_; +} +v_reusejp_15972_: +{ +v_x_15947_ = v_tail_15957_; +v_x_15948_ = v___x_15973_; +goto _start; +} +} +} +else +{ +lean_object* v_a_15977_; lean_object* v___x_15979_; uint8_t v_isShared_15980_; uint8_t v_isSharedCheck_15984_; +lean_del_object(v___x_15966_); +lean_dec_ref(v_closed_15963_); +lean_dec_ref(v_localDecls_15962_); +lean_dec(v_ref_15961_); +lean_del_object(v___x_15959_); +lean_dec(v_tail_15957_); +lean_dec(v___y_15952_); +lean_dec_ref(v___y_15951_); +lean_dec(v___y_15950_); +lean_dec_ref(v___y_15949_); +lean_dec(v_x_15948_); +v_a_15977_ = lean_ctor_get(v___x_15968_, 0); +v_isSharedCheck_15984_ = !lean_is_exclusive(v___x_15968_); +if (v_isSharedCheck_15984_ == 0) +{ +v___x_15979_ = v___x_15968_; +v_isShared_15980_ = v_isSharedCheck_15984_; +goto v_resetjp_15978_; +} +else +{ +lean_inc(v_a_15977_); +lean_dec(v___x_15968_); +v___x_15979_ = lean_box(0); +v_isShared_15980_ = v_isSharedCheck_15984_; +goto v_resetjp_15978_; +} +v_resetjp_15978_: +{ +lean_object* v___x_15982_; +if (v_isShared_15980_ == 0) +{ +v___x_15982_ = v___x_15979_; +goto v_reusejp_15981_; +} +else +{ +lean_object* v_reuseFailAlloc_15983_; +v_reuseFailAlloc_15983_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15983_, 0, v_a_15977_); +v___x_15982_ = v_reuseFailAlloc_15983_; +goto v_reusejp_15981_; +} +v_reusejp_15981_: +{ +return v___x_15982_; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg___boxed(lean_object* v_x_15987_, lean_object* v_x_15988_, lean_object* v___y_15989_, lean_object* v___y_15990_, lean_object* v___y_15991_, lean_object* v___y_15992_, lean_object* v___y_15993_){ +_start: +{ +lean_object* v_res_15994_; +v_res_15994_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_x_15987_, v_x_15988_, v___y_15989_, v___y_15990_, v___y_15991_, v___y_15992_); +return v_res_15994_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(lean_object* v___x_15995_, size_t v_sz_15996_, size_t v_i_15997_, lean_object* v_bs_15998_){ +_start: +{ +uint8_t v___x_15999_; +v___x_15999_ = lean_usize_dec_lt(v_i_15997_, v_sz_15996_); +if (v___x_15999_ == 0) +{ +lean_dec(v___x_15995_); +return v_bs_15998_; +} +else +{ +lean_object* v_v_16000_; lean_object* v_toDefViewElabHeaderData_16001_; lean_object* v_toDefView_16002_; lean_object* v_tacSnap_x3f_16003_; lean_object* v_bodySnap_x3f_16004_; lean_object* v___x_16006_; uint8_t v_isShared_16007_; uint8_t v_isSharedCheck_16031_; +v_v_16000_ = lean_array_uget(v_bs_15998_, v_i_15997_); +v_toDefViewElabHeaderData_16001_ = lean_ctor_get(v_v_16000_, 1); +v_toDefView_16002_ = lean_ctor_get(v_v_16000_, 0); +v_tacSnap_x3f_16003_ = lean_ctor_get(v_v_16000_, 2); +v_bodySnap_x3f_16004_ = lean_ctor_get(v_v_16000_, 3); +v_isSharedCheck_16031_ = !lean_is_exclusive(v_v_16000_); +if (v_isSharedCheck_16031_ == 0) +{ +v___x_16006_ = v_v_16000_; +v_isShared_16007_ = v_isSharedCheck_16031_; +goto v_resetjp_16005_; +} +else +{ +lean_inc(v_bodySnap_x3f_16004_); +lean_inc(v_tacSnap_x3f_16003_); +lean_inc(v_toDefViewElabHeaderData_16001_); +lean_inc(v_toDefView_16002_); +lean_dec(v_v_16000_); +v___x_16006_ = lean_box(0); +v_isShared_16007_ = v_isSharedCheck_16031_; +goto v_resetjp_16005_; +} +v_resetjp_16005_: +{ +lean_object* v_shortDeclName_16008_; lean_object* v_declName_16009_; lean_object* v_levelNames_16010_; lean_object* v_binderIds_16011_; lean_object* v_numParams_16012_; lean_object* v_type_16013_; lean_object* v___x_16015_; uint8_t v_isShared_16016_; uint8_t v_isSharedCheck_16030_; +v_shortDeclName_16008_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 0); +v_declName_16009_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 1); +v_levelNames_16010_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 2); +v_binderIds_16011_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 3); +v_numParams_16012_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 4); +v_type_16013_ = lean_ctor_get(v_toDefViewElabHeaderData_16001_, 5); +v_isSharedCheck_16030_ = !lean_is_exclusive(v_toDefViewElabHeaderData_16001_); +if (v_isSharedCheck_16030_ == 0) +{ +v___x_16015_ = v_toDefViewElabHeaderData_16001_; +v_isShared_16016_ = v_isSharedCheck_16030_; +goto v_resetjp_16014_; +} +else +{ +lean_inc(v_type_16013_); +lean_inc(v_numParams_16012_); +lean_inc(v_binderIds_16011_); +lean_inc(v_levelNames_16010_); +lean_inc(v_declName_16009_); +lean_inc(v_shortDeclName_16008_); +lean_dec(v_toDefViewElabHeaderData_16001_); +v___x_16015_ = lean_box(0); +v_isShared_16016_ = v_isSharedCheck_16030_; +goto v_resetjp_16014_; +} +v_resetjp_16014_: +{ +lean_object* v___x_16017_; lean_object* v_bs_x27_16018_; lean_object* v___x_16019_; lean_object* v___x_16021_; +v___x_16017_ = lean_unsigned_to_nat(0u); +v_bs_x27_16018_ = lean_array_uset(v_bs_15998_, v_i_15997_, v___x_16017_); +lean_inc(v___x_15995_); +v___x_16019_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_15995_, v_type_16013_); +lean_dec_ref(v_type_16013_); +if (v_isShared_16016_ == 0) +{ +lean_ctor_set(v___x_16015_, 5, v___x_16019_); +v___x_16021_ = v___x_16015_; +goto v_reusejp_16020_; +} +else +{ +lean_object* v_reuseFailAlloc_16029_; +v_reuseFailAlloc_16029_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v_reuseFailAlloc_16029_, 0, v_shortDeclName_16008_); +lean_ctor_set(v_reuseFailAlloc_16029_, 1, v_declName_16009_); +lean_ctor_set(v_reuseFailAlloc_16029_, 2, v_levelNames_16010_); +lean_ctor_set(v_reuseFailAlloc_16029_, 3, v_binderIds_16011_); +lean_ctor_set(v_reuseFailAlloc_16029_, 4, v_numParams_16012_); +lean_ctor_set(v_reuseFailAlloc_16029_, 5, v___x_16019_); +v___x_16021_ = v_reuseFailAlloc_16029_; +goto v_reusejp_16020_; +} +v_reusejp_16020_: +{ +lean_object* v___x_16023_; +if (v_isShared_16007_ == 0) +{ +lean_ctor_set(v___x_16006_, 1, v___x_16021_); +v___x_16023_ = v___x_16006_; +goto v_reusejp_16022_; +} +else +{ +lean_object* v_reuseFailAlloc_16028_; +v_reuseFailAlloc_16028_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_16028_, 0, v_toDefView_16002_); +lean_ctor_set(v_reuseFailAlloc_16028_, 1, v___x_16021_); +lean_ctor_set(v_reuseFailAlloc_16028_, 2, v_tacSnap_x3f_16003_); +lean_ctor_set(v_reuseFailAlloc_16028_, 3, v_bodySnap_x3f_16004_); +v___x_16023_ = v_reuseFailAlloc_16028_; +goto v_reusejp_16022_; +} +v_reusejp_16022_: +{ +size_t v___x_16024_; size_t v___x_16025_; lean_object* v___x_16026_; +v___x_16024_ = ((size_t)1ULL); +v___x_16025_ = lean_usize_add(v_i_15997_, v___x_16024_); +v___x_16026_ = lean_array_uset(v_bs_x27_16018_, v_i_15997_, v___x_16023_); +v_i_15997_ = v___x_16025_; +v_bs_15998_ = v___x_16026_; goto _start; } } @@ -46466,205 +46621,205 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5___boxed(lean_object* v___x_15992_, lean_object* v_sz_15993_, lean_object* v_i_15994_, lean_object* v_bs_15995_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5___boxed(lean_object* v___x_16032_, lean_object* v_sz_16033_, lean_object* v_i_16034_, lean_object* v_bs_16035_){ _start: { -size_t v_sz_boxed_15996_; size_t v_i_boxed_15997_; lean_object* v_res_15998_; -v_sz_boxed_15996_ = lean_unbox_usize(v_sz_15993_); -lean_dec(v_sz_15993_); -v_i_boxed_15997_ = lean_unbox_usize(v_i_15994_); -lean_dec(v_i_15994_); -v_res_15998_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(v___x_15992_, v_sz_boxed_15996_, v_i_boxed_15997_, v_bs_15995_); -return v_res_15998_; +size_t v_sz_boxed_16036_; size_t v_i_boxed_16037_; lean_object* v_res_16038_; +v_sz_boxed_16036_ = lean_unbox_usize(v_sz_16033_); +lean_dec(v_sz_16033_); +v_i_boxed_16037_ = lean_unbox_usize(v_i_16034_); +lean_dec(v_i_16034_); +v_res_16038_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(v___x_16032_, v_sz_boxed_16036_, v_i_boxed_16037_, v_bs_16035_); +return v_res_16038_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__6(lean_object* v___x_15999_, lean_object* v_a_16000_, lean_object* v_a_16001_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__6(lean_object* v___x_16039_, lean_object* v_a_16040_, lean_object* v_a_16041_){ _start: { -if (lean_obj_tag(v_a_16000_) == 0) +if (lean_obj_tag(v_a_16040_) == 0) { -lean_object* v___x_16002_; -lean_dec(v___x_15999_); -v___x_16002_ = l_List_reverse___redArg(v_a_16001_); -return v___x_16002_; +lean_object* v___x_16042_; +lean_dec(v___x_16039_); +v___x_16042_ = l_List_reverse___redArg(v_a_16041_); +return v___x_16042_; } else { -lean_object* v_head_16003_; lean_object* v_toLift_16004_; lean_object* v_tail_16005_; lean_object* v___x_16007_; uint8_t v_isShared_16008_; uint8_t v_isSharedCheck_16047_; -v_head_16003_ = lean_ctor_get(v_a_16000_, 0); -lean_inc(v_head_16003_); -v_toLift_16004_ = lean_ctor_get(v_head_16003_, 3); -lean_inc_ref(v_toLift_16004_); -v_tail_16005_ = lean_ctor_get(v_a_16000_, 1); -v_isSharedCheck_16047_ = !lean_is_exclusive(v_a_16000_); -if (v_isSharedCheck_16047_ == 0) +lean_object* v_head_16043_; lean_object* v_toLift_16044_; lean_object* v_tail_16045_; lean_object* v___x_16047_; uint8_t v_isShared_16048_; uint8_t v_isSharedCheck_16087_; +v_head_16043_ = lean_ctor_get(v_a_16040_, 0); +lean_inc(v_head_16043_); +v_toLift_16044_ = lean_ctor_get(v_head_16043_, 3); +lean_inc_ref(v_toLift_16044_); +v_tail_16045_ = lean_ctor_get(v_a_16040_, 1); +v_isSharedCheck_16087_ = !lean_is_exclusive(v_a_16040_); +if (v_isSharedCheck_16087_ == 0) { -lean_object* v_unused_16048_; -v_unused_16048_ = lean_ctor_get(v_a_16000_, 0); -lean_dec(v_unused_16048_); -v___x_16007_ = v_a_16000_; -v_isShared_16008_ = v_isSharedCheck_16047_; -goto v_resetjp_16006_; +lean_object* v_unused_16088_; +v_unused_16088_ = lean_ctor_get(v_a_16040_, 0); +lean_dec(v_unused_16088_); +v___x_16047_ = v_a_16040_; +v_isShared_16048_ = v_isSharedCheck_16087_; +goto v_resetjp_16046_; } else { -lean_inc(v_tail_16005_); -lean_dec(v_a_16000_); -v___x_16007_ = lean_box(0); -v_isShared_16008_ = v_isSharedCheck_16047_; -goto v_resetjp_16006_; +lean_inc(v_tail_16045_); +lean_dec(v_a_16040_); +v___x_16047_ = lean_box(0); +v_isShared_16048_ = v_isSharedCheck_16087_; +goto v_resetjp_16046_; } -v_resetjp_16006_: +v_resetjp_16046_: { -lean_object* v_ref_16009_; lean_object* v_localDecls_16010_; lean_object* v_closed_16011_; lean_object* v___x_16013_; uint8_t v_isShared_16014_; uint8_t v_isSharedCheck_16045_; -v_ref_16009_ = lean_ctor_get(v_head_16003_, 0); -v_localDecls_16010_ = lean_ctor_get(v_head_16003_, 1); -v_closed_16011_ = lean_ctor_get(v_head_16003_, 2); -v_isSharedCheck_16045_ = !lean_is_exclusive(v_head_16003_); -if (v_isSharedCheck_16045_ == 0) +lean_object* v_ref_16049_; lean_object* v_localDecls_16050_; lean_object* v_closed_16051_; lean_object* v___x_16053_; uint8_t v_isShared_16054_; uint8_t v_isSharedCheck_16085_; +v_ref_16049_ = lean_ctor_get(v_head_16043_, 0); +v_localDecls_16050_ = lean_ctor_get(v_head_16043_, 1); +v_closed_16051_ = lean_ctor_get(v_head_16043_, 2); +v_isSharedCheck_16085_ = !lean_is_exclusive(v_head_16043_); +if (v_isSharedCheck_16085_ == 0) { -lean_object* v_unused_16046_; -v_unused_16046_ = lean_ctor_get(v_head_16003_, 3); -lean_dec(v_unused_16046_); -v___x_16013_ = v_head_16003_; -v_isShared_16014_ = v_isSharedCheck_16045_; -goto v_resetjp_16012_; +lean_object* v_unused_16086_; +v_unused_16086_ = lean_ctor_get(v_head_16043_, 3); +lean_dec(v_unused_16086_); +v___x_16053_ = v_head_16043_; +v_isShared_16054_ = v_isSharedCheck_16085_; +goto v_resetjp_16052_; } else { -lean_inc(v_closed_16011_); -lean_inc(v_localDecls_16010_); -lean_inc(v_ref_16009_); -lean_dec(v_head_16003_); -v___x_16013_ = lean_box(0); -v_isShared_16014_ = v_isSharedCheck_16045_; -goto v_resetjp_16012_; +lean_inc(v_closed_16051_); +lean_inc(v_localDecls_16050_); +lean_inc(v_ref_16049_); +lean_dec(v_head_16043_); +v___x_16053_ = lean_box(0); +v_isShared_16054_ = v_isSharedCheck_16085_; +goto v_resetjp_16052_; } -v_resetjp_16012_: +v_resetjp_16052_: { -lean_object* v_ref_16015_; lean_object* v_fvarId_16016_; lean_object* v_attrs_16017_; lean_object* v_shortDeclName_16018_; lean_object* v_declName_16019_; lean_object* v_parentName_x3f_16020_; lean_object* v_lctx_16021_; lean_object* v_localInstances_16022_; lean_object* v_type_16023_; lean_object* v_val_16024_; lean_object* v_mvarId_16025_; lean_object* v_termination_16026_; lean_object* v_binders_16027_; lean_object* v_docString_x3f_16028_; lean_object* v___x_16030_; uint8_t v_isShared_16031_; uint8_t v_isSharedCheck_16044_; -v_ref_16015_ = lean_ctor_get(v_toLift_16004_, 0); -v_fvarId_16016_ = lean_ctor_get(v_toLift_16004_, 1); -v_attrs_16017_ = lean_ctor_get(v_toLift_16004_, 2); -v_shortDeclName_16018_ = lean_ctor_get(v_toLift_16004_, 3); -v_declName_16019_ = lean_ctor_get(v_toLift_16004_, 4); -v_parentName_x3f_16020_ = lean_ctor_get(v_toLift_16004_, 5); -v_lctx_16021_ = lean_ctor_get(v_toLift_16004_, 6); -v_localInstances_16022_ = lean_ctor_get(v_toLift_16004_, 7); -v_type_16023_ = lean_ctor_get(v_toLift_16004_, 8); -v_val_16024_ = lean_ctor_get(v_toLift_16004_, 9); -v_mvarId_16025_ = lean_ctor_get(v_toLift_16004_, 10); -v_termination_16026_ = lean_ctor_get(v_toLift_16004_, 11); -v_binders_16027_ = lean_ctor_get(v_toLift_16004_, 12); -v_docString_x3f_16028_ = lean_ctor_get(v_toLift_16004_, 13); -v_isSharedCheck_16044_ = !lean_is_exclusive(v_toLift_16004_); -if (v_isSharedCheck_16044_ == 0) +lean_object* v_ref_16055_; lean_object* v_fvarId_16056_; lean_object* v_attrs_16057_; lean_object* v_shortDeclName_16058_; lean_object* v_declName_16059_; lean_object* v_parentName_x3f_16060_; lean_object* v_lctx_16061_; lean_object* v_localInstances_16062_; lean_object* v_type_16063_; lean_object* v_val_16064_; lean_object* v_mvarId_16065_; lean_object* v_termination_16066_; lean_object* v_binders_16067_; lean_object* v_docString_x3f_16068_; lean_object* v___x_16070_; uint8_t v_isShared_16071_; uint8_t v_isSharedCheck_16084_; +v_ref_16055_ = lean_ctor_get(v_toLift_16044_, 0); +v_fvarId_16056_ = lean_ctor_get(v_toLift_16044_, 1); +v_attrs_16057_ = lean_ctor_get(v_toLift_16044_, 2); +v_shortDeclName_16058_ = lean_ctor_get(v_toLift_16044_, 3); +v_declName_16059_ = lean_ctor_get(v_toLift_16044_, 4); +v_parentName_x3f_16060_ = lean_ctor_get(v_toLift_16044_, 5); +v_lctx_16061_ = lean_ctor_get(v_toLift_16044_, 6); +v_localInstances_16062_ = lean_ctor_get(v_toLift_16044_, 7); +v_type_16063_ = lean_ctor_get(v_toLift_16044_, 8); +v_val_16064_ = lean_ctor_get(v_toLift_16044_, 9); +v_mvarId_16065_ = lean_ctor_get(v_toLift_16044_, 10); +v_termination_16066_ = lean_ctor_get(v_toLift_16044_, 11); +v_binders_16067_ = lean_ctor_get(v_toLift_16044_, 12); +v_docString_x3f_16068_ = lean_ctor_get(v_toLift_16044_, 13); +v_isSharedCheck_16084_ = !lean_is_exclusive(v_toLift_16044_); +if (v_isSharedCheck_16084_ == 0) { -v___x_16030_ = v_toLift_16004_; -v_isShared_16031_ = v_isSharedCheck_16044_; -goto v_resetjp_16029_; +v___x_16070_ = v_toLift_16044_; +v_isShared_16071_ = v_isSharedCheck_16084_; +goto v_resetjp_16069_; } else { -lean_inc(v_docString_x3f_16028_); -lean_inc(v_binders_16027_); -lean_inc(v_termination_16026_); -lean_inc(v_mvarId_16025_); -lean_inc(v_val_16024_); -lean_inc(v_type_16023_); -lean_inc(v_localInstances_16022_); -lean_inc(v_lctx_16021_); -lean_inc(v_parentName_x3f_16020_); -lean_inc(v_declName_16019_); -lean_inc(v_shortDeclName_16018_); -lean_inc(v_attrs_16017_); -lean_inc(v_fvarId_16016_); -lean_inc(v_ref_16015_); -lean_dec(v_toLift_16004_); -v___x_16030_ = lean_box(0); -v_isShared_16031_ = v_isSharedCheck_16044_; -goto v_resetjp_16029_; +lean_inc(v_docString_x3f_16068_); +lean_inc(v_binders_16067_); +lean_inc(v_termination_16066_); +lean_inc(v_mvarId_16065_); +lean_inc(v_val_16064_); +lean_inc(v_type_16063_); +lean_inc(v_localInstances_16062_); +lean_inc(v_lctx_16061_); +lean_inc(v_parentName_x3f_16060_); +lean_inc(v_declName_16059_); +lean_inc(v_shortDeclName_16058_); +lean_inc(v_attrs_16057_); +lean_inc(v_fvarId_16056_); +lean_inc(v_ref_16055_); +lean_dec(v_toLift_16044_); +v___x_16070_ = lean_box(0); +v_isShared_16071_ = v_isSharedCheck_16084_; +goto v_resetjp_16069_; } -v_resetjp_16029_: +v_resetjp_16069_: { -lean_object* v___x_16032_; lean_object* v___x_16033_; lean_object* v___x_16035_; -lean_inc(v___x_15999_); -v___x_16032_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_15999_, v_type_16023_); -lean_dec_ref(v_type_16023_); -lean_inc(v___x_15999_); -v___x_16033_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_15999_, v_val_16024_); -lean_dec_ref(v_val_16024_); -if (v_isShared_16031_ == 0) +lean_object* v___x_16072_; lean_object* v___x_16073_; lean_object* v___x_16075_; +lean_inc(v___x_16039_); +v___x_16072_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_16039_, v_type_16063_); +lean_dec_ref(v_type_16063_); +lean_inc(v___x_16039_); +v___x_16073_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_16039_, v_val_16064_); +lean_dec_ref(v_val_16064_); +if (v_isShared_16071_ == 0) { -lean_ctor_set(v___x_16030_, 9, v___x_16033_); -lean_ctor_set(v___x_16030_, 8, v___x_16032_); -v___x_16035_ = v___x_16030_; -goto v_reusejp_16034_; +lean_ctor_set(v___x_16070_, 9, v___x_16073_); +lean_ctor_set(v___x_16070_, 8, v___x_16072_); +v___x_16075_ = v___x_16070_; +goto v_reusejp_16074_; } else { -lean_object* v_reuseFailAlloc_16043_; -v_reuseFailAlloc_16043_ = lean_alloc_ctor(0, 14, 0); -lean_ctor_set(v_reuseFailAlloc_16043_, 0, v_ref_16015_); -lean_ctor_set(v_reuseFailAlloc_16043_, 1, v_fvarId_16016_); -lean_ctor_set(v_reuseFailAlloc_16043_, 2, v_attrs_16017_); -lean_ctor_set(v_reuseFailAlloc_16043_, 3, v_shortDeclName_16018_); -lean_ctor_set(v_reuseFailAlloc_16043_, 4, v_declName_16019_); -lean_ctor_set(v_reuseFailAlloc_16043_, 5, v_parentName_x3f_16020_); -lean_ctor_set(v_reuseFailAlloc_16043_, 6, v_lctx_16021_); -lean_ctor_set(v_reuseFailAlloc_16043_, 7, v_localInstances_16022_); -lean_ctor_set(v_reuseFailAlloc_16043_, 8, v___x_16032_); -lean_ctor_set(v_reuseFailAlloc_16043_, 9, v___x_16033_); -lean_ctor_set(v_reuseFailAlloc_16043_, 10, v_mvarId_16025_); -lean_ctor_set(v_reuseFailAlloc_16043_, 11, v_termination_16026_); -lean_ctor_set(v_reuseFailAlloc_16043_, 12, v_binders_16027_); -lean_ctor_set(v_reuseFailAlloc_16043_, 13, v_docString_x3f_16028_); -v___x_16035_ = v_reuseFailAlloc_16043_; -goto v_reusejp_16034_; +lean_object* v_reuseFailAlloc_16083_; +v_reuseFailAlloc_16083_ = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(v_reuseFailAlloc_16083_, 0, v_ref_16055_); +lean_ctor_set(v_reuseFailAlloc_16083_, 1, v_fvarId_16056_); +lean_ctor_set(v_reuseFailAlloc_16083_, 2, v_attrs_16057_); +lean_ctor_set(v_reuseFailAlloc_16083_, 3, v_shortDeclName_16058_); +lean_ctor_set(v_reuseFailAlloc_16083_, 4, v_declName_16059_); +lean_ctor_set(v_reuseFailAlloc_16083_, 5, v_parentName_x3f_16060_); +lean_ctor_set(v_reuseFailAlloc_16083_, 6, v_lctx_16061_); +lean_ctor_set(v_reuseFailAlloc_16083_, 7, v_localInstances_16062_); +lean_ctor_set(v_reuseFailAlloc_16083_, 8, v___x_16072_); +lean_ctor_set(v_reuseFailAlloc_16083_, 9, v___x_16073_); +lean_ctor_set(v_reuseFailAlloc_16083_, 10, v_mvarId_16065_); +lean_ctor_set(v_reuseFailAlloc_16083_, 11, v_termination_16066_); +lean_ctor_set(v_reuseFailAlloc_16083_, 12, v_binders_16067_); +lean_ctor_set(v_reuseFailAlloc_16083_, 13, v_docString_x3f_16068_); +v___x_16075_ = v_reuseFailAlloc_16083_; +goto v_reusejp_16074_; } -v_reusejp_16034_: +v_reusejp_16074_: { -lean_object* v___x_16037_; -if (v_isShared_16014_ == 0) +lean_object* v___x_16077_; +if (v_isShared_16054_ == 0) { -lean_ctor_set(v___x_16013_, 3, v___x_16035_); -v___x_16037_ = v___x_16013_; -goto v_reusejp_16036_; +lean_ctor_set(v___x_16053_, 3, v___x_16075_); +v___x_16077_ = v___x_16053_; +goto v_reusejp_16076_; } else { -lean_object* v_reuseFailAlloc_16042_; -v_reuseFailAlloc_16042_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_16042_, 0, v_ref_16009_); -lean_ctor_set(v_reuseFailAlloc_16042_, 1, v_localDecls_16010_); -lean_ctor_set(v_reuseFailAlloc_16042_, 2, v_closed_16011_); -lean_ctor_set(v_reuseFailAlloc_16042_, 3, v___x_16035_); -v___x_16037_ = v_reuseFailAlloc_16042_; -goto v_reusejp_16036_; +lean_object* v_reuseFailAlloc_16082_; +v_reuseFailAlloc_16082_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_16082_, 0, v_ref_16049_); +lean_ctor_set(v_reuseFailAlloc_16082_, 1, v_localDecls_16050_); +lean_ctor_set(v_reuseFailAlloc_16082_, 2, v_closed_16051_); +lean_ctor_set(v_reuseFailAlloc_16082_, 3, v___x_16075_); +v___x_16077_ = v_reuseFailAlloc_16082_; +goto v_reusejp_16076_; } -v_reusejp_16036_: +v_reusejp_16076_: { -lean_object* v___x_16039_; -if (v_isShared_16008_ == 0) +lean_object* v___x_16079_; +if (v_isShared_16048_ == 0) { -lean_ctor_set(v___x_16007_, 1, v_a_16001_); -lean_ctor_set(v___x_16007_, 0, v___x_16037_); -v___x_16039_ = v___x_16007_; -goto v_reusejp_16038_; +lean_ctor_set(v___x_16047_, 1, v_a_16041_); +lean_ctor_set(v___x_16047_, 0, v___x_16077_); +v___x_16079_ = v___x_16047_; +goto v_reusejp_16078_; } else { -lean_object* v_reuseFailAlloc_16041_; -v_reuseFailAlloc_16041_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16041_, 0, v___x_16037_); -lean_ctor_set(v_reuseFailAlloc_16041_, 1, v_a_16001_); -v___x_16039_ = v_reuseFailAlloc_16041_; -goto v_reusejp_16038_; +lean_object* v_reuseFailAlloc_16081_; +v_reuseFailAlloc_16081_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16081_, 0, v___x_16077_); +lean_ctor_set(v_reuseFailAlloc_16081_, 1, v_a_16041_); +v___x_16079_ = v_reuseFailAlloc_16081_; +goto v_reusejp_16078_; } -v_reusejp_16038_: +v_reusejp_16078_: { -v_a_16000_ = v_tail_16005_; -v_a_16001_ = v___x_16039_; +v_a_16040_ = v_tail_16045_; +v_a_16041_ = v___x_16079_; goto _start; } } @@ -46675,2416 +46830,2416 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(lean_object* v___x_16049_, size_t v_sz_16050_, size_t v_i_16051_, lean_object* v_bs_16052_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(lean_object* v___x_16089_, size_t v_sz_16090_, size_t v_i_16091_, lean_object* v_bs_16092_){ _start: { -uint8_t v___x_16053_; -v___x_16053_ = lean_usize_dec_lt(v_i_16051_, v_sz_16050_); -if (v___x_16053_ == 0) +uint8_t v___x_16093_; +v___x_16093_ = lean_usize_dec_lt(v_i_16091_, v_sz_16090_); +if (v___x_16093_ == 0) { -lean_dec(v___x_16049_); -return v_bs_16052_; +lean_dec(v___x_16089_); +return v_bs_16092_; } else { -lean_object* v_v_16054_; lean_object* v___x_16055_; lean_object* v_bs_x27_16056_; lean_object* v___x_16057_; size_t v___x_16058_; size_t v___x_16059_; lean_object* v___x_16060_; -v_v_16054_ = lean_array_uget(v_bs_16052_, v_i_16051_); -v___x_16055_ = lean_unsigned_to_nat(0u); -v_bs_x27_16056_ = lean_array_uset(v_bs_16052_, v_i_16051_, v___x_16055_); -lean_inc(v___x_16049_); -v___x_16057_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_16049_, v_v_16054_); -lean_dec(v_v_16054_); -v___x_16058_ = ((size_t)1ULL); -v___x_16059_ = lean_usize_add(v_i_16051_, v___x_16058_); -v___x_16060_ = lean_array_uset(v_bs_x27_16056_, v_i_16051_, v___x_16057_); -v_i_16051_ = v___x_16059_; -v_bs_16052_ = v___x_16060_; +lean_object* v_v_16094_; lean_object* v___x_16095_; lean_object* v_bs_x27_16096_; lean_object* v___x_16097_; size_t v___x_16098_; size_t v___x_16099_; lean_object* v___x_16100_; +v_v_16094_ = lean_array_uget(v_bs_16092_, v_i_16091_); +v___x_16095_ = lean_unsigned_to_nat(0u); +v_bs_x27_16096_ = lean_array_uset(v_bs_16092_, v_i_16091_, v___x_16095_); +lean_inc(v___x_16089_); +v___x_16097_ = l_Lean_Elab_Term_MutualClosure_Replacement_apply(v___x_16089_, v_v_16094_); +lean_dec(v_v_16094_); +v___x_16098_ = ((size_t)1ULL); +v___x_16099_ = lean_usize_add(v_i_16091_, v___x_16098_); +v___x_16100_ = lean_array_uset(v_bs_x27_16096_, v_i_16091_, v___x_16097_); +v_i_16091_ = v___x_16099_; +v_bs_16092_ = v___x_16100_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7___boxed(lean_object* v___x_16062_, lean_object* v_sz_16063_, lean_object* v_i_16064_, lean_object* v_bs_16065_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7___boxed(lean_object* v___x_16102_, lean_object* v_sz_16103_, lean_object* v_i_16104_, lean_object* v_bs_16105_){ _start: { -size_t v_sz_boxed_16066_; size_t v_i_boxed_16067_; lean_object* v_res_16068_; -v_sz_boxed_16066_ = lean_unbox_usize(v_sz_16063_); -lean_dec(v_sz_16063_); -v_i_boxed_16067_ = lean_unbox_usize(v_i_16064_); -lean_dec(v_i_16064_); -v_res_16068_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(v___x_16062_, v_sz_boxed_16066_, v_i_boxed_16067_, v_bs_16065_); -return v_res_16068_; +size_t v_sz_boxed_16106_; size_t v_i_boxed_16107_; lean_object* v_res_16108_; +v_sz_boxed_16106_ = lean_unbox_usize(v_sz_16103_); +lean_dec(v_sz_16103_); +v_i_boxed_16107_ = lean_unbox_usize(v_i_16104_); +lean_dec(v_i_16104_); +v_res_16108_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(v___x_16102_, v_sz_boxed_16106_, v_i_boxed_16107_, v_bs_16105_); +return v_res_16108_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(size_t v_sz_16069_, size_t v_i_16070_, lean_object* v_bs_16071_, lean_object* v___y_16072_, lean_object* v___y_16073_, lean_object* v___y_16074_, lean_object* v___y_16075_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(size_t v_sz_16109_, size_t v_i_16110_, lean_object* v_bs_16111_, lean_object* v___y_16112_, lean_object* v___y_16113_, lean_object* v___y_16114_, lean_object* v___y_16115_){ _start: { -uint8_t v___x_16077_; -v___x_16077_ = lean_usize_dec_lt(v_i_16070_, v_sz_16069_); -if (v___x_16077_ == 0) +uint8_t v___x_16117_; +v___x_16117_ = lean_usize_dec_lt(v_i_16110_, v_sz_16109_); +if (v___x_16117_ == 0) { -lean_object* v___x_16078_; -lean_dec(v___y_16075_); -lean_dec_ref(v___y_16074_); -lean_dec(v___y_16073_); -lean_dec_ref(v___y_16072_); -v___x_16078_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16078_, 0, v_bs_16071_); -return v___x_16078_; -} -else -{ -lean_object* v_v_16079_; lean_object* v___x_16080_; -v_v_16079_ = lean_array_uget_borrowed(v_bs_16071_, v_i_16070_); -lean_inc(v___y_16075_); -lean_inc_ref(v___y_16074_); -lean_inc(v___y_16073_); -lean_inc_ref(v___y_16072_); -lean_inc(v_v_16079_); -v___x_16080_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___redArg(v_v_16079_, v___y_16072_, v___y_16073_, v___y_16074_, v___y_16075_); -if (lean_obj_tag(v___x_16080_) == 0) -{ -lean_object* v_a_16081_; lean_object* v___x_16082_; lean_object* v_bs_x27_16083_; size_t v___x_16084_; size_t v___x_16085_; lean_object* v___x_16086_; -v_a_16081_ = lean_ctor_get(v___x_16080_, 0); -lean_inc(v_a_16081_); -lean_dec_ref(v___x_16080_); -v___x_16082_ = lean_unsigned_to_nat(0u); -v_bs_x27_16083_ = lean_array_uset(v_bs_16071_, v_i_16070_, v___x_16082_); -v___x_16084_ = ((size_t)1ULL); -v___x_16085_ = lean_usize_add(v_i_16070_, v___x_16084_); -v___x_16086_ = lean_array_uset(v_bs_x27_16083_, v_i_16070_, v_a_16081_); -v_i_16070_ = v___x_16085_; -v_bs_16071_ = v___x_16086_; -goto _start; -} -else -{ -lean_object* v_a_16088_; lean_object* v___x_16090_; uint8_t v_isShared_16091_; uint8_t v_isSharedCheck_16095_; -lean_dec(v___y_16075_); -lean_dec_ref(v___y_16074_); -lean_dec(v___y_16073_); -lean_dec_ref(v___y_16072_); -lean_dec_ref(v_bs_16071_); -v_a_16088_ = lean_ctor_get(v___x_16080_, 0); -v_isSharedCheck_16095_ = !lean_is_exclusive(v___x_16080_); -if (v_isSharedCheck_16095_ == 0) -{ -v___x_16090_ = v___x_16080_; -v_isShared_16091_ = v_isSharedCheck_16095_; -goto v_resetjp_16089_; -} -else -{ -lean_inc(v_a_16088_); -lean_dec(v___x_16080_); -v___x_16090_ = lean_box(0); -v_isShared_16091_ = v_isSharedCheck_16095_; -goto v_resetjp_16089_; -} -v_resetjp_16089_: -{ -lean_object* v___x_16093_; -if (v_isShared_16091_ == 0) -{ -v___x_16093_ = v___x_16090_; -goto v_reusejp_16092_; -} -else -{ -lean_object* v_reuseFailAlloc_16094_; -v_reuseFailAlloc_16094_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16094_, 0, v_a_16088_); -v___x_16093_ = v_reuseFailAlloc_16094_; -goto v_reusejp_16092_; -} -v_reusejp_16092_: -{ -return v___x_16093_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg___boxed(lean_object* v_sz_16096_, lean_object* v_i_16097_, lean_object* v_bs_16098_, lean_object* v___y_16099_, lean_object* v___y_16100_, lean_object* v___y_16101_, lean_object* v___y_16102_, lean_object* v___y_16103_){ -_start: -{ -size_t v_sz_boxed_16104_; size_t v_i_boxed_16105_; lean_object* v_res_16106_; -v_sz_boxed_16104_ = lean_unbox_usize(v_sz_16096_); -lean_dec(v_sz_16096_); -v_i_boxed_16105_ = lean_unbox_usize(v_i_16097_); -lean_dec(v_i_16097_); -v_res_16106_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_boxed_16104_, v_i_boxed_16105_, v_bs_16098_, v___y_16099_, v___y_16100_, v___y_16101_, v___y_16102_); -return v_res_16106_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(size_t v_sz_16107_, size_t v_i_16108_, lean_object* v_bs_16109_, lean_object* v___y_16110_, lean_object* v___y_16111_, lean_object* v___y_16112_, lean_object* v___y_16113_){ -_start: -{ -uint8_t v___x_16115_; -v___x_16115_ = lean_usize_dec_lt(v_i_16108_, v_sz_16107_); -if (v___x_16115_ == 0) -{ -lean_object* v___x_16116_; +lean_object* v___x_16118_; +lean_dec(v___y_16115_); +lean_dec_ref(v___y_16114_); lean_dec(v___y_16113_); lean_dec_ref(v___y_16112_); -lean_dec(v___y_16111_); -lean_dec_ref(v___y_16110_); -v___x_16116_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16116_, 0, v_bs_16109_); -return v___x_16116_; +v___x_16118_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16118_, 0, v_bs_16111_); +return v___x_16118_; } else { -lean_object* v_v_16117_; lean_object* v___x_16118_; -v_v_16117_ = lean_array_uget_borrowed(v_bs_16109_, v_i_16108_); +lean_object* v_v_16119_; lean_object* v___x_16120_; +v_v_16119_ = lean_array_uget_borrowed(v_bs_16111_, v_i_16110_); +lean_inc(v___y_16115_); +lean_inc_ref(v___y_16114_); lean_inc(v___y_16113_); lean_inc_ref(v___y_16112_); -lean_inc(v___y_16111_); -lean_inc_ref(v___y_16110_); -lean_inc(v_v_16117_); -v___x_16118_ = l_Lean_Meta_instantiateMVarsProfiling(v_v_16117_, v___y_16110_, v___y_16111_, v___y_16112_, v___y_16113_); -if (lean_obj_tag(v___x_16118_) == 0) +lean_inc(v_v_16119_); +v___x_16120_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtHeader___redArg(v_v_16119_, v___y_16112_, v___y_16113_, v___y_16114_, v___y_16115_); +if (lean_obj_tag(v___x_16120_) == 0) { -lean_object* v_a_16119_; lean_object* v___x_16120_; lean_object* v_bs_x27_16121_; size_t v___x_16122_; size_t v___x_16123_; lean_object* v___x_16124_; -v_a_16119_ = lean_ctor_get(v___x_16118_, 0); -lean_inc(v_a_16119_); -lean_dec_ref(v___x_16118_); -v___x_16120_ = lean_unsigned_to_nat(0u); -v_bs_x27_16121_ = lean_array_uset(v_bs_16109_, v_i_16108_, v___x_16120_); -v___x_16122_ = ((size_t)1ULL); -v___x_16123_ = lean_usize_add(v_i_16108_, v___x_16122_); -v___x_16124_ = lean_array_uset(v_bs_x27_16121_, v_i_16108_, v_a_16119_); -v_i_16108_ = v___x_16123_; -v_bs_16109_ = v___x_16124_; +lean_object* v_a_16121_; lean_object* v___x_16122_; lean_object* v_bs_x27_16123_; size_t v___x_16124_; size_t v___x_16125_; lean_object* v___x_16126_; +v_a_16121_ = lean_ctor_get(v___x_16120_, 0); +lean_inc(v_a_16121_); +lean_dec_ref(v___x_16120_); +v___x_16122_ = lean_unsigned_to_nat(0u); +v_bs_x27_16123_ = lean_array_uset(v_bs_16111_, v_i_16110_, v___x_16122_); +v___x_16124_ = ((size_t)1ULL); +v___x_16125_ = lean_usize_add(v_i_16110_, v___x_16124_); +v___x_16126_ = lean_array_uset(v_bs_x27_16123_, v_i_16110_, v_a_16121_); +v_i_16110_ = v___x_16125_; +v_bs_16111_ = v___x_16126_; goto _start; } else { -lean_object* v_a_16126_; lean_object* v___x_16128_; uint8_t v_isShared_16129_; uint8_t v_isSharedCheck_16133_; +lean_object* v_a_16128_; lean_object* v___x_16130_; uint8_t v_isShared_16131_; uint8_t v_isSharedCheck_16135_; +lean_dec(v___y_16115_); +lean_dec_ref(v___y_16114_); lean_dec(v___y_16113_); lean_dec_ref(v___y_16112_); -lean_dec(v___y_16111_); -lean_dec_ref(v___y_16110_); -lean_dec_ref(v_bs_16109_); -v_a_16126_ = lean_ctor_get(v___x_16118_, 0); -v_isSharedCheck_16133_ = !lean_is_exclusive(v___x_16118_); -if (v_isSharedCheck_16133_ == 0) +lean_dec_ref(v_bs_16111_); +v_a_16128_ = lean_ctor_get(v___x_16120_, 0); +v_isSharedCheck_16135_ = !lean_is_exclusive(v___x_16120_); +if (v_isSharedCheck_16135_ == 0) { -v___x_16128_ = v___x_16118_; -v_isShared_16129_ = v_isSharedCheck_16133_; -goto v_resetjp_16127_; +v___x_16130_ = v___x_16120_; +v_isShared_16131_ = v_isSharedCheck_16135_; +goto v_resetjp_16129_; } else { -lean_inc(v_a_16126_); -lean_dec(v___x_16118_); -v___x_16128_ = lean_box(0); -v_isShared_16129_ = v_isSharedCheck_16133_; -goto v_resetjp_16127_; +lean_inc(v_a_16128_); +lean_dec(v___x_16120_); +v___x_16130_ = lean_box(0); +v_isShared_16131_ = v_isSharedCheck_16135_; +goto v_resetjp_16129_; } -v_resetjp_16127_: +v_resetjp_16129_: { -lean_object* v___x_16131_; -if (v_isShared_16129_ == 0) +lean_object* v___x_16133_; +if (v_isShared_16131_ == 0) { -v___x_16131_ = v___x_16128_; -goto v_reusejp_16130_; +v___x_16133_ = v___x_16130_; +goto v_reusejp_16132_; } else { -lean_object* v_reuseFailAlloc_16132_; -v_reuseFailAlloc_16132_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16132_, 0, v_a_16126_); -v___x_16131_ = v_reuseFailAlloc_16132_; -goto v_reusejp_16130_; +lean_object* v_reuseFailAlloc_16134_; +v_reuseFailAlloc_16134_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16134_, 0, v_a_16128_); +v___x_16133_ = v_reuseFailAlloc_16134_; +goto v_reusejp_16132_; } -v_reusejp_16130_: +v_reusejp_16132_: { -return v___x_16131_; +return v___x_16133_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg___boxed(lean_object* v_sz_16134_, lean_object* v_i_16135_, lean_object* v_bs_16136_, lean_object* v___y_16137_, lean_object* v___y_16138_, lean_object* v___y_16139_, lean_object* v___y_16140_, lean_object* v___y_16141_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg___boxed(lean_object* v_sz_16136_, lean_object* v_i_16137_, lean_object* v_bs_16138_, lean_object* v___y_16139_, lean_object* v___y_16140_, lean_object* v___y_16141_, lean_object* v___y_16142_, lean_object* v___y_16143_){ _start: { -size_t v_sz_boxed_16142_; size_t v_i_boxed_16143_; lean_object* v_res_16144_; -v_sz_boxed_16142_ = lean_unbox_usize(v_sz_16134_); -lean_dec(v_sz_16134_); -v_i_boxed_16143_ = lean_unbox_usize(v_i_16135_); -lean_dec(v_i_16135_); -v_res_16144_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_boxed_16142_, v_i_boxed_16143_, v_bs_16136_, v___y_16137_, v___y_16138_, v___y_16139_, v___y_16140_); -return v_res_16144_; +size_t v_sz_boxed_16144_; size_t v_i_boxed_16145_; lean_object* v_res_16146_; +v_sz_boxed_16144_ = lean_unbox_usize(v_sz_16136_); +lean_dec(v_sz_16136_); +v_i_boxed_16145_ = lean_unbox_usize(v_i_16137_); +lean_dec(v_i_16137_); +v_res_16146_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_boxed_16144_, v_i_boxed_16145_, v_bs_16138_, v___y_16139_, v___y_16140_, v___y_16141_, v___y_16142_); +return v_res_16146_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(size_t v_sz_16145_, size_t v_i_16146_, lean_object* v_bs_16147_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(size_t v_sz_16147_, size_t v_i_16148_, lean_object* v_bs_16149_, lean_object* v___y_16150_, lean_object* v___y_16151_, lean_object* v___y_16152_, lean_object* v___y_16153_){ _start: { -uint8_t v___x_16148_; -v___x_16148_ = lean_usize_dec_lt(v_i_16146_, v_sz_16145_); -if (v___x_16148_ == 0) +uint8_t v___x_16155_; +v___x_16155_ = lean_usize_dec_lt(v_i_16148_, v_sz_16147_); +if (v___x_16155_ == 0) { -return v_bs_16147_; +lean_object* v___x_16156_; +lean_dec(v___y_16153_); +lean_dec_ref(v___y_16152_); +lean_dec(v___y_16151_); +lean_dec_ref(v___y_16150_); +v___x_16156_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16156_, 0, v_bs_16149_); +return v___x_16156_; } else { -lean_object* v_v_16149_; lean_object* v___x_16150_; lean_object* v_bs_x27_16151_; lean_object* v___x_16152_; size_t v___x_16153_; size_t v___x_16154_; lean_object* v___x_16155_; -v_v_16149_ = lean_array_uget(v_bs_16147_, v_i_16146_); -v___x_16150_ = lean_unsigned_to_nat(0u); -v_bs_x27_16151_ = lean_array_uset(v_bs_16147_, v_i_16146_, v___x_16150_); -v___x_16152_ = l_Lean_Expr_fvarId_x21(v_v_16149_); -lean_dec(v_v_16149_); -v___x_16153_ = ((size_t)1ULL); -v___x_16154_ = lean_usize_add(v_i_16146_, v___x_16153_); -v___x_16155_ = lean_array_uset(v_bs_x27_16151_, v_i_16146_, v___x_16152_); -v_i_16146_ = v___x_16154_; -v_bs_16147_ = v___x_16155_; +lean_object* v_v_16157_; lean_object* v___x_16158_; +v_v_16157_ = lean_array_uget_borrowed(v_bs_16149_, v_i_16148_); +lean_inc(v___y_16153_); +lean_inc_ref(v___y_16152_); +lean_inc(v___y_16151_); +lean_inc_ref(v___y_16150_); +lean_inc(v_v_16157_); +v___x_16158_ = l_Lean_Meta_instantiateMVarsProfiling(v_v_16157_, v___y_16150_, v___y_16151_, v___y_16152_, v___y_16153_); +if (lean_obj_tag(v___x_16158_) == 0) +{ +lean_object* v_a_16159_; lean_object* v___x_16160_; lean_object* v_bs_x27_16161_; size_t v___x_16162_; size_t v___x_16163_; lean_object* v___x_16164_; +v_a_16159_ = lean_ctor_get(v___x_16158_, 0); +lean_inc(v_a_16159_); +lean_dec_ref(v___x_16158_); +v___x_16160_ = lean_unsigned_to_nat(0u); +v_bs_x27_16161_ = lean_array_uset(v_bs_16149_, v_i_16148_, v___x_16160_); +v___x_16162_ = ((size_t)1ULL); +v___x_16163_ = lean_usize_add(v_i_16148_, v___x_16162_); +v___x_16164_ = lean_array_uset(v_bs_x27_16161_, v_i_16148_, v_a_16159_); +v_i_16148_ = v___x_16163_; +v_bs_16149_ = v___x_16164_; +goto _start; +} +else +{ +lean_object* v_a_16166_; lean_object* v___x_16168_; uint8_t v_isShared_16169_; uint8_t v_isSharedCheck_16173_; +lean_dec(v___y_16153_); +lean_dec_ref(v___y_16152_); +lean_dec(v___y_16151_); +lean_dec_ref(v___y_16150_); +lean_dec_ref(v_bs_16149_); +v_a_16166_ = lean_ctor_get(v___x_16158_, 0); +v_isSharedCheck_16173_ = !lean_is_exclusive(v___x_16158_); +if (v_isSharedCheck_16173_ == 0) +{ +v___x_16168_ = v___x_16158_; +v_isShared_16169_ = v_isSharedCheck_16173_; +goto v_resetjp_16167_; +} +else +{ +lean_inc(v_a_16166_); +lean_dec(v___x_16158_); +v___x_16168_ = lean_box(0); +v_isShared_16169_ = v_isSharedCheck_16173_; +goto v_resetjp_16167_; +} +v_resetjp_16167_: +{ +lean_object* v___x_16171_; +if (v_isShared_16169_ == 0) +{ +v___x_16171_ = v___x_16168_; +goto v_reusejp_16170_; +} +else +{ +lean_object* v_reuseFailAlloc_16172_; +v_reuseFailAlloc_16172_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16172_, 0, v_a_16166_); +v___x_16171_ = v_reuseFailAlloc_16172_; +goto v_reusejp_16170_; +} +v_reusejp_16170_: +{ +return v___x_16171_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg___boxed(lean_object* v_sz_16174_, lean_object* v_i_16175_, lean_object* v_bs_16176_, lean_object* v___y_16177_, lean_object* v___y_16178_, lean_object* v___y_16179_, lean_object* v___y_16180_, lean_object* v___y_16181_){ +_start: +{ +size_t v_sz_boxed_16182_; size_t v_i_boxed_16183_; lean_object* v_res_16184_; +v_sz_boxed_16182_ = lean_unbox_usize(v_sz_16174_); +lean_dec(v_sz_16174_); +v_i_boxed_16183_ = lean_unbox_usize(v_i_16175_); +lean_dec(v_i_16175_); +v_res_16184_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_boxed_16182_, v_i_boxed_16183_, v_bs_16176_, v___y_16177_, v___y_16178_, v___y_16179_, v___y_16180_); +return v_res_16184_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(size_t v_sz_16185_, size_t v_i_16186_, lean_object* v_bs_16187_){ +_start: +{ +uint8_t v___x_16188_; +v___x_16188_ = lean_usize_dec_lt(v_i_16186_, v_sz_16185_); +if (v___x_16188_ == 0) +{ +return v_bs_16187_; +} +else +{ +lean_object* v_v_16189_; lean_object* v___x_16190_; lean_object* v_bs_x27_16191_; lean_object* v___x_16192_; size_t v___x_16193_; size_t v___x_16194_; lean_object* v___x_16195_; +v_v_16189_ = lean_array_uget(v_bs_16187_, v_i_16186_); +v___x_16190_ = lean_unsigned_to_nat(0u); +v_bs_x27_16191_ = lean_array_uset(v_bs_16187_, v_i_16186_, v___x_16190_); +v___x_16192_ = l_Lean_Expr_fvarId_x21(v_v_16189_); +lean_dec(v_v_16189_); +v___x_16193_ = ((size_t)1ULL); +v___x_16194_ = lean_usize_add(v_i_16186_, v___x_16193_); +v___x_16195_ = lean_array_uset(v_bs_x27_16191_, v_i_16186_, v___x_16192_); +v_i_16186_ = v___x_16194_; +v_bs_16187_ = v___x_16195_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1___boxed(lean_object* v_sz_16157_, lean_object* v_i_16158_, lean_object* v_bs_16159_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1___boxed(lean_object* v_sz_16197_, lean_object* v_i_16198_, lean_object* v_bs_16199_){ _start: { -size_t v_sz_boxed_16160_; size_t v_i_boxed_16161_; lean_object* v_res_16162_; -v_sz_boxed_16160_ = lean_unbox_usize(v_sz_16157_); -lean_dec(v_sz_16157_); -v_i_boxed_16161_ = lean_unbox_usize(v_i_16158_); -lean_dec(v_i_16158_); -v_res_16162_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(v_sz_boxed_16160_, v_i_boxed_16161_, v_bs_16159_); -return v_res_16162_; +size_t v_sz_boxed_16200_; size_t v_i_boxed_16201_; lean_object* v_res_16202_; +v_sz_boxed_16200_ = lean_unbox_usize(v_sz_16197_); +lean_dec(v_sz_16197_); +v_i_boxed_16201_ = lean_unbox_usize(v_i_16198_); +lean_dec(v_i_16198_); +v_res_16202_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(v_sz_boxed_16200_, v_i_boxed_16201_, v_bs_16199_); +return v_res_16202_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object* v_type_16163_, lean_object* v_val_16164_, lean_object* v_ref_16165_, lean_object* v_fvarId_16166_, lean_object* v_attrs_16167_, lean_object* v_shortDeclName_16168_, lean_object* v_declName_16169_, lean_object* v_parentName_x3f_16170_, lean_object* v_lctx_16171_, lean_object* v_localInstances_16172_, lean_object* v_mvarId_16173_, lean_object* v_termination_16174_, lean_object* v_binders_16175_, lean_object* v_docString_x3f_16176_, lean_object* v___y_16177_, lean_object* v___y_16178_, lean_object* v___y_16179_, lean_object* v___y_16180_, lean_object* v___y_16181_, lean_object* v___y_16182_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(lean_object* v_type_16203_, lean_object* v_val_16204_, lean_object* v_ref_16205_, lean_object* v_fvarId_16206_, lean_object* v_attrs_16207_, lean_object* v_shortDeclName_16208_, lean_object* v_declName_16209_, lean_object* v_parentName_x3f_16210_, lean_object* v_lctx_16211_, lean_object* v_localInstances_16212_, lean_object* v_mvarId_16213_, lean_object* v_termination_16214_, lean_object* v_binders_16215_, lean_object* v_docString_x3f_16216_, lean_object* v___y_16217_, lean_object* v___y_16218_, lean_object* v___y_16219_, lean_object* v___y_16220_, lean_object* v___y_16221_, lean_object* v___y_16222_){ _start: { -lean_object* v___x_16184_; -lean_inc(v___y_16182_); -lean_inc_ref(v___y_16181_); -lean_inc(v___y_16180_); -lean_inc_ref(v___y_16179_); -lean_inc_ref(v_type_16163_); -v___x_16184_ = l_Lean_Meta_check(v_type_16163_, v___y_16179_, v___y_16180_, v___y_16181_, v___y_16182_); -if (lean_obj_tag(v___x_16184_) == 0) +lean_object* v___x_16224_; +lean_inc(v___y_16222_); +lean_inc_ref(v___y_16221_); +lean_inc(v___y_16220_); +lean_inc_ref(v___y_16219_); +lean_inc_ref(v_type_16203_); +v___x_16224_ = l_Lean_Meta_check(v_type_16203_, v___y_16219_, v___y_16220_, v___y_16221_, v___y_16222_); +if (lean_obj_tag(v___x_16224_) == 0) { -lean_object* v___x_16185_; -lean_dec_ref(v___x_16184_); -lean_inc(v___y_16182_); -lean_inc_ref(v___y_16181_); -lean_inc(v___y_16180_); -lean_inc_ref(v___y_16179_); -lean_inc_ref(v_val_16164_); -v___x_16185_ = l_Lean_Meta_check(v_val_16164_, v___y_16179_, v___y_16180_, v___y_16181_, v___y_16182_); -if (lean_obj_tag(v___x_16185_) == 0) +lean_object* v___x_16225_; +lean_dec_ref(v___x_16224_); +lean_inc(v___y_16222_); +lean_inc_ref(v___y_16221_); +lean_inc(v___y_16220_); +lean_inc_ref(v___y_16219_); +lean_inc_ref(v_val_16204_); +v___x_16225_ = l_Lean_Meta_check(v_val_16204_, v___y_16219_, v___y_16220_, v___y_16221_, v___y_16222_); +if (lean_obj_tag(v___x_16225_) == 0) { -lean_object* v___x_16186_; -lean_dec_ref(v___x_16185_); -lean_inc(v___y_16182_); -lean_inc_ref(v___y_16181_); -lean_inc(v___y_16180_); -lean_inc_ref(v___y_16179_); -v___x_16186_ = l_Lean_Meta_instantiateMVarsProfiling(v_val_16164_, v___y_16179_, v___y_16180_, v___y_16181_, v___y_16182_); -if (lean_obj_tag(v___x_16186_) == 0) +lean_object* v___x_16226_; +lean_dec_ref(v___x_16225_); +lean_inc(v___y_16222_); +lean_inc_ref(v___y_16221_); +lean_inc(v___y_16220_); +lean_inc_ref(v___y_16219_); +v___x_16226_ = l_Lean_Meta_instantiateMVarsProfiling(v_val_16204_, v___y_16219_, v___y_16220_, v___y_16221_, v___y_16222_); +if (lean_obj_tag(v___x_16226_) == 0) { -lean_object* v_a_16187_; lean_object* v___x_16188_; -v_a_16187_ = lean_ctor_get(v___x_16186_, 0); -lean_inc(v_a_16187_); -lean_dec_ref(v___x_16186_); -v___x_16188_ = l_Lean_Meta_instantiateMVarsProfiling(v_type_16163_, v___y_16179_, v___y_16180_, v___y_16181_, v___y_16182_); -if (lean_obj_tag(v___x_16188_) == 0) +lean_object* v_a_16227_; lean_object* v___x_16228_; +v_a_16227_ = lean_ctor_get(v___x_16226_, 0); +lean_inc(v_a_16227_); +lean_dec_ref(v___x_16226_); +v___x_16228_ = l_Lean_Meta_instantiateMVarsProfiling(v_type_16203_, v___y_16219_, v___y_16220_, v___y_16221_, v___y_16222_); +if (lean_obj_tag(v___x_16228_) == 0) { -lean_object* v_a_16189_; lean_object* v___x_16191_; uint8_t v_isShared_16192_; uint8_t v_isSharedCheck_16197_; -v_a_16189_ = lean_ctor_get(v___x_16188_, 0); -v_isSharedCheck_16197_ = !lean_is_exclusive(v___x_16188_); -if (v_isSharedCheck_16197_ == 0) +lean_object* v_a_16229_; lean_object* v___x_16231_; uint8_t v_isShared_16232_; uint8_t v_isSharedCheck_16237_; +v_a_16229_ = lean_ctor_get(v___x_16228_, 0); +v_isSharedCheck_16237_ = !lean_is_exclusive(v___x_16228_); +if (v_isSharedCheck_16237_ == 0) { -v___x_16191_ = v___x_16188_; -v_isShared_16192_ = v_isSharedCheck_16197_; -goto v_resetjp_16190_; +v___x_16231_ = v___x_16228_; +v_isShared_16232_ = v_isSharedCheck_16237_; +goto v_resetjp_16230_; } else { -lean_inc(v_a_16189_); -lean_dec(v___x_16188_); -v___x_16191_ = lean_box(0); -v_isShared_16192_ = v_isSharedCheck_16197_; -goto v_resetjp_16190_; +lean_inc(v_a_16229_); +lean_dec(v___x_16228_); +v___x_16231_ = lean_box(0); +v_isShared_16232_ = v_isSharedCheck_16237_; +goto v_resetjp_16230_; } -v_resetjp_16190_: +v_resetjp_16230_: { -lean_object* v___x_16193_; lean_object* v___x_16195_; -v___x_16193_ = lean_alloc_ctor(0, 14, 0); -lean_ctor_set(v___x_16193_, 0, v_ref_16165_); -lean_ctor_set(v___x_16193_, 1, v_fvarId_16166_); -lean_ctor_set(v___x_16193_, 2, v_attrs_16167_); -lean_ctor_set(v___x_16193_, 3, v_shortDeclName_16168_); -lean_ctor_set(v___x_16193_, 4, v_declName_16169_); -lean_ctor_set(v___x_16193_, 5, v_parentName_x3f_16170_); -lean_ctor_set(v___x_16193_, 6, v_lctx_16171_); -lean_ctor_set(v___x_16193_, 7, v_localInstances_16172_); -lean_ctor_set(v___x_16193_, 8, v_a_16189_); -lean_ctor_set(v___x_16193_, 9, v_a_16187_); -lean_ctor_set(v___x_16193_, 10, v_mvarId_16173_); -lean_ctor_set(v___x_16193_, 11, v_termination_16174_); -lean_ctor_set(v___x_16193_, 12, v_binders_16175_); -lean_ctor_set(v___x_16193_, 13, v_docString_x3f_16176_); -if (v_isShared_16192_ == 0) +lean_object* v___x_16233_; lean_object* v___x_16235_; +v___x_16233_ = lean_alloc_ctor(0, 14, 0); +lean_ctor_set(v___x_16233_, 0, v_ref_16205_); +lean_ctor_set(v___x_16233_, 1, v_fvarId_16206_); +lean_ctor_set(v___x_16233_, 2, v_attrs_16207_); +lean_ctor_set(v___x_16233_, 3, v_shortDeclName_16208_); +lean_ctor_set(v___x_16233_, 4, v_declName_16209_); +lean_ctor_set(v___x_16233_, 5, v_parentName_x3f_16210_); +lean_ctor_set(v___x_16233_, 6, v_lctx_16211_); +lean_ctor_set(v___x_16233_, 7, v_localInstances_16212_); +lean_ctor_set(v___x_16233_, 8, v_a_16229_); +lean_ctor_set(v___x_16233_, 9, v_a_16227_); +lean_ctor_set(v___x_16233_, 10, v_mvarId_16213_); +lean_ctor_set(v___x_16233_, 11, v_termination_16214_); +lean_ctor_set(v___x_16233_, 12, v_binders_16215_); +lean_ctor_set(v___x_16233_, 13, v_docString_x3f_16216_); +if (v_isShared_16232_ == 0) { -lean_ctor_set(v___x_16191_, 0, v___x_16193_); -v___x_16195_ = v___x_16191_; -goto v_reusejp_16194_; +lean_ctor_set(v___x_16231_, 0, v___x_16233_); +v___x_16235_ = v___x_16231_; +goto v_reusejp_16234_; } else { -lean_object* v_reuseFailAlloc_16196_; -v_reuseFailAlloc_16196_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16196_, 0, v___x_16193_); -v___x_16195_ = v_reuseFailAlloc_16196_; -goto v_reusejp_16194_; +lean_object* v_reuseFailAlloc_16236_; +v_reuseFailAlloc_16236_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16236_, 0, v___x_16233_); +v___x_16235_ = v_reuseFailAlloc_16236_; +goto v_reusejp_16234_; } -v_reusejp_16194_: +v_reusejp_16234_: { -return v___x_16195_; +return v___x_16235_; } } } else { -lean_object* v_a_16198_; lean_object* v___x_16200_; uint8_t v_isShared_16201_; uint8_t v_isSharedCheck_16205_; -lean_dec(v_a_16187_); -lean_dec(v_docString_x3f_16176_); -lean_dec(v_binders_16175_); -lean_dec_ref(v_termination_16174_); -lean_dec(v_mvarId_16173_); -lean_dec_ref(v_localInstances_16172_); -lean_dec_ref(v_lctx_16171_); -lean_dec(v_parentName_x3f_16170_); -lean_dec(v_declName_16169_); -lean_dec(v_shortDeclName_16168_); -lean_dec_ref(v_attrs_16167_); -lean_dec(v_fvarId_16166_); -lean_dec(v_ref_16165_); -v_a_16198_ = lean_ctor_get(v___x_16188_, 0); -v_isSharedCheck_16205_ = !lean_is_exclusive(v___x_16188_); -if (v_isSharedCheck_16205_ == 0) +lean_object* v_a_16238_; lean_object* v___x_16240_; uint8_t v_isShared_16241_; uint8_t v_isSharedCheck_16245_; +lean_dec(v_a_16227_); +lean_dec(v_docString_x3f_16216_); +lean_dec(v_binders_16215_); +lean_dec_ref(v_termination_16214_); +lean_dec(v_mvarId_16213_); +lean_dec_ref(v_localInstances_16212_); +lean_dec_ref(v_lctx_16211_); +lean_dec(v_parentName_x3f_16210_); +lean_dec(v_declName_16209_); +lean_dec(v_shortDeclName_16208_); +lean_dec_ref(v_attrs_16207_); +lean_dec(v_fvarId_16206_); +lean_dec(v_ref_16205_); +v_a_16238_ = lean_ctor_get(v___x_16228_, 0); +v_isSharedCheck_16245_ = !lean_is_exclusive(v___x_16228_); +if (v_isSharedCheck_16245_ == 0) { -v___x_16200_ = v___x_16188_; -v_isShared_16201_ = v_isSharedCheck_16205_; -goto v_resetjp_16199_; +v___x_16240_ = v___x_16228_; +v_isShared_16241_ = v_isSharedCheck_16245_; +goto v_resetjp_16239_; } else { -lean_inc(v_a_16198_); -lean_dec(v___x_16188_); -v___x_16200_ = lean_box(0); -v_isShared_16201_ = v_isSharedCheck_16205_; -goto v_resetjp_16199_; +lean_inc(v_a_16238_); +lean_dec(v___x_16228_); +v___x_16240_ = lean_box(0); +v_isShared_16241_ = v_isSharedCheck_16245_; +goto v_resetjp_16239_; } -v_resetjp_16199_: +v_resetjp_16239_: { -lean_object* v___x_16203_; -if (v_isShared_16201_ == 0) +lean_object* v___x_16243_; +if (v_isShared_16241_ == 0) { -v___x_16203_ = v___x_16200_; -goto v_reusejp_16202_; +v___x_16243_ = v___x_16240_; +goto v_reusejp_16242_; } else { -lean_object* v_reuseFailAlloc_16204_; -v_reuseFailAlloc_16204_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16204_, 0, v_a_16198_); -v___x_16203_ = v_reuseFailAlloc_16204_; -goto v_reusejp_16202_; +lean_object* v_reuseFailAlloc_16244_; +v_reuseFailAlloc_16244_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16244_, 0, v_a_16238_); +v___x_16243_ = v_reuseFailAlloc_16244_; +goto v_reusejp_16242_; } -v_reusejp_16202_: +v_reusejp_16242_: { -return v___x_16203_; +return v___x_16243_; } } } } else { -lean_object* v_a_16206_; lean_object* v___x_16208_; uint8_t v_isShared_16209_; uint8_t v_isSharedCheck_16213_; -lean_dec(v___y_16182_); -lean_dec_ref(v___y_16181_); -lean_dec(v___y_16180_); -lean_dec_ref(v___y_16179_); -lean_dec(v_docString_x3f_16176_); -lean_dec(v_binders_16175_); -lean_dec_ref(v_termination_16174_); -lean_dec(v_mvarId_16173_); -lean_dec_ref(v_localInstances_16172_); -lean_dec_ref(v_lctx_16171_); -lean_dec(v_parentName_x3f_16170_); -lean_dec(v_declName_16169_); -lean_dec(v_shortDeclName_16168_); -lean_dec_ref(v_attrs_16167_); -lean_dec(v_fvarId_16166_); -lean_dec(v_ref_16165_); -lean_dec_ref(v_type_16163_); -v_a_16206_ = lean_ctor_get(v___x_16186_, 0); -v_isSharedCheck_16213_ = !lean_is_exclusive(v___x_16186_); -if (v_isSharedCheck_16213_ == 0) +lean_object* v_a_16246_; lean_object* v___x_16248_; uint8_t v_isShared_16249_; uint8_t v_isSharedCheck_16253_; +lean_dec(v___y_16222_); +lean_dec_ref(v___y_16221_); +lean_dec(v___y_16220_); +lean_dec_ref(v___y_16219_); +lean_dec(v_docString_x3f_16216_); +lean_dec(v_binders_16215_); +lean_dec_ref(v_termination_16214_); +lean_dec(v_mvarId_16213_); +lean_dec_ref(v_localInstances_16212_); +lean_dec_ref(v_lctx_16211_); +lean_dec(v_parentName_x3f_16210_); +lean_dec(v_declName_16209_); +lean_dec(v_shortDeclName_16208_); +lean_dec_ref(v_attrs_16207_); +lean_dec(v_fvarId_16206_); +lean_dec(v_ref_16205_); +lean_dec_ref(v_type_16203_); +v_a_16246_ = lean_ctor_get(v___x_16226_, 0); +v_isSharedCheck_16253_ = !lean_is_exclusive(v___x_16226_); +if (v_isSharedCheck_16253_ == 0) { -v___x_16208_ = v___x_16186_; -v_isShared_16209_ = v_isSharedCheck_16213_; -goto v_resetjp_16207_; +v___x_16248_ = v___x_16226_; +v_isShared_16249_ = v_isSharedCheck_16253_; +goto v_resetjp_16247_; } else { -lean_inc(v_a_16206_); -lean_dec(v___x_16186_); -v___x_16208_ = lean_box(0); -v_isShared_16209_ = v_isSharedCheck_16213_; -goto v_resetjp_16207_; +lean_inc(v_a_16246_); +lean_dec(v___x_16226_); +v___x_16248_ = lean_box(0); +v_isShared_16249_ = v_isSharedCheck_16253_; +goto v_resetjp_16247_; } -v_resetjp_16207_: +v_resetjp_16247_: { -lean_object* v___x_16211_; -if (v_isShared_16209_ == 0) +lean_object* v___x_16251_; +if (v_isShared_16249_ == 0) { -v___x_16211_ = v___x_16208_; -goto v_reusejp_16210_; +v___x_16251_ = v___x_16248_; +goto v_reusejp_16250_; } else { -lean_object* v_reuseFailAlloc_16212_; -v_reuseFailAlloc_16212_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16212_, 0, v_a_16206_); -v___x_16211_ = v_reuseFailAlloc_16212_; -goto v_reusejp_16210_; +lean_object* v_reuseFailAlloc_16252_; +v_reuseFailAlloc_16252_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16252_, 0, v_a_16246_); +v___x_16251_ = v_reuseFailAlloc_16252_; +goto v_reusejp_16250_; } -v_reusejp_16210_: +v_reusejp_16250_: { -return v___x_16211_; +return v___x_16251_; } } } } else { -lean_object* v_a_16214_; lean_object* v___x_16216_; uint8_t v_isShared_16217_; uint8_t v_isSharedCheck_16221_; -lean_dec(v___y_16182_); -lean_dec_ref(v___y_16181_); -lean_dec(v___y_16180_); -lean_dec_ref(v___y_16179_); -lean_dec(v_docString_x3f_16176_); -lean_dec(v_binders_16175_); -lean_dec_ref(v_termination_16174_); -lean_dec(v_mvarId_16173_); -lean_dec_ref(v_localInstances_16172_); -lean_dec_ref(v_lctx_16171_); -lean_dec(v_parentName_x3f_16170_); -lean_dec(v_declName_16169_); -lean_dec(v_shortDeclName_16168_); -lean_dec_ref(v_attrs_16167_); -lean_dec(v_fvarId_16166_); -lean_dec(v_ref_16165_); -lean_dec_ref(v_val_16164_); -lean_dec_ref(v_type_16163_); -v_a_16214_ = lean_ctor_get(v___x_16185_, 0); -v_isSharedCheck_16221_ = !lean_is_exclusive(v___x_16185_); -if (v_isSharedCheck_16221_ == 0) +lean_object* v_a_16254_; lean_object* v___x_16256_; uint8_t v_isShared_16257_; uint8_t v_isSharedCheck_16261_; +lean_dec(v___y_16222_); +lean_dec_ref(v___y_16221_); +lean_dec(v___y_16220_); +lean_dec_ref(v___y_16219_); +lean_dec(v_docString_x3f_16216_); +lean_dec(v_binders_16215_); +lean_dec_ref(v_termination_16214_); +lean_dec(v_mvarId_16213_); +lean_dec_ref(v_localInstances_16212_); +lean_dec_ref(v_lctx_16211_); +lean_dec(v_parentName_x3f_16210_); +lean_dec(v_declName_16209_); +lean_dec(v_shortDeclName_16208_); +lean_dec_ref(v_attrs_16207_); +lean_dec(v_fvarId_16206_); +lean_dec(v_ref_16205_); +lean_dec_ref(v_val_16204_); +lean_dec_ref(v_type_16203_); +v_a_16254_ = lean_ctor_get(v___x_16225_, 0); +v_isSharedCheck_16261_ = !lean_is_exclusive(v___x_16225_); +if (v_isSharedCheck_16261_ == 0) { -v___x_16216_ = v___x_16185_; -v_isShared_16217_ = v_isSharedCheck_16221_; -goto v_resetjp_16215_; +v___x_16256_ = v___x_16225_; +v_isShared_16257_ = v_isSharedCheck_16261_; +goto v_resetjp_16255_; } else { -lean_inc(v_a_16214_); -lean_dec(v___x_16185_); -v___x_16216_ = lean_box(0); -v_isShared_16217_ = v_isSharedCheck_16221_; -goto v_resetjp_16215_; +lean_inc(v_a_16254_); +lean_dec(v___x_16225_); +v___x_16256_ = lean_box(0); +v_isShared_16257_ = v_isSharedCheck_16261_; +goto v_resetjp_16255_; } -v_resetjp_16215_: +v_resetjp_16255_: { -lean_object* v___x_16219_; -if (v_isShared_16217_ == 0) +lean_object* v___x_16259_; +if (v_isShared_16257_ == 0) { -v___x_16219_ = v___x_16216_; -goto v_reusejp_16218_; +v___x_16259_ = v___x_16256_; +goto v_reusejp_16258_; } else { -lean_object* v_reuseFailAlloc_16220_; -v_reuseFailAlloc_16220_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16220_, 0, v_a_16214_); -v___x_16219_ = v_reuseFailAlloc_16220_; -goto v_reusejp_16218_; +lean_object* v_reuseFailAlloc_16260_; +v_reuseFailAlloc_16260_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16260_, 0, v_a_16254_); +v___x_16259_ = v_reuseFailAlloc_16260_; +goto v_reusejp_16258_; } -v_reusejp_16218_: +v_reusejp_16258_: { -return v___x_16219_; +return v___x_16259_; } } } } else { -lean_object* v_a_16222_; lean_object* v___x_16224_; uint8_t v_isShared_16225_; uint8_t v_isSharedCheck_16229_; -lean_dec(v___y_16182_); -lean_dec_ref(v___y_16181_); -lean_dec(v___y_16180_); -lean_dec_ref(v___y_16179_); -lean_dec(v_docString_x3f_16176_); -lean_dec(v_binders_16175_); -lean_dec_ref(v_termination_16174_); -lean_dec(v_mvarId_16173_); -lean_dec_ref(v_localInstances_16172_); -lean_dec_ref(v_lctx_16171_); -lean_dec(v_parentName_x3f_16170_); -lean_dec(v_declName_16169_); -lean_dec(v_shortDeclName_16168_); -lean_dec_ref(v_attrs_16167_); -lean_dec(v_fvarId_16166_); -lean_dec(v_ref_16165_); -lean_dec_ref(v_val_16164_); -lean_dec_ref(v_type_16163_); -v_a_16222_ = lean_ctor_get(v___x_16184_, 0); -v_isSharedCheck_16229_ = !lean_is_exclusive(v___x_16184_); -if (v_isSharedCheck_16229_ == 0) +lean_object* v_a_16262_; lean_object* v___x_16264_; uint8_t v_isShared_16265_; uint8_t v_isSharedCheck_16269_; +lean_dec(v___y_16222_); +lean_dec_ref(v___y_16221_); +lean_dec(v___y_16220_); +lean_dec_ref(v___y_16219_); +lean_dec(v_docString_x3f_16216_); +lean_dec(v_binders_16215_); +lean_dec_ref(v_termination_16214_); +lean_dec(v_mvarId_16213_); +lean_dec_ref(v_localInstances_16212_); +lean_dec_ref(v_lctx_16211_); +lean_dec(v_parentName_x3f_16210_); +lean_dec(v_declName_16209_); +lean_dec(v_shortDeclName_16208_); +lean_dec_ref(v_attrs_16207_); +lean_dec(v_fvarId_16206_); +lean_dec(v_ref_16205_); +lean_dec_ref(v_val_16204_); +lean_dec_ref(v_type_16203_); +v_a_16262_ = lean_ctor_get(v___x_16224_, 0); +v_isSharedCheck_16269_ = !lean_is_exclusive(v___x_16224_); +if (v_isSharedCheck_16269_ == 0) { -v___x_16224_ = v___x_16184_; -v_isShared_16225_ = v_isSharedCheck_16229_; -goto v_resetjp_16223_; +v___x_16264_ = v___x_16224_; +v_isShared_16265_ = v_isSharedCheck_16269_; +goto v_resetjp_16263_; } else { -lean_inc(v_a_16222_); -lean_dec(v___x_16184_); -v___x_16224_ = lean_box(0); -v_isShared_16225_ = v_isSharedCheck_16229_; -goto v_resetjp_16223_; +lean_inc(v_a_16262_); +lean_dec(v___x_16224_); +v___x_16264_ = lean_box(0); +v_isShared_16265_ = v_isSharedCheck_16269_; +goto v_resetjp_16263_; } -v_resetjp_16223_: +v_resetjp_16263_: { -lean_object* v___x_16227_; -if (v_isShared_16225_ == 0) +lean_object* v___x_16267_; +if (v_isShared_16265_ == 0) { -v___x_16227_ = v___x_16224_; -goto v_reusejp_16226_; +v___x_16267_ = v___x_16264_; +goto v_reusejp_16266_; } else { -lean_object* v_reuseFailAlloc_16228_; -v_reuseFailAlloc_16228_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16228_, 0, v_a_16222_); -v___x_16227_ = v_reuseFailAlloc_16228_; -goto v_reusejp_16226_; +lean_object* v_reuseFailAlloc_16268_; +v_reuseFailAlloc_16268_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16268_, 0, v_a_16262_); +v___x_16267_ = v_reuseFailAlloc_16268_; +goto v_reusejp_16266_; } -v_reusejp_16226_: +v_reusejp_16266_: { -return v___x_16227_; +return v___x_16267_; } } } } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0___boxed(lean_object** _args){ -lean_object* v_type_16230_ = _args[0]; -lean_object* v_val_16231_ = _args[1]; -lean_object* v_ref_16232_ = _args[2]; -lean_object* v_fvarId_16233_ = _args[3]; -lean_object* v_attrs_16234_ = _args[4]; -lean_object* v_shortDeclName_16235_ = _args[5]; -lean_object* v_declName_16236_ = _args[6]; -lean_object* v_parentName_x3f_16237_ = _args[7]; -lean_object* v_lctx_16238_ = _args[8]; -lean_object* v_localInstances_16239_ = _args[9]; -lean_object* v_mvarId_16240_ = _args[10]; -lean_object* v_termination_16241_ = _args[11]; -lean_object* v_binders_16242_ = _args[12]; -lean_object* v_docString_x3f_16243_ = _args[13]; -lean_object* v___y_16244_ = _args[14]; -lean_object* v___y_16245_ = _args[15]; -lean_object* v___y_16246_ = _args[16]; -lean_object* v___y_16247_ = _args[17]; -lean_object* v___y_16248_ = _args[18]; -lean_object* v___y_16249_ = _args[19]; -lean_object* v___y_16250_ = _args[20]; +lean_object* v_type_16270_ = _args[0]; +lean_object* v_val_16271_ = _args[1]; +lean_object* v_ref_16272_ = _args[2]; +lean_object* v_fvarId_16273_ = _args[3]; +lean_object* v_attrs_16274_ = _args[4]; +lean_object* v_shortDeclName_16275_ = _args[5]; +lean_object* v_declName_16276_ = _args[6]; +lean_object* v_parentName_x3f_16277_ = _args[7]; +lean_object* v_lctx_16278_ = _args[8]; +lean_object* v_localInstances_16279_ = _args[9]; +lean_object* v_mvarId_16280_ = _args[10]; +lean_object* v_termination_16281_ = _args[11]; +lean_object* v_binders_16282_ = _args[12]; +lean_object* v_docString_x3f_16283_ = _args[13]; +lean_object* v___y_16284_ = _args[14]; +lean_object* v___y_16285_ = _args[15]; +lean_object* v___y_16286_ = _args[16]; +lean_object* v___y_16287_ = _args[17]; +lean_object* v___y_16288_ = _args[18]; +lean_object* v___y_16289_ = _args[19]; +lean_object* v___y_16290_ = _args[20]; _start: { -lean_object* v_res_16251_; -v_res_16251_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(v_type_16230_, v_val_16231_, v_ref_16232_, v_fvarId_16233_, v_attrs_16234_, v_shortDeclName_16235_, v_declName_16236_, v_parentName_x3f_16237_, v_lctx_16238_, v_localInstances_16239_, v_mvarId_16240_, v_termination_16241_, v_binders_16242_, v_docString_x3f_16243_, v___y_16244_, v___y_16245_, v___y_16246_, v___y_16247_, v___y_16248_, v___y_16249_); -lean_dec(v___y_16245_); -lean_dec_ref(v___y_16244_); -return v_res_16251_; +lean_object* v_res_16291_; +v_res_16291_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0(v_type_16270_, v_val_16271_, v_ref_16272_, v_fvarId_16273_, v_attrs_16274_, v_shortDeclName_16275_, v_declName_16276_, v_parentName_x3f_16277_, v_lctx_16278_, v_localInstances_16279_, v_mvarId_16280_, v_termination_16281_, v_binders_16282_, v_docString_x3f_16283_, v___y_16284_, v___y_16285_, v___y_16286_, v___y_16287_, v___y_16288_, v___y_16289_); +lean_dec(v___y_16285_); +lean_dec_ref(v___y_16284_); +return v_res_16291_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(size_t v_sz_16252_, size_t v_i_16253_, lean_object* v_bs_16254_, lean_object* v___y_16255_, lean_object* v___y_16256_, lean_object* v___y_16257_, lean_object* v___y_16258_, lean_object* v___y_16259_, lean_object* v___y_16260_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(size_t v_sz_16292_, size_t v_i_16293_, lean_object* v_bs_16294_, lean_object* v___y_16295_, lean_object* v___y_16296_, lean_object* v___y_16297_, lean_object* v___y_16298_, lean_object* v___y_16299_, lean_object* v___y_16300_){ _start: { -uint8_t v___x_16262_; -v___x_16262_ = lean_usize_dec_lt(v_i_16253_, v_sz_16252_); -if (v___x_16262_ == 0) +uint8_t v___x_16302_; +v___x_16302_ = lean_usize_dec_lt(v_i_16293_, v_sz_16292_); +if (v___x_16302_ == 0) { -lean_object* v___x_16263_; -lean_dec(v___y_16260_); -lean_dec_ref(v___y_16259_); -lean_dec(v___y_16258_); -lean_dec_ref(v___y_16257_); -lean_dec(v___y_16256_); -lean_dec_ref(v___y_16255_); -v___x_16263_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16263_, 0, v_bs_16254_); -return v___x_16263_; +lean_object* v___x_16303_; +lean_dec(v___y_16300_); +lean_dec_ref(v___y_16299_); +lean_dec(v___y_16298_); +lean_dec_ref(v___y_16297_); +lean_dec(v___y_16296_); +lean_dec_ref(v___y_16295_); +v___x_16303_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16303_, 0, v_bs_16294_); +return v___x_16303_; } else { -lean_object* v_v_16264_; lean_object* v_ref_16265_; lean_object* v_fvarId_16266_; lean_object* v_attrs_16267_; lean_object* v_shortDeclName_16268_; lean_object* v_declName_16269_; lean_object* v_parentName_x3f_16270_; lean_object* v_lctx_16271_; lean_object* v_localInstances_16272_; lean_object* v_type_16273_; lean_object* v_val_16274_; lean_object* v_mvarId_16275_; lean_object* v_termination_16276_; lean_object* v_binders_16277_; lean_object* v_docString_x3f_16278_; lean_object* v___f_16279_; lean_object* v___x_16280_; -v_v_16264_ = lean_array_uget_borrowed(v_bs_16254_, v_i_16253_); -v_ref_16265_ = lean_ctor_get(v_v_16264_, 0); -v_fvarId_16266_ = lean_ctor_get(v_v_16264_, 1); -v_attrs_16267_ = lean_ctor_get(v_v_16264_, 2); -v_shortDeclName_16268_ = lean_ctor_get(v_v_16264_, 3); -v_declName_16269_ = lean_ctor_get(v_v_16264_, 4); -v_parentName_x3f_16270_ = lean_ctor_get(v_v_16264_, 5); -v_lctx_16271_ = lean_ctor_get(v_v_16264_, 6); -v_localInstances_16272_ = lean_ctor_get(v_v_16264_, 7); -v_type_16273_ = lean_ctor_get(v_v_16264_, 8); -v_val_16274_ = lean_ctor_get(v_v_16264_, 9); -v_mvarId_16275_ = lean_ctor_get(v_v_16264_, 10); -v_termination_16276_ = lean_ctor_get(v_v_16264_, 11); -v_binders_16277_ = lean_ctor_get(v_v_16264_, 12); -v_docString_x3f_16278_ = lean_ctor_get(v_v_16264_, 13); -lean_inc(v_docString_x3f_16278_); -lean_inc(v_binders_16277_); -lean_inc_ref(v_termination_16276_); -lean_inc(v_mvarId_16275_); -lean_inc_ref(v_localInstances_16272_); -lean_inc_ref(v_lctx_16271_); -lean_inc(v_parentName_x3f_16270_); -lean_inc(v_declName_16269_); -lean_inc(v_shortDeclName_16268_); -lean_inc_ref(v_attrs_16267_); -lean_inc(v_fvarId_16266_); -lean_inc(v_ref_16265_); -lean_inc_ref(v_val_16274_); -lean_inc_ref(v_type_16273_); -v___f_16279_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0___boxed), 21, 14); -lean_closure_set(v___f_16279_, 0, v_type_16273_); -lean_closure_set(v___f_16279_, 1, v_val_16274_); -lean_closure_set(v___f_16279_, 2, v_ref_16265_); -lean_closure_set(v___f_16279_, 3, v_fvarId_16266_); -lean_closure_set(v___f_16279_, 4, v_attrs_16267_); -lean_closure_set(v___f_16279_, 5, v_shortDeclName_16268_); -lean_closure_set(v___f_16279_, 6, v_declName_16269_); -lean_closure_set(v___f_16279_, 7, v_parentName_x3f_16270_); -lean_closure_set(v___f_16279_, 8, v_lctx_16271_); -lean_closure_set(v___f_16279_, 9, v_localInstances_16272_); -lean_closure_set(v___f_16279_, 10, v_mvarId_16275_); -lean_closure_set(v___f_16279_, 11, v_termination_16276_); -lean_closure_set(v___f_16279_, 12, v_binders_16277_); -lean_closure_set(v___f_16279_, 13, v_docString_x3f_16278_); -lean_inc(v___y_16260_); -lean_inc_ref(v___y_16259_); -lean_inc(v___y_16258_); -lean_inc_ref(v___y_16257_); -lean_inc(v___y_16256_); -lean_inc_ref(v___y_16255_); -lean_inc_ref(v_localInstances_16272_); -lean_inc_ref(v_lctx_16271_); -v___x_16280_ = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(v_lctx_16271_, v_localInstances_16272_, v___f_16279_, v___y_16255_, v___y_16256_, v___y_16257_, v___y_16258_, v___y_16259_, v___y_16260_); -if (lean_obj_tag(v___x_16280_) == 0) +lean_object* v_v_16304_; lean_object* v_ref_16305_; lean_object* v_fvarId_16306_; lean_object* v_attrs_16307_; lean_object* v_shortDeclName_16308_; lean_object* v_declName_16309_; lean_object* v_parentName_x3f_16310_; lean_object* v_lctx_16311_; lean_object* v_localInstances_16312_; lean_object* v_type_16313_; lean_object* v_val_16314_; lean_object* v_mvarId_16315_; lean_object* v_termination_16316_; lean_object* v_binders_16317_; lean_object* v_docString_x3f_16318_; lean_object* v___f_16319_; lean_object* v___x_16320_; +v_v_16304_ = lean_array_uget_borrowed(v_bs_16294_, v_i_16293_); +v_ref_16305_ = lean_ctor_get(v_v_16304_, 0); +v_fvarId_16306_ = lean_ctor_get(v_v_16304_, 1); +v_attrs_16307_ = lean_ctor_get(v_v_16304_, 2); +v_shortDeclName_16308_ = lean_ctor_get(v_v_16304_, 3); +v_declName_16309_ = lean_ctor_get(v_v_16304_, 4); +v_parentName_x3f_16310_ = lean_ctor_get(v_v_16304_, 5); +v_lctx_16311_ = lean_ctor_get(v_v_16304_, 6); +v_localInstances_16312_ = lean_ctor_get(v_v_16304_, 7); +v_type_16313_ = lean_ctor_get(v_v_16304_, 8); +v_val_16314_ = lean_ctor_get(v_v_16304_, 9); +v_mvarId_16315_ = lean_ctor_get(v_v_16304_, 10); +v_termination_16316_ = lean_ctor_get(v_v_16304_, 11); +v_binders_16317_ = lean_ctor_get(v_v_16304_, 12); +v_docString_x3f_16318_ = lean_ctor_get(v_v_16304_, 13); +lean_inc(v_docString_x3f_16318_); +lean_inc(v_binders_16317_); +lean_inc_ref(v_termination_16316_); +lean_inc(v_mvarId_16315_); +lean_inc_ref(v_localInstances_16312_); +lean_inc_ref(v_lctx_16311_); +lean_inc(v_parentName_x3f_16310_); +lean_inc(v_declName_16309_); +lean_inc(v_shortDeclName_16308_); +lean_inc_ref(v_attrs_16307_); +lean_inc(v_fvarId_16306_); +lean_inc(v_ref_16305_); +lean_inc_ref(v_val_16314_); +lean_inc_ref(v_type_16313_); +v___f_16319_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___lam__0___boxed), 21, 14); +lean_closure_set(v___f_16319_, 0, v_type_16313_); +lean_closure_set(v___f_16319_, 1, v_val_16314_); +lean_closure_set(v___f_16319_, 2, v_ref_16305_); +lean_closure_set(v___f_16319_, 3, v_fvarId_16306_); +lean_closure_set(v___f_16319_, 4, v_attrs_16307_); +lean_closure_set(v___f_16319_, 5, v_shortDeclName_16308_); +lean_closure_set(v___f_16319_, 6, v_declName_16309_); +lean_closure_set(v___f_16319_, 7, v_parentName_x3f_16310_); +lean_closure_set(v___f_16319_, 8, v_lctx_16311_); +lean_closure_set(v___f_16319_, 9, v_localInstances_16312_); +lean_closure_set(v___f_16319_, 10, v_mvarId_16315_); +lean_closure_set(v___f_16319_, 11, v_termination_16316_); +lean_closure_set(v___f_16319_, 12, v_binders_16317_); +lean_closure_set(v___f_16319_, 13, v_docString_x3f_16318_); +lean_inc(v___y_16300_); +lean_inc_ref(v___y_16299_); +lean_inc(v___y_16298_); +lean_inc_ref(v___y_16297_); +lean_inc(v___y_16296_); +lean_inc_ref(v___y_16295_); +lean_inc_ref(v_localInstances_16312_); +lean_inc_ref(v_lctx_16311_); +v___x_16320_ = l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___redArg(v_lctx_16311_, v_localInstances_16312_, v___f_16319_, v___y_16295_, v___y_16296_, v___y_16297_, v___y_16298_, v___y_16299_, v___y_16300_); +if (lean_obj_tag(v___x_16320_) == 0) { -lean_object* v_a_16281_; lean_object* v___x_16282_; lean_object* v_bs_x27_16283_; size_t v___x_16284_; size_t v___x_16285_; lean_object* v___x_16286_; -v_a_16281_ = lean_ctor_get(v___x_16280_, 0); -lean_inc(v_a_16281_); -lean_dec_ref(v___x_16280_); -v___x_16282_ = lean_unsigned_to_nat(0u); -v_bs_x27_16283_ = lean_array_uset(v_bs_16254_, v_i_16253_, v___x_16282_); -v___x_16284_ = ((size_t)1ULL); -v___x_16285_ = lean_usize_add(v_i_16253_, v___x_16284_); -v___x_16286_ = lean_array_uset(v_bs_x27_16283_, v_i_16253_, v_a_16281_); -v_i_16253_ = v___x_16285_; -v_bs_16254_ = v___x_16286_; +lean_object* v_a_16321_; lean_object* v___x_16322_; lean_object* v_bs_x27_16323_; size_t v___x_16324_; size_t v___x_16325_; lean_object* v___x_16326_; +v_a_16321_ = lean_ctor_get(v___x_16320_, 0); +lean_inc(v_a_16321_); +lean_dec_ref(v___x_16320_); +v___x_16322_ = lean_unsigned_to_nat(0u); +v_bs_x27_16323_ = lean_array_uset(v_bs_16294_, v_i_16293_, v___x_16322_); +v___x_16324_ = ((size_t)1ULL); +v___x_16325_ = lean_usize_add(v_i_16293_, v___x_16324_); +v___x_16326_ = lean_array_uset(v_bs_x27_16323_, v_i_16293_, v_a_16321_); +v_i_16293_ = v___x_16325_; +v_bs_16294_ = v___x_16326_; goto _start; } else { -lean_object* v_a_16288_; lean_object* v___x_16290_; uint8_t v_isShared_16291_; uint8_t v_isSharedCheck_16295_; -lean_dec(v___y_16260_); -lean_dec_ref(v___y_16259_); -lean_dec(v___y_16258_); -lean_dec_ref(v___y_16257_); -lean_dec(v___y_16256_); -lean_dec_ref(v___y_16255_); -lean_dec_ref(v_bs_16254_); -v_a_16288_ = lean_ctor_get(v___x_16280_, 0); -v_isSharedCheck_16295_ = !lean_is_exclusive(v___x_16280_); -if (v_isSharedCheck_16295_ == 0) +lean_object* v_a_16328_; lean_object* v___x_16330_; uint8_t v_isShared_16331_; uint8_t v_isSharedCheck_16335_; +lean_dec(v___y_16300_); +lean_dec_ref(v___y_16299_); +lean_dec(v___y_16298_); +lean_dec_ref(v___y_16297_); +lean_dec(v___y_16296_); +lean_dec_ref(v___y_16295_); +lean_dec_ref(v_bs_16294_); +v_a_16328_ = lean_ctor_get(v___x_16320_, 0); +v_isSharedCheck_16335_ = !lean_is_exclusive(v___x_16320_); +if (v_isSharedCheck_16335_ == 0) { -v___x_16290_ = v___x_16280_; -v_isShared_16291_ = v_isSharedCheck_16295_; -goto v_resetjp_16289_; +v___x_16330_ = v___x_16320_; +v_isShared_16331_ = v_isSharedCheck_16335_; +goto v_resetjp_16329_; } else { -lean_inc(v_a_16288_); -lean_dec(v___x_16280_); -v___x_16290_ = lean_box(0); -v_isShared_16291_ = v_isSharedCheck_16295_; -goto v_resetjp_16289_; +lean_inc(v_a_16328_); +lean_dec(v___x_16320_); +v___x_16330_ = lean_box(0); +v_isShared_16331_ = v_isSharedCheck_16335_; +goto v_resetjp_16329_; } -v_resetjp_16289_: +v_resetjp_16329_: { -lean_object* v___x_16293_; -if (v_isShared_16291_ == 0) +lean_object* v___x_16333_; +if (v_isShared_16331_ == 0) { -v___x_16293_ = v___x_16290_; -goto v_reusejp_16292_; +v___x_16333_ = v___x_16330_; +goto v_reusejp_16332_; } else { -lean_object* v_reuseFailAlloc_16294_; -v_reuseFailAlloc_16294_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16294_, 0, v_a_16288_); -v___x_16293_ = v_reuseFailAlloc_16294_; -goto v_reusejp_16292_; +lean_object* v_reuseFailAlloc_16334_; +v_reuseFailAlloc_16334_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16334_, 0, v_a_16328_); +v___x_16333_ = v_reuseFailAlloc_16334_; +goto v_reusejp_16332_; } -v_reusejp_16292_: +v_reusejp_16332_: { -return v___x_16293_; +return v___x_16333_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___boxed(lean_object* v_sz_16296_, lean_object* v_i_16297_, lean_object* v_bs_16298_, lean_object* v___y_16299_, lean_object* v___y_16300_, lean_object* v___y_16301_, lean_object* v___y_16302_, lean_object* v___y_16303_, lean_object* v___y_16304_, lean_object* v___y_16305_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0___boxed(lean_object* v_sz_16336_, lean_object* v_i_16337_, lean_object* v_bs_16338_, lean_object* v___y_16339_, lean_object* v___y_16340_, lean_object* v___y_16341_, lean_object* v___y_16342_, lean_object* v___y_16343_, lean_object* v___y_16344_, lean_object* v___y_16345_){ _start: { -size_t v_sz_boxed_16306_; size_t v_i_boxed_16307_; lean_object* v_res_16308_; -v_sz_boxed_16306_ = lean_unbox_usize(v_sz_16296_); -lean_dec(v_sz_16296_); -v_i_boxed_16307_ = lean_unbox_usize(v_i_16297_); -lean_dec(v_i_16297_); -v_res_16308_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(v_sz_boxed_16306_, v_i_boxed_16307_, v_bs_16298_, v___y_16299_, v___y_16300_, v___y_16301_, v___y_16302_, v___y_16303_, v___y_16304_); -return v_res_16308_; +size_t v_sz_boxed_16346_; size_t v_i_boxed_16347_; lean_object* v_res_16348_; +v_sz_boxed_16346_ = lean_unbox_usize(v_sz_16336_); +lean_dec(v_sz_16336_); +v_i_boxed_16347_ = lean_unbox_usize(v_i_16337_); +lean_dec(v_i_16337_); +v_res_16348_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(v_sz_boxed_16346_, v_i_boxed_16347_, v_bs_16338_, v___y_16339_, v___y_16340_, v___y_16341_, v___y_16342_, v___y_16343_, v___y_16344_); +return v_res_16348_; } } static lean_object* _init_l_Lean_Elab_Term_MutualClosure_main___closed__0(void){ _start: { -lean_object* v___x_16309_; -v___x_16309_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_16309_; +lean_object* v___x_16349_; +v___x_16349_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_16349_; } } static lean_object* _init_l_Lean_Elab_Term_MutualClosure_main___closed__1(void){ _start: { -lean_object* v___x_16310_; lean_object* v___x_16311_; -v___x_16310_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__0, &l_Lean_Elab_Term_MutualClosure_main___closed__0_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__0); -v___x_16311_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16311_, 0, v___x_16310_); -return v___x_16311_; +lean_object* v___x_16350_; lean_object* v___x_16351_; +v___x_16350_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__0, &l_Lean_Elab_Term_MutualClosure_main___closed__0_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__0); +v___x_16351_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16351_, 0, v___x_16350_); +return v___x_16351_; } } static lean_object* _init_l_Lean_Elab_Term_MutualClosure_main___closed__2(void){ _start: { -lean_object* v___x_16312_; lean_object* v___x_16313_; -v___x_16312_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__1, &l_Lean_Elab_Term_MutualClosure_main___closed__1_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__1); -v___x_16313_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_16313_, 0, v___x_16312_); -lean_ctor_set(v___x_16313_, 1, v___x_16312_); -lean_ctor_set(v___x_16313_, 2, v___x_16312_); -lean_ctor_set(v___x_16313_, 3, v___x_16312_); -lean_ctor_set(v___x_16313_, 4, v___x_16312_); -lean_ctor_set(v___x_16313_, 5, v___x_16312_); -return v___x_16313_; +lean_object* v___x_16352_; lean_object* v___x_16353_; +v___x_16352_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__1, &l_Lean_Elab_Term_MutualClosure_main___closed__1_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__1); +v___x_16353_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_16353_, 0, v___x_16352_); +lean_ctor_set(v___x_16353_, 1, v___x_16352_); +lean_ctor_set(v___x_16353_, 2, v___x_16352_); +lean_ctor_set(v___x_16353_, 3, v___x_16352_); +lean_ctor_set(v___x_16353_, 4, v___x_16352_); +lean_ctor_set(v___x_16353_, 5, v___x_16352_); +return v___x_16353_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main(lean_object* v_sectionVars_16316_, lean_object* v_mainHeaders_16317_, lean_object* v_mainFVars_16318_, lean_object* v_mainVals_16319_, lean_object* v_letRecsToLift_16320_, lean_object* v_a_16321_, lean_object* v_a_16322_, lean_object* v_a_16323_, lean_object* v_a_16324_, lean_object* v_a_16325_, lean_object* v_a_16326_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main(lean_object* v_sectionVars_16356_, lean_object* v_mainHeaders_16357_, lean_object* v_mainFVars_16358_, lean_object* v_mainVals_16359_, lean_object* v_letRecsToLift_16360_, lean_object* v_a_16361_, lean_object* v_a_16362_, lean_object* v_a_16363_, lean_object* v_a_16364_, lean_object* v_a_16365_, lean_object* v_a_16366_){ _start: { -lean_object* v___x_16328_; lean_object* v___x_16329_; lean_object* v_mctx_16330_; lean_object* v_zetaDeltaFVarIds_16331_; lean_object* v_postponed_16332_; lean_object* v_diag_16333_; lean_object* v___x_16335_; uint8_t v_isShared_16336_; uint8_t v_isSharedCheck_16451_; -v___x_16328_ = lean_st_ref_get(v_a_16324_); -v___x_16329_ = lean_st_ref_take(v_a_16324_); -v_mctx_16330_ = lean_ctor_get(v___x_16329_, 0); -v_zetaDeltaFVarIds_16331_ = lean_ctor_get(v___x_16329_, 2); -v_postponed_16332_ = lean_ctor_get(v___x_16329_, 3); -v_diag_16333_ = lean_ctor_get(v___x_16329_, 4); -v_isSharedCheck_16451_ = !lean_is_exclusive(v___x_16329_); -if (v_isSharedCheck_16451_ == 0) +lean_object* v___x_16368_; lean_object* v___x_16369_; lean_object* v_mctx_16370_; lean_object* v_zetaDeltaFVarIds_16371_; lean_object* v_postponed_16372_; lean_object* v_diag_16373_; lean_object* v___x_16375_; uint8_t v_isShared_16376_; uint8_t v_isSharedCheck_16491_; +v___x_16368_ = lean_st_ref_get(v_a_16364_); +v___x_16369_ = lean_st_ref_take(v_a_16364_); +v_mctx_16370_ = lean_ctor_get(v___x_16369_, 0); +v_zetaDeltaFVarIds_16371_ = lean_ctor_get(v___x_16369_, 2); +v_postponed_16372_ = lean_ctor_get(v___x_16369_, 3); +v_diag_16373_ = lean_ctor_get(v___x_16369_, 4); +v_isSharedCheck_16491_ = !lean_is_exclusive(v___x_16369_); +if (v_isSharedCheck_16491_ == 0) { -lean_object* v_unused_16452_; -v_unused_16452_ = lean_ctor_get(v___x_16329_, 1); -lean_dec(v_unused_16452_); -v___x_16335_ = v___x_16329_; -v_isShared_16336_ = v_isSharedCheck_16451_; -goto v_resetjp_16334_; +lean_object* v_unused_16492_; +v_unused_16492_ = lean_ctor_get(v___x_16369_, 1); +lean_dec(v_unused_16492_); +v___x_16375_ = v___x_16369_; +v_isShared_16376_ = v_isSharedCheck_16491_; +goto v_resetjp_16374_; } else { -lean_inc(v_diag_16333_); -lean_inc(v_postponed_16332_); -lean_inc(v_zetaDeltaFVarIds_16331_); -lean_inc(v_mctx_16330_); -lean_dec(v___x_16329_); -v___x_16335_ = lean_box(0); -v_isShared_16336_ = v_isSharedCheck_16451_; -goto v_resetjp_16334_; +lean_inc(v_diag_16373_); +lean_inc(v_postponed_16372_); +lean_inc(v_zetaDeltaFVarIds_16371_); +lean_inc(v_mctx_16370_); +lean_dec(v___x_16369_); +v___x_16375_ = lean_box(0); +v_isShared_16376_ = v_isSharedCheck_16491_; +goto v_resetjp_16374_; } -v_resetjp_16334_: +v_resetjp_16374_: { -lean_object* v___x_16337_; lean_object* v___x_16339_; -v___x_16337_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__2, &l_Lean_Elab_Term_MutualClosure_main___closed__2_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__2); -if (v_isShared_16336_ == 0) +lean_object* v___x_16377_; lean_object* v___x_16379_; +v___x_16377_ = lean_obj_once(&l_Lean_Elab_Term_MutualClosure_main___closed__2, &l_Lean_Elab_Term_MutualClosure_main___closed__2_once, _init_l_Lean_Elab_Term_MutualClosure_main___closed__2); +if (v_isShared_16376_ == 0) { -lean_ctor_set(v___x_16335_, 1, v___x_16337_); -v___x_16339_ = v___x_16335_; -goto v_reusejp_16338_; +lean_ctor_set(v___x_16375_, 1, v___x_16377_); +v___x_16379_ = v___x_16375_; +goto v_reusejp_16378_; } else { -lean_object* v_reuseFailAlloc_16450_; -v_reuseFailAlloc_16450_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_16450_, 0, v_mctx_16330_); -lean_ctor_set(v_reuseFailAlloc_16450_, 1, v___x_16337_); -lean_ctor_set(v_reuseFailAlloc_16450_, 2, v_zetaDeltaFVarIds_16331_); -lean_ctor_set(v_reuseFailAlloc_16450_, 3, v_postponed_16332_); -lean_ctor_set(v_reuseFailAlloc_16450_, 4, v_diag_16333_); -v___x_16339_ = v_reuseFailAlloc_16450_; -goto v_reusejp_16338_; +lean_object* v_reuseFailAlloc_16490_; +v_reuseFailAlloc_16490_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_16490_, 0, v_mctx_16370_); +lean_ctor_set(v_reuseFailAlloc_16490_, 1, v___x_16377_); +lean_ctor_set(v_reuseFailAlloc_16490_, 2, v_zetaDeltaFVarIds_16371_); +lean_ctor_set(v_reuseFailAlloc_16490_, 3, v_postponed_16372_); +lean_ctor_set(v_reuseFailAlloc_16490_, 4, v_diag_16373_); +v___x_16379_ = v_reuseFailAlloc_16490_; +goto v_reusejp_16378_; } -v_reusejp_16338_: +v_reusejp_16378_: { -lean_object* v___x_16340_; lean_object* v___x_16341_; lean_object* v_mctx_16342_; lean_object* v_cache_16343_; lean_object* v_zetaDeltaFVarIds_16344_; lean_object* v_postponed_16345_; lean_object* v_diag_16346_; lean_object* v___x_16348_; uint8_t v_isShared_16349_; uint8_t v_isSharedCheck_16449_; -v___x_16340_ = lean_st_ref_set(v_a_16324_, v___x_16339_); -v___x_16341_ = lean_st_ref_take(v_a_16324_); -v_mctx_16342_ = lean_ctor_get(v___x_16341_, 0); -v_cache_16343_ = lean_ctor_get(v___x_16341_, 1); -v_zetaDeltaFVarIds_16344_ = lean_ctor_get(v___x_16341_, 2); -v_postponed_16345_ = lean_ctor_get(v___x_16341_, 3); -v_diag_16346_ = lean_ctor_get(v___x_16341_, 4); -v_isSharedCheck_16449_ = !lean_is_exclusive(v___x_16341_); -if (v_isSharedCheck_16449_ == 0) +lean_object* v___x_16380_; lean_object* v___x_16381_; lean_object* v_mctx_16382_; lean_object* v_cache_16383_; lean_object* v_zetaDeltaFVarIds_16384_; lean_object* v_postponed_16385_; lean_object* v_diag_16386_; lean_object* v___x_16388_; uint8_t v_isShared_16389_; uint8_t v_isSharedCheck_16489_; +v___x_16380_ = lean_st_ref_set(v_a_16364_, v___x_16379_); +v___x_16381_ = lean_st_ref_take(v_a_16364_); +v_mctx_16382_ = lean_ctor_get(v___x_16381_, 0); +v_cache_16383_ = lean_ctor_get(v___x_16381_, 1); +v_zetaDeltaFVarIds_16384_ = lean_ctor_get(v___x_16381_, 2); +v_postponed_16385_ = lean_ctor_get(v___x_16381_, 3); +v_diag_16386_ = lean_ctor_get(v___x_16381_, 4); +v_isSharedCheck_16489_ = !lean_is_exclusive(v___x_16381_); +if (v_isSharedCheck_16489_ == 0) { -v___x_16348_ = v___x_16341_; -v_isShared_16349_ = v_isSharedCheck_16449_; -goto v_resetjp_16347_; +v___x_16388_ = v___x_16381_; +v_isShared_16389_ = v_isSharedCheck_16489_; +goto v_resetjp_16387_; } else { -lean_inc(v_diag_16346_); -lean_inc(v_postponed_16345_); -lean_inc(v_zetaDeltaFVarIds_16344_); -lean_inc(v_cache_16343_); -lean_inc(v_mctx_16342_); -lean_dec(v___x_16341_); -v___x_16348_ = lean_box(0); -v_isShared_16349_ = v_isSharedCheck_16449_; -goto v_resetjp_16347_; +lean_inc(v_diag_16386_); +lean_inc(v_postponed_16385_); +lean_inc(v_zetaDeltaFVarIds_16384_); +lean_inc(v_cache_16383_); +lean_inc(v_mctx_16382_); +lean_dec(v___x_16381_); +v___x_16388_ = lean_box(0); +v_isShared_16389_ = v_isSharedCheck_16489_; +goto v_resetjp_16387_; } -v_resetjp_16347_: +v_resetjp_16387_: { -lean_object* v___x_16350_; lean_object* v___x_16352_; -v___x_16350_ = lean_box(1); -if (v_isShared_16349_ == 0) +lean_object* v___x_16390_; lean_object* v___x_16392_; +v___x_16390_ = lean_box(1); +if (v_isShared_16389_ == 0) { -lean_ctor_set(v___x_16348_, 2, v___x_16350_); -v___x_16352_ = v___x_16348_; -goto v_reusejp_16351_; +lean_ctor_set(v___x_16388_, 2, v___x_16390_); +v___x_16392_ = v___x_16388_; +goto v_reusejp_16391_; } else { -lean_object* v_reuseFailAlloc_16448_; -v_reuseFailAlloc_16448_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_16448_, 0, v_mctx_16342_); -lean_ctor_set(v_reuseFailAlloc_16448_, 1, v_cache_16343_); -lean_ctor_set(v_reuseFailAlloc_16448_, 2, v___x_16350_); -lean_ctor_set(v_reuseFailAlloc_16448_, 3, v_postponed_16345_); -lean_ctor_set(v_reuseFailAlloc_16448_, 4, v_diag_16346_); -v___x_16352_ = v_reuseFailAlloc_16448_; -goto v_reusejp_16351_; +lean_object* v_reuseFailAlloc_16488_; +v_reuseFailAlloc_16488_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_16488_, 0, v_mctx_16382_); +lean_ctor_set(v_reuseFailAlloc_16488_, 1, v_cache_16383_); +lean_ctor_set(v_reuseFailAlloc_16488_, 2, v___x_16390_); +lean_ctor_set(v_reuseFailAlloc_16488_, 3, v_postponed_16385_); +lean_ctor_set(v_reuseFailAlloc_16488_, 4, v_diag_16386_); +v___x_16392_ = v_reuseFailAlloc_16488_; +goto v_reusejp_16391_; } -v_reusejp_16351_: +v_reusejp_16391_: { -lean_object* v___x_16353_; lean_object* v_cache_16354_; lean_object* v_keyedConfig_16355_; lean_object* v_zetaDeltaSet_16356_; lean_object* v_lctx_16357_; lean_object* v_localInstances_16358_; lean_object* v_defEqCtx_x3f_16359_; lean_object* v_synthPendingDepth_16360_; lean_object* v_canUnfold_x3f_16361_; uint8_t v_univApprox_16362_; uint8_t v_inTypeClassResolution_16363_; uint8_t v_cacheInferType_16364_; lean_object* v___x_16366_; uint8_t v_isShared_16367_; uint8_t v_isSharedCheck_16447_; -v___x_16353_ = lean_st_ref_set(v_a_16324_, v___x_16352_); -v_cache_16354_ = lean_ctor_get(v___x_16328_, 1); -lean_inc_ref(v_cache_16354_); -lean_dec(v___x_16328_); -v_keyedConfig_16355_ = lean_ctor_get(v_a_16323_, 0); -v_zetaDeltaSet_16356_ = lean_ctor_get(v_a_16323_, 1); -v_lctx_16357_ = lean_ctor_get(v_a_16323_, 2); -v_localInstances_16358_ = lean_ctor_get(v_a_16323_, 3); -v_defEqCtx_x3f_16359_ = lean_ctor_get(v_a_16323_, 4); -v_synthPendingDepth_16360_ = lean_ctor_get(v_a_16323_, 5); -v_canUnfold_x3f_16361_ = lean_ctor_get(v_a_16323_, 6); -v_univApprox_16362_ = lean_ctor_get_uint8(v_a_16323_, sizeof(void*)*7 + 1); -v_inTypeClassResolution_16363_ = lean_ctor_get_uint8(v_a_16323_, sizeof(void*)*7 + 2); -v_cacheInferType_16364_ = lean_ctor_get_uint8(v_a_16323_, sizeof(void*)*7 + 3); -v_isSharedCheck_16447_ = !lean_is_exclusive(v_a_16323_); +lean_object* v___x_16393_; lean_object* v_cache_16394_; lean_object* v_keyedConfig_16395_; lean_object* v_zetaDeltaSet_16396_; lean_object* v_lctx_16397_; lean_object* v_localInstances_16398_; lean_object* v_defEqCtx_x3f_16399_; lean_object* v_synthPendingDepth_16400_; lean_object* v_canUnfold_x3f_16401_; uint8_t v_univApprox_16402_; uint8_t v_inTypeClassResolution_16403_; uint8_t v_cacheInferType_16404_; lean_object* v___x_16406_; uint8_t v_isShared_16407_; uint8_t v_isSharedCheck_16487_; +v___x_16393_ = lean_st_ref_set(v_a_16364_, v___x_16392_); +v_cache_16394_ = lean_ctor_get(v___x_16368_, 1); +lean_inc_ref(v_cache_16394_); +lean_dec(v___x_16368_); +v_keyedConfig_16395_ = lean_ctor_get(v_a_16363_, 0); +v_zetaDeltaSet_16396_ = lean_ctor_get(v_a_16363_, 1); +v_lctx_16397_ = lean_ctor_get(v_a_16363_, 2); +v_localInstances_16398_ = lean_ctor_get(v_a_16363_, 3); +v_defEqCtx_x3f_16399_ = lean_ctor_get(v_a_16363_, 4); +v_synthPendingDepth_16400_ = lean_ctor_get(v_a_16363_, 5); +v_canUnfold_x3f_16401_ = lean_ctor_get(v_a_16363_, 6); +v_univApprox_16402_ = lean_ctor_get_uint8(v_a_16363_, sizeof(void*)*7 + 1); +v_inTypeClassResolution_16403_ = lean_ctor_get_uint8(v_a_16363_, sizeof(void*)*7 + 2); +v_cacheInferType_16404_ = lean_ctor_get_uint8(v_a_16363_, sizeof(void*)*7 + 3); +v_isSharedCheck_16487_ = !lean_is_exclusive(v_a_16363_); +if (v_isSharedCheck_16487_ == 0) +{ +v___x_16406_ = v_a_16363_; +v_isShared_16407_ = v_isSharedCheck_16487_; +goto v_resetjp_16405_; +} +else +{ +lean_inc(v_canUnfold_x3f_16401_); +lean_inc(v_synthPendingDepth_16400_); +lean_inc(v_defEqCtx_x3f_16399_); +lean_inc(v_localInstances_16398_); +lean_inc(v_lctx_16397_); +lean_inc(v_zetaDeltaSet_16396_); +lean_inc(v_keyedConfig_16395_); +lean_dec(v_a_16363_); +v___x_16406_ = lean_box(0); +v_isShared_16407_ = v_isSharedCheck_16487_; +goto v_resetjp_16405_; +} +v_resetjp_16405_: +{ +lean_object* v_letRecsToLift_16408_; size_t v_sz_16409_; size_t v___x_16410_; lean_object* v___x_16411_; lean_object* v_a_16413_; lean_object* v_a_16425_; lean_object* v___y_16429_; uint8_t v___x_16449_; lean_object* v___x_16451_; +v_letRecsToLift_16408_ = lean_array_mk(v_letRecsToLift_16360_); +v_sz_16409_ = lean_array_size(v_letRecsToLift_16408_); +v___x_16410_ = ((size_t)0ULL); +lean_inc_ref(v_letRecsToLift_16408_); +v___x_16411_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures_spec__0_spec__1(v_sz_16409_, v___x_16410_, v_letRecsToLift_16408_); +v___x_16449_ = 1; +if (v_isShared_16407_ == 0) +{ +v___x_16451_ = v___x_16406_; +goto v_reusejp_16450_; +} +else +{ +lean_object* v_reuseFailAlloc_16486_; +v_reuseFailAlloc_16486_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v_reuseFailAlloc_16486_, 0, v_keyedConfig_16395_); +lean_ctor_set(v_reuseFailAlloc_16486_, 1, v_zetaDeltaSet_16396_); +lean_ctor_set(v_reuseFailAlloc_16486_, 2, v_lctx_16397_); +lean_ctor_set(v_reuseFailAlloc_16486_, 3, v_localInstances_16398_); +lean_ctor_set(v_reuseFailAlloc_16486_, 4, v_defEqCtx_x3f_16399_); +lean_ctor_set(v_reuseFailAlloc_16486_, 5, v_synthPendingDepth_16400_); +lean_ctor_set(v_reuseFailAlloc_16486_, 6, v_canUnfold_x3f_16401_); +lean_ctor_set_uint8(v_reuseFailAlloc_16486_, sizeof(void*)*7 + 1, v_univApprox_16402_); +lean_ctor_set_uint8(v_reuseFailAlloc_16486_, sizeof(void*)*7 + 2, v_inTypeClassResolution_16403_); +lean_ctor_set_uint8(v_reuseFailAlloc_16486_, sizeof(void*)*7 + 3, v_cacheInferType_16404_); +v___x_16451_ = v_reuseFailAlloc_16486_; +goto v_reusejp_16450_; +} +v___jp_16412_: +{ +lean_object* v___x_16414_; lean_object* v___x_16415_; lean_object* v___x_16417_; uint8_t v_isShared_16418_; uint8_t v_isSharedCheck_16422_; +v___x_16414_ = lean_box(0); +v___x_16415_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_16364_, v_cache_16394_, v___x_16414_); +lean_dec(v_a_16364_); +v_isSharedCheck_16422_ = !lean_is_exclusive(v___x_16415_); +if (v_isSharedCheck_16422_ == 0) +{ +lean_object* v_unused_16423_; +v_unused_16423_ = lean_ctor_get(v___x_16415_, 0); +lean_dec(v_unused_16423_); +v___x_16417_ = v___x_16415_; +v_isShared_16418_ = v_isSharedCheck_16422_; +goto v_resetjp_16416_; +} +else +{ +lean_dec(v___x_16415_); +v___x_16417_ = lean_box(0); +v_isShared_16418_ = v_isSharedCheck_16422_; +goto v_resetjp_16416_; +} +v_resetjp_16416_: +{ +lean_object* v___x_16420_; +if (v_isShared_16418_ == 0) +{ +lean_ctor_set_tag(v___x_16417_, 1); +lean_ctor_set(v___x_16417_, 0, v_a_16413_); +v___x_16420_ = v___x_16417_; +goto v_reusejp_16419_; +} +else +{ +lean_object* v_reuseFailAlloc_16421_; +v_reuseFailAlloc_16421_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16421_, 0, v_a_16413_); +v___x_16420_ = v_reuseFailAlloc_16421_; +goto v_reusejp_16419_; +} +v_reusejp_16419_: +{ +return v___x_16420_; +} +} +} +v___jp_16424_: +{ +lean_object* v___x_16426_; lean_object* v___x_16427_; +v___x_16426_ = lean_box(0); +v___x_16427_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_16364_, v_zetaDeltaFVarIds_16384_, v___x_16426_); +lean_dec_ref(v___x_16427_); +v_a_16413_ = v_a_16425_; +goto v___jp_16412_; +} +v___jp_16428_: +{ +if (lean_obj_tag(v___y_16429_) == 0) +{ +lean_object* v_a_16430_; lean_object* v___x_16432_; uint8_t v_isShared_16433_; uint8_t v_isSharedCheck_16447_; +v_a_16430_ = lean_ctor_get(v___y_16429_, 0); +v_isSharedCheck_16447_ = !lean_is_exclusive(v___y_16429_); if (v_isSharedCheck_16447_ == 0) { -v___x_16366_ = v_a_16323_; -v_isShared_16367_ = v_isSharedCheck_16447_; -goto v_resetjp_16365_; +v___x_16432_ = v___y_16429_; +v_isShared_16433_ = v_isSharedCheck_16447_; +goto v_resetjp_16431_; } else { -lean_inc(v_canUnfold_x3f_16361_); -lean_inc(v_synthPendingDepth_16360_); -lean_inc(v_defEqCtx_x3f_16359_); -lean_inc(v_localInstances_16358_); -lean_inc(v_lctx_16357_); -lean_inc(v_zetaDeltaSet_16356_); -lean_inc(v_keyedConfig_16355_); -lean_dec(v_a_16323_); -v___x_16366_ = lean_box(0); -v_isShared_16367_ = v_isSharedCheck_16447_; -goto v_resetjp_16365_; +lean_inc(v_a_16430_); +lean_dec(v___y_16429_); +v___x_16432_ = lean_box(0); +v_isShared_16433_ = v_isSharedCheck_16447_; +goto v_resetjp_16431_; } -v_resetjp_16365_: +v_resetjp_16431_: { -lean_object* v_letRecsToLift_16368_; size_t v_sz_16369_; size_t v___x_16370_; lean_object* v___x_16371_; lean_object* v_a_16373_; lean_object* v_a_16385_; lean_object* v___y_16389_; uint8_t v___x_16409_; lean_object* v___x_16411_; -v_letRecsToLift_16368_ = lean_array_mk(v_letRecsToLift_16320_); -v_sz_16369_ = lean_array_size(v_letRecsToLift_16368_); -v___x_16370_ = ((size_t)0ULL); -lean_inc_ref(v_letRecsToLift_16368_); -v___x_16371_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkFreeVarMap___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures_spec__0_spec__1(v_sz_16369_, v___x_16370_, v_letRecsToLift_16368_); -v___x_16409_ = 1; -if (v_isShared_16367_ == 0) +lean_object* v___x_16435_; +lean_inc(v_a_16430_); +if (v_isShared_16433_ == 0) { -v___x_16411_ = v___x_16366_; -goto v_reusejp_16410_; +lean_ctor_set_tag(v___x_16432_, 1); +v___x_16435_ = v___x_16432_; +goto v_reusejp_16434_; } else { lean_object* v_reuseFailAlloc_16446_; -v_reuseFailAlloc_16446_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v_reuseFailAlloc_16446_, 0, v_keyedConfig_16355_); -lean_ctor_set(v_reuseFailAlloc_16446_, 1, v_zetaDeltaSet_16356_); -lean_ctor_set(v_reuseFailAlloc_16446_, 2, v_lctx_16357_); -lean_ctor_set(v_reuseFailAlloc_16446_, 3, v_localInstances_16358_); -lean_ctor_set(v_reuseFailAlloc_16446_, 4, v_defEqCtx_x3f_16359_); -lean_ctor_set(v_reuseFailAlloc_16446_, 5, v_synthPendingDepth_16360_); -lean_ctor_set(v_reuseFailAlloc_16446_, 6, v_canUnfold_x3f_16361_); -lean_ctor_set_uint8(v_reuseFailAlloc_16446_, sizeof(void*)*7 + 1, v_univApprox_16362_); -lean_ctor_set_uint8(v_reuseFailAlloc_16446_, sizeof(void*)*7 + 2, v_inTypeClassResolution_16363_); -lean_ctor_set_uint8(v_reuseFailAlloc_16446_, sizeof(void*)*7 + 3, v_cacheInferType_16364_); -v___x_16411_ = v_reuseFailAlloc_16446_; -goto v_reusejp_16410_; +v_reuseFailAlloc_16446_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16446_, 0, v_a_16430_); +v___x_16435_ = v_reuseFailAlloc_16446_; +goto v_reusejp_16434_; } -v___jp_16372_: +v_reusejp_16434_: { -lean_object* v___x_16374_; lean_object* v___x_16375_; lean_object* v___x_16377_; uint8_t v_isShared_16378_; uint8_t v_isSharedCheck_16382_; -v___x_16374_ = lean_box(0); -v___x_16375_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_16324_, v_cache_16354_, v___x_16374_); -lean_dec(v_a_16324_); -v_isSharedCheck_16382_ = !lean_is_exclusive(v___x_16375_); -if (v_isSharedCheck_16382_ == 0) -{ -lean_object* v_unused_16383_; -v_unused_16383_ = lean_ctor_get(v___x_16375_, 0); -lean_dec(v_unused_16383_); -v___x_16377_ = v___x_16375_; -v_isShared_16378_ = v_isSharedCheck_16382_; -goto v_resetjp_16376_; -} -else -{ -lean_dec(v___x_16375_); -v___x_16377_ = lean_box(0); -v_isShared_16378_ = v_isSharedCheck_16382_; -goto v_resetjp_16376_; -} -v_resetjp_16376_: -{ -lean_object* v___x_16380_; -if (v_isShared_16378_ == 0) -{ -lean_ctor_set_tag(v___x_16377_, 1); -lean_ctor_set(v___x_16377_, 0, v_a_16373_); -v___x_16380_ = v___x_16377_; -goto v_reusejp_16379_; -} -else -{ -lean_object* v_reuseFailAlloc_16381_; -v_reuseFailAlloc_16381_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16381_, 0, v_a_16373_); -v___x_16380_ = v_reuseFailAlloc_16381_; -goto v_reusejp_16379_; -} -v_reusejp_16379_: -{ -return v___x_16380_; -} -} -} -v___jp_16384_: -{ -lean_object* v___x_16386_; lean_object* v___x_16387_; -v___x_16386_ = lean_box(0); -v___x_16387_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_16324_, v_zetaDeltaFVarIds_16344_, v___x_16386_); -lean_dec_ref(v___x_16387_); -v_a_16373_ = v_a_16385_; -goto v___jp_16372_; -} -v___jp_16388_: -{ -if (lean_obj_tag(v___y_16389_) == 0) -{ -lean_object* v_a_16390_; lean_object* v___x_16392_; uint8_t v_isShared_16393_; uint8_t v_isSharedCheck_16407_; -v_a_16390_ = lean_ctor_get(v___y_16389_, 0); -v_isSharedCheck_16407_ = !lean_is_exclusive(v___y_16389_); -if (v_isSharedCheck_16407_ == 0) -{ -v___x_16392_ = v___y_16389_; -v_isShared_16393_ = v_isSharedCheck_16407_; -goto v_resetjp_16391_; -} -else -{ -lean_inc(v_a_16390_); -lean_dec(v___y_16389_); -v___x_16392_ = lean_box(0); -v_isShared_16393_ = v_isSharedCheck_16407_; -goto v_resetjp_16391_; -} -v_resetjp_16391_: -{ -lean_object* v___x_16395_; -lean_inc(v_a_16390_); -if (v_isShared_16393_ == 0) -{ -lean_ctor_set_tag(v___x_16392_, 1); -v___x_16395_ = v___x_16392_; -goto v_reusejp_16394_; -} -else -{ -lean_object* v_reuseFailAlloc_16406_; -v_reuseFailAlloc_16406_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16406_, 0, v_a_16390_); -v___x_16395_ = v_reuseFailAlloc_16406_; -goto v_reusejp_16394_; -} -v_reusejp_16394_: -{ -lean_object* v___x_16396_; lean_object* v___x_16397_; lean_object* v___x_16399_; uint8_t v_isShared_16400_; uint8_t v_isSharedCheck_16404_; -v___x_16396_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_16324_, v_zetaDeltaFVarIds_16344_, v___x_16395_); -lean_dec_ref(v___x_16396_); -v___x_16397_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_16324_, v_cache_16354_, v___x_16395_); -lean_dec_ref(v___x_16395_); -lean_dec(v_a_16324_); -v_isSharedCheck_16404_ = !lean_is_exclusive(v___x_16397_); -if (v_isSharedCheck_16404_ == 0) -{ -lean_object* v_unused_16405_; -v_unused_16405_ = lean_ctor_get(v___x_16397_, 0); -lean_dec(v_unused_16405_); -v___x_16399_ = v___x_16397_; -v_isShared_16400_ = v_isSharedCheck_16404_; -goto v_resetjp_16398_; -} -else -{ -lean_dec(v___x_16397_); -v___x_16399_ = lean_box(0); -v_isShared_16400_ = v_isSharedCheck_16404_; -goto v_resetjp_16398_; -} -v_resetjp_16398_: -{ -lean_object* v___x_16402_; -if (v_isShared_16400_ == 0) -{ -lean_ctor_set(v___x_16399_, 0, v_a_16390_); -v___x_16402_ = v___x_16399_; -goto v_reusejp_16401_; -} -else -{ -lean_object* v_reuseFailAlloc_16403_; -v_reuseFailAlloc_16403_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16403_, 0, v_a_16390_); -v___x_16402_ = v_reuseFailAlloc_16403_; -goto v_reusejp_16401_; -} -v_reusejp_16401_: -{ -return v___x_16402_; -} -} -} -} -} -else -{ -lean_object* v_a_16408_; -v_a_16408_ = lean_ctor_get(v___y_16389_, 0); -lean_inc(v_a_16408_); -lean_dec_ref(v___y_16389_); -v_a_16385_ = v_a_16408_; -goto v___jp_16384_; -} -} -v_reusejp_16410_: -{ -lean_object* v___x_16412_; -lean_ctor_set_uint8(v___x_16411_, sizeof(void*)*7, v___x_16409_); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -lean_inc(v_a_16322_); -lean_inc_ref(v_a_16321_); -v___x_16412_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(v_sz_16369_, v___x_16370_, v_letRecsToLift_16368_, v_a_16321_, v_a_16322_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -if (lean_obj_tag(v___x_16412_) == 0) -{ -lean_object* v_a_16413_; size_t v_sz_16414_; lean_object* v_mainFVarIds_16415_; lean_object* v_recFVarIds_16416_; lean_object* v___x_16417_; -v_a_16413_ = lean_ctor_get(v___x_16412_, 0); -lean_inc(v_a_16413_); -lean_dec_ref(v___x_16412_); -v_sz_16414_ = lean_array_size(v_mainFVars_16318_); -lean_inc_ref(v_mainFVars_16318_); -v_mainFVarIds_16415_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(v_sz_16414_, v___x_16370_, v_mainFVars_16318_); -v_recFVarIds_16416_ = l_Array_append___redArg(v___x_16371_, v_mainFVarIds_16415_); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -lean_inc(v_a_16322_); -lean_inc_ref(v_a_16321_); -v___x_16417_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures(v_sectionVars_16316_, v_mainFVarIds_16415_, v_recFVarIds_16416_, v_a_16413_, v_a_16321_, v_a_16322_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -lean_dec_ref(v_recFVarIds_16416_); -lean_dec_ref(v_mainFVarIds_16415_); -if (lean_obj_tag(v___x_16417_) == 0) -{ -lean_object* v_a_16418_; size_t v_sz_16419_; lean_object* v___x_16420_; -v_a_16418_ = lean_ctor_get(v___x_16417_, 0); -lean_inc(v_a_16418_); -lean_dec_ref(v___x_16417_); -v_sz_16419_ = lean_array_size(v_mainVals_16319_); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -v___x_16420_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_16419_, v___x_16370_, v_mainVals_16319_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -if (lean_obj_tag(v___x_16420_) == 0) -{ -lean_object* v_a_16421_; size_t v_sz_16422_; lean_object* v___x_16423_; -v_a_16421_ = lean_ctor_get(v___x_16420_, 0); -lean_inc(v_a_16421_); -lean_dec_ref(v___x_16420_); -v_sz_16422_ = lean_array_size(v_mainHeaders_16317_); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -v___x_16423_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_16422_, v___x_16370_, v_mainHeaders_16317_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -if (lean_obj_tag(v___x_16423_) == 0) -{ -lean_object* v_a_16424_; lean_object* v___x_16425_; lean_object* v___x_16426_; -v_a_16424_ = lean_ctor_get(v___x_16423_, 0); -lean_inc(v_a_16424_); -lean_dec_ref(v___x_16423_); -v___x_16425_ = lean_box(0); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -v___x_16426_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_a_16418_, v___x_16425_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -if (lean_obj_tag(v___x_16426_) == 0) -{ -lean_object* v_a_16427_; lean_object* v___x_16428_; lean_object* v___x_16429_; size_t v_sz_16430_; lean_object* v___x_16431_; lean_object* v___x_16432_; uint8_t v___x_16433_; lean_object* v___x_16434_; lean_object* v___x_16435_; lean_object* v___x_16436_; -v_a_16427_ = lean_ctor_get(v___x_16426_, 0); -lean_inc(v_a_16427_); -lean_dec_ref(v___x_16426_); -v___x_16428_ = l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(v___x_16350_, v_sectionVars_16316_, v_a_16424_, v_mainFVars_16318_); -lean_dec_ref(v_mainFVars_16318_); -lean_inc(v_a_16427_); -v___x_16429_ = l_List_foldl___at___00Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs_spec__0(v___x_16428_, v_a_16427_); -v_sz_16430_ = lean_array_size(v_a_16424_); -lean_inc(v___x_16429_); -v___x_16431_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(v___x_16429_, v_sz_16430_, v___x_16370_, v_a_16424_); -lean_inc(v___x_16429_); -v___x_16432_ = l_List_mapTR_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__6(v___x_16429_, v_a_16427_, v___x_16425_); -v___x_16433_ = l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(v___x_16431_); -v___x_16434_ = l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(v___x_16431_); -v___x_16435_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_main___closed__3)); -lean_inc(v_a_16326_); -lean_inc_ref(v_a_16325_); -lean_inc(v_a_16324_); -lean_inc_ref(v___x_16411_); -v___x_16436_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v___x_16433_, v___x_16434_, v___x_16435_, v___x_16432_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -lean_dec_ref(v___x_16434_); -if (lean_obj_tag(v___x_16436_) == 0) -{ -lean_object* v_a_16437_; size_t v_sz_16438_; lean_object* v___x_16439_; lean_object* v___x_16440_; -v_a_16437_ = lean_ctor_get(v___x_16436_, 0); -lean_inc(v_a_16437_); +lean_object* v___x_16436_; lean_object* v___x_16437_; lean_object* v___x_16439_; uint8_t v_isShared_16440_; uint8_t v_isSharedCheck_16444_; +v___x_16436_ = l_Lean_Elab_Term_MutualClosure_main___lam__0(v_a_16364_, v_zetaDeltaFVarIds_16384_, v___x_16435_); lean_dec_ref(v___x_16436_); -v_sz_16438_ = lean_array_size(v_a_16421_); -v___x_16439_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(v___x_16429_, v_sz_16438_, v___x_16370_, v_a_16421_); -lean_inc(v_a_16324_); -v___x_16440_ = l_Lean_Elab_Term_MutualClosure_pushMain(v_a_16437_, v_sectionVars_16316_, v___x_16431_, v___x_16439_, v_a_16321_, v_a_16322_, v___x_16411_, v_a_16324_, v_a_16325_, v_a_16326_); -lean_dec_ref(v___x_16439_); -lean_dec_ref(v___x_16431_); -v___y_16389_ = v___x_16440_; -goto v___jp_16388_; +v___x_16437_ = l_Lean_Elab_Term_MutualClosure_main___lam__1(v_a_16364_, v_cache_16394_, v___x_16435_); +lean_dec_ref(v___x_16435_); +lean_dec(v_a_16364_); +v_isSharedCheck_16444_ = !lean_is_exclusive(v___x_16437_); +if (v_isSharedCheck_16444_ == 0) +{ +lean_object* v_unused_16445_; +v_unused_16445_ = lean_ctor_get(v___x_16437_, 0); +lean_dec(v_unused_16445_); +v___x_16439_ = v___x_16437_; +v_isShared_16440_ = v_isSharedCheck_16444_; +goto v_resetjp_16438_; } else { -lean_dec_ref(v___x_16431_); -lean_dec(v___x_16429_); -lean_dec(v_a_16421_); +lean_dec(v___x_16437_); +v___x_16439_ = lean_box(0); +v_isShared_16440_ = v_isSharedCheck_16444_; +goto v_resetjp_16438_; +} +v_resetjp_16438_: +{ +lean_object* v___x_16442_; +if (v_isShared_16440_ == 0) +{ +lean_ctor_set(v___x_16439_, 0, v_a_16430_); +v___x_16442_ = v___x_16439_; +goto v_reusejp_16441_; +} +else +{ +lean_object* v_reuseFailAlloc_16443_; +v_reuseFailAlloc_16443_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16443_, 0, v_a_16430_); +v___x_16442_ = v_reuseFailAlloc_16443_; +goto v_reusejp_16441_; +} +v_reusejp_16441_: +{ +return v___x_16442_; +} +} +} +} +} +else +{ +lean_object* v_a_16448_; +v_a_16448_ = lean_ctor_get(v___y_16429_, 0); +lean_inc(v_a_16448_); +lean_dec_ref(v___y_16429_); +v_a_16425_ = v_a_16448_; +goto v___jp_16424_; +} +} +v_reusejp_16450_: +{ +lean_object* v___x_16452_; +lean_ctor_set_uint8(v___x_16451_, sizeof(void*)*7, v___x_16449_); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +lean_inc(v_a_16362_); +lean_inc_ref(v_a_16361_); +v___x_16452_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__0(v_sz_16409_, v___x_16410_, v_letRecsToLift_16408_, v_a_16361_, v_a_16362_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +if (lean_obj_tag(v___x_16452_) == 0) +{ +lean_object* v_a_16453_; size_t v_sz_16454_; lean_object* v_mainFVarIds_16455_; lean_object* v_recFVarIds_16456_; lean_object* v___x_16457_; +v_a_16453_ = lean_ctor_get(v___x_16452_, 0); +lean_inc(v_a_16453_); +lean_dec_ref(v___x_16452_); +v_sz_16454_ = lean_array_size(v_mainFVars_16358_); +lean_inc_ref(v_mainFVars_16358_); +v_mainFVarIds_16455_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__1(v_sz_16454_, v___x_16410_, v_mainFVars_16358_); +v_recFVarIds_16456_ = l_Array_append___redArg(v___x_16411_, v_mainFVarIds_16455_); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +lean_inc(v_a_16362_); +lean_inc_ref(v_a_16361_); +v___x_16457_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkLetRecClosures(v_sectionVars_16356_, v_mainFVarIds_16455_, v_recFVarIds_16456_, v_a_16453_, v_a_16361_, v_a_16362_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +lean_dec_ref(v_recFVarIds_16456_); +lean_dec_ref(v_mainFVarIds_16455_); +if (lean_obj_tag(v___x_16457_) == 0) +{ +lean_object* v_a_16458_; size_t v_sz_16459_; lean_object* v___x_16460_; +v_a_16458_ = lean_ctor_get(v___x_16457_, 0); +lean_inc(v_a_16458_); +lean_dec_ref(v___x_16457_); +v_sz_16459_ = lean_array_size(v_mainVals_16359_); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +v___x_16460_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_16459_, v___x_16410_, v_mainVals_16359_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +if (lean_obj_tag(v___x_16460_) == 0) +{ +lean_object* v_a_16461_; size_t v_sz_16462_; lean_object* v___x_16463_; +v_a_16461_ = lean_ctor_get(v___x_16460_, 0); +lean_inc(v_a_16461_); +lean_dec_ref(v___x_16460_); +v_sz_16462_ = lean_array_size(v_mainHeaders_16357_); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +v___x_16463_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_16462_, v___x_16410_, v_mainHeaders_16357_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +if (lean_obj_tag(v___x_16463_) == 0) +{ +lean_object* v_a_16464_; lean_object* v___x_16465_; lean_object* v___x_16466_; +v_a_16464_ = lean_ctor_get(v___x_16463_, 0); +lean_inc(v_a_16464_); +lean_dec_ref(v___x_16463_); +v___x_16465_ = lean_box(0); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +v___x_16466_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_a_16458_, v___x_16465_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +if (lean_obj_tag(v___x_16466_) == 0) +{ +lean_object* v_a_16467_; lean_object* v___x_16468_; lean_object* v___x_16469_; size_t v_sz_16470_; lean_object* v___x_16471_; lean_object* v___x_16472_; uint8_t v___x_16473_; lean_object* v___x_16474_; lean_object* v___x_16475_; lean_object* v___x_16476_; +v_a_16467_ = lean_ctor_get(v___x_16466_, 0); +lean_inc(v_a_16467_); +lean_dec_ref(v___x_16466_); +v___x_16468_ = l_Lean_Elab_Term_MutualClosure_insertReplacementForMainFns(v___x_16390_, v_sectionVars_16356_, v_a_16464_, v_mainFVars_16358_); +lean_dec_ref(v_mainFVars_16358_); +lean_inc(v_a_16467_); +v___x_16469_ = l_List_foldl___at___00Lean_Elab_Term_MutualClosure_insertReplacementForLetRecs_spec__0(v___x_16468_, v_a_16467_); +v_sz_16470_ = lean_array_size(v_a_16464_); +lean_inc(v___x_16469_); +v___x_16471_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__5(v___x_16469_, v_sz_16470_, v___x_16410_, v_a_16464_); +lean_inc(v___x_16469_); +v___x_16472_ = l_List_mapTR_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__6(v___x_16469_, v_a_16467_, v___x_16465_); +v___x_16473_ = l_Lean_Elab_Term_MutualClosure_getKindForLetRecs(v___x_16471_); +v___x_16474_ = l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs(v___x_16471_); +v___x_16475_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_main___closed__3)); +lean_inc(v_a_16366_); +lean_inc_ref(v_a_16365_); +lean_inc(v_a_16364_); +lean_inc_ref(v___x_16451_); +v___x_16476_ = l_List_foldlM___at___00Lean_Elab_Term_MutualClosure_pushLetRecs_spec__1(v___x_16473_, v___x_16474_, v___x_16475_, v___x_16472_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +lean_dec_ref(v___x_16474_); +if (lean_obj_tag(v___x_16476_) == 0) +{ +lean_object* v_a_16477_; size_t v_sz_16478_; lean_object* v___x_16479_; lean_object* v___x_16480_; +v_a_16477_ = lean_ctor_get(v___x_16476_, 0); +lean_inc(v_a_16477_); +lean_dec_ref(v___x_16476_); +v_sz_16478_ = lean_array_size(v_a_16461_); +v___x_16479_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__7(v___x_16469_, v_sz_16478_, v___x_16410_, v_a_16461_); +lean_inc(v_a_16364_); +v___x_16480_ = l_Lean_Elab_Term_MutualClosure_pushMain(v_a_16477_, v_sectionVars_16356_, v___x_16471_, v___x_16479_, v_a_16361_, v_a_16362_, v___x_16451_, v_a_16364_, v_a_16365_, v_a_16366_); +lean_dec_ref(v___x_16479_); +lean_dec_ref(v___x_16471_); +v___y_16429_ = v___x_16480_; +goto v___jp_16428_; +} +else +{ +lean_dec_ref(v___x_16471_); +lean_dec(v___x_16469_); +lean_dec(v_a_16461_); +lean_dec_ref(v___x_16451_); +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +v___y_16429_ = v___x_16476_; +goto v___jp_16428_; +} +} +else +{ +lean_object* v_a_16481_; +lean_dec(v_a_16464_); +lean_dec(v_a_16461_); +lean_dec_ref(v___x_16451_); +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +lean_dec_ref(v_mainFVars_16358_); +v_a_16481_ = lean_ctor_get(v___x_16466_, 0); +lean_inc(v_a_16481_); +lean_dec_ref(v___x_16466_); +v_a_16425_ = v_a_16481_; +goto v___jp_16424_; +} +} +else +{ +lean_object* v_a_16482_; +lean_dec(v_a_16461_); +lean_dec(v_a_16458_); +lean_dec_ref(v___x_16451_); +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +lean_dec_ref(v_mainFVars_16358_); +v_a_16482_ = lean_ctor_get(v___x_16463_, 0); +lean_inc(v_a_16482_); +lean_dec_ref(v___x_16463_); +v_a_16425_ = v_a_16482_; +goto v___jp_16424_; +} +} +else +{ +lean_object* v_a_16483_; +lean_dec(v_a_16458_); +lean_dec_ref(v___x_16451_); +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +lean_dec_ref(v_mainFVars_16358_); +lean_dec_ref(v_mainHeaders_16357_); +v_a_16483_ = lean_ctor_get(v___x_16460_, 0); +lean_inc(v_a_16483_); +lean_dec_ref(v___x_16460_); +v_a_16425_ = v_a_16483_; +goto v___jp_16424_; +} +} +else +{ +lean_object* v_a_16484_; +lean_dec_ref(v___x_16451_); +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +lean_dec_ref(v_mainVals_16359_); +lean_dec_ref(v_mainFVars_16358_); +lean_dec_ref(v_mainHeaders_16357_); +v_a_16484_ = lean_ctor_get(v___x_16457_, 0); +lean_inc(v_a_16484_); +lean_dec_ref(v___x_16457_); +v_a_16425_ = v_a_16484_; +goto v___jp_16424_; +} +} +else +{ +lean_object* v_a_16485_; +lean_dec_ref(v___x_16451_); lean_dec_ref(v___x_16411_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -v___y_16389_ = v___x_16436_; -goto v___jp_16388_; +lean_dec(v_a_16366_); +lean_dec_ref(v_a_16365_); +lean_dec(v_a_16362_); +lean_dec_ref(v_a_16361_); +lean_dec_ref(v_mainVals_16359_); +lean_dec_ref(v_mainFVars_16358_); +lean_dec_ref(v_mainHeaders_16357_); +v_a_16485_ = lean_ctor_get(v___x_16452_, 0); +lean_inc(v_a_16485_); +lean_dec_ref(v___x_16452_); +v_a_16425_ = v_a_16485_; +goto v___jp_16424_; } } +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___boxed(lean_object* v_sectionVars_16493_, lean_object* v_mainHeaders_16494_, lean_object* v_mainFVars_16495_, lean_object* v_mainVals_16496_, lean_object* v_letRecsToLift_16497_, lean_object* v_a_16498_, lean_object* v_a_16499_, lean_object* v_a_16500_, lean_object* v_a_16501_, lean_object* v_a_16502_, lean_object* v_a_16503_, lean_object* v_a_16504_){ +_start: +{ +lean_object* v_res_16505_; +v_res_16505_ = l_Lean_Elab_Term_MutualClosure_main(v_sectionVars_16493_, v_mainHeaders_16494_, v_mainFVars_16495_, v_mainVals_16496_, v_letRecsToLift_16497_, v_a_16498_, v_a_16499_, v_a_16500_, v_a_16501_, v_a_16502_, v_a_16503_); +lean_dec_ref(v_sectionVars_16493_); +return v_res_16505_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2(size_t v_sz_16506_, size_t v_i_16507_, lean_object* v_bs_16508_, lean_object* v___y_16509_, lean_object* v___y_16510_, lean_object* v___y_16511_, lean_object* v___y_16512_, lean_object* v___y_16513_, lean_object* v___y_16514_){ +_start: +{ +lean_object* v___x_16516_; +v___x_16516_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_16506_, v_i_16507_, v_bs_16508_, v___y_16511_, v___y_16512_, v___y_16513_, v___y_16514_); +return v___x_16516_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___boxed(lean_object* v_sz_16517_, lean_object* v_i_16518_, lean_object* v_bs_16519_, lean_object* v___y_16520_, lean_object* v___y_16521_, lean_object* v___y_16522_, lean_object* v___y_16523_, lean_object* v___y_16524_, lean_object* v___y_16525_, lean_object* v___y_16526_){ +_start: +{ +size_t v_sz_boxed_16527_; size_t v_i_boxed_16528_; lean_object* v_res_16529_; +v_sz_boxed_16527_ = lean_unbox_usize(v_sz_16517_); +lean_dec(v_sz_16517_); +v_i_boxed_16528_ = lean_unbox_usize(v_i_16518_); +lean_dec(v_i_16518_); +v_res_16529_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2(v_sz_boxed_16527_, v_i_boxed_16528_, v_bs_16519_, v___y_16520_, v___y_16521_, v___y_16522_, v___y_16523_, v___y_16524_, v___y_16525_); +lean_dec(v___y_16521_); +lean_dec_ref(v___y_16520_); +return v_res_16529_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3(size_t v_sz_16530_, size_t v_i_16531_, lean_object* v_bs_16532_, lean_object* v___y_16533_, lean_object* v___y_16534_, lean_object* v___y_16535_, lean_object* v___y_16536_, lean_object* v___y_16537_, lean_object* v___y_16538_){ +_start: +{ +lean_object* v___x_16540_; +v___x_16540_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_16530_, v_i_16531_, v_bs_16532_, v___y_16535_, v___y_16536_, v___y_16537_, v___y_16538_); +return v___x_16540_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___boxed(lean_object* v_sz_16541_, lean_object* v_i_16542_, lean_object* v_bs_16543_, lean_object* v___y_16544_, lean_object* v___y_16545_, lean_object* v___y_16546_, lean_object* v___y_16547_, lean_object* v___y_16548_, lean_object* v___y_16549_, lean_object* v___y_16550_){ +_start: +{ +size_t v_sz_boxed_16551_; size_t v_i_boxed_16552_; lean_object* v_res_16553_; +v_sz_boxed_16551_ = lean_unbox_usize(v_sz_16541_); +lean_dec(v_sz_16541_); +v_i_boxed_16552_ = lean_unbox_usize(v_i_16542_); +lean_dec(v_i_16542_); +v_res_16553_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3(v_sz_boxed_16551_, v_i_boxed_16552_, v_bs_16543_, v___y_16544_, v___y_16545_, v___y_16546_, v___y_16547_, v___y_16548_, v___y_16549_); +lean_dec(v___y_16545_); +lean_dec_ref(v___y_16544_); +return v_res_16553_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4(lean_object* v_x_16554_, lean_object* v_x_16555_, lean_object* v___y_16556_, lean_object* v___y_16557_, lean_object* v___y_16558_, lean_object* v___y_16559_, lean_object* v___y_16560_, lean_object* v___y_16561_){ +_start: +{ +lean_object* v___x_16563_; +v___x_16563_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_x_16554_, v_x_16555_, v___y_16558_, v___y_16559_, v___y_16560_, v___y_16561_); +return v___x_16563_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___boxed(lean_object* v_x_16564_, lean_object* v_x_16565_, lean_object* v___y_16566_, lean_object* v___y_16567_, lean_object* v___y_16568_, lean_object* v___y_16569_, lean_object* v___y_16570_, lean_object* v___y_16571_, lean_object* v___y_16572_){ +_start: +{ +lean_object* v_res_16573_; +v_res_16573_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4(v_x_16564_, v_x_16565_, v___y_16566_, v___y_16567_, v___y_16568_, v___y_16569_, v___y_16570_, v___y_16571_); +lean_dec(v___y_16567_); +lean_dec_ref(v___y_16566_); +return v_res_16573_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(lean_object* v_headers_16574_){ +_start: +{ +lean_object* v___x_16575_; lean_object* v___x_16576_; uint8_t v___x_16577_; +v___x_16575_ = lean_unsigned_to_nat(0u); +v___x_16576_ = lean_array_get_size(v_headers_16574_); +v___x_16577_ = lean_nat_dec_lt(v___x_16575_, v___x_16576_); +if (v___x_16577_ == 0) +{ +lean_object* v___x_16578_; +v___x_16578_ = lean_box(0); +return v___x_16578_; +} else { -lean_object* v_a_16441_; -lean_dec(v_a_16424_); -lean_dec(v_a_16421_); -lean_dec_ref(v___x_16411_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -lean_dec_ref(v_mainFVars_16318_); -v_a_16441_ = lean_ctor_get(v___x_16426_, 0); -lean_inc(v_a_16441_); -lean_dec_ref(v___x_16426_); -v_a_16385_ = v_a_16441_; -goto v___jp_16384_; -} -} -else -{ -lean_object* v_a_16442_; -lean_dec(v_a_16421_); -lean_dec(v_a_16418_); -lean_dec_ref(v___x_16411_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -lean_dec_ref(v_mainFVars_16318_); -v_a_16442_ = lean_ctor_get(v___x_16423_, 0); -lean_inc(v_a_16442_); -lean_dec_ref(v___x_16423_); -v_a_16385_ = v_a_16442_; -goto v___jp_16384_; -} -} -else -{ -lean_object* v_a_16443_; -lean_dec(v_a_16418_); -lean_dec_ref(v___x_16411_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -lean_dec_ref(v_mainFVars_16318_); -lean_dec_ref(v_mainHeaders_16317_); -v_a_16443_ = lean_ctor_get(v___x_16420_, 0); -lean_inc(v_a_16443_); -lean_dec_ref(v___x_16420_); -v_a_16385_ = v_a_16443_; -goto v___jp_16384_; -} -} -else -{ -lean_object* v_a_16444_; -lean_dec_ref(v___x_16411_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -lean_dec_ref(v_mainVals_16319_); -lean_dec_ref(v_mainFVars_16318_); -lean_dec_ref(v_mainHeaders_16317_); -v_a_16444_ = lean_ctor_get(v___x_16417_, 0); -lean_inc(v_a_16444_); -lean_dec_ref(v___x_16417_); -v_a_16385_ = v_a_16444_; -goto v___jp_16384_; -} -} -else -{ -lean_object* v_a_16445_; -lean_dec_ref(v___x_16411_); -lean_dec_ref(v___x_16371_); -lean_dec(v_a_16326_); -lean_dec_ref(v_a_16325_); -lean_dec(v_a_16322_); -lean_dec_ref(v_a_16321_); -lean_dec_ref(v_mainVals_16319_); -lean_dec_ref(v_mainFVars_16318_); -lean_dec_ref(v_mainHeaders_16317_); -v_a_16445_ = lean_ctor_get(v___x_16412_, 0); -lean_inc(v_a_16445_); -lean_dec_ref(v___x_16412_); -v_a_16385_ = v_a_16445_; -goto v___jp_16384_; +lean_object* v___x_16579_; lean_object* v_toDefViewElabHeaderData_16580_; lean_object* v_levelNames_16581_; +v___x_16579_ = lean_array_fget_borrowed(v_headers_16574_, v___x_16575_); +v_toDefViewElabHeaderData_16580_ = lean_ctor_get(v___x_16579_, 1); +v_levelNames_16581_ = lean_ctor_get(v_toDefViewElabHeaderData_16580_, 2); +lean_inc(v_levelNames_16581_); +return v_levelNames_16581_; } } } -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_MutualClosure_main___boxed(lean_object* v_sectionVars_16453_, lean_object* v_mainHeaders_16454_, lean_object* v_mainFVars_16455_, lean_object* v_mainVals_16456_, lean_object* v_letRecsToLift_16457_, lean_object* v_a_16458_, lean_object* v_a_16459_, lean_object* v_a_16460_, lean_object* v_a_16461_, lean_object* v_a_16462_, lean_object* v_a_16463_, lean_object* v_a_16464_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames___boxed(lean_object* v_headers_16582_){ _start: { -lean_object* v_res_16465_; -v_res_16465_ = l_Lean_Elab_Term_MutualClosure_main(v_sectionVars_16453_, v_mainHeaders_16454_, v_mainFVars_16455_, v_mainVals_16456_, v_letRecsToLift_16457_, v_a_16458_, v_a_16459_, v_a_16460_, v_a_16461_, v_a_16462_, v_a_16463_); -lean_dec_ref(v_sectionVars_16453_); -return v_res_16465_; +lean_object* v_res_16583_; +v_res_16583_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v_headers_16582_); +lean_dec_ref(v_headers_16582_); +return v_res_16583_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2(size_t v_sz_16466_, size_t v_i_16467_, lean_object* v_bs_16468_, lean_object* v___y_16469_, lean_object* v___y_16470_, lean_object* v___y_16471_, lean_object* v___y_16472_, lean_object* v___y_16473_, lean_object* v___y_16474_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0(lean_object* v_x_16584_){ _start: { -lean_object* v___x_16476_; -v___x_16476_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_16466_, v_i_16467_, v_bs_16468_, v___y_16471_, v___y_16472_, v___y_16473_, v___y_16474_); -return v___x_16476_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___boxed(lean_object* v_sz_16477_, lean_object* v_i_16478_, lean_object* v_bs_16479_, lean_object* v___y_16480_, lean_object* v___y_16481_, lean_object* v___y_16482_, lean_object* v___y_16483_, lean_object* v___y_16484_, lean_object* v___y_16485_, lean_object* v___y_16486_){ -_start: -{ -size_t v_sz_boxed_16487_; size_t v_i_boxed_16488_; lean_object* v_res_16489_; -v_sz_boxed_16487_ = lean_unbox_usize(v_sz_16477_); -lean_dec(v_sz_16477_); -v_i_boxed_16488_ = lean_unbox_usize(v_i_16478_); -lean_dec(v_i_16478_); -v_res_16489_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2(v_sz_boxed_16487_, v_i_boxed_16488_, v_bs_16479_, v___y_16480_, v___y_16481_, v___y_16482_, v___y_16483_, v___y_16484_, v___y_16485_); -lean_dec(v___y_16481_); -lean_dec_ref(v___y_16480_); -return v_res_16489_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3(size_t v_sz_16490_, size_t v_i_16491_, lean_object* v_bs_16492_, lean_object* v___y_16493_, lean_object* v___y_16494_, lean_object* v___y_16495_, lean_object* v___y_16496_, lean_object* v___y_16497_, lean_object* v___y_16498_){ -_start: -{ -lean_object* v___x_16500_; -v___x_16500_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_16490_, v_i_16491_, v_bs_16492_, v___y_16495_, v___y_16496_, v___y_16497_, v___y_16498_); -return v___x_16500_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___boxed(lean_object* v_sz_16501_, lean_object* v_i_16502_, lean_object* v_bs_16503_, lean_object* v___y_16504_, lean_object* v___y_16505_, lean_object* v___y_16506_, lean_object* v___y_16507_, lean_object* v___y_16508_, lean_object* v___y_16509_, lean_object* v___y_16510_){ -_start: -{ -size_t v_sz_boxed_16511_; size_t v_i_boxed_16512_; lean_object* v_res_16513_; -v_sz_boxed_16511_ = lean_unbox_usize(v_sz_16501_); -lean_dec(v_sz_16501_); -v_i_boxed_16512_ = lean_unbox_usize(v_i_16502_); -lean_dec(v_i_16502_); -v_res_16513_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3(v_sz_boxed_16511_, v_i_boxed_16512_, v_bs_16503_, v___y_16504_, v___y_16505_, v___y_16506_, v___y_16507_, v___y_16508_, v___y_16509_); -lean_dec(v___y_16505_); -lean_dec_ref(v___y_16504_); -return v_res_16513_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4(lean_object* v_x_16514_, lean_object* v_x_16515_, lean_object* v___y_16516_, lean_object* v___y_16517_, lean_object* v___y_16518_, lean_object* v___y_16519_, lean_object* v___y_16520_, lean_object* v___y_16521_){ -_start: -{ -lean_object* v___x_16523_; -v___x_16523_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___redArg(v_x_16514_, v_x_16515_, v___y_16518_, v___y_16519_, v___y_16520_, v___y_16521_); -return v___x_16523_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4___boxed(lean_object* v_x_16524_, lean_object* v_x_16525_, lean_object* v___y_16526_, lean_object* v___y_16527_, lean_object* v___y_16528_, lean_object* v___y_16529_, lean_object* v___y_16530_, lean_object* v___y_16531_, lean_object* v___y_16532_){ -_start: -{ -lean_object* v_res_16533_; -v_res_16533_ = l_List_mapM_loop___at___00Lean_Elab_Term_MutualClosure_main_spec__4(v_x_16524_, v_x_16525_, v___y_16526_, v___y_16527_, v___y_16528_, v___y_16529_, v___y_16530_, v___y_16531_); -lean_dec(v___y_16527_); -lean_dec_ref(v___y_16526_); -return v_res_16533_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(lean_object* v_headers_16534_){ -_start: -{ -lean_object* v___x_16535_; lean_object* v___x_16536_; uint8_t v___x_16537_; -v___x_16535_ = lean_unsigned_to_nat(0u); -v___x_16536_ = lean_array_get_size(v_headers_16534_); -v___x_16537_ = lean_nat_dec_lt(v___x_16535_, v___x_16536_); -if (v___x_16537_ == 0) -{ -lean_object* v___x_16538_; -v___x_16538_ = lean_box(0); -return v___x_16538_; -} -else -{ -lean_object* v___x_16539_; lean_object* v_toDefViewElabHeaderData_16540_; lean_object* v_levelNames_16541_; -v___x_16539_ = lean_array_fget_borrowed(v_headers_16534_, v___x_16535_); -v_toDefViewElabHeaderData_16540_ = lean_ctor_get(v___x_16539_, 1); -v_levelNames_16541_ = lean_ctor_get(v_toDefViewElabHeaderData_16540_, 2); -lean_inc(v_levelNames_16541_); -return v_levelNames_16541_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames___boxed(lean_object* v_headers_16542_){ -_start: -{ -lean_object* v_res_16543_; -v_res_16543_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v_headers_16542_); -lean_dec_ref(v_headers_16542_); -return v_res_16543_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0(lean_object* v_x_16544_){ -_start: -{ -uint8_t v___x_16545_; -v___x_16545_ = 0; -return v___x_16545_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0___boxed(lean_object* v_x_16546_){ -_start: -{ -uint8_t v_res_16547_; lean_object* v_r_16548_; -v_res_16547_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0(v_x_16546_); -lean_dec(v_x_16546_); -v_r_16548_ = lean_box(v_res_16547_); -return v_r_16548_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1(lean_object* v_type_16549_, lean_object* v___f_16550_, lean_object* v_shortDeclName_16551_, lean_object* v_declName_16552_, lean_object* v_binderIds_16553_, lean_object* v_numParams_16554_, lean_object* v_toDefView_16555_, lean_object* v_tacSnap_x3f_16556_, lean_object* v_bodySnap_x3f_16557_, lean_object* v_fst_16558_, lean_object* v___y_16559_, lean_object* v___y_16560_, lean_object* v___y_16561_, lean_object* v___y_16562_, lean_object* v___y_16563_, lean_object* v___y_16564_){ -_start: -{ -lean_object* v___x_16566_; -v___x_16566_ = l_Lean_Elab_Term_levelMVarToParam___redArg(v_type_16549_, v___f_16550_, v___y_16560_, v___y_16562_); -if (lean_obj_tag(v___x_16566_) == 0) -{ -lean_object* v_a_16567_; lean_object* v___x_16568_; -v_a_16567_ = lean_ctor_get(v___x_16566_, 0); -lean_inc(v_a_16567_); -lean_dec_ref(v___x_16566_); -v___x_16568_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_16560_); -if (lean_obj_tag(v___x_16568_) == 0) -{ -lean_object* v_a_16569_; lean_object* v___x_16571_; uint8_t v_isShared_16572_; uint8_t v_isSharedCheck_16579_; -v_a_16569_ = lean_ctor_get(v___x_16568_, 0); -v_isSharedCheck_16579_ = !lean_is_exclusive(v___x_16568_); -if (v_isSharedCheck_16579_ == 0) -{ -v___x_16571_ = v___x_16568_; -v_isShared_16572_ = v_isSharedCheck_16579_; -goto v_resetjp_16570_; -} -else -{ -lean_inc(v_a_16569_); -lean_dec(v___x_16568_); -v___x_16571_ = lean_box(0); -v_isShared_16572_ = v_isSharedCheck_16579_; -goto v_resetjp_16570_; -} -v_resetjp_16570_: -{ -lean_object* v___x_16573_; lean_object* v___x_16574_; lean_object* v___x_16575_; lean_object* v___x_16577_; -v___x_16573_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_16573_, 0, v_shortDeclName_16551_); -lean_ctor_set(v___x_16573_, 1, v_declName_16552_); -lean_ctor_set(v___x_16573_, 2, v_a_16569_); -lean_ctor_set(v___x_16573_, 3, v_binderIds_16553_); -lean_ctor_set(v___x_16573_, 4, v_numParams_16554_); -lean_ctor_set(v___x_16573_, 5, v_a_16567_); -v___x_16574_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_16574_, 0, v_toDefView_16555_); -lean_ctor_set(v___x_16574_, 1, v___x_16573_); -lean_ctor_set(v___x_16574_, 2, v_tacSnap_x3f_16556_); -lean_ctor_set(v___x_16574_, 3, v_bodySnap_x3f_16557_); -v___x_16575_ = lean_array_push(v_fst_16558_, v___x_16574_); -if (v_isShared_16572_ == 0) -{ -lean_ctor_set(v___x_16571_, 0, v___x_16575_); -v___x_16577_ = v___x_16571_; -goto v_reusejp_16576_; -} -else -{ -lean_object* v_reuseFailAlloc_16578_; -v_reuseFailAlloc_16578_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16578_, 0, v___x_16575_); -v___x_16577_ = v_reuseFailAlloc_16578_; -goto v_reusejp_16576_; -} -v_reusejp_16576_: -{ -return v___x_16577_; -} -} -} -else -{ -lean_object* v_a_16580_; lean_object* v___x_16582_; uint8_t v_isShared_16583_; uint8_t v_isSharedCheck_16587_; -lean_dec(v_a_16567_); -lean_dec(v_fst_16558_); -lean_dec(v_bodySnap_x3f_16557_); -lean_dec(v_tacSnap_x3f_16556_); -lean_dec_ref(v_toDefView_16555_); -lean_dec(v_numParams_16554_); -lean_dec_ref(v_binderIds_16553_); -lean_dec(v_declName_16552_); -lean_dec(v_shortDeclName_16551_); -v_a_16580_ = lean_ctor_get(v___x_16568_, 0); -v_isSharedCheck_16587_ = !lean_is_exclusive(v___x_16568_); -if (v_isSharedCheck_16587_ == 0) -{ -v___x_16582_ = v___x_16568_; -v_isShared_16583_ = v_isSharedCheck_16587_; -goto v_resetjp_16581_; -} -else -{ -lean_inc(v_a_16580_); -lean_dec(v___x_16568_); -v___x_16582_ = lean_box(0); -v_isShared_16583_ = v_isSharedCheck_16587_; -goto v_resetjp_16581_; -} -v_resetjp_16581_: -{ -lean_object* v___x_16585_; -if (v_isShared_16583_ == 0) -{ -v___x_16585_ = v___x_16582_; -goto v_reusejp_16584_; -} -else -{ -lean_object* v_reuseFailAlloc_16586_; -v_reuseFailAlloc_16586_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16586_, 0, v_a_16580_); -v___x_16585_ = v_reuseFailAlloc_16586_; -goto v_reusejp_16584_; -} -v_reusejp_16584_: -{ +uint8_t v___x_16585_; +v___x_16585_ = 0; return v___x_16585_; } } +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0___boxed(lean_object* v_x_16586_){ +_start: +{ +uint8_t v_res_16587_; lean_object* v_r_16588_; +v_res_16587_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__0(v_x_16586_); +lean_dec(v_x_16586_); +v_r_16588_ = lean_box(v_res_16587_); +return v_r_16588_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1(lean_object* v_type_16589_, lean_object* v___f_16590_, lean_object* v_shortDeclName_16591_, lean_object* v_declName_16592_, lean_object* v_binderIds_16593_, lean_object* v_numParams_16594_, lean_object* v_toDefView_16595_, lean_object* v_tacSnap_x3f_16596_, lean_object* v_bodySnap_x3f_16597_, lean_object* v_fst_16598_, lean_object* v___y_16599_, lean_object* v___y_16600_, lean_object* v___y_16601_, lean_object* v___y_16602_, lean_object* v___y_16603_, lean_object* v___y_16604_){ +_start: +{ +lean_object* v___x_16606_; +v___x_16606_ = l_Lean_Elab_Term_levelMVarToParam___redArg(v_type_16589_, v___f_16590_, v___y_16600_, v___y_16602_); +if (lean_obj_tag(v___x_16606_) == 0) +{ +lean_object* v_a_16607_; lean_object* v___x_16608_; +v_a_16607_ = lean_ctor_get(v___x_16606_, 0); +lean_inc(v_a_16607_); +lean_dec_ref(v___x_16606_); +v___x_16608_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_16600_); +if (lean_obj_tag(v___x_16608_) == 0) +{ +lean_object* v_a_16609_; lean_object* v___x_16611_; uint8_t v_isShared_16612_; uint8_t v_isSharedCheck_16619_; +v_a_16609_ = lean_ctor_get(v___x_16608_, 0); +v_isSharedCheck_16619_ = !lean_is_exclusive(v___x_16608_); +if (v_isSharedCheck_16619_ == 0) +{ +v___x_16611_ = v___x_16608_; +v_isShared_16612_ = v_isSharedCheck_16619_; +goto v_resetjp_16610_; +} +else +{ +lean_inc(v_a_16609_); +lean_dec(v___x_16608_); +v___x_16611_ = lean_box(0); +v_isShared_16612_ = v_isSharedCheck_16619_; +goto v_resetjp_16610_; +} +v_resetjp_16610_: +{ +lean_object* v___x_16613_; lean_object* v___x_16614_; lean_object* v___x_16615_; lean_object* v___x_16617_; +v___x_16613_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_16613_, 0, v_shortDeclName_16591_); +lean_ctor_set(v___x_16613_, 1, v_declName_16592_); +lean_ctor_set(v___x_16613_, 2, v_a_16609_); +lean_ctor_set(v___x_16613_, 3, v_binderIds_16593_); +lean_ctor_set(v___x_16613_, 4, v_numParams_16594_); +lean_ctor_set(v___x_16613_, 5, v_a_16607_); +v___x_16614_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_16614_, 0, v_toDefView_16595_); +lean_ctor_set(v___x_16614_, 1, v___x_16613_); +lean_ctor_set(v___x_16614_, 2, v_tacSnap_x3f_16596_); +lean_ctor_set(v___x_16614_, 3, v_bodySnap_x3f_16597_); +v___x_16615_ = lean_array_push(v_fst_16598_, v___x_16614_); +if (v_isShared_16612_ == 0) +{ +lean_ctor_set(v___x_16611_, 0, v___x_16615_); +v___x_16617_ = v___x_16611_; +goto v_reusejp_16616_; +} +else +{ +lean_object* v_reuseFailAlloc_16618_; +v_reuseFailAlloc_16618_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16618_, 0, v___x_16615_); +v___x_16617_ = v_reuseFailAlloc_16618_; +goto v_reusejp_16616_; +} +v_reusejp_16616_: +{ +return v___x_16617_; +} } } else { -lean_object* v_a_16588_; lean_object* v___x_16590_; uint8_t v_isShared_16591_; uint8_t v_isSharedCheck_16595_; -lean_dec(v_fst_16558_); -lean_dec(v_bodySnap_x3f_16557_); -lean_dec(v_tacSnap_x3f_16556_); -lean_dec_ref(v_toDefView_16555_); -lean_dec(v_numParams_16554_); -lean_dec_ref(v_binderIds_16553_); -lean_dec(v_declName_16552_); -lean_dec(v_shortDeclName_16551_); -v_a_16588_ = lean_ctor_get(v___x_16566_, 0); -v_isSharedCheck_16595_ = !lean_is_exclusive(v___x_16566_); -if (v_isSharedCheck_16595_ == 0) +lean_object* v_a_16620_; lean_object* v___x_16622_; uint8_t v_isShared_16623_; uint8_t v_isSharedCheck_16627_; +lean_dec(v_a_16607_); +lean_dec(v_fst_16598_); +lean_dec(v_bodySnap_x3f_16597_); +lean_dec(v_tacSnap_x3f_16596_); +lean_dec_ref(v_toDefView_16595_); +lean_dec(v_numParams_16594_); +lean_dec_ref(v_binderIds_16593_); +lean_dec(v_declName_16592_); +lean_dec(v_shortDeclName_16591_); +v_a_16620_ = lean_ctor_get(v___x_16608_, 0); +v_isSharedCheck_16627_ = !lean_is_exclusive(v___x_16608_); +if (v_isSharedCheck_16627_ == 0) { -v___x_16590_ = v___x_16566_; -v_isShared_16591_ = v_isSharedCheck_16595_; -goto v_resetjp_16589_; +v___x_16622_ = v___x_16608_; +v_isShared_16623_ = v_isSharedCheck_16627_; +goto v_resetjp_16621_; } else { -lean_inc(v_a_16588_); -lean_dec(v___x_16566_); -v___x_16590_ = lean_box(0); -v_isShared_16591_ = v_isSharedCheck_16595_; -goto v_resetjp_16589_; +lean_inc(v_a_16620_); +lean_dec(v___x_16608_); +v___x_16622_ = lean_box(0); +v_isShared_16623_ = v_isSharedCheck_16627_; +goto v_resetjp_16621_; } -v_resetjp_16589_: +v_resetjp_16621_: { -lean_object* v___x_16593_; -if (v_isShared_16591_ == 0) +lean_object* v___x_16625_; +if (v_isShared_16623_ == 0) { -v___x_16593_ = v___x_16590_; -goto v_reusejp_16592_; +v___x_16625_ = v___x_16622_; +goto v_reusejp_16624_; } else { -lean_object* v_reuseFailAlloc_16594_; -v_reuseFailAlloc_16594_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16594_, 0, v_a_16588_); -v___x_16593_ = v_reuseFailAlloc_16594_; -goto v_reusejp_16592_; +lean_object* v_reuseFailAlloc_16626_; +v_reuseFailAlloc_16626_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16626_, 0, v_a_16620_); +v___x_16625_ = v_reuseFailAlloc_16626_; +goto v_reusejp_16624_; } -v_reusejp_16592_: +v_reusejp_16624_: { -return v___x_16593_; +return v___x_16625_; +} +} +} +} +else +{ +lean_object* v_a_16628_; lean_object* v___x_16630_; uint8_t v_isShared_16631_; uint8_t v_isSharedCheck_16635_; +lean_dec(v_fst_16598_); +lean_dec(v_bodySnap_x3f_16597_); +lean_dec(v_tacSnap_x3f_16596_); +lean_dec_ref(v_toDefView_16595_); +lean_dec(v_numParams_16594_); +lean_dec_ref(v_binderIds_16593_); +lean_dec(v_declName_16592_); +lean_dec(v_shortDeclName_16591_); +v_a_16628_ = lean_ctor_get(v___x_16606_, 0); +v_isSharedCheck_16635_ = !lean_is_exclusive(v___x_16606_); +if (v_isSharedCheck_16635_ == 0) +{ +v___x_16630_ = v___x_16606_; +v_isShared_16631_ = v_isSharedCheck_16635_; +goto v_resetjp_16629_; +} +else +{ +lean_inc(v_a_16628_); +lean_dec(v___x_16606_); +v___x_16630_ = lean_box(0); +v_isShared_16631_ = v_isSharedCheck_16635_; +goto v_resetjp_16629_; +} +v_resetjp_16629_: +{ +lean_object* v___x_16633_; +if (v_isShared_16631_ == 0) +{ +v___x_16633_ = v___x_16630_; +goto v_reusejp_16632_; +} +else +{ +lean_object* v_reuseFailAlloc_16634_; +v_reuseFailAlloc_16634_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16634_, 0, v_a_16628_); +v___x_16633_ = v_reuseFailAlloc_16634_; +goto v_reusejp_16632_; +} +v_reusejp_16632_: +{ +return v___x_16633_; } } } } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1___boxed(lean_object** _args){ -lean_object* v_type_16596_ = _args[0]; -lean_object* v___f_16597_ = _args[1]; -lean_object* v_shortDeclName_16598_ = _args[2]; -lean_object* v_declName_16599_ = _args[3]; -lean_object* v_binderIds_16600_ = _args[4]; -lean_object* v_numParams_16601_ = _args[5]; -lean_object* v_toDefView_16602_ = _args[6]; -lean_object* v_tacSnap_x3f_16603_ = _args[7]; -lean_object* v_bodySnap_x3f_16604_ = _args[8]; -lean_object* v_fst_16605_ = _args[9]; -lean_object* v___y_16606_ = _args[10]; -lean_object* v___y_16607_ = _args[11]; -lean_object* v___y_16608_ = _args[12]; -lean_object* v___y_16609_ = _args[13]; -lean_object* v___y_16610_ = _args[14]; -lean_object* v___y_16611_ = _args[15]; -lean_object* v___y_16612_ = _args[16]; +lean_object* v_type_16636_ = _args[0]; +lean_object* v___f_16637_ = _args[1]; +lean_object* v_shortDeclName_16638_ = _args[2]; +lean_object* v_declName_16639_ = _args[3]; +lean_object* v_binderIds_16640_ = _args[4]; +lean_object* v_numParams_16641_ = _args[5]; +lean_object* v_toDefView_16642_ = _args[6]; +lean_object* v_tacSnap_x3f_16643_ = _args[7]; +lean_object* v_bodySnap_x3f_16644_ = _args[8]; +lean_object* v_fst_16645_ = _args[9]; +lean_object* v___y_16646_ = _args[10]; +lean_object* v___y_16647_ = _args[11]; +lean_object* v___y_16648_ = _args[12]; +lean_object* v___y_16649_ = _args[13]; +lean_object* v___y_16650_ = _args[14]; +lean_object* v___y_16651_ = _args[15]; +lean_object* v___y_16652_ = _args[16]; _start: { -lean_object* v_res_16613_; -v_res_16613_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1(v_type_16596_, v___f_16597_, v_shortDeclName_16598_, v_declName_16599_, v_binderIds_16600_, v_numParams_16601_, v_toDefView_16602_, v_tacSnap_x3f_16603_, v_bodySnap_x3f_16604_, v_fst_16605_, v___y_16606_, v___y_16607_, v___y_16608_, v___y_16609_, v___y_16610_, v___y_16611_); -lean_dec(v___y_16611_); -lean_dec_ref(v___y_16610_); -lean_dec(v___y_16609_); -lean_dec_ref(v___y_16608_); -lean_dec(v___y_16607_); -lean_dec_ref(v___y_16606_); -return v_res_16613_; +lean_object* v_res_16653_; +v_res_16653_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1(v_type_16636_, v___f_16637_, v_shortDeclName_16638_, v_declName_16639_, v_binderIds_16640_, v_numParams_16641_, v_toDefView_16642_, v_tacSnap_x3f_16643_, v_bodySnap_x3f_16644_, v_fst_16645_, v___y_16646_, v___y_16647_, v___y_16648_, v___y_16649_, v___y_16650_, v___y_16651_); +lean_dec(v___y_16651_); +lean_dec_ref(v___y_16650_); +lean_dec(v___y_16649_); +lean_dec_ref(v___y_16648_); +lean_dec(v___y_16647_); +lean_dec_ref(v___y_16646_); +return v_res_16653_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(lean_object* v_as_16615_, size_t v_sz_16616_, size_t v_i_16617_, lean_object* v_b_16618_, lean_object* v___y_16619_, lean_object* v___y_16620_, lean_object* v___y_16621_, lean_object* v___y_16622_, lean_object* v___y_16623_, lean_object* v___y_16624_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(lean_object* v_as_16655_, size_t v_sz_16656_, size_t v_i_16657_, lean_object* v_b_16658_, lean_object* v___y_16659_, lean_object* v___y_16660_, lean_object* v___y_16661_, lean_object* v___y_16662_, lean_object* v___y_16663_, lean_object* v___y_16664_){ _start: { -lean_object* v_a_16627_; uint8_t v___x_16631_; -v___x_16631_ = lean_usize_dec_lt(v_i_16617_, v_sz_16616_); -if (v___x_16631_ == 0) +lean_object* v_a_16667_; uint8_t v___x_16671_; +v___x_16671_ = lean_usize_dec_lt(v_i_16657_, v_sz_16656_); +if (v___x_16671_ == 0) { -lean_object* v___x_16632_; -lean_dec(v___y_16624_); -lean_dec_ref(v___y_16623_); -lean_dec(v___y_16622_); -lean_dec_ref(v___y_16621_); -lean_dec(v___y_16620_); -lean_dec_ref(v___y_16619_); -v___x_16632_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16632_, 0, v_b_16618_); -return v___x_16632_; +lean_object* v___x_16672_; +lean_dec(v___y_16664_); +lean_dec_ref(v___y_16663_); +lean_dec(v___y_16662_); +lean_dec_ref(v___y_16661_); +lean_dec(v___y_16660_); +lean_dec_ref(v___y_16659_); +v___x_16672_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16672_, 0, v_b_16658_); +return v___x_16672_; } else { -lean_object* v_snd_16633_; lean_object* v_fst_16634_; lean_object* v___x_16636_; uint8_t v_isShared_16637_; uint8_t v_isSharedCheck_16706_; -v_snd_16633_ = lean_ctor_get(v_b_16618_, 1); -v_fst_16634_ = lean_ctor_get(v_b_16618_, 0); -v_isSharedCheck_16706_ = !lean_is_exclusive(v_b_16618_); -if (v_isSharedCheck_16706_ == 0) +lean_object* v_snd_16673_; lean_object* v_fst_16674_; lean_object* v___x_16676_; uint8_t v_isShared_16677_; uint8_t v_isSharedCheck_16746_; +v_snd_16673_ = lean_ctor_get(v_b_16658_, 1); +v_fst_16674_ = lean_ctor_get(v_b_16658_, 0); +v_isSharedCheck_16746_ = !lean_is_exclusive(v_b_16658_); +if (v_isSharedCheck_16746_ == 0) { -v___x_16636_ = v_b_16618_; -v_isShared_16637_ = v_isSharedCheck_16706_; -goto v_resetjp_16635_; +v___x_16676_ = v_b_16658_; +v_isShared_16677_ = v_isSharedCheck_16746_; +goto v_resetjp_16675_; } else { -lean_inc(v_snd_16633_); -lean_inc(v_fst_16634_); -lean_dec(v_b_16618_); -v___x_16636_ = lean_box(0); -v_isShared_16637_ = v_isSharedCheck_16706_; -goto v_resetjp_16635_; +lean_inc(v_snd_16673_); +lean_inc(v_fst_16674_); +lean_dec(v_b_16658_); +v___x_16676_ = lean_box(0); +v_isShared_16677_ = v_isSharedCheck_16746_; +goto v_resetjp_16675_; } -v_resetjp_16635_: +v_resetjp_16675_: { -lean_object* v_array_16638_; lean_object* v_start_16639_; lean_object* v_stop_16640_; uint8_t v___x_16641_; -v_array_16638_ = lean_ctor_get(v_snd_16633_, 0); -v_start_16639_ = lean_ctor_get(v_snd_16633_, 1); -v_stop_16640_ = lean_ctor_get(v_snd_16633_, 2); -v___x_16641_ = lean_nat_dec_lt(v_start_16639_, v_stop_16640_); -if (v___x_16641_ == 0) +lean_object* v_array_16678_; lean_object* v_start_16679_; lean_object* v_stop_16680_; uint8_t v___x_16681_; +v_array_16678_ = lean_ctor_get(v_snd_16673_, 0); +v_start_16679_ = lean_ctor_get(v_snd_16673_, 1); +v_stop_16680_ = lean_ctor_get(v_snd_16673_, 2); +v___x_16681_ = lean_nat_dec_lt(v_start_16679_, v_stop_16680_); +if (v___x_16681_ == 0) { -lean_object* v___x_16643_; -lean_dec(v___y_16624_); -lean_dec_ref(v___y_16623_); -lean_dec(v___y_16622_); -lean_dec_ref(v___y_16621_); -lean_dec(v___y_16620_); -lean_dec_ref(v___y_16619_); -if (v_isShared_16637_ == 0) +lean_object* v___x_16683_; +lean_dec(v___y_16664_); +lean_dec_ref(v___y_16663_); +lean_dec(v___y_16662_); +lean_dec_ref(v___y_16661_); +lean_dec(v___y_16660_); +lean_dec_ref(v___y_16659_); +if (v_isShared_16677_ == 0) { -v___x_16643_ = v___x_16636_; -goto v_reusejp_16642_; -} -else -{ -lean_object* v_reuseFailAlloc_16645_; -v_reuseFailAlloc_16645_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16645_, 0, v_fst_16634_); -lean_ctor_set(v_reuseFailAlloc_16645_, 1, v_snd_16633_); -v___x_16643_ = v_reuseFailAlloc_16645_; -goto v_reusejp_16642_; -} -v_reusejp_16642_: -{ -lean_object* v___x_16644_; -v___x_16644_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16644_, 0, v___x_16643_); -return v___x_16644_; -} -} -else -{ -lean_object* v___x_16647_; uint8_t v_isShared_16648_; uint8_t v_isSharedCheck_16702_; -lean_inc(v_stop_16640_); -lean_inc(v_start_16639_); -lean_inc_ref(v_array_16638_); -v_isSharedCheck_16702_ = !lean_is_exclusive(v_snd_16633_); -if (v_isSharedCheck_16702_ == 0) -{ -lean_object* v_unused_16703_; lean_object* v_unused_16704_; lean_object* v_unused_16705_; -v_unused_16703_ = lean_ctor_get(v_snd_16633_, 2); -lean_dec(v_unused_16703_); -v_unused_16704_ = lean_ctor_get(v_snd_16633_, 1); -lean_dec(v_unused_16704_); -v_unused_16705_ = lean_ctor_get(v_snd_16633_, 0); -lean_dec(v_unused_16705_); -v___x_16647_ = v_snd_16633_; -v_isShared_16648_ = v_isSharedCheck_16702_; -goto v_resetjp_16646_; -} -else -{ -lean_dec(v_snd_16633_); -v___x_16647_ = lean_box(0); -v_isShared_16648_ = v_isSharedCheck_16702_; -goto v_resetjp_16646_; -} -v_resetjp_16646_: -{ -lean_object* v_a_16649_; uint8_t v_kind_16650_; lean_object* v___x_16651_; lean_object* v___f_16652_; lean_object* v___x_16653_; lean_object* v___x_16654_; lean_object* v___x_16656_; -v_a_16649_ = lean_array_uget_borrowed(v_as_16615_, v_i_16617_); -v_kind_16650_ = lean_ctor_get_uint8(v_a_16649_, sizeof(void*)*10); -v___x_16651_ = lean_array_fget(v_array_16638_, v_start_16639_); -v___f_16652_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___closed__0)); -v___x_16653_ = lean_unsigned_to_nat(1u); -v___x_16654_ = lean_nat_add(v_start_16639_, v___x_16653_); -lean_dec(v_start_16639_); -if (v_isShared_16648_ == 0) -{ -lean_ctor_set(v___x_16647_, 1, v___x_16654_); -v___x_16656_ = v___x_16647_; -goto v_reusejp_16655_; -} -else -{ -lean_object* v_reuseFailAlloc_16701_; -v_reuseFailAlloc_16701_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_16701_, 0, v_array_16638_); -lean_ctor_set(v_reuseFailAlloc_16701_, 1, v___x_16654_); -lean_ctor_set(v_reuseFailAlloc_16701_, 2, v_stop_16640_); -v___x_16656_ = v_reuseFailAlloc_16701_; -goto v_reusejp_16655_; -} -v_reusejp_16655_: -{ -uint8_t v_a_16658_; uint8_t v___x_16687_; -v___x_16687_ = l_Lean_Elab_DefKind_isTheorem(v_kind_16650_); -if (v___x_16687_ == 0) -{ -lean_object* v_toDefViewElabHeaderData_16688_; lean_object* v_type_16689_; lean_object* v___x_16690_; -v_toDefViewElabHeaderData_16688_ = lean_ctor_get(v___x_16651_, 1); -v_type_16689_ = lean_ctor_get(v_toDefViewElabHeaderData_16688_, 5); -lean_inc(v___y_16624_); -lean_inc_ref(v___y_16623_); -lean_inc(v___y_16622_); -lean_inc_ref(v___y_16621_); -lean_inc_ref(v_type_16689_); -v___x_16690_ = l_Lean_Meta_isProp(v_type_16689_, v___y_16621_, v___y_16622_, v___y_16623_, v___y_16624_); -if (lean_obj_tag(v___x_16690_) == 0) -{ -lean_object* v_a_16691_; uint8_t v___x_16692_; -v_a_16691_ = lean_ctor_get(v___x_16690_, 0); -lean_inc(v_a_16691_); -lean_dec_ref(v___x_16690_); -v___x_16692_ = lean_unbox(v_a_16691_); -lean_dec(v_a_16691_); -v_a_16658_ = v___x_16692_; -goto v___jp_16657_; -} -else -{ -lean_object* v_a_16693_; lean_object* v___x_16695_; uint8_t v_isShared_16696_; uint8_t v_isSharedCheck_16700_; -lean_dec_ref(v___x_16656_); -lean_dec(v___x_16651_); -lean_del_object(v___x_16636_); -lean_dec(v_fst_16634_); -lean_dec(v___y_16624_); -lean_dec_ref(v___y_16623_); -lean_dec(v___y_16622_); -lean_dec_ref(v___y_16621_); -lean_dec(v___y_16620_); -lean_dec_ref(v___y_16619_); -v_a_16693_ = lean_ctor_get(v___x_16690_, 0); -v_isSharedCheck_16700_ = !lean_is_exclusive(v___x_16690_); -if (v_isSharedCheck_16700_ == 0) -{ -v___x_16695_ = v___x_16690_; -v_isShared_16696_ = v_isSharedCheck_16700_; -goto v_resetjp_16694_; -} -else -{ -lean_inc(v_a_16693_); -lean_dec(v___x_16690_); -v___x_16695_ = lean_box(0); -v_isShared_16696_ = v_isSharedCheck_16700_; -goto v_resetjp_16694_; -} -v_resetjp_16694_: -{ -lean_object* v___x_16698_; -if (v_isShared_16696_ == 0) -{ -v___x_16698_ = v___x_16695_; -goto v_reusejp_16697_; -} -else -{ -lean_object* v_reuseFailAlloc_16699_; -v_reuseFailAlloc_16699_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16699_, 0, v_a_16693_); -v___x_16698_ = v_reuseFailAlloc_16699_; -goto v_reusejp_16697_; -} -v_reusejp_16697_: -{ -return v___x_16698_; -} -} -} -} -else -{ -v_a_16658_ = v___x_16687_; -goto v___jp_16657_; -} -v___jp_16657_: -{ -if (v_a_16658_ == 0) -{ -lean_object* v___x_16659_; lean_object* v___x_16661_; -v___x_16659_ = lean_array_push(v_fst_16634_, v___x_16651_); -if (v_isShared_16637_ == 0) -{ -lean_ctor_set(v___x_16636_, 1, v___x_16656_); -lean_ctor_set(v___x_16636_, 0, v___x_16659_); -v___x_16661_ = v___x_16636_; -goto v_reusejp_16660_; -} -else -{ -lean_object* v_reuseFailAlloc_16662_; -v_reuseFailAlloc_16662_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16662_, 0, v___x_16659_); -lean_ctor_set(v_reuseFailAlloc_16662_, 1, v___x_16656_); -v___x_16661_ = v_reuseFailAlloc_16662_; -goto v_reusejp_16660_; -} -v_reusejp_16660_: -{ -v_a_16627_ = v___x_16661_; -goto v___jp_16626_; -} -} -else -{ -lean_object* v_toDefViewElabHeaderData_16663_; lean_object* v_toDefView_16664_; lean_object* v_tacSnap_x3f_16665_; lean_object* v_bodySnap_x3f_16666_; lean_object* v_shortDeclName_16667_; lean_object* v_declName_16668_; lean_object* v_levelNames_16669_; lean_object* v_binderIds_16670_; lean_object* v_numParams_16671_; lean_object* v_type_16672_; lean_object* v___f_16673_; lean_object* v___x_16674_; -v_toDefViewElabHeaderData_16663_ = lean_ctor_get(v___x_16651_, 1); -lean_inc_ref(v_toDefViewElabHeaderData_16663_); -v_toDefView_16664_ = lean_ctor_get(v___x_16651_, 0); -lean_inc_ref(v_toDefView_16664_); -v_tacSnap_x3f_16665_ = lean_ctor_get(v___x_16651_, 2); -lean_inc(v_tacSnap_x3f_16665_); -v_bodySnap_x3f_16666_ = lean_ctor_get(v___x_16651_, 3); -lean_inc(v_bodySnap_x3f_16666_); -lean_dec(v___x_16651_); -v_shortDeclName_16667_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 0); -lean_inc(v_shortDeclName_16667_); -v_declName_16668_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 1); -lean_inc(v_declName_16668_); -v_levelNames_16669_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 2); -lean_inc(v_levelNames_16669_); -v_binderIds_16670_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 3); -lean_inc_ref(v_binderIds_16670_); -v_numParams_16671_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 4); -lean_inc(v_numParams_16671_); -v_type_16672_ = lean_ctor_get(v_toDefViewElabHeaderData_16663_, 5); -lean_inc_ref(v_type_16672_); -lean_dec_ref(v_toDefViewElabHeaderData_16663_); -v___f_16673_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1___boxed), 17, 10); -lean_closure_set(v___f_16673_, 0, v_type_16672_); -lean_closure_set(v___f_16673_, 1, v___f_16652_); -lean_closure_set(v___f_16673_, 2, v_shortDeclName_16667_); -lean_closure_set(v___f_16673_, 3, v_declName_16668_); -lean_closure_set(v___f_16673_, 4, v_binderIds_16670_); -lean_closure_set(v___f_16673_, 5, v_numParams_16671_); -lean_closure_set(v___f_16673_, 6, v_toDefView_16664_); -lean_closure_set(v___f_16673_, 7, v_tacSnap_x3f_16665_); -lean_closure_set(v___f_16673_, 8, v_bodySnap_x3f_16666_); -lean_closure_set(v___f_16673_, 9, v_fst_16634_); -lean_inc(v___y_16624_); -lean_inc_ref(v___y_16623_); -lean_inc(v___y_16622_); -lean_inc_ref(v___y_16621_); -lean_inc(v___y_16620_); -lean_inc_ref(v___y_16619_); -v___x_16674_ = l_Lean_Elab_Term_withLevelNames___redArg(v_levelNames_16669_, v___f_16673_, v___y_16619_, v___y_16620_, v___y_16621_, v___y_16622_, v___y_16623_, v___y_16624_); -if (lean_obj_tag(v___x_16674_) == 0) -{ -lean_object* v_a_16675_; lean_object* v___x_16677_; -v_a_16675_ = lean_ctor_get(v___x_16674_, 0); -lean_inc(v_a_16675_); -lean_dec_ref(v___x_16674_); -if (v_isShared_16637_ == 0) -{ -lean_ctor_set(v___x_16636_, 1, v___x_16656_); -lean_ctor_set(v___x_16636_, 0, v_a_16675_); -v___x_16677_ = v___x_16636_; -goto v_reusejp_16676_; -} -else -{ -lean_object* v_reuseFailAlloc_16678_; -v_reuseFailAlloc_16678_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16678_, 0, v_a_16675_); -lean_ctor_set(v_reuseFailAlloc_16678_, 1, v___x_16656_); -v___x_16677_ = v_reuseFailAlloc_16678_; -goto v_reusejp_16676_; -} -v_reusejp_16676_: -{ -v_a_16627_ = v___x_16677_; -goto v___jp_16626_; -} -} -else -{ -lean_object* v_a_16679_; lean_object* v___x_16681_; uint8_t v_isShared_16682_; uint8_t v_isSharedCheck_16686_; -lean_dec_ref(v___x_16656_); -lean_del_object(v___x_16636_); -lean_dec(v___y_16624_); -lean_dec_ref(v___y_16623_); -lean_dec(v___y_16622_); -lean_dec_ref(v___y_16621_); -lean_dec(v___y_16620_); -lean_dec_ref(v___y_16619_); -v_a_16679_ = lean_ctor_get(v___x_16674_, 0); -v_isSharedCheck_16686_ = !lean_is_exclusive(v___x_16674_); -if (v_isSharedCheck_16686_ == 0) -{ -v___x_16681_ = v___x_16674_; -v_isShared_16682_ = v_isSharedCheck_16686_; -goto v_resetjp_16680_; -} -else -{ -lean_inc(v_a_16679_); -lean_dec(v___x_16674_); -v___x_16681_ = lean_box(0); -v_isShared_16682_ = v_isSharedCheck_16686_; -goto v_resetjp_16680_; -} -v_resetjp_16680_: -{ -lean_object* v___x_16684_; -if (v_isShared_16682_ == 0) -{ -v___x_16684_ = v___x_16681_; -goto v_reusejp_16683_; +v___x_16683_ = v___x_16676_; +goto v_reusejp_16682_; } else { lean_object* v_reuseFailAlloc_16685_; -v_reuseFailAlloc_16685_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16685_, 0, v_a_16679_); -v___x_16684_ = v_reuseFailAlloc_16685_; -goto v_reusejp_16683_; +v_reuseFailAlloc_16685_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16685_, 0, v_fst_16674_); +lean_ctor_set(v_reuseFailAlloc_16685_, 1, v_snd_16673_); +v___x_16683_ = v_reuseFailAlloc_16685_; +goto v_reusejp_16682_; } -v_reusejp_16683_: +v_reusejp_16682_: { +lean_object* v___x_16684_; +v___x_16684_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16684_, 0, v___x_16683_); return v___x_16684_; } } -} -} -} -} -} -} -} -} -v___jp_16626_: +else { -size_t v___x_16628_; size_t v___x_16629_; -v___x_16628_ = ((size_t)1ULL); -v___x_16629_ = lean_usize_add(v_i_16617_, v___x_16628_); -v_i_16617_ = v___x_16629_; -v_b_16618_ = v_a_16627_; +lean_object* v___x_16687_; uint8_t v_isShared_16688_; uint8_t v_isSharedCheck_16742_; +lean_inc(v_stop_16680_); +lean_inc(v_start_16679_); +lean_inc_ref(v_array_16678_); +v_isSharedCheck_16742_ = !lean_is_exclusive(v_snd_16673_); +if (v_isSharedCheck_16742_ == 0) +{ +lean_object* v_unused_16743_; lean_object* v_unused_16744_; lean_object* v_unused_16745_; +v_unused_16743_ = lean_ctor_get(v_snd_16673_, 2); +lean_dec(v_unused_16743_); +v_unused_16744_ = lean_ctor_get(v_snd_16673_, 1); +lean_dec(v_unused_16744_); +v_unused_16745_ = lean_ctor_get(v_snd_16673_, 0); +lean_dec(v_unused_16745_); +v___x_16687_ = v_snd_16673_; +v_isShared_16688_ = v_isSharedCheck_16742_; +goto v_resetjp_16686_; +} +else +{ +lean_dec(v_snd_16673_); +v___x_16687_ = lean_box(0); +v_isShared_16688_ = v_isSharedCheck_16742_; +goto v_resetjp_16686_; +} +v_resetjp_16686_: +{ +lean_object* v_a_16689_; uint8_t v_kind_16690_; lean_object* v___x_16691_; lean_object* v___f_16692_; lean_object* v___x_16693_; lean_object* v___x_16694_; lean_object* v___x_16696_; +v_a_16689_ = lean_array_uget_borrowed(v_as_16655_, v_i_16657_); +v_kind_16690_ = lean_ctor_get_uint8(v_a_16689_, sizeof(void*)*10); +v___x_16691_ = lean_array_fget(v_array_16678_, v_start_16679_); +v___f_16692_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___closed__0)); +v___x_16693_ = lean_unsigned_to_nat(1u); +v___x_16694_ = lean_nat_add(v_start_16679_, v___x_16693_); +lean_dec(v_start_16679_); +if (v_isShared_16688_ == 0) +{ +lean_ctor_set(v___x_16687_, 1, v___x_16694_); +v___x_16696_ = v___x_16687_; +goto v_reusejp_16695_; +} +else +{ +lean_object* v_reuseFailAlloc_16741_; +v_reuseFailAlloc_16741_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_16741_, 0, v_array_16678_); +lean_ctor_set(v_reuseFailAlloc_16741_, 1, v___x_16694_); +lean_ctor_set(v_reuseFailAlloc_16741_, 2, v_stop_16680_); +v___x_16696_ = v_reuseFailAlloc_16741_; +goto v_reusejp_16695_; +} +v_reusejp_16695_: +{ +uint8_t v_a_16698_; uint8_t v___x_16727_; +v___x_16727_ = l_Lean_Elab_DefKind_isTheorem(v_kind_16690_); +if (v___x_16727_ == 0) +{ +lean_object* v_toDefViewElabHeaderData_16728_; lean_object* v_type_16729_; lean_object* v___x_16730_; +v_toDefViewElabHeaderData_16728_ = lean_ctor_get(v___x_16691_, 1); +v_type_16729_ = lean_ctor_get(v_toDefViewElabHeaderData_16728_, 5); +lean_inc(v___y_16664_); +lean_inc_ref(v___y_16663_); +lean_inc(v___y_16662_); +lean_inc_ref(v___y_16661_); +lean_inc_ref(v_type_16729_); +v___x_16730_ = l_Lean_Meta_isProp(v_type_16729_, v___y_16661_, v___y_16662_, v___y_16663_, v___y_16664_); +if (lean_obj_tag(v___x_16730_) == 0) +{ +lean_object* v_a_16731_; uint8_t v___x_16732_; +v_a_16731_ = lean_ctor_get(v___x_16730_, 0); +lean_inc(v_a_16731_); +lean_dec_ref(v___x_16730_); +v___x_16732_ = lean_unbox(v_a_16731_); +lean_dec(v_a_16731_); +v_a_16698_ = v___x_16732_; +goto v___jp_16697_; +} +else +{ +lean_object* v_a_16733_; lean_object* v___x_16735_; uint8_t v_isShared_16736_; uint8_t v_isSharedCheck_16740_; +lean_dec_ref(v___x_16696_); +lean_dec(v___x_16691_); +lean_del_object(v___x_16676_); +lean_dec(v_fst_16674_); +lean_dec(v___y_16664_); +lean_dec_ref(v___y_16663_); +lean_dec(v___y_16662_); +lean_dec_ref(v___y_16661_); +lean_dec(v___y_16660_); +lean_dec_ref(v___y_16659_); +v_a_16733_ = lean_ctor_get(v___x_16730_, 0); +v_isSharedCheck_16740_ = !lean_is_exclusive(v___x_16730_); +if (v_isSharedCheck_16740_ == 0) +{ +v___x_16735_ = v___x_16730_; +v_isShared_16736_ = v_isSharedCheck_16740_; +goto v_resetjp_16734_; +} +else +{ +lean_inc(v_a_16733_); +lean_dec(v___x_16730_); +v___x_16735_ = lean_box(0); +v_isShared_16736_ = v_isSharedCheck_16740_; +goto v_resetjp_16734_; +} +v_resetjp_16734_: +{ +lean_object* v___x_16738_; +if (v_isShared_16736_ == 0) +{ +v___x_16738_ = v___x_16735_; +goto v_reusejp_16737_; +} +else +{ +lean_object* v_reuseFailAlloc_16739_; +v_reuseFailAlloc_16739_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16739_, 0, v_a_16733_); +v___x_16738_ = v_reuseFailAlloc_16739_; +goto v_reusejp_16737_; +} +v_reusejp_16737_: +{ +return v___x_16738_; +} +} +} +} +else +{ +v_a_16698_ = v___x_16727_; +goto v___jp_16697_; +} +v___jp_16697_: +{ +if (v_a_16698_ == 0) +{ +lean_object* v___x_16699_; lean_object* v___x_16701_; +v___x_16699_ = lean_array_push(v_fst_16674_, v___x_16691_); +if (v_isShared_16677_ == 0) +{ +lean_ctor_set(v___x_16676_, 1, v___x_16696_); +lean_ctor_set(v___x_16676_, 0, v___x_16699_); +v___x_16701_ = v___x_16676_; +goto v_reusejp_16700_; +} +else +{ +lean_object* v_reuseFailAlloc_16702_; +v_reuseFailAlloc_16702_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16702_, 0, v___x_16699_); +lean_ctor_set(v_reuseFailAlloc_16702_, 1, v___x_16696_); +v___x_16701_ = v_reuseFailAlloc_16702_; +goto v_reusejp_16700_; +} +v_reusejp_16700_: +{ +v_a_16667_ = v___x_16701_; +goto v___jp_16666_; +} +} +else +{ +lean_object* v_toDefViewElabHeaderData_16703_; lean_object* v_toDefView_16704_; lean_object* v_tacSnap_x3f_16705_; lean_object* v_bodySnap_x3f_16706_; lean_object* v_shortDeclName_16707_; lean_object* v_declName_16708_; lean_object* v_levelNames_16709_; lean_object* v_binderIds_16710_; lean_object* v_numParams_16711_; lean_object* v_type_16712_; lean_object* v___f_16713_; lean_object* v___x_16714_; +v_toDefViewElabHeaderData_16703_ = lean_ctor_get(v___x_16691_, 1); +lean_inc_ref(v_toDefViewElabHeaderData_16703_); +v_toDefView_16704_ = lean_ctor_get(v___x_16691_, 0); +lean_inc_ref(v_toDefView_16704_); +v_tacSnap_x3f_16705_ = lean_ctor_get(v___x_16691_, 2); +lean_inc(v_tacSnap_x3f_16705_); +v_bodySnap_x3f_16706_ = lean_ctor_get(v___x_16691_, 3); +lean_inc(v_bodySnap_x3f_16706_); +lean_dec(v___x_16691_); +v_shortDeclName_16707_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 0); +lean_inc(v_shortDeclName_16707_); +v_declName_16708_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 1); +lean_inc(v_declName_16708_); +v_levelNames_16709_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 2); +lean_inc(v_levelNames_16709_); +v_binderIds_16710_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 3); +lean_inc_ref(v_binderIds_16710_); +v_numParams_16711_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 4); +lean_inc(v_numParams_16711_); +v_type_16712_ = lean_ctor_get(v_toDefViewElabHeaderData_16703_, 5); +lean_inc_ref(v_type_16712_); +lean_dec_ref(v_toDefViewElabHeaderData_16703_); +v___f_16713_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___lam__1___boxed), 17, 10); +lean_closure_set(v___f_16713_, 0, v_type_16712_); +lean_closure_set(v___f_16713_, 1, v___f_16692_); +lean_closure_set(v___f_16713_, 2, v_shortDeclName_16707_); +lean_closure_set(v___f_16713_, 3, v_declName_16708_); +lean_closure_set(v___f_16713_, 4, v_binderIds_16710_); +lean_closure_set(v___f_16713_, 5, v_numParams_16711_); +lean_closure_set(v___f_16713_, 6, v_toDefView_16704_); +lean_closure_set(v___f_16713_, 7, v_tacSnap_x3f_16705_); +lean_closure_set(v___f_16713_, 8, v_bodySnap_x3f_16706_); +lean_closure_set(v___f_16713_, 9, v_fst_16674_); +lean_inc(v___y_16664_); +lean_inc_ref(v___y_16663_); +lean_inc(v___y_16662_); +lean_inc_ref(v___y_16661_); +lean_inc(v___y_16660_); +lean_inc_ref(v___y_16659_); +v___x_16714_ = l_Lean_Elab_Term_withLevelNames___redArg(v_levelNames_16709_, v___f_16713_, v___y_16659_, v___y_16660_, v___y_16661_, v___y_16662_, v___y_16663_, v___y_16664_); +if (lean_obj_tag(v___x_16714_) == 0) +{ +lean_object* v_a_16715_; lean_object* v___x_16717_; +v_a_16715_ = lean_ctor_get(v___x_16714_, 0); +lean_inc(v_a_16715_); +lean_dec_ref(v___x_16714_); +if (v_isShared_16677_ == 0) +{ +lean_ctor_set(v___x_16676_, 1, v___x_16696_); +lean_ctor_set(v___x_16676_, 0, v_a_16715_); +v___x_16717_ = v___x_16676_; +goto v_reusejp_16716_; +} +else +{ +lean_object* v_reuseFailAlloc_16718_; +v_reuseFailAlloc_16718_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16718_, 0, v_a_16715_); +lean_ctor_set(v_reuseFailAlloc_16718_, 1, v___x_16696_); +v___x_16717_ = v_reuseFailAlloc_16718_; +goto v_reusejp_16716_; +} +v_reusejp_16716_: +{ +v_a_16667_ = v___x_16717_; +goto v___jp_16666_; +} +} +else +{ +lean_object* v_a_16719_; lean_object* v___x_16721_; uint8_t v_isShared_16722_; uint8_t v_isSharedCheck_16726_; +lean_dec_ref(v___x_16696_); +lean_del_object(v___x_16676_); +lean_dec(v___y_16664_); +lean_dec_ref(v___y_16663_); +lean_dec(v___y_16662_); +lean_dec_ref(v___y_16661_); +lean_dec(v___y_16660_); +lean_dec_ref(v___y_16659_); +v_a_16719_ = lean_ctor_get(v___x_16714_, 0); +v_isSharedCheck_16726_ = !lean_is_exclusive(v___x_16714_); +if (v_isSharedCheck_16726_ == 0) +{ +v___x_16721_ = v___x_16714_; +v_isShared_16722_ = v_isSharedCheck_16726_; +goto v_resetjp_16720_; +} +else +{ +lean_inc(v_a_16719_); +lean_dec(v___x_16714_); +v___x_16721_ = lean_box(0); +v_isShared_16722_ = v_isSharedCheck_16726_; +goto v_resetjp_16720_; +} +v_resetjp_16720_: +{ +lean_object* v___x_16724_; +if (v_isShared_16722_ == 0) +{ +v___x_16724_ = v___x_16721_; +goto v_reusejp_16723_; +} +else +{ +lean_object* v_reuseFailAlloc_16725_; +v_reuseFailAlloc_16725_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16725_, 0, v_a_16719_); +v___x_16724_ = v_reuseFailAlloc_16725_; +goto v_reusejp_16723_; +} +v_reusejp_16723_: +{ +return v___x_16724_; +} +} +} +} +} +} +} +} +} +} +v___jp_16666_: +{ +size_t v___x_16668_; size_t v___x_16669_; +v___x_16668_ = ((size_t)1ULL); +v___x_16669_ = lean_usize_add(v_i_16657_, v___x_16668_); +v_i_16657_ = v___x_16669_; +v_b_16658_ = v_a_16667_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___boxed(lean_object* v_as_16707_, lean_object* v_sz_16708_, lean_object* v_i_16709_, lean_object* v_b_16710_, lean_object* v___y_16711_, lean_object* v___y_16712_, lean_object* v___y_16713_, lean_object* v___y_16714_, lean_object* v___y_16715_, lean_object* v___y_16716_, lean_object* v___y_16717_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg___boxed(lean_object* v_as_16747_, lean_object* v_sz_16748_, lean_object* v_i_16749_, lean_object* v_b_16750_, lean_object* v___y_16751_, lean_object* v___y_16752_, lean_object* v___y_16753_, lean_object* v___y_16754_, lean_object* v___y_16755_, lean_object* v___y_16756_, lean_object* v___y_16757_){ _start: { -size_t v_sz_boxed_16718_; size_t v_i_boxed_16719_; lean_object* v_res_16720_; -v_sz_boxed_16718_ = lean_unbox_usize(v_sz_16708_); -lean_dec(v_sz_16708_); -v_i_boxed_16719_ = lean_unbox_usize(v_i_16709_); -lean_dec(v_i_16709_); -v_res_16720_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_as_16707_, v_sz_boxed_16718_, v_i_boxed_16719_, v_b_16710_, v___y_16711_, v___y_16712_, v___y_16713_, v___y_16714_, v___y_16715_, v___y_16716_); -lean_dec_ref(v_as_16707_); -return v_res_16720_; +size_t v_sz_boxed_16758_; size_t v_i_boxed_16759_; lean_object* v_res_16760_; +v_sz_boxed_16758_ = lean_unbox_usize(v_sz_16748_); +lean_dec(v_sz_16748_); +v_i_boxed_16759_ = lean_unbox_usize(v_i_16749_); +lean_dec(v_i_16749_); +v_res_16760_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_as_16747_, v_sz_boxed_16758_, v_i_boxed_16759_, v_b_16750_, v___y_16751_, v___y_16752_, v___y_16753_, v___y_16754_, v___y_16755_, v___y_16756_); +lean_dec_ref(v_as_16747_); +return v_res_16760_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(lean_object* v_views_16721_, lean_object* v_headers_16722_, lean_object* v_a_16723_, lean_object* v_a_16724_, lean_object* v_a_16725_, lean_object* v_a_16726_, lean_object* v_a_16727_, lean_object* v_a_16728_, lean_object* v_a_16729_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(lean_object* v_views_16761_, lean_object* v_headers_16762_, lean_object* v_a_16763_, lean_object* v_a_16764_, lean_object* v_a_16765_, lean_object* v_a_16766_, lean_object* v_a_16767_, lean_object* v_a_16768_, lean_object* v_a_16769_){ _start: { -lean_object* v___x_16731_; lean_object* v_newHeaders_16732_; lean_object* v___x_16733_; lean_object* v___x_16734_; lean_object* v___x_16735_; size_t v_sz_16736_; size_t v___x_16737_; lean_object* v___x_16738_; -v___x_16731_ = lean_unsigned_to_nat(0u); -v_newHeaders_16732_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___closed__0)); -v___x_16733_ = lean_array_get_size(v_headers_16722_); -v___x_16734_ = l_Array_toSubarray___redArg(v_headers_16722_, v___x_16731_, v___x_16733_); -v___x_16735_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_16735_, 0, v_newHeaders_16732_); -lean_ctor_set(v___x_16735_, 1, v___x_16734_); -v_sz_16736_ = lean_array_size(v_views_16721_); -v___x_16737_ = ((size_t)0ULL); -v___x_16738_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_views_16721_, v_sz_16736_, v___x_16737_, v___x_16735_, v_a_16724_, v_a_16725_, v_a_16726_, v_a_16727_, v_a_16728_, v_a_16729_); -if (lean_obj_tag(v___x_16738_) == 0) +lean_object* v___x_16771_; lean_object* v_newHeaders_16772_; lean_object* v___x_16773_; lean_object* v___x_16774_; lean_object* v___x_16775_; size_t v_sz_16776_; size_t v___x_16777_; lean_object* v___x_16778_; +v___x_16771_ = lean_unsigned_to_nat(0u); +v_newHeaders_16772_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___closed__0)); +v___x_16773_ = lean_array_get_size(v_headers_16762_); +v___x_16774_ = l_Array_toSubarray___redArg(v_headers_16762_, v___x_16771_, v___x_16773_); +v___x_16775_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_16775_, 0, v_newHeaders_16772_); +lean_ctor_set(v___x_16775_, 1, v___x_16774_); +v_sz_16776_ = lean_array_size(v_views_16761_); +v___x_16777_ = ((size_t)0ULL); +v___x_16778_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_views_16761_, v_sz_16776_, v___x_16777_, v___x_16775_, v_a_16764_, v_a_16765_, v_a_16766_, v_a_16767_, v_a_16768_, v_a_16769_); +if (lean_obj_tag(v___x_16778_) == 0) { -lean_object* v_a_16739_; lean_object* v___x_16741_; uint8_t v_isShared_16742_; uint8_t v_isSharedCheck_16747_; -v_a_16739_ = lean_ctor_get(v___x_16738_, 0); -v_isSharedCheck_16747_ = !lean_is_exclusive(v___x_16738_); -if (v_isSharedCheck_16747_ == 0) +lean_object* v_a_16779_; lean_object* v___x_16781_; uint8_t v_isShared_16782_; uint8_t v_isSharedCheck_16787_; +v_a_16779_ = lean_ctor_get(v___x_16778_, 0); +v_isSharedCheck_16787_ = !lean_is_exclusive(v___x_16778_); +if (v_isSharedCheck_16787_ == 0) { -v___x_16741_ = v___x_16738_; -v_isShared_16742_ = v_isSharedCheck_16747_; -goto v_resetjp_16740_; +v___x_16781_ = v___x_16778_; +v_isShared_16782_ = v_isSharedCheck_16787_; +goto v_resetjp_16780_; } else { -lean_inc(v_a_16739_); -lean_dec(v___x_16738_); -v___x_16741_ = lean_box(0); -v_isShared_16742_ = v_isSharedCheck_16747_; -goto v_resetjp_16740_; +lean_inc(v_a_16779_); +lean_dec(v___x_16778_); +v___x_16781_ = lean_box(0); +v_isShared_16782_ = v_isSharedCheck_16787_; +goto v_resetjp_16780_; } -v_resetjp_16740_: +v_resetjp_16780_: { -lean_object* v_fst_16743_; lean_object* v___x_16745_; -v_fst_16743_ = lean_ctor_get(v_a_16739_, 0); -lean_inc(v_fst_16743_); -lean_dec(v_a_16739_); -if (v_isShared_16742_ == 0) +lean_object* v_fst_16783_; lean_object* v___x_16785_; +v_fst_16783_ = lean_ctor_get(v_a_16779_, 0); +lean_inc(v_fst_16783_); +lean_dec(v_a_16779_); +if (v_isShared_16782_ == 0) { -lean_ctor_set(v___x_16741_, 0, v_fst_16743_); -v___x_16745_ = v___x_16741_; -goto v_reusejp_16744_; +lean_ctor_set(v___x_16781_, 0, v_fst_16783_); +v___x_16785_ = v___x_16781_; +goto v_reusejp_16784_; } else { -lean_object* v_reuseFailAlloc_16746_; -v_reuseFailAlloc_16746_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16746_, 0, v_fst_16743_); -v___x_16745_ = v_reuseFailAlloc_16746_; -goto v_reusejp_16744_; +lean_object* v_reuseFailAlloc_16786_; +v_reuseFailAlloc_16786_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16786_, 0, v_fst_16783_); +v___x_16785_ = v_reuseFailAlloc_16786_; +goto v_reusejp_16784_; } -v_reusejp_16744_: +v_reusejp_16784_: { -return v___x_16745_; +return v___x_16785_; } } } else { -lean_object* v_a_16748_; lean_object* v___x_16750_; uint8_t v_isShared_16751_; uint8_t v_isSharedCheck_16755_; -v_a_16748_ = lean_ctor_get(v___x_16738_, 0); -v_isSharedCheck_16755_ = !lean_is_exclusive(v___x_16738_); -if (v_isSharedCheck_16755_ == 0) +lean_object* v_a_16788_; lean_object* v___x_16790_; uint8_t v_isShared_16791_; uint8_t v_isSharedCheck_16795_; +v_a_16788_ = lean_ctor_get(v___x_16778_, 0); +v_isSharedCheck_16795_ = !lean_is_exclusive(v___x_16778_); +if (v_isSharedCheck_16795_ == 0) { -v___x_16750_ = v___x_16738_; -v_isShared_16751_ = v_isSharedCheck_16755_; -goto v_resetjp_16749_; +v___x_16790_ = v___x_16778_; +v_isShared_16791_ = v_isSharedCheck_16795_; +goto v_resetjp_16789_; } else { -lean_inc(v_a_16748_); -lean_dec(v___x_16738_); -v___x_16750_ = lean_box(0); -v_isShared_16751_ = v_isSharedCheck_16755_; -goto v_resetjp_16749_; +lean_inc(v_a_16788_); +lean_dec(v___x_16778_); +v___x_16790_ = lean_box(0); +v_isShared_16791_ = v_isSharedCheck_16795_; +goto v_resetjp_16789_; } -v_resetjp_16749_: +v_resetjp_16789_: { -lean_object* v___x_16753_; -if (v_isShared_16751_ == 0) +lean_object* v___x_16793_; +if (v_isShared_16791_ == 0) { -v___x_16753_ = v___x_16750_; -goto v_reusejp_16752_; +v___x_16793_ = v___x_16790_; +goto v_reusejp_16792_; } else { -lean_object* v_reuseFailAlloc_16754_; -v_reuseFailAlloc_16754_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16754_, 0, v_a_16748_); -v___x_16753_ = v_reuseFailAlloc_16754_; -goto v_reusejp_16752_; +lean_object* v_reuseFailAlloc_16794_; +v_reuseFailAlloc_16794_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16794_, 0, v_a_16788_); +v___x_16793_ = v_reuseFailAlloc_16794_; +goto v_reusejp_16792_; } -v_reusejp_16752_: +v_reusejp_16792_: { -return v___x_16753_; +return v___x_16793_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___boxed(lean_object* v_views_16756_, lean_object* v_headers_16757_, lean_object* v_a_16758_, lean_object* v_a_16759_, lean_object* v_a_16760_, lean_object* v_a_16761_, lean_object* v_a_16762_, lean_object* v_a_16763_, lean_object* v_a_16764_, lean_object* v_a_16765_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process___boxed(lean_object* v_views_16796_, lean_object* v_headers_16797_, lean_object* v_a_16798_, lean_object* v_a_16799_, lean_object* v_a_16800_, lean_object* v_a_16801_, lean_object* v_a_16802_, lean_object* v_a_16803_, lean_object* v_a_16804_, lean_object* v_a_16805_){ _start: { -lean_object* v_res_16766_; -v_res_16766_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(v_views_16756_, v_headers_16757_, v_a_16758_, v_a_16759_, v_a_16760_, v_a_16761_, v_a_16762_, v_a_16763_, v_a_16764_); -lean_dec(v_a_16758_); -lean_dec_ref(v_views_16756_); -return v_res_16766_; +lean_object* v_res_16806_; +v_res_16806_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(v_views_16796_, v_headers_16797_, v_a_16798_, v_a_16799_, v_a_16800_, v_a_16801_, v_a_16802_, v_a_16803_, v_a_16804_); +lean_dec(v_a_16798_); +lean_dec_ref(v_views_16796_); +return v_res_16806_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0(lean_object* v_as_16767_, size_t v_sz_16768_, size_t v_i_16769_, lean_object* v_b_16770_, lean_object* v___y_16771_, lean_object* v___y_16772_, lean_object* v___y_16773_, lean_object* v___y_16774_, lean_object* v___y_16775_, lean_object* v___y_16776_, lean_object* v___y_16777_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0(lean_object* v_as_16807_, size_t v_sz_16808_, size_t v_i_16809_, lean_object* v_b_16810_, lean_object* v___y_16811_, lean_object* v___y_16812_, lean_object* v___y_16813_, lean_object* v___y_16814_, lean_object* v___y_16815_, lean_object* v___y_16816_, lean_object* v___y_16817_){ _start: { -lean_object* v___x_16779_; -v___x_16779_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_as_16767_, v_sz_16768_, v_i_16769_, v_b_16770_, v___y_16772_, v___y_16773_, v___y_16774_, v___y_16775_, v___y_16776_, v___y_16777_); -return v___x_16779_; +lean_object* v___x_16819_; +v___x_16819_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___redArg(v_as_16807_, v_sz_16808_, v_i_16809_, v_b_16810_, v___y_16812_, v___y_16813_, v___y_16814_, v___y_16815_, v___y_16816_, v___y_16817_); +return v___x_16819_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___boxed(lean_object* v_as_16780_, lean_object* v_sz_16781_, lean_object* v_i_16782_, lean_object* v_b_16783_, lean_object* v___y_16784_, lean_object* v___y_16785_, lean_object* v___y_16786_, lean_object* v___y_16787_, lean_object* v___y_16788_, lean_object* v___y_16789_, lean_object* v___y_16790_, lean_object* v___y_16791_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0___boxed(lean_object* v_as_16820_, lean_object* v_sz_16821_, lean_object* v_i_16822_, lean_object* v_b_16823_, lean_object* v___y_16824_, lean_object* v___y_16825_, lean_object* v___y_16826_, lean_object* v___y_16827_, lean_object* v___y_16828_, lean_object* v___y_16829_, lean_object* v___y_16830_, lean_object* v___y_16831_){ _start: { -size_t v_sz_boxed_16792_; size_t v_i_boxed_16793_; lean_object* v_res_16794_; -v_sz_boxed_16792_ = lean_unbox_usize(v_sz_16781_); -lean_dec(v_sz_16781_); -v_i_boxed_16793_ = lean_unbox_usize(v_i_16782_); -lean_dec(v_i_16782_); -v_res_16794_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0(v_as_16780_, v_sz_boxed_16792_, v_i_boxed_16793_, v_b_16783_, v___y_16784_, v___y_16785_, v___y_16786_, v___y_16787_, v___y_16788_, v___y_16789_, v___y_16790_); -lean_dec(v___y_16784_); -lean_dec_ref(v_as_16780_); -return v_res_16794_; +size_t v_sz_boxed_16832_; size_t v_i_boxed_16833_; lean_object* v_res_16834_; +v_sz_boxed_16832_ = lean_unbox_usize(v_sz_16821_); +lean_dec(v_sz_16821_); +v_i_boxed_16833_ = lean_unbox_usize(v_i_16822_); +lean_dec(v_i_16822_); +v_res_16834_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process_spec__0(v_as_16820_, v_sz_boxed_16832_, v_i_boxed_16833_, v_b_16823_, v___y_16824_, v___y_16825_, v___y_16826_, v___y_16827_, v___y_16828_, v___y_16829_, v___y_16830_); +lean_dec(v___y_16824_); +lean_dec_ref(v_as_16820_); +return v_res_16834_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(size_t v_sz_16795_, size_t v_i_16796_, lean_object* v_bs_16797_, lean_object* v___y_16798_, lean_object* v___y_16799_, lean_object* v___y_16800_, lean_object* v___y_16801_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(size_t v_sz_16835_, size_t v_i_16836_, lean_object* v_bs_16837_, lean_object* v___y_16838_, lean_object* v___y_16839_, lean_object* v___y_16840_, lean_object* v___y_16841_){ _start: { -uint8_t v___x_16803_; -v___x_16803_ = lean_usize_dec_lt(v_i_16796_, v_sz_16795_); -if (v___x_16803_ == 0) +uint8_t v___x_16843_; +v___x_16843_ = lean_usize_dec_lt(v_i_16836_, v_sz_16835_); +if (v___x_16843_ == 0) { -lean_object* v___x_16804_; -lean_dec(v___y_16801_); -lean_dec_ref(v___y_16800_); -lean_dec(v___y_16799_); -lean_dec_ref(v___y_16798_); -v___x_16804_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16804_, 0, v_bs_16797_); -return v___x_16804_; +lean_object* v___x_16844_; +lean_dec(v___y_16841_); +lean_dec_ref(v___y_16840_); +lean_dec(v___y_16839_); +lean_dec_ref(v___y_16838_); +v___x_16844_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16844_, 0, v_bs_16837_); +return v___x_16844_; } else { -lean_object* v_v_16805_; lean_object* v_toDefViewElabHeaderData_16806_; lean_object* v_toDefView_16807_; lean_object* v_tacSnap_x3f_16808_; lean_object* v_bodySnap_x3f_16809_; lean_object* v___x_16811_; uint8_t v_isShared_16812_; uint8_t v_isSharedCheck_16845_; -v_v_16805_ = lean_array_uget(v_bs_16797_, v_i_16796_); -v_toDefViewElabHeaderData_16806_ = lean_ctor_get(v_v_16805_, 1); -v_toDefView_16807_ = lean_ctor_get(v_v_16805_, 0); -v_tacSnap_x3f_16808_ = lean_ctor_get(v_v_16805_, 2); -v_bodySnap_x3f_16809_ = lean_ctor_get(v_v_16805_, 3); -v_isSharedCheck_16845_ = !lean_is_exclusive(v_v_16805_); -if (v_isSharedCheck_16845_ == 0) +lean_object* v_v_16845_; lean_object* v_toDefViewElabHeaderData_16846_; lean_object* v_toDefView_16847_; lean_object* v_tacSnap_x3f_16848_; lean_object* v_bodySnap_x3f_16849_; lean_object* v___x_16851_; uint8_t v_isShared_16852_; uint8_t v_isSharedCheck_16885_; +v_v_16845_ = lean_array_uget(v_bs_16837_, v_i_16836_); +v_toDefViewElabHeaderData_16846_ = lean_ctor_get(v_v_16845_, 1); +v_toDefView_16847_ = lean_ctor_get(v_v_16845_, 0); +v_tacSnap_x3f_16848_ = lean_ctor_get(v_v_16845_, 2); +v_bodySnap_x3f_16849_ = lean_ctor_get(v_v_16845_, 3); +v_isSharedCheck_16885_ = !lean_is_exclusive(v_v_16845_); +if (v_isSharedCheck_16885_ == 0) { -v___x_16811_ = v_v_16805_; -v_isShared_16812_ = v_isSharedCheck_16845_; -goto v_resetjp_16810_; +v___x_16851_ = v_v_16845_; +v_isShared_16852_ = v_isSharedCheck_16885_; +goto v_resetjp_16850_; } else { -lean_inc(v_bodySnap_x3f_16809_); -lean_inc(v_tacSnap_x3f_16808_); -lean_inc(v_toDefViewElabHeaderData_16806_); -lean_inc(v_toDefView_16807_); -lean_dec(v_v_16805_); -v___x_16811_ = lean_box(0); -v_isShared_16812_ = v_isSharedCheck_16845_; -goto v_resetjp_16810_; +lean_inc(v_bodySnap_x3f_16849_); +lean_inc(v_tacSnap_x3f_16848_); +lean_inc(v_toDefViewElabHeaderData_16846_); +lean_inc(v_toDefView_16847_); +lean_dec(v_v_16845_); +v___x_16851_ = lean_box(0); +v_isShared_16852_ = v_isSharedCheck_16885_; +goto v_resetjp_16850_; } -v_resetjp_16810_: +v_resetjp_16850_: { -lean_object* v_shortDeclName_16813_; lean_object* v_declName_16814_; lean_object* v_levelNames_16815_; lean_object* v_binderIds_16816_; lean_object* v_numParams_16817_; lean_object* v_type_16818_; lean_object* v___x_16820_; uint8_t v_isShared_16821_; uint8_t v_isSharedCheck_16844_; -v_shortDeclName_16813_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 0); -v_declName_16814_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 1); -v_levelNames_16815_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 2); -v_binderIds_16816_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 3); -v_numParams_16817_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 4); -v_type_16818_ = lean_ctor_get(v_toDefViewElabHeaderData_16806_, 5); -v_isSharedCheck_16844_ = !lean_is_exclusive(v_toDefViewElabHeaderData_16806_); -if (v_isSharedCheck_16844_ == 0) +lean_object* v_shortDeclName_16853_; lean_object* v_declName_16854_; lean_object* v_levelNames_16855_; lean_object* v_binderIds_16856_; lean_object* v_numParams_16857_; lean_object* v_type_16858_; lean_object* v___x_16860_; uint8_t v_isShared_16861_; uint8_t v_isSharedCheck_16884_; +v_shortDeclName_16853_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 0); +v_declName_16854_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 1); +v_levelNames_16855_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 2); +v_binderIds_16856_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 3); +v_numParams_16857_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 4); +v_type_16858_ = lean_ctor_get(v_toDefViewElabHeaderData_16846_, 5); +v_isSharedCheck_16884_ = !lean_is_exclusive(v_toDefViewElabHeaderData_16846_); +if (v_isSharedCheck_16884_ == 0) { -v___x_16820_ = v_toDefViewElabHeaderData_16806_; -v_isShared_16821_ = v_isSharedCheck_16844_; -goto v_resetjp_16819_; +v___x_16860_ = v_toDefViewElabHeaderData_16846_; +v_isShared_16861_ = v_isSharedCheck_16884_; +goto v_resetjp_16859_; } else { -lean_inc(v_type_16818_); -lean_inc(v_numParams_16817_); -lean_inc(v_binderIds_16816_); -lean_inc(v_levelNames_16815_); -lean_inc(v_declName_16814_); -lean_inc(v_shortDeclName_16813_); -lean_dec(v_toDefViewElabHeaderData_16806_); -v___x_16820_ = lean_box(0); -v_isShared_16821_ = v_isSharedCheck_16844_; -goto v_resetjp_16819_; +lean_inc(v_type_16858_); +lean_inc(v_numParams_16857_); +lean_inc(v_binderIds_16856_); +lean_inc(v_levelNames_16855_); +lean_inc(v_declName_16854_); +lean_inc(v_shortDeclName_16853_); +lean_dec(v_toDefViewElabHeaderData_16846_); +v___x_16860_ = lean_box(0); +v_isShared_16861_ = v_isSharedCheck_16884_; +goto v_resetjp_16859_; } -v_resetjp_16819_: +v_resetjp_16859_: { -lean_object* v___x_16822_; -lean_inc(v___y_16801_); -lean_inc_ref(v___y_16800_); -lean_inc(v___y_16799_); -lean_inc_ref(v___y_16798_); -v___x_16822_ = l_Lean_Meta_instantiateMVarsProfiling(v_type_16818_, v___y_16798_, v___y_16799_, v___y_16800_, v___y_16801_); -if (lean_obj_tag(v___x_16822_) == 0) +lean_object* v___x_16862_; +lean_inc(v___y_16841_); +lean_inc_ref(v___y_16840_); +lean_inc(v___y_16839_); +lean_inc_ref(v___y_16838_); +v___x_16862_ = l_Lean_Meta_instantiateMVarsProfiling(v_type_16858_, v___y_16838_, v___y_16839_, v___y_16840_, v___y_16841_); +if (lean_obj_tag(v___x_16862_) == 0) { -lean_object* v_a_16823_; lean_object* v___x_16824_; lean_object* v_bs_x27_16825_; lean_object* v___x_16827_; -v_a_16823_ = lean_ctor_get(v___x_16822_, 0); -lean_inc(v_a_16823_); -lean_dec_ref(v___x_16822_); -v___x_16824_ = lean_unsigned_to_nat(0u); -v_bs_x27_16825_ = lean_array_uset(v_bs_16797_, v_i_16796_, v___x_16824_); -if (v_isShared_16821_ == 0) +lean_object* v_a_16863_; lean_object* v___x_16864_; lean_object* v_bs_x27_16865_; lean_object* v___x_16867_; +v_a_16863_ = lean_ctor_get(v___x_16862_, 0); +lean_inc(v_a_16863_); +lean_dec_ref(v___x_16862_); +v___x_16864_ = lean_unsigned_to_nat(0u); +v_bs_x27_16865_ = lean_array_uset(v_bs_16837_, v_i_16836_, v___x_16864_); +if (v_isShared_16861_ == 0) { -lean_ctor_set(v___x_16820_, 5, v_a_16823_); -v___x_16827_ = v___x_16820_; -goto v_reusejp_16826_; +lean_ctor_set(v___x_16860_, 5, v_a_16863_); +v___x_16867_ = v___x_16860_; +goto v_reusejp_16866_; } else { -lean_object* v_reuseFailAlloc_16835_; -v_reuseFailAlloc_16835_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v_reuseFailAlloc_16835_, 0, v_shortDeclName_16813_); -lean_ctor_set(v_reuseFailAlloc_16835_, 1, v_declName_16814_); -lean_ctor_set(v_reuseFailAlloc_16835_, 2, v_levelNames_16815_); -lean_ctor_set(v_reuseFailAlloc_16835_, 3, v_binderIds_16816_); -lean_ctor_set(v_reuseFailAlloc_16835_, 4, v_numParams_16817_); -lean_ctor_set(v_reuseFailAlloc_16835_, 5, v_a_16823_); -v___x_16827_ = v_reuseFailAlloc_16835_; -goto v_reusejp_16826_; +lean_object* v_reuseFailAlloc_16875_; +v_reuseFailAlloc_16875_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v_reuseFailAlloc_16875_, 0, v_shortDeclName_16853_); +lean_ctor_set(v_reuseFailAlloc_16875_, 1, v_declName_16854_); +lean_ctor_set(v_reuseFailAlloc_16875_, 2, v_levelNames_16855_); +lean_ctor_set(v_reuseFailAlloc_16875_, 3, v_binderIds_16856_); +lean_ctor_set(v_reuseFailAlloc_16875_, 4, v_numParams_16857_); +lean_ctor_set(v_reuseFailAlloc_16875_, 5, v_a_16863_); +v___x_16867_ = v_reuseFailAlloc_16875_; +goto v_reusejp_16866_; } -v_reusejp_16826_: +v_reusejp_16866_: { -lean_object* v___x_16829_; -if (v_isShared_16812_ == 0) +lean_object* v___x_16869_; +if (v_isShared_16852_ == 0) { -lean_ctor_set(v___x_16811_, 1, v___x_16827_); -v___x_16829_ = v___x_16811_; -goto v_reusejp_16828_; +lean_ctor_set(v___x_16851_, 1, v___x_16867_); +v___x_16869_ = v___x_16851_; +goto v_reusejp_16868_; } else { -lean_object* v_reuseFailAlloc_16834_; -v_reuseFailAlloc_16834_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_16834_, 0, v_toDefView_16807_); -lean_ctor_set(v_reuseFailAlloc_16834_, 1, v___x_16827_); -lean_ctor_set(v_reuseFailAlloc_16834_, 2, v_tacSnap_x3f_16808_); -lean_ctor_set(v_reuseFailAlloc_16834_, 3, v_bodySnap_x3f_16809_); -v___x_16829_ = v_reuseFailAlloc_16834_; -goto v_reusejp_16828_; +lean_object* v_reuseFailAlloc_16874_; +v_reuseFailAlloc_16874_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_16874_, 0, v_toDefView_16847_); +lean_ctor_set(v_reuseFailAlloc_16874_, 1, v___x_16867_); +lean_ctor_set(v_reuseFailAlloc_16874_, 2, v_tacSnap_x3f_16848_); +lean_ctor_set(v_reuseFailAlloc_16874_, 3, v_bodySnap_x3f_16849_); +v___x_16869_ = v_reuseFailAlloc_16874_; +goto v_reusejp_16868_; } -v_reusejp_16828_: +v_reusejp_16868_: { -size_t v___x_16830_; size_t v___x_16831_; lean_object* v___x_16832_; -v___x_16830_ = ((size_t)1ULL); -v___x_16831_ = lean_usize_add(v_i_16796_, v___x_16830_); -v___x_16832_ = lean_array_uset(v_bs_x27_16825_, v_i_16796_, v___x_16829_); -v_i_16796_ = v___x_16831_; -v_bs_16797_ = v___x_16832_; +size_t v___x_16870_; size_t v___x_16871_; lean_object* v___x_16872_; +v___x_16870_ = ((size_t)1ULL); +v___x_16871_ = lean_usize_add(v_i_16836_, v___x_16870_); +v___x_16872_ = lean_array_uset(v_bs_x27_16865_, v_i_16836_, v___x_16869_); +v_i_16836_ = v___x_16871_; +v_bs_16837_ = v___x_16872_; goto _start; } } } else { -lean_object* v_a_16836_; lean_object* v___x_16838_; uint8_t v_isShared_16839_; uint8_t v_isSharedCheck_16843_; -lean_del_object(v___x_16820_); -lean_dec(v_numParams_16817_); -lean_dec_ref(v_binderIds_16816_); -lean_dec(v_levelNames_16815_); -lean_dec(v_declName_16814_); -lean_dec(v_shortDeclName_16813_); -lean_del_object(v___x_16811_); -lean_dec(v_bodySnap_x3f_16809_); -lean_dec(v_tacSnap_x3f_16808_); -lean_dec_ref(v_toDefView_16807_); -lean_dec(v___y_16801_); -lean_dec_ref(v___y_16800_); -lean_dec(v___y_16799_); -lean_dec_ref(v___y_16798_); -lean_dec_ref(v_bs_16797_); -v_a_16836_ = lean_ctor_get(v___x_16822_, 0); -v_isSharedCheck_16843_ = !lean_is_exclusive(v___x_16822_); -if (v_isSharedCheck_16843_ == 0) +lean_object* v_a_16876_; lean_object* v___x_16878_; uint8_t v_isShared_16879_; uint8_t v_isSharedCheck_16883_; +lean_del_object(v___x_16860_); +lean_dec(v_numParams_16857_); +lean_dec_ref(v_binderIds_16856_); +lean_dec(v_levelNames_16855_); +lean_dec(v_declName_16854_); +lean_dec(v_shortDeclName_16853_); +lean_del_object(v___x_16851_); +lean_dec(v_bodySnap_x3f_16849_); +lean_dec(v_tacSnap_x3f_16848_); +lean_dec_ref(v_toDefView_16847_); +lean_dec(v___y_16841_); +lean_dec_ref(v___y_16840_); +lean_dec(v___y_16839_); +lean_dec_ref(v___y_16838_); +lean_dec_ref(v_bs_16837_); +v_a_16876_ = lean_ctor_get(v___x_16862_, 0); +v_isSharedCheck_16883_ = !lean_is_exclusive(v___x_16862_); +if (v_isSharedCheck_16883_ == 0) { -v___x_16838_ = v___x_16822_; -v_isShared_16839_ = v_isSharedCheck_16843_; -goto v_resetjp_16837_; +v___x_16878_ = v___x_16862_; +v_isShared_16879_ = v_isSharedCheck_16883_; +goto v_resetjp_16877_; } else { -lean_inc(v_a_16836_); -lean_dec(v___x_16822_); -v___x_16838_ = lean_box(0); -v_isShared_16839_ = v_isSharedCheck_16843_; -goto v_resetjp_16837_; +lean_inc(v_a_16876_); +lean_dec(v___x_16862_); +v___x_16878_ = lean_box(0); +v_isShared_16879_ = v_isSharedCheck_16883_; +goto v_resetjp_16877_; } -v_resetjp_16837_: +v_resetjp_16877_: { -lean_object* v___x_16841_; -if (v_isShared_16839_ == 0) +lean_object* v___x_16881_; +if (v_isShared_16879_ == 0) { -v___x_16841_ = v___x_16838_; -goto v_reusejp_16840_; +v___x_16881_ = v___x_16878_; +goto v_reusejp_16880_; } else { -lean_object* v_reuseFailAlloc_16842_; -v_reuseFailAlloc_16842_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16842_, 0, v_a_16836_); -v___x_16841_ = v_reuseFailAlloc_16842_; -goto v_reusejp_16840_; +lean_object* v_reuseFailAlloc_16882_; +v_reuseFailAlloc_16882_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16882_, 0, v_a_16876_); +v___x_16881_ = v_reuseFailAlloc_16882_; +goto v_reusejp_16880_; } -v_reusejp_16840_: +v_reusejp_16880_: { -return v___x_16841_; +return v___x_16881_; } } } @@ -49093,323 +49248,323 @@ return v___x_16841_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg___boxed(lean_object* v_sz_16846_, lean_object* v_i_16847_, lean_object* v_bs_16848_, lean_object* v___y_16849_, lean_object* v___y_16850_, lean_object* v___y_16851_, lean_object* v___y_16852_, lean_object* v___y_16853_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg___boxed(lean_object* v_sz_16886_, lean_object* v_i_16887_, lean_object* v_bs_16888_, lean_object* v___y_16889_, lean_object* v___y_16890_, lean_object* v___y_16891_, lean_object* v___y_16892_, lean_object* v___y_16893_){ _start: { -size_t v_sz_boxed_16854_; size_t v_i_boxed_16855_; lean_object* v_res_16856_; -v_sz_boxed_16854_ = lean_unbox_usize(v_sz_16846_); -lean_dec(v_sz_16846_); -v_i_boxed_16855_ = lean_unbox_usize(v_i_16847_); -lean_dec(v_i_16847_); -v_res_16856_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_boxed_16854_, v_i_boxed_16855_, v_bs_16848_, v___y_16849_, v___y_16850_, v___y_16851_, v___y_16852_); -return v_res_16856_; +size_t v_sz_boxed_16894_; size_t v_i_boxed_16895_; lean_object* v_res_16896_; +v_sz_boxed_16894_ = lean_unbox_usize(v_sz_16886_); +lean_dec(v_sz_16886_); +v_i_boxed_16895_ = lean_unbox_usize(v_i_16887_); +lean_dec(v_i_16887_); +v_res_16896_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_boxed_16894_, v_i_boxed_16895_, v_bs_16888_, v___y_16889_, v___y_16890_, v___y_16891_, v___y_16892_); +return v_res_16896_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(lean_object* v_views_16857_, lean_object* v_headers_16858_, lean_object* v_a_16859_, lean_object* v_a_16860_, lean_object* v_a_16861_, lean_object* v_a_16862_, lean_object* v_a_16863_, lean_object* v_a_16864_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(lean_object* v_views_16897_, lean_object* v_headers_16898_, lean_object* v_a_16899_, lean_object* v_a_16900_, lean_object* v_a_16901_, lean_object* v_a_16902_, lean_object* v_a_16903_, lean_object* v_a_16904_){ _start: { -lean_object* v___x_16866_; lean_object* v___x_16867_; lean_object* v___x_16868_; -v___x_16866_ = lean_unsigned_to_nat(1u); -v___x_16867_ = lean_st_mk_ref(v___x_16866_); -lean_inc(v_a_16864_); -lean_inc_ref(v_a_16863_); -lean_inc(v_a_16862_); -lean_inc_ref(v_a_16861_); -v___x_16868_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(v_views_16857_, v_headers_16858_, v___x_16867_, v_a_16859_, v_a_16860_, v_a_16861_, v_a_16862_, v_a_16863_, v_a_16864_); -if (lean_obj_tag(v___x_16868_) == 0) +lean_object* v___x_16906_; lean_object* v___x_16907_; lean_object* v___x_16908_; +v___x_16906_ = lean_unsigned_to_nat(1u); +v___x_16907_ = lean_st_mk_ref(v___x_16906_); +lean_inc(v_a_16904_); +lean_inc_ref(v_a_16903_); +lean_inc(v_a_16902_); +lean_inc_ref(v_a_16901_); +v___x_16908_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_process(v_views_16897_, v_headers_16898_, v___x_16907_, v_a_16899_, v_a_16900_, v_a_16901_, v_a_16902_, v_a_16903_, v_a_16904_); +if (lean_obj_tag(v___x_16908_) == 0) { -lean_object* v_a_16869_; lean_object* v___x_16870_; size_t v_sz_16871_; size_t v___x_16872_; lean_object* v___x_16873_; -v_a_16869_ = lean_ctor_get(v___x_16868_, 0); -lean_inc(v_a_16869_); -lean_dec_ref(v___x_16868_); -v___x_16870_ = lean_st_ref_get(v___x_16867_); -lean_dec(v___x_16867_); -lean_dec(v___x_16870_); -v_sz_16871_ = lean_array_size(v_a_16869_); -v___x_16872_ = ((size_t)0ULL); -v___x_16873_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_16871_, v___x_16872_, v_a_16869_, v_a_16861_, v_a_16862_, v_a_16863_, v_a_16864_); -return v___x_16873_; +lean_object* v_a_16909_; lean_object* v___x_16910_; size_t v_sz_16911_; size_t v___x_16912_; lean_object* v___x_16913_; +v_a_16909_ = lean_ctor_get(v___x_16908_, 0); +lean_inc(v_a_16909_); +lean_dec_ref(v___x_16908_); +v___x_16910_ = lean_st_ref_get(v___x_16907_); +lean_dec(v___x_16907_); +lean_dec(v___x_16910_); +v_sz_16911_ = lean_array_size(v_a_16909_); +v___x_16912_ = ((size_t)0ULL); +v___x_16913_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_16911_, v___x_16912_, v_a_16909_, v_a_16901_, v_a_16902_, v_a_16903_, v_a_16904_); +return v___x_16913_; } else { -lean_dec(v___x_16867_); -lean_dec(v_a_16864_); -lean_dec_ref(v_a_16863_); -lean_dec(v_a_16862_); -lean_dec_ref(v_a_16861_); -return v___x_16868_; +lean_dec(v___x_16907_); +lean_dec(v_a_16904_); +lean_dec_ref(v_a_16903_); +lean_dec(v_a_16902_); +lean_dec_ref(v_a_16901_); +return v___x_16908_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed(lean_object* v_views_16874_, lean_object* v_headers_16875_, lean_object* v_a_16876_, lean_object* v_a_16877_, lean_object* v_a_16878_, lean_object* v_a_16879_, lean_object* v_a_16880_, lean_object* v_a_16881_, lean_object* v_a_16882_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders___boxed(lean_object* v_views_16914_, lean_object* v_headers_16915_, lean_object* v_a_16916_, lean_object* v_a_16917_, lean_object* v_a_16918_, lean_object* v_a_16919_, lean_object* v_a_16920_, lean_object* v_a_16921_, lean_object* v_a_16922_){ _start: { -lean_object* v_res_16883_; -v_res_16883_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(v_views_16874_, v_headers_16875_, v_a_16876_, v_a_16877_, v_a_16878_, v_a_16879_, v_a_16880_, v_a_16881_); -lean_dec_ref(v_views_16874_); -return v_res_16883_; +lean_object* v_res_16923_; +v_res_16923_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(v_views_16914_, v_headers_16915_, v_a_16916_, v_a_16917_, v_a_16918_, v_a_16919_, v_a_16920_, v_a_16921_); +lean_dec_ref(v_views_16914_); +return v_res_16923_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0(size_t v_sz_16884_, size_t v_i_16885_, lean_object* v_bs_16886_, lean_object* v___y_16887_, lean_object* v___y_16888_, lean_object* v___y_16889_, lean_object* v___y_16890_, lean_object* v___y_16891_, lean_object* v___y_16892_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0(size_t v_sz_16924_, size_t v_i_16925_, lean_object* v_bs_16926_, lean_object* v___y_16927_, lean_object* v___y_16928_, lean_object* v___y_16929_, lean_object* v___y_16930_, lean_object* v___y_16931_, lean_object* v___y_16932_){ _start: { -lean_object* v___x_16894_; -v___x_16894_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_16884_, v_i_16885_, v_bs_16886_, v___y_16889_, v___y_16890_, v___y_16891_, v___y_16892_); -return v___x_16894_; +lean_object* v___x_16934_; +v___x_16934_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___redArg(v_sz_16924_, v_i_16925_, v_bs_16926_, v___y_16929_, v___y_16930_, v___y_16931_, v___y_16932_); +return v___x_16934_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___boxed(lean_object* v_sz_16895_, lean_object* v_i_16896_, lean_object* v_bs_16897_, lean_object* v___y_16898_, lean_object* v___y_16899_, lean_object* v___y_16900_, lean_object* v___y_16901_, lean_object* v___y_16902_, lean_object* v___y_16903_, lean_object* v___y_16904_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0___boxed(lean_object* v_sz_16935_, lean_object* v_i_16936_, lean_object* v_bs_16937_, lean_object* v___y_16938_, lean_object* v___y_16939_, lean_object* v___y_16940_, lean_object* v___y_16941_, lean_object* v___y_16942_, lean_object* v___y_16943_, lean_object* v___y_16944_){ _start: { -size_t v_sz_boxed_16905_; size_t v_i_boxed_16906_; lean_object* v_res_16907_; -v_sz_boxed_16905_ = lean_unbox_usize(v_sz_16895_); -lean_dec(v_sz_16895_); -v_i_boxed_16906_ = lean_unbox_usize(v_i_16896_); -lean_dec(v_i_16896_); -v_res_16907_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0(v_sz_boxed_16905_, v_i_boxed_16906_, v_bs_16897_, v___y_16898_, v___y_16899_, v___y_16900_, v___y_16901_, v___y_16902_, v___y_16903_); -lean_dec(v___y_16899_); -lean_dec_ref(v___y_16898_); -return v_res_16907_; +size_t v_sz_boxed_16945_; size_t v_i_boxed_16946_; lean_object* v_res_16947_; +v_sz_boxed_16945_ = lean_unbox_usize(v_sz_16935_); +lean_dec(v_sz_16935_); +v_i_boxed_16946_ = lean_unbox_usize(v_i_16936_); +lean_dec(v_i_16936_); +v_res_16947_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders_spec__0(v_sz_boxed_16945_, v_i_boxed_16946_, v_bs_16937_, v___y_16938_, v___y_16939_, v___y_16940_, v___y_16941_, v___y_16942_, v___y_16943_); +lean_dec(v___y_16939_); +lean_dec_ref(v___y_16938_); +return v_res_16947_; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(lean_object* v_ref_16908_, lean_object* v_msgData_16909_, lean_object* v___y_16910_, lean_object* v___y_16911_, lean_object* v___y_16912_, lean_object* v___y_16913_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(lean_object* v_ref_16948_, lean_object* v_msgData_16949_, lean_object* v___y_16950_, lean_object* v___y_16951_, lean_object* v___y_16952_, lean_object* v___y_16953_){ _start: { -uint8_t v___x_16915_; uint8_t v___x_16916_; lean_object* v___x_16917_; -v___x_16915_ = 2; -v___x_16916_ = 0; -v___x_16917_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_ref_16908_, v_msgData_16909_, v___x_16915_, v___x_16916_, v___y_16910_, v___y_16911_, v___y_16912_, v___y_16913_); -return v___x_16917_; +uint8_t v___x_16955_; uint8_t v___x_16956_; lean_object* v___x_16957_; +v___x_16955_ = 2; +v___x_16956_ = 0; +v___x_16957_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_ref_16948_, v_msgData_16949_, v___x_16955_, v___x_16956_, v___y_16950_, v___y_16951_, v___y_16952_, v___y_16953_); +return v___x_16957_; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg___boxed(lean_object* v_ref_16918_, lean_object* v_msgData_16919_, lean_object* v___y_16920_, lean_object* v___y_16921_, lean_object* v___y_16922_, lean_object* v___y_16923_, lean_object* v___y_16924_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg___boxed(lean_object* v_ref_16958_, lean_object* v_msgData_16959_, lean_object* v___y_16960_, lean_object* v___y_16961_, lean_object* v___y_16962_, lean_object* v___y_16963_, lean_object* v___y_16964_){ _start: { -lean_object* v_res_16925_; -v_res_16925_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_16918_, v_msgData_16919_, v___y_16920_, v___y_16921_, v___y_16922_, v___y_16923_); -lean_dec(v___y_16923_); -lean_dec(v___y_16921_); -lean_dec_ref(v___y_16920_); -lean_dec(v_ref_16918_); -return v_res_16925_; +lean_object* v_res_16965_; +v_res_16965_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_16958_, v_msgData_16959_, v___y_16960_, v___y_16961_, v___y_16962_, v___y_16963_); +lean_dec(v___y_16963_); +lean_dec(v___y_16961_); +lean_dec_ref(v___y_16960_); +lean_dec(v_ref_16958_); +return v_res_16965_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(lean_object* v_a_16926_, lean_object* v_x_16927_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(lean_object* v_a_16966_, lean_object* v_x_16967_){ _start: { -if (lean_obj_tag(v_x_16927_) == 0) +if (lean_obj_tag(v_x_16967_) == 0) { -uint8_t v___x_16928_; -v___x_16928_ = 0; -return v___x_16928_; +uint8_t v___x_16968_; +v___x_16968_ = 0; +return v___x_16968_; } else { -lean_object* v_key_16929_; lean_object* v_tail_16930_; uint8_t v___x_16931_; -v_key_16929_ = lean_ctor_get(v_x_16927_, 0); -v_tail_16930_ = lean_ctor_get(v_x_16927_, 2); -v___x_16931_ = lean_name_eq(v_key_16929_, v_a_16926_); -if (v___x_16931_ == 0) +lean_object* v_key_16969_; lean_object* v_tail_16970_; uint8_t v___x_16971_; +v_key_16969_ = lean_ctor_get(v_x_16967_, 0); +v_tail_16970_ = lean_ctor_get(v_x_16967_, 2); +v___x_16971_ = lean_name_eq(v_key_16969_, v_a_16966_); +if (v___x_16971_ == 0) { -v_x_16927_ = v_tail_16930_; +v_x_16967_ = v_tail_16970_; goto _start; } else { -return v___x_16931_; +return v___x_16971_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg___boxed(lean_object* v_a_16933_, lean_object* v_x_16934_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg___boxed(lean_object* v_a_16973_, lean_object* v_x_16974_){ _start: { -uint8_t v_res_16935_; lean_object* v_r_16936_; -v_res_16935_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_16933_, v_x_16934_); -lean_dec(v_x_16934_); -lean_dec(v_a_16933_); -v_r_16936_ = lean_box(v_res_16935_); -return v_r_16936_; +uint8_t v_res_16975_; lean_object* v_r_16976_; +v_res_16975_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_16973_, v_x_16974_); +lean_dec(v_x_16974_); +lean_dec(v_a_16973_); +v_r_16976_ = lean_box(v_res_16975_); +return v_r_16976_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(lean_object* v_a_16937_, lean_object* v_b_16938_, lean_object* v_x_16939_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(lean_object* v_a_16977_, lean_object* v_b_16978_, lean_object* v_x_16979_){ _start: { -if (lean_obj_tag(v_x_16939_) == 0) +if (lean_obj_tag(v_x_16979_) == 0) { -lean_dec(v_b_16938_); -lean_dec(v_a_16937_); -return v_x_16939_; +lean_dec(v_b_16978_); +lean_dec(v_a_16977_); +return v_x_16979_; } else { -lean_object* v_key_16940_; lean_object* v_value_16941_; lean_object* v_tail_16942_; lean_object* v___x_16944_; uint8_t v_isShared_16945_; uint8_t v_isSharedCheck_16954_; -v_key_16940_ = lean_ctor_get(v_x_16939_, 0); -v_value_16941_ = lean_ctor_get(v_x_16939_, 1); -v_tail_16942_ = lean_ctor_get(v_x_16939_, 2); -v_isSharedCheck_16954_ = !lean_is_exclusive(v_x_16939_); -if (v_isSharedCheck_16954_ == 0) +lean_object* v_key_16980_; lean_object* v_value_16981_; lean_object* v_tail_16982_; lean_object* v___x_16984_; uint8_t v_isShared_16985_; uint8_t v_isSharedCheck_16994_; +v_key_16980_ = lean_ctor_get(v_x_16979_, 0); +v_value_16981_ = lean_ctor_get(v_x_16979_, 1); +v_tail_16982_ = lean_ctor_get(v_x_16979_, 2); +v_isSharedCheck_16994_ = !lean_is_exclusive(v_x_16979_); +if (v_isSharedCheck_16994_ == 0) { -v___x_16944_ = v_x_16939_; -v_isShared_16945_ = v_isSharedCheck_16954_; -goto v_resetjp_16943_; +v___x_16984_ = v_x_16979_; +v_isShared_16985_ = v_isSharedCheck_16994_; +goto v_resetjp_16983_; } else { -lean_inc(v_tail_16942_); -lean_inc(v_value_16941_); -lean_inc(v_key_16940_); -lean_dec(v_x_16939_); -v___x_16944_ = lean_box(0); -v_isShared_16945_ = v_isSharedCheck_16954_; -goto v_resetjp_16943_; +lean_inc(v_tail_16982_); +lean_inc(v_value_16981_); +lean_inc(v_key_16980_); +lean_dec(v_x_16979_); +v___x_16984_ = lean_box(0); +v_isShared_16985_ = v_isSharedCheck_16994_; +goto v_resetjp_16983_; } -v_resetjp_16943_: +v_resetjp_16983_: { -uint8_t v___x_16946_; -v___x_16946_ = lean_name_eq(v_key_16940_, v_a_16937_); -if (v___x_16946_ == 0) +uint8_t v___x_16986_; +v___x_16986_ = lean_name_eq(v_key_16980_, v_a_16977_); +if (v___x_16986_ == 0) { -lean_object* v___x_16947_; lean_object* v___x_16949_; -v___x_16947_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_16937_, v_b_16938_, v_tail_16942_); -if (v_isShared_16945_ == 0) +lean_object* v___x_16987_; lean_object* v___x_16989_; +v___x_16987_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_16977_, v_b_16978_, v_tail_16982_); +if (v_isShared_16985_ == 0) { -lean_ctor_set(v___x_16944_, 2, v___x_16947_); -v___x_16949_ = v___x_16944_; -goto v_reusejp_16948_; +lean_ctor_set(v___x_16984_, 2, v___x_16987_); +v___x_16989_ = v___x_16984_; +goto v_reusejp_16988_; } else { -lean_object* v_reuseFailAlloc_16950_; -v_reuseFailAlloc_16950_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_16950_, 0, v_key_16940_); -lean_ctor_set(v_reuseFailAlloc_16950_, 1, v_value_16941_); -lean_ctor_set(v_reuseFailAlloc_16950_, 2, v___x_16947_); -v___x_16949_ = v_reuseFailAlloc_16950_; -goto v_reusejp_16948_; +lean_object* v_reuseFailAlloc_16990_; +v_reuseFailAlloc_16990_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_16990_, 0, v_key_16980_); +lean_ctor_set(v_reuseFailAlloc_16990_, 1, v_value_16981_); +lean_ctor_set(v_reuseFailAlloc_16990_, 2, v___x_16987_); +v___x_16989_ = v_reuseFailAlloc_16990_; +goto v_reusejp_16988_; } -v_reusejp_16948_: +v_reusejp_16988_: { -return v___x_16949_; +return v___x_16989_; } } else { -lean_object* v___x_16952_; -lean_dec(v_value_16941_); -lean_dec(v_key_16940_); -if (v_isShared_16945_ == 0) +lean_object* v___x_16992_; +lean_dec(v_value_16981_); +lean_dec(v_key_16980_); +if (v_isShared_16985_ == 0) { -lean_ctor_set(v___x_16944_, 1, v_b_16938_); -lean_ctor_set(v___x_16944_, 0, v_a_16937_); -v___x_16952_ = v___x_16944_; -goto v_reusejp_16951_; +lean_ctor_set(v___x_16984_, 1, v_b_16978_); +lean_ctor_set(v___x_16984_, 0, v_a_16977_); +v___x_16992_ = v___x_16984_; +goto v_reusejp_16991_; } else { -lean_object* v_reuseFailAlloc_16953_; -v_reuseFailAlloc_16953_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_16953_, 0, v_a_16937_); -lean_ctor_set(v_reuseFailAlloc_16953_, 1, v_b_16938_); -lean_ctor_set(v_reuseFailAlloc_16953_, 2, v_tail_16942_); -v___x_16952_ = v_reuseFailAlloc_16953_; -goto v_reusejp_16951_; +lean_object* v_reuseFailAlloc_16993_; +v_reuseFailAlloc_16993_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_16993_, 0, v_a_16977_); +lean_ctor_set(v_reuseFailAlloc_16993_, 1, v_b_16978_); +lean_ctor_set(v_reuseFailAlloc_16993_, 2, v_tail_16982_); +v___x_16992_ = v_reuseFailAlloc_16993_; +goto v_reusejp_16991_; } -v_reusejp_16951_: +v_reusejp_16991_: { -return v___x_16952_; +return v___x_16992_; } } } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(lean_object* v_x_16955_, lean_object* v_x_16956_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(lean_object* v_x_16995_, lean_object* v_x_16996_){ _start: { -if (lean_obj_tag(v_x_16956_) == 0) +if (lean_obj_tag(v_x_16996_) == 0) { -return v_x_16955_; +return v_x_16995_; } else { -lean_object* v_key_16957_; lean_object* v_value_16958_; lean_object* v_tail_16959_; lean_object* v___x_16961_; uint8_t v_isShared_16962_; uint8_t v_isSharedCheck_16985_; -v_key_16957_ = lean_ctor_get(v_x_16956_, 0); -v_value_16958_ = lean_ctor_get(v_x_16956_, 1); -v_tail_16959_ = lean_ctor_get(v_x_16956_, 2); -v_isSharedCheck_16985_ = !lean_is_exclusive(v_x_16956_); -if (v_isSharedCheck_16985_ == 0) +lean_object* v_key_16997_; lean_object* v_value_16998_; lean_object* v_tail_16999_; lean_object* v___x_17001_; uint8_t v_isShared_17002_; uint8_t v_isSharedCheck_17025_; +v_key_16997_ = lean_ctor_get(v_x_16996_, 0); +v_value_16998_ = lean_ctor_get(v_x_16996_, 1); +v_tail_16999_ = lean_ctor_get(v_x_16996_, 2); +v_isSharedCheck_17025_ = !lean_is_exclusive(v_x_16996_); +if (v_isSharedCheck_17025_ == 0) { -v___x_16961_ = v_x_16956_; -v_isShared_16962_ = v_isSharedCheck_16985_; -goto v_resetjp_16960_; +v___x_17001_ = v_x_16996_; +v_isShared_17002_ = v_isSharedCheck_17025_; +goto v_resetjp_17000_; } else { -lean_inc(v_tail_16959_); -lean_inc(v_value_16958_); -lean_inc(v_key_16957_); -lean_dec(v_x_16956_); -v___x_16961_ = lean_box(0); -v_isShared_16962_ = v_isSharedCheck_16985_; -goto v_resetjp_16960_; +lean_inc(v_tail_16999_); +lean_inc(v_value_16998_); +lean_inc(v_key_16997_); +lean_dec(v_x_16996_); +v___x_17001_ = lean_box(0); +v_isShared_17002_ = v_isSharedCheck_17025_; +goto v_resetjp_17000_; } -v_resetjp_16960_: +v_resetjp_17000_: { -lean_object* v___x_16963_; uint64_t v___y_16965_; -v___x_16963_ = lean_array_get_size(v_x_16955_); -if (lean_obj_tag(v_key_16957_) == 0) +lean_object* v___x_17003_; uint64_t v___y_17005_; +v___x_17003_ = lean_array_get_size(v_x_16995_); +if (lean_obj_tag(v_key_16997_) == 0) { -uint64_t v___x_16983_; -v___x_16983_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); -v___y_16965_ = v___x_16983_; -goto v___jp_16964_; +uint64_t v___x_17023_; +v___x_17023_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); +v___y_17005_ = v___x_17023_; +goto v___jp_17004_; } else { -uint64_t v_hash_16984_; -v_hash_16984_ = lean_ctor_get_uint64(v_key_16957_, sizeof(void*)*2); -v___y_16965_ = v_hash_16984_; -goto v___jp_16964_; +uint64_t v_hash_17024_; +v_hash_17024_ = lean_ctor_get_uint64(v_key_16997_, sizeof(void*)*2); +v___y_17005_ = v_hash_17024_; +goto v___jp_17004_; } -v___jp_16964_: +v___jp_17004_: { -uint64_t v___x_16966_; uint64_t v___x_16967_; uint64_t v_fold_16968_; uint64_t v___x_16969_; uint64_t v___x_16970_; uint64_t v___x_16971_; size_t v___x_16972_; size_t v___x_16973_; size_t v___x_16974_; size_t v___x_16975_; size_t v___x_16976_; lean_object* v___x_16977_; lean_object* v___x_16979_; -v___x_16966_ = 32ULL; -v___x_16967_ = lean_uint64_shift_right(v___y_16965_, v___x_16966_); -v_fold_16968_ = lean_uint64_xor(v___y_16965_, v___x_16967_); -v___x_16969_ = 16ULL; -v___x_16970_ = lean_uint64_shift_right(v_fold_16968_, v___x_16969_); -v___x_16971_ = lean_uint64_xor(v_fold_16968_, v___x_16970_); -v___x_16972_ = lean_uint64_to_usize(v___x_16971_); -v___x_16973_ = lean_usize_of_nat(v___x_16963_); -v___x_16974_ = ((size_t)1ULL); -v___x_16975_ = lean_usize_sub(v___x_16973_, v___x_16974_); -v___x_16976_ = lean_usize_land(v___x_16972_, v___x_16975_); -v___x_16977_ = lean_array_uget_borrowed(v_x_16955_, v___x_16976_); -lean_inc(v___x_16977_); -if (v_isShared_16962_ == 0) +uint64_t v___x_17006_; uint64_t v___x_17007_; uint64_t v_fold_17008_; uint64_t v___x_17009_; uint64_t v___x_17010_; uint64_t v___x_17011_; size_t v___x_17012_; size_t v___x_17013_; size_t v___x_17014_; size_t v___x_17015_; size_t v___x_17016_; lean_object* v___x_17017_; lean_object* v___x_17019_; +v___x_17006_ = 32ULL; +v___x_17007_ = lean_uint64_shift_right(v___y_17005_, v___x_17006_); +v_fold_17008_ = lean_uint64_xor(v___y_17005_, v___x_17007_); +v___x_17009_ = 16ULL; +v___x_17010_ = lean_uint64_shift_right(v_fold_17008_, v___x_17009_); +v___x_17011_ = lean_uint64_xor(v_fold_17008_, v___x_17010_); +v___x_17012_ = lean_uint64_to_usize(v___x_17011_); +v___x_17013_ = lean_usize_of_nat(v___x_17003_); +v___x_17014_ = ((size_t)1ULL); +v___x_17015_ = lean_usize_sub(v___x_17013_, v___x_17014_); +v___x_17016_ = lean_usize_land(v___x_17012_, v___x_17015_); +v___x_17017_ = lean_array_uget_borrowed(v_x_16995_, v___x_17016_); +lean_inc(v___x_17017_); +if (v_isShared_17002_ == 0) { -lean_ctor_set(v___x_16961_, 2, v___x_16977_); -v___x_16979_ = v___x_16961_; -goto v_reusejp_16978_; +lean_ctor_set(v___x_17001_, 2, v___x_17017_); +v___x_17019_ = v___x_17001_; +goto v_reusejp_17018_; } else { -lean_object* v_reuseFailAlloc_16982_; -v_reuseFailAlloc_16982_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_16982_, 0, v_key_16957_); -lean_ctor_set(v_reuseFailAlloc_16982_, 1, v_value_16958_); -lean_ctor_set(v_reuseFailAlloc_16982_, 2, v___x_16977_); -v___x_16979_ = v_reuseFailAlloc_16982_; -goto v_reusejp_16978_; +lean_object* v_reuseFailAlloc_17022_; +v_reuseFailAlloc_17022_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_17022_, 0, v_key_16997_); +lean_ctor_set(v_reuseFailAlloc_17022_, 1, v_value_16998_); +lean_ctor_set(v_reuseFailAlloc_17022_, 2, v___x_17017_); +v___x_17019_ = v_reuseFailAlloc_17022_; +goto v_reusejp_17018_; } -v_reusejp_16978_: +v_reusejp_17018_: { -lean_object* v___x_16980_; -v___x_16980_ = lean_array_uset(v_x_16955_, v___x_16976_, v___x_16979_); -v_x_16955_ = v___x_16980_; -v_x_16956_ = v_tail_16959_; +lean_object* v___x_17020_; +v___x_17020_ = lean_array_uset(v_x_16995_, v___x_17016_, v___x_17019_); +v_x_16995_ = v___x_17020_; +v_x_16996_ = v_tail_16999_; goto _start; } } @@ -49417,201 +49572,201 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(lean_object* v_i_16986_, lean_object* v_source_16987_, lean_object* v_target_16988_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(lean_object* v_i_17026_, lean_object* v_source_17027_, lean_object* v_target_17028_){ _start: { -lean_object* v___x_16989_; uint8_t v___x_16990_; -v___x_16989_ = lean_array_get_size(v_source_16987_); -v___x_16990_ = lean_nat_dec_lt(v_i_16986_, v___x_16989_); -if (v___x_16990_ == 0) +lean_object* v___x_17029_; uint8_t v___x_17030_; +v___x_17029_ = lean_array_get_size(v_source_17027_); +v___x_17030_ = lean_nat_dec_lt(v_i_17026_, v___x_17029_); +if (v___x_17030_ == 0) { -lean_dec_ref(v_source_16987_); -lean_dec(v_i_16986_); -return v_target_16988_; +lean_dec_ref(v_source_17027_); +lean_dec(v_i_17026_); +return v_target_17028_; } else { -lean_object* v_es_16991_; lean_object* v___x_16992_; lean_object* v_source_16993_; lean_object* v_target_16994_; lean_object* v___x_16995_; lean_object* v___x_16996_; -v_es_16991_ = lean_array_fget(v_source_16987_, v_i_16986_); -v___x_16992_ = lean_box(0); -v_source_16993_ = lean_array_fset(v_source_16987_, v_i_16986_, v___x_16992_); -v_target_16994_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(v_target_16988_, v_es_16991_); -v___x_16995_ = lean_unsigned_to_nat(1u); -v___x_16996_ = lean_nat_add(v_i_16986_, v___x_16995_); -lean_dec(v_i_16986_); -v_i_16986_ = v___x_16996_; -v_source_16987_ = v_source_16993_; -v_target_16988_ = v_target_16994_; +lean_object* v_es_17031_; lean_object* v___x_17032_; lean_object* v_source_17033_; lean_object* v_target_17034_; lean_object* v___x_17035_; lean_object* v___x_17036_; +v_es_17031_ = lean_array_fget(v_source_17027_, v_i_17026_); +v___x_17032_ = lean_box(0); +v_source_17033_ = lean_array_fset(v_source_17027_, v_i_17026_, v___x_17032_); +v_target_17034_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(v_target_17028_, v_es_17031_); +v___x_17035_ = lean_unsigned_to_nat(1u); +v___x_17036_ = lean_nat_add(v_i_17026_, v___x_17035_); +lean_dec(v_i_17026_); +v_i_17026_ = v___x_17036_; +v_source_17027_ = v_source_17033_; +v_target_17028_ = v_target_17034_; goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(lean_object* v_data_16998_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(lean_object* v_data_17038_){ _start: { -lean_object* v___x_16999_; lean_object* v___x_17000_; lean_object* v_nbuckets_17001_; lean_object* v___x_17002_; lean_object* v___x_17003_; lean_object* v___x_17004_; lean_object* v___x_17005_; -v___x_16999_ = lean_array_get_size(v_data_16998_); -v___x_17000_ = lean_unsigned_to_nat(2u); -v_nbuckets_17001_ = lean_nat_mul(v___x_16999_, v___x_17000_); -v___x_17002_ = lean_unsigned_to_nat(0u); -v___x_17003_ = lean_box(0); -v___x_17004_ = lean_mk_array(v_nbuckets_17001_, v___x_17003_); -v___x_17005_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(v___x_17002_, v_data_16998_, v___x_17004_); -return v___x_17005_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(lean_object* v_m_17006_, lean_object* v_a_17007_, lean_object* v_b_17008_){ -_start: -{ -lean_object* v_size_17009_; lean_object* v_buckets_17010_; lean_object* v___x_17012_; uint8_t v_isShared_17013_; uint8_t v_isSharedCheck_17056_; -v_size_17009_ = lean_ctor_get(v_m_17006_, 0); -v_buckets_17010_ = lean_ctor_get(v_m_17006_, 1); -v_isSharedCheck_17056_ = !lean_is_exclusive(v_m_17006_); -if (v_isSharedCheck_17056_ == 0) -{ -v___x_17012_ = v_m_17006_; -v_isShared_17013_ = v_isSharedCheck_17056_; -goto v_resetjp_17011_; -} -else -{ -lean_inc(v_buckets_17010_); -lean_inc(v_size_17009_); -lean_dec(v_m_17006_); -v___x_17012_ = lean_box(0); -v_isShared_17013_ = v_isSharedCheck_17056_; -goto v_resetjp_17011_; -} -v_resetjp_17011_: -{ -lean_object* v___x_17014_; uint64_t v___y_17016_; -v___x_17014_ = lean_array_get_size(v_buckets_17010_); -if (lean_obj_tag(v_a_17007_) == 0) -{ -uint64_t v___x_17054_; -v___x_17054_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); -v___y_17016_ = v___x_17054_; -goto v___jp_17015_; -} -else -{ -uint64_t v_hash_17055_; -v_hash_17055_ = lean_ctor_get_uint64(v_a_17007_, sizeof(void*)*2); -v___y_17016_ = v_hash_17055_; -goto v___jp_17015_; -} -v___jp_17015_: -{ -uint64_t v___x_17017_; uint64_t v___x_17018_; uint64_t v_fold_17019_; uint64_t v___x_17020_; uint64_t v___x_17021_; uint64_t v___x_17022_; size_t v___x_17023_; size_t v___x_17024_; size_t v___x_17025_; size_t v___x_17026_; size_t v___x_17027_; lean_object* v_bkt_17028_; uint8_t v___x_17029_; -v___x_17017_ = 32ULL; -v___x_17018_ = lean_uint64_shift_right(v___y_17016_, v___x_17017_); -v_fold_17019_ = lean_uint64_xor(v___y_17016_, v___x_17018_); -v___x_17020_ = 16ULL; -v___x_17021_ = lean_uint64_shift_right(v_fold_17019_, v___x_17020_); -v___x_17022_ = lean_uint64_xor(v_fold_17019_, v___x_17021_); -v___x_17023_ = lean_uint64_to_usize(v___x_17022_); -v___x_17024_ = lean_usize_of_nat(v___x_17014_); -v___x_17025_ = ((size_t)1ULL); -v___x_17026_ = lean_usize_sub(v___x_17024_, v___x_17025_); -v___x_17027_ = lean_usize_land(v___x_17023_, v___x_17026_); -v_bkt_17028_ = lean_array_uget_borrowed(v_buckets_17010_, v___x_17027_); -v___x_17029_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_17007_, v_bkt_17028_); -if (v___x_17029_ == 0) -{ -lean_object* v___x_17030_; lean_object* v_size_x27_17031_; lean_object* v___x_17032_; lean_object* v_buckets_x27_17033_; lean_object* v___x_17034_; lean_object* v___x_17035_; lean_object* v___x_17036_; lean_object* v___x_17037_; lean_object* v___x_17038_; uint8_t v___x_17039_; -v___x_17030_ = lean_unsigned_to_nat(1u); -v_size_x27_17031_ = lean_nat_add(v_size_17009_, v___x_17030_); -lean_dec(v_size_17009_); -lean_inc(v_bkt_17028_); -v___x_17032_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_17032_, 0, v_a_17007_); -lean_ctor_set(v___x_17032_, 1, v_b_17008_); -lean_ctor_set(v___x_17032_, 2, v_bkt_17028_); -v_buckets_x27_17033_ = lean_array_uset(v_buckets_17010_, v___x_17027_, v___x_17032_); -v___x_17034_ = lean_unsigned_to_nat(4u); -v___x_17035_ = lean_nat_mul(v_size_x27_17031_, v___x_17034_); -v___x_17036_ = lean_unsigned_to_nat(3u); -v___x_17037_ = lean_nat_div(v___x_17035_, v___x_17036_); -lean_dec(v___x_17035_); -v___x_17038_ = lean_array_get_size(v_buckets_x27_17033_); -v___x_17039_ = lean_nat_dec_le(v___x_17037_, v___x_17038_); -lean_dec(v___x_17037_); -if (v___x_17039_ == 0) -{ -lean_object* v_val_17040_; lean_object* v___x_17042_; -v_val_17040_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_buckets_x27_17033_); -if (v_isShared_17013_ == 0) -{ -lean_ctor_set(v___x_17012_, 1, v_val_17040_); -lean_ctor_set(v___x_17012_, 0, v_size_x27_17031_); -v___x_17042_ = v___x_17012_; -goto v_reusejp_17041_; -} -else -{ -lean_object* v_reuseFailAlloc_17043_; -v_reuseFailAlloc_17043_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_17043_, 0, v_size_x27_17031_); -lean_ctor_set(v_reuseFailAlloc_17043_, 1, v_val_17040_); -v___x_17042_ = v_reuseFailAlloc_17043_; -goto v_reusejp_17041_; -} -v_reusejp_17041_: -{ -return v___x_17042_; -} -} -else -{ -lean_object* v___x_17045_; -if (v_isShared_17013_ == 0) -{ -lean_ctor_set(v___x_17012_, 1, v_buckets_x27_17033_); -lean_ctor_set(v___x_17012_, 0, v_size_x27_17031_); -v___x_17045_ = v___x_17012_; -goto v_reusejp_17044_; -} -else -{ -lean_object* v_reuseFailAlloc_17046_; -v_reuseFailAlloc_17046_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_17046_, 0, v_size_x27_17031_); -lean_ctor_set(v_reuseFailAlloc_17046_, 1, v_buckets_x27_17033_); -v___x_17045_ = v_reuseFailAlloc_17046_; -goto v_reusejp_17044_; -} -v_reusejp_17044_: -{ +lean_object* v___x_17039_; lean_object* v___x_17040_; lean_object* v_nbuckets_17041_; lean_object* v___x_17042_; lean_object* v___x_17043_; lean_object* v___x_17044_; lean_object* v___x_17045_; +v___x_17039_ = lean_array_get_size(v_data_17038_); +v___x_17040_ = lean_unsigned_to_nat(2u); +v_nbuckets_17041_ = lean_nat_mul(v___x_17039_, v___x_17040_); +v___x_17042_ = lean_unsigned_to_nat(0u); +v___x_17043_ = lean_box(0); +v___x_17044_ = lean_mk_array(v_nbuckets_17041_, v___x_17043_); +v___x_17045_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(v___x_17042_, v_data_17038_, v___x_17044_); return v___x_17045_; } } +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(lean_object* v_m_17046_, lean_object* v_a_17047_, lean_object* v_b_17048_){ +_start: +{ +lean_object* v_size_17049_; lean_object* v_buckets_17050_; lean_object* v___x_17052_; uint8_t v_isShared_17053_; uint8_t v_isSharedCheck_17096_; +v_size_17049_ = lean_ctor_get(v_m_17046_, 0); +v_buckets_17050_ = lean_ctor_get(v_m_17046_, 1); +v_isSharedCheck_17096_ = !lean_is_exclusive(v_m_17046_); +if (v_isSharedCheck_17096_ == 0) +{ +v___x_17052_ = v_m_17046_; +v_isShared_17053_ = v_isSharedCheck_17096_; +goto v_resetjp_17051_; } else { -lean_object* v___x_17047_; lean_object* v_buckets_x27_17048_; lean_object* v___x_17049_; lean_object* v___x_17050_; lean_object* v___x_17052_; -lean_inc(v_bkt_17028_); -v___x_17047_ = lean_box(0); -v_buckets_x27_17048_ = lean_array_uset(v_buckets_17010_, v___x_17027_, v___x_17047_); -v___x_17049_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_17007_, v_b_17008_, v_bkt_17028_); -v___x_17050_ = lean_array_uset(v_buckets_x27_17048_, v___x_17027_, v___x_17049_); -if (v_isShared_17013_ == 0) +lean_inc(v_buckets_17050_); +lean_inc(v_size_17049_); +lean_dec(v_m_17046_); +v___x_17052_ = lean_box(0); +v_isShared_17053_ = v_isSharedCheck_17096_; +goto v_resetjp_17051_; +} +v_resetjp_17051_: { -lean_ctor_set(v___x_17012_, 1, v___x_17050_); -v___x_17052_ = v___x_17012_; -goto v_reusejp_17051_; +lean_object* v___x_17054_; uint64_t v___y_17056_; +v___x_17054_ = lean_array_get_size(v_buckets_17050_); +if (lean_obj_tag(v_a_17047_) == 0) +{ +uint64_t v___x_17094_; +v___x_17094_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); +v___y_17056_ = v___x_17094_; +goto v___jp_17055_; } else { -lean_object* v_reuseFailAlloc_17053_; -v_reuseFailAlloc_17053_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_17053_, 0, v_size_17009_); -lean_ctor_set(v_reuseFailAlloc_17053_, 1, v___x_17050_); -v___x_17052_ = v_reuseFailAlloc_17053_; -goto v_reusejp_17051_; +uint64_t v_hash_17095_; +v_hash_17095_ = lean_ctor_get_uint64(v_a_17047_, sizeof(void*)*2); +v___y_17056_ = v_hash_17095_; +goto v___jp_17055_; } -v_reusejp_17051_: +v___jp_17055_: { -return v___x_17052_; +uint64_t v___x_17057_; uint64_t v___x_17058_; uint64_t v_fold_17059_; uint64_t v___x_17060_; uint64_t v___x_17061_; uint64_t v___x_17062_; size_t v___x_17063_; size_t v___x_17064_; size_t v___x_17065_; size_t v___x_17066_; size_t v___x_17067_; lean_object* v_bkt_17068_; uint8_t v___x_17069_; +v___x_17057_ = 32ULL; +v___x_17058_ = lean_uint64_shift_right(v___y_17056_, v___x_17057_); +v_fold_17059_ = lean_uint64_xor(v___y_17056_, v___x_17058_); +v___x_17060_ = 16ULL; +v___x_17061_ = lean_uint64_shift_right(v_fold_17059_, v___x_17060_); +v___x_17062_ = lean_uint64_xor(v_fold_17059_, v___x_17061_); +v___x_17063_ = lean_uint64_to_usize(v___x_17062_); +v___x_17064_ = lean_usize_of_nat(v___x_17054_); +v___x_17065_ = ((size_t)1ULL); +v___x_17066_ = lean_usize_sub(v___x_17064_, v___x_17065_); +v___x_17067_ = lean_usize_land(v___x_17063_, v___x_17066_); +v_bkt_17068_ = lean_array_uget_borrowed(v_buckets_17050_, v___x_17067_); +v___x_17069_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_17047_, v_bkt_17068_); +if (v___x_17069_ == 0) +{ +lean_object* v___x_17070_; lean_object* v_size_x27_17071_; lean_object* v___x_17072_; lean_object* v_buckets_x27_17073_; lean_object* v___x_17074_; lean_object* v___x_17075_; lean_object* v___x_17076_; lean_object* v___x_17077_; lean_object* v___x_17078_; uint8_t v___x_17079_; +v___x_17070_ = lean_unsigned_to_nat(1u); +v_size_x27_17071_ = lean_nat_add(v_size_17049_, v___x_17070_); +lean_dec(v_size_17049_); +lean_inc(v_bkt_17068_); +v___x_17072_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_17072_, 0, v_a_17047_); +lean_ctor_set(v___x_17072_, 1, v_b_17048_); +lean_ctor_set(v___x_17072_, 2, v_bkt_17068_); +v_buckets_x27_17073_ = lean_array_uset(v_buckets_17050_, v___x_17067_, v___x_17072_); +v___x_17074_ = lean_unsigned_to_nat(4u); +v___x_17075_ = lean_nat_mul(v_size_x27_17071_, v___x_17074_); +v___x_17076_ = lean_unsigned_to_nat(3u); +v___x_17077_ = lean_nat_div(v___x_17075_, v___x_17076_); +lean_dec(v___x_17075_); +v___x_17078_ = lean_array_get_size(v_buckets_x27_17073_); +v___x_17079_ = lean_nat_dec_le(v___x_17077_, v___x_17078_); +lean_dec(v___x_17077_); +if (v___x_17079_ == 0) +{ +lean_object* v_val_17080_; lean_object* v___x_17082_; +v_val_17080_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_buckets_x27_17073_); +if (v_isShared_17053_ == 0) +{ +lean_ctor_set(v___x_17052_, 1, v_val_17080_); +lean_ctor_set(v___x_17052_, 0, v_size_x27_17071_); +v___x_17082_ = v___x_17052_; +goto v_reusejp_17081_; +} +else +{ +lean_object* v_reuseFailAlloc_17083_; +v_reuseFailAlloc_17083_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_17083_, 0, v_size_x27_17071_); +lean_ctor_set(v_reuseFailAlloc_17083_, 1, v_val_17080_); +v___x_17082_ = v_reuseFailAlloc_17083_; +goto v_reusejp_17081_; +} +v_reusejp_17081_: +{ +return v___x_17082_; +} +} +else +{ +lean_object* v___x_17085_; +if (v_isShared_17053_ == 0) +{ +lean_ctor_set(v___x_17052_, 1, v_buckets_x27_17073_); +lean_ctor_set(v___x_17052_, 0, v_size_x27_17071_); +v___x_17085_ = v___x_17052_; +goto v_reusejp_17084_; +} +else +{ +lean_object* v_reuseFailAlloc_17086_; +v_reuseFailAlloc_17086_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_17086_, 0, v_size_x27_17071_); +lean_ctor_set(v_reuseFailAlloc_17086_, 1, v_buckets_x27_17073_); +v___x_17085_ = v_reuseFailAlloc_17086_; +goto v_reusejp_17084_; +} +v_reusejp_17084_: +{ +return v___x_17085_; +} +} +} +else +{ +lean_object* v___x_17087_; lean_object* v_buckets_x27_17088_; lean_object* v___x_17089_; lean_object* v___x_17090_; lean_object* v___x_17092_; +lean_inc(v_bkt_17068_); +v___x_17087_ = lean_box(0); +v_buckets_x27_17088_ = lean_array_uset(v_buckets_17050_, v___x_17067_, v___x_17087_); +v___x_17089_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_17047_, v_b_17048_, v_bkt_17068_); +v___x_17090_ = lean_array_uset(v_buckets_x27_17088_, v___x_17067_, v___x_17089_); +if (v_isShared_17053_ == 0) +{ +lean_ctor_set(v___x_17052_, 1, v___x_17090_); +v___x_17092_ = v___x_17052_; +goto v_reusejp_17091_; +} +else +{ +lean_object* v_reuseFailAlloc_17093_; +v_reuseFailAlloc_17093_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_17093_, 0, v_size_17049_); +lean_ctor_set(v_reuseFailAlloc_17093_, 1, v___x_17090_); +v___x_17092_ = v_reuseFailAlloc_17093_; +goto v_reusejp_17091_; +} +v_reusejp_17091_: +{ +return v___x_17092_; } } } @@ -49621,772 +49776,772 @@ return v___x_17052_; static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1(void){ _start: { -lean_object* v___x_17058_; lean_object* v___x_17059_; -v___x_17058_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__0)); -v___x_17059_ = l_Lean_stringToMessageData(v___x_17058_); -return v___x_17059_; +lean_object* v___x_17098_; lean_object* v___x_17099_; +v___x_17098_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__0)); +v___x_17099_ = l_Lean_stringToMessageData(v___x_17098_); +return v___x_17099_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(lean_object* v_as_17060_, size_t v_sz_17061_, size_t v_i_17062_, lean_object* v_b_17063_, lean_object* v___y_17064_, lean_object* v___y_17065_, lean_object* v___y_17066_, lean_object* v___y_17067_, lean_object* v___y_17068_, lean_object* v___y_17069_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(lean_object* v_as_17100_, size_t v_sz_17101_, size_t v_i_17102_, lean_object* v_b_17103_, lean_object* v___y_17104_, lean_object* v___y_17105_, lean_object* v___y_17106_, lean_object* v___y_17107_, lean_object* v___y_17108_, lean_object* v___y_17109_){ _start: { -uint8_t v___x_17071_; -v___x_17071_ = lean_usize_dec_lt(v_i_17062_, v_sz_17061_); -if (v___x_17071_ == 0) +uint8_t v___x_17111_; +v___x_17111_ = lean_usize_dec_lt(v_i_17102_, v_sz_17101_); +if (v___x_17111_ == 0) { -lean_object* v___x_17072_; -lean_dec_ref(v___y_17068_); -lean_dec_ref(v___y_17064_); -v___x_17072_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17072_, 0, v_b_17063_); -return v___x_17072_; +lean_object* v___x_17112_; +lean_dec_ref(v___y_17108_); +lean_dec_ref(v___y_17104_); +v___x_17112_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17112_, 0, v_b_17103_); +return v___x_17112_; } else { -lean_object* v_a_17073_; lean_object* v_ref_17074_; lean_object* v_declName_17075_; lean_object* v___x_17076_; lean_object* v___x_17082_; -v_a_17073_ = lean_array_uget_borrowed(v_as_17060_, v_i_17062_); -v_ref_17074_ = lean_ctor_get(v_a_17073_, 0); -v_declName_17075_ = lean_ctor_get(v_a_17073_, 3); -lean_inc(v_declName_17075_); -v___x_17076_ = l_Lean_privateToUserName(v_declName_17075_); -v___x_17082_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg(v_b_17063_, v___x_17076_); -if (lean_obj_tag(v___x_17082_) == 1) +lean_object* v_a_17113_; lean_object* v_ref_17114_; lean_object* v_declName_17115_; lean_object* v___x_17116_; lean_object* v___x_17122_; +v_a_17113_ = lean_array_uget_borrowed(v_as_17100_, v_i_17102_); +v_ref_17114_ = lean_ctor_get(v_a_17113_, 0); +v_declName_17115_ = lean_ctor_get(v_a_17113_, 3); +lean_inc(v_declName_17115_); +v___x_17116_ = l_Lean_privateToUserName(v_declName_17115_); +v___x_17122_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg(v_b_17103_, v___x_17116_); +if (lean_obj_tag(v___x_17122_) == 1) { -lean_object* v_val_17083_; lean_object* v___x_17084_; lean_object* v___x_17085_; lean_object* v___x_17086_; lean_object* v___x_17087_; lean_object* v___x_17088_; lean_object* v___x_17089_; -v_val_17083_ = lean_ctor_get(v___x_17082_, 0); -lean_inc(v_val_17083_); -lean_dec_ref(v___x_17082_); -v___x_17084_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1); -lean_inc(v___x_17076_); -v___x_17085_ = l_Lean_MessageData_ofName(v___x_17076_); -v___x_17086_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17086_, 0, v___x_17084_); -lean_ctor_set(v___x_17086_, 1, v___x_17085_); -v___x_17087_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7); -v___x_17088_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17088_, 0, v___x_17086_); -lean_ctor_set(v___x_17088_, 1, v___x_17087_); -lean_inc_ref(v___y_17068_); -lean_inc_ref(v___x_17088_); -v___x_17089_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_val_17083_, v___x_17088_, v___y_17066_, v___y_17067_, v___y_17068_, v___y_17069_); -lean_dec(v_val_17083_); -if (lean_obj_tag(v___x_17089_) == 0) +lean_object* v_val_17123_; lean_object* v___x_17124_; lean_object* v___x_17125_; lean_object* v___x_17126_; lean_object* v___x_17127_; lean_object* v___x_17128_; lean_object* v___x_17129_; +v_val_17123_ = lean_ctor_get(v___x_17122_, 0); +lean_inc(v_val_17123_); +lean_dec_ref(v___x_17122_); +v___x_17124_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___closed__1); +lean_inc(v___x_17116_); +v___x_17125_ = l_Lean_MessageData_ofName(v___x_17116_); +v___x_17126_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17126_, 0, v___x_17124_); +lean_ctor_set(v___x_17126_, 1, v___x_17125_); +v___x_17127_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7); +v___x_17128_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17128_, 0, v___x_17126_); +lean_ctor_set(v___x_17128_, 1, v___x_17127_); +lean_inc_ref(v___y_17108_); +lean_inc_ref(v___x_17128_); +v___x_17129_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_val_17123_, v___x_17128_, v___y_17106_, v___y_17107_, v___y_17108_, v___y_17109_); +lean_dec(v_val_17123_); +if (lean_obj_tag(v___x_17129_) == 0) { -lean_object* v___x_17090_; -lean_dec_ref(v___x_17089_); -lean_inc_ref(v___y_17068_); -lean_inc_ref(v___y_17064_); -v___x_17090_ = l_Lean_throwErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__0___redArg(v_ref_17074_, v___x_17088_, v___y_17064_, v___y_17065_, v___y_17066_, v___y_17067_, v___y_17068_, v___y_17069_); -if (lean_obj_tag(v___x_17090_) == 0) +lean_object* v___x_17130_; +lean_dec_ref(v___x_17129_); +lean_inc_ref(v___y_17108_); +lean_inc_ref(v___y_17104_); +v___x_17130_ = l_Lean_throwErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__0___redArg(v_ref_17114_, v___x_17128_, v___y_17104_, v___y_17105_, v___y_17106_, v___y_17107_, v___y_17108_, v___y_17109_); +if (lean_obj_tag(v___x_17130_) == 0) { -lean_dec_ref(v___x_17090_); -goto v___jp_17077_; +lean_dec_ref(v___x_17130_); +goto v___jp_17117_; } else { -lean_object* v_a_17091_; lean_object* v___x_17093_; uint8_t v_isShared_17094_; uint8_t v_isSharedCheck_17098_; -lean_dec(v___x_17076_); -lean_dec_ref(v___y_17068_); -lean_dec_ref(v___y_17064_); -lean_dec_ref(v_b_17063_); -v_a_17091_ = lean_ctor_get(v___x_17090_, 0); -v_isSharedCheck_17098_ = !lean_is_exclusive(v___x_17090_); -if (v_isSharedCheck_17098_ == 0) +lean_object* v_a_17131_; lean_object* v___x_17133_; uint8_t v_isShared_17134_; uint8_t v_isSharedCheck_17138_; +lean_dec(v___x_17116_); +lean_dec_ref(v___y_17108_); +lean_dec_ref(v___y_17104_); +lean_dec_ref(v_b_17103_); +v_a_17131_ = lean_ctor_get(v___x_17130_, 0); +v_isSharedCheck_17138_ = !lean_is_exclusive(v___x_17130_); +if (v_isSharedCheck_17138_ == 0) { -v___x_17093_ = v___x_17090_; -v_isShared_17094_ = v_isSharedCheck_17098_; -goto v_resetjp_17092_; +v___x_17133_ = v___x_17130_; +v_isShared_17134_ = v_isSharedCheck_17138_; +goto v_resetjp_17132_; } else { -lean_inc(v_a_17091_); -lean_dec(v___x_17090_); -v___x_17093_ = lean_box(0); -v_isShared_17094_ = v_isSharedCheck_17098_; -goto v_resetjp_17092_; +lean_inc(v_a_17131_); +lean_dec(v___x_17130_); +v___x_17133_ = lean_box(0); +v_isShared_17134_ = v_isSharedCheck_17138_; +goto v_resetjp_17132_; } -v_resetjp_17092_: +v_resetjp_17132_: { -lean_object* v___x_17096_; -if (v_isShared_17094_ == 0) +lean_object* v___x_17136_; +if (v_isShared_17134_ == 0) { -v___x_17096_ = v___x_17093_; -goto v_reusejp_17095_; +v___x_17136_ = v___x_17133_; +goto v_reusejp_17135_; } else { -lean_object* v_reuseFailAlloc_17097_; -v_reuseFailAlloc_17097_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17097_, 0, v_a_17091_); -v___x_17096_ = v_reuseFailAlloc_17097_; -goto v_reusejp_17095_; +lean_object* v_reuseFailAlloc_17137_; +v_reuseFailAlloc_17137_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17137_, 0, v_a_17131_); +v___x_17136_ = v_reuseFailAlloc_17137_; +goto v_reusejp_17135_; } -v_reusejp_17095_: +v_reusejp_17135_: { -return v___x_17096_; +return v___x_17136_; } } } } else { -lean_object* v_a_17099_; lean_object* v___x_17101_; uint8_t v_isShared_17102_; uint8_t v_isSharedCheck_17106_; -lean_dec_ref(v___x_17088_); -lean_dec(v___x_17076_); -lean_dec_ref(v___y_17068_); -lean_dec_ref(v___y_17064_); -lean_dec_ref(v_b_17063_); -v_a_17099_ = lean_ctor_get(v___x_17089_, 0); -v_isSharedCheck_17106_ = !lean_is_exclusive(v___x_17089_); -if (v_isSharedCheck_17106_ == 0) +lean_object* v_a_17139_; lean_object* v___x_17141_; uint8_t v_isShared_17142_; uint8_t v_isSharedCheck_17146_; +lean_dec_ref(v___x_17128_); +lean_dec(v___x_17116_); +lean_dec_ref(v___y_17108_); +lean_dec_ref(v___y_17104_); +lean_dec_ref(v_b_17103_); +v_a_17139_ = lean_ctor_get(v___x_17129_, 0); +v_isSharedCheck_17146_ = !lean_is_exclusive(v___x_17129_); +if (v_isSharedCheck_17146_ == 0) { -v___x_17101_ = v___x_17089_; -v_isShared_17102_ = v_isSharedCheck_17106_; -goto v_resetjp_17100_; +v___x_17141_ = v___x_17129_; +v_isShared_17142_ = v_isSharedCheck_17146_; +goto v_resetjp_17140_; } else { -lean_inc(v_a_17099_); -lean_dec(v___x_17089_); -v___x_17101_ = lean_box(0); -v_isShared_17102_ = v_isSharedCheck_17106_; -goto v_resetjp_17100_; +lean_inc(v_a_17139_); +lean_dec(v___x_17129_); +v___x_17141_ = lean_box(0); +v_isShared_17142_ = v_isSharedCheck_17146_; +goto v_resetjp_17140_; } -v_resetjp_17100_: +v_resetjp_17140_: { -lean_object* v___x_17104_; -if (v_isShared_17102_ == 0) +lean_object* v___x_17144_; +if (v_isShared_17142_ == 0) { -v___x_17104_ = v___x_17101_; -goto v_reusejp_17103_; +v___x_17144_ = v___x_17141_; +goto v_reusejp_17143_; } else { -lean_object* v_reuseFailAlloc_17105_; -v_reuseFailAlloc_17105_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17105_, 0, v_a_17099_); -v___x_17104_ = v_reuseFailAlloc_17105_; -goto v_reusejp_17103_; +lean_object* v_reuseFailAlloc_17145_; +v_reuseFailAlloc_17145_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17145_, 0, v_a_17139_); +v___x_17144_ = v_reuseFailAlloc_17145_; +goto v_reusejp_17143_; } -v_reusejp_17103_: +v_reusejp_17143_: { -return v___x_17104_; +return v___x_17144_; } } } } else { -lean_dec(v___x_17082_); -goto v___jp_17077_; +lean_dec(v___x_17122_); +goto v___jp_17117_; } -v___jp_17077_: +v___jp_17117_: { -lean_object* v___x_17078_; size_t v___x_17079_; size_t v___x_17080_; -lean_inc(v_ref_17074_); -v___x_17078_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(v_b_17063_, v___x_17076_, v_ref_17074_); -v___x_17079_ = ((size_t)1ULL); -v___x_17080_ = lean_usize_add(v_i_17062_, v___x_17079_); -v_i_17062_ = v___x_17080_; -v_b_17063_ = v___x_17078_; +lean_object* v___x_17118_; size_t v___x_17119_; size_t v___x_17120_; +lean_inc(v_ref_17114_); +v___x_17118_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(v_b_17103_, v___x_17116_, v_ref_17114_); +v___x_17119_ = ((size_t)1ULL); +v___x_17120_ = lean_usize_add(v_i_17102_, v___x_17119_); +v_i_17102_ = v___x_17120_; +v_b_17103_ = v___x_17118_; goto _start; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___boxed(lean_object* v_as_17107_, lean_object* v_sz_17108_, lean_object* v_i_17109_, lean_object* v_b_17110_, lean_object* v___y_17111_, lean_object* v___y_17112_, lean_object* v___y_17113_, lean_object* v___y_17114_, lean_object* v___y_17115_, lean_object* v___y_17116_, lean_object* v___y_17117_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2___boxed(lean_object* v_as_17147_, lean_object* v_sz_17148_, lean_object* v_i_17149_, lean_object* v_b_17150_, lean_object* v___y_17151_, lean_object* v___y_17152_, lean_object* v___y_17153_, lean_object* v___y_17154_, lean_object* v___y_17155_, lean_object* v___y_17156_, lean_object* v___y_17157_){ _start: { -size_t v_sz_boxed_17118_; size_t v_i_boxed_17119_; lean_object* v_res_17120_; -v_sz_boxed_17118_ = lean_unbox_usize(v_sz_17108_); -lean_dec(v_sz_17108_); -v_i_boxed_17119_ = lean_unbox_usize(v_i_17109_); -lean_dec(v_i_17109_); -v_res_17120_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(v_as_17107_, v_sz_boxed_17118_, v_i_boxed_17119_, v_b_17110_, v___y_17111_, v___y_17112_, v___y_17113_, v___y_17114_, v___y_17115_, v___y_17116_); -lean_dec(v___y_17116_); -lean_dec(v___y_17114_); -lean_dec_ref(v___y_17113_); -lean_dec(v___y_17112_); -lean_dec_ref(v_as_17107_); -return v_res_17120_; +size_t v_sz_boxed_17158_; size_t v_i_boxed_17159_; lean_object* v_res_17160_; +v_sz_boxed_17158_ = lean_unbox_usize(v_sz_17148_); +lean_dec(v_sz_17148_); +v_i_boxed_17159_ = lean_unbox_usize(v_i_17149_); +lean_dec(v_i_17149_); +v_res_17160_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(v_as_17147_, v_sz_boxed_17158_, v_i_boxed_17159_, v_b_17150_, v___y_17151_, v___y_17152_, v___y_17153_, v___y_17154_, v___y_17155_, v___y_17156_); +lean_dec(v___y_17156_); +lean_dec(v___y_17154_); +lean_dec_ref(v___y_17153_); +lean_dec(v___y_17152_); +lean_dec_ref(v_as_17147_); +return v_res_17160_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(lean_object* v_preDefs_17121_, lean_object* v_a_17122_, lean_object* v_a_17123_, lean_object* v_a_17124_, lean_object* v_a_17125_, lean_object* v_a_17126_, lean_object* v_a_17127_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(lean_object* v_preDefs_17161_, lean_object* v_a_17162_, lean_object* v_a_17163_, lean_object* v_a_17164_, lean_object* v_a_17165_, lean_object* v_a_17166_, lean_object* v_a_17167_){ _start: { -lean_object* v_names_17129_; size_t v_sz_17130_; size_t v___x_17131_; lean_object* v___x_17132_; -v_names_17129_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1); -v_sz_17130_ = lean_array_size(v_preDefs_17121_); -v___x_17131_ = ((size_t)0ULL); -v___x_17132_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(v_preDefs_17121_, v_sz_17130_, v___x_17131_, v_names_17129_, v_a_17122_, v_a_17123_, v_a_17124_, v_a_17125_, v_a_17126_, v_a_17127_); -if (lean_obj_tag(v___x_17132_) == 0) +lean_object* v_names_17169_; size_t v_sz_17170_; size_t v___x_17171_; lean_object* v___x_17172_; +v_names_17169_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg___closed__1); +v_sz_17170_ = lean_array_size(v_preDefs_17161_); +v___x_17171_ = ((size_t)0ULL); +v___x_17172_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__2(v_preDefs_17161_, v_sz_17170_, v___x_17171_, v_names_17169_, v_a_17162_, v_a_17163_, v_a_17164_, v_a_17165_, v_a_17166_, v_a_17167_); +if (lean_obj_tag(v___x_17172_) == 0) { -lean_object* v___x_17134_; uint8_t v_isShared_17135_; uint8_t v_isSharedCheck_17140_; -v_isSharedCheck_17140_ = !lean_is_exclusive(v___x_17132_); -if (v_isSharedCheck_17140_ == 0) +lean_object* v___x_17174_; uint8_t v_isShared_17175_; uint8_t v_isSharedCheck_17180_; +v_isSharedCheck_17180_ = !lean_is_exclusive(v___x_17172_); +if (v_isSharedCheck_17180_ == 0) { -lean_object* v_unused_17141_; -v_unused_17141_ = lean_ctor_get(v___x_17132_, 0); -lean_dec(v_unused_17141_); -v___x_17134_ = v___x_17132_; -v_isShared_17135_ = v_isSharedCheck_17140_; -goto v_resetjp_17133_; +lean_object* v_unused_17181_; +v_unused_17181_ = lean_ctor_get(v___x_17172_, 0); +lean_dec(v_unused_17181_); +v___x_17174_ = v___x_17172_; +v_isShared_17175_ = v_isSharedCheck_17180_; +goto v_resetjp_17173_; } else { -lean_dec(v___x_17132_); -v___x_17134_ = lean_box(0); -v_isShared_17135_ = v_isSharedCheck_17140_; -goto v_resetjp_17133_; +lean_dec(v___x_17172_); +v___x_17174_ = lean_box(0); +v_isShared_17175_ = v_isSharedCheck_17180_; +goto v_resetjp_17173_; } -v_resetjp_17133_: +v_resetjp_17173_: { -lean_object* v___x_17136_; lean_object* v___x_17138_; -v___x_17136_ = lean_box(0); -if (v_isShared_17135_ == 0) +lean_object* v___x_17176_; lean_object* v___x_17178_; +v___x_17176_ = lean_box(0); +if (v_isShared_17175_ == 0) { -lean_ctor_set(v___x_17134_, 0, v___x_17136_); -v___x_17138_ = v___x_17134_; -goto v_reusejp_17137_; +lean_ctor_set(v___x_17174_, 0, v___x_17176_); +v___x_17178_ = v___x_17174_; +goto v_reusejp_17177_; } else { -lean_object* v_reuseFailAlloc_17139_; -v_reuseFailAlloc_17139_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17139_, 0, v___x_17136_); -v___x_17138_ = v_reuseFailAlloc_17139_; -goto v_reusejp_17137_; +lean_object* v_reuseFailAlloc_17179_; +v_reuseFailAlloc_17179_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17179_, 0, v___x_17176_); +v___x_17178_ = v_reuseFailAlloc_17179_; +goto v_reusejp_17177_; } -v_reusejp_17137_: +v_reusejp_17177_: { -return v___x_17138_; +return v___x_17178_; } } } else { -lean_object* v_a_17142_; lean_object* v___x_17144_; uint8_t v_isShared_17145_; uint8_t v_isSharedCheck_17149_; -v_a_17142_ = lean_ctor_get(v___x_17132_, 0); -v_isSharedCheck_17149_ = !lean_is_exclusive(v___x_17132_); -if (v_isSharedCheck_17149_ == 0) +lean_object* v_a_17182_; lean_object* v___x_17184_; uint8_t v_isShared_17185_; uint8_t v_isSharedCheck_17189_; +v_a_17182_ = lean_ctor_get(v___x_17172_, 0); +v_isSharedCheck_17189_ = !lean_is_exclusive(v___x_17172_); +if (v_isSharedCheck_17189_ == 0) { -v___x_17144_ = v___x_17132_; -v_isShared_17145_ = v_isSharedCheck_17149_; -goto v_resetjp_17143_; +v___x_17184_ = v___x_17172_; +v_isShared_17185_ = v_isSharedCheck_17189_; +goto v_resetjp_17183_; } else { -lean_inc(v_a_17142_); -lean_dec(v___x_17132_); -v___x_17144_ = lean_box(0); -v_isShared_17145_ = v_isSharedCheck_17149_; -goto v_resetjp_17143_; +lean_inc(v_a_17182_); +lean_dec(v___x_17172_); +v___x_17184_ = lean_box(0); +v_isShared_17185_ = v_isSharedCheck_17189_; +goto v_resetjp_17183_; } -v_resetjp_17143_: +v_resetjp_17183_: { -lean_object* v___x_17147_; -if (v_isShared_17145_ == 0) +lean_object* v___x_17187_; +if (v_isShared_17185_ == 0) { -v___x_17147_ = v___x_17144_; -goto v_reusejp_17146_; +v___x_17187_ = v___x_17184_; +goto v_reusejp_17186_; } else { -lean_object* v_reuseFailAlloc_17148_; -v_reuseFailAlloc_17148_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17148_, 0, v_a_17142_); -v___x_17147_ = v_reuseFailAlloc_17148_; -goto v_reusejp_17146_; +lean_object* v_reuseFailAlloc_17188_; +v_reuseFailAlloc_17188_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17188_, 0, v_a_17182_); +v___x_17187_ = v_reuseFailAlloc_17188_; +goto v_reusejp_17186_; } -v_reusejp_17146_: +v_reusejp_17186_: { -return v___x_17147_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___boxed(lean_object* v_preDefs_17150_, lean_object* v_a_17151_, lean_object* v_a_17152_, lean_object* v_a_17153_, lean_object* v_a_17154_, lean_object* v_a_17155_, lean_object* v_a_17156_, lean_object* v_a_17157_){ -_start: -{ -lean_object* v_res_17158_; -v_res_17158_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(v_preDefs_17150_, v_a_17151_, v_a_17152_, v_a_17153_, v_a_17154_, v_a_17155_, v_a_17156_); -lean_dec(v_a_17156_); -lean_dec(v_a_17154_); -lean_dec_ref(v_a_17153_); -lean_dec(v_a_17152_); -lean_dec_ref(v_preDefs_17150_); -return v_res_17158_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0(lean_object* v_00_u03b2_17159_, lean_object* v_m_17160_, lean_object* v_a_17161_, lean_object* v_b_17162_){ -_start: -{ -lean_object* v___x_17163_; -v___x_17163_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(v_m_17160_, v_a_17161_, v_b_17162_); -return v___x_17163_; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1(lean_object* v_ref_17164_, lean_object* v_msgData_17165_, lean_object* v___y_17166_, lean_object* v___y_17167_, lean_object* v___y_17168_, lean_object* v___y_17169_, lean_object* v___y_17170_, lean_object* v___y_17171_){ -_start: -{ -lean_object* v___x_17173_; -v___x_17173_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_17164_, v_msgData_17165_, v___y_17168_, v___y_17169_, v___y_17170_, v___y_17171_); -return v___x_17173_; -} -} -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___boxed(lean_object* v_ref_17174_, lean_object* v_msgData_17175_, lean_object* v___y_17176_, lean_object* v___y_17177_, lean_object* v___y_17178_, lean_object* v___y_17179_, lean_object* v___y_17180_, lean_object* v___y_17181_, lean_object* v___y_17182_){ -_start: -{ -lean_object* v_res_17183_; -v_res_17183_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1(v_ref_17174_, v_msgData_17175_, v___y_17176_, v___y_17177_, v___y_17178_, v___y_17179_, v___y_17180_, v___y_17181_); -lean_dec(v___y_17181_); -lean_dec(v___y_17179_); -lean_dec_ref(v___y_17178_); -lean_dec(v___y_17177_); -lean_dec_ref(v___y_17176_); -lean_dec(v_ref_17174_); -return v_res_17183_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0(lean_object* v_00_u03b2_17184_, lean_object* v_a_17185_, lean_object* v_x_17186_){ -_start: -{ -uint8_t v___x_17187_; -v___x_17187_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_17185_, v_x_17186_); return v___x_17187_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___boxed(lean_object* v_00_u03b2_17188_, lean_object* v_a_17189_, lean_object* v_x_17190_){ +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct___boxed(lean_object* v_preDefs_17190_, lean_object* v_a_17191_, lean_object* v_a_17192_, lean_object* v_a_17193_, lean_object* v_a_17194_, lean_object* v_a_17195_, lean_object* v_a_17196_, lean_object* v_a_17197_){ _start: { -uint8_t v_res_17191_; lean_object* v_r_17192_; -v_res_17191_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0(v_00_u03b2_17188_, v_a_17189_, v_x_17190_); -lean_dec(v_x_17190_); -lean_dec(v_a_17189_); -v_r_17192_ = lean_box(v_res_17191_); -return v_r_17192_; +lean_object* v_res_17198_; +v_res_17198_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(v_preDefs_17190_, v_a_17191_, v_a_17192_, v_a_17193_, v_a_17194_, v_a_17195_, v_a_17196_); +lean_dec(v_a_17196_); +lean_dec(v_a_17194_); +lean_dec_ref(v_a_17193_); +lean_dec(v_a_17192_); +lean_dec_ref(v_preDefs_17190_); +return v_res_17198_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1(lean_object* v_00_u03b2_17193_, lean_object* v_data_17194_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0(lean_object* v_00_u03b2_17199_, lean_object* v_m_17200_, lean_object* v_a_17201_, lean_object* v_b_17202_){ _start: { -lean_object* v___x_17195_; -v___x_17195_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_data_17194_); -return v___x_17195_; +lean_object* v___x_17203_; +v___x_17203_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0___redArg(v_m_17200_, v_a_17201_, v_b_17202_); +return v___x_17203_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2(lean_object* v_00_u03b2_17196_, lean_object* v_a_17197_, lean_object* v_b_17198_, lean_object* v_x_17199_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1(lean_object* v_ref_17204_, lean_object* v_msgData_17205_, lean_object* v___y_17206_, lean_object* v___y_17207_, lean_object* v___y_17208_, lean_object* v___y_17209_, lean_object* v___y_17210_, lean_object* v___y_17211_){ _start: { -lean_object* v___x_17200_; -v___x_17200_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_17197_, v_b_17198_, v_x_17199_); -return v___x_17200_; +lean_object* v___x_17213_; +v___x_17213_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_17204_, v_msgData_17205_, v___y_17208_, v___y_17209_, v___y_17210_, v___y_17211_); +return v___x_17213_; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2(lean_object* v_00_u03b2_17201_, lean_object* v_i_17202_, lean_object* v_source_17203_, lean_object* v_target_17204_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___boxed(lean_object* v_ref_17214_, lean_object* v_msgData_17215_, lean_object* v___y_17216_, lean_object* v___y_17217_, lean_object* v___y_17218_, lean_object* v___y_17219_, lean_object* v___y_17220_, lean_object* v___y_17221_, lean_object* v___y_17222_){ _start: { -lean_object* v___x_17205_; -v___x_17205_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(v_i_17202_, v_source_17203_, v_target_17204_); -return v___x_17205_; +lean_object* v_res_17223_; +v_res_17223_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1(v_ref_17214_, v_msgData_17215_, v___y_17216_, v___y_17217_, v___y_17218_, v___y_17219_, v___y_17220_, v___y_17221_); +lean_dec(v___y_17221_); +lean_dec(v___y_17219_); +lean_dec_ref(v___y_17218_); +lean_dec(v___y_17217_); +lean_dec_ref(v___y_17216_); +lean_dec(v_ref_17214_); +return v_res_17223_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5(lean_object* v_00_u03b2_17206_, lean_object* v_x_17207_, lean_object* v_x_17208_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0(lean_object* v_00_u03b2_17224_, lean_object* v_a_17225_, lean_object* v_x_17226_){ _start: { -lean_object* v___x_17209_; -v___x_17209_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(v_x_17207_, v_x_17208_); -return v___x_17209_; +uint8_t v___x_17227_; +v___x_17227_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_17225_, v_x_17226_); +return v___x_17227_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_AsyncBodyInfo_toCtorIdx(lean_object* v_x_17210_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___boxed(lean_object* v_00_u03b2_17228_, lean_object* v_a_17229_, lean_object* v_x_17230_){ _start: { -lean_object* v___x_17211_; -v___x_17211_ = lean_unsigned_to_nat(0u); -return v___x_17211_; +uint8_t v_res_17231_; lean_object* v_r_17232_; +v_res_17231_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0(v_00_u03b2_17228_, v_a_17229_, v_x_17230_); +lean_dec(v_x_17230_); +lean_dec(v_a_17229_); +v_r_17232_ = lean_box(v_res_17231_); +return v_r_17232_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1(lean_object* v_00_u03b2_17233_, lean_object* v_data_17234_){ +_start: +{ +lean_object* v___x_17235_; +v___x_17235_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_data_17234_); +return v___x_17235_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2(lean_object* v_00_u03b2_17236_, lean_object* v_a_17237_, lean_object* v_b_17238_, lean_object* v_x_17239_){ +_start: +{ +lean_object* v___x_17240_; +v___x_17240_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__2___redArg(v_a_17237_, v_b_17238_, v_x_17239_); +return v___x_17240_; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2(lean_object* v_00_u03b2_17241_, lean_object* v_i_17242_, lean_object* v_source_17243_, lean_object* v_target_17244_){ +_start: +{ +lean_object* v___x_17245_; +v___x_17245_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2___redArg(v_i_17242_, v_source_17243_, v_target_17244_); +return v___x_17245_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5(lean_object* v_00_u03b2_17246_, lean_object* v_x_17247_, lean_object* v_x_17248_){ +_start: +{ +lean_object* v___x_17249_; +v___x_17249_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1_spec__2_spec__5___redArg(v_x_17247_, v_x_17248_); +return v___x_17249_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_AsyncBodyInfo_toCtorIdx(lean_object* v_x_17250_){ +_start: +{ +lean_object* v___x_17251_; +v___x_17251_ = lean_unsigned_to_nat(0u); +return v___x_17251_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_(){ _start: { -lean_object* v___x_17237_; lean_object* v___x_17238_; lean_object* v___x_17239_; lean_object* v___x_17240_; -v___x_17237_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__2_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); -v___x_17238_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__4_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); -v___x_17239_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__5_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); -v___x_17240_ = l_Lean_Option_register___at___00Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2259413504____hygCtx___hyg_4__spec__0(v___x_17237_, v___x_17238_, v___x_17239_); -return v___x_17240_; +lean_object* v___x_17277_; lean_object* v___x_17278_; lean_object* v___x_17279_; lean_object* v___x_17280_; +v___x_17277_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__2_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); +v___x_17278_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__4_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); +v___x_17279_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__5_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_)); +v___x_17280_ = l_Lean_Option_register___at___00Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2259413504____hygCtx___hyg_4__spec__0(v___x_17277_, v___x_17278_, v___x_17279_); +return v___x_17280_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4____boxed(lean_object* v_a_17241_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4____boxed(lean_object* v_a_17281_){ _start: { -lean_object* v_res_17242_; -v_res_17242_ = l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_(); -return v_res_17242_; +lean_object* v_res_17282_; +v_res_17282_ = l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_498884866____hygCtx___hyg_4_(); +return v_res_17282_; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_(){ _start: { -lean_object* v___x_17259_; lean_object* v___x_17260_; lean_object* v___x_17261_; lean_object* v___x_17262_; -v___x_17259_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__1_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); -v___x_17260_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__3_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); -v___x_17261_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__4_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); -v___x_17262_ = l_Lean_Option_register___at___00Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2259413504____hygCtx___hyg_4__spec__0(v___x_17259_, v___x_17260_, v___x_17261_); -return v___x_17262_; +lean_object* v___x_17299_; lean_object* v___x_17300_; lean_object* v___x_17301_; lean_object* v___x_17302_; +v___x_17299_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__1_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); +v___x_17300_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__3_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); +v___x_17301_ = ((lean_object*)(l_Lean_Elab_Term_initFn___closed__4_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_)); +v___x_17302_ = l_Lean_Option_register___at___00Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2259413504____hygCtx___hyg_4__spec__0(v___x_17299_, v___x_17300_, v___x_17301_); +return v___x_17302_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4____boxed(lean_object* v_a_17263_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4____boxed(lean_object* v_a_17303_){ _start: { -lean_object* v_res_17264_; -v_res_17264_ = l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_(); -return v_res_17264_; +lean_object* v_res_17304_; +v_res_17304_ = l_Lean_Elab_Term_initFn_00___x40_Lean_Elab_MutualDef_2318601276____hygCtx___hyg_4_(); +return v_res_17304_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(lean_object* v_e_17265_, lean_object* v_k_17266_, uint8_t v_cleanupAnnotations_17267_, lean_object* v___y_17268_, lean_object* v___y_17269_, lean_object* v___y_17270_, lean_object* v___y_17271_, lean_object* v___y_17272_, lean_object* v___y_17273_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(lean_object* v_e_17305_, lean_object* v_k_17306_, uint8_t v_cleanupAnnotations_17307_, lean_object* v___y_17308_, lean_object* v___y_17309_, lean_object* v___y_17310_, lean_object* v___y_17311_, lean_object* v___y_17312_, lean_object* v___y_17313_){ _start: { -lean_object* v___f_17275_; uint8_t v___x_17276_; uint8_t v___x_17277_; lean_object* v___x_17278_; lean_object* v___x_17279_; -v___f_17275_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__7___redArg___lam__0___boxed), 10, 3); -lean_closure_set(v___f_17275_, 0, v_k_17266_); -lean_closure_set(v___f_17275_, 1, v___y_17268_); -lean_closure_set(v___f_17275_, 2, v___y_17269_); -v___x_17276_ = 1; -v___x_17277_ = 0; -v___x_17278_ = lean_box(0); -v___x_17279_ = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_box(0), v_e_17265_, v___x_17276_, v___x_17277_, v___x_17276_, v___x_17277_, v___x_17278_, v___f_17275_, v_cleanupAnnotations_17267_, v___y_17270_, v___y_17271_, v___y_17272_, v___y_17273_); -if (lean_obj_tag(v___x_17279_) == 0) +lean_object* v___f_17315_; uint8_t v___x_17316_; uint8_t v___x_17317_; lean_object* v___x_17318_; lean_object* v___x_17319_; +v___f_17315_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__7___redArg___lam__0___boxed), 10, 3); +lean_closure_set(v___f_17315_, 0, v_k_17306_); +lean_closure_set(v___f_17315_, 1, v___y_17308_); +lean_closure_set(v___f_17315_, 2, v___y_17309_); +v___x_17316_ = 1; +v___x_17317_ = 0; +v___x_17318_ = lean_box(0); +v___x_17319_ = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_box(0), v_e_17305_, v___x_17316_, v___x_17317_, v___x_17316_, v___x_17317_, v___x_17318_, v___f_17315_, v_cleanupAnnotations_17307_, v___y_17310_, v___y_17311_, v___y_17312_, v___y_17313_); +if (lean_obj_tag(v___x_17319_) == 0) { -return v___x_17279_; +return v___x_17319_; } else { -lean_object* v_a_17280_; lean_object* v___x_17282_; uint8_t v_isShared_17283_; uint8_t v_isSharedCheck_17287_; -v_a_17280_ = lean_ctor_get(v___x_17279_, 0); -v_isSharedCheck_17287_ = !lean_is_exclusive(v___x_17279_); -if (v_isSharedCheck_17287_ == 0) +lean_object* v_a_17320_; lean_object* v___x_17322_; uint8_t v_isShared_17323_; uint8_t v_isSharedCheck_17327_; +v_a_17320_ = lean_ctor_get(v___x_17319_, 0); +v_isSharedCheck_17327_ = !lean_is_exclusive(v___x_17319_); +if (v_isSharedCheck_17327_ == 0) { -v___x_17282_ = v___x_17279_; -v_isShared_17283_ = v_isSharedCheck_17287_; -goto v_resetjp_17281_; +v___x_17322_ = v___x_17319_; +v_isShared_17323_ = v_isSharedCheck_17327_; +goto v_resetjp_17321_; } else { -lean_inc(v_a_17280_); -lean_dec(v___x_17279_); -v___x_17282_ = lean_box(0); -v_isShared_17283_ = v_isSharedCheck_17287_; -goto v_resetjp_17281_; +lean_inc(v_a_17320_); +lean_dec(v___x_17319_); +v___x_17322_ = lean_box(0); +v_isShared_17323_ = v_isSharedCheck_17327_; +goto v_resetjp_17321_; } -v_resetjp_17281_: +v_resetjp_17321_: { -lean_object* v___x_17285_; -if (v_isShared_17283_ == 0) +lean_object* v___x_17325_; +if (v_isShared_17323_ == 0) { -v___x_17285_ = v___x_17282_; -goto v_reusejp_17284_; +v___x_17325_ = v___x_17322_; +goto v_reusejp_17324_; } else { -lean_object* v_reuseFailAlloc_17286_; -v_reuseFailAlloc_17286_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17286_, 0, v_a_17280_); -v___x_17285_ = v_reuseFailAlloc_17286_; -goto v_reusejp_17284_; +lean_object* v_reuseFailAlloc_17326_; +v_reuseFailAlloc_17326_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17326_, 0, v_a_17320_); +v___x_17325_ = v_reuseFailAlloc_17326_; +goto v_reusejp_17324_; } -v_reusejp_17284_: +v_reusejp_17324_: { -return v___x_17285_; +return v___x_17325_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg___boxed(lean_object* v_e_17288_, lean_object* v_k_17289_, lean_object* v_cleanupAnnotations_17290_, lean_object* v___y_17291_, lean_object* v___y_17292_, lean_object* v___y_17293_, lean_object* v___y_17294_, lean_object* v___y_17295_, lean_object* v___y_17296_, lean_object* v___y_17297_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg___boxed(lean_object* v_e_17328_, lean_object* v_k_17329_, lean_object* v_cleanupAnnotations_17330_, lean_object* v___y_17331_, lean_object* v___y_17332_, lean_object* v___y_17333_, lean_object* v___y_17334_, lean_object* v___y_17335_, lean_object* v___y_17336_, lean_object* v___y_17337_){ _start: { -uint8_t v_cleanupAnnotations_boxed_17298_; lean_object* v_res_17299_; -v_cleanupAnnotations_boxed_17298_ = lean_unbox(v_cleanupAnnotations_17290_); -v_res_17299_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v_e_17288_, v_k_17289_, v_cleanupAnnotations_boxed_17298_, v___y_17291_, v___y_17292_, v___y_17293_, v___y_17294_, v___y_17295_, v___y_17296_); -return v_res_17299_; +uint8_t v_cleanupAnnotations_boxed_17338_; lean_object* v_res_17339_; +v_cleanupAnnotations_boxed_17338_ = lean_unbox(v_cleanupAnnotations_17330_); +v_res_17339_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v_e_17328_, v_k_17329_, v_cleanupAnnotations_boxed_17338_, v___y_17331_, v___y_17332_, v___y_17333_, v___y_17334_, v___y_17335_, v___y_17336_); +return v_res_17339_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2(lean_object* v_00_u03b1_17300_, lean_object* v_e_17301_, lean_object* v_k_17302_, uint8_t v_cleanupAnnotations_17303_, lean_object* v___y_17304_, lean_object* v___y_17305_, lean_object* v___y_17306_, lean_object* v___y_17307_, lean_object* v___y_17308_, lean_object* v___y_17309_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2(lean_object* v_00_u03b1_17340_, lean_object* v_e_17341_, lean_object* v_k_17342_, uint8_t v_cleanupAnnotations_17343_, lean_object* v___y_17344_, lean_object* v___y_17345_, lean_object* v___y_17346_, lean_object* v___y_17347_, lean_object* v___y_17348_, lean_object* v___y_17349_){ _start: { -lean_object* v___x_17311_; -v___x_17311_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v_e_17301_, v_k_17302_, v_cleanupAnnotations_17303_, v___y_17304_, v___y_17305_, v___y_17306_, v___y_17307_, v___y_17308_, v___y_17309_); -return v___x_17311_; +lean_object* v___x_17351_; +v___x_17351_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v_e_17341_, v_k_17342_, v_cleanupAnnotations_17343_, v___y_17344_, v___y_17345_, v___y_17346_, v___y_17347_, v___y_17348_, v___y_17349_); +return v___x_17351_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___boxed(lean_object* v_00_u03b1_17312_, lean_object* v_e_17313_, lean_object* v_k_17314_, lean_object* v_cleanupAnnotations_17315_, lean_object* v___y_17316_, lean_object* v___y_17317_, lean_object* v___y_17318_, lean_object* v___y_17319_, lean_object* v___y_17320_, lean_object* v___y_17321_, lean_object* v___y_17322_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___boxed(lean_object* v_00_u03b1_17352_, lean_object* v_e_17353_, lean_object* v_k_17354_, lean_object* v_cleanupAnnotations_17355_, lean_object* v___y_17356_, lean_object* v___y_17357_, lean_object* v___y_17358_, lean_object* v___y_17359_, lean_object* v___y_17360_, lean_object* v___y_17361_, lean_object* v___y_17362_){ _start: { -uint8_t v_cleanupAnnotations_boxed_17323_; lean_object* v_res_17324_; -v_cleanupAnnotations_boxed_17323_ = lean_unbox(v_cleanupAnnotations_17315_); -v_res_17324_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2(v_00_u03b1_17312_, v_e_17313_, v_k_17314_, v_cleanupAnnotations_boxed_17323_, v___y_17316_, v___y_17317_, v___y_17318_, v___y_17319_, v___y_17320_, v___y_17321_); -return v_res_17324_; +uint8_t v_cleanupAnnotations_boxed_17363_; lean_object* v_res_17364_; +v_cleanupAnnotations_boxed_17363_ = lean_unbox(v_cleanupAnnotations_17355_); +v_res_17364_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2(v_00_u03b1_17352_, v_e_17353_, v_k_17354_, v_cleanupAnnotations_boxed_17363_, v___y_17356_, v___y_17357_, v___y_17358_, v___y_17359_, v___y_17360_, v___y_17361_); +return v_res_17364_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1(void){ _start: { -lean_object* v___x_17326_; lean_object* v___x_17327_; -v___x_17326_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__0)); -v___x_17327_ = l_Lean_stringToMessageData(v___x_17326_); -return v___x_17327_; +lean_object* v___x_17366_; lean_object* v___x_17367_; +v___x_17366_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__0)); +v___x_17367_ = l_Lean_stringToMessageData(v___x_17366_); +return v___x_17367_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3(void){ _start: { -lean_object* v___x_17329_; lean_object* v___x_17330_; -v___x_17329_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__2)); -v___x_17330_ = l_Lean_stringToMessageData(v___x_17329_); -return v___x_17330_; +lean_object* v___x_17369_; lean_object* v___x_17370_; +v___x_17369_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__2)); +v___x_17370_ = l_Lean_stringToMessageData(v___x_17369_); +return v___x_17370_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5(void){ _start: { -lean_object* v___x_17332_; lean_object* v___x_17333_; -v___x_17332_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__4)); -v___x_17333_ = l_Lean_stringToMessageData(v___x_17332_); -return v___x_17333_; +lean_object* v___x_17372_; lean_object* v___x_17373_; +v___x_17372_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__4)); +v___x_17373_ = l_Lean_stringToMessageData(v___x_17372_); +return v___x_17373_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7(void){ _start: { -lean_object* v___x_17335_; lean_object* v___x_17336_; -v___x_17335_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__6)); -v___x_17336_ = l_Lean_stringToMessageData(v___x_17335_); -return v___x_17336_; +lean_object* v___x_17375_; lean_object* v___x_17376_; +v___x_17375_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__6)); +v___x_17376_ = l_Lean_stringToMessageData(v___x_17375_); +return v___x_17376_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9(void){ _start: { -lean_object* v___x_17338_; lean_object* v___x_17339_; -v___x_17338_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__8)); -v___x_17339_ = l_Lean_stringToMessageData(v___x_17338_); -return v___x_17339_; +lean_object* v___x_17378_; lean_object* v___x_17379_; +v___x_17378_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__8)); +v___x_17379_ = l_Lean_stringToMessageData(v___x_17378_); +return v___x_17379_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11(void){ _start: { -lean_object* v___x_17341_; lean_object* v___x_17342_; -v___x_17341_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__10)); -v___x_17342_ = l_Lean_stringToMessageData(v___x_17341_); -return v___x_17342_; +lean_object* v___x_17381_; lean_object* v___x_17382_; +v___x_17381_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__10)); +v___x_17382_ = l_Lean_stringToMessageData(v___x_17381_); +return v___x_17382_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13(void){ _start: { -lean_object* v___x_17344_; lean_object* v___x_17345_; -v___x_17344_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__12)); -v___x_17345_ = l_Lean_stringToMessageData(v___x_17344_); -return v___x_17345_; +lean_object* v___x_17384_; lean_object* v___x_17385_; +v___x_17384_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__12)); +v___x_17385_ = l_Lean_stringToMessageData(v___x_17384_); +return v___x_17385_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(lean_object* v_msg_17346_, lean_object* v_declHint_17347_, lean_object* v___y_17348_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(lean_object* v_msg_17386_, lean_object* v_declHint_17387_, lean_object* v___y_17388_){ _start: { -lean_object* v___x_17350_; lean_object* v_env_17351_; uint8_t v___x_17352_; -v___x_17350_ = lean_st_ref_get(v___y_17348_); -v_env_17351_ = lean_ctor_get(v___x_17350_, 0); -lean_inc_ref(v_env_17351_); -lean_dec(v___x_17350_); -v___x_17352_ = l_Lean_Name_isAnonymous(v_declHint_17347_); -if (v___x_17352_ == 0) +lean_object* v___x_17390_; lean_object* v_env_17391_; uint8_t v___x_17392_; +v___x_17390_ = lean_st_ref_get(v___y_17388_); +v_env_17391_ = lean_ctor_get(v___x_17390_, 0); +lean_inc_ref(v_env_17391_); +lean_dec(v___x_17390_); +v___x_17392_ = l_Lean_Name_isAnonymous(v_declHint_17387_); +if (v___x_17392_ == 0) { -uint8_t v_isExporting_17353_; -v_isExporting_17353_ = lean_ctor_get_uint8(v_env_17351_, sizeof(void*)*8); -if (v_isExporting_17353_ == 0) +uint8_t v_isExporting_17393_; +v_isExporting_17393_ = lean_ctor_get_uint8(v_env_17391_, sizeof(void*)*8); +if (v_isExporting_17393_ == 0) { -lean_object* v___x_17354_; -lean_dec_ref(v_env_17351_); -lean_dec(v_declHint_17347_); -v___x_17354_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17354_, 0, v_msg_17346_); -return v___x_17354_; +lean_object* v___x_17394_; +lean_dec_ref(v_env_17391_); +lean_dec(v_declHint_17387_); +v___x_17394_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17394_, 0, v_msg_17386_); +return v___x_17394_; } else { -lean_object* v___x_17355_; uint8_t v___x_17356_; -lean_inc_ref(v_env_17351_); -v___x_17355_ = l_Lean_Environment_setExporting(v_env_17351_, v___x_17352_); -lean_inc(v_declHint_17347_); -lean_inc_ref(v___x_17355_); -v___x_17356_ = l_Lean_Environment_contains(v___x_17355_, v_declHint_17347_, v_isExporting_17353_); -if (v___x_17356_ == 0) +lean_object* v___x_17395_; uint8_t v___x_17396_; +lean_inc_ref(v_env_17391_); +v___x_17395_ = l_Lean_Environment_setExporting(v_env_17391_, v___x_17392_); +lean_inc(v_declHint_17387_); +lean_inc_ref(v___x_17395_); +v___x_17396_ = l_Lean_Environment_contains(v___x_17395_, v_declHint_17387_, v_isExporting_17393_); +if (v___x_17396_ == 0) { -lean_object* v___x_17357_; -lean_dec_ref(v___x_17355_); -lean_dec_ref(v_env_17351_); -lean_dec(v_declHint_17347_); -v___x_17357_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17357_, 0, v_msg_17346_); -return v___x_17357_; +lean_object* v___x_17397_; +lean_dec_ref(v___x_17395_); +lean_dec_ref(v_env_17391_); +lean_dec(v_declHint_17387_); +v___x_17397_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17397_, 0, v_msg_17386_); +return v___x_17397_; } else { -lean_object* v___x_17358_; lean_object* v___x_17359_; lean_object* v___x_17360_; lean_object* v___x_17361_; lean_object* v___x_17362_; lean_object* v_c_17363_; lean_object* v___x_17364_; -v___x_17358_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2); -v___x_17359_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5); -v___x_17360_ = l_Lean_Options_empty; -v___x_17361_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_17361_, 0, v___x_17355_); -lean_ctor_set(v___x_17361_, 1, v___x_17358_); -lean_ctor_set(v___x_17361_, 2, v___x_17359_); -lean_ctor_set(v___x_17361_, 3, v___x_17360_); -lean_inc(v_declHint_17347_); -v___x_17362_ = l_Lean_MessageData_ofConstName(v_declHint_17347_, v___x_17352_); -v_c_17363_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_c_17363_, 0, v___x_17361_); -lean_ctor_set(v_c_17363_, 1, v___x_17362_); -v___x_17364_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_17351_, v_declHint_17347_); -if (lean_obj_tag(v___x_17364_) == 0) +lean_object* v___x_17398_; lean_object* v___x_17399_; lean_object* v___x_17400_; lean_object* v___x_17401_; lean_object* v___x_17402_; lean_object* v_c_17403_; lean_object* v___x_17404_; +v___x_17398_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2); +v___x_17399_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5); +v___x_17400_ = l_Lean_Options_empty; +v___x_17401_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_17401_, 0, v___x_17395_); +lean_ctor_set(v___x_17401_, 1, v___x_17398_); +lean_ctor_set(v___x_17401_, 2, v___x_17399_); +lean_ctor_set(v___x_17401_, 3, v___x_17400_); +lean_inc(v_declHint_17387_); +v___x_17402_ = l_Lean_MessageData_ofConstName(v_declHint_17387_, v___x_17392_); +v_c_17403_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_c_17403_, 0, v___x_17401_); +lean_ctor_set(v_c_17403_, 1, v___x_17402_); +v___x_17404_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_17391_, v_declHint_17387_); +if (lean_obj_tag(v___x_17404_) == 0) { -lean_object* v___x_17365_; lean_object* v___x_17366_; lean_object* v___x_17367_; lean_object* v___x_17368_; lean_object* v___x_17369_; lean_object* v___x_17370_; lean_object* v___x_17371_; -lean_dec_ref(v_env_17351_); -lean_dec(v_declHint_17347_); -v___x_17365_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1); -v___x_17366_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17366_, 0, v___x_17365_); -lean_ctor_set(v___x_17366_, 1, v_c_17363_); -v___x_17367_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3); -v___x_17368_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17368_, 0, v___x_17366_); -lean_ctor_set(v___x_17368_, 1, v___x_17367_); -v___x_17369_ = l_Lean_MessageData_note(v___x_17368_); -v___x_17370_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17370_, 0, v_msg_17346_); -lean_ctor_set(v___x_17370_, 1, v___x_17369_); -v___x_17371_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17371_, 0, v___x_17370_); -return v___x_17371_; +lean_object* v___x_17405_; lean_object* v___x_17406_; lean_object* v___x_17407_; lean_object* v___x_17408_; lean_object* v___x_17409_; lean_object* v___x_17410_; lean_object* v___x_17411_; +lean_dec_ref(v_env_17391_); +lean_dec(v_declHint_17387_); +v___x_17405_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1); +v___x_17406_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17406_, 0, v___x_17405_); +lean_ctor_set(v___x_17406_, 1, v_c_17403_); +v___x_17407_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__3); +v___x_17408_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17408_, 0, v___x_17406_); +lean_ctor_set(v___x_17408_, 1, v___x_17407_); +v___x_17409_ = l_Lean_MessageData_note(v___x_17408_); +v___x_17410_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17410_, 0, v_msg_17386_); +lean_ctor_set(v___x_17410_, 1, v___x_17409_); +v___x_17411_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17411_, 0, v___x_17410_); +return v___x_17411_; } else { -lean_object* v_val_17372_; lean_object* v___x_17374_; uint8_t v_isShared_17375_; uint8_t v_isSharedCheck_17407_; -v_val_17372_ = lean_ctor_get(v___x_17364_, 0); -v_isSharedCheck_17407_ = !lean_is_exclusive(v___x_17364_); -if (v_isSharedCheck_17407_ == 0) +lean_object* v_val_17412_; lean_object* v___x_17414_; uint8_t v_isShared_17415_; uint8_t v_isSharedCheck_17447_; +v_val_17412_ = lean_ctor_get(v___x_17404_, 0); +v_isSharedCheck_17447_ = !lean_is_exclusive(v___x_17404_); +if (v_isSharedCheck_17447_ == 0) { -v___x_17374_ = v___x_17364_; -v_isShared_17375_ = v_isSharedCheck_17407_; -goto v_resetjp_17373_; +v___x_17414_ = v___x_17404_; +v_isShared_17415_ = v_isSharedCheck_17447_; +goto v_resetjp_17413_; } else { -lean_inc(v_val_17372_); -lean_dec(v___x_17364_); -v___x_17374_ = lean_box(0); -v_isShared_17375_ = v_isSharedCheck_17407_; -goto v_resetjp_17373_; +lean_inc(v_val_17412_); +lean_dec(v___x_17404_); +v___x_17414_ = lean_box(0); +v_isShared_17415_ = v_isSharedCheck_17447_; +goto v_resetjp_17413_; } -v_resetjp_17373_: +v_resetjp_17413_: { -lean_object* v___x_17376_; lean_object* v___x_17377_; lean_object* v___x_17378_; lean_object* v_mod_17379_; uint8_t v___x_17380_; -v___x_17376_ = lean_box(0); -v___x_17377_ = l_Lean_Environment_header(v_env_17351_); -lean_dec_ref(v_env_17351_); -v___x_17378_ = l_Lean_EnvironmentHeader_moduleNames(v___x_17377_); -v_mod_17379_ = lean_array_get(v___x_17376_, v___x_17378_, v_val_17372_); -lean_dec(v_val_17372_); -lean_dec_ref(v___x_17378_); -v___x_17380_ = l_Lean_isPrivateName(v_declHint_17347_); -lean_dec(v_declHint_17347_); -if (v___x_17380_ == 0) +lean_object* v___x_17416_; lean_object* v___x_17417_; lean_object* v___x_17418_; lean_object* v_mod_17419_; uint8_t v___x_17420_; +v___x_17416_ = lean_box(0); +v___x_17417_ = l_Lean_Environment_header(v_env_17391_); +lean_dec_ref(v_env_17391_); +v___x_17418_ = l_Lean_EnvironmentHeader_moduleNames(v___x_17417_); +v_mod_17419_ = lean_array_get(v___x_17416_, v___x_17418_, v_val_17412_); +lean_dec(v_val_17412_); +lean_dec_ref(v___x_17418_); +v___x_17420_ = l_Lean_isPrivateName(v_declHint_17387_); +lean_dec(v_declHint_17387_); +if (v___x_17420_ == 0) { -lean_object* v___x_17381_; lean_object* v___x_17382_; lean_object* v___x_17383_; lean_object* v___x_17384_; lean_object* v___x_17385_; lean_object* v___x_17386_; lean_object* v___x_17387_; lean_object* v___x_17388_; lean_object* v___x_17389_; lean_object* v___x_17390_; lean_object* v___x_17392_; -v___x_17381_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5); -v___x_17382_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17382_, 0, v___x_17381_); -lean_ctor_set(v___x_17382_, 1, v_c_17363_); -v___x_17383_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7); -v___x_17384_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17384_, 0, v___x_17382_); -lean_ctor_set(v___x_17384_, 1, v___x_17383_); -v___x_17385_ = l_Lean_MessageData_ofName(v_mod_17379_); -v___x_17386_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17386_, 0, v___x_17384_); -lean_ctor_set(v___x_17386_, 1, v___x_17385_); -v___x_17387_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9); -v___x_17388_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17388_, 0, v___x_17386_); -lean_ctor_set(v___x_17388_, 1, v___x_17387_); -v___x_17389_ = l_Lean_MessageData_note(v___x_17388_); -v___x_17390_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17390_, 0, v_msg_17346_); -lean_ctor_set(v___x_17390_, 1, v___x_17389_); -if (v_isShared_17375_ == 0) +lean_object* v___x_17421_; lean_object* v___x_17422_; lean_object* v___x_17423_; lean_object* v___x_17424_; lean_object* v___x_17425_; lean_object* v___x_17426_; lean_object* v___x_17427_; lean_object* v___x_17428_; lean_object* v___x_17429_; lean_object* v___x_17430_; lean_object* v___x_17432_; +v___x_17421_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__5); +v___x_17422_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17422_, 0, v___x_17421_); +lean_ctor_set(v___x_17422_, 1, v_c_17403_); +v___x_17423_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__7); +v___x_17424_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17424_, 0, v___x_17422_); +lean_ctor_set(v___x_17424_, 1, v___x_17423_); +v___x_17425_ = l_Lean_MessageData_ofName(v_mod_17419_); +v___x_17426_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17426_, 0, v___x_17424_); +lean_ctor_set(v___x_17426_, 1, v___x_17425_); +v___x_17427_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__9); +v___x_17428_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17428_, 0, v___x_17426_); +lean_ctor_set(v___x_17428_, 1, v___x_17427_); +v___x_17429_ = l_Lean_MessageData_note(v___x_17428_); +v___x_17430_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17430_, 0, v_msg_17386_); +lean_ctor_set(v___x_17430_, 1, v___x_17429_); +if (v_isShared_17415_ == 0) { -lean_ctor_set_tag(v___x_17374_, 0); -lean_ctor_set(v___x_17374_, 0, v___x_17390_); -v___x_17392_ = v___x_17374_; -goto v_reusejp_17391_; +lean_ctor_set_tag(v___x_17414_, 0); +lean_ctor_set(v___x_17414_, 0, v___x_17430_); +v___x_17432_ = v___x_17414_; +goto v_reusejp_17431_; } else { -lean_object* v_reuseFailAlloc_17393_; -v_reuseFailAlloc_17393_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17393_, 0, v___x_17390_); -v___x_17392_ = v_reuseFailAlloc_17393_; -goto v_reusejp_17391_; +lean_object* v_reuseFailAlloc_17433_; +v_reuseFailAlloc_17433_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17433_, 0, v___x_17430_); +v___x_17432_ = v_reuseFailAlloc_17433_; +goto v_reusejp_17431_; } -v_reusejp_17391_: +v_reusejp_17431_: { -return v___x_17392_; +return v___x_17432_; } } else { -lean_object* v___x_17394_; lean_object* v___x_17395_; lean_object* v___x_17396_; lean_object* v___x_17397_; lean_object* v___x_17398_; lean_object* v___x_17399_; lean_object* v___x_17400_; lean_object* v___x_17401_; lean_object* v___x_17402_; lean_object* v___x_17403_; lean_object* v___x_17405_; -v___x_17394_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1); -v___x_17395_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17395_, 0, v___x_17394_); -lean_ctor_set(v___x_17395_, 1, v_c_17363_); -v___x_17396_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11); -v___x_17397_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17397_, 0, v___x_17395_); -lean_ctor_set(v___x_17397_, 1, v___x_17396_); -v___x_17398_ = l_Lean_MessageData_ofName(v_mod_17379_); -v___x_17399_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17399_, 0, v___x_17397_); -lean_ctor_set(v___x_17399_, 1, v___x_17398_); -v___x_17400_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13); -v___x_17401_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17401_, 0, v___x_17399_); -lean_ctor_set(v___x_17401_, 1, v___x_17400_); -v___x_17402_ = l_Lean_MessageData_note(v___x_17401_); -v___x_17403_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17403_, 0, v_msg_17346_); -lean_ctor_set(v___x_17403_, 1, v___x_17402_); -if (v_isShared_17375_ == 0) +lean_object* v___x_17434_; lean_object* v___x_17435_; lean_object* v___x_17436_; lean_object* v___x_17437_; lean_object* v___x_17438_; lean_object* v___x_17439_; lean_object* v___x_17440_; lean_object* v___x_17441_; lean_object* v___x_17442_; lean_object* v___x_17443_; lean_object* v___x_17445_; +v___x_17434_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__1); +v___x_17435_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17435_, 0, v___x_17434_); +lean_ctor_set(v___x_17435_, 1, v_c_17403_); +v___x_17436_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__11); +v___x_17437_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17437_, 0, v___x_17435_); +lean_ctor_set(v___x_17437_, 1, v___x_17436_); +v___x_17438_ = l_Lean_MessageData_ofName(v_mod_17419_); +v___x_17439_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17439_, 0, v___x_17437_); +lean_ctor_set(v___x_17439_, 1, v___x_17438_); +v___x_17440_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___closed__13); +v___x_17441_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17441_, 0, v___x_17439_); +lean_ctor_set(v___x_17441_, 1, v___x_17440_); +v___x_17442_ = l_Lean_MessageData_note(v___x_17441_); +v___x_17443_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17443_, 0, v_msg_17386_); +lean_ctor_set(v___x_17443_, 1, v___x_17442_); +if (v_isShared_17415_ == 0) { -lean_ctor_set_tag(v___x_17374_, 0); -lean_ctor_set(v___x_17374_, 0, v___x_17403_); -v___x_17405_ = v___x_17374_; -goto v_reusejp_17404_; +lean_ctor_set_tag(v___x_17414_, 0); +lean_ctor_set(v___x_17414_, 0, v___x_17443_); +v___x_17445_ = v___x_17414_; +goto v_reusejp_17444_; } else { -lean_object* v_reuseFailAlloc_17406_; -v_reuseFailAlloc_17406_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17406_, 0, v___x_17403_); -v___x_17405_ = v_reuseFailAlloc_17406_; -goto v_reusejp_17404_; +lean_object* v_reuseFailAlloc_17446_; +v_reuseFailAlloc_17446_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17446_, 0, v___x_17443_); +v___x_17445_ = v_reuseFailAlloc_17446_; +goto v_reusejp_17444_; } -v_reusejp_17404_: +v_reusejp_17444_: { -return v___x_17405_; +return v___x_17445_; } } } @@ -50396,2088 +50551,1809 @@ return v___x_17405_; } else { -lean_object* v___x_17408_; -lean_dec_ref(v_env_17351_); -lean_dec(v_declHint_17347_); -v___x_17408_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17408_, 0, v_msg_17346_); -return v___x_17408_; +lean_object* v___x_17448_; +lean_dec_ref(v_env_17391_); +lean_dec(v_declHint_17387_); +v___x_17448_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17448_, 0, v_msg_17386_); +return v___x_17448_; } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___boxed(lean_object* v_msg_17409_, lean_object* v_declHint_17410_, lean_object* v___y_17411_, lean_object* v___y_17412_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg___boxed(lean_object* v_msg_17449_, lean_object* v_declHint_17450_, lean_object* v___y_17451_, lean_object* v___y_17452_){ _start: { -lean_object* v_res_17413_; -v_res_17413_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_17409_, v_declHint_17410_, v___y_17411_); -lean_dec(v___y_17411_); -return v_res_17413_; +lean_object* v_res_17453_; +v_res_17453_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_17449_, v_declHint_17450_, v___y_17451_); +lean_dec(v___y_17451_); +return v_res_17453_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(lean_object* v_msg_17414_, lean_object* v_declHint_17415_, lean_object* v___y_17416_, lean_object* v___y_17417_, lean_object* v___y_17418_, lean_object* v___y_17419_, lean_object* v___y_17420_, lean_object* v___y_17421_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(lean_object* v_msg_17454_, lean_object* v_declHint_17455_, lean_object* v___y_17456_, lean_object* v___y_17457_, lean_object* v___y_17458_, lean_object* v___y_17459_, lean_object* v___y_17460_, lean_object* v___y_17461_){ _start: { -lean_object* v___x_17423_; lean_object* v_a_17424_; lean_object* v___x_17426_; uint8_t v_isShared_17427_; uint8_t v_isSharedCheck_17433_; -v___x_17423_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_17414_, v_declHint_17415_, v___y_17421_); -v_a_17424_ = lean_ctor_get(v___x_17423_, 0); -v_isSharedCheck_17433_ = !lean_is_exclusive(v___x_17423_); -if (v_isSharedCheck_17433_ == 0) +lean_object* v___x_17463_; lean_object* v_a_17464_; lean_object* v___x_17466_; uint8_t v_isShared_17467_; uint8_t v_isSharedCheck_17473_; +v___x_17463_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_17454_, v_declHint_17455_, v___y_17461_); +v_a_17464_ = lean_ctor_get(v___x_17463_, 0); +v_isSharedCheck_17473_ = !lean_is_exclusive(v___x_17463_); +if (v_isSharedCheck_17473_ == 0) { -v___x_17426_ = v___x_17423_; -v_isShared_17427_ = v_isSharedCheck_17433_; -goto v_resetjp_17425_; +v___x_17466_ = v___x_17463_; +v_isShared_17467_ = v_isSharedCheck_17473_; +goto v_resetjp_17465_; } else { -lean_inc(v_a_17424_); -lean_dec(v___x_17423_); -v___x_17426_ = lean_box(0); -v_isShared_17427_ = v_isSharedCheck_17433_; -goto v_resetjp_17425_; +lean_inc(v_a_17464_); +lean_dec(v___x_17463_); +v___x_17466_ = lean_box(0); +v_isShared_17467_ = v_isSharedCheck_17473_; +goto v_resetjp_17465_; } -v_resetjp_17425_: +v_resetjp_17465_: { -lean_object* v___x_17428_; lean_object* v___x_17429_; lean_object* v___x_17431_; -v___x_17428_ = l_Lean_unknownIdentifierMessageTag; -v___x_17429_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_17429_, 0, v___x_17428_); -lean_ctor_set(v___x_17429_, 1, v_a_17424_); -if (v_isShared_17427_ == 0) +lean_object* v___x_17468_; lean_object* v___x_17469_; lean_object* v___x_17471_; +v___x_17468_ = l_Lean_unknownIdentifierMessageTag; +v___x_17469_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_17469_, 0, v___x_17468_); +lean_ctor_set(v___x_17469_, 1, v_a_17464_); +if (v_isShared_17467_ == 0) { -lean_ctor_set(v___x_17426_, 0, v___x_17429_); -v___x_17431_ = v___x_17426_; -goto v_reusejp_17430_; +lean_ctor_set(v___x_17466_, 0, v___x_17469_); +v___x_17471_ = v___x_17466_; +goto v_reusejp_17470_; } else { -lean_object* v_reuseFailAlloc_17432_; -v_reuseFailAlloc_17432_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17432_, 0, v___x_17429_); -v___x_17431_ = v_reuseFailAlloc_17432_; -goto v_reusejp_17430_; +lean_object* v_reuseFailAlloc_17472_; +v_reuseFailAlloc_17472_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17472_, 0, v___x_17469_); +v___x_17471_ = v_reuseFailAlloc_17472_; +goto v_reusejp_17470_; } -v_reusejp_17430_: +v_reusejp_17470_: { -return v___x_17431_; +return v___x_17471_; } } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9___boxed(lean_object* v_msg_17434_, lean_object* v_declHint_17435_, lean_object* v___y_17436_, lean_object* v___y_17437_, lean_object* v___y_17438_, lean_object* v___y_17439_, lean_object* v___y_17440_, lean_object* v___y_17441_, lean_object* v___y_17442_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9___boxed(lean_object* v_msg_17474_, lean_object* v_declHint_17475_, lean_object* v___y_17476_, lean_object* v___y_17477_, lean_object* v___y_17478_, lean_object* v___y_17479_, lean_object* v___y_17480_, lean_object* v___y_17481_, lean_object* v___y_17482_){ _start: { -lean_object* v_res_17443_; -v_res_17443_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(v_msg_17434_, v_declHint_17435_, v___y_17436_, v___y_17437_, v___y_17438_, v___y_17439_, v___y_17440_, v___y_17441_); -lean_dec(v___y_17441_); -lean_dec_ref(v___y_17440_); -lean_dec(v___y_17439_); -lean_dec_ref(v___y_17438_); -lean_dec(v___y_17437_); -lean_dec_ref(v___y_17436_); -return v_res_17443_; +lean_object* v_res_17483_; +v_res_17483_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(v_msg_17474_, v_declHint_17475_, v___y_17476_, v___y_17477_, v___y_17478_, v___y_17479_, v___y_17480_, v___y_17481_); +lean_dec(v___y_17481_); +lean_dec_ref(v___y_17480_); +lean_dec(v___y_17479_); +lean_dec_ref(v___y_17478_); +lean_dec(v___y_17477_); +lean_dec_ref(v___y_17476_); +return v_res_17483_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(lean_object* v_ref_17444_, lean_object* v_msg_17445_, lean_object* v_declHint_17446_, lean_object* v___y_17447_, lean_object* v___y_17448_, lean_object* v___y_17449_, lean_object* v___y_17450_, lean_object* v___y_17451_, lean_object* v___y_17452_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(lean_object* v_ref_17484_, lean_object* v_msg_17485_, lean_object* v_declHint_17486_, lean_object* v___y_17487_, lean_object* v___y_17488_, lean_object* v___y_17489_, lean_object* v___y_17490_, lean_object* v___y_17491_, lean_object* v___y_17492_){ _start: { -lean_object* v___x_17454_; lean_object* v_a_17455_; lean_object* v___x_17456_; -v___x_17454_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(v_msg_17445_, v_declHint_17446_, v___y_17447_, v___y_17448_, v___y_17449_, v___y_17450_, v___y_17451_, v___y_17452_); -v_a_17455_ = lean_ctor_get(v___x_17454_, 0); -lean_inc(v_a_17455_); -lean_dec_ref(v___x_17454_); -v___x_17456_ = l_Lean_throwErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__0___redArg(v_ref_17444_, v_a_17455_, v___y_17447_, v___y_17448_, v___y_17449_, v___y_17450_, v___y_17451_, v___y_17452_); -return v___x_17456_; +lean_object* v___x_17494_; lean_object* v_a_17495_; lean_object* v___x_17496_; +v___x_17494_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9(v_msg_17485_, v_declHint_17486_, v___y_17487_, v___y_17488_, v___y_17489_, v___y_17490_, v___y_17491_, v___y_17492_); +v_a_17495_ = lean_ctor_get(v___x_17494_, 0); +lean_inc(v_a_17495_); +lean_dec_ref(v___x_17494_); +v___x_17496_ = l_Lean_throwErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__0___redArg(v_ref_17484_, v_a_17495_, v___y_17487_, v___y_17488_, v___y_17489_, v___y_17490_, v___y_17491_, v___y_17492_); +return v___x_17496_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg___boxed(lean_object* v_ref_17457_, lean_object* v_msg_17458_, lean_object* v_declHint_17459_, lean_object* v___y_17460_, lean_object* v___y_17461_, lean_object* v___y_17462_, lean_object* v___y_17463_, lean_object* v___y_17464_, lean_object* v___y_17465_, lean_object* v___y_17466_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg___boxed(lean_object* v_ref_17497_, lean_object* v_msg_17498_, lean_object* v_declHint_17499_, lean_object* v___y_17500_, lean_object* v___y_17501_, lean_object* v___y_17502_, lean_object* v___y_17503_, lean_object* v___y_17504_, lean_object* v___y_17505_, lean_object* v___y_17506_){ _start: { -lean_object* v_res_17467_; -v_res_17467_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_17457_, v_msg_17458_, v_declHint_17459_, v___y_17460_, v___y_17461_, v___y_17462_, v___y_17463_, v___y_17464_, v___y_17465_); -lean_dec(v___y_17465_); -lean_dec(v___y_17463_); -lean_dec_ref(v___y_17462_); -lean_dec(v___y_17461_); -lean_dec(v_ref_17457_); -return v_res_17467_; +lean_object* v_res_17507_; +v_res_17507_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_17497_, v_msg_17498_, v_declHint_17499_, v___y_17500_, v___y_17501_, v___y_17502_, v___y_17503_, v___y_17504_, v___y_17505_); +lean_dec(v___y_17505_); +lean_dec(v___y_17503_); +lean_dec_ref(v___y_17502_); +lean_dec(v___y_17501_); +lean_dec(v_ref_17497_); +return v_res_17507_; } } static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1(void){ _start: { -lean_object* v___x_17469_; lean_object* v___x_17470_; -v___x_17469_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__0)); -v___x_17470_ = l_Lean_stringToMessageData(v___x_17469_); -return v___x_17470_; +lean_object* v___x_17509_; lean_object* v___x_17510_; +v___x_17509_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__0)); +v___x_17510_ = l_Lean_stringToMessageData(v___x_17509_); +return v___x_17510_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(lean_object* v_ref_17471_, lean_object* v_constName_17472_, lean_object* v___y_17473_, lean_object* v___y_17474_, lean_object* v___y_17475_, lean_object* v___y_17476_, lean_object* v___y_17477_, lean_object* v___y_17478_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(lean_object* v_ref_17511_, lean_object* v_constName_17512_, lean_object* v___y_17513_, lean_object* v___y_17514_, lean_object* v___y_17515_, lean_object* v___y_17516_, lean_object* v___y_17517_, lean_object* v___y_17518_){ _start: { -lean_object* v___x_17480_; uint8_t v___x_17481_; lean_object* v___x_17482_; lean_object* v___x_17483_; lean_object* v___x_17484_; lean_object* v___x_17485_; lean_object* v___x_17486_; -v___x_17480_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1); -v___x_17481_ = 0; -lean_inc(v_constName_17472_); -v___x_17482_ = l_Lean_MessageData_ofConstName(v_constName_17472_, v___x_17481_); -v___x_17483_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17483_, 0, v___x_17480_); -lean_ctor_set(v___x_17483_, 1, v___x_17482_); -v___x_17484_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7); -v___x_17485_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17485_, 0, v___x_17483_); -lean_ctor_set(v___x_17485_, 1, v___x_17484_); -v___x_17486_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_17471_, v___x_17485_, v_constName_17472_, v___y_17473_, v___y_17474_, v___y_17475_, v___y_17476_, v___y_17477_, v___y_17478_); -return v___x_17486_; +lean_object* v___x_17520_; uint8_t v___x_17521_; lean_object* v___x_17522_; lean_object* v___x_17523_; lean_object* v___x_17524_; lean_object* v___x_17525_; lean_object* v___x_17526_; +v___x_17520_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___closed__1); +v___x_17521_ = 0; +lean_inc(v_constName_17512_); +v___x_17522_ = l_Lean_MessageData_ofConstName(v_constName_17512_, v___x_17521_); +v___x_17523_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17523_, 0, v___x_17520_); +lean_ctor_set(v___x_17523_, 1, v___x_17522_); +v___x_17524_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo___redArg___closed__7); +v___x_17525_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17525_, 0, v___x_17523_); +lean_ctor_set(v___x_17525_, 1, v___x_17524_); +v___x_17526_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_17511_, v___x_17525_, v_constName_17512_, v___y_17513_, v___y_17514_, v___y_17515_, v___y_17516_, v___y_17517_, v___y_17518_); +return v___x_17526_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___boxed(lean_object* v_ref_17487_, lean_object* v_constName_17488_, lean_object* v___y_17489_, lean_object* v___y_17490_, lean_object* v___y_17491_, lean_object* v___y_17492_, lean_object* v___y_17493_, lean_object* v___y_17494_, lean_object* v___y_17495_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg___boxed(lean_object* v_ref_17527_, lean_object* v_constName_17528_, lean_object* v___y_17529_, lean_object* v___y_17530_, lean_object* v___y_17531_, lean_object* v___y_17532_, lean_object* v___y_17533_, lean_object* v___y_17534_, lean_object* v___y_17535_){ _start: { -lean_object* v_res_17496_; -v_res_17496_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17487_, v_constName_17488_, v___y_17489_, v___y_17490_, v___y_17491_, v___y_17492_, v___y_17493_, v___y_17494_); -lean_dec(v___y_17494_); -lean_dec(v___y_17492_); -lean_dec_ref(v___y_17491_); -lean_dec(v___y_17490_); -lean_dec(v_ref_17487_); -return v_res_17496_; +lean_object* v_res_17536_; +v_res_17536_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17527_, v_constName_17528_, v___y_17529_, v___y_17530_, v___y_17531_, v___y_17532_, v___y_17533_, v___y_17534_); +lean_dec(v___y_17534_); +lean_dec(v___y_17532_); +lean_dec_ref(v___y_17531_); +lean_dec(v___y_17530_); +lean_dec(v_ref_17527_); +return v_res_17536_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(lean_object* v_constName_17497_, lean_object* v___y_17498_, lean_object* v___y_17499_, lean_object* v___y_17500_, lean_object* v___y_17501_, lean_object* v___y_17502_, lean_object* v___y_17503_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(lean_object* v_constName_17537_, lean_object* v___y_17538_, lean_object* v___y_17539_, lean_object* v___y_17540_, lean_object* v___y_17541_, lean_object* v___y_17542_, lean_object* v___y_17543_){ _start: { -lean_object* v_ref_17505_; lean_object* v___x_17506_; -v_ref_17505_ = lean_ctor_get(v___y_17502_, 5); -lean_inc(v_ref_17505_); -v___x_17506_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17505_, v_constName_17497_, v___y_17498_, v___y_17499_, v___y_17500_, v___y_17501_, v___y_17502_, v___y_17503_); -lean_dec(v_ref_17505_); -return v___x_17506_; +lean_object* v_ref_17545_; lean_object* v___x_17546_; +v_ref_17545_ = lean_ctor_get(v___y_17542_, 5); +lean_inc(v_ref_17545_); +v___x_17546_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17545_, v_constName_17537_, v___y_17538_, v___y_17539_, v___y_17540_, v___y_17541_, v___y_17542_, v___y_17543_); +lean_dec(v_ref_17545_); +return v___x_17546_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg___boxed(lean_object* v_constName_17507_, lean_object* v___y_17508_, lean_object* v___y_17509_, lean_object* v___y_17510_, lean_object* v___y_17511_, lean_object* v___y_17512_, lean_object* v___y_17513_, lean_object* v___y_17514_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg___boxed(lean_object* v_constName_17547_, lean_object* v___y_17548_, lean_object* v___y_17549_, lean_object* v___y_17550_, lean_object* v___y_17551_, lean_object* v___y_17552_, lean_object* v___y_17553_, lean_object* v___y_17554_){ _start: { -lean_object* v_res_17515_; -v_res_17515_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17507_, v___y_17508_, v___y_17509_, v___y_17510_, v___y_17511_, v___y_17512_, v___y_17513_); -lean_dec(v___y_17513_); -lean_dec(v___y_17511_); -lean_dec_ref(v___y_17510_); -lean_dec(v___y_17509_); -return v_res_17515_; +lean_object* v_res_17555_; +v_res_17555_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17547_, v___y_17548_, v___y_17549_, v___y_17550_, v___y_17551_, v___y_17552_, v___y_17553_); +lean_dec(v___y_17553_); +lean_dec(v___y_17551_); +lean_dec_ref(v___y_17550_); +lean_dec(v___y_17549_); +return v_res_17555_; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0(lean_object* v_constName_17516_, lean_object* v___y_17517_, lean_object* v___y_17518_, lean_object* v___y_17519_, lean_object* v___y_17520_, lean_object* v___y_17521_, lean_object* v___y_17522_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0(lean_object* v_constName_17556_, lean_object* v___y_17557_, lean_object* v___y_17558_, lean_object* v___y_17559_, lean_object* v___y_17560_, lean_object* v___y_17561_, lean_object* v___y_17562_){ _start: { -lean_object* v___x_17524_; lean_object* v_env_17525_; uint8_t v___x_17526_; lean_object* v___x_17527_; -v___x_17524_ = lean_st_ref_get(v___y_17522_); -v_env_17525_ = lean_ctor_get(v___x_17524_, 0); -lean_inc_ref(v_env_17525_); -lean_dec(v___x_17524_); -v___x_17526_ = 0; -lean_inc(v_constName_17516_); -v___x_17527_ = l_Lean_Environment_find_x3f(v_env_17525_, v_constName_17516_, v___x_17526_); -if (lean_obj_tag(v___x_17527_) == 0) +lean_object* v___x_17564_; lean_object* v_env_17565_; uint8_t v___x_17566_; lean_object* v___x_17567_; +v___x_17564_ = lean_st_ref_get(v___y_17562_); +v_env_17565_ = lean_ctor_get(v___x_17564_, 0); +lean_inc_ref(v_env_17565_); +lean_dec(v___x_17564_); +v___x_17566_ = 0; +lean_inc(v_constName_17556_); +v___x_17567_ = l_Lean_Environment_find_x3f(v_env_17565_, v_constName_17556_, v___x_17566_); +if (lean_obj_tag(v___x_17567_) == 0) { -lean_object* v___x_17528_; -v___x_17528_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17516_, v___y_17517_, v___y_17518_, v___y_17519_, v___y_17520_, v___y_17521_, v___y_17522_); -return v___x_17528_; +lean_object* v___x_17568_; +v___x_17568_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17556_, v___y_17557_, v___y_17558_, v___y_17559_, v___y_17560_, v___y_17561_, v___y_17562_); +return v___x_17568_; } else { -lean_object* v_val_17529_; lean_object* v___x_17531_; uint8_t v_isShared_17532_; uint8_t v_isSharedCheck_17536_; -lean_dec_ref(v___y_17521_); -lean_dec_ref(v___y_17517_); -lean_dec(v_constName_17516_); -v_val_17529_ = lean_ctor_get(v___x_17527_, 0); -v_isSharedCheck_17536_ = !lean_is_exclusive(v___x_17527_); -if (v_isSharedCheck_17536_ == 0) +lean_object* v_val_17569_; lean_object* v___x_17571_; uint8_t v_isShared_17572_; uint8_t v_isSharedCheck_17576_; +lean_dec_ref(v___y_17561_); +lean_dec_ref(v___y_17557_); +lean_dec(v_constName_17556_); +v_val_17569_ = lean_ctor_get(v___x_17567_, 0); +v_isSharedCheck_17576_ = !lean_is_exclusive(v___x_17567_); +if (v_isSharedCheck_17576_ == 0) { -v___x_17531_ = v___x_17527_; -v_isShared_17532_ = v_isSharedCheck_17536_; -goto v_resetjp_17530_; +v___x_17571_ = v___x_17567_; +v_isShared_17572_ = v_isSharedCheck_17576_; +goto v_resetjp_17570_; } else { -lean_inc(v_val_17529_); -lean_dec(v___x_17527_); -v___x_17531_ = lean_box(0); -v_isShared_17532_ = v_isSharedCheck_17536_; -goto v_resetjp_17530_; +lean_inc(v_val_17569_); +lean_dec(v___x_17567_); +v___x_17571_ = lean_box(0); +v_isShared_17572_ = v_isSharedCheck_17576_; +goto v_resetjp_17570_; } -v_resetjp_17530_: +v_resetjp_17570_: { -lean_object* v___x_17534_; -if (v_isShared_17532_ == 0) +lean_object* v___x_17574_; +if (v_isShared_17572_ == 0) { -lean_ctor_set_tag(v___x_17531_, 0); -v___x_17534_ = v___x_17531_; -goto v_reusejp_17533_; +lean_ctor_set_tag(v___x_17571_, 0); +v___x_17574_ = v___x_17571_; +goto v_reusejp_17573_; } else { -lean_object* v_reuseFailAlloc_17535_; -v_reuseFailAlloc_17535_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17535_, 0, v_val_17529_); -v___x_17534_ = v_reuseFailAlloc_17535_; -goto v_reusejp_17533_; +lean_object* v_reuseFailAlloc_17575_; +v_reuseFailAlloc_17575_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17575_, 0, v_val_17569_); +v___x_17574_ = v_reuseFailAlloc_17575_; +goto v_reusejp_17573_; } -v_reusejp_17533_: +v_reusejp_17573_: { -return v___x_17534_; +return v___x_17574_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0___boxed(lean_object* v_constName_17537_, lean_object* v___y_17538_, lean_object* v___y_17539_, lean_object* v___y_17540_, lean_object* v___y_17541_, lean_object* v___y_17542_, lean_object* v___y_17543_, lean_object* v___y_17544_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0___boxed(lean_object* v_constName_17577_, lean_object* v___y_17578_, lean_object* v___y_17579_, lean_object* v___y_17580_, lean_object* v___y_17581_, lean_object* v___y_17582_, lean_object* v___y_17583_, lean_object* v___y_17584_){ _start: { -lean_object* v_res_17545_; -v_res_17545_ = l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0(v_constName_17537_, v___y_17538_, v___y_17539_, v___y_17540_, v___y_17541_, v___y_17542_, v___y_17543_); -lean_dec(v___y_17543_); -lean_dec(v___y_17541_); -lean_dec_ref(v___y_17540_); -lean_dec(v___y_17539_); -return v_res_17545_; +lean_object* v_res_17585_; +v_res_17585_ = l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0(v_constName_17577_, v___y_17578_, v___y_17579_, v___y_17580_, v___y_17581_, v___y_17582_, v___y_17583_); +lean_dec(v___y_17583_); +lean_dec(v___y_17581_); +lean_dec_ref(v___y_17580_); +lean_dec(v___y_17579_); +return v_res_17585_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__1(lean_object* v_a_17546_, lean_object* v_a_17547_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__1(lean_object* v_a_17586_, lean_object* v_a_17587_){ _start: { -if (lean_obj_tag(v_a_17546_) == 0) +if (lean_obj_tag(v_a_17586_) == 0) { -lean_object* v___x_17548_; -v___x_17548_ = l_List_reverse___redArg(v_a_17547_); -return v___x_17548_; +lean_object* v___x_17588_; +v___x_17588_ = l_List_reverse___redArg(v_a_17587_); +return v___x_17588_; } else { -lean_object* v_head_17549_; lean_object* v_tail_17550_; lean_object* v___x_17552_; uint8_t v_isShared_17553_; uint8_t v_isSharedCheck_17559_; -v_head_17549_ = lean_ctor_get(v_a_17546_, 0); -v_tail_17550_ = lean_ctor_get(v_a_17546_, 1); -v_isSharedCheck_17559_ = !lean_is_exclusive(v_a_17546_); -if (v_isSharedCheck_17559_ == 0) +lean_object* v_head_17589_; lean_object* v_tail_17590_; lean_object* v___x_17592_; uint8_t v_isShared_17593_; uint8_t v_isSharedCheck_17599_; +v_head_17589_ = lean_ctor_get(v_a_17586_, 0); +v_tail_17590_ = lean_ctor_get(v_a_17586_, 1); +v_isSharedCheck_17599_ = !lean_is_exclusive(v_a_17586_); +if (v_isSharedCheck_17599_ == 0) { -v___x_17552_ = v_a_17546_; -v_isShared_17553_ = v_isSharedCheck_17559_; -goto v_resetjp_17551_; +v___x_17592_ = v_a_17586_; +v_isShared_17593_ = v_isSharedCheck_17599_; +goto v_resetjp_17591_; } else { -lean_inc(v_tail_17550_); -lean_inc(v_head_17549_); -lean_dec(v_a_17546_); -v___x_17552_ = lean_box(0); -v_isShared_17553_ = v_isSharedCheck_17559_; -goto v_resetjp_17551_; +lean_inc(v_tail_17590_); +lean_inc(v_head_17589_); +lean_dec(v_a_17586_); +v___x_17592_ = lean_box(0); +v_isShared_17593_ = v_isSharedCheck_17599_; +goto v_resetjp_17591_; } -v_resetjp_17551_: +v_resetjp_17591_: { -lean_object* v___x_17554_; lean_object* v___x_17556_; -v___x_17554_ = l_Lean_mkLevelParam(v_head_17549_); -if (v_isShared_17553_ == 0) +lean_object* v___x_17594_; lean_object* v___x_17596_; +v___x_17594_ = l_Lean_mkLevelParam(v_head_17589_); +if (v_isShared_17593_ == 0) { -lean_ctor_set(v___x_17552_, 1, v_a_17547_); -lean_ctor_set(v___x_17552_, 0, v___x_17554_); -v___x_17556_ = v___x_17552_; -goto v_reusejp_17555_; +lean_ctor_set(v___x_17592_, 1, v_a_17587_); +lean_ctor_set(v___x_17592_, 0, v___x_17594_); +v___x_17596_ = v___x_17592_; +goto v_reusejp_17595_; } else { -lean_object* v_reuseFailAlloc_17558_; -v_reuseFailAlloc_17558_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_17558_, 0, v___x_17554_); -lean_ctor_set(v_reuseFailAlloc_17558_, 1, v_a_17547_); -v___x_17556_ = v_reuseFailAlloc_17558_; -goto v_reusejp_17555_; +lean_object* v_reuseFailAlloc_17598_; +v_reuseFailAlloc_17598_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_17598_, 0, v___x_17594_); +lean_ctor_set(v_reuseFailAlloc_17598_, 1, v_a_17587_); +v___x_17596_ = v_reuseFailAlloc_17598_; +goto v_reusejp_17595_; } -v_reusejp_17555_: +v_reusejp_17595_: { -v_a_17546_ = v_tail_17550_; -v_a_17547_ = v___x_17556_; +v_a_17586_ = v_tail_17590_; +v_a_17587_ = v___x_17596_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0(lean_object* v_a_17560_, lean_object* v_declName_17561_, lean_object* v_a_17562_, uint8_t v___x_17563_, lean_object* v_xs_17564_, lean_object* v_x_17565_, lean_object* v___y_17566_, lean_object* v___y_17567_, lean_object* v___y_17568_, lean_object* v___y_17569_, lean_object* v___y_17570_, lean_object* v___y_17571_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0(lean_object* v_a_17600_, lean_object* v_declName_17601_, lean_object* v_a_17602_, uint8_t v___x_17603_, lean_object* v_xs_17604_, lean_object* v_x_17605_, lean_object* v___y_17606_, lean_object* v___y_17607_, lean_object* v___y_17608_, lean_object* v___y_17609_, lean_object* v___y_17610_, lean_object* v___y_17611_){ _start: { -lean_object* v___x_17573_; lean_object* v___x_17574_; lean_object* v___x_17575_; lean_object* v___x_17576_; lean_object* v___x_17577_; lean_object* v___x_17578_; lean_object* v___x_17579_; -v___x_17573_ = l_Lean_ConstantInfo_levelParams(v_a_17560_); -v___x_17574_ = lean_box(0); -v___x_17575_ = l_List_mapTR_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__1(v___x_17573_, v___x_17574_); -v___x_17576_ = l_Lean_Expr_const___override(v_declName_17561_, v___x_17575_); -v___x_17577_ = l_Lean_mkAppN(v___x_17576_, v_xs_17564_); -v___x_17578_ = lean_box(0); -v___x_17579_ = l_Lean_Elab_Term_processDefDeriving(v_a_17562_, v___x_17577_, v___x_17563_, v___x_17578_, v___y_17566_, v___y_17567_, v___y_17568_, v___y_17569_, v___y_17570_, v___y_17571_); -return v___x_17579_; +lean_object* v___x_17613_; lean_object* v___x_17614_; lean_object* v___x_17615_; lean_object* v___x_17616_; lean_object* v___x_17617_; lean_object* v___x_17618_; lean_object* v___x_17619_; +v___x_17613_ = l_Lean_ConstantInfo_levelParams(v_a_17600_); +v___x_17614_ = lean_box(0); +v___x_17615_ = l_List_mapTR_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__1(v___x_17613_, v___x_17614_); +v___x_17616_ = l_Lean_Expr_const___override(v_declName_17601_, v___x_17615_); +v___x_17617_ = l_Lean_mkAppN(v___x_17616_, v_xs_17604_); +v___x_17618_ = lean_box(0); +v___x_17619_ = l_Lean_Elab_Term_processDefDeriving(v_a_17602_, v___x_17617_, v___x_17603_, v___x_17618_, v___y_17606_, v___y_17607_, v___y_17608_, v___y_17609_, v___y_17610_, v___y_17611_); +return v___x_17619_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0___boxed(lean_object* v_a_17580_, lean_object* v_declName_17581_, lean_object* v_a_17582_, lean_object* v___x_17583_, lean_object* v_xs_17584_, lean_object* v_x_17585_, lean_object* v___y_17586_, lean_object* v___y_17587_, lean_object* v___y_17588_, lean_object* v___y_17589_, lean_object* v___y_17590_, lean_object* v___y_17591_, lean_object* v___y_17592_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0___boxed(lean_object* v_a_17620_, lean_object* v_declName_17621_, lean_object* v_a_17622_, lean_object* v___x_17623_, lean_object* v_xs_17624_, lean_object* v_x_17625_, lean_object* v___y_17626_, lean_object* v___y_17627_, lean_object* v___y_17628_, lean_object* v___y_17629_, lean_object* v___y_17630_, lean_object* v___y_17631_, lean_object* v___y_17632_){ _start: { -uint8_t v___x_9384__boxed_17593_; lean_object* v_res_17594_; -v___x_9384__boxed_17593_ = lean_unbox(v___x_17583_); -v_res_17594_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0(v_a_17580_, v_declName_17581_, v_a_17582_, v___x_9384__boxed_17593_, v_xs_17584_, v_x_17585_, v___y_17586_, v___y_17587_, v___y_17588_, v___y_17589_, v___y_17590_, v___y_17591_); -lean_dec_ref(v_x_17585_); -lean_dec_ref(v_xs_17584_); -lean_dec_ref(v_a_17580_); -return v_res_17594_; +uint8_t v___x_9384__boxed_17633_; lean_object* v_res_17634_; +v___x_9384__boxed_17633_ = lean_unbox(v___x_17623_); +v_res_17634_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0(v_a_17620_, v_declName_17621_, v_a_17622_, v___x_9384__boxed_17633_, v_xs_17624_, v_x_17625_, v___y_17626_, v___y_17627_, v___y_17628_, v___y_17629_, v___y_17630_, v___y_17631_); +lean_dec_ref(v_x_17625_); +lean_dec_ref(v_xs_17624_); +lean_dec_ref(v_a_17620_); +return v_res_17634_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1(lean_object* v___x_17595_, uint8_t v___x_17596_, lean_object* v_declName_17597_, lean_object* v_a_17598_, lean_object* v___y_17599_, lean_object* v___y_17600_, lean_object* v___y_17601_, lean_object* v___y_17602_, lean_object* v___y_17603_, lean_object* v___y_17604_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1(lean_object* v___x_17635_, uint8_t v___x_17636_, lean_object* v_declName_17637_, lean_object* v_a_17638_, lean_object* v___y_17639_, lean_object* v___y_17640_, lean_object* v___y_17641_, lean_object* v___y_17642_, lean_object* v___y_17643_, lean_object* v___y_17644_){ _start: { -lean_object* v___x_17606_; -lean_inc(v___y_17604_); -lean_inc_ref(v___y_17603_); -lean_inc(v___y_17602_); -lean_inc_ref(v___y_17601_); -lean_inc(v___y_17600_); -lean_inc_ref(v___y_17599_); -v___x_17606_ = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(v___x_17595_, v___x_17596_, v___y_17599_, v___y_17600_, v___y_17601_, v___y_17602_, v___y_17603_, v___y_17604_); -if (lean_obj_tag(v___x_17606_) == 0) +lean_object* v___x_17646_; +lean_inc(v___y_17644_); +lean_inc_ref(v___y_17643_); +lean_inc(v___y_17642_); +lean_inc_ref(v___y_17641_); +lean_inc(v___y_17640_); +lean_inc_ref(v___y_17639_); +v___x_17646_ = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(v___x_17635_, v___x_17636_, v___y_17639_, v___y_17640_, v___y_17641_, v___y_17642_, v___y_17643_, v___y_17644_); +if (lean_obj_tag(v___x_17646_) == 0) { -lean_object* v_a_17607_; uint8_t v___x_17608_; lean_object* v___x_17609_; lean_object* v___f_17610_; lean_object* v___x_17611_; lean_object* v___x_17612_; -v_a_17607_ = lean_ctor_get(v___x_17606_, 0); -lean_inc(v_a_17607_); -lean_dec_ref(v___x_17606_); -v___x_17608_ = 0; -v___x_17609_ = lean_box(v___x_17608_); -lean_inc(v_a_17607_); -v___f_17610_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0___boxed), 13, 4); -lean_closure_set(v___f_17610_, 0, v_a_17607_); -lean_closure_set(v___f_17610_, 1, v_declName_17597_); -lean_closure_set(v___f_17610_, 2, v_a_17598_); -lean_closure_set(v___f_17610_, 3, v___x_17609_); -v___x_17611_ = l_Lean_ConstantInfo_value_x21(v_a_17607_, v___x_17608_); -lean_dec(v_a_17607_); -v___x_17612_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v___x_17611_, v___f_17610_, v___x_17608_, v___y_17599_, v___y_17600_, v___y_17601_, v___y_17602_, v___y_17603_, v___y_17604_); -return v___x_17612_; +lean_object* v_a_17647_; uint8_t v___x_17648_; lean_object* v___x_17649_; lean_object* v___f_17650_; lean_object* v___x_17651_; lean_object* v___x_17652_; +v_a_17647_ = lean_ctor_get(v___x_17646_, 0); +lean_inc(v_a_17647_); +lean_dec_ref(v___x_17646_); +v___x_17648_ = 0; +v___x_17649_ = lean_box(v___x_17648_); +lean_inc(v_a_17647_); +v___f_17650_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__0___boxed), 13, 4); +lean_closure_set(v___f_17650_, 0, v_a_17647_); +lean_closure_set(v___f_17650_, 1, v_declName_17637_); +lean_closure_set(v___f_17650_, 2, v_a_17638_); +lean_closure_set(v___f_17650_, 3, v___x_17649_); +v___x_17651_ = l_Lean_ConstantInfo_value_x21(v_a_17647_, v___x_17648_); +lean_dec(v_a_17647_); +v___x_17652_ = l_Lean_Meta_lambdaTelescope___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__2___redArg(v___x_17651_, v___f_17650_, v___x_17648_, v___y_17639_, v___y_17640_, v___y_17641_, v___y_17642_, v___y_17643_, v___y_17644_); +return v___x_17652_; } else { -lean_object* v_a_17613_; lean_object* v___x_17615_; uint8_t v_isShared_17616_; uint8_t v_isSharedCheck_17620_; -lean_dec(v___y_17604_); -lean_dec_ref(v___y_17603_); -lean_dec(v___y_17602_); -lean_dec_ref(v___y_17601_); -lean_dec(v___y_17600_); -lean_dec_ref(v___y_17599_); -lean_dec_ref(v_a_17598_); -lean_dec(v_declName_17597_); -v_a_17613_ = lean_ctor_get(v___x_17606_, 0); -v_isSharedCheck_17620_ = !lean_is_exclusive(v___x_17606_); -if (v_isSharedCheck_17620_ == 0) +lean_object* v_a_17653_; lean_object* v___x_17655_; uint8_t v_isShared_17656_; uint8_t v_isSharedCheck_17660_; +lean_dec(v___y_17644_); +lean_dec_ref(v___y_17643_); +lean_dec(v___y_17642_); +lean_dec_ref(v___y_17641_); +lean_dec(v___y_17640_); +lean_dec_ref(v___y_17639_); +lean_dec_ref(v_a_17638_); +lean_dec(v_declName_17637_); +v_a_17653_ = lean_ctor_get(v___x_17646_, 0); +v_isSharedCheck_17660_ = !lean_is_exclusive(v___x_17646_); +if (v_isSharedCheck_17660_ == 0) { -v___x_17615_ = v___x_17606_; -v_isShared_17616_ = v_isSharedCheck_17620_; -goto v_resetjp_17614_; +v___x_17655_ = v___x_17646_; +v_isShared_17656_ = v_isSharedCheck_17660_; +goto v_resetjp_17654_; } else { -lean_inc(v_a_17613_); -lean_dec(v___x_17606_); -v___x_17615_ = lean_box(0); -v_isShared_17616_ = v_isSharedCheck_17620_; -goto v_resetjp_17614_; +lean_inc(v_a_17653_); +lean_dec(v___x_17646_); +v___x_17655_ = lean_box(0); +v_isShared_17656_ = v_isSharedCheck_17660_; +goto v_resetjp_17654_; } -v_resetjp_17614_: +v_resetjp_17654_: { -lean_object* v___x_17618_; -if (v_isShared_17616_ == 0) +lean_object* v___x_17658_; +if (v_isShared_17656_ == 0) { -v___x_17618_ = v___x_17615_; -goto v_reusejp_17617_; +v___x_17658_ = v___x_17655_; +goto v_reusejp_17657_; } else { -lean_object* v_reuseFailAlloc_17619_; -v_reuseFailAlloc_17619_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17619_, 0, v_a_17613_); -v___x_17618_ = v_reuseFailAlloc_17619_; -goto v_reusejp_17617_; +lean_object* v_reuseFailAlloc_17659_; +v_reuseFailAlloc_17659_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17659_, 0, v_a_17653_); +v___x_17658_ = v_reuseFailAlloc_17659_; +goto v_reusejp_17657_; } -v_reusejp_17617_: +v_reusejp_17657_: { -return v___x_17618_; +return v___x_17658_; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1___boxed(lean_object* v___x_17621_, lean_object* v___x_17622_, lean_object* v_declName_17623_, lean_object* v_a_17624_, lean_object* v___y_17625_, lean_object* v___y_17626_, lean_object* v___y_17627_, lean_object* v___y_17628_, lean_object* v___y_17629_, lean_object* v___y_17630_, lean_object* v___y_17631_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1___boxed(lean_object* v___x_17661_, lean_object* v___x_17662_, lean_object* v_declName_17663_, lean_object* v_a_17664_, lean_object* v___y_17665_, lean_object* v___y_17666_, lean_object* v___y_17667_, lean_object* v___y_17668_, lean_object* v___y_17669_, lean_object* v___y_17670_, lean_object* v___y_17671_){ _start: { -uint8_t v___x_9430__boxed_17632_; lean_object* v_res_17633_; -v___x_9430__boxed_17632_ = lean_unbox(v___x_17622_); -v_res_17633_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1(v___x_17621_, v___x_9430__boxed_17632_, v_declName_17623_, v_a_17624_, v___y_17625_, v___y_17626_, v___y_17627_, v___y_17628_, v___y_17629_, v___y_17630_); -return v_res_17633_; +uint8_t v___x_9430__boxed_17672_; lean_object* v_res_17673_; +v___x_9430__boxed_17672_ = lean_unbox(v___x_17662_); +v_res_17673_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1(v___x_17661_, v___x_9430__boxed_17672_, v_declName_17663_, v_a_17664_, v___y_17665_, v___y_17666_, v___y_17667_, v___y_17668_, v___y_17669_, v___y_17670_); +return v_res_17673_; } } -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(lean_object* v_msgData_17634_, uint8_t v_severity_17635_, uint8_t v_isSilent_17636_, lean_object* v___y_17637_, lean_object* v___y_17638_, lean_object* v___y_17639_, lean_object* v___y_17640_){ +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(lean_object* v_msgData_17674_, uint8_t v_severity_17675_, uint8_t v_isSilent_17676_, lean_object* v___y_17677_, lean_object* v___y_17678_, lean_object* v___y_17679_, lean_object* v___y_17680_){ _start: { -lean_object* v_ref_17642_; lean_object* v___x_17643_; -v_ref_17642_ = lean_ctor_get(v___y_17639_, 5); -lean_inc(v_ref_17642_); -v___x_17643_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_ref_17642_, v_msgData_17634_, v_severity_17635_, v_isSilent_17636_, v___y_17637_, v___y_17638_, v___y_17639_, v___y_17640_); -lean_dec(v_ref_17642_); -return v___x_17643_; +lean_object* v_ref_17682_; lean_object* v___x_17683_; +v_ref_17682_ = lean_ctor_get(v___y_17679_, 5); +lean_inc(v_ref_17682_); +v___x_17683_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_ref_17682_, v_msgData_17674_, v_severity_17675_, v_isSilent_17676_, v___y_17677_, v___y_17678_, v___y_17679_, v___y_17680_); +lean_dec(v_ref_17682_); +return v___x_17683_; } } -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg___boxed(lean_object* v_msgData_17644_, lean_object* v_severity_17645_, lean_object* v_isSilent_17646_, lean_object* v___y_17647_, lean_object* v___y_17648_, lean_object* v___y_17649_, lean_object* v___y_17650_, lean_object* v___y_17651_){ +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg___boxed(lean_object* v_msgData_17684_, lean_object* v_severity_17685_, lean_object* v_isSilent_17686_, lean_object* v___y_17687_, lean_object* v___y_17688_, lean_object* v___y_17689_, lean_object* v___y_17690_, lean_object* v___y_17691_){ _start: { -uint8_t v_severity_boxed_17652_; uint8_t v_isSilent_boxed_17653_; lean_object* v_res_17654_; -v_severity_boxed_17652_ = lean_unbox(v_severity_17645_); -v_isSilent_boxed_17653_ = lean_unbox(v_isSilent_17646_); -v_res_17654_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_17644_, v_severity_boxed_17652_, v_isSilent_boxed_17653_, v___y_17647_, v___y_17648_, v___y_17649_, v___y_17650_); -lean_dec(v___y_17650_); -lean_dec(v___y_17648_); -lean_dec_ref(v___y_17647_); -return v_res_17654_; +uint8_t v_severity_boxed_17692_; uint8_t v_isSilent_boxed_17693_; lean_object* v_res_17694_; +v_severity_boxed_17692_ = lean_unbox(v_severity_17685_); +v_isSilent_boxed_17693_ = lean_unbox(v_isSilent_17686_); +v_res_17694_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_17684_, v_severity_boxed_17692_, v_isSilent_boxed_17693_, v___y_17687_, v___y_17688_, v___y_17689_, v___y_17690_); +lean_dec(v___y_17690_); +lean_dec(v___y_17688_); +lean_dec_ref(v___y_17687_); +return v_res_17694_; } } -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(lean_object* v_msgData_17655_, lean_object* v___y_17656_, lean_object* v___y_17657_, lean_object* v___y_17658_, lean_object* v___y_17659_, lean_object* v___y_17660_, lean_object* v___y_17661_){ +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(lean_object* v_msgData_17695_, lean_object* v___y_17696_, lean_object* v___y_17697_, lean_object* v___y_17698_, lean_object* v___y_17699_, lean_object* v___y_17700_, lean_object* v___y_17701_){ _start: { -uint8_t v___x_17663_; uint8_t v___x_17664_; lean_object* v___x_17665_; -v___x_17663_ = 2; -v___x_17664_ = 0; -v___x_17665_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_17655_, v___x_17663_, v___x_17664_, v___y_17658_, v___y_17659_, v___y_17660_, v___y_17661_); -return v___x_17665_; +uint8_t v___x_17703_; uint8_t v___x_17704_; lean_object* v___x_17705_; +v___x_17703_ = 2; +v___x_17704_ = 0; +v___x_17705_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_17695_, v___x_17703_, v___x_17704_, v___y_17698_, v___y_17699_, v___y_17700_, v___y_17701_); +return v___x_17705_; } } -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6___boxed(lean_object* v_msgData_17666_, lean_object* v___y_17667_, lean_object* v___y_17668_, lean_object* v___y_17669_, lean_object* v___y_17670_, lean_object* v___y_17671_, lean_object* v___y_17672_, lean_object* v___y_17673_){ +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6___boxed(lean_object* v_msgData_17706_, lean_object* v___y_17707_, lean_object* v___y_17708_, lean_object* v___y_17709_, lean_object* v___y_17710_, lean_object* v___y_17711_, lean_object* v___y_17712_, lean_object* v___y_17713_){ _start: { -lean_object* v_res_17674_; -v_res_17674_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(v_msgData_17666_, v___y_17667_, v___y_17668_, v___y_17669_, v___y_17670_, v___y_17671_, v___y_17672_); -lean_dec(v___y_17672_); -lean_dec(v___y_17670_); -lean_dec_ref(v___y_17669_); -lean_dec(v___y_17668_); -lean_dec_ref(v___y_17667_); -return v_res_17674_; +lean_object* v_res_17714_; +v_res_17714_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(v_msgData_17706_, v___y_17707_, v___y_17708_, v___y_17709_, v___y_17710_, v___y_17711_, v___y_17712_); +lean_dec(v___y_17712_); +lean_dec(v___y_17710_); +lean_dec_ref(v___y_17709_); +lean_dec(v___y_17708_); +lean_dec_ref(v___y_17707_); +return v_res_17714_; } } static lean_object* _init_l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1(void){ _start: { -lean_object* v___x_17676_; lean_object* v___x_17677_; -v___x_17676_ = ((lean_object*)(l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__0)); -v___x_17677_ = l_Lean_stringToMessageData(v___x_17676_); -return v___x_17677_; +lean_object* v___x_17716_; lean_object* v___x_17717_; +v___x_17716_ = ((lean_object*)(l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__0)); +v___x_17717_ = l_Lean_stringToMessageData(v___x_17716_); +return v___x_17717_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(lean_object* v_ex_17678_, lean_object* v___y_17679_, lean_object* v___y_17680_, lean_object* v___y_17681_, lean_object* v___y_17682_, lean_object* v___y_17683_, lean_object* v___y_17684_){ +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(lean_object* v_ex_17718_, lean_object* v___y_17719_, lean_object* v___y_17720_, lean_object* v___y_17721_, lean_object* v___y_17722_, lean_object* v___y_17723_, lean_object* v___y_17724_){ _start: { -if (lean_obj_tag(v_ex_17678_) == 0) +if (lean_obj_tag(v_ex_17718_) == 0) { -lean_object* v_ref_17686_; lean_object* v_msg_17687_; lean_object* v___x_17688_; -v_ref_17686_ = lean_ctor_get(v_ex_17678_, 0); -lean_inc(v_ref_17686_); -v_msg_17687_ = lean_ctor_get(v_ex_17678_, 1); -lean_inc_ref(v_msg_17687_); -lean_dec_ref(v_ex_17678_); -v___x_17688_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_17686_, v_msg_17687_, v___y_17681_, v___y_17682_, v___y_17683_, v___y_17684_); -lean_dec(v_ref_17686_); -return v___x_17688_; +lean_object* v_ref_17726_; lean_object* v_msg_17727_; lean_object* v___x_17728_; +v_ref_17726_ = lean_ctor_get(v_ex_17718_, 0); +lean_inc(v_ref_17726_); +v_msg_17727_ = lean_ctor_get(v_ex_17718_, 1); +lean_inc_ref(v_msg_17727_); +lean_dec_ref(v_ex_17718_); +v___x_17728_ = l_Lean_logErrorAt___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__1___redArg(v_ref_17726_, v_msg_17727_, v___y_17721_, v___y_17722_, v___y_17723_, v___y_17724_); +lean_dec(v_ref_17726_); +return v___x_17728_; } else { -lean_object* v_id_17689_; uint8_t v___y_17691_; uint8_t v___x_17713_; -v_id_17689_ = lean_ctor_get(v_ex_17678_, 0); -lean_inc(v_id_17689_); -v___x_17713_ = l_Lean_Elab_isAbortExceptionId(v_id_17689_); -if (v___x_17713_ == 0) +lean_object* v_id_17729_; uint8_t v___y_17731_; uint8_t v___x_17753_; +v_id_17729_ = lean_ctor_get(v_ex_17718_, 0); +lean_inc(v_id_17729_); +v___x_17753_ = l_Lean_Elab_isAbortExceptionId(v_id_17729_); +if (v___x_17753_ == 0) { -uint8_t v___x_17714_; -v___x_17714_ = l_Lean_Exception_isInterrupt(v_ex_17678_); -lean_dec_ref(v_ex_17678_); -v___y_17691_ = v___x_17714_; -goto v___jp_17690_; +uint8_t v___x_17754_; +v___x_17754_ = l_Lean_Exception_isInterrupt(v_ex_17718_); +lean_dec_ref(v_ex_17718_); +v___y_17731_ = v___x_17754_; +goto v___jp_17730_; } else { -lean_dec_ref(v_ex_17678_); -v___y_17691_ = v___x_17713_; -goto v___jp_17690_; +lean_dec_ref(v_ex_17718_); +v___y_17731_ = v___x_17753_; +goto v___jp_17730_; } -v___jp_17690_: +v___jp_17730_: { -if (v___y_17691_ == 0) -{ -lean_object* v___x_17692_; -v___x_17692_ = l_Lean_InternalExceptionId_getName(v_id_17689_); -lean_dec(v_id_17689_); -if (lean_obj_tag(v___x_17692_) == 0) -{ -lean_object* v_a_17693_; lean_object* v___x_17694_; lean_object* v___x_17695_; lean_object* v___x_17696_; lean_object* v___x_17697_; -v_a_17693_ = lean_ctor_get(v___x_17692_, 0); -lean_inc(v_a_17693_); -lean_dec_ref(v___x_17692_); -v___x_17694_ = lean_obj_once(&l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1, &l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1_once, _init_l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1); -v___x_17695_ = l_Lean_MessageData_ofName(v_a_17693_); -v___x_17696_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17696_, 0, v___x_17694_); -lean_ctor_set(v___x_17696_, 1, v___x_17695_); -v___x_17697_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(v___x_17696_, v___y_17679_, v___y_17680_, v___y_17681_, v___y_17682_, v___y_17683_, v___y_17684_); -return v___x_17697_; -} -else -{ -lean_object* v_a_17698_; lean_object* v___x_17700_; uint8_t v_isShared_17701_; uint8_t v_isSharedCheck_17710_; -v_a_17698_ = lean_ctor_get(v___x_17692_, 0); -v_isSharedCheck_17710_ = !lean_is_exclusive(v___x_17692_); -if (v_isSharedCheck_17710_ == 0) -{ -v___x_17700_ = v___x_17692_; -v_isShared_17701_ = v_isSharedCheck_17710_; -goto v_resetjp_17699_; -} -else -{ -lean_inc(v_a_17698_); -lean_dec(v___x_17692_); -v___x_17700_ = lean_box(0); -v_isShared_17701_ = v_isSharedCheck_17710_; -goto v_resetjp_17699_; -} -v_resetjp_17699_: -{ -lean_object* v_ref_17702_; lean_object* v___x_17703_; lean_object* v___x_17704_; lean_object* v___x_17705_; lean_object* v___x_17706_; lean_object* v___x_17708_; -v_ref_17702_ = lean_ctor_get(v___y_17683_, 5); -lean_inc(v_ref_17702_); -lean_dec_ref(v___y_17683_); -v___x_17703_ = lean_io_error_to_string(v_a_17698_); -v___x_17704_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_17704_, 0, v___x_17703_); -v___x_17705_ = l_Lean_MessageData_ofFormat(v___x_17704_); -v___x_17706_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_17706_, 0, v_ref_17702_); -lean_ctor_set(v___x_17706_, 1, v___x_17705_); -if (v_isShared_17701_ == 0) -{ -lean_ctor_set(v___x_17700_, 0, v___x_17706_); -v___x_17708_ = v___x_17700_; -goto v_reusejp_17707_; -} -else -{ -lean_object* v_reuseFailAlloc_17709_; -v_reuseFailAlloc_17709_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17709_, 0, v___x_17706_); -v___x_17708_ = v_reuseFailAlloc_17709_; -goto v_reusejp_17707_; -} -v_reusejp_17707_: -{ -return v___x_17708_; -} -} -} -} -else -{ -lean_object* v___x_17711_; lean_object* v___x_17712_; -lean_dec(v_id_17689_); -lean_dec_ref(v___y_17683_); -v___x_17711_ = lean_box(0); -v___x_17712_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17712_, 0, v___x_17711_); -return v___x_17712_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___boxed(lean_object* v_ex_17715_, lean_object* v___y_17716_, lean_object* v___y_17717_, lean_object* v___y_17718_, lean_object* v___y_17719_, lean_object* v___y_17720_, lean_object* v___y_17721_, lean_object* v___y_17722_){ -_start: -{ -lean_object* v_res_17723_; -v_res_17723_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v_ex_17715_, v___y_17716_, v___y_17717_, v___y_17718_, v___y_17719_, v___y_17720_, v___y_17721_); -lean_dec(v___y_17721_); -lean_dec(v___y_17719_); -lean_dec_ref(v___y_17718_); -lean_dec(v___y_17717_); -lean_dec_ref(v___y_17716_); -return v_res_17723_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(lean_object* v_x_17724_, lean_object* v___y_17725_, lean_object* v___y_17726_, lean_object* v___y_17727_, lean_object* v___y_17728_, lean_object* v___y_17729_, lean_object* v___y_17730_){ -_start: +if (v___y_17731_ == 0) { lean_object* v___x_17732_; -lean_inc(v___y_17730_); -lean_inc_ref(v___y_17729_); -lean_inc(v___y_17728_); -lean_inc_ref(v___y_17727_); -lean_inc(v___y_17726_); -lean_inc_ref(v___y_17725_); -v___x_17732_ = lean_apply_7(v_x_17724_, v___y_17725_, v___y_17726_, v___y_17727_, v___y_17728_, v___y_17729_, v___y_17730_, lean_box(0)); +v___x_17732_ = l_Lean_InternalExceptionId_getName(v_id_17729_); +lean_dec(v_id_17729_); if (lean_obj_tag(v___x_17732_) == 0) { -lean_dec(v___y_17730_); -lean_dec_ref(v___y_17729_); -lean_dec(v___y_17728_); -lean_dec_ref(v___y_17727_); -lean_dec(v___y_17726_); -lean_dec_ref(v___y_17725_); -return v___x_17732_; -} -else -{ -lean_object* v_a_17733_; uint8_t v___y_17735_; uint8_t v___x_17737_; +lean_object* v_a_17733_; lean_object* v___x_17734_; lean_object* v___x_17735_; lean_object* v___x_17736_; lean_object* v___x_17737_; v_a_17733_ = lean_ctor_get(v___x_17732_, 0); lean_inc(v_a_17733_); -v___x_17737_ = l_Lean_Exception_isInterrupt(v_a_17733_); -if (v___x_17737_ == 0) -{ -uint8_t v___x_17738_; -lean_inc(v_a_17733_); -v___x_17738_ = l_Lean_Exception_isRuntime(v_a_17733_); -v___y_17735_ = v___x_17738_; -goto v___jp_17734_; -} -else -{ -v___y_17735_ = v___x_17737_; -goto v___jp_17734_; -} -v___jp_17734_: -{ -if (v___y_17735_ == 0) -{ -lean_object* v___x_17736_; lean_dec_ref(v___x_17732_); -v___x_17736_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v_a_17733_, v___y_17725_, v___y_17726_, v___y_17727_, v___y_17728_, v___y_17729_, v___y_17730_); -lean_dec(v___y_17730_); -lean_dec(v___y_17728_); -lean_dec_ref(v___y_17727_); -lean_dec(v___y_17726_); -lean_dec_ref(v___y_17725_); -return v___x_17736_; +v___x_17734_ = lean_obj_once(&l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1, &l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1_once, _init_l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1); +v___x_17735_ = l_Lean_MessageData_ofName(v_a_17733_); +v___x_17736_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17736_, 0, v___x_17734_); +lean_ctor_set(v___x_17736_, 1, v___x_17735_); +v___x_17737_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6(v___x_17736_, v___y_17719_, v___y_17720_, v___y_17721_, v___y_17722_, v___y_17723_, v___y_17724_); +return v___x_17737_; } else { -lean_dec(v_a_17733_); -lean_dec(v___y_17730_); -lean_dec_ref(v___y_17729_); -lean_dec(v___y_17728_); -lean_dec_ref(v___y_17727_); -lean_dec(v___y_17726_); -lean_dec_ref(v___y_17725_); -return v___x_17732_; +lean_object* v_a_17738_; lean_object* v___x_17740_; uint8_t v_isShared_17741_; uint8_t v_isSharedCheck_17750_; +v_a_17738_ = lean_ctor_get(v___x_17732_, 0); +v_isSharedCheck_17750_ = !lean_is_exclusive(v___x_17732_); +if (v_isSharedCheck_17750_ == 0) +{ +v___x_17740_ = v___x_17732_; +v_isShared_17741_ = v_isSharedCheck_17750_; +goto v_resetjp_17739_; +} +else +{ +lean_inc(v_a_17738_); +lean_dec(v___x_17732_); +v___x_17740_ = lean_box(0); +v_isShared_17741_ = v_isSharedCheck_17750_; +goto v_resetjp_17739_; +} +v_resetjp_17739_: +{ +lean_object* v_ref_17742_; lean_object* v___x_17743_; lean_object* v___x_17744_; lean_object* v___x_17745_; lean_object* v___x_17746_; lean_object* v___x_17748_; +v_ref_17742_ = lean_ctor_get(v___y_17723_, 5); +lean_inc(v_ref_17742_); +lean_dec_ref(v___y_17723_); +v___x_17743_ = lean_io_error_to_string(v_a_17738_); +v___x_17744_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_17744_, 0, v___x_17743_); +v___x_17745_ = l_Lean_MessageData_ofFormat(v___x_17744_); +v___x_17746_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_17746_, 0, v_ref_17742_); +lean_ctor_set(v___x_17746_, 1, v___x_17745_); +if (v_isShared_17741_ == 0) +{ +lean_ctor_set(v___x_17740_, 0, v___x_17746_); +v___x_17748_ = v___x_17740_; +goto v_reusejp_17747_; +} +else +{ +lean_object* v_reuseFailAlloc_17749_; +v_reuseFailAlloc_17749_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17749_, 0, v___x_17746_); +v___x_17748_ = v_reuseFailAlloc_17749_; +goto v_reusejp_17747_; +} +v_reusejp_17747_: +{ +return v___x_17748_; +} +} +} +} +else +{ +lean_object* v___x_17751_; lean_object* v___x_17752_; +lean_dec(v_id_17729_); +lean_dec_ref(v___y_17723_); +v___x_17751_ = lean_box(0); +v___x_17752_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17752_, 0, v___x_17751_); +return v___x_17752_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3___boxed(lean_object* v_x_17739_, lean_object* v___y_17740_, lean_object* v___y_17741_, lean_object* v___y_17742_, lean_object* v___y_17743_, lean_object* v___y_17744_, lean_object* v___y_17745_, lean_object* v___y_17746_){ +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___boxed(lean_object* v_ex_17755_, lean_object* v___y_17756_, lean_object* v___y_17757_, lean_object* v___y_17758_, lean_object* v___y_17759_, lean_object* v___y_17760_, lean_object* v___y_17761_, lean_object* v___y_17762_){ _start: { -lean_object* v_res_17747_; -v_res_17747_ = l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(v_x_17739_, v___y_17740_, v___y_17741_, v___y_17742_, v___y_17743_, v___y_17744_, v___y_17745_); -return v_res_17747_; +lean_object* v_res_17763_; +v_res_17763_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v_ex_17755_, v___y_17756_, v___y_17757_, v___y_17758_, v___y_17759_, v___y_17760_, v___y_17761_); +lean_dec(v___y_17761_); +lean_dec(v___y_17759_); +lean_dec_ref(v___y_17758_); +lean_dec(v___y_17757_); +lean_dec_ref(v___y_17756_); +return v_res_17763_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(lean_object* v_x_17764_, lean_object* v___y_17765_, lean_object* v___y_17766_, lean_object* v___y_17767_, lean_object* v___y_17768_, lean_object* v___y_17769_, lean_object* v___y_17770_){ +_start: +{ +lean_object* v___x_17772_; +lean_inc(v___y_17770_); +lean_inc_ref(v___y_17769_); +lean_inc(v___y_17768_); +lean_inc_ref(v___y_17767_); +lean_inc(v___y_17766_); +lean_inc_ref(v___y_17765_); +v___x_17772_ = lean_apply_7(v_x_17764_, v___y_17765_, v___y_17766_, v___y_17767_, v___y_17768_, v___y_17769_, v___y_17770_, lean_box(0)); +if (lean_obj_tag(v___x_17772_) == 0) +{ +lean_dec(v___y_17770_); +lean_dec_ref(v___y_17769_); +lean_dec(v___y_17768_); +lean_dec_ref(v___y_17767_); +lean_dec(v___y_17766_); +lean_dec_ref(v___y_17765_); +return v___x_17772_; +} +else +{ +lean_object* v_a_17773_; uint8_t v___y_17775_; uint8_t v___x_17777_; +v_a_17773_ = lean_ctor_get(v___x_17772_, 0); +lean_inc(v_a_17773_); +v___x_17777_ = l_Lean_Exception_isInterrupt(v_a_17773_); +if (v___x_17777_ == 0) +{ +uint8_t v___x_17778_; +lean_inc(v_a_17773_); +v___x_17778_ = l_Lean_Exception_isRuntime(v_a_17773_); +v___y_17775_ = v___x_17778_; +goto v___jp_17774_; +} +else +{ +v___y_17775_ = v___x_17777_; +goto v___jp_17774_; +} +v___jp_17774_: +{ +if (v___y_17775_ == 0) +{ +lean_object* v___x_17776_; +lean_dec_ref(v___x_17772_); +v___x_17776_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v_a_17773_, v___y_17765_, v___y_17766_, v___y_17767_, v___y_17768_, v___y_17769_, v___y_17770_); +lean_dec(v___y_17770_); +lean_dec(v___y_17768_); +lean_dec_ref(v___y_17767_); +lean_dec(v___y_17766_); +lean_dec_ref(v___y_17765_); +return v___x_17776_; +} +else +{ +lean_dec(v_a_17773_); +lean_dec(v___y_17770_); +lean_dec_ref(v___y_17769_); +lean_dec(v___y_17768_); +lean_dec_ref(v___y_17767_); +lean_dec(v___y_17766_); +lean_dec_ref(v___y_17765_); +return v___x_17772_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3___boxed(lean_object* v_x_17779_, lean_object* v___y_17780_, lean_object* v___y_17781_, lean_object* v___y_17782_, lean_object* v___y_17783_, lean_object* v___y_17784_, lean_object* v___y_17785_, lean_object* v___y_17786_){ +_start: +{ +lean_object* v_res_17787_; +v_res_17787_ = l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(v_x_17779_, v___y_17780_, v___y_17781_, v___y_17782_, v___y_17783_, v___y_17784_, v___y_17785_); +return v_res_17787_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0(void){ _start: { -lean_object* v___x_17748_; -v___x_17748_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_17748_; +lean_object* v___x_17788_; +v___x_17788_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_17788_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1(void){ _start: { -lean_object* v___x_17749_; lean_object* v___x_17750_; -v___x_17749_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0); -v___x_17750_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17750_, 0, v___x_17749_); -return v___x_17750_; +lean_object* v___x_17789_; lean_object* v___x_17790_; +v___x_17789_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__0); +v___x_17790_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17790_, 0, v___x_17789_); +return v___x_17790_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2(void){ _start: { -lean_object* v___x_17751_; lean_object* v___x_17752_; lean_object* v___x_17753_; lean_object* v___x_17754_; -v___x_17751_ = lean_box(1); -v___x_17752_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4); -v___x_17753_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1); -v___x_17754_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_17754_, 0, v___x_17753_); -lean_ctor_set(v___x_17754_, 1, v___x_17752_); -lean_ctor_set(v___x_17754_, 2, v___x_17751_); -return v___x_17754_; +lean_object* v___x_17791_; lean_object* v___x_17792_; lean_object* v___x_17793_; lean_object* v___x_17794_; +v___x_17791_ = lean_box(1); +v___x_17792_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__4); +v___x_17793_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__1); +v___x_17794_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_17794_, 0, v___x_17793_); +lean_ctor_set(v___x_17794_, 1, v___x_17792_); +lean_ctor_set(v___x_17794_, 2, v___x_17791_); +return v___x_17794_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(lean_object* v_a_17757_, lean_object* v_as_17758_, size_t v_sz_17759_, size_t v_i_17760_, lean_object* v_b_17761_, lean_object* v___y_17762_, lean_object* v___y_17763_, lean_object* v___y_17764_, lean_object* v___y_17765_, lean_object* v___y_17766_, lean_object* v___y_17767_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(lean_object* v_a_17797_, lean_object* v_as_17798_, size_t v_sz_17799_, size_t v_i_17800_, lean_object* v_b_17801_, lean_object* v___y_17802_, lean_object* v___y_17803_, lean_object* v___y_17804_, lean_object* v___y_17805_, lean_object* v___y_17806_, lean_object* v___y_17807_){ _start: { -uint8_t v___x_17769_; -v___x_17769_ = lean_usize_dec_lt(v_i_17760_, v_sz_17759_); -if (v___x_17769_ == 0) -{ -lean_object* v___x_17770_; -lean_dec(v___y_17767_); -lean_dec(v___y_17765_); -lean_dec_ref(v___y_17764_); -lean_dec(v___y_17763_); -lean_dec_ref(v___y_17762_); -lean_dec_ref(v_a_17757_); -v___x_17770_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17770_, 0, v_b_17761_); -return v___x_17770_; -} -else -{ -lean_object* v_a_17771_; lean_object* v___x_17772_; -v_a_17771_ = lean_array_uget_borrowed(v_as_17758_, v_i_17760_); -lean_inc(v_a_17771_); -v___x_17772_ = l_Lean_Elab_DerivingClassView_ofSyntax(v_a_17771_, v___y_17766_, v___y_17767_); -if (lean_obj_tag(v___x_17772_) == 0) -{ -lean_object* v_toDefViewElabHeaderData_17773_; lean_object* v_a_17774_; lean_object* v_declName_17775_; lean_object* v_fileName_17776_; lean_object* v_fileMap_17777_; lean_object* v_options_17778_; lean_object* v_currRecDepth_17779_; lean_object* v_maxRecDepth_17780_; lean_object* v_ref_17781_; lean_object* v_currNamespace_17782_; lean_object* v_openDecls_17783_; lean_object* v_initHeartbeats_17784_; lean_object* v_maxHeartbeats_17785_; lean_object* v_quotContext_17786_; lean_object* v_currMacroScope_17787_; uint8_t v_diag_17788_; lean_object* v_cancelTk_x3f_17789_; uint8_t v_suppressElabErrors_17790_; lean_object* v_inheritedTraceOptions_17791_; lean_object* v___x_17792_; lean_object* v___x_17793_; lean_object* v___x_17794_; lean_object* v___x_17795_; lean_object* v___f_17796_; lean_object* v___x_17797_; lean_object* v_ref_17798_; lean_object* v___x_17799_; lean_object* v___x_17800_; -v_toDefViewElabHeaderData_17773_ = lean_ctor_get(v_a_17757_, 1); -v_a_17774_ = lean_ctor_get(v___x_17772_, 0); -lean_inc(v_a_17774_); -lean_dec_ref(v___x_17772_); -v_declName_17775_ = lean_ctor_get(v_toDefViewElabHeaderData_17773_, 1); -v_fileName_17776_ = lean_ctor_get(v___y_17766_, 0); -v_fileMap_17777_ = lean_ctor_get(v___y_17766_, 1); -v_options_17778_ = lean_ctor_get(v___y_17766_, 2); -v_currRecDepth_17779_ = lean_ctor_get(v___y_17766_, 3); -v_maxRecDepth_17780_ = lean_ctor_get(v___y_17766_, 4); -v_ref_17781_ = lean_ctor_get(v___y_17766_, 5); -v_currNamespace_17782_ = lean_ctor_get(v___y_17766_, 6); -v_openDecls_17783_ = lean_ctor_get(v___y_17766_, 7); -v_initHeartbeats_17784_ = lean_ctor_get(v___y_17766_, 8); -v_maxHeartbeats_17785_ = lean_ctor_get(v___y_17766_, 9); -v_quotContext_17786_ = lean_ctor_get(v___y_17766_, 10); -v_currMacroScope_17787_ = lean_ctor_get(v___y_17766_, 11); -v_diag_17788_ = lean_ctor_get_uint8(v___y_17766_, sizeof(void*)*14); -v_cancelTk_x3f_17789_ = lean_ctor_get(v___y_17766_, 12); -v_suppressElabErrors_17790_ = lean_ctor_get_uint8(v___y_17766_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_17791_ = lean_ctor_get(v___y_17766_, 13); -v___x_17792_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2); -v___x_17793_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__3)); -lean_inc(v_declName_17775_); -v___x_17794_ = lean_alloc_closure((void*)(l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0___boxed), 8, 1); -lean_closure_set(v___x_17794_, 0, v_declName_17775_); -v___x_17795_ = lean_box(v___x_17769_); -lean_inc(v_declName_17775_); -v___f_17796_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1___boxed), 11, 4); -lean_closure_set(v___f_17796_, 0, v___x_17794_); -lean_closure_set(v___f_17796_, 1, v___x_17795_); -lean_closure_set(v___f_17796_, 2, v_declName_17775_); -lean_closure_set(v___f_17796_, 3, v_a_17774_); -v___x_17797_ = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___boxed), 11, 4); -lean_closure_set(v___x_17797_, 0, lean_box(0)); -lean_closure_set(v___x_17797_, 1, v___x_17792_); -lean_closure_set(v___x_17797_, 2, v___x_17793_); -lean_closure_set(v___x_17797_, 3, v___f_17796_); -v_ref_17798_ = l_Lean_replaceRef(v_a_17771_, v_ref_17781_); -lean_inc_ref(v_inheritedTraceOptions_17791_); -lean_inc(v_cancelTk_x3f_17789_); -lean_inc(v_currMacroScope_17787_); -lean_inc(v_quotContext_17786_); -lean_inc(v_maxHeartbeats_17785_); -lean_inc(v_initHeartbeats_17784_); -lean_inc(v_openDecls_17783_); -lean_inc(v_currNamespace_17782_); -lean_inc(v_maxRecDepth_17780_); -lean_inc(v_currRecDepth_17779_); -lean_inc_ref(v_options_17778_); -lean_inc_ref(v_fileMap_17777_); -lean_inc_ref(v_fileName_17776_); -v___x_17799_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_17799_, 0, v_fileName_17776_); -lean_ctor_set(v___x_17799_, 1, v_fileMap_17777_); -lean_ctor_set(v___x_17799_, 2, v_options_17778_); -lean_ctor_set(v___x_17799_, 3, v_currRecDepth_17779_); -lean_ctor_set(v___x_17799_, 4, v_maxRecDepth_17780_); -lean_ctor_set(v___x_17799_, 5, v_ref_17798_); -lean_ctor_set(v___x_17799_, 6, v_currNamespace_17782_); -lean_ctor_set(v___x_17799_, 7, v_openDecls_17783_); -lean_ctor_set(v___x_17799_, 8, v_initHeartbeats_17784_); -lean_ctor_set(v___x_17799_, 9, v_maxHeartbeats_17785_); -lean_ctor_set(v___x_17799_, 10, v_quotContext_17786_); -lean_ctor_set(v___x_17799_, 11, v_currMacroScope_17787_); -lean_ctor_set(v___x_17799_, 12, v_cancelTk_x3f_17789_); -lean_ctor_set(v___x_17799_, 13, v_inheritedTraceOptions_17791_); -lean_ctor_set_uint8(v___x_17799_, sizeof(void*)*14, v_diag_17788_); -lean_ctor_set_uint8(v___x_17799_, sizeof(void*)*14 + 1, v_suppressElabErrors_17790_); -lean_inc(v___y_17767_); -lean_inc(v___y_17765_); -lean_inc_ref(v___y_17764_); -lean_inc(v___y_17763_); -lean_inc_ref(v___y_17762_); -v___x_17800_ = l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(v___x_17797_, v___y_17762_, v___y_17763_, v___y_17764_, v___y_17765_, v___x_17799_, v___y_17767_); -if (lean_obj_tag(v___x_17800_) == 0) -{ -lean_object* v___x_17801_; size_t v___x_17802_; size_t v___x_17803_; -lean_dec_ref(v___x_17800_); -v___x_17801_ = lean_box(0); -v___x_17802_ = ((size_t)1ULL); -v___x_17803_ = lean_usize_add(v_i_17760_, v___x_17802_); -v_i_17760_ = v___x_17803_; -v_b_17761_ = v___x_17801_; -goto _start; -} -else -{ -lean_dec(v___y_17767_); -lean_dec(v___y_17765_); -lean_dec_ref(v___y_17764_); -lean_dec(v___y_17763_); -lean_dec_ref(v___y_17762_); -lean_dec_ref(v_a_17757_); -return v___x_17800_; -} -} -else -{ -lean_object* v_a_17805_; lean_object* v___x_17807_; uint8_t v_isShared_17808_; uint8_t v_isSharedCheck_17812_; -lean_dec(v___y_17767_); -lean_dec(v___y_17765_); -lean_dec_ref(v___y_17764_); -lean_dec(v___y_17763_); -lean_dec_ref(v___y_17762_); -lean_dec_ref(v_a_17757_); -v_a_17805_ = lean_ctor_get(v___x_17772_, 0); -v_isSharedCheck_17812_ = !lean_is_exclusive(v___x_17772_); -if (v_isSharedCheck_17812_ == 0) -{ -v___x_17807_ = v___x_17772_; -v_isShared_17808_ = v_isSharedCheck_17812_; -goto v_resetjp_17806_; -} -else -{ -lean_inc(v_a_17805_); -lean_dec(v___x_17772_); -v___x_17807_ = lean_box(0); -v_isShared_17808_ = v_isSharedCheck_17812_; -goto v_resetjp_17806_; -} -v_resetjp_17806_: +uint8_t v___x_17809_; +v___x_17809_ = lean_usize_dec_lt(v_i_17800_, v_sz_17799_); +if (v___x_17809_ == 0) { lean_object* v___x_17810_; -if (v_isShared_17808_ == 0) -{ -v___x_17810_ = v___x_17807_; -goto v_reusejp_17809_; -} -else -{ -lean_object* v_reuseFailAlloc_17811_; -v_reuseFailAlloc_17811_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17811_, 0, v_a_17805_); -v___x_17810_ = v_reuseFailAlloc_17811_; -goto v_reusejp_17809_; -} -v_reusejp_17809_: -{ +lean_dec(v___y_17807_); +lean_dec(v___y_17805_); +lean_dec_ref(v___y_17804_); +lean_dec(v___y_17803_); +lean_dec_ref(v___y_17802_); +lean_dec_ref(v_a_17797_); +v___x_17810_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17810_, 0, v_b_17801_); return v___x_17810_; } -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___boxed(lean_object* v_a_17813_, lean_object* v_as_17814_, lean_object* v_sz_17815_, lean_object* v_i_17816_, lean_object* v_b_17817_, lean_object* v___y_17818_, lean_object* v___y_17819_, lean_object* v___y_17820_, lean_object* v___y_17821_, lean_object* v___y_17822_, lean_object* v___y_17823_, lean_object* v___y_17824_){ -_start: -{ -size_t v_sz_boxed_17825_; size_t v_i_boxed_17826_; lean_object* v_res_17827_; -v_sz_boxed_17825_ = lean_unbox_usize(v_sz_17815_); -lean_dec(v_sz_17815_); -v_i_boxed_17826_ = lean_unbox_usize(v_i_17816_); -lean_dec(v_i_17816_); -v_res_17827_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(v_a_17813_, v_as_17814_, v_sz_boxed_17825_, v_i_boxed_17826_, v_b_17817_, v___y_17818_, v___y_17819_, v___y_17820_, v___y_17821_, v___y_17822_, v___y_17823_); -lean_dec_ref(v___y_17822_); -lean_dec_ref(v_as_17814_); -return v_res_17827_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(lean_object* v_as_17828_, size_t v_sz_17829_, size_t v_i_17830_, lean_object* v_b_17831_, lean_object* v___y_17832_, lean_object* v___y_17833_, lean_object* v___y_17834_, lean_object* v___y_17835_, lean_object* v___y_17836_, lean_object* v___y_17837_){ -_start: -{ -lean_object* v_a_17840_; uint8_t v___x_17844_; -v___x_17844_ = lean_usize_dec_lt(v_i_17830_, v_sz_17829_); -if (v___x_17844_ == 0) -{ -lean_object* v___x_17845_; -lean_dec(v___y_17837_); -lean_dec(v___y_17835_); -lean_dec_ref(v___y_17834_); -lean_dec(v___y_17833_); -lean_dec_ref(v___y_17832_); -v___x_17845_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17845_, 0, v_b_17831_); -return v___x_17845_; -} else { -lean_object* v_array_17846_; lean_object* v_start_17847_; lean_object* v_stop_17848_; uint8_t v___x_17849_; -v_array_17846_ = lean_ctor_get(v_b_17831_, 0); -v_start_17847_ = lean_ctor_get(v_b_17831_, 1); -v_stop_17848_ = lean_ctor_get(v_b_17831_, 2); -v___x_17849_ = lean_nat_dec_lt(v_start_17847_, v_stop_17848_); -if (v___x_17849_ == 0) +lean_object* v_a_17811_; lean_object* v___x_17812_; +v_a_17811_ = lean_array_uget_borrowed(v_as_17798_, v_i_17800_); +lean_inc(v_a_17811_); +v___x_17812_ = l_Lean_Elab_DerivingClassView_ofSyntax(v_a_17811_, v___y_17806_, v___y_17807_); +if (lean_obj_tag(v___x_17812_) == 0) { -lean_object* v___x_17850_; -lean_dec(v___y_17837_); -lean_dec(v___y_17835_); -lean_dec_ref(v___y_17834_); -lean_dec(v___y_17833_); -lean_dec_ref(v___y_17832_); -v___x_17850_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17850_, 0, v_b_17831_); -return v___x_17850_; -} -else +lean_object* v_toDefViewElabHeaderData_17813_; lean_object* v_a_17814_; lean_object* v_declName_17815_; lean_object* v_fileName_17816_; lean_object* v_fileMap_17817_; lean_object* v_options_17818_; lean_object* v_currRecDepth_17819_; lean_object* v_maxRecDepth_17820_; lean_object* v_ref_17821_; lean_object* v_currNamespace_17822_; lean_object* v_openDecls_17823_; lean_object* v_initHeartbeats_17824_; lean_object* v_maxHeartbeats_17825_; lean_object* v_quotContext_17826_; lean_object* v_currMacroScope_17827_; uint8_t v_diag_17828_; lean_object* v_cancelTk_x3f_17829_; uint8_t v_suppressElabErrors_17830_; lean_object* v_inheritedTraceOptions_17831_; lean_object* v___x_17832_; lean_object* v___x_17833_; lean_object* v___x_17834_; lean_object* v___x_17835_; lean_object* v___f_17836_; lean_object* v___x_17837_; lean_object* v_ref_17838_; lean_object* v___x_17839_; lean_object* v___x_17840_; +v_toDefViewElabHeaderData_17813_ = lean_ctor_get(v_a_17797_, 1); +v_a_17814_ = lean_ctor_get(v___x_17812_, 0); +lean_inc(v_a_17814_); +lean_dec_ref(v___x_17812_); +v_declName_17815_ = lean_ctor_get(v_toDefViewElabHeaderData_17813_, 1); +v_fileName_17816_ = lean_ctor_get(v___y_17806_, 0); +v_fileMap_17817_ = lean_ctor_get(v___y_17806_, 1); +v_options_17818_ = lean_ctor_get(v___y_17806_, 2); +v_currRecDepth_17819_ = lean_ctor_get(v___y_17806_, 3); +v_maxRecDepth_17820_ = lean_ctor_get(v___y_17806_, 4); +v_ref_17821_ = lean_ctor_get(v___y_17806_, 5); +v_currNamespace_17822_ = lean_ctor_get(v___y_17806_, 6); +v_openDecls_17823_ = lean_ctor_get(v___y_17806_, 7); +v_initHeartbeats_17824_ = lean_ctor_get(v___y_17806_, 8); +v_maxHeartbeats_17825_ = lean_ctor_get(v___y_17806_, 9); +v_quotContext_17826_ = lean_ctor_get(v___y_17806_, 10); +v_currMacroScope_17827_ = lean_ctor_get(v___y_17806_, 11); +v_diag_17828_ = lean_ctor_get_uint8(v___y_17806_, sizeof(void*)*14); +v_cancelTk_x3f_17829_ = lean_ctor_get(v___y_17806_, 12); +v_suppressElabErrors_17830_ = lean_ctor_get_uint8(v___y_17806_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_17831_ = lean_ctor_get(v___y_17806_, 13); +v___x_17832_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__2); +v___x_17833_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___closed__3)); +lean_inc(v_declName_17815_); +v___x_17834_ = lean_alloc_closure((void*)(l_Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0___boxed), 8, 1); +lean_closure_set(v___x_17834_, 0, v_declName_17815_); +v___x_17835_ = lean_box(v___x_17809_); +lean_inc(v_declName_17815_); +v___f_17836_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___lam__1___boxed), 11, 4); +lean_closure_set(v___f_17836_, 0, v___x_17834_); +lean_closure_set(v___f_17836_, 1, v___x_17835_); +lean_closure_set(v___f_17836_, 2, v_declName_17815_); +lean_closure_set(v___f_17836_, 3, v_a_17814_); +v___x_17837_ = lean_alloc_closure((void*)(l_Lean_Meta_withLCtx___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_spec__1___boxed), 11, 4); +lean_closure_set(v___x_17837_, 0, lean_box(0)); +lean_closure_set(v___x_17837_, 1, v___x_17832_); +lean_closure_set(v___x_17837_, 2, v___x_17833_); +lean_closure_set(v___x_17837_, 3, v___f_17836_); +v_ref_17838_ = l_Lean_replaceRef(v_a_17811_, v_ref_17821_); +lean_inc_ref(v_inheritedTraceOptions_17831_); +lean_inc(v_cancelTk_x3f_17829_); +lean_inc(v_currMacroScope_17827_); +lean_inc(v_quotContext_17826_); +lean_inc(v_maxHeartbeats_17825_); +lean_inc(v_initHeartbeats_17824_); +lean_inc(v_openDecls_17823_); +lean_inc(v_currNamespace_17822_); +lean_inc(v_maxRecDepth_17820_); +lean_inc(v_currRecDepth_17819_); +lean_inc_ref(v_options_17818_); +lean_inc_ref(v_fileMap_17817_); +lean_inc_ref(v_fileName_17816_); +v___x_17839_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_17839_, 0, v_fileName_17816_); +lean_ctor_set(v___x_17839_, 1, v_fileMap_17817_); +lean_ctor_set(v___x_17839_, 2, v_options_17818_); +lean_ctor_set(v___x_17839_, 3, v_currRecDepth_17819_); +lean_ctor_set(v___x_17839_, 4, v_maxRecDepth_17820_); +lean_ctor_set(v___x_17839_, 5, v_ref_17838_); +lean_ctor_set(v___x_17839_, 6, v_currNamespace_17822_); +lean_ctor_set(v___x_17839_, 7, v_openDecls_17823_); +lean_ctor_set(v___x_17839_, 8, v_initHeartbeats_17824_); +lean_ctor_set(v___x_17839_, 9, v_maxHeartbeats_17825_); +lean_ctor_set(v___x_17839_, 10, v_quotContext_17826_); +lean_ctor_set(v___x_17839_, 11, v_currMacroScope_17827_); +lean_ctor_set(v___x_17839_, 12, v_cancelTk_x3f_17829_); +lean_ctor_set(v___x_17839_, 13, v_inheritedTraceOptions_17831_); +lean_ctor_set_uint8(v___x_17839_, sizeof(void*)*14, v_diag_17828_); +lean_ctor_set_uint8(v___x_17839_, sizeof(void*)*14 + 1, v_suppressElabErrors_17830_); +lean_inc(v___y_17807_); +lean_inc(v___y_17805_); +lean_inc_ref(v___y_17804_); +lean_inc(v___y_17803_); +lean_inc_ref(v___y_17802_); +v___x_17840_ = l_Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3(v___x_17837_, v___y_17802_, v___y_17803_, v___y_17804_, v___y_17805_, v___x_17839_, v___y_17807_); +if (lean_obj_tag(v___x_17840_) == 0) { -lean_object* v___x_17852_; uint8_t v_isShared_17853_; uint8_t v_isSharedCheck_17875_; -lean_inc(v_stop_17848_); -lean_inc(v_start_17847_); -lean_inc_ref(v_array_17846_); -v_isSharedCheck_17875_ = !lean_is_exclusive(v_b_17831_); -if (v_isSharedCheck_17875_ == 0) -{ -lean_object* v_unused_17876_; lean_object* v_unused_17877_; lean_object* v_unused_17878_; -v_unused_17876_ = lean_ctor_get(v_b_17831_, 2); -lean_dec(v_unused_17876_); -v_unused_17877_ = lean_ctor_get(v_b_17831_, 1); -lean_dec(v_unused_17877_); -v_unused_17878_ = lean_ctor_get(v_b_17831_, 0); -lean_dec(v_unused_17878_); -v___x_17852_ = v_b_17831_; -v_isShared_17853_ = v_isSharedCheck_17875_; -goto v_resetjp_17851_; -} -else -{ -lean_dec(v_b_17831_); -v___x_17852_ = lean_box(0); -v_isShared_17853_ = v_isSharedCheck_17875_; -goto v_resetjp_17851_; -} -v_resetjp_17851_: -{ -lean_object* v___x_17854_; lean_object* v_deriving_x3f_17855_; lean_object* v___x_17856_; lean_object* v___x_17857_; lean_object* v___x_17859_; -v___x_17854_ = lean_array_fget_borrowed(v_array_17846_, v_start_17847_); -v_deriving_x3f_17855_ = lean_ctor_get(v___x_17854_, 9); -lean_inc(v_deriving_x3f_17855_); -v___x_17856_ = lean_unsigned_to_nat(1u); -v___x_17857_ = lean_nat_add(v_start_17847_, v___x_17856_); -lean_dec(v_start_17847_); -if (v_isShared_17853_ == 0) -{ -lean_ctor_set(v___x_17852_, 1, v___x_17857_); -v___x_17859_ = v___x_17852_; -goto v_reusejp_17858_; -} -else -{ -lean_object* v_reuseFailAlloc_17874_; -v_reuseFailAlloc_17874_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_17874_, 0, v_array_17846_); -lean_ctor_set(v_reuseFailAlloc_17874_, 1, v___x_17857_); -lean_ctor_set(v_reuseFailAlloc_17874_, 2, v_stop_17848_); -v___x_17859_ = v_reuseFailAlloc_17874_; -goto v_reusejp_17858_; -} -v_reusejp_17858_: -{ -if (lean_obj_tag(v_deriving_x3f_17855_) == 1) -{ -lean_object* v_val_17860_; lean_object* v_a_17861_; lean_object* v___x_17862_; size_t v_sz_17863_; size_t v___x_17864_; lean_object* v___x_17865_; -v_val_17860_ = lean_ctor_get(v_deriving_x3f_17855_, 0); -lean_inc(v_val_17860_); -lean_dec_ref(v_deriving_x3f_17855_); -v_a_17861_ = lean_array_uget_borrowed(v_as_17828_, v_i_17830_); -v___x_17862_ = lean_box(0); -v_sz_17863_ = lean_array_size(v_val_17860_); -v___x_17864_ = ((size_t)0ULL); -lean_inc(v___y_17837_); -lean_inc(v___y_17835_); -lean_inc_ref(v___y_17834_); -lean_inc(v___y_17833_); -lean_inc_ref(v___y_17832_); -lean_inc(v_a_17861_); -v___x_17865_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(v_a_17861_, v_val_17860_, v_sz_17863_, v___x_17864_, v___x_17862_, v___y_17832_, v___y_17833_, v___y_17834_, v___y_17835_, v___y_17836_, v___y_17837_); -lean_dec(v_val_17860_); -if (lean_obj_tag(v___x_17865_) == 0) -{ -lean_dec_ref(v___x_17865_); -v_a_17840_ = v___x_17859_; -goto v___jp_17839_; -} -else -{ -lean_object* v_a_17866_; lean_object* v___x_17868_; uint8_t v_isShared_17869_; uint8_t v_isSharedCheck_17873_; -lean_dec_ref(v___x_17859_); -lean_dec(v___y_17837_); -lean_dec(v___y_17835_); -lean_dec_ref(v___y_17834_); -lean_dec(v___y_17833_); -lean_dec_ref(v___y_17832_); -v_a_17866_ = lean_ctor_get(v___x_17865_, 0); -v_isSharedCheck_17873_ = !lean_is_exclusive(v___x_17865_); -if (v_isSharedCheck_17873_ == 0) -{ -v___x_17868_ = v___x_17865_; -v_isShared_17869_ = v_isSharedCheck_17873_; -goto v_resetjp_17867_; -} -else -{ -lean_inc(v_a_17866_); -lean_dec(v___x_17865_); -v___x_17868_ = lean_box(0); -v_isShared_17869_ = v_isSharedCheck_17873_; -goto v_resetjp_17867_; -} -v_resetjp_17867_: -{ -lean_object* v___x_17871_; -if (v_isShared_17869_ == 0) -{ -v___x_17871_ = v___x_17868_; -goto v_reusejp_17870_; -} -else -{ -lean_object* v_reuseFailAlloc_17872_; -v_reuseFailAlloc_17872_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17872_, 0, v_a_17866_); -v___x_17871_ = v_reuseFailAlloc_17872_; -goto v_reusejp_17870_; -} -v_reusejp_17870_: -{ -return v___x_17871_; -} -} -} -} -else -{ -lean_dec(v_deriving_x3f_17855_); -v_a_17840_ = v___x_17859_; -goto v___jp_17839_; -} -} -} -} -} -v___jp_17839_: -{ -size_t v___x_17841_; size_t v___x_17842_; -v___x_17841_ = ((size_t)1ULL); -v___x_17842_ = lean_usize_add(v_i_17830_, v___x_17841_); -v_i_17830_ = v___x_17842_; -v_b_17831_ = v_a_17840_; +lean_object* v___x_17841_; size_t v___x_17842_; size_t v___x_17843_; +lean_dec_ref(v___x_17840_); +v___x_17841_ = lean_box(0); +v___x_17842_ = ((size_t)1ULL); +v___x_17843_ = lean_usize_add(v_i_17800_, v___x_17842_); +v_i_17800_ = v___x_17843_; +v_b_17801_ = v___x_17841_; goto _start; } -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5___boxed(lean_object* v_as_17879_, lean_object* v_sz_17880_, lean_object* v_i_17881_, lean_object* v_b_17882_, lean_object* v___y_17883_, lean_object* v___y_17884_, lean_object* v___y_17885_, lean_object* v___y_17886_, lean_object* v___y_17887_, lean_object* v___y_17888_, lean_object* v___y_17889_){ -_start: +else { -size_t v_sz_boxed_17890_; size_t v_i_boxed_17891_; lean_object* v_res_17892_; -v_sz_boxed_17890_ = lean_unbox_usize(v_sz_17880_); -lean_dec(v_sz_17880_); -v_i_boxed_17891_ = lean_unbox_usize(v_i_17881_); -lean_dec(v_i_17881_); -v_res_17892_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(v_as_17879_, v_sz_boxed_17890_, v_i_boxed_17891_, v_b_17882_, v___y_17883_, v___y_17884_, v___y_17885_, v___y_17886_, v___y_17887_, v___y_17888_); -lean_dec_ref(v___y_17887_); -lean_dec_ref(v_as_17879_); -return v_res_17892_; +lean_dec(v___y_17807_); +lean_dec(v___y_17805_); +lean_dec_ref(v___y_17804_); +lean_dec(v___y_17803_); +lean_dec_ref(v___y_17802_); +lean_dec_ref(v_a_17797_); +return v___x_17840_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(lean_object* v_views_17893_, lean_object* v_headers_17894_, lean_object* v_a_17895_, lean_object* v_a_17896_, lean_object* v_a_17897_, lean_object* v_a_17898_, lean_object* v_a_17899_, lean_object* v_a_17900_){ -_start: -{ -lean_object* v___x_17902_; lean_object* v___x_17903_; lean_object* v___x_17904_; size_t v_sz_17905_; size_t v___x_17906_; lean_object* v___x_17907_; -v___x_17902_ = lean_unsigned_to_nat(0u); -v___x_17903_ = lean_array_get_size(v_views_17893_); -v___x_17904_ = l_Array_toSubarray___redArg(v_views_17893_, v___x_17902_, v___x_17903_); -v_sz_17905_ = lean_array_size(v_headers_17894_); -v___x_17906_ = ((size_t)0ULL); -v___x_17907_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(v_headers_17894_, v_sz_17905_, v___x_17906_, v___x_17904_, v_a_17895_, v_a_17896_, v_a_17897_, v_a_17898_, v_a_17899_, v_a_17900_); -if (lean_obj_tag(v___x_17907_) == 0) -{ -lean_object* v___x_17909_; uint8_t v_isShared_17910_; uint8_t v_isSharedCheck_17915_; -v_isSharedCheck_17915_ = !lean_is_exclusive(v___x_17907_); -if (v_isSharedCheck_17915_ == 0) -{ -lean_object* v_unused_17916_; -v_unused_17916_ = lean_ctor_get(v___x_17907_, 0); -lean_dec(v_unused_17916_); -v___x_17909_ = v___x_17907_; -v_isShared_17910_ = v_isSharedCheck_17915_; -goto v_resetjp_17908_; -} else { -lean_dec(v___x_17907_); -v___x_17909_ = lean_box(0); -v_isShared_17910_ = v_isSharedCheck_17915_; -goto v_resetjp_17908_; +lean_object* v_a_17845_; lean_object* v___x_17847_; uint8_t v_isShared_17848_; uint8_t v_isSharedCheck_17852_; +lean_dec(v___y_17807_); +lean_dec(v___y_17805_); +lean_dec_ref(v___y_17804_); +lean_dec(v___y_17803_); +lean_dec_ref(v___y_17802_); +lean_dec_ref(v_a_17797_); +v_a_17845_ = lean_ctor_get(v___x_17812_, 0); +v_isSharedCheck_17852_ = !lean_is_exclusive(v___x_17812_); +if (v_isSharedCheck_17852_ == 0) +{ +v___x_17847_ = v___x_17812_; +v_isShared_17848_ = v_isSharedCheck_17852_; +goto v_resetjp_17846_; } -v_resetjp_17908_: +else { -lean_object* v___x_17911_; lean_object* v___x_17913_; -v___x_17911_ = lean_box(0); -if (v_isShared_17910_ == 0) +lean_inc(v_a_17845_); +lean_dec(v___x_17812_); +v___x_17847_ = lean_box(0); +v_isShared_17848_ = v_isSharedCheck_17852_; +goto v_resetjp_17846_; +} +v_resetjp_17846_: { -lean_ctor_set(v___x_17909_, 0, v___x_17911_); -v___x_17913_ = v___x_17909_; -goto v_reusejp_17912_; +lean_object* v___x_17850_; +if (v_isShared_17848_ == 0) +{ +v___x_17850_ = v___x_17847_; +goto v_reusejp_17849_; +} +else +{ +lean_object* v_reuseFailAlloc_17851_; +v_reuseFailAlloc_17851_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17851_, 0, v_a_17845_); +v___x_17850_ = v_reuseFailAlloc_17851_; +goto v_reusejp_17849_; +} +v_reusejp_17849_: +{ +return v___x_17850_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4___boxed(lean_object* v_a_17853_, lean_object* v_as_17854_, lean_object* v_sz_17855_, lean_object* v_i_17856_, lean_object* v_b_17857_, lean_object* v___y_17858_, lean_object* v___y_17859_, lean_object* v___y_17860_, lean_object* v___y_17861_, lean_object* v___y_17862_, lean_object* v___y_17863_, lean_object* v___y_17864_){ +_start: +{ +size_t v_sz_boxed_17865_; size_t v_i_boxed_17866_; lean_object* v_res_17867_; +v_sz_boxed_17865_ = lean_unbox_usize(v_sz_17855_); +lean_dec(v_sz_17855_); +v_i_boxed_17866_ = lean_unbox_usize(v_i_17856_); +lean_dec(v_i_17856_); +v_res_17867_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(v_a_17853_, v_as_17854_, v_sz_boxed_17865_, v_i_boxed_17866_, v_b_17857_, v___y_17858_, v___y_17859_, v___y_17860_, v___y_17861_, v___y_17862_, v___y_17863_); +lean_dec_ref(v___y_17862_); +lean_dec_ref(v_as_17854_); +return v_res_17867_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(lean_object* v_as_17868_, size_t v_sz_17869_, size_t v_i_17870_, lean_object* v_b_17871_, lean_object* v___y_17872_, lean_object* v___y_17873_, lean_object* v___y_17874_, lean_object* v___y_17875_, lean_object* v___y_17876_, lean_object* v___y_17877_){ +_start: +{ +lean_object* v_a_17880_; uint8_t v___x_17884_; +v___x_17884_ = lean_usize_dec_lt(v_i_17870_, v_sz_17869_); +if (v___x_17884_ == 0) +{ +lean_object* v___x_17885_; +lean_dec(v___y_17877_); +lean_dec(v___y_17875_); +lean_dec_ref(v___y_17874_); +lean_dec(v___y_17873_); +lean_dec_ref(v___y_17872_); +v___x_17885_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17885_, 0, v_b_17871_); +return v___x_17885_; +} +else +{ +lean_object* v_array_17886_; lean_object* v_start_17887_; lean_object* v_stop_17888_; uint8_t v___x_17889_; +v_array_17886_ = lean_ctor_get(v_b_17871_, 0); +v_start_17887_ = lean_ctor_get(v_b_17871_, 1); +v_stop_17888_ = lean_ctor_get(v_b_17871_, 2); +v___x_17889_ = lean_nat_dec_lt(v_start_17887_, v_stop_17888_); +if (v___x_17889_ == 0) +{ +lean_object* v___x_17890_; +lean_dec(v___y_17877_); +lean_dec(v___y_17875_); +lean_dec_ref(v___y_17874_); +lean_dec(v___y_17873_); +lean_dec_ref(v___y_17872_); +v___x_17890_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17890_, 0, v_b_17871_); +return v___x_17890_; +} +else +{ +lean_object* v___x_17892_; uint8_t v_isShared_17893_; uint8_t v_isSharedCheck_17915_; +lean_inc(v_stop_17888_); +lean_inc(v_start_17887_); +lean_inc_ref(v_array_17886_); +v_isSharedCheck_17915_ = !lean_is_exclusive(v_b_17871_); +if (v_isSharedCheck_17915_ == 0) +{ +lean_object* v_unused_17916_; lean_object* v_unused_17917_; lean_object* v_unused_17918_; +v_unused_17916_ = lean_ctor_get(v_b_17871_, 2); +lean_dec(v_unused_17916_); +v_unused_17917_ = lean_ctor_get(v_b_17871_, 1); +lean_dec(v_unused_17917_); +v_unused_17918_ = lean_ctor_get(v_b_17871_, 0); +lean_dec(v_unused_17918_); +v___x_17892_ = v_b_17871_; +v_isShared_17893_ = v_isSharedCheck_17915_; +goto v_resetjp_17891_; +} +else +{ +lean_dec(v_b_17871_); +v___x_17892_ = lean_box(0); +v_isShared_17893_ = v_isSharedCheck_17915_; +goto v_resetjp_17891_; +} +v_resetjp_17891_: +{ +lean_object* v___x_17894_; lean_object* v_deriving_x3f_17895_; lean_object* v___x_17896_; lean_object* v___x_17897_; lean_object* v___x_17899_; +v___x_17894_ = lean_array_fget_borrowed(v_array_17886_, v_start_17887_); +v_deriving_x3f_17895_ = lean_ctor_get(v___x_17894_, 9); +lean_inc(v_deriving_x3f_17895_); +v___x_17896_ = lean_unsigned_to_nat(1u); +v___x_17897_ = lean_nat_add(v_start_17887_, v___x_17896_); +lean_dec(v_start_17887_); +if (v_isShared_17893_ == 0) +{ +lean_ctor_set(v___x_17892_, 1, v___x_17897_); +v___x_17899_ = v___x_17892_; +goto v_reusejp_17898_; } else { lean_object* v_reuseFailAlloc_17914_; -v_reuseFailAlloc_17914_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17914_, 0, v___x_17911_); -v___x_17913_ = v_reuseFailAlloc_17914_; -goto v_reusejp_17912_; +v_reuseFailAlloc_17914_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_17914_, 0, v_array_17886_); +lean_ctor_set(v_reuseFailAlloc_17914_, 1, v___x_17897_); +lean_ctor_set(v_reuseFailAlloc_17914_, 2, v_stop_17888_); +v___x_17899_ = v_reuseFailAlloc_17914_; +goto v_reusejp_17898_; } -v_reusejp_17912_: +v_reusejp_17898_: { -return v___x_17913_; +if (lean_obj_tag(v_deriving_x3f_17895_) == 1) +{ +lean_object* v_val_17900_; lean_object* v_a_17901_; lean_object* v___x_17902_; size_t v_sz_17903_; size_t v___x_17904_; lean_object* v___x_17905_; +v_val_17900_ = lean_ctor_get(v_deriving_x3f_17895_, 0); +lean_inc(v_val_17900_); +lean_dec_ref(v_deriving_x3f_17895_); +v_a_17901_ = lean_array_uget_borrowed(v_as_17868_, v_i_17870_); +v___x_17902_ = lean_box(0); +v_sz_17903_ = lean_array_size(v_val_17900_); +v___x_17904_ = ((size_t)0ULL); +lean_inc(v___y_17877_); +lean_inc(v___y_17875_); +lean_inc_ref(v___y_17874_); +lean_inc(v___y_17873_); +lean_inc_ref(v___y_17872_); +lean_inc(v_a_17901_); +v___x_17905_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__4(v_a_17901_, v_val_17900_, v_sz_17903_, v___x_17904_, v___x_17902_, v___y_17872_, v___y_17873_, v___y_17874_, v___y_17875_, v___y_17876_, v___y_17877_); +lean_dec(v_val_17900_); +if (lean_obj_tag(v___x_17905_) == 0) +{ +lean_dec_ref(v___x_17905_); +v_a_17880_ = v___x_17899_; +goto v___jp_17879_; +} +else +{ +lean_object* v_a_17906_; lean_object* v___x_17908_; uint8_t v_isShared_17909_; uint8_t v_isSharedCheck_17913_; +lean_dec_ref(v___x_17899_); +lean_dec(v___y_17877_); +lean_dec(v___y_17875_); +lean_dec_ref(v___y_17874_); +lean_dec(v___y_17873_); +lean_dec_ref(v___y_17872_); +v_a_17906_ = lean_ctor_get(v___x_17905_, 0); +v_isSharedCheck_17913_ = !lean_is_exclusive(v___x_17905_); +if (v_isSharedCheck_17913_ == 0) +{ +v___x_17908_ = v___x_17905_; +v_isShared_17909_ = v_isSharedCheck_17913_; +goto v_resetjp_17907_; +} +else +{ +lean_inc(v_a_17906_); +lean_dec(v___x_17905_); +v___x_17908_ = lean_box(0); +v_isShared_17909_ = v_isSharedCheck_17913_; +goto v_resetjp_17907_; +} +v_resetjp_17907_: +{ +lean_object* v___x_17911_; +if (v_isShared_17909_ == 0) +{ +v___x_17911_ = v___x_17908_; +goto v_reusejp_17910_; +} +else +{ +lean_object* v_reuseFailAlloc_17912_; +v_reuseFailAlloc_17912_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17912_, 0, v_a_17906_); +v___x_17911_ = v_reuseFailAlloc_17912_; +goto v_reusejp_17910_; +} +v_reusejp_17910_: +{ +return v___x_17911_; +} } } } else { -lean_object* v_a_17917_; lean_object* v___x_17919_; uint8_t v_isShared_17920_; uint8_t v_isSharedCheck_17924_; -v_a_17917_ = lean_ctor_get(v___x_17907_, 0); -v_isSharedCheck_17924_ = !lean_is_exclusive(v___x_17907_); -if (v_isSharedCheck_17924_ == 0) +lean_dec(v_deriving_x3f_17895_); +v_a_17880_ = v___x_17899_; +goto v___jp_17879_; +} +} +} +} +} +v___jp_17879_: { -v___x_17919_ = v___x_17907_; -v_isShared_17920_ = v_isSharedCheck_17924_; -goto v_resetjp_17918_; +size_t v___x_17881_; size_t v___x_17882_; +v___x_17881_ = ((size_t)1ULL); +v___x_17882_ = lean_usize_add(v_i_17870_, v___x_17881_); +v_i_17870_ = v___x_17882_; +v_b_17871_ = v_a_17880_; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5___boxed(lean_object* v_as_17919_, lean_object* v_sz_17920_, lean_object* v_i_17921_, lean_object* v_b_17922_, lean_object* v___y_17923_, lean_object* v___y_17924_, lean_object* v___y_17925_, lean_object* v___y_17926_, lean_object* v___y_17927_, lean_object* v___y_17928_, lean_object* v___y_17929_){ +_start: +{ +size_t v_sz_boxed_17930_; size_t v_i_boxed_17931_; lean_object* v_res_17932_; +v_sz_boxed_17930_ = lean_unbox_usize(v_sz_17920_); +lean_dec(v_sz_17920_); +v_i_boxed_17931_ = lean_unbox_usize(v_i_17921_); +lean_dec(v_i_17921_); +v_res_17932_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(v_as_17919_, v_sz_boxed_17930_, v_i_boxed_17931_, v_b_17922_, v___y_17923_, v___y_17924_, v___y_17925_, v___y_17926_, v___y_17927_, v___y_17928_); +lean_dec_ref(v___y_17927_); +lean_dec_ref(v_as_17919_); +return v_res_17932_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(lean_object* v_views_17933_, lean_object* v_headers_17934_, lean_object* v_a_17935_, lean_object* v_a_17936_, lean_object* v_a_17937_, lean_object* v_a_17938_, lean_object* v_a_17939_, lean_object* v_a_17940_){ +_start: +{ +lean_object* v___x_17942_; lean_object* v___x_17943_; lean_object* v___x_17944_; size_t v_sz_17945_; size_t v___x_17946_; lean_object* v___x_17947_; +v___x_17942_ = lean_unsigned_to_nat(0u); +v___x_17943_ = lean_array_get_size(v_views_17933_); +v___x_17944_ = l_Array_toSubarray___redArg(v_views_17933_, v___x_17942_, v___x_17943_); +v_sz_17945_ = lean_array_size(v_headers_17934_); +v___x_17946_ = ((size_t)0ULL); +v___x_17947_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__5(v_headers_17934_, v_sz_17945_, v___x_17946_, v___x_17944_, v_a_17935_, v_a_17936_, v_a_17937_, v_a_17938_, v_a_17939_, v_a_17940_); +if (lean_obj_tag(v___x_17947_) == 0) +{ +lean_object* v___x_17949_; uint8_t v_isShared_17950_; uint8_t v_isSharedCheck_17955_; +v_isSharedCheck_17955_ = !lean_is_exclusive(v___x_17947_); +if (v_isSharedCheck_17955_ == 0) +{ +lean_object* v_unused_17956_; +v_unused_17956_ = lean_ctor_get(v___x_17947_, 0); +lean_dec(v_unused_17956_); +v___x_17949_ = v___x_17947_; +v_isShared_17950_ = v_isSharedCheck_17955_; +goto v_resetjp_17948_; } else { -lean_inc(v_a_17917_); -lean_dec(v___x_17907_); -v___x_17919_ = lean_box(0); -v_isShared_17920_ = v_isSharedCheck_17924_; -goto v_resetjp_17918_; +lean_dec(v___x_17947_); +v___x_17949_ = lean_box(0); +v_isShared_17950_ = v_isSharedCheck_17955_; +goto v_resetjp_17948_; } -v_resetjp_17918_: +v_resetjp_17948_: { -lean_object* v___x_17922_; -if (v_isShared_17920_ == 0) +lean_object* v___x_17951_; lean_object* v___x_17953_; +v___x_17951_ = lean_box(0); +if (v_isShared_17950_ == 0) { -v___x_17922_ = v___x_17919_; -goto v_reusejp_17921_; +lean_ctor_set(v___x_17949_, 0, v___x_17951_); +v___x_17953_ = v___x_17949_; +goto v_reusejp_17952_; } else { -lean_object* v_reuseFailAlloc_17923_; -v_reuseFailAlloc_17923_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17923_, 0, v_a_17917_); -v___x_17922_ = v_reuseFailAlloc_17923_; -goto v_reusejp_17921_; +lean_object* v_reuseFailAlloc_17954_; +v_reuseFailAlloc_17954_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17954_, 0, v___x_17951_); +v___x_17953_ = v_reuseFailAlloc_17954_; +goto v_reusejp_17952_; } -v_reusejp_17921_: +v_reusejp_17952_: { -return v___x_17922_; +return v___x_17953_; +} +} +} +else +{ +lean_object* v_a_17957_; lean_object* v___x_17959_; uint8_t v_isShared_17960_; uint8_t v_isSharedCheck_17964_; +v_a_17957_ = lean_ctor_get(v___x_17947_, 0); +v_isSharedCheck_17964_ = !lean_is_exclusive(v___x_17947_); +if (v_isSharedCheck_17964_ == 0) +{ +v___x_17959_ = v___x_17947_; +v_isShared_17960_ = v_isSharedCheck_17964_; +goto v_resetjp_17958_; +} +else +{ +lean_inc(v_a_17957_); +lean_dec(v___x_17947_); +v___x_17959_ = lean_box(0); +v_isShared_17960_ = v_isSharedCheck_17964_; +goto v_resetjp_17958_; +} +v_resetjp_17958_: +{ +lean_object* v___x_17962_; +if (v_isShared_17960_ == 0) +{ +v___x_17962_ = v___x_17959_; +goto v_reusejp_17961_; +} +else +{ +lean_object* v_reuseFailAlloc_17963_; +v_reuseFailAlloc_17963_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17963_, 0, v_a_17957_); +v___x_17962_ = v_reuseFailAlloc_17963_; +goto v_reusejp_17961_; +} +v_reusejp_17961_: +{ +return v___x_17962_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving___boxed(lean_object* v_views_17925_, lean_object* v_headers_17926_, lean_object* v_a_17927_, lean_object* v_a_17928_, lean_object* v_a_17929_, lean_object* v_a_17930_, lean_object* v_a_17931_, lean_object* v_a_17932_, lean_object* v_a_17933_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving___boxed(lean_object* v_views_17965_, lean_object* v_headers_17966_, lean_object* v_a_17967_, lean_object* v_a_17968_, lean_object* v_a_17969_, lean_object* v_a_17970_, lean_object* v_a_17971_, lean_object* v_a_17972_, lean_object* v_a_17973_){ _start: { -lean_object* v_res_17934_; -v_res_17934_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_17925_, v_headers_17926_, v_a_17927_, v_a_17928_, v_a_17929_, v_a_17930_, v_a_17931_, v_a_17932_); -lean_dec_ref(v_a_17931_); -lean_dec_ref(v_headers_17926_); -return v_res_17934_; +lean_object* v_res_17974_; +v_res_17974_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_17965_, v_headers_17966_, v_a_17967_, v_a_17968_, v_a_17969_, v_a_17970_, v_a_17971_, v_a_17972_); +lean_dec_ref(v_a_17971_); +lean_dec_ref(v_headers_17966_); +return v_res_17974_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0(lean_object* v_00_u03b1_17935_, lean_object* v_constName_17936_, lean_object* v___y_17937_, lean_object* v___y_17938_, lean_object* v___y_17939_, lean_object* v___y_17940_, lean_object* v___y_17941_, lean_object* v___y_17942_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0(lean_object* v_00_u03b1_17975_, lean_object* v_constName_17976_, lean_object* v___y_17977_, lean_object* v___y_17978_, lean_object* v___y_17979_, lean_object* v___y_17980_, lean_object* v___y_17981_, lean_object* v___y_17982_){ _start: { -lean_object* v___x_17944_; -v___x_17944_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17936_, v___y_17937_, v___y_17938_, v___y_17939_, v___y_17940_, v___y_17941_, v___y_17942_); -return v___x_17944_; +lean_object* v___x_17984_; +v___x_17984_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___redArg(v_constName_17976_, v___y_17977_, v___y_17978_, v___y_17979_, v___y_17980_, v___y_17981_, v___y_17982_); +return v___x_17984_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___boxed(lean_object* v_00_u03b1_17945_, lean_object* v_constName_17946_, lean_object* v___y_17947_, lean_object* v___y_17948_, lean_object* v___y_17949_, lean_object* v___y_17950_, lean_object* v___y_17951_, lean_object* v___y_17952_, lean_object* v___y_17953_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0___boxed(lean_object* v_00_u03b1_17985_, lean_object* v_constName_17986_, lean_object* v___y_17987_, lean_object* v___y_17988_, lean_object* v___y_17989_, lean_object* v___y_17990_, lean_object* v___y_17991_, lean_object* v___y_17992_, lean_object* v___y_17993_){ _start: { -lean_object* v_res_17954_; -v_res_17954_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0(v_00_u03b1_17945_, v_constName_17946_, v___y_17947_, v___y_17948_, v___y_17949_, v___y_17950_, v___y_17951_, v___y_17952_); -lean_dec(v___y_17952_); -lean_dec(v___y_17950_); -lean_dec_ref(v___y_17949_); -lean_dec(v___y_17948_); -return v_res_17954_; +lean_object* v_res_17994_; +v_res_17994_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0(v_00_u03b1_17985_, v_constName_17986_, v___y_17987_, v___y_17988_, v___y_17989_, v___y_17990_, v___y_17991_, v___y_17992_); +lean_dec(v___y_17992_); +lean_dec(v___y_17990_); +lean_dec_ref(v___y_17989_); +lean_dec(v___y_17988_); +return v_res_17994_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2(lean_object* v_00_u03b1_17955_, lean_object* v_ref_17956_, lean_object* v_constName_17957_, lean_object* v___y_17958_, lean_object* v___y_17959_, lean_object* v___y_17960_, lean_object* v___y_17961_, lean_object* v___y_17962_, lean_object* v___y_17963_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2(lean_object* v_00_u03b1_17995_, lean_object* v_ref_17996_, lean_object* v_constName_17997_, lean_object* v___y_17998_, lean_object* v___y_17999_, lean_object* v___y_18000_, lean_object* v___y_18001_, lean_object* v___y_18002_, lean_object* v___y_18003_){ _start: { -lean_object* v___x_17965_; -v___x_17965_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17956_, v_constName_17957_, v___y_17958_, v___y_17959_, v___y_17960_, v___y_17961_, v___y_17962_, v___y_17963_); -return v___x_17965_; +lean_object* v___x_18005_; +v___x_18005_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___redArg(v_ref_17996_, v_constName_17997_, v___y_17998_, v___y_17999_, v___y_18000_, v___y_18001_, v___y_18002_, v___y_18003_); +return v___x_18005_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___boxed(lean_object* v_00_u03b1_17966_, lean_object* v_ref_17967_, lean_object* v_constName_17968_, lean_object* v___y_17969_, lean_object* v___y_17970_, lean_object* v___y_17971_, lean_object* v___y_17972_, lean_object* v___y_17973_, lean_object* v___y_17974_, lean_object* v___y_17975_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2___boxed(lean_object* v_00_u03b1_18006_, lean_object* v_ref_18007_, lean_object* v_constName_18008_, lean_object* v___y_18009_, lean_object* v___y_18010_, lean_object* v___y_18011_, lean_object* v___y_18012_, lean_object* v___y_18013_, lean_object* v___y_18014_, lean_object* v___y_18015_){ _start: { -lean_object* v_res_17976_; -v_res_17976_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2(v_00_u03b1_17966_, v_ref_17967_, v_constName_17968_, v___y_17969_, v___y_17970_, v___y_17971_, v___y_17972_, v___y_17973_, v___y_17974_); -lean_dec(v___y_17974_); -lean_dec(v___y_17972_); -lean_dec_ref(v___y_17971_); -lean_dec(v___y_17970_); -lean_dec(v_ref_17967_); -return v_res_17976_; +lean_object* v_res_18016_; +v_res_18016_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2(v_00_u03b1_18006_, v_ref_18007_, v_constName_18008_, v___y_18009_, v___y_18010_, v___y_18011_, v___y_18012_, v___y_18013_, v___y_18014_); +lean_dec(v___y_18014_); +lean_dec(v___y_18012_); +lean_dec_ref(v___y_18011_); +lean_dec(v___y_18010_); +lean_dec(v_ref_18007_); +return v_res_18016_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7(lean_object* v_00_u03b1_17977_, lean_object* v_ref_17978_, lean_object* v_msg_17979_, lean_object* v_declHint_17980_, lean_object* v___y_17981_, lean_object* v___y_17982_, lean_object* v___y_17983_, lean_object* v___y_17984_, lean_object* v___y_17985_, lean_object* v___y_17986_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7(lean_object* v_00_u03b1_18017_, lean_object* v_ref_18018_, lean_object* v_msg_18019_, lean_object* v_declHint_18020_, lean_object* v___y_18021_, lean_object* v___y_18022_, lean_object* v___y_18023_, lean_object* v___y_18024_, lean_object* v___y_18025_, lean_object* v___y_18026_){ _start: { -lean_object* v___x_17988_; -v___x_17988_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_17978_, v_msg_17979_, v_declHint_17980_, v___y_17981_, v___y_17982_, v___y_17983_, v___y_17984_, v___y_17985_, v___y_17986_); -return v___x_17988_; +lean_object* v___x_18028_; +v___x_18028_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___redArg(v_ref_18018_, v_msg_18019_, v_declHint_18020_, v___y_18021_, v___y_18022_, v___y_18023_, v___y_18024_, v___y_18025_, v___y_18026_); +return v___x_18028_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___boxed(lean_object* v_00_u03b1_17989_, lean_object* v_ref_17990_, lean_object* v_msg_17991_, lean_object* v_declHint_17992_, lean_object* v___y_17993_, lean_object* v___y_17994_, lean_object* v___y_17995_, lean_object* v___y_17996_, lean_object* v___y_17997_, lean_object* v___y_17998_, lean_object* v___y_17999_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7___boxed(lean_object* v_00_u03b1_18029_, lean_object* v_ref_18030_, lean_object* v_msg_18031_, lean_object* v_declHint_18032_, lean_object* v___y_18033_, lean_object* v___y_18034_, lean_object* v___y_18035_, lean_object* v___y_18036_, lean_object* v___y_18037_, lean_object* v___y_18038_, lean_object* v___y_18039_){ _start: { -lean_object* v_res_18000_; -v_res_18000_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7(v_00_u03b1_17989_, v_ref_17990_, v_msg_17991_, v_declHint_17992_, v___y_17993_, v___y_17994_, v___y_17995_, v___y_17996_, v___y_17997_, v___y_17998_); -lean_dec(v___y_17998_); -lean_dec(v___y_17996_); -lean_dec_ref(v___y_17995_); -lean_dec(v___y_17994_); -lean_dec(v_ref_17990_); -return v_res_18000_; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10(lean_object* v_msgData_18001_, uint8_t v_severity_18002_, uint8_t v_isSilent_18003_, lean_object* v___y_18004_, lean_object* v___y_18005_, lean_object* v___y_18006_, lean_object* v___y_18007_, lean_object* v___y_18008_, lean_object* v___y_18009_){ -_start: -{ -lean_object* v___x_18011_; -v___x_18011_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_18001_, v_severity_18002_, v_isSilent_18003_, v___y_18006_, v___y_18007_, v___y_18008_, v___y_18009_); -return v___x_18011_; -} -} -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___boxed(lean_object* v_msgData_18012_, lean_object* v_severity_18013_, lean_object* v_isSilent_18014_, lean_object* v___y_18015_, lean_object* v___y_18016_, lean_object* v___y_18017_, lean_object* v___y_18018_, lean_object* v___y_18019_, lean_object* v___y_18020_, lean_object* v___y_18021_){ -_start: -{ -uint8_t v_severity_boxed_18022_; uint8_t v_isSilent_boxed_18023_; lean_object* v_res_18024_; -v_severity_boxed_18022_ = lean_unbox(v_severity_18013_); -v_isSilent_boxed_18023_ = lean_unbox(v_isSilent_18014_); -v_res_18024_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10(v_msgData_18012_, v_severity_boxed_18022_, v_isSilent_boxed_18023_, v___y_18015_, v___y_18016_, v___y_18017_, v___y_18018_, v___y_18019_, v___y_18020_); -lean_dec(v___y_18020_); -lean_dec(v___y_18018_); -lean_dec_ref(v___y_18017_); -lean_dec(v___y_18016_); -lean_dec_ref(v___y_18015_); -return v_res_18024_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11(lean_object* v_msg_18025_, lean_object* v_declHint_18026_, lean_object* v___y_18027_, lean_object* v___y_18028_, lean_object* v___y_18029_, lean_object* v___y_18030_, lean_object* v___y_18031_, lean_object* v___y_18032_){ -_start: -{ -lean_object* v___x_18034_; -v___x_18034_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_18025_, v_declHint_18026_, v___y_18032_); -return v___x_18034_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___boxed(lean_object* v_msg_18035_, lean_object* v_declHint_18036_, lean_object* v___y_18037_, lean_object* v___y_18038_, lean_object* v___y_18039_, lean_object* v___y_18040_, lean_object* v___y_18041_, lean_object* v___y_18042_, lean_object* v___y_18043_){ -_start: -{ -lean_object* v_res_18044_; -v_res_18044_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11(v_msg_18035_, v_declHint_18036_, v___y_18037_, v___y_18038_, v___y_18039_, v___y_18040_, v___y_18041_, v___y_18042_); -lean_dec(v___y_18042_); -lean_dec_ref(v___y_18041_); -lean_dec(v___y_18040_); -lean_dec_ref(v___y_18039_); +lean_object* v_res_18040_; +v_res_18040_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7(v_00_u03b1_18029_, v_ref_18030_, v_msg_18031_, v_declHint_18032_, v___y_18033_, v___y_18034_, v___y_18035_, v___y_18036_, v___y_18037_, v___y_18038_); lean_dec(v___y_18038_); -lean_dec_ref(v___y_18037_); -return v_res_18044_; +lean_dec(v___y_18036_); +lean_dec_ref(v___y_18035_); +lean_dec(v___y_18034_); +lean_dec(v_ref_18030_); +return v_res_18040_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0(uint8_t v_____do__lift_18045_, lean_object* v___y_18046_, lean_object* v___y_18047_, lean_object* v___y_18048_, lean_object* v___y_18049_, lean_object* v___y_18050_, lean_object* v___y_18051_){ +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10(lean_object* v_msgData_18041_, uint8_t v_severity_18042_, uint8_t v_isSilent_18043_, lean_object* v___y_18044_, lean_object* v___y_18045_, lean_object* v___y_18046_, lean_object* v___y_18047_, lean_object* v___y_18048_, lean_object* v___y_18049_){ _start: { -if (v_____do__lift_18045_ == 0) +lean_object* v___x_18051_; +v___x_18051_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_18041_, v_severity_18042_, v_isSilent_18043_, v___y_18046_, v___y_18047_, v___y_18048_, v___y_18049_); +return v___x_18051_; +} +} +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___boxed(lean_object* v_msgData_18052_, lean_object* v_severity_18053_, lean_object* v_isSilent_18054_, lean_object* v___y_18055_, lean_object* v___y_18056_, lean_object* v___y_18057_, lean_object* v___y_18058_, lean_object* v___y_18059_, lean_object* v___y_18060_, lean_object* v___y_18061_){ +_start: { -uint8_t v___x_18053_; lean_object* v___x_18054_; lean_object* v___x_18055_; -v___x_18053_ = 1; -v___x_18054_ = lean_box(v___x_18053_); -v___x_18055_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18055_, 0, v___x_18054_); -return v___x_18055_; +uint8_t v_severity_boxed_18062_; uint8_t v_isSilent_boxed_18063_; lean_object* v_res_18064_; +v_severity_boxed_18062_ = lean_unbox(v_severity_18053_); +v_isSilent_boxed_18063_ = lean_unbox(v_isSilent_18054_); +v_res_18064_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10(v_msgData_18052_, v_severity_boxed_18062_, v_isSilent_boxed_18063_, v___y_18055_, v___y_18056_, v___y_18057_, v___y_18058_, v___y_18059_, v___y_18060_); +lean_dec(v___y_18060_); +lean_dec(v___y_18058_); +lean_dec_ref(v___y_18057_); +lean_dec(v___y_18056_); +lean_dec_ref(v___y_18055_); +return v_res_18064_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11(lean_object* v_msg_18065_, lean_object* v_declHint_18066_, lean_object* v___y_18067_, lean_object* v___y_18068_, lean_object* v___y_18069_, lean_object* v___y_18070_, lean_object* v___y_18071_, lean_object* v___y_18072_){ +_start: +{ +lean_object* v___x_18074_; +v___x_18074_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___redArg(v_msg_18065_, v_declHint_18066_, v___y_18072_); +return v___x_18074_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11___boxed(lean_object* v_msg_18075_, lean_object* v_declHint_18076_, lean_object* v___y_18077_, lean_object* v___y_18078_, lean_object* v___y_18079_, lean_object* v___y_18080_, lean_object* v___y_18081_, lean_object* v___y_18082_, lean_object* v___y_18083_){ +_start: +{ +lean_object* v_res_18084_; +v_res_18084_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__0_spec__0_spec__2_spec__7_spec__9_spec__11(v_msg_18075_, v_declHint_18076_, v___y_18077_, v___y_18078_, v___y_18079_, v___y_18080_, v___y_18081_, v___y_18082_); +lean_dec(v___y_18082_); +lean_dec_ref(v___y_18081_); +lean_dec(v___y_18080_); +lean_dec_ref(v___y_18079_); +lean_dec(v___y_18078_); +lean_dec_ref(v___y_18077_); +return v_res_18084_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0(uint8_t v_____do__lift_18085_, lean_object* v___y_18086_, lean_object* v___y_18087_, lean_object* v___y_18088_, lean_object* v___y_18089_, lean_object* v___y_18090_, lean_object* v___y_18091_){ +_start: +{ +if (v_____do__lift_18085_ == 0) +{ +uint8_t v___x_18093_; lean_object* v___x_18094_; lean_object* v___x_18095_; +v___x_18093_ = 1; +v___x_18094_ = lean_box(v___x_18093_); +v___x_18095_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18095_, 0, v___x_18094_); +return v___x_18095_; } else { -uint8_t v___x_18056_; lean_object* v___x_18057_; lean_object* v___x_18058_; -v___x_18056_ = 0; -v___x_18057_ = lean_box(v___x_18056_); -v___x_18058_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18058_, 0, v___x_18057_); -return v___x_18058_; +uint8_t v___x_18096_; lean_object* v___x_18097_; lean_object* v___x_18098_; +v___x_18096_ = 0; +v___x_18097_ = lean_box(v___x_18096_); +v___x_18098_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18098_, 0, v___x_18097_); +return v___x_18098_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0___boxed(lean_object* v_____do__lift_18059_, lean_object* v___y_18060_, lean_object* v___y_18061_, lean_object* v___y_18062_, lean_object* v___y_18063_, lean_object* v___y_18064_, lean_object* v___y_18065_, lean_object* v___y_18066_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0___boxed(lean_object* v_____do__lift_18099_, lean_object* v___y_18100_, lean_object* v___y_18101_, lean_object* v___y_18102_, lean_object* v___y_18103_, lean_object* v___y_18104_, lean_object* v___y_18105_, lean_object* v___y_18106_){ _start: { -uint8_t v_____do__lift_43632__boxed_18067_; lean_object* v_res_18068_; -v_____do__lift_43632__boxed_18067_ = lean_unbox(v_____do__lift_18059_); -v_res_18068_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0(v_____do__lift_43632__boxed_18067_, v___y_18060_, v___y_18061_, v___y_18062_, v___y_18063_, v___y_18064_, v___y_18065_); -lean_dec(v___y_18065_); -lean_dec_ref(v___y_18064_); -lean_dec(v___y_18063_); -lean_dec_ref(v___y_18062_); -lean_dec(v___y_18061_); -lean_dec_ref(v___y_18060_); -return v_res_18068_; +uint8_t v_____do__lift_43632__boxed_18107_; lean_object* v_res_18108_; +v_____do__lift_43632__boxed_18107_ = lean_unbox(v_____do__lift_18099_); +v_res_18108_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__0(v_____do__lift_43632__boxed_18107_, v___y_18100_, v___y_18101_, v___y_18102_, v___y_18103_, v___y_18104_, v___y_18105_); +lean_dec(v___y_18105_); +lean_dec_ref(v___y_18104_); +lean_dec(v___y_18103_); +lean_dec_ref(v___y_18102_); +lean_dec(v___y_18101_); +lean_dec_ref(v___y_18100_); +return v_res_18108_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2(void){ _start: { -lean_object* v___x_18073_; lean_object* v___x_18074_; -v___x_18073_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__1)); -v___x_18074_ = l_Lean_stringToMessageData(v___x_18073_); -return v___x_18074_; +lean_object* v___x_18113_; lean_object* v___x_18114_; +v___x_18113_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__1)); +v___x_18114_ = l_Lean_stringToMessageData(v___x_18113_); +return v___x_18114_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4(void){ _start: { -lean_object* v___x_18076_; lean_object* v___x_18077_; -v___x_18076_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__3)); -v___x_18077_ = l_Lean_stringToMessageData(v___x_18076_); -return v___x_18077_; +lean_object* v___x_18116_; lean_object* v___x_18117_; +v___x_18116_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__3)); +v___x_18117_ = l_Lean_stringToMessageData(v___x_18116_); +return v___x_18117_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(lean_object* v_as_18078_, size_t v_sz_18079_, size_t v_i_18080_, lean_object* v_b_18081_, lean_object* v___y_18082_, lean_object* v___y_18083_, lean_object* v___y_18084_, lean_object* v___y_18085_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(lean_object* v_as_18118_, size_t v_sz_18119_, size_t v_i_18120_, lean_object* v_b_18121_, lean_object* v___y_18122_, lean_object* v___y_18123_, lean_object* v___y_18124_, lean_object* v___y_18125_){ _start: { -lean_object* v_a_18088_; uint8_t v___x_18092_; -v___x_18092_ = lean_usize_dec_lt(v_i_18080_, v_sz_18079_); -if (v___x_18092_ == 0) +lean_object* v_a_18128_; uint8_t v___x_18132_; +v___x_18132_ = lean_usize_dec_lt(v_i_18120_, v_sz_18119_); +if (v___x_18132_ == 0) { -lean_object* v___x_18093_; -v___x_18093_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18093_, 0, v_b_18081_); -return v___x_18093_; +lean_object* v___x_18133_; +v___x_18133_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18133_, 0, v_b_18121_); +return v___x_18133_; } else { -lean_object* v___x_18094_; lean_object* v___x_18095_; -v___x_18094_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__0)); -v___x_18095_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg(v___x_18094_, v___y_18084_); -if (lean_obj_tag(v___x_18095_) == 0) +lean_object* v___x_18134_; lean_object* v___x_18135_; +v___x_18134_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__0)); +v___x_18135_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg(v___x_18134_, v___y_18124_); +if (lean_obj_tag(v___x_18135_) == 0) { -lean_object* v_a_18096_; lean_object* v___x_18097_; uint8_t v___x_18098_; -v_a_18096_ = lean_ctor_get(v___x_18095_, 0); -lean_inc(v_a_18096_); -lean_dec_ref(v___x_18095_); -v___x_18097_ = lean_box(0); -v___x_18098_ = lean_unbox(v_a_18096_); -lean_dec(v_a_18096_); -if (v___x_18098_ == 0) +lean_object* v_a_18136_; lean_object* v___x_18137_; uint8_t v___x_18138_; +v_a_18136_ = lean_ctor_get(v___x_18135_, 0); +lean_inc(v_a_18136_); +lean_dec_ref(v___x_18135_); +v___x_18137_ = lean_box(0); +v___x_18138_ = lean_unbox(v_a_18136_); +lean_dec(v_a_18136_); +if (v___x_18138_ == 0) { -v_a_18088_ = v___x_18097_; -goto v___jp_18087_; +v_a_18128_ = v___x_18137_; +goto v___jp_18127_; } else { -lean_object* v_a_18099_; lean_object* v_declName_18100_; lean_object* v_type_18101_; lean_object* v_value_18102_; lean_object* v___x_18103_; lean_object* v___x_18104_; lean_object* v___x_18105_; lean_object* v___x_18106_; lean_object* v___x_18107_; lean_object* v___x_18108_; lean_object* v___x_18109_; lean_object* v___x_18110_; lean_object* v___x_18111_; lean_object* v___x_18112_; -v_a_18099_ = lean_array_uget_borrowed(v_as_18078_, v_i_18080_); -v_declName_18100_ = lean_ctor_get(v_a_18099_, 3); -v_type_18101_ = lean_ctor_get(v_a_18099_, 6); -v_value_18102_ = lean_ctor_get(v_a_18099_, 7); -lean_inc(v_declName_18100_); -v___x_18103_ = l_Lean_MessageData_ofName(v_declName_18100_); -v___x_18104_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2); -v___x_18105_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18105_, 0, v___x_18103_); -lean_ctor_set(v___x_18105_, 1, v___x_18104_); -lean_inc_ref(v_type_18101_); -v___x_18106_ = l_Lean_MessageData_ofExpr(v_type_18101_); -v___x_18107_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18107_, 0, v___x_18105_); -lean_ctor_set(v___x_18107_, 1, v___x_18106_); -v___x_18108_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4); -v___x_18109_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18109_, 0, v___x_18107_); -lean_ctor_set(v___x_18109_, 1, v___x_18108_); -lean_inc_ref(v_value_18102_); -v___x_18110_ = l_Lean_MessageData_ofExpr(v_value_18102_); -v___x_18111_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18111_, 0, v___x_18109_); -lean_ctor_set(v___x_18111_, 1, v___x_18110_); -v___x_18112_ = l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg(v___x_18094_, v___x_18111_, v___y_18082_, v___y_18083_, v___y_18084_, v___y_18085_); -if (lean_obj_tag(v___x_18112_) == 0) +lean_object* v_a_18139_; lean_object* v_declName_18140_; lean_object* v_type_18141_; lean_object* v_value_18142_; lean_object* v___x_18143_; lean_object* v___x_18144_; lean_object* v___x_18145_; lean_object* v___x_18146_; lean_object* v___x_18147_; lean_object* v___x_18148_; lean_object* v___x_18149_; lean_object* v___x_18150_; lean_object* v___x_18151_; lean_object* v___x_18152_; +v_a_18139_ = lean_array_uget_borrowed(v_as_18118_, v_i_18120_); +v_declName_18140_ = lean_ctor_get(v_a_18139_, 3); +v_type_18141_ = lean_ctor_get(v_a_18139_, 6); +v_value_18142_ = lean_ctor_get(v_a_18139_, 7); +lean_inc(v_declName_18140_); +v___x_18143_ = l_Lean_MessageData_ofName(v_declName_18140_); +v___x_18144_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2); +v___x_18145_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18145_, 0, v___x_18143_); +lean_ctor_set(v___x_18145_, 1, v___x_18144_); +lean_inc_ref(v_type_18141_); +v___x_18146_ = l_Lean_MessageData_ofExpr(v_type_18141_); +v___x_18147_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18147_, 0, v___x_18145_); +lean_ctor_set(v___x_18147_, 1, v___x_18146_); +v___x_18148_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4); +v___x_18149_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18149_, 0, v___x_18147_); +lean_ctor_set(v___x_18149_, 1, v___x_18148_); +lean_inc_ref(v_value_18142_); +v___x_18150_ = l_Lean_MessageData_ofExpr(v_value_18142_); +v___x_18151_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18151_, 0, v___x_18149_); +lean_ctor_set(v___x_18151_, 1, v___x_18150_); +v___x_18152_ = l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg(v___x_18134_, v___x_18151_, v___y_18122_, v___y_18123_, v___y_18124_, v___y_18125_); +if (lean_obj_tag(v___x_18152_) == 0) { -lean_dec_ref(v___x_18112_); -v_a_18088_ = v___x_18097_; -goto v___jp_18087_; +lean_dec_ref(v___x_18152_); +v_a_18128_ = v___x_18137_; +goto v___jp_18127_; } else { -return v___x_18112_; +return v___x_18152_; } } } else { -lean_object* v_a_18113_; lean_object* v___x_18115_; uint8_t v_isShared_18116_; uint8_t v_isSharedCheck_18120_; -v_a_18113_ = lean_ctor_get(v___x_18095_, 0); -v_isSharedCheck_18120_ = !lean_is_exclusive(v___x_18095_); -if (v_isSharedCheck_18120_ == 0) +lean_object* v_a_18153_; lean_object* v___x_18155_; uint8_t v_isShared_18156_; uint8_t v_isSharedCheck_18160_; +v_a_18153_ = lean_ctor_get(v___x_18135_, 0); +v_isSharedCheck_18160_ = !lean_is_exclusive(v___x_18135_); +if (v_isSharedCheck_18160_ == 0) { -v___x_18115_ = v___x_18095_; -v_isShared_18116_ = v_isSharedCheck_18120_; -goto v_resetjp_18114_; +v___x_18155_ = v___x_18135_; +v_isShared_18156_ = v_isSharedCheck_18160_; +goto v_resetjp_18154_; } else { -lean_inc(v_a_18113_); -lean_dec(v___x_18095_); -v___x_18115_ = lean_box(0); -v_isShared_18116_ = v_isSharedCheck_18120_; -goto v_resetjp_18114_; +lean_inc(v_a_18153_); +lean_dec(v___x_18135_); +v___x_18155_ = lean_box(0); +v_isShared_18156_ = v_isSharedCheck_18160_; +goto v_resetjp_18154_; } -v_resetjp_18114_: +v_resetjp_18154_: { -lean_object* v___x_18118_; -if (v_isShared_18116_ == 0) +lean_object* v___x_18158_; +if (v_isShared_18156_ == 0) { -v___x_18118_ = v___x_18115_; -goto v_reusejp_18117_; +v___x_18158_ = v___x_18155_; +goto v_reusejp_18157_; } else { -lean_object* v_reuseFailAlloc_18119_; -v_reuseFailAlloc_18119_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18119_, 0, v_a_18113_); -v___x_18118_ = v_reuseFailAlloc_18119_; -goto v_reusejp_18117_; +lean_object* v_reuseFailAlloc_18159_; +v_reuseFailAlloc_18159_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18159_, 0, v_a_18153_); +v___x_18158_ = v_reuseFailAlloc_18159_; +goto v_reusejp_18157_; } -v_reusejp_18117_: +v_reusejp_18157_: { -return v___x_18118_; +return v___x_18158_; } } } } -v___jp_18087_: +v___jp_18127_: { -size_t v___x_18089_; size_t v___x_18090_; -v___x_18089_ = ((size_t)1ULL); -v___x_18090_ = lean_usize_add(v_i_18080_, v___x_18089_); -v_i_18080_ = v___x_18090_; -v_b_18081_ = v_a_18088_; +size_t v___x_18129_; size_t v___x_18130_; +v___x_18129_ = ((size_t)1ULL); +v___x_18130_ = lean_usize_add(v_i_18120_, v___x_18129_); +v_i_18120_ = v___x_18130_; +v_b_18121_ = v_a_18128_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___boxed(lean_object* v_as_18121_, lean_object* v_sz_18122_, lean_object* v_i_18123_, lean_object* v_b_18124_, lean_object* v___y_18125_, lean_object* v___y_18126_, lean_object* v___y_18127_, lean_object* v___y_18128_, lean_object* v___y_18129_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___boxed(lean_object* v_as_18161_, lean_object* v_sz_18162_, lean_object* v_i_18163_, lean_object* v_b_18164_, lean_object* v___y_18165_, lean_object* v___y_18166_, lean_object* v___y_18167_, lean_object* v___y_18168_, lean_object* v___y_18169_){ _start: { -size_t v_sz_boxed_18130_; size_t v_i_boxed_18131_; lean_object* v_res_18132_; -v_sz_boxed_18130_ = lean_unbox_usize(v_sz_18122_); -lean_dec(v_sz_18122_); -v_i_boxed_18131_ = lean_unbox_usize(v_i_18123_); -lean_dec(v_i_18123_); -v_res_18132_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_as_18121_, v_sz_boxed_18130_, v_i_boxed_18131_, v_b_18124_, v___y_18125_, v___y_18126_, v___y_18127_, v___y_18128_); -lean_dec(v___y_18128_); -lean_dec_ref(v___y_18127_); -lean_dec(v___y_18126_); -lean_dec_ref(v___y_18125_); -lean_dec_ref(v_as_18121_); -return v_res_18132_; +size_t v_sz_boxed_18170_; size_t v_i_boxed_18171_; lean_object* v_res_18172_; +v_sz_boxed_18170_ = lean_unbox_usize(v_sz_18162_); +lean_dec(v_sz_18162_); +v_i_boxed_18171_ = lean_unbox_usize(v_i_18163_); +lean_dec(v_i_18163_); +v_res_18172_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_as_18161_, v_sz_boxed_18170_, v_i_boxed_18171_, v_b_18164_, v___y_18165_, v___y_18166_, v___y_18167_, v___y_18168_); +lean_dec(v___y_18168_); +lean_dec_ref(v___y_18167_); +lean_dec(v___y_18166_); +lean_dec_ref(v___y_18165_); +lean_dec_ref(v_as_18161_); +return v_res_18172_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1(void){ _start: { -lean_object* v___x_18134_; lean_object* v___x_18135_; -v___x_18134_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__0)); -v___x_18135_ = l_Lean_stringToMessageData(v___x_18134_); -return v___x_18135_; +lean_object* v___x_18174_; lean_object* v___x_18175_; +v___x_18174_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__0)); +v___x_18175_ = l_Lean_stringToMessageData(v___x_18174_); +return v___x_18175_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(lean_object* v_as_18136_, size_t v_sz_18137_, size_t v_i_18138_, lean_object* v_b_18139_, lean_object* v___y_18140_, lean_object* v___y_18141_, lean_object* v___y_18142_, lean_object* v___y_18143_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(lean_object* v_as_18176_, size_t v_sz_18177_, size_t v_i_18178_, lean_object* v_b_18179_, lean_object* v___y_18180_, lean_object* v___y_18181_, lean_object* v___y_18182_, lean_object* v___y_18183_){ _start: { -lean_object* v_a_18146_; uint8_t v___x_18150_; -v___x_18150_ = lean_usize_dec_lt(v_i_18138_, v_sz_18137_); -if (v___x_18150_ == 0) +lean_object* v_a_18186_; uint8_t v___x_18190_; +v___x_18190_ = lean_usize_dec_lt(v_i_18178_, v_sz_18177_); +if (v___x_18190_ == 0) { -lean_object* v___x_18151_; -v___x_18151_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18151_, 0, v_b_18139_); -return v___x_18151_; +lean_object* v___x_18191_; +v___x_18191_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18191_, 0, v_b_18179_); +return v___x_18191_; } else { -lean_object* v___x_18152_; lean_object* v___x_18153_; -v___x_18152_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__0)); -v___x_18153_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg(v___x_18152_, v___y_18142_); -if (lean_obj_tag(v___x_18153_) == 0) +lean_object* v___x_18192_; lean_object* v___x_18193_; +v___x_18192_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__0)); +v___x_18193_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg(v___x_18192_, v___y_18182_); +if (lean_obj_tag(v___x_18193_) == 0) { -lean_object* v_a_18154_; lean_object* v___x_18155_; uint8_t v___x_18156_; -v_a_18154_ = lean_ctor_get(v___x_18153_, 0); -lean_inc(v_a_18154_); -lean_dec_ref(v___x_18153_); -v___x_18155_ = lean_box(0); -v___x_18156_ = lean_unbox(v_a_18154_); -lean_dec(v_a_18154_); -if (v___x_18156_ == 0) +lean_object* v_a_18194_; lean_object* v___x_18195_; uint8_t v___x_18196_; +v_a_18194_ = lean_ctor_get(v___x_18193_, 0); +lean_inc(v_a_18194_); +lean_dec_ref(v___x_18193_); +v___x_18195_ = lean_box(0); +v___x_18196_ = lean_unbox(v_a_18194_); +lean_dec(v_a_18194_); +if (v___x_18196_ == 0) { -v_a_18146_ = v___x_18155_; -goto v___jp_18145_; +v_a_18186_ = v___x_18195_; +goto v___jp_18185_; } else { -lean_object* v_a_18157_; lean_object* v_declName_18158_; lean_object* v_type_18159_; lean_object* v_value_18160_; lean_object* v___x_18161_; lean_object* v___x_18162_; lean_object* v___x_18163_; lean_object* v___x_18164_; lean_object* v___x_18165_; lean_object* v___x_18166_; lean_object* v___x_18167_; lean_object* v___x_18168_; lean_object* v___x_18169_; lean_object* v___x_18170_; lean_object* v___x_18171_; lean_object* v___x_18172_; -v_a_18157_ = lean_array_uget_borrowed(v_as_18136_, v_i_18138_); -v_declName_18158_ = lean_ctor_get(v_a_18157_, 3); -v_type_18159_ = lean_ctor_get(v_a_18157_, 6); -v_value_18160_ = lean_ctor_get(v_a_18157_, 7); -v___x_18161_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1); -lean_inc(v_declName_18158_); -v___x_18162_ = l_Lean_MessageData_ofName(v_declName_18158_); -v___x_18163_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18163_, 0, v___x_18161_); -lean_ctor_set(v___x_18163_, 1, v___x_18162_); -v___x_18164_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2); -v___x_18165_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18165_, 0, v___x_18163_); -lean_ctor_set(v___x_18165_, 1, v___x_18164_); -lean_inc_ref(v_type_18159_); -v___x_18166_ = l_Lean_MessageData_ofExpr(v_type_18159_); -v___x_18167_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18167_, 0, v___x_18165_); -lean_ctor_set(v___x_18167_, 1, v___x_18166_); -v___x_18168_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4); -v___x_18169_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18169_, 0, v___x_18167_); -lean_ctor_set(v___x_18169_, 1, v___x_18168_); -lean_inc_ref(v_value_18160_); -v___x_18170_ = l_Lean_MessageData_ofExpr(v_value_18160_); -v___x_18171_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_18171_, 0, v___x_18169_); -lean_ctor_set(v___x_18171_, 1, v___x_18170_); -v___x_18172_ = l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg(v___x_18152_, v___x_18171_, v___y_18140_, v___y_18141_, v___y_18142_, v___y_18143_); -if (lean_obj_tag(v___x_18172_) == 0) +lean_object* v_a_18197_; lean_object* v_declName_18198_; lean_object* v_type_18199_; lean_object* v_value_18200_; lean_object* v___x_18201_; lean_object* v___x_18202_; lean_object* v___x_18203_; lean_object* v___x_18204_; lean_object* v___x_18205_; lean_object* v___x_18206_; lean_object* v___x_18207_; lean_object* v___x_18208_; lean_object* v___x_18209_; lean_object* v___x_18210_; lean_object* v___x_18211_; lean_object* v___x_18212_; +v_a_18197_ = lean_array_uget_borrowed(v_as_18176_, v_i_18178_); +v_declName_18198_ = lean_ctor_get(v_a_18197_, 3); +v_type_18199_ = lean_ctor_get(v_a_18197_, 6); +v_value_18200_ = lean_ctor_get(v_a_18197_, 7); +v___x_18201_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___closed__1); +lean_inc(v_declName_18198_); +v___x_18202_ = l_Lean_MessageData_ofName(v_declName_18198_); +v___x_18203_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18203_, 0, v___x_18201_); +lean_ctor_set(v___x_18203_, 1, v___x_18202_); +v___x_18204_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__2); +v___x_18205_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18205_, 0, v___x_18203_); +lean_ctor_set(v___x_18205_, 1, v___x_18204_); +lean_inc_ref(v_type_18199_); +v___x_18206_ = l_Lean_MessageData_ofExpr(v_type_18199_); +v___x_18207_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18207_, 0, v___x_18205_); +lean_ctor_set(v___x_18207_, 1, v___x_18206_); +v___x_18208_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg___closed__4); +v___x_18209_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18209_, 0, v___x_18207_); +lean_ctor_set(v___x_18209_, 1, v___x_18208_); +lean_inc_ref(v_value_18200_); +v___x_18210_ = l_Lean_MessageData_ofExpr(v_value_18200_); +v___x_18211_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_18211_, 0, v___x_18209_); +lean_ctor_set(v___x_18211_, 1, v___x_18210_); +v___x_18212_ = l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg(v___x_18192_, v___x_18211_, v___y_18180_, v___y_18181_, v___y_18182_, v___y_18183_); +if (lean_obj_tag(v___x_18212_) == 0) { -lean_dec_ref(v___x_18172_); -v_a_18146_ = v___x_18155_; -goto v___jp_18145_; +lean_dec_ref(v___x_18212_); +v_a_18186_ = v___x_18195_; +goto v___jp_18185_; } else { -return v___x_18172_; +return v___x_18212_; } } } else { -lean_object* v_a_18173_; lean_object* v___x_18175_; uint8_t v_isShared_18176_; uint8_t v_isSharedCheck_18180_; -v_a_18173_ = lean_ctor_get(v___x_18153_, 0); -v_isSharedCheck_18180_ = !lean_is_exclusive(v___x_18153_); -if (v_isSharedCheck_18180_ == 0) +lean_object* v_a_18213_; lean_object* v___x_18215_; uint8_t v_isShared_18216_; uint8_t v_isSharedCheck_18220_; +v_a_18213_ = lean_ctor_get(v___x_18193_, 0); +v_isSharedCheck_18220_ = !lean_is_exclusive(v___x_18193_); +if (v_isSharedCheck_18220_ == 0) { -v___x_18175_ = v___x_18153_; -v_isShared_18176_ = v_isSharedCheck_18180_; -goto v_resetjp_18174_; +v___x_18215_ = v___x_18193_; +v_isShared_18216_ = v_isSharedCheck_18220_; +goto v_resetjp_18214_; } else { -lean_inc(v_a_18173_); -lean_dec(v___x_18153_); -v___x_18175_ = lean_box(0); -v_isShared_18176_ = v_isSharedCheck_18180_; -goto v_resetjp_18174_; +lean_inc(v_a_18213_); +lean_dec(v___x_18193_); +v___x_18215_ = lean_box(0); +v_isShared_18216_ = v_isSharedCheck_18220_; +goto v_resetjp_18214_; } -v_resetjp_18174_: +v_resetjp_18214_: { -lean_object* v___x_18178_; -if (v_isShared_18176_ == 0) +lean_object* v___x_18218_; +if (v_isShared_18216_ == 0) { -v___x_18178_ = v___x_18175_; -goto v_reusejp_18177_; +v___x_18218_ = v___x_18215_; +goto v_reusejp_18217_; } else { -lean_object* v_reuseFailAlloc_18179_; -v_reuseFailAlloc_18179_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18179_, 0, v_a_18173_); -v___x_18178_ = v_reuseFailAlloc_18179_; -goto v_reusejp_18177_; +lean_object* v_reuseFailAlloc_18219_; +v_reuseFailAlloc_18219_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18219_, 0, v_a_18213_); +v___x_18218_ = v_reuseFailAlloc_18219_; +goto v_reusejp_18217_; } -v_reusejp_18177_: +v_reusejp_18217_: { -return v___x_18178_; +return v___x_18218_; } } } } -v___jp_18145_: +v___jp_18185_: { -size_t v___x_18147_; size_t v___x_18148_; -v___x_18147_ = ((size_t)1ULL); -v___x_18148_ = lean_usize_add(v_i_18138_, v___x_18147_); -v_i_18138_ = v___x_18148_; -v_b_18139_ = v_a_18146_; +size_t v___x_18187_; size_t v___x_18188_; +v___x_18187_ = ((size_t)1ULL); +v___x_18188_ = lean_usize_add(v_i_18178_, v___x_18187_); +v_i_18178_ = v___x_18188_; +v_b_18179_ = v_a_18186_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___boxed(lean_object* v_as_18181_, lean_object* v_sz_18182_, lean_object* v_i_18183_, lean_object* v_b_18184_, lean_object* v___y_18185_, lean_object* v___y_18186_, lean_object* v___y_18187_, lean_object* v___y_18188_, lean_object* v___y_18189_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg___boxed(lean_object* v_as_18221_, lean_object* v_sz_18222_, lean_object* v_i_18223_, lean_object* v_b_18224_, lean_object* v___y_18225_, lean_object* v___y_18226_, lean_object* v___y_18227_, lean_object* v___y_18228_, lean_object* v___y_18229_){ _start: { -size_t v_sz_boxed_18190_; size_t v_i_boxed_18191_; lean_object* v_res_18192_; -v_sz_boxed_18190_ = lean_unbox_usize(v_sz_18182_); -lean_dec(v_sz_18182_); -v_i_boxed_18191_ = lean_unbox_usize(v_i_18183_); -lean_dec(v_i_18183_); -v_res_18192_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_as_18181_, v_sz_boxed_18190_, v_i_boxed_18191_, v_b_18184_, v___y_18185_, v___y_18186_, v___y_18187_, v___y_18188_); -lean_dec(v___y_18188_); -lean_dec_ref(v___y_18187_); -lean_dec(v___y_18186_); -lean_dec_ref(v___y_18185_); -lean_dec_ref(v_as_18181_); -return v_res_18192_; +size_t v_sz_boxed_18230_; size_t v_i_boxed_18231_; lean_object* v_res_18232_; +v_sz_boxed_18230_ = lean_unbox_usize(v_sz_18222_); +lean_dec(v_sz_18222_); +v_i_boxed_18231_ = lean_unbox_usize(v_i_18223_); +lean_dec(v_i_18223_); +v_res_18232_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_as_18221_, v_sz_boxed_18230_, v_i_boxed_18231_, v_b_18224_, v___y_18225_, v___y_18226_, v___y_18227_, v___y_18228_); +lean_dec(v___y_18228_); +lean_dec_ref(v___y_18227_); +lean_dec(v___y_18226_); +lean_dec_ref(v___y_18225_); +lean_dec_ref(v_as_18221_); +return v_res_18232_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1(lean_object* v_a_18193_, lean_object* v_funFVars_18194_, lean_object* v_a_18195_, lean_object* v_a_18196_, size_t v___x_18197_, lean_object* v___x_18198_, lean_object* v_vars_18199_, lean_object* v___y_18200_, lean_object* v___y_18201_, lean_object* v___y_18202_, lean_object* v___y_18203_, lean_object* v___y_18204_, lean_object* v___y_18205_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1(lean_object* v_a_18233_, lean_object* v_funFVars_18234_, lean_object* v_a_18235_, lean_object* v_a_18236_, size_t v___x_18237_, lean_object* v___x_18238_, lean_object* v_vars_18239_, lean_object* v___y_18240_, lean_object* v___y_18241_, lean_object* v___y_18242_, lean_object* v___y_18243_, lean_object* v___y_18244_, lean_object* v___y_18245_){ _start: { -lean_object* v___x_18207_; -lean_inc(v___y_18205_); -lean_inc_ref(v___y_18204_); -lean_inc(v___y_18203_); -lean_inc_ref(v___y_18202_); -lean_inc(v___y_18201_); -lean_inc_ref(v___y_18200_); -lean_inc_ref(v_a_18193_); -v___x_18207_ = l_Lean_Elab_Term_MutualClosure_main(v_vars_18199_, v_a_18193_, v_funFVars_18194_, v_a_18195_, v_a_18196_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18207_) == 0) +lean_object* v___x_18247_; +lean_inc(v___y_18245_); +lean_inc_ref(v___y_18244_); +lean_inc(v___y_18243_); +lean_inc_ref(v___y_18242_); +lean_inc(v___y_18241_); +lean_inc_ref(v___y_18240_); +lean_inc_ref(v_a_18233_); +v___x_18247_ = l_Lean_Elab_Term_MutualClosure_main(v_vars_18239_, v_a_18233_, v_funFVars_18234_, v_a_18235_, v_a_18236_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18247_) == 0) { -lean_object* v_a_18208_; lean_object* v___x_18209_; -v_a_18208_ = lean_ctor_get(v___x_18207_, 0); -lean_inc(v_a_18208_); -lean_dec_ref(v___x_18207_); -lean_inc_ref(v___y_18204_); -lean_inc_ref(v___y_18200_); -v___x_18209_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(v_a_18208_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18209_) == 0) +lean_object* v_a_18248_; lean_object* v___x_18249_; +v_a_18248_ = lean_ctor_get(v___x_18247_, 0); +lean_inc(v_a_18248_); +lean_dec_ref(v___x_18247_); +lean_inc_ref(v___y_18244_); +lean_inc_ref(v___y_18240_); +v___x_18249_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct(v_a_18248_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18249_) == 0) { -lean_object* v___x_18210_; size_t v_sz_18211_; lean_object* v___x_18212_; -lean_dec_ref(v___x_18209_); -v___x_18210_ = lean_box(0); -v_sz_18211_ = lean_array_size(v_a_18208_); -v___x_18212_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_a_18208_, v_sz_18211_, v___x_18197_, v___x_18210_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18212_) == 0) +lean_object* v___x_18250_; size_t v_sz_18251_; lean_object* v___x_18252_; +lean_dec_ref(v___x_18249_); +v___x_18250_ = lean_box(0); +v_sz_18251_ = lean_array_size(v_a_18248_); +v___x_18252_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_a_18248_, v_sz_18251_, v___x_18237_, v___x_18250_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18252_) == 0) { -lean_object* v___x_18213_; lean_object* v___x_18214_; lean_object* v___x_18215_; -lean_dec_ref(v___x_18212_); -v___x_18213_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v_a_18193_); -lean_dec_ref(v_a_18193_); -v___x_18214_ = lean_alloc_closure((void*)(l_Lean_Elab_levelMVarToParamTypesPreDecls___boxed), 8, 1); -lean_closure_set(v___x_18214_, 0, v_a_18208_); -lean_inc(v___y_18205_); -lean_inc_ref(v___y_18204_); -lean_inc(v___y_18203_); -lean_inc_ref(v___y_18202_); -lean_inc(v___y_18201_); -lean_inc_ref(v___y_18200_); -lean_inc(v___x_18213_); -v___x_18215_ = l_Lean_Elab_Term_withLevelNames___redArg(v___x_18213_, v___x_18214_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18215_) == 0) +lean_object* v___x_18253_; lean_object* v___x_18254_; lean_object* v___x_18255_; +lean_dec_ref(v___x_18252_); +v___x_18253_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v_a_18233_); +lean_dec_ref(v_a_18233_); +v___x_18254_ = lean_alloc_closure((void*)(l_Lean_Elab_levelMVarToParamTypesPreDecls___boxed), 8, 1); +lean_closure_set(v___x_18254_, 0, v_a_18248_); +lean_inc(v___y_18245_); +lean_inc_ref(v___y_18244_); +lean_inc(v___y_18243_); +lean_inc_ref(v___y_18242_); +lean_inc(v___y_18241_); +lean_inc_ref(v___y_18240_); +lean_inc(v___x_18253_); +v___x_18255_ = l_Lean_Elab_Term_withLevelNames___redArg(v___x_18253_, v___x_18254_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18255_) == 0) { -lean_object* v_a_18216_; lean_object* v___x_18217_; -v_a_18216_ = lean_ctor_get(v___x_18215_, 0); -lean_inc(v_a_18216_); -lean_dec_ref(v___x_18215_); -v___x_18217_ = l_Lean_Elab_instantiateMVarsAtPreDecls(v_a_18216_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18217_) == 0) +lean_object* v_a_18256_; lean_object* v___x_18257_; +v_a_18256_ = lean_ctor_get(v___x_18255_, 0); +lean_inc(v_a_18256_); +lean_dec_ref(v___x_18255_); +v___x_18257_ = l_Lean_Elab_instantiateMVarsAtPreDecls(v_a_18256_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18257_) == 0) { -lean_object* v_a_18218_; lean_object* v___x_18219_; -v_a_18218_ = lean_ctor_get(v___x_18217_, 0); -lean_inc(v_a_18218_); -lean_dec_ref(v___x_18217_); -lean_inc(v___y_18205_); -lean_inc_ref(v___y_18204_); -v___x_18219_ = l_Lean_Elab_shareCommonPreDefs(v_a_18218_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18219_) == 0) -{ -lean_object* v_a_18220_; lean_object* v___x_18221_; -v_a_18220_ = lean_ctor_get(v___x_18219_, 0); -lean_inc(v_a_18220_); -lean_dec_ref(v___x_18219_); -v___x_18221_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_18201_); -if (lean_obj_tag(v___x_18221_) == 0) -{ -lean_object* v_a_18222_; lean_object* v___x_18223_; -v_a_18222_ = lean_ctor_get(v___x_18221_, 0); -lean_inc(v_a_18222_); -lean_dec_ref(v___x_18221_); -lean_inc(v___y_18205_); -lean_inc_ref(v___y_18204_); -lean_inc(v___y_18203_); -lean_inc_ref(v___y_18202_); -lean_inc(v___y_18201_); -lean_inc_ref(v___y_18200_); -v___x_18223_ = l_Lean_Elab_fixLevelParams(v_a_18220_, v_a_18222_, v___x_18213_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18223_) == 0) -{ -lean_object* v_a_18224_; size_t v_sz_18225_; lean_object* v___x_18226_; -v_a_18224_ = lean_ctor_get(v___x_18223_, 0); -lean_inc(v_a_18224_); -lean_dec_ref(v___x_18223_); -v_sz_18225_ = lean_array_size(v_a_18224_); -v___x_18226_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_a_18224_, v_sz_18225_, v___x_18197_, v___x_18210_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -if (lean_obj_tag(v___x_18226_) == 0) -{ -lean_object* v___x_18227_; -lean_dec_ref(v___x_18226_); -v___x_18227_ = l_Lean_Elab_addPreDefinitions(v___x_18198_, v_a_18224_, v___y_18200_, v___y_18201_, v___y_18202_, v___y_18203_, v___y_18204_, v___y_18205_); -return v___x_18227_; -} -else -{ -lean_dec(v_a_18224_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -return v___x_18226_; -} -} -else -{ -lean_object* v_a_18228_; lean_object* v___x_18230_; uint8_t v_isShared_18231_; uint8_t v_isSharedCheck_18235_; -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -v_a_18228_ = lean_ctor_get(v___x_18223_, 0); -v_isSharedCheck_18235_ = !lean_is_exclusive(v___x_18223_); -if (v_isSharedCheck_18235_ == 0) -{ -v___x_18230_ = v___x_18223_; -v_isShared_18231_ = v_isSharedCheck_18235_; -goto v_resetjp_18229_; -} -else -{ -lean_inc(v_a_18228_); -lean_dec(v___x_18223_); -v___x_18230_ = lean_box(0); -v_isShared_18231_ = v_isSharedCheck_18235_; -goto v_resetjp_18229_; -} -v_resetjp_18229_: -{ -lean_object* v___x_18233_; -if (v_isShared_18231_ == 0) -{ -v___x_18233_ = v___x_18230_; -goto v_reusejp_18232_; -} -else -{ -lean_object* v_reuseFailAlloc_18234_; -v_reuseFailAlloc_18234_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18234_, 0, v_a_18228_); -v___x_18233_ = v_reuseFailAlloc_18234_; -goto v_reusejp_18232_; -} -v_reusejp_18232_: -{ -return v___x_18233_; -} -} -} -} -else -{ -lean_object* v_a_18236_; lean_object* v___x_18238_; uint8_t v_isShared_18239_; uint8_t v_isSharedCheck_18243_; -lean_dec(v_a_18220_); -lean_dec(v___x_18213_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -v_a_18236_ = lean_ctor_get(v___x_18221_, 0); -v_isSharedCheck_18243_ = !lean_is_exclusive(v___x_18221_); -if (v_isSharedCheck_18243_ == 0) -{ -v___x_18238_ = v___x_18221_; -v_isShared_18239_ = v_isSharedCheck_18243_; -goto v_resetjp_18237_; -} -else -{ -lean_inc(v_a_18236_); -lean_dec(v___x_18221_); -v___x_18238_ = lean_box(0); -v_isShared_18239_ = v_isSharedCheck_18243_; -goto v_resetjp_18237_; -} -v_resetjp_18237_: -{ -lean_object* v___x_18241_; -if (v_isShared_18239_ == 0) -{ -v___x_18241_ = v___x_18238_; -goto v_reusejp_18240_; -} -else -{ -lean_object* v_reuseFailAlloc_18242_; -v_reuseFailAlloc_18242_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18242_, 0, v_a_18236_); -v___x_18241_ = v_reuseFailAlloc_18242_; -goto v_reusejp_18240_; -} -v_reusejp_18240_: -{ -return v___x_18241_; -} -} -} -} -else -{ -lean_object* v_a_18244_; lean_object* v___x_18246_; uint8_t v_isShared_18247_; uint8_t v_isSharedCheck_18251_; -lean_dec(v___x_18213_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -v_a_18244_ = lean_ctor_get(v___x_18219_, 0); -v_isSharedCheck_18251_ = !lean_is_exclusive(v___x_18219_); -if (v_isSharedCheck_18251_ == 0) -{ -v___x_18246_ = v___x_18219_; -v_isShared_18247_ = v_isSharedCheck_18251_; -goto v_resetjp_18245_; -} -else -{ -lean_inc(v_a_18244_); -lean_dec(v___x_18219_); -v___x_18246_ = lean_box(0); -v_isShared_18247_ = v_isSharedCheck_18251_; -goto v_resetjp_18245_; -} -v_resetjp_18245_: -{ -lean_object* v___x_18249_; -if (v_isShared_18247_ == 0) -{ -v___x_18249_ = v___x_18246_; -goto v_reusejp_18248_; -} -else -{ -lean_object* v_reuseFailAlloc_18250_; -v_reuseFailAlloc_18250_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18250_, 0, v_a_18244_); -v___x_18249_ = v_reuseFailAlloc_18250_; -goto v_reusejp_18248_; -} -v_reusejp_18248_: -{ -return v___x_18249_; -} -} -} -} -else -{ -lean_object* v_a_18252_; lean_object* v___x_18254_; uint8_t v_isShared_18255_; uint8_t v_isSharedCheck_18259_; -lean_dec(v___x_18213_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -v_a_18252_ = lean_ctor_get(v___x_18217_, 0); -v_isSharedCheck_18259_ = !lean_is_exclusive(v___x_18217_); -if (v_isSharedCheck_18259_ == 0) -{ -v___x_18254_ = v___x_18217_; -v_isShared_18255_ = v_isSharedCheck_18259_; -goto v_resetjp_18253_; -} -else -{ -lean_inc(v_a_18252_); -lean_dec(v___x_18217_); -v___x_18254_ = lean_box(0); -v_isShared_18255_ = v_isSharedCheck_18259_; -goto v_resetjp_18253_; -} -v_resetjp_18253_: -{ -lean_object* v___x_18257_; -if (v_isShared_18255_ == 0) -{ -v___x_18257_ = v___x_18254_; -goto v_reusejp_18256_; -} -else -{ -lean_object* v_reuseFailAlloc_18258_; -v_reuseFailAlloc_18258_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18258_, 0, v_a_18252_); -v___x_18257_ = v_reuseFailAlloc_18258_; -goto v_reusejp_18256_; -} -v_reusejp_18256_: -{ -return v___x_18257_; -} -} -} -} -else -{ -lean_object* v_a_18260_; lean_object* v___x_18262_; uint8_t v_isShared_18263_; uint8_t v_isSharedCheck_18267_; -lean_dec(v___x_18213_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -v_a_18260_ = lean_ctor_get(v___x_18215_, 0); -v_isSharedCheck_18267_ = !lean_is_exclusive(v___x_18215_); -if (v_isSharedCheck_18267_ == 0) -{ -v___x_18262_ = v___x_18215_; -v_isShared_18263_ = v_isSharedCheck_18267_; -goto v_resetjp_18261_; -} -else +lean_object* v_a_18258_; lean_object* v___x_18259_; +v_a_18258_ = lean_ctor_get(v___x_18257_, 0); +lean_inc(v_a_18258_); +lean_dec_ref(v___x_18257_); +lean_inc(v___y_18245_); +lean_inc_ref(v___y_18244_); +v___x_18259_ = l_Lean_Elab_shareCommonPreDefs(v_a_18258_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18259_) == 0) { +lean_object* v_a_18260_; lean_object* v___x_18261_; +v_a_18260_ = lean_ctor_get(v___x_18259_, 0); lean_inc(v_a_18260_); -lean_dec(v___x_18215_); -v___x_18262_ = lean_box(0); -v_isShared_18263_ = v_isSharedCheck_18267_; -goto v_resetjp_18261_; -} -v_resetjp_18261_: +lean_dec_ref(v___x_18259_); +v___x_18261_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_18241_); +if (lean_obj_tag(v___x_18261_) == 0) { -lean_object* v___x_18265_; -if (v_isShared_18263_ == 0) +lean_object* v_a_18262_; lean_object* v___x_18263_; +v_a_18262_ = lean_ctor_get(v___x_18261_, 0); +lean_inc(v_a_18262_); +lean_dec_ref(v___x_18261_); +lean_inc(v___y_18245_); +lean_inc_ref(v___y_18244_); +lean_inc(v___y_18243_); +lean_inc_ref(v___y_18242_); +lean_inc(v___y_18241_); +lean_inc_ref(v___y_18240_); +v___x_18263_ = l_Lean_Elab_fixLevelParams(v_a_18260_, v_a_18262_, v___x_18253_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18263_) == 0) { -v___x_18265_ = v___x_18262_; -goto v_reusejp_18264_; +lean_object* v_a_18264_; size_t v_sz_18265_; lean_object* v___x_18266_; +v_a_18264_ = lean_ctor_get(v___x_18263_, 0); +lean_inc(v_a_18264_); +lean_dec_ref(v___x_18263_); +v_sz_18265_ = lean_array_size(v_a_18264_); +v___x_18266_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_a_18264_, v_sz_18265_, v___x_18237_, v___x_18250_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +if (lean_obj_tag(v___x_18266_) == 0) +{ +lean_object* v___x_18267_; +lean_dec_ref(v___x_18266_); +v___x_18267_ = l_Lean_Elab_addPreDefinitions(v___x_18238_, v_a_18264_, v___y_18240_, v___y_18241_, v___y_18242_, v___y_18243_, v___y_18244_, v___y_18245_); +return v___x_18267_; } else { -lean_object* v_reuseFailAlloc_18266_; -v_reuseFailAlloc_18266_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18266_, 0, v_a_18260_); -v___x_18265_ = v_reuseFailAlloc_18266_; -goto v_reusejp_18264_; -} -v_reusejp_18264_: -{ -return v___x_18265_; -} -} -} -} -else -{ -lean_dec(v_a_18208_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -lean_dec_ref(v_a_18193_); -return v___x_18212_; -} -} -else -{ -lean_dec(v_a_18208_); -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -lean_dec_ref(v_a_18193_); -return v___x_18209_; +lean_dec(v_a_18264_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +return v___x_18266_; } } else { lean_object* v_a_18268_; lean_object* v___x_18270_; uint8_t v_isShared_18271_; uint8_t v_isSharedCheck_18275_; -lean_dec(v___y_18205_); -lean_dec_ref(v___y_18204_); -lean_dec(v___y_18203_); -lean_dec_ref(v___y_18202_); -lean_dec(v___y_18201_); -lean_dec_ref(v___y_18200_); -lean_dec_ref(v___x_18198_); -lean_dec_ref(v_a_18193_); -v_a_18268_ = lean_ctor_get(v___x_18207_, 0); -v_isSharedCheck_18275_ = !lean_is_exclusive(v___x_18207_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +v_a_18268_ = lean_ctor_get(v___x_18263_, 0); +v_isSharedCheck_18275_ = !lean_is_exclusive(v___x_18263_); if (v_isSharedCheck_18275_ == 0) { -v___x_18270_ = v___x_18207_; +v___x_18270_ = v___x_18263_; v_isShared_18271_ = v_isSharedCheck_18275_; goto v_resetjp_18269_; } else { lean_inc(v_a_18268_); -lean_dec(v___x_18207_); +lean_dec(v___x_18263_); v___x_18270_ = lean_box(0); v_isShared_18271_ = v_isSharedCheck_18275_; goto v_resetjp_18269_; @@ -52505,537 +52381,816 @@ return v___x_18273_; } } } -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1___boxed(lean_object* v_a_18276_, lean_object* v_funFVars_18277_, lean_object* v_a_18278_, lean_object* v_a_18279_, lean_object* v___x_18280_, lean_object* v___x_18281_, lean_object* v_vars_18282_, lean_object* v___y_18283_, lean_object* v___y_18284_, lean_object* v___y_18285_, lean_object* v___y_18286_, lean_object* v___y_18287_, lean_object* v___y_18288_, lean_object* v___y_18289_){ -_start: +else { -size_t v___x_43878__boxed_18290_; lean_object* v_res_18291_; -v___x_43878__boxed_18290_ = lean_unbox_usize(v___x_18280_); -lean_dec(v___x_18280_); -v_res_18291_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1(v_a_18276_, v_funFVars_18277_, v_a_18278_, v_a_18279_, v___x_43878__boxed_18290_, v___x_18281_, v_vars_18282_, v___y_18283_, v___y_18284_, v___y_18285_, v___y_18286_, v___y_18287_, v___y_18288_); -lean_dec_ref(v_vars_18282_); -return v_res_18291_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(lean_object* v_as_18292_, size_t v_i_18293_, size_t v_stop_18294_){ -_start: +lean_object* v_a_18276_; lean_object* v___x_18278_; uint8_t v_isShared_18279_; uint8_t v_isSharedCheck_18283_; +lean_dec(v_a_18260_); +lean_dec(v___x_18253_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +v_a_18276_ = lean_ctor_get(v___x_18261_, 0); +v_isSharedCheck_18283_ = !lean_is_exclusive(v___x_18261_); +if (v_isSharedCheck_18283_ == 0) { -uint8_t v___x_18295_; -v___x_18295_ = lean_usize_dec_eq(v_i_18293_, v_stop_18294_); -if (v___x_18295_ == 0) -{ -lean_object* v___x_18296_; lean_object* v_toDefView_18297_; uint8_t v_kind_18298_; uint8_t v___x_18299_; uint8_t v___x_18300_; -v___x_18296_ = lean_array_uget_borrowed(v_as_18292_, v_i_18293_); -v_toDefView_18297_ = lean_ctor_get(v___x_18296_, 0); -v_kind_18298_ = lean_ctor_get_uint8(v_toDefView_18297_, sizeof(void*)*10); -v___x_18299_ = 1; -v___x_18300_ = l_Lean_Elab_DefKind_isTheorem(v_kind_18298_); -if (v___x_18300_ == 0) -{ -return v___x_18299_; +v___x_18278_ = v___x_18261_; +v_isShared_18279_ = v_isSharedCheck_18283_; +goto v_resetjp_18277_; } else { -if (v___x_18295_ == 0) +lean_inc(v_a_18276_); +lean_dec(v___x_18261_); +v___x_18278_ = lean_box(0); +v_isShared_18279_ = v_isSharedCheck_18283_; +goto v_resetjp_18277_; +} +v_resetjp_18277_: { -size_t v___x_18301_; size_t v___x_18302_; -v___x_18301_ = ((size_t)1ULL); -v___x_18302_ = lean_usize_add(v_i_18293_, v___x_18301_); -v_i_18293_ = v___x_18302_; +lean_object* v___x_18281_; +if (v_isShared_18279_ == 0) +{ +v___x_18281_ = v___x_18278_; +goto v_reusejp_18280_; +} +else +{ +lean_object* v_reuseFailAlloc_18282_; +v_reuseFailAlloc_18282_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18282_, 0, v_a_18276_); +v___x_18281_ = v_reuseFailAlloc_18282_; +goto v_reusejp_18280_; +} +v_reusejp_18280_: +{ +return v___x_18281_; +} +} +} +} +else +{ +lean_object* v_a_18284_; lean_object* v___x_18286_; uint8_t v_isShared_18287_; uint8_t v_isSharedCheck_18291_; +lean_dec(v___x_18253_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +v_a_18284_ = lean_ctor_get(v___x_18259_, 0); +v_isSharedCheck_18291_ = !lean_is_exclusive(v___x_18259_); +if (v_isSharedCheck_18291_ == 0) +{ +v___x_18286_ = v___x_18259_; +v_isShared_18287_ = v_isSharedCheck_18291_; +goto v_resetjp_18285_; +} +else +{ +lean_inc(v_a_18284_); +lean_dec(v___x_18259_); +v___x_18286_ = lean_box(0); +v_isShared_18287_ = v_isSharedCheck_18291_; +goto v_resetjp_18285_; +} +v_resetjp_18285_: +{ +lean_object* v___x_18289_; +if (v_isShared_18287_ == 0) +{ +v___x_18289_ = v___x_18286_; +goto v_reusejp_18288_; +} +else +{ +lean_object* v_reuseFailAlloc_18290_; +v_reuseFailAlloc_18290_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18290_, 0, v_a_18284_); +v___x_18289_ = v_reuseFailAlloc_18290_; +goto v_reusejp_18288_; +} +v_reusejp_18288_: +{ +return v___x_18289_; +} +} +} +} +else +{ +lean_object* v_a_18292_; lean_object* v___x_18294_; uint8_t v_isShared_18295_; uint8_t v_isSharedCheck_18299_; +lean_dec(v___x_18253_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +v_a_18292_ = lean_ctor_get(v___x_18257_, 0); +v_isSharedCheck_18299_ = !lean_is_exclusive(v___x_18257_); +if (v_isSharedCheck_18299_ == 0) +{ +v___x_18294_ = v___x_18257_; +v_isShared_18295_ = v_isSharedCheck_18299_; +goto v_resetjp_18293_; +} +else +{ +lean_inc(v_a_18292_); +lean_dec(v___x_18257_); +v___x_18294_ = lean_box(0); +v_isShared_18295_ = v_isSharedCheck_18299_; +goto v_resetjp_18293_; +} +v_resetjp_18293_: +{ +lean_object* v___x_18297_; +if (v_isShared_18295_ == 0) +{ +v___x_18297_ = v___x_18294_; +goto v_reusejp_18296_; +} +else +{ +lean_object* v_reuseFailAlloc_18298_; +v_reuseFailAlloc_18298_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18298_, 0, v_a_18292_); +v___x_18297_ = v_reuseFailAlloc_18298_; +goto v_reusejp_18296_; +} +v_reusejp_18296_: +{ +return v___x_18297_; +} +} +} +} +else +{ +lean_object* v_a_18300_; lean_object* v___x_18302_; uint8_t v_isShared_18303_; uint8_t v_isSharedCheck_18307_; +lean_dec(v___x_18253_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +v_a_18300_ = lean_ctor_get(v___x_18255_, 0); +v_isSharedCheck_18307_ = !lean_is_exclusive(v___x_18255_); +if (v_isSharedCheck_18307_ == 0) +{ +v___x_18302_ = v___x_18255_; +v_isShared_18303_ = v_isSharedCheck_18307_; +goto v_resetjp_18301_; +} +else +{ +lean_inc(v_a_18300_); +lean_dec(v___x_18255_); +v___x_18302_ = lean_box(0); +v_isShared_18303_ = v_isSharedCheck_18307_; +goto v_resetjp_18301_; +} +v_resetjp_18301_: +{ +lean_object* v___x_18305_; +if (v_isShared_18303_ == 0) +{ +v___x_18305_ = v___x_18302_; +goto v_reusejp_18304_; +} +else +{ +lean_object* v_reuseFailAlloc_18306_; +v_reuseFailAlloc_18306_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18306_, 0, v_a_18300_); +v___x_18305_ = v_reuseFailAlloc_18306_; +goto v_reusejp_18304_; +} +v_reusejp_18304_: +{ +return v___x_18305_; +} +} +} +} +else +{ +lean_dec(v_a_18248_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +lean_dec_ref(v_a_18233_); +return v___x_18252_; +} +} +else +{ +lean_dec(v_a_18248_); +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +lean_dec_ref(v_a_18233_); +return v___x_18249_; +} +} +else +{ +lean_object* v_a_18308_; lean_object* v___x_18310_; uint8_t v_isShared_18311_; uint8_t v_isSharedCheck_18315_; +lean_dec(v___y_18245_); +lean_dec_ref(v___y_18244_); +lean_dec(v___y_18243_); +lean_dec_ref(v___y_18242_); +lean_dec(v___y_18241_); +lean_dec_ref(v___y_18240_); +lean_dec_ref(v___x_18238_); +lean_dec_ref(v_a_18233_); +v_a_18308_ = lean_ctor_get(v___x_18247_, 0); +v_isSharedCheck_18315_ = !lean_is_exclusive(v___x_18247_); +if (v_isSharedCheck_18315_ == 0) +{ +v___x_18310_ = v___x_18247_; +v_isShared_18311_ = v_isSharedCheck_18315_; +goto v_resetjp_18309_; +} +else +{ +lean_inc(v_a_18308_); +lean_dec(v___x_18247_); +v___x_18310_ = lean_box(0); +v_isShared_18311_ = v_isSharedCheck_18315_; +goto v_resetjp_18309_; +} +v_resetjp_18309_: +{ +lean_object* v___x_18313_; +if (v_isShared_18311_ == 0) +{ +v___x_18313_ = v___x_18310_; +goto v_reusejp_18312_; +} +else +{ +lean_object* v_reuseFailAlloc_18314_; +v_reuseFailAlloc_18314_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18314_, 0, v_a_18308_); +v___x_18313_ = v_reuseFailAlloc_18314_; +goto v_reusejp_18312_; +} +v_reusejp_18312_: +{ +return v___x_18313_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1___boxed(lean_object* v_a_18316_, lean_object* v_funFVars_18317_, lean_object* v_a_18318_, lean_object* v_a_18319_, lean_object* v___x_18320_, lean_object* v___x_18321_, lean_object* v_vars_18322_, lean_object* v___y_18323_, lean_object* v___y_18324_, lean_object* v___y_18325_, lean_object* v___y_18326_, lean_object* v___y_18327_, lean_object* v___y_18328_, lean_object* v___y_18329_){ +_start: +{ +size_t v___x_43878__boxed_18330_; lean_object* v_res_18331_; +v___x_43878__boxed_18330_ = lean_unbox_usize(v___x_18320_); +lean_dec(v___x_18320_); +v_res_18331_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1(v_a_18316_, v_funFVars_18317_, v_a_18318_, v_a_18319_, v___x_43878__boxed_18330_, v___x_18321_, v_vars_18322_, v___y_18323_, v___y_18324_, v___y_18325_, v___y_18326_, v___y_18327_, v___y_18328_); +lean_dec_ref(v_vars_18322_); +return v_res_18331_; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(lean_object* v_as_18332_, size_t v_i_18333_, size_t v_stop_18334_){ +_start: +{ +uint8_t v___x_18335_; +v___x_18335_ = lean_usize_dec_eq(v_i_18333_, v_stop_18334_); +if (v___x_18335_ == 0) +{ +lean_object* v___x_18336_; lean_object* v_toDefView_18337_; uint8_t v_kind_18338_; uint8_t v___x_18339_; uint8_t v___x_18340_; +v___x_18336_ = lean_array_uget_borrowed(v_as_18332_, v_i_18333_); +v_toDefView_18337_ = lean_ctor_get(v___x_18336_, 0); +v_kind_18338_ = lean_ctor_get_uint8(v_toDefView_18337_, sizeof(void*)*10); +v___x_18339_ = 1; +v___x_18340_ = l_Lean_Elab_DefKind_isTheorem(v_kind_18338_); +if (v___x_18340_ == 0) +{ +return v___x_18339_; +} +else +{ +if (v___x_18335_ == 0) +{ +size_t v___x_18341_; size_t v___x_18342_; +v___x_18341_ = ((size_t)1ULL); +v___x_18342_ = lean_usize_add(v_i_18333_, v___x_18341_); +v_i_18333_ = v___x_18342_; goto _start; } else { -return v___x_18299_; +return v___x_18339_; } } } else { -uint8_t v___x_18304_; -v___x_18304_ = 0; -return v___x_18304_; +uint8_t v___x_18344_; +v___x_18344_ = 0; +return v___x_18344_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12___boxed(lean_object* v_as_18305_, lean_object* v_i_18306_, lean_object* v_stop_18307_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12___boxed(lean_object* v_as_18345_, lean_object* v_i_18346_, lean_object* v_stop_18347_){ _start: { -size_t v_i_boxed_18308_; size_t v_stop_boxed_18309_; uint8_t v_res_18310_; lean_object* v_r_18311_; -v_i_boxed_18308_ = lean_unbox_usize(v_i_18306_); -lean_dec(v_i_18306_); -v_stop_boxed_18309_ = lean_unbox_usize(v_stop_18307_); -lean_dec(v_stop_18307_); -v_res_18310_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(v_as_18305_, v_i_boxed_18308_, v_stop_boxed_18309_); -lean_dec_ref(v_as_18305_); -v_r_18311_ = lean_box(v_res_18310_); -return v_r_18311_; +size_t v_i_boxed_18348_; size_t v_stop_boxed_18349_; uint8_t v_res_18350_; lean_object* v_r_18351_; +v_i_boxed_18348_ = lean_unbox_usize(v_i_18346_); +lean_dec(v_i_18346_); +v_stop_boxed_18349_ = lean_unbox_usize(v_stop_18347_); +lean_dec(v_stop_18347_); +v_res_18350_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(v_as_18345_, v_i_boxed_18348_, v_stop_boxed_18349_); +lean_dec_ref(v_as_18345_); +v_r_18351_ = lean_box(v_res_18350_); +return v_r_18351_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(lean_object* v_a_18312_, lean_object* v_fallback_18313_, lean_object* v_x_18314_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(lean_object* v_a_18352_, lean_object* v_fallback_18353_, lean_object* v_x_18354_){ _start: { -if (lean_obj_tag(v_x_18314_) == 0) +if (lean_obj_tag(v_x_18354_) == 0) { -lean_inc(v_fallback_18313_); -return v_fallback_18313_; +lean_inc(v_fallback_18353_); +return v_fallback_18353_; } else { -lean_object* v_key_18315_; lean_object* v_value_18316_; lean_object* v_tail_18317_; uint8_t v___x_18318_; -v_key_18315_ = lean_ctor_get(v_x_18314_, 0); -v_value_18316_ = lean_ctor_get(v_x_18314_, 1); -v_tail_18317_ = lean_ctor_get(v_x_18314_, 2); -v___x_18318_ = lean_name_eq(v_key_18315_, v_a_18312_); -if (v___x_18318_ == 0) +lean_object* v_key_18355_; lean_object* v_value_18356_; lean_object* v_tail_18357_; uint8_t v___x_18358_; +v_key_18355_ = lean_ctor_get(v_x_18354_, 0); +v_value_18356_ = lean_ctor_get(v_x_18354_, 1); +v_tail_18357_ = lean_ctor_get(v_x_18354_, 2); +v___x_18358_ = lean_name_eq(v_key_18355_, v_a_18352_); +if (v___x_18358_ == 0) { -v_x_18314_ = v_tail_18317_; +v_x_18354_ = v_tail_18357_; goto _start; } else { -lean_inc(v_value_18316_); -return v_value_18316_; +lean_inc(v_value_18356_); +return v_value_18356_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg___boxed(lean_object* v_a_18320_, lean_object* v_fallback_18321_, lean_object* v_x_18322_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg___boxed(lean_object* v_a_18360_, lean_object* v_fallback_18361_, lean_object* v_x_18362_){ _start: { -lean_object* v_res_18323_; -v_res_18323_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_18320_, v_fallback_18321_, v_x_18322_); -lean_dec(v_x_18322_); -lean_dec(v_fallback_18321_); -lean_dec(v_a_18320_); -return v_res_18323_; +lean_object* v_res_18363_; +v_res_18363_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_18360_, v_fallback_18361_, v_x_18362_); +lean_dec(v_x_18362_); +lean_dec(v_fallback_18361_); +lean_dec(v_a_18360_); +return v_res_18363_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(lean_object* v_m_18324_, lean_object* v_a_18325_, lean_object* v_fallback_18326_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(lean_object* v_m_18364_, lean_object* v_a_18365_, lean_object* v_fallback_18366_){ _start: { -lean_object* v_buckets_18327_; lean_object* v___x_18328_; uint64_t v___y_18330_; -v_buckets_18327_ = lean_ctor_get(v_m_18324_, 1); -v___x_18328_ = lean_array_get_size(v_buckets_18327_); -if (lean_obj_tag(v_a_18325_) == 0) +lean_object* v_buckets_18367_; lean_object* v___x_18368_; uint64_t v___y_18370_; +v_buckets_18367_ = lean_ctor_get(v_m_18364_, 1); +v___x_18368_ = lean_array_get_size(v_buckets_18367_); +if (lean_obj_tag(v_a_18365_) == 0) { -uint64_t v___x_18344_; -v___x_18344_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); -v___y_18330_ = v___x_18344_; -goto v___jp_18329_; +uint64_t v___x_18384_; +v___x_18384_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); +v___y_18370_ = v___x_18384_; +goto v___jp_18369_; } else { -uint64_t v_hash_18345_; -v_hash_18345_ = lean_ctor_get_uint64(v_a_18325_, sizeof(void*)*2); -v___y_18330_ = v_hash_18345_; -goto v___jp_18329_; +uint64_t v_hash_18385_; +v_hash_18385_ = lean_ctor_get_uint64(v_a_18365_, sizeof(void*)*2); +v___y_18370_ = v_hash_18385_; +goto v___jp_18369_; } -v___jp_18329_: +v___jp_18369_: { -uint64_t v___x_18331_; uint64_t v___x_18332_; uint64_t v_fold_18333_; uint64_t v___x_18334_; uint64_t v___x_18335_; uint64_t v___x_18336_; size_t v___x_18337_; size_t v___x_18338_; size_t v___x_18339_; size_t v___x_18340_; size_t v___x_18341_; lean_object* v___x_18342_; lean_object* v___x_18343_; -v___x_18331_ = 32ULL; -v___x_18332_ = lean_uint64_shift_right(v___y_18330_, v___x_18331_); -v_fold_18333_ = lean_uint64_xor(v___y_18330_, v___x_18332_); -v___x_18334_ = 16ULL; -v___x_18335_ = lean_uint64_shift_right(v_fold_18333_, v___x_18334_); -v___x_18336_ = lean_uint64_xor(v_fold_18333_, v___x_18335_); -v___x_18337_ = lean_uint64_to_usize(v___x_18336_); -v___x_18338_ = lean_usize_of_nat(v___x_18328_); -v___x_18339_ = ((size_t)1ULL); -v___x_18340_ = lean_usize_sub(v___x_18338_, v___x_18339_); -v___x_18341_ = lean_usize_land(v___x_18337_, v___x_18340_); -v___x_18342_ = lean_array_uget_borrowed(v_buckets_18327_, v___x_18341_); -v___x_18343_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_18325_, v_fallback_18326_, v___x_18342_); -return v___x_18343_; +uint64_t v___x_18371_; uint64_t v___x_18372_; uint64_t v_fold_18373_; uint64_t v___x_18374_; uint64_t v___x_18375_; uint64_t v___x_18376_; size_t v___x_18377_; size_t v___x_18378_; size_t v___x_18379_; size_t v___x_18380_; size_t v___x_18381_; lean_object* v___x_18382_; lean_object* v___x_18383_; +v___x_18371_ = 32ULL; +v___x_18372_ = lean_uint64_shift_right(v___y_18370_, v___x_18371_); +v_fold_18373_ = lean_uint64_xor(v___y_18370_, v___x_18372_); +v___x_18374_ = 16ULL; +v___x_18375_ = lean_uint64_shift_right(v_fold_18373_, v___x_18374_); +v___x_18376_ = lean_uint64_xor(v_fold_18373_, v___x_18375_); +v___x_18377_ = lean_uint64_to_usize(v___x_18376_); +v___x_18378_ = lean_usize_of_nat(v___x_18368_); +v___x_18379_ = ((size_t)1ULL); +v___x_18380_ = lean_usize_sub(v___x_18378_, v___x_18379_); +v___x_18381_ = lean_usize_land(v___x_18377_, v___x_18380_); +v___x_18382_ = lean_array_uget_borrowed(v_buckets_18367_, v___x_18381_); +v___x_18383_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_18365_, v_fallback_18366_, v___x_18382_); +return v___x_18383_; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg___boxed(lean_object* v_m_18346_, lean_object* v_a_18347_, lean_object* v_fallback_18348_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg___boxed(lean_object* v_m_18386_, lean_object* v_a_18387_, lean_object* v_fallback_18388_){ _start: { -lean_object* v_res_18349_; -v_res_18349_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v_m_18346_, v_a_18347_, v_fallback_18348_); -lean_dec(v_fallback_18348_); -lean_dec(v_a_18347_); -lean_dec_ref(v_m_18346_); -return v_res_18349_; +lean_object* v_res_18389_; +v_res_18389_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v_m_18386_, v_a_18387_, v_fallback_18388_); +lean_dec(v_fallback_18388_); +lean_dec(v_a_18387_); +lean_dec_ref(v_m_18386_); +return v_res_18389_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(lean_object* v___x_18352_, lean_object* v_as_18353_, size_t v_sz_18354_, size_t v_i_18355_, lean_object* v_b_18356_, lean_object* v___y_18357_, lean_object* v___y_18358_, lean_object* v___y_18359_, lean_object* v___y_18360_, lean_object* v___y_18361_, lean_object* v___y_18362_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(lean_object* v___x_18392_, lean_object* v_as_18393_, size_t v_sz_18394_, size_t v_i_18395_, lean_object* v_b_18396_, lean_object* v___y_18397_, lean_object* v___y_18398_, lean_object* v___y_18399_, lean_object* v___y_18400_, lean_object* v___y_18401_, lean_object* v___y_18402_){ _start: { -uint8_t v___x_18364_; -v___x_18364_ = lean_usize_dec_lt(v_i_18355_, v_sz_18354_); -if (v___x_18364_ == 0) +uint8_t v___x_18404_; +v___x_18404_ = lean_usize_dec_lt(v_i_18395_, v_sz_18394_); +if (v___x_18404_ == 0) { -lean_object* v___x_18365_; -lean_dec(v___y_18362_); -lean_dec_ref(v___y_18361_); -lean_dec(v___y_18360_); -lean_dec_ref(v___y_18359_); -lean_dec(v___y_18358_); -lean_dec_ref(v___y_18357_); -v___x_18365_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18365_, 0, v_b_18356_); -return v___x_18365_; +lean_object* v___x_18405_; +lean_dec(v___y_18402_); +lean_dec_ref(v___y_18401_); +lean_dec(v___y_18400_); +lean_dec_ref(v___y_18399_); +lean_dec(v___y_18398_); +lean_dec_ref(v___y_18397_); +v___x_18405_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18405_, 0, v_b_18396_); +return v___x_18405_; } else { -lean_object* v_array_18366_; lean_object* v_start_18367_; lean_object* v_stop_18368_; uint8_t v___x_18369_; -v_array_18366_ = lean_ctor_get(v_b_18356_, 0); -v_start_18367_ = lean_ctor_get(v_b_18356_, 1); -v_stop_18368_ = lean_ctor_get(v_b_18356_, 2); -v___x_18369_ = lean_nat_dec_lt(v_start_18367_, v_stop_18368_); -if (v___x_18369_ == 0) +lean_object* v_array_18406_; lean_object* v_start_18407_; lean_object* v_stop_18408_; uint8_t v___x_18409_; +v_array_18406_ = lean_ctor_get(v_b_18396_, 0); +v_start_18407_ = lean_ctor_get(v_b_18396_, 1); +v_stop_18408_ = lean_ctor_get(v_b_18396_, 2); +v___x_18409_ = lean_nat_dec_lt(v_start_18407_, v_stop_18408_); +if (v___x_18409_ == 0) { -lean_object* v___x_18370_; -lean_dec(v___y_18362_); -lean_dec_ref(v___y_18361_); -lean_dec(v___y_18360_); -lean_dec_ref(v___y_18359_); -lean_dec(v___y_18358_); -lean_dec_ref(v___y_18357_); -v___x_18370_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18370_, 0, v_b_18356_); -return v___x_18370_; +lean_object* v___x_18410_; +lean_dec(v___y_18402_); +lean_dec_ref(v___y_18401_); +lean_dec(v___y_18400_); +lean_dec_ref(v___y_18399_); +lean_dec(v___y_18398_); +lean_dec_ref(v___y_18397_); +v___x_18410_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18410_, 0, v_b_18396_); +return v___x_18410_; } else { -lean_object* v___x_18372_; uint8_t v_isShared_18373_; uint8_t v_isSharedCheck_18412_; -lean_inc(v_stop_18368_); -lean_inc(v_start_18367_); -lean_inc_ref(v_array_18366_); -v_isSharedCheck_18412_ = !lean_is_exclusive(v_b_18356_); -if (v_isSharedCheck_18412_ == 0) +lean_object* v___x_18412_; uint8_t v_isShared_18413_; uint8_t v_isSharedCheck_18452_; +lean_inc(v_stop_18408_); +lean_inc(v_start_18407_); +lean_inc_ref(v_array_18406_); +v_isSharedCheck_18452_ = !lean_is_exclusive(v_b_18396_); +if (v_isSharedCheck_18452_ == 0) { -lean_object* v_unused_18413_; lean_object* v_unused_18414_; lean_object* v_unused_18415_; -v_unused_18413_ = lean_ctor_get(v_b_18356_, 2); -lean_dec(v_unused_18413_); -v_unused_18414_ = lean_ctor_get(v_b_18356_, 1); -lean_dec(v_unused_18414_); -v_unused_18415_ = lean_ctor_get(v_b_18356_, 0); -lean_dec(v_unused_18415_); -v___x_18372_ = v_b_18356_; -v_isShared_18373_ = v_isSharedCheck_18412_; -goto v_resetjp_18371_; +lean_object* v_unused_18453_; lean_object* v_unused_18454_; lean_object* v_unused_18455_; +v_unused_18453_ = lean_ctor_get(v_b_18396_, 2); +lean_dec(v_unused_18453_); +v_unused_18454_ = lean_ctor_get(v_b_18396_, 1); +lean_dec(v_unused_18454_); +v_unused_18455_ = lean_ctor_get(v_b_18396_, 0); +lean_dec(v_unused_18455_); +v___x_18412_ = v_b_18396_; +v_isShared_18413_ = v_isSharedCheck_18452_; +goto v_resetjp_18411_; } else { -lean_dec(v_b_18356_); -v___x_18372_ = lean_box(0); -v_isShared_18373_ = v_isSharedCheck_18412_; -goto v_resetjp_18371_; +lean_dec(v_b_18396_); +v___x_18412_ = lean_box(0); +v_isShared_18413_ = v_isSharedCheck_18452_; +goto v_resetjp_18411_; } -v_resetjp_18371_: +v_resetjp_18411_: { -lean_object* v_a_18374_; lean_object* v_toDefView_18375_; lean_object* v_toDefViewElabHeaderData_18376_; lean_object* v_ref_18377_; lean_object* v_value_18378_; lean_object* v___x_18379_; -v_a_18374_ = lean_array_uget_borrowed(v_as_18353_, v_i_18355_); -v_toDefView_18375_ = lean_ctor_get(v_a_18374_, 0); -v_toDefViewElabHeaderData_18376_ = lean_ctor_get(v_a_18374_, 1); -v_ref_18377_ = lean_ctor_get(v_toDefView_18375_, 0); -v_value_18378_ = lean_ctor_get(v_toDefView_18375_, 6); -lean_inc_ref(v___y_18361_); -lean_inc_ref(v___y_18357_); -lean_inc(v_value_18378_); -v___x_18379_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToWhereFinally(v_value_18378_, v___y_18357_, v___y_18358_, v___y_18359_, v___y_18360_, v___y_18361_, v___y_18362_); -if (lean_obj_tag(v___x_18379_) == 0) +lean_object* v_a_18414_; lean_object* v_toDefView_18415_; lean_object* v_toDefViewElabHeaderData_18416_; lean_object* v_ref_18417_; lean_object* v_value_18418_; lean_object* v___x_18419_; +v_a_18414_ = lean_array_uget_borrowed(v_as_18393_, v_i_18395_); +v_toDefView_18415_ = lean_ctor_get(v_a_18414_, 0); +v_toDefViewElabHeaderData_18416_ = lean_ctor_get(v_a_18414_, 1); +v_ref_18417_ = lean_ctor_get(v_toDefView_18415_, 0); +v_value_18418_ = lean_ctor_get(v_toDefView_18415_, 6); +lean_inc_ref(v___y_18401_); +lean_inc_ref(v___y_18397_); +lean_inc(v_value_18418_); +v___x_18419_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToWhereFinally(v_value_18418_, v___y_18397_, v___y_18398_, v___y_18399_, v___y_18400_, v___y_18401_, v___y_18402_); +if (lean_obj_tag(v___x_18419_) == 0) { -lean_object* v_a_18380_; lean_object* v_declName_18381_; lean_object* v___x_18382_; lean_object* v___x_18383_; lean_object* v___x_18384_; lean_object* v___x_18385_; lean_object* v___x_18386_; lean_object* v___x_18387_; -v_a_18380_ = lean_ctor_get(v___x_18379_, 0); -lean_inc(v_a_18380_); -lean_dec_ref(v___x_18379_); -v_declName_18381_ = lean_ctor_get(v_toDefViewElabHeaderData_18376_, 1); -v___x_18382_ = lean_array_fget_borrowed(v_array_18366_, v_start_18367_); -v___x_18383_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9___closed__0)); -v___x_18384_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v___x_18352_, v_declName_18381_, v___x_18383_); -lean_inc(v___x_18382_); -lean_inc(v_ref_18377_); -v___x_18385_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18385_, 0, v_ref_18377_); -lean_ctor_set(v___x_18385_, 1, v___x_18382_); -v___x_18386_ = lean_array_push(v___x_18384_, v___x_18385_); -lean_inc(v___y_18362_); -lean_inc_ref(v___y_18361_); -lean_inc(v___y_18360_); -lean_inc_ref(v___y_18359_); -lean_inc(v___y_18358_); -lean_inc_ref(v___y_18357_); -lean_inc(v_declName_18381_); -v___x_18387_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally(v_declName_18381_, v___x_18386_, v_a_18380_, v___y_18357_, v___y_18358_, v___y_18359_, v___y_18360_, v___y_18361_, v___y_18362_); -if (lean_obj_tag(v___x_18387_) == 0) +lean_object* v_a_18420_; lean_object* v_declName_18421_; lean_object* v___x_18422_; lean_object* v___x_18423_; lean_object* v___x_18424_; lean_object* v___x_18425_; lean_object* v___x_18426_; lean_object* v___x_18427_; +v_a_18420_ = lean_ctor_get(v___x_18419_, 0); +lean_inc(v_a_18420_); +lean_dec_ref(v___x_18419_); +v_declName_18421_ = lean_ctor_get(v_toDefViewElabHeaderData_18416_, 1); +v___x_18422_ = lean_array_fget_borrowed(v_array_18406_, v_start_18407_); +v___x_18423_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9___closed__0)); +v___x_18424_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v___x_18392_, v_declName_18421_, v___x_18423_); +lean_inc(v___x_18422_); +lean_inc(v_ref_18417_); +v___x_18425_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18425_, 0, v_ref_18417_); +lean_ctor_set(v___x_18425_, 1, v___x_18422_); +v___x_18426_ = lean_array_push(v___x_18424_, v___x_18425_); +lean_inc(v___y_18402_); +lean_inc_ref(v___y_18401_); +lean_inc(v___y_18400_); +lean_inc_ref(v___y_18399_); +lean_inc(v___y_18398_); +lean_inc_ref(v___y_18397_); +lean_inc(v_declName_18421_); +v___x_18427_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally(v_declName_18421_, v___x_18426_, v_a_18420_, v___y_18397_, v___y_18398_, v___y_18399_, v___y_18400_, v___y_18401_, v___y_18402_); +if (lean_obj_tag(v___x_18427_) == 0) { -lean_object* v___x_18388_; lean_object* v___x_18389_; lean_object* v___x_18391_; -lean_dec_ref(v___x_18387_); -v___x_18388_ = lean_unsigned_to_nat(1u); -v___x_18389_ = lean_nat_add(v_start_18367_, v___x_18388_); -lean_dec(v_start_18367_); -if (v_isShared_18373_ == 0) +lean_object* v___x_18428_; lean_object* v___x_18429_; lean_object* v___x_18431_; +lean_dec_ref(v___x_18427_); +v___x_18428_ = lean_unsigned_to_nat(1u); +v___x_18429_ = lean_nat_add(v_start_18407_, v___x_18428_); +lean_dec(v_start_18407_); +if (v_isShared_18413_ == 0) { -lean_ctor_set(v___x_18372_, 1, v___x_18389_); -v___x_18391_ = v___x_18372_; -goto v_reusejp_18390_; +lean_ctor_set(v___x_18412_, 1, v___x_18429_); +v___x_18431_ = v___x_18412_; +goto v_reusejp_18430_; } else { -lean_object* v_reuseFailAlloc_18395_; -v_reuseFailAlloc_18395_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_18395_, 0, v_array_18366_); -lean_ctor_set(v_reuseFailAlloc_18395_, 1, v___x_18389_); -lean_ctor_set(v_reuseFailAlloc_18395_, 2, v_stop_18368_); -v___x_18391_ = v_reuseFailAlloc_18395_; -goto v_reusejp_18390_; +lean_object* v_reuseFailAlloc_18435_; +v_reuseFailAlloc_18435_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_18435_, 0, v_array_18406_); +lean_ctor_set(v_reuseFailAlloc_18435_, 1, v___x_18429_); +lean_ctor_set(v_reuseFailAlloc_18435_, 2, v_stop_18408_); +v___x_18431_ = v_reuseFailAlloc_18435_; +goto v_reusejp_18430_; } -v_reusejp_18390_: +v_reusejp_18430_: { -size_t v___x_18392_; size_t v___x_18393_; -v___x_18392_ = ((size_t)1ULL); -v___x_18393_ = lean_usize_add(v_i_18355_, v___x_18392_); -v_i_18355_ = v___x_18393_; -v_b_18356_ = v___x_18391_; +size_t v___x_18432_; size_t v___x_18433_; +v___x_18432_ = ((size_t)1ULL); +v___x_18433_ = lean_usize_add(v_i_18395_, v___x_18432_); +v_i_18395_ = v___x_18433_; +v_b_18396_ = v___x_18431_; goto _start; } } else { -lean_object* v_a_18396_; lean_object* v___x_18398_; uint8_t v_isShared_18399_; uint8_t v_isSharedCheck_18403_; -lean_del_object(v___x_18372_); -lean_dec(v_stop_18368_); -lean_dec(v_start_18367_); -lean_dec_ref(v_array_18366_); -lean_dec(v___y_18362_); -lean_dec_ref(v___y_18361_); -lean_dec(v___y_18360_); -lean_dec_ref(v___y_18359_); -lean_dec(v___y_18358_); -lean_dec_ref(v___y_18357_); -v_a_18396_ = lean_ctor_get(v___x_18387_, 0); -v_isSharedCheck_18403_ = !lean_is_exclusive(v___x_18387_); -if (v_isSharedCheck_18403_ == 0) +lean_object* v_a_18436_; lean_object* v___x_18438_; uint8_t v_isShared_18439_; uint8_t v_isSharedCheck_18443_; +lean_del_object(v___x_18412_); +lean_dec(v_stop_18408_); +lean_dec(v_start_18407_); +lean_dec_ref(v_array_18406_); +lean_dec(v___y_18402_); +lean_dec_ref(v___y_18401_); +lean_dec(v___y_18400_); +lean_dec_ref(v___y_18399_); +lean_dec(v___y_18398_); +lean_dec_ref(v___y_18397_); +v_a_18436_ = lean_ctor_get(v___x_18427_, 0); +v_isSharedCheck_18443_ = !lean_is_exclusive(v___x_18427_); +if (v_isSharedCheck_18443_ == 0) { -v___x_18398_ = v___x_18387_; -v_isShared_18399_ = v_isSharedCheck_18403_; -goto v_resetjp_18397_; +v___x_18438_ = v___x_18427_; +v_isShared_18439_ = v_isSharedCheck_18443_; +goto v_resetjp_18437_; } else { -lean_inc(v_a_18396_); -lean_dec(v___x_18387_); -v___x_18398_ = lean_box(0); -v_isShared_18399_ = v_isSharedCheck_18403_; -goto v_resetjp_18397_; +lean_inc(v_a_18436_); +lean_dec(v___x_18427_); +v___x_18438_ = lean_box(0); +v_isShared_18439_ = v_isSharedCheck_18443_; +goto v_resetjp_18437_; } -v_resetjp_18397_: +v_resetjp_18437_: { -lean_object* v___x_18401_; -if (v_isShared_18399_ == 0) +lean_object* v___x_18441_; +if (v_isShared_18439_ == 0) { -v___x_18401_ = v___x_18398_; -goto v_reusejp_18400_; +v___x_18441_ = v___x_18438_; +goto v_reusejp_18440_; } else { -lean_object* v_reuseFailAlloc_18402_; -v_reuseFailAlloc_18402_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18402_, 0, v_a_18396_); -v___x_18401_ = v_reuseFailAlloc_18402_; -goto v_reusejp_18400_; +lean_object* v_reuseFailAlloc_18442_; +v_reuseFailAlloc_18442_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18442_, 0, v_a_18436_); +v___x_18441_ = v_reuseFailAlloc_18442_; +goto v_reusejp_18440_; } -v_reusejp_18400_: +v_reusejp_18440_: { -return v___x_18401_; +return v___x_18441_; } } } } else { -lean_object* v_a_18404_; lean_object* v___x_18406_; uint8_t v_isShared_18407_; uint8_t v_isSharedCheck_18411_; -lean_del_object(v___x_18372_); -lean_dec(v_stop_18368_); -lean_dec(v_start_18367_); -lean_dec_ref(v_array_18366_); -lean_dec(v___y_18362_); -lean_dec_ref(v___y_18361_); -lean_dec(v___y_18360_); -lean_dec_ref(v___y_18359_); -lean_dec(v___y_18358_); -lean_dec_ref(v___y_18357_); -v_a_18404_ = lean_ctor_get(v___x_18379_, 0); -v_isSharedCheck_18411_ = !lean_is_exclusive(v___x_18379_); -if (v_isSharedCheck_18411_ == 0) +lean_object* v_a_18444_; lean_object* v___x_18446_; uint8_t v_isShared_18447_; uint8_t v_isSharedCheck_18451_; +lean_del_object(v___x_18412_); +lean_dec(v_stop_18408_); +lean_dec(v_start_18407_); +lean_dec_ref(v_array_18406_); +lean_dec(v___y_18402_); +lean_dec_ref(v___y_18401_); +lean_dec(v___y_18400_); +lean_dec_ref(v___y_18399_); +lean_dec(v___y_18398_); +lean_dec_ref(v___y_18397_); +v_a_18444_ = lean_ctor_get(v___x_18419_, 0); +v_isSharedCheck_18451_ = !lean_is_exclusive(v___x_18419_); +if (v_isSharedCheck_18451_ == 0) { -v___x_18406_ = v___x_18379_; -v_isShared_18407_ = v_isSharedCheck_18411_; -goto v_resetjp_18405_; +v___x_18446_ = v___x_18419_; +v_isShared_18447_ = v_isSharedCheck_18451_; +goto v_resetjp_18445_; } else { -lean_inc(v_a_18404_); -lean_dec(v___x_18379_); -v___x_18406_ = lean_box(0); -v_isShared_18407_ = v_isSharedCheck_18411_; -goto v_resetjp_18405_; +lean_inc(v_a_18444_); +lean_dec(v___x_18419_); +v___x_18446_ = lean_box(0); +v_isShared_18447_ = v_isSharedCheck_18451_; +goto v_resetjp_18445_; } -v_resetjp_18405_: +v_resetjp_18445_: { -lean_object* v___x_18409_; -if (v_isShared_18407_ == 0) +lean_object* v___x_18449_; +if (v_isShared_18447_ == 0) { -v___x_18409_ = v___x_18406_; -goto v_reusejp_18408_; -} -else -{ -lean_object* v_reuseFailAlloc_18410_; -v_reuseFailAlloc_18410_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18410_, 0, v_a_18404_); -v___x_18409_ = v_reuseFailAlloc_18410_; -goto v_reusejp_18408_; -} -v_reusejp_18408_: -{ -return v___x_18409_; -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9___boxed(lean_object* v___x_18416_, lean_object* v_as_18417_, lean_object* v_sz_18418_, lean_object* v_i_18419_, lean_object* v_b_18420_, lean_object* v___y_18421_, lean_object* v___y_18422_, lean_object* v___y_18423_, lean_object* v___y_18424_, lean_object* v___y_18425_, lean_object* v___y_18426_, lean_object* v___y_18427_){ -_start: -{ -size_t v_sz_boxed_18428_; size_t v_i_boxed_18429_; lean_object* v_res_18430_; -v_sz_boxed_18428_ = lean_unbox_usize(v_sz_18418_); -lean_dec(v_sz_18418_); -v_i_boxed_18429_ = lean_unbox_usize(v_i_18419_); -lean_dec(v_i_18419_); -v_res_18430_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(v___x_18416_, v_as_18417_, v_sz_boxed_18428_, v_i_boxed_18429_, v_b_18420_, v___y_18421_, v___y_18422_, v___y_18423_, v___y_18424_, v___y_18425_, v___y_18426_); -lean_dec_ref(v_as_18417_); -lean_dec_ref(v___x_18416_); -return v_res_18430_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(lean_object* v_x_18431_, lean_object* v_x_18432_, lean_object* v___y_18433_, lean_object* v___y_18434_, lean_object* v___y_18435_, lean_object* v___y_18436_){ -_start: -{ -if (lean_obj_tag(v_x_18431_) == 0) -{ -lean_object* v___x_18438_; lean_object* v___x_18439_; -lean_dec(v___y_18436_); -lean_dec_ref(v___y_18435_); -lean_dec(v___y_18434_); -lean_dec_ref(v___y_18433_); -v___x_18438_ = l_List_reverse___redArg(v_x_18432_); -v___x_18439_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18439_, 0, v___x_18438_); -return v___x_18439_; -} -else -{ -lean_object* v_head_18440_; lean_object* v_tail_18441_; lean_object* v___x_18443_; uint8_t v_isShared_18444_; uint8_t v_isSharedCheck_18459_; -v_head_18440_ = lean_ctor_get(v_x_18431_, 0); -v_tail_18441_ = lean_ctor_get(v_x_18431_, 1); -v_isSharedCheck_18459_ = !lean_is_exclusive(v_x_18431_); -if (v_isSharedCheck_18459_ == 0) -{ -v___x_18443_ = v_x_18431_; -v_isShared_18444_ = v_isSharedCheck_18459_; -goto v_resetjp_18442_; -} -else -{ -lean_inc(v_tail_18441_); -lean_inc(v_head_18440_); -lean_dec(v_x_18431_); -v___x_18443_ = lean_box(0); -v_isShared_18444_ = v_isSharedCheck_18459_; -goto v_resetjp_18442_; -} -v_resetjp_18442_: -{ -lean_object* v___x_18445_; -lean_inc(v___y_18436_); -lean_inc_ref(v___y_18435_); -lean_inc(v___y_18434_); -lean_inc_ref(v___y_18433_); -v___x_18445_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___redArg(v_head_18440_, v___y_18433_, v___y_18434_, v___y_18435_, v___y_18436_); -if (lean_obj_tag(v___x_18445_) == 0) -{ -lean_object* v_a_18446_; lean_object* v___x_18448_; -v_a_18446_ = lean_ctor_get(v___x_18445_, 0); -lean_inc(v_a_18446_); -lean_dec_ref(v___x_18445_); -if (v_isShared_18444_ == 0) -{ -lean_ctor_set(v___x_18443_, 1, v_x_18432_); -lean_ctor_set(v___x_18443_, 0, v_a_18446_); -v___x_18448_ = v___x_18443_; -goto v_reusejp_18447_; +v___x_18449_ = v___x_18446_; +goto v_reusejp_18448_; } else { lean_object* v_reuseFailAlloc_18450_; -v_reuseFailAlloc_18450_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_18450_, 0, v_a_18446_); -lean_ctor_set(v_reuseFailAlloc_18450_, 1, v_x_18432_); -v___x_18448_ = v_reuseFailAlloc_18450_; -goto v_reusejp_18447_; +v_reuseFailAlloc_18450_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18450_, 0, v_a_18444_); +v___x_18449_ = v_reuseFailAlloc_18450_; +goto v_reusejp_18448_; } -v_reusejp_18447_: +v_reusejp_18448_: { -v_x_18431_ = v_tail_18441_; -v_x_18432_ = v___x_18448_; +return v___x_18449_; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9___boxed(lean_object* v___x_18456_, lean_object* v_as_18457_, lean_object* v_sz_18458_, lean_object* v_i_18459_, lean_object* v_b_18460_, lean_object* v___y_18461_, lean_object* v___y_18462_, lean_object* v___y_18463_, lean_object* v___y_18464_, lean_object* v___y_18465_, lean_object* v___y_18466_, lean_object* v___y_18467_){ +_start: +{ +size_t v_sz_boxed_18468_; size_t v_i_boxed_18469_; lean_object* v_res_18470_; +v_sz_boxed_18468_ = lean_unbox_usize(v_sz_18458_); +lean_dec(v_sz_18458_); +v_i_boxed_18469_ = lean_unbox_usize(v_i_18459_); +lean_dec(v_i_18459_); +v_res_18470_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(v___x_18456_, v_as_18457_, v_sz_boxed_18468_, v_i_boxed_18469_, v_b_18460_, v___y_18461_, v___y_18462_, v___y_18463_, v___y_18464_, v___y_18465_, v___y_18466_); +lean_dec_ref(v_as_18457_); +lean_dec_ref(v___x_18456_); +return v_res_18470_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(lean_object* v_x_18471_, lean_object* v_x_18472_, lean_object* v___y_18473_, lean_object* v___y_18474_, lean_object* v___y_18475_, lean_object* v___y_18476_){ +_start: +{ +if (lean_obj_tag(v_x_18471_) == 0) +{ +lean_object* v___x_18478_; lean_object* v___x_18479_; +lean_dec(v___y_18476_); +lean_dec_ref(v___y_18475_); +lean_dec(v___y_18474_); +lean_dec_ref(v___y_18473_); +v___x_18478_ = l_List_reverse___redArg(v_x_18472_); +v___x_18479_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18479_, 0, v___x_18478_); +return v___x_18479_; +} +else +{ +lean_object* v_head_18480_; lean_object* v_tail_18481_; lean_object* v___x_18483_; uint8_t v_isShared_18484_; uint8_t v_isSharedCheck_18499_; +v_head_18480_ = lean_ctor_get(v_x_18471_, 0); +v_tail_18481_ = lean_ctor_get(v_x_18471_, 1); +v_isSharedCheck_18499_ = !lean_is_exclusive(v_x_18471_); +if (v_isSharedCheck_18499_ == 0) +{ +v___x_18483_ = v_x_18471_; +v_isShared_18484_ = v_isSharedCheck_18499_; +goto v_resetjp_18482_; +} +else +{ +lean_inc(v_tail_18481_); +lean_inc(v_head_18480_); +lean_dec(v_x_18471_); +v___x_18483_ = lean_box(0); +v_isShared_18484_ = v_isSharedCheck_18499_; +goto v_resetjp_18482_; +} +v_resetjp_18482_: +{ +lean_object* v___x_18485_; +lean_inc(v___y_18476_); +lean_inc_ref(v___y_18475_); +lean_inc(v___y_18474_); +lean_inc_ref(v___y_18473_); +v___x_18485_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_instantiateMVarsAtLetRecToLift___redArg(v_head_18480_, v___y_18473_, v___y_18474_, v___y_18475_, v___y_18476_); +if (lean_obj_tag(v___x_18485_) == 0) +{ +lean_object* v_a_18486_; lean_object* v___x_18488_; +v_a_18486_ = lean_ctor_get(v___x_18485_, 0); +lean_inc(v_a_18486_); +lean_dec_ref(v___x_18485_); +if (v_isShared_18484_ == 0) +{ +lean_ctor_set(v___x_18483_, 1, v_x_18472_); +lean_ctor_set(v___x_18483_, 0, v_a_18486_); +v___x_18488_ = v___x_18483_; +goto v_reusejp_18487_; +} +else +{ +lean_object* v_reuseFailAlloc_18490_; +v_reuseFailAlloc_18490_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_18490_, 0, v_a_18486_); +lean_ctor_set(v_reuseFailAlloc_18490_, 1, v_x_18472_); +v___x_18488_ = v_reuseFailAlloc_18490_; +goto v_reusejp_18487_; +} +v_reusejp_18487_: +{ +v_x_18471_ = v_tail_18481_; +v_x_18472_ = v___x_18488_; goto _start; } } else { -lean_object* v_a_18451_; lean_object* v___x_18453_; uint8_t v_isShared_18454_; uint8_t v_isSharedCheck_18458_; -lean_del_object(v___x_18443_); -lean_dec(v_tail_18441_); -lean_dec(v___y_18436_); -lean_dec_ref(v___y_18435_); -lean_dec(v___y_18434_); -lean_dec_ref(v___y_18433_); -lean_dec(v_x_18432_); -v_a_18451_ = lean_ctor_get(v___x_18445_, 0); -v_isSharedCheck_18458_ = !lean_is_exclusive(v___x_18445_); -if (v_isSharedCheck_18458_ == 0) +lean_object* v_a_18491_; lean_object* v___x_18493_; uint8_t v_isShared_18494_; uint8_t v_isSharedCheck_18498_; +lean_del_object(v___x_18483_); +lean_dec(v_tail_18481_); +lean_dec(v___y_18476_); +lean_dec_ref(v___y_18475_); +lean_dec(v___y_18474_); +lean_dec_ref(v___y_18473_); +lean_dec(v_x_18472_); +v_a_18491_ = lean_ctor_get(v___x_18485_, 0); +v_isSharedCheck_18498_ = !lean_is_exclusive(v___x_18485_); +if (v_isSharedCheck_18498_ == 0) { -v___x_18453_ = v___x_18445_; -v_isShared_18454_ = v_isSharedCheck_18458_; -goto v_resetjp_18452_; +v___x_18493_ = v___x_18485_; +v_isShared_18494_ = v_isSharedCheck_18498_; +goto v_resetjp_18492_; } else { -lean_inc(v_a_18451_); -lean_dec(v___x_18445_); -v___x_18453_ = lean_box(0); -v_isShared_18454_ = v_isSharedCheck_18458_; -goto v_resetjp_18452_; +lean_inc(v_a_18491_); +lean_dec(v___x_18485_); +v___x_18493_ = lean_box(0); +v_isShared_18494_ = v_isSharedCheck_18498_; +goto v_resetjp_18492_; } -v_resetjp_18452_: +v_resetjp_18492_: { -lean_object* v___x_18456_; -if (v_isShared_18454_ == 0) +lean_object* v___x_18496_; +if (v_isShared_18494_ == 0) { -v___x_18456_ = v___x_18453_; -goto v_reusejp_18455_; +v___x_18496_ = v___x_18493_; +goto v_reusejp_18495_; } else { -lean_object* v_reuseFailAlloc_18457_; -v_reuseFailAlloc_18457_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18457_, 0, v_a_18451_); -v___x_18456_ = v_reuseFailAlloc_18457_; -goto v_reusejp_18455_; +lean_object* v_reuseFailAlloc_18497_; +v_reuseFailAlloc_18497_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18497_, 0, v_a_18491_); +v___x_18496_ = v_reuseFailAlloc_18497_; +goto v_reusejp_18495_; } -v_reusejp_18455_: +v_reusejp_18495_: { -return v___x_18456_; +return v___x_18496_; } } } @@ -53043,748 +53198,748 @@ return v___x_18456_; } } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg___boxed(lean_object* v_x_18460_, lean_object* v_x_18461_, lean_object* v___y_18462_, lean_object* v___y_18463_, lean_object* v___y_18464_, lean_object* v___y_18465_, lean_object* v___y_18466_){ +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg___boxed(lean_object* v_x_18500_, lean_object* v_x_18501_, lean_object* v___y_18502_, lean_object* v___y_18503_, lean_object* v___y_18504_, lean_object* v___y_18505_, lean_object* v___y_18506_){ _start: { -lean_object* v_res_18467_; -v_res_18467_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_x_18460_, v_x_18461_, v___y_18462_, v___y_18463_, v___y_18464_, v___y_18465_); -return v_res_18467_; +lean_object* v_res_18507_; +v_res_18507_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_x_18500_, v_x_18501_, v___y_18502_, v___y_18503_, v___y_18504_, v___y_18505_); +return v_res_18507_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(lean_object* v___x_18468_, lean_object* v_x_18469_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(lean_object* v___x_18508_, lean_object* v_x_18509_){ _start: { -if (lean_obj_tag(v_x_18469_) == 0) +if (lean_obj_tag(v_x_18509_) == 0) { -lean_object* v___x_18470_; lean_object* v___x_18471_; lean_object* v___x_18472_; lean_object* v___x_18473_; -v___x_18470_ = lean_unsigned_to_nat(1u); -v___x_18471_ = lean_mk_empty_array_with_capacity(v___x_18470_); -v___x_18472_ = lean_array_push(v___x_18471_, v___x_18468_); -v___x_18473_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_18473_, 0, v___x_18472_); -return v___x_18473_; +lean_object* v___x_18510_; lean_object* v___x_18511_; lean_object* v___x_18512_; lean_object* v___x_18513_; +v___x_18510_ = lean_unsigned_to_nat(1u); +v___x_18511_ = lean_mk_empty_array_with_capacity(v___x_18510_); +v___x_18512_ = lean_array_push(v___x_18511_, v___x_18508_); +v___x_18513_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_18513_, 0, v___x_18512_); +return v___x_18513_; } else { -lean_object* v_val_18474_; lean_object* v___x_18476_; uint8_t v_isShared_18477_; uint8_t v_isSharedCheck_18482_; -v_val_18474_ = lean_ctor_get(v_x_18469_, 0); -v_isSharedCheck_18482_ = !lean_is_exclusive(v_x_18469_); -if (v_isSharedCheck_18482_ == 0) +lean_object* v_val_18514_; lean_object* v___x_18516_; uint8_t v_isShared_18517_; uint8_t v_isSharedCheck_18522_; +v_val_18514_ = lean_ctor_get(v_x_18509_, 0); +v_isSharedCheck_18522_ = !lean_is_exclusive(v_x_18509_); +if (v_isSharedCheck_18522_ == 0) { -v___x_18476_ = v_x_18469_; -v_isShared_18477_ = v_isSharedCheck_18482_; -goto v_resetjp_18475_; +v___x_18516_ = v_x_18509_; +v_isShared_18517_ = v_isSharedCheck_18522_; +goto v_resetjp_18515_; } else { -lean_inc(v_val_18474_); -lean_dec(v_x_18469_); -v___x_18476_ = lean_box(0); -v_isShared_18477_ = v_isSharedCheck_18482_; -goto v_resetjp_18475_; +lean_inc(v_val_18514_); +lean_dec(v_x_18509_); +v___x_18516_ = lean_box(0); +v_isShared_18517_ = v_isSharedCheck_18522_; +goto v_resetjp_18515_; } -v_resetjp_18475_: +v_resetjp_18515_: { -lean_object* v___x_18478_; lean_object* v___x_18480_; -v___x_18478_ = lean_array_push(v_val_18474_, v___x_18468_); -if (v_isShared_18477_ == 0) +lean_object* v___x_18518_; lean_object* v___x_18520_; +v___x_18518_ = lean_array_push(v_val_18514_, v___x_18508_); +if (v_isShared_18517_ == 0) { -lean_ctor_set(v___x_18476_, 0, v___x_18478_); -v___x_18480_ = v___x_18476_; -goto v_reusejp_18479_; +lean_ctor_set(v___x_18516_, 0, v___x_18518_); +v___x_18520_ = v___x_18516_; +goto v_reusejp_18519_; } else { -lean_object* v_reuseFailAlloc_18481_; -v_reuseFailAlloc_18481_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18481_, 0, v___x_18478_); -v___x_18480_ = v_reuseFailAlloc_18481_; -goto v_reusejp_18479_; +lean_object* v_reuseFailAlloc_18521_; +v_reuseFailAlloc_18521_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18521_, 0, v___x_18518_); +v___x_18520_ = v_reuseFailAlloc_18521_; +goto v_reusejp_18519_; } -v_reusejp_18479_: +v_reusejp_18519_: { -return v___x_18480_; +return v___x_18520_; } } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(lean_object* v___x_18483_, lean_object* v_a_18484_, lean_object* v_x_18485_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(lean_object* v___x_18523_, lean_object* v_a_18524_, lean_object* v_x_18525_){ _start: { -if (lean_obj_tag(v_x_18485_) == 0) +if (lean_obj_tag(v_x_18525_) == 0) { -lean_object* v___x_18486_; lean_object* v___x_18487_; lean_object* v_val_18488_; lean_object* v___x_18489_; -v___x_18486_ = lean_box(0); -v___x_18487_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(v___x_18483_, v___x_18486_); -v_val_18488_ = lean_ctor_get(v___x_18487_, 0); -lean_inc(v_val_18488_); -lean_dec(v___x_18487_); -v___x_18489_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_18489_, 0, v_a_18484_); -lean_ctor_set(v___x_18489_, 1, v_val_18488_); -lean_ctor_set(v___x_18489_, 2, v_x_18485_); -return v___x_18489_; +lean_object* v___x_18526_; lean_object* v___x_18527_; lean_object* v_val_18528_; lean_object* v___x_18529_; +v___x_18526_ = lean_box(0); +v___x_18527_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(v___x_18523_, v___x_18526_); +v_val_18528_ = lean_ctor_get(v___x_18527_, 0); +lean_inc(v_val_18528_); +lean_dec(v___x_18527_); +v___x_18529_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_18529_, 0, v_a_18524_); +lean_ctor_set(v___x_18529_, 1, v_val_18528_); +lean_ctor_set(v___x_18529_, 2, v_x_18525_); +return v___x_18529_; } else { -lean_object* v_key_18490_; lean_object* v_value_18491_; lean_object* v_tail_18492_; lean_object* v___x_18494_; uint8_t v_isShared_18495_; uint8_t v_isSharedCheck_18507_; -v_key_18490_ = lean_ctor_get(v_x_18485_, 0); -v_value_18491_ = lean_ctor_get(v_x_18485_, 1); -v_tail_18492_ = lean_ctor_get(v_x_18485_, 2); -v_isSharedCheck_18507_ = !lean_is_exclusive(v_x_18485_); -if (v_isSharedCheck_18507_ == 0) +lean_object* v_key_18530_; lean_object* v_value_18531_; lean_object* v_tail_18532_; lean_object* v___x_18534_; uint8_t v_isShared_18535_; uint8_t v_isSharedCheck_18547_; +v_key_18530_ = lean_ctor_get(v_x_18525_, 0); +v_value_18531_ = lean_ctor_get(v_x_18525_, 1); +v_tail_18532_ = lean_ctor_get(v_x_18525_, 2); +v_isSharedCheck_18547_ = !lean_is_exclusive(v_x_18525_); +if (v_isSharedCheck_18547_ == 0) { -v___x_18494_ = v_x_18485_; -v_isShared_18495_ = v_isSharedCheck_18507_; -goto v_resetjp_18493_; +v___x_18534_ = v_x_18525_; +v_isShared_18535_ = v_isSharedCheck_18547_; +goto v_resetjp_18533_; } else { -lean_inc(v_tail_18492_); -lean_inc(v_value_18491_); -lean_inc(v_key_18490_); -lean_dec(v_x_18485_); -v___x_18494_ = lean_box(0); -v_isShared_18495_ = v_isSharedCheck_18507_; -goto v_resetjp_18493_; +lean_inc(v_tail_18532_); +lean_inc(v_value_18531_); +lean_inc(v_key_18530_); +lean_dec(v_x_18525_); +v___x_18534_ = lean_box(0); +v_isShared_18535_ = v_isSharedCheck_18547_; +goto v_resetjp_18533_; } -v_resetjp_18493_: +v_resetjp_18533_: { -uint8_t v___x_18496_; -v___x_18496_ = lean_name_eq(v_key_18490_, v_a_18484_); -if (v___x_18496_ == 0) +uint8_t v___x_18536_; +v___x_18536_ = lean_name_eq(v_key_18530_, v_a_18524_); +if (v___x_18536_ == 0) { -lean_object* v_tail_18497_; lean_object* v___x_18499_; -v_tail_18497_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(v___x_18483_, v_a_18484_, v_tail_18492_); -if (v_isShared_18495_ == 0) +lean_object* v_tail_18537_; lean_object* v___x_18539_; +v_tail_18537_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(v___x_18523_, v_a_18524_, v_tail_18532_); +if (v_isShared_18535_ == 0) { -lean_ctor_set(v___x_18494_, 2, v_tail_18497_); -v___x_18499_ = v___x_18494_; -goto v_reusejp_18498_; +lean_ctor_set(v___x_18534_, 2, v_tail_18537_); +v___x_18539_ = v___x_18534_; +goto v_reusejp_18538_; } else { -lean_object* v_reuseFailAlloc_18500_; -v_reuseFailAlloc_18500_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_18500_, 0, v_key_18490_); -lean_ctor_set(v_reuseFailAlloc_18500_, 1, v_value_18491_); -lean_ctor_set(v_reuseFailAlloc_18500_, 2, v_tail_18497_); -v___x_18499_ = v_reuseFailAlloc_18500_; -goto v_reusejp_18498_; +lean_object* v_reuseFailAlloc_18540_; +v_reuseFailAlloc_18540_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_18540_, 0, v_key_18530_); +lean_ctor_set(v_reuseFailAlloc_18540_, 1, v_value_18531_); +lean_ctor_set(v_reuseFailAlloc_18540_, 2, v_tail_18537_); +v___x_18539_ = v_reuseFailAlloc_18540_; +goto v_reusejp_18538_; } -v_reusejp_18498_: +v_reusejp_18538_: { -return v___x_18499_; +return v___x_18539_; } } else { -lean_object* v___x_18501_; lean_object* v___x_18502_; lean_object* v_val_18503_; lean_object* v___x_18505_; -lean_dec(v_key_18490_); -v___x_18501_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_18501_, 0, v_value_18491_); -v___x_18502_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(v___x_18483_, v___x_18501_); -v_val_18503_ = lean_ctor_get(v___x_18502_, 0); -lean_inc(v_val_18503_); -lean_dec(v___x_18502_); -if (v_isShared_18495_ == 0) +lean_object* v___x_18541_; lean_object* v___x_18542_; lean_object* v_val_18543_; lean_object* v___x_18545_; +lean_dec(v_key_18530_); +v___x_18541_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_18541_, 0, v_value_18531_); +v___x_18542_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2___lam__0(v___x_18523_, v___x_18541_); +v_val_18543_ = lean_ctor_get(v___x_18542_, 0); +lean_inc(v_val_18543_); +lean_dec(v___x_18542_); +if (v_isShared_18535_ == 0) { -lean_ctor_set(v___x_18494_, 1, v_val_18503_); -lean_ctor_set(v___x_18494_, 0, v_a_18484_); -v___x_18505_ = v___x_18494_; -goto v_reusejp_18504_; +lean_ctor_set(v___x_18534_, 1, v_val_18543_); +lean_ctor_set(v___x_18534_, 0, v_a_18524_); +v___x_18545_ = v___x_18534_; +goto v_reusejp_18544_; } else { -lean_object* v_reuseFailAlloc_18506_; -v_reuseFailAlloc_18506_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_18506_, 0, v_a_18484_); -lean_ctor_set(v_reuseFailAlloc_18506_, 1, v_val_18503_); -lean_ctor_set(v_reuseFailAlloc_18506_, 2, v_tail_18492_); -v___x_18505_ = v_reuseFailAlloc_18506_; -goto v_reusejp_18504_; +lean_object* v_reuseFailAlloc_18546_; +v_reuseFailAlloc_18546_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_18546_, 0, v_a_18524_); +lean_ctor_set(v_reuseFailAlloc_18546_, 1, v_val_18543_); +lean_ctor_set(v_reuseFailAlloc_18546_, 2, v_tail_18532_); +v___x_18545_ = v_reuseFailAlloc_18546_; +goto v_reusejp_18544_; } -v_reusejp_18504_: +v_reusejp_18544_: { -return v___x_18505_; +return v___x_18545_; } } } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2(lean_object* v___x_18508_, lean_object* v_m_18509_, lean_object* v_a_18510_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2(lean_object* v___x_18548_, lean_object* v_m_18549_, lean_object* v_a_18550_){ _start: { -lean_object* v___y_18512_; lean_object* v___y_18513_; size_t v___y_18514_; lean_object* v___y_18515_; lean_object* v_size_18518_; lean_object* v_buckets_18519_; lean_object* v___x_18521_; uint8_t v_isShared_18522_; uint8_t v_isSharedCheck_18566_; -v_size_18518_ = lean_ctor_get(v_m_18509_, 0); -v_buckets_18519_ = lean_ctor_get(v_m_18509_, 1); -v_isSharedCheck_18566_ = !lean_is_exclusive(v_m_18509_); -if (v_isSharedCheck_18566_ == 0) +lean_object* v___y_18552_; size_t v___y_18553_; lean_object* v___y_18554_; lean_object* v___y_18555_; lean_object* v_size_18558_; lean_object* v_buckets_18559_; lean_object* v___x_18561_; uint8_t v_isShared_18562_; uint8_t v_isSharedCheck_18606_; +v_size_18558_ = lean_ctor_get(v_m_18549_, 0); +v_buckets_18559_ = lean_ctor_get(v_m_18549_, 1); +v_isSharedCheck_18606_ = !lean_is_exclusive(v_m_18549_); +if (v_isSharedCheck_18606_ == 0) { -v___x_18521_ = v_m_18509_; -v_isShared_18522_ = v_isSharedCheck_18566_; -goto v_resetjp_18520_; +v___x_18561_ = v_m_18549_; +v_isShared_18562_ = v_isSharedCheck_18606_; +goto v_resetjp_18560_; } else { -lean_inc(v_buckets_18519_); -lean_inc(v_size_18518_); -lean_dec(v_m_18509_); -v___x_18521_ = lean_box(0); -v_isShared_18522_ = v_isSharedCheck_18566_; -goto v_resetjp_18520_; +lean_inc(v_buckets_18559_); +lean_inc(v_size_18558_); +lean_dec(v_m_18549_); +v___x_18561_ = lean_box(0); +v_isShared_18562_ = v_isSharedCheck_18606_; +goto v_resetjp_18560_; } -v___jp_18511_: +v___jp_18551_: { -lean_object* v___x_18516_; lean_object* v___x_18517_; -v___x_18516_ = lean_array_uset(v___y_18513_, v___y_18514_, v___y_18512_); -v___x_18517_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18517_, 0, v___y_18515_); -lean_ctor_set(v___x_18517_, 1, v___x_18516_); -return v___x_18517_; +lean_object* v___x_18556_; lean_object* v___x_18557_; +v___x_18556_ = lean_array_uset(v___y_18554_, v___y_18553_, v___y_18552_); +v___x_18557_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18557_, 0, v___y_18555_); +lean_ctor_set(v___x_18557_, 1, v___x_18556_); +return v___x_18557_; } -v_resetjp_18520_: +v_resetjp_18560_: { -lean_object* v___x_18523_; uint64_t v___y_18525_; -v___x_18523_ = lean_array_get_size(v_buckets_18519_); -if (lean_obj_tag(v_a_18510_) == 0) +lean_object* v___x_18563_; uint64_t v___y_18565_; +v___x_18563_ = lean_array_get_size(v_buckets_18559_); +if (lean_obj_tag(v_a_18550_) == 0) { -uint64_t v___x_18564_; -v___x_18564_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); -v___y_18525_ = v___x_18564_; -goto v___jp_18524_; +uint64_t v___x_18604_; +v___x_18604_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); +v___y_18565_ = v___x_18604_; +goto v___jp_18564_; } else { -uint64_t v_hash_18565_; -v_hash_18565_ = lean_ctor_get_uint64(v_a_18510_, sizeof(void*)*2); -v___y_18525_ = v_hash_18565_; -goto v___jp_18524_; +uint64_t v_hash_18605_; +v_hash_18605_ = lean_ctor_get_uint64(v_a_18550_, sizeof(void*)*2); +v___y_18565_ = v_hash_18605_; +goto v___jp_18564_; } -v___jp_18524_: +v___jp_18564_: { -uint64_t v___x_18526_; uint64_t v___x_18527_; uint64_t v_fold_18528_; uint64_t v___x_18529_; uint64_t v___x_18530_; uint64_t v___x_18531_; size_t v___x_18532_; size_t v___x_18533_; size_t v___x_18534_; size_t v___x_18535_; size_t v___x_18536_; lean_object* v_bkt_18537_; uint8_t v___x_18538_; -v___x_18526_ = 32ULL; -v___x_18527_ = lean_uint64_shift_right(v___y_18525_, v___x_18526_); -v_fold_18528_ = lean_uint64_xor(v___y_18525_, v___x_18527_); -v___x_18529_ = 16ULL; -v___x_18530_ = lean_uint64_shift_right(v_fold_18528_, v___x_18529_); -v___x_18531_ = lean_uint64_xor(v_fold_18528_, v___x_18530_); -v___x_18532_ = lean_uint64_to_usize(v___x_18531_); -v___x_18533_ = lean_usize_of_nat(v___x_18523_); -v___x_18534_ = ((size_t)1ULL); -v___x_18535_ = lean_usize_sub(v___x_18533_, v___x_18534_); -v___x_18536_ = lean_usize_land(v___x_18532_, v___x_18535_); -v_bkt_18537_ = lean_array_uget_borrowed(v_buckets_18519_, v___x_18536_); -v___x_18538_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_18510_, v_bkt_18537_); -if (v___x_18538_ == 0) +uint64_t v___x_18566_; uint64_t v___x_18567_; uint64_t v_fold_18568_; uint64_t v___x_18569_; uint64_t v___x_18570_; uint64_t v___x_18571_; size_t v___x_18572_; size_t v___x_18573_; size_t v___x_18574_; size_t v___x_18575_; size_t v___x_18576_; lean_object* v_bkt_18577_; uint8_t v___x_18578_; +v___x_18566_ = 32ULL; +v___x_18567_ = lean_uint64_shift_right(v___y_18565_, v___x_18566_); +v_fold_18568_ = lean_uint64_xor(v___y_18565_, v___x_18567_); +v___x_18569_ = 16ULL; +v___x_18570_ = lean_uint64_shift_right(v_fold_18568_, v___x_18569_); +v___x_18571_ = lean_uint64_xor(v_fold_18568_, v___x_18570_); +v___x_18572_ = lean_uint64_to_usize(v___x_18571_); +v___x_18573_ = lean_usize_of_nat(v___x_18563_); +v___x_18574_ = ((size_t)1ULL); +v___x_18575_ = lean_usize_sub(v___x_18573_, v___x_18574_); +v___x_18576_ = lean_usize_land(v___x_18572_, v___x_18575_); +v_bkt_18577_ = lean_array_uget_borrowed(v_buckets_18559_, v___x_18576_); +v___x_18578_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_18550_, v_bkt_18577_); +if (v___x_18578_ == 0) { -lean_object* v___x_18539_; lean_object* v___x_18540_; lean_object* v___x_18541_; lean_object* v_size_x27_18542_; lean_object* v___x_18543_; lean_object* v_buckets_x27_18544_; lean_object* v___x_18545_; lean_object* v___x_18546_; lean_object* v___x_18547_; lean_object* v___x_18548_; lean_object* v___x_18549_; uint8_t v___x_18550_; -v___x_18539_ = lean_unsigned_to_nat(1u); -v___x_18540_ = lean_mk_empty_array_with_capacity(v___x_18539_); -v___x_18541_ = lean_array_push(v___x_18540_, v___x_18508_); -v_size_x27_18542_ = lean_nat_add(v_size_18518_, v___x_18539_); -lean_dec(v_size_18518_); -lean_inc(v_bkt_18537_); -v___x_18543_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_18543_, 0, v_a_18510_); -lean_ctor_set(v___x_18543_, 1, v___x_18541_); -lean_ctor_set(v___x_18543_, 2, v_bkt_18537_); -v_buckets_x27_18544_ = lean_array_uset(v_buckets_18519_, v___x_18536_, v___x_18543_); -v___x_18545_ = lean_unsigned_to_nat(4u); -v___x_18546_ = lean_nat_mul(v_size_x27_18542_, v___x_18545_); -v___x_18547_ = lean_unsigned_to_nat(3u); -v___x_18548_ = lean_nat_div(v___x_18546_, v___x_18547_); -lean_dec(v___x_18546_); -v___x_18549_ = lean_array_get_size(v_buckets_x27_18544_); -v___x_18550_ = lean_nat_dec_le(v___x_18548_, v___x_18549_); -lean_dec(v___x_18548_); -if (v___x_18550_ == 0) +lean_object* v___x_18579_; lean_object* v___x_18580_; lean_object* v___x_18581_; lean_object* v_size_x27_18582_; lean_object* v___x_18583_; lean_object* v_buckets_x27_18584_; lean_object* v___x_18585_; lean_object* v___x_18586_; lean_object* v___x_18587_; lean_object* v___x_18588_; lean_object* v___x_18589_; uint8_t v___x_18590_; +v___x_18579_ = lean_unsigned_to_nat(1u); +v___x_18580_ = lean_mk_empty_array_with_capacity(v___x_18579_); +v___x_18581_ = lean_array_push(v___x_18580_, v___x_18548_); +v_size_x27_18582_ = lean_nat_add(v_size_18558_, v___x_18579_); +lean_dec(v_size_18558_); +lean_inc(v_bkt_18577_); +v___x_18583_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_18583_, 0, v_a_18550_); +lean_ctor_set(v___x_18583_, 1, v___x_18581_); +lean_ctor_set(v___x_18583_, 2, v_bkt_18577_); +v_buckets_x27_18584_ = lean_array_uset(v_buckets_18559_, v___x_18576_, v___x_18583_); +v___x_18585_ = lean_unsigned_to_nat(4u); +v___x_18586_ = lean_nat_mul(v_size_x27_18582_, v___x_18585_); +v___x_18587_ = lean_unsigned_to_nat(3u); +v___x_18588_ = lean_nat_div(v___x_18586_, v___x_18587_); +lean_dec(v___x_18586_); +v___x_18589_ = lean_array_get_size(v_buckets_x27_18584_); +v___x_18590_ = lean_nat_dec_le(v___x_18588_, v___x_18589_); +lean_dec(v___x_18588_); +if (v___x_18590_ == 0) { -lean_object* v_val_18551_; lean_object* v___x_18553_; -v_val_18551_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_buckets_x27_18544_); -if (v_isShared_18522_ == 0) +lean_object* v_val_18591_; lean_object* v___x_18593_; +v_val_18591_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__1___redArg(v_buckets_x27_18584_); +if (v_isShared_18562_ == 0) { -lean_ctor_set(v___x_18521_, 1, v_val_18551_); -lean_ctor_set(v___x_18521_, 0, v_size_x27_18542_); -v___x_18553_ = v___x_18521_; -goto v_reusejp_18552_; +lean_ctor_set(v___x_18561_, 1, v_val_18591_); +lean_ctor_set(v___x_18561_, 0, v_size_x27_18582_); +v___x_18593_ = v___x_18561_; +goto v_reusejp_18592_; } else { -lean_object* v_reuseFailAlloc_18554_; -v_reuseFailAlloc_18554_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_18554_, 0, v_size_x27_18542_); -lean_ctor_set(v_reuseFailAlloc_18554_, 1, v_val_18551_); -v___x_18553_ = v_reuseFailAlloc_18554_; -goto v_reusejp_18552_; +lean_object* v_reuseFailAlloc_18594_; +v_reuseFailAlloc_18594_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_18594_, 0, v_size_x27_18582_); +lean_ctor_set(v_reuseFailAlloc_18594_, 1, v_val_18591_); +v___x_18593_ = v_reuseFailAlloc_18594_; +goto v_reusejp_18592_; } -v_reusejp_18552_: +v_reusejp_18592_: { -return v___x_18553_; +return v___x_18593_; } } else { -lean_object* v___x_18556_; -if (v_isShared_18522_ == 0) -{ -lean_ctor_set(v___x_18521_, 1, v_buckets_x27_18544_); -lean_ctor_set(v___x_18521_, 0, v_size_x27_18542_); -v___x_18556_ = v___x_18521_; -goto v_reusejp_18555_; -} -else -{ -lean_object* v_reuseFailAlloc_18557_; -v_reuseFailAlloc_18557_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_18557_, 0, v_size_x27_18542_); -lean_ctor_set(v_reuseFailAlloc_18557_, 1, v_buckets_x27_18544_); -v___x_18556_ = v_reuseFailAlloc_18557_; -goto v_reusejp_18555_; -} -v_reusejp_18555_: -{ -return v___x_18556_; -} -} -} -else -{ -lean_object* v___x_18558_; lean_object* v_buckets_x27_18559_; lean_object* v_bkt_x27_18560_; uint8_t v___x_18561_; -lean_inc(v_bkt_18537_); -lean_del_object(v___x_18521_); -v___x_18558_ = lean_box(0); -v_buckets_x27_18559_ = lean_array_uset(v_buckets_18519_, v___x_18536_, v___x_18558_); -lean_inc(v_a_18510_); -v_bkt_x27_18560_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(v___x_18508_, v_a_18510_, v_bkt_18537_); -v___x_18561_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_18510_, v_bkt_x27_18560_); -lean_dec(v_a_18510_); -if (v___x_18561_ == 0) -{ -lean_object* v___x_18562_; lean_object* v___x_18563_; -v___x_18562_ = lean_unsigned_to_nat(1u); -v___x_18563_ = lean_nat_sub(v_size_18518_, v___x_18562_); -lean_dec(v_size_18518_); -v___y_18512_ = v_bkt_x27_18560_; -v___y_18513_ = v_buckets_x27_18559_; -v___y_18514_ = v___x_18536_; -v___y_18515_ = v___x_18563_; -goto v___jp_18511_; -} -else -{ -v___y_18512_ = v_bkt_x27_18560_; -v___y_18513_ = v_buckets_x27_18559_; -v___y_18514_ = v___x_18536_; -v___y_18515_ = v_size_18518_; -goto v___jp_18511_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__7(lean_object* v_x_18567_, lean_object* v_x_18568_){ -_start: -{ -if (lean_obj_tag(v_x_18568_) == 0) -{ -return v_x_18567_; -} -else -{ -lean_object* v_head_18569_; lean_object* v_parentName_x3f_18570_; -v_head_18569_ = lean_ctor_get(v_x_18568_, 0); -v_parentName_x3f_18570_ = lean_ctor_get(v_head_18569_, 5); -if (lean_obj_tag(v_parentName_x3f_18570_) == 1) -{ -lean_object* v_tail_18571_; lean_object* v___x_18573_; uint8_t v_isShared_18574_; uint8_t v_isSharedCheck_18583_; -lean_inc_ref(v_parentName_x3f_18570_); -lean_inc(v_head_18569_); -v_tail_18571_ = lean_ctor_get(v_x_18568_, 1); -v_isSharedCheck_18583_ = !lean_is_exclusive(v_x_18568_); -if (v_isSharedCheck_18583_ == 0) -{ -lean_object* v_unused_18584_; -v_unused_18584_ = lean_ctor_get(v_x_18568_, 0); -lean_dec(v_unused_18584_); -v___x_18573_ = v_x_18568_; -v_isShared_18574_ = v_isSharedCheck_18583_; -goto v_resetjp_18572_; -} -else -{ -lean_inc(v_tail_18571_); -lean_dec(v_x_18568_); -v___x_18573_ = lean_box(0); -v_isShared_18574_ = v_isSharedCheck_18583_; -goto v_resetjp_18572_; -} -v_resetjp_18572_: -{ -lean_object* v_ref_18575_; lean_object* v_val_18576_; lean_object* v_val_18577_; lean_object* v___x_18579_; -v_ref_18575_ = lean_ctor_get(v_head_18569_, 0); -lean_inc(v_ref_18575_); -v_val_18576_ = lean_ctor_get(v_head_18569_, 9); -lean_inc_ref(v_val_18576_); -lean_dec(v_head_18569_); -v_val_18577_ = lean_ctor_get(v_parentName_x3f_18570_, 0); -lean_inc(v_val_18577_); -lean_dec_ref(v_parentName_x3f_18570_); -if (v_isShared_18574_ == 0) -{ -lean_ctor_set_tag(v___x_18573_, 0); -lean_ctor_set(v___x_18573_, 1, v_val_18576_); -lean_ctor_set(v___x_18573_, 0, v_ref_18575_); -v___x_18579_ = v___x_18573_; -goto v_reusejp_18578_; -} -else -{ -lean_object* v_reuseFailAlloc_18582_; -v_reuseFailAlloc_18582_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_18582_, 0, v_ref_18575_); -lean_ctor_set(v_reuseFailAlloc_18582_, 1, v_val_18576_); -v___x_18579_ = v_reuseFailAlloc_18582_; -goto v_reusejp_18578_; -} -v_reusejp_18578_: -{ -lean_object* v___x_18580_; -v___x_18580_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2(v___x_18579_, v_x_18567_, v_val_18577_); -v_x_18567_ = v___x_18580_; -v_x_18568_ = v_tail_18571_; -goto _start; -} -} -} -else -{ -lean_object* v_tail_18585_; -v_tail_18585_ = lean_ctor_get(v_x_18568_, 1); -lean_inc(v_tail_18585_); -lean_dec_ref(v_x_18568_); -v_x_18568_ = v_tail_18585_; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(size_t v_sz_18587_, size_t v_i_18588_, lean_object* v_bs_18589_, lean_object* v___y_18590_, lean_object* v___y_18591_, lean_object* v___y_18592_, lean_object* v___y_18593_){ -_start: -{ -uint8_t v___x_18595_; -v___x_18595_ = lean_usize_dec_lt(v_i_18588_, v_sz_18587_); -if (v___x_18595_ == 0) -{ lean_object* v___x_18596_; -lean_dec(v___y_18593_); -lean_dec(v___y_18591_); -lean_dec_ref(v___y_18590_); -v___x_18596_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18596_, 0, v_bs_18589_); +if (v_isShared_18562_ == 0) +{ +lean_ctor_set(v___x_18561_, 1, v_buckets_x27_18584_); +lean_ctor_set(v___x_18561_, 0, v_size_x27_18582_); +v___x_18596_ = v___x_18561_; +goto v_reusejp_18595_; +} +else +{ +lean_object* v_reuseFailAlloc_18597_; +v_reuseFailAlloc_18597_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_18597_, 0, v_size_x27_18582_); +lean_ctor_set(v_reuseFailAlloc_18597_, 1, v_buckets_x27_18584_); +v___x_18596_ = v_reuseFailAlloc_18597_; +goto v_reusejp_18595_; +} +v_reusejp_18595_: +{ return v___x_18596_; } +} +} else { -lean_object* v_v_18597_; lean_object* v_toDefView_18598_; lean_object* v_toDefViewElabHeaderData_18599_; lean_object* v_declId_18600_; lean_object* v_type_18601_; lean_object* v_fileName_18602_; lean_object* v_fileMap_18603_; lean_object* v_options_18604_; lean_object* v_currRecDepth_18605_; lean_object* v_maxRecDepth_18606_; lean_object* v_ref_18607_; lean_object* v_currNamespace_18608_; lean_object* v_openDecls_18609_; lean_object* v_initHeartbeats_18610_; lean_object* v_maxHeartbeats_18611_; lean_object* v_quotContext_18612_; lean_object* v_currMacroScope_18613_; uint8_t v_diag_18614_; lean_object* v_cancelTk_x3f_18615_; uint8_t v_suppressElabErrors_18616_; lean_object* v_inheritedTraceOptions_18617_; lean_object* v_ref_18618_; lean_object* v___x_18619_; lean_object* v___x_18620_; -v_v_18597_ = lean_array_uget_borrowed(v_bs_18589_, v_i_18588_); -v_toDefView_18598_ = lean_ctor_get(v_v_18597_, 0); -v_toDefViewElabHeaderData_18599_ = lean_ctor_get(v_v_18597_, 1); -v_declId_18600_ = lean_ctor_get(v_toDefView_18598_, 3); -v_type_18601_ = lean_ctor_get(v_toDefViewElabHeaderData_18599_, 5); -v_fileName_18602_ = lean_ctor_get(v___y_18592_, 0); -v_fileMap_18603_ = lean_ctor_get(v___y_18592_, 1); -v_options_18604_ = lean_ctor_get(v___y_18592_, 2); -v_currRecDepth_18605_ = lean_ctor_get(v___y_18592_, 3); -v_maxRecDepth_18606_ = lean_ctor_get(v___y_18592_, 4); -v_ref_18607_ = lean_ctor_get(v___y_18592_, 5); -v_currNamespace_18608_ = lean_ctor_get(v___y_18592_, 6); -v_openDecls_18609_ = lean_ctor_get(v___y_18592_, 7); -v_initHeartbeats_18610_ = lean_ctor_get(v___y_18592_, 8); -v_maxHeartbeats_18611_ = lean_ctor_get(v___y_18592_, 9); -v_quotContext_18612_ = lean_ctor_get(v___y_18592_, 10); -v_currMacroScope_18613_ = lean_ctor_get(v___y_18592_, 11); -v_diag_18614_ = lean_ctor_get_uint8(v___y_18592_, sizeof(void*)*14); -v_cancelTk_x3f_18615_ = lean_ctor_get(v___y_18592_, 12); -v_suppressElabErrors_18616_ = lean_ctor_get_uint8(v___y_18592_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_18617_ = lean_ctor_get(v___y_18592_, 13); -v_ref_18618_ = l_Lean_replaceRef(v_declId_18600_, v_ref_18607_); -lean_inc_ref(v_inheritedTraceOptions_18617_); -lean_inc(v_cancelTk_x3f_18615_); -lean_inc(v_currMacroScope_18613_); -lean_inc(v_quotContext_18612_); -lean_inc(v_maxHeartbeats_18611_); -lean_inc(v_initHeartbeats_18610_); -lean_inc(v_openDecls_18609_); -lean_inc(v_currNamespace_18608_); -lean_inc(v_maxRecDepth_18606_); -lean_inc(v_currRecDepth_18605_); -lean_inc_ref(v_options_18604_); -lean_inc_ref(v_fileMap_18603_); -lean_inc_ref(v_fileName_18602_); -v___x_18619_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_18619_, 0, v_fileName_18602_); -lean_ctor_set(v___x_18619_, 1, v_fileMap_18603_); -lean_ctor_set(v___x_18619_, 2, v_options_18604_); -lean_ctor_set(v___x_18619_, 3, v_currRecDepth_18605_); -lean_ctor_set(v___x_18619_, 4, v_maxRecDepth_18606_); -lean_ctor_set(v___x_18619_, 5, v_ref_18618_); -lean_ctor_set(v___x_18619_, 6, v_currNamespace_18608_); -lean_ctor_set(v___x_18619_, 7, v_openDecls_18609_); -lean_ctor_set(v___x_18619_, 8, v_initHeartbeats_18610_); -lean_ctor_set(v___x_18619_, 9, v_maxHeartbeats_18611_); -lean_ctor_set(v___x_18619_, 10, v_quotContext_18612_); -lean_ctor_set(v___x_18619_, 11, v_currMacroScope_18613_); -lean_ctor_set(v___x_18619_, 12, v_cancelTk_x3f_18615_); -lean_ctor_set(v___x_18619_, 13, v_inheritedTraceOptions_18617_); -lean_ctor_set_uint8(v___x_18619_, sizeof(void*)*14, v_diag_18614_); -lean_ctor_set_uint8(v___x_18619_, sizeof(void*)*14 + 1, v_suppressElabErrors_18616_); -lean_inc(v___y_18593_); -lean_inc(v___y_18591_); -lean_inc_ref(v___y_18590_); -lean_inc_ref(v_type_18601_); -v___x_18620_ = l_Lean_Meta_mkLabeledSorry(v_type_18601_, v___x_18595_, v___x_18595_, v___y_18590_, v___y_18591_, v___x_18619_, v___y_18593_); -if (lean_obj_tag(v___x_18620_) == 0) +lean_object* v___x_18598_; lean_object* v_buckets_x27_18599_; lean_object* v_bkt_x27_18600_; uint8_t v___x_18601_; +lean_inc(v_bkt_18577_); +lean_del_object(v___x_18561_); +v___x_18598_ = lean_box(0); +v_buckets_x27_18599_ = lean_array_uset(v_buckets_18559_, v___x_18576_, v___x_18598_); +lean_inc(v_a_18550_); +v_bkt_x27_18600_ = l_Std_DHashMap_Internal_AssocList_Const_alter___at___00Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2_spec__2(v___x_18548_, v_a_18550_, v_bkt_18577_); +v___x_18601_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkAllDeclNamesDistinct_spec__0_spec__0___redArg(v_a_18550_, v_bkt_x27_18600_); +lean_dec(v_a_18550_); +if (v___x_18601_ == 0) { -lean_object* v_a_18621_; lean_object* v___x_18622_; lean_object* v_bs_x27_18623_; size_t v___x_18624_; size_t v___x_18625_; lean_object* v___x_18626_; -v_a_18621_ = lean_ctor_get(v___x_18620_, 0); -lean_inc(v_a_18621_); -lean_dec_ref(v___x_18620_); -v___x_18622_ = lean_unsigned_to_nat(0u); -v_bs_x27_18623_ = lean_array_uset(v_bs_18589_, v_i_18588_, v___x_18622_); -v___x_18624_ = ((size_t)1ULL); -v___x_18625_ = lean_usize_add(v_i_18588_, v___x_18624_); -v___x_18626_ = lean_array_uset(v_bs_x27_18623_, v_i_18588_, v_a_18621_); -v_i_18588_ = v___x_18625_; -v_bs_18589_ = v___x_18626_; +lean_object* v___x_18602_; lean_object* v___x_18603_; +v___x_18602_ = lean_unsigned_to_nat(1u); +v___x_18603_ = lean_nat_sub(v_size_18558_, v___x_18602_); +lean_dec(v_size_18558_); +v___y_18552_ = v_bkt_x27_18600_; +v___y_18553_ = v___x_18576_; +v___y_18554_ = v_buckets_x27_18599_; +v___y_18555_ = v___x_18603_; +goto v___jp_18551_; +} +else +{ +v___y_18552_ = v_bkt_x27_18600_; +v___y_18553_ = v___x_18576_; +v___y_18554_ = v_buckets_x27_18599_; +v___y_18555_ = v_size_18558_; +goto v___jp_18551_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_foldl___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__7(lean_object* v_x_18607_, lean_object* v_x_18608_){ +_start: +{ +if (lean_obj_tag(v_x_18608_) == 0) +{ +return v_x_18607_; +} +else +{ +lean_object* v_head_18609_; lean_object* v_parentName_x3f_18610_; +v_head_18609_ = lean_ctor_get(v_x_18608_, 0); +v_parentName_x3f_18610_ = lean_ctor_get(v_head_18609_, 5); +if (lean_obj_tag(v_parentName_x3f_18610_) == 1) +{ +lean_object* v_tail_18611_; lean_object* v___x_18613_; uint8_t v_isShared_18614_; uint8_t v_isSharedCheck_18623_; +lean_inc_ref(v_parentName_x3f_18610_); +lean_inc(v_head_18609_); +v_tail_18611_ = lean_ctor_get(v_x_18608_, 1); +v_isSharedCheck_18623_ = !lean_is_exclusive(v_x_18608_); +if (v_isSharedCheck_18623_ == 0) +{ +lean_object* v_unused_18624_; +v_unused_18624_ = lean_ctor_get(v_x_18608_, 0); +lean_dec(v_unused_18624_); +v___x_18613_ = v_x_18608_; +v_isShared_18614_ = v_isSharedCheck_18623_; +goto v_resetjp_18612_; +} +else +{ +lean_inc(v_tail_18611_); +lean_dec(v_x_18608_); +v___x_18613_ = lean_box(0); +v_isShared_18614_ = v_isSharedCheck_18623_; +goto v_resetjp_18612_; +} +v_resetjp_18612_: +{ +lean_object* v_ref_18615_; lean_object* v_val_18616_; lean_object* v_val_18617_; lean_object* v___x_18619_; +v_ref_18615_ = lean_ctor_get(v_head_18609_, 0); +lean_inc(v_ref_18615_); +v_val_18616_ = lean_ctor_get(v_head_18609_, 9); +lean_inc_ref(v_val_18616_); +lean_dec(v_head_18609_); +v_val_18617_ = lean_ctor_get(v_parentName_x3f_18610_, 0); +lean_inc(v_val_18617_); +lean_dec_ref(v_parentName_x3f_18610_); +if (v_isShared_18614_ == 0) +{ +lean_ctor_set_tag(v___x_18613_, 0); +lean_ctor_set(v___x_18613_, 1, v_val_18616_); +lean_ctor_set(v___x_18613_, 0, v_ref_18615_); +v___x_18619_ = v___x_18613_; +goto v_reusejp_18618_; +} +else +{ +lean_object* v_reuseFailAlloc_18622_; +v_reuseFailAlloc_18622_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_18622_, 0, v_ref_18615_); +lean_ctor_set(v_reuseFailAlloc_18622_, 1, v_val_18616_); +v___x_18619_ = v_reuseFailAlloc_18622_; +goto v_reusejp_18618_; +} +v_reusejp_18618_: +{ +lean_object* v___x_18620_; +v___x_18620_ = l_Std_DHashMap_Internal_Raw_u2080_Const_alter___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__2(v___x_18619_, v_x_18607_, v_val_18617_); +v_x_18607_ = v___x_18620_; +v_x_18608_ = v_tail_18611_; +goto _start; +} +} +} +else +{ +lean_object* v_tail_18625_; +v_tail_18625_ = lean_ctor_get(v_x_18608_, 1); +lean_inc(v_tail_18625_); +lean_dec_ref(v_x_18608_); +v_x_18608_ = v_tail_18625_; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(size_t v_sz_18627_, size_t v_i_18628_, lean_object* v_bs_18629_, lean_object* v___y_18630_, lean_object* v___y_18631_, lean_object* v___y_18632_, lean_object* v___y_18633_){ +_start: +{ +uint8_t v___x_18635_; +v___x_18635_ = lean_usize_dec_lt(v_i_18628_, v_sz_18627_); +if (v___x_18635_ == 0) +{ +lean_object* v___x_18636_; +lean_dec(v___y_18633_); +lean_dec(v___y_18631_); +lean_dec_ref(v___y_18630_); +v___x_18636_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18636_, 0, v_bs_18629_); +return v___x_18636_; +} +else +{ +lean_object* v_v_18637_; lean_object* v_toDefView_18638_; lean_object* v_toDefViewElabHeaderData_18639_; lean_object* v_declId_18640_; lean_object* v_type_18641_; lean_object* v_fileName_18642_; lean_object* v_fileMap_18643_; lean_object* v_options_18644_; lean_object* v_currRecDepth_18645_; lean_object* v_maxRecDepth_18646_; lean_object* v_ref_18647_; lean_object* v_currNamespace_18648_; lean_object* v_openDecls_18649_; lean_object* v_initHeartbeats_18650_; lean_object* v_maxHeartbeats_18651_; lean_object* v_quotContext_18652_; lean_object* v_currMacroScope_18653_; uint8_t v_diag_18654_; lean_object* v_cancelTk_x3f_18655_; uint8_t v_suppressElabErrors_18656_; lean_object* v_inheritedTraceOptions_18657_; lean_object* v_ref_18658_; lean_object* v___x_18659_; lean_object* v___x_18660_; +v_v_18637_ = lean_array_uget_borrowed(v_bs_18629_, v_i_18628_); +v_toDefView_18638_ = lean_ctor_get(v_v_18637_, 0); +v_toDefViewElabHeaderData_18639_ = lean_ctor_get(v_v_18637_, 1); +v_declId_18640_ = lean_ctor_get(v_toDefView_18638_, 3); +v_type_18641_ = lean_ctor_get(v_toDefViewElabHeaderData_18639_, 5); +v_fileName_18642_ = lean_ctor_get(v___y_18632_, 0); +v_fileMap_18643_ = lean_ctor_get(v___y_18632_, 1); +v_options_18644_ = lean_ctor_get(v___y_18632_, 2); +v_currRecDepth_18645_ = lean_ctor_get(v___y_18632_, 3); +v_maxRecDepth_18646_ = lean_ctor_get(v___y_18632_, 4); +v_ref_18647_ = lean_ctor_get(v___y_18632_, 5); +v_currNamespace_18648_ = lean_ctor_get(v___y_18632_, 6); +v_openDecls_18649_ = lean_ctor_get(v___y_18632_, 7); +v_initHeartbeats_18650_ = lean_ctor_get(v___y_18632_, 8); +v_maxHeartbeats_18651_ = lean_ctor_get(v___y_18632_, 9); +v_quotContext_18652_ = lean_ctor_get(v___y_18632_, 10); +v_currMacroScope_18653_ = lean_ctor_get(v___y_18632_, 11); +v_diag_18654_ = lean_ctor_get_uint8(v___y_18632_, sizeof(void*)*14); +v_cancelTk_x3f_18655_ = lean_ctor_get(v___y_18632_, 12); +v_suppressElabErrors_18656_ = lean_ctor_get_uint8(v___y_18632_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_18657_ = lean_ctor_get(v___y_18632_, 13); +v_ref_18658_ = l_Lean_replaceRef(v_declId_18640_, v_ref_18647_); +lean_inc_ref(v_inheritedTraceOptions_18657_); +lean_inc(v_cancelTk_x3f_18655_); +lean_inc(v_currMacroScope_18653_); +lean_inc(v_quotContext_18652_); +lean_inc(v_maxHeartbeats_18651_); +lean_inc(v_initHeartbeats_18650_); +lean_inc(v_openDecls_18649_); +lean_inc(v_currNamespace_18648_); +lean_inc(v_maxRecDepth_18646_); +lean_inc(v_currRecDepth_18645_); +lean_inc_ref(v_options_18644_); +lean_inc_ref(v_fileMap_18643_); +lean_inc_ref(v_fileName_18642_); +v___x_18659_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_18659_, 0, v_fileName_18642_); +lean_ctor_set(v___x_18659_, 1, v_fileMap_18643_); +lean_ctor_set(v___x_18659_, 2, v_options_18644_); +lean_ctor_set(v___x_18659_, 3, v_currRecDepth_18645_); +lean_ctor_set(v___x_18659_, 4, v_maxRecDepth_18646_); +lean_ctor_set(v___x_18659_, 5, v_ref_18658_); +lean_ctor_set(v___x_18659_, 6, v_currNamespace_18648_); +lean_ctor_set(v___x_18659_, 7, v_openDecls_18649_); +lean_ctor_set(v___x_18659_, 8, v_initHeartbeats_18650_); +lean_ctor_set(v___x_18659_, 9, v_maxHeartbeats_18651_); +lean_ctor_set(v___x_18659_, 10, v_quotContext_18652_); +lean_ctor_set(v___x_18659_, 11, v_currMacroScope_18653_); +lean_ctor_set(v___x_18659_, 12, v_cancelTk_x3f_18655_); +lean_ctor_set(v___x_18659_, 13, v_inheritedTraceOptions_18657_); +lean_ctor_set_uint8(v___x_18659_, sizeof(void*)*14, v_diag_18654_); +lean_ctor_set_uint8(v___x_18659_, sizeof(void*)*14 + 1, v_suppressElabErrors_18656_); +lean_inc(v___y_18633_); +lean_inc(v___y_18631_); +lean_inc_ref(v___y_18630_); +lean_inc_ref(v_type_18641_); +v___x_18660_ = l_Lean_Meta_mkLabeledSorry(v_type_18641_, v___x_18635_, v___x_18635_, v___y_18630_, v___y_18631_, v___x_18659_, v___y_18633_); +if (lean_obj_tag(v___x_18660_) == 0) +{ +lean_object* v_a_18661_; lean_object* v___x_18662_; lean_object* v_bs_x27_18663_; size_t v___x_18664_; size_t v___x_18665_; lean_object* v___x_18666_; +v_a_18661_ = lean_ctor_get(v___x_18660_, 0); +lean_inc(v_a_18661_); +lean_dec_ref(v___x_18660_); +v___x_18662_ = lean_unsigned_to_nat(0u); +v_bs_x27_18663_ = lean_array_uset(v_bs_18629_, v_i_18628_, v___x_18662_); +v___x_18664_ = ((size_t)1ULL); +v___x_18665_ = lean_usize_add(v_i_18628_, v___x_18664_); +v___x_18666_ = lean_array_uset(v_bs_x27_18663_, v_i_18628_, v_a_18661_); +v_i_18628_ = v___x_18665_; +v_bs_18629_ = v___x_18666_; goto _start; } else { -lean_object* v_a_18628_; lean_object* v___x_18630_; uint8_t v_isShared_18631_; uint8_t v_isSharedCheck_18635_; -lean_dec(v___y_18593_); -lean_dec(v___y_18591_); -lean_dec_ref(v___y_18590_); -lean_dec_ref(v_bs_18589_); -v_a_18628_ = lean_ctor_get(v___x_18620_, 0); -v_isSharedCheck_18635_ = !lean_is_exclusive(v___x_18620_); -if (v_isSharedCheck_18635_ == 0) +lean_object* v_a_18668_; lean_object* v___x_18670_; uint8_t v_isShared_18671_; uint8_t v_isSharedCheck_18675_; +lean_dec(v___y_18633_); +lean_dec(v___y_18631_); +lean_dec_ref(v___y_18630_); +lean_dec_ref(v_bs_18629_); +v_a_18668_ = lean_ctor_get(v___x_18660_, 0); +v_isSharedCheck_18675_ = !lean_is_exclusive(v___x_18660_); +if (v_isSharedCheck_18675_ == 0) { -v___x_18630_ = v___x_18620_; -v_isShared_18631_ = v_isSharedCheck_18635_; -goto v_resetjp_18629_; +v___x_18670_ = v___x_18660_; +v_isShared_18671_ = v_isSharedCheck_18675_; +goto v_resetjp_18669_; } else { -lean_inc(v_a_18628_); -lean_dec(v___x_18620_); -v___x_18630_ = lean_box(0); -v_isShared_18631_ = v_isSharedCheck_18635_; -goto v_resetjp_18629_; +lean_inc(v_a_18668_); +lean_dec(v___x_18660_); +v___x_18670_ = lean_box(0); +v_isShared_18671_ = v_isSharedCheck_18675_; +goto v_resetjp_18669_; } -v_resetjp_18629_: +v_resetjp_18669_: { -lean_object* v___x_18633_; -if (v_isShared_18631_ == 0) +lean_object* v___x_18673_; +if (v_isShared_18671_ == 0) { -v___x_18633_ = v___x_18630_; -goto v_reusejp_18632_; +v___x_18673_ = v___x_18670_; +goto v_reusejp_18672_; } else { -lean_object* v_reuseFailAlloc_18634_; -v_reuseFailAlloc_18634_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18634_, 0, v_a_18628_); -v___x_18633_ = v_reuseFailAlloc_18634_; -goto v_reusejp_18632_; +lean_object* v_reuseFailAlloc_18674_; +v_reuseFailAlloc_18674_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18674_, 0, v_a_18668_); +v___x_18673_ = v_reuseFailAlloc_18674_; +goto v_reusejp_18672_; } -v_reusejp_18632_: +v_reusejp_18672_: { -return v___x_18633_; +return v___x_18673_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg___boxed(lean_object* v_sz_18636_, lean_object* v_i_18637_, lean_object* v_bs_18638_, lean_object* v___y_18639_, lean_object* v___y_18640_, lean_object* v___y_18641_, lean_object* v___y_18642_, lean_object* v___y_18643_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg___boxed(lean_object* v_sz_18676_, lean_object* v_i_18677_, lean_object* v_bs_18678_, lean_object* v___y_18679_, lean_object* v___y_18680_, lean_object* v___y_18681_, lean_object* v___y_18682_, lean_object* v___y_18683_){ _start: { -size_t v_sz_boxed_18644_; size_t v_i_boxed_18645_; lean_object* v_res_18646_; -v_sz_boxed_18644_ = lean_unbox_usize(v_sz_18636_); -lean_dec(v_sz_18636_); -v_i_boxed_18645_ = lean_unbox_usize(v_i_18637_); -lean_dec(v_i_18637_); -v_res_18646_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_boxed_18644_, v_i_boxed_18645_, v_bs_18638_, v___y_18639_, v___y_18640_, v___y_18641_, v___y_18642_); -lean_dec_ref(v___y_18641_); -return v_res_18646_; +size_t v_sz_boxed_18684_; size_t v_i_boxed_18685_; lean_object* v_res_18686_; +v_sz_boxed_18684_ = lean_unbox_usize(v_sz_18676_); +lean_dec(v_sz_18676_); +v_i_boxed_18685_ = lean_unbox_usize(v_i_18677_); +lean_dec(v_i_18677_); +v_res_18686_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_boxed_18684_, v_i_boxed_18685_, v_bs_18678_, v___y_18679_, v___y_18680_, v___y_18681_, v___y_18682_); +lean_dec_ref(v___y_18681_); +return v_res_18686_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(lean_object* v_as_18647_, size_t v_sz_18648_, size_t v_i_18649_, lean_object* v_b_18650_, lean_object* v___y_18651_, lean_object* v___y_18652_, lean_object* v___y_18653_, lean_object* v___y_18654_, lean_object* v___y_18655_, lean_object* v___y_18656_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(lean_object* v_as_18687_, size_t v_sz_18688_, size_t v_i_18689_, lean_object* v_b_18690_, lean_object* v___y_18691_, lean_object* v___y_18692_, lean_object* v___y_18693_, lean_object* v___y_18694_, lean_object* v___y_18695_, lean_object* v___y_18696_){ _start: { -uint8_t v___x_18658_; -v___x_18658_ = lean_usize_dec_lt(v_i_18649_, v_sz_18648_); -if (v___x_18658_ == 0) +uint8_t v___x_18698_; +v___x_18698_ = lean_usize_dec_lt(v_i_18689_, v_sz_18688_); +if (v___x_18698_ == 0) { -lean_object* v___x_18659_; -lean_dec(v___y_18656_); -lean_dec_ref(v___y_18655_); -lean_dec(v___y_18654_); -lean_dec_ref(v___y_18653_); -lean_dec(v___y_18652_); -lean_dec_ref(v___y_18651_); -v___x_18659_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18659_, 0, v_b_18650_); -return v___x_18659_; +lean_object* v___x_18699_; +lean_dec(v___y_18696_); +lean_dec_ref(v___y_18695_); +lean_dec(v___y_18694_); +lean_dec_ref(v___y_18693_); +lean_dec(v___y_18692_); +lean_dec_ref(v___y_18691_); +v___x_18699_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18699_, 0, v_b_18690_); +return v___x_18699_; } else { -lean_object* v_array_18660_; lean_object* v_start_18661_; lean_object* v_stop_18662_; uint8_t v___x_18663_; -v_array_18660_ = lean_ctor_get(v_b_18650_, 0); -v_start_18661_ = lean_ctor_get(v_b_18650_, 1); -v_stop_18662_ = lean_ctor_get(v_b_18650_, 2); -v___x_18663_ = lean_nat_dec_lt(v_start_18661_, v_stop_18662_); -if (v___x_18663_ == 0) +lean_object* v_array_18700_; lean_object* v_start_18701_; lean_object* v_stop_18702_; uint8_t v___x_18703_; +v_array_18700_ = lean_ctor_get(v_b_18690_, 0); +v_start_18701_ = lean_ctor_get(v_b_18690_, 1); +v_stop_18702_ = lean_ctor_get(v_b_18690_, 2); +v___x_18703_ = lean_nat_dec_lt(v_start_18701_, v_stop_18702_); +if (v___x_18703_ == 0) { -lean_object* v___x_18664_; -lean_dec(v___y_18656_); -lean_dec_ref(v___y_18655_); -lean_dec(v___y_18654_); -lean_dec_ref(v___y_18653_); -lean_dec(v___y_18652_); -lean_dec_ref(v___y_18651_); -v___x_18664_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18664_, 0, v_b_18650_); -return v___x_18664_; +lean_object* v___x_18704_; +lean_dec(v___y_18696_); +lean_dec_ref(v___y_18695_); +lean_dec(v___y_18694_); +lean_dec_ref(v___y_18693_); +lean_dec(v___y_18692_); +lean_dec_ref(v___y_18691_); +v___x_18704_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18704_, 0, v_b_18690_); +return v___x_18704_; } else { -lean_object* v___x_18666_; uint8_t v_isShared_18667_; uint8_t v_isSharedCheck_18688_; -lean_inc(v_stop_18662_); -lean_inc(v_start_18661_); -lean_inc_ref(v_array_18660_); -v_isSharedCheck_18688_ = !lean_is_exclusive(v_b_18650_); -if (v_isSharedCheck_18688_ == 0) +lean_object* v___x_18706_; uint8_t v_isShared_18707_; uint8_t v_isSharedCheck_18728_; +lean_inc(v_stop_18702_); +lean_inc(v_start_18701_); +lean_inc_ref(v_array_18700_); +v_isSharedCheck_18728_ = !lean_is_exclusive(v_b_18690_); +if (v_isSharedCheck_18728_ == 0) { -lean_object* v_unused_18689_; lean_object* v_unused_18690_; lean_object* v_unused_18691_; -v_unused_18689_ = lean_ctor_get(v_b_18650_, 2); -lean_dec(v_unused_18689_); -v_unused_18690_ = lean_ctor_get(v_b_18650_, 1); -lean_dec(v_unused_18690_); -v_unused_18691_ = lean_ctor_get(v_b_18650_, 0); -lean_dec(v_unused_18691_); -v___x_18666_ = v_b_18650_; -v_isShared_18667_ = v_isSharedCheck_18688_; -goto v_resetjp_18665_; +lean_object* v_unused_18729_; lean_object* v_unused_18730_; lean_object* v_unused_18731_; +v_unused_18729_ = lean_ctor_get(v_b_18690_, 2); +lean_dec(v_unused_18729_); +v_unused_18730_ = lean_ctor_get(v_b_18690_, 1); +lean_dec(v_unused_18730_); +v_unused_18731_ = lean_ctor_get(v_b_18690_, 0); +lean_dec(v_unused_18731_); +v___x_18706_ = v_b_18690_; +v_isShared_18707_ = v_isSharedCheck_18728_; +goto v_resetjp_18705_; } else { -lean_dec(v_b_18650_); -v___x_18666_ = lean_box(0); -v_isShared_18667_ = v_isSharedCheck_18688_; -goto v_resetjp_18665_; +lean_dec(v_b_18690_); +v___x_18706_ = lean_box(0); +v_isShared_18707_ = v_isSharedCheck_18728_; +goto v_resetjp_18705_; } -v_resetjp_18665_: +v_resetjp_18705_: { -lean_object* v_a_18668_; lean_object* v_declId_18669_; lean_object* v___x_18670_; lean_object* v___x_18671_; -v_a_18668_ = lean_array_uget_borrowed(v_as_18647_, v_i_18649_); -v_declId_18669_ = lean_ctor_get(v_a_18668_, 3); -v___x_18670_ = lean_array_fget_borrowed(v_array_18660_, v_start_18661_); -lean_inc(v___y_18656_); -lean_inc_ref(v___y_18655_); -lean_inc(v___y_18654_); -lean_inc_ref(v___y_18653_); -lean_inc(v___y_18652_); -lean_inc_ref(v___y_18651_); -lean_inc(v___x_18670_); -lean_inc(v_declId_18669_); -v___x_18671_ = l_Lean_Elab_Term_addLocalVarInfo(v_declId_18669_, v___x_18670_, v___y_18651_, v___y_18652_, v___y_18653_, v___y_18654_, v___y_18655_, v___y_18656_); -if (lean_obj_tag(v___x_18671_) == 0) +lean_object* v_a_18708_; lean_object* v_declId_18709_; lean_object* v___x_18710_; lean_object* v___x_18711_; +v_a_18708_ = lean_array_uget_borrowed(v_as_18687_, v_i_18689_); +v_declId_18709_ = lean_ctor_get(v_a_18708_, 3); +v___x_18710_ = lean_array_fget_borrowed(v_array_18700_, v_start_18701_); +lean_inc(v___y_18696_); +lean_inc_ref(v___y_18695_); +lean_inc(v___y_18694_); +lean_inc_ref(v___y_18693_); +lean_inc(v___y_18692_); +lean_inc_ref(v___y_18691_); +lean_inc(v___x_18710_); +lean_inc(v_declId_18709_); +v___x_18711_ = l_Lean_Elab_Term_addLocalVarInfo(v_declId_18709_, v___x_18710_, v___y_18691_, v___y_18692_, v___y_18693_, v___y_18694_, v___y_18695_, v___y_18696_); +if (lean_obj_tag(v___x_18711_) == 0) { -lean_object* v___x_18672_; lean_object* v___x_18673_; lean_object* v___x_18675_; -lean_dec_ref(v___x_18671_); -v___x_18672_ = lean_unsigned_to_nat(1u); -v___x_18673_ = lean_nat_add(v_start_18661_, v___x_18672_); -lean_dec(v_start_18661_); -if (v_isShared_18667_ == 0) +lean_object* v___x_18712_; lean_object* v___x_18713_; lean_object* v___x_18715_; +lean_dec_ref(v___x_18711_); +v___x_18712_ = lean_unsigned_to_nat(1u); +v___x_18713_ = lean_nat_add(v_start_18701_, v___x_18712_); +lean_dec(v_start_18701_); +if (v_isShared_18707_ == 0) { -lean_ctor_set(v___x_18666_, 1, v___x_18673_); -v___x_18675_ = v___x_18666_; -goto v_reusejp_18674_; +lean_ctor_set(v___x_18706_, 1, v___x_18713_); +v___x_18715_ = v___x_18706_; +goto v_reusejp_18714_; } else { -lean_object* v_reuseFailAlloc_18679_; -v_reuseFailAlloc_18679_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_18679_, 0, v_array_18660_); -lean_ctor_set(v_reuseFailAlloc_18679_, 1, v___x_18673_); -lean_ctor_set(v_reuseFailAlloc_18679_, 2, v_stop_18662_); -v___x_18675_ = v_reuseFailAlloc_18679_; -goto v_reusejp_18674_; +lean_object* v_reuseFailAlloc_18719_; +v_reuseFailAlloc_18719_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_18719_, 0, v_array_18700_); +lean_ctor_set(v_reuseFailAlloc_18719_, 1, v___x_18713_); +lean_ctor_set(v_reuseFailAlloc_18719_, 2, v_stop_18702_); +v___x_18715_ = v_reuseFailAlloc_18719_; +goto v_reusejp_18714_; } -v_reusejp_18674_: +v_reusejp_18714_: { -size_t v___x_18676_; size_t v___x_18677_; -v___x_18676_ = ((size_t)1ULL); -v___x_18677_ = lean_usize_add(v_i_18649_, v___x_18676_); -v_i_18649_ = v___x_18677_; -v_b_18650_ = v___x_18675_; +size_t v___x_18716_; size_t v___x_18717_; +v___x_18716_ = ((size_t)1ULL); +v___x_18717_ = lean_usize_add(v_i_18689_, v___x_18716_); +v_i_18689_ = v___x_18717_; +v_b_18690_ = v___x_18715_; goto _start; } } else { -lean_object* v_a_18680_; lean_object* v___x_18682_; uint8_t v_isShared_18683_; uint8_t v_isSharedCheck_18687_; -lean_del_object(v___x_18666_); -lean_dec(v_stop_18662_); -lean_dec(v_start_18661_); -lean_dec_ref(v_array_18660_); -lean_dec(v___y_18656_); -lean_dec_ref(v___y_18655_); -lean_dec(v___y_18654_); -lean_dec_ref(v___y_18653_); -lean_dec(v___y_18652_); -lean_dec_ref(v___y_18651_); -v_a_18680_ = lean_ctor_get(v___x_18671_, 0); -v_isSharedCheck_18687_ = !lean_is_exclusive(v___x_18671_); -if (v_isSharedCheck_18687_ == 0) +lean_object* v_a_18720_; lean_object* v___x_18722_; uint8_t v_isShared_18723_; uint8_t v_isSharedCheck_18727_; +lean_del_object(v___x_18706_); +lean_dec(v_stop_18702_); +lean_dec(v_start_18701_); +lean_dec_ref(v_array_18700_); +lean_dec(v___y_18696_); +lean_dec_ref(v___y_18695_); +lean_dec(v___y_18694_); +lean_dec_ref(v___y_18693_); +lean_dec(v___y_18692_); +lean_dec_ref(v___y_18691_); +v_a_18720_ = lean_ctor_get(v___x_18711_, 0); +v_isSharedCheck_18727_ = !lean_is_exclusive(v___x_18711_); +if (v_isSharedCheck_18727_ == 0) { -v___x_18682_ = v___x_18671_; -v_isShared_18683_ = v_isSharedCheck_18687_; -goto v_resetjp_18681_; +v___x_18722_ = v___x_18711_; +v_isShared_18723_ = v_isSharedCheck_18727_; +goto v_resetjp_18721_; } else { -lean_inc(v_a_18680_); -lean_dec(v___x_18671_); -v___x_18682_ = lean_box(0); -v_isShared_18683_ = v_isSharedCheck_18687_; -goto v_resetjp_18681_; +lean_inc(v_a_18720_); +lean_dec(v___x_18711_); +v___x_18722_ = lean_box(0); +v_isShared_18723_ = v_isSharedCheck_18727_; +goto v_resetjp_18721_; } -v_resetjp_18681_: +v_resetjp_18721_: { -lean_object* v___x_18685_; -if (v_isShared_18683_ == 0) +lean_object* v___x_18725_; +if (v_isShared_18723_ == 0) { -v___x_18685_ = v___x_18682_; -goto v_reusejp_18684_; +v___x_18725_ = v___x_18722_; +goto v_reusejp_18724_; } else { -lean_object* v_reuseFailAlloc_18686_; -v_reuseFailAlloc_18686_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18686_, 0, v_a_18680_); -v___x_18685_ = v_reuseFailAlloc_18686_; -goto v_reusejp_18684_; +lean_object* v_reuseFailAlloc_18726_; +v_reuseFailAlloc_18726_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18726_, 0, v_a_18720_); +v___x_18725_ = v_reuseFailAlloc_18726_; +goto v_reusejp_18724_; } -v_reusejp_18684_: +v_reusejp_18724_: { -return v___x_18685_; +return v___x_18725_; } } } @@ -53793,5274 +53948,5274 @@ return v___x_18685_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5___boxed(lean_object* v_as_18692_, lean_object* v_sz_18693_, lean_object* v_i_18694_, lean_object* v_b_18695_, lean_object* v___y_18696_, lean_object* v___y_18697_, lean_object* v___y_18698_, lean_object* v___y_18699_, lean_object* v___y_18700_, lean_object* v___y_18701_, lean_object* v___y_18702_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5___boxed(lean_object* v_as_18732_, lean_object* v_sz_18733_, lean_object* v_i_18734_, lean_object* v_b_18735_, lean_object* v___y_18736_, lean_object* v___y_18737_, lean_object* v___y_18738_, lean_object* v___y_18739_, lean_object* v___y_18740_, lean_object* v___y_18741_, lean_object* v___y_18742_){ _start: { -size_t v_sz_boxed_18703_; size_t v_i_boxed_18704_; lean_object* v_res_18705_; -v_sz_boxed_18703_ = lean_unbox_usize(v_sz_18693_); -lean_dec(v_sz_18693_); -v_i_boxed_18704_ = lean_unbox_usize(v_i_18694_); -lean_dec(v_i_18694_); -v_res_18705_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(v_as_18692_, v_sz_boxed_18703_, v_i_boxed_18704_, v_b_18695_, v___y_18696_, v___y_18697_, v___y_18698_, v___y_18699_, v___y_18700_, v___y_18701_); -lean_dec_ref(v_as_18692_); -return v_res_18705_; +size_t v_sz_boxed_18743_; size_t v_i_boxed_18744_; lean_object* v_res_18745_; +v_sz_boxed_18743_ = lean_unbox_usize(v_sz_18733_); +lean_dec(v_sz_18733_); +v_i_boxed_18744_ = lean_unbox_usize(v_i_18734_); +lean_dec(v_i_18734_); +v_res_18745_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(v_as_18732_, v_sz_boxed_18743_, v_i_boxed_18744_, v_b_18735_, v___y_18736_, v___y_18737_, v___y_18738_, v___y_18739_, v___y_18740_, v___y_18741_); +lean_dec_ref(v_as_18732_); +return v_res_18745_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2(lean_object* v_funFVars_18706_, lean_object* v___x_18707_, lean_object* v_views_18708_, size_t v___x_18709_, lean_object* v_vars_18710_, lean_object* v_sc_18711_, lean_object* v___x_18712_, lean_object* v___y_18713_, lean_object* v___y_18714_, lean_object* v___y_18715_, lean_object* v___y_18716_, lean_object* v___y_18717_, lean_object* v___y_18718_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2(lean_object* v_funFVars_18746_, lean_object* v___x_18747_, lean_object* v_views_18748_, size_t v___x_18749_, lean_object* v_vars_18750_, lean_object* v_sc_18751_, lean_object* v___x_18752_, lean_object* v___y_18753_, lean_object* v___y_18754_, lean_object* v___y_18755_, lean_object* v___y_18756_, lean_object* v___y_18757_, lean_object* v___y_18758_){ _start: { -lean_object* v___y_18721_; lean_object* v___y_18744_; lean_object* v___y_18745_; lean_object* v___y_18746_; lean_object* v___y_18747_; lean_object* v___y_18750_; lean_object* v___y_18751_; lean_object* v___y_18752_; lean_object* v___y_18753_; lean_object* v___y_18754_; lean_object* v_a_18759_; lean_object* v___y_18834_; uint8_t v___y_18835_; lean_object* v_a_18850_; lean_object* v___y_18854_; lean_object* v___x_18857_; -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc(v___y_18714_); -lean_inc_ref(v___y_18713_); -lean_inc_ref(v_sc_18711_); -lean_inc_ref(v_vars_18710_); -lean_inc_ref(v___x_18712_); -v___x_18857_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(v___x_18712_, v_vars_18710_, v_sc_18711_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18857_) == 0) +lean_object* v___y_18761_; lean_object* v___y_18784_; lean_object* v___y_18785_; lean_object* v___y_18786_; lean_object* v___y_18787_; lean_object* v___y_18790_; lean_object* v___y_18791_; lean_object* v___y_18792_; lean_object* v___y_18793_; lean_object* v___y_18794_; lean_object* v_a_18799_; lean_object* v___y_18874_; uint8_t v___y_18875_; lean_object* v_a_18890_; lean_object* v___y_18894_; lean_object* v___x_18897_; +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc(v___y_18754_); +lean_inc_ref(v___y_18753_); +lean_inc_ref(v_sc_18751_); +lean_inc_ref(v_vars_18750_); +lean_inc_ref(v___x_18752_); +v___x_18897_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues(v___x_18752_, v_vars_18750_, v_sc_18751_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18897_) == 0) { -lean_object* v_a_18858_; uint8_t v___x_18859_; lean_object* v___x_18860_; -v_a_18858_ = lean_ctor_get(v___x_18857_, 0); -lean_inc(v_a_18858_); -lean_dec_ref(v___x_18857_); -v___x_18859_ = 0; -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc(v___y_18714_); -lean_inc_ref(v___y_18713_); -v___x_18860_ = l_Lean_Elab_Term_synthesizeSyntheticMVarsNoPostponing(v___x_18859_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18860_) == 0) +lean_object* v_a_18898_; uint8_t v___x_18899_; lean_object* v___x_18900_; +v_a_18898_ = lean_ctor_get(v___x_18897_, 0); +lean_inc(v_a_18898_); +lean_dec_ref(v___x_18897_); +v___x_18899_ = 0; +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc(v___y_18754_); +lean_inc_ref(v___y_18753_); +v___x_18900_ = l_Lean_Elab_Term_synthesizeSyntheticMVarsNoPostponing(v___x_18899_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18900_) == 0) { -size_t v_sz_18861_; lean_object* v___x_18862_; -lean_dec_ref(v___x_18860_); -v_sz_18861_ = lean_array_size(v_a_18858_); -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -v___x_18862_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_18861_, v___x_18709_, v_a_18858_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -v___y_18854_ = v___x_18862_; -goto v___jp_18853_; +size_t v_sz_18901_; lean_object* v___x_18902_; +lean_dec_ref(v___x_18900_); +v_sz_18901_ = lean_array_size(v_a_18898_); +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +v___x_18902_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__2___redArg(v_sz_18901_, v___x_18749_, v_a_18898_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +v___y_18894_ = v___x_18902_; +goto v___jp_18893_; } else { -lean_object* v_a_18863_; -lean_dec(v_a_18858_); -v_a_18863_ = lean_ctor_get(v___x_18860_, 0); -lean_inc(v_a_18863_); -lean_dec_ref(v___x_18860_); -v_a_18850_ = v_a_18863_; -goto v___jp_18849_; +lean_object* v_a_18903_; +lean_dec(v_a_18898_); +v_a_18903_ = lean_ctor_get(v___x_18900_, 0); +lean_inc(v_a_18903_); +lean_dec_ref(v___x_18900_); +v_a_18890_ = v_a_18903_; +goto v___jp_18889_; } } else { -v___y_18854_ = v___x_18857_; -goto v___jp_18853_; +v___y_18894_ = v___x_18897_; +goto v___jp_18893_; } -v___jp_18720_: +v___jp_18760_: { -if (lean_obj_tag(v___y_18721_) == 0) +if (lean_obj_tag(v___y_18761_) == 0) { -lean_object* v___x_18722_; lean_object* v___x_18723_; size_t v_sz_18724_; lean_object* v___x_18725_; -lean_dec_ref(v___y_18721_); -v___x_18722_ = lean_array_get_size(v_funFVars_18706_); -v___x_18723_ = l_Array_toSubarray___redArg(v_funFVars_18706_, v___x_18707_, v___x_18722_); -v_sz_18724_ = lean_array_size(v_views_18708_); -v___x_18725_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(v_views_18708_, v_sz_18724_, v___x_18709_, v___x_18723_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18725_) == 0) +lean_object* v___x_18762_; lean_object* v___x_18763_; size_t v_sz_18764_; lean_object* v___x_18765_; +lean_dec_ref(v___y_18761_); +v___x_18762_ = lean_array_get_size(v_funFVars_18746_); +v___x_18763_ = l_Array_toSubarray___redArg(v_funFVars_18746_, v___x_18747_, v___x_18762_); +v_sz_18764_ = lean_array_size(v_views_18748_); +v___x_18765_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__5(v_views_18748_, v_sz_18764_, v___x_18749_, v___x_18763_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18765_) == 0) { -lean_object* v___x_18727_; uint8_t v_isShared_18728_; uint8_t v_isSharedCheck_18733_; -v_isSharedCheck_18733_ = !lean_is_exclusive(v___x_18725_); -if (v_isSharedCheck_18733_ == 0) +lean_object* v___x_18767_; uint8_t v_isShared_18768_; uint8_t v_isSharedCheck_18773_; +v_isSharedCheck_18773_ = !lean_is_exclusive(v___x_18765_); +if (v_isSharedCheck_18773_ == 0) { -lean_object* v_unused_18734_; -v_unused_18734_ = lean_ctor_get(v___x_18725_, 0); -lean_dec(v_unused_18734_); -v___x_18727_ = v___x_18725_; -v_isShared_18728_ = v_isSharedCheck_18733_; -goto v_resetjp_18726_; +lean_object* v_unused_18774_; +v_unused_18774_ = lean_ctor_get(v___x_18765_, 0); +lean_dec(v_unused_18774_); +v___x_18767_ = v___x_18765_; +v_isShared_18768_ = v_isSharedCheck_18773_; +goto v_resetjp_18766_; } else { -lean_dec(v___x_18725_); -v___x_18727_ = lean_box(0); -v_isShared_18728_ = v_isSharedCheck_18733_; -goto v_resetjp_18726_; +lean_dec(v___x_18765_); +v___x_18767_ = lean_box(0); +v_isShared_18768_ = v_isSharedCheck_18773_; +goto v_resetjp_18766_; } -v_resetjp_18726_: +v_resetjp_18766_: { -lean_object* v___x_18729_; lean_object* v___x_18731_; -v___x_18729_ = lean_box(0); -if (v_isShared_18728_ == 0) +lean_object* v___x_18769_; lean_object* v___x_18771_; +v___x_18769_ = lean_box(0); +if (v_isShared_18768_ == 0) { -lean_ctor_set(v___x_18727_, 0, v___x_18729_); -v___x_18731_ = v___x_18727_; -goto v_reusejp_18730_; +lean_ctor_set(v___x_18767_, 0, v___x_18769_); +v___x_18771_ = v___x_18767_; +goto v_reusejp_18770_; } else { -lean_object* v_reuseFailAlloc_18732_; -v_reuseFailAlloc_18732_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18732_, 0, v___x_18729_); -v___x_18731_ = v_reuseFailAlloc_18732_; -goto v_reusejp_18730_; +lean_object* v_reuseFailAlloc_18772_; +v_reuseFailAlloc_18772_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18772_, 0, v___x_18769_); +v___x_18771_ = v_reuseFailAlloc_18772_; +goto v_reusejp_18770_; } -v_reusejp_18730_: +v_reusejp_18770_: { -return v___x_18731_; +return v___x_18771_; } } } else { -lean_object* v_a_18735_; lean_object* v___x_18737_; uint8_t v_isShared_18738_; uint8_t v_isSharedCheck_18742_; -v_a_18735_ = lean_ctor_get(v___x_18725_, 0); -v_isSharedCheck_18742_ = !lean_is_exclusive(v___x_18725_); -if (v_isSharedCheck_18742_ == 0) +lean_object* v_a_18775_; lean_object* v___x_18777_; uint8_t v_isShared_18778_; uint8_t v_isSharedCheck_18782_; +v_a_18775_ = lean_ctor_get(v___x_18765_, 0); +v_isSharedCheck_18782_ = !lean_is_exclusive(v___x_18765_); +if (v_isSharedCheck_18782_ == 0) { -v___x_18737_ = v___x_18725_; -v_isShared_18738_ = v_isSharedCheck_18742_; -goto v_resetjp_18736_; +v___x_18777_ = v___x_18765_; +v_isShared_18778_ = v_isSharedCheck_18782_; +goto v_resetjp_18776_; } else { -lean_inc(v_a_18735_); -lean_dec(v___x_18725_); -v___x_18737_ = lean_box(0); -v_isShared_18738_ = v_isSharedCheck_18742_; -goto v_resetjp_18736_; +lean_inc(v_a_18775_); +lean_dec(v___x_18765_); +v___x_18777_ = lean_box(0); +v_isShared_18778_ = v_isSharedCheck_18782_; +goto v_resetjp_18776_; } -v_resetjp_18736_: +v_resetjp_18776_: { -lean_object* v___x_18740_; -if (v_isShared_18738_ == 0) +lean_object* v___x_18780_; +if (v_isShared_18778_ == 0) { -v___x_18740_ = v___x_18737_; -goto v_reusejp_18739_; +v___x_18780_ = v___x_18777_; +goto v_reusejp_18779_; } else { -lean_object* v_reuseFailAlloc_18741_; -v_reuseFailAlloc_18741_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18741_, 0, v_a_18735_); -v___x_18740_ = v_reuseFailAlloc_18741_; -goto v_reusejp_18739_; +lean_object* v_reuseFailAlloc_18781_; +v_reuseFailAlloc_18781_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18781_, 0, v_a_18775_); +v___x_18780_ = v_reuseFailAlloc_18781_; +goto v_reusejp_18779_; } -v_reusejp_18739_: +v_reusejp_18779_: { -return v___x_18740_; +return v___x_18780_; } } } } else { -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -return v___y_18721_; -} -} -v___jp_18743_: -{ -lean_object* v___x_18748_; -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc(v___y_18714_); -lean_inc_ref(v___y_18713_); -v___x_18748_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___redArg(v_vars_18710_, v___y_18747_, v___y_18744_, v___y_18745_, v___y_18746_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -lean_dec_ref(v___y_18744_); -lean_dec_ref(v___y_18747_); -lean_dec_ref(v_vars_18710_); -v___y_18721_ = v___x_18748_; -goto v___jp_18720_; -} -v___jp_18749_: -{ -lean_object* v___x_18755_; uint8_t v___x_18756_; -v___x_18755_ = l_Lean_Elab_Term_deprecated_oldSectionVars; -v___x_18756_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v___y_18753_, v___x_18755_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); lean_dec_ref(v___y_18753_); -if (v___x_18756_ == 0) +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +return v___y_18761_; +} +} +v___jp_18783_: { -lean_object* v___x_18757_; -lean_dec(v___y_18751_); -lean_dec_ref(v___y_18750_); -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc(v___y_18714_); -lean_inc_ref(v___y_18713_); -v___x_18757_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(v_vars_18710_, v_sc_18711_, v___y_18754_, v___y_18752_, v___x_18756_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -lean_dec_ref(v___y_18754_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -v___y_18721_ = v___x_18757_; -goto v___jp_18720_; +lean_object* v___x_18788_; +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc(v___y_18754_); +lean_inc_ref(v___y_18753_); +v___x_18788_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withUsed___redArg(v_vars_18750_, v___y_18786_, v___y_18785_, v___y_18784_, v___y_18787_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +lean_dec_ref(v___y_18785_); +lean_dec_ref(v___y_18786_); +lean_dec_ref(v_vars_18750_); +v___y_18761_ = v___x_18788_; +goto v___jp_18760_; +} +v___jp_18789_: +{ +lean_object* v___x_18795_; uint8_t v___x_18796_; +v___x_18795_ = l_Lean_Elab_Term_deprecated_oldSectionVars; +v___x_18796_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v___y_18794_, v___x_18795_); +lean_dec_ref(v___y_18794_); +if (v___x_18796_ == 0) +{ +lean_object* v___x_18797_; +lean_dec_ref(v___y_18791_); +lean_dec(v___y_18790_); +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc(v___y_18754_); +lean_inc_ref(v___y_18753_); +v___x_18797_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(v_vars_18750_, v_sc_18751_, v___y_18792_, v___y_18793_, v___x_18796_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +lean_dec_ref(v___y_18792_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +v___y_18761_ = v___x_18797_; +goto v___jp_18760_; } else { -lean_dec_ref(v_sc_18711_); -v___y_18744_ = v___y_18750_; -v___y_18745_ = v___y_18751_; -v___y_18746_ = v___y_18752_; -v___y_18747_ = v___y_18754_; -goto v___jp_18743_; +lean_dec_ref(v_sc_18751_); +v___y_18784_ = v___y_18790_; +v___y_18785_ = v___y_18791_; +v___y_18786_ = v___y_18792_; +v___y_18787_ = v___y_18793_; +goto v___jp_18783_; } } -v___jp_18758_: +v___jp_18798_: { -size_t v_sz_18760_; lean_object* v___x_18761_; -v_sz_18760_ = lean_array_size(v___x_18712_); -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -v___x_18761_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_18760_, v___x_18709_, v___x_18712_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18761_) == 0) +size_t v_sz_18800_; lean_object* v___x_18801_; +v_sz_18800_ = lean_array_size(v___x_18752_); +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +v___x_18801_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Term_MutualClosure_main_spec__3___redArg(v_sz_18800_, v___x_18749_, v___x_18752_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18801_) == 0) { -lean_object* v_a_18762_; lean_object* v___x_18763_; -v_a_18762_ = lean_ctor_get(v___x_18761_, 0); -lean_inc(v_a_18762_); -lean_dec_ref(v___x_18761_); -v___x_18763_ = l_Lean_Elab_Term_getLetRecsToLift___redArg(v___y_18714_); -if (lean_obj_tag(v___x_18763_) == 0) +lean_object* v_a_18802_; lean_object* v___x_18803_; +v_a_18802_ = lean_ctor_get(v___x_18801_, 0); +lean_inc(v_a_18802_); +lean_dec_ref(v___x_18801_); +v___x_18803_ = l_Lean_Elab_Term_getLetRecsToLift___redArg(v___y_18754_); +if (lean_obj_tag(v___x_18803_) == 0) { -lean_object* v_a_18764_; lean_object* v___x_18765_; lean_object* v___x_18766_; -v_a_18764_ = lean_ctor_get(v___x_18763_, 0); -lean_inc(v_a_18764_); -lean_dec_ref(v___x_18763_); -v___x_18765_ = lean_box(0); -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -v___x_18766_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_a_18764_, v___x_18765_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18766_) == 0) +lean_object* v_a_18804_; lean_object* v___x_18805_; lean_object* v___x_18806_; +v_a_18804_ = lean_ctor_get(v___x_18803_, 0); +lean_inc(v_a_18804_); +lean_dec_ref(v___x_18803_); +v___x_18805_ = lean_box(0); +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +v___x_18806_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_a_18804_, v___x_18805_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18806_) == 0) { -lean_object* v_a_18767_; lean_object* v___x_18768_; -v_a_18767_ = lean_ctor_get(v___x_18766_, 0); -lean_inc(v_a_18767_); -lean_dec_ref(v___x_18766_); -lean_inc_ref(v___y_18717_); -lean_inc_ref(v___y_18715_); -lean_inc_ref(v___y_18713_); -lean_inc_n(v_a_18767_, 2); -lean_inc_ref(v_funFVars_18706_); -v___x_18768_ = l_List_forM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_spec__0(v_funFVars_18706_, v_a_18767_, v_a_18767_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18768_) == 0) +lean_object* v_a_18807_; lean_object* v___x_18808_; +v_a_18807_ = lean_ctor_get(v___x_18806_, 0); +lean_inc(v_a_18807_); +lean_dec_ref(v___x_18806_); +lean_inc_ref(v___y_18757_); +lean_inc_ref(v___y_18755_); +lean_inc_ref(v___y_18753_); +lean_inc_n(v_a_18807_, 2); +lean_inc_ref(v_funFVars_18746_); +v___x_18808_ = l_List_forM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkLetRecsToLiftTypes_spec__0(v_funFVars_18746_, v_a_18807_, v_a_18807_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18808_) == 0) { -lean_object* v___x_18769_; lean_object* v___x_18770_; lean_object* v___x_18771_; lean_object* v___x_18772_; lean_object* v___x_18773_; lean_object* v___x_18774_; lean_object* v___x_18775_; lean_object* v___x_18776_; lean_object* v___x_18777_; lean_object* v___x_18778_; lean_object* v___x_18779_; lean_object* v___x_18780_; size_t v_sz_18781_; lean_object* v___x_18782_; -lean_dec_ref(v___x_18768_); -v___x_18769_ = lean_array_get_size(v_a_18762_); -v___x_18770_ = lean_unsigned_to_nat(4u); -v___x_18771_ = lean_nat_mul(v___x_18769_, v___x_18770_); -v___x_18772_ = lean_unsigned_to_nat(3u); -v___x_18773_ = lean_nat_div(v___x_18771_, v___x_18772_); -lean_dec(v___x_18771_); -v___x_18774_ = l_Nat_nextPowerOfTwo(v___x_18773_); -lean_dec(v___x_18773_); -v___x_18775_ = lean_box(0); -v___x_18776_ = lean_mk_array(v___x_18774_, v___x_18775_); -lean_inc(v___x_18707_); -v___x_18777_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18777_, 0, v___x_18707_); -lean_ctor_set(v___x_18777_, 1, v___x_18776_); -lean_inc(v_a_18767_); -v___x_18778_ = l_List_foldl___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__7(v___x_18777_, v_a_18767_); -v___x_18779_ = lean_array_get_size(v_a_18759_); -lean_inc(v___x_18707_); -lean_inc_ref(v_a_18759_); -v___x_18780_ = l_Array_toSubarray___redArg(v_a_18759_, v___x_18707_, v___x_18779_); -v_sz_18781_ = lean_array_size(v_a_18762_); -lean_inc(v___y_18718_); -lean_inc_ref(v___y_18717_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc(v___y_18714_); -lean_inc_ref(v___y_18713_); -v___x_18782_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(v___x_18778_, v_a_18762_, v_sz_18781_, v___x_18709_, v___x_18780_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -lean_dec_ref(v___x_18778_); -if (lean_obj_tag(v___x_18782_) == 0) +lean_object* v___x_18809_; lean_object* v___x_18810_; lean_object* v___x_18811_; lean_object* v___x_18812_; lean_object* v___x_18813_; lean_object* v___x_18814_; lean_object* v___x_18815_; lean_object* v___x_18816_; lean_object* v___x_18817_; lean_object* v___x_18818_; lean_object* v___x_18819_; lean_object* v___x_18820_; size_t v_sz_18821_; lean_object* v___x_18822_; +lean_dec_ref(v___x_18808_); +v___x_18809_ = lean_array_get_size(v_a_18802_); +v___x_18810_ = lean_unsigned_to_nat(4u); +v___x_18811_ = lean_nat_mul(v___x_18809_, v___x_18810_); +v___x_18812_ = lean_unsigned_to_nat(3u); +v___x_18813_ = lean_nat_div(v___x_18811_, v___x_18812_); +lean_dec(v___x_18811_); +v___x_18814_ = l_Nat_nextPowerOfTwo(v___x_18813_); +lean_dec(v___x_18813_); +v___x_18815_ = lean_box(0); +v___x_18816_ = lean_mk_array(v___x_18814_, v___x_18815_); +lean_inc(v___x_18747_); +v___x_18817_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18817_, 0, v___x_18747_); +lean_ctor_set(v___x_18817_, 1, v___x_18816_); +lean_inc(v_a_18807_); +v___x_18818_ = l_List_foldl___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__7(v___x_18817_, v_a_18807_); +v___x_18819_ = lean_array_get_size(v_a_18799_); +lean_inc(v___x_18747_); +lean_inc_ref(v_a_18799_); +v___x_18820_ = l_Array_toSubarray___redArg(v_a_18799_, v___x_18747_, v___x_18819_); +v_sz_18821_ = lean_array_size(v_a_18802_); +lean_inc(v___y_18758_); +lean_inc_ref(v___y_18757_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc(v___y_18754_); +lean_inc_ref(v___y_18753_); +v___x_18822_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__9(v___x_18818_, v_a_18802_, v_sz_18821_, v___x_18749_, v___x_18820_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +lean_dec_ref(v___x_18818_); +if (lean_obj_tag(v___x_18822_) == 0) { -lean_object* v___x_18783_; -lean_dec_ref(v___x_18782_); -v___x_18783_ = l_Lean_Meta_getLocalInstances___redArg(v___y_18715_); -if (lean_obj_tag(v___x_18783_) == 0) +lean_object* v___x_18823_; +lean_dec_ref(v___x_18822_); +v___x_18823_ = l_Lean_Meta_getLocalInstances___redArg(v___y_18755_); +if (lean_obj_tag(v___x_18823_) == 0) { -lean_object* v_a_18784_; lean_object* v_lctx_18785_; lean_object* v_options_18786_; lean_object* v___x_18787_; lean_object* v___x_18788_; lean_object* v___f_18789_; uint8_t v___x_18790_; -v_a_18784_ = lean_ctor_get(v___x_18783_, 0); -lean_inc(v_a_18784_); -lean_dec_ref(v___x_18783_); -v_lctx_18785_ = lean_ctor_get(v___y_18715_, 2); -v_options_18786_ = lean_ctor_get(v___y_18717_, 2); -lean_inc_ref(v_lctx_18785_); -v___x_18787_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18787_, 0, v_lctx_18785_); -lean_ctor_set(v___x_18787_, 1, v_a_18784_); -v___x_18788_ = lean_box_usize(v___x_18709_); -lean_inc(v_a_18767_); -lean_inc_ref(v_a_18759_); -lean_inc_ref(v_funFVars_18706_); -lean_inc(v_a_18762_); -v___f_18789_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1___boxed), 14, 6); -lean_closure_set(v___f_18789_, 0, v_a_18762_); -lean_closure_set(v___f_18789_, 1, v_funFVars_18706_); -lean_closure_set(v___f_18789_, 2, v_a_18759_); -lean_closure_set(v___f_18789_, 3, v_a_18767_); -lean_closure_set(v___f_18789_, 4, v___x_18788_); -lean_closure_set(v___f_18789_, 5, v___x_18787_); -v___x_18790_ = lean_nat_dec_lt(v___x_18707_, v___x_18769_); -if (v___x_18790_ == 0) +lean_object* v_a_18824_; lean_object* v_lctx_18825_; lean_object* v_options_18826_; lean_object* v___x_18827_; lean_object* v___x_18828_; lean_object* v___f_18829_; uint8_t v___x_18830_; +v_a_18824_ = lean_ctor_get(v___x_18823_, 0); +lean_inc(v_a_18824_); +lean_dec_ref(v___x_18823_); +v_lctx_18825_ = lean_ctor_get(v___y_18755_, 2); +v_options_18826_ = lean_ctor_get(v___y_18757_, 2); +lean_inc_ref(v_lctx_18825_); +v___x_18827_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18827_, 0, v_lctx_18825_); +lean_ctor_set(v___x_18827_, 1, v_a_18824_); +v___x_18828_ = lean_box_usize(v___x_18749_); +lean_inc(v_a_18807_); +lean_inc_ref(v_a_18799_); +lean_inc_ref(v_funFVars_18746_); +lean_inc(v_a_18802_); +v___f_18829_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__1___boxed), 14, 6); +lean_closure_set(v___f_18829_, 0, v_a_18802_); +lean_closure_set(v___f_18829_, 1, v_funFVars_18746_); +lean_closure_set(v___f_18829_, 2, v_a_18799_); +lean_closure_set(v___f_18829_, 3, v_a_18807_); +lean_closure_set(v___f_18829_, 4, v___x_18828_); +lean_closure_set(v___f_18829_, 5, v___x_18827_); +v___x_18830_ = lean_nat_dec_lt(v___x_18747_, v___x_18809_); +if (v___x_18830_ == 0) { -lean_inc_ref(v_options_18786_); -v___y_18750_ = v_a_18759_; -v___y_18751_ = v_a_18767_; -v___y_18752_ = v___f_18789_; -v___y_18753_ = v_options_18786_; -v___y_18754_ = v_a_18762_; -goto v___jp_18749_; +lean_inc_ref(v_options_18826_); +v___y_18790_ = v_a_18807_; +v___y_18791_ = v_a_18799_; +v___y_18792_ = v_a_18802_; +v___y_18793_ = v___f_18829_; +v___y_18794_ = v_options_18826_; +goto v___jp_18789_; } else { -if (v___x_18790_ == 0) +if (v___x_18830_ == 0) { -lean_inc_ref(v_options_18786_); -v___y_18750_ = v_a_18759_; -v___y_18751_ = v_a_18767_; -v___y_18752_ = v___f_18789_; -v___y_18753_ = v_options_18786_; -v___y_18754_ = v_a_18762_; -goto v___jp_18749_; +lean_inc_ref(v_options_18826_); +v___y_18790_ = v_a_18807_; +v___y_18791_ = v_a_18799_; +v___y_18792_ = v_a_18802_; +v___y_18793_ = v___f_18829_; +v___y_18794_ = v_options_18826_; +goto v___jp_18789_; } else { -size_t v___x_18791_; uint8_t v___x_18792_; -v___x_18791_ = lean_usize_of_nat(v___x_18769_); -v___x_18792_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(v_a_18762_, v___x_18709_, v___x_18791_); -if (v___x_18792_ == 0) +size_t v___x_18831_; uint8_t v___x_18832_; +v___x_18831_ = lean_usize_of_nat(v___x_18809_); +v___x_18832_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__12(v_a_18802_, v___x_18749_, v___x_18831_); +if (v___x_18832_ == 0) { -lean_inc_ref(v_options_18786_); -v___y_18750_ = v_a_18759_; -v___y_18751_ = v_a_18767_; -v___y_18752_ = v___f_18789_; -v___y_18753_ = v_options_18786_; -v___y_18754_ = v_a_18762_; -goto v___jp_18749_; +lean_inc_ref(v_options_18826_); +v___y_18790_ = v_a_18807_; +v___y_18791_ = v_a_18799_; +v___y_18792_ = v_a_18802_; +v___y_18793_ = v___f_18829_; +v___y_18794_ = v_options_18826_; +goto v___jp_18789_; } else { -lean_dec_ref(v_sc_18711_); -v___y_18744_ = v_a_18759_; -v___y_18745_ = v_a_18767_; -v___y_18746_ = v___f_18789_; -v___y_18747_ = v_a_18762_; -goto v___jp_18743_; +lean_dec_ref(v_sc_18751_); +v___y_18784_ = v_a_18807_; +v___y_18785_ = v_a_18799_; +v___y_18786_ = v_a_18802_; +v___y_18787_ = v___f_18829_; +goto v___jp_18783_; } } } } else { -lean_object* v_a_18793_; lean_object* v___x_18795_; uint8_t v_isShared_18796_; uint8_t v_isSharedCheck_18800_; -lean_dec(v_a_18767_); -lean_dec(v_a_18762_); -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18793_ = lean_ctor_get(v___x_18783_, 0); -v_isSharedCheck_18800_ = !lean_is_exclusive(v___x_18783_); -if (v_isSharedCheck_18800_ == 0) +lean_object* v_a_18833_; lean_object* v___x_18835_; uint8_t v_isShared_18836_; uint8_t v_isSharedCheck_18840_; +lean_dec(v_a_18807_); +lean_dec(v_a_18802_); +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18833_ = lean_ctor_get(v___x_18823_, 0); +v_isSharedCheck_18840_ = !lean_is_exclusive(v___x_18823_); +if (v_isSharedCheck_18840_ == 0) { -v___x_18795_ = v___x_18783_; -v_isShared_18796_ = v_isSharedCheck_18800_; -goto v_resetjp_18794_; +v___x_18835_ = v___x_18823_; +v_isShared_18836_ = v_isSharedCheck_18840_; +goto v_resetjp_18834_; } else { -lean_inc(v_a_18793_); -lean_dec(v___x_18783_); -v___x_18795_ = lean_box(0); -v_isShared_18796_ = v_isSharedCheck_18800_; -goto v_resetjp_18794_; +lean_inc(v_a_18833_); +lean_dec(v___x_18823_); +v___x_18835_ = lean_box(0); +v_isShared_18836_ = v_isSharedCheck_18840_; +goto v_resetjp_18834_; } -v_resetjp_18794_: +v_resetjp_18834_: { -lean_object* v___x_18798_; -if (v_isShared_18796_ == 0) +lean_object* v___x_18838_; +if (v_isShared_18836_ == 0) { -v___x_18798_ = v___x_18795_; -goto v_reusejp_18797_; +v___x_18838_ = v___x_18835_; +goto v_reusejp_18837_; } else { -lean_object* v_reuseFailAlloc_18799_; -v_reuseFailAlloc_18799_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18799_, 0, v_a_18793_); -v___x_18798_ = v_reuseFailAlloc_18799_; -goto v_reusejp_18797_; +lean_object* v_reuseFailAlloc_18839_; +v_reuseFailAlloc_18839_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18839_, 0, v_a_18833_); +v___x_18838_ = v_reuseFailAlloc_18839_; +goto v_reusejp_18837_; } -v_reusejp_18797_: +v_reusejp_18837_: { -return v___x_18798_; +return v___x_18838_; } } } } else { -lean_object* v_a_18801_; lean_object* v___x_18803_; uint8_t v_isShared_18804_; uint8_t v_isSharedCheck_18808_; -lean_dec(v_a_18767_); -lean_dec(v_a_18762_); -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18801_ = lean_ctor_get(v___x_18782_, 0); -v_isSharedCheck_18808_ = !lean_is_exclusive(v___x_18782_); -if (v_isSharedCheck_18808_ == 0) +lean_object* v_a_18841_; lean_object* v___x_18843_; uint8_t v_isShared_18844_; uint8_t v_isSharedCheck_18848_; +lean_dec(v_a_18807_); +lean_dec(v_a_18802_); +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18841_ = lean_ctor_get(v___x_18822_, 0); +v_isSharedCheck_18848_ = !lean_is_exclusive(v___x_18822_); +if (v_isSharedCheck_18848_ == 0) { -v___x_18803_ = v___x_18782_; -v_isShared_18804_ = v_isSharedCheck_18808_; -goto v_resetjp_18802_; +v___x_18843_ = v___x_18822_; +v_isShared_18844_ = v_isSharedCheck_18848_; +goto v_resetjp_18842_; } else { -lean_inc(v_a_18801_); -lean_dec(v___x_18782_); -v___x_18803_ = lean_box(0); -v_isShared_18804_ = v_isSharedCheck_18808_; -goto v_resetjp_18802_; +lean_inc(v_a_18841_); +lean_dec(v___x_18822_); +v___x_18843_ = lean_box(0); +v_isShared_18844_ = v_isSharedCheck_18848_; +goto v_resetjp_18842_; } -v_resetjp_18802_: +v_resetjp_18842_: { -lean_object* v___x_18806_; -if (v_isShared_18804_ == 0) +lean_object* v___x_18846_; +if (v_isShared_18844_ == 0) { -v___x_18806_ = v___x_18803_; -goto v_reusejp_18805_; +v___x_18846_ = v___x_18843_; +goto v_reusejp_18845_; } else { -lean_object* v_reuseFailAlloc_18807_; -v_reuseFailAlloc_18807_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18807_, 0, v_a_18801_); -v___x_18806_ = v_reuseFailAlloc_18807_; -goto v_reusejp_18805_; +lean_object* v_reuseFailAlloc_18847_; +v_reuseFailAlloc_18847_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18847_, 0, v_a_18841_); +v___x_18846_ = v_reuseFailAlloc_18847_; +goto v_reusejp_18845_; } -v_reusejp_18805_: +v_reusejp_18845_: { -return v___x_18806_; +return v___x_18846_; } } } } else { -lean_dec(v_a_18767_); -lean_dec(v_a_18762_); -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -return v___x_18768_; +lean_dec(v_a_18807_); +lean_dec(v_a_18802_); +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +return v___x_18808_; } } else { -lean_object* v_a_18809_; lean_object* v___x_18811_; uint8_t v_isShared_18812_; uint8_t v_isSharedCheck_18816_; -lean_dec(v_a_18762_); -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18809_ = lean_ctor_get(v___x_18766_, 0); -v_isSharedCheck_18816_ = !lean_is_exclusive(v___x_18766_); -if (v_isSharedCheck_18816_ == 0) +lean_object* v_a_18849_; lean_object* v___x_18851_; uint8_t v_isShared_18852_; uint8_t v_isSharedCheck_18856_; +lean_dec(v_a_18802_); +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18849_ = lean_ctor_get(v___x_18806_, 0); +v_isSharedCheck_18856_ = !lean_is_exclusive(v___x_18806_); +if (v_isSharedCheck_18856_ == 0) { -v___x_18811_ = v___x_18766_; -v_isShared_18812_ = v_isSharedCheck_18816_; -goto v_resetjp_18810_; +v___x_18851_ = v___x_18806_; +v_isShared_18852_ = v_isSharedCheck_18856_; +goto v_resetjp_18850_; } else { -lean_inc(v_a_18809_); -lean_dec(v___x_18766_); -v___x_18811_ = lean_box(0); -v_isShared_18812_ = v_isSharedCheck_18816_; -goto v_resetjp_18810_; +lean_inc(v_a_18849_); +lean_dec(v___x_18806_); +v___x_18851_ = lean_box(0); +v_isShared_18852_ = v_isSharedCheck_18856_; +goto v_resetjp_18850_; } -v_resetjp_18810_: +v_resetjp_18850_: { -lean_object* v___x_18814_; -if (v_isShared_18812_ == 0) +lean_object* v___x_18854_; +if (v_isShared_18852_ == 0) { -v___x_18814_ = v___x_18811_; -goto v_reusejp_18813_; +v___x_18854_ = v___x_18851_; +goto v_reusejp_18853_; } else { -lean_object* v_reuseFailAlloc_18815_; -v_reuseFailAlloc_18815_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18815_, 0, v_a_18809_); -v___x_18814_ = v_reuseFailAlloc_18815_; -goto v_reusejp_18813_; +lean_object* v_reuseFailAlloc_18855_; +v_reuseFailAlloc_18855_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18855_, 0, v_a_18849_); +v___x_18854_ = v_reuseFailAlloc_18855_; +goto v_reusejp_18853_; } -v_reusejp_18813_: +v_reusejp_18853_: { -return v___x_18814_; +return v___x_18854_; } } } } else { -lean_object* v_a_18817_; lean_object* v___x_18819_; uint8_t v_isShared_18820_; uint8_t v_isSharedCheck_18824_; -lean_dec(v_a_18762_); -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18817_ = lean_ctor_get(v___x_18763_, 0); -v_isSharedCheck_18824_ = !lean_is_exclusive(v___x_18763_); -if (v_isSharedCheck_18824_ == 0) +lean_object* v_a_18857_; lean_object* v___x_18859_; uint8_t v_isShared_18860_; uint8_t v_isSharedCheck_18864_; +lean_dec(v_a_18802_); +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18857_ = lean_ctor_get(v___x_18803_, 0); +v_isSharedCheck_18864_ = !lean_is_exclusive(v___x_18803_); +if (v_isSharedCheck_18864_ == 0) { -v___x_18819_ = v___x_18763_; -v_isShared_18820_ = v_isSharedCheck_18824_; -goto v_resetjp_18818_; +v___x_18859_ = v___x_18803_; +v_isShared_18860_ = v_isSharedCheck_18864_; +goto v_resetjp_18858_; } else { -lean_inc(v_a_18817_); -lean_dec(v___x_18763_); -v___x_18819_ = lean_box(0); -v_isShared_18820_ = v_isSharedCheck_18824_; -goto v_resetjp_18818_; +lean_inc(v_a_18857_); +lean_dec(v___x_18803_); +v___x_18859_ = lean_box(0); +v_isShared_18860_ = v_isSharedCheck_18864_; +goto v_resetjp_18858_; } -v_resetjp_18818_: +v_resetjp_18858_: { -lean_object* v___x_18822_; -if (v_isShared_18820_ == 0) +lean_object* v___x_18862_; +if (v_isShared_18860_ == 0) { -v___x_18822_ = v___x_18819_; -goto v_reusejp_18821_; +v___x_18862_ = v___x_18859_; +goto v_reusejp_18861_; } else { -lean_object* v_reuseFailAlloc_18823_; -v_reuseFailAlloc_18823_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18823_, 0, v_a_18817_); -v___x_18822_ = v_reuseFailAlloc_18823_; -goto v_reusejp_18821_; +lean_object* v_reuseFailAlloc_18863_; +v_reuseFailAlloc_18863_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18863_, 0, v_a_18857_); +v___x_18862_ = v_reuseFailAlloc_18863_; +goto v_reusejp_18861_; } -v_reusejp_18821_: +v_reusejp_18861_: { -return v___x_18822_; +return v___x_18862_; } } } } else { -lean_object* v_a_18825_; lean_object* v___x_18827_; uint8_t v_isShared_18828_; uint8_t v_isSharedCheck_18832_; -lean_dec_ref(v_a_18759_); -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18825_ = lean_ctor_get(v___x_18761_, 0); -v_isSharedCheck_18832_ = !lean_is_exclusive(v___x_18761_); -if (v_isSharedCheck_18832_ == 0) +lean_object* v_a_18865_; lean_object* v___x_18867_; uint8_t v_isShared_18868_; uint8_t v_isSharedCheck_18872_; +lean_dec_ref(v_a_18799_); +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18865_ = lean_ctor_get(v___x_18801_, 0); +v_isSharedCheck_18872_ = !lean_is_exclusive(v___x_18801_); +if (v_isSharedCheck_18872_ == 0) { -v___x_18827_ = v___x_18761_; -v_isShared_18828_ = v_isSharedCheck_18832_; -goto v_resetjp_18826_; +v___x_18867_ = v___x_18801_; +v_isShared_18868_ = v_isSharedCheck_18872_; +goto v_resetjp_18866_; } else { -lean_inc(v_a_18825_); -lean_dec(v___x_18761_); -v___x_18827_ = lean_box(0); -v_isShared_18828_ = v_isSharedCheck_18832_; -goto v_resetjp_18826_; +lean_inc(v_a_18865_); +lean_dec(v___x_18801_); +v___x_18867_ = lean_box(0); +v_isShared_18868_ = v_isSharedCheck_18872_; +goto v_resetjp_18866_; } -v_resetjp_18826_: +v_resetjp_18866_: { -lean_object* v___x_18830_; -if (v_isShared_18828_ == 0) +lean_object* v___x_18870_; +if (v_isShared_18868_ == 0) { -v___x_18830_ = v___x_18827_; -goto v_reusejp_18829_; +v___x_18870_ = v___x_18867_; +goto v_reusejp_18869_; } else { -lean_object* v_reuseFailAlloc_18831_; -v_reuseFailAlloc_18831_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18831_, 0, v_a_18825_); -v___x_18830_ = v_reuseFailAlloc_18831_; -goto v_reusejp_18829_; +lean_object* v_reuseFailAlloc_18871_; +v_reuseFailAlloc_18871_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18871_, 0, v_a_18865_); +v___x_18870_ = v_reuseFailAlloc_18871_; +goto v_reusejp_18869_; } -v_reusejp_18829_: +v_reusejp_18869_: { -return v___x_18830_; +return v___x_18870_; } } } } -v___jp_18833_: +v___jp_18873_: { -if (v___y_18835_ == 0) +if (v___y_18875_ == 0) { -lean_object* v___x_18836_; -lean_inc_ref(v___y_18717_); -v___x_18836_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v___y_18834_, v___y_18713_, v___y_18714_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18836_) == 0) +lean_object* v___x_18876_; +lean_inc_ref(v___y_18757_); +v___x_18876_ = l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4(v___y_18874_, v___y_18753_, v___y_18754_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18876_) == 0) { -size_t v_sz_18837_; lean_object* v___x_18838_; -lean_dec_ref(v___x_18836_); -v_sz_18837_ = lean_array_size(v___x_18712_); -lean_inc(v___y_18718_); -lean_inc(v___y_18716_); -lean_inc_ref(v___y_18715_); -lean_inc_ref(v___x_18712_); -v___x_18838_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_18837_, v___x_18709_, v___x_18712_, v___y_18715_, v___y_18716_, v___y_18717_, v___y_18718_); -if (lean_obj_tag(v___x_18838_) == 0) +size_t v_sz_18877_; lean_object* v___x_18878_; +lean_dec_ref(v___x_18876_); +v_sz_18877_ = lean_array_size(v___x_18752_); +lean_inc(v___y_18758_); +lean_inc(v___y_18756_); +lean_inc_ref(v___y_18755_); +lean_inc_ref(v___x_18752_); +v___x_18878_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_18877_, v___x_18749_, v___x_18752_, v___y_18755_, v___y_18756_, v___y_18757_, v___y_18758_); +if (lean_obj_tag(v___x_18878_) == 0) { -lean_object* v_a_18839_; -v_a_18839_ = lean_ctor_get(v___x_18838_, 0); -lean_inc(v_a_18839_); -lean_dec_ref(v___x_18838_); -v_a_18759_ = v_a_18839_; -goto v___jp_18758_; +lean_object* v_a_18879_; +v_a_18879_ = lean_ctor_get(v___x_18878_, 0); +lean_inc(v_a_18879_); +lean_dec_ref(v___x_18878_); +v_a_18799_ = v_a_18879_; +goto v___jp_18798_; } else { -lean_object* v_a_18840_; lean_object* v___x_18842_; uint8_t v_isShared_18843_; uint8_t v_isSharedCheck_18847_; -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v___x_18712_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v_a_18840_ = lean_ctor_get(v___x_18838_, 0); -v_isSharedCheck_18847_ = !lean_is_exclusive(v___x_18838_); -if (v_isSharedCheck_18847_ == 0) +lean_object* v_a_18880_; lean_object* v___x_18882_; uint8_t v_isShared_18883_; uint8_t v_isSharedCheck_18887_; +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v___x_18752_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v_a_18880_ = lean_ctor_get(v___x_18878_, 0); +v_isSharedCheck_18887_ = !lean_is_exclusive(v___x_18878_); +if (v_isSharedCheck_18887_ == 0) { -v___x_18842_ = v___x_18838_; -v_isShared_18843_ = v_isSharedCheck_18847_; -goto v_resetjp_18841_; +v___x_18882_ = v___x_18878_; +v_isShared_18883_ = v_isSharedCheck_18887_; +goto v_resetjp_18881_; } else { -lean_inc(v_a_18840_); -lean_dec(v___x_18838_); -v___x_18842_ = lean_box(0); -v_isShared_18843_ = v_isSharedCheck_18847_; -goto v_resetjp_18841_; +lean_inc(v_a_18880_); +lean_dec(v___x_18878_); +v___x_18882_ = lean_box(0); +v_isShared_18883_ = v_isSharedCheck_18887_; +goto v_resetjp_18881_; } -v_resetjp_18841_: +v_resetjp_18881_: { -lean_object* v___x_18845_; -if (v_isShared_18843_ == 0) +lean_object* v___x_18885_; +if (v_isShared_18883_ == 0) { -v___x_18845_ = v___x_18842_; -goto v_reusejp_18844_; +v___x_18885_ = v___x_18882_; +goto v_reusejp_18884_; } else { -lean_object* v_reuseFailAlloc_18846_; -v_reuseFailAlloc_18846_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18846_, 0, v_a_18840_); -v___x_18845_ = v_reuseFailAlloc_18846_; -goto v_reusejp_18844_; +lean_object* v_reuseFailAlloc_18886_; +v_reuseFailAlloc_18886_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18886_, 0, v_a_18880_); +v___x_18885_ = v_reuseFailAlloc_18886_; +goto v_reusejp_18884_; } -v_reusejp_18844_: +v_reusejp_18884_: { -return v___x_18845_; +return v___x_18885_; } } } } else { -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v___x_18712_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -return v___x_18836_; +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v___x_18752_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +return v___x_18876_; } } else { -lean_object* v___x_18848_; -lean_dec(v___y_18718_); -lean_dec_ref(v___y_18717_); -lean_dec(v___y_18716_); -lean_dec_ref(v___y_18715_); -lean_dec(v___y_18714_); -lean_dec_ref(v___y_18713_); -lean_dec_ref(v___x_18712_); -lean_dec_ref(v_sc_18711_); -lean_dec_ref(v_vars_18710_); -lean_dec(v___x_18707_); -lean_dec_ref(v_funFVars_18706_); -v___x_18848_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_18848_, 0, v___y_18834_); -return v___x_18848_; +lean_object* v___x_18888_; +lean_dec(v___y_18758_); +lean_dec_ref(v___y_18757_); +lean_dec(v___y_18756_); +lean_dec_ref(v___y_18755_); +lean_dec(v___y_18754_); +lean_dec_ref(v___y_18753_); +lean_dec_ref(v___x_18752_); +lean_dec_ref(v_sc_18751_); +lean_dec_ref(v_vars_18750_); +lean_dec(v___x_18747_); +lean_dec_ref(v_funFVars_18746_); +v___x_18888_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_18888_, 0, v___y_18874_); +return v___x_18888_; } } -v___jp_18849_: +v___jp_18889_: { -uint8_t v___x_18851_; -v___x_18851_ = l_Lean_Exception_isInterrupt(v_a_18850_); -if (v___x_18851_ == 0) -{ -uint8_t v___x_18852_; -lean_inc_ref(v_a_18850_); -v___x_18852_ = l_Lean_Exception_isRuntime(v_a_18850_); -v___y_18834_ = v_a_18850_; -v___y_18835_ = v___x_18852_; -goto v___jp_18833_; -} -else -{ -v___y_18834_ = v_a_18850_; -v___y_18835_ = v___x_18851_; -goto v___jp_18833_; -} -} -v___jp_18853_: -{ -if (lean_obj_tag(v___y_18854_) == 0) -{ -lean_object* v_a_18855_; -v_a_18855_ = lean_ctor_get(v___y_18854_, 0); -lean_inc(v_a_18855_); -lean_dec_ref(v___y_18854_); -v_a_18759_ = v_a_18855_; -goto v___jp_18758_; -} -else -{ -lean_object* v_a_18856_; -v_a_18856_ = lean_ctor_get(v___y_18854_, 0); -lean_inc(v_a_18856_); -lean_dec_ref(v___y_18854_); -v_a_18850_ = v_a_18856_; -goto v___jp_18849_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2___boxed(lean_object* v_funFVars_18864_, lean_object* v___x_18865_, lean_object* v_views_18866_, lean_object* v___x_18867_, lean_object* v_vars_18868_, lean_object* v_sc_18869_, lean_object* v___x_18870_, lean_object* v___y_18871_, lean_object* v___y_18872_, lean_object* v___y_18873_, lean_object* v___y_18874_, lean_object* v___y_18875_, lean_object* v___y_18876_, lean_object* v___y_18877_){ -_start: -{ -size_t v___x_44645__boxed_18878_; lean_object* v_res_18879_; -v___x_44645__boxed_18878_ = lean_unbox_usize(v___x_18867_); -lean_dec(v___x_18867_); -v_res_18879_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2(v_funFVars_18864_, v___x_18865_, v_views_18866_, v___x_44645__boxed_18878_, v_vars_18868_, v_sc_18869_, v___x_18870_, v___y_18871_, v___y_18872_, v___y_18873_, v___y_18874_, v___y_18875_, v___y_18876_); -lean_dec_ref(v_views_18866_); -return v_res_18879_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(lean_object* v___x_18880_, lean_object* v_ctx_x3f_18881_, size_t v_sz_18882_, size_t v_i_18883_, lean_object* v_bs_18884_, lean_object* v___y_18885_, lean_object* v___y_18886_, lean_object* v___y_18887_, lean_object* v___y_18888_, lean_object* v___y_18889_, lean_object* v___y_18890_){ -_start: +uint8_t v___x_18891_; +v___x_18891_ = l_Lean_Exception_isInterrupt(v_a_18890_); +if (v___x_18891_ == 0) { uint8_t v___x_18892_; -v___x_18892_ = lean_usize_dec_lt(v_i_18883_, v_sz_18882_); -if (v___x_18892_ == 0) -{ -lean_object* v___x_18893_; -lean_dec(v___y_18890_); -lean_dec_ref(v___y_18889_); -lean_dec(v___y_18888_); -lean_dec_ref(v___y_18887_); -lean_dec(v___y_18886_); -lean_dec_ref(v___y_18885_); -lean_dec_ref(v_ctx_x3f_18881_); -lean_dec_ref(v___x_18880_); -v___x_18893_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_18893_, 0, v_bs_18884_); -return v___x_18893_; +lean_inc_ref(v_a_18890_); +v___x_18892_ = l_Lean_Exception_isRuntime(v_a_18890_); +v___y_18874_ = v_a_18890_; +v___y_18875_ = v___x_18892_; +goto v___jp_18873_; } else { -lean_object* v_assignment_18894_; lean_object* v___x_18895_; -v_assignment_18894_ = lean_ctor_get(v___x_18880_, 0); -lean_inc_ref(v_ctx_x3f_18881_); -lean_inc(v___y_18890_); -lean_inc_ref(v___y_18889_); -lean_inc(v___y_18888_); -lean_inc_ref(v___y_18887_); -lean_inc(v___y_18886_); -lean_inc_ref(v___y_18885_); -v___x_18895_ = lean_apply_7(v_ctx_x3f_18881_, v___y_18885_, v___y_18886_, v___y_18887_, v___y_18888_, v___y_18889_, v___y_18890_, lean_box(0)); -if (lean_obj_tag(v___x_18895_) == 0) +v___y_18874_ = v_a_18890_; +v___y_18875_ = v___x_18891_; +goto v___jp_18873_; +} +} +v___jp_18893_: { -lean_object* v_a_18896_; lean_object* v_v_18897_; lean_object* v___x_18898_; lean_object* v_bs_x27_18899_; lean_object* v_a_18901_; lean_object* v_tree_18906_; -v_a_18896_ = lean_ctor_get(v___x_18895_, 0); +if (lean_obj_tag(v___y_18894_) == 0) +{ +lean_object* v_a_18895_; +v_a_18895_ = lean_ctor_get(v___y_18894_, 0); +lean_inc(v_a_18895_); +lean_dec_ref(v___y_18894_); +v_a_18799_ = v_a_18895_; +goto v___jp_18798_; +} +else +{ +lean_object* v_a_18896_; +v_a_18896_ = lean_ctor_get(v___y_18894_, 0); lean_inc(v_a_18896_); -lean_dec_ref(v___x_18895_); -v_v_18897_ = lean_array_uget(v_bs_18884_, v_i_18883_); -v___x_18898_ = lean_unsigned_to_nat(0u); -v_bs_x27_18899_ = lean_array_uset(v_bs_18884_, v_i_18883_, v___x_18898_); -lean_inc_ref(v_assignment_18894_); -v_tree_18906_ = l_Lean_Elab_InfoTree_substitute(v_v_18897_, v_assignment_18894_); -if (lean_obj_tag(v_a_18896_) == 0) +lean_dec_ref(v___y_18894_); +v_a_18890_ = v_a_18896_; +goto v___jp_18889_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2___boxed(lean_object* v_funFVars_18904_, lean_object* v___x_18905_, lean_object* v_views_18906_, lean_object* v___x_18907_, lean_object* v_vars_18908_, lean_object* v_sc_18909_, lean_object* v___x_18910_, lean_object* v___y_18911_, lean_object* v___y_18912_, lean_object* v___y_18913_, lean_object* v___y_18914_, lean_object* v___y_18915_, lean_object* v___y_18916_, lean_object* v___y_18917_){ +_start: { -v_a_18901_ = v_tree_18906_; -goto v___jp_18900_; +size_t v___x_44645__boxed_18918_; lean_object* v_res_18919_; +v___x_44645__boxed_18918_ = lean_unbox_usize(v___x_18907_); +lean_dec(v___x_18907_); +v_res_18919_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2(v_funFVars_18904_, v___x_18905_, v_views_18906_, v___x_44645__boxed_18918_, v_vars_18908_, v_sc_18909_, v___x_18910_, v___y_18911_, v___y_18912_, v___y_18913_, v___y_18914_, v___y_18915_, v___y_18916_); +lean_dec_ref(v_views_18906_); +return v_res_18919_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(lean_object* v___x_18920_, lean_object* v_ctx_x3f_18921_, size_t v_sz_18922_, size_t v_i_18923_, lean_object* v_bs_18924_, lean_object* v___y_18925_, lean_object* v___y_18926_, lean_object* v___y_18927_, lean_object* v___y_18928_, lean_object* v___y_18929_, lean_object* v___y_18930_){ +_start: +{ +uint8_t v___x_18932_; +v___x_18932_ = lean_usize_dec_lt(v_i_18923_, v_sz_18922_); +if (v___x_18932_ == 0) +{ +lean_object* v___x_18933_; +lean_dec(v___y_18930_); +lean_dec_ref(v___y_18929_); +lean_dec(v___y_18928_); +lean_dec_ref(v___y_18927_); +lean_dec(v___y_18926_); +lean_dec_ref(v___y_18925_); +lean_dec_ref(v_ctx_x3f_18921_); +lean_dec_ref(v___x_18920_); +v___x_18933_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_18933_, 0, v_bs_18924_); +return v___x_18933_; } else { -lean_object* v_val_18907_; lean_object* v___x_18908_; -v_val_18907_ = lean_ctor_get(v_a_18896_, 0); -lean_inc(v_val_18907_); -lean_dec_ref(v_a_18896_); -v___x_18908_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_18908_, 0, v_val_18907_); -lean_ctor_set(v___x_18908_, 1, v_tree_18906_); -v_a_18901_ = v___x_18908_; -goto v___jp_18900_; -} -v___jp_18900_: +lean_object* v_assignment_18934_; lean_object* v___x_18935_; +v_assignment_18934_ = lean_ctor_get(v___x_18920_, 0); +lean_inc_ref(v_ctx_x3f_18921_); +lean_inc(v___y_18930_); +lean_inc_ref(v___y_18929_); +lean_inc(v___y_18928_); +lean_inc_ref(v___y_18927_); +lean_inc(v___y_18926_); +lean_inc_ref(v___y_18925_); +v___x_18935_ = lean_apply_7(v_ctx_x3f_18921_, v___y_18925_, v___y_18926_, v___y_18927_, v___y_18928_, v___y_18929_, v___y_18930_, lean_box(0)); +if (lean_obj_tag(v___x_18935_) == 0) { -size_t v___x_18902_; size_t v___x_18903_; lean_object* v___x_18904_; -v___x_18902_ = ((size_t)1ULL); -v___x_18903_ = lean_usize_add(v_i_18883_, v___x_18902_); -v___x_18904_ = lean_array_uset(v_bs_x27_18899_, v_i_18883_, v_a_18901_); -v_i_18883_ = v___x_18903_; -v_bs_18884_ = v___x_18904_; +lean_object* v_a_18936_; lean_object* v_v_18937_; lean_object* v___x_18938_; lean_object* v_bs_x27_18939_; lean_object* v_a_18941_; lean_object* v_tree_18946_; +v_a_18936_ = lean_ctor_get(v___x_18935_, 0); +lean_inc(v_a_18936_); +lean_dec_ref(v___x_18935_); +v_v_18937_ = lean_array_uget(v_bs_18924_, v_i_18923_); +v___x_18938_ = lean_unsigned_to_nat(0u); +v_bs_x27_18939_ = lean_array_uset(v_bs_18924_, v_i_18923_, v___x_18938_); +lean_inc_ref(v_assignment_18934_); +v_tree_18946_ = l_Lean_Elab_InfoTree_substitute(v_v_18937_, v_assignment_18934_); +if (lean_obj_tag(v_a_18936_) == 0) +{ +v_a_18941_ = v_tree_18946_; +goto v___jp_18940_; +} +else +{ +lean_object* v_val_18947_; lean_object* v___x_18948_; +v_val_18947_ = lean_ctor_get(v_a_18936_, 0); +lean_inc(v_val_18947_); +lean_dec_ref(v_a_18936_); +v___x_18948_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_18948_, 0, v_val_18947_); +lean_ctor_set(v___x_18948_, 1, v_tree_18946_); +v_a_18941_ = v___x_18948_; +goto v___jp_18940_; +} +v___jp_18940_: +{ +size_t v___x_18942_; size_t v___x_18943_; lean_object* v___x_18944_; +v___x_18942_ = ((size_t)1ULL); +v___x_18943_ = lean_usize_add(v_i_18923_, v___x_18942_); +v___x_18944_ = lean_array_uset(v_bs_x27_18939_, v_i_18923_, v_a_18941_); +v_i_18923_ = v___x_18943_; +v_bs_18924_ = v___x_18944_; goto _start; } } else { -lean_object* v_a_18909_; lean_object* v___x_18911_; uint8_t v_isShared_18912_; uint8_t v_isSharedCheck_18916_; -lean_dec(v___y_18890_); -lean_dec_ref(v___y_18889_); -lean_dec(v___y_18888_); -lean_dec_ref(v___y_18887_); -lean_dec(v___y_18886_); -lean_dec_ref(v___y_18885_); -lean_dec_ref(v_bs_18884_); -lean_dec_ref(v_ctx_x3f_18881_); -lean_dec_ref(v___x_18880_); -v_a_18909_ = lean_ctor_get(v___x_18895_, 0); -v_isSharedCheck_18916_ = !lean_is_exclusive(v___x_18895_); -if (v_isSharedCheck_18916_ == 0) +lean_object* v_a_18949_; lean_object* v___x_18951_; uint8_t v_isShared_18952_; uint8_t v_isSharedCheck_18956_; +lean_dec(v___y_18930_); +lean_dec_ref(v___y_18929_); +lean_dec(v___y_18928_); +lean_dec_ref(v___y_18927_); +lean_dec(v___y_18926_); +lean_dec_ref(v___y_18925_); +lean_dec_ref(v_bs_18924_); +lean_dec_ref(v_ctx_x3f_18921_); +lean_dec_ref(v___x_18920_); +v_a_18949_ = lean_ctor_get(v___x_18935_, 0); +v_isSharedCheck_18956_ = !lean_is_exclusive(v___x_18935_); +if (v_isSharedCheck_18956_ == 0) { -v___x_18911_ = v___x_18895_; -v_isShared_18912_ = v_isSharedCheck_18916_; -goto v_resetjp_18910_; -} -else -{ -lean_inc(v_a_18909_); -lean_dec(v___x_18895_); -v___x_18911_ = lean_box(0); -v_isShared_18912_ = v_isSharedCheck_18916_; -goto v_resetjp_18910_; -} -v_resetjp_18910_: -{ -lean_object* v___x_18914_; -if (v_isShared_18912_ == 0) -{ -v___x_18914_ = v___x_18911_; -goto v_reusejp_18913_; -} -else -{ -lean_object* v_reuseFailAlloc_18915_; -v_reuseFailAlloc_18915_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18915_, 0, v_a_18909_); -v___x_18914_ = v_reuseFailAlloc_18915_; -goto v_reusejp_18913_; -} -v_reusejp_18913_: -{ -return v___x_18914_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27___boxed(lean_object* v___x_18917_, lean_object* v_ctx_x3f_18918_, lean_object* v_sz_18919_, lean_object* v_i_18920_, lean_object* v_bs_18921_, lean_object* v___y_18922_, lean_object* v___y_18923_, lean_object* v___y_18924_, lean_object* v___y_18925_, lean_object* v___y_18926_, lean_object* v___y_18927_, lean_object* v___y_18928_){ -_start: -{ -size_t v_sz_boxed_18929_; size_t v_i_boxed_18930_; lean_object* v_res_18931_; -v_sz_boxed_18929_ = lean_unbox_usize(v_sz_18919_); -lean_dec(v_sz_18919_); -v_i_boxed_18930_ = lean_unbox_usize(v_i_18920_); -lean_dec(v_i_18920_); -v_res_18931_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_18917_, v_ctx_x3f_18918_, v_sz_boxed_18929_, v_i_boxed_18930_, v_bs_18921_, v___y_18922_, v___y_18923_, v___y_18924_, v___y_18925_, v___y_18926_, v___y_18927_); -return v_res_18931_; -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(lean_object* v___x_18932_, lean_object* v_ctx_x3f_18933_, lean_object* v_x_18934_, lean_object* v___y_18935_, lean_object* v___y_18936_, lean_object* v___y_18937_, lean_object* v___y_18938_, lean_object* v___y_18939_, lean_object* v___y_18940_){ -_start: -{ -if (lean_obj_tag(v_x_18934_) == 0) -{ -lean_object* v_cs_18942_; lean_object* v___x_18944_; uint8_t v_isShared_18945_; uint8_t v_isSharedCheck_18968_; -v_cs_18942_ = lean_ctor_get(v_x_18934_, 0); -v_isSharedCheck_18968_ = !lean_is_exclusive(v_x_18934_); -if (v_isSharedCheck_18968_ == 0) -{ -v___x_18944_ = v_x_18934_; -v_isShared_18945_ = v_isSharedCheck_18968_; -goto v_resetjp_18943_; -} -else -{ -lean_inc(v_cs_18942_); -lean_dec(v_x_18934_); -v___x_18944_ = lean_box(0); -v_isShared_18945_ = v_isSharedCheck_18968_; -goto v_resetjp_18943_; -} -v_resetjp_18943_: -{ -size_t v_sz_18946_; size_t v___x_18947_; lean_object* v___x_18948_; -v_sz_18946_ = lean_array_size(v_cs_18942_); -v___x_18947_ = ((size_t)0ULL); -v___x_18948_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(v___x_18932_, v_ctx_x3f_18933_, v_sz_18946_, v___x_18947_, v_cs_18942_, v___y_18935_, v___y_18936_, v___y_18937_, v___y_18938_, v___y_18939_, v___y_18940_); -if (lean_obj_tag(v___x_18948_) == 0) -{ -lean_object* v_a_18949_; lean_object* v___x_18951_; uint8_t v_isShared_18952_; uint8_t v_isSharedCheck_18959_; -v_a_18949_ = lean_ctor_get(v___x_18948_, 0); -v_isSharedCheck_18959_ = !lean_is_exclusive(v___x_18948_); -if (v_isSharedCheck_18959_ == 0) -{ -v___x_18951_ = v___x_18948_; -v_isShared_18952_ = v_isSharedCheck_18959_; +v___x_18951_ = v___x_18935_; +v_isShared_18952_ = v_isSharedCheck_18956_; goto v_resetjp_18950_; } else { lean_inc(v_a_18949_); -lean_dec(v___x_18948_); +lean_dec(v___x_18935_); v___x_18951_ = lean_box(0); -v_isShared_18952_ = v_isSharedCheck_18959_; +v_isShared_18952_ = v_isSharedCheck_18956_; goto v_resetjp_18950_; } v_resetjp_18950_: { lean_object* v___x_18954_; -if (v_isShared_18945_ == 0) +if (v_isShared_18952_ == 0) { -lean_ctor_set(v___x_18944_, 0, v_a_18949_); -v___x_18954_ = v___x_18944_; +v___x_18954_ = v___x_18951_; goto v_reusejp_18953_; } else { -lean_object* v_reuseFailAlloc_18958_; -v_reuseFailAlloc_18958_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18958_, 0, v_a_18949_); -v___x_18954_ = v_reuseFailAlloc_18958_; +lean_object* v_reuseFailAlloc_18955_; +v_reuseFailAlloc_18955_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18955_, 0, v_a_18949_); +v___x_18954_ = v_reuseFailAlloc_18955_; goto v_reusejp_18953_; } v_reusejp_18953_: { -lean_object* v___x_18956_; -if (v_isShared_18952_ == 0) -{ -lean_ctor_set(v___x_18951_, 0, v___x_18954_); -v___x_18956_ = v___x_18951_; -goto v_reusejp_18955_; -} -else -{ -lean_object* v_reuseFailAlloc_18957_; -v_reuseFailAlloc_18957_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18957_, 0, v___x_18954_); -v___x_18956_ = v_reuseFailAlloc_18957_; -goto v_reusejp_18955_; -} -v_reusejp_18955_: -{ -return v___x_18956_; -} -} -} -} -else -{ -lean_object* v_a_18960_; lean_object* v___x_18962_; uint8_t v_isShared_18963_; uint8_t v_isSharedCheck_18967_; -lean_del_object(v___x_18944_); -v_a_18960_ = lean_ctor_get(v___x_18948_, 0); -v_isSharedCheck_18967_ = !lean_is_exclusive(v___x_18948_); -if (v_isSharedCheck_18967_ == 0) -{ -v___x_18962_ = v___x_18948_; -v_isShared_18963_ = v_isSharedCheck_18967_; -goto v_resetjp_18961_; -} -else -{ -lean_inc(v_a_18960_); -lean_dec(v___x_18948_); -v___x_18962_ = lean_box(0); -v_isShared_18963_ = v_isSharedCheck_18967_; -goto v_resetjp_18961_; -} -v_resetjp_18961_: -{ -lean_object* v___x_18965_; -if (v_isShared_18963_ == 0) -{ -v___x_18965_ = v___x_18962_; -goto v_reusejp_18964_; -} -else -{ -lean_object* v_reuseFailAlloc_18966_; -v_reuseFailAlloc_18966_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18966_, 0, v_a_18960_); -v___x_18965_ = v_reuseFailAlloc_18966_; -goto v_reusejp_18964_; -} -v_reusejp_18964_: -{ -return v___x_18965_; -} -} -} -} -} -else -{ -lean_object* v_vs_18969_; lean_object* v___x_18971_; uint8_t v_isShared_18972_; uint8_t v_isSharedCheck_18995_; -v_vs_18969_ = lean_ctor_get(v_x_18934_, 0); -v_isSharedCheck_18995_ = !lean_is_exclusive(v_x_18934_); -if (v_isSharedCheck_18995_ == 0) -{ -v___x_18971_ = v_x_18934_; -v_isShared_18972_ = v_isSharedCheck_18995_; -goto v_resetjp_18970_; -} -else -{ -lean_inc(v_vs_18969_); -lean_dec(v_x_18934_); -v___x_18971_ = lean_box(0); -v_isShared_18972_ = v_isSharedCheck_18995_; -goto v_resetjp_18970_; -} -v_resetjp_18970_: -{ -size_t v_sz_18973_; size_t v___x_18974_; lean_object* v___x_18975_; -v_sz_18973_ = lean_array_size(v_vs_18969_); -v___x_18974_ = ((size_t)0ULL); -v___x_18975_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_18932_, v_ctx_x3f_18933_, v_sz_18973_, v___x_18974_, v_vs_18969_, v___y_18935_, v___y_18936_, v___y_18937_, v___y_18938_, v___y_18939_, v___y_18940_); -if (lean_obj_tag(v___x_18975_) == 0) -{ -lean_object* v_a_18976_; lean_object* v___x_18978_; uint8_t v_isShared_18979_; uint8_t v_isSharedCheck_18986_; -v_a_18976_ = lean_ctor_get(v___x_18975_, 0); -v_isSharedCheck_18986_ = !lean_is_exclusive(v___x_18975_); -if (v_isSharedCheck_18986_ == 0) -{ -v___x_18978_ = v___x_18975_; -v_isShared_18979_ = v_isSharedCheck_18986_; -goto v_resetjp_18977_; -} -else -{ -lean_inc(v_a_18976_); -lean_dec(v___x_18975_); -v___x_18978_ = lean_box(0); -v_isShared_18979_ = v_isSharedCheck_18986_; -goto v_resetjp_18977_; -} -v_resetjp_18977_: -{ -lean_object* v___x_18981_; -if (v_isShared_18972_ == 0) -{ -lean_ctor_set(v___x_18971_, 0, v_a_18976_); -v___x_18981_ = v___x_18971_; -goto v_reusejp_18980_; -} -else -{ -lean_object* v_reuseFailAlloc_18985_; -v_reuseFailAlloc_18985_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18985_, 0, v_a_18976_); -v___x_18981_ = v_reuseFailAlloc_18985_; -goto v_reusejp_18980_; -} -v_reusejp_18980_: -{ -lean_object* v___x_18983_; -if (v_isShared_18979_ == 0) -{ -lean_ctor_set(v___x_18978_, 0, v___x_18981_); -v___x_18983_ = v___x_18978_; -goto v_reusejp_18982_; -} -else -{ -lean_object* v_reuseFailAlloc_18984_; -v_reuseFailAlloc_18984_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18984_, 0, v___x_18981_); -v___x_18983_ = v_reuseFailAlloc_18984_; -goto v_reusejp_18982_; -} -v_reusejp_18982_: -{ -return v___x_18983_; -} -} -} -} -else -{ -lean_object* v_a_18987_; lean_object* v___x_18989_; uint8_t v_isShared_18990_; uint8_t v_isSharedCheck_18994_; -lean_del_object(v___x_18971_); -v_a_18987_ = lean_ctor_get(v___x_18975_, 0); -v_isSharedCheck_18994_ = !lean_is_exclusive(v___x_18975_); -if (v_isSharedCheck_18994_ == 0) -{ -v___x_18989_ = v___x_18975_; -v_isShared_18990_ = v_isSharedCheck_18994_; -goto v_resetjp_18988_; -} -else -{ -lean_inc(v_a_18987_); -lean_dec(v___x_18975_); -v___x_18989_ = lean_box(0); -v_isShared_18990_ = v_isSharedCheck_18994_; -goto v_resetjp_18988_; -} -v_resetjp_18988_: -{ -lean_object* v___x_18992_; -if (v_isShared_18990_ == 0) -{ -v___x_18992_ = v___x_18989_; -goto v_reusejp_18991_; -} -else -{ -lean_object* v_reuseFailAlloc_18993_; -v_reuseFailAlloc_18993_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_18993_, 0, v_a_18987_); -v___x_18992_ = v_reuseFailAlloc_18993_; -goto v_reusejp_18991_; -} -v_reusejp_18991_: -{ -return v___x_18992_; +return v___x_18954_; } } } } } } -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(lean_object* v___x_18996_, lean_object* v_ctx_x3f_18997_, size_t v_sz_18998_, size_t v_i_18999_, lean_object* v_bs_19000_, lean_object* v___y_19001_, lean_object* v___y_19002_, lean_object* v___y_19003_, lean_object* v___y_19004_, lean_object* v___y_19005_, lean_object* v___y_19006_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27___boxed(lean_object* v___x_18957_, lean_object* v_ctx_x3f_18958_, lean_object* v_sz_18959_, lean_object* v_i_18960_, lean_object* v_bs_18961_, lean_object* v___y_18962_, lean_object* v___y_18963_, lean_object* v___y_18964_, lean_object* v___y_18965_, lean_object* v___y_18966_, lean_object* v___y_18967_, lean_object* v___y_18968_){ _start: { -uint8_t v___x_19008_; -v___x_19008_ = lean_usize_dec_lt(v_i_18999_, v_sz_18998_); -if (v___x_19008_ == 0) +size_t v_sz_boxed_18969_; size_t v_i_boxed_18970_; lean_object* v_res_18971_; +v_sz_boxed_18969_ = lean_unbox_usize(v_sz_18959_); +lean_dec(v_sz_18959_); +v_i_boxed_18970_ = lean_unbox_usize(v_i_18960_); +lean_dec(v_i_18960_); +v_res_18971_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_18957_, v_ctx_x3f_18958_, v_sz_boxed_18969_, v_i_boxed_18970_, v_bs_18961_, v___y_18962_, v___y_18963_, v___y_18964_, v___y_18965_, v___y_18966_, v___y_18967_); +return v_res_18971_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(lean_object* v___x_18972_, lean_object* v_ctx_x3f_18973_, lean_object* v_x_18974_, lean_object* v___y_18975_, lean_object* v___y_18976_, lean_object* v___y_18977_, lean_object* v___y_18978_, lean_object* v___y_18979_, lean_object* v___y_18980_){ +_start: { -lean_object* v___x_19009_; -lean_dec(v___y_19006_); -lean_dec_ref(v___y_19005_); -lean_dec(v___y_19004_); -lean_dec_ref(v___y_19003_); -lean_dec(v___y_19002_); -lean_dec_ref(v___y_19001_); -lean_dec_ref(v_ctx_x3f_18997_); -lean_dec_ref(v___x_18996_); -v___x_19009_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19009_, 0, v_bs_19000_); -return v___x_19009_; +if (lean_obj_tag(v_x_18974_) == 0) +{ +lean_object* v_cs_18982_; lean_object* v___x_18984_; uint8_t v_isShared_18985_; uint8_t v_isSharedCheck_19008_; +v_cs_18982_ = lean_ctor_get(v_x_18974_, 0); +v_isSharedCheck_19008_ = !lean_is_exclusive(v_x_18974_); +if (v_isSharedCheck_19008_ == 0) +{ +v___x_18984_ = v_x_18974_; +v_isShared_18985_ = v_isSharedCheck_19008_; +goto v_resetjp_18983_; } else { -lean_object* v_v_19010_; lean_object* v___x_19011_; -v_v_19010_ = lean_array_uget_borrowed(v_bs_19000_, v_i_18999_); -lean_inc(v___y_19006_); -lean_inc_ref(v___y_19005_); -lean_inc(v___y_19004_); -lean_inc_ref(v___y_19003_); -lean_inc(v___y_19002_); -lean_inc_ref(v___y_19001_); -lean_inc(v_v_19010_); -lean_inc_ref(v_ctx_x3f_18997_); -lean_inc_ref(v___x_18996_); -v___x_19011_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_18996_, v_ctx_x3f_18997_, v_v_19010_, v___y_19001_, v___y_19002_, v___y_19003_, v___y_19004_, v___y_19005_, v___y_19006_); -if (lean_obj_tag(v___x_19011_) == 0) +lean_inc(v_cs_18982_); +lean_dec(v_x_18974_); +v___x_18984_ = lean_box(0); +v_isShared_18985_ = v_isSharedCheck_19008_; +goto v_resetjp_18983_; +} +v_resetjp_18983_: { -lean_object* v_a_19012_; lean_object* v___x_19013_; lean_object* v_bs_x27_19014_; size_t v___x_19015_; size_t v___x_19016_; lean_object* v___x_19017_; -v_a_19012_ = lean_ctor_get(v___x_19011_, 0); -lean_inc(v_a_19012_); -lean_dec_ref(v___x_19011_); -v___x_19013_ = lean_unsigned_to_nat(0u); -v_bs_x27_19014_ = lean_array_uset(v_bs_19000_, v_i_18999_, v___x_19013_); -v___x_19015_ = ((size_t)1ULL); -v___x_19016_ = lean_usize_add(v_i_18999_, v___x_19015_); -v___x_19017_ = lean_array_uset(v_bs_x27_19014_, v_i_18999_, v_a_19012_); -v_i_18999_ = v___x_19016_; -v_bs_19000_ = v___x_19017_; -goto _start; +size_t v_sz_18986_; size_t v___x_18987_; lean_object* v___x_18988_; +v_sz_18986_ = lean_array_size(v_cs_18982_); +v___x_18987_ = ((size_t)0ULL); +v___x_18988_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(v___x_18972_, v_ctx_x3f_18973_, v_sz_18986_, v___x_18987_, v_cs_18982_, v___y_18975_, v___y_18976_, v___y_18977_, v___y_18978_, v___y_18979_, v___y_18980_); +if (lean_obj_tag(v___x_18988_) == 0) +{ +lean_object* v_a_18989_; lean_object* v___x_18991_; uint8_t v_isShared_18992_; uint8_t v_isSharedCheck_18999_; +v_a_18989_ = lean_ctor_get(v___x_18988_, 0); +v_isSharedCheck_18999_ = !lean_is_exclusive(v___x_18988_); +if (v_isSharedCheck_18999_ == 0) +{ +v___x_18991_ = v___x_18988_; +v_isShared_18992_ = v_isSharedCheck_18999_; +goto v_resetjp_18990_; } else { -lean_object* v_a_19019_; lean_object* v___x_19021_; uint8_t v_isShared_19022_; uint8_t v_isSharedCheck_19026_; -lean_dec(v___y_19006_); -lean_dec_ref(v___y_19005_); -lean_dec(v___y_19004_); -lean_dec_ref(v___y_19003_); -lean_dec(v___y_19002_); -lean_dec_ref(v___y_19001_); -lean_dec_ref(v_bs_19000_); -lean_dec_ref(v_ctx_x3f_18997_); -lean_dec_ref(v___x_18996_); -v_a_19019_ = lean_ctor_get(v___x_19011_, 0); -v_isSharedCheck_19026_ = !lean_is_exclusive(v___x_19011_); +lean_inc(v_a_18989_); +lean_dec(v___x_18988_); +v___x_18991_ = lean_box(0); +v_isShared_18992_ = v_isSharedCheck_18999_; +goto v_resetjp_18990_; +} +v_resetjp_18990_: +{ +lean_object* v___x_18994_; +if (v_isShared_18985_ == 0) +{ +lean_ctor_set(v___x_18984_, 0, v_a_18989_); +v___x_18994_ = v___x_18984_; +goto v_reusejp_18993_; +} +else +{ +lean_object* v_reuseFailAlloc_18998_; +v_reuseFailAlloc_18998_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18998_, 0, v_a_18989_); +v___x_18994_ = v_reuseFailAlloc_18998_; +goto v_reusejp_18993_; +} +v_reusejp_18993_: +{ +lean_object* v___x_18996_; +if (v_isShared_18992_ == 0) +{ +lean_ctor_set(v___x_18991_, 0, v___x_18994_); +v___x_18996_ = v___x_18991_; +goto v_reusejp_18995_; +} +else +{ +lean_object* v_reuseFailAlloc_18997_; +v_reuseFailAlloc_18997_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_18997_, 0, v___x_18994_); +v___x_18996_ = v_reuseFailAlloc_18997_; +goto v_reusejp_18995_; +} +v_reusejp_18995_: +{ +return v___x_18996_; +} +} +} +} +else +{ +lean_object* v_a_19000_; lean_object* v___x_19002_; uint8_t v_isShared_19003_; uint8_t v_isSharedCheck_19007_; +lean_del_object(v___x_18984_); +v_a_19000_ = lean_ctor_get(v___x_18988_, 0); +v_isSharedCheck_19007_ = !lean_is_exclusive(v___x_18988_); +if (v_isSharedCheck_19007_ == 0) +{ +v___x_19002_ = v___x_18988_; +v_isShared_19003_ = v_isSharedCheck_19007_; +goto v_resetjp_19001_; +} +else +{ +lean_inc(v_a_19000_); +lean_dec(v___x_18988_); +v___x_19002_ = lean_box(0); +v_isShared_19003_ = v_isSharedCheck_19007_; +goto v_resetjp_19001_; +} +v_resetjp_19001_: +{ +lean_object* v___x_19005_; +if (v_isShared_19003_ == 0) +{ +v___x_19005_ = v___x_19002_; +goto v_reusejp_19004_; +} +else +{ +lean_object* v_reuseFailAlloc_19006_; +v_reuseFailAlloc_19006_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19006_, 0, v_a_19000_); +v___x_19005_ = v_reuseFailAlloc_19006_; +goto v_reusejp_19004_; +} +v_reusejp_19004_: +{ +return v___x_19005_; +} +} +} +} +} +else +{ +lean_object* v_vs_19009_; lean_object* v___x_19011_; uint8_t v_isShared_19012_; uint8_t v_isSharedCheck_19035_; +v_vs_19009_ = lean_ctor_get(v_x_18974_, 0); +v_isSharedCheck_19035_ = !lean_is_exclusive(v_x_18974_); +if (v_isSharedCheck_19035_ == 0) +{ +v___x_19011_ = v_x_18974_; +v_isShared_19012_ = v_isSharedCheck_19035_; +goto v_resetjp_19010_; +} +else +{ +lean_inc(v_vs_19009_); +lean_dec(v_x_18974_); +v___x_19011_ = lean_box(0); +v_isShared_19012_ = v_isSharedCheck_19035_; +goto v_resetjp_19010_; +} +v_resetjp_19010_: +{ +size_t v_sz_19013_; size_t v___x_19014_; lean_object* v___x_19015_; +v_sz_19013_ = lean_array_size(v_vs_19009_); +v___x_19014_ = ((size_t)0ULL); +v___x_19015_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_18972_, v_ctx_x3f_18973_, v_sz_19013_, v___x_19014_, v_vs_19009_, v___y_18975_, v___y_18976_, v___y_18977_, v___y_18978_, v___y_18979_, v___y_18980_); +if (lean_obj_tag(v___x_19015_) == 0) +{ +lean_object* v_a_19016_; lean_object* v___x_19018_; uint8_t v_isShared_19019_; uint8_t v_isSharedCheck_19026_; +v_a_19016_ = lean_ctor_get(v___x_19015_, 0); +v_isSharedCheck_19026_ = !lean_is_exclusive(v___x_19015_); if (v_isSharedCheck_19026_ == 0) { -v___x_19021_ = v___x_19011_; -v_isShared_19022_ = v_isSharedCheck_19026_; -goto v_resetjp_19020_; +v___x_19018_ = v___x_19015_; +v_isShared_19019_ = v_isSharedCheck_19026_; +goto v_resetjp_19017_; } else { -lean_inc(v_a_19019_); -lean_dec(v___x_19011_); -v___x_19021_ = lean_box(0); -v_isShared_19022_ = v_isSharedCheck_19026_; -goto v_resetjp_19020_; +lean_inc(v_a_19016_); +lean_dec(v___x_19015_); +v___x_19018_ = lean_box(0); +v_isShared_19019_ = v_isSharedCheck_19026_; +goto v_resetjp_19017_; } -v_resetjp_19020_: +v_resetjp_19017_: { -lean_object* v___x_19024_; -if (v_isShared_19022_ == 0) +lean_object* v___x_19021_; +if (v_isShared_19012_ == 0) { -v___x_19024_ = v___x_19021_; -goto v_reusejp_19023_; +lean_ctor_set(v___x_19011_, 0, v_a_19016_); +v___x_19021_ = v___x_19011_; +goto v_reusejp_19020_; } else { lean_object* v_reuseFailAlloc_19025_; v_reuseFailAlloc_19025_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19025_, 0, v_a_19019_); -v___x_19024_ = v_reuseFailAlloc_19025_; -goto v_reusejp_19023_; +lean_ctor_set(v_reuseFailAlloc_19025_, 0, v_a_19016_); +v___x_19021_ = v_reuseFailAlloc_19025_; +goto v_reusejp_19020_; } -v_reusejp_19023_: +v_reusejp_19020_: { -return v___x_19024_; +lean_object* v___x_19023_; +if (v_isShared_19019_ == 0) +{ +lean_ctor_set(v___x_19018_, 0, v___x_19021_); +v___x_19023_ = v___x_19018_; +goto v_reusejp_19022_; +} +else +{ +lean_object* v_reuseFailAlloc_19024_; +v_reuseFailAlloc_19024_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19024_, 0, v___x_19021_); +v___x_19023_ = v_reuseFailAlloc_19024_; +goto v_reusejp_19022_; +} +v_reusejp_19022_: +{ +return v___x_19023_; +} +} +} +} +else +{ +lean_object* v_a_19027_; lean_object* v___x_19029_; uint8_t v_isShared_19030_; uint8_t v_isSharedCheck_19034_; +lean_del_object(v___x_19011_); +v_a_19027_ = lean_ctor_get(v___x_19015_, 0); +v_isSharedCheck_19034_ = !lean_is_exclusive(v___x_19015_); +if (v_isSharedCheck_19034_ == 0) +{ +v___x_19029_ = v___x_19015_; +v_isShared_19030_ = v_isSharedCheck_19034_; +goto v_resetjp_19028_; +} +else +{ +lean_inc(v_a_19027_); +lean_dec(v___x_19015_); +v___x_19029_ = lean_box(0); +v_isShared_19030_ = v_isSharedCheck_19034_; +goto v_resetjp_19028_; +} +v_resetjp_19028_: +{ +lean_object* v___x_19032_; +if (v_isShared_19030_ == 0) +{ +v___x_19032_ = v___x_19029_; +goto v_reusejp_19031_; +} +else +{ +lean_object* v_reuseFailAlloc_19033_; +v_reuseFailAlloc_19033_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19033_, 0, v_a_19027_); +v___x_19032_ = v_reuseFailAlloc_19033_; +goto v_reusejp_19031_; +} +v_reusejp_19031_: +{ +return v___x_19032_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27___boxed(lean_object* v___x_19027_, lean_object* v_ctx_x3f_19028_, lean_object* v_sz_19029_, lean_object* v_i_19030_, lean_object* v_bs_19031_, lean_object* v___y_19032_, lean_object* v___y_19033_, lean_object* v___y_19034_, lean_object* v___y_19035_, lean_object* v___y_19036_, lean_object* v___y_19037_, lean_object* v___y_19038_){ +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(lean_object* v___x_19036_, lean_object* v_ctx_x3f_19037_, size_t v_sz_19038_, size_t v_i_19039_, lean_object* v_bs_19040_, lean_object* v___y_19041_, lean_object* v___y_19042_, lean_object* v___y_19043_, lean_object* v___y_19044_, lean_object* v___y_19045_, lean_object* v___y_19046_){ _start: { -size_t v_sz_boxed_19039_; size_t v_i_boxed_19040_; lean_object* v_res_19041_; -v_sz_boxed_19039_ = lean_unbox_usize(v_sz_19029_); -lean_dec(v_sz_19029_); -v_i_boxed_19040_ = lean_unbox_usize(v_i_19030_); -lean_dec(v_i_19030_); -v_res_19041_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(v___x_19027_, v_ctx_x3f_19028_, v_sz_boxed_19039_, v_i_boxed_19040_, v_bs_19031_, v___y_19032_, v___y_19033_, v___y_19034_, v___y_19035_, v___y_19036_, v___y_19037_); -return v_res_19041_; +uint8_t v___x_19048_; +v___x_19048_ = lean_usize_dec_lt(v_i_19039_, v_sz_19038_); +if (v___x_19048_ == 0) +{ +lean_object* v___x_19049_; +lean_dec(v___y_19046_); +lean_dec_ref(v___y_19045_); +lean_dec(v___y_19044_); +lean_dec_ref(v___y_19043_); +lean_dec(v___y_19042_); +lean_dec_ref(v___y_19041_); +lean_dec_ref(v_ctx_x3f_19037_); +lean_dec_ref(v___x_19036_); +v___x_19049_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19049_, 0, v_bs_19040_); +return v___x_19049_; +} +else +{ +lean_object* v_v_19050_; lean_object* v___x_19051_; +v_v_19050_ = lean_array_uget_borrowed(v_bs_19040_, v_i_19039_); +lean_inc(v___y_19046_); +lean_inc_ref(v___y_19045_); +lean_inc(v___y_19044_); +lean_inc_ref(v___y_19043_); +lean_inc(v___y_19042_); +lean_inc_ref(v___y_19041_); +lean_inc(v_v_19050_); +lean_inc_ref(v_ctx_x3f_19037_); +lean_inc_ref(v___x_19036_); +v___x_19051_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_19036_, v_ctx_x3f_19037_, v_v_19050_, v___y_19041_, v___y_19042_, v___y_19043_, v___y_19044_, v___y_19045_, v___y_19046_); +if (lean_obj_tag(v___x_19051_) == 0) +{ +lean_object* v_a_19052_; lean_object* v___x_19053_; lean_object* v_bs_x27_19054_; size_t v___x_19055_; size_t v___x_19056_; lean_object* v___x_19057_; +v_a_19052_ = lean_ctor_get(v___x_19051_, 0); +lean_inc(v_a_19052_); +lean_dec_ref(v___x_19051_); +v___x_19053_ = lean_unsigned_to_nat(0u); +v_bs_x27_19054_ = lean_array_uset(v_bs_19040_, v_i_19039_, v___x_19053_); +v___x_19055_ = ((size_t)1ULL); +v___x_19056_ = lean_usize_add(v_i_19039_, v___x_19055_); +v___x_19057_ = lean_array_uset(v_bs_x27_19054_, v_i_19039_, v_a_19052_); +v_i_19039_ = v___x_19056_; +v_bs_19040_ = v___x_19057_; +goto _start; +} +else +{ +lean_object* v_a_19059_; lean_object* v___x_19061_; uint8_t v_isShared_19062_; uint8_t v_isSharedCheck_19066_; +lean_dec(v___y_19046_); +lean_dec_ref(v___y_19045_); +lean_dec(v___y_19044_); +lean_dec_ref(v___y_19043_); +lean_dec(v___y_19042_); +lean_dec_ref(v___y_19041_); +lean_dec_ref(v_bs_19040_); +lean_dec_ref(v_ctx_x3f_19037_); +lean_dec_ref(v___x_19036_); +v_a_19059_ = lean_ctor_get(v___x_19051_, 0); +v_isSharedCheck_19066_ = !lean_is_exclusive(v___x_19051_); +if (v_isSharedCheck_19066_ == 0) +{ +v___x_19061_ = v___x_19051_; +v_isShared_19062_ = v_isSharedCheck_19066_; +goto v_resetjp_19060_; +} +else +{ +lean_inc(v_a_19059_); +lean_dec(v___x_19051_); +v___x_19061_ = lean_box(0); +v_isShared_19062_ = v_isSharedCheck_19066_; +goto v_resetjp_19060_; +} +v_resetjp_19060_: +{ +lean_object* v___x_19064_; +if (v_isShared_19062_ == 0) +{ +v___x_19064_ = v___x_19061_; +goto v_reusejp_19063_; +} +else +{ +lean_object* v_reuseFailAlloc_19065_; +v_reuseFailAlloc_19065_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19065_, 0, v_a_19059_); +v___x_19064_ = v_reuseFailAlloc_19065_; +goto v_reusejp_19063_; +} +v_reusejp_19063_: +{ +return v___x_19064_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26___boxed(lean_object* v___x_19042_, lean_object* v_ctx_x3f_19043_, lean_object* v_x_19044_, lean_object* v___y_19045_, lean_object* v___y_19046_, lean_object* v___y_19047_, lean_object* v___y_19048_, lean_object* v___y_19049_, lean_object* v___y_19050_, lean_object* v___y_19051_){ +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27___boxed(lean_object* v___x_19067_, lean_object* v_ctx_x3f_19068_, lean_object* v_sz_19069_, lean_object* v_i_19070_, lean_object* v_bs_19071_, lean_object* v___y_19072_, lean_object* v___y_19073_, lean_object* v___y_19074_, lean_object* v___y_19075_, lean_object* v___y_19076_, lean_object* v___y_19077_, lean_object* v___y_19078_){ _start: { -lean_object* v_res_19052_; -v_res_19052_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_19042_, v_ctx_x3f_19043_, v_x_19044_, v___y_19045_, v___y_19046_, v___y_19047_, v___y_19048_, v___y_19049_, v___y_19050_); -return v_res_19052_; +size_t v_sz_boxed_19079_; size_t v_i_boxed_19080_; lean_object* v_res_19081_; +v_sz_boxed_19079_ = lean_unbox_usize(v_sz_19069_); +lean_dec(v_sz_19069_); +v_i_boxed_19080_ = lean_unbox_usize(v_i_19070_); +lean_dec(v_i_19070_); +v_res_19081_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26_spec__27(v___x_19067_, v_ctx_x3f_19068_, v_sz_boxed_19079_, v_i_boxed_19080_, v_bs_19071_, v___y_19072_, v___y_19073_, v___y_19074_, v___y_19075_, v___y_19076_, v___y_19077_); +return v_res_19081_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(lean_object* v___x_19053_, lean_object* v_ctx_x3f_19054_, lean_object* v_t_19055_, lean_object* v___y_19056_, lean_object* v___y_19057_, lean_object* v___y_19058_, lean_object* v___y_19059_, lean_object* v___y_19060_, lean_object* v___y_19061_){ +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26___boxed(lean_object* v___x_19082_, lean_object* v_ctx_x3f_19083_, lean_object* v_x_19084_, lean_object* v___y_19085_, lean_object* v___y_19086_, lean_object* v___y_19087_, lean_object* v___y_19088_, lean_object* v___y_19089_, lean_object* v___y_19090_, lean_object* v___y_19091_){ _start: { -lean_object* v_root_19063_; lean_object* v_tail_19064_; lean_object* v_size_19065_; size_t v_shift_19066_; lean_object* v_tailOff_19067_; lean_object* v___x_19069_; uint8_t v_isShared_19070_; uint8_t v_isSharedCheck_19103_; -v_root_19063_ = lean_ctor_get(v_t_19055_, 0); -v_tail_19064_ = lean_ctor_get(v_t_19055_, 1); -v_size_19065_ = lean_ctor_get(v_t_19055_, 2); -v_shift_19066_ = lean_ctor_get_usize(v_t_19055_, 4); -v_tailOff_19067_ = lean_ctor_get(v_t_19055_, 3); -v_isSharedCheck_19103_ = !lean_is_exclusive(v_t_19055_); -if (v_isSharedCheck_19103_ == 0) -{ -v___x_19069_ = v_t_19055_; -v_isShared_19070_ = v_isSharedCheck_19103_; -goto v_resetjp_19068_; -} -else -{ -lean_inc(v_tailOff_19067_); -lean_inc(v_size_19065_); -lean_inc(v_tail_19064_); -lean_inc(v_root_19063_); -lean_dec(v_t_19055_); -v___x_19069_ = lean_box(0); -v_isShared_19070_ = v_isSharedCheck_19103_; -goto v_resetjp_19068_; -} -v_resetjp_19068_: -{ -lean_object* v___x_19071_; -lean_inc(v___y_19061_); -lean_inc_ref(v___y_19060_); -lean_inc(v___y_19059_); -lean_inc_ref(v___y_19058_); -lean_inc(v___y_19057_); -lean_inc_ref(v___y_19056_); -lean_inc_ref(v_ctx_x3f_19054_); -lean_inc_ref(v___x_19053_); -v___x_19071_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_19053_, v_ctx_x3f_19054_, v_root_19063_, v___y_19056_, v___y_19057_, v___y_19058_, v___y_19059_, v___y_19060_, v___y_19061_); -if (lean_obj_tag(v___x_19071_) == 0) -{ -lean_object* v_a_19072_; size_t v_sz_19073_; size_t v___x_19074_; lean_object* v___x_19075_; -v_a_19072_ = lean_ctor_get(v___x_19071_, 0); -lean_inc(v_a_19072_); -lean_dec_ref(v___x_19071_); -v_sz_19073_ = lean_array_size(v_tail_19064_); -v___x_19074_ = ((size_t)0ULL); -v___x_19075_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_19053_, v_ctx_x3f_19054_, v_sz_19073_, v___x_19074_, v_tail_19064_, v___y_19056_, v___y_19057_, v___y_19058_, v___y_19059_, v___y_19060_, v___y_19061_); -if (lean_obj_tag(v___x_19075_) == 0) -{ -lean_object* v_a_19076_; lean_object* v___x_19078_; uint8_t v_isShared_19079_; uint8_t v_isSharedCheck_19086_; -v_a_19076_ = lean_ctor_get(v___x_19075_, 0); -v_isSharedCheck_19086_ = !lean_is_exclusive(v___x_19075_); -if (v_isSharedCheck_19086_ == 0) -{ -v___x_19078_ = v___x_19075_; -v_isShared_19079_ = v_isSharedCheck_19086_; -goto v_resetjp_19077_; -} -else -{ -lean_inc(v_a_19076_); -lean_dec(v___x_19075_); -v___x_19078_ = lean_box(0); -v_isShared_19079_ = v_isSharedCheck_19086_; -goto v_resetjp_19077_; -} -v_resetjp_19077_: -{ -lean_object* v___x_19081_; -if (v_isShared_19070_ == 0) -{ -lean_ctor_set(v___x_19069_, 1, v_a_19076_); -lean_ctor_set(v___x_19069_, 0, v_a_19072_); -v___x_19081_ = v___x_19069_; -goto v_reusejp_19080_; -} -else -{ -lean_object* v_reuseFailAlloc_19085_; -v_reuseFailAlloc_19085_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v_reuseFailAlloc_19085_, 0, v_a_19072_); -lean_ctor_set(v_reuseFailAlloc_19085_, 1, v_a_19076_); -lean_ctor_set(v_reuseFailAlloc_19085_, 2, v_size_19065_); -lean_ctor_set(v_reuseFailAlloc_19085_, 3, v_tailOff_19067_); -lean_ctor_set_usize(v_reuseFailAlloc_19085_, 4, v_shift_19066_); -v___x_19081_ = v_reuseFailAlloc_19085_; -goto v_reusejp_19080_; -} -v_reusejp_19080_: -{ -lean_object* v___x_19083_; -if (v_isShared_19079_ == 0) -{ -lean_ctor_set(v___x_19078_, 0, v___x_19081_); -v___x_19083_ = v___x_19078_; -goto v_reusejp_19082_; -} -else -{ -lean_object* v_reuseFailAlloc_19084_; -v_reuseFailAlloc_19084_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19084_, 0, v___x_19081_); -v___x_19083_ = v_reuseFailAlloc_19084_; -goto v_reusejp_19082_; -} -v_reusejp_19082_: -{ -return v___x_19083_; +lean_object* v_res_19092_; +v_res_19092_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_19082_, v_ctx_x3f_19083_, v_x_19084_, v___y_19085_, v___y_19086_, v___y_19087_, v___y_19088_, v___y_19089_, v___y_19090_); +return v_res_19092_; } } -} -} -else -{ -lean_object* v_a_19087_; lean_object* v___x_19089_; uint8_t v_isShared_19090_; uint8_t v_isSharedCheck_19094_; -lean_dec(v_a_19072_); -lean_del_object(v___x_19069_); -lean_dec(v_tailOff_19067_); -lean_dec(v_size_19065_); -v_a_19087_ = lean_ctor_get(v___x_19075_, 0); -v_isSharedCheck_19094_ = !lean_is_exclusive(v___x_19075_); -if (v_isSharedCheck_19094_ == 0) -{ -v___x_19089_ = v___x_19075_; -v_isShared_19090_ = v_isSharedCheck_19094_; -goto v_resetjp_19088_; -} -else -{ -lean_inc(v_a_19087_); -lean_dec(v___x_19075_); -v___x_19089_ = lean_box(0); -v_isShared_19090_ = v_isSharedCheck_19094_; -goto v_resetjp_19088_; -} -v_resetjp_19088_: -{ -lean_object* v___x_19092_; -if (v_isShared_19090_ == 0) -{ -v___x_19092_ = v___x_19089_; -goto v_reusejp_19091_; -} -else -{ -lean_object* v_reuseFailAlloc_19093_; -v_reuseFailAlloc_19093_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19093_, 0, v_a_19087_); -v___x_19092_ = v_reuseFailAlloc_19093_; -goto v_reusejp_19091_; -} -v_reusejp_19091_: -{ -return v___x_19092_; -} -} -} -} -else -{ -lean_object* v_a_19095_; lean_object* v___x_19097_; uint8_t v_isShared_19098_; uint8_t v_isSharedCheck_19102_; -lean_del_object(v___x_19069_); -lean_dec(v_tailOff_19067_); -lean_dec(v_size_19065_); -lean_dec_ref(v_tail_19064_); -lean_dec(v___y_19061_); -lean_dec_ref(v___y_19060_); -lean_dec(v___y_19059_); -lean_dec_ref(v___y_19058_); -lean_dec(v___y_19057_); -lean_dec_ref(v___y_19056_); -lean_dec_ref(v_ctx_x3f_19054_); -lean_dec_ref(v___x_19053_); -v_a_19095_ = lean_ctor_get(v___x_19071_, 0); -v_isSharedCheck_19102_ = !lean_is_exclusive(v___x_19071_); -if (v_isSharedCheck_19102_ == 0) -{ -v___x_19097_ = v___x_19071_; -v_isShared_19098_ = v_isSharedCheck_19102_; -goto v_resetjp_19096_; -} -else -{ -lean_inc(v_a_19095_); -lean_dec(v___x_19071_); -v___x_19097_ = lean_box(0); -v_isShared_19098_ = v_isSharedCheck_19102_; -goto v_resetjp_19096_; -} -v_resetjp_19096_: -{ -lean_object* v___x_19100_; -if (v_isShared_19098_ == 0) -{ -v___x_19100_ = v___x_19097_; -goto v_reusejp_19099_; -} -else -{ -lean_object* v_reuseFailAlloc_19101_; -v_reuseFailAlloc_19101_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19101_, 0, v_a_19095_); -v___x_19100_ = v_reuseFailAlloc_19101_; -goto v_reusejp_19099_; -} -v_reusejp_19099_: -{ -return v___x_19100_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20___boxed(lean_object* v___x_19104_, lean_object* v_ctx_x3f_19105_, lean_object* v_t_19106_, lean_object* v___y_19107_, lean_object* v___y_19108_, lean_object* v___y_19109_, lean_object* v___y_19110_, lean_object* v___y_19111_, lean_object* v___y_19112_, lean_object* v___y_19113_){ +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(lean_object* v___x_19093_, lean_object* v_ctx_x3f_19094_, lean_object* v_t_19095_, lean_object* v___y_19096_, lean_object* v___y_19097_, lean_object* v___y_19098_, lean_object* v___y_19099_, lean_object* v___y_19100_, lean_object* v___y_19101_){ _start: { -lean_object* v_res_19114_; -v_res_19114_ = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(v___x_19104_, v_ctx_x3f_19105_, v_t_19106_, v___y_19107_, v___y_19108_, v___y_19109_, v___y_19110_, v___y_19111_, v___y_19112_); -return v_res_19114_; +lean_object* v_root_19103_; lean_object* v_tail_19104_; lean_object* v_size_19105_; size_t v_shift_19106_; lean_object* v_tailOff_19107_; lean_object* v___x_19109_; uint8_t v_isShared_19110_; uint8_t v_isSharedCheck_19143_; +v_root_19103_ = lean_ctor_get(v_t_19095_, 0); +v_tail_19104_ = lean_ctor_get(v_t_19095_, 1); +v_size_19105_ = lean_ctor_get(v_t_19095_, 2); +v_shift_19106_ = lean_ctor_get_usize(v_t_19095_, 4); +v_tailOff_19107_ = lean_ctor_get(v_t_19095_, 3); +v_isSharedCheck_19143_ = !lean_is_exclusive(v_t_19095_); +if (v_isSharedCheck_19143_ == 0) +{ +v___x_19109_ = v_t_19095_; +v_isShared_19110_ = v_isSharedCheck_19143_; +goto v_resetjp_19108_; +} +else +{ +lean_inc(v_tailOff_19107_); +lean_inc(v_size_19105_); +lean_inc(v_tail_19104_); +lean_inc(v_root_19103_); +lean_dec(v_t_19095_); +v___x_19109_ = lean_box(0); +v_isShared_19110_ = v_isSharedCheck_19143_; +goto v_resetjp_19108_; +} +v_resetjp_19108_: +{ +lean_object* v___x_19111_; +lean_inc(v___y_19101_); +lean_inc_ref(v___y_19100_); +lean_inc(v___y_19099_); +lean_inc_ref(v___y_19098_); +lean_inc(v___y_19097_); +lean_inc_ref(v___y_19096_); +lean_inc_ref(v_ctx_x3f_19094_); +lean_inc_ref(v___x_19093_); +v___x_19111_ = l_Lean_PersistentArray_mapMAux___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__26(v___x_19093_, v_ctx_x3f_19094_, v_root_19103_, v___y_19096_, v___y_19097_, v___y_19098_, v___y_19099_, v___y_19100_, v___y_19101_); +if (lean_obj_tag(v___x_19111_) == 0) +{ +lean_object* v_a_19112_; size_t v_sz_19113_; size_t v___x_19114_; lean_object* v___x_19115_; +v_a_19112_ = lean_ctor_get(v___x_19111_, 0); +lean_inc(v_a_19112_); +lean_dec_ref(v___x_19111_); +v_sz_19113_ = lean_array_size(v_tail_19104_); +v___x_19114_ = ((size_t)0ULL); +v___x_19115_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20_spec__27(v___x_19093_, v_ctx_x3f_19094_, v_sz_19113_, v___x_19114_, v_tail_19104_, v___y_19096_, v___y_19097_, v___y_19098_, v___y_19099_, v___y_19100_, v___y_19101_); +if (lean_obj_tag(v___x_19115_) == 0) +{ +lean_object* v_a_19116_; lean_object* v___x_19118_; uint8_t v_isShared_19119_; uint8_t v_isSharedCheck_19126_; +v_a_19116_ = lean_ctor_get(v___x_19115_, 0); +v_isSharedCheck_19126_ = !lean_is_exclusive(v___x_19115_); +if (v_isSharedCheck_19126_ == 0) +{ +v___x_19118_ = v___x_19115_; +v_isShared_19119_ = v_isSharedCheck_19126_; +goto v_resetjp_19117_; +} +else +{ +lean_inc(v_a_19116_); +lean_dec(v___x_19115_); +v___x_19118_ = lean_box(0); +v_isShared_19119_ = v_isSharedCheck_19126_; +goto v_resetjp_19117_; +} +v_resetjp_19117_: +{ +lean_object* v___x_19121_; +if (v_isShared_19110_ == 0) +{ +lean_ctor_set(v___x_19109_, 1, v_a_19116_); +lean_ctor_set(v___x_19109_, 0, v_a_19112_); +v___x_19121_ = v___x_19109_; +goto v_reusejp_19120_; +} +else +{ +lean_object* v_reuseFailAlloc_19125_; +v_reuseFailAlloc_19125_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v_reuseFailAlloc_19125_, 0, v_a_19112_); +lean_ctor_set(v_reuseFailAlloc_19125_, 1, v_a_19116_); +lean_ctor_set(v_reuseFailAlloc_19125_, 2, v_size_19105_); +lean_ctor_set(v_reuseFailAlloc_19125_, 3, v_tailOff_19107_); +lean_ctor_set_usize(v_reuseFailAlloc_19125_, 4, v_shift_19106_); +v___x_19121_ = v_reuseFailAlloc_19125_; +goto v_reusejp_19120_; +} +v_reusejp_19120_: +{ +lean_object* v___x_19123_; +if (v_isShared_19119_ == 0) +{ +lean_ctor_set(v___x_19118_, 0, v___x_19121_); +v___x_19123_ = v___x_19118_; +goto v_reusejp_19122_; +} +else +{ +lean_object* v_reuseFailAlloc_19124_; +v_reuseFailAlloc_19124_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19124_, 0, v___x_19121_); +v___x_19123_ = v_reuseFailAlloc_19124_; +goto v_reusejp_19122_; +} +v_reusejp_19122_: +{ +return v___x_19123_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(lean_object* v___y_19115_, lean_object* v_ctx_x3f_19116_, lean_object* v___y_19117_, lean_object* v___y_19118_, lean_object* v___y_19119_, lean_object* v___y_19120_, lean_object* v___y_19121_, lean_object* v_a_19122_, lean_object* v_a_x3f_19123_){ +} +} +else +{ +lean_object* v_a_19127_; lean_object* v___x_19129_; uint8_t v_isShared_19130_; uint8_t v_isSharedCheck_19134_; +lean_dec(v_a_19112_); +lean_del_object(v___x_19109_); +lean_dec(v_tailOff_19107_); +lean_dec(v_size_19105_); +v_a_19127_ = lean_ctor_get(v___x_19115_, 0); +v_isSharedCheck_19134_ = !lean_is_exclusive(v___x_19115_); +if (v_isSharedCheck_19134_ == 0) +{ +v___x_19129_ = v___x_19115_; +v_isShared_19130_ = v_isSharedCheck_19134_; +goto v_resetjp_19128_; +} +else +{ +lean_inc(v_a_19127_); +lean_dec(v___x_19115_); +v___x_19129_ = lean_box(0); +v_isShared_19130_ = v_isSharedCheck_19134_; +goto v_resetjp_19128_; +} +v_resetjp_19128_: +{ +lean_object* v___x_19132_; +if (v_isShared_19130_ == 0) +{ +v___x_19132_ = v___x_19129_; +goto v_reusejp_19131_; +} +else +{ +lean_object* v_reuseFailAlloc_19133_; +v_reuseFailAlloc_19133_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19133_, 0, v_a_19127_); +v___x_19132_ = v_reuseFailAlloc_19133_; +goto v_reusejp_19131_; +} +v_reusejp_19131_: +{ +return v___x_19132_; +} +} +} +} +else +{ +lean_object* v_a_19135_; lean_object* v___x_19137_; uint8_t v_isShared_19138_; uint8_t v_isSharedCheck_19142_; +lean_del_object(v___x_19109_); +lean_dec(v_tailOff_19107_); +lean_dec(v_size_19105_); +lean_dec_ref(v_tail_19104_); +lean_dec(v___y_19101_); +lean_dec_ref(v___y_19100_); +lean_dec(v___y_19099_); +lean_dec_ref(v___y_19098_); +lean_dec(v___y_19097_); +lean_dec_ref(v___y_19096_); +lean_dec_ref(v_ctx_x3f_19094_); +lean_dec_ref(v___x_19093_); +v_a_19135_ = lean_ctor_get(v___x_19111_, 0); +v_isSharedCheck_19142_ = !lean_is_exclusive(v___x_19111_); +if (v_isSharedCheck_19142_ == 0) +{ +v___x_19137_ = v___x_19111_; +v_isShared_19138_ = v_isSharedCheck_19142_; +goto v_resetjp_19136_; +} +else +{ +lean_inc(v_a_19135_); +lean_dec(v___x_19111_); +v___x_19137_ = lean_box(0); +v_isShared_19138_ = v_isSharedCheck_19142_; +goto v_resetjp_19136_; +} +v_resetjp_19136_: +{ +lean_object* v___x_19140_; +if (v_isShared_19138_ == 0) +{ +v___x_19140_ = v___x_19137_; +goto v_reusejp_19139_; +} +else +{ +lean_object* v_reuseFailAlloc_19141_; +v_reuseFailAlloc_19141_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19141_, 0, v_a_19135_); +v___x_19140_ = v_reuseFailAlloc_19141_; +goto v_reusejp_19139_; +} +v_reusejp_19139_: +{ +return v___x_19140_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20___boxed(lean_object* v___x_19144_, lean_object* v_ctx_x3f_19145_, lean_object* v_t_19146_, lean_object* v___y_19147_, lean_object* v___y_19148_, lean_object* v___y_19149_, lean_object* v___y_19150_, lean_object* v___y_19151_, lean_object* v___y_19152_, lean_object* v___y_19153_){ _start: { -lean_object* v___x_19125_; lean_object* v_infoState_19126_; lean_object* v_trees_19127_; lean_object* v___x_19128_; -v___x_19125_ = lean_st_ref_get(v___y_19115_); -v_infoState_19126_ = lean_ctor_get(v___x_19125_, 7); -lean_inc_ref(v_infoState_19126_); -lean_dec(v___x_19125_); -v_trees_19127_ = lean_ctor_get(v_infoState_19126_, 2); -lean_inc_ref(v_trees_19127_); -lean_inc(v___y_19115_); -v___x_19128_ = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(v_infoState_19126_, v_ctx_x3f_19116_, v_trees_19127_, v___y_19117_, v___y_19118_, v___y_19119_, v___y_19120_, v___y_19121_, v___y_19115_); -if (lean_obj_tag(v___x_19128_) == 0) -{ -lean_object* v_a_19129_; lean_object* v___x_19131_; uint8_t v_isShared_19132_; uint8_t v_isSharedCheck_19167_; -v_a_19129_ = lean_ctor_get(v___x_19128_, 0); -v_isSharedCheck_19167_ = !lean_is_exclusive(v___x_19128_); -if (v_isSharedCheck_19167_ == 0) -{ -v___x_19131_ = v___x_19128_; -v_isShared_19132_ = v_isSharedCheck_19167_; -goto v_resetjp_19130_; -} -else -{ -lean_inc(v_a_19129_); -lean_dec(v___x_19128_); -v___x_19131_ = lean_box(0); -v_isShared_19132_ = v_isSharedCheck_19167_; -goto v_resetjp_19130_; -} -v_resetjp_19130_: -{ -lean_object* v___x_19133_; lean_object* v_infoState_19134_; lean_object* v_env_19135_; lean_object* v_nextMacroScope_19136_; lean_object* v_ngen_19137_; lean_object* v_auxDeclNGen_19138_; lean_object* v_traceState_19139_; lean_object* v_cache_19140_; lean_object* v_messages_19141_; lean_object* v_snapshotTasks_19142_; lean_object* v___x_19144_; uint8_t v_isShared_19145_; uint8_t v_isSharedCheck_19166_; -v___x_19133_ = lean_st_ref_take(v___y_19115_); -v_infoState_19134_ = lean_ctor_get(v___x_19133_, 7); -v_env_19135_ = lean_ctor_get(v___x_19133_, 0); -v_nextMacroScope_19136_ = lean_ctor_get(v___x_19133_, 1); -v_ngen_19137_ = lean_ctor_get(v___x_19133_, 2); -v_auxDeclNGen_19138_ = lean_ctor_get(v___x_19133_, 3); -v_traceState_19139_ = lean_ctor_get(v___x_19133_, 4); -v_cache_19140_ = lean_ctor_get(v___x_19133_, 5); -v_messages_19141_ = lean_ctor_get(v___x_19133_, 6); -v_snapshotTasks_19142_ = lean_ctor_get(v___x_19133_, 8); -v_isSharedCheck_19166_ = !lean_is_exclusive(v___x_19133_); -if (v_isSharedCheck_19166_ == 0) -{ -v___x_19144_ = v___x_19133_; -v_isShared_19145_ = v_isSharedCheck_19166_; -goto v_resetjp_19143_; -} -else -{ -lean_inc(v_snapshotTasks_19142_); -lean_inc(v_infoState_19134_); -lean_inc(v_messages_19141_); -lean_inc(v_cache_19140_); -lean_inc(v_traceState_19139_); -lean_inc(v_auxDeclNGen_19138_); -lean_inc(v_ngen_19137_); -lean_inc(v_nextMacroScope_19136_); -lean_inc(v_env_19135_); -lean_dec(v___x_19133_); -v___x_19144_ = lean_box(0); -v_isShared_19145_ = v_isSharedCheck_19166_; -goto v_resetjp_19143_; -} -v_resetjp_19143_: -{ -uint8_t v_enabled_19146_; lean_object* v_assignment_19147_; lean_object* v_lazyAssignment_19148_; lean_object* v___x_19150_; uint8_t v_isShared_19151_; uint8_t v_isSharedCheck_19164_; -v_enabled_19146_ = lean_ctor_get_uint8(v_infoState_19134_, sizeof(void*)*3); -v_assignment_19147_ = lean_ctor_get(v_infoState_19134_, 0); -v_lazyAssignment_19148_ = lean_ctor_get(v_infoState_19134_, 1); -v_isSharedCheck_19164_ = !lean_is_exclusive(v_infoState_19134_); -if (v_isSharedCheck_19164_ == 0) -{ -lean_object* v_unused_19165_; -v_unused_19165_ = lean_ctor_get(v_infoState_19134_, 2); -lean_dec(v_unused_19165_); -v___x_19150_ = v_infoState_19134_; -v_isShared_19151_ = v_isSharedCheck_19164_; -goto v_resetjp_19149_; -} -else -{ -lean_inc(v_lazyAssignment_19148_); -lean_inc(v_assignment_19147_); -lean_dec(v_infoState_19134_); -v___x_19150_ = lean_box(0); -v_isShared_19151_ = v_isSharedCheck_19164_; -goto v_resetjp_19149_; -} -v_resetjp_19149_: -{ -lean_object* v___x_19152_; lean_object* v___x_19154_; -v___x_19152_ = l_Lean_PersistentArray_append___redArg(v_a_19122_, v_a_19129_); -lean_dec(v_a_19129_); -if (v_isShared_19151_ == 0) -{ -lean_ctor_set(v___x_19150_, 2, v___x_19152_); -v___x_19154_ = v___x_19150_; -goto v_reusejp_19153_; -} -else -{ -lean_object* v_reuseFailAlloc_19163_; -v_reuseFailAlloc_19163_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_19163_, 0, v_assignment_19147_); -lean_ctor_set(v_reuseFailAlloc_19163_, 1, v_lazyAssignment_19148_); -lean_ctor_set(v_reuseFailAlloc_19163_, 2, v___x_19152_); -lean_ctor_set_uint8(v_reuseFailAlloc_19163_, sizeof(void*)*3, v_enabled_19146_); -v___x_19154_ = v_reuseFailAlloc_19163_; -goto v_reusejp_19153_; -} -v_reusejp_19153_: -{ -lean_object* v___x_19156_; -if (v_isShared_19145_ == 0) -{ -lean_ctor_set(v___x_19144_, 7, v___x_19154_); -v___x_19156_ = v___x_19144_; -goto v_reusejp_19155_; -} -else -{ -lean_object* v_reuseFailAlloc_19162_; -v_reuseFailAlloc_19162_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_19162_, 0, v_env_19135_); -lean_ctor_set(v_reuseFailAlloc_19162_, 1, v_nextMacroScope_19136_); -lean_ctor_set(v_reuseFailAlloc_19162_, 2, v_ngen_19137_); -lean_ctor_set(v_reuseFailAlloc_19162_, 3, v_auxDeclNGen_19138_); -lean_ctor_set(v_reuseFailAlloc_19162_, 4, v_traceState_19139_); -lean_ctor_set(v_reuseFailAlloc_19162_, 5, v_cache_19140_); -lean_ctor_set(v_reuseFailAlloc_19162_, 6, v_messages_19141_); -lean_ctor_set(v_reuseFailAlloc_19162_, 7, v___x_19154_); -lean_ctor_set(v_reuseFailAlloc_19162_, 8, v_snapshotTasks_19142_); -v___x_19156_ = v_reuseFailAlloc_19162_; -goto v_reusejp_19155_; -} -v_reusejp_19155_: -{ -lean_object* v___x_19157_; lean_object* v___x_19158_; lean_object* v___x_19160_; -v___x_19157_ = lean_st_ref_set(v___y_19115_, v___x_19156_); -lean_dec(v___y_19115_); -v___x_19158_ = lean_box(0); -if (v_isShared_19132_ == 0) -{ -lean_ctor_set(v___x_19131_, 0, v___x_19158_); -v___x_19160_ = v___x_19131_; -goto v_reusejp_19159_; -} -else -{ -lean_object* v_reuseFailAlloc_19161_; -v_reuseFailAlloc_19161_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19161_, 0, v___x_19158_); -v___x_19160_ = v_reuseFailAlloc_19161_; -goto v_reusejp_19159_; -} -v_reusejp_19159_: -{ -return v___x_19160_; +lean_object* v_res_19154_; +v_res_19154_ = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(v___x_19144_, v_ctx_x3f_19145_, v_t_19146_, v___y_19147_, v___y_19148_, v___y_19149_, v___y_19150_, v___y_19151_, v___y_19152_); +return v_res_19154_; } } -} -} -} -} -} -else -{ -lean_object* v_a_19168_; lean_object* v___x_19170_; uint8_t v_isShared_19171_; uint8_t v_isSharedCheck_19175_; -lean_dec_ref(v_a_19122_); -lean_dec(v___y_19115_); -v_a_19168_ = lean_ctor_get(v___x_19128_, 0); -v_isSharedCheck_19175_ = !lean_is_exclusive(v___x_19128_); -if (v_isSharedCheck_19175_ == 0) -{ -v___x_19170_ = v___x_19128_; -v_isShared_19171_ = v_isSharedCheck_19175_; -goto v_resetjp_19169_; -} -else -{ -lean_inc(v_a_19168_); -lean_dec(v___x_19128_); -v___x_19170_ = lean_box(0); -v_isShared_19171_ = v_isSharedCheck_19175_; -goto v_resetjp_19169_; -} -v_resetjp_19169_: -{ -lean_object* v___x_19173_; -if (v_isShared_19171_ == 0) -{ -v___x_19173_ = v___x_19170_; -goto v_reusejp_19172_; -} -else -{ -lean_object* v_reuseFailAlloc_19174_; -v_reuseFailAlloc_19174_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19174_, 0, v_a_19168_); -v___x_19173_ = v_reuseFailAlloc_19174_; -goto v_reusejp_19172_; -} -v_reusejp_19172_: -{ -return v___x_19173_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0___boxed(lean_object* v___y_19176_, lean_object* v_ctx_x3f_19177_, lean_object* v___y_19178_, lean_object* v___y_19179_, lean_object* v___y_19180_, lean_object* v___y_19181_, lean_object* v___y_19182_, lean_object* v_a_19183_, lean_object* v_a_x3f_19184_, lean_object* v___y_19185_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(lean_object* v___y_19155_, lean_object* v_ctx_x3f_19156_, lean_object* v___y_19157_, lean_object* v___y_19158_, lean_object* v___y_19159_, lean_object* v___y_19160_, lean_object* v___y_19161_, lean_object* v_a_19162_, lean_object* v_a_x3f_19163_){ _start: { -lean_object* v_res_19186_; -v_res_19186_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19176_, v_ctx_x3f_19177_, v___y_19178_, v___y_19179_, v___y_19180_, v___y_19181_, v___y_19182_, v_a_19183_, v_a_x3f_19184_); -lean_dec(v_a_x3f_19184_); -return v_res_19186_; +lean_object* v___x_19165_; lean_object* v_infoState_19166_; lean_object* v_trees_19167_; lean_object* v___x_19168_; +v___x_19165_ = lean_st_ref_get(v___y_19155_); +v_infoState_19166_ = lean_ctor_get(v___x_19165_, 7); +lean_inc_ref(v_infoState_19166_); +lean_dec(v___x_19165_); +v_trees_19167_ = lean_ctor_get(v_infoState_19166_, 2); +lean_inc_ref(v_trees_19167_); +lean_inc(v___y_19155_); +v___x_19168_ = l_Lean_PersistentArray_mapM___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__20(v_infoState_19166_, v_ctx_x3f_19156_, v_trees_19167_, v___y_19157_, v___y_19158_, v___y_19159_, v___y_19160_, v___y_19161_, v___y_19155_); +if (lean_obj_tag(v___x_19168_) == 0) +{ +lean_object* v_a_19169_; lean_object* v___x_19171_; uint8_t v_isShared_19172_; uint8_t v_isSharedCheck_19207_; +v_a_19169_ = lean_ctor_get(v___x_19168_, 0); +v_isSharedCheck_19207_ = !lean_is_exclusive(v___x_19168_); +if (v_isSharedCheck_19207_ == 0) +{ +v___x_19171_ = v___x_19168_; +v_isShared_19172_ = v_isSharedCheck_19207_; +goto v_resetjp_19170_; +} +else +{ +lean_inc(v_a_19169_); +lean_dec(v___x_19168_); +v___x_19171_ = lean_box(0); +v_isShared_19172_ = v_isSharedCheck_19207_; +goto v_resetjp_19170_; +} +v_resetjp_19170_: +{ +lean_object* v___x_19173_; lean_object* v_infoState_19174_; lean_object* v_env_19175_; lean_object* v_nextMacroScope_19176_; lean_object* v_ngen_19177_; lean_object* v_auxDeclNGen_19178_; lean_object* v_traceState_19179_; lean_object* v_cache_19180_; lean_object* v_messages_19181_; lean_object* v_snapshotTasks_19182_; lean_object* v___x_19184_; uint8_t v_isShared_19185_; uint8_t v_isSharedCheck_19206_; +v___x_19173_ = lean_st_ref_take(v___y_19155_); +v_infoState_19174_ = lean_ctor_get(v___x_19173_, 7); +v_env_19175_ = lean_ctor_get(v___x_19173_, 0); +v_nextMacroScope_19176_ = lean_ctor_get(v___x_19173_, 1); +v_ngen_19177_ = lean_ctor_get(v___x_19173_, 2); +v_auxDeclNGen_19178_ = lean_ctor_get(v___x_19173_, 3); +v_traceState_19179_ = lean_ctor_get(v___x_19173_, 4); +v_cache_19180_ = lean_ctor_get(v___x_19173_, 5); +v_messages_19181_ = lean_ctor_get(v___x_19173_, 6); +v_snapshotTasks_19182_ = lean_ctor_get(v___x_19173_, 8); +v_isSharedCheck_19206_ = !lean_is_exclusive(v___x_19173_); +if (v_isSharedCheck_19206_ == 0) +{ +v___x_19184_ = v___x_19173_; +v_isShared_19185_ = v_isSharedCheck_19206_; +goto v_resetjp_19183_; +} +else +{ +lean_inc(v_snapshotTasks_19182_); +lean_inc(v_infoState_19174_); +lean_inc(v_messages_19181_); +lean_inc(v_cache_19180_); +lean_inc(v_traceState_19179_); +lean_inc(v_auxDeclNGen_19178_); +lean_inc(v_ngen_19177_); +lean_inc(v_nextMacroScope_19176_); +lean_inc(v_env_19175_); +lean_dec(v___x_19173_); +v___x_19184_ = lean_box(0); +v_isShared_19185_ = v_isSharedCheck_19206_; +goto v_resetjp_19183_; +} +v_resetjp_19183_: +{ +uint8_t v_enabled_19186_; lean_object* v_assignment_19187_; lean_object* v_lazyAssignment_19188_; lean_object* v___x_19190_; uint8_t v_isShared_19191_; uint8_t v_isSharedCheck_19204_; +v_enabled_19186_ = lean_ctor_get_uint8(v_infoState_19174_, sizeof(void*)*3); +v_assignment_19187_ = lean_ctor_get(v_infoState_19174_, 0); +v_lazyAssignment_19188_ = lean_ctor_get(v_infoState_19174_, 1); +v_isSharedCheck_19204_ = !lean_is_exclusive(v_infoState_19174_); +if (v_isSharedCheck_19204_ == 0) +{ +lean_object* v_unused_19205_; +v_unused_19205_ = lean_ctor_get(v_infoState_19174_, 2); +lean_dec(v_unused_19205_); +v___x_19190_ = v_infoState_19174_; +v_isShared_19191_ = v_isSharedCheck_19204_; +goto v_resetjp_19189_; +} +else +{ +lean_inc(v_lazyAssignment_19188_); +lean_inc(v_assignment_19187_); +lean_dec(v_infoState_19174_); +v___x_19190_ = lean_box(0); +v_isShared_19191_ = v_isSharedCheck_19204_; +goto v_resetjp_19189_; +} +v_resetjp_19189_: +{ +lean_object* v___x_19192_; lean_object* v___x_19194_; +v___x_19192_ = l_Lean_PersistentArray_append___redArg(v_a_19162_, v_a_19169_); +lean_dec(v_a_19169_); +if (v_isShared_19191_ == 0) +{ +lean_ctor_set(v___x_19190_, 2, v___x_19192_); +v___x_19194_ = v___x_19190_; +goto v_reusejp_19193_; +} +else +{ +lean_object* v_reuseFailAlloc_19203_; +v_reuseFailAlloc_19203_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_19203_, 0, v_assignment_19187_); +lean_ctor_set(v_reuseFailAlloc_19203_, 1, v_lazyAssignment_19188_); +lean_ctor_set(v_reuseFailAlloc_19203_, 2, v___x_19192_); +lean_ctor_set_uint8(v_reuseFailAlloc_19203_, sizeof(void*)*3, v_enabled_19186_); +v___x_19194_ = v_reuseFailAlloc_19203_; +goto v_reusejp_19193_; +} +v_reusejp_19193_: +{ +lean_object* v___x_19196_; +if (v_isShared_19185_ == 0) +{ +lean_ctor_set(v___x_19184_, 7, v___x_19194_); +v___x_19196_ = v___x_19184_; +goto v_reusejp_19195_; +} +else +{ +lean_object* v_reuseFailAlloc_19202_; +v_reuseFailAlloc_19202_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_19202_, 0, v_env_19175_); +lean_ctor_set(v_reuseFailAlloc_19202_, 1, v_nextMacroScope_19176_); +lean_ctor_set(v_reuseFailAlloc_19202_, 2, v_ngen_19177_); +lean_ctor_set(v_reuseFailAlloc_19202_, 3, v_auxDeclNGen_19178_); +lean_ctor_set(v_reuseFailAlloc_19202_, 4, v_traceState_19179_); +lean_ctor_set(v_reuseFailAlloc_19202_, 5, v_cache_19180_); +lean_ctor_set(v_reuseFailAlloc_19202_, 6, v_messages_19181_); +lean_ctor_set(v_reuseFailAlloc_19202_, 7, v___x_19194_); +lean_ctor_set(v_reuseFailAlloc_19202_, 8, v_snapshotTasks_19182_); +v___x_19196_ = v_reuseFailAlloc_19202_; +goto v_reusejp_19195_; +} +v_reusejp_19195_: +{ +lean_object* v___x_19197_; lean_object* v___x_19198_; lean_object* v___x_19200_; +v___x_19197_ = lean_st_ref_set(v___y_19155_, v___x_19196_); +lean_dec(v___y_19155_); +v___x_19198_ = lean_box(0); +if (v_isShared_19172_ == 0) +{ +lean_ctor_set(v___x_19171_, 0, v___x_19198_); +v___x_19200_ = v___x_19171_; +goto v_reusejp_19199_; +} +else +{ +lean_object* v_reuseFailAlloc_19201_; +v_reuseFailAlloc_19201_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19201_, 0, v___x_19198_); +v___x_19200_ = v_reuseFailAlloc_19201_; +goto v_reusejp_19199_; +} +v_reusejp_19199_: +{ +return v___x_19200_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(lean_object* v___y_19187_){ +} +} +} +} +} +else +{ +lean_object* v_a_19208_; lean_object* v___x_19210_; uint8_t v_isShared_19211_; uint8_t v_isSharedCheck_19215_; +lean_dec_ref(v_a_19162_); +lean_dec(v___y_19155_); +v_a_19208_ = lean_ctor_get(v___x_19168_, 0); +v_isSharedCheck_19215_ = !lean_is_exclusive(v___x_19168_); +if (v_isSharedCheck_19215_ == 0) +{ +v___x_19210_ = v___x_19168_; +v_isShared_19211_ = v_isSharedCheck_19215_; +goto v_resetjp_19209_; +} +else +{ +lean_inc(v_a_19208_); +lean_dec(v___x_19168_); +v___x_19210_ = lean_box(0); +v_isShared_19211_ = v_isSharedCheck_19215_; +goto v_resetjp_19209_; +} +v_resetjp_19209_: +{ +lean_object* v___x_19213_; +if (v_isShared_19211_ == 0) +{ +v___x_19213_ = v___x_19210_; +goto v_reusejp_19212_; +} +else +{ +lean_object* v_reuseFailAlloc_19214_; +v_reuseFailAlloc_19214_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19214_, 0, v_a_19208_); +v___x_19213_ = v_reuseFailAlloc_19214_; +goto v_reusejp_19212_; +} +v_reusejp_19212_: +{ +return v___x_19213_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0___boxed(lean_object* v___y_19216_, lean_object* v_ctx_x3f_19217_, lean_object* v___y_19218_, lean_object* v___y_19219_, lean_object* v___y_19220_, lean_object* v___y_19221_, lean_object* v___y_19222_, lean_object* v_a_19223_, lean_object* v_a_x3f_19224_, lean_object* v___y_19225_){ _start: { -lean_object* v___x_19189_; lean_object* v_infoState_19190_; lean_object* v_trees_19191_; lean_object* v___x_19192_; lean_object* v_infoState_19193_; lean_object* v_env_19194_; lean_object* v_nextMacroScope_19195_; lean_object* v_ngen_19196_; lean_object* v_auxDeclNGen_19197_; lean_object* v_traceState_19198_; lean_object* v_cache_19199_; lean_object* v_messages_19200_; lean_object* v_snapshotTasks_19201_; lean_object* v___x_19203_; uint8_t v_isShared_19204_; uint8_t v_isSharedCheck_19224_; -v___x_19189_ = lean_st_ref_get(v___y_19187_); -v_infoState_19190_ = lean_ctor_get(v___x_19189_, 7); -lean_inc_ref(v_infoState_19190_); -lean_dec(v___x_19189_); -v_trees_19191_ = lean_ctor_get(v_infoState_19190_, 2); -lean_inc_ref(v_trees_19191_); -lean_dec_ref(v_infoState_19190_); -v___x_19192_ = lean_st_ref_take(v___y_19187_); -v_infoState_19193_ = lean_ctor_get(v___x_19192_, 7); -v_env_19194_ = lean_ctor_get(v___x_19192_, 0); -v_nextMacroScope_19195_ = lean_ctor_get(v___x_19192_, 1); -v_ngen_19196_ = lean_ctor_get(v___x_19192_, 2); -v_auxDeclNGen_19197_ = lean_ctor_get(v___x_19192_, 3); -v_traceState_19198_ = lean_ctor_get(v___x_19192_, 4); -v_cache_19199_ = lean_ctor_get(v___x_19192_, 5); -v_messages_19200_ = lean_ctor_get(v___x_19192_, 6); -v_snapshotTasks_19201_ = lean_ctor_get(v___x_19192_, 8); -v_isSharedCheck_19224_ = !lean_is_exclusive(v___x_19192_); -if (v_isSharedCheck_19224_ == 0) -{ -v___x_19203_ = v___x_19192_; -v_isShared_19204_ = v_isSharedCheck_19224_; -goto v_resetjp_19202_; -} -else -{ -lean_inc(v_snapshotTasks_19201_); -lean_inc(v_infoState_19193_); -lean_inc(v_messages_19200_); -lean_inc(v_cache_19199_); -lean_inc(v_traceState_19198_); -lean_inc(v_auxDeclNGen_19197_); -lean_inc(v_ngen_19196_); -lean_inc(v_nextMacroScope_19195_); -lean_inc(v_env_19194_); -lean_dec(v___x_19192_); -v___x_19203_ = lean_box(0); -v_isShared_19204_ = v_isSharedCheck_19224_; -goto v_resetjp_19202_; -} -v_resetjp_19202_: -{ -uint8_t v_enabled_19205_; lean_object* v_assignment_19206_; lean_object* v_lazyAssignment_19207_; lean_object* v___x_19209_; uint8_t v_isShared_19210_; uint8_t v_isSharedCheck_19222_; -v_enabled_19205_ = lean_ctor_get_uint8(v_infoState_19193_, sizeof(void*)*3); -v_assignment_19206_ = lean_ctor_get(v_infoState_19193_, 0); -v_lazyAssignment_19207_ = lean_ctor_get(v_infoState_19193_, 1); -v_isSharedCheck_19222_ = !lean_is_exclusive(v_infoState_19193_); -if (v_isSharedCheck_19222_ == 0) -{ -lean_object* v_unused_19223_; -v_unused_19223_ = lean_ctor_get(v_infoState_19193_, 2); -lean_dec(v_unused_19223_); -v___x_19209_ = v_infoState_19193_; -v_isShared_19210_ = v_isSharedCheck_19222_; -goto v_resetjp_19208_; -} -else -{ -lean_inc(v_lazyAssignment_19207_); -lean_inc(v_assignment_19206_); -lean_dec(v_infoState_19193_); -v___x_19209_ = lean_box(0); -v_isShared_19210_ = v_isSharedCheck_19222_; -goto v_resetjp_19208_; -} -v_resetjp_19208_: -{ -lean_object* v___x_19211_; lean_object* v___x_19212_; lean_object* v___x_19213_; lean_object* v___x_19215_; -v___x_19211_ = lean_unsigned_to_nat(32u); -v___x_19212_ = lean_mk_empty_array_with_capacity(v___x_19211_); -lean_dec_ref(v___x_19212_); -v___x_19213_ = lean_obj_once(&l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1, &l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1_once, _init_l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1); -if (v_isShared_19210_ == 0) -{ -lean_ctor_set(v___x_19209_, 2, v___x_19213_); -v___x_19215_ = v___x_19209_; -goto v_reusejp_19214_; -} -else -{ -lean_object* v_reuseFailAlloc_19221_; -v_reuseFailAlloc_19221_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_19221_, 0, v_assignment_19206_); -lean_ctor_set(v_reuseFailAlloc_19221_, 1, v_lazyAssignment_19207_); -lean_ctor_set(v_reuseFailAlloc_19221_, 2, v___x_19213_); -lean_ctor_set_uint8(v_reuseFailAlloc_19221_, sizeof(void*)*3, v_enabled_19205_); -v___x_19215_ = v_reuseFailAlloc_19221_; -goto v_reusejp_19214_; -} -v_reusejp_19214_: -{ -lean_object* v___x_19217_; -if (v_isShared_19204_ == 0) -{ -lean_ctor_set(v___x_19203_, 7, v___x_19215_); -v___x_19217_ = v___x_19203_; -goto v_reusejp_19216_; -} -else -{ -lean_object* v_reuseFailAlloc_19220_; -v_reuseFailAlloc_19220_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_19220_, 0, v_env_19194_); -lean_ctor_set(v_reuseFailAlloc_19220_, 1, v_nextMacroScope_19195_); -lean_ctor_set(v_reuseFailAlloc_19220_, 2, v_ngen_19196_); -lean_ctor_set(v_reuseFailAlloc_19220_, 3, v_auxDeclNGen_19197_); -lean_ctor_set(v_reuseFailAlloc_19220_, 4, v_traceState_19198_); -lean_ctor_set(v_reuseFailAlloc_19220_, 5, v_cache_19199_); -lean_ctor_set(v_reuseFailAlloc_19220_, 6, v_messages_19200_); -lean_ctor_set(v_reuseFailAlloc_19220_, 7, v___x_19215_); -lean_ctor_set(v_reuseFailAlloc_19220_, 8, v_snapshotTasks_19201_); -v___x_19217_ = v_reuseFailAlloc_19220_; -goto v_reusejp_19216_; -} -v_reusejp_19216_: -{ -lean_object* v___x_19218_; lean_object* v___x_19219_; -v___x_19218_ = lean_st_ref_set(v___y_19187_, v___x_19217_); -v___x_19219_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19219_, 0, v_trees_19191_); -return v___x_19219_; +lean_object* v_res_19226_; +v_res_19226_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19216_, v_ctx_x3f_19217_, v___y_19218_, v___y_19219_, v___y_19220_, v___y_19221_, v___y_19222_, v_a_19223_, v_a_x3f_19224_); +lean_dec(v_a_x3f_19224_); +return v_res_19226_; } } -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg___boxed(lean_object* v___y_19225_, lean_object* v___y_19226_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(lean_object* v___y_19227_){ _start: { -lean_object* v_res_19227_; -v_res_19227_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_19225_); -lean_dec(v___y_19225_); -return v_res_19227_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(lean_object* v_x_19228_, lean_object* v_ctx_x3f_19229_, lean_object* v___y_19230_, lean_object* v___y_19231_, lean_object* v___y_19232_, lean_object* v___y_19233_, lean_object* v___y_19234_, lean_object* v___y_19235_){ -_start: +lean_object* v___x_19229_; lean_object* v_infoState_19230_; lean_object* v_trees_19231_; lean_object* v___x_19232_; lean_object* v_infoState_19233_; lean_object* v_env_19234_; lean_object* v_nextMacroScope_19235_; lean_object* v_ngen_19236_; lean_object* v_auxDeclNGen_19237_; lean_object* v_traceState_19238_; lean_object* v_cache_19239_; lean_object* v_messages_19240_; lean_object* v_snapshotTasks_19241_; lean_object* v___x_19243_; uint8_t v_isShared_19244_; uint8_t v_isSharedCheck_19264_; +v___x_19229_ = lean_st_ref_get(v___y_19227_); +v_infoState_19230_ = lean_ctor_get(v___x_19229_, 7); +lean_inc_ref(v_infoState_19230_); +lean_dec(v___x_19229_); +v_trees_19231_ = lean_ctor_get(v_infoState_19230_, 2); +lean_inc_ref(v_trees_19231_); +lean_dec_ref(v_infoState_19230_); +v___x_19232_ = lean_st_ref_take(v___y_19227_); +v_infoState_19233_ = lean_ctor_get(v___x_19232_, 7); +v_env_19234_ = lean_ctor_get(v___x_19232_, 0); +v_nextMacroScope_19235_ = lean_ctor_get(v___x_19232_, 1); +v_ngen_19236_ = lean_ctor_get(v___x_19232_, 2); +v_auxDeclNGen_19237_ = lean_ctor_get(v___x_19232_, 3); +v_traceState_19238_ = lean_ctor_get(v___x_19232_, 4); +v_cache_19239_ = lean_ctor_get(v___x_19232_, 5); +v_messages_19240_ = lean_ctor_get(v___x_19232_, 6); +v_snapshotTasks_19241_ = lean_ctor_get(v___x_19232_, 8); +v_isSharedCheck_19264_ = !lean_is_exclusive(v___x_19232_); +if (v_isSharedCheck_19264_ == 0) { -lean_object* v___x_19237_; lean_object* v_infoState_19238_; uint8_t v_enabled_19239_; -v___x_19237_ = lean_st_ref_get(v___y_19235_); -v_infoState_19238_ = lean_ctor_get(v___x_19237_, 7); -lean_inc_ref(v_infoState_19238_); -lean_dec(v___x_19237_); -v_enabled_19239_ = lean_ctor_get_uint8(v_infoState_19238_, sizeof(void*)*3); -lean_dec_ref(v_infoState_19238_); -if (v_enabled_19239_ == 0) -{ -lean_object* v___x_19240_; -lean_dec_ref(v_ctx_x3f_19229_); -v___x_19240_ = lean_apply_7(v_x_19228_, v___y_19230_, v___y_19231_, v___y_19232_, v___y_19233_, v___y_19234_, v___y_19235_, lean_box(0)); -return v___x_19240_; +v___x_19243_ = v___x_19232_; +v_isShared_19244_ = v_isSharedCheck_19264_; +goto v_resetjp_19242_; } else { -lean_object* v___x_19241_; lean_object* v_a_19242_; lean_object* v_r_19243_; -v___x_19241_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_19235_); -v_a_19242_ = lean_ctor_get(v___x_19241_, 0); -lean_inc(v_a_19242_); -lean_dec_ref(v___x_19241_); -lean_inc(v___y_19235_); -lean_inc_ref(v___y_19234_); -lean_inc(v___y_19233_); -lean_inc_ref(v___y_19232_); -lean_inc(v___y_19231_); -lean_inc_ref(v___y_19230_); -v_r_19243_ = lean_apply_7(v_x_19228_, v___y_19230_, v___y_19231_, v___y_19232_, v___y_19233_, v___y_19234_, v___y_19235_, lean_box(0)); -if (lean_obj_tag(v_r_19243_) == 0) +lean_inc(v_snapshotTasks_19241_); +lean_inc(v_infoState_19233_); +lean_inc(v_messages_19240_); +lean_inc(v_cache_19239_); +lean_inc(v_traceState_19238_); +lean_inc(v_auxDeclNGen_19237_); +lean_inc(v_ngen_19236_); +lean_inc(v_nextMacroScope_19235_); +lean_inc(v_env_19234_); +lean_dec(v___x_19232_); +v___x_19243_ = lean_box(0); +v_isShared_19244_ = v_isSharedCheck_19264_; +goto v_resetjp_19242_; +} +v_resetjp_19242_: { -lean_object* v_a_19244_; lean_object* v___x_19246_; uint8_t v_isShared_19247_; uint8_t v_isSharedCheck_19268_; -v_a_19244_ = lean_ctor_get(v_r_19243_, 0); -v_isSharedCheck_19268_ = !lean_is_exclusive(v_r_19243_); -if (v_isSharedCheck_19268_ == 0) +uint8_t v_enabled_19245_; lean_object* v_assignment_19246_; lean_object* v_lazyAssignment_19247_; lean_object* v___x_19249_; uint8_t v_isShared_19250_; uint8_t v_isSharedCheck_19262_; +v_enabled_19245_ = lean_ctor_get_uint8(v_infoState_19233_, sizeof(void*)*3); +v_assignment_19246_ = lean_ctor_get(v_infoState_19233_, 0); +v_lazyAssignment_19247_ = lean_ctor_get(v_infoState_19233_, 1); +v_isSharedCheck_19262_ = !lean_is_exclusive(v_infoState_19233_); +if (v_isSharedCheck_19262_ == 0) { -v___x_19246_ = v_r_19243_; -v_isShared_19247_ = v_isSharedCheck_19268_; -goto v_resetjp_19245_; +lean_object* v_unused_19263_; +v_unused_19263_ = lean_ctor_get(v_infoState_19233_, 2); +lean_dec(v_unused_19263_); +v___x_19249_ = v_infoState_19233_; +v_isShared_19250_ = v_isSharedCheck_19262_; +goto v_resetjp_19248_; } else { -lean_inc(v_a_19244_); -lean_dec(v_r_19243_); -v___x_19246_ = lean_box(0); -v_isShared_19247_ = v_isSharedCheck_19268_; -goto v_resetjp_19245_; +lean_inc(v_lazyAssignment_19247_); +lean_inc(v_assignment_19246_); +lean_dec(v_infoState_19233_); +v___x_19249_ = lean_box(0); +v_isShared_19250_ = v_isSharedCheck_19262_; +goto v_resetjp_19248_; } -v_resetjp_19245_: +v_resetjp_19248_: { -lean_object* v___x_19249_; -lean_inc(v_a_19244_); -if (v_isShared_19247_ == 0) +lean_object* v___x_19251_; lean_object* v___x_19252_; lean_object* v___x_19253_; lean_object* v___x_19255_; +v___x_19251_ = lean_unsigned_to_nat(32u); +v___x_19252_ = lean_mk_empty_array_with_capacity(v___x_19251_); +lean_dec_ref(v___x_19252_); +v___x_19253_ = lean_obj_once(&l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1, &l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1_once, _init_l_Lean_Elab_getResetInfoTrees___at___00Lean_Elab_withInfoTreeContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__7_spec__9___redArg___closed__1); +if (v_isShared_19250_ == 0) { -lean_ctor_set_tag(v___x_19246_, 1); -v___x_19249_ = v___x_19246_; -goto v_reusejp_19248_; -} -else -{ -lean_object* v_reuseFailAlloc_19267_; -v_reuseFailAlloc_19267_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19267_, 0, v_a_19244_); -v___x_19249_ = v_reuseFailAlloc_19267_; -goto v_reusejp_19248_; -} -v_reusejp_19248_: -{ -lean_object* v___x_19250_; -v___x_19250_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19235_, v_ctx_x3f_19229_, v___y_19230_, v___y_19231_, v___y_19232_, v___y_19233_, v___y_19234_, v_a_19242_, v___x_19249_); -lean_dec_ref(v___x_19249_); -if (lean_obj_tag(v___x_19250_) == 0) -{ -lean_object* v___x_19252_; uint8_t v_isShared_19253_; uint8_t v_isSharedCheck_19257_; -v_isSharedCheck_19257_ = !lean_is_exclusive(v___x_19250_); -if (v_isSharedCheck_19257_ == 0) -{ -lean_object* v_unused_19258_; -v_unused_19258_ = lean_ctor_get(v___x_19250_, 0); -lean_dec(v_unused_19258_); -v___x_19252_ = v___x_19250_; -v_isShared_19253_ = v_isSharedCheck_19257_; -goto v_resetjp_19251_; -} -else -{ -lean_dec(v___x_19250_); -v___x_19252_ = lean_box(0); -v_isShared_19253_ = v_isSharedCheck_19257_; -goto v_resetjp_19251_; -} -v_resetjp_19251_: -{ -lean_object* v___x_19255_; -if (v_isShared_19253_ == 0) -{ -lean_ctor_set(v___x_19252_, 0, v_a_19244_); -v___x_19255_ = v___x_19252_; +lean_ctor_set(v___x_19249_, 2, v___x_19253_); +v___x_19255_ = v___x_19249_; goto v_reusejp_19254_; } else { -lean_object* v_reuseFailAlloc_19256_; -v_reuseFailAlloc_19256_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19256_, 0, v_a_19244_); -v___x_19255_ = v_reuseFailAlloc_19256_; +lean_object* v_reuseFailAlloc_19261_; +v_reuseFailAlloc_19261_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_19261_, 0, v_assignment_19246_); +lean_ctor_set(v_reuseFailAlloc_19261_, 1, v_lazyAssignment_19247_); +lean_ctor_set(v_reuseFailAlloc_19261_, 2, v___x_19253_); +lean_ctor_set_uint8(v_reuseFailAlloc_19261_, sizeof(void*)*3, v_enabled_19245_); +v___x_19255_ = v_reuseFailAlloc_19261_; goto v_reusejp_19254_; } v_reusejp_19254_: { -return v___x_19255_; -} -} +lean_object* v___x_19257_; +if (v_isShared_19244_ == 0) +{ +lean_ctor_set(v___x_19243_, 7, v___x_19255_); +v___x_19257_ = v___x_19243_; +goto v_reusejp_19256_; } else { -lean_object* v_a_19259_; lean_object* v___x_19261_; uint8_t v_isShared_19262_; uint8_t v_isSharedCheck_19266_; -lean_dec(v_a_19244_); -v_a_19259_ = lean_ctor_get(v___x_19250_, 0); -v_isSharedCheck_19266_ = !lean_is_exclusive(v___x_19250_); -if (v_isSharedCheck_19266_ == 0) +lean_object* v_reuseFailAlloc_19260_; +v_reuseFailAlloc_19260_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_19260_, 0, v_env_19234_); +lean_ctor_set(v_reuseFailAlloc_19260_, 1, v_nextMacroScope_19235_); +lean_ctor_set(v_reuseFailAlloc_19260_, 2, v_ngen_19236_); +lean_ctor_set(v_reuseFailAlloc_19260_, 3, v_auxDeclNGen_19237_); +lean_ctor_set(v_reuseFailAlloc_19260_, 4, v_traceState_19238_); +lean_ctor_set(v_reuseFailAlloc_19260_, 5, v_cache_19239_); +lean_ctor_set(v_reuseFailAlloc_19260_, 6, v_messages_19240_); +lean_ctor_set(v_reuseFailAlloc_19260_, 7, v___x_19255_); +lean_ctor_set(v_reuseFailAlloc_19260_, 8, v_snapshotTasks_19241_); +v___x_19257_ = v_reuseFailAlloc_19260_; +goto v_reusejp_19256_; +} +v_reusejp_19256_: { -v___x_19261_ = v___x_19250_; -v_isShared_19262_ = v_isSharedCheck_19266_; -goto v_resetjp_19260_; -} -else -{ -lean_inc(v_a_19259_); -lean_dec(v___x_19250_); -v___x_19261_ = lean_box(0); -v_isShared_19262_ = v_isSharedCheck_19266_; -goto v_resetjp_19260_; -} -v_resetjp_19260_: -{ -lean_object* v___x_19264_; -if (v_isShared_19262_ == 0) -{ -v___x_19264_ = v___x_19261_; -goto v_reusejp_19263_; -} -else -{ -lean_object* v_reuseFailAlloc_19265_; -v_reuseFailAlloc_19265_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19265_, 0, v_a_19259_); -v___x_19264_ = v_reuseFailAlloc_19265_; -goto v_reusejp_19263_; -} -v_reusejp_19263_: -{ -return v___x_19264_; +lean_object* v___x_19258_; lean_object* v___x_19259_; +v___x_19258_ = lean_st_ref_set(v___y_19227_, v___x_19257_); +v___x_19259_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19259_, 0, v_trees_19231_); +return v___x_19259_; } } } } } } -else -{ -lean_object* v_a_19269_; lean_object* v___x_19270_; lean_object* v___x_19271_; -v_a_19269_ = lean_ctor_get(v_r_19243_, 0); -lean_inc(v_a_19269_); -lean_dec_ref(v_r_19243_); -v___x_19270_ = lean_box(0); -v___x_19271_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19235_, v_ctx_x3f_19229_, v___y_19230_, v___y_19231_, v___y_19232_, v___y_19233_, v___y_19234_, v_a_19242_, v___x_19270_); -if (lean_obj_tag(v___x_19271_) == 0) -{ -lean_object* v___x_19273_; uint8_t v_isShared_19274_; uint8_t v_isSharedCheck_19278_; -v_isSharedCheck_19278_ = !lean_is_exclusive(v___x_19271_); -if (v_isSharedCheck_19278_ == 0) -{ -lean_object* v_unused_19279_; -v_unused_19279_ = lean_ctor_get(v___x_19271_, 0); -lean_dec(v_unused_19279_); -v___x_19273_ = v___x_19271_; -v_isShared_19274_ = v_isSharedCheck_19278_; -goto v_resetjp_19272_; -} -else -{ -lean_dec(v___x_19271_); -v___x_19273_ = lean_box(0); -v_isShared_19274_ = v_isSharedCheck_19278_; -goto v_resetjp_19272_; -} -v_resetjp_19272_: -{ -lean_object* v___x_19276_; -if (v_isShared_19274_ == 0) -{ -lean_ctor_set_tag(v___x_19273_, 1); -lean_ctor_set(v___x_19273_, 0, v_a_19269_); -v___x_19276_ = v___x_19273_; -goto v_reusejp_19275_; -} -else -{ -lean_object* v_reuseFailAlloc_19277_; -v_reuseFailAlloc_19277_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19277_, 0, v_a_19269_); -v___x_19276_ = v_reuseFailAlloc_19277_; -goto v_reusejp_19275_; -} -v_reusejp_19275_: -{ -return v___x_19276_; -} -} -} -else -{ -lean_object* v_a_19280_; lean_object* v___x_19282_; uint8_t v_isShared_19283_; uint8_t v_isSharedCheck_19287_; -lean_dec(v_a_19269_); -v_a_19280_ = lean_ctor_get(v___x_19271_, 0); -v_isSharedCheck_19287_ = !lean_is_exclusive(v___x_19271_); -if (v_isSharedCheck_19287_ == 0) -{ -v___x_19282_ = v___x_19271_; -v_isShared_19283_ = v_isSharedCheck_19287_; -goto v_resetjp_19281_; -} -else -{ -lean_inc(v_a_19280_); -lean_dec(v___x_19271_); -v___x_19282_ = lean_box(0); -v_isShared_19283_ = v_isSharedCheck_19287_; -goto v_resetjp_19281_; -} -v_resetjp_19281_: -{ -lean_object* v___x_19285_; -if (v_isShared_19283_ == 0) -{ -v___x_19285_ = v___x_19282_; -goto v_reusejp_19284_; -} -else -{ -lean_object* v_reuseFailAlloc_19286_; -v_reuseFailAlloc_19286_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19286_, 0, v_a_19280_); -v___x_19285_ = v_reuseFailAlloc_19286_; -goto v_reusejp_19284_; -} -v_reusejp_19284_: -{ -return v___x_19285_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___boxed(lean_object* v_x_19288_, lean_object* v_ctx_x3f_19289_, lean_object* v___y_19290_, lean_object* v___y_19291_, lean_object* v___y_19292_, lean_object* v___y_19293_, lean_object* v___y_19294_, lean_object* v___y_19295_, lean_object* v___y_19296_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg___boxed(lean_object* v___y_19265_, lean_object* v___y_19266_){ _start: { -lean_object* v_res_19297_; -v_res_19297_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_19288_, v_ctx_x3f_19289_, v___y_19290_, v___y_19291_, v___y_19292_, v___y_19293_, v___y_19294_, v___y_19295_); -return v_res_19297_; +lean_object* v_res_19267_; +v_res_19267_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_19265_); +lean_dec(v___y_19265_); +return v_res_19267_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(lean_object* v___y_19298_, lean_object* v___y_19299_, lean_object* v___y_19300_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(lean_object* v_x_19268_, lean_object* v_ctx_x3f_19269_, lean_object* v___y_19270_, lean_object* v___y_19271_, lean_object* v___y_19272_, lean_object* v___y_19273_, lean_object* v___y_19274_, lean_object* v___y_19275_){ _start: { -lean_object* v___x_19302_; lean_object* v_env_19303_; lean_object* v___x_19304_; lean_object* v_mctx_19305_; lean_object* v_options_19306_; lean_object* v_currNamespace_19307_; lean_object* v_openDecls_19308_; lean_object* v___x_19309_; lean_object* v_ngen_19310_; lean_object* v___x_19311_; lean_object* v___x_19312_; lean_object* v___x_19313_; lean_object* v___x_19314_; -v___x_19302_ = lean_st_ref_get(v___y_19300_); -v_env_19303_ = lean_ctor_get(v___x_19302_, 0); -lean_inc_ref(v_env_19303_); -lean_dec(v___x_19302_); -v___x_19304_ = lean_st_ref_get(v___y_19298_); -v_mctx_19305_ = lean_ctor_get(v___x_19304_, 0); -lean_inc_ref(v_mctx_19305_); -lean_dec(v___x_19304_); -v_options_19306_ = lean_ctor_get(v___y_19299_, 2); -v_currNamespace_19307_ = lean_ctor_get(v___y_19299_, 6); -v_openDecls_19308_ = lean_ctor_get(v___y_19299_, 7); -v___x_19309_ = lean_st_ref_get(v___y_19300_); -v_ngen_19310_ = lean_ctor_get(v___x_19309_, 2); -lean_inc_ref(v_ngen_19310_); -lean_dec(v___x_19309_); -v___x_19311_ = lean_box(0); -v___x_19312_ = l_Lean_instInhabitedFileMap_default; -lean_inc(v_openDecls_19308_); -lean_inc(v_currNamespace_19307_); -lean_inc_ref(v_options_19306_); -v___x_19313_ = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(v___x_19313_, 0, v_env_19303_); -lean_ctor_set(v___x_19313_, 1, v___x_19311_); -lean_ctor_set(v___x_19313_, 2, v___x_19312_); -lean_ctor_set(v___x_19313_, 3, v_mctx_19305_); -lean_ctor_set(v___x_19313_, 4, v_options_19306_); -lean_ctor_set(v___x_19313_, 5, v_currNamespace_19307_); -lean_ctor_set(v___x_19313_, 6, v_openDecls_19308_); -lean_ctor_set(v___x_19313_, 7, v_ngen_19310_); -v___x_19314_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19314_, 0, v___x_19313_); -return v___x_19314_; +lean_object* v___x_19277_; lean_object* v_infoState_19278_; uint8_t v_enabled_19279_; +v___x_19277_ = lean_st_ref_get(v___y_19275_); +v_infoState_19278_ = lean_ctor_get(v___x_19277_, 7); +lean_inc_ref(v_infoState_19278_); +lean_dec(v___x_19277_); +v_enabled_19279_ = lean_ctor_get_uint8(v_infoState_19278_, sizeof(void*)*3); +lean_dec_ref(v_infoState_19278_); +if (v_enabled_19279_ == 0) +{ +lean_object* v___x_19280_; +lean_dec_ref(v_ctx_x3f_19269_); +v___x_19280_ = lean_apply_7(v_x_19268_, v___y_19270_, v___y_19271_, v___y_19272_, v___y_19273_, v___y_19274_, v___y_19275_, lean_box(0)); +return v___x_19280_; +} +else +{ +lean_object* v___x_19281_; lean_object* v_a_19282_; lean_object* v_r_19283_; +v___x_19281_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_19275_); +v_a_19282_ = lean_ctor_get(v___x_19281_, 0); +lean_inc(v_a_19282_); +lean_dec_ref(v___x_19281_); +lean_inc(v___y_19275_); +lean_inc_ref(v___y_19274_); +lean_inc(v___y_19273_); +lean_inc_ref(v___y_19272_); +lean_inc(v___y_19271_); +lean_inc_ref(v___y_19270_); +v_r_19283_ = lean_apply_7(v_x_19268_, v___y_19270_, v___y_19271_, v___y_19272_, v___y_19273_, v___y_19274_, v___y_19275_, lean_box(0)); +if (lean_obj_tag(v_r_19283_) == 0) +{ +lean_object* v_a_19284_; lean_object* v___x_19286_; uint8_t v_isShared_19287_; uint8_t v_isSharedCheck_19308_; +v_a_19284_ = lean_ctor_get(v_r_19283_, 0); +v_isSharedCheck_19308_ = !lean_is_exclusive(v_r_19283_); +if (v_isSharedCheck_19308_ == 0) +{ +v___x_19286_ = v_r_19283_; +v_isShared_19287_ = v_isSharedCheck_19308_; +goto v_resetjp_19285_; +} +else +{ +lean_inc(v_a_19284_); +lean_dec(v_r_19283_); +v___x_19286_ = lean_box(0); +v_isShared_19287_ = v_isSharedCheck_19308_; +goto v_resetjp_19285_; +} +v_resetjp_19285_: +{ +lean_object* v___x_19289_; +lean_inc(v_a_19284_); +if (v_isShared_19287_ == 0) +{ +lean_ctor_set_tag(v___x_19286_, 1); +v___x_19289_ = v___x_19286_; +goto v_reusejp_19288_; +} +else +{ +lean_object* v_reuseFailAlloc_19307_; +v_reuseFailAlloc_19307_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19307_, 0, v_a_19284_); +v___x_19289_ = v_reuseFailAlloc_19307_; +goto v_reusejp_19288_; +} +v_reusejp_19288_: +{ +lean_object* v___x_19290_; +v___x_19290_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19275_, v_ctx_x3f_19269_, v___y_19270_, v___y_19271_, v___y_19272_, v___y_19273_, v___y_19274_, v_a_19282_, v___x_19289_); +lean_dec_ref(v___x_19289_); +if (lean_obj_tag(v___x_19290_) == 0) +{ +lean_object* v___x_19292_; uint8_t v_isShared_19293_; uint8_t v_isSharedCheck_19297_; +v_isSharedCheck_19297_ = !lean_is_exclusive(v___x_19290_); +if (v_isSharedCheck_19297_ == 0) +{ +lean_object* v_unused_19298_; +v_unused_19298_ = lean_ctor_get(v___x_19290_, 0); +lean_dec(v_unused_19298_); +v___x_19292_ = v___x_19290_; +v_isShared_19293_ = v_isSharedCheck_19297_; +goto v_resetjp_19291_; +} +else +{ +lean_dec(v___x_19290_); +v___x_19292_ = lean_box(0); +v_isShared_19293_ = v_isSharedCheck_19297_; +goto v_resetjp_19291_; +} +v_resetjp_19291_: +{ +lean_object* v___x_19295_; +if (v_isShared_19293_ == 0) +{ +lean_ctor_set(v___x_19292_, 0, v_a_19284_); +v___x_19295_ = v___x_19292_; +goto v_reusejp_19294_; +} +else +{ +lean_object* v_reuseFailAlloc_19296_; +v_reuseFailAlloc_19296_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19296_, 0, v_a_19284_); +v___x_19295_ = v_reuseFailAlloc_19296_; +goto v_reusejp_19294_; +} +v_reusejp_19294_: +{ +return v___x_19295_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg___boxed(lean_object* v___y_19315_, lean_object* v___y_19316_, lean_object* v___y_19317_, lean_object* v___y_19318_){ +} +else +{ +lean_object* v_a_19299_; lean_object* v___x_19301_; uint8_t v_isShared_19302_; uint8_t v_isSharedCheck_19306_; +lean_dec(v_a_19284_); +v_a_19299_ = lean_ctor_get(v___x_19290_, 0); +v_isSharedCheck_19306_ = !lean_is_exclusive(v___x_19290_); +if (v_isSharedCheck_19306_ == 0) +{ +v___x_19301_ = v___x_19290_; +v_isShared_19302_ = v_isSharedCheck_19306_; +goto v_resetjp_19300_; +} +else +{ +lean_inc(v_a_19299_); +lean_dec(v___x_19290_); +v___x_19301_ = lean_box(0); +v_isShared_19302_ = v_isSharedCheck_19306_; +goto v_resetjp_19300_; +} +v_resetjp_19300_: +{ +lean_object* v___x_19304_; +if (v_isShared_19302_ == 0) +{ +v___x_19304_ = v___x_19301_; +goto v_reusejp_19303_; +} +else +{ +lean_object* v_reuseFailAlloc_19305_; +v_reuseFailAlloc_19305_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19305_, 0, v_a_19299_); +v___x_19304_ = v_reuseFailAlloc_19305_; +goto v_reusejp_19303_; +} +v_reusejp_19303_: +{ +return v___x_19304_; +} +} +} +} +} +} +else +{ +lean_object* v_a_19309_; lean_object* v___x_19310_; lean_object* v___x_19311_; +v_a_19309_ = lean_ctor_get(v_r_19283_, 0); +lean_inc(v_a_19309_); +lean_dec_ref(v_r_19283_); +v___x_19310_ = lean_box(0); +v___x_19311_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___lam__0(v___y_19275_, v_ctx_x3f_19269_, v___y_19270_, v___y_19271_, v___y_19272_, v___y_19273_, v___y_19274_, v_a_19282_, v___x_19310_); +if (lean_obj_tag(v___x_19311_) == 0) +{ +lean_object* v___x_19313_; uint8_t v_isShared_19314_; uint8_t v_isSharedCheck_19318_; +v_isSharedCheck_19318_ = !lean_is_exclusive(v___x_19311_); +if (v_isSharedCheck_19318_ == 0) +{ +lean_object* v_unused_19319_; +v_unused_19319_ = lean_ctor_get(v___x_19311_, 0); +lean_dec(v_unused_19319_); +v___x_19313_ = v___x_19311_; +v_isShared_19314_ = v_isSharedCheck_19318_; +goto v_resetjp_19312_; +} +else +{ +lean_dec(v___x_19311_); +v___x_19313_ = lean_box(0); +v_isShared_19314_ = v_isSharedCheck_19318_; +goto v_resetjp_19312_; +} +v_resetjp_19312_: +{ +lean_object* v___x_19316_; +if (v_isShared_19314_ == 0) +{ +lean_ctor_set_tag(v___x_19313_, 1); +lean_ctor_set(v___x_19313_, 0, v_a_19309_); +v___x_19316_ = v___x_19313_; +goto v_reusejp_19315_; +} +else +{ +lean_object* v_reuseFailAlloc_19317_; +v_reuseFailAlloc_19317_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19317_, 0, v_a_19309_); +v___x_19316_ = v_reuseFailAlloc_19317_; +goto v_reusejp_19315_; +} +v_reusejp_19315_: +{ +return v___x_19316_; +} +} +} +else +{ +lean_object* v_a_19320_; lean_object* v___x_19322_; uint8_t v_isShared_19323_; uint8_t v_isSharedCheck_19327_; +lean_dec(v_a_19309_); +v_a_19320_ = lean_ctor_get(v___x_19311_, 0); +v_isSharedCheck_19327_ = !lean_is_exclusive(v___x_19311_); +if (v_isSharedCheck_19327_ == 0) +{ +v___x_19322_ = v___x_19311_; +v_isShared_19323_ = v_isSharedCheck_19327_; +goto v_resetjp_19321_; +} +else +{ +lean_inc(v_a_19320_); +lean_dec(v___x_19311_); +v___x_19322_ = lean_box(0); +v_isShared_19323_ = v_isSharedCheck_19327_; +goto v_resetjp_19321_; +} +v_resetjp_19321_: +{ +lean_object* v___x_19325_; +if (v_isShared_19323_ == 0) +{ +v___x_19325_ = v___x_19322_; +goto v_reusejp_19324_; +} +else +{ +lean_object* v_reuseFailAlloc_19326_; +v_reuseFailAlloc_19326_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19326_, 0, v_a_19320_); +v___x_19325_ = v_reuseFailAlloc_19326_; +goto v_reusejp_19324_; +} +v_reusejp_19324_: +{ +return v___x_19325_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg___boxed(lean_object* v_x_19328_, lean_object* v_ctx_x3f_19329_, lean_object* v___y_19330_, lean_object* v___y_19331_, lean_object* v___y_19332_, lean_object* v___y_19333_, lean_object* v___y_19334_, lean_object* v___y_19335_, lean_object* v___y_19336_){ _start: { -lean_object* v_res_19319_; -v_res_19319_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_19315_, v___y_19316_, v___y_19317_); -lean_dec(v___y_19317_); -lean_dec_ref(v___y_19316_); -lean_dec(v___y_19315_); -return v_res_19319_; +lean_object* v_res_19337_; +v_res_19337_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_19328_, v_ctx_x3f_19329_, v___y_19330_, v___y_19331_, v___y_19332_, v___y_19333_, v___y_19334_, v___y_19335_); +return v_res_19337_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(lean_object* v___y_19320_, lean_object* v___y_19321_, lean_object* v___y_19322_, lean_object* v___y_19323_, lean_object* v___y_19324_, lean_object* v___y_19325_){ +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(lean_object* v___y_19338_, lean_object* v___y_19339_, lean_object* v___y_19340_){ _start: { -lean_object* v___x_19327_; lean_object* v_a_19328_; lean_object* v___x_19330_; uint8_t v_isShared_19331_; uint8_t v_isSharedCheck_19352_; -v___x_19327_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_19323_, v___y_19324_, v___y_19325_); -v_a_19328_ = lean_ctor_get(v___x_19327_, 0); -v_isSharedCheck_19352_ = !lean_is_exclusive(v___x_19327_); -if (v_isSharedCheck_19352_ == 0) -{ -v___x_19330_ = v___x_19327_; -v_isShared_19331_ = v_isSharedCheck_19352_; -goto v_resetjp_19329_; -} -else -{ -lean_inc(v_a_19328_); -lean_dec(v___x_19327_); -v___x_19330_ = lean_box(0); -v_isShared_19331_ = v_isSharedCheck_19352_; -goto v_resetjp_19329_; -} -v_resetjp_19329_: -{ -lean_object* v_fileMap_19332_; lean_object* v_env_19333_; lean_object* v_mctx_19334_; lean_object* v_options_19335_; lean_object* v_currNamespace_19336_; lean_object* v_openDecls_19337_; lean_object* v_ngen_19338_; lean_object* v___x_19340_; uint8_t v_isShared_19341_; uint8_t v_isSharedCheck_19349_; -v_fileMap_19332_ = lean_ctor_get(v___y_19324_, 1); -v_env_19333_ = lean_ctor_get(v_a_19328_, 0); -v_mctx_19334_ = lean_ctor_get(v_a_19328_, 3); -v_options_19335_ = lean_ctor_get(v_a_19328_, 4); -v_currNamespace_19336_ = lean_ctor_get(v_a_19328_, 5); -v_openDecls_19337_ = lean_ctor_get(v_a_19328_, 6); -v_ngen_19338_ = lean_ctor_get(v_a_19328_, 7); -v_isSharedCheck_19349_ = !lean_is_exclusive(v_a_19328_); -if (v_isSharedCheck_19349_ == 0) -{ -lean_object* v_unused_19350_; lean_object* v_unused_19351_; -v_unused_19350_ = lean_ctor_get(v_a_19328_, 2); -lean_dec(v_unused_19350_); -v_unused_19351_ = lean_ctor_get(v_a_19328_, 1); -lean_dec(v_unused_19351_); -v___x_19340_ = v_a_19328_; -v_isShared_19341_ = v_isSharedCheck_19349_; -goto v_resetjp_19339_; -} -else -{ -lean_inc(v_ngen_19338_); -lean_inc(v_openDecls_19337_); -lean_inc(v_currNamespace_19336_); -lean_inc(v_options_19335_); -lean_inc(v_mctx_19334_); -lean_inc(v_env_19333_); -lean_dec(v_a_19328_); -v___x_19340_ = lean_box(0); -v_isShared_19341_ = v_isSharedCheck_19349_; -goto v_resetjp_19339_; -} -v_resetjp_19339_: -{ -lean_object* v___x_19342_; lean_object* v___x_19344_; -v___x_19342_ = lean_box(0); -lean_inc_ref(v_fileMap_19332_); -if (v_isShared_19341_ == 0) -{ -lean_ctor_set(v___x_19340_, 2, v_fileMap_19332_); -lean_ctor_set(v___x_19340_, 1, v___x_19342_); -v___x_19344_ = v___x_19340_; -goto v_reusejp_19343_; -} -else -{ -lean_object* v_reuseFailAlloc_19348_; -v_reuseFailAlloc_19348_ = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(v_reuseFailAlloc_19348_, 0, v_env_19333_); -lean_ctor_set(v_reuseFailAlloc_19348_, 1, v___x_19342_); -lean_ctor_set(v_reuseFailAlloc_19348_, 2, v_fileMap_19332_); -lean_ctor_set(v_reuseFailAlloc_19348_, 3, v_mctx_19334_); -lean_ctor_set(v_reuseFailAlloc_19348_, 4, v_options_19335_); -lean_ctor_set(v_reuseFailAlloc_19348_, 5, v_currNamespace_19336_); -lean_ctor_set(v_reuseFailAlloc_19348_, 6, v_openDecls_19337_); -lean_ctor_set(v_reuseFailAlloc_19348_, 7, v_ngen_19338_); -v___x_19344_ = v_reuseFailAlloc_19348_; -goto v_reusejp_19343_; -} -v_reusejp_19343_: -{ -lean_object* v___x_19346_; -if (v_isShared_19331_ == 0) -{ -lean_ctor_set(v___x_19330_, 0, v___x_19344_); -v___x_19346_ = v___x_19330_; -goto v_reusejp_19345_; -} -else -{ -lean_object* v_reuseFailAlloc_19347_; -v_reuseFailAlloc_19347_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19347_, 0, v___x_19344_); -v___x_19346_ = v_reuseFailAlloc_19347_; -goto v_reusejp_19345_; -} -v_reusejp_19345_: -{ -return v___x_19346_; +lean_object* v___x_19342_; lean_object* v_env_19343_; lean_object* v___x_19344_; lean_object* v_mctx_19345_; lean_object* v_options_19346_; lean_object* v_currNamespace_19347_; lean_object* v_openDecls_19348_; lean_object* v___x_19349_; lean_object* v_ngen_19350_; lean_object* v___x_19351_; lean_object* v___x_19352_; lean_object* v___x_19353_; lean_object* v___x_19354_; +v___x_19342_ = lean_st_ref_get(v___y_19340_); +v_env_19343_ = lean_ctor_get(v___x_19342_, 0); +lean_inc_ref(v_env_19343_); +lean_dec(v___x_19342_); +v___x_19344_ = lean_st_ref_get(v___y_19338_); +v_mctx_19345_ = lean_ctor_get(v___x_19344_, 0); +lean_inc_ref(v_mctx_19345_); +lean_dec(v___x_19344_); +v_options_19346_ = lean_ctor_get(v___y_19339_, 2); +v_currNamespace_19347_ = lean_ctor_get(v___y_19339_, 6); +v_openDecls_19348_ = lean_ctor_get(v___y_19339_, 7); +v___x_19349_ = lean_st_ref_get(v___y_19340_); +v_ngen_19350_ = lean_ctor_get(v___x_19349_, 2); +lean_inc_ref(v_ngen_19350_); +lean_dec(v___x_19349_); +v___x_19351_ = lean_box(0); +v___x_19352_ = l_Lean_instInhabitedFileMap_default; +lean_inc(v_openDecls_19348_); +lean_inc(v_currNamespace_19347_); +lean_inc_ref(v_options_19346_); +v___x_19353_ = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(v___x_19353_, 0, v_env_19343_); +lean_ctor_set(v___x_19353_, 1, v___x_19351_); +lean_ctor_set(v___x_19353_, 2, v___x_19352_); +lean_ctor_set(v___x_19353_, 3, v_mctx_19345_); +lean_ctor_set(v___x_19353_, 4, v_options_19346_); +lean_ctor_set(v___x_19353_, 5, v_currNamespace_19347_); +lean_ctor_set(v___x_19353_, 6, v_openDecls_19348_); +lean_ctor_set(v___x_19353_, 7, v_ngen_19350_); +v___x_19354_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19354_, 0, v___x_19353_); +return v___x_19354_; } } -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16___boxed(lean_object* v___y_19353_, lean_object* v___y_19354_, lean_object* v___y_19355_, lean_object* v___y_19356_, lean_object* v___y_19357_, lean_object* v___y_19358_, lean_object* v___y_19359_){ +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg___boxed(lean_object* v___y_19355_, lean_object* v___y_19356_, lean_object* v___y_19357_, lean_object* v___y_19358_){ _start: { -lean_object* v_res_19360_; -v_res_19360_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_19353_, v___y_19354_, v___y_19355_, v___y_19356_, v___y_19357_, v___y_19358_); -lean_dec(v___y_19358_); -lean_dec_ref(v___y_19357_); -lean_dec(v___y_19356_); -lean_dec_ref(v___y_19355_); -lean_dec(v___y_19354_); -lean_dec_ref(v___y_19353_); -return v_res_19360_; +lean_object* v_res_19359_; +v_res_19359_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_19355_, v___y_19356_, v___y_19357_); +lean_dec(v___y_19357_); +lean_dec_ref(v___y_19356_); +lean_dec(v___y_19355_); +return v_res_19359_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0(lean_object* v___y_19361_, lean_object* v___y_19362_, lean_object* v___y_19363_, lean_object* v___y_19364_, lean_object* v___y_19365_, lean_object* v___y_19366_){ +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(lean_object* v___y_19360_, lean_object* v___y_19361_, lean_object* v___y_19362_, lean_object* v___y_19363_, lean_object* v___y_19364_, lean_object* v___y_19365_){ _start: { -lean_object* v___x_19368_; lean_object* v_a_19369_; lean_object* v___x_19371_; uint8_t v_isShared_19372_; uint8_t v_isSharedCheck_19378_; -v___x_19368_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_19361_, v___y_19362_, v___y_19363_, v___y_19364_, v___y_19365_, v___y_19366_); -v_a_19369_ = lean_ctor_get(v___x_19368_, 0); -v_isSharedCheck_19378_ = !lean_is_exclusive(v___x_19368_); -if (v_isSharedCheck_19378_ == 0) +lean_object* v___x_19367_; lean_object* v_a_19368_; lean_object* v___x_19370_; uint8_t v_isShared_19371_; uint8_t v_isSharedCheck_19392_; +v___x_19367_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_19363_, v___y_19364_, v___y_19365_); +v_a_19368_ = lean_ctor_get(v___x_19367_, 0); +v_isSharedCheck_19392_ = !lean_is_exclusive(v___x_19367_); +if (v_isSharedCheck_19392_ == 0) { -v___x_19371_ = v___x_19368_; -v_isShared_19372_ = v_isSharedCheck_19378_; -goto v_resetjp_19370_; +v___x_19370_ = v___x_19367_; +v_isShared_19371_ = v_isSharedCheck_19392_; +goto v_resetjp_19369_; } else { -lean_inc(v_a_19369_); -lean_dec(v___x_19368_); -v___x_19371_ = lean_box(0); -v_isShared_19372_ = v_isSharedCheck_19378_; -goto v_resetjp_19370_; +lean_inc(v_a_19368_); +lean_dec(v___x_19367_); +v___x_19370_ = lean_box(0); +v_isShared_19371_ = v_isSharedCheck_19392_; +goto v_resetjp_19369_; } -v_resetjp_19370_: +v_resetjp_19369_: { -lean_object* v___x_19373_; lean_object* v___x_19374_; lean_object* v___x_19376_; -v___x_19373_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19373_, 0, v_a_19369_); -v___x_19374_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_19374_, 0, v___x_19373_); -if (v_isShared_19372_ == 0) +lean_object* v_fileMap_19372_; lean_object* v_env_19373_; lean_object* v_mctx_19374_; lean_object* v_options_19375_; lean_object* v_currNamespace_19376_; lean_object* v_openDecls_19377_; lean_object* v_ngen_19378_; lean_object* v___x_19380_; uint8_t v_isShared_19381_; uint8_t v_isSharedCheck_19389_; +v_fileMap_19372_ = lean_ctor_get(v___y_19364_, 1); +v_env_19373_ = lean_ctor_get(v_a_19368_, 0); +v_mctx_19374_ = lean_ctor_get(v_a_19368_, 3); +v_options_19375_ = lean_ctor_get(v_a_19368_, 4); +v_currNamespace_19376_ = lean_ctor_get(v_a_19368_, 5); +v_openDecls_19377_ = lean_ctor_get(v_a_19368_, 6); +v_ngen_19378_ = lean_ctor_get(v_a_19368_, 7); +v_isSharedCheck_19389_ = !lean_is_exclusive(v_a_19368_); +if (v_isSharedCheck_19389_ == 0) { -lean_ctor_set(v___x_19371_, 0, v___x_19374_); -v___x_19376_ = v___x_19371_; -goto v_reusejp_19375_; +lean_object* v_unused_19390_; lean_object* v_unused_19391_; +v_unused_19390_ = lean_ctor_get(v_a_19368_, 2); +lean_dec(v_unused_19390_); +v_unused_19391_ = lean_ctor_get(v_a_19368_, 1); +lean_dec(v_unused_19391_); +v___x_19380_ = v_a_19368_; +v_isShared_19381_ = v_isSharedCheck_19389_; +goto v_resetjp_19379_; } else { -lean_object* v_reuseFailAlloc_19377_; -v_reuseFailAlloc_19377_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19377_, 0, v___x_19374_); -v___x_19376_ = v_reuseFailAlloc_19377_; -goto v_reusejp_19375_; +lean_inc(v_ngen_19378_); +lean_inc(v_openDecls_19377_); +lean_inc(v_currNamespace_19376_); +lean_inc(v_options_19375_); +lean_inc(v_mctx_19374_); +lean_inc(v_env_19373_); +lean_dec(v_a_19368_); +v___x_19380_ = lean_box(0); +v_isShared_19381_ = v_isSharedCheck_19389_; +goto v_resetjp_19379_; } -v_reusejp_19375_: +v_resetjp_19379_: { -return v___x_19376_; +lean_object* v___x_19382_; lean_object* v___x_19384_; +v___x_19382_ = lean_box(0); +lean_inc_ref(v_fileMap_19372_); +if (v_isShared_19381_ == 0) +{ +lean_ctor_set(v___x_19380_, 2, v_fileMap_19372_); +lean_ctor_set(v___x_19380_, 1, v___x_19382_); +v___x_19384_ = v___x_19380_; +goto v_reusejp_19383_; +} +else +{ +lean_object* v_reuseFailAlloc_19388_; +v_reuseFailAlloc_19388_ = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(v_reuseFailAlloc_19388_, 0, v_env_19373_); +lean_ctor_set(v_reuseFailAlloc_19388_, 1, v___x_19382_); +lean_ctor_set(v_reuseFailAlloc_19388_, 2, v_fileMap_19372_); +lean_ctor_set(v_reuseFailAlloc_19388_, 3, v_mctx_19374_); +lean_ctor_set(v_reuseFailAlloc_19388_, 4, v_options_19375_); +lean_ctor_set(v_reuseFailAlloc_19388_, 5, v_currNamespace_19376_); +lean_ctor_set(v_reuseFailAlloc_19388_, 6, v_openDecls_19377_); +lean_ctor_set(v_reuseFailAlloc_19388_, 7, v_ngen_19378_); +v___x_19384_ = v_reuseFailAlloc_19388_; +goto v_reusejp_19383_; +} +v_reusejp_19383_: +{ +lean_object* v___x_19386_; +if (v_isShared_19371_ == 0) +{ +lean_ctor_set(v___x_19370_, 0, v___x_19384_); +v___x_19386_ = v___x_19370_; +goto v_reusejp_19385_; +} +else +{ +lean_object* v_reuseFailAlloc_19387_; +v_reuseFailAlloc_19387_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19387_, 0, v___x_19384_); +v___x_19386_ = v_reuseFailAlloc_19387_; +goto v_reusejp_19385_; +} +v_reusejp_19385_: +{ +return v___x_19386_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0___boxed(lean_object* v___y_19379_, lean_object* v___y_19380_, lean_object* v___y_19381_, lean_object* v___y_19382_, lean_object* v___y_19383_, lean_object* v___y_19384_, lean_object* v___y_19385_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16___boxed(lean_object* v___y_19393_, lean_object* v___y_19394_, lean_object* v___y_19395_, lean_object* v___y_19396_, lean_object* v___y_19397_, lean_object* v___y_19398_, lean_object* v___y_19399_){ _start: { -lean_object* v_res_19386_; -v_res_19386_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0(v___y_19379_, v___y_19380_, v___y_19381_, v___y_19382_, v___y_19383_, v___y_19384_); -lean_dec(v___y_19384_); -lean_dec_ref(v___y_19383_); -lean_dec(v___y_19382_); -lean_dec_ref(v___y_19381_); -lean_dec(v___y_19380_); -lean_dec_ref(v___y_19379_); -return v_res_19386_; +lean_object* v_res_19400_; +v_res_19400_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_19393_, v___y_19394_, v___y_19395_, v___y_19396_, v___y_19397_, v___y_19398_); +lean_dec(v___y_19398_); +lean_dec_ref(v___y_19397_); +lean_dec(v___y_19396_); +lean_dec_ref(v___y_19395_); +lean_dec(v___y_19394_); +lean_dec_ref(v___y_19393_); +return v_res_19400_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(lean_object* v_x_19388_, lean_object* v___y_19389_, lean_object* v___y_19390_, lean_object* v___y_19391_, lean_object* v___y_19392_, lean_object* v___y_19393_, lean_object* v___y_19394_){ +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0(lean_object* v___y_19401_, lean_object* v___y_19402_, lean_object* v___y_19403_, lean_object* v___y_19404_, lean_object* v___y_19405_, lean_object* v___y_19406_){ _start: { -lean_object* v___f_19396_; lean_object* v___x_19397_; -v___f_19396_ = ((lean_object*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___closed__0)); -v___x_19397_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_19388_, v___f_19396_, v___y_19389_, v___y_19390_, v___y_19391_, v___y_19392_, v___y_19393_, v___y_19394_); -return v___x_19397_; +lean_object* v___x_19408_; lean_object* v_a_19409_; lean_object* v___x_19411_; uint8_t v_isShared_19412_; uint8_t v_isSharedCheck_19418_; +v___x_19408_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_19401_, v___y_19402_, v___y_19403_, v___y_19404_, v___y_19405_, v___y_19406_); +v_a_19409_ = lean_ctor_get(v___x_19408_, 0); +v_isSharedCheck_19418_ = !lean_is_exclusive(v___x_19408_); +if (v_isSharedCheck_19418_ == 0) +{ +v___x_19411_ = v___x_19408_; +v_isShared_19412_ = v_isSharedCheck_19418_; +goto v_resetjp_19410_; +} +else +{ +lean_inc(v_a_19409_); +lean_dec(v___x_19408_); +v___x_19411_ = lean_box(0); +v_isShared_19412_ = v_isSharedCheck_19418_; +goto v_resetjp_19410_; +} +v_resetjp_19410_: +{ +lean_object* v___x_19413_; lean_object* v___x_19414_; lean_object* v___x_19416_; +v___x_19413_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19413_, 0, v_a_19409_); +v___x_19414_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_19414_, 0, v___x_19413_); +if (v_isShared_19412_ == 0) +{ +lean_ctor_set(v___x_19411_, 0, v___x_19414_); +v___x_19416_ = v___x_19411_; +goto v_reusejp_19415_; +} +else +{ +lean_object* v_reuseFailAlloc_19417_; +v_reuseFailAlloc_19417_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19417_, 0, v___x_19414_); +v___x_19416_ = v_reuseFailAlloc_19417_; +goto v_reusejp_19415_; +} +v_reusejp_19415_: +{ +return v___x_19416_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___boxed(lean_object* v_x_19398_, lean_object* v___y_19399_, lean_object* v___y_19400_, lean_object* v___y_19401_, lean_object* v___y_19402_, lean_object* v___y_19403_, lean_object* v___y_19404_, lean_object* v___y_19405_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0___boxed(lean_object* v___y_19419_, lean_object* v___y_19420_, lean_object* v___y_19421_, lean_object* v___y_19422_, lean_object* v___y_19423_, lean_object* v___y_19424_, lean_object* v___y_19425_){ _start: { -lean_object* v_res_19406_; -v_res_19406_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v_x_19398_, v___y_19399_, v___y_19400_, v___y_19401_, v___y_19402_, v___y_19403_, v___y_19404_); -return v_res_19406_; +lean_object* v_res_19426_; +v_res_19426_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___lam__0(v___y_19419_, v___y_19420_, v___y_19421_, v___y_19422_, v___y_19423_, v___y_19424_); +lean_dec(v___y_19424_); +lean_dec_ref(v___y_19423_); +lean_dec(v___y_19422_); +lean_dec_ref(v___y_19421_); +lean_dec(v___y_19420_); +lean_dec_ref(v___y_19419_); +return v_res_19426_; } } -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(lean_object* v_o_19407_, lean_object* v_k_19408_, uint8_t v_v_19409_){ +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(lean_object* v_x_19428_, lean_object* v___y_19429_, lean_object* v___y_19430_, lean_object* v___y_19431_, lean_object* v___y_19432_, lean_object* v___y_19433_, lean_object* v___y_19434_){ _start: { -lean_object* v_map_19410_; uint8_t v_hasTrace_19411_; lean_object* v___x_19413_; uint8_t v_isShared_19414_; uint8_t v_isSharedCheck_19425_; -v_map_19410_ = lean_ctor_get(v_o_19407_, 0); -v_hasTrace_19411_ = lean_ctor_get_uint8(v_o_19407_, sizeof(void*)*1); -v_isSharedCheck_19425_ = !lean_is_exclusive(v_o_19407_); -if (v_isSharedCheck_19425_ == 0) -{ -v___x_19413_ = v_o_19407_; -v_isShared_19414_ = v_isSharedCheck_19425_; -goto v_resetjp_19412_; -} -else -{ -lean_inc(v_map_19410_); -lean_dec(v_o_19407_); -v___x_19413_ = lean_box(0); -v_isShared_19414_ = v_isSharedCheck_19425_; -goto v_resetjp_19412_; -} -v_resetjp_19412_: -{ -lean_object* v___x_19415_; lean_object* v___x_19416_; -v___x_19415_ = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(v___x_19415_, 0, v_v_19409_); -lean_inc(v_k_19408_); -v___x_19416_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_19408_, v___x_19415_, v_map_19410_); -if (v_hasTrace_19411_ == 0) -{ -lean_object* v___x_19417_; uint8_t v___x_19418_; lean_object* v___x_19420_; -v___x_19417_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__1)); -v___x_19418_ = l_Lean_Name_isPrefixOf(v___x_19417_, v_k_19408_); -lean_dec(v_k_19408_); -if (v_isShared_19414_ == 0) -{ -lean_ctor_set(v___x_19413_, 0, v___x_19416_); -v___x_19420_ = v___x_19413_; -goto v_reusejp_19419_; -} -else -{ -lean_object* v_reuseFailAlloc_19421_; -v_reuseFailAlloc_19421_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_19421_, 0, v___x_19416_); -v___x_19420_ = v_reuseFailAlloc_19421_; -goto v_reusejp_19419_; -} -v_reusejp_19419_: -{ -lean_ctor_set_uint8(v___x_19420_, sizeof(void*)*1, v___x_19418_); -return v___x_19420_; +lean_object* v___f_19436_; lean_object* v___x_19437_; +v___f_19436_ = ((lean_object*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___closed__0)); +v___x_19437_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_19428_, v___f_19436_, v___y_19429_, v___y_19430_, v___y_19431_, v___y_19432_, v___y_19433_, v___y_19434_); +return v___x_19437_; } } -else -{ -lean_object* v___x_19423_; -lean_dec(v_k_19408_); -if (v_isShared_19414_ == 0) -{ -lean_ctor_set(v___x_19413_, 0, v___x_19416_); -v___x_19423_ = v___x_19413_; -goto v_reusejp_19422_; -} -else -{ -lean_object* v_reuseFailAlloc_19424_; -v_reuseFailAlloc_19424_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_19424_, 0, v___x_19416_); -lean_ctor_set_uint8(v_reuseFailAlloc_19424_, sizeof(void*)*1, v_hasTrace_19411_); -v___x_19423_ = v_reuseFailAlloc_19424_; -goto v_reusejp_19422_; -} -v_reusejp_19422_: -{ -return v___x_19423_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19___boxed(lean_object* v_o_19426_, lean_object* v_k_19427_, lean_object* v_v_19428_){ +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg___boxed(lean_object* v_x_19438_, lean_object* v___y_19439_, lean_object* v___y_19440_, lean_object* v___y_19441_, lean_object* v___y_19442_, lean_object* v___y_19443_, lean_object* v___y_19444_, lean_object* v___y_19445_){ _start: { -uint8_t v_v_boxed_19429_; lean_object* v_res_19430_; -v_v_boxed_19429_ = lean_unbox(v_v_19428_); -v_res_19430_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(v_o_19426_, v_k_19427_, v_v_boxed_19429_); -return v_res_19430_; +lean_object* v_res_19446_; +v_res_19446_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v_x_19438_, v___y_19439_, v___y_19440_, v___y_19441_, v___y_19442_, v___y_19443_, v___y_19444_); +return v_res_19446_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(lean_object* v_opts_19431_, lean_object* v_opt_19432_, uint8_t v_val_19433_){ +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(lean_object* v_o_19447_, lean_object* v_k_19448_, uint8_t v_v_19449_){ _start: { -lean_object* v_name_19434_; lean_object* v___x_19435_; -v_name_19434_ = lean_ctor_get(v_opt_19432_, 0); -lean_inc(v_name_19434_); -lean_dec_ref(v_opt_19432_); -v___x_19435_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(v_opts_19431_, v_name_19434_, v_val_19433_); -return v___x_19435_; +lean_object* v_map_19450_; uint8_t v_hasTrace_19451_; lean_object* v___x_19453_; uint8_t v_isShared_19454_; uint8_t v_isSharedCheck_19465_; +v_map_19450_ = lean_ctor_get(v_o_19447_, 0); +v_hasTrace_19451_ = lean_ctor_get_uint8(v_o_19447_, sizeof(void*)*1); +v_isSharedCheck_19465_ = !lean_is_exclusive(v_o_19447_); +if (v_isSharedCheck_19465_ == 0) +{ +v___x_19453_ = v_o_19447_; +v_isShared_19454_ = v_isSharedCheck_19465_; +goto v_resetjp_19452_; +} +else +{ +lean_inc(v_map_19450_); +lean_dec(v_o_19447_); +v___x_19453_ = lean_box(0); +v_isShared_19454_ = v_isSharedCheck_19465_; +goto v_resetjp_19452_; +} +v_resetjp_19452_: +{ +lean_object* v___x_19455_; lean_object* v___x_19456_; +v___x_19455_ = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(v___x_19455_, 0, v_v_19449_); +lean_inc(v_k_19448_); +v___x_19456_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_19448_, v___x_19455_, v_map_19450_); +if (v_hasTrace_19451_ == 0) +{ +lean_object* v___x_19457_; uint8_t v___x_19458_; lean_object* v___x_19460_; +v___x_19457_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__1)); +v___x_19458_ = l_Lean_Name_isPrefixOf(v___x_19457_, v_k_19448_); +lean_dec(v_k_19448_); +if (v_isShared_19454_ == 0) +{ +lean_ctor_set(v___x_19453_, 0, v___x_19456_); +v___x_19460_ = v___x_19453_; +goto v_reusejp_19459_; +} +else +{ +lean_object* v_reuseFailAlloc_19461_; +v_reuseFailAlloc_19461_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_19461_, 0, v___x_19456_); +v___x_19460_ = v_reuseFailAlloc_19461_; +goto v_reusejp_19459_; +} +v_reusejp_19459_: +{ +lean_ctor_set_uint8(v___x_19460_, sizeof(void*)*1, v___x_19458_); +return v___x_19460_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15___boxed(lean_object* v_opts_19436_, lean_object* v_opt_19437_, lean_object* v_val_19438_){ +else +{ +lean_object* v___x_19463_; +lean_dec(v_k_19448_); +if (v_isShared_19454_ == 0) +{ +lean_ctor_set(v___x_19453_, 0, v___x_19456_); +v___x_19463_ = v___x_19453_; +goto v_reusejp_19462_; +} +else +{ +lean_object* v_reuseFailAlloc_19464_; +v_reuseFailAlloc_19464_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_19464_, 0, v___x_19456_); +lean_ctor_set_uint8(v_reuseFailAlloc_19464_, sizeof(void*)*1, v_hasTrace_19451_); +v___x_19463_ = v_reuseFailAlloc_19464_; +goto v_reusejp_19462_; +} +v_reusejp_19462_: +{ +return v___x_19463_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19___boxed(lean_object* v_o_19466_, lean_object* v_k_19467_, lean_object* v_v_19468_){ _start: { -uint8_t v_val_boxed_19439_; lean_object* v_res_19440_; -v_val_boxed_19439_ = lean_unbox(v_val_19438_); -v_res_19440_ = l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(v_opts_19436_, v_opt_19437_, v_val_boxed_19439_); -return v_res_19440_; +uint8_t v_v_boxed_19469_; lean_object* v_res_19470_; +v_v_boxed_19469_ = lean_unbox(v_v_19468_); +v_res_19470_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(v_o_19466_, v_k_19467_, v_v_boxed_19469_); +return v_res_19470_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3(lean_object* v___f_19441_, lean_object* v___x_19442_, lean_object* v___x_19443_, lean_object* v_headers_19444_, size_t v___x_19445_, lean_object* v___y_19446_, lean_object* v___y_19447_, lean_object* v___y_19448_, lean_object* v___y_19449_, lean_object* v___y_19450_, lean_object* v___y_19451_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(lean_object* v_opts_19471_, lean_object* v_opt_19472_, uint8_t v_val_19473_){ _start: { -uint8_t v___y_19454_; lean_object* v___y_19455_; lean_object* v_fileName_19456_; lean_object* v_fileMap_19457_; lean_object* v_currRecDepth_19458_; lean_object* v_ref_19459_; lean_object* v_currNamespace_19460_; lean_object* v_openDecls_19461_; lean_object* v_initHeartbeats_19462_; lean_object* v_maxHeartbeats_19463_; lean_object* v_quotContext_19464_; lean_object* v_currMacroScope_19465_; lean_object* v_cancelTk_x3f_19466_; uint8_t v_suppressElabErrors_19467_; lean_object* v_inheritedTraceOptions_19468_; lean_object* v___y_19469_; lean_object* v___x_19474_; lean_object* v_fileName_19475_; lean_object* v_fileMap_19476_; lean_object* v_options_19477_; lean_object* v_currRecDepth_19478_; lean_object* v_ref_19479_; lean_object* v_currNamespace_19480_; lean_object* v_openDecls_19481_; lean_object* v_initHeartbeats_19482_; lean_object* v_maxHeartbeats_19483_; lean_object* v_quotContext_19484_; lean_object* v_currMacroScope_19485_; lean_object* v_cancelTk_x3f_19486_; uint8_t v_suppressElabErrors_19487_; lean_object* v_inheritedTraceOptions_19488_; uint8_t v___y_19490_; lean_object* v___y_19491_; uint8_t v___y_19492_; lean_object* v___y_19514_; uint8_t v___x_19519_; -v___x_19474_ = lean_st_ref_get(v___y_19451_); -v_fileName_19475_ = lean_ctor_get(v___y_19450_, 0); -lean_inc_ref(v_fileName_19475_); -v_fileMap_19476_ = lean_ctor_get(v___y_19450_, 1); -lean_inc_ref(v_fileMap_19476_); -v_options_19477_ = lean_ctor_get(v___y_19450_, 2); -lean_inc_ref(v_options_19477_); -v_currRecDepth_19478_ = lean_ctor_get(v___y_19450_, 3); -lean_inc(v_currRecDepth_19478_); -v_ref_19479_ = lean_ctor_get(v___y_19450_, 5); -lean_inc(v_ref_19479_); -v_currNamespace_19480_ = lean_ctor_get(v___y_19450_, 6); -lean_inc(v_currNamespace_19480_); -v_openDecls_19481_ = lean_ctor_get(v___y_19450_, 7); -lean_inc(v_openDecls_19481_); -v_initHeartbeats_19482_ = lean_ctor_get(v___y_19450_, 8); -lean_inc(v_initHeartbeats_19482_); -v_maxHeartbeats_19483_ = lean_ctor_get(v___y_19450_, 9); -lean_inc(v_maxHeartbeats_19483_); -v_quotContext_19484_ = lean_ctor_get(v___y_19450_, 10); -lean_inc(v_quotContext_19484_); -v_currMacroScope_19485_ = lean_ctor_get(v___y_19450_, 11); -lean_inc(v_currMacroScope_19485_); -v_cancelTk_x3f_19486_ = lean_ctor_get(v___y_19450_, 12); -lean_inc(v_cancelTk_x3f_19486_); -v_suppressElabErrors_19487_ = lean_ctor_get_uint8(v___y_19450_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_19488_ = lean_ctor_get(v___y_19450_, 13); -lean_inc_ref(v_inheritedTraceOptions_19488_); -lean_dec_ref(v___y_19450_); -v___x_19519_ = lean_nat_dec_lt(v___x_19442_, v___x_19443_); -if (v___x_19519_ == 0) -{ -v___y_19514_ = v_options_19477_; -goto v___jp_19513_; -} -else -{ -if (v___x_19519_ == 0) -{ -v___y_19514_ = v_options_19477_; -goto v___jp_19513_; -} -else -{ -size_t v___x_19520_; uint8_t v___x_19521_; -v___x_19520_ = lean_usize_of_nat(v___x_19443_); -v___x_19521_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_headers_19444_, v___x_19445_, v___x_19520_); -if (v___x_19521_ == 0) -{ -v___y_19514_ = v_options_19477_; -goto v___jp_19513_; -} -else -{ -lean_object* v___x_19522_; uint8_t v___x_19523_; lean_object* v___x_19524_; -v___x_19522_ = l_Lean_ResolveName_backward_privateInPublic; -v___x_19523_ = 0; -v___x_19524_ = l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(v_options_19477_, v___x_19522_, v___x_19523_); -v___y_19514_ = v___x_19524_; -goto v___jp_19513_; +lean_object* v_name_19474_; lean_object* v___x_19475_; +v_name_19474_ = lean_ctor_get(v_opt_19472_, 0); +lean_inc(v_name_19474_); +lean_dec_ref(v_opt_19472_); +v___x_19475_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15_spec__19(v_opts_19471_, v_name_19474_, v_val_19473_); +return v___x_19475_; } } -} -v___jp_19453_: -{ -lean_object* v___x_19470_; lean_object* v___x_19471_; lean_object* v___x_19472_; lean_object* v___x_19473_; -v___x_19470_ = l_Lean_maxRecDepth; -v___x_19471_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__6_spec__11(v___y_19455_, v___x_19470_); -v___x_19472_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_19472_, 0, v_fileName_19456_); -lean_ctor_set(v___x_19472_, 1, v_fileMap_19457_); -lean_ctor_set(v___x_19472_, 2, v___y_19455_); -lean_ctor_set(v___x_19472_, 3, v_currRecDepth_19458_); -lean_ctor_set(v___x_19472_, 4, v___x_19471_); -lean_ctor_set(v___x_19472_, 5, v_ref_19459_); -lean_ctor_set(v___x_19472_, 6, v_currNamespace_19460_); -lean_ctor_set(v___x_19472_, 7, v_openDecls_19461_); -lean_ctor_set(v___x_19472_, 8, v_initHeartbeats_19462_); -lean_ctor_set(v___x_19472_, 9, v_maxHeartbeats_19463_); -lean_ctor_set(v___x_19472_, 10, v_quotContext_19464_); -lean_ctor_set(v___x_19472_, 11, v_currMacroScope_19465_); -lean_ctor_set(v___x_19472_, 12, v_cancelTk_x3f_19466_); -lean_ctor_set(v___x_19472_, 13, v_inheritedTraceOptions_19468_); -lean_ctor_set_uint8(v___x_19472_, sizeof(void*)*14, v___y_19454_); -lean_ctor_set_uint8(v___x_19472_, sizeof(void*)*14 + 1, v_suppressElabErrors_19467_); -v___x_19473_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v___f_19441_, v___y_19446_, v___y_19447_, v___y_19448_, v___y_19449_, v___x_19472_, v___y_19469_); -return v___x_19473_; -} -v___jp_19489_: -{ -if (v___y_19492_ == 0) -{ -lean_object* v___x_19493_; lean_object* v_env_19494_; lean_object* v_nextMacroScope_19495_; lean_object* v_ngen_19496_; lean_object* v_auxDeclNGen_19497_; lean_object* v_traceState_19498_; lean_object* v_messages_19499_; lean_object* v_infoState_19500_; lean_object* v_snapshotTasks_19501_; lean_object* v___x_19503_; uint8_t v_isShared_19504_; uint8_t v_isSharedCheck_19511_; -v___x_19493_ = lean_st_ref_take(v___y_19451_); -v_env_19494_ = lean_ctor_get(v___x_19493_, 0); -v_nextMacroScope_19495_ = lean_ctor_get(v___x_19493_, 1); -v_ngen_19496_ = lean_ctor_get(v___x_19493_, 2); -v_auxDeclNGen_19497_ = lean_ctor_get(v___x_19493_, 3); -v_traceState_19498_ = lean_ctor_get(v___x_19493_, 4); -v_messages_19499_ = lean_ctor_get(v___x_19493_, 6); -v_infoState_19500_ = lean_ctor_get(v___x_19493_, 7); -v_snapshotTasks_19501_ = lean_ctor_get(v___x_19493_, 8); -v_isSharedCheck_19511_ = !lean_is_exclusive(v___x_19493_); -if (v_isSharedCheck_19511_ == 0) -{ -lean_object* v_unused_19512_; -v_unused_19512_ = lean_ctor_get(v___x_19493_, 5); -lean_dec(v_unused_19512_); -v___x_19503_ = v___x_19493_; -v_isShared_19504_ = v_isSharedCheck_19511_; -goto v_resetjp_19502_; -} -else -{ -lean_inc(v_snapshotTasks_19501_); -lean_inc(v_infoState_19500_); -lean_inc(v_messages_19499_); -lean_inc(v_traceState_19498_); -lean_inc(v_auxDeclNGen_19497_); -lean_inc(v_ngen_19496_); -lean_inc(v_nextMacroScope_19495_); -lean_inc(v_env_19494_); -lean_dec(v___x_19493_); -v___x_19503_ = lean_box(0); -v_isShared_19504_ = v_isSharedCheck_19511_; -goto v_resetjp_19502_; -} -v_resetjp_19502_: -{ -lean_object* v___x_19505_; lean_object* v___x_19506_; lean_object* v___x_19508_; -v___x_19505_ = l_Lean_Kernel_enableDiag(v_env_19494_, v___y_19490_); -v___x_19506_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_19504_ == 0) -{ -lean_ctor_set(v___x_19503_, 5, v___x_19506_); -lean_ctor_set(v___x_19503_, 0, v___x_19505_); -v___x_19508_ = v___x_19503_; -goto v_reusejp_19507_; -} -else -{ -lean_object* v_reuseFailAlloc_19510_; -v_reuseFailAlloc_19510_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_19510_, 0, v___x_19505_); -lean_ctor_set(v_reuseFailAlloc_19510_, 1, v_nextMacroScope_19495_); -lean_ctor_set(v_reuseFailAlloc_19510_, 2, v_ngen_19496_); -lean_ctor_set(v_reuseFailAlloc_19510_, 3, v_auxDeclNGen_19497_); -lean_ctor_set(v_reuseFailAlloc_19510_, 4, v_traceState_19498_); -lean_ctor_set(v_reuseFailAlloc_19510_, 5, v___x_19506_); -lean_ctor_set(v_reuseFailAlloc_19510_, 6, v_messages_19499_); -lean_ctor_set(v_reuseFailAlloc_19510_, 7, v_infoState_19500_); -lean_ctor_set(v_reuseFailAlloc_19510_, 8, v_snapshotTasks_19501_); -v___x_19508_ = v_reuseFailAlloc_19510_; -goto v_reusejp_19507_; -} -v_reusejp_19507_: -{ -lean_object* v___x_19509_; -v___x_19509_ = lean_st_ref_set(v___y_19451_, v___x_19508_); -v___y_19454_ = v___y_19490_; -v___y_19455_ = v___y_19491_; -v_fileName_19456_ = v_fileName_19475_; -v_fileMap_19457_ = v_fileMap_19476_; -v_currRecDepth_19458_ = v_currRecDepth_19478_; -v_ref_19459_ = v_ref_19479_; -v_currNamespace_19460_ = v_currNamespace_19480_; -v_openDecls_19461_ = v_openDecls_19481_; -v_initHeartbeats_19462_ = v_initHeartbeats_19482_; -v_maxHeartbeats_19463_ = v_maxHeartbeats_19483_; -v_quotContext_19464_ = v_quotContext_19484_; -v_currMacroScope_19465_ = v_currMacroScope_19485_; -v_cancelTk_x3f_19466_ = v_cancelTk_x3f_19486_; -v_suppressElabErrors_19467_ = v_suppressElabErrors_19487_; -v_inheritedTraceOptions_19468_ = v_inheritedTraceOptions_19488_; -v___y_19469_ = v___y_19451_; -goto v___jp_19453_; -} -} -} -else -{ -v___y_19454_ = v___y_19490_; -v___y_19455_ = v___y_19491_; -v_fileName_19456_ = v_fileName_19475_; -v_fileMap_19457_ = v_fileMap_19476_; -v_currRecDepth_19458_ = v_currRecDepth_19478_; -v_ref_19459_ = v_ref_19479_; -v_currNamespace_19460_ = v_currNamespace_19480_; -v_openDecls_19461_ = v_openDecls_19481_; -v_initHeartbeats_19462_ = v_initHeartbeats_19482_; -v_maxHeartbeats_19463_ = v_maxHeartbeats_19483_; -v_quotContext_19464_ = v_quotContext_19484_; -v_currMacroScope_19465_ = v_currMacroScope_19485_; -v_cancelTk_x3f_19466_ = v_cancelTk_x3f_19486_; -v_suppressElabErrors_19467_ = v_suppressElabErrors_19487_; -v_inheritedTraceOptions_19468_ = v_inheritedTraceOptions_19488_; -v___y_19469_ = v___y_19451_; -goto v___jp_19453_; -} -} -v___jp_19513_: -{ -lean_object* v_env_19515_; lean_object* v___x_19516_; uint8_t v___x_19517_; uint8_t v___x_19518_; -v_env_19515_ = lean_ctor_get(v___x_19474_, 0); -lean_inc_ref(v_env_19515_); -lean_dec(v___x_19474_); -v___x_19516_ = l_Lean_diagnostics; -v___x_19517_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v___y_19514_, v___x_19516_); -v___x_19518_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_19515_); -lean_dec_ref(v_env_19515_); -if (v___x_19518_ == 0) -{ -if (v___x_19517_ == 0) -{ -v___y_19454_ = v___x_19517_; -v___y_19455_ = v___y_19514_; -v_fileName_19456_ = v_fileName_19475_; -v_fileMap_19457_ = v_fileMap_19476_; -v_currRecDepth_19458_ = v_currRecDepth_19478_; -v_ref_19459_ = v_ref_19479_; -v_currNamespace_19460_ = v_currNamespace_19480_; -v_openDecls_19461_ = v_openDecls_19481_; -v_initHeartbeats_19462_ = v_initHeartbeats_19482_; -v_maxHeartbeats_19463_ = v_maxHeartbeats_19483_; -v_quotContext_19464_ = v_quotContext_19484_; -v_currMacroScope_19465_ = v_currMacroScope_19485_; -v_cancelTk_x3f_19466_ = v_cancelTk_x3f_19486_; -v_suppressElabErrors_19467_ = v_suppressElabErrors_19487_; -v_inheritedTraceOptions_19468_ = v_inheritedTraceOptions_19488_; -v___y_19469_ = v___y_19451_; -goto v___jp_19453_; -} -else -{ -v___y_19490_ = v___x_19517_; -v___y_19491_ = v___y_19514_; -v___y_19492_ = v___x_19518_; -goto v___jp_19489_; -} -} -else -{ -v___y_19490_ = v___x_19517_; -v___y_19491_ = v___y_19514_; -v___y_19492_ = v___x_19517_; -goto v___jp_19489_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3___boxed(lean_object* v___f_19525_, lean_object* v___x_19526_, lean_object* v___x_19527_, lean_object* v_headers_19528_, lean_object* v___x_19529_, lean_object* v___y_19530_, lean_object* v___y_19531_, lean_object* v___y_19532_, lean_object* v___y_19533_, lean_object* v___y_19534_, lean_object* v___y_19535_, lean_object* v___y_19536_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15___boxed(lean_object* v_opts_19476_, lean_object* v_opt_19477_, lean_object* v_val_19478_){ _start: { -size_t v___x_45790__boxed_19537_; lean_object* v_res_19538_; -v___x_45790__boxed_19537_ = lean_unbox_usize(v___x_19529_); -lean_dec(v___x_19529_); -v_res_19538_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3(v___f_19525_, v___x_19526_, v___x_19527_, v_headers_19528_, v___x_45790__boxed_19537_, v___y_19530_, v___y_19531_, v___y_19532_, v___y_19533_, v___y_19534_, v___y_19535_); -lean_dec_ref(v_headers_19528_); -lean_dec(v___x_19527_); -lean_dec(v___x_19526_); -return v_res_19538_; +uint8_t v_val_boxed_19479_; lean_object* v_res_19480_; +v_val_boxed_19479_ = lean_unbox(v_val_19478_); +v_res_19480_ = l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(v_opts_19476_, v_opt_19477_, v_val_boxed_19479_); +return v_res_19480_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3(lean_object* v___f_19481_, lean_object* v___x_19482_, lean_object* v___x_19483_, lean_object* v_headers_19484_, size_t v___x_19485_, lean_object* v___y_19486_, lean_object* v___y_19487_, lean_object* v___y_19488_, lean_object* v___y_19489_, lean_object* v___y_19490_, lean_object* v___y_19491_){ +_start: +{ +lean_object* v___y_19494_; uint8_t v___y_19495_; lean_object* v_fileName_19496_; lean_object* v_fileMap_19497_; lean_object* v_currRecDepth_19498_; lean_object* v_ref_19499_; lean_object* v_currNamespace_19500_; lean_object* v_openDecls_19501_; lean_object* v_initHeartbeats_19502_; lean_object* v_maxHeartbeats_19503_; lean_object* v_quotContext_19504_; lean_object* v_currMacroScope_19505_; lean_object* v_cancelTk_x3f_19506_; uint8_t v_suppressElabErrors_19507_; lean_object* v_inheritedTraceOptions_19508_; lean_object* v___y_19509_; lean_object* v___x_19514_; lean_object* v_fileName_19515_; lean_object* v_fileMap_19516_; lean_object* v_options_19517_; lean_object* v_currRecDepth_19518_; lean_object* v_ref_19519_; lean_object* v_currNamespace_19520_; lean_object* v_openDecls_19521_; lean_object* v_initHeartbeats_19522_; lean_object* v_maxHeartbeats_19523_; lean_object* v_quotContext_19524_; lean_object* v_currMacroScope_19525_; lean_object* v_cancelTk_x3f_19526_; uint8_t v_suppressElabErrors_19527_; lean_object* v_inheritedTraceOptions_19528_; lean_object* v___y_19530_; uint8_t v___y_19531_; uint8_t v___y_19532_; lean_object* v___y_19554_; uint8_t v___x_19559_; +v___x_19514_ = lean_st_ref_get(v___y_19491_); +v_fileName_19515_ = lean_ctor_get(v___y_19490_, 0); +lean_inc_ref(v_fileName_19515_); +v_fileMap_19516_ = lean_ctor_get(v___y_19490_, 1); +lean_inc_ref(v_fileMap_19516_); +v_options_19517_ = lean_ctor_get(v___y_19490_, 2); +lean_inc_ref(v_options_19517_); +v_currRecDepth_19518_ = lean_ctor_get(v___y_19490_, 3); +lean_inc(v_currRecDepth_19518_); +v_ref_19519_ = lean_ctor_get(v___y_19490_, 5); +lean_inc(v_ref_19519_); +v_currNamespace_19520_ = lean_ctor_get(v___y_19490_, 6); +lean_inc(v_currNamespace_19520_); +v_openDecls_19521_ = lean_ctor_get(v___y_19490_, 7); +lean_inc(v_openDecls_19521_); +v_initHeartbeats_19522_ = lean_ctor_get(v___y_19490_, 8); +lean_inc(v_initHeartbeats_19522_); +v_maxHeartbeats_19523_ = lean_ctor_get(v___y_19490_, 9); +lean_inc(v_maxHeartbeats_19523_); +v_quotContext_19524_ = lean_ctor_get(v___y_19490_, 10); +lean_inc(v_quotContext_19524_); +v_currMacroScope_19525_ = lean_ctor_get(v___y_19490_, 11); +lean_inc(v_currMacroScope_19525_); +v_cancelTk_x3f_19526_ = lean_ctor_get(v___y_19490_, 12); +lean_inc(v_cancelTk_x3f_19526_); +v_suppressElabErrors_19527_ = lean_ctor_get_uint8(v___y_19490_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_19528_ = lean_ctor_get(v___y_19490_, 13); +lean_inc_ref(v_inheritedTraceOptions_19528_); +lean_dec_ref(v___y_19490_); +v___x_19559_ = lean_nat_dec_lt(v___x_19482_, v___x_19483_); +if (v___x_19559_ == 0) +{ +v___y_19554_ = v_options_19517_; +goto v___jp_19553_; +} +else +{ +if (v___x_19559_ == 0) +{ +v___y_19554_ = v_options_19517_; +goto v___jp_19553_; +} +else +{ +size_t v___x_19560_; uint8_t v___x_19561_; +v___x_19560_ = lean_usize_of_nat(v___x_19483_); +v___x_19561_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_Term_MutualClosure_getKindForLetRecs_spec__0(v_headers_19484_, v___x_19485_, v___x_19560_); +if (v___x_19561_ == 0) +{ +v___y_19554_ = v_options_19517_; +goto v___jp_19553_; +} +else +{ +lean_object* v___x_19562_; uint8_t v___x_19563_; lean_object* v___x_19564_; +v___x_19562_ = l_Lean_ResolveName_backward_privateInPublic; +v___x_19563_ = 0; +v___x_19564_ = l_Lean_Option_set___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__15(v_options_19517_, v___x_19562_, v___x_19563_); +v___y_19554_ = v___x_19564_; +goto v___jp_19553_; +} +} +} +v___jp_19493_: +{ +lean_object* v___x_19510_; lean_object* v___x_19511_; lean_object* v___x_19512_; lean_object* v___x_19513_; +v___x_19510_ = l_Lean_maxRecDepth; +v___x_19511_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__6_spec__11(v___y_19494_, v___x_19510_); +v___x_19512_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_19512_, 0, v_fileName_19496_); +lean_ctor_set(v___x_19512_, 1, v_fileMap_19497_); +lean_ctor_set(v___x_19512_, 2, v___y_19494_); +lean_ctor_set(v___x_19512_, 3, v_currRecDepth_19498_); +lean_ctor_set(v___x_19512_, 4, v___x_19511_); +lean_ctor_set(v___x_19512_, 5, v_ref_19499_); +lean_ctor_set(v___x_19512_, 6, v_currNamespace_19500_); +lean_ctor_set(v___x_19512_, 7, v_openDecls_19501_); +lean_ctor_set(v___x_19512_, 8, v_initHeartbeats_19502_); +lean_ctor_set(v___x_19512_, 9, v_maxHeartbeats_19503_); +lean_ctor_set(v___x_19512_, 10, v_quotContext_19504_); +lean_ctor_set(v___x_19512_, 11, v_currMacroScope_19505_); +lean_ctor_set(v___x_19512_, 12, v_cancelTk_x3f_19506_); +lean_ctor_set(v___x_19512_, 13, v_inheritedTraceOptions_19508_); +lean_ctor_set_uint8(v___x_19512_, sizeof(void*)*14, v___y_19495_); +lean_ctor_set_uint8(v___x_19512_, sizeof(void*)*14 + 1, v_suppressElabErrors_19507_); +v___x_19513_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v___f_19481_, v___y_19486_, v___y_19487_, v___y_19488_, v___y_19489_, v___x_19512_, v___y_19509_); +return v___x_19513_; +} +v___jp_19529_: +{ +if (v___y_19532_ == 0) +{ +lean_object* v___x_19533_; lean_object* v_env_19534_; lean_object* v_nextMacroScope_19535_; lean_object* v_ngen_19536_; lean_object* v_auxDeclNGen_19537_; lean_object* v_traceState_19538_; lean_object* v_messages_19539_; lean_object* v_infoState_19540_; lean_object* v_snapshotTasks_19541_; lean_object* v___x_19543_; uint8_t v_isShared_19544_; uint8_t v_isSharedCheck_19551_; +v___x_19533_ = lean_st_ref_take(v___y_19491_); +v_env_19534_ = lean_ctor_get(v___x_19533_, 0); +v_nextMacroScope_19535_ = lean_ctor_get(v___x_19533_, 1); +v_ngen_19536_ = lean_ctor_get(v___x_19533_, 2); +v_auxDeclNGen_19537_ = lean_ctor_get(v___x_19533_, 3); +v_traceState_19538_ = lean_ctor_get(v___x_19533_, 4); +v_messages_19539_ = lean_ctor_get(v___x_19533_, 6); +v_infoState_19540_ = lean_ctor_get(v___x_19533_, 7); +v_snapshotTasks_19541_ = lean_ctor_get(v___x_19533_, 8); +v_isSharedCheck_19551_ = !lean_is_exclusive(v___x_19533_); +if (v_isSharedCheck_19551_ == 0) +{ +lean_object* v_unused_19552_; +v_unused_19552_ = lean_ctor_get(v___x_19533_, 5); +lean_dec(v_unused_19552_); +v___x_19543_ = v___x_19533_; +v_isShared_19544_ = v_isSharedCheck_19551_; +goto v_resetjp_19542_; +} +else +{ +lean_inc(v_snapshotTasks_19541_); +lean_inc(v_infoState_19540_); +lean_inc(v_messages_19539_); +lean_inc(v_traceState_19538_); +lean_inc(v_auxDeclNGen_19537_); +lean_inc(v_ngen_19536_); +lean_inc(v_nextMacroScope_19535_); +lean_inc(v_env_19534_); +lean_dec(v___x_19533_); +v___x_19543_ = lean_box(0); +v_isShared_19544_ = v_isSharedCheck_19551_; +goto v_resetjp_19542_; +} +v_resetjp_19542_: +{ +lean_object* v___x_19545_; lean_object* v___x_19546_; lean_object* v___x_19548_; +v___x_19545_ = l_Lean_Kernel_enableDiag(v_env_19534_, v___y_19531_); +v___x_19546_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_19544_ == 0) +{ +lean_ctor_set(v___x_19543_, 5, v___x_19546_); +lean_ctor_set(v___x_19543_, 0, v___x_19545_); +v___x_19548_ = v___x_19543_; +goto v_reusejp_19547_; +} +else +{ +lean_object* v_reuseFailAlloc_19550_; +v_reuseFailAlloc_19550_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_19550_, 0, v___x_19545_); +lean_ctor_set(v_reuseFailAlloc_19550_, 1, v_nextMacroScope_19535_); +lean_ctor_set(v_reuseFailAlloc_19550_, 2, v_ngen_19536_); +lean_ctor_set(v_reuseFailAlloc_19550_, 3, v_auxDeclNGen_19537_); +lean_ctor_set(v_reuseFailAlloc_19550_, 4, v_traceState_19538_); +lean_ctor_set(v_reuseFailAlloc_19550_, 5, v___x_19546_); +lean_ctor_set(v_reuseFailAlloc_19550_, 6, v_messages_19539_); +lean_ctor_set(v_reuseFailAlloc_19550_, 7, v_infoState_19540_); +lean_ctor_set(v_reuseFailAlloc_19550_, 8, v_snapshotTasks_19541_); +v___x_19548_ = v_reuseFailAlloc_19550_; +goto v_reusejp_19547_; +} +v_reusejp_19547_: +{ +lean_object* v___x_19549_; +v___x_19549_ = lean_st_ref_set(v___y_19491_, v___x_19548_); +v___y_19494_ = v___y_19530_; +v___y_19495_ = v___y_19531_; +v_fileName_19496_ = v_fileName_19515_; +v_fileMap_19497_ = v_fileMap_19516_; +v_currRecDepth_19498_ = v_currRecDepth_19518_; +v_ref_19499_ = v_ref_19519_; +v_currNamespace_19500_ = v_currNamespace_19520_; +v_openDecls_19501_ = v_openDecls_19521_; +v_initHeartbeats_19502_ = v_initHeartbeats_19522_; +v_maxHeartbeats_19503_ = v_maxHeartbeats_19523_; +v_quotContext_19504_ = v_quotContext_19524_; +v_currMacroScope_19505_ = v_currMacroScope_19525_; +v_cancelTk_x3f_19506_ = v_cancelTk_x3f_19526_; +v_suppressElabErrors_19507_ = v_suppressElabErrors_19527_; +v_inheritedTraceOptions_19508_ = v_inheritedTraceOptions_19528_; +v___y_19509_ = v___y_19491_; +goto v___jp_19493_; +} +} +} +else +{ +v___y_19494_ = v___y_19530_; +v___y_19495_ = v___y_19531_; +v_fileName_19496_ = v_fileName_19515_; +v_fileMap_19497_ = v_fileMap_19516_; +v_currRecDepth_19498_ = v_currRecDepth_19518_; +v_ref_19499_ = v_ref_19519_; +v_currNamespace_19500_ = v_currNamespace_19520_; +v_openDecls_19501_ = v_openDecls_19521_; +v_initHeartbeats_19502_ = v_initHeartbeats_19522_; +v_maxHeartbeats_19503_ = v_maxHeartbeats_19523_; +v_quotContext_19504_ = v_quotContext_19524_; +v_currMacroScope_19505_ = v_currMacroScope_19525_; +v_cancelTk_x3f_19506_ = v_cancelTk_x3f_19526_; +v_suppressElabErrors_19507_ = v_suppressElabErrors_19527_; +v_inheritedTraceOptions_19508_ = v_inheritedTraceOptions_19528_; +v___y_19509_ = v___y_19491_; +goto v___jp_19493_; +} +} +v___jp_19553_: +{ +lean_object* v_env_19555_; lean_object* v___x_19556_; uint8_t v___x_19557_; uint8_t v___x_19558_; +v_env_19555_ = lean_ctor_get(v___x_19514_, 0); +lean_inc_ref(v_env_19555_); +lean_dec(v___x_19514_); +v___x_19556_ = l_Lean_diagnostics; +v___x_19557_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v___y_19554_, v___x_19556_); +v___x_19558_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_19555_); +lean_dec_ref(v_env_19555_); +if (v___x_19558_ == 0) +{ +if (v___x_19557_ == 0) +{ +v___y_19494_ = v___y_19554_; +v___y_19495_ = v___x_19557_; +v_fileName_19496_ = v_fileName_19515_; +v_fileMap_19497_ = v_fileMap_19516_; +v_currRecDepth_19498_ = v_currRecDepth_19518_; +v_ref_19499_ = v_ref_19519_; +v_currNamespace_19500_ = v_currNamespace_19520_; +v_openDecls_19501_ = v_openDecls_19521_; +v_initHeartbeats_19502_ = v_initHeartbeats_19522_; +v_maxHeartbeats_19503_ = v_maxHeartbeats_19523_; +v_quotContext_19504_ = v_quotContext_19524_; +v_currMacroScope_19505_ = v_currMacroScope_19525_; +v_cancelTk_x3f_19506_ = v_cancelTk_x3f_19526_; +v_suppressElabErrors_19507_ = v_suppressElabErrors_19527_; +v_inheritedTraceOptions_19508_ = v_inheritedTraceOptions_19528_; +v___y_19509_ = v___y_19491_; +goto v___jp_19493_; +} +else +{ +v___y_19530_ = v___y_19554_; +v___y_19531_ = v___x_19557_; +v___y_19532_ = v___x_19558_; +goto v___jp_19529_; +} +} +else +{ +v___y_19530_ = v___y_19554_; +v___y_19531_ = v___x_19557_; +v___y_19532_ = v___x_19557_; +goto v___jp_19529_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3___boxed(lean_object* v___f_19565_, lean_object* v___x_19566_, lean_object* v___x_19567_, lean_object* v_headers_19568_, lean_object* v___x_19569_, lean_object* v___y_19570_, lean_object* v___y_19571_, lean_object* v___y_19572_, lean_object* v___y_19573_, lean_object* v___y_19574_, lean_object* v___y_19575_, lean_object* v___y_19576_){ +_start: +{ +size_t v___x_45790__boxed_19577_; lean_object* v_res_19578_; +v___x_45790__boxed_19577_ = lean_unbox_usize(v___x_19569_); +lean_dec(v___x_19569_); +v_res_19578_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3(v___f_19565_, v___x_19566_, v___x_19567_, v_headers_19568_, v___x_45790__boxed_19577_, v___y_19570_, v___y_19571_, v___y_19572_, v___y_19573_, v___y_19574_, v___y_19575_); +lean_dec_ref(v_headers_19568_); +lean_dec(v___x_19567_); +lean_dec(v___x_19566_); +return v_res_19578_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1(void){ _start: { -lean_object* v___x_19540_; lean_object* v___x_19541_; -v___x_19540_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__0)); -v___x_19541_ = l_Lean_stringToMessageData(v___x_19540_); -return v___x_19541_; +lean_object* v___x_19580_; lean_object* v___x_19581_; +v___x_19580_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__0)); +v___x_19581_ = l_Lean_stringToMessageData(v___x_19580_); +return v___x_19581_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(lean_object* v_as_19542_, size_t v_sz_19543_, size_t v_i_19544_, lean_object* v_b_19545_, lean_object* v___y_19546_, lean_object* v___y_19547_, lean_object* v___y_19548_, lean_object* v___y_19549_, lean_object* v___y_19550_, lean_object* v___y_19551_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(lean_object* v_as_19582_, size_t v_sz_19583_, size_t v_i_19584_, lean_object* v_b_19585_, lean_object* v___y_19586_, lean_object* v___y_19587_, lean_object* v___y_19588_, lean_object* v___y_19589_, lean_object* v___y_19590_, lean_object* v___y_19591_){ _start: { -lean_object* v_a_19554_; uint8_t v___x_19558_; -v___x_19558_ = lean_usize_dec_lt(v_i_19544_, v_sz_19543_); -if (v___x_19558_ == 0) +lean_object* v_a_19594_; uint8_t v___x_19598_; +v___x_19598_ = lean_usize_dec_lt(v_i_19584_, v_sz_19583_); +if (v___x_19598_ == 0) { -lean_object* v___x_19559_; -lean_dec_ref(v___y_19550_); -v___x_19559_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19559_, 0, v_b_19545_); -return v___x_19559_; -} -else -{ -lean_object* v_a_19560_; lean_object* v_name_19561_; lean_object* v_stx_19562_; lean_object* v___x_19563_; lean_object* v___x_19564_; uint8_t v___x_19565_; -v_a_19560_ = lean_array_uget_borrowed(v_as_19542_, v_i_19544_); -v_name_19561_ = lean_ctor_get(v_a_19560_, 0); -v_stx_19562_ = lean_ctor_get(v_a_19560_, 1); -v___x_19563_ = lean_box(0); -v___x_19564_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); -v___x_19565_ = lean_name_eq(v_name_19561_, v___x_19564_); -if (v___x_19565_ == 0) -{ -v_a_19554_ = v___x_19563_; -goto v___jp_19553_; -} -else -{ -lean_object* v___x_19566_; lean_object* v___x_19567_; -v___x_19566_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1); -lean_inc_ref(v___y_19550_); -v___x_19567_ = l_Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5(v_stx_19562_, v___x_19566_, v___y_19546_, v___y_19547_, v___y_19548_, v___y_19549_, v___y_19550_, v___y_19551_); -if (lean_obj_tag(v___x_19567_) == 0) -{ -lean_dec_ref(v___x_19567_); -v_a_19554_ = v___x_19563_; -goto v___jp_19553_; -} -else -{ -lean_dec_ref(v___y_19550_); -return v___x_19567_; -} -} -} -v___jp_19553_: -{ -size_t v___x_19555_; size_t v___x_19556_; -v___x_19555_ = ((size_t)1ULL); -v___x_19556_ = lean_usize_add(v_i_19544_, v___x_19555_); -v_i_19544_ = v___x_19556_; -v_b_19545_ = v_a_19554_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___boxed(lean_object* v_as_19568_, lean_object* v_sz_19569_, lean_object* v_i_19570_, lean_object* v_b_19571_, lean_object* v___y_19572_, lean_object* v___y_19573_, lean_object* v___y_19574_, lean_object* v___y_19575_, lean_object* v___y_19576_, lean_object* v___y_19577_, lean_object* v___y_19578_){ -_start: -{ -size_t v_sz_boxed_19579_; size_t v_i_boxed_19580_; lean_object* v_res_19581_; -v_sz_boxed_19579_ = lean_unbox_usize(v_sz_19569_); -lean_dec(v_sz_19569_); -v_i_boxed_19580_ = lean_unbox_usize(v_i_19570_); -lean_dec(v_i_19570_); -v_res_19581_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(v_as_19568_, v_sz_boxed_19579_, v_i_boxed_19580_, v_b_19571_, v___y_19572_, v___y_19573_, v___y_19574_, v___y_19575_, v___y_19576_, v___y_19577_); -lean_dec(v___y_19577_); -lean_dec(v___y_19575_); -lean_dec_ref(v___y_19574_); -lean_dec(v___y_19573_); -lean_dec_ref(v___y_19572_); -lean_dec_ref(v_as_19568_); -return v_res_19581_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(lean_object* v_as_19582_, size_t v_sz_19583_, size_t v_i_19584_, lean_object* v_b_19585_, lean_object* v___y_19586_, lean_object* v___y_19587_, lean_object* v___y_19588_, lean_object* v___y_19589_, lean_object* v___y_19590_, lean_object* v___y_19591_){ -_start: -{ -uint8_t v___x_19593_; -v___x_19593_ = lean_usize_dec_lt(v_i_19584_, v_sz_19583_); -if (v___x_19593_ == 0) -{ -lean_object* v___x_19594_; +lean_object* v___x_19599_; lean_dec_ref(v___y_19590_); -v___x_19594_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19594_, 0, v_b_19585_); -return v___x_19594_; +v___x_19599_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19599_, 0, v_b_19585_); +return v___x_19599_; } else { -lean_object* v_a_19595_; lean_object* v_toDefView_19596_; lean_object* v_modifiers_19597_; lean_object* v_attrs_19598_; lean_object* v___x_19599_; size_t v_sz_19600_; size_t v___x_19601_; lean_object* v___x_19602_; -v_a_19595_ = lean_array_uget_borrowed(v_as_19582_, v_i_19584_); -v_toDefView_19596_ = lean_ctor_get(v_a_19595_, 0); -v_modifiers_19597_ = lean_ctor_get(v_toDefView_19596_, 2); -v_attrs_19598_ = lean_ctor_get(v_modifiers_19597_, 2); -v___x_19599_ = lean_box(0); -v_sz_19600_ = lean_array_size(v_attrs_19598_); -v___x_19601_ = ((size_t)0ULL); +lean_object* v_a_19600_; lean_object* v_name_19601_; lean_object* v_stx_19602_; lean_object* v___x_19603_; lean_object* v___x_19604_; uint8_t v___x_19605_; +v_a_19600_ = lean_array_uget_borrowed(v_as_19582_, v_i_19584_); +v_name_19601_ = lean_ctor_get(v_a_19600_, 0); +v_stx_19602_ = lean_ctor_get(v_a_19600_, 1); +v___x_19603_ = lean_box(0); +v___x_19604_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); +v___x_19605_ = lean_name_eq(v_name_19601_, v___x_19604_); +if (v___x_19605_ == 0) +{ +v_a_19594_ = v___x_19603_; +goto v___jp_19593_; +} +else +{ +lean_object* v___x_19606_; lean_object* v___x_19607_; +v___x_19606_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___closed__1); lean_inc_ref(v___y_19590_); -v___x_19602_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(v_attrs_19598_, v_sz_19600_, v___x_19601_, v___x_19599_, v___y_19586_, v___y_19587_, v___y_19588_, v___y_19589_, v___y_19590_, v___y_19591_); -if (lean_obj_tag(v___x_19602_) == 0) +v___x_19607_ = l_Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5(v_stx_19602_, v___x_19606_, v___y_19586_, v___y_19587_, v___y_19588_, v___y_19589_, v___y_19590_, v___y_19591_); +if (lean_obj_tag(v___x_19607_) == 0) { -size_t v___x_19603_; size_t v___x_19604_; -lean_dec_ref(v___x_19602_); -v___x_19603_ = ((size_t)1ULL); -v___x_19604_ = lean_usize_add(v_i_19584_, v___x_19603_); -v_i_19584_ = v___x_19604_; -v_b_19585_ = v___x_19599_; -goto _start; +lean_dec_ref(v___x_19607_); +v_a_19594_ = v___x_19603_; +goto v___jp_19593_; } else { lean_dec_ref(v___y_19590_); -return v___x_19602_; +return v___x_19607_; } } } +v___jp_19593_: +{ +size_t v___x_19595_; size_t v___x_19596_; +v___x_19595_ = ((size_t)1ULL); +v___x_19596_ = lean_usize_add(v_i_19584_, v___x_19595_); +v_i_19584_ = v___x_19596_; +v_b_19585_ = v_a_19594_; +goto _start; } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18___boxed(lean_object* v_as_19606_, lean_object* v_sz_19607_, lean_object* v_i_19608_, lean_object* v_b_19609_, lean_object* v___y_19610_, lean_object* v___y_19611_, lean_object* v___y_19612_, lean_object* v___y_19613_, lean_object* v___y_19614_, lean_object* v___y_19615_, lean_object* v___y_19616_){ +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17___boxed(lean_object* v_as_19608_, lean_object* v_sz_19609_, lean_object* v_i_19610_, lean_object* v_b_19611_, lean_object* v___y_19612_, lean_object* v___y_19613_, lean_object* v___y_19614_, lean_object* v___y_19615_, lean_object* v___y_19616_, lean_object* v___y_19617_, lean_object* v___y_19618_){ _start: { -size_t v_sz_boxed_19617_; size_t v_i_boxed_19618_; lean_object* v_res_19619_; -v_sz_boxed_19617_ = lean_unbox_usize(v_sz_19607_); -lean_dec(v_sz_19607_); -v_i_boxed_19618_ = lean_unbox_usize(v_i_19608_); -lean_dec(v_i_19608_); -v_res_19619_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(v_as_19606_, v_sz_boxed_19617_, v_i_boxed_19618_, v_b_19609_, v___y_19610_, v___y_19611_, v___y_19612_, v___y_19613_, v___y_19614_, v___y_19615_); +size_t v_sz_boxed_19619_; size_t v_i_boxed_19620_; lean_object* v_res_19621_; +v_sz_boxed_19619_ = lean_unbox_usize(v_sz_19609_); +lean_dec(v_sz_19609_); +v_i_boxed_19620_ = lean_unbox_usize(v_i_19610_); +lean_dec(v_i_19610_); +v_res_19621_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(v_as_19608_, v_sz_boxed_19619_, v_i_boxed_19620_, v_b_19611_, v___y_19612_, v___y_19613_, v___y_19614_, v___y_19615_, v___y_19616_, v___y_19617_); +lean_dec(v___y_19617_); lean_dec(v___y_19615_); +lean_dec_ref(v___y_19614_); lean_dec(v___y_19613_); lean_dec_ref(v___y_19612_); -lean_dec(v___y_19611_); -lean_dec_ref(v___y_19610_); -lean_dec_ref(v_as_19606_); -return v_res_19619_; +lean_dec_ref(v_as_19608_); +return v_res_19621_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(lean_object* v_as_19626_, size_t v_i_19627_, size_t v_stop_19628_, lean_object* v_b_19629_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(lean_object* v_as_19622_, size_t v_sz_19623_, size_t v_i_19624_, lean_object* v_b_19625_, lean_object* v___y_19626_, lean_object* v___y_19627_, lean_object* v___y_19628_, lean_object* v___y_19629_, lean_object* v___y_19630_, lean_object* v___y_19631_){ _start: { -lean_object* v___y_19631_; uint8_t v___x_19635_; -v___x_19635_ = lean_usize_dec_eq(v_i_19627_, v_stop_19628_); -if (v___x_19635_ == 0) +uint8_t v___x_19633_; +v___x_19633_ = lean_usize_dec_lt(v_i_19624_, v_sz_19623_); +if (v___x_19633_ == 0) { -lean_object* v___x_19636_; lean_object* v_name_19637_; lean_object* v___x_19638_; lean_object* v___x_19639_; uint8_t v___x_19640_; -v___x_19636_ = lean_array_uget_borrowed(v_as_19626_, v_i_19627_); -v_name_19637_ = lean_ctor_get(v___x_19636_, 0); -v___x_19638_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__0)); -v___x_19639_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3___closed__1)); -lean_inc(v_name_19637_); -v___x_19640_ = l_List_elem___redArg(v___x_19638_, v_name_19637_, v___x_19639_); -if (v___x_19640_ == 0) -{ -lean_object* v___x_19641_; -lean_inc(v___x_19636_); -v___x_19641_ = lean_array_push(v_b_19629_, v___x_19636_); -v___y_19631_ = v___x_19641_; -goto v___jp_19630_; +lean_object* v___x_19634_; +lean_dec_ref(v___y_19630_); +v___x_19634_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19634_, 0, v_b_19625_); +return v___x_19634_; } else { -v___y_19631_ = v_b_19629_; -goto v___jp_19630_; -} -} -else +lean_object* v_a_19635_; lean_object* v_toDefView_19636_; lean_object* v_modifiers_19637_; lean_object* v_attrs_19638_; lean_object* v___x_19639_; size_t v_sz_19640_; size_t v___x_19641_; lean_object* v___x_19642_; +v_a_19635_ = lean_array_uget_borrowed(v_as_19622_, v_i_19624_); +v_toDefView_19636_ = lean_ctor_get(v_a_19635_, 0); +v_modifiers_19637_ = lean_ctor_get(v_toDefView_19636_, 2); +v_attrs_19638_ = lean_ctor_get(v_modifiers_19637_, 2); +v___x_19639_ = lean_box(0); +v_sz_19640_ = lean_array_size(v_attrs_19638_); +v___x_19641_ = ((size_t)0ULL); +lean_inc_ref(v___y_19630_); +v___x_19642_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__17(v_attrs_19638_, v_sz_19640_, v___x_19641_, v___x_19639_, v___y_19626_, v___y_19627_, v___y_19628_, v___y_19629_, v___y_19630_, v___y_19631_); +if (lean_obj_tag(v___x_19642_) == 0) { -return v_b_19629_; -} -v___jp_19630_: -{ -size_t v___x_19632_; size_t v___x_19633_; -v___x_19632_ = ((size_t)1ULL); -v___x_19633_ = lean_usize_add(v_i_19627_, v___x_19632_); -v_i_19627_ = v___x_19633_; -v_b_19629_ = v___y_19631_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3___boxed(lean_object* v_as_19642_, lean_object* v_i_19643_, lean_object* v_stop_19644_, lean_object* v_b_19645_){ -_start: -{ -size_t v_i_boxed_19646_; size_t v_stop_boxed_19647_; lean_object* v_res_19648_; -v_i_boxed_19646_ = lean_unbox_usize(v_i_19643_); -lean_dec(v_i_19643_); -v_stop_boxed_19647_ = lean_unbox_usize(v_stop_19644_); -lean_dec(v_stop_19644_); -v_res_19648_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_as_19642_, v_i_boxed_19646_, v_stop_boxed_19647_, v_b_19645_); -lean_dec_ref(v_as_19642_); -return v_res_19648_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(size_t v_sz_19649_, size_t v_i_19650_, lean_object* v_bs_19651_){ -_start: -{ -uint8_t v___x_19652_; -v___x_19652_ = lean_usize_dec_lt(v_i_19650_, v_sz_19649_); -if (v___x_19652_ == 0) -{ -return v_bs_19651_; -} -else -{ -lean_object* v_v_19653_; lean_object* v_toDefView_19654_; lean_object* v_modifiers_19655_; lean_object* v_toDefViewElabHeaderData_19656_; lean_object* v_tacSnap_x3f_19657_; lean_object* v_bodySnap_x3f_19658_; lean_object* v___x_19660_; uint8_t v_isShared_19661_; uint8_t v_isSharedCheck_19716_; -v_v_19653_ = lean_array_uget(v_bs_19651_, v_i_19650_); -v_toDefView_19654_ = lean_ctor_get(v_v_19653_, 0); -lean_inc_ref(v_toDefView_19654_); -v_modifiers_19655_ = lean_ctor_get(v_toDefView_19654_, 2); -lean_inc_ref(v_modifiers_19655_); -v_toDefViewElabHeaderData_19656_ = lean_ctor_get(v_v_19653_, 1); -v_tacSnap_x3f_19657_ = lean_ctor_get(v_v_19653_, 2); -v_bodySnap_x3f_19658_ = lean_ctor_get(v_v_19653_, 3); -v_isSharedCheck_19716_ = !lean_is_exclusive(v_v_19653_); -if (v_isSharedCheck_19716_ == 0) -{ -lean_object* v_unused_19717_; -v_unused_19717_ = lean_ctor_get(v_v_19653_, 0); -lean_dec(v_unused_19717_); -v___x_19660_ = v_v_19653_; -v_isShared_19661_ = v_isSharedCheck_19716_; -goto v_resetjp_19659_; -} -else -{ -lean_inc(v_bodySnap_x3f_19658_); -lean_inc(v_tacSnap_x3f_19657_); -lean_inc(v_toDefViewElabHeaderData_19656_); -lean_dec(v_v_19653_); -v___x_19660_ = lean_box(0); -v_isShared_19661_ = v_isSharedCheck_19716_; -goto v_resetjp_19659_; -} -v_resetjp_19659_: -{ -uint8_t v_kind_19662_; lean_object* v_ref_19663_; lean_object* v_headerRef_19664_; lean_object* v_declId_19665_; lean_object* v_binders_19666_; lean_object* v_type_x3f_19667_; lean_object* v_value_19668_; lean_object* v_docString_x3f_19669_; lean_object* v_headerSnap_x3f_19670_; lean_object* v_deriving_x3f_19671_; lean_object* v___x_19673_; uint8_t v_isShared_19674_; uint8_t v_isSharedCheck_19714_; -v_kind_19662_ = lean_ctor_get_uint8(v_toDefView_19654_, sizeof(void*)*10); -v_ref_19663_ = lean_ctor_get(v_toDefView_19654_, 0); -v_headerRef_19664_ = lean_ctor_get(v_toDefView_19654_, 1); -v_declId_19665_ = lean_ctor_get(v_toDefView_19654_, 3); -v_binders_19666_ = lean_ctor_get(v_toDefView_19654_, 4); -v_type_x3f_19667_ = lean_ctor_get(v_toDefView_19654_, 5); -v_value_19668_ = lean_ctor_get(v_toDefView_19654_, 6); -v_docString_x3f_19669_ = lean_ctor_get(v_toDefView_19654_, 7); -v_headerSnap_x3f_19670_ = lean_ctor_get(v_toDefView_19654_, 8); -v_deriving_x3f_19671_ = lean_ctor_get(v_toDefView_19654_, 9); -v_isSharedCheck_19714_ = !lean_is_exclusive(v_toDefView_19654_); -if (v_isSharedCheck_19714_ == 0) -{ -lean_object* v_unused_19715_; -v_unused_19715_ = lean_ctor_get(v_toDefView_19654_, 2); -lean_dec(v_unused_19715_); -v___x_19673_ = v_toDefView_19654_; -v_isShared_19674_ = v_isSharedCheck_19714_; -goto v_resetjp_19672_; -} -else -{ -lean_inc(v_deriving_x3f_19671_); -lean_inc(v_headerSnap_x3f_19670_); -lean_inc(v_docString_x3f_19669_); -lean_inc(v_value_19668_); -lean_inc(v_type_x3f_19667_); -lean_inc(v_binders_19666_); -lean_inc(v_declId_19665_); -lean_inc(v_headerRef_19664_); -lean_inc(v_ref_19663_); -lean_dec(v_toDefView_19654_); -v___x_19673_ = lean_box(0); -v_isShared_19674_ = v_isSharedCheck_19714_; -goto v_resetjp_19672_; -} -v_resetjp_19672_: -{ -lean_object* v_stx_19675_; lean_object* v_docString_x3f_19676_; uint8_t v_visibility_19677_; uint8_t v_isProtected_19678_; uint8_t v_computeKind_19679_; uint8_t v_recKind_19680_; uint8_t v_isUnsafe_19681_; lean_object* v_attrs_19682_; lean_object* v___x_19684_; uint8_t v_isShared_19685_; uint8_t v_isSharedCheck_19713_; -v_stx_19675_ = lean_ctor_get(v_modifiers_19655_, 0); -v_docString_x3f_19676_ = lean_ctor_get(v_modifiers_19655_, 1); -v_visibility_19677_ = lean_ctor_get_uint8(v_modifiers_19655_, sizeof(void*)*3); -v_isProtected_19678_ = lean_ctor_get_uint8(v_modifiers_19655_, sizeof(void*)*3 + 1); -v_computeKind_19679_ = lean_ctor_get_uint8(v_modifiers_19655_, sizeof(void*)*3 + 2); -v_recKind_19680_ = lean_ctor_get_uint8(v_modifiers_19655_, sizeof(void*)*3 + 3); -v_isUnsafe_19681_ = lean_ctor_get_uint8(v_modifiers_19655_, sizeof(void*)*3 + 4); -v_attrs_19682_ = lean_ctor_get(v_modifiers_19655_, 2); -v_isSharedCheck_19713_ = !lean_is_exclusive(v_modifiers_19655_); -if (v_isSharedCheck_19713_ == 0) -{ -v___x_19684_ = v_modifiers_19655_; -v_isShared_19685_ = v_isSharedCheck_19713_; -goto v_resetjp_19683_; -} -else -{ -lean_inc(v_attrs_19682_); -lean_inc(v_docString_x3f_19676_); -lean_inc(v_stx_19675_); -lean_dec(v_modifiers_19655_); -v___x_19684_ = lean_box(0); -v_isShared_19685_ = v_isSharedCheck_19713_; -goto v_resetjp_19683_; -} -v_resetjp_19683_: -{ -lean_object* v___x_19686_; lean_object* v_bs_x27_19687_; lean_object* v___y_19689_; lean_object* v___x_19703_; lean_object* v___x_19704_; uint8_t v___x_19705_; -v___x_19686_ = lean_unsigned_to_nat(0u); -v_bs_x27_19687_ = lean_array_uset(v_bs_19651_, v_i_19650_, v___x_19686_); -v___x_19703_ = lean_array_get_size(v_attrs_19682_); -v___x_19704_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); -v___x_19705_ = lean_nat_dec_lt(v___x_19686_, v___x_19703_); -if (v___x_19705_ == 0) -{ -lean_dec_ref(v_attrs_19682_); -v___y_19689_ = v___x_19704_; -goto v___jp_19688_; -} -else -{ -uint8_t v___x_19706_; -v___x_19706_ = lean_nat_dec_le(v___x_19703_, v___x_19703_); -if (v___x_19706_ == 0) -{ -if (v___x_19705_ == 0) -{ -lean_dec_ref(v_attrs_19682_); -v___y_19689_ = v___x_19704_; -goto v___jp_19688_; -} -else -{ -size_t v___x_19707_; size_t v___x_19708_; lean_object* v___x_19709_; -v___x_19707_ = ((size_t)0ULL); -v___x_19708_ = lean_usize_of_nat(v___x_19703_); -v___x_19709_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_attrs_19682_, v___x_19707_, v___x_19708_, v___x_19704_); -lean_dec_ref(v_attrs_19682_); -v___y_19689_ = v___x_19709_; -goto v___jp_19688_; -} -} -else -{ -size_t v___x_19710_; size_t v___x_19711_; lean_object* v___x_19712_; -v___x_19710_ = ((size_t)0ULL); -v___x_19711_ = lean_usize_of_nat(v___x_19703_); -v___x_19712_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_attrs_19682_, v___x_19710_, v___x_19711_, v___x_19704_); -lean_dec_ref(v_attrs_19682_); -v___y_19689_ = v___x_19712_; -goto v___jp_19688_; -} -} -v___jp_19688_: -{ -lean_object* v___x_19691_; -if (v_isShared_19685_ == 0) -{ -lean_ctor_set(v___x_19684_, 2, v___y_19689_); -v___x_19691_ = v___x_19684_; -goto v_reusejp_19690_; -} -else -{ -lean_object* v_reuseFailAlloc_19702_; -v_reuseFailAlloc_19702_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_19702_, 0, v_stx_19675_); -lean_ctor_set(v_reuseFailAlloc_19702_, 1, v_docString_x3f_19676_); -lean_ctor_set(v_reuseFailAlloc_19702_, 2, v___y_19689_); -lean_ctor_set_uint8(v_reuseFailAlloc_19702_, sizeof(void*)*3, v_visibility_19677_); -lean_ctor_set_uint8(v_reuseFailAlloc_19702_, sizeof(void*)*3 + 1, v_isProtected_19678_); -lean_ctor_set_uint8(v_reuseFailAlloc_19702_, sizeof(void*)*3 + 2, v_computeKind_19679_); -lean_ctor_set_uint8(v_reuseFailAlloc_19702_, sizeof(void*)*3 + 3, v_recKind_19680_); -lean_ctor_set_uint8(v_reuseFailAlloc_19702_, sizeof(void*)*3 + 4, v_isUnsafe_19681_); -v___x_19691_ = v_reuseFailAlloc_19702_; -goto v_reusejp_19690_; -} -v_reusejp_19690_: -{ -lean_object* v___x_19693_; -if (v_isShared_19674_ == 0) -{ -lean_ctor_set(v___x_19673_, 2, v___x_19691_); -v___x_19693_ = v___x_19673_; -goto v_reusejp_19692_; -} -else -{ -lean_object* v_reuseFailAlloc_19701_; -v_reuseFailAlloc_19701_ = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(v_reuseFailAlloc_19701_, 0, v_ref_19663_); -lean_ctor_set(v_reuseFailAlloc_19701_, 1, v_headerRef_19664_); -lean_ctor_set(v_reuseFailAlloc_19701_, 2, v___x_19691_); -lean_ctor_set(v_reuseFailAlloc_19701_, 3, v_declId_19665_); -lean_ctor_set(v_reuseFailAlloc_19701_, 4, v_binders_19666_); -lean_ctor_set(v_reuseFailAlloc_19701_, 5, v_type_x3f_19667_); -lean_ctor_set(v_reuseFailAlloc_19701_, 6, v_value_19668_); -lean_ctor_set(v_reuseFailAlloc_19701_, 7, v_docString_x3f_19669_); -lean_ctor_set(v_reuseFailAlloc_19701_, 8, v_headerSnap_x3f_19670_); -lean_ctor_set(v_reuseFailAlloc_19701_, 9, v_deriving_x3f_19671_); -lean_ctor_set_uint8(v_reuseFailAlloc_19701_, sizeof(void*)*10, v_kind_19662_); -v___x_19693_ = v_reuseFailAlloc_19701_; -goto v_reusejp_19692_; -} -v_reusejp_19692_: -{ -lean_object* v___x_19695_; -if (v_isShared_19661_ == 0) -{ -lean_ctor_set(v___x_19660_, 0, v___x_19693_); -v___x_19695_ = v___x_19660_; -goto v_reusejp_19694_; -} -else -{ -lean_object* v_reuseFailAlloc_19700_; -v_reuseFailAlloc_19700_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_19700_, 0, v___x_19693_); -lean_ctor_set(v_reuseFailAlloc_19700_, 1, v_toDefViewElabHeaderData_19656_); -lean_ctor_set(v_reuseFailAlloc_19700_, 2, v_tacSnap_x3f_19657_); -lean_ctor_set(v_reuseFailAlloc_19700_, 3, v_bodySnap_x3f_19658_); -v___x_19695_ = v_reuseFailAlloc_19700_; -goto v_reusejp_19694_; -} -v_reusejp_19694_: -{ -size_t v___x_19696_; size_t v___x_19697_; lean_object* v___x_19698_; -v___x_19696_ = ((size_t)1ULL); -v___x_19697_ = lean_usize_add(v_i_19650_, v___x_19696_); -v___x_19698_ = lean_array_uset(v_bs_x27_19687_, v_i_19650_, v___x_19695_); -v_i_19650_ = v___x_19697_; -v_bs_19651_ = v___x_19698_; -goto _start; -} -} -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4___boxed(lean_object* v_sz_19718_, lean_object* v_i_19719_, lean_object* v_bs_19720_){ -_start: -{ -size_t v_sz_boxed_19721_; size_t v_i_boxed_19722_; lean_object* v_res_19723_; -v_sz_boxed_19721_ = lean_unbox_usize(v_sz_19718_); -lean_dec(v_sz_19718_); -v_i_boxed_19722_ = lean_unbox_usize(v_i_19719_); -lean_dec(v_i_19719_); -v_res_19723_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(v_sz_boxed_19721_, v_i_boxed_19722_, v_bs_19720_); -return v_res_19723_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(lean_object* v_as_19724_, size_t v_i_19725_, size_t v_stop_19726_){ -_start: -{ -uint8_t v___x_19727_; -v___x_19727_ = lean_usize_dec_eq(v_i_19725_, v_stop_19726_); -if (v___x_19727_ == 0) -{ -lean_object* v___x_19728_; lean_object* v_name_19729_; lean_object* v___x_19730_; uint8_t v___x_19731_; -v___x_19728_ = lean_array_uget_borrowed(v_as_19724_, v_i_19725_); -v_name_19729_ = lean_ctor_get(v___x_19728_, 0); -v___x_19730_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_4023349454____hygCtx___hyg_2_)); -v___x_19731_ = lean_name_eq(v_name_19729_, v___x_19730_); -if (v___x_19731_ == 0) -{ -size_t v___x_19732_; size_t v___x_19733_; -v___x_19732_ = ((size_t)1ULL); -v___x_19733_ = lean_usize_add(v_i_19725_, v___x_19732_); -v_i_19725_ = v___x_19733_; +size_t v___x_19643_; size_t v___x_19644_; +lean_dec_ref(v___x_19642_); +v___x_19643_ = ((size_t)1ULL); +v___x_19644_ = lean_usize_add(v_i_19624_, v___x_19643_); +v_i_19624_ = v___x_19644_; +v_b_19625_ = v___x_19639_; goto _start; } else { -return v___x_19731_; +lean_dec_ref(v___y_19630_); +return v___x_19642_; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18___boxed(lean_object* v_as_19646_, lean_object* v_sz_19647_, lean_object* v_i_19648_, lean_object* v_b_19649_, lean_object* v___y_19650_, lean_object* v___y_19651_, lean_object* v___y_19652_, lean_object* v___y_19653_, lean_object* v___y_19654_, lean_object* v___y_19655_, lean_object* v___y_19656_){ +_start: +{ +size_t v_sz_boxed_19657_; size_t v_i_boxed_19658_; lean_object* v_res_19659_; +v_sz_boxed_19657_ = lean_unbox_usize(v_sz_19647_); +lean_dec(v_sz_19647_); +v_i_boxed_19658_ = lean_unbox_usize(v_i_19648_); +lean_dec(v_i_19648_); +v_res_19659_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(v_as_19646_, v_sz_boxed_19657_, v_i_boxed_19658_, v_b_19649_, v___y_19650_, v___y_19651_, v___y_19652_, v___y_19653_, v___y_19654_, v___y_19655_); +lean_dec(v___y_19655_); +lean_dec(v___y_19653_); +lean_dec_ref(v___y_19652_); +lean_dec(v___y_19651_); +lean_dec_ref(v___y_19650_); +lean_dec_ref(v_as_19646_); +return v_res_19659_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(lean_object* v_as_19666_, size_t v_i_19667_, size_t v_stop_19668_, lean_object* v_b_19669_){ +_start: +{ +lean_object* v___y_19671_; uint8_t v___x_19675_; +v___x_19675_ = lean_usize_dec_eq(v_i_19667_, v_stop_19668_); +if (v___x_19675_ == 0) +{ +lean_object* v___x_19676_; lean_object* v_name_19677_; lean_object* v___x_19678_; lean_object* v___x_19679_; uint8_t v___x_19680_; +v___x_19676_ = lean_array_uget_borrowed(v_as_19666_, v_i_19667_); +v_name_19677_ = lean_ctor_get(v___x_19676_, 0); +v___x_19678_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__0)); +v___x_19679_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3___closed__1)); +lean_inc(v_name_19677_); +v___x_19680_ = l_List_elem___redArg(v___x_19678_, v_name_19677_, v___x_19679_); +if (v___x_19680_ == 0) +{ +lean_object* v___x_19681_; +lean_inc(v___x_19676_); +v___x_19681_ = lean_array_push(v_b_19669_, v___x_19676_); +v___y_19671_ = v___x_19681_; +goto v___jp_19670_; +} +else +{ +v___y_19671_ = v_b_19669_; +goto v___jp_19670_; } } else { -uint8_t v___x_19735_; -v___x_19735_ = 0; -return v___x_19735_; +return v_b_19669_; +} +v___jp_19670_: +{ +size_t v___x_19672_; size_t v___x_19673_; +v___x_19672_ = ((size_t)1ULL); +v___x_19673_ = lean_usize_add(v_i_19667_, v___x_19672_); +v_i_19667_ = v___x_19673_; +v_b_19669_ = v___y_19671_; +goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1___boxed(lean_object* v_as_19736_, lean_object* v_i_19737_, lean_object* v_stop_19738_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3___boxed(lean_object* v_as_19682_, lean_object* v_i_19683_, lean_object* v_stop_19684_, lean_object* v_b_19685_){ _start: { -size_t v_i_boxed_19739_; size_t v_stop_boxed_19740_; uint8_t v_res_19741_; lean_object* v_r_19742_; -v_i_boxed_19739_ = lean_unbox_usize(v_i_19737_); -lean_dec(v_i_19737_); -v_stop_boxed_19740_ = lean_unbox_usize(v_stop_19738_); -lean_dec(v_stop_19738_); -v_res_19741_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(v_as_19736_, v_i_boxed_19739_, v_stop_boxed_19740_); -lean_dec_ref(v_as_19736_); -v_r_19742_ = lean_box(v_res_19741_); -return v_r_19742_; +size_t v_i_boxed_19686_; size_t v_stop_boxed_19687_; lean_object* v_res_19688_; +v_i_boxed_19686_ = lean_unbox_usize(v_i_19683_); +lean_dec(v_i_19683_); +v_stop_boxed_19687_ = lean_unbox_usize(v_stop_19684_); +lean_dec(v_stop_19684_); +v_res_19688_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_as_19682_, v_i_boxed_19686_, v_stop_boxed_19687_, v_b_19685_); +lean_dec_ref(v_as_19682_); +return v_res_19688_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(lean_object* v_as_19743_, size_t v_i_19744_, size_t v_stop_19745_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(size_t v_sz_19689_, size_t v_i_19690_, lean_object* v_bs_19691_){ _start: { +uint8_t v___x_19692_; +v___x_19692_ = lean_usize_dec_lt(v_i_19690_, v_sz_19689_); +if (v___x_19692_ == 0) +{ +return v_bs_19691_; +} +else +{ +lean_object* v_v_19693_; lean_object* v_toDefView_19694_; lean_object* v_modifiers_19695_; lean_object* v_toDefViewElabHeaderData_19696_; lean_object* v_tacSnap_x3f_19697_; lean_object* v_bodySnap_x3f_19698_; lean_object* v___x_19700_; uint8_t v_isShared_19701_; uint8_t v_isSharedCheck_19756_; +v_v_19693_ = lean_array_uget(v_bs_19691_, v_i_19690_); +v_toDefView_19694_ = lean_ctor_get(v_v_19693_, 0); +lean_inc_ref(v_toDefView_19694_); +v_modifiers_19695_ = lean_ctor_get(v_toDefView_19694_, 2); +lean_inc_ref(v_modifiers_19695_); +v_toDefViewElabHeaderData_19696_ = lean_ctor_get(v_v_19693_, 1); +v_tacSnap_x3f_19697_ = lean_ctor_get(v_v_19693_, 2); +v_bodySnap_x3f_19698_ = lean_ctor_get(v_v_19693_, 3); +v_isSharedCheck_19756_ = !lean_is_exclusive(v_v_19693_); +if (v_isSharedCheck_19756_ == 0) +{ +lean_object* v_unused_19757_; +v_unused_19757_ = lean_ctor_get(v_v_19693_, 0); +lean_dec(v_unused_19757_); +v___x_19700_ = v_v_19693_; +v_isShared_19701_ = v_isSharedCheck_19756_; +goto v_resetjp_19699_; +} +else +{ +lean_inc(v_bodySnap_x3f_19698_); +lean_inc(v_tacSnap_x3f_19697_); +lean_inc(v_toDefViewElabHeaderData_19696_); +lean_dec(v_v_19693_); +v___x_19700_ = lean_box(0); +v_isShared_19701_ = v_isSharedCheck_19756_; +goto v_resetjp_19699_; +} +v_resetjp_19699_: +{ +uint8_t v_kind_19702_; lean_object* v_ref_19703_; lean_object* v_headerRef_19704_; lean_object* v_declId_19705_; lean_object* v_binders_19706_; lean_object* v_type_x3f_19707_; lean_object* v_value_19708_; lean_object* v_docString_x3f_19709_; lean_object* v_headerSnap_x3f_19710_; lean_object* v_deriving_x3f_19711_; lean_object* v___x_19713_; uint8_t v_isShared_19714_; uint8_t v_isSharedCheck_19754_; +v_kind_19702_ = lean_ctor_get_uint8(v_toDefView_19694_, sizeof(void*)*10); +v_ref_19703_ = lean_ctor_get(v_toDefView_19694_, 0); +v_headerRef_19704_ = lean_ctor_get(v_toDefView_19694_, 1); +v_declId_19705_ = lean_ctor_get(v_toDefView_19694_, 3); +v_binders_19706_ = lean_ctor_get(v_toDefView_19694_, 4); +v_type_x3f_19707_ = lean_ctor_get(v_toDefView_19694_, 5); +v_value_19708_ = lean_ctor_get(v_toDefView_19694_, 6); +v_docString_x3f_19709_ = lean_ctor_get(v_toDefView_19694_, 7); +v_headerSnap_x3f_19710_ = lean_ctor_get(v_toDefView_19694_, 8); +v_deriving_x3f_19711_ = lean_ctor_get(v_toDefView_19694_, 9); +v_isSharedCheck_19754_ = !lean_is_exclusive(v_toDefView_19694_); +if (v_isSharedCheck_19754_ == 0) +{ +lean_object* v_unused_19755_; +v_unused_19755_ = lean_ctor_get(v_toDefView_19694_, 2); +lean_dec(v_unused_19755_); +v___x_19713_ = v_toDefView_19694_; +v_isShared_19714_ = v_isSharedCheck_19754_; +goto v_resetjp_19712_; +} +else +{ +lean_inc(v_deriving_x3f_19711_); +lean_inc(v_headerSnap_x3f_19710_); +lean_inc(v_docString_x3f_19709_); +lean_inc(v_value_19708_); +lean_inc(v_type_x3f_19707_); +lean_inc(v_binders_19706_); +lean_inc(v_declId_19705_); +lean_inc(v_headerRef_19704_); +lean_inc(v_ref_19703_); +lean_dec(v_toDefView_19694_); +v___x_19713_ = lean_box(0); +v_isShared_19714_ = v_isSharedCheck_19754_; +goto v_resetjp_19712_; +} +v_resetjp_19712_: +{ +lean_object* v_stx_19715_; lean_object* v_docString_x3f_19716_; uint8_t v_visibility_19717_; uint8_t v_isProtected_19718_; uint8_t v_computeKind_19719_; uint8_t v_recKind_19720_; uint8_t v_isUnsafe_19721_; lean_object* v_attrs_19722_; lean_object* v___x_19724_; uint8_t v_isShared_19725_; uint8_t v_isSharedCheck_19753_; +v_stx_19715_ = lean_ctor_get(v_modifiers_19695_, 0); +v_docString_x3f_19716_ = lean_ctor_get(v_modifiers_19695_, 1); +v_visibility_19717_ = lean_ctor_get_uint8(v_modifiers_19695_, sizeof(void*)*3); +v_isProtected_19718_ = lean_ctor_get_uint8(v_modifiers_19695_, sizeof(void*)*3 + 1); +v_computeKind_19719_ = lean_ctor_get_uint8(v_modifiers_19695_, sizeof(void*)*3 + 2); +v_recKind_19720_ = lean_ctor_get_uint8(v_modifiers_19695_, sizeof(void*)*3 + 3); +v_isUnsafe_19721_ = lean_ctor_get_uint8(v_modifiers_19695_, sizeof(void*)*3 + 4); +v_attrs_19722_ = lean_ctor_get(v_modifiers_19695_, 2); +v_isSharedCheck_19753_ = !lean_is_exclusive(v_modifiers_19695_); +if (v_isSharedCheck_19753_ == 0) +{ +v___x_19724_ = v_modifiers_19695_; +v_isShared_19725_ = v_isSharedCheck_19753_; +goto v_resetjp_19723_; +} +else +{ +lean_inc(v_attrs_19722_); +lean_inc(v_docString_x3f_19716_); +lean_inc(v_stx_19715_); +lean_dec(v_modifiers_19695_); +v___x_19724_ = lean_box(0); +v_isShared_19725_ = v_isSharedCheck_19753_; +goto v_resetjp_19723_; +} +v_resetjp_19723_: +{ +lean_object* v___x_19726_; lean_object* v_bs_x27_19727_; lean_object* v___y_19729_; lean_object* v___x_19743_; lean_object* v___x_19744_; uint8_t v___x_19745_; +v___x_19726_ = lean_unsigned_to_nat(0u); +v_bs_x27_19727_ = lean_array_uset(v_bs_19691_, v_i_19690_, v___x_19726_); +v___x_19743_ = lean_array_get_size(v_attrs_19722_); +v___x_19744_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); +v___x_19745_ = lean_nat_dec_lt(v___x_19726_, v___x_19743_); +if (v___x_19745_ == 0) +{ +lean_dec_ref(v_attrs_19722_); +v___y_19729_ = v___x_19744_; +goto v___jp_19728_; +} +else +{ uint8_t v___x_19746_; -v___x_19746_ = lean_usize_dec_eq(v_i_19744_, v_stop_19745_); +v___x_19746_ = lean_nat_dec_le(v___x_19743_, v___x_19743_); if (v___x_19746_ == 0) { -lean_object* v___x_19747_; lean_object* v_name_19748_; lean_object* v___x_19749_; uint8_t v___x_19750_; -v___x_19747_ = lean_array_uget_borrowed(v_as_19743_, v_i_19744_); -v_name_19748_ = lean_ctor_get(v___x_19747_, 0); -v___x_19749_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); -v___x_19750_ = lean_name_eq(v_name_19748_, v___x_19749_); -if (v___x_19750_ == 0) +if (v___x_19745_ == 0) { -size_t v___x_19751_; size_t v___x_19752_; -v___x_19751_ = ((size_t)1ULL); -v___x_19752_ = lean_usize_add(v_i_19744_, v___x_19751_); -v_i_19744_ = v___x_19752_; +lean_dec_ref(v_attrs_19722_); +v___y_19729_ = v___x_19744_; +goto v___jp_19728_; +} +else +{ +size_t v___x_19747_; size_t v___x_19748_; lean_object* v___x_19749_; +v___x_19747_ = ((size_t)0ULL); +v___x_19748_ = lean_usize_of_nat(v___x_19743_); +v___x_19749_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_attrs_19722_, v___x_19747_, v___x_19748_, v___x_19744_); +lean_dec_ref(v_attrs_19722_); +v___y_19729_ = v___x_19749_; +goto v___jp_19728_; +} +} +else +{ +size_t v___x_19750_; size_t v___x_19751_; lean_object* v___x_19752_; +v___x_19750_ = ((size_t)0ULL); +v___x_19751_ = lean_usize_of_nat(v___x_19743_); +v___x_19752_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__3(v_attrs_19722_, v___x_19750_, v___x_19751_, v___x_19744_); +lean_dec_ref(v_attrs_19722_); +v___y_19729_ = v___x_19752_; +goto v___jp_19728_; +} +} +v___jp_19728_: +{ +lean_object* v___x_19731_; +if (v_isShared_19725_ == 0) +{ +lean_ctor_set(v___x_19724_, 2, v___y_19729_); +v___x_19731_ = v___x_19724_; +goto v_reusejp_19730_; +} +else +{ +lean_object* v_reuseFailAlloc_19742_; +v_reuseFailAlloc_19742_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_19742_, 0, v_stx_19715_); +lean_ctor_set(v_reuseFailAlloc_19742_, 1, v_docString_x3f_19716_); +lean_ctor_set(v_reuseFailAlloc_19742_, 2, v___y_19729_); +lean_ctor_set_uint8(v_reuseFailAlloc_19742_, sizeof(void*)*3, v_visibility_19717_); +lean_ctor_set_uint8(v_reuseFailAlloc_19742_, sizeof(void*)*3 + 1, v_isProtected_19718_); +lean_ctor_set_uint8(v_reuseFailAlloc_19742_, sizeof(void*)*3 + 2, v_computeKind_19719_); +lean_ctor_set_uint8(v_reuseFailAlloc_19742_, sizeof(void*)*3 + 3, v_recKind_19720_); +lean_ctor_set_uint8(v_reuseFailAlloc_19742_, sizeof(void*)*3 + 4, v_isUnsafe_19721_); +v___x_19731_ = v_reuseFailAlloc_19742_; +goto v_reusejp_19730_; +} +v_reusejp_19730_: +{ +lean_object* v___x_19733_; +if (v_isShared_19714_ == 0) +{ +lean_ctor_set(v___x_19713_, 2, v___x_19731_); +v___x_19733_ = v___x_19713_; +goto v_reusejp_19732_; +} +else +{ +lean_object* v_reuseFailAlloc_19741_; +v_reuseFailAlloc_19741_ = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(v_reuseFailAlloc_19741_, 0, v_ref_19703_); +lean_ctor_set(v_reuseFailAlloc_19741_, 1, v_headerRef_19704_); +lean_ctor_set(v_reuseFailAlloc_19741_, 2, v___x_19731_); +lean_ctor_set(v_reuseFailAlloc_19741_, 3, v_declId_19705_); +lean_ctor_set(v_reuseFailAlloc_19741_, 4, v_binders_19706_); +lean_ctor_set(v_reuseFailAlloc_19741_, 5, v_type_x3f_19707_); +lean_ctor_set(v_reuseFailAlloc_19741_, 6, v_value_19708_); +lean_ctor_set(v_reuseFailAlloc_19741_, 7, v_docString_x3f_19709_); +lean_ctor_set(v_reuseFailAlloc_19741_, 8, v_headerSnap_x3f_19710_); +lean_ctor_set(v_reuseFailAlloc_19741_, 9, v_deriving_x3f_19711_); +lean_ctor_set_uint8(v_reuseFailAlloc_19741_, sizeof(void*)*10, v_kind_19702_); +v___x_19733_ = v_reuseFailAlloc_19741_; +goto v_reusejp_19732_; +} +v_reusejp_19732_: +{ +lean_object* v___x_19735_; +if (v_isShared_19701_ == 0) +{ +lean_ctor_set(v___x_19700_, 0, v___x_19733_); +v___x_19735_ = v___x_19700_; +goto v_reusejp_19734_; +} +else +{ +lean_object* v_reuseFailAlloc_19740_; +v_reuseFailAlloc_19740_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_19740_, 0, v___x_19733_); +lean_ctor_set(v_reuseFailAlloc_19740_, 1, v_toDefViewElabHeaderData_19696_); +lean_ctor_set(v_reuseFailAlloc_19740_, 2, v_tacSnap_x3f_19697_); +lean_ctor_set(v_reuseFailAlloc_19740_, 3, v_bodySnap_x3f_19698_); +v___x_19735_ = v_reuseFailAlloc_19740_; +goto v_reusejp_19734_; +} +v_reusejp_19734_: +{ +size_t v___x_19736_; size_t v___x_19737_; lean_object* v___x_19738_; +v___x_19736_ = ((size_t)1ULL); +v___x_19737_ = lean_usize_add(v_i_19690_, v___x_19736_); +v___x_19738_ = lean_array_uset(v_bs_x27_19727_, v_i_19690_, v___x_19735_); +v_i_19690_ = v___x_19737_; +v_bs_19691_ = v___x_19738_; +goto _start; +} +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4___boxed(lean_object* v_sz_19758_, lean_object* v_i_19759_, lean_object* v_bs_19760_){ +_start: +{ +size_t v_sz_boxed_19761_; size_t v_i_boxed_19762_; lean_object* v_res_19763_; +v_sz_boxed_19761_ = lean_unbox_usize(v_sz_19758_); +lean_dec(v_sz_19758_); +v_i_boxed_19762_ = lean_unbox_usize(v_i_19759_); +lean_dec(v_i_19759_); +v_res_19763_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(v_sz_boxed_19761_, v_i_boxed_19762_, v_bs_19760_); +return v_res_19763_; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(lean_object* v_as_19764_, size_t v_i_19765_, size_t v_stop_19766_){ +_start: +{ +uint8_t v___x_19767_; +v___x_19767_ = lean_usize_dec_eq(v_i_19765_, v_stop_19766_); +if (v___x_19767_ == 0) +{ +lean_object* v___x_19768_; lean_object* v_name_19769_; lean_object* v___x_19770_; uint8_t v___x_19771_; +v___x_19768_ = lean_array_uget_borrowed(v_as_19764_, v_i_19765_); +v_name_19769_ = lean_ctor_get(v___x_19768_, 0); +v___x_19770_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_4023349454____hygCtx___hyg_2_)); +v___x_19771_ = lean_name_eq(v_name_19769_, v___x_19770_); +if (v___x_19771_ == 0) +{ +size_t v___x_19772_; size_t v___x_19773_; +v___x_19772_ = ((size_t)1ULL); +v___x_19773_ = lean_usize_add(v_i_19765_, v___x_19772_); +v_i_19765_ = v___x_19773_; goto _start; } else { -return v___x_19750_; +return v___x_19771_; } } else { -uint8_t v___x_19754_; -v___x_19754_ = 0; -return v___x_19754_; +uint8_t v___x_19775_; +v___x_19775_ = 0; +return v___x_19775_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0___boxed(lean_object* v_as_19755_, lean_object* v_i_19756_, lean_object* v_stop_19757_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1___boxed(lean_object* v_as_19776_, lean_object* v_i_19777_, lean_object* v_stop_19778_){ _start: { -size_t v_i_boxed_19758_; size_t v_stop_boxed_19759_; uint8_t v_res_19760_; lean_object* v_r_19761_; -v_i_boxed_19758_ = lean_unbox_usize(v_i_19756_); -lean_dec(v_i_19756_); -v_stop_boxed_19759_ = lean_unbox_usize(v_stop_19757_); -lean_dec(v_stop_19757_); -v_res_19760_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(v_as_19755_, v_i_boxed_19758_, v_stop_boxed_19759_); -lean_dec_ref(v_as_19755_); -v_r_19761_ = lean_box(v_res_19760_); -return v_r_19761_; +size_t v_i_boxed_19779_; size_t v_stop_boxed_19780_; uint8_t v_res_19781_; lean_object* v_r_19782_; +v_i_boxed_19779_ = lean_unbox_usize(v_i_19777_); +lean_dec(v_i_19777_); +v_stop_boxed_19780_ = lean_unbox_usize(v_stop_19778_); +lean_dec(v_stop_19778_); +v_res_19781_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(v_as_19776_, v_i_boxed_19779_, v_stop_boxed_19780_); +lean_dec_ref(v_as_19776_); +v_r_19782_ = lean_box(v_res_19781_); +return v_r_19782_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0(lean_object* v___x_19781_, uint8_t v___x_19782_, lean_object* v_x_19783_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(lean_object* v_as_19783_, size_t v_i_19784_, size_t v_stop_19785_){ _start: { -lean_object* v___x_19784_; uint8_t v___x_19785_; -v___x_19784_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__1)); -lean_inc(v_x_19783_); -v___x_19785_ = l_Lean_Syntax_isOfKind(v_x_19783_, v___x_19784_); -if (v___x_19785_ == 0) +uint8_t v___x_19786_; +v___x_19786_ = lean_usize_dec_eq(v_i_19784_, v_stop_19785_); +if (v___x_19786_ == 0) { -lean_dec(v_x_19783_); -return v___x_19785_; -} -else -{ -lean_object* v___x_19786_; lean_object* v___x_19787_; uint8_t v___x_19788_; -v___x_19786_ = l_Lean_Syntax_getArg(v_x_19783_, v___x_19781_); -v___x_19787_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__3)); -lean_inc(v___x_19786_); -v___x_19788_ = l_Lean_Syntax_isOfKind(v___x_19786_, v___x_19787_); -if (v___x_19788_ == 0) -{ -lean_dec(v___x_19786_); -lean_dec(v_x_19783_); -return v___x_19788_; -} -else -{ -lean_object* v___x_19789_; uint8_t v___x_19790_; -v___x_19789_ = l_Lean_Syntax_getArg(v___x_19786_, v___x_19781_); -lean_dec(v___x_19786_); -v___x_19790_ = l_Lean_Syntax_matchesNull(v___x_19789_, v___x_19781_); +lean_object* v___x_19787_; lean_object* v_name_19788_; lean_object* v___x_19789_; uint8_t v___x_19790_; +v___x_19787_ = lean_array_uget_borrowed(v_as_19783_, v_i_19784_); +v_name_19788_ = lean_ctor_get(v___x_19787_, 0); +v___x_19789_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); +v___x_19790_ = lean_name_eq(v_name_19788_, v___x_19789_); if (v___x_19790_ == 0) { -lean_dec(v_x_19783_); -return v___x_19790_; -} -else -{ -lean_object* v___x_19791_; lean_object* v___x_19792_; lean_object* v___x_19793_; uint8_t v___x_19794_; -v___x_19791_ = lean_unsigned_to_nat(1u); -v___x_19792_ = l_Lean_Syntax_getArg(v_x_19783_, v___x_19791_); -lean_dec(v_x_19783_); -v___x_19793_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__6)); -lean_inc(v___x_19792_); -v___x_19794_ = l_Lean_Syntax_isOfKind(v___x_19792_, v___x_19793_); -if (v___x_19794_ == 0) -{ -lean_dec(v___x_19792_); -return v___x_19794_; -} -else -{ -lean_object* v___x_19795_; lean_object* v___x_19796_; uint8_t v___x_19797_; -v___x_19795_ = l_Lean_Syntax_getArg(v___x_19792_, v___x_19781_); -v___x_19796_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); -v___x_19797_ = l_Lean_Syntax_matchesIdent(v___x_19795_, v___x_19796_); -lean_dec(v___x_19795_); -if (v___x_19797_ == 0) -{ -lean_dec(v___x_19792_); -return v___x_19797_; -} -else -{ -lean_object* v___x_19798_; uint8_t v___x_19799_; -v___x_19798_ = l_Lean_Syntax_getArg(v___x_19792_, v___x_19791_); -lean_dec(v___x_19792_); -v___x_19799_ = l_Lean_Syntax_matchesNull(v___x_19798_, v___x_19781_); -if (v___x_19799_ == 0) -{ -return v___x_19799_; -} -else -{ -return v___x_19782_; -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___boxed(lean_object* v___x_19800_, lean_object* v___x_19801_, lean_object* v_x_19802_){ -_start: -{ -uint8_t v___x_46208__boxed_19803_; uint8_t v_res_19804_; lean_object* v_r_19805_; -v___x_46208__boxed_19803_ = lean_unbox(v___x_19801_); -v_res_19804_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0(v___x_19800_, v___x_46208__boxed_19803_, v_x_19802_); -lean_dec(v___x_19800_); -v_r_19805_ = lean_box(v_res_19804_); -return v_r_19805_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(lean_object* v_sc_19810_, lean_object* v_as_19811_, size_t v_i_19812_, size_t v_stop_19813_, lean_object* v___y_19814_, lean_object* v___y_19815_, lean_object* v___y_19816_, lean_object* v___y_19817_){ -_start: -{ -uint8_t v___x_19819_; -v___x_19819_ = lean_usize_dec_eq(v_i_19812_, v_stop_19813_); -if (v___x_19819_ == 0) -{ -lean_object* v___x_19820_; lean_object* v_toDefView_19821_; lean_object* v_modifiers_19822_; lean_object* v_toDefViewElabHeaderData_19823_; uint8_t v_kind_19824_; lean_object* v_attrs_19825_; uint8_t v___x_19826_; uint8_t v_a_19828_; uint8_t v_a_19835_; uint8_t v___y_19839_; uint8_t v___y_19840_; lean_object* v___x_19856_; lean_object* v___f_19857_; lean_object* v___x_19858_; lean_object* v___y_19867_; lean_object* v___y_19873_; uint8_t v___y_19874_; uint8_t v___x_19881_; -v___x_19820_ = lean_array_uget_borrowed(v_as_19811_, v_i_19812_); -v_toDefView_19821_ = lean_ctor_get(v___x_19820_, 0); -v_modifiers_19822_ = lean_ctor_get(v_toDefView_19821_, 2); -v_toDefViewElabHeaderData_19823_ = lean_ctor_get(v___x_19820_, 1); -v_kind_19824_ = lean_ctor_get_uint8(v_toDefView_19821_, sizeof(void*)*10); -v_attrs_19825_ = lean_ctor_get(v_modifiers_19822_, 2); -v___x_19826_ = 1; -v___x_19856_ = lean_unsigned_to_nat(0u); -v___f_19857_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___closed__0)); -v___x_19858_ = lean_array_get_size(v_attrs_19825_); -v___x_19881_ = lean_nat_dec_lt(v___x_19856_, v___x_19858_); -if (v___x_19881_ == 0) -{ -goto v___jp_19877_; -} -else -{ -if (v___x_19881_ == 0) -{ -goto v___jp_19877_; -} -else -{ -size_t v___x_19882_; size_t v___x_19883_; uint8_t v___x_19884_; -v___x_19882_ = ((size_t)0ULL); -v___x_19883_ = lean_usize_of_nat(v___x_19858_); -v___x_19884_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(v_attrs_19825_, v___x_19882_, v___x_19883_); -if (v___x_19884_ == 0) -{ -goto v___jp_19877_; -} -else -{ -v_a_19828_ = v___x_19819_; -goto v___jp_19827_; -} -} -} -v___jp_19827_: -{ -if (v_a_19828_ == 0) -{ -size_t v___x_19829_; size_t v___x_19830_; -v___x_19829_ = ((size_t)1ULL); -v___x_19830_ = lean_usize_add(v_i_19812_, v___x_19829_); -v_i_19812_ = v___x_19830_; +size_t v___x_19791_; size_t v___x_19792_; +v___x_19791_ = ((size_t)1ULL); +v___x_19792_ = lean_usize_add(v_i_19784_, v___x_19791_); +v_i_19784_ = v___x_19792_; goto _start; } else { -lean_object* v___x_19832_; lean_object* v___x_19833_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19832_ = lean_box(v___x_19826_); -v___x_19833_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19833_, 0, v___x_19832_); -return v___x_19833_; +return v___x_19790_; } } -v___jp_19834_: +else { -if (v_a_19835_ == 0) +uint8_t v___x_19794_; +v___x_19794_ = 0; +return v___x_19794_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0___boxed(lean_object* v_as_19795_, lean_object* v_i_19796_, lean_object* v_stop_19797_){ +_start: { -lean_object* v___x_19836_; lean_object* v___x_19837_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19836_ = lean_box(v___x_19826_); -v___x_19837_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19837_, 0, v___x_19836_); +size_t v_i_boxed_19798_; size_t v_stop_boxed_19799_; uint8_t v_res_19800_; lean_object* v_r_19801_; +v_i_boxed_19798_ = lean_unbox_usize(v_i_19796_); +lean_dec(v_i_19796_); +v_stop_boxed_19799_ = lean_unbox_usize(v_stop_19797_); +lean_dec(v_stop_19797_); +v_res_19800_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(v_as_19795_, v_i_boxed_19798_, v_stop_boxed_19799_); +lean_dec_ref(v_as_19795_); +v_r_19801_ = lean_box(v_res_19800_); +return v_r_19801_; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0(lean_object* v___x_19821_, uint8_t v___x_19822_, lean_object* v_x_19823_){ +_start: +{ +lean_object* v___x_19824_; uint8_t v___x_19825_; +v___x_19824_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__1)); +lean_inc(v_x_19823_); +v___x_19825_ = l_Lean_Syntax_isOfKind(v_x_19823_, v___x_19824_); +if (v___x_19825_ == 0) +{ +lean_dec(v_x_19823_); +return v___x_19825_; +} +else +{ +lean_object* v___x_19826_; lean_object* v___x_19827_; uint8_t v___x_19828_; +v___x_19826_ = l_Lean_Syntax_getArg(v_x_19823_, v___x_19821_); +v___x_19827_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__3)); +lean_inc(v___x_19826_); +v___x_19828_ = l_Lean_Syntax_isOfKind(v___x_19826_, v___x_19827_); +if (v___x_19828_ == 0) +{ +lean_dec(v___x_19826_); +lean_dec(v_x_19823_); +return v___x_19828_; +} +else +{ +lean_object* v___x_19829_; uint8_t v___x_19830_; +v___x_19829_ = l_Lean_Syntax_getArg(v___x_19826_, v___x_19821_); +lean_dec(v___x_19826_); +v___x_19830_ = l_Lean_Syntax_matchesNull(v___x_19829_, v___x_19821_); +if (v___x_19830_ == 0) +{ +lean_dec(v_x_19823_); +return v___x_19830_; +} +else +{ +lean_object* v___x_19831_; lean_object* v___x_19832_; lean_object* v___x_19833_; uint8_t v___x_19834_; +v___x_19831_ = lean_unsigned_to_nat(1u); +v___x_19832_ = l_Lean_Syntax_getArg(v_x_19823_, v___x_19831_); +lean_dec(v_x_19823_); +v___x_19833_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__6)); +lean_inc(v___x_19832_); +v___x_19834_ = l_Lean_Syntax_isOfKind(v___x_19832_, v___x_19833_); +if (v___x_19834_ == 0) +{ +lean_dec(v___x_19832_); +return v___x_19834_; +} +else +{ +lean_object* v___x_19835_; lean_object* v___x_19836_; uint8_t v___x_19837_; +v___x_19835_ = l_Lean_Syntax_getArg(v___x_19832_, v___x_19821_); +v___x_19836_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__6_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2_)); +v___x_19837_ = l_Lean_Syntax_matchesIdent(v___x_19835_, v___x_19836_); +lean_dec(v___x_19835_); +if (v___x_19837_ == 0) +{ +lean_dec(v___x_19832_); return v___x_19837_; } else { -v_a_19828_ = v___x_19819_; -goto v___jp_19827_; -} -} -v___jp_19838_: +lean_object* v___x_19838_; uint8_t v___x_19839_; +v___x_19838_ = l_Lean_Syntax_getArg(v___x_19832_, v___x_19831_); +lean_dec(v___x_19832_); +v___x_19839_ = l_Lean_Syntax_matchesNull(v___x_19838_, v___x_19821_); +if (v___x_19839_ == 0) { -if (v___y_19840_ == 0) -{ -v_a_19828_ = v___x_19819_; -goto v___jp_19827_; +return v___x_19839_; } else { -v_a_19835_ = v___y_19839_; -goto v___jp_19834_; +return v___x_19822_; } } -v___jp_19841_: +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___boxed(lean_object* v___x_19840_, lean_object* v___x_19841_, lean_object* v_x_19842_){ +_start: { -uint8_t v___x_19842_; uint8_t v___x_19843_; -v___x_19842_ = 5; -v___x_19843_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19824_, v___x_19842_); -if (v___x_19843_ == 0) +uint8_t v___x_46208__boxed_19843_; uint8_t v_res_19844_; lean_object* v_r_19845_; +v___x_46208__boxed_19843_ = lean_unbox(v___x_19841_); +v_res_19844_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0(v___x_19840_, v___x_46208__boxed_19843_, v_x_19842_); +lean_dec(v___x_19840_); +v_r_19845_ = lean_box(v_res_19844_); +return v_r_19845_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(lean_object* v_sc_19850_, lean_object* v_as_19851_, size_t v_i_19852_, size_t v_stop_19853_, lean_object* v___y_19854_, lean_object* v___y_19855_, lean_object* v___y_19856_, lean_object* v___y_19857_){ +_start: { -uint8_t v___x_19844_; uint8_t v___x_19845_; -v___x_19844_ = 1; -v___x_19845_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19824_, v___x_19844_); -if (v___x_19845_ == 0) +uint8_t v___x_19859_; +v___x_19859_ = lean_usize_dec_eq(v_i_19852_, v_stop_19853_); +if (v___x_19859_ == 0) { -v_a_19828_ = v___x_19819_; -goto v___jp_19827_; +lean_object* v___x_19860_; lean_object* v_toDefView_19861_; lean_object* v_modifiers_19862_; lean_object* v_toDefViewElabHeaderData_19863_; uint8_t v_kind_19864_; lean_object* v_attrs_19865_; uint8_t v___x_19866_; uint8_t v_a_19868_; uint8_t v_a_19875_; uint8_t v___y_19879_; uint8_t v___y_19880_; lean_object* v___x_19896_; lean_object* v___f_19897_; lean_object* v___x_19898_; lean_object* v___y_19907_; lean_object* v___y_19913_; uint8_t v___y_19914_; uint8_t v___x_19921_; +v___x_19860_ = lean_array_uget_borrowed(v_as_19851_, v_i_19852_); +v_toDefView_19861_ = lean_ctor_get(v___x_19860_, 0); +v_modifiers_19862_ = lean_ctor_get(v_toDefView_19861_, 2); +v_toDefViewElabHeaderData_19863_ = lean_ctor_get(v___x_19860_, 1); +v_kind_19864_ = lean_ctor_get_uint8(v_toDefView_19861_, sizeof(void*)*10); +v_attrs_19865_ = lean_ctor_get(v_modifiers_19862_, 2); +v___x_19866_ = 1; +v___x_19896_ = lean_unsigned_to_nat(0u); +v___f_19897_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___closed__0)); +v___x_19898_ = lean_array_get_size(v_attrs_19865_); +v___x_19921_ = lean_nat_dec_lt(v___x_19896_, v___x_19898_); +if (v___x_19921_ == 0) +{ +goto v___jp_19917_; } else { -lean_object* v_type_19846_; lean_object* v___x_19847_; -v_type_19846_ = lean_ctor_get(v_toDefViewElabHeaderData_19823_, 5); -lean_inc(v___y_19817_); -lean_inc_ref(v___y_19816_); -lean_inc(v___y_19815_); -lean_inc_ref(v___y_19814_); -lean_inc_ref(v_type_19846_); -v___x_19847_ = l_Lean_Meta_isProp(v_type_19846_, v___y_19814_, v___y_19815_, v___y_19816_, v___y_19817_); -if (lean_obj_tag(v___x_19847_) == 0) +if (v___x_19921_ == 0) { -lean_object* v_a_19848_; uint8_t v___x_19849_; -v_a_19848_ = lean_ctor_get(v___x_19847_, 0); -lean_inc(v_a_19848_); -lean_dec_ref(v___x_19847_); -v___x_19849_ = lean_unbox(v_a_19848_); -lean_dec(v_a_19848_); -if (v___x_19849_ == 0) -{ -v___y_19839_ = v___x_19843_; -v___y_19840_ = v___x_19845_; -goto v___jp_19838_; +goto v___jp_19917_; } else { -v___y_19839_ = v___x_19843_; -v___y_19840_ = v___x_19843_; -goto v___jp_19838_; +size_t v___x_19922_; size_t v___x_19923_; uint8_t v___x_19924_; +v___x_19922_ = ((size_t)0ULL); +v___x_19923_ = lean_usize_of_nat(v___x_19898_); +v___x_19924_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__1(v_attrs_19865_, v___x_19922_, v___x_19923_); +if (v___x_19924_ == 0) +{ +goto v___jp_19917_; +} +else +{ +v_a_19868_ = v___x_19859_; +goto v___jp_19867_; +} +} +} +v___jp_19867_: +{ +if (v_a_19868_ == 0) +{ +size_t v___x_19869_; size_t v___x_19870_; +v___x_19869_ = ((size_t)1ULL); +v___x_19870_ = lean_usize_add(v_i_19852_, v___x_19869_); +v_i_19852_ = v___x_19870_; +goto _start; +} +else +{ +lean_object* v___x_19872_; lean_object* v___x_19873_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19872_ = lean_box(v___x_19866_); +v___x_19873_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19873_, 0, v___x_19872_); +return v___x_19873_; +} +} +v___jp_19874_: +{ +if (v_a_19875_ == 0) +{ +lean_object* v___x_19876_; lean_object* v___x_19877_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19876_ = lean_box(v___x_19866_); +v___x_19877_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19877_, 0, v___x_19876_); +return v___x_19877_; +} +else +{ +v_a_19868_ = v___x_19859_; +goto v___jp_19867_; +} +} +v___jp_19878_: +{ +if (v___y_19880_ == 0) +{ +v_a_19868_ = v___x_19859_; +goto v___jp_19867_; +} +else +{ +v_a_19875_ = v___y_19879_; +goto v___jp_19874_; +} +} +v___jp_19881_: +{ +uint8_t v___x_19882_; uint8_t v___x_19883_; +v___x_19882_ = 5; +v___x_19883_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19864_, v___x_19882_); +if (v___x_19883_ == 0) +{ +uint8_t v___x_19884_; uint8_t v___x_19885_; +v___x_19884_ = 1; +v___x_19885_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19864_, v___x_19884_); +if (v___x_19885_ == 0) +{ +v_a_19868_ = v___x_19859_; +goto v___jp_19867_; +} +else +{ +lean_object* v_type_19886_; lean_object* v___x_19887_; +v_type_19886_ = lean_ctor_get(v_toDefViewElabHeaderData_19863_, 5); +lean_inc(v___y_19857_); +lean_inc_ref(v___y_19856_); +lean_inc(v___y_19855_); +lean_inc_ref(v___y_19854_); +lean_inc_ref(v_type_19886_); +v___x_19887_ = l_Lean_Meta_isProp(v_type_19886_, v___y_19854_, v___y_19855_, v___y_19856_, v___y_19857_); +if (lean_obj_tag(v___x_19887_) == 0) +{ +lean_object* v_a_19888_; uint8_t v___x_19889_; +v_a_19888_ = lean_ctor_get(v___x_19887_, 0); +lean_inc(v_a_19888_); +lean_dec_ref(v___x_19887_); +v___x_19889_ = lean_unbox(v_a_19888_); +lean_dec(v_a_19888_); +if (v___x_19889_ == 0) +{ +v___y_19879_ = v___x_19883_; +v___y_19880_ = v___x_19885_; +goto v___jp_19878_; +} +else +{ +v___y_19879_ = v___x_19883_; +v___y_19880_ = v___x_19883_; +goto v___jp_19878_; } } else { -if (lean_obj_tag(v___x_19847_) == 0) +if (lean_obj_tag(v___x_19887_) == 0) { -lean_object* v_a_19850_; uint8_t v___x_19851_; -v_a_19850_ = lean_ctor_get(v___x_19847_, 0); -lean_inc(v_a_19850_); -lean_dec_ref(v___x_19847_); -v___x_19851_ = lean_unbox(v_a_19850_); -lean_dec(v_a_19850_); -v_a_19835_ = v___x_19851_; -goto v___jp_19834_; +lean_object* v_a_19890_; uint8_t v___x_19891_; +v_a_19890_ = lean_ctor_get(v___x_19887_, 0); +lean_inc(v_a_19890_); +lean_dec_ref(v___x_19887_); +v___x_19891_ = lean_unbox(v_a_19890_); +lean_dec(v_a_19890_); +v_a_19875_ = v___x_19891_; +goto v___jp_19874_; } else { -if (lean_obj_tag(v___x_19847_) == 0) +if (lean_obj_tag(v___x_19887_) == 0) { -lean_object* v_a_19852_; uint8_t v___x_19853_; -v_a_19852_ = lean_ctor_get(v___x_19847_, 0); -lean_inc(v_a_19852_); -lean_dec_ref(v___x_19847_); -v___x_19853_ = lean_unbox(v_a_19852_); -lean_dec(v_a_19852_); -v_a_19828_ = v___x_19853_; -goto v___jp_19827_; +lean_object* v_a_19892_; uint8_t v___x_19893_; +v_a_19892_ = lean_ctor_get(v___x_19887_, 0); +lean_inc(v_a_19892_); +lean_dec_ref(v___x_19887_); +v___x_19893_ = lean_unbox(v_a_19892_); +lean_dec(v_a_19892_); +v_a_19868_ = v___x_19893_; +goto v___jp_19867_; } else { -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -return v___x_19847_; -} -} -} -} -} -else -{ -lean_object* v___x_19854_; lean_object* v___x_19855_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19854_ = lean_box(v___x_19826_); -v___x_19855_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19855_, 0, v___x_19854_); -return v___x_19855_; -} -} -v___jp_19859_: -{ -uint8_t v___x_19860_; -v___x_19860_ = lean_nat_dec_lt(v___x_19856_, v___x_19858_); -if (v___x_19860_ == 0) -{ -goto v___jp_19841_; -} -else -{ -if (v___x_19860_ == 0) -{ -goto v___jp_19841_; -} -else -{ -size_t v___x_19861_; size_t v___x_19862_; uint8_t v___x_19863_; -v___x_19861_ = ((size_t)0ULL); -v___x_19862_ = lean_usize_of_nat(v___x_19858_); -v___x_19863_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(v_attrs_19825_, v___x_19861_, v___x_19862_); -if (v___x_19863_ == 0) -{ -goto v___jp_19841_; -} -else -{ -lean_object* v___x_19864_; lean_object* v___x_19865_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19864_ = lean_box(v___x_19826_); -v___x_19865_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19865_, 0, v___x_19864_); -return v___x_19865_; -} -} -} -} -v___jp_19866_: -{ -lean_object* v_attrs_19868_; uint8_t v___x_19869_; -v_attrs_19868_ = lean_ctor_get(v_sc_19810_, 9); -lean_inc(v_attrs_19868_); -v___x_19869_ = l_List_any___redArg(v_attrs_19868_, v___y_19867_); -if (v___x_19869_ == 0) -{ -goto v___jp_19859_; -} -else -{ -lean_object* v___x_19870_; lean_object* v___x_19871_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19870_ = lean_box(v___x_19826_); -v___x_19871_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19871_, 0, v___x_19870_); -return v___x_19871_; -} -} -v___jp_19872_: -{ -if (v___y_19874_ == 0) -{ -lean_dec_ref(v___y_19873_); -goto v___jp_19859_; -} -else -{ -v___y_19867_ = v___y_19873_; -goto v___jp_19866_; -} -} -v___jp_19875_: -{ -uint8_t v_isMeta_19876_; -v_isMeta_19876_ = lean_ctor_get_uint8(v_sc_19810_, sizeof(void*)*10 + 2); -v___y_19873_ = v___f_19857_; -v___y_19874_ = v_isMeta_19876_; -goto v___jp_19872_; -} -v___jp_19877_: -{ -uint8_t v___x_19878_; uint8_t v___x_19879_; -v___x_19878_ = 0; -v___x_19879_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19824_, v___x_19878_); -if (v___x_19879_ == 0) -{ -v___y_19873_ = v___f_19857_; -v___y_19874_ = v___x_19879_; -goto v___jp_19872_; -} -else -{ -uint8_t v___x_19880_; -v___x_19880_ = l_Lean_Elab_Modifiers_isMeta(v_modifiers_19822_); -if (v___x_19880_ == 0) -{ -if (v___x_19879_ == 0) -{ -goto v___jp_19875_; -} -else -{ -v___y_19867_ = v___f_19857_; -goto v___jp_19866_; -} -} -else -{ -goto v___jp_19875_; -} -} -} -} -else -{ -uint8_t v___x_19885_; lean_object* v___x_19886_; lean_object* v___x_19887_; -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec_ref(v_sc_19810_); -v___x_19885_ = 0; -v___x_19886_ = lean_box(v___x_19885_); -v___x_19887_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19887_, 0, v___x_19886_); +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); return v___x_19887_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___boxed(lean_object* v_sc_19888_, lean_object* v_as_19889_, lean_object* v_i_19890_, lean_object* v_stop_19891_, lean_object* v___y_19892_, lean_object* v___y_19893_, lean_object* v___y_19894_, lean_object* v___y_19895_, lean_object* v___y_19896_){ +} +} +else +{ +lean_object* v___x_19894_; lean_object* v___x_19895_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19894_ = lean_box(v___x_19866_); +v___x_19895_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19895_, 0, v___x_19894_); +return v___x_19895_; +} +} +v___jp_19899_: +{ +uint8_t v___x_19900_; +v___x_19900_ = lean_nat_dec_lt(v___x_19896_, v___x_19898_); +if (v___x_19900_ == 0) +{ +goto v___jp_19881_; +} +else +{ +if (v___x_19900_ == 0) +{ +goto v___jp_19881_; +} +else +{ +size_t v___x_19901_; size_t v___x_19902_; uint8_t v___x_19903_; +v___x_19901_ = ((size_t)0ULL); +v___x_19902_ = lean_usize_of_nat(v___x_19898_); +v___x_19903_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__0(v_attrs_19865_, v___x_19901_, v___x_19902_); +if (v___x_19903_ == 0) +{ +goto v___jp_19881_; +} +else +{ +lean_object* v___x_19904_; lean_object* v___x_19905_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19904_ = lean_box(v___x_19866_); +v___x_19905_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19905_, 0, v___x_19904_); +return v___x_19905_; +} +} +} +} +v___jp_19906_: +{ +lean_object* v_attrs_19908_; uint8_t v___x_19909_; +v_attrs_19908_ = lean_ctor_get(v_sc_19850_, 9); +lean_inc(v_attrs_19908_); +v___x_19909_ = l_List_any___redArg(v_attrs_19908_, v___y_19907_); +if (v___x_19909_ == 0) +{ +goto v___jp_19899_; +} +else +{ +lean_object* v___x_19910_; lean_object* v___x_19911_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19910_ = lean_box(v___x_19866_); +v___x_19911_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19911_, 0, v___x_19910_); +return v___x_19911_; +} +} +v___jp_19912_: +{ +if (v___y_19914_ == 0) +{ +lean_dec_ref(v___y_19913_); +goto v___jp_19899_; +} +else +{ +v___y_19907_ = v___y_19913_; +goto v___jp_19906_; +} +} +v___jp_19915_: +{ +uint8_t v_isMeta_19916_; +v_isMeta_19916_ = lean_ctor_get_uint8(v_sc_19850_, sizeof(void*)*10 + 2); +v___y_19913_ = v___f_19897_; +v___y_19914_ = v_isMeta_19916_; +goto v___jp_19912_; +} +v___jp_19917_: +{ +uint8_t v___x_19918_; uint8_t v___x_19919_; +v___x_19918_ = 0; +v___x_19919_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_19864_, v___x_19918_); +if (v___x_19919_ == 0) +{ +v___y_19913_ = v___f_19897_; +v___y_19914_ = v___x_19919_; +goto v___jp_19912_; +} +else +{ +uint8_t v___x_19920_; +v___x_19920_ = l_Lean_Elab_Modifiers_isMeta(v_modifiers_19862_); +if (v___x_19920_ == 0) +{ +if (v___x_19919_ == 0) +{ +goto v___jp_19915_; +} +else +{ +v___y_19907_ = v___f_19897_; +goto v___jp_19906_; +} +} +else +{ +goto v___jp_19915_; +} +} +} +} +else +{ +uint8_t v___x_19925_; lean_object* v___x_19926_; lean_object* v___x_19927_; +lean_dec(v___y_19857_); +lean_dec_ref(v___y_19856_); +lean_dec(v___y_19855_); +lean_dec_ref(v___y_19854_); +lean_dec_ref(v_sc_19850_); +v___x_19925_ = 0; +v___x_19926_ = lean_box(v___x_19925_); +v___x_19927_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19927_, 0, v___x_19926_); +return v___x_19927_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___boxed(lean_object* v_sc_19928_, lean_object* v_as_19929_, lean_object* v_i_19930_, lean_object* v_stop_19931_, lean_object* v___y_19932_, lean_object* v___y_19933_, lean_object* v___y_19934_, lean_object* v___y_19935_, lean_object* v___y_19936_){ _start: { -size_t v_i_boxed_19897_; size_t v_stop_boxed_19898_; lean_object* v_res_19899_; -v_i_boxed_19897_ = lean_unbox_usize(v_i_19890_); -lean_dec(v_i_19890_); -v_stop_boxed_19898_ = lean_unbox_usize(v_stop_19891_); -lean_dec(v_stop_19891_); -v_res_19899_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_19888_, v_as_19889_, v_i_boxed_19897_, v_stop_boxed_19898_, v___y_19892_, v___y_19893_, v___y_19894_, v___y_19895_); -lean_dec_ref(v_as_19889_); -return v_res_19899_; +size_t v_i_boxed_19937_; size_t v_stop_boxed_19938_; lean_object* v_res_19939_; +v_i_boxed_19937_ = lean_unbox_usize(v_i_19930_); +lean_dec(v_i_19930_); +v_stop_boxed_19938_ = lean_unbox_usize(v_stop_19931_); +lean_dec(v_stop_19931_); +v_res_19939_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_19928_, v_as_19929_, v_i_boxed_19937_, v_stop_boxed_19938_, v___y_19932_, v___y_19933_, v___y_19934_, v___y_19935_); +lean_dec_ref(v_as_19929_); +return v_res_19939_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4(lean_object* v_headers_19900_, lean_object* v_views_19901_, lean_object* v_vars_19902_, lean_object* v_sc_19903_, lean_object* v___f_19904_, lean_object* v_funFVars_19905_, lean_object* v___y_19906_, lean_object* v___y_19907_, lean_object* v___y_19908_, lean_object* v___y_19909_, lean_object* v___y_19910_, lean_object* v___y_19911_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4(lean_object* v_headers_19940_, lean_object* v_views_19941_, lean_object* v_vars_19942_, lean_object* v_sc_19943_, lean_object* v___f_19944_, lean_object* v_funFVars_19945_, lean_object* v___y_19946_, lean_object* v___y_19947_, lean_object* v___y_19948_, lean_object* v___y_19949_, lean_object* v___y_19950_, lean_object* v___y_19951_){ _start: { -lean_object* v___y_19914_; lean_object* v___y_19915_; lean_object* v___y_19916_; lean_object* v___y_19917_; lean_object* v___y_19918_; lean_object* v___y_19919_; lean_object* v___y_19920_; lean_object* v___y_19921_; uint8_t v_a_19922_; lean_object* v___y_19932_; lean_object* v___y_19933_; lean_object* v___y_19934_; lean_object* v___y_19935_; lean_object* v___y_19936_; lean_object* v___y_19937_; lean_object* v___y_19938_; lean_object* v___y_19939_; lean_object* v___y_19940_; lean_object* v___y_19952_; lean_object* v___y_19953_; lean_object* v___y_19954_; lean_object* v___y_19955_; lean_object* v___y_19956_; lean_object* v___y_19957_; lean_object* v___x_19968_; lean_object* v_options_19969_; lean_object* v___x_19970_; uint8_t v___x_19971_; -v___x_19968_ = lean_st_ref_get(v___y_19911_); -v_options_19969_ = lean_ctor_get(v___y_19910_, 2); -v___x_19970_ = l_Lean_Elab_Term_warn_exposeOnPrivate; -v___x_19971_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_19969_, v___x_19970_); -if (v___x_19971_ == 0) +lean_object* v___y_19954_; lean_object* v___y_19955_; lean_object* v___y_19956_; lean_object* v___y_19957_; lean_object* v___y_19958_; lean_object* v___y_19959_; lean_object* v___y_19960_; lean_object* v___y_19961_; uint8_t v_a_19962_; lean_object* v___y_19972_; lean_object* v___y_19973_; lean_object* v___y_19974_; lean_object* v___y_19975_; lean_object* v___y_19976_; lean_object* v___y_19977_; lean_object* v___y_19978_; lean_object* v___y_19979_; lean_object* v___y_19980_; lean_object* v___y_19992_; lean_object* v___y_19993_; lean_object* v___y_19994_; lean_object* v___y_19995_; lean_object* v___y_19996_; lean_object* v___y_19997_; lean_object* v___x_20008_; lean_object* v_options_20009_; lean_object* v___x_20010_; uint8_t v___x_20011_; +v___x_20008_ = lean_st_ref_get(v___y_19951_); +v_options_20009_ = lean_ctor_get(v___y_19950_, 2); +v___x_20010_ = l_Lean_Elab_Term_warn_exposeOnPrivate; +v___x_20011_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_20009_, v___x_20010_); +if (v___x_20011_ == 0) { -lean_dec(v___x_19968_); -v___y_19952_ = v___y_19906_; -v___y_19953_ = v___y_19907_; -v___y_19954_ = v___y_19908_; -v___y_19955_ = v___y_19909_; -v___y_19956_ = v___y_19910_; -v___y_19957_ = v___y_19911_; -goto v___jp_19951_; +lean_dec(v___x_20008_); +v___y_19992_ = v___y_19946_; +v___y_19993_ = v___y_19947_; +v___y_19994_ = v___y_19948_; +v___y_19995_ = v___y_19949_; +v___y_19996_ = v___y_19950_; +v___y_19997_ = v___y_19951_; +goto v___jp_19991_; } else { -lean_object* v_env_19972_; lean_object* v___x_19973_; uint8_t v_isModule_19974_; -v_env_19972_ = lean_ctor_get(v___x_19968_, 0); -lean_inc_ref(v_env_19972_); -lean_dec(v___x_19968_); -v___x_19973_ = l_Lean_Environment_header(v_env_19972_); -v_isModule_19974_ = lean_ctor_get_uint8(v___x_19973_, sizeof(void*)*7 + 4); -lean_dec_ref(v___x_19973_); -if (v_isModule_19974_ == 0) +lean_object* v_env_20012_; lean_object* v___x_20013_; uint8_t v_isModule_20014_; +v_env_20012_ = lean_ctor_get(v___x_20008_, 0); +lean_inc_ref(v_env_20012_); +lean_dec(v___x_20008_); +v___x_20013_ = l_Lean_Environment_header(v_env_20012_); +v_isModule_20014_ = lean_ctor_get_uint8(v___x_20013_, sizeof(void*)*7 + 4); +lean_dec_ref(v___x_20013_); +if (v_isModule_20014_ == 0) { -lean_dec_ref(v_env_19972_); -v___y_19952_ = v___y_19906_; -v___y_19953_ = v___y_19907_; -v___y_19954_ = v___y_19908_; -v___y_19955_ = v___y_19909_; -v___y_19956_ = v___y_19910_; -v___y_19957_ = v___y_19911_; -goto v___jp_19951_; +lean_dec_ref(v_env_20012_); +v___y_19992_ = v___y_19946_; +v___y_19993_ = v___y_19947_; +v___y_19994_ = v___y_19948_; +v___y_19995_ = v___y_19949_; +v___y_19996_ = v___y_19950_; +v___y_19997_ = v___y_19951_; +goto v___jp_19991_; } else { -uint8_t v_isExporting_19975_; -v_isExporting_19975_ = lean_ctor_get_uint8(v_env_19972_, sizeof(void*)*8); -lean_dec_ref(v_env_19972_); -if (v_isExporting_19975_ == 0) +uint8_t v_isExporting_20015_; +v_isExporting_20015_ = lean_ctor_get_uint8(v_env_20012_, sizeof(void*)*8); +lean_dec_ref(v_env_20012_); +if (v_isExporting_20015_ == 0) { -lean_object* v___x_19976_; size_t v_sz_19977_; size_t v___x_19978_; lean_object* v___x_19979_; -v___x_19976_ = lean_box(0); -v_sz_19977_ = lean_array_size(v_headers_19900_); -v___x_19978_ = ((size_t)0ULL); -lean_inc_ref(v___y_19910_); -v___x_19979_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(v_headers_19900_, v_sz_19977_, v___x_19978_, v___x_19976_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_, v___y_19910_, v___y_19911_); -if (lean_obj_tag(v___x_19979_) == 0) +lean_object* v___x_20016_; size_t v_sz_20017_; size_t v___x_20018_; lean_object* v___x_20019_; +v___x_20016_ = lean_box(0); +v_sz_20017_ = lean_array_size(v_headers_19940_); +v___x_20018_ = ((size_t)0ULL); +lean_inc_ref(v___y_19950_); +v___x_20019_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__18(v_headers_19940_, v_sz_20017_, v___x_20018_, v___x_20016_, v___y_19946_, v___y_19947_, v___y_19948_, v___y_19949_, v___y_19950_, v___y_19951_); +if (lean_obj_tag(v___x_20019_) == 0) { -lean_dec_ref(v___x_19979_); -v___y_19952_ = v___y_19906_; -v___y_19953_ = v___y_19907_; -v___y_19954_ = v___y_19908_; -v___y_19955_ = v___y_19909_; -v___y_19956_ = v___y_19910_; -v___y_19957_ = v___y_19911_; -goto v___jp_19951_; +lean_dec_ref(v___x_20019_); +v___y_19992_ = v___y_19946_; +v___y_19993_ = v___y_19947_; +v___y_19994_ = v___y_19948_; +v___y_19995_ = v___y_19949_; +v___y_19996_ = v___y_19950_; +v___y_19997_ = v___y_19951_; +goto v___jp_19991_; } else { -lean_dec(v___y_19911_); -lean_dec_ref(v___y_19910_); -lean_dec(v___y_19909_); -lean_dec_ref(v___y_19908_); -lean_dec(v___y_19907_); -lean_dec_ref(v___y_19906_); -lean_dec_ref(v_funFVars_19905_); -lean_dec_ref(v___f_19904_); -lean_dec_ref(v_sc_19903_); -lean_dec_ref(v_vars_19902_); -lean_dec_ref(v_views_19901_); -lean_dec_ref(v_headers_19900_); -return v___x_19979_; +lean_dec(v___y_19951_); +lean_dec_ref(v___y_19950_); +lean_dec(v___y_19949_); +lean_dec_ref(v___y_19948_); +lean_dec(v___y_19947_); +lean_dec_ref(v___y_19946_); +lean_dec_ref(v_funFVars_19945_); +lean_dec_ref(v___f_19944_); +lean_dec_ref(v_sc_19943_); +lean_dec_ref(v_vars_19942_); +lean_dec_ref(v_views_19941_); +lean_dec_ref(v_headers_19940_); +return v___x_20019_; } } else { -v___y_19952_ = v___y_19906_; -v___y_19953_ = v___y_19907_; -v___y_19954_ = v___y_19908_; -v___y_19955_ = v___y_19909_; -v___y_19956_ = v___y_19910_; -v___y_19957_ = v___y_19911_; -goto v___jp_19951_; +v___y_19992_ = v___y_19946_; +v___y_19993_ = v___y_19947_; +v___y_19994_ = v___y_19948_; +v___y_19995_ = v___y_19949_; +v___y_19996_ = v___y_19950_; +v___y_19997_ = v___y_19951_; +goto v___jp_19991_; } } } -v___jp_19913_: +v___jp_19953_: { -size_t v_sz_19923_; size_t v___x_19924_; lean_object* v___x_19925_; lean_object* v___x_19926_; lean_object* v___f_19927_; lean_object* v___x_19928_; lean_object* v___f_19929_; lean_object* v___x_19930_; -v_sz_19923_ = lean_array_size(v_headers_19900_); -v___x_19924_ = ((size_t)0ULL); -lean_inc_ref(v_headers_19900_); -v___x_19925_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(v_sz_19923_, v___x_19924_, v_headers_19900_); -v___x_19926_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); -lean_inc(v___y_19915_); -v___f_19927_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2___boxed), 14, 7); -lean_closure_set(v___f_19927_, 0, v_funFVars_19905_); -lean_closure_set(v___f_19927_, 1, v___y_19915_); -lean_closure_set(v___f_19927_, 2, v_views_19901_); -lean_closure_set(v___f_19927_, 3, v___x_19926_); -lean_closure_set(v___f_19927_, 4, v_vars_19902_); -lean_closure_set(v___f_19927_, 5, v_sc_19903_); -lean_closure_set(v___f_19927_, 6, v___x_19925_); -v___x_19928_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); -v___f_19929_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3___boxed), 12, 5); -lean_closure_set(v___f_19929_, 0, v___f_19927_); -lean_closure_set(v___f_19929_, 1, v___y_19915_); -lean_closure_set(v___f_19929_, 2, v___y_19914_); -lean_closure_set(v___f_19929_, 3, v_headers_19900_); -lean_closure_set(v___f_19929_, 4, v___x_19928_); -v___x_19930_ = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(v___f_19929_, v_a_19922_, v___y_19918_, v___y_19921_, v___y_19916_, v___y_19920_, v___y_19919_, v___y_19917_); -return v___x_19930_; -} -v___jp_19931_: -{ -if (lean_obj_tag(v___y_19940_) == 0) -{ -lean_object* v_a_19941_; uint8_t v___x_19942_; -v_a_19941_ = lean_ctor_get(v___y_19940_, 0); -lean_inc(v_a_19941_); -lean_dec_ref(v___y_19940_); -v___x_19942_ = lean_unbox(v_a_19941_); -lean_dec(v_a_19941_); -v___y_19914_ = v___y_19934_; -v___y_19915_ = v___y_19938_; -v___y_19916_ = v___y_19937_; -v___y_19917_ = v___y_19935_; -v___y_19918_ = v___y_19933_; -v___y_19919_ = v___y_19939_; -v___y_19920_ = v___y_19936_; -v___y_19921_ = v___y_19932_; -v_a_19922_ = v___x_19942_; -goto v___jp_19913_; -} -else -{ -lean_object* v_a_19943_; lean_object* v___x_19945_; uint8_t v_isShared_19946_; uint8_t v_isSharedCheck_19950_; -lean_dec_ref(v___y_19939_); -lean_dec(v___y_19938_); -lean_dec_ref(v___y_19937_); -lean_dec(v___y_19936_); -lean_dec(v___y_19935_); -lean_dec(v___y_19934_); -lean_dec_ref(v___y_19933_); -lean_dec(v___y_19932_); -lean_dec_ref(v_funFVars_19905_); -lean_dec_ref(v_sc_19903_); -lean_dec_ref(v_vars_19902_); -lean_dec_ref(v_views_19901_); -lean_dec_ref(v_headers_19900_); -v_a_19943_ = lean_ctor_get(v___y_19940_, 0); -v_isSharedCheck_19950_ = !lean_is_exclusive(v___y_19940_); -if (v_isSharedCheck_19950_ == 0) -{ -v___x_19945_ = v___y_19940_; -v_isShared_19946_ = v_isSharedCheck_19950_; -goto v_resetjp_19944_; -} -else -{ -lean_inc(v_a_19943_); -lean_dec(v___y_19940_); -v___x_19945_ = lean_box(0); -v_isShared_19946_ = v_isSharedCheck_19950_; -goto v_resetjp_19944_; -} -v_resetjp_19944_: -{ -lean_object* v___x_19948_; -if (v_isShared_19946_ == 0) -{ -v___x_19948_ = v___x_19945_; -goto v_reusejp_19947_; -} -else -{ -lean_object* v_reuseFailAlloc_19949_; -v_reuseFailAlloc_19949_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19949_, 0, v_a_19943_); -v___x_19948_ = v_reuseFailAlloc_19949_; -goto v_reusejp_19947_; -} -v_reusejp_19947_: -{ -return v___x_19948_; -} -} -} -} -v___jp_19951_: -{ -lean_object* v___x_19958_; lean_object* v___x_19959_; uint8_t v___x_19960_; -v___x_19958_ = lean_unsigned_to_nat(0u); -v___x_19959_ = lean_array_get_size(v_headers_19900_); -v___x_19960_ = lean_nat_dec_lt(v___x_19958_, v___x_19959_); -if (v___x_19960_ == 0) -{ -lean_object* v___x_19961_; lean_object* v___x_19962_; -v___x_19961_ = lean_box(v___x_19960_); -lean_inc(v___y_19957_); -lean_inc_ref(v___y_19956_); +size_t v_sz_19963_; size_t v___x_19964_; lean_object* v___x_19965_; lean_object* v___x_19966_; lean_object* v___f_19967_; lean_object* v___x_19968_; lean_object* v___f_19969_; lean_object* v___x_19970_; +v_sz_19963_ = lean_array_size(v_headers_19940_); +v___x_19964_ = ((size_t)0ULL); +lean_inc_ref(v_headers_19940_); +v___x_19965_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__4(v_sz_19963_, v___x_19964_, v_headers_19940_); +v___x_19966_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); lean_inc(v___y_19955_); -lean_inc_ref(v___y_19954_); -lean_inc(v___y_19953_); -lean_inc_ref(v___y_19952_); -v___x_19962_ = lean_apply_8(v___f_19904_, v___x_19961_, v___y_19952_, v___y_19953_, v___y_19954_, v___y_19955_, v___y_19956_, v___y_19957_, lean_box(0)); -v___y_19932_ = v___y_19953_; -v___y_19933_ = v___y_19952_; -v___y_19934_ = v___x_19959_; -v___y_19935_ = v___y_19957_; -v___y_19936_ = v___y_19955_; -v___y_19937_ = v___y_19954_; -v___y_19938_ = v___x_19958_; -v___y_19939_ = v___y_19956_; -v___y_19940_ = v___x_19962_; -goto v___jp_19931_; +v___f_19967_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__2___boxed), 14, 7); +lean_closure_set(v___f_19967_, 0, v_funFVars_19945_); +lean_closure_set(v___f_19967_, 1, v___y_19955_); +lean_closure_set(v___f_19967_, 2, v_views_19941_); +lean_closure_set(v___f_19967_, 3, v___x_19966_); +lean_closure_set(v___f_19967_, 4, v_vars_19942_); +lean_closure_set(v___f_19967_, 5, v_sc_19943_); +lean_closure_set(v___f_19967_, 6, v___x_19965_); +v___x_19968_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); +v___f_19969_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__3___boxed), 12, 5); +lean_closure_set(v___f_19969_, 0, v___f_19967_); +lean_closure_set(v___f_19969_, 1, v___y_19955_); +lean_closure_set(v___f_19969_, 2, v___y_19954_); +lean_closure_set(v___f_19969_, 3, v_headers_19940_); +lean_closure_set(v___f_19969_, 4, v___x_19968_); +v___x_19970_ = l_Lean_withoutExporting___at___00Lean_Meta_abstractProof___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__4_spec__5___redArg(v___f_19969_, v_a_19962_, v___y_19961_, v___y_19957_, v___y_19956_, v___y_19960_, v___y_19958_, v___y_19959_); +return v___x_19970_; +} +v___jp_19971_: +{ +if (lean_obj_tag(v___y_19980_) == 0) +{ +lean_object* v_a_19981_; uint8_t v___x_19982_; +v_a_19981_ = lean_ctor_get(v___y_19980_, 0); +lean_inc(v_a_19981_); +lean_dec_ref(v___y_19980_); +v___x_19982_ = lean_unbox(v_a_19981_); +lean_dec(v_a_19981_); +v___y_19954_ = v___y_19974_; +v___y_19955_ = v___y_19975_; +v___y_19956_ = v___y_19979_; +v___y_19957_ = v___y_19972_; +v___y_19958_ = v___y_19973_; +v___y_19959_ = v___y_19978_; +v___y_19960_ = v___y_19976_; +v___y_19961_ = v___y_19977_; +v_a_19962_ = v___x_19982_; +goto v___jp_19953_; } else { -if (v___x_19960_ == 0) +lean_object* v_a_19983_; lean_object* v___x_19985_; uint8_t v_isShared_19986_; uint8_t v_isSharedCheck_19990_; +lean_dec_ref(v___y_19979_); +lean_dec(v___y_19978_); +lean_dec_ref(v___y_19977_); +lean_dec(v___y_19976_); +lean_dec(v___y_19975_); +lean_dec(v___y_19974_); +lean_dec_ref(v___y_19973_); +lean_dec(v___y_19972_); +lean_dec_ref(v_funFVars_19945_); +lean_dec_ref(v_sc_19943_); +lean_dec_ref(v_vars_19942_); +lean_dec_ref(v_views_19941_); +lean_dec_ref(v_headers_19940_); +v_a_19983_ = lean_ctor_get(v___y_19980_, 0); +v_isSharedCheck_19990_ = !lean_is_exclusive(v___y_19980_); +if (v_isSharedCheck_19990_ == 0) { -lean_dec_ref(v___f_19904_); -v___y_19914_ = v___x_19959_; -v___y_19915_ = v___x_19958_; -v___y_19916_ = v___y_19954_; -v___y_19917_ = v___y_19957_; -v___y_19918_ = v___y_19952_; -v___y_19919_ = v___y_19956_; -v___y_19920_ = v___y_19955_; -v___y_19921_ = v___y_19953_; -v_a_19922_ = v___x_19960_; -goto v___jp_19913_; +v___x_19985_ = v___y_19980_; +v_isShared_19986_ = v_isSharedCheck_19990_; +goto v_resetjp_19984_; } else { -size_t v___x_19963_; size_t v___x_19964_; lean_object* v___x_19965_; -v___x_19963_ = ((size_t)0ULL); -v___x_19964_ = lean_usize_of_nat(v___x_19959_); -lean_inc(v___y_19957_); -lean_inc_ref(v___y_19956_); -lean_inc(v___y_19955_); -lean_inc_ref(v___y_19954_); -lean_inc_ref(v_sc_19903_); -v___x_19965_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_19903_, v_headers_19900_, v___x_19963_, v___x_19964_, v___y_19954_, v___y_19955_, v___y_19956_, v___y_19957_); -if (lean_obj_tag(v___x_19965_) == 0) +lean_inc(v_a_19983_); +lean_dec(v___y_19980_); +v___x_19985_ = lean_box(0); +v_isShared_19986_ = v_isSharedCheck_19990_; +goto v_resetjp_19984_; +} +v_resetjp_19984_: { -lean_object* v_a_19966_; lean_object* v___x_19967_; -v_a_19966_ = lean_ctor_get(v___x_19965_, 0); -lean_inc(v_a_19966_); -lean_dec_ref(v___x_19965_); -lean_inc(v___y_19957_); -lean_inc_ref(v___y_19956_); -lean_inc(v___y_19955_); -lean_inc_ref(v___y_19954_); -lean_inc(v___y_19953_); -lean_inc_ref(v___y_19952_); -v___x_19967_ = lean_apply_8(v___f_19904_, v_a_19966_, v___y_19952_, v___y_19953_, v___y_19954_, v___y_19955_, v___y_19956_, v___y_19957_, lean_box(0)); -v___y_19932_ = v___y_19953_; -v___y_19933_ = v___y_19952_; -v___y_19934_ = v___x_19959_; -v___y_19935_ = v___y_19957_; -v___y_19936_ = v___y_19955_; -v___y_19937_ = v___y_19954_; -v___y_19938_ = v___x_19958_; -v___y_19939_ = v___y_19956_; -v___y_19940_ = v___x_19967_; -goto v___jp_19931_; +lean_object* v___x_19988_; +if (v_isShared_19986_ == 0) +{ +v___x_19988_ = v___x_19985_; +goto v_reusejp_19987_; } else { -lean_dec_ref(v___f_19904_); -v___y_19932_ = v___y_19953_; -v___y_19933_ = v___y_19952_; -v___y_19934_ = v___x_19959_; -v___y_19935_ = v___y_19957_; -v___y_19936_ = v___y_19955_; -v___y_19937_ = v___y_19954_; -v___y_19938_ = v___x_19958_; -v___y_19939_ = v___y_19956_; -v___y_19940_ = v___x_19965_; -goto v___jp_19931_; +lean_object* v_reuseFailAlloc_19989_; +v_reuseFailAlloc_19989_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19989_, 0, v_a_19983_); +v___x_19988_ = v_reuseFailAlloc_19989_; +goto v_reusejp_19987_; } -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed(lean_object* v_headers_19980_, lean_object* v_views_19981_, lean_object* v_vars_19982_, lean_object* v_sc_19983_, lean_object* v___f_19984_, lean_object* v_funFVars_19985_, lean_object* v___y_19986_, lean_object* v___y_19987_, lean_object* v___y_19988_, lean_object* v___y_19989_, lean_object* v___y_19990_, lean_object* v___y_19991_, lean_object* v___y_19992_){ -_start: +v_reusejp_19987_: { -lean_object* v_res_19993_; -v_res_19993_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4(v_headers_19980_, v_views_19981_, v_vars_19982_, v_sc_19983_, v___f_19984_, v_funFVars_19985_, v___y_19986_, v___y_19987_, v___y_19988_, v___y_19989_, v___y_19990_, v___y_19991_); -return v_res_19993_; +return v___x_19988_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(lean_object* v_vars_19995_, lean_object* v_sc_19996_, lean_object* v_views_19997_, lean_object* v_headers_19998_, lean_object* v_a_19999_, lean_object* v_a_20000_, lean_object* v_a_20001_, lean_object* v_a_20002_, lean_object* v_a_20003_, lean_object* v_a_20004_){ -_start: +} +} +v___jp_19991_: { -lean_object* v___f_20006_; lean_object* v___f_20007_; lean_object* v___x_20008_; -v___f_20006_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___closed__0)); -lean_inc_ref(v_headers_19998_); -v___f_20007_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed), 13, 5); -lean_closure_set(v___f_20007_, 0, v_headers_19998_); -lean_closure_set(v___f_20007_, 1, v_views_19997_); -lean_closure_set(v___f_20007_, 2, v_vars_19995_); -lean_closure_set(v___f_20007_, 3, v_sc_19996_); -lean_closure_set(v___f_20007_, 4, v___f_20006_); -v___x_20008_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___redArg(v_headers_19998_, v___f_20007_, v_a_19999_, v_a_20000_, v_a_20001_, v_a_20002_, v_a_20003_, v_a_20004_); -return v___x_20008_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___boxed(lean_object* v_vars_20009_, lean_object* v_sc_20010_, lean_object* v_views_20011_, lean_object* v_headers_20012_, lean_object* v_a_20013_, lean_object* v_a_20014_, lean_object* v_a_20015_, lean_object* v_a_20016_, lean_object* v_a_20017_, lean_object* v_a_20018_, lean_object* v_a_20019_){ -_start: +lean_object* v___x_19998_; lean_object* v___x_19999_; uint8_t v___x_20000_; +v___x_19998_ = lean_unsigned_to_nat(0u); +v___x_19999_ = lean_array_get_size(v_headers_19940_); +v___x_20000_ = lean_nat_dec_lt(v___x_19998_, v___x_19999_); +if (v___x_20000_ == 0) { -lean_object* v_res_20020_; -v_res_20020_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20009_, v_sc_20010_, v_views_20011_, v_headers_20012_, v_a_20013_, v_a_20014_, v_a_20015_, v_a_20016_, v_a_20017_, v_a_20018_); -return v_res_20020_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6(lean_object* v_x_20021_, lean_object* v_x_20022_, lean_object* v___y_20023_, lean_object* v___y_20024_, lean_object* v___y_20025_, lean_object* v___y_20026_, lean_object* v___y_20027_, lean_object* v___y_20028_){ -_start: -{ -lean_object* v___x_20030_; -v___x_20030_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_x_20021_, v_x_20022_, v___y_20025_, v___y_20026_, v___y_20027_, v___y_20028_); -return v___x_20030_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___boxed(lean_object* v_x_20031_, lean_object* v_x_20032_, lean_object* v___y_20033_, lean_object* v___y_20034_, lean_object* v___y_20035_, lean_object* v___y_20036_, lean_object* v___y_20037_, lean_object* v___y_20038_, lean_object* v___y_20039_){ -_start: -{ -lean_object* v_res_20040_; -v_res_20040_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6(v_x_20031_, v_x_20032_, v___y_20033_, v___y_20034_, v___y_20035_, v___y_20036_, v___y_20037_, v___y_20038_); -lean_dec(v___y_20034_); -lean_dec_ref(v___y_20033_); -return v_res_20040_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8(lean_object* v_00_u03b2_20041_, lean_object* v_m_20042_, lean_object* v_a_20043_, lean_object* v_fallback_20044_){ -_start: -{ -lean_object* v___x_20045_; -v___x_20045_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v_m_20042_, v_a_20043_, v_fallback_20044_); -return v___x_20045_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___boxed(lean_object* v_00_u03b2_20046_, lean_object* v_m_20047_, lean_object* v_a_20048_, lean_object* v_fallback_20049_){ -_start: -{ -lean_object* v_res_20050_; -v_res_20050_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8(v_00_u03b2_20046_, v_m_20047_, v_a_20048_, v_fallback_20049_); -lean_dec(v_fallback_20049_); -lean_dec(v_a_20048_); -lean_dec_ref(v_m_20047_); -return v_res_20050_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10(lean_object* v_as_20051_, size_t v_sz_20052_, size_t v_i_20053_, lean_object* v_b_20054_, lean_object* v___y_20055_, lean_object* v___y_20056_, lean_object* v___y_20057_, lean_object* v___y_20058_, lean_object* v___y_20059_, lean_object* v___y_20060_){ -_start: -{ -lean_object* v___x_20062_; -v___x_20062_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_as_20051_, v_sz_20052_, v_i_20053_, v_b_20054_, v___y_20057_, v___y_20058_, v___y_20059_, v___y_20060_); -return v___x_20062_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___boxed(lean_object* v_as_20063_, lean_object* v_sz_20064_, lean_object* v_i_20065_, lean_object* v_b_20066_, lean_object* v___y_20067_, lean_object* v___y_20068_, lean_object* v___y_20069_, lean_object* v___y_20070_, lean_object* v___y_20071_, lean_object* v___y_20072_, lean_object* v___y_20073_){ -_start: -{ -size_t v_sz_boxed_20074_; size_t v_i_boxed_20075_; lean_object* v_res_20076_; -v_sz_boxed_20074_ = lean_unbox_usize(v_sz_20064_); -lean_dec(v_sz_20064_); -v_i_boxed_20075_ = lean_unbox_usize(v_i_20065_); -lean_dec(v_i_20065_); -v_res_20076_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10(v_as_20063_, v_sz_boxed_20074_, v_i_boxed_20075_, v_b_20066_, v___y_20067_, v___y_20068_, v___y_20069_, v___y_20070_, v___y_20071_, v___y_20072_); -lean_dec(v___y_20072_); -lean_dec_ref(v___y_20071_); -lean_dec(v___y_20070_); -lean_dec_ref(v___y_20069_); -lean_dec(v___y_20068_); -lean_dec_ref(v___y_20067_); -lean_dec_ref(v_as_20063_); -return v_res_20076_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11(lean_object* v_as_20077_, size_t v_sz_20078_, size_t v_i_20079_, lean_object* v_b_20080_, lean_object* v___y_20081_, lean_object* v___y_20082_, lean_object* v___y_20083_, lean_object* v___y_20084_, lean_object* v___y_20085_, lean_object* v___y_20086_){ -_start: -{ -lean_object* v___x_20088_; -v___x_20088_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_as_20077_, v_sz_20078_, v_i_20079_, v_b_20080_, v___y_20083_, v___y_20084_, v___y_20085_, v___y_20086_); -return v___x_20088_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___boxed(lean_object* v_as_20089_, lean_object* v_sz_20090_, lean_object* v_i_20091_, lean_object* v_b_20092_, lean_object* v___y_20093_, lean_object* v___y_20094_, lean_object* v___y_20095_, lean_object* v___y_20096_, lean_object* v___y_20097_, lean_object* v___y_20098_, lean_object* v___y_20099_){ -_start: -{ -size_t v_sz_boxed_20100_; size_t v_i_boxed_20101_; lean_object* v_res_20102_; -v_sz_boxed_20100_ = lean_unbox_usize(v_sz_20090_); -lean_dec(v_sz_20090_); -v_i_boxed_20101_ = lean_unbox_usize(v_i_20091_); -lean_dec(v_i_20091_); -v_res_20102_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11(v_as_20089_, v_sz_boxed_20100_, v_i_boxed_20101_, v_b_20092_, v___y_20093_, v___y_20094_, v___y_20095_, v___y_20096_, v___y_20097_, v___y_20098_); -lean_dec(v___y_20098_); -lean_dec_ref(v___y_20097_); -lean_dec(v___y_20096_); -lean_dec_ref(v___y_20095_); -lean_dec(v___y_20094_); -lean_dec_ref(v___y_20093_); -lean_dec_ref(v_as_20089_); -return v_res_20102_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13(size_t v_sz_20103_, size_t v_i_20104_, lean_object* v_bs_20105_, lean_object* v___y_20106_, lean_object* v___y_20107_, lean_object* v___y_20108_, lean_object* v___y_20109_, lean_object* v___y_20110_, lean_object* v___y_20111_){ -_start: -{ -lean_object* v___x_20113_; -v___x_20113_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_20103_, v_i_20104_, v_bs_20105_, v___y_20108_, v___y_20109_, v___y_20110_, v___y_20111_); -return v___x_20113_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___boxed(lean_object* v_sz_20114_, lean_object* v_i_20115_, lean_object* v_bs_20116_, lean_object* v___y_20117_, lean_object* v___y_20118_, lean_object* v___y_20119_, lean_object* v___y_20120_, lean_object* v___y_20121_, lean_object* v___y_20122_, lean_object* v___y_20123_){ -_start: -{ -size_t v_sz_boxed_20124_; size_t v_i_boxed_20125_; lean_object* v_res_20126_; -v_sz_boxed_20124_ = lean_unbox_usize(v_sz_20114_); -lean_dec(v_sz_20114_); -v_i_boxed_20125_ = lean_unbox_usize(v_i_20115_); -lean_dec(v_i_20115_); -v_res_20126_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13(v_sz_boxed_20124_, v_i_boxed_20125_, v_bs_20116_, v___y_20117_, v___y_20118_, v___y_20119_, v___y_20120_, v___y_20121_, v___y_20122_); -lean_dec_ref(v___y_20121_); -lean_dec(v___y_20118_); -lean_dec_ref(v___y_20117_); -return v_res_20126_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14(lean_object* v_00_u03b1_20127_, lean_object* v_x_20128_, lean_object* v___y_20129_, lean_object* v___y_20130_, lean_object* v___y_20131_, lean_object* v___y_20132_, lean_object* v___y_20133_, lean_object* v___y_20134_){ -_start: -{ -lean_object* v___x_20136_; -v___x_20136_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v_x_20128_, v___y_20129_, v___y_20130_, v___y_20131_, v___y_20132_, v___y_20133_, v___y_20134_); -return v___x_20136_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed(lean_object* v_00_u03b1_20137_, lean_object* v_x_20138_, lean_object* v___y_20139_, lean_object* v___y_20140_, lean_object* v___y_20141_, lean_object* v___y_20142_, lean_object* v___y_20143_, lean_object* v___y_20144_, lean_object* v___y_20145_){ -_start: -{ -lean_object* v_res_20146_; -v_res_20146_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14(v_00_u03b1_20137_, v_x_20138_, v___y_20139_, v___y_20140_, v___y_20141_, v___y_20142_, v___y_20143_, v___y_20144_); -return v_res_20146_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16(lean_object* v_sc_20147_, lean_object* v_as_20148_, size_t v_i_20149_, size_t v_stop_20150_, lean_object* v___y_20151_, lean_object* v___y_20152_, lean_object* v___y_20153_, lean_object* v___y_20154_, lean_object* v___y_20155_, lean_object* v___y_20156_){ -_start: -{ -lean_object* v___x_20158_; -v___x_20158_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_20147_, v_as_20148_, v_i_20149_, v_stop_20150_, v___y_20153_, v___y_20154_, v___y_20155_, v___y_20156_); -return v___x_20158_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___boxed(lean_object* v_sc_20159_, lean_object* v_as_20160_, lean_object* v_i_20161_, lean_object* v_stop_20162_, lean_object* v___y_20163_, lean_object* v___y_20164_, lean_object* v___y_20165_, lean_object* v___y_20166_, lean_object* v___y_20167_, lean_object* v___y_20168_, lean_object* v___y_20169_){ -_start: -{ -size_t v_i_boxed_20170_; size_t v_stop_boxed_20171_; lean_object* v_res_20172_; -v_i_boxed_20170_ = lean_unbox_usize(v_i_20161_); -lean_dec(v_i_20161_); -v_stop_boxed_20171_ = lean_unbox_usize(v_stop_20162_); -lean_dec(v_stop_20162_); -v_res_20172_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16(v_sc_20159_, v_as_20160_, v_i_boxed_20170_, v_stop_boxed_20171_, v___y_20163_, v___y_20164_, v___y_20165_, v___y_20166_, v___y_20167_, v___y_20168_); -lean_dec(v___y_20164_); -lean_dec_ref(v___y_20163_); -lean_dec_ref(v_as_20160_); -return v_res_20172_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9(lean_object* v_00_u03b2_20173_, lean_object* v_a_20174_, lean_object* v_fallback_20175_, lean_object* v_x_20176_){ -_start: -{ -lean_object* v___x_20177_; -v___x_20177_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_20174_, v_fallback_20175_, v_x_20176_); -return v___x_20177_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___boxed(lean_object* v_00_u03b2_20178_, lean_object* v_a_20179_, lean_object* v_fallback_20180_, lean_object* v_x_20181_){ -_start: -{ -lean_object* v_res_20182_; -v_res_20182_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9(v_00_u03b2_20178_, v_a_20179_, v_fallback_20180_, v_x_20181_); -lean_dec(v_x_20181_); -lean_dec(v_fallback_20180_); -lean_dec(v_a_20179_); -return v_res_20182_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17(lean_object* v___y_20183_, lean_object* v___y_20184_, lean_object* v___y_20185_, lean_object* v___y_20186_, lean_object* v___y_20187_, lean_object* v___y_20188_){ -_start: -{ -lean_object* v___x_20190_; -v___x_20190_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_20186_, v___y_20187_, v___y_20188_); -return v___x_20190_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___boxed(lean_object* v___y_20191_, lean_object* v___y_20192_, lean_object* v___y_20193_, lean_object* v___y_20194_, lean_object* v___y_20195_, lean_object* v___y_20196_, lean_object* v___y_20197_){ -_start: -{ -lean_object* v_res_20198_; -v_res_20198_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17(v___y_20191_, v___y_20192_, v___y_20193_, v___y_20194_, v___y_20195_, v___y_20196_); -lean_dec(v___y_20196_); -lean_dec_ref(v___y_20195_); -lean_dec(v___y_20194_); -lean_dec_ref(v___y_20193_); -lean_dec(v___y_20192_); -lean_dec_ref(v___y_20191_); -return v_res_20198_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19(lean_object* v___y_20199_, lean_object* v___y_20200_, lean_object* v___y_20201_, lean_object* v___y_20202_, lean_object* v___y_20203_, lean_object* v___y_20204_){ -_start: -{ -lean_object* v___x_20206_; -v___x_20206_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_20204_); -return v___x_20206_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___boxed(lean_object* v___y_20207_, lean_object* v___y_20208_, lean_object* v___y_20209_, lean_object* v___y_20210_, lean_object* v___y_20211_, lean_object* v___y_20212_, lean_object* v___y_20213_){ -_start: -{ -lean_object* v_res_20214_; -v_res_20214_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19(v___y_20207_, v___y_20208_, v___y_20209_, v___y_20210_, v___y_20211_, v___y_20212_); -lean_dec(v___y_20212_); -lean_dec_ref(v___y_20211_); -lean_dec(v___y_20210_); -lean_dec_ref(v___y_20209_); -lean_dec(v___y_20208_); -lean_dec_ref(v___y_20207_); -return v_res_20214_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17(lean_object* v_00_u03b1_20215_, lean_object* v_x_20216_, lean_object* v_ctx_x3f_20217_, lean_object* v___y_20218_, lean_object* v___y_20219_, lean_object* v___y_20220_, lean_object* v___y_20221_, lean_object* v___y_20222_, lean_object* v___y_20223_){ -_start: -{ -lean_object* v___x_20225_; -v___x_20225_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_20216_, v_ctx_x3f_20217_, v___y_20218_, v___y_20219_, v___y_20220_, v___y_20221_, v___y_20222_, v___y_20223_); -return v___x_20225_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___boxed(lean_object* v_00_u03b1_20226_, lean_object* v_x_20227_, lean_object* v_ctx_x3f_20228_, lean_object* v___y_20229_, lean_object* v___y_20230_, lean_object* v___y_20231_, lean_object* v___y_20232_, lean_object* v___y_20233_, lean_object* v___y_20234_, lean_object* v___y_20235_){ -_start: -{ -lean_object* v_res_20236_; -v_res_20236_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17(v_00_u03b1_20226_, v_x_20227_, v_ctx_x3f_20228_, v___y_20229_, v___y_20230_, v___y_20231_, v___y_20232_, v___y_20233_, v___y_20234_); -return v_res_20236_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(lean_object* v_vars_20237_, lean_object* v_sc_20238_, lean_object* v_views_20239_, lean_object* v_headers_20240_, lean_object* v_a_20241_, lean_object* v_a_20242_, lean_object* v_a_20243_, lean_object* v_a_20244_, lean_object* v_a_20245_, lean_object* v_a_20246_){ -_start: -{ -lean_object* v___x_20248_; -lean_inc(v_a_20246_); -lean_inc_ref(v_a_20245_); -lean_inc(v_a_20244_); -lean_inc_ref(v_a_20243_); -lean_inc(v_a_20242_); -lean_inc_ref(v_a_20241_); -lean_inc_ref(v_headers_20240_); -lean_inc_ref(v_views_20239_); -v___x_20248_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20237_, v_sc_20238_, v_views_20239_, v_headers_20240_, v_a_20241_, v_a_20242_, v_a_20243_, v_a_20244_, v_a_20245_, v_a_20246_); -if (lean_obj_tag(v___x_20248_) == 0) -{ -lean_object* v___x_20249_; -lean_dec_ref(v___x_20248_); -v___x_20249_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_20239_, v_headers_20240_, v_a_20241_, v_a_20242_, v_a_20243_, v_a_20244_, v_a_20245_, v_a_20246_); -lean_dec_ref(v_a_20245_); -lean_dec_ref(v_headers_20240_); -return v___x_20249_; +lean_object* v___x_20001_; lean_object* v___x_20002_; +v___x_20001_ = lean_box(v___x_20000_); +lean_inc(v___y_19997_); +lean_inc_ref(v___y_19996_); +lean_inc(v___y_19995_); +lean_inc_ref(v___y_19994_); +lean_inc(v___y_19993_); +lean_inc_ref(v___y_19992_); +v___x_20002_ = lean_apply_8(v___f_19944_, v___x_20001_, v___y_19992_, v___y_19993_, v___y_19994_, v___y_19995_, v___y_19996_, v___y_19997_, lean_box(0)); +v___y_19972_ = v___y_19993_; +v___y_19973_ = v___y_19996_; +v___y_19974_ = v___x_19999_; +v___y_19975_ = v___x_19998_; +v___y_19976_ = v___y_19995_; +v___y_19977_ = v___y_19992_; +v___y_19978_ = v___y_19997_; +v___y_19979_ = v___y_19994_; +v___y_19980_ = v___x_20002_; +goto v___jp_19971_; } else { -lean_dec(v_a_20246_); -lean_dec_ref(v_a_20245_); -lean_dec(v_a_20244_); -lean_dec_ref(v_a_20243_); -lean_dec(v_a_20242_); -lean_dec_ref(v_a_20241_); -lean_dec_ref(v_headers_20240_); -lean_dec_ref(v_views_20239_); -return v___x_20248_; +if (v___x_20000_ == 0) +{ +lean_dec_ref(v___f_19944_); +v___y_19954_ = v___x_19999_; +v___y_19955_ = v___x_19998_; +v___y_19956_ = v___y_19994_; +v___y_19957_ = v___y_19993_; +v___y_19958_ = v___y_19996_; +v___y_19959_ = v___y_19997_; +v___y_19960_ = v___y_19995_; +v___y_19961_ = v___y_19992_; +v_a_19962_ = v___x_20000_; +goto v___jp_19953_; +} +else +{ +size_t v___x_20003_; size_t v___x_20004_; lean_object* v___x_20005_; +v___x_20003_ = ((size_t)0ULL); +v___x_20004_ = lean_usize_of_nat(v___x_19999_); +lean_inc(v___y_19997_); +lean_inc_ref(v___y_19996_); +lean_inc(v___y_19995_); +lean_inc_ref(v___y_19994_); +lean_inc_ref(v_sc_19943_); +v___x_20005_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_19943_, v_headers_19940_, v___x_20003_, v___x_20004_, v___y_19994_, v___y_19995_, v___y_19996_, v___y_19997_); +if (lean_obj_tag(v___x_20005_) == 0) +{ +lean_object* v_a_20006_; lean_object* v___x_20007_; +v_a_20006_ = lean_ctor_get(v___x_20005_, 0); +lean_inc(v_a_20006_); +lean_dec_ref(v___x_20005_); +lean_inc(v___y_19997_); +lean_inc_ref(v___y_19996_); +lean_inc(v___y_19995_); +lean_inc_ref(v___y_19994_); +lean_inc(v___y_19993_); +lean_inc_ref(v___y_19992_); +v___x_20007_ = lean_apply_8(v___f_19944_, v_a_20006_, v___y_19992_, v___y_19993_, v___y_19994_, v___y_19995_, v___y_19996_, v___y_19997_, lean_box(0)); +v___y_19972_ = v___y_19993_; +v___y_19973_ = v___y_19996_; +v___y_19974_ = v___x_19999_; +v___y_19975_ = v___x_19998_; +v___y_19976_ = v___y_19995_; +v___y_19977_ = v___y_19992_; +v___y_19978_ = v___y_19997_; +v___y_19979_ = v___y_19994_; +v___y_19980_ = v___x_20007_; +goto v___jp_19971_; +} +else +{ +lean_dec_ref(v___f_19944_); +v___y_19972_ = v___y_19993_; +v___y_19973_ = v___y_19996_; +v___y_19974_ = v___x_19999_; +v___y_19975_ = v___x_19998_; +v___y_19976_ = v___y_19995_; +v___y_19977_ = v___y_19992_; +v___y_19978_ = v___y_19997_; +v___y_19979_ = v___y_19994_; +v___y_19980_ = v___x_20005_; +goto v___jp_19971_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync___boxed(lean_object* v_vars_20250_, lean_object* v_sc_20251_, lean_object* v_views_20252_, lean_object* v_headers_20253_, lean_object* v_a_20254_, lean_object* v_a_20255_, lean_object* v_a_20256_, lean_object* v_a_20257_, lean_object* v_a_20258_, lean_object* v_a_20259_, lean_object* v_a_20260_){ +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed(lean_object* v_headers_20020_, lean_object* v_views_20021_, lean_object* v_vars_20022_, lean_object* v_sc_20023_, lean_object* v___f_20024_, lean_object* v_funFVars_20025_, lean_object* v___y_20026_, lean_object* v___y_20027_, lean_object* v___y_20028_, lean_object* v___y_20029_, lean_object* v___y_20030_, lean_object* v___y_20031_, lean_object* v___y_20032_){ _start: { -lean_object* v_res_20261_; -v_res_20261_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_20250_, v_sc_20251_, v_views_20252_, v_headers_20253_, v_a_20254_, v_a_20255_, v_a_20256_, v_a_20257_, v_a_20258_, v_a_20259_); -return v_res_20261_; +lean_object* v_res_20033_; +v_res_20033_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4(v_headers_20020_, v_views_20021_, v_vars_20022_, v_sc_20023_, v___f_20024_, v_funFVars_20025_, v___y_20026_, v___y_20027_, v___y_20028_, v___y_20029_, v___y_20030_, v___y_20031_); +return v_res_20033_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(lean_object* v_vars_20035_, lean_object* v_sc_20036_, lean_object* v_views_20037_, lean_object* v_headers_20038_, lean_object* v_a_20039_, lean_object* v_a_20040_, lean_object* v_a_20041_, lean_object* v_a_20042_, lean_object* v_a_20043_, lean_object* v_a_20044_){ +_start: +{ +lean_object* v___f_20046_; lean_object* v___f_20047_; lean_object* v___x_20048_; +v___f_20046_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___closed__0)); +lean_inc_ref(v_headers_20038_); +v___f_20047_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___lam__4___boxed), 13, 5); +lean_closure_set(v___f_20047_, 0, v_headers_20038_); +lean_closure_set(v___f_20047_, 1, v_views_20037_); +lean_closure_set(v___f_20047_, 2, v_vars_20035_); +lean_closure_set(v___f_20047_, 3, v_sc_20036_); +lean_closure_set(v___f_20047_, 4, v___f_20046_); +v___x_20048_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withFunLocalDecls___redArg(v_headers_20038_, v___f_20047_, v_a_20039_, v_a_20040_, v_a_20041_, v_a_20042_, v_a_20043_, v_a_20044_); +return v___x_20048_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab___boxed(lean_object* v_vars_20049_, lean_object* v_sc_20050_, lean_object* v_views_20051_, lean_object* v_headers_20052_, lean_object* v_a_20053_, lean_object* v_a_20054_, lean_object* v_a_20055_, lean_object* v_a_20056_, lean_object* v_a_20057_, lean_object* v_a_20058_, lean_object* v_a_20059_){ +_start: +{ +lean_object* v_res_20060_; +v_res_20060_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20049_, v_sc_20050_, v_views_20051_, v_headers_20052_, v_a_20053_, v_a_20054_, v_a_20055_, v_a_20056_, v_a_20057_, v_a_20058_); +return v_res_20060_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6(lean_object* v_x_20061_, lean_object* v_x_20062_, lean_object* v___y_20063_, lean_object* v___y_20064_, lean_object* v___y_20065_, lean_object* v___y_20066_, lean_object* v___y_20067_, lean_object* v___y_20068_){ +_start: +{ +lean_object* v___x_20070_; +v___x_20070_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___redArg(v_x_20061_, v_x_20062_, v___y_20065_, v___y_20066_, v___y_20067_, v___y_20068_); +return v___x_20070_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6___boxed(lean_object* v_x_20071_, lean_object* v_x_20072_, lean_object* v___y_20073_, lean_object* v___y_20074_, lean_object* v___y_20075_, lean_object* v___y_20076_, lean_object* v___y_20077_, lean_object* v___y_20078_, lean_object* v___y_20079_){ +_start: +{ +lean_object* v_res_20080_; +v_res_20080_ = l_List_mapM_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__6(v_x_20071_, v_x_20072_, v___y_20073_, v___y_20074_, v___y_20075_, v___y_20076_, v___y_20077_, v___y_20078_); +lean_dec(v___y_20074_); +lean_dec_ref(v___y_20073_); +return v_res_20080_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8(lean_object* v_00_u03b2_20081_, lean_object* v_m_20082_, lean_object* v_a_20083_, lean_object* v_fallback_20084_){ +_start: +{ +lean_object* v___x_20085_; +v___x_20085_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___redArg(v_m_20082_, v_a_20083_, v_fallback_20084_); +return v___x_20085_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8___boxed(lean_object* v_00_u03b2_20086_, lean_object* v_m_20087_, lean_object* v_a_20088_, lean_object* v_fallback_20089_){ +_start: +{ +lean_object* v_res_20090_; +v_res_20090_ = l_Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8(v_00_u03b2_20086_, v_m_20087_, v_a_20088_, v_fallback_20089_); +lean_dec(v_fallback_20089_); +lean_dec(v_a_20088_); +lean_dec_ref(v_m_20087_); +return v_res_20090_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10(lean_object* v_as_20091_, size_t v_sz_20092_, size_t v_i_20093_, lean_object* v_b_20094_, lean_object* v___y_20095_, lean_object* v___y_20096_, lean_object* v___y_20097_, lean_object* v___y_20098_, lean_object* v___y_20099_, lean_object* v___y_20100_){ +_start: +{ +lean_object* v___x_20102_; +v___x_20102_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___redArg(v_as_20091_, v_sz_20092_, v_i_20093_, v_b_20094_, v___y_20097_, v___y_20098_, v___y_20099_, v___y_20100_); +return v___x_20102_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10___boxed(lean_object* v_as_20103_, lean_object* v_sz_20104_, lean_object* v_i_20105_, lean_object* v_b_20106_, lean_object* v___y_20107_, lean_object* v___y_20108_, lean_object* v___y_20109_, lean_object* v___y_20110_, lean_object* v___y_20111_, lean_object* v___y_20112_, lean_object* v___y_20113_){ +_start: +{ +size_t v_sz_boxed_20114_; size_t v_i_boxed_20115_; lean_object* v_res_20116_; +v_sz_boxed_20114_ = lean_unbox_usize(v_sz_20104_); +lean_dec(v_sz_20104_); +v_i_boxed_20115_ = lean_unbox_usize(v_i_20105_); +lean_dec(v_i_20105_); +v_res_20116_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__10(v_as_20103_, v_sz_boxed_20114_, v_i_boxed_20115_, v_b_20106_, v___y_20107_, v___y_20108_, v___y_20109_, v___y_20110_, v___y_20111_, v___y_20112_); +lean_dec(v___y_20112_); +lean_dec_ref(v___y_20111_); +lean_dec(v___y_20110_); +lean_dec_ref(v___y_20109_); +lean_dec(v___y_20108_); +lean_dec_ref(v___y_20107_); +lean_dec_ref(v_as_20103_); +return v_res_20116_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11(lean_object* v_as_20117_, size_t v_sz_20118_, size_t v_i_20119_, lean_object* v_b_20120_, lean_object* v___y_20121_, lean_object* v___y_20122_, lean_object* v___y_20123_, lean_object* v___y_20124_, lean_object* v___y_20125_, lean_object* v___y_20126_){ +_start: +{ +lean_object* v___x_20128_; +v___x_20128_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___redArg(v_as_20117_, v_sz_20118_, v_i_20119_, v_b_20120_, v___y_20123_, v___y_20124_, v___y_20125_, v___y_20126_); +return v___x_20128_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11___boxed(lean_object* v_as_20129_, lean_object* v_sz_20130_, lean_object* v_i_20131_, lean_object* v_b_20132_, lean_object* v___y_20133_, lean_object* v___y_20134_, lean_object* v___y_20135_, lean_object* v___y_20136_, lean_object* v___y_20137_, lean_object* v___y_20138_, lean_object* v___y_20139_){ +_start: +{ +size_t v_sz_boxed_20140_; size_t v_i_boxed_20141_; lean_object* v_res_20142_; +v_sz_boxed_20140_ = lean_unbox_usize(v_sz_20130_); +lean_dec(v_sz_20130_); +v_i_boxed_20141_ = lean_unbox_usize(v_i_20131_); +lean_dec(v_i_20131_); +v_res_20142_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__11(v_as_20129_, v_sz_boxed_20140_, v_i_boxed_20141_, v_b_20132_, v___y_20133_, v___y_20134_, v___y_20135_, v___y_20136_, v___y_20137_, v___y_20138_); +lean_dec(v___y_20138_); +lean_dec_ref(v___y_20137_); +lean_dec(v___y_20136_); +lean_dec_ref(v___y_20135_); +lean_dec(v___y_20134_); +lean_dec_ref(v___y_20133_); +lean_dec_ref(v_as_20129_); +return v_res_20142_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13(size_t v_sz_20143_, size_t v_i_20144_, lean_object* v_bs_20145_, lean_object* v___y_20146_, lean_object* v___y_20147_, lean_object* v___y_20148_, lean_object* v___y_20149_, lean_object* v___y_20150_, lean_object* v___y_20151_){ +_start: +{ +lean_object* v___x_20153_; +v___x_20153_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___redArg(v_sz_20143_, v_i_20144_, v_bs_20145_, v___y_20148_, v___y_20149_, v___y_20150_, v___y_20151_); +return v___x_20153_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13___boxed(lean_object* v_sz_20154_, lean_object* v_i_20155_, lean_object* v_bs_20156_, lean_object* v___y_20157_, lean_object* v___y_20158_, lean_object* v___y_20159_, lean_object* v___y_20160_, lean_object* v___y_20161_, lean_object* v___y_20162_, lean_object* v___y_20163_){ +_start: +{ +size_t v_sz_boxed_20164_; size_t v_i_boxed_20165_; lean_object* v_res_20166_; +v_sz_boxed_20164_ = lean_unbox_usize(v_sz_20154_); +lean_dec(v_sz_20154_); +v_i_boxed_20165_ = lean_unbox_usize(v_i_20155_); +lean_dec(v_i_20155_); +v_res_20166_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__13(v_sz_boxed_20164_, v_i_boxed_20165_, v_bs_20156_, v___y_20157_, v___y_20158_, v___y_20159_, v___y_20160_, v___y_20161_, v___y_20162_); +lean_dec_ref(v___y_20161_); +lean_dec(v___y_20158_); +lean_dec_ref(v___y_20157_); +return v_res_20166_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14(lean_object* v_00_u03b1_20167_, lean_object* v_x_20168_, lean_object* v___y_20169_, lean_object* v___y_20170_, lean_object* v___y_20171_, lean_object* v___y_20172_, lean_object* v___y_20173_, lean_object* v___y_20174_){ +_start: +{ +lean_object* v___x_20176_; +v___x_20176_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___redArg(v_x_20168_, v___y_20169_, v___y_20170_, v___y_20171_, v___y_20172_, v___y_20173_, v___y_20174_); +return v___x_20176_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed(lean_object* v_00_u03b1_20177_, lean_object* v_x_20178_, lean_object* v___y_20179_, lean_object* v___y_20180_, lean_object* v___y_20181_, lean_object* v___y_20182_, lean_object* v___y_20183_, lean_object* v___y_20184_, lean_object* v___y_20185_){ +_start: +{ +lean_object* v_res_20186_; +v_res_20186_ = l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14(v_00_u03b1_20177_, v_x_20178_, v___y_20179_, v___y_20180_, v___y_20181_, v___y_20182_, v___y_20183_, v___y_20184_); +return v_res_20186_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16(lean_object* v_sc_20187_, lean_object* v_as_20188_, size_t v_i_20189_, size_t v_stop_20190_, lean_object* v___y_20191_, lean_object* v___y_20192_, lean_object* v___y_20193_, lean_object* v___y_20194_, lean_object* v___y_20195_, lean_object* v___y_20196_){ +_start: +{ +lean_object* v___x_20198_; +v___x_20198_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg(v_sc_20187_, v_as_20188_, v_i_20189_, v_stop_20190_, v___y_20193_, v___y_20194_, v___y_20195_, v___y_20196_); +return v___x_20198_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___boxed(lean_object* v_sc_20199_, lean_object* v_as_20200_, lean_object* v_i_20201_, lean_object* v_stop_20202_, lean_object* v___y_20203_, lean_object* v___y_20204_, lean_object* v___y_20205_, lean_object* v___y_20206_, lean_object* v___y_20207_, lean_object* v___y_20208_, lean_object* v___y_20209_){ +_start: +{ +size_t v_i_boxed_20210_; size_t v_stop_boxed_20211_; lean_object* v_res_20212_; +v_i_boxed_20210_ = lean_unbox_usize(v_i_20201_); +lean_dec(v_i_20201_); +v_stop_boxed_20211_ = lean_unbox_usize(v_stop_20202_); +lean_dec(v_stop_20202_); +v_res_20212_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16(v_sc_20199_, v_as_20200_, v_i_boxed_20210_, v_stop_boxed_20211_, v___y_20203_, v___y_20204_, v___y_20205_, v___y_20206_, v___y_20207_, v___y_20208_); +lean_dec(v___y_20204_); +lean_dec_ref(v___y_20203_); +lean_dec_ref(v_as_20200_); +return v_res_20212_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9(lean_object* v_00_u03b2_20213_, lean_object* v_a_20214_, lean_object* v_fallback_20215_, lean_object* v_x_20216_){ +_start: +{ +lean_object* v___x_20217_; +v___x_20217_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___redArg(v_a_20214_, v_fallback_20215_, v_x_20216_); +return v___x_20217_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9___boxed(lean_object* v_00_u03b2_20218_, lean_object* v_a_20219_, lean_object* v_fallback_20220_, lean_object* v_x_20221_){ +_start: +{ +lean_object* v_res_20222_; +v_res_20222_ = l_Std_DHashMap_Internal_AssocList_getD___at___00Std_DHashMap_Internal_Raw_u2080_Const_getD___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__8_spec__9(v_00_u03b2_20218_, v_a_20219_, v_fallback_20220_, v_x_20221_); +lean_dec(v_x_20221_); +lean_dec(v_fallback_20220_); +lean_dec(v_a_20219_); +return v_res_20222_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17(lean_object* v___y_20223_, lean_object* v___y_20224_, lean_object* v___y_20225_, lean_object* v___y_20226_, lean_object* v___y_20227_, lean_object* v___y_20228_){ +_start: +{ +lean_object* v___x_20230_; +v___x_20230_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___redArg(v___y_20226_, v___y_20227_, v___y_20228_); +return v___x_20230_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17___boxed(lean_object* v___y_20231_, lean_object* v___y_20232_, lean_object* v___y_20233_, lean_object* v___y_20234_, lean_object* v___y_20235_, lean_object* v___y_20236_, lean_object* v___y_20237_){ +_start: +{ +lean_object* v_res_20238_; +v_res_20238_ = l_Lean_Elab_CommandContextInfo_saveNoFileMap___at___00Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16_spec__17(v___y_20231_, v___y_20232_, v___y_20233_, v___y_20234_, v___y_20235_, v___y_20236_); +lean_dec(v___y_20236_); +lean_dec_ref(v___y_20235_); +lean_dec(v___y_20234_); +lean_dec_ref(v___y_20233_); +lean_dec(v___y_20232_); +lean_dec_ref(v___y_20231_); +return v_res_20238_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19(lean_object* v___y_20239_, lean_object* v___y_20240_, lean_object* v___y_20241_, lean_object* v___y_20242_, lean_object* v___y_20243_, lean_object* v___y_20244_){ +_start: +{ +lean_object* v___x_20246_; +v___x_20246_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___redArg(v___y_20244_); +return v___x_20246_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19___boxed(lean_object* v___y_20247_, lean_object* v___y_20248_, lean_object* v___y_20249_, lean_object* v___y_20250_, lean_object* v___y_20251_, lean_object* v___y_20252_, lean_object* v___y_20253_){ +_start: +{ +lean_object* v_res_20254_; +v_res_20254_ = l_Lean_Elab_getResetInfoTrees___at___00__private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17_spec__19(v___y_20247_, v___y_20248_, v___y_20249_, v___y_20250_, v___y_20251_, v___y_20252_); +lean_dec(v___y_20252_); +lean_dec_ref(v___y_20251_); +lean_dec(v___y_20250_); +lean_dec_ref(v___y_20249_); +lean_dec(v___y_20248_); +lean_dec_ref(v___y_20247_); +return v_res_20254_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17(lean_object* v_00_u03b1_20255_, lean_object* v_x_20256_, lean_object* v_ctx_x3f_20257_, lean_object* v___y_20258_, lean_object* v___y_20259_, lean_object* v___y_20260_, lean_object* v___y_20261_, lean_object* v___y_20262_, lean_object* v___y_20263_){ +_start: +{ +lean_object* v___x_20265_; +v___x_20265_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___redArg(v_x_20256_, v_ctx_x3f_20257_, v___y_20258_, v___y_20259_, v___y_20260_, v___y_20261_, v___y_20262_, v___y_20263_); +return v___x_20265_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17___boxed(lean_object* v_00_u03b1_20266_, lean_object* v_x_20267_, lean_object* v_ctx_x3f_20268_, lean_object* v___y_20269_, lean_object* v___y_20270_, lean_object* v___y_20271_, lean_object* v___y_20272_, lean_object* v___y_20273_, lean_object* v___y_20274_, lean_object* v___y_20275_){ +_start: +{ +lean_object* v_res_20276_; +v_res_20276_ = l___private_Lean_Elab_InfoTree_Main_0__Lean_Elab_withSavedPartialInfoContext___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__17(v_00_u03b1_20266_, v_x_20267_, v_ctx_x3f_20268_, v___y_20269_, v___y_20270_, v___y_20271_, v___y_20272_, v___y_20273_, v___y_20274_); +return v_res_20276_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(lean_object* v_vars_20277_, lean_object* v_sc_20278_, lean_object* v_views_20279_, lean_object* v_headers_20280_, lean_object* v_a_20281_, lean_object* v_a_20282_, lean_object* v_a_20283_, lean_object* v_a_20284_, lean_object* v_a_20285_, lean_object* v_a_20286_){ +_start: +{ +lean_object* v___x_20288_; +lean_inc(v_a_20286_); +lean_inc_ref(v_a_20285_); +lean_inc(v_a_20284_); +lean_inc_ref(v_a_20283_); +lean_inc(v_a_20282_); +lean_inc_ref(v_a_20281_); +lean_inc_ref(v_headers_20280_); +lean_inc_ref(v_views_20279_); +v___x_20288_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20277_, v_sc_20278_, v_views_20279_, v_headers_20280_, v_a_20281_, v_a_20282_, v_a_20283_, v_a_20284_, v_a_20285_, v_a_20286_); +if (lean_obj_tag(v___x_20288_) == 0) +{ +lean_object* v___x_20289_; +lean_dec_ref(v___x_20288_); +v___x_20289_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_20279_, v_headers_20280_, v_a_20281_, v_a_20282_, v_a_20283_, v_a_20284_, v_a_20285_, v_a_20286_); +lean_dec_ref(v_a_20285_); +lean_dec_ref(v_headers_20280_); +return v___x_20289_; +} +else +{ +lean_dec(v_a_20286_); +lean_dec_ref(v_a_20285_); +lean_dec(v_a_20284_); +lean_dec_ref(v_a_20283_); +lean_dec(v_a_20282_); +lean_dec_ref(v_a_20281_); +lean_dec_ref(v_headers_20280_); +lean_dec_ref(v_views_20279_); +return v___x_20288_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync___boxed(lean_object* v_vars_20290_, lean_object* v_sc_20291_, lean_object* v_views_20292_, lean_object* v_headers_20293_, lean_object* v_a_20294_, lean_object* v_a_20295_, lean_object* v_a_20296_, lean_object* v_a_20297_, lean_object* v_a_20298_, lean_object* v_a_20299_, lean_object* v_a_20300_){ +_start: +{ +lean_object* v_res_20301_; +v_res_20301_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_20290_, v_sc_20291_, v_views_20292_, v_headers_20293_, v_a_20294_, v_a_20295_, v_a_20296_, v_a_20297_, v_a_20298_, v_a_20299_); +return v_res_20301_; } } static lean_object* _init_l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0(void){ _start: { -lean_object* v___x_20262_; -v___x_20262_ = l_Lean_Elab_Term_instInhabitedTermElabM(lean_box(0)); -return v___x_20262_; +lean_object* v___x_20302_; +v___x_20302_ = l_Lean_Elab_Term_instInhabitedTermElabM(lean_box(0)); +return v___x_20302_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(lean_object* v_msg_20263_, lean_object* v___y_20264_, lean_object* v___y_20265_, lean_object* v___y_20266_, lean_object* v___y_20267_, lean_object* v___y_20268_, lean_object* v___y_20269_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(lean_object* v_msg_20303_, lean_object* v___y_20304_, lean_object* v___y_20305_, lean_object* v___y_20306_, lean_object* v___y_20307_, lean_object* v___y_20308_, lean_object* v___y_20309_){ _start: { -lean_object* v___x_20271_; lean_object* v___x_21580__overap_20272_; lean_object* v___x_20273_; -v___x_20271_ = lean_obj_once(&l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0, &l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0_once, _init_l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0); -v___x_21580__overap_20272_ = lean_panic_fn(v___x_20271_, v_msg_20263_); -v___x_20273_ = lean_apply_7(v___x_21580__overap_20272_, v___y_20264_, v___y_20265_, v___y_20266_, v___y_20267_, v___y_20268_, v___y_20269_, lean_box(0)); -return v___x_20273_; +lean_object* v___x_20311_; lean_object* v___x_21580__overap_20312_; lean_object* v___x_20313_; +v___x_20311_ = lean_obj_once(&l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0, &l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0_once, _init_l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___closed__0); +v___x_21580__overap_20312_ = lean_panic_fn(v___x_20311_, v_msg_20303_); +v___x_20313_ = lean_apply_7(v___x_21580__overap_20312_, v___y_20304_, v___y_20305_, v___y_20306_, v___y_20307_, v___y_20308_, v___y_20309_, lean_box(0)); +return v___x_20313_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___boxed(lean_object* v_msg_20274_, lean_object* v___y_20275_, lean_object* v___y_20276_, lean_object* v___y_20277_, lean_object* v___y_20278_, lean_object* v___y_20279_, lean_object* v___y_20280_, lean_object* v___y_20281_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0___boxed(lean_object* v_msg_20314_, lean_object* v___y_20315_, lean_object* v___y_20316_, lean_object* v___y_20317_, lean_object* v___y_20318_, lean_object* v___y_20319_, lean_object* v___y_20320_, lean_object* v___y_20321_){ _start: { -lean_object* v_res_20282_; -v_res_20282_ = l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(v_msg_20274_, v___y_20275_, v___y_20276_, v___y_20277_, v___y_20278_, v___y_20279_, v___y_20280_); -return v_res_20282_; +lean_object* v_res_20322_; +v_res_20322_ = l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(v_msg_20314_, v___y_20315_, v___y_20316_, v___y_20317_, v___y_20318_, v___y_20319_, v___y_20320_); +return v_res_20322_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(lean_object* v_env_20283_, lean_object* v___y_20284_, lean_object* v___y_20285_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(lean_object* v_env_20323_, lean_object* v___y_20324_, lean_object* v___y_20325_){ _start: { -lean_object* v___x_20287_; lean_object* v_nextMacroScope_20288_; lean_object* v_ngen_20289_; lean_object* v_auxDeclNGen_20290_; lean_object* v_traceState_20291_; lean_object* v_messages_20292_; lean_object* v_infoState_20293_; lean_object* v_snapshotTasks_20294_; lean_object* v___x_20296_; uint8_t v_isShared_20297_; uint8_t v_isSharedCheck_20320_; -v___x_20287_ = lean_st_ref_take(v___y_20285_); -v_nextMacroScope_20288_ = lean_ctor_get(v___x_20287_, 1); -v_ngen_20289_ = lean_ctor_get(v___x_20287_, 2); -v_auxDeclNGen_20290_ = lean_ctor_get(v___x_20287_, 3); -v_traceState_20291_ = lean_ctor_get(v___x_20287_, 4); -v_messages_20292_ = lean_ctor_get(v___x_20287_, 6); -v_infoState_20293_ = lean_ctor_get(v___x_20287_, 7); -v_snapshotTasks_20294_ = lean_ctor_get(v___x_20287_, 8); -v_isSharedCheck_20320_ = !lean_is_exclusive(v___x_20287_); -if (v_isSharedCheck_20320_ == 0) +lean_object* v___x_20327_; lean_object* v_nextMacroScope_20328_; lean_object* v_ngen_20329_; lean_object* v_auxDeclNGen_20330_; lean_object* v_traceState_20331_; lean_object* v_messages_20332_; lean_object* v_infoState_20333_; lean_object* v_snapshotTasks_20334_; lean_object* v___x_20336_; uint8_t v_isShared_20337_; uint8_t v_isSharedCheck_20360_; +v___x_20327_ = lean_st_ref_take(v___y_20325_); +v_nextMacroScope_20328_ = lean_ctor_get(v___x_20327_, 1); +v_ngen_20329_ = lean_ctor_get(v___x_20327_, 2); +v_auxDeclNGen_20330_ = lean_ctor_get(v___x_20327_, 3); +v_traceState_20331_ = lean_ctor_get(v___x_20327_, 4); +v_messages_20332_ = lean_ctor_get(v___x_20327_, 6); +v_infoState_20333_ = lean_ctor_get(v___x_20327_, 7); +v_snapshotTasks_20334_ = lean_ctor_get(v___x_20327_, 8); +v_isSharedCheck_20360_ = !lean_is_exclusive(v___x_20327_); +if (v_isSharedCheck_20360_ == 0) { -lean_object* v_unused_20321_; lean_object* v_unused_20322_; -v_unused_20321_ = lean_ctor_get(v___x_20287_, 5); -lean_dec(v_unused_20321_); -v_unused_20322_ = lean_ctor_get(v___x_20287_, 0); -lean_dec(v_unused_20322_); -v___x_20296_ = v___x_20287_; -v_isShared_20297_ = v_isSharedCheck_20320_; -goto v_resetjp_20295_; +lean_object* v_unused_20361_; lean_object* v_unused_20362_; +v_unused_20361_ = lean_ctor_get(v___x_20327_, 5); +lean_dec(v_unused_20361_); +v_unused_20362_ = lean_ctor_get(v___x_20327_, 0); +lean_dec(v_unused_20362_); +v___x_20336_ = v___x_20327_; +v_isShared_20337_ = v_isSharedCheck_20360_; +goto v_resetjp_20335_; } else { -lean_inc(v_snapshotTasks_20294_); -lean_inc(v_infoState_20293_); -lean_inc(v_messages_20292_); -lean_inc(v_traceState_20291_); -lean_inc(v_auxDeclNGen_20290_); -lean_inc(v_ngen_20289_); -lean_inc(v_nextMacroScope_20288_); -lean_dec(v___x_20287_); -v___x_20296_ = lean_box(0); -v_isShared_20297_ = v_isSharedCheck_20320_; -goto v_resetjp_20295_; +lean_inc(v_snapshotTasks_20334_); +lean_inc(v_infoState_20333_); +lean_inc(v_messages_20332_); +lean_inc(v_traceState_20331_); +lean_inc(v_auxDeclNGen_20330_); +lean_inc(v_ngen_20329_); +lean_inc(v_nextMacroScope_20328_); +lean_dec(v___x_20327_); +v___x_20336_ = lean_box(0); +v_isShared_20337_ = v_isSharedCheck_20360_; +goto v_resetjp_20335_; } -v_resetjp_20295_: +v_resetjp_20335_: { -lean_object* v___x_20298_; lean_object* v___x_20300_; -v___x_20298_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_20297_ == 0) +lean_object* v___x_20338_; lean_object* v___x_20340_; +v___x_20338_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_20337_ == 0) { -lean_ctor_set(v___x_20296_, 5, v___x_20298_); -lean_ctor_set(v___x_20296_, 0, v_env_20283_); -v___x_20300_ = v___x_20296_; -goto v_reusejp_20299_; +lean_ctor_set(v___x_20336_, 5, v___x_20338_); +lean_ctor_set(v___x_20336_, 0, v_env_20323_); +v___x_20340_ = v___x_20336_; +goto v_reusejp_20339_; } else { -lean_object* v_reuseFailAlloc_20319_; -v_reuseFailAlloc_20319_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_20319_, 0, v_env_20283_); -lean_ctor_set(v_reuseFailAlloc_20319_, 1, v_nextMacroScope_20288_); -lean_ctor_set(v_reuseFailAlloc_20319_, 2, v_ngen_20289_); -lean_ctor_set(v_reuseFailAlloc_20319_, 3, v_auxDeclNGen_20290_); -lean_ctor_set(v_reuseFailAlloc_20319_, 4, v_traceState_20291_); -lean_ctor_set(v_reuseFailAlloc_20319_, 5, v___x_20298_); -lean_ctor_set(v_reuseFailAlloc_20319_, 6, v_messages_20292_); -lean_ctor_set(v_reuseFailAlloc_20319_, 7, v_infoState_20293_); -lean_ctor_set(v_reuseFailAlloc_20319_, 8, v_snapshotTasks_20294_); -v___x_20300_ = v_reuseFailAlloc_20319_; -goto v_reusejp_20299_; +lean_object* v_reuseFailAlloc_20359_; +v_reuseFailAlloc_20359_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_20359_, 0, v_env_20323_); +lean_ctor_set(v_reuseFailAlloc_20359_, 1, v_nextMacroScope_20328_); +lean_ctor_set(v_reuseFailAlloc_20359_, 2, v_ngen_20329_); +lean_ctor_set(v_reuseFailAlloc_20359_, 3, v_auxDeclNGen_20330_); +lean_ctor_set(v_reuseFailAlloc_20359_, 4, v_traceState_20331_); +lean_ctor_set(v_reuseFailAlloc_20359_, 5, v___x_20338_); +lean_ctor_set(v_reuseFailAlloc_20359_, 6, v_messages_20332_); +lean_ctor_set(v_reuseFailAlloc_20359_, 7, v_infoState_20333_); +lean_ctor_set(v_reuseFailAlloc_20359_, 8, v_snapshotTasks_20334_); +v___x_20340_ = v_reuseFailAlloc_20359_; +goto v_reusejp_20339_; } -v_reusejp_20299_: +v_reusejp_20339_: { -lean_object* v___x_20301_; lean_object* v___x_20302_; lean_object* v_mctx_20303_; lean_object* v_zetaDeltaFVarIds_20304_; lean_object* v_postponed_20305_; lean_object* v_diag_20306_; lean_object* v___x_20308_; uint8_t v_isShared_20309_; uint8_t v_isSharedCheck_20317_; -v___x_20301_ = lean_st_ref_set(v___y_20285_, v___x_20300_); -v___x_20302_ = lean_st_ref_take(v___y_20284_); -v_mctx_20303_ = lean_ctor_get(v___x_20302_, 0); -v_zetaDeltaFVarIds_20304_ = lean_ctor_get(v___x_20302_, 2); -v_postponed_20305_ = lean_ctor_get(v___x_20302_, 3); -v_diag_20306_ = lean_ctor_get(v___x_20302_, 4); -v_isSharedCheck_20317_ = !lean_is_exclusive(v___x_20302_); -if (v_isSharedCheck_20317_ == 0) +lean_object* v___x_20341_; lean_object* v___x_20342_; lean_object* v_mctx_20343_; lean_object* v_zetaDeltaFVarIds_20344_; lean_object* v_postponed_20345_; lean_object* v_diag_20346_; lean_object* v___x_20348_; uint8_t v_isShared_20349_; uint8_t v_isSharedCheck_20357_; +v___x_20341_ = lean_st_ref_set(v___y_20325_, v___x_20340_); +v___x_20342_ = lean_st_ref_take(v___y_20324_); +v_mctx_20343_ = lean_ctor_get(v___x_20342_, 0); +v_zetaDeltaFVarIds_20344_ = lean_ctor_get(v___x_20342_, 2); +v_postponed_20345_ = lean_ctor_get(v___x_20342_, 3); +v_diag_20346_ = lean_ctor_get(v___x_20342_, 4); +v_isSharedCheck_20357_ = !lean_is_exclusive(v___x_20342_); +if (v_isSharedCheck_20357_ == 0) { -lean_object* v_unused_20318_; -v_unused_20318_ = lean_ctor_get(v___x_20302_, 1); -lean_dec(v_unused_20318_); -v___x_20308_ = v___x_20302_; -v_isShared_20309_ = v_isSharedCheck_20317_; -goto v_resetjp_20307_; +lean_object* v_unused_20358_; +v_unused_20358_ = lean_ctor_get(v___x_20342_, 1); +lean_dec(v_unused_20358_); +v___x_20348_ = v___x_20342_; +v_isShared_20349_ = v_isSharedCheck_20357_; +goto v_resetjp_20347_; } else { -lean_inc(v_diag_20306_); -lean_inc(v_postponed_20305_); -lean_inc(v_zetaDeltaFVarIds_20304_); -lean_inc(v_mctx_20303_); -lean_dec(v___x_20302_); -v___x_20308_ = lean_box(0); -v_isShared_20309_ = v_isSharedCheck_20317_; -goto v_resetjp_20307_; +lean_inc(v_diag_20346_); +lean_inc(v_postponed_20345_); +lean_inc(v_zetaDeltaFVarIds_20344_); +lean_inc(v_mctx_20343_); +lean_dec(v___x_20342_); +v___x_20348_ = lean_box(0); +v_isShared_20349_ = v_isSharedCheck_20357_; +goto v_resetjp_20347_; } -v_resetjp_20307_: +v_resetjp_20347_: { -lean_object* v___x_20310_; lean_object* v___x_20312_; -v___x_20310_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); -if (v_isShared_20309_ == 0) +lean_object* v___x_20350_; lean_object* v___x_20352_; +v___x_20350_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_20349_ == 0) { -lean_ctor_set(v___x_20308_, 1, v___x_20310_); -v___x_20312_ = v___x_20308_; -goto v_reusejp_20311_; +lean_ctor_set(v___x_20348_, 1, v___x_20350_); +v___x_20352_ = v___x_20348_; +goto v_reusejp_20351_; } else { -lean_object* v_reuseFailAlloc_20316_; -v_reuseFailAlloc_20316_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_20316_, 0, v_mctx_20303_); -lean_ctor_set(v_reuseFailAlloc_20316_, 1, v___x_20310_); -lean_ctor_set(v_reuseFailAlloc_20316_, 2, v_zetaDeltaFVarIds_20304_); -lean_ctor_set(v_reuseFailAlloc_20316_, 3, v_postponed_20305_); -lean_ctor_set(v_reuseFailAlloc_20316_, 4, v_diag_20306_); -v___x_20312_ = v_reuseFailAlloc_20316_; -goto v_reusejp_20311_; +lean_object* v_reuseFailAlloc_20356_; +v_reuseFailAlloc_20356_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_20356_, 0, v_mctx_20343_); +lean_ctor_set(v_reuseFailAlloc_20356_, 1, v___x_20350_); +lean_ctor_set(v_reuseFailAlloc_20356_, 2, v_zetaDeltaFVarIds_20344_); +lean_ctor_set(v_reuseFailAlloc_20356_, 3, v_postponed_20345_); +lean_ctor_set(v_reuseFailAlloc_20356_, 4, v_diag_20346_); +v___x_20352_ = v_reuseFailAlloc_20356_; +goto v_reusejp_20351_; } -v_reusejp_20311_: +v_reusejp_20351_: { -lean_object* v___x_20313_; lean_object* v___x_20314_; lean_object* v___x_20315_; -v___x_20313_ = lean_st_ref_set(v___y_20284_, v___x_20312_); -v___x_20314_ = lean_box(0); -v___x_20315_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20315_, 0, v___x_20314_); -return v___x_20315_; +lean_object* v___x_20353_; lean_object* v___x_20354_; lean_object* v___x_20355_; +v___x_20353_ = lean_st_ref_set(v___y_20324_, v___x_20352_); +v___x_20354_ = lean_box(0); +v___x_20355_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20355_, 0, v___x_20354_); +return v___x_20355_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg___boxed(lean_object* v_env_20323_, lean_object* v___y_20324_, lean_object* v___y_20325_, lean_object* v___y_20326_){ -_start: -{ -lean_object* v_res_20327_; -v_res_20327_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_20323_, v___y_20324_, v___y_20325_); -lean_dec(v___y_20325_); -lean_dec(v___y_20324_); -return v_res_20327_; -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2(lean_object* v_env_20328_, lean_object* v___y_20329_, lean_object* v___y_20330_, lean_object* v___y_20331_, lean_object* v___y_20332_, lean_object* v___y_20333_, lean_object* v___y_20334_){ -_start: -{ -lean_object* v___x_20336_; -v___x_20336_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_20328_, v___y_20332_, v___y_20334_); -return v___x_20336_; -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___boxed(lean_object* v_env_20337_, lean_object* v___y_20338_, lean_object* v___y_20339_, lean_object* v___y_20340_, lean_object* v___y_20341_, lean_object* v___y_20342_, lean_object* v___y_20343_, lean_object* v___y_20344_){ -_start: -{ -lean_object* v_res_20345_; -v_res_20345_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2(v_env_20337_, v___y_20338_, v___y_20339_, v___y_20340_, v___y_20341_, v___y_20342_, v___y_20343_); -lean_dec(v___y_20343_); -lean_dec_ref(v___y_20342_); -lean_dec(v___y_20341_); -lean_dec_ref(v___y_20340_); -lean_dec(v___y_20339_); -lean_dec_ref(v___y_20338_); -return v_res_20345_; -} -} -LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(lean_object* v_e_20346_){ -_start: -{ -if (lean_obj_tag(v_e_20346_) == 0) -{ -lean_object* v_a_20348_; lean_object* v___x_20350_; uint8_t v_isShared_20351_; uint8_t v_isSharedCheck_20356_; -v_a_20348_ = lean_ctor_get(v_e_20346_, 0); -v_isSharedCheck_20356_ = !lean_is_exclusive(v_e_20346_); -if (v_isSharedCheck_20356_ == 0) -{ -v___x_20350_ = v_e_20346_; -v_isShared_20351_ = v_isSharedCheck_20356_; -goto v_resetjp_20349_; -} -else -{ -lean_inc(v_a_20348_); -lean_dec(v_e_20346_); -v___x_20350_ = lean_box(0); -v_isShared_20351_ = v_isSharedCheck_20356_; -goto v_resetjp_20349_; -} -v_resetjp_20349_: -{ -lean_object* v___x_20352_; lean_object* v___x_20354_; -v___x_20352_ = lean_mk_io_user_error(v_a_20348_); -if (v_isShared_20351_ == 0) -{ -lean_ctor_set_tag(v___x_20350_, 1); -lean_ctor_set(v___x_20350_, 0, v___x_20352_); -v___x_20354_ = v___x_20350_; -goto v_reusejp_20353_; -} -else -{ -lean_object* v_reuseFailAlloc_20355_; -v_reuseFailAlloc_20355_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20355_, 0, v___x_20352_); -v___x_20354_ = v_reuseFailAlloc_20355_; -goto v_reusejp_20353_; -} -v_reusejp_20353_: -{ -return v___x_20354_; -} -} -} -else -{ -lean_object* v_a_20357_; lean_object* v___x_20359_; uint8_t v_isShared_20360_; uint8_t v_isSharedCheck_20364_; -v_a_20357_ = lean_ctor_get(v_e_20346_, 0); -v_isSharedCheck_20364_ = !lean_is_exclusive(v_e_20346_); -if (v_isSharedCheck_20364_ == 0) -{ -v___x_20359_ = v_e_20346_; -v_isShared_20360_ = v_isSharedCheck_20364_; -goto v_resetjp_20358_; -} -else -{ -lean_inc(v_a_20357_); -lean_dec(v_e_20346_); -v___x_20359_ = lean_box(0); -v_isShared_20360_ = v_isSharedCheck_20364_; -goto v_resetjp_20358_; -} -v_resetjp_20358_: -{ -lean_object* v___x_20362_; -if (v_isShared_20360_ == 0) -{ -lean_ctor_set_tag(v___x_20359_, 0); -v___x_20362_ = v___x_20359_; -goto v_reusejp_20361_; -} -else -{ -lean_object* v_reuseFailAlloc_20363_; -v_reuseFailAlloc_20363_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20363_, 0, v_a_20357_); -v___x_20362_ = v_reuseFailAlloc_20363_; -goto v_reusejp_20361_; -} -v_reusejp_20361_: -{ -return v___x_20362_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg___boxed(lean_object* v_e_20365_, lean_object* v_a_20366_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg___boxed(lean_object* v_env_20363_, lean_object* v___y_20364_, lean_object* v___y_20365_, lean_object* v___y_20366_){ _start: { lean_object* v_res_20367_; -v_res_20367_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v_e_20365_); +v_res_20367_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_20363_, v___y_20364_, v___y_20365_); +lean_dec(v___y_20365_); +lean_dec(v___y_20364_); return v_res_20367_; } } -LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3(lean_object* v_00_u03b1_20368_, lean_object* v_e_20369_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2(lean_object* v_env_20368_, lean_object* v___y_20369_, lean_object* v___y_20370_, lean_object* v___y_20371_, lean_object* v___y_20372_, lean_object* v___y_20373_, lean_object* v___y_20374_){ _start: { -lean_object* v___x_20371_; -v___x_20371_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v_e_20369_); -return v___x_20371_; +lean_object* v___x_20376_; +v___x_20376_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_20368_, v___y_20372_, v___y_20374_); +return v___x_20376_; } } -LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___boxed(lean_object* v_00_u03b1_20372_, lean_object* v_e_20373_, lean_object* v_a_20374_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___boxed(lean_object* v_env_20377_, lean_object* v___y_20378_, lean_object* v___y_20379_, lean_object* v___y_20380_, lean_object* v___y_20381_, lean_object* v___y_20382_, lean_object* v___y_20383_, lean_object* v___y_20384_){ _start: { -lean_object* v_res_20375_; -v_res_20375_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3(v_00_u03b1_20372_, v_e_20373_); -return v_res_20375_; +lean_object* v_res_20385_; +v_res_20385_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2(v_env_20377_, v___y_20378_, v___y_20379_, v___y_20380_, v___y_20381_, v___y_20382_, v___y_20383_); +lean_dec(v___y_20383_); +lean_dec_ref(v___y_20382_); +lean_dec(v___y_20381_); +lean_dec_ref(v___y_20380_); +lean_dec(v___y_20379_); +lean_dec_ref(v___y_20378_); +return v_res_20385_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(lean_object* v___y_20376_){ +LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(lean_object* v_e_20386_){ _start: { -lean_object* v___x_20378_; lean_object* v_infoState_20379_; lean_object* v_trees_20380_; lean_object* v___x_20381_; -v___x_20378_ = lean_st_ref_get(v___y_20376_); -v_infoState_20379_ = lean_ctor_get(v___x_20378_, 7); -lean_inc_ref(v_infoState_20379_); -lean_dec(v___x_20378_); -v_trees_20380_ = lean_ctor_get(v_infoState_20379_, 2); -lean_inc_ref(v_trees_20380_); -lean_dec_ref(v_infoState_20379_); -v___x_20381_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20381_, 0, v_trees_20380_); -return v___x_20381_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg___boxed(lean_object* v___y_20382_, lean_object* v___y_20383_){ -_start: +if (lean_obj_tag(v_e_20386_) == 0) { -lean_object* v_res_20384_; -v_res_20384_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20382_); -lean_dec(v___y_20382_); -return v_res_20384_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5(lean_object* v___y_20385_, lean_object* v___y_20386_, lean_object* v___y_20387_, lean_object* v___y_20388_, lean_object* v___y_20389_, lean_object* v___y_20390_){ -_start: +lean_object* v_a_20388_; lean_object* v___x_20390_; uint8_t v_isShared_20391_; uint8_t v_isSharedCheck_20396_; +v_a_20388_ = lean_ctor_get(v_e_20386_, 0); +v_isSharedCheck_20396_ = !lean_is_exclusive(v_e_20386_); +if (v_isSharedCheck_20396_ == 0) { -lean_object* v___x_20392_; -v___x_20392_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20390_); -return v___x_20392_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___boxed(lean_object* v___y_20393_, lean_object* v___y_20394_, lean_object* v___y_20395_, lean_object* v___y_20396_, lean_object* v___y_20397_, lean_object* v___y_20398_, lean_object* v___y_20399_){ -_start: -{ -lean_object* v_res_20400_; -v_res_20400_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5(v___y_20393_, v___y_20394_, v___y_20395_, v___y_20396_, v___y_20397_, v___y_20398_); -lean_dec(v___y_20398_); -lean_dec_ref(v___y_20397_); -lean_dec(v___y_20396_); -lean_dec_ref(v___y_20395_); -lean_dec(v___y_20394_); -lean_dec_ref(v___y_20393_); -return v_res_20400_; -} -} -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(lean_object* v_category_20401_, lean_object* v_opts_20402_, lean_object* v_act_20403_, lean_object* v_decl_20404_, lean_object* v___y_20405_, lean_object* v___y_20406_, lean_object* v___y_20407_, lean_object* v___y_20408_, lean_object* v___y_20409_, lean_object* v___y_20410_){ -_start: -{ -lean_object* v___x_20412_; lean_object* v___x_20413_; -v___x_20412_ = lean_apply_6(v_act_20403_, v___y_20405_, v___y_20406_, v___y_20407_, v___y_20408_, v___y_20409_, v___y_20410_); -v___x_20413_ = l_Lean_profileitIOUnsafe___redArg(v_category_20401_, v_opts_20402_, v___x_20412_, v_decl_20404_); -return v___x_20413_; -} -} -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg___boxed(lean_object* v_category_20414_, lean_object* v_opts_20415_, lean_object* v_act_20416_, lean_object* v_decl_20417_, lean_object* v___y_20418_, lean_object* v___y_20419_, lean_object* v___y_20420_, lean_object* v___y_20421_, lean_object* v___y_20422_, lean_object* v___y_20423_, lean_object* v___y_20424_){ -_start: -{ -lean_object* v_res_20425_; -v_res_20425_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v_category_20414_, v_opts_20415_, v_act_20416_, v_decl_20417_, v___y_20418_, v___y_20419_, v___y_20420_, v___y_20421_, v___y_20422_, v___y_20423_); -lean_dec_ref(v_opts_20415_); -lean_dec_ref(v_category_20414_); -return v_res_20425_; -} -} -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6(lean_object* v_00_u03b1_20426_, lean_object* v_category_20427_, lean_object* v_opts_20428_, lean_object* v_act_20429_, lean_object* v_decl_20430_, lean_object* v___y_20431_, lean_object* v___y_20432_, lean_object* v___y_20433_, lean_object* v___y_20434_, lean_object* v___y_20435_, lean_object* v___y_20436_){ -_start: -{ -lean_object* v___x_20438_; -v___x_20438_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v_category_20427_, v_opts_20428_, v_act_20429_, v_decl_20430_, v___y_20431_, v___y_20432_, v___y_20433_, v___y_20434_, v___y_20435_, v___y_20436_); -return v___x_20438_; -} -} -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___boxed(lean_object* v_00_u03b1_20439_, lean_object* v_category_20440_, lean_object* v_opts_20441_, lean_object* v_act_20442_, lean_object* v_decl_20443_, lean_object* v___y_20444_, lean_object* v___y_20445_, lean_object* v___y_20446_, lean_object* v___y_20447_, lean_object* v___y_20448_, lean_object* v___y_20449_, lean_object* v___y_20450_){ -_start: -{ -lean_object* v_res_20451_; -v_res_20451_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6(v_00_u03b1_20439_, v_category_20440_, v_opts_20441_, v_act_20442_, v_decl_20443_, v___y_20444_, v___y_20445_, v___y_20446_, v___y_20447_, v___y_20448_, v___y_20449_); -lean_dec_ref(v_opts_20441_); -lean_dec_ref(v_category_20440_); -return v_res_20451_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0(lean_object* v_x_20452_){ -_start: -{ -lean_object* v___x_20453_; -v___x_20453_ = l_Lean_Language_instInhabitedSnapshotTree_default; -return v___x_20453_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0___boxed(lean_object* v_x_20454_){ -_start: -{ -lean_object* v_res_20455_; -v_res_20455_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0(v_x_20454_); -lean_dec_ref(v_x_20454_); -return v_res_20455_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1(lean_object* v_x_20456_){ -_start: -{ -if (lean_obj_tag(v_x_20456_) == 0) -{ -lean_object* v___x_20457_; -v___x_20457_ = l_Lean_Elab_instInhabitedInfoTree_default; -return v___x_20457_; +v___x_20390_ = v_e_20386_; +v_isShared_20391_ = v_isSharedCheck_20396_; +goto v_resetjp_20389_; } else { -lean_object* v_val_20458_; -v_val_20458_ = lean_ctor_get(v_x_20456_, 0); -lean_inc(v_val_20458_); -return v_val_20458_; +lean_inc(v_a_20388_); +lean_dec(v_e_20386_); +v___x_20390_ = lean_box(0); +v_isShared_20391_ = v_isSharedCheck_20396_; +goto v_resetjp_20389_; +} +v_resetjp_20389_: +{ +lean_object* v___x_20392_; lean_object* v___x_20394_; +v___x_20392_ = lean_mk_io_user_error(v_a_20388_); +if (v_isShared_20391_ == 0) +{ +lean_ctor_set_tag(v___x_20390_, 1); +lean_ctor_set(v___x_20390_, 0, v___x_20392_); +v___x_20394_ = v___x_20390_; +goto v_reusejp_20393_; +} +else +{ +lean_object* v_reuseFailAlloc_20395_; +v_reuseFailAlloc_20395_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20395_, 0, v___x_20392_); +v___x_20394_ = v_reuseFailAlloc_20395_; +goto v_reusejp_20393_; +} +v_reusejp_20393_: +{ +return v___x_20394_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1___boxed(lean_object* v_x_20459_){ +else +{ +lean_object* v_a_20397_; lean_object* v___x_20399_; uint8_t v_isShared_20400_; uint8_t v_isSharedCheck_20404_; +v_a_20397_ = lean_ctor_get(v_e_20386_, 0); +v_isSharedCheck_20404_ = !lean_is_exclusive(v_e_20386_); +if (v_isSharedCheck_20404_ == 0) +{ +v___x_20399_ = v_e_20386_; +v_isShared_20400_ = v_isSharedCheck_20404_; +goto v_resetjp_20398_; +} +else +{ +lean_inc(v_a_20397_); +lean_dec(v_e_20386_); +v___x_20399_ = lean_box(0); +v_isShared_20400_ = v_isSharedCheck_20404_; +goto v_resetjp_20398_; +} +v_resetjp_20398_: +{ +lean_object* v___x_20402_; +if (v_isShared_20400_ == 0) +{ +lean_ctor_set_tag(v___x_20399_, 0); +v___x_20402_ = v___x_20399_; +goto v_reusejp_20401_; +} +else +{ +lean_object* v_reuseFailAlloc_20403_; +v_reuseFailAlloc_20403_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20403_, 0, v_a_20397_); +v___x_20402_ = v_reuseFailAlloc_20403_; +goto v_reusejp_20401_; +} +v_reusejp_20401_: +{ +return v___x_20402_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg___boxed(lean_object* v_e_20405_, lean_object* v_a_20406_){ _start: { -lean_object* v_res_20460_; -v_res_20460_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1(v_x_20459_); -lean_dec(v_x_20459_); -return v_res_20460_; +lean_object* v_res_20407_; +v_res_20407_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v_e_20405_); +return v_res_20407_; +} +} +LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3(lean_object* v_00_u03b1_20408_, lean_object* v_e_20409_){ +_start: +{ +lean_object* v___x_20411_; +v___x_20411_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v_e_20409_); +return v___x_20411_; +} +} +LEAN_EXPORT lean_object* l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___boxed(lean_object* v_00_u03b1_20412_, lean_object* v_e_20413_, lean_object* v_a_20414_){ +_start: +{ +lean_object* v_res_20415_; +v_res_20415_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3(v_00_u03b1_20412_, v_e_20413_); +return v_res_20415_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(lean_object* v___y_20416_){ +_start: +{ +lean_object* v___x_20418_; lean_object* v_infoState_20419_; lean_object* v_trees_20420_; lean_object* v___x_20421_; +v___x_20418_ = lean_st_ref_get(v___y_20416_); +v_infoState_20419_ = lean_ctor_get(v___x_20418_, 7); +lean_inc_ref(v_infoState_20419_); +lean_dec(v___x_20418_); +v_trees_20420_ = lean_ctor_get(v_infoState_20419_, 2); +lean_inc_ref(v_trees_20420_); +lean_dec_ref(v_infoState_20419_); +v___x_20421_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20421_, 0, v_trees_20420_); +return v___x_20421_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg___boxed(lean_object* v___y_20422_, lean_object* v___y_20423_){ +_start: +{ +lean_object* v_res_20424_; +v_res_20424_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20422_); +lean_dec(v___y_20422_); +return v_res_20424_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5(lean_object* v___y_20425_, lean_object* v___y_20426_, lean_object* v___y_20427_, lean_object* v___y_20428_, lean_object* v___y_20429_, lean_object* v___y_20430_){ +_start: +{ +lean_object* v___x_20432_; +v___x_20432_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20430_); +return v___x_20432_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___boxed(lean_object* v___y_20433_, lean_object* v___y_20434_, lean_object* v___y_20435_, lean_object* v___y_20436_, lean_object* v___y_20437_, lean_object* v___y_20438_, lean_object* v___y_20439_){ +_start: +{ +lean_object* v_res_20440_; +v_res_20440_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5(v___y_20433_, v___y_20434_, v___y_20435_, v___y_20436_, v___y_20437_, v___y_20438_); +lean_dec(v___y_20438_); +lean_dec_ref(v___y_20437_); +lean_dec(v___y_20436_); +lean_dec_ref(v___y_20435_); +lean_dec(v___y_20434_); +lean_dec_ref(v___y_20433_); +return v_res_20440_; +} +} +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(lean_object* v_category_20441_, lean_object* v_opts_20442_, lean_object* v_act_20443_, lean_object* v_decl_20444_, lean_object* v___y_20445_, lean_object* v___y_20446_, lean_object* v___y_20447_, lean_object* v___y_20448_, lean_object* v___y_20449_, lean_object* v___y_20450_){ +_start: +{ +lean_object* v___x_20452_; lean_object* v___x_20453_; +v___x_20452_ = lean_apply_6(v_act_20443_, v___y_20445_, v___y_20446_, v___y_20447_, v___y_20448_, v___y_20449_, v___y_20450_); +v___x_20453_ = l_Lean_profileitIOUnsafe___redArg(v_category_20441_, v_opts_20442_, v___x_20452_, v_decl_20444_); +return v___x_20453_; +} +} +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg___boxed(lean_object* v_category_20454_, lean_object* v_opts_20455_, lean_object* v_act_20456_, lean_object* v_decl_20457_, lean_object* v___y_20458_, lean_object* v___y_20459_, lean_object* v___y_20460_, lean_object* v___y_20461_, lean_object* v___y_20462_, lean_object* v___y_20463_, lean_object* v___y_20464_){ +_start: +{ +lean_object* v_res_20465_; +v_res_20465_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v_category_20454_, v_opts_20455_, v_act_20456_, v_decl_20457_, v___y_20458_, v___y_20459_, v___y_20460_, v___y_20461_, v___y_20462_, v___y_20463_); +lean_dec_ref(v_opts_20455_); +lean_dec_ref(v_category_20454_); +return v_res_20465_; +} +} +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6(lean_object* v_00_u03b1_20466_, lean_object* v_category_20467_, lean_object* v_opts_20468_, lean_object* v_act_20469_, lean_object* v_decl_20470_, lean_object* v___y_20471_, lean_object* v___y_20472_, lean_object* v___y_20473_, lean_object* v___y_20474_, lean_object* v___y_20475_, lean_object* v___y_20476_){ +_start: +{ +lean_object* v___x_20478_; +v___x_20478_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v_category_20467_, v_opts_20468_, v_act_20469_, v_decl_20470_, v___y_20471_, v___y_20472_, v___y_20473_, v___y_20474_, v___y_20475_, v___y_20476_); +return v___x_20478_; +} +} +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___boxed(lean_object* v_00_u03b1_20479_, lean_object* v_category_20480_, lean_object* v_opts_20481_, lean_object* v_act_20482_, lean_object* v_decl_20483_, lean_object* v___y_20484_, lean_object* v___y_20485_, lean_object* v___y_20486_, lean_object* v___y_20487_, lean_object* v___y_20488_, lean_object* v___y_20489_, lean_object* v___y_20490_){ +_start: +{ +lean_object* v_res_20491_; +v_res_20491_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6(v_00_u03b1_20479_, v_category_20480_, v_opts_20481_, v_act_20482_, v_decl_20483_, v___y_20484_, v___y_20485_, v___y_20486_, v___y_20487_, v___y_20488_, v___y_20489_); +lean_dec_ref(v_opts_20481_); +lean_dec_ref(v_category_20480_); +return v_res_20491_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0(lean_object* v_x_20492_){ +_start: +{ +lean_object* v___x_20493_; +v___x_20493_ = l_Lean_Language_instInhabitedSnapshotTree_default; +return v___x_20493_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0___boxed(lean_object* v_x_20494_){ +_start: +{ +lean_object* v_res_20495_; +v_res_20495_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__0(v_x_20494_); +lean_dec_ref(v_x_20494_); +return v_res_20495_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1(lean_object* v_x_20496_){ +_start: +{ +if (lean_obj_tag(v_x_20496_) == 0) +{ +lean_object* v___x_20497_; +v___x_20497_ = l_Lean_Elab_instInhabitedInfoTree_default; +return v___x_20497_; +} +else +{ +lean_object* v_val_20498_; +v_val_20498_ = lean_ctor_get(v_x_20496_, 0); +lean_inc(v_val_20498_); +return v_val_20498_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1___boxed(lean_object* v_x_20499_){ +_start: +{ +lean_object* v_res_20500_; +v_res_20500_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__1(v_x_20499_); +lean_dec(v_x_20499_); +return v_res_20500_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1(void){ _start: { -lean_object* v___x_20464_; lean_object* v___x_20465_; lean_object* v___x_20466_; -v___x_20464_ = lean_box(0); -v___x_20465_ = lean_unsigned_to_nat(16u); -v___x_20466_ = lean_mk_array(v___x_20465_, v___x_20464_); -return v___x_20466_; +lean_object* v___x_20504_; lean_object* v___x_20505_; lean_object* v___x_20506_; +v___x_20504_ = lean_box(0); +v___x_20505_ = lean_unsigned_to_nat(16u); +v___x_20506_ = lean_mk_array(v___x_20505_, v___x_20504_); +return v___x_20506_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2(void){ _start: { -lean_object* v___x_20467_; lean_object* v___x_20468_; lean_object* v___x_20469_; -v___x_20467_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1); -v___x_20468_ = lean_unsigned_to_nat(0u); -v___x_20469_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20469_, 0, v___x_20468_); -lean_ctor_set(v___x_20469_, 1, v___x_20467_); -return v___x_20469_; +lean_object* v___x_20507_; lean_object* v___x_20508_; lean_object* v___x_20509_; +v___x_20507_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__1); +v___x_20508_ = lean_unsigned_to_nat(0u); +v___x_20509_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20509_, 0, v___x_20508_); +lean_ctor_set(v___x_20509_, 1, v___x_20507_); +return v___x_20509_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3(void){ _start: { -lean_object* v___x_20470_; lean_object* v___x_20471_; lean_object* v___x_20472_; -v___x_20470_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__0)); -v___x_20471_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2); -v___x_20472_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_20472_, 0, v___x_20471_); -lean_ctor_set(v___x_20472_, 1, v___x_20471_); -lean_ctor_set(v___x_20472_, 2, v___x_20470_); -return v___x_20472_; +lean_object* v___x_20510_; lean_object* v___x_20511_; lean_object* v___x_20512_; +v___x_20510_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars_getFVars___closed__0)); +v___x_20511_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__2); +v___x_20512_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_20512_, 0, v___x_20511_); +lean_ctor_set(v___x_20512_, 1, v___x_20511_); +lean_ctor_set(v___x_20512_, 2, v___x_20510_); +return v___x_20512_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3(lean_object* v_header_20473_, uint8_t v___x_20474_, lean_object* v___x_20475_, lean_object* v_a_20476_, lean_object* v_vars_20477_, lean_object* v___y_20478_, lean_object* v___y_20479_, lean_object* v___y_20480_, lean_object* v___y_20481_, lean_object* v___y_20482_, lean_object* v___y_20483_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3(lean_object* v_header_20513_, uint8_t v___x_20514_, lean_object* v___x_20515_, lean_object* v_a_20516_, lean_object* v_vars_20517_, lean_object* v___y_20518_, lean_object* v___y_20519_, lean_object* v___y_20520_, lean_object* v___y_20521_, lean_object* v___y_20522_, lean_object* v___y_20523_){ _start: { -lean_object* v_toDefViewElabHeaderData_20485_; lean_object* v_toDefView_20486_; lean_object* v_declName_20487_; lean_object* v_type_20488_; uint8_t v___x_20489_; uint8_t v___x_20490_; lean_object* v___x_20491_; -v_toDefViewElabHeaderData_20485_ = lean_ctor_get(v_header_20473_, 1); -lean_inc_ref(v_toDefViewElabHeaderData_20485_); -v_toDefView_20486_ = lean_ctor_get(v_header_20473_, 0); -lean_inc_ref(v_toDefView_20486_); -lean_dec_ref(v_header_20473_); -v_declName_20487_ = lean_ctor_get(v_toDefViewElabHeaderData_20485_, 1); -lean_inc(v_declName_20487_); -v_type_20488_ = lean_ctor_get(v_toDefViewElabHeaderData_20485_, 5); -lean_inc_ref(v_type_20488_); -lean_dec_ref(v_toDefViewElabHeaderData_20485_); -v___x_20489_ = 0; -v___x_20490_ = 1; -v___x_20491_ = l_Lean_Meta_mkForallFVars(v_vars_20477_, v_type_20488_, v___x_20489_, v___x_20474_, v___x_20474_, v___x_20490_, v___y_20480_, v___y_20481_, v___y_20482_, v___y_20483_); -if (lean_obj_tag(v___x_20491_) == 0) +lean_object* v_toDefViewElabHeaderData_20525_; lean_object* v_toDefView_20526_; lean_object* v_declName_20527_; lean_object* v_type_20528_; uint8_t v___x_20529_; uint8_t v___x_20530_; lean_object* v___x_20531_; +v_toDefViewElabHeaderData_20525_ = lean_ctor_get(v_header_20513_, 1); +lean_inc_ref(v_toDefViewElabHeaderData_20525_); +v_toDefView_20526_ = lean_ctor_get(v_header_20513_, 0); +lean_inc_ref(v_toDefView_20526_); +lean_dec_ref(v_header_20513_); +v_declName_20527_ = lean_ctor_get(v_toDefViewElabHeaderData_20525_, 1); +lean_inc(v_declName_20527_); +v_type_20528_ = lean_ctor_get(v_toDefViewElabHeaderData_20525_, 5); +lean_inc_ref(v_type_20528_); +lean_dec_ref(v_toDefViewElabHeaderData_20525_); +v___x_20529_ = 0; +v___x_20530_ = 1; +v___x_20531_ = l_Lean_Meta_mkForallFVars(v_vars_20517_, v_type_20528_, v___x_20529_, v___x_20514_, v___x_20514_, v___x_20530_, v___y_20520_, v___y_20521_, v___y_20522_, v___y_20523_); +if (lean_obj_tag(v___x_20531_) == 0) { -lean_object* v_a_20492_; lean_object* v___f_20493_; lean_object* v___x_20494_; lean_object* v___x_20495_; lean_object* v___x_20496_; -v_a_20492_ = lean_ctor_get(v___x_20491_, 0); -lean_inc(v_a_20492_); -lean_dec_ref(v___x_20491_); -v___f_20493_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__0)); -v___x_20494_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v___x_20475_); -v___x_20495_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_levelMVarToParam___boxed), 9, 2); -lean_closure_set(v___x_20495_, 0, v_a_20492_); -lean_closure_set(v___x_20495_, 1, v___f_20493_); -lean_inc(v___y_20483_); -lean_inc_ref(v___y_20482_); -lean_inc(v___y_20481_); -lean_inc_ref(v___y_20480_); -lean_inc(v___y_20479_); -lean_inc(v___x_20494_); -v___x_20496_ = l_Lean_Elab_Term_withLevelNames___redArg(v___x_20494_, v___x_20495_, v___y_20478_, v___y_20479_, v___y_20480_, v___y_20481_, v___y_20482_, v___y_20483_); -if (lean_obj_tag(v___x_20496_) == 0) +lean_object* v_a_20532_; lean_object* v___f_20533_; lean_object* v___x_20534_; lean_object* v___x_20535_; lean_object* v___x_20536_; +v_a_20532_ = lean_ctor_get(v___x_20531_, 0); +lean_inc(v_a_20532_); +lean_dec_ref(v___x_20531_); +v___f_20533_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__0)); +v___x_20534_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getAllUserLevelNames(v___x_20515_); +v___x_20535_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_levelMVarToParam___boxed), 9, 2); +lean_closure_set(v___x_20535_, 0, v_a_20532_); +lean_closure_set(v___x_20535_, 1, v___f_20533_); +lean_inc(v___y_20523_); +lean_inc_ref(v___y_20522_); +lean_inc(v___y_20521_); +lean_inc_ref(v___y_20520_); +lean_inc(v___y_20519_); +lean_inc(v___x_20534_); +v___x_20536_ = l_Lean_Elab_Term_withLevelNames___redArg(v___x_20534_, v___x_20535_, v___y_20518_, v___y_20519_, v___y_20520_, v___y_20521_, v___y_20522_, v___y_20523_); +if (lean_obj_tag(v___x_20536_) == 0) { -lean_object* v_a_20497_; lean_object* v___x_20498_; lean_object* v_a_20499_; lean_object* v___x_20501_; uint8_t v_isShared_20502_; uint8_t v_isSharedCheck_20601_; -v_a_20497_ = lean_ctor_get(v___x_20496_, 0); -lean_inc(v_a_20497_); -lean_dec_ref(v___x_20496_); -v___x_20498_ = l_Lean_instantiateMVars___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__4___redArg(v_a_20497_, v___y_20481_); -v_a_20499_ = lean_ctor_get(v___x_20498_, 0); -v_isSharedCheck_20601_ = !lean_is_exclusive(v___x_20498_); -if (v_isSharedCheck_20601_ == 0) +lean_object* v_a_20537_; lean_object* v___x_20538_; lean_object* v_a_20539_; lean_object* v___x_20541_; uint8_t v_isShared_20542_; uint8_t v_isSharedCheck_20641_; +v_a_20537_ = lean_ctor_get(v___x_20536_, 0); +lean_inc(v_a_20537_); +lean_dec_ref(v___x_20536_); +v___x_20538_ = l_Lean_instantiateMVars___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__4___redArg(v_a_20537_, v___y_20521_); +v_a_20539_ = lean_ctor_get(v___x_20538_, 0); +v_isSharedCheck_20641_ = !lean_is_exclusive(v___x_20538_); +if (v_isSharedCheck_20641_ == 0) { -v___x_20501_ = v___x_20498_; -v_isShared_20502_ = v_isSharedCheck_20601_; -goto v_resetjp_20500_; +v___x_20541_ = v___x_20538_; +v_isShared_20542_ = v_isSharedCheck_20641_; +goto v_resetjp_20540_; } else { -lean_inc(v_a_20499_); -lean_dec(v___x_20498_); -v___x_20501_ = lean_box(0); -v_isShared_20502_ = v_isSharedCheck_20601_; -goto v_resetjp_20500_; +lean_inc(v_a_20539_); +lean_dec(v___x_20538_); +v___x_20541_ = lean_box(0); +v_isShared_20542_ = v_isSharedCheck_20641_; +goto v_resetjp_20540_; } -v_resetjp_20500_: +v_resetjp_20540_: { -lean_object* v___x_20503_; -v___x_20503_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_20479_); -lean_dec(v___y_20479_); -if (lean_obj_tag(v___x_20503_) == 0) +lean_object* v___x_20543_; +v___x_20543_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_20519_); +lean_dec(v___y_20519_); +if (lean_obj_tag(v___x_20543_) == 0) { -lean_object* v_a_20504_; lean_object* v___x_20505_; lean_object* v___x_20506_; lean_object* v_params_20507_; lean_object* v___x_20509_; uint8_t v_isShared_20510_; uint8_t v_isSharedCheck_20590_; -v_a_20504_ = lean_ctor_get(v___x_20503_, 0); -lean_inc(v_a_20504_); -lean_dec_ref(v___x_20503_); -v___x_20505_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3); -lean_inc(v_a_20499_); -v___x_20506_ = l_Lean_collectLevelParams(v___x_20505_, v_a_20499_); -v_params_20507_ = lean_ctor_get(v___x_20506_, 2); -v_isSharedCheck_20590_ = !lean_is_exclusive(v___x_20506_); -if (v_isSharedCheck_20590_ == 0) +lean_object* v_a_20544_; lean_object* v___x_20545_; lean_object* v___x_20546_; lean_object* v_params_20547_; lean_object* v___x_20549_; uint8_t v_isShared_20550_; uint8_t v_isSharedCheck_20630_; +v_a_20544_ = lean_ctor_get(v___x_20543_, 0); +lean_inc(v_a_20544_); +lean_dec_ref(v___x_20543_); +v___x_20545_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___closed__3); +lean_inc(v_a_20539_); +v___x_20546_ = l_Lean_collectLevelParams(v___x_20545_, v_a_20539_); +v_params_20547_ = lean_ctor_get(v___x_20546_, 2); +v_isSharedCheck_20630_ = !lean_is_exclusive(v___x_20546_); +if (v_isSharedCheck_20630_ == 0) { -lean_object* v_unused_20591_; lean_object* v_unused_20592_; -v_unused_20591_ = lean_ctor_get(v___x_20506_, 1); -lean_dec(v_unused_20591_); -v_unused_20592_ = lean_ctor_get(v___x_20506_, 0); -lean_dec(v_unused_20592_); -v___x_20509_ = v___x_20506_; -v_isShared_20510_ = v_isSharedCheck_20590_; -goto v_resetjp_20508_; +lean_object* v_unused_20631_; lean_object* v_unused_20632_; +v_unused_20631_ = lean_ctor_get(v___x_20546_, 1); +lean_dec(v_unused_20631_); +v_unused_20632_ = lean_ctor_get(v___x_20546_, 0); +lean_dec(v_unused_20632_); +v___x_20549_ = v___x_20546_; +v_isShared_20550_ = v_isSharedCheck_20630_; +goto v_resetjp_20548_; } else { -lean_inc(v_params_20507_); -lean_dec(v___x_20506_); -v___x_20509_ = lean_box(0); -v_isShared_20510_ = v_isSharedCheck_20590_; -goto v_resetjp_20508_; +lean_inc(v_params_20547_); +lean_dec(v___x_20546_); +v___x_20549_ = lean_box(0); +v_isShared_20550_ = v_isSharedCheck_20630_; +goto v_resetjp_20548_; } -v_resetjp_20508_: +v_resetjp_20548_: { -lean_object* v___x_20511_; lean_object* v___x_20512_; -v___x_20511_ = l_Lean_Elab_sortDeclLevelParams(v_a_20504_, v___x_20494_, v_params_20507_); -v___x_20512_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v___x_20511_); -if (lean_obj_tag(v___x_20512_) == 0) +lean_object* v___x_20551_; lean_object* v___x_20552_; +v___x_20551_ = l_Lean_Elab_sortDeclLevelParams(v_a_20544_, v___x_20534_, v_params_20547_); +v___x_20552_ = l_IO_ofExcept___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__3___redArg(v___x_20551_); +if (lean_obj_tag(v___x_20552_) == 0) { -lean_object* v_a_20513_; lean_object* v_type_20515_; lean_object* v___y_20516_; lean_object* v_fileName_20544_; lean_object* v_fileMap_20545_; lean_object* v_options_20546_; lean_object* v_currRecDepth_20547_; lean_object* v_maxRecDepth_20548_; lean_object* v_ref_20549_; lean_object* v_currNamespace_20550_; lean_object* v_openDecls_20551_; lean_object* v_initHeartbeats_20552_; lean_object* v_maxHeartbeats_20553_; lean_object* v_quotContext_20554_; lean_object* v_currMacroScope_20555_; uint8_t v_diag_20556_; lean_object* v_cancelTk_x3f_20557_; uint8_t v_suppressElabErrors_20558_; lean_object* v_inheritedTraceOptions_20559_; lean_object* v___x_20560_; uint8_t v___x_20561_; -v_a_20513_ = lean_ctor_get(v___x_20512_, 0); -lean_inc(v_a_20513_); -lean_dec_ref(v___x_20512_); -v_fileName_20544_ = lean_ctor_get(v___y_20482_, 0); -v_fileMap_20545_ = lean_ctor_get(v___y_20482_, 1); -v_options_20546_ = lean_ctor_get(v___y_20482_, 2); -v_currRecDepth_20547_ = lean_ctor_get(v___y_20482_, 3); -v_maxRecDepth_20548_ = lean_ctor_get(v___y_20482_, 4); -v_ref_20549_ = lean_ctor_get(v___y_20482_, 5); -v_currNamespace_20550_ = lean_ctor_get(v___y_20482_, 6); -v_openDecls_20551_ = lean_ctor_get(v___y_20482_, 7); -v_initHeartbeats_20552_ = lean_ctor_get(v___y_20482_, 8); -v_maxHeartbeats_20553_ = lean_ctor_get(v___y_20482_, 9); -v_quotContext_20554_ = lean_ctor_get(v___y_20482_, 10); -v_currMacroScope_20555_ = lean_ctor_get(v___y_20482_, 11); -v_diag_20556_ = lean_ctor_get_uint8(v___y_20482_, sizeof(void*)*14); -v_cancelTk_x3f_20557_ = lean_ctor_get(v___y_20482_, 12); -v_suppressElabErrors_20558_ = lean_ctor_get_uint8(v___y_20482_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_20559_ = lean_ctor_get(v___y_20482_, 13); -v___x_20560_ = l_Lean_Elab_cleanup_letToHave; -v___x_20561_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_20546_, v___x_20560_); -if (v___x_20561_ == 0) +lean_object* v_a_20553_; lean_object* v_type_20555_; lean_object* v___y_20556_; lean_object* v_fileName_20584_; lean_object* v_fileMap_20585_; lean_object* v_options_20586_; lean_object* v_currRecDepth_20587_; lean_object* v_maxRecDepth_20588_; lean_object* v_ref_20589_; lean_object* v_currNamespace_20590_; lean_object* v_openDecls_20591_; lean_object* v_initHeartbeats_20592_; lean_object* v_maxHeartbeats_20593_; lean_object* v_quotContext_20594_; lean_object* v_currMacroScope_20595_; uint8_t v_diag_20596_; lean_object* v_cancelTk_x3f_20597_; uint8_t v_suppressElabErrors_20598_; lean_object* v_inheritedTraceOptions_20599_; lean_object* v___x_20600_; uint8_t v___x_20601_; +v_a_20553_ = lean_ctor_get(v___x_20552_, 0); +lean_inc(v_a_20553_); +lean_dec_ref(v___x_20552_); +v_fileName_20584_ = lean_ctor_get(v___y_20522_, 0); +v_fileMap_20585_ = lean_ctor_get(v___y_20522_, 1); +v_options_20586_ = lean_ctor_get(v___y_20522_, 2); +v_currRecDepth_20587_ = lean_ctor_get(v___y_20522_, 3); +v_maxRecDepth_20588_ = lean_ctor_get(v___y_20522_, 4); +v_ref_20589_ = lean_ctor_get(v___y_20522_, 5); +v_currNamespace_20590_ = lean_ctor_get(v___y_20522_, 6); +v_openDecls_20591_ = lean_ctor_get(v___y_20522_, 7); +v_initHeartbeats_20592_ = lean_ctor_get(v___y_20522_, 8); +v_maxHeartbeats_20593_ = lean_ctor_get(v___y_20522_, 9); +v_quotContext_20594_ = lean_ctor_get(v___y_20522_, 10); +v_currMacroScope_20595_ = lean_ctor_get(v___y_20522_, 11); +v_diag_20596_ = lean_ctor_get_uint8(v___y_20522_, sizeof(void*)*14); +v_cancelTk_x3f_20597_ = lean_ctor_get(v___y_20522_, 12); +v_suppressElabErrors_20598_ = lean_ctor_get_uint8(v___y_20522_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_20599_ = lean_ctor_get(v___y_20522_, 13); +v___x_20600_ = l_Lean_Elab_cleanup_letToHave; +v___x_20601_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_20586_, v___x_20600_); +if (v___x_20601_ == 0) { -lean_dec_ref(v_toDefView_20486_); -lean_dec(v___y_20483_); -lean_dec(v___y_20481_); -lean_dec_ref(v___y_20480_); -v_type_20515_ = v_a_20499_; -v___y_20516_ = v___y_20482_; -goto v___jp_20514_; +lean_dec_ref(v_toDefView_20526_); +lean_dec(v___y_20523_); +lean_dec(v___y_20521_); +lean_dec_ref(v___y_20520_); +v_type_20555_ = v_a_20539_; +v___y_20556_ = v___y_20522_; +goto v___jp_20554_; } else { -lean_object* v_declId_20562_; lean_object* v_ref_20563_; lean_object* v___x_20564_; lean_object* v___x_20565_; -v_declId_20562_ = lean_ctor_get(v_toDefView_20486_, 3); -lean_inc(v_declId_20562_); -lean_dec_ref(v_toDefView_20486_); -v_ref_20563_ = l_Lean_replaceRef(v_declId_20562_, v_ref_20549_); -lean_dec(v_declId_20562_); -lean_inc_ref(v_inheritedTraceOptions_20559_); -lean_inc(v_cancelTk_x3f_20557_); -lean_inc(v_currMacroScope_20555_); -lean_inc(v_quotContext_20554_); -lean_inc(v_maxHeartbeats_20553_); -lean_inc(v_initHeartbeats_20552_); -lean_inc(v_openDecls_20551_); -lean_inc(v_currNamespace_20550_); -lean_inc(v_maxRecDepth_20548_); -lean_inc(v_currRecDepth_20547_); -lean_inc_ref(v_options_20546_); -lean_inc_ref(v_fileMap_20545_); -lean_inc_ref(v_fileName_20544_); -v___x_20564_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_20564_, 0, v_fileName_20544_); -lean_ctor_set(v___x_20564_, 1, v_fileMap_20545_); -lean_ctor_set(v___x_20564_, 2, v_options_20546_); -lean_ctor_set(v___x_20564_, 3, v_currRecDepth_20547_); -lean_ctor_set(v___x_20564_, 4, v_maxRecDepth_20548_); -lean_ctor_set(v___x_20564_, 5, v_ref_20563_); -lean_ctor_set(v___x_20564_, 6, v_currNamespace_20550_); -lean_ctor_set(v___x_20564_, 7, v_openDecls_20551_); -lean_ctor_set(v___x_20564_, 8, v_initHeartbeats_20552_); -lean_ctor_set(v___x_20564_, 9, v_maxHeartbeats_20553_); -lean_ctor_set(v___x_20564_, 10, v_quotContext_20554_); -lean_ctor_set(v___x_20564_, 11, v_currMacroScope_20555_); -lean_ctor_set(v___x_20564_, 12, v_cancelTk_x3f_20557_); -lean_ctor_set(v___x_20564_, 13, v_inheritedTraceOptions_20559_); -lean_ctor_set_uint8(v___x_20564_, sizeof(void*)*14, v_diag_20556_); -lean_ctor_set_uint8(v___x_20564_, sizeof(void*)*14 + 1, v_suppressElabErrors_20558_); -v___x_20565_ = l_Lean_Meta_letToHave(v_a_20499_, v___y_20480_, v___y_20481_, v___x_20564_, v___y_20483_); -if (lean_obj_tag(v___x_20565_) == 0) +lean_object* v_declId_20602_; lean_object* v_ref_20603_; lean_object* v___x_20604_; lean_object* v___x_20605_; +v_declId_20602_ = lean_ctor_get(v_toDefView_20526_, 3); +lean_inc(v_declId_20602_); +lean_dec_ref(v_toDefView_20526_); +v_ref_20603_ = l_Lean_replaceRef(v_declId_20602_, v_ref_20589_); +lean_dec(v_declId_20602_); +lean_inc_ref(v_inheritedTraceOptions_20599_); +lean_inc(v_cancelTk_x3f_20597_); +lean_inc(v_currMacroScope_20595_); +lean_inc(v_quotContext_20594_); +lean_inc(v_maxHeartbeats_20593_); +lean_inc(v_initHeartbeats_20592_); +lean_inc(v_openDecls_20591_); +lean_inc(v_currNamespace_20590_); +lean_inc(v_maxRecDepth_20588_); +lean_inc(v_currRecDepth_20587_); +lean_inc_ref(v_options_20586_); +lean_inc_ref(v_fileMap_20585_); +lean_inc_ref(v_fileName_20584_); +v___x_20604_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_20604_, 0, v_fileName_20584_); +lean_ctor_set(v___x_20604_, 1, v_fileMap_20585_); +lean_ctor_set(v___x_20604_, 2, v_options_20586_); +lean_ctor_set(v___x_20604_, 3, v_currRecDepth_20587_); +lean_ctor_set(v___x_20604_, 4, v_maxRecDepth_20588_); +lean_ctor_set(v___x_20604_, 5, v_ref_20603_); +lean_ctor_set(v___x_20604_, 6, v_currNamespace_20590_); +lean_ctor_set(v___x_20604_, 7, v_openDecls_20591_); +lean_ctor_set(v___x_20604_, 8, v_initHeartbeats_20592_); +lean_ctor_set(v___x_20604_, 9, v_maxHeartbeats_20593_); +lean_ctor_set(v___x_20604_, 10, v_quotContext_20594_); +lean_ctor_set(v___x_20604_, 11, v_currMacroScope_20595_); +lean_ctor_set(v___x_20604_, 12, v_cancelTk_x3f_20597_); +lean_ctor_set(v___x_20604_, 13, v_inheritedTraceOptions_20599_); +lean_ctor_set_uint8(v___x_20604_, sizeof(void*)*14, v_diag_20596_); +lean_ctor_set_uint8(v___x_20604_, sizeof(void*)*14 + 1, v_suppressElabErrors_20598_); +v___x_20605_ = l_Lean_Meta_letToHave(v_a_20539_, v___y_20520_, v___y_20521_, v___x_20604_, v___y_20523_); +if (lean_obj_tag(v___x_20605_) == 0) { -lean_object* v_a_20566_; -v_a_20566_ = lean_ctor_get(v___x_20565_, 0); -lean_inc(v_a_20566_); -lean_dec_ref(v___x_20565_); -v_type_20515_ = v_a_20566_; -v___y_20516_ = v___y_20482_; -goto v___jp_20514_; +lean_object* v_a_20606_; +v_a_20606_ = lean_ctor_get(v___x_20605_, 0); +lean_inc(v_a_20606_); +lean_dec_ref(v___x_20605_); +v_type_20555_ = v_a_20606_; +v___y_20556_ = v___y_20522_; +goto v___jp_20554_; } else { -lean_object* v_a_20567_; lean_object* v___x_20569_; uint8_t v_isShared_20570_; uint8_t v_isSharedCheck_20574_; -lean_dec(v_a_20513_); -lean_del_object(v___x_20509_); -lean_del_object(v___x_20501_); -lean_dec(v_declName_20487_); -lean_dec_ref(v___y_20482_); -lean_dec_ref(v_a_20476_); -v_a_20567_ = lean_ctor_get(v___x_20565_, 0); -v_isSharedCheck_20574_ = !lean_is_exclusive(v___x_20565_); -if (v_isSharedCheck_20574_ == 0) +lean_object* v_a_20607_; lean_object* v___x_20609_; uint8_t v_isShared_20610_; uint8_t v_isSharedCheck_20614_; +lean_dec(v_a_20553_); +lean_del_object(v___x_20549_); +lean_del_object(v___x_20541_); +lean_dec(v_declName_20527_); +lean_dec_ref(v___y_20522_); +lean_dec_ref(v_a_20516_); +v_a_20607_ = lean_ctor_get(v___x_20605_, 0); +v_isSharedCheck_20614_ = !lean_is_exclusive(v___x_20605_); +if (v_isSharedCheck_20614_ == 0) { -v___x_20569_ = v___x_20565_; -v_isShared_20570_ = v_isSharedCheck_20574_; -goto v_resetjp_20568_; +v___x_20609_ = v___x_20605_; +v_isShared_20610_ = v_isSharedCheck_20614_; +goto v_resetjp_20608_; } else { -lean_inc(v_a_20567_); -lean_dec(v___x_20565_); -v___x_20569_ = lean_box(0); -v_isShared_20570_ = v_isSharedCheck_20574_; -goto v_resetjp_20568_; +lean_inc(v_a_20607_); +lean_dec(v___x_20605_); +v___x_20609_ = lean_box(0); +v_isShared_20610_ = v_isSharedCheck_20614_; +goto v_resetjp_20608_; } -v_resetjp_20568_: +v_resetjp_20608_: { -lean_object* v___x_20572_; -if (v_isShared_20570_ == 0) +lean_object* v___x_20612_; +if (v_isShared_20610_ == 0) { -v___x_20572_ = v___x_20569_; -goto v_reusejp_20571_; +v___x_20612_ = v___x_20609_; +goto v_reusejp_20611_; } else { -lean_object* v_reuseFailAlloc_20573_; -v_reuseFailAlloc_20573_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20573_, 0, v_a_20567_); -v___x_20572_ = v_reuseFailAlloc_20573_; -goto v_reusejp_20571_; +lean_object* v_reuseFailAlloc_20613_; +v_reuseFailAlloc_20613_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20613_, 0, v_a_20607_); +v___x_20612_ = v_reuseFailAlloc_20613_; +goto v_reusejp_20611_; } -v_reusejp_20571_: +v_reusejp_20611_: { -return v___x_20572_; +return v___x_20612_; } } } } -v___jp_20514_: +v___jp_20554_: { -lean_object* v___x_20518_; -if (v_isShared_20510_ == 0) +lean_object* v___x_20558_; +if (v_isShared_20550_ == 0) { -lean_ctor_set(v___x_20509_, 2, v_type_20515_); -lean_ctor_set(v___x_20509_, 1, v_a_20513_); -lean_ctor_set(v___x_20509_, 0, v_declName_20487_); -v___x_20518_ = v___x_20509_; -goto v_reusejp_20517_; +lean_ctor_set(v___x_20549_, 2, v_type_20555_); +lean_ctor_set(v___x_20549_, 1, v_a_20553_); +lean_ctor_set(v___x_20549_, 0, v_declName_20527_); +v___x_20558_ = v___x_20549_; +goto v_reusejp_20557_; } else { -lean_object* v_reuseFailAlloc_20543_; -v_reuseFailAlloc_20543_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_20543_, 0, v_declName_20487_); -lean_ctor_set(v_reuseFailAlloc_20543_, 1, v_a_20513_); -lean_ctor_set(v_reuseFailAlloc_20543_, 2, v_type_20515_); -v___x_20518_ = v_reuseFailAlloc_20543_; -goto v_reusejp_20517_; +lean_object* v_reuseFailAlloc_20583_; +v_reuseFailAlloc_20583_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_20583_, 0, v_declName_20527_); +lean_ctor_set(v_reuseFailAlloc_20583_, 1, v_a_20553_); +lean_ctor_set(v_reuseFailAlloc_20583_, 2, v_type_20555_); +v___x_20558_ = v_reuseFailAlloc_20583_; +goto v_reusejp_20557_; } -v_reusejp_20517_: +v_reusejp_20557_: { -lean_object* v___x_20519_; -v___x_20519_ = l_Lean_Environment_AddConstAsyncResult_commitSignature(v_a_20476_, v___x_20518_); -if (lean_obj_tag(v___x_20519_) == 0) +lean_object* v___x_20559_; +v___x_20559_ = l_Lean_Environment_AddConstAsyncResult_commitSignature(v_a_20516_, v___x_20558_); +if (lean_obj_tag(v___x_20559_) == 0) { -lean_object* v_a_20520_; lean_object* v___x_20522_; uint8_t v_isShared_20523_; uint8_t v_isSharedCheck_20527_; -lean_dec_ref(v___y_20516_); -lean_del_object(v___x_20501_); -v_a_20520_ = lean_ctor_get(v___x_20519_, 0); -v_isSharedCheck_20527_ = !lean_is_exclusive(v___x_20519_); -if (v_isSharedCheck_20527_ == 0) +lean_object* v_a_20560_; lean_object* v___x_20562_; uint8_t v_isShared_20563_; uint8_t v_isSharedCheck_20567_; +lean_dec_ref(v___y_20556_); +lean_del_object(v___x_20541_); +v_a_20560_ = lean_ctor_get(v___x_20559_, 0); +v_isSharedCheck_20567_ = !lean_is_exclusive(v___x_20559_); +if (v_isSharedCheck_20567_ == 0) { -v___x_20522_ = v___x_20519_; -v_isShared_20523_ = v_isSharedCheck_20527_; -goto v_resetjp_20521_; +v___x_20562_ = v___x_20559_; +v_isShared_20563_ = v_isSharedCheck_20567_; +goto v_resetjp_20561_; } else { -lean_inc(v_a_20520_); -lean_dec(v___x_20519_); -v___x_20522_ = lean_box(0); -v_isShared_20523_ = v_isSharedCheck_20527_; -goto v_resetjp_20521_; +lean_inc(v_a_20560_); +lean_dec(v___x_20559_); +v___x_20562_ = lean_box(0); +v_isShared_20563_ = v_isSharedCheck_20567_; +goto v_resetjp_20561_; } -v_resetjp_20521_: +v_resetjp_20561_: { -lean_object* v___x_20525_; -if (v_isShared_20523_ == 0) +lean_object* v___x_20565_; +if (v_isShared_20563_ == 0) { -v___x_20525_ = v___x_20522_; -goto v_reusejp_20524_; +v___x_20565_ = v___x_20562_; +goto v_reusejp_20564_; } else { -lean_object* v_reuseFailAlloc_20526_; -v_reuseFailAlloc_20526_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20526_, 0, v_a_20520_); -v___x_20525_ = v_reuseFailAlloc_20526_; -goto v_reusejp_20524_; +lean_object* v_reuseFailAlloc_20566_; +v_reuseFailAlloc_20566_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20566_, 0, v_a_20560_); +v___x_20565_ = v_reuseFailAlloc_20566_; +goto v_reusejp_20564_; } -v_reusejp_20524_: +v_reusejp_20564_: { -return v___x_20525_; +return v___x_20565_; } } } else { -lean_object* v_a_20528_; lean_object* v___x_20530_; uint8_t v_isShared_20531_; uint8_t v_isSharedCheck_20542_; -v_a_20528_ = lean_ctor_get(v___x_20519_, 0); -v_isSharedCheck_20542_ = !lean_is_exclusive(v___x_20519_); -if (v_isSharedCheck_20542_ == 0) +lean_object* v_a_20568_; lean_object* v___x_20570_; uint8_t v_isShared_20571_; uint8_t v_isSharedCheck_20582_; +v_a_20568_ = lean_ctor_get(v___x_20559_, 0); +v_isSharedCheck_20582_ = !lean_is_exclusive(v___x_20559_); +if (v_isSharedCheck_20582_ == 0) { -v___x_20530_ = v___x_20519_; -v_isShared_20531_ = v_isSharedCheck_20542_; -goto v_resetjp_20529_; +v___x_20570_ = v___x_20559_; +v_isShared_20571_ = v_isSharedCheck_20582_; +goto v_resetjp_20569_; } else { -lean_inc(v_a_20528_); -lean_dec(v___x_20519_); -v___x_20530_ = lean_box(0); -v_isShared_20531_ = v_isSharedCheck_20542_; -goto v_resetjp_20529_; +lean_inc(v_a_20568_); +lean_dec(v___x_20559_); +v___x_20570_ = lean_box(0); +v_isShared_20571_ = v_isSharedCheck_20582_; +goto v_resetjp_20569_; } -v_resetjp_20529_: +v_resetjp_20569_: { -lean_object* v_ref_20532_; lean_object* v___x_20533_; lean_object* v___x_20535_; -v_ref_20532_ = lean_ctor_get(v___y_20516_, 5); -lean_inc(v_ref_20532_); -lean_dec_ref(v___y_20516_); -v___x_20533_ = lean_io_error_to_string(v_a_20528_); -if (v_isShared_20502_ == 0) +lean_object* v_ref_20572_; lean_object* v___x_20573_; lean_object* v___x_20575_; +v_ref_20572_ = lean_ctor_get(v___y_20556_, 5); +lean_inc(v_ref_20572_); +lean_dec_ref(v___y_20556_); +v___x_20573_ = lean_io_error_to_string(v_a_20568_); +if (v_isShared_20542_ == 0) { -lean_ctor_set_tag(v___x_20501_, 3); -lean_ctor_set(v___x_20501_, 0, v___x_20533_); -v___x_20535_ = v___x_20501_; -goto v_reusejp_20534_; +lean_ctor_set_tag(v___x_20541_, 3); +lean_ctor_set(v___x_20541_, 0, v___x_20573_); +v___x_20575_ = v___x_20541_; +goto v_reusejp_20574_; } else { -lean_object* v_reuseFailAlloc_20541_; -v_reuseFailAlloc_20541_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20541_, 0, v___x_20533_); -v___x_20535_ = v_reuseFailAlloc_20541_; -goto v_reusejp_20534_; +lean_object* v_reuseFailAlloc_20581_; +v_reuseFailAlloc_20581_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20581_, 0, v___x_20573_); +v___x_20575_ = v_reuseFailAlloc_20581_; +goto v_reusejp_20574_; } -v_reusejp_20534_: +v_reusejp_20574_: { -lean_object* v___x_20536_; lean_object* v___x_20537_; lean_object* v___x_20539_; -v___x_20536_ = l_Lean_MessageData_ofFormat(v___x_20535_); -v___x_20537_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20537_, 0, v_ref_20532_); -lean_ctor_set(v___x_20537_, 1, v___x_20536_); -if (v_isShared_20531_ == 0) +lean_object* v___x_20576_; lean_object* v___x_20577_; lean_object* v___x_20579_; +v___x_20576_ = l_Lean_MessageData_ofFormat(v___x_20575_); +v___x_20577_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20577_, 0, v_ref_20572_); +lean_ctor_set(v___x_20577_, 1, v___x_20576_); +if (v_isShared_20571_ == 0) { -lean_ctor_set(v___x_20530_, 0, v___x_20537_); -v___x_20539_ = v___x_20530_; -goto v_reusejp_20538_; +lean_ctor_set(v___x_20570_, 0, v___x_20577_); +v___x_20579_ = v___x_20570_; +goto v_reusejp_20578_; } else { -lean_object* v_reuseFailAlloc_20540_; -v_reuseFailAlloc_20540_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20540_, 0, v___x_20537_); -v___x_20539_ = v_reuseFailAlloc_20540_; -goto v_reusejp_20538_; +lean_object* v_reuseFailAlloc_20580_; +v_reuseFailAlloc_20580_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20580_, 0, v___x_20577_); +v___x_20579_ = v_reuseFailAlloc_20580_; +goto v_reusejp_20578_; } -v_reusejp_20538_: +v_reusejp_20578_: { -return v___x_20539_; +return v___x_20579_; } } } @@ -59070,77 +59225,77 @@ return v___x_20539_; } else { -lean_object* v_a_20575_; lean_object* v___x_20577_; uint8_t v_isShared_20578_; uint8_t v_isSharedCheck_20589_; -lean_del_object(v___x_20509_); -lean_dec(v_a_20499_); -lean_dec(v_declName_20487_); -lean_dec_ref(v_toDefView_20486_); -lean_dec(v___y_20483_); -lean_dec(v___y_20481_); -lean_dec_ref(v___y_20480_); -lean_dec_ref(v_a_20476_); -v_a_20575_ = lean_ctor_get(v___x_20512_, 0); -v_isSharedCheck_20589_ = !lean_is_exclusive(v___x_20512_); -if (v_isSharedCheck_20589_ == 0) +lean_object* v_a_20615_; lean_object* v___x_20617_; uint8_t v_isShared_20618_; uint8_t v_isSharedCheck_20629_; +lean_del_object(v___x_20549_); +lean_dec(v_a_20539_); +lean_dec(v_declName_20527_); +lean_dec_ref(v_toDefView_20526_); +lean_dec(v___y_20523_); +lean_dec(v___y_20521_); +lean_dec_ref(v___y_20520_); +lean_dec_ref(v_a_20516_); +v_a_20615_ = lean_ctor_get(v___x_20552_, 0); +v_isSharedCheck_20629_ = !lean_is_exclusive(v___x_20552_); +if (v_isSharedCheck_20629_ == 0) { -v___x_20577_ = v___x_20512_; -v_isShared_20578_ = v_isSharedCheck_20589_; -goto v_resetjp_20576_; +v___x_20617_ = v___x_20552_; +v_isShared_20618_ = v_isSharedCheck_20629_; +goto v_resetjp_20616_; } else { -lean_inc(v_a_20575_); -lean_dec(v___x_20512_); -v___x_20577_ = lean_box(0); -v_isShared_20578_ = v_isSharedCheck_20589_; -goto v_resetjp_20576_; +lean_inc(v_a_20615_); +lean_dec(v___x_20552_); +v___x_20617_ = lean_box(0); +v_isShared_20618_ = v_isSharedCheck_20629_; +goto v_resetjp_20616_; } -v_resetjp_20576_: +v_resetjp_20616_: { -lean_object* v_ref_20579_; lean_object* v___x_20580_; lean_object* v___x_20582_; -v_ref_20579_ = lean_ctor_get(v___y_20482_, 5); -lean_inc(v_ref_20579_); -lean_dec_ref(v___y_20482_); -v___x_20580_ = lean_io_error_to_string(v_a_20575_); -if (v_isShared_20502_ == 0) +lean_object* v_ref_20619_; lean_object* v___x_20620_; lean_object* v___x_20622_; +v_ref_20619_ = lean_ctor_get(v___y_20522_, 5); +lean_inc(v_ref_20619_); +lean_dec_ref(v___y_20522_); +v___x_20620_ = lean_io_error_to_string(v_a_20615_); +if (v_isShared_20542_ == 0) { -lean_ctor_set_tag(v___x_20501_, 3); -lean_ctor_set(v___x_20501_, 0, v___x_20580_); -v___x_20582_ = v___x_20501_; -goto v_reusejp_20581_; +lean_ctor_set_tag(v___x_20541_, 3); +lean_ctor_set(v___x_20541_, 0, v___x_20620_); +v___x_20622_ = v___x_20541_; +goto v_reusejp_20621_; } else { -lean_object* v_reuseFailAlloc_20588_; -v_reuseFailAlloc_20588_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20588_, 0, v___x_20580_); -v___x_20582_ = v_reuseFailAlloc_20588_; -goto v_reusejp_20581_; +lean_object* v_reuseFailAlloc_20628_; +v_reuseFailAlloc_20628_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20628_, 0, v___x_20620_); +v___x_20622_ = v_reuseFailAlloc_20628_; +goto v_reusejp_20621_; } -v_reusejp_20581_: +v_reusejp_20621_: { -lean_object* v___x_20583_; lean_object* v___x_20584_; lean_object* v___x_20586_; -v___x_20583_ = l_Lean_MessageData_ofFormat(v___x_20582_); -v___x_20584_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20584_, 0, v_ref_20579_); -lean_ctor_set(v___x_20584_, 1, v___x_20583_); -if (v_isShared_20578_ == 0) +lean_object* v___x_20623_; lean_object* v___x_20624_; lean_object* v___x_20626_; +v___x_20623_ = l_Lean_MessageData_ofFormat(v___x_20622_); +v___x_20624_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20624_, 0, v_ref_20619_); +lean_ctor_set(v___x_20624_, 1, v___x_20623_); +if (v_isShared_20618_ == 0) { -lean_ctor_set(v___x_20577_, 0, v___x_20584_); -v___x_20586_ = v___x_20577_; -goto v_reusejp_20585_; +lean_ctor_set(v___x_20617_, 0, v___x_20624_); +v___x_20626_ = v___x_20617_; +goto v_reusejp_20625_; } else { -lean_object* v_reuseFailAlloc_20587_; -v_reuseFailAlloc_20587_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20587_, 0, v___x_20584_); -v___x_20586_ = v_reuseFailAlloc_20587_; -goto v_reusejp_20585_; +lean_object* v_reuseFailAlloc_20627_; +v_reuseFailAlloc_20627_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20627_, 0, v___x_20624_); +v___x_20626_ = v_reuseFailAlloc_20627_; +goto v_reusejp_20625_; } -v_reusejp_20585_: +v_reusejp_20625_: { -return v___x_20586_; +return v___x_20626_; } } } @@ -59149,52 +59304,52 @@ return v___x_20586_; } else { -lean_object* v_a_20593_; lean_object* v___x_20595_; uint8_t v_isShared_20596_; uint8_t v_isSharedCheck_20600_; -lean_del_object(v___x_20501_); -lean_dec(v_a_20499_); -lean_dec(v___x_20494_); -lean_dec(v_declName_20487_); -lean_dec_ref(v_toDefView_20486_); -lean_dec(v___y_20483_); -lean_dec_ref(v___y_20482_); -lean_dec(v___y_20481_); -lean_dec_ref(v___y_20480_); -lean_dec_ref(v_a_20476_); -v_a_20593_ = lean_ctor_get(v___x_20503_, 0); -v_isSharedCheck_20600_ = !lean_is_exclusive(v___x_20503_); -if (v_isSharedCheck_20600_ == 0) +lean_object* v_a_20633_; lean_object* v___x_20635_; uint8_t v_isShared_20636_; uint8_t v_isSharedCheck_20640_; +lean_del_object(v___x_20541_); +lean_dec(v_a_20539_); +lean_dec(v___x_20534_); +lean_dec(v_declName_20527_); +lean_dec_ref(v_toDefView_20526_); +lean_dec(v___y_20523_); +lean_dec_ref(v___y_20522_); +lean_dec(v___y_20521_); +lean_dec_ref(v___y_20520_); +lean_dec_ref(v_a_20516_); +v_a_20633_ = lean_ctor_get(v___x_20543_, 0); +v_isSharedCheck_20640_ = !lean_is_exclusive(v___x_20543_); +if (v_isSharedCheck_20640_ == 0) { -v___x_20595_ = v___x_20503_; -v_isShared_20596_ = v_isSharedCheck_20600_; -goto v_resetjp_20594_; +v___x_20635_ = v___x_20543_; +v_isShared_20636_ = v_isSharedCheck_20640_; +goto v_resetjp_20634_; } else { -lean_inc(v_a_20593_); -lean_dec(v___x_20503_); -v___x_20595_ = lean_box(0); -v_isShared_20596_ = v_isSharedCheck_20600_; -goto v_resetjp_20594_; +lean_inc(v_a_20633_); +lean_dec(v___x_20543_); +v___x_20635_ = lean_box(0); +v_isShared_20636_ = v_isSharedCheck_20640_; +goto v_resetjp_20634_; } -v_resetjp_20594_: +v_resetjp_20634_: { -lean_object* v___x_20598_; -if (v_isShared_20596_ == 0) +lean_object* v___x_20638_; +if (v_isShared_20636_ == 0) { -v___x_20598_ = v___x_20595_; -goto v_reusejp_20597_; +v___x_20638_ = v___x_20635_; +goto v_reusejp_20637_; } else { -lean_object* v_reuseFailAlloc_20599_; -v_reuseFailAlloc_20599_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20599_, 0, v_a_20593_); -v___x_20598_ = v_reuseFailAlloc_20599_; -goto v_reusejp_20597_; +lean_object* v_reuseFailAlloc_20639_; +v_reuseFailAlloc_20639_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20639_, 0, v_a_20633_); +v___x_20638_ = v_reuseFailAlloc_20639_; +goto v_reusejp_20637_; } -v_reusejp_20597_: +v_reusejp_20637_: { -return v___x_20598_; +return v___x_20638_; } } } @@ -59202,610 +59357,610 @@ return v___x_20598_; } else { -lean_object* v_a_20602_; lean_object* v___x_20604_; uint8_t v_isShared_20605_; uint8_t v_isSharedCheck_20609_; -lean_dec(v___x_20494_); -lean_dec(v_declName_20487_); -lean_dec_ref(v_toDefView_20486_); -lean_dec(v___y_20483_); -lean_dec_ref(v___y_20482_); -lean_dec(v___y_20481_); -lean_dec_ref(v___y_20480_); -lean_dec(v___y_20479_); -lean_dec_ref(v_a_20476_); -v_a_20602_ = lean_ctor_get(v___x_20496_, 0); -v_isSharedCheck_20609_ = !lean_is_exclusive(v___x_20496_); -if (v_isSharedCheck_20609_ == 0) +lean_object* v_a_20642_; lean_object* v___x_20644_; uint8_t v_isShared_20645_; uint8_t v_isSharedCheck_20649_; +lean_dec(v___x_20534_); +lean_dec(v_declName_20527_); +lean_dec_ref(v_toDefView_20526_); +lean_dec(v___y_20523_); +lean_dec_ref(v___y_20522_); +lean_dec(v___y_20521_); +lean_dec_ref(v___y_20520_); +lean_dec(v___y_20519_); +lean_dec_ref(v_a_20516_); +v_a_20642_ = lean_ctor_get(v___x_20536_, 0); +v_isSharedCheck_20649_ = !lean_is_exclusive(v___x_20536_); +if (v_isSharedCheck_20649_ == 0) { -v___x_20604_ = v___x_20496_; -v_isShared_20605_ = v_isSharedCheck_20609_; -goto v_resetjp_20603_; +v___x_20644_ = v___x_20536_; +v_isShared_20645_ = v_isSharedCheck_20649_; +goto v_resetjp_20643_; } else { -lean_inc(v_a_20602_); -lean_dec(v___x_20496_); -v___x_20604_ = lean_box(0); -v_isShared_20605_ = v_isSharedCheck_20609_; -goto v_resetjp_20603_; +lean_inc(v_a_20642_); +lean_dec(v___x_20536_); +v___x_20644_ = lean_box(0); +v_isShared_20645_ = v_isSharedCheck_20649_; +goto v_resetjp_20643_; } -v_resetjp_20603_: +v_resetjp_20643_: { -lean_object* v___x_20607_; -if (v_isShared_20605_ == 0) +lean_object* v___x_20647_; +if (v_isShared_20645_ == 0) { -v___x_20607_ = v___x_20604_; -goto v_reusejp_20606_; +v___x_20647_ = v___x_20644_; +goto v_reusejp_20646_; } else { -lean_object* v_reuseFailAlloc_20608_; -v_reuseFailAlloc_20608_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20608_, 0, v_a_20602_); -v___x_20607_ = v_reuseFailAlloc_20608_; -goto v_reusejp_20606_; +lean_object* v_reuseFailAlloc_20648_; +v_reuseFailAlloc_20648_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20648_, 0, v_a_20642_); +v___x_20647_ = v_reuseFailAlloc_20648_; +goto v_reusejp_20646_; } -v_reusejp_20606_: +v_reusejp_20646_: { -return v___x_20607_; +return v___x_20647_; } } } } else { -lean_object* v_a_20610_; lean_object* v___x_20612_; uint8_t v_isShared_20613_; uint8_t v_isSharedCheck_20617_; -lean_dec(v_declName_20487_); -lean_dec_ref(v_toDefView_20486_); -lean_dec(v___y_20483_); -lean_dec_ref(v___y_20482_); -lean_dec(v___y_20481_); -lean_dec_ref(v___y_20480_); -lean_dec(v___y_20479_); -lean_dec_ref(v___y_20478_); -lean_dec_ref(v_a_20476_); -v_a_20610_ = lean_ctor_get(v___x_20491_, 0); -v_isSharedCheck_20617_ = !lean_is_exclusive(v___x_20491_); -if (v_isSharedCheck_20617_ == 0) +lean_object* v_a_20650_; lean_object* v___x_20652_; uint8_t v_isShared_20653_; uint8_t v_isSharedCheck_20657_; +lean_dec(v_declName_20527_); +lean_dec_ref(v_toDefView_20526_); +lean_dec(v___y_20523_); +lean_dec_ref(v___y_20522_); +lean_dec(v___y_20521_); +lean_dec_ref(v___y_20520_); +lean_dec(v___y_20519_); +lean_dec_ref(v___y_20518_); +lean_dec_ref(v_a_20516_); +v_a_20650_ = lean_ctor_get(v___x_20531_, 0); +v_isSharedCheck_20657_ = !lean_is_exclusive(v___x_20531_); +if (v_isSharedCheck_20657_ == 0) { -v___x_20612_ = v___x_20491_; -v_isShared_20613_ = v_isSharedCheck_20617_; -goto v_resetjp_20611_; -} -else -{ -lean_inc(v_a_20610_); -lean_dec(v___x_20491_); -v___x_20612_ = lean_box(0); -v_isShared_20613_ = v_isSharedCheck_20617_; -goto v_resetjp_20611_; -} -v_resetjp_20611_: -{ -lean_object* v___x_20615_; -if (v_isShared_20613_ == 0) -{ -v___x_20615_ = v___x_20612_; -goto v_reusejp_20614_; -} -else -{ -lean_object* v_reuseFailAlloc_20616_; -v_reuseFailAlloc_20616_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20616_, 0, v_a_20610_); -v___x_20615_ = v_reuseFailAlloc_20616_; -goto v_reusejp_20614_; -} -v_reusejp_20614_: -{ -return v___x_20615_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___boxed(lean_object* v_header_20618_, lean_object* v___x_20619_, lean_object* v___x_20620_, lean_object* v_a_20621_, lean_object* v_vars_20622_, lean_object* v___y_20623_, lean_object* v___y_20624_, lean_object* v___y_20625_, lean_object* v___y_20626_, lean_object* v___y_20627_, lean_object* v___y_20628_, lean_object* v___y_20629_){ -_start: -{ -uint8_t v___x_24066__boxed_20630_; lean_object* v_res_20631_; -v___x_24066__boxed_20630_ = lean_unbox(v___x_20619_); -v_res_20631_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3(v_header_20618_, v___x_24066__boxed_20630_, v___x_20620_, v_a_20621_, v_vars_20622_, v___y_20623_, v___y_20624_, v___y_20625_, v___y_20626_, v___y_20627_, v___y_20628_); -lean_dec_ref(v_vars_20622_); -lean_dec_ref(v___x_20620_); -return v_res_20631_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(lean_object* v___y_20635_, lean_object* v___y_20636_, lean_object* v___y_20637_, lean_object* v___y_20638_, lean_object* v___y_20639_, lean_object* v___y_20640_, lean_object* v_value_20641_, lean_object* v_val_20642_, lean_object* v_a_x3f_20643_){ -_start: -{ -lean_object* v___x_20645_; -lean_inc(v___y_20638_); -lean_inc_ref(v___y_20637_); -lean_inc(v___y_20636_); -lean_inc_ref(v___y_20635_); -v___x_20645_ = l_Lean_Meta_reportDiag(v___y_20635_, v___y_20636_, v___y_20637_, v___y_20638_); -if (lean_obj_tag(v___x_20645_) == 0) -{ -lean_object* v___x_20647_; uint8_t v_isShared_20648_; uint8_t v_isSharedCheck_20675_; -v_isSharedCheck_20675_ = !lean_is_exclusive(v___x_20645_); -if (v_isSharedCheck_20675_ == 0) -{ -lean_object* v_unused_20676_; -v_unused_20676_ = lean_ctor_get(v___x_20645_, 0); -lean_dec(v_unused_20676_); -v___x_20647_ = v___x_20645_; -v_isShared_20648_ = v_isSharedCheck_20675_; -goto v_resetjp_20646_; -} -else -{ -lean_dec(v___x_20645_); -v___x_20647_ = lean_box(0); -v_isShared_20648_ = v_isSharedCheck_20675_; -goto v_resetjp_20646_; -} -v_resetjp_20646_: -{ -lean_object* v___x_20649_; lean_object* v_a_20650_; lean_object* v___x_20652_; uint8_t v_isShared_20653_; uint8_t v_isSharedCheck_20674_; -v___x_20649_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_20639_, v___y_20640_, v___y_20635_, v___y_20636_, v___y_20637_, v___y_20638_); -lean_dec_ref(v___y_20637_); -lean_dec(v___y_20636_); -lean_dec_ref(v___y_20635_); -v_a_20650_ = lean_ctor_get(v___x_20649_, 0); -v_isSharedCheck_20674_ = !lean_is_exclusive(v___x_20649_); -if (v_isSharedCheck_20674_ == 0) -{ -v___x_20652_ = v___x_20649_; -v_isShared_20653_ = v_isSharedCheck_20674_; +v___x_20652_ = v___x_20531_; +v_isShared_20653_ = v_isSharedCheck_20657_; goto v_resetjp_20651_; } else { lean_inc(v_a_20650_); -lean_dec(v___x_20649_); +lean_dec(v___x_20531_); v___x_20652_ = lean_box(0); -v_isShared_20653_ = v_isSharedCheck_20674_; +v_isShared_20653_ = v_isSharedCheck_20657_; goto v_resetjp_20651_; } v_resetjp_20651_: { -lean_object* v___x_20654_; lean_object* v_a_20655_; lean_object* v___x_20657_; uint8_t v_isShared_20658_; uint8_t v_isSharedCheck_20673_; -v___x_20654_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20638_); -lean_dec(v___y_20638_); -v_a_20655_ = lean_ctor_get(v___x_20654_, 0); -v_isSharedCheck_20673_ = !lean_is_exclusive(v___x_20654_); -if (v_isSharedCheck_20673_ == 0) -{ -v___x_20657_ = v___x_20654_; -v_isShared_20658_ = v_isSharedCheck_20673_; -goto v_resetjp_20656_; -} -else -{ -lean_inc(v_a_20655_); -lean_dec(v___x_20654_); -v___x_20657_ = lean_box(0); -v_isShared_20658_ = v_isSharedCheck_20673_; -goto v_resetjp_20656_; -} -v_resetjp_20656_: -{ -lean_object* v___x_20659_; lean_object* v___x_20660_; lean_object* v___x_20662_; -v___x_20659_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2___closed__0)); -v___x_20660_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20660_, 0, v_value_20641_); -lean_ctor_set(v___x_20660_, 1, v___x_20659_); +lean_object* v___x_20655_; if (v_isShared_20653_ == 0) { -lean_ctor_set_tag(v___x_20652_, 10); -lean_ctor_set(v___x_20652_, 0, v___x_20660_); -v___x_20662_ = v___x_20652_; -goto v_reusejp_20661_; +v___x_20655_ = v___x_20652_; +goto v_reusejp_20654_; } else { -lean_object* v_reuseFailAlloc_20672_; -v_reuseFailAlloc_20672_ = lean_alloc_ctor(10, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20672_, 0, v___x_20660_); -v___x_20662_ = v_reuseFailAlloc_20672_; -goto v_reusejp_20661_; +lean_object* v_reuseFailAlloc_20656_; +v_reuseFailAlloc_20656_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20656_, 0, v_a_20650_); +v___x_20655_ = v_reuseFailAlloc_20656_; +goto v_reusejp_20654_; } -v_reusejp_20661_: +v_reusejp_20654_: { -lean_object* v___x_20664_; -if (v_isShared_20648_ == 0) -{ -lean_ctor_set(v___x_20647_, 0, v_a_20650_); -v___x_20664_ = v___x_20647_; -goto v_reusejp_20663_; -} -else -{ -lean_object* v_reuseFailAlloc_20671_; -v_reuseFailAlloc_20671_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20671_, 0, v_a_20650_); -v___x_20664_ = v_reuseFailAlloc_20671_; -goto v_reusejp_20663_; -} -v_reusejp_20663_: -{ -lean_object* v___x_20665_; lean_object* v___x_20666_; lean_object* v___x_20667_; lean_object* v___x_20669_; -v___x_20665_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_20665_, 0, v___x_20662_); -lean_ctor_set(v___x_20665_, 1, v_a_20655_); -v___x_20666_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20666_, 0, v___x_20664_); -lean_ctor_set(v___x_20666_, 1, v___x_20665_); -v___x_20667_ = lean_io_promise_resolve(v___x_20666_, v_val_20642_); -if (v_isShared_20658_ == 0) -{ -lean_ctor_set(v___x_20657_, 0, v___x_20667_); -v___x_20669_ = v___x_20657_; -goto v_reusejp_20668_; -} -else -{ -lean_object* v_reuseFailAlloc_20670_; -v_reuseFailAlloc_20670_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20670_, 0, v___x_20667_); -v___x_20669_ = v_reuseFailAlloc_20670_; -goto v_reusejp_20668_; -} -v_reusejp_20668_: -{ -return v___x_20669_; +return v___x_20655_; } } } } } -} -} -else -{ -lean_dec(v_value_20641_); -lean_dec(v___y_20638_); -lean_dec_ref(v___y_20637_); -lean_dec(v___y_20636_); -lean_dec_ref(v___y_20635_); -return v___x_20645_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2___boxed(lean_object* v___y_20677_, lean_object* v___y_20678_, lean_object* v___y_20679_, lean_object* v___y_20680_, lean_object* v___y_20681_, lean_object* v___y_20682_, lean_object* v_value_20683_, lean_object* v_val_20684_, lean_object* v_a_x3f_20685_, lean_object* v___y_20686_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___boxed(lean_object* v_header_20658_, lean_object* v___x_20659_, lean_object* v___x_20660_, lean_object* v_a_20661_, lean_object* v_vars_20662_, lean_object* v___y_20663_, lean_object* v___y_20664_, lean_object* v___y_20665_, lean_object* v___y_20666_, lean_object* v___y_20667_, lean_object* v___y_20668_, lean_object* v___y_20669_){ _start: { -lean_object* v_res_20687_; -v_res_20687_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20677_, v___y_20678_, v___y_20679_, v___y_20680_, v___y_20681_, v___y_20682_, v_value_20683_, v_val_20684_, v_a_x3f_20685_); -lean_dec(v_a_x3f_20685_); -lean_dec(v_val_20684_); -lean_dec(v___y_20682_); -lean_dec_ref(v___y_20681_); -return v_res_20687_; +uint8_t v___x_24066__boxed_20670_; lean_object* v_res_20671_; +v___x_24066__boxed_20670_ = lean_unbox(v___x_20659_); +v_res_20671_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3(v_header_20658_, v___x_24066__boxed_20670_, v___x_20660_, v_a_20661_, v_vars_20662_, v___y_20663_, v___y_20664_, v___y_20665_, v___y_20666_, v___y_20667_, v___y_20668_); +lean_dec_ref(v_vars_20662_); +lean_dec_ref(v___x_20660_); +return v_res_20671_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4(lean_object* v_asyncEnv_20688_, lean_object* v_value_20689_, lean_object* v_val_20690_, lean_object* v___x_20691_, lean_object* v___x_20692_, lean_object* v_vars_20693_, lean_object* v_sc_20694_, lean_object* v_views_20695_, lean_object* v_a_20696_, lean_object* v___y_20697_, lean_object* v___y_20698_, lean_object* v___y_20699_, lean_object* v___y_20700_, lean_object* v___y_20701_, lean_object* v___y_20702_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(lean_object* v___y_20675_, lean_object* v___y_20676_, lean_object* v___y_20677_, lean_object* v___y_20678_, lean_object* v___y_20679_, lean_object* v___y_20680_, lean_object* v_value_20681_, lean_object* v_val_20682_, lean_object* v_a_x3f_20683_){ _start: { -lean_object* v___x_20704_; lean_object* v___x_20705_; lean_object* v_r_20706_; -v___x_20704_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_asyncEnv_20688_, v___y_20700_, v___y_20702_); -lean_dec_ref(v___x_20704_); -v___x_20705_ = lean_array_push(v___x_20691_, v___x_20692_); -lean_inc(v___y_20702_); -lean_inc_ref(v___y_20701_); -lean_inc(v___y_20700_); -lean_inc_ref(v___y_20699_); -lean_inc(v___y_20698_); -lean_inc_ref(v___y_20697_); -lean_inc_ref(v___x_20705_); -lean_inc_ref(v_views_20695_); -v_r_20706_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20693_, v_sc_20694_, v_views_20695_, v___x_20705_, v___y_20697_, v___y_20698_, v___y_20699_, v___y_20700_, v___y_20701_, v___y_20702_); -if (lean_obj_tag(v_r_20706_) == 0) +lean_object* v___x_20685_; +lean_inc(v___y_20678_); +lean_inc_ref(v___y_20677_); +lean_inc(v___y_20676_); +lean_inc_ref(v___y_20675_); +v___x_20685_ = l_Lean_Meta_reportDiag(v___y_20675_, v___y_20676_, v___y_20677_, v___y_20678_); +if (lean_obj_tag(v___x_20685_) == 0) { -lean_object* v_a_20707_; lean_object* v___x_20709_; uint8_t v_isShared_20710_; uint8_t v_isSharedCheck_20771_; -v_a_20707_ = lean_ctor_get(v_r_20706_, 0); -v_isSharedCheck_20771_ = !lean_is_exclusive(v_r_20706_); -if (v_isSharedCheck_20771_ == 0) +lean_object* v___x_20687_; uint8_t v_isShared_20688_; uint8_t v_isSharedCheck_20715_; +v_isSharedCheck_20715_ = !lean_is_exclusive(v___x_20685_); +if (v_isSharedCheck_20715_ == 0) { -v___x_20709_ = v_r_20706_; -v_isShared_20710_ = v_isSharedCheck_20771_; -goto v_resetjp_20708_; +lean_object* v_unused_20716_; +v_unused_20716_ = lean_ctor_get(v___x_20685_, 0); +lean_dec(v_unused_20716_); +v___x_20687_ = v___x_20685_; +v_isShared_20688_ = v_isSharedCheck_20715_; +goto v_resetjp_20686_; } else { -lean_inc(v_a_20707_); -lean_dec(v_r_20706_); -v___x_20709_ = lean_box(0); -v_isShared_20710_ = v_isSharedCheck_20771_; -goto v_resetjp_20708_; +lean_dec(v___x_20685_); +v___x_20687_ = lean_box(0); +v_isShared_20688_ = v_isSharedCheck_20715_; +goto v_resetjp_20686_; } -v_resetjp_20708_: +v_resetjp_20686_: { -lean_object* v___x_20712_; -if (v_isShared_20710_ == 0) +lean_object* v___x_20689_; lean_object* v_a_20690_; lean_object* v___x_20692_; uint8_t v_isShared_20693_; uint8_t v_isSharedCheck_20714_; +v___x_20689_ = l_Lean_Elab_CommandContextInfo_save___at___00Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14_spec__16(v___y_20679_, v___y_20680_, v___y_20675_, v___y_20676_, v___y_20677_, v___y_20678_); +lean_dec_ref(v___y_20677_); +lean_dec(v___y_20676_); +lean_dec_ref(v___y_20675_); +v_a_20690_ = lean_ctor_get(v___x_20689_, 0); +v_isSharedCheck_20714_ = !lean_is_exclusive(v___x_20689_); +if (v_isSharedCheck_20714_ == 0) { -lean_ctor_set_tag(v___x_20709_, 1); -v___x_20712_ = v___x_20709_; -goto v_reusejp_20711_; +v___x_20692_ = v___x_20689_; +v_isShared_20693_ = v_isSharedCheck_20714_; +goto v_resetjp_20691_; } else { -lean_object* v_reuseFailAlloc_20770_; -v_reuseFailAlloc_20770_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20770_, 0, v_a_20707_); -v___x_20712_ = v_reuseFailAlloc_20770_; -goto v_reusejp_20711_; +lean_inc(v_a_20690_); +lean_dec(v___x_20689_); +v___x_20692_ = lean_box(0); +v_isShared_20693_ = v_isSharedCheck_20714_; +goto v_resetjp_20691_; } -v_reusejp_20711_: +v_resetjp_20691_: { -lean_object* v___x_20713_; -lean_inc(v___y_20702_); -lean_inc_ref(v___y_20701_); -lean_inc(v___y_20700_); -lean_inc_ref(v___y_20699_); -v___x_20713_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20699_, v___y_20700_, v___y_20701_, v___y_20702_, v___y_20697_, v___y_20698_, v_value_20689_, v_val_20690_, v___x_20712_); -lean_dec_ref(v___x_20712_); -if (lean_obj_tag(v___x_20713_) == 0) +lean_object* v___x_20694_; lean_object* v_a_20695_; lean_object* v___x_20697_; uint8_t v_isShared_20698_; uint8_t v_isSharedCheck_20713_; +v___x_20694_ = l_Lean_Elab_getInfoTrees___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__5___redArg(v___y_20678_); +lean_dec(v___y_20678_); +v_a_20695_ = lean_ctor_get(v___x_20694_, 0); +v_isSharedCheck_20713_ = !lean_is_exclusive(v___x_20694_); +if (v_isSharedCheck_20713_ == 0) { -lean_object* v___x_20715_; uint8_t v_isShared_20716_; uint8_t v_isSharedCheck_20768_; -v_isSharedCheck_20768_ = !lean_is_exclusive(v___x_20713_); -if (v_isSharedCheck_20768_ == 0) -{ -lean_object* v_unused_20769_; -v_unused_20769_ = lean_ctor_get(v___x_20713_, 0); -lean_dec(v_unused_20769_); -v___x_20715_ = v___x_20713_; -v_isShared_20716_ = v_isSharedCheck_20768_; -goto v_resetjp_20714_; +v___x_20697_ = v___x_20694_; +v_isShared_20698_ = v_isSharedCheck_20713_; +goto v_resetjp_20696_; } else { -lean_dec(v___x_20713_); -v___x_20715_ = lean_box(0); -v_isShared_20716_ = v_isSharedCheck_20768_; -goto v_resetjp_20714_; +lean_inc(v_a_20695_); +lean_dec(v___x_20694_); +v___x_20697_ = lean_box(0); +v_isShared_20698_ = v_isSharedCheck_20713_; +goto v_resetjp_20696_; } -v_resetjp_20714_: +v_resetjp_20696_: { -lean_object* v___x_20717_; lean_object* v_env_20718_; lean_object* v___x_20719_; lean_object* v___x_20720_; -v___x_20717_ = lean_st_ref_get(v___y_20702_); -v_env_20718_ = lean_ctor_get(v___x_20717_, 0); -lean_inc_ref(v_env_20718_); -lean_dec(v___x_20717_); -v___x_20719_ = lean_box(0); -lean_inc_ref(v_a_20696_); -v___x_20720_ = l_Lean_Environment_AddConstAsyncResult_commitConst(v_a_20696_, v_env_20718_, v___x_20719_, v___x_20719_); -if (lean_obj_tag(v___x_20720_) == 0) +lean_object* v___x_20699_; lean_object* v___x_20700_; lean_object* v___x_20702_; +v___x_20699_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2___closed__0)); +v___x_20700_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20700_, 0, v_value_20681_); +lean_ctor_set(v___x_20700_, 1, v___x_20699_); +if (v_isShared_20693_ == 0) { -lean_object* v___x_20721_; -lean_dec_ref(v___x_20720_); -lean_del_object(v___x_20715_); -lean_inc(v___y_20702_); -v___x_20721_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_20695_, v___x_20705_, v___y_20697_, v___y_20698_, v___y_20699_, v___y_20700_, v___y_20701_, v___y_20702_); -lean_dec_ref(v___x_20705_); -if (lean_obj_tag(v___x_20721_) == 0) -{ -lean_object* v___x_20723_; uint8_t v_isShared_20724_; uint8_t v_isSharedCheck_20751_; -v_isSharedCheck_20751_ = !lean_is_exclusive(v___x_20721_); -if (v_isSharedCheck_20751_ == 0) -{ -lean_object* v_unused_20752_; -v_unused_20752_ = lean_ctor_get(v___x_20721_, 0); -lean_dec(v_unused_20752_); -v___x_20723_ = v___x_20721_; -v_isShared_20724_ = v_isSharedCheck_20751_; -goto v_resetjp_20722_; +lean_ctor_set_tag(v___x_20692_, 10); +lean_ctor_set(v___x_20692_, 0, v___x_20700_); +v___x_20702_ = v___x_20692_; +goto v_reusejp_20701_; } else { -lean_dec(v___x_20721_); -v___x_20723_ = lean_box(0); -v_isShared_20724_ = v_isSharedCheck_20751_; -goto v_resetjp_20722_; +lean_object* v_reuseFailAlloc_20712_; +v_reuseFailAlloc_20712_ = lean_alloc_ctor(10, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20712_, 0, v___x_20700_); +v___x_20702_ = v_reuseFailAlloc_20712_; +goto v_reusejp_20701_; } -v_resetjp_20722_: +v_reusejp_20701_: { -lean_object* v___x_20725_; lean_object* v_env_20726_; lean_object* v___x_20727_; -v___x_20725_ = lean_st_ref_get(v___y_20702_); -lean_dec(v___y_20702_); -v_env_20726_ = lean_ctor_get(v___x_20725_, 0); -lean_inc_ref(v_env_20726_); -lean_dec(v___x_20725_); -v___x_20727_ = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(v_a_20696_, v_env_20726_); -if (lean_obj_tag(v___x_20727_) == 0) +lean_object* v___x_20704_; +if (v_isShared_20688_ == 0) { -lean_object* v_a_20728_; lean_object* v___x_20730_; uint8_t v_isShared_20731_; uint8_t v_isSharedCheck_20735_; -lean_del_object(v___x_20723_); -lean_dec_ref(v___y_20701_); -v_a_20728_ = lean_ctor_get(v___x_20727_, 0); -v_isSharedCheck_20735_ = !lean_is_exclusive(v___x_20727_); -if (v_isSharedCheck_20735_ == 0) -{ -v___x_20730_ = v___x_20727_; -v_isShared_20731_ = v_isSharedCheck_20735_; -goto v_resetjp_20729_; +lean_ctor_set(v___x_20687_, 0, v_a_20690_); +v___x_20704_ = v___x_20687_; +goto v_reusejp_20703_; } else { -lean_inc(v_a_20728_); -lean_dec(v___x_20727_); -v___x_20730_ = lean_box(0); -v_isShared_20731_ = v_isSharedCheck_20735_; -goto v_resetjp_20729_; +lean_object* v_reuseFailAlloc_20711_; +v_reuseFailAlloc_20711_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20711_, 0, v_a_20690_); +v___x_20704_ = v_reuseFailAlloc_20711_; +goto v_reusejp_20703_; } -v_resetjp_20729_: +v_reusejp_20703_: { -lean_object* v___x_20733_; -if (v_isShared_20731_ == 0) +lean_object* v___x_20705_; lean_object* v___x_20706_; lean_object* v___x_20707_; lean_object* v___x_20709_; +v___x_20705_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_20705_, 0, v___x_20702_); +lean_ctor_set(v___x_20705_, 1, v_a_20695_); +v___x_20706_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20706_, 0, v___x_20704_); +lean_ctor_set(v___x_20706_, 1, v___x_20705_); +v___x_20707_ = lean_io_promise_resolve(v___x_20706_, v_val_20682_); +if (v_isShared_20698_ == 0) { -v___x_20733_ = v___x_20730_; -goto v_reusejp_20732_; +lean_ctor_set(v___x_20697_, 0, v___x_20707_); +v___x_20709_ = v___x_20697_; +goto v_reusejp_20708_; } else { -lean_object* v_reuseFailAlloc_20734_; -v_reuseFailAlloc_20734_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20734_, 0, v_a_20728_); -v___x_20733_ = v_reuseFailAlloc_20734_; -goto v_reusejp_20732_; +lean_object* v_reuseFailAlloc_20710_; +v_reuseFailAlloc_20710_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20710_, 0, v___x_20707_); +v___x_20709_ = v_reuseFailAlloc_20710_; +goto v_reusejp_20708_; } -v_reusejp_20732_: +v_reusejp_20708_: { -return v___x_20733_; +return v___x_20709_; } } } -else -{ -lean_object* v_a_20736_; lean_object* v___x_20738_; uint8_t v_isShared_20739_; uint8_t v_isSharedCheck_20750_; -v_a_20736_ = lean_ctor_get(v___x_20727_, 0); -v_isSharedCheck_20750_ = !lean_is_exclusive(v___x_20727_); -if (v_isSharedCheck_20750_ == 0) -{ -v___x_20738_ = v___x_20727_; -v_isShared_20739_ = v_isSharedCheck_20750_; -goto v_resetjp_20737_; -} -else -{ -lean_inc(v_a_20736_); -lean_dec(v___x_20727_); -v___x_20738_ = lean_box(0); -v_isShared_20739_ = v_isSharedCheck_20750_; -goto v_resetjp_20737_; -} -v_resetjp_20737_: -{ -lean_object* v_ref_20740_; lean_object* v___x_20741_; lean_object* v___x_20743_; -v_ref_20740_ = lean_ctor_get(v___y_20701_, 5); -lean_inc(v_ref_20740_); -lean_dec_ref(v___y_20701_); -v___x_20741_ = lean_io_error_to_string(v_a_20736_); -if (v_isShared_20724_ == 0) -{ -lean_ctor_set_tag(v___x_20723_, 3); -lean_ctor_set(v___x_20723_, 0, v___x_20741_); -v___x_20743_ = v___x_20723_; -goto v_reusejp_20742_; -} -else -{ -lean_object* v_reuseFailAlloc_20749_; -v_reuseFailAlloc_20749_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20749_, 0, v___x_20741_); -v___x_20743_ = v_reuseFailAlloc_20749_; -goto v_reusejp_20742_; -} -v_reusejp_20742_: -{ -lean_object* v___x_20744_; lean_object* v___x_20745_; lean_object* v___x_20747_; -v___x_20744_ = l_Lean_MessageData_ofFormat(v___x_20743_); -v___x_20745_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20745_, 0, v_ref_20740_); -lean_ctor_set(v___x_20745_, 1, v___x_20744_); -if (v_isShared_20739_ == 0) -{ -lean_ctor_set(v___x_20738_, 0, v___x_20745_); -v___x_20747_ = v___x_20738_; -goto v_reusejp_20746_; -} -else -{ -lean_object* v_reuseFailAlloc_20748_; -v_reuseFailAlloc_20748_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20748_, 0, v___x_20745_); -v___x_20747_ = v_reuseFailAlloc_20748_; -goto v_reusejp_20746_; -} -v_reusejp_20746_: -{ -return v___x_20747_; -} -} } } } } else { -lean_dec(v___y_20702_); -lean_dec_ref(v___y_20701_); -lean_dec_ref(v_a_20696_); -return v___x_20721_; +lean_dec(v_value_20681_); +lean_dec(v___y_20678_); +lean_dec_ref(v___y_20677_); +lean_dec(v___y_20676_); +lean_dec_ref(v___y_20675_); +return v___x_20685_; } } +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2___boxed(lean_object* v___y_20717_, lean_object* v___y_20718_, lean_object* v___y_20719_, lean_object* v___y_20720_, lean_object* v___y_20721_, lean_object* v___y_20722_, lean_object* v_value_20723_, lean_object* v_val_20724_, lean_object* v_a_x3f_20725_, lean_object* v___y_20726_){ +_start: +{ +lean_object* v_res_20727_; +v_res_20727_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20717_, v___y_20718_, v___y_20719_, v___y_20720_, v___y_20721_, v___y_20722_, v_value_20723_, v_val_20724_, v_a_x3f_20725_); +lean_dec(v_a_x3f_20725_); +lean_dec(v_val_20724_); +lean_dec(v___y_20722_); +lean_dec_ref(v___y_20721_); +return v_res_20727_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4(lean_object* v_asyncEnv_20728_, lean_object* v_value_20729_, lean_object* v_val_20730_, lean_object* v___x_20731_, lean_object* v___x_20732_, lean_object* v_vars_20733_, lean_object* v_sc_20734_, lean_object* v_views_20735_, lean_object* v_a_20736_, lean_object* v___y_20737_, lean_object* v___y_20738_, lean_object* v___y_20739_, lean_object* v___y_20740_, lean_object* v___y_20741_, lean_object* v___y_20742_){ +_start: +{ +lean_object* v___x_20744_; lean_object* v___x_20745_; lean_object* v_r_20746_; +v___x_20744_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_asyncEnv_20728_, v___y_20740_, v___y_20742_); +lean_dec_ref(v___x_20744_); +v___x_20745_ = lean_array_push(v___x_20731_, v___x_20732_); +lean_inc(v___y_20742_); +lean_inc_ref(v___y_20741_); +lean_inc(v___y_20740_); +lean_inc_ref(v___y_20739_); +lean_inc(v___y_20738_); +lean_inc_ref(v___y_20737_); +lean_inc_ref(v___x_20745_); +lean_inc_ref(v_views_20735_); +v_r_20746_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab(v_vars_20733_, v_sc_20734_, v_views_20735_, v___x_20745_, v___y_20737_, v___y_20738_, v___y_20739_, v___y_20740_, v___y_20741_, v___y_20742_); +if (lean_obj_tag(v_r_20746_) == 0) +{ +lean_object* v_a_20747_; lean_object* v___x_20749_; uint8_t v_isShared_20750_; uint8_t v_isSharedCheck_20811_; +v_a_20747_ = lean_ctor_get(v_r_20746_, 0); +v_isSharedCheck_20811_ = !lean_is_exclusive(v_r_20746_); +if (v_isSharedCheck_20811_ == 0) +{ +v___x_20749_ = v_r_20746_; +v_isShared_20750_ = v_isSharedCheck_20811_; +goto v_resetjp_20748_; +} else { -lean_object* v_a_20753_; lean_object* v___x_20755_; uint8_t v_isShared_20756_; uint8_t v_isSharedCheck_20767_; -lean_dec_ref(v___x_20705_); -lean_dec(v___y_20702_); -lean_dec(v___y_20700_); -lean_dec_ref(v___y_20699_); -lean_dec(v___y_20698_); -lean_dec_ref(v___y_20697_); -lean_dec_ref(v_a_20696_); -lean_dec_ref(v_views_20695_); -v_a_20753_ = lean_ctor_get(v___x_20720_, 0); -v_isSharedCheck_20767_ = !lean_is_exclusive(v___x_20720_); -if (v_isSharedCheck_20767_ == 0) +lean_inc(v_a_20747_); +lean_dec(v_r_20746_); +v___x_20749_ = lean_box(0); +v_isShared_20750_ = v_isSharedCheck_20811_; +goto v_resetjp_20748_; +} +v_resetjp_20748_: { -v___x_20755_ = v___x_20720_; -v_isShared_20756_ = v_isSharedCheck_20767_; +lean_object* v___x_20752_; +if (v_isShared_20750_ == 0) +{ +lean_ctor_set_tag(v___x_20749_, 1); +v___x_20752_ = v___x_20749_; +goto v_reusejp_20751_; +} +else +{ +lean_object* v_reuseFailAlloc_20810_; +v_reuseFailAlloc_20810_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20810_, 0, v_a_20747_); +v___x_20752_ = v_reuseFailAlloc_20810_; +goto v_reusejp_20751_; +} +v_reusejp_20751_: +{ +lean_object* v___x_20753_; +lean_inc(v___y_20742_); +lean_inc_ref(v___y_20741_); +lean_inc(v___y_20740_); +lean_inc_ref(v___y_20739_); +v___x_20753_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20739_, v___y_20740_, v___y_20741_, v___y_20742_, v___y_20737_, v___y_20738_, v_value_20729_, v_val_20730_, v___x_20752_); +lean_dec_ref(v___x_20752_); +if (lean_obj_tag(v___x_20753_) == 0) +{ +lean_object* v___x_20755_; uint8_t v_isShared_20756_; uint8_t v_isSharedCheck_20808_; +v_isSharedCheck_20808_ = !lean_is_exclusive(v___x_20753_); +if (v_isSharedCheck_20808_ == 0) +{ +lean_object* v_unused_20809_; +v_unused_20809_ = lean_ctor_get(v___x_20753_, 0); +lean_dec(v_unused_20809_); +v___x_20755_ = v___x_20753_; +v_isShared_20756_ = v_isSharedCheck_20808_; goto v_resetjp_20754_; } else { -lean_inc(v_a_20753_); -lean_dec(v___x_20720_); +lean_dec(v___x_20753_); v___x_20755_ = lean_box(0); -v_isShared_20756_ = v_isSharedCheck_20767_; +v_isShared_20756_ = v_isSharedCheck_20808_; goto v_resetjp_20754_; } v_resetjp_20754_: { -lean_object* v_ref_20757_; lean_object* v___x_20758_; lean_object* v___x_20760_; -v_ref_20757_ = lean_ctor_get(v___y_20701_, 5); -lean_inc(v_ref_20757_); -lean_dec_ref(v___y_20701_); -v___x_20758_ = lean_io_error_to_string(v_a_20753_); -if (v_isShared_20716_ == 0) +lean_object* v___x_20757_; lean_object* v_env_20758_; lean_object* v___x_20759_; lean_object* v___x_20760_; +v___x_20757_ = lean_st_ref_get(v___y_20742_); +v_env_20758_ = lean_ctor_get(v___x_20757_, 0); +lean_inc_ref(v_env_20758_); +lean_dec(v___x_20757_); +v___x_20759_ = lean_box(0); +lean_inc_ref(v_a_20736_); +v___x_20760_ = l_Lean_Environment_AddConstAsyncResult_commitConst(v_a_20736_, v_env_20758_, v___x_20759_, v___x_20759_); +if (lean_obj_tag(v___x_20760_) == 0) { -lean_ctor_set_tag(v___x_20715_, 3); -lean_ctor_set(v___x_20715_, 0, v___x_20758_); -v___x_20760_ = v___x_20715_; -goto v_reusejp_20759_; +lean_object* v___x_20761_; +lean_dec_ref(v___x_20760_); +lean_del_object(v___x_20755_); +lean_inc(v___y_20742_); +v___x_20761_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving(v_views_20735_, v___x_20745_, v___y_20737_, v___y_20738_, v___y_20739_, v___y_20740_, v___y_20741_, v___y_20742_); +lean_dec_ref(v___x_20745_); +if (lean_obj_tag(v___x_20761_) == 0) +{ +lean_object* v___x_20763_; uint8_t v_isShared_20764_; uint8_t v_isSharedCheck_20791_; +v_isSharedCheck_20791_ = !lean_is_exclusive(v___x_20761_); +if (v_isSharedCheck_20791_ == 0) +{ +lean_object* v_unused_20792_; +v_unused_20792_ = lean_ctor_get(v___x_20761_, 0); +lean_dec(v_unused_20792_); +v___x_20763_ = v___x_20761_; +v_isShared_20764_ = v_isSharedCheck_20791_; +goto v_resetjp_20762_; } else { -lean_object* v_reuseFailAlloc_20766_; -v_reuseFailAlloc_20766_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20766_, 0, v___x_20758_); -v___x_20760_ = v_reuseFailAlloc_20766_; -goto v_reusejp_20759_; +lean_dec(v___x_20761_); +v___x_20763_ = lean_box(0); +v_isShared_20764_ = v_isSharedCheck_20791_; +goto v_resetjp_20762_; } -v_reusejp_20759_: +v_resetjp_20762_: { -lean_object* v___x_20761_; lean_object* v___x_20762_; lean_object* v___x_20764_; -v___x_20761_ = l_Lean_MessageData_ofFormat(v___x_20760_); -v___x_20762_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_20762_, 0, v_ref_20757_); -lean_ctor_set(v___x_20762_, 1, v___x_20761_); +lean_object* v___x_20765_; lean_object* v_env_20766_; lean_object* v___x_20767_; +v___x_20765_ = lean_st_ref_get(v___y_20742_); +lean_dec(v___y_20742_); +v_env_20766_ = lean_ctor_get(v___x_20765_, 0); +lean_inc_ref(v_env_20766_); +lean_dec(v___x_20765_); +v___x_20767_ = l_Lean_Environment_AddConstAsyncResult_commitCheckEnv(v_a_20736_, v_env_20766_); +if (lean_obj_tag(v___x_20767_) == 0) +{ +lean_object* v_a_20768_; lean_object* v___x_20770_; uint8_t v_isShared_20771_; uint8_t v_isSharedCheck_20775_; +lean_del_object(v___x_20763_); +lean_dec_ref(v___y_20741_); +v_a_20768_ = lean_ctor_get(v___x_20767_, 0); +v_isSharedCheck_20775_ = !lean_is_exclusive(v___x_20767_); +if (v_isSharedCheck_20775_ == 0) +{ +v___x_20770_ = v___x_20767_; +v_isShared_20771_ = v_isSharedCheck_20775_; +goto v_resetjp_20769_; +} +else +{ +lean_inc(v_a_20768_); +lean_dec(v___x_20767_); +v___x_20770_ = lean_box(0); +v_isShared_20771_ = v_isSharedCheck_20775_; +goto v_resetjp_20769_; +} +v_resetjp_20769_: +{ +lean_object* v___x_20773_; +if (v_isShared_20771_ == 0) +{ +v___x_20773_ = v___x_20770_; +goto v_reusejp_20772_; +} +else +{ +lean_object* v_reuseFailAlloc_20774_; +v_reuseFailAlloc_20774_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20774_, 0, v_a_20768_); +v___x_20773_ = v_reuseFailAlloc_20774_; +goto v_reusejp_20772_; +} +v_reusejp_20772_: +{ +return v___x_20773_; +} +} +} +else +{ +lean_object* v_a_20776_; lean_object* v___x_20778_; uint8_t v_isShared_20779_; uint8_t v_isSharedCheck_20790_; +v_a_20776_ = lean_ctor_get(v___x_20767_, 0); +v_isSharedCheck_20790_ = !lean_is_exclusive(v___x_20767_); +if (v_isSharedCheck_20790_ == 0) +{ +v___x_20778_ = v___x_20767_; +v_isShared_20779_ = v_isSharedCheck_20790_; +goto v_resetjp_20777_; +} +else +{ +lean_inc(v_a_20776_); +lean_dec(v___x_20767_); +v___x_20778_ = lean_box(0); +v_isShared_20779_ = v_isSharedCheck_20790_; +goto v_resetjp_20777_; +} +v_resetjp_20777_: +{ +lean_object* v_ref_20780_; lean_object* v___x_20781_; lean_object* v___x_20783_; +v_ref_20780_ = lean_ctor_get(v___y_20741_, 5); +lean_inc(v_ref_20780_); +lean_dec_ref(v___y_20741_); +v___x_20781_ = lean_io_error_to_string(v_a_20776_); +if (v_isShared_20764_ == 0) +{ +lean_ctor_set_tag(v___x_20763_, 3); +lean_ctor_set(v___x_20763_, 0, v___x_20781_); +v___x_20783_ = v___x_20763_; +goto v_reusejp_20782_; +} +else +{ +lean_object* v_reuseFailAlloc_20789_; +v_reuseFailAlloc_20789_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20789_, 0, v___x_20781_); +v___x_20783_ = v_reuseFailAlloc_20789_; +goto v_reusejp_20782_; +} +v_reusejp_20782_: +{ +lean_object* v___x_20784_; lean_object* v___x_20785_; lean_object* v___x_20787_; +v___x_20784_ = l_Lean_MessageData_ofFormat(v___x_20783_); +v___x_20785_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20785_, 0, v_ref_20780_); +lean_ctor_set(v___x_20785_, 1, v___x_20784_); +if (v_isShared_20779_ == 0) +{ +lean_ctor_set(v___x_20778_, 0, v___x_20785_); +v___x_20787_ = v___x_20778_; +goto v_reusejp_20786_; +} +else +{ +lean_object* v_reuseFailAlloc_20788_; +v_reuseFailAlloc_20788_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20788_, 0, v___x_20785_); +v___x_20787_ = v_reuseFailAlloc_20788_; +goto v_reusejp_20786_; +} +v_reusejp_20786_: +{ +return v___x_20787_; +} +} +} +} +} +} +else +{ +lean_dec(v___y_20742_); +lean_dec_ref(v___y_20741_); +lean_dec_ref(v_a_20736_); +return v___x_20761_; +} +} +else +{ +lean_object* v_a_20793_; lean_object* v___x_20795_; uint8_t v_isShared_20796_; uint8_t v_isSharedCheck_20807_; +lean_dec_ref(v___x_20745_); +lean_dec(v___y_20742_); +lean_dec(v___y_20740_); +lean_dec_ref(v___y_20739_); +lean_dec(v___y_20738_); +lean_dec_ref(v___y_20737_); +lean_dec_ref(v_a_20736_); +lean_dec_ref(v_views_20735_); +v_a_20793_ = lean_ctor_get(v___x_20760_, 0); +v_isSharedCheck_20807_ = !lean_is_exclusive(v___x_20760_); +if (v_isSharedCheck_20807_ == 0) +{ +v___x_20795_ = v___x_20760_; +v_isShared_20796_ = v_isSharedCheck_20807_; +goto v_resetjp_20794_; +} +else +{ +lean_inc(v_a_20793_); +lean_dec(v___x_20760_); +v___x_20795_ = lean_box(0); +v_isShared_20796_ = v_isSharedCheck_20807_; +goto v_resetjp_20794_; +} +v_resetjp_20794_: +{ +lean_object* v_ref_20797_; lean_object* v___x_20798_; lean_object* v___x_20800_; +v_ref_20797_ = lean_ctor_get(v___y_20741_, 5); +lean_inc(v_ref_20797_); +lean_dec_ref(v___y_20741_); +v___x_20798_ = lean_io_error_to_string(v_a_20793_); if (v_isShared_20756_ == 0) { -lean_ctor_set(v___x_20755_, 0, v___x_20762_); -v___x_20764_ = v___x_20755_; -goto v_reusejp_20763_; +lean_ctor_set_tag(v___x_20755_, 3); +lean_ctor_set(v___x_20755_, 0, v___x_20798_); +v___x_20800_ = v___x_20755_; +goto v_reusejp_20799_; } else { -lean_object* v_reuseFailAlloc_20765_; -v_reuseFailAlloc_20765_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20765_, 0, v___x_20762_); -v___x_20764_ = v_reuseFailAlloc_20765_; -goto v_reusejp_20763_; +lean_object* v_reuseFailAlloc_20806_; +v_reuseFailAlloc_20806_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20806_, 0, v___x_20798_); +v___x_20800_ = v_reuseFailAlloc_20806_; +goto v_reusejp_20799_; } -v_reusejp_20763_: +v_reusejp_20799_: { -return v___x_20764_; +lean_object* v___x_20801_; lean_object* v___x_20802_; lean_object* v___x_20804_; +v___x_20801_ = l_Lean_MessageData_ofFormat(v___x_20800_); +v___x_20802_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_20802_, 0, v_ref_20797_); +lean_ctor_set(v___x_20802_, 1, v___x_20801_); +if (v_isShared_20796_ == 0) +{ +lean_ctor_set(v___x_20795_, 0, v___x_20802_); +v___x_20804_ = v___x_20795_; +goto v_reusejp_20803_; +} +else +{ +lean_object* v_reuseFailAlloc_20805_; +v_reuseFailAlloc_20805_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20805_, 0, v___x_20802_); +v___x_20804_ = v_reuseFailAlloc_20805_; +goto v_reusejp_20803_; +} +v_reusejp_20803_: +{ +return v___x_20804_; } } } @@ -59814,3139 +59969,3071 @@ return v___x_20764_; } else { -lean_dec_ref(v___x_20705_); -lean_dec(v___y_20702_); -lean_dec_ref(v___y_20701_); -lean_dec(v___y_20700_); -lean_dec_ref(v___y_20699_); -lean_dec(v___y_20698_); -lean_dec_ref(v___y_20697_); -lean_dec_ref(v_a_20696_); -lean_dec_ref(v_views_20695_); -return v___x_20713_; +lean_dec_ref(v___x_20745_); +lean_dec(v___y_20742_); +lean_dec_ref(v___y_20741_); +lean_dec(v___y_20740_); +lean_dec_ref(v___y_20739_); +lean_dec(v___y_20738_); +lean_dec_ref(v___y_20737_); +lean_dec_ref(v_a_20736_); +lean_dec_ref(v_views_20735_); +return v___x_20753_; } } } } else { -lean_object* v_a_20772_; lean_object* v___x_20773_; lean_object* v___x_20774_; -lean_dec_ref(v___x_20705_); -lean_dec_ref(v_a_20696_); -lean_dec_ref(v_views_20695_); -v_a_20772_ = lean_ctor_get(v_r_20706_, 0); -lean_inc(v_a_20772_); -lean_dec_ref(v_r_20706_); -v___x_20773_ = lean_box(0); -v___x_20774_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20699_, v___y_20700_, v___y_20701_, v___y_20702_, v___y_20697_, v___y_20698_, v_value_20689_, v_val_20690_, v___x_20773_); -lean_dec(v___y_20698_); -lean_dec_ref(v___y_20697_); -if (lean_obj_tag(v___x_20774_) == 0) +lean_object* v_a_20812_; lean_object* v___x_20813_; lean_object* v___x_20814_; +lean_dec_ref(v___x_20745_); +lean_dec_ref(v_a_20736_); +lean_dec_ref(v_views_20735_); +v_a_20812_ = lean_ctor_get(v_r_20746_, 0); +lean_inc(v_a_20812_); +lean_dec_ref(v_r_20746_); +v___x_20813_ = lean_box(0); +v___x_20814_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__2(v___y_20739_, v___y_20740_, v___y_20741_, v___y_20742_, v___y_20737_, v___y_20738_, v_value_20729_, v_val_20730_, v___x_20813_); +lean_dec(v___y_20738_); +lean_dec_ref(v___y_20737_); +if (lean_obj_tag(v___x_20814_) == 0) { -lean_object* v___x_20776_; uint8_t v_isShared_20777_; uint8_t v_isSharedCheck_20781_; -v_isSharedCheck_20781_ = !lean_is_exclusive(v___x_20774_); -if (v_isSharedCheck_20781_ == 0) +lean_object* v___x_20816_; uint8_t v_isShared_20817_; uint8_t v_isSharedCheck_20821_; +v_isSharedCheck_20821_ = !lean_is_exclusive(v___x_20814_); +if (v_isSharedCheck_20821_ == 0) { -lean_object* v_unused_20782_; -v_unused_20782_ = lean_ctor_get(v___x_20774_, 0); -lean_dec(v_unused_20782_); -v___x_20776_ = v___x_20774_; -v_isShared_20777_ = v_isSharedCheck_20781_; -goto v_resetjp_20775_; +lean_object* v_unused_20822_; +v_unused_20822_ = lean_ctor_get(v___x_20814_, 0); +lean_dec(v_unused_20822_); +v___x_20816_ = v___x_20814_; +v_isShared_20817_ = v_isSharedCheck_20821_; +goto v_resetjp_20815_; } else { -lean_dec(v___x_20774_); -v___x_20776_ = lean_box(0); -v_isShared_20777_ = v_isSharedCheck_20781_; -goto v_resetjp_20775_; +lean_dec(v___x_20814_); +v___x_20816_ = lean_box(0); +v_isShared_20817_ = v_isSharedCheck_20821_; +goto v_resetjp_20815_; } -v_resetjp_20775_: +v_resetjp_20815_: { -lean_object* v___x_20779_; -if (v_isShared_20777_ == 0) +lean_object* v___x_20819_; +if (v_isShared_20817_ == 0) { -lean_ctor_set_tag(v___x_20776_, 1); -lean_ctor_set(v___x_20776_, 0, v_a_20772_); -v___x_20779_ = v___x_20776_; -goto v_reusejp_20778_; +lean_ctor_set_tag(v___x_20816_, 1); +lean_ctor_set(v___x_20816_, 0, v_a_20812_); +v___x_20819_ = v___x_20816_; +goto v_reusejp_20818_; } else { -lean_object* v_reuseFailAlloc_20780_; -v_reuseFailAlloc_20780_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20780_, 0, v_a_20772_); -v___x_20779_ = v_reuseFailAlloc_20780_; -goto v_reusejp_20778_; +lean_object* v_reuseFailAlloc_20820_; +v_reuseFailAlloc_20820_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20820_, 0, v_a_20812_); +v___x_20819_ = v_reuseFailAlloc_20820_; +goto v_reusejp_20818_; } -v_reusejp_20778_: +v_reusejp_20818_: { -return v___x_20779_; +return v___x_20819_; } } } else { -lean_dec(v_a_20772_); -return v___x_20774_; +lean_dec(v_a_20812_); +return v___x_20814_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4___boxed(lean_object* v_asyncEnv_20783_, lean_object* v_value_20784_, lean_object* v_val_20785_, lean_object* v___x_20786_, lean_object* v___x_20787_, lean_object* v_vars_20788_, lean_object* v_sc_20789_, lean_object* v_views_20790_, lean_object* v_a_20791_, lean_object* v___y_20792_, lean_object* v___y_20793_, lean_object* v___y_20794_, lean_object* v___y_20795_, lean_object* v___y_20796_, lean_object* v___y_20797_, lean_object* v___y_20798_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4___boxed(lean_object* v_asyncEnv_20823_, lean_object* v_value_20824_, lean_object* v_val_20825_, lean_object* v___x_20826_, lean_object* v___x_20827_, lean_object* v_vars_20828_, lean_object* v_sc_20829_, lean_object* v_views_20830_, lean_object* v_a_20831_, lean_object* v___y_20832_, lean_object* v___y_20833_, lean_object* v___y_20834_, lean_object* v___y_20835_, lean_object* v___y_20836_, lean_object* v___y_20837_, lean_object* v___y_20838_){ _start: { -lean_object* v_res_20799_; -v_res_20799_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4(v_asyncEnv_20783_, v_value_20784_, v_val_20785_, v___x_20786_, v___x_20787_, v_vars_20788_, v_sc_20789_, v_views_20790_, v_a_20791_, v___y_20792_, v___y_20793_, v___y_20794_, v___y_20795_, v___y_20796_, v___y_20797_); -lean_dec(v_val_20785_); -return v_res_20799_; +lean_object* v_res_20839_; +v_res_20839_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4(v_asyncEnv_20823_, v_value_20824_, v_val_20825_, v___x_20826_, v___x_20827_, v_vars_20828_, v_sc_20829_, v_views_20830_, v_a_20831_, v___y_20832_, v___y_20833_, v___y_20834_, v___y_20835_, v___y_20836_, v___y_20837_); +lean_dec(v_val_20825_); +return v_res_20839_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5(lean_object* v___f_20801_, lean_object* v_x_20802_, lean_object* v___y_20803_, lean_object* v___y_20804_, lean_object* v___y_20805_, lean_object* v___y_20806_, lean_object* v___y_20807_, lean_object* v___y_20808_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5(lean_object* v___f_20841_, lean_object* v_x_20842_, lean_object* v___y_20843_, lean_object* v___y_20844_, lean_object* v___y_20845_, lean_object* v___y_20846_, lean_object* v___y_20847_, lean_object* v___y_20848_){ _start: { -lean_object* v_options_20810_; lean_object* v___x_20811_; lean_object* v___x_20812_; lean_object* v___x_20813_; -v_options_20810_ = lean_ctor_get(v___y_20807_, 2); -lean_inc_ref(v_options_20810_); -v___x_20811_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___closed__0)); -v___x_20812_ = lean_box(0); -v___x_20813_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v___x_20811_, v_options_20810_, v___f_20801_, v___x_20812_, v___y_20803_, v___y_20804_, v___y_20805_, v___y_20806_, v___y_20807_, v___y_20808_); -lean_dec_ref(v_options_20810_); -return v___x_20813_; +lean_object* v_options_20850_; lean_object* v___x_20851_; lean_object* v___x_20852_; lean_object* v___x_20853_; +v_options_20850_ = lean_ctor_get(v___y_20847_, 2); +lean_inc_ref(v_options_20850_); +v___x_20851_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___closed__0)); +v___x_20852_ = lean_box(0); +v___x_20853_ = l_Lean_profileitM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__6___redArg(v___x_20851_, v_options_20850_, v___f_20841_, v___x_20852_, v___y_20843_, v___y_20844_, v___y_20845_, v___y_20846_, v___y_20847_, v___y_20848_); +lean_dec_ref(v_options_20850_); +return v___x_20853_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___boxed(lean_object* v___f_20814_, lean_object* v_x_20815_, lean_object* v___y_20816_, lean_object* v___y_20817_, lean_object* v___y_20818_, lean_object* v___y_20819_, lean_object* v___y_20820_, lean_object* v___y_20821_, lean_object* v___y_20822_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___boxed(lean_object* v___f_20854_, lean_object* v_x_20855_, lean_object* v___y_20856_, lean_object* v___y_20857_, lean_object* v___y_20858_, lean_object* v___y_20859_, lean_object* v___y_20860_, lean_object* v___y_20861_, lean_object* v___y_20862_){ _start: { -lean_object* v_res_20823_; -v_res_20823_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5(v___f_20814_, v_x_20815_, v___y_20816_, v___y_20817_, v___y_20818_, v___y_20819_, v___y_20820_, v___y_20821_); -return v_res_20823_; +lean_object* v_res_20863_; +v_res_20863_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5(v___f_20854_, v_x_20855_, v___y_20856_, v___y_20857_, v___y_20858_, v___y_20859_, v___y_20860_, v___y_20861_); +return v_res_20863_; } } -LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(lean_object* v_opt_20824_, lean_object* v___y_20825_){ +LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(lean_object* v_opt_20864_, lean_object* v___y_20865_){ _start: { -lean_object* v_options_20827_; uint8_t v___x_20828_; lean_object* v___x_20829_; lean_object* v___x_20830_; -v_options_20827_ = lean_ctor_get(v___y_20825_, 2); -v___x_20828_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_20827_, v_opt_20824_); -v___x_20829_ = lean_box(v___x_20828_); -v___x_20830_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20830_, 0, v___x_20829_); -return v___x_20830_; +lean_object* v_options_20867_; uint8_t v___x_20868_; lean_object* v___x_20869_; lean_object* v___x_20870_; +v_options_20867_ = lean_ctor_get(v___y_20865_, 2); +v___x_20868_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_20867_, v_opt_20864_); +v___x_20869_ = lean_box(v___x_20868_); +v___x_20870_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20870_, 0, v___x_20869_); +return v___x_20870_; } } -LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg___boxed(lean_object* v_opt_20831_, lean_object* v___y_20832_, lean_object* v___y_20833_){ +LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg___boxed(lean_object* v_opt_20871_, lean_object* v___y_20872_, lean_object* v___y_20873_){ _start: { -lean_object* v_res_20834_; -v_res_20834_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v_opt_20831_, v___y_20832_); -lean_dec_ref(v___y_20832_); -lean_dec_ref(v_opt_20831_); -return v_res_20834_; +lean_object* v_res_20874_; +v_res_20874_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v_opt_20871_, v___y_20872_); +lean_dec_ref(v___y_20872_); +lean_dec_ref(v_opt_20871_); +return v_res_20874_; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(lean_object* v___y_20835_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(lean_object* v___y_20875_){ _start: { -lean_object* v___x_20837_; lean_object* v_ngen_20838_; lean_object* v_namePrefix_20839_; lean_object* v_idx_20840_; lean_object* v___x_20842_; uint8_t v_isShared_20843_; uint8_t v_isSharedCheck_20869_; -v___x_20837_ = lean_st_ref_get(v___y_20835_); -v_ngen_20838_ = lean_ctor_get(v___x_20837_, 2); -lean_inc_ref(v_ngen_20838_); -lean_dec(v___x_20837_); -v_namePrefix_20839_ = lean_ctor_get(v_ngen_20838_, 0); -v_idx_20840_ = lean_ctor_get(v_ngen_20838_, 1); -v_isSharedCheck_20869_ = !lean_is_exclusive(v_ngen_20838_); -if (v_isSharedCheck_20869_ == 0) +lean_object* v___x_20877_; lean_object* v_ngen_20878_; lean_object* v_namePrefix_20879_; lean_object* v_idx_20880_; lean_object* v___x_20882_; uint8_t v_isShared_20883_; uint8_t v_isSharedCheck_20909_; +v___x_20877_ = lean_st_ref_get(v___y_20875_); +v_ngen_20878_ = lean_ctor_get(v___x_20877_, 2); +lean_inc_ref(v_ngen_20878_); +lean_dec(v___x_20877_); +v_namePrefix_20879_ = lean_ctor_get(v_ngen_20878_, 0); +v_idx_20880_ = lean_ctor_get(v_ngen_20878_, 1); +v_isSharedCheck_20909_ = !lean_is_exclusive(v_ngen_20878_); +if (v_isSharedCheck_20909_ == 0) { -v___x_20842_ = v_ngen_20838_; -v_isShared_20843_ = v_isSharedCheck_20869_; -goto v_resetjp_20841_; +v___x_20882_ = v_ngen_20878_; +v_isShared_20883_ = v_isSharedCheck_20909_; +goto v_resetjp_20881_; } else { -lean_inc(v_idx_20840_); -lean_inc(v_namePrefix_20839_); -lean_dec(v_ngen_20838_); -v___x_20842_ = lean_box(0); -v_isShared_20843_ = v_isSharedCheck_20869_; -goto v_resetjp_20841_; +lean_inc(v_idx_20880_); +lean_inc(v_namePrefix_20879_); +lean_dec(v_ngen_20878_); +v___x_20882_ = lean_box(0); +v_isShared_20883_ = v_isSharedCheck_20909_; +goto v_resetjp_20881_; } -v_resetjp_20841_: +v_resetjp_20881_: { -lean_object* v___x_20844_; lean_object* v_env_20845_; lean_object* v_nextMacroScope_20846_; lean_object* v_auxDeclNGen_20847_; lean_object* v_traceState_20848_; lean_object* v_cache_20849_; lean_object* v_messages_20850_; lean_object* v_infoState_20851_; lean_object* v_snapshotTasks_20852_; lean_object* v___x_20854_; uint8_t v_isShared_20855_; uint8_t v_isSharedCheck_20867_; -v___x_20844_ = lean_st_ref_take(v___y_20835_); -v_env_20845_ = lean_ctor_get(v___x_20844_, 0); -v_nextMacroScope_20846_ = lean_ctor_get(v___x_20844_, 1); -v_auxDeclNGen_20847_ = lean_ctor_get(v___x_20844_, 3); -v_traceState_20848_ = lean_ctor_get(v___x_20844_, 4); -v_cache_20849_ = lean_ctor_get(v___x_20844_, 5); -v_messages_20850_ = lean_ctor_get(v___x_20844_, 6); -v_infoState_20851_ = lean_ctor_get(v___x_20844_, 7); -v_snapshotTasks_20852_ = lean_ctor_get(v___x_20844_, 8); -v_isSharedCheck_20867_ = !lean_is_exclusive(v___x_20844_); -if (v_isSharedCheck_20867_ == 0) +lean_object* v___x_20884_; lean_object* v_env_20885_; lean_object* v_nextMacroScope_20886_; lean_object* v_auxDeclNGen_20887_; lean_object* v_traceState_20888_; lean_object* v_cache_20889_; lean_object* v_messages_20890_; lean_object* v_infoState_20891_; lean_object* v_snapshotTasks_20892_; lean_object* v___x_20894_; uint8_t v_isShared_20895_; uint8_t v_isSharedCheck_20907_; +v___x_20884_ = lean_st_ref_take(v___y_20875_); +v_env_20885_ = lean_ctor_get(v___x_20884_, 0); +v_nextMacroScope_20886_ = lean_ctor_get(v___x_20884_, 1); +v_auxDeclNGen_20887_ = lean_ctor_get(v___x_20884_, 3); +v_traceState_20888_ = lean_ctor_get(v___x_20884_, 4); +v_cache_20889_ = lean_ctor_get(v___x_20884_, 5); +v_messages_20890_ = lean_ctor_get(v___x_20884_, 6); +v_infoState_20891_ = lean_ctor_get(v___x_20884_, 7); +v_snapshotTasks_20892_ = lean_ctor_get(v___x_20884_, 8); +v_isSharedCheck_20907_ = !lean_is_exclusive(v___x_20884_); +if (v_isSharedCheck_20907_ == 0) { -lean_object* v_unused_20868_; -v_unused_20868_ = lean_ctor_get(v___x_20844_, 2); -lean_dec(v_unused_20868_); -v___x_20854_ = v___x_20844_; -v_isShared_20855_ = v_isSharedCheck_20867_; -goto v_resetjp_20853_; +lean_object* v_unused_20908_; +v_unused_20908_ = lean_ctor_get(v___x_20884_, 2); +lean_dec(v_unused_20908_); +v___x_20894_ = v___x_20884_; +v_isShared_20895_ = v_isSharedCheck_20907_; +goto v_resetjp_20893_; } else { -lean_inc(v_snapshotTasks_20852_); -lean_inc(v_infoState_20851_); -lean_inc(v_messages_20850_); -lean_inc(v_cache_20849_); -lean_inc(v_traceState_20848_); -lean_inc(v_auxDeclNGen_20847_); -lean_inc(v_nextMacroScope_20846_); -lean_inc(v_env_20845_); -lean_dec(v___x_20844_); -v___x_20854_ = lean_box(0); -v_isShared_20855_ = v_isSharedCheck_20867_; -goto v_resetjp_20853_; +lean_inc(v_snapshotTasks_20892_); +lean_inc(v_infoState_20891_); +lean_inc(v_messages_20890_); +lean_inc(v_cache_20889_); +lean_inc(v_traceState_20888_); +lean_inc(v_auxDeclNGen_20887_); +lean_inc(v_nextMacroScope_20886_); +lean_inc(v_env_20885_); +lean_dec(v___x_20884_); +v___x_20894_ = lean_box(0); +v_isShared_20895_ = v_isSharedCheck_20907_; +goto v_resetjp_20893_; } -v_resetjp_20853_: +v_resetjp_20893_: { -lean_object* v_r_20856_; lean_object* v___x_20857_; lean_object* v___x_20858_; lean_object* v___x_20860_; -lean_inc(v_idx_20840_); -lean_inc(v_namePrefix_20839_); -v_r_20856_ = l_Lean_Name_num___override(v_namePrefix_20839_, v_idx_20840_); -v___x_20857_ = lean_unsigned_to_nat(1u); -v___x_20858_ = lean_nat_add(v_idx_20840_, v___x_20857_); -lean_dec(v_idx_20840_); -if (v_isShared_20843_ == 0) +lean_object* v_r_20896_; lean_object* v___x_20897_; lean_object* v___x_20898_; lean_object* v___x_20900_; +lean_inc(v_idx_20880_); +lean_inc(v_namePrefix_20879_); +v_r_20896_ = l_Lean_Name_num___override(v_namePrefix_20879_, v_idx_20880_); +v___x_20897_ = lean_unsigned_to_nat(1u); +v___x_20898_ = lean_nat_add(v_idx_20880_, v___x_20897_); +lean_dec(v_idx_20880_); +if (v_isShared_20883_ == 0) { -lean_ctor_set(v___x_20842_, 1, v___x_20858_); -v___x_20860_ = v___x_20842_; -goto v_reusejp_20859_; +lean_ctor_set(v___x_20882_, 1, v___x_20898_); +v___x_20900_ = v___x_20882_; +goto v_reusejp_20899_; } else { -lean_object* v_reuseFailAlloc_20866_; -v_reuseFailAlloc_20866_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_20866_, 0, v_namePrefix_20839_); -lean_ctor_set(v_reuseFailAlloc_20866_, 1, v___x_20858_); -v___x_20860_ = v_reuseFailAlloc_20866_; -goto v_reusejp_20859_; +lean_object* v_reuseFailAlloc_20906_; +v_reuseFailAlloc_20906_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_20906_, 0, v_namePrefix_20879_); +lean_ctor_set(v_reuseFailAlloc_20906_, 1, v___x_20898_); +v___x_20900_ = v_reuseFailAlloc_20906_; +goto v_reusejp_20899_; } -v_reusejp_20859_: +v_reusejp_20899_: { -lean_object* v___x_20862_; -if (v_isShared_20855_ == 0) +lean_object* v___x_20902_; +if (v_isShared_20895_ == 0) { -lean_ctor_set(v___x_20854_, 2, v___x_20860_); -v___x_20862_ = v___x_20854_; -goto v_reusejp_20861_; +lean_ctor_set(v___x_20894_, 2, v___x_20900_); +v___x_20902_ = v___x_20894_; +goto v_reusejp_20901_; } else { -lean_object* v_reuseFailAlloc_20865_; -v_reuseFailAlloc_20865_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_20865_, 0, v_env_20845_); -lean_ctor_set(v_reuseFailAlloc_20865_, 1, v_nextMacroScope_20846_); -lean_ctor_set(v_reuseFailAlloc_20865_, 2, v___x_20860_); -lean_ctor_set(v_reuseFailAlloc_20865_, 3, v_auxDeclNGen_20847_); -lean_ctor_set(v_reuseFailAlloc_20865_, 4, v_traceState_20848_); -lean_ctor_set(v_reuseFailAlloc_20865_, 5, v_cache_20849_); -lean_ctor_set(v_reuseFailAlloc_20865_, 6, v_messages_20850_); -lean_ctor_set(v_reuseFailAlloc_20865_, 7, v_infoState_20851_); -lean_ctor_set(v_reuseFailAlloc_20865_, 8, v_snapshotTasks_20852_); -v___x_20862_ = v_reuseFailAlloc_20865_; -goto v_reusejp_20861_; +lean_object* v_reuseFailAlloc_20905_; +v_reuseFailAlloc_20905_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_20905_, 0, v_env_20885_); +lean_ctor_set(v_reuseFailAlloc_20905_, 1, v_nextMacroScope_20886_); +lean_ctor_set(v_reuseFailAlloc_20905_, 2, v___x_20900_); +lean_ctor_set(v_reuseFailAlloc_20905_, 3, v_auxDeclNGen_20887_); +lean_ctor_set(v_reuseFailAlloc_20905_, 4, v_traceState_20888_); +lean_ctor_set(v_reuseFailAlloc_20905_, 5, v_cache_20889_); +lean_ctor_set(v_reuseFailAlloc_20905_, 6, v_messages_20890_); +lean_ctor_set(v_reuseFailAlloc_20905_, 7, v_infoState_20891_); +lean_ctor_set(v_reuseFailAlloc_20905_, 8, v_snapshotTasks_20892_); +v___x_20902_ = v_reuseFailAlloc_20905_; +goto v_reusejp_20901_; } -v_reusejp_20861_: +v_reusejp_20901_: { -lean_object* v___x_20863_; lean_object* v___x_20864_; -v___x_20863_ = lean_st_ref_set(v___y_20835_, v___x_20862_); -v___x_20864_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20864_, 0, v_r_20856_); -return v___x_20864_; +lean_object* v___x_20903_; lean_object* v___x_20904_; +v___x_20903_ = lean_st_ref_set(v___y_20875_, v___x_20902_); +v___x_20904_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20904_, 0, v_r_20896_); +return v___x_20904_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg___boxed(lean_object* v___y_20870_, lean_object* v___y_20871_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg___boxed(lean_object* v___y_20910_, lean_object* v___y_20911_){ _start: { -lean_object* v_res_20872_; -v_res_20872_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_20870_); -lean_dec(v___y_20870_); -return v_res_20872_; +lean_object* v_res_20912_; +v_res_20912_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_20910_); +lean_dec(v___y_20910_); +return v_res_20912_; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(lean_object* v___y_20873_, lean_object* v___y_20874_, lean_object* v___y_20875_, lean_object* v___y_20876_, lean_object* v___y_20877_, lean_object* v___y_20878_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(lean_object* v___y_20913_, lean_object* v___y_20914_, lean_object* v___y_20915_, lean_object* v___y_20916_, lean_object* v___y_20917_, lean_object* v___y_20918_){ _start: { -lean_object* v___x_20880_; lean_object* v_a_20881_; lean_object* v___x_20883_; uint8_t v_isShared_20884_; uint8_t v_isSharedCheck_20888_; -v___x_20880_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_20878_); -v_a_20881_ = lean_ctor_get(v___x_20880_, 0); -v_isSharedCheck_20888_ = !lean_is_exclusive(v___x_20880_); -if (v_isSharedCheck_20888_ == 0) +lean_object* v___x_20920_; lean_object* v_a_20921_; lean_object* v___x_20923_; uint8_t v_isShared_20924_; uint8_t v_isSharedCheck_20928_; +v___x_20920_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_20918_); +v_a_20921_ = lean_ctor_get(v___x_20920_, 0); +v_isSharedCheck_20928_ = !lean_is_exclusive(v___x_20920_); +if (v_isSharedCheck_20928_ == 0) { -v___x_20883_ = v___x_20880_; -v_isShared_20884_ = v_isSharedCheck_20888_; -goto v_resetjp_20882_; +v___x_20923_ = v___x_20920_; +v_isShared_20924_ = v_isSharedCheck_20928_; +goto v_resetjp_20922_; } else { -lean_inc(v_a_20881_); -lean_dec(v___x_20880_); -v___x_20883_ = lean_box(0); -v_isShared_20884_ = v_isSharedCheck_20888_; -goto v_resetjp_20882_; +lean_inc(v_a_20921_); +lean_dec(v___x_20920_); +v___x_20923_ = lean_box(0); +v_isShared_20924_ = v_isSharedCheck_20928_; +goto v_resetjp_20922_; } -v_resetjp_20882_: +v_resetjp_20922_: { -lean_object* v___x_20886_; -if (v_isShared_20884_ == 0) +lean_object* v___x_20926_; +if (v_isShared_20924_ == 0) { -v___x_20886_ = v___x_20883_; -goto v_reusejp_20885_; +v___x_20926_ = v___x_20923_; +goto v_reusejp_20925_; } else { -lean_object* v_reuseFailAlloc_20887_; -v_reuseFailAlloc_20887_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20887_, 0, v_a_20881_); -v___x_20886_ = v_reuseFailAlloc_20887_; -goto v_reusejp_20885_; +lean_object* v_reuseFailAlloc_20927_; +v_reuseFailAlloc_20927_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20927_, 0, v_a_20921_); +v___x_20926_ = v_reuseFailAlloc_20927_; +goto v_reusejp_20925_; } -v_reusejp_20885_: +v_reusejp_20925_: { -return v___x_20886_; +return v___x_20926_; } } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4___boxed(lean_object* v___y_20889_, lean_object* v___y_20890_, lean_object* v___y_20891_, lean_object* v___y_20892_, lean_object* v___y_20893_, lean_object* v___y_20894_, lean_object* v___y_20895_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4___boxed(lean_object* v___y_20929_, lean_object* v___y_20930_, lean_object* v___y_20931_, lean_object* v___y_20932_, lean_object* v___y_20933_, lean_object* v___y_20934_, lean_object* v___y_20935_){ _start: { -lean_object* v_res_20896_; -v_res_20896_ = l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(v___y_20889_, v___y_20890_, v___y_20891_, v___y_20892_, v___y_20893_, v___y_20894_); -lean_dec(v___y_20894_); -lean_dec_ref(v___y_20893_); -lean_dec(v___y_20892_); -lean_dec_ref(v___y_20891_); -lean_dec(v___y_20890_); -lean_dec_ref(v___y_20889_); -return v_res_20896_; +lean_object* v_res_20936_; +v_res_20936_ = l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(v___y_20929_, v___y_20930_, v___y_20931_, v___y_20932_, v___y_20933_, v___y_20934_); +lean_dec(v___y_20934_); +lean_dec_ref(v___y_20933_); +lean_dec(v___y_20932_); +lean_dec_ref(v___y_20931_); +lean_dec(v___y_20930_); +lean_dec_ref(v___y_20929_); +return v_res_20936_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3(void){ _start: { -lean_object* v___x_20900_; lean_object* v___x_20901_; lean_object* v___x_20902_; lean_object* v___x_20903_; lean_object* v___x_20904_; lean_object* v___x_20905_; -v___x_20900_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__2)); -v___x_20901_ = lean_unsigned_to_nat(4u); -v___x_20902_ = lean_unsigned_to_nat(1255u); -v___x_20903_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__1)); -v___x_20904_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__0)); -v___x_20905_ = l_mkPanicMessageWithDecl(v___x_20904_, v___x_20903_, v___x_20902_, v___x_20901_, v___x_20900_); -return v___x_20905_; +lean_object* v___x_20940_; lean_object* v___x_20941_; lean_object* v___x_20942_; lean_object* v___x_20943_; lean_object* v___x_20944_; lean_object* v___x_20945_; +v___x_20940_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__2)); +v___x_20941_ = lean_unsigned_to_nat(4u); +v___x_20942_ = lean_unsigned_to_nat(1257u); +v___x_20943_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__1)); +v___x_20944_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__0)); +v___x_20945_ = l_mkPanicMessageWithDecl(v___x_20944_, v___x_20943_, v___x_20942_, v___x_20941_, v___x_20940_); +return v___x_20945_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7(void){ _start: { -lean_object* v___x_20909_; lean_object* v___x_20910_; -v___x_20909_ = lean_box(0); -v___x_20910_ = l_Lean_Language_SnapshotTask_defaultReportingRange(v___x_20909_); -return v___x_20910_; +lean_object* v___x_20949_; lean_object* v___x_20950_; +v___x_20949_ = lean_box(0); +v___x_20950_ = l_Lean_Language_SnapshotTask_defaultReportingRange(v___x_20949_); +return v___x_20950_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(lean_object* v_vars_20914_, lean_object* v_sc_20915_, lean_object* v_views_20916_, lean_object* v_header_20917_, lean_object* v_view_20918_, lean_object* v_declId_20919_, lean_object* v_a_20920_, lean_object* v_a_20921_, lean_object* v_a_20922_, lean_object* v_a_20923_, lean_object* v_a_20924_, lean_object* v_a_20925_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(lean_object* v_vars_20954_, lean_object* v_sc_20955_, lean_object* v_views_20956_, lean_object* v_header_20957_, lean_object* v_view_20958_, lean_object* v_declId_20959_, lean_object* v_a_20960_, lean_object* v_a_20961_, lean_object* v_a_20962_, lean_object* v_a_20963_, lean_object* v_a_20964_, lean_object* v_a_20965_){ _start: { -uint8_t v_kind_20927_; lean_object* v_modifiers_20928_; uint8_t v___x_20929_; -v_kind_20927_ = lean_ctor_get_uint8(v_view_20918_, sizeof(void*)*10); -v_modifiers_20928_ = lean_ctor_get(v_view_20918_, 2); -lean_inc_ref(v_modifiers_20928_); -lean_dec_ref(v_view_20918_); -v___x_20929_ = l_Lean_Elab_DefKind_isTheorem(v_kind_20927_); -if (v___x_20929_ == 0) +uint8_t v_kind_20967_; lean_object* v_modifiers_20968_; uint8_t v___x_20969_; +v_kind_20967_ = lean_ctor_get_uint8(v_view_20958_, sizeof(void*)*10); +v_modifiers_20968_ = lean_ctor_get(v_view_20958_, 2); +lean_inc_ref(v_modifiers_20968_); +lean_dec_ref(v_view_20958_); +v___x_20969_ = l_Lean_Elab_DefKind_isTheorem(v_kind_20967_); +if (v___x_20969_ == 0) { -lean_object* v___x_20930_; lean_object* v___x_20931_; -lean_dec_ref(v_modifiers_20928_); -lean_dec_ref(v_declId_20919_); -lean_dec_ref(v_header_20917_); -lean_dec_ref(v_views_20916_); -lean_dec_ref(v_sc_20915_); -lean_dec_ref(v_vars_20914_); -v___x_20930_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3); -v___x_20931_ = l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(v___x_20930_, v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -return v___x_20931_; +lean_object* v___x_20970_; lean_object* v___x_20971_; +lean_dec_ref(v_modifiers_20968_); +lean_dec_ref(v_declId_20959_); +lean_dec_ref(v_header_20957_); +lean_dec_ref(v_views_20956_); +lean_dec_ref(v_sc_20955_); +lean_dec_ref(v_vars_20954_); +v___x_20970_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__3); +v___x_20971_ = l_panic___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__0(v___x_20970_, v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +return v___x_20971_; } else { -lean_object* v___x_20932_; lean_object* v___x_20933_; lean_object* v___x_20934_; lean_object* v_a_20935_; lean_object* v___x_20937_; uint8_t v_isShared_20938_; uint8_t v_isSharedCheck_21133_; -v___x_20932_ = lean_st_ref_get(v_a_20925_); -v___x_20933_ = l_Lean_ResolveName_backward_privateInPublic; -v___x_20934_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v___x_20933_, v_a_20924_); -v_a_20935_ = lean_ctor_get(v___x_20934_, 0); -v_isSharedCheck_21133_ = !lean_is_exclusive(v___x_20934_); +lean_object* v___x_20972_; lean_object* v___x_20973_; lean_object* v___x_20974_; lean_object* v_a_20975_; lean_object* v___x_20977_; uint8_t v_isShared_20978_; uint8_t v_isSharedCheck_21173_; +v___x_20972_ = lean_st_ref_get(v_a_20965_); +v___x_20973_ = l_Lean_ResolveName_backward_privateInPublic; +v___x_20974_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v___x_20973_, v_a_20964_); +v_a_20975_ = lean_ctor_get(v___x_20974_, 0); +v_isSharedCheck_21173_ = !lean_is_exclusive(v___x_20974_); +if (v_isSharedCheck_21173_ == 0) +{ +v___x_20977_ = v___x_20974_; +v_isShared_20978_ = v_isSharedCheck_21173_; +goto v_resetjp_20976_; +} +else +{ +lean_inc(v_a_20975_); +lean_dec(v___x_20974_); +v___x_20977_ = lean_box(0); +v_isShared_20978_ = v_isSharedCheck_21173_; +goto v_resetjp_20976_; +} +v_resetjp_20976_: +{ +lean_object* v_env_20979_; lean_object* v_declName_20980_; lean_object* v___x_20982_; uint8_t v_isShared_20983_; uint8_t v_isSharedCheck_21169_; +v_env_20979_ = lean_ctor_get(v___x_20972_, 0); +lean_inc_ref(v_env_20979_); +lean_dec(v___x_20972_); +v_declName_20980_ = lean_ctor_get(v_declId_20959_, 1); +v_isSharedCheck_21169_ = !lean_is_exclusive(v_declId_20959_); +if (v_isSharedCheck_21169_ == 0) +{ +lean_object* v_unused_21170_; lean_object* v_unused_21171_; lean_object* v_unused_21172_; +v_unused_21170_ = lean_ctor_get(v_declId_20959_, 3); +lean_dec(v_unused_21170_); +v_unused_21171_ = lean_ctor_get(v_declId_20959_, 2); +lean_dec(v_unused_21171_); +v_unused_21172_ = lean_ctor_get(v_declId_20959_, 0); +lean_dec(v_unused_21172_); +v___x_20982_ = v_declId_20959_; +v_isShared_20983_ = v_isSharedCheck_21169_; +goto v_resetjp_20981_; +} +else +{ +lean_inc(v_declName_20980_); +lean_dec(v_declId_20959_); +v___x_20982_ = lean_box(0); +v_isShared_20983_ = v_isSharedCheck_21169_; +goto v_resetjp_20981_; +} +v_resetjp_20981_: +{ +lean_object* v___f_20984_; lean_object* v___f_20985_; uint8_t v___x_20986_; lean_object* v___y_20988_; uint8_t v___y_21163_; uint8_t v___x_21166_; +v___f_20984_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__4)); +v___f_20985_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__5)); +v___x_20986_ = 1; +v___x_21166_ = l_Lean_isPrivateName(v_declName_20980_); +if (v___x_21166_ == 0) +{ +if (v___x_20969_ == 0) +{ +uint8_t v___x_21167_; +v___x_21167_ = lean_unbox(v_a_20975_); +lean_dec(v_a_20975_); +v___y_21163_ = v___x_21167_; +goto v___jp_21162_; +} +else +{ +lean_dec(v_a_20975_); +v___y_21163_ = v___x_20969_; +goto v___jp_21162_; +} +} +else +{ +uint8_t v___x_21168_; +v___x_21168_ = lean_unbox(v_a_20975_); +lean_dec(v_a_20975_); +v___y_21163_ = v___x_21168_; +goto v___jp_21162_; +} +v___jp_20987_: +{ +lean_object* v___x_20989_; +lean_inc(v_declName_20980_); +v___x_20989_ = l_Lean_Environment_addConstAsync(v_env_20979_, v_declName_20980_, v___x_20986_, v___y_20988_, v___x_20969_, v___x_20969_); +if (lean_obj_tag(v___x_20989_) == 0) +{ +lean_object* v_a_20990_; lean_object* v_mainEnv_20991_; lean_object* v_asyncEnv_20992_; lean_object* v___x_20993_; lean_object* v___x_20995_; uint8_t v_isShared_20996_; uint8_t v_isSharedCheck_21145_; +lean_del_object(v___x_20977_); +v_a_20990_ = lean_ctor_get(v___x_20989_, 0); +lean_inc(v_a_20990_); +lean_dec_ref(v___x_20989_); +v_mainEnv_20991_ = lean_ctor_get(v_a_20990_, 0); +v_asyncEnv_20992_ = lean_ctor_get(v_a_20990_, 1); +lean_inc_ref(v_asyncEnv_20992_); +lean_inc_ref(v_mainEnv_20991_); +v___x_20993_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_mainEnv_20991_, v_a_20963_, v_a_20965_); +v_isSharedCheck_21145_ = !lean_is_exclusive(v___x_20993_); +if (v_isSharedCheck_21145_ == 0) +{ +lean_object* v_unused_21146_; +v_unused_21146_ = lean_ctor_get(v___x_20993_, 0); +lean_dec(v_unused_21146_); +v___x_20995_ = v___x_20993_; +v_isShared_20996_ = v_isSharedCheck_21145_; +goto v_resetjp_20994_; +} +else +{ +lean_dec(v___x_20993_); +v___x_20995_ = lean_box(0); +v_isShared_20996_ = v_isSharedCheck_21145_; +goto v_resetjp_20994_; +} +v_resetjp_20994_: +{ +lean_object* v___x_20997_; lean_object* v___x_20998_; lean_object* v___x_20999_; lean_object* v___x_21000_; lean_object* v___f_21001_; lean_object* v___x_21002_; +v___x_20997_ = lean_unsigned_to_nat(1u); +v___x_20998_ = lean_mk_empty_array_with_capacity(v___x_20997_); +lean_inc_ref(v_header_20957_); +lean_inc_ref(v___x_20998_); +v___x_20999_ = lean_array_push(v___x_20998_, v_header_20957_); +v___x_21000_ = lean_box(v___x_20969_); +lean_inc(v_a_20990_); +lean_inc_ref(v___x_20999_); +lean_inc_ref(v_header_20957_); +v___f_21001_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___boxed), 12, 4); +lean_closure_set(v___f_21001_, 0, v_header_20957_); +lean_closure_set(v___f_21001_, 1, v___x_21000_); +lean_closure_set(v___f_21001_, 2, v___x_20999_); +lean_closure_set(v___f_21001_, 3, v_a_20990_); +lean_inc(v_a_20965_); +lean_inc_ref(v_a_20964_); +lean_inc(v_a_20963_); +lean_inc_ref(v_a_20962_); +lean_inc(v_a_20961_); +lean_inc_ref(v_a_20960_); +v___x_21002_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(v_vars_20954_, v_sc_20955_, v___x_20999_, v___f_21001_, v___x_20969_, v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +lean_dec_ref(v___x_20999_); +if (lean_obj_tag(v___x_21002_) == 0) +{ +lean_object* v___x_21004_; uint8_t v_isShared_21005_; uint8_t v_isSharedCheck_21143_; +v_isSharedCheck_21143_ = !lean_is_exclusive(v___x_21002_); +if (v_isSharedCheck_21143_ == 0) +{ +lean_object* v_unused_21144_; +v_unused_21144_ = lean_ctor_get(v___x_21002_, 0); +lean_dec(v_unused_21144_); +v___x_21004_ = v___x_21002_; +v_isShared_21005_ = v_isSharedCheck_21143_; +goto v_resetjp_21003_; +} +else +{ +lean_dec(v___x_21002_); +v___x_21004_ = lean_box(0); +v_isShared_21005_ = v_isSharedCheck_21143_; +goto v_resetjp_21003_; +} +v_resetjp_21003_: +{ +lean_object* v___x_21006_; +v___x_21006_ = l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +if (lean_obj_tag(v___x_21006_) == 0) +{ +lean_object* v_a_21007_; lean_object* v___x_21008_; lean_object* v___x_21009_; lean_object* v_infoState_21010_; lean_object* v_env_21011_; lean_object* v_nextMacroScope_21012_; lean_object* v_ngen_21013_; lean_object* v_auxDeclNGen_21014_; lean_object* v_traceState_21015_; lean_object* v_cache_21016_; lean_object* v_messages_21017_; lean_object* v_snapshotTasks_21018_; lean_object* v___x_21020_; uint8_t v_isShared_21021_; uint8_t v_isSharedCheck_21134_; +v_a_21007_ = lean_ctor_get(v___x_21006_, 0); +lean_inc(v_a_21007_); +lean_dec_ref(v___x_21006_); +v___x_21008_ = lean_io_promise_new(); +v___x_21009_ = lean_st_ref_take(v_a_20965_); +v_infoState_21010_ = lean_ctor_get(v___x_21009_, 7); +v_env_21011_ = lean_ctor_get(v___x_21009_, 0); +v_nextMacroScope_21012_ = lean_ctor_get(v___x_21009_, 1); +v_ngen_21013_ = lean_ctor_get(v___x_21009_, 2); +v_auxDeclNGen_21014_ = lean_ctor_get(v___x_21009_, 3); +v_traceState_21015_ = lean_ctor_get(v___x_21009_, 4); +v_cache_21016_ = lean_ctor_get(v___x_21009_, 5); +v_messages_21017_ = lean_ctor_get(v___x_21009_, 6); +v_snapshotTasks_21018_ = lean_ctor_get(v___x_21009_, 8); +v_isSharedCheck_21134_ = !lean_is_exclusive(v___x_21009_); +if (v_isSharedCheck_21134_ == 0) +{ +v___x_21020_ = v___x_21009_; +v_isShared_21021_ = v_isSharedCheck_21134_; +goto v_resetjp_21019_; +} +else +{ +lean_inc(v_snapshotTasks_21018_); +lean_inc(v_infoState_21010_); +lean_inc(v_messages_21017_); +lean_inc(v_cache_21016_); +lean_inc(v_traceState_21015_); +lean_inc(v_auxDeclNGen_21014_); +lean_inc(v_ngen_21013_); +lean_inc(v_nextMacroScope_21012_); +lean_inc(v_env_21011_); +lean_dec(v___x_21009_); +v___x_21020_ = lean_box(0); +v_isShared_21021_ = v_isSharedCheck_21134_; +goto v_resetjp_21019_; +} +v_resetjp_21019_: +{ +uint8_t v_enabled_21022_; lean_object* v_assignment_21023_; lean_object* v_lazyAssignment_21024_; lean_object* v_trees_21025_; lean_object* v___x_21027_; uint8_t v_isShared_21028_; uint8_t v_isSharedCheck_21133_; +v_enabled_21022_ = lean_ctor_get_uint8(v_infoState_21010_, sizeof(void*)*3); +v_assignment_21023_ = lean_ctor_get(v_infoState_21010_, 0); +v_lazyAssignment_21024_ = lean_ctor_get(v_infoState_21010_, 1); +v_trees_21025_ = lean_ctor_get(v_infoState_21010_, 2); +v_isSharedCheck_21133_ = !lean_is_exclusive(v_infoState_21010_); if (v_isSharedCheck_21133_ == 0) { -v___x_20937_ = v___x_20934_; -v_isShared_20938_ = v_isSharedCheck_21133_; -goto v_resetjp_20936_; +v___x_21027_ = v_infoState_21010_; +v_isShared_21028_ = v_isSharedCheck_21133_; +goto v_resetjp_21026_; } else { -lean_inc(v_a_20935_); -lean_dec(v___x_20934_); -v___x_20937_ = lean_box(0); -v_isShared_20938_ = v_isSharedCheck_21133_; -goto v_resetjp_20936_; +lean_inc(v_trees_21025_); +lean_inc(v_lazyAssignment_21024_); +lean_inc(v_assignment_21023_); +lean_dec(v_infoState_21010_); +v___x_21027_ = lean_box(0); +v_isShared_21028_ = v_isSharedCheck_21133_; +goto v_resetjp_21026_; } -v_resetjp_20936_: +v_resetjp_21026_: { -lean_object* v_env_20939_; lean_object* v_declName_20940_; lean_object* v___x_20942_; uint8_t v_isShared_20943_; uint8_t v_isSharedCheck_21129_; -v_env_20939_ = lean_ctor_get(v___x_20932_, 0); -lean_inc_ref(v_env_20939_); -lean_dec(v___x_20932_); -v_declName_20940_ = lean_ctor_get(v_declId_20919_, 1); -v_isSharedCheck_21129_ = !lean_is_exclusive(v_declId_20919_); -if (v_isSharedCheck_21129_ == 0) +lean_object* v___x_21029_; lean_object* v___x_21030_; lean_object* v___x_21031_; lean_object* v___x_21032_; lean_object* v___x_21034_; +v___x_21029_ = lean_io_promise_result_opt(v___x_21008_); +v___x_21030_ = lean_unsigned_to_nat(0u); +v___x_21031_ = lean_task_map(v___f_20985_, v___x_21029_, v___x_21030_, v___x_20969_); +lean_inc(v_a_21007_); +v___x_21032_ = l_Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3_spec__3___redArg(v_lazyAssignment_21024_, v_a_21007_, v___x_21031_); +if (v_isShared_21005_ == 0) { -lean_object* v_unused_21130_; lean_object* v_unused_21131_; lean_object* v_unused_21132_; -v_unused_21130_ = lean_ctor_get(v_declId_20919_, 3); -lean_dec(v_unused_21130_); -v_unused_21131_ = lean_ctor_get(v_declId_20919_, 2); -lean_dec(v_unused_21131_); -v_unused_21132_ = lean_ctor_get(v_declId_20919_, 0); -lean_dec(v_unused_21132_); -v___x_20942_ = v_declId_20919_; -v_isShared_20943_ = v_isSharedCheck_21129_; -goto v_resetjp_20941_; +lean_ctor_set_tag(v___x_21004_, 2); +lean_ctor_set(v___x_21004_, 0, v_a_21007_); +v___x_21034_ = v___x_21004_; +goto v_reusejp_21033_; } else { -lean_inc(v_declName_20940_); -lean_dec(v_declId_20919_); -v___x_20942_ = lean_box(0); -v_isShared_20943_ = v_isSharedCheck_21129_; -goto v_resetjp_20941_; +lean_object* v_reuseFailAlloc_21132_; +v_reuseFailAlloc_21132_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21132_, 0, v_a_21007_); +v___x_21034_ = v_reuseFailAlloc_21132_; +goto v_reusejp_21033_; } -v_resetjp_20941_: +v_reusejp_21033_: { -lean_object* v___f_20944_; lean_object* v___f_20945_; uint8_t v___x_20946_; lean_object* v___y_20948_; uint8_t v___y_21123_; uint8_t v___x_21126_; -v___f_20944_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__4)); -v___f_20945_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__5)); -v___x_20946_ = 1; -v___x_21126_ = l_Lean_isPrivateName(v_declName_20940_); -if (v___x_21126_ == 0) +lean_object* v___x_21035_; lean_object* v___x_21037_; +v___x_21035_ = l_Lean_PersistentArray_push___redArg(v_trees_21025_, v___x_21034_); +if (v_isShared_21028_ == 0) { -if (v___x_20929_ == 0) -{ -uint8_t v___x_21127_; -v___x_21127_ = lean_unbox(v_a_20935_); -lean_dec(v_a_20935_); -v___y_21123_ = v___x_21127_; -goto v___jp_21122_; +lean_ctor_set(v___x_21027_, 2, v___x_21035_); +lean_ctor_set(v___x_21027_, 1, v___x_21032_); +v___x_21037_ = v___x_21027_; +goto v_reusejp_21036_; } else { -lean_dec(v_a_20935_); -v___y_21123_ = v___x_20929_; -goto v___jp_21122_; +lean_object* v_reuseFailAlloc_21131_; +v_reuseFailAlloc_21131_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_21131_, 0, v_assignment_21023_); +lean_ctor_set(v_reuseFailAlloc_21131_, 1, v___x_21032_); +lean_ctor_set(v_reuseFailAlloc_21131_, 2, v___x_21035_); +lean_ctor_set_uint8(v_reuseFailAlloc_21131_, sizeof(void*)*3, v_enabled_21022_); +v___x_21037_ = v_reuseFailAlloc_21131_; +goto v_reusejp_21036_; } +v_reusejp_21036_: +{ +lean_object* v___x_21039_; +if (v_isShared_21021_ == 0) +{ +lean_ctor_set(v___x_21020_, 7, v___x_21037_); +v___x_21039_ = v___x_21020_; +goto v_reusejp_21038_; } else { -uint8_t v___x_21128_; -v___x_21128_ = lean_unbox(v_a_20935_); -lean_dec(v_a_20935_); -v___y_21123_ = v___x_21128_; -goto v___jp_21122_; +lean_object* v_reuseFailAlloc_21130_; +v_reuseFailAlloc_21130_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_21130_, 0, v_env_21011_); +lean_ctor_set(v_reuseFailAlloc_21130_, 1, v_nextMacroScope_21012_); +lean_ctor_set(v_reuseFailAlloc_21130_, 2, v_ngen_21013_); +lean_ctor_set(v_reuseFailAlloc_21130_, 3, v_auxDeclNGen_21014_); +lean_ctor_set(v_reuseFailAlloc_21130_, 4, v_traceState_21015_); +lean_ctor_set(v_reuseFailAlloc_21130_, 5, v_cache_21016_); +lean_ctor_set(v_reuseFailAlloc_21130_, 6, v_messages_21017_); +lean_ctor_set(v_reuseFailAlloc_21130_, 7, v___x_21037_); +lean_ctor_set(v_reuseFailAlloc_21130_, 8, v_snapshotTasks_21018_); +v___x_21039_ = v_reuseFailAlloc_21130_; +goto v_reusejp_21038_; } -v___jp_20947_: +v_reusejp_21038_: { -lean_object* v___x_20949_; -lean_inc(v_declName_20940_); -v___x_20949_ = l_Lean_Environment_addConstAsync(v_env_20939_, v_declName_20940_, v___x_20946_, v___y_20948_, v___x_20929_, v___x_20929_); -if (lean_obj_tag(v___x_20949_) == 0) +lean_object* v___x_21040_; lean_object* v___x_21041_; lean_object* v_toDefView_21042_; lean_object* v_modifiers_21043_; lean_object* v_toDefViewElabHeaderData_21044_; lean_object* v_tacSnap_x3f_21045_; lean_object* v_bodySnap_x3f_21046_; lean_object* v___x_21048_; uint8_t v_isShared_21049_; uint8_t v_isSharedCheck_21128_; +v___x_21040_ = lean_st_ref_set(v_a_20965_, v___x_21039_); +v___x_21041_ = l_IO_CancelToken_new(); +v_toDefView_21042_ = lean_ctor_get(v_header_20957_, 0); +lean_inc_ref(v_toDefView_21042_); +v_modifiers_21043_ = lean_ctor_get(v_toDefView_21042_, 2); +lean_inc_ref(v_modifiers_21043_); +v_toDefViewElabHeaderData_21044_ = lean_ctor_get(v_header_20957_, 1); +v_tacSnap_x3f_21045_ = lean_ctor_get(v_header_20957_, 2); +v_bodySnap_x3f_21046_ = lean_ctor_get(v_header_20957_, 3); +v_isSharedCheck_21128_ = !lean_is_exclusive(v_header_20957_); +if (v_isSharedCheck_21128_ == 0) { -lean_object* v_a_20950_; lean_object* v_mainEnv_20951_; lean_object* v_asyncEnv_20952_; lean_object* v___x_20953_; lean_object* v___x_20955_; uint8_t v_isShared_20956_; uint8_t v_isSharedCheck_21105_; -lean_del_object(v___x_20937_); -v_a_20950_ = lean_ctor_get(v___x_20949_, 0); -lean_inc(v_a_20950_); -lean_dec_ref(v___x_20949_); -v_mainEnv_20951_ = lean_ctor_get(v_a_20950_, 0); -v_asyncEnv_20952_ = lean_ctor_get(v_a_20950_, 1); -lean_inc_ref(v_asyncEnv_20952_); -lean_inc_ref(v_mainEnv_20951_); -v___x_20953_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_mainEnv_20951_, v_a_20923_, v_a_20925_); -v_isSharedCheck_21105_ = !lean_is_exclusive(v___x_20953_); -if (v_isSharedCheck_21105_ == 0) -{ -lean_object* v_unused_21106_; -v_unused_21106_ = lean_ctor_get(v___x_20953_, 0); -lean_dec(v_unused_21106_); -v___x_20955_ = v___x_20953_; -v_isShared_20956_ = v_isSharedCheck_21105_; -goto v_resetjp_20954_; +lean_object* v_unused_21129_; +v_unused_21129_ = lean_ctor_get(v_header_20957_, 0); +lean_dec(v_unused_21129_); +v___x_21048_ = v_header_20957_; +v_isShared_21049_ = v_isSharedCheck_21128_; +goto v_resetjp_21047_; } else { -lean_dec(v___x_20953_); -v___x_20955_ = lean_box(0); -v_isShared_20956_ = v_isSharedCheck_21105_; -goto v_resetjp_20954_; +lean_inc(v_bodySnap_x3f_21046_); +lean_inc(v_tacSnap_x3f_21045_); +lean_inc(v_toDefViewElabHeaderData_21044_); +lean_dec(v_header_20957_); +v___x_21048_ = lean_box(0); +v_isShared_21049_ = v_isSharedCheck_21128_; +goto v_resetjp_21047_; } -v_resetjp_20954_: +v_resetjp_21047_: { -lean_object* v___x_20957_; lean_object* v___x_20958_; lean_object* v___x_20959_; lean_object* v___x_20960_; lean_object* v___f_20961_; lean_object* v___x_20962_; -v___x_20957_ = lean_unsigned_to_nat(1u); -v___x_20958_ = lean_mk_empty_array_with_capacity(v___x_20957_); -lean_inc_ref(v_header_20917_); -lean_inc_ref(v___x_20958_); -v___x_20959_ = lean_array_push(v___x_20958_, v_header_20917_); -v___x_20960_ = lean_box(v___x_20929_); -lean_inc(v_a_20950_); -lean_inc_ref(v___x_20959_); -lean_inc_ref(v_header_20917_); -v___f_20961_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__3___boxed), 12, 4); -lean_closure_set(v___f_20961_, 0, v_header_20917_); -lean_closure_set(v___f_20961_, 1, v___x_20960_); -lean_closure_set(v___f_20961_, 2, v___x_20959_); -lean_closure_set(v___f_20961_, 3, v_a_20950_); -lean_inc(v_a_20925_); -lean_inc_ref(v_a_20924_); -lean_inc(v_a_20923_); -lean_inc_ref(v_a_20922_); -lean_inc(v_a_20921_); -lean_inc_ref(v_a_20920_); -v___x_20962_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_withHeaderSecVars___redArg(v_vars_20914_, v_sc_20915_, v___x_20959_, v___f_20961_, v___x_20929_, v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -lean_dec_ref(v___x_20959_); -if (lean_obj_tag(v___x_20962_) == 0) +uint8_t v_kind_21050_; lean_object* v_ref_21051_; lean_object* v_headerRef_21052_; lean_object* v_declId_21053_; lean_object* v_binders_21054_; lean_object* v_type_x3f_21055_; lean_object* v_value_21056_; lean_object* v_docString_x3f_21057_; lean_object* v_headerSnap_x3f_21058_; lean_object* v_deriving_x3f_21059_; lean_object* v___x_21061_; uint8_t v_isShared_21062_; uint8_t v_isSharedCheck_21126_; +v_kind_21050_ = lean_ctor_get_uint8(v_toDefView_21042_, sizeof(void*)*10); +v_ref_21051_ = lean_ctor_get(v_toDefView_21042_, 0); +v_headerRef_21052_ = lean_ctor_get(v_toDefView_21042_, 1); +v_declId_21053_ = lean_ctor_get(v_toDefView_21042_, 3); +v_binders_21054_ = lean_ctor_get(v_toDefView_21042_, 4); +v_type_x3f_21055_ = lean_ctor_get(v_toDefView_21042_, 5); +v_value_21056_ = lean_ctor_get(v_toDefView_21042_, 6); +v_docString_x3f_21057_ = lean_ctor_get(v_toDefView_21042_, 7); +v_headerSnap_x3f_21058_ = lean_ctor_get(v_toDefView_21042_, 8); +v_deriving_x3f_21059_ = lean_ctor_get(v_toDefView_21042_, 9); +v_isSharedCheck_21126_ = !lean_is_exclusive(v_toDefView_21042_); +if (v_isSharedCheck_21126_ == 0) { -lean_object* v___x_20964_; uint8_t v_isShared_20965_; uint8_t v_isSharedCheck_21103_; -v_isSharedCheck_21103_ = !lean_is_exclusive(v___x_20962_); -if (v_isSharedCheck_21103_ == 0) -{ -lean_object* v_unused_21104_; -v_unused_21104_ = lean_ctor_get(v___x_20962_, 0); -lean_dec(v_unused_21104_); -v___x_20964_ = v___x_20962_; -v_isShared_20965_ = v_isSharedCheck_21103_; -goto v_resetjp_20963_; +lean_object* v_unused_21127_; +v_unused_21127_ = lean_ctor_get(v_toDefView_21042_, 2); +lean_dec(v_unused_21127_); +v___x_21061_ = v_toDefView_21042_; +v_isShared_21062_ = v_isSharedCheck_21126_; +goto v_resetjp_21060_; } else { -lean_dec(v___x_20962_); -v___x_20964_ = lean_box(0); -v_isShared_20965_ = v_isSharedCheck_21103_; -goto v_resetjp_20963_; +lean_inc(v_deriving_x3f_21059_); +lean_inc(v_headerSnap_x3f_21058_); +lean_inc(v_docString_x3f_21057_); +lean_inc(v_value_21056_); +lean_inc(v_type_x3f_21055_); +lean_inc(v_binders_21054_); +lean_inc(v_declId_21053_); +lean_inc(v_headerRef_21052_); +lean_inc(v_ref_21051_); +lean_dec(v_toDefView_21042_); +v___x_21061_ = lean_box(0); +v_isShared_21062_ = v_isSharedCheck_21126_; +goto v_resetjp_21060_; } -v_resetjp_20963_: +v_resetjp_21060_: { -lean_object* v___x_20966_; -v___x_20966_ = l_Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4(v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -if (lean_obj_tag(v___x_20966_) == 0) +lean_object* v_stx_21063_; lean_object* v_docString_x3f_21064_; uint8_t v_visibility_21065_; uint8_t v_isProtected_21066_; uint8_t v_computeKind_21067_; uint8_t v_recKind_21068_; uint8_t v_isUnsafe_21069_; lean_object* v___x_21071_; uint8_t v_isShared_21072_; uint8_t v_isSharedCheck_21124_; +v_stx_21063_ = lean_ctor_get(v_modifiers_21043_, 0); +v_docString_x3f_21064_ = lean_ctor_get(v_modifiers_21043_, 1); +v_visibility_21065_ = lean_ctor_get_uint8(v_modifiers_21043_, sizeof(void*)*3); +v_isProtected_21066_ = lean_ctor_get_uint8(v_modifiers_21043_, sizeof(void*)*3 + 1); +v_computeKind_21067_ = lean_ctor_get_uint8(v_modifiers_21043_, sizeof(void*)*3 + 2); +v_recKind_21068_ = lean_ctor_get_uint8(v_modifiers_21043_, sizeof(void*)*3 + 3); +v_isUnsafe_21069_ = lean_ctor_get_uint8(v_modifiers_21043_, sizeof(void*)*3 + 4); +v_isSharedCheck_21124_ = !lean_is_exclusive(v_modifiers_21043_); +if (v_isSharedCheck_21124_ == 0) { -lean_object* v_a_20967_; lean_object* v___x_20968_; lean_object* v___x_20969_; lean_object* v_infoState_20970_; lean_object* v_env_20971_; lean_object* v_nextMacroScope_20972_; lean_object* v_ngen_20973_; lean_object* v_auxDeclNGen_20974_; lean_object* v_traceState_20975_; lean_object* v_cache_20976_; lean_object* v_messages_20977_; lean_object* v_snapshotTasks_20978_; lean_object* v___x_20980_; uint8_t v_isShared_20981_; uint8_t v_isSharedCheck_21094_; -v_a_20967_ = lean_ctor_get(v___x_20966_, 0); -lean_inc(v_a_20967_); -lean_dec_ref(v___x_20966_); -v___x_20968_ = lean_io_promise_new(); -v___x_20969_ = lean_st_ref_take(v_a_20925_); -v_infoState_20970_ = lean_ctor_get(v___x_20969_, 7); -v_env_20971_ = lean_ctor_get(v___x_20969_, 0); -v_nextMacroScope_20972_ = lean_ctor_get(v___x_20969_, 1); -v_ngen_20973_ = lean_ctor_get(v___x_20969_, 2); -v_auxDeclNGen_20974_ = lean_ctor_get(v___x_20969_, 3); -v_traceState_20975_ = lean_ctor_get(v___x_20969_, 4); -v_cache_20976_ = lean_ctor_get(v___x_20969_, 5); -v_messages_20977_ = lean_ctor_get(v___x_20969_, 6); -v_snapshotTasks_20978_ = lean_ctor_get(v___x_20969_, 8); -v_isSharedCheck_21094_ = !lean_is_exclusive(v___x_20969_); -if (v_isSharedCheck_21094_ == 0) -{ -v___x_20980_ = v___x_20969_; -v_isShared_20981_ = v_isSharedCheck_21094_; -goto v_resetjp_20979_; +lean_object* v_unused_21125_; +v_unused_21125_ = lean_ctor_get(v_modifiers_21043_, 2); +lean_dec(v_unused_21125_); +v___x_21071_ = v_modifiers_21043_; +v_isShared_21072_ = v_isSharedCheck_21124_; +goto v_resetjp_21070_; } else { -lean_inc(v_snapshotTasks_20978_); -lean_inc(v_infoState_20970_); -lean_inc(v_messages_20977_); -lean_inc(v_cache_20976_); -lean_inc(v_traceState_20975_); -lean_inc(v_auxDeclNGen_20974_); -lean_inc(v_ngen_20973_); -lean_inc(v_nextMacroScope_20972_); -lean_inc(v_env_20971_); -lean_dec(v___x_20969_); -v___x_20980_ = lean_box(0); -v_isShared_20981_ = v_isSharedCheck_21094_; -goto v_resetjp_20979_; +lean_inc(v_docString_x3f_21064_); +lean_inc(v_stx_21063_); +lean_dec(v_modifiers_21043_); +v___x_21071_ = lean_box(0); +v_isShared_21072_ = v_isSharedCheck_21124_; +goto v_resetjp_21070_; } -v_resetjp_20979_: +v_resetjp_21070_: { -uint8_t v_enabled_20982_; lean_object* v_assignment_20983_; lean_object* v_lazyAssignment_20984_; lean_object* v_trees_20985_; lean_object* v___x_20987_; uint8_t v_isShared_20988_; uint8_t v_isSharedCheck_21093_; -v_enabled_20982_ = lean_ctor_get_uint8(v_infoState_20970_, sizeof(void*)*3); -v_assignment_20983_ = lean_ctor_get(v_infoState_20970_, 0); -v_lazyAssignment_20984_ = lean_ctor_get(v_infoState_20970_, 1); -v_trees_20985_ = lean_ctor_get(v_infoState_20970_, 2); -v_isSharedCheck_21093_ = !lean_is_exclusive(v_infoState_20970_); -if (v_isSharedCheck_21093_ == 0) +lean_object* v_declName_21073_; lean_object* v___x_21074_; lean_object* v___x_21076_; +v_declName_21073_ = lean_ctor_get(v_toDefViewElabHeaderData_21044_, 1); +lean_inc(v_declName_21073_); +v___x_21074_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); +if (v_isShared_21072_ == 0) { -v___x_20987_ = v_infoState_20970_; -v_isShared_20988_ = v_isSharedCheck_21093_; -goto v_resetjp_20986_; +lean_ctor_set(v___x_21071_, 2, v___x_21074_); +v___x_21076_ = v___x_21071_; +goto v_reusejp_21075_; } else { -lean_inc(v_trees_20985_); -lean_inc(v_lazyAssignment_20984_); -lean_inc(v_assignment_20983_); -lean_dec(v_infoState_20970_); -v___x_20987_ = lean_box(0); -v_isShared_20988_ = v_isSharedCheck_21093_; -goto v_resetjp_20986_; +lean_object* v_reuseFailAlloc_21123_; +v_reuseFailAlloc_21123_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v_reuseFailAlloc_21123_, 0, v_stx_21063_); +lean_ctor_set(v_reuseFailAlloc_21123_, 1, v_docString_x3f_21064_); +lean_ctor_set(v_reuseFailAlloc_21123_, 2, v___x_21074_); +lean_ctor_set_uint8(v_reuseFailAlloc_21123_, sizeof(void*)*3, v_visibility_21065_); +lean_ctor_set_uint8(v_reuseFailAlloc_21123_, sizeof(void*)*3 + 1, v_isProtected_21066_); +lean_ctor_set_uint8(v_reuseFailAlloc_21123_, sizeof(void*)*3 + 2, v_computeKind_21067_); +lean_ctor_set_uint8(v_reuseFailAlloc_21123_, sizeof(void*)*3 + 3, v_recKind_21068_); +lean_ctor_set_uint8(v_reuseFailAlloc_21123_, sizeof(void*)*3 + 4, v_isUnsafe_21069_); +v___x_21076_ = v_reuseFailAlloc_21123_; +goto v_reusejp_21075_; } -v_resetjp_20986_: +v_reusejp_21075_: { -lean_object* v___x_20989_; lean_object* v___x_20990_; lean_object* v___x_20991_; lean_object* v___x_20992_; lean_object* v___x_20994_; -v___x_20989_ = lean_io_promise_result_opt(v___x_20968_); -v___x_20990_ = lean_unsigned_to_nat(0u); -v___x_20991_ = lean_task_map(v___f_20945_, v___x_20989_, v___x_20990_, v___x_20929_); -lean_inc(v_a_20967_); -v___x_20992_ = l_Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_fillHolesFromWhereFinally_spec__3_spec__3___redArg(v_lazyAssignment_20984_, v_a_20967_, v___x_20991_); -if (v_isShared_20965_ == 0) +lean_object* v___x_21078_; +lean_inc(v_value_21056_); +if (v_isShared_21062_ == 0) { -lean_ctor_set_tag(v___x_20964_, 2); -lean_ctor_set(v___x_20964_, 0, v_a_20967_); -v___x_20994_ = v___x_20964_; -goto v_reusejp_20993_; +lean_ctor_set(v___x_21061_, 2, v___x_21076_); +v___x_21078_ = v___x_21061_; +goto v_reusejp_21077_; } else { -lean_object* v_reuseFailAlloc_21092_; -v_reuseFailAlloc_21092_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21092_, 0, v_a_20967_); -v___x_20994_ = v_reuseFailAlloc_21092_; -goto v_reusejp_20993_; +lean_object* v_reuseFailAlloc_21122_; +v_reuseFailAlloc_21122_ = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(v_reuseFailAlloc_21122_, 0, v_ref_21051_); +lean_ctor_set(v_reuseFailAlloc_21122_, 1, v_headerRef_21052_); +lean_ctor_set(v_reuseFailAlloc_21122_, 2, v___x_21076_); +lean_ctor_set(v_reuseFailAlloc_21122_, 3, v_declId_21053_); +lean_ctor_set(v_reuseFailAlloc_21122_, 4, v_binders_21054_); +lean_ctor_set(v_reuseFailAlloc_21122_, 5, v_type_x3f_21055_); +lean_ctor_set(v_reuseFailAlloc_21122_, 6, v_value_21056_); +lean_ctor_set(v_reuseFailAlloc_21122_, 7, v_docString_x3f_21057_); +lean_ctor_set(v_reuseFailAlloc_21122_, 8, v_headerSnap_x3f_21058_); +lean_ctor_set(v_reuseFailAlloc_21122_, 9, v_deriving_x3f_21059_); +lean_ctor_set_uint8(v_reuseFailAlloc_21122_, sizeof(void*)*10, v_kind_21050_); +v___x_21078_ = v_reuseFailAlloc_21122_; +goto v_reusejp_21077_; } -v_reusejp_20993_: +v_reusejp_21077_: { -lean_object* v___x_20995_; lean_object* v___x_20997_; -v___x_20995_ = l_Lean_PersistentArray_push___redArg(v_trees_20985_, v___x_20994_); -if (v_isShared_20988_ == 0) +lean_object* v___x_21080_; +if (v_isShared_21049_ == 0) { -lean_ctor_set(v___x_20987_, 2, v___x_20995_); -lean_ctor_set(v___x_20987_, 1, v___x_20992_); -v___x_20997_ = v___x_20987_; -goto v_reusejp_20996_; +lean_ctor_set(v___x_21048_, 0, v___x_21078_); +v___x_21080_ = v___x_21048_; +goto v_reusejp_21079_; } else { -lean_object* v_reuseFailAlloc_21091_; -v_reuseFailAlloc_21091_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_21091_, 0, v_assignment_20983_); -lean_ctor_set(v_reuseFailAlloc_21091_, 1, v___x_20992_); -lean_ctor_set(v_reuseFailAlloc_21091_, 2, v___x_20995_); -lean_ctor_set_uint8(v_reuseFailAlloc_21091_, sizeof(void*)*3, v_enabled_20982_); -v___x_20997_ = v_reuseFailAlloc_21091_; -goto v_reusejp_20996_; +lean_object* v_reuseFailAlloc_21121_; +v_reuseFailAlloc_21121_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_21121_, 0, v___x_21078_); +lean_ctor_set(v_reuseFailAlloc_21121_, 1, v_toDefViewElabHeaderData_21044_); +lean_ctor_set(v_reuseFailAlloc_21121_, 2, v_tacSnap_x3f_21045_); +lean_ctor_set(v_reuseFailAlloc_21121_, 3, v_bodySnap_x3f_21046_); +v___x_21080_ = v_reuseFailAlloc_21121_; +goto v_reusejp_21079_; } -v_reusejp_20996_: +v_reusejp_21079_: { -lean_object* v___x_20999_; -if (v_isShared_20981_ == 0) +lean_object* v___f_21081_; lean_object* v___f_21082_; lean_object* v___x_21084_; +v___f_21081_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4___boxed), 16, 9); +lean_closure_set(v___f_21081_, 0, v_asyncEnv_20992_); +lean_closure_set(v___f_21081_, 1, v_value_21056_); +lean_closure_set(v___f_21081_, 2, v___x_21008_); +lean_closure_set(v___f_21081_, 3, v___x_20998_); +lean_closure_set(v___f_21081_, 4, v___x_21080_); +lean_closure_set(v___f_21081_, 5, v_vars_20954_); +lean_closure_set(v___f_21081_, 6, v_sc_20955_); +lean_closure_set(v___f_21081_, 7, v_views_20956_); +lean_closure_set(v___f_21081_, 8, v_a_20990_); +v___f_21082_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___boxed), 9, 1); +lean_closure_set(v___f_21082_, 0, v___f_21081_); +if (v_isShared_20996_ == 0) { -lean_ctor_set(v___x_20980_, 7, v___x_20997_); -v___x_20999_ = v___x_20980_; -goto v_reusejp_20998_; -} -else -{ -lean_object* v_reuseFailAlloc_21090_; -v_reuseFailAlloc_21090_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_21090_, 0, v_env_20971_); -lean_ctor_set(v_reuseFailAlloc_21090_, 1, v_nextMacroScope_20972_); -lean_ctor_set(v_reuseFailAlloc_21090_, 2, v_ngen_20973_); -lean_ctor_set(v_reuseFailAlloc_21090_, 3, v_auxDeclNGen_20974_); -lean_ctor_set(v_reuseFailAlloc_21090_, 4, v_traceState_20975_); -lean_ctor_set(v_reuseFailAlloc_21090_, 5, v_cache_20976_); -lean_ctor_set(v_reuseFailAlloc_21090_, 6, v_messages_20977_); -lean_ctor_set(v_reuseFailAlloc_21090_, 7, v___x_20997_); -lean_ctor_set(v_reuseFailAlloc_21090_, 8, v_snapshotTasks_20978_); -v___x_20999_ = v_reuseFailAlloc_21090_; -goto v_reusejp_20998_; -} -v_reusejp_20998_: -{ -lean_object* v___x_21000_; lean_object* v___x_21001_; lean_object* v_toDefView_21002_; lean_object* v_modifiers_21003_; lean_object* v_toDefViewElabHeaderData_21004_; lean_object* v_tacSnap_x3f_21005_; lean_object* v_bodySnap_x3f_21006_; lean_object* v___x_21008_; uint8_t v_isShared_21009_; uint8_t v_isSharedCheck_21088_; -v___x_21000_ = lean_st_ref_set(v_a_20925_, v___x_20999_); -v___x_21001_ = l_IO_CancelToken_new(); -v_toDefView_21002_ = lean_ctor_get(v_header_20917_, 0); -lean_inc_ref(v_toDefView_21002_); -v_modifiers_21003_ = lean_ctor_get(v_toDefView_21002_, 2); -lean_inc_ref(v_modifiers_21003_); -v_toDefViewElabHeaderData_21004_ = lean_ctor_get(v_header_20917_, 1); -v_tacSnap_x3f_21005_ = lean_ctor_get(v_header_20917_, 2); -v_bodySnap_x3f_21006_ = lean_ctor_get(v_header_20917_, 3); -v_isSharedCheck_21088_ = !lean_is_exclusive(v_header_20917_); -if (v_isSharedCheck_21088_ == 0) -{ -lean_object* v_unused_21089_; -v_unused_21089_ = lean_ctor_get(v_header_20917_, 0); -lean_dec(v_unused_21089_); -v___x_21008_ = v_header_20917_; -v_isShared_21009_ = v_isSharedCheck_21088_; -goto v_resetjp_21007_; -} -else -{ -lean_inc(v_bodySnap_x3f_21006_); -lean_inc(v_tacSnap_x3f_21005_); -lean_inc(v_toDefViewElabHeaderData_21004_); -lean_dec(v_header_20917_); -v___x_21008_ = lean_box(0); -v_isShared_21009_ = v_isSharedCheck_21088_; -goto v_resetjp_21007_; -} -v_resetjp_21007_: -{ -uint8_t v_kind_21010_; lean_object* v_ref_21011_; lean_object* v_headerRef_21012_; lean_object* v_declId_21013_; lean_object* v_binders_21014_; lean_object* v_type_x3f_21015_; lean_object* v_value_21016_; lean_object* v_docString_x3f_21017_; lean_object* v_headerSnap_x3f_21018_; lean_object* v_deriving_x3f_21019_; lean_object* v___x_21021_; uint8_t v_isShared_21022_; uint8_t v_isSharedCheck_21086_; -v_kind_21010_ = lean_ctor_get_uint8(v_toDefView_21002_, sizeof(void*)*10); -v_ref_21011_ = lean_ctor_get(v_toDefView_21002_, 0); -v_headerRef_21012_ = lean_ctor_get(v_toDefView_21002_, 1); -v_declId_21013_ = lean_ctor_get(v_toDefView_21002_, 3); -v_binders_21014_ = lean_ctor_get(v_toDefView_21002_, 4); -v_type_x3f_21015_ = lean_ctor_get(v_toDefView_21002_, 5); -v_value_21016_ = lean_ctor_get(v_toDefView_21002_, 6); -v_docString_x3f_21017_ = lean_ctor_get(v_toDefView_21002_, 7); -v_headerSnap_x3f_21018_ = lean_ctor_get(v_toDefView_21002_, 8); -v_deriving_x3f_21019_ = lean_ctor_get(v_toDefView_21002_, 9); -v_isSharedCheck_21086_ = !lean_is_exclusive(v_toDefView_21002_); -if (v_isSharedCheck_21086_ == 0) -{ -lean_object* v_unused_21087_; -v_unused_21087_ = lean_ctor_get(v_toDefView_21002_, 2); -lean_dec(v_unused_21087_); -v___x_21021_ = v_toDefView_21002_; -v_isShared_21022_ = v_isSharedCheck_21086_; -goto v_resetjp_21020_; -} -else -{ -lean_inc(v_deriving_x3f_21019_); -lean_inc(v_headerSnap_x3f_21018_); -lean_inc(v_docString_x3f_21017_); -lean_inc(v_value_21016_); -lean_inc(v_type_x3f_21015_); -lean_inc(v_binders_21014_); -lean_inc(v_declId_21013_); -lean_inc(v_headerRef_21012_); -lean_inc(v_ref_21011_); -lean_dec(v_toDefView_21002_); -v___x_21021_ = lean_box(0); -v_isShared_21022_ = v_isSharedCheck_21086_; -goto v_resetjp_21020_; -} -v_resetjp_21020_: -{ -lean_object* v_stx_21023_; lean_object* v_docString_x3f_21024_; uint8_t v_visibility_21025_; uint8_t v_isProtected_21026_; uint8_t v_computeKind_21027_; uint8_t v_recKind_21028_; uint8_t v_isUnsafe_21029_; lean_object* v___x_21031_; uint8_t v_isShared_21032_; uint8_t v_isSharedCheck_21084_; -v_stx_21023_ = lean_ctor_get(v_modifiers_21003_, 0); -v_docString_x3f_21024_ = lean_ctor_get(v_modifiers_21003_, 1); -v_visibility_21025_ = lean_ctor_get_uint8(v_modifiers_21003_, sizeof(void*)*3); -v_isProtected_21026_ = lean_ctor_get_uint8(v_modifiers_21003_, sizeof(void*)*3 + 1); -v_computeKind_21027_ = lean_ctor_get_uint8(v_modifiers_21003_, sizeof(void*)*3 + 2); -v_recKind_21028_ = lean_ctor_get_uint8(v_modifiers_21003_, sizeof(void*)*3 + 3); -v_isUnsafe_21029_ = lean_ctor_get_uint8(v_modifiers_21003_, sizeof(void*)*3 + 4); -v_isSharedCheck_21084_ = !lean_is_exclusive(v_modifiers_21003_); -if (v_isSharedCheck_21084_ == 0) -{ -lean_object* v_unused_21085_; -v_unused_21085_ = lean_ctor_get(v_modifiers_21003_, 2); -lean_dec(v_unused_21085_); -v___x_21031_ = v_modifiers_21003_; -v_isShared_21032_ = v_isSharedCheck_21084_; -goto v_resetjp_21030_; -} -else -{ -lean_inc(v_docString_x3f_21024_); -lean_inc(v_stx_21023_); -lean_dec(v_modifiers_21003_); -v___x_21031_ = lean_box(0); -v_isShared_21032_ = v_isSharedCheck_21084_; -goto v_resetjp_21030_; -} -v_resetjp_21030_: -{ -lean_object* v_declName_21033_; lean_object* v___x_21034_; lean_object* v___x_21036_; -v_declName_21033_ = lean_ctor_get(v_toDefViewElabHeaderData_21004_, 1); -lean_inc(v_declName_21033_); -v___x_21034_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); -if (v_isShared_21032_ == 0) -{ -lean_ctor_set(v___x_21031_, 2, v___x_21034_); -v___x_21036_ = v___x_21031_; -goto v_reusejp_21035_; -} -else -{ -lean_object* v_reuseFailAlloc_21083_; -v_reuseFailAlloc_21083_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v_reuseFailAlloc_21083_, 0, v_stx_21023_); -lean_ctor_set(v_reuseFailAlloc_21083_, 1, v_docString_x3f_21024_); -lean_ctor_set(v_reuseFailAlloc_21083_, 2, v___x_21034_); -lean_ctor_set_uint8(v_reuseFailAlloc_21083_, sizeof(void*)*3, v_visibility_21025_); -lean_ctor_set_uint8(v_reuseFailAlloc_21083_, sizeof(void*)*3 + 1, v_isProtected_21026_); -lean_ctor_set_uint8(v_reuseFailAlloc_21083_, sizeof(void*)*3 + 2, v_computeKind_21027_); -lean_ctor_set_uint8(v_reuseFailAlloc_21083_, sizeof(void*)*3 + 3, v_recKind_21028_); -lean_ctor_set_uint8(v_reuseFailAlloc_21083_, sizeof(void*)*3 + 4, v_isUnsafe_21029_); -v___x_21036_ = v_reuseFailAlloc_21083_; -goto v_reusejp_21035_; -} -v_reusejp_21035_: -{ -lean_object* v___x_21038_; -lean_inc(v_value_21016_); -if (v_isShared_21022_ == 0) -{ -lean_ctor_set(v___x_21021_, 2, v___x_21036_); -v___x_21038_ = v___x_21021_; -goto v_reusejp_21037_; -} -else -{ -lean_object* v_reuseFailAlloc_21082_; -v_reuseFailAlloc_21082_ = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(v_reuseFailAlloc_21082_, 0, v_ref_21011_); -lean_ctor_set(v_reuseFailAlloc_21082_, 1, v_headerRef_21012_); -lean_ctor_set(v_reuseFailAlloc_21082_, 2, v___x_21036_); -lean_ctor_set(v_reuseFailAlloc_21082_, 3, v_declId_21013_); -lean_ctor_set(v_reuseFailAlloc_21082_, 4, v_binders_21014_); -lean_ctor_set(v_reuseFailAlloc_21082_, 5, v_type_x3f_21015_); -lean_ctor_set(v_reuseFailAlloc_21082_, 6, v_value_21016_); -lean_ctor_set(v_reuseFailAlloc_21082_, 7, v_docString_x3f_21017_); -lean_ctor_set(v_reuseFailAlloc_21082_, 8, v_headerSnap_x3f_21018_); -lean_ctor_set(v_reuseFailAlloc_21082_, 9, v_deriving_x3f_21019_); -lean_ctor_set_uint8(v_reuseFailAlloc_21082_, sizeof(void*)*10, v_kind_21010_); -v___x_21038_ = v_reuseFailAlloc_21082_; -goto v_reusejp_21037_; -} -v_reusejp_21037_: -{ -lean_object* v___x_21040_; -if (v_isShared_21009_ == 0) -{ -lean_ctor_set(v___x_21008_, 0, v___x_21038_); -v___x_21040_ = v___x_21008_; -goto v_reusejp_21039_; -} -else -{ -lean_object* v_reuseFailAlloc_21081_; -v_reuseFailAlloc_21081_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_21081_, 0, v___x_21038_); -lean_ctor_set(v_reuseFailAlloc_21081_, 1, v_toDefViewElabHeaderData_21004_); -lean_ctor_set(v_reuseFailAlloc_21081_, 2, v_tacSnap_x3f_21005_); -lean_ctor_set(v_reuseFailAlloc_21081_, 3, v_bodySnap_x3f_21006_); -v___x_21040_ = v_reuseFailAlloc_21081_; -goto v_reusejp_21039_; -} -v_reusejp_21039_: -{ -lean_object* v___f_21041_; lean_object* v___f_21042_; lean_object* v___x_21044_; -v___f_21041_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__4___boxed), 16, 9); -lean_closure_set(v___f_21041_, 0, v_asyncEnv_20952_); -lean_closure_set(v___f_21041_, 1, v_value_21016_); -lean_closure_set(v___f_21041_, 2, v___x_20968_); -lean_closure_set(v___f_21041_, 3, v___x_20958_); -lean_closure_set(v___f_21041_, 4, v___x_21040_); -lean_closure_set(v___f_21041_, 5, v_vars_20914_); -lean_closure_set(v___f_21041_, 6, v_sc_20915_); -lean_closure_set(v___f_21041_, 7, v_views_20916_); -lean_closure_set(v___f_21041_, 8, v_a_20950_); -v___f_21042_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___lam__5___boxed), 9, 1); -lean_closure_set(v___f_21042_, 0, v___f_21041_); -if (v_isShared_20956_ == 0) -{ -lean_ctor_set_tag(v___x_20955_, 1); -lean_ctor_set(v___x_20955_, 0, v___x_21001_); -v___x_21044_ = v___x_20955_; -goto v_reusejp_21043_; -} -else -{ -lean_object* v_reuseFailAlloc_21080_; -v_reuseFailAlloc_21080_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21080_, 0, v___x_21001_); -v___x_21044_ = v_reuseFailAlloc_21080_; -goto v_reusejp_21043_; -} -v_reusejp_21043_: -{ -lean_object* v___x_21045_; lean_object* v___x_21046_; lean_object* v___x_21047_; lean_object* v___x_21048_; lean_object* v___x_21049_; -v___x_21045_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__6)); -lean_inc(v_declName_20940_); -v___x_21046_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v_declName_20940_, v___x_20929_); -v___x_21047_ = lean_string_append(v___x_21045_, v___x_21046_); -lean_dec_ref(v___x_21046_); -lean_inc_ref(v___x_21044_); -v___x_21048_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_wrapAsyncAsSnapshot___boxed), 11, 4); -lean_closure_set(v___x_21048_, 0, lean_box(0)); -lean_closure_set(v___x_21048_, 1, v___f_21042_); -lean_closure_set(v___x_21048_, 2, v___x_21044_); -lean_closure_set(v___x_21048_, 3, v___x_21047_); -lean_inc(v_a_20925_); -lean_inc_ref(v_a_20924_); -lean_inc(v_a_20923_); -lean_inc_ref(v_a_20922_); -lean_inc(v_a_20921_); -lean_inc_ref(v_a_20920_); -v___x_21049_ = l_Lean_Elab_Term_withDeclName___redArg(v_declName_21033_, v___x_21048_, v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -if (lean_obj_tag(v___x_21049_) == 0) -{ -lean_object* v_a_21050_; lean_object* v___x_21051_; lean_object* v___x_21052_; lean_object* v___x_21053_; lean_object* v___x_21054_; lean_object* v___x_21055_; lean_object* v___x_21057_; -v_a_21050_ = lean_ctor_get(v___x_21049_, 0); -lean_inc(v_a_21050_); -lean_dec_ref(v___x_21049_); -v___x_21051_ = lean_box(0); -v___x_21052_ = lean_apply_1(v_a_21050_, v___x_21051_); -v___x_21053_ = lean_io_as_task(v___x_21052_, v___x_20990_); -v___x_21054_ = lean_box(0); -v___x_21055_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7); -if (v_isShared_20943_ == 0) -{ -lean_ctor_set(v___x_20942_, 3, v___x_21053_); -lean_ctor_set(v___x_20942_, 2, v___x_21044_); -lean_ctor_set(v___x_20942_, 1, v___x_21055_); -lean_ctor_set(v___x_20942_, 0, v___x_21054_); -v___x_21057_ = v___x_20942_; -goto v_reusejp_21056_; -} -else -{ -lean_object* v_reuseFailAlloc_21071_; -v_reuseFailAlloc_21071_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_21071_, 0, v___x_21054_); -lean_ctor_set(v_reuseFailAlloc_21071_, 1, v___x_21055_); -lean_ctor_set(v_reuseFailAlloc_21071_, 2, v___x_21044_); -lean_ctor_set(v_reuseFailAlloc_21071_, 3, v___x_21053_); -v___x_21057_ = v_reuseFailAlloc_21071_; -goto v_reusejp_21056_; -} -v_reusejp_21056_: -{ -lean_object* v___x_21058_; -v___x_21058_ = l_Lean_Core_logSnapshotTask___redArg(v___x_21057_, v_a_20925_); -if (lean_obj_tag(v___x_21058_) == 0) -{ -lean_object* v___x_21059_; lean_object* v_env_21060_; lean_object* v_checked_21061_; uint8_t v___x_21062_; lean_object* v___x_21063_; lean_object* v___x_21064_; lean_object* v___x_21065_; -lean_dec_ref(v___x_21058_); -v___x_21059_ = lean_st_ref_get(v_a_20925_); -v_env_21060_ = lean_ctor_get(v___x_21059_, 0); -lean_inc_ref(v_env_21060_); -lean_dec(v___x_21059_); -v_checked_21061_ = lean_ctor_get(v_env_21060_, 2); -lean_inc_ref(v_checked_21061_); -lean_dec_ref(v_env_21060_); -v___x_21062_ = 0; -v___x_21063_ = lean_task_map(v___f_20944_, v_checked_21061_, v___x_20990_, v___x_21062_); -v___x_21064_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_21064_, 0, v___x_21054_); -lean_ctor_set(v___x_21064_, 1, v___x_21055_); -lean_ctor_set(v___x_21064_, 2, v___x_21054_); -lean_ctor_set(v___x_21064_, 3, v___x_21063_); -v___x_21065_ = l_Lean_Core_logSnapshotTask___redArg(v___x_21064_, v_a_20925_); -if (lean_obj_tag(v___x_21065_) == 0) -{ -lean_object* v_attrs_21066_; uint8_t v___x_21067_; lean_object* v___x_21068_; -lean_dec_ref(v___x_21065_); -v_attrs_21066_ = lean_ctor_get(v_modifiers_20928_, 2); -lean_inc_ref(v_attrs_21066_); -lean_dec_ref(v_modifiers_20928_); -v___x_21067_ = 0; -lean_inc(v_a_20925_); -lean_inc_ref(v_a_20924_); -lean_inc(v_a_20923_); -lean_inc_ref(v_a_20922_); -lean_inc(v_a_20921_); -lean_inc_ref(v_a_20920_); -lean_inc_ref(v_attrs_21066_); -lean_inc(v_declName_20940_); -v___x_21068_ = l_Lean_Elab_Term_applyAttributesAt(v_declName_20940_, v_attrs_21066_, v___x_21067_, v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -if (lean_obj_tag(v___x_21068_) == 0) -{ -uint8_t v___x_21069_; lean_object* v___x_21070_; -lean_dec_ref(v___x_21068_); -v___x_21069_ = 1; -v___x_21070_ = l_Lean_Elab_Term_applyAttributesAt(v_declName_20940_, v_attrs_21066_, v___x_21069_, v_a_20920_, v_a_20921_, v_a_20922_, v_a_20923_, v_a_20924_, v_a_20925_); -return v___x_21070_; -} -else -{ -lean_dec_ref(v_attrs_21066_); -lean_dec(v_declName_20940_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -return v___x_21068_; -} -} -else -{ -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -return v___x_21065_; -} -} -else -{ -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -return v___x_21058_; -} -} -} -else -{ -lean_object* v_a_21072_; lean_object* v___x_21074_; uint8_t v_isShared_21075_; uint8_t v_isSharedCheck_21079_; -lean_dec_ref(v___x_21044_); -lean_del_object(v___x_20942_); -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -v_a_21072_ = lean_ctor_get(v___x_21049_, 0); -v_isSharedCheck_21079_ = !lean_is_exclusive(v___x_21049_); -if (v_isSharedCheck_21079_ == 0) -{ -v___x_21074_ = v___x_21049_; -v_isShared_21075_ = v_isSharedCheck_21079_; -goto v_resetjp_21073_; -} -else -{ -lean_inc(v_a_21072_); -lean_dec(v___x_21049_); -v___x_21074_ = lean_box(0); -v_isShared_21075_ = v_isSharedCheck_21079_; -goto v_resetjp_21073_; -} -v_resetjp_21073_: -{ -lean_object* v___x_21077_; -if (v_isShared_21075_ == 0) -{ -v___x_21077_ = v___x_21074_; -goto v_reusejp_21076_; -} -else -{ -lean_object* v_reuseFailAlloc_21078_; -v_reuseFailAlloc_21078_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21078_, 0, v_a_21072_); -v___x_21077_ = v_reuseFailAlloc_21078_; -goto v_reusejp_21076_; -} -v_reusejp_21076_: -{ -return v___x_21077_; -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -} -else -{ -lean_object* v_a_21095_; lean_object* v___x_21097_; uint8_t v_isShared_21098_; uint8_t v_isSharedCheck_21102_; -lean_del_object(v___x_20964_); -lean_dec_ref(v___x_20958_); -lean_del_object(v___x_20955_); -lean_dec_ref(v_asyncEnv_20952_); -lean_dec(v_a_20950_); -lean_del_object(v___x_20942_); -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -lean_dec_ref(v_header_20917_); -lean_dec_ref(v_views_20916_); -lean_dec_ref(v_sc_20915_); -lean_dec_ref(v_vars_20914_); -v_a_21095_ = lean_ctor_get(v___x_20966_, 0); -v_isSharedCheck_21102_ = !lean_is_exclusive(v___x_20966_); -if (v_isSharedCheck_21102_ == 0) -{ -v___x_21097_ = v___x_20966_; -v_isShared_21098_ = v_isSharedCheck_21102_; -goto v_resetjp_21096_; -} -else -{ -lean_inc(v_a_21095_); -lean_dec(v___x_20966_); -v___x_21097_ = lean_box(0); -v_isShared_21098_ = v_isSharedCheck_21102_; -goto v_resetjp_21096_; -} -v_resetjp_21096_: -{ -lean_object* v___x_21100_; -if (v_isShared_21098_ == 0) -{ -v___x_21100_ = v___x_21097_; -goto v_reusejp_21099_; -} -else -{ -lean_object* v_reuseFailAlloc_21101_; -v_reuseFailAlloc_21101_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21101_, 0, v_a_21095_); -v___x_21100_ = v_reuseFailAlloc_21101_; -goto v_reusejp_21099_; -} -v_reusejp_21099_: -{ -return v___x_21100_; -} -} -} -} -} -else -{ -lean_dec_ref(v___x_20958_); -lean_del_object(v___x_20955_); -lean_dec_ref(v_asyncEnv_20952_); -lean_dec(v_a_20950_); -lean_del_object(v___x_20942_); -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec_ref(v_a_20924_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -lean_dec_ref(v_header_20917_); -lean_dec_ref(v_views_20916_); -lean_dec_ref(v_sc_20915_); -lean_dec_ref(v_vars_20914_); -return v___x_20962_; -} -} -} -else -{ -lean_object* v_a_21107_; lean_object* v___x_21109_; uint8_t v_isShared_21110_; uint8_t v_isSharedCheck_21121_; -lean_del_object(v___x_20942_); -lean_dec(v_declName_20940_); -lean_dec_ref(v_modifiers_20928_); -lean_dec(v_a_20925_); -lean_dec(v_a_20923_); -lean_dec_ref(v_a_20922_); -lean_dec(v_a_20921_); -lean_dec_ref(v_a_20920_); -lean_dec_ref(v_header_20917_); -lean_dec_ref(v_views_20916_); -lean_dec_ref(v_sc_20915_); -lean_dec_ref(v_vars_20914_); -v_a_21107_ = lean_ctor_get(v___x_20949_, 0); -v_isSharedCheck_21121_ = !lean_is_exclusive(v___x_20949_); -if (v_isSharedCheck_21121_ == 0) -{ -v___x_21109_ = v___x_20949_; -v_isShared_21110_ = v_isSharedCheck_21121_; -goto v_resetjp_21108_; -} -else -{ -lean_inc(v_a_21107_); -lean_dec(v___x_20949_); -v___x_21109_ = lean_box(0); -v_isShared_21110_ = v_isSharedCheck_21121_; -goto v_resetjp_21108_; -} -v_resetjp_21108_: -{ -lean_object* v_ref_21111_; lean_object* v___x_21112_; lean_object* v___x_21114_; -v_ref_21111_ = lean_ctor_get(v_a_20924_, 5); -lean_inc(v_ref_21111_); -lean_dec_ref(v_a_20924_); -v___x_21112_ = lean_io_error_to_string(v_a_21107_); -if (v_isShared_20938_ == 0) -{ -lean_ctor_set_tag(v___x_20937_, 3); -lean_ctor_set(v___x_20937_, 0, v___x_21112_); -v___x_21114_ = v___x_20937_; -goto v_reusejp_21113_; +lean_ctor_set_tag(v___x_20995_, 1); +lean_ctor_set(v___x_20995_, 0, v___x_21041_); +v___x_21084_ = v___x_20995_; +goto v_reusejp_21083_; } else { lean_object* v_reuseFailAlloc_21120_; -v_reuseFailAlloc_21120_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21120_, 0, v___x_21112_); -v___x_21114_ = v_reuseFailAlloc_21120_; -goto v_reusejp_21113_; +v_reuseFailAlloc_21120_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21120_, 0, v___x_21041_); +v___x_21084_ = v_reuseFailAlloc_21120_; +goto v_reusejp_21083_; } -v_reusejp_21113_: +v_reusejp_21083_: { -lean_object* v___x_21115_; lean_object* v___x_21116_; lean_object* v___x_21118_; -v___x_21115_ = l_Lean_MessageData_ofFormat(v___x_21114_); -v___x_21116_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_21116_, 0, v_ref_21111_); -lean_ctor_set(v___x_21116_, 1, v___x_21115_); -if (v_isShared_21110_ == 0) +lean_object* v___x_21085_; lean_object* v___x_21086_; lean_object* v___x_21087_; lean_object* v___x_21088_; lean_object* v___x_21089_; +v___x_21085_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__6)); +lean_inc(v_declName_20980_); +v___x_21086_ = l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(v_declName_20980_, v___x_20969_); +v___x_21087_ = lean_string_append(v___x_21085_, v___x_21086_); +lean_dec_ref(v___x_21086_); +lean_inc_ref(v___x_21084_); +v___x_21088_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_wrapAsyncAsSnapshot___boxed), 11, 4); +lean_closure_set(v___x_21088_, 0, lean_box(0)); +lean_closure_set(v___x_21088_, 1, v___f_21082_); +lean_closure_set(v___x_21088_, 2, v___x_21084_); +lean_closure_set(v___x_21088_, 3, v___x_21087_); +lean_inc(v_a_20965_); +lean_inc_ref(v_a_20964_); +lean_inc(v_a_20963_); +lean_inc_ref(v_a_20962_); +lean_inc(v_a_20961_); +lean_inc_ref(v_a_20960_); +v___x_21089_ = l_Lean_Elab_Term_withDeclName___redArg(v_declName_21073_, v___x_21088_, v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +if (lean_obj_tag(v___x_21089_) == 0) { -lean_ctor_set(v___x_21109_, 0, v___x_21116_); -v___x_21118_ = v___x_21109_; -goto v_reusejp_21117_; +lean_object* v_a_21090_; lean_object* v___x_21091_; lean_object* v___x_21092_; lean_object* v___x_21093_; lean_object* v___x_21094_; lean_object* v___x_21095_; lean_object* v___x_21097_; +v_a_21090_ = lean_ctor_get(v___x_21089_, 0); +lean_inc(v_a_21090_); +lean_dec_ref(v___x_21089_); +v___x_21091_ = lean_box(0); +v___x_21092_ = lean_apply_1(v_a_21090_, v___x_21091_); +v___x_21093_ = lean_io_as_task(v___x_21092_, v___x_21030_); +v___x_21094_ = lean_box(0); +v___x_21095_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__7); +if (v_isShared_20983_ == 0) +{ +lean_ctor_set(v___x_20982_, 3, v___x_21093_); +lean_ctor_set(v___x_20982_, 2, v___x_21084_); +lean_ctor_set(v___x_20982_, 1, v___x_21095_); +lean_ctor_set(v___x_20982_, 0, v___x_21094_); +v___x_21097_ = v___x_20982_; +goto v_reusejp_21096_; } else { -lean_object* v_reuseFailAlloc_21119_; -v_reuseFailAlloc_21119_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21119_, 0, v___x_21116_); -v___x_21118_ = v_reuseFailAlloc_21119_; -goto v_reusejp_21117_; +lean_object* v_reuseFailAlloc_21111_; +v_reuseFailAlloc_21111_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_21111_, 0, v___x_21094_); +lean_ctor_set(v_reuseFailAlloc_21111_, 1, v___x_21095_); +lean_ctor_set(v_reuseFailAlloc_21111_, 2, v___x_21084_); +lean_ctor_set(v_reuseFailAlloc_21111_, 3, v___x_21093_); +v___x_21097_ = v_reuseFailAlloc_21111_; +goto v_reusejp_21096_; } -v_reusejp_21117_: +v_reusejp_21096_: { -return v___x_21118_; -} -} -} -} -} -v___jp_21122_: +lean_object* v___x_21098_; +v___x_21098_ = l_Lean_Core_logSnapshotTask___redArg(v___x_21097_, v_a_20965_); +if (lean_obj_tag(v___x_21098_) == 0) { -if (v___y_21123_ == 0) +lean_object* v___x_21099_; lean_object* v_env_21100_; lean_object* v_checked_21101_; uint8_t v___x_21102_; lean_object* v___x_21103_; lean_object* v___x_21104_; lean_object* v___x_21105_; +lean_dec_ref(v___x_21098_); +v___x_21099_ = lean_st_ref_get(v_a_20965_); +v_env_21100_ = lean_ctor_get(v___x_21099_, 0); +lean_inc_ref(v_env_21100_); +lean_dec(v___x_21099_); +v_checked_21101_ = lean_ctor_get(v_env_21100_, 2); +lean_inc_ref(v_checked_21101_); +lean_dec_ref(v_env_21100_); +v___x_21102_ = 0; +v___x_21103_ = lean_task_map(v___f_20984_, v_checked_21101_, v___x_21030_, v___x_21102_); +v___x_21104_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_21104_, 0, v___x_21094_); +lean_ctor_set(v___x_21104_, 1, v___x_21095_); +lean_ctor_set(v___x_21104_, 2, v___x_21094_); +lean_ctor_set(v___x_21104_, 3, v___x_21103_); +v___x_21105_ = l_Lean_Core_logSnapshotTask___redArg(v___x_21104_, v_a_20965_); +if (lean_obj_tag(v___x_21105_) == 0) { -lean_object* v___x_21124_; -v___x_21124_ = lean_box(0); -v___y_20948_ = v___x_21124_; -goto v___jp_20947_; +lean_object* v_attrs_21106_; uint8_t v___x_21107_; lean_object* v___x_21108_; +lean_dec_ref(v___x_21105_); +v_attrs_21106_ = lean_ctor_get(v_modifiers_20968_, 2); +lean_inc_ref(v_attrs_21106_); +lean_dec_ref(v_modifiers_20968_); +v___x_21107_ = 0; +lean_inc(v_a_20965_); +lean_inc_ref(v_a_20964_); +lean_inc(v_a_20963_); +lean_inc_ref(v_a_20962_); +lean_inc(v_a_20961_); +lean_inc_ref(v_a_20960_); +lean_inc_ref(v_attrs_21106_); +lean_inc(v_declName_20980_); +v___x_21108_ = l_Lean_Elab_Term_applyAttributesAt(v_declName_20980_, v_attrs_21106_, v___x_21107_, v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +if (lean_obj_tag(v___x_21108_) == 0) +{ +uint8_t v___x_21109_; lean_object* v___x_21110_; +lean_dec_ref(v___x_21108_); +v___x_21109_ = 1; +v___x_21110_ = l_Lean_Elab_Term_applyAttributesAt(v_declName_20980_, v_attrs_21106_, v___x_21109_, v_a_20960_, v_a_20961_, v_a_20962_, v_a_20963_, v_a_20964_, v_a_20965_); +return v___x_21110_; } else { -lean_object* v___x_21125_; -v___x_21125_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__8)); -v___y_20948_ = v___x_21125_; -goto v___jp_20947_; +lean_dec_ref(v_attrs_21106_); +lean_dec(v_declName_20980_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +return v___x_21108_; } } -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___boxed(lean_object* v_vars_21134_, lean_object* v_sc_21135_, lean_object* v_views_21136_, lean_object* v_header_21137_, lean_object* v_view_21138_, lean_object* v_declId_21139_, lean_object* v_a_21140_, lean_object* v_a_21141_, lean_object* v_a_21142_, lean_object* v_a_21143_, lean_object* v_a_21144_, lean_object* v_a_21145_, lean_object* v_a_21146_){ -_start: -{ -lean_object* v_res_21147_; -v_res_21147_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(v_vars_21134_, v_sc_21135_, v_views_21136_, v_header_21137_, v_view_21138_, v_declId_21139_, v_a_21140_, v_a_21141_, v_a_21142_, v_a_21143_, v_a_21144_, v_a_21145_); -return v_res_21147_; -} -} -LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1(lean_object* v_opt_21148_, lean_object* v___y_21149_, lean_object* v___y_21150_, lean_object* v___y_21151_, lean_object* v___y_21152_, lean_object* v___y_21153_, lean_object* v___y_21154_){ -_start: -{ -lean_object* v___x_21156_; -v___x_21156_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v_opt_21148_, v___y_21153_); -return v___x_21156_; -} -} -LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___boxed(lean_object* v_opt_21157_, lean_object* v___y_21158_, lean_object* v___y_21159_, lean_object* v___y_21160_, lean_object* v___y_21161_, lean_object* v___y_21162_, lean_object* v___y_21163_, lean_object* v___y_21164_){ -_start: -{ -lean_object* v_res_21165_; -v_res_21165_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1(v_opt_21157_, v___y_21158_, v___y_21159_, v___y_21160_, v___y_21161_, v___y_21162_, v___y_21163_); -lean_dec(v___y_21163_); -lean_dec_ref(v___y_21162_); -lean_dec(v___y_21161_); -lean_dec_ref(v___y_21160_); -lean_dec(v___y_21159_); -lean_dec_ref(v___y_21158_); -lean_dec_ref(v_opt_21157_); -return v_res_21165_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4(lean_object* v___y_21166_, lean_object* v___y_21167_, lean_object* v___y_21168_, lean_object* v___y_21169_, lean_object* v___y_21170_, lean_object* v___y_21171_){ -_start: -{ -lean_object* v___x_21173_; -v___x_21173_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_21171_); -return v___x_21173_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___boxed(lean_object* v___y_21174_, lean_object* v___y_21175_, lean_object* v___y_21176_, lean_object* v___y_21177_, lean_object* v___y_21178_, lean_object* v___y_21179_, lean_object* v___y_21180_){ -_start: -{ -lean_object* v_res_21181_; -v_res_21181_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4(v___y_21174_, v___y_21175_, v___y_21176_, v___y_21177_, v___y_21178_, v___y_21179_); -lean_dec(v___y_21179_); -lean_dec_ref(v___y_21178_); -lean_dec(v___y_21177_); -lean_dec_ref(v___y_21176_); -lean_dec(v___y_21175_); -lean_dec_ref(v___y_21174_); -return v_res_21181_; -} -} -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(lean_object* v_declName_21182_, uint8_t v_s_21183_, lean_object* v___y_21184_, lean_object* v___y_21185_){ -_start: -{ -lean_object* v___x_21187_; lean_object* v_env_21188_; lean_object* v_nextMacroScope_21189_; lean_object* v_ngen_21190_; lean_object* v_auxDeclNGen_21191_; lean_object* v_traceState_21192_; lean_object* v_messages_21193_; lean_object* v_infoState_21194_; lean_object* v_snapshotTasks_21195_; lean_object* v___x_21197_; uint8_t v_isShared_21198_; uint8_t v_isSharedCheck_21224_; -v___x_21187_ = lean_st_ref_take(v___y_21185_); -v_env_21188_ = lean_ctor_get(v___x_21187_, 0); -v_nextMacroScope_21189_ = lean_ctor_get(v___x_21187_, 1); -v_ngen_21190_ = lean_ctor_get(v___x_21187_, 2); -v_auxDeclNGen_21191_ = lean_ctor_get(v___x_21187_, 3); -v_traceState_21192_ = lean_ctor_get(v___x_21187_, 4); -v_messages_21193_ = lean_ctor_get(v___x_21187_, 6); -v_infoState_21194_ = lean_ctor_get(v___x_21187_, 7); -v_snapshotTasks_21195_ = lean_ctor_get(v___x_21187_, 8); -v_isSharedCheck_21224_ = !lean_is_exclusive(v___x_21187_); -if (v_isSharedCheck_21224_ == 0) -{ -lean_object* v_unused_21225_; -v_unused_21225_ = lean_ctor_get(v___x_21187_, 5); -lean_dec(v_unused_21225_); -v___x_21197_ = v___x_21187_; -v_isShared_21198_ = v_isSharedCheck_21224_; -goto v_resetjp_21196_; -} else { -lean_inc(v_snapshotTasks_21195_); -lean_inc(v_infoState_21194_); -lean_inc(v_messages_21193_); -lean_inc(v_traceState_21192_); -lean_inc(v_auxDeclNGen_21191_); -lean_inc(v_ngen_21190_); -lean_inc(v_nextMacroScope_21189_); -lean_inc(v_env_21188_); -lean_dec(v___x_21187_); -v___x_21197_ = lean_box(0); -v_isShared_21198_ = v_isSharedCheck_21224_; -goto v_resetjp_21196_; +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +return v___x_21105_; } -v_resetjp_21196_: -{ -uint8_t v___x_21199_; lean_object* v___x_21200_; lean_object* v___x_21201_; lean_object* v___x_21202_; lean_object* v___x_21204_; -v___x_21199_ = 0; -v___x_21200_ = lean_box(0); -v___x_21201_ = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(v_env_21188_, v_declName_21182_, v_s_21183_, v___x_21199_, v___x_21200_); -v___x_21202_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_21198_ == 0) -{ -lean_ctor_set(v___x_21197_, 5, v___x_21202_); -lean_ctor_set(v___x_21197_, 0, v___x_21201_); -v___x_21204_ = v___x_21197_; -goto v_reusejp_21203_; } else { -lean_object* v_reuseFailAlloc_21223_; -v_reuseFailAlloc_21223_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_21223_, 0, v___x_21201_); -lean_ctor_set(v_reuseFailAlloc_21223_, 1, v_nextMacroScope_21189_); -lean_ctor_set(v_reuseFailAlloc_21223_, 2, v_ngen_21190_); -lean_ctor_set(v_reuseFailAlloc_21223_, 3, v_auxDeclNGen_21191_); -lean_ctor_set(v_reuseFailAlloc_21223_, 4, v_traceState_21192_); -lean_ctor_set(v_reuseFailAlloc_21223_, 5, v___x_21202_); -lean_ctor_set(v_reuseFailAlloc_21223_, 6, v_messages_21193_); -lean_ctor_set(v_reuseFailAlloc_21223_, 7, v_infoState_21194_); -lean_ctor_set(v_reuseFailAlloc_21223_, 8, v_snapshotTasks_21195_); -v___x_21204_ = v_reuseFailAlloc_21223_; -goto v_reusejp_21203_; +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +return v___x_21098_; +} } -v_reusejp_21203_: -{ -lean_object* v___x_21205_; lean_object* v___x_21206_; lean_object* v_mctx_21207_; lean_object* v_zetaDeltaFVarIds_21208_; lean_object* v_postponed_21209_; lean_object* v_diag_21210_; lean_object* v___x_21212_; uint8_t v_isShared_21213_; uint8_t v_isSharedCheck_21221_; -v___x_21205_ = lean_st_ref_set(v___y_21185_, v___x_21204_); -v___x_21206_ = lean_st_ref_take(v___y_21184_); -v_mctx_21207_ = lean_ctor_get(v___x_21206_, 0); -v_zetaDeltaFVarIds_21208_ = lean_ctor_get(v___x_21206_, 2); -v_postponed_21209_ = lean_ctor_get(v___x_21206_, 3); -v_diag_21210_ = lean_ctor_get(v___x_21206_, 4); -v_isSharedCheck_21221_ = !lean_is_exclusive(v___x_21206_); -if (v_isSharedCheck_21221_ == 0) -{ -lean_object* v_unused_21222_; -v_unused_21222_ = lean_ctor_get(v___x_21206_, 1); -lean_dec(v_unused_21222_); -v___x_21212_ = v___x_21206_; -v_isShared_21213_ = v_isSharedCheck_21221_; -goto v_resetjp_21211_; } else { -lean_inc(v_diag_21210_); -lean_inc(v_postponed_21209_); -lean_inc(v_zetaDeltaFVarIds_21208_); -lean_inc(v_mctx_21207_); -lean_dec(v___x_21206_); -v___x_21212_ = lean_box(0); -v_isShared_21213_ = v_isSharedCheck_21221_; -goto v_resetjp_21211_; -} -v_resetjp_21211_: +lean_object* v_a_21112_; lean_object* v___x_21114_; uint8_t v_isShared_21115_; uint8_t v_isSharedCheck_21119_; +lean_dec_ref(v___x_21084_); +lean_del_object(v___x_20982_); +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +v_a_21112_ = lean_ctor_get(v___x_21089_, 0); +v_isSharedCheck_21119_ = !lean_is_exclusive(v___x_21089_); +if (v_isSharedCheck_21119_ == 0) { -lean_object* v___x_21214_; lean_object* v___x_21216_; -v___x_21214_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); -if (v_isShared_21213_ == 0) -{ -lean_ctor_set(v___x_21212_, 1, v___x_21214_); -v___x_21216_ = v___x_21212_; -goto v_reusejp_21215_; +v___x_21114_ = v___x_21089_; +v_isShared_21115_ = v_isSharedCheck_21119_; +goto v_resetjp_21113_; } else { -lean_object* v_reuseFailAlloc_21220_; -v_reuseFailAlloc_21220_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_21220_, 0, v_mctx_21207_); -lean_ctor_set(v_reuseFailAlloc_21220_, 1, v___x_21214_); -lean_ctor_set(v_reuseFailAlloc_21220_, 2, v_zetaDeltaFVarIds_21208_); -lean_ctor_set(v_reuseFailAlloc_21220_, 3, v_postponed_21209_); -lean_ctor_set(v_reuseFailAlloc_21220_, 4, v_diag_21210_); -v___x_21216_ = v_reuseFailAlloc_21220_; -goto v_reusejp_21215_; +lean_inc(v_a_21112_); +lean_dec(v___x_21089_); +v___x_21114_ = lean_box(0); +v_isShared_21115_ = v_isSharedCheck_21119_; +goto v_resetjp_21113_; } -v_reusejp_21215_: +v_resetjp_21113_: { -lean_object* v___x_21217_; lean_object* v___x_21218_; lean_object* v___x_21219_; -v___x_21217_ = lean_st_ref_set(v___y_21184_, v___x_21216_); -v___x_21218_ = lean_box(0); -v___x_21219_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21219_, 0, v___x_21218_); -return v___x_21219_; +lean_object* v___x_21117_; +if (v_isShared_21115_ == 0) +{ +v___x_21117_ = v___x_21114_; +goto v_reusejp_21116_; +} +else +{ +lean_object* v_reuseFailAlloc_21118_; +v_reuseFailAlloc_21118_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21118_, 0, v_a_21112_); +v___x_21117_ = v_reuseFailAlloc_21118_; +goto v_reusejp_21116_; +} +v_reusejp_21116_: +{ +return v___x_21117_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg___boxed(lean_object* v_declName_21226_, lean_object* v_s_21227_, lean_object* v___y_21228_, lean_object* v___y_21229_, lean_object* v___y_21230_){ +} +} +} +} +} +} +} +} +} +} +else +{ +lean_object* v_a_21135_; lean_object* v___x_21137_; uint8_t v_isShared_21138_; uint8_t v_isSharedCheck_21142_; +lean_del_object(v___x_21004_); +lean_dec_ref(v___x_20998_); +lean_del_object(v___x_20995_); +lean_dec_ref(v_asyncEnv_20992_); +lean_dec(v_a_20990_); +lean_del_object(v___x_20982_); +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +lean_dec_ref(v_header_20957_); +lean_dec_ref(v_views_20956_); +lean_dec_ref(v_sc_20955_); +lean_dec_ref(v_vars_20954_); +v_a_21135_ = lean_ctor_get(v___x_21006_, 0); +v_isSharedCheck_21142_ = !lean_is_exclusive(v___x_21006_); +if (v_isSharedCheck_21142_ == 0) +{ +v___x_21137_ = v___x_21006_; +v_isShared_21138_ = v_isSharedCheck_21142_; +goto v_resetjp_21136_; +} +else +{ +lean_inc(v_a_21135_); +lean_dec(v___x_21006_); +v___x_21137_ = lean_box(0); +v_isShared_21138_ = v_isSharedCheck_21142_; +goto v_resetjp_21136_; +} +v_resetjp_21136_: +{ +lean_object* v___x_21140_; +if (v_isShared_21138_ == 0) +{ +v___x_21140_ = v___x_21137_; +goto v_reusejp_21139_; +} +else +{ +lean_object* v_reuseFailAlloc_21141_; +v_reuseFailAlloc_21141_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21141_, 0, v_a_21135_); +v___x_21140_ = v_reuseFailAlloc_21141_; +goto v_reusejp_21139_; +} +v_reusejp_21139_: +{ +return v___x_21140_; +} +} +} +} +} +else +{ +lean_dec_ref(v___x_20998_); +lean_del_object(v___x_20995_); +lean_dec_ref(v_asyncEnv_20992_); +lean_dec(v_a_20990_); +lean_del_object(v___x_20982_); +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec_ref(v_a_20964_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +lean_dec_ref(v_header_20957_); +lean_dec_ref(v_views_20956_); +lean_dec_ref(v_sc_20955_); +lean_dec_ref(v_vars_20954_); +return v___x_21002_; +} +} +} +else +{ +lean_object* v_a_21147_; lean_object* v___x_21149_; uint8_t v_isShared_21150_; uint8_t v_isSharedCheck_21161_; +lean_del_object(v___x_20982_); +lean_dec(v_declName_20980_); +lean_dec_ref(v_modifiers_20968_); +lean_dec(v_a_20965_); +lean_dec(v_a_20963_); +lean_dec_ref(v_a_20962_); +lean_dec(v_a_20961_); +lean_dec_ref(v_a_20960_); +lean_dec_ref(v_header_20957_); +lean_dec_ref(v_views_20956_); +lean_dec_ref(v_sc_20955_); +lean_dec_ref(v_vars_20954_); +v_a_21147_ = lean_ctor_get(v___x_20989_, 0); +v_isSharedCheck_21161_ = !lean_is_exclusive(v___x_20989_); +if (v_isSharedCheck_21161_ == 0) +{ +v___x_21149_ = v___x_20989_; +v_isShared_21150_ = v_isSharedCheck_21161_; +goto v_resetjp_21148_; +} +else +{ +lean_inc(v_a_21147_); +lean_dec(v___x_20989_); +v___x_21149_ = lean_box(0); +v_isShared_21150_ = v_isSharedCheck_21161_; +goto v_resetjp_21148_; +} +v_resetjp_21148_: +{ +lean_object* v_ref_21151_; lean_object* v___x_21152_; lean_object* v___x_21154_; +v_ref_21151_ = lean_ctor_get(v_a_20964_, 5); +lean_inc(v_ref_21151_); +lean_dec_ref(v_a_20964_); +v___x_21152_ = lean_io_error_to_string(v_a_21147_); +if (v_isShared_20978_ == 0) +{ +lean_ctor_set_tag(v___x_20977_, 3); +lean_ctor_set(v___x_20977_, 0, v___x_21152_); +v___x_21154_ = v___x_20977_; +goto v_reusejp_21153_; +} +else +{ +lean_object* v_reuseFailAlloc_21160_; +v_reuseFailAlloc_21160_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21160_, 0, v___x_21152_); +v___x_21154_ = v_reuseFailAlloc_21160_; +goto v_reusejp_21153_; +} +v_reusejp_21153_: +{ +lean_object* v___x_21155_; lean_object* v___x_21156_; lean_object* v___x_21158_; +v___x_21155_ = l_Lean_MessageData_ofFormat(v___x_21154_); +v___x_21156_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_21156_, 0, v_ref_21151_); +lean_ctor_set(v___x_21156_, 1, v___x_21155_); +if (v_isShared_21150_ == 0) +{ +lean_ctor_set(v___x_21149_, 0, v___x_21156_); +v___x_21158_ = v___x_21149_; +goto v_reusejp_21157_; +} +else +{ +lean_object* v_reuseFailAlloc_21159_; +v_reuseFailAlloc_21159_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21159_, 0, v___x_21156_); +v___x_21158_ = v_reuseFailAlloc_21159_; +goto v_reusejp_21157_; +} +v_reusejp_21157_: +{ +return v___x_21158_; +} +} +} +} +} +v___jp_21162_: +{ +if (v___y_21163_ == 0) +{ +lean_object* v___x_21164_; +v___x_21164_ = lean_box(0); +v___y_20988_ = v___x_21164_; +goto v___jp_20987_; +} +else +{ +lean_object* v___x_21165_; +v___x_21165_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___closed__8)); +v___y_20988_ = v___x_21165_; +goto v___jp_20987_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync___boxed(lean_object* v_vars_21174_, lean_object* v_sc_21175_, lean_object* v_views_21176_, lean_object* v_header_21177_, lean_object* v_view_21178_, lean_object* v_declId_21179_, lean_object* v_a_21180_, lean_object* v_a_21181_, lean_object* v_a_21182_, lean_object* v_a_21183_, lean_object* v_a_21184_, lean_object* v_a_21185_, lean_object* v_a_21186_){ _start: { -uint8_t v_s_boxed_21231_; lean_object* v_res_21232_; -v_s_boxed_21231_ = lean_unbox(v_s_21227_); -v_res_21232_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21226_, v_s_boxed_21231_, v___y_21228_, v___y_21229_); -lean_dec(v___y_21229_); -lean_dec(v___y_21228_); -return v_res_21232_; +lean_object* v_res_21187_; +v_res_21187_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(v_vars_21174_, v_sc_21175_, v_views_21176_, v_header_21177_, v_view_21178_, v_declId_21179_, v_a_21180_, v_a_21181_, v_a_21182_, v_a_21183_, v_a_21184_, v_a_21185_); +return v_res_21187_; } } -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4(lean_object* v_declName_21233_, uint8_t v_s_21234_, lean_object* v___y_21235_, lean_object* v___y_21236_, lean_object* v___y_21237_, lean_object* v___y_21238_, lean_object* v___y_21239_, lean_object* v___y_21240_){ +LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1(lean_object* v_opt_21188_, lean_object* v___y_21189_, lean_object* v___y_21190_, lean_object* v___y_21191_, lean_object* v___y_21192_, lean_object* v___y_21193_, lean_object* v___y_21194_){ _start: { -lean_object* v___x_21242_; -v___x_21242_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21233_, v_s_21234_, v___y_21238_, v___y_21240_); -return v___x_21242_; +lean_object* v___x_21196_; +v___x_21196_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___redArg(v_opt_21188_, v___y_21193_); +return v___x_21196_; } } -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___boxed(lean_object* v_declName_21243_, lean_object* v_s_21244_, lean_object* v___y_21245_, lean_object* v___y_21246_, lean_object* v___y_21247_, lean_object* v___y_21248_, lean_object* v___y_21249_, lean_object* v___y_21250_, lean_object* v___y_21251_){ +LEAN_EXPORT lean_object* l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1___boxed(lean_object* v_opt_21197_, lean_object* v___y_21198_, lean_object* v___y_21199_, lean_object* v___y_21200_, lean_object* v___y_21201_, lean_object* v___y_21202_, lean_object* v___y_21203_, lean_object* v___y_21204_){ _start: { -uint8_t v_s_boxed_21252_; lean_object* v_res_21253_; -v_s_boxed_21252_ = lean_unbox(v_s_21244_); -v_res_21253_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4(v_declName_21243_, v_s_boxed_21252_, v___y_21245_, v___y_21246_, v___y_21247_, v___y_21248_, v___y_21249_, v___y_21250_); -lean_dec(v___y_21250_); -lean_dec_ref(v___y_21249_); -lean_dec(v___y_21248_); -lean_dec_ref(v___y_21247_); -lean_dec(v___y_21246_); -lean_dec_ref(v___y_21245_); -return v_res_21253_; +lean_object* v_res_21205_; +v_res_21205_ = l_Lean_Option_getM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__1(v_opt_21197_, v___y_21198_, v___y_21199_, v___y_21200_, v___y_21201_, v___y_21202_, v___y_21203_); +lean_dec(v___y_21203_); +lean_dec_ref(v___y_21202_); +lean_dec(v___y_21201_); +lean_dec_ref(v___y_21200_); +lean_dec(v___y_21199_); +lean_dec_ref(v___y_21198_); +lean_dec_ref(v_opt_21197_); +return v_res_21205_; } } -LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(lean_object* v_declName_21254_, lean_object* v___y_21255_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4(lean_object* v___y_21206_, lean_object* v___y_21207_, lean_object* v___y_21208_, lean_object* v___y_21209_, lean_object* v___y_21210_, lean_object* v___y_21211_){ _start: { -lean_object* v___x_21257_; lean_object* v_env_21258_; uint8_t v___x_21259_; lean_object* v___x_21260_; lean_object* v___x_21261_; -v___x_21257_ = lean_st_ref_get(v___y_21255_); -v_env_21258_ = lean_ctor_get(v___x_21257_, 0); -lean_inc_ref(v_env_21258_); -lean_dec(v___x_21257_); -v___x_21259_ = lean_get_reducibility_status(v_env_21258_, v_declName_21254_); -v___x_21260_ = lean_box(v___x_21259_); -v___x_21261_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21261_, 0, v___x_21260_); -return v___x_21261_; +lean_object* v___x_21213_; +v___x_21213_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___redArg(v___y_21211_); +return v___x_21213_; } } -LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg___boxed(lean_object* v_declName_21262_, lean_object* v___y_21263_, lean_object* v___y_21264_){ +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4___boxed(lean_object* v___y_21214_, lean_object* v___y_21215_, lean_object* v___y_21216_, lean_object* v___y_21217_, lean_object* v___y_21218_, lean_object* v___y_21219_, lean_object* v___y_21220_){ _start: { -lean_object* v_res_21265_; -v_res_21265_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21262_, v___y_21263_); -lean_dec(v___y_21263_); -return v_res_21265_; +lean_object* v_res_21221_; +v_res_21221_ = l_Lean_mkFreshId___at___00Lean_mkFreshMVarId___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__4_spec__4(v___y_21214_, v___y_21215_, v___y_21216_, v___y_21217_, v___y_21218_, v___y_21219_); +lean_dec(v___y_21219_); +lean_dec_ref(v___y_21218_); +lean_dec(v___y_21217_); +lean_dec_ref(v___y_21216_); +lean_dec(v___y_21215_); +lean_dec_ref(v___y_21214_); +return v_res_21221_; } } -LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5(lean_object* v_declName_21266_, lean_object* v___y_21267_, lean_object* v___y_21268_, lean_object* v___y_21269_, lean_object* v___y_21270_, lean_object* v___y_21271_, lean_object* v___y_21272_){ +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(lean_object* v_declName_21222_, uint8_t v_s_21223_, lean_object* v___y_21224_, lean_object* v___y_21225_){ _start: { -lean_object* v___x_21274_; -v___x_21274_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21266_, v___y_21272_); -return v___x_21274_; +lean_object* v___x_21227_; lean_object* v_env_21228_; lean_object* v_nextMacroScope_21229_; lean_object* v_ngen_21230_; lean_object* v_auxDeclNGen_21231_; lean_object* v_traceState_21232_; lean_object* v_messages_21233_; lean_object* v_infoState_21234_; lean_object* v_snapshotTasks_21235_; lean_object* v___x_21237_; uint8_t v_isShared_21238_; uint8_t v_isSharedCheck_21264_; +v___x_21227_ = lean_st_ref_take(v___y_21225_); +v_env_21228_ = lean_ctor_get(v___x_21227_, 0); +v_nextMacroScope_21229_ = lean_ctor_get(v___x_21227_, 1); +v_ngen_21230_ = lean_ctor_get(v___x_21227_, 2); +v_auxDeclNGen_21231_ = lean_ctor_get(v___x_21227_, 3); +v_traceState_21232_ = lean_ctor_get(v___x_21227_, 4); +v_messages_21233_ = lean_ctor_get(v___x_21227_, 6); +v_infoState_21234_ = lean_ctor_get(v___x_21227_, 7); +v_snapshotTasks_21235_ = lean_ctor_get(v___x_21227_, 8); +v_isSharedCheck_21264_ = !lean_is_exclusive(v___x_21227_); +if (v_isSharedCheck_21264_ == 0) +{ +lean_object* v_unused_21265_; +v_unused_21265_ = lean_ctor_get(v___x_21227_, 5); +lean_dec(v_unused_21265_); +v___x_21237_ = v___x_21227_; +v_isShared_21238_ = v_isSharedCheck_21264_; +goto v_resetjp_21236_; +} +else +{ +lean_inc(v_snapshotTasks_21235_); +lean_inc(v_infoState_21234_); +lean_inc(v_messages_21233_); +lean_inc(v_traceState_21232_); +lean_inc(v_auxDeclNGen_21231_); +lean_inc(v_ngen_21230_); +lean_inc(v_nextMacroScope_21229_); +lean_inc(v_env_21228_); +lean_dec(v___x_21227_); +v___x_21237_ = lean_box(0); +v_isShared_21238_ = v_isSharedCheck_21264_; +goto v_resetjp_21236_; +} +v_resetjp_21236_: +{ +uint8_t v___x_21239_; lean_object* v___x_21240_; lean_object* v___x_21241_; lean_object* v___x_21242_; lean_object* v___x_21244_; +v___x_21239_ = 0; +v___x_21240_ = lean_box(0); +v___x_21241_ = l___private_Lean_ReducibilityAttrs_0__Lean_setReducibilityStatusCore(v_env_21228_, v_declName_21222_, v_s_21223_, v___x_21239_, v___x_21240_); +v___x_21242_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_21238_ == 0) +{ +lean_ctor_set(v___x_21237_, 5, v___x_21242_); +lean_ctor_set(v___x_21237_, 0, v___x_21241_); +v___x_21244_ = v___x_21237_; +goto v_reusejp_21243_; +} +else +{ +lean_object* v_reuseFailAlloc_21263_; +v_reuseFailAlloc_21263_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_21263_, 0, v___x_21241_); +lean_ctor_set(v_reuseFailAlloc_21263_, 1, v_nextMacroScope_21229_); +lean_ctor_set(v_reuseFailAlloc_21263_, 2, v_ngen_21230_); +lean_ctor_set(v_reuseFailAlloc_21263_, 3, v_auxDeclNGen_21231_); +lean_ctor_set(v_reuseFailAlloc_21263_, 4, v_traceState_21232_); +lean_ctor_set(v_reuseFailAlloc_21263_, 5, v___x_21242_); +lean_ctor_set(v_reuseFailAlloc_21263_, 6, v_messages_21233_); +lean_ctor_set(v_reuseFailAlloc_21263_, 7, v_infoState_21234_); +lean_ctor_set(v_reuseFailAlloc_21263_, 8, v_snapshotTasks_21235_); +v___x_21244_ = v_reuseFailAlloc_21263_; +goto v_reusejp_21243_; +} +v_reusejp_21243_: +{ +lean_object* v___x_21245_; lean_object* v___x_21246_; lean_object* v_mctx_21247_; lean_object* v_zetaDeltaFVarIds_21248_; lean_object* v_postponed_21249_; lean_object* v_diag_21250_; lean_object* v___x_21252_; uint8_t v_isShared_21253_; uint8_t v_isSharedCheck_21261_; +v___x_21245_ = lean_st_ref_set(v___y_21225_, v___x_21244_); +v___x_21246_ = lean_st_ref_take(v___y_21224_); +v_mctx_21247_ = lean_ctor_get(v___x_21246_, 0); +v_zetaDeltaFVarIds_21248_ = lean_ctor_get(v___x_21246_, 2); +v_postponed_21249_ = lean_ctor_get(v___x_21246_, 3); +v_diag_21250_ = lean_ctor_get(v___x_21246_, 4); +v_isSharedCheck_21261_ = !lean_is_exclusive(v___x_21246_); +if (v_isSharedCheck_21261_ == 0) +{ +lean_object* v_unused_21262_; +v_unused_21262_ = lean_ctor_get(v___x_21246_, 1); +lean_dec(v_unused_21262_); +v___x_21252_ = v___x_21246_; +v_isShared_21253_ = v_isSharedCheck_21261_; +goto v_resetjp_21251_; +} +else +{ +lean_inc(v_diag_21250_); +lean_inc(v_postponed_21249_); +lean_inc(v_zetaDeltaFVarIds_21248_); +lean_inc(v_mctx_21247_); +lean_dec(v___x_21246_); +v___x_21252_ = lean_box(0); +v_isShared_21253_ = v_isSharedCheck_21261_; +goto v_resetjp_21251_; +} +v_resetjp_21251_: +{ +lean_object* v___x_21254_; lean_object* v___x_21256_; +v___x_21254_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_21253_ == 0) +{ +lean_ctor_set(v___x_21252_, 1, v___x_21254_); +v___x_21256_ = v___x_21252_; +goto v_reusejp_21255_; +} +else +{ +lean_object* v_reuseFailAlloc_21260_; +v_reuseFailAlloc_21260_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_21260_, 0, v_mctx_21247_); +lean_ctor_set(v_reuseFailAlloc_21260_, 1, v___x_21254_); +lean_ctor_set(v_reuseFailAlloc_21260_, 2, v_zetaDeltaFVarIds_21248_); +lean_ctor_set(v_reuseFailAlloc_21260_, 3, v_postponed_21249_); +lean_ctor_set(v_reuseFailAlloc_21260_, 4, v_diag_21250_); +v___x_21256_ = v_reuseFailAlloc_21260_; +goto v_reusejp_21255_; +} +v_reusejp_21255_: +{ +lean_object* v___x_21257_; lean_object* v___x_21258_; lean_object* v___x_21259_; +v___x_21257_ = lean_st_ref_set(v___y_21224_, v___x_21256_); +v___x_21258_ = lean_box(0); +v___x_21259_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21259_, 0, v___x_21258_); +return v___x_21259_; } } -LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___boxed(lean_object* v_declName_21275_, lean_object* v___y_21276_, lean_object* v___y_21277_, lean_object* v___y_21278_, lean_object* v___y_21279_, lean_object* v___y_21280_, lean_object* v___y_21281_, lean_object* v___y_21282_){ +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg___boxed(lean_object* v_declName_21266_, lean_object* v_s_21267_, lean_object* v___y_21268_, lean_object* v___y_21269_, lean_object* v___y_21270_){ _start: { -lean_object* v_res_21283_; -v_res_21283_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5(v_declName_21275_, v___y_21276_, v___y_21277_, v___y_21278_, v___y_21279_, v___y_21280_, v___y_21281_); -lean_dec(v___y_21281_); -lean_dec_ref(v___y_21280_); -lean_dec(v___y_21279_); -lean_dec_ref(v___y_21278_); -lean_dec(v___y_21277_); -lean_dec_ref(v___y_21276_); -return v_res_21283_; +uint8_t v_s_boxed_21271_; lean_object* v_res_21272_; +v_s_boxed_21271_ = lean_unbox(v_s_21267_); +v_res_21272_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21266_, v_s_boxed_21271_, v___y_21268_, v___y_21269_); +lean_dec(v___y_21269_); +lean_dec(v___y_21268_); +return v_res_21272_; } } -LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(lean_object* v_msgData_21284_, lean_object* v___y_21285_, lean_object* v___y_21286_, lean_object* v___y_21287_, lean_object* v___y_21288_){ +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4(lean_object* v_declName_21273_, uint8_t v_s_21274_, lean_object* v___y_21275_, lean_object* v___y_21276_, lean_object* v___y_21277_, lean_object* v___y_21278_, lean_object* v___y_21279_, lean_object* v___y_21280_){ _start: { -uint8_t v___x_21290_; uint8_t v___x_21291_; lean_object* v___x_21292_; -v___x_21290_ = 1; -v___x_21291_ = 0; -v___x_21292_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_21284_, v___x_21290_, v___x_21291_, v___y_21285_, v___y_21286_, v___y_21287_, v___y_21288_); -return v___x_21292_; +lean_object* v___x_21282_; +v___x_21282_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21273_, v_s_21274_, v___y_21278_, v___y_21280_); +return v___x_21282_; } } -LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg___boxed(lean_object* v_msgData_21293_, lean_object* v___y_21294_, lean_object* v___y_21295_, lean_object* v___y_21296_, lean_object* v___y_21297_, lean_object* v___y_21298_){ +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___boxed(lean_object* v_declName_21283_, lean_object* v_s_21284_, lean_object* v___y_21285_, lean_object* v___y_21286_, lean_object* v___y_21287_, lean_object* v___y_21288_, lean_object* v___y_21289_, lean_object* v___y_21290_, lean_object* v___y_21291_){ _start: { -lean_object* v_res_21299_; -v_res_21299_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v_msgData_21293_, v___y_21294_, v___y_21295_, v___y_21296_, v___y_21297_); -lean_dec(v___y_21297_); -lean_dec(v___y_21295_); -lean_dec_ref(v___y_21294_); -return v_res_21299_; +uint8_t v_s_boxed_21292_; lean_object* v_res_21293_; +v_s_boxed_21292_ = lean_unbox(v_s_21284_); +v_res_21293_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4(v_declName_21283_, v_s_boxed_21292_, v___y_21285_, v___y_21286_, v___y_21287_, v___y_21288_, v___y_21289_, v___y_21290_); +lean_dec(v___y_21290_); +lean_dec_ref(v___y_21289_); +lean_dec(v___y_21288_); +lean_dec_ref(v___y_21287_); +lean_dec(v___y_21286_); +lean_dec_ref(v___y_21285_); +return v_res_21293_; +} +} +LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(lean_object* v_declName_21294_, lean_object* v___y_21295_){ +_start: +{ +lean_object* v___x_21297_; lean_object* v_env_21298_; uint8_t v___x_21299_; lean_object* v___x_21300_; lean_object* v___x_21301_; +v___x_21297_ = lean_st_ref_get(v___y_21295_); +v_env_21298_ = lean_ctor_get(v___x_21297_, 0); +lean_inc_ref(v_env_21298_); +lean_dec(v___x_21297_); +v___x_21299_ = lean_get_reducibility_status(v_env_21298_, v_declName_21294_); +v___x_21300_ = lean_box(v___x_21299_); +v___x_21301_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21301_, 0, v___x_21300_); +return v___x_21301_; +} +} +LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg___boxed(lean_object* v_declName_21302_, lean_object* v___y_21303_, lean_object* v___y_21304_){ +_start: +{ +lean_object* v_res_21305_; +v_res_21305_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21302_, v___y_21303_); +lean_dec(v___y_21303_); +return v_res_21305_; +} +} +LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5(lean_object* v_declName_21306_, lean_object* v___y_21307_, lean_object* v___y_21308_, lean_object* v___y_21309_, lean_object* v___y_21310_, lean_object* v___y_21311_, lean_object* v___y_21312_){ +_start: +{ +lean_object* v___x_21314_; +v___x_21314_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21306_, v___y_21312_); +return v___x_21314_; +} +} +LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___boxed(lean_object* v_declName_21315_, lean_object* v___y_21316_, lean_object* v___y_21317_, lean_object* v___y_21318_, lean_object* v___y_21319_, lean_object* v___y_21320_, lean_object* v___y_21321_, lean_object* v___y_21322_){ +_start: +{ +lean_object* v_res_21323_; +v_res_21323_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5(v_declName_21315_, v___y_21316_, v___y_21317_, v___y_21318_, v___y_21319_, v___y_21320_, v___y_21321_); +lean_dec(v___y_21321_); +lean_dec_ref(v___y_21320_); +lean_dec(v___y_21319_); +lean_dec_ref(v___y_21318_); +lean_dec(v___y_21317_); +lean_dec_ref(v___y_21316_); +return v_res_21323_; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(lean_object* v_msgData_21324_, lean_object* v___y_21325_, lean_object* v___y_21326_, lean_object* v___y_21327_, lean_object* v___y_21328_){ +_start: +{ +uint8_t v___x_21330_; uint8_t v___x_21331_; lean_object* v___x_21332_; +v___x_21330_ = 1; +v___x_21331_ = 0; +v___x_21332_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4_spec__6_spec__10___redArg(v_msgData_21324_, v___x_21330_, v___x_21331_, v___y_21325_, v___y_21326_, v___y_21327_, v___y_21328_); +return v___x_21332_; +} +} +LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg___boxed(lean_object* v_msgData_21333_, lean_object* v___y_21334_, lean_object* v___y_21335_, lean_object* v___y_21336_, lean_object* v___y_21337_, lean_object* v___y_21338_){ +_start: +{ +lean_object* v_res_21339_; +v_res_21339_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v_msgData_21333_, v___y_21334_, v___y_21335_, v___y_21336_, v___y_21337_); +lean_dec(v___y_21337_); +lean_dec(v___y_21335_); +lean_dec_ref(v___y_21334_); +return v_res_21339_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1(void){ _start: { -lean_object* v___x_21301_; lean_object* v___x_21302_; -v___x_21301_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__0)); -v___x_21302_ = l_Lean_stringToMessageData(v___x_21301_); -return v___x_21302_; +lean_object* v___x_21341_; lean_object* v___x_21342_; +v___x_21341_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__0)); +v___x_21342_ = l_Lean_stringToMessageData(v___x_21341_); +return v___x_21342_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3(void){ _start: { -lean_object* v___x_21304_; lean_object* v___x_21305_; -v___x_21304_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__2)); -v___x_21305_ = l_Lean_stringToMessageData(v___x_21304_); -return v___x_21305_; +lean_object* v___x_21344_; lean_object* v___x_21345_; +v___x_21344_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__2)); +v___x_21345_ = l_Lean_stringToMessageData(v___x_21344_); +return v___x_21345_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(lean_object* v_as_21309_, size_t v_sz_21310_, size_t v_i_21311_, lean_object* v_b_21312_, lean_object* v___y_21313_, lean_object* v___y_21314_, lean_object* v___y_21315_, lean_object* v___y_21316_, lean_object* v___y_21317_, lean_object* v___y_21318_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(lean_object* v_as_21349_, size_t v_sz_21350_, size_t v_i_21351_, lean_object* v_b_21352_, lean_object* v___y_21353_, lean_object* v___y_21354_, lean_object* v___y_21355_, lean_object* v___y_21356_, lean_object* v___y_21357_, lean_object* v___y_21358_){ _start: { -lean_object* v_a_21321_; uint8_t v___x_21325_; -v___x_21325_ = lean_usize_dec_lt(v_i_21311_, v_sz_21310_); -if (v___x_21325_ == 0) +lean_object* v_a_21361_; uint8_t v___x_21365_; +v___x_21365_ = lean_usize_dec_lt(v_i_21351_, v_sz_21350_); +if (v___x_21365_ == 0) { -lean_object* v___x_21326_; -lean_dec(v___y_21318_); -lean_dec_ref(v___y_21317_); -lean_dec(v___y_21316_); -lean_dec_ref(v___y_21315_); -v___x_21326_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21326_, 0, v_b_21312_); -return v___x_21326_; +lean_object* v___x_21366_; +lean_dec(v___y_21358_); +lean_dec_ref(v___y_21357_); +lean_dec(v___y_21356_); +lean_dec_ref(v___y_21355_); +v___x_21366_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21366_, 0, v_b_21352_); +return v___x_21366_; } else { -lean_object* v_a_21327_; lean_object* v_toDefView_21328_; lean_object* v_toDefViewElabHeaderData_21329_; uint8_t v_kind_21330_; lean_object* v___x_21331_; uint8_t v___x_21332_; uint8_t v___x_21333_; -v_a_21327_ = lean_array_uget_borrowed(v_as_21309_, v_i_21311_); -v_toDefView_21328_ = lean_ctor_get(v_a_21327_, 0); -v_toDefViewElabHeaderData_21329_ = lean_ctor_get(v_a_21327_, 1); -v_kind_21330_ = lean_ctor_get_uint8(v_toDefView_21328_, sizeof(void*)*10); -v___x_21331_ = lean_box(0); -v___x_21332_ = 0; -v___x_21333_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_21330_, v___x_21332_); -if (v___x_21333_ == 0) +lean_object* v_a_21367_; lean_object* v_toDefView_21368_; lean_object* v_toDefViewElabHeaderData_21369_; uint8_t v_kind_21370_; lean_object* v___x_21371_; uint8_t v___x_21372_; uint8_t v___x_21373_; +v_a_21367_ = lean_array_uget_borrowed(v_as_21349_, v_i_21351_); +v_toDefView_21368_ = lean_ctor_get(v_a_21367_, 0); +v_toDefViewElabHeaderData_21369_ = lean_ctor_get(v_a_21367_, 1); +v_kind_21370_ = lean_ctor_get_uint8(v_toDefView_21368_, sizeof(void*)*10); +v___x_21371_ = lean_box(0); +v___x_21372_ = 0; +v___x_21373_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_21370_, v___x_21372_); +if (v___x_21373_ == 0) { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } else { -lean_object* v_options_21334_; lean_object* v_declName_21335_; lean_object* v_type_21336_; lean_object* v___x_21337_; -v_options_21334_ = lean_ctor_get(v___y_21317_, 2); -v_declName_21335_ = lean_ctor_get(v_toDefViewElabHeaderData_21329_, 1); -v_type_21336_ = lean_ctor_get(v_toDefViewElabHeaderData_21329_, 5); -lean_inc(v___y_21318_); -lean_inc_ref(v___y_21317_); -lean_inc(v___y_21316_); -lean_inc_ref(v___y_21315_); -lean_inc_ref(v_type_21336_); -v___x_21337_ = l_Lean_Meta_isClass_x3f(v_type_21336_, v___y_21315_, v___y_21316_, v___y_21317_, v___y_21318_); -if (lean_obj_tag(v___x_21337_) == 0) +lean_object* v_options_21374_; lean_object* v_declName_21375_; lean_object* v_type_21376_; lean_object* v___x_21377_; +v_options_21374_ = lean_ctor_get(v___y_21357_, 2); +v_declName_21375_ = lean_ctor_get(v_toDefViewElabHeaderData_21369_, 1); +v_type_21376_ = lean_ctor_get(v_toDefViewElabHeaderData_21369_, 5); +lean_inc(v___y_21358_); +lean_inc_ref(v___y_21357_); +lean_inc(v___y_21356_); +lean_inc_ref(v___y_21355_); +lean_inc_ref(v_type_21376_); +v___x_21377_ = l_Lean_Meta_isClass_x3f(v_type_21376_, v___y_21355_, v___y_21356_, v___y_21357_, v___y_21358_); +if (lean_obj_tag(v___x_21377_) == 0) { -lean_object* v_a_21338_; uint8_t v___y_21358_; lean_object* v___x_21371_; uint8_t v___x_21372_; -v_a_21338_ = lean_ctor_get(v___x_21337_, 0); -lean_inc(v_a_21338_); -lean_dec_ref(v___x_21337_); -v___x_21371_ = l_Lean_Elab_Term_warn_classDefReducibility; -v___x_21372_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21334_, v___x_21371_); -if (v___x_21372_ == 0) +lean_object* v_a_21378_; uint8_t v___y_21398_; lean_object* v___x_21411_; uint8_t v___x_21412_; +v_a_21378_ = lean_ctor_get(v___x_21377_, 0); +lean_inc(v_a_21378_); +lean_dec_ref(v___x_21377_); +v___x_21411_ = l_Lean_Elab_Term_warn_classDefReducibility; +v___x_21412_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21374_, v___x_21411_); +if (v___x_21412_ == 0) { -lean_dec(v_a_21338_); -v___y_21358_ = v___x_21372_; -goto v___jp_21357_; +lean_dec(v_a_21378_); +v___y_21398_ = v___x_21412_; +goto v___jp_21397_; } else { -if (lean_obj_tag(v_a_21338_) == 0) +if (lean_obj_tag(v_a_21378_) == 0) { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } else { -lean_dec_ref(v_a_21338_); -v___y_21358_ = v___x_21372_; -goto v___jp_21357_; +lean_dec_ref(v_a_21378_); +v___y_21398_ = v___x_21412_; +goto v___jp_21397_; } } -v___jp_21339_: +v___jp_21379_: { -lean_object* v___x_21340_; -lean_inc(v_declName_21335_); -v___x_21340_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21335_, v___y_21318_); -if (lean_obj_tag(v___x_21340_) == 0) +lean_object* v___x_21380_; +lean_inc(v_declName_21375_); +v___x_21380_ = l_Lean_getReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__5___redArg(v_declName_21375_, v___y_21358_); +if (lean_obj_tag(v___x_21380_) == 0) { -lean_object* v_a_21341_; uint8_t v___x_21342_; -v_a_21341_ = lean_ctor_get(v___x_21340_, 0); -lean_inc(v_a_21341_); -lean_dec_ref(v___x_21340_); -v___x_21342_ = lean_unbox(v_a_21341_); -lean_dec(v_a_21341_); -switch(v___x_21342_) +lean_object* v_a_21381_; uint8_t v___x_21382_; +v_a_21381_ = lean_ctor_get(v___x_21380_, 0); +lean_inc(v_a_21381_); +lean_dec_ref(v___x_21380_); +v___x_21382_ = lean_unbox(v_a_21381_); +lean_dec(v_a_21381_); +switch(v___x_21382_) { case 0: { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } case 3: { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } case 2: { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } default: { -lean_object* v___x_21343_; lean_object* v___x_21344_; lean_object* v___x_21345_; lean_object* v___x_21346_; lean_object* v___x_21347_; lean_object* v___x_21348_; -v___x_21343_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1); -lean_inc(v_declName_21335_); -v___x_21344_ = l_Lean_MessageData_ofName(v_declName_21335_); -v___x_21345_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_21345_, 0, v___x_21343_); -lean_ctor_set(v___x_21345_, 1, v___x_21344_); -v___x_21346_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3); -v___x_21347_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_21347_, 0, v___x_21345_); -lean_ctor_set(v___x_21347_, 1, v___x_21346_); -lean_inc_ref(v___y_21317_); -v___x_21348_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v___x_21347_, v___y_21315_, v___y_21316_, v___y_21317_, v___y_21318_); -if (lean_obj_tag(v___x_21348_) == 0) +lean_object* v___x_21383_; lean_object* v___x_21384_; lean_object* v___x_21385_; lean_object* v___x_21386_; lean_object* v___x_21387_; lean_object* v___x_21388_; +v___x_21383_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__1); +lean_inc(v_declName_21375_); +v___x_21384_ = l_Lean_MessageData_ofName(v_declName_21375_); +v___x_21385_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_21385_, 0, v___x_21383_); +lean_ctor_set(v___x_21385_, 1, v___x_21384_); +v___x_21386_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__3); +v___x_21387_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_21387_, 0, v___x_21385_); +lean_ctor_set(v___x_21387_, 1, v___x_21386_); +lean_inc_ref(v___y_21357_); +v___x_21388_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v___x_21387_, v___y_21355_, v___y_21356_, v___y_21357_, v___y_21358_); +if (lean_obj_tag(v___x_21388_) == 0) { -lean_dec_ref(v___x_21348_); -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +lean_dec_ref(v___x_21388_); +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } else { -lean_dec(v___y_21318_); -lean_dec_ref(v___y_21317_); -lean_dec(v___y_21316_); -lean_dec_ref(v___y_21315_); -return v___x_21348_; +lean_dec(v___y_21358_); +lean_dec_ref(v___y_21357_); +lean_dec(v___y_21356_); +lean_dec_ref(v___y_21355_); +return v___x_21388_; } } } } else { -lean_object* v_a_21349_; lean_object* v___x_21351_; uint8_t v_isShared_21352_; uint8_t v_isSharedCheck_21356_; -lean_dec(v___y_21318_); -lean_dec_ref(v___y_21317_); -lean_dec(v___y_21316_); -lean_dec_ref(v___y_21315_); -v_a_21349_ = lean_ctor_get(v___x_21340_, 0); -v_isSharedCheck_21356_ = !lean_is_exclusive(v___x_21340_); -if (v_isSharedCheck_21356_ == 0) +lean_object* v_a_21389_; lean_object* v___x_21391_; uint8_t v_isShared_21392_; uint8_t v_isSharedCheck_21396_; +lean_dec(v___y_21358_); +lean_dec_ref(v___y_21357_); +lean_dec(v___y_21356_); +lean_dec_ref(v___y_21355_); +v_a_21389_ = lean_ctor_get(v___x_21380_, 0); +v_isSharedCheck_21396_ = !lean_is_exclusive(v___x_21380_); +if (v_isSharedCheck_21396_ == 0) { -v___x_21351_ = v___x_21340_; -v_isShared_21352_ = v_isSharedCheck_21356_; -goto v_resetjp_21350_; +v___x_21391_ = v___x_21380_; +v_isShared_21392_ = v_isSharedCheck_21396_; +goto v_resetjp_21390_; } else { -lean_inc(v_a_21349_); -lean_dec(v___x_21340_); -v___x_21351_ = lean_box(0); -v_isShared_21352_ = v_isSharedCheck_21356_; -goto v_resetjp_21350_; +lean_inc(v_a_21389_); +lean_dec(v___x_21380_); +v___x_21391_ = lean_box(0); +v_isShared_21392_ = v_isSharedCheck_21396_; +goto v_resetjp_21390_; } -v_resetjp_21350_: +v_resetjp_21390_: { -lean_object* v___x_21354_; -if (v_isShared_21352_ == 0) +lean_object* v___x_21394_; +if (v_isShared_21392_ == 0) { -v___x_21354_ = v___x_21351_; -goto v_reusejp_21353_; +v___x_21394_ = v___x_21391_; +goto v_reusejp_21393_; } else { -lean_object* v_reuseFailAlloc_21355_; -v_reuseFailAlloc_21355_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21355_, 0, v_a_21349_); -v___x_21354_ = v_reuseFailAlloc_21355_; -goto v_reusejp_21353_; +lean_object* v_reuseFailAlloc_21395_; +v_reuseFailAlloc_21395_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21395_, 0, v_a_21389_); +v___x_21394_ = v_reuseFailAlloc_21395_; +goto v_reusejp_21393_; } -v_reusejp_21353_: +v_reusejp_21393_: { -return v___x_21354_; +return v___x_21394_; } } } } -v___jp_21357_: +v___jp_21397_: { -if (v___y_21358_ == 0) +if (v___y_21398_ == 0) { -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } else { -lean_object* v___x_21359_; lean_object* v___x_21360_; lean_object* v___x_21361_; -v___x_21359_ = l_Lean_Expr_getForallBody(v_type_21336_); -v___x_21360_ = l_Lean_Expr_getAppFn(v___x_21359_); -lean_dec_ref(v___x_21359_); -v___x_21361_ = l_Lean_Expr_constName_x3f(v___x_21360_); -lean_dec_ref(v___x_21360_); -if (lean_obj_tag(v___x_21361_) == 1) +lean_object* v___x_21399_; lean_object* v___x_21400_; lean_object* v___x_21401_; +v___x_21399_ = l_Lean_Expr_getForallBody(v_type_21376_); +v___x_21400_ = l_Lean_Expr_getAppFn(v___x_21399_); +lean_dec_ref(v___x_21399_); +v___x_21401_ = l_Lean_Expr_constName_x3f(v___x_21400_); +lean_dec_ref(v___x_21400_); +if (lean_obj_tag(v___x_21401_) == 1) { -lean_object* v_val_21362_; -v_val_21362_ = lean_ctor_get(v___x_21361_, 0); -lean_inc(v_val_21362_); -lean_dec_ref(v___x_21361_); -if (lean_obj_tag(v_val_21362_) == 1) +lean_object* v_val_21402_; +v_val_21402_ = lean_ctor_get(v___x_21401_, 0); +lean_inc(v_val_21402_); +lean_dec_ref(v___x_21401_); +if (lean_obj_tag(v_val_21402_) == 1) { -lean_object* v_pre_21363_; -v_pre_21363_ = lean_ctor_get(v_val_21362_, 0); -if (lean_obj_tag(v_pre_21363_) == 0) +lean_object* v_pre_21403_; +v_pre_21403_ = lean_ctor_get(v_val_21402_, 0); +if (lean_obj_tag(v_pre_21403_) == 0) { -lean_object* v_str_21364_; lean_object* v___x_21365_; uint8_t v___x_21366_; -v_str_21364_ = lean_ctor_get(v_val_21362_, 1); -lean_inc_ref(v_str_21364_); -lean_dec_ref(v_val_21362_); -v___x_21365_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__4)); -v___x_21366_ = lean_string_dec_eq(v_str_21364_, v___x_21365_); -if (v___x_21366_ == 0) -{ -lean_object* v___x_21367_; uint8_t v___x_21368_; -v___x_21367_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__5)); -v___x_21368_ = lean_string_dec_eq(v_str_21364_, v___x_21367_); -if (v___x_21368_ == 0) -{ -lean_object* v___x_21369_; uint8_t v___x_21370_; -v___x_21369_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__6)); -v___x_21370_ = lean_string_dec_eq(v_str_21364_, v___x_21369_); -lean_dec_ref(v_str_21364_); -if (v___x_21370_ == 0) -{ -goto v___jp_21339_; -} -else -{ -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; -} -} -else -{ -lean_dec_ref(v_str_21364_); -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; -} -} -else -{ -lean_dec_ref(v_str_21364_); -v_a_21321_ = v___x_21331_; -goto v___jp_21320_; -} -} -else -{ -lean_dec_ref(v_val_21362_); -goto v___jp_21339_; -} -} -else -{ -lean_dec(v_val_21362_); -goto v___jp_21339_; -} -} -else -{ -lean_dec(v___x_21361_); -goto v___jp_21339_; -} -} -} -} -else -{ -lean_object* v_a_21373_; lean_object* v___x_21375_; uint8_t v_isShared_21376_; uint8_t v_isSharedCheck_21380_; -lean_dec(v___y_21318_); -lean_dec_ref(v___y_21317_); -lean_dec(v___y_21316_); -lean_dec_ref(v___y_21315_); -v_a_21373_ = lean_ctor_get(v___x_21337_, 0); -v_isSharedCheck_21380_ = !lean_is_exclusive(v___x_21337_); -if (v_isSharedCheck_21380_ == 0) -{ -v___x_21375_ = v___x_21337_; -v_isShared_21376_ = v_isSharedCheck_21380_; -goto v_resetjp_21374_; -} -else -{ -lean_inc(v_a_21373_); -lean_dec(v___x_21337_); -v___x_21375_ = lean_box(0); -v_isShared_21376_ = v_isSharedCheck_21380_; -goto v_resetjp_21374_; -} -v_resetjp_21374_: -{ -lean_object* v___x_21378_; -if (v_isShared_21376_ == 0) -{ -v___x_21378_ = v___x_21375_; -goto v_reusejp_21377_; -} -else -{ -lean_object* v_reuseFailAlloc_21379_; -v_reuseFailAlloc_21379_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21379_, 0, v_a_21373_); -v___x_21378_ = v_reuseFailAlloc_21379_; -goto v_reusejp_21377_; -} -v_reusejp_21377_: -{ -return v___x_21378_; -} -} -} -} -} -v___jp_21320_: -{ -size_t v___x_21322_; size_t v___x_21323_; -v___x_21322_ = ((size_t)1ULL); -v___x_21323_ = lean_usize_add(v_i_21311_, v___x_21322_); -v_i_21311_ = v___x_21323_; -v_b_21312_ = v_a_21321_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___boxed(lean_object* v_as_21381_, lean_object* v_sz_21382_, lean_object* v_i_21383_, lean_object* v_b_21384_, lean_object* v___y_21385_, lean_object* v___y_21386_, lean_object* v___y_21387_, lean_object* v___y_21388_, lean_object* v___y_21389_, lean_object* v___y_21390_, lean_object* v___y_21391_){ -_start: -{ -size_t v_sz_boxed_21392_; size_t v_i_boxed_21393_; lean_object* v_res_21394_; -v_sz_boxed_21392_ = lean_unbox_usize(v_sz_21382_); -lean_dec(v_sz_21382_); -v_i_boxed_21393_ = lean_unbox_usize(v_i_21383_); -lean_dec(v_i_21383_); -v_res_21394_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(v_as_21381_, v_sz_boxed_21392_, v_i_boxed_21393_, v_b_21384_, v___y_21385_, v___y_21386_, v___y_21387_, v___y_21388_, v___y_21389_, v___y_21390_); -lean_dec(v___y_21386_); -lean_dec_ref(v___y_21385_); -lean_dec_ref(v_as_21381_); -return v_res_21394_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0(lean_object* v_x_21399_){ -_start: -{ -lean_object* v_name_21400_; -v_name_21400_ = lean_ctor_get(v_x_21399_, 0); -if (lean_obj_tag(v_name_21400_) == 1) -{ -lean_object* v_pre_21401_; -v_pre_21401_ = lean_ctor_get(v_name_21400_, 0); -if (lean_obj_tag(v_pre_21401_) == 0) -{ -lean_object* v_str_21402_; lean_object* v___x_21403_; uint8_t v___x_21404_; -v_str_21402_ = lean_ctor_get(v_name_21400_, 1); -v___x_21403_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__0)); -v___x_21404_ = lean_string_dec_eq(v_str_21402_, v___x_21403_); -if (v___x_21404_ == 0) -{ -lean_object* v___x_21405_; uint8_t v___x_21406_; -v___x_21405_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__1)); -v___x_21406_ = lean_string_dec_eq(v_str_21402_, v___x_21405_); +lean_object* v_str_21404_; lean_object* v___x_21405_; uint8_t v___x_21406_; +v_str_21404_ = lean_ctor_get(v_val_21402_, 1); +lean_inc_ref(v_str_21404_); +lean_dec_ref(v_val_21402_); +v___x_21405_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__4)); +v___x_21406_ = lean_string_dec_eq(v_str_21404_, v___x_21405_); if (v___x_21406_ == 0) { lean_object* v___x_21407_; uint8_t v___x_21408_; -v___x_21407_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__2)); -v___x_21408_ = lean_string_dec_eq(v_str_21402_, v___x_21407_); +v___x_21407_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__5)); +v___x_21408_ = lean_string_dec_eq(v_str_21404_, v___x_21407_); if (v___x_21408_ == 0) { lean_object* v___x_21409_; uint8_t v___x_21410_; -v___x_21409_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__3)); -v___x_21410_ = lean_string_dec_eq(v_str_21402_, v___x_21409_); -return v___x_21410_; +v___x_21409_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___closed__6)); +v___x_21410_ = lean_string_dec_eq(v_str_21404_, v___x_21409_); +lean_dec_ref(v_str_21404_); +if (v___x_21410_ == 0) +{ +goto v___jp_21379_; } else { -return v___x_21408_; +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } } else { -return v___x_21406_; +lean_dec_ref(v_str_21404_); +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } } else { -return v___x_21404_; +lean_dec_ref(v_str_21404_); +v_a_21361_ = v___x_21371_; +goto v___jp_21360_; } } else { -uint8_t v___x_21411_; -v___x_21411_ = 0; -return v___x_21411_; +lean_dec_ref(v_val_21402_); +goto v___jp_21379_; } } else { -uint8_t v___x_21412_; -v___x_21412_ = 0; -return v___x_21412_; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___boxed(lean_object* v_x_21413_){ -_start: -{ -uint8_t v_res_21414_; lean_object* v_r_21415_; -v_res_21414_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0(v_x_21413_); -lean_dec_ref(v_x_21413_); -v_r_21415_ = lean_box(v_res_21414_); -return v_r_21415_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(lean_object* v_as_21417_, size_t v_sz_21418_, size_t v_i_21419_, lean_object* v_b_21420_, lean_object* v___y_21421_, lean_object* v___y_21422_, lean_object* v___y_21423_, lean_object* v___y_21424_, lean_object* v___y_21425_, lean_object* v___y_21426_){ -_start: -{ -lean_object* v_a_21429_; uint8_t v___x_21433_; -v___x_21433_ = lean_usize_dec_lt(v_i_21419_, v_sz_21418_); -if (v___x_21433_ == 0) -{ -lean_object* v___x_21434_; -lean_dec(v___y_21426_); -lean_dec_ref(v___y_21425_); -lean_dec(v___y_21424_); -lean_dec_ref(v___y_21423_); -v___x_21434_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21434_, 0, v_b_21420_); -return v___x_21434_; -} -else -{ -lean_object* v_a_21435_; lean_object* v_toDefView_21436_; lean_object* v_toDefViewElabHeaderData_21437_; uint8_t v_kind_21438_; lean_object* v_modifiers_21439_; lean_object* v___f_21440_; lean_object* v___x_21441_; uint8_t v___x_21442_; -v_a_21435_ = lean_array_uget_borrowed(v_as_21417_, v_i_21419_); -v_toDefView_21436_ = lean_ctor_get(v_a_21435_, 0); -v_toDefViewElabHeaderData_21437_ = lean_ctor_get(v_a_21435_, 1); -v_kind_21438_ = lean_ctor_get_uint8(v_toDefView_21436_, sizeof(void*)*10); -v_modifiers_21439_ = lean_ctor_get(v_toDefView_21436_, 2); -v___f_21440_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___closed__0)); -v___x_21441_ = lean_box(0); -v___x_21442_ = l_Lean_Elab_Modifiers_anyAttr(v_modifiers_21439_, v___f_21440_); -if (v___x_21442_ == 0) -{ -uint8_t v___x_21443_; uint8_t v___x_21444_; -v___x_21443_ = 1; -v___x_21444_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_21438_, v___x_21443_); -if (v___x_21444_ == 0) -{ -v_a_21429_ = v___x_21441_; -goto v___jp_21428_; -} -else -{ -lean_object* v_declName_21445_; lean_object* v_type_21446_; lean_object* v___x_21447_; -v_declName_21445_ = lean_ctor_get(v_toDefViewElabHeaderData_21437_, 1); -v_type_21446_ = lean_ctor_get(v_toDefViewElabHeaderData_21437_, 5); -lean_inc(v___y_21426_); -lean_inc_ref(v___y_21425_); -lean_inc(v___y_21424_); -lean_inc_ref(v___y_21423_); -lean_inc_ref(v_type_21446_); -v___x_21447_ = l_Lean_Meta_isProp(v_type_21446_, v___y_21423_, v___y_21424_, v___y_21425_, v___y_21426_); -if (lean_obj_tag(v___x_21447_) == 0) -{ -lean_object* v_a_21448_; uint8_t v___x_21449_; -v_a_21448_ = lean_ctor_get(v___x_21447_, 0); -lean_inc(v_a_21448_); -lean_dec_ref(v___x_21447_); -v___x_21449_ = lean_unbox(v_a_21448_); -lean_dec(v_a_21448_); -if (v___x_21449_ == 0) -{ -if (v___x_21444_ == 0) -{ -v_a_21429_ = v___x_21441_; -goto v___jp_21428_; -} -else -{ -uint8_t v___x_21450_; lean_object* v___x_21451_; -v___x_21450_ = 3; -lean_inc(v_declName_21445_); -v___x_21451_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21445_, v___x_21450_, v___y_21424_, v___y_21426_); -if (lean_obj_tag(v___x_21451_) == 0) -{ -lean_dec_ref(v___x_21451_); -v_a_21429_ = v___x_21441_; -goto v___jp_21428_; -} -else -{ -lean_dec(v___y_21426_); -lean_dec_ref(v___y_21425_); -lean_dec(v___y_21424_); -lean_dec_ref(v___y_21423_); -return v___x_21451_; -} -} -} -else -{ -v_a_21429_ = v___x_21441_; -goto v___jp_21428_; +lean_dec(v_val_21402_); +goto v___jp_21379_; } } else { -lean_object* v_a_21452_; lean_object* v___x_21454_; uint8_t v_isShared_21455_; uint8_t v_isSharedCheck_21459_; -lean_dec(v___y_21426_); -lean_dec_ref(v___y_21425_); -lean_dec(v___y_21424_); -lean_dec_ref(v___y_21423_); -v_a_21452_ = lean_ctor_get(v___x_21447_, 0); -v_isSharedCheck_21459_ = !lean_is_exclusive(v___x_21447_); -if (v_isSharedCheck_21459_ == 0) -{ -v___x_21454_ = v___x_21447_; -v_isShared_21455_ = v_isSharedCheck_21459_; -goto v_resetjp_21453_; -} -else -{ -lean_inc(v_a_21452_); -lean_dec(v___x_21447_); -v___x_21454_ = lean_box(0); -v_isShared_21455_ = v_isSharedCheck_21459_; -goto v_resetjp_21453_; -} -v_resetjp_21453_: -{ -lean_object* v___x_21457_; -if (v_isShared_21455_ == 0) -{ -v___x_21457_ = v___x_21454_; -goto v_reusejp_21456_; -} -else -{ -lean_object* v_reuseFailAlloc_21458_; -v_reuseFailAlloc_21458_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21458_, 0, v_a_21452_); -v___x_21457_ = v_reuseFailAlloc_21458_; -goto v_reusejp_21456_; -} -v_reusejp_21456_: -{ -return v___x_21457_; -} +lean_dec(v___x_21401_); +goto v___jp_21379_; } } } } else { -v_a_21429_ = v___x_21441_; -goto v___jp_21428_; -} -} -v___jp_21428_: +lean_object* v_a_21413_; lean_object* v___x_21415_; uint8_t v_isShared_21416_; uint8_t v_isSharedCheck_21420_; +lean_dec(v___y_21358_); +lean_dec_ref(v___y_21357_); +lean_dec(v___y_21356_); +lean_dec_ref(v___y_21355_); +v_a_21413_ = lean_ctor_get(v___x_21377_, 0); +v_isSharedCheck_21420_ = !lean_is_exclusive(v___x_21377_); +if (v_isSharedCheck_21420_ == 0) { -size_t v___x_21430_; size_t v___x_21431_; -v___x_21430_ = ((size_t)1ULL); -v___x_21431_ = lean_usize_add(v_i_21419_, v___x_21430_); -v_i_21419_ = v___x_21431_; -v_b_21420_ = v_a_21429_; +v___x_21415_ = v___x_21377_; +v_isShared_21416_ = v_isSharedCheck_21420_; +goto v_resetjp_21414_; +} +else +{ +lean_inc(v_a_21413_); +lean_dec(v___x_21377_); +v___x_21415_ = lean_box(0); +v_isShared_21416_ = v_isSharedCheck_21420_; +goto v_resetjp_21414_; +} +v_resetjp_21414_: +{ +lean_object* v___x_21418_; +if (v_isShared_21416_ == 0) +{ +v___x_21418_ = v___x_21415_; +goto v_reusejp_21417_; +} +else +{ +lean_object* v_reuseFailAlloc_21419_; +v_reuseFailAlloc_21419_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21419_, 0, v_a_21413_); +v___x_21418_ = v_reuseFailAlloc_21419_; +goto v_reusejp_21417_; +} +v_reusejp_21417_: +{ +return v___x_21418_; +} +} +} +} +} +v___jp_21360_: +{ +size_t v___x_21362_; size_t v___x_21363_; +v___x_21362_ = ((size_t)1ULL); +v___x_21363_ = lean_usize_add(v_i_21351_, v___x_21362_); +v_i_21351_ = v___x_21363_; +v_b_21352_ = v_a_21361_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___boxed(lean_object* v_as_21460_, lean_object* v_sz_21461_, lean_object* v_i_21462_, lean_object* v_b_21463_, lean_object* v___y_21464_, lean_object* v___y_21465_, lean_object* v___y_21466_, lean_object* v___y_21467_, lean_object* v___y_21468_, lean_object* v___y_21469_, lean_object* v___y_21470_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7___boxed(lean_object* v_as_21421_, lean_object* v_sz_21422_, lean_object* v_i_21423_, lean_object* v_b_21424_, lean_object* v___y_21425_, lean_object* v___y_21426_, lean_object* v___y_21427_, lean_object* v___y_21428_, lean_object* v___y_21429_, lean_object* v___y_21430_, lean_object* v___y_21431_){ _start: { -size_t v_sz_boxed_21471_; size_t v_i_boxed_21472_; lean_object* v_res_21473_; -v_sz_boxed_21471_ = lean_unbox_usize(v_sz_21461_); -lean_dec(v_sz_21461_); -v_i_boxed_21472_ = lean_unbox_usize(v_i_21462_); -lean_dec(v_i_21462_); -v_res_21473_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(v_as_21460_, v_sz_boxed_21471_, v_i_boxed_21472_, v_b_21463_, v___y_21464_, v___y_21465_, v___y_21466_, v___y_21467_, v___y_21468_, v___y_21469_); -lean_dec(v___y_21465_); -lean_dec_ref(v___y_21464_); -lean_dec_ref(v_as_21460_); -return v_res_21473_; +size_t v_sz_boxed_21432_; size_t v_i_boxed_21433_; lean_object* v_res_21434_; +v_sz_boxed_21432_ = lean_unbox_usize(v_sz_21422_); +lean_dec(v_sz_21422_); +v_i_boxed_21433_ = lean_unbox_usize(v_i_21423_); +lean_dec(v_i_21423_); +v_res_21434_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(v_as_21421_, v_sz_boxed_21432_, v_i_boxed_21433_, v_b_21424_, v___y_21425_, v___y_21426_, v___y_21427_, v___y_21428_, v___y_21429_, v___y_21430_); +lean_dec(v___y_21426_); +lean_dec_ref(v___y_21425_); +lean_dec_ref(v_as_21421_); +return v_res_21434_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(lean_object* v_stx_21474_, lean_object* v___y_21475_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0(lean_object* v_x_21439_){ _start: { -uint8_t v___x_21477_; lean_object* v___x_21478_; -v___x_21477_ = 0; -v___x_21478_ = l_Lean_Syntax_getRange_x3f(v_stx_21474_, v___x_21477_); -if (lean_obj_tag(v___x_21478_) == 1) +lean_object* v_name_21440_; +v_name_21440_ = lean_ctor_get(v_x_21439_, 0); +if (lean_obj_tag(v_name_21440_) == 1) { -lean_object* v_val_21479_; lean_object* v___x_21481_; uint8_t v_isShared_21482_; uint8_t v_isSharedCheck_21491_; -v_val_21479_ = lean_ctor_get(v___x_21478_, 0); -v_isSharedCheck_21491_ = !lean_is_exclusive(v___x_21478_); -if (v_isSharedCheck_21491_ == 0) +lean_object* v_pre_21441_; +v_pre_21441_ = lean_ctor_get(v_name_21440_, 0); +if (lean_obj_tag(v_pre_21441_) == 0) { -v___x_21481_ = v___x_21478_; -v_isShared_21482_ = v_isSharedCheck_21491_; -goto v_resetjp_21480_; +lean_object* v_str_21442_; lean_object* v___x_21443_; uint8_t v___x_21444_; +v_str_21442_ = lean_ctor_get(v_name_21440_, 1); +v___x_21443_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__0)); +v___x_21444_ = lean_string_dec_eq(v_str_21442_, v___x_21443_); +if (v___x_21444_ == 0) +{ +lean_object* v___x_21445_; uint8_t v___x_21446_; +v___x_21445_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__1)); +v___x_21446_ = lean_string_dec_eq(v_str_21442_, v___x_21445_); +if (v___x_21446_ == 0) +{ +lean_object* v___x_21447_; uint8_t v___x_21448_; +v___x_21447_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__2)); +v___x_21448_ = lean_string_dec_eq(v_str_21442_, v___x_21447_); +if (v___x_21448_ == 0) +{ +lean_object* v___x_21449_; uint8_t v___x_21450_; +v___x_21449_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___closed__3)); +v___x_21450_ = lean_string_dec_eq(v_str_21442_, v___x_21449_); +return v___x_21450_; } else { -lean_inc(v_val_21479_); -lean_dec(v___x_21478_); +return v___x_21448_; +} +} +else +{ +return v___x_21446_; +} +} +else +{ +return v___x_21444_; +} +} +else +{ +uint8_t v___x_21451_; +v___x_21451_ = 0; +return v___x_21451_; +} +} +else +{ +uint8_t v___x_21452_; +v___x_21452_ = 0; +return v___x_21452_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0___boxed(lean_object* v_x_21453_){ +_start: +{ +uint8_t v_res_21454_; lean_object* v_r_21455_; +v_res_21454_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___lam__0(v_x_21453_); +lean_dec_ref(v_x_21453_); +v_r_21455_ = lean_box(v_res_21454_); +return v_r_21455_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(lean_object* v_as_21457_, size_t v_sz_21458_, size_t v_i_21459_, lean_object* v_b_21460_, lean_object* v___y_21461_, lean_object* v___y_21462_, lean_object* v___y_21463_, lean_object* v___y_21464_, lean_object* v___y_21465_, lean_object* v___y_21466_){ +_start: +{ +lean_object* v_a_21469_; uint8_t v___x_21473_; +v___x_21473_ = lean_usize_dec_lt(v_i_21459_, v_sz_21458_); +if (v___x_21473_ == 0) +{ +lean_object* v___x_21474_; +lean_dec(v___y_21466_); +lean_dec_ref(v___y_21465_); +lean_dec(v___y_21464_); +lean_dec_ref(v___y_21463_); +v___x_21474_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21474_, 0, v_b_21460_); +return v___x_21474_; +} +else +{ +lean_object* v_a_21475_; lean_object* v_toDefView_21476_; lean_object* v_toDefViewElabHeaderData_21477_; uint8_t v_kind_21478_; lean_object* v_modifiers_21479_; lean_object* v___f_21480_; lean_object* v___x_21481_; uint8_t v___x_21482_; +v_a_21475_ = lean_array_uget_borrowed(v_as_21457_, v_i_21459_); +v_toDefView_21476_ = lean_ctor_get(v_a_21475_, 0); +v_toDefViewElabHeaderData_21477_ = lean_ctor_get(v_a_21475_, 1); +v_kind_21478_ = lean_ctor_get_uint8(v_toDefView_21476_, sizeof(void*)*10); +v_modifiers_21479_ = lean_ctor_get(v_toDefView_21476_, 2); +v___f_21480_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___closed__0)); v___x_21481_ = lean_box(0); -v_isShared_21482_ = v_isSharedCheck_21491_; -goto v_resetjp_21480_; -} -v_resetjp_21480_: +v___x_21482_ = l_Lean_Elab_Modifiers_anyAttr(v_modifiers_21479_, v___f_21480_); +if (v___x_21482_ == 0) { -lean_object* v_fileMap_21483_; lean_object* v_start_21484_; lean_object* v_stop_21485_; lean_object* v___x_21486_; lean_object* v___x_21488_; -v_fileMap_21483_ = lean_ctor_get(v___y_21475_, 1); -lean_inc_ref(v_fileMap_21483_); -lean_dec_ref(v___y_21475_); -v_start_21484_ = lean_ctor_get(v_val_21479_, 0); -lean_inc(v_start_21484_); -v_stop_21485_ = lean_ctor_get(v_val_21479_, 1); -lean_inc(v_stop_21485_); -lean_dec(v_val_21479_); -v___x_21486_ = l_Lean_DeclarationRange_ofStringPositions(v_fileMap_21483_, v_start_21484_, v_stop_21485_); -lean_dec(v_stop_21485_); -lean_dec(v_start_21484_); -if (v_isShared_21482_ == 0) +uint8_t v___x_21483_; uint8_t v___x_21484_; +v___x_21483_ = 1; +v___x_21484_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_21478_, v___x_21483_); +if (v___x_21484_ == 0) { -lean_ctor_set(v___x_21481_, 0, v___x_21486_); -v___x_21488_ = v___x_21481_; -goto v_reusejp_21487_; +v_a_21469_ = v___x_21481_; +goto v___jp_21468_; } else { -lean_object* v_reuseFailAlloc_21490_; -v_reuseFailAlloc_21490_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21490_, 0, v___x_21486_); -v___x_21488_ = v_reuseFailAlloc_21490_; -goto v_reusejp_21487_; -} -v_reusejp_21487_: +lean_object* v_declName_21485_; lean_object* v_type_21486_; lean_object* v___x_21487_; +v_declName_21485_ = lean_ctor_get(v_toDefViewElabHeaderData_21477_, 1); +v_type_21486_ = lean_ctor_get(v_toDefViewElabHeaderData_21477_, 5); +lean_inc(v___y_21466_); +lean_inc_ref(v___y_21465_); +lean_inc(v___y_21464_); +lean_inc_ref(v___y_21463_); +lean_inc_ref(v_type_21486_); +v___x_21487_ = l_Lean_Meta_isProp(v_type_21486_, v___y_21463_, v___y_21464_, v___y_21465_, v___y_21466_); +if (lean_obj_tag(v___x_21487_) == 0) { -lean_object* v___x_21489_; -v___x_21489_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21489_, 0, v___x_21488_); -return v___x_21489_; +lean_object* v_a_21488_; uint8_t v___x_21489_; +v_a_21488_ = lean_ctor_get(v___x_21487_, 0); +lean_inc(v_a_21488_); +lean_dec_ref(v___x_21487_); +v___x_21489_ = lean_unbox(v_a_21488_); +lean_dec(v_a_21488_); +if (v___x_21489_ == 0) +{ +if (v___x_21484_ == 0) +{ +v_a_21469_ = v___x_21481_; +goto v___jp_21468_; +} +else +{ +uint8_t v___x_21490_; lean_object* v___x_21491_; +v___x_21490_ = 3; +lean_inc(v_declName_21485_); +v___x_21491_ = l_Lean_setReducibilityStatus___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__4___redArg(v_declName_21485_, v___x_21490_, v___y_21464_, v___y_21466_); +if (lean_obj_tag(v___x_21491_) == 0) +{ +lean_dec_ref(v___x_21491_); +v_a_21469_ = v___x_21481_; +goto v___jp_21468_; +} +else +{ +lean_dec(v___y_21466_); +lean_dec_ref(v___y_21465_); +lean_dec(v___y_21464_); +lean_dec_ref(v___y_21463_); +return v___x_21491_; } } } else { -lean_object* v___x_21492_; lean_object* v___x_21493_; -lean_dec(v___x_21478_); -lean_dec_ref(v___y_21475_); -v___x_21492_ = lean_box(0); -v___x_21493_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21493_, 0, v___x_21492_); -return v___x_21493_; +v_a_21469_ = v___x_21481_; +goto v___jp_21468_; +} +} +else +{ +lean_object* v_a_21492_; lean_object* v___x_21494_; uint8_t v_isShared_21495_; uint8_t v_isSharedCheck_21499_; +lean_dec(v___y_21466_); +lean_dec_ref(v___y_21465_); +lean_dec(v___y_21464_); +lean_dec_ref(v___y_21463_); +v_a_21492_ = lean_ctor_get(v___x_21487_, 0); +v_isSharedCheck_21499_ = !lean_is_exclusive(v___x_21487_); +if (v_isSharedCheck_21499_ == 0) +{ +v___x_21494_ = v___x_21487_; +v_isShared_21495_ = v_isSharedCheck_21499_; +goto v_resetjp_21493_; +} +else +{ +lean_inc(v_a_21492_); +lean_dec(v___x_21487_); +v___x_21494_ = lean_box(0); +v_isShared_21495_ = v_isSharedCheck_21499_; +goto v_resetjp_21493_; +} +v_resetjp_21493_: +{ +lean_object* v___x_21497_; +if (v_isShared_21495_ == 0) +{ +v___x_21497_ = v___x_21494_; +goto v_reusejp_21496_; +} +else +{ +lean_object* v_reuseFailAlloc_21498_; +v_reuseFailAlloc_21498_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21498_, 0, v_a_21492_); +v___x_21497_ = v_reuseFailAlloc_21498_; +goto v_reusejp_21496_; +} +v_reusejp_21496_: +{ +return v___x_21497_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg___boxed(lean_object* v_stx_21494_, lean_object* v___y_21495_, lean_object* v___y_21496_){ +} +} +else +{ +v_a_21469_ = v___x_21481_; +goto v___jp_21468_; +} +} +v___jp_21468_: +{ +size_t v___x_21470_; size_t v___x_21471_; +v___x_21470_ = ((size_t)1ULL); +v___x_21471_ = lean_usize_add(v_i_21459_, v___x_21470_); +v_i_21459_ = v___x_21471_; +v_b_21460_ = v_a_21469_; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9___boxed(lean_object* v_as_21500_, lean_object* v_sz_21501_, lean_object* v_i_21502_, lean_object* v_b_21503_, lean_object* v___y_21504_, lean_object* v___y_21505_, lean_object* v___y_21506_, lean_object* v___y_21507_, lean_object* v___y_21508_, lean_object* v___y_21509_, lean_object* v___y_21510_){ _start: { -lean_object* v_res_21497_; -v_res_21497_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_stx_21494_, v___y_21495_); -lean_dec(v_stx_21494_); -return v_res_21497_; +size_t v_sz_boxed_21511_; size_t v_i_boxed_21512_; lean_object* v_res_21513_; +v_sz_boxed_21511_ = lean_unbox_usize(v_sz_21501_); +lean_dec(v_sz_21501_); +v_i_boxed_21512_ = lean_unbox_usize(v_i_21502_); +lean_dec(v_i_21502_); +v_res_21513_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(v_as_21500_, v_sz_boxed_21511_, v_i_boxed_21512_, v_b_21503_, v___y_21504_, v___y_21505_, v___y_21506_, v___y_21507_, v___y_21508_, v___y_21509_); +lean_dec(v___y_21505_); +lean_dec_ref(v___y_21504_); +lean_dec_ref(v_as_21500_); +return v_res_21513_; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(lean_object* v_declName_21498_, lean_object* v_declRanges_21499_, lean_object* v___y_21500_, lean_object* v___y_21501_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(lean_object* v_stx_21514_, lean_object* v___y_21515_){ _start: { -uint8_t v___x_21503_; -v___x_21503_ = l_Lean_Name_isAnonymous(v_declName_21498_); -if (v___x_21503_ == 0) +uint8_t v___x_21517_; lean_object* v___x_21518_; +v___x_21517_ = 0; +v___x_21518_ = l_Lean_Syntax_getRange_x3f(v_stx_21514_, v___x_21517_); +if (lean_obj_tag(v___x_21518_) == 1) { -lean_object* v___x_21504_; lean_object* v_env_21505_; lean_object* v_nextMacroScope_21506_; lean_object* v_ngen_21507_; lean_object* v_auxDeclNGen_21508_; lean_object* v_traceState_21509_; lean_object* v_messages_21510_; lean_object* v_infoState_21511_; lean_object* v_snapshotTasks_21512_; lean_object* v___x_21514_; uint8_t v_isShared_21515_; uint8_t v_isSharedCheck_21540_; -v___x_21504_ = lean_st_ref_take(v___y_21501_); -v_env_21505_ = lean_ctor_get(v___x_21504_, 0); -v_nextMacroScope_21506_ = lean_ctor_get(v___x_21504_, 1); -v_ngen_21507_ = lean_ctor_get(v___x_21504_, 2); -v_auxDeclNGen_21508_ = lean_ctor_get(v___x_21504_, 3); -v_traceState_21509_ = lean_ctor_get(v___x_21504_, 4); -v_messages_21510_ = lean_ctor_get(v___x_21504_, 6); -v_infoState_21511_ = lean_ctor_get(v___x_21504_, 7); -v_snapshotTasks_21512_ = lean_ctor_get(v___x_21504_, 8); -v_isSharedCheck_21540_ = !lean_is_exclusive(v___x_21504_); -if (v_isSharedCheck_21540_ == 0) +lean_object* v_val_21519_; lean_object* v___x_21521_; uint8_t v_isShared_21522_; uint8_t v_isSharedCheck_21531_; +v_val_21519_ = lean_ctor_get(v___x_21518_, 0); +v_isSharedCheck_21531_ = !lean_is_exclusive(v___x_21518_); +if (v_isSharedCheck_21531_ == 0) { -lean_object* v_unused_21541_; -v_unused_21541_ = lean_ctor_get(v___x_21504_, 5); -lean_dec(v_unused_21541_); -v___x_21514_ = v___x_21504_; -v_isShared_21515_ = v_isSharedCheck_21540_; -goto v_resetjp_21513_; +v___x_21521_ = v___x_21518_; +v_isShared_21522_ = v_isSharedCheck_21531_; +goto v_resetjp_21520_; } else { -lean_inc(v_snapshotTasks_21512_); -lean_inc(v_infoState_21511_); -lean_inc(v_messages_21510_); -lean_inc(v_traceState_21509_); -lean_inc(v_auxDeclNGen_21508_); -lean_inc(v_ngen_21507_); -lean_inc(v_nextMacroScope_21506_); -lean_inc(v_env_21505_); -lean_dec(v___x_21504_); -v___x_21514_ = lean_box(0); -v_isShared_21515_ = v_isSharedCheck_21540_; -goto v_resetjp_21513_; +lean_inc(v_val_21519_); +lean_dec(v___x_21518_); +v___x_21521_ = lean_box(0); +v_isShared_21522_ = v_isSharedCheck_21531_; +goto v_resetjp_21520_; } -v_resetjp_21513_: +v_resetjp_21520_: { -lean_object* v___x_21516_; lean_object* v___x_21517_; lean_object* v___x_21518_; lean_object* v___x_21520_; -v___x_21516_ = l_Lean_declRangeExt; -v___x_21517_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_21516_, v_env_21505_, v_declName_21498_, v_declRanges_21499_); -v___x_21518_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_21515_ == 0) +lean_object* v_fileMap_21523_; lean_object* v_start_21524_; lean_object* v_stop_21525_; lean_object* v___x_21526_; lean_object* v___x_21528_; +v_fileMap_21523_ = lean_ctor_get(v___y_21515_, 1); +lean_inc_ref(v_fileMap_21523_); +lean_dec_ref(v___y_21515_); +v_start_21524_ = lean_ctor_get(v_val_21519_, 0); +lean_inc(v_start_21524_); +v_stop_21525_ = lean_ctor_get(v_val_21519_, 1); +lean_inc(v_stop_21525_); +lean_dec(v_val_21519_); +v___x_21526_ = l_Lean_DeclarationRange_ofStringPositions(v_fileMap_21523_, v_start_21524_, v_stop_21525_); +lean_dec(v_stop_21525_); +lean_dec(v_start_21524_); +if (v_isShared_21522_ == 0) { -lean_ctor_set(v___x_21514_, 5, v___x_21518_); -lean_ctor_set(v___x_21514_, 0, v___x_21517_); -v___x_21520_ = v___x_21514_; -goto v_reusejp_21519_; +lean_ctor_set(v___x_21521_, 0, v___x_21526_); +v___x_21528_ = v___x_21521_; +goto v_reusejp_21527_; } else { -lean_object* v_reuseFailAlloc_21539_; -v_reuseFailAlloc_21539_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_21539_, 0, v___x_21517_); -lean_ctor_set(v_reuseFailAlloc_21539_, 1, v_nextMacroScope_21506_); -lean_ctor_set(v_reuseFailAlloc_21539_, 2, v_ngen_21507_); -lean_ctor_set(v_reuseFailAlloc_21539_, 3, v_auxDeclNGen_21508_); -lean_ctor_set(v_reuseFailAlloc_21539_, 4, v_traceState_21509_); -lean_ctor_set(v_reuseFailAlloc_21539_, 5, v___x_21518_); -lean_ctor_set(v_reuseFailAlloc_21539_, 6, v_messages_21510_); -lean_ctor_set(v_reuseFailAlloc_21539_, 7, v_infoState_21511_); -lean_ctor_set(v_reuseFailAlloc_21539_, 8, v_snapshotTasks_21512_); -v___x_21520_ = v_reuseFailAlloc_21539_; -goto v_reusejp_21519_; +lean_object* v_reuseFailAlloc_21530_; +v_reuseFailAlloc_21530_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21530_, 0, v___x_21526_); +v___x_21528_ = v_reuseFailAlloc_21530_; +goto v_reusejp_21527_; } -v_reusejp_21519_: +v_reusejp_21527_: { -lean_object* v___x_21521_; lean_object* v___x_21522_; lean_object* v_mctx_21523_; lean_object* v_zetaDeltaFVarIds_21524_; lean_object* v_postponed_21525_; lean_object* v_diag_21526_; lean_object* v___x_21528_; uint8_t v_isShared_21529_; uint8_t v_isSharedCheck_21537_; -v___x_21521_ = lean_st_ref_set(v___y_21501_, v___x_21520_); -v___x_21522_ = lean_st_ref_take(v___y_21500_); -v_mctx_21523_ = lean_ctor_get(v___x_21522_, 0); -v_zetaDeltaFVarIds_21524_ = lean_ctor_get(v___x_21522_, 2); -v_postponed_21525_ = lean_ctor_get(v___x_21522_, 3); -v_diag_21526_ = lean_ctor_get(v___x_21522_, 4); -v_isSharedCheck_21537_ = !lean_is_exclusive(v___x_21522_); -if (v_isSharedCheck_21537_ == 0) -{ -lean_object* v_unused_21538_; -v_unused_21538_ = lean_ctor_get(v___x_21522_, 1); -lean_dec(v_unused_21538_); -v___x_21528_ = v___x_21522_; -v_isShared_21529_ = v_isSharedCheck_21537_; -goto v_resetjp_21527_; -} -else -{ -lean_inc(v_diag_21526_); -lean_inc(v_postponed_21525_); -lean_inc(v_zetaDeltaFVarIds_21524_); -lean_inc(v_mctx_21523_); -lean_dec(v___x_21522_); -v___x_21528_ = lean_box(0); -v_isShared_21529_ = v_isSharedCheck_21537_; -goto v_resetjp_21527_; -} -v_resetjp_21527_: -{ -lean_object* v___x_21530_; lean_object* v___x_21532_; -v___x_21530_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); -if (v_isShared_21529_ == 0) -{ -lean_ctor_set(v___x_21528_, 1, v___x_21530_); -v___x_21532_ = v___x_21528_; -goto v_reusejp_21531_; -} -else -{ -lean_object* v_reuseFailAlloc_21536_; -v_reuseFailAlloc_21536_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_21536_, 0, v_mctx_21523_); -lean_ctor_set(v_reuseFailAlloc_21536_, 1, v___x_21530_); -lean_ctor_set(v_reuseFailAlloc_21536_, 2, v_zetaDeltaFVarIds_21524_); -lean_ctor_set(v_reuseFailAlloc_21536_, 3, v_postponed_21525_); -lean_ctor_set(v_reuseFailAlloc_21536_, 4, v_diag_21526_); -v___x_21532_ = v_reuseFailAlloc_21536_; -goto v_reusejp_21531_; -} -v_reusejp_21531_: -{ -lean_object* v___x_21533_; lean_object* v___x_21534_; lean_object* v___x_21535_; -v___x_21533_ = lean_st_ref_set(v___y_21500_, v___x_21532_); -v___x_21534_ = lean_box(0); -v___x_21535_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21535_, 0, v___x_21534_); -return v___x_21535_; -} -} +lean_object* v___x_21529_; +v___x_21529_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21529_, 0, v___x_21528_); +return v___x_21529_; } } } else { -lean_object* v___x_21542_; lean_object* v___x_21543_; -lean_dec_ref(v_declRanges_21499_); -lean_dec(v_declName_21498_); -v___x_21542_ = lean_box(0); -v___x_21543_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21543_, 0, v___x_21542_); -return v___x_21543_; +lean_object* v___x_21532_; lean_object* v___x_21533_; +lean_dec(v___x_21518_); +lean_dec_ref(v___y_21515_); +v___x_21532_ = lean_box(0); +v___x_21533_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21533_, 0, v___x_21532_); +return v___x_21533_; } } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg___boxed(lean_object* v_declName_21544_, lean_object* v_declRanges_21545_, lean_object* v___y_21546_, lean_object* v___y_21547_, lean_object* v___y_21548_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg___boxed(lean_object* v_stx_21534_, lean_object* v___y_21535_, lean_object* v___y_21536_){ _start: { -lean_object* v_res_21549_; -v_res_21549_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_21544_, v_declRanges_21545_, v___y_21546_, v___y_21547_); -lean_dec(v___y_21547_); -lean_dec(v___y_21546_); -return v_res_21549_; +lean_object* v_res_21537_; +v_res_21537_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_stx_21534_, v___y_21535_); +lean_dec(v_stx_21534_); +return v_res_21537_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(lean_object* v_declName_21550_, lean_object* v_rangeStx_21551_, lean_object* v_selectionRangeStx_21552_, lean_object* v___y_21553_, lean_object* v___y_21554_, lean_object* v___y_21555_, lean_object* v___y_21556_, lean_object* v___y_21557_, lean_object* v___y_21558_){ +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(lean_object* v_declName_21538_, lean_object* v_declRanges_21539_, lean_object* v___y_21540_, lean_object* v___y_21541_){ _start: { -lean_object* v___x_21560_; lean_object* v_a_21561_; lean_object* v___x_21563_; uint8_t v_isShared_21564_; uint8_t v_isSharedCheck_21577_; -lean_inc_ref(v___y_21557_); -v___x_21560_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_rangeStx_21551_, v___y_21557_); -v_a_21561_ = lean_ctor_get(v___x_21560_, 0); -v_isSharedCheck_21577_ = !lean_is_exclusive(v___x_21560_); +uint8_t v___x_21543_; +v___x_21543_ = l_Lean_Name_isAnonymous(v_declName_21538_); +if (v___x_21543_ == 0) +{ +lean_object* v___x_21544_; lean_object* v_env_21545_; lean_object* v_nextMacroScope_21546_; lean_object* v_ngen_21547_; lean_object* v_auxDeclNGen_21548_; lean_object* v_traceState_21549_; lean_object* v_messages_21550_; lean_object* v_infoState_21551_; lean_object* v_snapshotTasks_21552_; lean_object* v___x_21554_; uint8_t v_isShared_21555_; uint8_t v_isSharedCheck_21580_; +v___x_21544_ = lean_st_ref_take(v___y_21541_); +v_env_21545_ = lean_ctor_get(v___x_21544_, 0); +v_nextMacroScope_21546_ = lean_ctor_get(v___x_21544_, 1); +v_ngen_21547_ = lean_ctor_get(v___x_21544_, 2); +v_auxDeclNGen_21548_ = lean_ctor_get(v___x_21544_, 3); +v_traceState_21549_ = lean_ctor_get(v___x_21544_, 4); +v_messages_21550_ = lean_ctor_get(v___x_21544_, 6); +v_infoState_21551_ = lean_ctor_get(v___x_21544_, 7); +v_snapshotTasks_21552_ = lean_ctor_get(v___x_21544_, 8); +v_isSharedCheck_21580_ = !lean_is_exclusive(v___x_21544_); +if (v_isSharedCheck_21580_ == 0) +{ +lean_object* v_unused_21581_; +v_unused_21581_ = lean_ctor_get(v___x_21544_, 5); +lean_dec(v_unused_21581_); +v___x_21554_ = v___x_21544_; +v_isShared_21555_ = v_isSharedCheck_21580_; +goto v_resetjp_21553_; +} +else +{ +lean_inc(v_snapshotTasks_21552_); +lean_inc(v_infoState_21551_); +lean_inc(v_messages_21550_); +lean_inc(v_traceState_21549_); +lean_inc(v_auxDeclNGen_21548_); +lean_inc(v_ngen_21547_); +lean_inc(v_nextMacroScope_21546_); +lean_inc(v_env_21545_); +lean_dec(v___x_21544_); +v___x_21554_ = lean_box(0); +v_isShared_21555_ = v_isSharedCheck_21580_; +goto v_resetjp_21553_; +} +v_resetjp_21553_: +{ +lean_object* v___x_21556_; lean_object* v___x_21557_; lean_object* v___x_21558_; lean_object* v___x_21560_; +v___x_21556_ = l_Lean_declRangeExt; +v___x_21557_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_21556_, v_env_21545_, v_declName_21538_, v_declRanges_21539_); +v___x_21558_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_21555_ == 0) +{ +lean_ctor_set(v___x_21554_, 5, v___x_21558_); +lean_ctor_set(v___x_21554_, 0, v___x_21557_); +v___x_21560_ = v___x_21554_; +goto v_reusejp_21559_; +} +else +{ +lean_object* v_reuseFailAlloc_21579_; +v_reuseFailAlloc_21579_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_21579_, 0, v___x_21557_); +lean_ctor_set(v_reuseFailAlloc_21579_, 1, v_nextMacroScope_21546_); +lean_ctor_set(v_reuseFailAlloc_21579_, 2, v_ngen_21547_); +lean_ctor_set(v_reuseFailAlloc_21579_, 3, v_auxDeclNGen_21548_); +lean_ctor_set(v_reuseFailAlloc_21579_, 4, v_traceState_21549_); +lean_ctor_set(v_reuseFailAlloc_21579_, 5, v___x_21558_); +lean_ctor_set(v_reuseFailAlloc_21579_, 6, v_messages_21550_); +lean_ctor_set(v_reuseFailAlloc_21579_, 7, v_infoState_21551_); +lean_ctor_set(v_reuseFailAlloc_21579_, 8, v_snapshotTasks_21552_); +v___x_21560_ = v_reuseFailAlloc_21579_; +goto v_reusejp_21559_; +} +v_reusejp_21559_: +{ +lean_object* v___x_21561_; lean_object* v___x_21562_; lean_object* v_mctx_21563_; lean_object* v_zetaDeltaFVarIds_21564_; lean_object* v_postponed_21565_; lean_object* v_diag_21566_; lean_object* v___x_21568_; uint8_t v_isShared_21569_; uint8_t v_isSharedCheck_21577_; +v___x_21561_ = lean_st_ref_set(v___y_21541_, v___x_21560_); +v___x_21562_ = lean_st_ref_take(v___y_21540_); +v_mctx_21563_ = lean_ctor_get(v___x_21562_, 0); +v_zetaDeltaFVarIds_21564_ = lean_ctor_get(v___x_21562_, 2); +v_postponed_21565_ = lean_ctor_get(v___x_21562_, 3); +v_diag_21566_ = lean_ctor_get(v___x_21562_, 4); +v_isSharedCheck_21577_ = !lean_is_exclusive(v___x_21562_); if (v_isSharedCheck_21577_ == 0) { -v___x_21563_ = v___x_21560_; -v_isShared_21564_ = v_isSharedCheck_21577_; -goto v_resetjp_21562_; +lean_object* v_unused_21578_; +v_unused_21578_ = lean_ctor_get(v___x_21562_, 1); +lean_dec(v_unused_21578_); +v___x_21568_ = v___x_21562_; +v_isShared_21569_ = v_isSharedCheck_21577_; +goto v_resetjp_21567_; } else { -lean_inc(v_a_21561_); -lean_dec(v___x_21560_); -v___x_21563_ = lean_box(0); -v_isShared_21564_ = v_isSharedCheck_21577_; -goto v_resetjp_21562_; +lean_inc(v_diag_21566_); +lean_inc(v_postponed_21565_); +lean_inc(v_zetaDeltaFVarIds_21564_); +lean_inc(v_mctx_21563_); +lean_dec(v___x_21562_); +v___x_21568_ = lean_box(0); +v_isShared_21569_ = v_isSharedCheck_21577_; +goto v_resetjp_21567_; } -v_resetjp_21562_: +v_resetjp_21567_: { -if (lean_obj_tag(v_a_21561_) == 1) +lean_object* v___x_21570_; lean_object* v___x_21572_; +v___x_21570_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_21569_ == 0) { -lean_object* v_val_21565_; lean_object* v___x_21566_; lean_object* v_a_21567_; lean_object* v_a_21569_; -lean_del_object(v___x_21563_); -v_val_21565_ = lean_ctor_get(v_a_21561_, 0); -lean_inc(v_val_21565_); -lean_dec_ref(v_a_21561_); -v___x_21566_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_selectionRangeStx_21552_, v___y_21557_); -v_a_21567_ = lean_ctor_get(v___x_21566_, 0); -lean_inc(v_a_21567_); -lean_dec_ref(v___x_21566_); -if (lean_obj_tag(v_a_21567_) == 0) -{ -lean_inc(v_val_21565_); -v_a_21569_ = v_val_21565_; -goto v___jp_21568_; -} -else -{ -lean_object* v_val_21572_; -v_val_21572_ = lean_ctor_get(v_a_21567_, 0); -lean_inc(v_val_21572_); -lean_dec_ref(v_a_21567_); -v_a_21569_ = v_val_21572_; -goto v___jp_21568_; -} -v___jp_21568_: -{ -lean_object* v___x_21570_; lean_object* v___x_21571_; -v___x_21570_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_21570_, 0, v_val_21565_); -lean_ctor_set(v___x_21570_, 1, v_a_21569_); -v___x_21571_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_21550_, v___x_21570_, v___y_21556_, v___y_21558_); -return v___x_21571_; -} -} -else -{ -lean_object* v___x_21573_; lean_object* v___x_21575_; -lean_dec(v_a_21561_); -lean_dec_ref(v___y_21557_); -lean_dec(v_declName_21550_); -v___x_21573_ = lean_box(0); -if (v_isShared_21564_ == 0) -{ -lean_ctor_set(v___x_21563_, 0, v___x_21573_); -v___x_21575_ = v___x_21563_; -goto v_reusejp_21574_; +lean_ctor_set(v___x_21568_, 1, v___x_21570_); +v___x_21572_ = v___x_21568_; +goto v_reusejp_21571_; } else { lean_object* v_reuseFailAlloc_21576_; -v_reuseFailAlloc_21576_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21576_, 0, v___x_21573_); -v___x_21575_ = v_reuseFailAlloc_21576_; -goto v_reusejp_21574_; +v_reuseFailAlloc_21576_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_21576_, 0, v_mctx_21563_); +lean_ctor_set(v_reuseFailAlloc_21576_, 1, v___x_21570_); +lean_ctor_set(v_reuseFailAlloc_21576_, 2, v_zetaDeltaFVarIds_21564_); +lean_ctor_set(v_reuseFailAlloc_21576_, 3, v_postponed_21565_); +lean_ctor_set(v_reuseFailAlloc_21576_, 4, v_diag_21566_); +v___x_21572_ = v_reuseFailAlloc_21576_; +goto v_reusejp_21571_; } -v_reusejp_21574_: +v_reusejp_21571_: { +lean_object* v___x_21573_; lean_object* v___x_21574_; lean_object* v___x_21575_; +v___x_21573_ = lean_st_ref_set(v___y_21540_, v___x_21572_); +v___x_21574_ = lean_box(0); +v___x_21575_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21575_, 0, v___x_21574_); return v___x_21575_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0___boxed(lean_object* v_declName_21578_, lean_object* v_rangeStx_21579_, lean_object* v_selectionRangeStx_21580_, lean_object* v___y_21581_, lean_object* v___y_21582_, lean_object* v___y_21583_, lean_object* v___y_21584_, lean_object* v___y_21585_, lean_object* v___y_21586_, lean_object* v___y_21587_){ +else +{ +lean_object* v___x_21582_; lean_object* v___x_21583_; +lean_dec_ref(v_declRanges_21539_); +lean_dec(v_declName_21538_); +v___x_21582_ = lean_box(0); +v___x_21583_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21583_, 0, v___x_21582_); +return v___x_21583_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg___boxed(lean_object* v_declName_21584_, lean_object* v_declRanges_21585_, lean_object* v___y_21586_, lean_object* v___y_21587_, lean_object* v___y_21588_){ _start: { -lean_object* v_res_21588_; -v_res_21588_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(v_declName_21578_, v_rangeStx_21579_, v_selectionRangeStx_21580_, v___y_21581_, v___y_21582_, v___y_21583_, v___y_21584_, v___y_21585_, v___y_21586_); +lean_object* v_res_21589_; +v_res_21589_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_21584_, v_declRanges_21585_, v___y_21586_, v___y_21587_); +lean_dec(v___y_21587_); lean_dec(v___y_21586_); -lean_dec(v___y_21584_); -lean_dec_ref(v___y_21583_); -lean_dec(v___y_21582_); -lean_dec_ref(v___y_21581_); -lean_dec(v_selectionRangeStx_21580_); -lean_dec(v_rangeStx_21579_); -return v_res_21588_; +return v_res_21589_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(lean_object* v_declName_21594_, lean_object* v_modsStx_21595_, lean_object* v_declStx_21596_, lean_object* v___y_21597_, lean_object* v___y_21598_, lean_object* v___y_21599_, lean_object* v___y_21600_, lean_object* v___y_21601_, lean_object* v___y_21602_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(lean_object* v_declName_21590_, lean_object* v_rangeStx_21591_, lean_object* v_selectionRangeStx_21592_, lean_object* v___y_21593_, lean_object* v___y_21594_, lean_object* v___y_21595_, lean_object* v___y_21596_, lean_object* v___y_21597_, lean_object* v___y_21598_){ _start: { -lean_object* v___x_21604_; lean_object* v___x_21605_; uint8_t v___x_21606_; -lean_inc(v_declStx_21596_); -v___x_21604_ = l_Lean_Syntax_getKind(v_declStx_21596_); -v___x_21605_ = ((lean_object*)(l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0___closed__0)); -v___x_21606_ = lean_name_eq(v___x_21604_, v___x_21605_); -lean_dec(v___x_21604_); -if (v___x_21606_ == 0) +lean_object* v___x_21600_; lean_object* v_a_21601_; lean_object* v___x_21603_; uint8_t v_isShared_21604_; uint8_t v_isSharedCheck_21617_; +lean_inc_ref(v___y_21597_); +v___x_21600_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_rangeStx_21591_, v___y_21597_); +v_a_21601_ = lean_ctor_get(v___x_21600_, 0); +v_isSharedCheck_21617_ = !lean_is_exclusive(v___x_21600_); +if (v_isSharedCheck_21617_ == 0) { -lean_object* v___x_21607_; lean_object* v___x_21608_; lean_object* v___x_21609_; lean_object* v___x_21610_; lean_object* v___x_21611_; lean_object* v___x_21612_; lean_object* v_stx_21613_; lean_object* v___x_21614_; lean_object* v___x_21615_; -v___x_21607_ = lean_unsigned_to_nat(2u); -v___x_21608_ = lean_mk_empty_array_with_capacity(v___x_21607_); -v___x_21609_ = lean_array_push(v___x_21608_, v_modsStx_21595_); -lean_inc(v_declStx_21596_); -v___x_21610_ = lean_array_push(v___x_21609_, v_declStx_21596_); -v___x_21611_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__11)); -v___x_21612_ = lean_box(2); -v_stx_21613_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_stx_21613_, 0, v___x_21612_); -lean_ctor_set(v_stx_21613_, 1, v___x_21611_); -lean_ctor_set(v_stx_21613_, 2, v___x_21610_); -v___x_21614_ = l_Lean_Elab_getDeclarationSelectionRef(v_declStx_21596_); -v___x_21615_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(v_declName_21594_, v_stx_21613_, v___x_21614_, v___y_21597_, v___y_21598_, v___y_21599_, v___y_21600_, v___y_21601_, v___y_21602_); -lean_dec(v___x_21614_); -lean_dec_ref(v_stx_21613_); -return v___x_21615_; +v___x_21603_ = v___x_21600_; +v_isShared_21604_ = v_isSharedCheck_21617_; +goto v_resetjp_21602_; } else { -lean_object* v___x_21616_; lean_object* v___x_21617_; -lean_dec_ref(v___y_21601_); -lean_dec(v_declStx_21596_); -lean_dec(v_modsStx_21595_); -lean_dec(v_declName_21594_); -v___x_21616_ = lean_box(0); -v___x_21617_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21617_, 0, v___x_21616_); -return v___x_21617_; +lean_inc(v_a_21601_); +lean_dec(v___x_21600_); +v___x_21603_ = lean_box(0); +v_isShared_21604_ = v_isSharedCheck_21617_; +goto v_resetjp_21602_; +} +v_resetjp_21602_: +{ +if (lean_obj_tag(v_a_21601_) == 1) +{ +lean_object* v_val_21605_; lean_object* v___x_21606_; lean_object* v_a_21607_; lean_object* v_a_21609_; +lean_del_object(v___x_21603_); +v_val_21605_ = lean_ctor_get(v_a_21601_, 0); +lean_inc(v_val_21605_); +lean_dec_ref(v_a_21601_); +v___x_21606_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_selectionRangeStx_21592_, v___y_21597_); +v_a_21607_ = lean_ctor_get(v___x_21606_, 0); +lean_inc(v_a_21607_); +lean_dec_ref(v___x_21606_); +if (lean_obj_tag(v_a_21607_) == 0) +{ +lean_inc(v_val_21605_); +v_a_21609_ = v_val_21605_; +goto v___jp_21608_; +} +else +{ +lean_object* v_val_21612_; +v_val_21612_ = lean_ctor_get(v_a_21607_, 0); +lean_inc(v_val_21612_); +lean_dec_ref(v_a_21607_); +v_a_21609_ = v_val_21612_; +goto v___jp_21608_; +} +v___jp_21608_: +{ +lean_object* v___x_21610_; lean_object* v___x_21611_; +v___x_21610_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_21610_, 0, v_val_21605_); +lean_ctor_set(v___x_21610_, 1, v_a_21609_); +v___x_21611_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_21590_, v___x_21610_, v___y_21596_, v___y_21598_); +return v___x_21611_; +} +} +else +{ +lean_object* v___x_21613_; lean_object* v___x_21615_; +lean_dec(v_a_21601_); +lean_dec_ref(v___y_21597_); +lean_dec(v_declName_21590_); +v___x_21613_ = lean_box(0); +if (v_isShared_21604_ == 0) +{ +lean_ctor_set(v___x_21603_, 0, v___x_21613_); +v___x_21615_ = v___x_21603_; +goto v_reusejp_21614_; +} +else +{ +lean_object* v_reuseFailAlloc_21616_; +v_reuseFailAlloc_21616_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21616_, 0, v___x_21613_); +v___x_21615_ = v_reuseFailAlloc_21616_; +goto v_reusejp_21614_; +} +v_reusejp_21614_: +{ +return v___x_21615_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0___boxed(lean_object* v_declName_21618_, lean_object* v_modsStx_21619_, lean_object* v_declStx_21620_, lean_object* v___y_21621_, lean_object* v___y_21622_, lean_object* v___y_21623_, lean_object* v___y_21624_, lean_object* v___y_21625_, lean_object* v___y_21626_, lean_object* v___y_21627_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0___boxed(lean_object* v_declName_21618_, lean_object* v_rangeStx_21619_, lean_object* v_selectionRangeStx_21620_, lean_object* v___y_21621_, lean_object* v___y_21622_, lean_object* v___y_21623_, lean_object* v___y_21624_, lean_object* v___y_21625_, lean_object* v___y_21626_, lean_object* v___y_21627_){ _start: { lean_object* v_res_21628_; -v_res_21628_ = l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(v_declName_21618_, v_modsStx_21619_, v_declStx_21620_, v___y_21621_, v___y_21622_, v___y_21623_, v___y_21624_, v___y_21625_, v___y_21626_); +v_res_21628_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(v_declName_21618_, v_rangeStx_21619_, v_selectionRangeStx_21620_, v___y_21621_, v___y_21622_, v___y_21623_, v___y_21624_, v___y_21625_, v___y_21626_); lean_dec(v___y_21626_); lean_dec(v___y_21624_); lean_dec_ref(v___y_21623_); lean_dec(v___y_21622_); lean_dec_ref(v___y_21621_); +lean_dec(v_selectionRangeStx_21620_); +lean_dec(v_rangeStx_21619_); return v_res_21628_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(lean_object* v_as_21629_, size_t v_sz_21630_, size_t v_i_21631_, lean_object* v_b_21632_, lean_object* v___y_21633_, lean_object* v___y_21634_, lean_object* v___y_21635_, lean_object* v___y_21636_, lean_object* v___y_21637_, lean_object* v___y_21638_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(lean_object* v_declName_21634_, lean_object* v_modsStx_21635_, lean_object* v_declStx_21636_, lean_object* v___y_21637_, lean_object* v___y_21638_, lean_object* v___y_21639_, lean_object* v___y_21640_, lean_object* v___y_21641_, lean_object* v___y_21642_){ _start: { -uint8_t v___x_21640_; -v___x_21640_ = lean_usize_dec_lt(v_i_21631_, v_sz_21630_); -if (v___x_21640_ == 0) +lean_object* v___x_21644_; lean_object* v___x_21645_; uint8_t v___x_21646_; +lean_inc(v_declStx_21636_); +v___x_21644_ = l_Lean_Syntax_getKind(v_declStx_21636_); +v___x_21645_ = ((lean_object*)(l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0___closed__0)); +v___x_21646_ = lean_name_eq(v___x_21644_, v___x_21645_); +lean_dec(v___x_21644_); +if (v___x_21646_ == 0) { -lean_object* v___x_21641_; -lean_dec_ref(v___y_21637_); -v___x_21641_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21641_, 0, v_b_21632_); -return v___x_21641_; +lean_object* v___x_21647_; lean_object* v___x_21648_; lean_object* v___x_21649_; lean_object* v___x_21650_; lean_object* v___x_21651_; lean_object* v___x_21652_; lean_object* v_stx_21653_; lean_object* v___x_21654_; lean_object* v___x_21655_; +v___x_21647_ = lean_unsigned_to_nat(2u); +v___x_21648_ = lean_mk_empty_array_with_capacity(v___x_21647_); +v___x_21649_ = lean_array_push(v___x_21648_, v_modsStx_21635_); +lean_inc(v_declStx_21636_); +v___x_21650_ = lean_array_push(v___x_21649_, v_declStx_21636_); +v___x_21651_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__11)); +v___x_21652_ = lean_box(2); +v_stx_21653_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_stx_21653_, 0, v___x_21652_); +lean_ctor_set(v_stx_21653_, 1, v___x_21651_); +lean_ctor_set(v_stx_21653_, 2, v___x_21650_); +v___x_21654_ = l_Lean_Elab_getDeclarationSelectionRef(v_declStx_21636_); +v___x_21655_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0(v_declName_21634_, v_stx_21653_, v___x_21654_, v___y_21637_, v___y_21638_, v___y_21639_, v___y_21640_, v___y_21641_, v___y_21642_); +lean_dec(v___x_21654_); +lean_dec_ref(v_stx_21653_); +return v___x_21655_; } else { -lean_object* v_array_21642_; lean_object* v_start_21643_; lean_object* v_stop_21644_; uint8_t v___x_21645_; -v_array_21642_ = lean_ctor_get(v_b_21632_, 0); -v_start_21643_ = lean_ctor_get(v_b_21632_, 1); -v_stop_21644_ = lean_ctor_get(v_b_21632_, 2); -v___x_21645_ = lean_nat_dec_lt(v_start_21643_, v_stop_21644_); -if (v___x_21645_ == 0) +lean_object* v___x_21656_; lean_object* v___x_21657_; +lean_dec_ref(v___y_21641_); +lean_dec(v_declStx_21636_); +lean_dec(v_modsStx_21635_); +lean_dec(v_declName_21634_); +v___x_21656_ = lean_box(0); +v___x_21657_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21657_, 0, v___x_21656_); +return v___x_21657_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0___boxed(lean_object* v_declName_21658_, lean_object* v_modsStx_21659_, lean_object* v_declStx_21660_, lean_object* v___y_21661_, lean_object* v___y_21662_, lean_object* v___y_21663_, lean_object* v___y_21664_, lean_object* v___y_21665_, lean_object* v___y_21666_, lean_object* v___y_21667_){ +_start: { -lean_object* v___x_21646_; -lean_dec_ref(v___y_21637_); -v___x_21646_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21646_, 0, v_b_21632_); -return v___x_21646_; +lean_object* v_res_21668_; +v_res_21668_ = l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(v_declName_21658_, v_modsStx_21659_, v_declStx_21660_, v___y_21661_, v___y_21662_, v___y_21663_, v___y_21664_, v___y_21665_, v___y_21666_); +lean_dec(v___y_21666_); +lean_dec(v___y_21664_); +lean_dec_ref(v___y_21663_); +lean_dec(v___y_21662_); +lean_dec_ref(v___y_21661_); +return v_res_21668_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(lean_object* v_as_21669_, size_t v_sz_21670_, size_t v_i_21671_, lean_object* v_b_21672_, lean_object* v___y_21673_, lean_object* v___y_21674_, lean_object* v___y_21675_, lean_object* v___y_21676_, lean_object* v___y_21677_, lean_object* v___y_21678_){ +_start: +{ +uint8_t v___x_21680_; +v___x_21680_ = lean_usize_dec_lt(v_i_21671_, v_sz_21670_); +if (v___x_21680_ == 0) +{ +lean_object* v___x_21681_; +lean_dec_ref(v___y_21677_); +v___x_21681_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21681_, 0, v_b_21672_); +return v___x_21681_; } else { -lean_object* v___x_21648_; uint8_t v_isShared_21649_; uint8_t v_isSharedCheck_21673_; -lean_inc(v_stop_21644_); -lean_inc(v_start_21643_); -lean_inc_ref(v_array_21642_); -v_isSharedCheck_21673_ = !lean_is_exclusive(v_b_21632_); -if (v_isSharedCheck_21673_ == 0) +lean_object* v_array_21682_; lean_object* v_start_21683_; lean_object* v_stop_21684_; uint8_t v___x_21685_; +v_array_21682_ = lean_ctor_get(v_b_21672_, 0); +v_start_21683_ = lean_ctor_get(v_b_21672_, 1); +v_stop_21684_ = lean_ctor_get(v_b_21672_, 2); +v___x_21685_ = lean_nat_dec_lt(v_start_21683_, v_stop_21684_); +if (v___x_21685_ == 0) { -lean_object* v_unused_21674_; lean_object* v_unused_21675_; lean_object* v_unused_21676_; -v_unused_21674_ = lean_ctor_get(v_b_21632_, 2); -lean_dec(v_unused_21674_); -v_unused_21675_ = lean_ctor_get(v_b_21632_, 1); -lean_dec(v_unused_21675_); -v_unused_21676_ = lean_ctor_get(v_b_21632_, 0); -lean_dec(v_unused_21676_); -v___x_21648_ = v_b_21632_; -v_isShared_21649_ = v_isSharedCheck_21673_; -goto v_resetjp_21647_; +lean_object* v___x_21686_; +lean_dec_ref(v___y_21677_); +v___x_21686_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21686_, 0, v_b_21672_); +return v___x_21686_; } else { -lean_dec(v_b_21632_); -v___x_21648_ = lean_box(0); -v_isShared_21649_ = v_isSharedCheck_21673_; -goto v_resetjp_21647_; -} -v_resetjp_21647_: +lean_object* v___x_21688_; uint8_t v_isShared_21689_; uint8_t v_isSharedCheck_21713_; +lean_inc(v_stop_21684_); +lean_inc(v_start_21683_); +lean_inc_ref(v_array_21682_); +v_isSharedCheck_21713_ = !lean_is_exclusive(v_b_21672_); +if (v_isSharedCheck_21713_ == 0) { -lean_object* v___x_21650_; lean_object* v_declName_21651_; lean_object* v_a_21652_; lean_object* v_modifiers_21653_; lean_object* v_ref_21654_; lean_object* v_stx_21655_; lean_object* v___x_21656_; -v___x_21650_ = lean_array_fget_borrowed(v_array_21642_, v_start_21643_); -v_declName_21651_ = lean_ctor_get(v___x_21650_, 1); -v_a_21652_ = lean_array_uget_borrowed(v_as_21629_, v_i_21631_); -v_modifiers_21653_ = lean_ctor_get(v_a_21652_, 2); -v_ref_21654_ = lean_ctor_get(v_a_21652_, 0); -v_stx_21655_ = lean_ctor_get(v_modifiers_21653_, 0); -lean_inc_ref(v___y_21637_); -lean_inc(v_ref_21654_); -lean_inc(v_stx_21655_); -lean_inc(v_declName_21651_); -v___x_21656_ = l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(v_declName_21651_, v_stx_21655_, v_ref_21654_, v___y_21633_, v___y_21634_, v___y_21635_, v___y_21636_, v___y_21637_, v___y_21638_); -if (lean_obj_tag(v___x_21656_) == 0) -{ -lean_object* v___x_21657_; lean_object* v___x_21658_; lean_object* v___x_21660_; -lean_dec_ref(v___x_21656_); -v___x_21657_ = lean_unsigned_to_nat(1u); -v___x_21658_ = lean_nat_add(v_start_21643_, v___x_21657_); -lean_dec(v_start_21643_); -if (v_isShared_21649_ == 0) -{ -lean_ctor_set(v___x_21648_, 1, v___x_21658_); -v___x_21660_ = v___x_21648_; -goto v_reusejp_21659_; +lean_object* v_unused_21714_; lean_object* v_unused_21715_; lean_object* v_unused_21716_; +v_unused_21714_ = lean_ctor_get(v_b_21672_, 2); +lean_dec(v_unused_21714_); +v_unused_21715_ = lean_ctor_get(v_b_21672_, 1); +lean_dec(v_unused_21715_); +v_unused_21716_ = lean_ctor_get(v_b_21672_, 0); +lean_dec(v_unused_21716_); +v___x_21688_ = v_b_21672_; +v_isShared_21689_ = v_isSharedCheck_21713_; +goto v_resetjp_21687_; } else { -lean_object* v_reuseFailAlloc_21664_; -v_reuseFailAlloc_21664_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_21664_, 0, v_array_21642_); -lean_ctor_set(v_reuseFailAlloc_21664_, 1, v___x_21658_); -lean_ctor_set(v_reuseFailAlloc_21664_, 2, v_stop_21644_); -v___x_21660_ = v_reuseFailAlloc_21664_; -goto v_reusejp_21659_; +lean_dec(v_b_21672_); +v___x_21688_ = lean_box(0); +v_isShared_21689_ = v_isSharedCheck_21713_; +goto v_resetjp_21687_; } -v_reusejp_21659_: +v_resetjp_21687_: { -size_t v___x_21661_; size_t v___x_21662_; -v___x_21661_ = ((size_t)1ULL); -v___x_21662_ = lean_usize_add(v_i_21631_, v___x_21661_); -v_i_21631_ = v___x_21662_; -v_b_21632_ = v___x_21660_; +lean_object* v___x_21690_; lean_object* v_declName_21691_; lean_object* v_a_21692_; lean_object* v_modifiers_21693_; lean_object* v_ref_21694_; lean_object* v_stx_21695_; lean_object* v___x_21696_; +v___x_21690_ = lean_array_fget_borrowed(v_array_21682_, v_start_21683_); +v_declName_21691_ = lean_ctor_get(v___x_21690_, 1); +v_a_21692_ = lean_array_uget_borrowed(v_as_21669_, v_i_21671_); +v_modifiers_21693_ = lean_ctor_get(v_a_21692_, 2); +v_ref_21694_ = lean_ctor_get(v_a_21692_, 0); +v_stx_21695_ = lean_ctor_get(v_modifiers_21693_, 0); +lean_inc_ref(v___y_21677_); +lean_inc(v_ref_21694_); +lean_inc(v_stx_21695_); +lean_inc(v_declName_21691_); +v___x_21696_ = l_Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0(v_declName_21691_, v_stx_21695_, v_ref_21694_, v___y_21673_, v___y_21674_, v___y_21675_, v___y_21676_, v___y_21677_, v___y_21678_); +if (lean_obj_tag(v___x_21696_) == 0) +{ +lean_object* v___x_21697_; lean_object* v___x_21698_; lean_object* v___x_21700_; +lean_dec_ref(v___x_21696_); +v___x_21697_ = lean_unsigned_to_nat(1u); +v___x_21698_ = lean_nat_add(v_start_21683_, v___x_21697_); +lean_dec(v_start_21683_); +if (v_isShared_21689_ == 0) +{ +lean_ctor_set(v___x_21688_, 1, v___x_21698_); +v___x_21700_ = v___x_21688_; +goto v_reusejp_21699_; +} +else +{ +lean_object* v_reuseFailAlloc_21704_; +v_reuseFailAlloc_21704_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_21704_, 0, v_array_21682_); +lean_ctor_set(v_reuseFailAlloc_21704_, 1, v___x_21698_); +lean_ctor_set(v_reuseFailAlloc_21704_, 2, v_stop_21684_); +v___x_21700_ = v_reuseFailAlloc_21704_; +goto v_reusejp_21699_; +} +v_reusejp_21699_: +{ +size_t v___x_21701_; size_t v___x_21702_; +v___x_21701_ = ((size_t)1ULL); +v___x_21702_ = lean_usize_add(v_i_21671_, v___x_21701_); +v_i_21671_ = v___x_21702_; +v_b_21672_ = v___x_21700_; goto _start; } } else { -lean_object* v_a_21665_; lean_object* v___x_21667_; uint8_t v_isShared_21668_; uint8_t v_isSharedCheck_21672_; -lean_del_object(v___x_21648_); -lean_dec(v_stop_21644_); -lean_dec(v_start_21643_); -lean_dec_ref(v_array_21642_); -lean_dec_ref(v___y_21637_); -v_a_21665_ = lean_ctor_get(v___x_21656_, 0); -v_isSharedCheck_21672_ = !lean_is_exclusive(v___x_21656_); -if (v_isSharedCheck_21672_ == 0) +lean_object* v_a_21705_; lean_object* v___x_21707_; uint8_t v_isShared_21708_; uint8_t v_isSharedCheck_21712_; +lean_del_object(v___x_21688_); +lean_dec(v_stop_21684_); +lean_dec(v_start_21683_); +lean_dec_ref(v_array_21682_); +lean_dec_ref(v___y_21677_); +v_a_21705_ = lean_ctor_get(v___x_21696_, 0); +v_isSharedCheck_21712_ = !lean_is_exclusive(v___x_21696_); +if (v_isSharedCheck_21712_ == 0) { -v___x_21667_ = v___x_21656_; -v_isShared_21668_ = v_isSharedCheck_21672_; -goto v_resetjp_21666_; +v___x_21707_ = v___x_21696_; +v_isShared_21708_ = v_isSharedCheck_21712_; +goto v_resetjp_21706_; } else { -lean_inc(v_a_21665_); -lean_dec(v___x_21656_); -v___x_21667_ = lean_box(0); -v_isShared_21668_ = v_isSharedCheck_21672_; -goto v_resetjp_21666_; +lean_inc(v_a_21705_); +lean_dec(v___x_21696_); +v___x_21707_ = lean_box(0); +v_isShared_21708_ = v_isSharedCheck_21712_; +goto v_resetjp_21706_; } -v_resetjp_21666_: -{ -lean_object* v___x_21670_; -if (v_isShared_21668_ == 0) -{ -v___x_21670_ = v___x_21667_; -goto v_reusejp_21669_; -} -else -{ -lean_object* v_reuseFailAlloc_21671_; -v_reuseFailAlloc_21671_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21671_, 0, v_a_21665_); -v___x_21670_ = v_reuseFailAlloc_21671_; -goto v_reusejp_21669_; -} -v_reusejp_21669_: -{ -return v___x_21670_; -} -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8___boxed(lean_object* v_as_21677_, lean_object* v_sz_21678_, lean_object* v_i_21679_, lean_object* v_b_21680_, lean_object* v___y_21681_, lean_object* v___y_21682_, lean_object* v___y_21683_, lean_object* v___y_21684_, lean_object* v___y_21685_, lean_object* v___y_21686_, lean_object* v___y_21687_){ -_start: -{ -size_t v_sz_boxed_21688_; size_t v_i_boxed_21689_; lean_object* v_res_21690_; -v_sz_boxed_21688_ = lean_unbox_usize(v_sz_21678_); -lean_dec(v_sz_21678_); -v_i_boxed_21689_ = lean_unbox_usize(v_i_21679_); -lean_dec(v_i_21679_); -v_res_21690_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(v_as_21677_, v_sz_boxed_21688_, v_i_boxed_21689_, v_b_21680_, v___y_21681_, v___y_21682_, v___y_21683_, v___y_21684_, v___y_21685_, v___y_21686_); -lean_dec(v___y_21686_); -lean_dec(v___y_21684_); -lean_dec_ref(v___y_21683_); -lean_dec(v___y_21682_); -lean_dec_ref(v___y_21681_); -lean_dec_ref(v_as_21677_); -return v_res_21690_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0(lean_object* v_views_21691_, lean_object* v_a_21692_, lean_object* v_a_21693_, lean_object* v_a_21694_, size_t v___x_21695_, size_t v_sz_21696_, lean_object* v___x_21697_, lean_object* v_vars_21698_, lean_object* v_sc_21699_, lean_object* v___x_21700_, lean_object* v___x_21701_, lean_object* v___x_21702_, lean_object* v___y_21703_, lean_object* v___y_21704_, lean_object* v___y_21705_, lean_object* v___y_21706_, lean_object* v___y_21707_, lean_object* v___y_21708_){ -_start: +v_resetjp_21706_: { lean_object* v___x_21710_; -lean_inc(v___y_21708_); -lean_inc_ref(v___y_21707_); -lean_inc(v___y_21706_); -lean_inc_ref(v___y_21705_); -lean_inc(v___y_21704_); -lean_inc_ref(v___y_21703_); -lean_inc_ref(v_a_21692_); -lean_inc_ref(v_views_21691_); -v___x_21710_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders(v_views_21691_, v_a_21692_, v_a_21693_, v_a_21694_, v___y_21703_, v___y_21704_, v___y_21705_, v___y_21706_, v___y_21707_, v___y_21708_); -if (lean_obj_tag(v___x_21710_) == 0) +if (v_isShared_21708_ == 0) { -lean_object* v_a_21711_; lean_object* v___x_21712_; -v_a_21711_ = lean_ctor_get(v___x_21710_, 0); -lean_inc(v_a_21711_); -lean_dec_ref(v___x_21710_); -lean_inc(v___y_21708_); -lean_inc_ref(v___y_21707_); -lean_inc(v___y_21706_); -lean_inc_ref(v___y_21705_); -lean_inc(v___y_21704_); -lean_inc_ref(v___y_21703_); -v___x_21712_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(v_views_21691_, v_a_21711_, v___y_21703_, v___y_21704_, v___y_21705_, v___y_21706_, v___y_21707_, v___y_21708_); -if (lean_obj_tag(v___x_21712_) == 0) -{ -lean_object* v_a_21713_; lean_object* v___x_21714_; lean_object* v___y_21716_; lean_object* v___y_21717_; lean_object* v___y_21718_; lean_object* v___y_21719_; lean_object* v___y_21720_; lean_object* v___y_21721_; size_t v_sz_21741_; lean_object* v___x_21742_; -v_a_21713_ = lean_ctor_get(v___x_21712_, 0); -lean_inc(v_a_21713_); -lean_dec_ref(v___x_21712_); -v___x_21714_ = lean_box(0); -v_sz_21741_ = lean_array_size(v_a_21713_); -lean_inc(v___y_21708_); -lean_inc_ref(v___y_21707_); -lean_inc(v___y_21706_); -lean_inc_ref(v___y_21705_); -v___x_21742_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(v_a_21713_, v_sz_21741_, v___x_21695_, v___x_21714_, v___y_21703_, v___y_21704_, v___y_21705_, v___y_21706_, v___y_21707_, v___y_21708_); -if (lean_obj_tag(v___x_21742_) == 0) -{ -lean_object* v___y_21744_; lean_object* v___y_21745_; lean_object* v___y_21746_; lean_object* v___y_21747_; lean_object* v___y_21748_; lean_object* v___y_21749_; lean_object* v___x_21753_; lean_object* v___x_21754_; uint8_t v___x_21755_; -lean_dec_ref(v___x_21742_); -v___x_21753_ = lean_array_get_size(v_views_21691_); -v___x_21754_ = lean_unsigned_to_nat(1u); -v___x_21755_ = lean_nat_dec_eq(v___x_21753_, v___x_21754_); -if (v___x_21755_ == 0) -{ -lean_dec_ref(v___x_21702_); -lean_dec_ref(v_a_21692_); -v___y_21744_ = v___y_21703_; -v___y_21745_ = v___y_21704_; -v___y_21746_ = v___y_21705_; -v___y_21747_ = v___y_21706_; -v___y_21748_ = v___y_21707_; -v___y_21749_ = v___y_21708_; -goto v___jp_21743_; +v___x_21710_ = v___x_21707_; +goto v_reusejp_21709_; } else { -uint8_t v___x_21756_; -v___x_21756_ = lean_nat_dec_eq(v___x_21700_, v___x_21754_); -if (v___x_21756_ == 0) +lean_object* v_reuseFailAlloc_21711_; +v_reuseFailAlloc_21711_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21711_, 0, v_a_21705_); +v___x_21710_ = v_reuseFailAlloc_21711_; +goto v_reusejp_21709_; +} +v_reusejp_21709_: { -lean_dec_ref(v___x_21702_); -lean_dec_ref(v_a_21692_); -v___y_21744_ = v___y_21703_; -v___y_21745_ = v___y_21704_; -v___y_21746_ = v___y_21705_; -v___y_21747_ = v___y_21706_; -v___y_21748_ = v___y_21707_; -v___y_21749_ = v___y_21708_; -goto v___jp_21743_; +return v___x_21710_; } -else +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8___boxed(lean_object* v_as_21717_, lean_object* v_sz_21718_, lean_object* v_i_21719_, lean_object* v_b_21720_, lean_object* v___y_21721_, lean_object* v___y_21722_, lean_object* v___y_21723_, lean_object* v___y_21724_, lean_object* v___y_21725_, lean_object* v___y_21726_, lean_object* v___y_21727_){ +_start: { -lean_object* v_options_21757_; lean_object* v___x_21758_; lean_object* v___x_21759_; uint8_t v___y_21761_; lean_object* v___x_21769_; uint8_t v___x_21770_; -v_options_21757_ = lean_ctor_get(v___y_21707_, 2); -v___x_21758_ = lean_array_fget_borrowed(v_views_21691_, v___x_21701_); -v___x_21759_ = lean_array_fget(v_a_21692_, v___x_21701_); -lean_dec_ref(v_a_21692_); -v___x_21769_ = l_Lean_Elab_async; -v___x_21770_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21757_, v___x_21769_); -if (v___x_21770_ == 0) -{ -v___y_21761_ = v___x_21770_; -goto v___jp_21760_; -} -else -{ -uint8_t v_kind_21771_; uint8_t v___x_21772_; -v_kind_21771_ = lean_ctor_get_uint8(v___x_21758_, sizeof(void*)*10); -v___x_21772_ = l_Lean_Elab_DefKind_isTheorem(v_kind_21771_); -v___y_21761_ = v___x_21772_; -goto v___jp_21760_; -} -v___jp_21760_: -{ -if (v___y_21761_ == 0) -{ -lean_dec(v___x_21759_); -lean_dec_ref(v___x_21702_); -goto v___jp_21751_; -} -else -{ -lean_object* v___x_21762_; uint8_t v___x_21763_; -v___x_21762_ = l_Lean_Elab_Term_deprecated_oldSectionVars; -v___x_21763_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21757_, v___x_21762_); -if (v___x_21763_ == 0) -{ -lean_object* v___x_21764_; lean_object* v_toDefViewElabHeaderData_21765_; lean_object* v_type_21766_; uint8_t v___x_21767_; -v___x_21764_ = lean_array_get_borrowed(v___x_21702_, v_a_21713_, v___x_21701_); -v_toDefViewElabHeaderData_21765_ = lean_ctor_get(v___x_21764_, 1); -v_type_21766_ = lean_ctor_get(v_toDefViewElabHeaderData_21765_, 5); -v___x_21767_ = l_Lean_Expr_hasMVar(v_type_21766_); -if (v___x_21767_ == 0) -{ -lean_object* v___x_21768_; -lean_inc(v___y_21708_); -lean_inc_ref(v___y_21707_); -lean_inc(v___y_21706_); -lean_inc_ref(v___y_21705_); -lean_inc(v___y_21704_); -lean_inc_ref(v___y_21703_); -lean_inc(v___x_21758_); -lean_inc(v___x_21764_); -lean_inc_ref(v_views_21691_); -v___x_21768_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(v_vars_21698_, v_sc_21699_, v_views_21691_, v___x_21764_, v___x_21758_, v___x_21759_, v___y_21703_, v___y_21704_, v___y_21705_, v___y_21706_, v___y_21707_, v___y_21708_); -if (lean_obj_tag(v___x_21768_) == 0) -{ -lean_dec_ref(v___x_21768_); -v___y_21716_ = v___y_21703_; -v___y_21717_ = v___y_21704_; -v___y_21718_ = v___y_21705_; -v___y_21719_ = v___y_21706_; -v___y_21720_ = v___y_21707_; -v___y_21721_ = v___y_21708_; -goto v___jp_21715_; -} -else -{ -lean_dec(v_a_21713_); -lean_dec(v___y_21708_); -lean_dec_ref(v___y_21707_); -lean_dec(v___y_21706_); -lean_dec_ref(v___y_21705_); -lean_dec(v___y_21704_); -lean_dec_ref(v___y_21703_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_views_21691_); -return v___x_21768_; +size_t v_sz_boxed_21728_; size_t v_i_boxed_21729_; lean_object* v_res_21730_; +v_sz_boxed_21728_ = lean_unbox_usize(v_sz_21718_); +lean_dec(v_sz_21718_); +v_i_boxed_21729_ = lean_unbox_usize(v_i_21719_); +lean_dec(v_i_21719_); +v_res_21730_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(v_as_21717_, v_sz_boxed_21728_, v_i_boxed_21729_, v_b_21720_, v___y_21721_, v___y_21722_, v___y_21723_, v___y_21724_, v___y_21725_, v___y_21726_); +lean_dec(v___y_21726_); +lean_dec(v___y_21724_); +lean_dec_ref(v___y_21723_); +lean_dec(v___y_21722_); +lean_dec_ref(v___y_21721_); +lean_dec_ref(v_as_21717_); +return v_res_21730_; } } -else -{ -lean_dec(v___x_21759_); -goto v___jp_21751_; -} -} -else -{ -lean_dec(v___x_21759_); -lean_dec_ref(v___x_21702_); -goto v___jp_21751_; -} -} -} -} -} -v___jp_21743_: +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0(lean_object* v_views_21731_, lean_object* v_a_21732_, lean_object* v_a_21733_, lean_object* v_a_21734_, size_t v___x_21735_, size_t v_sz_21736_, lean_object* v___x_21737_, lean_object* v_vars_21738_, lean_object* v_sc_21739_, lean_object* v___x_21740_, lean_object* v___x_21741_, lean_object* v___x_21742_, lean_object* v___y_21743_, lean_object* v___y_21744_, lean_object* v___y_21745_, lean_object* v___y_21746_, lean_object* v___y_21747_, lean_object* v___y_21748_){ +_start: { lean_object* v___x_21750_; -lean_inc(v___y_21749_); -lean_inc_ref(v___y_21748_); -lean_inc(v___y_21747_); -lean_inc_ref(v___y_21746_); -lean_inc(v___y_21745_); -lean_inc_ref(v___y_21744_); -lean_inc(v_a_21713_); -lean_inc_ref(v_views_21691_); -v___x_21750_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_21698_, v_sc_21699_, v_views_21691_, v_a_21713_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_, v___y_21749_); +lean_inc(v___y_21748_); +lean_inc_ref(v___y_21747_); +lean_inc(v___y_21746_); +lean_inc_ref(v___y_21745_); +lean_inc(v___y_21744_); +lean_inc_ref(v___y_21743_); +lean_inc_ref(v_a_21732_); +lean_inc_ref(v_views_21731_); +v___x_21750_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders(v_views_21731_, v_a_21732_, v_a_21733_, v_a_21734_, v___y_21743_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_); if (lean_obj_tag(v___x_21750_) == 0) { +lean_object* v_a_21751_; lean_object* v___x_21752_; +v_a_21751_ = lean_ctor_get(v___x_21750_, 0); +lean_inc(v_a_21751_); lean_dec_ref(v___x_21750_); -v___y_21716_ = v___y_21744_; -v___y_21717_ = v___y_21745_; -v___y_21718_ = v___y_21746_; -v___y_21719_ = v___y_21747_; -v___y_21720_ = v___y_21748_; -v___y_21721_ = v___y_21749_; -goto v___jp_21715_; -} -else -{ -lean_dec(v___y_21749_); -lean_dec_ref(v___y_21748_); -lean_dec(v___y_21747_); -lean_dec_ref(v___y_21746_); -lean_dec(v___y_21745_); -lean_dec_ref(v___y_21744_); -lean_dec(v_a_21713_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_views_21691_); -return v___x_21750_; -} -} -v___jp_21751_: -{ -lean_object* v___x_21752_; -lean_inc(v___y_21708_); -lean_inc_ref(v___y_21707_); -lean_inc(v___y_21706_); -lean_inc_ref(v___y_21705_); -lean_inc(v___y_21704_); -lean_inc_ref(v___y_21703_); -lean_inc(v_a_21713_); -lean_inc_ref(v_views_21691_); -v___x_21752_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_21698_, v_sc_21699_, v_views_21691_, v_a_21713_, v___y_21703_, v___y_21704_, v___y_21705_, v___y_21706_, v___y_21707_, v___y_21708_); +lean_inc(v___y_21748_); +lean_inc_ref(v___y_21747_); +lean_inc(v___y_21746_); +lean_inc_ref(v___y_21745_); +lean_inc(v___y_21744_); +lean_inc_ref(v___y_21743_); +v___x_21752_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_levelMVarToParamHeaders(v_views_21731_, v_a_21751_, v___y_21743_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_); if (lean_obj_tag(v___x_21752_) == 0) { +lean_object* v_a_21753_; lean_object* v___x_21754_; lean_object* v___y_21756_; lean_object* v___y_21757_; lean_object* v___y_21758_; lean_object* v___y_21759_; lean_object* v___y_21760_; lean_object* v___y_21761_; size_t v_sz_21781_; lean_object* v___x_21782_; +v_a_21753_ = lean_ctor_get(v___x_21752_, 0); +lean_inc(v_a_21753_); lean_dec_ref(v___x_21752_); -v___y_21716_ = v___y_21703_; -v___y_21717_ = v___y_21704_; -v___y_21718_ = v___y_21705_; -v___y_21719_ = v___y_21706_; -v___y_21720_ = v___y_21707_; -v___y_21721_ = v___y_21708_; -goto v___jp_21715_; +v___x_21754_ = lean_box(0); +v_sz_21781_ = lean_array_size(v_a_21753_); +lean_inc(v___y_21748_); +lean_inc_ref(v___y_21747_); +lean_inc(v___y_21746_); +lean_inc_ref(v___y_21745_); +v___x_21782_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__9(v_a_21753_, v_sz_21781_, v___x_21735_, v___x_21754_, v___y_21743_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_); +if (lean_obj_tag(v___x_21782_) == 0) +{ +lean_object* v___y_21784_; lean_object* v___y_21785_; lean_object* v___y_21786_; lean_object* v___y_21787_; lean_object* v___y_21788_; lean_object* v___y_21789_; lean_object* v___x_21793_; lean_object* v___x_21794_; uint8_t v___x_21795_; +lean_dec_ref(v___x_21782_); +v___x_21793_ = lean_array_get_size(v_views_21731_); +v___x_21794_ = lean_unsigned_to_nat(1u); +v___x_21795_ = lean_nat_dec_eq(v___x_21793_, v___x_21794_); +if (v___x_21795_ == 0) +{ +lean_dec_ref(v___x_21742_); +lean_dec_ref(v_a_21732_); +v___y_21784_ = v___y_21743_; +v___y_21785_ = v___y_21744_; +v___y_21786_ = v___y_21745_; +v___y_21787_ = v___y_21746_; +v___y_21788_ = v___y_21747_; +v___y_21789_ = v___y_21748_; +goto v___jp_21783_; } else { -lean_dec(v_a_21713_); -lean_dec(v___y_21708_); -lean_dec_ref(v___y_21707_); -lean_dec(v___y_21706_); -lean_dec_ref(v___y_21705_); -lean_dec(v___y_21704_); -lean_dec_ref(v___y_21703_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_views_21691_); -return v___x_21752_; +uint8_t v___x_21796_; +v___x_21796_ = lean_nat_dec_eq(v___x_21740_, v___x_21794_); +if (v___x_21796_ == 0) +{ +lean_dec_ref(v___x_21742_); +lean_dec_ref(v_a_21732_); +v___y_21784_ = v___y_21743_; +v___y_21785_ = v___y_21744_; +v___y_21786_ = v___y_21745_; +v___y_21787_ = v___y_21746_; +v___y_21788_ = v___y_21747_; +v___y_21789_ = v___y_21748_; +goto v___jp_21783_; +} +else +{ +lean_object* v_options_21797_; lean_object* v___x_21798_; lean_object* v___x_21799_; uint8_t v___y_21801_; lean_object* v___x_21809_; uint8_t v___x_21810_; +v_options_21797_ = lean_ctor_get(v___y_21747_, 2); +v___x_21798_ = lean_array_fget_borrowed(v_views_21731_, v___x_21741_); +v___x_21799_ = lean_array_fget(v_a_21732_, v___x_21741_); +lean_dec_ref(v_a_21732_); +v___x_21809_ = l_Lean_Elab_async; +v___x_21810_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21797_, v___x_21809_); +if (v___x_21810_ == 0) +{ +v___y_21801_ = v___x_21810_; +goto v___jp_21800_; +} +else +{ +uint8_t v_kind_21811_; uint8_t v___x_21812_; +v_kind_21811_ = lean_ctor_get_uint8(v___x_21798_, sizeof(void*)*10); +v___x_21812_ = l_Lean_Elab_DefKind_isTheorem(v_kind_21811_); +v___y_21801_ = v___x_21812_; +goto v___jp_21800_; +} +v___jp_21800_: +{ +if (v___y_21801_ == 0) +{ +lean_dec(v___x_21799_); +lean_dec_ref(v___x_21742_); +goto v___jp_21791_; +} +else +{ +lean_object* v___x_21802_; uint8_t v___x_21803_; +v___x_21802_ = l_Lean_Elab_Term_deprecated_oldSectionVars; +v___x_21803_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_21797_, v___x_21802_); +if (v___x_21803_ == 0) +{ +lean_object* v___x_21804_; lean_object* v_toDefViewElabHeaderData_21805_; lean_object* v_type_21806_; uint8_t v___x_21807_; +v___x_21804_ = lean_array_get_borrowed(v___x_21742_, v_a_21753_, v___x_21741_); +v_toDefViewElabHeaderData_21805_ = lean_ctor_get(v___x_21804_, 1); +v_type_21806_ = lean_ctor_get(v_toDefViewElabHeaderData_21805_, 5); +v___x_21807_ = l_Lean_Expr_hasMVar(v_type_21806_); +if (v___x_21807_ == 0) +{ +lean_object* v___x_21808_; +lean_inc(v___y_21748_); +lean_inc_ref(v___y_21747_); +lean_inc(v___y_21746_); +lean_inc_ref(v___y_21745_); +lean_inc(v___y_21744_); +lean_inc_ref(v___y_21743_); +lean_inc(v___x_21798_); +lean_inc(v___x_21804_); +lean_inc_ref(v_views_21731_); +v___x_21808_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync(v_vars_21738_, v_sc_21739_, v_views_21731_, v___x_21804_, v___x_21798_, v___x_21799_, v___y_21743_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_); +if (lean_obj_tag(v___x_21808_) == 0) +{ +lean_dec_ref(v___x_21808_); +v___y_21756_ = v___y_21743_; +v___y_21757_ = v___y_21744_; +v___y_21758_ = v___y_21745_; +v___y_21759_ = v___y_21746_; +v___y_21760_ = v___y_21747_; +v___y_21761_ = v___y_21748_; +goto v___jp_21755_; +} +else +{ +lean_dec(v_a_21753_); +lean_dec(v___y_21748_); +lean_dec_ref(v___y_21747_); +lean_dec(v___y_21746_); +lean_dec_ref(v___y_21745_); +lean_dec(v___y_21744_); +lean_dec_ref(v___y_21743_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_views_21731_); +return v___x_21808_; +} +} +else +{ +lean_dec(v___x_21799_); +goto v___jp_21791_; +} +} +else +{ +lean_dec(v___x_21799_); +lean_dec_ref(v___x_21742_); +goto v___jp_21791_; +} +} +} +} +} +v___jp_21783_: +{ +lean_object* v___x_21790_; +lean_inc(v___y_21789_); +lean_inc_ref(v___y_21788_); +lean_inc(v___y_21787_); +lean_inc_ref(v___y_21786_); +lean_inc(v___y_21785_); +lean_inc_ref(v___y_21784_); +lean_inc(v_a_21753_); +lean_inc_ref(v_views_21731_); +v___x_21790_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_21738_, v_sc_21739_, v_views_21731_, v_a_21753_, v___y_21784_, v___y_21785_, v___y_21786_, v___y_21787_, v___y_21788_, v___y_21789_); +if (lean_obj_tag(v___x_21790_) == 0) +{ +lean_dec_ref(v___x_21790_); +v___y_21756_ = v___y_21784_; +v___y_21757_ = v___y_21785_; +v___y_21758_ = v___y_21786_; +v___y_21759_ = v___y_21787_; +v___y_21760_ = v___y_21788_; +v___y_21761_ = v___y_21789_; +goto v___jp_21755_; +} +else +{ +lean_dec(v___y_21789_); +lean_dec_ref(v___y_21788_); +lean_dec(v___y_21787_); +lean_dec_ref(v___y_21786_); +lean_dec(v___y_21785_); +lean_dec_ref(v___y_21784_); +lean_dec(v_a_21753_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_views_21731_); +return v___x_21790_; +} +} +v___jp_21791_: +{ +lean_object* v___x_21792_; +lean_inc(v___y_21748_); +lean_inc_ref(v___y_21747_); +lean_inc(v___y_21746_); +lean_inc_ref(v___y_21745_); +lean_inc(v___y_21744_); +lean_inc_ref(v___y_21743_); +lean_inc(v_a_21753_); +lean_inc_ref(v_views_21731_); +v___x_21792_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabSync(v_vars_21738_, v_sc_21739_, v_views_21731_, v_a_21753_, v___y_21743_, v___y_21744_, v___y_21745_, v___y_21746_, v___y_21747_, v___y_21748_); +if (lean_obj_tag(v___x_21792_) == 0) +{ +lean_dec_ref(v___x_21792_); +v___y_21756_ = v___y_21743_; +v___y_21757_ = v___y_21744_; +v___y_21758_ = v___y_21745_; +v___y_21759_ = v___y_21746_; +v___y_21760_ = v___y_21747_; +v___y_21761_ = v___y_21748_; +goto v___jp_21755_; +} +else +{ +lean_dec(v_a_21753_); +lean_dec(v___y_21748_); +lean_dec_ref(v___y_21747_); +lean_dec(v___y_21746_); +lean_dec_ref(v___y_21745_); +lean_dec(v___y_21744_); +lean_dec_ref(v___y_21743_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_views_21731_); +return v___x_21792_; } } } else { -lean_dec(v_a_21713_); -lean_dec(v___y_21708_); -lean_dec_ref(v___y_21707_); -lean_dec(v___y_21706_); -lean_dec_ref(v___y_21705_); -lean_dec(v___y_21704_); -lean_dec_ref(v___y_21703_); -lean_dec_ref(v___x_21702_); -lean_dec_ref(v_sc_21699_); -lean_dec_ref(v_vars_21698_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_a_21692_); -lean_dec_ref(v_views_21691_); -return v___x_21742_; +lean_dec(v_a_21753_); +lean_dec(v___y_21748_); +lean_dec_ref(v___y_21747_); +lean_dec(v___y_21746_); +lean_dec_ref(v___y_21745_); +lean_dec(v___y_21744_); +lean_dec_ref(v___y_21743_); +lean_dec_ref(v___x_21742_); +lean_dec_ref(v_sc_21739_); +lean_dec_ref(v_vars_21738_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_a_21732_); +lean_dec_ref(v_views_21731_); +return v___x_21782_; } -v___jp_21715_: +v___jp_21755_: { -size_t v_sz_21722_; lean_object* v___x_21723_; -v_sz_21722_ = lean_array_size(v_a_21713_); -lean_inc(v___y_21721_); -lean_inc_ref(v___y_21720_); -lean_inc(v___y_21719_); -lean_inc_ref(v___y_21718_); -v___x_21723_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(v_a_21713_, v_sz_21722_, v___x_21695_, v___x_21714_, v___y_21716_, v___y_21717_, v___y_21718_, v___y_21719_, v___y_21720_, v___y_21721_); -lean_dec(v_a_21713_); -if (lean_obj_tag(v___x_21723_) == 0) +size_t v_sz_21762_; lean_object* v___x_21763_; +v_sz_21762_ = lean_array_size(v_a_21753_); +lean_inc(v___y_21761_); +lean_inc_ref(v___y_21760_); +lean_inc(v___y_21759_); +lean_inc_ref(v___y_21758_); +v___x_21763_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__7(v_a_21753_, v_sz_21762_, v___x_21735_, v___x_21754_, v___y_21756_, v___y_21757_, v___y_21758_, v___y_21759_, v___y_21760_, v___y_21761_); +lean_dec(v_a_21753_); +if (lean_obj_tag(v___x_21763_) == 0) { -lean_object* v___x_21724_; -lean_dec_ref(v___x_21723_); -v___x_21724_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(v_views_21691_, v_sz_21696_, v___x_21695_, v___x_21697_, v___y_21716_, v___y_21717_, v___y_21718_, v___y_21719_, v___y_21720_, v___y_21721_); -lean_dec(v___y_21721_); -lean_dec(v___y_21719_); -lean_dec_ref(v___y_21718_); -lean_dec(v___y_21717_); -lean_dec_ref(v___y_21716_); -lean_dec_ref(v_views_21691_); -if (lean_obj_tag(v___x_21724_) == 0) +lean_object* v___x_21764_; +lean_dec_ref(v___x_21763_); +v___x_21764_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__8(v_views_21731_, v_sz_21736_, v___x_21735_, v___x_21737_, v___y_21756_, v___y_21757_, v___y_21758_, v___y_21759_, v___y_21760_, v___y_21761_); +lean_dec(v___y_21761_); +lean_dec(v___y_21759_); +lean_dec_ref(v___y_21758_); +lean_dec(v___y_21757_); +lean_dec_ref(v___y_21756_); +lean_dec_ref(v_views_21731_); +if (lean_obj_tag(v___x_21764_) == 0) { -lean_object* v___x_21726_; uint8_t v_isShared_21727_; uint8_t v_isSharedCheck_21731_; -v_isSharedCheck_21731_ = !lean_is_exclusive(v___x_21724_); -if (v_isSharedCheck_21731_ == 0) +lean_object* v___x_21766_; uint8_t v_isShared_21767_; uint8_t v_isSharedCheck_21771_; +v_isSharedCheck_21771_ = !lean_is_exclusive(v___x_21764_); +if (v_isSharedCheck_21771_ == 0) { -lean_object* v_unused_21732_; -v_unused_21732_ = lean_ctor_get(v___x_21724_, 0); -lean_dec(v_unused_21732_); -v___x_21726_ = v___x_21724_; -v_isShared_21727_ = v_isSharedCheck_21731_; -goto v_resetjp_21725_; +lean_object* v_unused_21772_; +v_unused_21772_ = lean_ctor_get(v___x_21764_, 0); +lean_dec(v_unused_21772_); +v___x_21766_ = v___x_21764_; +v_isShared_21767_ = v_isSharedCheck_21771_; +goto v_resetjp_21765_; } else { -lean_dec(v___x_21724_); -v___x_21726_ = lean_box(0); -v_isShared_21727_ = v_isSharedCheck_21731_; -goto v_resetjp_21725_; +lean_dec(v___x_21764_); +v___x_21766_ = lean_box(0); +v_isShared_21767_ = v_isSharedCheck_21771_; +goto v_resetjp_21765_; } -v_resetjp_21725_: +v_resetjp_21765_: { -lean_object* v___x_21729_; -if (v_isShared_21727_ == 0) +lean_object* v___x_21769_; +if (v_isShared_21767_ == 0) { -lean_ctor_set(v___x_21726_, 0, v___x_21714_); -v___x_21729_ = v___x_21726_; -goto v_reusejp_21728_; +lean_ctor_set(v___x_21766_, 0, v___x_21754_); +v___x_21769_ = v___x_21766_; +goto v_reusejp_21768_; } else { -lean_object* v_reuseFailAlloc_21730_; -v_reuseFailAlloc_21730_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21730_, 0, v___x_21714_); -v___x_21729_ = v_reuseFailAlloc_21730_; -goto v_reusejp_21728_; +lean_object* v_reuseFailAlloc_21770_; +v_reuseFailAlloc_21770_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21770_, 0, v___x_21754_); +v___x_21769_ = v_reuseFailAlloc_21770_; +goto v_reusejp_21768_; } -v_reusejp_21728_: +v_reusejp_21768_: { -return v___x_21729_; -} -} -} -else -{ -lean_object* v_a_21733_; lean_object* v___x_21735_; uint8_t v_isShared_21736_; uint8_t v_isSharedCheck_21740_; -v_a_21733_ = lean_ctor_get(v___x_21724_, 0); -v_isSharedCheck_21740_ = !lean_is_exclusive(v___x_21724_); -if (v_isSharedCheck_21740_ == 0) -{ -v___x_21735_ = v___x_21724_; -v_isShared_21736_ = v_isSharedCheck_21740_; -goto v_resetjp_21734_; -} -else -{ -lean_inc(v_a_21733_); -lean_dec(v___x_21724_); -v___x_21735_ = lean_box(0); -v_isShared_21736_ = v_isSharedCheck_21740_; -goto v_resetjp_21734_; -} -v_resetjp_21734_: -{ -lean_object* v___x_21738_; -if (v_isShared_21736_ == 0) -{ -v___x_21738_ = v___x_21735_; -goto v_reusejp_21737_; -} -else -{ -lean_object* v_reuseFailAlloc_21739_; -v_reuseFailAlloc_21739_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21739_, 0, v_a_21733_); -v___x_21738_ = v_reuseFailAlloc_21739_; -goto v_reusejp_21737_; -} -v_reusejp_21737_: -{ -return v___x_21738_; -} -} -} -} -else -{ -lean_dec(v___y_21721_); -lean_dec_ref(v___y_21720_); -lean_dec(v___y_21719_); -lean_dec_ref(v___y_21718_); -lean_dec(v___y_21717_); -lean_dec_ref(v___y_21716_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_views_21691_); -return v___x_21723_; +return v___x_21769_; } } } else { lean_object* v_a_21773_; lean_object* v___x_21775_; uint8_t v_isShared_21776_; uint8_t v_isSharedCheck_21780_; -lean_dec(v___y_21708_); -lean_dec_ref(v___y_21707_); -lean_dec(v___y_21706_); -lean_dec_ref(v___y_21705_); -lean_dec(v___y_21704_); -lean_dec_ref(v___y_21703_); -lean_dec_ref(v___x_21702_); -lean_dec_ref(v_sc_21699_); -lean_dec_ref(v_vars_21698_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_a_21692_); -lean_dec_ref(v_views_21691_); -v_a_21773_ = lean_ctor_get(v___x_21712_, 0); -v_isSharedCheck_21780_ = !lean_is_exclusive(v___x_21712_); +v_a_21773_ = lean_ctor_get(v___x_21764_, 0); +v_isSharedCheck_21780_ = !lean_is_exclusive(v___x_21764_); if (v_isSharedCheck_21780_ == 0) { -v___x_21775_ = v___x_21712_; +v___x_21775_ = v___x_21764_; v_isShared_21776_ = v_isSharedCheck_21780_; goto v_resetjp_21774_; } else { lean_inc(v_a_21773_); -lean_dec(v___x_21712_); +lean_dec(v___x_21764_); v___x_21775_ = lean_box(0); v_isShared_21776_ = v_isSharedCheck_21780_; goto v_resetjp_21774_; @@ -62976,407 +63063,475 @@ return v___x_21778_; } else { -lean_object* v_a_21781_; lean_object* v___x_21783_; uint8_t v_isShared_21784_; uint8_t v_isSharedCheck_21788_; -lean_dec(v___y_21708_); -lean_dec_ref(v___y_21707_); -lean_dec(v___y_21706_); -lean_dec_ref(v___y_21705_); -lean_dec(v___y_21704_); -lean_dec_ref(v___y_21703_); -lean_dec_ref(v___x_21702_); -lean_dec_ref(v_sc_21699_); -lean_dec_ref(v_vars_21698_); -lean_dec_ref(v___x_21697_); -lean_dec_ref(v_a_21692_); -lean_dec_ref(v_views_21691_); -v_a_21781_ = lean_ctor_get(v___x_21710_, 0); -v_isSharedCheck_21788_ = !lean_is_exclusive(v___x_21710_); -if (v_isSharedCheck_21788_ == 0) -{ -v___x_21783_ = v___x_21710_; -v_isShared_21784_ = v_isSharedCheck_21788_; -goto v_resetjp_21782_; +lean_dec(v___y_21761_); +lean_dec_ref(v___y_21760_); +lean_dec(v___y_21759_); +lean_dec_ref(v___y_21758_); +lean_dec(v___y_21757_); +lean_dec_ref(v___y_21756_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_views_21731_); +return v___x_21763_; +} +} } else { -lean_inc(v_a_21781_); -lean_dec(v___x_21710_); -v___x_21783_ = lean_box(0); -v_isShared_21784_ = v_isSharedCheck_21788_; -goto v_resetjp_21782_; -} -v_resetjp_21782_: +lean_object* v_a_21813_; lean_object* v___x_21815_; uint8_t v_isShared_21816_; uint8_t v_isSharedCheck_21820_; +lean_dec(v___y_21748_); +lean_dec_ref(v___y_21747_); +lean_dec(v___y_21746_); +lean_dec_ref(v___y_21745_); +lean_dec(v___y_21744_); +lean_dec_ref(v___y_21743_); +lean_dec_ref(v___x_21742_); +lean_dec_ref(v_sc_21739_); +lean_dec_ref(v_vars_21738_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_a_21732_); +lean_dec_ref(v_views_21731_); +v_a_21813_ = lean_ctor_get(v___x_21752_, 0); +v_isSharedCheck_21820_ = !lean_is_exclusive(v___x_21752_); +if (v_isSharedCheck_21820_ == 0) { -lean_object* v___x_21786_; -if (v_isShared_21784_ == 0) -{ -v___x_21786_ = v___x_21783_; -goto v_reusejp_21785_; +v___x_21815_ = v___x_21752_; +v_isShared_21816_ = v_isSharedCheck_21820_; +goto v_resetjp_21814_; } else { -lean_object* v_reuseFailAlloc_21787_; -v_reuseFailAlloc_21787_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21787_, 0, v_a_21781_); -v___x_21786_ = v_reuseFailAlloc_21787_; -goto v_reusejp_21785_; +lean_inc(v_a_21813_); +lean_dec(v___x_21752_); +v___x_21815_ = lean_box(0); +v_isShared_21816_ = v_isSharedCheck_21820_; +goto v_resetjp_21814_; } -v_reusejp_21785_: +v_resetjp_21814_: { -return v___x_21786_; +lean_object* v___x_21818_; +if (v_isShared_21816_ == 0) +{ +v___x_21818_ = v___x_21815_; +goto v_reusejp_21817_; +} +else +{ +lean_object* v_reuseFailAlloc_21819_; +v_reuseFailAlloc_21819_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21819_, 0, v_a_21813_); +v___x_21818_ = v_reuseFailAlloc_21819_; +goto v_reusejp_21817_; +} +v_reusejp_21817_: +{ +return v___x_21818_; +} +} +} +} +else +{ +lean_object* v_a_21821_; lean_object* v___x_21823_; uint8_t v_isShared_21824_; uint8_t v_isSharedCheck_21828_; +lean_dec(v___y_21748_); +lean_dec_ref(v___y_21747_); +lean_dec(v___y_21746_); +lean_dec_ref(v___y_21745_); +lean_dec(v___y_21744_); +lean_dec_ref(v___y_21743_); +lean_dec_ref(v___x_21742_); +lean_dec_ref(v_sc_21739_); +lean_dec_ref(v_vars_21738_); +lean_dec_ref(v___x_21737_); +lean_dec_ref(v_a_21732_); +lean_dec_ref(v_views_21731_); +v_a_21821_ = lean_ctor_get(v___x_21750_, 0); +v_isSharedCheck_21828_ = !lean_is_exclusive(v___x_21750_); +if (v_isSharedCheck_21828_ == 0) +{ +v___x_21823_ = v___x_21750_; +v_isShared_21824_ = v_isSharedCheck_21828_; +goto v_resetjp_21822_; +} +else +{ +lean_inc(v_a_21821_); +lean_dec(v___x_21750_); +v___x_21823_ = lean_box(0); +v_isShared_21824_ = v_isSharedCheck_21828_; +goto v_resetjp_21822_; +} +v_resetjp_21822_: +{ +lean_object* v___x_21826_; +if (v_isShared_21824_ == 0) +{ +v___x_21826_ = v___x_21823_; +goto v_reusejp_21825_; +} +else +{ +lean_object* v_reuseFailAlloc_21827_; +v_reuseFailAlloc_21827_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_21827_, 0, v_a_21821_); +v___x_21826_ = v_reuseFailAlloc_21827_; +goto v_reusejp_21825_; +} +v_reusejp_21825_: +{ +return v___x_21826_; } } } } } LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0___boxed(lean_object** _args){ -lean_object* v_views_21789_ = _args[0]; -lean_object* v_a_21790_ = _args[1]; -lean_object* v_a_21791_ = _args[2]; -lean_object* v_a_21792_ = _args[3]; -lean_object* v___x_21793_ = _args[4]; -lean_object* v_sz_21794_ = _args[5]; -lean_object* v___x_21795_ = _args[6]; -lean_object* v_vars_21796_ = _args[7]; -lean_object* v_sc_21797_ = _args[8]; -lean_object* v___x_21798_ = _args[9]; -lean_object* v___x_21799_ = _args[10]; -lean_object* v___x_21800_ = _args[11]; -lean_object* v___y_21801_ = _args[12]; -lean_object* v___y_21802_ = _args[13]; -lean_object* v___y_21803_ = _args[14]; -lean_object* v___y_21804_ = _args[15]; -lean_object* v___y_21805_ = _args[16]; -lean_object* v___y_21806_ = _args[17]; -lean_object* v___y_21807_ = _args[18]; +lean_object* v_views_21829_ = _args[0]; +lean_object* v_a_21830_ = _args[1]; +lean_object* v_a_21831_ = _args[2]; +lean_object* v_a_21832_ = _args[3]; +lean_object* v___x_21833_ = _args[4]; +lean_object* v_sz_21834_ = _args[5]; +lean_object* v___x_21835_ = _args[6]; +lean_object* v_vars_21836_ = _args[7]; +lean_object* v_sc_21837_ = _args[8]; +lean_object* v___x_21838_ = _args[9]; +lean_object* v___x_21839_ = _args[10]; +lean_object* v___x_21840_ = _args[11]; +lean_object* v___y_21841_ = _args[12]; +lean_object* v___y_21842_ = _args[13]; +lean_object* v___y_21843_ = _args[14]; +lean_object* v___y_21844_ = _args[15]; +lean_object* v___y_21845_ = _args[16]; +lean_object* v___y_21846_ = _args[17]; +lean_object* v___y_21847_ = _args[18]; _start: { -size_t v___x_22531__boxed_21808_; size_t v_sz_boxed_21809_; lean_object* v_res_21810_; -v___x_22531__boxed_21808_ = lean_unbox_usize(v___x_21793_); -lean_dec(v___x_21793_); -v_sz_boxed_21809_ = lean_unbox_usize(v_sz_21794_); -lean_dec(v_sz_21794_); -v_res_21810_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0(v_views_21789_, v_a_21790_, v_a_21791_, v_a_21792_, v___x_22531__boxed_21808_, v_sz_boxed_21809_, v___x_21795_, v_vars_21796_, v_sc_21797_, v___x_21798_, v___x_21799_, v___x_21800_, v___y_21801_, v___y_21802_, v___y_21803_, v___y_21804_, v___y_21805_, v___y_21806_); -lean_dec(v___x_21799_); -lean_dec(v___x_21798_); -return v_res_21810_; +size_t v___x_22531__boxed_21848_; size_t v_sz_boxed_21849_; lean_object* v_res_21850_; +v___x_22531__boxed_21848_ = lean_unbox_usize(v___x_21833_); +lean_dec(v___x_21833_); +v_sz_boxed_21849_ = lean_unbox_usize(v_sz_21834_); +lean_dec(v_sz_21834_); +v_res_21850_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0(v_views_21829_, v_a_21830_, v_a_21831_, v_a_21832_, v___x_22531__boxed_21848_, v_sz_boxed_21849_, v___x_21835_, v_vars_21836_, v_sc_21837_, v___x_21838_, v___x_21839_, v___x_21840_, v___y_21841_, v___y_21842_, v___y_21843_, v___y_21844_, v___y_21845_, v___y_21846_); +lean_dec(v___x_21839_); +lean_dec(v___x_21838_); +return v_res_21850_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(uint8_t v___x_21811_, lean_object* v_as_21812_, size_t v_i_21813_, size_t v_stop_21814_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(uint8_t v___x_21851_, lean_object* v_as_21852_, size_t v_i_21853_, size_t v_stop_21854_){ _start: { -uint8_t v___x_21815_; -v___x_21815_ = lean_usize_dec_eq(v_i_21813_, v_stop_21814_); -if (v___x_21815_ == 0) +uint8_t v___x_21855_; +v___x_21855_ = lean_usize_dec_eq(v_i_21853_, v_stop_21854_); +if (v___x_21855_ == 0) { -lean_object* v___x_21816_; lean_object* v_declName_21817_; uint8_t v___x_21818_; uint8_t v___y_21820_; uint8_t v___x_21824_; -v___x_21816_ = lean_array_uget_borrowed(v_as_21812_, v_i_21813_); -v_declName_21817_ = lean_ctor_get(v___x_21816_, 1); -v___x_21818_ = 1; -v___x_21824_ = l_Lean_isPrivateName(v_declName_21817_); -if (v___x_21824_ == 0) +lean_object* v___x_21856_; lean_object* v_declName_21857_; uint8_t v___x_21858_; uint8_t v___y_21860_; uint8_t v___x_21864_; +v___x_21856_ = lean_array_uget_borrowed(v_as_21852_, v_i_21853_); +v_declName_21857_ = lean_ctor_get(v___x_21856_, 1); +v___x_21858_ = 1; +v___x_21864_ = l_Lean_isPrivateName(v_declName_21857_); +if (v___x_21864_ == 0) { -v___y_21820_ = v___x_21811_; -goto v___jp_21819_; +v___y_21860_ = v___x_21851_; +goto v___jp_21859_; } else { -v___y_21820_ = v___x_21815_; -goto v___jp_21819_; +v___y_21860_ = v___x_21855_; +goto v___jp_21859_; } -v___jp_21819_: +v___jp_21859_: { -if (v___y_21820_ == 0) +if (v___y_21860_ == 0) { -size_t v___x_21821_; size_t v___x_21822_; -v___x_21821_ = ((size_t)1ULL); -v___x_21822_ = lean_usize_add(v_i_21813_, v___x_21821_); -v_i_21813_ = v___x_21822_; +size_t v___x_21861_; size_t v___x_21862_; +v___x_21861_ = ((size_t)1ULL); +v___x_21862_ = lean_usize_add(v_i_21853_, v___x_21861_); +v_i_21853_ = v___x_21862_; goto _start; } else { -return v___x_21818_; +return v___x_21858_; } } } else { -uint8_t v___x_21825_; -v___x_21825_ = 0; -return v___x_21825_; +uint8_t v___x_21865_; +v___x_21865_ = 0; +return v___x_21865_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12___boxed(lean_object* v___x_21826_, lean_object* v_as_21827_, lean_object* v_i_21828_, lean_object* v_stop_21829_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12___boxed(lean_object* v___x_21866_, lean_object* v_as_21867_, lean_object* v_i_21868_, lean_object* v_stop_21869_){ _start: { -uint8_t v___x_22730__boxed_21830_; size_t v_i_boxed_21831_; size_t v_stop_boxed_21832_; uint8_t v_res_21833_; lean_object* v_r_21834_; -v___x_22730__boxed_21830_ = lean_unbox(v___x_21826_); -v_i_boxed_21831_ = lean_unbox_usize(v_i_21828_); -lean_dec(v_i_21828_); -v_stop_boxed_21832_ = lean_unbox_usize(v_stop_21829_); -lean_dec(v_stop_21829_); -v_res_21833_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(v___x_22730__boxed_21830_, v_as_21827_, v_i_boxed_21831_, v_stop_boxed_21832_); -lean_dec_ref(v_as_21827_); -v_r_21834_ = lean_box(v_res_21833_); -return v_r_21834_; +uint8_t v___x_22730__boxed_21870_; size_t v_i_boxed_21871_; size_t v_stop_boxed_21872_; uint8_t v_res_21873_; lean_object* v_r_21874_; +v___x_22730__boxed_21870_ = lean_unbox(v___x_21866_); +v_i_boxed_21871_ = lean_unbox_usize(v_i_21868_); +lean_dec(v_i_21868_); +v_stop_boxed_21872_ = lean_unbox_usize(v_stop_21869_); +lean_dec(v_stop_21869_); +v_res_21873_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(v___x_22730__boxed_21870_, v_as_21867_, v_i_boxed_21871_, v_stop_boxed_21872_); +lean_dec_ref(v_as_21867_); +v_r_21874_ = lean_box(v_res_21873_); +return v_r_21874_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(size_t v_sz_21835_, size_t v_i_21836_, lean_object* v_bs_21837_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(size_t v_sz_21875_, size_t v_i_21876_, lean_object* v_bs_21877_){ _start: { -uint8_t v___x_21839_; -v___x_21839_ = lean_usize_dec_lt(v_i_21836_, v_sz_21835_); -if (v___x_21839_ == 0) +uint8_t v___x_21879_; +v___x_21879_ = lean_usize_dec_lt(v_i_21876_, v_sz_21875_); +if (v___x_21879_ == 0) { -lean_object* v___x_21840_; -v___x_21840_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21840_, 0, v_bs_21837_); -return v___x_21840_; +lean_object* v___x_21880_; +v___x_21880_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21880_, 0, v_bs_21877_); +return v___x_21880_; } else { -lean_object* v___x_21841_; lean_object* v___x_21842_; lean_object* v_bs_x27_21843_; size_t v___x_21844_; size_t v___x_21845_; lean_object* v___x_21846_; -v___x_21841_ = lean_io_promise_new(); -v___x_21842_ = lean_unsigned_to_nat(0u); -v_bs_x27_21843_ = lean_array_uset(v_bs_21837_, v_i_21836_, v___x_21842_); -v___x_21844_ = ((size_t)1ULL); -v___x_21845_ = lean_usize_add(v_i_21836_, v___x_21844_); -v___x_21846_ = lean_array_uset(v_bs_x27_21843_, v_i_21836_, v___x_21841_); -v_i_21836_ = v___x_21845_; -v_bs_21837_ = v___x_21846_; +lean_object* v___x_21881_; lean_object* v___x_21882_; lean_object* v_bs_x27_21883_; size_t v___x_21884_; size_t v___x_21885_; lean_object* v___x_21886_; +v___x_21881_ = lean_io_promise_new(); +v___x_21882_ = lean_unsigned_to_nat(0u); +v_bs_x27_21883_ = lean_array_uset(v_bs_21877_, v_i_21876_, v___x_21882_); +v___x_21884_ = ((size_t)1ULL); +v___x_21885_ = lean_usize_add(v_i_21876_, v___x_21884_); +v___x_21886_ = lean_array_uset(v_bs_x27_21883_, v_i_21876_, v___x_21881_); +v_i_21876_ = v___x_21885_; +v_bs_21877_ = v___x_21886_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg___boxed(lean_object* v_sz_21848_, lean_object* v_i_21849_, lean_object* v_bs_21850_, lean_object* v___y_21851_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg___boxed(lean_object* v_sz_21888_, lean_object* v_i_21889_, lean_object* v_bs_21890_, lean_object* v___y_21891_){ _start: { -size_t v_sz_boxed_21852_; size_t v_i_boxed_21853_; lean_object* v_res_21854_; -v_sz_boxed_21852_ = lean_unbox_usize(v_sz_21848_); -lean_dec(v_sz_21848_); -v_i_boxed_21853_ = lean_unbox_usize(v_i_21849_); -lean_dec(v_i_21849_); -v_res_21854_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_boxed_21852_, v_i_boxed_21853_, v_bs_21850_); -return v_res_21854_; +size_t v_sz_boxed_21892_; size_t v_i_boxed_21893_; lean_object* v_res_21894_; +v_sz_boxed_21892_ = lean_unbox_usize(v_sz_21888_); +lean_dec(v_sz_21888_); +v_i_boxed_21893_ = lean_unbox_usize(v_i_21889_); +lean_dec(v_i_21889_); +v_res_21894_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_boxed_21892_, v_i_boxed_21893_, v_bs_21890_); +return v_res_21894_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(lean_object* v_as_21855_, size_t v_sz_21856_, size_t v_i_21857_, lean_object* v_b_21858_, lean_object* v___y_21859_, lean_object* v___y_21860_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(lean_object* v_as_21895_, size_t v_sz_21896_, size_t v_i_21897_, lean_object* v_b_21898_, lean_object* v___y_21899_, lean_object* v___y_21900_){ _start: { -lean_object* v_a_21863_; uint8_t v___x_21867_; -v___x_21867_ = lean_usize_dec_lt(v_i_21857_, v_sz_21856_); -if (v___x_21867_ == 0) +lean_object* v_a_21903_; uint8_t v___x_21907_; +v___x_21907_ = lean_usize_dec_lt(v_i_21897_, v_sz_21896_); +if (v___x_21907_ == 0) { -lean_object* v___x_21868_; -v___x_21868_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21868_, 0, v_b_21858_); -return v___x_21868_; +lean_object* v___x_21908_; +v___x_21908_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21908_, 0, v_b_21898_); +return v___x_21908_; } else { -lean_object* v_array_21869_; lean_object* v_start_21870_; lean_object* v_stop_21871_; uint8_t v___x_21872_; -v_array_21869_ = lean_ctor_get(v_b_21858_, 0); -v_start_21870_ = lean_ctor_get(v_b_21858_, 1); -v_stop_21871_ = lean_ctor_get(v_b_21858_, 2); -v___x_21872_ = lean_nat_dec_lt(v_start_21870_, v_stop_21871_); -if (v___x_21872_ == 0) +lean_object* v_array_21909_; lean_object* v_start_21910_; lean_object* v_stop_21911_; uint8_t v___x_21912_; +v_array_21909_ = lean_ctor_get(v_b_21898_, 0); +v_start_21910_ = lean_ctor_get(v_b_21898_, 1); +v_stop_21911_ = lean_ctor_get(v_b_21898_, 2); +v___x_21912_ = lean_nat_dec_lt(v_start_21910_, v_stop_21911_); +if (v___x_21912_ == 0) { -lean_object* v___x_21873_; -v___x_21873_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21873_, 0, v_b_21858_); -return v___x_21873_; +lean_object* v___x_21913_; +v___x_21913_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_21913_, 0, v_b_21898_); +return v___x_21913_; } else { -lean_object* v___x_21875_; uint8_t v_isShared_21876_; uint8_t v_isSharedCheck_21958_; -lean_inc(v_stop_21871_); -lean_inc(v_start_21870_); -lean_inc_ref(v_array_21869_); -v_isSharedCheck_21958_ = !lean_is_exclusive(v_b_21858_); -if (v_isSharedCheck_21958_ == 0) +lean_object* v___x_21915_; uint8_t v_isShared_21916_; uint8_t v_isSharedCheck_21998_; +lean_inc(v_stop_21911_); +lean_inc(v_start_21910_); +lean_inc_ref(v_array_21909_); +v_isSharedCheck_21998_ = !lean_is_exclusive(v_b_21898_); +if (v_isSharedCheck_21998_ == 0) { -lean_object* v_unused_21959_; lean_object* v_unused_21960_; lean_object* v_unused_21961_; -v_unused_21959_ = lean_ctor_get(v_b_21858_, 2); -lean_dec(v_unused_21959_); -v_unused_21960_ = lean_ctor_get(v_b_21858_, 1); -lean_dec(v_unused_21960_); -v_unused_21961_ = lean_ctor_get(v_b_21858_, 0); -lean_dec(v_unused_21961_); -v___x_21875_ = v_b_21858_; -v_isShared_21876_ = v_isSharedCheck_21958_; -goto v_resetjp_21874_; +lean_object* v_unused_21999_; lean_object* v_unused_22000_; lean_object* v_unused_22001_; +v_unused_21999_ = lean_ctor_get(v_b_21898_, 2); +lean_dec(v_unused_21999_); +v_unused_22000_ = lean_ctor_get(v_b_21898_, 1); +lean_dec(v_unused_22000_); +v_unused_22001_ = lean_ctor_get(v_b_21898_, 0); +lean_dec(v_unused_22001_); +v___x_21915_ = v_b_21898_; +v_isShared_21916_ = v_isSharedCheck_21998_; +goto v_resetjp_21914_; } else { -lean_dec(v_b_21858_); -v___x_21875_ = lean_box(0); -v_isShared_21876_ = v_isSharedCheck_21958_; -goto v_resetjp_21874_; +lean_dec(v_b_21898_); +v___x_21915_ = lean_box(0); +v_isShared_21916_ = v_isSharedCheck_21998_; +goto v_resetjp_21914_; } -v_resetjp_21874_: +v_resetjp_21914_: { -lean_object* v_a_21877_; lean_object* v_modifiers_21878_; uint8_t v_computeKind_21879_; lean_object* v___x_21880_; lean_object* v___x_21881_; lean_object* v___x_21882_; lean_object* v___x_21884_; -v_a_21877_ = lean_array_uget_borrowed(v_as_21855_, v_i_21857_); -v_modifiers_21878_ = lean_ctor_get(v_a_21877_, 2); -v_computeKind_21879_ = lean_ctor_get_uint8(v_modifiers_21878_, sizeof(void*)*3 + 2); -v___x_21880_ = lean_array_fget(v_array_21869_, v_start_21870_); -v___x_21881_ = lean_unsigned_to_nat(1u); -v___x_21882_ = lean_nat_add(v_start_21870_, v___x_21881_); -lean_dec(v_start_21870_); -if (v_isShared_21876_ == 0) +lean_object* v_a_21917_; lean_object* v_modifiers_21918_; uint8_t v_computeKind_21919_; lean_object* v___x_21920_; lean_object* v___x_21921_; lean_object* v___x_21922_; lean_object* v___x_21924_; +v_a_21917_ = lean_array_uget_borrowed(v_as_21895_, v_i_21897_); +v_modifiers_21918_ = lean_ctor_get(v_a_21917_, 2); +v_computeKind_21919_ = lean_ctor_get_uint8(v_modifiers_21918_, sizeof(void*)*3 + 2); +v___x_21920_ = lean_array_fget(v_array_21909_, v_start_21910_); +v___x_21921_ = lean_unsigned_to_nat(1u); +v___x_21922_ = lean_nat_add(v_start_21910_, v___x_21921_); +lean_dec(v_start_21910_); +if (v_isShared_21916_ == 0) { -lean_ctor_set(v___x_21875_, 1, v___x_21882_); -v___x_21884_ = v___x_21875_; -goto v_reusejp_21883_; +lean_ctor_set(v___x_21915_, 1, v___x_21922_); +v___x_21924_ = v___x_21915_; +goto v_reusejp_21923_; } else { -lean_object* v_reuseFailAlloc_21957_; -v_reuseFailAlloc_21957_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_21957_, 0, v_array_21869_); -lean_ctor_set(v_reuseFailAlloc_21957_, 1, v___x_21882_); -lean_ctor_set(v_reuseFailAlloc_21957_, 2, v_stop_21871_); -v___x_21884_ = v_reuseFailAlloc_21957_; -goto v_reusejp_21883_; +lean_object* v_reuseFailAlloc_21997_; +v_reuseFailAlloc_21997_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_21997_, 0, v_array_21909_); +lean_ctor_set(v_reuseFailAlloc_21997_, 1, v___x_21922_); +lean_ctor_set(v_reuseFailAlloc_21997_, 2, v_stop_21911_); +v___x_21924_ = v_reuseFailAlloc_21997_; +goto v_reusejp_21923_; } -v_reusejp_21883_: +v_reusejp_21923_: { -switch(v_computeKind_21879_) +switch(v_computeKind_21919_) { case 0: { -lean_dec(v___x_21880_); -v_a_21863_ = v___x_21884_; -goto v___jp_21862_; +lean_dec(v___x_21920_); +v_a_21903_ = v___x_21924_; +goto v___jp_21902_; } case 1: { -lean_object* v___x_21885_; lean_object* v_env_21886_; lean_object* v_nextMacroScope_21887_; lean_object* v_ngen_21888_; lean_object* v_auxDeclNGen_21889_; lean_object* v_traceState_21890_; lean_object* v_messages_21891_; lean_object* v_infoState_21892_; lean_object* v_snapshotTasks_21893_; lean_object* v___x_21895_; uint8_t v_isShared_21896_; uint8_t v_isSharedCheck_21919_; -v___x_21885_ = lean_st_ref_take(v___y_21860_); -v_env_21886_ = lean_ctor_get(v___x_21885_, 0); -v_nextMacroScope_21887_ = lean_ctor_get(v___x_21885_, 1); -v_ngen_21888_ = lean_ctor_get(v___x_21885_, 2); -v_auxDeclNGen_21889_ = lean_ctor_get(v___x_21885_, 3); -v_traceState_21890_ = lean_ctor_get(v___x_21885_, 4); -v_messages_21891_ = lean_ctor_get(v___x_21885_, 6); -v_infoState_21892_ = lean_ctor_get(v___x_21885_, 7); -v_snapshotTasks_21893_ = lean_ctor_get(v___x_21885_, 8); -v_isSharedCheck_21919_ = !lean_is_exclusive(v___x_21885_); -if (v_isSharedCheck_21919_ == 0) +lean_object* v___x_21925_; lean_object* v_env_21926_; lean_object* v_nextMacroScope_21927_; lean_object* v_ngen_21928_; lean_object* v_auxDeclNGen_21929_; lean_object* v_traceState_21930_; lean_object* v_messages_21931_; lean_object* v_infoState_21932_; lean_object* v_snapshotTasks_21933_; lean_object* v___x_21935_; uint8_t v_isShared_21936_; uint8_t v_isSharedCheck_21959_; +v___x_21925_ = lean_st_ref_take(v___y_21900_); +v_env_21926_ = lean_ctor_get(v___x_21925_, 0); +v_nextMacroScope_21927_ = lean_ctor_get(v___x_21925_, 1); +v_ngen_21928_ = lean_ctor_get(v___x_21925_, 2); +v_auxDeclNGen_21929_ = lean_ctor_get(v___x_21925_, 3); +v_traceState_21930_ = lean_ctor_get(v___x_21925_, 4); +v_messages_21931_ = lean_ctor_get(v___x_21925_, 6); +v_infoState_21932_ = lean_ctor_get(v___x_21925_, 7); +v_snapshotTasks_21933_ = lean_ctor_get(v___x_21925_, 8); +v_isSharedCheck_21959_ = !lean_is_exclusive(v___x_21925_); +if (v_isSharedCheck_21959_ == 0) { -lean_object* v_unused_21920_; -v_unused_21920_ = lean_ctor_get(v___x_21885_, 5); -lean_dec(v_unused_21920_); -v___x_21895_ = v___x_21885_; -v_isShared_21896_ = v_isSharedCheck_21919_; -goto v_resetjp_21894_; +lean_object* v_unused_21960_; +v_unused_21960_ = lean_ctor_get(v___x_21925_, 5); +lean_dec(v_unused_21960_); +v___x_21935_ = v___x_21925_; +v_isShared_21936_ = v_isSharedCheck_21959_; +goto v_resetjp_21934_; } else { -lean_inc(v_snapshotTasks_21893_); -lean_inc(v_infoState_21892_); -lean_inc(v_messages_21891_); -lean_inc(v_traceState_21890_); -lean_inc(v_auxDeclNGen_21889_); -lean_inc(v_ngen_21888_); -lean_inc(v_nextMacroScope_21887_); -lean_inc(v_env_21886_); -lean_dec(v___x_21885_); -v___x_21895_ = lean_box(0); -v_isShared_21896_ = v_isSharedCheck_21919_; -goto v_resetjp_21894_; +lean_inc(v_snapshotTasks_21933_); +lean_inc(v_infoState_21932_); +lean_inc(v_messages_21931_); +lean_inc(v_traceState_21930_); +lean_inc(v_auxDeclNGen_21929_); +lean_inc(v_ngen_21928_); +lean_inc(v_nextMacroScope_21927_); +lean_inc(v_env_21926_); +lean_dec(v___x_21925_); +v___x_21935_ = lean_box(0); +v_isShared_21936_ = v_isSharedCheck_21959_; +goto v_resetjp_21934_; } -v_resetjp_21894_: +v_resetjp_21934_: { -lean_object* v_declName_21897_; lean_object* v___x_21898_; lean_object* v___x_21899_; lean_object* v___x_21901_; -v_declName_21897_ = lean_ctor_get(v___x_21880_, 1); -lean_inc(v_declName_21897_); -lean_dec(v___x_21880_); -v___x_21898_ = l_Lean_markMeta(v_env_21886_, v_declName_21897_); -v___x_21899_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_21896_ == 0) +lean_object* v_declName_21937_; lean_object* v___x_21938_; lean_object* v___x_21939_; lean_object* v___x_21941_; +v_declName_21937_ = lean_ctor_get(v___x_21920_, 1); +lean_inc(v_declName_21937_); +lean_dec(v___x_21920_); +v___x_21938_ = l_Lean_markMeta(v_env_21926_, v_declName_21937_); +v___x_21939_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_21936_ == 0) { -lean_ctor_set(v___x_21895_, 5, v___x_21899_); -lean_ctor_set(v___x_21895_, 0, v___x_21898_); -v___x_21901_ = v___x_21895_; -goto v_reusejp_21900_; +lean_ctor_set(v___x_21935_, 5, v___x_21939_); +lean_ctor_set(v___x_21935_, 0, v___x_21938_); +v___x_21941_ = v___x_21935_; +goto v_reusejp_21940_; } else { -lean_object* v_reuseFailAlloc_21918_; -v_reuseFailAlloc_21918_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_21918_, 0, v___x_21898_); -lean_ctor_set(v_reuseFailAlloc_21918_, 1, v_nextMacroScope_21887_); -lean_ctor_set(v_reuseFailAlloc_21918_, 2, v_ngen_21888_); -lean_ctor_set(v_reuseFailAlloc_21918_, 3, v_auxDeclNGen_21889_); -lean_ctor_set(v_reuseFailAlloc_21918_, 4, v_traceState_21890_); -lean_ctor_set(v_reuseFailAlloc_21918_, 5, v___x_21899_); -lean_ctor_set(v_reuseFailAlloc_21918_, 6, v_messages_21891_); -lean_ctor_set(v_reuseFailAlloc_21918_, 7, v_infoState_21892_); -lean_ctor_set(v_reuseFailAlloc_21918_, 8, v_snapshotTasks_21893_); -v___x_21901_ = v_reuseFailAlloc_21918_; -goto v_reusejp_21900_; +lean_object* v_reuseFailAlloc_21958_; +v_reuseFailAlloc_21958_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_21958_, 0, v___x_21938_); +lean_ctor_set(v_reuseFailAlloc_21958_, 1, v_nextMacroScope_21927_); +lean_ctor_set(v_reuseFailAlloc_21958_, 2, v_ngen_21928_); +lean_ctor_set(v_reuseFailAlloc_21958_, 3, v_auxDeclNGen_21929_); +lean_ctor_set(v_reuseFailAlloc_21958_, 4, v_traceState_21930_); +lean_ctor_set(v_reuseFailAlloc_21958_, 5, v___x_21939_); +lean_ctor_set(v_reuseFailAlloc_21958_, 6, v_messages_21931_); +lean_ctor_set(v_reuseFailAlloc_21958_, 7, v_infoState_21932_); +lean_ctor_set(v_reuseFailAlloc_21958_, 8, v_snapshotTasks_21933_); +v___x_21941_ = v_reuseFailAlloc_21958_; +goto v_reusejp_21940_; } -v_reusejp_21900_: +v_reusejp_21940_: { -lean_object* v___x_21902_; lean_object* v___x_21903_; lean_object* v_mctx_21904_; lean_object* v_zetaDeltaFVarIds_21905_; lean_object* v_postponed_21906_; lean_object* v_diag_21907_; lean_object* v___x_21909_; uint8_t v_isShared_21910_; uint8_t v_isSharedCheck_21916_; -v___x_21902_ = lean_st_ref_set(v___y_21860_, v___x_21901_); -v___x_21903_ = lean_st_ref_take(v___y_21859_); -v_mctx_21904_ = lean_ctor_get(v___x_21903_, 0); -v_zetaDeltaFVarIds_21905_ = lean_ctor_get(v___x_21903_, 2); -v_postponed_21906_ = lean_ctor_get(v___x_21903_, 3); -v_diag_21907_ = lean_ctor_get(v___x_21903_, 4); -v_isSharedCheck_21916_ = !lean_is_exclusive(v___x_21903_); -if (v_isSharedCheck_21916_ == 0) +lean_object* v___x_21942_; lean_object* v___x_21943_; lean_object* v_mctx_21944_; lean_object* v_zetaDeltaFVarIds_21945_; lean_object* v_postponed_21946_; lean_object* v_diag_21947_; lean_object* v___x_21949_; uint8_t v_isShared_21950_; uint8_t v_isSharedCheck_21956_; +v___x_21942_ = lean_st_ref_set(v___y_21900_, v___x_21941_); +v___x_21943_ = lean_st_ref_take(v___y_21899_); +v_mctx_21944_ = lean_ctor_get(v___x_21943_, 0); +v_zetaDeltaFVarIds_21945_ = lean_ctor_get(v___x_21943_, 2); +v_postponed_21946_ = lean_ctor_get(v___x_21943_, 3); +v_diag_21947_ = lean_ctor_get(v___x_21943_, 4); +v_isSharedCheck_21956_ = !lean_is_exclusive(v___x_21943_); +if (v_isSharedCheck_21956_ == 0) { -lean_object* v_unused_21917_; -v_unused_21917_ = lean_ctor_get(v___x_21903_, 1); -lean_dec(v_unused_21917_); -v___x_21909_ = v___x_21903_; -v_isShared_21910_ = v_isSharedCheck_21916_; -goto v_resetjp_21908_; +lean_object* v_unused_21957_; +v_unused_21957_ = lean_ctor_get(v___x_21943_, 1); +lean_dec(v_unused_21957_); +v___x_21949_ = v___x_21943_; +v_isShared_21950_ = v_isSharedCheck_21956_; +goto v_resetjp_21948_; } else { -lean_inc(v_diag_21907_); -lean_inc(v_postponed_21906_); -lean_inc(v_zetaDeltaFVarIds_21905_); -lean_inc(v_mctx_21904_); -lean_dec(v___x_21903_); -v___x_21909_ = lean_box(0); -v_isShared_21910_ = v_isSharedCheck_21916_; -goto v_resetjp_21908_; +lean_inc(v_diag_21947_); +lean_inc(v_postponed_21946_); +lean_inc(v_zetaDeltaFVarIds_21945_); +lean_inc(v_mctx_21944_); +lean_dec(v___x_21943_); +v___x_21949_ = lean_box(0); +v_isShared_21950_ = v_isSharedCheck_21956_; +goto v_resetjp_21948_; } -v_resetjp_21908_: +v_resetjp_21948_: { -lean_object* v___x_21911_; lean_object* v___x_21913_; -v___x_21911_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); -if (v_isShared_21910_ == 0) +lean_object* v___x_21951_; lean_object* v___x_21953_; +v___x_21951_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_21950_ == 0) { -lean_ctor_set(v___x_21909_, 1, v___x_21911_); -v___x_21913_ = v___x_21909_; -goto v_reusejp_21912_; +lean_ctor_set(v___x_21949_, 1, v___x_21951_); +v___x_21953_ = v___x_21949_; +goto v_reusejp_21952_; } else { -lean_object* v_reuseFailAlloc_21915_; -v_reuseFailAlloc_21915_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_21915_, 0, v_mctx_21904_); -lean_ctor_set(v_reuseFailAlloc_21915_, 1, v___x_21911_); -lean_ctor_set(v_reuseFailAlloc_21915_, 2, v_zetaDeltaFVarIds_21905_); -lean_ctor_set(v_reuseFailAlloc_21915_, 3, v_postponed_21906_); -lean_ctor_set(v_reuseFailAlloc_21915_, 4, v_diag_21907_); -v___x_21913_ = v_reuseFailAlloc_21915_; -goto v_reusejp_21912_; +lean_object* v_reuseFailAlloc_21955_; +v_reuseFailAlloc_21955_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_21955_, 0, v_mctx_21944_); +lean_ctor_set(v_reuseFailAlloc_21955_, 1, v___x_21951_); +lean_ctor_set(v_reuseFailAlloc_21955_, 2, v_zetaDeltaFVarIds_21945_); +lean_ctor_set(v_reuseFailAlloc_21955_, 3, v_postponed_21946_); +lean_ctor_set(v_reuseFailAlloc_21955_, 4, v_diag_21947_); +v___x_21953_ = v_reuseFailAlloc_21955_; +goto v_reusejp_21952_; } -v_reusejp_21912_: +v_reusejp_21952_: { -lean_object* v___x_21914_; -v___x_21914_ = lean_st_ref_set(v___y_21859_, v___x_21913_); -v_a_21863_ = v___x_21884_; -goto v___jp_21862_; +lean_object* v___x_21954_; +v___x_21954_ = lean_st_ref_set(v___y_21899_, v___x_21953_); +v_a_21903_ = v___x_21924_; +goto v___jp_21902_; } } } @@ -63384,130 +63539,130 @@ goto v___jp_21862_; } default: { -lean_object* v___x_21921_; lean_object* v_env_21922_; lean_object* v_nextMacroScope_21923_; lean_object* v_ngen_21924_; lean_object* v_auxDeclNGen_21925_; lean_object* v_traceState_21926_; lean_object* v_messages_21927_; lean_object* v_infoState_21928_; lean_object* v_snapshotTasks_21929_; lean_object* v___x_21931_; uint8_t v_isShared_21932_; uint8_t v_isSharedCheck_21955_; -v___x_21921_ = lean_st_ref_take(v___y_21860_); -v_env_21922_ = lean_ctor_get(v___x_21921_, 0); -v_nextMacroScope_21923_ = lean_ctor_get(v___x_21921_, 1); -v_ngen_21924_ = lean_ctor_get(v___x_21921_, 2); -v_auxDeclNGen_21925_ = lean_ctor_get(v___x_21921_, 3); -v_traceState_21926_ = lean_ctor_get(v___x_21921_, 4); -v_messages_21927_ = lean_ctor_get(v___x_21921_, 6); -v_infoState_21928_ = lean_ctor_get(v___x_21921_, 7); -v_snapshotTasks_21929_ = lean_ctor_get(v___x_21921_, 8); -v_isSharedCheck_21955_ = !lean_is_exclusive(v___x_21921_); -if (v_isSharedCheck_21955_ == 0) +lean_object* v___x_21961_; lean_object* v_env_21962_; lean_object* v_nextMacroScope_21963_; lean_object* v_ngen_21964_; lean_object* v_auxDeclNGen_21965_; lean_object* v_traceState_21966_; lean_object* v_messages_21967_; lean_object* v_infoState_21968_; lean_object* v_snapshotTasks_21969_; lean_object* v___x_21971_; uint8_t v_isShared_21972_; uint8_t v_isSharedCheck_21995_; +v___x_21961_ = lean_st_ref_take(v___y_21900_); +v_env_21962_ = lean_ctor_get(v___x_21961_, 0); +v_nextMacroScope_21963_ = lean_ctor_get(v___x_21961_, 1); +v_ngen_21964_ = lean_ctor_get(v___x_21961_, 2); +v_auxDeclNGen_21965_ = lean_ctor_get(v___x_21961_, 3); +v_traceState_21966_ = lean_ctor_get(v___x_21961_, 4); +v_messages_21967_ = lean_ctor_get(v___x_21961_, 6); +v_infoState_21968_ = lean_ctor_get(v___x_21961_, 7); +v_snapshotTasks_21969_ = lean_ctor_get(v___x_21961_, 8); +v_isSharedCheck_21995_ = !lean_is_exclusive(v___x_21961_); +if (v_isSharedCheck_21995_ == 0) { -lean_object* v_unused_21956_; -v_unused_21956_ = lean_ctor_get(v___x_21921_, 5); -lean_dec(v_unused_21956_); -v___x_21931_ = v___x_21921_; -v_isShared_21932_ = v_isSharedCheck_21955_; -goto v_resetjp_21930_; +lean_object* v_unused_21996_; +v_unused_21996_ = lean_ctor_get(v___x_21961_, 5); +lean_dec(v_unused_21996_); +v___x_21971_ = v___x_21961_; +v_isShared_21972_ = v_isSharedCheck_21995_; +goto v_resetjp_21970_; } else { -lean_inc(v_snapshotTasks_21929_); -lean_inc(v_infoState_21928_); -lean_inc(v_messages_21927_); -lean_inc(v_traceState_21926_); -lean_inc(v_auxDeclNGen_21925_); -lean_inc(v_ngen_21924_); -lean_inc(v_nextMacroScope_21923_); -lean_inc(v_env_21922_); -lean_dec(v___x_21921_); -v___x_21931_ = lean_box(0); -v_isShared_21932_ = v_isSharedCheck_21955_; -goto v_resetjp_21930_; +lean_inc(v_snapshotTasks_21969_); +lean_inc(v_infoState_21968_); +lean_inc(v_messages_21967_); +lean_inc(v_traceState_21966_); +lean_inc(v_auxDeclNGen_21965_); +lean_inc(v_ngen_21964_); +lean_inc(v_nextMacroScope_21963_); +lean_inc(v_env_21962_); +lean_dec(v___x_21961_); +v___x_21971_ = lean_box(0); +v_isShared_21972_ = v_isSharedCheck_21995_; +goto v_resetjp_21970_; } -v_resetjp_21930_: +v_resetjp_21970_: { -lean_object* v_declName_21933_; lean_object* v___x_21934_; lean_object* v___x_21935_; lean_object* v___x_21937_; -v_declName_21933_ = lean_ctor_get(v___x_21880_, 1); -lean_inc(v_declName_21933_); -lean_dec(v___x_21880_); -v___x_21934_ = l_Lean_addNoncomputable(v_env_21922_, v_declName_21933_); -v___x_21935_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); -if (v_isShared_21932_ == 0) +lean_object* v_declName_21973_; lean_object* v___x_21974_; lean_object* v___x_21975_; lean_object* v___x_21977_; +v_declName_21973_ = lean_ctor_get(v___x_21920_, 1); +lean_inc(v_declName_21973_); +lean_dec(v___x_21920_); +v___x_21974_ = l_Lean_addNoncomputable(v_env_21962_, v_declName_21973_); +v___x_21975_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__5); +if (v_isShared_21972_ == 0) { -lean_ctor_set(v___x_21931_, 5, v___x_21935_); -lean_ctor_set(v___x_21931_, 0, v___x_21934_); -v___x_21937_ = v___x_21931_; -goto v_reusejp_21936_; +lean_ctor_set(v___x_21971_, 5, v___x_21975_); +lean_ctor_set(v___x_21971_, 0, v___x_21974_); +v___x_21977_ = v___x_21971_; +goto v_reusejp_21976_; } else { -lean_object* v_reuseFailAlloc_21954_; -v_reuseFailAlloc_21954_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_21954_, 0, v___x_21934_); -lean_ctor_set(v_reuseFailAlloc_21954_, 1, v_nextMacroScope_21923_); -lean_ctor_set(v_reuseFailAlloc_21954_, 2, v_ngen_21924_); -lean_ctor_set(v_reuseFailAlloc_21954_, 3, v_auxDeclNGen_21925_); -lean_ctor_set(v_reuseFailAlloc_21954_, 4, v_traceState_21926_); -lean_ctor_set(v_reuseFailAlloc_21954_, 5, v___x_21935_); -lean_ctor_set(v_reuseFailAlloc_21954_, 6, v_messages_21927_); -lean_ctor_set(v_reuseFailAlloc_21954_, 7, v_infoState_21928_); -lean_ctor_set(v_reuseFailAlloc_21954_, 8, v_snapshotTasks_21929_); -v___x_21937_ = v_reuseFailAlloc_21954_; -goto v_reusejp_21936_; +lean_object* v_reuseFailAlloc_21994_; +v_reuseFailAlloc_21994_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_21994_, 0, v___x_21974_); +lean_ctor_set(v_reuseFailAlloc_21994_, 1, v_nextMacroScope_21963_); +lean_ctor_set(v_reuseFailAlloc_21994_, 2, v_ngen_21964_); +lean_ctor_set(v_reuseFailAlloc_21994_, 3, v_auxDeclNGen_21965_); +lean_ctor_set(v_reuseFailAlloc_21994_, 4, v_traceState_21966_); +lean_ctor_set(v_reuseFailAlloc_21994_, 5, v___x_21975_); +lean_ctor_set(v_reuseFailAlloc_21994_, 6, v_messages_21967_); +lean_ctor_set(v_reuseFailAlloc_21994_, 7, v_infoState_21968_); +lean_ctor_set(v_reuseFailAlloc_21994_, 8, v_snapshotTasks_21969_); +v___x_21977_ = v_reuseFailAlloc_21994_; +goto v_reusejp_21976_; } -v_reusejp_21936_: +v_reusejp_21976_: { -lean_object* v___x_21938_; lean_object* v___x_21939_; lean_object* v_mctx_21940_; lean_object* v_zetaDeltaFVarIds_21941_; lean_object* v_postponed_21942_; lean_object* v_diag_21943_; lean_object* v___x_21945_; uint8_t v_isShared_21946_; uint8_t v_isSharedCheck_21952_; -v___x_21938_ = lean_st_ref_set(v___y_21860_, v___x_21937_); -v___x_21939_ = lean_st_ref_take(v___y_21859_); -v_mctx_21940_ = lean_ctor_get(v___x_21939_, 0); -v_zetaDeltaFVarIds_21941_ = lean_ctor_get(v___x_21939_, 2); -v_postponed_21942_ = lean_ctor_get(v___x_21939_, 3); -v_diag_21943_ = lean_ctor_get(v___x_21939_, 4); -v_isSharedCheck_21952_ = !lean_is_exclusive(v___x_21939_); -if (v_isSharedCheck_21952_ == 0) +lean_object* v___x_21978_; lean_object* v___x_21979_; lean_object* v_mctx_21980_; lean_object* v_zetaDeltaFVarIds_21981_; lean_object* v_postponed_21982_; lean_object* v_diag_21983_; lean_object* v___x_21985_; uint8_t v_isShared_21986_; uint8_t v_isSharedCheck_21992_; +v___x_21978_ = lean_st_ref_set(v___y_21900_, v___x_21977_); +v___x_21979_ = lean_st_ref_take(v___y_21899_); +v_mctx_21980_ = lean_ctor_get(v___x_21979_, 0); +v_zetaDeltaFVarIds_21981_ = lean_ctor_get(v___x_21979_, 2); +v_postponed_21982_ = lean_ctor_get(v___x_21979_, 3); +v_diag_21983_ = lean_ctor_get(v___x_21979_, 4); +v_isSharedCheck_21992_ = !lean_is_exclusive(v___x_21979_); +if (v_isSharedCheck_21992_ == 0) { -lean_object* v_unused_21953_; -v_unused_21953_ = lean_ctor_get(v___x_21939_, 1); -lean_dec(v_unused_21953_); -v___x_21945_ = v___x_21939_; -v_isShared_21946_ = v_isSharedCheck_21952_; -goto v_resetjp_21944_; +lean_object* v_unused_21993_; +v_unused_21993_ = lean_ctor_get(v___x_21979_, 1); +lean_dec(v_unused_21993_); +v___x_21985_ = v___x_21979_; +v_isShared_21986_ = v_isSharedCheck_21992_; +goto v_resetjp_21984_; } else { -lean_inc(v_diag_21943_); -lean_inc(v_postponed_21942_); -lean_inc(v_zetaDeltaFVarIds_21941_); -lean_inc(v_mctx_21940_); -lean_dec(v___x_21939_); -v___x_21945_ = lean_box(0); -v_isShared_21946_ = v_isSharedCheck_21952_; -goto v_resetjp_21944_; +lean_inc(v_diag_21983_); +lean_inc(v_postponed_21982_); +lean_inc(v_zetaDeltaFVarIds_21981_); +lean_inc(v_mctx_21980_); +lean_dec(v___x_21979_); +v___x_21985_ = lean_box(0); +v_isShared_21986_ = v_isSharedCheck_21992_; +goto v_resetjp_21984_; } -v_resetjp_21944_: +v_resetjp_21984_: { -lean_object* v___x_21947_; lean_object* v___x_21949_; -v___x_21947_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); -if (v_isShared_21946_ == 0) +lean_object* v___x_21987_; lean_object* v___x_21989_; +v___x_21987_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__6); +if (v_isShared_21986_ == 0) { -lean_ctor_set(v___x_21945_, 1, v___x_21947_); -v___x_21949_ = v___x_21945_; -goto v_reusejp_21948_; +lean_ctor_set(v___x_21985_, 1, v___x_21987_); +v___x_21989_ = v___x_21985_; +goto v_reusejp_21988_; } else { -lean_object* v_reuseFailAlloc_21951_; -v_reuseFailAlloc_21951_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_21951_, 0, v_mctx_21940_); -lean_ctor_set(v_reuseFailAlloc_21951_, 1, v___x_21947_); -lean_ctor_set(v_reuseFailAlloc_21951_, 2, v_zetaDeltaFVarIds_21941_); -lean_ctor_set(v_reuseFailAlloc_21951_, 3, v_postponed_21942_); -lean_ctor_set(v_reuseFailAlloc_21951_, 4, v_diag_21943_); -v___x_21949_ = v_reuseFailAlloc_21951_; -goto v_reusejp_21948_; +lean_object* v_reuseFailAlloc_21991_; +v_reuseFailAlloc_21991_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_21991_, 0, v_mctx_21980_); +lean_ctor_set(v_reuseFailAlloc_21991_, 1, v___x_21987_); +lean_ctor_set(v_reuseFailAlloc_21991_, 2, v_zetaDeltaFVarIds_21981_); +lean_ctor_set(v_reuseFailAlloc_21991_, 3, v_postponed_21982_); +lean_ctor_set(v_reuseFailAlloc_21991_, 4, v_diag_21983_); +v___x_21989_ = v_reuseFailAlloc_21991_; +goto v_reusejp_21988_; } -v_reusejp_21948_: +v_reusejp_21988_: { -lean_object* v___x_21950_; -v___x_21950_ = lean_st_ref_set(v___y_21859_, v___x_21949_); -v_a_21863_ = v___x_21884_; -goto v___jp_21862_; +lean_object* v___x_21990_; +v___x_21990_ = lean_st_ref_set(v___y_21899_, v___x_21989_); +v_a_21903_ = v___x_21924_; +goto v___jp_21902_; } } } @@ -63518,1425 +63673,1425 @@ goto v___jp_21862_; } } } -v___jp_21862_: +v___jp_21902_: { -size_t v___x_21864_; size_t v___x_21865_; -v___x_21864_ = ((size_t)1ULL); -v___x_21865_ = lean_usize_add(v_i_21857_, v___x_21864_); -v_i_21857_ = v___x_21865_; -v_b_21858_ = v_a_21863_; +size_t v___x_21904_; size_t v___x_21905_; +v___x_21904_ = ((size_t)1ULL); +v___x_21905_ = lean_usize_add(v_i_21897_, v___x_21904_); +v_i_21897_ = v___x_21905_; +v_b_21898_ = v_a_21903_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg___boxed(lean_object* v_as_21962_, lean_object* v_sz_21963_, lean_object* v_i_21964_, lean_object* v_b_21965_, lean_object* v___y_21966_, lean_object* v___y_21967_, lean_object* v___y_21968_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg___boxed(lean_object* v_as_22002_, lean_object* v_sz_22003_, lean_object* v_i_22004_, lean_object* v_b_22005_, lean_object* v___y_22006_, lean_object* v___y_22007_, lean_object* v___y_22008_){ _start: { -size_t v_sz_boxed_21969_; size_t v_i_boxed_21970_; lean_object* v_res_21971_; -v_sz_boxed_21969_ = lean_unbox_usize(v_sz_21963_); -lean_dec(v_sz_21963_); -v_i_boxed_21970_ = lean_unbox_usize(v_i_21964_); -lean_dec(v_i_21964_); -v_res_21971_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_as_21962_, v_sz_boxed_21969_, v_i_boxed_21970_, v_b_21965_, v___y_21966_, v___y_21967_); -lean_dec(v___y_21967_); -lean_dec(v___y_21966_); -lean_dec_ref(v_as_21962_); -return v_res_21971_; +size_t v_sz_boxed_22009_; size_t v_i_boxed_22010_; lean_object* v_res_22011_; +v_sz_boxed_22009_ = lean_unbox_usize(v_sz_22003_); +lean_dec(v_sz_22003_); +v_i_boxed_22010_ = lean_unbox_usize(v_i_22004_); +lean_dec(v_i_22004_); +v_res_22011_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_as_22002_, v_sz_boxed_22009_, v_i_boxed_22010_, v_b_22005_, v___y_22006_, v___y_22007_); +lean_dec(v___y_22007_); +lean_dec(v___y_22006_); +lean_dec_ref(v_as_22002_); +return v_res_22011_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(size_t v_sz_21972_, size_t v_i_21973_, lean_object* v_bs_21974_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(size_t v_sz_22012_, size_t v_i_22013_, lean_object* v_bs_22014_){ _start: { -uint8_t v___x_21976_; -v___x_21976_ = lean_usize_dec_lt(v_i_21973_, v_sz_21972_); -if (v___x_21976_ == 0) +uint8_t v___x_22016_; +v___x_22016_ = lean_usize_dec_lt(v_i_22013_, v_sz_22012_); +if (v___x_22016_ == 0) { -lean_object* v___x_21977_; -v___x_21977_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_21977_, 0, v_bs_21974_); -return v___x_21977_; +lean_object* v___x_22017_; +v___x_22017_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22017_, 0, v_bs_22014_); +return v___x_22017_; } else { -lean_object* v___x_21978_; lean_object* v___x_21979_; lean_object* v_bs_x27_21980_; size_t v___x_21981_; size_t v___x_21982_; lean_object* v___x_21983_; -v___x_21978_ = lean_io_promise_new(); -v___x_21979_ = lean_unsigned_to_nat(0u); -v_bs_x27_21980_ = lean_array_uset(v_bs_21974_, v_i_21973_, v___x_21979_); -v___x_21981_ = ((size_t)1ULL); -v___x_21982_ = lean_usize_add(v_i_21973_, v___x_21981_); -v___x_21983_ = lean_array_uset(v_bs_x27_21980_, v_i_21973_, v___x_21978_); -v_i_21973_ = v___x_21982_; -v_bs_21974_ = v___x_21983_; +lean_object* v___x_22018_; lean_object* v___x_22019_; lean_object* v_bs_x27_22020_; size_t v___x_22021_; size_t v___x_22022_; lean_object* v___x_22023_; +v___x_22018_ = lean_io_promise_new(); +v___x_22019_ = lean_unsigned_to_nat(0u); +v_bs_x27_22020_ = lean_array_uset(v_bs_22014_, v_i_22013_, v___x_22019_); +v___x_22021_ = ((size_t)1ULL); +v___x_22022_ = lean_usize_add(v_i_22013_, v___x_22021_); +v___x_22023_ = lean_array_uset(v_bs_x27_22020_, v_i_22013_, v___x_22018_); +v_i_22013_ = v___x_22022_; +v_bs_22014_ = v___x_22023_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg___boxed(lean_object* v_sz_21985_, lean_object* v_i_21986_, lean_object* v_bs_21987_, lean_object* v___y_21988_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg___boxed(lean_object* v_sz_22025_, lean_object* v_i_22026_, lean_object* v_bs_22027_, lean_object* v___y_22028_){ _start: { -size_t v_sz_boxed_21989_; size_t v_i_boxed_21990_; lean_object* v_res_21991_; -v_sz_boxed_21989_ = lean_unbox_usize(v_sz_21985_); -lean_dec(v_sz_21985_); -v_i_boxed_21990_ = lean_unbox_usize(v_i_21986_); -lean_dec(v_i_21986_); -v_res_21991_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_boxed_21989_, v_i_boxed_21990_, v_bs_21987_); -return v_res_21991_; +size_t v_sz_boxed_22029_; size_t v_i_boxed_22030_; lean_object* v_res_22031_; +v_sz_boxed_22029_ = lean_unbox_usize(v_sz_22025_); +lean_dec(v_sz_22025_); +v_i_boxed_22030_ = lean_unbox_usize(v_i_22026_); +lean_dec(v_i_22026_); +v_res_22031_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_boxed_22029_, v_i_boxed_22030_, v_bs_22027_); +return v_res_22031_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(lean_object* v_as_21992_, size_t v_i_21993_, size_t v_stop_21994_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(lean_object* v_as_22032_, size_t v_i_22033_, size_t v_stop_22034_){ _start: { -uint8_t v___x_21995_; -v___x_21995_ = lean_usize_dec_eq(v_i_21993_, v_stop_21994_); -if (v___x_21995_ == 0) +uint8_t v___x_22035_; +v___x_22035_ = lean_usize_dec_eq(v_i_22033_, v_stop_22034_); +if (v___x_22035_ == 0) { -lean_object* v___x_21996_; uint8_t v_kind_21997_; lean_object* v_modifiers_21998_; uint8_t v___x_21999_; uint8_t v___x_22000_; uint8_t v___x_22001_; -v___x_21996_ = lean_array_uget_borrowed(v_as_21992_, v_i_21993_); -v_kind_21997_ = lean_ctor_get_uint8(v___x_21996_, sizeof(void*)*10); -v_modifiers_21998_ = lean_ctor_get(v___x_21996_, 2); -v___x_21999_ = 1; -v___x_22000_ = 3; -v___x_22001_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_21997_, v___x_22000_); -if (v___x_22001_ == 0) +lean_object* v___x_22036_; uint8_t v_kind_22037_; lean_object* v_modifiers_22038_; uint8_t v___x_22039_; uint8_t v___x_22040_; uint8_t v___x_22041_; +v___x_22036_ = lean_array_uget_borrowed(v_as_22032_, v_i_22033_); +v_kind_22037_ = lean_ctor_get_uint8(v___x_22036_, sizeof(void*)*10); +v_modifiers_22038_ = lean_ctor_get(v___x_22036_, 2); +v___x_22039_ = 1; +v___x_22040_ = 3; +v___x_22041_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_22037_, v___x_22040_); +if (v___x_22041_ == 0) { -return v___x_21999_; +return v___x_22039_; } else { -uint8_t v___x_22002_; -v___x_22002_ = l_Lean_Elab_Modifiers_isPublic(v_modifiers_21998_); -if (v___x_22002_ == 0) +uint8_t v___x_22042_; +v___x_22042_ = l_Lean_Elab_Modifiers_isPublic(v_modifiers_22038_); +if (v___x_22042_ == 0) { -size_t v___x_22003_; size_t v___x_22004_; -v___x_22003_ = ((size_t)1ULL); -v___x_22004_ = lean_usize_add(v_i_21993_, v___x_22003_); -v_i_21993_ = v___x_22004_; +size_t v___x_22043_; size_t v___x_22044_; +v___x_22043_ = ((size_t)1ULL); +v___x_22044_ = lean_usize_add(v_i_22033_, v___x_22043_); +v_i_22033_ = v___x_22044_; goto _start; } else { -return v___x_21999_; +return v___x_22039_; } } } else { -uint8_t v___x_22006_; -v___x_22006_ = 0; -return v___x_22006_; +uint8_t v___x_22046_; +v___x_22046_ = 0; +return v___x_22046_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11___boxed(lean_object* v_as_22007_, lean_object* v_i_22008_, lean_object* v_stop_22009_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11___boxed(lean_object* v_as_22047_, lean_object* v_i_22048_, lean_object* v_stop_22049_){ _start: { -size_t v_i_boxed_22010_; size_t v_stop_boxed_22011_; uint8_t v_res_22012_; lean_object* v_r_22013_; -v_i_boxed_22010_ = lean_unbox_usize(v_i_22008_); -lean_dec(v_i_22008_); -v_stop_boxed_22011_ = lean_unbox_usize(v_stop_22009_); -lean_dec(v_stop_22009_); -v_res_22012_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(v_as_22007_, v_i_boxed_22010_, v_stop_boxed_22011_); -lean_dec_ref(v_as_22007_); -v_r_22013_ = lean_box(v_res_22012_); -return v_r_22013_; +size_t v_i_boxed_22050_; size_t v_stop_boxed_22051_; uint8_t v_res_22052_; lean_object* v_r_22053_; +v_i_boxed_22050_ = lean_unbox_usize(v_i_22048_); +lean_dec(v_i_22048_); +v_stop_boxed_22051_ = lean_unbox_usize(v_stop_22049_); +lean_dec(v_stop_22049_); +v_res_22052_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(v_as_22047_, v_i_boxed_22050_, v_stop_boxed_22051_); +lean_dec_ref(v_as_22047_); +v_r_22053_ = lean_box(v_res_22052_); +return v_r_22053_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(size_t v_sz_22014_, size_t v_i_22015_, lean_object* v_bs_22016_, lean_object* v___y_22017_, lean_object* v___y_22018_, lean_object* v___y_22019_, lean_object* v___y_22020_, lean_object* v___y_22021_, lean_object* v___y_22022_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(size_t v_sz_22054_, size_t v_i_22055_, lean_object* v_bs_22056_, lean_object* v___y_22057_, lean_object* v___y_22058_, lean_object* v___y_22059_, lean_object* v___y_22060_, lean_object* v___y_22061_, lean_object* v___y_22062_){ _start: { -uint8_t v___x_22024_; -v___x_22024_ = lean_usize_dec_lt(v_i_22015_, v_sz_22014_); -if (v___x_22024_ == 0) +uint8_t v___x_22064_; +v___x_22064_ = lean_usize_dec_lt(v_i_22055_, v_sz_22054_); +if (v___x_22064_ == 0) { -lean_object* v___x_22025_; -lean_dec(v___y_22022_); -lean_dec_ref(v___y_22021_); -lean_dec(v___y_22020_); -lean_dec_ref(v___y_22019_); -lean_dec(v___y_22018_); -lean_dec_ref(v___y_22017_); -v___x_22025_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22025_, 0, v_bs_22016_); -return v___x_22025_; +lean_object* v___x_22065_; +lean_dec(v___y_22062_); +lean_dec_ref(v___y_22061_); +lean_dec(v___y_22060_); +lean_dec_ref(v___y_22059_); +lean_dec(v___y_22058_); +lean_dec_ref(v___y_22057_); +v___x_22065_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22065_, 0, v_bs_22056_); +return v___x_22065_; } else { -lean_object* v_v_22026_; lean_object* v_headerRef_22027_; lean_object* v_modifiers_22028_; lean_object* v_declId_22029_; lean_object* v_fileName_22030_; lean_object* v_fileMap_22031_; lean_object* v_options_22032_; lean_object* v_currRecDepth_22033_; lean_object* v_maxRecDepth_22034_; lean_object* v_ref_22035_; lean_object* v_currNamespace_22036_; lean_object* v_openDecls_22037_; lean_object* v_initHeartbeats_22038_; lean_object* v_maxHeartbeats_22039_; lean_object* v_quotContext_22040_; lean_object* v_currMacroScope_22041_; uint8_t v_diag_22042_; lean_object* v_cancelTk_x3f_22043_; uint8_t v_suppressElabErrors_22044_; lean_object* v_inheritedTraceOptions_22045_; lean_object* v___x_22046_; -v_v_22026_ = lean_array_uget_borrowed(v_bs_22016_, v_i_22015_); -v_headerRef_22027_ = lean_ctor_get(v_v_22026_, 1); -v_modifiers_22028_ = lean_ctor_get(v_v_22026_, 2); -v_declId_22029_ = lean_ctor_get(v_v_22026_, 3); -v_fileName_22030_ = lean_ctor_get(v___y_22021_, 0); -v_fileMap_22031_ = lean_ctor_get(v___y_22021_, 1); -v_options_22032_ = lean_ctor_get(v___y_22021_, 2); -v_currRecDepth_22033_ = lean_ctor_get(v___y_22021_, 3); -v_maxRecDepth_22034_ = lean_ctor_get(v___y_22021_, 4); -v_ref_22035_ = lean_ctor_get(v___y_22021_, 5); -v_currNamespace_22036_ = lean_ctor_get(v___y_22021_, 6); -v_openDecls_22037_ = lean_ctor_get(v___y_22021_, 7); -v_initHeartbeats_22038_ = lean_ctor_get(v___y_22021_, 8); -v_maxHeartbeats_22039_ = lean_ctor_get(v___y_22021_, 9); -v_quotContext_22040_ = lean_ctor_get(v___y_22021_, 10); -v_currMacroScope_22041_ = lean_ctor_get(v___y_22021_, 11); -v_diag_22042_ = lean_ctor_get_uint8(v___y_22021_, sizeof(void*)*14); -v_cancelTk_x3f_22043_ = lean_ctor_get(v___y_22021_, 12); -v_suppressElabErrors_22044_ = lean_ctor_get_uint8(v___y_22021_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_22045_ = lean_ctor_get(v___y_22021_, 13); -v___x_22046_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_22018_); -if (lean_obj_tag(v___x_22046_) == 0) +lean_object* v_v_22066_; lean_object* v_headerRef_22067_; lean_object* v_modifiers_22068_; lean_object* v_declId_22069_; lean_object* v_fileName_22070_; lean_object* v_fileMap_22071_; lean_object* v_options_22072_; lean_object* v_currRecDepth_22073_; lean_object* v_maxRecDepth_22074_; lean_object* v_ref_22075_; lean_object* v_currNamespace_22076_; lean_object* v_openDecls_22077_; lean_object* v_initHeartbeats_22078_; lean_object* v_maxHeartbeats_22079_; lean_object* v_quotContext_22080_; lean_object* v_currMacroScope_22081_; uint8_t v_diag_22082_; lean_object* v_cancelTk_x3f_22083_; uint8_t v_suppressElabErrors_22084_; lean_object* v_inheritedTraceOptions_22085_; lean_object* v___x_22086_; +v_v_22066_ = lean_array_uget_borrowed(v_bs_22056_, v_i_22055_); +v_headerRef_22067_ = lean_ctor_get(v_v_22066_, 1); +v_modifiers_22068_ = lean_ctor_get(v_v_22066_, 2); +v_declId_22069_ = lean_ctor_get(v_v_22066_, 3); +v_fileName_22070_ = lean_ctor_get(v___y_22061_, 0); +v_fileMap_22071_ = lean_ctor_get(v___y_22061_, 1); +v_options_22072_ = lean_ctor_get(v___y_22061_, 2); +v_currRecDepth_22073_ = lean_ctor_get(v___y_22061_, 3); +v_maxRecDepth_22074_ = lean_ctor_get(v___y_22061_, 4); +v_ref_22075_ = lean_ctor_get(v___y_22061_, 5); +v_currNamespace_22076_ = lean_ctor_get(v___y_22061_, 6); +v_openDecls_22077_ = lean_ctor_get(v___y_22061_, 7); +v_initHeartbeats_22078_ = lean_ctor_get(v___y_22061_, 8); +v_maxHeartbeats_22079_ = lean_ctor_get(v___y_22061_, 9); +v_quotContext_22080_ = lean_ctor_get(v___y_22061_, 10); +v_currMacroScope_22081_ = lean_ctor_get(v___y_22061_, 11); +v_diag_22082_ = lean_ctor_get_uint8(v___y_22061_, sizeof(void*)*14); +v_cancelTk_x3f_22083_ = lean_ctor_get(v___y_22061_, 12); +v_suppressElabErrors_22084_ = lean_ctor_get_uint8(v___y_22061_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_22085_ = lean_ctor_get(v___y_22061_, 13); +v___x_22086_ = l_Lean_Elab_Term_getLevelNames___redArg(v___y_22058_); +if (lean_obj_tag(v___x_22086_) == 0) { -lean_object* v_a_22047_; lean_object* v_ref_22048_; lean_object* v___x_22049_; lean_object* v___x_22050_; -v_a_22047_ = lean_ctor_get(v___x_22046_, 0); -lean_inc(v_a_22047_); -lean_dec_ref(v___x_22046_); -v_ref_22048_ = l_Lean_replaceRef(v_headerRef_22027_, v_ref_22035_); -lean_inc_ref(v_inheritedTraceOptions_22045_); -lean_inc(v_cancelTk_x3f_22043_); -lean_inc(v_currMacroScope_22041_); -lean_inc(v_quotContext_22040_); -lean_inc(v_maxHeartbeats_22039_); -lean_inc(v_initHeartbeats_22038_); -lean_inc(v_openDecls_22037_); -lean_inc(v_currNamespace_22036_); -lean_inc(v_maxRecDepth_22034_); -lean_inc(v_currRecDepth_22033_); -lean_inc_ref(v_options_22032_); -lean_inc_ref(v_fileMap_22031_); -lean_inc_ref(v_fileName_22030_); -v___x_22049_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_22049_, 0, v_fileName_22030_); -lean_ctor_set(v___x_22049_, 1, v_fileMap_22031_); -lean_ctor_set(v___x_22049_, 2, v_options_22032_); -lean_ctor_set(v___x_22049_, 3, v_currRecDepth_22033_); -lean_ctor_set(v___x_22049_, 4, v_maxRecDepth_22034_); -lean_ctor_set(v___x_22049_, 5, v_ref_22048_); -lean_ctor_set(v___x_22049_, 6, v_currNamespace_22036_); -lean_ctor_set(v___x_22049_, 7, v_openDecls_22037_); -lean_ctor_set(v___x_22049_, 8, v_initHeartbeats_22038_); -lean_ctor_set(v___x_22049_, 9, v_maxHeartbeats_22039_); -lean_ctor_set(v___x_22049_, 10, v_quotContext_22040_); -lean_ctor_set(v___x_22049_, 11, v_currMacroScope_22041_); -lean_ctor_set(v___x_22049_, 12, v_cancelTk_x3f_22043_); -lean_ctor_set(v___x_22049_, 13, v_inheritedTraceOptions_22045_); -lean_ctor_set_uint8(v___x_22049_, sizeof(void*)*14, v_diag_22042_); -lean_ctor_set_uint8(v___x_22049_, sizeof(void*)*14 + 1, v_suppressElabErrors_22044_); -lean_inc(v___y_22022_); -lean_inc(v___y_22020_); -lean_inc_ref(v___y_22019_); -lean_inc(v___y_22018_); -lean_inc_ref(v___y_22017_); -lean_inc(v_currNamespace_22036_); -v___x_22050_ = l_Lean_Elab_Term_expandDeclId(v_currNamespace_22036_, v_a_22047_, v_declId_22029_, v_modifiers_22028_, v___y_22017_, v___y_22018_, v___y_22019_, v___y_22020_, v___x_22049_, v___y_22022_); -if (lean_obj_tag(v___x_22050_) == 0) +lean_object* v_a_22087_; lean_object* v_ref_22088_; lean_object* v___x_22089_; lean_object* v___x_22090_; +v_a_22087_ = lean_ctor_get(v___x_22086_, 0); +lean_inc(v_a_22087_); +lean_dec_ref(v___x_22086_); +v_ref_22088_ = l_Lean_replaceRef(v_headerRef_22067_, v_ref_22075_); +lean_inc_ref(v_inheritedTraceOptions_22085_); +lean_inc(v_cancelTk_x3f_22083_); +lean_inc(v_currMacroScope_22081_); +lean_inc(v_quotContext_22080_); +lean_inc(v_maxHeartbeats_22079_); +lean_inc(v_initHeartbeats_22078_); +lean_inc(v_openDecls_22077_); +lean_inc(v_currNamespace_22076_); +lean_inc(v_maxRecDepth_22074_); +lean_inc(v_currRecDepth_22073_); +lean_inc_ref(v_options_22072_); +lean_inc_ref(v_fileMap_22071_); +lean_inc_ref(v_fileName_22070_); +v___x_22089_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_22089_, 0, v_fileName_22070_); +lean_ctor_set(v___x_22089_, 1, v_fileMap_22071_); +lean_ctor_set(v___x_22089_, 2, v_options_22072_); +lean_ctor_set(v___x_22089_, 3, v_currRecDepth_22073_); +lean_ctor_set(v___x_22089_, 4, v_maxRecDepth_22074_); +lean_ctor_set(v___x_22089_, 5, v_ref_22088_); +lean_ctor_set(v___x_22089_, 6, v_currNamespace_22076_); +lean_ctor_set(v___x_22089_, 7, v_openDecls_22077_); +lean_ctor_set(v___x_22089_, 8, v_initHeartbeats_22078_); +lean_ctor_set(v___x_22089_, 9, v_maxHeartbeats_22079_); +lean_ctor_set(v___x_22089_, 10, v_quotContext_22080_); +lean_ctor_set(v___x_22089_, 11, v_currMacroScope_22081_); +lean_ctor_set(v___x_22089_, 12, v_cancelTk_x3f_22083_); +lean_ctor_set(v___x_22089_, 13, v_inheritedTraceOptions_22085_); +lean_ctor_set_uint8(v___x_22089_, sizeof(void*)*14, v_diag_22082_); +lean_ctor_set_uint8(v___x_22089_, sizeof(void*)*14 + 1, v_suppressElabErrors_22084_); +lean_inc(v___y_22062_); +lean_inc(v___y_22060_); +lean_inc_ref(v___y_22059_); +lean_inc(v___y_22058_); +lean_inc_ref(v___y_22057_); +lean_inc(v_currNamespace_22076_); +v___x_22090_ = l_Lean_Elab_Term_expandDeclId(v_currNamespace_22076_, v_a_22087_, v_declId_22069_, v_modifiers_22068_, v___y_22057_, v___y_22058_, v___y_22059_, v___y_22060_, v___x_22089_, v___y_22062_); +if (lean_obj_tag(v___x_22090_) == 0) { -lean_object* v_a_22051_; lean_object* v___x_22052_; lean_object* v_bs_x27_22053_; size_t v___x_22054_; size_t v___x_22055_; lean_object* v___x_22056_; -v_a_22051_ = lean_ctor_get(v___x_22050_, 0); -lean_inc(v_a_22051_); -lean_dec_ref(v___x_22050_); -v___x_22052_ = lean_unsigned_to_nat(0u); -v_bs_x27_22053_ = lean_array_uset(v_bs_22016_, v_i_22015_, v___x_22052_); -v___x_22054_ = ((size_t)1ULL); -v___x_22055_ = lean_usize_add(v_i_22015_, v___x_22054_); -v___x_22056_ = lean_array_uset(v_bs_x27_22053_, v_i_22015_, v_a_22051_); -v_i_22015_ = v___x_22055_; -v_bs_22016_ = v___x_22056_; -goto _start; -} -else -{ -lean_object* v_a_22058_; lean_object* v___x_22060_; uint8_t v_isShared_22061_; uint8_t v_isSharedCheck_22065_; -lean_dec(v___y_22022_); -lean_dec_ref(v___y_22021_); -lean_dec(v___y_22020_); -lean_dec_ref(v___y_22019_); -lean_dec(v___y_22018_); -lean_dec_ref(v___y_22017_); -lean_dec_ref(v_bs_22016_); -v_a_22058_ = lean_ctor_get(v___x_22050_, 0); -v_isSharedCheck_22065_ = !lean_is_exclusive(v___x_22050_); -if (v_isSharedCheck_22065_ == 0) -{ -v___x_22060_ = v___x_22050_; -v_isShared_22061_ = v_isSharedCheck_22065_; -goto v_resetjp_22059_; -} -else -{ -lean_inc(v_a_22058_); -lean_dec(v___x_22050_); -v___x_22060_ = lean_box(0); -v_isShared_22061_ = v_isSharedCheck_22065_; -goto v_resetjp_22059_; -} -v_resetjp_22059_: -{ -lean_object* v___x_22063_; -if (v_isShared_22061_ == 0) -{ -v___x_22063_ = v___x_22060_; -goto v_reusejp_22062_; -} -else -{ -lean_object* v_reuseFailAlloc_22064_; -v_reuseFailAlloc_22064_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22064_, 0, v_a_22058_); -v___x_22063_ = v_reuseFailAlloc_22064_; -goto v_reusejp_22062_; -} -v_reusejp_22062_: -{ -return v___x_22063_; -} -} -} -} -else -{ -lean_object* v_a_22066_; lean_object* v___x_22068_; uint8_t v_isShared_22069_; uint8_t v_isSharedCheck_22073_; -lean_dec(v___y_22022_); -lean_dec_ref(v___y_22021_); -lean_dec(v___y_22020_); -lean_dec_ref(v___y_22019_); -lean_dec(v___y_22018_); -lean_dec_ref(v___y_22017_); -lean_dec_ref(v_bs_22016_); -v_a_22066_ = lean_ctor_get(v___x_22046_, 0); -v_isSharedCheck_22073_ = !lean_is_exclusive(v___x_22046_); -if (v_isSharedCheck_22073_ == 0) -{ -v___x_22068_ = v___x_22046_; -v_isShared_22069_ = v_isSharedCheck_22073_; -goto v_resetjp_22067_; -} -else -{ -lean_inc(v_a_22066_); -lean_dec(v___x_22046_); -v___x_22068_ = lean_box(0); -v_isShared_22069_ = v_isSharedCheck_22073_; -goto v_resetjp_22067_; -} -v_resetjp_22067_: -{ -lean_object* v___x_22071_; -if (v_isShared_22069_ == 0) -{ -v___x_22071_ = v___x_22068_; -goto v_reusejp_22070_; -} -else -{ -lean_object* v_reuseFailAlloc_22072_; -v_reuseFailAlloc_22072_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22072_, 0, v_a_22066_); -v___x_22071_ = v_reuseFailAlloc_22072_; -goto v_reusejp_22070_; -} -v_reusejp_22070_: -{ -return v___x_22071_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3___boxed(lean_object* v_sz_22074_, lean_object* v_i_22075_, lean_object* v_bs_22076_, lean_object* v___y_22077_, lean_object* v___y_22078_, lean_object* v___y_22079_, lean_object* v___y_22080_, lean_object* v___y_22081_, lean_object* v___y_22082_, lean_object* v___y_22083_){ -_start: -{ -size_t v_sz_boxed_22084_; size_t v_i_boxed_22085_; lean_object* v_res_22086_; -v_sz_boxed_22084_ = lean_unbox_usize(v_sz_22074_); -lean_dec(v_sz_22074_); -v_i_boxed_22085_ = lean_unbox_usize(v_i_22075_); -lean_dec(v_i_22075_); -v_res_22086_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(v_sz_boxed_22084_, v_i_boxed_22085_, v_bs_22076_, v___y_22077_, v___y_22078_, v___y_22079_, v___y_22080_, v___y_22081_, v___y_22082_); -return v_res_22086_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(lean_object* v_vars_22087_, lean_object* v_sc_22088_, lean_object* v_views_22089_, lean_object* v_a_22090_, lean_object* v_a_22091_, lean_object* v_a_22092_, lean_object* v_a_22093_, lean_object* v_a_22094_, lean_object* v_a_22095_){ -_start: -{ -size_t v_sz_22097_; size_t v___x_22098_; lean_object* v___x_22099_; -v_sz_22097_ = lean_array_size(v_views_22089_); -v___x_22098_ = ((size_t)0ULL); -lean_inc_ref(v_views_22089_); -v___x_22099_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_22097_, v___x_22098_, v_views_22089_); -if (lean_obj_tag(v___x_22099_) == 0) -{ -lean_object* v_a_22100_; lean_object* v___x_22101_; -v_a_22100_ = lean_ctor_get(v___x_22099_, 0); -lean_inc(v_a_22100_); -lean_dec_ref(v___x_22099_); -lean_inc_ref(v_views_22089_); -v___x_22101_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_22097_, v___x_22098_, v_views_22089_); -if (lean_obj_tag(v___x_22101_) == 0) -{ -lean_object* v_a_22102_; lean_object* v___x_22103_; -v_a_22102_ = lean_ctor_get(v___x_22101_, 0); -lean_inc(v_a_22102_); -lean_dec_ref(v___x_22101_); -lean_inc(v_a_22095_); -lean_inc_ref(v_a_22094_); -lean_inc(v_a_22093_); -lean_inc_ref(v_a_22092_); +lean_object* v_a_22091_; lean_object* v___x_22092_; lean_object* v_bs_x27_22093_; size_t v___x_22094_; size_t v___x_22095_; lean_object* v___x_22096_; +v_a_22091_ = lean_ctor_get(v___x_22090_, 0); lean_inc(v_a_22091_); -lean_inc_ref(v_a_22090_); -lean_inc_ref(v_views_22089_); -v___x_22103_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(v_sz_22097_, v___x_22098_, v_views_22089_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -if (lean_obj_tag(v___x_22103_) == 0) -{ -lean_object* v_a_22104_; lean_object* v___x_22105_; lean_object* v___x_22106_; lean_object* v___x_22107_; lean_object* v___x_22108_; -v_a_22104_ = lean_ctor_get(v___x_22103_, 0); -lean_inc(v_a_22104_); -lean_dec_ref(v___x_22103_); -v___x_22105_ = lean_unsigned_to_nat(0u); -v___x_22106_ = lean_array_get_size(v_a_22104_); -lean_inc(v_a_22104_); -v___x_22107_ = l_Array_toSubarray___redArg(v_a_22104_, v___x_22105_, v___x_22106_); -lean_inc_ref(v___x_22107_); -v___x_22108_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_views_22089_, v_sz_22097_, v___x_22098_, v___x_22107_, v_a_22093_, v_a_22095_); -if (lean_obj_tag(v___x_22108_) == 0) -{ -lean_object* v___x_22109_; lean_object* v___x_22110_; lean_object* v___x_22111_; lean_object* v___f_22112_; lean_object* v___x_22113_; lean_object* v___x_22114_; uint8_t v___x_22115_; -lean_dec_ref(v___x_22108_); -v___x_22109_ = l_Lean_Elab_instInhabitedDefViewElabHeader_default; -v___x_22110_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); -v___x_22111_ = lean_box_usize(v_sz_22097_); -lean_inc(v_a_22104_); -lean_inc_ref(v_views_22089_); -v___f_22112_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0___boxed), 19, 12); -lean_closure_set(v___f_22112_, 0, v_views_22089_); -lean_closure_set(v___f_22112_, 1, v_a_22104_); -lean_closure_set(v___f_22112_, 2, v_a_22100_); -lean_closure_set(v___f_22112_, 3, v_a_22102_); -lean_closure_set(v___f_22112_, 4, v___x_22110_); -lean_closure_set(v___f_22112_, 5, v___x_22111_); -lean_closure_set(v___f_22112_, 6, v___x_22107_); -lean_closure_set(v___f_22112_, 7, v_vars_22087_); -lean_closure_set(v___f_22112_, 8, v_sc_22088_); -lean_closure_set(v___f_22112_, 9, v___x_22106_); -lean_closure_set(v___f_22112_, 10, v___x_22105_); -lean_closure_set(v___f_22112_, 11, v___x_22109_); -v___x_22113_ = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed), 9, 2); -lean_closure_set(v___x_22113_, 0, lean_box(0)); -lean_closure_set(v___x_22113_, 1, v___f_22112_); -v___x_22114_ = lean_array_get_size(v_views_22089_); -v___x_22115_ = lean_nat_dec_lt(v___x_22105_, v___x_22114_); -if (v___x_22115_ == 0) -{ -lean_object* v___x_22116_; -lean_dec(v_a_22104_); -lean_dec_ref(v_views_22089_); -v___x_22116_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22115_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22116_; +lean_dec_ref(v___x_22090_); +v___x_22092_ = lean_unsigned_to_nat(0u); +v_bs_x27_22093_ = lean_array_uset(v_bs_22056_, v_i_22055_, v___x_22092_); +v___x_22094_ = ((size_t)1ULL); +v___x_22095_ = lean_usize_add(v_i_22055_, v___x_22094_); +v___x_22096_ = lean_array_uset(v_bs_x27_22093_, v_i_22055_, v_a_22091_); +v_i_22055_ = v___x_22095_; +v_bs_22056_ = v___x_22096_; +goto _start; } else { -if (v___x_22115_ == 0) +lean_object* v_a_22098_; lean_object* v___x_22100_; uint8_t v_isShared_22101_; uint8_t v_isSharedCheck_22105_; +lean_dec(v___y_22062_); +lean_dec_ref(v___y_22061_); +lean_dec(v___y_22060_); +lean_dec_ref(v___y_22059_); +lean_dec(v___y_22058_); +lean_dec_ref(v___y_22057_); +lean_dec_ref(v_bs_22056_); +v_a_22098_ = lean_ctor_get(v___x_22090_, 0); +v_isSharedCheck_22105_ = !lean_is_exclusive(v___x_22090_); +if (v_isSharedCheck_22105_ == 0) { -lean_object* v___x_22117_; -lean_dec(v_a_22104_); -lean_dec_ref(v_views_22089_); -v___x_22117_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22115_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22117_; +v___x_22100_ = v___x_22090_; +v_isShared_22101_ = v_isSharedCheck_22105_; +goto v_resetjp_22099_; } else { -size_t v___x_22118_; uint8_t v___x_22119_; -v___x_22118_ = lean_usize_of_nat(v___x_22114_); -v___x_22119_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(v_views_22089_, v___x_22098_, v___x_22118_); -lean_dec_ref(v_views_22089_); -if (v___x_22119_ == 0) +lean_inc(v_a_22098_); +lean_dec(v___x_22090_); +v___x_22100_ = lean_box(0); +v_isShared_22101_ = v_isSharedCheck_22105_; +goto v_resetjp_22099_; +} +v_resetjp_22099_: { -lean_object* v___x_22120_; -lean_dec(v_a_22104_); -v___x_22120_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22119_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22120_; +lean_object* v___x_22103_; +if (v_isShared_22101_ == 0) +{ +v___x_22103_ = v___x_22100_; +goto v_reusejp_22102_; } else { -uint8_t v___x_22121_; -v___x_22121_ = lean_nat_dec_lt(v___x_22105_, v___x_22106_); -if (v___x_22121_ == 0) -{ -lean_object* v___x_22122_; -lean_dec(v_a_22104_); -v___x_22122_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22121_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22122_; +lean_object* v_reuseFailAlloc_22104_; +v_reuseFailAlloc_22104_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22104_, 0, v_a_22098_); +v___x_22103_ = v_reuseFailAlloc_22104_; +goto v_reusejp_22102_; } -else +v_reusejp_22102_: { -if (v___x_22121_ == 0) -{ -lean_object* v___x_22123_; -lean_dec(v_a_22104_); -v___x_22123_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22121_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22123_; -} -else -{ -size_t v___x_22124_; uint8_t v___x_22125_; lean_object* v___x_22126_; -v___x_22124_ = lean_usize_of_nat(v___x_22106_); -v___x_22125_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(v___x_22119_, v_a_22104_, v___x_22098_, v___x_22124_); -lean_dec(v_a_22104_); -v___x_22126_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22113_, v___x_22125_, v_a_22090_, v_a_22091_, v_a_22092_, v_a_22093_, v_a_22094_, v_a_22095_); -return v___x_22126_; -} -} +return v___x_22103_; } } } } else { -lean_object* v_a_22127_; lean_object* v___x_22129_; uint8_t v_isShared_22130_; uint8_t v_isSharedCheck_22134_; -lean_dec_ref(v___x_22107_); -lean_dec(v_a_22104_); -lean_dec(v_a_22102_); -lean_dec(v_a_22100_); -lean_dec(v_a_22095_); -lean_dec_ref(v_a_22094_); -lean_dec(v_a_22093_); -lean_dec_ref(v_a_22092_); -lean_dec(v_a_22091_); -lean_dec_ref(v_a_22090_); -lean_dec_ref(v_views_22089_); -lean_dec_ref(v_sc_22088_); -lean_dec_ref(v_vars_22087_); -v_a_22127_ = lean_ctor_get(v___x_22108_, 0); -v_isSharedCheck_22134_ = !lean_is_exclusive(v___x_22108_); -if (v_isSharedCheck_22134_ == 0) +lean_object* v_a_22106_; lean_object* v___x_22108_; uint8_t v_isShared_22109_; uint8_t v_isSharedCheck_22113_; +lean_dec(v___y_22062_); +lean_dec_ref(v___y_22061_); +lean_dec(v___y_22060_); +lean_dec_ref(v___y_22059_); +lean_dec(v___y_22058_); +lean_dec_ref(v___y_22057_); +lean_dec_ref(v_bs_22056_); +v_a_22106_ = lean_ctor_get(v___x_22086_, 0); +v_isSharedCheck_22113_ = !lean_is_exclusive(v___x_22086_); +if (v_isSharedCheck_22113_ == 0) { -v___x_22129_ = v___x_22108_; -v_isShared_22130_ = v_isSharedCheck_22134_; -goto v_resetjp_22128_; +v___x_22108_ = v___x_22086_; +v_isShared_22109_ = v_isSharedCheck_22113_; +goto v_resetjp_22107_; } else { -lean_inc(v_a_22127_); -lean_dec(v___x_22108_); -v___x_22129_ = lean_box(0); -v_isShared_22130_ = v_isSharedCheck_22134_; -goto v_resetjp_22128_; +lean_inc(v_a_22106_); +lean_dec(v___x_22086_); +v___x_22108_ = lean_box(0); +v_isShared_22109_ = v_isSharedCheck_22113_; +goto v_resetjp_22107_; } -v_resetjp_22128_: +v_resetjp_22107_: { -lean_object* v___x_22132_; -if (v_isShared_22130_ == 0) +lean_object* v___x_22111_; +if (v_isShared_22109_ == 0) { -v___x_22132_ = v___x_22129_; -goto v_reusejp_22131_; +v___x_22111_ = v___x_22108_; +goto v_reusejp_22110_; } else { -lean_object* v_reuseFailAlloc_22133_; -v_reuseFailAlloc_22133_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22133_, 0, v_a_22127_); -v___x_22132_ = v_reuseFailAlloc_22133_; -goto v_reusejp_22131_; +lean_object* v_reuseFailAlloc_22112_; +v_reuseFailAlloc_22112_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22112_, 0, v_a_22106_); +v___x_22111_ = v_reuseFailAlloc_22112_; +goto v_reusejp_22110_; } -v_reusejp_22131_: +v_reusejp_22110_: { -return v___x_22132_; +return v___x_22111_; } } } } -else +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3___boxed(lean_object* v_sz_22114_, lean_object* v_i_22115_, lean_object* v_bs_22116_, lean_object* v___y_22117_, lean_object* v___y_22118_, lean_object* v___y_22119_, lean_object* v___y_22120_, lean_object* v___y_22121_, lean_object* v___y_22122_, lean_object* v___y_22123_){ +_start: { -lean_object* v_a_22135_; lean_object* v___x_22137_; uint8_t v_isShared_22138_; uint8_t v_isSharedCheck_22142_; -lean_dec(v_a_22102_); -lean_dec(v_a_22100_); -lean_dec(v_a_22095_); -lean_dec_ref(v_a_22094_); -lean_dec(v_a_22093_); -lean_dec_ref(v_a_22092_); -lean_dec(v_a_22091_); -lean_dec_ref(v_a_22090_); -lean_dec_ref(v_views_22089_); -lean_dec_ref(v_sc_22088_); -lean_dec_ref(v_vars_22087_); -v_a_22135_ = lean_ctor_get(v___x_22103_, 0); -v_isSharedCheck_22142_ = !lean_is_exclusive(v___x_22103_); -if (v_isSharedCheck_22142_ == 0) -{ -v___x_22137_ = v___x_22103_; -v_isShared_22138_ = v_isSharedCheck_22142_; -goto v_resetjp_22136_; +size_t v_sz_boxed_22124_; size_t v_i_boxed_22125_; lean_object* v_res_22126_; +v_sz_boxed_22124_ = lean_unbox_usize(v_sz_22114_); +lean_dec(v_sz_22114_); +v_i_boxed_22125_ = lean_unbox_usize(v_i_22115_); +lean_dec(v_i_22115_); +v_res_22126_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(v_sz_boxed_22124_, v_i_boxed_22125_, v_bs_22116_, v___y_22117_, v___y_22118_, v___y_22119_, v___y_22120_, v___y_22121_, v___y_22122_); +return v_res_22126_; } -else +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(lean_object* v_vars_22127_, lean_object* v_sc_22128_, lean_object* v_views_22129_, lean_object* v_a_22130_, lean_object* v_a_22131_, lean_object* v_a_22132_, lean_object* v_a_22133_, lean_object* v_a_22134_, lean_object* v_a_22135_){ +_start: { +size_t v_sz_22137_; size_t v___x_22138_; lean_object* v___x_22139_; +v_sz_22137_ = lean_array_size(v_views_22129_); +v___x_22138_ = ((size_t)0ULL); +lean_inc_ref(v_views_22129_); +v___x_22139_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_22137_, v___x_22138_, v_views_22129_); +if (lean_obj_tag(v___x_22139_) == 0) +{ +lean_object* v_a_22140_; lean_object* v___x_22141_; +v_a_22140_ = lean_ctor_get(v___x_22139_, 0); +lean_inc(v_a_22140_); +lean_dec_ref(v___x_22139_); +lean_inc_ref(v_views_22129_); +v___x_22141_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_22137_, v___x_22138_, v_views_22129_); +if (lean_obj_tag(v___x_22141_) == 0) +{ +lean_object* v_a_22142_; lean_object* v___x_22143_; +v_a_22142_ = lean_ctor_get(v___x_22141_, 0); +lean_inc(v_a_22142_); +lean_dec_ref(v___x_22141_); lean_inc(v_a_22135_); -lean_dec(v___x_22103_); -v___x_22137_ = lean_box(0); -v_isShared_22138_ = v_isSharedCheck_22142_; -goto v_resetjp_22136_; -} -v_resetjp_22136_: +lean_inc_ref(v_a_22134_); +lean_inc(v_a_22133_); +lean_inc_ref(v_a_22132_); +lean_inc(v_a_22131_); +lean_inc_ref(v_a_22130_); +lean_inc_ref(v_views_22129_); +v___x_22143_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__3(v_sz_22137_, v___x_22138_, v_views_22129_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +if (lean_obj_tag(v___x_22143_) == 0) { -lean_object* v___x_22140_; -if (v_isShared_22138_ == 0) +lean_object* v_a_22144_; lean_object* v___x_22145_; lean_object* v___x_22146_; lean_object* v___x_22147_; lean_object* v___x_22148_; +v_a_22144_ = lean_ctor_get(v___x_22143_, 0); +lean_inc(v_a_22144_); +lean_dec_ref(v___x_22143_); +v___x_22145_ = lean_unsigned_to_nat(0u); +v___x_22146_ = lean_array_get_size(v_a_22144_); +lean_inc(v_a_22144_); +v___x_22147_ = l_Array_toSubarray___redArg(v_a_22144_, v___x_22145_, v___x_22146_); +lean_inc_ref(v___x_22147_); +v___x_22148_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_views_22129_, v_sz_22137_, v___x_22138_, v___x_22147_, v_a_22133_, v_a_22135_); +if (lean_obj_tag(v___x_22148_) == 0) { -v___x_22140_ = v___x_22137_; -goto v_reusejp_22139_; -} -else -{ -lean_object* v_reuseFailAlloc_22141_; -v_reuseFailAlloc_22141_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22141_, 0, v_a_22135_); -v___x_22140_ = v_reuseFailAlloc_22141_; -goto v_reusejp_22139_; -} -v_reusejp_22139_: -{ -return v___x_22140_; -} -} -} -} -else -{ -lean_object* v_a_22143_; lean_object* v___x_22145_; uint8_t v_isShared_22146_; uint8_t v_isSharedCheck_22150_; -lean_dec(v_a_22100_); -lean_dec(v_a_22095_); -lean_dec_ref(v_a_22094_); -lean_dec(v_a_22093_); -lean_dec_ref(v_a_22092_); -lean_dec(v_a_22091_); -lean_dec_ref(v_a_22090_); -lean_dec_ref(v_views_22089_); -lean_dec_ref(v_sc_22088_); -lean_dec_ref(v_vars_22087_); -v_a_22143_ = lean_ctor_get(v___x_22101_, 0); -v_isSharedCheck_22150_ = !lean_is_exclusive(v___x_22101_); -if (v_isSharedCheck_22150_ == 0) -{ -v___x_22145_ = v___x_22101_; -v_isShared_22146_ = v_isSharedCheck_22150_; -goto v_resetjp_22144_; -} -else -{ -lean_inc(v_a_22143_); -lean_dec(v___x_22101_); -v___x_22145_ = lean_box(0); -v_isShared_22146_ = v_isSharedCheck_22150_; -goto v_resetjp_22144_; -} -v_resetjp_22144_: -{ -lean_object* v___x_22148_; -if (v_isShared_22146_ == 0) -{ -v___x_22148_ = v___x_22145_; -goto v_reusejp_22147_; -} -else -{ -lean_object* v_reuseFailAlloc_22149_; -v_reuseFailAlloc_22149_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22149_, 0, v_a_22143_); -v___x_22148_ = v_reuseFailAlloc_22149_; -goto v_reusejp_22147_; -} -v_reusejp_22147_: -{ -return v___x_22148_; -} -} -} -} -else -{ -lean_object* v_a_22151_; lean_object* v___x_22153_; uint8_t v_isShared_22154_; uint8_t v_isSharedCheck_22158_; -lean_dec(v_a_22095_); -lean_dec_ref(v_a_22094_); -lean_dec(v_a_22093_); -lean_dec_ref(v_a_22092_); -lean_dec(v_a_22091_); -lean_dec_ref(v_a_22090_); -lean_dec_ref(v_views_22089_); -lean_dec_ref(v_sc_22088_); -lean_dec_ref(v_vars_22087_); -v_a_22151_ = lean_ctor_get(v___x_22099_, 0); -v_isSharedCheck_22158_ = !lean_is_exclusive(v___x_22099_); -if (v_isSharedCheck_22158_ == 0) -{ -v___x_22153_ = v___x_22099_; -v_isShared_22154_ = v_isSharedCheck_22158_; -goto v_resetjp_22152_; -} -else -{ -lean_inc(v_a_22151_); -lean_dec(v___x_22099_); -v___x_22153_ = lean_box(0); -v_isShared_22154_ = v_isSharedCheck_22158_; -goto v_resetjp_22152_; -} -v_resetjp_22152_: +lean_object* v___x_22149_; lean_object* v___x_22150_; lean_object* v___x_22151_; lean_object* v___f_22152_; lean_object* v___x_22153_; lean_object* v___x_22154_; uint8_t v___x_22155_; +lean_dec_ref(v___x_22148_); +v___x_22149_ = l_Lean_Elab_instInhabitedDefViewElabHeader_default; +v___x_22150_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); +v___x_22151_ = lean_box_usize(v_sz_22137_); +lean_inc(v_a_22144_); +lean_inc_ref(v_views_22129_); +v___f_22152_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___lam__0___boxed), 19, 12); +lean_closure_set(v___f_22152_, 0, v_views_22129_); +lean_closure_set(v___f_22152_, 1, v_a_22144_); +lean_closure_set(v___f_22152_, 2, v_a_22140_); +lean_closure_set(v___f_22152_, 3, v_a_22142_); +lean_closure_set(v___f_22152_, 4, v___x_22150_); +lean_closure_set(v___f_22152_, 5, v___x_22151_); +lean_closure_set(v___f_22152_, 6, v___x_22147_); +lean_closure_set(v___f_22152_, 7, v_vars_22127_); +lean_closure_set(v___f_22152_, 8, v_sc_22128_); +lean_closure_set(v___f_22152_, 9, v___x_22146_); +lean_closure_set(v___f_22152_, 10, v___x_22145_); +lean_closure_set(v___f_22152_, 11, v___x_22149_); +v___x_22153_ = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed), 9, 2); +lean_closure_set(v___x_22153_, 0, lean_box(0)); +lean_closure_set(v___x_22153_, 1, v___f_22152_); +v___x_22154_ = lean_array_get_size(v_views_22129_); +v___x_22155_ = lean_nat_dec_lt(v___x_22145_, v___x_22154_); +if (v___x_22155_ == 0) { lean_object* v___x_22156_; -if (v_isShared_22154_ == 0) -{ -v___x_22156_ = v___x_22153_; -goto v_reusejp_22155_; +lean_dec(v_a_22144_); +lean_dec_ref(v_views_22129_); +v___x_22156_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22155_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22156_; } else { -lean_object* v_reuseFailAlloc_22157_; -v_reuseFailAlloc_22157_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22157_, 0, v_a_22151_); -v___x_22156_ = v_reuseFailAlloc_22157_; -goto v_reusejp_22155_; -} -v_reusejp_22155_: +if (v___x_22155_ == 0) { -return v___x_22156_; +lean_object* v___x_22157_; +lean_dec(v_a_22144_); +lean_dec_ref(v_views_22129_); +v___x_22157_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22155_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22157_; } -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___boxed(lean_object* v_vars_22159_, lean_object* v_sc_22160_, lean_object* v_views_22161_, lean_object* v_a_22162_, lean_object* v_a_22163_, lean_object* v_a_22164_, lean_object* v_a_22165_, lean_object* v_a_22166_, lean_object* v_a_22167_, lean_object* v_a_22168_){ -_start: +else { -lean_object* v_res_22169_; -v_res_22169_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22159_, v_sc_22160_, v_views_22161_, v_a_22162_, v_a_22163_, v_a_22164_, v_a_22165_, v_a_22166_, v_a_22167_); -return v_res_22169_; +size_t v___x_22158_; uint8_t v___x_22159_; +v___x_22158_ = lean_usize_of_nat(v___x_22154_); +v___x_22159_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__11(v_views_22129_, v___x_22138_, v___x_22158_); +lean_dec_ref(v_views_22129_); +if (v___x_22159_ == 0) +{ +lean_object* v___x_22160_; +lean_dec(v_a_22144_); +v___x_22160_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22159_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22160_; +} +else +{ +uint8_t v___x_22161_; +v___x_22161_ = lean_nat_dec_lt(v___x_22145_, v___x_22146_); +if (v___x_22161_ == 0) +{ +lean_object* v___x_22162_; +lean_dec(v_a_22144_); +v___x_22162_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22161_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22162_; +} +else +{ +if (v___x_22161_ == 0) +{ +lean_object* v___x_22163_; +lean_dec(v_a_22144_); +v___x_22163_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22161_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22163_; +} +else +{ +size_t v___x_22164_; uint8_t v___x_22165_; lean_object* v___x_22166_; +v___x_22164_ = lean_usize_of_nat(v___x_22146_); +v___x_22165_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__12(v___x_22159_, v_a_22144_, v___x_22138_, v___x_22164_); +lean_dec(v_a_22144_); +v___x_22166_ = l_Lean_withExporting___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__5___redArg(v___x_22153_, v___x_22165_, v_a_22130_, v_a_22131_, v_a_22132_, v_a_22133_, v_a_22134_, v_a_22135_); +return v___x_22166_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1(size_t v_sz_22170_, size_t v_i_22171_, lean_object* v_bs_22172_, lean_object* v___y_22173_, lean_object* v___y_22174_, lean_object* v___y_22175_, lean_object* v___y_22176_, lean_object* v___y_22177_, lean_object* v___y_22178_){ -_start: +} +} +} +} +else +{ +lean_object* v_a_22167_; lean_object* v___x_22169_; uint8_t v_isShared_22170_; uint8_t v_isSharedCheck_22174_; +lean_dec_ref(v___x_22147_); +lean_dec(v_a_22144_); +lean_dec(v_a_22142_); +lean_dec(v_a_22140_); +lean_dec(v_a_22135_); +lean_dec_ref(v_a_22134_); +lean_dec(v_a_22133_); +lean_dec_ref(v_a_22132_); +lean_dec(v_a_22131_); +lean_dec_ref(v_a_22130_); +lean_dec_ref(v_views_22129_); +lean_dec_ref(v_sc_22128_); +lean_dec_ref(v_vars_22127_); +v_a_22167_ = lean_ctor_get(v___x_22148_, 0); +v_isSharedCheck_22174_ = !lean_is_exclusive(v___x_22148_); +if (v_isSharedCheck_22174_ == 0) +{ +v___x_22169_ = v___x_22148_; +v_isShared_22170_ = v_isSharedCheck_22174_; +goto v_resetjp_22168_; +} +else +{ +lean_inc(v_a_22167_); +lean_dec(v___x_22148_); +v___x_22169_ = lean_box(0); +v_isShared_22170_ = v_isSharedCheck_22174_; +goto v_resetjp_22168_; +} +v_resetjp_22168_: +{ +lean_object* v___x_22172_; +if (v_isShared_22170_ == 0) +{ +v___x_22172_ = v___x_22169_; +goto v_reusejp_22171_; +} +else +{ +lean_object* v_reuseFailAlloc_22173_; +v_reuseFailAlloc_22173_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22173_, 0, v_a_22167_); +v___x_22172_ = v_reuseFailAlloc_22173_; +goto v_reusejp_22171_; +} +v_reusejp_22171_: +{ +return v___x_22172_; +} +} +} +} +else +{ +lean_object* v_a_22175_; lean_object* v___x_22177_; uint8_t v_isShared_22178_; uint8_t v_isSharedCheck_22182_; +lean_dec(v_a_22142_); +lean_dec(v_a_22140_); +lean_dec(v_a_22135_); +lean_dec_ref(v_a_22134_); +lean_dec(v_a_22133_); +lean_dec_ref(v_a_22132_); +lean_dec(v_a_22131_); +lean_dec_ref(v_a_22130_); +lean_dec_ref(v_views_22129_); +lean_dec_ref(v_sc_22128_); +lean_dec_ref(v_vars_22127_); +v_a_22175_ = lean_ctor_get(v___x_22143_, 0); +v_isSharedCheck_22182_ = !lean_is_exclusive(v___x_22143_); +if (v_isSharedCheck_22182_ == 0) +{ +v___x_22177_ = v___x_22143_; +v_isShared_22178_ = v_isSharedCheck_22182_; +goto v_resetjp_22176_; +} +else +{ +lean_inc(v_a_22175_); +lean_dec(v___x_22143_); +v___x_22177_ = lean_box(0); +v_isShared_22178_ = v_isSharedCheck_22182_; +goto v_resetjp_22176_; +} +v_resetjp_22176_: { lean_object* v___x_22180_; -v___x_22180_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_22170_, v_i_22171_, v_bs_22172_); +if (v_isShared_22178_ == 0) +{ +v___x_22180_ = v___x_22177_; +goto v_reusejp_22179_; +} +else +{ +lean_object* v_reuseFailAlloc_22181_; +v_reuseFailAlloc_22181_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22181_, 0, v_a_22175_); +v___x_22180_ = v_reuseFailAlloc_22181_; +goto v_reusejp_22179_; +} +v_reusejp_22179_: +{ return v___x_22180_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___boxed(lean_object* v_sz_22181_, lean_object* v_i_22182_, lean_object* v_bs_22183_, lean_object* v___y_22184_, lean_object* v___y_22185_, lean_object* v___y_22186_, lean_object* v___y_22187_, lean_object* v___y_22188_, lean_object* v___y_22189_, lean_object* v___y_22190_){ +} +} +else +{ +lean_object* v_a_22183_; lean_object* v___x_22185_; uint8_t v_isShared_22186_; uint8_t v_isSharedCheck_22190_; +lean_dec(v_a_22140_); +lean_dec(v_a_22135_); +lean_dec_ref(v_a_22134_); +lean_dec(v_a_22133_); +lean_dec_ref(v_a_22132_); +lean_dec(v_a_22131_); +lean_dec_ref(v_a_22130_); +lean_dec_ref(v_views_22129_); +lean_dec_ref(v_sc_22128_); +lean_dec_ref(v_vars_22127_); +v_a_22183_ = lean_ctor_get(v___x_22141_, 0); +v_isSharedCheck_22190_ = !lean_is_exclusive(v___x_22141_); +if (v_isSharedCheck_22190_ == 0) +{ +v___x_22185_ = v___x_22141_; +v_isShared_22186_ = v_isSharedCheck_22190_; +goto v_resetjp_22184_; +} +else +{ +lean_inc(v_a_22183_); +lean_dec(v___x_22141_); +v___x_22185_ = lean_box(0); +v_isShared_22186_ = v_isSharedCheck_22190_; +goto v_resetjp_22184_; +} +v_resetjp_22184_: +{ +lean_object* v___x_22188_; +if (v_isShared_22186_ == 0) +{ +v___x_22188_ = v___x_22185_; +goto v_reusejp_22187_; +} +else +{ +lean_object* v_reuseFailAlloc_22189_; +v_reuseFailAlloc_22189_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22189_, 0, v_a_22183_); +v___x_22188_ = v_reuseFailAlloc_22189_; +goto v_reusejp_22187_; +} +v_reusejp_22187_: +{ +return v___x_22188_; +} +} +} +} +else +{ +lean_object* v_a_22191_; lean_object* v___x_22193_; uint8_t v_isShared_22194_; uint8_t v_isSharedCheck_22198_; +lean_dec(v_a_22135_); +lean_dec_ref(v_a_22134_); +lean_dec(v_a_22133_); +lean_dec_ref(v_a_22132_); +lean_dec(v_a_22131_); +lean_dec_ref(v_a_22130_); +lean_dec_ref(v_views_22129_); +lean_dec_ref(v_sc_22128_); +lean_dec_ref(v_vars_22127_); +v_a_22191_ = lean_ctor_get(v___x_22139_, 0); +v_isSharedCheck_22198_ = !lean_is_exclusive(v___x_22139_); +if (v_isSharedCheck_22198_ == 0) +{ +v___x_22193_ = v___x_22139_; +v_isShared_22194_ = v_isSharedCheck_22198_; +goto v_resetjp_22192_; +} +else +{ +lean_inc(v_a_22191_); +lean_dec(v___x_22139_); +v___x_22193_ = lean_box(0); +v_isShared_22194_ = v_isSharedCheck_22198_; +goto v_resetjp_22192_; +} +v_resetjp_22192_: +{ +lean_object* v___x_22196_; +if (v_isShared_22194_ == 0) +{ +v___x_22196_ = v___x_22193_; +goto v_reusejp_22195_; +} +else +{ +lean_object* v_reuseFailAlloc_22197_; +v_reuseFailAlloc_22197_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22197_, 0, v_a_22191_); +v___x_22196_ = v_reuseFailAlloc_22197_; +goto v_reusejp_22195_; +} +v_reusejp_22195_: +{ +return v___x_22196_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go___boxed(lean_object* v_vars_22199_, lean_object* v_sc_22200_, lean_object* v_views_22201_, lean_object* v_a_22202_, lean_object* v_a_22203_, lean_object* v_a_22204_, lean_object* v_a_22205_, lean_object* v_a_22206_, lean_object* v_a_22207_, lean_object* v_a_22208_){ _start: { -size_t v_sz_boxed_22191_; size_t v_i_boxed_22192_; lean_object* v_res_22193_; -v_sz_boxed_22191_ = lean_unbox_usize(v_sz_22181_); -lean_dec(v_sz_22181_); -v_i_boxed_22192_ = lean_unbox_usize(v_i_22182_); -lean_dec(v_i_22182_); -v_res_22193_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1(v_sz_boxed_22191_, v_i_boxed_22192_, v_bs_22183_, v___y_22184_, v___y_22185_, v___y_22186_, v___y_22187_, v___y_22188_, v___y_22189_); -lean_dec(v___y_22189_); -lean_dec_ref(v___y_22188_); -lean_dec(v___y_22187_); -lean_dec_ref(v___y_22186_); -lean_dec(v___y_22185_); -lean_dec_ref(v___y_22184_); -return v_res_22193_; +lean_object* v_res_22209_; +v_res_22209_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22199_, v_sc_22200_, v_views_22201_, v_a_22202_, v_a_22203_, v_a_22204_, v_a_22205_, v_a_22206_, v_a_22207_); +return v_res_22209_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2(size_t v_sz_22194_, size_t v_i_22195_, lean_object* v_bs_22196_, lean_object* v___y_22197_, lean_object* v___y_22198_, lean_object* v___y_22199_, lean_object* v___y_22200_, lean_object* v___y_22201_, lean_object* v___y_22202_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1(size_t v_sz_22210_, size_t v_i_22211_, lean_object* v_bs_22212_, lean_object* v___y_22213_, lean_object* v___y_22214_, lean_object* v___y_22215_, lean_object* v___y_22216_, lean_object* v___y_22217_, lean_object* v___y_22218_){ _start: { -lean_object* v___x_22204_; -v___x_22204_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_22194_, v_i_22195_, v_bs_22196_); -return v___x_22204_; +lean_object* v___x_22220_; +v___x_22220_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___redArg(v_sz_22210_, v_i_22211_, v_bs_22212_); +return v___x_22220_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___boxed(lean_object* v_sz_22205_, lean_object* v_i_22206_, lean_object* v_bs_22207_, lean_object* v___y_22208_, lean_object* v___y_22209_, lean_object* v___y_22210_, lean_object* v___y_22211_, lean_object* v___y_22212_, lean_object* v___y_22213_, lean_object* v___y_22214_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1___boxed(lean_object* v_sz_22221_, lean_object* v_i_22222_, lean_object* v_bs_22223_, lean_object* v___y_22224_, lean_object* v___y_22225_, lean_object* v___y_22226_, lean_object* v___y_22227_, lean_object* v___y_22228_, lean_object* v___y_22229_, lean_object* v___y_22230_){ _start: { -size_t v_sz_boxed_22215_; size_t v_i_boxed_22216_; lean_object* v_res_22217_; -v_sz_boxed_22215_ = lean_unbox_usize(v_sz_22205_); -lean_dec(v_sz_22205_); -v_i_boxed_22216_ = lean_unbox_usize(v_i_22206_); -lean_dec(v_i_22206_); -v_res_22217_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2(v_sz_boxed_22215_, v_i_boxed_22216_, v_bs_22207_, v___y_22208_, v___y_22209_, v___y_22210_, v___y_22211_, v___y_22212_, v___y_22213_); -lean_dec(v___y_22213_); -lean_dec_ref(v___y_22212_); -lean_dec(v___y_22211_); -lean_dec_ref(v___y_22210_); -lean_dec(v___y_22209_); -lean_dec_ref(v___y_22208_); -return v_res_22217_; -} -} -LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6(lean_object* v_msgData_22218_, lean_object* v___y_22219_, lean_object* v___y_22220_, lean_object* v___y_22221_, lean_object* v___y_22222_, lean_object* v___y_22223_, lean_object* v___y_22224_){ -_start: -{ -lean_object* v___x_22226_; -v___x_22226_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v_msgData_22218_, v___y_22221_, v___y_22222_, v___y_22223_, v___y_22224_); -return v___x_22226_; -} -} -LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___boxed(lean_object* v_msgData_22227_, lean_object* v___y_22228_, lean_object* v___y_22229_, lean_object* v___y_22230_, lean_object* v___y_22231_, lean_object* v___y_22232_, lean_object* v___y_22233_, lean_object* v___y_22234_){ -_start: -{ -lean_object* v_res_22235_; -v_res_22235_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6(v_msgData_22227_, v___y_22228_, v___y_22229_, v___y_22230_, v___y_22231_, v___y_22232_, v___y_22233_); -lean_dec(v___y_22233_); -lean_dec(v___y_22231_); -lean_dec_ref(v___y_22230_); +size_t v_sz_boxed_22231_; size_t v_i_boxed_22232_; lean_object* v_res_22233_; +v_sz_boxed_22231_ = lean_unbox_usize(v_sz_22221_); +lean_dec(v_sz_22221_); +v_i_boxed_22232_ = lean_unbox_usize(v_i_22222_); +lean_dec(v_i_22222_); +v_res_22233_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__1(v_sz_boxed_22231_, v_i_boxed_22232_, v_bs_22223_, v___y_22224_, v___y_22225_, v___y_22226_, v___y_22227_, v___y_22228_, v___y_22229_); lean_dec(v___y_22229_); lean_dec_ref(v___y_22228_); -return v_res_22235_; +lean_dec(v___y_22227_); +lean_dec_ref(v___y_22226_); +lean_dec(v___y_22225_); +lean_dec_ref(v___y_22224_); +return v_res_22233_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10(lean_object* v_as_22236_, size_t v_sz_22237_, size_t v_i_22238_, lean_object* v_b_22239_, lean_object* v___y_22240_, lean_object* v___y_22241_, lean_object* v___y_22242_, lean_object* v___y_22243_, lean_object* v___y_22244_, lean_object* v___y_22245_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2(size_t v_sz_22234_, size_t v_i_22235_, lean_object* v_bs_22236_, lean_object* v___y_22237_, lean_object* v___y_22238_, lean_object* v___y_22239_, lean_object* v___y_22240_, lean_object* v___y_22241_, lean_object* v___y_22242_){ _start: { -lean_object* v___x_22247_; -v___x_22247_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_as_22236_, v_sz_22237_, v_i_22238_, v_b_22239_, v___y_22243_, v___y_22245_); -return v___x_22247_; +lean_object* v___x_22244_; +v___x_22244_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___redArg(v_sz_22234_, v_i_22235_, v_bs_22236_); +return v___x_22244_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___boxed(lean_object* v_as_22248_, lean_object* v_sz_22249_, lean_object* v_i_22250_, lean_object* v_b_22251_, lean_object* v___y_22252_, lean_object* v___y_22253_, lean_object* v___y_22254_, lean_object* v___y_22255_, lean_object* v___y_22256_, lean_object* v___y_22257_, lean_object* v___y_22258_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2___boxed(lean_object* v_sz_22245_, lean_object* v_i_22246_, lean_object* v_bs_22247_, lean_object* v___y_22248_, lean_object* v___y_22249_, lean_object* v___y_22250_, lean_object* v___y_22251_, lean_object* v___y_22252_, lean_object* v___y_22253_, lean_object* v___y_22254_){ _start: { -size_t v_sz_boxed_22259_; size_t v_i_boxed_22260_; lean_object* v_res_22261_; -v_sz_boxed_22259_ = lean_unbox_usize(v_sz_22249_); -lean_dec(v_sz_22249_); -v_i_boxed_22260_ = lean_unbox_usize(v_i_22250_); -lean_dec(v_i_22250_); -v_res_22261_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10(v_as_22248_, v_sz_boxed_22259_, v_i_boxed_22260_, v_b_22251_, v___y_22252_, v___y_22253_, v___y_22254_, v___y_22255_, v___y_22256_, v___y_22257_); -lean_dec(v___y_22257_); -lean_dec_ref(v___y_22256_); -lean_dec(v___y_22255_); -lean_dec_ref(v___y_22254_); +size_t v_sz_boxed_22255_; size_t v_i_boxed_22256_; lean_object* v_res_22257_; +v_sz_boxed_22255_ = lean_unbox_usize(v_sz_22245_); +lean_dec(v_sz_22245_); +v_i_boxed_22256_ = lean_unbox_usize(v_i_22246_); +lean_dec(v_i_22246_); +v_res_22257_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__2(v_sz_boxed_22255_, v_i_boxed_22256_, v_bs_22247_, v___y_22248_, v___y_22249_, v___y_22250_, v___y_22251_, v___y_22252_, v___y_22253_); lean_dec(v___y_22253_); lean_dec_ref(v___y_22252_); -lean_dec_ref(v_as_22248_); -return v_res_22261_; +lean_dec(v___y_22251_); +lean_dec_ref(v___y_22250_); +lean_dec(v___y_22249_); +lean_dec_ref(v___y_22248_); +return v_res_22257_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3(lean_object* v_stx_22262_, lean_object* v___y_22263_, lean_object* v___y_22264_, lean_object* v___y_22265_, lean_object* v___y_22266_, lean_object* v___y_22267_, lean_object* v___y_22268_){ +LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6(lean_object* v_msgData_22258_, lean_object* v___y_22259_, lean_object* v___y_22260_, lean_object* v___y_22261_, lean_object* v___y_22262_, lean_object* v___y_22263_, lean_object* v___y_22264_){ _start: { -lean_object* v___x_22270_; -v___x_22270_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_stx_22262_, v___y_22267_); -return v___x_22270_; +lean_object* v___x_22266_; +v___x_22266_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___redArg(v_msgData_22258_, v___y_22261_, v___y_22262_, v___y_22263_, v___y_22264_); +return v___x_22266_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___boxed(lean_object* v_stx_22271_, lean_object* v___y_22272_, lean_object* v___y_22273_, lean_object* v___y_22274_, lean_object* v___y_22275_, lean_object* v___y_22276_, lean_object* v___y_22277_, lean_object* v___y_22278_){ +LEAN_EXPORT lean_object* l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6___boxed(lean_object* v_msgData_22267_, lean_object* v___y_22268_, lean_object* v___y_22269_, lean_object* v___y_22270_, lean_object* v___y_22271_, lean_object* v___y_22272_, lean_object* v___y_22273_, lean_object* v___y_22274_){ _start: { -lean_object* v_res_22279_; -v_res_22279_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3(v_stx_22271_, v___y_22272_, v___y_22273_, v___y_22274_, v___y_22275_, v___y_22276_, v___y_22277_); -lean_dec(v___y_22277_); -lean_dec(v___y_22275_); -lean_dec_ref(v___y_22274_); +lean_object* v_res_22275_; +v_res_22275_ = l_Lean_logWarning___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__6(v_msgData_22267_, v___y_22268_, v___y_22269_, v___y_22270_, v___y_22271_, v___y_22272_, v___y_22273_); lean_dec(v___y_22273_); -lean_dec_ref(v___y_22272_); -lean_dec(v_stx_22271_); -return v_res_22279_; +lean_dec(v___y_22271_); +lean_dec_ref(v___y_22270_); +lean_dec(v___y_22269_); +lean_dec_ref(v___y_22268_); +return v_res_22275_; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4(lean_object* v_declName_22280_, lean_object* v_declRanges_22281_, lean_object* v___y_22282_, lean_object* v___y_22283_, lean_object* v___y_22284_, lean_object* v___y_22285_, lean_object* v___y_22286_, lean_object* v___y_22287_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10(lean_object* v_as_22276_, size_t v_sz_22277_, size_t v_i_22278_, lean_object* v_b_22279_, lean_object* v___y_22280_, lean_object* v___y_22281_, lean_object* v___y_22282_, lean_object* v___y_22283_, lean_object* v___y_22284_, lean_object* v___y_22285_){ _start: { -lean_object* v___x_22289_; -v___x_22289_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_22280_, v_declRanges_22281_, v___y_22285_, v___y_22287_); -return v___x_22289_; +lean_object* v___x_22287_; +v___x_22287_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___redArg(v_as_22276_, v_sz_22277_, v_i_22278_, v_b_22279_, v___y_22283_, v___y_22285_); +return v___x_22287_; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___boxed(lean_object* v_declName_22290_, lean_object* v_declRanges_22291_, lean_object* v___y_22292_, lean_object* v___y_22293_, lean_object* v___y_22294_, lean_object* v___y_22295_, lean_object* v___y_22296_, lean_object* v___y_22297_, lean_object* v___y_22298_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10___boxed(lean_object* v_as_22288_, lean_object* v_sz_22289_, lean_object* v_i_22290_, lean_object* v_b_22291_, lean_object* v___y_22292_, lean_object* v___y_22293_, lean_object* v___y_22294_, lean_object* v___y_22295_, lean_object* v___y_22296_, lean_object* v___y_22297_, lean_object* v___y_22298_){ _start: { -lean_object* v_res_22299_; -v_res_22299_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4(v_declName_22290_, v_declRanges_22291_, v___y_22292_, v___y_22293_, v___y_22294_, v___y_22295_, v___y_22296_, v___y_22297_); +size_t v_sz_boxed_22299_; size_t v_i_boxed_22300_; lean_object* v_res_22301_; +v_sz_boxed_22299_ = lean_unbox_usize(v_sz_22289_); +lean_dec(v_sz_22289_); +v_i_boxed_22300_ = lean_unbox_usize(v_i_22290_); +lean_dec(v_i_22290_); +v_res_22301_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__10(v_as_22288_, v_sz_boxed_22299_, v_i_boxed_22300_, v_b_22291_, v___y_22292_, v___y_22293_, v___y_22294_, v___y_22295_, v___y_22296_, v___y_22297_); lean_dec(v___y_22297_); lean_dec_ref(v___y_22296_); lean_dec(v___y_22295_); lean_dec_ref(v___y_22294_); lean_dec(v___y_22293_); lean_dec_ref(v___y_22292_); -return v_res_22299_; +lean_dec_ref(v_as_22288_); +return v_res_22301_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___lam__0(lean_object* v_vars_22300_, lean_object* v_sc_22301_, lean_object* v_views_22302_, lean_object* v___y_22303_, lean_object* v___y_22304_, lean_object* v___y_22305_, lean_object* v___y_22306_, lean_object* v___y_22307_, lean_object* v___y_22308_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3(lean_object* v_stx_22302_, lean_object* v___y_22303_, lean_object* v___y_22304_, lean_object* v___y_22305_, lean_object* v___y_22306_, lean_object* v___y_22307_, lean_object* v___y_22308_){ _start: { -lean_object* v_r_22310_; -lean_inc(v___y_22308_); -lean_inc_ref(v___y_22307_); -lean_inc(v___y_22306_); -lean_inc_ref(v___y_22305_); -v_r_22310_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22300_, v_sc_22301_, v_views_22302_, v___y_22303_, v___y_22304_, v___y_22305_, v___y_22306_, v___y_22307_, v___y_22308_); -if (lean_obj_tag(v_r_22310_) == 0) -{ -lean_object* v_a_22311_; lean_object* v___x_22312_; -v_a_22311_ = lean_ctor_get(v_r_22310_, 0); -lean_inc(v_a_22311_); -lean_dec_ref(v_r_22310_); -v___x_22312_ = l_Lean_Meta_reportDiag(v___y_22305_, v___y_22306_, v___y_22307_, v___y_22308_); -if (lean_obj_tag(v___x_22312_) == 0) -{ -lean_object* v___x_22314_; uint8_t v_isShared_22315_; uint8_t v_isSharedCheck_22319_; -v_isSharedCheck_22319_ = !lean_is_exclusive(v___x_22312_); -if (v_isSharedCheck_22319_ == 0) -{ -lean_object* v_unused_22320_; -v_unused_22320_ = lean_ctor_get(v___x_22312_, 0); -lean_dec(v_unused_22320_); -v___x_22314_ = v___x_22312_; -v_isShared_22315_ = v_isSharedCheck_22319_; -goto v_resetjp_22313_; -} -else -{ -lean_dec(v___x_22312_); -v___x_22314_ = lean_box(0); -v_isShared_22315_ = v_isSharedCheck_22319_; -goto v_resetjp_22313_; -} -v_resetjp_22313_: -{ -lean_object* v___x_22317_; -if (v_isShared_22315_ == 0) -{ -lean_ctor_set(v___x_22314_, 0, v_a_22311_); -v___x_22317_ = v___x_22314_; -goto v_reusejp_22316_; -} -else -{ -lean_object* v_reuseFailAlloc_22318_; -v_reuseFailAlloc_22318_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22318_, 0, v_a_22311_); -v___x_22317_ = v_reuseFailAlloc_22318_; -goto v_reusejp_22316_; -} -v_reusejp_22316_: -{ -return v___x_22317_; +lean_object* v___x_22310_; +v___x_22310_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___redArg(v_stx_22302_, v___y_22307_); +return v___x_22310_; } } -} -else -{ -lean_dec(v_a_22311_); -return v___x_22312_; -} -} -else -{ -lean_object* v_a_22321_; lean_object* v___x_22322_; -v_a_22321_ = lean_ctor_get(v_r_22310_, 0); -lean_inc(v_a_22321_); -lean_dec_ref(v_r_22310_); -v___x_22322_ = l_Lean_Meta_reportDiag(v___y_22305_, v___y_22306_, v___y_22307_, v___y_22308_); -if (lean_obj_tag(v___x_22322_) == 0) -{ -lean_object* v___x_22324_; uint8_t v_isShared_22325_; uint8_t v_isSharedCheck_22329_; -v_isSharedCheck_22329_ = !lean_is_exclusive(v___x_22322_); -if (v_isSharedCheck_22329_ == 0) -{ -lean_object* v_unused_22330_; -v_unused_22330_ = lean_ctor_get(v___x_22322_, 0); -lean_dec(v_unused_22330_); -v___x_22324_ = v___x_22322_; -v_isShared_22325_ = v_isSharedCheck_22329_; -goto v_resetjp_22323_; -} -else -{ -lean_dec(v___x_22322_); -v___x_22324_ = lean_box(0); -v_isShared_22325_ = v_isSharedCheck_22329_; -goto v_resetjp_22323_; -} -v_resetjp_22323_: -{ -lean_object* v___x_22327_; -if (v_isShared_22325_ == 0) -{ -lean_ctor_set_tag(v___x_22324_, 1); -lean_ctor_set(v___x_22324_, 0, v_a_22321_); -v___x_22327_ = v___x_22324_; -goto v_reusejp_22326_; -} -else -{ -lean_object* v_reuseFailAlloc_22328_; -v_reuseFailAlloc_22328_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22328_, 0, v_a_22321_); -v___x_22327_ = v_reuseFailAlloc_22328_; -goto v_reusejp_22326_; -} -v_reusejp_22326_: -{ -return v___x_22327_; -} -} -} -else -{ -lean_dec(v_a_22321_); -return v___x_22322_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___lam__0___boxed(lean_object* v_vars_22331_, lean_object* v_sc_22332_, lean_object* v_views_22333_, lean_object* v___y_22334_, lean_object* v___y_22335_, lean_object* v___y_22336_, lean_object* v___y_22337_, lean_object* v___y_22338_, lean_object* v___y_22339_, lean_object* v___y_22340_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3___boxed(lean_object* v_stx_22311_, lean_object* v___y_22312_, lean_object* v___y_22313_, lean_object* v___y_22314_, lean_object* v___y_22315_, lean_object* v___y_22316_, lean_object* v___y_22317_, lean_object* v___y_22318_){ _start: { -lean_object* v_res_22341_; -v_res_22341_ = l_Lean_Elab_Term_elabMutualDef___lam__0(v_vars_22331_, v_sc_22332_, v_views_22333_, v___y_22334_, v___y_22335_, v___y_22336_, v___y_22337_, v___y_22338_, v___y_22339_); -return v_res_22341_; +lean_object* v_res_22319_; +v_res_22319_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__3(v_stx_22311_, v___y_22312_, v___y_22313_, v___y_22314_, v___y_22315_, v___y_22316_, v___y_22317_); +lean_dec(v___y_22317_); +lean_dec(v___y_22315_); +lean_dec_ref(v___y_22314_); +lean_dec(v___y_22313_); +lean_dec_ref(v___y_22312_); +lean_dec(v_stx_22311_); +return v_res_22319_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(lean_object* v_env_22342_, lean_object* v_x_22343_, lean_object* v___y_22344_, lean_object* v___y_22345_, lean_object* v___y_22346_, lean_object* v___y_22347_, lean_object* v___y_22348_, lean_object* v___y_22349_){ +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4(lean_object* v_declName_22320_, lean_object* v_declRanges_22321_, lean_object* v___y_22322_, lean_object* v___y_22323_, lean_object* v___y_22324_, lean_object* v___y_22325_, lean_object* v___y_22326_, lean_object* v___y_22327_){ _start: { -lean_object* v___x_22351_; lean_object* v_env_22352_; lean_object* v_a_22354_; lean_object* v___x_22364_; lean_object* v___x_22365_; -v___x_22351_ = lean_st_ref_get(v___y_22349_); -v_env_22352_ = lean_ctor_get(v___x_22351_, 0); -lean_inc_ref(v_env_22352_); -lean_dec(v___x_22351_); -v___x_22364_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22342_, v___y_22347_, v___y_22349_); -lean_dec_ref(v___x_22364_); -lean_inc(v___y_22349_); -lean_inc(v___y_22347_); -v___x_22365_ = lean_apply_7(v_x_22343_, v___y_22344_, v___y_22345_, v___y_22346_, v___y_22347_, v___y_22348_, v___y_22349_, lean_box(0)); -if (lean_obj_tag(v___x_22365_) == 0) +lean_object* v___x_22329_; +v___x_22329_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___redArg(v_declName_22320_, v_declRanges_22321_, v___y_22325_, v___y_22327_); +return v___x_22329_; +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4___boxed(lean_object* v_declName_22330_, lean_object* v_declRanges_22331_, lean_object* v___y_22332_, lean_object* v___y_22333_, lean_object* v___y_22334_, lean_object* v___y_22335_, lean_object* v___y_22336_, lean_object* v___y_22337_, lean_object* v___y_22338_){ +_start: { -lean_object* v_a_22366_; lean_object* v___x_22367_; lean_object* v___x_22369_; uint8_t v_isShared_22370_; uint8_t v_isSharedCheck_22374_; -v_a_22366_ = lean_ctor_get(v___x_22365_, 0); -lean_inc(v_a_22366_); -lean_dec_ref(v___x_22365_); -v___x_22367_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22352_, v___y_22347_, v___y_22349_); -lean_dec(v___y_22349_); -lean_dec(v___y_22347_); -v_isSharedCheck_22374_ = !lean_is_exclusive(v___x_22367_); -if (v_isSharedCheck_22374_ == 0) +lean_object* v_res_22339_; +v_res_22339_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Elab_addDeclarationRangesForBuiltin___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go_spec__0_spec__0_spec__4(v_declName_22330_, v_declRanges_22331_, v___y_22332_, v___y_22333_, v___y_22334_, v___y_22335_, v___y_22336_, v___y_22337_); +lean_dec(v___y_22337_); +lean_dec_ref(v___y_22336_); +lean_dec(v___y_22335_); +lean_dec_ref(v___y_22334_); +lean_dec(v___y_22333_); +lean_dec_ref(v___y_22332_); +return v_res_22339_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___lam__0(lean_object* v_vars_22340_, lean_object* v_sc_22341_, lean_object* v_views_22342_, lean_object* v___y_22343_, lean_object* v___y_22344_, lean_object* v___y_22345_, lean_object* v___y_22346_, lean_object* v___y_22347_, lean_object* v___y_22348_){ +_start: { -lean_object* v_unused_22375_; -v_unused_22375_ = lean_ctor_get(v___x_22367_, 0); -lean_dec(v_unused_22375_); -v___x_22369_ = v___x_22367_; -v_isShared_22370_ = v_isSharedCheck_22374_; -goto v_resetjp_22368_; +lean_object* v_r_22350_; +lean_inc(v___y_22348_); +lean_inc_ref(v___y_22347_); +lean_inc(v___y_22346_); +lean_inc_ref(v___y_22345_); +v_r_22350_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22340_, v_sc_22341_, v_views_22342_, v___y_22343_, v___y_22344_, v___y_22345_, v___y_22346_, v___y_22347_, v___y_22348_); +if (lean_obj_tag(v_r_22350_) == 0) +{ +lean_object* v_a_22351_; lean_object* v___x_22352_; +v_a_22351_ = lean_ctor_get(v_r_22350_, 0); +lean_inc(v_a_22351_); +lean_dec_ref(v_r_22350_); +v___x_22352_ = l_Lean_Meta_reportDiag(v___y_22345_, v___y_22346_, v___y_22347_, v___y_22348_); +if (lean_obj_tag(v___x_22352_) == 0) +{ +lean_object* v___x_22354_; uint8_t v_isShared_22355_; uint8_t v_isSharedCheck_22359_; +v_isSharedCheck_22359_ = !lean_is_exclusive(v___x_22352_); +if (v_isSharedCheck_22359_ == 0) +{ +lean_object* v_unused_22360_; +v_unused_22360_ = lean_ctor_get(v___x_22352_, 0); +lean_dec(v_unused_22360_); +v___x_22354_ = v___x_22352_; +v_isShared_22355_ = v_isSharedCheck_22359_; +goto v_resetjp_22353_; } else { -lean_dec(v___x_22367_); -v___x_22369_ = lean_box(0); -v_isShared_22370_ = v_isSharedCheck_22374_; -goto v_resetjp_22368_; +lean_dec(v___x_22352_); +v___x_22354_ = lean_box(0); +v_isShared_22355_ = v_isSharedCheck_22359_; +goto v_resetjp_22353_; } -v_resetjp_22368_: +v_resetjp_22353_: { -lean_object* v___x_22372_; -if (v_isShared_22370_ == 0) +lean_object* v___x_22357_; +if (v_isShared_22355_ == 0) { -lean_ctor_set(v___x_22369_, 0, v_a_22366_); -v___x_22372_ = v___x_22369_; -goto v_reusejp_22371_; +lean_ctor_set(v___x_22354_, 0, v_a_22351_); +v___x_22357_ = v___x_22354_; +goto v_reusejp_22356_; } else { -lean_object* v_reuseFailAlloc_22373_; -v_reuseFailAlloc_22373_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22373_, 0, v_a_22366_); -v___x_22372_ = v_reuseFailAlloc_22373_; -goto v_reusejp_22371_; +lean_object* v_reuseFailAlloc_22358_; +v_reuseFailAlloc_22358_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22358_, 0, v_a_22351_); +v___x_22357_ = v_reuseFailAlloc_22358_; +goto v_reusejp_22356_; } -v_reusejp_22371_: +v_reusejp_22356_: { -return v___x_22372_; +return v___x_22357_; } } } else { -lean_object* v_a_22376_; -v_a_22376_ = lean_ctor_get(v___x_22365_, 0); -lean_inc(v_a_22376_); -lean_dec_ref(v___x_22365_); -v_a_22354_ = v_a_22376_; -goto v___jp_22353_; +lean_dec(v_a_22351_); +return v___x_22352_; } -v___jp_22353_: -{ -lean_object* v___x_22355_; lean_object* v___x_22357_; uint8_t v_isShared_22358_; uint8_t v_isSharedCheck_22362_; -v___x_22355_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22352_, v___y_22347_, v___y_22349_); -lean_dec(v___y_22349_); -lean_dec(v___y_22347_); -v_isSharedCheck_22362_ = !lean_is_exclusive(v___x_22355_); -if (v_isSharedCheck_22362_ == 0) -{ -lean_object* v_unused_22363_; -v_unused_22363_ = lean_ctor_get(v___x_22355_, 0); -lean_dec(v_unused_22363_); -v___x_22357_ = v___x_22355_; -v_isShared_22358_ = v_isSharedCheck_22362_; -goto v_resetjp_22356_; } else { -lean_dec(v___x_22355_); -v___x_22357_ = lean_box(0); -v_isShared_22358_ = v_isSharedCheck_22362_; -goto v_resetjp_22356_; -} -v_resetjp_22356_: +lean_object* v_a_22361_; lean_object* v___x_22362_; +v_a_22361_ = lean_ctor_get(v_r_22350_, 0); +lean_inc(v_a_22361_); +lean_dec_ref(v_r_22350_); +v___x_22362_ = l_Lean_Meta_reportDiag(v___y_22345_, v___y_22346_, v___y_22347_, v___y_22348_); +if (lean_obj_tag(v___x_22362_) == 0) { -lean_object* v___x_22360_; -if (v_isShared_22358_ == 0) +lean_object* v___x_22364_; uint8_t v_isShared_22365_; uint8_t v_isSharedCheck_22369_; +v_isSharedCheck_22369_ = !lean_is_exclusive(v___x_22362_); +if (v_isSharedCheck_22369_ == 0) { -lean_ctor_set_tag(v___x_22357_, 1); -lean_ctor_set(v___x_22357_, 0, v_a_22354_); -v___x_22360_ = v___x_22357_; -goto v_reusejp_22359_; +lean_object* v_unused_22370_; +v_unused_22370_ = lean_ctor_get(v___x_22362_, 0); +lean_dec(v_unused_22370_); +v___x_22364_ = v___x_22362_; +v_isShared_22365_ = v_isSharedCheck_22369_; +goto v_resetjp_22363_; } else { -lean_object* v_reuseFailAlloc_22361_; -v_reuseFailAlloc_22361_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22361_, 0, v_a_22354_); -v___x_22360_ = v_reuseFailAlloc_22361_; -goto v_reusejp_22359_; +lean_dec(v___x_22362_); +v___x_22364_ = lean_box(0); +v_isShared_22365_ = v_isSharedCheck_22369_; +goto v_resetjp_22363_; } -v_reusejp_22359_: +v_resetjp_22363_: { -return v___x_22360_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg___boxed(lean_object* v_env_22377_, lean_object* v_x_22378_, lean_object* v___y_22379_, lean_object* v___y_22380_, lean_object* v___y_22381_, lean_object* v___y_22382_, lean_object* v___y_22383_, lean_object* v___y_22384_, lean_object* v___y_22385_){ -_start: +lean_object* v___x_22367_; +if (v_isShared_22365_ == 0) { -lean_object* v_res_22386_; -v_res_22386_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v_env_22377_, v_x_22378_, v___y_22379_, v___y_22380_, v___y_22381_, v___y_22382_, v___y_22383_, v___y_22384_); -return v_res_22386_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef(lean_object* v_vars_22387_, lean_object* v_sc_22388_, lean_object* v_views_22389_, lean_object* v_a_22390_, lean_object* v_a_22391_, lean_object* v_a_22392_, lean_object* v_a_22393_, lean_object* v_a_22394_, lean_object* v_a_22395_){ -_start: -{ -uint8_t v___x_22397_; -v___x_22397_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(v_views_22389_); -if (v___x_22397_ == 0) -{ -lean_object* v___x_22398_; -v___x_22398_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22387_, v_sc_22388_, v_views_22389_, v_a_22390_, v_a_22391_, v_a_22392_, v_a_22393_, v_a_22394_, v_a_22395_); -return v___x_22398_; +lean_ctor_set_tag(v___x_22364_, 1); +lean_ctor_set(v___x_22364_, 0, v_a_22361_); +v___x_22367_ = v___x_22364_; +goto v_reusejp_22366_; } else { -lean_object* v___x_22399_; lean_object* v_env_22400_; lean_object* v___f_22401_; lean_object* v___x_22402_; lean_object* v___x_22403_; lean_object* v___x_22404_; -v___x_22399_ = lean_st_ref_get(v_a_22395_); -v_env_22400_ = lean_ctor_get(v___x_22399_, 0); -lean_inc_ref(v_env_22400_); -lean_dec(v___x_22399_); -v___f_22401_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef___lam__0___boxed), 10, 3); -lean_closure_set(v___f_22401_, 0, v_vars_22387_); -lean_closure_set(v___f_22401_, 1, v_sc_22388_); -lean_closure_set(v___f_22401_, 2, v_views_22389_); -v___x_22402_ = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed), 9, 2); -lean_closure_set(v___x_22402_, 0, lean_box(0)); -lean_closure_set(v___x_22402_, 1, v___f_22401_); -v___x_22403_ = l_Lean_Environment_unlockAsync(v_env_22400_); -v___x_22404_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v___x_22403_, v___x_22402_, v_a_22390_, v_a_22391_, v_a_22392_, v_a_22393_, v_a_22394_, v_a_22395_); -return v___x_22404_; +lean_object* v_reuseFailAlloc_22368_; +v_reuseFailAlloc_22368_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22368_, 0, v_a_22361_); +v___x_22367_ = v_reuseFailAlloc_22368_; +goto v_reusejp_22366_; +} +v_reusejp_22366_: +{ +return v___x_22367_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___boxed(lean_object* v_vars_22405_, lean_object* v_sc_22406_, lean_object* v_views_22407_, lean_object* v_a_22408_, lean_object* v_a_22409_, lean_object* v_a_22410_, lean_object* v_a_22411_, lean_object* v_a_22412_, lean_object* v_a_22413_, lean_object* v_a_22414_){ +else +{ +lean_dec(v_a_22361_); +return v___x_22362_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___lam__0___boxed(lean_object* v_vars_22371_, lean_object* v_sc_22372_, lean_object* v_views_22373_, lean_object* v___y_22374_, lean_object* v___y_22375_, lean_object* v___y_22376_, lean_object* v___y_22377_, lean_object* v___y_22378_, lean_object* v___y_22379_, lean_object* v___y_22380_){ _start: { -lean_object* v_res_22415_; -v_res_22415_ = l_Lean_Elab_Term_elabMutualDef(v_vars_22405_, v_sc_22406_, v_views_22407_, v_a_22408_, v_a_22409_, v_a_22410_, v_a_22411_, v_a_22412_, v_a_22413_); -return v_res_22415_; +lean_object* v_res_22381_; +v_res_22381_ = l_Lean_Elab_Term_elabMutualDef___lam__0(v_vars_22371_, v_sc_22372_, v_views_22373_, v___y_22374_, v___y_22375_, v___y_22376_, v___y_22377_, v___y_22378_, v___y_22379_); +return v_res_22381_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0(lean_object* v_00_u03b1_22416_, lean_object* v_env_22417_, lean_object* v_x_22418_, lean_object* v___y_22419_, lean_object* v___y_22420_, lean_object* v___y_22421_, lean_object* v___y_22422_, lean_object* v___y_22423_, lean_object* v___y_22424_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(lean_object* v_env_22382_, lean_object* v_x_22383_, lean_object* v___y_22384_, lean_object* v___y_22385_, lean_object* v___y_22386_, lean_object* v___y_22387_, lean_object* v___y_22388_, lean_object* v___y_22389_){ _start: { -lean_object* v___x_22426_; -v___x_22426_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v_env_22417_, v_x_22418_, v___y_22419_, v___y_22420_, v___y_22421_, v___y_22422_, v___y_22423_, v___y_22424_); -return v___x_22426_; +lean_object* v___x_22391_; lean_object* v_env_22392_; lean_object* v_a_22394_; lean_object* v___x_22404_; lean_object* v___x_22405_; +v___x_22391_ = lean_st_ref_get(v___y_22389_); +v_env_22392_ = lean_ctor_get(v___x_22391_, 0); +lean_inc_ref(v_env_22392_); +lean_dec(v___x_22391_); +v___x_22404_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22382_, v___y_22387_, v___y_22389_); +lean_dec_ref(v___x_22404_); +lean_inc(v___y_22389_); +lean_inc(v___y_22387_); +v___x_22405_ = lean_apply_7(v_x_22383_, v___y_22384_, v___y_22385_, v___y_22386_, v___y_22387_, v___y_22388_, v___y_22389_, lean_box(0)); +if (lean_obj_tag(v___x_22405_) == 0) +{ +lean_object* v_a_22406_; lean_object* v___x_22407_; lean_object* v___x_22409_; uint8_t v_isShared_22410_; uint8_t v_isSharedCheck_22414_; +v_a_22406_ = lean_ctor_get(v___x_22405_, 0); +lean_inc(v_a_22406_); +lean_dec_ref(v___x_22405_); +v___x_22407_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22392_, v___y_22387_, v___y_22389_); +lean_dec(v___y_22389_); +lean_dec(v___y_22387_); +v_isSharedCheck_22414_ = !lean_is_exclusive(v___x_22407_); +if (v_isSharedCheck_22414_ == 0) +{ +lean_object* v_unused_22415_; +v_unused_22415_ = lean_ctor_get(v___x_22407_, 0); +lean_dec(v_unused_22415_); +v___x_22409_ = v___x_22407_; +v_isShared_22410_ = v_isSharedCheck_22414_; +goto v_resetjp_22408_; +} +else +{ +lean_dec(v___x_22407_); +v___x_22409_ = lean_box(0); +v_isShared_22410_ = v_isSharedCheck_22414_; +goto v_resetjp_22408_; +} +v_resetjp_22408_: +{ +lean_object* v___x_22412_; +if (v_isShared_22410_ == 0) +{ +lean_ctor_set(v___x_22409_, 0, v_a_22406_); +v___x_22412_ = v___x_22409_; +goto v_reusejp_22411_; +} +else +{ +lean_object* v_reuseFailAlloc_22413_; +v_reuseFailAlloc_22413_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22413_, 0, v_a_22406_); +v___x_22412_ = v_reuseFailAlloc_22413_; +goto v_reusejp_22411_; +} +v_reusejp_22411_: +{ +return v___x_22412_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___boxed(lean_object* v_00_u03b1_22427_, lean_object* v_env_22428_, lean_object* v_x_22429_, lean_object* v___y_22430_, lean_object* v___y_22431_, lean_object* v___y_22432_, lean_object* v___y_22433_, lean_object* v___y_22434_, lean_object* v___y_22435_, lean_object* v___y_22436_){ +} +else +{ +lean_object* v_a_22416_; +v_a_22416_ = lean_ctor_get(v___x_22405_, 0); +lean_inc(v_a_22416_); +lean_dec_ref(v___x_22405_); +v_a_22394_ = v_a_22416_; +goto v___jp_22393_; +} +v___jp_22393_: +{ +lean_object* v___x_22395_; lean_object* v___x_22397_; uint8_t v_isShared_22398_; uint8_t v_isSharedCheck_22402_; +v___x_22395_ = l_Lean_setEnv___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_elabAsync_spec__2___redArg(v_env_22392_, v___y_22387_, v___y_22389_); +lean_dec(v___y_22389_); +lean_dec(v___y_22387_); +v_isSharedCheck_22402_ = !lean_is_exclusive(v___x_22395_); +if (v_isSharedCheck_22402_ == 0) +{ +lean_object* v_unused_22403_; +v_unused_22403_ = lean_ctor_get(v___x_22395_, 0); +lean_dec(v_unused_22403_); +v___x_22397_ = v___x_22395_; +v_isShared_22398_ = v_isSharedCheck_22402_; +goto v_resetjp_22396_; +} +else +{ +lean_dec(v___x_22395_); +v___x_22397_ = lean_box(0); +v_isShared_22398_ = v_isSharedCheck_22402_; +goto v_resetjp_22396_; +} +v_resetjp_22396_: +{ +lean_object* v___x_22400_; +if (v_isShared_22398_ == 0) +{ +lean_ctor_set_tag(v___x_22397_, 1); +lean_ctor_set(v___x_22397_, 0, v_a_22394_); +v___x_22400_ = v___x_22397_; +goto v_reusejp_22399_; +} +else +{ +lean_object* v_reuseFailAlloc_22401_; +v_reuseFailAlloc_22401_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22401_, 0, v_a_22394_); +v___x_22400_ = v_reuseFailAlloc_22401_; +goto v_reusejp_22399_; +} +v_reusejp_22399_: +{ +return v___x_22400_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg___boxed(lean_object* v_env_22417_, lean_object* v_x_22418_, lean_object* v___y_22419_, lean_object* v___y_22420_, lean_object* v___y_22421_, lean_object* v___y_22422_, lean_object* v___y_22423_, lean_object* v___y_22424_, lean_object* v___y_22425_){ _start: { -lean_object* v_res_22437_; -v_res_22437_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0(v_00_u03b1_22427_, v_env_22428_, v_x_22429_, v___y_22430_, v___y_22431_, v___y_22432_, v___y_22433_, v___y_22434_, v___y_22435_); -return v_res_22437_; +lean_object* v_res_22426_; +v_res_22426_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v_env_22417_, v_x_22418_, v___y_22419_, v___y_22420_, v___y_22421_, v___y_22422_, v___y_22423_, v___y_22424_); +return v_res_22426_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef(lean_object* v_vars_22427_, lean_object* v_sc_22428_, lean_object* v_views_22429_, lean_object* v_a_22430_, lean_object* v_a_22431_, lean_object* v_a_22432_, lean_object* v_a_22433_, lean_object* v_a_22434_, lean_object* v_a_22435_){ +_start: +{ +uint8_t v___x_22437_; +v___x_22437_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_isExample(v_views_22429_); +if (v___x_22437_ == 0) +{ +lean_object* v___x_22438_; +v___x_22438_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_go(v_vars_22427_, v_sc_22428_, v_views_22429_, v_a_22430_, v_a_22431_, v_a_22432_, v_a_22433_, v_a_22434_, v_a_22435_); +return v___x_22438_; +} +else +{ +lean_object* v___x_22439_; lean_object* v_env_22440_; lean_object* v___f_22441_; lean_object* v___x_22442_; lean_object* v___x_22443_; lean_object* v___x_22444_; +v___x_22439_ = lean_st_ref_get(v_a_22435_); +v_env_22440_ = lean_ctor_get(v___x_22439_, 0); +lean_inc_ref(v_env_22440_); +lean_dec(v___x_22439_); +v___f_22441_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_elabMutualDef___lam__0___boxed), 10, 3); +lean_closure_set(v___f_22441_, 0, v_vars_22427_); +lean_closure_set(v___f_22441_, 1, v_sc_22428_); +lean_closure_set(v___f_22441_, 2, v_views_22429_); +v___x_22442_ = lean_alloc_closure((void*)(l_Lean_Elab_withSaveInfoContext___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__14___boxed), 9, 2); +lean_closure_set(v___x_22442_, 0, lean_box(0)); +lean_closure_set(v___x_22442_, 1, v___f_22441_); +v___x_22443_ = l_Lean_Environment_unlockAsync(v_env_22440_); +v___x_22444_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v___x_22443_, v___x_22442_, v_a_22430_, v_a_22431_, v_a_22432_, v_a_22433_, v_a_22434_, v_a_22435_); +return v___x_22444_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabMutualDef___boxed(lean_object* v_vars_22445_, lean_object* v_sc_22446_, lean_object* v_views_22447_, lean_object* v_a_22448_, lean_object* v_a_22449_, lean_object* v_a_22450_, lean_object* v_a_22451_, lean_object* v_a_22452_, lean_object* v_a_22453_, lean_object* v_a_22454_){ +_start: +{ +lean_object* v_res_22455_; +v_res_22455_ = l_Lean_Elab_Term_elabMutualDef(v_vars_22445_, v_sc_22446_, v_views_22447_, v_a_22448_, v_a_22449_, v_a_22450_, v_a_22451_, v_a_22452_, v_a_22453_); +return v_res_22455_; +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0(lean_object* v_00_u03b1_22456_, lean_object* v_env_22457_, lean_object* v_x_22458_, lean_object* v___y_22459_, lean_object* v___y_22460_, lean_object* v___y_22461_, lean_object* v___y_22462_, lean_object* v___y_22463_, lean_object* v___y_22464_){ +_start: +{ +lean_object* v___x_22466_; +v___x_22466_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___redArg(v_env_22457_, v_x_22458_, v___y_22459_, v___y_22460_, v___y_22461_, v___y_22462_, v___y_22463_, v___y_22464_); +return v___x_22466_; +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0___boxed(lean_object* v_00_u03b1_22467_, lean_object* v_env_22468_, lean_object* v_x_22469_, lean_object* v___y_22470_, lean_object* v___y_22471_, lean_object* v___y_22472_, lean_object* v___y_22473_, lean_object* v___y_22474_, lean_object* v___y_22475_, lean_object* v___y_22476_){ +_start: +{ +lean_object* v_res_22477_; +v_res_22477_ = l_Lean_withEnv___at___00Lean_Elab_Term_elabMutualDef_spec__0(v_00_u03b1_22467_, v_env_22468_, v_x_22469_, v___y_22470_, v___y_22471_, v___y_22472_, v___y_22473_, v___y_22474_, v___y_22475_); +return v_res_22477_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3(void){ _start: { -lean_object* v___x_22442_; lean_object* v___x_22443_; -v___x_22442_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__2)); -v___x_22443_ = l_Lean_stringToMessageData(v___x_22442_); -return v___x_22443_; +lean_object* v___x_22482_; lean_object* v___x_22483_; +v___x_22482_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__2)); +v___x_22483_ = l_Lean_stringToMessageData(v___x_22482_); +return v___x_22483_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4(void){ _start: { -lean_object* v___x_22444_; lean_object* v___x_22445_; lean_object* v___x_22446_; -v___x_22444_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3); -v___x_22445_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__1)); -v___x_22446_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_22446_, 0, v___x_22445_); -lean_ctor_set(v___x_22446_, 1, v___x_22444_); -return v___x_22446_; +lean_object* v___x_22484_; lean_object* v___x_22485_; lean_object* v___x_22486_; +v___x_22484_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__3); +v___x_22485_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__1)); +v___x_22486_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_22486_, 0, v___x_22485_); +lean_ctor_set(v___x_22486_, 1, v___x_22484_); +return v___x_22486_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(uint8_t v___x_22447_, lean_object* v_as_22448_, size_t v_sz_22449_, size_t v_i_22450_, lean_object* v_b_22451_, lean_object* v___y_22452_, lean_object* v___y_22453_, lean_object* v___y_22454_, lean_object* v___y_22455_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(uint8_t v___x_22487_, lean_object* v_as_22488_, size_t v_sz_22489_, size_t v_i_22490_, lean_object* v_b_22491_, lean_object* v___y_22492_, lean_object* v___y_22493_, lean_object* v___y_22494_, lean_object* v___y_22495_){ _start: { -lean_object* v_a_22458_; uint8_t v___x_22462_; -v___x_22462_ = lean_usize_dec_lt(v_i_22450_, v_sz_22449_); -if (v___x_22462_ == 0) +lean_object* v_a_22498_; uint8_t v___x_22502_; +v___x_22502_ = lean_usize_dec_lt(v_i_22490_, v_sz_22489_); +if (v___x_22502_ == 0) { -lean_object* v___x_22463_; -lean_dec(v___y_22455_); -lean_dec_ref(v___y_22454_); -lean_dec(v___y_22453_); -lean_dec_ref(v___y_22452_); -v___x_22463_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22463_, 0, v_b_22451_); -return v___x_22463_; +lean_object* v___x_22503_; +lean_dec(v___y_22495_); +lean_dec_ref(v___y_22494_); +lean_dec(v___y_22493_); +lean_dec_ref(v___y_22492_); +v___x_22503_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22503_, 0, v_b_22491_); +return v___x_22503_; } else { -lean_object* v_array_22464_; lean_object* v_start_22465_; lean_object* v_stop_22466_; uint8_t v___x_22467_; -v_array_22464_ = lean_ctor_get(v_b_22451_, 0); -v_start_22465_ = lean_ctor_get(v_b_22451_, 1); -v_stop_22466_ = lean_ctor_get(v_b_22451_, 2); -v___x_22467_ = lean_nat_dec_lt(v_start_22465_, v_stop_22466_); -if (v___x_22467_ == 0) +lean_object* v_array_22504_; lean_object* v_start_22505_; lean_object* v_stop_22506_; uint8_t v___x_22507_; +v_array_22504_ = lean_ctor_get(v_b_22491_, 0); +v_start_22505_ = lean_ctor_get(v_b_22491_, 1); +v_stop_22506_ = lean_ctor_get(v_b_22491_, 2); +v___x_22507_ = lean_nat_dec_lt(v_start_22505_, v_stop_22506_); +if (v___x_22507_ == 0) { -lean_object* v___x_22468_; -lean_dec(v___y_22455_); -lean_dec_ref(v___y_22454_); -lean_dec(v___y_22453_); -lean_dec_ref(v___y_22452_); -v___x_22468_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22468_, 0, v_b_22451_); -return v___x_22468_; +lean_object* v___x_22508_; +lean_dec(v___y_22495_); +lean_dec_ref(v___y_22494_); +lean_dec(v___y_22493_); +lean_dec_ref(v___y_22492_); +v___x_22508_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22508_, 0, v_b_22491_); +return v___x_22508_; } else { -lean_object* v___x_22470_; uint8_t v_isShared_22471_; uint8_t v_isSharedCheck_22518_; -lean_inc(v_stop_22466_); -lean_inc(v_start_22465_); -lean_inc_ref(v_array_22464_); -v_isSharedCheck_22518_ = !lean_is_exclusive(v_b_22451_); -if (v_isSharedCheck_22518_ == 0) +lean_object* v___x_22510_; uint8_t v_isShared_22511_; uint8_t v_isSharedCheck_22558_; +lean_inc(v_stop_22506_); +lean_inc(v_start_22505_); +lean_inc_ref(v_array_22504_); +v_isSharedCheck_22558_ = !lean_is_exclusive(v_b_22491_); +if (v_isSharedCheck_22558_ == 0) { -lean_object* v_unused_22519_; lean_object* v_unused_22520_; lean_object* v_unused_22521_; -v_unused_22519_ = lean_ctor_get(v_b_22451_, 2); -lean_dec(v_unused_22519_); -v_unused_22520_ = lean_ctor_get(v_b_22451_, 1); -lean_dec(v_unused_22520_); -v_unused_22521_ = lean_ctor_get(v_b_22451_, 0); -lean_dec(v_unused_22521_); -v___x_22470_ = v_b_22451_; -v_isShared_22471_ = v_isSharedCheck_22518_; -goto v_resetjp_22469_; +lean_object* v_unused_22559_; lean_object* v_unused_22560_; lean_object* v_unused_22561_; +v_unused_22559_ = lean_ctor_get(v_b_22491_, 2); +lean_dec(v_unused_22559_); +v_unused_22560_ = lean_ctor_get(v_b_22491_, 1); +lean_dec(v_unused_22560_); +v_unused_22561_ = lean_ctor_get(v_b_22491_, 0); +lean_dec(v_unused_22561_); +v___x_22510_ = v_b_22491_; +v_isShared_22511_ = v_isSharedCheck_22558_; +goto v_resetjp_22509_; } else { -lean_dec(v_b_22451_); -v___x_22470_ = lean_box(0); -v_isShared_22471_ = v_isSharedCheck_22518_; -goto v_resetjp_22469_; +lean_dec(v_b_22491_); +v___x_22510_ = lean_box(0); +v_isShared_22511_ = v_isSharedCheck_22558_; +goto v_resetjp_22509_; } -v_resetjp_22469_: +v_resetjp_22509_: { -lean_object* v___x_22472_; lean_object* v_fst_22473_; lean_object* v_snd_22474_; lean_object* v___x_22475_; lean_object* v___x_22476_; lean_object* v___x_22478_; -v___x_22472_ = lean_array_fget_borrowed(v_array_22464_, v_start_22465_); -v_fst_22473_ = lean_ctor_get(v___x_22472_, 0); -lean_inc(v_fst_22473_); -v_snd_22474_ = lean_ctor_get(v___x_22472_, 1); -lean_inc(v_snd_22474_); -v___x_22475_ = lean_unsigned_to_nat(1u); -v___x_22476_ = lean_nat_add(v_start_22465_, v___x_22475_); -lean_dec(v_start_22465_); -if (v_isShared_22471_ == 0) +lean_object* v___x_22512_; lean_object* v_fst_22513_; lean_object* v_snd_22514_; lean_object* v___x_22515_; lean_object* v___x_22516_; lean_object* v___x_22518_; +v___x_22512_ = lean_array_fget_borrowed(v_array_22504_, v_start_22505_); +v_fst_22513_ = lean_ctor_get(v___x_22512_, 0); +lean_inc(v_fst_22513_); +v_snd_22514_ = lean_ctor_get(v___x_22512_, 1); +lean_inc(v_snd_22514_); +v___x_22515_ = lean_unsigned_to_nat(1u); +v___x_22516_ = lean_nat_add(v_start_22505_, v___x_22515_); +lean_dec(v_start_22505_); +if (v_isShared_22511_ == 0) { -lean_ctor_set(v___x_22470_, 1, v___x_22476_); -v___x_22478_ = v___x_22470_; -goto v_reusejp_22477_; +lean_ctor_set(v___x_22510_, 1, v___x_22516_); +v___x_22518_ = v___x_22510_; +goto v_reusejp_22517_; } else { -lean_object* v_reuseFailAlloc_22517_; -v_reuseFailAlloc_22517_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_22517_, 0, v_array_22464_); -lean_ctor_set(v_reuseFailAlloc_22517_, 1, v___x_22476_); -lean_ctor_set(v_reuseFailAlloc_22517_, 2, v_stop_22466_); -v___x_22478_ = v_reuseFailAlloc_22517_; -goto v_reusejp_22477_; +lean_object* v_reuseFailAlloc_22557_; +v_reuseFailAlloc_22557_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_22557_, 0, v_array_22504_); +lean_ctor_set(v_reuseFailAlloc_22557_, 1, v___x_22516_); +lean_ctor_set(v_reuseFailAlloc_22557_, 2, v_stop_22506_); +v___x_22518_ = v_reuseFailAlloc_22557_; +goto v_reusejp_22517_; } -v_reusejp_22477_: +v_reusejp_22517_: { -lean_object* v___x_22479_; uint8_t v___x_22480_; uint8_t v___x_22481_; -v___x_22479_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4); -v___x_22480_ = 0; -v___x_22481_ = lean_unbox(v_snd_22474_); -lean_dec(v_snd_22474_); -switch(v___x_22481_) +lean_object* v___x_22519_; uint8_t v___x_22520_; uint8_t v___x_22521_; +v___x_22519_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___closed__4); +v___x_22520_ = 0; +v___x_22521_ = lean_unbox(v_snd_22514_); +lean_dec(v_snd_22514_); +switch(v___x_22521_) { case 2: { -lean_object* v___x_22482_; -lean_inc_ref(v___y_22454_); -v___x_22482_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_fst_22473_, v___x_22479_, v___x_22480_, v___x_22447_, v___y_22452_, v___y_22453_, v___y_22454_, v___y_22455_); -lean_dec(v_fst_22473_); -if (lean_obj_tag(v___x_22482_) == 0) +lean_object* v___x_22522_; +lean_inc_ref(v___y_22494_); +v___x_22522_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_fst_22513_, v___x_22519_, v___x_22520_, v___x_22487_, v___y_22492_, v___y_22493_, v___y_22494_, v___y_22495_); +lean_dec(v_fst_22513_); +if (lean_obj_tag(v___x_22522_) == 0) { -lean_dec_ref(v___x_22482_); -v_a_22458_ = v___x_22478_; -goto v___jp_22457_; +lean_dec_ref(v___x_22522_); +v_a_22498_ = v___x_22518_; +goto v___jp_22497_; } else { -lean_object* v_a_22483_; lean_object* v___x_22485_; uint8_t v_isShared_22486_; uint8_t v_isSharedCheck_22490_; -lean_dec_ref(v___x_22478_); -lean_dec(v___y_22455_); -lean_dec_ref(v___y_22454_); -lean_dec(v___y_22453_); -lean_dec_ref(v___y_22452_); -v_a_22483_ = lean_ctor_get(v___x_22482_, 0); -v_isSharedCheck_22490_ = !lean_is_exclusive(v___x_22482_); -if (v_isSharedCheck_22490_ == 0) +lean_object* v_a_22523_; lean_object* v___x_22525_; uint8_t v_isShared_22526_; uint8_t v_isSharedCheck_22530_; +lean_dec_ref(v___x_22518_); +lean_dec(v___y_22495_); +lean_dec_ref(v___y_22494_); +lean_dec(v___y_22493_); +lean_dec_ref(v___y_22492_); +v_a_22523_ = lean_ctor_get(v___x_22522_, 0); +v_isSharedCheck_22530_ = !lean_is_exclusive(v___x_22522_); +if (v_isSharedCheck_22530_ == 0) { -v___x_22485_ = v___x_22482_; -v_isShared_22486_ = v_isSharedCheck_22490_; -goto v_resetjp_22484_; +v___x_22525_ = v___x_22522_; +v_isShared_22526_ = v_isSharedCheck_22530_; +goto v_resetjp_22524_; } else { -lean_inc(v_a_22483_); -lean_dec(v___x_22482_); -v___x_22485_ = lean_box(0); -v_isShared_22486_ = v_isSharedCheck_22490_; -goto v_resetjp_22484_; +lean_inc(v_a_22523_); +lean_dec(v___x_22522_); +v___x_22525_ = lean_box(0); +v_isShared_22526_ = v_isSharedCheck_22530_; +goto v_resetjp_22524_; } -v_resetjp_22484_: +v_resetjp_22524_: { -lean_object* v___x_22488_; -if (v_isShared_22486_ == 0) +lean_object* v___x_22528_; +if (v_isShared_22526_ == 0) { -v___x_22488_ = v___x_22485_; -goto v_reusejp_22487_; +v___x_22528_ = v___x_22525_; +goto v_reusejp_22527_; } else { -lean_object* v_reuseFailAlloc_22489_; -v_reuseFailAlloc_22489_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22489_, 0, v_a_22483_); -v___x_22488_ = v_reuseFailAlloc_22489_; -goto v_reusejp_22487_; +lean_object* v_reuseFailAlloc_22529_; +v_reuseFailAlloc_22529_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22529_, 0, v_a_22523_); +v___x_22528_ = v_reuseFailAlloc_22529_; +goto v_reusejp_22527_; } -v_reusejp_22487_: +v_reusejp_22527_: { -return v___x_22488_; +return v___x_22528_; } } } } case 3: { -lean_object* v_a_22491_; lean_object* v_headerProcessedSnap_22492_; lean_object* v___x_22493_; -v_a_22491_ = lean_array_uget_borrowed(v_as_22448_, v_i_22450_); -v_headerProcessedSnap_22492_ = lean_ctor_get(v_a_22491_, 1); -lean_inc_ref(v_headerProcessedSnap_22492_); -v___x_22493_ = l_Lean_Language_SnapshotTask_get___redArg(v_headerProcessedSnap_22492_); -if (lean_obj_tag(v___x_22493_) == 1) +lean_object* v_a_22531_; lean_object* v_headerProcessedSnap_22532_; lean_object* v___x_22533_; +v_a_22531_ = lean_array_uget_borrowed(v_as_22488_, v_i_22490_); +v_headerProcessedSnap_22532_ = lean_ctor_get(v_a_22531_, 1); +lean_inc_ref(v_headerProcessedSnap_22532_); +v___x_22533_ = l_Lean_Language_SnapshotTask_get___redArg(v_headerProcessedSnap_22532_); +if (lean_obj_tag(v___x_22533_) == 1) { -lean_object* v_val_22494_; lean_object* v_view_22495_; lean_object* v_type_22496_; lean_object* v___x_22497_; -v_val_22494_ = lean_ctor_get(v___x_22493_, 0); -lean_inc(v_val_22494_); -lean_dec_ref(v___x_22493_); -v_view_22495_ = lean_ctor_get(v_val_22494_, 1); -lean_inc_ref(v_view_22495_); -lean_dec(v_val_22494_); -v_type_22496_ = lean_ctor_get(v_view_22495_, 5); -lean_inc_ref(v_type_22496_); -lean_dec_ref(v_view_22495_); -lean_inc(v___y_22455_); -lean_inc_ref(v___y_22454_); -lean_inc(v___y_22453_); -lean_inc_ref(v___y_22452_); -v___x_22497_ = l_Lean_Meta_isProp(v_type_22496_, v___y_22452_, v___y_22453_, v___y_22454_, v___y_22455_); -if (lean_obj_tag(v___x_22497_) == 0) +lean_object* v_val_22534_; lean_object* v_view_22535_; lean_object* v_type_22536_; lean_object* v___x_22537_; +v_val_22534_ = lean_ctor_get(v___x_22533_, 0); +lean_inc(v_val_22534_); +lean_dec_ref(v___x_22533_); +v_view_22535_ = lean_ctor_get(v_val_22534_, 1); +lean_inc_ref(v_view_22535_); +lean_dec(v_val_22534_); +v_type_22536_ = lean_ctor_get(v_view_22535_, 5); +lean_inc_ref(v_type_22536_); +lean_dec_ref(v_view_22535_); +lean_inc(v___y_22495_); +lean_inc_ref(v___y_22494_); +lean_inc(v___y_22493_); +lean_inc_ref(v___y_22492_); +v___x_22537_ = l_Lean_Meta_isProp(v_type_22536_, v___y_22492_, v___y_22493_, v___y_22494_, v___y_22495_); +if (lean_obj_tag(v___x_22537_) == 0) { -lean_object* v_a_22498_; uint8_t v___x_22499_; -v_a_22498_ = lean_ctor_get(v___x_22497_, 0); -lean_inc(v_a_22498_); -lean_dec_ref(v___x_22497_); -v___x_22499_ = lean_unbox(v_a_22498_); -lean_dec(v_a_22498_); -if (v___x_22499_ == 0) +lean_object* v_a_22538_; uint8_t v___x_22539_; +v_a_22538_ = lean_ctor_get(v___x_22537_, 0); +lean_inc(v_a_22538_); +lean_dec_ref(v___x_22537_); +v___x_22539_ = lean_unbox(v_a_22538_); +lean_dec(v_a_22538_); +if (v___x_22539_ == 0) { -lean_dec(v_fst_22473_); -v_a_22458_ = v___x_22478_; -goto v___jp_22457_; +lean_dec(v_fst_22513_); +v_a_22498_ = v___x_22518_; +goto v___jp_22497_; } else { -lean_object* v___x_22500_; -lean_inc_ref(v___y_22454_); -v___x_22500_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_fst_22473_, v___x_22479_, v___x_22480_, v___x_22447_, v___y_22452_, v___y_22453_, v___y_22454_, v___y_22455_); -lean_dec(v_fst_22473_); -if (lean_obj_tag(v___x_22500_) == 0) +lean_object* v___x_22540_; +lean_inc_ref(v___y_22494_); +v___x_22540_ = l_Lean_logAt___at___00Lean_logWarningAt___at___00Lean_Linter_logLint___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__3_spec__5_spec__10___redArg(v_fst_22513_, v___x_22519_, v___x_22520_, v___x_22487_, v___y_22492_, v___y_22493_, v___y_22494_, v___y_22495_); +lean_dec(v_fst_22513_); +if (lean_obj_tag(v___x_22540_) == 0) { -lean_dec_ref(v___x_22500_); -v_a_22458_ = v___x_22478_; -goto v___jp_22457_; +lean_dec_ref(v___x_22540_); +v_a_22498_ = v___x_22518_; +goto v___jp_22497_; } else { -lean_object* v_a_22501_; lean_object* v___x_22503_; uint8_t v_isShared_22504_; uint8_t v_isSharedCheck_22508_; -lean_dec_ref(v___x_22478_); -lean_dec(v___y_22455_); -lean_dec_ref(v___y_22454_); -lean_dec(v___y_22453_); -lean_dec_ref(v___y_22452_); -v_a_22501_ = lean_ctor_get(v___x_22500_, 0); -v_isSharedCheck_22508_ = !lean_is_exclusive(v___x_22500_); -if (v_isSharedCheck_22508_ == 0) +lean_object* v_a_22541_; lean_object* v___x_22543_; uint8_t v_isShared_22544_; uint8_t v_isSharedCheck_22548_; +lean_dec_ref(v___x_22518_); +lean_dec(v___y_22495_); +lean_dec_ref(v___y_22494_); +lean_dec(v___y_22493_); +lean_dec_ref(v___y_22492_); +v_a_22541_ = lean_ctor_get(v___x_22540_, 0); +v_isSharedCheck_22548_ = !lean_is_exclusive(v___x_22540_); +if (v_isSharedCheck_22548_ == 0) { -v___x_22503_ = v___x_22500_; -v_isShared_22504_ = v_isSharedCheck_22508_; -goto v_resetjp_22502_; +v___x_22543_ = v___x_22540_; +v_isShared_22544_ = v_isSharedCheck_22548_; +goto v_resetjp_22542_; } else { -lean_inc(v_a_22501_); -lean_dec(v___x_22500_); -v___x_22503_ = lean_box(0); -v_isShared_22504_ = v_isSharedCheck_22508_; -goto v_resetjp_22502_; +lean_inc(v_a_22541_); +lean_dec(v___x_22540_); +v___x_22543_ = lean_box(0); +v_isShared_22544_ = v_isSharedCheck_22548_; +goto v_resetjp_22542_; } -v_resetjp_22502_: +v_resetjp_22542_: { -lean_object* v___x_22506_; -if (v_isShared_22504_ == 0) +lean_object* v___x_22546_; +if (v_isShared_22544_ == 0) { -v___x_22506_ = v___x_22503_; -goto v_reusejp_22505_; +v___x_22546_ = v___x_22543_; +goto v_reusejp_22545_; } else { -lean_object* v_reuseFailAlloc_22507_; -v_reuseFailAlloc_22507_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22507_, 0, v_a_22501_); -v___x_22506_ = v_reuseFailAlloc_22507_; -goto v_reusejp_22505_; +lean_object* v_reuseFailAlloc_22547_; +v_reuseFailAlloc_22547_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22547_, 0, v_a_22541_); +v___x_22546_ = v_reuseFailAlloc_22547_; +goto v_reusejp_22545_; } -v_reusejp_22505_: +v_reusejp_22545_: { -return v___x_22506_; +return v___x_22546_; } } } @@ -64944,294 +65099,188 @@ return v___x_22506_; } else { -lean_object* v_a_22509_; lean_object* v___x_22511_; uint8_t v_isShared_22512_; uint8_t v_isSharedCheck_22516_; -lean_dec_ref(v___x_22478_); -lean_dec(v_fst_22473_); -lean_dec(v___y_22455_); -lean_dec_ref(v___y_22454_); -lean_dec(v___y_22453_); -lean_dec_ref(v___y_22452_); -v_a_22509_ = lean_ctor_get(v___x_22497_, 0); -v_isSharedCheck_22516_ = !lean_is_exclusive(v___x_22497_); -if (v_isSharedCheck_22516_ == 0) +lean_object* v_a_22549_; lean_object* v___x_22551_; uint8_t v_isShared_22552_; uint8_t v_isSharedCheck_22556_; +lean_dec_ref(v___x_22518_); +lean_dec(v_fst_22513_); +lean_dec(v___y_22495_); +lean_dec_ref(v___y_22494_); +lean_dec(v___y_22493_); +lean_dec_ref(v___y_22492_); +v_a_22549_ = lean_ctor_get(v___x_22537_, 0); +v_isSharedCheck_22556_ = !lean_is_exclusive(v___x_22537_); +if (v_isSharedCheck_22556_ == 0) { -v___x_22511_ = v___x_22497_; -v_isShared_22512_ = v_isSharedCheck_22516_; -goto v_resetjp_22510_; +v___x_22551_ = v___x_22537_; +v_isShared_22552_ = v_isSharedCheck_22556_; +goto v_resetjp_22550_; } else { -lean_inc(v_a_22509_); -lean_dec(v___x_22497_); -v___x_22511_ = lean_box(0); -v_isShared_22512_ = v_isSharedCheck_22516_; -goto v_resetjp_22510_; +lean_inc(v_a_22549_); +lean_dec(v___x_22537_); +v___x_22551_ = lean_box(0); +v_isShared_22552_ = v_isSharedCheck_22556_; +goto v_resetjp_22550_; } -v_resetjp_22510_: +v_resetjp_22550_: { -lean_object* v___x_22514_; -if (v_isShared_22512_ == 0) +lean_object* v___x_22554_; +if (v_isShared_22552_ == 0) { -v___x_22514_ = v___x_22511_; -goto v_reusejp_22513_; +v___x_22554_ = v___x_22551_; +goto v_reusejp_22553_; } else { -lean_object* v_reuseFailAlloc_22515_; -v_reuseFailAlloc_22515_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22515_, 0, v_a_22509_); -v___x_22514_ = v_reuseFailAlloc_22515_; -goto v_reusejp_22513_; +lean_object* v_reuseFailAlloc_22555_; +v_reuseFailAlloc_22555_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22555_, 0, v_a_22549_); +v___x_22554_ = v_reuseFailAlloc_22555_; +goto v_reusejp_22553_; } -v_reusejp_22513_: +v_reusejp_22553_: { -return v___x_22514_; +return v___x_22554_; } } } } else { -lean_dec(v___x_22493_); -lean_dec(v_fst_22473_); -v_a_22458_ = v___x_22478_; -goto v___jp_22457_; +lean_dec(v___x_22533_); +lean_dec(v_fst_22513_); +v_a_22498_ = v___x_22518_; +goto v___jp_22497_; } } default: { -lean_dec(v_fst_22473_); -v_a_22458_ = v___x_22478_; -goto v___jp_22457_; +lean_dec(v_fst_22513_); +v_a_22498_ = v___x_22518_; +goto v___jp_22497_; } } } } } } -v___jp_22457_: +v___jp_22497_: { -size_t v___x_22459_; size_t v___x_22460_; -v___x_22459_ = ((size_t)1ULL); -v___x_22460_ = lean_usize_add(v_i_22450_, v___x_22459_); -v_i_22450_ = v___x_22460_; -v_b_22451_ = v_a_22458_; +size_t v___x_22499_; size_t v___x_22500_; +v___x_22499_ = ((size_t)1ULL); +v___x_22500_ = lean_usize_add(v_i_22490_, v___x_22499_); +v_i_22490_ = v___x_22500_; +v_b_22491_ = v_a_22498_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___boxed(lean_object* v___x_22522_, lean_object* v_as_22523_, lean_object* v_sz_22524_, lean_object* v_i_22525_, lean_object* v_b_22526_, lean_object* v___y_22527_, lean_object* v___y_22528_, lean_object* v___y_22529_, lean_object* v___y_22530_, lean_object* v___y_22531_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg___boxed(lean_object* v___x_22562_, lean_object* v_as_22563_, lean_object* v_sz_22564_, lean_object* v_i_22565_, lean_object* v_b_22566_, lean_object* v___y_22567_, lean_object* v___y_22568_, lean_object* v___y_22569_, lean_object* v___y_22570_, lean_object* v___y_22571_){ _start: { -uint8_t v___x_9266__boxed_22532_; size_t v_sz_boxed_22533_; size_t v_i_boxed_22534_; lean_object* v_res_22535_; -v___x_9266__boxed_22532_ = lean_unbox(v___x_22522_); -v_sz_boxed_22533_ = lean_unbox_usize(v_sz_22524_); -lean_dec(v_sz_22524_); -v_i_boxed_22534_ = lean_unbox_usize(v_i_22525_); -lean_dec(v_i_22525_); -v_res_22535_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_9266__boxed_22532_, v_as_22523_, v_sz_boxed_22533_, v_i_boxed_22534_, v_b_22526_, v___y_22527_, v___y_22528_, v___y_22529_, v___y_22530_); -lean_dec_ref(v_as_22523_); -return v_res_22535_; +uint8_t v___x_9266__boxed_22572_; size_t v_sz_boxed_22573_; size_t v_i_boxed_22574_; lean_object* v_res_22575_; +v___x_9266__boxed_22572_ = lean_unbox(v___x_22562_); +v_sz_boxed_22573_ = lean_unbox_usize(v_sz_22564_); +lean_dec(v_sz_22564_); +v_i_boxed_22574_ = lean_unbox_usize(v_i_22565_); +lean_dec(v_i_22565_); +v_res_22575_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_9266__boxed_22572_, v_as_22563_, v_sz_boxed_22573_, v_i_boxed_22574_, v_b_22566_, v___y_22567_, v___y_22568_, v___y_22569_, v___y_22570_); +lean_dec_ref(v_as_22563_); +return v_res_22575_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(size_t v_sz_22536_, size_t v_i_22537_, lean_object* v_bs_22538_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(size_t v_sz_22576_, size_t v_i_22577_, lean_object* v_bs_22578_){ _start: { -uint8_t v___x_22539_; -v___x_22539_ = lean_usize_dec_lt(v_i_22537_, v_sz_22536_); -if (v___x_22539_ == 0) +uint8_t v___x_22579_; +v___x_22579_ = lean_usize_dec_lt(v_i_22577_, v_sz_22576_); +if (v___x_22579_ == 0) { -return v_bs_22538_; +return v_bs_22578_; } else { -lean_object* v_v_22540_; lean_object* v_diagnostics_22541_; lean_object* v_msgLog_22542_; lean_object* v___x_22543_; lean_object* v_bs_x27_22544_; size_t v___x_22545_; size_t v___x_22546_; lean_object* v___x_22547_; -v_v_22540_ = lean_array_uget_borrowed(v_bs_22538_, v_i_22537_); -v_diagnostics_22541_ = lean_ctor_get(v_v_22540_, 1); -v_msgLog_22542_ = lean_ctor_get(v_diagnostics_22541_, 0); -lean_inc_ref(v_msgLog_22542_); -v___x_22543_ = lean_unsigned_to_nat(0u); -v_bs_x27_22544_ = lean_array_uset(v_bs_22538_, v_i_22537_, v___x_22543_); -v___x_22545_ = ((size_t)1ULL); -v___x_22546_ = lean_usize_add(v_i_22537_, v___x_22545_); -v___x_22547_ = lean_array_uset(v_bs_x27_22544_, v_i_22537_, v_msgLog_22542_); -v_i_22537_ = v___x_22546_; -v_bs_22538_ = v___x_22547_; +lean_object* v_v_22580_; lean_object* v_diagnostics_22581_; lean_object* v_msgLog_22582_; lean_object* v___x_22583_; lean_object* v_bs_x27_22584_; size_t v___x_22585_; size_t v___x_22586_; lean_object* v___x_22587_; +v_v_22580_ = lean_array_uget_borrowed(v_bs_22578_, v_i_22577_); +v_diagnostics_22581_ = lean_ctor_get(v_v_22580_, 1); +v_msgLog_22582_ = lean_ctor_get(v_diagnostics_22581_, 0); +lean_inc_ref(v_msgLog_22582_); +v___x_22583_ = lean_unsigned_to_nat(0u); +v_bs_x27_22584_ = lean_array_uset(v_bs_22578_, v_i_22577_, v___x_22583_); +v___x_22585_ = ((size_t)1ULL); +v___x_22586_ = lean_usize_add(v_i_22577_, v___x_22585_); +v___x_22587_ = lean_array_uset(v_bs_x27_22584_, v_i_22577_, v_msgLog_22582_); +v_i_22577_ = v___x_22586_; +v_bs_22578_ = v___x_22587_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4___boxed(lean_object* v_sz_22549_, lean_object* v_i_22550_, lean_object* v_bs_22551_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4___boxed(lean_object* v_sz_22589_, lean_object* v_i_22590_, lean_object* v_bs_22591_){ _start: { -size_t v_sz_boxed_22552_; size_t v_i_boxed_22553_; lean_object* v_res_22554_; -v_sz_boxed_22552_ = lean_unbox_usize(v_sz_22549_); -lean_dec(v_sz_22549_); -v_i_boxed_22553_ = lean_unbox_usize(v_i_22550_); -lean_dec(v_i_22550_); -v_res_22554_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(v_sz_boxed_22552_, v_i_boxed_22553_, v_bs_22551_); -return v_res_22554_; +size_t v_sz_boxed_22592_; size_t v_i_boxed_22593_; lean_object* v_res_22594_; +v_sz_boxed_22592_ = lean_unbox_usize(v_sz_22589_); +lean_dec(v_sz_22589_); +v_i_boxed_22593_ = lean_unbox_usize(v_i_22590_); +lean_dec(v_i_22590_); +v_res_22594_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(v_sz_boxed_22592_, v_i_boxed_22593_, v_bs_22591_); +return v_res_22594_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0(lean_object* v_x_22558_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0(lean_object* v_x_22598_){ _start: { -lean_object* v___x_22559_; uint8_t v___x_22560_; -v___x_22559_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0___closed__1)); -v___x_22560_ = lean_name_eq(v_x_22558_, v___x_22559_); -return v___x_22560_; +lean_object* v___x_22599_; uint8_t v___x_22600_; +v___x_22599_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0___closed__1)); +v___x_22600_ = lean_name_eq(v_x_22598_, v___x_22599_); +return v___x_22600_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0___boxed(lean_object* v_x_22561_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0___boxed(lean_object* v_x_22601_){ _start: { -uint8_t v_res_22562_; lean_object* v_r_22563_; -v_res_22562_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0(v_x_22561_); -lean_dec(v_x_22561_); -v_r_22563_ = lean_box(v_res_22562_); -return v_r_22563_; +uint8_t v_res_22602_; lean_object* v_r_22603_; +v_res_22602_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___lam__0(v_x_22601_); +lean_dec(v_x_22601_); +v_r_22603_ = lean_box(v_res_22602_); +return v_r_22603_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(uint8_t v___x_22565_, lean_object* v_as_22566_, size_t v_i_22567_, size_t v_stop_22568_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(uint8_t v___x_22605_, lean_object* v_as_22606_, size_t v_i_22607_, size_t v_stop_22608_){ _start: { -uint8_t v___x_22569_; -v___x_22569_ = lean_usize_dec_eq(v_i_22567_, v_stop_22568_); -if (v___x_22569_ == 0) +uint8_t v___x_22609_; +v___x_22609_ = lean_usize_dec_eq(v_i_22607_, v_stop_22608_); +if (v___x_22609_ == 0) { -lean_object* v___x_22570_; uint8_t v_severity_22571_; lean_object* v_data_22572_; uint8_t v___x_22573_; uint8_t v___y_22575_; -v___x_22570_ = lean_array_uget_borrowed(v_as_22566_, v_i_22567_); -v_severity_22571_ = lean_ctor_get_uint8(v___x_22570_, sizeof(void*)*5 + 1); -v_data_22572_ = lean_ctor_get(v___x_22570_, 4); -v___x_22573_ = 1; -if (v_severity_22571_ == 2) +lean_object* v___x_22610_; uint8_t v_severity_22611_; lean_object* v_data_22612_; uint8_t v___x_22613_; uint8_t v___y_22615_; +v___x_22610_ = lean_array_uget_borrowed(v_as_22606_, v_i_22607_); +v_severity_22611_ = lean_ctor_get_uint8(v___x_22610_, sizeof(void*)*5 + 1); +v_data_22612_ = lean_ctor_get(v___x_22610_, 4); +v___x_22613_ = 1; +if (v_severity_22611_ == 2) { -v___y_22575_ = v___x_22565_; -goto v___jp_22574_; +v___y_22615_ = v___x_22605_; +goto v___jp_22614_; } else { -lean_object* v___f_22579_; uint8_t v___x_22580_; -v___f_22579_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___closed__0)); -lean_inc(v_data_22572_); -v___x_22580_ = l_Lean_MessageData_hasTag(v___f_22579_, v_data_22572_); -v___y_22575_ = v___x_22580_; -goto v___jp_22574_; +lean_object* v___f_22619_; uint8_t v___x_22620_; +v___f_22619_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___closed__0)); +lean_inc(v_data_22612_); +v___x_22620_ = l_Lean_MessageData_hasTag(v___f_22619_, v_data_22612_); +v___y_22615_ = v___x_22620_; +goto v___jp_22614_; } -v___jp_22574_: +v___jp_22614_: { -if (v___y_22575_ == 0) +if (v___y_22615_ == 0) { -size_t v___x_22576_; size_t v___x_22577_; -v___x_22576_ = ((size_t)1ULL); -v___x_22577_ = lean_usize_add(v_i_22567_, v___x_22576_); -v_i_22567_ = v___x_22577_; -goto _start; -} -else -{ -return v___x_22573_; -} -} -} -else -{ -uint8_t v___x_22581_; -v___x_22581_ = 0; -return v___x_22581_; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___boxed(lean_object* v___x_22582_, lean_object* v_as_22583_, lean_object* v_i_22584_, lean_object* v_stop_22585_){ -_start: -{ -uint8_t v___x_9441__boxed_22586_; size_t v_i_boxed_22587_; size_t v_stop_boxed_22588_; uint8_t v_res_22589_; lean_object* v_r_22590_; -v___x_9441__boxed_22586_ = lean_unbox(v___x_22582_); -v_i_boxed_22587_ = lean_unbox_usize(v_i_22584_); -lean_dec(v_i_22584_); -v_stop_boxed_22588_ = lean_unbox_usize(v_stop_22585_); -lean_dec(v_stop_22585_); -v_res_22589_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_9441__boxed_22586_, v_as_22583_, v_i_boxed_22587_, v_stop_boxed_22588_); -lean_dec_ref(v_as_22583_); -v_r_22590_ = lean_box(v_res_22589_); -return v_r_22590_; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(uint8_t v___x_22591_, lean_object* v_x_22592_){ -_start: -{ -if (lean_obj_tag(v_x_22592_) == 0) -{ -lean_object* v_cs_22593_; lean_object* v___x_22594_; lean_object* v___x_22595_; uint8_t v___x_22596_; -v_cs_22593_ = lean_ctor_get(v_x_22592_, 0); -v___x_22594_ = lean_unsigned_to_nat(0u); -v___x_22595_ = lean_array_get_size(v_cs_22593_); -v___x_22596_ = lean_nat_dec_lt(v___x_22594_, v___x_22595_); -if (v___x_22596_ == 0) -{ -return v___x_22596_; -} -else -{ -if (v___x_22596_ == 0) -{ -return v___x_22596_; -} -else -{ -size_t v___x_22597_; size_t v___x_22598_; uint8_t v___x_22599_; -v___x_22597_ = ((size_t)0ULL); -v___x_22598_ = lean_usize_of_nat(v___x_22595_); -v___x_22599_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(v___x_22591_, v_cs_22593_, v___x_22597_, v___x_22598_); -return v___x_22599_; -} -} -} -else -{ -lean_object* v_vs_22600_; lean_object* v___x_22601_; lean_object* v___x_22602_; uint8_t v___x_22603_; -v_vs_22600_ = lean_ctor_get(v_x_22592_, 0); -v___x_22601_ = lean_unsigned_to_nat(0u); -v___x_22602_ = lean_array_get_size(v_vs_22600_); -v___x_22603_ = lean_nat_dec_lt(v___x_22601_, v___x_22602_); -if (v___x_22603_ == 0) -{ -return v___x_22603_; -} -else -{ -if (v___x_22603_ == 0) -{ -return v___x_22603_; -} -else -{ -size_t v___x_22604_; size_t v___x_22605_; uint8_t v___x_22606_; -v___x_22604_ = ((size_t)0ULL); -v___x_22605_ = lean_usize_of_nat(v___x_22602_); -v___x_22606_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_22591_, v_vs_22600_, v___x_22604_, v___x_22605_); -return v___x_22606_; -} -} -} -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(uint8_t v___x_22607_, lean_object* v_as_22608_, size_t v_i_22609_, size_t v_stop_22610_){ -_start: -{ -uint8_t v___x_22611_; -v___x_22611_ = lean_usize_dec_eq(v_i_22609_, v_stop_22610_); -if (v___x_22611_ == 0) -{ -lean_object* v___x_22612_; uint8_t v___x_22613_; -v___x_22612_ = lean_array_uget_borrowed(v_as_22608_, v_i_22609_); -v___x_22613_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_22607_, v___x_22612_); -if (v___x_22613_ == 0) -{ -size_t v___x_22614_; size_t v___x_22615_; -v___x_22614_ = ((size_t)1ULL); -v___x_22615_ = lean_usize_add(v_i_22609_, v___x_22614_); -v_i_22609_ = v___x_22615_; +size_t v___x_22616_; size_t v___x_22617_; +v___x_22616_ = ((size_t)1ULL); +v___x_22617_ = lean_usize_add(v_i_22607_, v___x_22616_); +v_i_22607_ = v___x_22617_; goto _start; } else @@ -65239,676 +65288,782 @@ else return v___x_22613_; } } +} else { -uint8_t v___x_22617_; -v___x_22617_ = 0; -return v___x_22617_; +uint8_t v___x_22621_; +v___x_22621_ = 0; +return v___x_22621_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1___boxed(lean_object* v___x_22618_, lean_object* v_as_22619_, lean_object* v_i_22620_, lean_object* v_stop_22621_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1___boxed(lean_object* v___x_22622_, lean_object* v_as_22623_, lean_object* v_i_22624_, lean_object* v_stop_22625_){ _start: { -uint8_t v___x_9467__boxed_22622_; size_t v_i_boxed_22623_; size_t v_stop_boxed_22624_; uint8_t v_res_22625_; lean_object* v_r_22626_; -v___x_9467__boxed_22622_ = lean_unbox(v___x_22618_); -v_i_boxed_22623_ = lean_unbox_usize(v_i_22620_); -lean_dec(v_i_22620_); -v_stop_boxed_22624_ = lean_unbox_usize(v_stop_22621_); -lean_dec(v_stop_22621_); -v_res_22625_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(v___x_9467__boxed_22622_, v_as_22619_, v_i_boxed_22623_, v_stop_boxed_22624_); -lean_dec_ref(v_as_22619_); -v_r_22626_ = lean_box(v_res_22625_); -return v_r_22626_; +uint8_t v___x_9441__boxed_22626_; size_t v_i_boxed_22627_; size_t v_stop_boxed_22628_; uint8_t v_res_22629_; lean_object* v_r_22630_; +v___x_9441__boxed_22626_ = lean_unbox(v___x_22622_); +v_i_boxed_22627_ = lean_unbox_usize(v_i_22624_); +lean_dec(v_i_22624_); +v_stop_boxed_22628_ = lean_unbox_usize(v_stop_22625_); +lean_dec(v_stop_22625_); +v_res_22629_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_9441__boxed_22626_, v_as_22623_, v_i_boxed_22627_, v_stop_boxed_22628_); +lean_dec_ref(v_as_22623_); +v_r_22630_ = lean_box(v_res_22629_); +return v_r_22630_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0___boxed(lean_object* v___x_22627_, lean_object* v_x_22628_){ +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(uint8_t v___x_22631_, lean_object* v_x_22632_){ _start: { -uint8_t v___x_9475__boxed_22629_; uint8_t v_res_22630_; lean_object* v_r_22631_; -v___x_9475__boxed_22629_ = lean_unbox(v___x_22627_); -v_res_22630_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_9475__boxed_22629_, v_x_22628_); -lean_dec_ref(v_x_22628_); -v_r_22631_ = lean_box(v_res_22630_); -return v_r_22631_; -} -} -LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(uint8_t v___x_22632_, lean_object* v_t_22633_){ -_start: +if (lean_obj_tag(v_x_22632_) == 0) { -lean_object* v_root_22634_; lean_object* v_tail_22635_; uint8_t v___x_22636_; -v_root_22634_ = lean_ctor_get(v_t_22633_, 0); -v_tail_22635_ = lean_ctor_get(v_t_22633_, 1); -v___x_22636_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_22632_, v_root_22634_); +lean_object* v_cs_22633_; lean_object* v___x_22634_; lean_object* v___x_22635_; uint8_t v___x_22636_; +v_cs_22633_ = lean_ctor_get(v_x_22632_, 0); +v___x_22634_ = lean_unsigned_to_nat(0u); +v___x_22635_ = lean_array_get_size(v_cs_22633_); +v___x_22636_ = lean_nat_dec_lt(v___x_22634_, v___x_22635_); if (v___x_22636_ == 0) { -lean_object* v___x_22637_; lean_object* v___x_22638_; uint8_t v___x_22639_; -v___x_22637_ = lean_unsigned_to_nat(0u); -v___x_22638_ = lean_array_get_size(v_tail_22635_); -v___x_22639_ = lean_nat_dec_lt(v___x_22637_, v___x_22638_); -if (v___x_22639_ == 0) +return v___x_22636_; +} +else +{ +if (v___x_22636_ == 0) { return v___x_22636_; } else { -if (v___x_22639_ == 0) -{ -return v___x_22636_; -} -else -{ -size_t v___x_22640_; size_t v___x_22641_; uint8_t v___x_22642_; -v___x_22640_ = ((size_t)0ULL); -v___x_22641_ = lean_usize_of_nat(v___x_22638_); -v___x_22642_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_22632_, v_tail_22635_, v___x_22640_, v___x_22641_); -return v___x_22642_; +size_t v___x_22637_; size_t v___x_22638_; uint8_t v___x_22639_; +v___x_22637_ = ((size_t)0ULL); +v___x_22638_ = lean_usize_of_nat(v___x_22635_); +v___x_22639_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(v___x_22631_, v_cs_22633_, v___x_22637_, v___x_22638_); +return v___x_22639_; } } } else { -return v___x_22636_; +lean_object* v_vs_22640_; lean_object* v___x_22641_; lean_object* v___x_22642_; uint8_t v___x_22643_; +v_vs_22640_ = lean_ctor_get(v_x_22632_, 0); +v___x_22641_ = lean_unsigned_to_nat(0u); +v___x_22642_ = lean_array_get_size(v_vs_22640_); +v___x_22643_ = lean_nat_dec_lt(v___x_22641_, v___x_22642_); +if (v___x_22643_ == 0) +{ +return v___x_22643_; +} +else +{ +if (v___x_22643_ == 0) +{ +return v___x_22643_; +} +else +{ +size_t v___x_22644_; size_t v___x_22645_; uint8_t v___x_22646_; +v___x_22644_ = ((size_t)0ULL); +v___x_22645_ = lean_usize_of_nat(v___x_22642_); +v___x_22646_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_22631_, v_vs_22640_, v___x_22644_, v___x_22645_); +return v___x_22646_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0___boxed(lean_object* v___x_22643_, lean_object* v_t_22644_){ +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(uint8_t v___x_22647_, lean_object* v_as_22648_, size_t v_i_22649_, size_t v_stop_22650_){ _start: { -uint8_t v___x_9518__boxed_22645_; uint8_t v_res_22646_; lean_object* v_r_22647_; -v___x_9518__boxed_22645_ = lean_unbox(v___x_22643_); -v_res_22646_ = l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(v___x_9518__boxed_22645_, v_t_22644_); -lean_dec_ref(v_t_22644_); -v_r_22647_ = lean_box(v_res_22646_); -return v_r_22647_; -} -} -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(uint8_t v___x_22648_, lean_object* v_as_22649_, size_t v_i_22650_, size_t v_stop_22651_){ -_start: +uint8_t v___x_22651_; +v___x_22651_ = lean_usize_dec_eq(v_i_22649_, v_stop_22650_); +if (v___x_22651_ == 0) { -uint8_t v___x_22652_; -v___x_22652_ = lean_usize_dec_eq(v_i_22650_, v_stop_22651_); -if (v___x_22652_ == 0) +lean_object* v___x_22652_; uint8_t v___x_22653_; +v___x_22652_ = lean_array_uget_borrowed(v_as_22648_, v_i_22649_); +v___x_22653_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_22647_, v___x_22652_); +if (v___x_22653_ == 0) { -lean_object* v___x_22653_; lean_object* v___x_22654_; uint8_t v___x_22655_; -v___x_22653_ = lean_array_uget_borrowed(v_as_22649_, v_i_22650_); -lean_inc(v___x_22653_); -v___x_22654_ = l_Lean_MessageLog_reportedPlusUnreported(v___x_22653_); -v___x_22655_ = l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(v___x_22648_, v___x_22654_); -lean_dec_ref(v___x_22654_); -if (v___x_22655_ == 0) -{ -size_t v___x_22656_; size_t v___x_22657_; -v___x_22656_ = ((size_t)1ULL); -v___x_22657_ = lean_usize_add(v_i_22650_, v___x_22656_); -v_i_22650_ = v___x_22657_; +size_t v___x_22654_; size_t v___x_22655_; +v___x_22654_ = ((size_t)1ULL); +v___x_22655_ = lean_usize_add(v_i_22649_, v___x_22654_); +v_i_22649_ = v___x_22655_; goto _start; } else { -return v___x_22655_; +return v___x_22653_; } } else { -uint8_t v___x_22659_; -v___x_22659_ = 0; -return v___x_22659_; +uint8_t v___x_22657_; +v___x_22657_ = 0; +return v___x_22657_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5___boxed(lean_object* v___x_22660_, lean_object* v_as_22661_, lean_object* v_i_22662_, lean_object* v_stop_22663_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1___boxed(lean_object* v___x_22658_, lean_object* v_as_22659_, lean_object* v_i_22660_, lean_object* v_stop_22661_){ _start: { -uint8_t v___x_9535__boxed_22664_; size_t v_i_boxed_22665_; size_t v_stop_boxed_22666_; uint8_t v_res_22667_; lean_object* v_r_22668_; -v___x_9535__boxed_22664_ = lean_unbox(v___x_22660_); -v_i_boxed_22665_ = lean_unbox_usize(v_i_22662_); -lean_dec(v_i_22662_); -v_stop_boxed_22666_ = lean_unbox_usize(v_stop_22663_); -lean_dec(v_stop_22663_); -v_res_22667_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(v___x_9535__boxed_22664_, v_as_22661_, v_i_boxed_22665_, v_stop_boxed_22666_); -lean_dec_ref(v_as_22661_); -v_r_22668_ = lean_box(v_res_22667_); -return v_r_22668_; +uint8_t v___x_9467__boxed_22662_; size_t v_i_boxed_22663_; size_t v_stop_boxed_22664_; uint8_t v_res_22665_; lean_object* v_r_22666_; +v___x_9467__boxed_22662_ = lean_unbox(v___x_22658_); +v_i_boxed_22663_ = lean_unbox_usize(v_i_22660_); +lean_dec(v_i_22660_); +v_stop_boxed_22664_ = lean_unbox_usize(v_stop_22661_); +lean_dec(v_stop_22661_); +v_res_22665_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0_spec__1(v___x_9467__boxed_22662_, v_as_22659_, v_i_boxed_22663_, v_stop_boxed_22664_); +lean_dec_ref(v_as_22659_); +v_r_22666_ = lean_box(v_res_22665_); +return v_r_22666_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0(lean_object* v___x_22669_, lean_object* v___x_22670_, uint8_t v___x_22671_, lean_object* v_defs_22672_, size_t v_sz_22673_, size_t v___x_22674_, lean_object* v___x_22675_, lean_object* v_a_22676_, lean_object* v_x_22677_, lean_object* v___y_22678_, lean_object* v___y_22679_, lean_object* v___y_22680_, lean_object* v___y_22681_, lean_object* v___y_22682_, lean_object* v___y_22683_){ +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0___boxed(lean_object* v___x_22667_, lean_object* v_x_22668_){ _start: { -lean_object* v___x_22706_; size_t v_sz_22707_; lean_object* v___x_22708_; lean_object* v___x_22709_; lean_object* v___x_22710_; uint8_t v___x_22711_; -v___x_22706_ = l_Lean_Language_SnapshotTree_getAll(v___x_22675_); -v_sz_22707_ = lean_array_size(v___x_22706_); -v___x_22708_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(v_sz_22707_, v___x_22674_, v___x_22706_); -v___x_22709_ = lean_array_push(v___x_22708_, v_a_22676_); -v___x_22710_ = lean_array_get_size(v___x_22709_); -v___x_22711_ = lean_nat_dec_lt(v___x_22670_, v___x_22710_); -if (v___x_22711_ == 0) +uint8_t v___x_9475__boxed_22669_; uint8_t v_res_22670_; lean_object* v_r_22671_; +v___x_9475__boxed_22669_ = lean_unbox(v___x_22667_); +v_res_22670_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_9475__boxed_22669_, v_x_22668_); +lean_dec_ref(v_x_22668_); +v_r_22671_ = lean_box(v_res_22670_); +return v_r_22671_; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(uint8_t v___x_22672_, lean_object* v_t_22673_){ +_start: { +lean_object* v_root_22674_; lean_object* v_tail_22675_; uint8_t v___x_22676_; +v_root_22674_ = lean_ctor_get(v_t_22673_, 0); +v_tail_22675_ = lean_ctor_get(v_t_22673_, 1); +v___x_22676_ = l_Lean_PersistentArray_anyMAux___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__0(v___x_22672_, v_root_22674_); +if (v___x_22676_ == 0) +{ +lean_object* v___x_22677_; lean_object* v___x_22678_; uint8_t v___x_22679_; +v___x_22677_ = lean_unsigned_to_nat(0u); +v___x_22678_ = lean_array_get_size(v_tail_22675_); +v___x_22679_ = lean_nat_dec_lt(v___x_22677_, v___x_22678_); +if (v___x_22679_ == 0) +{ +return v___x_22676_; +} +else +{ +if (v___x_22679_ == 0) +{ +return v___x_22676_; +} +else +{ +size_t v___x_22680_; size_t v___x_22681_; uint8_t v___x_22682_; +v___x_22680_ = ((size_t)0ULL); +v___x_22681_ = lean_usize_of_nat(v___x_22678_); +v___x_22682_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0_spec__1(v___x_22672_, v_tail_22675_, v___x_22680_, v___x_22681_); +return v___x_22682_; +} +} +} +else +{ +return v___x_22676_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0___boxed(lean_object* v___x_22683_, lean_object* v_t_22684_){ +_start: +{ +uint8_t v___x_9518__boxed_22685_; uint8_t v_res_22686_; lean_object* v_r_22687_; +v___x_9518__boxed_22685_ = lean_unbox(v___x_22683_); +v_res_22686_ = l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(v___x_9518__boxed_22685_, v_t_22684_); +lean_dec_ref(v_t_22684_); +v_r_22687_ = lean_box(v_res_22686_); +return v_r_22687_; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(uint8_t v___x_22688_, lean_object* v_as_22689_, size_t v_i_22690_, size_t v_stop_22691_){ +_start: +{ +uint8_t v___x_22692_; +v___x_22692_ = lean_usize_dec_eq(v_i_22690_, v_stop_22691_); +if (v___x_22692_ == 0) +{ +lean_object* v___x_22693_; lean_object* v___x_22694_; uint8_t v___x_22695_; +v___x_22693_ = lean_array_uget_borrowed(v_as_22689_, v_i_22690_); +lean_inc(v___x_22693_); +v___x_22694_ = l_Lean_MessageLog_reportedPlusUnreported(v___x_22693_); +v___x_22695_ = l_Lean_PersistentArray_anyM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__0(v___x_22688_, v___x_22694_); +lean_dec_ref(v___x_22694_); +if (v___x_22695_ == 0) +{ +size_t v___x_22696_; size_t v___x_22697_; +v___x_22696_ = ((size_t)1ULL); +v___x_22697_ = lean_usize_add(v_i_22690_, v___x_22696_); +v_i_22690_ = v___x_22697_; +goto _start; +} +else +{ +return v___x_22695_; +} +} +else +{ +uint8_t v___x_22699_; +v___x_22699_ = 0; +return v___x_22699_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5___boxed(lean_object* v___x_22700_, lean_object* v_as_22701_, lean_object* v_i_22702_, lean_object* v_stop_22703_){ +_start: +{ +uint8_t v___x_9535__boxed_22704_; size_t v_i_boxed_22705_; size_t v_stop_boxed_22706_; uint8_t v_res_22707_; lean_object* v_r_22708_; +v___x_9535__boxed_22704_ = lean_unbox(v___x_22700_); +v_i_boxed_22705_ = lean_unbox_usize(v_i_22702_); +lean_dec(v_i_22702_); +v_stop_boxed_22706_ = lean_unbox_usize(v_stop_22703_); +lean_dec(v_stop_22703_); +v_res_22707_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(v___x_9535__boxed_22704_, v_as_22701_, v_i_boxed_22705_, v_stop_boxed_22706_); +lean_dec_ref(v_as_22701_); +v_r_22708_ = lean_box(v_res_22707_); +return v_r_22708_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0(lean_object* v___x_22709_, lean_object* v___x_22710_, uint8_t v___x_22711_, lean_object* v_defs_22712_, size_t v_sz_22713_, size_t v___x_22714_, lean_object* v___x_22715_, lean_object* v_a_22716_, lean_object* v_x_22717_, lean_object* v___y_22718_, lean_object* v___y_22719_, lean_object* v___y_22720_, lean_object* v___y_22721_, lean_object* v___y_22722_, lean_object* v___y_22723_){ +_start: +{ +lean_object* v___x_22746_; size_t v_sz_22747_; lean_object* v___x_22748_; lean_object* v___x_22749_; lean_object* v___x_22750_; uint8_t v___x_22751_; +v___x_22746_ = l_Lean_Language_SnapshotTree_getAll(v___x_22715_); +v_sz_22747_ = lean_array_size(v___x_22746_); +v___x_22748_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__4(v_sz_22747_, v___x_22714_, v___x_22746_); +v___x_22749_ = lean_array_push(v___x_22748_, v_a_22716_); +v___x_22750_ = lean_array_get_size(v___x_22749_); +v___x_22751_ = lean_nat_dec_lt(v___x_22710_, v___x_22750_); +if (v___x_22751_ == 0) +{ +lean_dec_ref(v___x_22749_); +goto v___jp_22725_; +} +else +{ +if (v___x_22751_ == 0) +{ +lean_dec_ref(v___x_22749_); +goto v___jp_22725_; +} +else +{ +size_t v___x_22752_; uint8_t v___x_22753_; +v___x_22752_ = lean_usize_of_nat(v___x_22750_); +v___x_22753_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(v___x_22711_, v___x_22749_, v___x_22714_, v___x_22752_); +lean_dec_ref(v___x_22749_); +if (v___x_22753_ == 0) +{ +goto v___jp_22725_; +} +else +{ +lean_object* v___x_22754_; lean_object* v___x_22755_; +lean_dec(v___y_22723_); +lean_dec_ref(v___y_22722_); +lean_dec(v___y_22721_); +lean_dec_ref(v___y_22720_); +lean_dec(v___x_22710_); lean_dec_ref(v___x_22709_); -goto v___jp_22685_; +v___x_22754_ = lean_box(0); +v___x_22755_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22755_, 0, v___x_22754_); +return v___x_22755_; +} +} +} +v___jp_22725_: +{ +lean_object* v___x_22726_; lean_object* v___x_22727_; lean_object* v___x_22728_; +v___x_22726_ = lean_array_get_size(v___x_22709_); +v___x_22727_ = l_Array_toSubarray___redArg(v___x_22709_, v___x_22710_, v___x_22726_); +v___x_22728_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_22711_, v_defs_22712_, v_sz_22713_, v___x_22714_, v___x_22727_, v___y_22720_, v___y_22721_, v___y_22722_, v___y_22723_); +if (lean_obj_tag(v___x_22728_) == 0) +{ +lean_object* v___x_22730_; uint8_t v_isShared_22731_; uint8_t v_isSharedCheck_22736_; +v_isSharedCheck_22736_ = !lean_is_exclusive(v___x_22728_); +if (v_isSharedCheck_22736_ == 0) +{ +lean_object* v_unused_22737_; +v_unused_22737_ = lean_ctor_get(v___x_22728_, 0); +lean_dec(v_unused_22737_); +v___x_22730_ = v___x_22728_; +v_isShared_22731_ = v_isSharedCheck_22736_; +goto v_resetjp_22729_; } else { -if (v___x_22711_ == 0) +lean_dec(v___x_22728_); +v___x_22730_ = lean_box(0); +v_isShared_22731_ = v_isSharedCheck_22736_; +goto v_resetjp_22729_; +} +v_resetjp_22729_: { -lean_dec_ref(v___x_22709_); -goto v___jp_22685_; +lean_object* v___x_22732_; lean_object* v___x_22734_; +v___x_22732_ = lean_box(0); +if (v_isShared_22731_ == 0) +{ +lean_ctor_set(v___x_22730_, 0, v___x_22732_); +v___x_22734_ = v___x_22730_; +goto v_reusejp_22733_; } else { -size_t v___x_22712_; uint8_t v___x_22713_; -v___x_22712_ = lean_usize_of_nat(v___x_22710_); -v___x_22713_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__5(v___x_22671_, v___x_22709_, v___x_22674_, v___x_22712_); -lean_dec_ref(v___x_22709_); -if (v___x_22713_ == 0) -{ -goto v___jp_22685_; +lean_object* v_reuseFailAlloc_22735_; +v_reuseFailAlloc_22735_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22735_, 0, v___x_22732_); +v___x_22734_ = v_reuseFailAlloc_22735_; +goto v_reusejp_22733_; } -else +v_reusejp_22733_: { -lean_object* v___x_22714_; lean_object* v___x_22715_; -lean_dec(v___y_22683_); -lean_dec_ref(v___y_22682_); -lean_dec(v___y_22681_); -lean_dec_ref(v___y_22680_); -lean_dec(v___x_22670_); -lean_dec_ref(v___x_22669_); -v___x_22714_ = lean_box(0); -v___x_22715_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22715_, 0, v___x_22714_); -return v___x_22715_; -} -} -} -v___jp_22685_: -{ -lean_object* v___x_22686_; lean_object* v___x_22687_; lean_object* v___x_22688_; -v___x_22686_ = lean_array_get_size(v___x_22669_); -v___x_22687_ = l_Array_toSubarray___redArg(v___x_22669_, v___x_22670_, v___x_22686_); -v___x_22688_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_22671_, v_defs_22672_, v_sz_22673_, v___x_22674_, v___x_22687_, v___y_22680_, v___y_22681_, v___y_22682_, v___y_22683_); -if (lean_obj_tag(v___x_22688_) == 0) -{ -lean_object* v___x_22690_; uint8_t v_isShared_22691_; uint8_t v_isSharedCheck_22696_; -v_isSharedCheck_22696_ = !lean_is_exclusive(v___x_22688_); -if (v_isSharedCheck_22696_ == 0) -{ -lean_object* v_unused_22697_; -v_unused_22697_ = lean_ctor_get(v___x_22688_, 0); -lean_dec(v_unused_22697_); -v___x_22690_ = v___x_22688_; -v_isShared_22691_ = v_isSharedCheck_22696_; -goto v_resetjp_22689_; -} -else -{ -lean_dec(v___x_22688_); -v___x_22690_ = lean_box(0); -v_isShared_22691_ = v_isSharedCheck_22696_; -goto v_resetjp_22689_; -} -v_resetjp_22689_: -{ -lean_object* v___x_22692_; lean_object* v___x_22694_; -v___x_22692_ = lean_box(0); -if (v_isShared_22691_ == 0) -{ -lean_ctor_set(v___x_22690_, 0, v___x_22692_); -v___x_22694_ = v___x_22690_; -goto v_reusejp_22693_; -} -else -{ -lean_object* v_reuseFailAlloc_22695_; -v_reuseFailAlloc_22695_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22695_, 0, v___x_22692_); -v___x_22694_ = v_reuseFailAlloc_22695_; -goto v_reusejp_22693_; -} -v_reusejp_22693_: -{ -return v___x_22694_; +return v___x_22734_; } } } else { -lean_object* v_a_22698_; lean_object* v___x_22700_; uint8_t v_isShared_22701_; uint8_t v_isSharedCheck_22705_; -v_a_22698_ = lean_ctor_get(v___x_22688_, 0); -v_isSharedCheck_22705_ = !lean_is_exclusive(v___x_22688_); -if (v_isSharedCheck_22705_ == 0) +lean_object* v_a_22738_; lean_object* v___x_22740_; uint8_t v_isShared_22741_; uint8_t v_isSharedCheck_22745_; +v_a_22738_ = lean_ctor_get(v___x_22728_, 0); +v_isSharedCheck_22745_ = !lean_is_exclusive(v___x_22728_); +if (v_isSharedCheck_22745_ == 0) { -v___x_22700_ = v___x_22688_; -v_isShared_22701_ = v_isSharedCheck_22705_; -goto v_resetjp_22699_; +v___x_22740_ = v___x_22728_; +v_isShared_22741_ = v_isSharedCheck_22745_; +goto v_resetjp_22739_; } else { -lean_inc(v_a_22698_); -lean_dec(v___x_22688_); -v___x_22700_ = lean_box(0); -v_isShared_22701_ = v_isSharedCheck_22705_; -goto v_resetjp_22699_; +lean_inc(v_a_22738_); +lean_dec(v___x_22728_); +v___x_22740_ = lean_box(0); +v_isShared_22741_ = v_isSharedCheck_22745_; +goto v_resetjp_22739_; } -v_resetjp_22699_: +v_resetjp_22739_: { -lean_object* v___x_22703_; -if (v_isShared_22701_ == 0) +lean_object* v___x_22743_; +if (v_isShared_22741_ == 0) { -v___x_22703_ = v___x_22700_; -goto v_reusejp_22702_; +v___x_22743_ = v___x_22740_; +goto v_reusejp_22742_; } else { -lean_object* v_reuseFailAlloc_22704_; -v_reuseFailAlloc_22704_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22704_, 0, v_a_22698_); -v___x_22703_ = v_reuseFailAlloc_22704_; -goto v_reusejp_22702_; +lean_object* v_reuseFailAlloc_22744_; +v_reuseFailAlloc_22744_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22744_, 0, v_a_22738_); +v___x_22743_ = v_reuseFailAlloc_22744_; +goto v_reusejp_22742_; } -v_reusejp_22702_: +v_reusejp_22742_: { -return v___x_22703_; +return v___x_22743_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0___boxed(lean_object* v___x_22716_, lean_object* v___x_22717_, lean_object* v___x_22718_, lean_object* v_defs_22719_, lean_object* v_sz_22720_, lean_object* v___x_22721_, lean_object* v___x_22722_, lean_object* v_a_22723_, lean_object* v_x_22724_, lean_object* v___y_22725_, lean_object* v___y_22726_, lean_object* v___y_22727_, lean_object* v___y_22728_, lean_object* v___y_22729_, lean_object* v___y_22730_, lean_object* v___y_22731_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0___boxed(lean_object* v___x_22756_, lean_object* v___x_22757_, lean_object* v___x_22758_, lean_object* v_defs_22759_, lean_object* v_sz_22760_, lean_object* v___x_22761_, lean_object* v___x_22762_, lean_object* v_a_22763_, lean_object* v_x_22764_, lean_object* v___y_22765_, lean_object* v___y_22766_, lean_object* v___y_22767_, lean_object* v___y_22768_, lean_object* v___y_22769_, lean_object* v___y_22770_, lean_object* v___y_22771_){ _start: { -uint8_t v___x_9556__boxed_22732_; size_t v_sz_boxed_22733_; size_t v___x_9557__boxed_22734_; lean_object* v_res_22735_; -v___x_9556__boxed_22732_ = lean_unbox(v___x_22718_); -v_sz_boxed_22733_ = lean_unbox_usize(v_sz_22720_); -lean_dec(v_sz_22720_); -v___x_9557__boxed_22734_ = lean_unbox_usize(v___x_22721_); -lean_dec(v___x_22721_); -v_res_22735_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0(v___x_22716_, v___x_22717_, v___x_9556__boxed_22732_, v_defs_22719_, v_sz_boxed_22733_, v___x_9557__boxed_22734_, v___x_22722_, v_a_22723_, v_x_22724_, v___y_22725_, v___y_22726_, v___y_22727_, v___y_22728_, v___y_22729_, v___y_22730_); -lean_dec(v___y_22726_); -lean_dec_ref(v___y_22725_); -lean_dec_ref(v_defs_22719_); -return v_res_22735_; +uint8_t v___x_9556__boxed_22772_; size_t v_sz_boxed_22773_; size_t v___x_9557__boxed_22774_; lean_object* v_res_22775_; +v___x_9556__boxed_22772_ = lean_unbox(v___x_22758_); +v_sz_boxed_22773_ = lean_unbox_usize(v_sz_22760_); +lean_dec(v_sz_22760_); +v___x_9557__boxed_22774_ = lean_unbox_usize(v___x_22761_); +lean_dec(v___x_22761_); +v_res_22775_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0(v___x_22756_, v___x_22757_, v___x_9556__boxed_22772_, v_defs_22759_, v_sz_boxed_22773_, v___x_9557__boxed_22774_, v___x_22762_, v_a_22763_, v_x_22764_, v___y_22765_, v___y_22766_, v___y_22767_, v___y_22768_, v___y_22769_, v___y_22770_); +lean_dec(v___y_22766_); +lean_dec_ref(v___y_22765_); +lean_dec_ref(v_defs_22759_); +return v_res_22775_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(size_t v_sz_22736_, size_t v_i_22737_, lean_object* v_bs_22738_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(size_t v_sz_22776_, size_t v_i_22777_, lean_object* v_bs_22778_){ _start: { -uint8_t v___x_22739_; -v___x_22739_ = lean_usize_dec_lt(v_i_22737_, v_sz_22736_); -if (v___x_22739_ == 0) +uint8_t v___x_22779_; +v___x_22779_ = lean_usize_dec_lt(v_i_22777_, v_sz_22776_); +if (v___x_22779_ == 0) { -return v_bs_22738_; +return v_bs_22778_; } else { -lean_object* v_v_22740_; uint8_t v_kind_22741_; lean_object* v_ref_22742_; lean_object* v___x_22743_; lean_object* v_bs_x27_22744_; lean_object* v___x_22745_; lean_object* v___x_22746_; size_t v___x_22747_; size_t v___x_22748_; lean_object* v___x_22749_; -v_v_22740_ = lean_array_uget_borrowed(v_bs_22738_, v_i_22737_); -v_kind_22741_ = lean_ctor_get_uint8(v_v_22740_, sizeof(void*)*10); -v_ref_22742_ = lean_ctor_get(v_v_22740_, 0); -lean_inc(v_ref_22742_); -v___x_22743_ = lean_unsigned_to_nat(0u); -v_bs_x27_22744_ = lean_array_uset(v_bs_22738_, v_i_22737_, v___x_22743_); -v___x_22745_ = lean_box(v_kind_22741_); -v___x_22746_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_22746_, 0, v_ref_22742_); -lean_ctor_set(v___x_22746_, 1, v___x_22745_); -v___x_22747_ = ((size_t)1ULL); -v___x_22748_ = lean_usize_add(v_i_22737_, v___x_22747_); -v___x_22749_ = lean_array_uset(v_bs_x27_22744_, v_i_22737_, v___x_22746_); -v_i_22737_ = v___x_22748_; -v_bs_22738_ = v___x_22749_; +lean_object* v_v_22780_; uint8_t v_kind_22781_; lean_object* v_ref_22782_; lean_object* v___x_22783_; lean_object* v_bs_x27_22784_; lean_object* v___x_22785_; lean_object* v___x_22786_; size_t v___x_22787_; size_t v___x_22788_; lean_object* v___x_22789_; +v_v_22780_ = lean_array_uget_borrowed(v_bs_22778_, v_i_22777_); +v_kind_22781_ = lean_ctor_get_uint8(v_v_22780_, sizeof(void*)*10); +v_ref_22782_ = lean_ctor_get(v_v_22780_, 0); +lean_inc(v_ref_22782_); +v___x_22783_ = lean_unsigned_to_nat(0u); +v_bs_x27_22784_ = lean_array_uset(v_bs_22778_, v_i_22777_, v___x_22783_); +v___x_22785_ = lean_box(v_kind_22781_); +v___x_22786_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_22786_, 0, v_ref_22782_); +lean_ctor_set(v___x_22786_, 1, v___x_22785_); +v___x_22787_ = ((size_t)1ULL); +v___x_22788_ = lean_usize_add(v_i_22777_, v___x_22787_); +v___x_22789_ = lean_array_uset(v_bs_x27_22784_, v_i_22777_, v___x_22786_); +v_i_22777_ = v___x_22788_; +v_bs_22778_ = v___x_22789_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1___boxed(lean_object* v_sz_22751_, lean_object* v_i_22752_, lean_object* v_bs_22753_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1___boxed(lean_object* v_sz_22791_, lean_object* v_i_22792_, lean_object* v_bs_22793_){ _start: { -size_t v_sz_boxed_22754_; size_t v_i_boxed_22755_; lean_object* v_res_22756_; -v_sz_boxed_22754_ = lean_unbox_usize(v_sz_22751_); -lean_dec(v_sz_22751_); -v_i_boxed_22755_ = lean_unbox_usize(v_i_22752_); -lean_dec(v_i_22752_); -v_res_22756_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(v_sz_boxed_22754_, v_i_boxed_22755_, v_bs_22753_); -return v_res_22756_; +size_t v_sz_boxed_22794_; size_t v_i_boxed_22795_; lean_object* v_res_22796_; +v_sz_boxed_22794_ = lean_unbox_usize(v_sz_22791_); +lean_dec(v_sz_22791_); +v_i_boxed_22795_ = lean_unbox_usize(v_i_22792_); +lean_dec(v_i_22792_); +v_res_22796_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(v_sz_boxed_22794_, v_i_boxed_22795_, v_bs_22793_); +return v_res_22796_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0(lean_object* v_x_22757_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0(lean_object* v_x_22797_){ _start: { -if (lean_obj_tag(v_x_22757_) == 0) +if (lean_obj_tag(v_x_22797_) == 0) { -lean_object* v___x_22758_; -v___x_22758_ = l_Lean_Language_instInhabitedSnapshotTree_default; -return v___x_22758_; +lean_object* v___x_22798_; +v___x_22798_ = l_Lean_Language_instInhabitedSnapshotTree_default; +return v___x_22798_; } else { -lean_object* v_val_22759_; lean_object* v_toSnapshot_22760_; lean_object* v_moreSnaps_22761_; lean_object* v___x_22762_; -v_val_22759_ = lean_ctor_get(v_x_22757_, 0); -v_toSnapshot_22760_ = lean_ctor_get(v_val_22759_, 0); -v_moreSnaps_22761_ = lean_ctor_get(v_val_22759_, 3); -lean_inc_ref(v_moreSnaps_22761_); -lean_inc_ref(v_toSnapshot_22760_); -v___x_22762_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_22762_, 0, v_toSnapshot_22760_); -lean_ctor_set(v___x_22762_, 1, v_moreSnaps_22761_); -return v___x_22762_; +lean_object* v_val_22799_; lean_object* v_toSnapshot_22800_; lean_object* v_moreSnaps_22801_; lean_object* v___x_22802_; +v_val_22799_ = lean_ctor_get(v_x_22797_, 0); +v_toSnapshot_22800_ = lean_ctor_get(v_val_22799_, 0); +v_moreSnaps_22801_ = lean_ctor_get(v_val_22799_, 3); +lean_inc_ref(v_moreSnaps_22801_); +lean_inc_ref(v_toSnapshot_22800_); +v___x_22802_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_22802_, 0, v_toSnapshot_22800_); +lean_ctor_set(v___x_22802_, 1, v_moreSnaps_22801_); +return v___x_22802_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0___boxed(lean_object* v_x_22763_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0___boxed(lean_object* v_x_22803_){ _start: { -lean_object* v_res_22764_; -v_res_22764_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0(v_x_22763_); -lean_dec(v_x_22763_); -return v_res_22764_; +lean_object* v_res_22804_; +v_res_22804_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__0(v_x_22803_); +lean_dec(v_x_22803_); +return v_res_22804_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1(lean_object* v___f_22768_, uint8_t v___x_22769_, lean_object* v_x_22770_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1(lean_object* v___f_22808_, uint8_t v___x_22809_, lean_object* v_x_22810_){ _start: { -if (lean_obj_tag(v_x_22770_) == 0) +if (lean_obj_tag(v_x_22810_) == 0) { -lean_object* v___x_22771_; -lean_dec_ref(v___f_22768_); -v___x_22771_ = l_Lean_Language_instInhabitedSnapshotTree_default; -return v___x_22771_; +lean_object* v___x_22811_; +lean_dec_ref(v___f_22808_); +v___x_22811_ = l_Lean_Language_instInhabitedSnapshotTree_default; +return v___x_22811_; } else { -lean_object* v_val_22772_; lean_object* v_toSnapshot_22773_; lean_object* v_tacSnap_x3f_22774_; lean_object* v_bodySnap_22775_; lean_object* v_moreSnaps_22776_; lean_object* v___y_22778_; -v_val_22772_ = lean_ctor_get(v_x_22770_, 0); -lean_inc(v_val_22772_); -lean_dec_ref(v_x_22770_); -v_toSnapshot_22773_ = lean_ctor_get(v_val_22772_, 0); -lean_inc_ref(v_toSnapshot_22773_); -v_tacSnap_x3f_22774_ = lean_ctor_get(v_val_22772_, 4); -lean_inc(v_tacSnap_x3f_22774_); -v_bodySnap_22775_ = lean_ctor_get(v_val_22772_, 6); -lean_inc_ref(v_bodySnap_22775_); -v_moreSnaps_22776_ = lean_ctor_get(v_val_22772_, 7); -lean_inc_ref(v_moreSnaps_22776_); -lean_dec(v_val_22772_); -if (lean_obj_tag(v_tacSnap_x3f_22774_) == 0) +lean_object* v_val_22812_; lean_object* v_toSnapshot_22813_; lean_object* v_tacSnap_x3f_22814_; lean_object* v_bodySnap_22815_; lean_object* v_moreSnaps_22816_; lean_object* v___y_22818_; +v_val_22812_ = lean_ctor_get(v_x_22810_, 0); +lean_inc(v_val_22812_); +lean_dec_ref(v_x_22810_); +v_toSnapshot_22813_ = lean_ctor_get(v_val_22812_, 0); +lean_inc_ref(v_toSnapshot_22813_); +v_tacSnap_x3f_22814_ = lean_ctor_get(v_val_22812_, 4); +lean_inc(v_tacSnap_x3f_22814_); +v_bodySnap_22815_ = lean_ctor_get(v_val_22812_, 6); +lean_inc_ref(v_bodySnap_22815_); +v_moreSnaps_22816_ = lean_ctor_get(v_val_22812_, 7); +lean_inc_ref(v_moreSnaps_22816_); +lean_dec(v_val_22812_); +if (lean_obj_tag(v_tacSnap_x3f_22814_) == 0) { -lean_object* v___x_22788_; -v___x_22788_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___closed__0)); -v___y_22778_ = v___x_22788_; -goto v___jp_22777_; +lean_object* v___x_22828_; +v___x_22828_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___closed__0)); +v___y_22818_ = v___x_22828_; +goto v___jp_22817_; } else { -lean_object* v_val_22789_; lean_object* v_stx_x3f_22790_; lean_object* v_reportingRange_22791_; lean_object* v___x_22792_; lean_object* v___x_22793_; lean_object* v___x_22794_; lean_object* v___x_22795_; lean_object* v___x_22796_; -v_val_22789_ = lean_ctor_get(v_tacSnap_x3f_22774_, 0); -lean_inc(v_val_22789_); -lean_dec_ref(v_tacSnap_x3f_22774_); -v_stx_x3f_22790_ = lean_ctor_get(v_val_22789_, 0); -lean_inc(v_stx_x3f_22790_); -v_reportingRange_22791_ = lean_ctor_get(v_val_22789_, 1); -lean_inc(v_reportingRange_22791_); -v___x_22792_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___closed__1)); -v___x_22793_ = l_Lean_Language_SnapshotTask_map___redArg(v_val_22789_, v___x_22792_, v_stx_x3f_22790_, v_reportingRange_22791_, v___x_22769_); -v___x_22794_ = lean_unsigned_to_nat(1u); -v___x_22795_ = lean_mk_empty_array_with_capacity(v___x_22794_); -v___x_22796_ = lean_array_push(v___x_22795_, v___x_22793_); -v___y_22778_ = v___x_22796_; -goto v___jp_22777_; +lean_object* v_val_22829_; lean_object* v_stx_x3f_22830_; lean_object* v_reportingRange_22831_; lean_object* v___x_22832_; lean_object* v___x_22833_; lean_object* v___x_22834_; lean_object* v___x_22835_; lean_object* v___x_22836_; +v_val_22829_ = lean_ctor_get(v_tacSnap_x3f_22814_, 0); +lean_inc(v_val_22829_); +lean_dec_ref(v_tacSnap_x3f_22814_); +v_stx_x3f_22830_ = lean_ctor_get(v_val_22829_, 0); +lean_inc(v_stx_x3f_22830_); +v_reportingRange_22831_ = lean_ctor_get(v_val_22829_, 1); +lean_inc(v_reportingRange_22831_); +v___x_22832_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___closed__1)); +v___x_22833_ = l_Lean_Language_SnapshotTask_map___redArg(v_val_22829_, v___x_22832_, v_stx_x3f_22830_, v_reportingRange_22831_, v___x_22809_); +v___x_22834_ = lean_unsigned_to_nat(1u); +v___x_22835_ = lean_mk_empty_array_with_capacity(v___x_22834_); +v___x_22836_ = lean_array_push(v___x_22835_, v___x_22833_); +v___y_22818_ = v___x_22836_; +goto v___jp_22817_; } -v___jp_22777_: +v___jp_22817_: { -lean_object* v_stx_x3f_22779_; lean_object* v_reportingRange_22780_; lean_object* v___x_22781_; lean_object* v___x_22782_; lean_object* v___x_22783_; lean_object* v___x_22784_; lean_object* v___x_22785_; lean_object* v___x_22786_; lean_object* v___x_22787_; -v_stx_x3f_22779_ = lean_ctor_get(v_bodySnap_22775_, 0); -lean_inc(v_stx_x3f_22779_); -v_reportingRange_22780_ = lean_ctor_get(v_bodySnap_22775_, 1); -lean_inc(v_reportingRange_22780_); -v___x_22781_ = l_Lean_Language_SnapshotTask_map___redArg(v_bodySnap_22775_, v___f_22768_, v_stx_x3f_22779_, v_reportingRange_22780_, v___x_22769_); -v___x_22782_ = lean_unsigned_to_nat(1u); -v___x_22783_ = lean_mk_empty_array_with_capacity(v___x_22782_); -v___x_22784_ = lean_array_push(v___x_22783_, v___x_22781_); -v___x_22785_ = l_Array_append___redArg(v___y_22778_, v___x_22784_); -lean_dec_ref(v___x_22784_); -v___x_22786_ = l_Array_append___redArg(v___x_22785_, v_moreSnaps_22776_); -lean_dec_ref(v_moreSnaps_22776_); -v___x_22787_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_22787_, 0, v_toSnapshot_22773_); -lean_ctor_set(v___x_22787_, 1, v___x_22786_); -return v___x_22787_; +lean_object* v_stx_x3f_22819_; lean_object* v_reportingRange_22820_; lean_object* v___x_22821_; lean_object* v___x_22822_; lean_object* v___x_22823_; lean_object* v___x_22824_; lean_object* v___x_22825_; lean_object* v___x_22826_; lean_object* v___x_22827_; +v_stx_x3f_22819_ = lean_ctor_get(v_bodySnap_22815_, 0); +lean_inc(v_stx_x3f_22819_); +v_reportingRange_22820_ = lean_ctor_get(v_bodySnap_22815_, 1); +lean_inc(v_reportingRange_22820_); +v___x_22821_ = l_Lean_Language_SnapshotTask_map___redArg(v_bodySnap_22815_, v___f_22808_, v_stx_x3f_22819_, v_reportingRange_22820_, v___x_22809_); +v___x_22822_ = lean_unsigned_to_nat(1u); +v___x_22823_ = lean_mk_empty_array_with_capacity(v___x_22822_); +v___x_22824_ = lean_array_push(v___x_22823_, v___x_22821_); +v___x_22825_ = l_Array_append___redArg(v___y_22818_, v___x_22824_); +lean_dec_ref(v___x_22824_); +v___x_22826_ = l_Array_append___redArg(v___x_22825_, v_moreSnaps_22816_); +lean_dec_ref(v_moreSnaps_22816_); +v___x_22827_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_22827_, 0, v_toSnapshot_22813_); +lean_ctor_set(v___x_22827_, 1, v___x_22826_); +return v___x_22827_; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed(lean_object* v___f_22797_, lean_object* v___x_22798_, lean_object* v_x_22799_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed(lean_object* v___f_22837_, lean_object* v___x_22838_, lean_object* v_x_22839_){ _start: { -uint8_t v___x_9689__boxed_22800_; lean_object* v_res_22801_; -v___x_9689__boxed_22800_ = lean_unbox(v___x_22798_); -v_res_22801_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1(v___f_22797_, v___x_9689__boxed_22800_, v_x_22799_); -return v_res_22801_; +uint8_t v___x_9689__boxed_22840_; lean_object* v_res_22841_; +v___x_9689__boxed_22840_ = lean_unbox(v___x_22838_); +v_res_22841_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1(v___f_22837_, v___x_9689__boxed_22840_, v_x_22839_); +return v_res_22841_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(uint8_t v___x_22803_, size_t v_sz_22804_, size_t v_i_22805_, lean_object* v_bs_22806_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(uint8_t v___x_22843_, size_t v_sz_22844_, size_t v_i_22845_, lean_object* v_bs_22846_){ _start: { -uint8_t v___x_22807_; -v___x_22807_ = lean_usize_dec_lt(v_i_22805_, v_sz_22804_); -if (v___x_22807_ == 0) +uint8_t v___x_22847_; +v___x_22847_ = lean_usize_dec_lt(v_i_22845_, v_sz_22844_); +if (v___x_22847_ == 0) { -return v_bs_22806_; +return v_bs_22846_; } else { -lean_object* v_v_22808_; lean_object* v_headerProcessedSnap_22809_; lean_object* v_stx_x3f_22810_; lean_object* v_reportingRange_22811_; lean_object* v___f_22812_; lean_object* v___x_22813_; lean_object* v___f_22814_; lean_object* v___x_22815_; lean_object* v_bs_x27_22816_; lean_object* v___x_22817_; size_t v___x_22818_; size_t v___x_22819_; lean_object* v___x_22820_; -v_v_22808_ = lean_array_uget_borrowed(v_bs_22806_, v_i_22805_); -v_headerProcessedSnap_22809_ = lean_ctor_get(v_v_22808_, 1); -lean_inc_ref(v_headerProcessedSnap_22809_); -v_stx_x3f_22810_ = lean_ctor_get(v_headerProcessedSnap_22809_, 0); -lean_inc(v_stx_x3f_22810_); -v_reportingRange_22811_ = lean_ctor_get(v_headerProcessedSnap_22809_, 1); -lean_inc(v_reportingRange_22811_); -v___f_22812_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___closed__0)); -v___x_22813_ = lean_box(v___x_22803_); -v___f_22814_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed), 3, 2); -lean_closure_set(v___f_22814_, 0, v___f_22812_); -lean_closure_set(v___f_22814_, 1, v___x_22813_); -v___x_22815_ = lean_unsigned_to_nat(0u); -v_bs_x27_22816_ = lean_array_uset(v_bs_22806_, v_i_22805_, v___x_22815_); -v___x_22817_ = l_Lean_Language_SnapshotTask_map___redArg(v_headerProcessedSnap_22809_, v___f_22814_, v_stx_x3f_22810_, v_reportingRange_22811_, v___x_22803_); -v___x_22818_ = ((size_t)1ULL); -v___x_22819_ = lean_usize_add(v_i_22805_, v___x_22818_); -v___x_22820_ = lean_array_uset(v_bs_x27_22816_, v_i_22805_, v___x_22817_); -v_i_22805_ = v___x_22819_; -v_bs_22806_ = v___x_22820_; +lean_object* v_v_22848_; lean_object* v_headerProcessedSnap_22849_; lean_object* v_stx_x3f_22850_; lean_object* v_reportingRange_22851_; lean_object* v___f_22852_; lean_object* v___x_22853_; lean_object* v___f_22854_; lean_object* v___x_22855_; lean_object* v_bs_x27_22856_; lean_object* v___x_22857_; size_t v___x_22858_; size_t v___x_22859_; lean_object* v___x_22860_; +v_v_22848_ = lean_array_uget_borrowed(v_bs_22846_, v_i_22845_); +v_headerProcessedSnap_22849_ = lean_ctor_get(v_v_22848_, 1); +lean_inc_ref(v_headerProcessedSnap_22849_); +v_stx_x3f_22850_ = lean_ctor_get(v_headerProcessedSnap_22849_, 0); +lean_inc(v_stx_x3f_22850_); +v_reportingRange_22851_ = lean_ctor_get(v_headerProcessedSnap_22849_, 1); +lean_inc(v_reportingRange_22851_); +v___f_22852_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___closed__0)); +v___x_22853_ = lean_box(v___x_22843_); +v___f_22854_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed), 3, 2); +lean_closure_set(v___f_22854_, 0, v___f_22852_); +lean_closure_set(v___f_22854_, 1, v___x_22853_); +v___x_22855_ = lean_unsigned_to_nat(0u); +v_bs_x27_22856_ = lean_array_uset(v_bs_22846_, v_i_22845_, v___x_22855_); +v___x_22857_ = l_Lean_Language_SnapshotTask_map___redArg(v_headerProcessedSnap_22849_, v___f_22854_, v_stx_x3f_22850_, v_reportingRange_22851_, v___x_22843_); +v___x_22858_ = ((size_t)1ULL); +v___x_22859_ = lean_usize_add(v_i_22845_, v___x_22858_); +v___x_22860_ = lean_array_uset(v_bs_x27_22856_, v_i_22845_, v___x_22857_); +v_i_22845_ = v___x_22859_; +v_bs_22846_ = v___x_22860_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___boxed(lean_object* v___x_22822_, lean_object* v_sz_22823_, lean_object* v_i_22824_, lean_object* v_bs_22825_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___boxed(lean_object* v___x_22862_, lean_object* v_sz_22863_, lean_object* v_i_22864_, lean_object* v_bs_22865_){ _start: { -uint8_t v___x_9738__boxed_22826_; size_t v_sz_boxed_22827_; size_t v_i_boxed_22828_; lean_object* v_res_22829_; -v___x_9738__boxed_22826_ = lean_unbox(v___x_22822_); -v_sz_boxed_22827_ = lean_unbox_usize(v_sz_22823_); -lean_dec(v_sz_22823_); -v_i_boxed_22828_ = lean_unbox_usize(v_i_22824_); -lean_dec(v_i_22824_); -v_res_22829_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(v___x_9738__boxed_22826_, v_sz_boxed_22827_, v_i_boxed_22828_, v_bs_22825_); -return v_res_22829_; +uint8_t v___x_9738__boxed_22866_; size_t v_sz_boxed_22867_; size_t v_i_boxed_22868_; lean_object* v_res_22869_; +v___x_9738__boxed_22866_ = lean_unbox(v___x_22862_); +v_sz_boxed_22867_ = lean_unbox_usize(v_sz_22863_); +lean_dec(v_sz_22863_); +v_i_boxed_22868_ = lean_unbox_usize(v_i_22864_); +lean_dec(v_i_22864_); +v_res_22869_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(v___x_9738__boxed_22866_, v_sz_boxed_22867_, v_i_boxed_22868_, v_bs_22865_); +return v_res_22869_; } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(lean_object* v_views_22834_, lean_object* v_defsParsedSnap_22835_, lean_object* v_a_22836_, lean_object* v_a_22837_, lean_object* v_a_22838_, lean_object* v_a_22839_, lean_object* v_a_22840_, lean_object* v_a_22841_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(lean_object* v_views_22874_, lean_object* v_defsParsedSnap_22875_, lean_object* v_a_22876_, lean_object* v_a_22877_, lean_object* v_a_22878_, lean_object* v_a_22879_, lean_object* v_a_22880_, lean_object* v_a_22881_){ _start: { -lean_object* v_options_22843_; lean_object* v___x_22844_; uint8_t v___x_22845_; -v_options_22843_ = lean_ctor_get(v_a_22840_, 2); -v___x_22844_ = l_Lean_Elab_inServer; -v___x_22845_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_22843_, v___x_22844_); -if (v___x_22845_ == 0) +lean_object* v_options_22883_; lean_object* v___x_22884_; uint8_t v___x_22885_; +v_options_22883_ = lean_ctor_get(v_a_22880_, 2); +v___x_22884_ = l_Lean_Elab_inServer; +v___x_22885_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_options_22883_, v___x_22884_); +if (v___x_22885_ == 0) { -lean_object* v___x_22846_; lean_object* v___x_22847_; -lean_dec_ref(v_a_22840_); -lean_dec_ref(v_a_22838_); -lean_dec_ref(v_a_22836_); -lean_dec_ref(v_defsParsedSnap_22835_); -lean_dec_ref(v_views_22834_); -v___x_22846_ = lean_box(0); -v___x_22847_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22847_, 0, v___x_22846_); -return v___x_22847_; +lean_object* v___x_22886_; lean_object* v___x_22887_; +lean_dec_ref(v_a_22880_); +lean_dec_ref(v_a_22878_); +lean_dec_ref(v_a_22876_); +lean_dec_ref(v_defsParsedSnap_22875_); +lean_dec_ref(v_views_22874_); +v___x_22886_ = lean_box(0); +v___x_22887_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_22887_, 0, v___x_22886_); +return v___x_22887_; } else { -lean_object* v___x_22848_; -v___x_22848_ = l_Lean_Core_getMessageLog___redArg(v_a_22841_); -if (lean_obj_tag(v___x_22848_) == 0) -{ -lean_object* v_a_22849_; lean_object* v___x_22850_; lean_object* v_toSnapshot_22851_; lean_object* v_defs_22852_; lean_object* v___x_22854_; uint8_t v_isShared_22855_; uint8_t v_isSharedCheck_22898_; -v_a_22849_ = lean_ctor_get(v___x_22848_, 0); -lean_inc(v_a_22849_); -lean_dec_ref(v___x_22848_); -v___x_22850_ = lean_st_ref_get(v_a_22841_); -v_toSnapshot_22851_ = lean_ctor_get(v_defsParsedSnap_22835_, 0); -v_defs_22852_ = lean_ctor_get(v_defsParsedSnap_22835_, 1); -v_isSharedCheck_22898_ = !lean_is_exclusive(v_defsParsedSnap_22835_); -if (v_isSharedCheck_22898_ == 0) -{ -v___x_22854_ = v_defsParsedSnap_22835_; -v_isShared_22855_ = v_isSharedCheck_22898_; -goto v_resetjp_22853_; -} -else -{ -lean_inc(v_defs_22852_); -lean_inc(v_toSnapshot_22851_); -lean_dec(v_defsParsedSnap_22835_); -v___x_22854_ = lean_box(0); -v_isShared_22855_ = v_isSharedCheck_22898_; -goto v_resetjp_22853_; -} -v_resetjp_22853_: -{ -size_t v_sz_22856_; lean_object* v_snapshotTasks_22857_; size_t v___x_22858_; lean_object* v___x_22859_; size_t v_sz_22860_; uint8_t v___x_22861_; lean_object* v___x_22862_; lean_object* v___x_22863_; lean_object* v___x_22865_; -v_sz_22856_ = lean_array_size(v_views_22834_); -v_snapshotTasks_22857_ = lean_ctor_get(v___x_22850_, 8); -lean_inc_ref(v_snapshotTasks_22857_); -lean_dec(v___x_22850_); -v___x_22858_ = ((size_t)0ULL); -v___x_22859_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(v_sz_22856_, v___x_22858_, v_views_22834_); -v_sz_22860_ = lean_array_size(v_defs_22852_); -v___x_22861_ = 0; -v___x_22862_ = lean_box(0); -lean_inc_ref(v_defs_22852_); -v___x_22863_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(v___x_22845_, v_sz_22860_, v___x_22858_, v_defs_22852_); -if (v_isShared_22855_ == 0) -{ -lean_ctor_set(v___x_22854_, 1, v___x_22863_); -v___x_22865_ = v___x_22854_; -goto v_reusejp_22864_; -} -else -{ -lean_object* v_reuseFailAlloc_22897_; -v_reuseFailAlloc_22897_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_22897_, 0, v_toSnapshot_22851_); -lean_ctor_set(v_reuseFailAlloc_22897_, 1, v___x_22863_); -v___x_22865_ = v_reuseFailAlloc_22897_; -goto v_reusejp_22864_; -} -v_reusejp_22864_: -{ -lean_object* v___x_22866_; lean_object* v___x_22867_; lean_object* v___x_22868_; lean_object* v___x_22869_; lean_object* v___x_22870_; lean_object* v___x_22871_; lean_object* v___x_22872_; lean_object* v___x_22873_; lean_object* v___x_22874_; lean_object* v___x_22875_; lean_object* v___x_22876_; lean_object* v___x_22877_; lean_object* v___x_22878_; lean_object* v___x_22879_; lean_object* v___x_22880_; lean_object* v___f_22881_; lean_object* v___x_22882_; -v___x_22866_ = l_Lean_Language_SnapshotTask_finished___redArg(v___x_22862_, v___x_22865_); -v___x_22867_ = lean_unsigned_to_nat(1u); -v___x_22868_ = lean_mk_empty_array_with_capacity(v___x_22867_); -v___x_22869_ = lean_array_push(v___x_22868_, v___x_22866_); -v___x_22870_ = l_Array_append___redArg(v___x_22869_, v_snapshotTasks_22857_); -lean_dec_ref(v_snapshotTasks_22857_); -v___x_22871_ = lean_unsigned_to_nat(0u); -v___x_22872_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___closed__1)); -v___x_22873_ = l_Lean_Name_toString(v___x_22872_, v___x_22845_); -v___x_22874_ = l_Lean_Language_Snapshot_Diagnostics_empty; -v___x_22875_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2); -lean_inc_ref(v___x_22873_); -v___x_22876_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_22876_, 0, v___x_22873_); -lean_ctor_set(v___x_22876_, 1, v___x_22874_); -lean_ctor_set(v___x_22876_, 2, v___x_22862_); -lean_ctor_set(v___x_22876_, 3, v___x_22875_); -lean_ctor_set_uint8(v___x_22876_, sizeof(void*)*4, v___x_22861_); -v___x_22877_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_22877_, 0, v___x_22876_); -lean_ctor_set(v___x_22877_, 1, v___x_22870_); -v___x_22878_ = lean_box(v___x_22845_); -v___x_22879_ = lean_box_usize(v_sz_22860_); -v___x_22880_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); -lean_inc_ref(v___x_22877_); -v___f_22881_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0___boxed), 16, 8); -lean_closure_set(v___f_22881_, 0, v___x_22859_); -lean_closure_set(v___f_22881_, 1, v___x_22871_); -lean_closure_set(v___f_22881_, 2, v___x_22878_); -lean_closure_set(v___f_22881_, 3, v_defs_22852_); -lean_closure_set(v___f_22881_, 4, v___x_22879_); -lean_closure_set(v___f_22881_, 5, v___x_22880_); -lean_closure_set(v___f_22881_, 6, v___x_22877_); -lean_closure_set(v___f_22881_, 7, v_a_22849_); -v___x_22882_ = l_Lean_Elab_Term_wrapAsyncAsSnapshot___redArg(v___f_22881_, v___x_22862_, v___x_22873_, v_a_22836_, v_a_22837_, v_a_22838_, v_a_22839_, v_a_22840_, v_a_22841_); -if (lean_obj_tag(v___x_22882_) == 0) -{ -lean_object* v_a_22883_; lean_object* v___x_22884_; lean_object* v___x_22885_; lean_object* v___x_22886_; lean_object* v___x_22887_; lean_object* v___x_22888_; -v_a_22883_ = lean_ctor_get(v___x_22882_, 0); -lean_inc(v_a_22883_); -lean_dec_ref(v___x_22882_); -v___x_22884_ = l_Lean_Language_SnapshotTree_waitAll(v___x_22877_); -v___x_22885_ = lean_io_map_task(v_a_22883_, v___x_22884_, v___x_22871_, v___x_22861_); -v___x_22886_ = lean_box(2); -v___x_22887_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_22887_, 0, v___x_22862_); -lean_ctor_set(v___x_22887_, 1, v___x_22886_); -lean_ctor_set(v___x_22887_, 2, v___x_22862_); -lean_ctor_set(v___x_22887_, 3, v___x_22885_); -v___x_22888_ = l_Lean_Core_logSnapshotTask___redArg(v___x_22887_, v_a_22841_); -return v___x_22888_; -} -else -{ -lean_object* v_a_22889_; lean_object* v___x_22891_; uint8_t v_isShared_22892_; uint8_t v_isSharedCheck_22896_; -lean_dec_ref(v___x_22877_); -v_a_22889_ = lean_ctor_get(v___x_22882_, 0); -v_isSharedCheck_22896_ = !lean_is_exclusive(v___x_22882_); -if (v_isSharedCheck_22896_ == 0) -{ -v___x_22891_ = v___x_22882_; -v_isShared_22892_ = v_isSharedCheck_22896_; -goto v_resetjp_22890_; -} -else +lean_object* v___x_22888_; +v___x_22888_ = l_Lean_Core_getMessageLog___redArg(v_a_22881_); +if (lean_obj_tag(v___x_22888_) == 0) { +lean_object* v_a_22889_; lean_object* v___x_22890_; lean_object* v_toSnapshot_22891_; lean_object* v_defs_22892_; lean_object* v___x_22894_; uint8_t v_isShared_22895_; uint8_t v_isSharedCheck_22938_; +v_a_22889_ = lean_ctor_get(v___x_22888_, 0); lean_inc(v_a_22889_); -lean_dec(v___x_22882_); -v___x_22891_ = lean_box(0); -v_isShared_22892_ = v_isSharedCheck_22896_; -goto v_resetjp_22890_; -} -v_resetjp_22890_: +lean_dec_ref(v___x_22888_); +v___x_22890_ = lean_st_ref_get(v_a_22881_); +v_toSnapshot_22891_ = lean_ctor_get(v_defsParsedSnap_22875_, 0); +v_defs_22892_ = lean_ctor_get(v_defsParsedSnap_22875_, 1); +v_isSharedCheck_22938_ = !lean_is_exclusive(v_defsParsedSnap_22875_); +if (v_isSharedCheck_22938_ == 0) { -lean_object* v___x_22894_; -if (v_isShared_22892_ == 0) -{ -v___x_22894_ = v___x_22891_; -goto v_reusejp_22893_; +v___x_22894_ = v_defsParsedSnap_22875_; +v_isShared_22895_ = v_isSharedCheck_22938_; +goto v_resetjp_22893_; } else { -lean_object* v_reuseFailAlloc_22895_; -v_reuseFailAlloc_22895_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22895_, 0, v_a_22889_); -v___x_22894_ = v_reuseFailAlloc_22895_; -goto v_reusejp_22893_; +lean_inc(v_defs_22892_); +lean_inc(v_toSnapshot_22891_); +lean_dec(v_defsParsedSnap_22875_); +v___x_22894_ = lean_box(0); +v_isShared_22895_ = v_isSharedCheck_22938_; +goto v_resetjp_22893_; } -v_reusejp_22893_: +v_resetjp_22893_: { -return v___x_22894_; +size_t v_sz_22896_; lean_object* v_snapshotTasks_22897_; size_t v___x_22898_; lean_object* v___x_22899_; size_t v_sz_22900_; uint8_t v___x_22901_; lean_object* v___x_22902_; lean_object* v___x_22903_; lean_object* v___x_22905_; +v_sz_22896_ = lean_array_size(v_views_22874_); +v_snapshotTasks_22897_ = lean_ctor_get(v___x_22890_, 8); +lean_inc_ref(v_snapshotTasks_22897_); +lean_dec(v___x_22890_); +v___x_22898_ = ((size_t)0ULL); +v___x_22899_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__1(v_sz_22896_, v___x_22898_, v_views_22874_); +v_sz_22900_ = lean_array_size(v_defs_22892_); +v___x_22901_ = 0; +v___x_22902_ = lean_box(0); +lean_inc_ref(v_defs_22892_); +v___x_22903_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2(v___x_22885_, v_sz_22900_, v___x_22898_, v_defs_22892_); +if (v_isShared_22895_ == 0) +{ +lean_ctor_set(v___x_22894_, 1, v___x_22903_); +v___x_22905_ = v___x_22894_; +goto v_reusejp_22904_; +} +else +{ +lean_object* v_reuseFailAlloc_22937_; +v_reuseFailAlloc_22937_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_22937_, 0, v_toSnapshot_22891_); +lean_ctor_set(v_reuseFailAlloc_22937_, 1, v___x_22903_); +v___x_22905_ = v_reuseFailAlloc_22937_; +goto v_reusejp_22904_; +} +v_reusejp_22904_: +{ +lean_object* v___x_22906_; lean_object* v___x_22907_; lean_object* v___x_22908_; lean_object* v___x_22909_; lean_object* v___x_22910_; lean_object* v___x_22911_; lean_object* v___x_22912_; lean_object* v___x_22913_; lean_object* v___x_22914_; lean_object* v___x_22915_; lean_object* v___x_22916_; lean_object* v___x_22917_; lean_object* v___x_22918_; lean_object* v___x_22919_; lean_object* v___x_22920_; lean_object* v___f_22921_; lean_object* v___x_22922_; +v___x_22906_ = l_Lean_Language_SnapshotTask_finished___redArg(v___x_22902_, v___x_22905_); +v___x_22907_ = lean_unsigned_to_nat(1u); +v___x_22908_ = lean_mk_empty_array_with_capacity(v___x_22907_); +v___x_22909_ = lean_array_push(v___x_22908_, v___x_22906_); +v___x_22910_ = l_Array_append___redArg(v___x_22909_, v_snapshotTasks_22897_); +lean_dec_ref(v_snapshotTasks_22897_); +v___x_22911_ = lean_unsigned_to_nat(0u); +v___x_22912_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___closed__1)); +v___x_22913_ = l_Lean_Name_toString(v___x_22912_, v___x_22885_); +v___x_22914_ = l_Lean_Language_Snapshot_Diagnostics_empty; +v___x_22915_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2); +lean_inc_ref(v___x_22913_); +v___x_22916_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_22916_, 0, v___x_22913_); +lean_ctor_set(v___x_22916_, 1, v___x_22914_); +lean_ctor_set(v___x_22916_, 2, v___x_22902_); +lean_ctor_set(v___x_22916_, 3, v___x_22915_); +lean_ctor_set_uint8(v___x_22916_, sizeof(void*)*4, v___x_22901_); +v___x_22917_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_22917_, 0, v___x_22916_); +lean_ctor_set(v___x_22917_, 1, v___x_22910_); +v___x_22918_ = lean_box(v___x_22885_); +v___x_22919_ = lean_box_usize(v_sz_22900_); +v___x_22920_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___boxed__const__1)); +lean_inc_ref(v___x_22917_); +v___f_22921_ = lean_alloc_closure((void*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___lam__0___boxed), 16, 8); +lean_closure_set(v___f_22921_, 0, v___x_22899_); +lean_closure_set(v___f_22921_, 1, v___x_22911_); +lean_closure_set(v___f_22921_, 2, v___x_22918_); +lean_closure_set(v___f_22921_, 3, v_defs_22892_); +lean_closure_set(v___f_22921_, 4, v___x_22919_); +lean_closure_set(v___f_22921_, 5, v___x_22920_); +lean_closure_set(v___f_22921_, 6, v___x_22917_); +lean_closure_set(v___f_22921_, 7, v_a_22889_); +v___x_22922_ = l_Lean_Elab_Term_wrapAsyncAsSnapshot___redArg(v___f_22921_, v___x_22902_, v___x_22913_, v_a_22876_, v_a_22877_, v_a_22878_, v_a_22879_, v_a_22880_, v_a_22881_); +if (lean_obj_tag(v___x_22922_) == 0) +{ +lean_object* v_a_22923_; lean_object* v___x_22924_; lean_object* v___x_22925_; lean_object* v___x_22926_; lean_object* v___x_22927_; lean_object* v___x_22928_; +v_a_22923_ = lean_ctor_get(v___x_22922_, 0); +lean_inc(v_a_22923_); +lean_dec_ref(v___x_22922_); +v___x_22924_ = l_Lean_Language_SnapshotTree_waitAll(v___x_22917_); +v___x_22925_ = lean_io_map_task(v_a_22923_, v___x_22924_, v___x_22911_, v___x_22901_); +v___x_22926_ = lean_box(2); +v___x_22927_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_22927_, 0, v___x_22902_); +lean_ctor_set(v___x_22927_, 1, v___x_22926_); +lean_ctor_set(v___x_22927_, 2, v___x_22902_); +lean_ctor_set(v___x_22927_, 3, v___x_22925_); +v___x_22928_ = l_Lean_Core_logSnapshotTask___redArg(v___x_22927_, v_a_22881_); +return v___x_22928_; +} +else +{ +lean_object* v_a_22929_; lean_object* v___x_22931_; uint8_t v_isShared_22932_; uint8_t v_isSharedCheck_22936_; +lean_dec_ref(v___x_22917_); +v_a_22929_ = lean_ctor_get(v___x_22922_, 0); +v_isSharedCheck_22936_ = !lean_is_exclusive(v___x_22922_); +if (v_isSharedCheck_22936_ == 0) +{ +v___x_22931_ = v___x_22922_; +v_isShared_22932_ = v_isSharedCheck_22936_; +goto v_resetjp_22930_; +} +else +{ +lean_inc(v_a_22929_); +lean_dec(v___x_22922_); +v___x_22931_ = lean_box(0); +v_isShared_22932_ = v_isSharedCheck_22936_; +goto v_resetjp_22930_; +} +v_resetjp_22930_: +{ +lean_object* v___x_22934_; +if (v_isShared_22932_ == 0) +{ +v___x_22934_ = v___x_22931_; +goto v_reusejp_22933_; +} +else +{ +lean_object* v_reuseFailAlloc_22935_; +v_reuseFailAlloc_22935_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22935_, 0, v_a_22929_); +v___x_22934_ = v_reuseFailAlloc_22935_; +goto v_reusejp_22933_; +} +v_reusejp_22933_: +{ +return v___x_22934_; } } } @@ -65917,1055 +66072,917 @@ return v___x_22894_; } else { -lean_object* v_a_22899_; lean_object* v___x_22901_; uint8_t v_isShared_22902_; uint8_t v_isSharedCheck_22906_; -lean_dec_ref(v_a_22840_); -lean_dec_ref(v_a_22838_); -lean_dec_ref(v_a_22836_); -lean_dec_ref(v_defsParsedSnap_22835_); -lean_dec_ref(v_views_22834_); -v_a_22899_ = lean_ctor_get(v___x_22848_, 0); -v_isSharedCheck_22906_ = !lean_is_exclusive(v___x_22848_); -if (v_isSharedCheck_22906_ == 0) +lean_object* v_a_22939_; lean_object* v___x_22941_; uint8_t v_isShared_22942_; uint8_t v_isSharedCheck_22946_; +lean_dec_ref(v_a_22880_); +lean_dec_ref(v_a_22878_); +lean_dec_ref(v_a_22876_); +lean_dec_ref(v_defsParsedSnap_22875_); +lean_dec_ref(v_views_22874_); +v_a_22939_ = lean_ctor_get(v___x_22888_, 0); +v_isSharedCheck_22946_ = !lean_is_exclusive(v___x_22888_); +if (v_isSharedCheck_22946_ == 0) { -v___x_22901_ = v___x_22848_; -v_isShared_22902_ = v_isSharedCheck_22906_; -goto v_resetjp_22900_; +v___x_22941_ = v___x_22888_; +v_isShared_22942_ = v_isSharedCheck_22946_; +goto v_resetjp_22940_; } else { -lean_inc(v_a_22899_); -lean_dec(v___x_22848_); -v___x_22901_ = lean_box(0); -v_isShared_22902_ = v_isSharedCheck_22906_; -goto v_resetjp_22900_; +lean_inc(v_a_22939_); +lean_dec(v___x_22888_); +v___x_22941_ = lean_box(0); +v_isShared_22942_ = v_isSharedCheck_22946_; +goto v_resetjp_22940_; } -v_resetjp_22900_: +v_resetjp_22940_: { -lean_object* v___x_22904_; -if (v_isShared_22902_ == 0) +lean_object* v___x_22944_; +if (v_isShared_22942_ == 0) { -v___x_22904_ = v___x_22901_; -goto v_reusejp_22903_; +v___x_22944_ = v___x_22941_; +goto v_reusejp_22943_; } else { -lean_object* v_reuseFailAlloc_22905_; -v_reuseFailAlloc_22905_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_22905_, 0, v_a_22899_); -v___x_22904_ = v_reuseFailAlloc_22905_; -goto v_reusejp_22903_; +lean_object* v_reuseFailAlloc_22945_; +v_reuseFailAlloc_22945_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_22945_, 0, v_a_22939_); +v___x_22944_ = v_reuseFailAlloc_22945_; +goto v_reusejp_22943_; } -v_reusejp_22903_: +v_reusejp_22943_: { -return v___x_22904_; +return v___x_22944_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___boxed(lean_object* v_views_22907_, lean_object* v_defsParsedSnap_22908_, lean_object* v_a_22909_, lean_object* v_a_22910_, lean_object* v_a_22911_, lean_object* v_a_22912_, lean_object* v_a_22913_, lean_object* v_a_22914_, lean_object* v_a_22915_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask___boxed(lean_object* v_views_22947_, lean_object* v_defsParsedSnap_22948_, lean_object* v_a_22949_, lean_object* v_a_22950_, lean_object* v_a_22951_, lean_object* v_a_22952_, lean_object* v_a_22953_, lean_object* v_a_22954_, lean_object* v_a_22955_){ _start: { -lean_object* v_res_22916_; -v_res_22916_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(v_views_22907_, v_defsParsedSnap_22908_, v_a_22909_, v_a_22910_, v_a_22911_, v_a_22912_, v_a_22913_, v_a_22914_); -lean_dec(v_a_22914_); -lean_dec(v_a_22912_); -lean_dec(v_a_22910_); -return v_res_22916_; +lean_object* v_res_22956_; +v_res_22956_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(v_views_22947_, v_defsParsedSnap_22948_, v_a_22949_, v_a_22950_, v_a_22951_, v_a_22952_, v_a_22953_, v_a_22954_); +lean_dec(v_a_22954_); +lean_dec(v_a_22952_); +lean_dec(v_a_22950_); +return v_res_22956_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3(uint8_t v___x_22917_, lean_object* v_as_22918_, size_t v_sz_22919_, size_t v_i_22920_, lean_object* v_b_22921_, lean_object* v___y_22922_, lean_object* v___y_22923_, lean_object* v___y_22924_, lean_object* v___y_22925_, lean_object* v___y_22926_, lean_object* v___y_22927_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3(uint8_t v___x_22957_, lean_object* v_as_22958_, size_t v_sz_22959_, size_t v_i_22960_, lean_object* v_b_22961_, lean_object* v___y_22962_, lean_object* v___y_22963_, lean_object* v___y_22964_, lean_object* v___y_22965_, lean_object* v___y_22966_, lean_object* v___y_22967_){ _start: { -lean_object* v___x_22929_; -v___x_22929_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_22917_, v_as_22918_, v_sz_22919_, v_i_22920_, v_b_22921_, v___y_22924_, v___y_22925_, v___y_22926_, v___y_22927_); -return v___x_22929_; +lean_object* v___x_22969_; +v___x_22969_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___redArg(v___x_22957_, v_as_22958_, v_sz_22959_, v_i_22960_, v_b_22961_, v___y_22964_, v___y_22965_, v___y_22966_, v___y_22967_); +return v___x_22969_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___boxed(lean_object* v___x_22930_, lean_object* v_as_22931_, lean_object* v_sz_22932_, lean_object* v_i_22933_, lean_object* v_b_22934_, lean_object* v___y_22935_, lean_object* v___y_22936_, lean_object* v___y_22937_, lean_object* v___y_22938_, lean_object* v___y_22939_, lean_object* v___y_22940_, lean_object* v___y_22941_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3___boxed(lean_object* v___x_22970_, lean_object* v_as_22971_, lean_object* v_sz_22972_, lean_object* v_i_22973_, lean_object* v_b_22974_, lean_object* v___y_22975_, lean_object* v___y_22976_, lean_object* v___y_22977_, lean_object* v___y_22978_, lean_object* v___y_22979_, lean_object* v___y_22980_, lean_object* v___y_22981_){ _start: { -uint8_t v___x_9955__boxed_22942_; size_t v_sz_boxed_22943_; size_t v_i_boxed_22944_; lean_object* v_res_22945_; -v___x_9955__boxed_22942_ = lean_unbox(v___x_22930_); -v_sz_boxed_22943_ = lean_unbox_usize(v_sz_22932_); -lean_dec(v_sz_22932_); -v_i_boxed_22944_ = lean_unbox_usize(v_i_22933_); -lean_dec(v_i_22933_); -v_res_22945_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3(v___x_9955__boxed_22942_, v_as_22931_, v_sz_boxed_22943_, v_i_boxed_22944_, v_b_22934_, v___y_22935_, v___y_22936_, v___y_22937_, v___y_22938_, v___y_22939_, v___y_22940_); -lean_dec(v___y_22936_); -lean_dec_ref(v___y_22935_); -lean_dec_ref(v_as_22931_); -return v_res_22945_; +uint8_t v___x_9955__boxed_22982_; size_t v_sz_boxed_22983_; size_t v_i_boxed_22984_; lean_object* v_res_22985_; +v___x_9955__boxed_22982_ = lean_unbox(v___x_22970_); +v_sz_boxed_22983_ = lean_unbox_usize(v_sz_22972_); +lean_dec(v_sz_22972_); +v_i_boxed_22984_ = lean_unbox_usize(v_i_22973_); +lean_dec(v_i_22973_); +v_res_22985_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__3(v___x_9955__boxed_22982_, v_as_22971_, v_sz_boxed_22983_, v_i_boxed_22984_, v_b_22974_, v___y_22975_, v___y_22976_, v___y_22977_, v___y_22978_, v___y_22979_, v___y_22980_); +lean_dec(v___y_22976_); +lean_dec_ref(v___y_22975_); +lean_dec_ref(v_as_22971_); +return v_res_22985_; } } -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(lean_object* v___y_22946_, uint8_t v_isExporting_22947_, lean_object* v_a_x3f_22948_){ +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(lean_object* v___y_22986_, uint8_t v_isExporting_22987_, lean_object* v_a_x3f_22988_){ _start: { -lean_object* v___x_22950_; lean_object* v_env_22951_; lean_object* v_messages_22952_; lean_object* v_scopes_22953_; lean_object* v_usedQuotCtxts_22954_; lean_object* v_nextMacroScope_22955_; lean_object* v_maxRecDepth_22956_; lean_object* v_ngen_22957_; lean_object* v_auxDeclNGen_22958_; lean_object* v_infoState_22959_; lean_object* v_traceState_22960_; lean_object* v_snapshotTasks_22961_; lean_object* v___x_22963_; uint8_t v_isShared_22964_; uint8_t v_isSharedCheck_22972_; -v___x_22950_ = lean_st_ref_take(v___y_22946_); -v_env_22951_ = lean_ctor_get(v___x_22950_, 0); -v_messages_22952_ = lean_ctor_get(v___x_22950_, 1); -v_scopes_22953_ = lean_ctor_get(v___x_22950_, 2); -v_usedQuotCtxts_22954_ = lean_ctor_get(v___x_22950_, 3); -v_nextMacroScope_22955_ = lean_ctor_get(v___x_22950_, 4); -v_maxRecDepth_22956_ = lean_ctor_get(v___x_22950_, 5); -v_ngen_22957_ = lean_ctor_get(v___x_22950_, 6); -v_auxDeclNGen_22958_ = lean_ctor_get(v___x_22950_, 7); -v_infoState_22959_ = lean_ctor_get(v___x_22950_, 8); -v_traceState_22960_ = lean_ctor_get(v___x_22950_, 9); -v_snapshotTasks_22961_ = lean_ctor_get(v___x_22950_, 10); -v_isSharedCheck_22972_ = !lean_is_exclusive(v___x_22950_); -if (v_isSharedCheck_22972_ == 0) +lean_object* v___x_22990_; lean_object* v_env_22991_; lean_object* v_messages_22992_; lean_object* v_scopes_22993_; lean_object* v_usedQuotCtxts_22994_; lean_object* v_nextMacroScope_22995_; lean_object* v_maxRecDepth_22996_; lean_object* v_ngen_22997_; lean_object* v_auxDeclNGen_22998_; lean_object* v_infoState_22999_; lean_object* v_traceState_23000_; lean_object* v_snapshotTasks_23001_; lean_object* v___x_23003_; uint8_t v_isShared_23004_; uint8_t v_isSharedCheck_23012_; +v___x_22990_ = lean_st_ref_take(v___y_22986_); +v_env_22991_ = lean_ctor_get(v___x_22990_, 0); +v_messages_22992_ = lean_ctor_get(v___x_22990_, 1); +v_scopes_22993_ = lean_ctor_get(v___x_22990_, 2); +v_usedQuotCtxts_22994_ = lean_ctor_get(v___x_22990_, 3); +v_nextMacroScope_22995_ = lean_ctor_get(v___x_22990_, 4); +v_maxRecDepth_22996_ = lean_ctor_get(v___x_22990_, 5); +v_ngen_22997_ = lean_ctor_get(v___x_22990_, 6); +v_auxDeclNGen_22998_ = lean_ctor_get(v___x_22990_, 7); +v_infoState_22999_ = lean_ctor_get(v___x_22990_, 8); +v_traceState_23000_ = lean_ctor_get(v___x_22990_, 9); +v_snapshotTasks_23001_ = lean_ctor_get(v___x_22990_, 10); +v_isSharedCheck_23012_ = !lean_is_exclusive(v___x_22990_); +if (v_isSharedCheck_23012_ == 0) { -v___x_22963_ = v___x_22950_; -v_isShared_22964_ = v_isSharedCheck_22972_; -goto v_resetjp_22962_; +v___x_23003_ = v___x_22990_; +v_isShared_23004_ = v_isSharedCheck_23012_; +goto v_resetjp_23002_; } else { -lean_inc(v_snapshotTasks_22961_); -lean_inc(v_traceState_22960_); -lean_inc(v_infoState_22959_); -lean_inc(v_auxDeclNGen_22958_); -lean_inc(v_ngen_22957_); -lean_inc(v_maxRecDepth_22956_); -lean_inc(v_nextMacroScope_22955_); -lean_inc(v_usedQuotCtxts_22954_); -lean_inc(v_scopes_22953_); -lean_inc(v_messages_22952_); -lean_inc(v_env_22951_); -lean_dec(v___x_22950_); -v___x_22963_ = lean_box(0); -v_isShared_22964_ = v_isSharedCheck_22972_; -goto v_resetjp_22962_; +lean_inc(v_snapshotTasks_23001_); +lean_inc(v_traceState_23000_); +lean_inc(v_infoState_22999_); +lean_inc(v_auxDeclNGen_22998_); +lean_inc(v_ngen_22997_); +lean_inc(v_maxRecDepth_22996_); +lean_inc(v_nextMacroScope_22995_); +lean_inc(v_usedQuotCtxts_22994_); +lean_inc(v_scopes_22993_); +lean_inc(v_messages_22992_); +lean_inc(v_env_22991_); +lean_dec(v___x_22990_); +v___x_23003_ = lean_box(0); +v_isShared_23004_ = v_isSharedCheck_23012_; +goto v_resetjp_23002_; } -v_resetjp_22962_: +v_resetjp_23002_: { -lean_object* v___x_22965_; lean_object* v___x_22967_; -v___x_22965_ = l_Lean_Environment_setExporting(v_env_22951_, v_isExporting_22947_); -if (v_isShared_22964_ == 0) +lean_object* v___x_23005_; lean_object* v___x_23007_; +v___x_23005_ = l_Lean_Environment_setExporting(v_env_22991_, v_isExporting_22987_); +if (v_isShared_23004_ == 0) { -lean_ctor_set(v___x_22963_, 0, v___x_22965_); -v___x_22967_ = v___x_22963_; -goto v_reusejp_22966_; +lean_ctor_set(v___x_23003_, 0, v___x_23005_); +v___x_23007_ = v___x_23003_; +goto v_reusejp_23006_; } else { -lean_object* v_reuseFailAlloc_22971_; -v_reuseFailAlloc_22971_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_22971_, 0, v___x_22965_); -lean_ctor_set(v_reuseFailAlloc_22971_, 1, v_messages_22952_); -lean_ctor_set(v_reuseFailAlloc_22971_, 2, v_scopes_22953_); -lean_ctor_set(v_reuseFailAlloc_22971_, 3, v_usedQuotCtxts_22954_); -lean_ctor_set(v_reuseFailAlloc_22971_, 4, v_nextMacroScope_22955_); -lean_ctor_set(v_reuseFailAlloc_22971_, 5, v_maxRecDepth_22956_); -lean_ctor_set(v_reuseFailAlloc_22971_, 6, v_ngen_22957_); -lean_ctor_set(v_reuseFailAlloc_22971_, 7, v_auxDeclNGen_22958_); -lean_ctor_set(v_reuseFailAlloc_22971_, 8, v_infoState_22959_); -lean_ctor_set(v_reuseFailAlloc_22971_, 9, v_traceState_22960_); -lean_ctor_set(v_reuseFailAlloc_22971_, 10, v_snapshotTasks_22961_); -v___x_22967_ = v_reuseFailAlloc_22971_; -goto v_reusejp_22966_; +lean_object* v_reuseFailAlloc_23011_; +v_reuseFailAlloc_23011_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_23011_, 0, v___x_23005_); +lean_ctor_set(v_reuseFailAlloc_23011_, 1, v_messages_22992_); +lean_ctor_set(v_reuseFailAlloc_23011_, 2, v_scopes_22993_); +lean_ctor_set(v_reuseFailAlloc_23011_, 3, v_usedQuotCtxts_22994_); +lean_ctor_set(v_reuseFailAlloc_23011_, 4, v_nextMacroScope_22995_); +lean_ctor_set(v_reuseFailAlloc_23011_, 5, v_maxRecDepth_22996_); +lean_ctor_set(v_reuseFailAlloc_23011_, 6, v_ngen_22997_); +lean_ctor_set(v_reuseFailAlloc_23011_, 7, v_auxDeclNGen_22998_); +lean_ctor_set(v_reuseFailAlloc_23011_, 8, v_infoState_22999_); +lean_ctor_set(v_reuseFailAlloc_23011_, 9, v_traceState_23000_); +lean_ctor_set(v_reuseFailAlloc_23011_, 10, v_snapshotTasks_23001_); +v___x_23007_ = v_reuseFailAlloc_23011_; +goto v_reusejp_23006_; } -v_reusejp_22966_: +v_reusejp_23006_: { -lean_object* v___x_22968_; lean_object* v___x_22969_; lean_object* v___x_22970_; -v___x_22968_ = lean_st_ref_set(v___y_22946_, v___x_22967_); -v___x_22969_ = lean_box(0); -v___x_22970_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_22970_, 0, v___x_22969_); -return v___x_22970_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0___boxed(lean_object* v___y_22973_, lean_object* v_isExporting_22974_, lean_object* v_a_x3f_22975_, lean_object* v___y_22976_){ -_start: -{ -uint8_t v_isExporting_boxed_22977_; lean_object* v_res_22978_; -v_isExporting_boxed_22977_ = lean_unbox(v_isExporting_22974_); -v_res_22978_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_22973_, v_isExporting_boxed_22977_, v_a_x3f_22975_); -lean_dec(v_a_x3f_22975_); -lean_dec(v___y_22973_); -return v_res_22978_; -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(lean_object* v_x_22979_, uint8_t v_isExporting_22980_, lean_object* v___y_22981_, lean_object* v___y_22982_){ -_start: -{ -lean_object* v___x_22984_; lean_object* v_env_22985_; uint8_t v_isExporting_22986_; lean_object* v___x_22987_; lean_object* v_env_22988_; lean_object* v_messages_22989_; lean_object* v_scopes_22990_; lean_object* v_usedQuotCtxts_22991_; lean_object* v_nextMacroScope_22992_; lean_object* v_maxRecDepth_22993_; lean_object* v_ngen_22994_; lean_object* v_auxDeclNGen_22995_; lean_object* v_infoState_22996_; lean_object* v_traceState_22997_; lean_object* v_snapshotTasks_22998_; lean_object* v___x_23000_; uint8_t v_isShared_23001_; uint8_t v_isSharedCheck_23036_; -v___x_22984_ = lean_st_ref_get(v___y_22982_); -v_env_22985_ = lean_ctor_get(v___x_22984_, 0); -lean_inc_ref(v_env_22985_); -lean_dec(v___x_22984_); -v_isExporting_22986_ = lean_ctor_get_uint8(v_env_22985_, sizeof(void*)*8); -lean_dec_ref(v_env_22985_); -v___x_22987_ = lean_st_ref_take(v___y_22982_); -v_env_22988_ = lean_ctor_get(v___x_22987_, 0); -v_messages_22989_ = lean_ctor_get(v___x_22987_, 1); -v_scopes_22990_ = lean_ctor_get(v___x_22987_, 2); -v_usedQuotCtxts_22991_ = lean_ctor_get(v___x_22987_, 3); -v_nextMacroScope_22992_ = lean_ctor_get(v___x_22987_, 4); -v_maxRecDepth_22993_ = lean_ctor_get(v___x_22987_, 5); -v_ngen_22994_ = lean_ctor_get(v___x_22987_, 6); -v_auxDeclNGen_22995_ = lean_ctor_get(v___x_22987_, 7); -v_infoState_22996_ = lean_ctor_get(v___x_22987_, 8); -v_traceState_22997_ = lean_ctor_get(v___x_22987_, 9); -v_snapshotTasks_22998_ = lean_ctor_get(v___x_22987_, 10); -v_isSharedCheck_23036_ = !lean_is_exclusive(v___x_22987_); -if (v_isSharedCheck_23036_ == 0) -{ -v___x_23000_ = v___x_22987_; -v_isShared_23001_ = v_isSharedCheck_23036_; -goto v_resetjp_22999_; -} -else -{ -lean_inc(v_snapshotTasks_22998_); -lean_inc(v_traceState_22997_); -lean_inc(v_infoState_22996_); -lean_inc(v_auxDeclNGen_22995_); -lean_inc(v_ngen_22994_); -lean_inc(v_maxRecDepth_22993_); -lean_inc(v_nextMacroScope_22992_); -lean_inc(v_usedQuotCtxts_22991_); -lean_inc(v_scopes_22990_); -lean_inc(v_messages_22989_); -lean_inc(v_env_22988_); -lean_dec(v___x_22987_); -v___x_23000_ = lean_box(0); -v_isShared_23001_ = v_isSharedCheck_23036_; -goto v_resetjp_22999_; -} -v_resetjp_22999_: -{ -lean_object* v___x_23002_; lean_object* v___x_23004_; -v___x_23002_ = l_Lean_Environment_setExporting(v_env_22988_, v_isExporting_22980_); -if (v_isShared_23001_ == 0) -{ -lean_ctor_set(v___x_23000_, 0, v___x_23002_); -v___x_23004_ = v___x_23000_; -goto v_reusejp_23003_; -} -else -{ -lean_object* v_reuseFailAlloc_23035_; -v_reuseFailAlloc_23035_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_23035_, 0, v___x_23002_); -lean_ctor_set(v_reuseFailAlloc_23035_, 1, v_messages_22989_); -lean_ctor_set(v_reuseFailAlloc_23035_, 2, v_scopes_22990_); -lean_ctor_set(v_reuseFailAlloc_23035_, 3, v_usedQuotCtxts_22991_); -lean_ctor_set(v_reuseFailAlloc_23035_, 4, v_nextMacroScope_22992_); -lean_ctor_set(v_reuseFailAlloc_23035_, 5, v_maxRecDepth_22993_); -lean_ctor_set(v_reuseFailAlloc_23035_, 6, v_ngen_22994_); -lean_ctor_set(v_reuseFailAlloc_23035_, 7, v_auxDeclNGen_22995_); -lean_ctor_set(v_reuseFailAlloc_23035_, 8, v_infoState_22996_); -lean_ctor_set(v_reuseFailAlloc_23035_, 9, v_traceState_22997_); -lean_ctor_set(v_reuseFailAlloc_23035_, 10, v_snapshotTasks_22998_); -v___x_23004_ = v_reuseFailAlloc_23035_; -goto v_reusejp_23003_; -} -v_reusejp_23003_: -{ -lean_object* v___x_23005_; lean_object* v_r_23006_; -v___x_23005_ = lean_st_ref_set(v___y_22982_, v___x_23004_); -lean_inc(v___y_22982_); -v_r_23006_ = lean_apply_3(v_x_22979_, v___y_22981_, v___y_22982_, lean_box(0)); -if (lean_obj_tag(v_r_23006_) == 0) -{ -lean_object* v_a_23007_; lean_object* v___x_23009_; uint8_t v_isShared_23010_; uint8_t v_isSharedCheck_23023_; -v_a_23007_ = lean_ctor_get(v_r_23006_, 0); -v_isSharedCheck_23023_ = !lean_is_exclusive(v_r_23006_); -if (v_isSharedCheck_23023_ == 0) -{ -v___x_23009_ = v_r_23006_; -v_isShared_23010_ = v_isSharedCheck_23023_; -goto v_resetjp_23008_; -} -else -{ -lean_inc(v_a_23007_); -lean_dec(v_r_23006_); +lean_object* v___x_23008_; lean_object* v___x_23009_; lean_object* v___x_23010_; +v___x_23008_ = lean_st_ref_set(v___y_22986_, v___x_23007_); v___x_23009_ = lean_box(0); -v_isShared_23010_ = v_isSharedCheck_23023_; -goto v_resetjp_23008_; -} -v_resetjp_23008_: -{ -lean_object* v___x_23012_; -lean_inc(v_a_23007_); -if (v_isShared_23010_ == 0) -{ -lean_ctor_set_tag(v___x_23009_, 1); -v___x_23012_ = v___x_23009_; -goto v_reusejp_23011_; -} -else -{ -lean_object* v_reuseFailAlloc_23022_; -v_reuseFailAlloc_23022_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23022_, 0, v_a_23007_); -v___x_23012_ = v_reuseFailAlloc_23022_; -goto v_reusejp_23011_; -} -v_reusejp_23011_: -{ -lean_object* v___x_23013_; lean_object* v___x_23015_; uint8_t v_isShared_23016_; uint8_t v_isSharedCheck_23020_; -v___x_23013_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_22982_, v_isExporting_22986_, v___x_23012_); -lean_dec_ref(v___x_23012_); -lean_dec(v___y_22982_); -v_isSharedCheck_23020_ = !lean_is_exclusive(v___x_23013_); -if (v_isSharedCheck_23020_ == 0) -{ -lean_object* v_unused_23021_; -v_unused_23021_ = lean_ctor_get(v___x_23013_, 0); -lean_dec(v_unused_23021_); -v___x_23015_ = v___x_23013_; -v_isShared_23016_ = v_isSharedCheck_23020_; -goto v_resetjp_23014_; -} -else -{ -lean_dec(v___x_23013_); -v___x_23015_ = lean_box(0); -v_isShared_23016_ = v_isSharedCheck_23020_; -goto v_resetjp_23014_; -} -v_resetjp_23014_: -{ -lean_object* v___x_23018_; -if (v_isShared_23016_ == 0) -{ -lean_ctor_set(v___x_23015_, 0, v_a_23007_); -v___x_23018_ = v___x_23015_; -goto v_reusejp_23017_; -} -else -{ -lean_object* v_reuseFailAlloc_23019_; -v_reuseFailAlloc_23019_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23019_, 0, v_a_23007_); -v___x_23018_ = v_reuseFailAlloc_23019_; -goto v_reusejp_23017_; -} -v_reusejp_23017_: -{ -return v___x_23018_; +v___x_23010_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23010_, 0, v___x_23009_); +return v___x_23010_; } } } } -} -else -{ -lean_object* v_a_23024_; lean_object* v___x_23025_; lean_object* v___x_23026_; lean_object* v___x_23028_; uint8_t v_isShared_23029_; uint8_t v_isSharedCheck_23033_; -v_a_23024_ = lean_ctor_get(v_r_23006_, 0); -lean_inc(v_a_23024_); -lean_dec_ref(v_r_23006_); -v___x_23025_ = lean_box(0); -v___x_23026_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_22982_, v_isExporting_22986_, v___x_23025_); -lean_dec(v___y_22982_); -v_isSharedCheck_23033_ = !lean_is_exclusive(v___x_23026_); -if (v_isSharedCheck_23033_ == 0) -{ -lean_object* v_unused_23034_; -v_unused_23034_ = lean_ctor_get(v___x_23026_, 0); -lean_dec(v_unused_23034_); -v___x_23028_ = v___x_23026_; -v_isShared_23029_ = v_isSharedCheck_23033_; -goto v_resetjp_23027_; -} -else -{ -lean_dec(v___x_23026_); -v___x_23028_ = lean_box(0); -v_isShared_23029_ = v_isSharedCheck_23033_; -goto v_resetjp_23027_; -} -v_resetjp_23027_: -{ -lean_object* v___x_23031_; -if (v_isShared_23029_ == 0) -{ -lean_ctor_set_tag(v___x_23028_, 1); -lean_ctor_set(v___x_23028_, 0, v_a_23024_); -v___x_23031_ = v___x_23028_; -goto v_reusejp_23030_; -} -else -{ -lean_object* v_reuseFailAlloc_23032_; -v_reuseFailAlloc_23032_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23032_, 0, v_a_23024_); -v___x_23031_ = v_reuseFailAlloc_23032_; -goto v_reusejp_23030_; -} -v_reusejp_23030_: -{ -return v___x_23031_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___boxed(lean_object* v_x_23037_, lean_object* v_isExporting_23038_, lean_object* v___y_23039_, lean_object* v___y_23040_, lean_object* v___y_23041_){ +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0___boxed(lean_object* v___y_23013_, lean_object* v_isExporting_23014_, lean_object* v_a_x3f_23015_, lean_object* v___y_23016_){ _start: { -uint8_t v_isExporting_boxed_23042_; lean_object* v_res_23043_; -v_isExporting_boxed_23042_ = lean_unbox(v_isExporting_23038_); -v_res_23043_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_23037_, v_isExporting_boxed_23042_, v___y_23039_, v___y_23040_); -return v_res_23043_; +uint8_t v_isExporting_boxed_23017_; lean_object* v_res_23018_; +v_isExporting_boxed_23017_ = lean_unbox(v_isExporting_23014_); +v_res_23018_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_23013_, v_isExporting_boxed_23017_, v_a_x3f_23015_); +lean_dec(v_a_x3f_23015_); +lean_dec(v___y_23013_); +return v_res_23018_; } } -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5(lean_object* v_00_u03b1_23044_, lean_object* v_x_23045_, uint8_t v_isExporting_23046_, lean_object* v___y_23047_, lean_object* v___y_23048_){ +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(lean_object* v_x_23019_, uint8_t v_isExporting_23020_, lean_object* v___y_23021_, lean_object* v___y_23022_){ _start: { -lean_object* v___x_23050_; -v___x_23050_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_23045_, v_isExporting_23046_, v___y_23047_, v___y_23048_); -return v___x_23050_; -} -} -LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___boxed(lean_object* v_00_u03b1_23051_, lean_object* v_x_23052_, lean_object* v_isExporting_23053_, lean_object* v___y_23054_, lean_object* v___y_23055_, lean_object* v___y_23056_){ -_start: +lean_object* v___x_23024_; lean_object* v_env_23025_; uint8_t v_isExporting_23026_; lean_object* v___x_23027_; lean_object* v_env_23028_; lean_object* v_messages_23029_; lean_object* v_scopes_23030_; lean_object* v_usedQuotCtxts_23031_; lean_object* v_nextMacroScope_23032_; lean_object* v_maxRecDepth_23033_; lean_object* v_ngen_23034_; lean_object* v_auxDeclNGen_23035_; lean_object* v_infoState_23036_; lean_object* v_traceState_23037_; lean_object* v_snapshotTasks_23038_; lean_object* v___x_23040_; uint8_t v_isShared_23041_; uint8_t v_isSharedCheck_23076_; +v___x_23024_ = lean_st_ref_get(v___y_23022_); +v_env_23025_ = lean_ctor_get(v___x_23024_, 0); +lean_inc_ref(v_env_23025_); +lean_dec(v___x_23024_); +v_isExporting_23026_ = lean_ctor_get_uint8(v_env_23025_, sizeof(void*)*8); +lean_dec_ref(v_env_23025_); +v___x_23027_ = lean_st_ref_take(v___y_23022_); +v_env_23028_ = lean_ctor_get(v___x_23027_, 0); +v_messages_23029_ = lean_ctor_get(v___x_23027_, 1); +v_scopes_23030_ = lean_ctor_get(v___x_23027_, 2); +v_usedQuotCtxts_23031_ = lean_ctor_get(v___x_23027_, 3); +v_nextMacroScope_23032_ = lean_ctor_get(v___x_23027_, 4); +v_maxRecDepth_23033_ = lean_ctor_get(v___x_23027_, 5); +v_ngen_23034_ = lean_ctor_get(v___x_23027_, 6); +v_auxDeclNGen_23035_ = lean_ctor_get(v___x_23027_, 7); +v_infoState_23036_ = lean_ctor_get(v___x_23027_, 8); +v_traceState_23037_ = lean_ctor_get(v___x_23027_, 9); +v_snapshotTasks_23038_ = lean_ctor_get(v___x_23027_, 10); +v_isSharedCheck_23076_ = !lean_is_exclusive(v___x_23027_); +if (v_isSharedCheck_23076_ == 0) { -uint8_t v_isExporting_boxed_23057_; lean_object* v_res_23058_; -v_isExporting_boxed_23057_ = lean_unbox(v_isExporting_23053_); -v_res_23058_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5(v_00_u03b1_23051_, v_x_23052_, v_isExporting_boxed_23057_, v___y_23054_, v___y_23055_); -return v_res_23058_; +v___x_23040_ = v___x_23027_; +v_isShared_23041_ = v_isSharedCheck_23076_; +goto v_resetjp_23039_; } -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lam__0(lean_object* v_a_23059_, lean_object* v_fst_23060_, lean_object* v___x_23061_, lean_object* v_vars_23062_, lean_object* v___y_23063_, lean_object* v___y_23064_, lean_object* v___y_23065_, lean_object* v___y_23066_, lean_object* v___y_23067_, lean_object* v___y_23068_){ -_start: +else { -lean_object* v___x_23070_; -lean_inc(v___y_23068_); -lean_inc_ref(v___y_23067_); -lean_inc(v___y_23066_); -lean_inc_ref(v___y_23065_); -lean_inc(v___y_23064_); -lean_inc_ref(v___y_23063_); -lean_inc(v_fst_23060_); -v___x_23070_ = l_Lean_Elab_Term_elabMutualDef(v_vars_23062_, v_a_23059_, v_fst_23060_, v___y_23063_, v___y_23064_, v___y_23065_, v___y_23066_, v___y_23067_, v___y_23068_); -if (lean_obj_tag(v___x_23070_) == 0) +lean_inc(v_snapshotTasks_23038_); +lean_inc(v_traceState_23037_); +lean_inc(v_infoState_23036_); +lean_inc(v_auxDeclNGen_23035_); +lean_inc(v_ngen_23034_); +lean_inc(v_maxRecDepth_23033_); +lean_inc(v_nextMacroScope_23032_); +lean_inc(v_usedQuotCtxts_23031_); +lean_inc(v_scopes_23030_); +lean_inc(v_messages_23029_); +lean_inc(v_env_23028_); +lean_dec(v___x_23027_); +v___x_23040_ = lean_box(0); +v_isShared_23041_ = v_isSharedCheck_23076_; +goto v_resetjp_23039_; +} +v_resetjp_23039_: +{ +lean_object* v___x_23042_; lean_object* v___x_23044_; +v___x_23042_ = l_Lean_Environment_setExporting(v_env_23028_, v_isExporting_23020_); +if (v_isShared_23041_ == 0) +{ +lean_ctor_set(v___x_23040_, 0, v___x_23042_); +v___x_23044_ = v___x_23040_; +goto v_reusejp_23043_; +} +else +{ +lean_object* v_reuseFailAlloc_23075_; +v_reuseFailAlloc_23075_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_23075_, 0, v___x_23042_); +lean_ctor_set(v_reuseFailAlloc_23075_, 1, v_messages_23029_); +lean_ctor_set(v_reuseFailAlloc_23075_, 2, v_scopes_23030_); +lean_ctor_set(v_reuseFailAlloc_23075_, 3, v_usedQuotCtxts_23031_); +lean_ctor_set(v_reuseFailAlloc_23075_, 4, v_nextMacroScope_23032_); +lean_ctor_set(v_reuseFailAlloc_23075_, 5, v_maxRecDepth_23033_); +lean_ctor_set(v_reuseFailAlloc_23075_, 6, v_ngen_23034_); +lean_ctor_set(v_reuseFailAlloc_23075_, 7, v_auxDeclNGen_23035_); +lean_ctor_set(v_reuseFailAlloc_23075_, 8, v_infoState_23036_); +lean_ctor_set(v_reuseFailAlloc_23075_, 9, v_traceState_23037_); +lean_ctor_set(v_reuseFailAlloc_23075_, 10, v_snapshotTasks_23038_); +v___x_23044_ = v_reuseFailAlloc_23075_; +goto v_reusejp_23043_; +} +v_reusejp_23043_: +{ +lean_object* v___x_23045_; lean_object* v_r_23046_; +v___x_23045_ = lean_st_ref_set(v___y_23022_, v___x_23044_); +lean_inc(v___y_23022_); +v_r_23046_ = lean_apply_3(v_x_23019_, v___y_23021_, v___y_23022_, lean_box(0)); +if (lean_obj_tag(v_r_23046_) == 0) +{ +lean_object* v_a_23047_; lean_object* v___x_23049_; uint8_t v_isShared_23050_; uint8_t v_isSharedCheck_23063_; +v_a_23047_ = lean_ctor_get(v_r_23046_, 0); +v_isSharedCheck_23063_ = !lean_is_exclusive(v_r_23046_); +if (v_isSharedCheck_23063_ == 0) +{ +v___x_23049_ = v_r_23046_; +v_isShared_23050_ = v_isSharedCheck_23063_; +goto v_resetjp_23048_; +} +else +{ +lean_inc(v_a_23047_); +lean_dec(v_r_23046_); +v___x_23049_ = lean_box(0); +v_isShared_23050_ = v_isSharedCheck_23063_; +goto v_resetjp_23048_; +} +v_resetjp_23048_: +{ +lean_object* v___x_23052_; +lean_inc(v_a_23047_); +if (v_isShared_23050_ == 0) +{ +lean_ctor_set_tag(v___x_23049_, 1); +v___x_23052_ = v___x_23049_; +goto v_reusejp_23051_; +} +else +{ +lean_object* v_reuseFailAlloc_23062_; +v_reuseFailAlloc_23062_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23062_, 0, v_a_23047_); +v___x_23052_ = v_reuseFailAlloc_23062_; +goto v_reusejp_23051_; +} +v_reusejp_23051_: +{ +lean_object* v___x_23053_; lean_object* v___x_23055_; uint8_t v_isShared_23056_; uint8_t v_isSharedCheck_23060_; +v___x_23053_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_23022_, v_isExporting_23026_, v___x_23052_); +lean_dec_ref(v___x_23052_); +lean_dec(v___y_23022_); +v_isSharedCheck_23060_ = !lean_is_exclusive(v___x_23053_); +if (v_isSharedCheck_23060_ == 0) +{ +lean_object* v_unused_23061_; +v_unused_23061_ = lean_ctor_get(v___x_23053_, 0); +lean_dec(v_unused_23061_); +v___x_23055_ = v___x_23053_; +v_isShared_23056_ = v_isSharedCheck_23060_; +goto v_resetjp_23054_; +} +else +{ +lean_dec(v___x_23053_); +v___x_23055_ = lean_box(0); +v_isShared_23056_ = v_isSharedCheck_23060_; +goto v_resetjp_23054_; +} +v_resetjp_23054_: +{ +lean_object* v___x_23058_; +if (v_isShared_23056_ == 0) +{ +lean_ctor_set(v___x_23055_, 0, v_a_23047_); +v___x_23058_ = v___x_23055_; +goto v_reusejp_23057_; +} +else +{ +lean_object* v_reuseFailAlloc_23059_; +v_reuseFailAlloc_23059_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23059_, 0, v_a_23047_); +v___x_23058_ = v_reuseFailAlloc_23059_; +goto v_reusejp_23057_; +} +v_reusejp_23057_: +{ +return v___x_23058_; +} +} +} +} +} +else +{ +lean_object* v_a_23064_; lean_object* v___x_23065_; lean_object* v___x_23066_; lean_object* v___x_23068_; uint8_t v_isShared_23069_; uint8_t v_isSharedCheck_23073_; +v_a_23064_ = lean_ctor_get(v_r_23046_, 0); +lean_inc(v_a_23064_); +lean_dec_ref(v_r_23046_); +v___x_23065_ = lean_box(0); +v___x_23066_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___lam__0(v___y_23022_, v_isExporting_23026_, v___x_23065_); +lean_dec(v___y_23022_); +v_isSharedCheck_23073_ = !lean_is_exclusive(v___x_23066_); +if (v_isSharedCheck_23073_ == 0) +{ +lean_object* v_unused_23074_; +v_unused_23074_ = lean_ctor_get(v___x_23066_, 0); +lean_dec(v_unused_23074_); +v___x_23068_ = v___x_23066_; +v_isShared_23069_ = v_isSharedCheck_23073_; +goto v_resetjp_23067_; +} +else +{ +lean_dec(v___x_23066_); +v___x_23068_ = lean_box(0); +v_isShared_23069_ = v_isSharedCheck_23073_; +goto v_resetjp_23067_; +} +v_resetjp_23067_: { lean_object* v___x_23071_; -lean_dec_ref(v___x_23070_); -v___x_23071_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(v_fst_23060_, v___x_23061_, v___y_23063_, v___y_23064_, v___y_23065_, v___y_23066_, v___y_23067_, v___y_23068_); -lean_dec(v___y_23068_); -lean_dec(v___y_23066_); -lean_dec(v___y_23064_); -return v___x_23071_; +if (v_isShared_23069_ == 0) +{ +lean_ctor_set_tag(v___x_23068_, 1); +lean_ctor_set(v___x_23068_, 0, v_a_23064_); +v___x_23071_ = v___x_23068_; +goto v_reusejp_23070_; } else { -lean_dec(v___y_23068_); -lean_dec_ref(v___y_23067_); -lean_dec(v___y_23066_); -lean_dec_ref(v___y_23065_); -lean_dec(v___y_23064_); -lean_dec_ref(v___y_23063_); -lean_dec_ref(v___x_23061_); -lean_dec(v_fst_23060_); -return v___x_23070_; +lean_object* v_reuseFailAlloc_23072_; +v_reuseFailAlloc_23072_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23072_, 0, v_a_23064_); +v___x_23071_ = v_reuseFailAlloc_23072_; +goto v_reusejp_23070_; +} +v_reusejp_23070_: +{ +return v___x_23071_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lam__0___boxed(lean_object* v_a_23072_, lean_object* v_fst_23073_, lean_object* v___x_23074_, lean_object* v_vars_23075_, lean_object* v___y_23076_, lean_object* v___y_23077_, lean_object* v___y_23078_, lean_object* v___y_23079_, lean_object* v___y_23080_, lean_object* v___y_23081_, lean_object* v___y_23082_){ +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg___boxed(lean_object* v_x_23077_, lean_object* v_isExporting_23078_, lean_object* v___y_23079_, lean_object* v___y_23080_, lean_object* v___y_23081_){ _start: { -lean_object* v_res_23083_; -v_res_23083_ = l_Lean_Elab_Command_elabMutualDef___lam__0(v_a_23072_, v_fst_23073_, v___x_23074_, v_vars_23075_, v___y_23076_, v___y_23077_, v___y_23078_, v___y_23079_, v___y_23080_, v___y_23081_); +uint8_t v_isExporting_boxed_23082_; lean_object* v_res_23083_; +v_isExporting_boxed_23082_ = lean_unbox(v_isExporting_23078_); +v_res_23083_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_23077_, v_isExporting_boxed_23082_, v___y_23079_, v___y_23080_); return v_res_23083_; } } -LEAN_EXPORT uint64_t l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(lean_object* v_as_23084_, size_t v_i_23085_, size_t v_stop_23086_, uint64_t v_b_23087_){ +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5(lean_object* v_00_u03b1_23084_, lean_object* v_x_23085_, uint8_t v_isExporting_23086_, lean_object* v___y_23087_, lean_object* v___y_23088_){ _start: { -uint64_t v___y_23089_; uint8_t v___x_23094_; -v___x_23094_ = lean_usize_dec_eq(v_i_23085_, v_stop_23086_); -if (v___x_23094_ == 0) +lean_object* v___x_23090_; +v___x_23090_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_23085_, v_isExporting_23086_, v___y_23087_, v___y_23088_); +return v___x_23090_; +} +} +LEAN_EXPORT lean_object* l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___boxed(lean_object* v_00_u03b1_23091_, lean_object* v_x_23092_, lean_object* v_isExporting_23093_, lean_object* v___y_23094_, lean_object* v___y_23095_, lean_object* v___y_23096_){ +_start: { -lean_object* v___x_23095_; -v___x_23095_ = lean_array_uget_borrowed(v_as_23084_, v_i_23085_); -if (lean_obj_tag(v___x_23095_) == 0) +uint8_t v_isExporting_boxed_23097_; lean_object* v_res_23098_; +v_isExporting_boxed_23097_ = lean_unbox(v_isExporting_23093_); +v_res_23098_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5(v_00_u03b1_23091_, v_x_23092_, v_isExporting_boxed_23097_, v___y_23094_, v___y_23095_); +return v_res_23098_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lam__0(lean_object* v_a_23099_, lean_object* v_fst_23100_, lean_object* v___x_23101_, lean_object* v_vars_23102_, lean_object* v___y_23103_, lean_object* v___y_23104_, lean_object* v___y_23105_, lean_object* v___y_23106_, lean_object* v___y_23107_, lean_object* v___y_23108_){ +_start: { -uint64_t v___x_23096_; -v___x_23096_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); -v___y_23089_ = v___x_23096_; -goto v___jp_23088_; +lean_object* v___x_23110_; +lean_inc(v___y_23108_); +lean_inc_ref(v___y_23107_); +lean_inc(v___y_23106_); +lean_inc_ref(v___y_23105_); +lean_inc(v___y_23104_); +lean_inc_ref(v___y_23103_); +lean_inc(v_fst_23100_); +v___x_23110_ = l_Lean_Elab_Term_elabMutualDef(v_vars_23102_, v_a_23099_, v_fst_23100_, v___y_23103_, v___y_23104_, v___y_23105_, v___y_23106_, v___y_23107_, v___y_23108_); +if (lean_obj_tag(v___x_23110_) == 0) +{ +lean_object* v___x_23111_; +lean_dec_ref(v___x_23110_); +v___x_23111_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask(v_fst_23100_, v___x_23101_, v___y_23103_, v___y_23104_, v___y_23105_, v___y_23106_, v___y_23107_, v___y_23108_); +lean_dec(v___y_23108_); +lean_dec(v___y_23106_); +lean_dec(v___y_23104_); +return v___x_23111_; } else { -uint64_t v_hash_23097_; -v_hash_23097_ = lean_ctor_get_uint64(v___x_23095_, sizeof(void*)*2); -v___y_23089_ = v_hash_23097_; -goto v___jp_23088_; +lean_dec(v___y_23108_); +lean_dec_ref(v___y_23107_); +lean_dec(v___y_23106_); +lean_dec_ref(v___y_23105_); +lean_dec(v___y_23104_); +lean_dec_ref(v___y_23103_); +lean_dec_ref(v___x_23101_); +lean_dec(v_fst_23100_); +return v___x_23110_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___lam__0___boxed(lean_object* v_a_23112_, lean_object* v_fst_23113_, lean_object* v___x_23114_, lean_object* v_vars_23115_, lean_object* v___y_23116_, lean_object* v___y_23117_, lean_object* v___y_23118_, lean_object* v___y_23119_, lean_object* v___y_23120_, lean_object* v___y_23121_, lean_object* v___y_23122_){ +_start: +{ +lean_object* v_res_23123_; +v_res_23123_ = l_Lean_Elab_Command_elabMutualDef___lam__0(v_a_23112_, v_fst_23113_, v___x_23114_, v_vars_23115_, v___y_23116_, v___y_23117_, v___y_23118_, v___y_23119_, v___y_23120_, v___y_23121_); +return v_res_23123_; +} +} +LEAN_EXPORT uint64_t l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(lean_object* v_as_23124_, size_t v_i_23125_, size_t v_stop_23126_, uint64_t v_b_23127_){ +_start: +{ +uint64_t v___y_23129_; uint8_t v___x_23134_; +v___x_23134_ = lean_usize_dec_eq(v_i_23125_, v_stop_23126_); +if (v___x_23134_ == 0) +{ +lean_object* v___x_23135_; +v___x_23135_ = lean_array_uget_borrowed(v_as_23124_, v_i_23125_); +if (lean_obj_tag(v___x_23135_) == 0) +{ +uint64_t v___x_23136_; +v___x_23136_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg___closed__0); +v___y_23129_ = v___x_23136_; +goto v___jp_23128_; +} +else +{ +uint64_t v_hash_23137_; +v_hash_23137_ = lean_ctor_get_uint64(v___x_23135_, sizeof(void*)*2); +v___y_23129_ = v_hash_23137_; +goto v___jp_23128_; } } else { -return v_b_23087_; +return v_b_23127_; } -v___jp_23088_: +v___jp_23128_: { -uint64_t v___x_23090_; size_t v___x_23091_; size_t v___x_23092_; -v___x_23090_ = lean_uint64_mix_hash(v_b_23087_, v___y_23089_); -v___x_23091_ = ((size_t)1ULL); -v___x_23092_ = lean_usize_add(v_i_23085_, v___x_23091_); -v_i_23085_ = v___x_23092_; -v_b_23087_ = v___x_23090_; +uint64_t v___x_23130_; size_t v___x_23131_; size_t v___x_23132_; +v___x_23130_ = lean_uint64_mix_hash(v_b_23127_, v___y_23129_); +v___x_23131_ = ((size_t)1ULL); +v___x_23132_ = lean_usize_add(v_i_23125_, v___x_23131_); +v_i_23125_ = v___x_23132_; +v_b_23127_ = v___x_23130_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2___boxed(lean_object* v_as_23098_, lean_object* v_i_23099_, lean_object* v_stop_23100_, lean_object* v_b_23101_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2___boxed(lean_object* v_as_23138_, lean_object* v_i_23139_, lean_object* v_stop_23140_, lean_object* v_b_23141_){ _start: { -size_t v_i_boxed_23102_; size_t v_stop_boxed_23103_; uint64_t v_b_boxed_23104_; uint64_t v_res_23105_; lean_object* v_r_23106_; -v_i_boxed_23102_ = lean_unbox_usize(v_i_23099_); -lean_dec(v_i_23099_); -v_stop_boxed_23103_ = lean_unbox_usize(v_stop_23100_); -lean_dec(v_stop_23100_); -v_b_boxed_23104_ = lean_unbox_uint64(v_b_23101_); -lean_dec_ref(v_b_23101_); -v_res_23105_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v_as_23098_, v_i_boxed_23102_, v_stop_boxed_23103_, v_b_boxed_23104_); -lean_dec_ref(v_as_23098_); -v_r_23106_ = lean_box_uint64(v_res_23105_); -return v_r_23106_; +size_t v_i_boxed_23142_; size_t v_stop_boxed_23143_; uint64_t v_b_boxed_23144_; uint64_t v_res_23145_; lean_object* v_r_23146_; +v_i_boxed_23142_ = lean_unbox_usize(v_i_23139_); +lean_dec(v_i_23139_); +v_stop_boxed_23143_ = lean_unbox_usize(v_stop_23140_); +lean_dec(v_stop_23140_); +v_b_boxed_23144_ = lean_unbox_uint64(v_b_23141_); +lean_dec_ref(v_b_23141_); +v_res_23145_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v_as_23138_, v_i_boxed_23142_, v_stop_boxed_23143_, v_b_boxed_23144_); +lean_dec_ref(v_as_23138_); +v_r_23146_ = lean_box_uint64(v_res_23145_); +return v_r_23146_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(size_t v_sz_23107_, size_t v_i_23108_, lean_object* v_bs_23109_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(size_t v_sz_23147_, size_t v_i_23148_, lean_object* v_bs_23149_){ _start: { -uint8_t v___x_23110_; -v___x_23110_ = lean_usize_dec_lt(v_i_23108_, v_sz_23107_); -if (v___x_23110_ == 0) +uint8_t v___x_23150_; +v___x_23150_ = lean_usize_dec_lt(v_i_23148_, v_sz_23147_); +if (v___x_23150_ == 0) { -return v_bs_23109_; +return v_bs_23149_; } else { -lean_object* v_v_23111_; lean_object* v_headerProcessedSnap_23112_; lean_object* v_stx_x3f_23113_; lean_object* v_reportingRange_23114_; lean_object* v___f_23115_; lean_object* v___x_23116_; lean_object* v___f_23117_; lean_object* v___x_23118_; lean_object* v_bs_x27_23119_; lean_object* v___x_23120_; size_t v___x_23121_; size_t v___x_23122_; lean_object* v___x_23123_; -v_v_23111_ = lean_array_uget_borrowed(v_bs_23109_, v_i_23108_); -v_headerProcessedSnap_23112_ = lean_ctor_get(v_v_23111_, 1); -lean_inc_ref(v_headerProcessedSnap_23112_); -v_stx_x3f_23113_ = lean_ctor_get(v_headerProcessedSnap_23112_, 0); -lean_inc(v_stx_x3f_23113_); -v_reportingRange_23114_ = lean_ctor_get(v_headerProcessedSnap_23112_, 1); -lean_inc(v_reportingRange_23114_); -v___f_23115_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___closed__0)); -v___x_23116_ = lean_box(v___x_23110_); -v___f_23117_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed), 3, 2); -lean_closure_set(v___f_23117_, 0, v___f_23115_); -lean_closure_set(v___f_23117_, 1, v___x_23116_); -v___x_23118_ = lean_unsigned_to_nat(0u); -v_bs_x27_23119_ = lean_array_uset(v_bs_23109_, v_i_23108_, v___x_23118_); -v___x_23120_ = l_Lean_Language_SnapshotTask_map___redArg(v_headerProcessedSnap_23112_, v___f_23117_, v_stx_x3f_23113_, v_reportingRange_23114_, v___x_23110_); -v___x_23121_ = ((size_t)1ULL); -v___x_23122_ = lean_usize_add(v_i_23108_, v___x_23121_); -v___x_23123_ = lean_array_uset(v_bs_x27_23119_, v_i_23108_, v___x_23120_); -v_i_23108_ = v___x_23122_; -v_bs_23109_ = v___x_23123_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3___boxed(lean_object* v_sz_23125_, lean_object* v_i_23126_, lean_object* v_bs_23127_){ -_start: -{ -size_t v_sz_boxed_23128_; size_t v_i_boxed_23129_; lean_object* v_res_23130_; -v_sz_boxed_23128_ = lean_unbox_usize(v_sz_23125_); -lean_dec(v_sz_23125_); -v_i_boxed_23129_ = lean_unbox_usize(v_i_23126_); -lean_dec(v_i_23126_); -v_res_23130_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(v_sz_boxed_23128_, v_i_boxed_23129_, v_bs_23127_); -return v_res_23130_; -} -} -LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3___lam__0(lean_object* v_val_23131_, lean_object* v_x_23132_){ -_start: -{ -lean_object* v_toSnapshot_23133_; lean_object* v_defs_23134_; lean_object* v___x_23136_; uint8_t v_isShared_23137_; uint8_t v_isSharedCheck_23144_; -v_toSnapshot_23133_ = lean_ctor_get(v_val_23131_, 0); -v_defs_23134_ = lean_ctor_get(v_val_23131_, 1); -v_isSharedCheck_23144_ = !lean_is_exclusive(v_val_23131_); -if (v_isSharedCheck_23144_ == 0) -{ -v___x_23136_ = v_val_23131_; -v_isShared_23137_ = v_isSharedCheck_23144_; -goto v_resetjp_23135_; -} -else -{ -lean_inc(v_defs_23134_); -lean_inc(v_toSnapshot_23133_); -lean_dec(v_val_23131_); -v___x_23136_ = lean_box(0); -v_isShared_23137_ = v_isSharedCheck_23144_; -goto v_resetjp_23135_; -} -v_resetjp_23135_: -{ -size_t v_sz_23138_; size_t v___x_23139_; lean_object* v___x_23140_; lean_object* v___x_23142_; -v_sz_23138_ = lean_array_size(v_defs_23134_); -v___x_23139_ = ((size_t)0ULL); -v___x_23140_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(v_sz_23138_, v___x_23139_, v_defs_23134_); -if (v_isShared_23137_ == 0) -{ -lean_ctor_set(v___x_23136_, 1, v___x_23140_); -v___x_23142_ = v___x_23136_; -goto v_reusejp_23141_; -} -else -{ -lean_object* v_reuseFailAlloc_23143_; -v_reuseFailAlloc_23143_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_23143_, 0, v_toSnapshot_23133_); -lean_ctor_set(v_reuseFailAlloc_23143_, 1, v___x_23140_); -v___x_23142_ = v_reuseFailAlloc_23143_; -goto v_reusejp_23141_; -} -v_reusejp_23141_: -{ -return v___x_23142_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3(lean_object* v_inst_23145_, lean_object* v_val_23146_){ -_start: -{ -lean_object* v___f_23147_; lean_object* v___x_23148_; lean_object* v___x_23149_; lean_object* v___x_23150_; -lean_inc_ref(v_val_23146_); -v___f_23147_ = lean_alloc_closure((void*)(l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3___lam__0), 2, 1); -lean_closure_set(v___f_23147_, 0, v_val_23146_); -v___x_23148_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23148_, 0, v_inst_23145_); -lean_ctor_set(v___x_23148_, 1, v_val_23146_); -v___x_23149_ = lean_mk_thunk(v___f_23147_); -v___x_23150_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23150_, 0, v___x_23148_); -lean_ctor_set(v___x_23150_, 1, v___x_23149_); -return v___x_23150_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(size_t v_sz_23151_, size_t v_i_23152_, lean_object* v_bs_23153_){ -_start: -{ -uint8_t v___x_23155_; -v___x_23155_ = lean_usize_dec_lt(v_i_23152_, v_sz_23151_); -if (v___x_23155_ == 0) -{ -lean_object* v___x_23156_; -v___x_23156_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23156_, 0, v_bs_23153_); -return v___x_23156_; -} -else -{ -lean_object* v___x_23157_; lean_object* v___x_23158_; lean_object* v_bs_x27_23159_; size_t v___x_23160_; size_t v___x_23161_; lean_object* v___x_23162_; -v___x_23157_ = lean_io_promise_new(); +lean_object* v_v_23151_; lean_object* v_headerProcessedSnap_23152_; lean_object* v_stx_x3f_23153_; lean_object* v_reportingRange_23154_; lean_object* v___f_23155_; lean_object* v___x_23156_; lean_object* v___f_23157_; lean_object* v___x_23158_; lean_object* v_bs_x27_23159_; lean_object* v___x_23160_; size_t v___x_23161_; size_t v___x_23162_; lean_object* v___x_23163_; +v_v_23151_ = lean_array_uget_borrowed(v_bs_23149_, v_i_23148_); +v_headerProcessedSnap_23152_ = lean_ctor_get(v_v_23151_, 1); +lean_inc_ref(v_headerProcessedSnap_23152_); +v_stx_x3f_23153_ = lean_ctor_get(v_headerProcessedSnap_23152_, 0); +lean_inc(v_stx_x3f_23153_); +v_reportingRange_23154_ = lean_ctor_get(v_headerProcessedSnap_23152_, 1); +lean_inc(v_reportingRange_23154_); +v___f_23155_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___closed__0)); +v___x_23156_ = lean_box(v___x_23150_); +v___f_23157_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_logGoalsAccomplishedSnapshotTask_spec__2___lam__1___boxed), 3, 2); +lean_closure_set(v___f_23157_, 0, v___f_23155_); +lean_closure_set(v___f_23157_, 1, v___x_23156_); v___x_23158_ = lean_unsigned_to_nat(0u); -v_bs_x27_23159_ = lean_array_uset(v_bs_23153_, v_i_23152_, v___x_23158_); -v___x_23160_ = ((size_t)1ULL); -v___x_23161_ = lean_usize_add(v_i_23152_, v___x_23160_); -v___x_23162_ = lean_array_uset(v_bs_x27_23159_, v_i_23152_, v___x_23157_); -v_i_23152_ = v___x_23161_; -v_bs_23153_ = v___x_23162_; +v_bs_x27_23159_ = lean_array_uset(v_bs_23149_, v_i_23148_, v___x_23158_); +v___x_23160_ = l_Lean_Language_SnapshotTask_map___redArg(v_headerProcessedSnap_23152_, v___f_23157_, v_stx_x3f_23153_, v_reportingRange_23154_, v___x_23150_); +v___x_23161_ = ((size_t)1ULL); +v___x_23162_ = lean_usize_add(v_i_23148_, v___x_23161_); +v___x_23163_ = lean_array_uset(v_bs_x27_23159_, v_i_23148_, v___x_23160_); +v_i_23148_ = v___x_23162_; +v_bs_23149_ = v___x_23163_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg___boxed(lean_object* v_sz_23164_, lean_object* v_i_23165_, lean_object* v_bs_23166_, lean_object* v___y_23167_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3___boxed(lean_object* v_sz_23165_, lean_object* v_i_23166_, lean_object* v_bs_23167_){ _start: { size_t v_sz_boxed_23168_; size_t v_i_boxed_23169_; lean_object* v_res_23170_; -v_sz_boxed_23168_ = lean_unbox_usize(v_sz_23164_); -lean_dec(v_sz_23164_); -v_i_boxed_23169_ = lean_unbox_usize(v_i_23165_); -lean_dec(v_i_23165_); -v_res_23170_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_boxed_23168_, v_i_boxed_23169_, v_bs_23166_); +v_sz_boxed_23168_ = lean_unbox_usize(v_sz_23165_); +lean_dec(v_sz_23165_); +v_i_boxed_23169_ = lean_unbox_usize(v_i_23166_); +lean_dec(v_i_23166_); +v_res_23170_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(v_sz_boxed_23168_, v_i_boxed_23169_, v_bs_23167_); return v_res_23170_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(lean_object* v_msgData_23171_, lean_object* v_macroStack_23172_, lean_object* v___y_23173_){ +LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3___lam__0(lean_object* v_val_23171_, lean_object* v_x_23172_){ _start: { -lean_object* v___x_23175_; lean_object* v_scopes_23176_; lean_object* v___x_23177_; lean_object* v___x_23178_; lean_object* v_opts_23179_; lean_object* v___x_23180_; uint8_t v___x_23181_; -v___x_23175_ = lean_st_ref_get(v___y_23173_); -v_scopes_23176_ = lean_ctor_get(v___x_23175_, 2); -lean_inc(v_scopes_23176_); -lean_dec(v___x_23175_); -v___x_23177_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_23178_ = l_List_head_x21___redArg(v___x_23177_, v_scopes_23176_); -lean_dec(v_scopes_23176_); -v_opts_23179_ = lean_ctor_get(v___x_23178_, 1); -lean_inc_ref(v_opts_23179_); -lean_dec(v___x_23178_); -v___x_23180_ = l_Lean_Elab_pp_macroStack; -v___x_23181_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_23179_, v___x_23180_); -lean_dec_ref(v_opts_23179_); -if (v___x_23181_ == 0) +lean_object* v_toSnapshot_23173_; lean_object* v_defs_23174_; lean_object* v___x_23176_; uint8_t v_isShared_23177_; uint8_t v_isSharedCheck_23184_; +v_toSnapshot_23173_ = lean_ctor_get(v_val_23171_, 0); +v_defs_23174_ = lean_ctor_get(v_val_23171_, 1); +v_isSharedCheck_23184_ = !lean_is_exclusive(v_val_23171_); +if (v_isSharedCheck_23184_ == 0) +{ +v___x_23176_ = v_val_23171_; +v_isShared_23177_ = v_isSharedCheck_23184_; +goto v_resetjp_23175_; +} +else +{ +lean_inc(v_defs_23174_); +lean_inc(v_toSnapshot_23173_); +lean_dec(v_val_23171_); +v___x_23176_ = lean_box(0); +v_isShared_23177_ = v_isSharedCheck_23184_; +goto v_resetjp_23175_; +} +v_resetjp_23175_: +{ +size_t v_sz_23178_; size_t v___x_23179_; lean_object* v___x_23180_; lean_object* v___x_23182_; +v_sz_23178_ = lean_array_size(v_defs_23174_); +v___x_23179_ = ((size_t)0ULL); +v___x_23180_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3_spec__3(v_sz_23178_, v___x_23179_, v_defs_23174_); +if (v_isShared_23177_ == 0) +{ +lean_ctor_set(v___x_23176_, 1, v___x_23180_); +v___x_23182_ = v___x_23176_; +goto v_reusejp_23181_; +} +else +{ +lean_object* v_reuseFailAlloc_23183_; +v_reuseFailAlloc_23183_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_23183_, 0, v_toSnapshot_23173_); +lean_ctor_set(v_reuseFailAlloc_23183_, 1, v___x_23180_); +v___x_23182_ = v_reuseFailAlloc_23183_; +goto v_reusejp_23181_; +} +v_reusejp_23181_: { -lean_object* v___x_23182_; -lean_dec(v_macroStack_23172_); -v___x_23182_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23182_, 0, v_msgData_23171_); return v___x_23182_; } -else -{ -if (lean_obj_tag(v_macroStack_23172_) == 0) -{ -lean_object* v___x_23183_; -v___x_23183_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23183_, 0, v_msgData_23171_); -return v___x_23183_; -} -else -{ -lean_object* v_head_23184_; lean_object* v_after_23185_; lean_object* v___x_23187_; uint8_t v_isShared_23188_; uint8_t v_isSharedCheck_23200_; -v_head_23184_ = lean_ctor_get(v_macroStack_23172_, 0); -lean_inc(v_head_23184_); -v_after_23185_ = lean_ctor_get(v_head_23184_, 1); -v_isSharedCheck_23200_ = !lean_is_exclusive(v_head_23184_); -if (v_isSharedCheck_23200_ == 0) -{ -lean_object* v_unused_23201_; -v_unused_23201_ = lean_ctor_get(v_head_23184_, 0); -lean_dec(v_unused_23201_); -v___x_23187_ = v_head_23184_; -v_isShared_23188_ = v_isSharedCheck_23200_; -goto v_resetjp_23186_; -} -else -{ -lean_inc(v_after_23185_); -lean_dec(v_head_23184_); -v___x_23187_ = lean_box(0); -v_isShared_23188_ = v_isSharedCheck_23200_; -goto v_resetjp_23186_; -} -v_resetjp_23186_: -{ -lean_object* v___x_23189_; lean_object* v___x_23191_; -v___x_23189_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0); -if (v_isShared_23188_ == 0) -{ -lean_ctor_set_tag(v___x_23187_, 7); -lean_ctor_set(v___x_23187_, 1, v___x_23189_); -lean_ctor_set(v___x_23187_, 0, v_msgData_23171_); -v___x_23191_ = v___x_23187_; -goto v_reusejp_23190_; -} -else -{ -lean_object* v_reuseFailAlloc_23199_; -v_reuseFailAlloc_23199_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_23199_, 0, v_msgData_23171_); -lean_ctor_set(v_reuseFailAlloc_23199_, 1, v___x_23189_); -v___x_23191_ = v_reuseFailAlloc_23199_; -goto v_reusejp_23190_; -} -v_reusejp_23190_: -{ -lean_object* v___x_23192_; lean_object* v___x_23193_; lean_object* v___x_23194_; lean_object* v___x_23195_; lean_object* v_msgData_23196_; lean_object* v___x_23197_; lean_object* v___x_23198_; -v___x_23192_ = lean_obj_once(&l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2, &l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2_once, _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2); -v___x_23193_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23193_, 0, v___x_23191_); -lean_ctor_set(v___x_23193_, 1, v___x_23192_); -v___x_23194_ = l_Lean_MessageData_ofSyntax(v_after_23185_); -v___x_23195_ = l_Lean_indentD(v___x_23194_); -v_msgData_23196_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_msgData_23196_, 0, v___x_23193_); -lean_ctor_set(v_msgData_23196_, 1, v___x_23195_); -v___x_23197_ = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3(v_msgData_23196_, v_macroStack_23172_); -v___x_23198_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23198_, 0, v___x_23197_); -return v___x_23198_; } } } -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg___boxed(lean_object* v_msgData_23202_, lean_object* v_macroStack_23203_, lean_object* v___y_23204_, lean_object* v___y_23205_){ +LEAN_EXPORT lean_object* l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3(lean_object* v_inst_23185_, lean_object* v_val_23186_){ _start: { -lean_object* v_res_23206_; -v_res_23206_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_msgData_23202_, v_macroStack_23203_, v___y_23204_); -lean_dec(v___y_23204_); -return v_res_23206_; +lean_object* v___f_23187_; lean_object* v___x_23188_; lean_object* v___x_23189_; lean_object* v___x_23190_; +lean_inc_ref(v_val_23186_); +v___f_23187_ = lean_alloc_closure((void*)(l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3___lam__0), 2, 1); +lean_closure_set(v___f_23187_, 0, v_val_23186_); +v___x_23188_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23188_, 0, v_inst_23185_); +lean_ctor_set(v___x_23188_, 1, v_val_23186_); +v___x_23189_ = lean_mk_thunk(v___f_23187_); +v___x_23190_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23190_, 0, v___x_23188_); +lean_ctor_set(v___x_23190_, 1, v___x_23189_); +return v___x_23190_; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(lean_object* v_msgData_23207_, lean_object* v___y_23208_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(size_t v_sz_23191_, size_t v_i_23192_, lean_object* v_bs_23193_){ _start: { -lean_object* v___x_23210_; lean_object* v_env_23211_; lean_object* v___x_23212_; lean_object* v_scopes_23213_; lean_object* v___x_23214_; lean_object* v___x_23215_; lean_object* v_opts_23216_; lean_object* v___x_23217_; lean_object* v___x_23218_; lean_object* v___x_23219_; lean_object* v___x_23220_; lean_object* v___x_23221_; lean_object* v___x_23222_; lean_object* v___x_23223_; -v___x_23210_ = lean_st_ref_get(v___y_23208_); -v_env_23211_ = lean_ctor_get(v___x_23210_, 0); -lean_inc_ref(v_env_23211_); -lean_dec(v___x_23210_); -v___x_23212_ = lean_st_ref_get(v___y_23208_); -v_scopes_23213_ = lean_ctor_get(v___x_23212_, 2); -lean_inc(v_scopes_23213_); -lean_dec(v___x_23212_); -v___x_23214_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_23215_ = l_List_head_x21___redArg(v___x_23214_, v_scopes_23213_); -lean_dec(v_scopes_23213_); -v_opts_23216_ = lean_ctor_get(v___x_23215_, 1); -lean_inc_ref(v_opts_23216_); +uint8_t v___x_23195_; +v___x_23195_ = lean_usize_dec_lt(v_i_23192_, v_sz_23191_); +if (v___x_23195_ == 0) +{ +lean_object* v___x_23196_; +v___x_23196_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23196_, 0, v_bs_23193_); +return v___x_23196_; +} +else +{ +lean_object* v___x_23197_; lean_object* v___x_23198_; lean_object* v_bs_x27_23199_; size_t v___x_23200_; size_t v___x_23201_; lean_object* v___x_23202_; +v___x_23197_ = lean_io_promise_new(); +v___x_23198_ = lean_unsigned_to_nat(0u); +v_bs_x27_23199_ = lean_array_uset(v_bs_23193_, v_i_23192_, v___x_23198_); +v___x_23200_ = ((size_t)1ULL); +v___x_23201_ = lean_usize_add(v_i_23192_, v___x_23200_); +v___x_23202_ = lean_array_uset(v_bs_x27_23199_, v_i_23192_, v___x_23197_); +v_i_23192_ = v___x_23201_; +v_bs_23193_ = v___x_23202_; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg___boxed(lean_object* v_sz_23204_, lean_object* v_i_23205_, lean_object* v_bs_23206_, lean_object* v___y_23207_){ +_start: +{ +size_t v_sz_boxed_23208_; size_t v_i_boxed_23209_; lean_object* v_res_23210_; +v_sz_boxed_23208_ = lean_unbox_usize(v_sz_23204_); +lean_dec(v_sz_23204_); +v_i_boxed_23209_ = lean_unbox_usize(v_i_23205_); +lean_dec(v_i_23205_); +v_res_23210_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_boxed_23208_, v_i_boxed_23209_, v_bs_23206_); +return v_res_23210_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(lean_object* v_msgData_23211_, lean_object* v_macroStack_23212_, lean_object* v___y_23213_){ +_start: +{ +lean_object* v___x_23215_; lean_object* v_scopes_23216_; lean_object* v___x_23217_; lean_object* v___x_23218_; lean_object* v_opts_23219_; lean_object* v___x_23220_; uint8_t v___x_23221_; +v___x_23215_ = lean_st_ref_get(v___y_23213_); +v_scopes_23216_ = lean_ctor_get(v___x_23215_, 2); +lean_inc(v_scopes_23216_); lean_dec(v___x_23215_); -v___x_23217_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2); -v___x_23218_ = lean_unsigned_to_nat(32u); -v___x_23219_ = lean_mk_empty_array_with_capacity(v___x_23218_); -lean_dec_ref(v___x_23219_); -v___x_23220_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5); -v___x_23221_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_23221_, 0, v_env_23211_); -lean_ctor_set(v___x_23221_, 1, v___x_23217_); -lean_ctor_set(v___x_23221_, 2, v___x_23220_); -lean_ctor_set(v___x_23221_, 3, v_opts_23216_); -v___x_23222_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v___x_23222_, 0, v___x_23221_); -lean_ctor_set(v___x_23222_, 1, v_msgData_23207_); +v___x_23217_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_23218_ = l_List_head_x21___redArg(v___x_23217_, v_scopes_23216_); +lean_dec(v_scopes_23216_); +v_opts_23219_ = lean_ctor_get(v___x_23218_, 1); +lean_inc_ref(v_opts_23219_); +lean_dec(v___x_23218_); +v___x_23220_ = l_Lean_Elab_pp_macroStack; +v___x_23221_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_23219_, v___x_23220_); +lean_dec_ref(v_opts_23219_); +if (v___x_23221_ == 0) +{ +lean_object* v___x_23222_; +lean_dec(v_macroStack_23212_); +v___x_23222_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23222_, 0, v_msgData_23211_); +return v___x_23222_; +} +else +{ +if (lean_obj_tag(v_macroStack_23212_) == 0) +{ +lean_object* v___x_23223_; v___x_23223_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23223_, 0, v___x_23222_); +lean_ctor_set(v___x_23223_, 0, v_msgData_23211_); return v___x_23223_; } +else +{ +lean_object* v_head_23224_; lean_object* v_after_23225_; lean_object* v___x_23227_; uint8_t v_isShared_23228_; uint8_t v_isSharedCheck_23240_; +v_head_23224_ = lean_ctor_get(v_macroStack_23212_, 0); +lean_inc(v_head_23224_); +v_after_23225_ = lean_ctor_get(v_head_23224_, 1); +v_isSharedCheck_23240_ = !lean_is_exclusive(v_head_23224_); +if (v_isSharedCheck_23240_ == 0) +{ +lean_object* v_unused_23241_; +v_unused_23241_ = lean_ctor_get(v_head_23224_, 0); +lean_dec(v_unused_23241_); +v___x_23227_ = v_head_23224_; +v_isShared_23228_ = v_isSharedCheck_23240_; +goto v_resetjp_23226_; } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg___boxed(lean_object* v_msgData_23224_, lean_object* v___y_23225_, lean_object* v___y_23226_){ +else +{ +lean_inc(v_after_23225_); +lean_dec(v_head_23224_); +v___x_23227_ = lean_box(0); +v_isShared_23228_ = v_isSharedCheck_23240_; +goto v_resetjp_23226_; +} +v_resetjp_23226_: +{ +lean_object* v___x_23229_; lean_object* v___x_23231_; +v___x_23229_ = lean_obj_once(&l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0, &l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0_once, _init_l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3___closed__0); +if (v_isShared_23228_ == 0) +{ +lean_ctor_set_tag(v___x_23227_, 7); +lean_ctor_set(v___x_23227_, 1, v___x_23229_); +lean_ctor_set(v___x_23227_, 0, v_msgData_23211_); +v___x_23231_ = v___x_23227_; +goto v_reusejp_23230_; +} +else +{ +lean_object* v_reuseFailAlloc_23239_; +v_reuseFailAlloc_23239_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_23239_, 0, v_msgData_23211_); +lean_ctor_set(v_reuseFailAlloc_23239_, 1, v___x_23229_); +v___x_23231_ = v_reuseFailAlloc_23239_; +goto v_reusejp_23230_; +} +v_reusejp_23230_: +{ +lean_object* v___x_23232_; lean_object* v___x_23233_; lean_object* v___x_23234_; lean_object* v___x_23235_; lean_object* v_msgData_23236_; lean_object* v___x_23237_; lean_object* v___x_23238_; +v___x_23232_ = lean_obj_once(&l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2, &l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2_once, _init_l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1___redArg___closed__2); +v___x_23233_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23233_, 0, v___x_23231_); +lean_ctor_set(v___x_23233_, 1, v___x_23232_); +v___x_23234_ = l_Lean_MessageData_ofSyntax(v_after_23225_); +v___x_23235_ = l_Lean_indentD(v___x_23234_); +v_msgData_23236_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_msgData_23236_, 0, v___x_23233_); +lean_ctor_set(v_msgData_23236_, 1, v___x_23235_); +v___x_23237_ = l_List_foldl___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__3(v_msgData_23236_, v_macroStack_23212_); +v___x_23238_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23238_, 0, v___x_23237_); +return v___x_23238_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg___boxed(lean_object* v_msgData_23242_, lean_object* v_macroStack_23243_, lean_object* v___y_23244_, lean_object* v___y_23245_){ _start: { -lean_object* v_res_23227_; -v_res_23227_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msgData_23224_, v___y_23225_); -lean_dec(v___y_23225_); -return v_res_23227_; +lean_object* v_res_23246_; +v_res_23246_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_msgData_23242_, v_macroStack_23243_, v___y_23244_); +lean_dec(v___y_23244_); +return v_res_23246_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(lean_object* v_msg_23228_, lean_object* v___y_23229_, lean_object* v___y_23230_){ +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(lean_object* v_msgData_23247_, lean_object* v___y_23248_){ _start: { -lean_object* v___x_23232_; -v___x_23232_ = l_Lean_Elab_Command_getRef___redArg(v___y_23229_); -if (lean_obj_tag(v___x_23232_) == 0) -{ -lean_object* v_a_23233_; lean_object* v_macroStack_23234_; lean_object* v___x_23235_; lean_object* v_a_23236_; lean_object* v___x_23237_; lean_object* v___x_23238_; lean_object* v_a_23239_; lean_object* v___x_23241_; uint8_t v_isShared_23242_; uint8_t v_isSharedCheck_23247_; -v_a_23233_ = lean_ctor_get(v___x_23232_, 0); -lean_inc(v_a_23233_); -lean_dec_ref(v___x_23232_); -v_macroStack_23234_ = lean_ctor_get(v___y_23229_, 4); -lean_inc(v_macroStack_23234_); -lean_dec_ref(v___y_23229_); -v___x_23235_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msg_23228_, v___y_23230_); -v_a_23236_ = lean_ctor_get(v___x_23235_, 0); -lean_inc(v_a_23236_); -lean_dec_ref(v___x_23235_); -lean_inc(v_macroStack_23234_); -v___x_23237_ = l_Lean_Elab_getBetterRef(v_a_23233_, v_macroStack_23234_); -lean_dec(v_a_23233_); -v___x_23238_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_a_23236_, v_macroStack_23234_, v___y_23230_); -v_a_23239_ = lean_ctor_get(v___x_23238_, 0); -v_isSharedCheck_23247_ = !lean_is_exclusive(v___x_23238_); -if (v_isSharedCheck_23247_ == 0) -{ -v___x_23241_ = v___x_23238_; -v_isShared_23242_ = v_isSharedCheck_23247_; -goto v_resetjp_23240_; -} -else -{ -lean_inc(v_a_23239_); -lean_dec(v___x_23238_); -v___x_23241_ = lean_box(0); -v_isShared_23242_ = v_isSharedCheck_23247_; -goto v_resetjp_23240_; -} -v_resetjp_23240_: -{ -lean_object* v___x_23243_; lean_object* v___x_23245_; -v___x_23243_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23243_, 0, v___x_23237_); -lean_ctor_set(v___x_23243_, 1, v_a_23239_); -if (v_isShared_23242_ == 0) -{ -lean_ctor_set_tag(v___x_23241_, 1); -lean_ctor_set(v___x_23241_, 0, v___x_23243_); -v___x_23245_ = v___x_23241_; -goto v_reusejp_23244_; -} -else -{ -lean_object* v_reuseFailAlloc_23246_; -v_reuseFailAlloc_23246_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23246_, 0, v___x_23243_); -v___x_23245_ = v_reuseFailAlloc_23246_; -goto v_reusejp_23244_; -} -v_reusejp_23244_: -{ -return v___x_23245_; +lean_object* v___x_23250_; lean_object* v_env_23251_; lean_object* v___x_23252_; lean_object* v_scopes_23253_; lean_object* v___x_23254_; lean_object* v___x_23255_; lean_object* v_opts_23256_; lean_object* v___x_23257_; lean_object* v___x_23258_; lean_object* v___x_23259_; lean_object* v___x_23260_; lean_object* v___x_23261_; lean_object* v___x_23262_; lean_object* v___x_23263_; +v___x_23250_ = lean_st_ref_get(v___y_23248_); +v_env_23251_ = lean_ctor_get(v___x_23250_, 0); +lean_inc_ref(v_env_23251_); +lean_dec(v___x_23250_); +v___x_23252_ = lean_st_ref_get(v___y_23248_); +v_scopes_23253_ = lean_ctor_get(v___x_23252_, 2); +lean_inc(v_scopes_23253_); +lean_dec(v___x_23252_); +v___x_23254_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_23255_ = l_List_head_x21___redArg(v___x_23254_, v_scopes_23253_); +lean_dec(v_scopes_23253_); +v_opts_23256_ = lean_ctor_get(v___x_23255_, 1); +lean_inc_ref(v_opts_23256_); +lean_dec(v___x_23255_); +v___x_23257_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__2); +v___x_23258_ = lean_unsigned_to_nat(32u); +v___x_23259_ = lean_mk_empty_array_with_capacity(v___x_23258_); +lean_dec_ref(v___x_23259_); +v___x_23260_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_initFn_00___x40_Lean_Elab_MutualDef_2791506682____hygCtx___hyg_2__spec__0_spec__0___closed__5); +v___x_23261_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_23261_, 0, v_env_23251_); +lean_ctor_set(v___x_23261_, 1, v___x_23257_); +lean_ctor_set(v___x_23261_, 2, v___x_23260_); +lean_ctor_set(v___x_23261_, 3, v_opts_23256_); +v___x_23262_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v___x_23262_, 0, v___x_23261_); +lean_ctor_set(v___x_23262_, 1, v_msgData_23247_); +v___x_23263_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23263_, 0, v___x_23262_); +return v___x_23263_; } } -} -else -{ -lean_object* v_a_23248_; lean_object* v___x_23250_; uint8_t v_isShared_23251_; uint8_t v_isSharedCheck_23255_; -lean_dec_ref(v___y_23229_); -lean_dec_ref(v_msg_23228_); -v_a_23248_ = lean_ctor_get(v___x_23232_, 0); -v_isSharedCheck_23255_ = !lean_is_exclusive(v___x_23232_); -if (v_isSharedCheck_23255_ == 0) -{ -v___x_23250_ = v___x_23232_; -v_isShared_23251_ = v_isSharedCheck_23255_; -goto v_resetjp_23249_; -} -else -{ -lean_inc(v_a_23248_); -lean_dec(v___x_23232_); -v___x_23250_ = lean_box(0); -v_isShared_23251_ = v_isSharedCheck_23255_; -goto v_resetjp_23249_; -} -v_resetjp_23249_: -{ -lean_object* v___x_23253_; -if (v_isShared_23251_ == 0) -{ -v___x_23253_ = v___x_23250_; -goto v_reusejp_23252_; -} -else -{ -lean_object* v_reuseFailAlloc_23254_; -v_reuseFailAlloc_23254_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23254_, 0, v_a_23248_); -v___x_23253_ = v_reuseFailAlloc_23254_; -goto v_reusejp_23252_; -} -v_reusejp_23252_: -{ -return v___x_23253_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg___boxed(lean_object* v_msg_23256_, lean_object* v___y_23257_, lean_object* v___y_23258_, lean_object* v___y_23259_){ +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg___boxed(lean_object* v_msgData_23264_, lean_object* v___y_23265_, lean_object* v___y_23266_){ _start: { -lean_object* v_res_23260_; -v_res_23260_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_23256_, v___y_23257_, v___y_23258_); -lean_dec(v___y_23258_); -return v_res_23260_; +lean_object* v_res_23267_; +v_res_23267_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msgData_23264_, v___y_23265_); +lean_dec(v___y_23265_); +return v_res_23267_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(lean_object* v_ref_23261_, lean_object* v_msg_23262_, lean_object* v___y_23263_, lean_object* v___y_23264_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(lean_object* v_msg_23268_, lean_object* v___y_23269_, lean_object* v___y_23270_){ _start: { -lean_object* v___x_23266_; -v___x_23266_ = l_Lean_Elab_Command_getRef___redArg(v___y_23263_); -if (lean_obj_tag(v___x_23266_) == 0) +lean_object* v___x_23272_; +v___x_23272_ = l_Lean_Elab_Command_getRef___redArg(v___y_23269_); +if (lean_obj_tag(v___x_23272_) == 0) { -lean_object* v_a_23267_; lean_object* v_fileName_23268_; lean_object* v_fileMap_23269_; lean_object* v_currRecDepth_23270_; lean_object* v_cmdPos_23271_; lean_object* v_macroStack_23272_; lean_object* v_quotContext_x3f_23273_; lean_object* v_currMacroScope_23274_; lean_object* v_snap_x3f_23275_; lean_object* v_cancelTk_x3f_23276_; uint8_t v_suppressElabErrors_23277_; lean_object* v___x_23279_; uint8_t v_isShared_23280_; uint8_t v_isSharedCheck_23286_; -v_a_23267_ = lean_ctor_get(v___x_23266_, 0); -lean_inc(v_a_23267_); -lean_dec_ref(v___x_23266_); -v_fileName_23268_ = lean_ctor_get(v___y_23263_, 0); -v_fileMap_23269_ = lean_ctor_get(v___y_23263_, 1); -v_currRecDepth_23270_ = lean_ctor_get(v___y_23263_, 2); -v_cmdPos_23271_ = lean_ctor_get(v___y_23263_, 3); -v_macroStack_23272_ = lean_ctor_get(v___y_23263_, 4); -v_quotContext_x3f_23273_ = lean_ctor_get(v___y_23263_, 5); -v_currMacroScope_23274_ = lean_ctor_get(v___y_23263_, 6); -v_snap_x3f_23275_ = lean_ctor_get(v___y_23263_, 8); -v_cancelTk_x3f_23276_ = lean_ctor_get(v___y_23263_, 9); -v_suppressElabErrors_23277_ = lean_ctor_get_uint8(v___y_23263_, sizeof(void*)*10); -v_isSharedCheck_23286_ = !lean_is_exclusive(v___y_23263_); -if (v_isSharedCheck_23286_ == 0) +lean_object* v_a_23273_; lean_object* v_macroStack_23274_; lean_object* v___x_23275_; lean_object* v_a_23276_; lean_object* v___x_23277_; lean_object* v___x_23278_; lean_object* v_a_23279_; lean_object* v___x_23281_; uint8_t v_isShared_23282_; uint8_t v_isSharedCheck_23287_; +v_a_23273_ = lean_ctor_get(v___x_23272_, 0); +lean_inc(v_a_23273_); +lean_dec_ref(v___x_23272_); +v_macroStack_23274_ = lean_ctor_get(v___y_23269_, 4); +lean_inc(v_macroStack_23274_); +lean_dec_ref(v___y_23269_); +v___x_23275_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msg_23268_, v___y_23270_); +v_a_23276_ = lean_ctor_get(v___x_23275_, 0); +lean_inc(v_a_23276_); +lean_dec_ref(v___x_23275_); +lean_inc(v_macroStack_23274_); +v___x_23277_ = l_Lean_Elab_getBetterRef(v_a_23273_, v_macroStack_23274_); +lean_dec(v_a_23273_); +v___x_23278_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_a_23276_, v_macroStack_23274_, v___y_23270_); +v_a_23279_ = lean_ctor_get(v___x_23278_, 0); +v_isSharedCheck_23287_ = !lean_is_exclusive(v___x_23278_); +if (v_isSharedCheck_23287_ == 0) { -lean_object* v_unused_23287_; -v_unused_23287_ = lean_ctor_get(v___y_23263_, 7); -lean_dec(v_unused_23287_); -v___x_23279_ = v___y_23263_; -v_isShared_23280_ = v_isSharedCheck_23286_; -goto v_resetjp_23278_; +v___x_23281_ = v___x_23278_; +v_isShared_23282_ = v_isSharedCheck_23287_; +goto v_resetjp_23280_; } else { -lean_inc(v_cancelTk_x3f_23276_); -lean_inc(v_snap_x3f_23275_); -lean_inc(v_currMacroScope_23274_); -lean_inc(v_quotContext_x3f_23273_); -lean_inc(v_macroStack_23272_); -lean_inc(v_cmdPos_23271_); -lean_inc(v_currRecDepth_23270_); -lean_inc(v_fileMap_23269_); -lean_inc(v_fileName_23268_); -lean_dec(v___y_23263_); -v___x_23279_ = lean_box(0); -v_isShared_23280_ = v_isSharedCheck_23286_; -goto v_resetjp_23278_; +lean_inc(v_a_23279_); +lean_dec(v___x_23278_); +v___x_23281_ = lean_box(0); +v_isShared_23282_ = v_isSharedCheck_23287_; +goto v_resetjp_23280_; } -v_resetjp_23278_: +v_resetjp_23280_: { -lean_object* v_ref_23281_; lean_object* v___x_23283_; -v_ref_23281_ = l_Lean_replaceRef(v_ref_23261_, v_a_23267_); -lean_dec(v_a_23267_); -if (v_isShared_23280_ == 0) +lean_object* v___x_23283_; lean_object* v___x_23285_; +v___x_23283_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23283_, 0, v___x_23277_); +lean_ctor_set(v___x_23283_, 1, v_a_23279_); +if (v_isShared_23282_ == 0) { -lean_ctor_set(v___x_23279_, 7, v_ref_23281_); -v___x_23283_ = v___x_23279_; -goto v_reusejp_23282_; +lean_ctor_set_tag(v___x_23281_, 1); +lean_ctor_set(v___x_23281_, 0, v___x_23283_); +v___x_23285_ = v___x_23281_; +goto v_reusejp_23284_; } else { -lean_object* v_reuseFailAlloc_23285_; -v_reuseFailAlloc_23285_ = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(v_reuseFailAlloc_23285_, 0, v_fileName_23268_); -lean_ctor_set(v_reuseFailAlloc_23285_, 1, v_fileMap_23269_); -lean_ctor_set(v_reuseFailAlloc_23285_, 2, v_currRecDepth_23270_); -lean_ctor_set(v_reuseFailAlloc_23285_, 3, v_cmdPos_23271_); -lean_ctor_set(v_reuseFailAlloc_23285_, 4, v_macroStack_23272_); -lean_ctor_set(v_reuseFailAlloc_23285_, 5, v_quotContext_x3f_23273_); -lean_ctor_set(v_reuseFailAlloc_23285_, 6, v_currMacroScope_23274_); -lean_ctor_set(v_reuseFailAlloc_23285_, 7, v_ref_23281_); -lean_ctor_set(v_reuseFailAlloc_23285_, 8, v_snap_x3f_23275_); -lean_ctor_set(v_reuseFailAlloc_23285_, 9, v_cancelTk_x3f_23276_); -lean_ctor_set_uint8(v_reuseFailAlloc_23285_, sizeof(void*)*10, v_suppressElabErrors_23277_); -v___x_23283_ = v_reuseFailAlloc_23285_; -goto v_reusejp_23282_; +lean_object* v_reuseFailAlloc_23286_; +v_reuseFailAlloc_23286_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23286_, 0, v___x_23283_); +v___x_23285_ = v_reuseFailAlloc_23286_; +goto v_reusejp_23284_; } -v_reusejp_23282_: +v_reusejp_23284_: { -lean_object* v___x_23284_; -v___x_23284_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_23262_, v___x_23283_, v___y_23264_); -return v___x_23284_; +return v___x_23285_; } } } else { lean_object* v_a_23288_; lean_object* v___x_23290_; uint8_t v_isShared_23291_; uint8_t v_isSharedCheck_23295_; -lean_dec_ref(v___y_23263_); -lean_dec_ref(v_msg_23262_); -v_a_23288_ = lean_ctor_get(v___x_23266_, 0); -v_isSharedCheck_23295_ = !lean_is_exclusive(v___x_23266_); +lean_dec_ref(v___y_23269_); +lean_dec_ref(v_msg_23268_); +v_a_23288_ = lean_ctor_get(v___x_23272_, 0); +v_isSharedCheck_23295_ = !lean_is_exclusive(v___x_23272_); if (v_isSharedCheck_23295_ == 0) { -v___x_23290_ = v___x_23266_; +v___x_23290_ = v___x_23272_; v_isShared_23291_ = v_isSharedCheck_23295_; goto v_resetjp_23289_; } else { lean_inc(v_a_23288_); -lean_dec(v___x_23266_); +lean_dec(v___x_23272_); v___x_23290_ = lean_box(0); v_isShared_23291_ = v_isSharedCheck_23295_; goto v_resetjp_23289_; @@ -66994,660 +67011,798 @@ return v___x_23293_; } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg___boxed(lean_object* v_ref_23296_, lean_object* v_msg_23297_, lean_object* v___y_23298_, lean_object* v___y_23299_, lean_object* v___y_23300_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg___boxed(lean_object* v_msg_23296_, lean_object* v___y_23297_, lean_object* v___y_23298_, lean_object* v___y_23299_){ _start: { -lean_object* v_res_23301_; -v_res_23301_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_ref_23296_, v_msg_23297_, v___y_23298_, v___y_23299_); -lean_dec(v___y_23299_); -lean_dec(v_ref_23296_); -return v_res_23301_; +lean_object* v_res_23300_; +v_res_23300_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_23296_, v___y_23297_, v___y_23298_); +lean_dec(v___y_23298_); +return v_res_23300_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0(lean_object* v_x_23302_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(lean_object* v_ref_23301_, lean_object* v_msg_23302_, lean_object* v___y_23303_, lean_object* v___y_23304_){ _start: { -if (lean_obj_tag(v_x_23302_) == 0) +lean_object* v___x_23306_; +v___x_23306_ = l_Lean_Elab_Command_getRef___redArg(v___y_23303_); +if (lean_obj_tag(v___x_23306_) == 0) { -lean_object* v___x_23303_; -v___x_23303_ = lean_box(0); -return v___x_23303_; +lean_object* v_a_23307_; lean_object* v_fileName_23308_; lean_object* v_fileMap_23309_; lean_object* v_currRecDepth_23310_; lean_object* v_cmdPos_23311_; lean_object* v_macroStack_23312_; lean_object* v_quotContext_x3f_23313_; lean_object* v_currMacroScope_23314_; lean_object* v_snap_x3f_23315_; lean_object* v_cancelTk_x3f_23316_; uint8_t v_suppressElabErrors_23317_; lean_object* v___x_23319_; uint8_t v_isShared_23320_; uint8_t v_isSharedCheck_23326_; +v_a_23307_ = lean_ctor_get(v___x_23306_, 0); +lean_inc(v_a_23307_); +lean_dec_ref(v___x_23306_); +v_fileName_23308_ = lean_ctor_get(v___y_23303_, 0); +v_fileMap_23309_ = lean_ctor_get(v___y_23303_, 1); +v_currRecDepth_23310_ = lean_ctor_get(v___y_23303_, 2); +v_cmdPos_23311_ = lean_ctor_get(v___y_23303_, 3); +v_macroStack_23312_ = lean_ctor_get(v___y_23303_, 4); +v_quotContext_x3f_23313_ = lean_ctor_get(v___y_23303_, 5); +v_currMacroScope_23314_ = lean_ctor_get(v___y_23303_, 6); +v_snap_x3f_23315_ = lean_ctor_get(v___y_23303_, 8); +v_cancelTk_x3f_23316_ = lean_ctor_get(v___y_23303_, 9); +v_suppressElabErrors_23317_ = lean_ctor_get_uint8(v___y_23303_, sizeof(void*)*10); +v_isSharedCheck_23326_ = !lean_is_exclusive(v___y_23303_); +if (v_isSharedCheck_23326_ == 0) +{ +lean_object* v_unused_23327_; +v_unused_23327_ = lean_ctor_get(v___y_23303_, 7); +lean_dec(v_unused_23327_); +v___x_23319_ = v___y_23303_; +v_isShared_23320_ = v_isSharedCheck_23326_; +goto v_resetjp_23318_; } else { -lean_object* v_val_23304_; -v_val_23304_ = lean_ctor_get(v_x_23302_, 0); -lean_inc(v_val_23304_); -return v_val_23304_; +lean_inc(v_cancelTk_x3f_23316_); +lean_inc(v_snap_x3f_23315_); +lean_inc(v_currMacroScope_23314_); +lean_inc(v_quotContext_x3f_23313_); +lean_inc(v_macroStack_23312_); +lean_inc(v_cmdPos_23311_); +lean_inc(v_currRecDepth_23310_); +lean_inc(v_fileMap_23309_); +lean_inc(v_fileName_23308_); +lean_dec(v___y_23303_); +v___x_23319_ = lean_box(0); +v_isShared_23320_ = v_isSharedCheck_23326_; +goto v_resetjp_23318_; } -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0___boxed(lean_object* v_x_23305_){ -_start: +v_resetjp_23318_: { -lean_object* v_res_23306_; -v_res_23306_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0(v_x_23305_); -lean_dec(v_x_23305_); -return v_res_23306_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(lean_object* v_a_23311_, lean_object* v___x_23312_, lean_object* v___x_23313_, lean_object* v_fst_23314_, lean_object* v___x_23315_, lean_object* v___x_23316_, lean_object* v___f_23317_, lean_object* v___x_23318_, uint8_t v___x_23319_, lean_object* v_fst_23320_, lean_object* v_fst_23321_, lean_object* v___x_23322_, lean_object* v___x_23323_, lean_object* v___x_23324_, lean_object* v_a_23325_, lean_object* v___x_23326_, lean_object* v___x_23327_, lean_object* v___x_23328_, lean_object* v___x_23329_, lean_object* v_____r_23330_, lean_object* v___y_23331_, lean_object* v___y_23332_){ -_start: +lean_object* v_ref_23321_; lean_object* v___x_23323_; +v_ref_23321_ = l_Lean_replaceRef(v_ref_23301_, v_a_23307_); +lean_dec(v_a_23307_); +if (v_isShared_23320_ == 0) { -lean_object* v_defs_23335_; uint8_t v_reusedAllHeaders_23336_; lean_object* v_view_23337_; lean_object* v___y_23346_; lean_object* v___y_23347_; lean_object* v___y_23348_; lean_object* v___y_23349_; lean_object* v___y_23363_; lean_object* v___y_23364_; lean_object* v___y_23365_; lean_object* v___y_23366_; lean_object* v___y_23367_; lean_object* v___y_23368_; lean_object* v___y_23369_; lean_object* v___y_23370_; lean_object* v___y_23371_; lean_object* v_old_x3f_23372_; uint8_t v___y_23373_; lean_object* v___y_23374_; lean_object* v___y_23375_; lean_object* v___y_23376_; lean_object* v_view_23385_; lean_object* v___y_23386_; lean_object* v___x_23442_; lean_object* v_env_23443_; uint8_t v_visibility_23444_; lean_object* v___x_23445_; lean_object* v___x_23446_; uint8_t v___x_23447_; lean_object* v___x_23448_; -v___x_23442_ = lean_st_ref_get(v___y_23332_); -v_env_23443_ = lean_ctor_get(v___x_23442_, 0); -lean_inc_ref(v_env_23443_); -lean_dec(v___x_23442_); -v_visibility_23444_ = lean_ctor_get_uint8(v_a_23311_, sizeof(void*)*3); -v___x_23445_ = l_Lean_Syntax_getArg(v___x_23312_, v___x_23313_); -v___x_23446_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDefView___boxed), 5, 2); -lean_closure_set(v___x_23446_, 0, v_a_23311_); -lean_closure_set(v___x_23446_, 1, v___x_23445_); -v___x_23447_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_23443_, v_visibility_23444_); -lean_dec_ref(v_env_23443_); -lean_inc_ref(v___y_23331_); -v___x_23448_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v___x_23446_, v___x_23447_, v___y_23331_, v___y_23332_); -if (lean_obj_tag(v___x_23448_) == 0) -{ -lean_object* v_a_23449_; uint8_t v___y_23453_; uint8_t v_kind_23454_; lean_object* v_value_23455_; uint8_t v___x_23456_; uint8_t v___x_23457_; -v_a_23449_ = lean_ctor_get(v___x_23448_, 0); -lean_inc(v_a_23449_); -lean_dec_ref(v___x_23448_); -v_kind_23454_ = lean_ctor_get_uint8(v_a_23449_, sizeof(void*)*10); -v_value_23455_ = lean_ctor_get(v_a_23449_, 6); -v___x_23456_ = 3; -v___x_23457_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_23454_, v___x_23456_); -if (v___x_23457_ == 0) -{ -lean_object* v___x_23458_; lean_object* v___x_23459_; uint8_t v___x_23460_; -v___x_23458_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2)); -lean_inc_ref(v___x_23328_); -lean_inc_ref(v___x_23327_); -v___x_23459_ = l_Lean_Name_mkStr4(v___x_23327_, v___x_23328_, v___x_23329_, v___x_23458_); -lean_inc(v_value_23455_); -v___x_23460_ = l_Lean_Syntax_isOfKind(v_value_23455_, v___x_23459_); -lean_dec(v___x_23459_); -if (v___x_23460_ == 0) -{ -lean_dec_ref(v___x_23328_); -lean_dec_ref(v___x_23327_); -v___y_23453_ = v___x_23460_; -goto v___jp_23452_; +lean_ctor_set(v___x_23319_, 7, v_ref_23321_); +v___x_23323_ = v___x_23319_; +goto v_reusejp_23322_; } else { -lean_object* v___x_23461_; lean_object* v___x_23462_; uint8_t v___x_23463_; -v___x_23461_ = l_Lean_Syntax_getArg(v_value_23455_, v___x_23313_); -v___x_23462_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___closed__2)); -v___x_23463_ = l_Lean_Syntax_matchesIdent(v___x_23461_, v___x_23462_); -lean_dec(v___x_23461_); -if (v___x_23463_ == 0) +lean_object* v_reuseFailAlloc_23325_; +v_reuseFailAlloc_23325_ = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(v_reuseFailAlloc_23325_, 0, v_fileName_23308_); +lean_ctor_set(v_reuseFailAlloc_23325_, 1, v_fileMap_23309_); +lean_ctor_set(v_reuseFailAlloc_23325_, 2, v_currRecDepth_23310_); +lean_ctor_set(v_reuseFailAlloc_23325_, 3, v_cmdPos_23311_); +lean_ctor_set(v_reuseFailAlloc_23325_, 4, v_macroStack_23312_); +lean_ctor_set(v_reuseFailAlloc_23325_, 5, v_quotContext_x3f_23313_); +lean_ctor_set(v_reuseFailAlloc_23325_, 6, v_currMacroScope_23314_); +lean_ctor_set(v_reuseFailAlloc_23325_, 7, v_ref_23321_); +lean_ctor_set(v_reuseFailAlloc_23325_, 8, v_snap_x3f_23315_); +lean_ctor_set(v_reuseFailAlloc_23325_, 9, v_cancelTk_x3f_23316_); +lean_ctor_set_uint8(v_reuseFailAlloc_23325_, sizeof(void*)*10, v_suppressElabErrors_23317_); +v___x_23323_ = v_reuseFailAlloc_23325_; +goto v_reusejp_23322_; +} +v_reusejp_23322_: { -lean_dec_ref(v___x_23328_); -lean_dec_ref(v___x_23327_); -v___y_23453_ = v___x_23463_; -goto v___jp_23452_; +lean_object* v___x_23324_; +v___x_23324_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_23302_, v___x_23323_, v___y_23304_); +return v___x_23324_; +} +} } else { -lean_object* v___x_23464_; lean_object* v___x_23465_; lean_object* v___x_23466_; lean_object* v___x_23467_; lean_object* v___x_23468_; uint8_t v___x_23469_; -v___x_23464_ = lean_unsigned_to_nat(2u); -v___x_23465_ = l_Lean_Syntax_getArg(v_value_23455_, v___x_23464_); -v___x_23466_ = ((lean_object*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint_spec__0___closed__0)); -v___x_23467_ = ((lean_object*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint_spec__0___closed__1)); -v___x_23468_ = l_Lean_Name_mkStr4(v___x_23327_, v___x_23328_, v___x_23466_, v___x_23467_); -lean_inc(v___x_23465_); -v___x_23469_ = l_Lean_Syntax_isOfKind(v___x_23465_, v___x_23468_); -lean_dec(v___x_23468_); +lean_object* v_a_23328_; lean_object* v___x_23330_; uint8_t v_isShared_23331_; uint8_t v_isSharedCheck_23335_; +lean_dec_ref(v___y_23303_); +lean_dec_ref(v_msg_23302_); +v_a_23328_ = lean_ctor_get(v___x_23306_, 0); +v_isSharedCheck_23335_ = !lean_is_exclusive(v___x_23306_); +if (v_isSharedCheck_23335_ == 0) +{ +v___x_23330_ = v___x_23306_; +v_isShared_23331_ = v_isSharedCheck_23335_; +goto v_resetjp_23329_; +} +else +{ +lean_inc(v_a_23328_); +lean_dec(v___x_23306_); +v___x_23330_ = lean_box(0); +v_isShared_23331_ = v_isSharedCheck_23335_; +goto v_resetjp_23329_; +} +v_resetjp_23329_: +{ +lean_object* v___x_23333_; +if (v_isShared_23331_ == 0) +{ +v___x_23333_ = v___x_23330_; +goto v_reusejp_23332_; +} +else +{ +lean_object* v_reuseFailAlloc_23334_; +v_reuseFailAlloc_23334_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23334_, 0, v_a_23328_); +v___x_23333_ = v_reuseFailAlloc_23334_; +goto v_reusejp_23332_; +} +v_reusejp_23332_: +{ +return v___x_23333_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg___boxed(lean_object* v_ref_23336_, lean_object* v_msg_23337_, lean_object* v___y_23338_, lean_object* v___y_23339_, lean_object* v___y_23340_){ +_start: +{ +lean_object* v_res_23341_; +v_res_23341_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_ref_23336_, v_msg_23337_, v___y_23338_, v___y_23339_); +lean_dec(v___y_23339_); +lean_dec(v_ref_23336_); +return v_res_23341_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0(lean_object* v_x_23342_){ +_start: +{ +if (lean_obj_tag(v_x_23342_) == 0) +{ +lean_object* v___x_23343_; +v___x_23343_ = lean_box(0); +return v___x_23343_; +} +else +{ +lean_object* v_val_23344_; +v_val_23344_ = lean_ctor_get(v_x_23342_, 0); +lean_inc(v_val_23344_); +return v_val_23344_; +} +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0___boxed(lean_object* v_x_23345_){ +_start: +{ +lean_object* v_res_23346_; +v_res_23346_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__0(v_x_23345_); +lean_dec(v_x_23345_); +return v_res_23346_; +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(lean_object* v_a_23351_, lean_object* v___x_23352_, lean_object* v___x_23353_, lean_object* v_fst_23354_, lean_object* v___x_23355_, lean_object* v___x_23356_, lean_object* v___f_23357_, lean_object* v___x_23358_, uint8_t v___x_23359_, lean_object* v_fst_23360_, lean_object* v_fst_23361_, lean_object* v___x_23362_, lean_object* v___x_23363_, lean_object* v___x_23364_, lean_object* v_a_23365_, lean_object* v___x_23366_, lean_object* v___x_23367_, lean_object* v___x_23368_, lean_object* v___x_23369_, lean_object* v_____r_23370_, lean_object* v___y_23371_, lean_object* v___y_23372_){ +_start: +{ +lean_object* v_defs_23375_; uint8_t v_reusedAllHeaders_23376_; lean_object* v_view_23377_; lean_object* v___y_23386_; lean_object* v___y_23387_; lean_object* v___y_23388_; lean_object* v___y_23389_; lean_object* v___y_23403_; lean_object* v___y_23404_; lean_object* v_old_x3f_23405_; lean_object* v___y_23406_; lean_object* v___y_23407_; lean_object* v___y_23408_; lean_object* v___y_23409_; lean_object* v___y_23410_; uint8_t v___y_23411_; lean_object* v___y_23412_; lean_object* v___y_23413_; lean_object* v___y_23414_; lean_object* v___y_23415_; lean_object* v___y_23416_; lean_object* v_view_23425_; lean_object* v___y_23426_; lean_object* v___x_23482_; lean_object* v_env_23483_; uint8_t v_visibility_23484_; lean_object* v___x_23485_; lean_object* v___x_23486_; uint8_t v___x_23487_; lean_object* v___x_23488_; +v___x_23482_ = lean_st_ref_get(v___y_23372_); +v_env_23483_ = lean_ctor_get(v___x_23482_, 0); +lean_inc_ref(v_env_23483_); +lean_dec(v___x_23482_); +v_visibility_23484_ = lean_ctor_get_uint8(v_a_23351_, sizeof(void*)*3); +v___x_23485_ = l_Lean_Syntax_getArg(v___x_23352_, v___x_23353_); +v___x_23486_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_mkDefView___boxed), 5, 2); +lean_closure_set(v___x_23486_, 0, v_a_23351_); +lean_closure_set(v___x_23486_, 1, v___x_23485_); +v___x_23487_ = l_Lean_Elab_Visibility_isInferredPublic(v_env_23483_, v_visibility_23484_); +lean_dec_ref(v_env_23483_); +lean_inc_ref(v___y_23371_); +v___x_23488_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v___x_23486_, v___x_23487_, v___y_23371_, v___y_23372_); +if (lean_obj_tag(v___x_23488_) == 0) +{ +lean_object* v_a_23489_; uint8_t v___y_23493_; uint8_t v_kind_23494_; lean_object* v_value_23495_; uint8_t v___x_23496_; uint8_t v___x_23497_; +v_a_23489_ = lean_ctor_get(v___x_23488_, 0); +lean_inc(v_a_23489_); +lean_dec_ref(v___x_23488_); +v_kind_23494_ = lean_ctor_get_uint8(v_a_23489_, sizeof(void*)*10); +v_value_23495_ = lean_ctor_get(v_a_23489_, 6); +v___x_23496_ = 3; +v___x_23497_ = l_Lean_Elab_instBEqDefKind_beq(v_kind_23494_, v___x_23496_); +if (v___x_23497_ == 0) +{ +lean_object* v___x_23498_; lean_object* v___x_23499_; uint8_t v___x_23500_; +v___x_23498_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__2)); +lean_inc_ref(v___x_23368_); +lean_inc_ref(v___x_23367_); +v___x_23499_ = l_Lean_Name_mkStr4(v___x_23367_, v___x_23368_, v___x_23369_, v___x_23498_); +lean_inc(v_value_23495_); +v___x_23500_ = l_Lean_Syntax_isOfKind(v_value_23495_, v___x_23499_); +lean_dec(v___x_23499_); +if (v___x_23500_ == 0) +{ +lean_dec_ref(v___x_23368_); +lean_dec_ref(v___x_23367_); +v___y_23493_ = v___x_23500_; +goto v___jp_23492_; +} +else +{ +lean_object* v___x_23501_; lean_object* v___x_23502_; uint8_t v___x_23503_; +v___x_23501_ = l_Lean_Syntax_getArg(v_value_23495_, v___x_23353_); +v___x_23502_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___closed__2)); +v___x_23503_ = l_Lean_Syntax_matchesIdent(v___x_23501_, v___x_23502_); +lean_dec(v___x_23501_); +if (v___x_23503_ == 0) +{ +lean_dec_ref(v___x_23368_); +lean_dec_ref(v___x_23367_); +v___y_23493_ = v___x_23503_; +goto v___jp_23492_; +} +else +{ +lean_object* v___x_23504_; lean_object* v___x_23505_; lean_object* v___x_23506_; lean_object* v___x_23507_; lean_object* v___x_23508_; uint8_t v___x_23509_; +v___x_23504_ = lean_unsigned_to_nat(2u); +v___x_23505_ = l_Lean_Syntax_getArg(v_value_23495_, v___x_23504_); +v___x_23506_ = ((lean_object*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint_spec__0___closed__0)); +v___x_23507_ = ((lean_object*)(l_Lean_Elab_elabTerminationHints___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerminationHint_spec__0___closed__1)); +v___x_23508_ = l_Lean_Name_mkStr4(v___x_23367_, v___x_23368_, v___x_23506_, v___x_23507_); +lean_inc(v___x_23505_); +v___x_23509_ = l_Lean_Syntax_isOfKind(v___x_23505_, v___x_23508_); +lean_dec(v___x_23508_); +if (v___x_23509_ == 0) +{ +lean_dec(v___x_23505_); +v___y_23493_ = v___x_23509_; +goto v___jp_23492_; +} +else +{ +lean_object* v___x_23510_; uint8_t v___x_23511_; +v___x_23510_ = l_Lean_Syntax_getArg(v___x_23505_, v___x_23358_); +v___x_23511_ = l_Lean_Syntax_matchesNull(v___x_23510_, v___x_23358_); +if (v___x_23511_ == 0) +{ +lean_dec(v___x_23505_); +v___y_23493_ = v___x_23511_; +goto v___jp_23492_; +} +else +{ +lean_object* v___x_23512_; uint8_t v___x_23513_; +v___x_23512_ = l_Lean_Syntax_getArg(v___x_23505_, v___x_23353_); +lean_dec(v___x_23505_); +v___x_23513_ = l_Lean_Syntax_matchesNull(v___x_23512_, v___x_23358_); +if (v___x_23513_ == 0) +{ +v___y_23493_ = v___x_23513_; +goto v___jp_23492_; +} +else +{ +lean_object* v___x_23514_; lean_object* v___x_23515_; uint8_t v___x_23516_; +v___x_23514_ = lean_unsigned_to_nat(3u); +v___x_23515_ = l_Lean_Syntax_getArg(v_value_23495_, v___x_23514_); +v___x_23516_ = l_Lean_Syntax_matchesNull(v___x_23515_, v___x_23358_); +if (v___x_23516_ == 0) +{ +v___y_23493_ = v___x_23516_; +goto v___jp_23492_; +} +else +{ +goto v___jp_23490_; +} +} +} +} +} +} +} +else +{ +lean_dec_ref(v___x_23369_); +lean_dec_ref(v___x_23368_); +lean_dec_ref(v___x_23367_); +v_view_23425_ = v_a_23489_; +v___y_23426_ = v___y_23371_; +goto v___jp_23424_; +} +v___jp_23490_: +{ +lean_object* v___x_23491_; +v___x_23491_ = l_Lean_Elab_DefView_markDefEq(v_a_23489_); +v_view_23425_ = v___x_23491_; +v___y_23426_ = v___y_23371_; +goto v___jp_23424_; +} +v___jp_23492_: +{ +if (v___y_23493_ == 0) +{ +v_view_23425_ = v_a_23489_; +v___y_23426_ = v___y_23371_; +goto v___jp_23424_; +} +else +{ +goto v___jp_23490_; +} +} +} +else +{ +lean_object* v_a_23517_; lean_object* v___x_23519_; uint8_t v_isShared_23520_; uint8_t v_isSharedCheck_23524_; +lean_dec_ref(v___y_23371_); +lean_dec_ref(v___x_23369_); +lean_dec_ref(v___x_23368_); +lean_dec_ref(v___x_23367_); +lean_dec(v___x_23363_); +lean_dec(v___x_23362_); +lean_dec(v_fst_23360_); +lean_dec(v___x_23358_); +lean_dec_ref(v___f_23357_); +lean_dec(v___x_23356_); +lean_dec_ref(v___x_23355_); +lean_dec(v_fst_23354_); +lean_dec(v___x_23352_); +v_a_23517_ = lean_ctor_get(v___x_23488_, 0); +v_isSharedCheck_23524_ = !lean_is_exclusive(v___x_23488_); +if (v_isSharedCheck_23524_ == 0) +{ +v___x_23519_ = v___x_23488_; +v_isShared_23520_ = v_isSharedCheck_23524_; +goto v_resetjp_23518_; +} +else +{ +lean_inc(v_a_23517_); +lean_dec(v___x_23488_); +v___x_23519_ = lean_box(0); +v_isShared_23520_ = v_isSharedCheck_23524_; +goto v_resetjp_23518_; +} +v_resetjp_23518_: +{ +lean_object* v___x_23522_; +if (v_isShared_23520_ == 0) +{ +v___x_23522_ = v___x_23519_; +goto v_reusejp_23521_; +} +else +{ +lean_object* v_reuseFailAlloc_23523_; +v_reuseFailAlloc_23523_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23523_, 0, v_a_23517_); +v___x_23522_ = v_reuseFailAlloc_23523_; +goto v_reusejp_23521_; +} +v_reusejp_23521_: +{ +return v___x_23522_; +} +} +} +v___jp_23374_: +{ +lean_object* v___x_23378_; lean_object* v___x_23379_; lean_object* v___x_23380_; lean_object* v___x_23381_; lean_object* v___x_23382_; lean_object* v___x_23383_; lean_object* v___x_23384_; +v___x_23378_ = lean_array_push(v_fst_23354_, v_view_23377_); +v___x_23379_ = lean_box(v_reusedAllHeaders_23376_); +v___x_23380_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23380_, 0, v___x_23379_); +lean_ctor_set(v___x_23380_, 1, v___x_23355_); +v___x_23381_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23381_, 0, v_defs_23375_); +lean_ctor_set(v___x_23381_, 1, v___x_23380_); +v___x_23382_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23382_, 0, v___x_23378_); +lean_ctor_set(v___x_23382_, 1, v___x_23381_); +v___x_23383_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_23383_, 0, v___x_23382_); +v___x_23384_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23384_, 0, v___x_23383_); +return v___x_23384_; +} +v___jp_23385_: +{ +lean_object* v_cancelTk_x3f_23390_; lean_object* v___x_23391_; lean_object* v___x_23392_; lean_object* v___x_23393_; lean_object* v___x_23394_; lean_object* v___x_23395_; lean_object* v___x_23396_; lean_object* v___x_23397_; uint8_t v___x_23398_; +v_cancelTk_x3f_23390_ = lean_ctor_get(v___y_23389_, 9); +lean_inc(v_cancelTk_x3f_23390_); +lean_dec_ref(v___y_23389_); +v___x_23391_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_23391_, 0, v___x_23352_); +v___x_23392_ = l_Lean_Language_SnapshotTask_defaultReportingRange(v___x_23391_); +v___x_23393_ = lean_io_promise_result_opt(v___x_23356_); +lean_dec(v___x_23356_); +v___x_23394_ = lean_task_map(v___f_23357_, v___x_23393_, v___x_23358_, v___x_23359_); +v___x_23395_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_23395_, 0, v___x_23391_); +lean_ctor_set(v___x_23395_, 1, v___x_23392_); +lean_ctor_set(v___x_23395_, 2, v_cancelTk_x3f_23390_); +lean_ctor_set(v___x_23395_, 3, v___x_23394_); +v___x_23396_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23396_, 0, v___y_23388_); +lean_ctor_set(v___x_23396_, 1, v___x_23395_); +v___x_23397_ = lean_array_push(v_fst_23360_, v___x_23396_); +v___x_23398_ = lean_unbox(v_fst_23361_); +if (v___x_23398_ == 0) +{ +uint8_t v___x_23399_; +lean_dec(v___y_23386_); +v___x_23399_ = lean_unbox(v_fst_23361_); +v_defs_23375_ = v___x_23397_; +v_reusedAllHeaders_23376_ = v___x_23399_; +v_view_23377_ = v___y_23387_; +goto v___jp_23374_; +} +else +{ +if (lean_obj_tag(v___y_23386_) == 0) +{ +uint8_t v___x_23400_; +v___x_23400_ = 0; +v_defs_23375_ = v___x_23397_; +v_reusedAllHeaders_23376_ = v___x_23400_; +v_view_23377_ = v___y_23387_; +goto v___jp_23374_; +} +else +{ +uint8_t v___x_23401_; +lean_dec_ref(v___y_23386_); +v___x_23401_ = lean_unbox(v_fst_23361_); +v_defs_23375_ = v___x_23397_; +v_reusedAllHeaders_23376_ = v___x_23401_; +v_view_23377_ = v___y_23387_; +goto v___jp_23374_; +} +} +} +v___jp_23402_: +{ +lean_object* v___x_23417_; lean_object* v___x_23418_; lean_object* v___x_23419_; +lean_inc(v___x_23356_); +lean_inc(v___y_23416_); +v___x_23417_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23417_, 0, v___y_23416_); +lean_ctor_set(v___x_23417_, 1, v___x_23356_); +v___x_23418_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_23418_, 0, v___x_23417_); +v___x_23419_ = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(v___x_23419_, 0, v___y_23403_); +lean_ctor_set(v___x_23419_, 1, v___y_23406_); +lean_ctor_set(v___x_23419_, 2, v___y_23409_); +lean_ctor_set(v___x_23419_, 3, v___y_23410_); +lean_ctor_set(v___x_23419_, 4, v___y_23404_); +lean_ctor_set(v___x_23419_, 5, v___y_23407_); +lean_ctor_set(v___x_23419_, 6, v___y_23412_); +lean_ctor_set(v___x_23419_, 7, v___y_23413_); +lean_ctor_set(v___x_23419_, 8, v___x_23418_); +lean_ctor_set(v___x_23419_, 9, v___y_23408_); +lean_ctor_set_uint8(v___x_23419_, sizeof(void*)*10, v___y_23411_); +if (lean_obj_tag(v_old_x3f_23405_) == 0) +{ +v___y_23386_ = v___y_23416_; +v___y_23387_ = v___x_23419_; +v___y_23388_ = v___y_23415_; +v___y_23389_ = v___y_23414_; +goto v___jp_23385_; +} +else +{ +if (lean_obj_tag(v___y_23416_) == 0) +{ +lean_object* v_val_23420_; lean_object* v_val_23421_; lean_object* v___f_23422_; lean_object* v___x_23423_; +v_val_23420_ = lean_ctor_get(v_old_x3f_23405_, 0); +lean_inc(v_val_23420_); +lean_dec_ref(v_old_x3f_23405_); +v_val_23421_ = lean_ctor_get(v_val_23420_, 1); +lean_inc(v_val_23421_); +lean_dec(v_val_23420_); +v___f_23422_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___closed__0)); +v___x_23423_ = l_Lean_Language_SnapshotTask_cancelRec___redArg(v___f_23422_, v_val_23421_); +v___y_23386_ = v___y_23416_; +v___y_23387_ = v___x_23419_; +v___y_23388_ = v___y_23415_; +v___y_23389_ = v___y_23414_; +goto v___jp_23385_; +} +else +{ +lean_dec_ref(v_old_x3f_23405_); +v___y_23386_ = v___y_23416_; +v___y_23387_ = v___x_23419_; +v___y_23388_ = v___y_23415_; +v___y_23389_ = v___y_23414_; +goto v___jp_23385_; +} +} +} +v___jp_23424_: +{ +if (lean_obj_tag(v___x_23362_) == 1) +{ +lean_object* v_val_23427_; uint8_t v_kind_23428_; lean_object* v_ref_23429_; lean_object* v_headerRef_23430_; lean_object* v_modifiers_23431_; lean_object* v_declId_23432_; lean_object* v_binders_23433_; lean_object* v_type_x3f_23434_; lean_object* v_value_23435_; lean_object* v_docString_x3f_23436_; lean_object* v_deriving_x3f_23437_; lean_object* v___x_23438_; lean_object* v___x_23439_; lean_object* v___x_23440_; lean_object* v___x_23441_; lean_object* v___x_23442_; lean_object* v___x_23443_; lean_object* v___x_23444_; uint8_t v___x_23445_; +v_val_23427_ = lean_ctor_get(v___x_23362_, 0); +lean_inc(v_val_23427_); +lean_dec_ref(v___x_23362_); +v_kind_23428_ = lean_ctor_get_uint8(v_view_23425_, sizeof(void*)*10); +v_ref_23429_ = lean_ctor_get(v_view_23425_, 0); +lean_inc(v_ref_23429_); +v_headerRef_23430_ = lean_ctor_get(v_view_23425_, 1); +lean_inc(v_headerRef_23430_); +v_modifiers_23431_ = lean_ctor_get(v_view_23425_, 2); +lean_inc_ref(v_modifiers_23431_); +v_declId_23432_ = lean_ctor_get(v_view_23425_, 3); +lean_inc(v_declId_23432_); +v_binders_23433_ = lean_ctor_get(v_view_23425_, 4); +lean_inc(v_binders_23433_); +v_type_x3f_23434_ = lean_ctor_get(v_view_23425_, 5); +lean_inc(v_type_x3f_23434_); +v_value_23435_ = lean_ctor_get(v_view_23425_, 6); +lean_inc(v_value_23435_); +v_docString_x3f_23436_ = lean_ctor_get(v_view_23425_, 7); +lean_inc(v_docString_x3f_23436_); +v_deriving_x3f_23437_ = lean_ctor_get(v_view_23425_, 9); +lean_inc(v_deriving_x3f_23437_); +lean_dec_ref(v_view_23425_); +v___x_23438_ = lean_unsigned_to_nat(2u); +v___x_23439_ = lean_mk_empty_array_with_capacity(v___x_23438_); +v___x_23440_ = lean_array_push(v___x_23439_, v___x_23363_); +lean_inc(v_headerRef_23430_); +v___x_23441_ = lean_array_push(v___x_23440_, v_headerRef_23430_); +v___x_23442_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__11)); +v___x_23443_ = lean_box(2); +v___x_23444_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_23444_, 0, v___x_23443_); +lean_ctor_set(v___x_23444_, 1, v___x_23442_); +lean_ctor_set(v___x_23444_, 2, v___x_23441_); +v___x_23445_ = lean_unbox(v_fst_23361_); +if (v___x_23445_ == 0) +{ +lean_object* v_old_x3f_23446_; lean_object* v___x_23447_; +v_old_x3f_23446_ = lean_ctor_get(v_val_23427_, 0); +lean_inc(v_old_x3f_23446_); +lean_dec(v_val_23427_); +v___x_23447_ = lean_box(0); +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23446_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23447_; +goto v___jp_23402_; +} +else +{ +lean_object* v_old_x3f_23448_; +v_old_x3f_23448_ = lean_ctor_get(v_val_23427_, 0); +lean_inc(v_old_x3f_23448_); +lean_dec(v_val_23427_); +if (lean_obj_tag(v_old_x3f_23448_) == 0) +{ +lean_object* v___x_23449_; +v___x_23449_ = lean_box(0); +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23448_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23449_; +goto v___jp_23402_; +} +else +{ +lean_object* v_val_23450_; lean_object* v_val_23451_; lean_object* v___x_23453_; uint8_t v_isShared_23454_; uint8_t v_isSharedCheck_23479_; +v_val_23450_ = lean_ctor_get(v_old_x3f_23448_, 0); +lean_inc(v_val_23450_); +v_val_23451_ = lean_ctor_get(v_val_23450_, 1); +v_isSharedCheck_23479_ = !lean_is_exclusive(v_val_23450_); +if (v_isSharedCheck_23479_ == 0) +{ +lean_object* v_unused_23480_; +v_unused_23480_ = lean_ctor_get(v_val_23450_, 0); +lean_dec(v_unused_23480_); +v___x_23453_ = v_val_23450_; +v_isShared_23454_ = v_isSharedCheck_23479_; +goto v_resetjp_23452_; +} +else +{ +lean_inc(v_val_23451_); +lean_dec(v_val_23450_); +v___x_23453_ = lean_box(0); +v_isShared_23454_ = v_isSharedCheck_23479_; +goto v_resetjp_23452_; +} +v_resetjp_23452_: +{ +lean_object* v___x_23455_; lean_object* v___x_23456_; +v___x_23455_ = l_Lean_Language_SnapshotTask_get___redArg(v_val_23451_); +v___x_23456_ = l_Lean_Language_DynamicSnapshot_toTyped_x3f___redArg(v___x_23364_, v___x_23455_); +lean_dec(v___x_23455_); +if (lean_obj_tag(v___x_23456_) == 0) +{ +lean_object* v___x_23457_; +lean_del_object(v___x_23453_); +v___x_23457_ = lean_box(0); +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23448_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23457_; +goto v___jp_23402_; +} +else +{ +lean_object* v_val_23458_; lean_object* v___x_23460_; uint8_t v_isShared_23461_; uint8_t v_isSharedCheck_23478_; +v_val_23458_ = lean_ctor_get(v___x_23456_, 0); +v_isSharedCheck_23478_ = !lean_is_exclusive(v___x_23456_); +if (v_isSharedCheck_23478_ == 0) +{ +v___x_23460_ = v___x_23456_; +v_isShared_23461_ = v_isSharedCheck_23478_; +goto v_resetjp_23459_; +} +else +{ +lean_inc(v_val_23458_); +lean_dec(v___x_23456_); +v___x_23460_ = lean_box(0); +v_isShared_23461_ = v_isSharedCheck_23478_; +goto v_resetjp_23459_; +} +v_resetjp_23459_: +{ +lean_object* v_defs_23462_; lean_object* v___x_23463_; uint8_t v___x_23464_; +v_defs_23462_ = lean_ctor_get(v_val_23458_, 1); +lean_inc_ref(v_defs_23462_); +lean_dec(v_val_23458_); +v___x_23463_ = lean_array_get_size(v_defs_23462_); +v___x_23464_ = lean_nat_dec_lt(v_a_23365_, v___x_23463_); +if (v___x_23464_ == 0) +{ +lean_object* v___x_23465_; +lean_dec_ref(v_defs_23462_); +lean_del_object(v___x_23460_); +lean_del_object(v___x_23453_); +v___x_23465_ = lean_box(0); +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23448_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23465_; +goto v___jp_23402_; +} +else +{ +lean_object* v___x_23466_; lean_object* v_fullHeaderRef_23467_; lean_object* v_headerProcessedSnap_23468_; uint8_t v___x_23469_; +v___x_23466_ = lean_array_fget(v_defs_23462_, v_a_23365_); +lean_dec_ref(v_defs_23462_); +v_fullHeaderRef_23467_ = lean_ctor_get(v___x_23466_, 0); +lean_inc(v_fullHeaderRef_23467_); +v_headerProcessedSnap_23468_ = lean_ctor_get(v___x_23466_, 1); +lean_inc_ref(v_headerProcessedSnap_23468_); +lean_dec(v___x_23466_); +lean_inc_ref(v___x_23444_); +v___x_23469_ = l_Lean_Syntax_eqWithInfoAndTraceReuse(v___x_23366_, v___x_23444_, v_fullHeaderRef_23467_); if (v___x_23469_ == 0) { -lean_dec(v___x_23465_); -v___y_23453_ = v___x_23469_; -goto v___jp_23452_; +lean_object* v___x_23470_; +lean_dec_ref(v_headerProcessedSnap_23468_); +lean_del_object(v___x_23460_); +lean_del_object(v___x_23453_); +v___x_23470_ = lean_box(0); +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23448_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23470_; +goto v___jp_23402_; } else { -lean_object* v___x_23470_; uint8_t v___x_23471_; -v___x_23470_ = l_Lean_Syntax_getArg(v___x_23465_, v___x_23318_); -v___x_23471_ = l_Lean_Syntax_matchesNull(v___x_23470_, v___x_23318_); -if (v___x_23471_ == 0) +lean_object* v___x_23471_; lean_object* v___x_23473_; +v___x_23471_ = lean_box(0); +if (v_isShared_23454_ == 0) { -lean_dec(v___x_23465_); -v___y_23453_ = v___x_23471_; -goto v___jp_23452_; +lean_ctor_set(v___x_23453_, 1, v_headerProcessedSnap_23468_); +lean_ctor_set(v___x_23453_, 0, v___x_23471_); +v___x_23473_ = v___x_23453_; +goto v_reusejp_23472_; } else { -lean_object* v___x_23472_; uint8_t v___x_23473_; -v___x_23472_ = l_Lean_Syntax_getArg(v___x_23465_, v___x_23313_); -lean_dec(v___x_23465_); -v___x_23473_ = l_Lean_Syntax_matchesNull(v___x_23472_, v___x_23318_); -if (v___x_23473_ == 0) +lean_object* v_reuseFailAlloc_23477_; +v_reuseFailAlloc_23477_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_23477_, 0, v___x_23471_); +lean_ctor_set(v_reuseFailAlloc_23477_, 1, v_headerProcessedSnap_23468_); +v___x_23473_ = v_reuseFailAlloc_23477_; +goto v_reusejp_23472_; +} +v_reusejp_23472_: { -v___y_23453_ = v___x_23473_; -goto v___jp_23452_; +lean_object* v___x_23475_; +if (v_isShared_23461_ == 0) +{ +lean_ctor_set(v___x_23460_, 0, v___x_23473_); +v___x_23475_ = v___x_23460_; +goto v_reusejp_23474_; } else { -lean_object* v___x_23474_; lean_object* v___x_23475_; uint8_t v___x_23476_; -v___x_23474_ = lean_unsigned_to_nat(3u); -v___x_23475_ = l_Lean_Syntax_getArg(v_value_23455_, v___x_23474_); -v___x_23476_ = l_Lean_Syntax_matchesNull(v___x_23475_, v___x_23318_); -if (v___x_23476_ == 0) -{ -v___y_23453_ = v___x_23476_; -goto v___jp_23452_; +lean_object* v_reuseFailAlloc_23476_; +v_reuseFailAlloc_23476_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23476_, 0, v___x_23473_); +v___x_23475_ = v_reuseFailAlloc_23476_; +goto v_reusejp_23474_; } -else +v_reusejp_23474_: { -goto v___jp_23450_; -} -} -} -} -} -} -} -else -{ -lean_dec_ref(v___x_23329_); -lean_dec_ref(v___x_23328_); -lean_dec_ref(v___x_23327_); -v_view_23385_ = v_a_23449_; -v___y_23386_ = v___y_23331_; -goto v___jp_23384_; -} -v___jp_23450_: -{ -lean_object* v___x_23451_; -v___x_23451_ = l_Lean_Elab_DefView_markDefEq(v_a_23449_); -v_view_23385_ = v___x_23451_; -v___y_23386_ = v___y_23331_; -goto v___jp_23384_; -} -v___jp_23452_: -{ -if (v___y_23453_ == 0) -{ -v_view_23385_ = v_a_23449_; -v___y_23386_ = v___y_23331_; -goto v___jp_23384_; -} -else -{ -goto v___jp_23450_; -} -} -} -else -{ -lean_object* v_a_23477_; lean_object* v___x_23479_; uint8_t v_isShared_23480_; uint8_t v_isSharedCheck_23484_; -lean_dec_ref(v___y_23331_); -lean_dec_ref(v___x_23329_); -lean_dec_ref(v___x_23328_); -lean_dec_ref(v___x_23327_); -lean_dec(v___x_23323_); -lean_dec(v___x_23322_); -lean_dec(v_fst_23320_); -lean_dec(v___x_23318_); -lean_dec_ref(v___f_23317_); -lean_dec(v___x_23316_); -lean_dec_ref(v___x_23315_); -lean_dec(v_fst_23314_); -lean_dec(v___x_23312_); -v_a_23477_ = lean_ctor_get(v___x_23448_, 0); -v_isSharedCheck_23484_ = !lean_is_exclusive(v___x_23448_); -if (v_isSharedCheck_23484_ == 0) -{ -v___x_23479_ = v___x_23448_; -v_isShared_23480_ = v_isSharedCheck_23484_; -goto v_resetjp_23478_; -} -else -{ -lean_inc(v_a_23477_); -lean_dec(v___x_23448_); -v___x_23479_ = lean_box(0); -v_isShared_23480_ = v_isSharedCheck_23484_; -goto v_resetjp_23478_; -} -v_resetjp_23478_: -{ -lean_object* v___x_23482_; -if (v_isShared_23480_ == 0) -{ -v___x_23482_ = v___x_23479_; -goto v_reusejp_23481_; -} -else -{ -lean_object* v_reuseFailAlloc_23483_; -v_reuseFailAlloc_23483_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23483_, 0, v_a_23477_); -v___x_23482_ = v_reuseFailAlloc_23483_; -goto v_reusejp_23481_; -} -v_reusejp_23481_: -{ -return v___x_23482_; -} -} -} -v___jp_23334_: -{ -lean_object* v___x_23338_; lean_object* v___x_23339_; lean_object* v___x_23340_; lean_object* v___x_23341_; lean_object* v___x_23342_; lean_object* v___x_23343_; lean_object* v___x_23344_; -v___x_23338_ = lean_array_push(v_fst_23314_, v_view_23337_); -v___x_23339_ = lean_box(v_reusedAllHeaders_23336_); -v___x_23340_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23340_, 0, v___x_23339_); -lean_ctor_set(v___x_23340_, 1, v___x_23315_); -v___x_23341_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23341_, 0, v_defs_23335_); -lean_ctor_set(v___x_23341_, 1, v___x_23340_); -v___x_23342_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23342_, 0, v___x_23338_); -lean_ctor_set(v___x_23342_, 1, v___x_23341_); -v___x_23343_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_23343_, 0, v___x_23342_); -v___x_23344_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23344_, 0, v___x_23343_); -return v___x_23344_; -} -v___jp_23345_: -{ -lean_object* v_cancelTk_x3f_23350_; lean_object* v___x_23351_; lean_object* v___x_23352_; lean_object* v___x_23353_; lean_object* v___x_23354_; lean_object* v___x_23355_; lean_object* v___x_23356_; lean_object* v___x_23357_; uint8_t v___x_23358_; -v_cancelTk_x3f_23350_ = lean_ctor_get(v___y_23349_, 9); -lean_inc(v_cancelTk_x3f_23350_); -lean_dec_ref(v___y_23349_); -v___x_23351_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_23351_, 0, v___x_23312_); -v___x_23352_ = l_Lean_Language_SnapshotTask_defaultReportingRange(v___x_23351_); -v___x_23353_ = lean_io_promise_result_opt(v___x_23316_); -lean_dec(v___x_23316_); -v___x_23354_ = lean_task_map(v___f_23317_, v___x_23353_, v___x_23318_, v___x_23319_); -v___x_23355_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_23355_, 0, v___x_23351_); -lean_ctor_set(v___x_23355_, 1, v___x_23352_); -lean_ctor_set(v___x_23355_, 2, v_cancelTk_x3f_23350_); -lean_ctor_set(v___x_23355_, 3, v___x_23354_); -v___x_23356_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23356_, 0, v___y_23346_); -lean_ctor_set(v___x_23356_, 1, v___x_23355_); -v___x_23357_ = lean_array_push(v_fst_23320_, v___x_23356_); -v___x_23358_ = lean_unbox(v_fst_23321_); -if (v___x_23358_ == 0) -{ -uint8_t v___x_23359_; -lean_dec(v___y_23347_); -v___x_23359_ = lean_unbox(v_fst_23321_); -v_defs_23335_ = v___x_23357_; -v_reusedAllHeaders_23336_ = v___x_23359_; -v_view_23337_ = v___y_23348_; -goto v___jp_23334_; -} -else -{ -if (lean_obj_tag(v___y_23347_) == 0) -{ -uint8_t v___x_23360_; -v___x_23360_ = 0; -v_defs_23335_ = v___x_23357_; -v_reusedAllHeaders_23336_ = v___x_23360_; -v_view_23337_ = v___y_23348_; -goto v___jp_23334_; -} -else -{ -uint8_t v___x_23361_; -lean_dec_ref(v___y_23347_); -v___x_23361_ = lean_unbox(v_fst_23321_); -v_defs_23335_ = v___x_23357_; -v_reusedAllHeaders_23336_ = v___x_23361_; -v_view_23337_ = v___y_23348_; -goto v___jp_23334_; -} -} -} -v___jp_23362_: -{ -lean_object* v___x_23377_; lean_object* v___x_23378_; lean_object* v___x_23379_; -lean_inc(v___x_23316_); -lean_inc(v___y_23376_); -v___x_23377_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23377_, 0, v___y_23376_); -lean_ctor_set(v___x_23377_, 1, v___x_23316_); -v___x_23378_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_23378_, 0, v___x_23377_); -v___x_23379_ = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(v___x_23379_, 0, v___y_23374_); -lean_ctor_set(v___x_23379_, 1, v___y_23366_); -lean_ctor_set(v___x_23379_, 2, v___y_23368_); -lean_ctor_set(v___x_23379_, 3, v___y_23364_); -lean_ctor_set(v___x_23379_, 4, v___y_23365_); -lean_ctor_set(v___x_23379_, 5, v___y_23367_); -lean_ctor_set(v___x_23379_, 6, v___y_23371_); -lean_ctor_set(v___x_23379_, 7, v___y_23370_); -lean_ctor_set(v___x_23379_, 8, v___x_23378_); -lean_ctor_set(v___x_23379_, 9, v___y_23369_); -lean_ctor_set_uint8(v___x_23379_, sizeof(void*)*10, v___y_23373_); -if (lean_obj_tag(v_old_x3f_23372_) == 0) -{ -v___y_23346_ = v___y_23363_; -v___y_23347_ = v___y_23376_; -v___y_23348_ = v___x_23379_; -v___y_23349_ = v___y_23375_; -goto v___jp_23345_; -} -else -{ -if (lean_obj_tag(v___y_23376_) == 0) -{ -lean_object* v_val_23380_; lean_object* v_val_23381_; lean_object* v___f_23382_; lean_object* v___x_23383_; -v_val_23380_ = lean_ctor_get(v_old_x3f_23372_, 0); -lean_inc(v_val_23380_); -lean_dec_ref(v_old_x3f_23372_); -v_val_23381_ = lean_ctor_get(v_val_23380_, 1); -lean_inc(v_val_23381_); -lean_dec(v_val_23380_); -v___f_23382_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___closed__0)); -v___x_23383_ = l_Lean_Language_SnapshotTask_cancelRec___redArg(v___f_23382_, v_val_23381_); -v___y_23346_ = v___y_23363_; -v___y_23347_ = v___y_23376_; -v___y_23348_ = v___x_23379_; -v___y_23349_ = v___y_23375_; -goto v___jp_23345_; -} -else -{ -lean_dec_ref(v_old_x3f_23372_); -v___y_23346_ = v___y_23363_; -v___y_23347_ = v___y_23376_; -v___y_23348_ = v___x_23379_; -v___y_23349_ = v___y_23375_; -goto v___jp_23345_; -} -} -} -v___jp_23384_: -{ -if (lean_obj_tag(v___x_23322_) == 1) -{ -lean_object* v_val_23387_; uint8_t v_kind_23388_; lean_object* v_ref_23389_; lean_object* v_headerRef_23390_; lean_object* v_modifiers_23391_; lean_object* v_declId_23392_; lean_object* v_binders_23393_; lean_object* v_type_x3f_23394_; lean_object* v_value_23395_; lean_object* v_docString_x3f_23396_; lean_object* v_deriving_x3f_23397_; lean_object* v___x_23398_; lean_object* v___x_23399_; lean_object* v___x_23400_; lean_object* v___x_23401_; lean_object* v___x_23402_; lean_object* v___x_23403_; lean_object* v___x_23404_; uint8_t v___x_23405_; -v_val_23387_ = lean_ctor_get(v___x_23322_, 0); -lean_inc(v_val_23387_); -lean_dec_ref(v___x_23322_); -v_kind_23388_ = lean_ctor_get_uint8(v_view_23385_, sizeof(void*)*10); -v_ref_23389_ = lean_ctor_get(v_view_23385_, 0); -lean_inc(v_ref_23389_); -v_headerRef_23390_ = lean_ctor_get(v_view_23385_, 1); -lean_inc(v_headerRef_23390_); -v_modifiers_23391_ = lean_ctor_get(v_view_23385_, 2); -lean_inc_ref(v_modifiers_23391_); -v_declId_23392_ = lean_ctor_get(v_view_23385_, 3); -lean_inc(v_declId_23392_); -v_binders_23393_ = lean_ctor_get(v_view_23385_, 4); -lean_inc(v_binders_23393_); -v_type_x3f_23394_ = lean_ctor_get(v_view_23385_, 5); -lean_inc(v_type_x3f_23394_); -v_value_23395_ = lean_ctor_get(v_view_23385_, 6); -lean_inc(v_value_23395_); -v_docString_x3f_23396_ = lean_ctor_get(v_view_23385_, 7); -lean_inc(v_docString_x3f_23396_); -v_deriving_x3f_23397_ = lean_ctor_get(v_view_23385_, 9); -lean_inc(v_deriving_x3f_23397_); -lean_dec_ref(v_view_23385_); -v___x_23398_ = lean_unsigned_to_nat(2u); -v___x_23399_ = lean_mk_empty_array_with_capacity(v___x_23398_); -v___x_23400_ = lean_array_push(v___x_23399_, v___x_23323_); -lean_inc(v_headerRef_23390_); -v___x_23401_ = lean_array_push(v___x_23400_, v_headerRef_23390_); -v___x_23402_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__11)); -v___x_23403_ = lean_box(2); -v___x_23404_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_23404_, 0, v___x_23403_); -lean_ctor_set(v___x_23404_, 1, v___x_23402_); -lean_ctor_set(v___x_23404_, 2, v___x_23401_); -v___x_23405_ = lean_unbox(v_fst_23321_); -if (v___x_23405_ == 0) -{ -lean_object* v_old_x3f_23406_; lean_object* v___x_23407_; -v_old_x3f_23406_ = lean_ctor_get(v_val_23387_, 0); -lean_inc(v_old_x3f_23406_); -lean_dec(v_val_23387_); -v___x_23407_ = lean_box(0); -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23406_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23407_; -goto v___jp_23362_; -} -else -{ -lean_object* v_old_x3f_23408_; -v_old_x3f_23408_ = lean_ctor_get(v_val_23387_, 0); -lean_inc(v_old_x3f_23408_); -lean_dec(v_val_23387_); -if (lean_obj_tag(v_old_x3f_23408_) == 0) -{ -lean_object* v___x_23409_; -v___x_23409_ = lean_box(0); -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23408_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23409_; -goto v___jp_23362_; -} -else -{ -lean_object* v_val_23410_; lean_object* v_val_23411_; lean_object* v___x_23413_; uint8_t v_isShared_23414_; uint8_t v_isSharedCheck_23439_; -v_val_23410_ = lean_ctor_get(v_old_x3f_23408_, 0); -lean_inc(v_val_23410_); -v_val_23411_ = lean_ctor_get(v_val_23410_, 1); -v_isSharedCheck_23439_ = !lean_is_exclusive(v_val_23410_); -if (v_isSharedCheck_23439_ == 0) -{ -lean_object* v_unused_23440_; -v_unused_23440_ = lean_ctor_get(v_val_23410_, 0); -lean_dec(v_unused_23440_); -v___x_23413_ = v_val_23410_; -v_isShared_23414_ = v_isSharedCheck_23439_; -goto v_resetjp_23412_; -} -else -{ -lean_inc(v_val_23411_); -lean_dec(v_val_23410_); -v___x_23413_ = lean_box(0); -v_isShared_23414_ = v_isSharedCheck_23439_; -goto v_resetjp_23412_; -} -v_resetjp_23412_: -{ -lean_object* v___x_23415_; lean_object* v___x_23416_; -v___x_23415_ = l_Lean_Language_SnapshotTask_get___redArg(v_val_23411_); -v___x_23416_ = l_Lean_Language_DynamicSnapshot_toTyped_x3f___redArg(v___x_23324_, v___x_23415_); -lean_dec(v___x_23415_); -if (lean_obj_tag(v___x_23416_) == 0) -{ -lean_object* v___x_23417_; -lean_del_object(v___x_23413_); -v___x_23417_ = lean_box(0); -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23408_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23417_; -goto v___jp_23362_; -} -else -{ -lean_object* v_val_23418_; lean_object* v___x_23420_; uint8_t v_isShared_23421_; uint8_t v_isSharedCheck_23438_; -v_val_23418_ = lean_ctor_get(v___x_23416_, 0); -v_isSharedCheck_23438_ = !lean_is_exclusive(v___x_23416_); -if (v_isSharedCheck_23438_ == 0) -{ -v___x_23420_ = v___x_23416_; -v_isShared_23421_ = v_isSharedCheck_23438_; -goto v_resetjp_23419_; -} -else -{ -lean_inc(v_val_23418_); -lean_dec(v___x_23416_); -v___x_23420_ = lean_box(0); -v_isShared_23421_ = v_isSharedCheck_23438_; -goto v_resetjp_23419_; -} -v_resetjp_23419_: -{ -lean_object* v_defs_23422_; lean_object* v___x_23423_; uint8_t v___x_23424_; -v_defs_23422_ = lean_ctor_get(v_val_23418_, 1); -lean_inc_ref(v_defs_23422_); -lean_dec(v_val_23418_); -v___x_23423_ = lean_array_get_size(v_defs_23422_); -v___x_23424_ = lean_nat_dec_lt(v_a_23325_, v___x_23423_); -if (v___x_23424_ == 0) -{ -lean_object* v___x_23425_; -lean_dec_ref(v_defs_23422_); -lean_del_object(v___x_23420_); -lean_del_object(v___x_23413_); -v___x_23425_ = lean_box(0); -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23408_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23425_; -goto v___jp_23362_; -} -else -{ -lean_object* v___x_23426_; lean_object* v_fullHeaderRef_23427_; lean_object* v_headerProcessedSnap_23428_; uint8_t v___x_23429_; -v___x_23426_ = lean_array_fget(v_defs_23422_, v_a_23325_); -lean_dec_ref(v_defs_23422_); -v_fullHeaderRef_23427_ = lean_ctor_get(v___x_23426_, 0); -lean_inc(v_fullHeaderRef_23427_); -v_headerProcessedSnap_23428_ = lean_ctor_get(v___x_23426_, 1); -lean_inc_ref(v_headerProcessedSnap_23428_); -lean_dec(v___x_23426_); -lean_inc_ref(v___x_23404_); -v___x_23429_ = l_Lean_Syntax_eqWithInfoAndTraceReuse(v___x_23326_, v___x_23404_, v_fullHeaderRef_23427_); -if (v___x_23429_ == 0) -{ -lean_object* v___x_23430_; -lean_dec_ref(v_headerProcessedSnap_23428_); -lean_del_object(v___x_23420_); -lean_del_object(v___x_23413_); -v___x_23430_ = lean_box(0); -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23408_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23430_; -goto v___jp_23362_; -} -else -{ -lean_object* v___x_23431_; lean_object* v___x_23433_; -v___x_23431_ = lean_box(0); -if (v_isShared_23414_ == 0) -{ -lean_ctor_set(v___x_23413_, 1, v_headerProcessedSnap_23428_); -lean_ctor_set(v___x_23413_, 0, v___x_23431_); -v___x_23433_ = v___x_23413_; -goto v_reusejp_23432_; -} -else -{ -lean_object* v_reuseFailAlloc_23437_; -v_reuseFailAlloc_23437_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_23437_, 0, v___x_23431_); -lean_ctor_set(v_reuseFailAlloc_23437_, 1, v_headerProcessedSnap_23428_); -v___x_23433_ = v_reuseFailAlloc_23437_; -goto v_reusejp_23432_; -} -v_reusejp_23432_: -{ -lean_object* v___x_23435_; -if (v_isShared_23421_ == 0) -{ -lean_ctor_set(v___x_23420_, 0, v___x_23433_); -v___x_23435_ = v___x_23420_; -goto v_reusejp_23434_; -} -else -{ -lean_object* v_reuseFailAlloc_23436_; -v_reuseFailAlloc_23436_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23436_, 0, v___x_23433_); -v___x_23435_ = v_reuseFailAlloc_23436_; -goto v_reusejp_23434_; -} -v_reusejp_23434_: -{ -v___y_23363_ = v___x_23404_; -v___y_23364_ = v_declId_23392_; -v___y_23365_ = v_binders_23393_; -v___y_23366_ = v_headerRef_23390_; -v___y_23367_ = v_type_x3f_23394_; -v___y_23368_ = v_modifiers_23391_; -v___y_23369_ = v_deriving_x3f_23397_; -v___y_23370_ = v_docString_x3f_23396_; -v___y_23371_ = v_value_23395_; -v_old_x3f_23372_ = v_old_x3f_23408_; -v___y_23373_ = v_kind_23388_; -v___y_23374_ = v_ref_23389_; -v___y_23375_ = v___y_23386_; -v___y_23376_ = v___x_23435_; -goto v___jp_23362_; +v___y_23403_ = v_ref_23429_; +v___y_23404_ = v_binders_23433_; +v_old_x3f_23405_ = v_old_x3f_23448_; +v___y_23406_ = v_headerRef_23430_; +v___y_23407_ = v_type_x3f_23434_; +v___y_23408_ = v_deriving_x3f_23437_; +v___y_23409_ = v_modifiers_23431_; +v___y_23410_ = v_declId_23432_; +v___y_23411_ = v_kind_23428_; +v___y_23412_ = v_value_23435_; +v___y_23413_ = v_docString_x3f_23436_; +v___y_23414_ = v___y_23426_; +v___y_23415_ = v___x_23444_; +v___y_23416_ = v___x_23475_; +goto v___jp_23402_; } } } @@ -67660,2670 +67815,2480 @@ goto v___jp_23362_; } else { -uint8_t v___x_23441_; -lean_dec_ref(v___y_23386_); -lean_dec(v___x_23323_); -lean_dec(v___x_23322_); -lean_dec(v___x_23318_); -lean_dec_ref(v___f_23317_); -lean_dec(v___x_23316_); -lean_dec(v___x_23312_); -v___x_23441_ = lean_unbox(v_fst_23321_); -v_defs_23335_ = v_fst_23320_; -v_reusedAllHeaders_23336_ = v___x_23441_; -v_view_23337_ = v_view_23385_; -goto v___jp_23334_; +uint8_t v___x_23481_; +lean_dec_ref(v___y_23426_); +lean_dec(v___x_23363_); +lean_dec(v___x_23362_); +lean_dec(v___x_23358_); +lean_dec_ref(v___f_23357_); +lean_dec(v___x_23356_); +lean_dec(v___x_23352_); +v___x_23481_ = lean_unbox(v_fst_23361_); +v_defs_23375_ = v_fst_23360_; +v_reusedAllHeaders_23376_ = v___x_23481_; +v_view_23377_ = v_view_23425_; +goto v___jp_23374_; } } } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1___boxed(lean_object** _args){ -lean_object* v_a_23485_ = _args[0]; -lean_object* v___x_23486_ = _args[1]; -lean_object* v___x_23487_ = _args[2]; -lean_object* v_fst_23488_ = _args[3]; -lean_object* v___x_23489_ = _args[4]; -lean_object* v___x_23490_ = _args[5]; -lean_object* v___f_23491_ = _args[6]; -lean_object* v___x_23492_ = _args[7]; -lean_object* v___x_23493_ = _args[8]; -lean_object* v_fst_23494_ = _args[9]; -lean_object* v_fst_23495_ = _args[10]; -lean_object* v___x_23496_ = _args[11]; -lean_object* v___x_23497_ = _args[12]; -lean_object* v___x_23498_ = _args[13]; -lean_object* v_a_23499_ = _args[14]; -lean_object* v___x_23500_ = _args[15]; -lean_object* v___x_23501_ = _args[16]; -lean_object* v___x_23502_ = _args[17]; -lean_object* v___x_23503_ = _args[18]; -lean_object* v_____r_23504_ = _args[19]; -lean_object* v___y_23505_ = _args[20]; -lean_object* v___y_23506_ = _args[21]; -lean_object* v___y_23507_ = _args[22]; +lean_object* v_a_23525_ = _args[0]; +lean_object* v___x_23526_ = _args[1]; +lean_object* v___x_23527_ = _args[2]; +lean_object* v_fst_23528_ = _args[3]; +lean_object* v___x_23529_ = _args[4]; +lean_object* v___x_23530_ = _args[5]; +lean_object* v___f_23531_ = _args[6]; +lean_object* v___x_23532_ = _args[7]; +lean_object* v___x_23533_ = _args[8]; +lean_object* v_fst_23534_ = _args[9]; +lean_object* v_fst_23535_ = _args[10]; +lean_object* v___x_23536_ = _args[11]; +lean_object* v___x_23537_ = _args[12]; +lean_object* v___x_23538_ = _args[13]; +lean_object* v_a_23539_ = _args[14]; +lean_object* v___x_23540_ = _args[15]; +lean_object* v___x_23541_ = _args[16]; +lean_object* v___x_23542_ = _args[17]; +lean_object* v___x_23543_ = _args[18]; +lean_object* v_____r_23544_ = _args[19]; +lean_object* v___y_23545_ = _args[20]; +lean_object* v___y_23546_ = _args[21]; +lean_object* v___y_23547_ = _args[22]; _start: { -uint8_t v___x_29900__boxed_23508_; lean_object* v_res_23509_; -v___x_29900__boxed_23508_ = lean_unbox(v___x_23493_); -v_res_23509_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_23485_, v___x_23486_, v___x_23487_, v_fst_23488_, v___x_23489_, v___x_23490_, v___f_23491_, v___x_23492_, v___x_29900__boxed_23508_, v_fst_23494_, v_fst_23495_, v___x_23496_, v___x_23497_, v___x_23498_, v_a_23499_, v___x_23500_, v___x_23501_, v___x_23502_, v___x_23503_, v_____r_23504_, v___y_23505_, v___y_23506_); -lean_dec_ref(v___x_23500_); -lean_dec(v_a_23499_); -lean_dec(v___x_23498_); -lean_dec(v_fst_23495_); -lean_dec(v___x_23487_); -return v_res_23509_; -} -} -LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0(uint8_t v___y_23510_, uint8_t v_suppressElabErrors_23511_, lean_object* v_x_23512_){ -_start: -{ -if (lean_obj_tag(v_x_23512_) == 1) -{ -lean_object* v_pre_23513_; -v_pre_23513_ = lean_ctor_get(v_x_23512_, 0); -if (lean_obj_tag(v_pre_23513_) == 0) -{ -lean_object* v_str_23514_; lean_object* v___x_23515_; uint8_t v___x_23516_; -v_str_23514_ = lean_ctor_get(v_x_23512_, 1); -v___x_23515_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__0)); -v___x_23516_ = lean_string_dec_eq(v_str_23514_, v___x_23515_); -if (v___x_23516_ == 0) -{ -return v___y_23510_; -} -else -{ -return v_suppressElabErrors_23511_; -} -} -else -{ -return v___y_23510_; -} -} -else -{ -return v___y_23510_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0___boxed(lean_object* v___y_23517_, lean_object* v_suppressElabErrors_23518_, lean_object* v_x_23519_){ -_start: -{ -uint8_t v___y_30205__boxed_23520_; uint8_t v_suppressElabErrors_boxed_23521_; uint8_t v_res_23522_; lean_object* v_r_23523_; -v___y_30205__boxed_23520_ = lean_unbox(v___y_23517_); -v_suppressElabErrors_boxed_23521_ = lean_unbox(v_suppressElabErrors_23518_); -v_res_23522_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0(v___y_30205__boxed_23520_, v_suppressElabErrors_boxed_23521_, v_x_23519_); -lean_dec(v_x_23519_); -v_r_23523_ = lean_box(v_res_23522_); -return v_r_23523_; -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(lean_object* v_ref_23524_, lean_object* v_msgData_23525_, uint8_t v_severity_23526_, uint8_t v_isSilent_23527_, lean_object* v___y_23528_, lean_object* v___y_23529_){ -_start: -{ -lean_object* v___y_23532_; uint8_t v___y_23533_; lean_object* v___y_23534_; lean_object* v___y_23535_; lean_object* v___y_23536_; uint8_t v___y_23537_; lean_object* v___y_23538_; lean_object* v___y_23539_; uint8_t v___y_23595_; uint8_t v___y_23596_; lean_object* v___y_23597_; uint8_t v___y_23598_; lean_object* v___y_23599_; uint8_t v___y_23623_; lean_object* v___y_23624_; uint8_t v___y_23625_; uint8_t v___y_23626_; lean_object* v___y_23627_; uint8_t v___y_23631_; uint8_t v___y_23632_; uint8_t v___y_23633_; uint8_t v___x_23648_; uint8_t v___y_23650_; uint8_t v___y_23651_; uint8_t v___y_23652_; uint8_t v___y_23654_; uint8_t v___x_23666_; -v___x_23648_ = 2; -v___x_23666_ = l_Lean_instBEqMessageSeverity_beq(v_severity_23526_, v___x_23648_); -if (v___x_23666_ == 0) -{ -v___y_23654_ = v___x_23666_; -goto v___jp_23653_; -} -else -{ -uint8_t v___x_23667_; -lean_inc_ref(v_msgData_23525_); -v___x_23667_ = l_Lean_MessageData_hasSyntheticSorry(v_msgData_23525_); -v___y_23654_ = v___x_23667_; -goto v___jp_23653_; -} -v___jp_23531_: -{ -lean_object* v___x_23540_; -v___x_23540_ = l_Lean_Elab_Command_getScope___redArg(v___y_23539_); -if (lean_obj_tag(v___x_23540_) == 0) -{ -lean_object* v_a_23541_; lean_object* v___x_23542_; -v_a_23541_ = lean_ctor_get(v___x_23540_, 0); -lean_inc(v_a_23541_); +uint8_t v___x_29900__boxed_23548_; lean_object* v_res_23549_; +v___x_29900__boxed_23548_ = lean_unbox(v___x_23533_); +v_res_23549_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_23525_, v___x_23526_, v___x_23527_, v_fst_23528_, v___x_23529_, v___x_23530_, v___f_23531_, v___x_23532_, v___x_29900__boxed_23548_, v_fst_23534_, v_fst_23535_, v___x_23536_, v___x_23537_, v___x_23538_, v_a_23539_, v___x_23540_, v___x_23541_, v___x_23542_, v___x_23543_, v_____r_23544_, v___y_23545_, v___y_23546_); lean_dec_ref(v___x_23540_); -v___x_23542_ = l_Lean_Elab_Command_getScope___redArg(v___y_23539_); -if (lean_obj_tag(v___x_23542_) == 0) -{ -lean_object* v_a_23543_; lean_object* v___x_23545_; uint8_t v_isShared_23546_; uint8_t v_isSharedCheck_23577_; -v_a_23543_ = lean_ctor_get(v___x_23542_, 0); -v_isSharedCheck_23577_ = !lean_is_exclusive(v___x_23542_); -if (v_isSharedCheck_23577_ == 0) -{ -v___x_23545_ = v___x_23542_; -v_isShared_23546_ = v_isSharedCheck_23577_; -goto v_resetjp_23544_; -} -else -{ -lean_inc(v_a_23543_); -lean_dec(v___x_23542_); -v___x_23545_ = lean_box(0); -v_isShared_23546_ = v_isSharedCheck_23577_; -goto v_resetjp_23544_; -} -v_resetjp_23544_: -{ -lean_object* v___x_23547_; lean_object* v_currNamespace_23548_; lean_object* v_openDecls_23549_; lean_object* v_env_23550_; lean_object* v_messages_23551_; lean_object* v_scopes_23552_; lean_object* v_usedQuotCtxts_23553_; lean_object* v_nextMacroScope_23554_; lean_object* v_maxRecDepth_23555_; lean_object* v_ngen_23556_; lean_object* v_auxDeclNGen_23557_; lean_object* v_infoState_23558_; lean_object* v_traceState_23559_; lean_object* v_snapshotTasks_23560_; lean_object* v___x_23562_; uint8_t v_isShared_23563_; uint8_t v_isSharedCheck_23576_; -v___x_23547_ = lean_st_ref_take(v___y_23539_); -v_currNamespace_23548_ = lean_ctor_get(v_a_23541_, 2); -lean_inc(v_currNamespace_23548_); -lean_dec(v_a_23541_); -v_openDecls_23549_ = lean_ctor_get(v_a_23543_, 3); -lean_inc(v_openDecls_23549_); -lean_dec(v_a_23543_); -v_env_23550_ = lean_ctor_get(v___x_23547_, 0); -v_messages_23551_ = lean_ctor_get(v___x_23547_, 1); -v_scopes_23552_ = lean_ctor_get(v___x_23547_, 2); -v_usedQuotCtxts_23553_ = lean_ctor_get(v___x_23547_, 3); -v_nextMacroScope_23554_ = lean_ctor_get(v___x_23547_, 4); -v_maxRecDepth_23555_ = lean_ctor_get(v___x_23547_, 5); -v_ngen_23556_ = lean_ctor_get(v___x_23547_, 6); -v_auxDeclNGen_23557_ = lean_ctor_get(v___x_23547_, 7); -v_infoState_23558_ = lean_ctor_get(v___x_23547_, 8); -v_traceState_23559_ = lean_ctor_get(v___x_23547_, 9); -v_snapshotTasks_23560_ = lean_ctor_get(v___x_23547_, 10); -v_isSharedCheck_23576_ = !lean_is_exclusive(v___x_23547_); -if (v_isSharedCheck_23576_ == 0) -{ -v___x_23562_ = v___x_23547_; -v_isShared_23563_ = v_isSharedCheck_23576_; -goto v_resetjp_23561_; -} -else -{ -lean_inc(v_snapshotTasks_23560_); -lean_inc(v_traceState_23559_); -lean_inc(v_infoState_23558_); -lean_inc(v_auxDeclNGen_23557_); -lean_inc(v_ngen_23556_); -lean_inc(v_maxRecDepth_23555_); -lean_inc(v_nextMacroScope_23554_); -lean_inc(v_usedQuotCtxts_23553_); -lean_inc(v_scopes_23552_); -lean_inc(v_messages_23551_); -lean_inc(v_env_23550_); -lean_dec(v___x_23547_); -v___x_23562_ = lean_box(0); -v_isShared_23563_ = v_isSharedCheck_23576_; -goto v_resetjp_23561_; -} -v_resetjp_23561_: -{ -lean_object* v___x_23564_; lean_object* v___x_23565_; lean_object* v___x_23566_; lean_object* v___x_23567_; lean_object* v___x_23569_; -v___x_23564_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23564_, 0, v_currNamespace_23548_); -lean_ctor_set(v___x_23564_, 1, v_openDecls_23549_); -v___x_23565_ = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(v___x_23565_, 0, v___x_23564_); -lean_ctor_set(v___x_23565_, 1, v___y_23535_); -v___x_23566_ = lean_alloc_ctor(0, 5, 3); -lean_ctor_set(v___x_23566_, 0, v___y_23536_); -lean_ctor_set(v___x_23566_, 1, v___y_23538_); -lean_ctor_set(v___x_23566_, 2, v___y_23532_); -lean_ctor_set(v___x_23566_, 3, v___y_23534_); -lean_ctor_set(v___x_23566_, 4, v___x_23565_); -lean_ctor_set_uint8(v___x_23566_, sizeof(void*)*5, v___y_23537_); -lean_ctor_set_uint8(v___x_23566_, sizeof(void*)*5 + 1, v___y_23533_); -lean_ctor_set_uint8(v___x_23566_, sizeof(void*)*5 + 2, v_isSilent_23527_); -v___x_23567_ = l_Lean_MessageLog_add(v___x_23566_, v_messages_23551_); -if (v_isShared_23563_ == 0) -{ -lean_ctor_set(v___x_23562_, 1, v___x_23567_); -v___x_23569_ = v___x_23562_; -goto v_reusejp_23568_; -} -else -{ -lean_object* v_reuseFailAlloc_23575_; -v_reuseFailAlloc_23575_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_23575_, 0, v_env_23550_); -lean_ctor_set(v_reuseFailAlloc_23575_, 1, v___x_23567_); -lean_ctor_set(v_reuseFailAlloc_23575_, 2, v_scopes_23552_); -lean_ctor_set(v_reuseFailAlloc_23575_, 3, v_usedQuotCtxts_23553_); -lean_ctor_set(v_reuseFailAlloc_23575_, 4, v_nextMacroScope_23554_); -lean_ctor_set(v_reuseFailAlloc_23575_, 5, v_maxRecDepth_23555_); -lean_ctor_set(v_reuseFailAlloc_23575_, 6, v_ngen_23556_); -lean_ctor_set(v_reuseFailAlloc_23575_, 7, v_auxDeclNGen_23557_); -lean_ctor_set(v_reuseFailAlloc_23575_, 8, v_infoState_23558_); -lean_ctor_set(v_reuseFailAlloc_23575_, 9, v_traceState_23559_); -lean_ctor_set(v_reuseFailAlloc_23575_, 10, v_snapshotTasks_23560_); -v___x_23569_ = v_reuseFailAlloc_23575_; -goto v_reusejp_23568_; -} -v_reusejp_23568_: -{ -lean_object* v___x_23570_; lean_object* v___x_23571_; lean_object* v___x_23573_; -v___x_23570_ = lean_st_ref_set(v___y_23539_, v___x_23569_); -v___x_23571_ = lean_box(0); -if (v_isShared_23546_ == 0) -{ -lean_ctor_set(v___x_23545_, 0, v___x_23571_); -v___x_23573_ = v___x_23545_; -goto v_reusejp_23572_; -} -else -{ -lean_object* v_reuseFailAlloc_23574_; -v_reuseFailAlloc_23574_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23574_, 0, v___x_23571_); -v___x_23573_ = v_reuseFailAlloc_23574_; -goto v_reusejp_23572_; -} -v_reusejp_23572_: -{ -return v___x_23573_; +lean_dec(v_a_23539_); +lean_dec(v___x_23538_); +lean_dec(v_fst_23535_); +lean_dec(v___x_23527_); +return v_res_23549_; } } -} -} -} -else -{ -lean_object* v_a_23578_; lean_object* v___x_23580_; uint8_t v_isShared_23581_; uint8_t v_isSharedCheck_23585_; -lean_dec(v_a_23541_); -lean_dec_ref(v___y_23538_); -lean_dec_ref(v___y_23536_); -lean_dec_ref(v___y_23535_); -lean_dec_ref(v___y_23534_); -lean_dec(v___y_23532_); -v_a_23578_ = lean_ctor_get(v___x_23542_, 0); -v_isSharedCheck_23585_ = !lean_is_exclusive(v___x_23542_); -if (v_isSharedCheck_23585_ == 0) -{ -v___x_23580_ = v___x_23542_; -v_isShared_23581_ = v_isSharedCheck_23585_; -goto v_resetjp_23579_; -} -else -{ -lean_inc(v_a_23578_); -lean_dec(v___x_23542_); -v___x_23580_ = lean_box(0); -v_isShared_23581_ = v_isSharedCheck_23585_; -goto v_resetjp_23579_; -} -v_resetjp_23579_: -{ -lean_object* v___x_23583_; -if (v_isShared_23581_ == 0) -{ -v___x_23583_ = v___x_23580_; -goto v_reusejp_23582_; -} -else -{ -lean_object* v_reuseFailAlloc_23584_; -v_reuseFailAlloc_23584_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23584_, 0, v_a_23578_); -v___x_23583_ = v_reuseFailAlloc_23584_; -goto v_reusejp_23582_; -} -v_reusejp_23582_: -{ -return v___x_23583_; -} -} -} -} -else -{ -lean_object* v_a_23586_; lean_object* v___x_23588_; uint8_t v_isShared_23589_; uint8_t v_isSharedCheck_23593_; -lean_dec_ref(v___y_23538_); -lean_dec_ref(v___y_23536_); -lean_dec_ref(v___y_23535_); -lean_dec_ref(v___y_23534_); -lean_dec(v___y_23532_); -v_a_23586_ = lean_ctor_get(v___x_23540_, 0); -v_isSharedCheck_23593_ = !lean_is_exclusive(v___x_23540_); -if (v_isSharedCheck_23593_ == 0) -{ -v___x_23588_ = v___x_23540_; -v_isShared_23589_ = v_isSharedCheck_23593_; -goto v_resetjp_23587_; -} -else -{ -lean_inc(v_a_23586_); -lean_dec(v___x_23540_); -v___x_23588_ = lean_box(0); -v_isShared_23589_ = v_isSharedCheck_23593_; -goto v_resetjp_23587_; -} -v_resetjp_23587_: -{ -lean_object* v___x_23591_; -if (v_isShared_23589_ == 0) -{ -v___x_23591_ = v___x_23588_; -goto v_reusejp_23590_; -} -else -{ -lean_object* v_reuseFailAlloc_23592_; -v_reuseFailAlloc_23592_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23592_, 0, v_a_23586_); -v___x_23591_ = v_reuseFailAlloc_23592_; -goto v_reusejp_23590_; -} -v_reusejp_23590_: -{ -return v___x_23591_; -} -} -} -} -v___jp_23594_: -{ -lean_object* v_fileName_23600_; lean_object* v_fileMap_23601_; uint8_t v_suppressElabErrors_23602_; lean_object* v___x_23603_; lean_object* v___x_23604_; lean_object* v_a_23605_; lean_object* v___x_23607_; uint8_t v_isShared_23608_; uint8_t v_isSharedCheck_23621_; -v_fileName_23600_ = lean_ctor_get(v___y_23528_, 0); -lean_inc_ref(v_fileName_23600_); -v_fileMap_23601_ = lean_ctor_get(v___y_23528_, 1); -lean_inc_ref(v_fileMap_23601_); -v_suppressElabErrors_23602_ = lean_ctor_get_uint8(v___y_23528_, sizeof(void*)*10); -lean_dec_ref(v___y_23528_); -v___x_23603_ = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(v_msgData_23525_); -v___x_23604_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v___x_23603_, v___y_23529_); -v_a_23605_ = lean_ctor_get(v___x_23604_, 0); -v_isSharedCheck_23621_ = !lean_is_exclusive(v___x_23604_); -if (v_isSharedCheck_23621_ == 0) -{ -v___x_23607_ = v___x_23604_; -v_isShared_23608_ = v_isSharedCheck_23621_; -goto v_resetjp_23606_; -} -else -{ -lean_inc(v_a_23605_); -lean_dec(v___x_23604_); -v___x_23607_ = lean_box(0); -v_isShared_23608_ = v_isSharedCheck_23621_; -goto v_resetjp_23606_; -} -v_resetjp_23606_: -{ -lean_object* v___x_23609_; lean_object* v___x_23610_; lean_object* v___x_23611_; lean_object* v___x_23612_; -lean_inc_ref(v_fileMap_23601_); -v___x_23609_ = l_Lean_FileMap_toPosition(v_fileMap_23601_, v___y_23597_); -lean_dec(v___y_23597_); -v___x_23610_ = l_Lean_FileMap_toPosition(v_fileMap_23601_, v___y_23599_); -lean_dec(v___y_23599_); -v___x_23611_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_23611_, 0, v___x_23610_); -v___x_23612_ = ((lean_object*)(l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters_spec__1___closed__0)); -if (v_suppressElabErrors_23602_ == 0) -{ -lean_del_object(v___x_23607_); -v___y_23532_ = v___x_23611_; -v___y_23533_ = v___y_23596_; -v___y_23534_ = v___x_23612_; -v___y_23535_ = v_a_23605_; -v___y_23536_ = v_fileName_23600_; -v___y_23537_ = v___y_23598_; -v___y_23538_ = v___x_23609_; -v___y_23539_ = v___y_23529_; -goto v___jp_23531_; -} -else -{ -lean_object* v___x_23613_; lean_object* v___x_23614_; lean_object* v___f_23615_; uint8_t v___x_23616_; -v___x_23613_ = lean_box(v___y_23595_); -v___x_23614_ = lean_box(v_suppressElabErrors_23602_); -v___f_23615_ = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0___boxed), 3, 2); -lean_closure_set(v___f_23615_, 0, v___x_23613_); -lean_closure_set(v___f_23615_, 1, v___x_23614_); -lean_inc(v_a_23605_); -v___x_23616_ = l_Lean_MessageData_hasTag(v___f_23615_, v_a_23605_); -if (v___x_23616_ == 0) -{ -lean_object* v___x_23617_; lean_object* v___x_23619_; -lean_dec_ref(v___x_23611_); -lean_dec_ref(v___x_23609_); -lean_dec(v_a_23605_); -lean_dec_ref(v_fileName_23600_); -v___x_23617_ = lean_box(0); -if (v_isShared_23608_ == 0) -{ -lean_ctor_set(v___x_23607_, 0, v___x_23617_); -v___x_23619_ = v___x_23607_; -goto v_reusejp_23618_; -} -else -{ -lean_object* v_reuseFailAlloc_23620_; -v_reuseFailAlloc_23620_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23620_, 0, v___x_23617_); -v___x_23619_ = v_reuseFailAlloc_23620_; -goto v_reusejp_23618_; -} -v_reusejp_23618_: -{ -return v___x_23619_; -} -} -else -{ -lean_del_object(v___x_23607_); -v___y_23532_ = v___x_23611_; -v___y_23533_ = v___y_23596_; -v___y_23534_ = v___x_23612_; -v___y_23535_ = v_a_23605_; -v___y_23536_ = v_fileName_23600_; -v___y_23537_ = v___y_23598_; -v___y_23538_ = v___x_23609_; -v___y_23539_ = v___y_23529_; -goto v___jp_23531_; -} -} -} -} -v___jp_23622_: -{ -lean_object* v___x_23628_; -v___x_23628_ = l_Lean_Syntax_getTailPos_x3f(v___y_23624_, v___y_23626_); -lean_dec(v___y_23624_); -if (lean_obj_tag(v___x_23628_) == 0) -{ -lean_inc(v___y_23627_); -v___y_23595_ = v___y_23623_; -v___y_23596_ = v___y_23625_; -v___y_23597_ = v___y_23627_; -v___y_23598_ = v___y_23626_; -v___y_23599_ = v___y_23627_; -goto v___jp_23594_; -} -else -{ -lean_object* v_val_23629_; -v_val_23629_ = lean_ctor_get(v___x_23628_, 0); -lean_inc(v_val_23629_); -lean_dec_ref(v___x_23628_); -v___y_23595_ = v___y_23623_; -v___y_23596_ = v___y_23625_; -v___y_23597_ = v___y_23627_; -v___y_23598_ = v___y_23626_; -v___y_23599_ = v_val_23629_; -goto v___jp_23594_; -} -} -v___jp_23630_: -{ -lean_object* v___x_23634_; -v___x_23634_ = l_Lean_Elab_Command_getRef___redArg(v___y_23528_); -if (lean_obj_tag(v___x_23634_) == 0) -{ -lean_object* v_a_23635_; lean_object* v_ref_23636_; lean_object* v___x_23637_; -v_a_23635_ = lean_ctor_get(v___x_23634_, 0); -lean_inc(v_a_23635_); -lean_dec_ref(v___x_23634_); -v_ref_23636_ = l_Lean_replaceRef(v_ref_23524_, v_a_23635_); -lean_dec(v_a_23635_); -v___x_23637_ = l_Lean_Syntax_getPos_x3f(v_ref_23636_, v___y_23632_); -if (lean_obj_tag(v___x_23637_) == 0) -{ -lean_object* v___x_23638_; -v___x_23638_ = lean_unsigned_to_nat(0u); -v___y_23623_ = v___y_23631_; -v___y_23624_ = v_ref_23636_; -v___y_23625_ = v___y_23633_; -v___y_23626_ = v___y_23632_; -v___y_23627_ = v___x_23638_; -goto v___jp_23622_; -} -else -{ -lean_object* v_val_23639_; -v_val_23639_ = lean_ctor_get(v___x_23637_, 0); -lean_inc(v_val_23639_); -lean_dec_ref(v___x_23637_); -v___y_23623_ = v___y_23631_; -v___y_23624_ = v_ref_23636_; -v___y_23625_ = v___y_23633_; -v___y_23626_ = v___y_23632_; -v___y_23627_ = v_val_23639_; -goto v___jp_23622_; -} -} -else -{ -lean_object* v_a_23640_; lean_object* v___x_23642_; uint8_t v_isShared_23643_; uint8_t v_isSharedCheck_23647_; -lean_dec_ref(v___y_23528_); -lean_dec_ref(v_msgData_23525_); -v_a_23640_ = lean_ctor_get(v___x_23634_, 0); -v_isSharedCheck_23647_ = !lean_is_exclusive(v___x_23634_); -if (v_isSharedCheck_23647_ == 0) -{ -v___x_23642_ = v___x_23634_; -v_isShared_23643_ = v_isSharedCheck_23647_; -goto v_resetjp_23641_; -} -else -{ -lean_inc(v_a_23640_); -lean_dec(v___x_23634_); -v___x_23642_ = lean_box(0); -v_isShared_23643_ = v_isSharedCheck_23647_; -goto v_resetjp_23641_; -} -v_resetjp_23641_: -{ -lean_object* v___x_23645_; -if (v_isShared_23643_ == 0) -{ -v___x_23645_ = v___x_23642_; -goto v_reusejp_23644_; -} -else -{ -lean_object* v_reuseFailAlloc_23646_; -v_reuseFailAlloc_23646_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23646_, 0, v_a_23640_); -v___x_23645_ = v_reuseFailAlloc_23646_; -goto v_reusejp_23644_; -} -v_reusejp_23644_: -{ -return v___x_23645_; -} -} -} -} -v___jp_23649_: -{ -if (v___y_23652_ == 0) -{ -v___y_23631_ = v___y_23650_; -v___y_23632_ = v___y_23651_; -v___y_23633_ = v_severity_23526_; -goto v___jp_23630_; -} -else -{ -v___y_23631_ = v___y_23650_; -v___y_23632_ = v___y_23651_; -v___y_23633_ = v___x_23648_; -goto v___jp_23630_; -} -} -v___jp_23653_: -{ -if (v___y_23654_ == 0) -{ -lean_object* v___x_23655_; lean_object* v_scopes_23656_; lean_object* v___x_23657_; lean_object* v___x_23658_; lean_object* v_opts_23659_; uint8_t v___x_23660_; uint8_t v___x_23661_; -v___x_23655_ = lean_st_ref_get(v___y_23529_); -v_scopes_23656_ = lean_ctor_get(v___x_23655_, 2); -lean_inc(v_scopes_23656_); -lean_dec(v___x_23655_); -v___x_23657_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_23658_ = l_List_head_x21___redArg(v___x_23657_, v_scopes_23656_); -lean_dec(v_scopes_23656_); -v_opts_23659_ = lean_ctor_get(v___x_23658_, 1); -lean_inc_ref(v_opts_23659_); -lean_dec(v___x_23658_); -v___x_23660_ = 1; -v___x_23661_ = l_Lean_instBEqMessageSeverity_beq(v_severity_23526_, v___x_23660_); -if (v___x_23661_ == 0) -{ -lean_dec_ref(v_opts_23659_); -v___y_23650_ = v___y_23654_; -v___y_23651_ = v___y_23654_; -v___y_23652_ = v___x_23661_; -goto v___jp_23649_; -} -else -{ -lean_object* v___x_23662_; uint8_t v___x_23663_; -v___x_23662_ = l_Lean_warningAsError; -v___x_23663_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_23659_, v___x_23662_); -lean_dec_ref(v_opts_23659_); -v___y_23650_ = v___y_23654_; -v___y_23651_ = v___y_23654_; -v___y_23652_ = v___x_23663_; -goto v___jp_23649_; -} -} -else -{ -lean_object* v___x_23664_; lean_object* v___x_23665_; -lean_dec_ref(v___y_23528_); -lean_dec_ref(v_msgData_23525_); -v___x_23664_ = lean_box(0); -v___x_23665_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23665_, 0, v___x_23664_); -return v___x_23665_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___boxed(lean_object* v_ref_23668_, lean_object* v_msgData_23669_, lean_object* v_severity_23670_, lean_object* v_isSilent_23671_, lean_object* v___y_23672_, lean_object* v___y_23673_, lean_object* v___y_23674_){ +LEAN_EXPORT uint8_t l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0(uint8_t v___y_23550_, uint8_t v_suppressElabErrors_23551_, lean_object* v_x_23552_){ _start: { -uint8_t v_severity_boxed_23675_; uint8_t v_isSilent_boxed_23676_; lean_object* v_res_23677_; -v_severity_boxed_23675_ = lean_unbox(v_severity_23670_); -v_isSilent_boxed_23676_ = lean_unbox(v_isSilent_23671_); -v_res_23677_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_ref_23668_, v_msgData_23669_, v_severity_boxed_23675_, v_isSilent_boxed_23676_, v___y_23672_, v___y_23673_); -lean_dec(v___y_23673_); -lean_dec(v_ref_23668_); -return v_res_23677_; +if (lean_obj_tag(v_x_23552_) == 1) +{ +lean_object* v_pre_23553_; +v_pre_23553_ = lean_ctor_get(v_x_23552_, 0); +if (lean_obj_tag(v_pre_23553_) == 0) +{ +lean_object* v_str_23554_; lean_object* v___x_23555_; uint8_t v___x_23556_; +v_str_23554_ = lean_ctor_get(v_x_23552_, 1); +v___x_23555_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__0)); +v___x_23556_ = lean_string_dec_eq(v_str_23554_, v___x_23555_); +if (v___x_23556_ == 0) +{ +return v___y_23550_; +} +else +{ +return v_suppressElabErrors_23551_; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(lean_object* v_ref_23678_, lean_object* v_msgData_23679_, lean_object* v___y_23680_, lean_object* v___y_23681_){ +else +{ +return v___y_23550_; +} +} +else +{ +return v___y_23550_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0___boxed(lean_object* v___y_23557_, lean_object* v_suppressElabErrors_23558_, lean_object* v_x_23559_){ _start: { -uint8_t v___x_23683_; uint8_t v___x_23684_; lean_object* v___x_23685_; -v___x_23683_ = 2; -v___x_23684_ = 0; -v___x_23685_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_ref_23678_, v_msgData_23679_, v___x_23683_, v___x_23684_, v___y_23680_, v___y_23681_); +uint8_t v___y_30205__boxed_23560_; uint8_t v_suppressElabErrors_boxed_23561_; uint8_t v_res_23562_; lean_object* v_r_23563_; +v___y_30205__boxed_23560_ = lean_unbox(v___y_23557_); +v_suppressElabErrors_boxed_23561_ = lean_unbox(v_suppressElabErrors_23558_); +v_res_23562_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0(v___y_30205__boxed_23560_, v_suppressElabErrors_boxed_23561_, v_x_23559_); +lean_dec(v_x_23559_); +v_r_23563_ = lean_box(v_res_23562_); +return v_r_23563_; +} +} +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(lean_object* v_ref_23564_, lean_object* v_msgData_23565_, uint8_t v_severity_23566_, uint8_t v_isSilent_23567_, lean_object* v___y_23568_, lean_object* v___y_23569_){ +_start: +{ +lean_object* v___y_23572_; lean_object* v___y_23573_; uint8_t v___y_23574_; lean_object* v___y_23575_; lean_object* v___y_23576_; lean_object* v___y_23577_; uint8_t v___y_23578_; lean_object* v___y_23579_; uint8_t v___y_23635_; lean_object* v___y_23636_; uint8_t v___y_23637_; uint8_t v___y_23638_; lean_object* v___y_23639_; uint8_t v___y_23663_; lean_object* v___y_23664_; uint8_t v___y_23665_; uint8_t v___y_23666_; lean_object* v___y_23667_; uint8_t v___y_23671_; uint8_t v___y_23672_; uint8_t v___y_23673_; uint8_t v___x_23688_; uint8_t v___y_23690_; uint8_t v___y_23691_; uint8_t v___y_23692_; uint8_t v___y_23694_; uint8_t v___x_23706_; +v___x_23688_ = 2; +v___x_23706_ = l_Lean_instBEqMessageSeverity_beq(v_severity_23566_, v___x_23688_); +if (v___x_23706_ == 0) +{ +v___y_23694_ = v___x_23706_; +goto v___jp_23693_; +} +else +{ +uint8_t v___x_23707_; +lean_inc_ref(v_msgData_23565_); +v___x_23707_ = l_Lean_MessageData_hasSyntheticSorry(v_msgData_23565_); +v___y_23694_ = v___x_23707_; +goto v___jp_23693_; +} +v___jp_23571_: +{ +lean_object* v___x_23580_; +v___x_23580_ = l_Lean_Elab_Command_getScope___redArg(v___y_23579_); +if (lean_obj_tag(v___x_23580_) == 0) +{ +lean_object* v_a_23581_; lean_object* v___x_23582_; +v_a_23581_ = lean_ctor_get(v___x_23580_, 0); +lean_inc(v_a_23581_); +lean_dec_ref(v___x_23580_); +v___x_23582_ = l_Lean_Elab_Command_getScope___redArg(v___y_23579_); +if (lean_obj_tag(v___x_23582_) == 0) +{ +lean_object* v_a_23583_; lean_object* v___x_23585_; uint8_t v_isShared_23586_; uint8_t v_isSharedCheck_23617_; +v_a_23583_ = lean_ctor_get(v___x_23582_, 0); +v_isSharedCheck_23617_ = !lean_is_exclusive(v___x_23582_); +if (v_isSharedCheck_23617_ == 0) +{ +v___x_23585_ = v___x_23582_; +v_isShared_23586_ = v_isSharedCheck_23617_; +goto v_resetjp_23584_; +} +else +{ +lean_inc(v_a_23583_); +lean_dec(v___x_23582_); +v___x_23585_ = lean_box(0); +v_isShared_23586_ = v_isSharedCheck_23617_; +goto v_resetjp_23584_; +} +v_resetjp_23584_: +{ +lean_object* v___x_23587_; lean_object* v_currNamespace_23588_; lean_object* v_openDecls_23589_; lean_object* v_env_23590_; lean_object* v_messages_23591_; lean_object* v_scopes_23592_; lean_object* v_usedQuotCtxts_23593_; lean_object* v_nextMacroScope_23594_; lean_object* v_maxRecDepth_23595_; lean_object* v_ngen_23596_; lean_object* v_auxDeclNGen_23597_; lean_object* v_infoState_23598_; lean_object* v_traceState_23599_; lean_object* v_snapshotTasks_23600_; lean_object* v___x_23602_; uint8_t v_isShared_23603_; uint8_t v_isSharedCheck_23616_; +v___x_23587_ = lean_st_ref_take(v___y_23579_); +v_currNamespace_23588_ = lean_ctor_get(v_a_23581_, 2); +lean_inc(v_currNamespace_23588_); +lean_dec(v_a_23581_); +v_openDecls_23589_ = lean_ctor_get(v_a_23583_, 3); +lean_inc(v_openDecls_23589_); +lean_dec(v_a_23583_); +v_env_23590_ = lean_ctor_get(v___x_23587_, 0); +v_messages_23591_ = lean_ctor_get(v___x_23587_, 1); +v_scopes_23592_ = lean_ctor_get(v___x_23587_, 2); +v_usedQuotCtxts_23593_ = lean_ctor_get(v___x_23587_, 3); +v_nextMacroScope_23594_ = lean_ctor_get(v___x_23587_, 4); +v_maxRecDepth_23595_ = lean_ctor_get(v___x_23587_, 5); +v_ngen_23596_ = lean_ctor_get(v___x_23587_, 6); +v_auxDeclNGen_23597_ = lean_ctor_get(v___x_23587_, 7); +v_infoState_23598_ = lean_ctor_get(v___x_23587_, 8); +v_traceState_23599_ = lean_ctor_get(v___x_23587_, 9); +v_snapshotTasks_23600_ = lean_ctor_get(v___x_23587_, 10); +v_isSharedCheck_23616_ = !lean_is_exclusive(v___x_23587_); +if (v_isSharedCheck_23616_ == 0) +{ +v___x_23602_ = v___x_23587_; +v_isShared_23603_ = v_isSharedCheck_23616_; +goto v_resetjp_23601_; +} +else +{ +lean_inc(v_snapshotTasks_23600_); +lean_inc(v_traceState_23599_); +lean_inc(v_infoState_23598_); +lean_inc(v_auxDeclNGen_23597_); +lean_inc(v_ngen_23596_); +lean_inc(v_maxRecDepth_23595_); +lean_inc(v_nextMacroScope_23594_); +lean_inc(v_usedQuotCtxts_23593_); +lean_inc(v_scopes_23592_); +lean_inc(v_messages_23591_); +lean_inc(v_env_23590_); +lean_dec(v___x_23587_); +v___x_23602_ = lean_box(0); +v_isShared_23603_ = v_isSharedCheck_23616_; +goto v_resetjp_23601_; +} +v_resetjp_23601_: +{ +lean_object* v___x_23604_; lean_object* v___x_23605_; lean_object* v___x_23606_; lean_object* v___x_23607_; lean_object* v___x_23609_; +v___x_23604_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23604_, 0, v_currNamespace_23588_); +lean_ctor_set(v___x_23604_, 1, v_openDecls_23589_); +v___x_23605_ = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(v___x_23605_, 0, v___x_23604_); +lean_ctor_set(v___x_23605_, 1, v___y_23573_); +v___x_23606_ = lean_alloc_ctor(0, 5, 3); +lean_ctor_set(v___x_23606_, 0, v___y_23572_); +lean_ctor_set(v___x_23606_, 1, v___y_23576_); +lean_ctor_set(v___x_23606_, 2, v___y_23577_); +lean_ctor_set(v___x_23606_, 3, v___y_23575_); +lean_ctor_set(v___x_23606_, 4, v___x_23605_); +lean_ctor_set_uint8(v___x_23606_, sizeof(void*)*5, v___y_23578_); +lean_ctor_set_uint8(v___x_23606_, sizeof(void*)*5 + 1, v___y_23574_); +lean_ctor_set_uint8(v___x_23606_, sizeof(void*)*5 + 2, v_isSilent_23567_); +v___x_23607_ = l_Lean_MessageLog_add(v___x_23606_, v_messages_23591_); +if (v_isShared_23603_ == 0) +{ +lean_ctor_set(v___x_23602_, 1, v___x_23607_); +v___x_23609_ = v___x_23602_; +goto v_reusejp_23608_; +} +else +{ +lean_object* v_reuseFailAlloc_23615_; +v_reuseFailAlloc_23615_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_23615_, 0, v_env_23590_); +lean_ctor_set(v_reuseFailAlloc_23615_, 1, v___x_23607_); +lean_ctor_set(v_reuseFailAlloc_23615_, 2, v_scopes_23592_); +lean_ctor_set(v_reuseFailAlloc_23615_, 3, v_usedQuotCtxts_23593_); +lean_ctor_set(v_reuseFailAlloc_23615_, 4, v_nextMacroScope_23594_); +lean_ctor_set(v_reuseFailAlloc_23615_, 5, v_maxRecDepth_23595_); +lean_ctor_set(v_reuseFailAlloc_23615_, 6, v_ngen_23596_); +lean_ctor_set(v_reuseFailAlloc_23615_, 7, v_auxDeclNGen_23597_); +lean_ctor_set(v_reuseFailAlloc_23615_, 8, v_infoState_23598_); +lean_ctor_set(v_reuseFailAlloc_23615_, 9, v_traceState_23599_); +lean_ctor_set(v_reuseFailAlloc_23615_, 10, v_snapshotTasks_23600_); +v___x_23609_ = v_reuseFailAlloc_23615_; +goto v_reusejp_23608_; +} +v_reusejp_23608_: +{ +lean_object* v___x_23610_; lean_object* v___x_23611_; lean_object* v___x_23613_; +v___x_23610_ = lean_st_ref_set(v___y_23579_, v___x_23609_); +v___x_23611_ = lean_box(0); +if (v_isShared_23586_ == 0) +{ +lean_ctor_set(v___x_23585_, 0, v___x_23611_); +v___x_23613_ = v___x_23585_; +goto v_reusejp_23612_; +} +else +{ +lean_object* v_reuseFailAlloc_23614_; +v_reuseFailAlloc_23614_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23614_, 0, v___x_23611_); +v___x_23613_ = v_reuseFailAlloc_23614_; +goto v_reusejp_23612_; +} +v_reusejp_23612_: +{ +return v___x_23613_; +} +} +} +} +} +else +{ +lean_object* v_a_23618_; lean_object* v___x_23620_; uint8_t v_isShared_23621_; uint8_t v_isSharedCheck_23625_; +lean_dec(v_a_23581_); +lean_dec(v___y_23577_); +lean_dec_ref(v___y_23576_); +lean_dec_ref(v___y_23575_); +lean_dec_ref(v___y_23573_); +lean_dec_ref(v___y_23572_); +v_a_23618_ = lean_ctor_get(v___x_23582_, 0); +v_isSharedCheck_23625_ = !lean_is_exclusive(v___x_23582_); +if (v_isSharedCheck_23625_ == 0) +{ +v___x_23620_ = v___x_23582_; +v_isShared_23621_ = v_isSharedCheck_23625_; +goto v_resetjp_23619_; +} +else +{ +lean_inc(v_a_23618_); +lean_dec(v___x_23582_); +v___x_23620_ = lean_box(0); +v_isShared_23621_ = v_isSharedCheck_23625_; +goto v_resetjp_23619_; +} +v_resetjp_23619_: +{ +lean_object* v___x_23623_; +if (v_isShared_23621_ == 0) +{ +v___x_23623_ = v___x_23620_; +goto v_reusejp_23622_; +} +else +{ +lean_object* v_reuseFailAlloc_23624_; +v_reuseFailAlloc_23624_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23624_, 0, v_a_23618_); +v___x_23623_ = v_reuseFailAlloc_23624_; +goto v_reusejp_23622_; +} +v_reusejp_23622_: +{ +return v___x_23623_; +} +} +} +} +else +{ +lean_object* v_a_23626_; lean_object* v___x_23628_; uint8_t v_isShared_23629_; uint8_t v_isSharedCheck_23633_; +lean_dec(v___y_23577_); +lean_dec_ref(v___y_23576_); +lean_dec_ref(v___y_23575_); +lean_dec_ref(v___y_23573_); +lean_dec_ref(v___y_23572_); +v_a_23626_ = lean_ctor_get(v___x_23580_, 0); +v_isSharedCheck_23633_ = !lean_is_exclusive(v___x_23580_); +if (v_isSharedCheck_23633_ == 0) +{ +v___x_23628_ = v___x_23580_; +v_isShared_23629_ = v_isSharedCheck_23633_; +goto v_resetjp_23627_; +} +else +{ +lean_inc(v_a_23626_); +lean_dec(v___x_23580_); +v___x_23628_ = lean_box(0); +v_isShared_23629_ = v_isSharedCheck_23633_; +goto v_resetjp_23627_; +} +v_resetjp_23627_: +{ +lean_object* v___x_23631_; +if (v_isShared_23629_ == 0) +{ +v___x_23631_ = v___x_23628_; +goto v_reusejp_23630_; +} +else +{ +lean_object* v_reuseFailAlloc_23632_; +v_reuseFailAlloc_23632_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23632_, 0, v_a_23626_); +v___x_23631_ = v_reuseFailAlloc_23632_; +goto v_reusejp_23630_; +} +v_reusejp_23630_: +{ +return v___x_23631_; +} +} +} +} +v___jp_23634_: +{ +lean_object* v_fileName_23640_; lean_object* v_fileMap_23641_; uint8_t v_suppressElabErrors_23642_; lean_object* v___x_23643_; lean_object* v___x_23644_; lean_object* v_a_23645_; lean_object* v___x_23647_; uint8_t v_isShared_23648_; uint8_t v_isSharedCheck_23661_; +v_fileName_23640_ = lean_ctor_get(v___y_23568_, 0); +lean_inc_ref(v_fileName_23640_); +v_fileMap_23641_ = lean_ctor_get(v___y_23568_, 1); +lean_inc_ref(v_fileMap_23641_); +v_suppressElabErrors_23642_ = lean_ctor_get_uint8(v___y_23568_, sizeof(void*)*10); +lean_dec_ref(v___y_23568_); +v___x_23643_ = l___private_Lean_Log_0__Lean_MessageData_appendDescriptionWidgetIfNamed(v_msgData_23565_); +v___x_23644_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v___x_23643_, v___y_23569_); +v_a_23645_ = lean_ctor_get(v___x_23644_, 0); +v_isSharedCheck_23661_ = !lean_is_exclusive(v___x_23644_); +if (v_isSharedCheck_23661_ == 0) +{ +v___x_23647_ = v___x_23644_; +v_isShared_23648_ = v_isSharedCheck_23661_; +goto v_resetjp_23646_; +} +else +{ +lean_inc(v_a_23645_); +lean_dec(v___x_23644_); +v___x_23647_ = lean_box(0); +v_isShared_23648_ = v_isSharedCheck_23661_; +goto v_resetjp_23646_; +} +v_resetjp_23646_: +{ +lean_object* v___x_23649_; lean_object* v___x_23650_; lean_object* v___x_23651_; lean_object* v___x_23652_; +lean_inc_ref(v_fileMap_23641_); +v___x_23649_ = l_Lean_FileMap_toPosition(v_fileMap_23641_, v___y_23636_); +lean_dec(v___y_23636_); +v___x_23650_ = l_Lean_FileMap_toPosition(v_fileMap_23641_, v___y_23639_); +lean_dec(v___y_23639_); +v___x_23651_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_23651_, 0, v___x_23650_); +v___x_23652_ = ((lean_object*)(l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters_spec__1___closed__0)); +if (v_suppressElabErrors_23642_ == 0) +{ +lean_del_object(v___x_23647_); +v___y_23572_ = v_fileName_23640_; +v___y_23573_ = v_a_23645_; +v___y_23574_ = v___y_23637_; +v___y_23575_ = v___x_23652_; +v___y_23576_ = v___x_23649_; +v___y_23577_ = v___x_23651_; +v___y_23578_ = v___y_23638_; +v___y_23579_ = v___y_23569_; +goto v___jp_23571_; +} +else +{ +lean_object* v___x_23653_; lean_object* v___x_23654_; lean_object* v___f_23655_; uint8_t v___x_23656_; +v___x_23653_ = lean_box(v___y_23635_); +v___x_23654_ = lean_box(v_suppressElabErrors_23642_); +v___f_23655_ = lean_alloc_closure((void*)(l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___lam__0___boxed), 3, 2); +lean_closure_set(v___f_23655_, 0, v___x_23653_); +lean_closure_set(v___f_23655_, 1, v___x_23654_); +lean_inc(v_a_23645_); +v___x_23656_ = l_Lean_MessageData_hasTag(v___f_23655_, v_a_23645_); +if (v___x_23656_ == 0) +{ +lean_object* v___x_23657_; lean_object* v___x_23659_; +lean_dec_ref(v___x_23651_); +lean_dec_ref(v___x_23649_); +lean_dec(v_a_23645_); +lean_dec_ref(v_fileName_23640_); +v___x_23657_ = lean_box(0); +if (v_isShared_23648_ == 0) +{ +lean_ctor_set(v___x_23647_, 0, v___x_23657_); +v___x_23659_ = v___x_23647_; +goto v_reusejp_23658_; +} +else +{ +lean_object* v_reuseFailAlloc_23660_; +v_reuseFailAlloc_23660_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23660_, 0, v___x_23657_); +v___x_23659_ = v_reuseFailAlloc_23660_; +goto v_reusejp_23658_; +} +v_reusejp_23658_: +{ +return v___x_23659_; +} +} +else +{ +lean_del_object(v___x_23647_); +v___y_23572_ = v_fileName_23640_; +v___y_23573_ = v_a_23645_; +v___y_23574_ = v___y_23637_; +v___y_23575_ = v___x_23652_; +v___y_23576_ = v___x_23649_; +v___y_23577_ = v___x_23651_; +v___y_23578_ = v___y_23638_; +v___y_23579_ = v___y_23569_; +goto v___jp_23571_; +} +} +} +} +v___jp_23662_: +{ +lean_object* v___x_23668_; +v___x_23668_ = l_Lean_Syntax_getTailPos_x3f(v___y_23664_, v___y_23666_); +lean_dec(v___y_23664_); +if (lean_obj_tag(v___x_23668_) == 0) +{ +lean_inc(v___y_23667_); +v___y_23635_ = v___y_23663_; +v___y_23636_ = v___y_23667_; +v___y_23637_ = v___y_23665_; +v___y_23638_ = v___y_23666_; +v___y_23639_ = v___y_23667_; +goto v___jp_23634_; +} +else +{ +lean_object* v_val_23669_; +v_val_23669_ = lean_ctor_get(v___x_23668_, 0); +lean_inc(v_val_23669_); +lean_dec_ref(v___x_23668_); +v___y_23635_ = v___y_23663_; +v___y_23636_ = v___y_23667_; +v___y_23637_ = v___y_23665_; +v___y_23638_ = v___y_23666_; +v___y_23639_ = v_val_23669_; +goto v___jp_23634_; +} +} +v___jp_23670_: +{ +lean_object* v___x_23674_; +v___x_23674_ = l_Lean_Elab_Command_getRef___redArg(v___y_23568_); +if (lean_obj_tag(v___x_23674_) == 0) +{ +lean_object* v_a_23675_; lean_object* v_ref_23676_; lean_object* v___x_23677_; +v_a_23675_ = lean_ctor_get(v___x_23674_, 0); +lean_inc(v_a_23675_); +lean_dec_ref(v___x_23674_); +v_ref_23676_ = l_Lean_replaceRef(v_ref_23564_, v_a_23675_); +lean_dec(v_a_23675_); +v___x_23677_ = l_Lean_Syntax_getPos_x3f(v_ref_23676_, v___y_23672_); +if (lean_obj_tag(v___x_23677_) == 0) +{ +lean_object* v___x_23678_; +v___x_23678_ = lean_unsigned_to_nat(0u); +v___y_23663_ = v___y_23671_; +v___y_23664_ = v_ref_23676_; +v___y_23665_ = v___y_23673_; +v___y_23666_ = v___y_23672_; +v___y_23667_ = v___x_23678_; +goto v___jp_23662_; +} +else +{ +lean_object* v_val_23679_; +v_val_23679_ = lean_ctor_get(v___x_23677_, 0); +lean_inc(v_val_23679_); +lean_dec_ref(v___x_23677_); +v___y_23663_ = v___y_23671_; +v___y_23664_ = v_ref_23676_; +v___y_23665_ = v___y_23673_; +v___y_23666_ = v___y_23672_; +v___y_23667_ = v_val_23679_; +goto v___jp_23662_; +} +} +else +{ +lean_object* v_a_23680_; lean_object* v___x_23682_; uint8_t v_isShared_23683_; uint8_t v_isSharedCheck_23687_; +lean_dec_ref(v___y_23568_); +lean_dec_ref(v_msgData_23565_); +v_a_23680_ = lean_ctor_get(v___x_23674_, 0); +v_isSharedCheck_23687_ = !lean_is_exclusive(v___x_23674_); +if (v_isSharedCheck_23687_ == 0) +{ +v___x_23682_ = v___x_23674_; +v_isShared_23683_ = v_isSharedCheck_23687_; +goto v_resetjp_23681_; +} +else +{ +lean_inc(v_a_23680_); +lean_dec(v___x_23674_); +v___x_23682_ = lean_box(0); +v_isShared_23683_ = v_isSharedCheck_23687_; +goto v_resetjp_23681_; +} +v_resetjp_23681_: +{ +lean_object* v___x_23685_; +if (v_isShared_23683_ == 0) +{ +v___x_23685_ = v___x_23682_; +goto v_reusejp_23684_; +} +else +{ +lean_object* v_reuseFailAlloc_23686_; +v_reuseFailAlloc_23686_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23686_, 0, v_a_23680_); +v___x_23685_ = v_reuseFailAlloc_23686_; +goto v_reusejp_23684_; +} +v_reusejp_23684_: +{ return v___x_23685_; } } -LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13___boxed(lean_object* v_ref_23686_, lean_object* v_msgData_23687_, lean_object* v___y_23688_, lean_object* v___y_23689_, lean_object* v___y_23690_){ -_start: -{ -lean_object* v_res_23691_; -v_res_23691_ = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(v_ref_23686_, v_msgData_23687_, v___y_23688_, v___y_23689_); -lean_dec(v___y_23689_); -lean_dec(v_ref_23686_); -return v_res_23691_; } } -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(lean_object* v_msgData_23692_, uint8_t v_severity_23693_, uint8_t v_isSilent_23694_, lean_object* v___y_23695_, lean_object* v___y_23696_){ -_start: +v___jp_23689_: { -lean_object* v___x_23698_; -v___x_23698_ = l_Lean_Elab_Command_getRef___redArg(v___y_23695_); -if (lean_obj_tag(v___x_23698_) == 0) +if (v___y_23692_ == 0) { -lean_object* v_a_23699_; lean_object* v___x_23700_; -v_a_23699_ = lean_ctor_get(v___x_23698_, 0); -lean_inc(v_a_23699_); -lean_dec_ref(v___x_23698_); -v___x_23700_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_a_23699_, v_msgData_23692_, v_severity_23693_, v_isSilent_23694_, v___y_23695_, v___y_23696_); -lean_dec(v_a_23699_); -return v___x_23700_; +v___y_23671_ = v___y_23690_; +v___y_23672_ = v___y_23691_; +v___y_23673_ = v_severity_23566_; +goto v___jp_23670_; } else { -lean_object* v_a_23701_; lean_object* v___x_23703_; uint8_t v_isShared_23704_; uint8_t v_isSharedCheck_23708_; -lean_dec_ref(v___y_23695_); -lean_dec_ref(v_msgData_23692_); -v_a_23701_ = lean_ctor_get(v___x_23698_, 0); -v_isSharedCheck_23708_ = !lean_is_exclusive(v___x_23698_); -if (v_isSharedCheck_23708_ == 0) -{ -v___x_23703_ = v___x_23698_; -v_isShared_23704_ = v_isSharedCheck_23708_; -goto v_resetjp_23702_; +v___y_23671_ = v___y_23690_; +v___y_23672_ = v___y_23691_; +v___y_23673_ = v___x_23688_; +goto v___jp_23670_; } -else +} +v___jp_23693_: { -lean_inc(v_a_23701_); +if (v___y_23694_ == 0) +{ +lean_object* v___x_23695_; lean_object* v_scopes_23696_; lean_object* v___x_23697_; lean_object* v___x_23698_; lean_object* v_opts_23699_; uint8_t v___x_23700_; uint8_t v___x_23701_; +v___x_23695_ = lean_st_ref_get(v___y_23569_); +v_scopes_23696_ = lean_ctor_get(v___x_23695_, 2); +lean_inc(v_scopes_23696_); +lean_dec(v___x_23695_); +v___x_23697_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_23698_ = l_List_head_x21___redArg(v___x_23697_, v_scopes_23696_); +lean_dec(v_scopes_23696_); +v_opts_23699_ = lean_ctor_get(v___x_23698_, 1); +lean_inc_ref(v_opts_23699_); lean_dec(v___x_23698_); -v___x_23703_ = lean_box(0); -v_isShared_23704_ = v_isSharedCheck_23708_; -goto v_resetjp_23702_; -} -v_resetjp_23702_: +v___x_23700_ = 1; +v___x_23701_ = l_Lean_instBEqMessageSeverity_beq(v_severity_23566_, v___x_23700_); +if (v___x_23701_ == 0) { -lean_object* v___x_23706_; -if (v_isShared_23704_ == 0) -{ -v___x_23706_ = v___x_23703_; -goto v_reusejp_23705_; +lean_dec_ref(v_opts_23699_); +v___y_23690_ = v___y_23694_; +v___y_23691_ = v___y_23694_; +v___y_23692_ = v___x_23701_; +goto v___jp_23689_; } else { -lean_object* v_reuseFailAlloc_23707_; -v_reuseFailAlloc_23707_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23707_, 0, v_a_23701_); -v___x_23706_ = v_reuseFailAlloc_23707_; -goto v_reusejp_23705_; +lean_object* v___x_23702_; uint8_t v___x_23703_; +v___x_23702_ = l_Lean_warningAsError; +v___x_23703_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_23699_, v___x_23702_); +lean_dec_ref(v_opts_23699_); +v___y_23690_ = v___y_23694_; +v___y_23691_ = v___y_23694_; +v___y_23692_ = v___x_23703_; +goto v___jp_23689_; } -v_reusejp_23705_: +} +else { -return v___x_23706_; +lean_object* v___x_23704_; lean_object* v___x_23705_; +lean_dec_ref(v___y_23568_); +lean_dec_ref(v_msgData_23565_); +v___x_23704_ = lean_box(0); +v___x_23705_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23705_, 0, v___x_23704_); +return v___x_23705_; } } } } -} -LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17___boxed(lean_object* v_msgData_23709_, lean_object* v_severity_23710_, lean_object* v_isSilent_23711_, lean_object* v___y_23712_, lean_object* v___y_23713_, lean_object* v___y_23714_){ +LEAN_EXPORT lean_object* l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15___boxed(lean_object* v_ref_23708_, lean_object* v_msgData_23709_, lean_object* v_severity_23710_, lean_object* v_isSilent_23711_, lean_object* v___y_23712_, lean_object* v___y_23713_, lean_object* v___y_23714_){ _start: { uint8_t v_severity_boxed_23715_; uint8_t v_isSilent_boxed_23716_; lean_object* v_res_23717_; v_severity_boxed_23715_ = lean_unbox(v_severity_23710_); v_isSilent_boxed_23716_ = lean_unbox(v_isSilent_23711_); -v_res_23717_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(v_msgData_23709_, v_severity_boxed_23715_, v_isSilent_boxed_23716_, v___y_23712_, v___y_23713_); +v_res_23717_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_ref_23708_, v_msgData_23709_, v_severity_boxed_23715_, v_isSilent_boxed_23716_, v___y_23712_, v___y_23713_); lean_dec(v___y_23713_); +lean_dec(v_ref_23708_); return v_res_23717_; } } -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(lean_object* v_msgData_23718_, lean_object* v___y_23719_, lean_object* v___y_23720_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(lean_object* v_ref_23718_, lean_object* v_msgData_23719_, lean_object* v___y_23720_, lean_object* v___y_23721_){ _start: { -uint8_t v___x_23722_; uint8_t v___x_23723_; lean_object* v___x_23724_; -v___x_23722_ = 2; -v___x_23723_ = 0; -v___x_23724_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(v_msgData_23718_, v___x_23722_, v___x_23723_, v___y_23719_, v___y_23720_); -return v___x_23724_; +uint8_t v___x_23723_; uint8_t v___x_23724_; lean_object* v___x_23725_; +v___x_23723_ = 2; +v___x_23724_ = 0; +v___x_23725_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_ref_23718_, v_msgData_23719_, v___x_23723_, v___x_23724_, v___y_23720_, v___y_23721_); +return v___x_23725_; } } -LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14___boxed(lean_object* v_msgData_23725_, lean_object* v___y_23726_, lean_object* v___y_23727_, lean_object* v___y_23728_){ +LEAN_EXPORT lean_object* l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13___boxed(lean_object* v_ref_23726_, lean_object* v_msgData_23727_, lean_object* v___y_23728_, lean_object* v___y_23729_, lean_object* v___y_23730_){ _start: { -lean_object* v_res_23729_; -v_res_23729_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(v_msgData_23725_, v___y_23726_, v___y_23727_); -lean_dec(v___y_23727_); -return v_res_23729_; +lean_object* v_res_23731_; +v_res_23731_ = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(v_ref_23726_, v_msgData_23727_, v___y_23728_, v___y_23729_); +lean_dec(v___y_23729_); +lean_dec(v_ref_23726_); +return v_res_23731_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(lean_object* v_ex_23730_, lean_object* v___y_23731_, lean_object* v___y_23732_){ +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(lean_object* v_msgData_23732_, uint8_t v_severity_23733_, uint8_t v_isSilent_23734_, lean_object* v___y_23735_, lean_object* v___y_23736_){ _start: { -if (lean_obj_tag(v_ex_23730_) == 0) +lean_object* v___x_23738_; +v___x_23738_ = l_Lean_Elab_Command_getRef___redArg(v___y_23735_); +if (lean_obj_tag(v___x_23738_) == 0) { -lean_object* v_ref_23734_; lean_object* v_msg_23735_; lean_object* v___x_23736_; -v_ref_23734_ = lean_ctor_get(v_ex_23730_, 0); -lean_inc(v_ref_23734_); -v_msg_23735_ = lean_ctor_get(v_ex_23730_, 1); -lean_inc_ref(v_msg_23735_); -lean_dec_ref(v_ex_23730_); -v___x_23736_ = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(v_ref_23734_, v_msg_23735_, v___y_23731_, v___y_23732_); -lean_dec(v_ref_23734_); -return v___x_23736_; +lean_object* v_a_23739_; lean_object* v___x_23740_; +v_a_23739_ = lean_ctor_get(v___x_23738_, 0); +lean_inc(v_a_23739_); +lean_dec_ref(v___x_23738_); +v___x_23740_ = l_Lean_logAt___at___00Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13_spec__15(v_a_23739_, v_msgData_23732_, v_severity_23733_, v_isSilent_23734_, v___y_23735_, v___y_23736_); +lean_dec(v_a_23739_); +return v___x_23740_; } else { -lean_object* v_id_23737_; uint8_t v___y_23739_; uint8_t v___x_23761_; -v_id_23737_ = lean_ctor_get(v_ex_23730_, 0); -lean_inc(v_id_23737_); -v___x_23761_ = l_Lean_Elab_isAbortExceptionId(v_id_23737_); -if (v___x_23761_ == 0) +lean_object* v_a_23741_; lean_object* v___x_23743_; uint8_t v_isShared_23744_; uint8_t v_isSharedCheck_23748_; +lean_dec_ref(v___y_23735_); +lean_dec_ref(v_msgData_23732_); +v_a_23741_ = lean_ctor_get(v___x_23738_, 0); +v_isSharedCheck_23748_ = !lean_is_exclusive(v___x_23738_); +if (v_isSharedCheck_23748_ == 0) { -uint8_t v___x_23762_; -v___x_23762_ = l_Lean_Exception_isInterrupt(v_ex_23730_); -lean_dec_ref(v_ex_23730_); -v___y_23739_ = v___x_23762_; -goto v___jp_23738_; +v___x_23743_ = v___x_23738_; +v_isShared_23744_ = v_isSharedCheck_23748_; +goto v_resetjp_23742_; } else { -lean_dec_ref(v_ex_23730_); -v___y_23739_ = v___x_23761_; -goto v___jp_23738_; -} -v___jp_23738_: -{ -if (v___y_23739_ == 0) -{ -lean_object* v___x_23740_; -v___x_23740_ = l_Lean_InternalExceptionId_getName(v_id_23737_); -lean_dec(v_id_23737_); -if (lean_obj_tag(v___x_23740_) == 0) -{ -lean_object* v_a_23741_; lean_object* v___x_23742_; lean_object* v___x_23743_; lean_object* v___x_23744_; lean_object* v___x_23745_; -v_a_23741_ = lean_ctor_get(v___x_23740_, 0); lean_inc(v_a_23741_); -lean_dec_ref(v___x_23740_); -v___x_23742_ = lean_obj_once(&l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1, &l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1_once, _init_l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1); -v___x_23743_ = l_Lean_MessageData_ofName(v_a_23741_); -v___x_23744_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23744_, 0, v___x_23742_); -lean_ctor_set(v___x_23744_, 1, v___x_23743_); -v___x_23745_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(v___x_23744_, v___y_23731_, v___y_23732_); -return v___x_23745_; +lean_dec(v___x_23738_); +v___x_23743_ = lean_box(0); +v_isShared_23744_ = v_isSharedCheck_23748_; +goto v_resetjp_23742_; +} +v_resetjp_23742_: +{ +lean_object* v___x_23746_; +if (v_isShared_23744_ == 0) +{ +v___x_23746_ = v___x_23743_; +goto v_reusejp_23745_; } else { -lean_object* v_a_23746_; lean_object* v___x_23748_; uint8_t v_isShared_23749_; uint8_t v_isSharedCheck_23758_; -v_a_23746_ = lean_ctor_get(v___x_23740_, 0); -v_isSharedCheck_23758_ = !lean_is_exclusive(v___x_23740_); -if (v_isSharedCheck_23758_ == 0) +lean_object* v_reuseFailAlloc_23747_; +v_reuseFailAlloc_23747_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23747_, 0, v_a_23741_); +v___x_23746_ = v_reuseFailAlloc_23747_; +goto v_reusejp_23745_; +} +v_reusejp_23745_: { -v___x_23748_ = v___x_23740_; -v_isShared_23749_ = v_isSharedCheck_23758_; -goto v_resetjp_23747_; -} -else -{ -lean_inc(v_a_23746_); -lean_dec(v___x_23740_); -v___x_23748_ = lean_box(0); -v_isShared_23749_ = v_isSharedCheck_23758_; -goto v_resetjp_23747_; -} -v_resetjp_23747_: -{ -lean_object* v_ref_23750_; lean_object* v___x_23751_; lean_object* v___x_23752_; lean_object* v___x_23753_; lean_object* v___x_23754_; lean_object* v___x_23756_; -v_ref_23750_ = lean_ctor_get(v___y_23731_, 7); -lean_inc(v_ref_23750_); -lean_dec_ref(v___y_23731_); -v___x_23751_ = lean_io_error_to_string(v_a_23746_); -v___x_23752_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_23752_, 0, v___x_23751_); -v___x_23753_ = l_Lean_MessageData_ofFormat(v___x_23752_); -v___x_23754_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23754_, 0, v_ref_23750_); -lean_ctor_set(v___x_23754_, 1, v___x_23753_); -if (v_isShared_23749_ == 0) -{ -lean_ctor_set(v___x_23748_, 0, v___x_23754_); -v___x_23756_ = v___x_23748_; -goto v_reusejp_23755_; -} -else -{ -lean_object* v_reuseFailAlloc_23757_; -v_reuseFailAlloc_23757_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23757_, 0, v___x_23754_); -v___x_23756_ = v_reuseFailAlloc_23757_; -goto v_reusejp_23755_; -} -v_reusejp_23755_: -{ -return v___x_23756_; -} -} -} -} -else -{ -lean_object* v___x_23759_; lean_object* v___x_23760_; -lean_dec(v_id_23737_); -lean_dec_ref(v___y_23731_); -v___x_23759_ = lean_box(0); -v___x_23760_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23760_, 0, v___x_23759_); -return v___x_23760_; +return v___x_23746_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10___boxed(lean_object* v_ex_23763_, lean_object* v___y_23764_, lean_object* v___y_23765_, lean_object* v___y_23766_){ +LEAN_EXPORT lean_object* l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17___boxed(lean_object* v_msgData_23749_, lean_object* v_severity_23750_, lean_object* v_isSilent_23751_, lean_object* v___y_23752_, lean_object* v___y_23753_, lean_object* v___y_23754_){ _start: { -lean_object* v_res_23767_; -v_res_23767_ = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(v_ex_23763_, v___y_23764_, v___y_23765_); -lean_dec(v___y_23765_); -return v_res_23767_; +uint8_t v_severity_boxed_23755_; uint8_t v_isSilent_boxed_23756_; lean_object* v_res_23757_; +v_severity_boxed_23755_ = lean_unbox(v_severity_23750_); +v_isSilent_boxed_23756_ = lean_unbox(v_isSilent_23751_); +v_res_23757_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(v_msgData_23749_, v_severity_boxed_23755_, v_isSilent_boxed_23756_, v___y_23752_, v___y_23753_); +lean_dec(v___y_23753_); +return v_res_23757_; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(lean_object* v_cls_23768_, lean_object* v_msg_23769_, lean_object* v___y_23770_, lean_object* v___y_23771_){ +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(lean_object* v_msgData_23758_, lean_object* v___y_23759_, lean_object* v___y_23760_){ _start: { -lean_object* v___x_23773_; -v___x_23773_ = l_Lean_Elab_Command_getRef___redArg(v___y_23770_); -if (lean_obj_tag(v___x_23773_) == 0) +uint8_t v___x_23762_; uint8_t v___x_23763_; lean_object* v___x_23764_; +v___x_23762_ = 2; +v___x_23763_ = 0; +v___x_23764_ = l_Lean_log___at___00Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14_spec__17(v_msgData_23758_, v___x_23762_, v___x_23763_, v___y_23759_, v___y_23760_); +return v___x_23764_; +} +} +LEAN_EXPORT lean_object* l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14___boxed(lean_object* v_msgData_23765_, lean_object* v___y_23766_, lean_object* v___y_23767_, lean_object* v___y_23768_){ +_start: { -lean_object* v_a_23774_; lean_object* v___x_23775_; lean_object* v_a_23776_; lean_object* v___x_23778_; uint8_t v_isShared_23779_; uint8_t v_isSharedCheck_23822_; -v_a_23774_ = lean_ctor_get(v___x_23773_, 0); -lean_inc(v_a_23774_); -lean_dec_ref(v___x_23773_); -v___x_23775_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msg_23769_, v___y_23771_); -v_a_23776_ = lean_ctor_get(v___x_23775_, 0); -v_isSharedCheck_23822_ = !lean_is_exclusive(v___x_23775_); -if (v_isSharedCheck_23822_ == 0) +lean_object* v_res_23769_; +v_res_23769_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(v_msgData_23765_, v___y_23766_, v___y_23767_); +lean_dec(v___y_23767_); +return v_res_23769_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(lean_object* v_ex_23770_, lean_object* v___y_23771_, lean_object* v___y_23772_){ +_start: { -v___x_23778_ = v___x_23775_; -v_isShared_23779_ = v_isSharedCheck_23822_; -goto v_resetjp_23777_; +if (lean_obj_tag(v_ex_23770_) == 0) +{ +lean_object* v_ref_23774_; lean_object* v_msg_23775_; lean_object* v___x_23776_; +v_ref_23774_ = lean_ctor_get(v_ex_23770_, 0); +lean_inc(v_ref_23774_); +v_msg_23775_ = lean_ctor_get(v_ex_23770_, 1); +lean_inc_ref(v_msg_23775_); +lean_dec_ref(v_ex_23770_); +v___x_23776_ = l_Lean_logErrorAt___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__13(v_ref_23774_, v_msg_23775_, v___y_23771_, v___y_23772_); +lean_dec(v_ref_23774_); +return v___x_23776_; } else { -lean_inc(v_a_23776_); -lean_dec(v___x_23775_); -v___x_23778_ = lean_box(0); -v_isShared_23779_ = v_isSharedCheck_23822_; -goto v_resetjp_23777_; -} -v_resetjp_23777_: +lean_object* v_id_23777_; uint8_t v___y_23779_; uint8_t v___x_23801_; +v_id_23777_ = lean_ctor_get(v_ex_23770_, 0); +lean_inc(v_id_23777_); +v___x_23801_ = l_Lean_Elab_isAbortExceptionId(v_id_23777_); +if (v___x_23801_ == 0) { -lean_object* v___x_23780_; lean_object* v_traceState_23781_; lean_object* v_env_23782_; lean_object* v_messages_23783_; lean_object* v_scopes_23784_; lean_object* v_usedQuotCtxts_23785_; lean_object* v_nextMacroScope_23786_; lean_object* v_maxRecDepth_23787_; lean_object* v_ngen_23788_; lean_object* v_auxDeclNGen_23789_; lean_object* v_infoState_23790_; lean_object* v_snapshotTasks_23791_; lean_object* v___x_23793_; uint8_t v_isShared_23794_; uint8_t v_isSharedCheck_23821_; -v___x_23780_ = lean_st_ref_take(v___y_23771_); -v_traceState_23781_ = lean_ctor_get(v___x_23780_, 9); -v_env_23782_ = lean_ctor_get(v___x_23780_, 0); -v_messages_23783_ = lean_ctor_get(v___x_23780_, 1); -v_scopes_23784_ = lean_ctor_get(v___x_23780_, 2); -v_usedQuotCtxts_23785_ = lean_ctor_get(v___x_23780_, 3); -v_nextMacroScope_23786_ = lean_ctor_get(v___x_23780_, 4); -v_maxRecDepth_23787_ = lean_ctor_get(v___x_23780_, 5); -v_ngen_23788_ = lean_ctor_get(v___x_23780_, 6); -v_auxDeclNGen_23789_ = lean_ctor_get(v___x_23780_, 7); -v_infoState_23790_ = lean_ctor_get(v___x_23780_, 8); -v_snapshotTasks_23791_ = lean_ctor_get(v___x_23780_, 10); -v_isSharedCheck_23821_ = !lean_is_exclusive(v___x_23780_); -if (v_isSharedCheck_23821_ == 0) -{ -v___x_23793_ = v___x_23780_; -v_isShared_23794_ = v_isSharedCheck_23821_; -goto v_resetjp_23792_; +uint8_t v___x_23802_; +v___x_23802_ = l_Lean_Exception_isInterrupt(v_ex_23770_); +lean_dec_ref(v_ex_23770_); +v___y_23779_ = v___x_23802_; +goto v___jp_23778_; } else { -lean_inc(v_snapshotTasks_23791_); -lean_inc(v_traceState_23781_); -lean_inc(v_infoState_23790_); -lean_inc(v_auxDeclNGen_23789_); -lean_inc(v_ngen_23788_); -lean_inc(v_maxRecDepth_23787_); -lean_inc(v_nextMacroScope_23786_); -lean_inc(v_usedQuotCtxts_23785_); -lean_inc(v_scopes_23784_); -lean_inc(v_messages_23783_); -lean_inc(v_env_23782_); +lean_dec_ref(v_ex_23770_); +v___y_23779_ = v___x_23801_; +goto v___jp_23778_; +} +v___jp_23778_: +{ +if (v___y_23779_ == 0) +{ +lean_object* v___x_23780_; +v___x_23780_ = l_Lean_InternalExceptionId_getName(v_id_23777_); +lean_dec(v_id_23777_); +if (lean_obj_tag(v___x_23780_) == 0) +{ +lean_object* v_a_23781_; lean_object* v___x_23782_; lean_object* v___x_23783_; lean_object* v___x_23784_; lean_object* v___x_23785_; +v_a_23781_ = lean_ctor_get(v___x_23780_, 0); +lean_inc(v_a_23781_); +lean_dec_ref(v___x_23780_); +v___x_23782_ = lean_obj_once(&l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1, &l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1_once, _init_l_Lean_Elab_logException___at___00Lean_Elab_withLogging___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_processDeriving_spec__3_spec__4___closed__1); +v___x_23783_ = l_Lean_MessageData_ofName(v_a_23781_); +v___x_23784_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23784_, 0, v___x_23782_); +lean_ctor_set(v___x_23784_, 1, v___x_23783_); +v___x_23785_ = l_Lean_logError___at___00Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10_spec__14(v___x_23784_, v___y_23771_, v___y_23772_); +return v___x_23785_; +} +else +{ +lean_object* v_a_23786_; lean_object* v___x_23788_; uint8_t v_isShared_23789_; uint8_t v_isSharedCheck_23798_; +v_a_23786_ = lean_ctor_get(v___x_23780_, 0); +v_isSharedCheck_23798_ = !lean_is_exclusive(v___x_23780_); +if (v_isSharedCheck_23798_ == 0) +{ +v___x_23788_ = v___x_23780_; +v_isShared_23789_ = v_isSharedCheck_23798_; +goto v_resetjp_23787_; +} +else +{ +lean_inc(v_a_23786_); lean_dec(v___x_23780_); -v___x_23793_ = lean_box(0); -v_isShared_23794_ = v_isSharedCheck_23821_; -goto v_resetjp_23792_; +v___x_23788_ = lean_box(0); +v_isShared_23789_ = v_isSharedCheck_23798_; +goto v_resetjp_23787_; } -v_resetjp_23792_: +v_resetjp_23787_: { -uint64_t v_tid_23795_; lean_object* v_traces_23796_; lean_object* v___x_23798_; uint8_t v_isShared_23799_; uint8_t v_isSharedCheck_23820_; -v_tid_23795_ = lean_ctor_get_uint64(v_traceState_23781_, sizeof(void*)*1); -v_traces_23796_ = lean_ctor_get(v_traceState_23781_, 0); -v_isSharedCheck_23820_ = !lean_is_exclusive(v_traceState_23781_); -if (v_isSharedCheck_23820_ == 0) +lean_object* v_ref_23790_; lean_object* v___x_23791_; lean_object* v___x_23792_; lean_object* v___x_23793_; lean_object* v___x_23794_; lean_object* v___x_23796_; +v_ref_23790_ = lean_ctor_get(v___y_23771_, 7); +lean_inc(v_ref_23790_); +lean_dec_ref(v___y_23771_); +v___x_23791_ = lean_io_error_to_string(v_a_23786_); +v___x_23792_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_23792_, 0, v___x_23791_); +v___x_23793_ = l_Lean_MessageData_ofFormat(v___x_23792_); +v___x_23794_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23794_, 0, v_ref_23790_); +lean_ctor_set(v___x_23794_, 1, v___x_23793_); +if (v_isShared_23789_ == 0) { -v___x_23798_ = v_traceState_23781_; -v_isShared_23799_ = v_isSharedCheck_23820_; -goto v_resetjp_23797_; +lean_ctor_set(v___x_23788_, 0, v___x_23794_); +v___x_23796_ = v___x_23788_; +goto v_reusejp_23795_; } else { -lean_inc(v_traces_23796_); -lean_dec(v_traceState_23781_); -v___x_23798_ = lean_box(0); -v_isShared_23799_ = v_isSharedCheck_23820_; -goto v_resetjp_23797_; +lean_object* v_reuseFailAlloc_23797_; +v_reuseFailAlloc_23797_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23797_, 0, v___x_23794_); +v___x_23796_ = v_reuseFailAlloc_23797_; +goto v_reusejp_23795_; } -v_resetjp_23797_: +v_reusejp_23795_: { -lean_object* v___x_23800_; double v___x_23801_; uint8_t v___x_23802_; lean_object* v___x_23803_; lean_object* v___x_23804_; lean_object* v___x_23805_; lean_object* v___x_23806_; lean_object* v___x_23807_; lean_object* v___x_23808_; lean_object* v___x_23810_; -v___x_23800_ = lean_box(0); -v___x_23801_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0, &l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0); -v___x_23802_ = 0; -v___x_23803_ = ((lean_object*)(l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters_spec__1___closed__0)); -v___x_23804_ = lean_alloc_ctor(0, 3, 17); -lean_ctor_set(v___x_23804_, 0, v_cls_23768_); -lean_ctor_set(v___x_23804_, 1, v___x_23800_); -lean_ctor_set(v___x_23804_, 2, v___x_23803_); -lean_ctor_set_float(v___x_23804_, sizeof(void*)*3, v___x_23801_); -lean_ctor_set_float(v___x_23804_, sizeof(void*)*3 + 8, v___x_23801_); -lean_ctor_set_uint8(v___x_23804_, sizeof(void*)*3 + 16, v___x_23802_); -v___x_23805_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__1)); -v___x_23806_ = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(v___x_23806_, 0, v___x_23804_); -lean_ctor_set(v___x_23806_, 1, v_a_23776_); -lean_ctor_set(v___x_23806_, 2, v___x_23805_); -v___x_23807_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_23807_, 0, v_a_23774_); -lean_ctor_set(v___x_23807_, 1, v___x_23806_); -v___x_23808_ = l_Lean_PersistentArray_push___redArg(v_traces_23796_, v___x_23807_); -if (v_isShared_23799_ == 0) -{ -lean_ctor_set(v___x_23798_, 0, v___x_23808_); -v___x_23810_ = v___x_23798_; -goto v_reusejp_23809_; -} -else -{ -lean_object* v_reuseFailAlloc_23819_; -v_reuseFailAlloc_23819_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_23819_, 0, v___x_23808_); -lean_ctor_set_uint64(v_reuseFailAlloc_23819_, sizeof(void*)*1, v_tid_23795_); -v___x_23810_ = v_reuseFailAlloc_23819_; -goto v_reusejp_23809_; -} -v_reusejp_23809_: -{ -lean_object* v___x_23812_; -if (v_isShared_23794_ == 0) -{ -lean_ctor_set(v___x_23793_, 9, v___x_23810_); -v___x_23812_ = v___x_23793_; -goto v_reusejp_23811_; -} -else -{ -lean_object* v_reuseFailAlloc_23818_; -v_reuseFailAlloc_23818_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_23818_, 0, v_env_23782_); -lean_ctor_set(v_reuseFailAlloc_23818_, 1, v_messages_23783_); -lean_ctor_set(v_reuseFailAlloc_23818_, 2, v_scopes_23784_); -lean_ctor_set(v_reuseFailAlloc_23818_, 3, v_usedQuotCtxts_23785_); -lean_ctor_set(v_reuseFailAlloc_23818_, 4, v_nextMacroScope_23786_); -lean_ctor_set(v_reuseFailAlloc_23818_, 5, v_maxRecDepth_23787_); -lean_ctor_set(v_reuseFailAlloc_23818_, 6, v_ngen_23788_); -lean_ctor_set(v_reuseFailAlloc_23818_, 7, v_auxDeclNGen_23789_); -lean_ctor_set(v_reuseFailAlloc_23818_, 8, v_infoState_23790_); -lean_ctor_set(v_reuseFailAlloc_23818_, 9, v___x_23810_); -lean_ctor_set(v_reuseFailAlloc_23818_, 10, v_snapshotTasks_23791_); -v___x_23812_ = v_reuseFailAlloc_23818_; -goto v_reusejp_23811_; -} -v_reusejp_23811_: -{ -lean_object* v___x_23813_; lean_object* v___x_23814_; lean_object* v___x_23816_; -v___x_23813_ = lean_st_ref_set(v___y_23771_, v___x_23812_); -v___x_23814_ = lean_box(0); -if (v_isShared_23779_ == 0) -{ -lean_ctor_set(v___x_23778_, 0, v___x_23814_); -v___x_23816_ = v___x_23778_; -goto v_reusejp_23815_; -} -else -{ -lean_object* v_reuseFailAlloc_23817_; -v_reuseFailAlloc_23817_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23817_, 0, v___x_23814_); -v___x_23816_ = v_reuseFailAlloc_23817_; -goto v_reusejp_23815_; -} -v_reusejp_23815_: -{ -return v___x_23816_; -} -} -} +return v___x_23796_; } } } } else { -lean_object* v_a_23823_; lean_object* v___x_23825_; uint8_t v_isShared_23826_; uint8_t v_isSharedCheck_23830_; -lean_dec_ref(v_msg_23769_); -lean_dec(v_cls_23768_); -v_a_23823_ = lean_ctor_get(v___x_23773_, 0); -v_isSharedCheck_23830_ = !lean_is_exclusive(v___x_23773_); -if (v_isSharedCheck_23830_ == 0) -{ -v___x_23825_ = v___x_23773_; -v_isShared_23826_ = v_isSharedCheck_23830_; -goto v_resetjp_23824_; -} -else -{ -lean_inc(v_a_23823_); -lean_dec(v___x_23773_); -v___x_23825_ = lean_box(0); -v_isShared_23826_ = v_isSharedCheck_23830_; -goto v_resetjp_23824_; -} -v_resetjp_23824_: -{ -lean_object* v___x_23828_; -if (v_isShared_23826_ == 0) -{ -v___x_23828_ = v___x_23825_; -goto v_reusejp_23827_; -} -else -{ -lean_object* v_reuseFailAlloc_23829_; -v_reuseFailAlloc_23829_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_23829_, 0, v_a_23823_); -v___x_23828_ = v_reuseFailAlloc_23829_; -goto v_reusejp_23827_; -} -v_reusejp_23827_: -{ -return v___x_23828_; +lean_object* v___x_23799_; lean_object* v___x_23800_; +lean_dec(v_id_23777_); +lean_dec_ref(v___y_23771_); +v___x_23799_ = lean_box(0); +v___x_23800_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23800_, 0, v___x_23799_); +return v___x_23800_; } } } } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21___boxed(lean_object* v_cls_23831_, lean_object* v_msg_23832_, lean_object* v___y_23833_, lean_object* v___y_23834_, lean_object* v___y_23835_){ +LEAN_EXPORT lean_object* l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10___boxed(lean_object* v_ex_23803_, lean_object* v___y_23804_, lean_object* v___y_23805_, lean_object* v___y_23806_){ _start: { -lean_object* v_res_23836_; -v_res_23836_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_cls_23831_, v_msg_23832_, v___y_23833_, v___y_23834_); -lean_dec(v___y_23834_); -lean_dec_ref(v___y_23833_); -return v_res_23836_; +lean_object* v_res_23807_; +v_res_23807_ = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(v_ex_23803_, v___y_23804_, v___y_23805_); +lean_dec(v___y_23805_); +return v_res_23807_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(lean_object* v_cls_23837_, lean_object* v___y_23838_){ +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(lean_object* v_cls_23808_, lean_object* v_msg_23809_, lean_object* v___y_23810_, lean_object* v___y_23811_){ _start: { -lean_object* v___x_23840_; lean_object* v___x_23841_; lean_object* v___x_23842_; lean_object* v_scopes_23843_; lean_object* v___x_23844_; lean_object* v___x_23845_; lean_object* v_opts_23846_; uint8_t v_hasTrace_23847_; -v___x_23840_ = l_Lean_inheritedTraceOptions; -v___x_23841_ = lean_st_ref_get(v___x_23840_); -v___x_23842_ = lean_st_ref_get(v___y_23838_); -v_scopes_23843_ = lean_ctor_get(v___x_23842_, 2); -lean_inc(v_scopes_23843_); -lean_dec(v___x_23842_); -v___x_23844_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_23845_ = l_List_head_x21___redArg(v___x_23844_, v_scopes_23843_); -lean_dec(v_scopes_23843_); -v_opts_23846_ = lean_ctor_get(v___x_23845_, 1); -lean_inc_ref(v_opts_23846_); -lean_dec(v___x_23845_); -v_hasTrace_23847_ = lean_ctor_get_uint8(v_opts_23846_, sizeof(void*)*1); -if (v_hasTrace_23847_ == 0) +lean_object* v___x_23813_; +v___x_23813_ = l_Lean_Elab_Command_getRef___redArg(v___y_23810_); +if (lean_obj_tag(v___x_23813_) == 0) { -lean_object* v___x_23848_; lean_object* v___x_23849_; -lean_dec_ref(v_opts_23846_); -lean_dec(v___x_23841_); -lean_dec(v_cls_23837_); -v___x_23848_ = lean_box(v_hasTrace_23847_); -v___x_23849_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23849_, 0, v___x_23848_); -return v___x_23849_; +lean_object* v_a_23814_; lean_object* v___x_23815_; lean_object* v_a_23816_; lean_object* v___x_23818_; uint8_t v_isShared_23819_; uint8_t v_isSharedCheck_23862_; +v_a_23814_ = lean_ctor_get(v___x_23813_, 0); +lean_inc(v_a_23814_); +lean_dec_ref(v___x_23813_); +v___x_23815_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msg_23809_, v___y_23811_); +v_a_23816_ = lean_ctor_get(v___x_23815_, 0); +v_isSharedCheck_23862_ = !lean_is_exclusive(v___x_23815_); +if (v_isSharedCheck_23862_ == 0) +{ +v___x_23818_ = v___x_23815_; +v_isShared_23819_ = v_isSharedCheck_23862_; +goto v_resetjp_23817_; } else { -lean_object* v___x_23850_; lean_object* v___x_23851_; uint8_t v___x_23852_; lean_object* v___x_23853_; lean_object* v___x_23854_; -v___x_23850_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__1)); -v___x_23851_ = l_Lean_Name_append(v___x_23850_, v_cls_23837_); -v___x_23852_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v___x_23841_, v_opts_23846_, v___x_23851_); -lean_dec(v___x_23851_); -lean_dec_ref(v_opts_23846_); -lean_dec(v___x_23841_); -v___x_23853_ = lean_box(v___x_23852_); -v___x_23854_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23854_, 0, v___x_23853_); -return v___x_23854_; +lean_inc(v_a_23816_); +lean_dec(v___x_23815_); +v___x_23818_ = lean_box(0); +v_isShared_23819_ = v_isSharedCheck_23862_; +goto v_resetjp_23817_; +} +v_resetjp_23817_: +{ +lean_object* v___x_23820_; lean_object* v_traceState_23821_; lean_object* v_env_23822_; lean_object* v_messages_23823_; lean_object* v_scopes_23824_; lean_object* v_usedQuotCtxts_23825_; lean_object* v_nextMacroScope_23826_; lean_object* v_maxRecDepth_23827_; lean_object* v_ngen_23828_; lean_object* v_auxDeclNGen_23829_; lean_object* v_infoState_23830_; lean_object* v_snapshotTasks_23831_; lean_object* v___x_23833_; uint8_t v_isShared_23834_; uint8_t v_isSharedCheck_23861_; +v___x_23820_ = lean_st_ref_take(v___y_23811_); +v_traceState_23821_ = lean_ctor_get(v___x_23820_, 9); +v_env_23822_ = lean_ctor_get(v___x_23820_, 0); +v_messages_23823_ = lean_ctor_get(v___x_23820_, 1); +v_scopes_23824_ = lean_ctor_get(v___x_23820_, 2); +v_usedQuotCtxts_23825_ = lean_ctor_get(v___x_23820_, 3); +v_nextMacroScope_23826_ = lean_ctor_get(v___x_23820_, 4); +v_maxRecDepth_23827_ = lean_ctor_get(v___x_23820_, 5); +v_ngen_23828_ = lean_ctor_get(v___x_23820_, 6); +v_auxDeclNGen_23829_ = lean_ctor_get(v___x_23820_, 7); +v_infoState_23830_ = lean_ctor_get(v___x_23820_, 8); +v_snapshotTasks_23831_ = lean_ctor_get(v___x_23820_, 10); +v_isSharedCheck_23861_ = !lean_is_exclusive(v___x_23820_); +if (v_isSharedCheck_23861_ == 0) +{ +v___x_23833_ = v___x_23820_; +v_isShared_23834_ = v_isSharedCheck_23861_; +goto v_resetjp_23832_; +} +else +{ +lean_inc(v_snapshotTasks_23831_); +lean_inc(v_traceState_23821_); +lean_inc(v_infoState_23830_); +lean_inc(v_auxDeclNGen_23829_); +lean_inc(v_ngen_23828_); +lean_inc(v_maxRecDepth_23827_); +lean_inc(v_nextMacroScope_23826_); +lean_inc(v_usedQuotCtxts_23825_); +lean_inc(v_scopes_23824_); +lean_inc(v_messages_23823_); +lean_inc(v_env_23822_); +lean_dec(v___x_23820_); +v___x_23833_ = lean_box(0); +v_isShared_23834_ = v_isSharedCheck_23861_; +goto v_resetjp_23832_; +} +v_resetjp_23832_: +{ +uint64_t v_tid_23835_; lean_object* v_traces_23836_; lean_object* v___x_23838_; uint8_t v_isShared_23839_; uint8_t v_isSharedCheck_23860_; +v_tid_23835_ = lean_ctor_get_uint64(v_traceState_23821_, sizeof(void*)*1); +v_traces_23836_ = lean_ctor_get(v_traceState_23821_, 0); +v_isSharedCheck_23860_ = !lean_is_exclusive(v_traceState_23821_); +if (v_isSharedCheck_23860_ == 0) +{ +v___x_23838_ = v_traceState_23821_; +v_isShared_23839_ = v_isSharedCheck_23860_; +goto v_resetjp_23837_; +} +else +{ +lean_inc(v_traces_23836_); +lean_dec(v_traceState_23821_); +v___x_23838_ = lean_box(0); +v_isShared_23839_ = v_isSharedCheck_23860_; +goto v_resetjp_23837_; +} +v_resetjp_23837_: +{ +lean_object* v___x_23840_; double v___x_23841_; uint8_t v___x_23842_; lean_object* v___x_23843_; lean_object* v___x_23844_; lean_object* v___x_23845_; lean_object* v___x_23846_; lean_object* v___x_23847_; lean_object* v___x_23848_; lean_object* v___x_23850_; +v___x_23840_ = lean_box(0); +v___x_23841_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0, &l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__0); +v___x_23842_ = 0; +v___x_23843_ = ((lean_object*)(l___private_Lean_Elab_ErrorUtils_0__List_toOxford___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters_spec__1___closed__0)); +v___x_23844_ = lean_alloc_ctor(0, 3, 17); +lean_ctor_set(v___x_23844_, 0, v_cls_23808_); +lean_ctor_set(v___x_23844_, 1, v___x_23840_); +lean_ctor_set(v___x_23844_, 2, v___x_23843_); +lean_ctor_set_float(v___x_23844_, sizeof(void*)*3, v___x_23841_); +lean_ctor_set_float(v___x_23844_, sizeof(void*)*3 + 8, v___x_23841_); +lean_ctor_set_uint8(v___x_23844_, sizeof(void*)*3 + 16, v___x_23842_); +v___x_23845_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__2___redArg___closed__1)); +v___x_23846_ = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(v___x_23846_, 0, v___x_23844_); +lean_ctor_set(v___x_23846_, 1, v_a_23816_); +lean_ctor_set(v___x_23846_, 2, v___x_23845_); +v___x_23847_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_23847_, 0, v_a_23814_); +lean_ctor_set(v___x_23847_, 1, v___x_23846_); +v___x_23848_ = l_Lean_PersistentArray_push___redArg(v_traces_23836_, v___x_23847_); +if (v_isShared_23839_ == 0) +{ +lean_ctor_set(v___x_23838_, 0, v___x_23848_); +v___x_23850_ = v___x_23838_; +goto v_reusejp_23849_; +} +else +{ +lean_object* v_reuseFailAlloc_23859_; +v_reuseFailAlloc_23859_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_23859_, 0, v___x_23848_); +lean_ctor_set_uint64(v_reuseFailAlloc_23859_, sizeof(void*)*1, v_tid_23835_); +v___x_23850_ = v_reuseFailAlloc_23859_; +goto v_reusejp_23849_; +} +v_reusejp_23849_: +{ +lean_object* v___x_23852_; +if (v_isShared_23834_ == 0) +{ +lean_ctor_set(v___x_23833_, 9, v___x_23850_); +v___x_23852_ = v___x_23833_; +goto v_reusejp_23851_; +} +else +{ +lean_object* v_reuseFailAlloc_23858_; +v_reuseFailAlloc_23858_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_23858_, 0, v_env_23822_); +lean_ctor_set(v_reuseFailAlloc_23858_, 1, v_messages_23823_); +lean_ctor_set(v_reuseFailAlloc_23858_, 2, v_scopes_23824_); +lean_ctor_set(v_reuseFailAlloc_23858_, 3, v_usedQuotCtxts_23825_); +lean_ctor_set(v_reuseFailAlloc_23858_, 4, v_nextMacroScope_23826_); +lean_ctor_set(v_reuseFailAlloc_23858_, 5, v_maxRecDepth_23827_); +lean_ctor_set(v_reuseFailAlloc_23858_, 6, v_ngen_23828_); +lean_ctor_set(v_reuseFailAlloc_23858_, 7, v_auxDeclNGen_23829_); +lean_ctor_set(v_reuseFailAlloc_23858_, 8, v_infoState_23830_); +lean_ctor_set(v_reuseFailAlloc_23858_, 9, v___x_23850_); +lean_ctor_set(v_reuseFailAlloc_23858_, 10, v_snapshotTasks_23831_); +v___x_23852_ = v_reuseFailAlloc_23858_; +goto v_reusejp_23851_; +} +v_reusejp_23851_: +{ +lean_object* v___x_23853_; lean_object* v___x_23854_; lean_object* v___x_23856_; +v___x_23853_ = lean_st_ref_set(v___y_23811_, v___x_23852_); +v___x_23854_ = lean_box(0); +if (v_isShared_23819_ == 0) +{ +lean_ctor_set(v___x_23818_, 0, v___x_23854_); +v___x_23856_ = v___x_23818_; +goto v_reusejp_23855_; +} +else +{ +lean_object* v_reuseFailAlloc_23857_; +v_reuseFailAlloc_23857_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23857_, 0, v___x_23854_); +v___x_23856_ = v_reuseFailAlloc_23857_; +goto v_reusejp_23855_; +} +v_reusejp_23855_: +{ +return v___x_23856_; } } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg___boxed(lean_object* v_cls_23855_, lean_object* v___y_23856_, lean_object* v___y_23857_){ +} +} +} +} +else +{ +lean_object* v_a_23863_; lean_object* v___x_23865_; uint8_t v_isShared_23866_; uint8_t v_isSharedCheck_23870_; +lean_dec_ref(v_msg_23809_); +lean_dec(v_cls_23808_); +v_a_23863_ = lean_ctor_get(v___x_23813_, 0); +v_isSharedCheck_23870_ = !lean_is_exclusive(v___x_23813_); +if (v_isSharedCheck_23870_ == 0) +{ +v___x_23865_ = v___x_23813_; +v_isShared_23866_ = v_isSharedCheck_23870_; +goto v_resetjp_23864_; +} +else +{ +lean_inc(v_a_23863_); +lean_dec(v___x_23813_); +v___x_23865_ = lean_box(0); +v_isShared_23866_ = v_isSharedCheck_23870_; +goto v_resetjp_23864_; +} +v_resetjp_23864_: +{ +lean_object* v___x_23868_; +if (v_isShared_23866_ == 0) +{ +v___x_23868_ = v___x_23865_; +goto v_reusejp_23867_; +} +else +{ +lean_object* v_reuseFailAlloc_23869_; +v_reuseFailAlloc_23869_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_23869_, 0, v_a_23863_); +v___x_23868_ = v_reuseFailAlloc_23869_; +goto v_reusejp_23867_; +} +v_reusejp_23867_: +{ +return v___x_23868_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21___boxed(lean_object* v_cls_23871_, lean_object* v_msg_23872_, lean_object* v___y_23873_, lean_object* v___y_23874_, lean_object* v___y_23875_){ _start: { -lean_object* v_res_23858_; -v_res_23858_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_23855_, v___y_23856_); -lean_dec(v___y_23856_); -return v_res_23858_; +lean_object* v_res_23876_; +v_res_23876_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_cls_23871_, v_msg_23872_, v___y_23873_, v___y_23874_); +lean_dec(v___y_23874_); +lean_dec_ref(v___y_23873_); +return v_res_23876_; } } -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(lean_object* v_mod_23859_, uint8_t v_isMeta_23860_, lean_object* v_hint_23861_, lean_object* v___y_23862_, lean_object* v___y_23863_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(lean_object* v_cls_23877_, lean_object* v___y_23878_){ _start: { -lean_object* v___x_23865_; lean_object* v_env_23866_; uint8_t v_isExporting_23867_; lean_object* v___x_23868_; lean_object* v_env_23869_; lean_object* v___x_23870_; lean_object* v_entry_23871_; lean_object* v___x_23872_; lean_object* v___x_23873_; lean_object* v___x_23874_; lean_object* v___y_23876_; lean_object* v___x_23902_; uint8_t v___x_23903_; -v___x_23865_ = lean_st_ref_get(v___y_23863_); -v_env_23866_ = lean_ctor_get(v___x_23865_, 0); -lean_inc_ref(v_env_23866_); -lean_dec(v___x_23865_); -v_isExporting_23867_ = lean_ctor_get_uint8(v_env_23866_, sizeof(void*)*8); -lean_dec_ref(v_env_23866_); -v___x_23868_ = lean_st_ref_get(v___y_23863_); -v_env_23869_ = lean_ctor_get(v___x_23868_, 0); -lean_inc_ref(v_env_23869_); -lean_dec(v___x_23868_); -v___x_23870_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2); -lean_inc(v_mod_23859_); -v_entry_23871_ = lean_alloc_ctor(0, 1, 2); -lean_ctor_set(v_entry_23871_, 0, v_mod_23859_); -lean_ctor_set_uint8(v_entry_23871_, sizeof(void*)*1, v_isExporting_23867_); -lean_ctor_set_uint8(v_entry_23871_, sizeof(void*)*1 + 1, v_isMeta_23860_); -v___x_23872_ = l___private_Lean_ExtraModUses_0__Lean_extraModUses; -v___x_23873_ = lean_box(1); -v___x_23874_ = lean_box(0); -v___x_23902_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_23870_, v___x_23872_, v_env_23869_, v___x_23873_, v___x_23874_); -v___x_23903_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3_spec__6___redArg(v___x_23902_, v_entry_23871_); -if (v___x_23903_ == 0) +lean_object* v___x_23880_; lean_object* v___x_23881_; lean_object* v___x_23882_; lean_object* v_scopes_23883_; lean_object* v___x_23884_; lean_object* v___x_23885_; lean_object* v_opts_23886_; uint8_t v_hasTrace_23887_; +v___x_23880_ = l_Lean_inheritedTraceOptions; +v___x_23881_ = lean_st_ref_get(v___x_23880_); +v___x_23882_ = lean_st_ref_get(v___y_23878_); +v_scopes_23883_ = lean_ctor_get(v___x_23882_, 2); +lean_inc(v_scopes_23883_); +lean_dec(v___x_23882_); +v___x_23884_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_23885_ = l_List_head_x21___redArg(v___x_23884_, v_scopes_23883_); +lean_dec(v_scopes_23883_); +v_opts_23886_ = lean_ctor_get(v___x_23885_, 1); +lean_inc_ref(v_opts_23886_); +lean_dec(v___x_23885_); +v_hasTrace_23887_ = lean_ctor_get_uint8(v_opts_23886_, sizeof(void*)*1); +if (v_hasTrace_23887_ == 0) { -lean_object* v_cls_23904_; lean_object* v___x_23905_; lean_object* v_a_23906_; lean_object* v___y_23908_; lean_object* v___y_23909_; lean_object* v___y_23913_; lean_object* v___y_23914_; uint8_t v___x_23926_; -v_cls_23904_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__8)); -v___x_23905_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_23904_, v___y_23863_); -v_a_23906_ = lean_ctor_get(v___x_23905_, 0); -lean_inc(v_a_23906_); -lean_dec_ref(v___x_23905_); -v___x_23926_ = lean_unbox(v_a_23906_); -lean_dec(v_a_23906_); -if (v___x_23926_ == 0) -{ -lean_dec(v_hint_23861_); -lean_dec(v_mod_23859_); -v___y_23876_ = v___y_23863_; -goto v___jp_23875_; +lean_object* v___x_23888_; lean_object* v___x_23889_; +lean_dec_ref(v_opts_23886_); +lean_dec(v___x_23881_); +lean_dec(v_cls_23877_); +v___x_23888_ = lean_box(v_hasTrace_23887_); +v___x_23889_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23889_, 0, v___x_23888_); +return v___x_23889_; } else { -lean_object* v___x_23927_; lean_object* v___y_23929_; -v___x_23927_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15); -if (v_isExporting_23867_ == 0) +lean_object* v___x_23890_; lean_object* v___x_23891_; uint8_t v___x_23892_; lean_object* v___x_23893_; lean_object* v___x_23894_; +v___x_23890_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__1___redArg___closed__1)); +v___x_23891_ = l_Lean_Name_append(v___x_23890_, v_cls_23877_); +v___x_23892_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v___x_23881_, v_opts_23886_, v___x_23891_); +lean_dec(v___x_23891_); +lean_dec_ref(v_opts_23886_); +lean_dec(v___x_23881_); +v___x_23893_ = lean_box(v___x_23892_); +v___x_23894_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23894_, 0, v___x_23893_); +return v___x_23894_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg___boxed(lean_object* v_cls_23895_, lean_object* v___y_23896_, lean_object* v___y_23897_){ +_start: { -lean_object* v___x_23936_; -v___x_23936_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__18)); -v___y_23929_ = v___x_23936_; -goto v___jp_23928_; +lean_object* v_res_23898_; +v_res_23898_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_23895_, v___y_23896_); +lean_dec(v___y_23896_); +return v_res_23898_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(lean_object* v_mod_23899_, uint8_t v_isMeta_23900_, lean_object* v_hint_23901_, lean_object* v___y_23902_, lean_object* v___y_23903_){ +_start: +{ +lean_object* v___x_23905_; lean_object* v_env_23906_; uint8_t v_isExporting_23907_; lean_object* v___x_23908_; lean_object* v_env_23909_; lean_object* v___x_23910_; lean_object* v_entry_23911_; lean_object* v___x_23912_; lean_object* v___x_23913_; lean_object* v___x_23914_; lean_object* v___y_23916_; lean_object* v___x_23942_; uint8_t v___x_23943_; +v___x_23905_ = lean_st_ref_get(v___y_23903_); +v_env_23906_ = lean_ctor_get(v___x_23905_, 0); +lean_inc_ref(v_env_23906_); +lean_dec(v___x_23905_); +v_isExporting_23907_ = lean_ctor_get_uint8(v_env_23906_, sizeof(void*)*8); +lean_dec_ref(v_env_23906_); +v___x_23908_ = lean_st_ref_get(v___y_23903_); +v_env_23909_ = lean_ctor_get(v___x_23908_, 0); +lean_inc_ref(v_env_23909_); +lean_dec(v___x_23908_); +v___x_23910_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__2); +lean_inc(v_mod_23899_); +v_entry_23911_ = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(v_entry_23911_, 0, v_mod_23899_); +lean_ctor_set_uint8(v_entry_23911_, sizeof(void*)*1, v_isExporting_23907_); +lean_ctor_set_uint8(v_entry_23911_, sizeof(void*)*1 + 1, v_isMeta_23900_); +v___x_23912_ = l___private_Lean_ExtraModUses_0__Lean_extraModUses; +v___x_23913_ = lean_box(1); +v___x_23914_ = lean_box(0); +v___x_23942_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_23910_, v___x_23912_, v_env_23909_, v___x_23913_, v___x_23914_); +v___x_23943_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3_spec__6___redArg(v___x_23942_, v_entry_23911_); +if (v___x_23943_ == 0) +{ +lean_object* v_cls_23944_; lean_object* v___x_23945_; lean_object* v_a_23946_; lean_object* v___y_23948_; lean_object* v___y_23949_; lean_object* v___y_23953_; lean_object* v___y_23954_; uint8_t v___x_23966_; +v_cls_23944_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__8)); +v___x_23945_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_23944_, v___y_23903_); +v_a_23946_ = lean_ctor_get(v___x_23945_, 0); +lean_inc(v_a_23946_); +lean_dec_ref(v___x_23945_); +v___x_23966_ = lean_unbox(v_a_23946_); +lean_dec(v_a_23946_); +if (v___x_23966_ == 0) +{ +lean_dec(v_hint_23901_); +lean_dec(v_mod_23899_); +v___y_23916_ = v___y_23903_; +goto v___jp_23915_; } else { -lean_object* v___x_23937_; -v___x_23937_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__19)); -v___y_23929_ = v___x_23937_; -goto v___jp_23928_; -} -v___jp_23928_: +lean_object* v___x_23967_; lean_object* v___y_23969_; +v___x_23967_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__15); +if (v_isExporting_23907_ == 0) { -lean_object* v___x_23930_; lean_object* v___x_23931_; lean_object* v___x_23932_; lean_object* v___x_23933_; -v___x_23930_ = l_Lean_stringToMessageData(v___y_23929_); -v___x_23931_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23931_, 0, v___x_23927_); -lean_ctor_set(v___x_23931_, 1, v___x_23930_); -v___x_23932_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6); -v___x_23933_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23933_, 0, v___x_23931_); -lean_ctor_set(v___x_23933_, 1, v___x_23932_); -if (v_isMeta_23860_ == 0) -{ -lean_object* v___x_23934_; -v___x_23934_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__16)); -v___y_23913_ = v___x_23933_; -v___y_23914_ = v___x_23934_; -goto v___jp_23912_; +lean_object* v___x_23976_; +v___x_23976_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__18)); +v___y_23969_ = v___x_23976_; +goto v___jp_23968_; } else { -lean_object* v___x_23935_; -v___x_23935_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__17)); -v___y_23913_ = v___x_23933_; -v___y_23914_ = v___x_23935_; -goto v___jp_23912_; +lean_object* v___x_23977_; +v___x_23977_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__19)); +v___y_23969_ = v___x_23977_; +goto v___jp_23968_; } -} -} -v___jp_23907_: +v___jp_23968_: { -lean_object* v___x_23910_; lean_object* v___x_23911_; -v___x_23910_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23910_, 0, v___y_23908_); -lean_ctor_set(v___x_23910_, 1, v___y_23909_); -v___x_23911_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_cls_23904_, v___x_23910_, v___y_23862_, v___y_23863_); -if (lean_obj_tag(v___x_23911_) == 0) +lean_object* v___x_23970_; lean_object* v___x_23971_; lean_object* v___x_23972_; lean_object* v___x_23973_; +v___x_23970_ = l_Lean_stringToMessageData(v___y_23969_); +v___x_23971_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23971_, 0, v___x_23967_); +lean_ctor_set(v___x_23971_, 1, v___x_23970_); +v___x_23972_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6_once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendingMVarErrorMessage_interpretedAsParameters___closed__6); +v___x_23973_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23973_, 0, v___x_23971_); +lean_ctor_set(v___x_23973_, 1, v___x_23972_); +if (v_isMeta_23900_ == 0) { -lean_dec_ref(v___x_23911_); -v___y_23876_ = v___y_23863_; -goto v___jp_23875_; +lean_object* v___x_23974_; +v___x_23974_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__16)); +v___y_23953_ = v___x_23973_; +v___y_23954_ = v___x_23974_; +goto v___jp_23952_; } else { -lean_dec_ref(v_entry_23871_); -return v___x_23911_; +lean_object* v___x_23975_; +v___x_23975_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__17)); +v___y_23953_ = v___x_23973_; +v___y_23954_ = v___x_23975_; +goto v___jp_23952_; } } -v___jp_23912_: +} +v___jp_23947_: { -lean_object* v___x_23915_; lean_object* v___x_23916_; lean_object* v___x_23917_; lean_object* v___x_23918_; lean_object* v___x_23919_; lean_object* v___x_23920_; uint8_t v___x_23921_; -v___x_23915_ = l_Lean_stringToMessageData(v___y_23914_); -v___x_23916_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23916_, 0, v___y_23913_); -lean_ctor_set(v___x_23916_, 1, v___x_23915_); -v___x_23917_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10); -v___x_23918_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23918_, 0, v___x_23916_); -lean_ctor_set(v___x_23918_, 1, v___x_23917_); -v___x_23919_ = l_Lean_MessageData_ofName(v_mod_23859_); -v___x_23920_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23920_, 0, v___x_23918_); -lean_ctor_set(v___x_23920_, 1, v___x_23919_); -v___x_23921_ = l_Lean_Name_isAnonymous(v_hint_23861_); -if (v___x_23921_ == 0) +lean_object* v___x_23950_; lean_object* v___x_23951_; +v___x_23950_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23950_, 0, v___y_23948_); +lean_ctor_set(v___x_23950_, 1, v___y_23949_); +v___x_23951_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_cls_23944_, v___x_23950_, v___y_23902_, v___y_23903_); +if (lean_obj_tag(v___x_23951_) == 0) { -lean_object* v___x_23922_; lean_object* v___x_23923_; lean_object* v___x_23924_; -v___x_23922_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12); -v___x_23923_ = l_Lean_MessageData_ofName(v_hint_23861_); -v___x_23924_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_23924_, 0, v___x_23922_); -lean_ctor_set(v___x_23924_, 1, v___x_23923_); -v___y_23908_ = v___x_23920_; -v___y_23909_ = v___x_23924_; -goto v___jp_23907_; +lean_dec_ref(v___x_23951_); +v___y_23916_ = v___y_23903_; +goto v___jp_23915_; } else { -lean_object* v___x_23925_; -lean_dec(v_hint_23861_); -v___x_23925_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13); -v___y_23908_ = v___x_23920_; -v___y_23909_ = v___x_23925_; -goto v___jp_23907_; +lean_dec_ref(v_entry_23911_); +return v___x_23951_; +} +} +v___jp_23952_: +{ +lean_object* v___x_23955_; lean_object* v___x_23956_; lean_object* v___x_23957_; lean_object* v___x_23958_; lean_object* v___x_23959_; lean_object* v___x_23960_; uint8_t v___x_23961_; +v___x_23955_ = l_Lean_stringToMessageData(v___y_23954_); +v___x_23956_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23956_, 0, v___y_23953_); +lean_ctor_set(v___x_23956_, 1, v___x_23955_); +v___x_23957_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__10); +v___x_23958_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23958_, 0, v___x_23956_); +lean_ctor_set(v___x_23958_, 1, v___x_23957_); +v___x_23959_ = l_Lean_MessageData_ofName(v_mod_23899_); +v___x_23960_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23960_, 0, v___x_23958_); +lean_ctor_set(v___x_23960_, 1, v___x_23959_); +v___x_23961_ = l_Lean_Name_isAnonymous(v_hint_23901_); +if (v___x_23961_ == 0) +{ +lean_object* v___x_23962_; lean_object* v___x_23963_; lean_object* v___x_23964_; +v___x_23962_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__12); +v___x_23963_ = l_Lean_MessageData_ofName(v_hint_23901_); +v___x_23964_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_23964_, 0, v___x_23962_); +lean_ctor_set(v___x_23964_, 1, v___x_23963_); +v___y_23948_ = v___x_23960_; +v___y_23949_ = v___x_23964_; +goto v___jp_23947_; +} +else +{ +lean_object* v___x_23965_; +lean_dec(v_hint_23901_); +v___x_23965_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__3___redArg___closed__13); +v___y_23948_ = v___x_23960_; +v___y_23949_ = v___x_23965_; +goto v___jp_23947_; } } } else { -lean_object* v___x_23938_; lean_object* v___x_23939_; -lean_dec_ref(v_entry_23871_); -lean_dec(v_hint_23861_); -lean_dec(v_mod_23859_); +lean_object* v___x_23978_; lean_object* v___x_23979_; +lean_dec_ref(v_entry_23911_); +lean_dec(v_hint_23901_); +lean_dec(v_mod_23899_); +v___x_23978_ = lean_box(0); +v___x_23979_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23979_, 0, v___x_23978_); +return v___x_23979_; +} +v___jp_23915_: +{ +lean_object* v___x_23917_; lean_object* v_toEnvExtension_23918_; lean_object* v_env_23919_; lean_object* v_messages_23920_; lean_object* v_scopes_23921_; lean_object* v_usedQuotCtxts_23922_; lean_object* v_nextMacroScope_23923_; lean_object* v_maxRecDepth_23924_; lean_object* v_ngen_23925_; lean_object* v_auxDeclNGen_23926_; lean_object* v_infoState_23927_; lean_object* v_traceState_23928_; lean_object* v_snapshotTasks_23929_; lean_object* v___x_23931_; uint8_t v_isShared_23932_; uint8_t v_isSharedCheck_23941_; +v___x_23917_ = lean_st_ref_take(v___y_23916_); +v_toEnvExtension_23918_ = lean_ctor_get(v___x_23912_, 0); +lean_inc_ref(v_toEnvExtension_23918_); +v_env_23919_ = lean_ctor_get(v___x_23917_, 0); +v_messages_23920_ = lean_ctor_get(v___x_23917_, 1); +v_scopes_23921_ = lean_ctor_get(v___x_23917_, 2); +v_usedQuotCtxts_23922_ = lean_ctor_get(v___x_23917_, 3); +v_nextMacroScope_23923_ = lean_ctor_get(v___x_23917_, 4); +v_maxRecDepth_23924_ = lean_ctor_get(v___x_23917_, 5); +v_ngen_23925_ = lean_ctor_get(v___x_23917_, 6); +v_auxDeclNGen_23926_ = lean_ctor_get(v___x_23917_, 7); +v_infoState_23927_ = lean_ctor_get(v___x_23917_, 8); +v_traceState_23928_ = lean_ctor_get(v___x_23917_, 9); +v_snapshotTasks_23929_ = lean_ctor_get(v___x_23917_, 10); +v_isSharedCheck_23941_ = !lean_is_exclusive(v___x_23917_); +if (v_isSharedCheck_23941_ == 0) +{ +v___x_23931_ = v___x_23917_; +v_isShared_23932_ = v_isSharedCheck_23941_; +goto v_resetjp_23930_; +} +else +{ +lean_inc(v_snapshotTasks_23929_); +lean_inc(v_traceState_23928_); +lean_inc(v_infoState_23927_); +lean_inc(v_auxDeclNGen_23926_); +lean_inc(v_ngen_23925_); +lean_inc(v_maxRecDepth_23924_); +lean_inc(v_nextMacroScope_23923_); +lean_inc(v_usedQuotCtxts_23922_); +lean_inc(v_scopes_23921_); +lean_inc(v_messages_23920_); +lean_inc(v_env_23919_); +lean_dec(v___x_23917_); +v___x_23931_ = lean_box(0); +v_isShared_23932_ = v_isSharedCheck_23941_; +goto v_resetjp_23930_; +} +v_resetjp_23930_: +{ +lean_object* v_asyncMode_23933_; lean_object* v___x_23934_; lean_object* v___x_23936_; +v_asyncMode_23933_ = lean_ctor_get(v_toEnvExtension_23918_, 2); +lean_inc(v_asyncMode_23933_); +lean_dec_ref(v_toEnvExtension_23918_); +v___x_23934_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_23912_, v_env_23919_, v_entry_23911_, v_asyncMode_23933_, v___x_23914_); +lean_dec(v_asyncMode_23933_); +if (v_isShared_23932_ == 0) +{ +lean_ctor_set(v___x_23931_, 0, v___x_23934_); +v___x_23936_ = v___x_23931_; +goto v_reusejp_23935_; +} +else +{ +lean_object* v_reuseFailAlloc_23940_; +v_reuseFailAlloc_23940_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_23940_, 0, v___x_23934_); +lean_ctor_set(v_reuseFailAlloc_23940_, 1, v_messages_23920_); +lean_ctor_set(v_reuseFailAlloc_23940_, 2, v_scopes_23921_); +lean_ctor_set(v_reuseFailAlloc_23940_, 3, v_usedQuotCtxts_23922_); +lean_ctor_set(v_reuseFailAlloc_23940_, 4, v_nextMacroScope_23923_); +lean_ctor_set(v_reuseFailAlloc_23940_, 5, v_maxRecDepth_23924_); +lean_ctor_set(v_reuseFailAlloc_23940_, 6, v_ngen_23925_); +lean_ctor_set(v_reuseFailAlloc_23940_, 7, v_auxDeclNGen_23926_); +lean_ctor_set(v_reuseFailAlloc_23940_, 8, v_infoState_23927_); +lean_ctor_set(v_reuseFailAlloc_23940_, 9, v_traceState_23928_); +lean_ctor_set(v_reuseFailAlloc_23940_, 10, v_snapshotTasks_23929_); +v___x_23936_ = v_reuseFailAlloc_23940_; +goto v_reusejp_23935_; +} +v_reusejp_23935_: +{ +lean_object* v___x_23937_; lean_object* v___x_23938_; lean_object* v___x_23939_; +v___x_23937_ = lean_st_ref_set(v___y_23916_, v___x_23936_); v___x_23938_ = lean_box(0); v___x_23939_ = lean_alloc_ctor(0, 1, 0); lean_ctor_set(v___x_23939_, 0, v___x_23938_); return v___x_23939_; } -v___jp_23875_: -{ -lean_object* v___x_23877_; lean_object* v_toEnvExtension_23878_; lean_object* v_env_23879_; lean_object* v_messages_23880_; lean_object* v_scopes_23881_; lean_object* v_usedQuotCtxts_23882_; lean_object* v_nextMacroScope_23883_; lean_object* v_maxRecDepth_23884_; lean_object* v_ngen_23885_; lean_object* v_auxDeclNGen_23886_; lean_object* v_infoState_23887_; lean_object* v_traceState_23888_; lean_object* v_snapshotTasks_23889_; lean_object* v___x_23891_; uint8_t v_isShared_23892_; uint8_t v_isSharedCheck_23901_; -v___x_23877_ = lean_st_ref_take(v___y_23876_); -v_toEnvExtension_23878_ = lean_ctor_get(v___x_23872_, 0); -lean_inc_ref(v_toEnvExtension_23878_); -v_env_23879_ = lean_ctor_get(v___x_23877_, 0); -v_messages_23880_ = lean_ctor_get(v___x_23877_, 1); -v_scopes_23881_ = lean_ctor_get(v___x_23877_, 2); -v_usedQuotCtxts_23882_ = lean_ctor_get(v___x_23877_, 3); -v_nextMacroScope_23883_ = lean_ctor_get(v___x_23877_, 4); -v_maxRecDepth_23884_ = lean_ctor_get(v___x_23877_, 5); -v_ngen_23885_ = lean_ctor_get(v___x_23877_, 6); -v_auxDeclNGen_23886_ = lean_ctor_get(v___x_23877_, 7); -v_infoState_23887_ = lean_ctor_get(v___x_23877_, 8); -v_traceState_23888_ = lean_ctor_get(v___x_23877_, 9); -v_snapshotTasks_23889_ = lean_ctor_get(v___x_23877_, 10); -v_isSharedCheck_23901_ = !lean_is_exclusive(v___x_23877_); -if (v_isSharedCheck_23901_ == 0) -{ -v___x_23891_ = v___x_23877_; -v_isShared_23892_ = v_isSharedCheck_23901_; -goto v_resetjp_23890_; -} -else -{ -lean_inc(v_snapshotTasks_23889_); -lean_inc(v_traceState_23888_); -lean_inc(v_infoState_23887_); -lean_inc(v_auxDeclNGen_23886_); -lean_inc(v_ngen_23885_); -lean_inc(v_maxRecDepth_23884_); -lean_inc(v_nextMacroScope_23883_); -lean_inc(v_usedQuotCtxts_23882_); -lean_inc(v_scopes_23881_); -lean_inc(v_messages_23880_); -lean_inc(v_env_23879_); -lean_dec(v___x_23877_); -v___x_23891_ = lean_box(0); -v_isShared_23892_ = v_isSharedCheck_23901_; -goto v_resetjp_23890_; -} -v_resetjp_23890_: -{ -lean_object* v_asyncMode_23893_; lean_object* v___x_23894_; lean_object* v___x_23896_; -v_asyncMode_23893_ = lean_ctor_get(v_toEnvExtension_23878_, 2); -lean_inc(v_asyncMode_23893_); -lean_dec_ref(v_toEnvExtension_23878_); -v___x_23894_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_23872_, v_env_23879_, v_entry_23871_, v_asyncMode_23893_, v___x_23874_); -lean_dec(v_asyncMode_23893_); -if (v_isShared_23892_ == 0) -{ -lean_ctor_set(v___x_23891_, 0, v___x_23894_); -v___x_23896_ = v___x_23891_; -goto v_reusejp_23895_; -} -else -{ -lean_object* v_reuseFailAlloc_23900_; -v_reuseFailAlloc_23900_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_23900_, 0, v___x_23894_); -lean_ctor_set(v_reuseFailAlloc_23900_, 1, v_messages_23880_); -lean_ctor_set(v_reuseFailAlloc_23900_, 2, v_scopes_23881_); -lean_ctor_set(v_reuseFailAlloc_23900_, 3, v_usedQuotCtxts_23882_); -lean_ctor_set(v_reuseFailAlloc_23900_, 4, v_nextMacroScope_23883_); -lean_ctor_set(v_reuseFailAlloc_23900_, 5, v_maxRecDepth_23884_); -lean_ctor_set(v_reuseFailAlloc_23900_, 6, v_ngen_23885_); -lean_ctor_set(v_reuseFailAlloc_23900_, 7, v_auxDeclNGen_23886_); -lean_ctor_set(v_reuseFailAlloc_23900_, 8, v_infoState_23887_); -lean_ctor_set(v_reuseFailAlloc_23900_, 9, v_traceState_23888_); -lean_ctor_set(v_reuseFailAlloc_23900_, 10, v_snapshotTasks_23889_); -v___x_23896_ = v_reuseFailAlloc_23900_; -goto v_reusejp_23895_; -} -v_reusejp_23895_: -{ -lean_object* v___x_23897_; lean_object* v___x_23898_; lean_object* v___x_23899_; -v___x_23897_ = lean_st_ref_set(v___y_23876_, v___x_23896_); -v___x_23898_ = lean_box(0); -v___x_23899_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23899_, 0, v___x_23898_); -return v___x_23899_; } } } } -} -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28___boxed(lean_object* v_mod_23940_, lean_object* v_isMeta_23941_, lean_object* v_hint_23942_, lean_object* v___y_23943_, lean_object* v___y_23944_, lean_object* v___y_23945_){ +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28___boxed(lean_object* v_mod_23980_, lean_object* v_isMeta_23981_, lean_object* v_hint_23982_, lean_object* v___y_23983_, lean_object* v___y_23984_, lean_object* v___y_23985_){ _start: { -uint8_t v_isMeta_boxed_23946_; lean_object* v_res_23947_; -v_isMeta_boxed_23946_ = lean_unbox(v_isMeta_23941_); -v_res_23947_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_mod_23940_, v_isMeta_boxed_23946_, v_hint_23942_, v___y_23943_, v___y_23944_); -lean_dec(v___y_23944_); -lean_dec_ref(v___y_23943_); -return v_res_23947_; +uint8_t v_isMeta_boxed_23986_; lean_object* v_res_23987_; +v_isMeta_boxed_23986_ = lean_unbox(v_isMeta_23981_); +v_res_23987_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_mod_23980_, v_isMeta_boxed_23986_, v_hint_23982_, v___y_23983_, v___y_23984_); +lean_dec(v___y_23984_); +lean_dec_ref(v___y_23983_); +return v_res_23987_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(lean_object* v___x_23948_, lean_object* v_declName_23949_, lean_object* v_as_23950_, size_t v_sz_23951_, size_t v_i_23952_, lean_object* v_b_23953_, lean_object* v___y_23954_, lean_object* v___y_23955_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(lean_object* v___x_23988_, lean_object* v_declName_23989_, lean_object* v_as_23990_, size_t v_sz_23991_, size_t v_i_23992_, lean_object* v_b_23993_, lean_object* v___y_23994_, lean_object* v___y_23995_){ _start: { -uint8_t v___x_23957_; -v___x_23957_ = lean_usize_dec_lt(v_i_23952_, v_sz_23951_); -if (v___x_23957_ == 0) +uint8_t v___x_23997_; +v___x_23997_ = lean_usize_dec_lt(v_i_23992_, v_sz_23991_); +if (v___x_23997_ == 0) { -lean_object* v___x_23958_; -lean_dec(v_declName_23949_); -v___x_23958_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23958_, 0, v_b_23953_); -return v___x_23958_; +lean_object* v___x_23998_; +lean_dec(v_declName_23989_); +v___x_23998_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_23998_, 0, v_b_23993_); +return v___x_23998_; } else { -lean_object* v___x_23959_; lean_object* v_modules_23960_; lean_object* v___x_23961_; lean_object* v_a_23962_; lean_object* v___x_23963_; lean_object* v_toImport_23964_; lean_object* v_module_23965_; uint8_t v___x_23966_; lean_object* v___x_23967_; -v___x_23959_ = l_Lean_Environment_header(v___x_23948_); -v_modules_23960_ = lean_ctor_get(v___x_23959_, 3); -lean_inc_ref(v_modules_23960_); -lean_dec_ref(v___x_23959_); -v___x_23961_ = l_Lean_instInhabitedEffectiveImport_default; -v_a_23962_ = lean_array_uget_borrowed(v_as_23950_, v_i_23952_); -v___x_23963_ = lean_array_get(v___x_23961_, v_modules_23960_, v_a_23962_); -lean_dec_ref(v_modules_23960_); -v_toImport_23964_ = lean_ctor_get(v___x_23963_, 0); -lean_inc_ref(v_toImport_23964_); -lean_dec(v___x_23963_); -v_module_23965_ = lean_ctor_get(v_toImport_23964_, 0); -lean_inc(v_module_23965_); -lean_dec_ref(v_toImport_23964_); -v___x_23966_ = 0; -lean_inc(v_declName_23949_); -v___x_23967_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_module_23965_, v___x_23966_, v_declName_23949_, v___y_23954_, v___y_23955_); -if (lean_obj_tag(v___x_23967_) == 0) +lean_object* v___x_23999_; lean_object* v_modules_24000_; lean_object* v___x_24001_; lean_object* v_a_24002_; lean_object* v___x_24003_; lean_object* v_toImport_24004_; lean_object* v_module_24005_; uint8_t v___x_24006_; lean_object* v___x_24007_; +v___x_23999_ = l_Lean_Environment_header(v___x_23988_); +v_modules_24000_ = lean_ctor_get(v___x_23999_, 3); +lean_inc_ref(v_modules_24000_); +lean_dec_ref(v___x_23999_); +v___x_24001_ = l_Lean_instInhabitedEffectiveImport_default; +v_a_24002_ = lean_array_uget_borrowed(v_as_23990_, v_i_23992_); +v___x_24003_ = lean_array_get(v___x_24001_, v_modules_24000_, v_a_24002_); +lean_dec_ref(v_modules_24000_); +v_toImport_24004_ = lean_ctor_get(v___x_24003_, 0); +lean_inc_ref(v_toImport_24004_); +lean_dec(v___x_24003_); +v_module_24005_ = lean_ctor_get(v_toImport_24004_, 0); +lean_inc(v_module_24005_); +lean_dec_ref(v_toImport_24004_); +v___x_24006_ = 0; +lean_inc(v_declName_23989_); +v___x_24007_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_module_24005_, v___x_24006_, v_declName_23989_, v___y_23994_, v___y_23995_); +if (lean_obj_tag(v___x_24007_) == 0) { -lean_object* v___x_23968_; size_t v___x_23969_; size_t v___x_23970_; -lean_dec_ref(v___x_23967_); -v___x_23968_ = lean_box(0); -v___x_23969_ = ((size_t)1ULL); -v___x_23970_ = lean_usize_add(v_i_23952_, v___x_23969_); -v_i_23952_ = v___x_23970_; -v_b_23953_ = v___x_23968_; +lean_object* v___x_24008_; size_t v___x_24009_; size_t v___x_24010_; +lean_dec_ref(v___x_24007_); +v___x_24008_ = lean_box(0); +v___x_24009_ = ((size_t)1ULL); +v___x_24010_ = lean_usize_add(v_i_23992_, v___x_24009_); +v_i_23992_ = v___x_24010_; +v_b_23993_ = v___x_24008_; goto _start; } else { -lean_dec(v_declName_23949_); -return v___x_23967_; +lean_dec(v_declName_23989_); +return v___x_24007_; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29___boxed(lean_object* v___x_23972_, lean_object* v_declName_23973_, lean_object* v_as_23974_, lean_object* v_sz_23975_, lean_object* v_i_23976_, lean_object* v_b_23977_, lean_object* v___y_23978_, lean_object* v___y_23979_, lean_object* v___y_23980_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29___boxed(lean_object* v___x_24012_, lean_object* v_declName_24013_, lean_object* v_as_24014_, lean_object* v_sz_24015_, lean_object* v_i_24016_, lean_object* v_b_24017_, lean_object* v___y_24018_, lean_object* v___y_24019_, lean_object* v___y_24020_){ _start: { -size_t v_sz_boxed_23981_; size_t v_i_boxed_23982_; lean_object* v_res_23983_; -v_sz_boxed_23981_ = lean_unbox_usize(v_sz_23975_); -lean_dec(v_sz_23975_); -v_i_boxed_23982_ = lean_unbox_usize(v_i_23976_); -lean_dec(v_i_23976_); -v_res_23983_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(v___x_23972_, v_declName_23973_, v_as_23974_, v_sz_boxed_23981_, v_i_boxed_23982_, v_b_23977_, v___y_23978_, v___y_23979_); -lean_dec(v___y_23979_); -lean_dec_ref(v___y_23978_); -lean_dec_ref(v_as_23974_); -lean_dec_ref(v___x_23972_); -return v_res_23983_; +size_t v_sz_boxed_24021_; size_t v_i_boxed_24022_; lean_object* v_res_24023_; +v_sz_boxed_24021_ = lean_unbox_usize(v_sz_24015_); +lean_dec(v_sz_24015_); +v_i_boxed_24022_ = lean_unbox_usize(v_i_24016_); +lean_dec(v_i_24016_); +v_res_24023_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(v___x_24012_, v_declName_24013_, v_as_24014_, v_sz_boxed_24021_, v_i_boxed_24022_, v_b_24017_, v___y_24018_, v___y_24019_); +lean_dec(v___y_24019_); +lean_dec_ref(v___y_24018_); +lean_dec_ref(v_as_24014_); +lean_dec_ref(v___x_24012_); +return v_res_24023_; } } -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(lean_object* v_declName_23984_, uint8_t v_isMeta_23985_, lean_object* v___y_23986_, lean_object* v___y_23987_){ +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(lean_object* v_declName_24024_, uint8_t v_isMeta_24025_, lean_object* v___y_24026_, lean_object* v___y_24027_){ _start: { -lean_object* v___x_23989_; lean_object* v_env_23993_; lean_object* v___y_23995_; lean_object* v___x_24008_; -v___x_23989_ = lean_st_ref_get(v___y_23987_); -v_env_23993_ = lean_ctor_get(v___x_23989_, 0); -lean_inc_ref(v_env_23993_); -lean_dec(v___x_23989_); -v___x_24008_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_23993_, v_declName_23984_); -if (lean_obj_tag(v___x_24008_) == 0) +lean_object* v___x_24029_; lean_object* v_env_24033_; lean_object* v___y_24035_; lean_object* v___x_24048_; +v___x_24029_ = lean_st_ref_get(v___y_24027_); +v_env_24033_ = lean_ctor_get(v___x_24029_, 0); +lean_inc_ref(v_env_24033_); +lean_dec(v___x_24029_); +v___x_24048_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_24033_, v_declName_24024_); +if (lean_obj_tag(v___x_24048_) == 0) { -lean_dec_ref(v_env_23993_); -lean_dec(v_declName_23984_); -goto v___jp_23990_; +lean_dec_ref(v_env_24033_); +lean_dec(v_declName_24024_); +goto v___jp_24030_; } else { -lean_object* v_val_24009_; lean_object* v___x_24010_; lean_object* v_modules_24011_; lean_object* v___x_24012_; uint8_t v___x_24013_; -v_val_24009_ = lean_ctor_get(v___x_24008_, 0); -lean_inc(v_val_24009_); -lean_dec_ref(v___x_24008_); -v___x_24010_ = l_Lean_Environment_header(v_env_23993_); -v_modules_24011_ = lean_ctor_get(v___x_24010_, 3); -lean_inc_ref(v_modules_24011_); -lean_dec_ref(v___x_24010_); -v___x_24012_ = lean_array_get_size(v_modules_24011_); -v___x_24013_ = lean_nat_dec_lt(v_val_24009_, v___x_24012_); -if (v___x_24013_ == 0) +lean_object* v_val_24049_; lean_object* v___x_24050_; lean_object* v_modules_24051_; lean_object* v___x_24052_; uint8_t v___x_24053_; +v_val_24049_ = lean_ctor_get(v___x_24048_, 0); +lean_inc(v_val_24049_); +lean_dec_ref(v___x_24048_); +v___x_24050_ = l_Lean_Environment_header(v_env_24033_); +v_modules_24051_ = lean_ctor_get(v___x_24050_, 3); +lean_inc_ref(v_modules_24051_); +lean_dec_ref(v___x_24050_); +v___x_24052_ = lean_array_get_size(v_modules_24051_); +v___x_24053_ = lean_nat_dec_lt(v_val_24049_, v___x_24052_); +if (v___x_24053_ == 0) { -lean_dec_ref(v_modules_24011_); -lean_dec(v_val_24009_); -lean_dec_ref(v_env_23993_); -lean_dec(v_declName_23984_); -goto v___jp_23990_; +lean_dec_ref(v_modules_24051_); +lean_dec(v_val_24049_); +lean_dec_ref(v_env_24033_); +lean_dec(v_declName_24024_); +goto v___jp_24030_; } else { -lean_object* v___x_24014_; lean_object* v_env_24015_; lean_object* v___x_24016_; lean_object* v___x_24017_; uint8_t v___y_24019_; -v___x_24014_ = lean_st_ref_get(v___y_23987_); -v_env_24015_ = lean_ctor_get(v___x_24014_, 0); -lean_inc_ref(v_env_24015_); -lean_dec(v___x_24014_); -v___x_24016_ = lean_obj_once(&l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2, &l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2_once, _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2); -v___x_24017_ = lean_array_fget(v_modules_24011_, v_val_24009_); -lean_dec(v_val_24009_); -lean_dec_ref(v_modules_24011_); -if (v_isMeta_23985_ == 0) +lean_object* v___x_24054_; lean_object* v_env_24055_; lean_object* v___x_24056_; lean_object* v___x_24057_; uint8_t v___y_24059_; +v___x_24054_ = lean_st_ref_get(v___y_24027_); +v_env_24055_ = lean_ctor_get(v___x_24054_, 0); +lean_inc_ref(v_env_24055_); +lean_dec(v___x_24054_); +v___x_24056_ = lean_obj_once(&l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2, &l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2_once, _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__2); +v___x_24057_ = lean_array_fget(v_modules_24051_, v_val_24049_); +lean_dec(v_val_24049_); +lean_dec_ref(v_modules_24051_); +if (v_isMeta_24025_ == 0) { -lean_dec_ref(v_env_24015_); -v___y_24019_ = v_isMeta_23985_; -goto v___jp_24018_; +lean_dec_ref(v_env_24055_); +v___y_24059_ = v_isMeta_24025_; +goto v___jp_24058_; } else { -uint8_t v___x_24030_; -lean_inc(v_declName_23984_); -v___x_24030_ = l_Lean_isMarkedMeta(v_env_24015_, v_declName_23984_); -if (v___x_24030_ == 0) +uint8_t v___x_24070_; +lean_inc(v_declName_24024_); +v___x_24070_ = l_Lean_isMarkedMeta(v_env_24055_, v_declName_24024_); +if (v___x_24070_ == 0) { -v___y_24019_ = v_isMeta_23985_; -goto v___jp_24018_; +v___y_24059_ = v_isMeta_24025_; +goto v___jp_24058_; } else { -uint8_t v___x_24031_; -v___x_24031_ = 0; -v___y_24019_ = v___x_24031_; -goto v___jp_24018_; +uint8_t v___x_24071_; +v___x_24071_ = 0; +v___y_24059_ = v___x_24071_; +goto v___jp_24058_; } } -v___jp_24018_: +v___jp_24058_: { -lean_object* v_toImport_24020_; lean_object* v_module_24021_; lean_object* v___x_24022_; -v_toImport_24020_ = lean_ctor_get(v___x_24017_, 0); -lean_inc_ref(v_toImport_24020_); -lean_dec(v___x_24017_); -v_module_24021_ = lean_ctor_get(v_toImport_24020_, 0); -lean_inc(v_module_24021_); -lean_dec_ref(v_toImport_24020_); -lean_inc(v_declName_23984_); -v___x_24022_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_module_24021_, v___y_24019_, v_declName_23984_, v___y_23986_, v___y_23987_); -if (lean_obj_tag(v___x_24022_) == 0) +lean_object* v_toImport_24060_; lean_object* v_module_24061_; lean_object* v___x_24062_; +v_toImport_24060_ = lean_ctor_get(v___x_24057_, 0); +lean_inc_ref(v_toImport_24060_); +lean_dec(v___x_24057_); +v_module_24061_ = lean_ctor_get(v_toImport_24060_, 0); +lean_inc(v_module_24061_); +lean_dec_ref(v_toImport_24060_); +lean_inc(v_declName_24024_); +v___x_24062_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__28(v_module_24061_, v___y_24059_, v_declName_24024_, v___y_24026_, v___y_24027_); +if (lean_obj_tag(v___x_24062_) == 0) { -lean_object* v___x_24023_; lean_object* v___x_24024_; lean_object* v___x_24025_; lean_object* v___x_24026_; lean_object* v___x_24027_; -lean_dec_ref(v___x_24022_); -v___x_24023_ = l_Lean_indirectModUseExt; -v___x_24024_ = lean_box(1); -v___x_24025_ = lean_box(0); -lean_inc_ref(v_env_23993_); -v___x_24026_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_24016_, v___x_24023_, v_env_23993_, v___x_24024_, v___x_24025_); -v___x_24027_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg(v___x_24026_, v_declName_23984_); -lean_dec(v___x_24026_); -if (lean_obj_tag(v___x_24027_) == 0) +lean_object* v___x_24063_; lean_object* v___x_24064_; lean_object* v___x_24065_; lean_object* v___x_24066_; lean_object* v___x_24067_; +lean_dec_ref(v___x_24062_); +v___x_24063_ = l_Lean_indirectModUseExt; +v___x_24064_ = lean_box(1); +v___x_24065_ = lean_box(0); +lean_inc_ref(v_env_24033_); +v___x_24066_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_24056_, v___x_24063_, v_env_24033_, v___x_24064_, v___x_24065_); +v___x_24067_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2_spec__5___redArg(v___x_24066_, v_declName_24024_); +lean_dec(v___x_24066_); +if (lean_obj_tag(v___x_24067_) == 0) { -lean_object* v___x_24028_; -v___x_24028_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__3)); -v___y_23995_ = v___x_24028_; -goto v___jp_23994_; +lean_object* v___x_24068_; +v___x_24068_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__2___closed__3)); +v___y_24035_ = v___x_24068_; +goto v___jp_24034_; } else { -lean_object* v_val_24029_; -v_val_24029_ = lean_ctor_get(v___x_24027_, 0); -lean_inc(v_val_24029_); -lean_dec_ref(v___x_24027_); -v___y_23995_ = v_val_24029_; -goto v___jp_23994_; +lean_object* v_val_24069_; +v_val_24069_ = lean_ctor_get(v___x_24067_, 0); +lean_inc(v_val_24069_); +lean_dec_ref(v___x_24067_); +v___y_24035_ = v_val_24069_; +goto v___jp_24034_; } } else { -lean_dec_ref(v_env_23993_); -lean_dec(v_declName_23984_); -return v___x_24022_; +lean_dec_ref(v_env_24033_); +lean_dec(v_declName_24024_); +return v___x_24062_; } } } } -v___jp_23990_: +v___jp_24030_: { -lean_object* v___x_23991_; lean_object* v___x_23992_; -v___x_23991_ = lean_box(0); -v___x_23992_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23992_, 0, v___x_23991_); -return v___x_23992_; +lean_object* v___x_24031_; lean_object* v___x_24032_; +v___x_24031_ = lean_box(0); +v___x_24032_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24032_, 0, v___x_24031_); +return v___x_24032_; } -v___jp_23994_: +v___jp_24034_: { -lean_object* v___x_23996_; size_t v_sz_23997_; size_t v___x_23998_; lean_object* v___x_23999_; -v___x_23996_ = lean_box(0); -v_sz_23997_ = lean_array_size(v___y_23995_); -v___x_23998_ = ((size_t)0ULL); -v___x_23999_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(v_env_23993_, v_declName_23984_, v___y_23995_, v_sz_23997_, v___x_23998_, v___x_23996_, v___y_23986_, v___y_23987_); -lean_dec_ref(v___y_23995_); -lean_dec_ref(v_env_23993_); -if (lean_obj_tag(v___x_23999_) == 0) +lean_object* v___x_24036_; size_t v_sz_24037_; size_t v___x_24038_; lean_object* v___x_24039_; +v___x_24036_ = lean_box(0); +v_sz_24037_ = lean_array_size(v___y_24035_); +v___x_24038_ = ((size_t)0ULL); +v___x_24039_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17_spec__29(v_env_24033_, v_declName_24024_, v___y_24035_, v_sz_24037_, v___x_24038_, v___x_24036_, v___y_24026_, v___y_24027_); +lean_dec_ref(v___y_24035_); +lean_dec_ref(v_env_24033_); +if (lean_obj_tag(v___x_24039_) == 0) { -lean_object* v___x_24001_; uint8_t v_isShared_24002_; uint8_t v_isSharedCheck_24006_; -v_isSharedCheck_24006_ = !lean_is_exclusive(v___x_23999_); -if (v_isSharedCheck_24006_ == 0) +lean_object* v___x_24041_; uint8_t v_isShared_24042_; uint8_t v_isSharedCheck_24046_; +v_isSharedCheck_24046_ = !lean_is_exclusive(v___x_24039_); +if (v_isSharedCheck_24046_ == 0) { -lean_object* v_unused_24007_; -v_unused_24007_ = lean_ctor_get(v___x_23999_, 0); -lean_dec(v_unused_24007_); -v___x_24001_ = v___x_23999_; -v_isShared_24002_ = v_isSharedCheck_24006_; -goto v_resetjp_24000_; +lean_object* v_unused_24047_; +v_unused_24047_ = lean_ctor_get(v___x_24039_, 0); +lean_dec(v_unused_24047_); +v___x_24041_ = v___x_24039_; +v_isShared_24042_ = v_isSharedCheck_24046_; +goto v_resetjp_24040_; } else { -lean_dec(v___x_23999_); -v___x_24001_ = lean_box(0); -v_isShared_24002_ = v_isSharedCheck_24006_; -goto v_resetjp_24000_; +lean_dec(v___x_24039_); +v___x_24041_ = lean_box(0); +v_isShared_24042_ = v_isSharedCheck_24046_; +goto v_resetjp_24040_; } -v_resetjp_24000_: +v_resetjp_24040_: { -lean_object* v___x_24004_; -if (v_isShared_24002_ == 0) +lean_object* v___x_24044_; +if (v_isShared_24042_ == 0) { -lean_ctor_set(v___x_24001_, 0, v___x_23996_); -v___x_24004_ = v___x_24001_; -goto v_reusejp_24003_; +lean_ctor_set(v___x_24041_, 0, v___x_24036_); +v___x_24044_ = v___x_24041_; +goto v_reusejp_24043_; } else { -lean_object* v_reuseFailAlloc_24005_; -v_reuseFailAlloc_24005_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24005_, 0, v___x_23996_); -v___x_24004_ = v_reuseFailAlloc_24005_; -goto v_reusejp_24003_; +lean_object* v_reuseFailAlloc_24045_; +v_reuseFailAlloc_24045_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24045_, 0, v___x_24036_); +v___x_24044_ = v_reuseFailAlloc_24045_; +goto v_reusejp_24043_; } -v_reusejp_24003_: +v_reusejp_24043_: { -return v___x_24004_; +return v___x_24044_; } } } else { -return v___x_23999_; +return v___x_24039_; } } } } -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17___boxed(lean_object* v_declName_24032_, lean_object* v_isMeta_24033_, lean_object* v___y_24034_, lean_object* v___y_24035_, lean_object* v___y_24036_){ +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17___boxed(lean_object* v_declName_24072_, lean_object* v_isMeta_24073_, lean_object* v___y_24074_, lean_object* v___y_24075_, lean_object* v___y_24076_){ _start: { -uint8_t v_isMeta_boxed_24037_; lean_object* v_res_24038_; -v_isMeta_boxed_24037_ = lean_unbox(v_isMeta_24033_); -v_res_24038_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_declName_24032_, v_isMeta_boxed_24037_, v___y_24034_, v___y_24035_); -lean_dec(v___y_24035_); -lean_dec_ref(v___y_24034_); -return v_res_24038_; -} -} -LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(lean_object* v___y_24039_){ -_start: -{ -lean_object* v___x_24041_; lean_object* v_env_24042_; lean_object* v___x_24043_; lean_object* v_mainModule_24044_; lean_object* v___x_24045_; -v___x_24041_ = lean_st_ref_get(v___y_24039_); -v_env_24042_ = lean_ctor_get(v___x_24041_, 0); -lean_inc_ref(v_env_24042_); -lean_dec(v___x_24041_); -v___x_24043_ = l_Lean_Environment_header(v_env_24042_); -lean_dec_ref(v_env_24042_); -v_mainModule_24044_ = lean_ctor_get(v___x_24043_, 0); -lean_inc(v_mainModule_24044_); -lean_dec_ref(v___x_24043_); -v___x_24045_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24045_, 0, v_mainModule_24044_); -return v___x_24045_; -} -} -LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg___boxed(lean_object* v___y_24046_, lean_object* v___y_24047_){ -_start: -{ -lean_object* v_res_24048_; -v_res_24048_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_24046_); -lean_dec(v___y_24046_); -return v_res_24048_; -} -} -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(lean_object* v_as_24049_, lean_object* v___y_24050_, lean_object* v___y_24051_){ -_start: -{ -if (lean_obj_tag(v_as_24049_) == 0) -{ -lean_object* v___x_24053_; lean_object* v___x_24054_; -v___x_24053_ = lean_box(0); -v___x_24054_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24054_, 0, v___x_24053_); -return v___x_24054_; -} -else -{ -lean_object* v_head_24055_; lean_object* v_tail_24056_; lean_object* v_fst_24057_; lean_object* v_snd_24058_; lean_object* v___x_24059_; lean_object* v_a_24060_; lean_object* v___x_24062_; uint8_t v_isShared_24063_; uint8_t v_isSharedCheck_24072_; -v_head_24055_ = lean_ctor_get(v_as_24049_, 0); -lean_inc(v_head_24055_); -v_tail_24056_ = lean_ctor_get(v_as_24049_, 1); -lean_inc(v_tail_24056_); -lean_dec_ref(v_as_24049_); -v_fst_24057_ = lean_ctor_get(v_head_24055_, 0); -lean_inc(v_fst_24057_); -v_snd_24058_ = lean_ctor_get(v_head_24055_, 1); -lean_inc(v_snd_24058_); -lean_dec(v_head_24055_); -lean_inc(v_fst_24057_); -v___x_24059_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_fst_24057_, v___y_24051_); -v_a_24060_ = lean_ctor_get(v___x_24059_, 0); -v_isSharedCheck_24072_ = !lean_is_exclusive(v___x_24059_); -if (v_isSharedCheck_24072_ == 0) -{ -v___x_24062_ = v___x_24059_; -v_isShared_24063_ = v_isSharedCheck_24072_; -goto v_resetjp_24061_; -} -else -{ -lean_inc(v_a_24060_); -lean_dec(v___x_24059_); -v___x_24062_ = lean_box(0); -v_isShared_24063_ = v_isSharedCheck_24072_; -goto v_resetjp_24061_; -} -v_resetjp_24061_: -{ -uint8_t v___x_24064_; -v___x_24064_ = lean_unbox(v_a_24060_); -lean_dec(v_a_24060_); -if (v___x_24064_ == 0) -{ -lean_del_object(v___x_24062_); -lean_dec(v_snd_24058_); -lean_dec(v_fst_24057_); -v_as_24049_ = v_tail_24056_; -goto _start; -} -else -{ -lean_object* v___x_24067_; -if (v_isShared_24063_ == 0) -{ -lean_ctor_set_tag(v___x_24062_, 3); -lean_ctor_set(v___x_24062_, 0, v_snd_24058_); -v___x_24067_ = v___x_24062_; -goto v_reusejp_24066_; -} -else -{ -lean_object* v_reuseFailAlloc_24071_; -v_reuseFailAlloc_24071_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24071_, 0, v_snd_24058_); -v___x_24067_ = v_reuseFailAlloc_24071_; -goto v_reusejp_24066_; -} -v_reusejp_24066_: -{ -lean_object* v___x_24068_; lean_object* v___x_24069_; -v___x_24068_ = l_Lean_MessageData_ofFormat(v___x_24067_); -v___x_24069_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_fst_24057_, v___x_24068_, v___y_24050_, v___y_24051_); -if (lean_obj_tag(v___x_24069_) == 0) -{ -lean_dec_ref(v___x_24069_); -v_as_24049_ = v_tail_24056_; -goto _start; -} -else -{ -lean_dec(v_tail_24056_); -return v___x_24069_; -} -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23___boxed(lean_object* v_as_24073_, lean_object* v___y_24074_, lean_object* v___y_24075_, lean_object* v___y_24076_){ -_start: -{ -lean_object* v_res_24077_; -v_res_24077_ = l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(v_as_24073_, v___y_24074_, v___y_24075_); +uint8_t v_isMeta_boxed_24077_; lean_object* v_res_24078_; +v_isMeta_boxed_24077_ = lean_unbox(v_isMeta_24073_); +v_res_24078_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_declName_24072_, v_isMeta_boxed_24077_, v___y_24074_, v___y_24075_); lean_dec(v___y_24075_); lean_dec_ref(v___y_24074_); -return v_res_24077_; +return v_res_24078_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(lean_object* v_ref_24078_){ +LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(lean_object* v___y_24079_){ _start: { -lean_object* v___x_24080_; lean_object* v___x_24081_; lean_object* v___x_24082_; -v___x_24080_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5); -v___x_24081_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24081_, 0, v_ref_24078_); -lean_ctor_set(v___x_24081_, 1, v___x_24080_); -v___x_24082_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_24082_, 0, v___x_24081_); -return v___x_24082_; +lean_object* v___x_24081_; lean_object* v_env_24082_; lean_object* v___x_24083_; lean_object* v_mainModule_24084_; lean_object* v___x_24085_; +v___x_24081_ = lean_st_ref_get(v___y_24079_); +v_env_24082_ = lean_ctor_get(v___x_24081_, 0); +lean_inc_ref(v_env_24082_); +lean_dec(v___x_24081_); +v___x_24083_ = l_Lean_Environment_header(v_env_24082_); +lean_dec_ref(v_env_24082_); +v_mainModule_24084_ = lean_ctor_get(v___x_24083_, 0); +lean_inc(v_mainModule_24084_); +lean_dec_ref(v___x_24083_); +v___x_24085_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24085_, 0, v_mainModule_24084_); +return v___x_24085_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg___boxed(lean_object* v_ref_24083_, lean_object* v___y_24084_){ +LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg___boxed(lean_object* v___y_24086_, lean_object* v___y_24087_){ _start: { -lean_object* v_res_24085_; -v_res_24085_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_ref_24083_); -return v_res_24085_; +lean_object* v_res_24088_; +v_res_24088_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_24086_); +lean_dec(v___y_24086_); +return v_res_24088_; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(lean_object* v_as_24089_, lean_object* v___y_24090_, lean_object* v___y_24091_){ +_start: +{ +if (lean_obj_tag(v_as_24089_) == 0) +{ +lean_object* v___x_24093_; lean_object* v___x_24094_; +v___x_24093_ = lean_box(0); +v___x_24094_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24094_, 0, v___x_24093_); +return v___x_24094_; +} +else +{ +lean_object* v_head_24095_; lean_object* v_tail_24096_; lean_object* v_fst_24097_; lean_object* v_snd_24098_; lean_object* v___x_24099_; lean_object* v_a_24100_; lean_object* v___x_24102_; uint8_t v_isShared_24103_; uint8_t v_isSharedCheck_24112_; +v_head_24095_ = lean_ctor_get(v_as_24089_, 0); +lean_inc(v_head_24095_); +v_tail_24096_ = lean_ctor_get(v_as_24089_, 1); +lean_inc(v_tail_24096_); +lean_dec_ref(v_as_24089_); +v_fst_24097_ = lean_ctor_get(v_head_24095_, 0); +lean_inc(v_fst_24097_); +v_snd_24098_ = lean_ctor_get(v_head_24095_, 1); +lean_inc(v_snd_24098_); +lean_dec(v_head_24095_); +lean_inc(v_fst_24097_); +v___x_24099_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_fst_24097_, v___y_24091_); +v_a_24100_ = lean_ctor_get(v___x_24099_, 0); +v_isSharedCheck_24112_ = !lean_is_exclusive(v___x_24099_); +if (v_isSharedCheck_24112_ == 0) +{ +v___x_24102_ = v___x_24099_; +v_isShared_24103_ = v_isSharedCheck_24112_; +goto v_resetjp_24101_; +} +else +{ +lean_inc(v_a_24100_); +lean_dec(v___x_24099_); +v___x_24102_ = lean_box(0); +v_isShared_24103_ = v_isSharedCheck_24112_; +goto v_resetjp_24101_; +} +v_resetjp_24101_: +{ +uint8_t v___x_24104_; +v___x_24104_ = lean_unbox(v_a_24100_); +lean_dec(v_a_24100_); +if (v___x_24104_ == 0) +{ +lean_del_object(v___x_24102_); +lean_dec(v_snd_24098_); +lean_dec(v_fst_24097_); +v_as_24089_ = v_tail_24096_; +goto _start; +} +else +{ +lean_object* v___x_24107_; +if (v_isShared_24103_ == 0) +{ +lean_ctor_set_tag(v___x_24102_, 3); +lean_ctor_set(v___x_24102_, 0, v_snd_24098_); +v___x_24107_ = v___x_24102_; +goto v_reusejp_24106_; +} +else +{ +lean_object* v_reuseFailAlloc_24111_; +v_reuseFailAlloc_24111_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24111_, 0, v_snd_24098_); +v___x_24107_ = v_reuseFailAlloc_24111_; +goto v_reusejp_24106_; +} +v_reusejp_24106_: +{ +lean_object* v___x_24108_; lean_object* v___x_24109_; +v___x_24108_ = l_Lean_MessageData_ofFormat(v___x_24107_); +v___x_24109_ = l_Lean_addTrace___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__21(v_fst_24097_, v___x_24108_, v___y_24090_, v___y_24091_); +if (lean_obj_tag(v___x_24109_) == 0) +{ +lean_dec_ref(v___x_24109_); +v_as_24089_ = v_tail_24096_; +goto _start; +} +else +{ +lean_dec(v_tail_24096_); +return v___x_24109_; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23___boxed(lean_object* v_as_24113_, lean_object* v___y_24114_, lean_object* v___y_24115_, lean_object* v___y_24116_){ +_start: +{ +lean_object* v_res_24117_; +v_res_24117_ = l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(v_as_24113_, v___y_24114_, v___y_24115_); +lean_dec(v___y_24115_); +lean_dec_ref(v___y_24114_); +return v_res_24117_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(lean_object* v_ref_24118_){ +_start: +{ +lean_object* v___x_24120_; lean_object* v___x_24121_; lean_object* v___x_24122_; +v___x_24120_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Meta_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Meta_transformWithCache_visit___at___00Lean_Meta_transform___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_cleanupOfNat_spec__0_spec__0_spec__9_spec__13___redArg___closed__5); +v___x_24121_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24121_, 0, v_ref_24118_); +lean_ctor_set(v___x_24121_, 1, v___x_24120_); +v___x_24122_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_24122_, 0, v___x_24121_); +return v___x_24122_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg___boxed(lean_object* v_ref_24123_, lean_object* v___y_24124_){ +_start: +{ +lean_object* v_res_24125_; +v_res_24125_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_ref_24123_); +return v_res_24125_; } } LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(){ _start: { -lean_object* v___x_24087_; lean_object* v___x_24088_; -v___x_24087_ = lean_obj_once(&l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0, &l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0_once, _init_l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0); -v___x_24088_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_24088_, 0, v___x_24087_); -return v___x_24088_; +lean_object* v___x_24127_; lean_object* v___x_24128_; +v___x_24127_ = lean_obj_once(&l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0, &l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0_once, _init_l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__6___redArg___closed__0); +v___x_24128_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_24128_, 0, v___x_24127_); +return v___x_24128_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg___boxed(lean_object* v___y_24089_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg___boxed(lean_object* v___y_24129_){ _start: { -lean_object* v_res_24090_; -v_res_24090_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); -return v_res_24090_; +lean_object* v_res_24130_; +v_res_24130_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); +return v_res_24130_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1(lean_object* v_env_24091_, lean_object* v_stx_24092_, lean_object* v___y_24093_, lean_object* v___y_24094_){ +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1(lean_object* v_env_24131_, lean_object* v_stx_24132_, lean_object* v___y_24133_, lean_object* v___y_24134_){ _start: { -lean_object* v___x_24095_; -v___x_24095_ = l_Lean_Elab_expandMacroImpl_x3f(v_env_24091_, v_stx_24092_, v___y_24093_, v___y_24094_); -if (lean_obj_tag(v___x_24095_) == 0) +lean_object* v___x_24135_; +v___x_24135_ = l_Lean_Elab_expandMacroImpl_x3f(v_env_24131_, v_stx_24132_, v___y_24133_, v___y_24134_); +if (lean_obj_tag(v___x_24135_) == 0) { -lean_object* v_a_24096_; -v_a_24096_ = lean_ctor_get(v___x_24095_, 0); -lean_inc(v_a_24096_); -if (lean_obj_tag(v_a_24096_) == 0) +lean_object* v_a_24136_; +v_a_24136_ = lean_ctor_get(v___x_24135_, 0); +lean_inc(v_a_24136_); +if (lean_obj_tag(v_a_24136_) == 0) { -lean_object* v_a_24097_; lean_object* v___x_24099_; uint8_t v_isShared_24100_; uint8_t v_isSharedCheck_24105_; -v_a_24097_ = lean_ctor_get(v___x_24095_, 1); -v_isSharedCheck_24105_ = !lean_is_exclusive(v___x_24095_); -if (v_isSharedCheck_24105_ == 0) +lean_object* v_a_24137_; lean_object* v___x_24139_; uint8_t v_isShared_24140_; uint8_t v_isSharedCheck_24145_; +v_a_24137_ = lean_ctor_get(v___x_24135_, 1); +v_isSharedCheck_24145_ = !lean_is_exclusive(v___x_24135_); +if (v_isSharedCheck_24145_ == 0) { -lean_object* v_unused_24106_; -v_unused_24106_ = lean_ctor_get(v___x_24095_, 0); -lean_dec(v_unused_24106_); -v___x_24099_ = v___x_24095_; -v_isShared_24100_ = v_isSharedCheck_24105_; -goto v_resetjp_24098_; -} -else -{ -lean_inc(v_a_24097_); -lean_dec(v___x_24095_); -v___x_24099_ = lean_box(0); -v_isShared_24100_ = v_isSharedCheck_24105_; -goto v_resetjp_24098_; -} -v_resetjp_24098_: -{ -lean_object* v___x_24101_; lean_object* v___x_24103_; -v___x_24101_ = lean_box(0); -if (v_isShared_24100_ == 0) -{ -lean_ctor_set(v___x_24099_, 0, v___x_24101_); -v___x_24103_ = v___x_24099_; -goto v_reusejp_24102_; -} -else -{ -lean_object* v_reuseFailAlloc_24104_; -v_reuseFailAlloc_24104_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24104_, 0, v___x_24101_); -lean_ctor_set(v_reuseFailAlloc_24104_, 1, v_a_24097_); -v___x_24103_ = v_reuseFailAlloc_24104_; -goto v_reusejp_24102_; -} -v_reusejp_24102_: -{ -return v___x_24103_; -} -} -} -else -{ -lean_object* v_val_24107_; lean_object* v___x_24109_; uint8_t v_isShared_24110_; uint8_t v_isSharedCheck_24135_; -v_val_24107_ = lean_ctor_get(v_a_24096_, 0); -v_isSharedCheck_24135_ = !lean_is_exclusive(v_a_24096_); -if (v_isSharedCheck_24135_ == 0) -{ -v___x_24109_ = v_a_24096_; -v_isShared_24110_ = v_isSharedCheck_24135_; -goto v_resetjp_24108_; -} -else -{ -lean_inc(v_val_24107_); -lean_dec(v_a_24096_); -v___x_24109_ = lean_box(0); -v_isShared_24110_ = v_isSharedCheck_24135_; -goto v_resetjp_24108_; -} -v_resetjp_24108_: -{ -lean_object* v_snd_24111_; -v_snd_24111_ = lean_ctor_get(v_val_24107_, 1); -lean_inc(v_snd_24111_); -lean_dec(v_val_24107_); -if (lean_obj_tag(v_snd_24111_) == 0) -{ -lean_object* v_a_24112_; lean_object* v_a_24113_; lean_object* v___x_24115_; uint8_t v_isShared_24116_; uint8_t v_isSharedCheck_24121_; -lean_del_object(v___x_24109_); -v_a_24112_ = lean_ctor_get(v___x_24095_, 1); -lean_inc(v_a_24112_); -lean_dec_ref(v___x_24095_); -v_a_24113_ = lean_ctor_get(v_snd_24111_, 0); -v_isSharedCheck_24121_ = !lean_is_exclusive(v_snd_24111_); -if (v_isSharedCheck_24121_ == 0) -{ -v___x_24115_ = v_snd_24111_; -v_isShared_24116_ = v_isSharedCheck_24121_; -goto v_resetjp_24114_; -} -else -{ -lean_inc(v_a_24113_); -lean_dec(v_snd_24111_); -v___x_24115_ = lean_box(0); -v_isShared_24116_ = v_isSharedCheck_24121_; -goto v_resetjp_24114_; -} -v_resetjp_24114_: -{ -lean_object* v___x_24118_; -if (v_isShared_24116_ == 0) -{ -v___x_24118_ = v___x_24115_; -goto v_reusejp_24117_; -} -else -{ -lean_object* v_reuseFailAlloc_24120_; -v_reuseFailAlloc_24120_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24120_, 0, v_a_24113_); -v___x_24118_ = v_reuseFailAlloc_24120_; -goto v_reusejp_24117_; -} -v_reusejp_24117_: -{ -lean_object* v___x_24119_; -v___x_24119_ = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__1___redArg(v___x_24118_, v_a_24112_); -lean_dec_ref(v___x_24118_); -return v___x_24119_; -} -} -} -else -{ -lean_object* v_a_24122_; lean_object* v_a_24123_; lean_object* v___x_24125_; uint8_t v_isShared_24126_; uint8_t v_isSharedCheck_24134_; -v_a_24122_ = lean_ctor_get(v___x_24095_, 1); -lean_inc(v_a_24122_); -lean_dec_ref(v___x_24095_); -v_a_24123_ = lean_ctor_get(v_snd_24111_, 0); -v_isSharedCheck_24134_ = !lean_is_exclusive(v_snd_24111_); -if (v_isSharedCheck_24134_ == 0) -{ -v___x_24125_ = v_snd_24111_; -v_isShared_24126_ = v_isSharedCheck_24134_; -goto v_resetjp_24124_; -} -else -{ -lean_inc(v_a_24123_); -lean_dec(v_snd_24111_); -v___x_24125_ = lean_box(0); -v_isShared_24126_ = v_isSharedCheck_24134_; -goto v_resetjp_24124_; -} -v_resetjp_24124_: -{ -lean_object* v___x_24128_; -if (v_isShared_24110_ == 0) -{ -lean_ctor_set(v___x_24109_, 0, v_a_24123_); -v___x_24128_ = v___x_24109_; -goto v_reusejp_24127_; -} -else -{ -lean_object* v_reuseFailAlloc_24133_; -v_reuseFailAlloc_24133_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24133_, 0, v_a_24123_); -v___x_24128_ = v_reuseFailAlloc_24133_; -goto v_reusejp_24127_; -} -v_reusejp_24127_: -{ -lean_object* v___x_24130_; -if (v_isShared_24126_ == 0) -{ -lean_ctor_set(v___x_24125_, 0, v___x_24128_); -v___x_24130_ = v___x_24125_; -goto v_reusejp_24129_; -} -else -{ -lean_object* v_reuseFailAlloc_24132_; -v_reuseFailAlloc_24132_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24132_, 0, v___x_24128_); -v___x_24130_ = v_reuseFailAlloc_24132_; -goto v_reusejp_24129_; -} -v_reusejp_24129_: -{ -lean_object* v___x_24131_; -v___x_24131_ = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__1___redArg(v___x_24130_, v_a_24122_); -lean_dec_ref(v___x_24130_); -return v___x_24131_; -} -} -} -} -} -} -} -else -{ -lean_object* v_a_24136_; lean_object* v_a_24137_; lean_object* v___x_24139_; uint8_t v_isShared_24140_; uint8_t v_isSharedCheck_24144_; -v_a_24136_ = lean_ctor_get(v___x_24095_, 0); -v_a_24137_ = lean_ctor_get(v___x_24095_, 1); -v_isSharedCheck_24144_ = !lean_is_exclusive(v___x_24095_); -if (v_isSharedCheck_24144_ == 0) -{ -v___x_24139_ = v___x_24095_; -v_isShared_24140_ = v_isSharedCheck_24144_; +lean_object* v_unused_24146_; +v_unused_24146_ = lean_ctor_get(v___x_24135_, 0); +lean_dec(v_unused_24146_); +v___x_24139_ = v___x_24135_; +v_isShared_24140_ = v_isSharedCheck_24145_; goto v_resetjp_24138_; } else { lean_inc(v_a_24137_); -lean_inc(v_a_24136_); -lean_dec(v___x_24095_); +lean_dec(v___x_24135_); v___x_24139_ = lean_box(0); -v_isShared_24140_ = v_isSharedCheck_24144_; +v_isShared_24140_ = v_isSharedCheck_24145_; goto v_resetjp_24138_; } v_resetjp_24138_: { -lean_object* v___x_24142_; +lean_object* v___x_24141_; lean_object* v___x_24143_; +v___x_24141_ = lean_box(0); if (v_isShared_24140_ == 0) { -v___x_24142_ = v___x_24139_; -goto v_reusejp_24141_; +lean_ctor_set(v___x_24139_, 0, v___x_24141_); +v___x_24143_ = v___x_24139_; +goto v_reusejp_24142_; } else { -lean_object* v_reuseFailAlloc_24143_; -v_reuseFailAlloc_24143_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24143_, 0, v_a_24136_); -lean_ctor_set(v_reuseFailAlloc_24143_, 1, v_a_24137_); -v___x_24142_ = v_reuseFailAlloc_24143_; -goto v_reusejp_24141_; +lean_object* v_reuseFailAlloc_24144_; +v_reuseFailAlloc_24144_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_24144_, 0, v___x_24141_); +lean_ctor_set(v_reuseFailAlloc_24144_, 1, v_a_24137_); +v___x_24143_ = v_reuseFailAlloc_24144_; +goto v_reusejp_24142_; } -v_reusejp_24141_: +v_reusejp_24142_: { -return v___x_24142_; +return v___x_24143_; } } } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1___boxed(lean_object* v_env_24145_, lean_object* v_stx_24146_, lean_object* v___y_24147_, lean_object* v___y_24148_){ -_start: -{ -lean_object* v_res_24149_; -v_res_24149_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1(v_env_24145_, v_stx_24146_, v___y_24147_, v___y_24148_); -lean_dec_ref(v___y_24147_); -return v_res_24149_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3(lean_object* v_env_24150_, lean_object* v_opts_24151_, lean_object* v_currNamespace_24152_, lean_object* v_openDecls_24153_, lean_object* v_n_24154_, lean_object* v___y_24155_, lean_object* v___y_24156_){ -_start: -{ -lean_object* v___x_24157_; lean_object* v___x_24158_; -v___x_24157_ = l_Lean_ResolveName_resolveGlobalName(v_env_24150_, v_opts_24151_, v_currNamespace_24152_, v_openDecls_24153_, v_n_24154_); -v___x_24158_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24158_, 0, v___x_24157_); -lean_ctor_set(v___x_24158_, 1, v___y_24156_); -return v___x_24158_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3___boxed(lean_object* v_env_24159_, lean_object* v_opts_24160_, lean_object* v_currNamespace_24161_, lean_object* v_openDecls_24162_, lean_object* v_n_24163_, lean_object* v___y_24164_, lean_object* v___y_24165_){ -_start: -{ -lean_object* v_res_24166_; -v_res_24166_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3(v_env_24159_, v_opts_24160_, v_currNamespace_24161_, v_openDecls_24162_, v_n_24163_, v___y_24164_, v___y_24165_); -lean_dec_ref(v___y_24164_); -lean_dec_ref(v_opts_24160_); -return v_res_24166_; -} -} -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(lean_object* v_as_x27_24167_, lean_object* v_b_24168_, lean_object* v___y_24169_, lean_object* v___y_24170_){ -_start: -{ -if (lean_obj_tag(v_as_x27_24167_) == 0) -{ -lean_object* v___x_24172_; -v___x_24172_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24172_, 0, v_b_24168_); -return v___x_24172_; -} else { -lean_object* v_head_24173_; lean_object* v_tail_24174_; uint8_t v___x_24175_; lean_object* v___x_24176_; -v_head_24173_ = lean_ctor_get(v_as_x27_24167_, 0); -lean_inc(v_head_24173_); -v_tail_24174_ = lean_ctor_get(v_as_x27_24167_, 1); -lean_inc(v_tail_24174_); -lean_dec_ref(v_as_x27_24167_); -v___x_24175_ = 1; -v___x_24176_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_head_24173_, v___x_24175_, v___y_24169_, v___y_24170_); -if (lean_obj_tag(v___x_24176_) == 0) +lean_object* v_val_24147_; lean_object* v___x_24149_; uint8_t v_isShared_24150_; uint8_t v_isSharedCheck_24175_; +v_val_24147_ = lean_ctor_get(v_a_24136_, 0); +v_isSharedCheck_24175_ = !lean_is_exclusive(v_a_24136_); +if (v_isSharedCheck_24175_ == 0) { -lean_object* v___x_24177_; -lean_dec_ref(v___x_24176_); -v___x_24177_ = lean_box(0); -v_as_x27_24167_ = v_tail_24174_; -v_b_24168_ = v___x_24177_; +v___x_24149_ = v_a_24136_; +v_isShared_24150_ = v_isSharedCheck_24175_; +goto v_resetjp_24148_; +} +else +{ +lean_inc(v_val_24147_); +lean_dec(v_a_24136_); +v___x_24149_ = lean_box(0); +v_isShared_24150_ = v_isSharedCheck_24175_; +goto v_resetjp_24148_; +} +v_resetjp_24148_: +{ +lean_object* v_snd_24151_; +v_snd_24151_ = lean_ctor_get(v_val_24147_, 1); +lean_inc(v_snd_24151_); +lean_dec(v_val_24147_); +if (lean_obj_tag(v_snd_24151_) == 0) +{ +lean_object* v_a_24152_; lean_object* v_a_24153_; lean_object* v___x_24155_; uint8_t v_isShared_24156_; uint8_t v_isSharedCheck_24161_; +lean_del_object(v___x_24149_); +v_a_24152_ = lean_ctor_get(v___x_24135_, 1); +lean_inc(v_a_24152_); +lean_dec_ref(v___x_24135_); +v_a_24153_ = lean_ctor_get(v_snd_24151_, 0); +v_isSharedCheck_24161_ = !lean_is_exclusive(v_snd_24151_); +if (v_isSharedCheck_24161_ == 0) +{ +v___x_24155_ = v_snd_24151_; +v_isShared_24156_ = v_isSharedCheck_24161_; +goto v_resetjp_24154_; +} +else +{ +lean_inc(v_a_24153_); +lean_dec(v_snd_24151_); +v___x_24155_ = lean_box(0); +v_isShared_24156_ = v_isSharedCheck_24161_; +goto v_resetjp_24154_; +} +v_resetjp_24154_: +{ +lean_object* v___x_24158_; +if (v_isShared_24156_ == 0) +{ +v___x_24158_ = v___x_24155_; +goto v_reusejp_24157_; +} +else +{ +lean_object* v_reuseFailAlloc_24160_; +v_reuseFailAlloc_24160_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24160_, 0, v_a_24153_); +v___x_24158_ = v_reuseFailAlloc_24160_; +goto v_reusejp_24157_; +} +v_reusejp_24157_: +{ +lean_object* v___x_24159_; +v___x_24159_ = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__1___redArg(v___x_24158_, v_a_24152_); +lean_dec_ref(v___x_24158_); +return v___x_24159_; +} +} +} +else +{ +lean_object* v_a_24162_; lean_object* v_a_24163_; lean_object* v___x_24165_; uint8_t v_isShared_24166_; uint8_t v_isSharedCheck_24174_; +v_a_24162_ = lean_ctor_get(v___x_24135_, 1); +lean_inc(v_a_24162_); +lean_dec_ref(v___x_24135_); +v_a_24163_ = lean_ctor_get(v_snd_24151_, 0); +v_isSharedCheck_24174_ = !lean_is_exclusive(v_snd_24151_); +if (v_isSharedCheck_24174_ == 0) +{ +v___x_24165_ = v_snd_24151_; +v_isShared_24166_ = v_isSharedCheck_24174_; +goto v_resetjp_24164_; +} +else +{ +lean_inc(v_a_24163_); +lean_dec(v_snd_24151_); +v___x_24165_ = lean_box(0); +v_isShared_24166_ = v_isSharedCheck_24174_; +goto v_resetjp_24164_; +} +v_resetjp_24164_: +{ +lean_object* v___x_24168_; +if (v_isShared_24150_ == 0) +{ +lean_ctor_set(v___x_24149_, 0, v_a_24163_); +v___x_24168_ = v___x_24149_; +goto v_reusejp_24167_; +} +else +{ +lean_object* v_reuseFailAlloc_24173_; +v_reuseFailAlloc_24173_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24173_, 0, v_a_24163_); +v___x_24168_ = v_reuseFailAlloc_24173_; +goto v_reusejp_24167_; +} +v_reusejp_24167_: +{ +lean_object* v___x_24170_; +if (v_isShared_24166_ == 0) +{ +lean_ctor_set(v___x_24165_, 0, v___x_24168_); +v___x_24170_ = v___x_24165_; +goto v_reusejp_24169_; +} +else +{ +lean_object* v_reuseFailAlloc_24172_; +v_reuseFailAlloc_24172_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24172_, 0, v___x_24168_); +v___x_24170_ = v_reuseFailAlloc_24172_; +goto v_reusejp_24169_; +} +v_reusejp_24169_: +{ +lean_object* v___x_24171_; +v___x_24171_ = l_liftExcept___at___00Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1_spec__1___redArg(v___x_24170_, v_a_24162_); +lean_dec_ref(v___x_24170_); +return v___x_24171_; +} +} +} +} +} +} +} +else +{ +lean_object* v_a_24176_; lean_object* v_a_24177_; lean_object* v___x_24179_; uint8_t v_isShared_24180_; uint8_t v_isSharedCheck_24184_; +v_a_24176_ = lean_ctor_get(v___x_24135_, 0); +v_a_24177_ = lean_ctor_get(v___x_24135_, 1); +v_isSharedCheck_24184_ = !lean_is_exclusive(v___x_24135_); +if (v_isSharedCheck_24184_ == 0) +{ +v___x_24179_ = v___x_24135_; +v_isShared_24180_ = v_isSharedCheck_24184_; +goto v_resetjp_24178_; +} +else +{ +lean_inc(v_a_24177_); +lean_inc(v_a_24176_); +lean_dec(v___x_24135_); +v___x_24179_ = lean_box(0); +v_isShared_24180_ = v_isSharedCheck_24184_; +goto v_resetjp_24178_; +} +v_resetjp_24178_: +{ +lean_object* v___x_24182_; +if (v_isShared_24180_ == 0) +{ +v___x_24182_ = v___x_24179_; +goto v_reusejp_24181_; +} +else +{ +lean_object* v_reuseFailAlloc_24183_; +v_reuseFailAlloc_24183_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_24183_, 0, v_a_24176_); +lean_ctor_set(v_reuseFailAlloc_24183_, 1, v_a_24177_); +v___x_24182_ = v_reuseFailAlloc_24183_; +goto v_reusejp_24181_; +} +v_reusejp_24181_: +{ +return v___x_24182_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1___boxed(lean_object* v_env_24185_, lean_object* v_stx_24186_, lean_object* v___y_24187_, lean_object* v___y_24188_){ +_start: +{ +lean_object* v_res_24189_; +v_res_24189_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1(v_env_24185_, v_stx_24186_, v___y_24187_, v___y_24188_); +lean_dec_ref(v___y_24187_); +return v_res_24189_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3(lean_object* v_env_24190_, lean_object* v_opts_24191_, lean_object* v_currNamespace_24192_, lean_object* v_openDecls_24193_, lean_object* v_n_24194_, lean_object* v___y_24195_, lean_object* v___y_24196_){ +_start: +{ +lean_object* v___x_24197_; lean_object* v___x_24198_; +v___x_24197_ = l_Lean_ResolveName_resolveGlobalName(v_env_24190_, v_opts_24191_, v_currNamespace_24192_, v_openDecls_24193_, v_n_24194_); +v___x_24198_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24198_, 0, v___x_24197_); +lean_ctor_set(v___x_24198_, 1, v___y_24196_); +return v___x_24198_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3___boxed(lean_object* v_env_24199_, lean_object* v_opts_24200_, lean_object* v_currNamespace_24201_, lean_object* v_openDecls_24202_, lean_object* v_n_24203_, lean_object* v___y_24204_, lean_object* v___y_24205_){ +_start: +{ +lean_object* v_res_24206_; +v_res_24206_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3(v_env_24199_, v_opts_24200_, v_currNamespace_24201_, v_openDecls_24202_, v_n_24203_, v___y_24204_, v___y_24205_); +lean_dec_ref(v___y_24204_); +lean_dec_ref(v_opts_24200_); +return v_res_24206_; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(lean_object* v_as_x27_24207_, lean_object* v_b_24208_, lean_object* v___y_24209_, lean_object* v___y_24210_){ +_start: +{ +if (lean_obj_tag(v_as_x27_24207_) == 0) +{ +lean_object* v___x_24212_; +v___x_24212_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24212_, 0, v_b_24208_); +return v___x_24212_; +} +else +{ +lean_object* v_head_24213_; lean_object* v_tail_24214_; uint8_t v___x_24215_; lean_object* v___x_24216_; +v_head_24213_ = lean_ctor_get(v_as_x27_24207_, 0); +lean_inc(v_head_24213_); +v_tail_24214_ = lean_ctor_get(v_as_x27_24207_, 1); +lean_inc(v_tail_24214_); +lean_dec_ref(v_as_x27_24207_); +v___x_24215_ = 1; +v___x_24216_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_head_24213_, v___x_24215_, v___y_24209_, v___y_24210_); +if (lean_obj_tag(v___x_24216_) == 0) +{ +lean_object* v___x_24217_; +lean_dec_ref(v___x_24216_); +v___x_24217_ = lean_box(0); +v_as_x27_24207_ = v_tail_24214_; +v_b_24208_ = v___x_24217_; goto _start; } else { -lean_dec(v_tail_24174_); -return v___x_24176_; +lean_dec(v_tail_24214_); +return v___x_24216_; } } } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg___boxed(lean_object* v_as_x27_24179_, lean_object* v_b_24180_, lean_object* v___y_24181_, lean_object* v___y_24182_, lean_object* v___y_24183_){ +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg___boxed(lean_object* v_as_x27_24219_, lean_object* v_b_24220_, lean_object* v___y_24221_, lean_object* v___y_24222_, lean_object* v___y_24223_){ _start: { -lean_object* v_res_24184_; -v_res_24184_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_as_x27_24179_, v_b_24180_, v___y_24181_, v___y_24182_); -lean_dec(v___y_24182_); -lean_dec_ref(v___y_24181_); -return v_res_24184_; +lean_object* v_res_24224_; +v_res_24224_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_as_x27_24219_, v_b_24220_, v___y_24221_, v___y_24222_); +lean_dec(v___y_24222_); +lean_dec_ref(v___y_24221_); +return v_res_24224_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(lean_object* v_x_24185_, lean_object* v___y_24186_, lean_object* v___y_24187_){ +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(lean_object* v_x_24225_, lean_object* v___y_24226_, lean_object* v___y_24227_){ _start: { -lean_object* v___x_24189_; lean_object* v_env_24190_; lean_object* v___x_24191_; lean_object* v_scopes_24192_; lean_object* v___x_24193_; lean_object* v___x_24194_; lean_object* v_opts_24195_; lean_object* v___x_24196_; -v___x_24189_ = lean_st_ref_get(v___y_24187_); -v_env_24190_ = lean_ctor_get(v___x_24189_, 0); -lean_inc_ref(v_env_24190_); -lean_dec(v___x_24189_); -v___x_24191_ = lean_st_ref_get(v___y_24187_); -v_scopes_24192_ = lean_ctor_get(v___x_24191_, 2); -lean_inc(v_scopes_24192_); -lean_dec(v___x_24191_); -v___x_24193_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_24194_ = l_List_head_x21___redArg(v___x_24193_, v_scopes_24192_); -lean_dec(v_scopes_24192_); -v_opts_24195_ = lean_ctor_get(v___x_24194_, 1); -lean_inc_ref(v_opts_24195_); -lean_dec(v___x_24194_); -v___x_24196_ = l_Lean_Elab_Command_getScope___redArg(v___y_24187_); -if (lean_obj_tag(v___x_24196_) == 0) -{ -lean_object* v_a_24197_; lean_object* v_currNamespace_24198_; lean_object* v___x_24199_; -v_a_24197_ = lean_ctor_get(v___x_24196_, 0); -lean_inc(v_a_24197_); -lean_dec_ref(v___x_24196_); -v_currNamespace_24198_ = lean_ctor_get(v_a_24197_, 2); -lean_inc(v_currNamespace_24198_); -lean_dec(v_a_24197_); -v___x_24199_ = l_Lean_Elab_Command_getScope___redArg(v___y_24187_); -if (lean_obj_tag(v___x_24199_) == 0) -{ -lean_object* v_a_24200_; lean_object* v_openDecls_24201_; lean_object* v___x_24202_; -v_a_24200_ = lean_ctor_get(v___x_24199_, 0); -lean_inc(v_a_24200_); -lean_dec_ref(v___x_24199_); -v_openDecls_24201_ = lean_ctor_get(v_a_24200_, 3); -lean_inc(v_openDecls_24201_); -lean_dec(v_a_24200_); -v___x_24202_ = l_Lean_Elab_Command_getRef___redArg(v___y_24186_); -if (lean_obj_tag(v___x_24202_) == 0) -{ -lean_object* v_a_24203_; lean_object* v___x_24204_; -v_a_24203_ = lean_ctor_get(v___x_24202_, 0); -lean_inc(v_a_24203_); -lean_dec_ref(v___x_24202_); -v___x_24204_ = l_Lean_Elab_Command_getCurrMacroScope___redArg(v___y_24186_); -if (lean_obj_tag(v___x_24204_) == 0) -{ -lean_object* v_a_24205_; lean_object* v_currRecDepth_24206_; lean_object* v_quotContext_x3f_24207_; lean_object* v___f_24208_; lean_object* v___f_24209_; lean_object* v___f_24210_; lean_object* v___f_24211_; lean_object* v___f_24212_; lean_object* v_methods_24213_; lean_object* v_a_24215_; -v_a_24205_ = lean_ctor_get(v___x_24204_, 0); -lean_inc(v_a_24205_); -lean_dec_ref(v___x_24204_); -v_currRecDepth_24206_ = lean_ctor_get(v___y_24186_, 2); -v_quotContext_x3f_24207_ = lean_ctor_get(v___y_24186_, 5); -lean_inc_ref(v_env_24190_); -v___f_24208_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__1___boxed), 4, 1); -lean_closure_set(v___f_24208_, 0, v_env_24190_); -lean_inc_ref(v_env_24190_); -v___f_24209_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1___boxed), 4, 1); -lean_closure_set(v___f_24209_, 0, v_env_24190_); -lean_inc(v_currNamespace_24198_); -v___f_24210_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__3___boxed), 3, 1); -lean_closure_set(v___f_24210_, 0, v_currNamespace_24198_); -lean_inc(v_openDecls_24201_); -lean_inc(v_currNamespace_24198_); -lean_inc_ref(v_env_24190_); -v___f_24211_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__2___boxed), 6, 3); -lean_closure_set(v___f_24211_, 0, v_env_24190_); -lean_closure_set(v___f_24211_, 1, v_currNamespace_24198_); -lean_closure_set(v___f_24211_, 2, v_openDecls_24201_); -v___f_24212_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3___boxed), 7, 4); -lean_closure_set(v___f_24212_, 0, v_env_24190_); -lean_closure_set(v___f_24212_, 1, v_opts_24195_); -lean_closure_set(v___f_24212_, 2, v_currNamespace_24198_); -lean_closure_set(v___f_24212_, 3, v_openDecls_24201_); -v_methods_24213_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_methods_24213_, 0, v___f_24209_); -lean_ctor_set(v_methods_24213_, 1, v___f_24210_); -lean_ctor_set(v_methods_24213_, 2, v___f_24208_); -lean_ctor_set(v_methods_24213_, 3, v___f_24211_); -lean_ctor_set(v_methods_24213_, 4, v___f_24212_); -if (lean_obj_tag(v_quotContext_x3f_24207_) == 0) -{ -lean_object* v___x_24287_; lean_object* v_a_24288_; -v___x_24287_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_24187_); -v_a_24288_ = lean_ctor_get(v___x_24287_, 0); -lean_inc(v_a_24288_); -lean_dec_ref(v___x_24287_); -v_a_24215_ = v_a_24288_; -goto v___jp_24214_; -} -else -{ -lean_object* v_val_24289_; -v_val_24289_ = lean_ctor_get(v_quotContext_x3f_24207_, 0); -lean_inc(v_val_24289_); -v_a_24215_ = v_val_24289_; -goto v___jp_24214_; -} -v___jp_24214_: -{ -lean_object* v___x_24216_; lean_object* v_maxRecDepth_24217_; lean_object* v___x_24218_; lean_object* v_nextMacroScope_24219_; lean_object* v___x_24220_; lean_object* v___x_24221_; lean_object* v___x_24222_; lean_object* v___x_24223_; -v___x_24216_ = lean_st_ref_get(v___y_24187_); -v_maxRecDepth_24217_ = lean_ctor_get(v___x_24216_, 5); -lean_inc(v_maxRecDepth_24217_); -lean_dec(v___x_24216_); -v___x_24218_ = lean_st_ref_get(v___y_24187_); -v_nextMacroScope_24219_ = lean_ctor_get(v___x_24218_, 4); -lean_inc(v_nextMacroScope_24219_); -lean_dec(v___x_24218_); -lean_inc(v_currRecDepth_24206_); -v___x_24220_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_24220_, 0, v_methods_24213_); -lean_ctor_set(v___x_24220_, 1, v_a_24215_); -lean_ctor_set(v___x_24220_, 2, v_a_24205_); -lean_ctor_set(v___x_24220_, 3, v_currRecDepth_24206_); -lean_ctor_set(v___x_24220_, 4, v_maxRecDepth_24217_); -lean_ctor_set(v___x_24220_, 5, v_a_24203_); -v___x_24221_ = lean_box(0); -v___x_24222_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_24222_, 0, v_nextMacroScope_24219_); -lean_ctor_set(v___x_24222_, 1, v___x_24221_); -lean_ctor_set(v___x_24222_, 2, v___x_24221_); -v___x_24223_ = lean_apply_2(v_x_24185_, v___x_24220_, v___x_24222_); -if (lean_obj_tag(v___x_24223_) == 0) -{ -lean_object* v_a_24224_; lean_object* v_a_24225_; lean_object* v_macroScope_24226_; lean_object* v_traceMsgs_24227_; lean_object* v_expandedMacroDecls_24228_; lean_object* v___x_24229_; lean_object* v___x_24230_; -v_a_24224_ = lean_ctor_get(v___x_24223_, 1); -lean_inc(v_a_24224_); -v_a_24225_ = lean_ctor_get(v___x_24223_, 0); -lean_inc(v_a_24225_); -lean_dec_ref(v___x_24223_); -v_macroScope_24226_ = lean_ctor_get(v_a_24224_, 0); -lean_inc(v_macroScope_24226_); -v_traceMsgs_24227_ = lean_ctor_get(v_a_24224_, 1); -lean_inc(v_traceMsgs_24227_); -v_expandedMacroDecls_24228_ = lean_ctor_get(v_a_24224_, 2); -lean_inc(v_expandedMacroDecls_24228_); -lean_dec(v_a_24224_); -v___x_24229_ = lean_box(0); -v___x_24230_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_expandedMacroDecls_24228_, v___x_24229_, v___y_24186_, v___y_24187_); -if (lean_obj_tag(v___x_24230_) == 0) -{ -lean_object* v___x_24231_; lean_object* v_env_24232_; lean_object* v_messages_24233_; lean_object* v_scopes_24234_; lean_object* v_usedQuotCtxts_24235_; lean_object* v_maxRecDepth_24236_; lean_object* v_ngen_24237_; lean_object* v_auxDeclNGen_24238_; lean_object* v_infoState_24239_; lean_object* v_traceState_24240_; lean_object* v_snapshotTasks_24241_; lean_object* v___x_24243_; uint8_t v_isShared_24244_; uint8_t v_isSharedCheck_24267_; -lean_dec_ref(v___x_24230_); -v___x_24231_ = lean_st_ref_take(v___y_24187_); -v_env_24232_ = lean_ctor_get(v___x_24231_, 0); -v_messages_24233_ = lean_ctor_get(v___x_24231_, 1); -v_scopes_24234_ = lean_ctor_get(v___x_24231_, 2); -v_usedQuotCtxts_24235_ = lean_ctor_get(v___x_24231_, 3); -v_maxRecDepth_24236_ = lean_ctor_get(v___x_24231_, 5); -v_ngen_24237_ = lean_ctor_get(v___x_24231_, 6); -v_auxDeclNGen_24238_ = lean_ctor_get(v___x_24231_, 7); -v_infoState_24239_ = lean_ctor_get(v___x_24231_, 8); -v_traceState_24240_ = lean_ctor_get(v___x_24231_, 9); -v_snapshotTasks_24241_ = lean_ctor_get(v___x_24231_, 10); -v_isSharedCheck_24267_ = !lean_is_exclusive(v___x_24231_); -if (v_isSharedCheck_24267_ == 0) -{ -lean_object* v_unused_24268_; -v_unused_24268_ = lean_ctor_get(v___x_24231_, 4); -lean_dec(v_unused_24268_); -v___x_24243_ = v___x_24231_; -v_isShared_24244_ = v_isSharedCheck_24267_; -goto v_resetjp_24242_; -} -else -{ -lean_inc(v_snapshotTasks_24241_); -lean_inc(v_traceState_24240_); -lean_inc(v_infoState_24239_); -lean_inc(v_auxDeclNGen_24238_); -lean_inc(v_ngen_24237_); -lean_inc(v_maxRecDepth_24236_); -lean_inc(v_usedQuotCtxts_24235_); -lean_inc(v_scopes_24234_); -lean_inc(v_messages_24233_); -lean_inc(v_env_24232_); +lean_object* v___x_24229_; lean_object* v_env_24230_; lean_object* v___x_24231_; lean_object* v_scopes_24232_; lean_object* v___x_24233_; lean_object* v___x_24234_; lean_object* v_opts_24235_; lean_object* v___x_24236_; +v___x_24229_ = lean_st_ref_get(v___y_24227_); +v_env_24230_ = lean_ctor_get(v___x_24229_, 0); +lean_inc_ref(v_env_24230_); +lean_dec(v___x_24229_); +v___x_24231_ = lean_st_ref_get(v___y_24227_); +v_scopes_24232_ = lean_ctor_get(v___x_24231_, 2); +lean_inc(v_scopes_24232_); lean_dec(v___x_24231_); -v___x_24243_ = lean_box(0); -v_isShared_24244_ = v_isSharedCheck_24267_; -goto v_resetjp_24242_; -} -v_resetjp_24242_: +v___x_24233_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_24234_ = l_List_head_x21___redArg(v___x_24233_, v_scopes_24232_); +lean_dec(v_scopes_24232_); +v_opts_24235_ = lean_ctor_get(v___x_24234_, 1); +lean_inc_ref(v_opts_24235_); +lean_dec(v___x_24234_); +v___x_24236_ = l_Lean_Elab_Command_getScope___redArg(v___y_24227_); +if (lean_obj_tag(v___x_24236_) == 0) { -lean_object* v___x_24246_; -if (v_isShared_24244_ == 0) +lean_object* v_a_24237_; lean_object* v_currNamespace_24238_; lean_object* v___x_24239_; +v_a_24237_ = lean_ctor_get(v___x_24236_, 0); +lean_inc(v_a_24237_); +lean_dec_ref(v___x_24236_); +v_currNamespace_24238_ = lean_ctor_get(v_a_24237_, 2); +lean_inc(v_currNamespace_24238_); +lean_dec(v_a_24237_); +v___x_24239_ = l_Lean_Elab_Command_getScope___redArg(v___y_24227_); +if (lean_obj_tag(v___x_24239_) == 0) { -lean_ctor_set(v___x_24243_, 4, v_macroScope_24226_); -v___x_24246_ = v___x_24243_; -goto v_reusejp_24245_; +lean_object* v_a_24240_; lean_object* v_openDecls_24241_; lean_object* v___x_24242_; +v_a_24240_ = lean_ctor_get(v___x_24239_, 0); +lean_inc(v_a_24240_); +lean_dec_ref(v___x_24239_); +v_openDecls_24241_ = lean_ctor_get(v_a_24240_, 3); +lean_inc(v_openDecls_24241_); +lean_dec(v_a_24240_); +v___x_24242_ = l_Lean_Elab_Command_getRef___redArg(v___y_24226_); +if (lean_obj_tag(v___x_24242_) == 0) +{ +lean_object* v_a_24243_; lean_object* v___x_24244_; +v_a_24243_ = lean_ctor_get(v___x_24242_, 0); +lean_inc(v_a_24243_); +lean_dec_ref(v___x_24242_); +v___x_24244_ = l_Lean_Elab_Command_getCurrMacroScope___redArg(v___y_24226_); +if (lean_obj_tag(v___x_24244_) == 0) +{ +lean_object* v_a_24245_; lean_object* v_currRecDepth_24246_; lean_object* v_quotContext_x3f_24247_; lean_object* v___f_24248_; lean_object* v___f_24249_; lean_object* v___f_24250_; lean_object* v___f_24251_; lean_object* v___f_24252_; lean_object* v_methods_24253_; lean_object* v_a_24255_; +v_a_24245_ = lean_ctor_get(v___x_24244_, 0); +lean_inc(v_a_24245_); +lean_dec_ref(v___x_24244_); +v_currRecDepth_24246_ = lean_ctor_get(v___y_24226_, 2); +v_quotContext_x3f_24247_ = lean_ctor_get(v___y_24226_, 5); +lean_inc_ref(v_env_24230_); +v___f_24248_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__1___boxed), 4, 1); +lean_closure_set(v___f_24248_, 0, v_env_24230_); +lean_inc_ref(v_env_24230_); +v___f_24249_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__1___boxed), 4, 1); +lean_closure_set(v___f_24249_, 0, v_env_24230_); +lean_inc(v_currNamespace_24238_); +v___f_24250_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__3___boxed), 3, 1); +lean_closure_set(v___f_24250_, 0, v_currNamespace_24238_); +lean_inc(v_openDecls_24241_); +lean_inc(v_currNamespace_24238_); +lean_inc_ref(v_env_24230_); +v___f_24251_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___lam__2___boxed), 6, 3); +lean_closure_set(v___f_24251_, 0, v_env_24230_); +lean_closure_set(v___f_24251_, 1, v_currNamespace_24238_); +lean_closure_set(v___f_24251_, 2, v_openDecls_24241_); +v___f_24252_ = lean_alloc_closure((void*)(l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___lam__3___boxed), 7, 4); +lean_closure_set(v___f_24252_, 0, v_env_24230_); +lean_closure_set(v___f_24252_, 1, v_opts_24235_); +lean_closure_set(v___f_24252_, 2, v_currNamespace_24238_); +lean_closure_set(v___f_24252_, 3, v_openDecls_24241_); +v_methods_24253_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_methods_24253_, 0, v___f_24249_); +lean_ctor_set(v_methods_24253_, 1, v___f_24250_); +lean_ctor_set(v_methods_24253_, 2, v___f_24248_); +lean_ctor_set(v_methods_24253_, 3, v___f_24251_); +lean_ctor_set(v_methods_24253_, 4, v___f_24252_); +if (lean_obj_tag(v_quotContext_x3f_24247_) == 0) +{ +lean_object* v___x_24327_; lean_object* v_a_24328_; +v___x_24327_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_24227_); +v_a_24328_ = lean_ctor_get(v___x_24327_, 0); +lean_inc(v_a_24328_); +lean_dec_ref(v___x_24327_); +v_a_24255_ = v_a_24328_; +goto v___jp_24254_; } else { -lean_object* v_reuseFailAlloc_24266_; -v_reuseFailAlloc_24266_ = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(v_reuseFailAlloc_24266_, 0, v_env_24232_); -lean_ctor_set(v_reuseFailAlloc_24266_, 1, v_messages_24233_); -lean_ctor_set(v_reuseFailAlloc_24266_, 2, v_scopes_24234_); -lean_ctor_set(v_reuseFailAlloc_24266_, 3, v_usedQuotCtxts_24235_); -lean_ctor_set(v_reuseFailAlloc_24266_, 4, v_macroScope_24226_); -lean_ctor_set(v_reuseFailAlloc_24266_, 5, v_maxRecDepth_24236_); -lean_ctor_set(v_reuseFailAlloc_24266_, 6, v_ngen_24237_); -lean_ctor_set(v_reuseFailAlloc_24266_, 7, v_auxDeclNGen_24238_); -lean_ctor_set(v_reuseFailAlloc_24266_, 8, v_infoState_24239_); -lean_ctor_set(v_reuseFailAlloc_24266_, 9, v_traceState_24240_); -lean_ctor_set(v_reuseFailAlloc_24266_, 10, v_snapshotTasks_24241_); -v___x_24246_ = v_reuseFailAlloc_24266_; -goto v_reusejp_24245_; +lean_object* v_val_24329_; +v_val_24329_ = lean_ctor_get(v_quotContext_x3f_24247_, 0); +lean_inc(v_val_24329_); +v_a_24255_ = v_val_24329_; +goto v___jp_24254_; } -v_reusejp_24245_: +v___jp_24254_: { -lean_object* v___x_24247_; lean_object* v___x_24248_; lean_object* v___x_24249_; -v___x_24247_ = lean_st_ref_set(v___y_24187_, v___x_24246_); -v___x_24248_ = l_List_reverse___redArg(v_traceMsgs_24227_); -v___x_24249_ = l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(v___x_24248_, v___y_24186_, v___y_24187_); -lean_dec_ref(v___y_24186_); -if (lean_obj_tag(v___x_24249_) == 0) +lean_object* v___x_24256_; lean_object* v_maxRecDepth_24257_; lean_object* v___x_24258_; lean_object* v_nextMacroScope_24259_; lean_object* v___x_24260_; lean_object* v___x_24261_; lean_object* v___x_24262_; lean_object* v___x_24263_; +v___x_24256_ = lean_st_ref_get(v___y_24227_); +v_maxRecDepth_24257_ = lean_ctor_get(v___x_24256_, 5); +lean_inc(v_maxRecDepth_24257_); +lean_dec(v___x_24256_); +v___x_24258_ = lean_st_ref_get(v___y_24227_); +v_nextMacroScope_24259_ = lean_ctor_get(v___x_24258_, 4); +lean_inc(v_nextMacroScope_24259_); +lean_dec(v___x_24258_); +lean_inc(v_currRecDepth_24246_); +v___x_24260_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_24260_, 0, v_methods_24253_); +lean_ctor_set(v___x_24260_, 1, v_a_24255_); +lean_ctor_set(v___x_24260_, 2, v_a_24245_); +lean_ctor_set(v___x_24260_, 3, v_currRecDepth_24246_); +lean_ctor_set(v___x_24260_, 4, v_maxRecDepth_24257_); +lean_ctor_set(v___x_24260_, 5, v_a_24243_); +v___x_24261_ = lean_box(0); +v___x_24262_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_24262_, 0, v_nextMacroScope_24259_); +lean_ctor_set(v___x_24262_, 1, v___x_24261_); +lean_ctor_set(v___x_24262_, 2, v___x_24261_); +v___x_24263_ = lean_apply_2(v_x_24225_, v___x_24260_, v___x_24262_); +if (lean_obj_tag(v___x_24263_) == 0) { -lean_object* v___x_24251_; uint8_t v_isShared_24252_; uint8_t v_isSharedCheck_24256_; -v_isSharedCheck_24256_ = !lean_is_exclusive(v___x_24249_); -if (v_isSharedCheck_24256_ == 0) +lean_object* v_a_24264_; lean_object* v_a_24265_; lean_object* v_macroScope_24266_; lean_object* v_traceMsgs_24267_; lean_object* v_expandedMacroDecls_24268_; lean_object* v___x_24269_; lean_object* v___x_24270_; +v_a_24264_ = lean_ctor_get(v___x_24263_, 1); +lean_inc(v_a_24264_); +v_a_24265_ = lean_ctor_get(v___x_24263_, 0); +lean_inc(v_a_24265_); +lean_dec_ref(v___x_24263_); +v_macroScope_24266_ = lean_ctor_get(v_a_24264_, 0); +lean_inc(v_macroScope_24266_); +v_traceMsgs_24267_ = lean_ctor_get(v_a_24264_, 1); +lean_inc(v_traceMsgs_24267_); +v_expandedMacroDecls_24268_ = lean_ctor_get(v_a_24264_, 2); +lean_inc(v_expandedMacroDecls_24268_); +lean_dec(v_a_24264_); +v___x_24269_ = lean_box(0); +v___x_24270_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_expandedMacroDecls_24268_, v___x_24269_, v___y_24226_, v___y_24227_); +if (lean_obj_tag(v___x_24270_) == 0) { -lean_object* v_unused_24257_; -v_unused_24257_ = lean_ctor_get(v___x_24249_, 0); -lean_dec(v_unused_24257_); -v___x_24251_ = v___x_24249_; -v_isShared_24252_ = v_isSharedCheck_24256_; -goto v_resetjp_24250_; +lean_object* v___x_24271_; lean_object* v_env_24272_; lean_object* v_messages_24273_; lean_object* v_scopes_24274_; lean_object* v_usedQuotCtxts_24275_; lean_object* v_maxRecDepth_24276_; lean_object* v_ngen_24277_; lean_object* v_auxDeclNGen_24278_; lean_object* v_infoState_24279_; lean_object* v_traceState_24280_; lean_object* v_snapshotTasks_24281_; lean_object* v___x_24283_; uint8_t v_isShared_24284_; uint8_t v_isSharedCheck_24307_; +lean_dec_ref(v___x_24270_); +v___x_24271_ = lean_st_ref_take(v___y_24227_); +v_env_24272_ = lean_ctor_get(v___x_24271_, 0); +v_messages_24273_ = lean_ctor_get(v___x_24271_, 1); +v_scopes_24274_ = lean_ctor_get(v___x_24271_, 2); +v_usedQuotCtxts_24275_ = lean_ctor_get(v___x_24271_, 3); +v_maxRecDepth_24276_ = lean_ctor_get(v___x_24271_, 5); +v_ngen_24277_ = lean_ctor_get(v___x_24271_, 6); +v_auxDeclNGen_24278_ = lean_ctor_get(v___x_24271_, 7); +v_infoState_24279_ = lean_ctor_get(v___x_24271_, 8); +v_traceState_24280_ = lean_ctor_get(v___x_24271_, 9); +v_snapshotTasks_24281_ = lean_ctor_get(v___x_24271_, 10); +v_isSharedCheck_24307_ = !lean_is_exclusive(v___x_24271_); +if (v_isSharedCheck_24307_ == 0) +{ +lean_object* v_unused_24308_; +v_unused_24308_ = lean_ctor_get(v___x_24271_, 4); +lean_dec(v_unused_24308_); +v___x_24283_ = v___x_24271_; +v_isShared_24284_ = v_isSharedCheck_24307_; +goto v_resetjp_24282_; } else { -lean_dec(v___x_24249_); -v___x_24251_ = lean_box(0); -v_isShared_24252_ = v_isSharedCheck_24256_; -goto v_resetjp_24250_; +lean_inc(v_snapshotTasks_24281_); +lean_inc(v_traceState_24280_); +lean_inc(v_infoState_24279_); +lean_inc(v_auxDeclNGen_24278_); +lean_inc(v_ngen_24277_); +lean_inc(v_maxRecDepth_24276_); +lean_inc(v_usedQuotCtxts_24275_); +lean_inc(v_scopes_24274_); +lean_inc(v_messages_24273_); +lean_inc(v_env_24272_); +lean_dec(v___x_24271_); +v___x_24283_ = lean_box(0); +v_isShared_24284_ = v_isSharedCheck_24307_; +goto v_resetjp_24282_; } -v_resetjp_24250_: -{ -lean_object* v___x_24254_; -if (v_isShared_24252_ == 0) -{ -lean_ctor_set(v___x_24251_, 0, v_a_24225_); -v___x_24254_ = v___x_24251_; -goto v_reusejp_24253_; -} -else -{ -lean_object* v_reuseFailAlloc_24255_; -v_reuseFailAlloc_24255_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24255_, 0, v_a_24225_); -v___x_24254_ = v_reuseFailAlloc_24255_; -goto v_reusejp_24253_; -} -v_reusejp_24253_: -{ -return v___x_24254_; -} -} -} -else -{ -lean_object* v_a_24258_; lean_object* v___x_24260_; uint8_t v_isShared_24261_; uint8_t v_isSharedCheck_24265_; -lean_dec(v_a_24225_); -v_a_24258_ = lean_ctor_get(v___x_24249_, 0); -v_isSharedCheck_24265_ = !lean_is_exclusive(v___x_24249_); -if (v_isSharedCheck_24265_ == 0) -{ -v___x_24260_ = v___x_24249_; -v_isShared_24261_ = v_isSharedCheck_24265_; -goto v_resetjp_24259_; -} -else -{ -lean_inc(v_a_24258_); -lean_dec(v___x_24249_); -v___x_24260_ = lean_box(0); -v_isShared_24261_ = v_isSharedCheck_24265_; -goto v_resetjp_24259_; -} -v_resetjp_24259_: -{ -lean_object* v___x_24263_; -if (v_isShared_24261_ == 0) -{ -v___x_24263_ = v___x_24260_; -goto v_reusejp_24262_; -} -else -{ -lean_object* v_reuseFailAlloc_24264_; -v_reuseFailAlloc_24264_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24264_, 0, v_a_24258_); -v___x_24263_ = v_reuseFailAlloc_24264_; -goto v_reusejp_24262_; -} -v_reusejp_24262_: -{ -return v___x_24263_; -} -} -} -} -} -} -else -{ -lean_object* v_a_24269_; lean_object* v___x_24271_; uint8_t v_isShared_24272_; uint8_t v_isSharedCheck_24276_; -lean_dec(v_traceMsgs_24227_); -lean_dec(v_macroScope_24226_); -lean_dec(v_a_24225_); -lean_dec_ref(v___y_24186_); -v_a_24269_ = lean_ctor_get(v___x_24230_, 0); -v_isSharedCheck_24276_ = !lean_is_exclusive(v___x_24230_); -if (v_isSharedCheck_24276_ == 0) -{ -v___x_24271_ = v___x_24230_; -v_isShared_24272_ = v_isSharedCheck_24276_; -goto v_resetjp_24270_; -} -else -{ -lean_inc(v_a_24269_); -lean_dec(v___x_24230_); -v___x_24271_ = lean_box(0); -v_isShared_24272_ = v_isSharedCheck_24276_; -goto v_resetjp_24270_; -} -v_resetjp_24270_: -{ -lean_object* v___x_24274_; -if (v_isShared_24272_ == 0) -{ -v___x_24274_ = v___x_24271_; -goto v_reusejp_24273_; -} -else -{ -lean_object* v_reuseFailAlloc_24275_; -v_reuseFailAlloc_24275_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24275_, 0, v_a_24269_); -v___x_24274_ = v_reuseFailAlloc_24275_; -goto v_reusejp_24273_; -} -v_reusejp_24273_: -{ -return v___x_24274_; -} -} -} -} -else -{ -lean_object* v_a_24277_; -v_a_24277_ = lean_ctor_get(v___x_24223_, 0); -lean_inc(v_a_24277_); -lean_dec_ref(v___x_24223_); -if (lean_obj_tag(v_a_24277_) == 0) -{ -lean_object* v_a_24278_; lean_object* v_a_24279_; lean_object* v___x_24280_; uint8_t v___x_24281_; -v_a_24278_ = lean_ctor_get(v_a_24277_, 0); -lean_inc(v_a_24278_); -v_a_24279_ = lean_ctor_get(v_a_24277_, 1); -lean_inc_ref(v_a_24279_); -lean_dec_ref(v_a_24277_); -v___x_24280_ = ((lean_object*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___closed__0)); -v___x_24281_ = lean_string_dec_eq(v_a_24279_, v___x_24280_); -if (v___x_24281_ == 0) -{ -lean_object* v___x_24282_; lean_object* v___x_24283_; lean_object* v___x_24284_; -v___x_24282_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_24282_, 0, v_a_24279_); -v___x_24283_ = l_Lean_MessageData_ofFormat(v___x_24282_); -v___x_24284_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_a_24278_, v___x_24283_, v___y_24186_, v___y_24187_); -lean_dec(v_a_24278_); -return v___x_24284_; -} -else -{ -lean_object* v___x_24285_; -lean_dec_ref(v_a_24279_); -lean_dec_ref(v___y_24186_); -v___x_24285_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_a_24278_); -return v___x_24285_; -} -} -else +v_resetjp_24282_: { lean_object* v___x_24286_; -lean_dec_ref(v___y_24186_); -v___x_24286_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); -return v___x_24286_; -} -} -} +if (v_isShared_24284_ == 0) +{ +lean_ctor_set(v___x_24283_, 4, v_macroScope_24266_); +v___x_24286_ = v___x_24283_; +goto v_reusejp_24285_; } else { -lean_object* v_a_24290_; lean_object* v___x_24292_; uint8_t v_isShared_24293_; uint8_t v_isSharedCheck_24297_; -lean_dec(v_a_24203_); -lean_dec(v_openDecls_24201_); -lean_dec(v_currNamespace_24198_); -lean_dec_ref(v_opts_24195_); -lean_dec_ref(v_env_24190_); -lean_dec_ref(v___y_24186_); -lean_dec_ref(v_x_24185_); -v_a_24290_ = lean_ctor_get(v___x_24204_, 0); -v_isSharedCheck_24297_ = !lean_is_exclusive(v___x_24204_); -if (v_isSharedCheck_24297_ == 0) +lean_object* v_reuseFailAlloc_24306_; +v_reuseFailAlloc_24306_ = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(v_reuseFailAlloc_24306_, 0, v_env_24272_); +lean_ctor_set(v_reuseFailAlloc_24306_, 1, v_messages_24273_); +lean_ctor_set(v_reuseFailAlloc_24306_, 2, v_scopes_24274_); +lean_ctor_set(v_reuseFailAlloc_24306_, 3, v_usedQuotCtxts_24275_); +lean_ctor_set(v_reuseFailAlloc_24306_, 4, v_macroScope_24266_); +lean_ctor_set(v_reuseFailAlloc_24306_, 5, v_maxRecDepth_24276_); +lean_ctor_set(v_reuseFailAlloc_24306_, 6, v_ngen_24277_); +lean_ctor_set(v_reuseFailAlloc_24306_, 7, v_auxDeclNGen_24278_); +lean_ctor_set(v_reuseFailAlloc_24306_, 8, v_infoState_24279_); +lean_ctor_set(v_reuseFailAlloc_24306_, 9, v_traceState_24280_); +lean_ctor_set(v_reuseFailAlloc_24306_, 10, v_snapshotTasks_24281_); +v___x_24286_ = v_reuseFailAlloc_24306_; +goto v_reusejp_24285_; +} +v_reusejp_24285_: { -v___x_24292_ = v___x_24204_; -v_isShared_24293_ = v_isSharedCheck_24297_; -goto v_resetjp_24291_; +lean_object* v___x_24287_; lean_object* v___x_24288_; lean_object* v___x_24289_; +v___x_24287_ = lean_st_ref_set(v___y_24227_, v___x_24286_); +v___x_24288_ = l_List_reverse___redArg(v_traceMsgs_24267_); +v___x_24289_ = l_List_forM___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__23(v___x_24288_, v___y_24226_, v___y_24227_); +lean_dec_ref(v___y_24226_); +if (lean_obj_tag(v___x_24289_) == 0) +{ +lean_object* v___x_24291_; uint8_t v_isShared_24292_; uint8_t v_isSharedCheck_24296_; +v_isSharedCheck_24296_ = !lean_is_exclusive(v___x_24289_); +if (v_isSharedCheck_24296_ == 0) +{ +lean_object* v_unused_24297_; +v_unused_24297_ = lean_ctor_get(v___x_24289_, 0); +lean_dec(v_unused_24297_); +v___x_24291_ = v___x_24289_; +v_isShared_24292_ = v_isSharedCheck_24296_; +goto v_resetjp_24290_; } else { -lean_inc(v_a_24290_); -lean_dec(v___x_24204_); -v___x_24292_ = lean_box(0); -v_isShared_24293_ = v_isSharedCheck_24297_; -goto v_resetjp_24291_; +lean_dec(v___x_24289_); +v___x_24291_ = lean_box(0); +v_isShared_24292_ = v_isSharedCheck_24296_; +goto v_resetjp_24290_; } -v_resetjp_24291_: +v_resetjp_24290_: { -lean_object* v___x_24295_; -if (v_isShared_24293_ == 0) +lean_object* v___x_24294_; +if (v_isShared_24292_ == 0) { -v___x_24295_ = v___x_24292_; -goto v_reusejp_24294_; +lean_ctor_set(v___x_24291_, 0, v_a_24265_); +v___x_24294_ = v___x_24291_; +goto v_reusejp_24293_; } else { -lean_object* v_reuseFailAlloc_24296_; -v_reuseFailAlloc_24296_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24296_, 0, v_a_24290_); -v___x_24295_ = v_reuseFailAlloc_24296_; -goto v_reusejp_24294_; +lean_object* v_reuseFailAlloc_24295_; +v_reuseFailAlloc_24295_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24295_, 0, v_a_24265_); +v___x_24294_ = v_reuseFailAlloc_24295_; +goto v_reusejp_24293_; } -v_reusejp_24294_: +v_reusejp_24293_: { -return v___x_24295_; -} +return v___x_24294_; } } } else { lean_object* v_a_24298_; lean_object* v___x_24300_; uint8_t v_isShared_24301_; uint8_t v_isSharedCheck_24305_; -lean_dec(v_openDecls_24201_); -lean_dec(v_currNamespace_24198_); -lean_dec_ref(v_opts_24195_); -lean_dec_ref(v_env_24190_); -lean_dec_ref(v___y_24186_); -lean_dec_ref(v_x_24185_); -v_a_24298_ = lean_ctor_get(v___x_24202_, 0); -v_isSharedCheck_24305_ = !lean_is_exclusive(v___x_24202_); +lean_dec(v_a_24265_); +v_a_24298_ = lean_ctor_get(v___x_24289_, 0); +v_isSharedCheck_24305_ = !lean_is_exclusive(v___x_24289_); if (v_isSharedCheck_24305_ == 0) { -v___x_24300_ = v___x_24202_; +v___x_24300_ = v___x_24289_; v_isShared_24301_ = v_isSharedCheck_24305_; goto v_resetjp_24299_; } else { lean_inc(v_a_24298_); -lean_dec(v___x_24202_); +lean_dec(v___x_24289_); v___x_24300_ = lean_box(0); v_isShared_24301_ = v_isSharedCheck_24305_; goto v_resetjp_24299_; @@ -70351,278 +70316,279 @@ return v___x_24303_; } } } -else -{ -lean_object* v_a_24306_; lean_object* v___x_24308_; uint8_t v_isShared_24309_; uint8_t v_isSharedCheck_24313_; -lean_dec(v_currNamespace_24198_); -lean_dec_ref(v_opts_24195_); -lean_dec_ref(v_env_24190_); -lean_dec_ref(v___y_24186_); -lean_dec_ref(v_x_24185_); -v_a_24306_ = lean_ctor_get(v___x_24199_, 0); -v_isSharedCheck_24313_ = !lean_is_exclusive(v___x_24199_); -if (v_isSharedCheck_24313_ == 0) -{ -v___x_24308_ = v___x_24199_; -v_isShared_24309_ = v_isSharedCheck_24313_; -goto v_resetjp_24307_; +} } else { -lean_inc(v_a_24306_); -lean_dec(v___x_24199_); -v___x_24308_ = lean_box(0); -v_isShared_24309_ = v_isSharedCheck_24313_; -goto v_resetjp_24307_; -} -v_resetjp_24307_: +lean_object* v_a_24309_; lean_object* v___x_24311_; uint8_t v_isShared_24312_; uint8_t v_isSharedCheck_24316_; +lean_dec(v_traceMsgs_24267_); +lean_dec(v_macroScope_24266_); +lean_dec(v_a_24265_); +lean_dec_ref(v___y_24226_); +v_a_24309_ = lean_ctor_get(v___x_24270_, 0); +v_isSharedCheck_24316_ = !lean_is_exclusive(v___x_24270_); +if (v_isSharedCheck_24316_ == 0) { -lean_object* v___x_24311_; -if (v_isShared_24309_ == 0) -{ -v___x_24311_ = v___x_24308_; -goto v_reusejp_24310_; +v___x_24311_ = v___x_24270_; +v_isShared_24312_ = v_isSharedCheck_24316_; +goto v_resetjp_24310_; } else { -lean_object* v_reuseFailAlloc_24312_; -v_reuseFailAlloc_24312_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24312_, 0, v_a_24306_); -v___x_24311_ = v_reuseFailAlloc_24312_; -goto v_reusejp_24310_; +lean_inc(v_a_24309_); +lean_dec(v___x_24270_); +v___x_24311_ = lean_box(0); +v_isShared_24312_ = v_isSharedCheck_24316_; +goto v_resetjp_24310_; } -v_reusejp_24310_: +v_resetjp_24310_: { -return v___x_24311_; +lean_object* v___x_24314_; +if (v_isShared_24312_ == 0) +{ +v___x_24314_ = v___x_24311_; +goto v_reusejp_24313_; +} +else +{ +lean_object* v_reuseFailAlloc_24315_; +v_reuseFailAlloc_24315_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24315_, 0, v_a_24309_); +v___x_24314_ = v_reuseFailAlloc_24315_; +goto v_reusejp_24313_; +} +v_reusejp_24313_: +{ +return v___x_24314_; } } } } else { -lean_object* v_a_24314_; lean_object* v___x_24316_; uint8_t v_isShared_24317_; uint8_t v_isSharedCheck_24321_; -lean_dec_ref(v_opts_24195_); -lean_dec_ref(v_env_24190_); -lean_dec_ref(v___y_24186_); -lean_dec_ref(v_x_24185_); -v_a_24314_ = lean_ctor_get(v___x_24196_, 0); -v_isSharedCheck_24321_ = !lean_is_exclusive(v___x_24196_); -if (v_isSharedCheck_24321_ == 0) +lean_object* v_a_24317_; +v_a_24317_ = lean_ctor_get(v___x_24263_, 0); +lean_inc(v_a_24317_); +lean_dec_ref(v___x_24263_); +if (lean_obj_tag(v_a_24317_) == 0) { -v___x_24316_ = v___x_24196_; -v_isShared_24317_ = v_isSharedCheck_24321_; -goto v_resetjp_24315_; +lean_object* v_a_24318_; lean_object* v_a_24319_; lean_object* v___x_24320_; uint8_t v___x_24321_; +v_a_24318_ = lean_ctor_get(v_a_24317_, 0); +lean_inc(v_a_24318_); +v_a_24319_ = lean_ctor_get(v_a_24317_, 1); +lean_inc_ref(v_a_24319_); +lean_dec_ref(v_a_24317_); +v___x_24320_ = ((lean_object*)(l_Lean_Elab_liftMacroM___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm_spec__1___redArg___closed__0)); +v___x_24321_ = lean_string_dec_eq(v_a_24319_, v___x_24320_); +if (v___x_24321_ == 0) +{ +lean_object* v___x_24322_; lean_object* v___x_24323_; lean_object* v___x_24324_; +v___x_24322_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_24322_, 0, v_a_24319_); +v___x_24323_ = l_Lean_MessageData_ofFormat(v___x_24322_); +v___x_24324_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_a_24318_, v___x_24323_, v___y_24226_, v___y_24227_); +lean_dec(v_a_24318_); +return v___x_24324_; } else { -lean_inc(v_a_24314_); -lean_dec(v___x_24196_); -v___x_24316_ = lean_box(0); -v_isShared_24317_ = v_isSharedCheck_24321_; -goto v_resetjp_24315_; +lean_object* v___x_24325_; +lean_dec_ref(v_a_24319_); +lean_dec_ref(v___y_24226_); +v___x_24325_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_a_24318_); +return v___x_24325_; } -v_resetjp_24315_: -{ -lean_object* v___x_24319_; -if (v_isShared_24317_ == 0) -{ -v___x_24319_ = v___x_24316_; -goto v_reusejp_24318_; } else { -lean_object* v_reuseFailAlloc_24320_; -v_reuseFailAlloc_24320_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24320_, 0, v_a_24314_); -v___x_24319_ = v_reuseFailAlloc_24320_; -goto v_reusejp_24318_; +lean_object* v___x_24326_; +lean_dec_ref(v___y_24226_); +v___x_24326_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); +return v___x_24326_; } -v_reusejp_24318_: +} +} +} +else { -return v___x_24319_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___boxed(lean_object* v_x_24322_, lean_object* v___y_24323_, lean_object* v___y_24324_, lean_object* v___y_24325_){ -_start: +lean_object* v_a_24330_; lean_object* v___x_24332_; uint8_t v_isShared_24333_; uint8_t v_isSharedCheck_24337_; +lean_dec(v_a_24243_); +lean_dec(v_openDecls_24241_); +lean_dec(v_currNamespace_24238_); +lean_dec_ref(v_opts_24235_); +lean_dec_ref(v_env_24230_); +lean_dec_ref(v___y_24226_); +lean_dec_ref(v_x_24225_); +v_a_24330_ = lean_ctor_get(v___x_24244_, 0); +v_isSharedCheck_24337_ = !lean_is_exclusive(v___x_24244_); +if (v_isSharedCheck_24337_ == 0) { -lean_object* v_res_24326_; -v_res_24326_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v_x_24322_, v___y_24323_, v___y_24324_); -lean_dec(v___y_24324_); -return v_res_24326_; +v___x_24332_ = v___x_24244_; +v_isShared_24333_ = v_isSharedCheck_24337_; +goto v_resetjp_24331_; } -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1(void){ -_start: +else { -lean_object* v___x_24328_; lean_object* v___x_24329_; -v___x_24328_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__0)); -v___x_24329_ = l_Lean_stringToMessageData(v___x_24328_); -return v___x_24329_; +lean_inc(v_a_24330_); +lean_dec(v___x_24244_); +v___x_24332_ = lean_box(0); +v_isShared_24333_ = v_isSharedCheck_24337_; +goto v_resetjp_24331_; } -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3(void){ -_start: +v_resetjp_24331_: { -lean_object* v___x_24331_; lean_object* v___x_24332_; -v___x_24331_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__2)); -v___x_24332_ = l_Lean_stringToMessageData(v___x_24331_); -return v___x_24332_; -} -} -static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5(void){ -_start: +lean_object* v___x_24335_; +if (v_isShared_24333_ == 0) +{ +v___x_24335_ = v___x_24332_; +goto v_reusejp_24334_; +} +else +{ +lean_object* v_reuseFailAlloc_24336_; +v_reuseFailAlloc_24336_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24336_, 0, v_a_24330_); +v___x_24335_ = v_reuseFailAlloc_24336_; +goto v_reusejp_24334_; +} +v_reusejp_24334_: { -lean_object* v___x_24334_; lean_object* v___x_24335_; -v___x_24334_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__4)); -v___x_24335_ = l_Lean_stringToMessageData(v___x_24334_); return v___x_24335_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1(lean_object* v___x_24336_, lean_object* v_attrInstance_24337_, lean_object* v___f_24338_, lean_object* v___x_24339_, lean_object* v___x_24340_, lean_object* v___y_24341_, lean_object* v___y_24342_){ -_start: -{ -lean_object* v___x_24344_; -lean_inc_ref(v___y_24341_); -v___x_24344_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v___x_24336_, v___y_24341_, v___y_24342_); -if (lean_obj_tag(v___x_24344_) == 0) -{ -lean_object* v_a_24345_; lean_object* v___x_24346_; lean_object* v_attr_24347_; lean_object* v___x_24348_; lean_object* v___x_24349_; -v_a_24345_ = lean_ctor_get(v___x_24344_, 0); -lean_inc(v_a_24345_); -lean_dec_ref(v___x_24344_); -v___x_24346_ = lean_unsigned_to_nat(1u); -v_attr_24347_ = l_Lean_Syntax_getArg(v_attrInstance_24337_, v___x_24346_); -v___x_24348_ = lean_alloc_closure((void*)(l_Lean_expandMacros), 4, 2); -lean_closure_set(v___x_24348_, 0, v_attr_24347_); -lean_closure_set(v___x_24348_, 1, v___f_24338_); -lean_inc_ref(v___y_24341_); -v___x_24349_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v___x_24348_, v___y_24341_, v___y_24342_); -if (lean_obj_tag(v___x_24349_) == 0) -{ -lean_object* v_a_24350_; lean_object* v___x_24352_; uint8_t v_isShared_24353_; uint8_t v_isSharedCheck_24413_; -v_a_24350_ = lean_ctor_get(v___x_24349_, 0); -v_isSharedCheck_24413_ = !lean_is_exclusive(v___x_24349_); -if (v_isSharedCheck_24413_ == 0) -{ -v___x_24352_ = v___x_24349_; -v_isShared_24353_ = v_isSharedCheck_24413_; -goto v_resetjp_24351_; +} } else { -lean_inc(v_a_24350_); -lean_dec(v___x_24349_); -v___x_24352_ = lean_box(0); -v_isShared_24353_ = v_isSharedCheck_24413_; -goto v_resetjp_24351_; -} -v_resetjp_24351_: +lean_object* v_a_24338_; lean_object* v___x_24340_; uint8_t v_isShared_24341_; uint8_t v_isSharedCheck_24345_; +lean_dec(v_openDecls_24241_); +lean_dec(v_currNamespace_24238_); +lean_dec_ref(v_opts_24235_); +lean_dec_ref(v_env_24230_); +lean_dec_ref(v___y_24226_); +lean_dec_ref(v_x_24225_); +v_a_24338_ = lean_ctor_get(v___x_24242_, 0); +v_isSharedCheck_24345_ = !lean_is_exclusive(v___x_24242_); +if (v_isSharedCheck_24345_ == 0) { -lean_object* v___y_24355_; lean_object* v_attrName_24362_; lean_object* v___y_24363_; lean_object* v___y_24364_; lean_object* v___x_24394_; lean_object* v___x_24395_; uint8_t v___x_24396_; -lean_inc(v_a_24350_); -v___x_24394_ = l_Lean_Syntax_getKind(v_a_24350_); -v___x_24395_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__6)); -v___x_24396_ = lean_name_eq(v___x_24394_, v___x_24395_); -if (v___x_24396_ == 0) -{ -if (lean_obj_tag(v___x_24394_) == 1) -{ -lean_object* v_str_24397_; lean_object* v___x_24398_; lean_object* v___x_24399_; -v_str_24397_ = lean_ctor_get(v___x_24394_, 1); -lean_inc_ref(v_str_24397_); -lean_dec_ref(v___x_24394_); -v___x_24398_ = lean_box(0); -v___x_24399_ = l_Lean_Name_str___override(v___x_24398_, v_str_24397_); -v_attrName_24362_ = v___x_24399_; -v___y_24363_ = v___y_24341_; -v___y_24364_ = v___y_24342_; -goto v___jp_24361_; +v___x_24340_ = v___x_24242_; +v_isShared_24341_ = v_isSharedCheck_24345_; +goto v_resetjp_24339_; } else { -lean_object* v___x_24400_; lean_object* v___x_24401_; lean_object* v_a_24402_; lean_object* v___x_24404_; uint8_t v_isShared_24405_; uint8_t v_isSharedCheck_24409_; -lean_dec(v___x_24394_); -lean_del_object(v___x_24352_); -lean_dec(v_a_24345_); -lean_dec(v___x_24339_); -v___x_24400_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5); -v___x_24401_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_a_24350_, v___x_24400_, v___y_24341_, v___y_24342_); -lean_dec(v_a_24350_); -v_a_24402_ = lean_ctor_get(v___x_24401_, 0); -v_isSharedCheck_24409_ = !lean_is_exclusive(v___x_24401_); -if (v_isSharedCheck_24409_ == 0) +lean_inc(v_a_24338_); +lean_dec(v___x_24242_); +v___x_24340_ = lean_box(0); +v_isShared_24341_ = v_isSharedCheck_24345_; +goto v_resetjp_24339_; +} +v_resetjp_24339_: { -v___x_24404_ = v___x_24401_; -v_isShared_24405_ = v_isSharedCheck_24409_; -goto v_resetjp_24403_; +lean_object* v___x_24343_; +if (v_isShared_24341_ == 0) +{ +v___x_24343_ = v___x_24340_; +goto v_reusejp_24342_; } else { -lean_inc(v_a_24402_); -lean_dec(v___x_24401_); -v___x_24404_ = lean_box(0); -v_isShared_24405_ = v_isSharedCheck_24409_; -goto v_resetjp_24403_; +lean_object* v_reuseFailAlloc_24344_; +v_reuseFailAlloc_24344_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24344_, 0, v_a_24338_); +v___x_24343_ = v_reuseFailAlloc_24344_; +goto v_reusejp_24342_; } -v_resetjp_24403_: +v_reusejp_24342_: { -lean_object* v___x_24407_; -if (v_isShared_24405_ == 0) -{ -v___x_24407_ = v___x_24404_; -goto v_reusejp_24406_; -} -else -{ -lean_object* v_reuseFailAlloc_24408_; -v_reuseFailAlloc_24408_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24408_, 0, v_a_24402_); -v___x_24407_ = v_reuseFailAlloc_24408_; -goto v_reusejp_24406_; -} -v_reusejp_24406_: -{ -return v___x_24407_; +return v___x_24343_; } } } } else { -lean_object* v___x_24410_; lean_object* v___x_24411_; lean_object* v___x_24412_; -lean_dec(v___x_24394_); -v___x_24410_ = l_Lean_Syntax_getArg(v_a_24350_, v___x_24340_); -v___x_24411_ = l_Lean_Syntax_getId(v___x_24410_); -lean_dec(v___x_24410_); -v___x_24412_ = lean_erase_macro_scopes(v___x_24411_); -v_attrName_24362_ = v___x_24412_; -v___y_24363_ = v___y_24341_; -v___y_24364_ = v___y_24342_; -goto v___jp_24361_; +lean_object* v_a_24346_; lean_object* v___x_24348_; uint8_t v_isShared_24349_; uint8_t v_isSharedCheck_24353_; +lean_dec(v_currNamespace_24238_); +lean_dec_ref(v_opts_24235_); +lean_dec_ref(v_env_24230_); +lean_dec_ref(v___y_24226_); +lean_dec_ref(v_x_24225_); +v_a_24346_ = lean_ctor_get(v___x_24239_, 0); +v_isSharedCheck_24353_ = !lean_is_exclusive(v___x_24239_); +if (v_isSharedCheck_24353_ == 0) +{ +v___x_24348_ = v___x_24239_; +v_isShared_24349_ = v_isSharedCheck_24353_; +goto v_resetjp_24347_; } -v___jp_24354_: +else { -lean_object* v___x_24356_; uint8_t v___x_24357_; lean_object* v___x_24359_; -v___x_24356_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_24356_, 0, v___y_24355_); -lean_ctor_set(v___x_24356_, 1, v_a_24350_); -v___x_24357_ = lean_unbox(v_a_24345_); -lean_dec(v_a_24345_); -lean_ctor_set_uint8(v___x_24356_, sizeof(void*)*2, v___x_24357_); -if (v_isShared_24353_ == 0) +lean_inc(v_a_24346_); +lean_dec(v___x_24239_); +v___x_24348_ = lean_box(0); +v_isShared_24349_ = v_isSharedCheck_24353_; +goto v_resetjp_24347_; +} +v_resetjp_24347_: { -lean_ctor_set(v___x_24352_, 0, v___x_24356_); -v___x_24359_ = v___x_24352_; +lean_object* v___x_24351_; +if (v_isShared_24349_ == 0) +{ +v___x_24351_ = v___x_24348_; +goto v_reusejp_24350_; +} +else +{ +lean_object* v_reuseFailAlloc_24352_; +v_reuseFailAlloc_24352_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24352_, 0, v_a_24346_); +v___x_24351_ = v_reuseFailAlloc_24352_; +goto v_reusejp_24350_; +} +v_reusejp_24350_: +{ +return v___x_24351_; +} +} +} +} +else +{ +lean_object* v_a_24354_; lean_object* v___x_24356_; uint8_t v_isShared_24357_; uint8_t v_isSharedCheck_24361_; +lean_dec_ref(v_opts_24235_); +lean_dec_ref(v_env_24230_); +lean_dec_ref(v___y_24226_); +lean_dec_ref(v_x_24225_); +v_a_24354_ = lean_ctor_get(v___x_24236_, 0); +v_isSharedCheck_24361_ = !lean_is_exclusive(v___x_24236_); +if (v_isSharedCheck_24361_ == 0) +{ +v___x_24356_ = v___x_24236_; +v_isShared_24357_ = v_isSharedCheck_24361_; +goto v_resetjp_24355_; +} +else +{ +lean_inc(v_a_24354_); +lean_dec(v___x_24236_); +v___x_24356_ = lean_box(0); +v_isShared_24357_ = v_isSharedCheck_24361_; +goto v_resetjp_24355_; +} +v_resetjp_24355_: +{ +lean_object* v___x_24359_; +if (v_isShared_24357_ == 0) +{ +v___x_24359_ = v___x_24356_; goto v_reusejp_24358_; } else { lean_object* v_reuseFailAlloc_24360_; -v_reuseFailAlloc_24360_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24360_, 0, v___x_24356_); +v_reuseFailAlloc_24360_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24360_, 0, v_a_24354_); v___x_24359_ = v_reuseFailAlloc_24360_; goto v_reusejp_24358_; } @@ -70631,1380 +70597,1569 @@ v_reusejp_24358_: return v___x_24359_; } } -v___jp_24361_: -{ -lean_object* v___x_24365_; lean_object* v_env_24366_; lean_object* v___x_24367_; -v___x_24365_ = lean_st_ref_get(v___y_24364_); -v_env_24366_ = lean_ctor_get(v___x_24365_, 0); -lean_inc_ref(v_env_24366_); -lean_dec(v___x_24365_); -lean_inc(v_attrName_24362_); -v___x_24367_ = l_Lean_getAttributeImpl(v_env_24366_, v_attrName_24362_); -if (lean_obj_tag(v___x_24367_) == 1) -{ -lean_object* v___x_24368_; lean_object* v_env_24369_; lean_object* v___x_24370_; -lean_dec_ref(v___x_24367_); -v___x_24368_ = lean_st_ref_get(v___y_24364_); -v_env_24369_ = lean_ctor_get(v___x_24368_, 0); -lean_inc_ref(v_env_24369_); -lean_dec(v___x_24368_); -lean_inc(v_attrName_24362_); -v___x_24370_ = l_Lean_getAttributeImpl(v_env_24369_, v_attrName_24362_); -if (lean_obj_tag(v___x_24370_) == 1) -{ -lean_object* v_a_24371_; lean_object* v___x_24372_; lean_object* v_toAttributeImplCore_24373_; lean_object* v_env_24374_; lean_object* v_ref_24375_; lean_object* v___x_24376_; lean_object* v___x_24377_; -v_a_24371_ = lean_ctor_get(v___x_24370_, 0); -lean_inc(v_a_24371_); -lean_dec_ref(v___x_24370_); -v___x_24372_ = lean_st_ref_get(v___y_24364_); -v_toAttributeImplCore_24373_ = lean_ctor_get(v_a_24371_, 0); -lean_inc_ref(v_toAttributeImplCore_24373_); -lean_dec(v_a_24371_); -v_env_24374_ = lean_ctor_get(v___x_24372_, 0); -lean_inc_ref(v_env_24374_); -lean_dec(v___x_24372_); -v_ref_24375_ = lean_ctor_get(v_toAttributeImplCore_24373_, 0); -lean_inc(v_ref_24375_); -lean_dec_ref(v_toAttributeImplCore_24373_); -v___x_24376_ = l_Lean_regularInitAttr; -lean_inc(v_ref_24375_); -v___x_24377_ = l_Lean_ParametricAttribute_getParam_x3f___redArg(v___x_24339_, v___x_24376_, v_env_24374_, v_ref_24375_); -if (lean_obj_tag(v___x_24377_) == 0) -{ -lean_dec(v_ref_24375_); -lean_dec_ref(v___y_24363_); -v___y_24355_ = v_attrName_24362_; -goto v___jp_24354_; -} -else -{ -uint8_t v___x_24378_; lean_object* v___x_24379_; -lean_dec_ref(v___x_24377_); -v___x_24378_ = 1; -v___x_24379_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_ref_24375_, v___x_24378_, v___y_24363_, v___y_24364_); -lean_dec_ref(v___y_24363_); -if (lean_obj_tag(v___x_24379_) == 0) -{ -lean_dec_ref(v___x_24379_); -v___y_24355_ = v_attrName_24362_; -goto v___jp_24354_; -} -else -{ -lean_object* v_a_24380_; lean_object* v___x_24382_; uint8_t v_isShared_24383_; uint8_t v_isSharedCheck_24387_; -lean_dec(v_attrName_24362_); -lean_del_object(v___x_24352_); -lean_dec(v_a_24350_); -lean_dec(v_a_24345_); -v_a_24380_ = lean_ctor_get(v___x_24379_, 0); -v_isSharedCheck_24387_ = !lean_is_exclusive(v___x_24379_); -if (v_isSharedCheck_24387_ == 0) -{ -v___x_24382_ = v___x_24379_; -v_isShared_24383_ = v_isSharedCheck_24387_; -goto v_resetjp_24381_; -} -else -{ -lean_inc(v_a_24380_); -lean_dec(v___x_24379_); -v___x_24382_ = lean_box(0); -v_isShared_24383_ = v_isSharedCheck_24387_; -goto v_resetjp_24381_; -} -v_resetjp_24381_: -{ -lean_object* v___x_24385_; -if (v_isShared_24383_ == 0) -{ -v___x_24385_ = v___x_24382_; -goto v_reusejp_24384_; -} -else -{ -lean_object* v_reuseFailAlloc_24386_; -v_reuseFailAlloc_24386_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24386_, 0, v_a_24380_); -v___x_24385_ = v_reuseFailAlloc_24386_; -goto v_reusejp_24384_; -} -v_reusejp_24384_: -{ -return v___x_24385_; } } } -} -} -else -{ -lean_dec_ref(v___x_24370_); -lean_dec_ref(v___y_24363_); -lean_dec(v___x_24339_); -v___y_24355_ = v_attrName_24362_; -goto v___jp_24354_; -} -} -else -{ -lean_object* v___x_24388_; lean_object* v___x_24389_; lean_object* v___x_24390_; lean_object* v___x_24391_; lean_object* v___x_24392_; lean_object* v___x_24393_; -lean_dec_ref(v___x_24367_); -lean_del_object(v___x_24352_); -lean_dec(v_a_24350_); -lean_dec(v_a_24345_); -lean_dec(v___x_24339_); -v___x_24388_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1); -v___x_24389_ = l_Lean_MessageData_ofName(v_attrName_24362_); -v___x_24390_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_24390_, 0, v___x_24388_); -lean_ctor_set(v___x_24390_, 1, v___x_24389_); -v___x_24391_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3); -v___x_24392_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_24392_, 0, v___x_24390_); -lean_ctor_set(v___x_24392_, 1, v___x_24391_); -v___x_24393_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v___x_24392_, v___y_24363_, v___y_24364_); -return v___x_24393_; -} -} -} -} -else -{ -lean_object* v_a_24414_; lean_object* v___x_24416_; uint8_t v_isShared_24417_; uint8_t v_isSharedCheck_24421_; -lean_dec(v_a_24345_); -lean_dec_ref(v___y_24341_); -lean_dec(v___x_24339_); -v_a_24414_ = lean_ctor_get(v___x_24349_, 0); -v_isSharedCheck_24421_ = !lean_is_exclusive(v___x_24349_); -if (v_isSharedCheck_24421_ == 0) -{ -v___x_24416_ = v___x_24349_; -v_isShared_24417_ = v_isSharedCheck_24421_; -goto v_resetjp_24415_; -} -else -{ -lean_inc(v_a_24414_); -lean_dec(v___x_24349_); -v___x_24416_ = lean_box(0); -v_isShared_24417_ = v_isSharedCheck_24421_; -goto v_resetjp_24415_; -} -v_resetjp_24415_: -{ -lean_object* v___x_24419_; -if (v_isShared_24417_ == 0) -{ -v___x_24419_ = v___x_24416_; -goto v_reusejp_24418_; -} -else -{ -lean_object* v_reuseFailAlloc_24420_; -v_reuseFailAlloc_24420_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24420_, 0, v_a_24414_); -v___x_24419_ = v_reuseFailAlloc_24420_; -goto v_reusejp_24418_; -} -v_reusejp_24418_: -{ -return v___x_24419_; -} -} -} -} -else -{ -lean_object* v_a_24422_; lean_object* v___x_24424_; uint8_t v_isShared_24425_; uint8_t v_isSharedCheck_24429_; -lean_dec_ref(v___y_24341_); -lean_dec(v___x_24339_); -lean_dec_ref(v___f_24338_); -v_a_24422_ = lean_ctor_get(v___x_24344_, 0); -v_isSharedCheck_24429_ = !lean_is_exclusive(v___x_24344_); -if (v_isSharedCheck_24429_ == 0) -{ -v___x_24424_ = v___x_24344_; -v_isShared_24425_ = v_isSharedCheck_24429_; -goto v_resetjp_24423_; -} -else -{ -lean_inc(v_a_24422_); -lean_dec(v___x_24344_); -v___x_24424_ = lean_box(0); -v_isShared_24425_ = v_isSharedCheck_24429_; -goto v_resetjp_24423_; -} -v_resetjp_24423_: -{ -lean_object* v___x_24427_; -if (v_isShared_24425_ == 0) -{ -v___x_24427_ = v___x_24424_; -goto v_reusejp_24426_; -} -else -{ -lean_object* v_reuseFailAlloc_24428_; -v_reuseFailAlloc_24428_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24428_, 0, v_a_24422_); -v___x_24427_ = v_reuseFailAlloc_24428_; -goto v_reusejp_24426_; -} -v_reusejp_24426_: -{ -return v___x_24427_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___boxed(lean_object* v___x_24430_, lean_object* v_attrInstance_24431_, lean_object* v___f_24432_, lean_object* v___x_24433_, lean_object* v___x_24434_, lean_object* v___y_24435_, lean_object* v___y_24436_, lean_object* v___y_24437_){ +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg___boxed(lean_object* v_x_24362_, lean_object* v___y_24363_, lean_object* v___y_24364_, lean_object* v___y_24365_){ _start: { -lean_object* v_res_24438_; -v_res_24438_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1(v___x_24430_, v_attrInstance_24431_, v___f_24432_, v___x_24433_, v___x_24434_, v___y_24435_, v___y_24436_); -lean_dec(v___y_24436_); +lean_object* v_res_24366_; +v_res_24366_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v_x_24362_, v___y_24363_, v___y_24364_); +lean_dec(v___y_24364_); +return v_res_24366_; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1(void){ +_start: +{ +lean_object* v___x_24368_; lean_object* v___x_24369_; +v___x_24368_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__0)); +v___x_24369_ = l_Lean_stringToMessageData(v___x_24368_); +return v___x_24369_; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3(void){ +_start: +{ +lean_object* v___x_24371_; lean_object* v___x_24372_; +v___x_24371_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__2)); +v___x_24372_ = l_Lean_stringToMessageData(v___x_24371_); +return v___x_24372_; +} +} +static lean_object* _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5(void){ +_start: +{ +lean_object* v___x_24374_; lean_object* v___x_24375_; +v___x_24374_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__4)); +v___x_24375_ = l_Lean_stringToMessageData(v___x_24374_); +return v___x_24375_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1(lean_object* v___x_24376_, lean_object* v_attrInstance_24377_, lean_object* v___f_24378_, lean_object* v___x_24379_, lean_object* v___x_24380_, lean_object* v___y_24381_, lean_object* v___y_24382_){ +_start: +{ +lean_object* v___x_24384_; +lean_inc_ref(v___y_24381_); +v___x_24384_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v___x_24376_, v___y_24381_, v___y_24382_); +if (lean_obj_tag(v___x_24384_) == 0) +{ +lean_object* v_a_24385_; lean_object* v___x_24386_; lean_object* v_attr_24387_; lean_object* v___x_24388_; lean_object* v___x_24389_; +v_a_24385_ = lean_ctor_get(v___x_24384_, 0); +lean_inc(v_a_24385_); +lean_dec_ref(v___x_24384_); +v___x_24386_ = lean_unsigned_to_nat(1u); +v_attr_24387_ = l_Lean_Syntax_getArg(v_attrInstance_24377_, v___x_24386_); +v___x_24388_ = lean_alloc_closure((void*)(l_Lean_expandMacros), 4, 2); +lean_closure_set(v___x_24388_, 0, v_attr_24387_); +lean_closure_set(v___x_24388_, 1, v___f_24378_); +lean_inc_ref(v___y_24381_); +v___x_24389_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v___x_24388_, v___y_24381_, v___y_24382_); +if (lean_obj_tag(v___x_24389_) == 0) +{ +lean_object* v_a_24390_; lean_object* v___x_24392_; uint8_t v_isShared_24393_; uint8_t v_isSharedCheck_24453_; +v_a_24390_ = lean_ctor_get(v___x_24389_, 0); +v_isSharedCheck_24453_ = !lean_is_exclusive(v___x_24389_); +if (v_isSharedCheck_24453_ == 0) +{ +v___x_24392_ = v___x_24389_; +v_isShared_24393_ = v_isSharedCheck_24453_; +goto v_resetjp_24391_; +} +else +{ +lean_inc(v_a_24390_); +lean_dec(v___x_24389_); +v___x_24392_ = lean_box(0); +v_isShared_24393_ = v_isSharedCheck_24453_; +goto v_resetjp_24391_; +} +v_resetjp_24391_: +{ +lean_object* v___y_24395_; lean_object* v_attrName_24402_; lean_object* v___y_24403_; lean_object* v___y_24404_; lean_object* v___x_24434_; lean_object* v___x_24435_; uint8_t v___x_24436_; +lean_inc(v_a_24390_); +v___x_24434_ = l_Lean_Syntax_getKind(v_a_24390_); +v___x_24435_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabMutualDef_finishElab_spec__16___redArg___lam__0___closed__6)); +v___x_24436_ = lean_name_eq(v___x_24434_, v___x_24435_); +if (v___x_24436_ == 0) +{ +if (lean_obj_tag(v___x_24434_) == 1) +{ +lean_object* v_str_24437_; lean_object* v___x_24438_; lean_object* v___x_24439_; +v_str_24437_ = lean_ctor_get(v___x_24434_, 1); +lean_inc_ref(v_str_24437_); +lean_dec_ref(v___x_24434_); +v___x_24438_ = lean_box(0); +v___x_24439_ = l_Lean_Name_str___override(v___x_24438_, v_str_24437_); +v_attrName_24402_ = v___x_24439_; +v___y_24403_ = v___y_24381_; +v___y_24404_ = v___y_24382_; +goto v___jp_24401_; +} +else +{ +lean_object* v___x_24440_; lean_object* v___x_24441_; lean_object* v_a_24442_; lean_object* v___x_24444_; uint8_t v_isShared_24445_; uint8_t v_isSharedCheck_24449_; lean_dec(v___x_24434_); -lean_dec(v_attrInstance_24431_); -return v_res_24438_; -} -} -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(lean_object* v_x_24439_, uint8_t v_when_24440_, lean_object* v___y_24441_, lean_object* v___y_24442_){ -_start: +lean_del_object(v___x_24392_); +lean_dec(v_a_24385_); +lean_dec(v___x_24379_); +v___x_24440_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__5); +v___x_24441_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_a_24390_, v___x_24440_, v___y_24381_, v___y_24382_); +lean_dec(v_a_24390_); +v_a_24442_ = lean_ctor_get(v___x_24441_, 0); +v_isSharedCheck_24449_ = !lean_is_exclusive(v___x_24441_); +if (v_isSharedCheck_24449_ == 0) { -if (v_when_24440_ == 0) -{ -lean_object* v___x_24444_; -v___x_24444_ = lean_apply_3(v_x_24439_, v___y_24441_, v___y_24442_, lean_box(0)); -return v___x_24444_; +v___x_24444_ = v___x_24441_; +v_isShared_24445_ = v_isSharedCheck_24449_; +goto v_resetjp_24443_; } else { -uint8_t v___x_24445_; lean_object* v___x_24446_; -v___x_24445_ = 0; -v___x_24446_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_24439_, v___x_24445_, v___y_24441_, v___y_24442_); -return v___x_24446_; +lean_inc(v_a_24442_); +lean_dec(v___x_24441_); +v___x_24444_ = lean_box(0); +v_isShared_24445_ = v_isSharedCheck_24449_; +goto v_resetjp_24443_; } -} -} -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg___boxed(lean_object* v_x_24447_, lean_object* v_when_24448_, lean_object* v___y_24449_, lean_object* v___y_24450_, lean_object* v___y_24451_){ -_start: +v_resetjp_24443_: { -uint8_t v_when_boxed_24452_; lean_object* v_res_24453_; -v_when_boxed_24452_ = lean_unbox(v_when_24448_); -v_res_24453_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v_x_24447_, v_when_boxed_24452_, v___y_24449_, v___y_24450_); -return v_res_24453_; -} -} -LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0(lean_object* v_k_24454_){ -_start: +lean_object* v___x_24447_; +if (v_isShared_24445_ == 0) { -lean_object* v___x_24455_; uint8_t v___x_24456_; -v___x_24455_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__3)); -v___x_24456_ = lean_name_eq(v_k_24454_, v___x_24455_); -if (v___x_24456_ == 0) -{ -uint8_t v___x_24457_; -v___x_24457_ = 1; -return v___x_24457_; +v___x_24447_ = v___x_24444_; +goto v_reusejp_24446_; } else { -uint8_t v___x_24458_; -v___x_24458_ = 0; -return v___x_24458_; +lean_object* v_reuseFailAlloc_24448_; +v_reuseFailAlloc_24448_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24448_, 0, v_a_24442_); +v___x_24447_ = v_reuseFailAlloc_24448_; +goto v_reusejp_24446_; } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0___boxed(lean_object* v_k_24459_){ -_start: +v_reusejp_24446_: { -uint8_t v_res_24460_; lean_object* v_r_24461_; -v_res_24460_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0(v_k_24459_); -lean_dec(v_k_24459_); -v_r_24461_ = lean_box(v_res_24460_); -return v_r_24461_; +return v___x_24447_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(lean_object* v_attrInstance_24463_, lean_object* v___y_24464_, lean_object* v___y_24465_){ -_start: -{ -lean_object* v___f_24467_; lean_object* v___x_24468_; lean_object* v___x_24469_; lean_object* v___x_24470_; lean_object* v___x_24471_; lean_object* v___f_24472_; uint8_t v___x_24473_; lean_object* v___x_24474_; -v___f_24467_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___closed__0)); -v___x_24468_ = lean_box(0); -v___x_24469_ = lean_unsigned_to_nat(0u); -v___x_24470_ = l_Lean_Syntax_getArg(v_attrInstance_24463_, v___x_24469_); -v___x_24471_ = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); -lean_closure_set(v___x_24471_, 0, v___x_24470_); -v___f_24472_ = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___boxed), 8, 5); -lean_closure_set(v___f_24472_, 0, v___x_24471_); -lean_closure_set(v___f_24472_, 1, v_attrInstance_24463_); -lean_closure_set(v___f_24472_, 2, v___f_24467_); -lean_closure_set(v___f_24472_, 3, v___x_24468_); -lean_closure_set(v___f_24472_, 4, v___x_24469_); -v___x_24473_ = 1; -v___x_24474_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v___f_24472_, v___x_24473_, v___y_24464_, v___y_24465_); -return v___x_24474_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___boxed(lean_object* v_attrInstance_24475_, lean_object* v___y_24476_, lean_object* v___y_24477_, lean_object* v___y_24478_){ -_start: -{ -lean_object* v_res_24479_; -v_res_24479_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(v_attrInstance_24475_, v___y_24476_, v___y_24477_); -return v_res_24479_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(lean_object* v_as_24480_, size_t v_sz_24481_, size_t v_i_24482_, lean_object* v_b_24483_, lean_object* v___y_24484_, lean_object* v___y_24485_){ -_start: -{ -lean_object* v_snd_24488_; lean_object* v_a_24493_; uint8_t v___x_24505_; -v___x_24505_ = lean_usize_dec_lt(v_i_24482_, v_sz_24481_); -if (v___x_24505_ == 0) -{ -lean_object* v___x_24506_; -lean_dec(v___y_24485_); -lean_dec_ref(v___y_24484_); -v___x_24506_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24506_, 0, v_b_24483_); -return v___x_24506_; -} -else -{ -lean_object* v___x_24507_; -v___x_24507_ = l_Lean_Elab_Command_getRef___redArg(v___y_24484_); -if (lean_obj_tag(v___x_24507_) == 0) -{ -lean_object* v_a_24508_; lean_object* v_fileName_24509_; lean_object* v_fileMap_24510_; lean_object* v_currRecDepth_24511_; lean_object* v_cmdPos_24512_; lean_object* v_macroStack_24513_; lean_object* v_quotContext_x3f_24514_; lean_object* v_currMacroScope_24515_; lean_object* v_snap_x3f_24516_; lean_object* v_cancelTk_x3f_24517_; uint8_t v_suppressElabErrors_24518_; lean_object* v_a_24519_; lean_object* v_ref_24520_; lean_object* v___x_24521_; lean_object* v___x_24522_; -v_a_24508_ = lean_ctor_get(v___x_24507_, 0); -lean_inc(v_a_24508_); -lean_dec_ref(v___x_24507_); -v_fileName_24509_ = lean_ctor_get(v___y_24484_, 0); -v_fileMap_24510_ = lean_ctor_get(v___y_24484_, 1); -v_currRecDepth_24511_ = lean_ctor_get(v___y_24484_, 2); -v_cmdPos_24512_ = lean_ctor_get(v___y_24484_, 3); -v_macroStack_24513_ = lean_ctor_get(v___y_24484_, 4); -v_quotContext_x3f_24514_ = lean_ctor_get(v___y_24484_, 5); -v_currMacroScope_24515_ = lean_ctor_get(v___y_24484_, 6); -v_snap_x3f_24516_ = lean_ctor_get(v___y_24484_, 8); -v_cancelTk_x3f_24517_ = lean_ctor_get(v___y_24484_, 9); -v_suppressElabErrors_24518_ = lean_ctor_get_uint8(v___y_24484_, sizeof(void*)*10); -v_a_24519_ = lean_array_uget_borrowed(v_as_24480_, v_i_24482_); -v_ref_24520_ = l_Lean_replaceRef(v_a_24519_, v_a_24508_); -lean_dec(v_a_24508_); -lean_inc(v_cancelTk_x3f_24517_); -lean_inc(v_snap_x3f_24516_); -lean_inc(v_currMacroScope_24515_); -lean_inc(v_quotContext_x3f_24514_); -lean_inc(v_macroStack_24513_); -lean_inc(v_cmdPos_24512_); -lean_inc(v_currRecDepth_24511_); -lean_inc_ref(v_fileMap_24510_); -lean_inc_ref(v_fileName_24509_); -v___x_24521_ = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(v___x_24521_, 0, v_fileName_24509_); -lean_ctor_set(v___x_24521_, 1, v_fileMap_24510_); -lean_ctor_set(v___x_24521_, 2, v_currRecDepth_24511_); -lean_ctor_set(v___x_24521_, 3, v_cmdPos_24512_); -lean_ctor_set(v___x_24521_, 4, v_macroStack_24513_); -lean_ctor_set(v___x_24521_, 5, v_quotContext_x3f_24514_); -lean_ctor_set(v___x_24521_, 6, v_currMacroScope_24515_); -lean_ctor_set(v___x_24521_, 7, v_ref_24520_); -lean_ctor_set(v___x_24521_, 8, v_snap_x3f_24516_); -lean_ctor_set(v___x_24521_, 9, v_cancelTk_x3f_24517_); -lean_ctor_set_uint8(v___x_24521_, sizeof(void*)*10, v_suppressElabErrors_24518_); -lean_inc(v___y_24485_); -lean_inc(v_a_24519_); -v___x_24522_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(v_a_24519_, v___x_24521_, v___y_24485_); -if (lean_obj_tag(v___x_24522_) == 0) -{ -lean_object* v_a_24523_; lean_object* v___x_24524_; -v_a_24523_ = lean_ctor_get(v___x_24522_, 0); -lean_inc(v_a_24523_); -lean_dec_ref(v___x_24522_); -v___x_24524_ = lean_array_push(v_b_24483_, v_a_24523_); -v_snd_24488_ = v___x_24524_; -goto v___jp_24487_; -} -else -{ -lean_object* v_a_24525_; -v_a_24525_ = lean_ctor_get(v___x_24522_, 0); -lean_inc(v_a_24525_); -lean_dec_ref(v___x_24522_); -v_a_24493_ = v_a_24525_; -goto v___jp_24492_; } } else { -lean_object* v_a_24526_; -v_a_24526_ = lean_ctor_get(v___x_24507_, 0); -lean_inc(v_a_24526_); -lean_dec_ref(v___x_24507_); -v_a_24493_ = v_a_24526_; -goto v___jp_24492_; +lean_object* v___x_24450_; lean_object* v___x_24451_; lean_object* v___x_24452_; +lean_dec(v___x_24434_); +v___x_24450_ = l_Lean_Syntax_getArg(v_a_24390_, v___x_24380_); +v___x_24451_ = l_Lean_Syntax_getId(v___x_24450_); +lean_dec(v___x_24450_); +v___x_24452_ = lean_erase_macro_scopes(v___x_24451_); +v_attrName_24402_ = v___x_24452_; +v___y_24403_ = v___y_24381_; +v___y_24404_ = v___y_24382_; +goto v___jp_24401_; } -} -v___jp_24487_: +v___jp_24394_: { -size_t v___x_24489_; size_t v___x_24490_; -v___x_24489_ = ((size_t)1ULL); -v___x_24490_ = lean_usize_add(v_i_24482_, v___x_24489_); -v_i_24482_ = v___x_24490_; -v_b_24483_ = v_snd_24488_; +lean_object* v___x_24396_; uint8_t v___x_24397_; lean_object* v___x_24399_; +v___x_24396_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_24396_, 0, v___y_24395_); +lean_ctor_set(v___x_24396_, 1, v_a_24390_); +v___x_24397_ = lean_unbox(v_a_24385_); +lean_dec(v_a_24385_); +lean_ctor_set_uint8(v___x_24396_, sizeof(void*)*2, v___x_24397_); +if (v_isShared_24393_ == 0) +{ +lean_ctor_set(v___x_24392_, 0, v___x_24396_); +v___x_24399_ = v___x_24392_; +goto v_reusejp_24398_; +} +else +{ +lean_object* v_reuseFailAlloc_24400_; +v_reuseFailAlloc_24400_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24400_, 0, v___x_24396_); +v___x_24399_ = v_reuseFailAlloc_24400_; +goto v_reusejp_24398_; +} +v_reusejp_24398_: +{ +return v___x_24399_; +} +} +v___jp_24401_: +{ +lean_object* v___x_24405_; lean_object* v_env_24406_; lean_object* v___x_24407_; +v___x_24405_ = lean_st_ref_get(v___y_24404_); +v_env_24406_ = lean_ctor_get(v___x_24405_, 0); +lean_inc_ref(v_env_24406_); +lean_dec(v___x_24405_); +lean_inc(v_attrName_24402_); +v___x_24407_ = l_Lean_getAttributeImpl(v_env_24406_, v_attrName_24402_); +if (lean_obj_tag(v___x_24407_) == 1) +{ +lean_object* v___x_24408_; lean_object* v_env_24409_; lean_object* v___x_24410_; +lean_dec_ref(v___x_24407_); +v___x_24408_ = lean_st_ref_get(v___y_24404_); +v_env_24409_ = lean_ctor_get(v___x_24408_, 0); +lean_inc_ref(v_env_24409_); +lean_dec(v___x_24408_); +lean_inc(v_attrName_24402_); +v___x_24410_ = l_Lean_getAttributeImpl(v_env_24409_, v_attrName_24402_); +if (lean_obj_tag(v___x_24410_) == 1) +{ +lean_object* v_a_24411_; lean_object* v___x_24412_; lean_object* v_toAttributeImplCore_24413_; lean_object* v_env_24414_; lean_object* v_ref_24415_; lean_object* v___x_24416_; lean_object* v___x_24417_; +v_a_24411_ = lean_ctor_get(v___x_24410_, 0); +lean_inc(v_a_24411_); +lean_dec_ref(v___x_24410_); +v___x_24412_ = lean_st_ref_get(v___y_24404_); +v_toAttributeImplCore_24413_ = lean_ctor_get(v_a_24411_, 0); +lean_inc_ref(v_toAttributeImplCore_24413_); +lean_dec(v_a_24411_); +v_env_24414_ = lean_ctor_get(v___x_24412_, 0); +lean_inc_ref(v_env_24414_); +lean_dec(v___x_24412_); +v_ref_24415_ = lean_ctor_get(v_toAttributeImplCore_24413_, 0); +lean_inc(v_ref_24415_); +lean_dec_ref(v_toAttributeImplCore_24413_); +v___x_24416_ = l_Lean_regularInitAttr; +lean_inc(v_ref_24415_); +v___x_24417_ = l_Lean_ParametricAttribute_getParam_x3f___redArg(v___x_24379_, v___x_24416_, v_env_24414_, v_ref_24415_); +if (lean_obj_tag(v___x_24417_) == 0) +{ +lean_dec(v_ref_24415_); +lean_dec_ref(v___y_24403_); +v___y_24395_ = v_attrName_24402_; +goto v___jp_24394_; +} +else +{ +uint8_t v___x_24418_; lean_object* v___x_24419_; +lean_dec_ref(v___x_24417_); +v___x_24418_ = 1; +v___x_24419_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__17(v_ref_24415_, v___x_24418_, v___y_24403_, v___y_24404_); +lean_dec_ref(v___y_24403_); +if (lean_obj_tag(v___x_24419_) == 0) +{ +lean_dec_ref(v___x_24419_); +v___y_24395_ = v_attrName_24402_; +goto v___jp_24394_; +} +else +{ +lean_object* v_a_24420_; lean_object* v___x_24422_; uint8_t v_isShared_24423_; uint8_t v_isSharedCheck_24427_; +lean_dec(v_attrName_24402_); +lean_del_object(v___x_24392_); +lean_dec(v_a_24390_); +lean_dec(v_a_24385_); +v_a_24420_ = lean_ctor_get(v___x_24419_, 0); +v_isSharedCheck_24427_ = !lean_is_exclusive(v___x_24419_); +if (v_isSharedCheck_24427_ == 0) +{ +v___x_24422_ = v___x_24419_; +v_isShared_24423_ = v_isSharedCheck_24427_; +goto v_resetjp_24421_; +} +else +{ +lean_inc(v_a_24420_); +lean_dec(v___x_24419_); +v___x_24422_ = lean_box(0); +v_isShared_24423_ = v_isSharedCheck_24427_; +goto v_resetjp_24421_; +} +v_resetjp_24421_: +{ +lean_object* v___x_24425_; +if (v_isShared_24423_ == 0) +{ +v___x_24425_ = v___x_24422_; +goto v_reusejp_24424_; +} +else +{ +lean_object* v_reuseFailAlloc_24426_; +v_reuseFailAlloc_24426_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24426_, 0, v_a_24420_); +v___x_24425_ = v_reuseFailAlloc_24426_; +goto v_reusejp_24424_; +} +v_reusejp_24424_: +{ +return v___x_24425_; +} +} +} +} +} +else +{ +lean_dec_ref(v___x_24410_); +lean_dec_ref(v___y_24403_); +lean_dec(v___x_24379_); +v___y_24395_ = v_attrName_24402_; +goto v___jp_24394_; +} +} +else +{ +lean_object* v___x_24428_; lean_object* v___x_24429_; lean_object* v___x_24430_; lean_object* v___x_24431_; lean_object* v___x_24432_; lean_object* v___x_24433_; +lean_dec_ref(v___x_24407_); +lean_del_object(v___x_24392_); +lean_dec(v_a_24390_); +lean_dec(v_a_24385_); +lean_dec(v___x_24379_); +v___x_24428_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__1); +v___x_24429_ = l_Lean_MessageData_ofName(v_attrName_24402_); +v___x_24430_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_24430_, 0, v___x_24428_); +lean_ctor_set(v___x_24430_, 1, v___x_24429_); +v___x_24431_ = lean_obj_once(&l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3, &l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3_once, _init_l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___closed__3); +v___x_24432_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_24432_, 0, v___x_24430_); +lean_ctor_set(v___x_24432_, 1, v___x_24431_); +v___x_24433_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v___x_24432_, v___y_24403_, v___y_24404_); +return v___x_24433_; +} +} +} +} +else +{ +lean_object* v_a_24454_; lean_object* v___x_24456_; uint8_t v_isShared_24457_; uint8_t v_isSharedCheck_24461_; +lean_dec(v_a_24385_); +lean_dec_ref(v___y_24381_); +lean_dec(v___x_24379_); +v_a_24454_ = lean_ctor_get(v___x_24389_, 0); +v_isSharedCheck_24461_ = !lean_is_exclusive(v___x_24389_); +if (v_isSharedCheck_24461_ == 0) +{ +v___x_24456_ = v___x_24389_; +v_isShared_24457_ = v_isSharedCheck_24461_; +goto v_resetjp_24455_; +} +else +{ +lean_inc(v_a_24454_); +lean_dec(v___x_24389_); +v___x_24456_ = lean_box(0); +v_isShared_24457_ = v_isSharedCheck_24461_; +goto v_resetjp_24455_; +} +v_resetjp_24455_: +{ +lean_object* v___x_24459_; +if (v_isShared_24457_ == 0) +{ +v___x_24459_ = v___x_24456_; +goto v_reusejp_24458_; +} +else +{ +lean_object* v_reuseFailAlloc_24460_; +v_reuseFailAlloc_24460_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24460_, 0, v_a_24454_); +v___x_24459_ = v_reuseFailAlloc_24460_; +goto v_reusejp_24458_; +} +v_reusejp_24458_: +{ +return v___x_24459_; +} +} +} +} +else +{ +lean_object* v_a_24462_; lean_object* v___x_24464_; uint8_t v_isShared_24465_; uint8_t v_isSharedCheck_24469_; +lean_dec_ref(v___y_24381_); +lean_dec(v___x_24379_); +lean_dec_ref(v___f_24378_); +v_a_24462_ = lean_ctor_get(v___x_24384_, 0); +v_isSharedCheck_24469_ = !lean_is_exclusive(v___x_24384_); +if (v_isSharedCheck_24469_ == 0) +{ +v___x_24464_ = v___x_24384_; +v_isShared_24465_ = v_isSharedCheck_24469_; +goto v_resetjp_24463_; +} +else +{ +lean_inc(v_a_24462_); +lean_dec(v___x_24384_); +v___x_24464_ = lean_box(0); +v_isShared_24465_ = v_isSharedCheck_24469_; +goto v_resetjp_24463_; +} +v_resetjp_24463_: +{ +lean_object* v___x_24467_; +if (v_isShared_24465_ == 0) +{ +v___x_24467_ = v___x_24464_; +goto v_reusejp_24466_; +} +else +{ +lean_object* v_reuseFailAlloc_24468_; +v_reuseFailAlloc_24468_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24468_, 0, v_a_24462_); +v___x_24467_ = v_reuseFailAlloc_24468_; +goto v_reusejp_24466_; +} +v_reusejp_24466_: +{ +return v___x_24467_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___boxed(lean_object* v___x_24470_, lean_object* v_attrInstance_24471_, lean_object* v___f_24472_, lean_object* v___x_24473_, lean_object* v___x_24474_, lean_object* v___y_24475_, lean_object* v___y_24476_, lean_object* v___y_24477_){ +_start: +{ +lean_object* v_res_24478_; +v_res_24478_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1(v___x_24470_, v_attrInstance_24471_, v___f_24472_, v___x_24473_, v___x_24474_, v___y_24475_, v___y_24476_); +lean_dec(v___y_24476_); +lean_dec(v___x_24474_); +lean_dec(v_attrInstance_24471_); +return v_res_24478_; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(lean_object* v_x_24479_, uint8_t v_when_24480_, lean_object* v___y_24481_, lean_object* v___y_24482_){ +_start: +{ +if (v_when_24480_ == 0) +{ +lean_object* v___x_24484_; +v___x_24484_ = lean_apply_3(v_x_24479_, v___y_24481_, v___y_24482_, lean_box(0)); +return v___x_24484_; +} +else +{ +uint8_t v___x_24485_; lean_object* v___x_24486_; +v___x_24485_ = 0; +v___x_24486_ = l_Lean_withExporting___at___00Lean_Elab_Command_elabMutualDef_spec__5___redArg(v_x_24479_, v___x_24485_, v___y_24481_, v___y_24482_); +return v___x_24486_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg___boxed(lean_object* v_x_24487_, lean_object* v_when_24488_, lean_object* v___y_24489_, lean_object* v___y_24490_, lean_object* v___y_24491_){ +_start: +{ +uint8_t v_when_boxed_24492_; lean_object* v_res_24493_; +v_when_boxed_24492_ = lean_unbox(v_when_24488_); +v_res_24493_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v_x_24487_, v_when_boxed_24492_, v___y_24489_, v___y_24490_); +return v_res_24493_; +} +} +LEAN_EXPORT uint8_t l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0(lean_object* v_k_24494_){ +_start: +{ +lean_object* v___x_24495_; uint8_t v___x_24496_; +v___x_24495_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_mkTacTask___redArg___closed__3)); +v___x_24496_ = lean_name_eq(v_k_24494_, v___x_24495_); +if (v___x_24496_ == 0) +{ +uint8_t v___x_24497_; +v___x_24497_ = 1; +return v___x_24497_; +} +else +{ +uint8_t v___x_24498_; +v___x_24498_ = 0; +return v___x_24498_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0___boxed(lean_object* v_k_24499_){ +_start: +{ +uint8_t v_res_24500_; lean_object* v_r_24501_; +v_res_24500_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__0(v_k_24499_); +lean_dec(v_k_24499_); +v_r_24501_ = lean_box(v_res_24500_); +return v_r_24501_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(lean_object* v_attrInstance_24503_, lean_object* v___y_24504_, lean_object* v___y_24505_){ +_start: +{ +lean_object* v___f_24507_; lean_object* v___x_24508_; lean_object* v___x_24509_; lean_object* v___x_24510_; lean_object* v___x_24511_; lean_object* v___f_24512_; uint8_t v___x_24513_; lean_object* v___x_24514_; +v___f_24507_ = ((lean_object*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___closed__0)); +v___x_24508_ = lean_box(0); +v___x_24509_ = lean_unsigned_to_nat(0u); +v___x_24510_ = l_Lean_Syntax_getArg(v_attrInstance_24503_, v___x_24509_); +v___x_24511_ = lean_alloc_closure((void*)(l_Lean_Elab_toAttributeKind___boxed), 3, 1); +lean_closure_set(v___x_24511_, 0, v___x_24510_); +v___f_24512_ = lean_alloc_closure((void*)(l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___lam__1___boxed), 8, 5); +lean_closure_set(v___f_24512_, 0, v___x_24511_); +lean_closure_set(v___f_24512_, 1, v_attrInstance_24503_); +lean_closure_set(v___f_24512_, 2, v___f_24507_); +lean_closure_set(v___f_24512_, 3, v___x_24508_); +lean_closure_set(v___f_24512_, 4, v___x_24509_); +v___x_24513_ = 1; +v___x_24514_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v___f_24512_, v___x_24513_, v___y_24504_, v___y_24505_); +return v___x_24514_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11___boxed(lean_object* v_attrInstance_24515_, lean_object* v___y_24516_, lean_object* v___y_24517_, lean_object* v___y_24518_){ +_start: +{ +lean_object* v_res_24519_; +v_res_24519_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(v_attrInstance_24515_, v___y_24516_, v___y_24517_); +return v_res_24519_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(lean_object* v_as_24520_, size_t v_sz_24521_, size_t v_i_24522_, lean_object* v_b_24523_, lean_object* v___y_24524_, lean_object* v___y_24525_){ +_start: +{ +lean_object* v_snd_24528_; lean_object* v_a_24533_; uint8_t v___x_24545_; +v___x_24545_ = lean_usize_dec_lt(v_i_24522_, v_sz_24521_); +if (v___x_24545_ == 0) +{ +lean_object* v___x_24546_; +lean_dec(v___y_24525_); +lean_dec_ref(v___y_24524_); +v___x_24546_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24546_, 0, v_b_24523_); +return v___x_24546_; +} +else +{ +lean_object* v___x_24547_; +v___x_24547_ = l_Lean_Elab_Command_getRef___redArg(v___y_24524_); +if (lean_obj_tag(v___x_24547_) == 0) +{ +lean_object* v_a_24548_; lean_object* v_fileName_24549_; lean_object* v_fileMap_24550_; lean_object* v_currRecDepth_24551_; lean_object* v_cmdPos_24552_; lean_object* v_macroStack_24553_; lean_object* v_quotContext_x3f_24554_; lean_object* v_currMacroScope_24555_; lean_object* v_snap_x3f_24556_; lean_object* v_cancelTk_x3f_24557_; uint8_t v_suppressElabErrors_24558_; lean_object* v_a_24559_; lean_object* v_ref_24560_; lean_object* v___x_24561_; lean_object* v___x_24562_; +v_a_24548_ = lean_ctor_get(v___x_24547_, 0); +lean_inc(v_a_24548_); +lean_dec_ref(v___x_24547_); +v_fileName_24549_ = lean_ctor_get(v___y_24524_, 0); +v_fileMap_24550_ = lean_ctor_get(v___y_24524_, 1); +v_currRecDepth_24551_ = lean_ctor_get(v___y_24524_, 2); +v_cmdPos_24552_ = lean_ctor_get(v___y_24524_, 3); +v_macroStack_24553_ = lean_ctor_get(v___y_24524_, 4); +v_quotContext_x3f_24554_ = lean_ctor_get(v___y_24524_, 5); +v_currMacroScope_24555_ = lean_ctor_get(v___y_24524_, 6); +v_snap_x3f_24556_ = lean_ctor_get(v___y_24524_, 8); +v_cancelTk_x3f_24557_ = lean_ctor_get(v___y_24524_, 9); +v_suppressElabErrors_24558_ = lean_ctor_get_uint8(v___y_24524_, sizeof(void*)*10); +v_a_24559_ = lean_array_uget_borrowed(v_as_24520_, v_i_24522_); +v_ref_24560_ = l_Lean_replaceRef(v_a_24559_, v_a_24548_); +lean_dec(v_a_24548_); +lean_inc(v_cancelTk_x3f_24557_); +lean_inc(v_snap_x3f_24556_); +lean_inc(v_currMacroScope_24555_); +lean_inc(v_quotContext_x3f_24554_); +lean_inc(v_macroStack_24553_); +lean_inc(v_cmdPos_24552_); +lean_inc(v_currRecDepth_24551_); +lean_inc_ref(v_fileMap_24550_); +lean_inc_ref(v_fileName_24549_); +v___x_24561_ = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(v___x_24561_, 0, v_fileName_24549_); +lean_ctor_set(v___x_24561_, 1, v_fileMap_24550_); +lean_ctor_set(v___x_24561_, 2, v_currRecDepth_24551_); +lean_ctor_set(v___x_24561_, 3, v_cmdPos_24552_); +lean_ctor_set(v___x_24561_, 4, v_macroStack_24553_); +lean_ctor_set(v___x_24561_, 5, v_quotContext_x3f_24554_); +lean_ctor_set(v___x_24561_, 6, v_currMacroScope_24555_); +lean_ctor_set(v___x_24561_, 7, v_ref_24560_); +lean_ctor_set(v___x_24561_, 8, v_snap_x3f_24556_); +lean_ctor_set(v___x_24561_, 9, v_cancelTk_x3f_24557_); +lean_ctor_set_uint8(v___x_24561_, sizeof(void*)*10, v_suppressElabErrors_24558_); +lean_inc(v___y_24525_); +lean_inc(v_a_24559_); +v___x_24562_ = l_Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11(v_a_24559_, v___x_24561_, v___y_24525_); +if (lean_obj_tag(v___x_24562_) == 0) +{ +lean_object* v_a_24563_; lean_object* v___x_24564_; +v_a_24563_ = lean_ctor_get(v___x_24562_, 0); +lean_inc(v_a_24563_); +lean_dec_ref(v___x_24562_); +v___x_24564_ = lean_array_push(v_b_24523_, v_a_24563_); +v_snd_24528_ = v___x_24564_; +goto v___jp_24527_; +} +else +{ +lean_object* v_a_24565_; +v_a_24565_ = lean_ctor_get(v___x_24562_, 0); +lean_inc(v_a_24565_); +lean_dec_ref(v___x_24562_); +v_a_24533_ = v_a_24565_; +goto v___jp_24532_; +} +} +else +{ +lean_object* v_a_24566_; +v_a_24566_ = lean_ctor_get(v___x_24547_, 0); +lean_inc(v_a_24566_); +lean_dec_ref(v___x_24547_); +v_a_24533_ = v_a_24566_; +goto v___jp_24532_; +} +} +v___jp_24527_: +{ +size_t v___x_24529_; size_t v___x_24530_; +v___x_24529_ = ((size_t)1ULL); +v___x_24530_ = lean_usize_add(v_i_24522_, v___x_24529_); +v_i_24522_ = v___x_24530_; +v_b_24523_ = v_snd_24528_; goto _start; } -v___jp_24492_: +v___jp_24532_: { -uint8_t v___x_24494_; -v___x_24494_ = l_Lean_Exception_isInterrupt(v_a_24493_); -if (v___x_24494_ == 0) +uint8_t v___x_24534_; +v___x_24534_ = l_Lean_Exception_isInterrupt(v_a_24533_); +if (v___x_24534_ == 0) { -lean_object* v___x_24495_; -lean_inc_ref(v___y_24484_); -v___x_24495_ = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(v_a_24493_, v___y_24484_, v___y_24485_); -if (lean_obj_tag(v___x_24495_) == 0) +lean_object* v___x_24535_; +lean_inc_ref(v___y_24524_); +v___x_24535_ = l_Lean_Elab_logException___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__10(v_a_24533_, v___y_24524_, v___y_24525_); +if (lean_obj_tag(v___x_24535_) == 0) { -lean_dec_ref(v___x_24495_); -v_snd_24488_ = v_b_24483_; -goto v___jp_24487_; +lean_dec_ref(v___x_24535_); +v_snd_24528_ = v_b_24523_; +goto v___jp_24527_; } else { -lean_object* v_a_24496_; lean_object* v___x_24498_; uint8_t v_isShared_24499_; uint8_t v_isSharedCheck_24503_; -lean_dec(v___y_24485_); -lean_dec_ref(v___y_24484_); -lean_dec_ref(v_b_24483_); -v_a_24496_ = lean_ctor_get(v___x_24495_, 0); -v_isSharedCheck_24503_ = !lean_is_exclusive(v___x_24495_); -if (v_isSharedCheck_24503_ == 0) +lean_object* v_a_24536_; lean_object* v___x_24538_; uint8_t v_isShared_24539_; uint8_t v_isSharedCheck_24543_; +lean_dec(v___y_24525_); +lean_dec_ref(v___y_24524_); +lean_dec_ref(v_b_24523_); +v_a_24536_ = lean_ctor_get(v___x_24535_, 0); +v_isSharedCheck_24543_ = !lean_is_exclusive(v___x_24535_); +if (v_isSharedCheck_24543_ == 0) { -v___x_24498_ = v___x_24495_; -v_isShared_24499_ = v_isSharedCheck_24503_; -goto v_resetjp_24497_; +v___x_24538_ = v___x_24535_; +v_isShared_24539_ = v_isSharedCheck_24543_; +goto v_resetjp_24537_; } else { -lean_inc(v_a_24496_); -lean_dec(v___x_24495_); -v___x_24498_ = lean_box(0); -v_isShared_24499_ = v_isSharedCheck_24503_; -goto v_resetjp_24497_; +lean_inc(v_a_24536_); +lean_dec(v___x_24535_); +v___x_24538_ = lean_box(0); +v_isShared_24539_ = v_isSharedCheck_24543_; +goto v_resetjp_24537_; } -v_resetjp_24497_: +v_resetjp_24537_: { -lean_object* v___x_24501_; -if (v_isShared_24499_ == 0) +lean_object* v___x_24541_; +if (v_isShared_24539_ == 0) { -v___x_24501_ = v___x_24498_; -goto v_reusejp_24500_; +v___x_24541_ = v___x_24538_; +goto v_reusejp_24540_; } else { -lean_object* v_reuseFailAlloc_24502_; -v_reuseFailAlloc_24502_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24502_, 0, v_a_24496_); -v___x_24501_ = v_reuseFailAlloc_24502_; -goto v_reusejp_24500_; +lean_object* v_reuseFailAlloc_24542_; +v_reuseFailAlloc_24542_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24542_, 0, v_a_24536_); +v___x_24541_ = v_reuseFailAlloc_24542_; +goto v_reusejp_24540_; } -v_reusejp_24500_: +v_reusejp_24540_: { -return v___x_24501_; +return v___x_24541_; } } } } else { -lean_object* v___x_24504_; -lean_dec(v___y_24485_); -lean_dec_ref(v___y_24484_); -lean_dec_ref(v_b_24483_); -v___x_24504_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_24504_, 0, v_a_24493_); -return v___x_24504_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12___boxed(lean_object* v_as_24527_, lean_object* v_sz_24528_, lean_object* v_i_24529_, lean_object* v_b_24530_, lean_object* v___y_24531_, lean_object* v___y_24532_, lean_object* v___y_24533_){ -_start: -{ -size_t v_sz_boxed_24534_; size_t v_i_boxed_24535_; lean_object* v_res_24536_; -v_sz_boxed_24534_ = lean_unbox_usize(v_sz_24528_); -lean_dec(v_sz_24528_); -v_i_boxed_24535_ = lean_unbox_usize(v_i_24529_); -lean_dec(v_i_24529_); -v_res_24536_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(v_as_24527_, v_sz_boxed_24534_, v_i_boxed_24535_, v_b_24530_, v___y_24531_, v___y_24532_); -lean_dec_ref(v_as_24527_); -return v_res_24536_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(lean_object* v_attrInstances_24537_, lean_object* v___y_24538_, lean_object* v___y_24539_){ -_start: -{ -lean_object* v_attrs_24541_; size_t v_sz_24542_; size_t v___x_24543_; lean_object* v___x_24544_; -v_attrs_24541_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); -v_sz_24542_ = lean_array_size(v_attrInstances_24537_); -v___x_24543_ = ((size_t)0ULL); -v___x_24544_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(v_attrInstances_24537_, v_sz_24542_, v___x_24543_, v_attrs_24541_, v___y_24538_, v___y_24539_); +lean_object* v___x_24544_; +lean_dec(v___y_24525_); +lean_dec_ref(v___y_24524_); +lean_dec_ref(v_b_24523_); +v___x_24544_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_24544_, 0, v_a_24533_); return v___x_24544_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7___boxed(lean_object* v_attrInstances_24545_, lean_object* v___y_24546_, lean_object* v___y_24547_, lean_object* v___y_24548_){ +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12___boxed(lean_object* v_as_24567_, lean_object* v_sz_24568_, lean_object* v_i_24569_, lean_object* v_b_24570_, lean_object* v___y_24571_, lean_object* v___y_24572_, lean_object* v___y_24573_){ _start: { -lean_object* v_res_24549_; -v_res_24549_ = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(v_attrInstances_24545_, v___y_24546_, v___y_24547_); -lean_dec_ref(v_attrInstances_24545_); -return v_res_24549_; +size_t v_sz_boxed_24574_; size_t v_i_boxed_24575_; lean_object* v_res_24576_; +v_sz_boxed_24574_ = lean_unbox_usize(v_sz_24568_); +lean_dec(v_sz_24568_); +v_i_boxed_24575_ = lean_unbox_usize(v_i_24569_); +lean_dec(v_i_24569_); +v_res_24576_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(v_as_24567_, v_sz_boxed_24574_, v_i_boxed_24575_, v_b_24570_, v___y_24571_, v___y_24572_); +lean_dec_ref(v_as_24567_); +return v_res_24576_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(lean_object* v_stx_24550_, lean_object* v___y_24551_, lean_object* v___y_24552_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(lean_object* v_attrInstances_24577_, lean_object* v___y_24578_, lean_object* v___y_24579_){ _start: { -lean_object* v___x_24554_; lean_object* v___x_24555_; lean_object* v___x_24556_; lean_object* v___x_24557_; -v___x_24554_ = lean_unsigned_to_nat(1u); -v___x_24555_ = l_Lean_Syntax_getArg(v_stx_24550_, v___x_24554_); -v___x_24556_ = l_Lean_Syntax_getSepArgs(v___x_24555_); -lean_dec(v___x_24555_); -v___x_24557_ = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(v___x_24556_, v___y_24551_, v___y_24552_); -lean_dec_ref(v___x_24556_); -return v___x_24557_; +lean_object* v_attrs_24581_; size_t v_sz_24582_; size_t v___x_24583_; lean_object* v___x_24584_; +v_attrs_24581_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); +v_sz_24582_ = lean_array_size(v_attrInstances_24577_); +v___x_24583_ = ((size_t)0ULL); +v___x_24584_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__12(v_attrInstances_24577_, v_sz_24582_, v___x_24583_, v_attrs_24581_, v___y_24578_, v___y_24579_); +return v___x_24584_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5___boxed(lean_object* v_stx_24558_, lean_object* v___y_24559_, lean_object* v___y_24560_, lean_object* v___y_24561_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7___boxed(lean_object* v_attrInstances_24585_, lean_object* v___y_24586_, lean_object* v___y_24587_, lean_object* v___y_24588_){ _start: { -lean_object* v_res_24562_; -v_res_24562_ = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(v_stx_24558_, v___y_24559_, v___y_24560_); -lean_dec(v_stx_24558_); -return v_res_24562_; +lean_object* v_res_24589_; +v_res_24589_ = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(v_attrInstances_24585_, v___y_24586_, v___y_24587_); +lean_dec_ref(v_attrInstances_24585_); +return v_res_24589_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(lean_object* v_stx_24590_, lean_object* v___y_24591_, lean_object* v___y_24592_){ +_start: +{ +lean_object* v___x_24594_; lean_object* v___x_24595_; lean_object* v___x_24596_; lean_object* v___x_24597_; +v___x_24594_ = lean_unsigned_to_nat(1u); +v___x_24595_ = l_Lean_Syntax_getArg(v_stx_24590_, v___x_24594_); +v___x_24596_ = l_Lean_Syntax_getSepArgs(v___x_24595_); +lean_dec(v___x_24595_); +v___x_24597_ = l_Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7(v___x_24596_, v___y_24591_, v___y_24592_); +lean_dec_ref(v___x_24596_); +return v___x_24597_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5___boxed(lean_object* v_stx_24598_, lean_object* v___y_24599_, lean_object* v___y_24600_, lean_object* v___y_24601_){ +_start: +{ +lean_object* v_res_24602_; +v_res_24602_ = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(v_stx_24598_, v___y_24599_, v___y_24600_); +lean_dec(v_stx_24598_); +return v_res_24602_; } } static lean_object* _init_l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3(void){ _start: { -lean_object* v___x_24574_; lean_object* v___x_24575_; -v___x_24574_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__2)); -v___x_24575_ = l_Lean_stringToMessageData(v___x_24574_); -return v___x_24575_; +lean_object* v___x_24614_; lean_object* v___x_24615_; +v___x_24614_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__2)); +v___x_24615_ = l_Lean_stringToMessageData(v___x_24614_); +return v___x_24615_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(lean_object* v_stx_24587_, lean_object* v___y_24588_, lean_object* v___y_24589_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(lean_object* v_stx_24627_, lean_object* v___y_24628_, lean_object* v___y_24629_){ _start: { -lean_object* v___y_24592_; uint8_t v___y_24593_; uint8_t v___y_24594_; uint8_t v___y_24595_; lean_object* v___y_24596_; uint8_t v___y_24597_; uint8_t v___y_24598_; lean_object* v___y_24602_; uint8_t v___y_24603_; uint8_t v___y_24604_; uint8_t v___y_24605_; lean_object* v___y_24606_; uint8_t v___y_24607_; lean_object* v_attrs_24608_; lean_object* v___x_24612_; lean_object* v_docCommentStx_24613_; lean_object* v___x_24614_; lean_object* v_attrsStx_24615_; lean_object* v___y_24617_; lean_object* v___y_24618_; uint8_t v___y_24619_; uint8_t v___y_24620_; lean_object* v___y_24621_; lean_object* v___y_24622_; uint8_t v___y_24623_; uint8_t v___y_24624_; lean_object* v___x_24638_; lean_object* v_visibilityStx_24639_; lean_object* v___x_24640_; lean_object* v_protectedStx_24641_; lean_object* v___y_24643_; uint8_t v___y_24644_; lean_object* v___y_24645_; uint8_t v___y_24646_; uint8_t v_visibility_24647_; lean_object* v___y_24648_; lean_object* v___y_24649_; lean_object* v___y_24654_; uint8_t v___y_24655_; uint8_t v___y_24656_; lean_object* v___y_24657_; lean_object* v___y_24678_; uint8_t v___y_24679_; uint8_t v___y_24680_; uint8_t v___y_24701_; lean_object* v___x_24714_; lean_object* v___x_24715_; uint8_t v___x_24716_; -v___x_24612_ = lean_unsigned_to_nat(0u); -v_docCommentStx_24613_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24612_); -v___x_24614_ = lean_unsigned_to_nat(1u); -v_attrsStx_24615_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24614_); -v___x_24638_ = lean_unsigned_to_nat(2u); -v_visibilityStx_24639_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24638_); -v___x_24640_ = lean_unsigned_to_nat(3u); -v_protectedStx_24641_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24640_); -v___x_24714_ = lean_unsigned_to_nat(4u); -v___x_24715_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24714_); -v___x_24716_ = l_Lean_Syntax_isNone(v___x_24715_); -if (v___x_24716_ == 0) +lean_object* v___y_24632_; uint8_t v___y_24633_; uint8_t v___y_24634_; uint8_t v___y_24635_; uint8_t v___y_24636_; lean_object* v___y_24637_; uint8_t v___y_24638_; lean_object* v___y_24642_; lean_object* v___y_24643_; uint8_t v___y_24644_; uint8_t v___y_24645_; uint8_t v___y_24646_; uint8_t v___y_24647_; lean_object* v_attrs_24648_; lean_object* v___x_24652_; lean_object* v_docCommentStx_24653_; lean_object* v___x_24654_; lean_object* v_attrsStx_24655_; lean_object* v___y_24657_; lean_object* v___y_24658_; lean_object* v___y_24659_; uint8_t v___y_24660_; uint8_t v___y_24661_; uint8_t v___y_24662_; lean_object* v___y_24663_; uint8_t v___y_24664_; lean_object* v___x_24678_; lean_object* v_visibilityStx_24679_; lean_object* v___x_24680_; lean_object* v_protectedStx_24681_; lean_object* v___y_24683_; lean_object* v___y_24684_; uint8_t v___y_24685_; uint8_t v___y_24686_; uint8_t v_visibility_24687_; lean_object* v___y_24688_; lean_object* v___y_24689_; lean_object* v___y_24694_; uint8_t v___y_24695_; uint8_t v___y_24696_; lean_object* v___y_24697_; lean_object* v___y_24718_; uint8_t v___y_24719_; uint8_t v___y_24720_; uint8_t v___y_24741_; lean_object* v___x_24754_; lean_object* v___x_24755_; uint8_t v___x_24756_; +v___x_24652_ = lean_unsigned_to_nat(0u); +v_docCommentStx_24653_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24652_); +v___x_24654_ = lean_unsigned_to_nat(1u); +v_attrsStx_24655_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24654_); +v___x_24678_ = lean_unsigned_to_nat(2u); +v_visibilityStx_24679_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24678_); +v___x_24680_ = lean_unsigned_to_nat(3u); +v_protectedStx_24681_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24680_); +v___x_24754_ = lean_unsigned_to_nat(4u); +v___x_24755_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24754_); +v___x_24756_ = l_Lean_Syntax_isNone(v___x_24755_); +if (v___x_24756_ == 0) { -lean_object* v___x_24717_; lean_object* v___x_24718_; lean_object* v___x_24719_; uint8_t v___x_24720_; -v___x_24717_ = l_Lean_Syntax_getArg(v___x_24715_, v___x_24612_); -lean_dec(v___x_24715_); -v___x_24718_ = l_Lean_Syntax_getKind(v___x_24717_); -v___x_24719_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__6)); -v___x_24720_ = lean_name_eq(v___x_24718_, v___x_24719_); -lean_dec(v___x_24718_); -if (v___x_24720_ == 0) +lean_object* v___x_24757_; lean_object* v___x_24758_; lean_object* v___x_24759_; uint8_t v___x_24760_; +v___x_24757_ = l_Lean_Syntax_getArg(v___x_24755_, v___x_24652_); +lean_dec(v___x_24755_); +v___x_24758_ = l_Lean_Syntax_getKind(v___x_24757_); +v___x_24759_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__6)); +v___x_24760_ = lean_name_eq(v___x_24758_, v___x_24759_); +lean_dec(v___x_24758_); +if (v___x_24760_ == 0) { -uint8_t v___x_24721_; -v___x_24721_ = 2; -v___y_24701_ = v___x_24721_; -goto v___jp_24700_; +uint8_t v___x_24761_; +v___x_24761_ = 2; +v___y_24741_ = v___x_24761_; +goto v___jp_24740_; } else { -uint8_t v___x_24722_; -v___x_24722_ = 1; -v___y_24701_ = v___x_24722_; -goto v___jp_24700_; +uint8_t v___x_24762_; +v___x_24762_ = 1; +v___y_24741_ = v___x_24762_; +goto v___jp_24740_; } } else { -uint8_t v___x_24723_; -lean_dec(v___x_24715_); -v___x_24723_ = 0; -v___y_24701_ = v___x_24723_; -goto v___jp_24700_; +uint8_t v___x_24763_; +lean_dec(v___x_24755_); +v___x_24763_ = 0; +v___y_24741_ = v___x_24763_; +goto v___jp_24740_; } -v___jp_24591_: +v___jp_24631_: { -lean_object* v___x_24599_; lean_object* v___x_24600_; -v___x_24599_ = lean_alloc_ctor(0, 3, 5); -lean_ctor_set(v___x_24599_, 0, v_stx_24587_); -lean_ctor_set(v___x_24599_, 1, v___y_24596_); -lean_ctor_set(v___x_24599_, 2, v___y_24592_); -lean_ctor_set_uint8(v___x_24599_, sizeof(void*)*3, v___y_24595_); -lean_ctor_set_uint8(v___x_24599_, sizeof(void*)*3 + 1, v___y_24594_); -lean_ctor_set_uint8(v___x_24599_, sizeof(void*)*3 + 2, v___y_24597_); -lean_ctor_set_uint8(v___x_24599_, sizeof(void*)*3 + 3, v___y_24593_); -lean_ctor_set_uint8(v___x_24599_, sizeof(void*)*3 + 4, v___y_24598_); -v___x_24600_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24600_, 0, v___x_24599_); -return v___x_24600_; +lean_object* v___x_24639_; lean_object* v___x_24640_; +v___x_24639_ = lean_alloc_ctor(0, 3, 5); +lean_ctor_set(v___x_24639_, 0, v_stx_24627_); +lean_ctor_set(v___x_24639_, 1, v___y_24632_); +lean_ctor_set(v___x_24639_, 2, v___y_24637_); +lean_ctor_set_uint8(v___x_24639_, sizeof(void*)*3, v___y_24634_); +lean_ctor_set_uint8(v___x_24639_, sizeof(void*)*3 + 1, v___y_24635_); +lean_ctor_set_uint8(v___x_24639_, sizeof(void*)*3 + 2, v___y_24636_); +lean_ctor_set_uint8(v___x_24639_, sizeof(void*)*3 + 3, v___y_24633_); +lean_ctor_set_uint8(v___x_24639_, sizeof(void*)*3 + 4, v___y_24638_); +v___x_24640_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24640_, 0, v___x_24639_); +return v___x_24640_; } -v___jp_24601_: +v___jp_24641_: { -uint8_t v___x_24609_; -v___x_24609_ = l_Lean_Syntax_isNone(v___y_24602_); -lean_dec(v___y_24602_); -if (v___x_24609_ == 0) -{ -uint8_t v___x_24610_; -v___x_24610_ = 1; -v___y_24592_ = v_attrs_24608_; -v___y_24593_ = v___y_24604_; -v___y_24594_ = v___y_24603_; -v___y_24595_ = v___y_24605_; -v___y_24596_ = v___y_24606_; -v___y_24597_ = v___y_24607_; -v___y_24598_ = v___x_24610_; -goto v___jp_24591_; -} -else -{ -uint8_t v___x_24611_; -v___x_24611_ = 0; -v___y_24592_ = v_attrs_24608_; -v___y_24593_ = v___y_24604_; -v___y_24594_ = v___y_24603_; -v___y_24595_ = v___y_24605_; -v___y_24596_ = v___y_24606_; -v___y_24597_ = v___y_24607_; -v___y_24598_ = v___x_24611_; -goto v___jp_24591_; -} -} -v___jp_24616_: -{ -lean_object* v___x_24625_; -v___x_24625_ = l_Lean_Syntax_getOptional_x3f(v_attrsStx_24615_); -lean_dec(v_attrsStx_24615_); -if (lean_obj_tag(v___x_24625_) == 0) -{ -lean_object* v___x_24626_; -lean_dec_ref(v___y_24622_); -lean_dec(v___y_24617_); -v___x_24626_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); -v___y_24602_ = v___y_24618_; -v___y_24603_ = v___y_24624_; -v___y_24604_ = v___y_24619_; -v___y_24605_ = v___y_24620_; -v___y_24606_ = v___y_24621_; -v___y_24607_ = v___y_24623_; -v_attrs_24608_ = v___x_24626_; -goto v___jp_24601_; -} -else -{ -lean_object* v_val_24627_; lean_object* v___x_24628_; -v_val_24627_ = lean_ctor_get(v___x_24625_, 0); -lean_inc(v_val_24627_); -lean_dec_ref(v___x_24625_); -v___x_24628_ = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(v_val_24627_, v___y_24622_, v___y_24617_); -lean_dec(v_val_24627_); -if (lean_obj_tag(v___x_24628_) == 0) -{ -lean_object* v_a_24629_; -v_a_24629_ = lean_ctor_get(v___x_24628_, 0); -lean_inc(v_a_24629_); -lean_dec_ref(v___x_24628_); -v___y_24602_ = v___y_24618_; -v___y_24603_ = v___y_24624_; -v___y_24604_ = v___y_24619_; -v___y_24605_ = v___y_24620_; -v___y_24606_ = v___y_24621_; -v___y_24607_ = v___y_24623_; -v_attrs_24608_ = v_a_24629_; -goto v___jp_24601_; -} -else -{ -lean_object* v_a_24630_; lean_object* v___x_24632_; uint8_t v_isShared_24633_; uint8_t v_isSharedCheck_24637_; -lean_dec(v___y_24621_); -lean_dec(v___y_24618_); -lean_dec(v_stx_24587_); -v_a_24630_ = lean_ctor_get(v___x_24628_, 0); -v_isSharedCheck_24637_ = !lean_is_exclusive(v___x_24628_); -if (v_isSharedCheck_24637_ == 0) -{ -v___x_24632_ = v___x_24628_; -v_isShared_24633_ = v_isSharedCheck_24637_; -goto v_resetjp_24631_; -} -else -{ -lean_inc(v_a_24630_); -lean_dec(v___x_24628_); -v___x_24632_ = lean_box(0); -v_isShared_24633_ = v_isSharedCheck_24637_; -goto v_resetjp_24631_; -} -v_resetjp_24631_: -{ -lean_object* v___x_24635_; -if (v_isShared_24633_ == 0) -{ -v___x_24635_ = v___x_24632_; -goto v_reusejp_24634_; -} -else -{ -lean_object* v_reuseFailAlloc_24636_; -v_reuseFailAlloc_24636_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24636_, 0, v_a_24630_); -v___x_24635_ = v_reuseFailAlloc_24636_; -goto v_reusejp_24634_; -} -v_reusejp_24634_: -{ -return v___x_24635_; -} -} -} -} -} -v___jp_24642_: +uint8_t v___x_24649_; +v___x_24649_ = l_Lean_Syntax_isNone(v___y_24642_); +lean_dec(v___y_24642_); +if (v___x_24649_ == 0) { uint8_t v___x_24650_; -v___x_24650_ = l_Lean_Syntax_isNone(v_protectedStx_24641_); -lean_dec(v_protectedStx_24641_); -if (v___x_24650_ == 0) +v___x_24650_ = 1; +v___y_24632_ = v___y_24643_; +v___y_24633_ = v___y_24645_; +v___y_24634_ = v___y_24644_; +v___y_24635_ = v___y_24646_; +v___y_24636_ = v___y_24647_; +v___y_24637_ = v_attrs_24648_; +v___y_24638_ = v___x_24650_; +goto v___jp_24631_; +} +else { uint8_t v___x_24651_; -v___x_24651_ = 1; -v___y_24617_ = v___y_24649_; -v___y_24618_ = v___y_24643_; -v___y_24619_ = v___y_24644_; -v___y_24620_ = v_visibility_24647_; -v___y_24621_ = v___y_24645_; -v___y_24622_ = v___y_24648_; -v___y_24623_ = v___y_24646_; -v___y_24624_ = v___x_24651_; -goto v___jp_24616_; +v___x_24651_ = 0; +v___y_24632_ = v___y_24643_; +v___y_24633_ = v___y_24645_; +v___y_24634_ = v___y_24644_; +v___y_24635_ = v___y_24646_; +v___y_24636_ = v___y_24647_; +v___y_24637_ = v_attrs_24648_; +v___y_24638_ = v___x_24651_; +goto v___jp_24631_; +} +} +v___jp_24656_: +{ +lean_object* v___x_24665_; +v___x_24665_ = l_Lean_Syntax_getOptional_x3f(v_attrsStx_24655_); +lean_dec(v_attrsStx_24655_); +if (lean_obj_tag(v___x_24665_) == 0) +{ +lean_object* v___x_24666_; +lean_dec_ref(v___y_24663_); +lean_dec(v___y_24659_); +v___x_24666_ = ((lean_object*)(l_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___closed__0)); +v___y_24642_ = v___y_24658_; +v___y_24643_ = v___y_24657_; +v___y_24644_ = v___y_24661_; +v___y_24645_ = v___y_24660_; +v___y_24646_ = v___y_24664_; +v___y_24647_ = v___y_24662_; +v_attrs_24648_ = v___x_24666_; +goto v___jp_24641_; } else { -uint8_t v___x_24652_; -v___x_24652_ = 0; -v___y_24617_ = v___y_24649_; -v___y_24618_ = v___y_24643_; -v___y_24619_ = v___y_24644_; -v___y_24620_ = v_visibility_24647_; -v___y_24621_ = v___y_24645_; -v___y_24622_ = v___y_24648_; -v___y_24623_ = v___y_24646_; -v___y_24624_ = v___x_24652_; -goto v___jp_24616_; -} -} -v___jp_24653_: +lean_object* v_val_24667_; lean_object* v___x_24668_; +v_val_24667_ = lean_ctor_get(v___x_24665_, 0); +lean_inc(v_val_24667_); +lean_dec_ref(v___x_24665_); +v___x_24668_ = l_Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5(v_val_24667_, v___y_24663_, v___y_24659_); +lean_dec(v_val_24667_); +if (lean_obj_tag(v___x_24668_) == 0) { -lean_object* v___x_24658_; -v___x_24658_ = l_Lean_Syntax_getOptional_x3f(v_visibilityStx_24639_); -lean_dec(v_visibilityStx_24639_); -if (lean_obj_tag(v___x_24658_) == 0) -{ -uint8_t v___x_24659_; -v___x_24659_ = 0; -v___y_24643_ = v___y_24654_; -v___y_24644_ = v___y_24655_; -v___y_24645_ = v___y_24657_; -v___y_24646_ = v___y_24656_; -v_visibility_24647_ = v___x_24659_; -v___y_24648_ = v___y_24588_; -v___y_24649_ = v___y_24589_; -goto v___jp_24642_; +lean_object* v_a_24669_; +v_a_24669_ = lean_ctor_get(v___x_24668_, 0); +lean_inc(v_a_24669_); +lean_dec_ref(v___x_24668_); +v___y_24642_ = v___y_24658_; +v___y_24643_ = v___y_24657_; +v___y_24644_ = v___y_24661_; +v___y_24645_ = v___y_24660_; +v___y_24646_ = v___y_24664_; +v___y_24647_ = v___y_24662_; +v_attrs_24648_ = v_a_24669_; +goto v___jp_24641_; } else { -lean_object* v_val_24660_; lean_object* v___x_24661_; uint8_t v___x_24662_; -v_val_24660_ = lean_ctor_get(v___x_24658_, 0); -lean_inc(v_val_24660_); -lean_dec_ref(v___x_24658_); -v___x_24661_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__0)); -lean_inc(v_val_24660_); -v___x_24662_ = l_Lean_Syntax_isOfKind(v_val_24660_, v___x_24661_); -if (v___x_24662_ == 0) -{ -lean_object* v___x_24663_; uint8_t v___x_24664_; -v___x_24663_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__1)); -lean_inc(v_val_24660_); -v___x_24664_ = l_Lean_Syntax_isOfKind(v_val_24660_, v___x_24663_); -if (v___x_24664_ == 0) -{ -lean_object* v___x_24665_; lean_object* v___x_24666_; lean_object* v_a_24667_; lean_object* v___x_24669_; uint8_t v_isShared_24670_; uint8_t v_isSharedCheck_24674_; +lean_object* v_a_24670_; lean_object* v___x_24672_; uint8_t v_isShared_24673_; uint8_t v_isSharedCheck_24677_; +lean_dec(v___y_24658_); lean_dec(v___y_24657_); -lean_dec(v___y_24654_); -lean_dec(v_protectedStx_24641_); -lean_dec(v_attrsStx_24615_); -lean_dec(v_stx_24587_); -v___x_24665_ = lean_obj_once(&l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3, &l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3_once, _init_l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3); -v___x_24666_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_val_24660_, v___x_24665_, v___y_24588_, v___y_24589_); -lean_dec(v___y_24589_); -lean_dec(v_val_24660_); -v_a_24667_ = lean_ctor_get(v___x_24666_, 0); -v_isSharedCheck_24674_ = !lean_is_exclusive(v___x_24666_); -if (v_isSharedCheck_24674_ == 0) +lean_dec(v_stx_24627_); +v_a_24670_ = lean_ctor_get(v___x_24668_, 0); +v_isSharedCheck_24677_ = !lean_is_exclusive(v___x_24668_); +if (v_isSharedCheck_24677_ == 0) { -v___x_24669_ = v___x_24666_; -v_isShared_24670_ = v_isSharedCheck_24674_; -goto v_resetjp_24668_; +v___x_24672_ = v___x_24668_; +v_isShared_24673_ = v_isSharedCheck_24677_; +goto v_resetjp_24671_; } else { -lean_inc(v_a_24667_); -lean_dec(v___x_24666_); -v___x_24669_ = lean_box(0); -v_isShared_24670_ = v_isSharedCheck_24674_; -goto v_resetjp_24668_; +lean_inc(v_a_24670_); +lean_dec(v___x_24668_); +v___x_24672_ = lean_box(0); +v_isShared_24673_ = v_isSharedCheck_24677_; +goto v_resetjp_24671_; } -v_resetjp_24668_: +v_resetjp_24671_: { -lean_object* v___x_24672_; -if (v_isShared_24670_ == 0) +lean_object* v___x_24675_; +if (v_isShared_24673_ == 0) { -v___x_24672_ = v___x_24669_; -goto v_reusejp_24671_; +v___x_24675_ = v___x_24672_; +goto v_reusejp_24674_; } else { -lean_object* v_reuseFailAlloc_24673_; -v_reuseFailAlloc_24673_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24673_, 0, v_a_24667_); -v___x_24672_ = v_reuseFailAlloc_24673_; -goto v_reusejp_24671_; +lean_object* v_reuseFailAlloc_24676_; +v_reuseFailAlloc_24676_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24676_, 0, v_a_24670_); +v___x_24675_ = v_reuseFailAlloc_24676_; +goto v_reusejp_24674_; } -v_reusejp_24671_: +v_reusejp_24674_: { -return v___x_24672_; +return v___x_24675_; +} +} +} +} +} +v___jp_24682_: +{ +uint8_t v___x_24690_; +v___x_24690_ = l_Lean_Syntax_isNone(v_protectedStx_24681_); +lean_dec(v_protectedStx_24681_); +if (v___x_24690_ == 0) +{ +uint8_t v___x_24691_; +v___x_24691_ = 1; +v___y_24657_ = v___y_24684_; +v___y_24658_ = v___y_24683_; +v___y_24659_ = v___y_24689_; +v___y_24660_ = v___y_24685_; +v___y_24661_ = v_visibility_24687_; +v___y_24662_ = v___y_24686_; +v___y_24663_ = v___y_24688_; +v___y_24664_ = v___x_24691_; +goto v___jp_24656_; +} +else +{ +uint8_t v___x_24692_; +v___x_24692_ = 0; +v___y_24657_ = v___y_24684_; +v___y_24658_ = v___y_24683_; +v___y_24659_ = v___y_24689_; +v___y_24660_ = v___y_24685_; +v___y_24661_ = v_visibility_24687_; +v___y_24662_ = v___y_24686_; +v___y_24663_ = v___y_24688_; +v___y_24664_ = v___x_24692_; +goto v___jp_24656_; +} +} +v___jp_24693_: +{ +lean_object* v___x_24698_; +v___x_24698_ = l_Lean_Syntax_getOptional_x3f(v_visibilityStx_24679_); +lean_dec(v_visibilityStx_24679_); +if (lean_obj_tag(v___x_24698_) == 0) +{ +uint8_t v___x_24699_; +v___x_24699_ = 0; +v___y_24683_ = v___y_24694_; +v___y_24684_ = v___y_24697_; +v___y_24685_ = v___y_24695_; +v___y_24686_ = v___y_24696_; +v_visibility_24687_ = v___x_24699_; +v___y_24688_ = v___y_24628_; +v___y_24689_ = v___y_24629_; +goto v___jp_24682_; +} +else +{ +lean_object* v_val_24700_; lean_object* v___x_24701_; uint8_t v___x_24702_; +v_val_24700_ = lean_ctor_get(v___x_24698_, 0); +lean_inc(v_val_24700_); +lean_dec_ref(v___x_24698_); +v___x_24701_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__0)); +lean_inc(v_val_24700_); +v___x_24702_ = l_Lean_Syntax_isOfKind(v_val_24700_, v___x_24701_); +if (v___x_24702_ == 0) +{ +lean_object* v___x_24703_; uint8_t v___x_24704_; +v___x_24703_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__1)); +lean_inc(v_val_24700_); +v___x_24704_ = l_Lean_Syntax_isOfKind(v_val_24700_, v___x_24703_); +if (v___x_24704_ == 0) +{ +lean_object* v___x_24705_; lean_object* v___x_24706_; lean_object* v_a_24707_; lean_object* v___x_24709_; uint8_t v_isShared_24710_; uint8_t v_isSharedCheck_24714_; +lean_dec(v___y_24697_); +lean_dec(v___y_24694_); +lean_dec(v_protectedStx_24681_); +lean_dec(v_attrsStx_24655_); +lean_dec(v_stx_24627_); +v___x_24705_ = lean_obj_once(&l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3, &l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3_once, _init_l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__3); +v___x_24706_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_val_24700_, v___x_24705_, v___y_24628_, v___y_24629_); +lean_dec(v___y_24629_); +lean_dec(v_val_24700_); +v_a_24707_ = lean_ctor_get(v___x_24706_, 0); +v_isSharedCheck_24714_ = !lean_is_exclusive(v___x_24706_); +if (v_isSharedCheck_24714_ == 0) +{ +v___x_24709_ = v___x_24706_; +v_isShared_24710_ = v_isSharedCheck_24714_; +goto v_resetjp_24708_; +} +else +{ +lean_inc(v_a_24707_); +lean_dec(v___x_24706_); +v___x_24709_ = lean_box(0); +v_isShared_24710_ = v_isSharedCheck_24714_; +goto v_resetjp_24708_; +} +v_resetjp_24708_: +{ +lean_object* v___x_24712_; +if (v_isShared_24710_ == 0) +{ +v___x_24712_ = v___x_24709_; +goto v_reusejp_24711_; +} +else +{ +lean_object* v_reuseFailAlloc_24713_; +v_reuseFailAlloc_24713_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24713_, 0, v_a_24707_); +v___x_24712_ = v_reuseFailAlloc_24713_; +goto v_reusejp_24711_; +} +v_reusejp_24711_: +{ +return v___x_24712_; } } } else { -uint8_t v___x_24675_; -lean_dec(v_val_24660_); -v___x_24675_ = 2; -v___y_24643_ = v___y_24654_; -v___y_24644_ = v___y_24655_; -v___y_24645_ = v___y_24657_; -v___y_24646_ = v___y_24656_; -v_visibility_24647_ = v___x_24675_; -v___y_24648_ = v___y_24588_; -v___y_24649_ = v___y_24589_; -goto v___jp_24642_; +uint8_t v___x_24715_; +lean_dec(v_val_24700_); +v___x_24715_ = 2; +v___y_24683_ = v___y_24694_; +v___y_24684_ = v___y_24697_; +v___y_24685_ = v___y_24695_; +v___y_24686_ = v___y_24696_; +v_visibility_24687_ = v___x_24715_; +v___y_24688_ = v___y_24628_; +v___y_24689_ = v___y_24629_; +goto v___jp_24682_; } } else { -uint8_t v___x_24676_; -lean_dec(v_val_24660_); -v___x_24676_ = 1; -v___y_24643_ = v___y_24654_; -v___y_24644_ = v___y_24655_; -v___y_24645_ = v___y_24657_; -v___y_24646_ = v___y_24656_; -v_visibility_24647_ = v___x_24676_; -v___y_24648_ = v___y_24588_; -v___y_24649_ = v___y_24589_; -goto v___jp_24642_; +uint8_t v___x_24716_; +lean_dec(v_val_24700_); +v___x_24716_ = 1; +v___y_24683_ = v___y_24694_; +v___y_24684_ = v___y_24697_; +v___y_24685_ = v___y_24695_; +v___y_24686_ = v___y_24696_; +v_visibility_24687_ = v___x_24716_; +v___y_24688_ = v___y_24628_; +v___y_24689_ = v___y_24629_; +goto v___jp_24682_; } } } -v___jp_24677_: +v___jp_24717_: { -lean_object* v___x_24681_; lean_object* v_scopes_24682_; lean_object* v___x_24683_; lean_object* v___x_24684_; lean_object* v_opts_24685_; lean_object* v___x_24686_; -v___x_24681_ = lean_st_ref_get(v___y_24589_); -v_scopes_24682_ = lean_ctor_get(v___x_24681_, 2); -lean_inc(v_scopes_24682_); -lean_dec(v___x_24681_); -v___x_24683_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_24684_ = l_List_head_x21___redArg(v___x_24683_, v_scopes_24682_); -lean_dec(v_scopes_24682_); -v_opts_24685_ = lean_ctor_get(v___x_24684_, 1); -lean_inc_ref(v_opts_24685_); -lean_dec(v___x_24684_); -v___x_24686_ = l_Lean_Syntax_getOptional_x3f(v_docCommentStx_24613_); -lean_dec(v_docCommentStx_24613_); -if (lean_obj_tag(v___x_24686_) == 0) +lean_object* v___x_24721_; lean_object* v_scopes_24722_; lean_object* v___x_24723_; lean_object* v___x_24724_; lean_object* v_opts_24725_; lean_object* v___x_24726_; +v___x_24721_ = lean_st_ref_get(v___y_24629_); +v_scopes_24722_ = lean_ctor_get(v___x_24721_, 2); +lean_inc(v_scopes_24722_); +lean_dec(v___x_24721_); +v___x_24723_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_24724_ = l_List_head_x21___redArg(v___x_24723_, v_scopes_24722_); +lean_dec(v_scopes_24722_); +v_opts_24725_ = lean_ctor_get(v___x_24724_, 1); +lean_inc_ref(v_opts_24725_); +lean_dec(v___x_24724_); +v___x_24726_ = l_Lean_Syntax_getOptional_x3f(v_docCommentStx_24653_); +lean_dec(v_docCommentStx_24653_); +if (lean_obj_tag(v___x_24726_) == 0) { -lean_object* v___x_24687_; -lean_dec_ref(v_opts_24685_); -v___x_24687_ = lean_box(0); -v___y_24654_ = v___y_24678_; -v___y_24655_ = v___y_24680_; -v___y_24656_ = v___y_24679_; -v___y_24657_ = v___x_24687_; -goto v___jp_24653_; +lean_object* v___x_24727_; +lean_dec_ref(v_opts_24725_); +v___x_24727_ = lean_box(0); +v___y_24694_ = v___y_24718_; +v___y_24695_ = v___y_24720_; +v___y_24696_ = v___y_24719_; +v___y_24697_ = v___x_24727_; +goto v___jp_24693_; } else { -lean_object* v_val_24688_; lean_object* v___x_24690_; uint8_t v_isShared_24691_; uint8_t v_isSharedCheck_24699_; -v_val_24688_ = lean_ctor_get(v___x_24686_, 0); -v_isSharedCheck_24699_ = !lean_is_exclusive(v___x_24686_); -if (v_isSharedCheck_24699_ == 0) +lean_object* v_val_24728_; lean_object* v___x_24730_; uint8_t v_isShared_24731_; uint8_t v_isSharedCheck_24739_; +v_val_24728_ = lean_ctor_get(v___x_24726_, 0); +v_isSharedCheck_24739_ = !lean_is_exclusive(v___x_24726_); +if (v_isSharedCheck_24739_ == 0) { -v___x_24690_ = v___x_24686_; -v_isShared_24691_ = v_isSharedCheck_24699_; -goto v_resetjp_24689_; +v___x_24730_ = v___x_24726_; +v_isShared_24731_ = v_isSharedCheck_24739_; +goto v_resetjp_24729_; } else { -lean_inc(v_val_24688_); -lean_dec(v___x_24686_); -v___x_24690_ = lean_box(0); -v_isShared_24691_ = v_isSharedCheck_24699_; -goto v_resetjp_24689_; +lean_inc(v_val_24728_); +lean_dec(v___x_24726_); +v___x_24730_ = lean_box(0); +v_isShared_24731_ = v_isSharedCheck_24739_; +goto v_resetjp_24729_; } -v_resetjp_24689_: +v_resetjp_24729_: { -lean_object* v___x_24692_; uint8_t v___x_24693_; lean_object* v___x_24694_; lean_object* v___x_24695_; lean_object* v___x_24697_; -v___x_24692_ = l_Lean_doc_verso; -v___x_24693_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_24685_, v___x_24692_); -lean_dec_ref(v_opts_24685_); -v___x_24694_ = lean_box(v___x_24693_); -v___x_24695_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24695_, 0, v_val_24688_); -lean_ctor_set(v___x_24695_, 1, v___x_24694_); -if (v_isShared_24691_ == 0) +lean_object* v___x_24732_; uint8_t v___x_24733_; lean_object* v___x_24734_; lean_object* v___x_24735_; lean_object* v___x_24737_; +v___x_24732_ = l_Lean_doc_verso; +v___x_24733_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers_spec__0_spec__1_spec__2(v_opts_24725_, v___x_24732_); +lean_dec_ref(v_opts_24725_); +v___x_24734_ = lean_box(v___x_24733_); +v___x_24735_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24735_, 0, v_val_24728_); +lean_ctor_set(v___x_24735_, 1, v___x_24734_); +if (v_isShared_24731_ == 0) { -lean_ctor_set(v___x_24690_, 0, v___x_24695_); -v___x_24697_ = v___x_24690_; -goto v_reusejp_24696_; +lean_ctor_set(v___x_24730_, 0, v___x_24735_); +v___x_24737_ = v___x_24730_; +goto v_reusejp_24736_; } else { -lean_object* v_reuseFailAlloc_24698_; -v_reuseFailAlloc_24698_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24698_, 0, v___x_24695_); -v___x_24697_ = v_reuseFailAlloc_24698_; -goto v_reusejp_24696_; +lean_object* v_reuseFailAlloc_24738_; +v_reuseFailAlloc_24738_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24738_, 0, v___x_24735_); +v___x_24737_ = v_reuseFailAlloc_24738_; +goto v_reusejp_24736_; } -v_reusejp_24696_: +v_reusejp_24736_: { -v___y_24654_ = v___y_24678_; -v___y_24655_ = v___y_24680_; -v___y_24656_ = v___y_24679_; -v___y_24657_ = v___x_24697_; -goto v___jp_24653_; +v___y_24694_ = v___y_24718_; +v___y_24695_ = v___y_24720_; +v___y_24696_ = v___y_24719_; +v___y_24697_ = v___x_24737_; +goto v___jp_24693_; } } } } -v___jp_24700_: +v___jp_24740_: { -lean_object* v___x_24702_; lean_object* v_unsafeStx_24703_; lean_object* v___x_24704_; lean_object* v___x_24705_; uint8_t v___x_24706_; -v___x_24702_ = lean_unsigned_to_nat(5u); -v_unsafeStx_24703_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24702_); -v___x_24704_ = lean_unsigned_to_nat(6u); -v___x_24705_ = l_Lean_Syntax_getArg(v_stx_24587_, v___x_24704_); -v___x_24706_ = l_Lean_Syntax_isNone(v___x_24705_); -if (v___x_24706_ == 0) +lean_object* v___x_24742_; lean_object* v_unsafeStx_24743_; lean_object* v___x_24744_; lean_object* v___x_24745_; uint8_t v___x_24746_; +v___x_24742_ = lean_unsigned_to_nat(5u); +v_unsafeStx_24743_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24742_); +v___x_24744_ = lean_unsigned_to_nat(6u); +v___x_24745_ = l_Lean_Syntax_getArg(v_stx_24627_, v___x_24744_); +v___x_24746_ = l_Lean_Syntax_isNone(v___x_24745_); +if (v___x_24746_ == 0) { -lean_object* v___x_24707_; lean_object* v___x_24708_; lean_object* v___x_24709_; uint8_t v___x_24710_; -v___x_24707_ = l_Lean_Syntax_getArg(v___x_24705_, v___x_24612_); -lean_dec(v___x_24705_); -v___x_24708_ = l_Lean_Syntax_getKind(v___x_24707_); -v___x_24709_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__5)); -v___x_24710_ = lean_name_eq(v___x_24708_, v___x_24709_); -lean_dec(v___x_24708_); -if (v___x_24710_ == 0) +lean_object* v___x_24747_; lean_object* v___x_24748_; lean_object* v___x_24749_; uint8_t v___x_24750_; +v___x_24747_ = l_Lean_Syntax_getArg(v___x_24745_, v___x_24652_); +lean_dec(v___x_24745_); +v___x_24748_ = l_Lean_Syntax_getKind(v___x_24747_); +v___x_24749_ = ((lean_object*)(l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___closed__5)); +v___x_24750_ = lean_name_eq(v___x_24748_, v___x_24749_); +lean_dec(v___x_24748_); +if (v___x_24750_ == 0) { -uint8_t v___x_24711_; -v___x_24711_ = 1; -v___y_24678_ = v_unsafeStx_24703_; -v___y_24679_ = v___y_24701_; -v___y_24680_ = v___x_24711_; -goto v___jp_24677_; +uint8_t v___x_24751_; +v___x_24751_ = 1; +v___y_24718_ = v_unsafeStx_24743_; +v___y_24719_ = v___y_24741_; +v___y_24720_ = v___x_24751_; +goto v___jp_24717_; } else { -uint8_t v___x_24712_; -v___x_24712_ = 0; -v___y_24678_ = v_unsafeStx_24703_; -v___y_24679_ = v___y_24701_; -v___y_24680_ = v___x_24712_; -goto v___jp_24677_; +uint8_t v___x_24752_; +v___x_24752_ = 0; +v___y_24718_ = v_unsafeStx_24743_; +v___y_24719_ = v___y_24741_; +v___y_24720_ = v___x_24752_; +goto v___jp_24717_; } } else { -uint8_t v___x_24713_; -lean_dec(v___x_24705_); -v___x_24713_ = 2; -v___y_24678_ = v_unsafeStx_24703_; -v___y_24679_ = v___y_24701_; -v___y_24680_ = v___x_24713_; -goto v___jp_24677_; +uint8_t v___x_24753_; +lean_dec(v___x_24745_); +v___x_24753_ = 2; +v___y_24718_ = v_unsafeStx_24743_; +v___y_24719_ = v___y_24741_; +v___y_24720_ = v___x_24753_; +goto v___jp_24717_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___boxed(lean_object* v_stx_24724_, lean_object* v___y_24725_, lean_object* v___y_24726_, lean_object* v___y_24727_){ +LEAN_EXPORT lean_object* l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4___boxed(lean_object* v_stx_24764_, lean_object* v___y_24765_, lean_object* v___y_24766_, lean_object* v___y_24767_){ _start: { -lean_object* v_res_24728_; -v_res_24728_ = l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(v_stx_24724_, v___y_24725_, v___y_24726_); -return v_res_24728_; +lean_object* v_res_24768_; +v_res_24768_ = l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(v_stx_24764_, v___y_24765_, v___y_24766_); +return v_res_24768_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2(void){ _start: { -lean_object* v___x_24731_; lean_object* v___x_24732_; -v___x_24731_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__1)); -v___x_24732_ = l_Lean_stringToMessageData(v___x_24731_); -return v___x_24732_; +lean_object* v___x_24771_; lean_object* v___x_24772_; +v___x_24771_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__1)); +v___x_24772_ = l_Lean_stringToMessageData(v___x_24771_); +return v___x_24772_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(lean_object* v_upperBound_24733_, lean_object* v_ds_24734_, lean_object* v___x_24735_, lean_object* v___x_24736_, lean_object* v___x_24737_, lean_object* v_a_24738_, lean_object* v_b_24739_, lean_object* v___y_24740_, lean_object* v___y_24741_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(lean_object* v_upperBound_24773_, lean_object* v_ds_24774_, lean_object* v___x_24775_, lean_object* v___x_24776_, lean_object* v___x_24777_, lean_object* v_a_24778_, lean_object* v_b_24779_, lean_object* v___y_24780_, lean_object* v___y_24781_){ _start: { -lean_object* v___y_24744_; uint8_t v___x_24766_; -v___x_24766_ = lean_nat_dec_lt(v_a_24738_, v_upperBound_24733_); -if (v___x_24766_ == 0) +lean_object* v___y_24784_; uint8_t v___x_24806_; +v___x_24806_ = lean_nat_dec_lt(v_a_24778_, v_upperBound_24773_); +if (v___x_24806_ == 0) { -lean_object* v___x_24767_; -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -v___x_24767_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24767_, 0, v_b_24739_); -return v___x_24767_; +lean_object* v___x_24807_; +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +v___x_24807_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24807_, 0, v_b_24779_); +return v___x_24807_; } else { -lean_object* v_snd_24768_; lean_object* v_snd_24769_; lean_object* v_snd_24770_; lean_object* v_fst_24771_; lean_object* v___x_24773_; uint8_t v_isShared_24774_; uint8_t v_isSharedCheck_24850_; -v_snd_24768_ = lean_ctor_get(v_b_24739_, 1); -lean_inc(v_snd_24768_); -v_snd_24769_ = lean_ctor_get(v_snd_24768_, 1); -lean_inc(v_snd_24769_); -v_snd_24770_ = lean_ctor_get(v_snd_24769_, 1); -lean_inc(v_snd_24770_); -v_fst_24771_ = lean_ctor_get(v_b_24739_, 0); -v_isSharedCheck_24850_ = !lean_is_exclusive(v_b_24739_); -if (v_isSharedCheck_24850_ == 0) +lean_object* v_snd_24808_; lean_object* v_snd_24809_; lean_object* v_snd_24810_; lean_object* v_fst_24811_; lean_object* v___x_24813_; uint8_t v_isShared_24814_; uint8_t v_isSharedCheck_24890_; +v_snd_24808_ = lean_ctor_get(v_b_24779_, 1); +lean_inc(v_snd_24808_); +v_snd_24809_ = lean_ctor_get(v_snd_24808_, 1); +lean_inc(v_snd_24809_); +v_snd_24810_ = lean_ctor_get(v_snd_24809_, 1); +lean_inc(v_snd_24810_); +v_fst_24811_ = lean_ctor_get(v_b_24779_, 0); +v_isSharedCheck_24890_ = !lean_is_exclusive(v_b_24779_); +if (v_isSharedCheck_24890_ == 0) { -lean_object* v_unused_24851_; -v_unused_24851_ = lean_ctor_get(v_b_24739_, 1); -lean_dec(v_unused_24851_); -v___x_24773_ = v_b_24739_; -v_isShared_24774_ = v_isSharedCheck_24850_; -goto v_resetjp_24772_; +lean_object* v_unused_24891_; +v_unused_24891_ = lean_ctor_get(v_b_24779_, 1); +lean_dec(v_unused_24891_); +v___x_24813_ = v_b_24779_; +v_isShared_24814_ = v_isSharedCheck_24890_; +goto v_resetjp_24812_; } else { -lean_inc(v_fst_24771_); -lean_dec(v_b_24739_); -v___x_24773_ = lean_box(0); -v_isShared_24774_ = v_isSharedCheck_24850_; -goto v_resetjp_24772_; +lean_inc(v_fst_24811_); +lean_dec(v_b_24779_); +v___x_24813_ = lean_box(0); +v_isShared_24814_ = v_isSharedCheck_24890_; +goto v_resetjp_24812_; } -v_resetjp_24772_: +v_resetjp_24812_: { -lean_object* v_fst_24775_; lean_object* v___x_24777_; uint8_t v_isShared_24778_; uint8_t v_isSharedCheck_24848_; -v_fst_24775_ = lean_ctor_get(v_snd_24768_, 0); -v_isSharedCheck_24848_ = !lean_is_exclusive(v_snd_24768_); -if (v_isSharedCheck_24848_ == 0) +lean_object* v_fst_24815_; lean_object* v___x_24817_; uint8_t v_isShared_24818_; uint8_t v_isSharedCheck_24888_; +v_fst_24815_ = lean_ctor_get(v_snd_24808_, 0); +v_isSharedCheck_24888_ = !lean_is_exclusive(v_snd_24808_); +if (v_isSharedCheck_24888_ == 0) { -lean_object* v_unused_24849_; -v_unused_24849_ = lean_ctor_get(v_snd_24768_, 1); -lean_dec(v_unused_24849_); -v___x_24777_ = v_snd_24768_; -v_isShared_24778_ = v_isSharedCheck_24848_; -goto v_resetjp_24776_; +lean_object* v_unused_24889_; +v_unused_24889_ = lean_ctor_get(v_snd_24808_, 1); +lean_dec(v_unused_24889_); +v___x_24817_ = v_snd_24808_; +v_isShared_24818_ = v_isSharedCheck_24888_; +goto v_resetjp_24816_; } else { -lean_inc(v_fst_24775_); -lean_dec(v_snd_24768_); -v___x_24777_ = lean_box(0); -v_isShared_24778_ = v_isSharedCheck_24848_; -goto v_resetjp_24776_; -} -v_resetjp_24776_: -{ -lean_object* v_fst_24779_; lean_object* v___x_24781_; uint8_t v_isShared_24782_; uint8_t v_isSharedCheck_24846_; -v_fst_24779_ = lean_ctor_get(v_snd_24769_, 0); -v_isSharedCheck_24846_ = !lean_is_exclusive(v_snd_24769_); -if (v_isSharedCheck_24846_ == 0) -{ -lean_object* v_unused_24847_; -v_unused_24847_ = lean_ctor_get(v_snd_24769_, 1); -lean_dec(v_unused_24847_); -v___x_24781_ = v_snd_24769_; -v_isShared_24782_ = v_isSharedCheck_24846_; -goto v_resetjp_24780_; -} -else -{ -lean_inc(v_fst_24779_); -lean_dec(v_snd_24769_); -v___x_24781_ = lean_box(0); -v_isShared_24782_ = v_isSharedCheck_24846_; -goto v_resetjp_24780_; -} -v_resetjp_24780_: -{ -lean_object* v_array_24783_; lean_object* v_start_24784_; lean_object* v_stop_24785_; uint8_t v___x_24786_; -v_array_24783_ = lean_ctor_get(v_snd_24770_, 0); -v_start_24784_ = lean_ctor_get(v_snd_24770_, 1); -v_stop_24785_ = lean_ctor_get(v_snd_24770_, 2); -v___x_24786_ = lean_nat_dec_lt(v_start_24784_, v_stop_24785_); -if (v___x_24786_ == 0) -{ -lean_object* v___x_24788_; -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -if (v_isShared_24782_ == 0) -{ -v___x_24788_ = v___x_24781_; -goto v_reusejp_24787_; -} -else -{ -lean_object* v_reuseFailAlloc_24796_; -v_reuseFailAlloc_24796_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24796_, 0, v_fst_24779_); -lean_ctor_set(v_reuseFailAlloc_24796_, 1, v_snd_24770_); -v___x_24788_ = v_reuseFailAlloc_24796_; -goto v_reusejp_24787_; -} -v_reusejp_24787_: -{ -lean_object* v___x_24790_; -if (v_isShared_24778_ == 0) -{ -lean_ctor_set(v___x_24777_, 1, v___x_24788_); -v___x_24790_ = v___x_24777_; -goto v_reusejp_24789_; -} -else -{ -lean_object* v_reuseFailAlloc_24795_; -v_reuseFailAlloc_24795_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24795_, 0, v_fst_24775_); -lean_ctor_set(v_reuseFailAlloc_24795_, 1, v___x_24788_); -v___x_24790_ = v_reuseFailAlloc_24795_; -goto v_reusejp_24789_; -} -v_reusejp_24789_: -{ -lean_object* v___x_24792_; -if (v_isShared_24774_ == 0) -{ -lean_ctor_set(v___x_24773_, 1, v___x_24790_); -v___x_24792_ = v___x_24773_; -goto v_reusejp_24791_; -} -else -{ -lean_object* v_reuseFailAlloc_24794_; -v_reuseFailAlloc_24794_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24794_, 0, v_fst_24771_); -lean_ctor_set(v_reuseFailAlloc_24794_, 1, v___x_24790_); -v___x_24792_ = v_reuseFailAlloc_24794_; -goto v_reusejp_24791_; -} -v_reusejp_24791_: -{ -lean_object* v___x_24793_; -v___x_24793_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_24793_, 0, v___x_24792_); -return v___x_24793_; -} -} -} -} -else -{ -lean_object* v___x_24798_; uint8_t v_isShared_24799_; uint8_t v_isSharedCheck_24842_; -lean_inc(v_stop_24785_); -lean_inc(v_start_24784_); -lean_inc_ref(v_array_24783_); -lean_del_object(v___x_24781_); -lean_del_object(v___x_24777_); -lean_del_object(v___x_24773_); -v_isSharedCheck_24842_ = !lean_is_exclusive(v_snd_24770_); -if (v_isSharedCheck_24842_ == 0) -{ -lean_object* v_unused_24843_; lean_object* v_unused_24844_; lean_object* v_unused_24845_; -v_unused_24843_ = lean_ctor_get(v_snd_24770_, 2); -lean_dec(v_unused_24843_); -v_unused_24844_ = lean_ctor_get(v_snd_24770_, 1); -lean_dec(v_unused_24844_); -v_unused_24845_ = lean_ctor_get(v_snd_24770_, 0); -lean_dec(v_unused_24845_); -v___x_24798_ = v_snd_24770_; -v_isShared_24799_ = v_isSharedCheck_24842_; -goto v_resetjp_24797_; -} -else -{ -lean_dec(v_snd_24770_); -v___x_24798_ = lean_box(0); -v_isShared_24799_ = v_isSharedCheck_24842_; -goto v_resetjp_24797_; -} -v_resetjp_24797_: -{ -lean_object* v___x_24800_; lean_object* v___x_24801_; lean_object* v___x_24802_; lean_object* v___x_24803_; -v___x_24800_ = lean_array_fget_borrowed(v_ds_24734_, v_a_24738_); -v___x_24801_ = lean_unsigned_to_nat(0u); -v___x_24802_ = l_Lean_Syntax_getArg(v___x_24800_, v___x_24801_); -lean_inc(v___y_24741_); -lean_inc_ref(v___y_24740_); -lean_inc(v___x_24802_); -v___x_24803_ = l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(v___x_24802_, v___y_24740_, v___y_24741_); -if (lean_obj_tag(v___x_24803_) == 0) -{ -lean_object* v_a_24804_; lean_object* v___f_24805_; lean_object* v___x_24806_; lean_object* v___x_24807_; lean_object* v___x_24808_; lean_object* v___x_24809_; lean_object* v___x_24810_; lean_object* v___x_24811_; lean_object* v___x_24812_; lean_object* v___x_24814_; -v_a_24804_ = lean_ctor_get(v___x_24803_, 0); -lean_inc(v_a_24804_); -lean_dec_ref(v___x_24803_); -v___f_24805_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__0)); -v___x_24806_ = l_Lean_Elab_instImpl_00___x40_Lean_Elab_DefView_2042677648____hygCtx___hyg_20_; -v___x_24807_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__5_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); -v___x_24808_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__0)); -v___x_24809_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1)); -v___x_24810_ = lean_array_fget(v_array_24783_, v_start_24784_); -v___x_24811_ = lean_unsigned_to_nat(1u); -v___x_24812_ = lean_nat_add(v_start_24784_, v___x_24811_); -lean_dec(v_start_24784_); -if (v_isShared_24799_ == 0) -{ -lean_ctor_set(v___x_24798_, 1, v___x_24812_); -v___x_24814_ = v___x_24798_; -goto v_reusejp_24813_; -} -else -{ -lean_object* v_reuseFailAlloc_24833_; -v_reuseFailAlloc_24833_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_24833_, 0, v_array_24783_); -lean_ctor_set(v_reuseFailAlloc_24833_, 1, v___x_24812_); -lean_ctor_set(v_reuseFailAlloc_24833_, 2, v_stop_24785_); -v___x_24814_ = v_reuseFailAlloc_24833_; -goto v_reusejp_24813_; -} -v_reusejp_24813_: -{ -uint8_t v___y_24816_; uint8_t v___x_24831_; -v___x_24831_ = lean_nat_dec_lt(v___x_24811_, v___x_24737_); -if (v___x_24831_ == 0) -{ -v___y_24816_ = v___x_24831_; -goto v___jp_24815_; -} -else -{ -uint8_t v___x_24832_; -v___x_24832_ = l_Lean_Elab_Modifiers_isNonrec(v_a_24804_); -v___y_24816_ = v___x_24832_; -goto v___jp_24815_; -} -v___jp_24815_: -{ -if (v___y_24816_ == 0) -{ -lean_object* v___x_24817_; lean_object* v___x_24818_; +lean_inc(v_fst_24815_); +lean_dec(v_snd_24808_); v___x_24817_ = lean_box(0); -lean_inc(v___y_24741_); -lean_inc_ref(v___y_24740_); -lean_inc(v___x_24735_); -lean_inc(v___x_24800_); -v___x_24818_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_24804_, v___x_24800_, v___x_24811_, v_fst_24771_, v___x_24814_, v___x_24810_, v___f_24805_, v___x_24801_, v___x_24786_, v_fst_24775_, v_fst_24779_, v___x_24735_, v___x_24802_, v___x_24806_, v_a_24738_, v___x_24736_, v___x_24807_, v___x_24808_, v___x_24809_, v___x_24817_, v___y_24740_, v___y_24741_); -lean_dec(v_fst_24779_); -v___y_24744_ = v___x_24818_; -goto v___jp_24743_; +v_isShared_24818_ = v_isSharedCheck_24888_; +goto v_resetjp_24816_; +} +v_resetjp_24816_: +{ +lean_object* v_fst_24819_; lean_object* v___x_24821_; uint8_t v_isShared_24822_; uint8_t v_isSharedCheck_24886_; +v_fst_24819_ = lean_ctor_get(v_snd_24809_, 0); +v_isSharedCheck_24886_ = !lean_is_exclusive(v_snd_24809_); +if (v_isSharedCheck_24886_ == 0) +{ +lean_object* v_unused_24887_; +v_unused_24887_ = lean_ctor_get(v_snd_24809_, 1); +lean_dec(v_unused_24887_); +v___x_24821_ = v_snd_24809_; +v_isShared_24822_ = v_isSharedCheck_24886_; +goto v_resetjp_24820_; } else { -lean_object* v___x_24819_; lean_object* v___x_24820_; -v___x_24819_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2); -lean_inc_ref(v___y_24740_); -v___x_24820_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v___x_24800_, v___x_24819_, v___y_24740_, v___y_24741_); -if (lean_obj_tag(v___x_24820_) == 0) -{ -lean_object* v_a_24821_; lean_object* v___x_24822_; -v_a_24821_ = lean_ctor_get(v___x_24820_, 0); -lean_inc(v_a_24821_); -lean_dec_ref(v___x_24820_); -lean_inc(v___y_24741_); -lean_inc_ref(v___y_24740_); -lean_inc(v___x_24735_); -lean_inc(v___x_24800_); -v___x_24822_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_24804_, v___x_24800_, v___x_24811_, v_fst_24771_, v___x_24814_, v___x_24810_, v___f_24805_, v___x_24801_, v___x_24786_, v_fst_24775_, v_fst_24779_, v___x_24735_, v___x_24802_, v___x_24806_, v_a_24738_, v___x_24736_, v___x_24807_, v___x_24808_, v___x_24809_, v_a_24821_, v___y_24740_, v___y_24741_); -lean_dec(v_fst_24779_); -v___y_24744_ = v___x_24822_; -goto v___jp_24743_; +lean_inc(v_fst_24819_); +lean_dec(v_snd_24809_); +v___x_24821_ = lean_box(0); +v_isShared_24822_ = v_isSharedCheck_24886_; +goto v_resetjp_24820_; } -else +v_resetjp_24820_: { -lean_object* v_a_24823_; lean_object* v___x_24825_; uint8_t v_isShared_24826_; uint8_t v_isSharedCheck_24830_; -lean_dec_ref(v___x_24814_); -lean_dec(v___x_24810_); -lean_dec(v_a_24804_); -lean_dec(v___x_24802_); -lean_dec(v_fst_24779_); -lean_dec(v_fst_24775_); -lean_dec(v_fst_24771_); -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -v_a_24823_ = lean_ctor_get(v___x_24820_, 0); -v_isSharedCheck_24830_ = !lean_is_exclusive(v___x_24820_); -if (v_isSharedCheck_24830_ == 0) -{ -v___x_24825_ = v___x_24820_; -v_isShared_24826_ = v_isSharedCheck_24830_; -goto v_resetjp_24824_; -} -else -{ -lean_inc(v_a_24823_); -lean_dec(v___x_24820_); -v___x_24825_ = lean_box(0); -v_isShared_24826_ = v_isSharedCheck_24830_; -goto v_resetjp_24824_; -} -v_resetjp_24824_: +lean_object* v_array_24823_; lean_object* v_start_24824_; lean_object* v_stop_24825_; uint8_t v___x_24826_; +v_array_24823_ = lean_ctor_get(v_snd_24810_, 0); +v_start_24824_ = lean_ctor_get(v_snd_24810_, 1); +v_stop_24825_ = lean_ctor_get(v_snd_24810_, 2); +v___x_24826_ = lean_nat_dec_lt(v_start_24824_, v_stop_24825_); +if (v___x_24826_ == 0) { lean_object* v___x_24828_; -if (v_isShared_24826_ == 0) +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +if (v_isShared_24822_ == 0) { -v___x_24828_ = v___x_24825_; +v___x_24828_ = v___x_24821_; goto v_reusejp_24827_; } else { -lean_object* v_reuseFailAlloc_24829_; -v_reuseFailAlloc_24829_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24829_, 0, v_a_24823_); -v___x_24828_ = v_reuseFailAlloc_24829_; +lean_object* v_reuseFailAlloc_24836_; +v_reuseFailAlloc_24836_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_24836_, 0, v_fst_24819_); +lean_ctor_set(v_reuseFailAlloc_24836_, 1, v_snd_24810_); +v___x_24828_ = v_reuseFailAlloc_24836_; goto v_reusejp_24827_; } v_reusejp_24827_: { -return v___x_24828_; +lean_object* v___x_24830_; +if (v_isShared_24818_ == 0) +{ +lean_ctor_set(v___x_24817_, 1, v___x_24828_); +v___x_24830_ = v___x_24817_; +goto v_reusejp_24829_; +} +else +{ +lean_object* v_reuseFailAlloc_24835_; +v_reuseFailAlloc_24835_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_24835_, 0, v_fst_24815_); +lean_ctor_set(v_reuseFailAlloc_24835_, 1, v___x_24828_); +v___x_24830_ = v_reuseFailAlloc_24835_; +goto v_reusejp_24829_; +} +v_reusejp_24829_: +{ +lean_object* v___x_24832_; +if (v_isShared_24814_ == 0) +{ +lean_ctor_set(v___x_24813_, 1, v___x_24830_); +v___x_24832_ = v___x_24813_; +goto v_reusejp_24831_; +} +else +{ +lean_object* v_reuseFailAlloc_24834_; +v_reuseFailAlloc_24834_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_24834_, 0, v_fst_24811_); +lean_ctor_set(v_reuseFailAlloc_24834_, 1, v___x_24830_); +v___x_24832_ = v_reuseFailAlloc_24834_; +goto v_reusejp_24831_; +} +v_reusejp_24831_: +{ +lean_object* v___x_24833_; +v___x_24833_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_24833_, 0, v___x_24832_); +return v___x_24833_; +} +} +} +} +else +{ +lean_object* v___x_24838_; uint8_t v_isShared_24839_; uint8_t v_isSharedCheck_24882_; +lean_inc(v_stop_24825_); +lean_inc(v_start_24824_); +lean_inc_ref(v_array_24823_); +lean_del_object(v___x_24821_); +lean_del_object(v___x_24817_); +lean_del_object(v___x_24813_); +v_isSharedCheck_24882_ = !lean_is_exclusive(v_snd_24810_); +if (v_isSharedCheck_24882_ == 0) +{ +lean_object* v_unused_24883_; lean_object* v_unused_24884_; lean_object* v_unused_24885_; +v_unused_24883_ = lean_ctor_get(v_snd_24810_, 2); +lean_dec(v_unused_24883_); +v_unused_24884_ = lean_ctor_get(v_snd_24810_, 1); +lean_dec(v_unused_24884_); +v_unused_24885_ = lean_ctor_get(v_snd_24810_, 0); +lean_dec(v_unused_24885_); +v___x_24838_ = v_snd_24810_; +v_isShared_24839_ = v_isSharedCheck_24882_; +goto v_resetjp_24837_; +} +else +{ +lean_dec(v_snd_24810_); +v___x_24838_ = lean_box(0); +v_isShared_24839_ = v_isSharedCheck_24882_; +goto v_resetjp_24837_; +} +v_resetjp_24837_: +{ +lean_object* v___x_24840_; lean_object* v___x_24841_; lean_object* v___x_24842_; lean_object* v___x_24843_; +v___x_24840_ = lean_array_fget_borrowed(v_ds_24774_, v_a_24778_); +v___x_24841_ = lean_unsigned_to_nat(0u); +v___x_24842_ = l_Lean_Syntax_getArg(v___x_24840_, v___x_24841_); +lean_inc(v___y_24781_); +lean_inc_ref(v___y_24780_); +lean_inc(v___x_24842_); +v___x_24843_ = l_Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4(v___x_24842_, v___y_24780_, v___y_24781_); +if (lean_obj_tag(v___x_24843_) == 0) +{ +lean_object* v_a_24844_; lean_object* v___f_24845_; lean_object* v___x_24846_; lean_object* v___x_24847_; lean_object* v___x_24848_; lean_object* v___x_24849_; lean_object* v___x_24850_; lean_object* v___x_24851_; lean_object* v___x_24852_; lean_object* v___x_24854_; +v_a_24844_ = lean_ctor_get(v___x_24843_, 0); +lean_inc(v_a_24844_); +lean_dec_ref(v___x_24843_); +v___f_24845_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__0)); +v___x_24846_ = l_Lean_Elab_instImpl_00___x40_Lean_Elab_DefView_2042677648____hygCtx___hyg_20_; +v___x_24847_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__5_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); +v___x_24848_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__0)); +v___x_24849_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_getBodyTerm_x3f___closed__1)); +v___x_24850_ = lean_array_fget(v_array_24823_, v_start_24824_); +v___x_24851_ = lean_unsigned_to_nat(1u); +v___x_24852_ = lean_nat_add(v_start_24824_, v___x_24851_); +lean_dec(v_start_24824_); +if (v_isShared_24839_ == 0) +{ +lean_ctor_set(v___x_24838_, 1, v___x_24852_); +v___x_24854_ = v___x_24838_; +goto v_reusejp_24853_; +} +else +{ +lean_object* v_reuseFailAlloc_24873_; +v_reuseFailAlloc_24873_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_24873_, 0, v_array_24823_); +lean_ctor_set(v_reuseFailAlloc_24873_, 1, v___x_24852_); +lean_ctor_set(v_reuseFailAlloc_24873_, 2, v_stop_24825_); +v___x_24854_ = v_reuseFailAlloc_24873_; +goto v_reusejp_24853_; +} +v_reusejp_24853_: +{ +uint8_t v___y_24856_; uint8_t v___x_24871_; +v___x_24871_ = lean_nat_dec_lt(v___x_24851_, v___x_24777_); +if (v___x_24871_ == 0) +{ +v___y_24856_ = v___x_24871_; +goto v___jp_24855_; +} +else +{ +uint8_t v___x_24872_; +v___x_24872_ = l_Lean_Elab_Modifiers_isNonrec(v_a_24844_); +v___y_24856_ = v___x_24872_; +goto v___jp_24855_; +} +v___jp_24855_: +{ +if (v___y_24856_ == 0) +{ +lean_object* v___x_24857_; lean_object* v___x_24858_; +v___x_24857_ = lean_box(0); +lean_inc(v___y_24781_); +lean_inc_ref(v___y_24780_); +lean_inc(v___x_24775_); +lean_inc(v___x_24840_); +v___x_24858_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_24844_, v___x_24840_, v___x_24851_, v_fst_24811_, v___x_24854_, v___x_24850_, v___f_24845_, v___x_24841_, v___x_24826_, v_fst_24815_, v_fst_24819_, v___x_24775_, v___x_24842_, v___x_24846_, v_a_24778_, v___x_24776_, v___x_24847_, v___x_24848_, v___x_24849_, v___x_24857_, v___y_24780_, v___y_24781_); +lean_dec(v_fst_24819_); +v___y_24784_ = v___x_24858_; +goto v___jp_24783_; +} +else +{ +lean_object* v___x_24859_; lean_object* v___x_24860_; +v___x_24859_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___closed__2); +lean_inc_ref(v___y_24780_); +v___x_24860_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v___x_24840_, v___x_24859_, v___y_24780_, v___y_24781_); +if (lean_obj_tag(v___x_24860_) == 0) +{ +lean_object* v_a_24861_; lean_object* v___x_24862_; +v_a_24861_ = lean_ctor_get(v___x_24860_, 0); +lean_inc(v_a_24861_); +lean_dec_ref(v___x_24860_); +lean_inc(v___y_24781_); +lean_inc_ref(v___y_24780_); +lean_inc(v___x_24775_); +lean_inc(v___x_24840_); +v___x_24862_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___lam__1(v_a_24844_, v___x_24840_, v___x_24851_, v_fst_24811_, v___x_24854_, v___x_24850_, v___f_24845_, v___x_24841_, v___x_24826_, v_fst_24815_, v_fst_24819_, v___x_24775_, v___x_24842_, v___x_24846_, v_a_24778_, v___x_24776_, v___x_24847_, v___x_24848_, v___x_24849_, v_a_24861_, v___y_24780_, v___y_24781_); +lean_dec(v_fst_24819_); +v___y_24784_ = v___x_24862_; +goto v___jp_24783_; +} +else +{ +lean_object* v_a_24863_; lean_object* v___x_24865_; uint8_t v_isShared_24866_; uint8_t v_isSharedCheck_24870_; +lean_dec_ref(v___x_24854_); +lean_dec(v___x_24850_); +lean_dec(v_a_24844_); +lean_dec(v___x_24842_); +lean_dec(v_fst_24819_); +lean_dec(v_fst_24815_); +lean_dec(v_fst_24811_); +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +v_a_24863_ = lean_ctor_get(v___x_24860_, 0); +v_isSharedCheck_24870_ = !lean_is_exclusive(v___x_24860_); +if (v_isSharedCheck_24870_ == 0) +{ +v___x_24865_ = v___x_24860_; +v_isShared_24866_ = v_isSharedCheck_24870_; +goto v_resetjp_24864_; +} +else +{ +lean_inc(v_a_24863_); +lean_dec(v___x_24860_); +v___x_24865_ = lean_box(0); +v_isShared_24866_ = v_isSharedCheck_24870_; +goto v_resetjp_24864_; +} +v_resetjp_24864_: +{ +lean_object* v___x_24868_; +if (v_isShared_24866_ == 0) +{ +v___x_24868_ = v___x_24865_; +goto v_reusejp_24867_; +} +else +{ +lean_object* v_reuseFailAlloc_24869_; +v_reuseFailAlloc_24869_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24869_, 0, v_a_24863_); +v___x_24868_ = v_reuseFailAlloc_24869_; +goto v_reusejp_24867_; +} +v_reusejp_24867_: +{ +return v___x_24868_; } } } @@ -72014,54 +72169,54 @@ return v___x_24828_; } else { -lean_object* v_a_24834_; lean_object* v___x_24836_; uint8_t v_isShared_24837_; uint8_t v_isSharedCheck_24841_; -lean_dec(v___x_24802_); -lean_del_object(v___x_24798_); -lean_dec(v_stop_24785_); -lean_dec(v_start_24784_); -lean_dec_ref(v_array_24783_); -lean_dec(v_fst_24779_); -lean_dec(v_fst_24775_); -lean_dec(v_fst_24771_); -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -v_a_24834_ = lean_ctor_get(v___x_24803_, 0); -v_isSharedCheck_24841_ = !lean_is_exclusive(v___x_24803_); -if (v_isSharedCheck_24841_ == 0) +lean_object* v_a_24874_; lean_object* v___x_24876_; uint8_t v_isShared_24877_; uint8_t v_isSharedCheck_24881_; +lean_dec(v___x_24842_); +lean_del_object(v___x_24838_); +lean_dec(v_stop_24825_); +lean_dec(v_start_24824_); +lean_dec_ref(v_array_24823_); +lean_dec(v_fst_24819_); +lean_dec(v_fst_24815_); +lean_dec(v_fst_24811_); +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +v_a_24874_ = lean_ctor_get(v___x_24843_, 0); +v_isSharedCheck_24881_ = !lean_is_exclusive(v___x_24843_); +if (v_isSharedCheck_24881_ == 0) { -v___x_24836_ = v___x_24803_; -v_isShared_24837_ = v_isSharedCheck_24841_; -goto v_resetjp_24835_; +v___x_24876_ = v___x_24843_; +v_isShared_24877_ = v_isSharedCheck_24881_; +goto v_resetjp_24875_; } else { -lean_inc(v_a_24834_); -lean_dec(v___x_24803_); -v___x_24836_ = lean_box(0); -v_isShared_24837_ = v_isSharedCheck_24841_; -goto v_resetjp_24835_; +lean_inc(v_a_24874_); +lean_dec(v___x_24843_); +v___x_24876_ = lean_box(0); +v_isShared_24877_ = v_isSharedCheck_24881_; +goto v_resetjp_24875_; } -v_resetjp_24835_: +v_resetjp_24875_: { -lean_object* v___x_24839_; -if (v_isShared_24837_ == 0) +lean_object* v___x_24879_; +if (v_isShared_24877_ == 0) { -v___x_24839_ = v___x_24836_; -goto v_reusejp_24838_; +v___x_24879_ = v___x_24876_; +goto v_reusejp_24878_; } else { -lean_object* v_reuseFailAlloc_24840_; -v_reuseFailAlloc_24840_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24840_, 0, v_a_24834_); -v___x_24839_ = v_reuseFailAlloc_24840_; -goto v_reusejp_24838_; +lean_object* v_reuseFailAlloc_24880_; +v_reuseFailAlloc_24880_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24880_, 0, v_a_24874_); +v___x_24879_ = v_reuseFailAlloc_24880_; +goto v_reusejp_24878_; } -v_reusejp_24838_: +v_reusejp_24878_: { -return v___x_24839_; +return v___x_24879_; } } } @@ -72071,871 +72226,871 @@ return v___x_24839_; } } } -v___jp_24743_: +v___jp_24783_: { -if (lean_obj_tag(v___y_24744_) == 0) +if (lean_obj_tag(v___y_24784_) == 0) { -lean_object* v_a_24745_; lean_object* v___x_24747_; uint8_t v_isShared_24748_; uint8_t v_isSharedCheck_24757_; -v_a_24745_ = lean_ctor_get(v___y_24744_, 0); -v_isSharedCheck_24757_ = !lean_is_exclusive(v___y_24744_); -if (v_isSharedCheck_24757_ == 0) +lean_object* v_a_24785_; lean_object* v___x_24787_; uint8_t v_isShared_24788_; uint8_t v_isSharedCheck_24797_; +v_a_24785_ = lean_ctor_get(v___y_24784_, 0); +v_isSharedCheck_24797_ = !lean_is_exclusive(v___y_24784_); +if (v_isSharedCheck_24797_ == 0) { -v___x_24747_ = v___y_24744_; -v_isShared_24748_ = v_isSharedCheck_24757_; -goto v_resetjp_24746_; +v___x_24787_ = v___y_24784_; +v_isShared_24788_ = v_isSharedCheck_24797_; +goto v_resetjp_24786_; } else { -lean_inc(v_a_24745_); -lean_dec(v___y_24744_); -v___x_24747_ = lean_box(0); -v_isShared_24748_ = v_isSharedCheck_24757_; -goto v_resetjp_24746_; +lean_inc(v_a_24785_); +lean_dec(v___y_24784_); +v___x_24787_ = lean_box(0); +v_isShared_24788_ = v_isSharedCheck_24797_; +goto v_resetjp_24786_; } -v_resetjp_24746_: +v_resetjp_24786_: { -if (lean_obj_tag(v_a_24745_) == 0) +if (lean_obj_tag(v_a_24785_) == 0) { -lean_object* v_a_24749_; lean_object* v___x_24751_; -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -v_a_24749_ = lean_ctor_get(v_a_24745_, 0); -lean_inc(v_a_24749_); -lean_dec_ref(v_a_24745_); -if (v_isShared_24748_ == 0) +lean_object* v_a_24789_; lean_object* v___x_24791_; +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +v_a_24789_ = lean_ctor_get(v_a_24785_, 0); +lean_inc(v_a_24789_); +lean_dec_ref(v_a_24785_); +if (v_isShared_24788_ == 0) { -lean_ctor_set(v___x_24747_, 0, v_a_24749_); -v___x_24751_ = v___x_24747_; -goto v_reusejp_24750_; +lean_ctor_set(v___x_24787_, 0, v_a_24789_); +v___x_24791_ = v___x_24787_; +goto v_reusejp_24790_; } else { -lean_object* v_reuseFailAlloc_24752_; -v_reuseFailAlloc_24752_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24752_, 0, v_a_24749_); -v___x_24751_ = v_reuseFailAlloc_24752_; -goto v_reusejp_24750_; +lean_object* v_reuseFailAlloc_24792_; +v_reuseFailAlloc_24792_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24792_, 0, v_a_24789_); +v___x_24791_ = v_reuseFailAlloc_24792_; +goto v_reusejp_24790_; } -v_reusejp_24750_: +v_reusejp_24790_: { -return v___x_24751_; +return v___x_24791_; } } else { -lean_object* v_a_24753_; lean_object* v___x_24754_; lean_object* v___x_24755_; -lean_del_object(v___x_24747_); -v_a_24753_ = lean_ctor_get(v_a_24745_, 0); -lean_inc(v_a_24753_); -lean_dec_ref(v_a_24745_); -v___x_24754_ = lean_unsigned_to_nat(1u); -v___x_24755_ = lean_nat_add(v_a_24738_, v___x_24754_); -lean_dec(v_a_24738_); -v_a_24738_ = v___x_24755_; -v_b_24739_ = v_a_24753_; +lean_object* v_a_24793_; lean_object* v___x_24794_; lean_object* v___x_24795_; +lean_del_object(v___x_24787_); +v_a_24793_ = lean_ctor_get(v_a_24785_, 0); +lean_inc(v_a_24793_); +lean_dec_ref(v_a_24785_); +v___x_24794_ = lean_unsigned_to_nat(1u); +v___x_24795_ = lean_nat_add(v_a_24778_, v___x_24794_); +lean_dec(v_a_24778_); +v_a_24778_ = v___x_24795_; +v_b_24779_ = v_a_24793_; goto _start; } } } else { -lean_object* v_a_24758_; lean_object* v___x_24760_; uint8_t v_isShared_24761_; uint8_t v_isSharedCheck_24765_; -lean_dec(v___y_24741_); -lean_dec_ref(v___y_24740_); -lean_dec(v_a_24738_); -lean_dec(v___x_24735_); -v_a_24758_ = lean_ctor_get(v___y_24744_, 0); -v_isSharedCheck_24765_ = !lean_is_exclusive(v___y_24744_); -if (v_isSharedCheck_24765_ == 0) +lean_object* v_a_24798_; lean_object* v___x_24800_; uint8_t v_isShared_24801_; uint8_t v_isSharedCheck_24805_; +lean_dec(v___y_24781_); +lean_dec_ref(v___y_24780_); +lean_dec(v_a_24778_); +lean_dec(v___x_24775_); +v_a_24798_ = lean_ctor_get(v___y_24784_, 0); +v_isSharedCheck_24805_ = !lean_is_exclusive(v___y_24784_); +if (v_isSharedCheck_24805_ == 0) { -v___x_24760_ = v___y_24744_; -v_isShared_24761_ = v_isSharedCheck_24765_; -goto v_resetjp_24759_; +v___x_24800_ = v___y_24784_; +v_isShared_24801_ = v_isSharedCheck_24805_; +goto v_resetjp_24799_; } else { -lean_inc(v_a_24758_); -lean_dec(v___y_24744_); -v___x_24760_ = lean_box(0); -v_isShared_24761_ = v_isSharedCheck_24765_; -goto v_resetjp_24759_; +lean_inc(v_a_24798_); +lean_dec(v___y_24784_); +v___x_24800_ = lean_box(0); +v_isShared_24801_ = v_isSharedCheck_24805_; +goto v_resetjp_24799_; } -v_resetjp_24759_: +v_resetjp_24799_: { -lean_object* v___x_24763_; -if (v_isShared_24761_ == 0) +lean_object* v___x_24803_; +if (v_isShared_24801_ == 0) { -v___x_24763_ = v___x_24760_; -goto v_reusejp_24762_; +v___x_24803_ = v___x_24800_; +goto v_reusejp_24802_; } else { -lean_object* v_reuseFailAlloc_24764_; -v_reuseFailAlloc_24764_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24764_, 0, v_a_24758_); -v___x_24763_ = v_reuseFailAlloc_24764_; -goto v_reusejp_24762_; +lean_object* v_reuseFailAlloc_24804_; +v_reuseFailAlloc_24804_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_24804_, 0, v_a_24798_); +v___x_24803_ = v_reuseFailAlloc_24804_; +goto v_reusejp_24802_; } -v_reusejp_24762_: +v_reusejp_24802_: { -return v___x_24763_; +return v___x_24803_; } } } } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___boxed(lean_object* v_upperBound_24852_, lean_object* v_ds_24853_, lean_object* v___x_24854_, lean_object* v___x_24855_, lean_object* v___x_24856_, lean_object* v_a_24857_, lean_object* v_b_24858_, lean_object* v___y_24859_, lean_object* v___y_24860_, lean_object* v___y_24861_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg___boxed(lean_object* v_upperBound_24892_, lean_object* v_ds_24893_, lean_object* v___x_24894_, lean_object* v___x_24895_, lean_object* v___x_24896_, lean_object* v_a_24897_, lean_object* v_b_24898_, lean_object* v___y_24899_, lean_object* v___y_24900_, lean_object* v___y_24901_){ _start: { -lean_object* v_res_24862_; -v_res_24862_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v_upperBound_24852_, v_ds_24853_, v___x_24854_, v___x_24855_, v___x_24856_, v_a_24857_, v_b_24858_, v___y_24859_, v___y_24860_); -lean_dec(v___x_24856_); -lean_dec_ref(v___x_24855_); -lean_dec_ref(v_ds_24853_); -lean_dec(v_upperBound_24852_); -return v_res_24862_; +lean_object* v_res_24902_; +v_res_24902_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v_upperBound_24892_, v_ds_24893_, v___x_24894_, v___x_24895_, v___x_24896_, v_a_24897_, v_b_24898_, v___y_24899_, v___y_24900_); +lean_dec(v___x_24896_); +lean_dec_ref(v___x_24895_); +lean_dec_ref(v_ds_24893_); +lean_dec(v_upperBound_24892_); +return v_res_24902_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(size_t v_sz_24863_, size_t v_i_24864_, lean_object* v_bs_24865_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(size_t v_sz_24903_, size_t v_i_24904_, lean_object* v_bs_24905_){ _start: { -uint8_t v___x_24866_; -v___x_24866_ = lean_usize_dec_lt(v_i_24864_, v_sz_24863_); -if (v___x_24866_ == 0) +uint8_t v___x_24906_; +v___x_24906_ = lean_usize_dec_lt(v_i_24904_, v_sz_24903_); +if (v___x_24906_ == 0) { -return v_bs_24865_; +return v_bs_24905_; } else { -lean_object* v_v_24867_; lean_object* v_declId_24868_; lean_object* v___x_24869_; lean_object* v_bs_x27_24870_; lean_object* v___x_24871_; lean_object* v___x_24872_; size_t v___x_24873_; size_t v___x_24874_; lean_object* v___x_24875_; -v_v_24867_ = lean_array_uget_borrowed(v_bs_24865_, v_i_24864_); -v_declId_24868_ = lean_ctor_get(v_v_24867_, 3); -lean_inc(v_declId_24868_); -v___x_24869_ = lean_unsigned_to_nat(0u); -v_bs_x27_24870_ = lean_array_uset(v_bs_24865_, v_i_24864_, v___x_24869_); -v___x_24871_ = l_Lean_Syntax_getArg(v_declId_24868_, v___x_24869_); -lean_dec(v_declId_24868_); -v___x_24872_ = l_Lean_Syntax_getId(v___x_24871_); -lean_dec(v___x_24871_); -v___x_24873_ = ((size_t)1ULL); -v___x_24874_ = lean_usize_add(v_i_24864_, v___x_24873_); -v___x_24875_ = lean_array_uset(v_bs_x27_24870_, v_i_24864_, v___x_24872_); -v_i_24864_ = v___x_24874_; -v_bs_24865_ = v___x_24875_; +lean_object* v_v_24907_; lean_object* v_declId_24908_; lean_object* v___x_24909_; lean_object* v_bs_x27_24910_; lean_object* v___x_24911_; lean_object* v___x_24912_; size_t v___x_24913_; size_t v___x_24914_; lean_object* v___x_24915_; +v_v_24907_ = lean_array_uget_borrowed(v_bs_24905_, v_i_24904_); +v_declId_24908_ = lean_ctor_get(v_v_24907_, 3); +lean_inc(v_declId_24908_); +v___x_24909_ = lean_unsigned_to_nat(0u); +v_bs_x27_24910_ = lean_array_uset(v_bs_24905_, v_i_24904_, v___x_24909_); +v___x_24911_ = l_Lean_Syntax_getArg(v_declId_24908_, v___x_24909_); +lean_dec(v_declId_24908_); +v___x_24912_ = l_Lean_Syntax_getId(v___x_24911_); +lean_dec(v___x_24911_); +v___x_24913_ = ((size_t)1ULL); +v___x_24914_ = lean_usize_add(v_i_24904_, v___x_24913_); +v___x_24915_ = lean_array_uset(v_bs_x27_24910_, v_i_24904_, v___x_24912_); +v_i_24904_ = v___x_24914_; +v_bs_24905_ = v___x_24915_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1___boxed(lean_object* v_sz_24877_, lean_object* v_i_24878_, lean_object* v_bs_24879_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1___boxed(lean_object* v_sz_24917_, lean_object* v_i_24918_, lean_object* v_bs_24919_){ _start: { -size_t v_sz_boxed_24880_; size_t v_i_boxed_24881_; lean_object* v_res_24882_; -v_sz_boxed_24880_ = lean_unbox_usize(v_sz_24877_); -lean_dec(v_sz_24877_); -v_i_boxed_24881_ = lean_unbox_usize(v_i_24878_); -lean_dec(v_i_24878_); -v_res_24882_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(v_sz_boxed_24880_, v_i_boxed_24881_, v_bs_24879_); -return v_res_24882_; +size_t v_sz_boxed_24920_; size_t v_i_boxed_24921_; lean_object* v_res_24922_; +v_sz_boxed_24920_ = lean_unbox_usize(v_sz_24917_); +lean_dec(v_sz_24917_); +v_i_boxed_24921_ = lean_unbox_usize(v_i_24918_); +lean_dec(v_i_24918_); +v_res_24922_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(v_sz_boxed_24920_, v_i_boxed_24921_, v_bs_24919_); +return v_res_24922_; } } static lean_object* _init_l_Lean_Elab_Command_elabMutualDef___closed__3(void){ _start: { -uint8_t v___x_24891_; lean_object* v___x_24892_; lean_object* v___x_24893_; -v___x_24891_ = 1; -v___x_24892_ = ((lean_object*)(l_Lean_Elab_Command_elabMutualDef___closed__2)); -v___x_24893_ = l_Lean_Name_toString(v___x_24892_, v___x_24891_); -return v___x_24893_; +uint8_t v___x_24931_; lean_object* v___x_24932_; lean_object* v___x_24933_; +v___x_24931_ = 1; +v___x_24932_ = ((lean_object*)(l_Lean_Elab_Command_elabMutualDef___closed__2)); +v___x_24933_ = l_Lean_Name_toString(v___x_24932_, v___x_24931_); +return v___x_24933_; } } static lean_object* _init_l_Lean_Elab_Command_elabMutualDef___closed__4(void){ _start: { -uint8_t v___x_24894_; lean_object* v___x_24895_; lean_object* v___x_24896_; lean_object* v___x_24897_; lean_object* v___x_24898_; lean_object* v___x_24899_; -v___x_24894_ = 0; -v___x_24895_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2); -v___x_24896_ = lean_box(0); -v___x_24897_ = l_Lean_Language_Snapshot_Diagnostics_empty; -v___x_24898_ = lean_obj_once(&l_Lean_Elab_Command_elabMutualDef___closed__3, &l_Lean_Elab_Command_elabMutualDef___closed__3_once, _init_l_Lean_Elab_Command_elabMutualDef___closed__3); -v___x_24899_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_24899_, 0, v___x_24898_); -lean_ctor_set(v___x_24899_, 1, v___x_24897_); -lean_ctor_set(v___x_24899_, 2, v___x_24896_); -lean_ctor_set(v___x_24899_, 3, v___x_24895_); -lean_ctor_set_uint8(v___x_24899_, sizeof(void*)*4, v___x_24894_); -return v___x_24899_; +uint8_t v___x_24934_; lean_object* v___x_24935_; lean_object* v___x_24936_; lean_object* v___x_24937_; lean_object* v___x_24938_; lean_object* v___x_24939_; +v___x_24934_ = 0; +v___x_24935_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2, &l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2_once, _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__2); +v___x_24936_ = lean_box(0); +v___x_24937_ = l_Lean_Language_Snapshot_Diagnostics_empty; +v___x_24938_ = lean_obj_once(&l_Lean_Elab_Command_elabMutualDef___closed__3, &l_Lean_Elab_Command_elabMutualDef___closed__3_once, _init_l_Lean_Elab_Command_elabMutualDef___closed__3); +v___x_24939_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_24939_, 0, v___x_24938_); +lean_ctor_set(v___x_24939_, 1, v___x_24937_); +lean_ctor_set(v___x_24939_, 2, v___x_24936_); +lean_ctor_set(v___x_24939_, 3, v___x_24935_); +lean_ctor_set_uint8(v___x_24939_, sizeof(void*)*4, v___x_24934_); +return v___x_24939_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef(lean_object* v_ds_24900_, lean_object* v_a_24901_, lean_object* v_a_24902_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef(lean_object* v_ds_24940_, lean_object* v_a_24941_, lean_object* v_a_24942_){ _start: { -lean_object* v___y_24905_; lean_object* v___y_24906_; lean_object* v___y_24907_; uint64_t v___y_24908_; lean_object* v___x_24913_; size_t v_sz_24914_; size_t v___x_24915_; lean_object* v___x_24916_; -v___x_24913_ = lean_st_ref_get(v_a_24902_); -v_sz_24914_ = lean_array_size(v_ds_24900_); -v___x_24915_ = ((size_t)0ULL); -lean_inc_ref(v_ds_24900_); -v___x_24916_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_24914_, v___x_24915_, v_ds_24900_); -if (lean_obj_tag(v___x_24916_) == 0) +lean_object* v___y_24945_; lean_object* v___y_24946_; lean_object* v___y_24947_; uint64_t v___y_24948_; lean_object* v___x_24953_; size_t v_sz_24954_; size_t v___x_24955_; lean_object* v___x_24956_; +v___x_24953_ = lean_st_ref_get(v_a_24942_); +v_sz_24954_ = lean_array_size(v_ds_24940_); +v___x_24955_ = ((size_t)0ULL); +lean_inc_ref(v_ds_24940_); +v___x_24956_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_24954_, v___x_24955_, v_ds_24940_); +if (lean_obj_tag(v___x_24956_) == 0) { -lean_object* v_a_24917_; lean_object* v_snap_x3f_24918_; lean_object* v_scopes_24919_; lean_object* v___x_24920_; lean_object* v___x_24921_; lean_object* v_opts_24922_; lean_object* v___x_24923_; lean_object* v___x_24924_; lean_object* v___x_24925_; lean_object* v___x_24926_; uint8_t v___x_24927_; lean_object* v___x_24928_; lean_object* v___x_24929_; lean_object* v___x_24930_; lean_object* v___x_24931_; lean_object* v___x_24932_; lean_object* v___x_24933_; -v_a_24917_ = lean_ctor_get(v___x_24916_, 0); -lean_inc(v_a_24917_); -lean_dec_ref(v___x_24916_); -v_snap_x3f_24918_ = lean_ctor_get(v_a_24901_, 8); -v_scopes_24919_ = lean_ctor_get(v___x_24913_, 2); -lean_inc(v_scopes_24919_); -lean_dec(v___x_24913_); -v___x_24920_ = l_Lean_Elab_Command_instInhabitedScope_default; -v___x_24921_ = l_List_head_x21___redArg(v___x_24920_, v_scopes_24919_); -lean_dec(v_scopes_24919_); -v_opts_24922_ = lean_ctor_get(v___x_24921_, 1); -lean_inc_ref(v_opts_24922_); -lean_dec(v___x_24921_); -v___x_24923_ = lean_array_get_size(v_a_24917_); -v___x_24924_ = lean_unsigned_to_nat(0u); -v___x_24925_ = ((lean_object*)(l_Lean_Elab_Command_elabMutualDef___closed__0)); -v___x_24926_ = lean_array_get_size(v_ds_24900_); -v___x_24927_ = 1; -v___x_24928_ = l_Array_toSubarray___redArg(v_a_24917_, v___x_24924_, v___x_24923_); -v___x_24929_ = lean_box(v___x_24927_); -v___x_24930_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24930_, 0, v___x_24929_); -lean_ctor_set(v___x_24930_, 1, v___x_24928_); -v___x_24931_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24931_, 0, v___x_24925_); -lean_ctor_set(v___x_24931_, 1, v___x_24930_); -v___x_24932_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_24932_, 0, v___x_24925_); -lean_ctor_set(v___x_24932_, 1, v___x_24931_); -lean_inc(v_a_24902_); -lean_inc_ref(v_a_24901_); -lean_inc(v_snap_x3f_24918_); -v___x_24933_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v___x_24926_, v_ds_24900_, v_snap_x3f_24918_, v_opts_24922_, v___x_24926_, v___x_24924_, v___x_24932_, v_a_24901_, v_a_24902_); -lean_dec_ref(v_opts_24922_); -lean_dec_ref(v_ds_24900_); -if (lean_obj_tag(v___x_24933_) == 0) +lean_object* v_a_24957_; lean_object* v_snap_x3f_24958_; lean_object* v_scopes_24959_; lean_object* v___x_24960_; lean_object* v___x_24961_; lean_object* v_opts_24962_; lean_object* v___x_24963_; lean_object* v___x_24964_; lean_object* v___x_24965_; lean_object* v___x_24966_; uint8_t v___x_24967_; lean_object* v___x_24968_; lean_object* v___x_24969_; lean_object* v___x_24970_; lean_object* v___x_24971_; lean_object* v___x_24972_; lean_object* v___x_24973_; +v_a_24957_ = lean_ctor_get(v___x_24956_, 0); +lean_inc(v_a_24957_); +lean_dec_ref(v___x_24956_); +v_snap_x3f_24958_ = lean_ctor_get(v_a_24941_, 8); +v_scopes_24959_ = lean_ctor_get(v___x_24953_, 2); +lean_inc(v_scopes_24959_); +lean_dec(v___x_24953_); +v___x_24960_ = l_Lean_Elab_Command_instInhabitedScope_default; +v___x_24961_ = l_List_head_x21___redArg(v___x_24960_, v_scopes_24959_); +lean_dec(v_scopes_24959_); +v_opts_24962_ = lean_ctor_get(v___x_24961_, 1); +lean_inc_ref(v_opts_24962_); +lean_dec(v___x_24961_); +v___x_24963_ = lean_array_get_size(v_a_24957_); +v___x_24964_ = lean_unsigned_to_nat(0u); +v___x_24965_ = ((lean_object*)(l_Lean_Elab_Command_elabMutualDef___closed__0)); +v___x_24966_ = lean_array_get_size(v_ds_24940_); +v___x_24967_ = 1; +v___x_24968_ = l_Array_toSubarray___redArg(v_a_24957_, v___x_24964_, v___x_24963_); +v___x_24969_ = lean_box(v___x_24967_); +v___x_24970_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24970_, 0, v___x_24969_); +lean_ctor_set(v___x_24970_, 1, v___x_24968_); +v___x_24971_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24971_, 0, v___x_24965_); +lean_ctor_set(v___x_24971_, 1, v___x_24970_); +v___x_24972_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_24972_, 0, v___x_24965_); +lean_ctor_set(v___x_24972_, 1, v___x_24971_); +lean_inc(v_a_24942_); +lean_inc_ref(v_a_24941_); +lean_inc(v_snap_x3f_24958_); +v___x_24973_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v___x_24966_, v_ds_24940_, v_snap_x3f_24958_, v_opts_24962_, v___x_24966_, v___x_24964_, v___x_24972_, v_a_24941_, v_a_24942_); +lean_dec_ref(v_opts_24962_); +lean_dec_ref(v_ds_24940_); +if (lean_obj_tag(v___x_24973_) == 0) { -lean_object* v_a_24934_; lean_object* v_snd_24935_; lean_object* v_fst_24936_; lean_object* v_fst_24937_; lean_object* v___x_24939_; uint8_t v_isShared_24940_; uint8_t v_isSharedCheck_24974_; -v_a_24934_ = lean_ctor_get(v___x_24933_, 0); -lean_inc(v_a_24934_); -lean_dec_ref(v___x_24933_); -v_snd_24935_ = lean_ctor_get(v_a_24934_, 1); -lean_inc(v_snd_24935_); -v_fst_24936_ = lean_ctor_get(v_a_24934_, 0); -lean_inc(v_fst_24936_); -lean_dec(v_a_24934_); -v_fst_24937_ = lean_ctor_get(v_snd_24935_, 0); -v_isSharedCheck_24974_ = !lean_is_exclusive(v_snd_24935_); -if (v_isSharedCheck_24974_ == 0) +lean_object* v_a_24974_; lean_object* v_snd_24975_; lean_object* v_fst_24976_; lean_object* v_fst_24977_; lean_object* v___x_24979_; uint8_t v_isShared_24980_; uint8_t v_isSharedCheck_25014_; +v_a_24974_ = lean_ctor_get(v___x_24973_, 0); +lean_inc(v_a_24974_); +lean_dec_ref(v___x_24973_); +v_snd_24975_ = lean_ctor_get(v_a_24974_, 1); +lean_inc(v_snd_24975_); +v_fst_24976_ = lean_ctor_get(v_a_24974_, 0); +lean_inc(v_fst_24976_); +lean_dec(v_a_24974_); +v_fst_24977_ = lean_ctor_get(v_snd_24975_, 0); +v_isSharedCheck_25014_ = !lean_is_exclusive(v_snd_24975_); +if (v_isSharedCheck_25014_ == 0) { -lean_object* v_unused_24975_; -v_unused_24975_ = lean_ctor_get(v_snd_24935_, 1); -lean_dec(v_unused_24975_); -v___x_24939_ = v_snd_24935_; -v_isShared_24940_ = v_isSharedCheck_24974_; -goto v_resetjp_24938_; +lean_object* v_unused_25015_; +v_unused_25015_ = lean_ctor_get(v_snd_24975_, 1); +lean_dec(v_unused_25015_); +v___x_24979_ = v_snd_24975_; +v_isShared_24980_ = v_isSharedCheck_25014_; +goto v_resetjp_24978_; } else { -lean_inc(v_fst_24937_); -lean_dec(v_snd_24935_); -v___x_24939_ = lean_box(0); -v_isShared_24940_ = v_isSharedCheck_24974_; -goto v_resetjp_24938_; +lean_inc(v_fst_24977_); +lean_dec(v_snd_24975_); +v___x_24979_ = lean_box(0); +v_isShared_24980_ = v_isSharedCheck_25014_; +goto v_resetjp_24978_; } -v_resetjp_24938_: +v_resetjp_24978_: { -lean_object* v___x_24941_; lean_object* v___x_24943_; -v___x_24941_ = lean_obj_once(&l_Lean_Elab_Command_elabMutualDef___closed__4, &l_Lean_Elab_Command_elabMutualDef___closed__4_once, _init_l_Lean_Elab_Command_elabMutualDef___closed__4); -if (v_isShared_24940_ == 0) +lean_object* v___x_24981_; lean_object* v___x_24983_; +v___x_24981_ = lean_obj_once(&l_Lean_Elab_Command_elabMutualDef___closed__4, &l_Lean_Elab_Command_elabMutualDef___closed__4_once, _init_l_Lean_Elab_Command_elabMutualDef___closed__4); +if (v_isShared_24980_ == 0) { -lean_ctor_set(v___x_24939_, 1, v_fst_24937_); -lean_ctor_set(v___x_24939_, 0, v___x_24941_); -v___x_24943_ = v___x_24939_; -goto v_reusejp_24942_; +lean_ctor_set(v___x_24979_, 1, v_fst_24977_); +lean_ctor_set(v___x_24979_, 0, v___x_24981_); +v___x_24983_ = v___x_24979_; +goto v_reusejp_24982_; } else { -lean_object* v_reuseFailAlloc_24973_; -v_reuseFailAlloc_24973_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_24973_, 0, v___x_24941_); -lean_ctor_set(v_reuseFailAlloc_24973_, 1, v_fst_24937_); -v___x_24943_ = v_reuseFailAlloc_24973_; -goto v_reusejp_24942_; +lean_object* v_reuseFailAlloc_25013_; +v_reuseFailAlloc_25013_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_25013_, 0, v___x_24981_); +lean_ctor_set(v_reuseFailAlloc_25013_, 1, v_fst_24977_); +v___x_24983_ = v_reuseFailAlloc_25013_; +goto v_reusejp_24982_; } -v_reusejp_24942_: +v_reusejp_24982_: { -lean_object* v___y_24945_; lean_object* v___y_24946_; -if (lean_obj_tag(v_snap_x3f_24918_) == 1) +lean_object* v___y_24985_; lean_object* v___y_24986_; +if (lean_obj_tag(v_snap_x3f_24958_) == 1) { -lean_object* v_val_24968_; lean_object* v_new_24969_; lean_object* v___x_24970_; lean_object* v___x_24971_; lean_object* v___x_24972_; -v_val_24968_ = lean_ctor_get(v_snap_x3f_24918_, 0); -v_new_24969_ = lean_ctor_get(v_val_24968_, 1); -v___x_24970_ = l_Lean_Elab_instImpl_00___x40_Lean_Elab_DefView_2042677648____hygCtx___hyg_20_; -lean_inc_ref(v___x_24943_); -v___x_24971_ = l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3(v___x_24970_, v___x_24943_); -v___x_24972_ = lean_io_promise_resolve(v___x_24971_, v_new_24969_); -v___y_24945_ = v_a_24901_; -v___y_24946_ = v_a_24902_; +lean_object* v_val_25008_; lean_object* v_new_25009_; lean_object* v___x_25010_; lean_object* v___x_25011_; lean_object* v___x_25012_; +v_val_25008_ = lean_ctor_get(v_snap_x3f_24958_, 0); +v_new_25009_ = lean_ctor_get(v_val_25008_, 1); +v___x_25010_ = l_Lean_Elab_instImpl_00___x40_Lean_Elab_DefView_2042677648____hygCtx___hyg_20_; +lean_inc_ref(v___x_24983_); +v___x_25011_ = l_Lean_Language_DynamicSnapshot_ofTyped___at___00Lean_Elab_Command_elabMutualDef_spec__3(v___x_25010_, v___x_24983_); +v___x_25012_ = lean_io_promise_resolve(v___x_25011_, v_new_25009_); +v___y_24985_ = v_a_24941_; +v___y_24986_ = v_a_24942_; +goto v___jp_24984_; +} +else +{ +v___y_24985_ = v_a_24941_; +v___y_24986_ = v_a_24942_; +goto v___jp_24984_; +} +v___jp_24984_: +{ +lean_object* v___x_24987_; +v___x_24987_ = l_Lean_Elab_Command_getScope___redArg(v___y_24986_); +if (lean_obj_tag(v___x_24987_) == 0) +{ +lean_object* v_a_24988_; lean_object* v___f_24989_; size_t v_sz_24990_; lean_object* v___x_24991_; uint64_t v___x_24992_; lean_object* v___x_24993_; uint8_t v___x_24994_; +v_a_24988_ = lean_ctor_get(v___x_24987_, 0); +lean_inc(v_a_24988_); +lean_dec_ref(v___x_24987_); +lean_inc(v_fst_24976_); +v___f_24989_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMutualDef___lam__0___boxed), 11, 3); +lean_closure_set(v___f_24989_, 0, v_a_24988_); +lean_closure_set(v___f_24989_, 1, v_fst_24976_); +lean_closure_set(v___f_24989_, 2, v___x_24983_); +v_sz_24990_ = lean_array_size(v_fst_24976_); +v___x_24991_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(v_sz_24990_, v___x_24955_, v_fst_24976_); +v___x_24992_ = 7ULL; +v___x_24993_ = lean_array_get_size(v___x_24991_); +v___x_24994_ = lean_nat_dec_lt(v___x_24964_, v___x_24993_); +if (v___x_24994_ == 0) +{ +lean_dec_ref(v___x_24991_); +v___y_24945_ = v___y_24986_; +v___y_24946_ = v___y_24985_; +v___y_24947_ = v___f_24989_; +v___y_24948_ = v___x_24992_; goto v___jp_24944_; } else { -v___y_24945_ = v_a_24901_; -v___y_24946_ = v_a_24902_; +uint8_t v___x_24995_; +v___x_24995_ = lean_nat_dec_le(v___x_24993_, v___x_24993_); +if (v___x_24995_ == 0) +{ +if (v___x_24994_ == 0) +{ +lean_dec_ref(v___x_24991_); +v___y_24945_ = v___y_24986_; +v___y_24946_ = v___y_24985_; +v___y_24947_ = v___f_24989_; +v___y_24948_ = v___x_24992_; goto v___jp_24944_; } +else +{ +size_t v___x_24996_; uint64_t v___x_24997_; +v___x_24996_ = lean_usize_of_nat(v___x_24993_); +v___x_24997_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v___x_24991_, v___x_24955_, v___x_24996_, v___x_24992_); +lean_dec_ref(v___x_24991_); +v___y_24945_ = v___y_24986_; +v___y_24946_ = v___y_24985_; +v___y_24947_ = v___f_24989_; +v___y_24948_ = v___x_24997_; +goto v___jp_24944_; +} +} +else +{ +size_t v___x_24998_; uint64_t v___x_24999_; +v___x_24998_ = lean_usize_of_nat(v___x_24993_); +v___x_24999_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v___x_24991_, v___x_24955_, v___x_24998_, v___x_24992_); +lean_dec_ref(v___x_24991_); +v___y_24945_ = v___y_24986_; +v___y_24946_ = v___y_24985_; +v___y_24947_ = v___f_24989_; +v___y_24948_ = v___x_24999_; +goto v___jp_24944_; +} +} +} +else +{ +lean_object* v_a_25000_; lean_object* v___x_25002_; uint8_t v_isShared_25003_; uint8_t v_isSharedCheck_25007_; +lean_dec(v___y_24986_); +lean_dec_ref(v___y_24985_); +lean_dec_ref(v___x_24983_); +lean_dec(v_fst_24976_); +v_a_25000_ = lean_ctor_get(v___x_24987_, 0); +v_isSharedCheck_25007_ = !lean_is_exclusive(v___x_24987_); +if (v_isSharedCheck_25007_ == 0) +{ +v___x_25002_ = v___x_24987_; +v_isShared_25003_ = v_isSharedCheck_25007_; +goto v_resetjp_25001_; +} +else +{ +lean_inc(v_a_25000_); +lean_dec(v___x_24987_); +v___x_25002_ = lean_box(0); +v_isShared_25003_ = v_isSharedCheck_25007_; +goto v_resetjp_25001_; +} +v_resetjp_25001_: +{ +lean_object* v___x_25005_; +if (v_isShared_25003_ == 0) +{ +v___x_25005_ = v___x_25002_; +goto v_reusejp_25004_; +} +else +{ +lean_object* v_reuseFailAlloc_25006_; +v_reuseFailAlloc_25006_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_25006_, 0, v_a_25000_); +v___x_25005_ = v_reuseFailAlloc_25006_; +goto v_reusejp_25004_; +} +v_reusejp_25004_: +{ +return v___x_25005_; +} +} +} +} +} +} +} +else +{ +lean_object* v_a_25016_; lean_object* v___x_25018_; uint8_t v_isShared_25019_; uint8_t v_isSharedCheck_25023_; +lean_dec(v_a_24942_); +lean_dec_ref(v_a_24941_); +v_a_25016_ = lean_ctor_get(v___x_24973_, 0); +v_isSharedCheck_25023_ = !lean_is_exclusive(v___x_24973_); +if (v_isSharedCheck_25023_ == 0) +{ +v___x_25018_ = v___x_24973_; +v_isShared_25019_ = v_isSharedCheck_25023_; +goto v_resetjp_25017_; +} +else +{ +lean_inc(v_a_25016_); +lean_dec(v___x_24973_); +v___x_25018_ = lean_box(0); +v_isShared_25019_ = v_isSharedCheck_25023_; +goto v_resetjp_25017_; +} +v_resetjp_25017_: +{ +lean_object* v___x_25021_; +if (v_isShared_25019_ == 0) +{ +v___x_25021_ = v___x_25018_; +goto v_reusejp_25020_; +} +else +{ +lean_object* v_reuseFailAlloc_25022_; +v_reuseFailAlloc_25022_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_25022_, 0, v_a_25016_); +v___x_25021_ = v_reuseFailAlloc_25022_; +goto v_reusejp_25020_; +} +v_reusejp_25020_: +{ +return v___x_25021_; +} +} +} +} +else +{ +lean_object* v_a_25024_; lean_object* v___x_25026_; uint8_t v_isShared_25027_; uint8_t v_isSharedCheck_25031_; +lean_dec(v___x_24953_); +lean_dec(v_a_24942_); +lean_dec_ref(v_a_24941_); +lean_dec_ref(v_ds_24940_); +v_a_25024_ = lean_ctor_get(v___x_24956_, 0); +v_isSharedCheck_25031_ = !lean_is_exclusive(v___x_24956_); +if (v_isSharedCheck_25031_ == 0) +{ +v___x_25026_ = v___x_24956_; +v_isShared_25027_ = v_isSharedCheck_25031_; +goto v_resetjp_25025_; +} +else +{ +lean_inc(v_a_25024_); +lean_dec(v___x_24956_); +v___x_25026_ = lean_box(0); +v_isShared_25027_ = v_isSharedCheck_25031_; +goto v_resetjp_25025_; +} +v_resetjp_25025_: +{ +lean_object* v___x_25029_; +if (v_isShared_25027_ == 0) +{ +v___x_25029_ = v___x_25026_; +goto v_reusejp_25028_; +} +else +{ +lean_object* v_reuseFailAlloc_25030_; +v_reuseFailAlloc_25030_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_25030_, 0, v_a_25024_); +v___x_25029_ = v_reuseFailAlloc_25030_; +goto v_reusejp_25028_; +} +v_reusejp_25028_: +{ +return v___x_25029_; +} +} +} v___jp_24944_: { -lean_object* v___x_24947_; -v___x_24947_ = l_Lean_Elab_Command_getScope___redArg(v___y_24946_); -if (lean_obj_tag(v___x_24947_) == 0) -{ -lean_object* v_a_24948_; lean_object* v___f_24949_; size_t v_sz_24950_; lean_object* v___x_24951_; uint64_t v___x_24952_; lean_object* v___x_24953_; uint8_t v___x_24954_; -v_a_24948_ = lean_ctor_get(v___x_24947_, 0); -lean_inc(v_a_24948_); -lean_dec_ref(v___x_24947_); -lean_inc(v_fst_24936_); -v___f_24949_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMutualDef___lam__0___boxed), 11, 3); -lean_closure_set(v___f_24949_, 0, v_a_24948_); -lean_closure_set(v___f_24949_, 1, v_fst_24936_); -lean_closure_set(v___f_24949_, 2, v___x_24943_); -v_sz_24950_ = lean_array_size(v_fst_24936_); -v___x_24951_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__1(v_sz_24950_, v___x_24915_, v_fst_24936_); -v___x_24952_ = 7ULL; -v___x_24953_ = lean_array_get_size(v___x_24951_); -v___x_24954_ = lean_nat_dec_lt(v___x_24924_, v___x_24953_); -if (v___x_24954_ == 0) -{ -lean_dec_ref(v___x_24951_); -v___y_24905_ = v___y_24946_; -v___y_24906_ = v___y_24945_; -v___y_24907_ = v___f_24949_; -v___y_24908_ = v___x_24952_; -goto v___jp_24904_; -} -else -{ -uint8_t v___x_24955_; -v___x_24955_ = lean_nat_dec_le(v___x_24953_, v___x_24953_); -if (v___x_24955_ == 0) -{ -if (v___x_24954_ == 0) -{ -lean_dec_ref(v___x_24951_); -v___y_24905_ = v___y_24946_; -v___y_24906_ = v___y_24945_; -v___y_24907_ = v___f_24949_; -v___y_24908_ = v___x_24952_; -goto v___jp_24904_; -} -else -{ -size_t v___x_24956_; uint64_t v___x_24957_; -v___x_24956_ = lean_usize_of_nat(v___x_24953_); -v___x_24957_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v___x_24951_, v___x_24915_, v___x_24956_, v___x_24952_); -lean_dec_ref(v___x_24951_); -v___y_24905_ = v___y_24946_; -v___y_24906_ = v___y_24945_; -v___y_24907_ = v___f_24949_; -v___y_24908_ = v___x_24957_; -goto v___jp_24904_; -} -} -else -{ -size_t v___x_24958_; uint64_t v___x_24959_; -v___x_24958_ = lean_usize_of_nat(v___x_24953_); -v___x_24959_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Elab_Command_elabMutualDef_spec__2(v___x_24951_, v___x_24915_, v___x_24958_, v___x_24952_); -lean_dec_ref(v___x_24951_); -v___y_24905_ = v___y_24946_; -v___y_24906_ = v___y_24945_; -v___y_24907_ = v___f_24949_; -v___y_24908_ = v___x_24959_; -goto v___jp_24904_; +lean_object* v___x_24949_; lean_object* v___x_24950_; lean_object* v___x_24951_; lean_object* v___x_24952_; +v___x_24949_ = lean_box_uint64(v___y_24948_); +v___x_24950_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_24950_, 0, v___x_24949_); +v___x_24951_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___boxed), 5, 2); +lean_closure_set(v___x_24951_, 0, lean_box(0)); +lean_closure_set(v___x_24951_, 1, v___y_24947_); +v___x_24952_ = l_Lean_Elab_Command_withInitQuotContext(v___x_24950_, v___x_24951_, v___y_24946_, v___y_24945_); +return v___x_24952_; } } } -else -{ -lean_object* v_a_24960_; lean_object* v___x_24962_; uint8_t v_isShared_24963_; uint8_t v_isSharedCheck_24967_; -lean_dec(v___y_24946_); -lean_dec_ref(v___y_24945_); -lean_dec_ref(v___x_24943_); -lean_dec(v_fst_24936_); -v_a_24960_ = lean_ctor_get(v___x_24947_, 0); -v_isSharedCheck_24967_ = !lean_is_exclusive(v___x_24947_); -if (v_isSharedCheck_24967_ == 0) -{ -v___x_24962_ = v___x_24947_; -v_isShared_24963_ = v_isSharedCheck_24967_; -goto v_resetjp_24961_; -} -else -{ -lean_inc(v_a_24960_); -lean_dec(v___x_24947_); -v___x_24962_ = lean_box(0); -v_isShared_24963_ = v_isSharedCheck_24967_; -goto v_resetjp_24961_; -} -v_resetjp_24961_: -{ -lean_object* v___x_24965_; -if (v_isShared_24963_ == 0) -{ -v___x_24965_ = v___x_24962_; -goto v_reusejp_24964_; -} -else -{ -lean_object* v_reuseFailAlloc_24966_; -v_reuseFailAlloc_24966_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24966_, 0, v_a_24960_); -v___x_24965_ = v_reuseFailAlloc_24966_; -goto v_reusejp_24964_; -} -v_reusejp_24964_: -{ -return v___x_24965_; -} -} -} -} -} -} -} -else -{ -lean_object* v_a_24976_; lean_object* v___x_24978_; uint8_t v_isShared_24979_; uint8_t v_isSharedCheck_24983_; -lean_dec(v_a_24902_); -lean_dec_ref(v_a_24901_); -v_a_24976_ = lean_ctor_get(v___x_24933_, 0); -v_isSharedCheck_24983_ = !lean_is_exclusive(v___x_24933_); -if (v_isSharedCheck_24983_ == 0) -{ -v___x_24978_ = v___x_24933_; -v_isShared_24979_ = v_isSharedCheck_24983_; -goto v_resetjp_24977_; -} -else -{ -lean_inc(v_a_24976_); -lean_dec(v___x_24933_); -v___x_24978_ = lean_box(0); -v_isShared_24979_ = v_isSharedCheck_24983_; -goto v_resetjp_24977_; -} -v_resetjp_24977_: -{ -lean_object* v___x_24981_; -if (v_isShared_24979_ == 0) -{ -v___x_24981_ = v___x_24978_; -goto v_reusejp_24980_; -} -else -{ -lean_object* v_reuseFailAlloc_24982_; -v_reuseFailAlloc_24982_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24982_, 0, v_a_24976_); -v___x_24981_ = v_reuseFailAlloc_24982_; -goto v_reusejp_24980_; -} -v_reusejp_24980_: -{ -return v___x_24981_; -} -} -} -} -else -{ -lean_object* v_a_24984_; lean_object* v___x_24986_; uint8_t v_isShared_24987_; uint8_t v_isSharedCheck_24991_; -lean_dec(v___x_24913_); -lean_dec(v_a_24902_); -lean_dec_ref(v_a_24901_); -lean_dec_ref(v_ds_24900_); -v_a_24984_ = lean_ctor_get(v___x_24916_, 0); -v_isSharedCheck_24991_ = !lean_is_exclusive(v___x_24916_); -if (v_isSharedCheck_24991_ == 0) -{ -v___x_24986_ = v___x_24916_; -v_isShared_24987_ = v_isSharedCheck_24991_; -goto v_resetjp_24985_; -} -else -{ -lean_inc(v_a_24984_); -lean_dec(v___x_24916_); -v___x_24986_ = lean_box(0); -v_isShared_24987_ = v_isSharedCheck_24991_; -goto v_resetjp_24985_; -} -v_resetjp_24985_: -{ -lean_object* v___x_24989_; -if (v_isShared_24987_ == 0) -{ -v___x_24989_ = v___x_24986_; -goto v_reusejp_24988_; -} -else -{ -lean_object* v_reuseFailAlloc_24990_; -v_reuseFailAlloc_24990_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_24990_, 0, v_a_24984_); -v___x_24989_ = v_reuseFailAlloc_24990_; -goto v_reusejp_24988_; -} -v_reusejp_24988_: -{ -return v___x_24989_; -} -} -} -v___jp_24904_: -{ -lean_object* v___x_24909_; lean_object* v___x_24910_; lean_object* v___x_24911_; lean_object* v___x_24912_; -v___x_24909_ = lean_box_uint64(v___y_24908_); -v___x_24910_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_24910_, 0, v___x_24909_); -v___x_24911_ = lean_alloc_closure((void*)(l_Lean_Elab_Command_runTermElabM___boxed), 5, 2); -lean_closure_set(v___x_24911_, 0, lean_box(0)); -lean_closure_set(v___x_24911_, 1, v___y_24907_); -v___x_24912_ = l_Lean_Elab_Command_withInitQuotContext(v___x_24910_, v___x_24911_, v___y_24906_, v___y_24905_); -return v___x_24912_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___boxed(lean_object* v_ds_24992_, lean_object* v_a_24993_, lean_object* v_a_24994_, lean_object* v_a_24995_){ +LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutualDef___boxed(lean_object* v_ds_25032_, lean_object* v_a_25033_, lean_object* v_a_25034_, lean_object* v_a_25035_){ _start: { -lean_object* v_res_24996_; -v_res_24996_ = l_Lean_Elab_Command_elabMutualDef(v_ds_24992_, v_a_24993_, v_a_24994_); -return v_res_24996_; +lean_object* v_res_25036_; +v_res_25036_ = l_Lean_Elab_Command_elabMutualDef(v_ds_25032_, v_a_25033_, v_a_25034_); +return v_res_25036_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0(size_t v_sz_24997_, size_t v_i_24998_, lean_object* v_bs_24999_, lean_object* v___y_25000_, lean_object* v___y_25001_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0(size_t v_sz_25037_, size_t v_i_25038_, lean_object* v_bs_25039_, lean_object* v___y_25040_, lean_object* v___y_25041_){ _start: { -lean_object* v___x_25003_; -v___x_25003_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_24997_, v_i_24998_, v_bs_24999_); -return v___x_25003_; +lean_object* v___x_25043_; +v___x_25043_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___redArg(v_sz_25037_, v_i_25038_, v_bs_25039_); +return v___x_25043_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___boxed(lean_object* v_sz_25004_, lean_object* v_i_25005_, lean_object* v_bs_25006_, lean_object* v___y_25007_, lean_object* v___y_25008_, lean_object* v___y_25009_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0___boxed(lean_object* v_sz_25044_, lean_object* v_i_25045_, lean_object* v_bs_25046_, lean_object* v___y_25047_, lean_object* v___y_25048_, lean_object* v___y_25049_){ _start: { -size_t v_sz_boxed_25010_; size_t v_i_boxed_25011_; lean_object* v_res_25012_; -v_sz_boxed_25010_ = lean_unbox_usize(v_sz_25004_); -lean_dec(v_sz_25004_); -v_i_boxed_25011_ = lean_unbox_usize(v_i_25005_); -lean_dec(v_i_25005_); -v_res_25012_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0(v_sz_boxed_25010_, v_i_boxed_25011_, v_bs_25006_, v___y_25007_, v___y_25008_); -lean_dec(v___y_25008_); -lean_dec_ref(v___y_25007_); -return v_res_25012_; +size_t v_sz_boxed_25050_; size_t v_i_boxed_25051_; lean_object* v_res_25052_; +v_sz_boxed_25050_ = lean_unbox_usize(v_sz_25044_); +lean_dec(v_sz_25044_); +v_i_boxed_25051_ = lean_unbox_usize(v_i_25045_); +lean_dec(v_i_25045_); +v_res_25052_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_Command_elabMutualDef_spec__0(v_sz_boxed_25050_, v_i_boxed_25051_, v_bs_25046_, v___y_25047_, v___y_25048_); +lean_dec(v___y_25048_); +lean_dec_ref(v___y_25047_); +return v_res_25052_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6(lean_object* v_00_u03b1_25013_, lean_object* v_ref_25014_, lean_object* v_msg_25015_, lean_object* v___y_25016_, lean_object* v___y_25017_){ -_start: -{ -lean_object* v___x_25019_; -v___x_25019_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_ref_25014_, v_msg_25015_, v___y_25016_, v___y_25017_); -return v___x_25019_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___boxed(lean_object* v_00_u03b1_25020_, lean_object* v_ref_25021_, lean_object* v_msg_25022_, lean_object* v___y_25023_, lean_object* v___y_25024_, lean_object* v___y_25025_){ -_start: -{ -lean_object* v_res_25026_; -v_res_25026_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6(v_00_u03b1_25020_, v_ref_25021_, v_msg_25022_, v___y_25023_, v___y_25024_); -lean_dec(v___y_25024_); -lean_dec(v_ref_25021_); -return v_res_25026_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7(lean_object* v_upperBound_25027_, lean_object* v_ds_25028_, lean_object* v___x_25029_, lean_object* v___x_25030_, lean_object* v___x_25031_, lean_object* v_inst_25032_, lean_object* v_R_25033_, lean_object* v_a_25034_, lean_object* v_b_25035_, lean_object* v_c_25036_, lean_object* v___y_25037_, lean_object* v___y_25038_){ -_start: -{ -lean_object* v___x_25040_; -v___x_25040_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v_upperBound_25027_, v_ds_25028_, v___x_25029_, v___x_25030_, v___x_25031_, v_a_25034_, v_b_25035_, v___y_25037_, v___y_25038_); -return v___x_25040_; -} -} -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___boxed(lean_object* v_upperBound_25041_, lean_object* v_ds_25042_, lean_object* v___x_25043_, lean_object* v___x_25044_, lean_object* v___x_25045_, lean_object* v_inst_25046_, lean_object* v_R_25047_, lean_object* v_a_25048_, lean_object* v_b_25049_, lean_object* v_c_25050_, lean_object* v___y_25051_, lean_object* v___y_25052_, lean_object* v___y_25053_){ -_start: -{ -lean_object* v_res_25054_; -v_res_25054_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7(v_upperBound_25041_, v_ds_25042_, v___x_25043_, v___x_25044_, v___x_25045_, v_inst_25046_, v_R_25047_, v_a_25048_, v_b_25049_, v_c_25050_, v___y_25051_, v___y_25052_); -lean_dec(v___x_25045_); -lean_dec_ref(v___x_25044_); -lean_dec_ref(v_ds_25042_); -lean_dec(v_upperBound_25041_); -return v_res_25054_; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10(lean_object* v_msgData_25055_, lean_object* v___y_25056_, lean_object* v___y_25057_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6(lean_object* v_00_u03b1_25053_, lean_object* v_ref_25054_, lean_object* v_msg_25055_, lean_object* v___y_25056_, lean_object* v___y_25057_){ _start: { lean_object* v___x_25059_; -v___x_25059_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msgData_25055_, v___y_25057_); +v___x_25059_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___redArg(v_ref_25054_, v_msg_25055_, v___y_25056_, v___y_25057_); return v___x_25059_; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___boxed(lean_object* v_msgData_25060_, lean_object* v___y_25061_, lean_object* v___y_25062_, lean_object* v___y_25063_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6___boxed(lean_object* v_00_u03b1_25060_, lean_object* v_ref_25061_, lean_object* v_msg_25062_, lean_object* v___y_25063_, lean_object* v___y_25064_, lean_object* v___y_25065_){ _start: { -lean_object* v_res_25064_; -v_res_25064_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10(v_msgData_25060_, v___y_25061_, v___y_25062_); -lean_dec(v___y_25062_); -lean_dec_ref(v___y_25061_); -return v_res_25064_; +lean_object* v_res_25066_; +v_res_25066_ = l_Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6(v_00_u03b1_25060_, v_ref_25061_, v_msg_25062_, v___y_25063_, v___y_25064_); +lean_dec(v___y_25064_); +lean_dec(v_ref_25061_); +return v_res_25066_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8(lean_object* v_00_u03b1_25065_, lean_object* v_msg_25066_, lean_object* v___y_25067_, lean_object* v___y_25068_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7(lean_object* v_upperBound_25067_, lean_object* v_ds_25068_, lean_object* v___x_25069_, lean_object* v___x_25070_, lean_object* v___x_25071_, lean_object* v_inst_25072_, lean_object* v_R_25073_, lean_object* v_a_25074_, lean_object* v_b_25075_, lean_object* v_c_25076_, lean_object* v___y_25077_, lean_object* v___y_25078_){ _start: { -lean_object* v___x_25070_; -v___x_25070_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_25066_, v___y_25067_, v___y_25068_); -return v___x_25070_; +lean_object* v___x_25080_; +v___x_25080_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___redArg(v_upperBound_25067_, v_ds_25068_, v___x_25069_, v___x_25070_, v___x_25071_, v_a_25074_, v_b_25075_, v___y_25077_, v___y_25078_); +return v___x_25080_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___boxed(lean_object* v_00_u03b1_25071_, lean_object* v_msg_25072_, lean_object* v___y_25073_, lean_object* v___y_25074_, lean_object* v___y_25075_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7___boxed(lean_object* v_upperBound_25081_, lean_object* v_ds_25082_, lean_object* v___x_25083_, lean_object* v___x_25084_, lean_object* v___x_25085_, lean_object* v_inst_25086_, lean_object* v_R_25087_, lean_object* v_a_25088_, lean_object* v_b_25089_, lean_object* v_c_25090_, lean_object* v___y_25091_, lean_object* v___y_25092_, lean_object* v___y_25093_){ _start: { -lean_object* v_res_25076_; -v_res_25076_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8(v_00_u03b1_25071_, v_msg_25072_, v___y_25073_, v___y_25074_); -lean_dec(v___y_25074_); -return v_res_25076_; +lean_object* v_res_25094_; +v_res_25094_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_Command_elabMutualDef_spec__7(v_upperBound_25081_, v_ds_25082_, v___x_25083_, v___x_25084_, v___x_25085_, v_inst_25086_, v_R_25087_, v_a_25088_, v_b_25089_, v_c_25090_, v___y_25091_, v___y_25092_); +lean_dec(v___x_25085_); +lean_dec_ref(v___x_25084_); +lean_dec_ref(v_ds_25082_); +lean_dec(v_upperBound_25081_); +return v_res_25094_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11(lean_object* v_msgData_25077_, lean_object* v_macroStack_25078_, lean_object* v___y_25079_, lean_object* v___y_25080_){ +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10(lean_object* v_msgData_25095_, lean_object* v___y_25096_, lean_object* v___y_25097_){ _start: { -lean_object* v___x_25082_; -v___x_25082_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_msgData_25077_, v_macroStack_25078_, v___y_25080_); -return v___x_25082_; +lean_object* v___x_25099_; +v___x_25099_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___redArg(v_msgData_25095_, v___y_25097_); +return v___x_25099_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___boxed(lean_object* v_msgData_25083_, lean_object* v_macroStack_25084_, lean_object* v___y_25085_, lean_object* v___y_25086_, lean_object* v___y_25087_){ +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10___boxed(lean_object* v_msgData_25100_, lean_object* v___y_25101_, lean_object* v___y_25102_, lean_object* v___y_25103_){ _start: { -lean_object* v_res_25088_; -v_res_25088_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11(v_msgData_25083_, v_macroStack_25084_, v___y_25085_, v___y_25086_); -lean_dec(v___y_25086_); -lean_dec_ref(v___y_25085_); -return v_res_25088_; +lean_object* v_res_25104_; +v_res_25104_ = l_Lean_addMessageContextPartial___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__10(v_msgData_25100_, v___y_25101_, v___y_25102_); +lean_dec(v___y_25102_); +lean_dec_ref(v___y_25101_); +return v_res_25104_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20(lean_object* v_cls_25089_, lean_object* v___y_25090_, lean_object* v___y_25091_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8(lean_object* v_00_u03b1_25105_, lean_object* v_msg_25106_, lean_object* v___y_25107_, lean_object* v___y_25108_){ _start: { -lean_object* v___x_25093_; -v___x_25093_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_25089_, v___y_25091_); -return v___x_25093_; +lean_object* v___x_25110_; +v___x_25110_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___redArg(v_msg_25106_, v___y_25107_, v___y_25108_); +return v___x_25110_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___boxed(lean_object* v_cls_25094_, lean_object* v___y_25095_, lean_object* v___y_25096_, lean_object* v___y_25097_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8___boxed(lean_object* v_00_u03b1_25111_, lean_object* v_msg_25112_, lean_object* v___y_25113_, lean_object* v___y_25114_, lean_object* v___y_25115_){ _start: { -lean_object* v_res_25098_; -v_res_25098_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20(v_cls_25094_, v___y_25095_, v___y_25096_); -lean_dec(v___y_25096_); -lean_dec_ref(v___y_25095_); -return v_res_25098_; +lean_object* v_res_25116_; +v_res_25116_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8(v_00_u03b1_25111_, v_msg_25112_, v___y_25113_, v___y_25114_); +lean_dec(v___y_25114_); +return v_res_25116_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24(lean_object* v_00_u03b1_25099_, lean_object* v_ref_25100_, lean_object* v___y_25101_, lean_object* v___y_25102_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11(lean_object* v_msgData_25117_, lean_object* v_macroStack_25118_, lean_object* v___y_25119_, lean_object* v___y_25120_){ _start: { -lean_object* v___x_25104_; -v___x_25104_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_ref_25100_); -return v___x_25104_; +lean_object* v___x_25122_; +v___x_25122_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___redArg(v_msgData_25117_, v_macroStack_25118_, v___y_25120_); +return v___x_25122_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___boxed(lean_object* v_00_u03b1_25105_, lean_object* v_ref_25106_, lean_object* v___y_25107_, lean_object* v___y_25108_, lean_object* v___y_25109_){ -_start: -{ -lean_object* v_res_25110_; -v_res_25110_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24(v_00_u03b1_25105_, v_ref_25106_, v___y_25107_, v___y_25108_); -lean_dec(v___y_25108_); -lean_dec_ref(v___y_25107_); -return v_res_25110_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25(lean_object* v_00_u03b1_25111_, lean_object* v___y_25112_, lean_object* v___y_25113_){ -_start: -{ -lean_object* v___x_25115_; -v___x_25115_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); -return v___x_25115_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___boxed(lean_object* v_00_u03b1_25116_, lean_object* v___y_25117_, lean_object* v___y_25118_, lean_object* v___y_25119_){ -_start: -{ -lean_object* v_res_25120_; -v_res_25120_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25(v_00_u03b1_25116_, v___y_25117_, v___y_25118_); -lean_dec(v___y_25118_); -lean_dec_ref(v___y_25117_); -return v_res_25120_; -} -} -LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26(lean_object* v___y_25121_, lean_object* v___y_25122_){ -_start: -{ -lean_object* v___x_25124_; -v___x_25124_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_25122_); -return v___x_25124_; -} -} -LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___boxed(lean_object* v___y_25125_, lean_object* v___y_25126_, lean_object* v___y_25127_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11___boxed(lean_object* v_msgData_25123_, lean_object* v_macroStack_25124_, lean_object* v___y_25125_, lean_object* v___y_25126_, lean_object* v___y_25127_){ _start: { lean_object* v_res_25128_; -v_res_25128_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26(v___y_25125_, v___y_25126_); +v_res_25128_ = l_Lean_Elab_addMacroStack___at___00Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Elab_Command_elabMutualDef_spec__6_spec__8_spec__11(v_msgData_25123_, v_macroStack_25124_, v___y_25125_, v___y_25126_); lean_dec(v___y_25126_); lean_dec_ref(v___y_25125_); return v_res_25128_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16(lean_object* v_00_u03b1_25129_, lean_object* v_x_25130_, lean_object* v___y_25131_, lean_object* v___y_25132_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20(lean_object* v_cls_25129_, lean_object* v___y_25130_, lean_object* v___y_25131_){ _start: { -lean_object* v___x_25134_; -v___x_25134_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v_x_25130_, v___y_25131_, v___y_25132_); -return v___x_25134_; +lean_object* v___x_25133_; +v___x_25133_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___redArg(v_cls_25129_, v___y_25131_); +return v___x_25133_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___boxed(lean_object* v_00_u03b1_25135_, lean_object* v_x_25136_, lean_object* v___y_25137_, lean_object* v___y_25138_, lean_object* v___y_25139_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20___boxed(lean_object* v_cls_25134_, lean_object* v___y_25135_, lean_object* v___y_25136_, lean_object* v___y_25137_){ _start: { -lean_object* v_res_25140_; -v_res_25140_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16(v_00_u03b1_25135_, v_x_25136_, v___y_25137_, v___y_25138_); -lean_dec(v___y_25138_); -return v_res_25140_; +lean_object* v_res_25138_; +v_res_25138_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__20(v_cls_25134_, v___y_25135_, v___y_25136_); +lean_dec(v___y_25136_); +lean_dec_ref(v___y_25135_); +return v_res_25138_; } } -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18(lean_object* v_00_u03b1_25141_, lean_object* v_x_25142_, uint8_t v_when_25143_, lean_object* v___y_25144_, lean_object* v___y_25145_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24(lean_object* v_00_u03b1_25139_, lean_object* v_ref_25140_, lean_object* v___y_25141_, lean_object* v___y_25142_){ _start: { -lean_object* v___x_25147_; -v___x_25147_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v_x_25142_, v_when_25143_, v___y_25144_, v___y_25145_); -return v___x_25147_; +lean_object* v___x_25144_; +v___x_25144_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___redArg(v_ref_25140_); +return v___x_25144_; } } -LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___boxed(lean_object* v_00_u03b1_25148_, lean_object* v_x_25149_, lean_object* v_when_25150_, lean_object* v___y_25151_, lean_object* v___y_25152_, lean_object* v___y_25153_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24___boxed(lean_object* v_00_u03b1_25145_, lean_object* v_ref_25146_, lean_object* v___y_25147_, lean_object* v___y_25148_, lean_object* v___y_25149_){ _start: { -uint8_t v_when_boxed_25154_; lean_object* v_res_25155_; -v_when_boxed_25154_ = lean_unbox(v_when_25150_); -v_res_25155_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18(v_00_u03b1_25148_, v_x_25149_, v_when_boxed_25154_, v___y_25151_, v___y_25152_); -return v_res_25155_; +lean_object* v_res_25150_; +v_res_25150_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__24(v_00_u03b1_25145_, v_ref_25146_, v___y_25147_, v___y_25148_); +lean_dec(v___y_25148_); +lean_dec_ref(v___y_25147_); +return v_res_25150_; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22(lean_object* v_as_25156_, lean_object* v_as_x27_25157_, lean_object* v_b_25158_, lean_object* v_a_25159_, lean_object* v___y_25160_, lean_object* v___y_25161_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25(lean_object* v_00_u03b1_25151_, lean_object* v___y_25152_, lean_object* v___y_25153_){ _start: { -lean_object* v___x_25163_; -v___x_25163_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_as_x27_25157_, v_b_25158_, v___y_25160_, v___y_25161_); -return v___x_25163_; +lean_object* v___x_25155_; +v___x_25155_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___redArg(); +return v___x_25155_; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___boxed(lean_object* v_as_25164_, lean_object* v_as_x27_25165_, lean_object* v_b_25166_, lean_object* v_a_25167_, lean_object* v___y_25168_, lean_object* v___y_25169_, lean_object* v___y_25170_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25___boxed(lean_object* v_00_u03b1_25156_, lean_object* v___y_25157_, lean_object* v___y_25158_, lean_object* v___y_25159_){ _start: { -lean_object* v_res_25171_; -v_res_25171_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22(v_as_25164_, v_as_x27_25165_, v_b_25166_, v_a_25167_, v___y_25168_, v___y_25169_); -lean_dec(v___y_25169_); -lean_dec_ref(v___y_25168_); -lean_dec(v_as_25164_); -return v_res_25171_; +lean_object* v_res_25160_; +v_res_25160_ = l_Lean_Elab_throwUnsupportedSyntax___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__25(v_00_u03b1_25156_, v___y_25157_, v___y_25158_); +lean_dec(v___y_25158_); +lean_dec_ref(v___y_25157_); +return v_res_25160_; +} +} +LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26(lean_object* v___y_25161_, lean_object* v___y_25162_){ +_start: +{ +lean_object* v___x_25164_; +v___x_25164_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___redArg(v___y_25162_); +return v___x_25164_; +} +} +LEAN_EXPORT lean_object* l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26___boxed(lean_object* v___y_25165_, lean_object* v___y_25166_, lean_object* v___y_25167_){ +_start: +{ +lean_object* v_res_25168_; +v_res_25168_ = l_Lean_getMainModule___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__26(v___y_25165_, v___y_25166_); +lean_dec(v___y_25166_); +lean_dec_ref(v___y_25165_); +return v_res_25168_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16(lean_object* v_00_u03b1_25169_, lean_object* v_x_25170_, lean_object* v___y_25171_, lean_object* v___y_25172_){ +_start: +{ +lean_object* v___x_25174_; +v___x_25174_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___redArg(v_x_25170_, v___y_25171_, v___y_25172_); +return v___x_25174_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16___boxed(lean_object* v_00_u03b1_25175_, lean_object* v_x_25176_, lean_object* v___y_25177_, lean_object* v___y_25178_, lean_object* v___y_25179_){ +_start: +{ +lean_object* v_res_25180_; +v_res_25180_ = l_Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16(v_00_u03b1_25175_, v_x_25176_, v___y_25177_, v___y_25178_); +lean_dec(v___y_25178_); +return v_res_25180_; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18(lean_object* v_00_u03b1_25181_, lean_object* v_x_25182_, uint8_t v_when_25183_, lean_object* v___y_25184_, lean_object* v___y_25185_){ +_start: +{ +lean_object* v___x_25187_; +v___x_25187_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___redArg(v_x_25182_, v_when_25183_, v___y_25184_, v___y_25185_); +return v___x_25187_; +} +} +LEAN_EXPORT lean_object* l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18___boxed(lean_object* v_00_u03b1_25188_, lean_object* v_x_25189_, lean_object* v_when_25190_, lean_object* v___y_25191_, lean_object* v___y_25192_, lean_object* v___y_25193_){ +_start: +{ +uint8_t v_when_boxed_25194_; lean_object* v_res_25195_; +v_when_boxed_25194_ = lean_unbox(v_when_25190_); +v_res_25195_ = l_Lean_withoutExporting___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__18(v_00_u03b1_25188_, v_x_25189_, v_when_boxed_25194_, v___y_25191_, v___y_25192_); +return v_res_25195_; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22(lean_object* v_as_25196_, lean_object* v_as_x27_25197_, lean_object* v_b_25198_, lean_object* v_a_25199_, lean_object* v___y_25200_, lean_object* v___y_25201_){ +_start: +{ +lean_object* v___x_25203_; +v___x_25203_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___redArg(v_as_x27_25197_, v_b_25198_, v___y_25200_, v___y_25201_); +return v___x_25203_; +} +} +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22___boxed(lean_object* v_as_25204_, lean_object* v_as_x27_25205_, lean_object* v_b_25206_, lean_object* v_a_25207_, lean_object* v___y_25208_, lean_object* v___y_25209_, lean_object* v___y_25210_){ +_start: +{ +lean_object* v_res_25211_; +v_res_25211_ = l_List_forIn_x27_loop___at___00Lean_Elab_liftMacroM___at___00Lean_Elab_elabAttr___at___00Lean_Elab_elabAttrs___at___00Lean_Elab_elabDeclAttrs___at___00Lean_Elab_elabModifiers___at___00Lean_Elab_Command_elabMutualDef_spec__4_spec__5_spec__7_spec__11_spec__16_spec__22(v_as_25204_, v_as_x27_25205_, v_b_25206_, v_a_25207_, v___y_25208_, v___y_25209_); +lean_dec(v___y_25209_); +lean_dec_ref(v___y_25208_); +lean_dec(v_as_25204_); +return v_res_25211_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_25190_; lean_object* v___x_25191_; lean_object* v___x_25192_; -v___x_25190_ = lean_unsigned_to_nat(3514833330u); -v___x_25191_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__5_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_)); -v___x_25192_ = l_Lean_Name_num___override(v___x_25191_, v___x_25190_); -return v___x_25192_; +lean_object* v___x_25230_; lean_object* v___x_25231_; lean_object* v___x_25232_; +v___x_25230_ = lean_unsigned_to_nat(3514833330u); +v___x_25231_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__5_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_)); +v___x_25232_ = l_Lean_Name_num___override(v___x_25231_, v___x_25230_); +return v___x_25232_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_25193_; lean_object* v___x_25194_; lean_object* v___x_25195_; -v___x_25193_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__22_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); -v___x_25194_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); -v___x_25195_ = l_Lean_Name_str___override(v___x_25194_, v___x_25193_); -return v___x_25195_; +lean_object* v___x_25233_; lean_object* v___x_25234_; lean_object* v___x_25235_; +v___x_25233_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__22_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); +v___x_25234_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__6_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); +v___x_25235_ = l_Lean_Name_str___override(v___x_25234_, v___x_25233_); +return v___x_25235_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_25196_; lean_object* v___x_25197_; lean_object* v___x_25198_; -v___x_25196_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__24_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); -v___x_25197_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); -v___x_25198_ = l_Lean_Name_str___override(v___x_25197_, v___x_25196_); -return v___x_25198_; +lean_object* v___x_25236_; lean_object* v___x_25237_; lean_object* v___x_25238_; +v___x_25236_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_initFn___closed__24_00___x40_Lean_Elab_MutualDef_109142874____hygCtx___hyg_2_)); +v___x_25237_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__7_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); +v___x_25238_ = l_Lean_Name_str___override(v___x_25237_, v___x_25236_); +return v___x_25238_; } } static lean_object* _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_25199_; lean_object* v___x_25200_; lean_object* v___x_25201_; -v___x_25199_ = lean_unsigned_to_nat(2u); -v___x_25200_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); -v___x_25201_ = l_Lean_Name_num___override(v___x_25200_, v___x_25199_); -return v___x_25201_; +lean_object* v___x_25239_; lean_object* v___x_25240_; lean_object* v___x_25241_; +v___x_25239_ = lean_unsigned_to_nat(2u); +v___x_25240_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__8_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); +v___x_25241_ = l_Lean_Name_num___override(v___x_25240_, v___x_25239_); +return v___x_25241_; } } LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_25203_; uint8_t v___x_25204_; lean_object* v___x_25205_; lean_object* v___x_25206_; -v___x_25203_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1)); -v___x_25204_ = 0; -v___x_25205_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); -v___x_25206_ = l_Lean_registerTraceClass(v___x_25203_, v___x_25204_, v___x_25205_); -if (lean_obj_tag(v___x_25206_) == 0) +lean_object* v___x_25243_; uint8_t v___x_25244_; lean_object* v___x_25245_; lean_object* v___x_25246_; +v___x_25243_ = ((lean_object*)(l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_mkClosureForAux___closed__1)); +v___x_25244_ = 0; +v___x_25245_ = lean_obj_once(&l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_, &l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2__once, _init_l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn___closed__9_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_); +v___x_25246_ = l_Lean_registerTraceClass(v___x_25243_, v___x_25244_, v___x_25245_); +if (lean_obj_tag(v___x_25246_) == 0) { -lean_object* v___x_25207_; lean_object* v___x_25208_; -lean_dec_ref(v___x_25206_); -v___x_25207_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__5)); -v___x_25208_ = l_Lean_registerTraceClass(v___x_25207_, v___x_25204_, v___x_25205_); -if (lean_obj_tag(v___x_25208_) == 0) +lean_object* v___x_25247_; lean_object* v___x_25248_; +lean_dec_ref(v___x_25246_); +v___x_25247_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders_spec__7___closed__5)); +v___x_25248_ = l_Lean_registerTraceClass(v___x_25247_, v___x_25244_, v___x_25245_); +if (lean_obj_tag(v___x_25248_) == 0) { -lean_object* v___x_25209_; lean_object* v___x_25210_; -lean_dec_ref(v___x_25208_); -v___x_25209_ = ((lean_object*)(l_Lean_Core_withRestoreOrSaveFull___at___00Lean_Meta_withRestoreOrSaveFull___at___00Lean_Elab_Term_withRestoreOrSaveFull___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__10_spec__14_spec__16___closed__2)); -v___x_25210_ = l_Lean_registerTraceClass(v___x_25209_, v___x_25204_, v___x_25205_); -return v___x_25210_; +lean_object* v___x_25249_; lean_object* v___x_25250_; +lean_dec_ref(v___x_25248_); +v___x_25249_ = ((lean_object*)(l_Lean_Core_withRestoreOrSaveFull___at___00Lean_Meta_withRestoreOrSaveFull___at___00Lean_Elab_Term_withRestoreOrSaveFull___at___00__private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabFunValues_spec__10_spec__14_spec__16___closed__2)); +v___x_25250_ = l_Lean_registerTraceClass(v___x_25249_, v___x_25244_, v___x_25245_); +return v___x_25250_; } else { -return v___x_25208_; +return v___x_25248_; } } else { -return v___x_25206_; +return v___x_25246_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2____boxed(lean_object* v_a_25211_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2____boxed(lean_object* v_a_25251_){ _start: { -lean_object* v_res_25212_; -v_res_25212_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(); -return v_res_25212_; +lean_object* v_res_25252_; +v_res_25252_ = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Command_initFn_00___x40_Lean_Elab_MutualDef_3514833330____hygCtx___hyg_2_(); +return v_res_25252_; } } lean_object* runtime_initialize_Lean_Elab_Deriving_Basic(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Elab/MutualInductive.c b/stage0/stdlib/Lean/Elab/MutualInductive.c index c2d0ed2fd0..abbe277422 100644 --- a/stage0/stdlib/Lean/Elab/MutualInductive.c +++ b/stage0/stdlib/Lean/Elab/MutualInductive.c @@ -329,7 +329,7 @@ lean_object* l_Lean_Elab_sortDeclLevelParams(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_collectFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___redArg(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getEntries___redArg(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___redArg(lean_object*); @@ -3630,7 +3630,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualInductive_0__Lean_Elab_Comm _start: { lean_object* v___x_351_; -v___x_351_ = l_Lean_KeyedDeclsAttribute_Def___private__1(v_stx_347_, v___y_348_, v___y_349_); +v___x_351_ = l_Lean_KeyedDeclsAttribute_evalIdentKey(v_stx_347_, v___y_348_, v___y_349_); return v___x_351_; } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c index 75d753093f..1ee74b0dc3 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/Basic.c @@ -189,7 +189,6 @@ uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); lean_object* l_Lean_markMeta(lean_object*, lean_object*); uint8_t l_Lean_isNoncomputable(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addNoncomputable(lean_object*, lean_object*); -lean_object* l_Lean_markNotMeta(lean_object*, lean_object*); lean_object* l_Lean_Meta_markAsRecursive___redArg(lean_object*, lean_object*); uint32_t l_Lean_getMaxHeight(lean_object*, lean_object*); uint32_t lean_uint32_add(uint32_t, uint32_t); @@ -11101,51 +11100,51 @@ return v___x_3802_; LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(lean_object* v_docCtx_3803_, lean_object* v_preDef_3804_, uint8_t v_compile_3805_, lean_object* v_all_3806_, uint8_t v_applyAttrAfterCompilation_3807_, uint8_t v_cacheProofs_3808_, uint8_t v_cleanupValue_3809_, uint8_t v_isRecursive_3810_, lean_object* v_a_3811_, lean_object* v_a_3812_, lean_object* v_a_3813_, lean_object* v_a_3814_, lean_object* v_a_3815_, lean_object* v_a_3816_){ _start: { -lean_object* v___y_3819_; lean_object* v___y_3820_; lean_object* v___y_3821_; lean_object* v___y_3822_; lean_object* v___y_3823_; lean_object* v___y_3824_; lean_object* v___y_3825_; lean_object* v___y_3826_; lean_object* v___y_3833_; lean_object* v___y_3834_; lean_object* v___y_3835_; lean_object* v___y_3836_; lean_object* v___y_3837_; lean_object* v___y_3838_; lean_object* v___y_3839_; lean_object* v___y_3840_; lean_object* v___y_3841_; lean_object* v___y_3845_; lean_object* v___y_3846_; lean_object* v___y_3847_; lean_object* v___y_3848_; lean_object* v___y_3849_; lean_object* v___y_3850_; lean_object* v___y_3851_; lean_object* v___y_3852_; lean_object* v___y_3853_; lean_object* v___y_3854_; lean_object* v___y_3858_; lean_object* v___y_3859_; lean_object* v___y_3860_; lean_object* v___y_3861_; uint8_t v___y_3862_; lean_object* v___y_3863_; lean_object* v___y_3864_; lean_object* v___y_3865_; lean_object* v___y_3866_; lean_object* v___y_3867_; lean_object* v___y_3868_; lean_object* v___y_3989_; lean_object* v___y_3990_; lean_object* v___y_3991_; uint8_t v___y_3992_; lean_object* v_decl_3993_; lean_object* v___y_3994_; lean_object* v___y_3995_; lean_object* v___y_3996_; lean_object* v___y_3997_; lean_object* v___y_3998_; lean_object* v___y_3999_; lean_object* v___y_4004_; lean_object* v___y_4005_; lean_object* v___y_4006_; lean_object* v___y_4007_; lean_object* v___y_4008_; lean_object* v___y_4009_; lean_object* v___y_4010_; lean_object* v___y_4011_; lean_object* v___y_4012_; lean_object* v___y_4013_; lean_object* v___y_4014_; lean_object* v___y_4015_; uint8_t v___y_4016_; uint8_t v___y_4017_; lean_object* v___y_4021_; lean_object* v___y_4022_; lean_object* v___y_4023_; lean_object* v___y_4024_; lean_object* v___y_4025_; lean_object* v___y_4026_; lean_object* v___y_4027_; lean_object* v___y_4028_; lean_object* v___y_4029_; lean_object* v___y_4030_; lean_object* v___y_4031_; lean_object* v___y_4032_; uint8_t v___y_4033_; uint8_t v___y_4034_; lean_object* v___y_4038_; lean_object* v___y_4039_; lean_object* v___y_4040_; lean_object* v___y_4041_; lean_object* v___y_4042_; lean_object* v___y_4043_; lean_object* v___y_4044_; lean_object* v___y_4045_; lean_object* v___y_4046_; lean_object* v___y_4047_; lean_object* v___y_4048_; lean_object* v___y_4049_; uint8_t v___y_4050_; uint8_t v___y_4051_; lean_object* v_preDef_4055_; lean_object* v___y_4056_; lean_object* v___y_4057_; lean_object* v___y_4058_; lean_object* v___y_4059_; lean_object* v___y_4060_; lean_object* v___y_4061_; lean_object* v_ref_4124_; lean_object* v_fileName_4125_; lean_object* v_fileMap_4126_; lean_object* v_options_4127_; lean_object* v_currRecDepth_4128_; lean_object* v_maxRecDepth_4129_; lean_object* v_ref_4130_; lean_object* v_currNamespace_4131_; lean_object* v_openDecls_4132_; lean_object* v_initHeartbeats_4133_; lean_object* v_maxHeartbeats_4134_; lean_object* v_quotContext_4135_; lean_object* v_currMacroScope_4136_; uint8_t v_diag_4137_; lean_object* v_cancelTk_x3f_4138_; uint8_t v_suppressElabErrors_4139_; lean_object* v_inheritedTraceOptions_4140_; lean_object* v___x_4142_; uint8_t v_isShared_4143_; uint8_t v_isSharedCheck_4179_; -v_ref_4124_ = lean_ctor_get(v_preDef_3804_, 0); -v_fileName_4125_ = lean_ctor_get(v_a_3815_, 0); -v_fileMap_4126_ = lean_ctor_get(v_a_3815_, 1); -v_options_4127_ = lean_ctor_get(v_a_3815_, 2); -v_currRecDepth_4128_ = lean_ctor_get(v_a_3815_, 3); -v_maxRecDepth_4129_ = lean_ctor_get(v_a_3815_, 4); -v_ref_4130_ = lean_ctor_get(v_a_3815_, 5); -v_currNamespace_4131_ = lean_ctor_get(v_a_3815_, 6); -v_openDecls_4132_ = lean_ctor_get(v_a_3815_, 7); -v_initHeartbeats_4133_ = lean_ctor_get(v_a_3815_, 8); -v_maxHeartbeats_4134_ = lean_ctor_get(v_a_3815_, 9); -v_quotContext_4135_ = lean_ctor_get(v_a_3815_, 10); -v_currMacroScope_4136_ = lean_ctor_get(v_a_3815_, 11); -v_diag_4137_ = lean_ctor_get_uint8(v_a_3815_, sizeof(void*)*14); -v_cancelTk_x3f_4138_ = lean_ctor_get(v_a_3815_, 12); -v_suppressElabErrors_4139_ = lean_ctor_get_uint8(v_a_3815_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_4140_ = lean_ctor_get(v_a_3815_, 13); -v_isSharedCheck_4179_ = !lean_is_exclusive(v_a_3815_); -if (v_isSharedCheck_4179_ == 0) +lean_object* v___y_3819_; lean_object* v___y_3820_; lean_object* v___y_3821_; lean_object* v___y_3822_; lean_object* v___y_3823_; lean_object* v___y_3824_; lean_object* v___y_3825_; lean_object* v___y_3826_; lean_object* v___y_3833_; lean_object* v___y_3834_; lean_object* v___y_3835_; lean_object* v___y_3836_; lean_object* v___y_3837_; lean_object* v___y_3838_; lean_object* v___y_3839_; lean_object* v___y_3840_; lean_object* v___y_3841_; lean_object* v___y_3845_; lean_object* v___y_3846_; lean_object* v___y_3847_; lean_object* v___y_3848_; lean_object* v___y_3849_; lean_object* v___y_3850_; lean_object* v___y_3851_; lean_object* v___y_3852_; lean_object* v___y_3853_; lean_object* v___y_3854_; lean_object* v___y_3858_; lean_object* v___y_3859_; lean_object* v___y_3860_; lean_object* v___y_3861_; lean_object* v___y_3862_; lean_object* v___y_3863_; lean_object* v___y_3864_; lean_object* v___y_3865_; lean_object* v___y_3866_; lean_object* v___y_3867_; lean_object* v___y_3952_; lean_object* v___y_3953_; lean_object* v___y_3954_; lean_object* v_decl_3955_; lean_object* v___y_3956_; lean_object* v___y_3957_; lean_object* v___y_3958_; lean_object* v___y_3959_; lean_object* v___y_3960_; lean_object* v___y_3961_; lean_object* v___y_3966_; lean_object* v___y_3967_; lean_object* v___y_3968_; lean_object* v___y_3969_; lean_object* v___y_3970_; lean_object* v___y_3971_; lean_object* v___y_3972_; lean_object* v___y_3973_; lean_object* v___y_3974_; lean_object* v___y_3975_; lean_object* v___y_3976_; lean_object* v___y_3977_; uint8_t v___y_3978_; lean_object* v___y_3982_; lean_object* v___y_3983_; lean_object* v___y_3984_; lean_object* v___y_3985_; lean_object* v___y_3986_; lean_object* v___y_3987_; lean_object* v___y_3988_; lean_object* v___y_3989_; lean_object* v___y_3990_; lean_object* v___y_3991_; lean_object* v___y_3992_; lean_object* v___y_3993_; uint8_t v___y_3994_; lean_object* v___y_3998_; lean_object* v___y_3999_; lean_object* v___y_4000_; lean_object* v___y_4001_; lean_object* v___y_4002_; lean_object* v___y_4003_; lean_object* v___y_4004_; lean_object* v___y_4005_; lean_object* v___y_4006_; lean_object* v___y_4007_; lean_object* v___y_4008_; lean_object* v___y_4009_; uint8_t v___y_4010_; lean_object* v_preDef_4014_; lean_object* v___y_4015_; lean_object* v___y_4016_; lean_object* v___y_4017_; lean_object* v___y_4018_; lean_object* v___y_4019_; lean_object* v___y_4020_; lean_object* v_ref_4083_; lean_object* v_fileName_4084_; lean_object* v_fileMap_4085_; lean_object* v_options_4086_; lean_object* v_currRecDepth_4087_; lean_object* v_maxRecDepth_4088_; lean_object* v_ref_4089_; lean_object* v_currNamespace_4090_; lean_object* v_openDecls_4091_; lean_object* v_initHeartbeats_4092_; lean_object* v_maxHeartbeats_4093_; lean_object* v_quotContext_4094_; lean_object* v_currMacroScope_4095_; uint8_t v_diag_4096_; lean_object* v_cancelTk_x3f_4097_; uint8_t v_suppressElabErrors_4098_; lean_object* v_inheritedTraceOptions_4099_; lean_object* v___x_4101_; uint8_t v_isShared_4102_; uint8_t v_isSharedCheck_4138_; +v_ref_4083_ = lean_ctor_get(v_preDef_3804_, 0); +v_fileName_4084_ = lean_ctor_get(v_a_3815_, 0); +v_fileMap_4085_ = lean_ctor_get(v_a_3815_, 1); +v_options_4086_ = lean_ctor_get(v_a_3815_, 2); +v_currRecDepth_4087_ = lean_ctor_get(v_a_3815_, 3); +v_maxRecDepth_4088_ = lean_ctor_get(v_a_3815_, 4); +v_ref_4089_ = lean_ctor_get(v_a_3815_, 5); +v_currNamespace_4090_ = lean_ctor_get(v_a_3815_, 6); +v_openDecls_4091_ = lean_ctor_get(v_a_3815_, 7); +v_initHeartbeats_4092_ = lean_ctor_get(v_a_3815_, 8); +v_maxHeartbeats_4093_ = lean_ctor_get(v_a_3815_, 9); +v_quotContext_4094_ = lean_ctor_get(v_a_3815_, 10); +v_currMacroScope_4095_ = lean_ctor_get(v_a_3815_, 11); +v_diag_4096_ = lean_ctor_get_uint8(v_a_3815_, sizeof(void*)*14); +v_cancelTk_x3f_4097_ = lean_ctor_get(v_a_3815_, 12); +v_suppressElabErrors_4098_ = lean_ctor_get_uint8(v_a_3815_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_4099_ = lean_ctor_get(v_a_3815_, 13); +v_isSharedCheck_4138_ = !lean_is_exclusive(v_a_3815_); +if (v_isSharedCheck_4138_ == 0) { -v___x_4142_ = v_a_3815_; -v_isShared_4143_ = v_isSharedCheck_4179_; -goto v_resetjp_4141_; +v___x_4101_ = v_a_3815_; +v_isShared_4102_ = v_isSharedCheck_4138_; +goto v_resetjp_4100_; } else { -lean_inc(v_inheritedTraceOptions_4140_); -lean_inc(v_cancelTk_x3f_4138_); -lean_inc(v_currMacroScope_4136_); -lean_inc(v_quotContext_4135_); -lean_inc(v_maxHeartbeats_4134_); -lean_inc(v_initHeartbeats_4133_); -lean_inc(v_openDecls_4132_); -lean_inc(v_currNamespace_4131_); -lean_inc(v_ref_4130_); -lean_inc(v_maxRecDepth_4129_); -lean_inc(v_currRecDepth_4128_); -lean_inc(v_options_4127_); -lean_inc(v_fileMap_4126_); -lean_inc(v_fileName_4125_); +lean_inc(v_inheritedTraceOptions_4099_); +lean_inc(v_cancelTk_x3f_4097_); +lean_inc(v_currMacroScope_4095_); +lean_inc(v_quotContext_4094_); +lean_inc(v_maxHeartbeats_4093_); +lean_inc(v_initHeartbeats_4092_); +lean_inc(v_openDecls_4091_); +lean_inc(v_currNamespace_4090_); +lean_inc(v_ref_4089_); +lean_inc(v_maxRecDepth_4088_); +lean_inc(v_currRecDepth_4087_); +lean_inc(v_options_4086_); +lean_inc(v_fileMap_4085_); +lean_inc(v_fileName_4084_); lean_dec(v_a_3815_); -v___x_4142_ = lean_box(0); -v_isShared_4143_ = v_isSharedCheck_4179_; -goto v_resetjp_4141_; +v___x_4101_ = lean_box(0); +v_isShared_4102_ = v_isSharedCheck_4138_; +goto v_resetjp_4100_; } v___jp_3818_: { @@ -11156,16 +11155,16 @@ lean_inc(v___y_3824_); lean_inc_ref(v___y_3823_); lean_inc(v___y_3822_); lean_inc_ref(v___y_3821_); -lean_inc_ref(v___y_3820_); -v___x_3827_ = l_Lean_Elab_addPreDefDocs(v_docCtx_3803_, v___y_3820_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); +lean_inc_ref(v___y_3819_); +v___x_3827_ = l_Lean_Elab_addPreDefDocs(v_docCtx_3803_, v___y_3819_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); if (lean_obj_tag(v___x_3827_) == 0) { lean_dec_ref(v___x_3827_); if (v_applyAttrAfterCompilation_3807_ == 0) { lean_object* v___x_3828_; -lean_dec_ref(v___y_3819_); -v___x_3828_ = l_Lean_Elab_addPreDefInfo(v___y_3820_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); +lean_dec_ref(v___y_3820_); +v___x_3828_ = l_Lean_Elab_addPreDefInfo(v___y_3819_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); return v___x_3828_; } else @@ -11178,13 +11177,13 @@ lean_inc(v___y_3824_); lean_inc_ref(v___y_3823_); lean_inc(v___y_3822_); lean_inc_ref(v___y_3821_); -v___x_3830_ = l_Lean_Elab_applyAttributesOf(v___y_3819_, v___x_3829_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); -lean_dec_ref(v___y_3819_); +v___x_3830_ = l_Lean_Elab_applyAttributesOf(v___y_3820_, v___x_3829_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); +lean_dec_ref(v___y_3820_); if (lean_obj_tag(v___x_3830_) == 0) { lean_object* v___x_3831_; lean_dec_ref(v___x_3830_); -v___x_3831_ = l_Lean_Elab_addPreDefInfo(v___y_3820_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); +v___x_3831_ = l_Lean_Elab_addPreDefInfo(v___y_3819_, v___y_3821_, v___y_3822_, v___y_3823_, v___y_3824_, v___y_3825_, v___y_3826_); return v___x_3831_; } else @@ -11195,7 +11194,7 @@ lean_dec(v___y_3824_); lean_dec_ref(v___y_3823_); lean_dec(v___y_3822_); lean_dec_ref(v___y_3821_); -lean_dec_ref(v___y_3820_); +lean_dec_ref(v___y_3819_); return v___x_3830_; } } @@ -11217,8 +11216,8 @@ v___jp_3832_: { if (v_applyAttrAfterCompilation_3807_ == 0) { -lean_dec(v___y_3833_); -v___y_3819_ = v___y_3835_; +lean_dec(v___y_3835_); +v___y_3819_ = v___y_3833_; v___y_3820_ = v___y_3834_; v___y_3821_ = v___y_3836_; v___y_3822_ = v___y_3837_; @@ -11232,8 +11231,8 @@ else { lean_object* v___x_3842_; lean_inc_ref(v___y_3840_); -lean_inc(v___y_3833_); -v___x_3842_ = l_Lean_enableRealizationsForConst(v___y_3833_, v___y_3840_, v___y_3841_); +lean_inc(v___y_3835_); +v___x_3842_ = l_Lean_enableRealizationsForConst(v___y_3835_, v___y_3840_, v___y_3841_); if (lean_obj_tag(v___x_3842_) == 0) { lean_object* v___x_3843_; @@ -11242,11 +11241,11 @@ lean_inc(v___y_3841_); lean_inc_ref(v___y_3840_); lean_inc(v___y_3839_); lean_inc_ref(v___y_3838_); -v___x_3843_ = l_Lean_Meta_generateEagerEqns(v___y_3833_, v___y_3838_, v___y_3839_, v___y_3840_, v___y_3841_); +v___x_3843_ = l_Lean_Meta_generateEagerEqns(v___y_3835_, v___y_3838_, v___y_3839_, v___y_3840_, v___y_3841_); if (lean_obj_tag(v___x_3843_) == 0) { lean_dec_ref(v___x_3843_); -v___y_3819_ = v___y_3835_; +v___y_3819_ = v___y_3833_; v___y_3820_ = v___y_3834_; v___y_3821_ = v___y_3836_; v___y_3822_ = v___y_3837_; @@ -11264,8 +11263,8 @@ lean_dec(v___y_3839_); lean_dec_ref(v___y_3838_); lean_dec(v___y_3837_); lean_dec_ref(v___y_3836_); -lean_dec_ref(v___y_3835_); lean_dec_ref(v___y_3834_); +lean_dec_ref(v___y_3833_); lean_dec_ref(v_docCtx_3803_); return v___x_3843_; } @@ -11278,9 +11277,9 @@ lean_dec(v___y_3839_); lean_dec_ref(v___y_3838_); lean_dec(v___y_3837_); lean_dec_ref(v___y_3836_); -lean_dec_ref(v___y_3835_); +lean_dec(v___y_3835_); lean_dec_ref(v___y_3834_); -lean_dec(v___y_3833_); +lean_dec_ref(v___y_3833_); lean_dec_ref(v_docCtx_3803_); return v___x_3842_; } @@ -11290,9 +11289,9 @@ v___jp_3844_: { if (v_compile_3805_ == 0) { -lean_dec(v___y_3845_); -v___y_3833_ = v___y_3846_; -v___y_3834_ = v___y_3848_; +lean_dec(v___y_3848_); +v___y_3833_ = v___y_3845_; +v___y_3834_ = v___y_3846_; v___y_3835_ = v___y_3847_; v___y_3836_ = v___y_3849_; v___y_3837_ = v___y_3850_; @@ -11305,12 +11304,12 @@ goto v___jp_3832_; else { uint8_t v___x_3855_; -v___x_3855_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(v___y_3848_); +v___x_3855_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(v___y_3845_); if (v___x_3855_ == 0) { -lean_dec(v___y_3845_); -v___y_3833_ = v___y_3846_; -v___y_3834_ = v___y_3848_; +lean_dec(v___y_3848_); +v___y_3833_ = v___y_3845_; +v___y_3834_ = v___y_3846_; v___y_3835_ = v___y_3847_; v___y_3836_ = v___y_3849_; v___y_3837_ = v___y_3850_; @@ -11325,12 +11324,12 @@ else lean_object* v___x_3856_; lean_inc(v___y_3854_); lean_inc_ref(v___y_3853_); -v___x_3856_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(v___y_3845_, v___y_3849_, v___y_3853_, v___y_3854_); +v___x_3856_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(v___y_3848_, v___y_3849_, v___y_3853_, v___y_3854_); if (lean_obj_tag(v___x_3856_) == 0) { lean_dec_ref(v___x_3856_); -v___y_3833_ = v___y_3846_; -v___y_3834_ = v___y_3848_; +v___y_3833_ = v___y_3845_; +v___y_3834_ = v___y_3846_; v___y_3835_ = v___y_3847_; v___y_3836_ = v___y_3849_; v___y_3837_ = v___y_3850_; @@ -11348,9 +11347,9 @@ lean_dec(v___y_3852_); lean_dec_ref(v___y_3851_); lean_dec(v___y_3850_); lean_dec_ref(v___y_3849_); -lean_dec_ref(v___y_3848_); -lean_dec_ref(v___y_3847_); -lean_dec(v___y_3846_); +lean_dec(v___y_3847_); +lean_dec_ref(v___y_3846_); +lean_dec_ref(v___y_3845_); lean_dec_ref(v_docCtx_3803_); return v___x_3856_; } @@ -11359,168 +11358,168 @@ return v___x_3856_; } v___jp_3857_: { -lean_object* v___x_3869_; lean_object* v___x_3870_; lean_object* v___x_3871_; uint8_t v___x_3872_; lean_object* v___x_3873_; -v___x_3869_ = lean_unsigned_to_nat(1u); -v___x_3870_ = lean_mk_empty_array_with_capacity(v___x_3869_); -lean_inc_ref(v___y_3861_); -v___x_3871_ = lean_array_push(v___x_3870_, v___y_3861_); -v___x_3872_ = 0; -lean_inc(v___y_3868_); -lean_inc_ref(v___y_3867_); -lean_inc(v___y_3866_); -lean_inc_ref(v___y_3865_); -lean_inc(v___y_3864_); -lean_inc_ref(v___y_3863_); -v___x_3873_ = l_Lean_Elab_applyAttributesOf(v___x_3871_, v___x_3872_, v___y_3863_, v___y_3864_, v___y_3865_, v___y_3866_, v___y_3867_, v___y_3868_); -if (lean_obj_tag(v___x_3873_) == 0) +lean_object* v___x_3868_; lean_object* v___x_3869_; lean_object* v___x_3870_; uint8_t v___x_3871_; lean_object* v___x_3872_; +v___x_3868_ = lean_unsigned_to_nat(1u); +v___x_3869_ = lean_mk_empty_array_with_capacity(v___x_3868_); +lean_inc_ref(v___y_3858_); +v___x_3870_ = lean_array_push(v___x_3869_, v___y_3858_); +v___x_3871_ = 0; +lean_inc(v___y_3867_); +lean_inc_ref(v___y_3866_); +lean_inc(v___y_3865_); +lean_inc_ref(v___y_3864_); +lean_inc(v___y_3863_); +lean_inc_ref(v___y_3862_); +v___x_3872_ = l_Lean_Elab_applyAttributesOf(v___x_3870_, v___x_3871_, v___y_3862_, v___y_3863_, v___y_3864_, v___y_3865_, v___y_3866_, v___y_3867_); +if (lean_obj_tag(v___x_3872_) == 0) { -uint8_t v_computeKind_3874_; -lean_dec_ref(v___x_3873_); -v_computeKind_3874_ = lean_ctor_get_uint8(v___y_3859_, sizeof(void*)*3 + 2); +uint8_t v_computeKind_3873_; +lean_dec_ref(v___x_3872_); +v_computeKind_3873_ = lean_ctor_get_uint8(v___y_3859_, sizeof(void*)*3 + 2); lean_dec_ref(v___y_3859_); -switch(v_computeKind_3874_) +switch(v_computeKind_3873_) { case 1: { -lean_object* v___x_3875_; lean_object* v_env_3876_; uint8_t v___x_3877_; -v___x_3875_ = lean_st_ref_get(v___y_3868_); -v_env_3876_ = lean_ctor_get(v___x_3875_, 0); -lean_inc_ref(v_env_3876_); -lean_dec(v___x_3875_); +lean_object* v___x_3874_; lean_object* v_env_3875_; uint8_t v___x_3876_; +v___x_3874_ = lean_st_ref_get(v___y_3867_); +v_env_3875_ = lean_ctor_get(v___x_3874_, 0); +lean_inc_ref(v_env_3875_); +lean_dec(v___x_3874_); lean_inc(v___y_3860_); -v___x_3877_ = l_Lean_isMarkedMeta(v_env_3876_, v___y_3860_); -if (v___x_3877_ == 0) +v___x_3876_ = l_Lean_isMarkedMeta(v_env_3875_, v___y_3860_); +if (v___x_3876_ == 0) { -lean_object* v___x_3878_; lean_object* v_env_3879_; lean_object* v_nextMacroScope_3880_; lean_object* v_ngen_3881_; lean_object* v_auxDeclNGen_3882_; lean_object* v_traceState_3883_; lean_object* v_messages_3884_; lean_object* v_infoState_3885_; lean_object* v_snapshotTasks_3886_; lean_object* v___x_3888_; uint8_t v_isShared_3889_; uint8_t v_isSharedCheck_3911_; -v___x_3878_ = lean_st_ref_take(v___y_3868_); -v_env_3879_ = lean_ctor_get(v___x_3878_, 0); -v_nextMacroScope_3880_ = lean_ctor_get(v___x_3878_, 1); -v_ngen_3881_ = lean_ctor_get(v___x_3878_, 2); -v_auxDeclNGen_3882_ = lean_ctor_get(v___x_3878_, 3); -v_traceState_3883_ = lean_ctor_get(v___x_3878_, 4); -v_messages_3884_ = lean_ctor_get(v___x_3878_, 6); -v_infoState_3885_ = lean_ctor_get(v___x_3878_, 7); -v_snapshotTasks_3886_ = lean_ctor_get(v___x_3878_, 8); -v_isSharedCheck_3911_ = !lean_is_exclusive(v___x_3878_); -if (v_isSharedCheck_3911_ == 0) +lean_object* v___x_3877_; lean_object* v_env_3878_; lean_object* v_nextMacroScope_3879_; lean_object* v_ngen_3880_; lean_object* v_auxDeclNGen_3881_; lean_object* v_traceState_3882_; lean_object* v_messages_3883_; lean_object* v_infoState_3884_; lean_object* v_snapshotTasks_3885_; lean_object* v___x_3887_; uint8_t v_isShared_3888_; uint8_t v_isSharedCheck_3910_; +v___x_3877_ = lean_st_ref_take(v___y_3867_); +v_env_3878_ = lean_ctor_get(v___x_3877_, 0); +v_nextMacroScope_3879_ = lean_ctor_get(v___x_3877_, 1); +v_ngen_3880_ = lean_ctor_get(v___x_3877_, 2); +v_auxDeclNGen_3881_ = lean_ctor_get(v___x_3877_, 3); +v_traceState_3882_ = lean_ctor_get(v___x_3877_, 4); +v_messages_3883_ = lean_ctor_get(v___x_3877_, 6); +v_infoState_3884_ = lean_ctor_get(v___x_3877_, 7); +v_snapshotTasks_3885_ = lean_ctor_get(v___x_3877_, 8); +v_isSharedCheck_3910_ = !lean_is_exclusive(v___x_3877_); +if (v_isSharedCheck_3910_ == 0) { -lean_object* v_unused_3912_; -v_unused_3912_ = lean_ctor_get(v___x_3878_, 5); -lean_dec(v_unused_3912_); -v___x_3888_ = v___x_3878_; -v_isShared_3889_ = v_isSharedCheck_3911_; -goto v_resetjp_3887_; +lean_object* v_unused_3911_; +v_unused_3911_ = lean_ctor_get(v___x_3877_, 5); +lean_dec(v_unused_3911_); +v___x_3887_ = v___x_3877_; +v_isShared_3888_ = v_isSharedCheck_3910_; +goto v_resetjp_3886_; } else { -lean_inc(v_snapshotTasks_3886_); -lean_inc(v_infoState_3885_); -lean_inc(v_messages_3884_); -lean_inc(v_traceState_3883_); -lean_inc(v_auxDeclNGen_3882_); -lean_inc(v_ngen_3881_); -lean_inc(v_nextMacroScope_3880_); -lean_inc(v_env_3879_); -lean_dec(v___x_3878_); -v___x_3888_ = lean_box(0); -v_isShared_3889_ = v_isSharedCheck_3911_; -goto v_resetjp_3887_; +lean_inc(v_snapshotTasks_3885_); +lean_inc(v_infoState_3884_); +lean_inc(v_messages_3883_); +lean_inc(v_traceState_3882_); +lean_inc(v_auxDeclNGen_3881_); +lean_inc(v_ngen_3880_); +lean_inc(v_nextMacroScope_3879_); +lean_inc(v_env_3878_); +lean_dec(v___x_3877_); +v___x_3887_ = lean_box(0); +v_isShared_3888_ = v_isSharedCheck_3910_; +goto v_resetjp_3886_; } -v_resetjp_3887_: +v_resetjp_3886_: { -lean_object* v___x_3890_; lean_object* v___x_3891_; lean_object* v___x_3893_; +lean_object* v___x_3889_; lean_object* v___x_3890_; lean_object* v___x_3892_; lean_inc(v___y_3860_); -v___x_3890_ = l_Lean_markMeta(v_env_3879_, v___y_3860_); -v___x_3891_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); -if (v_isShared_3889_ == 0) +v___x_3889_ = l_Lean_markMeta(v_env_3878_, v___y_3860_); +v___x_3890_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); +if (v_isShared_3888_ == 0) { -lean_ctor_set(v___x_3888_, 5, v___x_3891_); -lean_ctor_set(v___x_3888_, 0, v___x_3890_); -v___x_3893_ = v___x_3888_; -goto v_reusejp_3892_; +lean_ctor_set(v___x_3887_, 5, v___x_3890_); +lean_ctor_set(v___x_3887_, 0, v___x_3889_); +v___x_3892_ = v___x_3887_; +goto v_reusejp_3891_; } else { -lean_object* v_reuseFailAlloc_3910_; -v_reuseFailAlloc_3910_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_3910_, 0, v___x_3890_); -lean_ctor_set(v_reuseFailAlloc_3910_, 1, v_nextMacroScope_3880_); -lean_ctor_set(v_reuseFailAlloc_3910_, 2, v_ngen_3881_); -lean_ctor_set(v_reuseFailAlloc_3910_, 3, v_auxDeclNGen_3882_); -lean_ctor_set(v_reuseFailAlloc_3910_, 4, v_traceState_3883_); -lean_ctor_set(v_reuseFailAlloc_3910_, 5, v___x_3891_); -lean_ctor_set(v_reuseFailAlloc_3910_, 6, v_messages_3884_); -lean_ctor_set(v_reuseFailAlloc_3910_, 7, v_infoState_3885_); -lean_ctor_set(v_reuseFailAlloc_3910_, 8, v_snapshotTasks_3886_); -v___x_3893_ = v_reuseFailAlloc_3910_; -goto v_reusejp_3892_; +lean_object* v_reuseFailAlloc_3909_; +v_reuseFailAlloc_3909_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_3909_, 0, v___x_3889_); +lean_ctor_set(v_reuseFailAlloc_3909_, 1, v_nextMacroScope_3879_); +lean_ctor_set(v_reuseFailAlloc_3909_, 2, v_ngen_3880_); +lean_ctor_set(v_reuseFailAlloc_3909_, 3, v_auxDeclNGen_3881_); +lean_ctor_set(v_reuseFailAlloc_3909_, 4, v_traceState_3882_); +lean_ctor_set(v_reuseFailAlloc_3909_, 5, v___x_3890_); +lean_ctor_set(v_reuseFailAlloc_3909_, 6, v_messages_3883_); +lean_ctor_set(v_reuseFailAlloc_3909_, 7, v_infoState_3884_); +lean_ctor_set(v_reuseFailAlloc_3909_, 8, v_snapshotTasks_3885_); +v___x_3892_ = v_reuseFailAlloc_3909_; +goto v_reusejp_3891_; } -v_reusejp_3892_: +v_reusejp_3891_: { -lean_object* v___x_3894_; lean_object* v___x_3895_; lean_object* v_mctx_3896_; lean_object* v_zetaDeltaFVarIds_3897_; lean_object* v_postponed_3898_; lean_object* v_diag_3899_; lean_object* v___x_3901_; uint8_t v_isShared_3902_; uint8_t v_isSharedCheck_3908_; -v___x_3894_ = lean_st_ref_set(v___y_3868_, v___x_3893_); -v___x_3895_ = lean_st_ref_take(v___y_3866_); -v_mctx_3896_ = lean_ctor_get(v___x_3895_, 0); -v_zetaDeltaFVarIds_3897_ = lean_ctor_get(v___x_3895_, 2); -v_postponed_3898_ = lean_ctor_get(v___x_3895_, 3); -v_diag_3899_ = lean_ctor_get(v___x_3895_, 4); -v_isSharedCheck_3908_ = !lean_is_exclusive(v___x_3895_); -if (v_isSharedCheck_3908_ == 0) +lean_object* v___x_3893_; lean_object* v___x_3894_; lean_object* v_mctx_3895_; lean_object* v_zetaDeltaFVarIds_3896_; lean_object* v_postponed_3897_; lean_object* v_diag_3898_; lean_object* v___x_3900_; uint8_t v_isShared_3901_; uint8_t v_isSharedCheck_3907_; +v___x_3893_ = lean_st_ref_set(v___y_3867_, v___x_3892_); +v___x_3894_ = lean_st_ref_take(v___y_3865_); +v_mctx_3895_ = lean_ctor_get(v___x_3894_, 0); +v_zetaDeltaFVarIds_3896_ = lean_ctor_get(v___x_3894_, 2); +v_postponed_3897_ = lean_ctor_get(v___x_3894_, 3); +v_diag_3898_ = lean_ctor_get(v___x_3894_, 4); +v_isSharedCheck_3907_ = !lean_is_exclusive(v___x_3894_); +if (v_isSharedCheck_3907_ == 0) { -lean_object* v_unused_3909_; -v_unused_3909_ = lean_ctor_get(v___x_3895_, 1); -lean_dec(v_unused_3909_); -v___x_3901_ = v___x_3895_; -v_isShared_3902_ = v_isSharedCheck_3908_; -goto v_resetjp_3900_; +lean_object* v_unused_3908_; +v_unused_3908_ = lean_ctor_get(v___x_3894_, 1); +lean_dec(v_unused_3908_); +v___x_3900_ = v___x_3894_; +v_isShared_3901_ = v_isSharedCheck_3907_; +goto v_resetjp_3899_; } else { -lean_inc(v_diag_3899_); -lean_inc(v_postponed_3898_); -lean_inc(v_zetaDeltaFVarIds_3897_); -lean_inc(v_mctx_3896_); -lean_dec(v___x_3895_); -v___x_3901_ = lean_box(0); -v_isShared_3902_ = v_isSharedCheck_3908_; -goto v_resetjp_3900_; +lean_inc(v_diag_3898_); +lean_inc(v_postponed_3897_); +lean_inc(v_zetaDeltaFVarIds_3896_); +lean_inc(v_mctx_3895_); +lean_dec(v___x_3894_); +v___x_3900_ = lean_box(0); +v_isShared_3901_ = v_isSharedCheck_3907_; +goto v_resetjp_3899_; } -v_resetjp_3900_: +v_resetjp_3899_: { -lean_object* v___x_3903_; lean_object* v___x_3905_; -v___x_3903_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3); -if (v_isShared_3902_ == 0) +lean_object* v___x_3902_; lean_object* v___x_3904_; +v___x_3902_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3); +if (v_isShared_3901_ == 0) { -lean_ctor_set(v___x_3901_, 1, v___x_3903_); -v___x_3905_ = v___x_3901_; -goto v_reusejp_3904_; +lean_ctor_set(v___x_3900_, 1, v___x_3902_); +v___x_3904_ = v___x_3900_; +goto v_reusejp_3903_; } else { -lean_object* v_reuseFailAlloc_3907_; -v_reuseFailAlloc_3907_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3907_, 0, v_mctx_3896_); -lean_ctor_set(v_reuseFailAlloc_3907_, 1, v___x_3903_); -lean_ctor_set(v_reuseFailAlloc_3907_, 2, v_zetaDeltaFVarIds_3897_); -lean_ctor_set(v_reuseFailAlloc_3907_, 3, v_postponed_3898_); -lean_ctor_set(v_reuseFailAlloc_3907_, 4, v_diag_3899_); -v___x_3905_ = v_reuseFailAlloc_3907_; -goto v_reusejp_3904_; +lean_object* v_reuseFailAlloc_3906_; +v_reuseFailAlloc_3906_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3906_, 0, v_mctx_3895_); +lean_ctor_set(v_reuseFailAlloc_3906_, 1, v___x_3902_); +lean_ctor_set(v_reuseFailAlloc_3906_, 2, v_zetaDeltaFVarIds_3896_); +lean_ctor_set(v_reuseFailAlloc_3906_, 3, v_postponed_3897_); +lean_ctor_set(v_reuseFailAlloc_3906_, 4, v_diag_3898_); +v___x_3904_ = v_reuseFailAlloc_3906_; +goto v_reusejp_3903_; } -v_reusejp_3904_: +v_reusejp_3903_: { -lean_object* v___x_3906_; -v___x_3906_ = lean_st_ref_set(v___y_3866_, v___x_3905_); +lean_object* v___x_3905_; +v___x_3905_ = lean_st_ref_set(v___y_3865_, v___x_3904_); v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; +v___y_3846_ = v___x_3870_; +v___y_3847_ = v___y_3860_; v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; +v___y_3849_ = v___y_3862_; +v___y_3850_ = v___y_3863_; +v___y_3851_ = v___y_3864_; +v___y_3852_ = v___y_3865_; +v___y_3853_ = v___y_3866_; +v___y_3854_ = v___y_3867_; goto v___jp_3844_; } } @@ -11530,160 +11529,160 @@ goto v___jp_3844_; else { v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; +v___y_3846_ = v___x_3870_; +v___y_3847_ = v___y_3860_; v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; +v___y_3849_ = v___y_3862_; +v___y_3850_ = v___y_3863_; +v___y_3851_ = v___y_3864_; +v___y_3852_ = v___y_3865_; +v___y_3853_ = v___y_3866_; +v___y_3854_ = v___y_3867_; goto v___jp_3844_; } } case 2: { -lean_object* v___x_3913_; lean_object* v_env_3914_; lean_object* v___x_3915_; uint8_t v___x_3916_; -v___x_3913_ = lean_st_ref_get(v___y_3868_); -v_env_3914_ = lean_ctor_get(v___x_3913_, 0); -lean_inc_ref(v_env_3914_); -lean_dec(v___x_3913_); -v___x_3915_ = lean_box(1); +lean_object* v___x_3912_; lean_object* v_env_3913_; lean_object* v___x_3914_; uint8_t v___x_3915_; +v___x_3912_ = lean_st_ref_get(v___y_3867_); +v_env_3913_ = lean_ctor_get(v___x_3912_, 0); +lean_inc_ref(v_env_3913_); +lean_dec(v___x_3912_); +v___x_3914_ = lean_box(1); lean_inc(v___y_3860_); -v___x_3916_ = l_Lean_isNoncomputable(v_env_3914_, v___y_3860_, v___x_3915_); -if (v___x_3916_ == 0) +v___x_3915_ = l_Lean_isNoncomputable(v_env_3913_, v___y_3860_, v___x_3914_); +if (v___x_3915_ == 0) { -lean_object* v___x_3917_; lean_object* v_env_3918_; lean_object* v_nextMacroScope_3919_; lean_object* v_ngen_3920_; lean_object* v_auxDeclNGen_3921_; lean_object* v_traceState_3922_; lean_object* v_messages_3923_; lean_object* v_infoState_3924_; lean_object* v_snapshotTasks_3925_; lean_object* v___x_3927_; uint8_t v_isShared_3928_; uint8_t v_isSharedCheck_3950_; -v___x_3917_ = lean_st_ref_take(v___y_3868_); -v_env_3918_ = lean_ctor_get(v___x_3917_, 0); -v_nextMacroScope_3919_ = lean_ctor_get(v___x_3917_, 1); -v_ngen_3920_ = lean_ctor_get(v___x_3917_, 2); -v_auxDeclNGen_3921_ = lean_ctor_get(v___x_3917_, 3); -v_traceState_3922_ = lean_ctor_get(v___x_3917_, 4); -v_messages_3923_ = lean_ctor_get(v___x_3917_, 6); -v_infoState_3924_ = lean_ctor_get(v___x_3917_, 7); -v_snapshotTasks_3925_ = lean_ctor_get(v___x_3917_, 8); -v_isSharedCheck_3950_ = !lean_is_exclusive(v___x_3917_); -if (v_isSharedCheck_3950_ == 0) +lean_object* v___x_3916_; lean_object* v_env_3917_; lean_object* v_nextMacroScope_3918_; lean_object* v_ngen_3919_; lean_object* v_auxDeclNGen_3920_; lean_object* v_traceState_3921_; lean_object* v_messages_3922_; lean_object* v_infoState_3923_; lean_object* v_snapshotTasks_3924_; lean_object* v___x_3926_; uint8_t v_isShared_3927_; uint8_t v_isSharedCheck_3949_; +v___x_3916_ = lean_st_ref_take(v___y_3867_); +v_env_3917_ = lean_ctor_get(v___x_3916_, 0); +v_nextMacroScope_3918_ = lean_ctor_get(v___x_3916_, 1); +v_ngen_3919_ = lean_ctor_get(v___x_3916_, 2); +v_auxDeclNGen_3920_ = lean_ctor_get(v___x_3916_, 3); +v_traceState_3921_ = lean_ctor_get(v___x_3916_, 4); +v_messages_3922_ = lean_ctor_get(v___x_3916_, 6); +v_infoState_3923_ = lean_ctor_get(v___x_3916_, 7); +v_snapshotTasks_3924_ = lean_ctor_get(v___x_3916_, 8); +v_isSharedCheck_3949_ = !lean_is_exclusive(v___x_3916_); +if (v_isSharedCheck_3949_ == 0) { -lean_object* v_unused_3951_; -v_unused_3951_ = lean_ctor_get(v___x_3917_, 5); -lean_dec(v_unused_3951_); -v___x_3927_ = v___x_3917_; -v_isShared_3928_ = v_isSharedCheck_3950_; -goto v_resetjp_3926_; +lean_object* v_unused_3950_; +v_unused_3950_ = lean_ctor_get(v___x_3916_, 5); +lean_dec(v_unused_3950_); +v___x_3926_ = v___x_3916_; +v_isShared_3927_ = v_isSharedCheck_3949_; +goto v_resetjp_3925_; } else { -lean_inc(v_snapshotTasks_3925_); -lean_inc(v_infoState_3924_); -lean_inc(v_messages_3923_); -lean_inc(v_traceState_3922_); -lean_inc(v_auxDeclNGen_3921_); -lean_inc(v_ngen_3920_); -lean_inc(v_nextMacroScope_3919_); -lean_inc(v_env_3918_); -lean_dec(v___x_3917_); -v___x_3927_ = lean_box(0); -v_isShared_3928_ = v_isSharedCheck_3950_; -goto v_resetjp_3926_; +lean_inc(v_snapshotTasks_3924_); +lean_inc(v_infoState_3923_); +lean_inc(v_messages_3922_); +lean_inc(v_traceState_3921_); +lean_inc(v_auxDeclNGen_3920_); +lean_inc(v_ngen_3919_); +lean_inc(v_nextMacroScope_3918_); +lean_inc(v_env_3917_); +lean_dec(v___x_3916_); +v___x_3926_ = lean_box(0); +v_isShared_3927_ = v_isSharedCheck_3949_; +goto v_resetjp_3925_; } -v_resetjp_3926_: +v_resetjp_3925_: { -lean_object* v___x_3929_; lean_object* v___x_3930_; lean_object* v___x_3932_; +lean_object* v___x_3928_; lean_object* v___x_3929_; lean_object* v___x_3931_; lean_inc(v___y_3860_); -v___x_3929_ = l_Lean_addNoncomputable(v_env_3918_, v___y_3860_); -v___x_3930_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); -if (v_isShared_3928_ == 0) +v___x_3928_ = l_Lean_addNoncomputable(v_env_3917_, v___y_3860_); +v___x_3929_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); +if (v_isShared_3927_ == 0) { -lean_ctor_set(v___x_3927_, 5, v___x_3930_); -lean_ctor_set(v___x_3927_, 0, v___x_3929_); -v___x_3932_ = v___x_3927_; -goto v_reusejp_3931_; +lean_ctor_set(v___x_3926_, 5, v___x_3929_); +lean_ctor_set(v___x_3926_, 0, v___x_3928_); +v___x_3931_ = v___x_3926_; +goto v_reusejp_3930_; } else { -lean_object* v_reuseFailAlloc_3949_; -v_reuseFailAlloc_3949_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_3949_, 0, v___x_3929_); -lean_ctor_set(v_reuseFailAlloc_3949_, 1, v_nextMacroScope_3919_); -lean_ctor_set(v_reuseFailAlloc_3949_, 2, v_ngen_3920_); -lean_ctor_set(v_reuseFailAlloc_3949_, 3, v_auxDeclNGen_3921_); -lean_ctor_set(v_reuseFailAlloc_3949_, 4, v_traceState_3922_); -lean_ctor_set(v_reuseFailAlloc_3949_, 5, v___x_3930_); -lean_ctor_set(v_reuseFailAlloc_3949_, 6, v_messages_3923_); -lean_ctor_set(v_reuseFailAlloc_3949_, 7, v_infoState_3924_); -lean_ctor_set(v_reuseFailAlloc_3949_, 8, v_snapshotTasks_3925_); -v___x_3932_ = v_reuseFailAlloc_3949_; -goto v_reusejp_3931_; +lean_object* v_reuseFailAlloc_3948_; +v_reuseFailAlloc_3948_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_3948_, 0, v___x_3928_); +lean_ctor_set(v_reuseFailAlloc_3948_, 1, v_nextMacroScope_3918_); +lean_ctor_set(v_reuseFailAlloc_3948_, 2, v_ngen_3919_); +lean_ctor_set(v_reuseFailAlloc_3948_, 3, v_auxDeclNGen_3920_); +lean_ctor_set(v_reuseFailAlloc_3948_, 4, v_traceState_3921_); +lean_ctor_set(v_reuseFailAlloc_3948_, 5, v___x_3929_); +lean_ctor_set(v_reuseFailAlloc_3948_, 6, v_messages_3922_); +lean_ctor_set(v_reuseFailAlloc_3948_, 7, v_infoState_3923_); +lean_ctor_set(v_reuseFailAlloc_3948_, 8, v_snapshotTasks_3924_); +v___x_3931_ = v_reuseFailAlloc_3948_; +goto v_reusejp_3930_; } -v_reusejp_3931_: +v_reusejp_3930_: { -lean_object* v___x_3933_; lean_object* v___x_3934_; lean_object* v_mctx_3935_; lean_object* v_zetaDeltaFVarIds_3936_; lean_object* v_postponed_3937_; lean_object* v_diag_3938_; lean_object* v___x_3940_; uint8_t v_isShared_3941_; uint8_t v_isSharedCheck_3947_; -v___x_3933_ = lean_st_ref_set(v___y_3868_, v___x_3932_); -v___x_3934_ = lean_st_ref_take(v___y_3866_); -v_mctx_3935_ = lean_ctor_get(v___x_3934_, 0); -v_zetaDeltaFVarIds_3936_ = lean_ctor_get(v___x_3934_, 2); -v_postponed_3937_ = lean_ctor_get(v___x_3934_, 3); -v_diag_3938_ = lean_ctor_get(v___x_3934_, 4); -v_isSharedCheck_3947_ = !lean_is_exclusive(v___x_3934_); -if (v_isSharedCheck_3947_ == 0) +lean_object* v___x_3932_; lean_object* v___x_3933_; lean_object* v_mctx_3934_; lean_object* v_zetaDeltaFVarIds_3935_; lean_object* v_postponed_3936_; lean_object* v_diag_3937_; lean_object* v___x_3939_; uint8_t v_isShared_3940_; uint8_t v_isSharedCheck_3946_; +v___x_3932_ = lean_st_ref_set(v___y_3867_, v___x_3931_); +v___x_3933_ = lean_st_ref_take(v___y_3865_); +v_mctx_3934_ = lean_ctor_get(v___x_3933_, 0); +v_zetaDeltaFVarIds_3935_ = lean_ctor_get(v___x_3933_, 2); +v_postponed_3936_ = lean_ctor_get(v___x_3933_, 3); +v_diag_3937_ = lean_ctor_get(v___x_3933_, 4); +v_isSharedCheck_3946_ = !lean_is_exclusive(v___x_3933_); +if (v_isSharedCheck_3946_ == 0) { -lean_object* v_unused_3948_; -v_unused_3948_ = lean_ctor_get(v___x_3934_, 1); -lean_dec(v_unused_3948_); -v___x_3940_ = v___x_3934_; -v_isShared_3941_ = v_isSharedCheck_3947_; -goto v_resetjp_3939_; +lean_object* v_unused_3947_; +v_unused_3947_ = lean_ctor_get(v___x_3933_, 1); +lean_dec(v_unused_3947_); +v___x_3939_ = v___x_3933_; +v_isShared_3940_ = v_isSharedCheck_3946_; +goto v_resetjp_3938_; } else { -lean_inc(v_diag_3938_); -lean_inc(v_postponed_3937_); -lean_inc(v_zetaDeltaFVarIds_3936_); -lean_inc(v_mctx_3935_); -lean_dec(v___x_3934_); -v___x_3940_ = lean_box(0); -v_isShared_3941_ = v_isSharedCheck_3947_; -goto v_resetjp_3939_; +lean_inc(v_diag_3937_); +lean_inc(v_postponed_3936_); +lean_inc(v_zetaDeltaFVarIds_3935_); +lean_inc(v_mctx_3934_); +lean_dec(v___x_3933_); +v___x_3939_ = lean_box(0); +v_isShared_3940_ = v_isSharedCheck_3946_; +goto v_resetjp_3938_; } -v_resetjp_3939_: +v_resetjp_3938_: { -lean_object* v___x_3942_; lean_object* v___x_3944_; -v___x_3942_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3); -if (v_isShared_3941_ == 0) +lean_object* v___x_3941_; lean_object* v___x_3943_; +v___x_3941_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3); +if (v_isShared_3940_ == 0) { -lean_ctor_set(v___x_3940_, 1, v___x_3942_); -v___x_3944_ = v___x_3940_; -goto v_reusejp_3943_; +lean_ctor_set(v___x_3939_, 1, v___x_3941_); +v___x_3943_ = v___x_3939_; +goto v_reusejp_3942_; } else { -lean_object* v_reuseFailAlloc_3946_; -v_reuseFailAlloc_3946_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3946_, 0, v_mctx_3935_); -lean_ctor_set(v_reuseFailAlloc_3946_, 1, v___x_3942_); -lean_ctor_set(v_reuseFailAlloc_3946_, 2, v_zetaDeltaFVarIds_3936_); -lean_ctor_set(v_reuseFailAlloc_3946_, 3, v_postponed_3937_); -lean_ctor_set(v_reuseFailAlloc_3946_, 4, v_diag_3938_); -v___x_3944_ = v_reuseFailAlloc_3946_; -goto v_reusejp_3943_; +lean_object* v_reuseFailAlloc_3945_; +v_reuseFailAlloc_3945_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_3945_, 0, v_mctx_3934_); +lean_ctor_set(v_reuseFailAlloc_3945_, 1, v___x_3941_); +lean_ctor_set(v_reuseFailAlloc_3945_, 2, v_zetaDeltaFVarIds_3935_); +lean_ctor_set(v_reuseFailAlloc_3945_, 3, v_postponed_3936_); +lean_ctor_set(v_reuseFailAlloc_3945_, 4, v_diag_3937_); +v___x_3943_ = v_reuseFailAlloc_3945_; +goto v_reusejp_3942_; } -v_reusejp_3943_: +v_reusejp_3942_: { -lean_object* v___x_3945_; -v___x_3945_ = lean_st_ref_set(v___y_3866_, v___x_3944_); +lean_object* v___x_3944_; +v___x_3944_ = lean_st_ref_set(v___y_3865_, v___x_3943_); v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; +v___y_3846_ = v___x_3870_; +v___y_3847_ = v___y_3860_; v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; +v___y_3849_ = v___y_3862_; +v___y_3850_ = v___y_3863_; +v___y_3851_ = v___y_3864_; +v___y_3852_ = v___y_3865_; +v___y_3853_ = v___y_3866_; +v___y_3854_ = v___y_3867_; goto v___jp_3844_; } } @@ -11693,894 +11692,737 @@ goto v___jp_3844_; else { v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; +v___y_3846_ = v___x_3870_; +v___y_3847_ = v___y_3860_; v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; +v___y_3849_ = v___y_3862_; +v___y_3850_ = v___y_3863_; +v___y_3851_ = v___y_3864_; +v___y_3852_ = v___y_3865_; +v___y_3853_ = v___y_3866_; +v___y_3854_ = v___y_3867_; goto v___jp_3844_; } } default: { -uint8_t v___x_3952_; -v___x_3952_ = l_Lean_Elab_DefKind_isTheorem(v___y_3862_); -if (v___x_3952_ == 0) -{ -lean_object* v___x_3953_; lean_object* v_env_3954_; lean_object* v_nextMacroScope_3955_; lean_object* v_ngen_3956_; lean_object* v_auxDeclNGen_3957_; lean_object* v_traceState_3958_; lean_object* v_messages_3959_; lean_object* v_infoState_3960_; lean_object* v_snapshotTasks_3961_; lean_object* v___x_3963_; uint8_t v_isShared_3964_; uint8_t v_isSharedCheck_3986_; -v___x_3953_ = lean_st_ref_take(v___y_3868_); -v_env_3954_ = lean_ctor_get(v___x_3953_, 0); -v_nextMacroScope_3955_ = lean_ctor_get(v___x_3953_, 1); -v_ngen_3956_ = lean_ctor_get(v___x_3953_, 2); -v_auxDeclNGen_3957_ = lean_ctor_get(v___x_3953_, 3); -v_traceState_3958_ = lean_ctor_get(v___x_3953_, 4); -v_messages_3959_ = lean_ctor_get(v___x_3953_, 6); -v_infoState_3960_ = lean_ctor_get(v___x_3953_, 7); -v_snapshotTasks_3961_ = lean_ctor_get(v___x_3953_, 8); -v_isSharedCheck_3986_ = !lean_is_exclusive(v___x_3953_); -if (v_isSharedCheck_3986_ == 0) -{ -lean_object* v_unused_3987_; -v_unused_3987_ = lean_ctor_get(v___x_3953_, 5); -lean_dec(v_unused_3987_); -v___x_3963_ = v___x_3953_; -v_isShared_3964_ = v_isSharedCheck_3986_; -goto v_resetjp_3962_; -} -else -{ -lean_inc(v_snapshotTasks_3961_); -lean_inc(v_infoState_3960_); -lean_inc(v_messages_3959_); -lean_inc(v_traceState_3958_); -lean_inc(v_auxDeclNGen_3957_); -lean_inc(v_ngen_3956_); -lean_inc(v_nextMacroScope_3955_); -lean_inc(v_env_3954_); -lean_dec(v___x_3953_); -v___x_3963_ = lean_box(0); -v_isShared_3964_ = v_isSharedCheck_3986_; -goto v_resetjp_3962_; -} -v_resetjp_3962_: -{ -lean_object* v___x_3965_; lean_object* v___x_3966_; lean_object* v___x_3968_; -lean_inc(v___y_3860_); -v___x_3965_ = l_Lean_markNotMeta(v_env_3954_, v___y_3860_); -v___x_3966_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); -if (v_isShared_3964_ == 0) -{ -lean_ctor_set(v___x_3963_, 5, v___x_3966_); -lean_ctor_set(v___x_3963_, 0, v___x_3965_); -v___x_3968_ = v___x_3963_; -goto v_reusejp_3967_; -} -else -{ -lean_object* v_reuseFailAlloc_3985_; -v_reuseFailAlloc_3985_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_3985_, 0, v___x_3965_); -lean_ctor_set(v_reuseFailAlloc_3985_, 1, v_nextMacroScope_3955_); -lean_ctor_set(v_reuseFailAlloc_3985_, 2, v_ngen_3956_); -lean_ctor_set(v_reuseFailAlloc_3985_, 3, v_auxDeclNGen_3957_); -lean_ctor_set(v_reuseFailAlloc_3985_, 4, v_traceState_3958_); -lean_ctor_set(v_reuseFailAlloc_3985_, 5, v___x_3966_); -lean_ctor_set(v_reuseFailAlloc_3985_, 6, v_messages_3959_); -lean_ctor_set(v_reuseFailAlloc_3985_, 7, v_infoState_3960_); -lean_ctor_set(v_reuseFailAlloc_3985_, 8, v_snapshotTasks_3961_); -v___x_3968_ = v_reuseFailAlloc_3985_; -goto v_reusejp_3967_; -} -v_reusejp_3967_: -{ -lean_object* v___x_3969_; lean_object* v___x_3970_; lean_object* v_mctx_3971_; lean_object* v_zetaDeltaFVarIds_3972_; lean_object* v_postponed_3973_; lean_object* v_diag_3974_; lean_object* v___x_3976_; uint8_t v_isShared_3977_; uint8_t v_isSharedCheck_3983_; -v___x_3969_ = lean_st_ref_set(v___y_3868_, v___x_3968_); -v___x_3970_ = lean_st_ref_take(v___y_3866_); -v_mctx_3971_ = lean_ctor_get(v___x_3970_, 0); -v_zetaDeltaFVarIds_3972_ = lean_ctor_get(v___x_3970_, 2); -v_postponed_3973_ = lean_ctor_get(v___x_3970_, 3); -v_diag_3974_ = lean_ctor_get(v___x_3970_, 4); -v_isSharedCheck_3983_ = !lean_is_exclusive(v___x_3970_); -if (v_isSharedCheck_3983_ == 0) -{ -lean_object* v_unused_3984_; -v_unused_3984_ = lean_ctor_get(v___x_3970_, 1); -lean_dec(v_unused_3984_); -v___x_3976_ = v___x_3970_; -v_isShared_3977_ = v_isSharedCheck_3983_; -goto v_resetjp_3975_; -} -else -{ -lean_inc(v_diag_3974_); -lean_inc(v_postponed_3973_); -lean_inc(v_zetaDeltaFVarIds_3972_); -lean_inc(v_mctx_3971_); -lean_dec(v___x_3970_); -v___x_3976_ = lean_box(0); -v_isShared_3977_ = v_isSharedCheck_3983_; -goto v_resetjp_3975_; -} -v_resetjp_3975_: -{ -lean_object* v___x_3978_; lean_object* v___x_3980_; -v___x_3978_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__3); -if (v_isShared_3977_ == 0) -{ -lean_ctor_set(v___x_3976_, 1, v___x_3978_); -v___x_3980_ = v___x_3976_; -goto v_reusejp_3979_; -} -else -{ -lean_object* v_reuseFailAlloc_3982_; -v_reuseFailAlloc_3982_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_3982_, 0, v_mctx_3971_); -lean_ctor_set(v_reuseFailAlloc_3982_, 1, v___x_3978_); -lean_ctor_set(v_reuseFailAlloc_3982_, 2, v_zetaDeltaFVarIds_3972_); -lean_ctor_set(v_reuseFailAlloc_3982_, 3, v_postponed_3973_); -lean_ctor_set(v_reuseFailAlloc_3982_, 4, v_diag_3974_); -v___x_3980_ = v_reuseFailAlloc_3982_; -goto v_reusejp_3979_; -} -v_reusejp_3979_: -{ -lean_object* v___x_3981_; -v___x_3981_ = lean_st_ref_set(v___y_3866_, v___x_3980_); v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; +v___y_3846_ = v___x_3870_; +v___y_3847_ = v___y_3860_; v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; +v___y_3849_ = v___y_3862_; +v___y_3850_ = v___y_3863_; +v___y_3851_ = v___y_3864_; +v___y_3852_ = v___y_3865_; +v___y_3853_ = v___y_3866_; +v___y_3854_ = v___y_3867_; goto v___jp_3844_; } } } -} -} else { -v___y_3845_ = v___y_3858_; -v___y_3846_ = v___y_3860_; -v___y_3847_ = v___x_3871_; -v___y_3848_ = v___y_3861_; -v___y_3849_ = v___y_3863_; -v___y_3850_ = v___y_3864_; -v___y_3851_ = v___y_3865_; -v___y_3852_ = v___y_3866_; -v___y_3853_ = v___y_3867_; -v___y_3854_ = v___y_3868_; -goto v___jp_3844_; -} -} -} -} -else -{ -lean_dec_ref(v___x_3871_); -lean_dec(v___y_3868_); -lean_dec_ref(v___y_3867_); -lean_dec(v___y_3866_); -lean_dec_ref(v___y_3865_); -lean_dec(v___y_3864_); -lean_dec_ref(v___y_3863_); -lean_dec_ref(v___y_3861_); +lean_dec_ref(v___x_3870_); +lean_dec(v___y_3867_); +lean_dec_ref(v___y_3866_); +lean_dec(v___y_3865_); +lean_dec_ref(v___y_3864_); +lean_dec(v___y_3863_); +lean_dec_ref(v___y_3862_); +lean_dec(v___y_3861_); lean_dec(v___y_3860_); lean_dec_ref(v___y_3859_); -lean_dec(v___y_3858_); +lean_dec_ref(v___y_3858_); lean_dec_ref(v_docCtx_3803_); -return v___x_3873_; +return v___x_3872_; } } -v___jp_3988_: +v___jp_3951_: { -uint8_t v___x_4000_; lean_object* v___x_4001_; -v___x_4000_ = 0; -lean_inc(v___y_3999_); -lean_inc_ref(v___y_3998_); -lean_inc(v_decl_3993_); -v___x_4001_ = l_Lean_addDecl(v_decl_3993_, v___x_4000_, v___y_3998_, v___y_3999_); -if (lean_obj_tag(v___x_4001_) == 0) +uint8_t v___x_3962_; lean_object* v___x_3963_; +v___x_3962_ = 0; +lean_inc(v___y_3961_); +lean_inc_ref(v___y_3960_); +lean_inc(v_decl_3955_); +v___x_3963_ = l_Lean_addDecl(v_decl_3955_, v___x_3962_, v___y_3960_, v___y_3961_); +if (lean_obj_tag(v___x_3963_) == 0) { -lean_dec_ref(v___x_4001_); +lean_dec_ref(v___x_3963_); if (v_isRecursive_3810_ == 0) { -v___y_3858_ = v_decl_3993_; -v___y_3859_ = v___y_3990_; -v___y_3860_ = v___y_3989_; -v___y_3861_ = v___y_3991_; -v___y_3862_ = v___y_3992_; -v___y_3863_ = v___y_3994_; -v___y_3864_ = v___y_3995_; -v___y_3865_ = v___y_3996_; -v___y_3866_ = v___y_3997_; -v___y_3867_ = v___y_3998_; -v___y_3868_ = v___y_3999_; +v___y_3858_ = v___y_3952_; +v___y_3859_ = v___y_3954_; +v___y_3860_ = v___y_3953_; +v___y_3861_ = v_decl_3955_; +v___y_3862_ = v___y_3956_; +v___y_3863_ = v___y_3957_; +v___y_3864_ = v___y_3958_; +v___y_3865_ = v___y_3959_; +v___y_3866_ = v___y_3960_; +v___y_3867_ = v___y_3961_; goto v___jp_3857_; } else { -lean_object* v___x_4002_; -lean_inc(v___y_3989_); -v___x_4002_ = l_Lean_Meta_markAsRecursive___redArg(v___y_3989_, v___y_3999_); -if (lean_obj_tag(v___x_4002_) == 0) +lean_object* v___x_3964_; +lean_inc(v___y_3953_); +v___x_3964_ = l_Lean_Meta_markAsRecursive___redArg(v___y_3953_, v___y_3961_); +if (lean_obj_tag(v___x_3964_) == 0) { -lean_dec_ref(v___x_4002_); -v___y_3858_ = v_decl_3993_; -v___y_3859_ = v___y_3990_; -v___y_3860_ = v___y_3989_; -v___y_3861_ = v___y_3991_; -v___y_3862_ = v___y_3992_; -v___y_3863_ = v___y_3994_; -v___y_3864_ = v___y_3995_; -v___y_3865_ = v___y_3996_; -v___y_3866_ = v___y_3997_; -v___y_3867_ = v___y_3998_; -v___y_3868_ = v___y_3999_; +lean_dec_ref(v___x_3964_); +v___y_3858_ = v___y_3952_; +v___y_3859_ = v___y_3954_; +v___y_3860_ = v___y_3953_; +v___y_3861_ = v_decl_3955_; +v___y_3862_ = v___y_3956_; +v___y_3863_ = v___y_3957_; +v___y_3864_ = v___y_3958_; +v___y_3865_ = v___y_3959_; +v___y_3866_ = v___y_3960_; +v___y_3867_ = v___y_3961_; goto v___jp_3857_; } else { -lean_dec(v___y_3999_); -lean_dec_ref(v___y_3998_); -lean_dec(v___y_3997_); -lean_dec_ref(v___y_3996_); -lean_dec(v___y_3995_); -lean_dec_ref(v___y_3994_); -lean_dec(v_decl_3993_); -lean_dec_ref(v___y_3991_); -lean_dec_ref(v___y_3990_); -lean_dec(v___y_3989_); +lean_dec(v___y_3961_); +lean_dec_ref(v___y_3960_); +lean_dec(v___y_3959_); +lean_dec_ref(v___y_3958_); +lean_dec(v___y_3957_); +lean_dec_ref(v___y_3956_); +lean_dec(v_decl_3955_); +lean_dec_ref(v___y_3954_); +lean_dec(v___y_3953_); +lean_dec_ref(v___y_3952_); lean_dec_ref(v_docCtx_3803_); -return v___x_4002_; +return v___x_3964_; } } } else { -lean_dec(v___y_3999_); -lean_dec_ref(v___y_3998_); -lean_dec(v___y_3997_); -lean_dec_ref(v___y_3996_); -lean_dec(v___y_3995_); -lean_dec_ref(v___y_3994_); -lean_dec(v_decl_3993_); -lean_dec_ref(v___y_3991_); -lean_dec_ref(v___y_3990_); -lean_dec(v___y_3989_); +lean_dec(v___y_3961_); +lean_dec_ref(v___y_3960_); +lean_dec(v___y_3959_); +lean_dec_ref(v___y_3958_); +lean_dec(v___y_3957_); +lean_dec_ref(v___y_3956_); +lean_dec(v_decl_3955_); +lean_dec_ref(v___y_3954_); +lean_dec(v___y_3953_); +lean_dec_ref(v___y_3952_); lean_dec_ref(v_docCtx_3803_); -return v___x_4001_; +return v___x_3963_; } } -v___jp_4003_: +v___jp_3965_: { -lean_object* v___x_4018_; lean_object* v___x_4019_; -v___x_4018_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_4018_, 0, v___y_4008_); -lean_ctor_set(v___x_4018_, 1, v___y_4013_); -lean_ctor_set(v___x_4018_, 2, v___y_4014_); -lean_ctor_set(v___x_4018_, 3, v_all_3806_); -lean_ctor_set_uint8(v___x_4018_, sizeof(void*)*4, v___y_4017_); -v___x_4019_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4019_, 0, v___x_4018_); -v___y_3989_ = v___y_4015_; -v___y_3990_ = v___y_4005_; -v___y_3991_ = v___y_4006_; -v___y_3992_ = v___y_4016_; -v_decl_3993_ = v___x_4019_; -v___y_3994_ = v___y_4012_; -v___y_3995_ = v___y_4010_; -v___y_3996_ = v___y_4011_; -v___y_3997_ = v___y_4004_; -v___y_3998_ = v___y_4007_; -v___y_3999_ = v___y_4009_; -goto v___jp_3988_; +lean_object* v___x_3979_; lean_object* v___x_3980_; +v___x_3979_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_3979_, 0, v___y_3972_); +lean_ctor_set(v___x_3979_, 1, v___y_3966_); +lean_ctor_set(v___x_3979_, 2, v___y_3975_); +lean_ctor_set(v___x_3979_, 3, v_all_3806_); +lean_ctor_set_uint8(v___x_3979_, sizeof(void*)*4, v___y_3978_); +v___x_3980_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_3980_, 0, v___x_3979_); +v___y_3952_ = v___y_3973_; +v___y_3953_ = v___y_3967_; +v___y_3954_ = v___y_3968_; +v_decl_3955_ = v___x_3980_; +v___y_3956_ = v___y_3977_; +v___y_3957_ = v___y_3976_; +v___y_3958_ = v___y_3971_; +v___y_3959_ = v___y_3969_; +v___y_3960_ = v___y_3970_; +v___y_3961_ = v___y_3974_; +goto v___jp_3951_; } -v___jp_4020_: +v___jp_3981_: { -lean_object* v___x_4035_; lean_object* v___x_4036_; -v___x_4035_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_4035_, 0, v___y_4026_); -lean_ctor_set(v___x_4035_, 1, v___y_4031_); -lean_ctor_set(v___x_4035_, 2, v___y_4025_); -lean_ctor_set(v___x_4035_, 3, v_all_3806_); -lean_ctor_set_uint8(v___x_4035_, sizeof(void*)*4, v___y_4034_); -v___x_4036_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4036_, 0, v___x_4035_); -v___y_3989_ = v___y_4032_; -v___y_3990_ = v___y_4022_; -v___y_3991_ = v___y_4023_; -v___y_3992_ = v___y_4033_; -v_decl_3993_ = v___x_4036_; -v___y_3994_ = v___y_4030_; -v___y_3995_ = v___y_4028_; -v___y_3996_ = v___y_4029_; -v___y_3997_ = v___y_4021_; -v___y_3998_ = v___y_4024_; -v___y_3999_ = v___y_4027_; -goto v___jp_3988_; +lean_object* v___x_3995_; lean_object* v___x_3996_; +v___x_3995_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_3995_, 0, v___y_3989_); +lean_ctor_set(v___x_3995_, 1, v___y_3982_); +lean_ctor_set(v___x_3995_, 2, v___y_3988_); +lean_ctor_set(v___x_3995_, 3, v_all_3806_); +lean_ctor_set_uint8(v___x_3995_, sizeof(void*)*4, v___y_3994_); +v___x_3996_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_3996_, 0, v___x_3995_); +v___y_3952_ = v___y_3990_; +v___y_3953_ = v___y_3983_; +v___y_3954_ = v___y_3984_; +v_decl_3955_ = v___x_3996_; +v___y_3956_ = v___y_3993_; +v___y_3957_ = v___y_3992_; +v___y_3958_ = v___y_3987_; +v___y_3959_ = v___y_3985_; +v___y_3960_ = v___y_3986_; +v___y_3961_ = v___y_3991_; +goto v___jp_3951_; } -v___jp_4037_: +v___jp_3997_: { -lean_object* v___x_4052_; lean_object* v___x_4053_; -v___x_4052_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_4052_, 0, v___y_4042_); -lean_ctor_set(v___x_4052_, 1, v___y_4047_); -lean_ctor_set(v___x_4052_, 2, v___y_4049_); -lean_ctor_set(v___x_4052_, 3, v_all_3806_); -lean_ctor_set_uint8(v___x_4052_, sizeof(void*)*4, v___y_4051_); -v___x_4053_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4053_, 0, v___x_4052_); -v___y_3989_ = v___y_4048_; -v___y_3990_ = v___y_4039_; -v___y_3991_ = v___y_4040_; -v___y_3992_ = v___y_4050_; -v_decl_3993_ = v___x_4053_; -v___y_3994_ = v___y_4046_; -v___y_3995_ = v___y_4044_; -v___y_3996_ = v___y_4045_; -v___y_3997_ = v___y_4038_; -v___y_3998_ = v___y_4041_; -v___y_3999_ = v___y_4043_; -goto v___jp_3988_; +lean_object* v___x_4011_; lean_object* v___x_4012_; +v___x_4011_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_4011_, 0, v___y_4004_); +lean_ctor_set(v___x_4011_, 1, v___y_3998_); +lean_ctor_set(v___x_4011_, 2, v___y_4006_); +lean_ctor_set(v___x_4011_, 3, v_all_3806_); +lean_ctor_set_uint8(v___x_4011_, sizeof(void*)*4, v___y_4010_); +v___x_4012_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_4012_, 0, v___x_4011_); +v___y_3952_ = v___y_4005_; +v___y_3953_ = v___y_3999_; +v___y_3954_ = v___y_4000_; +v_decl_3955_ = v___x_4012_; +v___y_3956_ = v___y_4009_; +v___y_3957_ = v___y_4008_; +v___y_3958_ = v___y_4003_; +v___y_3959_ = v___y_4001_; +v___y_3960_ = v___y_4002_; +v___y_3961_ = v___y_4007_; +goto v___jp_3951_; } -v___jp_4054_: +v___jp_4013_: { -uint8_t v_kind_4062_; lean_object* v_levelParams_4063_; lean_object* v_modifiers_4064_; lean_object* v_declName_4065_; lean_object* v_type_4066_; lean_object* v_value_4067_; lean_object* v___x_4068_; lean_object* v___x_4069_; -v_kind_4062_ = lean_ctor_get_uint8(v_preDef_4055_, sizeof(void*)*9); -v_levelParams_4063_ = lean_ctor_get(v_preDef_4055_, 1); -v_modifiers_4064_ = lean_ctor_get(v_preDef_4055_, 2); -lean_inc_ref(v_modifiers_4064_); -v_declName_4065_ = lean_ctor_get(v_preDef_4055_, 3); -lean_inc(v_declName_4065_); -v_type_4066_ = lean_ctor_get(v_preDef_4055_, 6); -v_value_4067_ = lean_ctor_get(v_preDef_4055_, 7); -lean_inc_ref(v_type_4066_); -lean_inc(v_levelParams_4063_); -lean_inc(v_declName_4065_); -v___x_4068_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_4068_, 0, v_declName_4065_); -lean_ctor_set(v___x_4068_, 1, v_levelParams_4063_); -lean_ctor_set(v___x_4068_, 2, v_type_4066_); +uint8_t v_kind_4021_; lean_object* v_levelParams_4022_; lean_object* v_modifiers_4023_; lean_object* v_declName_4024_; lean_object* v_type_4025_; lean_object* v_value_4026_; lean_object* v___x_4027_; lean_object* v___x_4028_; +v_kind_4021_ = lean_ctor_get_uint8(v_preDef_4014_, sizeof(void*)*9); +v_levelParams_4022_ = lean_ctor_get(v_preDef_4014_, 1); +v_modifiers_4023_ = lean_ctor_get(v_preDef_4014_, 2); +lean_inc_ref(v_modifiers_4023_); +v_declName_4024_ = lean_ctor_get(v_preDef_4014_, 3); +lean_inc(v_declName_4024_); +v_type_4025_ = lean_ctor_get(v_preDef_4014_, 6); +v_value_4026_ = lean_ctor_get(v_preDef_4014_, 7); +lean_inc_ref(v_type_4025_); +lean_inc(v_levelParams_4022_); +lean_inc(v_declName_4024_); +v___x_4027_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_4027_, 0, v_declName_4024_); +lean_ctor_set(v___x_4027_, 1, v_levelParams_4022_); +lean_ctor_set(v___x_4027_, 2, v_type_4025_); lean_inc(v_all_3806_); -lean_inc_ref(v_value_4067_); -lean_inc_ref(v___x_4068_); -v___x_4069_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_4069_, 0, v___x_4068_); -lean_ctor_set(v___x_4069_, 1, v_value_4067_); -lean_ctor_set(v___x_4069_, 2, v_all_3806_); -switch(v_kind_4062_) +lean_inc_ref(v_value_4026_); +lean_inc_ref(v___x_4027_); +v___x_4028_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_4028_, 0, v___x_4027_); +lean_ctor_set(v___x_4028_, 1, v_value_4026_); +lean_ctor_set(v___x_4028_, 2, v_all_3806_); +switch(v_kind_4021_) { case 1: { -lean_object* v___x_4070_; -lean_inc(v___y_4061_); -lean_inc_ref(v___y_4060_); -lean_inc(v___y_4059_); -lean_inc_ref(v___y_4058_); -lean_inc_ref(v_type_4066_); -v___x_4070_ = l_Lean_Meta_isProp(v_type_4066_, v___y_4058_, v___y_4059_, v___y_4060_, v___y_4061_); -if (lean_obj_tag(v___x_4070_) == 0) +lean_object* v___x_4029_; +lean_inc(v___y_4020_); +lean_inc_ref(v___y_4019_); +lean_inc(v___y_4018_); +lean_inc_ref(v___y_4017_); +lean_inc_ref(v_type_4025_); +v___x_4029_ = l_Lean_Meta_isProp(v_type_4025_, v___y_4017_, v___y_4018_, v___y_4019_, v___y_4020_); +if (lean_obj_tag(v___x_4029_) == 0) { -lean_object* v_a_4071_; uint8_t v___x_4072_; -v_a_4071_ = lean_ctor_get(v___x_4070_, 0); -lean_inc(v_a_4071_); -lean_dec_ref(v___x_4070_); -v___x_4072_ = lean_unbox(v_a_4071_); -lean_dec(v_a_4071_); -if (v___x_4072_ == 0) +lean_object* v_a_4030_; uint8_t v___x_4031_; +v_a_4030_ = lean_ctor_get(v___x_4029_, 0); +lean_inc(v_a_4030_); +lean_dec_ref(v___x_4029_); +v___x_4031_ = lean_unbox(v_a_4030_); +lean_dec(v_a_4030_); +if (v___x_4031_ == 0) { -lean_object* v___x_4073_; lean_object* v_env_4074_; uint8_t v_isUnsafe_4075_; uint32_t v___x_4076_; uint32_t v___x_4077_; uint32_t v___x_4078_; lean_object* v___x_4079_; -lean_inc_ref(v_value_4067_); -lean_dec_ref(v___x_4069_); -v___x_4073_ = lean_st_ref_get(v___y_4061_); -v_env_4074_ = lean_ctor_get(v___x_4073_, 0); -lean_inc_ref(v_env_4074_); -lean_dec(v___x_4073_); -v_isUnsafe_4075_ = lean_ctor_get_uint8(v_modifiers_4064_, sizeof(void*)*3 + 4); -lean_inc_ref(v_value_4067_); -v___x_4076_ = l_Lean_getMaxHeight(v_env_4074_, v_value_4067_); -v___x_4077_ = 1; -v___x_4078_ = lean_uint32_add(v___x_4076_, v___x_4077_); -v___x_4079_ = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(v___x_4079_, 0, v___x_4078_); -if (v_isUnsafe_4075_ == 0) +lean_object* v___x_4032_; lean_object* v_env_4033_; uint8_t v_isUnsafe_4034_; uint32_t v___x_4035_; uint32_t v___x_4036_; uint32_t v___x_4037_; lean_object* v___x_4038_; +lean_inc_ref(v_value_4026_); +lean_dec_ref(v___x_4028_); +v___x_4032_ = lean_st_ref_get(v___y_4020_); +v_env_4033_ = lean_ctor_get(v___x_4032_, 0); +lean_inc_ref(v_env_4033_); +lean_dec(v___x_4032_); +v_isUnsafe_4034_ = lean_ctor_get_uint8(v_modifiers_4023_, sizeof(void*)*3 + 4); +lean_inc_ref(v_value_4026_); +v___x_4035_ = l_Lean_getMaxHeight(v_env_4033_, v_value_4026_); +v___x_4036_ = 1; +v___x_4037_ = lean_uint32_add(v___x_4035_, v___x_4036_); +v___x_4038_ = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(v___x_4038_, 0, v___x_4037_); +if (v_isUnsafe_4034_ == 0) { -uint8_t v___x_4080_; -v___x_4080_ = 1; -v___y_4004_ = v___y_4059_; -v___y_4005_ = v_modifiers_4064_; -v___y_4006_ = v_preDef_4055_; -v___y_4007_ = v___y_4060_; -v___y_4008_ = v___x_4068_; -v___y_4009_ = v___y_4061_; -v___y_4010_ = v___y_4057_; -v___y_4011_ = v___y_4058_; -v___y_4012_ = v___y_4056_; -v___y_4013_ = v_value_4067_; -v___y_4014_ = v___x_4079_; -v___y_4015_ = v_declName_4065_; -v___y_4016_ = v_kind_4062_; -v___y_4017_ = v___x_4080_; -goto v___jp_4003_; +uint8_t v___x_4039_; +v___x_4039_ = 1; +v___y_3966_ = v_value_4026_; +v___y_3967_ = v_declName_4024_; +v___y_3968_ = v_modifiers_4023_; +v___y_3969_ = v___y_4018_; +v___y_3970_ = v___y_4019_; +v___y_3971_ = v___y_4017_; +v___y_3972_ = v___x_4027_; +v___y_3973_ = v_preDef_4014_; +v___y_3974_ = v___y_4020_; +v___y_3975_ = v___x_4038_; +v___y_3976_ = v___y_4016_; +v___y_3977_ = v___y_4015_; +v___y_3978_ = v___x_4039_; +goto v___jp_3965_; } else { -uint8_t v___x_4081_; -v___x_4081_ = 0; -v___y_4004_ = v___y_4059_; -v___y_4005_ = v_modifiers_4064_; -v___y_4006_ = v_preDef_4055_; -v___y_4007_ = v___y_4060_; -v___y_4008_ = v___x_4068_; -v___y_4009_ = v___y_4061_; -v___y_4010_ = v___y_4057_; -v___y_4011_ = v___y_4058_; -v___y_4012_ = v___y_4056_; -v___y_4013_ = v_value_4067_; -v___y_4014_ = v___x_4079_; -v___y_4015_ = v_declName_4065_; -v___y_4016_ = v_kind_4062_; -v___y_4017_ = v___x_4081_; -goto v___jp_4003_; +uint8_t v___x_4040_; +v___x_4040_ = 0; +v___y_3966_ = v_value_4026_; +v___y_3967_ = v_declName_4024_; +v___y_3968_ = v_modifiers_4023_; +v___y_3969_ = v___y_4018_; +v___y_3970_ = v___y_4019_; +v___y_3971_ = v___y_4017_; +v___y_3972_ = v___x_4027_; +v___y_3973_ = v_preDef_4014_; +v___y_3974_ = v___y_4020_; +v___y_3975_ = v___x_4038_; +v___y_3976_ = v___y_4016_; +v___y_3977_ = v___y_4015_; +v___y_3978_ = v___x_4040_; +goto v___jp_3965_; } } else { -lean_object* v___x_4082_; -lean_dec_ref(v___x_4068_); +lean_object* v___x_4041_; +lean_dec_ref(v___x_4027_); lean_dec(v_all_3806_); -lean_inc_ref(v___y_4060_); -lean_inc_ref(v___x_4069_); -v___x_4082_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(v___x_4069_, v___y_4056_, v___y_4057_, v___y_4058_, v___y_4059_, v___y_4060_, v___y_4061_); -if (lean_obj_tag(v___x_4082_) == 0) +lean_inc_ref(v___y_4019_); +lean_inc_ref(v___x_4028_); +v___x_4041_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(v___x_4028_, v___y_4015_, v___y_4016_, v___y_4017_, v___y_4018_, v___y_4019_, v___y_4020_); +if (lean_obj_tag(v___x_4041_) == 0) { -lean_object* v___x_4084_; uint8_t v_isShared_4085_; uint8_t v_isSharedCheck_4089_; -v_isSharedCheck_4089_ = !lean_is_exclusive(v___x_4082_); -if (v_isSharedCheck_4089_ == 0) +lean_object* v___x_4043_; uint8_t v_isShared_4044_; uint8_t v_isSharedCheck_4048_; +v_isSharedCheck_4048_ = !lean_is_exclusive(v___x_4041_); +if (v_isSharedCheck_4048_ == 0) { -lean_object* v_unused_4090_; -v_unused_4090_ = lean_ctor_get(v___x_4082_, 0); -lean_dec(v_unused_4090_); -v___x_4084_ = v___x_4082_; -v_isShared_4085_ = v_isSharedCheck_4089_; -goto v_resetjp_4083_; +lean_object* v_unused_4049_; +v_unused_4049_ = lean_ctor_get(v___x_4041_, 0); +lean_dec(v_unused_4049_); +v___x_4043_ = v___x_4041_; +v_isShared_4044_ = v_isSharedCheck_4048_; +goto v_resetjp_4042_; } else { -lean_dec(v___x_4082_); -v___x_4084_ = lean_box(0); -v_isShared_4085_ = v_isSharedCheck_4089_; -goto v_resetjp_4083_; +lean_dec(v___x_4041_); +v___x_4043_ = lean_box(0); +v_isShared_4044_ = v_isSharedCheck_4048_; +goto v_resetjp_4042_; } -v_resetjp_4083_: +v_resetjp_4042_: { -lean_object* v___x_4087_; -if (v_isShared_4085_ == 0) +lean_object* v___x_4046_; +if (v_isShared_4044_ == 0) { -lean_ctor_set_tag(v___x_4084_, 2); -lean_ctor_set(v___x_4084_, 0, v___x_4069_); -v___x_4087_ = v___x_4084_; -goto v_reusejp_4086_; +lean_ctor_set_tag(v___x_4043_, 2); +lean_ctor_set(v___x_4043_, 0, v___x_4028_); +v___x_4046_ = v___x_4043_; +goto v_reusejp_4045_; } else { -lean_object* v_reuseFailAlloc_4088_; -v_reuseFailAlloc_4088_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4088_, 0, v___x_4069_); -v___x_4087_ = v_reuseFailAlloc_4088_; -goto v_reusejp_4086_; +lean_object* v_reuseFailAlloc_4047_; +v_reuseFailAlloc_4047_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4047_, 0, v___x_4028_); +v___x_4046_ = v_reuseFailAlloc_4047_; +goto v_reusejp_4045_; } -v_reusejp_4086_: +v_reusejp_4045_: { -v___y_3989_ = v_declName_4065_; -v___y_3990_ = v_modifiers_4064_; -v___y_3991_ = v_preDef_4055_; -v___y_3992_ = v_kind_4062_; -v_decl_3993_ = v___x_4087_; -v___y_3994_ = v___y_4056_; -v___y_3995_ = v___y_4057_; -v___y_3996_ = v___y_4058_; -v___y_3997_ = v___y_4059_; -v___y_3998_ = v___y_4060_; -v___y_3999_ = v___y_4061_; -goto v___jp_3988_; +v___y_3952_ = v_preDef_4014_; +v___y_3953_ = v_declName_4024_; +v___y_3954_ = v_modifiers_4023_; +v_decl_3955_ = v___x_4046_; +v___y_3956_ = v___y_4015_; +v___y_3957_ = v___y_4016_; +v___y_3958_ = v___y_4017_; +v___y_3959_ = v___y_4018_; +v___y_3960_ = v___y_4019_; +v___y_3961_ = v___y_4020_; +goto v___jp_3951_; } } } else { -lean_dec_ref(v___x_4069_); -lean_dec(v_declName_4065_); -lean_dec_ref(v_modifiers_4064_); -lean_dec(v___y_4061_); -lean_dec_ref(v___y_4060_); -lean_dec(v___y_4059_); -lean_dec_ref(v___y_4058_); -lean_dec(v___y_4057_); -lean_dec_ref(v___y_4056_); -lean_dec_ref(v_preDef_4055_); +lean_dec_ref(v___x_4028_); +lean_dec(v_declName_4024_); +lean_dec_ref(v_modifiers_4023_); +lean_dec(v___y_4020_); +lean_dec_ref(v___y_4019_); +lean_dec(v___y_4018_); +lean_dec_ref(v___y_4017_); +lean_dec(v___y_4016_); +lean_dec_ref(v___y_4015_); +lean_dec_ref(v_preDef_4014_); lean_dec_ref(v_docCtx_3803_); -return v___x_4082_; +return v___x_4041_; } } } else { -lean_object* v_a_4091_; lean_object* v___x_4093_; uint8_t v_isShared_4094_; uint8_t v_isSharedCheck_4098_; -lean_dec_ref(v___x_4069_); -lean_dec_ref(v___x_4068_); -lean_dec(v_declName_4065_); -lean_dec_ref(v_modifiers_4064_); -lean_dec(v___y_4061_); -lean_dec_ref(v___y_4060_); -lean_dec(v___y_4059_); -lean_dec_ref(v___y_4058_); -lean_dec(v___y_4057_); -lean_dec_ref(v___y_4056_); -lean_dec_ref(v_preDef_4055_); +lean_object* v_a_4050_; lean_object* v___x_4052_; uint8_t v_isShared_4053_; uint8_t v_isSharedCheck_4057_; +lean_dec_ref(v___x_4028_); +lean_dec_ref(v___x_4027_); +lean_dec(v_declName_4024_); +lean_dec_ref(v_modifiers_4023_); +lean_dec(v___y_4020_); +lean_dec_ref(v___y_4019_); +lean_dec(v___y_4018_); +lean_dec_ref(v___y_4017_); +lean_dec(v___y_4016_); +lean_dec_ref(v___y_4015_); +lean_dec_ref(v_preDef_4014_); lean_dec(v_all_3806_); lean_dec_ref(v_docCtx_3803_); -v_a_4091_ = lean_ctor_get(v___x_4070_, 0); -v_isSharedCheck_4098_ = !lean_is_exclusive(v___x_4070_); -if (v_isSharedCheck_4098_ == 0) +v_a_4050_ = lean_ctor_get(v___x_4029_, 0); +v_isSharedCheck_4057_ = !lean_is_exclusive(v___x_4029_); +if (v_isSharedCheck_4057_ == 0) { -v___x_4093_ = v___x_4070_; -v_isShared_4094_ = v_isSharedCheck_4098_; -goto v_resetjp_4092_; +v___x_4052_ = v___x_4029_; +v_isShared_4053_ = v_isSharedCheck_4057_; +goto v_resetjp_4051_; } else { -lean_inc(v_a_4091_); -lean_dec(v___x_4070_); -v___x_4093_ = lean_box(0); -v_isShared_4094_ = v_isSharedCheck_4098_; -goto v_resetjp_4092_; +lean_inc(v_a_4050_); +lean_dec(v___x_4029_); +v___x_4052_ = lean_box(0); +v_isShared_4053_ = v_isSharedCheck_4057_; +goto v_resetjp_4051_; } -v_resetjp_4092_: +v_resetjp_4051_: { -lean_object* v___x_4096_; -if (v_isShared_4094_ == 0) +lean_object* v___x_4055_; +if (v_isShared_4053_ == 0) { -v___x_4096_ = v___x_4093_; -goto v_reusejp_4095_; +v___x_4055_ = v___x_4052_; +goto v_reusejp_4054_; } else { -lean_object* v_reuseFailAlloc_4097_; -v_reuseFailAlloc_4097_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4097_, 0, v_a_4091_); -v___x_4096_ = v_reuseFailAlloc_4097_; -goto v_reusejp_4095_; +lean_object* v_reuseFailAlloc_4056_; +v_reuseFailAlloc_4056_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4056_, 0, v_a_4050_); +v___x_4055_ = v_reuseFailAlloc_4056_; +goto v_reusejp_4054_; } -v_reusejp_4095_: +v_reusejp_4054_: { -return v___x_4096_; +return v___x_4055_; } } } } case 2: { -lean_object* v___x_4099_; -lean_dec_ref(v___x_4068_); +lean_object* v___x_4058_; +lean_dec_ref(v___x_4027_); lean_dec(v_all_3806_); -lean_inc_ref(v___y_4060_); -lean_inc_ref(v___x_4069_); -v___x_4099_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(v___x_4069_, v___y_4056_, v___y_4057_, v___y_4058_, v___y_4059_, v___y_4060_, v___y_4061_); -if (lean_obj_tag(v___x_4099_) == 0) +lean_inc_ref(v___y_4019_); +lean_inc_ref(v___x_4028_); +v___x_4058_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_reportTheoremDiag(v___x_4028_, v___y_4015_, v___y_4016_, v___y_4017_, v___y_4018_, v___y_4019_, v___y_4020_); +if (lean_obj_tag(v___x_4058_) == 0) { -lean_object* v___x_4101_; uint8_t v_isShared_4102_; uint8_t v_isSharedCheck_4106_; -v_isSharedCheck_4106_ = !lean_is_exclusive(v___x_4099_); -if (v_isSharedCheck_4106_ == 0) +lean_object* v___x_4060_; uint8_t v_isShared_4061_; uint8_t v_isSharedCheck_4065_; +v_isSharedCheck_4065_ = !lean_is_exclusive(v___x_4058_); +if (v_isSharedCheck_4065_ == 0) { -lean_object* v_unused_4107_; -v_unused_4107_ = lean_ctor_get(v___x_4099_, 0); -lean_dec(v_unused_4107_); -v___x_4101_ = v___x_4099_; -v_isShared_4102_ = v_isSharedCheck_4106_; -goto v_resetjp_4100_; +lean_object* v_unused_4066_; +v_unused_4066_ = lean_ctor_get(v___x_4058_, 0); +lean_dec(v_unused_4066_); +v___x_4060_ = v___x_4058_; +v_isShared_4061_ = v_isSharedCheck_4065_; +goto v_resetjp_4059_; } else { -lean_dec(v___x_4099_); -v___x_4101_ = lean_box(0); -v_isShared_4102_ = v_isSharedCheck_4106_; -goto v_resetjp_4100_; +lean_dec(v___x_4058_); +v___x_4060_ = lean_box(0); +v_isShared_4061_ = v_isSharedCheck_4065_; +goto v_resetjp_4059_; } -v_resetjp_4100_: +v_resetjp_4059_: { -lean_object* v___x_4104_; -if (v_isShared_4102_ == 0) +lean_object* v___x_4063_; +if (v_isShared_4061_ == 0) { -lean_ctor_set_tag(v___x_4101_, 2); -lean_ctor_set(v___x_4101_, 0, v___x_4069_); -v___x_4104_ = v___x_4101_; -goto v_reusejp_4103_; +lean_ctor_set_tag(v___x_4060_, 2); +lean_ctor_set(v___x_4060_, 0, v___x_4028_); +v___x_4063_ = v___x_4060_; +goto v_reusejp_4062_; } else { -lean_object* v_reuseFailAlloc_4105_; -v_reuseFailAlloc_4105_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4105_, 0, v___x_4069_); -v___x_4104_ = v_reuseFailAlloc_4105_; -goto v_reusejp_4103_; +lean_object* v_reuseFailAlloc_4064_; +v_reuseFailAlloc_4064_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4064_, 0, v___x_4028_); +v___x_4063_ = v_reuseFailAlloc_4064_; +goto v_reusejp_4062_; } -v_reusejp_4103_: +v_reusejp_4062_: { -v___y_3989_ = v_declName_4065_; -v___y_3990_ = v_modifiers_4064_; -v___y_3991_ = v_preDef_4055_; -v___y_3992_ = v_kind_4062_; -v_decl_3993_ = v___x_4104_; -v___y_3994_ = v___y_4056_; -v___y_3995_ = v___y_4057_; -v___y_3996_ = v___y_4058_; -v___y_3997_ = v___y_4059_; -v___y_3998_ = v___y_4060_; -v___y_3999_ = v___y_4061_; -goto v___jp_3988_; +v___y_3952_ = v_preDef_4014_; +v___y_3953_ = v_declName_4024_; +v___y_3954_ = v_modifiers_4023_; +v_decl_3955_ = v___x_4063_; +v___y_3956_ = v___y_4015_; +v___y_3957_ = v___y_4016_; +v___y_3958_ = v___y_4017_; +v___y_3959_ = v___y_4018_; +v___y_3960_ = v___y_4019_; +v___y_3961_ = v___y_4020_; +goto v___jp_3951_; } } } else { -lean_dec_ref(v___x_4069_); -lean_dec(v_declName_4065_); -lean_dec_ref(v_modifiers_4064_); -lean_dec(v___y_4061_); -lean_dec_ref(v___y_4060_); -lean_dec(v___y_4059_); -lean_dec_ref(v___y_4058_); -lean_dec(v___y_4057_); -lean_dec_ref(v___y_4056_); -lean_dec_ref(v_preDef_4055_); +lean_dec_ref(v___x_4028_); +lean_dec(v_declName_4024_); +lean_dec_ref(v_modifiers_4023_); +lean_dec(v___y_4020_); +lean_dec_ref(v___y_4019_); +lean_dec(v___y_4018_); +lean_dec_ref(v___y_4017_); +lean_dec(v___y_4016_); +lean_dec_ref(v___y_4015_); +lean_dec_ref(v_preDef_4014_); lean_dec_ref(v_docCtx_3803_); -return v___x_4099_; +return v___x_4058_; } } case 4: { -uint8_t v_isUnsafe_4108_; lean_object* v___x_4109_; lean_object* v___x_4110_; -lean_dec_ref(v___x_4069_); -v_isUnsafe_4108_ = lean_ctor_get_uint8(v_modifiers_4064_, sizeof(void*)*3 + 4); -lean_inc_ref(v_value_4067_); -v___x_4109_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v___x_4109_, 0, v___x_4068_); -lean_ctor_set(v___x_4109_, 1, v_value_4067_); -lean_ctor_set(v___x_4109_, 2, v_all_3806_); -lean_ctor_set_uint8(v___x_4109_, sizeof(void*)*3, v_isUnsafe_4108_); -v___x_4110_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_4110_, 0, v___x_4109_); -v___y_3989_ = v_declName_4065_; -v___y_3990_ = v_modifiers_4064_; -v___y_3991_ = v_preDef_4055_; -v___y_3992_ = v_kind_4062_; -v_decl_3993_ = v___x_4110_; -v___y_3994_ = v___y_4056_; -v___y_3995_ = v___y_4057_; -v___y_3996_ = v___y_4058_; -v___y_3997_ = v___y_4059_; -v___y_3998_ = v___y_4060_; -v___y_3999_ = v___y_4061_; -goto v___jp_3988_; +uint8_t v_isUnsafe_4067_; lean_object* v___x_4068_; lean_object* v___x_4069_; +lean_dec_ref(v___x_4028_); +v_isUnsafe_4067_ = lean_ctor_get_uint8(v_modifiers_4023_, sizeof(void*)*3 + 4); +lean_inc_ref(v_value_4026_); +v___x_4068_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v___x_4068_, 0, v___x_4027_); +lean_ctor_set(v___x_4068_, 1, v_value_4026_); +lean_ctor_set(v___x_4068_, 2, v_all_3806_); +lean_ctor_set_uint8(v___x_4068_, sizeof(void*)*3, v_isUnsafe_4067_); +v___x_4069_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_4069_, 0, v___x_4068_); +v___y_3952_ = v_preDef_4014_; +v___y_3953_ = v_declName_4024_; +v___y_3954_ = v_modifiers_4023_; +v_decl_3955_ = v___x_4069_; +v___y_3956_ = v___y_4015_; +v___y_3957_ = v___y_4016_; +v___y_3958_ = v___y_4017_; +v___y_3959_ = v___y_4018_; +v___y_3960_ = v___y_4019_; +v___y_3961_ = v___y_4020_; +goto v___jp_3951_; } case 5: { -uint8_t v_isUnsafe_4111_; lean_object* v___x_4112_; -lean_inc_ref(v_value_4067_); -lean_dec_ref(v___x_4069_); -v_isUnsafe_4111_ = lean_ctor_get_uint8(v_modifiers_4064_, sizeof(void*)*3 + 4); -v___x_4112_ = lean_box(1); -if (v_isUnsafe_4111_ == 0) +uint8_t v_isUnsafe_4070_; lean_object* v___x_4071_; +lean_inc_ref(v_value_4026_); +lean_dec_ref(v___x_4028_); +v_isUnsafe_4070_ = lean_ctor_get_uint8(v_modifiers_4023_, sizeof(void*)*3 + 4); +v___x_4071_ = lean_box(1); +if (v_isUnsafe_4070_ == 0) { -uint8_t v___x_4113_; -v___x_4113_ = 1; -v___y_4021_ = v___y_4059_; -v___y_4022_ = v_modifiers_4064_; -v___y_4023_ = v_preDef_4055_; -v___y_4024_ = v___y_4060_; -v___y_4025_ = v___x_4112_; -v___y_4026_ = v___x_4068_; -v___y_4027_ = v___y_4061_; -v___y_4028_ = v___y_4057_; -v___y_4029_ = v___y_4058_; -v___y_4030_ = v___y_4056_; -v___y_4031_ = v_value_4067_; -v___y_4032_ = v_declName_4065_; -v___y_4033_ = v_kind_4062_; -v___y_4034_ = v___x_4113_; -goto v___jp_4020_; +uint8_t v___x_4072_; +v___x_4072_ = 1; +v___y_3982_ = v_value_4026_; +v___y_3983_ = v_declName_4024_; +v___y_3984_ = v_modifiers_4023_; +v___y_3985_ = v___y_4018_; +v___y_3986_ = v___y_4019_; +v___y_3987_ = v___y_4017_; +v___y_3988_ = v___x_4071_; +v___y_3989_ = v___x_4027_; +v___y_3990_ = v_preDef_4014_; +v___y_3991_ = v___y_4020_; +v___y_3992_ = v___y_4016_; +v___y_3993_ = v___y_4015_; +v___y_3994_ = v___x_4072_; +goto v___jp_3981_; } else { -uint8_t v___x_4114_; -v___x_4114_ = 0; -v___y_4021_ = v___y_4059_; -v___y_4022_ = v_modifiers_4064_; -v___y_4023_ = v_preDef_4055_; -v___y_4024_ = v___y_4060_; -v___y_4025_ = v___x_4112_; -v___y_4026_ = v___x_4068_; -v___y_4027_ = v___y_4061_; -v___y_4028_ = v___y_4057_; -v___y_4029_ = v___y_4058_; -v___y_4030_ = v___y_4056_; -v___y_4031_ = v_value_4067_; -v___y_4032_ = v_declName_4065_; -v___y_4033_ = v_kind_4062_; -v___y_4034_ = v___x_4114_; -goto v___jp_4020_; +uint8_t v___x_4073_; +v___x_4073_ = 0; +v___y_3982_ = v_value_4026_; +v___y_3983_ = v_declName_4024_; +v___y_3984_ = v_modifiers_4023_; +v___y_3985_ = v___y_4018_; +v___y_3986_ = v___y_4019_; +v___y_3987_ = v___y_4017_; +v___y_3988_ = v___x_4071_; +v___y_3989_ = v___x_4027_; +v___y_3990_ = v_preDef_4014_; +v___y_3991_ = v___y_4020_; +v___y_3992_ = v___y_4016_; +v___y_3993_ = v___y_4015_; +v___y_3994_ = v___x_4073_; +goto v___jp_3981_; } } default: { -lean_object* v___x_4115_; lean_object* v_env_4116_; uint8_t v_isUnsafe_4117_; uint32_t v___x_4118_; uint32_t v___x_4119_; uint32_t v___x_4120_; lean_object* v___x_4121_; -lean_inc_ref(v_value_4067_); -lean_dec_ref(v___x_4069_); -v___x_4115_ = lean_st_ref_get(v___y_4061_); -v_env_4116_ = lean_ctor_get(v___x_4115_, 0); -lean_inc_ref(v_env_4116_); -lean_dec(v___x_4115_); -v_isUnsafe_4117_ = lean_ctor_get_uint8(v_modifiers_4064_, sizeof(void*)*3 + 4); -lean_inc_ref(v_value_4067_); -v___x_4118_ = l_Lean_getMaxHeight(v_env_4116_, v_value_4067_); -v___x_4119_ = 1; -v___x_4120_ = lean_uint32_add(v___x_4118_, v___x_4119_); -v___x_4121_ = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(v___x_4121_, 0, v___x_4120_); -if (v_isUnsafe_4117_ == 0) +lean_object* v___x_4074_; lean_object* v_env_4075_; uint8_t v_isUnsafe_4076_; uint32_t v___x_4077_; uint32_t v___x_4078_; uint32_t v___x_4079_; lean_object* v___x_4080_; +lean_inc_ref(v_value_4026_); +lean_dec_ref(v___x_4028_); +v___x_4074_ = lean_st_ref_get(v___y_4020_); +v_env_4075_ = lean_ctor_get(v___x_4074_, 0); +lean_inc_ref(v_env_4075_); +lean_dec(v___x_4074_); +v_isUnsafe_4076_ = lean_ctor_get_uint8(v_modifiers_4023_, sizeof(void*)*3 + 4); +lean_inc_ref(v_value_4026_); +v___x_4077_ = l_Lean_getMaxHeight(v_env_4075_, v_value_4026_); +v___x_4078_ = 1; +v___x_4079_ = lean_uint32_add(v___x_4077_, v___x_4078_); +v___x_4080_ = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(v___x_4080_, 0, v___x_4079_); +if (v_isUnsafe_4076_ == 0) { -uint8_t v___x_4122_; -v___x_4122_ = 1; -v___y_4038_ = v___y_4059_; -v___y_4039_ = v_modifiers_4064_; -v___y_4040_ = v_preDef_4055_; -v___y_4041_ = v___y_4060_; -v___y_4042_ = v___x_4068_; -v___y_4043_ = v___y_4061_; -v___y_4044_ = v___y_4057_; -v___y_4045_ = v___y_4058_; -v___y_4046_ = v___y_4056_; -v___y_4047_ = v_value_4067_; -v___y_4048_ = v_declName_4065_; -v___y_4049_ = v___x_4121_; -v___y_4050_ = v_kind_4062_; -v___y_4051_ = v___x_4122_; -goto v___jp_4037_; +uint8_t v___x_4081_; +v___x_4081_ = 1; +v___y_3998_ = v_value_4026_; +v___y_3999_ = v_declName_4024_; +v___y_4000_ = v_modifiers_4023_; +v___y_4001_ = v___y_4018_; +v___y_4002_ = v___y_4019_; +v___y_4003_ = v___y_4017_; +v___y_4004_ = v___x_4027_; +v___y_4005_ = v_preDef_4014_; +v___y_4006_ = v___x_4080_; +v___y_4007_ = v___y_4020_; +v___y_4008_ = v___y_4016_; +v___y_4009_ = v___y_4015_; +v___y_4010_ = v___x_4081_; +goto v___jp_3997_; } else { -uint8_t v___x_4123_; -v___x_4123_ = 0; -v___y_4038_ = v___y_4059_; -v___y_4039_ = v_modifiers_4064_; -v___y_4040_ = v_preDef_4055_; -v___y_4041_ = v___y_4060_; -v___y_4042_ = v___x_4068_; -v___y_4043_ = v___y_4061_; -v___y_4044_ = v___y_4057_; -v___y_4045_ = v___y_4058_; -v___y_4046_ = v___y_4056_; -v___y_4047_ = v_value_4067_; -v___y_4048_ = v_declName_4065_; -v___y_4049_ = v___x_4121_; -v___y_4050_ = v_kind_4062_; -v___y_4051_ = v___x_4123_; -goto v___jp_4037_; +uint8_t v___x_4082_; +v___x_4082_ = 0; +v___y_3998_ = v_value_4026_; +v___y_3999_ = v_declName_4024_; +v___y_4000_ = v_modifiers_4023_; +v___y_4001_ = v___y_4018_; +v___y_4002_ = v___y_4019_; +v___y_4003_ = v___y_4017_; +v___y_4004_ = v___x_4027_; +v___y_4005_ = v_preDef_4014_; +v___y_4006_ = v___x_4080_; +v___y_4007_ = v___y_4020_; +v___y_4008_ = v___y_4016_; +v___y_4009_ = v___y_4015_; +v___y_4010_ = v___x_4082_; +goto v___jp_3997_; } } } } -v_resetjp_4141_: +v_resetjp_4100_: { -lean_object* v_ref_4144_; lean_object* v___x_4146_; -v_ref_4144_ = l_Lean_replaceRef(v_ref_4124_, v_ref_4130_); -lean_dec(v_ref_4130_); -if (v_isShared_4143_ == 0) +lean_object* v_ref_4103_; lean_object* v___x_4105_; +v_ref_4103_ = l_Lean_replaceRef(v_ref_4083_, v_ref_4089_); +lean_dec(v_ref_4089_); +if (v_isShared_4102_ == 0) { -lean_ctor_set(v___x_4142_, 5, v_ref_4144_); -v___x_4146_ = v___x_4142_; -goto v_reusejp_4145_; +lean_ctor_set(v___x_4101_, 5, v_ref_4103_); +v___x_4105_ = v___x_4101_; +goto v_reusejp_4104_; } else { -lean_object* v_reuseFailAlloc_4178_; -v_reuseFailAlloc_4178_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_4178_, 0, v_fileName_4125_); -lean_ctor_set(v_reuseFailAlloc_4178_, 1, v_fileMap_4126_); -lean_ctor_set(v_reuseFailAlloc_4178_, 2, v_options_4127_); -lean_ctor_set(v_reuseFailAlloc_4178_, 3, v_currRecDepth_4128_); -lean_ctor_set(v_reuseFailAlloc_4178_, 4, v_maxRecDepth_4129_); -lean_ctor_set(v_reuseFailAlloc_4178_, 5, v_ref_4144_); -lean_ctor_set(v_reuseFailAlloc_4178_, 6, v_currNamespace_4131_); -lean_ctor_set(v_reuseFailAlloc_4178_, 7, v_openDecls_4132_); -lean_ctor_set(v_reuseFailAlloc_4178_, 8, v_initHeartbeats_4133_); -lean_ctor_set(v_reuseFailAlloc_4178_, 9, v_maxHeartbeats_4134_); -lean_ctor_set(v_reuseFailAlloc_4178_, 10, v_quotContext_4135_); -lean_ctor_set(v_reuseFailAlloc_4178_, 11, v_currMacroScope_4136_); -lean_ctor_set(v_reuseFailAlloc_4178_, 12, v_cancelTk_x3f_4138_); -lean_ctor_set(v_reuseFailAlloc_4178_, 13, v_inheritedTraceOptions_4140_); -lean_ctor_set_uint8(v_reuseFailAlloc_4178_, sizeof(void*)*14, v_diag_4137_); -lean_ctor_set_uint8(v_reuseFailAlloc_4178_, sizeof(void*)*14 + 1, v_suppressElabErrors_4139_); -v___x_4146_ = v_reuseFailAlloc_4178_; -goto v_reusejp_4145_; +lean_object* v_reuseFailAlloc_4137_; +v_reuseFailAlloc_4137_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_4137_, 0, v_fileName_4084_); +lean_ctor_set(v_reuseFailAlloc_4137_, 1, v_fileMap_4085_); +lean_ctor_set(v_reuseFailAlloc_4137_, 2, v_options_4086_); +lean_ctor_set(v_reuseFailAlloc_4137_, 3, v_currRecDepth_4087_); +lean_ctor_set(v_reuseFailAlloc_4137_, 4, v_maxRecDepth_4088_); +lean_ctor_set(v_reuseFailAlloc_4137_, 5, v_ref_4103_); +lean_ctor_set(v_reuseFailAlloc_4137_, 6, v_currNamespace_4090_); +lean_ctor_set(v_reuseFailAlloc_4137_, 7, v_openDecls_4091_); +lean_ctor_set(v_reuseFailAlloc_4137_, 8, v_initHeartbeats_4092_); +lean_ctor_set(v_reuseFailAlloc_4137_, 9, v_maxHeartbeats_4093_); +lean_ctor_set(v_reuseFailAlloc_4137_, 10, v_quotContext_4094_); +lean_ctor_set(v_reuseFailAlloc_4137_, 11, v_currMacroScope_4095_); +lean_ctor_set(v_reuseFailAlloc_4137_, 12, v_cancelTk_x3f_4097_); +lean_ctor_set(v_reuseFailAlloc_4137_, 13, v_inheritedTraceOptions_4099_); +lean_ctor_set_uint8(v_reuseFailAlloc_4137_, sizeof(void*)*14, v_diag_4096_); +lean_ctor_set_uint8(v_reuseFailAlloc_4137_, sizeof(void*)*14 + 1, v_suppressElabErrors_4098_); +v___x_4105_ = v_reuseFailAlloc_4137_; +goto v_reusejp_4104_; } -v_reusejp_4145_: +v_reusejp_4104_: { -lean_object* v___x_4147_; +lean_object* v___x_4106_; lean_inc(v_a_3816_); -lean_inc_ref(v___x_4146_); +lean_inc_ref(v___x_4105_); lean_inc(v_a_3814_); lean_inc_ref(v_a_3813_); -v___x_4147_ = l_Lean_Elab_abstractNestedProofs(v_preDef_3804_, v_cacheProofs_3808_, v_a_3813_, v_a_3814_, v___x_4146_, v_a_3816_); -if (lean_obj_tag(v___x_4147_) == 0) +v___x_4106_ = l_Lean_Elab_abstractNestedProofs(v_preDef_3804_, v_cacheProofs_3808_, v_a_3813_, v_a_3814_, v___x_4105_, v_a_3816_); +if (lean_obj_tag(v___x_4106_) == 0) { -lean_object* v_a_4148_; lean_object* v___x_4149_; -v_a_4148_ = lean_ctor_get(v___x_4147_, 0); -lean_inc(v_a_4148_); -lean_dec_ref(v___x_4147_); +lean_object* v_a_4107_; lean_object* v___x_4108_; +v_a_4107_ = lean_ctor_get(v___x_4106_, 0); +lean_inc(v_a_4107_); +lean_dec_ref(v___x_4106_); lean_inc(v_a_3816_); -lean_inc_ref(v___x_4146_); +lean_inc_ref(v___x_4105_); lean_inc(v_a_3814_); lean_inc_ref(v_a_3813_); -v___x_4149_ = l_Lean_Elab_letToHaveType(v_a_4148_, v_a_3813_, v_a_3814_, v___x_4146_, v_a_3816_); -if (lean_obj_tag(v___x_4149_) == 0) +v___x_4108_ = l_Lean_Elab_letToHaveType(v_a_4107_, v_a_3813_, v_a_3814_, v___x_4105_, v_a_3816_); +if (lean_obj_tag(v___x_4108_) == 0) { if (v_cleanupValue_3809_ == 0) { -lean_object* v_a_4150_; -v_a_4150_ = lean_ctor_get(v___x_4149_, 0); -lean_inc(v_a_4150_); -lean_dec_ref(v___x_4149_); -v_preDef_4055_ = v_a_4150_; -v___y_4056_ = v_a_3811_; -v___y_4057_ = v_a_3812_; -v___y_4058_ = v_a_3813_; -v___y_4059_ = v_a_3814_; -v___y_4060_ = v___x_4146_; -v___y_4061_ = v_a_3816_; -goto v___jp_4054_; +lean_object* v_a_4109_; +v_a_4109_ = lean_ctor_get(v___x_4108_, 0); +lean_inc(v_a_4109_); +lean_dec_ref(v___x_4108_); +v_preDef_4014_ = v_a_4109_; +v___y_4015_ = v_a_3811_; +v___y_4016_ = v_a_3812_; +v___y_4017_ = v_a_3813_; +v___y_4018_ = v_a_3814_; +v___y_4019_ = v___x_4105_; +v___y_4020_ = v_a_3816_; +goto v___jp_4013_; } else { -lean_object* v_a_4151_; lean_object* v___x_4152_; -v_a_4151_ = lean_ctor_get(v___x_4149_, 0); -lean_inc(v_a_4151_); -lean_dec_ref(v___x_4149_); +lean_object* v_a_4110_; lean_object* v___x_4111_; +v_a_4110_ = lean_ctor_get(v___x_4108_, 0); +lean_inc(v_a_4110_); +lean_dec_ref(v___x_4108_); lean_inc(v_a_3816_); -lean_inc_ref(v___x_4146_); +lean_inc_ref(v___x_4105_); lean_inc(v_a_3814_); lean_inc_ref(v_a_3813_); -v___x_4152_ = l_Lean_Elab_letToHaveValue(v_a_4151_, v_a_3813_, v_a_3814_, v___x_4146_, v_a_3816_); -if (lean_obj_tag(v___x_4152_) == 0) +v___x_4111_ = l_Lean_Elab_letToHaveValue(v_a_4110_, v_a_3813_, v_a_3814_, v___x_4105_, v_a_3816_); +if (lean_obj_tag(v___x_4111_) == 0) { -lean_object* v_a_4153_; -v_a_4153_ = lean_ctor_get(v___x_4152_, 0); -lean_inc(v_a_4153_); -lean_dec_ref(v___x_4152_); -v_preDef_4055_ = v_a_4153_; -v___y_4056_ = v_a_3811_; -v___y_4057_ = v_a_3812_; -v___y_4058_ = v_a_3813_; -v___y_4059_ = v_a_3814_; -v___y_4060_ = v___x_4146_; -v___y_4061_ = v_a_3816_; -goto v___jp_4054_; +lean_object* v_a_4112_; +v_a_4112_ = lean_ctor_get(v___x_4111_, 0); +lean_inc(v_a_4112_); +lean_dec_ref(v___x_4111_); +v_preDef_4014_ = v_a_4112_; +v___y_4015_ = v_a_3811_; +v___y_4016_ = v_a_3812_; +v___y_4017_ = v_a_3813_; +v___y_4018_ = v_a_3814_; +v___y_4019_ = v___x_4105_; +v___y_4020_ = v_a_3816_; +goto v___jp_4013_; } else { -lean_object* v_a_4154_; lean_object* v___x_4156_; uint8_t v_isShared_4157_; uint8_t v_isSharedCheck_4161_; -lean_dec_ref(v___x_4146_); +lean_object* v_a_4113_; lean_object* v___x_4115_; uint8_t v_isShared_4116_; uint8_t v_isSharedCheck_4120_; +lean_dec_ref(v___x_4105_); lean_dec(v_a_3816_); lean_dec(v_a_3814_); lean_dec_ref(v_a_3813_); @@ -12588,41 +12430,41 @@ lean_dec(v_a_3812_); lean_dec_ref(v_a_3811_); lean_dec(v_all_3806_); lean_dec_ref(v_docCtx_3803_); -v_a_4154_ = lean_ctor_get(v___x_4152_, 0); -v_isSharedCheck_4161_ = !lean_is_exclusive(v___x_4152_); -if (v_isSharedCheck_4161_ == 0) +v_a_4113_ = lean_ctor_get(v___x_4111_, 0); +v_isSharedCheck_4120_ = !lean_is_exclusive(v___x_4111_); +if (v_isSharedCheck_4120_ == 0) { -v___x_4156_ = v___x_4152_; -v_isShared_4157_ = v_isSharedCheck_4161_; -goto v_resetjp_4155_; +v___x_4115_ = v___x_4111_; +v_isShared_4116_ = v_isSharedCheck_4120_; +goto v_resetjp_4114_; } else { -lean_inc(v_a_4154_); -lean_dec(v___x_4152_); -v___x_4156_ = lean_box(0); -v_isShared_4157_ = v_isSharedCheck_4161_; -goto v_resetjp_4155_; +lean_inc(v_a_4113_); +lean_dec(v___x_4111_); +v___x_4115_ = lean_box(0); +v_isShared_4116_ = v_isSharedCheck_4120_; +goto v_resetjp_4114_; } -v_resetjp_4155_: +v_resetjp_4114_: { -lean_object* v___x_4159_; -if (v_isShared_4157_ == 0) +lean_object* v___x_4118_; +if (v_isShared_4116_ == 0) { -v___x_4159_ = v___x_4156_; -goto v_reusejp_4158_; +v___x_4118_ = v___x_4115_; +goto v_reusejp_4117_; } else { -lean_object* v_reuseFailAlloc_4160_; -v_reuseFailAlloc_4160_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4160_, 0, v_a_4154_); -v___x_4159_ = v_reuseFailAlloc_4160_; -goto v_reusejp_4158_; +lean_object* v_reuseFailAlloc_4119_; +v_reuseFailAlloc_4119_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4119_, 0, v_a_4113_); +v___x_4118_ = v_reuseFailAlloc_4119_; +goto v_reusejp_4117_; } -v_reusejp_4158_: +v_reusejp_4117_: { -return v___x_4159_; +return v___x_4118_; } } } @@ -12630,8 +12472,8 @@ return v___x_4159_; } else { -lean_object* v_a_4162_; lean_object* v___x_4164_; uint8_t v_isShared_4165_; uint8_t v_isSharedCheck_4169_; -lean_dec_ref(v___x_4146_); +lean_object* v_a_4121_; lean_object* v___x_4123_; uint8_t v_isShared_4124_; uint8_t v_isSharedCheck_4128_; +lean_dec_ref(v___x_4105_); lean_dec(v_a_3816_); lean_dec(v_a_3814_); lean_dec_ref(v_a_3813_); @@ -12639,49 +12481,49 @@ lean_dec(v_a_3812_); lean_dec_ref(v_a_3811_); lean_dec(v_all_3806_); lean_dec_ref(v_docCtx_3803_); -v_a_4162_ = lean_ctor_get(v___x_4149_, 0); -v_isSharedCheck_4169_ = !lean_is_exclusive(v___x_4149_); -if (v_isSharedCheck_4169_ == 0) +v_a_4121_ = lean_ctor_get(v___x_4108_, 0); +v_isSharedCheck_4128_ = !lean_is_exclusive(v___x_4108_); +if (v_isSharedCheck_4128_ == 0) { -v___x_4164_ = v___x_4149_; -v_isShared_4165_ = v_isSharedCheck_4169_; -goto v_resetjp_4163_; +v___x_4123_ = v___x_4108_; +v_isShared_4124_ = v_isSharedCheck_4128_; +goto v_resetjp_4122_; } else { -lean_inc(v_a_4162_); -lean_dec(v___x_4149_); -v___x_4164_ = lean_box(0); -v_isShared_4165_ = v_isSharedCheck_4169_; -goto v_resetjp_4163_; +lean_inc(v_a_4121_); +lean_dec(v___x_4108_); +v___x_4123_ = lean_box(0); +v_isShared_4124_ = v_isSharedCheck_4128_; +goto v_resetjp_4122_; } -v_resetjp_4163_: +v_resetjp_4122_: { -lean_object* v___x_4167_; -if (v_isShared_4165_ == 0) +lean_object* v___x_4126_; +if (v_isShared_4124_ == 0) { -v___x_4167_ = v___x_4164_; -goto v_reusejp_4166_; +v___x_4126_ = v___x_4123_; +goto v_reusejp_4125_; } else { -lean_object* v_reuseFailAlloc_4168_; -v_reuseFailAlloc_4168_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4168_, 0, v_a_4162_); -v___x_4167_ = v_reuseFailAlloc_4168_; -goto v_reusejp_4166_; +lean_object* v_reuseFailAlloc_4127_; +v_reuseFailAlloc_4127_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4127_, 0, v_a_4121_); +v___x_4126_ = v_reuseFailAlloc_4127_; +goto v_reusejp_4125_; } -v_reusejp_4166_: +v_reusejp_4125_: { -return v___x_4167_; +return v___x_4126_; } } } } else { -lean_object* v_a_4170_; lean_object* v___x_4172_; uint8_t v_isShared_4173_; uint8_t v_isSharedCheck_4177_; -lean_dec_ref(v___x_4146_); +lean_object* v_a_4129_; lean_object* v___x_4131_; uint8_t v_isShared_4132_; uint8_t v_isSharedCheck_4136_; +lean_dec_ref(v___x_4105_); lean_dec(v_a_3816_); lean_dec(v_a_3814_); lean_dec_ref(v_a_3813_); @@ -12689,41 +12531,41 @@ lean_dec(v_a_3812_); lean_dec_ref(v_a_3811_); lean_dec(v_all_3806_); lean_dec_ref(v_docCtx_3803_); -v_a_4170_ = lean_ctor_get(v___x_4147_, 0); -v_isSharedCheck_4177_ = !lean_is_exclusive(v___x_4147_); -if (v_isSharedCheck_4177_ == 0) +v_a_4129_ = lean_ctor_get(v___x_4106_, 0); +v_isSharedCheck_4136_ = !lean_is_exclusive(v___x_4106_); +if (v_isSharedCheck_4136_ == 0) { -v___x_4172_ = v___x_4147_; -v_isShared_4173_ = v_isSharedCheck_4177_; -goto v_resetjp_4171_; +v___x_4131_ = v___x_4106_; +v_isShared_4132_ = v_isSharedCheck_4136_; +goto v_resetjp_4130_; } else { -lean_inc(v_a_4170_); -lean_dec(v___x_4147_); -v___x_4172_ = lean_box(0); -v_isShared_4173_ = v_isSharedCheck_4177_; -goto v_resetjp_4171_; +lean_inc(v_a_4129_); +lean_dec(v___x_4106_); +v___x_4131_ = lean_box(0); +v_isShared_4132_ = v_isSharedCheck_4136_; +goto v_resetjp_4130_; } -v_resetjp_4171_: +v_resetjp_4130_: { -lean_object* v___x_4175_; -if (v_isShared_4173_ == 0) +lean_object* v___x_4134_; +if (v_isShared_4132_ == 0) { -v___x_4175_ = v___x_4172_; -goto v_reusejp_4174_; +v___x_4134_ = v___x_4131_; +goto v_reusejp_4133_; } else { -lean_object* v_reuseFailAlloc_4176_; -v_reuseFailAlloc_4176_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4176_, 0, v_a_4170_); -v___x_4175_ = v_reuseFailAlloc_4176_; -goto v_reusejp_4174_; +lean_object* v_reuseFailAlloc_4135_; +v_reuseFailAlloc_4135_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4135_, 0, v_a_4129_); +v___x_4134_ = v_reuseFailAlloc_4135_; +goto v_reusejp_4133_; } -v_reusejp_4174_: +v_reusejp_4133_: { -return v___x_4175_; +return v___x_4134_; } } } @@ -12731,2147 +12573,2147 @@ return v___x_4175_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object* v_docCtx_4180_, lean_object* v_preDef_4181_, lean_object* v_compile_4182_, lean_object* v_all_4183_, lean_object* v_applyAttrAfterCompilation_4184_, lean_object* v_cacheProofs_4185_, lean_object* v_cleanupValue_4186_, lean_object* v_isRecursive_4187_, lean_object* v_a_4188_, lean_object* v_a_4189_, lean_object* v_a_4190_, lean_object* v_a_4191_, lean_object* v_a_4192_, lean_object* v_a_4193_, lean_object* v_a_4194_){ +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___boxed(lean_object* v_docCtx_4139_, lean_object* v_preDef_4140_, lean_object* v_compile_4141_, lean_object* v_all_4142_, lean_object* v_applyAttrAfterCompilation_4143_, lean_object* v_cacheProofs_4144_, lean_object* v_cleanupValue_4145_, lean_object* v_isRecursive_4146_, lean_object* v_a_4147_, lean_object* v_a_4148_, lean_object* v_a_4149_, lean_object* v_a_4150_, lean_object* v_a_4151_, lean_object* v_a_4152_, lean_object* v_a_4153_){ _start: { -uint8_t v_compile_boxed_4195_; uint8_t v_applyAttrAfterCompilation_boxed_4196_; uint8_t v_cacheProofs_boxed_4197_; uint8_t v_cleanupValue_boxed_4198_; uint8_t v_isRecursive_boxed_4199_; lean_object* v_res_4200_; -v_compile_boxed_4195_ = lean_unbox(v_compile_4182_); -v_applyAttrAfterCompilation_boxed_4196_ = lean_unbox(v_applyAttrAfterCompilation_4184_); -v_cacheProofs_boxed_4197_ = lean_unbox(v_cacheProofs_4185_); -v_cleanupValue_boxed_4198_ = lean_unbox(v_cleanupValue_4186_); -v_isRecursive_boxed_4199_ = lean_unbox(v_isRecursive_4187_); -v_res_4200_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4180_, v_preDef_4181_, v_compile_boxed_4195_, v_all_4183_, v_applyAttrAfterCompilation_boxed_4196_, v_cacheProofs_boxed_4197_, v_cleanupValue_boxed_4198_, v_isRecursive_boxed_4199_, v_a_4188_, v_a_4189_, v_a_4190_, v_a_4191_, v_a_4192_, v_a_4193_); -return v_res_4200_; +uint8_t v_compile_boxed_4154_; uint8_t v_applyAttrAfterCompilation_boxed_4155_; uint8_t v_cacheProofs_boxed_4156_; uint8_t v_cleanupValue_boxed_4157_; uint8_t v_isRecursive_boxed_4158_; lean_object* v_res_4159_; +v_compile_boxed_4154_ = lean_unbox(v_compile_4141_); +v_applyAttrAfterCompilation_boxed_4155_ = lean_unbox(v_applyAttrAfterCompilation_4143_); +v_cacheProofs_boxed_4156_ = lean_unbox(v_cacheProofs_4144_); +v_cleanupValue_boxed_4157_ = lean_unbox(v_cleanupValue_4145_); +v_isRecursive_boxed_4158_ = lean_unbox(v_isRecursive_4146_); +v_res_4159_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4139_, v_preDef_4140_, v_compile_boxed_4154_, v_all_4142_, v_applyAttrAfterCompilation_boxed_4155_, v_cacheProofs_boxed_4156_, v_cleanupValue_boxed_4157_, v_isRecursive_boxed_4158_, v_a_4147_, v_a_4148_, v_a_4149_, v_a_4150_, v_a_4151_, v_a_4152_); +return v_res_4159_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object* v_docCtx_4201_, lean_object* v_preDef_4202_, lean_object* v_all_4203_, uint8_t v_cleanupValue_4204_, uint8_t v_isRecursive_4205_, lean_object* v_a_4206_, lean_object* v_a_4207_, lean_object* v_a_4208_, lean_object* v_a_4209_, lean_object* v_a_4210_, lean_object* v_a_4211_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec(lean_object* v_docCtx_4160_, lean_object* v_preDef_4161_, lean_object* v_all_4162_, uint8_t v_cleanupValue_4163_, uint8_t v_isRecursive_4164_, lean_object* v_a_4165_, lean_object* v_a_4166_, lean_object* v_a_4167_, lean_object* v_a_4168_, lean_object* v_a_4169_, lean_object* v_a_4170_){ _start: { -uint8_t v___x_4213_; lean_object* v___x_4214_; -v___x_4213_ = 1; -v___x_4214_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4201_, v_preDef_4202_, v___x_4213_, v_all_4203_, v___x_4213_, v___x_4213_, v_cleanupValue_4204_, v_isRecursive_4205_, v_a_4206_, v_a_4207_, v_a_4208_, v_a_4209_, v_a_4210_, v_a_4211_); -return v___x_4214_; +uint8_t v___x_4172_; lean_object* v___x_4173_; +v___x_4172_ = 1; +v___x_4173_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4160_, v_preDef_4161_, v___x_4172_, v_all_4162_, v___x_4172_, v___x_4172_, v_cleanupValue_4163_, v_isRecursive_4164_, v_a_4165_, v_a_4166_, v_a_4167_, v_a_4168_, v_a_4169_, v_a_4170_); +return v___x_4173_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object* v_docCtx_4215_, lean_object* v_preDef_4216_, lean_object* v_all_4217_, lean_object* v_cleanupValue_4218_, lean_object* v_isRecursive_4219_, lean_object* v_a_4220_, lean_object* v_a_4221_, lean_object* v_a_4222_, lean_object* v_a_4223_, lean_object* v_a_4224_, lean_object* v_a_4225_, lean_object* v_a_4226_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileNonRec___boxed(lean_object* v_docCtx_4174_, lean_object* v_preDef_4175_, lean_object* v_all_4176_, lean_object* v_cleanupValue_4177_, lean_object* v_isRecursive_4178_, lean_object* v_a_4179_, lean_object* v_a_4180_, lean_object* v_a_4181_, lean_object* v_a_4182_, lean_object* v_a_4183_, lean_object* v_a_4184_, lean_object* v_a_4185_){ _start: { -uint8_t v_cleanupValue_boxed_4227_; uint8_t v_isRecursive_boxed_4228_; lean_object* v_res_4229_; -v_cleanupValue_boxed_4227_ = lean_unbox(v_cleanupValue_4218_); -v_isRecursive_boxed_4228_ = lean_unbox(v_isRecursive_4219_); -v_res_4229_ = l_Lean_Elab_addAndCompileNonRec(v_docCtx_4215_, v_preDef_4216_, v_all_4217_, v_cleanupValue_boxed_4227_, v_isRecursive_boxed_4228_, v_a_4220_, v_a_4221_, v_a_4222_, v_a_4223_, v_a_4224_, v_a_4225_); -return v_res_4229_; +uint8_t v_cleanupValue_boxed_4186_; uint8_t v_isRecursive_boxed_4187_; lean_object* v_res_4188_; +v_cleanupValue_boxed_4186_ = lean_unbox(v_cleanupValue_4177_); +v_isRecursive_boxed_4187_ = lean_unbox(v_isRecursive_4178_); +v_res_4188_ = l_Lean_Elab_addAndCompileNonRec(v_docCtx_4174_, v_preDef_4175_, v_all_4176_, v_cleanupValue_boxed_4186_, v_isRecursive_boxed_4187_, v_a_4179_, v_a_4180_, v_a_4181_, v_a_4182_, v_a_4183_, v_a_4184_); +return v_res_4188_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object* v_docCtx_4230_, lean_object* v_preDef_4231_, uint8_t v_applyAttrAfterCompilation_4232_, lean_object* v_all_4233_, uint8_t v_cacheProofs_4234_, uint8_t v_cleanupValue_4235_, uint8_t v_isRecursive_4236_, lean_object* v_a_4237_, lean_object* v_a_4238_, lean_object* v_a_4239_, lean_object* v_a_4240_, lean_object* v_a_4241_, lean_object* v_a_4242_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec(lean_object* v_docCtx_4189_, lean_object* v_preDef_4190_, uint8_t v_applyAttrAfterCompilation_4191_, lean_object* v_all_4192_, uint8_t v_cacheProofs_4193_, uint8_t v_cleanupValue_4194_, uint8_t v_isRecursive_4195_, lean_object* v_a_4196_, lean_object* v_a_4197_, lean_object* v_a_4198_, lean_object* v_a_4199_, lean_object* v_a_4200_, lean_object* v_a_4201_){ _start: { -uint8_t v___x_4244_; lean_object* v___x_4245_; -v___x_4244_ = 0; -v___x_4245_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4230_, v_preDef_4231_, v___x_4244_, v_all_4233_, v_applyAttrAfterCompilation_4232_, v_cacheProofs_4234_, v_cleanupValue_4235_, v_isRecursive_4236_, v_a_4237_, v_a_4238_, v_a_4239_, v_a_4240_, v_a_4241_, v_a_4242_); -return v___x_4245_; +uint8_t v___x_4203_; lean_object* v___x_4204_; +v___x_4203_ = 0; +v___x_4204_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux(v_docCtx_4189_, v_preDef_4190_, v___x_4203_, v_all_4192_, v_applyAttrAfterCompilation_4191_, v_cacheProofs_4193_, v_cleanupValue_4194_, v_isRecursive_4195_, v_a_4196_, v_a_4197_, v_a_4198_, v_a_4199_, v_a_4200_, v_a_4201_); +return v___x_4204_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object* v_docCtx_4246_, lean_object* v_preDef_4247_, lean_object* v_applyAttrAfterCompilation_4248_, lean_object* v_all_4249_, lean_object* v_cacheProofs_4250_, lean_object* v_cleanupValue_4251_, lean_object* v_isRecursive_4252_, lean_object* v_a_4253_, lean_object* v_a_4254_, lean_object* v_a_4255_, lean_object* v_a_4256_, lean_object* v_a_4257_, lean_object* v_a_4258_, lean_object* v_a_4259_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addNonRec___boxed(lean_object* v_docCtx_4205_, lean_object* v_preDef_4206_, lean_object* v_applyAttrAfterCompilation_4207_, lean_object* v_all_4208_, lean_object* v_cacheProofs_4209_, lean_object* v_cleanupValue_4210_, lean_object* v_isRecursive_4211_, lean_object* v_a_4212_, lean_object* v_a_4213_, lean_object* v_a_4214_, lean_object* v_a_4215_, lean_object* v_a_4216_, lean_object* v_a_4217_, lean_object* v_a_4218_){ _start: { -uint8_t v_applyAttrAfterCompilation_boxed_4260_; uint8_t v_cacheProofs_boxed_4261_; uint8_t v_cleanupValue_boxed_4262_; uint8_t v_isRecursive_boxed_4263_; lean_object* v_res_4264_; -v_applyAttrAfterCompilation_boxed_4260_ = lean_unbox(v_applyAttrAfterCompilation_4248_); -v_cacheProofs_boxed_4261_ = lean_unbox(v_cacheProofs_4250_); -v_cleanupValue_boxed_4262_ = lean_unbox(v_cleanupValue_4251_); -v_isRecursive_boxed_4263_ = lean_unbox(v_isRecursive_4252_); -v_res_4264_ = l_Lean_Elab_addNonRec(v_docCtx_4246_, v_preDef_4247_, v_applyAttrAfterCompilation_boxed_4260_, v_all_4249_, v_cacheProofs_boxed_4261_, v_cleanupValue_boxed_4262_, v_isRecursive_boxed_4263_, v_a_4253_, v_a_4254_, v_a_4255_, v_a_4256_, v_a_4257_, v_a_4258_); -return v_res_4264_; +uint8_t v_applyAttrAfterCompilation_boxed_4219_; uint8_t v_cacheProofs_boxed_4220_; uint8_t v_cleanupValue_boxed_4221_; uint8_t v_isRecursive_boxed_4222_; lean_object* v_res_4223_; +v_applyAttrAfterCompilation_boxed_4219_ = lean_unbox(v_applyAttrAfterCompilation_4207_); +v_cacheProofs_boxed_4220_ = lean_unbox(v_cacheProofs_4209_); +v_cleanupValue_boxed_4221_ = lean_unbox(v_cleanupValue_4210_); +v_isRecursive_boxed_4222_ = lean_unbox(v_isRecursive_4211_); +v_res_4223_ = l_Lean_Elab_addNonRec(v_docCtx_4205_, v_preDef_4206_, v_applyAttrAfterCompilation_boxed_4219_, v_all_4208_, v_cacheProofs_boxed_4220_, v_cleanupValue_boxed_4221_, v_isRecursive_boxed_4222_, v_a_4212_, v_a_4213_, v_a_4214_, v_a_4215_, v_a_4216_, v_a_4217_); +return v_res_4223_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(lean_object* v_x_4267_, lean_object* v___y_4268_, lean_object* v___y_4269_){ +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(lean_object* v_x_4226_, lean_object* v___y_4227_, lean_object* v___y_4228_){ _start: { -lean_object* v___x_4271_; lean_object* v___x_4272_; -v___x_4271_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___closed__0)); -v___x_4272_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4272_, 0, v___x_4271_); +lean_object* v___x_4230_; lean_object* v___x_4231_; +v___x_4230_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___closed__0)); +v___x_4231_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4231_, 0, v___x_4230_); +return v___x_4231_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___boxed(lean_object* v_x_4232_, lean_object* v___y_4233_, lean_object* v___y_4234_, lean_object* v___y_4235_){ +_start: +{ +lean_object* v_res_4236_; +v_res_4236_ = l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(v_x_4232_, v___y_4233_, v___y_4234_); +lean_dec(v___y_4234_); +lean_dec_ref(v___y_4233_); +lean_dec_ref(v_x_4232_); +return v_res_4236_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1(lean_object* v_e_4237_, lean_object* v___y_4238_, lean_object* v___y_4239_){ +_start: +{ +lean_object* v___y_4242_; uint8_t v___x_4245_; +v___x_4245_ = l_Lean_hasRecAppSyntax(v_e_4237_); +if (v___x_4245_ == 0) +{ +v___y_4242_ = v_e_4237_; +goto v___jp_4241_; +} +else +{ +lean_object* v___x_4246_; +v___x_4246_ = l_Lean_Expr_mdataExpr_x21(v_e_4237_); +lean_dec_ref(v_e_4237_); +v___y_4242_ = v___x_4246_; +goto v___jp_4241_; +} +v___jp_4241_: +{ +lean_object* v___x_4243_; lean_object* v___x_4244_; +v___x_4243_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4243_, 0, v___y_4242_); +v___x_4244_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4244_, 0, v___x_4243_); +return v___x_4244_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1___boxed(lean_object* v_e_4247_, lean_object* v___y_4248_, lean_object* v___y_4249_, lean_object* v___y_4250_){ +_start: +{ +lean_object* v_res_4251_; +v_res_4251_ = l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1(v_e_4247_, v___y_4248_, v___y_4249_); +lean_dec(v___y_4249_); +lean_dec_ref(v___y_4248_); +return v_res_4251_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(lean_object* v_a_4252_, lean_object* v_b_4253_, lean_object* v_x_4254_){ +_start: +{ +if (lean_obj_tag(v_x_4254_) == 0) +{ +lean_dec(v_b_4253_); +lean_dec_ref(v_a_4252_); +return v_x_4254_; +} +else +{ +lean_object* v_key_4255_; lean_object* v_value_4256_; lean_object* v_tail_4257_; lean_object* v___x_4259_; uint8_t v_isShared_4260_; uint8_t v_isSharedCheck_4269_; +v_key_4255_ = lean_ctor_get(v_x_4254_, 0); +v_value_4256_ = lean_ctor_get(v_x_4254_, 1); +v_tail_4257_ = lean_ctor_get(v_x_4254_, 2); +v_isSharedCheck_4269_ = !lean_is_exclusive(v_x_4254_); +if (v_isSharedCheck_4269_ == 0) +{ +v___x_4259_ = v_x_4254_; +v_isShared_4260_ = v_isSharedCheck_4269_; +goto v_resetjp_4258_; +} +else +{ +lean_inc(v_tail_4257_); +lean_inc(v_value_4256_); +lean_inc(v_key_4255_); +lean_dec(v_x_4254_); +v___x_4259_ = lean_box(0); +v_isShared_4260_ = v_isSharedCheck_4269_; +goto v_resetjp_4258_; +} +v_resetjp_4258_: +{ +uint8_t v___x_4261_; +v___x_4261_ = l_Lean_ExprStructEq_beq(v_key_4255_, v_a_4252_); +if (v___x_4261_ == 0) +{ +lean_object* v___x_4262_; lean_object* v___x_4264_; +v___x_4262_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_4252_, v_b_4253_, v_tail_4257_); +if (v_isShared_4260_ == 0) +{ +lean_ctor_set(v___x_4259_, 2, v___x_4262_); +v___x_4264_ = v___x_4259_; +goto v_reusejp_4263_; +} +else +{ +lean_object* v_reuseFailAlloc_4265_; +v_reuseFailAlloc_4265_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4265_, 0, v_key_4255_); +lean_ctor_set(v_reuseFailAlloc_4265_, 1, v_value_4256_); +lean_ctor_set(v_reuseFailAlloc_4265_, 2, v___x_4262_); +v___x_4264_ = v_reuseFailAlloc_4265_; +goto v_reusejp_4263_; +} +v_reusejp_4263_: +{ +return v___x_4264_; +} +} +else +{ +lean_object* v___x_4267_; +lean_dec(v_value_4256_); +lean_dec(v_key_4255_); +if (v_isShared_4260_ == 0) +{ +lean_ctor_set(v___x_4259_, 1, v_b_4253_); +lean_ctor_set(v___x_4259_, 0, v_a_4252_); +v___x_4267_ = v___x_4259_; +goto v_reusejp_4266_; +} +else +{ +lean_object* v_reuseFailAlloc_4268_; +v_reuseFailAlloc_4268_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4268_, 0, v_a_4252_); +lean_ctor_set(v_reuseFailAlloc_4268_, 1, v_b_4253_); +lean_ctor_set(v_reuseFailAlloc_4268_, 2, v_tail_4257_); +v___x_4267_ = v_reuseFailAlloc_4268_; +goto v_reusejp_4266_; +} +v_reusejp_4266_: +{ +return v___x_4267_; +} +} +} +} +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(lean_object* v_a_4270_, lean_object* v_x_4271_){ +_start: +{ +if (lean_obj_tag(v_x_4271_) == 0) +{ +uint8_t v___x_4272_; +v___x_4272_ = 0; return v___x_4272_; } -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0___boxed(lean_object* v_x_4273_, lean_object* v___y_4274_, lean_object* v___y_4275_, lean_object* v___y_4276_){ -_start: -{ -lean_object* v_res_4277_; -v_res_4277_ = l_Lean_Elab_eraseRecAppSyntaxExpr___lam__0(v_x_4273_, v___y_4274_, v___y_4275_); -lean_dec(v___y_4275_); -lean_dec_ref(v___y_4274_); -lean_dec_ref(v_x_4273_); -return v_res_4277_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1(lean_object* v_e_4278_, lean_object* v___y_4279_, lean_object* v___y_4280_){ -_start: -{ -lean_object* v___y_4283_; uint8_t v___x_4286_; -v___x_4286_ = l_Lean_hasRecAppSyntax(v_e_4278_); -if (v___x_4286_ == 0) -{ -v___y_4283_ = v_e_4278_; -goto v___jp_4282_; -} else { -lean_object* v___x_4287_; -v___x_4287_ = l_Lean_Expr_mdataExpr_x21(v_e_4278_); -lean_dec_ref(v_e_4278_); -v___y_4283_ = v___x_4287_; -goto v___jp_4282_; -} -v___jp_4282_: +lean_object* v_key_4273_; lean_object* v_tail_4274_; uint8_t v___x_4275_; +v_key_4273_ = lean_ctor_get(v_x_4271_, 0); +v_tail_4274_ = lean_ctor_get(v_x_4271_, 2); +v___x_4275_ = l_Lean_ExprStructEq_beq(v_key_4273_, v_a_4270_); +if (v___x_4275_ == 0) { -lean_object* v___x_4284_; lean_object* v___x_4285_; -v___x_4284_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4284_, 0, v___y_4283_); -v___x_4285_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4285_, 0, v___x_4284_); -return v___x_4285_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1___boxed(lean_object* v_e_4288_, lean_object* v___y_4289_, lean_object* v___y_4290_, lean_object* v___y_4291_){ -_start: -{ -lean_object* v_res_4292_; -v_res_4292_ = l_Lean_Elab_eraseRecAppSyntaxExpr___lam__1(v_e_4288_, v___y_4289_, v___y_4290_); -lean_dec(v___y_4290_); -lean_dec_ref(v___y_4289_); -return v_res_4292_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(lean_object* v_a_4293_, lean_object* v_b_4294_, lean_object* v_x_4295_){ -_start: -{ -if (lean_obj_tag(v_x_4295_) == 0) -{ -lean_dec(v_b_4294_); -lean_dec_ref(v_a_4293_); -return v_x_4295_; -} -else -{ -lean_object* v_key_4296_; lean_object* v_value_4297_; lean_object* v_tail_4298_; lean_object* v___x_4300_; uint8_t v_isShared_4301_; uint8_t v_isSharedCheck_4310_; -v_key_4296_ = lean_ctor_get(v_x_4295_, 0); -v_value_4297_ = lean_ctor_get(v_x_4295_, 1); -v_tail_4298_ = lean_ctor_get(v_x_4295_, 2); -v_isSharedCheck_4310_ = !lean_is_exclusive(v_x_4295_); -if (v_isSharedCheck_4310_ == 0) -{ -v___x_4300_ = v_x_4295_; -v_isShared_4301_ = v_isSharedCheck_4310_; -goto v_resetjp_4299_; -} -else -{ -lean_inc(v_tail_4298_); -lean_inc(v_value_4297_); -lean_inc(v_key_4296_); -lean_dec(v_x_4295_); -v___x_4300_ = lean_box(0); -v_isShared_4301_ = v_isSharedCheck_4310_; -goto v_resetjp_4299_; -} -v_resetjp_4299_: -{ -uint8_t v___x_4302_; -v___x_4302_ = l_Lean_ExprStructEq_beq(v_key_4296_, v_a_4293_); -if (v___x_4302_ == 0) -{ -lean_object* v___x_4303_; lean_object* v___x_4305_; -v___x_4303_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_4293_, v_b_4294_, v_tail_4298_); -if (v_isShared_4301_ == 0) -{ -lean_ctor_set(v___x_4300_, 2, v___x_4303_); -v___x_4305_ = v___x_4300_; -goto v_reusejp_4304_; -} -else -{ -lean_object* v_reuseFailAlloc_4306_; -v_reuseFailAlloc_4306_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4306_, 0, v_key_4296_); -lean_ctor_set(v_reuseFailAlloc_4306_, 1, v_value_4297_); -lean_ctor_set(v_reuseFailAlloc_4306_, 2, v___x_4303_); -v___x_4305_ = v_reuseFailAlloc_4306_; -goto v_reusejp_4304_; -} -v_reusejp_4304_: -{ -return v___x_4305_; -} -} -else -{ -lean_object* v___x_4308_; -lean_dec(v_value_4297_); -lean_dec(v_key_4296_); -if (v_isShared_4301_ == 0) -{ -lean_ctor_set(v___x_4300_, 1, v_b_4294_); -lean_ctor_set(v___x_4300_, 0, v_a_4293_); -v___x_4308_ = v___x_4300_; -goto v_reusejp_4307_; -} -else -{ -lean_object* v_reuseFailAlloc_4309_; -v_reuseFailAlloc_4309_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4309_, 0, v_a_4293_); -lean_ctor_set(v_reuseFailAlloc_4309_, 1, v_b_4294_); -lean_ctor_set(v_reuseFailAlloc_4309_, 2, v_tail_4298_); -v___x_4308_ = v_reuseFailAlloc_4309_; -goto v_reusejp_4307_; -} -v_reusejp_4307_: -{ -return v___x_4308_; -} -} -} -} -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(lean_object* v_a_4311_, lean_object* v_x_4312_){ -_start: -{ -if (lean_obj_tag(v_x_4312_) == 0) -{ -uint8_t v___x_4313_; -v___x_4313_ = 0; -return v___x_4313_; -} -else -{ -lean_object* v_key_4314_; lean_object* v_tail_4315_; uint8_t v___x_4316_; -v_key_4314_ = lean_ctor_get(v_x_4312_, 0); -v_tail_4315_ = lean_ctor_get(v_x_4312_, 2); -v___x_4316_ = l_Lean_ExprStructEq_beq(v_key_4314_, v_a_4311_); -if (v___x_4316_ == 0) -{ -v_x_4312_ = v_tail_4315_; +v_x_4271_ = v_tail_4274_; goto _start; } else { -return v___x_4316_; +return v___x_4275_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg___boxed(lean_object* v_a_4318_, lean_object* v_x_4319_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg___boxed(lean_object* v_a_4277_, lean_object* v_x_4278_){ _start: { -uint8_t v_res_4320_; lean_object* v_r_4321_; -v_res_4320_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_4318_, v_x_4319_); -lean_dec(v_x_4319_); -lean_dec_ref(v_a_4318_); -v_r_4321_ = lean_box(v_res_4320_); -return v_r_4321_; +uint8_t v_res_4279_; lean_object* v_r_4280_; +v_res_4279_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_4277_, v_x_4278_); +lean_dec(v_x_4278_); +lean_dec_ref(v_a_4277_); +v_r_4280_ = lean_box(v_res_4279_); +return v_r_4280_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(lean_object* v_x_4322_, lean_object* v_x_4323_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(lean_object* v_x_4281_, lean_object* v_x_4282_){ _start: { -if (lean_obj_tag(v_x_4323_) == 0) +if (lean_obj_tag(v_x_4282_) == 0) { -return v_x_4322_; +return v_x_4281_; } else { -lean_object* v_key_4324_; lean_object* v_value_4325_; lean_object* v_tail_4326_; lean_object* v___x_4328_; uint8_t v_isShared_4329_; uint8_t v_isSharedCheck_4349_; -v_key_4324_ = lean_ctor_get(v_x_4323_, 0); -v_value_4325_ = lean_ctor_get(v_x_4323_, 1); -v_tail_4326_ = lean_ctor_get(v_x_4323_, 2); -v_isSharedCheck_4349_ = !lean_is_exclusive(v_x_4323_); -if (v_isSharedCheck_4349_ == 0) +lean_object* v_key_4283_; lean_object* v_value_4284_; lean_object* v_tail_4285_; lean_object* v___x_4287_; uint8_t v_isShared_4288_; uint8_t v_isSharedCheck_4308_; +v_key_4283_ = lean_ctor_get(v_x_4282_, 0); +v_value_4284_ = lean_ctor_get(v_x_4282_, 1); +v_tail_4285_ = lean_ctor_get(v_x_4282_, 2); +v_isSharedCheck_4308_ = !lean_is_exclusive(v_x_4282_); +if (v_isSharedCheck_4308_ == 0) { -v___x_4328_ = v_x_4323_; -v_isShared_4329_ = v_isSharedCheck_4349_; -goto v_resetjp_4327_; +v___x_4287_ = v_x_4282_; +v_isShared_4288_ = v_isSharedCheck_4308_; +goto v_resetjp_4286_; } else { -lean_inc(v_tail_4326_); -lean_inc(v_value_4325_); -lean_inc(v_key_4324_); -lean_dec(v_x_4323_); -v___x_4328_ = lean_box(0); -v_isShared_4329_ = v_isSharedCheck_4349_; -goto v_resetjp_4327_; +lean_inc(v_tail_4285_); +lean_inc(v_value_4284_); +lean_inc(v_key_4283_); +lean_dec(v_x_4282_); +v___x_4287_ = lean_box(0); +v_isShared_4288_ = v_isSharedCheck_4308_; +goto v_resetjp_4286_; } -v_resetjp_4327_: +v_resetjp_4286_: { -lean_object* v___x_4330_; uint64_t v___x_4331_; uint64_t v___x_4332_; uint64_t v___x_4333_; uint64_t v_fold_4334_; uint64_t v___x_4335_; uint64_t v___x_4336_; uint64_t v___x_4337_; size_t v___x_4338_; size_t v___x_4339_; size_t v___x_4340_; size_t v___x_4341_; size_t v___x_4342_; lean_object* v___x_4343_; lean_object* v___x_4345_; -v___x_4330_ = lean_array_get_size(v_x_4322_); -v___x_4331_ = l_Lean_ExprStructEq_hash(v_key_4324_); -v___x_4332_ = 32ULL; -v___x_4333_ = lean_uint64_shift_right(v___x_4331_, v___x_4332_); -v_fold_4334_ = lean_uint64_xor(v___x_4331_, v___x_4333_); -v___x_4335_ = 16ULL; -v___x_4336_ = lean_uint64_shift_right(v_fold_4334_, v___x_4335_); -v___x_4337_ = lean_uint64_xor(v_fold_4334_, v___x_4336_); -v___x_4338_ = lean_uint64_to_usize(v___x_4337_); -v___x_4339_ = lean_usize_of_nat(v___x_4330_); -v___x_4340_ = ((size_t)1ULL); -v___x_4341_ = lean_usize_sub(v___x_4339_, v___x_4340_); -v___x_4342_ = lean_usize_land(v___x_4338_, v___x_4341_); -v___x_4343_ = lean_array_uget_borrowed(v_x_4322_, v___x_4342_); -lean_inc(v___x_4343_); -if (v_isShared_4329_ == 0) +lean_object* v___x_4289_; uint64_t v___x_4290_; uint64_t v___x_4291_; uint64_t v___x_4292_; uint64_t v_fold_4293_; uint64_t v___x_4294_; uint64_t v___x_4295_; uint64_t v___x_4296_; size_t v___x_4297_; size_t v___x_4298_; size_t v___x_4299_; size_t v___x_4300_; size_t v___x_4301_; lean_object* v___x_4302_; lean_object* v___x_4304_; +v___x_4289_ = lean_array_get_size(v_x_4281_); +v___x_4290_ = l_Lean_ExprStructEq_hash(v_key_4283_); +v___x_4291_ = 32ULL; +v___x_4292_ = lean_uint64_shift_right(v___x_4290_, v___x_4291_); +v_fold_4293_ = lean_uint64_xor(v___x_4290_, v___x_4292_); +v___x_4294_ = 16ULL; +v___x_4295_ = lean_uint64_shift_right(v_fold_4293_, v___x_4294_); +v___x_4296_ = lean_uint64_xor(v_fold_4293_, v___x_4295_); +v___x_4297_ = lean_uint64_to_usize(v___x_4296_); +v___x_4298_ = lean_usize_of_nat(v___x_4289_); +v___x_4299_ = ((size_t)1ULL); +v___x_4300_ = lean_usize_sub(v___x_4298_, v___x_4299_); +v___x_4301_ = lean_usize_land(v___x_4297_, v___x_4300_); +v___x_4302_ = lean_array_uget_borrowed(v_x_4281_, v___x_4301_); +lean_inc(v___x_4302_); +if (v_isShared_4288_ == 0) { -lean_ctor_set(v___x_4328_, 2, v___x_4343_); -v___x_4345_ = v___x_4328_; -goto v_reusejp_4344_; +lean_ctor_set(v___x_4287_, 2, v___x_4302_); +v___x_4304_ = v___x_4287_; +goto v_reusejp_4303_; } else { -lean_object* v_reuseFailAlloc_4348_; -v_reuseFailAlloc_4348_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4348_, 0, v_key_4324_); -lean_ctor_set(v_reuseFailAlloc_4348_, 1, v_value_4325_); -lean_ctor_set(v_reuseFailAlloc_4348_, 2, v___x_4343_); -v___x_4345_ = v_reuseFailAlloc_4348_; -goto v_reusejp_4344_; +lean_object* v_reuseFailAlloc_4307_; +v_reuseFailAlloc_4307_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4307_, 0, v_key_4283_); +lean_ctor_set(v_reuseFailAlloc_4307_, 1, v_value_4284_); +lean_ctor_set(v_reuseFailAlloc_4307_, 2, v___x_4302_); +v___x_4304_ = v_reuseFailAlloc_4307_; +goto v_reusejp_4303_; } -v_reusejp_4344_: +v_reusejp_4303_: { -lean_object* v___x_4346_; -v___x_4346_ = lean_array_uset(v_x_4322_, v___x_4342_, v___x_4345_); -v_x_4322_ = v___x_4346_; -v_x_4323_ = v_tail_4326_; +lean_object* v___x_4305_; +v___x_4305_ = lean_array_uset(v_x_4281_, v___x_4301_, v___x_4304_); +v_x_4281_ = v___x_4305_; +v_x_4282_ = v_tail_4285_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(lean_object* v_i_4350_, lean_object* v_source_4351_, lean_object* v_target_4352_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(lean_object* v_i_4309_, lean_object* v_source_4310_, lean_object* v_target_4311_){ _start: { -lean_object* v___x_4353_; uint8_t v___x_4354_; -v___x_4353_ = lean_array_get_size(v_source_4351_); -v___x_4354_ = lean_nat_dec_lt(v_i_4350_, v___x_4353_); -if (v___x_4354_ == 0) +lean_object* v___x_4312_; uint8_t v___x_4313_; +v___x_4312_ = lean_array_get_size(v_source_4310_); +v___x_4313_ = lean_nat_dec_lt(v_i_4309_, v___x_4312_); +if (v___x_4313_ == 0) { -lean_dec_ref(v_source_4351_); -lean_dec(v_i_4350_); -return v_target_4352_; +lean_dec_ref(v_source_4310_); +lean_dec(v_i_4309_); +return v_target_4311_; } else { -lean_object* v_es_4355_; lean_object* v___x_4356_; lean_object* v_source_4357_; lean_object* v_target_4358_; lean_object* v___x_4359_; lean_object* v___x_4360_; -v_es_4355_ = lean_array_fget(v_source_4351_, v_i_4350_); -v___x_4356_ = lean_box(0); -v_source_4357_ = lean_array_fset(v_source_4351_, v_i_4350_, v___x_4356_); -v_target_4358_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(v_target_4352_, v_es_4355_); -v___x_4359_ = lean_unsigned_to_nat(1u); -v___x_4360_ = lean_nat_add(v_i_4350_, v___x_4359_); -lean_dec(v_i_4350_); -v_i_4350_ = v___x_4360_; -v_source_4351_ = v_source_4357_; -v_target_4352_ = v_target_4358_; +lean_object* v_es_4314_; lean_object* v___x_4315_; lean_object* v_source_4316_; lean_object* v_target_4317_; lean_object* v___x_4318_; lean_object* v___x_4319_; +v_es_4314_ = lean_array_fget(v_source_4310_, v_i_4309_); +v___x_4315_ = lean_box(0); +v_source_4316_ = lean_array_fset(v_source_4310_, v_i_4309_, v___x_4315_); +v_target_4317_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(v_target_4311_, v_es_4314_); +v___x_4318_ = lean_unsigned_to_nat(1u); +v___x_4319_ = lean_nat_add(v_i_4309_, v___x_4318_); +lean_dec(v_i_4309_); +v_i_4309_ = v___x_4319_; +v_source_4310_ = v_source_4316_; +v_target_4311_ = v_target_4317_; goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(lean_object* v_data_4362_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(lean_object* v_data_4321_){ _start: { -lean_object* v___x_4363_; lean_object* v___x_4364_; lean_object* v_nbuckets_4365_; lean_object* v___x_4366_; lean_object* v___x_4367_; lean_object* v___x_4368_; lean_object* v___x_4369_; -v___x_4363_ = lean_array_get_size(v_data_4362_); -v___x_4364_ = lean_unsigned_to_nat(2u); -v_nbuckets_4365_ = lean_nat_mul(v___x_4363_, v___x_4364_); -v___x_4366_ = lean_unsigned_to_nat(0u); -v___x_4367_ = lean_box(0); -v___x_4368_ = lean_mk_array(v_nbuckets_4365_, v___x_4367_); -v___x_4369_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(v___x_4366_, v_data_4362_, v___x_4368_); -return v___x_4369_; +lean_object* v___x_4322_; lean_object* v___x_4323_; lean_object* v_nbuckets_4324_; lean_object* v___x_4325_; lean_object* v___x_4326_; lean_object* v___x_4327_; lean_object* v___x_4328_; +v___x_4322_ = lean_array_get_size(v_data_4321_); +v___x_4323_ = lean_unsigned_to_nat(2u); +v_nbuckets_4324_ = lean_nat_mul(v___x_4322_, v___x_4323_); +v___x_4325_ = lean_unsigned_to_nat(0u); +v___x_4326_ = lean_box(0); +v___x_4327_ = lean_mk_array(v_nbuckets_4324_, v___x_4326_); +v___x_4328_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(v___x_4325_, v_data_4321_, v___x_4327_); +return v___x_4328_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(lean_object* v_m_4370_, lean_object* v_a_4371_, lean_object* v_b_4372_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(lean_object* v_m_4329_, lean_object* v_a_4330_, lean_object* v_b_4331_){ _start: { -lean_object* v_size_4373_; lean_object* v_buckets_4374_; lean_object* v___x_4376_; uint8_t v_isShared_4377_; uint8_t v_isSharedCheck_4417_; -v_size_4373_ = lean_ctor_get(v_m_4370_, 0); -v_buckets_4374_ = lean_ctor_get(v_m_4370_, 1); -v_isSharedCheck_4417_ = !lean_is_exclusive(v_m_4370_); -if (v_isSharedCheck_4417_ == 0) +lean_object* v_size_4332_; lean_object* v_buckets_4333_; lean_object* v___x_4335_; uint8_t v_isShared_4336_; uint8_t v_isSharedCheck_4376_; +v_size_4332_ = lean_ctor_get(v_m_4329_, 0); +v_buckets_4333_ = lean_ctor_get(v_m_4329_, 1); +v_isSharedCheck_4376_ = !lean_is_exclusive(v_m_4329_); +if (v_isSharedCheck_4376_ == 0) { -v___x_4376_ = v_m_4370_; -v_isShared_4377_ = v_isSharedCheck_4417_; -goto v_resetjp_4375_; +v___x_4335_ = v_m_4329_; +v_isShared_4336_ = v_isSharedCheck_4376_; +goto v_resetjp_4334_; } else { -lean_inc(v_buckets_4374_); -lean_inc(v_size_4373_); -lean_dec(v_m_4370_); -v___x_4376_ = lean_box(0); -v_isShared_4377_ = v_isSharedCheck_4417_; -goto v_resetjp_4375_; +lean_inc(v_buckets_4333_); +lean_inc(v_size_4332_); +lean_dec(v_m_4329_); +v___x_4335_ = lean_box(0); +v_isShared_4336_ = v_isSharedCheck_4376_; +goto v_resetjp_4334_; } -v_resetjp_4375_: +v_resetjp_4334_: { -lean_object* v___x_4378_; uint64_t v___x_4379_; uint64_t v___x_4380_; uint64_t v___x_4381_; uint64_t v_fold_4382_; uint64_t v___x_4383_; uint64_t v___x_4384_; uint64_t v___x_4385_; size_t v___x_4386_; size_t v___x_4387_; size_t v___x_4388_; size_t v___x_4389_; size_t v___x_4390_; lean_object* v_bkt_4391_; uint8_t v___x_4392_; -v___x_4378_ = lean_array_get_size(v_buckets_4374_); -v___x_4379_ = l_Lean_ExprStructEq_hash(v_a_4371_); -v___x_4380_ = 32ULL; -v___x_4381_ = lean_uint64_shift_right(v___x_4379_, v___x_4380_); -v_fold_4382_ = lean_uint64_xor(v___x_4379_, v___x_4381_); -v___x_4383_ = 16ULL; -v___x_4384_ = lean_uint64_shift_right(v_fold_4382_, v___x_4383_); -v___x_4385_ = lean_uint64_xor(v_fold_4382_, v___x_4384_); -v___x_4386_ = lean_uint64_to_usize(v___x_4385_); -v___x_4387_ = lean_usize_of_nat(v___x_4378_); -v___x_4388_ = ((size_t)1ULL); -v___x_4389_ = lean_usize_sub(v___x_4387_, v___x_4388_); -v___x_4390_ = lean_usize_land(v___x_4386_, v___x_4389_); -v_bkt_4391_ = lean_array_uget_borrowed(v_buckets_4374_, v___x_4390_); -v___x_4392_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_4371_, v_bkt_4391_); -if (v___x_4392_ == 0) +lean_object* v___x_4337_; uint64_t v___x_4338_; uint64_t v___x_4339_; uint64_t v___x_4340_; uint64_t v_fold_4341_; uint64_t v___x_4342_; uint64_t v___x_4343_; uint64_t v___x_4344_; size_t v___x_4345_; size_t v___x_4346_; size_t v___x_4347_; size_t v___x_4348_; size_t v___x_4349_; lean_object* v_bkt_4350_; uint8_t v___x_4351_; +v___x_4337_ = lean_array_get_size(v_buckets_4333_); +v___x_4338_ = l_Lean_ExprStructEq_hash(v_a_4330_); +v___x_4339_ = 32ULL; +v___x_4340_ = lean_uint64_shift_right(v___x_4338_, v___x_4339_); +v_fold_4341_ = lean_uint64_xor(v___x_4338_, v___x_4340_); +v___x_4342_ = 16ULL; +v___x_4343_ = lean_uint64_shift_right(v_fold_4341_, v___x_4342_); +v___x_4344_ = lean_uint64_xor(v_fold_4341_, v___x_4343_); +v___x_4345_ = lean_uint64_to_usize(v___x_4344_); +v___x_4346_ = lean_usize_of_nat(v___x_4337_); +v___x_4347_ = ((size_t)1ULL); +v___x_4348_ = lean_usize_sub(v___x_4346_, v___x_4347_); +v___x_4349_ = lean_usize_land(v___x_4345_, v___x_4348_); +v_bkt_4350_ = lean_array_uget_borrowed(v_buckets_4333_, v___x_4349_); +v___x_4351_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_4330_, v_bkt_4350_); +if (v___x_4351_ == 0) { -lean_object* v___x_4393_; lean_object* v_size_x27_4394_; lean_object* v___x_4395_; lean_object* v_buckets_x27_4396_; lean_object* v___x_4397_; lean_object* v___x_4398_; lean_object* v___x_4399_; lean_object* v___x_4400_; lean_object* v___x_4401_; uint8_t v___x_4402_; -v___x_4393_ = lean_unsigned_to_nat(1u); -v_size_x27_4394_ = lean_nat_add(v_size_4373_, v___x_4393_); -lean_dec(v_size_4373_); -lean_inc(v_bkt_4391_); -v___x_4395_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_4395_, 0, v_a_4371_); -lean_ctor_set(v___x_4395_, 1, v_b_4372_); -lean_ctor_set(v___x_4395_, 2, v_bkt_4391_); -v_buckets_x27_4396_ = lean_array_uset(v_buckets_4374_, v___x_4390_, v___x_4395_); -v___x_4397_ = lean_unsigned_to_nat(4u); -v___x_4398_ = lean_nat_mul(v_size_x27_4394_, v___x_4397_); -v___x_4399_ = lean_unsigned_to_nat(3u); -v___x_4400_ = lean_nat_div(v___x_4398_, v___x_4399_); -lean_dec(v___x_4398_); -v___x_4401_ = lean_array_get_size(v_buckets_x27_4396_); -v___x_4402_ = lean_nat_dec_le(v___x_4400_, v___x_4401_); -lean_dec(v___x_4400_); -if (v___x_4402_ == 0) +lean_object* v___x_4352_; lean_object* v_size_x27_4353_; lean_object* v___x_4354_; lean_object* v_buckets_x27_4355_; lean_object* v___x_4356_; lean_object* v___x_4357_; lean_object* v___x_4358_; lean_object* v___x_4359_; lean_object* v___x_4360_; uint8_t v___x_4361_; +v___x_4352_ = lean_unsigned_to_nat(1u); +v_size_x27_4353_ = lean_nat_add(v_size_4332_, v___x_4352_); +lean_dec(v_size_4332_); +lean_inc(v_bkt_4350_); +v___x_4354_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_4354_, 0, v_a_4330_); +lean_ctor_set(v___x_4354_, 1, v_b_4331_); +lean_ctor_set(v___x_4354_, 2, v_bkt_4350_); +v_buckets_x27_4355_ = lean_array_uset(v_buckets_4333_, v___x_4349_, v___x_4354_); +v___x_4356_ = lean_unsigned_to_nat(4u); +v___x_4357_ = lean_nat_mul(v_size_x27_4353_, v___x_4356_); +v___x_4358_ = lean_unsigned_to_nat(3u); +v___x_4359_ = lean_nat_div(v___x_4357_, v___x_4358_); +lean_dec(v___x_4357_); +v___x_4360_ = lean_array_get_size(v_buckets_x27_4355_); +v___x_4361_ = lean_nat_dec_le(v___x_4359_, v___x_4360_); +lean_dec(v___x_4359_); +if (v___x_4361_ == 0) { -lean_object* v_val_4403_; lean_object* v___x_4405_; -v_val_4403_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(v_buckets_x27_4396_); -if (v_isShared_4377_ == 0) +lean_object* v_val_4362_; lean_object* v___x_4364_; +v_val_4362_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(v_buckets_x27_4355_); +if (v_isShared_4336_ == 0) { -lean_ctor_set(v___x_4376_, 1, v_val_4403_); -lean_ctor_set(v___x_4376_, 0, v_size_x27_4394_); -v___x_4405_ = v___x_4376_; -goto v_reusejp_4404_; +lean_ctor_set(v___x_4335_, 1, v_val_4362_); +lean_ctor_set(v___x_4335_, 0, v_size_x27_4353_); +v___x_4364_ = v___x_4335_; +goto v_reusejp_4363_; } else { -lean_object* v_reuseFailAlloc_4406_; -v_reuseFailAlloc_4406_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4406_, 0, v_size_x27_4394_); -lean_ctor_set(v_reuseFailAlloc_4406_, 1, v_val_4403_); -v___x_4405_ = v_reuseFailAlloc_4406_; -goto v_reusejp_4404_; +lean_object* v_reuseFailAlloc_4365_; +v_reuseFailAlloc_4365_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4365_, 0, v_size_x27_4353_); +lean_ctor_set(v_reuseFailAlloc_4365_, 1, v_val_4362_); +v___x_4364_ = v_reuseFailAlloc_4365_; +goto v_reusejp_4363_; } -v_reusejp_4404_: +v_reusejp_4363_: { -return v___x_4405_; +return v___x_4364_; } } else { -lean_object* v___x_4408_; -if (v_isShared_4377_ == 0) +lean_object* v___x_4367_; +if (v_isShared_4336_ == 0) { -lean_ctor_set(v___x_4376_, 1, v_buckets_x27_4396_); -lean_ctor_set(v___x_4376_, 0, v_size_x27_4394_); -v___x_4408_ = v___x_4376_; -goto v_reusejp_4407_; +lean_ctor_set(v___x_4335_, 1, v_buckets_x27_4355_); +lean_ctor_set(v___x_4335_, 0, v_size_x27_4353_); +v___x_4367_ = v___x_4335_; +goto v_reusejp_4366_; } else { -lean_object* v_reuseFailAlloc_4409_; -v_reuseFailAlloc_4409_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4409_, 0, v_size_x27_4394_); -lean_ctor_set(v_reuseFailAlloc_4409_, 1, v_buckets_x27_4396_); -v___x_4408_ = v_reuseFailAlloc_4409_; -goto v_reusejp_4407_; +lean_object* v_reuseFailAlloc_4368_; +v_reuseFailAlloc_4368_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4368_, 0, v_size_x27_4353_); +lean_ctor_set(v_reuseFailAlloc_4368_, 1, v_buckets_x27_4355_); +v___x_4367_ = v_reuseFailAlloc_4368_; +goto v_reusejp_4366_; } -v_reusejp_4407_: +v_reusejp_4366_: { -return v___x_4408_; +return v___x_4367_; } } } else { -lean_object* v___x_4410_; lean_object* v_buckets_x27_4411_; lean_object* v___x_4412_; lean_object* v___x_4413_; lean_object* v___x_4415_; -lean_inc(v_bkt_4391_); -v___x_4410_ = lean_box(0); -v_buckets_x27_4411_ = lean_array_uset(v_buckets_4374_, v___x_4390_, v___x_4410_); -v___x_4412_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_4371_, v_b_4372_, v_bkt_4391_); -v___x_4413_ = lean_array_uset(v_buckets_x27_4411_, v___x_4390_, v___x_4412_); -if (v_isShared_4377_ == 0) +lean_object* v___x_4369_; lean_object* v_buckets_x27_4370_; lean_object* v___x_4371_; lean_object* v___x_4372_; lean_object* v___x_4374_; +lean_inc(v_bkt_4350_); +v___x_4369_ = lean_box(0); +v_buckets_x27_4370_ = lean_array_uset(v_buckets_4333_, v___x_4349_, v___x_4369_); +v___x_4371_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_4330_, v_b_4331_, v_bkt_4350_); +v___x_4372_ = lean_array_uset(v_buckets_x27_4370_, v___x_4349_, v___x_4371_); +if (v_isShared_4336_ == 0) { -lean_ctor_set(v___x_4376_, 1, v___x_4413_); -v___x_4415_ = v___x_4376_; -goto v_reusejp_4414_; +lean_ctor_set(v___x_4335_, 1, v___x_4372_); +v___x_4374_ = v___x_4335_; +goto v_reusejp_4373_; } else { -lean_object* v_reuseFailAlloc_4416_; -v_reuseFailAlloc_4416_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4416_, 0, v_size_4373_); -lean_ctor_set(v_reuseFailAlloc_4416_, 1, v___x_4413_); -v___x_4415_ = v_reuseFailAlloc_4416_; -goto v_reusejp_4414_; +lean_object* v_reuseFailAlloc_4375_; +v_reuseFailAlloc_4375_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4375_, 0, v_size_4332_); +lean_ctor_set(v_reuseFailAlloc_4375_, 1, v___x_4372_); +v___x_4374_ = v_reuseFailAlloc_4375_; +goto v_reusejp_4373_; } -v_reusejp_4414_: +v_reusejp_4373_: { -return v___x_4415_; +return v___x_4374_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2(lean_object* v_a_4418_, lean_object* v_e_4419_, lean_object* v_a_4420_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2(lean_object* v_a_4377_, lean_object* v_e_4378_, lean_object* v_a_4379_){ _start: { -lean_object* v___x_4422_; lean_object* v___x_4423_; lean_object* v___x_4424_; lean_object* v___x_4425_; -v___x_4422_ = lean_st_ref_take(v_a_4418_); -v___x_4423_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(v___x_4422_, v_e_4419_, v_a_4420_); -v___x_4424_ = lean_st_ref_set(v_a_4418_, v___x_4423_); -v___x_4425_ = lean_box(0); -return v___x_4425_; +lean_object* v___x_4381_; lean_object* v___x_4382_; lean_object* v___x_4383_; lean_object* v___x_4384_; +v___x_4381_ = lean_st_ref_take(v_a_4377_); +v___x_4382_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(v___x_4381_, v_e_4378_, v_a_4379_); +v___x_4383_ = lean_st_ref_set(v_a_4377_, v___x_4382_); +v___x_4384_ = lean_box(0); +return v___x_4384_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2___boxed(lean_object* v_a_4426_, lean_object* v_e_4427_, lean_object* v_a_4428_, lean_object* v___y_4429_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2___boxed(lean_object* v_a_4385_, lean_object* v_e_4386_, lean_object* v_a_4387_, lean_object* v___y_4388_){ _start: { -lean_object* v_res_4430_; -v_res_4430_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2(v_a_4426_, v_e_4427_, v_a_4428_); -lean_dec(v_a_4426_); -return v_res_4430_; +lean_object* v_res_4389_; +v_res_4389_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2(v_a_4385_, v_e_4386_, v_a_4387_); +lean_dec(v_a_4385_); +return v_res_4389_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(lean_object* v_a_4431_, lean_object* v_x_4432_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(lean_object* v_a_4390_, lean_object* v_x_4391_){ _start: { -if (lean_obj_tag(v_x_4432_) == 0) +if (lean_obj_tag(v_x_4391_) == 0) { -lean_object* v___x_4433_; -v___x_4433_ = lean_box(0); -return v___x_4433_; +lean_object* v___x_4392_; +v___x_4392_ = lean_box(0); +return v___x_4392_; } else { -lean_object* v_key_4434_; lean_object* v_value_4435_; lean_object* v_tail_4436_; uint8_t v___x_4437_; -v_key_4434_ = lean_ctor_get(v_x_4432_, 0); -v_value_4435_ = lean_ctor_get(v_x_4432_, 1); -v_tail_4436_ = lean_ctor_get(v_x_4432_, 2); -v___x_4437_ = l_Lean_ExprStructEq_beq(v_key_4434_, v_a_4431_); -if (v___x_4437_ == 0) +lean_object* v_key_4393_; lean_object* v_value_4394_; lean_object* v_tail_4395_; uint8_t v___x_4396_; +v_key_4393_ = lean_ctor_get(v_x_4391_, 0); +v_value_4394_ = lean_ctor_get(v_x_4391_, 1); +v_tail_4395_ = lean_ctor_get(v_x_4391_, 2); +v___x_4396_ = l_Lean_ExprStructEq_beq(v_key_4393_, v_a_4390_); +if (v___x_4396_ == 0) { -v_x_4432_ = v_tail_4436_; +v_x_4391_ = v_tail_4395_; goto _start; } else { -lean_object* v___x_4439_; -lean_inc(v_value_4435_); -v___x_4439_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4439_, 0, v_value_4435_); -return v___x_4439_; +lean_object* v___x_4398_; +lean_inc(v_value_4394_); +v___x_4398_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_4398_, 0, v_value_4394_); +return v___x_4398_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg___boxed(lean_object* v_a_4440_, lean_object* v_x_4441_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg___boxed(lean_object* v_a_4399_, lean_object* v_x_4400_){ _start: { -lean_object* v_res_4442_; -v_res_4442_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4440_, v_x_4441_); -lean_dec(v_x_4441_); -lean_dec_ref(v_a_4440_); -return v_res_4442_; +lean_object* v_res_4401_; +v_res_4401_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4399_, v_x_4400_); +lean_dec(v_x_4400_); +lean_dec_ref(v_a_4399_); +return v_res_4401_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(lean_object* v_m_4443_, lean_object* v_a_4444_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(lean_object* v_m_4402_, lean_object* v_a_4403_){ _start: { -lean_object* v_buckets_4445_; lean_object* v___x_4446_; uint64_t v___x_4447_; uint64_t v___x_4448_; uint64_t v___x_4449_; uint64_t v_fold_4450_; uint64_t v___x_4451_; uint64_t v___x_4452_; uint64_t v___x_4453_; size_t v___x_4454_; size_t v___x_4455_; size_t v___x_4456_; size_t v___x_4457_; size_t v___x_4458_; lean_object* v___x_4459_; lean_object* v___x_4460_; -v_buckets_4445_ = lean_ctor_get(v_m_4443_, 1); -v___x_4446_ = lean_array_get_size(v_buckets_4445_); -v___x_4447_ = l_Lean_ExprStructEq_hash(v_a_4444_); -v___x_4448_ = 32ULL; -v___x_4449_ = lean_uint64_shift_right(v___x_4447_, v___x_4448_); -v_fold_4450_ = lean_uint64_xor(v___x_4447_, v___x_4449_); -v___x_4451_ = 16ULL; -v___x_4452_ = lean_uint64_shift_right(v_fold_4450_, v___x_4451_); -v___x_4453_ = lean_uint64_xor(v_fold_4450_, v___x_4452_); -v___x_4454_ = lean_uint64_to_usize(v___x_4453_); -v___x_4455_ = lean_usize_of_nat(v___x_4446_); -v___x_4456_ = ((size_t)1ULL); -v___x_4457_ = lean_usize_sub(v___x_4455_, v___x_4456_); -v___x_4458_ = lean_usize_land(v___x_4454_, v___x_4457_); -v___x_4459_ = lean_array_uget_borrowed(v_buckets_4445_, v___x_4458_); -v___x_4460_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4444_, v___x_4459_); -return v___x_4460_; +lean_object* v_buckets_4404_; lean_object* v___x_4405_; uint64_t v___x_4406_; uint64_t v___x_4407_; uint64_t v___x_4408_; uint64_t v_fold_4409_; uint64_t v___x_4410_; uint64_t v___x_4411_; uint64_t v___x_4412_; size_t v___x_4413_; size_t v___x_4414_; size_t v___x_4415_; size_t v___x_4416_; size_t v___x_4417_; lean_object* v___x_4418_; lean_object* v___x_4419_; +v_buckets_4404_ = lean_ctor_get(v_m_4402_, 1); +v___x_4405_ = lean_array_get_size(v_buckets_4404_); +v___x_4406_ = l_Lean_ExprStructEq_hash(v_a_4403_); +v___x_4407_ = 32ULL; +v___x_4408_ = lean_uint64_shift_right(v___x_4406_, v___x_4407_); +v_fold_4409_ = lean_uint64_xor(v___x_4406_, v___x_4408_); +v___x_4410_ = 16ULL; +v___x_4411_ = lean_uint64_shift_right(v_fold_4409_, v___x_4410_); +v___x_4412_ = lean_uint64_xor(v_fold_4409_, v___x_4411_); +v___x_4413_ = lean_uint64_to_usize(v___x_4412_); +v___x_4414_ = lean_usize_of_nat(v___x_4405_); +v___x_4415_ = ((size_t)1ULL); +v___x_4416_ = lean_usize_sub(v___x_4414_, v___x_4415_); +v___x_4417_ = lean_usize_land(v___x_4413_, v___x_4416_); +v___x_4418_ = lean_array_uget_borrowed(v_buckets_4404_, v___x_4417_); +v___x_4419_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4403_, v___x_4418_); +return v___x_4419_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg___boxed(lean_object* v_m_4461_, lean_object* v_a_4462_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg___boxed(lean_object* v_m_4420_, lean_object* v_a_4421_){ _start: { -lean_object* v_res_4463_; -v_res_4463_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_m_4461_, v_a_4462_); -lean_dec_ref(v_a_4462_); -lean_dec_ref(v_m_4461_); -return v_res_4463_; +lean_object* v_res_4422_; +v_res_4422_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_m_4420_, v_a_4421_); +lean_dec_ref(v_a_4421_); +lean_dec_ref(v_m_4420_); +return v_res_4422_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3(void){ _start: { -lean_object* v___x_4469_; lean_object* v___x_4470_; -v___x_4469_ = l_Lean_maxRecDepthErrorMessage; -v___x_4470_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_4470_, 0, v___x_4469_); -return v___x_4470_; +lean_object* v___x_4428_; lean_object* v___x_4429_; +v___x_4428_ = l_Lean_maxRecDepthErrorMessage; +v___x_4429_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_4429_, 0, v___x_4428_); +return v___x_4429_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4(void){ _start: { -lean_object* v___x_4471_; lean_object* v___x_4472_; -v___x_4471_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3); -v___x_4472_ = l_Lean_MessageData_ofFormat(v___x_4471_); -return v___x_4472_; +lean_object* v___x_4430_; lean_object* v___x_4431_; +v___x_4430_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__3); +v___x_4431_ = l_Lean_MessageData_ofFormat(v___x_4430_); +return v___x_4431_; } } static lean_object* _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5(void){ _start: { -lean_object* v___x_4473_; lean_object* v___x_4474_; lean_object* v___x_4475_; -v___x_4473_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4); -v___x_4474_ = ((lean_object*)(l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__2)); -v___x_4475_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_4475_, 0, v___x_4474_); -lean_ctor_set(v___x_4475_, 1, v___x_4473_); -return v___x_4475_; +lean_object* v___x_4432_; lean_object* v___x_4433_; lean_object* v___x_4434_; +v___x_4432_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__4); +v___x_4433_ = ((lean_object*)(l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__2)); +v___x_4434_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_4434_, 0, v___x_4433_); +lean_ctor_set(v___x_4434_, 1, v___x_4432_); +return v___x_4434_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(lean_object* v_ref_4476_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(lean_object* v_ref_4435_){ _start: { -lean_object* v___x_4478_; lean_object* v___x_4479_; lean_object* v___x_4480_; -v___x_4478_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5); -v___x_4479_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4479_, 0, v_ref_4476_); -lean_ctor_set(v___x_4479_, 1, v___x_4478_); -v___x_4480_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_4480_, 0, v___x_4479_); -return v___x_4480_; +lean_object* v___x_4437_; lean_object* v___x_4438_; lean_object* v___x_4439_; +v___x_4437_ = lean_obj_once(&l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5, &l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5_once, _init_l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___closed__5); +v___x_4438_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4438_, 0, v_ref_4435_); +lean_ctor_set(v___x_4438_, 1, v___x_4437_); +v___x_4439_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_4439_, 0, v___x_4438_); +return v___x_4439_; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___boxed(lean_object* v_ref_4481_, lean_object* v___y_4482_){ +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg___boxed(lean_object* v_ref_4440_, lean_object* v___y_4441_){ _start: { -lean_object* v_res_4483_; -v_res_4483_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4481_); -return v_res_4483_; +lean_object* v_res_4442_; +v_res_4442_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4440_); +return v_res_4442_; } } -LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(lean_object* v_x_4484_, lean_object* v___y_4485_, lean_object* v___y_4486_, lean_object* v___y_4487_){ +LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(lean_object* v_x_4443_, lean_object* v___y_4444_, lean_object* v___y_4445_, lean_object* v___y_4446_){ _start: { -lean_object* v___y_4490_; lean_object* v_fileName_4499_; lean_object* v_fileMap_4500_; lean_object* v_options_4501_; lean_object* v_currRecDepth_4502_; lean_object* v_maxRecDepth_4503_; lean_object* v_ref_4504_; lean_object* v_currNamespace_4505_; lean_object* v_openDecls_4506_; lean_object* v_initHeartbeats_4507_; lean_object* v_maxHeartbeats_4508_; lean_object* v_quotContext_4509_; lean_object* v_currMacroScope_4510_; uint8_t v_diag_4511_; lean_object* v_cancelTk_x3f_4512_; uint8_t v_suppressElabErrors_4513_; lean_object* v_inheritedTraceOptions_4514_; lean_object* v___x_4516_; uint8_t v_isShared_4517_; uint8_t v_isSharedCheck_4526_; -v_fileName_4499_ = lean_ctor_get(v___y_4486_, 0); -v_fileMap_4500_ = lean_ctor_get(v___y_4486_, 1); -v_options_4501_ = lean_ctor_get(v___y_4486_, 2); -v_currRecDepth_4502_ = lean_ctor_get(v___y_4486_, 3); -v_maxRecDepth_4503_ = lean_ctor_get(v___y_4486_, 4); -v_ref_4504_ = lean_ctor_get(v___y_4486_, 5); -v_currNamespace_4505_ = lean_ctor_get(v___y_4486_, 6); -v_openDecls_4506_ = lean_ctor_get(v___y_4486_, 7); -v_initHeartbeats_4507_ = lean_ctor_get(v___y_4486_, 8); -v_maxHeartbeats_4508_ = lean_ctor_get(v___y_4486_, 9); -v_quotContext_4509_ = lean_ctor_get(v___y_4486_, 10); -v_currMacroScope_4510_ = lean_ctor_get(v___y_4486_, 11); -v_diag_4511_ = lean_ctor_get_uint8(v___y_4486_, sizeof(void*)*14); -v_cancelTk_x3f_4512_ = lean_ctor_get(v___y_4486_, 12); -v_suppressElabErrors_4513_ = lean_ctor_get_uint8(v___y_4486_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_4514_ = lean_ctor_get(v___y_4486_, 13); -v_isSharedCheck_4526_ = !lean_is_exclusive(v___y_4486_); -if (v_isSharedCheck_4526_ == 0) +lean_object* v___y_4449_; lean_object* v_fileName_4458_; lean_object* v_fileMap_4459_; lean_object* v_options_4460_; lean_object* v_currRecDepth_4461_; lean_object* v_maxRecDepth_4462_; lean_object* v_ref_4463_; lean_object* v_currNamespace_4464_; lean_object* v_openDecls_4465_; lean_object* v_initHeartbeats_4466_; lean_object* v_maxHeartbeats_4467_; lean_object* v_quotContext_4468_; lean_object* v_currMacroScope_4469_; uint8_t v_diag_4470_; lean_object* v_cancelTk_x3f_4471_; uint8_t v_suppressElabErrors_4472_; lean_object* v_inheritedTraceOptions_4473_; lean_object* v___x_4475_; uint8_t v_isShared_4476_; uint8_t v_isSharedCheck_4485_; +v_fileName_4458_ = lean_ctor_get(v___y_4445_, 0); +v_fileMap_4459_ = lean_ctor_get(v___y_4445_, 1); +v_options_4460_ = lean_ctor_get(v___y_4445_, 2); +v_currRecDepth_4461_ = lean_ctor_get(v___y_4445_, 3); +v_maxRecDepth_4462_ = lean_ctor_get(v___y_4445_, 4); +v_ref_4463_ = lean_ctor_get(v___y_4445_, 5); +v_currNamespace_4464_ = lean_ctor_get(v___y_4445_, 6); +v_openDecls_4465_ = lean_ctor_get(v___y_4445_, 7); +v_initHeartbeats_4466_ = lean_ctor_get(v___y_4445_, 8); +v_maxHeartbeats_4467_ = lean_ctor_get(v___y_4445_, 9); +v_quotContext_4468_ = lean_ctor_get(v___y_4445_, 10); +v_currMacroScope_4469_ = lean_ctor_get(v___y_4445_, 11); +v_diag_4470_ = lean_ctor_get_uint8(v___y_4445_, sizeof(void*)*14); +v_cancelTk_x3f_4471_ = lean_ctor_get(v___y_4445_, 12); +v_suppressElabErrors_4472_ = lean_ctor_get_uint8(v___y_4445_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_4473_ = lean_ctor_get(v___y_4445_, 13); +v_isSharedCheck_4485_ = !lean_is_exclusive(v___y_4445_); +if (v_isSharedCheck_4485_ == 0) { -v___x_4516_ = v___y_4486_; -v_isShared_4517_ = v_isSharedCheck_4526_; -goto v_resetjp_4515_; +v___x_4475_ = v___y_4445_; +v_isShared_4476_ = v_isSharedCheck_4485_; +goto v_resetjp_4474_; } else { -lean_inc(v_inheritedTraceOptions_4514_); -lean_inc(v_cancelTk_x3f_4512_); -lean_inc(v_currMacroScope_4510_); -lean_inc(v_quotContext_4509_); -lean_inc(v_maxHeartbeats_4508_); -lean_inc(v_initHeartbeats_4507_); -lean_inc(v_openDecls_4506_); -lean_inc(v_currNamespace_4505_); -lean_inc(v_ref_4504_); -lean_inc(v_maxRecDepth_4503_); -lean_inc(v_currRecDepth_4502_); -lean_inc(v_options_4501_); -lean_inc(v_fileMap_4500_); -lean_inc(v_fileName_4499_); -lean_dec(v___y_4486_); -v___x_4516_ = lean_box(0); -v_isShared_4517_ = v_isSharedCheck_4526_; -goto v_resetjp_4515_; +lean_inc(v_inheritedTraceOptions_4473_); +lean_inc(v_cancelTk_x3f_4471_); +lean_inc(v_currMacroScope_4469_); +lean_inc(v_quotContext_4468_); +lean_inc(v_maxHeartbeats_4467_); +lean_inc(v_initHeartbeats_4466_); +lean_inc(v_openDecls_4465_); +lean_inc(v_currNamespace_4464_); +lean_inc(v_ref_4463_); +lean_inc(v_maxRecDepth_4462_); +lean_inc(v_currRecDepth_4461_); +lean_inc(v_options_4460_); +lean_inc(v_fileMap_4459_); +lean_inc(v_fileName_4458_); +lean_dec(v___y_4445_); +v___x_4475_ = lean_box(0); +v_isShared_4476_ = v_isSharedCheck_4485_; +goto v_resetjp_4474_; } -v___jp_4489_: +v___jp_4448_: { -if (lean_obj_tag(v___y_4490_) == 0) +if (lean_obj_tag(v___y_4449_) == 0) { -return v___y_4490_; +return v___y_4449_; } else { -lean_object* v_a_4491_; lean_object* v___x_4493_; uint8_t v_isShared_4494_; uint8_t v_isSharedCheck_4498_; -v_a_4491_ = lean_ctor_get(v___y_4490_, 0); -v_isSharedCheck_4498_ = !lean_is_exclusive(v___y_4490_); -if (v_isSharedCheck_4498_ == 0) +lean_object* v_a_4450_; lean_object* v___x_4452_; uint8_t v_isShared_4453_; uint8_t v_isSharedCheck_4457_; +v_a_4450_ = lean_ctor_get(v___y_4449_, 0); +v_isSharedCheck_4457_ = !lean_is_exclusive(v___y_4449_); +if (v_isSharedCheck_4457_ == 0) { -v___x_4493_ = v___y_4490_; -v_isShared_4494_ = v_isSharedCheck_4498_; -goto v_resetjp_4492_; +v___x_4452_ = v___y_4449_; +v_isShared_4453_ = v_isSharedCheck_4457_; +goto v_resetjp_4451_; } else { -lean_inc(v_a_4491_); -lean_dec(v___y_4490_); -v___x_4493_ = lean_box(0); -v_isShared_4494_ = v_isSharedCheck_4498_; -goto v_resetjp_4492_; +lean_inc(v_a_4450_); +lean_dec(v___y_4449_); +v___x_4452_ = lean_box(0); +v_isShared_4453_ = v_isSharedCheck_4457_; +goto v_resetjp_4451_; } -v_resetjp_4492_: +v_resetjp_4451_: { -lean_object* v___x_4496_; -if (v_isShared_4494_ == 0) +lean_object* v___x_4455_; +if (v_isShared_4453_ == 0) { -v___x_4496_ = v___x_4493_; -goto v_reusejp_4495_; +v___x_4455_ = v___x_4452_; +goto v_reusejp_4454_; } else { -lean_object* v_reuseFailAlloc_4497_; -v_reuseFailAlloc_4497_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4497_, 0, v_a_4491_); -v___x_4496_ = v_reuseFailAlloc_4497_; -goto v_reusejp_4495_; +lean_object* v_reuseFailAlloc_4456_; +v_reuseFailAlloc_4456_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4456_, 0, v_a_4450_); +v___x_4455_ = v_reuseFailAlloc_4456_; +goto v_reusejp_4454_; } -v_reusejp_4495_: +v_reusejp_4454_: { -return v___x_4496_; +return v___x_4455_; } } } } -v_resetjp_4515_: +v_resetjp_4474_: { -uint8_t v___x_4518_; -v___x_4518_ = lean_nat_dec_eq(v_currRecDepth_4502_, v_maxRecDepth_4503_); -if (v___x_4518_ == 0) +uint8_t v___x_4477_; +v___x_4477_ = lean_nat_dec_eq(v_currRecDepth_4461_, v_maxRecDepth_4462_); +if (v___x_4477_ == 0) { -lean_object* v___x_4519_; lean_object* v___x_4520_; lean_object* v___x_4522_; -v___x_4519_ = lean_unsigned_to_nat(1u); -v___x_4520_ = lean_nat_add(v_currRecDepth_4502_, v___x_4519_); -lean_dec(v_currRecDepth_4502_); -if (v_isShared_4517_ == 0) +lean_object* v___x_4478_; lean_object* v___x_4479_; lean_object* v___x_4481_; +v___x_4478_ = lean_unsigned_to_nat(1u); +v___x_4479_ = lean_nat_add(v_currRecDepth_4461_, v___x_4478_); +lean_dec(v_currRecDepth_4461_); +if (v_isShared_4476_ == 0) { -lean_ctor_set(v___x_4516_, 3, v___x_4520_); -v___x_4522_ = v___x_4516_; -goto v_reusejp_4521_; +lean_ctor_set(v___x_4475_, 3, v___x_4479_); +v___x_4481_ = v___x_4475_; +goto v_reusejp_4480_; } else { -lean_object* v_reuseFailAlloc_4524_; -v_reuseFailAlloc_4524_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_4524_, 0, v_fileName_4499_); -lean_ctor_set(v_reuseFailAlloc_4524_, 1, v_fileMap_4500_); -lean_ctor_set(v_reuseFailAlloc_4524_, 2, v_options_4501_); -lean_ctor_set(v_reuseFailAlloc_4524_, 3, v___x_4520_); -lean_ctor_set(v_reuseFailAlloc_4524_, 4, v_maxRecDepth_4503_); -lean_ctor_set(v_reuseFailAlloc_4524_, 5, v_ref_4504_); -lean_ctor_set(v_reuseFailAlloc_4524_, 6, v_currNamespace_4505_); -lean_ctor_set(v_reuseFailAlloc_4524_, 7, v_openDecls_4506_); -lean_ctor_set(v_reuseFailAlloc_4524_, 8, v_initHeartbeats_4507_); -lean_ctor_set(v_reuseFailAlloc_4524_, 9, v_maxHeartbeats_4508_); -lean_ctor_set(v_reuseFailAlloc_4524_, 10, v_quotContext_4509_); -lean_ctor_set(v_reuseFailAlloc_4524_, 11, v_currMacroScope_4510_); -lean_ctor_set(v_reuseFailAlloc_4524_, 12, v_cancelTk_x3f_4512_); -lean_ctor_set(v_reuseFailAlloc_4524_, 13, v_inheritedTraceOptions_4514_); -lean_ctor_set_uint8(v_reuseFailAlloc_4524_, sizeof(void*)*14, v_diag_4511_); -lean_ctor_set_uint8(v_reuseFailAlloc_4524_, sizeof(void*)*14 + 1, v_suppressElabErrors_4513_); -v___x_4522_ = v_reuseFailAlloc_4524_; -goto v_reusejp_4521_; +lean_object* v_reuseFailAlloc_4483_; +v_reuseFailAlloc_4483_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_4483_, 0, v_fileName_4458_); +lean_ctor_set(v_reuseFailAlloc_4483_, 1, v_fileMap_4459_); +lean_ctor_set(v_reuseFailAlloc_4483_, 2, v_options_4460_); +lean_ctor_set(v_reuseFailAlloc_4483_, 3, v___x_4479_); +lean_ctor_set(v_reuseFailAlloc_4483_, 4, v_maxRecDepth_4462_); +lean_ctor_set(v_reuseFailAlloc_4483_, 5, v_ref_4463_); +lean_ctor_set(v_reuseFailAlloc_4483_, 6, v_currNamespace_4464_); +lean_ctor_set(v_reuseFailAlloc_4483_, 7, v_openDecls_4465_); +lean_ctor_set(v_reuseFailAlloc_4483_, 8, v_initHeartbeats_4466_); +lean_ctor_set(v_reuseFailAlloc_4483_, 9, v_maxHeartbeats_4467_); +lean_ctor_set(v_reuseFailAlloc_4483_, 10, v_quotContext_4468_); +lean_ctor_set(v_reuseFailAlloc_4483_, 11, v_currMacroScope_4469_); +lean_ctor_set(v_reuseFailAlloc_4483_, 12, v_cancelTk_x3f_4471_); +lean_ctor_set(v_reuseFailAlloc_4483_, 13, v_inheritedTraceOptions_4473_); +lean_ctor_set_uint8(v_reuseFailAlloc_4483_, sizeof(void*)*14, v_diag_4470_); +lean_ctor_set_uint8(v_reuseFailAlloc_4483_, sizeof(void*)*14 + 1, v_suppressElabErrors_4472_); +v___x_4481_ = v_reuseFailAlloc_4483_; +goto v_reusejp_4480_; } -v_reusejp_4521_: +v_reusejp_4480_: { -lean_object* v___x_4523_; -v___x_4523_ = lean_apply_4(v_x_4484_, v___y_4485_, v___x_4522_, v___y_4487_, lean_box(0)); -v___y_4490_ = v___x_4523_; -goto v___jp_4489_; +lean_object* v___x_4482_; +v___x_4482_ = lean_apply_4(v_x_4443_, v___y_4444_, v___x_4481_, v___y_4446_, lean_box(0)); +v___y_4449_ = v___x_4482_; +goto v___jp_4448_; } } else { -lean_object* v___x_4525_; -lean_del_object(v___x_4516_); -lean_dec_ref(v_inheritedTraceOptions_4514_); -lean_dec(v_cancelTk_x3f_4512_); -lean_dec(v_currMacroScope_4510_); -lean_dec(v_quotContext_4509_); -lean_dec(v_maxHeartbeats_4508_); -lean_dec(v_initHeartbeats_4507_); -lean_dec(v_openDecls_4506_); -lean_dec(v_currNamespace_4505_); -lean_dec(v_maxRecDepth_4503_); -lean_dec(v_currRecDepth_4502_); -lean_dec_ref(v_options_4501_); -lean_dec_ref(v_fileMap_4500_); -lean_dec_ref(v_fileName_4499_); -lean_dec(v___y_4487_); -lean_dec(v___y_4485_); -lean_dec_ref(v_x_4484_); -v___x_4525_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4504_); -v___y_4490_ = v___x_4525_; -goto v___jp_4489_; +lean_object* v___x_4484_; +lean_del_object(v___x_4475_); +lean_dec_ref(v_inheritedTraceOptions_4473_); +lean_dec(v_cancelTk_x3f_4471_); +lean_dec(v_currMacroScope_4469_); +lean_dec(v_quotContext_4468_); +lean_dec(v_maxHeartbeats_4467_); +lean_dec(v_initHeartbeats_4466_); +lean_dec(v_openDecls_4465_); +lean_dec(v_currNamespace_4464_); +lean_dec(v_maxRecDepth_4462_); +lean_dec(v_currRecDepth_4461_); +lean_dec_ref(v_options_4460_); +lean_dec_ref(v_fileMap_4459_); +lean_dec_ref(v_fileName_4458_); +lean_dec(v___y_4446_); +lean_dec(v___y_4444_); +lean_dec_ref(v_x_4443_); +v___x_4484_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4463_); +v___y_4449_ = v___x_4484_; +goto v___jp_4448_; } } } } -LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg___boxed(lean_object* v_x_4527_, lean_object* v___y_4528_, lean_object* v___y_4529_, lean_object* v___y_4530_, lean_object* v___y_4531_){ +LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg___boxed(lean_object* v_x_4486_, lean_object* v___y_4487_, lean_object* v___y_4488_, lean_object* v___y_4489_, lean_object* v___y_4490_){ _start: { -lean_object* v_res_4532_; -v_res_4532_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v_x_4527_, v___y_4528_, v___y_4529_, v___y_4530_); -return v_res_4532_; +lean_object* v_res_4491_; +v_res_4491_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v_x_4486_, v___y_4487_, v___y_4488_, v___y_4489_); +return v_res_4491_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_object* v_00_u03b1_4533_, lean_object* v_x_4534_, lean_object* v___y_4535_, lean_object* v___y_4536_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_object* v_00_u03b1_4492_, lean_object* v_x_4493_, lean_object* v___y_4494_, lean_object* v___y_4495_){ _start: { -lean_object* v___x_4538_; lean_object* v___x_4539_; -v___x_4538_ = lean_apply_1(v_x_4534_, lean_box(0)); -v___x_4539_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4539_, 0, v___x_4538_); -return v___x_4539_; +lean_object* v___x_4497_; lean_object* v___x_4498_; +v___x_4497_ = lean_apply_1(v_x_4493_, lean_box(0)); +v___x_4498_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4498_, 0, v___x_4497_); +return v___x_4498_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0___boxed(lean_object* v_00_u03b1_4540_, lean_object* v_x_4541_, lean_object* v___y_4542_, lean_object* v___y_4543_, lean_object* v___y_4544_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0___boxed(lean_object* v_00_u03b1_4499_, lean_object* v_x_4500_, lean_object* v___y_4501_, lean_object* v___y_4502_, lean_object* v___y_4503_){ _start: { -lean_object* v_res_4545_; -v_res_4545_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(v_00_u03b1_4540_, v_x_4541_, v___y_4542_, v___y_4543_); -lean_dec(v___y_4543_); -lean_dec_ref(v___y_4542_); -return v_res_4545_; +lean_object* v_res_4504_; +v_res_4504_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(v_00_u03b1_4499_, v_x_4500_, v___y_4501_, v___y_4502_); +lean_dec(v___y_4502_); +lean_dec_ref(v___y_4501_); +return v_res_4504_; } } static lean_object* _init_l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0(void){ _start: { -lean_object* v___x_4546_; lean_object* v_dummy_4547_; -v___x_4546_ = lean_box(0); -v_dummy_4547_ = l_Lean_Expr_sort___override(v___x_4546_); -return v_dummy_4547_; +lean_object* v___x_4505_; lean_object* v_dummy_4506_; +v___x_4505_ = lean_box(0); +v_dummy_4506_ = l_Lean_Expr_sort___override(v___x_4505_); +return v_dummy_4506_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(lean_object* v_pre_4548_, lean_object* v_post_4549_, size_t v_sz_4550_, size_t v_i_4551_, lean_object* v_bs_4552_, lean_object* v___y_4553_, lean_object* v___y_4554_, lean_object* v___y_4555_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(lean_object* v_pre_4507_, lean_object* v_post_4508_, size_t v_sz_4509_, size_t v_i_4510_, lean_object* v_bs_4511_, lean_object* v___y_4512_, lean_object* v___y_4513_, lean_object* v___y_4514_){ _start: { -uint8_t v___x_4557_; -v___x_4557_ = lean_usize_dec_lt(v_i_4551_, v_sz_4550_); -if (v___x_4557_ == 0) +uint8_t v___x_4516_; +v___x_4516_ = lean_usize_dec_lt(v_i_4510_, v_sz_4509_); +if (v___x_4516_ == 0) { -lean_object* v___x_4558_; -lean_dec(v___y_4555_); -lean_dec_ref(v___y_4554_); -lean_dec(v___y_4553_); -lean_dec_ref(v_post_4549_); -lean_dec_ref(v_pre_4548_); -v___x_4558_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4558_, 0, v_bs_4552_); -return v___x_4558_; +lean_object* v___x_4517_; +lean_dec(v___y_4514_); +lean_dec_ref(v___y_4513_); +lean_dec(v___y_4512_); +lean_dec_ref(v_post_4508_); +lean_dec_ref(v_pre_4507_); +v___x_4517_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4517_, 0, v_bs_4511_); +return v___x_4517_; } else { -lean_object* v_v_4559_; lean_object* v___x_4560_; -v_v_4559_ = lean_array_uget_borrowed(v_bs_4552_, v_i_4551_); -lean_inc(v___y_4555_); -lean_inc_ref(v___y_4554_); -lean_inc(v___y_4553_); -lean_inc(v_v_4559_); -lean_inc_ref(v_post_4549_); -lean_inc_ref(v_pre_4548_); -v___x_4560_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4548_, v_post_4549_, v_v_4559_, v___y_4553_, v___y_4554_, v___y_4555_); -if (lean_obj_tag(v___x_4560_) == 0) +lean_object* v_v_4518_; lean_object* v___x_4519_; +v_v_4518_ = lean_array_uget_borrowed(v_bs_4511_, v_i_4510_); +lean_inc(v___y_4514_); +lean_inc_ref(v___y_4513_); +lean_inc(v___y_4512_); +lean_inc(v_v_4518_); +lean_inc_ref(v_post_4508_); +lean_inc_ref(v_pre_4507_); +v___x_4519_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4507_, v_post_4508_, v_v_4518_, v___y_4512_, v___y_4513_, v___y_4514_); +if (lean_obj_tag(v___x_4519_) == 0) { -lean_object* v_a_4561_; lean_object* v___x_4562_; lean_object* v_bs_x27_4563_; size_t v___x_4564_; size_t v___x_4565_; lean_object* v___x_4566_; -v_a_4561_ = lean_ctor_get(v___x_4560_, 0); -lean_inc(v_a_4561_); -lean_dec_ref(v___x_4560_); -v___x_4562_ = lean_unsigned_to_nat(0u); -v_bs_x27_4563_ = lean_array_uset(v_bs_4552_, v_i_4551_, v___x_4562_); -v___x_4564_ = ((size_t)1ULL); -v___x_4565_ = lean_usize_add(v_i_4551_, v___x_4564_); -v___x_4566_ = lean_array_uset(v_bs_x27_4563_, v_i_4551_, v_a_4561_); -v_i_4551_ = v___x_4565_; -v_bs_4552_ = v___x_4566_; +lean_object* v_a_4520_; lean_object* v___x_4521_; lean_object* v_bs_x27_4522_; size_t v___x_4523_; size_t v___x_4524_; lean_object* v___x_4525_; +v_a_4520_ = lean_ctor_get(v___x_4519_, 0); +lean_inc(v_a_4520_); +lean_dec_ref(v___x_4519_); +v___x_4521_ = lean_unsigned_to_nat(0u); +v_bs_x27_4522_ = lean_array_uset(v_bs_4511_, v_i_4510_, v___x_4521_); +v___x_4523_ = ((size_t)1ULL); +v___x_4524_ = lean_usize_add(v_i_4510_, v___x_4523_); +v___x_4525_ = lean_array_uset(v_bs_x27_4522_, v_i_4510_, v_a_4520_); +v_i_4510_ = v___x_4524_; +v_bs_4511_ = v___x_4525_; goto _start; } else { -lean_object* v_a_4568_; lean_object* v___x_4570_; uint8_t v_isShared_4571_; uint8_t v_isSharedCheck_4575_; -lean_dec(v___y_4555_); -lean_dec_ref(v___y_4554_); -lean_dec(v___y_4553_); -lean_dec_ref(v_bs_4552_); -lean_dec_ref(v_post_4549_); -lean_dec_ref(v_pre_4548_); -v_a_4568_ = lean_ctor_get(v___x_4560_, 0); -v_isSharedCheck_4575_ = !lean_is_exclusive(v___x_4560_); -if (v_isSharedCheck_4575_ == 0) +lean_object* v_a_4527_; lean_object* v___x_4529_; uint8_t v_isShared_4530_; uint8_t v_isSharedCheck_4534_; +lean_dec(v___y_4514_); +lean_dec_ref(v___y_4513_); +lean_dec(v___y_4512_); +lean_dec_ref(v_bs_4511_); +lean_dec_ref(v_post_4508_); +lean_dec_ref(v_pre_4507_); +v_a_4527_ = lean_ctor_get(v___x_4519_, 0); +v_isSharedCheck_4534_ = !lean_is_exclusive(v___x_4519_); +if (v_isSharedCheck_4534_ == 0) { -v___x_4570_ = v___x_4560_; -v_isShared_4571_ = v_isSharedCheck_4575_; -goto v_resetjp_4569_; +v___x_4529_ = v___x_4519_; +v_isShared_4530_ = v_isSharedCheck_4534_; +goto v_resetjp_4528_; } else { -lean_inc(v_a_4568_); -lean_dec(v___x_4560_); -v___x_4570_ = lean_box(0); -v_isShared_4571_ = v_isSharedCheck_4575_; -goto v_resetjp_4569_; +lean_inc(v_a_4527_); +lean_dec(v___x_4519_); +v___x_4529_ = lean_box(0); +v_isShared_4530_ = v_isSharedCheck_4534_; +goto v_resetjp_4528_; } -v_resetjp_4569_: +v_resetjp_4528_: { -lean_object* v___x_4573_; -if (v_isShared_4571_ == 0) +lean_object* v___x_4532_; +if (v_isShared_4530_ == 0) { -v___x_4573_ = v___x_4570_; -goto v_reusejp_4572_; +v___x_4532_ = v___x_4529_; +goto v_reusejp_4531_; } else { -lean_object* v_reuseFailAlloc_4574_; -v_reuseFailAlloc_4574_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4574_, 0, v_a_4568_); -v___x_4573_ = v_reuseFailAlloc_4574_; -goto v_reusejp_4572_; +lean_object* v_reuseFailAlloc_4533_; +v_reuseFailAlloc_4533_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4533_, 0, v_a_4527_); +v___x_4532_ = v_reuseFailAlloc_4533_; +goto v_reusejp_4531_; } -v_reusejp_4572_: +v_reusejp_4531_: { -return v___x_4573_; +return v___x_4532_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(lean_object* v_pre_4576_, lean_object* v_post_4577_, lean_object* v_x_4578_, lean_object* v_x_4579_, lean_object* v_x_4580_, lean_object* v___y_4581_, lean_object* v___y_4582_, lean_object* v___y_4583_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(lean_object* v_pre_4535_, lean_object* v_post_4536_, lean_object* v_x_4537_, lean_object* v_x_4538_, lean_object* v_x_4539_, lean_object* v___y_4540_, lean_object* v___y_4541_, lean_object* v___y_4542_){ _start: { -if (lean_obj_tag(v_x_4578_) == 5) +if (lean_obj_tag(v_x_4537_) == 5) { -lean_object* v_fn_4585_; lean_object* v_arg_4586_; lean_object* v___x_4587_; lean_object* v___x_4588_; lean_object* v___x_4589_; -v_fn_4585_ = lean_ctor_get(v_x_4578_, 0); -lean_inc_ref(v_fn_4585_); -v_arg_4586_ = lean_ctor_get(v_x_4578_, 1); -lean_inc_ref(v_arg_4586_); -lean_dec_ref(v_x_4578_); -v___x_4587_ = lean_array_set(v_x_4579_, v_x_4580_, v_arg_4586_); -v___x_4588_ = lean_unsigned_to_nat(1u); -v___x_4589_ = lean_nat_sub(v_x_4580_, v___x_4588_); -lean_dec(v_x_4580_); -v_x_4578_ = v_fn_4585_; -v_x_4579_ = v___x_4587_; -v_x_4580_ = v___x_4589_; +lean_object* v_fn_4544_; lean_object* v_arg_4545_; lean_object* v___x_4546_; lean_object* v___x_4547_; lean_object* v___x_4548_; +v_fn_4544_ = lean_ctor_get(v_x_4537_, 0); +lean_inc_ref(v_fn_4544_); +v_arg_4545_ = lean_ctor_get(v_x_4537_, 1); +lean_inc_ref(v_arg_4545_); +lean_dec_ref(v_x_4537_); +v___x_4546_ = lean_array_set(v_x_4538_, v_x_4539_, v_arg_4545_); +v___x_4547_ = lean_unsigned_to_nat(1u); +v___x_4548_ = lean_nat_sub(v_x_4539_, v___x_4547_); +lean_dec(v_x_4539_); +v_x_4537_ = v_fn_4544_; +v_x_4538_ = v___x_4546_; +v_x_4539_ = v___x_4548_; goto _start; } else { -lean_object* v___x_4591_; -lean_dec(v_x_4580_); -lean_inc(v___y_4583_); -lean_inc_ref(v___y_4582_); -lean_inc(v___y_4581_); -lean_inc_ref(v_post_4577_); -lean_inc_ref(v_pre_4576_); -v___x_4591_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4576_, v_post_4577_, v_x_4578_, v___y_4581_, v___y_4582_, v___y_4583_); -if (lean_obj_tag(v___x_4591_) == 0) +lean_object* v___x_4550_; +lean_dec(v_x_4539_); +lean_inc(v___y_4542_); +lean_inc_ref(v___y_4541_); +lean_inc(v___y_4540_); +lean_inc_ref(v_post_4536_); +lean_inc_ref(v_pre_4535_); +v___x_4550_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4535_, v_post_4536_, v_x_4537_, v___y_4540_, v___y_4541_, v___y_4542_); +if (lean_obj_tag(v___x_4550_) == 0) { -lean_object* v_a_4592_; size_t v_sz_4593_; size_t v___x_4594_; lean_object* v___x_4595_; -v_a_4592_ = lean_ctor_get(v___x_4591_, 0); -lean_inc(v_a_4592_); -lean_dec_ref(v___x_4591_); -v_sz_4593_ = lean_array_size(v_x_4579_); -v___x_4594_ = ((size_t)0ULL); -lean_inc(v___y_4583_); -lean_inc_ref(v___y_4582_); -lean_inc(v___y_4581_); -lean_inc_ref(v_post_4577_); -lean_inc_ref(v_pre_4576_); -v___x_4595_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(v_pre_4576_, v_post_4577_, v_sz_4593_, v___x_4594_, v_x_4579_, v___y_4581_, v___y_4582_, v___y_4583_); -if (lean_obj_tag(v___x_4595_) == 0) +lean_object* v_a_4551_; size_t v_sz_4552_; size_t v___x_4553_; lean_object* v___x_4554_; +v_a_4551_ = lean_ctor_get(v___x_4550_, 0); +lean_inc(v_a_4551_); +lean_dec_ref(v___x_4550_); +v_sz_4552_ = lean_array_size(v_x_4538_); +v___x_4553_ = ((size_t)0ULL); +lean_inc(v___y_4542_); +lean_inc_ref(v___y_4541_); +lean_inc(v___y_4540_); +lean_inc_ref(v_post_4536_); +lean_inc_ref(v_pre_4535_); +v___x_4554_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(v_pre_4535_, v_post_4536_, v_sz_4552_, v___x_4553_, v_x_4538_, v___y_4540_, v___y_4541_, v___y_4542_); +if (lean_obj_tag(v___x_4554_) == 0) { -lean_object* v_a_4596_; lean_object* v___x_4597_; lean_object* v___x_4598_; -v_a_4596_ = lean_ctor_get(v___x_4595_, 0); -lean_inc(v_a_4596_); -lean_dec_ref(v___x_4595_); -v___x_4597_ = l_Lean_mkAppN(v_a_4592_, v_a_4596_); -lean_dec(v_a_4596_); -v___x_4598_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4576_, v_post_4577_, v___x_4597_, v___y_4581_, v___y_4582_, v___y_4583_); -return v___x_4598_; +lean_object* v_a_4555_; lean_object* v___x_4556_; lean_object* v___x_4557_; +v_a_4555_ = lean_ctor_get(v___x_4554_, 0); +lean_inc(v_a_4555_); +lean_dec_ref(v___x_4554_); +v___x_4556_ = l_Lean_mkAppN(v_a_4551_, v_a_4555_); +lean_dec(v_a_4555_); +v___x_4557_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4535_, v_post_4536_, v___x_4556_, v___y_4540_, v___y_4541_, v___y_4542_); +return v___x_4557_; } else { -lean_object* v_a_4599_; lean_object* v___x_4601_; uint8_t v_isShared_4602_; uint8_t v_isSharedCheck_4606_; -lean_dec(v_a_4592_); -lean_dec(v___y_4583_); -lean_dec_ref(v___y_4582_); -lean_dec(v___y_4581_); -lean_dec_ref(v_post_4577_); -lean_dec_ref(v_pre_4576_); -v_a_4599_ = lean_ctor_get(v___x_4595_, 0); -v_isSharedCheck_4606_ = !lean_is_exclusive(v___x_4595_); -if (v_isSharedCheck_4606_ == 0) +lean_object* v_a_4558_; lean_object* v___x_4560_; uint8_t v_isShared_4561_; uint8_t v_isSharedCheck_4565_; +lean_dec(v_a_4551_); +lean_dec(v___y_4542_); +lean_dec_ref(v___y_4541_); +lean_dec(v___y_4540_); +lean_dec_ref(v_post_4536_); +lean_dec_ref(v_pre_4535_); +v_a_4558_ = lean_ctor_get(v___x_4554_, 0); +v_isSharedCheck_4565_ = !lean_is_exclusive(v___x_4554_); +if (v_isSharedCheck_4565_ == 0) { -v___x_4601_ = v___x_4595_; -v_isShared_4602_ = v_isSharedCheck_4606_; -goto v_resetjp_4600_; +v___x_4560_ = v___x_4554_; +v_isShared_4561_ = v_isSharedCheck_4565_; +goto v_resetjp_4559_; } else { -lean_inc(v_a_4599_); -lean_dec(v___x_4595_); -v___x_4601_ = lean_box(0); -v_isShared_4602_ = v_isSharedCheck_4606_; -goto v_resetjp_4600_; +lean_inc(v_a_4558_); +lean_dec(v___x_4554_); +v___x_4560_ = lean_box(0); +v_isShared_4561_ = v_isSharedCheck_4565_; +goto v_resetjp_4559_; } -v_resetjp_4600_: +v_resetjp_4559_: { -lean_object* v___x_4604_; -if (v_isShared_4602_ == 0) +lean_object* v___x_4563_; +if (v_isShared_4561_ == 0) { -v___x_4604_ = v___x_4601_; -goto v_reusejp_4603_; +v___x_4563_ = v___x_4560_; +goto v_reusejp_4562_; } else { -lean_object* v_reuseFailAlloc_4605_; -v_reuseFailAlloc_4605_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4605_, 0, v_a_4599_); -v___x_4604_ = v_reuseFailAlloc_4605_; -goto v_reusejp_4603_; +lean_object* v_reuseFailAlloc_4564_; +v_reuseFailAlloc_4564_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4564_, 0, v_a_4558_); +v___x_4563_ = v_reuseFailAlloc_4564_; +goto v_reusejp_4562_; } -v_reusejp_4603_: +v_reusejp_4562_: { -return v___x_4604_; +return v___x_4563_; } } } } else { -lean_dec(v___y_4583_); -lean_dec_ref(v___y_4582_); -lean_dec(v___y_4581_); -lean_dec_ref(v_x_4579_); -lean_dec_ref(v_post_4577_); -lean_dec_ref(v_pre_4576_); -return v___x_4591_; +lean_dec(v___y_4542_); +lean_dec_ref(v___y_4541_); +lean_dec(v___y_4540_); +lean_dec_ref(v_x_4538_); +lean_dec_ref(v_post_4536_); +lean_dec_ref(v_pre_4535_); +return v___x_4550_; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1(lean_object* v_pre_4607_, lean_object* v_e_4608_, lean_object* v_post_4609_, lean_object* v___y_4610_, lean_object* v___y_4611_, lean_object* v___y_4612_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1(lean_object* v_pre_4566_, lean_object* v_e_4567_, lean_object* v_post_4568_, lean_object* v___y_4569_, lean_object* v___y_4570_, lean_object* v___y_4571_){ _start: { -lean_object* v___y_4615_; lean_object* v___y_4616_; lean_object* v___y_4617_; uint8_t v___y_4618_; lean_object* v___y_4619_; lean_object* v___y_4620_; lean_object* v___y_4621_; uint8_t v___y_4622_; lean_object* v___y_4632_; lean_object* v___y_4633_; uint8_t v___y_4634_; lean_object* v___y_4635_; lean_object* v___y_4636_; uint8_t v___y_4637_; lean_object* v___y_4645_; uint8_t v___y_4646_; lean_object* v___y_4647_; lean_object* v___y_4648_; lean_object* v___y_4649_; uint8_t v___y_4650_; lean_object* v___x_4657_; -lean_inc_ref(v_pre_4607_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc_ref(v_e_4608_); -v___x_4657_ = lean_apply_4(v_pre_4607_, v_e_4608_, v___y_4611_, v___y_4612_, lean_box(0)); -if (lean_obj_tag(v___x_4657_) == 0) +lean_object* v___y_4574_; lean_object* v___y_4575_; uint8_t v___y_4576_; lean_object* v___y_4577_; lean_object* v___y_4578_; lean_object* v___y_4579_; lean_object* v___y_4580_; uint8_t v___y_4581_; lean_object* v___y_4591_; lean_object* v___y_4592_; lean_object* v___y_4593_; lean_object* v___y_4594_; uint8_t v___y_4595_; uint8_t v___y_4596_; uint8_t v___y_4604_; lean_object* v___y_4605_; lean_object* v___y_4606_; lean_object* v___y_4607_; lean_object* v___y_4608_; uint8_t v___y_4609_; lean_object* v___x_4616_; +lean_inc_ref(v_pre_4566_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc_ref(v_e_4567_); +v___x_4616_ = lean_apply_4(v_pre_4566_, v_e_4567_, v___y_4570_, v___y_4571_, lean_box(0)); +if (lean_obj_tag(v___x_4616_) == 0) { -lean_object* v_a_4658_; lean_object* v___x_4660_; uint8_t v_isShared_4661_; uint8_t v_isSharedCheck_4747_; -v_a_4658_ = lean_ctor_get(v___x_4657_, 0); -v_isSharedCheck_4747_ = !lean_is_exclusive(v___x_4657_); -if (v_isSharedCheck_4747_ == 0) +lean_object* v_a_4617_; lean_object* v___x_4619_; uint8_t v_isShared_4620_; uint8_t v_isSharedCheck_4706_; +v_a_4617_ = lean_ctor_get(v___x_4616_, 0); +v_isSharedCheck_4706_ = !lean_is_exclusive(v___x_4616_); +if (v_isSharedCheck_4706_ == 0) { -v___x_4660_ = v___x_4657_; -v_isShared_4661_ = v_isSharedCheck_4747_; -goto v_resetjp_4659_; +v___x_4619_ = v___x_4616_; +v_isShared_4620_ = v_isSharedCheck_4706_; +goto v_resetjp_4618_; } else { -lean_inc(v_a_4658_); -lean_dec(v___x_4657_); -v___x_4660_ = lean_box(0); -v_isShared_4661_ = v_isSharedCheck_4747_; -goto v_resetjp_4659_; +lean_inc(v_a_4617_); +lean_dec(v___x_4616_); +v___x_4619_ = lean_box(0); +v_isShared_4620_ = v_isSharedCheck_4706_; +goto v_resetjp_4618_; } -v_resetjp_4659_: +v_resetjp_4618_: { -lean_object* v___y_4663_; -switch(lean_obj_tag(v_a_4658_)) +lean_object* v___y_4622_; +switch(lean_obj_tag(v_a_4617_)) { case 0: { -lean_object* v_e_4737_; lean_object* v___x_4739_; -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_e_4608_); -lean_dec_ref(v_pre_4607_); -v_e_4737_ = lean_ctor_get(v_a_4658_, 0); -lean_inc_ref(v_e_4737_); -lean_dec_ref(v_a_4658_); -if (v_isShared_4661_ == 0) +lean_object* v_e_4696_; lean_object* v___x_4698_; +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_e_4567_); +lean_dec_ref(v_pre_4566_); +v_e_4696_ = lean_ctor_get(v_a_4617_, 0); +lean_inc_ref(v_e_4696_); +lean_dec_ref(v_a_4617_); +if (v_isShared_4620_ == 0) { -lean_ctor_set(v___x_4660_, 0, v_e_4737_); -v___x_4739_ = v___x_4660_; -goto v_reusejp_4738_; +lean_ctor_set(v___x_4619_, 0, v_e_4696_); +v___x_4698_ = v___x_4619_; +goto v_reusejp_4697_; } else { -lean_object* v_reuseFailAlloc_4740_; -v_reuseFailAlloc_4740_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4740_, 0, v_e_4737_); -v___x_4739_ = v_reuseFailAlloc_4740_; -goto v_reusejp_4738_; +lean_object* v_reuseFailAlloc_4699_; +v_reuseFailAlloc_4699_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4699_, 0, v_e_4696_); +v___x_4698_ = v_reuseFailAlloc_4699_; +goto v_reusejp_4697_; } -v_reusejp_4738_: +v_reusejp_4697_: { -return v___x_4739_; +return v___x_4698_; } } case 1: { -lean_object* v_e_4741_; lean_object* v___x_4742_; -lean_del_object(v___x_4660_); -lean_dec_ref(v_e_4608_); -v_e_4741_ = lean_ctor_get(v_a_4658_, 0); -lean_inc_ref(v_e_4741_); -lean_dec_ref(v_a_4658_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4742_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_e_4741_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4742_) == 0) +lean_object* v_e_4700_; lean_object* v___x_4701_; +lean_del_object(v___x_4619_); +lean_dec_ref(v_e_4567_); +v_e_4700_ = lean_ctor_get(v_a_4617_, 0); +lean_inc_ref(v_e_4700_); +lean_dec_ref(v_a_4617_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4701_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_e_4700_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4701_) == 0) { -lean_object* v_a_4743_; lean_object* v___x_4744_; -v_a_4743_ = lean_ctor_get(v___x_4742_, 0); -lean_inc(v_a_4743_); -lean_dec_ref(v___x_4742_); -v___x_4744_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v_a_4743_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4744_; +lean_object* v_a_4702_; lean_object* v___x_4703_; +v_a_4702_ = lean_ctor_get(v___x_4701_, 0); +lean_inc(v_a_4702_); +lean_dec_ref(v___x_4701_); +v___x_4703_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v_a_4702_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4703_; } else { -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4742_; +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4701_; } } default: { -lean_object* v_e_x3f_4745_; -lean_del_object(v___x_4660_); -v_e_x3f_4745_ = lean_ctor_get(v_a_4658_, 0); -lean_inc(v_e_x3f_4745_); -lean_dec_ref(v_a_4658_); -if (lean_obj_tag(v_e_x3f_4745_) == 0) +lean_object* v_e_x3f_4704_; +lean_del_object(v___x_4619_); +v_e_x3f_4704_ = lean_ctor_get(v_a_4617_, 0); +lean_inc(v_e_x3f_4704_); +lean_dec_ref(v_a_4617_); +if (lean_obj_tag(v_e_x3f_4704_) == 0) { -v___y_4663_ = v_e_4608_; -goto v___jp_4662_; +v___y_4622_ = v_e_4567_; +goto v___jp_4621_; } else { -lean_object* v_val_4746_; -lean_dec_ref(v_e_4608_); -v_val_4746_ = lean_ctor_get(v_e_x3f_4745_, 0); -lean_inc(v_val_4746_); -lean_dec_ref(v_e_x3f_4745_); -v___y_4663_ = v_val_4746_; -goto v___jp_4662_; +lean_object* v_val_4705_; +lean_dec_ref(v_e_4567_); +v_val_4705_ = lean_ctor_get(v_e_x3f_4704_, 0); +lean_inc(v_val_4705_); +lean_dec_ref(v_e_x3f_4704_); +v___y_4622_ = v_val_4705_; +goto v___jp_4621_; } } } -v___jp_4662_: +v___jp_4621_: { -switch(lean_obj_tag(v___y_4663_)) +switch(lean_obj_tag(v___y_4622_)) { case 7: { -lean_object* v_binderName_4664_; lean_object* v_binderType_4665_; lean_object* v_body_4666_; uint8_t v_binderInfo_4667_; lean_object* v___x_4668_; -v_binderName_4664_ = lean_ctor_get(v___y_4663_, 0); -lean_inc(v_binderName_4664_); -v_binderType_4665_ = lean_ctor_get(v___y_4663_, 1); -v_body_4666_ = lean_ctor_get(v___y_4663_, 2); -v_binderInfo_4667_ = lean_ctor_get_uint8(v___y_4663_, sizeof(void*)*3 + 8); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_binderType_4665_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4668_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_binderType_4665_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4668_) == 0) +lean_object* v_binderName_4623_; lean_object* v_binderType_4624_; lean_object* v_body_4625_; uint8_t v_binderInfo_4626_; lean_object* v___x_4627_; +v_binderName_4623_ = lean_ctor_get(v___y_4622_, 0); +lean_inc(v_binderName_4623_); +v_binderType_4624_ = lean_ctor_get(v___y_4622_, 1); +v_body_4625_ = lean_ctor_get(v___y_4622_, 2); +v_binderInfo_4626_ = lean_ctor_get_uint8(v___y_4622_, sizeof(void*)*3 + 8); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_binderType_4624_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4627_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_binderType_4624_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4627_) == 0) { -lean_object* v_a_4669_; lean_object* v___x_4670_; -v_a_4669_ = lean_ctor_get(v___x_4668_, 0); -lean_inc(v_a_4669_); -lean_dec_ref(v___x_4668_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_body_4666_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4670_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_body_4666_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4670_) == 0) +lean_object* v_a_4628_; lean_object* v___x_4629_; +v_a_4628_ = lean_ctor_get(v___x_4627_, 0); +lean_inc(v_a_4628_); +lean_dec_ref(v___x_4627_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_body_4625_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4629_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_body_4625_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4629_) == 0) { -lean_object* v_a_4671_; size_t v___x_4672_; size_t v___x_4673_; uint8_t v___x_4674_; -v_a_4671_ = lean_ctor_get(v___x_4670_, 0); -lean_inc(v_a_4671_); -lean_dec_ref(v___x_4670_); -v___x_4672_ = lean_ptr_addr(v_binderType_4665_); -v___x_4673_ = lean_ptr_addr(v_a_4669_); -v___x_4674_ = lean_usize_dec_eq(v___x_4672_, v___x_4673_); -if (v___x_4674_ == 0) +lean_object* v_a_4630_; size_t v___x_4631_; size_t v___x_4632_; uint8_t v___x_4633_; +v_a_4630_ = lean_ctor_get(v___x_4629_, 0); +lean_inc(v_a_4630_); +lean_dec_ref(v___x_4629_); +v___x_4631_ = lean_ptr_addr(v_binderType_4624_); +v___x_4632_ = lean_ptr_addr(v_a_4628_); +v___x_4633_ = lean_usize_dec_eq(v___x_4631_, v___x_4632_); +if (v___x_4633_ == 0) { -v___y_4645_ = v___y_4663_; -v___y_4646_ = v_binderInfo_4667_; -v___y_4647_ = v_a_4671_; -v___y_4648_ = v_binderName_4664_; -v___y_4649_ = v_a_4669_; -v___y_4650_ = v___x_4674_; -goto v___jp_4644_; +v___y_4604_ = v_binderInfo_4626_; +v___y_4605_ = v___y_4622_; +v___y_4606_ = v_binderName_4623_; +v___y_4607_ = v_a_4630_; +v___y_4608_ = v_a_4628_; +v___y_4609_ = v___x_4633_; +goto v___jp_4603_; } else { -size_t v___x_4675_; size_t v___x_4676_; uint8_t v___x_4677_; -v___x_4675_ = lean_ptr_addr(v_body_4666_); -v___x_4676_ = lean_ptr_addr(v_a_4671_); -v___x_4677_ = lean_usize_dec_eq(v___x_4675_, v___x_4676_); -v___y_4645_ = v___y_4663_; -v___y_4646_ = v_binderInfo_4667_; -v___y_4647_ = v_a_4671_; -v___y_4648_ = v_binderName_4664_; -v___y_4649_ = v_a_4669_; -v___y_4650_ = v___x_4677_; -goto v___jp_4644_; +size_t v___x_4634_; size_t v___x_4635_; uint8_t v___x_4636_; +v___x_4634_ = lean_ptr_addr(v_body_4625_); +v___x_4635_ = lean_ptr_addr(v_a_4630_); +v___x_4636_ = lean_usize_dec_eq(v___x_4634_, v___x_4635_); +v___y_4604_ = v_binderInfo_4626_; +v___y_4605_ = v___y_4622_; +v___y_4606_ = v_binderName_4623_; +v___y_4607_ = v_a_4630_; +v___y_4608_ = v_a_4628_; +v___y_4609_ = v___x_4636_; +goto v___jp_4603_; } } else { -lean_dec(v_a_4669_); -lean_dec(v_binderName_4664_); -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4670_; +lean_dec(v_a_4628_); +lean_dec_ref(v___y_4622_); +lean_dec(v_binderName_4623_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4629_; } } else { -lean_dec(v_binderName_4664_); -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4668_; +lean_dec(v_binderName_4623_); +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4627_; } } case 6: { -lean_object* v_binderName_4678_; lean_object* v_binderType_4679_; lean_object* v_body_4680_; uint8_t v_binderInfo_4681_; lean_object* v___x_4682_; -v_binderName_4678_ = lean_ctor_get(v___y_4663_, 0); -lean_inc(v_binderName_4678_); -v_binderType_4679_ = lean_ctor_get(v___y_4663_, 1); -v_body_4680_ = lean_ctor_get(v___y_4663_, 2); -v_binderInfo_4681_ = lean_ctor_get_uint8(v___y_4663_, sizeof(void*)*3 + 8); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_binderType_4679_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4682_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_binderType_4679_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4682_) == 0) +lean_object* v_binderName_4637_; lean_object* v_binderType_4638_; lean_object* v_body_4639_; uint8_t v_binderInfo_4640_; lean_object* v___x_4641_; +v_binderName_4637_ = lean_ctor_get(v___y_4622_, 0); +lean_inc(v_binderName_4637_); +v_binderType_4638_ = lean_ctor_get(v___y_4622_, 1); +v_body_4639_ = lean_ctor_get(v___y_4622_, 2); +v_binderInfo_4640_ = lean_ctor_get_uint8(v___y_4622_, sizeof(void*)*3 + 8); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_binderType_4638_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4641_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_binderType_4638_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4641_) == 0) { -lean_object* v_a_4683_; lean_object* v___x_4684_; -v_a_4683_ = lean_ctor_get(v___x_4682_, 0); -lean_inc(v_a_4683_); -lean_dec_ref(v___x_4682_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_body_4680_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4684_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_body_4680_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4684_) == 0) +lean_object* v_a_4642_; lean_object* v___x_4643_; +v_a_4642_ = lean_ctor_get(v___x_4641_, 0); +lean_inc(v_a_4642_); +lean_dec_ref(v___x_4641_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_body_4639_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4643_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_body_4639_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4643_) == 0) { -lean_object* v_a_4685_; size_t v___x_4686_; size_t v___x_4687_; uint8_t v___x_4688_; -v_a_4685_ = lean_ctor_get(v___x_4684_, 0); -lean_inc(v_a_4685_); -lean_dec_ref(v___x_4684_); -v___x_4686_ = lean_ptr_addr(v_binderType_4679_); -v___x_4687_ = lean_ptr_addr(v_a_4683_); -v___x_4688_ = lean_usize_dec_eq(v___x_4686_, v___x_4687_); -if (v___x_4688_ == 0) +lean_object* v_a_4644_; size_t v___x_4645_; size_t v___x_4646_; uint8_t v___x_4647_; +v_a_4644_ = lean_ctor_get(v___x_4643_, 0); +lean_inc(v_a_4644_); +lean_dec_ref(v___x_4643_); +v___x_4645_ = lean_ptr_addr(v_binderType_4638_); +v___x_4646_ = lean_ptr_addr(v_a_4642_); +v___x_4647_ = lean_usize_dec_eq(v___x_4645_, v___x_4646_); +if (v___x_4647_ == 0) { -v___y_4632_ = v___y_4663_; -v___y_4633_ = v_binderName_4678_; -v___y_4634_ = v_binderInfo_4681_; -v___y_4635_ = v_a_4683_; -v___y_4636_ = v_a_4685_; -v___y_4637_ = v___x_4688_; -goto v___jp_4631_; +v___y_4591_ = v_a_4644_; +v___y_4592_ = v_binderName_4637_; +v___y_4593_ = v___y_4622_; +v___y_4594_ = v_a_4642_; +v___y_4595_ = v_binderInfo_4640_; +v___y_4596_ = v___x_4647_; +goto v___jp_4590_; } else { -size_t v___x_4689_; size_t v___x_4690_; uint8_t v___x_4691_; -v___x_4689_ = lean_ptr_addr(v_body_4680_); -v___x_4690_ = lean_ptr_addr(v_a_4685_); -v___x_4691_ = lean_usize_dec_eq(v___x_4689_, v___x_4690_); -v___y_4632_ = v___y_4663_; -v___y_4633_ = v_binderName_4678_; -v___y_4634_ = v_binderInfo_4681_; -v___y_4635_ = v_a_4683_; -v___y_4636_ = v_a_4685_; -v___y_4637_ = v___x_4691_; -goto v___jp_4631_; +size_t v___x_4648_; size_t v___x_4649_; uint8_t v___x_4650_; +v___x_4648_ = lean_ptr_addr(v_body_4639_); +v___x_4649_ = lean_ptr_addr(v_a_4644_); +v___x_4650_ = lean_usize_dec_eq(v___x_4648_, v___x_4649_); +v___y_4591_ = v_a_4644_; +v___y_4592_ = v_binderName_4637_; +v___y_4593_ = v___y_4622_; +v___y_4594_ = v_a_4642_; +v___y_4595_ = v_binderInfo_4640_; +v___y_4596_ = v___x_4650_; +goto v___jp_4590_; } } else { -lean_dec(v_a_4683_); -lean_dec(v_binderName_4678_); -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4684_; +lean_dec(v_a_4642_); +lean_dec(v_binderName_4637_); +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4643_; } } else { -lean_dec_ref(v___y_4663_); -lean_dec(v_binderName_4678_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4682_; +lean_dec(v_binderName_4637_); +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4641_; } } case 8: { -lean_object* v_declName_4692_; lean_object* v_type_4693_; lean_object* v_value_4694_; lean_object* v_body_4695_; uint8_t v_nondep_4696_; lean_object* v___x_4697_; -v_declName_4692_ = lean_ctor_get(v___y_4663_, 0); -lean_inc(v_declName_4692_); -v_type_4693_ = lean_ctor_get(v___y_4663_, 1); -v_value_4694_ = lean_ctor_get(v___y_4663_, 2); -v_body_4695_ = lean_ctor_get(v___y_4663_, 3); -lean_inc_ref(v_body_4695_); -v_nondep_4696_ = lean_ctor_get_uint8(v___y_4663_, sizeof(void*)*4 + 8); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_type_4693_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4697_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_type_4693_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4697_) == 0) +lean_object* v_declName_4651_; lean_object* v_type_4652_; lean_object* v_value_4653_; lean_object* v_body_4654_; uint8_t v_nondep_4655_; lean_object* v___x_4656_; +v_declName_4651_ = lean_ctor_get(v___y_4622_, 0); +lean_inc(v_declName_4651_); +v_type_4652_ = lean_ctor_get(v___y_4622_, 1); +v_value_4653_ = lean_ctor_get(v___y_4622_, 2); +v_body_4654_ = lean_ctor_get(v___y_4622_, 3); +lean_inc_ref(v_body_4654_); +v_nondep_4655_ = lean_ctor_get_uint8(v___y_4622_, sizeof(void*)*4 + 8); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_type_4652_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4656_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_type_4652_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4656_) == 0) { -lean_object* v_a_4698_; lean_object* v___x_4699_; -v_a_4698_ = lean_ctor_get(v___x_4697_, 0); -lean_inc(v_a_4698_); -lean_dec_ref(v___x_4697_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_value_4694_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4699_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_value_4694_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4699_) == 0) +lean_object* v_a_4657_; lean_object* v___x_4658_; +v_a_4657_ = lean_ctor_get(v___x_4656_, 0); +lean_inc(v_a_4657_); +lean_dec_ref(v___x_4656_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_value_4653_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4658_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_value_4653_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4658_) == 0) { -lean_object* v_a_4700_; lean_object* v___x_4701_; -v_a_4700_ = lean_ctor_get(v___x_4699_, 0); -lean_inc(v_a_4700_); -lean_dec_ref(v___x_4699_); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_body_4695_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4701_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_body_4695_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4701_) == 0) +lean_object* v_a_4659_; lean_object* v___x_4660_; +v_a_4659_ = lean_ctor_get(v___x_4658_, 0); +lean_inc(v_a_4659_); +lean_dec_ref(v___x_4658_); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_body_4654_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4660_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_body_4654_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4660_) == 0) { -lean_object* v_a_4702_; size_t v___x_4703_; size_t v___x_4704_; uint8_t v___x_4705_; -v_a_4702_ = lean_ctor_get(v___x_4701_, 0); -lean_inc(v_a_4702_); -lean_dec_ref(v___x_4701_); -v___x_4703_ = lean_ptr_addr(v_type_4693_); -v___x_4704_ = lean_ptr_addr(v_a_4698_); -v___x_4705_ = lean_usize_dec_eq(v___x_4703_, v___x_4704_); -if (v___x_4705_ == 0) +lean_object* v_a_4661_; size_t v___x_4662_; size_t v___x_4663_; uint8_t v___x_4664_; +v_a_4661_ = lean_ctor_get(v___x_4660_, 0); +lean_inc(v_a_4661_); +lean_dec_ref(v___x_4660_); +v___x_4662_ = lean_ptr_addr(v_type_4652_); +v___x_4663_ = lean_ptr_addr(v_a_4657_); +v___x_4664_ = lean_usize_dec_eq(v___x_4662_, v___x_4663_); +if (v___x_4664_ == 0) { -v___y_4615_ = v___y_4663_; -v___y_4616_ = v_body_4695_; -v___y_4617_ = v_a_4698_; -v___y_4618_ = v_nondep_4696_; -v___y_4619_ = v_a_4700_; -v___y_4620_ = v_a_4702_; -v___y_4621_ = v_declName_4692_; -v___y_4622_ = v___x_4705_; -goto v___jp_4614_; +v___y_4574_ = v_body_4654_; +v___y_4575_ = v___y_4622_; +v___y_4576_ = v_nondep_4655_; +v___y_4577_ = v_a_4661_; +v___y_4578_ = v_a_4659_; +v___y_4579_ = v_declName_4651_; +v___y_4580_ = v_a_4657_; +v___y_4581_ = v___x_4664_; +goto v___jp_4573_; } else { -size_t v___x_4706_; size_t v___x_4707_; uint8_t v___x_4708_; -v___x_4706_ = lean_ptr_addr(v_value_4694_); -v___x_4707_ = lean_ptr_addr(v_a_4700_); -v___x_4708_ = lean_usize_dec_eq(v___x_4706_, v___x_4707_); -v___y_4615_ = v___y_4663_; -v___y_4616_ = v_body_4695_; -v___y_4617_ = v_a_4698_; -v___y_4618_ = v_nondep_4696_; -v___y_4619_ = v_a_4700_; -v___y_4620_ = v_a_4702_; -v___y_4621_ = v_declName_4692_; -v___y_4622_ = v___x_4708_; -goto v___jp_4614_; +size_t v___x_4665_; size_t v___x_4666_; uint8_t v___x_4667_; +v___x_4665_ = lean_ptr_addr(v_value_4653_); +v___x_4666_ = lean_ptr_addr(v_a_4659_); +v___x_4667_ = lean_usize_dec_eq(v___x_4665_, v___x_4666_); +v___y_4574_ = v_body_4654_; +v___y_4575_ = v___y_4622_; +v___y_4576_ = v_nondep_4655_; +v___y_4577_ = v_a_4661_; +v___y_4578_ = v_a_4659_; +v___y_4579_ = v_declName_4651_; +v___y_4580_ = v_a_4657_; +v___y_4581_ = v___x_4667_; +goto v___jp_4573_; } } else { -lean_dec(v_a_4700_); -lean_dec(v_a_4698_); -lean_dec_ref(v_body_4695_); -lean_dec(v_declName_4692_); -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4701_; +lean_dec(v_a_4659_); +lean_dec(v_a_4657_); +lean_dec_ref(v_body_4654_); +lean_dec(v_declName_4651_); +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4660_; } } else { -lean_dec(v_a_4698_); -lean_dec_ref(v_body_4695_); -lean_dec_ref(v___y_4663_); -lean_dec(v_declName_4692_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4699_; +lean_dec(v_a_4657_); +lean_dec_ref(v_body_4654_); +lean_dec(v_declName_4651_); +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4658_; } } else { -lean_dec_ref(v_body_4695_); -lean_dec(v_declName_4692_); -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4697_; +lean_dec_ref(v_body_4654_); +lean_dec_ref(v___y_4622_); +lean_dec(v_declName_4651_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4656_; } } case 5: { -lean_object* v_dummy_4709_; lean_object* v_nargs_4710_; lean_object* v___x_4711_; lean_object* v___x_4712_; lean_object* v___x_4713_; lean_object* v___x_4714_; -v_dummy_4709_ = lean_obj_once(&l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0, &l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0_once, _init_l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0); -v_nargs_4710_ = l_Lean_Expr_getAppNumArgs(v___y_4663_); -lean_inc(v_nargs_4710_); -v___x_4711_ = lean_mk_array(v_nargs_4710_, v_dummy_4709_); -v___x_4712_ = lean_unsigned_to_nat(1u); -v___x_4713_ = lean_nat_sub(v_nargs_4710_, v___x_4712_); -lean_dec(v_nargs_4710_); -v___x_4714_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(v_pre_4607_, v_post_4609_, v___y_4663_, v___x_4711_, v___x_4713_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4714_; +lean_object* v_dummy_4668_; lean_object* v_nargs_4669_; lean_object* v___x_4670_; lean_object* v___x_4671_; lean_object* v___x_4672_; lean_object* v___x_4673_; +v_dummy_4668_ = lean_obj_once(&l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0, &l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0_once, _init_l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___closed__0); +v_nargs_4669_ = l_Lean_Expr_getAppNumArgs(v___y_4622_); +lean_inc(v_nargs_4669_); +v___x_4670_ = lean_mk_array(v_nargs_4669_, v_dummy_4668_); +v___x_4671_ = lean_unsigned_to_nat(1u); +v___x_4672_ = lean_nat_sub(v_nargs_4669_, v___x_4671_); +lean_dec(v_nargs_4669_); +v___x_4673_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(v_pre_4566_, v_post_4568_, v___y_4622_, v___x_4670_, v___x_4672_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4673_; } case 10: { -lean_object* v_data_4715_; lean_object* v_expr_4716_; lean_object* v___x_4717_; -v_data_4715_ = lean_ctor_get(v___y_4663_, 0); -v_expr_4716_ = lean_ctor_get(v___y_4663_, 1); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_expr_4716_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4717_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_expr_4716_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4717_) == 0) +lean_object* v_data_4674_; lean_object* v_expr_4675_; lean_object* v___x_4676_; +v_data_4674_ = lean_ctor_get(v___y_4622_, 0); +v_expr_4675_ = lean_ctor_get(v___y_4622_, 1); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_expr_4675_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4676_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_expr_4675_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4676_) == 0) { -lean_object* v_a_4718_; size_t v___x_4719_; size_t v___x_4720_; uint8_t v___x_4721_; -v_a_4718_ = lean_ctor_get(v___x_4717_, 0); -lean_inc(v_a_4718_); -lean_dec_ref(v___x_4717_); -v___x_4719_ = lean_ptr_addr(v_expr_4716_); -v___x_4720_ = lean_ptr_addr(v_a_4718_); -v___x_4721_ = lean_usize_dec_eq(v___x_4719_, v___x_4720_); -if (v___x_4721_ == 0) +lean_object* v_a_4677_; size_t v___x_4678_; size_t v___x_4679_; uint8_t v___x_4680_; +v_a_4677_ = lean_ctor_get(v___x_4676_, 0); +lean_inc(v_a_4677_); +lean_dec_ref(v___x_4676_); +v___x_4678_ = lean_ptr_addr(v_expr_4675_); +v___x_4679_ = lean_ptr_addr(v_a_4677_); +v___x_4680_ = lean_usize_dec_eq(v___x_4678_, v___x_4679_); +if (v___x_4680_ == 0) { -lean_object* v___x_4722_; lean_object* v___x_4723_; -lean_inc(v_data_4715_); -lean_dec_ref(v___y_4663_); -v___x_4722_ = l_Lean_Expr_mdata___override(v_data_4715_, v_a_4718_); -v___x_4723_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4722_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4723_; +lean_object* v___x_4681_; lean_object* v___x_4682_; +lean_inc(v_data_4674_); +lean_dec_ref(v___y_4622_); +v___x_4681_ = l_Lean_Expr_mdata___override(v_data_4674_, v_a_4677_); +v___x_4682_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4681_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4682_; } else { -lean_object* v___x_4724_; -lean_dec(v_a_4718_); -v___x_4724_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4663_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4724_; +lean_object* v___x_4683_; +lean_dec(v_a_4677_); +v___x_4683_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4622_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4683_; } } else { -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4717_; +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4676_; } } case 11: { -lean_object* v_typeName_4725_; lean_object* v_idx_4726_; lean_object* v_struct_4727_; lean_object* v___x_4728_; -v_typeName_4725_ = lean_ctor_get(v___y_4663_, 0); -v_idx_4726_ = lean_ctor_get(v___y_4663_, 1); -v_struct_4727_ = lean_ctor_get(v___y_4663_, 2); -lean_inc(v___y_4612_); -lean_inc_ref(v___y_4611_); -lean_inc(v___y_4610_); -lean_inc_ref(v_struct_4727_); -lean_inc_ref(v_post_4609_); -lean_inc_ref(v_pre_4607_); -v___x_4728_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4607_, v_post_4609_, v_struct_4727_, v___y_4610_, v___y_4611_, v___y_4612_); -if (lean_obj_tag(v___x_4728_) == 0) +lean_object* v_typeName_4684_; lean_object* v_idx_4685_; lean_object* v_struct_4686_; lean_object* v___x_4687_; +v_typeName_4684_ = lean_ctor_get(v___y_4622_, 0); +v_idx_4685_ = lean_ctor_get(v___y_4622_, 1); +v_struct_4686_ = lean_ctor_get(v___y_4622_, 2); +lean_inc(v___y_4571_); +lean_inc_ref(v___y_4570_); +lean_inc(v___y_4569_); +lean_inc_ref(v_struct_4686_); +lean_inc_ref(v_post_4568_); +lean_inc_ref(v_pre_4566_); +v___x_4687_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4566_, v_post_4568_, v_struct_4686_, v___y_4569_, v___y_4570_, v___y_4571_); +if (lean_obj_tag(v___x_4687_) == 0) { -lean_object* v_a_4729_; size_t v___x_4730_; size_t v___x_4731_; uint8_t v___x_4732_; -v_a_4729_ = lean_ctor_get(v___x_4728_, 0); -lean_inc(v_a_4729_); -lean_dec_ref(v___x_4728_); -v___x_4730_ = lean_ptr_addr(v_struct_4727_); -v___x_4731_ = lean_ptr_addr(v_a_4729_); -v___x_4732_ = lean_usize_dec_eq(v___x_4730_, v___x_4731_); -if (v___x_4732_ == 0) +lean_object* v_a_4688_; size_t v___x_4689_; size_t v___x_4690_; uint8_t v___x_4691_; +v_a_4688_ = lean_ctor_get(v___x_4687_, 0); +lean_inc(v_a_4688_); +lean_dec_ref(v___x_4687_); +v___x_4689_ = lean_ptr_addr(v_struct_4686_); +v___x_4690_ = lean_ptr_addr(v_a_4688_); +v___x_4691_ = lean_usize_dec_eq(v___x_4689_, v___x_4690_); +if (v___x_4691_ == 0) { -lean_object* v___x_4733_; lean_object* v___x_4734_; -lean_inc(v_idx_4726_); -lean_inc(v_typeName_4725_); -lean_dec_ref(v___y_4663_); -v___x_4733_ = l_Lean_Expr_proj___override(v_typeName_4725_, v_idx_4726_, v_a_4729_); -v___x_4734_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4733_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4734_; +lean_object* v___x_4692_; lean_object* v___x_4693_; +lean_inc(v_idx_4685_); +lean_inc(v_typeName_4684_); +lean_dec_ref(v___y_4622_); +v___x_4692_ = l_Lean_Expr_proj___override(v_typeName_4684_, v_idx_4685_, v_a_4688_); +v___x_4693_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4692_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4693_; } else { -lean_object* v___x_4735_; -lean_dec(v_a_4729_); -v___x_4735_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4663_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4735_; +lean_object* v___x_4694_; +lean_dec(v_a_4688_); +v___x_4694_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4622_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4694_; } } else { -lean_dec_ref(v___y_4663_); -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_pre_4607_); -return v___x_4728_; +lean_dec_ref(v___y_4622_); +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_pre_4566_); +return v___x_4687_; } } default: { +lean_object* v___x_4695_; +v___x_4695_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4622_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4695_; +} +} +} +} +} +else +{ +lean_object* v_a_4707_; lean_object* v___x_4709_; uint8_t v_isShared_4710_; uint8_t v_isSharedCheck_4714_; +lean_dec(v___y_4571_); +lean_dec_ref(v___y_4570_); +lean_dec(v___y_4569_); +lean_dec_ref(v_post_4568_); +lean_dec_ref(v_e_4567_); +lean_dec_ref(v_pre_4566_); +v_a_4707_ = lean_ctor_get(v___x_4616_, 0); +v_isSharedCheck_4714_ = !lean_is_exclusive(v___x_4616_); +if (v_isSharedCheck_4714_ == 0) +{ +v___x_4709_ = v___x_4616_; +v_isShared_4710_ = v_isSharedCheck_4714_; +goto v_resetjp_4708_; +} +else +{ +lean_inc(v_a_4707_); +lean_dec(v___x_4616_); +v___x_4709_ = lean_box(0); +v_isShared_4710_ = v_isSharedCheck_4714_; +goto v_resetjp_4708_; +} +v_resetjp_4708_: +{ +lean_object* v___x_4712_; +if (v_isShared_4710_ == 0) +{ +v___x_4712_ = v___x_4709_; +goto v_reusejp_4711_; +} +else +{ +lean_object* v_reuseFailAlloc_4713_; +v_reuseFailAlloc_4713_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4713_, 0, v_a_4707_); +v___x_4712_ = v_reuseFailAlloc_4713_; +goto v_reusejp_4711_; +} +v_reusejp_4711_: +{ +return v___x_4712_; +} +} +} +v___jp_4573_: +{ +if (v___y_4581_ == 0) +{ +lean_object* v___x_4582_; lean_object* v___x_4583_; +lean_dec_ref(v___y_4575_); +lean_dec_ref(v___y_4574_); +v___x_4582_ = l_Lean_Expr_letE___override(v___y_4579_, v___y_4580_, v___y_4578_, v___y_4577_, v___y_4576_); +v___x_4583_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4582_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4583_; +} +else +{ +size_t v___x_4584_; size_t v___x_4585_; uint8_t v___x_4586_; +v___x_4584_ = lean_ptr_addr(v___y_4574_); +lean_dec_ref(v___y_4574_); +v___x_4585_ = lean_ptr_addr(v___y_4577_); +v___x_4586_ = lean_usize_dec_eq(v___x_4584_, v___x_4585_); +if (v___x_4586_ == 0) +{ +lean_object* v___x_4587_; lean_object* v___x_4588_; +lean_dec_ref(v___y_4575_); +v___x_4587_ = l_Lean_Expr_letE___override(v___y_4579_, v___y_4580_, v___y_4578_, v___y_4577_, v___y_4576_); +v___x_4588_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4587_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4588_; +} +else +{ +lean_object* v___x_4589_; +lean_dec_ref(v___y_4580_); +lean_dec(v___y_4579_); +lean_dec_ref(v___y_4578_); +lean_dec_ref(v___y_4577_); +v___x_4589_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4575_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4589_; +} +} +} +v___jp_4590_: +{ +if (v___y_4596_ == 0) +{ +lean_object* v___x_4597_; lean_object* v___x_4598_; +lean_dec_ref(v___y_4593_); +v___x_4597_ = l_Lean_Expr_lam___override(v___y_4592_, v___y_4594_, v___y_4591_, v___y_4595_); +v___x_4598_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4597_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4598_; +} +else +{ +uint8_t v___x_4599_; +v___x_4599_ = l_Lean_instBEqBinderInfo_beq(v___y_4595_, v___y_4595_); +if (v___x_4599_ == 0) +{ +lean_object* v___x_4600_; lean_object* v___x_4601_; +lean_dec_ref(v___y_4593_); +v___x_4600_ = l_Lean_Expr_lam___override(v___y_4592_, v___y_4594_, v___y_4591_, v___y_4595_); +v___x_4601_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4600_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4601_; +} +else +{ +lean_object* v___x_4602_; +lean_dec_ref(v___y_4594_); +lean_dec(v___y_4592_); +lean_dec_ref(v___y_4591_); +v___x_4602_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4593_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4602_; +} +} +} +v___jp_4603_: +{ +if (v___y_4609_ == 0) +{ +lean_object* v___x_4610_; lean_object* v___x_4611_; +lean_dec_ref(v___y_4605_); +v___x_4610_ = l_Lean_Expr_forallE___override(v___y_4606_, v___y_4608_, v___y_4607_, v___y_4604_); +v___x_4611_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4610_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4611_; +} +else +{ +uint8_t v___x_4612_; +v___x_4612_ = l_Lean_instBEqBinderInfo_beq(v___y_4604_, v___y_4604_); +if (v___x_4612_ == 0) +{ +lean_object* v___x_4613_; lean_object* v___x_4614_; +lean_dec_ref(v___y_4605_); +v___x_4613_ = l_Lean_Expr_forallE___override(v___y_4606_, v___y_4608_, v___y_4607_, v___y_4604_); +v___x_4614_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___x_4613_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4614_; +} +else +{ +lean_object* v___x_4615_; +lean_dec_ref(v___y_4608_); +lean_dec_ref(v___y_4607_); +lean_dec(v___y_4606_); +v___x_4615_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4566_, v_post_4568_, v___y_4605_, v___y_4569_, v___y_4570_, v___y_4571_); +return v___x_4615_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___boxed(lean_object* v_pre_4715_, lean_object* v_e_4716_, lean_object* v_post_4717_, lean_object* v___y_4718_, lean_object* v___y_4719_, lean_object* v___y_4720_, lean_object* v___y_4721_){ +_start: +{ +lean_object* v_res_4722_; +v_res_4722_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1(v_pre_4715_, v_e_4716_, v_post_4717_, v___y_4718_, v___y_4719_, v___y_4720_); +return v_res_4722_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(lean_object* v_pre_4723_, lean_object* v_post_4724_, lean_object* v_e_4725_, lean_object* v_a_4726_, lean_object* v___y_4727_, lean_object* v___y_4728_){ +_start: +{ +lean_object* v___x_4730_; lean_object* v___x_4731_; +lean_inc(v_a_4726_); +v___x_4730_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(v___x_4730_, 0, lean_box(0)); +lean_closure_set(v___x_4730_, 1, lean_box(0)); +lean_closure_set(v___x_4730_, 2, v_a_4726_); +v___x_4731_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_box(0), v___x_4730_, v___y_4727_, v___y_4728_); +if (lean_obj_tag(v___x_4731_) == 0) +{ +lean_object* v_a_4732_; lean_object* v___x_4734_; uint8_t v_isShared_4735_; uint8_t v_isSharedCheck_4762_; +v_a_4732_ = lean_ctor_get(v___x_4731_, 0); +v_isSharedCheck_4762_ = !lean_is_exclusive(v___x_4731_); +if (v_isSharedCheck_4762_ == 0) +{ +v___x_4734_ = v___x_4731_; +v_isShared_4735_ = v_isSharedCheck_4762_; +goto v_resetjp_4733_; +} +else +{ +lean_inc(v_a_4732_); +lean_dec(v___x_4731_); +v___x_4734_ = lean_box(0); +v_isShared_4735_ = v_isSharedCheck_4762_; +goto v_resetjp_4733_; +} +v_resetjp_4733_: +{ lean_object* v___x_4736_; -v___x_4736_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4663_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4736_; +v___x_4736_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_a_4732_, v_e_4725_); +lean_dec(v_a_4732_); +if (lean_obj_tag(v___x_4736_) == 0) +{ +lean_object* v___f_4737_; lean_object* v___x_4738_; +lean_del_object(v___x_4734_); +lean_inc_ref(v_e_4725_); +v___f_4737_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___boxed), 7, 3); +lean_closure_set(v___f_4737_, 0, v_pre_4723_); +lean_closure_set(v___f_4737_, 1, v_e_4725_); +lean_closure_set(v___f_4737_, 2, v_post_4724_); +lean_inc(v___y_4728_); +lean_inc_ref(v___y_4727_); +lean_inc(v_a_4726_); +v___x_4738_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v___f_4737_, v_a_4726_, v___y_4727_, v___y_4728_); +if (lean_obj_tag(v___x_4738_) == 0) +{ +lean_object* v_a_4739_; lean_object* v___f_4740_; lean_object* v___x_4741_; +v_a_4739_ = lean_ctor_get(v___x_4738_, 0); +lean_inc(v_a_4739_); +lean_dec_ref(v___x_4738_); +lean_inc(v_a_4739_); +v___f_4740_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2___boxed), 4, 3); +lean_closure_set(v___f_4740_, 0, v_a_4726_); +lean_closure_set(v___f_4740_, 1, v_e_4725_); +lean_closure_set(v___f_4740_, 2, v_a_4739_); +v___x_4741_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_box(0), v___f_4740_, v___y_4727_, v___y_4728_); +lean_dec(v___y_4728_); +lean_dec_ref(v___y_4727_); +if (lean_obj_tag(v___x_4741_) == 0) +{ +lean_object* v___x_4743_; uint8_t v_isShared_4744_; uint8_t v_isSharedCheck_4748_; +v_isSharedCheck_4748_ = !lean_is_exclusive(v___x_4741_); +if (v_isSharedCheck_4748_ == 0) +{ +lean_object* v_unused_4749_; +v_unused_4749_ = lean_ctor_get(v___x_4741_, 0); +lean_dec(v_unused_4749_); +v___x_4743_ = v___x_4741_; +v_isShared_4744_ = v_isSharedCheck_4748_; +goto v_resetjp_4742_; } +else +{ +lean_dec(v___x_4741_); +v___x_4743_ = lean_box(0); +v_isShared_4744_ = v_isSharedCheck_4748_; +goto v_resetjp_4742_; +} +v_resetjp_4742_: +{ +lean_object* v___x_4746_; +if (v_isShared_4744_ == 0) +{ +lean_ctor_set(v___x_4743_, 0, v_a_4739_); +v___x_4746_ = v___x_4743_; +goto v_reusejp_4745_; +} +else +{ +lean_object* v_reuseFailAlloc_4747_; +v_reuseFailAlloc_4747_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4747_, 0, v_a_4739_); +v___x_4746_ = v_reuseFailAlloc_4747_; +goto v_reusejp_4745_; +} +v_reusejp_4745_: +{ +return v___x_4746_; +} +} +} +else +{ +lean_object* v_a_4750_; lean_object* v___x_4752_; uint8_t v_isShared_4753_; uint8_t v_isSharedCheck_4757_; +lean_dec(v_a_4739_); +v_a_4750_ = lean_ctor_get(v___x_4741_, 0); +v_isSharedCheck_4757_ = !lean_is_exclusive(v___x_4741_); +if (v_isSharedCheck_4757_ == 0) +{ +v___x_4752_ = v___x_4741_; +v_isShared_4753_ = v_isSharedCheck_4757_; +goto v_resetjp_4751_; +} +else +{ +lean_inc(v_a_4750_); +lean_dec(v___x_4741_); +v___x_4752_ = lean_box(0); +v_isShared_4753_ = v_isSharedCheck_4757_; +goto v_resetjp_4751_; +} +v_resetjp_4751_: +{ +lean_object* v___x_4755_; +if (v_isShared_4753_ == 0) +{ +v___x_4755_ = v___x_4752_; +goto v_reusejp_4754_; +} +else +{ +lean_object* v_reuseFailAlloc_4756_; +v_reuseFailAlloc_4756_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4756_, 0, v_a_4750_); +v___x_4755_ = v_reuseFailAlloc_4756_; +goto v_reusejp_4754_; +} +v_reusejp_4754_: +{ +return v___x_4755_; } } } } else { -lean_object* v_a_4748_; lean_object* v___x_4750_; uint8_t v_isShared_4751_; uint8_t v_isSharedCheck_4755_; -lean_dec(v___y_4612_); -lean_dec_ref(v___y_4611_); -lean_dec(v___y_4610_); -lean_dec_ref(v_post_4609_); -lean_dec_ref(v_e_4608_); -lean_dec_ref(v_pre_4607_); -v_a_4748_ = lean_ctor_get(v___x_4657_, 0); -v_isSharedCheck_4755_ = !lean_is_exclusive(v___x_4657_); -if (v_isSharedCheck_4755_ == 0) -{ -v___x_4750_ = v___x_4657_; -v_isShared_4751_ = v_isSharedCheck_4755_; -goto v_resetjp_4749_; +lean_dec(v___y_4728_); +lean_dec_ref(v___y_4727_); +lean_dec(v_a_4726_); +lean_dec_ref(v_e_4725_); +return v___x_4738_; +} } else { -lean_inc(v_a_4748_); -lean_dec(v___x_4657_); -v___x_4750_ = lean_box(0); -v_isShared_4751_ = v_isSharedCheck_4755_; -goto v_resetjp_4749_; -} -v_resetjp_4749_: +lean_object* v_val_4758_; lean_object* v___x_4760_; +lean_dec(v___y_4728_); +lean_dec_ref(v___y_4727_); +lean_dec(v_a_4726_); +lean_dec_ref(v_e_4725_); +lean_dec_ref(v_post_4724_); +lean_dec_ref(v_pre_4723_); +v_val_4758_ = lean_ctor_get(v___x_4736_, 0); +lean_inc(v_val_4758_); +lean_dec_ref(v___x_4736_); +if (v_isShared_4735_ == 0) { -lean_object* v___x_4753_; -if (v_isShared_4751_ == 0) -{ -v___x_4753_ = v___x_4750_; -goto v_reusejp_4752_; +lean_ctor_set(v___x_4734_, 0, v_val_4758_); +v___x_4760_ = v___x_4734_; +goto v_reusejp_4759_; } else { -lean_object* v_reuseFailAlloc_4754_; -v_reuseFailAlloc_4754_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4754_, 0, v_a_4748_); -v___x_4753_ = v_reuseFailAlloc_4754_; -goto v_reusejp_4752_; +lean_object* v_reuseFailAlloc_4761_; +v_reuseFailAlloc_4761_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4761_, 0, v_val_4758_); +v___x_4760_ = v_reuseFailAlloc_4761_; +goto v_reusejp_4759_; } -v_reusejp_4752_: +v_reusejp_4759_: { -return v___x_4753_; +return v___x_4760_; } } } -v___jp_4614_: -{ -if (v___y_4622_ == 0) -{ -lean_object* v___x_4623_; lean_object* v___x_4624_; -lean_dec_ref(v___y_4616_); -lean_dec_ref(v___y_4615_); -v___x_4623_ = l_Lean_Expr_letE___override(v___y_4621_, v___y_4617_, v___y_4619_, v___y_4620_, v___y_4618_); -v___x_4624_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4623_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4624_; } else { -size_t v___x_4625_; size_t v___x_4626_; uint8_t v___x_4627_; -v___x_4625_ = lean_ptr_addr(v___y_4616_); -lean_dec_ref(v___y_4616_); -v___x_4626_ = lean_ptr_addr(v___y_4620_); -v___x_4627_ = lean_usize_dec_eq(v___x_4625_, v___x_4626_); -if (v___x_4627_ == 0) +lean_object* v_a_4763_; lean_object* v___x_4765_; uint8_t v_isShared_4766_; uint8_t v_isSharedCheck_4770_; +lean_dec(v___y_4728_); +lean_dec_ref(v___y_4727_); +lean_dec(v_a_4726_); +lean_dec_ref(v_e_4725_); +lean_dec_ref(v_post_4724_); +lean_dec_ref(v_pre_4723_); +v_a_4763_ = lean_ctor_get(v___x_4731_, 0); +v_isSharedCheck_4770_ = !lean_is_exclusive(v___x_4731_); +if (v_isSharedCheck_4770_ == 0) { -lean_object* v___x_4628_; lean_object* v___x_4629_; -lean_dec_ref(v___y_4615_); -v___x_4628_ = l_Lean_Expr_letE___override(v___y_4621_, v___y_4617_, v___y_4619_, v___y_4620_, v___y_4618_); -v___x_4629_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4628_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4629_; +v___x_4765_ = v___x_4731_; +v_isShared_4766_ = v_isSharedCheck_4770_; +goto v_resetjp_4764_; } else { -lean_object* v___x_4630_; -lean_dec(v___y_4621_); -lean_dec_ref(v___y_4620_); -lean_dec_ref(v___y_4619_); -lean_dec_ref(v___y_4617_); -v___x_4630_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4615_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4630_; +lean_inc(v_a_4763_); +lean_dec(v___x_4731_); +v___x_4765_ = lean_box(0); +v_isShared_4766_ = v_isSharedCheck_4770_; +goto v_resetjp_4764_; } -} -} -v___jp_4631_: +v_resetjp_4764_: { -if (v___y_4637_ == 0) +lean_object* v___x_4768_; +if (v_isShared_4766_ == 0) { -lean_object* v___x_4638_; lean_object* v___x_4639_; -lean_dec_ref(v___y_4632_); -v___x_4638_ = l_Lean_Expr_lam___override(v___y_4633_, v___y_4635_, v___y_4636_, v___y_4634_); -v___x_4639_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4638_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4639_; +v___x_4768_ = v___x_4765_; +goto v_reusejp_4767_; } else { -uint8_t v___x_4640_; -v___x_4640_ = l_Lean_instBEqBinderInfo_beq(v___y_4634_, v___y_4634_); -if (v___x_4640_ == 0) +lean_object* v_reuseFailAlloc_4769_; +v_reuseFailAlloc_4769_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4769_, 0, v_a_4763_); +v___x_4768_ = v_reuseFailAlloc_4769_; +goto v_reusejp_4767_; +} +v_reusejp_4767_: { -lean_object* v___x_4641_; lean_object* v___x_4642_; -lean_dec_ref(v___y_4632_); -v___x_4641_ = l_Lean_Expr_lam___override(v___y_4633_, v___y_4635_, v___y_4636_, v___y_4634_); -v___x_4642_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4641_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4642_; -} -else -{ -lean_object* v___x_4643_; -lean_dec_ref(v___y_4636_); -lean_dec_ref(v___y_4635_); -lean_dec(v___y_4633_); -v___x_4643_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4632_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4643_; -} -} -} -v___jp_4644_: -{ -if (v___y_4650_ == 0) -{ -lean_object* v___x_4651_; lean_object* v___x_4652_; -lean_dec_ref(v___y_4645_); -v___x_4651_ = l_Lean_Expr_forallE___override(v___y_4648_, v___y_4649_, v___y_4647_, v___y_4646_); -v___x_4652_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4651_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4652_; -} -else -{ -uint8_t v___x_4653_; -v___x_4653_ = l_Lean_instBEqBinderInfo_beq(v___y_4646_, v___y_4646_); -if (v___x_4653_ == 0) -{ -lean_object* v___x_4654_; lean_object* v___x_4655_; -lean_dec_ref(v___y_4645_); -v___x_4654_ = l_Lean_Expr_forallE___override(v___y_4648_, v___y_4649_, v___y_4647_, v___y_4646_); -v___x_4655_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___x_4654_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4655_; -} -else -{ -lean_object* v___x_4656_; -lean_dec_ref(v___y_4649_); -lean_dec(v___y_4648_); -lean_dec_ref(v___y_4647_); -v___x_4656_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4607_, v_post_4609_, v___y_4645_, v___y_4610_, v___y_4611_, v___y_4612_); -return v___x_4656_; +return v___x_4768_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___boxed(lean_object* v_pre_4756_, lean_object* v_e_4757_, lean_object* v_post_4758_, lean_object* v___y_4759_, lean_object* v___y_4760_, lean_object* v___y_4761_, lean_object* v___y_4762_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(lean_object* v_pre_4771_, lean_object* v_post_4772_, lean_object* v_e_4773_, lean_object* v_a_4774_, lean_object* v___y_4775_, lean_object* v___y_4776_){ _start: { -lean_object* v_res_4763_; -v_res_4763_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1(v_pre_4756_, v_e_4757_, v_post_4758_, v___y_4759_, v___y_4760_, v___y_4761_); -return v_res_4763_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(lean_object* v_pre_4764_, lean_object* v_post_4765_, lean_object* v_e_4766_, lean_object* v_a_4767_, lean_object* v___y_4768_, lean_object* v___y_4769_){ -_start: +lean_object* v___x_4778_; +lean_inc_ref(v_post_4772_); +lean_inc(v___y_4776_); +lean_inc_ref(v___y_4775_); +lean_inc_ref(v_e_4773_); +v___x_4778_ = lean_apply_4(v_post_4772_, v_e_4773_, v___y_4775_, v___y_4776_, lean_box(0)); +if (lean_obj_tag(v___x_4778_) == 0) { -lean_object* v___x_4771_; lean_object* v___x_4772_; -lean_inc(v_a_4767_); -v___x_4771_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(v___x_4771_, 0, lean_box(0)); -lean_closure_set(v___x_4771_, 1, lean_box(0)); -lean_closure_set(v___x_4771_, 2, v_a_4767_); -v___x_4772_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_box(0), v___x_4771_, v___y_4768_, v___y_4769_); -if (lean_obj_tag(v___x_4772_) == 0) +lean_object* v_a_4779_; lean_object* v___x_4781_; uint8_t v_isShared_4782_; uint8_t v_isSharedCheck_4797_; +v_a_4779_ = lean_ctor_get(v___x_4778_, 0); +v_isSharedCheck_4797_ = !lean_is_exclusive(v___x_4778_); +if (v_isSharedCheck_4797_ == 0) { -lean_object* v_a_4773_; lean_object* v___x_4775_; uint8_t v_isShared_4776_; uint8_t v_isSharedCheck_4803_; -v_a_4773_ = lean_ctor_get(v___x_4772_, 0); -v_isSharedCheck_4803_ = !lean_is_exclusive(v___x_4772_); -if (v_isSharedCheck_4803_ == 0) -{ -v___x_4775_ = v___x_4772_; -v_isShared_4776_ = v_isSharedCheck_4803_; -goto v_resetjp_4774_; +v___x_4781_ = v___x_4778_; +v_isShared_4782_ = v_isSharedCheck_4797_; +goto v_resetjp_4780_; } else { -lean_inc(v_a_4773_); -lean_dec(v___x_4772_); -v___x_4775_ = lean_box(0); -v_isShared_4776_ = v_isSharedCheck_4803_; -goto v_resetjp_4774_; +lean_inc(v_a_4779_); +lean_dec(v___x_4778_); +v___x_4781_ = lean_box(0); +v_isShared_4782_ = v_isSharedCheck_4797_; +goto v_resetjp_4780_; } -v_resetjp_4774_: +v_resetjp_4780_: { -lean_object* v___x_4777_; -v___x_4777_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_a_4773_, v_e_4766_); -lean_dec(v_a_4773_); -if (lean_obj_tag(v___x_4777_) == 0) -{ -lean_object* v___f_4778_; lean_object* v___x_4779_; -lean_del_object(v___x_4775_); -lean_inc_ref(v_e_4766_); -v___f_4778_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__1___boxed), 7, 3); -lean_closure_set(v___f_4778_, 0, v_pre_4764_); -lean_closure_set(v___f_4778_, 1, v_e_4766_); -lean_closure_set(v___f_4778_, 2, v_post_4765_); -lean_inc(v___y_4769_); -lean_inc_ref(v___y_4768_); -lean_inc(v_a_4767_); -v___x_4779_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v___f_4778_, v_a_4767_, v___y_4768_, v___y_4769_); -if (lean_obj_tag(v___x_4779_) == 0) -{ -lean_object* v_a_4780_; lean_object* v___f_4781_; lean_object* v___x_4782_; -v_a_4780_ = lean_ctor_get(v___x_4779_, 0); -lean_inc(v_a_4780_); -lean_dec_ref(v___x_4779_); -lean_inc(v_a_4780_); -v___f_4781_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__2___boxed), 4, 3); -lean_closure_set(v___f_4781_, 0, v_a_4767_); -lean_closure_set(v___f_4781_, 1, v_e_4766_); -lean_closure_set(v___f_4781_, 2, v_a_4780_); -v___x_4782_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___lam__0(lean_box(0), v___f_4781_, v___y_4768_, v___y_4769_); -lean_dec(v___y_4769_); -lean_dec_ref(v___y_4768_); -if (lean_obj_tag(v___x_4782_) == 0) -{ -lean_object* v___x_4784_; uint8_t v_isShared_4785_; uint8_t v_isSharedCheck_4789_; -v_isSharedCheck_4789_ = !lean_is_exclusive(v___x_4782_); -if (v_isSharedCheck_4789_ == 0) -{ -lean_object* v_unused_4790_; -v_unused_4790_ = lean_ctor_get(v___x_4782_, 0); -lean_dec(v_unused_4790_); -v___x_4784_ = v___x_4782_; -v_isShared_4785_ = v_isSharedCheck_4789_; -goto v_resetjp_4783_; -} -else -{ -lean_dec(v___x_4782_); -v___x_4784_ = lean_box(0); -v_isShared_4785_ = v_isSharedCheck_4789_; -goto v_resetjp_4783_; -} -v_resetjp_4783_: -{ -lean_object* v___x_4787_; -if (v_isShared_4785_ == 0) -{ -lean_ctor_set(v___x_4784_, 0, v_a_4780_); -v___x_4787_ = v___x_4784_; -goto v_reusejp_4786_; -} -else -{ -lean_object* v_reuseFailAlloc_4788_; -v_reuseFailAlloc_4788_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4788_, 0, v_a_4780_); -v___x_4787_ = v_reuseFailAlloc_4788_; -goto v_reusejp_4786_; -} -v_reusejp_4786_: -{ -return v___x_4787_; -} -} -} -else -{ -lean_object* v_a_4791_; lean_object* v___x_4793_; uint8_t v_isShared_4794_; uint8_t v_isSharedCheck_4798_; -lean_dec(v_a_4780_); -v_a_4791_ = lean_ctor_get(v___x_4782_, 0); -v_isSharedCheck_4798_ = !lean_is_exclusive(v___x_4782_); -if (v_isSharedCheck_4798_ == 0) -{ -v___x_4793_ = v___x_4782_; -v_isShared_4794_ = v_isSharedCheck_4798_; -goto v_resetjp_4792_; -} -else -{ -lean_inc(v_a_4791_); -lean_dec(v___x_4782_); -v___x_4793_ = lean_box(0); -v_isShared_4794_ = v_isSharedCheck_4798_; -goto v_resetjp_4792_; -} -v_resetjp_4792_: -{ -lean_object* v___x_4796_; -if (v_isShared_4794_ == 0) -{ -v___x_4796_ = v___x_4793_; -goto v_reusejp_4795_; -} -else -{ -lean_object* v_reuseFailAlloc_4797_; -v_reuseFailAlloc_4797_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4797_, 0, v_a_4791_); -v___x_4796_ = v_reuseFailAlloc_4797_; -goto v_reusejp_4795_; -} -v_reusejp_4795_: -{ -return v___x_4796_; -} -} -} -} -else -{ -lean_dec(v___y_4769_); -lean_dec_ref(v___y_4768_); -lean_dec(v_a_4767_); -lean_dec_ref(v_e_4766_); -return v___x_4779_; -} -} -else -{ -lean_object* v_val_4799_; lean_object* v___x_4801_; -lean_dec(v___y_4769_); -lean_dec_ref(v___y_4768_); -lean_dec(v_a_4767_); -lean_dec_ref(v_e_4766_); -lean_dec_ref(v_post_4765_); -lean_dec_ref(v_pre_4764_); -v_val_4799_ = lean_ctor_get(v___x_4777_, 0); -lean_inc(v_val_4799_); -lean_dec_ref(v___x_4777_); -if (v_isShared_4776_ == 0) -{ -lean_ctor_set(v___x_4775_, 0, v_val_4799_); -v___x_4801_ = v___x_4775_; -goto v_reusejp_4800_; -} -else -{ -lean_object* v_reuseFailAlloc_4802_; -v_reuseFailAlloc_4802_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4802_, 0, v_val_4799_); -v___x_4801_ = v_reuseFailAlloc_4802_; -goto v_reusejp_4800_; -} -v_reusejp_4800_: -{ -return v___x_4801_; -} -} -} -} -else -{ -lean_object* v_a_4804_; lean_object* v___x_4806_; uint8_t v_isShared_4807_; uint8_t v_isSharedCheck_4811_; -lean_dec(v___y_4769_); -lean_dec_ref(v___y_4768_); -lean_dec(v_a_4767_); -lean_dec_ref(v_e_4766_); -lean_dec_ref(v_post_4765_); -lean_dec_ref(v_pre_4764_); -v_a_4804_ = lean_ctor_get(v___x_4772_, 0); -v_isSharedCheck_4811_ = !lean_is_exclusive(v___x_4772_); -if (v_isSharedCheck_4811_ == 0) -{ -v___x_4806_ = v___x_4772_; -v_isShared_4807_ = v_isSharedCheck_4811_; -goto v_resetjp_4805_; -} -else -{ -lean_inc(v_a_4804_); -lean_dec(v___x_4772_); -v___x_4806_ = lean_box(0); -v_isShared_4807_ = v_isSharedCheck_4811_; -goto v_resetjp_4805_; -} -v_resetjp_4805_: -{ -lean_object* v___x_4809_; -if (v_isShared_4807_ == 0) -{ -v___x_4809_ = v___x_4806_; -goto v_reusejp_4808_; -} -else -{ -lean_object* v_reuseFailAlloc_4810_; -v_reuseFailAlloc_4810_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4810_, 0, v_a_4804_); -v___x_4809_ = v_reuseFailAlloc_4810_; -goto v_reusejp_4808_; -} -v_reusejp_4808_: -{ -return v___x_4809_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(lean_object* v_pre_4812_, lean_object* v_post_4813_, lean_object* v_e_4814_, lean_object* v_a_4815_, lean_object* v___y_4816_, lean_object* v___y_4817_){ -_start: -{ -lean_object* v___x_4819_; -lean_inc_ref(v_post_4813_); -lean_inc(v___y_4817_); -lean_inc_ref(v___y_4816_); -lean_inc_ref(v_e_4814_); -v___x_4819_ = lean_apply_4(v_post_4813_, v_e_4814_, v___y_4816_, v___y_4817_, lean_box(0)); -if (lean_obj_tag(v___x_4819_) == 0) -{ -lean_object* v_a_4820_; lean_object* v___x_4822_; uint8_t v_isShared_4823_; uint8_t v_isSharedCheck_4838_; -v_a_4820_ = lean_ctor_get(v___x_4819_, 0); -v_isSharedCheck_4838_ = !lean_is_exclusive(v___x_4819_); -if (v_isSharedCheck_4838_ == 0) -{ -v___x_4822_ = v___x_4819_; -v_isShared_4823_ = v_isSharedCheck_4838_; -goto v_resetjp_4821_; -} -else -{ -lean_inc(v_a_4820_); -lean_dec(v___x_4819_); -v___x_4822_ = lean_box(0); -v_isShared_4823_ = v_isSharedCheck_4838_; -goto v_resetjp_4821_; -} -v_resetjp_4821_: -{ -switch(lean_obj_tag(v_a_4820_)) +switch(lean_obj_tag(v_a_4779_)) { case 0: { -lean_object* v_e_4824_; lean_object* v___x_4826_; -lean_dec(v___y_4817_); -lean_dec_ref(v___y_4816_); -lean_dec(v_a_4815_); -lean_dec_ref(v_e_4814_); -lean_dec_ref(v_post_4813_); -lean_dec_ref(v_pre_4812_); -v_e_4824_ = lean_ctor_get(v_a_4820_, 0); -lean_inc_ref(v_e_4824_); -lean_dec_ref(v_a_4820_); -if (v_isShared_4823_ == 0) +lean_object* v_e_4783_; lean_object* v___x_4785_; +lean_dec(v___y_4776_); +lean_dec_ref(v___y_4775_); +lean_dec(v_a_4774_); +lean_dec_ref(v_e_4773_); +lean_dec_ref(v_post_4772_); +lean_dec_ref(v_pre_4771_); +v_e_4783_ = lean_ctor_get(v_a_4779_, 0); +lean_inc_ref(v_e_4783_); +lean_dec_ref(v_a_4779_); +if (v_isShared_4782_ == 0) { -lean_ctor_set(v___x_4822_, 0, v_e_4824_); -v___x_4826_ = v___x_4822_; -goto v_reusejp_4825_; +lean_ctor_set(v___x_4781_, 0, v_e_4783_); +v___x_4785_ = v___x_4781_; +goto v_reusejp_4784_; } else { -lean_object* v_reuseFailAlloc_4827_; -v_reuseFailAlloc_4827_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4827_, 0, v_e_4824_); -v___x_4826_ = v_reuseFailAlloc_4827_; -goto v_reusejp_4825_; +lean_object* v_reuseFailAlloc_4786_; +v_reuseFailAlloc_4786_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4786_, 0, v_e_4783_); +v___x_4785_ = v_reuseFailAlloc_4786_; +goto v_reusejp_4784_; } -v_reusejp_4825_: +v_reusejp_4784_: { -return v___x_4826_; +return v___x_4785_; } } case 1: { -lean_object* v_e_4828_; lean_object* v___x_4829_; -lean_del_object(v___x_4822_); -lean_dec_ref(v_e_4814_); -v_e_4828_ = lean_ctor_get(v_a_4820_, 0); -lean_inc_ref(v_e_4828_); -lean_dec_ref(v_a_4820_); -v___x_4829_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4812_, v_post_4813_, v_e_4828_, v_a_4815_, v___y_4816_, v___y_4817_); -return v___x_4829_; +lean_object* v_e_4787_; lean_object* v___x_4788_; +lean_del_object(v___x_4781_); +lean_dec_ref(v_e_4773_); +v_e_4787_ = lean_ctor_get(v_a_4779_, 0); +lean_inc_ref(v_e_4787_); +lean_dec_ref(v_a_4779_); +v___x_4788_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4771_, v_post_4772_, v_e_4787_, v_a_4774_, v___y_4775_, v___y_4776_); +return v___x_4788_; } default: { -lean_object* v_e_x3f_4830_; -lean_dec(v___y_4817_); -lean_dec_ref(v___y_4816_); -lean_dec(v_a_4815_); -lean_dec_ref(v_post_4813_); -lean_dec_ref(v_pre_4812_); -v_e_x3f_4830_ = lean_ctor_get(v_a_4820_, 0); -lean_inc(v_e_x3f_4830_); -lean_dec_ref(v_a_4820_); -if (lean_obj_tag(v_e_x3f_4830_) == 0) +lean_object* v_e_x3f_4789_; +lean_dec(v___y_4776_); +lean_dec_ref(v___y_4775_); +lean_dec(v_a_4774_); +lean_dec_ref(v_post_4772_); +lean_dec_ref(v_pre_4771_); +v_e_x3f_4789_ = lean_ctor_get(v_a_4779_, 0); +lean_inc(v_e_x3f_4789_); +lean_dec_ref(v_a_4779_); +if (lean_obj_tag(v_e_x3f_4789_) == 0) { -lean_object* v___x_4832_; -if (v_isShared_4823_ == 0) +lean_object* v___x_4791_; +if (v_isShared_4782_ == 0) { -lean_ctor_set(v___x_4822_, 0, v_e_4814_); -v___x_4832_ = v___x_4822_; -goto v_reusejp_4831_; +lean_ctor_set(v___x_4781_, 0, v_e_4773_); +v___x_4791_ = v___x_4781_; +goto v_reusejp_4790_; } else { -lean_object* v_reuseFailAlloc_4833_; -v_reuseFailAlloc_4833_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4833_, 0, v_e_4814_); -v___x_4832_ = v_reuseFailAlloc_4833_; -goto v_reusejp_4831_; +lean_object* v_reuseFailAlloc_4792_; +v_reuseFailAlloc_4792_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4792_, 0, v_e_4773_); +v___x_4791_ = v_reuseFailAlloc_4792_; +goto v_reusejp_4790_; } -v_reusejp_4831_: +v_reusejp_4790_: { -return v___x_4832_; +return v___x_4791_; } } else { -lean_object* v_val_4834_; lean_object* v___x_4836_; -lean_dec_ref(v_e_4814_); -v_val_4834_ = lean_ctor_get(v_e_x3f_4830_, 0); -lean_inc(v_val_4834_); -lean_dec_ref(v_e_x3f_4830_); -if (v_isShared_4823_ == 0) +lean_object* v_val_4793_; lean_object* v___x_4795_; +lean_dec_ref(v_e_4773_); +v_val_4793_ = lean_ctor_get(v_e_x3f_4789_, 0); +lean_inc(v_val_4793_); +lean_dec_ref(v_e_x3f_4789_); +if (v_isShared_4782_ == 0) { -lean_ctor_set(v___x_4822_, 0, v_val_4834_); -v___x_4836_ = v___x_4822_; -goto v_reusejp_4835_; +lean_ctor_set(v___x_4781_, 0, v_val_4793_); +v___x_4795_ = v___x_4781_; +goto v_reusejp_4794_; } else { -lean_object* v_reuseFailAlloc_4837_; -v_reuseFailAlloc_4837_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4837_, 0, v_val_4834_); -v___x_4836_ = v_reuseFailAlloc_4837_; -goto v_reusejp_4835_; +lean_object* v_reuseFailAlloc_4796_; +v_reuseFailAlloc_4796_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4796_, 0, v_val_4793_); +v___x_4795_ = v_reuseFailAlloc_4796_; +goto v_reusejp_4794_; } -v_reusejp_4835_: +v_reusejp_4794_: { -return v___x_4836_; +return v___x_4795_; } } } @@ -14880,1255 +14722,1255 @@ return v___x_4836_; } else { -lean_object* v_a_4839_; lean_object* v___x_4841_; uint8_t v_isShared_4842_; uint8_t v_isSharedCheck_4846_; -lean_dec(v___y_4817_); -lean_dec_ref(v___y_4816_); -lean_dec(v_a_4815_); -lean_dec_ref(v_e_4814_); -lean_dec_ref(v_post_4813_); -lean_dec_ref(v_pre_4812_); -v_a_4839_ = lean_ctor_get(v___x_4819_, 0); -v_isSharedCheck_4846_ = !lean_is_exclusive(v___x_4819_); -if (v_isSharedCheck_4846_ == 0) +lean_object* v_a_4798_; lean_object* v___x_4800_; uint8_t v_isShared_4801_; uint8_t v_isSharedCheck_4805_; +lean_dec(v___y_4776_); +lean_dec_ref(v___y_4775_); +lean_dec(v_a_4774_); +lean_dec_ref(v_e_4773_); +lean_dec_ref(v_post_4772_); +lean_dec_ref(v_pre_4771_); +v_a_4798_ = lean_ctor_get(v___x_4778_, 0); +v_isSharedCheck_4805_ = !lean_is_exclusive(v___x_4778_); +if (v_isSharedCheck_4805_ == 0) { -v___x_4841_ = v___x_4819_; -v_isShared_4842_ = v_isSharedCheck_4846_; -goto v_resetjp_4840_; +v___x_4800_ = v___x_4778_; +v_isShared_4801_ = v_isSharedCheck_4805_; +goto v_resetjp_4799_; } else { -lean_inc(v_a_4839_); -lean_dec(v___x_4819_); -v___x_4841_ = lean_box(0); -v_isShared_4842_ = v_isSharedCheck_4846_; -goto v_resetjp_4840_; +lean_inc(v_a_4798_); +lean_dec(v___x_4778_); +v___x_4800_ = lean_box(0); +v_isShared_4801_ = v_isSharedCheck_4805_; +goto v_resetjp_4799_; } -v_resetjp_4840_: +v_resetjp_4799_: { -lean_object* v___x_4844_; -if (v_isShared_4842_ == 0) +lean_object* v___x_4803_; +if (v_isShared_4801_ == 0) { -v___x_4844_ = v___x_4841_; -goto v_reusejp_4843_; +v___x_4803_ = v___x_4800_; +goto v_reusejp_4802_; } else { -lean_object* v_reuseFailAlloc_4845_; -v_reuseFailAlloc_4845_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4845_, 0, v_a_4839_); -v___x_4844_ = v_reuseFailAlloc_4845_; -goto v_reusejp_4843_; +lean_object* v_reuseFailAlloc_4804_; +v_reuseFailAlloc_4804_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4804_, 0, v_a_4798_); +v___x_4803_ = v_reuseFailAlloc_4804_; +goto v_reusejp_4802_; } -v_reusejp_4843_: +v_reusejp_4802_: { -return v___x_4844_; +return v___x_4803_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2___boxed(lean_object* v_pre_4847_, lean_object* v_post_4848_, lean_object* v_e_4849_, lean_object* v_a_4850_, lean_object* v___y_4851_, lean_object* v___y_4852_, lean_object* v___y_4853_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2___boxed(lean_object* v_pre_4806_, lean_object* v_post_4807_, lean_object* v_e_4808_, lean_object* v_a_4809_, lean_object* v___y_4810_, lean_object* v___y_4811_, lean_object* v___y_4812_){ _start: { -lean_object* v_res_4854_; -v_res_4854_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4847_, v_post_4848_, v_e_4849_, v_a_4850_, v___y_4851_, v___y_4852_); -return v_res_4854_; +lean_object* v_res_4813_; +v_res_4813_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit_visitPost___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__2(v_pre_4806_, v_post_4807_, v_e_4808_, v_a_4809_, v___y_4810_, v___y_4811_); +return v_res_4813_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1___boxed(lean_object* v_pre_4855_, lean_object* v_post_4856_, lean_object* v_sz_4857_, lean_object* v_i_4858_, lean_object* v_bs_4859_, lean_object* v___y_4860_, lean_object* v___y_4861_, lean_object* v___y_4862_, lean_object* v___y_4863_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1___boxed(lean_object* v_pre_4814_, lean_object* v_post_4815_, lean_object* v_sz_4816_, lean_object* v_i_4817_, lean_object* v_bs_4818_, lean_object* v___y_4819_, lean_object* v___y_4820_, lean_object* v___y_4821_, lean_object* v___y_4822_){ _start: { -size_t v_sz_boxed_4864_; size_t v_i_boxed_4865_; lean_object* v_res_4866_; -v_sz_boxed_4864_ = lean_unbox_usize(v_sz_4857_); -lean_dec(v_sz_4857_); -v_i_boxed_4865_ = lean_unbox_usize(v_i_4858_); -lean_dec(v_i_4858_); -v_res_4866_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(v_pre_4855_, v_post_4856_, v_sz_boxed_4864_, v_i_boxed_4865_, v_bs_4859_, v___y_4860_, v___y_4861_, v___y_4862_); -return v_res_4866_; +size_t v_sz_boxed_4823_; size_t v_i_boxed_4824_; lean_object* v_res_4825_; +v_sz_boxed_4823_ = lean_unbox_usize(v_sz_4816_); +lean_dec(v_sz_4816_); +v_i_boxed_4824_ = lean_unbox_usize(v_i_4817_); +lean_dec(v_i_4817_); +v_res_4825_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__1(v_pre_4814_, v_post_4815_, v_sz_boxed_4823_, v_i_boxed_4824_, v_bs_4818_, v___y_4819_, v___y_4820_, v___y_4821_); +return v_res_4825_; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4___boxed(lean_object* v_pre_4867_, lean_object* v_post_4868_, lean_object* v_x_4869_, lean_object* v_x_4870_, lean_object* v_x_4871_, lean_object* v___y_4872_, lean_object* v___y_4873_, lean_object* v___y_4874_, lean_object* v___y_4875_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4___boxed(lean_object* v_pre_4826_, lean_object* v_post_4827_, lean_object* v_x_4828_, lean_object* v_x_4829_, lean_object* v_x_4830_, lean_object* v___y_4831_, lean_object* v___y_4832_, lean_object* v___y_4833_, lean_object* v___y_4834_){ _start: { -lean_object* v_res_4876_; -v_res_4876_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(v_pre_4867_, v_post_4868_, v_x_4869_, v_x_4870_, v_x_4871_, v___y_4872_, v___y_4873_, v___y_4874_); -return v_res_4876_; +lean_object* v_res_4835_; +v_res_4835_ = l_Lean_Expr_withAppAux___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__4(v_pre_4826_, v_post_4827_, v_x_4828_, v_x_4829_, v_x_4830_, v___y_4831_, v___y_4832_, v___y_4833_); +return v_res_4835_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___boxed(lean_object* v_pre_4877_, lean_object* v_post_4878_, lean_object* v_e_4879_, lean_object* v_a_4880_, lean_object* v___y_4881_, lean_object* v___y_4882_, lean_object* v___y_4883_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0___boxed(lean_object* v_pre_4836_, lean_object* v_post_4837_, lean_object* v_e_4838_, lean_object* v_a_4839_, lean_object* v___y_4840_, lean_object* v___y_4841_, lean_object* v___y_4842_){ _start: { -lean_object* v_res_4884_; -v_res_4884_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4877_, v_post_4878_, v_e_4879_, v_a_4880_, v___y_4881_, v___y_4882_); -return v_res_4884_; +lean_object* v_res_4843_; +v_res_4843_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4836_, v_post_4837_, v_e_4838_, v_a_4839_, v___y_4840_, v___y_4841_); +return v_res_4843_; } } -LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_object* v_00_u03b1_4885_, lean_object* v_x_4886_, lean_object* v___y_4887_, lean_object* v___y_4888_){ +LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_object* v_00_u03b1_4844_, lean_object* v_x_4845_, lean_object* v___y_4846_, lean_object* v___y_4847_){ _start: { -lean_object* v___x_4890_; lean_object* v___x_4891_; -v___x_4890_ = lean_apply_1(v_x_4886_, lean_box(0)); -v___x_4891_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4891_, 0, v___x_4890_); -return v___x_4891_; +lean_object* v___x_4849_; lean_object* v___x_4850_; +v___x_4849_ = lean_apply_1(v_x_4845_, lean_box(0)); +v___x_4850_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4850_, 0, v___x_4849_); +return v___x_4850_; } } -LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0___boxed(lean_object* v_00_u03b1_4892_, lean_object* v_x_4893_, lean_object* v___y_4894_, lean_object* v___y_4895_, lean_object* v___y_4896_){ +LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0___boxed(lean_object* v_00_u03b1_4851_, lean_object* v_x_4852_, lean_object* v___y_4853_, lean_object* v___y_4854_, lean_object* v___y_4855_){ _start: { -lean_object* v_res_4897_; -v_res_4897_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(v_00_u03b1_4892_, v_x_4893_, v___y_4894_, v___y_4895_); -lean_dec(v___y_4895_); -lean_dec_ref(v___y_4894_); -return v_res_4897_; +lean_object* v_res_4856_; +v_res_4856_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(v_00_u03b1_4851_, v_x_4852_, v___y_4853_, v___y_4854_); +lean_dec(v___y_4854_); +lean_dec_ref(v___y_4853_); +return v_res_4856_; } } static lean_object* _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0(void){ _start: { -lean_object* v___x_4898_; lean_object* v___x_4899_; lean_object* v___x_4900_; -v___x_4898_ = lean_box(0); -v___x_4899_ = lean_unsigned_to_nat(16u); -v___x_4900_ = lean_mk_array(v___x_4899_, v___x_4898_); -return v___x_4900_; +lean_object* v___x_4857_; lean_object* v___x_4858_; lean_object* v___x_4859_; +v___x_4857_ = lean_box(0); +v___x_4858_ = lean_unsigned_to_nat(16u); +v___x_4859_ = lean_mk_array(v___x_4858_, v___x_4857_); +return v___x_4859_; } } static lean_object* _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1(void){ _start: { -lean_object* v___x_4901_; lean_object* v___x_4902_; lean_object* v___x_4903_; -v___x_4901_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0); -v___x_4902_ = lean_unsigned_to_nat(0u); -v___x_4903_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4903_, 0, v___x_4902_); -lean_ctor_set(v___x_4903_, 1, v___x_4901_); -return v___x_4903_; +lean_object* v___x_4860_; lean_object* v___x_4861_; lean_object* v___x_4862_; +v___x_4860_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__0); +v___x_4861_ = lean_unsigned_to_nat(0u); +v___x_4862_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4862_, 0, v___x_4861_); +lean_ctor_set(v___x_4862_, 1, v___x_4860_); +return v___x_4862_; } } static lean_object* _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2(void){ _start: { -lean_object* v___x_4904_; lean_object* v___x_4905_; -v___x_4904_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1); -v___x_4905_ = lean_alloc_closure((void*)(l_ST_Prim_mkRef___boxed), 4, 3); -lean_closure_set(v___x_4905_, 0, lean_box(0)); -lean_closure_set(v___x_4905_, 1, lean_box(0)); -lean_closure_set(v___x_4905_, 2, v___x_4904_); +lean_object* v___x_4863_; lean_object* v___x_4864_; +v___x_4863_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__1); +v___x_4864_ = lean_alloc_closure((void*)(l_ST_Prim_mkRef___boxed), 4, 3); +lean_closure_set(v___x_4864_, 0, lean_box(0)); +lean_closure_set(v___x_4864_, 1, lean_box(0)); +lean_closure_set(v___x_4864_, 2, v___x_4863_); +return v___x_4864_; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(lean_object* v_input_4865_, lean_object* v_pre_4866_, lean_object* v_post_4867_, lean_object* v___y_4868_, lean_object* v___y_4869_){ +_start: +{ +lean_object* v___x_4871_; lean_object* v___x_4872_; lean_object* v_a_4873_; lean_object* v___x_4874_; +v___x_4871_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2); +v___x_4872_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_box(0), v___x_4871_, v___y_4868_, v___y_4869_); +v_a_4873_ = lean_ctor_get(v___x_4872_, 0); +lean_inc(v_a_4873_); +lean_dec_ref(v___x_4872_); +lean_inc(v___y_4869_); +lean_inc_ref(v___y_4868_); +lean_inc(v_a_4873_); +v___x_4874_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4866_, v_post_4867_, v_input_4865_, v_a_4873_, v___y_4868_, v___y_4869_); +if (lean_obj_tag(v___x_4874_) == 0) +{ +lean_object* v_a_4875_; lean_object* v___x_4876_; lean_object* v___x_4877_; lean_object* v___x_4879_; uint8_t v_isShared_4880_; uint8_t v_isSharedCheck_4884_; +v_a_4875_ = lean_ctor_get(v___x_4874_, 0); +lean_inc(v_a_4875_); +lean_dec_ref(v___x_4874_); +v___x_4876_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(v___x_4876_, 0, lean_box(0)); +lean_closure_set(v___x_4876_, 1, lean_box(0)); +lean_closure_set(v___x_4876_, 2, v_a_4873_); +v___x_4877_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_box(0), v___x_4876_, v___y_4868_, v___y_4869_); +lean_dec(v___y_4869_); +lean_dec_ref(v___y_4868_); +v_isSharedCheck_4884_ = !lean_is_exclusive(v___x_4877_); +if (v_isSharedCheck_4884_ == 0) +{ +lean_object* v_unused_4885_; +v_unused_4885_ = lean_ctor_get(v___x_4877_, 0); +lean_dec(v_unused_4885_); +v___x_4879_ = v___x_4877_; +v_isShared_4880_ = v_isSharedCheck_4884_; +goto v_resetjp_4878_; +} +else +{ +lean_dec(v___x_4877_); +v___x_4879_ = lean_box(0); +v_isShared_4880_ = v_isSharedCheck_4884_; +goto v_resetjp_4878_; +} +v_resetjp_4878_: +{ +lean_object* v___x_4882_; +if (v_isShared_4880_ == 0) +{ +lean_ctor_set(v___x_4879_, 0, v_a_4875_); +v___x_4882_ = v___x_4879_; +goto v_reusejp_4881_; +} +else +{ +lean_object* v_reuseFailAlloc_4883_; +v_reuseFailAlloc_4883_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4883_, 0, v_a_4875_); +v___x_4882_ = v_reuseFailAlloc_4883_; +goto v_reusejp_4881_; +} +v_reusejp_4881_: +{ +return v___x_4882_; +} +} +} +else +{ +lean_dec(v_a_4873_); +lean_dec(v___y_4869_); +lean_dec_ref(v___y_4868_); +return v___x_4874_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___boxed(lean_object* v_input_4886_, lean_object* v_pre_4887_, lean_object* v_post_4888_, lean_object* v___y_4889_, lean_object* v___y_4890_, lean_object* v___y_4891_){ +_start: +{ +lean_object* v_res_4892_; +v_res_4892_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(v_input_4886_, v_pre_4887_, v_post_4888_, v___y_4889_, v___y_4890_); +return v_res_4892_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr(lean_object* v_e_4896_, lean_object* v_a_4897_, lean_object* v_a_4898_){ +_start: +{ +lean_object* v___x_4900_; lean_object* v___x_4901_; +v___x_4900_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__0)); +v___x_4901_ = lean_find_expr(v___x_4900_, v_e_4896_); +if (lean_obj_tag(v___x_4901_) == 0) +{ +lean_object* v___x_4902_; +lean_dec(v_a_4898_); +lean_dec_ref(v_a_4897_); +v___x_4902_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4902_, 0, v_e_4896_); +return v___x_4902_; +} +else +{ +lean_object* v___f_4903_; lean_object* v___f_4904_; lean_object* v___x_4905_; +lean_dec_ref(v___x_4901_); +v___f_4903_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__1)); +v___f_4904_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__2)); +v___x_4905_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(v_e_4896_, v___f_4903_, v___f_4904_, v_a_4897_, v_a_4898_); return v___x_4905_; } } -LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(lean_object* v_input_4906_, lean_object* v_pre_4907_, lean_object* v_post_4908_, lean_object* v___y_4909_, lean_object* v___y_4910_){ +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___boxed(lean_object* v_e_4906_, lean_object* v_a_4907_, lean_object* v_a_4908_, lean_object* v_a_4909_){ _start: { -lean_object* v___x_4912_; lean_object* v___x_4913_; lean_object* v_a_4914_; lean_object* v___x_4915_; -v___x_4912_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2); -v___x_4913_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_box(0), v___x_4912_, v___y_4909_, v___y_4910_); -v_a_4914_ = lean_ctor_get(v___x_4913_, 0); -lean_inc(v_a_4914_); -lean_dec_ref(v___x_4913_); -lean_inc(v___y_4910_); -lean_inc_ref(v___y_4909_); -lean_inc(v_a_4914_); -v___x_4915_ = l___private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0(v_pre_4907_, v_post_4908_, v_input_4906_, v_a_4914_, v___y_4909_, v___y_4910_); -if (lean_obj_tag(v___x_4915_) == 0) +lean_object* v_res_4910_; +v_res_4910_ = l_Lean_Elab_eraseRecAppSyntaxExpr(v_e_4906_, v_a_4907_, v_a_4908_); +return v_res_4910_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3(lean_object* v_00_u03b2_4911_, lean_object* v_m_4912_, lean_object* v_a_4913_){ +_start: { -lean_object* v_a_4916_; lean_object* v___x_4917_; lean_object* v___x_4918_; lean_object* v___x_4920_; uint8_t v_isShared_4921_; uint8_t v_isSharedCheck_4925_; -v_a_4916_ = lean_ctor_get(v___x_4915_, 0); -lean_inc(v_a_4916_); -lean_dec_ref(v___x_4915_); -v___x_4917_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(v___x_4917_, 0, lean_box(0)); -lean_closure_set(v___x_4917_, 1, lean_box(0)); -lean_closure_set(v___x_4917_, 2, v_a_4914_); -v___x_4918_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___lam__0(lean_box(0), v___x_4917_, v___y_4909_, v___y_4910_); -lean_dec(v___y_4910_); -lean_dec_ref(v___y_4909_); -v_isSharedCheck_4925_ = !lean_is_exclusive(v___x_4918_); -if (v_isSharedCheck_4925_ == 0) +lean_object* v___x_4914_; +v___x_4914_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_m_4912_, v_a_4913_); +return v___x_4914_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___boxed(lean_object* v_00_u03b2_4915_, lean_object* v_m_4916_, lean_object* v_a_4917_){ +_start: { -lean_object* v_unused_4926_; -v_unused_4926_ = lean_ctor_get(v___x_4918_, 0); -lean_dec(v_unused_4926_); -v___x_4920_ = v___x_4918_; -v_isShared_4921_ = v_isSharedCheck_4925_; -goto v_resetjp_4919_; +lean_object* v_res_4918_; +v_res_4918_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3(v_00_u03b2_4915_, v_m_4916_, v_a_4917_); +lean_dec_ref(v_a_4917_); +lean_dec_ref(v_m_4916_); +return v_res_4918_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7(lean_object* v_00_u03b1_4919_, lean_object* v_ref_4920_, lean_object* v___y_4921_, lean_object* v___y_4922_){ +_start: +{ +lean_object* v___x_4924_; +v___x_4924_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4920_); +return v___x_4924_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___boxed(lean_object* v_00_u03b1_4925_, lean_object* v_ref_4926_, lean_object* v___y_4927_, lean_object* v___y_4928_, lean_object* v___y_4929_){ +_start: +{ +lean_object* v_res_4930_; +v_res_4930_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7(v_00_u03b1_4925_, v_ref_4926_, v___y_4927_, v___y_4928_); +lean_dec(v___y_4928_); +lean_dec_ref(v___y_4927_); +return v_res_4930_; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5(lean_object* v_00_u03b1_4931_, lean_object* v_x_4932_, lean_object* v___y_4933_, lean_object* v___y_4934_, lean_object* v___y_4935_){ +_start: +{ +lean_object* v___x_4937_; +v___x_4937_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v_x_4932_, v___y_4933_, v___y_4934_, v___y_4935_); +return v___x_4937_; +} +} +LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___boxed(lean_object* v_00_u03b1_4938_, lean_object* v_x_4939_, lean_object* v___y_4940_, lean_object* v___y_4941_, lean_object* v___y_4942_, lean_object* v___y_4943_){ +_start: +{ +lean_object* v_res_4944_; +v_res_4944_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5(v_00_u03b1_4938_, v_x_4939_, v___y_4940_, v___y_4941_, v___y_4942_); +return v_res_4944_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6(lean_object* v_00_u03b2_4945_, lean_object* v_m_4946_, lean_object* v_a_4947_, lean_object* v_b_4948_){ +_start: +{ +lean_object* v___x_4949_; +v___x_4949_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(v_m_4946_, v_a_4947_, v_b_4948_); +return v___x_4949_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4(lean_object* v_00_u03b2_4950_, lean_object* v_a_4951_, lean_object* v_x_4952_){ +_start: +{ +lean_object* v___x_4953_; +v___x_4953_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4951_, v_x_4952_); +return v___x_4953_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___boxed(lean_object* v_00_u03b2_4954_, lean_object* v_a_4955_, lean_object* v_x_4956_){ +_start: +{ +lean_object* v_res_4957_; +v_res_4957_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4(v_00_u03b2_4954_, v_a_4955_, v_x_4956_); +lean_dec(v_x_4956_); +lean_dec_ref(v_a_4955_); +return v_res_4957_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9(lean_object* v_00_u03b2_4958_, lean_object* v_a_4959_, lean_object* v_x_4960_){ +_start: +{ +uint8_t v___x_4961_; +v___x_4961_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_4959_, v_x_4960_); +return v___x_4961_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___boxed(lean_object* v_00_u03b2_4962_, lean_object* v_a_4963_, lean_object* v_x_4964_){ +_start: +{ +uint8_t v_res_4965_; lean_object* v_r_4966_; +v_res_4965_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9(v_00_u03b2_4962_, v_a_4963_, v_x_4964_); +lean_dec(v_x_4964_); +lean_dec_ref(v_a_4963_); +v_r_4966_ = lean_box(v_res_4965_); +return v_r_4966_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10(lean_object* v_00_u03b2_4967_, lean_object* v_data_4968_){ +_start: +{ +lean_object* v___x_4969_; +v___x_4969_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(v_data_4968_); +return v___x_4969_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11(lean_object* v_00_u03b2_4970_, lean_object* v_a_4971_, lean_object* v_b_4972_, lean_object* v_x_4973_){ +_start: +{ +lean_object* v___x_4974_; +v___x_4974_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_4971_, v_b_4972_, v_x_4973_); +return v___x_4974_; +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11(lean_object* v_00_u03b2_4975_, lean_object* v_i_4976_, lean_object* v_source_4977_, lean_object* v_target_4978_){ +_start: +{ +lean_object* v___x_4979_; +v___x_4979_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(v_i_4976_, v_source_4977_, v_target_4978_); +return v___x_4979_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12(lean_object* v_00_u03b2_4980_, lean_object* v_x_4981_, lean_object* v_x_4982_){ +_start: +{ +lean_object* v___x_4983_; +v___x_4983_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(v_x_4981_, v_x_4982_); +return v___x_4983_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object* v_preDef_4984_, lean_object* v_a_4985_, lean_object* v_a_4986_){ +_start: +{ +lean_object* v_ref_4988_; uint8_t v_kind_4989_; lean_object* v_levelParams_4990_; lean_object* v_modifiers_4991_; lean_object* v_declName_4992_; lean_object* v_binders_4993_; lean_object* v_numSectionVars_4994_; lean_object* v_type_4995_; lean_object* v_value_4996_; lean_object* v_termination_4997_; lean_object* v___x_4999_; uint8_t v_isShared_5000_; uint8_t v_isSharedCheck_5021_; +v_ref_4988_ = lean_ctor_get(v_preDef_4984_, 0); +v_kind_4989_ = lean_ctor_get_uint8(v_preDef_4984_, sizeof(void*)*9); +v_levelParams_4990_ = lean_ctor_get(v_preDef_4984_, 1); +v_modifiers_4991_ = lean_ctor_get(v_preDef_4984_, 2); +v_declName_4992_ = lean_ctor_get(v_preDef_4984_, 3); +v_binders_4993_ = lean_ctor_get(v_preDef_4984_, 4); +v_numSectionVars_4994_ = lean_ctor_get(v_preDef_4984_, 5); +v_type_4995_ = lean_ctor_get(v_preDef_4984_, 6); +v_value_4996_ = lean_ctor_get(v_preDef_4984_, 7); +v_termination_4997_ = lean_ctor_get(v_preDef_4984_, 8); +v_isSharedCheck_5021_ = !lean_is_exclusive(v_preDef_4984_); +if (v_isSharedCheck_5021_ == 0) +{ +v___x_4999_ = v_preDef_4984_; +v_isShared_5000_ = v_isSharedCheck_5021_; +goto v_resetjp_4998_; } else { -lean_dec(v___x_4918_); -v___x_4920_ = lean_box(0); -v_isShared_4921_ = v_isSharedCheck_4925_; -goto v_resetjp_4919_; +lean_inc(v_termination_4997_); +lean_inc(v_value_4996_); +lean_inc(v_type_4995_); +lean_inc(v_numSectionVars_4994_); +lean_inc(v_binders_4993_); +lean_inc(v_declName_4992_); +lean_inc(v_modifiers_4991_); +lean_inc(v_levelParams_4990_); +lean_inc(v_ref_4988_); +lean_dec(v_preDef_4984_); +v___x_4999_ = lean_box(0); +v_isShared_5000_ = v_isSharedCheck_5021_; +goto v_resetjp_4998_; } -v_resetjp_4919_: +v_resetjp_4998_: { -lean_object* v___x_4923_; -if (v_isShared_4921_ == 0) +lean_object* v___x_5001_; +v___x_5001_ = l_Lean_Elab_eraseRecAppSyntaxExpr(v_value_4996_, v_a_4985_, v_a_4986_); +if (lean_obj_tag(v___x_5001_) == 0) { -lean_ctor_set(v___x_4920_, 0, v_a_4916_); -v___x_4923_ = v___x_4920_; -goto v_reusejp_4922_; +lean_object* v_a_5002_; lean_object* v___x_5004_; uint8_t v_isShared_5005_; uint8_t v_isSharedCheck_5012_; +v_a_5002_ = lean_ctor_get(v___x_5001_, 0); +v_isSharedCheck_5012_ = !lean_is_exclusive(v___x_5001_); +if (v_isSharedCheck_5012_ == 0) +{ +v___x_5004_ = v___x_5001_; +v_isShared_5005_ = v_isSharedCheck_5012_; +goto v_resetjp_5003_; } else { -lean_object* v_reuseFailAlloc_4924_; -v_reuseFailAlloc_4924_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4924_, 0, v_a_4916_); -v___x_4923_ = v_reuseFailAlloc_4924_; -goto v_reusejp_4922_; +lean_inc(v_a_5002_); +lean_dec(v___x_5001_); +v___x_5004_ = lean_box(0); +v_isShared_5005_ = v_isSharedCheck_5012_; +goto v_resetjp_5003_; } -v_reusejp_4922_: +v_resetjp_5003_: { -return v___x_4923_; -} -} +lean_object* v___x_5007_; +if (v_isShared_5000_ == 0) +{ +lean_ctor_set(v___x_4999_, 7, v_a_5002_); +v___x_5007_ = v___x_4999_; +goto v_reusejp_5006_; } else { -lean_dec(v_a_4914_); -lean_dec(v___y_4910_); -lean_dec_ref(v___y_4909_); -return v___x_4915_; +lean_object* v_reuseFailAlloc_5011_; +v_reuseFailAlloc_5011_ = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(v_reuseFailAlloc_5011_, 0, v_ref_4988_); +lean_ctor_set(v_reuseFailAlloc_5011_, 1, v_levelParams_4990_); +lean_ctor_set(v_reuseFailAlloc_5011_, 2, v_modifiers_4991_); +lean_ctor_set(v_reuseFailAlloc_5011_, 3, v_declName_4992_); +lean_ctor_set(v_reuseFailAlloc_5011_, 4, v_binders_4993_); +lean_ctor_set(v_reuseFailAlloc_5011_, 5, v_numSectionVars_4994_); +lean_ctor_set(v_reuseFailAlloc_5011_, 6, v_type_4995_); +lean_ctor_set(v_reuseFailAlloc_5011_, 7, v_a_5002_); +lean_ctor_set(v_reuseFailAlloc_5011_, 8, v_termination_4997_); +lean_ctor_set_uint8(v_reuseFailAlloc_5011_, sizeof(void*)*9, v_kind_4989_); +v___x_5007_ = v_reuseFailAlloc_5011_; +goto v_reusejp_5006_; } -} -} -LEAN_EXPORT lean_object* l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___boxed(lean_object* v_input_4927_, lean_object* v_pre_4928_, lean_object* v_post_4929_, lean_object* v___y_4930_, lean_object* v___y_4931_, lean_object* v___y_4932_){ -_start: +v_reusejp_5006_: { -lean_object* v_res_4933_; -v_res_4933_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(v_input_4927_, v_pre_4928_, v_post_4929_, v___y_4930_, v___y_4931_); -return v_res_4933_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr(lean_object* v_e_4937_, lean_object* v_a_4938_, lean_object* v_a_4939_){ -_start: +lean_object* v___x_5009_; +if (v_isShared_5005_ == 0) { -lean_object* v___x_4941_; lean_object* v___x_4942_; -v___x_4941_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__0)); -v___x_4942_ = lean_find_expr(v___x_4941_, v_e_4937_); -if (lean_obj_tag(v___x_4942_) == 0) -{ -lean_object* v___x_4943_; -lean_dec(v_a_4939_); -lean_dec_ref(v_a_4938_); -v___x_4943_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4943_, 0, v_e_4937_); -return v___x_4943_; +lean_ctor_set(v___x_5004_, 0, v___x_5007_); +v___x_5009_ = v___x_5004_; +goto v_reusejp_5008_; } else { -lean_object* v___f_4944_; lean_object* v___f_4945_; lean_object* v___x_4946_; -lean_dec_ref(v___x_4942_); -v___f_4944_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__1)); -v___f_4945_ = ((lean_object*)(l_Lean_Elab_eraseRecAppSyntaxExpr___closed__2)); -v___x_4946_ = l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0(v_e_4937_, v___f_4944_, v___f_4945_, v_a_4938_, v_a_4939_); -return v___x_4946_; +lean_object* v_reuseFailAlloc_5010_; +v_reuseFailAlloc_5010_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5010_, 0, v___x_5007_); +v___x_5009_ = v_reuseFailAlloc_5010_; +goto v_reusejp_5008_; } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntaxExpr___boxed(lean_object* v_e_4947_, lean_object* v_a_4948_, lean_object* v_a_4949_, lean_object* v_a_4950_){ -_start: +v_reusejp_5008_: { -lean_object* v_res_4951_; -v_res_4951_ = l_Lean_Elab_eraseRecAppSyntaxExpr(v_e_4947_, v_a_4948_, v_a_4949_); -return v_res_4951_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3(lean_object* v_00_u03b2_4952_, lean_object* v_m_4953_, lean_object* v_a_4954_){ -_start: -{ -lean_object* v___x_4955_; -v___x_4955_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___redArg(v_m_4953_, v_a_4954_); -return v___x_4955_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3___boxed(lean_object* v_00_u03b2_4956_, lean_object* v_m_4957_, lean_object* v_a_4958_){ -_start: -{ -lean_object* v_res_4959_; -v_res_4959_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3(v_00_u03b2_4956_, v_m_4957_, v_a_4958_); -lean_dec_ref(v_a_4958_); -lean_dec_ref(v_m_4957_); -return v_res_4959_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7(lean_object* v_00_u03b1_4960_, lean_object* v_ref_4961_, lean_object* v___y_4962_, lean_object* v___y_4963_){ -_start: -{ -lean_object* v___x_4965_; -v___x_4965_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___redArg(v_ref_4961_); -return v___x_4965_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7___boxed(lean_object* v_00_u03b1_4966_, lean_object* v_ref_4967_, lean_object* v___y_4968_, lean_object* v___y_4969_, lean_object* v___y_4970_){ -_start: -{ -lean_object* v_res_4971_; -v_res_4971_ = l_Lean_throwMaxRecDepthAt___at___00Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5_spec__7(v_00_u03b1_4966_, v_ref_4967_, v___y_4968_, v___y_4969_); -lean_dec(v___y_4969_); -lean_dec_ref(v___y_4968_); -return v_res_4971_; -} -} -LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5(lean_object* v_00_u03b1_4972_, lean_object* v_x_4973_, lean_object* v___y_4974_, lean_object* v___y_4975_, lean_object* v___y_4976_){ -_start: -{ -lean_object* v___x_4978_; -v___x_4978_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___redArg(v_x_4973_, v___y_4974_, v___y_4975_, v___y_4976_); -return v___x_4978_; -} -} -LEAN_EXPORT lean_object* l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5___boxed(lean_object* v_00_u03b1_4979_, lean_object* v_x_4980_, lean_object* v___y_4981_, lean_object* v___y_4982_, lean_object* v___y_4983_, lean_object* v___y_4984_){ -_start: -{ -lean_object* v_res_4985_; -v_res_4985_ = l_Lean_Core_withIncRecDepth___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__5(v_00_u03b1_4979_, v_x_4980_, v___y_4981_, v___y_4982_, v___y_4983_); -return v_res_4985_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6(lean_object* v_00_u03b2_4986_, lean_object* v_m_4987_, lean_object* v_a_4988_, lean_object* v_b_4989_){ -_start: -{ -lean_object* v___x_4990_; -v___x_4990_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6___redArg(v_m_4987_, v_a_4988_, v_b_4989_); -return v___x_4990_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4(lean_object* v_00_u03b2_4991_, lean_object* v_a_4992_, lean_object* v_x_4993_){ -_start: -{ -lean_object* v___x_4994_; -v___x_4994_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___redArg(v_a_4992_, v_x_4993_); -return v___x_4994_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4___boxed(lean_object* v_00_u03b2_4995_, lean_object* v_a_4996_, lean_object* v_x_4997_){ -_start: -{ -lean_object* v_res_4998_; -v_res_4998_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__3_spec__4(v_00_u03b2_4995_, v_a_4996_, v_x_4997_); -lean_dec(v_x_4997_); -lean_dec_ref(v_a_4996_); -return v_res_4998_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9(lean_object* v_00_u03b2_4999_, lean_object* v_a_5000_, lean_object* v_x_5001_){ -_start: -{ -uint8_t v___x_5002_; -v___x_5002_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___redArg(v_a_5000_, v_x_5001_); -return v___x_5002_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9___boxed(lean_object* v_00_u03b2_5003_, lean_object* v_a_5004_, lean_object* v_x_5005_){ -_start: -{ -uint8_t v_res_5006_; lean_object* v_r_5007_; -v_res_5006_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__9(v_00_u03b2_5003_, v_a_5004_, v_x_5005_); -lean_dec(v_x_5005_); -lean_dec_ref(v_a_5004_); -v_r_5007_ = lean_box(v_res_5006_); -return v_r_5007_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10(lean_object* v_00_u03b2_5008_, lean_object* v_data_5009_){ -_start: -{ -lean_object* v___x_5010_; -v___x_5010_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10___redArg(v_data_5009_); -return v___x_5010_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11(lean_object* v_00_u03b2_5011_, lean_object* v_a_5012_, lean_object* v_b_5013_, lean_object* v_x_5014_){ -_start: -{ -lean_object* v___x_5015_; -v___x_5015_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__11___redArg(v_a_5012_, v_b_5013_, v_x_5014_); -return v___x_5015_; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11(lean_object* v_00_u03b2_5016_, lean_object* v_i_5017_, lean_object* v_source_5018_, lean_object* v_target_5019_){ -_start: -{ -lean_object* v___x_5020_; -v___x_5020_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11___redArg(v_i_5017_, v_source_5018_, v_target_5019_); -return v___x_5020_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12(lean_object* v_00_u03b2_5021_, lean_object* v_x_5022_, lean_object* v_x_5023_){ -_start: -{ -lean_object* v___x_5024_; -v___x_5024_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_Transform_0__Lean_Core_transform_visit___at___00Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0_spec__0_spec__6_spec__10_spec__11_spec__12___redArg(v_x_5022_, v_x_5023_); -return v___x_5024_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntax(lean_object* v_preDef_5025_, lean_object* v_a_5026_, lean_object* v_a_5027_){ -_start: -{ -lean_object* v_ref_5029_; uint8_t v_kind_5030_; lean_object* v_levelParams_5031_; lean_object* v_modifiers_5032_; lean_object* v_declName_5033_; lean_object* v_binders_5034_; lean_object* v_numSectionVars_5035_; lean_object* v_type_5036_; lean_object* v_value_5037_; lean_object* v_termination_5038_; lean_object* v___x_5040_; uint8_t v_isShared_5041_; uint8_t v_isSharedCheck_5062_; -v_ref_5029_ = lean_ctor_get(v_preDef_5025_, 0); -v_kind_5030_ = lean_ctor_get_uint8(v_preDef_5025_, sizeof(void*)*9); -v_levelParams_5031_ = lean_ctor_get(v_preDef_5025_, 1); -v_modifiers_5032_ = lean_ctor_get(v_preDef_5025_, 2); -v_declName_5033_ = lean_ctor_get(v_preDef_5025_, 3); -v_binders_5034_ = lean_ctor_get(v_preDef_5025_, 4); -v_numSectionVars_5035_ = lean_ctor_get(v_preDef_5025_, 5); -v_type_5036_ = lean_ctor_get(v_preDef_5025_, 6); -v_value_5037_ = lean_ctor_get(v_preDef_5025_, 7); -v_termination_5038_ = lean_ctor_get(v_preDef_5025_, 8); -v_isSharedCheck_5062_ = !lean_is_exclusive(v_preDef_5025_); -if (v_isSharedCheck_5062_ == 0) -{ -v___x_5040_ = v_preDef_5025_; -v_isShared_5041_ = v_isSharedCheck_5062_; -goto v_resetjp_5039_; -} -else -{ -lean_inc(v_termination_5038_); -lean_inc(v_value_5037_); -lean_inc(v_type_5036_); -lean_inc(v_numSectionVars_5035_); -lean_inc(v_binders_5034_); -lean_inc(v_declName_5033_); -lean_inc(v_modifiers_5032_); -lean_inc(v_levelParams_5031_); -lean_inc(v_ref_5029_); -lean_dec(v_preDef_5025_); -v___x_5040_ = lean_box(0); -v_isShared_5041_ = v_isSharedCheck_5062_; -goto v_resetjp_5039_; -} -v_resetjp_5039_: -{ -lean_object* v___x_5042_; -v___x_5042_ = l_Lean_Elab_eraseRecAppSyntaxExpr(v_value_5037_, v_a_5026_, v_a_5027_); -if (lean_obj_tag(v___x_5042_) == 0) -{ -lean_object* v_a_5043_; lean_object* v___x_5045_; uint8_t v_isShared_5046_; uint8_t v_isSharedCheck_5053_; -v_a_5043_ = lean_ctor_get(v___x_5042_, 0); -v_isSharedCheck_5053_ = !lean_is_exclusive(v___x_5042_); -if (v_isSharedCheck_5053_ == 0) -{ -v___x_5045_ = v___x_5042_; -v_isShared_5046_ = v_isSharedCheck_5053_; -goto v_resetjp_5044_; -} -else -{ -lean_inc(v_a_5043_); -lean_dec(v___x_5042_); -v___x_5045_ = lean_box(0); -v_isShared_5046_ = v_isSharedCheck_5053_; -goto v_resetjp_5044_; -} -v_resetjp_5044_: -{ -lean_object* v___x_5048_; -if (v_isShared_5041_ == 0) -{ -lean_ctor_set(v___x_5040_, 7, v_a_5043_); -v___x_5048_ = v___x_5040_; -goto v_reusejp_5047_; -} -else -{ -lean_object* v_reuseFailAlloc_5052_; -v_reuseFailAlloc_5052_ = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(v_reuseFailAlloc_5052_, 0, v_ref_5029_); -lean_ctor_set(v_reuseFailAlloc_5052_, 1, v_levelParams_5031_); -lean_ctor_set(v_reuseFailAlloc_5052_, 2, v_modifiers_5032_); -lean_ctor_set(v_reuseFailAlloc_5052_, 3, v_declName_5033_); -lean_ctor_set(v_reuseFailAlloc_5052_, 4, v_binders_5034_); -lean_ctor_set(v_reuseFailAlloc_5052_, 5, v_numSectionVars_5035_); -lean_ctor_set(v_reuseFailAlloc_5052_, 6, v_type_5036_); -lean_ctor_set(v_reuseFailAlloc_5052_, 7, v_a_5043_); -lean_ctor_set(v_reuseFailAlloc_5052_, 8, v_termination_5038_); -lean_ctor_set_uint8(v_reuseFailAlloc_5052_, sizeof(void*)*9, v_kind_5030_); -v___x_5048_ = v_reuseFailAlloc_5052_; -goto v_reusejp_5047_; -} -v_reusejp_5047_: -{ -lean_object* v___x_5050_; -if (v_isShared_5046_ == 0) -{ -lean_ctor_set(v___x_5045_, 0, v___x_5048_); -v___x_5050_ = v___x_5045_; -goto v_reusejp_5049_; -} -else -{ -lean_object* v_reuseFailAlloc_5051_; -v_reuseFailAlloc_5051_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5051_, 0, v___x_5048_); -v___x_5050_ = v_reuseFailAlloc_5051_; -goto v_reusejp_5049_; -} -v_reusejp_5049_: -{ -return v___x_5050_; +return v___x_5009_; } } } } else { -lean_object* v_a_5054_; lean_object* v___x_5056_; uint8_t v_isShared_5057_; uint8_t v_isSharedCheck_5061_; -lean_del_object(v___x_5040_); -lean_dec_ref(v_termination_5038_); -lean_dec_ref(v_type_5036_); -lean_dec(v_numSectionVars_5035_); -lean_dec(v_binders_5034_); -lean_dec(v_declName_5033_); -lean_dec_ref(v_modifiers_5032_); -lean_dec(v_levelParams_5031_); -lean_dec(v_ref_5029_); -v_a_5054_ = lean_ctor_get(v___x_5042_, 0); -v_isSharedCheck_5061_ = !lean_is_exclusive(v___x_5042_); -if (v_isSharedCheck_5061_ == 0) +lean_object* v_a_5013_; lean_object* v___x_5015_; uint8_t v_isShared_5016_; uint8_t v_isSharedCheck_5020_; +lean_del_object(v___x_4999_); +lean_dec_ref(v_termination_4997_); +lean_dec_ref(v_type_4995_); +lean_dec(v_numSectionVars_4994_); +lean_dec(v_binders_4993_); +lean_dec(v_declName_4992_); +lean_dec_ref(v_modifiers_4991_); +lean_dec(v_levelParams_4990_); +lean_dec(v_ref_4988_); +v_a_5013_ = lean_ctor_get(v___x_5001_, 0); +v_isSharedCheck_5020_ = !lean_is_exclusive(v___x_5001_); +if (v_isSharedCheck_5020_ == 0) { -v___x_5056_ = v___x_5042_; -v_isShared_5057_ = v_isSharedCheck_5061_; -goto v_resetjp_5055_; +v___x_5015_ = v___x_5001_; +v_isShared_5016_ = v_isSharedCheck_5020_; +goto v_resetjp_5014_; } else { +lean_inc(v_a_5013_); +lean_dec(v___x_5001_); +v___x_5015_ = lean_box(0); +v_isShared_5016_ = v_isSharedCheck_5020_; +goto v_resetjp_5014_; +} +v_resetjp_5014_: +{ +lean_object* v___x_5018_; +if (v_isShared_5016_ == 0) +{ +v___x_5018_ = v___x_5015_; +goto v_reusejp_5017_; +} +else +{ +lean_object* v_reuseFailAlloc_5019_; +v_reuseFailAlloc_5019_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5019_, 0, v_a_5013_); +v___x_5018_ = v_reuseFailAlloc_5019_; +goto v_reusejp_5017_; +} +v_reusejp_5017_: +{ +return v___x_5018_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntax___boxed(lean_object* v_preDef_5022_, lean_object* v_a_5023_, lean_object* v_a_5024_, lean_object* v_a_5025_){ +_start: +{ +lean_object* v_res_5026_; +v_res_5026_ = l_Lean_Elab_eraseRecAppSyntax(v_preDef_5022_, v_a_5023_, v_a_5024_); +return v_res_5026_; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__1(lean_object* v_a_5027_, lean_object* v_a_5028_){ +_start: +{ +if (lean_obj_tag(v_a_5027_) == 0) +{ +lean_object* v___x_5029_; +v___x_5029_ = l_List_reverse___redArg(v_a_5028_); +return v___x_5029_; +} +else +{ +lean_object* v_head_5030_; lean_object* v_tail_5031_; lean_object* v___x_5033_; uint8_t v_isShared_5034_; uint8_t v_isSharedCheck_5040_; +v_head_5030_ = lean_ctor_get(v_a_5027_, 0); +v_tail_5031_ = lean_ctor_get(v_a_5027_, 1); +v_isSharedCheck_5040_ = !lean_is_exclusive(v_a_5027_); +if (v_isSharedCheck_5040_ == 0) +{ +v___x_5033_ = v_a_5027_; +v_isShared_5034_ = v_isSharedCheck_5040_; +goto v_resetjp_5032_; +} +else +{ +lean_inc(v_tail_5031_); +lean_inc(v_head_5030_); +lean_dec(v_a_5027_); +v___x_5033_ = lean_box(0); +v_isShared_5034_ = v_isSharedCheck_5040_; +goto v_resetjp_5032_; +} +v_resetjp_5032_: +{ +lean_object* v_declName_5035_; lean_object* v___x_5037_; +v_declName_5035_ = lean_ctor_get(v_head_5030_, 3); +lean_inc(v_declName_5035_); +lean_dec(v_head_5030_); +if (v_isShared_5034_ == 0) +{ +lean_ctor_set(v___x_5033_, 1, v_a_5028_); +lean_ctor_set(v___x_5033_, 0, v_declName_5035_); +v___x_5037_ = v___x_5033_; +goto v_reusejp_5036_; +} +else +{ +lean_object* v_reuseFailAlloc_5039_; +v_reuseFailAlloc_5039_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5039_, 0, v_declName_5035_); +lean_ctor_set(v_reuseFailAlloc_5039_, 1, v_a_5028_); +v___x_5037_ = v_reuseFailAlloc_5039_; +goto v_reusejp_5036_; +} +v_reusejp_5036_: +{ +v_a_5027_ = v_tail_5031_; +v_a_5028_ = v___x_5037_; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(lean_object* v_as_5041_, size_t v_sz_5042_, size_t v_i_5043_, lean_object* v_b_5044_, lean_object* v___y_5045_, lean_object* v___y_5046_, lean_object* v___y_5047_, lean_object* v___y_5048_, lean_object* v___y_5049_, lean_object* v___y_5050_){ +_start: +{ +uint8_t v___x_5052_; +v___x_5052_ = lean_usize_dec_lt(v_i_5043_, v_sz_5042_); +if (v___x_5052_ == 0) +{ +lean_object* v___x_5053_; +lean_dec(v___y_5050_); +lean_dec_ref(v___y_5049_); +lean_dec(v___y_5048_); +lean_dec_ref(v___y_5047_); +lean_dec(v___y_5046_); +lean_dec_ref(v___y_5045_); +v___x_5053_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5053_, 0, v_b_5044_); +return v___x_5053_; +} +else +{ +lean_object* v_a_5054_; lean_object* v___x_5055_; +v_a_5054_ = lean_array_uget_borrowed(v_as_5041_, v_i_5043_); +lean_inc(v___y_5050_); +lean_inc_ref(v___y_5049_); +lean_inc(v___y_5048_); +lean_inc_ref(v___y_5047_); +lean_inc(v___y_5046_); +lean_inc_ref(v___y_5045_); lean_inc(v_a_5054_); -lean_dec(v___x_5042_); +v___x_5055_ = l_Lean_Elab_addPreDefInfo(v_a_5054_, v___y_5045_, v___y_5046_, v___y_5047_, v___y_5048_, v___y_5049_, v___y_5050_); +if (lean_obj_tag(v___x_5055_) == 0) +{ +lean_object* v___x_5056_; size_t v___x_5057_; size_t v___x_5058_; +lean_dec_ref(v___x_5055_); v___x_5056_ = lean_box(0); -v_isShared_5057_ = v_isSharedCheck_5061_; -goto v_resetjp_5055_; -} -v_resetjp_5055_: -{ -lean_object* v___x_5059_; -if (v_isShared_5057_ == 0) -{ -v___x_5059_ = v___x_5056_; -goto v_reusejp_5058_; +v___x_5057_ = ((size_t)1ULL); +v___x_5058_ = lean_usize_add(v_i_5043_, v___x_5057_); +v_i_5043_ = v___x_5058_; +v_b_5044_ = v___x_5056_; +goto _start; } else { -lean_object* v_reuseFailAlloc_5060_; -v_reuseFailAlloc_5060_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5060_, 0, v_a_5054_); -v___x_5059_ = v_reuseFailAlloc_5060_; -goto v_reusejp_5058_; -} -v_reusejp_5058_: -{ -return v___x_5059_; +lean_dec(v___y_5050_); +lean_dec_ref(v___y_5049_); +lean_dec(v___y_5048_); +lean_dec_ref(v___y_5047_); +lean_dec(v___y_5046_); +lean_dec_ref(v___y_5045_); +return v___x_5055_; } } } } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_eraseRecAppSyntax___boxed(lean_object* v_preDef_5063_, lean_object* v_a_5064_, lean_object* v_a_5065_, lean_object* v_a_5066_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4___boxed(lean_object* v_as_5060_, lean_object* v_sz_5061_, lean_object* v_i_5062_, lean_object* v_b_5063_, lean_object* v___y_5064_, lean_object* v___y_5065_, lean_object* v___y_5066_, lean_object* v___y_5067_, lean_object* v___y_5068_, lean_object* v___y_5069_, lean_object* v___y_5070_){ _start: { -lean_object* v_res_5067_; -v_res_5067_ = l_Lean_Elab_eraseRecAppSyntax(v_preDef_5063_, v_a_5064_, v_a_5065_); -return v_res_5067_; +size_t v_sz_boxed_5071_; size_t v_i_boxed_5072_; lean_object* v_res_5073_; +v_sz_boxed_5071_ = lean_unbox_usize(v_sz_5061_); +lean_dec(v_sz_5061_); +v_i_boxed_5072_ = lean_unbox_usize(v_i_5062_); +lean_dec(v_i_5062_); +v_res_5073_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(v_as_5060_, v_sz_boxed_5071_, v_i_boxed_5072_, v_b_5063_, v___y_5064_, v___y_5065_, v___y_5066_, v___y_5067_, v___y_5068_, v___y_5069_); +lean_dec_ref(v_as_5060_); +return v_res_5073_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__1(lean_object* v_a_5068_, lean_object* v_a_5069_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(lean_object* v_docCtx_5074_, lean_object* v_as_5075_, size_t v_sz_5076_, size_t v_i_5077_, lean_object* v_b_5078_, lean_object* v___y_5079_, lean_object* v___y_5080_, lean_object* v___y_5081_, lean_object* v___y_5082_, lean_object* v___y_5083_, lean_object* v___y_5084_){ _start: { -if (lean_obj_tag(v_a_5068_) == 0) +uint8_t v___x_5086_; +v___x_5086_ = lean_usize_dec_lt(v_i_5077_, v_sz_5076_); +if (v___x_5086_ == 0) { -lean_object* v___x_5070_; -v___x_5070_ = l_List_reverse___redArg(v_a_5069_); -return v___x_5070_; +lean_object* v___x_5087_; +lean_dec(v___y_5084_); +lean_dec_ref(v___y_5083_); +lean_dec(v___y_5082_); +lean_dec_ref(v___y_5081_); +lean_dec(v___y_5080_); +lean_dec_ref(v___y_5079_); +lean_dec_ref(v_docCtx_5074_); +v___x_5087_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5087_, 0, v_b_5078_); +return v___x_5087_; } else { -lean_object* v_head_5071_; lean_object* v_tail_5072_; lean_object* v___x_5074_; uint8_t v_isShared_5075_; uint8_t v_isSharedCheck_5081_; -v_head_5071_ = lean_ctor_get(v_a_5068_, 0); -v_tail_5072_ = lean_ctor_get(v_a_5068_, 1); -v_isSharedCheck_5081_ = !lean_is_exclusive(v_a_5068_); -if (v_isSharedCheck_5081_ == 0) +lean_object* v_a_5088_; lean_object* v___x_5089_; +v_a_5088_ = lean_array_uget_borrowed(v_as_5075_, v_i_5077_); +lean_inc(v___y_5084_); +lean_inc_ref(v___y_5083_); +lean_inc(v___y_5082_); +lean_inc_ref(v___y_5081_); +lean_inc(v___y_5080_); +lean_inc_ref(v___y_5079_); +lean_inc(v_a_5088_); +lean_inc_ref(v_docCtx_5074_); +v___x_5089_ = l_Lean_Elab_addPreDefDocs(v_docCtx_5074_, v_a_5088_, v___y_5079_, v___y_5080_, v___y_5081_, v___y_5082_, v___y_5083_, v___y_5084_); +if (lean_obj_tag(v___x_5089_) == 0) { -v___x_5074_ = v_a_5068_; -v_isShared_5075_ = v_isSharedCheck_5081_; -goto v_resetjp_5073_; +lean_object* v___x_5090_; size_t v___x_5091_; size_t v___x_5092_; +lean_dec_ref(v___x_5089_); +v___x_5090_ = lean_box(0); +v___x_5091_ = ((size_t)1ULL); +v___x_5092_ = lean_usize_add(v_i_5077_, v___x_5091_); +v_i_5077_ = v___x_5092_; +v_b_5078_ = v___x_5090_; +goto _start; } else { -lean_inc(v_tail_5072_); -lean_inc(v_head_5071_); -lean_dec(v_a_5068_); -v___x_5074_ = lean_box(0); -v_isShared_5075_ = v_isSharedCheck_5081_; -goto v_resetjp_5073_; +lean_dec(v___y_5084_); +lean_dec_ref(v___y_5083_); +lean_dec(v___y_5082_); +lean_dec_ref(v___y_5081_); +lean_dec(v___y_5080_); +lean_dec_ref(v___y_5079_); +lean_dec_ref(v_docCtx_5074_); +return v___x_5089_; } -v_resetjp_5073_: +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3___boxed(lean_object* v_docCtx_5094_, lean_object* v_as_5095_, lean_object* v_sz_5096_, lean_object* v_i_5097_, lean_object* v_b_5098_, lean_object* v___y_5099_, lean_object* v___y_5100_, lean_object* v___y_5101_, lean_object* v___y_5102_, lean_object* v___y_5103_, lean_object* v___y_5104_, lean_object* v___y_5105_){ +_start: { -lean_object* v_declName_5076_; lean_object* v___x_5078_; -v_declName_5076_ = lean_ctor_get(v_head_5071_, 3); -lean_inc(v_declName_5076_); -lean_dec(v_head_5071_); -if (v_isShared_5075_ == 0) +size_t v_sz_boxed_5106_; size_t v_i_boxed_5107_; lean_object* v_res_5108_; +v_sz_boxed_5106_ = lean_unbox_usize(v_sz_5096_); +lean_dec(v_sz_5096_); +v_i_boxed_5107_ = lean_unbox_usize(v_i_5097_); +lean_dec(v_i_5097_); +v_res_5108_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(v_docCtx_5094_, v_as_5095_, v_sz_boxed_5106_, v_i_boxed_5107_, v_b_5098_, v___y_5099_, v___y_5100_, v___y_5101_, v___y_5102_, v___y_5103_, v___y_5104_); +lean_dec_ref(v_as_5095_); +return v_res_5108_; +} +} +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(uint8_t v_safety_5109_, lean_object* v___x_5110_, lean_object* v_x_5111_, lean_object* v_x_5112_){ +_start: { -lean_ctor_set(v___x_5074_, 1, v_a_5069_); -lean_ctor_set(v___x_5074_, 0, v_declName_5076_); -v___x_5078_ = v___x_5074_; -goto v_reusejp_5077_; +if (lean_obj_tag(v_x_5111_) == 0) +{ +lean_object* v___x_5114_; lean_object* v___x_5115_; +lean_dec(v___x_5110_); +v___x_5114_ = l_List_reverse___redArg(v_x_5112_); +v___x_5115_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5115_, 0, v___x_5114_); +return v___x_5115_; } else { -lean_object* v_reuseFailAlloc_5080_; -v_reuseFailAlloc_5080_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5080_, 0, v_declName_5076_); -lean_ctor_set(v_reuseFailAlloc_5080_, 1, v_a_5069_); -v___x_5078_ = v_reuseFailAlloc_5080_; -goto v_reusejp_5077_; -} -v_reusejp_5077_: +lean_object* v_head_5116_; lean_object* v_tail_5117_; lean_object* v___x_5119_; uint8_t v_isShared_5120_; uint8_t v_isSharedCheck_5132_; +v_head_5116_ = lean_ctor_get(v_x_5111_, 0); +v_tail_5117_ = lean_ctor_get(v_x_5111_, 1); +v_isSharedCheck_5132_ = !lean_is_exclusive(v_x_5111_); +if (v_isSharedCheck_5132_ == 0) { -v_a_5068_ = v_tail_5072_; -v_a_5069_ = v___x_5078_; +v___x_5119_ = v_x_5111_; +v_isShared_5120_ = v_isSharedCheck_5132_; +goto v_resetjp_5118_; +} +else +{ +lean_inc(v_tail_5117_); +lean_inc(v_head_5116_); +lean_dec(v_x_5111_); +v___x_5119_ = lean_box(0); +v_isShared_5120_ = v_isSharedCheck_5132_; +goto v_resetjp_5118_; +} +v_resetjp_5118_: +{ +lean_object* v_levelParams_5121_; lean_object* v_declName_5122_; lean_object* v_type_5123_; lean_object* v_value_5124_; lean_object* v___x_5125_; lean_object* v___x_5126_; lean_object* v___x_5127_; lean_object* v___x_5129_; +v_levelParams_5121_ = lean_ctor_get(v_head_5116_, 1); +lean_inc(v_levelParams_5121_); +v_declName_5122_ = lean_ctor_get(v_head_5116_, 3); +lean_inc(v_declName_5122_); +v_type_5123_ = lean_ctor_get(v_head_5116_, 6); +lean_inc_ref(v_type_5123_); +v_value_5124_ = lean_ctor_get(v_head_5116_, 7); +lean_inc_ref(v_value_5124_); +lean_dec(v_head_5116_); +v___x_5125_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_5125_, 0, v_declName_5122_); +lean_ctor_set(v___x_5125_, 1, v_levelParams_5121_); +lean_ctor_set(v___x_5125_, 2, v_type_5123_); +v___x_5126_ = lean_box(0); +lean_inc(v___x_5110_); +v___x_5127_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_5127_, 0, v___x_5125_); +lean_ctor_set(v___x_5127_, 1, v_value_5124_); +lean_ctor_set(v___x_5127_, 2, v___x_5126_); +lean_ctor_set(v___x_5127_, 3, v___x_5110_); +lean_ctor_set_uint8(v___x_5127_, sizeof(void*)*4, v_safety_5109_); +if (v_isShared_5120_ == 0) +{ +lean_ctor_set(v___x_5119_, 1, v_x_5112_); +lean_ctor_set(v___x_5119_, 0, v___x_5127_); +v___x_5129_ = v___x_5119_; +goto v_reusejp_5128_; +} +else +{ +lean_object* v_reuseFailAlloc_5131_; +v_reuseFailAlloc_5131_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5131_, 0, v___x_5127_); +lean_ctor_set(v_reuseFailAlloc_5131_, 1, v_x_5112_); +v___x_5129_ = v_reuseFailAlloc_5131_; +goto v_reusejp_5128_; +} +v_reusejp_5128_: +{ +v_x_5111_ = v_tail_5117_; +v_x_5112_ = v___x_5129_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(lean_object* v_as_5082_, size_t v_sz_5083_, size_t v_i_5084_, lean_object* v_b_5085_, lean_object* v___y_5086_, lean_object* v___y_5087_, lean_object* v___y_5088_, lean_object* v___y_5089_, lean_object* v___y_5090_, lean_object* v___y_5091_){ +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg___boxed(lean_object* v_safety_5133_, lean_object* v___x_5134_, lean_object* v_x_5135_, lean_object* v_x_5136_, lean_object* v___y_5137_){ _start: { -uint8_t v___x_5093_; -v___x_5093_ = lean_usize_dec_lt(v_i_5084_, v_sz_5083_); -if (v___x_5093_ == 0) +uint8_t v_safety_boxed_5138_; lean_object* v_res_5139_; +v_safety_boxed_5138_ = lean_unbox(v_safety_5133_); +v_res_5139_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_boxed_5138_, v___x_5134_, v_x_5135_, v_x_5136_); +return v_res_5139_; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(size_t v_sz_5140_, size_t v_i_5141_, lean_object* v_bs_5142_, lean_object* v___y_5143_, lean_object* v___y_5144_){ +_start: { -lean_object* v___x_5094_; -lean_dec(v___y_5091_); -lean_dec_ref(v___y_5090_); -lean_dec(v___y_5089_); -lean_dec_ref(v___y_5088_); -lean_dec(v___y_5087_); -lean_dec_ref(v___y_5086_); -v___x_5094_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5094_, 0, v_b_5085_); -return v___x_5094_; +uint8_t v___x_5146_; +v___x_5146_ = lean_usize_dec_lt(v_i_5141_, v_sz_5140_); +if (v___x_5146_ == 0) +{ +lean_object* v___x_5147_; +lean_dec(v___y_5144_); +lean_dec_ref(v___y_5143_); +v___x_5147_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5147_, 0, v_bs_5142_); +return v___x_5147_; } else { -lean_object* v_a_5095_; lean_object* v___x_5096_; -v_a_5095_ = lean_array_uget_borrowed(v_as_5082_, v_i_5084_); -lean_inc(v___y_5091_); -lean_inc_ref(v___y_5090_); -lean_inc(v___y_5089_); -lean_inc_ref(v___y_5088_); -lean_inc(v___y_5087_); -lean_inc_ref(v___y_5086_); -lean_inc(v_a_5095_); -v___x_5096_ = l_Lean_Elab_addPreDefInfo(v_a_5095_, v___y_5086_, v___y_5087_, v___y_5088_, v___y_5089_, v___y_5090_, v___y_5091_); -if (lean_obj_tag(v___x_5096_) == 0) +lean_object* v_v_5148_; lean_object* v___x_5149_; +v_v_5148_ = lean_array_uget_borrowed(v_bs_5142_, v_i_5141_); +lean_inc(v___y_5144_); +lean_inc_ref(v___y_5143_); +lean_inc(v_v_5148_); +v___x_5149_ = l_Lean_Elab_eraseRecAppSyntax(v_v_5148_, v___y_5143_, v___y_5144_); +if (lean_obj_tag(v___x_5149_) == 0) { -lean_object* v___x_5097_; size_t v___x_5098_; size_t v___x_5099_; -lean_dec_ref(v___x_5096_); -v___x_5097_ = lean_box(0); -v___x_5098_ = ((size_t)1ULL); -v___x_5099_ = lean_usize_add(v_i_5084_, v___x_5098_); -v_i_5084_ = v___x_5099_; -v_b_5085_ = v___x_5097_; +lean_object* v_a_5150_; lean_object* v___x_5151_; lean_object* v_bs_x27_5152_; size_t v___x_5153_; size_t v___x_5154_; lean_object* v___x_5155_; +v_a_5150_ = lean_ctor_get(v___x_5149_, 0); +lean_inc(v_a_5150_); +lean_dec_ref(v___x_5149_); +v___x_5151_ = lean_unsigned_to_nat(0u); +v_bs_x27_5152_ = lean_array_uset(v_bs_5142_, v_i_5141_, v___x_5151_); +v___x_5153_ = ((size_t)1ULL); +v___x_5154_ = lean_usize_add(v_i_5141_, v___x_5153_); +v___x_5155_ = lean_array_uset(v_bs_x27_5152_, v_i_5141_, v_a_5150_); +v_i_5141_ = v___x_5154_; +v_bs_5142_ = v___x_5155_; goto _start; } else { -lean_dec(v___y_5091_); -lean_dec_ref(v___y_5090_); -lean_dec(v___y_5089_); -lean_dec_ref(v___y_5088_); -lean_dec(v___y_5087_); -lean_dec_ref(v___y_5086_); -return v___x_5096_; +lean_object* v_a_5157_; lean_object* v___x_5159_; uint8_t v_isShared_5160_; uint8_t v_isSharedCheck_5164_; +lean_dec(v___y_5144_); +lean_dec_ref(v___y_5143_); +lean_dec_ref(v_bs_5142_); +v_a_5157_ = lean_ctor_get(v___x_5149_, 0); +v_isSharedCheck_5164_ = !lean_is_exclusive(v___x_5149_); +if (v_isSharedCheck_5164_ == 0) +{ +v___x_5159_ = v___x_5149_; +v_isShared_5160_ = v_isSharedCheck_5164_; +goto v_resetjp_5158_; +} +else +{ +lean_inc(v_a_5157_); +lean_dec(v___x_5149_); +v___x_5159_ = lean_box(0); +v_isShared_5160_ = v_isSharedCheck_5164_; +goto v_resetjp_5158_; +} +v_resetjp_5158_: +{ +lean_object* v___x_5162_; +if (v_isShared_5160_ == 0) +{ +v___x_5162_ = v___x_5159_; +goto v_reusejp_5161_; +} +else +{ +lean_object* v_reuseFailAlloc_5163_; +v_reuseFailAlloc_5163_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5163_, 0, v_a_5157_); +v___x_5162_ = v_reuseFailAlloc_5163_; +goto v_reusejp_5161_; +} +v_reusejp_5161_: +{ +return v___x_5162_; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4___boxed(lean_object* v_as_5101_, lean_object* v_sz_5102_, lean_object* v_i_5103_, lean_object* v_b_5104_, lean_object* v___y_5105_, lean_object* v___y_5106_, lean_object* v___y_5107_, lean_object* v___y_5108_, lean_object* v___y_5109_, lean_object* v___y_5110_, lean_object* v___y_5111_){ +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg___boxed(lean_object* v_sz_5165_, lean_object* v_i_5166_, lean_object* v_bs_5167_, lean_object* v___y_5168_, lean_object* v___y_5169_, lean_object* v___y_5170_){ _start: { -size_t v_sz_boxed_5112_; size_t v_i_boxed_5113_; lean_object* v_res_5114_; -v_sz_boxed_5112_ = lean_unbox_usize(v_sz_5102_); -lean_dec(v_sz_5102_); -v_i_boxed_5113_ = lean_unbox_usize(v_i_5103_); -lean_dec(v_i_5103_); -v_res_5114_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(v_as_5101_, v_sz_boxed_5112_, v_i_boxed_5113_, v_b_5104_, v___y_5105_, v___y_5106_, v___y_5107_, v___y_5108_, v___y_5109_, v___y_5110_); -lean_dec_ref(v_as_5101_); -return v_res_5114_; +size_t v_sz_boxed_5171_; size_t v_i_boxed_5172_; lean_object* v_res_5173_; +v_sz_boxed_5171_ = lean_unbox_usize(v_sz_5165_); +lean_dec(v_sz_5165_); +v_i_boxed_5172_ = lean_unbox_usize(v_i_5166_); +lean_dec(v_i_5166_); +v_res_5173_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_boxed_5171_, v_i_boxed_5172_, v_bs_5167_, v___y_5168_, v___y_5169_); +return v_res_5173_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(lean_object* v_docCtx_5115_, lean_object* v_as_5116_, size_t v_sz_5117_, size_t v_i_5118_, lean_object* v_b_5119_, lean_object* v___y_5120_, lean_object* v___y_5121_, lean_object* v___y_5122_, lean_object* v___y_5123_, lean_object* v___y_5124_, lean_object* v___y_5125_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileUnsafe(lean_object* v_docCtx_5174_, lean_object* v_preDefs_5175_, uint8_t v_safety_5176_, lean_object* v_a_5177_, lean_object* v_a_5178_, lean_object* v_a_5179_, lean_object* v_a_5180_, lean_object* v_a_5181_, lean_object* v_a_5182_){ _start: { -uint8_t v___x_5127_; -v___x_5127_ = lean_usize_dec_lt(v_i_5118_, v_sz_5117_); -if (v___x_5127_ == 0) +size_t v_sz_5184_; size_t v___x_5185_; lean_object* v___x_5186_; +v_sz_5184_ = lean_array_size(v_preDefs_5175_); +v___x_5185_ = ((size_t)0ULL); +lean_inc(v_a_5182_); +lean_inc_ref(v_a_5181_); +v___x_5186_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_5184_, v___x_5185_, v_preDefs_5175_, v_a_5181_, v_a_5182_); +if (lean_obj_tag(v___x_5186_) == 0) { -lean_object* v___x_5128_; -lean_dec(v___y_5125_); -lean_dec_ref(v___y_5124_); -lean_dec(v___y_5123_); -lean_dec_ref(v___y_5122_); -lean_dec(v___y_5121_); -lean_dec_ref(v___y_5120_); -lean_dec_ref(v_docCtx_5115_); -v___x_5128_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5128_, 0, v_b_5119_); -return v___x_5128_; +lean_object* v_a_5187_; lean_object* v___x_5188_; lean_object* v___x_5189_; lean_object* v___x_5190_; lean_object* v_ref_5191_; lean_object* v_fileName_5192_; lean_object* v_fileMap_5193_; lean_object* v_options_5194_; lean_object* v_currRecDepth_5195_; lean_object* v_maxRecDepth_5196_; lean_object* v_ref_5197_; lean_object* v_currNamespace_5198_; lean_object* v_openDecls_5199_; lean_object* v_initHeartbeats_5200_; lean_object* v_maxHeartbeats_5201_; lean_object* v_quotContext_5202_; lean_object* v_currMacroScope_5203_; uint8_t v_diag_5204_; lean_object* v_cancelTk_x3f_5205_; uint8_t v_suppressElabErrors_5206_; lean_object* v_inheritedTraceOptions_5207_; lean_object* v___x_5209_; uint8_t v_isShared_5210_; uint8_t v_isSharedCheck_5246_; +v_a_5187_ = lean_ctor_get(v___x_5186_, 0); +lean_inc(v_a_5187_); +lean_dec_ref(v___x_5186_); +v___x_5188_ = l_Lean_Elab_instInhabitedPreDefinition_default; +v___x_5189_ = lean_unsigned_to_nat(0u); +v___x_5190_ = lean_array_get_borrowed(v___x_5188_, v_a_5187_, v___x_5189_); +v_ref_5191_ = lean_ctor_get(v___x_5190_, 0); +v_fileName_5192_ = lean_ctor_get(v_a_5181_, 0); +v_fileMap_5193_ = lean_ctor_get(v_a_5181_, 1); +v_options_5194_ = lean_ctor_get(v_a_5181_, 2); +v_currRecDepth_5195_ = lean_ctor_get(v_a_5181_, 3); +v_maxRecDepth_5196_ = lean_ctor_get(v_a_5181_, 4); +v_ref_5197_ = lean_ctor_get(v_a_5181_, 5); +v_currNamespace_5198_ = lean_ctor_get(v_a_5181_, 6); +v_openDecls_5199_ = lean_ctor_get(v_a_5181_, 7); +v_initHeartbeats_5200_ = lean_ctor_get(v_a_5181_, 8); +v_maxHeartbeats_5201_ = lean_ctor_get(v_a_5181_, 9); +v_quotContext_5202_ = lean_ctor_get(v_a_5181_, 10); +v_currMacroScope_5203_ = lean_ctor_get(v_a_5181_, 11); +v_diag_5204_ = lean_ctor_get_uint8(v_a_5181_, sizeof(void*)*14); +v_cancelTk_x3f_5205_ = lean_ctor_get(v_a_5181_, 12); +v_suppressElabErrors_5206_ = lean_ctor_get_uint8(v_a_5181_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_5207_ = lean_ctor_get(v_a_5181_, 13); +v_isSharedCheck_5246_ = !lean_is_exclusive(v_a_5181_); +if (v_isSharedCheck_5246_ == 0) +{ +v___x_5209_ = v_a_5181_; +v_isShared_5210_ = v_isSharedCheck_5246_; +goto v_resetjp_5208_; } else { -lean_object* v_a_5129_; lean_object* v___x_5130_; -v_a_5129_ = lean_array_uget_borrowed(v_as_5116_, v_i_5118_); -lean_inc(v___y_5125_); -lean_inc_ref(v___y_5124_); -lean_inc(v___y_5123_); -lean_inc_ref(v___y_5122_); -lean_inc(v___y_5121_); -lean_inc_ref(v___y_5120_); -lean_inc(v_a_5129_); -lean_inc_ref(v_docCtx_5115_); -v___x_5130_ = l_Lean_Elab_addPreDefDocs(v_docCtx_5115_, v_a_5129_, v___y_5120_, v___y_5121_, v___y_5122_, v___y_5123_, v___y_5124_, v___y_5125_); -if (lean_obj_tag(v___x_5130_) == 0) +lean_inc(v_inheritedTraceOptions_5207_); +lean_inc(v_cancelTk_x3f_5205_); +lean_inc(v_currMacroScope_5203_); +lean_inc(v_quotContext_5202_); +lean_inc(v_maxHeartbeats_5201_); +lean_inc(v_initHeartbeats_5200_); +lean_inc(v_openDecls_5199_); +lean_inc(v_currNamespace_5198_); +lean_inc(v_ref_5197_); +lean_inc(v_maxRecDepth_5196_); +lean_inc(v_currRecDepth_5195_); +lean_inc(v_options_5194_); +lean_inc(v_fileMap_5193_); +lean_inc(v_fileName_5192_); +lean_dec(v_a_5181_); +v___x_5209_ = lean_box(0); +v_isShared_5210_ = v_isSharedCheck_5246_; +goto v_resetjp_5208_; +} +v_resetjp_5208_: { -lean_object* v___x_5131_; size_t v___x_5132_; size_t v___x_5133_; -lean_dec_ref(v___x_5130_); -v___x_5131_ = lean_box(0); -v___x_5132_ = ((size_t)1ULL); -v___x_5133_ = lean_usize_add(v_i_5118_, v___x_5132_); -v_i_5118_ = v___x_5133_; -v_b_5119_ = v___x_5131_; -goto _start; +lean_object* v___x_5211_; lean_object* v___x_5212_; lean_object* v___x_5213_; lean_object* v___x_5214_; lean_object* v_a_5215_; lean_object* v___x_5217_; uint8_t v_isShared_5218_; uint8_t v_isSharedCheck_5245_; +lean_inc(v_a_5187_); +v___x_5211_ = lean_array_to_list(v_a_5187_); +v___x_5212_ = lean_box(0); +lean_inc(v___x_5211_); +v___x_5213_ = l_List_mapTR_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__1(v___x_5211_, v___x_5212_); +v___x_5214_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_5176_, v___x_5213_, v___x_5211_, v___x_5212_); +v_a_5215_ = lean_ctor_get(v___x_5214_, 0); +v_isSharedCheck_5245_ = !lean_is_exclusive(v___x_5214_); +if (v_isSharedCheck_5245_ == 0) +{ +v___x_5217_ = v___x_5214_; +v_isShared_5218_ = v_isSharedCheck_5245_; +goto v_resetjp_5216_; } else { -lean_dec(v___y_5125_); -lean_dec_ref(v___y_5124_); -lean_dec(v___y_5123_); -lean_dec_ref(v___y_5122_); -lean_dec(v___y_5121_); -lean_dec_ref(v___y_5120_); -lean_dec_ref(v_docCtx_5115_); -return v___x_5130_; +lean_inc(v_a_5215_); +lean_dec(v___x_5214_); +v___x_5217_ = lean_box(0); +v_isShared_5218_ = v_isSharedCheck_5245_; +goto v_resetjp_5216_; } -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3___boxed(lean_object* v_docCtx_5135_, lean_object* v_as_5136_, lean_object* v_sz_5137_, lean_object* v_i_5138_, lean_object* v_b_5139_, lean_object* v___y_5140_, lean_object* v___y_5141_, lean_object* v___y_5142_, lean_object* v___y_5143_, lean_object* v___y_5144_, lean_object* v___y_5145_, lean_object* v___y_5146_){ -_start: +v_resetjp_5216_: { -size_t v_sz_boxed_5147_; size_t v_i_boxed_5148_; lean_object* v_res_5149_; -v_sz_boxed_5147_ = lean_unbox_usize(v_sz_5137_); -lean_dec(v_sz_5137_); -v_i_boxed_5148_ = lean_unbox_usize(v_i_5138_); -lean_dec(v_i_5138_); -v_res_5149_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(v_docCtx_5135_, v_as_5136_, v_sz_boxed_5147_, v_i_boxed_5148_, v_b_5139_, v___y_5140_, v___y_5141_, v___y_5142_, v___y_5143_, v___y_5144_, v___y_5145_); -lean_dec_ref(v_as_5136_); -return v_res_5149_; -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(uint8_t v_safety_5150_, lean_object* v___x_5151_, lean_object* v_x_5152_, lean_object* v_x_5153_){ -_start: +lean_object* v_ref_5219_; lean_object* v___x_5221_; +v_ref_5219_ = l_Lean_replaceRef(v_ref_5191_, v_ref_5197_); +lean_dec(v_ref_5197_); +if (v_isShared_5210_ == 0) { -if (lean_obj_tag(v_x_5152_) == 0) -{ -lean_object* v___x_5155_; lean_object* v___x_5156_; -lean_dec(v___x_5151_); -v___x_5155_ = l_List_reverse___redArg(v_x_5153_); -v___x_5156_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5156_, 0, v___x_5155_); -return v___x_5156_; +lean_ctor_set(v___x_5209_, 5, v_ref_5219_); +v___x_5221_ = v___x_5209_; +goto v_reusejp_5220_; } else { -lean_object* v_head_5157_; lean_object* v_tail_5158_; lean_object* v___x_5160_; uint8_t v_isShared_5161_; uint8_t v_isSharedCheck_5173_; -v_head_5157_ = lean_ctor_get(v_x_5152_, 0); -v_tail_5158_ = lean_ctor_get(v_x_5152_, 1); -v_isSharedCheck_5173_ = !lean_is_exclusive(v_x_5152_); -if (v_isSharedCheck_5173_ == 0) +lean_object* v_reuseFailAlloc_5244_; +v_reuseFailAlloc_5244_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_5244_, 0, v_fileName_5192_); +lean_ctor_set(v_reuseFailAlloc_5244_, 1, v_fileMap_5193_); +lean_ctor_set(v_reuseFailAlloc_5244_, 2, v_options_5194_); +lean_ctor_set(v_reuseFailAlloc_5244_, 3, v_currRecDepth_5195_); +lean_ctor_set(v_reuseFailAlloc_5244_, 4, v_maxRecDepth_5196_); +lean_ctor_set(v_reuseFailAlloc_5244_, 5, v_ref_5219_); +lean_ctor_set(v_reuseFailAlloc_5244_, 6, v_currNamespace_5198_); +lean_ctor_set(v_reuseFailAlloc_5244_, 7, v_openDecls_5199_); +lean_ctor_set(v_reuseFailAlloc_5244_, 8, v_initHeartbeats_5200_); +lean_ctor_set(v_reuseFailAlloc_5244_, 9, v_maxHeartbeats_5201_); +lean_ctor_set(v_reuseFailAlloc_5244_, 10, v_quotContext_5202_); +lean_ctor_set(v_reuseFailAlloc_5244_, 11, v_currMacroScope_5203_); +lean_ctor_set(v_reuseFailAlloc_5244_, 12, v_cancelTk_x3f_5205_); +lean_ctor_set(v_reuseFailAlloc_5244_, 13, v_inheritedTraceOptions_5207_); +lean_ctor_set_uint8(v_reuseFailAlloc_5244_, sizeof(void*)*14, v_diag_5204_); +lean_ctor_set_uint8(v_reuseFailAlloc_5244_, sizeof(void*)*14 + 1, v_suppressElabErrors_5206_); +v___x_5221_ = v_reuseFailAlloc_5244_; +goto v_reusejp_5220_; +} +v_reusejp_5220_: { -v___x_5160_ = v_x_5152_; -v_isShared_5161_ = v_isSharedCheck_5173_; -goto v_resetjp_5159_; +lean_object* v___x_5223_; +if (v_isShared_5218_ == 0) +{ +lean_ctor_set_tag(v___x_5217_, 5); +v___x_5223_ = v___x_5217_; +goto v_reusejp_5222_; } else { -lean_inc(v_tail_5158_); -lean_inc(v_head_5157_); -lean_dec(v_x_5152_); -v___x_5160_ = lean_box(0); -v_isShared_5161_ = v_isSharedCheck_5173_; -goto v_resetjp_5159_; +lean_object* v_reuseFailAlloc_5243_; +v_reuseFailAlloc_5243_ = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5243_, 0, v_a_5215_); +v___x_5223_ = v_reuseFailAlloc_5243_; +goto v_reusejp_5222_; } -v_resetjp_5159_: +v_reusejp_5222_: { -lean_object* v_levelParams_5162_; lean_object* v_declName_5163_; lean_object* v_type_5164_; lean_object* v_value_5165_; lean_object* v___x_5166_; lean_object* v___x_5167_; lean_object* v___x_5168_; lean_object* v___x_5170_; -v_levelParams_5162_ = lean_ctor_get(v_head_5157_, 1); -lean_inc(v_levelParams_5162_); -v_declName_5163_ = lean_ctor_get(v_head_5157_, 3); -lean_inc(v_declName_5163_); -v_type_5164_ = lean_ctor_get(v_head_5157_, 6); -lean_inc_ref(v_type_5164_); -v_value_5165_ = lean_ctor_get(v_head_5157_, 7); -lean_inc_ref(v_value_5165_); -lean_dec(v_head_5157_); -v___x_5166_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_5166_, 0, v_declName_5163_); -lean_ctor_set(v___x_5166_, 1, v_levelParams_5162_); -lean_ctor_set(v___x_5166_, 2, v_type_5164_); -v___x_5167_ = lean_box(0); -lean_inc(v___x_5151_); -v___x_5168_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_5168_, 0, v___x_5166_); -lean_ctor_set(v___x_5168_, 1, v_value_5165_); -lean_ctor_set(v___x_5168_, 2, v___x_5167_); -lean_ctor_set(v___x_5168_, 3, v___x_5151_); -lean_ctor_set_uint8(v___x_5168_, sizeof(void*)*4, v_safety_5150_); -if (v_isShared_5161_ == 0) +uint8_t v___x_5224_; lean_object* v___x_5225_; +v___x_5224_ = 0; +lean_inc(v_a_5182_); +lean_inc_ref(v___x_5221_); +lean_inc_ref(v___x_5223_); +v___x_5225_ = l_Lean_addDecl(v___x_5223_, v___x_5224_, v___x_5221_, v_a_5182_); +if (lean_obj_tag(v___x_5225_) == 0) { -lean_ctor_set(v___x_5160_, 1, v_x_5153_); -lean_ctor_set(v___x_5160_, 0, v___x_5168_); -v___x_5170_ = v___x_5160_; -goto v_reusejp_5169_; -} -else -{ -lean_object* v_reuseFailAlloc_5172_; -v_reuseFailAlloc_5172_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5172_, 0, v___x_5168_); -lean_ctor_set(v_reuseFailAlloc_5172_, 1, v_x_5153_); -v___x_5170_ = v_reuseFailAlloc_5172_; -goto v_reusejp_5169_; -} -v_reusejp_5169_: -{ -v_x_5152_ = v_tail_5158_; -v_x_5153_ = v___x_5170_; -goto _start; -} -} -} -} -} -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg___boxed(lean_object* v_safety_5174_, lean_object* v___x_5175_, lean_object* v_x_5176_, lean_object* v_x_5177_, lean_object* v___y_5178_){ -_start: -{ -uint8_t v_safety_boxed_5179_; lean_object* v_res_5180_; -v_safety_boxed_5179_ = lean_unbox(v_safety_5174_); -v_res_5180_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_boxed_5179_, v___x_5175_, v_x_5176_, v_x_5177_); -return v_res_5180_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(size_t v_sz_5181_, size_t v_i_5182_, lean_object* v_bs_5183_, lean_object* v___y_5184_, lean_object* v___y_5185_){ -_start: -{ -uint8_t v___x_5187_; -v___x_5187_ = lean_usize_dec_lt(v_i_5182_, v_sz_5181_); -if (v___x_5187_ == 0) -{ -lean_object* v___x_5188_; -lean_dec(v___y_5185_); -lean_dec_ref(v___y_5184_); -v___x_5188_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5188_, 0, v_bs_5183_); -return v___x_5188_; -} -else -{ -lean_object* v_v_5189_; lean_object* v___x_5190_; -v_v_5189_ = lean_array_uget_borrowed(v_bs_5183_, v_i_5182_); -lean_inc(v___y_5185_); -lean_inc_ref(v___y_5184_); -lean_inc(v_v_5189_); -v___x_5190_ = l_Lean_Elab_eraseRecAppSyntax(v_v_5189_, v___y_5184_, v___y_5185_); -if (lean_obj_tag(v___x_5190_) == 0) -{ -lean_object* v_a_5191_; lean_object* v___x_5192_; lean_object* v_bs_x27_5193_; size_t v___x_5194_; size_t v___x_5195_; lean_object* v___x_5196_; -v_a_5191_ = lean_ctor_get(v___x_5190_, 0); -lean_inc(v_a_5191_); -lean_dec_ref(v___x_5190_); -v___x_5192_ = lean_unsigned_to_nat(0u); -v_bs_x27_5193_ = lean_array_uset(v_bs_5183_, v_i_5182_, v___x_5192_); -v___x_5194_ = ((size_t)1ULL); -v___x_5195_ = lean_usize_add(v_i_5182_, v___x_5194_); -v___x_5196_ = lean_array_uset(v_bs_x27_5193_, v_i_5182_, v_a_5191_); -v_i_5182_ = v___x_5195_; -v_bs_5183_ = v___x_5196_; -goto _start; -} -else -{ -lean_object* v_a_5198_; lean_object* v___x_5200_; uint8_t v_isShared_5201_; uint8_t v_isSharedCheck_5205_; -lean_dec(v___y_5185_); -lean_dec_ref(v___y_5184_); -lean_dec_ref(v_bs_5183_); -v_a_5198_ = lean_ctor_get(v___x_5190_, 0); -v_isSharedCheck_5205_ = !lean_is_exclusive(v___x_5190_); -if (v_isSharedCheck_5205_ == 0) -{ -v___x_5200_ = v___x_5190_; -v_isShared_5201_ = v_isSharedCheck_5205_; -goto v_resetjp_5199_; -} -else -{ -lean_inc(v_a_5198_); -lean_dec(v___x_5190_); -v___x_5200_ = lean_box(0); -v_isShared_5201_ = v_isSharedCheck_5205_; -goto v_resetjp_5199_; -} -v_resetjp_5199_: -{ -lean_object* v___x_5203_; -if (v_isShared_5201_ == 0) -{ -v___x_5203_ = v___x_5200_; -goto v_reusejp_5202_; -} -else -{ -lean_object* v_reuseFailAlloc_5204_; -v_reuseFailAlloc_5204_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5204_, 0, v_a_5198_); -v___x_5203_ = v_reuseFailAlloc_5204_; -goto v_reusejp_5202_; -} -v_reusejp_5202_: -{ -return v___x_5203_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg___boxed(lean_object* v_sz_5206_, lean_object* v_i_5207_, lean_object* v_bs_5208_, lean_object* v___y_5209_, lean_object* v___y_5210_, lean_object* v___y_5211_){ -_start: -{ -size_t v_sz_boxed_5212_; size_t v_i_boxed_5213_; lean_object* v_res_5214_; -v_sz_boxed_5212_ = lean_unbox_usize(v_sz_5206_); -lean_dec(v_sz_5206_); -v_i_boxed_5213_ = lean_unbox_usize(v_i_5207_); -lean_dec(v_i_5207_); -v_res_5214_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_boxed_5212_, v_i_boxed_5213_, v_bs_5208_, v___y_5209_, v___y_5210_); -return v_res_5214_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileUnsafe(lean_object* v_docCtx_5215_, lean_object* v_preDefs_5216_, uint8_t v_safety_5217_, lean_object* v_a_5218_, lean_object* v_a_5219_, lean_object* v_a_5220_, lean_object* v_a_5221_, lean_object* v_a_5222_, lean_object* v_a_5223_){ -_start: -{ -size_t v_sz_5225_; size_t v___x_5226_; lean_object* v___x_5227_; -v_sz_5225_ = lean_array_size(v_preDefs_5216_); -v___x_5226_ = ((size_t)0ULL); -lean_inc(v_a_5223_); -lean_inc_ref(v_a_5222_); -v___x_5227_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_5225_, v___x_5226_, v_preDefs_5216_, v_a_5222_, v_a_5223_); +uint8_t v___x_5226_; lean_object* v___x_5227_; +lean_dec_ref(v___x_5225_); +v___x_5226_ = 0; +lean_inc(v_a_5182_); +lean_inc_ref(v___x_5221_); +lean_inc(v_a_5180_); +lean_inc_ref(v_a_5179_); +lean_inc(v_a_5178_); +lean_inc_ref(v_a_5177_); +v___x_5227_ = l_Lean_Elab_applyAttributesOf(v_a_5187_, v___x_5226_, v_a_5177_, v_a_5178_, v_a_5179_, v_a_5180_, v___x_5221_, v_a_5182_); if (lean_obj_tag(v___x_5227_) == 0) { -lean_object* v_a_5228_; lean_object* v___x_5229_; lean_object* v___x_5230_; lean_object* v___x_5231_; lean_object* v_ref_5232_; lean_object* v_fileName_5233_; lean_object* v_fileMap_5234_; lean_object* v_options_5235_; lean_object* v_currRecDepth_5236_; lean_object* v_maxRecDepth_5237_; lean_object* v_ref_5238_; lean_object* v_currNamespace_5239_; lean_object* v_openDecls_5240_; lean_object* v_initHeartbeats_5241_; lean_object* v_maxHeartbeats_5242_; lean_object* v_quotContext_5243_; lean_object* v_currMacroScope_5244_; uint8_t v_diag_5245_; lean_object* v_cancelTk_x3f_5246_; uint8_t v_suppressElabErrors_5247_; lean_object* v_inheritedTraceOptions_5248_; lean_object* v___x_5250_; uint8_t v_isShared_5251_; uint8_t v_isSharedCheck_5287_; -v_a_5228_ = lean_ctor_get(v___x_5227_, 0); -lean_inc(v_a_5228_); +lean_object* v___x_5228_; lean_dec_ref(v___x_5227_); -v___x_5229_ = l_Lean_Elab_instInhabitedPreDefinition_default; -v___x_5230_ = lean_unsigned_to_nat(0u); -v___x_5231_ = lean_array_get_borrowed(v___x_5229_, v_a_5228_, v___x_5230_); -v_ref_5232_ = lean_ctor_get(v___x_5231_, 0); -v_fileName_5233_ = lean_ctor_get(v_a_5222_, 0); -v_fileMap_5234_ = lean_ctor_get(v_a_5222_, 1); -v_options_5235_ = lean_ctor_get(v_a_5222_, 2); -v_currRecDepth_5236_ = lean_ctor_get(v_a_5222_, 3); -v_maxRecDepth_5237_ = lean_ctor_get(v_a_5222_, 4); -v_ref_5238_ = lean_ctor_get(v_a_5222_, 5); -v_currNamespace_5239_ = lean_ctor_get(v_a_5222_, 6); -v_openDecls_5240_ = lean_ctor_get(v_a_5222_, 7); -v_initHeartbeats_5241_ = lean_ctor_get(v_a_5222_, 8); -v_maxHeartbeats_5242_ = lean_ctor_get(v_a_5222_, 9); -v_quotContext_5243_ = lean_ctor_get(v_a_5222_, 10); -v_currMacroScope_5244_ = lean_ctor_get(v_a_5222_, 11); -v_diag_5245_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*14); -v_cancelTk_x3f_5246_ = lean_ctor_get(v_a_5222_, 12); -v_suppressElabErrors_5247_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_5248_ = lean_ctor_get(v_a_5222_, 13); -v_isSharedCheck_5287_ = !lean_is_exclusive(v_a_5222_); -if (v_isSharedCheck_5287_ == 0) +lean_inc(v_a_5182_); +lean_inc_ref(v___x_5221_); +v___x_5228_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(v___x_5223_, v_a_5177_, v___x_5221_, v_a_5182_); +if (lean_obj_tag(v___x_5228_) == 0) { -v___x_5250_ = v_a_5222_; -v_isShared_5251_ = v_isSharedCheck_5287_; -goto v_resetjp_5249_; +lean_object* v___x_5229_; size_t v_sz_5230_; lean_object* v___x_5231_; +lean_dec_ref(v___x_5228_); +v___x_5229_ = lean_box(0); +v_sz_5230_ = lean_array_size(v_a_5187_); +lean_inc(v_a_5182_); +lean_inc_ref(v___x_5221_); +lean_inc(v_a_5180_); +lean_inc_ref(v_a_5179_); +lean_inc(v_a_5178_); +lean_inc_ref(v_a_5177_); +v___x_5231_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(v_docCtx_5174_, v_a_5187_, v_sz_5230_, v___x_5185_, v___x_5229_, v_a_5177_, v_a_5178_, v_a_5179_, v_a_5180_, v___x_5221_, v_a_5182_); +if (lean_obj_tag(v___x_5231_) == 0) +{ +uint8_t v___x_5232_; lean_object* v___x_5233_; +lean_dec_ref(v___x_5231_); +v___x_5232_ = 1; +lean_inc(v_a_5182_); +lean_inc_ref(v___x_5221_); +lean_inc(v_a_5180_); +lean_inc_ref(v_a_5179_); +lean_inc(v_a_5178_); +lean_inc_ref(v_a_5177_); +v___x_5233_ = l_Lean_Elab_applyAttributesOf(v_a_5187_, v___x_5232_, v_a_5177_, v_a_5178_, v_a_5179_, v_a_5180_, v___x_5221_, v_a_5182_); +if (lean_obj_tag(v___x_5233_) == 0) +{ +lean_object* v___x_5234_; +lean_dec_ref(v___x_5233_); +v___x_5234_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(v_a_5187_, v_sz_5230_, v___x_5185_, v___x_5229_, v_a_5177_, v_a_5178_, v_a_5179_, v_a_5180_, v___x_5221_, v_a_5182_); +lean_dec(v_a_5187_); +if (lean_obj_tag(v___x_5234_) == 0) +{ +lean_object* v___x_5236_; uint8_t v_isShared_5237_; uint8_t v_isSharedCheck_5241_; +v_isSharedCheck_5241_ = !lean_is_exclusive(v___x_5234_); +if (v_isSharedCheck_5241_ == 0) +{ +lean_object* v_unused_5242_; +v_unused_5242_ = lean_ctor_get(v___x_5234_, 0); +lean_dec(v_unused_5242_); +v___x_5236_ = v___x_5234_; +v_isShared_5237_ = v_isSharedCheck_5241_; +goto v_resetjp_5235_; } else { -lean_inc(v_inheritedTraceOptions_5248_); -lean_inc(v_cancelTk_x3f_5246_); -lean_inc(v_currMacroScope_5244_); -lean_inc(v_quotContext_5243_); -lean_inc(v_maxHeartbeats_5242_); -lean_inc(v_initHeartbeats_5241_); -lean_inc(v_openDecls_5240_); -lean_inc(v_currNamespace_5239_); -lean_inc(v_ref_5238_); -lean_inc(v_maxRecDepth_5237_); -lean_inc(v_currRecDepth_5236_); -lean_inc(v_options_5235_); -lean_inc(v_fileMap_5234_); -lean_inc(v_fileName_5233_); -lean_dec(v_a_5222_); -v___x_5250_ = lean_box(0); -v_isShared_5251_ = v_isSharedCheck_5287_; -goto v_resetjp_5249_; +lean_dec(v___x_5234_); +v___x_5236_ = lean_box(0); +v_isShared_5237_ = v_isSharedCheck_5241_; +goto v_resetjp_5235_; } -v_resetjp_5249_: +v_resetjp_5235_: { -lean_object* v___x_5252_; lean_object* v___x_5253_; lean_object* v___x_5254_; lean_object* v___x_5255_; lean_object* v_a_5256_; lean_object* v___x_5258_; uint8_t v_isShared_5259_; uint8_t v_isSharedCheck_5286_; -lean_inc(v_a_5228_); -v___x_5252_ = lean_array_to_list(v_a_5228_); -v___x_5253_ = lean_box(0); -lean_inc(v___x_5252_); -v___x_5254_ = l_List_mapTR_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__1(v___x_5252_, v___x_5253_); -v___x_5255_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_5217_, v___x_5254_, v___x_5252_, v___x_5253_); -v_a_5256_ = lean_ctor_get(v___x_5255_, 0); -v_isSharedCheck_5286_ = !lean_is_exclusive(v___x_5255_); -if (v_isSharedCheck_5286_ == 0) +lean_object* v___x_5239_; +if (v_isShared_5237_ == 0) { -v___x_5258_ = v___x_5255_; -v_isShared_5259_ = v_isSharedCheck_5286_; -goto v_resetjp_5257_; +lean_ctor_set(v___x_5236_, 0, v___x_5229_); +v___x_5239_ = v___x_5236_; +goto v_reusejp_5238_; } else { -lean_inc(v_a_5256_); -lean_dec(v___x_5255_); -v___x_5258_ = lean_box(0); -v_isShared_5259_ = v_isSharedCheck_5286_; -goto v_resetjp_5257_; +lean_object* v_reuseFailAlloc_5240_; +v_reuseFailAlloc_5240_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5240_, 0, v___x_5229_); +v___x_5239_ = v_reuseFailAlloc_5240_; +goto v_reusejp_5238_; } -v_resetjp_5257_: +v_reusejp_5238_: { -lean_object* v_ref_5260_; lean_object* v___x_5262_; -v_ref_5260_ = l_Lean_replaceRef(v_ref_5232_, v_ref_5238_); -lean_dec(v_ref_5238_); -if (v_isShared_5251_ == 0) -{ -lean_ctor_set(v___x_5250_, 5, v_ref_5260_); -v___x_5262_ = v___x_5250_; -goto v_reusejp_5261_; -} -else -{ -lean_object* v_reuseFailAlloc_5285_; -v_reuseFailAlloc_5285_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_5285_, 0, v_fileName_5233_); -lean_ctor_set(v_reuseFailAlloc_5285_, 1, v_fileMap_5234_); -lean_ctor_set(v_reuseFailAlloc_5285_, 2, v_options_5235_); -lean_ctor_set(v_reuseFailAlloc_5285_, 3, v_currRecDepth_5236_); -lean_ctor_set(v_reuseFailAlloc_5285_, 4, v_maxRecDepth_5237_); -lean_ctor_set(v_reuseFailAlloc_5285_, 5, v_ref_5260_); -lean_ctor_set(v_reuseFailAlloc_5285_, 6, v_currNamespace_5239_); -lean_ctor_set(v_reuseFailAlloc_5285_, 7, v_openDecls_5240_); -lean_ctor_set(v_reuseFailAlloc_5285_, 8, v_initHeartbeats_5241_); -lean_ctor_set(v_reuseFailAlloc_5285_, 9, v_maxHeartbeats_5242_); -lean_ctor_set(v_reuseFailAlloc_5285_, 10, v_quotContext_5243_); -lean_ctor_set(v_reuseFailAlloc_5285_, 11, v_currMacroScope_5244_); -lean_ctor_set(v_reuseFailAlloc_5285_, 12, v_cancelTk_x3f_5246_); -lean_ctor_set(v_reuseFailAlloc_5285_, 13, v_inheritedTraceOptions_5248_); -lean_ctor_set_uint8(v_reuseFailAlloc_5285_, sizeof(void*)*14, v_diag_5245_); -lean_ctor_set_uint8(v_reuseFailAlloc_5285_, sizeof(void*)*14 + 1, v_suppressElabErrors_5247_); -v___x_5262_ = v_reuseFailAlloc_5285_; -goto v_reusejp_5261_; -} -v_reusejp_5261_: -{ -lean_object* v___x_5264_; -if (v_isShared_5259_ == 0) -{ -lean_ctor_set_tag(v___x_5258_, 5); -v___x_5264_ = v___x_5258_; -goto v_reusejp_5263_; -} -else -{ -lean_object* v_reuseFailAlloc_5284_; -v_reuseFailAlloc_5284_ = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5284_, 0, v_a_5256_); -v___x_5264_ = v_reuseFailAlloc_5284_; -goto v_reusejp_5263_; -} -v_reusejp_5263_: -{ -uint8_t v___x_5265_; lean_object* v___x_5266_; -v___x_5265_ = 0; -lean_inc(v_a_5223_); -lean_inc_ref(v___x_5262_); -lean_inc_ref(v___x_5264_); -v___x_5266_ = l_Lean_addDecl(v___x_5264_, v___x_5265_, v___x_5262_, v_a_5223_); -if (lean_obj_tag(v___x_5266_) == 0) -{ -uint8_t v___x_5267_; lean_object* v___x_5268_; -lean_dec_ref(v___x_5266_); -v___x_5267_ = 0; -lean_inc(v_a_5223_); -lean_inc_ref(v___x_5262_); -lean_inc(v_a_5221_); -lean_inc_ref(v_a_5220_); -lean_inc(v_a_5219_); -lean_inc_ref(v_a_5218_); -v___x_5268_ = l_Lean_Elab_applyAttributesOf(v_a_5228_, v___x_5267_, v_a_5218_, v_a_5219_, v_a_5220_, v_a_5221_, v___x_5262_, v_a_5223_); -if (lean_obj_tag(v___x_5268_) == 0) -{ -lean_object* v___x_5269_; -lean_dec_ref(v___x_5268_); -lean_inc(v_a_5223_); -lean_inc_ref(v___x_5262_); -v___x_5269_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_compileDecl___redArg(v___x_5264_, v_a_5218_, v___x_5262_, v_a_5223_); -if (lean_obj_tag(v___x_5269_) == 0) -{ -lean_object* v___x_5270_; size_t v_sz_5271_; lean_object* v___x_5272_; -lean_dec_ref(v___x_5269_); -v___x_5270_ = lean_box(0); -v_sz_5271_ = lean_array_size(v_a_5228_); -lean_inc(v_a_5223_); -lean_inc_ref(v___x_5262_); -lean_inc(v_a_5221_); -lean_inc_ref(v_a_5220_); -lean_inc(v_a_5219_); -lean_inc_ref(v_a_5218_); -v___x_5272_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__3(v_docCtx_5215_, v_a_5228_, v_sz_5271_, v___x_5226_, v___x_5270_, v_a_5218_, v_a_5219_, v_a_5220_, v_a_5221_, v___x_5262_, v_a_5223_); -if (lean_obj_tag(v___x_5272_) == 0) -{ -uint8_t v___x_5273_; lean_object* v___x_5274_; -lean_dec_ref(v___x_5272_); -v___x_5273_ = 1; -lean_inc(v_a_5223_); -lean_inc_ref(v___x_5262_); -lean_inc(v_a_5221_); -lean_inc_ref(v_a_5220_); -lean_inc(v_a_5219_); -lean_inc_ref(v_a_5218_); -v___x_5274_ = l_Lean_Elab_applyAttributesOf(v_a_5228_, v___x_5273_, v_a_5218_, v_a_5219_, v_a_5220_, v_a_5221_, v___x_5262_, v_a_5223_); -if (lean_obj_tag(v___x_5274_) == 0) -{ -lean_object* v___x_5275_; -lean_dec_ref(v___x_5274_); -v___x_5275_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__4(v_a_5228_, v_sz_5271_, v___x_5226_, v___x_5270_, v_a_5218_, v_a_5219_, v_a_5220_, v_a_5221_, v___x_5262_, v_a_5223_); -lean_dec(v_a_5228_); -if (lean_obj_tag(v___x_5275_) == 0) -{ -lean_object* v___x_5277_; uint8_t v_isShared_5278_; uint8_t v_isSharedCheck_5282_; -v_isSharedCheck_5282_ = !lean_is_exclusive(v___x_5275_); -if (v_isSharedCheck_5282_ == 0) -{ -lean_object* v_unused_5283_; -v_unused_5283_ = lean_ctor_get(v___x_5275_, 0); -lean_dec(v_unused_5283_); -v___x_5277_ = v___x_5275_; -v_isShared_5278_ = v_isSharedCheck_5282_; -goto v_resetjp_5276_; -} -else -{ -lean_dec(v___x_5275_); -v___x_5277_ = lean_box(0); -v_isShared_5278_ = v_isSharedCheck_5282_; -goto v_resetjp_5276_; -} -v_resetjp_5276_: -{ -lean_object* v___x_5280_; -if (v_isShared_5278_ == 0) -{ -lean_ctor_set(v___x_5277_, 0, v___x_5270_); -v___x_5280_ = v___x_5277_; -goto v_reusejp_5279_; -} -else -{ -lean_object* v_reuseFailAlloc_5281_; -v_reuseFailAlloc_5281_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5281_, 0, v___x_5270_); -v___x_5280_ = v_reuseFailAlloc_5281_; -goto v_reusejp_5279_; -} -v_reusejp_5279_: -{ -return v___x_5280_; +return v___x_5239_; } } } else { -return v___x_5275_; +return v___x_5234_; } } else { -lean_dec_ref(v___x_5262_); -lean_dec(v_a_5228_); -lean_dec(v_a_5223_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -return v___x_5274_; +lean_dec_ref(v___x_5221_); +lean_dec(v_a_5187_); +lean_dec(v_a_5182_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +return v___x_5233_; } } else { -lean_dec_ref(v___x_5262_); -lean_dec(v_a_5228_); -lean_dec(v_a_5223_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -return v___x_5272_; +lean_dec_ref(v___x_5221_); +lean_dec(v_a_5187_); +lean_dec(v_a_5182_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +return v___x_5231_; } } else { -lean_dec_ref(v___x_5262_); -lean_dec(v_a_5228_); -lean_dec(v_a_5223_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -lean_dec_ref(v_docCtx_5215_); -return v___x_5269_; +lean_dec_ref(v___x_5221_); +lean_dec(v_a_5187_); +lean_dec(v_a_5182_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +lean_dec_ref(v_docCtx_5174_); +return v___x_5228_; } } else { -lean_dec_ref(v___x_5264_); -lean_dec_ref(v___x_5262_); -lean_dec(v_a_5228_); -lean_dec(v_a_5223_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -lean_dec_ref(v_docCtx_5215_); -return v___x_5268_; +lean_dec_ref(v___x_5223_); +lean_dec_ref(v___x_5221_); +lean_dec(v_a_5187_); +lean_dec(v_a_5182_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +lean_dec_ref(v_docCtx_5174_); +return v___x_5227_; } } else { -lean_dec_ref(v___x_5264_); -lean_dec_ref(v___x_5262_); -lean_dec(v_a_5228_); -lean_dec(v_a_5223_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -lean_dec_ref(v_docCtx_5215_); -return v___x_5266_; +lean_dec_ref(v___x_5223_); +lean_dec_ref(v___x_5221_); +lean_dec(v_a_5187_); +lean_dec(v_a_5182_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +lean_dec_ref(v_docCtx_5174_); +return v___x_5225_; } } } @@ -16137,4987 +15979,5137 @@ return v___x_5266_; } else { -lean_object* v_a_5288_; lean_object* v___x_5290_; uint8_t v_isShared_5291_; uint8_t v_isSharedCheck_5295_; -lean_dec(v_a_5223_); -lean_dec_ref(v_a_5222_); -lean_dec(v_a_5221_); -lean_dec_ref(v_a_5220_); -lean_dec(v_a_5219_); -lean_dec_ref(v_a_5218_); -lean_dec_ref(v_docCtx_5215_); -v_a_5288_ = lean_ctor_get(v___x_5227_, 0); -v_isSharedCheck_5295_ = !lean_is_exclusive(v___x_5227_); -if (v_isSharedCheck_5295_ == 0) +lean_object* v_a_5247_; lean_object* v___x_5249_; uint8_t v_isShared_5250_; uint8_t v_isSharedCheck_5254_; +lean_dec(v_a_5182_); +lean_dec_ref(v_a_5181_); +lean_dec(v_a_5180_); +lean_dec_ref(v_a_5179_); +lean_dec(v_a_5178_); +lean_dec_ref(v_a_5177_); +lean_dec_ref(v_docCtx_5174_); +v_a_5247_ = lean_ctor_get(v___x_5186_, 0); +v_isSharedCheck_5254_ = !lean_is_exclusive(v___x_5186_); +if (v_isSharedCheck_5254_ == 0) { -v___x_5290_ = v___x_5227_; -v_isShared_5291_ = v_isSharedCheck_5295_; -goto v_resetjp_5289_; +v___x_5249_ = v___x_5186_; +v_isShared_5250_ = v_isSharedCheck_5254_; +goto v_resetjp_5248_; } else { -lean_inc(v_a_5288_); -lean_dec(v___x_5227_); -v___x_5290_ = lean_box(0); -v_isShared_5291_ = v_isSharedCheck_5295_; -goto v_resetjp_5289_; +lean_inc(v_a_5247_); +lean_dec(v___x_5186_); +v___x_5249_ = lean_box(0); +v_isShared_5250_ = v_isSharedCheck_5254_; +goto v_resetjp_5248_; } -v_resetjp_5289_: +v_resetjp_5248_: { -lean_object* v___x_5293_; -if (v_isShared_5291_ == 0) +lean_object* v___x_5252_; +if (v_isShared_5250_ == 0) { -v___x_5293_ = v___x_5290_; -goto v_reusejp_5292_; +v___x_5252_ = v___x_5249_; +goto v_reusejp_5251_; } else { -lean_object* v_reuseFailAlloc_5294_; -v_reuseFailAlloc_5294_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5294_, 0, v_a_5288_); -v___x_5293_ = v_reuseFailAlloc_5294_; -goto v_reusejp_5292_; +lean_object* v_reuseFailAlloc_5253_; +v_reuseFailAlloc_5253_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5253_, 0, v_a_5247_); +v___x_5252_ = v_reuseFailAlloc_5253_; +goto v_reusejp_5251_; } -v_reusejp_5292_: +v_reusejp_5251_: { -return v___x_5293_; +return v___x_5252_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileUnsafe___boxed(lean_object* v_docCtx_5296_, lean_object* v_preDefs_5297_, lean_object* v_safety_5298_, lean_object* v_a_5299_, lean_object* v_a_5300_, lean_object* v_a_5301_, lean_object* v_a_5302_, lean_object* v_a_5303_, lean_object* v_a_5304_, lean_object* v_a_5305_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompileUnsafe___boxed(lean_object* v_docCtx_5255_, lean_object* v_preDefs_5256_, lean_object* v_safety_5257_, lean_object* v_a_5258_, lean_object* v_a_5259_, lean_object* v_a_5260_, lean_object* v_a_5261_, lean_object* v_a_5262_, lean_object* v_a_5263_, lean_object* v_a_5264_){ _start: { -uint8_t v_safety_boxed_5306_; lean_object* v_res_5307_; -v_safety_boxed_5306_ = lean_unbox(v_safety_5298_); -v_res_5307_ = l_Lean_Elab_addAndCompileUnsafe(v_docCtx_5296_, v_preDefs_5297_, v_safety_boxed_5306_, v_a_5299_, v_a_5300_, v_a_5301_, v_a_5302_, v_a_5303_, v_a_5304_); -return v_res_5307_; +uint8_t v_safety_boxed_5265_; lean_object* v_res_5266_; +v_safety_boxed_5265_ = lean_unbox(v_safety_5257_); +v_res_5266_ = l_Lean_Elab_addAndCompileUnsafe(v_docCtx_5255_, v_preDefs_5256_, v_safety_boxed_5265_, v_a_5258_, v_a_5259_, v_a_5260_, v_a_5261_, v_a_5262_, v_a_5263_); +return v_res_5266_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0(size_t v_sz_5308_, size_t v_i_5309_, lean_object* v_bs_5310_, lean_object* v___y_5311_, lean_object* v___y_5312_, lean_object* v___y_5313_, lean_object* v___y_5314_, lean_object* v___y_5315_, lean_object* v___y_5316_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0(size_t v_sz_5267_, size_t v_i_5268_, lean_object* v_bs_5269_, lean_object* v___y_5270_, lean_object* v___y_5271_, lean_object* v___y_5272_, lean_object* v___y_5273_, lean_object* v___y_5274_, lean_object* v___y_5275_){ _start: { -lean_object* v___x_5318_; -v___x_5318_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_5308_, v_i_5309_, v_bs_5310_, v___y_5315_, v___y_5316_); -return v___x_5318_; +lean_object* v___x_5277_; +v___x_5277_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___redArg(v_sz_5267_, v_i_5268_, v_bs_5269_, v___y_5274_, v___y_5275_); +return v___x_5277_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___boxed(lean_object* v_sz_5319_, lean_object* v_i_5320_, lean_object* v_bs_5321_, lean_object* v___y_5322_, lean_object* v___y_5323_, lean_object* v___y_5324_, lean_object* v___y_5325_, lean_object* v___y_5326_, lean_object* v___y_5327_, lean_object* v___y_5328_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0___boxed(lean_object* v_sz_5278_, lean_object* v_i_5279_, lean_object* v_bs_5280_, lean_object* v___y_5281_, lean_object* v___y_5282_, lean_object* v___y_5283_, lean_object* v___y_5284_, lean_object* v___y_5285_, lean_object* v___y_5286_, lean_object* v___y_5287_){ _start: { -size_t v_sz_boxed_5329_; size_t v_i_boxed_5330_; lean_object* v_res_5331_; -v_sz_boxed_5329_ = lean_unbox_usize(v_sz_5319_); -lean_dec(v_sz_5319_); -v_i_boxed_5330_ = lean_unbox_usize(v_i_5320_); -lean_dec(v_i_5320_); -v_res_5331_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0(v_sz_boxed_5329_, v_i_boxed_5330_, v_bs_5321_, v___y_5322_, v___y_5323_, v___y_5324_, v___y_5325_, v___y_5326_, v___y_5327_); -lean_dec(v___y_5325_); -lean_dec_ref(v___y_5324_); -lean_dec(v___y_5323_); -lean_dec_ref(v___y_5322_); -return v_res_5331_; +size_t v_sz_boxed_5288_; size_t v_i_boxed_5289_; lean_object* v_res_5290_; +v_sz_boxed_5288_ = lean_unbox_usize(v_sz_5278_); +lean_dec(v_sz_5278_); +v_i_boxed_5289_ = lean_unbox_usize(v_i_5279_); +lean_dec(v_i_5279_); +v_res_5290_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompileUnsafe_spec__0(v_sz_boxed_5288_, v_i_boxed_5289_, v_bs_5280_, v___y_5281_, v___y_5282_, v___y_5283_, v___y_5284_, v___y_5285_, v___y_5286_); +lean_dec(v___y_5284_); +lean_dec_ref(v___y_5283_); +lean_dec(v___y_5282_); +lean_dec_ref(v___y_5281_); +return v_res_5290_; } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2(uint8_t v_safety_5332_, lean_object* v___x_5333_, lean_object* v_x_5334_, lean_object* v_x_5335_, lean_object* v___y_5336_, lean_object* v___y_5337_, lean_object* v___y_5338_, lean_object* v___y_5339_, lean_object* v___y_5340_, lean_object* v___y_5341_){ +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2(uint8_t v_safety_5291_, lean_object* v___x_5292_, lean_object* v_x_5293_, lean_object* v_x_5294_, lean_object* v___y_5295_, lean_object* v___y_5296_, lean_object* v___y_5297_, lean_object* v___y_5298_, lean_object* v___y_5299_, lean_object* v___y_5300_){ _start: { -lean_object* v___x_5343_; -v___x_5343_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_5332_, v___x_5333_, v_x_5334_, v_x_5335_); -return v___x_5343_; +lean_object* v___x_5302_; +v___x_5302_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___redArg(v_safety_5291_, v___x_5292_, v_x_5293_, v_x_5294_); +return v___x_5302_; } } -LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___boxed(lean_object* v_safety_5344_, lean_object* v___x_5345_, lean_object* v_x_5346_, lean_object* v_x_5347_, lean_object* v___y_5348_, lean_object* v___y_5349_, lean_object* v___y_5350_, lean_object* v___y_5351_, lean_object* v___y_5352_, lean_object* v___y_5353_, lean_object* v___y_5354_){ +LEAN_EXPORT lean_object* l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2___boxed(lean_object* v_safety_5303_, lean_object* v___x_5304_, lean_object* v_x_5305_, lean_object* v_x_5306_, lean_object* v___y_5307_, lean_object* v___y_5308_, lean_object* v___y_5309_, lean_object* v___y_5310_, lean_object* v___y_5311_, lean_object* v___y_5312_, lean_object* v___y_5313_){ _start: { -uint8_t v_safety_boxed_5355_; lean_object* v_res_5356_; -v_safety_boxed_5355_ = lean_unbox(v_safety_5344_); -v_res_5356_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2(v_safety_boxed_5355_, v___x_5345_, v_x_5346_, v_x_5347_, v___y_5348_, v___y_5349_, v___y_5350_, v___y_5351_, v___y_5352_, v___y_5353_); -lean_dec(v___y_5353_); -lean_dec_ref(v___y_5352_); -lean_dec(v___y_5351_); -lean_dec_ref(v___y_5350_); -lean_dec(v___y_5349_); -lean_dec_ref(v___y_5348_); -return v_res_5356_; +uint8_t v_safety_boxed_5314_; lean_object* v_res_5315_; +v_safety_boxed_5314_ = lean_unbox(v_safety_5303_); +v_res_5315_ = l_List_mapM_loop___at___00Lean_Elab_addAndCompileUnsafe_spec__2(v_safety_boxed_5314_, v___x_5304_, v_x_5305_, v_x_5306_, v___y_5307_, v___y_5308_, v___y_5309_, v___y_5310_, v___y_5311_, v___y_5312_); +lean_dec(v___y_5312_); +lean_dec_ref(v___y_5311_); +lean_dec(v___y_5310_); +lean_dec_ref(v___y_5309_); +lean_dec(v___y_5308_); +lean_dec_ref(v___y_5307_); +return v_res_5315_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(lean_object* v_as_5357_, size_t v_i_5358_, size_t v_stop_5359_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(lean_object* v_as_5316_, size_t v_i_5317_, size_t v_stop_5318_){ _start: { -uint8_t v___x_5360_; -v___x_5360_ = lean_usize_dec_eq(v_i_5358_, v_stop_5359_); -if (v___x_5360_ == 0) +uint8_t v___x_5319_; +v___x_5319_ = lean_usize_dec_eq(v_i_5317_, v_stop_5318_); +if (v___x_5319_ == 0) { -uint8_t v___x_5361_; lean_object* v___x_5362_; uint8_t v___x_5363_; -v___x_5361_ = 1; -v___x_5362_ = lean_array_uget_borrowed(v_as_5357_, v_i_5358_); -v___x_5363_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(v___x_5362_); -if (v___x_5363_ == 0) +uint8_t v___x_5320_; lean_object* v___x_5321_; uint8_t v___x_5322_; +v___x_5320_ = 1; +v___x_5321_ = lean_array_uget_borrowed(v_as_5316_, v_i_5317_); +v___x_5322_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_shouldGenCodeFor(v___x_5321_); +if (v___x_5322_ == 0) { -return v___x_5361_; +return v___x_5320_; } else { -if (v___x_5360_ == 0) +if (v___x_5319_ == 0) { -size_t v___x_5364_; size_t v___x_5365_; -v___x_5364_ = ((size_t)1ULL); -v___x_5365_ = lean_usize_add(v_i_5358_, v___x_5364_); -v_i_5358_ = v___x_5365_; +size_t v___x_5323_; size_t v___x_5324_; +v___x_5323_ = ((size_t)1ULL); +v___x_5324_ = lean_usize_add(v_i_5317_, v___x_5323_); +v_i_5317_ = v___x_5324_; goto _start; } else { -return v___x_5361_; +return v___x_5320_; } } } else { -uint8_t v___x_5367_; -v___x_5367_ = 0; -return v___x_5367_; +uint8_t v___x_5326_; +v___x_5326_ = 0; +return v___x_5326_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2___boxed(lean_object* v_as_5368_, lean_object* v_i_5369_, lean_object* v_stop_5370_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2___boxed(lean_object* v_as_5327_, lean_object* v_i_5328_, lean_object* v_stop_5329_){ _start: { -size_t v_i_boxed_5371_; size_t v_stop_boxed_5372_; uint8_t v_res_5373_; lean_object* v_r_5374_; -v_i_boxed_5371_ = lean_unbox_usize(v_i_5369_); -lean_dec(v_i_5369_); -v_stop_boxed_5372_ = lean_unbox_usize(v_stop_5370_); -lean_dec(v_stop_5370_); -v_res_5373_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(v_as_5368_, v_i_boxed_5371_, v_stop_boxed_5372_); -lean_dec_ref(v_as_5368_); -v_r_5374_ = lean_box(v_res_5373_); -return v_r_5374_; +size_t v_i_boxed_5330_; size_t v_stop_boxed_5331_; uint8_t v_res_5332_; lean_object* v_r_5333_; +v_i_boxed_5330_ = lean_unbox_usize(v_i_5328_); +lean_dec(v_i_5328_); +v_stop_boxed_5331_ = lean_unbox_usize(v_stop_5329_); +lean_dec(v_stop_5329_); +v_res_5332_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(v_as_5327_, v_i_boxed_5330_, v_stop_boxed_5331_); +lean_dec_ref(v_as_5327_); +v_r_5333_ = lean_box(v_res_5332_); +return v_r_5333_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(uint8_t v_flag_5375_, lean_object* v___y_5376_){ +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(uint8_t v_flag_5334_, lean_object* v___y_5335_){ _start: { -lean_object* v___x_5378_; lean_object* v_infoState_5379_; lean_object* v_env_5380_; lean_object* v_nextMacroScope_5381_; lean_object* v_ngen_5382_; lean_object* v_auxDeclNGen_5383_; lean_object* v_traceState_5384_; lean_object* v_cache_5385_; lean_object* v_messages_5386_; lean_object* v_snapshotTasks_5387_; lean_object* v___x_5389_; uint8_t v_isShared_5390_; uint8_t v_isSharedCheck_5407_; -v___x_5378_ = lean_st_ref_take(v___y_5376_); -v_infoState_5379_ = lean_ctor_get(v___x_5378_, 7); -v_env_5380_ = lean_ctor_get(v___x_5378_, 0); -v_nextMacroScope_5381_ = lean_ctor_get(v___x_5378_, 1); -v_ngen_5382_ = lean_ctor_get(v___x_5378_, 2); -v_auxDeclNGen_5383_ = lean_ctor_get(v___x_5378_, 3); -v_traceState_5384_ = lean_ctor_get(v___x_5378_, 4); -v_cache_5385_ = lean_ctor_get(v___x_5378_, 5); -v_messages_5386_ = lean_ctor_get(v___x_5378_, 6); -v_snapshotTasks_5387_ = lean_ctor_get(v___x_5378_, 8); -v_isSharedCheck_5407_ = !lean_is_exclusive(v___x_5378_); -if (v_isSharedCheck_5407_ == 0) +lean_object* v___x_5337_; lean_object* v_infoState_5338_; lean_object* v_env_5339_; lean_object* v_nextMacroScope_5340_; lean_object* v_ngen_5341_; lean_object* v_auxDeclNGen_5342_; lean_object* v_traceState_5343_; lean_object* v_cache_5344_; lean_object* v_messages_5345_; lean_object* v_snapshotTasks_5346_; lean_object* v___x_5348_; uint8_t v_isShared_5349_; uint8_t v_isSharedCheck_5366_; +v___x_5337_ = lean_st_ref_take(v___y_5335_); +v_infoState_5338_ = lean_ctor_get(v___x_5337_, 7); +v_env_5339_ = lean_ctor_get(v___x_5337_, 0); +v_nextMacroScope_5340_ = lean_ctor_get(v___x_5337_, 1); +v_ngen_5341_ = lean_ctor_get(v___x_5337_, 2); +v_auxDeclNGen_5342_ = lean_ctor_get(v___x_5337_, 3); +v_traceState_5343_ = lean_ctor_get(v___x_5337_, 4); +v_cache_5344_ = lean_ctor_get(v___x_5337_, 5); +v_messages_5345_ = lean_ctor_get(v___x_5337_, 6); +v_snapshotTasks_5346_ = lean_ctor_get(v___x_5337_, 8); +v_isSharedCheck_5366_ = !lean_is_exclusive(v___x_5337_); +if (v_isSharedCheck_5366_ == 0) { -v___x_5389_ = v___x_5378_; -v_isShared_5390_ = v_isSharedCheck_5407_; -goto v_resetjp_5388_; +v___x_5348_ = v___x_5337_; +v_isShared_5349_ = v_isSharedCheck_5366_; +goto v_resetjp_5347_; } else { -lean_inc(v_snapshotTasks_5387_); -lean_inc(v_infoState_5379_); -lean_inc(v_messages_5386_); -lean_inc(v_cache_5385_); -lean_inc(v_traceState_5384_); -lean_inc(v_auxDeclNGen_5383_); -lean_inc(v_ngen_5382_); -lean_inc(v_nextMacroScope_5381_); -lean_inc(v_env_5380_); -lean_dec(v___x_5378_); -v___x_5389_ = lean_box(0); -v_isShared_5390_ = v_isSharedCheck_5407_; -goto v_resetjp_5388_; +lean_inc(v_snapshotTasks_5346_); +lean_inc(v_infoState_5338_); +lean_inc(v_messages_5345_); +lean_inc(v_cache_5344_); +lean_inc(v_traceState_5343_); +lean_inc(v_auxDeclNGen_5342_); +lean_inc(v_ngen_5341_); +lean_inc(v_nextMacroScope_5340_); +lean_inc(v_env_5339_); +lean_dec(v___x_5337_); +v___x_5348_ = lean_box(0); +v_isShared_5349_ = v_isSharedCheck_5366_; +goto v_resetjp_5347_; } -v_resetjp_5388_: +v_resetjp_5347_: { -lean_object* v_assignment_5391_; lean_object* v_lazyAssignment_5392_; lean_object* v_trees_5393_; lean_object* v___x_5395_; uint8_t v_isShared_5396_; uint8_t v_isSharedCheck_5406_; -v_assignment_5391_ = lean_ctor_get(v_infoState_5379_, 0); -v_lazyAssignment_5392_ = lean_ctor_get(v_infoState_5379_, 1); -v_trees_5393_ = lean_ctor_get(v_infoState_5379_, 2); -v_isSharedCheck_5406_ = !lean_is_exclusive(v_infoState_5379_); -if (v_isSharedCheck_5406_ == 0) +lean_object* v_assignment_5350_; lean_object* v_lazyAssignment_5351_; lean_object* v_trees_5352_; lean_object* v___x_5354_; uint8_t v_isShared_5355_; uint8_t v_isSharedCheck_5365_; +v_assignment_5350_ = lean_ctor_get(v_infoState_5338_, 0); +v_lazyAssignment_5351_ = lean_ctor_get(v_infoState_5338_, 1); +v_trees_5352_ = lean_ctor_get(v_infoState_5338_, 2); +v_isSharedCheck_5365_ = !lean_is_exclusive(v_infoState_5338_); +if (v_isSharedCheck_5365_ == 0) { -v___x_5395_ = v_infoState_5379_; -v_isShared_5396_ = v_isSharedCheck_5406_; -goto v_resetjp_5394_; +v___x_5354_ = v_infoState_5338_; +v_isShared_5355_ = v_isSharedCheck_5365_; +goto v_resetjp_5353_; } else { -lean_inc(v_trees_5393_); -lean_inc(v_lazyAssignment_5392_); -lean_inc(v_assignment_5391_); -lean_dec(v_infoState_5379_); -v___x_5395_ = lean_box(0); -v_isShared_5396_ = v_isSharedCheck_5406_; -goto v_resetjp_5394_; +lean_inc(v_trees_5352_); +lean_inc(v_lazyAssignment_5351_); +lean_inc(v_assignment_5350_); +lean_dec(v_infoState_5338_); +v___x_5354_ = lean_box(0); +v_isShared_5355_ = v_isSharedCheck_5365_; +goto v_resetjp_5353_; } -v_resetjp_5394_: +v_resetjp_5353_: { -lean_object* v___x_5398_; -if (v_isShared_5396_ == 0) +lean_object* v___x_5357_; +if (v_isShared_5355_ == 0) { -v___x_5398_ = v___x_5395_; -goto v_reusejp_5397_; +v___x_5357_ = v___x_5354_; +goto v_reusejp_5356_; } else { -lean_object* v_reuseFailAlloc_5405_; -v_reuseFailAlloc_5405_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_5405_, 0, v_assignment_5391_); -lean_ctor_set(v_reuseFailAlloc_5405_, 1, v_lazyAssignment_5392_); -lean_ctor_set(v_reuseFailAlloc_5405_, 2, v_trees_5393_); -v___x_5398_ = v_reuseFailAlloc_5405_; -goto v_reusejp_5397_; +lean_object* v_reuseFailAlloc_5364_; +v_reuseFailAlloc_5364_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_5364_, 0, v_assignment_5350_); +lean_ctor_set(v_reuseFailAlloc_5364_, 1, v_lazyAssignment_5351_); +lean_ctor_set(v_reuseFailAlloc_5364_, 2, v_trees_5352_); +v___x_5357_ = v_reuseFailAlloc_5364_; +goto v_reusejp_5356_; } -v_reusejp_5397_: +v_reusejp_5356_: { -lean_object* v___x_5400_; -lean_ctor_set_uint8(v___x_5398_, sizeof(void*)*3, v_flag_5375_); -if (v_isShared_5390_ == 0) +lean_object* v___x_5359_; +lean_ctor_set_uint8(v___x_5357_, sizeof(void*)*3, v_flag_5334_); +if (v_isShared_5349_ == 0) { -lean_ctor_set(v___x_5389_, 7, v___x_5398_); -v___x_5400_ = v___x_5389_; -goto v_reusejp_5399_; +lean_ctor_set(v___x_5348_, 7, v___x_5357_); +v___x_5359_ = v___x_5348_; +goto v_reusejp_5358_; +} +else +{ +lean_object* v_reuseFailAlloc_5363_; +v_reuseFailAlloc_5363_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_5363_, 0, v_env_5339_); +lean_ctor_set(v_reuseFailAlloc_5363_, 1, v_nextMacroScope_5340_); +lean_ctor_set(v_reuseFailAlloc_5363_, 2, v_ngen_5341_); +lean_ctor_set(v_reuseFailAlloc_5363_, 3, v_auxDeclNGen_5342_); +lean_ctor_set(v_reuseFailAlloc_5363_, 4, v_traceState_5343_); +lean_ctor_set(v_reuseFailAlloc_5363_, 5, v_cache_5344_); +lean_ctor_set(v_reuseFailAlloc_5363_, 6, v_messages_5345_); +lean_ctor_set(v_reuseFailAlloc_5363_, 7, v___x_5357_); +lean_ctor_set(v_reuseFailAlloc_5363_, 8, v_snapshotTasks_5346_); +v___x_5359_ = v_reuseFailAlloc_5363_; +goto v_reusejp_5358_; +} +v_reusejp_5358_: +{ +lean_object* v___x_5360_; lean_object* v___x_5361_; lean_object* v___x_5362_; +v___x_5360_ = lean_st_ref_set(v___y_5335_, v___x_5359_); +v___x_5361_ = lean_box(0); +v___x_5362_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5362_, 0, v___x_5361_); +return v___x_5362_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg___boxed(lean_object* v_flag_5367_, lean_object* v___y_5368_, lean_object* v___y_5369_){ +_start: +{ +uint8_t v_flag_boxed_5370_; lean_object* v_res_5371_; +v_flag_boxed_5370_ = lean_unbox(v_flag_5367_); +v_res_5371_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_boxed_5370_, v___y_5368_); +lean_dec(v___y_5368_); +return v_res_5371_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(uint8_t v_flag_5372_, lean_object* v_x_5373_, lean_object* v___y_5374_, lean_object* v___y_5375_, lean_object* v___y_5376_, lean_object* v___y_5377_, lean_object* v___y_5378_, lean_object* v___y_5379_){ +_start: +{ +lean_object* v___x_5381_; lean_object* v_infoState_5382_; uint8_t v_enabled_5383_; lean_object* v_a_5385_; lean_object* v___x_5395_; lean_object* v___x_5396_; +v___x_5381_ = lean_st_ref_get(v___y_5379_); +v_infoState_5382_ = lean_ctor_get(v___x_5381_, 7); +lean_inc_ref(v_infoState_5382_); +lean_dec(v___x_5381_); +v_enabled_5383_ = lean_ctor_get_uint8(v_infoState_5382_, sizeof(void*)*3); +lean_dec_ref(v_infoState_5382_); +v___x_5395_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_5372_, v___y_5379_); +lean_dec_ref(v___x_5395_); +lean_inc(v___y_5379_); +v___x_5396_ = lean_apply_7(v_x_5373_, v___y_5374_, v___y_5375_, v___y_5376_, v___y_5377_, v___y_5378_, v___y_5379_, lean_box(0)); +if (lean_obj_tag(v___x_5396_) == 0) +{ +lean_object* v_a_5397_; lean_object* v___x_5398_; lean_object* v___x_5400_; uint8_t v_isShared_5401_; uint8_t v_isSharedCheck_5405_; +v_a_5397_ = lean_ctor_get(v___x_5396_, 0); +lean_inc(v_a_5397_); +lean_dec_ref(v___x_5396_); +v___x_5398_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_enabled_5383_, v___y_5379_); +lean_dec(v___y_5379_); +v_isSharedCheck_5405_ = !lean_is_exclusive(v___x_5398_); +if (v_isSharedCheck_5405_ == 0) +{ +lean_object* v_unused_5406_; +v_unused_5406_ = lean_ctor_get(v___x_5398_, 0); +lean_dec(v_unused_5406_); +v___x_5400_ = v___x_5398_; +v_isShared_5401_ = v_isSharedCheck_5405_; +goto v_resetjp_5399_; +} +else +{ +lean_dec(v___x_5398_); +v___x_5400_ = lean_box(0); +v_isShared_5401_ = v_isSharedCheck_5405_; +goto v_resetjp_5399_; +} +v_resetjp_5399_: +{ +lean_object* v___x_5403_; +if (v_isShared_5401_ == 0) +{ +lean_ctor_set(v___x_5400_, 0, v_a_5397_); +v___x_5403_ = v___x_5400_; +goto v_reusejp_5402_; } else { lean_object* v_reuseFailAlloc_5404_; -v_reuseFailAlloc_5404_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_5404_, 0, v_env_5380_); -lean_ctor_set(v_reuseFailAlloc_5404_, 1, v_nextMacroScope_5381_); -lean_ctor_set(v_reuseFailAlloc_5404_, 2, v_ngen_5382_); -lean_ctor_set(v_reuseFailAlloc_5404_, 3, v_auxDeclNGen_5383_); -lean_ctor_set(v_reuseFailAlloc_5404_, 4, v_traceState_5384_); -lean_ctor_set(v_reuseFailAlloc_5404_, 5, v_cache_5385_); -lean_ctor_set(v_reuseFailAlloc_5404_, 6, v_messages_5386_); -lean_ctor_set(v_reuseFailAlloc_5404_, 7, v___x_5398_); -lean_ctor_set(v_reuseFailAlloc_5404_, 8, v_snapshotTasks_5387_); -v___x_5400_ = v_reuseFailAlloc_5404_; -goto v_reusejp_5399_; +v_reuseFailAlloc_5404_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5404_, 0, v_a_5397_); +v___x_5403_ = v_reuseFailAlloc_5404_; +goto v_reusejp_5402_; } -v_reusejp_5399_: +v_reusejp_5402_: { -lean_object* v___x_5401_; lean_object* v___x_5402_; lean_object* v___x_5403_; -v___x_5401_ = lean_st_ref_set(v___y_5376_, v___x_5400_); -v___x_5402_ = lean_box(0); -v___x_5403_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5403_, 0, v___x_5402_); return v___x_5403_; } } } +else +{ +lean_object* v_a_5407_; +v_a_5407_ = lean_ctor_get(v___x_5396_, 0); +lean_inc(v_a_5407_); +lean_dec_ref(v___x_5396_); +v_a_5385_ = v_a_5407_; +goto v___jp_5384_; +} +v___jp_5384_: +{ +lean_object* v___x_5386_; lean_object* v___x_5388_; uint8_t v_isShared_5389_; uint8_t v_isSharedCheck_5393_; +v___x_5386_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_enabled_5383_, v___y_5379_); +lean_dec(v___y_5379_); +v_isSharedCheck_5393_ = !lean_is_exclusive(v___x_5386_); +if (v_isSharedCheck_5393_ == 0) +{ +lean_object* v_unused_5394_; +v_unused_5394_ = lean_ctor_get(v___x_5386_, 0); +lean_dec(v_unused_5394_); +v___x_5388_ = v___x_5386_; +v_isShared_5389_ = v_isSharedCheck_5393_; +goto v_resetjp_5387_; +} +else +{ +lean_dec(v___x_5386_); +v___x_5388_ = lean_box(0); +v_isShared_5389_ = v_isSharedCheck_5393_; +goto v_resetjp_5387_; +} +v_resetjp_5387_: +{ +lean_object* v___x_5391_; +if (v_isShared_5389_ == 0) +{ +lean_ctor_set_tag(v___x_5388_, 1); +lean_ctor_set(v___x_5388_, 0, v_a_5385_); +v___x_5391_ = v___x_5388_; +goto v_reusejp_5390_; +} +else +{ +lean_object* v_reuseFailAlloc_5392_; +v_reuseFailAlloc_5392_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5392_, 0, v_a_5385_); +v___x_5391_ = v_reuseFailAlloc_5392_; +goto v_reusejp_5390_; +} +v_reusejp_5390_: +{ +return v___x_5391_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg___boxed(lean_object* v_flag_5408_, lean_object* v___y_5409_, lean_object* v___y_5410_){ +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg___boxed(lean_object* v_flag_5408_, lean_object* v_x_5409_, lean_object* v___y_5410_, lean_object* v___y_5411_, lean_object* v___y_5412_, lean_object* v___y_5413_, lean_object* v___y_5414_, lean_object* v___y_5415_, lean_object* v___y_5416_){ _start: { -uint8_t v_flag_boxed_5411_; lean_object* v_res_5412_; -v_flag_boxed_5411_ = lean_unbox(v_flag_5408_); -v_res_5412_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_boxed_5411_, v___y_5409_); -lean_dec(v___y_5409_); -return v_res_5412_; +uint8_t v_flag_boxed_5417_; lean_object* v_res_5418_; +v_flag_boxed_5417_ = lean_unbox(v_flag_5408_); +v_res_5418_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v_flag_boxed_5417_, v_x_5409_, v___y_5410_, v___y_5411_, v___y_5412_, v___y_5413_, v___y_5414_, v___y_5415_); +return v_res_5418_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(uint8_t v_flag_5413_, lean_object* v_x_5414_, lean_object* v___y_5415_, lean_object* v___y_5416_, lean_object* v___y_5417_, lean_object* v___y_5418_, lean_object* v___y_5419_, lean_object* v___y_5420_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0(lean_object* v___x_5419_, lean_object* v___x_5420_, lean_object* v_preDefs_5421_, lean_object* v_e_5422_){ _start: { -lean_object* v___x_5422_; lean_object* v_infoState_5423_; uint8_t v_enabled_5424_; lean_object* v_a_5426_; lean_object* v___x_5436_; lean_object* v___x_5437_; -v___x_5422_ = lean_st_ref_get(v___y_5420_); -v_infoState_5423_ = lean_ctor_get(v___x_5422_, 7); -lean_inc_ref(v_infoState_5423_); -lean_dec(v___x_5422_); -v_enabled_5424_ = lean_ctor_get_uint8(v_infoState_5423_, sizeof(void*)*3); -lean_dec_ref(v_infoState_5423_); -v___x_5436_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_5413_, v___y_5420_); -lean_dec_ref(v___x_5436_); -lean_inc(v___y_5420_); -v___x_5437_ = lean_apply_7(v_x_5414_, v___y_5415_, v___y_5416_, v___y_5417_, v___y_5418_, v___y_5419_, v___y_5420_, lean_box(0)); -if (lean_obj_tag(v___x_5437_) == 0) +if (lean_obj_tag(v_e_5422_) == 4) { -lean_object* v_a_5438_; lean_object* v___x_5439_; lean_object* v___x_5441_; uint8_t v_isShared_5442_; uint8_t v_isSharedCheck_5446_; -v_a_5438_ = lean_ctor_get(v___x_5437_, 0); -lean_inc(v_a_5438_); -lean_dec_ref(v___x_5437_); -v___x_5439_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_enabled_5424_, v___y_5420_); -lean_dec(v___y_5420_); -v_isSharedCheck_5446_ = !lean_is_exclusive(v___x_5439_); -if (v_isSharedCheck_5446_ == 0) +lean_object* v_declName_5423_; lean_object* v_us_5424_; lean_object* v___y_5426_; uint8_t v___x_5436_; +v_declName_5423_ = lean_ctor_get(v_e_5422_, 0); +lean_inc(v_declName_5423_); +v_us_5424_ = lean_ctor_get(v_e_5422_, 1); +lean_inc(v_us_5424_); +lean_dec_ref(v_e_5422_); +v___x_5436_ = lean_nat_dec_lt(v___x_5419_, v___x_5420_); +if (v___x_5436_ == 0) { -lean_object* v_unused_5447_; -v_unused_5447_ = lean_ctor_get(v___x_5439_, 0); -lean_dec(v_unused_5447_); -v___x_5441_ = v___x_5439_; -v_isShared_5442_ = v_isSharedCheck_5446_; -goto v_resetjp_5440_; +lean_object* v___x_5437_; +lean_dec(v_us_5424_); +lean_dec(v_declName_5423_); +lean_dec(v___x_5420_); +v___x_5437_ = lean_box(0); +return v___x_5437_; } else { -lean_dec(v___x_5439_); -v___x_5441_ = lean_box(0); -v_isShared_5442_ = v_isSharedCheck_5446_; -goto v_resetjp_5440_; -} -v_resetjp_5440_: +lean_object* v___x_5438_; uint8_t v___x_5439_; +v___x_5438_ = lean_array_get_size(v_preDefs_5421_); +v___x_5439_ = lean_nat_dec_le(v___x_5420_, v___x_5438_); +if (v___x_5439_ == 0) { -lean_object* v___x_5444_; -if (v_isShared_5442_ == 0) -{ -lean_ctor_set(v___x_5441_, 0, v_a_5438_); -v___x_5444_ = v___x_5441_; -goto v_reusejp_5443_; -} -else -{ -lean_object* v_reuseFailAlloc_5445_; -v_reuseFailAlloc_5445_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5445_, 0, v_a_5438_); -v___x_5444_ = v_reuseFailAlloc_5445_; -goto v_reusejp_5443_; -} -v_reusejp_5443_: -{ -return v___x_5444_; -} -} -} -else -{ -lean_object* v_a_5448_; -v_a_5448_ = lean_ctor_get(v___x_5437_, 0); -lean_inc(v_a_5448_); -lean_dec_ref(v___x_5437_); -v_a_5426_ = v_a_5448_; +lean_dec(v___x_5420_); +v___y_5426_ = v___x_5438_; goto v___jp_5425_; } +else +{ +v___y_5426_ = v___x_5420_; +goto v___jp_5425_; +} +} v___jp_5425_: { -lean_object* v___x_5427_; lean_object* v___x_5429_; uint8_t v_isShared_5430_; uint8_t v_isSharedCheck_5434_; -v___x_5427_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_enabled_5424_, v___y_5420_); -lean_dec(v___y_5420_); -v_isSharedCheck_5434_ = !lean_is_exclusive(v___x_5427_); -if (v_isSharedCheck_5434_ == 0) +uint8_t v___x_5427_; +v___x_5427_ = lean_nat_dec_lt(v___x_5419_, v___y_5426_); +if (v___x_5427_ == 0) { -lean_object* v_unused_5435_; -v_unused_5435_ = lean_ctor_get(v___x_5427_, 0); -lean_dec(v_unused_5435_); -v___x_5429_ = v___x_5427_; -v_isShared_5430_ = v_isSharedCheck_5434_; -goto v_resetjp_5428_; +lean_object* v___x_5428_; +lean_dec(v___y_5426_); +lean_dec(v_us_5424_); +lean_dec(v_declName_5423_); +v___x_5428_ = lean_box(0); +return v___x_5428_; } else { -lean_dec(v___x_5427_); -v___x_5429_ = lean_box(0); -v_isShared_5430_ = v_isSharedCheck_5434_; -goto v_resetjp_5428_; -} -v_resetjp_5428_: +size_t v___x_5429_; size_t v___x_5430_; uint8_t v___x_5431_; +v___x_5429_ = ((size_t)0ULL); +v___x_5430_ = lean_usize_of_nat(v___y_5426_); +lean_dec(v___y_5426_); +v___x_5431_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_fixLevelParams_spec__1(v_declName_5423_, v_preDefs_5421_, v___x_5429_, v___x_5430_); +if (v___x_5431_ == 0) { lean_object* v___x_5432_; -if (v_isShared_5430_ == 0) -{ -lean_ctor_set_tag(v___x_5429_, 1); -lean_ctor_set(v___x_5429_, 0, v_a_5426_); -v___x_5432_ = v___x_5429_; -goto v_reusejp_5431_; -} -else -{ -lean_object* v_reuseFailAlloc_5433_; -v_reuseFailAlloc_5433_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5433_, 0, v_a_5426_); -v___x_5432_ = v_reuseFailAlloc_5433_; -goto v_reusejp_5431_; -} -v_reusejp_5431_: -{ +lean_dec(v_us_5424_); +lean_dec(v_declName_5423_); +v___x_5432_ = lean_box(0); return v___x_5432_; } +else +{ +lean_object* v___x_5433_; lean_object* v___x_5434_; lean_object* v___x_5435_; +v___x_5433_ = l_Lean_Compiler_mkUnsafeRecName(v_declName_5423_); +v___x_5434_ = l_Lean_mkConst(v___x_5433_, v_us_5424_); +v___x_5435_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5435_, 0, v___x_5434_); +return v___x_5435_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg___boxed(lean_object* v_flag_5449_, lean_object* v_x_5450_, lean_object* v___y_5451_, lean_object* v___y_5452_, lean_object* v___y_5453_, lean_object* v___y_5454_, lean_object* v___y_5455_, lean_object* v___y_5456_, lean_object* v___y_5457_){ +else +{ +lean_object* v___x_5440_; +lean_dec_ref(v_e_5422_); +lean_dec(v___x_5420_); +v___x_5440_ = lean_box(0); +return v___x_5440_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0___boxed(lean_object* v___x_5441_, lean_object* v___x_5442_, lean_object* v_preDefs_5443_, lean_object* v_e_5444_){ _start: { -uint8_t v_flag_boxed_5458_; lean_object* v_res_5459_; -v_flag_boxed_5458_ = lean_unbox(v_flag_5449_); -v_res_5459_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v_flag_boxed_5458_, v_x_5450_, v___y_5451_, v___y_5452_, v___y_5453_, v___y_5454_, v___y_5455_, v___y_5456_); -return v_res_5459_; +lean_object* v_res_5445_; +v_res_5445_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0(v___x_5441_, v___x_5442_, v_preDefs_5443_, v_e_5444_); +lean_dec_ref(v_preDefs_5443_); +lean_dec(v___x_5441_); +return v_res_5445_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0(lean_object* v___x_5460_, lean_object* v___x_5461_, lean_object* v_preDefs_5462_, lean_object* v_e_5463_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(lean_object* v_preDefs_5446_, lean_object* v___x_5447_, size_t v_sz_5448_, size_t v_i_5449_, lean_object* v_bs_5450_){ _start: { -if (lean_obj_tag(v_e_5463_) == 4) +uint8_t v___x_5451_; +v___x_5451_ = lean_usize_dec_lt(v_i_5449_, v_sz_5448_); +if (v___x_5451_ == 0) { -lean_object* v_declName_5464_; lean_object* v_us_5465_; lean_object* v___y_5467_; uint8_t v___x_5477_; -v_declName_5464_ = lean_ctor_get(v_e_5463_, 0); -lean_inc(v_declName_5464_); -v_us_5465_ = lean_ctor_get(v_e_5463_, 1); -lean_inc(v_us_5465_); -lean_dec_ref(v_e_5463_); -v___x_5477_ = lean_nat_dec_lt(v___x_5460_, v___x_5461_); -if (v___x_5477_ == 0) -{ -lean_object* v___x_5478_; -lean_dec(v_us_5465_); -lean_dec(v_declName_5464_); -lean_dec(v___x_5461_); -v___x_5478_ = lean_box(0); -return v___x_5478_; +lean_dec(v___x_5447_); +lean_dec_ref(v_preDefs_5446_); +return v_bs_5450_; } else { -lean_object* v___x_5479_; uint8_t v___x_5480_; -v___x_5479_ = lean_array_get_size(v_preDefs_5462_); -v___x_5480_ = lean_nat_dec_le(v___x_5461_, v___x_5479_); -if (v___x_5480_ == 0) +lean_object* v_v_5452_; lean_object* v_ref_5453_; uint8_t v_kind_5454_; lean_object* v_levelParams_5455_; lean_object* v_declName_5456_; lean_object* v_binders_5457_; lean_object* v_numSectionVars_5458_; lean_object* v_type_5459_; lean_object* v_value_5460_; lean_object* v_termination_5461_; lean_object* v___x_5463_; uint8_t v_isShared_5464_; uint8_t v_isSharedCheck_5478_; +v_v_5452_ = lean_array_uget(v_bs_5450_, v_i_5449_); +v_ref_5453_ = lean_ctor_get(v_v_5452_, 0); +v_kind_5454_ = lean_ctor_get_uint8(v_v_5452_, sizeof(void*)*9); +v_levelParams_5455_ = lean_ctor_get(v_v_5452_, 1); +v_declName_5456_ = lean_ctor_get(v_v_5452_, 3); +v_binders_5457_ = lean_ctor_get(v_v_5452_, 4); +v_numSectionVars_5458_ = lean_ctor_get(v_v_5452_, 5); +v_type_5459_ = lean_ctor_get(v_v_5452_, 6); +v_value_5460_ = lean_ctor_get(v_v_5452_, 7); +v_termination_5461_ = lean_ctor_get(v_v_5452_, 8); +v_isSharedCheck_5478_ = !lean_is_exclusive(v_v_5452_); +if (v_isSharedCheck_5478_ == 0) { -lean_dec(v___x_5461_); -v___y_5467_ = v___x_5479_; -goto v___jp_5466_; +lean_object* v_unused_5479_; +v_unused_5479_ = lean_ctor_get(v_v_5452_, 2); +lean_dec(v_unused_5479_); +v___x_5463_ = v_v_5452_; +v_isShared_5464_ = v_isSharedCheck_5478_; +goto v_resetjp_5462_; } else { -v___y_5467_ = v___x_5461_; -goto v___jp_5466_; +lean_inc(v_termination_5461_); +lean_inc(v_value_5460_); +lean_inc(v_type_5459_); +lean_inc(v_numSectionVars_5458_); +lean_inc(v_binders_5457_); +lean_inc(v_declName_5456_); +lean_inc(v_levelParams_5455_); +lean_inc(v_ref_5453_); +lean_dec(v_v_5452_); +v___x_5463_ = lean_box(0); +v_isShared_5464_ = v_isSharedCheck_5478_; +goto v_resetjp_5462_; } -} -v___jp_5466_: +v_resetjp_5462_: { -uint8_t v___x_5468_; -v___x_5468_ = lean_nat_dec_lt(v___x_5460_, v___y_5467_); -if (v___x_5468_ == 0) +lean_object* v___x_5465_; lean_object* v___f_5466_; lean_object* v_bs_x27_5467_; lean_object* v___x_5468_; lean_object* v___x_5469_; lean_object* v___x_5470_; lean_object* v___x_5472_; +v___x_5465_ = lean_unsigned_to_nat(0u); +lean_inc_ref(v_preDefs_5446_); +lean_inc(v___x_5447_); +v___f_5466_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0___boxed), 4, 3); +lean_closure_set(v___f_5466_, 0, v___x_5465_); +lean_closure_set(v___f_5466_, 1, v___x_5447_); +lean_closure_set(v___f_5466_, 2, v_preDefs_5446_); +v_bs_x27_5467_ = lean_array_uset(v_bs_5450_, v_i_5449_, v___x_5465_); +v___x_5468_ = l_Lean_Elab_instInhabitedModifiers_default; +v___x_5469_ = l_Lean_Compiler_mkUnsafeRecName(v_declName_5456_); +v___x_5470_ = lean_replace_expr(v___f_5466_, v_value_5460_); +lean_dec_ref(v_value_5460_); +lean_dec_ref(v___f_5466_); +if (v_isShared_5464_ == 0) { -lean_object* v___x_5469_; -lean_dec(v___y_5467_); -lean_dec(v_us_5465_); -lean_dec(v_declName_5464_); -v___x_5469_ = lean_box(0); -return v___x_5469_; +lean_ctor_set(v___x_5463_, 7, v___x_5470_); +lean_ctor_set(v___x_5463_, 3, v___x_5469_); +lean_ctor_set(v___x_5463_, 2, v___x_5468_); +v___x_5472_ = v___x_5463_; +goto v_reusejp_5471_; } else { -size_t v___x_5470_; size_t v___x_5471_; uint8_t v___x_5472_; -v___x_5470_ = ((size_t)0ULL); -v___x_5471_ = lean_usize_of_nat(v___y_5467_); -lean_dec(v___y_5467_); -v___x_5472_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_fixLevelParams_spec__1(v_declName_5464_, v_preDefs_5462_, v___x_5470_, v___x_5471_); -if (v___x_5472_ == 0) +lean_object* v_reuseFailAlloc_5477_; +v_reuseFailAlloc_5477_ = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(v_reuseFailAlloc_5477_, 0, v_ref_5453_); +lean_ctor_set(v_reuseFailAlloc_5477_, 1, v_levelParams_5455_); +lean_ctor_set(v_reuseFailAlloc_5477_, 2, v___x_5468_); +lean_ctor_set(v_reuseFailAlloc_5477_, 3, v___x_5469_); +lean_ctor_set(v_reuseFailAlloc_5477_, 4, v_binders_5457_); +lean_ctor_set(v_reuseFailAlloc_5477_, 5, v_numSectionVars_5458_); +lean_ctor_set(v_reuseFailAlloc_5477_, 6, v_type_5459_); +lean_ctor_set(v_reuseFailAlloc_5477_, 7, v___x_5470_); +lean_ctor_set(v_reuseFailAlloc_5477_, 8, v_termination_5461_); +lean_ctor_set_uint8(v_reuseFailAlloc_5477_, sizeof(void*)*9, v_kind_5454_); +v___x_5472_ = v_reuseFailAlloc_5477_; +goto v_reusejp_5471_; +} +v_reusejp_5471_: { -lean_object* v___x_5473_; -lean_dec(v_us_5465_); -lean_dec(v_declName_5464_); -v___x_5473_ = lean_box(0); -return v___x_5473_; -} -else -{ -lean_object* v___x_5474_; lean_object* v___x_5475_; lean_object* v___x_5476_; -v___x_5474_ = l_Lean_Compiler_mkUnsafeRecName(v_declName_5464_); -v___x_5475_ = l_Lean_mkConst(v___x_5474_, v_us_5465_); -v___x_5476_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5476_, 0, v___x_5475_); -return v___x_5476_; -} -} -} -} -else -{ -lean_object* v___x_5481_; -lean_dec_ref(v_e_5463_); -lean_dec(v___x_5461_); -v___x_5481_ = lean_box(0); -return v___x_5481_; -} -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0___boxed(lean_object* v___x_5482_, lean_object* v___x_5483_, lean_object* v_preDefs_5484_, lean_object* v_e_5485_){ -_start: -{ -lean_object* v_res_5486_; -v_res_5486_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0(v___x_5482_, v___x_5483_, v_preDefs_5484_, v_e_5485_); -lean_dec_ref(v_preDefs_5484_); -lean_dec(v___x_5482_); -return v_res_5486_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(lean_object* v_preDefs_5487_, lean_object* v___x_5488_, size_t v_sz_5489_, size_t v_i_5490_, lean_object* v_bs_5491_){ -_start: -{ -uint8_t v___x_5492_; -v___x_5492_ = lean_usize_dec_lt(v_i_5490_, v_sz_5489_); -if (v___x_5492_ == 0) -{ -lean_dec(v___x_5488_); -lean_dec_ref(v_preDefs_5487_); -return v_bs_5491_; -} -else -{ -lean_object* v_v_5493_; lean_object* v_ref_5494_; uint8_t v_kind_5495_; lean_object* v_levelParams_5496_; lean_object* v_declName_5497_; lean_object* v_binders_5498_; lean_object* v_numSectionVars_5499_; lean_object* v_type_5500_; lean_object* v_value_5501_; lean_object* v_termination_5502_; lean_object* v___x_5504_; uint8_t v_isShared_5505_; uint8_t v_isSharedCheck_5519_; -v_v_5493_ = lean_array_uget(v_bs_5491_, v_i_5490_); -v_ref_5494_ = lean_ctor_get(v_v_5493_, 0); -v_kind_5495_ = lean_ctor_get_uint8(v_v_5493_, sizeof(void*)*9); -v_levelParams_5496_ = lean_ctor_get(v_v_5493_, 1); -v_declName_5497_ = lean_ctor_get(v_v_5493_, 3); -v_binders_5498_ = lean_ctor_get(v_v_5493_, 4); -v_numSectionVars_5499_ = lean_ctor_get(v_v_5493_, 5); -v_type_5500_ = lean_ctor_get(v_v_5493_, 6); -v_value_5501_ = lean_ctor_get(v_v_5493_, 7); -v_termination_5502_ = lean_ctor_get(v_v_5493_, 8); -v_isSharedCheck_5519_ = !lean_is_exclusive(v_v_5493_); -if (v_isSharedCheck_5519_ == 0) -{ -lean_object* v_unused_5520_; -v_unused_5520_ = lean_ctor_get(v_v_5493_, 2); -lean_dec(v_unused_5520_); -v___x_5504_ = v_v_5493_; -v_isShared_5505_ = v_isSharedCheck_5519_; -goto v_resetjp_5503_; -} -else -{ -lean_inc(v_termination_5502_); -lean_inc(v_value_5501_); -lean_inc(v_type_5500_); -lean_inc(v_numSectionVars_5499_); -lean_inc(v_binders_5498_); -lean_inc(v_declName_5497_); -lean_inc(v_levelParams_5496_); -lean_inc(v_ref_5494_); -lean_dec(v_v_5493_); -v___x_5504_ = lean_box(0); -v_isShared_5505_ = v_isSharedCheck_5519_; -goto v_resetjp_5503_; -} -v_resetjp_5503_: -{ -lean_object* v___x_5506_; lean_object* v___f_5507_; lean_object* v_bs_x27_5508_; lean_object* v___x_5509_; lean_object* v___x_5510_; lean_object* v___x_5511_; lean_object* v___x_5513_; -v___x_5506_ = lean_unsigned_to_nat(0u); -lean_inc_ref(v_preDefs_5487_); -lean_inc(v___x_5488_); -v___f_5507_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___lam__0___boxed), 4, 3); -lean_closure_set(v___f_5507_, 0, v___x_5506_); -lean_closure_set(v___f_5507_, 1, v___x_5488_); -lean_closure_set(v___f_5507_, 2, v_preDefs_5487_); -v_bs_x27_5508_ = lean_array_uset(v_bs_5491_, v_i_5490_, v___x_5506_); -v___x_5509_ = l_Lean_Elab_instInhabitedModifiers_default; -v___x_5510_ = l_Lean_Compiler_mkUnsafeRecName(v_declName_5497_); -v___x_5511_ = lean_replace_expr(v___f_5507_, v_value_5501_); -lean_dec_ref(v_value_5501_); -lean_dec_ref(v___f_5507_); -if (v_isShared_5505_ == 0) -{ -lean_ctor_set(v___x_5504_, 7, v___x_5511_); -lean_ctor_set(v___x_5504_, 3, v___x_5510_); -lean_ctor_set(v___x_5504_, 2, v___x_5509_); -v___x_5513_ = v___x_5504_; -goto v_reusejp_5512_; -} -else -{ -lean_object* v_reuseFailAlloc_5518_; -v_reuseFailAlloc_5518_ = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(v_reuseFailAlloc_5518_, 0, v_ref_5494_); -lean_ctor_set(v_reuseFailAlloc_5518_, 1, v_levelParams_5496_); -lean_ctor_set(v_reuseFailAlloc_5518_, 2, v___x_5509_); -lean_ctor_set(v_reuseFailAlloc_5518_, 3, v___x_5510_); -lean_ctor_set(v_reuseFailAlloc_5518_, 4, v_binders_5498_); -lean_ctor_set(v_reuseFailAlloc_5518_, 5, v_numSectionVars_5499_); -lean_ctor_set(v_reuseFailAlloc_5518_, 6, v_type_5500_); -lean_ctor_set(v_reuseFailAlloc_5518_, 7, v___x_5511_); -lean_ctor_set(v_reuseFailAlloc_5518_, 8, v_termination_5502_); -lean_ctor_set_uint8(v_reuseFailAlloc_5518_, sizeof(void*)*9, v_kind_5495_); -v___x_5513_ = v_reuseFailAlloc_5518_; -goto v_reusejp_5512_; -} -v_reusejp_5512_: -{ -size_t v___x_5514_; size_t v___x_5515_; lean_object* v___x_5516_; -v___x_5514_ = ((size_t)1ULL); -v___x_5515_ = lean_usize_add(v_i_5490_, v___x_5514_); -v___x_5516_ = lean_array_uset(v_bs_x27_5508_, v_i_5490_, v___x_5513_); -v_i_5490_ = v___x_5515_; -v_bs_5491_ = v___x_5516_; +size_t v___x_5473_; size_t v___x_5474_; lean_object* v___x_5475_; +v___x_5473_ = ((size_t)1ULL); +v___x_5474_ = lean_usize_add(v_i_5449_, v___x_5473_); +v___x_5475_ = lean_array_uset(v_bs_x27_5467_, v_i_5449_, v___x_5472_); +v_i_5449_ = v___x_5474_; +v_bs_5450_ = v___x_5475_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___boxed(lean_object* v_preDefs_5521_, lean_object* v___x_5522_, lean_object* v_sz_5523_, lean_object* v_i_5524_, lean_object* v_bs_5525_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0___boxed(lean_object* v_preDefs_5480_, lean_object* v___x_5481_, lean_object* v_sz_5482_, lean_object* v_i_5483_, lean_object* v_bs_5484_){ _start: { -size_t v_sz_boxed_5526_; size_t v_i_boxed_5527_; lean_object* v_res_5528_; -v_sz_boxed_5526_ = lean_unbox_usize(v_sz_5523_); -lean_dec(v_sz_5523_); -v_i_boxed_5527_ = lean_unbox_usize(v_i_5524_); -lean_dec(v_i_5524_); -v_res_5528_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(v_preDefs_5521_, v___x_5522_, v_sz_boxed_5526_, v_i_boxed_5527_, v_bs_5525_); -return v_res_5528_; +size_t v_sz_boxed_5485_; size_t v_i_boxed_5486_; lean_object* v_res_5487_; +v_sz_boxed_5485_ = lean_unbox_usize(v_sz_5482_); +lean_dec(v_sz_5482_); +v_i_boxed_5486_ = lean_unbox_usize(v_i_5483_); +lean_dec(v_i_5483_); +v_res_5487_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(v_preDefs_5480_, v___x_5481_, v_sz_boxed_5485_, v_i_boxed_5486_, v_bs_5484_); +return v_res_5487_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object* v_docCtx_5529_, lean_object* v_preDefs_5530_, lean_object* v_a_5531_, lean_object* v_a_5532_, lean_object* v_a_5533_, lean_object* v_a_5534_, lean_object* v_a_5535_, lean_object* v_a_5536_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompilePartialRec(lean_object* v_docCtx_5488_, lean_object* v_preDefs_5489_, lean_object* v_a_5490_, lean_object* v_a_5491_, lean_object* v_a_5492_, lean_object* v_a_5493_, lean_object* v_a_5494_, lean_object* v_a_5495_){ _start: { -lean_object* v___x_5538_; lean_object* v___x_5539_; uint8_t v___x_5549_; -v___x_5538_ = lean_unsigned_to_nat(0u); -v___x_5539_ = lean_array_get_size(v_preDefs_5530_); -v___x_5549_ = lean_nat_dec_lt(v___x_5538_, v___x_5539_); -if (v___x_5549_ == 0) +lean_object* v___x_5497_; lean_object* v___x_5498_; uint8_t v___x_5508_; +v___x_5497_ = lean_unsigned_to_nat(0u); +v___x_5498_ = lean_array_get_size(v_preDefs_5489_); +v___x_5508_ = lean_nat_dec_lt(v___x_5497_, v___x_5498_); +if (v___x_5508_ == 0) { -goto v___jp_5540_; +goto v___jp_5499_; } else { -if (v___x_5549_ == 0) +if (v___x_5508_ == 0) { -goto v___jp_5540_; +goto v___jp_5499_; } else { -size_t v___x_5550_; size_t v___x_5551_; uint8_t v___x_5552_; -v___x_5550_ = ((size_t)0ULL); -v___x_5551_ = lean_usize_of_nat(v___x_5539_); -v___x_5552_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(v_preDefs_5530_, v___x_5550_, v___x_5551_); -if (v___x_5552_ == 0) +size_t v___x_5509_; size_t v___x_5510_; uint8_t v___x_5511_; +v___x_5509_ = ((size_t)0ULL); +v___x_5510_ = lean_usize_of_nat(v___x_5498_); +v___x_5511_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Elab_addAndCompilePartialRec_spec__2(v_preDefs_5489_, v___x_5509_, v___x_5510_); +if (v___x_5511_ == 0) { -goto v___jp_5540_; +goto v___jp_5499_; } else { -lean_object* v___x_5553_; lean_object* v___x_5554_; -lean_dec(v_a_5536_); -lean_dec_ref(v_a_5535_); -lean_dec(v_a_5534_); -lean_dec_ref(v_a_5533_); -lean_dec(v_a_5532_); -lean_dec_ref(v_a_5531_); -lean_dec_ref(v_preDefs_5530_); -lean_dec_ref(v_docCtx_5529_); -v___x_5553_ = lean_box(0); -v___x_5554_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5554_, 0, v___x_5553_); -return v___x_5554_; +lean_object* v___x_5512_; lean_object* v___x_5513_; +lean_dec(v_a_5495_); +lean_dec_ref(v_a_5494_); +lean_dec(v_a_5493_); +lean_dec_ref(v_a_5492_); +lean_dec(v_a_5491_); +lean_dec_ref(v_a_5490_); +lean_dec_ref(v_preDefs_5489_); +lean_dec_ref(v_docCtx_5488_); +v___x_5512_ = lean_box(0); +v___x_5513_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5513_, 0, v___x_5512_); +return v___x_5513_; } } } -v___jp_5540_: +v___jp_5499_: { -uint8_t v___x_5541_; size_t v_sz_5542_; size_t v___x_5543_; lean_object* v___x_5544_; uint8_t v___x_5545_; lean_object* v___x_5546_; lean_object* v___x_5547_; lean_object* v___x_5548_; -v___x_5541_ = 0; -v_sz_5542_ = lean_array_size(v_preDefs_5530_); -v___x_5543_ = ((size_t)0ULL); -lean_inc_ref(v_preDefs_5530_); -v___x_5544_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(v_preDefs_5530_, v___x_5539_, v_sz_5542_, v___x_5543_, v_preDefs_5530_); -v___x_5545_ = 2; -v___x_5546_ = lean_box(v___x_5545_); -v___x_5547_ = lean_alloc_closure((void*)(l_Lean_Elab_addAndCompileUnsafe___boxed), 10, 3); -lean_closure_set(v___x_5547_, 0, v_docCtx_5529_); -lean_closure_set(v___x_5547_, 1, v___x_5544_); -lean_closure_set(v___x_5547_, 2, v___x_5546_); -v___x_5548_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v___x_5541_, v___x_5547_, v_a_5531_, v_a_5532_, v_a_5533_, v_a_5534_, v_a_5535_, v_a_5536_); -return v___x_5548_; +uint8_t v___x_5500_; size_t v_sz_5501_; size_t v___x_5502_; lean_object* v___x_5503_; uint8_t v___x_5504_; lean_object* v___x_5505_; lean_object* v___x_5506_; lean_object* v___x_5507_; +v___x_5500_ = 0; +v_sz_5501_ = lean_array_size(v_preDefs_5489_); +v___x_5502_ = ((size_t)0ULL); +lean_inc_ref(v_preDefs_5489_); +v___x_5503_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_addAndCompilePartialRec_spec__0(v_preDefs_5489_, v___x_5498_, v_sz_5501_, v___x_5502_, v_preDefs_5489_); +v___x_5504_ = 2; +v___x_5505_ = lean_box(v___x_5504_); +v___x_5506_ = lean_alloc_closure((void*)(l_Lean_Elab_addAndCompileUnsafe___boxed), 10, 3); +lean_closure_set(v___x_5506_, 0, v_docCtx_5488_); +lean_closure_set(v___x_5506_, 1, v___x_5503_); +lean_closure_set(v___x_5506_, 2, v___x_5505_); +v___x_5507_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v___x_5500_, v___x_5506_, v_a_5490_, v_a_5491_, v_a_5492_, v_a_5493_, v_a_5494_, v_a_5495_); +return v___x_5507_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompilePartialRec___boxed(lean_object* v_docCtx_5555_, lean_object* v_preDefs_5556_, lean_object* v_a_5557_, lean_object* v_a_5558_, lean_object* v_a_5559_, lean_object* v_a_5560_, lean_object* v_a_5561_, lean_object* v_a_5562_, lean_object* v_a_5563_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addAndCompilePartialRec___boxed(lean_object* v_docCtx_5514_, lean_object* v_preDefs_5515_, lean_object* v_a_5516_, lean_object* v_a_5517_, lean_object* v_a_5518_, lean_object* v_a_5519_, lean_object* v_a_5520_, lean_object* v_a_5521_, lean_object* v_a_5522_){ _start: { -lean_object* v_res_5564_; -v_res_5564_ = l_Lean_Elab_addAndCompilePartialRec(v_docCtx_5555_, v_preDefs_5556_, v_a_5557_, v_a_5558_, v_a_5559_, v_a_5560_, v_a_5561_, v_a_5562_); -return v_res_5564_; +lean_object* v_res_5523_; +v_res_5523_ = l_Lean_Elab_addAndCompilePartialRec(v_docCtx_5514_, v_preDefs_5515_, v_a_5516_, v_a_5517_, v_a_5518_, v_a_5519_, v_a_5520_, v_a_5521_); +return v_res_5523_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1(uint8_t v_flag_5565_, lean_object* v___y_5566_, lean_object* v___y_5567_, lean_object* v___y_5568_, lean_object* v___y_5569_, lean_object* v___y_5570_, lean_object* v___y_5571_){ +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1(uint8_t v_flag_5524_, lean_object* v___y_5525_, lean_object* v___y_5526_, lean_object* v___y_5527_, lean_object* v___y_5528_, lean_object* v___y_5529_, lean_object* v___y_5530_){ _start: { -lean_object* v___x_5573_; -v___x_5573_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_5565_, v___y_5571_); -return v___x_5573_; +lean_object* v___x_5532_; +v___x_5532_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___redArg(v_flag_5524_, v___y_5530_); +return v___x_5532_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___boxed(lean_object* v_flag_5574_, lean_object* v___y_5575_, lean_object* v___y_5576_, lean_object* v___y_5577_, lean_object* v___y_5578_, lean_object* v___y_5579_, lean_object* v___y_5580_, lean_object* v___y_5581_){ +LEAN_EXPORT lean_object* l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1___boxed(lean_object* v_flag_5533_, lean_object* v___y_5534_, lean_object* v___y_5535_, lean_object* v___y_5536_, lean_object* v___y_5537_, lean_object* v___y_5538_, lean_object* v___y_5539_, lean_object* v___y_5540_){ _start: { -uint8_t v_flag_boxed_5582_; lean_object* v_res_5583_; -v_flag_boxed_5582_ = lean_unbox(v_flag_5574_); -v_res_5583_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1(v_flag_boxed_5582_, v___y_5575_, v___y_5576_, v___y_5577_, v___y_5578_, v___y_5579_, v___y_5580_); -lean_dec(v___y_5580_); -lean_dec_ref(v___y_5579_); -lean_dec(v___y_5578_); -lean_dec_ref(v___y_5577_); -lean_dec(v___y_5576_); -lean_dec_ref(v___y_5575_); -return v_res_5583_; +uint8_t v_flag_boxed_5541_; lean_object* v_res_5542_; +v_flag_boxed_5541_ = lean_unbox(v_flag_5533_); +v_res_5542_ = l_Lean_Elab_enableInfoTree___at___00Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1_spec__1(v_flag_boxed_5541_, v___y_5534_, v___y_5535_, v___y_5536_, v___y_5537_, v___y_5538_, v___y_5539_); +lean_dec(v___y_5539_); +lean_dec_ref(v___y_5538_); +lean_dec(v___y_5537_); +lean_dec_ref(v___y_5536_); +lean_dec(v___y_5535_); +lean_dec_ref(v___y_5534_); +return v_res_5542_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1(lean_object* v_00_u03b1_5584_, uint8_t v_flag_5585_, lean_object* v_x_5586_, lean_object* v___y_5587_, lean_object* v___y_5588_, lean_object* v___y_5589_, lean_object* v___y_5590_, lean_object* v___y_5591_, lean_object* v___y_5592_){ +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1(lean_object* v_00_u03b1_5543_, uint8_t v_flag_5544_, lean_object* v_x_5545_, lean_object* v___y_5546_, lean_object* v___y_5547_, lean_object* v___y_5548_, lean_object* v___y_5549_, lean_object* v___y_5550_, lean_object* v___y_5551_){ _start: { -lean_object* v___x_5594_; -v___x_5594_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v_flag_5585_, v_x_5586_, v___y_5587_, v___y_5588_, v___y_5589_, v___y_5590_, v___y_5591_, v___y_5592_); -return v___x_5594_; +lean_object* v___x_5553_; +v___x_5553_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___redArg(v_flag_5544_, v_x_5545_, v___y_5546_, v___y_5547_, v___y_5548_, v___y_5549_, v___y_5550_, v___y_5551_); +return v___x_5553_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___boxed(lean_object* v_00_u03b1_5595_, lean_object* v_flag_5596_, lean_object* v_x_5597_, lean_object* v___y_5598_, lean_object* v___y_5599_, lean_object* v___y_5600_, lean_object* v___y_5601_, lean_object* v___y_5602_, lean_object* v___y_5603_, lean_object* v___y_5604_){ +LEAN_EXPORT lean_object* l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1___boxed(lean_object* v_00_u03b1_5554_, lean_object* v_flag_5555_, lean_object* v_x_5556_, lean_object* v___y_5557_, lean_object* v___y_5558_, lean_object* v___y_5559_, lean_object* v___y_5560_, lean_object* v___y_5561_, lean_object* v___y_5562_, lean_object* v___y_5563_){ _start: { -uint8_t v_flag_boxed_5605_; lean_object* v_res_5606_; -v_flag_boxed_5605_ = lean_unbox(v_flag_5596_); -v_res_5606_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1(v_00_u03b1_5595_, v_flag_boxed_5605_, v_x_5597_, v___y_5598_, v___y_5599_, v___y_5600_, v___y_5601_, v___y_5602_, v___y_5603_); -return v_res_5606_; +uint8_t v_flag_boxed_5564_; lean_object* v_res_5565_; +v_flag_boxed_5564_ = lean_unbox(v_flag_5555_); +v_res_5565_ = l_Lean_Elab_withEnableInfoTree___at___00Lean_Elab_addAndCompilePartialRec_spec__1(v_00_u03b1_5554_, v_flag_boxed_5564_, v_x_5556_, v___y_5557_, v___y_5558_, v___y_5559_, v___y_5560_, v___y_5561_, v___y_5562_); +return v_res_5565_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(lean_object* v_a_5607_, lean_object* v_as_5608_, size_t v_i_5609_, size_t v_stop_5610_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(lean_object* v_a_5566_, lean_object* v_as_5567_, size_t v_i_5568_, size_t v_stop_5569_){ _start: { +uint8_t v___x_5570_; +v___x_5570_ = lean_usize_dec_eq(v_i_5568_, v_stop_5569_); +if (v___x_5570_ == 0) +{ +lean_object* v___x_5571_; uint8_t v___x_5572_; +v___x_5571_ = lean_array_uget_borrowed(v_as_5567_, v_i_5568_); +v___x_5572_ = lean_name_eq(v_a_5566_, v___x_5571_); +if (v___x_5572_ == 0) +{ +size_t v___x_5573_; size_t v___x_5574_; +v___x_5573_ = ((size_t)1ULL); +v___x_5574_ = lean_usize_add(v_i_5568_, v___x_5573_); +v_i_5568_ = v___x_5574_; +goto _start; +} +else +{ +return v___x_5572_; +} +} +else +{ +uint8_t v___x_5576_; +v___x_5576_ = 0; +return v___x_5576_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0___boxed(lean_object* v_a_5577_, lean_object* v_as_5578_, lean_object* v_i_5579_, lean_object* v_stop_5580_){ +_start: +{ +size_t v_i_boxed_5581_; size_t v_stop_boxed_5582_; uint8_t v_res_5583_; lean_object* v_r_5584_; +v_i_boxed_5581_ = lean_unbox_usize(v_i_5579_); +lean_dec(v_i_5579_); +v_stop_boxed_5582_ = lean_unbox_usize(v_stop_5580_); +lean_dec(v_stop_5580_); +v_res_5583_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(v_a_5577_, v_as_5578_, v_i_boxed_5581_, v_stop_boxed_5582_); +lean_dec_ref(v_as_5578_); +lean_dec(v_a_5577_); +v_r_5584_ = lean_box(v_res_5583_); +return v_r_5584_; +} +} +LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(lean_object* v_as_5585_, lean_object* v_a_5586_){ +_start: +{ +lean_object* v___x_5587_; lean_object* v___x_5588_; uint8_t v___x_5589_; +v___x_5587_ = lean_unsigned_to_nat(0u); +v___x_5588_ = lean_array_get_size(v_as_5585_); +v___x_5589_ = lean_nat_dec_lt(v___x_5587_, v___x_5588_); +if (v___x_5589_ == 0) +{ +return v___x_5589_; +} +else +{ +if (v___x_5589_ == 0) +{ +return v___x_5589_; +} +else +{ +size_t v___x_5590_; size_t v___x_5591_; uint8_t v___x_5592_; +v___x_5590_ = ((size_t)0ULL); +v___x_5591_ = lean_usize_of_nat(v___x_5588_); +v___x_5592_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(v_a_5586_, v_as_5585_, v___x_5590_, v___x_5591_); +return v___x_5592_; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0___boxed(lean_object* v_as_5593_, lean_object* v_a_5594_){ +_start: +{ +uint8_t v_res_5595_; lean_object* v_r_5596_; +v_res_5595_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_as_5593_, v_a_5594_); +lean_dec(v_a_5594_); +lean_dec_ref(v_as_5593_); +v_r_5596_ = lean_box(v_res_5595_); +return v_r_5596_; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0(lean_object* v_recFnNames_5597_, lean_object* v_e_5598_){ +_start: +{ +uint8_t v___x_5599_; +v___x_5599_ = l_Lean_Expr_isConst(v_e_5598_); +if (v___x_5599_ == 0) +{ +return v___x_5599_; +} +else +{ +lean_object* v___x_5600_; uint8_t v___x_5601_; +v___x_5600_ = l_Lean_Expr_constName_x21(v_e_5598_); +v___x_5601_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_recFnNames_5597_, v___x_5600_); +lean_dec(v___x_5600_); +return v___x_5601_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0___boxed(lean_object* v_recFnNames_5602_, lean_object* v_e_5603_){ +_start: +{ +uint8_t v_res_5604_; lean_object* v_r_5605_; +v_res_5604_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0(v_recFnNames_5602_, v_e_5603_); +lean_dec_ref(v_e_5603_); +lean_dec_ref(v_recFnNames_5602_); +v_r_5605_ = lean_box(v_res_5604_); +return v_r_5605_; +} +} +LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(lean_object* v_recFnNames_5606_, lean_object* v_e_5607_){ +_start: +{ +lean_object* v___f_5608_; lean_object* v___x_5609_; +v___f_5608_ = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0___boxed), 2, 1); +lean_closure_set(v___f_5608_, 0, v_recFnNames_5606_); +v___x_5609_ = lean_find_expr(v___f_5608_, v_e_5607_); +lean_dec_ref(v___f_5608_); +if (lean_obj_tag(v___x_5609_) == 0) +{ +uint8_t v___x_5610_; +v___x_5610_ = 0; +return v___x_5610_; +} +else +{ uint8_t v___x_5611_; -v___x_5611_ = lean_usize_dec_eq(v_i_5609_, v_stop_5610_); -if (v___x_5611_ == 0) +lean_dec_ref(v___x_5609_); +v___x_5611_ = 1; +return v___x_5611_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___boxed(lean_object* v_recFnNames_5612_, lean_object* v_e_5613_){ +_start: { -lean_object* v___x_5612_; uint8_t v___x_5613_; -v___x_5612_ = lean_array_uget_borrowed(v_as_5608_, v_i_5609_); -v___x_5613_ = lean_name_eq(v_a_5607_, v___x_5612_); -if (v___x_5613_ == 0) +uint8_t v_res_5614_; lean_object* v_r_5615_; +v_res_5614_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(v_recFnNames_5612_, v_e_5613_); +lean_dec_ref(v_e_5613_); +v_r_5615_ = lean_box(v_res_5614_); +return v_r_5615_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(lean_object* v_msg_5616_, lean_object* v___y_5617_, lean_object* v___y_5618_, lean_object* v___y_5619_, lean_object* v___y_5620_){ +_start: { -size_t v___x_5614_; size_t v___x_5615_; -v___x_5614_ = ((size_t)1ULL); -v___x_5615_ = lean_usize_add(v_i_5609_, v___x_5614_); -v_i_5609_ = v___x_5615_; -goto _start; +lean_object* v_ref_5622_; lean_object* v___x_5623_; lean_object* v_a_5624_; lean_object* v___x_5626_; uint8_t v_isShared_5627_; uint8_t v_isSharedCheck_5632_; +v_ref_5622_ = lean_ctor_get(v___y_5619_, 5); +v___x_5623_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__1(v_msg_5616_, v___y_5617_, v___y_5618_, v___y_5619_, v___y_5620_); +v_a_5624_ = lean_ctor_get(v___x_5623_, 0); +v_isSharedCheck_5632_ = !lean_is_exclusive(v___x_5623_); +if (v_isSharedCheck_5632_ == 0) +{ +v___x_5626_ = v___x_5623_; +v_isShared_5627_ = v_isSharedCheck_5632_; +goto v_resetjp_5625_; } else { -return v___x_5613_; +lean_inc(v_a_5624_); +lean_dec(v___x_5623_); +v___x_5626_ = lean_box(0); +v_isShared_5627_ = v_isSharedCheck_5632_; +goto v_resetjp_5625_; } +v_resetjp_5625_: +{ +lean_object* v___x_5628_; lean_object* v___x_5630_; +lean_inc(v_ref_5622_); +v___x_5628_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_5628_, 0, v_ref_5622_); +lean_ctor_set(v___x_5628_, 1, v_a_5624_); +if (v_isShared_5627_ == 0) +{ +lean_ctor_set_tag(v___x_5626_, 1); +lean_ctor_set(v___x_5626_, 0, v___x_5628_); +v___x_5630_ = v___x_5626_; +goto v_reusejp_5629_; } else { -uint8_t v___x_5617_; -v___x_5617_ = 0; -return v___x_5617_; +lean_object* v_reuseFailAlloc_5631_; +v_reuseFailAlloc_5631_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5631_, 0, v___x_5628_); +v___x_5630_ = v_reuseFailAlloc_5631_; +goto v_reusejp_5629_; } -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0___boxed(lean_object* v_a_5618_, lean_object* v_as_5619_, lean_object* v_i_5620_, lean_object* v_stop_5621_){ -_start: -{ -size_t v_i_boxed_5622_; size_t v_stop_boxed_5623_; uint8_t v_res_5624_; lean_object* v_r_5625_; -v_i_boxed_5622_ = lean_unbox_usize(v_i_5620_); -lean_dec(v_i_5620_); -v_stop_boxed_5623_ = lean_unbox_usize(v_stop_5621_); -lean_dec(v_stop_5621_); -v_res_5624_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(v_a_5618_, v_as_5619_, v_i_boxed_5622_, v_stop_boxed_5623_); -lean_dec_ref(v_as_5619_); -lean_dec(v_a_5618_); -v_r_5625_ = lean_box(v_res_5624_); -return v_r_5625_; -} -} -LEAN_EXPORT uint8_t l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(lean_object* v_as_5626_, lean_object* v_a_5627_){ -_start: -{ -lean_object* v___x_5628_; lean_object* v___x_5629_; uint8_t v___x_5630_; -v___x_5628_ = lean_unsigned_to_nat(0u); -v___x_5629_ = lean_array_get_size(v_as_5626_); -v___x_5630_ = lean_nat_dec_lt(v___x_5628_, v___x_5629_); -if (v___x_5630_ == 0) +v_reusejp_5629_: { return v___x_5630_; } -else -{ -if (v___x_5630_ == 0) -{ -return v___x_5630_; -} -else -{ -size_t v___x_5631_; size_t v___x_5632_; uint8_t v___x_5633_; -v___x_5631_ = ((size_t)0ULL); -v___x_5632_ = lean_usize_of_nat(v___x_5629_); -v___x_5633_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0_spec__0(v_a_5627_, v_as_5626_, v___x_5631_, v___x_5632_); -return v___x_5633_; } } } -} -LEAN_EXPORT lean_object* l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0___boxed(lean_object* v_as_5634_, lean_object* v_a_5635_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg___boxed(lean_object* v_msg_5633_, lean_object* v___y_5634_, lean_object* v___y_5635_, lean_object* v___y_5636_, lean_object* v___y_5637_, lean_object* v___y_5638_){ _start: { -uint8_t v_res_5636_; lean_object* v_r_5637_; -v_res_5636_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_as_5634_, v_a_5635_); -lean_dec(v_a_5635_); -lean_dec_ref(v_as_5634_); -v_r_5637_ = lean_box(v_res_5636_); -return v_r_5637_; -} -} -LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0(lean_object* v_recFnNames_5638_, lean_object* v_e_5639_){ -_start: -{ -uint8_t v___x_5640_; -v___x_5640_ = l_Lean_Expr_isConst(v_e_5639_); -if (v___x_5640_ == 0) -{ -return v___x_5640_; -} -else -{ -lean_object* v___x_5641_; uint8_t v___x_5642_; -v___x_5641_ = l_Lean_Expr_constName_x21(v_e_5639_); -v___x_5642_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_recFnNames_5638_, v___x_5641_); -lean_dec(v___x_5641_); -return v___x_5642_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0___boxed(lean_object* v_recFnNames_5643_, lean_object* v_e_5644_){ -_start: -{ -uint8_t v_res_5645_; lean_object* v_r_5646_; -v_res_5645_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0(v_recFnNames_5643_, v_e_5644_); -lean_dec_ref(v_e_5644_); -lean_dec_ref(v_recFnNames_5643_); -v_r_5646_ = lean_box(v_res_5645_); -return v_r_5646_; -} -} -LEAN_EXPORT uint8_t l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(lean_object* v_recFnNames_5647_, lean_object* v_e_5648_){ -_start: -{ -lean_object* v___f_5649_; lean_object* v___x_5650_; -v___f_5649_ = lean_alloc_closure((void*)(l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___lam__0___boxed), 2, 1); -lean_closure_set(v___f_5649_, 0, v_recFnNames_5647_); -v___x_5650_ = lean_find_expr(v___f_5649_, v_e_5648_); -lean_dec_ref(v___f_5649_); -if (lean_obj_tag(v___x_5650_) == 0) -{ -uint8_t v___x_5651_; -v___x_5651_ = 0; -return v___x_5651_; -} -else -{ -uint8_t v___x_5652_; -lean_dec_ref(v___x_5650_); -v___x_5652_ = 1; -return v___x_5652_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn___boxed(lean_object* v_recFnNames_5653_, lean_object* v_e_5654_){ -_start: -{ -uint8_t v_res_5655_; lean_object* v_r_5656_; -v_res_5655_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(v_recFnNames_5653_, v_e_5654_); -lean_dec_ref(v_e_5654_); -v_r_5656_ = lean_box(v_res_5655_); -return v_r_5656_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(lean_object* v_msg_5657_, lean_object* v___y_5658_, lean_object* v___y_5659_, lean_object* v___y_5660_, lean_object* v___y_5661_){ -_start: -{ -lean_object* v_ref_5663_; lean_object* v___x_5664_; lean_object* v_a_5665_; lean_object* v___x_5667_; uint8_t v_isShared_5668_; uint8_t v_isSharedCheck_5673_; -v_ref_5663_ = lean_ctor_get(v___y_5660_, 5); -v___x_5664_ = l_Lean_addMessageContextFull___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__1(v_msg_5657_, v___y_5658_, v___y_5659_, v___y_5660_, v___y_5661_); -v_a_5665_ = lean_ctor_get(v___x_5664_, 0); -v_isSharedCheck_5673_ = !lean_is_exclusive(v___x_5664_); -if (v_isSharedCheck_5673_ == 0) -{ -v___x_5667_ = v___x_5664_; -v_isShared_5668_ = v_isSharedCheck_5673_; -goto v_resetjp_5666_; -} -else -{ -lean_inc(v_a_5665_); -lean_dec(v___x_5664_); -v___x_5667_ = lean_box(0); -v_isShared_5668_ = v_isSharedCheck_5673_; -goto v_resetjp_5666_; -} -v_resetjp_5666_: -{ -lean_object* v___x_5669_; lean_object* v___x_5671_; -lean_inc(v_ref_5663_); -v___x_5669_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_5669_, 0, v_ref_5663_); -lean_ctor_set(v___x_5669_, 1, v_a_5665_); -if (v_isShared_5668_ == 0) -{ -lean_ctor_set_tag(v___x_5667_, 1); -lean_ctor_set(v___x_5667_, 0, v___x_5669_); -v___x_5671_ = v___x_5667_; -goto v_reusejp_5670_; -} -else -{ -lean_object* v_reuseFailAlloc_5672_; -v_reuseFailAlloc_5672_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5672_, 0, v___x_5669_); -v___x_5671_ = v_reuseFailAlloc_5672_; -goto v_reusejp_5670_; -} -v_reusejp_5670_: -{ -return v___x_5671_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg___boxed(lean_object* v_msg_5674_, lean_object* v___y_5675_, lean_object* v___y_5676_, lean_object* v___y_5677_, lean_object* v___y_5678_, lean_object* v___y_5679_){ -_start: -{ -lean_object* v_res_5680_; -v_res_5680_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v_msg_5674_, v___y_5675_, v___y_5676_, v___y_5677_, v___y_5678_); -lean_dec(v___y_5678_); -lean_dec_ref(v___y_5677_); -lean_dec(v___y_5676_); -lean_dec_ref(v___y_5675_); -return v_res_5680_; +lean_object* v_res_5639_; +v_res_5639_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v_msg_5633_, v___y_5634_, v___y_5635_, v___y_5636_, v___y_5637_); +lean_dec(v___y_5637_); +lean_dec_ref(v___y_5636_); +lean_dec(v___y_5635_); +lean_dec_ref(v___y_5634_); +return v_res_5639_; } } static lean_object* _init_l_Lean_Elab_ensureNoRecFn___lam__0___closed__1(void){ _start: { -lean_object* v___x_5682_; lean_object* v___x_5683_; -v___x_5682_ = ((lean_object*)(l_Lean_Elab_ensureNoRecFn___lam__0___closed__0)); -v___x_5683_ = l_Lean_stringToMessageData(v___x_5682_); -return v___x_5683_; +lean_object* v___x_5641_; lean_object* v___x_5642_; +v___x_5641_ = ((lean_object*)(l_Lean_Elab_ensureNoRecFn___lam__0___closed__0)); +v___x_5642_ = l_Lean_stringToMessageData(v___x_5641_); +return v___x_5642_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___lam__0(lean_object* v_recFnNames_5684_, lean_object* v_e_5685_, lean_object* v___y_5686_, lean_object* v___y_5687_, lean_object* v___y_5688_, lean_object* v___y_5689_){ +LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___lam__0(lean_object* v_recFnNames_5643_, lean_object* v_e_5644_, lean_object* v___y_5645_, lean_object* v___y_5646_, lean_object* v___y_5647_, lean_object* v___y_5648_){ _start: { -uint8_t v___y_5692_; lean_object* v___x_5699_; uint8_t v___x_5700_; -v___x_5699_ = l_Lean_Expr_getAppFn(v_e_5685_); -v___x_5700_ = l_Lean_Expr_isConst(v___x_5699_); -if (v___x_5700_ == 0) +uint8_t v___y_5651_; lean_object* v___x_5658_; uint8_t v___x_5659_; +v___x_5658_ = l_Lean_Expr_getAppFn(v_e_5644_); +v___x_5659_ = l_Lean_Expr_isConst(v___x_5658_); +if (v___x_5659_ == 0) { -lean_dec_ref(v___x_5699_); -v___y_5692_ = v___x_5700_; -goto v___jp_5691_; +lean_dec_ref(v___x_5658_); +v___y_5651_ = v___x_5659_; +goto v___jp_5650_; } else { -lean_object* v___x_5701_; uint8_t v___x_5702_; -v___x_5701_ = l_Lean_Expr_constName_x21(v___x_5699_); -lean_dec_ref(v___x_5699_); -v___x_5702_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_recFnNames_5684_, v___x_5701_); -lean_dec(v___x_5701_); -v___y_5692_ = v___x_5702_; -goto v___jp_5691_; +lean_object* v___x_5660_; uint8_t v___x_5661_; +v___x_5660_ = l_Lean_Expr_constName_x21(v___x_5658_); +lean_dec_ref(v___x_5658_); +v___x_5661_ = l_Array_contains___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn_spec__0(v_recFnNames_5643_, v___x_5660_); +lean_dec(v___x_5660_); +v___y_5651_ = v___x_5661_; +goto v___jp_5650_; } -v___jp_5691_: +v___jp_5650_: { -if (v___y_5692_ == 0) +if (v___y_5651_ == 0) { -lean_object* v___x_5693_; lean_object* v___x_5694_; -lean_dec_ref(v_e_5685_); -v___x_5693_ = lean_box(0); -v___x_5694_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5694_, 0, v___x_5693_); -return v___x_5694_; +lean_object* v___x_5652_; lean_object* v___x_5653_; +lean_dec_ref(v_e_5644_); +v___x_5652_ = lean_box(0); +v___x_5653_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5653_, 0, v___x_5652_); +return v___x_5653_; } else { -lean_object* v___x_5695_; lean_object* v___x_5696_; lean_object* v___x_5697_; lean_object* v___x_5698_; -v___x_5695_ = lean_obj_once(&l_Lean_Elab_ensureNoRecFn___lam__0___closed__1, &l_Lean_Elab_ensureNoRecFn___lam__0___closed__1_once, _init_l_Lean_Elab_ensureNoRecFn___lam__0___closed__1); -v___x_5696_ = l_Lean_indentExpr(v_e_5685_); -v___x_5697_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5697_, 0, v___x_5695_); -lean_ctor_set(v___x_5697_, 1, v___x_5696_); -v___x_5698_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v___x_5697_, v___y_5686_, v___y_5687_, v___y_5688_, v___y_5689_); -return v___x_5698_; +lean_object* v___x_5654_; lean_object* v___x_5655_; lean_object* v___x_5656_; lean_object* v___x_5657_; +v___x_5654_ = lean_obj_once(&l_Lean_Elab_ensureNoRecFn___lam__0___closed__1, &l_Lean_Elab_ensureNoRecFn___lam__0___closed__1_once, _init_l_Lean_Elab_ensureNoRecFn___lam__0___closed__1); +v___x_5655_ = l_Lean_indentExpr(v_e_5644_); +v___x_5656_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5656_, 0, v___x_5654_); +lean_ctor_set(v___x_5656_, 1, v___x_5655_); +v___x_5657_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v___x_5656_, v___y_5645_, v___y_5646_, v___y_5647_, v___y_5648_); +return v___x_5657_; } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___lam__0___boxed(lean_object* v_recFnNames_5703_, lean_object* v_e_5704_, lean_object* v___y_5705_, lean_object* v___y_5706_, lean_object* v___y_5707_, lean_object* v___y_5708_, lean_object* v___y_5709_){ +LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___lam__0___boxed(lean_object* v_recFnNames_5662_, lean_object* v_e_5663_, lean_object* v___y_5664_, lean_object* v___y_5665_, lean_object* v___y_5666_, lean_object* v___y_5667_, lean_object* v___y_5668_){ _start: { -lean_object* v_res_5710_; -v_res_5710_ = l_Lean_Elab_ensureNoRecFn___lam__0(v_recFnNames_5703_, v_e_5704_, v___y_5705_, v___y_5706_, v___y_5707_, v___y_5708_); -lean_dec(v___y_5708_); -lean_dec_ref(v___y_5707_); -lean_dec(v___y_5706_); -lean_dec_ref(v___y_5705_); -lean_dec_ref(v_recFnNames_5703_); -return v_res_5710_; +lean_object* v_res_5669_; +v_res_5669_ = l_Lean_Elab_ensureNoRecFn___lam__0(v_recFnNames_5662_, v_e_5663_, v___y_5664_, v___y_5665_, v___y_5666_, v___y_5667_); +lean_dec(v___y_5667_); +lean_dec_ref(v___y_5666_); +lean_dec(v___y_5665_); +lean_dec_ref(v___y_5664_); +lean_dec_ref(v_recFnNames_5662_); +return v_res_5669_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(lean_object* v_a_5711_, lean_object* v_b_5712_, lean_object* v_x_5713_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(lean_object* v_a_5670_, lean_object* v_b_5671_, lean_object* v_x_5672_){ _start: { -if (lean_obj_tag(v_x_5713_) == 0) +if (lean_obj_tag(v_x_5672_) == 0) { -lean_dec(v_b_5712_); -lean_dec_ref(v_a_5711_); -return v_x_5713_; +lean_dec(v_b_5671_); +lean_dec_ref(v_a_5670_); +return v_x_5672_; } else { -lean_object* v_key_5714_; lean_object* v_value_5715_; lean_object* v_tail_5716_; lean_object* v___x_5718_; uint8_t v_isShared_5719_; uint8_t v_isSharedCheck_5728_; -v_key_5714_ = lean_ctor_get(v_x_5713_, 0); -v_value_5715_ = lean_ctor_get(v_x_5713_, 1); -v_tail_5716_ = lean_ctor_get(v_x_5713_, 2); -v_isSharedCheck_5728_ = !lean_is_exclusive(v_x_5713_); -if (v_isSharedCheck_5728_ == 0) +lean_object* v_key_5673_; lean_object* v_value_5674_; lean_object* v_tail_5675_; lean_object* v___x_5677_; uint8_t v_isShared_5678_; uint8_t v_isSharedCheck_5687_; +v_key_5673_ = lean_ctor_get(v_x_5672_, 0); +v_value_5674_ = lean_ctor_get(v_x_5672_, 1); +v_tail_5675_ = lean_ctor_get(v_x_5672_, 2); +v_isSharedCheck_5687_ = !lean_is_exclusive(v_x_5672_); +if (v_isSharedCheck_5687_ == 0) { -v___x_5718_ = v_x_5713_; -v_isShared_5719_ = v_isSharedCheck_5728_; -goto v_resetjp_5717_; +v___x_5677_ = v_x_5672_; +v_isShared_5678_ = v_isSharedCheck_5687_; +goto v_resetjp_5676_; } else { -lean_inc(v_tail_5716_); -lean_inc(v_value_5715_); -lean_inc(v_key_5714_); -lean_dec(v_x_5713_); -v___x_5718_ = lean_box(0); -v_isShared_5719_ = v_isSharedCheck_5728_; -goto v_resetjp_5717_; +lean_inc(v_tail_5675_); +lean_inc(v_value_5674_); +lean_inc(v_key_5673_); +lean_dec(v_x_5672_); +v___x_5677_ = lean_box(0); +v_isShared_5678_ = v_isSharedCheck_5687_; +goto v_resetjp_5676_; } -v_resetjp_5717_: +v_resetjp_5676_: { -uint8_t v___x_5720_; -v___x_5720_ = lean_expr_eqv(v_key_5714_, v_a_5711_); +uint8_t v___x_5679_; +v___x_5679_ = lean_expr_eqv(v_key_5673_, v_a_5670_); +if (v___x_5679_ == 0) +{ +lean_object* v___x_5680_; lean_object* v___x_5682_; +v___x_5680_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_5670_, v_b_5671_, v_tail_5675_); +if (v_isShared_5678_ == 0) +{ +lean_ctor_set(v___x_5677_, 2, v___x_5680_); +v___x_5682_ = v___x_5677_; +goto v_reusejp_5681_; +} +else +{ +lean_object* v_reuseFailAlloc_5683_; +v_reuseFailAlloc_5683_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_5683_, 0, v_key_5673_); +lean_ctor_set(v_reuseFailAlloc_5683_, 1, v_value_5674_); +lean_ctor_set(v_reuseFailAlloc_5683_, 2, v___x_5680_); +v___x_5682_ = v_reuseFailAlloc_5683_; +goto v_reusejp_5681_; +} +v_reusejp_5681_: +{ +return v___x_5682_; +} +} +else +{ +lean_object* v___x_5685_; +lean_dec(v_value_5674_); +lean_dec(v_key_5673_); +if (v_isShared_5678_ == 0) +{ +lean_ctor_set(v___x_5677_, 1, v_b_5671_); +lean_ctor_set(v___x_5677_, 0, v_a_5670_); +v___x_5685_ = v___x_5677_; +goto v_reusejp_5684_; +} +else +{ +lean_object* v_reuseFailAlloc_5686_; +v_reuseFailAlloc_5686_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_5686_, 0, v_a_5670_); +lean_ctor_set(v_reuseFailAlloc_5686_, 1, v_b_5671_); +lean_ctor_set(v_reuseFailAlloc_5686_, 2, v_tail_5675_); +v___x_5685_ = v_reuseFailAlloc_5686_; +goto v_reusejp_5684_; +} +v_reusejp_5684_: +{ +return v___x_5685_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(lean_object* v_x_5688_, lean_object* v_x_5689_){ +_start: +{ +if (lean_obj_tag(v_x_5689_) == 0) +{ +return v_x_5688_; +} +else +{ +lean_object* v_key_5690_; lean_object* v_value_5691_; lean_object* v_tail_5692_; lean_object* v___x_5694_; uint8_t v_isShared_5695_; uint8_t v_isSharedCheck_5715_; +v_key_5690_ = lean_ctor_get(v_x_5689_, 0); +v_value_5691_ = lean_ctor_get(v_x_5689_, 1); +v_tail_5692_ = lean_ctor_get(v_x_5689_, 2); +v_isSharedCheck_5715_ = !lean_is_exclusive(v_x_5689_); +if (v_isSharedCheck_5715_ == 0) +{ +v___x_5694_ = v_x_5689_; +v_isShared_5695_ = v_isSharedCheck_5715_; +goto v_resetjp_5693_; +} +else +{ +lean_inc(v_tail_5692_); +lean_inc(v_value_5691_); +lean_inc(v_key_5690_); +lean_dec(v_x_5689_); +v___x_5694_ = lean_box(0); +v_isShared_5695_ = v_isSharedCheck_5715_; +goto v_resetjp_5693_; +} +v_resetjp_5693_: +{ +lean_object* v___x_5696_; uint64_t v___x_5697_; uint64_t v___x_5698_; uint64_t v___x_5699_; uint64_t v_fold_5700_; uint64_t v___x_5701_; uint64_t v___x_5702_; uint64_t v___x_5703_; size_t v___x_5704_; size_t v___x_5705_; size_t v___x_5706_; size_t v___x_5707_; size_t v___x_5708_; lean_object* v___x_5709_; lean_object* v___x_5711_; +v___x_5696_ = lean_array_get_size(v_x_5688_); +v___x_5697_ = l_Lean_Expr_hash(v_key_5690_); +v___x_5698_ = 32ULL; +v___x_5699_ = lean_uint64_shift_right(v___x_5697_, v___x_5698_); +v_fold_5700_ = lean_uint64_xor(v___x_5697_, v___x_5699_); +v___x_5701_ = 16ULL; +v___x_5702_ = lean_uint64_shift_right(v_fold_5700_, v___x_5701_); +v___x_5703_ = lean_uint64_xor(v_fold_5700_, v___x_5702_); +v___x_5704_ = lean_uint64_to_usize(v___x_5703_); +v___x_5705_ = lean_usize_of_nat(v___x_5696_); +v___x_5706_ = ((size_t)1ULL); +v___x_5707_ = lean_usize_sub(v___x_5705_, v___x_5706_); +v___x_5708_ = lean_usize_land(v___x_5704_, v___x_5707_); +v___x_5709_ = lean_array_uget_borrowed(v_x_5688_, v___x_5708_); +lean_inc(v___x_5709_); +if (v_isShared_5695_ == 0) +{ +lean_ctor_set(v___x_5694_, 2, v___x_5709_); +v___x_5711_ = v___x_5694_; +goto v_reusejp_5710_; +} +else +{ +lean_object* v_reuseFailAlloc_5714_; +v_reuseFailAlloc_5714_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_5714_, 0, v_key_5690_); +lean_ctor_set(v_reuseFailAlloc_5714_, 1, v_value_5691_); +lean_ctor_set(v_reuseFailAlloc_5714_, 2, v___x_5709_); +v___x_5711_ = v_reuseFailAlloc_5714_; +goto v_reusejp_5710_; +} +v_reusejp_5710_: +{ +lean_object* v___x_5712_; +v___x_5712_ = lean_array_uset(v_x_5688_, v___x_5708_, v___x_5711_); +v_x_5688_ = v___x_5712_; +v_x_5689_ = v_tail_5692_; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(lean_object* v_i_5716_, lean_object* v_source_5717_, lean_object* v_target_5718_){ +_start: +{ +lean_object* v___x_5719_; uint8_t v___x_5720_; +v___x_5719_ = lean_array_get_size(v_source_5717_); +v___x_5720_ = lean_nat_dec_lt(v_i_5716_, v___x_5719_); if (v___x_5720_ == 0) { -lean_object* v___x_5721_; lean_object* v___x_5723_; -v___x_5721_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_5711_, v_b_5712_, v_tail_5716_); -if (v_isShared_5719_ == 0) -{ -lean_ctor_set(v___x_5718_, 2, v___x_5721_); -v___x_5723_ = v___x_5718_; -goto v_reusejp_5722_; +lean_dec_ref(v_source_5717_); +lean_dec(v_i_5716_); +return v_target_5718_; } else { -lean_object* v_reuseFailAlloc_5724_; -v_reuseFailAlloc_5724_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_5724_, 0, v_key_5714_); -lean_ctor_set(v_reuseFailAlloc_5724_, 1, v_value_5715_); -lean_ctor_set(v_reuseFailAlloc_5724_, 2, v___x_5721_); -v___x_5723_ = v_reuseFailAlloc_5724_; -goto v_reusejp_5722_; -} -v_reusejp_5722_: -{ -return v___x_5723_; -} -} -else -{ -lean_object* v___x_5726_; -lean_dec(v_value_5715_); -lean_dec(v_key_5714_); -if (v_isShared_5719_ == 0) -{ -lean_ctor_set(v___x_5718_, 1, v_b_5712_); -lean_ctor_set(v___x_5718_, 0, v_a_5711_); -v___x_5726_ = v___x_5718_; -goto v_reusejp_5725_; -} -else -{ -lean_object* v_reuseFailAlloc_5727_; -v_reuseFailAlloc_5727_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_5727_, 0, v_a_5711_); -lean_ctor_set(v_reuseFailAlloc_5727_, 1, v_b_5712_); -lean_ctor_set(v_reuseFailAlloc_5727_, 2, v_tail_5716_); -v___x_5726_ = v_reuseFailAlloc_5727_; -goto v_reusejp_5725_; -} -v_reusejp_5725_: -{ -return v___x_5726_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(lean_object* v_x_5729_, lean_object* v_x_5730_){ -_start: -{ -if (lean_obj_tag(v_x_5730_) == 0) -{ -return v_x_5729_; -} -else -{ -lean_object* v_key_5731_; lean_object* v_value_5732_; lean_object* v_tail_5733_; lean_object* v___x_5735_; uint8_t v_isShared_5736_; uint8_t v_isSharedCheck_5756_; -v_key_5731_ = lean_ctor_get(v_x_5730_, 0); -v_value_5732_ = lean_ctor_get(v_x_5730_, 1); -v_tail_5733_ = lean_ctor_get(v_x_5730_, 2); -v_isSharedCheck_5756_ = !lean_is_exclusive(v_x_5730_); -if (v_isSharedCheck_5756_ == 0) -{ -v___x_5735_ = v_x_5730_; -v_isShared_5736_ = v_isSharedCheck_5756_; -goto v_resetjp_5734_; -} -else -{ -lean_inc(v_tail_5733_); -lean_inc(v_value_5732_); -lean_inc(v_key_5731_); -lean_dec(v_x_5730_); -v___x_5735_ = lean_box(0); -v_isShared_5736_ = v_isSharedCheck_5756_; -goto v_resetjp_5734_; -} -v_resetjp_5734_: -{ -lean_object* v___x_5737_; uint64_t v___x_5738_; uint64_t v___x_5739_; uint64_t v___x_5740_; uint64_t v_fold_5741_; uint64_t v___x_5742_; uint64_t v___x_5743_; uint64_t v___x_5744_; size_t v___x_5745_; size_t v___x_5746_; size_t v___x_5747_; size_t v___x_5748_; size_t v___x_5749_; lean_object* v___x_5750_; lean_object* v___x_5752_; -v___x_5737_ = lean_array_get_size(v_x_5729_); -v___x_5738_ = l_Lean_Expr_hash(v_key_5731_); -v___x_5739_ = 32ULL; -v___x_5740_ = lean_uint64_shift_right(v___x_5738_, v___x_5739_); -v_fold_5741_ = lean_uint64_xor(v___x_5738_, v___x_5740_); -v___x_5742_ = 16ULL; -v___x_5743_ = lean_uint64_shift_right(v_fold_5741_, v___x_5742_); -v___x_5744_ = lean_uint64_xor(v_fold_5741_, v___x_5743_); -v___x_5745_ = lean_uint64_to_usize(v___x_5744_); -v___x_5746_ = lean_usize_of_nat(v___x_5737_); -v___x_5747_ = ((size_t)1ULL); -v___x_5748_ = lean_usize_sub(v___x_5746_, v___x_5747_); -v___x_5749_ = lean_usize_land(v___x_5745_, v___x_5748_); -v___x_5750_ = lean_array_uget_borrowed(v_x_5729_, v___x_5749_); -lean_inc(v___x_5750_); -if (v_isShared_5736_ == 0) -{ -lean_ctor_set(v___x_5735_, 2, v___x_5750_); -v___x_5752_ = v___x_5735_; -goto v_reusejp_5751_; -} -else -{ -lean_object* v_reuseFailAlloc_5755_; -v_reuseFailAlloc_5755_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_5755_, 0, v_key_5731_); -lean_ctor_set(v_reuseFailAlloc_5755_, 1, v_value_5732_); -lean_ctor_set(v_reuseFailAlloc_5755_, 2, v___x_5750_); -v___x_5752_ = v_reuseFailAlloc_5755_; -goto v_reusejp_5751_; -} -v_reusejp_5751_: -{ -lean_object* v___x_5753_; -v___x_5753_ = lean_array_uset(v_x_5729_, v___x_5749_, v___x_5752_); -v_x_5729_ = v___x_5753_; -v_x_5730_ = v_tail_5733_; +lean_object* v_es_5721_; lean_object* v___x_5722_; lean_object* v_source_5723_; lean_object* v_target_5724_; lean_object* v___x_5725_; lean_object* v___x_5726_; +v_es_5721_ = lean_array_fget(v_source_5717_, v_i_5716_); +v___x_5722_ = lean_box(0); +v_source_5723_ = lean_array_fset(v_source_5717_, v_i_5716_, v___x_5722_); +v_target_5724_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(v_target_5718_, v_es_5721_); +v___x_5725_ = lean_unsigned_to_nat(1u); +v___x_5726_ = lean_nat_add(v_i_5716_, v___x_5725_); +lean_dec(v_i_5716_); +v_i_5716_ = v___x_5726_; +v_source_5717_ = v_source_5723_; +v_target_5718_ = v_target_5724_; goto _start; } } } -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(lean_object* v_i_5757_, lean_object* v_source_5758_, lean_object* v_target_5759_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(lean_object* v_data_5728_){ _start: { -lean_object* v___x_5760_; uint8_t v___x_5761_; -v___x_5760_ = lean_array_get_size(v_source_5758_); -v___x_5761_ = lean_nat_dec_lt(v_i_5757_, v___x_5760_); -if (v___x_5761_ == 0) +lean_object* v___x_5729_; lean_object* v___x_5730_; lean_object* v_nbuckets_5731_; lean_object* v___x_5732_; lean_object* v___x_5733_; lean_object* v___x_5734_; lean_object* v___x_5735_; +v___x_5729_ = lean_array_get_size(v_data_5728_); +v___x_5730_ = lean_unsigned_to_nat(2u); +v_nbuckets_5731_ = lean_nat_mul(v___x_5729_, v___x_5730_); +v___x_5732_ = lean_unsigned_to_nat(0u); +v___x_5733_ = lean_box(0); +v___x_5734_ = lean_mk_array(v_nbuckets_5731_, v___x_5733_); +v___x_5735_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(v___x_5732_, v_data_5728_, v___x_5734_); +return v___x_5735_; +} +} +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(lean_object* v_a_5736_, lean_object* v_x_5737_){ +_start: { -lean_dec_ref(v_source_5758_); -lean_dec(v_i_5757_); -return v_target_5759_; +if (lean_obj_tag(v_x_5737_) == 0) +{ +uint8_t v___x_5738_; +v___x_5738_ = 0; +return v___x_5738_; } else { -lean_object* v_es_5762_; lean_object* v___x_5763_; lean_object* v_source_5764_; lean_object* v_target_5765_; lean_object* v___x_5766_; lean_object* v___x_5767_; -v_es_5762_ = lean_array_fget(v_source_5758_, v_i_5757_); -v___x_5763_ = lean_box(0); -v_source_5764_ = lean_array_fset(v_source_5758_, v_i_5757_, v___x_5763_); -v_target_5765_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(v_target_5759_, v_es_5762_); -v___x_5766_ = lean_unsigned_to_nat(1u); -v___x_5767_ = lean_nat_add(v_i_5757_, v___x_5766_); -lean_dec(v_i_5757_); -v_i_5757_ = v___x_5767_; -v_source_5758_ = v_source_5764_; -v_target_5759_ = v_target_5765_; -goto _start; -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(lean_object* v_data_5769_){ -_start: +lean_object* v_key_5739_; lean_object* v_tail_5740_; uint8_t v___x_5741_; +v_key_5739_ = lean_ctor_get(v_x_5737_, 0); +v_tail_5740_ = lean_ctor_get(v_x_5737_, 2); +v___x_5741_ = lean_expr_eqv(v_key_5739_, v_a_5736_); +if (v___x_5741_ == 0) { -lean_object* v___x_5770_; lean_object* v___x_5771_; lean_object* v_nbuckets_5772_; lean_object* v___x_5773_; lean_object* v___x_5774_; lean_object* v___x_5775_; lean_object* v___x_5776_; -v___x_5770_ = lean_array_get_size(v_data_5769_); -v___x_5771_ = lean_unsigned_to_nat(2u); -v_nbuckets_5772_ = lean_nat_mul(v___x_5770_, v___x_5771_); -v___x_5773_ = lean_unsigned_to_nat(0u); -v___x_5774_ = lean_box(0); -v___x_5775_ = lean_mk_array(v_nbuckets_5772_, v___x_5774_); -v___x_5776_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(v___x_5773_, v_data_5769_, v___x_5775_); -return v___x_5776_; -} -} -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(lean_object* v_a_5777_, lean_object* v_x_5778_){ -_start: -{ -if (lean_obj_tag(v_x_5778_) == 0) -{ -uint8_t v___x_5779_; -v___x_5779_ = 0; -return v___x_5779_; -} -else -{ -lean_object* v_key_5780_; lean_object* v_tail_5781_; uint8_t v___x_5782_; -v_key_5780_ = lean_ctor_get(v_x_5778_, 0); -v_tail_5781_ = lean_ctor_get(v_x_5778_, 2); -v___x_5782_ = lean_expr_eqv(v_key_5780_, v_a_5777_); -if (v___x_5782_ == 0) -{ -v_x_5778_ = v_tail_5781_; +v_x_5737_ = v_tail_5740_; goto _start; } else { +return v___x_5741_; +} +} +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg___boxed(lean_object* v_a_5743_, lean_object* v_x_5744_){ +_start: +{ +uint8_t v_res_5745_; lean_object* v_r_5746_; +v_res_5745_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_5743_, v_x_5744_); +lean_dec(v_x_5744_); +lean_dec_ref(v_a_5743_); +v_r_5746_ = lean_box(v_res_5745_); +return v_r_5746_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(lean_object* v_m_5747_, lean_object* v_a_5748_, lean_object* v_b_5749_){ +_start: +{ +lean_object* v_size_5750_; lean_object* v_buckets_5751_; lean_object* v___x_5753_; uint8_t v_isShared_5754_; uint8_t v_isSharedCheck_5794_; +v_size_5750_ = lean_ctor_get(v_m_5747_, 0); +v_buckets_5751_ = lean_ctor_get(v_m_5747_, 1); +v_isSharedCheck_5794_ = !lean_is_exclusive(v_m_5747_); +if (v_isSharedCheck_5794_ == 0) +{ +v___x_5753_ = v_m_5747_; +v_isShared_5754_ = v_isSharedCheck_5794_; +goto v_resetjp_5752_; +} +else +{ +lean_inc(v_buckets_5751_); +lean_inc(v_size_5750_); +lean_dec(v_m_5747_); +v___x_5753_ = lean_box(0); +v_isShared_5754_ = v_isSharedCheck_5794_; +goto v_resetjp_5752_; +} +v_resetjp_5752_: +{ +lean_object* v___x_5755_; uint64_t v___x_5756_; uint64_t v___x_5757_; uint64_t v___x_5758_; uint64_t v_fold_5759_; uint64_t v___x_5760_; uint64_t v___x_5761_; uint64_t v___x_5762_; size_t v___x_5763_; size_t v___x_5764_; size_t v___x_5765_; size_t v___x_5766_; size_t v___x_5767_; lean_object* v_bkt_5768_; uint8_t v___x_5769_; +v___x_5755_ = lean_array_get_size(v_buckets_5751_); +v___x_5756_ = l_Lean_Expr_hash(v_a_5748_); +v___x_5757_ = 32ULL; +v___x_5758_ = lean_uint64_shift_right(v___x_5756_, v___x_5757_); +v_fold_5759_ = lean_uint64_xor(v___x_5756_, v___x_5758_); +v___x_5760_ = 16ULL; +v___x_5761_ = lean_uint64_shift_right(v_fold_5759_, v___x_5760_); +v___x_5762_ = lean_uint64_xor(v_fold_5759_, v___x_5761_); +v___x_5763_ = lean_uint64_to_usize(v___x_5762_); +v___x_5764_ = lean_usize_of_nat(v___x_5755_); +v___x_5765_ = ((size_t)1ULL); +v___x_5766_ = lean_usize_sub(v___x_5764_, v___x_5765_); +v___x_5767_ = lean_usize_land(v___x_5763_, v___x_5766_); +v_bkt_5768_ = lean_array_uget_borrowed(v_buckets_5751_, v___x_5767_); +v___x_5769_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_5748_, v_bkt_5768_); +if (v___x_5769_ == 0) +{ +lean_object* v___x_5770_; lean_object* v_size_x27_5771_; lean_object* v___x_5772_; lean_object* v_buckets_x27_5773_; lean_object* v___x_5774_; lean_object* v___x_5775_; lean_object* v___x_5776_; lean_object* v___x_5777_; lean_object* v___x_5778_; uint8_t v___x_5779_; +v___x_5770_ = lean_unsigned_to_nat(1u); +v_size_x27_5771_ = lean_nat_add(v_size_5750_, v___x_5770_); +lean_dec(v_size_5750_); +lean_inc(v_bkt_5768_); +v___x_5772_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_5772_, 0, v_a_5748_); +lean_ctor_set(v___x_5772_, 1, v_b_5749_); +lean_ctor_set(v___x_5772_, 2, v_bkt_5768_); +v_buckets_x27_5773_ = lean_array_uset(v_buckets_5751_, v___x_5767_, v___x_5772_); +v___x_5774_ = lean_unsigned_to_nat(4u); +v___x_5775_ = lean_nat_mul(v_size_x27_5771_, v___x_5774_); +v___x_5776_ = lean_unsigned_to_nat(3u); +v___x_5777_ = lean_nat_div(v___x_5775_, v___x_5776_); +lean_dec(v___x_5775_); +v___x_5778_ = lean_array_get_size(v_buckets_x27_5773_); +v___x_5779_ = lean_nat_dec_le(v___x_5777_, v___x_5778_); +lean_dec(v___x_5777_); +if (v___x_5779_ == 0) +{ +lean_object* v_val_5780_; lean_object* v___x_5782_; +v_val_5780_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(v_buckets_x27_5773_); +if (v_isShared_5754_ == 0) +{ +lean_ctor_set(v___x_5753_, 1, v_val_5780_); +lean_ctor_set(v___x_5753_, 0, v_size_x27_5771_); +v___x_5782_ = v___x_5753_; +goto v_reusejp_5781_; +} +else +{ +lean_object* v_reuseFailAlloc_5783_; +v_reuseFailAlloc_5783_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5783_, 0, v_size_x27_5771_); +lean_ctor_set(v_reuseFailAlloc_5783_, 1, v_val_5780_); +v___x_5782_ = v_reuseFailAlloc_5783_; +goto v_reusejp_5781_; +} +v_reusejp_5781_: +{ return v___x_5782_; } } +else +{ +lean_object* v___x_5785_; +if (v_isShared_5754_ == 0) +{ +lean_ctor_set(v___x_5753_, 1, v_buckets_x27_5773_); +lean_ctor_set(v___x_5753_, 0, v_size_x27_5771_); +v___x_5785_ = v___x_5753_; +goto v_reusejp_5784_; +} +else +{ +lean_object* v_reuseFailAlloc_5786_; +v_reuseFailAlloc_5786_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5786_, 0, v_size_x27_5771_); +lean_ctor_set(v_reuseFailAlloc_5786_, 1, v_buckets_x27_5773_); +v___x_5785_ = v_reuseFailAlloc_5786_; +goto v_reusejp_5784_; +} +v_reusejp_5784_: +{ +return v___x_5785_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg___boxed(lean_object* v_a_5784_, lean_object* v_x_5785_){ +} +else +{ +lean_object* v___x_5787_; lean_object* v_buckets_x27_5788_; lean_object* v___x_5789_; lean_object* v___x_5790_; lean_object* v___x_5792_; +lean_inc(v_bkt_5768_); +v___x_5787_ = lean_box(0); +v_buckets_x27_5788_ = lean_array_uset(v_buckets_5751_, v___x_5767_, v___x_5787_); +v___x_5789_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_5748_, v_b_5749_, v_bkt_5768_); +v___x_5790_ = lean_array_uset(v_buckets_x27_5788_, v___x_5767_, v___x_5789_); +if (v_isShared_5754_ == 0) +{ +lean_ctor_set(v___x_5753_, 1, v___x_5790_); +v___x_5792_ = v___x_5753_; +goto v_reusejp_5791_; +} +else +{ +lean_object* v_reuseFailAlloc_5793_; +v_reuseFailAlloc_5793_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5793_, 0, v_size_5750_); +lean_ctor_set(v_reuseFailAlloc_5793_, 1, v___x_5790_); +v___x_5792_ = v_reuseFailAlloc_5793_; +goto v_reusejp_5791_; +} +v_reusejp_5791_: +{ +return v___x_5792_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1(lean_object* v_a_5795_, lean_object* v_e_5796_, lean_object* v_a_5797_){ _start: { -uint8_t v_res_5786_; lean_object* v_r_5787_; -v_res_5786_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_5784_, v_x_5785_); -lean_dec(v_x_5785_); -lean_dec_ref(v_a_5784_); -v_r_5787_ = lean_box(v_res_5786_); -return v_r_5787_; +lean_object* v___x_5799_; lean_object* v___x_5800_; lean_object* v___x_5801_; lean_object* v___x_5802_; +v___x_5799_ = lean_st_ref_take(v_a_5795_); +v___x_5800_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(v___x_5799_, v_e_5796_, v_a_5797_); +v___x_5801_ = lean_st_ref_set(v_a_5795_, v___x_5800_); +v___x_5802_ = lean_box(0); +return v___x_5802_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(lean_object* v_m_5788_, lean_object* v_a_5789_, lean_object* v_b_5790_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1___boxed(lean_object* v_a_5803_, lean_object* v_e_5804_, lean_object* v_a_5805_, lean_object* v___y_5806_){ _start: { -lean_object* v_size_5791_; lean_object* v_buckets_5792_; lean_object* v___x_5794_; uint8_t v_isShared_5795_; uint8_t v_isSharedCheck_5835_; -v_size_5791_ = lean_ctor_get(v_m_5788_, 0); -v_buckets_5792_ = lean_ctor_get(v_m_5788_, 1); -v_isSharedCheck_5835_ = !lean_is_exclusive(v_m_5788_); -if (v_isSharedCheck_5835_ == 0) -{ -v___x_5794_ = v_m_5788_; -v_isShared_5795_ = v_isSharedCheck_5835_; -goto v_resetjp_5793_; -} -else -{ -lean_inc(v_buckets_5792_); -lean_inc(v_size_5791_); -lean_dec(v_m_5788_); -v___x_5794_ = lean_box(0); -v_isShared_5795_ = v_isSharedCheck_5835_; -goto v_resetjp_5793_; -} -v_resetjp_5793_: -{ -lean_object* v___x_5796_; uint64_t v___x_5797_; uint64_t v___x_5798_; uint64_t v___x_5799_; uint64_t v_fold_5800_; uint64_t v___x_5801_; uint64_t v___x_5802_; uint64_t v___x_5803_; size_t v___x_5804_; size_t v___x_5805_; size_t v___x_5806_; size_t v___x_5807_; size_t v___x_5808_; lean_object* v_bkt_5809_; uint8_t v___x_5810_; -v___x_5796_ = lean_array_get_size(v_buckets_5792_); -v___x_5797_ = l_Lean_Expr_hash(v_a_5789_); -v___x_5798_ = 32ULL; -v___x_5799_ = lean_uint64_shift_right(v___x_5797_, v___x_5798_); -v_fold_5800_ = lean_uint64_xor(v___x_5797_, v___x_5799_); -v___x_5801_ = 16ULL; -v___x_5802_ = lean_uint64_shift_right(v_fold_5800_, v___x_5801_); -v___x_5803_ = lean_uint64_xor(v_fold_5800_, v___x_5802_); -v___x_5804_ = lean_uint64_to_usize(v___x_5803_); -v___x_5805_ = lean_usize_of_nat(v___x_5796_); -v___x_5806_ = ((size_t)1ULL); -v___x_5807_ = lean_usize_sub(v___x_5805_, v___x_5806_); -v___x_5808_ = lean_usize_land(v___x_5804_, v___x_5807_); -v_bkt_5809_ = lean_array_uget_borrowed(v_buckets_5792_, v___x_5808_); -v___x_5810_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_5789_, v_bkt_5809_); -if (v___x_5810_ == 0) -{ -lean_object* v___x_5811_; lean_object* v_size_x27_5812_; lean_object* v___x_5813_; lean_object* v_buckets_x27_5814_; lean_object* v___x_5815_; lean_object* v___x_5816_; lean_object* v___x_5817_; lean_object* v___x_5818_; lean_object* v___x_5819_; uint8_t v___x_5820_; -v___x_5811_ = lean_unsigned_to_nat(1u); -v_size_x27_5812_ = lean_nat_add(v_size_5791_, v___x_5811_); -lean_dec(v_size_5791_); -lean_inc(v_bkt_5809_); -v___x_5813_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_5813_, 0, v_a_5789_); -lean_ctor_set(v___x_5813_, 1, v_b_5790_); -lean_ctor_set(v___x_5813_, 2, v_bkt_5809_); -v_buckets_x27_5814_ = lean_array_uset(v_buckets_5792_, v___x_5808_, v___x_5813_); -v___x_5815_ = lean_unsigned_to_nat(4u); -v___x_5816_ = lean_nat_mul(v_size_x27_5812_, v___x_5815_); -v___x_5817_ = lean_unsigned_to_nat(3u); -v___x_5818_ = lean_nat_div(v___x_5816_, v___x_5817_); -lean_dec(v___x_5816_); -v___x_5819_ = lean_array_get_size(v_buckets_x27_5814_); -v___x_5820_ = lean_nat_dec_le(v___x_5818_, v___x_5819_); -lean_dec(v___x_5818_); -if (v___x_5820_ == 0) -{ -lean_object* v_val_5821_; lean_object* v___x_5823_; -v_val_5821_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(v_buckets_x27_5814_); -if (v_isShared_5795_ == 0) -{ -lean_ctor_set(v___x_5794_, 1, v_val_5821_); -lean_ctor_set(v___x_5794_, 0, v_size_x27_5812_); -v___x_5823_ = v___x_5794_; -goto v_reusejp_5822_; -} -else -{ -lean_object* v_reuseFailAlloc_5824_; -v_reuseFailAlloc_5824_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5824_, 0, v_size_x27_5812_); -lean_ctor_set(v_reuseFailAlloc_5824_, 1, v_val_5821_); -v___x_5823_ = v_reuseFailAlloc_5824_; -goto v_reusejp_5822_; -} -v_reusejp_5822_: -{ -return v___x_5823_; +lean_object* v_res_5807_; +v_res_5807_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1(v_a_5803_, v_e_5804_, v_a_5805_); +lean_dec(v_a_5803_); +return v_res_5807_; } } -else -{ -lean_object* v___x_5826_; -if (v_isShared_5795_ == 0) -{ -lean_ctor_set(v___x_5794_, 1, v_buckets_x27_5814_); -lean_ctor_set(v___x_5794_, 0, v_size_x27_5812_); -v___x_5826_ = v___x_5794_; -goto v_reusejp_5825_; -} -else -{ -lean_object* v_reuseFailAlloc_5827_; -v_reuseFailAlloc_5827_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5827_, 0, v_size_x27_5812_); -lean_ctor_set(v_reuseFailAlloc_5827_, 1, v_buckets_x27_5814_); -v___x_5826_ = v_reuseFailAlloc_5827_; -goto v_reusejp_5825_; -} -v_reusejp_5825_: -{ -return v___x_5826_; -} -} -} -else -{ -lean_object* v___x_5828_; lean_object* v_buckets_x27_5829_; lean_object* v___x_5830_; lean_object* v___x_5831_; lean_object* v___x_5833_; -lean_inc(v_bkt_5809_); -v___x_5828_ = lean_box(0); -v_buckets_x27_5829_ = lean_array_uset(v_buckets_5792_, v___x_5808_, v___x_5828_); -v___x_5830_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_5789_, v_b_5790_, v_bkt_5809_); -v___x_5831_ = lean_array_uset(v_buckets_x27_5829_, v___x_5808_, v___x_5830_); -if (v_isShared_5795_ == 0) -{ -lean_ctor_set(v___x_5794_, 1, v___x_5831_); -v___x_5833_ = v___x_5794_; -goto v_reusejp_5832_; -} -else -{ -lean_object* v_reuseFailAlloc_5834_; -v_reuseFailAlloc_5834_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5834_, 0, v_size_5791_); -lean_ctor_set(v_reuseFailAlloc_5834_, 1, v___x_5831_); -v___x_5833_ = v_reuseFailAlloc_5834_; -goto v_reusejp_5832_; -} -v_reusejp_5832_: -{ -return v___x_5833_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1(lean_object* v_a_5836_, lean_object* v_e_5837_, lean_object* v_a_5838_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(lean_object* v_a_5808_, lean_object* v_x_5809_){ _start: { -lean_object* v___x_5840_; lean_object* v___x_5841_; lean_object* v___x_5842_; lean_object* v___x_5843_; -v___x_5840_ = lean_st_ref_take(v_a_5836_); -v___x_5841_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(v___x_5840_, v_e_5837_, v_a_5838_); -v___x_5842_ = lean_st_ref_set(v_a_5836_, v___x_5841_); -v___x_5843_ = lean_box(0); -return v___x_5843_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1___boxed(lean_object* v_a_5844_, lean_object* v_e_5845_, lean_object* v_a_5846_, lean_object* v___y_5847_){ -_start: +if (lean_obj_tag(v_x_5809_) == 0) { -lean_object* v_res_5848_; -v_res_5848_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1(v_a_5844_, v_e_5845_, v_a_5846_); -lean_dec(v_a_5844_); -return v_res_5848_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(lean_object* v_a_5849_, lean_object* v_x_5850_){ -_start: -{ -if (lean_obj_tag(v_x_5850_) == 0) -{ -lean_object* v___x_5851_; -v___x_5851_ = lean_box(0); -return v___x_5851_; +lean_object* v___x_5810_; +v___x_5810_ = lean_box(0); +return v___x_5810_; } else { -lean_object* v_key_5852_; lean_object* v_value_5853_; lean_object* v_tail_5854_; uint8_t v___x_5855_; -v_key_5852_ = lean_ctor_get(v_x_5850_, 0); -v_value_5853_ = lean_ctor_get(v_x_5850_, 1); -v_tail_5854_ = lean_ctor_get(v_x_5850_, 2); -v___x_5855_ = lean_expr_eqv(v_key_5852_, v_a_5849_); -if (v___x_5855_ == 0) +lean_object* v_key_5811_; lean_object* v_value_5812_; lean_object* v_tail_5813_; uint8_t v___x_5814_; +v_key_5811_ = lean_ctor_get(v_x_5809_, 0); +v_value_5812_ = lean_ctor_get(v_x_5809_, 1); +v_tail_5813_ = lean_ctor_get(v_x_5809_, 2); +v___x_5814_ = lean_expr_eqv(v_key_5811_, v_a_5808_); +if (v___x_5814_ == 0) { -v_x_5850_ = v_tail_5854_; +v_x_5809_ = v_tail_5813_; goto _start; } else { -lean_object* v___x_5857_; -lean_inc(v_value_5853_); -v___x_5857_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5857_, 0, v_value_5853_); -return v___x_5857_; +lean_object* v___x_5816_; +lean_inc(v_value_5812_); +v___x_5816_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5816_, 0, v_value_5812_); +return v___x_5816_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg___boxed(lean_object* v_a_5858_, lean_object* v_x_5859_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg___boxed(lean_object* v_a_5817_, lean_object* v_x_5818_){ _start: { -lean_object* v_res_5860_; -v_res_5860_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_5858_, v_x_5859_); -lean_dec(v_x_5859_); -lean_dec_ref(v_a_5858_); -return v_res_5860_; +lean_object* v_res_5819_; +v_res_5819_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_5817_, v_x_5818_); +lean_dec(v_x_5818_); +lean_dec_ref(v_a_5817_); +return v_res_5819_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(lean_object* v_m_5861_, lean_object* v_a_5862_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(lean_object* v_m_5820_, lean_object* v_a_5821_){ _start: { -lean_object* v_buckets_5863_; lean_object* v___x_5864_; uint64_t v___x_5865_; uint64_t v___x_5866_; uint64_t v___x_5867_; uint64_t v_fold_5868_; uint64_t v___x_5869_; uint64_t v___x_5870_; uint64_t v___x_5871_; size_t v___x_5872_; size_t v___x_5873_; size_t v___x_5874_; size_t v___x_5875_; size_t v___x_5876_; lean_object* v___x_5877_; lean_object* v___x_5878_; -v_buckets_5863_ = lean_ctor_get(v_m_5861_, 1); -v___x_5864_ = lean_array_get_size(v_buckets_5863_); -v___x_5865_ = l_Lean_Expr_hash(v_a_5862_); -v___x_5866_ = 32ULL; -v___x_5867_ = lean_uint64_shift_right(v___x_5865_, v___x_5866_); -v_fold_5868_ = lean_uint64_xor(v___x_5865_, v___x_5867_); -v___x_5869_ = 16ULL; -v___x_5870_ = lean_uint64_shift_right(v_fold_5868_, v___x_5869_); -v___x_5871_ = lean_uint64_xor(v_fold_5868_, v___x_5870_); -v___x_5872_ = lean_uint64_to_usize(v___x_5871_); -v___x_5873_ = lean_usize_of_nat(v___x_5864_); -v___x_5874_ = ((size_t)1ULL); -v___x_5875_ = lean_usize_sub(v___x_5873_, v___x_5874_); -v___x_5876_ = lean_usize_land(v___x_5872_, v___x_5875_); -v___x_5877_ = lean_array_uget_borrowed(v_buckets_5863_, v___x_5876_); -v___x_5878_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_5862_, v___x_5877_); -return v___x_5878_; +lean_object* v_buckets_5822_; lean_object* v___x_5823_; uint64_t v___x_5824_; uint64_t v___x_5825_; uint64_t v___x_5826_; uint64_t v_fold_5827_; uint64_t v___x_5828_; uint64_t v___x_5829_; uint64_t v___x_5830_; size_t v___x_5831_; size_t v___x_5832_; size_t v___x_5833_; size_t v___x_5834_; size_t v___x_5835_; lean_object* v___x_5836_; lean_object* v___x_5837_; +v_buckets_5822_ = lean_ctor_get(v_m_5820_, 1); +v___x_5823_ = lean_array_get_size(v_buckets_5822_); +v___x_5824_ = l_Lean_Expr_hash(v_a_5821_); +v___x_5825_ = 32ULL; +v___x_5826_ = lean_uint64_shift_right(v___x_5824_, v___x_5825_); +v_fold_5827_ = lean_uint64_xor(v___x_5824_, v___x_5826_); +v___x_5828_ = 16ULL; +v___x_5829_ = lean_uint64_shift_right(v_fold_5827_, v___x_5828_); +v___x_5830_ = lean_uint64_xor(v_fold_5827_, v___x_5829_); +v___x_5831_ = lean_uint64_to_usize(v___x_5830_); +v___x_5832_ = lean_usize_of_nat(v___x_5823_); +v___x_5833_ = ((size_t)1ULL); +v___x_5834_ = lean_usize_sub(v___x_5832_, v___x_5833_); +v___x_5835_ = lean_usize_land(v___x_5831_, v___x_5834_); +v___x_5836_ = lean_array_uget_borrowed(v_buckets_5822_, v___x_5835_); +v___x_5837_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_5821_, v___x_5836_); +return v___x_5837_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg___boxed(lean_object* v_m_5879_, lean_object* v_a_5880_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg___boxed(lean_object* v_m_5838_, lean_object* v_a_5839_){ _start: { -lean_object* v_res_5881_; -v_res_5881_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_m_5879_, v_a_5880_); -lean_dec_ref(v_a_5880_); -lean_dec_ref(v_m_5879_); -return v_res_5881_; +lean_object* v_res_5840_; +v_res_5840_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_m_5838_, v_a_5839_); +lean_dec_ref(v_a_5839_); +lean_dec_ref(v_m_5838_); +return v_res_5840_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0(lean_object* v_k_5882_, lean_object* v___y_5883_, lean_object* v_b_5884_, lean_object* v___y_5885_, lean_object* v___y_5886_, lean_object* v___y_5887_, lean_object* v___y_5888_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0(lean_object* v_k_5841_, lean_object* v___y_5842_, lean_object* v_b_5843_, lean_object* v___y_5844_, lean_object* v___y_5845_, lean_object* v___y_5846_, lean_object* v___y_5847_){ _start: { -lean_object* v___x_5890_; -v___x_5890_ = lean_apply_7(v_k_5882_, v_b_5884_, v___y_5883_, v___y_5885_, v___y_5886_, v___y_5887_, v___y_5888_, lean_box(0)); -return v___x_5890_; +lean_object* v___x_5849_; +v___x_5849_ = lean_apply_7(v_k_5841_, v_b_5843_, v___y_5842_, v___y_5844_, v___y_5845_, v___y_5846_, v___y_5847_, lean_box(0)); +return v___x_5849_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed(lean_object* v_k_5891_, lean_object* v___y_5892_, lean_object* v_b_5893_, lean_object* v___y_5894_, lean_object* v___y_5895_, lean_object* v___y_5896_, lean_object* v___y_5897_, lean_object* v___y_5898_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed(lean_object* v_k_5850_, lean_object* v___y_5851_, lean_object* v_b_5852_, lean_object* v___y_5853_, lean_object* v___y_5854_, lean_object* v___y_5855_, lean_object* v___y_5856_, lean_object* v___y_5857_){ _start: { -lean_object* v_res_5899_; -v_res_5899_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0(v_k_5891_, v___y_5892_, v_b_5893_, v___y_5894_, v___y_5895_, v___y_5896_, v___y_5897_); -return v_res_5899_; +lean_object* v_res_5858_; +v_res_5858_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0(v_k_5850_, v___y_5851_, v_b_5852_, v___y_5853_, v___y_5854_, v___y_5855_, v___y_5856_); +return v_res_5858_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(lean_object* v_name_5900_, uint8_t v_bi_5901_, lean_object* v_type_5902_, lean_object* v_k_5903_, uint8_t v_kind_5904_, lean_object* v___y_5905_, lean_object* v___y_5906_, lean_object* v___y_5907_, lean_object* v___y_5908_, lean_object* v___y_5909_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(lean_object* v_name_5859_, uint8_t v_bi_5860_, lean_object* v_type_5861_, lean_object* v_k_5862_, uint8_t v_kind_5863_, lean_object* v___y_5864_, lean_object* v___y_5865_, lean_object* v___y_5866_, lean_object* v___y_5867_, lean_object* v___y_5868_){ _start: { -lean_object* v___f_5911_; lean_object* v___x_5912_; -v___f_5911_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed), 8, 2); -lean_closure_set(v___f_5911_, 0, v_k_5903_); -lean_closure_set(v___f_5911_, 1, v___y_5905_); -v___x_5912_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), v_name_5900_, v_bi_5901_, v_type_5902_, v___f_5911_, v_kind_5904_, v___y_5906_, v___y_5907_, v___y_5908_, v___y_5909_); -if (lean_obj_tag(v___x_5912_) == 0) +lean_object* v___f_5870_; lean_object* v___x_5871_; +v___f_5870_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed), 8, 2); +lean_closure_set(v___f_5870_, 0, v_k_5862_); +lean_closure_set(v___f_5870_, 1, v___y_5864_); +v___x_5871_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), v_name_5859_, v_bi_5860_, v_type_5861_, v___f_5870_, v_kind_5863_, v___y_5865_, v___y_5866_, v___y_5867_, v___y_5868_); +if (lean_obj_tag(v___x_5871_) == 0) { -return v___x_5912_; +return v___x_5871_; } else { -lean_object* v_a_5913_; lean_object* v___x_5915_; uint8_t v_isShared_5916_; uint8_t v_isSharedCheck_5920_; -v_a_5913_ = lean_ctor_get(v___x_5912_, 0); -v_isSharedCheck_5920_ = !lean_is_exclusive(v___x_5912_); -if (v_isSharedCheck_5920_ == 0) +lean_object* v_a_5872_; lean_object* v___x_5874_; uint8_t v_isShared_5875_; uint8_t v_isSharedCheck_5879_; +v_a_5872_ = lean_ctor_get(v___x_5871_, 0); +v_isSharedCheck_5879_ = !lean_is_exclusive(v___x_5871_); +if (v_isSharedCheck_5879_ == 0) { -v___x_5915_ = v___x_5912_; -v_isShared_5916_ = v_isSharedCheck_5920_; -goto v_resetjp_5914_; +v___x_5874_ = v___x_5871_; +v_isShared_5875_ = v_isSharedCheck_5879_; +goto v_resetjp_5873_; } else { -lean_inc(v_a_5913_); -lean_dec(v___x_5912_); -v___x_5915_ = lean_box(0); -v_isShared_5916_ = v_isSharedCheck_5920_; -goto v_resetjp_5914_; +lean_inc(v_a_5872_); +lean_dec(v___x_5871_); +v___x_5874_ = lean_box(0); +v_isShared_5875_ = v_isSharedCheck_5879_; +goto v_resetjp_5873_; } -v_resetjp_5914_: +v_resetjp_5873_: { -lean_object* v___x_5918_; -if (v_isShared_5916_ == 0) +lean_object* v___x_5877_; +if (v_isShared_5875_ == 0) { -v___x_5918_ = v___x_5915_; -goto v_reusejp_5917_; +v___x_5877_ = v___x_5874_; +goto v_reusejp_5876_; } else { -lean_object* v_reuseFailAlloc_5919_; -v_reuseFailAlloc_5919_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5919_, 0, v_a_5913_); -v___x_5918_ = v_reuseFailAlloc_5919_; -goto v_reusejp_5917_; +lean_object* v_reuseFailAlloc_5878_; +v_reuseFailAlloc_5878_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5878_, 0, v_a_5872_); +v___x_5877_ = v_reuseFailAlloc_5878_; +goto v_reusejp_5876_; } -v_reusejp_5917_: +v_reusejp_5876_: { -return v___x_5918_; +return v___x_5877_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___boxed(lean_object* v_name_5921_, lean_object* v_bi_5922_, lean_object* v_type_5923_, lean_object* v_k_5924_, lean_object* v_kind_5925_, lean_object* v___y_5926_, lean_object* v___y_5927_, lean_object* v___y_5928_, lean_object* v___y_5929_, lean_object* v___y_5930_, lean_object* v___y_5931_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___boxed(lean_object* v_name_5880_, lean_object* v_bi_5881_, lean_object* v_type_5882_, lean_object* v_k_5883_, lean_object* v_kind_5884_, lean_object* v___y_5885_, lean_object* v___y_5886_, lean_object* v___y_5887_, lean_object* v___y_5888_, lean_object* v___y_5889_, lean_object* v___y_5890_){ _start: { -uint8_t v_bi_boxed_5932_; uint8_t v_kind_boxed_5933_; lean_object* v_res_5934_; -v_bi_boxed_5932_ = lean_unbox(v_bi_5922_); -v_kind_boxed_5933_ = lean_unbox(v_kind_5925_); -v_res_5934_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_name_5921_, v_bi_boxed_5932_, v_type_5923_, v_k_5924_, v_kind_boxed_5933_, v___y_5926_, v___y_5927_, v___y_5928_, v___y_5929_, v___y_5930_); -return v_res_5934_; +uint8_t v_bi_boxed_5891_; uint8_t v_kind_boxed_5892_; lean_object* v_res_5893_; +v_bi_boxed_5891_ = lean_unbox(v_bi_5881_); +v_kind_boxed_5892_ = lean_unbox(v_kind_5884_); +v_res_5893_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_name_5880_, v_bi_boxed_5891_, v_type_5882_, v_k_5883_, v_kind_boxed_5892_, v___y_5885_, v___y_5886_, v___y_5887_, v___y_5888_, v___y_5889_); +return v_res_5893_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0___boxed(lean_object* v_fvars_5935_, lean_object* v_f_5936_, lean_object* v_body_5937_, lean_object* v_x_5938_, lean_object* v___y_5939_, lean_object* v___y_5940_, lean_object* v___y_5941_, lean_object* v___y_5942_, lean_object* v___y_5943_, lean_object* v___y_5944_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0___boxed(lean_object* v_fvars_5894_, lean_object* v_f_5895_, lean_object* v_body_5896_, lean_object* v_x_5897_, lean_object* v___y_5898_, lean_object* v___y_5899_, lean_object* v___y_5900_, lean_object* v___y_5901_, lean_object* v___y_5902_, lean_object* v___y_5903_){ _start: { -lean_object* v_res_5945_; -v_res_5945_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0(v_fvars_5935_, v_f_5936_, v_body_5937_, v_x_5938_, v___y_5939_, v___y_5940_, v___y_5941_, v___y_5942_, v___y_5943_); -return v_res_5945_; +lean_object* v_res_5904_; +v_res_5904_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0(v_fvars_5894_, v_f_5895_, v_body_5896_, v_x_5897_, v___y_5898_, v___y_5899_, v___y_5900_, v___y_5901_, v___y_5902_); +return v_res_5904_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(lean_object* v_f_5946_, lean_object* v_fvars_5947_, lean_object* v_a_5948_, lean_object* v___y_5949_, lean_object* v___y_5950_, lean_object* v___y_5951_, lean_object* v___y_5952_, lean_object* v___y_5953_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(lean_object* v_f_5905_, lean_object* v_fvars_5906_, lean_object* v_a_5907_, lean_object* v___y_5908_, lean_object* v___y_5909_, lean_object* v___y_5910_, lean_object* v___y_5911_, lean_object* v___y_5912_){ _start: { -if (lean_obj_tag(v_a_5948_) == 6) +if (lean_obj_tag(v_a_5907_) == 6) { -lean_object* v_binderName_5955_; lean_object* v_binderType_5956_; lean_object* v_body_5957_; uint8_t v_binderInfo_5958_; lean_object* v_d_5959_; lean_object* v___x_5960_; -v_binderName_5955_ = lean_ctor_get(v_a_5948_, 0); -lean_inc(v_binderName_5955_); -v_binderType_5956_ = lean_ctor_get(v_a_5948_, 1); -lean_inc_ref(v_binderType_5956_); -v_body_5957_ = lean_ctor_get(v_a_5948_, 2); -lean_inc_ref(v_body_5957_); -v_binderInfo_5958_ = lean_ctor_get_uint8(v_a_5948_, sizeof(void*)*3 + 8); -lean_dec_ref(v_a_5948_); -v_d_5959_ = lean_expr_instantiate_rev(v_binderType_5956_, v_fvars_5947_); -lean_dec_ref(v_binderType_5956_); -lean_inc_ref(v_f_5946_); -lean_inc(v___y_5953_); -lean_inc_ref(v___y_5952_); -lean_inc(v___y_5951_); -lean_inc_ref(v___y_5950_); -lean_inc(v___y_5949_); -lean_inc_ref(v_d_5959_); -v___x_5960_ = lean_apply_7(v_f_5946_, v_d_5959_, v___y_5949_, v___y_5950_, v___y_5951_, v___y_5952_, v___y_5953_, lean_box(0)); -if (lean_obj_tag(v___x_5960_) == 0) +lean_object* v_binderName_5914_; lean_object* v_binderType_5915_; lean_object* v_body_5916_; uint8_t v_binderInfo_5917_; lean_object* v_d_5918_; lean_object* v___x_5919_; +v_binderName_5914_ = lean_ctor_get(v_a_5907_, 0); +lean_inc(v_binderName_5914_); +v_binderType_5915_ = lean_ctor_get(v_a_5907_, 1); +lean_inc_ref(v_binderType_5915_); +v_body_5916_ = lean_ctor_get(v_a_5907_, 2); +lean_inc_ref(v_body_5916_); +v_binderInfo_5917_ = lean_ctor_get_uint8(v_a_5907_, sizeof(void*)*3 + 8); +lean_dec_ref(v_a_5907_); +v_d_5918_ = lean_expr_instantiate_rev(v_binderType_5915_, v_fvars_5906_); +lean_dec_ref(v_binderType_5915_); +lean_inc_ref(v_f_5905_); +lean_inc(v___y_5912_); +lean_inc_ref(v___y_5911_); +lean_inc(v___y_5910_); +lean_inc_ref(v___y_5909_); +lean_inc(v___y_5908_); +lean_inc_ref(v_d_5918_); +v___x_5919_ = lean_apply_7(v_f_5905_, v_d_5918_, v___y_5908_, v___y_5909_, v___y_5910_, v___y_5911_, v___y_5912_, lean_box(0)); +if (lean_obj_tag(v___x_5919_) == 0) { -lean_object* v___f_5961_; uint8_t v___x_5962_; lean_object* v___x_5963_; -lean_dec_ref(v___x_5960_); -v___f_5961_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0___boxed), 10, 3); -lean_closure_set(v___f_5961_, 0, v_fvars_5947_); -lean_closure_set(v___f_5961_, 1, v_f_5946_); -lean_closure_set(v___f_5961_, 2, v_body_5957_); -v___x_5962_ = 0; -v___x_5963_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_binderName_5955_, v_binderInfo_5958_, v_d_5959_, v___f_5961_, v___x_5962_, v___y_5949_, v___y_5950_, v___y_5951_, v___y_5952_, v___y_5953_); -return v___x_5963_; +lean_object* v___f_5920_; uint8_t v___x_5921_; lean_object* v___x_5922_; +lean_dec_ref(v___x_5919_); +v___f_5920_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0___boxed), 10, 3); +lean_closure_set(v___f_5920_, 0, v_fvars_5906_); +lean_closure_set(v___f_5920_, 1, v_f_5905_); +lean_closure_set(v___f_5920_, 2, v_body_5916_); +v___x_5921_ = 0; +v___x_5922_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_binderName_5914_, v_binderInfo_5917_, v_d_5918_, v___f_5920_, v___x_5921_, v___y_5908_, v___y_5909_, v___y_5910_, v___y_5911_, v___y_5912_); +return v___x_5922_; } else { -lean_dec_ref(v_d_5959_); -lean_dec_ref(v_body_5957_); -lean_dec(v_binderName_5955_); -lean_dec(v___y_5953_); -lean_dec_ref(v___y_5952_); -lean_dec(v___y_5951_); -lean_dec_ref(v___y_5950_); -lean_dec(v___y_5949_); -lean_dec_ref(v_fvars_5947_); -lean_dec_ref(v_f_5946_); -return v___x_5960_; +lean_dec_ref(v_d_5918_); +lean_dec_ref(v_body_5916_); +lean_dec(v_binderName_5914_); +lean_dec(v___y_5912_); +lean_dec_ref(v___y_5911_); +lean_dec(v___y_5910_); +lean_dec_ref(v___y_5909_); +lean_dec(v___y_5908_); +lean_dec_ref(v_fvars_5906_); +lean_dec_ref(v_f_5905_); +return v___x_5919_; } } else { -lean_object* v___x_5964_; lean_object* v___x_5965_; -v___x_5964_ = lean_expr_instantiate_rev(v_a_5948_, v_fvars_5947_); -lean_dec_ref(v_fvars_5947_); -lean_dec_ref(v_a_5948_); -v___x_5965_ = lean_apply_7(v_f_5946_, v___x_5964_, v___y_5949_, v___y_5950_, v___y_5951_, v___y_5952_, v___y_5953_, lean_box(0)); -return v___x_5965_; +lean_object* v___x_5923_; lean_object* v___x_5924_; +v___x_5923_ = lean_expr_instantiate_rev(v_a_5907_, v_fvars_5906_); +lean_dec_ref(v_fvars_5906_); +lean_dec_ref(v_a_5907_); +v___x_5924_ = lean_apply_7(v_f_5905_, v___x_5923_, v___y_5908_, v___y_5909_, v___y_5910_, v___y_5911_, v___y_5912_, lean_box(0)); +return v___x_5924_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0(lean_object* v_fvars_5966_, lean_object* v_f_5967_, lean_object* v_body_5968_, lean_object* v_x_5969_, lean_object* v___y_5970_, lean_object* v___y_5971_, lean_object* v___y_5972_, lean_object* v___y_5973_, lean_object* v___y_5974_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___lam__0(lean_object* v_fvars_5925_, lean_object* v_f_5926_, lean_object* v_body_5927_, lean_object* v_x_5928_, lean_object* v___y_5929_, lean_object* v___y_5930_, lean_object* v___y_5931_, lean_object* v___y_5932_, lean_object* v___y_5933_){ _start: { -lean_object* v___x_5976_; lean_object* v___x_5977_; -v___x_5976_ = lean_array_push(v_fvars_5966_, v_x_5969_); -v___x_5977_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5967_, v___x_5976_, v_body_5968_, v___y_5970_, v___y_5971_, v___y_5972_, v___y_5973_, v___y_5974_); -return v___x_5977_; +lean_object* v___x_5935_; lean_object* v___x_5936_; +v___x_5935_ = lean_array_push(v_fvars_5925_, v_x_5928_); +v___x_5936_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5926_, v___x_5935_, v_body_5927_, v___y_5929_, v___y_5930_, v___y_5931_, v___y_5932_, v___y_5933_); +return v___x_5936_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___boxed(lean_object* v_f_5978_, lean_object* v_fvars_5979_, lean_object* v_a_5980_, lean_object* v___y_5981_, lean_object* v___y_5982_, lean_object* v___y_5983_, lean_object* v___y_5984_, lean_object* v___y_5985_, lean_object* v___y_5986_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12___boxed(lean_object* v_f_5937_, lean_object* v_fvars_5938_, lean_object* v_a_5939_, lean_object* v___y_5940_, lean_object* v___y_5941_, lean_object* v___y_5942_, lean_object* v___y_5943_, lean_object* v___y_5944_, lean_object* v___y_5945_){ _start: { -lean_object* v_res_5987_; -v_res_5987_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5978_, v_fvars_5979_, v_a_5980_, v___y_5981_, v___y_5982_, v___y_5983_, v___y_5984_, v___y_5985_); -return v_res_5987_; +lean_object* v_res_5946_; +v_res_5946_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5937_, v_fvars_5938_, v_a_5939_, v___y_5940_, v___y_5941_, v___y_5942_, v___y_5943_, v___y_5944_); +return v_res_5946_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(lean_object* v_f_5990_, lean_object* v_e_5991_, lean_object* v___y_5992_, lean_object* v___y_5993_, lean_object* v___y_5994_, lean_object* v___y_5995_, lean_object* v___y_5996_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(lean_object* v_f_5949_, lean_object* v_e_5950_, lean_object* v___y_5951_, lean_object* v___y_5952_, lean_object* v___y_5953_, lean_object* v___y_5954_, lean_object* v___y_5955_){ _start: { -lean_object* v___x_5998_; lean_object* v___x_5999_; -v___x_5998_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); -v___x_5999_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5990_, v___x_5998_, v_e_5991_, v___y_5992_, v___y_5993_, v___y_5994_, v___y_5995_, v___y_5996_); -return v___x_5999_; +lean_object* v___x_5957_; lean_object* v___x_5958_; +v___x_5957_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); +v___x_5958_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLambda_visit___at___00Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6_spec__12(v_f_5949_, v___x_5957_, v_e_5950_, v___y_5951_, v___y_5952_, v___y_5953_, v___y_5954_, v___y_5955_); +return v___x_5958_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___boxed(lean_object* v_f_6000_, lean_object* v_e_6001_, lean_object* v___y_6002_, lean_object* v___y_6003_, lean_object* v___y_6004_, lean_object* v___y_6005_, lean_object* v___y_6006_, lean_object* v___y_6007_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___boxed(lean_object* v_f_5959_, lean_object* v_e_5960_, lean_object* v___y_5961_, lean_object* v___y_5962_, lean_object* v___y_5963_, lean_object* v___y_5964_, lean_object* v___y_5965_, lean_object* v___y_5966_){ _start: { -lean_object* v_res_6008_; -v_res_6008_ = l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(v_f_6000_, v_e_6001_, v___y_6002_, v___y_6003_, v___y_6004_, v___y_6005_, v___y_6006_); -return v_res_6008_; +lean_object* v_res_5967_; +v_res_5967_ = l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(v_f_5959_, v_e_5960_, v___y_5961_, v___y_5962_, v___y_5963_, v___y_5964_, v___y_5965_); +return v_res_5967_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0___boxed(lean_object* v_fvars_6009_, lean_object* v_f_6010_, lean_object* v_body_6011_, lean_object* v_x_6012_, lean_object* v___y_6013_, lean_object* v___y_6014_, lean_object* v___y_6015_, lean_object* v___y_6016_, lean_object* v___y_6017_, lean_object* v___y_6018_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0___boxed(lean_object* v_fvars_5968_, lean_object* v_f_5969_, lean_object* v_body_5970_, lean_object* v_x_5971_, lean_object* v___y_5972_, lean_object* v___y_5973_, lean_object* v___y_5974_, lean_object* v___y_5975_, lean_object* v___y_5976_, lean_object* v___y_5977_){ _start: { -lean_object* v_res_6019_; -v_res_6019_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0(v_fvars_6009_, v_f_6010_, v_body_6011_, v_x_6012_, v___y_6013_, v___y_6014_, v___y_6015_, v___y_6016_, v___y_6017_); -return v_res_6019_; +lean_object* v_res_5978_; +v_res_5978_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0(v_fvars_5968_, v_f_5969_, v_body_5970_, v_x_5971_, v___y_5972_, v___y_5973_, v___y_5974_, v___y_5975_, v___y_5976_); +return v_res_5978_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(lean_object* v_f_6020_, lean_object* v_fvars_6021_, lean_object* v_a_6022_, lean_object* v___y_6023_, lean_object* v___y_6024_, lean_object* v___y_6025_, lean_object* v___y_6026_, lean_object* v___y_6027_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(lean_object* v_f_5979_, lean_object* v_fvars_5980_, lean_object* v_a_5981_, lean_object* v___y_5982_, lean_object* v___y_5983_, lean_object* v___y_5984_, lean_object* v___y_5985_, lean_object* v___y_5986_){ _start: { -if (lean_obj_tag(v_a_6022_) == 7) +if (lean_obj_tag(v_a_5981_) == 7) { -lean_object* v_binderName_6029_; lean_object* v_binderType_6030_; lean_object* v_body_6031_; uint8_t v_binderInfo_6032_; lean_object* v_d_6033_; lean_object* v___x_6034_; -v_binderName_6029_ = lean_ctor_get(v_a_6022_, 0); -lean_inc(v_binderName_6029_); -v_binderType_6030_ = lean_ctor_get(v_a_6022_, 1); -lean_inc_ref(v_binderType_6030_); -v_body_6031_ = lean_ctor_get(v_a_6022_, 2); -lean_inc_ref(v_body_6031_); -v_binderInfo_6032_ = lean_ctor_get_uint8(v_a_6022_, sizeof(void*)*3 + 8); -lean_dec_ref(v_a_6022_); -v_d_6033_ = lean_expr_instantiate_rev(v_binderType_6030_, v_fvars_6021_); -lean_dec_ref(v_binderType_6030_); -lean_inc_ref(v_f_6020_); -lean_inc(v___y_6027_); -lean_inc_ref(v___y_6026_); -lean_inc(v___y_6025_); -lean_inc_ref(v___y_6024_); -lean_inc(v___y_6023_); -lean_inc_ref(v_d_6033_); -v___x_6034_ = lean_apply_7(v_f_6020_, v_d_6033_, v___y_6023_, v___y_6024_, v___y_6025_, v___y_6026_, v___y_6027_, lean_box(0)); -if (lean_obj_tag(v___x_6034_) == 0) +lean_object* v_binderName_5988_; lean_object* v_binderType_5989_; lean_object* v_body_5990_; uint8_t v_binderInfo_5991_; lean_object* v_d_5992_; lean_object* v___x_5993_; +v_binderName_5988_ = lean_ctor_get(v_a_5981_, 0); +lean_inc(v_binderName_5988_); +v_binderType_5989_ = lean_ctor_get(v_a_5981_, 1); +lean_inc_ref(v_binderType_5989_); +v_body_5990_ = lean_ctor_get(v_a_5981_, 2); +lean_inc_ref(v_body_5990_); +v_binderInfo_5991_ = lean_ctor_get_uint8(v_a_5981_, sizeof(void*)*3 + 8); +lean_dec_ref(v_a_5981_); +v_d_5992_ = lean_expr_instantiate_rev(v_binderType_5989_, v_fvars_5980_); +lean_dec_ref(v_binderType_5989_); +lean_inc_ref(v_f_5979_); +lean_inc(v___y_5986_); +lean_inc_ref(v___y_5985_); +lean_inc(v___y_5984_); +lean_inc_ref(v___y_5983_); +lean_inc(v___y_5982_); +lean_inc_ref(v_d_5992_); +v___x_5993_ = lean_apply_7(v_f_5979_, v_d_5992_, v___y_5982_, v___y_5983_, v___y_5984_, v___y_5985_, v___y_5986_, lean_box(0)); +if (lean_obj_tag(v___x_5993_) == 0) { -lean_object* v___f_6035_; uint8_t v___x_6036_; lean_object* v___x_6037_; -lean_dec_ref(v___x_6034_); -v___f_6035_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0___boxed), 10, 3); -lean_closure_set(v___f_6035_, 0, v_fvars_6021_); -lean_closure_set(v___f_6035_, 1, v_f_6020_); -lean_closure_set(v___f_6035_, 2, v_body_6031_); -v___x_6036_ = 0; -v___x_6037_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_binderName_6029_, v_binderInfo_6032_, v_d_6033_, v___f_6035_, v___x_6036_, v___y_6023_, v___y_6024_, v___y_6025_, v___y_6026_, v___y_6027_); -return v___x_6037_; +lean_object* v___f_5994_; uint8_t v___x_5995_; lean_object* v___x_5996_; +lean_dec_ref(v___x_5993_); +v___f_5994_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0___boxed), 10, 3); +lean_closure_set(v___f_5994_, 0, v_fvars_5980_); +lean_closure_set(v___f_5994_, 1, v_f_5979_); +lean_closure_set(v___f_5994_, 2, v_body_5990_); +v___x_5995_ = 0; +v___x_5996_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_binderName_5988_, v_binderInfo_5991_, v_d_5992_, v___f_5994_, v___x_5995_, v___y_5982_, v___y_5983_, v___y_5984_, v___y_5985_, v___y_5986_); +return v___x_5996_; } else { -lean_dec_ref(v_d_6033_); -lean_dec_ref(v_body_6031_); -lean_dec(v_binderName_6029_); -lean_dec(v___y_6027_); -lean_dec_ref(v___y_6026_); -lean_dec(v___y_6025_); -lean_dec_ref(v___y_6024_); -lean_dec(v___y_6023_); -lean_dec_ref(v_fvars_6021_); -lean_dec_ref(v_f_6020_); -return v___x_6034_; +lean_dec_ref(v_d_5992_); +lean_dec_ref(v_body_5990_); +lean_dec(v_binderName_5988_); +lean_dec(v___y_5986_); +lean_dec_ref(v___y_5985_); +lean_dec(v___y_5984_); +lean_dec_ref(v___y_5983_); +lean_dec(v___y_5982_); +lean_dec_ref(v_fvars_5980_); +lean_dec_ref(v_f_5979_); +return v___x_5993_; } } else { -lean_object* v___x_6038_; lean_object* v___x_6039_; -v___x_6038_ = lean_expr_instantiate_rev(v_a_6022_, v_fvars_6021_); -lean_dec_ref(v_fvars_6021_); -lean_dec_ref(v_a_6022_); -v___x_6039_ = lean_apply_7(v_f_6020_, v___x_6038_, v___y_6023_, v___y_6024_, v___y_6025_, v___y_6026_, v___y_6027_, lean_box(0)); -return v___x_6039_; +lean_object* v___x_5997_; lean_object* v___x_5998_; +v___x_5997_ = lean_expr_instantiate_rev(v_a_5981_, v_fvars_5980_); +lean_dec_ref(v_fvars_5980_); +lean_dec_ref(v_a_5981_); +v___x_5998_ = lean_apply_7(v_f_5979_, v___x_5997_, v___y_5982_, v___y_5983_, v___y_5984_, v___y_5985_, v___y_5986_, lean_box(0)); +return v___x_5998_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0(lean_object* v_fvars_6040_, lean_object* v_f_6041_, lean_object* v_body_6042_, lean_object* v_x_6043_, lean_object* v___y_6044_, lean_object* v___y_6045_, lean_object* v___y_6046_, lean_object* v___y_6047_, lean_object* v___y_6048_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___lam__0(lean_object* v_fvars_5999_, lean_object* v_f_6000_, lean_object* v_body_6001_, lean_object* v_x_6002_, lean_object* v___y_6003_, lean_object* v___y_6004_, lean_object* v___y_6005_, lean_object* v___y_6006_, lean_object* v___y_6007_){ _start: { -lean_object* v___x_6050_; lean_object* v___x_6051_; -v___x_6050_ = lean_array_push(v_fvars_6040_, v_x_6043_); -v___x_6051_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6041_, v___x_6050_, v_body_6042_, v___y_6044_, v___y_6045_, v___y_6046_, v___y_6047_, v___y_6048_); -return v___x_6051_; +lean_object* v___x_6009_; lean_object* v___x_6010_; +v___x_6009_ = lean_array_push(v_fvars_5999_, v_x_6002_); +v___x_6010_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6000_, v___x_6009_, v_body_6001_, v___y_6003_, v___y_6004_, v___y_6005_, v___y_6006_, v___y_6007_); +return v___x_6010_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___boxed(lean_object* v_f_6052_, lean_object* v_fvars_6053_, lean_object* v_a_6054_, lean_object* v___y_6055_, lean_object* v___y_6056_, lean_object* v___y_6057_, lean_object* v___y_6058_, lean_object* v___y_6059_, lean_object* v___y_6060_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10___boxed(lean_object* v_f_6011_, lean_object* v_fvars_6012_, lean_object* v_a_6013_, lean_object* v___y_6014_, lean_object* v___y_6015_, lean_object* v___y_6016_, lean_object* v___y_6017_, lean_object* v___y_6018_, lean_object* v___y_6019_){ _start: { -lean_object* v_res_6061_; -v_res_6061_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6052_, v_fvars_6053_, v_a_6054_, v___y_6055_, v___y_6056_, v___y_6057_, v___y_6058_, v___y_6059_); -return v_res_6061_; +lean_object* v_res_6020_; +v_res_6020_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6011_, v_fvars_6012_, v_a_6013_, v___y_6014_, v___y_6015_, v___y_6016_, v___y_6017_, v___y_6018_); +return v_res_6020_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(lean_object* v_f_6062_, lean_object* v_e_6063_, lean_object* v___y_6064_, lean_object* v___y_6065_, lean_object* v___y_6066_, lean_object* v___y_6067_, lean_object* v___y_6068_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(lean_object* v_f_6021_, lean_object* v_e_6022_, lean_object* v___y_6023_, lean_object* v___y_6024_, lean_object* v___y_6025_, lean_object* v___y_6026_, lean_object* v___y_6027_){ _start: { -lean_object* v___x_6070_; lean_object* v___x_6071_; -v___x_6070_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); -v___x_6071_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6062_, v___x_6070_, v_e_6063_, v___y_6064_, v___y_6065_, v___y_6066_, v___y_6067_, v___y_6068_); -return v___x_6071_; +lean_object* v___x_6029_; lean_object* v___x_6030_; +v___x_6029_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); +v___x_6030_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10(v_f_6021_, v___x_6029_, v_e_6022_, v___y_6023_, v___y_6024_, v___y_6025_, v___y_6026_, v___y_6027_); +return v___x_6030_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5___boxed(lean_object* v_f_6072_, lean_object* v_e_6073_, lean_object* v___y_6074_, lean_object* v___y_6075_, lean_object* v___y_6076_, lean_object* v___y_6077_, lean_object* v___y_6078_, lean_object* v___y_6079_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5___boxed(lean_object* v_f_6031_, lean_object* v_e_6032_, lean_object* v___y_6033_, lean_object* v___y_6034_, lean_object* v___y_6035_, lean_object* v___y_6036_, lean_object* v___y_6037_, lean_object* v___y_6038_){ _start: { -lean_object* v_res_6080_; -v_res_6080_ = l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(v_f_6072_, v_e_6073_, v___y_6074_, v___y_6075_, v___y_6076_, v___y_6077_, v___y_6078_); -return v_res_6080_; +lean_object* v_res_6039_; +v_res_6039_ = l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(v_f_6031_, v_e_6032_, v___y_6033_, v___y_6034_, v___y_6035_, v___y_6036_, v___y_6037_); +return v_res_6039_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(lean_object* v_name_6081_, lean_object* v_type_6082_, lean_object* v_val_6083_, lean_object* v_k_6084_, uint8_t v_nondep_6085_, uint8_t v_kind_6086_, lean_object* v___y_6087_, lean_object* v___y_6088_, lean_object* v___y_6089_, lean_object* v___y_6090_, lean_object* v___y_6091_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(lean_object* v_name_6040_, lean_object* v_type_6041_, lean_object* v_val_6042_, lean_object* v_k_6043_, uint8_t v_nondep_6044_, uint8_t v_kind_6045_, lean_object* v___y_6046_, lean_object* v___y_6047_, lean_object* v___y_6048_, lean_object* v___y_6049_, lean_object* v___y_6050_){ _start: { -lean_object* v___f_6093_; lean_object* v___x_6094_; -v___f_6093_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed), 8, 2); -lean_closure_set(v___f_6093_, 0, v_k_6084_); -lean_closure_set(v___f_6093_, 1, v___y_6087_); -v___x_6094_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_box(0), v_name_6081_, v_type_6082_, v_val_6083_, v___f_6093_, v_nondep_6085_, v_kind_6086_, v___y_6088_, v___y_6089_, v___y_6090_, v___y_6091_); -if (lean_obj_tag(v___x_6094_) == 0) +lean_object* v___f_6052_; lean_object* v___x_6053_; +v___f_6052_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg___lam__0___boxed), 8, 2); +lean_closure_set(v___f_6052_, 0, v_k_6043_); +lean_closure_set(v___f_6052_, 1, v___y_6046_); +v___x_6053_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp(lean_box(0), v_name_6040_, v_type_6041_, v_val_6042_, v___f_6052_, v_nondep_6044_, v_kind_6045_, v___y_6047_, v___y_6048_, v___y_6049_, v___y_6050_); +if (lean_obj_tag(v___x_6053_) == 0) { -return v___x_6094_; +return v___x_6053_; } else { -lean_object* v_a_6095_; lean_object* v___x_6097_; uint8_t v_isShared_6098_; uint8_t v_isSharedCheck_6102_; -v_a_6095_ = lean_ctor_get(v___x_6094_, 0); -v_isSharedCheck_6102_ = !lean_is_exclusive(v___x_6094_); -if (v_isSharedCheck_6102_ == 0) +lean_object* v_a_6054_; lean_object* v___x_6056_; uint8_t v_isShared_6057_; uint8_t v_isSharedCheck_6061_; +v_a_6054_ = lean_ctor_get(v___x_6053_, 0); +v_isSharedCheck_6061_ = !lean_is_exclusive(v___x_6053_); +if (v_isSharedCheck_6061_ == 0) { -v___x_6097_ = v___x_6094_; -v_isShared_6098_ = v_isSharedCheck_6102_; -goto v_resetjp_6096_; +v___x_6056_ = v___x_6053_; +v_isShared_6057_ = v_isSharedCheck_6061_; +goto v_resetjp_6055_; } else { -lean_inc(v_a_6095_); -lean_dec(v___x_6094_); -v___x_6097_ = lean_box(0); -v_isShared_6098_ = v_isSharedCheck_6102_; -goto v_resetjp_6096_; +lean_inc(v_a_6054_); +lean_dec(v___x_6053_); +v___x_6056_ = lean_box(0); +v_isShared_6057_ = v_isSharedCheck_6061_; +goto v_resetjp_6055_; } -v_resetjp_6096_: +v_resetjp_6055_: { -lean_object* v___x_6100_; -if (v_isShared_6098_ == 0) +lean_object* v___x_6059_; +if (v_isShared_6057_ == 0) { -v___x_6100_ = v___x_6097_; -goto v_reusejp_6099_; +v___x_6059_ = v___x_6056_; +goto v_reusejp_6058_; } else { -lean_object* v_reuseFailAlloc_6101_; -v_reuseFailAlloc_6101_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6101_, 0, v_a_6095_); -v___x_6100_ = v_reuseFailAlloc_6101_; -goto v_reusejp_6099_; +lean_object* v_reuseFailAlloc_6060_; +v_reuseFailAlloc_6060_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6060_, 0, v_a_6054_); +v___x_6059_ = v_reuseFailAlloc_6060_; +goto v_reusejp_6058_; } -v_reusejp_6099_: +v_reusejp_6058_: { -return v___x_6100_; +return v___x_6059_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg___boxed(lean_object* v_name_6103_, lean_object* v_type_6104_, lean_object* v_val_6105_, lean_object* v_k_6106_, lean_object* v_nondep_6107_, lean_object* v_kind_6108_, lean_object* v___y_6109_, lean_object* v___y_6110_, lean_object* v___y_6111_, lean_object* v___y_6112_, lean_object* v___y_6113_, lean_object* v___y_6114_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg___boxed(lean_object* v_name_6062_, lean_object* v_type_6063_, lean_object* v_val_6064_, lean_object* v_k_6065_, lean_object* v_nondep_6066_, lean_object* v_kind_6067_, lean_object* v___y_6068_, lean_object* v___y_6069_, lean_object* v___y_6070_, lean_object* v___y_6071_, lean_object* v___y_6072_, lean_object* v___y_6073_){ _start: { -uint8_t v_nondep_boxed_6115_; uint8_t v_kind_boxed_6116_; lean_object* v_res_6117_; -v_nondep_boxed_6115_ = lean_unbox(v_nondep_6107_); -v_kind_boxed_6116_ = lean_unbox(v_kind_6108_); -v_res_6117_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_name_6103_, v_type_6104_, v_val_6105_, v_k_6106_, v_nondep_boxed_6115_, v_kind_boxed_6116_, v___y_6109_, v___y_6110_, v___y_6111_, v___y_6112_, v___y_6113_); -return v_res_6117_; +uint8_t v_nondep_boxed_6074_; uint8_t v_kind_boxed_6075_; lean_object* v_res_6076_; +v_nondep_boxed_6074_ = lean_unbox(v_nondep_6066_); +v_kind_boxed_6075_ = lean_unbox(v_kind_6067_); +v_res_6076_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_name_6062_, v_type_6063_, v_val_6064_, v_k_6065_, v_nondep_boxed_6074_, v_kind_boxed_6075_, v___y_6068_, v___y_6069_, v___y_6070_, v___y_6071_, v___y_6072_); +return v_res_6076_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0___boxed(lean_object* v_fvars_6118_, lean_object* v_f_6119_, lean_object* v_body_6120_, lean_object* v_x_6121_, lean_object* v___y_6122_, lean_object* v___y_6123_, lean_object* v___y_6124_, lean_object* v___y_6125_, lean_object* v___y_6126_, lean_object* v___y_6127_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0___boxed(lean_object* v_fvars_6077_, lean_object* v_f_6078_, lean_object* v_body_6079_, lean_object* v_x_6080_, lean_object* v___y_6081_, lean_object* v___y_6082_, lean_object* v___y_6083_, lean_object* v___y_6084_, lean_object* v___y_6085_, lean_object* v___y_6086_){ _start: { -lean_object* v_res_6128_; -v_res_6128_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0(v_fvars_6118_, v_f_6119_, v_body_6120_, v_x_6121_, v___y_6122_, v___y_6123_, v___y_6124_, v___y_6125_, v___y_6126_); -return v_res_6128_; +lean_object* v_res_6087_; +v_res_6087_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0(v_fvars_6077_, v_f_6078_, v_body_6079_, v_x_6080_, v___y_6081_, v___y_6082_, v___y_6083_, v___y_6084_, v___y_6085_); +return v_res_6087_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(lean_object* v_f_6129_, lean_object* v_fvars_6130_, lean_object* v_a_6131_, lean_object* v___y_6132_, lean_object* v___y_6133_, lean_object* v___y_6134_, lean_object* v___y_6135_, lean_object* v___y_6136_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(lean_object* v_f_6088_, lean_object* v_fvars_6089_, lean_object* v_a_6090_, lean_object* v___y_6091_, lean_object* v___y_6092_, lean_object* v___y_6093_, lean_object* v___y_6094_, lean_object* v___y_6095_){ _start: { -if (lean_obj_tag(v_a_6131_) == 8) +if (lean_obj_tag(v_a_6090_) == 8) { -lean_object* v_declName_6138_; lean_object* v_type_6139_; lean_object* v_value_6140_; lean_object* v_body_6141_; lean_object* v_d_6142_; lean_object* v___x_6143_; -v_declName_6138_ = lean_ctor_get(v_a_6131_, 0); -lean_inc(v_declName_6138_); -v_type_6139_ = lean_ctor_get(v_a_6131_, 1); -lean_inc_ref(v_type_6139_); -v_value_6140_ = lean_ctor_get(v_a_6131_, 2); -lean_inc_ref(v_value_6140_); -v_body_6141_ = lean_ctor_get(v_a_6131_, 3); -lean_inc_ref(v_body_6141_); -lean_dec_ref(v_a_6131_); -v_d_6142_ = lean_expr_instantiate_rev(v_type_6139_, v_fvars_6130_); -lean_dec_ref(v_type_6139_); -lean_inc_ref(v_f_6129_); -lean_inc(v___y_6136_); -lean_inc_ref(v___y_6135_); -lean_inc(v___y_6134_); -lean_inc_ref(v___y_6133_); -lean_inc(v___y_6132_); -lean_inc_ref(v_d_6142_); -v___x_6143_ = lean_apply_7(v_f_6129_, v_d_6142_, v___y_6132_, v___y_6133_, v___y_6134_, v___y_6135_, v___y_6136_, lean_box(0)); -if (lean_obj_tag(v___x_6143_) == 0) +lean_object* v_declName_6097_; lean_object* v_type_6098_; lean_object* v_value_6099_; lean_object* v_body_6100_; lean_object* v_d_6101_; lean_object* v___x_6102_; +v_declName_6097_ = lean_ctor_get(v_a_6090_, 0); +lean_inc(v_declName_6097_); +v_type_6098_ = lean_ctor_get(v_a_6090_, 1); +lean_inc_ref(v_type_6098_); +v_value_6099_ = lean_ctor_get(v_a_6090_, 2); +lean_inc_ref(v_value_6099_); +v_body_6100_ = lean_ctor_get(v_a_6090_, 3); +lean_inc_ref(v_body_6100_); +lean_dec_ref(v_a_6090_); +v_d_6101_ = lean_expr_instantiate_rev(v_type_6098_, v_fvars_6089_); +lean_dec_ref(v_type_6098_); +lean_inc_ref(v_f_6088_); +lean_inc(v___y_6095_); +lean_inc_ref(v___y_6094_); +lean_inc(v___y_6093_); +lean_inc_ref(v___y_6092_); +lean_inc(v___y_6091_); +lean_inc_ref(v_d_6101_); +v___x_6102_ = lean_apply_7(v_f_6088_, v_d_6101_, v___y_6091_, v___y_6092_, v___y_6093_, v___y_6094_, v___y_6095_, lean_box(0)); +if (lean_obj_tag(v___x_6102_) == 0) { -lean_object* v_v_6144_; lean_object* v___x_6145_; -lean_dec_ref(v___x_6143_); -v_v_6144_ = lean_expr_instantiate_rev(v_value_6140_, v_fvars_6130_); -lean_dec_ref(v_value_6140_); -lean_inc_ref(v_f_6129_); -lean_inc(v___y_6136_); -lean_inc_ref(v___y_6135_); -lean_inc(v___y_6134_); -lean_inc_ref(v___y_6133_); -lean_inc(v___y_6132_); -lean_inc_ref(v_v_6144_); -v___x_6145_ = lean_apply_7(v_f_6129_, v_v_6144_, v___y_6132_, v___y_6133_, v___y_6134_, v___y_6135_, v___y_6136_, lean_box(0)); -if (lean_obj_tag(v___x_6145_) == 0) +lean_object* v_v_6103_; lean_object* v___x_6104_; +lean_dec_ref(v___x_6102_); +v_v_6103_ = lean_expr_instantiate_rev(v_value_6099_, v_fvars_6089_); +lean_dec_ref(v_value_6099_); +lean_inc_ref(v_f_6088_); +lean_inc(v___y_6095_); +lean_inc_ref(v___y_6094_); +lean_inc(v___y_6093_); +lean_inc_ref(v___y_6092_); +lean_inc(v___y_6091_); +lean_inc_ref(v_v_6103_); +v___x_6104_ = lean_apply_7(v_f_6088_, v_v_6103_, v___y_6091_, v___y_6092_, v___y_6093_, v___y_6094_, v___y_6095_, lean_box(0)); +if (lean_obj_tag(v___x_6104_) == 0) { -lean_object* v___f_6146_; uint8_t v___x_6147_; uint8_t v___x_6148_; lean_object* v___x_6149_; -lean_dec_ref(v___x_6145_); -v___f_6146_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0___boxed), 10, 3); -lean_closure_set(v___f_6146_, 0, v_fvars_6130_); -lean_closure_set(v___f_6146_, 1, v_f_6129_); -lean_closure_set(v___f_6146_, 2, v_body_6141_); -v___x_6147_ = 0; -v___x_6148_ = 0; -v___x_6149_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_declName_6138_, v_d_6142_, v_v_6144_, v___f_6146_, v___x_6147_, v___x_6148_, v___y_6132_, v___y_6133_, v___y_6134_, v___y_6135_, v___y_6136_); -return v___x_6149_; +lean_object* v___f_6105_; uint8_t v___x_6106_; uint8_t v___x_6107_; lean_object* v___x_6108_; +lean_dec_ref(v___x_6104_); +v___f_6105_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0___boxed), 10, 3); +lean_closure_set(v___f_6105_, 0, v_fvars_6089_); +lean_closure_set(v___f_6105_, 1, v_f_6088_); +lean_closure_set(v___f_6105_, 2, v_body_6100_); +v___x_6106_ = 0; +v___x_6107_ = 0; +v___x_6108_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_declName_6097_, v_d_6101_, v_v_6103_, v___f_6105_, v___x_6106_, v___x_6107_, v___y_6091_, v___y_6092_, v___y_6093_, v___y_6094_, v___y_6095_); +return v___x_6108_; } else { -lean_dec_ref(v_v_6144_); -lean_dec_ref(v_d_6142_); -lean_dec_ref(v_body_6141_); -lean_dec(v_declName_6138_); -lean_dec(v___y_6136_); -lean_dec_ref(v___y_6135_); -lean_dec(v___y_6134_); -lean_dec_ref(v___y_6133_); -lean_dec(v___y_6132_); -lean_dec_ref(v_fvars_6130_); -lean_dec_ref(v_f_6129_); -return v___x_6145_; +lean_dec_ref(v_v_6103_); +lean_dec_ref(v_d_6101_); +lean_dec_ref(v_body_6100_); +lean_dec(v_declName_6097_); +lean_dec(v___y_6095_); +lean_dec_ref(v___y_6094_); +lean_dec(v___y_6093_); +lean_dec_ref(v___y_6092_); +lean_dec(v___y_6091_); +lean_dec_ref(v_fvars_6089_); +lean_dec_ref(v_f_6088_); +return v___x_6104_; } } else { -lean_dec_ref(v_d_6142_); -lean_dec_ref(v_body_6141_); -lean_dec_ref(v_value_6140_); -lean_dec(v_declName_6138_); -lean_dec(v___y_6136_); -lean_dec_ref(v___y_6135_); -lean_dec(v___y_6134_); -lean_dec_ref(v___y_6133_); -lean_dec(v___y_6132_); -lean_dec_ref(v_fvars_6130_); -lean_dec_ref(v_f_6129_); -return v___x_6143_; +lean_dec_ref(v_d_6101_); +lean_dec_ref(v_body_6100_); +lean_dec_ref(v_value_6099_); +lean_dec(v_declName_6097_); +lean_dec(v___y_6095_); +lean_dec_ref(v___y_6094_); +lean_dec(v___y_6093_); +lean_dec_ref(v___y_6092_); +lean_dec(v___y_6091_); +lean_dec_ref(v_fvars_6089_); +lean_dec_ref(v_f_6088_); +return v___x_6102_; } } else { -lean_object* v___x_6150_; lean_object* v___x_6151_; -v___x_6150_ = lean_expr_instantiate_rev(v_a_6131_, v_fvars_6130_); -lean_dec_ref(v_fvars_6130_); -lean_dec_ref(v_a_6131_); -v___x_6151_ = lean_apply_7(v_f_6129_, v___x_6150_, v___y_6132_, v___y_6133_, v___y_6134_, v___y_6135_, v___y_6136_, lean_box(0)); -return v___x_6151_; +lean_object* v___x_6109_; lean_object* v___x_6110_; +v___x_6109_ = lean_expr_instantiate_rev(v_a_6090_, v_fvars_6089_); +lean_dec_ref(v_fvars_6089_); +lean_dec_ref(v_a_6090_); +v___x_6110_ = lean_apply_7(v_f_6088_, v___x_6109_, v___y_6091_, v___y_6092_, v___y_6093_, v___y_6094_, v___y_6095_, lean_box(0)); +return v___x_6110_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0(lean_object* v_fvars_6152_, lean_object* v_f_6153_, lean_object* v_body_6154_, lean_object* v_x_6155_, lean_object* v___y_6156_, lean_object* v___y_6157_, lean_object* v___y_6158_, lean_object* v___y_6159_, lean_object* v___y_6160_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___lam__0(lean_object* v_fvars_6111_, lean_object* v_f_6112_, lean_object* v_body_6113_, lean_object* v_x_6114_, lean_object* v___y_6115_, lean_object* v___y_6116_, lean_object* v___y_6117_, lean_object* v___y_6118_, lean_object* v___y_6119_){ _start: { -lean_object* v___x_6162_; lean_object* v___x_6163_; -v___x_6162_ = lean_array_push(v_fvars_6152_, v_x_6155_); -v___x_6163_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6153_, v___x_6162_, v_body_6154_, v___y_6156_, v___y_6157_, v___y_6158_, v___y_6159_, v___y_6160_); -return v___x_6163_; +lean_object* v___x_6121_; lean_object* v___x_6122_; +v___x_6121_ = lean_array_push(v_fvars_6111_, v_x_6114_); +v___x_6122_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6112_, v___x_6121_, v_body_6113_, v___y_6115_, v___y_6116_, v___y_6117_, v___y_6118_, v___y_6119_); +return v___x_6122_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___boxed(lean_object* v_f_6164_, lean_object* v_fvars_6165_, lean_object* v_a_6166_, lean_object* v___y_6167_, lean_object* v___y_6168_, lean_object* v___y_6169_, lean_object* v___y_6170_, lean_object* v___y_6171_, lean_object* v___y_6172_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14___boxed(lean_object* v_f_6123_, lean_object* v_fvars_6124_, lean_object* v_a_6125_, lean_object* v___y_6126_, lean_object* v___y_6127_, lean_object* v___y_6128_, lean_object* v___y_6129_, lean_object* v___y_6130_, lean_object* v___y_6131_){ _start: { -lean_object* v_res_6173_; -v_res_6173_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6164_, v_fvars_6165_, v_a_6166_, v___y_6167_, v___y_6168_, v___y_6169_, v___y_6170_, v___y_6171_); -return v_res_6173_; +lean_object* v_res_6132_; +v_res_6132_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6123_, v_fvars_6124_, v_a_6125_, v___y_6126_, v___y_6127_, v___y_6128_, v___y_6129_, v___y_6130_); +return v_res_6132_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(lean_object* v_f_6174_, lean_object* v_e_6175_, lean_object* v___y_6176_, lean_object* v___y_6177_, lean_object* v___y_6178_, lean_object* v___y_6179_, lean_object* v___y_6180_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(lean_object* v_f_6133_, lean_object* v_e_6134_, lean_object* v___y_6135_, lean_object* v___y_6136_, lean_object* v___y_6137_, lean_object* v___y_6138_, lean_object* v___y_6139_){ _start: { -lean_object* v___x_6182_; lean_object* v___x_6183_; -v___x_6182_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); -v___x_6183_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6174_, v___x_6182_, v_e_6175_, v___y_6176_, v___y_6177_, v___y_6178_, v___y_6179_, v___y_6180_); -return v___x_6183_; +lean_object* v___x_6141_; lean_object* v___x_6142_; +v___x_6141_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); +v___x_6142_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14(v_f_6133_, v___x_6141_, v_e_6134_, v___y_6135_, v___y_6136_, v___y_6137_, v___y_6138_, v___y_6139_); +return v___x_6142_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7___boxed(lean_object* v_f_6184_, lean_object* v_e_6185_, lean_object* v___y_6186_, lean_object* v___y_6187_, lean_object* v___y_6188_, lean_object* v___y_6189_, lean_object* v___y_6190_, lean_object* v___y_6191_){ +LEAN_EXPORT lean_object* l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7___boxed(lean_object* v_f_6143_, lean_object* v_e_6144_, lean_object* v___y_6145_, lean_object* v___y_6146_, lean_object* v___y_6147_, lean_object* v___y_6148_, lean_object* v___y_6149_, lean_object* v___y_6150_){ _start: { -lean_object* v_res_6192_; -v_res_6192_ = l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(v_f_6184_, v_e_6185_, v___y_6186_, v___y_6187_, v___y_6188_, v___y_6189_, v___y_6190_); -return v_res_6192_; +lean_object* v_res_6151_; +v_res_6151_ = l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(v_f_6143_, v_e_6144_, v___y_6145_, v___y_6146_, v___y_6147_, v___y_6148_, v___y_6149_); +return v_res_6151_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_object* v_00_u03b1_6193_, lean_object* v_x_6194_, lean_object* v___y_6195_, lean_object* v___y_6196_, lean_object* v___y_6197_, lean_object* v___y_6198_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_object* v_00_u03b1_6152_, lean_object* v_x_6153_, lean_object* v___y_6154_, lean_object* v___y_6155_, lean_object* v___y_6156_, lean_object* v___y_6157_){ _start: { -lean_object* v___x_6200_; lean_object* v___x_6201_; -v___x_6200_ = lean_apply_1(v_x_6194_, lean_box(0)); -v___x_6201_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6201_, 0, v___x_6200_); -return v___x_6201_; +lean_object* v___x_6159_; lean_object* v___x_6160_; +v___x_6159_ = lean_apply_1(v_x_6153_, lean_box(0)); +v___x_6160_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6160_, 0, v___x_6159_); +return v___x_6160_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0___boxed(lean_object* v_00_u03b1_6202_, lean_object* v_x_6203_, lean_object* v___y_6204_, lean_object* v___y_6205_, lean_object* v___y_6206_, lean_object* v___y_6207_, lean_object* v___y_6208_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0___boxed(lean_object* v_00_u03b1_6161_, lean_object* v_x_6162_, lean_object* v___y_6163_, lean_object* v___y_6164_, lean_object* v___y_6165_, lean_object* v___y_6166_, lean_object* v___y_6167_){ _start: { -lean_object* v_res_6209_; -v_res_6209_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(v_00_u03b1_6202_, v_x_6203_, v___y_6204_, v___y_6205_, v___y_6206_, v___y_6207_); -lean_dec(v___y_6207_); -lean_dec_ref(v___y_6206_); -lean_dec(v___y_6205_); -lean_dec_ref(v___y_6204_); -return v_res_6209_; +lean_object* v_res_6168_; +v_res_6168_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(v_00_u03b1_6161_, v_x_6162_, v___y_6163_, v___y_6164_, v___y_6165_, v___y_6166_); +lean_dec(v___y_6166_); +lean_dec_ref(v___y_6165_); +lean_dec(v___y_6164_); +lean_dec_ref(v___y_6163_); +return v_res_6168_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed(lean_object* v_fn_6210_, lean_object* v_e_6211_, lean_object* v_a_6212_, lean_object* v___y_6213_, lean_object* v___y_6214_, lean_object* v___y_6215_, lean_object* v___y_6216_, lean_object* v___y_6217_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed(lean_object* v_fn_6169_, lean_object* v_e_6170_, lean_object* v_a_6171_, lean_object* v___y_6172_, lean_object* v___y_6173_, lean_object* v___y_6174_, lean_object* v___y_6175_, lean_object* v___y_6176_){ _start: { -lean_object* v_res_6218_; -v_res_6218_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6210_, v_e_6211_, v_a_6212_, v___y_6213_, v___y_6214_, v___y_6215_, v___y_6216_); -return v_res_6218_; +lean_object* v_res_6177_; +v_res_6177_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6169_, v_e_6170_, v_a_6171_, v___y_6172_, v___y_6173_, v___y_6174_, v___y_6175_); +return v_res_6177_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(lean_object* v_fn_6219_, lean_object* v_e_6220_, lean_object* v_a_6221_, lean_object* v___y_6222_, lean_object* v___y_6223_, lean_object* v___y_6224_, lean_object* v___y_6225_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(lean_object* v_fn_6178_, lean_object* v_e_6179_, lean_object* v_a_6180_, lean_object* v___y_6181_, lean_object* v___y_6182_, lean_object* v___y_6183_, lean_object* v___y_6184_){ _start: { -lean_object* v_a_6228_; lean_object* v___y_6240_; lean_object* v___x_6242_; lean_object* v___x_6243_; -lean_inc(v_a_6221_); -v___x_6242_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(v___x_6242_, 0, lean_box(0)); -lean_closure_set(v___x_6242_, 1, lean_box(0)); -lean_closure_set(v___x_6242_, 2, v_a_6221_); -v___x_6243_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_box(0), v___x_6242_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -if (lean_obj_tag(v___x_6243_) == 0) +lean_object* v_a_6187_; lean_object* v___y_6199_; lean_object* v___x_6201_; lean_object* v___x_6202_; +lean_inc(v_a_6180_); +v___x_6201_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(v___x_6201_, 0, lean_box(0)); +lean_closure_set(v___x_6201_, 1, lean_box(0)); +lean_closure_set(v___x_6201_, 2, v_a_6180_); +v___x_6202_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_box(0), v___x_6201_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +if (lean_obj_tag(v___x_6202_) == 0) { -lean_object* v_a_6244_; lean_object* v___x_6246_; uint8_t v_isShared_6247_; uint8_t v_isSharedCheck_6280_; -v_a_6244_ = lean_ctor_get(v___x_6243_, 0); -v_isSharedCheck_6280_ = !lean_is_exclusive(v___x_6243_); -if (v_isSharedCheck_6280_ == 0) +lean_object* v_a_6203_; lean_object* v___x_6205_; uint8_t v_isShared_6206_; uint8_t v_isSharedCheck_6239_; +v_a_6203_ = lean_ctor_get(v___x_6202_, 0); +v_isSharedCheck_6239_ = !lean_is_exclusive(v___x_6202_); +if (v_isSharedCheck_6239_ == 0) { -v___x_6246_ = v___x_6243_; -v_isShared_6247_ = v_isSharedCheck_6280_; -goto v_resetjp_6245_; +v___x_6205_ = v___x_6202_; +v_isShared_6206_ = v_isSharedCheck_6239_; +goto v_resetjp_6204_; } else { -lean_inc(v_a_6244_); -lean_dec(v___x_6243_); -v___x_6246_ = lean_box(0); -v_isShared_6247_ = v_isSharedCheck_6280_; -goto v_resetjp_6245_; +lean_inc(v_a_6203_); +lean_dec(v___x_6202_); +v___x_6205_ = lean_box(0); +v_isShared_6206_ = v_isSharedCheck_6239_; +goto v_resetjp_6204_; } -v_resetjp_6245_: +v_resetjp_6204_: { -lean_object* v___x_6248_; -v___x_6248_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_a_6244_, v_e_6220_); -lean_dec(v_a_6244_); -if (lean_obj_tag(v___x_6248_) == 0) +lean_object* v___x_6207_; +v___x_6207_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_a_6203_, v_e_6179_); +lean_dec(v_a_6203_); +if (lean_obj_tag(v___x_6207_) == 0) { -lean_object* v___x_6249_; -lean_del_object(v___x_6246_); -lean_inc_ref(v_fn_6219_); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc_ref(v_e_6220_); -v___x_6249_ = lean_apply_6(v_fn_6219_, v_e_6220_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_, lean_box(0)); -if (lean_obj_tag(v___x_6249_) == 0) +lean_object* v___x_6208_; +lean_del_object(v___x_6205_); +lean_inc_ref(v_fn_6178_); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc_ref(v_e_6179_); +v___x_6208_ = lean_apply_6(v_fn_6178_, v_e_6179_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_, lean_box(0)); +if (lean_obj_tag(v___x_6208_) == 0) { -lean_object* v_a_6250_; uint8_t v___x_6251_; -v_a_6250_ = lean_ctor_get(v___x_6249_, 0); -lean_inc(v_a_6250_); -lean_dec_ref(v___x_6249_); -v___x_6251_ = lean_unbox(v_a_6250_); -lean_dec(v_a_6250_); -if (v___x_6251_ == 0) +lean_object* v_a_6209_; uint8_t v___x_6210_; +v_a_6209_ = lean_ctor_get(v___x_6208_, 0); +lean_inc(v_a_6209_); +lean_dec_ref(v___x_6208_); +v___x_6210_ = lean_unbox(v_a_6209_); +lean_dec(v_a_6209_); +if (v___x_6210_ == 0) { -lean_object* v___x_6252_; -lean_dec_ref(v_fn_6219_); -v___x_6252_ = lean_box(0); -v_a_6228_ = v___x_6252_; -goto v___jp_6227_; +lean_object* v___x_6211_; +lean_dec_ref(v_fn_6178_); +v___x_6211_ = lean_box(0); +v_a_6187_ = v___x_6211_; +goto v___jp_6186_; } else { -switch(lean_obj_tag(v_e_6220_)) +switch(lean_obj_tag(v_e_6179_)) { case 7: { -lean_object* v___x_6253_; lean_object* v___x_6254_; -v___x_6253_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); -lean_closure_set(v___x_6253_, 0, v_fn_6219_); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_e_6220_); -v___x_6254_ = l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(v___x_6253_, v_e_6220_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6254_; -goto v___jp_6239_; +lean_object* v___x_6212_; lean_object* v___x_6213_; +v___x_6212_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); +lean_closure_set(v___x_6212_, 0, v_fn_6178_); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_e_6179_); +v___x_6213_ = l_Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5(v___x_6212_, v_e_6179_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6213_; +goto v___jp_6198_; } case 6: { -lean_object* v___x_6255_; lean_object* v___x_6256_; -v___x_6255_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); -lean_closure_set(v___x_6255_, 0, v_fn_6219_); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_e_6220_); -v___x_6256_ = l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(v___x_6255_, v_e_6220_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6256_; -goto v___jp_6239_; +lean_object* v___x_6214_; lean_object* v___x_6215_; +v___x_6214_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); +lean_closure_set(v___x_6214_, 0, v_fn_6178_); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_e_6179_); +v___x_6215_ = l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6(v___x_6214_, v_e_6179_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6215_; +goto v___jp_6198_; } case 8: { -lean_object* v___x_6257_; lean_object* v___x_6258_; -v___x_6257_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); -lean_closure_set(v___x_6257_, 0, v_fn_6219_); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_e_6220_); -v___x_6258_ = l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(v___x_6257_, v_e_6220_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6258_; -goto v___jp_6239_; +lean_object* v___x_6216_; lean_object* v___x_6217_; +v___x_6216_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___boxed), 8, 1); +lean_closure_set(v___x_6216_, 0, v_fn_6178_); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_e_6179_); +v___x_6217_ = l_Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7(v___x_6216_, v_e_6179_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6217_; +goto v___jp_6198_; } case 5: { -lean_object* v_fn_6259_; lean_object* v_arg_6260_; lean_object* v___x_6261_; -v_fn_6259_ = lean_ctor_get(v_e_6220_, 0); -v_arg_6260_ = lean_ctor_get(v_e_6220_, 1); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_fn_6259_); -lean_inc_ref(v_fn_6219_); -v___x_6261_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6219_, v_fn_6259_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -if (lean_obj_tag(v___x_6261_) == 0) +lean_object* v_fn_6218_; lean_object* v_arg_6219_; lean_object* v___x_6220_; +v_fn_6218_ = lean_ctor_get(v_e_6179_, 0); +v_arg_6219_ = lean_ctor_get(v_e_6179_, 1); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_fn_6218_); +lean_inc_ref(v_fn_6178_); +v___x_6220_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6178_, v_fn_6218_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +if (lean_obj_tag(v___x_6220_) == 0) { -lean_object* v___x_6262_; -lean_dec_ref(v___x_6261_); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_arg_6260_); -v___x_6262_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6219_, v_arg_6260_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6262_; -goto v___jp_6239_; +lean_object* v___x_6221_; +lean_dec_ref(v___x_6220_); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_arg_6219_); +v___x_6221_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6178_, v_arg_6219_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6221_; +goto v___jp_6198_; } else { -lean_dec_ref(v_fn_6219_); -v___y_6240_ = v___x_6261_; -goto v___jp_6239_; +lean_dec_ref(v_fn_6178_); +v___y_6199_ = v___x_6220_; +goto v___jp_6198_; } } case 10: { -lean_object* v_expr_6263_; lean_object* v___x_6264_; -v_expr_6263_ = lean_ctor_get(v_e_6220_, 1); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_expr_6263_); -v___x_6264_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6219_, v_expr_6263_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6264_; -goto v___jp_6239_; +lean_object* v_expr_6222_; lean_object* v___x_6223_; +v_expr_6222_ = lean_ctor_get(v_e_6179_, 1); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_expr_6222_); +v___x_6223_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6178_, v_expr_6222_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6223_; +goto v___jp_6198_; } case 11: { -lean_object* v_struct_6265_; lean_object* v___x_6266_; -v_struct_6265_ = lean_ctor_get(v_e_6220_, 2); -lean_inc(v___y_6225_); -lean_inc_ref(v___y_6224_); -lean_inc(v___y_6223_); -lean_inc_ref(v___y_6222_); -lean_inc(v_a_6221_); -lean_inc_ref(v_struct_6265_); -v___x_6266_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6219_, v_struct_6265_, v_a_6221_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -v___y_6240_ = v___x_6266_; -goto v___jp_6239_; +lean_object* v_struct_6224_; lean_object* v___x_6225_; +v_struct_6224_ = lean_ctor_get(v_e_6179_, 2); +lean_inc(v___y_6184_); +lean_inc_ref(v___y_6183_); +lean_inc(v___y_6182_); +lean_inc_ref(v___y_6181_); +lean_inc(v_a_6180_); +lean_inc_ref(v_struct_6224_); +v___x_6225_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6178_, v_struct_6224_, v_a_6180_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +v___y_6199_ = v___x_6225_; +goto v___jp_6198_; } default: { -lean_object* v___x_6267_; -lean_dec_ref(v_fn_6219_); -v___x_6267_ = lean_box(0); -v_a_6228_ = v___x_6267_; -goto v___jp_6227_; +lean_object* v___x_6226_; +lean_dec_ref(v_fn_6178_); +v___x_6226_ = lean_box(0); +v_a_6187_ = v___x_6226_; +goto v___jp_6186_; } } } } else { -lean_object* v_a_6268_; lean_object* v___x_6270_; uint8_t v_isShared_6271_; uint8_t v_isSharedCheck_6275_; -lean_dec(v___y_6225_); -lean_dec_ref(v___y_6224_); -lean_dec(v___y_6223_); -lean_dec_ref(v___y_6222_); -lean_dec(v_a_6221_); -lean_dec_ref(v_e_6220_); -lean_dec_ref(v_fn_6219_); -v_a_6268_ = lean_ctor_get(v___x_6249_, 0); -v_isSharedCheck_6275_ = !lean_is_exclusive(v___x_6249_); -if (v_isSharedCheck_6275_ == 0) +lean_object* v_a_6227_; lean_object* v___x_6229_; uint8_t v_isShared_6230_; uint8_t v_isSharedCheck_6234_; +lean_dec(v___y_6184_); +lean_dec_ref(v___y_6183_); +lean_dec(v___y_6182_); +lean_dec_ref(v___y_6181_); +lean_dec(v_a_6180_); +lean_dec_ref(v_e_6179_); +lean_dec_ref(v_fn_6178_); +v_a_6227_ = lean_ctor_get(v___x_6208_, 0); +v_isSharedCheck_6234_ = !lean_is_exclusive(v___x_6208_); +if (v_isSharedCheck_6234_ == 0) { -v___x_6270_ = v___x_6249_; -v_isShared_6271_ = v_isSharedCheck_6275_; -goto v_resetjp_6269_; +v___x_6229_ = v___x_6208_; +v_isShared_6230_ = v_isSharedCheck_6234_; +goto v_resetjp_6228_; } else { -lean_inc(v_a_6268_); -lean_dec(v___x_6249_); -v___x_6270_ = lean_box(0); -v_isShared_6271_ = v_isSharedCheck_6275_; -goto v_resetjp_6269_; +lean_inc(v_a_6227_); +lean_dec(v___x_6208_); +v___x_6229_ = lean_box(0); +v_isShared_6230_ = v_isSharedCheck_6234_; +goto v_resetjp_6228_; } -v_resetjp_6269_: +v_resetjp_6228_: { -lean_object* v___x_6273_; -if (v_isShared_6271_ == 0) +lean_object* v___x_6232_; +if (v_isShared_6230_ == 0) { -v___x_6273_ = v___x_6270_; -goto v_reusejp_6272_; +v___x_6232_ = v___x_6229_; +goto v_reusejp_6231_; } else { -lean_object* v_reuseFailAlloc_6274_; -v_reuseFailAlloc_6274_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6274_, 0, v_a_6268_); -v___x_6273_ = v_reuseFailAlloc_6274_; -goto v_reusejp_6272_; +lean_object* v_reuseFailAlloc_6233_; +v_reuseFailAlloc_6233_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6233_, 0, v_a_6227_); +v___x_6232_ = v_reuseFailAlloc_6233_; +goto v_reusejp_6231_; } -v_reusejp_6272_: +v_reusejp_6231_: { -return v___x_6273_; +return v___x_6232_; } } } } else { -lean_object* v_val_6276_; lean_object* v___x_6278_; -lean_dec(v___y_6225_); -lean_dec_ref(v___y_6224_); -lean_dec(v___y_6223_); -lean_dec_ref(v___y_6222_); -lean_dec(v_a_6221_); -lean_dec_ref(v_e_6220_); -lean_dec_ref(v_fn_6219_); -v_val_6276_ = lean_ctor_get(v___x_6248_, 0); -lean_inc(v_val_6276_); -lean_dec_ref(v___x_6248_); -if (v_isShared_6247_ == 0) +lean_object* v_val_6235_; lean_object* v___x_6237_; +lean_dec(v___y_6184_); +lean_dec_ref(v___y_6183_); +lean_dec(v___y_6182_); +lean_dec_ref(v___y_6181_); +lean_dec(v_a_6180_); +lean_dec_ref(v_e_6179_); +lean_dec_ref(v_fn_6178_); +v_val_6235_ = lean_ctor_get(v___x_6207_, 0); +lean_inc(v_val_6235_); +lean_dec_ref(v___x_6207_); +if (v_isShared_6206_ == 0) { -lean_ctor_set(v___x_6246_, 0, v_val_6276_); -v___x_6278_ = v___x_6246_; -goto v_reusejp_6277_; +lean_ctor_set(v___x_6205_, 0, v_val_6235_); +v___x_6237_ = v___x_6205_; +goto v_reusejp_6236_; } else { -lean_object* v_reuseFailAlloc_6279_; -v_reuseFailAlloc_6279_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6279_, 0, v_val_6276_); -v___x_6278_ = v_reuseFailAlloc_6279_; -goto v_reusejp_6277_; +lean_object* v_reuseFailAlloc_6238_; +v_reuseFailAlloc_6238_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6238_, 0, v_val_6235_); +v___x_6237_ = v_reuseFailAlloc_6238_; +goto v_reusejp_6236_; } -v_reusejp_6277_: +v_reusejp_6236_: { -return v___x_6278_; +return v___x_6237_; } } } } else { -lean_object* v_a_6281_; lean_object* v___x_6283_; uint8_t v_isShared_6284_; uint8_t v_isSharedCheck_6288_; -lean_dec(v___y_6225_); -lean_dec_ref(v___y_6224_); -lean_dec(v___y_6223_); -lean_dec_ref(v___y_6222_); -lean_dec(v_a_6221_); -lean_dec_ref(v_e_6220_); -lean_dec_ref(v_fn_6219_); -v_a_6281_ = lean_ctor_get(v___x_6243_, 0); -v_isSharedCheck_6288_ = !lean_is_exclusive(v___x_6243_); -if (v_isSharedCheck_6288_ == 0) +lean_object* v_a_6240_; lean_object* v___x_6242_; uint8_t v_isShared_6243_; uint8_t v_isSharedCheck_6247_; +lean_dec(v___y_6184_); +lean_dec_ref(v___y_6183_); +lean_dec(v___y_6182_); +lean_dec_ref(v___y_6181_); +lean_dec(v_a_6180_); +lean_dec_ref(v_e_6179_); +lean_dec_ref(v_fn_6178_); +v_a_6240_ = lean_ctor_get(v___x_6202_, 0); +v_isSharedCheck_6247_ = !lean_is_exclusive(v___x_6202_); +if (v_isSharedCheck_6247_ == 0) { -v___x_6283_ = v___x_6243_; -v_isShared_6284_ = v_isSharedCheck_6288_; -goto v_resetjp_6282_; +v___x_6242_ = v___x_6202_; +v_isShared_6243_ = v_isSharedCheck_6247_; +goto v_resetjp_6241_; } else { -lean_inc(v_a_6281_); -lean_dec(v___x_6243_); -v___x_6283_ = lean_box(0); -v_isShared_6284_ = v_isSharedCheck_6288_; -goto v_resetjp_6282_; +lean_inc(v_a_6240_); +lean_dec(v___x_6202_); +v___x_6242_ = lean_box(0); +v_isShared_6243_ = v_isSharedCheck_6247_; +goto v_resetjp_6241_; } -v_resetjp_6282_: +v_resetjp_6241_: { -lean_object* v___x_6286_; -if (v_isShared_6284_ == 0) +lean_object* v___x_6245_; +if (v_isShared_6243_ == 0) { -v___x_6286_ = v___x_6283_; -goto v_reusejp_6285_; +v___x_6245_ = v___x_6242_; +goto v_reusejp_6244_; } else { -lean_object* v_reuseFailAlloc_6287_; -v_reuseFailAlloc_6287_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6287_, 0, v_a_6281_); -v___x_6286_ = v_reuseFailAlloc_6287_; -goto v_reusejp_6285_; +lean_object* v_reuseFailAlloc_6246_; +v_reuseFailAlloc_6246_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6246_, 0, v_a_6240_); +v___x_6245_ = v_reuseFailAlloc_6246_; +goto v_reusejp_6244_; } -v_reusejp_6285_: +v_reusejp_6244_: { -return v___x_6286_; +return v___x_6245_; } } } -v___jp_6227_: +v___jp_6186_: { -lean_object* v___f_6229_; lean_object* v___x_6230_; -v___f_6229_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1___boxed), 4, 3); -lean_closure_set(v___f_6229_, 0, v_a_6221_); -lean_closure_set(v___f_6229_, 1, v_e_6220_); -lean_closure_set(v___f_6229_, 2, v_a_6228_); -v___x_6230_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_box(0), v___f_6229_, v___y_6222_, v___y_6223_, v___y_6224_, v___y_6225_); -lean_dec(v___y_6225_); -lean_dec_ref(v___y_6224_); -lean_dec(v___y_6223_); -lean_dec_ref(v___y_6222_); -if (lean_obj_tag(v___x_6230_) == 0) +lean_object* v___f_6188_; lean_object* v___x_6189_; +v___f_6188_ = lean_alloc_closure((void*)(l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__1___boxed), 4, 3); +lean_closure_set(v___f_6188_, 0, v_a_6180_); +lean_closure_set(v___f_6188_, 1, v_e_6179_); +lean_closure_set(v___f_6188_, 2, v_a_6187_); +v___x_6189_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2___lam__0(lean_box(0), v___f_6188_, v___y_6181_, v___y_6182_, v___y_6183_, v___y_6184_); +lean_dec(v___y_6184_); +lean_dec_ref(v___y_6183_); +lean_dec(v___y_6182_); +lean_dec_ref(v___y_6181_); +if (lean_obj_tag(v___x_6189_) == 0) { -lean_object* v___x_6232_; uint8_t v_isShared_6233_; uint8_t v_isSharedCheck_6237_; -v_isSharedCheck_6237_ = !lean_is_exclusive(v___x_6230_); -if (v_isSharedCheck_6237_ == 0) +lean_object* v___x_6191_; uint8_t v_isShared_6192_; uint8_t v_isSharedCheck_6196_; +v_isSharedCheck_6196_ = !lean_is_exclusive(v___x_6189_); +if (v_isSharedCheck_6196_ == 0) { -lean_object* v_unused_6238_; -v_unused_6238_ = lean_ctor_get(v___x_6230_, 0); -lean_dec(v_unused_6238_); -v___x_6232_ = v___x_6230_; -v_isShared_6233_ = v_isSharedCheck_6237_; -goto v_resetjp_6231_; +lean_object* v_unused_6197_; +v_unused_6197_ = lean_ctor_get(v___x_6189_, 0); +lean_dec(v_unused_6197_); +v___x_6191_ = v___x_6189_; +v_isShared_6192_ = v_isSharedCheck_6196_; +goto v_resetjp_6190_; } else { -lean_dec(v___x_6230_); -v___x_6232_ = lean_box(0); -v_isShared_6233_ = v_isSharedCheck_6237_; -goto v_resetjp_6231_; +lean_dec(v___x_6189_); +v___x_6191_ = lean_box(0); +v_isShared_6192_ = v_isSharedCheck_6196_; +goto v_resetjp_6190_; } -v_resetjp_6231_: +v_resetjp_6190_: { -lean_object* v___x_6235_; -if (v_isShared_6233_ == 0) +lean_object* v___x_6194_; +if (v_isShared_6192_ == 0) { -lean_ctor_set(v___x_6232_, 0, v_a_6228_); -v___x_6235_ = v___x_6232_; -goto v_reusejp_6234_; +lean_ctor_set(v___x_6191_, 0, v_a_6187_); +v___x_6194_ = v___x_6191_; +goto v_reusejp_6193_; } else { -lean_object* v_reuseFailAlloc_6236_; -v_reuseFailAlloc_6236_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6236_, 0, v_a_6228_); -v___x_6235_ = v_reuseFailAlloc_6236_; -goto v_reusejp_6234_; +lean_object* v_reuseFailAlloc_6195_; +v_reuseFailAlloc_6195_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6195_, 0, v_a_6187_); +v___x_6194_ = v_reuseFailAlloc_6195_; +goto v_reusejp_6193_; } -v_reusejp_6234_: +v_reusejp_6193_: { -return v___x_6235_; +return v___x_6194_; } } } else { -return v___x_6230_; +return v___x_6189_; } } -v___jp_6239_: +v___jp_6198_: { -if (lean_obj_tag(v___y_6240_) == 0) +if (lean_obj_tag(v___y_6199_) == 0) { -lean_object* v_a_6241_; -v_a_6241_ = lean_ctor_get(v___y_6240_, 0); -lean_inc(v_a_6241_); -lean_dec_ref(v___y_6240_); -v_a_6228_ = v_a_6241_; -goto v___jp_6227_; +lean_object* v_a_6200_; +v_a_6200_ = lean_ctor_get(v___y_6199_, 0); +lean_inc(v_a_6200_); +lean_dec_ref(v___y_6199_); +v_a_6187_ = v_a_6200_; +goto v___jp_6186_; } else { -lean_dec(v___y_6225_); -lean_dec_ref(v___y_6224_); -lean_dec(v___y_6223_); -lean_dec_ref(v___y_6222_); -lean_dec(v_a_6221_); -lean_dec_ref(v_e_6220_); -return v___y_6240_; +lean_dec(v___y_6184_); +lean_dec_ref(v___y_6183_); +lean_dec(v___y_6182_); +lean_dec_ref(v___y_6181_); +lean_dec(v_a_6180_); +lean_dec_ref(v_e_6179_); +return v___y_6199_; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_object* v_00_u03b1_6289_, lean_object* v_x_6290_, lean_object* v___y_6291_, lean_object* v___y_6292_, lean_object* v___y_6293_, lean_object* v___y_6294_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_object* v_00_u03b1_6248_, lean_object* v_x_6249_, lean_object* v___y_6250_, lean_object* v___y_6251_, lean_object* v___y_6252_, lean_object* v___y_6253_){ _start: { -lean_object* v___x_6296_; lean_object* v___x_6297_; -v___x_6296_ = lean_apply_1(v_x_6290_, lean_box(0)); -v___x_6297_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6297_, 0, v___x_6296_); -return v___x_6297_; +lean_object* v___x_6255_; lean_object* v___x_6256_; +v___x_6255_ = lean_apply_1(v_x_6249_, lean_box(0)); +v___x_6256_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6256_, 0, v___x_6255_); +return v___x_6256_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0___boxed(lean_object* v_00_u03b1_6298_, lean_object* v_x_6299_, lean_object* v___y_6300_, lean_object* v___y_6301_, lean_object* v___y_6302_, lean_object* v___y_6303_, lean_object* v___y_6304_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0___boxed(lean_object* v_00_u03b1_6257_, lean_object* v_x_6258_, lean_object* v___y_6259_, lean_object* v___y_6260_, lean_object* v___y_6261_, lean_object* v___y_6262_, lean_object* v___y_6263_){ _start: { -lean_object* v_res_6305_; -v_res_6305_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(v_00_u03b1_6298_, v_x_6299_, v___y_6300_, v___y_6301_, v___y_6302_, v___y_6303_); -lean_dec(v___y_6303_); -lean_dec_ref(v___y_6302_); -lean_dec(v___y_6301_); -lean_dec_ref(v___y_6300_); -return v_res_6305_; +lean_object* v_res_6264_; +v_res_6264_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(v_00_u03b1_6257_, v_x_6258_, v___y_6259_, v___y_6260_, v___y_6261_, v___y_6262_); +lean_dec(v___y_6262_); +lean_dec_ref(v___y_6261_); +lean_dec(v___y_6260_); +lean_dec_ref(v___y_6259_); +return v_res_6264_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(lean_object* v_input_6306_, lean_object* v_fn_6307_, lean_object* v___y_6308_, lean_object* v___y_6309_, lean_object* v___y_6310_, lean_object* v___y_6311_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(lean_object* v_input_6265_, lean_object* v_fn_6266_, lean_object* v___y_6267_, lean_object* v___y_6268_, lean_object* v___y_6269_, lean_object* v___y_6270_){ _start: { -lean_object* v___x_6313_; lean_object* v___x_6314_; lean_object* v_a_6315_; lean_object* v___x_6316_; -v___x_6313_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2); -v___x_6314_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_box(0), v___x_6313_, v___y_6308_, v___y_6309_, v___y_6310_, v___y_6311_); -v_a_6315_ = lean_ctor_get(v___x_6314_, 0); -lean_inc(v_a_6315_); -lean_dec_ref(v___x_6314_); -lean_inc(v___y_6311_); -lean_inc_ref(v___y_6310_); -lean_inc(v___y_6309_); -lean_inc_ref(v___y_6308_); -lean_inc(v_a_6315_); -v___x_6316_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6307_, v_input_6306_, v_a_6315_, v___y_6308_, v___y_6309_, v___y_6310_, v___y_6311_); -if (lean_obj_tag(v___x_6316_) == 0) +lean_object* v___x_6272_; lean_object* v___x_6273_; lean_object* v_a_6274_; lean_object* v___x_6275_; +v___x_6272_ = lean_obj_once(&l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2, &l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2_once, _init_l_Lean_Core_transform___at___00Lean_Elab_eraseRecAppSyntaxExpr_spec__0___closed__2); +v___x_6273_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_box(0), v___x_6272_, v___y_6267_, v___y_6268_, v___y_6269_, v___y_6270_); +v_a_6274_ = lean_ctor_get(v___x_6273_, 0); +lean_inc(v_a_6274_); +lean_dec_ref(v___x_6273_); +lean_inc(v___y_6270_); +lean_inc_ref(v___y_6269_); +lean_inc(v___y_6268_); +lean_inc_ref(v___y_6267_); +lean_inc(v_a_6274_); +v___x_6275_ = l___private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2(v_fn_6266_, v_input_6265_, v_a_6274_, v___y_6267_, v___y_6268_, v___y_6269_, v___y_6270_); +if (lean_obj_tag(v___x_6275_) == 0) { -lean_object* v_a_6317_; lean_object* v___x_6318_; lean_object* v___x_6319_; lean_object* v___x_6321_; uint8_t v_isShared_6322_; uint8_t v_isSharedCheck_6326_; -v_a_6317_ = lean_ctor_get(v___x_6316_, 0); -lean_inc(v_a_6317_); -lean_dec_ref(v___x_6316_); -v___x_6318_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); -lean_closure_set(v___x_6318_, 0, lean_box(0)); -lean_closure_set(v___x_6318_, 1, lean_box(0)); -lean_closure_set(v___x_6318_, 2, v_a_6315_); -v___x_6319_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_box(0), v___x_6318_, v___y_6308_, v___y_6309_, v___y_6310_, v___y_6311_); -lean_dec(v___y_6311_); -lean_dec_ref(v___y_6310_); -lean_dec(v___y_6309_); -lean_dec_ref(v___y_6308_); -v_isSharedCheck_6326_ = !lean_is_exclusive(v___x_6319_); -if (v_isSharedCheck_6326_ == 0) +lean_object* v_a_6276_; lean_object* v___x_6277_; lean_object* v___x_6278_; lean_object* v___x_6280_; uint8_t v_isShared_6281_; uint8_t v_isSharedCheck_6285_; +v_a_6276_ = lean_ctor_get(v___x_6275_, 0); +lean_inc(v_a_6276_); +lean_dec_ref(v___x_6275_); +v___x_6277_ = lean_alloc_closure((void*)(l_ST_Prim_Ref_get___boxed), 4, 3); +lean_closure_set(v___x_6277_, 0, lean_box(0)); +lean_closure_set(v___x_6277_, 1, lean_box(0)); +lean_closure_set(v___x_6277_, 2, v_a_6274_); +v___x_6278_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___lam__0(lean_box(0), v___x_6277_, v___y_6267_, v___y_6268_, v___y_6269_, v___y_6270_); +lean_dec(v___y_6270_); +lean_dec_ref(v___y_6269_); +lean_dec(v___y_6268_); +lean_dec_ref(v___y_6267_); +v_isSharedCheck_6285_ = !lean_is_exclusive(v___x_6278_); +if (v_isSharedCheck_6285_ == 0) { -lean_object* v_unused_6327_; -v_unused_6327_ = lean_ctor_get(v___x_6319_, 0); -lean_dec(v_unused_6327_); -v___x_6321_ = v___x_6319_; -v_isShared_6322_ = v_isSharedCheck_6326_; -goto v_resetjp_6320_; +lean_object* v_unused_6286_; +v_unused_6286_ = lean_ctor_get(v___x_6278_, 0); +lean_dec(v_unused_6286_); +v___x_6280_ = v___x_6278_; +v_isShared_6281_ = v_isSharedCheck_6285_; +goto v_resetjp_6279_; } else { -lean_dec(v___x_6319_); -v___x_6321_ = lean_box(0); -v_isShared_6322_ = v_isSharedCheck_6326_; -goto v_resetjp_6320_; +lean_dec(v___x_6278_); +v___x_6280_ = lean_box(0); +v_isShared_6281_ = v_isSharedCheck_6285_; +goto v_resetjp_6279_; } -v_resetjp_6320_: +v_resetjp_6279_: { -lean_object* v___x_6324_; -if (v_isShared_6322_ == 0) +lean_object* v___x_6283_; +if (v_isShared_6281_ == 0) { -lean_ctor_set(v___x_6321_, 0, v_a_6317_); -v___x_6324_ = v___x_6321_; -goto v_reusejp_6323_; +lean_ctor_set(v___x_6280_, 0, v_a_6276_); +v___x_6283_ = v___x_6280_; +goto v_reusejp_6282_; } else { -lean_object* v_reuseFailAlloc_6325_; -v_reuseFailAlloc_6325_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6325_, 0, v_a_6317_); -v___x_6324_ = v_reuseFailAlloc_6325_; -goto v_reusejp_6323_; +lean_object* v_reuseFailAlloc_6284_; +v_reuseFailAlloc_6284_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6284_, 0, v_a_6276_); +v___x_6283_ = v_reuseFailAlloc_6284_; +goto v_reusejp_6282_; } -v_reusejp_6323_: +v_reusejp_6282_: { -return v___x_6324_; +return v___x_6283_; } } } else { -lean_dec(v_a_6315_); -lean_dec(v___y_6311_); -lean_dec_ref(v___y_6310_); -lean_dec(v___y_6309_); -lean_dec_ref(v___y_6308_); -return v___x_6316_; +lean_dec(v_a_6274_); +lean_dec(v___y_6270_); +lean_dec_ref(v___y_6269_); +lean_dec(v___y_6268_); +lean_dec_ref(v___y_6267_); +return v___x_6275_; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___boxed(lean_object* v_input_6328_, lean_object* v_fn_6329_, lean_object* v___y_6330_, lean_object* v___y_6331_, lean_object* v___y_6332_, lean_object* v___y_6333_, lean_object* v___y_6334_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1___boxed(lean_object* v_input_6287_, lean_object* v_fn_6288_, lean_object* v___y_6289_, lean_object* v___y_6290_, lean_object* v___y_6291_, lean_object* v___y_6292_, lean_object* v___y_6293_){ _start: { -lean_object* v_res_6335_; -v_res_6335_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(v_input_6328_, v_fn_6329_, v___y_6330_, v___y_6331_, v___y_6332_, v___y_6333_); -return v_res_6335_; +lean_object* v_res_6294_; +v_res_6294_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(v_input_6287_, v_fn_6288_, v___y_6289_, v___y_6290_, v___y_6291_, v___y_6292_); +return v_res_6294_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0(lean_object* v_f_6336_, lean_object* v_e_6337_, lean_object* v___y_6338_, lean_object* v___y_6339_, lean_object* v___y_6340_, lean_object* v___y_6341_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0(lean_object* v_f_6295_, lean_object* v_e_6296_, lean_object* v___y_6297_, lean_object* v___y_6298_, lean_object* v___y_6299_, lean_object* v___y_6300_){ _start: { -lean_object* v___x_6343_; -v___x_6343_ = lean_apply_6(v_f_6336_, v_e_6337_, v___y_6338_, v___y_6339_, v___y_6340_, v___y_6341_, lean_box(0)); -if (lean_obj_tag(v___x_6343_) == 0) +lean_object* v___x_6302_; +v___x_6302_ = lean_apply_6(v_f_6295_, v_e_6296_, v___y_6297_, v___y_6298_, v___y_6299_, v___y_6300_, lean_box(0)); +if (lean_obj_tag(v___x_6302_) == 0) { -lean_object* v___x_6345_; uint8_t v_isShared_6346_; uint8_t v_isSharedCheck_6352_; -v_isSharedCheck_6352_ = !lean_is_exclusive(v___x_6343_); -if (v_isSharedCheck_6352_ == 0) +lean_object* v___x_6304_; uint8_t v_isShared_6305_; uint8_t v_isSharedCheck_6311_; +v_isSharedCheck_6311_ = !lean_is_exclusive(v___x_6302_); +if (v_isSharedCheck_6311_ == 0) { -lean_object* v_unused_6353_; -v_unused_6353_ = lean_ctor_get(v___x_6343_, 0); -lean_dec(v_unused_6353_); -v___x_6345_ = v___x_6343_; -v_isShared_6346_ = v_isSharedCheck_6352_; -goto v_resetjp_6344_; +lean_object* v_unused_6312_; +v_unused_6312_ = lean_ctor_get(v___x_6302_, 0); +lean_dec(v_unused_6312_); +v___x_6304_ = v___x_6302_; +v_isShared_6305_ = v_isSharedCheck_6311_; +goto v_resetjp_6303_; } else { -lean_dec(v___x_6343_); -v___x_6345_ = lean_box(0); -v_isShared_6346_ = v_isSharedCheck_6352_; -goto v_resetjp_6344_; +lean_dec(v___x_6302_); +v___x_6304_ = lean_box(0); +v_isShared_6305_ = v_isSharedCheck_6311_; +goto v_resetjp_6303_; } -v_resetjp_6344_: +v_resetjp_6303_: { -uint8_t v___x_6347_; lean_object* v___x_6348_; lean_object* v___x_6350_; -v___x_6347_ = 1; -v___x_6348_ = lean_box(v___x_6347_); -if (v_isShared_6346_ == 0) +uint8_t v___x_6306_; lean_object* v___x_6307_; lean_object* v___x_6309_; +v___x_6306_ = 1; +v___x_6307_ = lean_box(v___x_6306_); +if (v_isShared_6305_ == 0) { -lean_ctor_set(v___x_6345_, 0, v___x_6348_); -v___x_6350_ = v___x_6345_; -goto v_reusejp_6349_; +lean_ctor_set(v___x_6304_, 0, v___x_6307_); +v___x_6309_ = v___x_6304_; +goto v_reusejp_6308_; } else { -lean_object* v_reuseFailAlloc_6351_; -v_reuseFailAlloc_6351_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6351_, 0, v___x_6348_); -v___x_6350_ = v_reuseFailAlloc_6351_; -goto v_reusejp_6349_; +lean_object* v_reuseFailAlloc_6310_; +v_reuseFailAlloc_6310_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6310_, 0, v___x_6307_); +v___x_6309_ = v_reuseFailAlloc_6310_; +goto v_reusejp_6308_; } -v_reusejp_6349_: +v_reusejp_6308_: { -return v___x_6350_; +return v___x_6309_; } } } else { -lean_object* v_a_6354_; lean_object* v___x_6356_; uint8_t v_isShared_6357_; uint8_t v_isSharedCheck_6361_; -v_a_6354_ = lean_ctor_get(v___x_6343_, 0); -v_isSharedCheck_6361_ = !lean_is_exclusive(v___x_6343_); -if (v_isSharedCheck_6361_ == 0) +lean_object* v_a_6313_; lean_object* v___x_6315_; uint8_t v_isShared_6316_; uint8_t v_isSharedCheck_6320_; +v_a_6313_ = lean_ctor_get(v___x_6302_, 0); +v_isSharedCheck_6320_ = !lean_is_exclusive(v___x_6302_); +if (v_isSharedCheck_6320_ == 0) { -v___x_6356_ = v___x_6343_; -v_isShared_6357_ = v_isSharedCheck_6361_; -goto v_resetjp_6355_; +v___x_6315_ = v___x_6302_; +v_isShared_6316_ = v_isSharedCheck_6320_; +goto v_resetjp_6314_; } else { -lean_inc(v_a_6354_); -lean_dec(v___x_6343_); -v___x_6356_ = lean_box(0); -v_isShared_6357_ = v_isSharedCheck_6361_; -goto v_resetjp_6355_; +lean_inc(v_a_6313_); +lean_dec(v___x_6302_); +v___x_6315_ = lean_box(0); +v_isShared_6316_ = v_isSharedCheck_6320_; +goto v_resetjp_6314_; } -v_resetjp_6355_: +v_resetjp_6314_: { -lean_object* v___x_6359_; -if (v_isShared_6357_ == 0) +lean_object* v___x_6318_; +if (v_isShared_6316_ == 0) { -v___x_6359_ = v___x_6356_; -goto v_reusejp_6358_; +v___x_6318_ = v___x_6315_; +goto v_reusejp_6317_; } else { -lean_object* v_reuseFailAlloc_6360_; -v_reuseFailAlloc_6360_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6360_, 0, v_a_6354_); -v___x_6359_ = v_reuseFailAlloc_6360_; -goto v_reusejp_6358_; +lean_object* v_reuseFailAlloc_6319_; +v_reuseFailAlloc_6319_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6319_, 0, v_a_6313_); +v___x_6318_ = v_reuseFailAlloc_6319_; +goto v_reusejp_6317_; } -v_reusejp_6358_: +v_reusejp_6317_: { -return v___x_6359_; +return v___x_6318_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0___boxed(lean_object* v_f_6362_, lean_object* v_e_6363_, lean_object* v___y_6364_, lean_object* v___y_6365_, lean_object* v___y_6366_, lean_object* v___y_6367_, lean_object* v___y_6368_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0___boxed(lean_object* v_f_6321_, lean_object* v_e_6322_, lean_object* v___y_6323_, lean_object* v___y_6324_, lean_object* v___y_6325_, lean_object* v___y_6326_, lean_object* v___y_6327_){ _start: { -lean_object* v_res_6369_; -v_res_6369_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0(v_f_6362_, v_e_6363_, v___y_6364_, v___y_6365_, v___y_6366_, v___y_6367_); -return v_res_6369_; +lean_object* v_res_6328_; +v_res_6328_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0(v_f_6321_, v_e_6322_, v___y_6323_, v___y_6324_, v___y_6325_, v___y_6326_); +return v_res_6328_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(lean_object* v_e_6370_, lean_object* v_f_6371_, lean_object* v___y_6372_, lean_object* v___y_6373_, lean_object* v___y_6374_, lean_object* v___y_6375_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(lean_object* v_e_6329_, lean_object* v_f_6330_, lean_object* v___y_6331_, lean_object* v___y_6332_, lean_object* v___y_6333_, lean_object* v___y_6334_){ _start: { -lean_object* v___f_6377_; lean_object* v___x_6378_; -v___f_6377_ = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0___boxed), 7, 1); -lean_closure_set(v___f_6377_, 0, v_f_6371_); -v___x_6378_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(v_e_6370_, v___f_6377_, v___y_6372_, v___y_6373_, v___y_6374_, v___y_6375_); -return v___x_6378_; +lean_object* v___f_6336_; lean_object* v___x_6337_; +v___f_6336_ = lean_alloc_closure((void*)(l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___lam__0___boxed), 7, 1); +lean_closure_set(v___f_6336_, 0, v_f_6330_); +v___x_6337_ = l_Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1(v_e_6329_, v___f_6336_, v___y_6331_, v___y_6332_, v___y_6333_, v___y_6334_); +return v___x_6337_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___boxed(lean_object* v_e_6379_, lean_object* v_f_6380_, lean_object* v___y_6381_, lean_object* v___y_6382_, lean_object* v___y_6383_, lean_object* v___y_6384_, lean_object* v___y_6385_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1___boxed(lean_object* v_e_6338_, lean_object* v_f_6339_, lean_object* v___y_6340_, lean_object* v___y_6341_, lean_object* v___y_6342_, lean_object* v___y_6343_, lean_object* v___y_6344_){ _start: { -lean_object* v_res_6386_; -v_res_6386_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(v_e_6379_, v_f_6380_, v___y_6381_, v___y_6382_, v___y_6383_, v___y_6384_); -return v_res_6386_; +lean_object* v_res_6345_; +v_res_6345_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(v_e_6338_, v_f_6339_, v___y_6340_, v___y_6341_, v___y_6342_, v___y_6343_); +return v_res_6345_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn(lean_object* v_recFnNames_6387_, lean_object* v_e_6388_, lean_object* v_a_6389_, lean_object* v_a_6390_, lean_object* v_a_6391_, lean_object* v_a_6392_){ +LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn(lean_object* v_recFnNames_6346_, lean_object* v_e_6347_, lean_object* v_a_6348_, lean_object* v_a_6349_, lean_object* v_a_6350_, lean_object* v_a_6351_){ _start: { -uint8_t v___x_6394_; -lean_inc_ref(v_recFnNames_6387_); -v___x_6394_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(v_recFnNames_6387_, v_e_6388_); -if (v___x_6394_ == 0) +uint8_t v___x_6353_; +lean_inc_ref(v_recFnNames_6346_); +v___x_6353_ = l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_containsRecFn(v_recFnNames_6346_, v_e_6347_); +if (v___x_6353_ == 0) { -lean_object* v___x_6395_; lean_object* v___x_6396_; -lean_dec(v_a_6392_); -lean_dec_ref(v_a_6391_); -lean_dec(v_a_6390_); -lean_dec_ref(v_a_6389_); -lean_dec_ref(v_e_6388_); -lean_dec_ref(v_recFnNames_6387_); -v___x_6395_ = lean_box(0); -v___x_6396_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6396_, 0, v___x_6395_); -return v___x_6396_; +lean_object* v___x_6354_; lean_object* v___x_6355_; +lean_dec(v_a_6351_); +lean_dec_ref(v_a_6350_); +lean_dec(v_a_6349_); +lean_dec_ref(v_a_6348_); +lean_dec_ref(v_e_6347_); +lean_dec_ref(v_recFnNames_6346_); +v___x_6354_ = lean_box(0); +v___x_6355_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6355_, 0, v___x_6354_); +return v___x_6355_; } else { -lean_object* v___f_6397_; lean_object* v___x_6398_; -v___f_6397_ = lean_alloc_closure((void*)(l_Lean_Elab_ensureNoRecFn___lam__0___boxed), 7, 1); -lean_closure_set(v___f_6397_, 0, v_recFnNames_6387_); -v___x_6398_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(v_e_6388_, v___f_6397_, v_a_6389_, v_a_6390_, v_a_6391_, v_a_6392_); +lean_object* v___f_6356_; lean_object* v___x_6357_; +v___f_6356_ = lean_alloc_closure((void*)(l_Lean_Elab_ensureNoRecFn___lam__0___boxed), 7, 1); +lean_closure_set(v___f_6356_, 0, v_recFnNames_6346_); +v___x_6357_ = l_Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1(v_e_6347_, v___f_6356_, v_a_6348_, v_a_6349_, v_a_6350_, v_a_6351_); +return v___x_6357_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___boxed(lean_object* v_recFnNames_6358_, lean_object* v_e_6359_, lean_object* v_a_6360_, lean_object* v_a_6361_, lean_object* v_a_6362_, lean_object* v_a_6363_, lean_object* v_a_6364_){ +_start: +{ +lean_object* v_res_6365_; +v_res_6365_ = l_Lean_Elab_ensureNoRecFn(v_recFnNames_6358_, v_e_6359_, v_a_6360_, v_a_6361_, v_a_6362_, v_a_6363_); +return v_res_6365_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0(lean_object* v_00_u03b1_6366_, lean_object* v_msg_6367_, lean_object* v___y_6368_, lean_object* v___y_6369_, lean_object* v___y_6370_, lean_object* v___y_6371_){ +_start: +{ +lean_object* v___x_6373_; +v___x_6373_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v_msg_6367_, v___y_6368_, v___y_6369_, v___y_6370_, v___y_6371_); +return v___x_6373_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___boxed(lean_object* v_00_u03b1_6374_, lean_object* v_msg_6375_, lean_object* v___y_6376_, lean_object* v___y_6377_, lean_object* v___y_6378_, lean_object* v___y_6379_, lean_object* v___y_6380_){ +_start: +{ +lean_object* v_res_6381_; +v_res_6381_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0(v_00_u03b1_6374_, v_msg_6375_, v___y_6376_, v___y_6377_, v___y_6378_, v___y_6379_); +lean_dec(v___y_6379_); +lean_dec_ref(v___y_6378_); +lean_dec(v___y_6377_); +lean_dec_ref(v___y_6376_); +return v_res_6381_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3(lean_object* v_00_u03b2_6382_, lean_object* v_m_6383_, lean_object* v_a_6384_){ +_start: +{ +lean_object* v___x_6385_; +v___x_6385_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_m_6383_, v_a_6384_); +return v___x_6385_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___boxed(lean_object* v_00_u03b2_6386_, lean_object* v_m_6387_, lean_object* v_a_6388_){ +_start: +{ +lean_object* v_res_6389_; +v_res_6389_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3(v_00_u03b2_6386_, v_m_6387_, v_a_6388_); +lean_dec_ref(v_a_6388_); +lean_dec_ref(v_m_6387_); +return v_res_6389_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_6390_, lean_object* v_m_6391_, lean_object* v_a_6392_, lean_object* v_b_6393_){ +_start: +{ +lean_object* v___x_6394_; +v___x_6394_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(v_m_6391_, v_a_6392_, v_b_6393_); +return v___x_6394_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4(lean_object* v_00_u03b2_6395_, lean_object* v_a_6396_, lean_object* v_x_6397_){ +_start: +{ +lean_object* v___x_6398_; +v___x_6398_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_6396_, v_x_6397_); return v___x_6398_; } } -} -LEAN_EXPORT lean_object* l_Lean_Elab_ensureNoRecFn___boxed(lean_object* v_recFnNames_6399_, lean_object* v_e_6400_, lean_object* v_a_6401_, lean_object* v_a_6402_, lean_object* v_a_6403_, lean_object* v_a_6404_, lean_object* v_a_6405_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___boxed(lean_object* v_00_u03b2_6399_, lean_object* v_a_6400_, lean_object* v_x_6401_){ _start: { -lean_object* v_res_6406_; -v_res_6406_ = l_Lean_Elab_ensureNoRecFn(v_recFnNames_6399_, v_e_6400_, v_a_6401_, v_a_6402_, v_a_6403_, v_a_6404_); -return v_res_6406_; +lean_object* v_res_6402_; +v_res_6402_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4(v_00_u03b2_6399_, v_a_6400_, v_x_6401_); +lean_dec(v_x_6401_); +lean_dec_ref(v_a_6400_); +return v_res_6402_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0(lean_object* v_00_u03b1_6407_, lean_object* v_msg_6408_, lean_object* v___y_6409_, lean_object* v___y_6410_, lean_object* v___y_6411_, lean_object* v___y_6412_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_6403_, lean_object* v_a_6404_, lean_object* v_x_6405_){ +_start: +{ +uint8_t v___x_6406_; +v___x_6406_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_6404_, v_x_6405_); +return v___x_6406_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___boxed(lean_object* v_00_u03b2_6407_, lean_object* v_a_6408_, lean_object* v_x_6409_){ +_start: +{ +uint8_t v_res_6410_; lean_object* v_r_6411_; +v_res_6410_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6(v_00_u03b2_6407_, v_a_6408_, v_x_6409_); +lean_dec(v_x_6409_); +lean_dec_ref(v_a_6408_); +v_r_6411_ = lean_box(v_res_6410_); +return v_r_6411_; +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7(lean_object* v_00_u03b2_6412_, lean_object* v_data_6413_){ _start: { lean_object* v___x_6414_; -v___x_6414_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v_msg_6408_, v___y_6409_, v___y_6410_, v___y_6411_, v___y_6412_); +v___x_6414_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(v_data_6413_); return v___x_6414_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___boxed(lean_object* v_00_u03b1_6415_, lean_object* v_msg_6416_, lean_object* v___y_6417_, lean_object* v___y_6418_, lean_object* v___y_6419_, lean_object* v___y_6420_, lean_object* v___y_6421_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8(lean_object* v_00_u03b2_6415_, lean_object* v_a_6416_, lean_object* v_b_6417_, lean_object* v_x_6418_){ _start: { -lean_object* v_res_6422_; -v_res_6422_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0(v_00_u03b1_6415_, v_msg_6416_, v___y_6417_, v___y_6418_, v___y_6419_, v___y_6420_); -lean_dec(v___y_6420_); -lean_dec_ref(v___y_6419_); -lean_dec(v___y_6418_); -lean_dec_ref(v___y_6417_); -return v_res_6422_; +lean_object* v___x_6419_; +v___x_6419_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_6416_, v_b_6417_, v_x_6418_); +return v___x_6419_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3(lean_object* v_00_u03b2_6423_, lean_object* v_m_6424_, lean_object* v_a_6425_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12(lean_object* v_00_u03b1_6420_, lean_object* v_name_6421_, uint8_t v_bi_6422_, lean_object* v_type_6423_, lean_object* v_k_6424_, uint8_t v_kind_6425_, lean_object* v___y_6426_, lean_object* v___y_6427_, lean_object* v___y_6428_, lean_object* v___y_6429_, lean_object* v___y_6430_){ _start: { -lean_object* v___x_6426_; -v___x_6426_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___redArg(v_m_6424_, v_a_6425_); -return v___x_6426_; +lean_object* v___x_6432_; +v___x_6432_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_name_6421_, v_bi_6422_, v_type_6423_, v_k_6424_, v_kind_6425_, v___y_6426_, v___y_6427_, v___y_6428_, v___y_6429_, v___y_6430_); +return v___x_6432_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3___boxed(lean_object* v_00_u03b2_6427_, lean_object* v_m_6428_, lean_object* v_a_6429_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___boxed(lean_object* v_00_u03b1_6433_, lean_object* v_name_6434_, lean_object* v_bi_6435_, lean_object* v_type_6436_, lean_object* v_k_6437_, lean_object* v_kind_6438_, lean_object* v___y_6439_, lean_object* v___y_6440_, lean_object* v___y_6441_, lean_object* v___y_6442_, lean_object* v___y_6443_, lean_object* v___y_6444_){ _start: { -lean_object* v_res_6430_; -v_res_6430_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3(v_00_u03b2_6427_, v_m_6428_, v_a_6429_); -lean_dec_ref(v_a_6429_); -lean_dec_ref(v_m_6428_); -return v_res_6430_; +uint8_t v_bi_boxed_6445_; uint8_t v_kind_boxed_6446_; lean_object* v_res_6447_; +v_bi_boxed_6445_ = lean_unbox(v_bi_6435_); +v_kind_boxed_6446_ = lean_unbox(v_kind_6438_); +v_res_6447_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12(v_00_u03b1_6433_, v_name_6434_, v_bi_boxed_6445_, v_type_6436_, v_k_6437_, v_kind_boxed_6446_, v___y_6439_, v___y_6440_, v___y_6441_, v___y_6442_, v___y_6443_); +return v_res_6447_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_6431_, lean_object* v_m_6432_, lean_object* v_a_6433_, lean_object* v_b_6434_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17(lean_object* v_00_u03b1_6448_, lean_object* v_name_6449_, lean_object* v_type_6450_, lean_object* v_val_6451_, lean_object* v_k_6452_, uint8_t v_nondep_6453_, uint8_t v_kind_6454_, lean_object* v___y_6455_, lean_object* v___y_6456_, lean_object* v___y_6457_, lean_object* v___y_6458_, lean_object* v___y_6459_){ _start: { -lean_object* v___x_6435_; -v___x_6435_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4___redArg(v_m_6432_, v_a_6433_, v_b_6434_); -return v___x_6435_; +lean_object* v___x_6461_; +v___x_6461_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_name_6449_, v_type_6450_, v_val_6451_, v_k_6452_, v_nondep_6453_, v_kind_6454_, v___y_6455_, v___y_6456_, v___y_6457_, v___y_6458_, v___y_6459_); +return v___x_6461_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4(lean_object* v_00_u03b2_6436_, lean_object* v_a_6437_, lean_object* v_x_6438_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___boxed(lean_object* v_00_u03b1_6462_, lean_object* v_name_6463_, lean_object* v_type_6464_, lean_object* v_val_6465_, lean_object* v_k_6466_, lean_object* v_nondep_6467_, lean_object* v_kind_6468_, lean_object* v___y_6469_, lean_object* v___y_6470_, lean_object* v___y_6471_, lean_object* v___y_6472_, lean_object* v___y_6473_, lean_object* v___y_6474_){ _start: { -lean_object* v___x_6439_; -v___x_6439_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___redArg(v_a_6437_, v_x_6438_); -return v___x_6439_; +uint8_t v_nondep_boxed_6475_; uint8_t v_kind_boxed_6476_; lean_object* v_res_6477_; +v_nondep_boxed_6475_ = lean_unbox(v_nondep_6467_); +v_kind_boxed_6476_ = lean_unbox(v_kind_6468_); +v_res_6477_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17(v_00_u03b1_6462_, v_name_6463_, v_type_6464_, v_val_6465_, v_k_6466_, v_nondep_boxed_6475_, v_kind_boxed_6476_, v___y_6469_, v___y_6470_, v___y_6471_, v___y_6472_, v___y_6473_); +return v_res_6477_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4___boxed(lean_object* v_00_u03b2_6440_, lean_object* v_a_6441_, lean_object* v_x_6442_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8(lean_object* v_00_u03b2_6478_, lean_object* v_i_6479_, lean_object* v_source_6480_, lean_object* v_target_6481_){ _start: { -lean_object* v_res_6443_; -v_res_6443_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__3_spec__4(v_00_u03b2_6440_, v_a_6441_, v_x_6442_); -lean_dec(v_x_6442_); -lean_dec_ref(v_a_6441_); -return v_res_6443_; +lean_object* v___x_6482_; +v___x_6482_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(v_i_6479_, v_source_6480_, v_target_6481_); +return v___x_6482_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_6444_, lean_object* v_a_6445_, lean_object* v_x_6446_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12(lean_object* v_00_u03b2_6483_, lean_object* v_x_6484_, lean_object* v_x_6485_){ _start: { -uint8_t v___x_6447_; -v___x_6447_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___redArg(v_a_6445_, v_x_6446_); -return v___x_6447_; +lean_object* v___x_6486_; +v___x_6486_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(v_x_6484_, v_x_6485_); +return v___x_6486_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6___boxed(lean_object* v_00_u03b2_6448_, lean_object* v_a_6449_, lean_object* v_x_6450_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0(lean_object* v_k_6487_, lean_object* v_b_6488_, lean_object* v_c_6489_, lean_object* v___y_6490_, lean_object* v___y_6491_, lean_object* v___y_6492_, lean_object* v___y_6493_){ _start: { -uint8_t v_res_6451_; lean_object* v_r_6452_; -v_res_6451_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__6(v_00_u03b2_6448_, v_a_6449_, v_x_6450_); -lean_dec(v_x_6450_); -lean_dec_ref(v_a_6449_); -v_r_6452_ = lean_box(v_res_6451_); -return v_r_6452_; +lean_object* v___x_6495_; +v___x_6495_ = lean_apply_7(v_k_6487_, v_b_6488_, v_c_6489_, v___y_6490_, v___y_6491_, v___y_6492_, v___y_6493_, lean_box(0)); +return v___x_6495_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7(lean_object* v_00_u03b2_6453_, lean_object* v_data_6454_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed(lean_object* v_k_6496_, lean_object* v_b_6497_, lean_object* v_c_6498_, lean_object* v___y_6499_, lean_object* v___y_6500_, lean_object* v___y_6501_, lean_object* v___y_6502_, lean_object* v___y_6503_){ _start: { -lean_object* v___x_6455_; -v___x_6455_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7___redArg(v_data_6454_); -return v___x_6455_; +lean_object* v_res_6504_; +v_res_6504_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0(v_k_6496_, v_b_6497_, v_c_6498_, v___y_6499_, v___y_6500_, v___y_6501_, v___y_6502_); +return v_res_6504_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8(lean_object* v_00_u03b2_6456_, lean_object* v_a_6457_, lean_object* v_b_6458_, lean_object* v_x_6459_){ +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(lean_object* v_e_6505_, lean_object* v_k_6506_, uint8_t v_cleanupAnnotations_6507_, lean_object* v___y_6508_, lean_object* v___y_6509_, lean_object* v___y_6510_, lean_object* v___y_6511_){ _start: { -lean_object* v___x_6460_; -v___x_6460_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__8___redArg(v_a_6457_, v_b_6458_, v_x_6459_); -return v___x_6460_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12(lean_object* v_00_u03b1_6461_, lean_object* v_name_6462_, uint8_t v_bi_6463_, lean_object* v_type_6464_, lean_object* v_k_6465_, uint8_t v_kind_6466_, lean_object* v___y_6467_, lean_object* v___y_6468_, lean_object* v___y_6469_, lean_object* v___y_6470_, lean_object* v___y_6471_){ -_start: +lean_object* v___f_6513_; uint8_t v___x_6514_; uint8_t v___x_6515_; lean_object* v___x_6516_; lean_object* v___x_6517_; +v___f_6513_ = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_6513_, 0, v_k_6506_); +v___x_6514_ = 1; +v___x_6515_ = 0; +v___x_6516_ = lean_box(0); +v___x_6517_ = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_box(0), v_e_6505_, v___x_6514_, v___x_6515_, v___x_6514_, v___x_6515_, v___x_6516_, v___f_6513_, v_cleanupAnnotations_6507_, v___y_6508_, v___y_6509_, v___y_6510_, v___y_6511_); +if (lean_obj_tag(v___x_6517_) == 0) { -lean_object* v___x_6473_; -v___x_6473_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___redArg(v_name_6462_, v_bi_6463_, v_type_6464_, v_k_6465_, v_kind_6466_, v___y_6467_, v___y_6468_, v___y_6469_, v___y_6470_, v___y_6471_); -return v___x_6473_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12___boxed(lean_object* v_00_u03b1_6474_, lean_object* v_name_6475_, lean_object* v_bi_6476_, lean_object* v_type_6477_, lean_object* v_k_6478_, lean_object* v_kind_6479_, lean_object* v___y_6480_, lean_object* v___y_6481_, lean_object* v___y_6482_, lean_object* v___y_6483_, lean_object* v___y_6484_, lean_object* v___y_6485_){ -_start: +lean_object* v_a_6518_; lean_object* v___x_6520_; uint8_t v_isShared_6521_; uint8_t v_isSharedCheck_6525_; +v_a_6518_ = lean_ctor_get(v___x_6517_, 0); +v_isSharedCheck_6525_ = !lean_is_exclusive(v___x_6517_); +if (v_isSharedCheck_6525_ == 0) { -uint8_t v_bi_boxed_6486_; uint8_t v_kind_boxed_6487_; lean_object* v_res_6488_; -v_bi_boxed_6486_ = lean_unbox(v_bi_6476_); -v_kind_boxed_6487_ = lean_unbox(v_kind_6479_); -v_res_6488_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitForall_visit___at___00Lean_Meta_visitForall___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__5_spec__10_spec__12(v_00_u03b1_6474_, v_name_6475_, v_bi_boxed_6486_, v_type_6477_, v_k_6478_, v_kind_boxed_6487_, v___y_6480_, v___y_6481_, v___y_6482_, v___y_6483_, v___y_6484_); -return v_res_6488_; +v___x_6520_ = v___x_6517_; +v_isShared_6521_ = v_isSharedCheck_6525_; +goto v_resetjp_6519_; } -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17(lean_object* v_00_u03b1_6489_, lean_object* v_name_6490_, lean_object* v_type_6491_, lean_object* v_val_6492_, lean_object* v_k_6493_, uint8_t v_nondep_6494_, uint8_t v_kind_6495_, lean_object* v___y_6496_, lean_object* v___y_6497_, lean_object* v___y_6498_, lean_object* v___y_6499_, lean_object* v___y_6500_){ -_start: +else { -lean_object* v___x_6502_; -v___x_6502_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___redArg(v_name_6490_, v_type_6491_, v_val_6492_, v_k_6493_, v_nondep_6494_, v_kind_6495_, v___y_6496_, v___y_6497_, v___y_6498_, v___y_6499_, v___y_6500_); -return v___x_6502_; +lean_inc(v_a_6518_); +lean_dec(v___x_6517_); +v___x_6520_ = lean_box(0); +v_isShared_6521_ = v_isSharedCheck_6525_; +goto v_resetjp_6519_; } -} -LEAN_EXPORT lean_object* l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17___boxed(lean_object* v_00_u03b1_6503_, lean_object* v_name_6504_, lean_object* v_type_6505_, lean_object* v_val_6506_, lean_object* v_k_6507_, lean_object* v_nondep_6508_, lean_object* v_kind_6509_, lean_object* v___y_6510_, lean_object* v___y_6511_, lean_object* v___y_6512_, lean_object* v___y_6513_, lean_object* v___y_6514_, lean_object* v___y_6515_){ -_start: -{ -uint8_t v_nondep_boxed_6516_; uint8_t v_kind_boxed_6517_; lean_object* v_res_6518_; -v_nondep_boxed_6516_ = lean_unbox(v_nondep_6508_); -v_kind_boxed_6517_ = lean_unbox(v_kind_6509_); -v_res_6518_ = l_Lean_Meta_withLetDecl___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_visitLet_visit___at___00Lean_Meta_visitLet___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__7_spec__14_spec__17(v_00_u03b1_6503_, v_name_6504_, v_type_6505_, v_val_6506_, v_k_6507_, v_nondep_boxed_6516_, v_kind_boxed_6517_, v___y_6510_, v___y_6511_, v___y_6512_, v___y_6513_, v___y_6514_); -return v_res_6518_; -} -} -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8(lean_object* v_00_u03b2_6519_, lean_object* v_i_6520_, lean_object* v_source_6521_, lean_object* v_target_6522_){ -_start: +v_resetjp_6519_: { lean_object* v___x_6523_; -v___x_6523_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8___redArg(v_i_6520_, v_source_6521_, v_target_6522_); +if (v_isShared_6521_ == 0) +{ +v___x_6523_ = v___x_6520_; +goto v_reusejp_6522_; +} +else +{ +lean_object* v_reuseFailAlloc_6524_; +v_reuseFailAlloc_6524_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6524_, 0, v_a_6518_); +v___x_6523_ = v_reuseFailAlloc_6524_; +goto v_reusejp_6522_; +} +v_reusejp_6522_: +{ return v___x_6523_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12(lean_object* v_00_u03b2_6524_, lean_object* v_x_6525_, lean_object* v_x_6526_){ -_start: -{ -lean_object* v___x_6527_; -v___x_6527_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__4_spec__7_spec__8_spec__12___redArg(v_x_6525_, v_x_6526_); -return v___x_6527_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0(lean_object* v_k_6528_, lean_object* v_b_6529_, lean_object* v_c_6530_, lean_object* v___y_6531_, lean_object* v___y_6532_, lean_object* v___y_6533_, lean_object* v___y_6534_){ -_start: -{ -lean_object* v___x_6536_; -v___x_6536_ = lean_apply_7(v_k_6528_, v_b_6529_, v_c_6530_, v___y_6531_, v___y_6532_, v___y_6533_, v___y_6534_, lean_box(0)); -return v___x_6536_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed(lean_object* v_k_6537_, lean_object* v_b_6538_, lean_object* v_c_6539_, lean_object* v___y_6540_, lean_object* v___y_6541_, lean_object* v___y_6542_, lean_object* v___y_6543_, lean_object* v___y_6544_){ -_start: -{ -lean_object* v_res_6545_; -v_res_6545_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0(v_k_6537_, v_b_6538_, v_c_6539_, v___y_6540_, v___y_6541_, v___y_6542_, v___y_6543_); -return v_res_6545_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(lean_object* v_e_6546_, lean_object* v_k_6547_, uint8_t v_cleanupAnnotations_6548_, lean_object* v___y_6549_, lean_object* v___y_6550_, lean_object* v___y_6551_, lean_object* v___y_6552_){ -_start: -{ -lean_object* v___f_6554_; uint8_t v___x_6555_; uint8_t v___x_6556_; lean_object* v___x_6557_; lean_object* v___x_6558_; -v___f_6554_ = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_6554_, 0, v_k_6547_); -v___x_6555_ = 1; -v___x_6556_ = 0; -v___x_6557_ = lean_box(0); -v___x_6558_ = l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_box(0), v_e_6546_, v___x_6555_, v___x_6556_, v___x_6555_, v___x_6556_, v___x_6557_, v___f_6554_, v_cleanupAnnotations_6548_, v___y_6549_, v___y_6550_, v___y_6551_, v___y_6552_); -if (lean_obj_tag(v___x_6558_) == 0) -{ -lean_object* v_a_6559_; lean_object* v___x_6561_; uint8_t v_isShared_6562_; uint8_t v_isSharedCheck_6566_; -v_a_6559_ = lean_ctor_get(v___x_6558_, 0); -v_isSharedCheck_6566_ = !lean_is_exclusive(v___x_6558_); -if (v_isSharedCheck_6566_ == 0) -{ -v___x_6561_ = v___x_6558_; -v_isShared_6562_ = v_isSharedCheck_6566_; -goto v_resetjp_6560_; } else { -lean_inc(v_a_6559_); -lean_dec(v___x_6558_); -v___x_6561_ = lean_box(0); -v_isShared_6562_ = v_isSharedCheck_6566_; -goto v_resetjp_6560_; -} -v_resetjp_6560_: +lean_object* v_a_6526_; lean_object* v___x_6528_; uint8_t v_isShared_6529_; uint8_t v_isSharedCheck_6533_; +v_a_6526_ = lean_ctor_get(v___x_6517_, 0); +v_isSharedCheck_6533_ = !lean_is_exclusive(v___x_6517_); +if (v_isSharedCheck_6533_ == 0) { -lean_object* v___x_6564_; -if (v_isShared_6562_ == 0) -{ -v___x_6564_ = v___x_6561_; -goto v_reusejp_6563_; +v___x_6528_ = v___x_6517_; +v_isShared_6529_ = v_isSharedCheck_6533_; +goto v_resetjp_6527_; } else { -lean_object* v_reuseFailAlloc_6565_; -v_reuseFailAlloc_6565_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6565_, 0, v_a_6559_); -v___x_6564_ = v_reuseFailAlloc_6565_; -goto v_reusejp_6563_; +lean_inc(v_a_6526_); +lean_dec(v___x_6517_); +v___x_6528_ = lean_box(0); +v_isShared_6529_ = v_isSharedCheck_6533_; +goto v_resetjp_6527_; } -v_reusejp_6563_: +v_resetjp_6527_: { -return v___x_6564_; +lean_object* v___x_6531_; +if (v_isShared_6529_ == 0) +{ +v___x_6531_ = v___x_6528_; +goto v_reusejp_6530_; +} +else +{ +lean_object* v_reuseFailAlloc_6532_; +v_reuseFailAlloc_6532_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6532_, 0, v_a_6526_); +v___x_6531_ = v_reuseFailAlloc_6532_; +goto v_reusejp_6530_; +} +v_reusejp_6530_: +{ +return v___x_6531_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___boxed(lean_object* v_e_6534_, lean_object* v_k_6535_, lean_object* v_cleanupAnnotations_6536_, lean_object* v___y_6537_, lean_object* v___y_6538_, lean_object* v___y_6539_, lean_object* v___y_6540_, lean_object* v___y_6541_){ +_start: +{ +uint8_t v_cleanupAnnotations_boxed_6542_; lean_object* v_res_6543_; +v_cleanupAnnotations_boxed_6542_ = lean_unbox(v_cleanupAnnotations_6536_); +v_res_6543_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_e_6534_, v_k_6535_, v_cleanupAnnotations_boxed_6542_, v___y_6537_, v___y_6538_, v___y_6539_, v___y_6540_); +return v_res_6543_; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0(lean_object* v_00_u03b1_6544_, lean_object* v_e_6545_, lean_object* v_k_6546_, uint8_t v_cleanupAnnotations_6547_, lean_object* v___y_6548_, lean_object* v___y_6549_, lean_object* v___y_6550_, lean_object* v___y_6551_){ +_start: +{ +lean_object* v___x_6553_; +v___x_6553_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_e_6545_, v_k_6546_, v_cleanupAnnotations_6547_, v___y_6548_, v___y_6549_, v___y_6550_, v___y_6551_); +return v___x_6553_; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___boxed(lean_object* v_00_u03b1_6554_, lean_object* v_e_6555_, lean_object* v_k_6556_, lean_object* v_cleanupAnnotations_6557_, lean_object* v___y_6558_, lean_object* v___y_6559_, lean_object* v___y_6560_, lean_object* v___y_6561_, lean_object* v___y_6562_){ +_start: +{ +uint8_t v_cleanupAnnotations_boxed_6563_; lean_object* v_res_6564_; +v_cleanupAnnotations_boxed_6563_ = lean_unbox(v_cleanupAnnotations_6557_); +v_res_6564_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0(v_00_u03b1_6554_, v_e_6555_, v_k_6556_, v_cleanupAnnotations_boxed_6563_, v___y_6558_, v___y_6559_, v___y_6560_, v___y_6561_); +return v_res_6564_; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(lean_object* v_type_6565_, lean_object* v_maxFVars_x3f_6566_, lean_object* v_k_6567_, uint8_t v_cleanupAnnotations_6568_, uint8_t v_whnfType_6569_, lean_object* v___y_6570_, lean_object* v___y_6571_, lean_object* v___y_6572_, lean_object* v___y_6573_){ +_start: +{ +lean_object* v___f_6575_; lean_object* v___x_6576_; +v___f_6575_ = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_6575_, 0, v_k_6567_); +v___x_6576_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_6565_, v_maxFVars_x3f_6566_, v___f_6575_, v_cleanupAnnotations_6568_, v_whnfType_6569_, v___y_6570_, v___y_6571_, v___y_6572_, v___y_6573_); +if (lean_obj_tag(v___x_6576_) == 0) +{ +lean_object* v_a_6577_; lean_object* v___x_6579_; uint8_t v_isShared_6580_; uint8_t v_isSharedCheck_6584_; +v_a_6577_ = lean_ctor_get(v___x_6576_, 0); +v_isSharedCheck_6584_ = !lean_is_exclusive(v___x_6576_); +if (v_isSharedCheck_6584_ == 0) +{ +v___x_6579_ = v___x_6576_; +v_isShared_6580_ = v_isSharedCheck_6584_; +goto v_resetjp_6578_; +} +else +{ +lean_inc(v_a_6577_); +lean_dec(v___x_6576_); +v___x_6579_ = lean_box(0); +v_isShared_6580_ = v_isSharedCheck_6584_; +goto v_resetjp_6578_; +} +v_resetjp_6578_: +{ +lean_object* v___x_6582_; +if (v_isShared_6580_ == 0) +{ +v___x_6582_ = v___x_6579_; +goto v_reusejp_6581_; +} +else +{ +lean_object* v_reuseFailAlloc_6583_; +v_reuseFailAlloc_6583_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6583_, 0, v_a_6577_); +v___x_6582_ = v_reuseFailAlloc_6583_; +goto v_reusejp_6581_; +} +v_reusejp_6581_: +{ +return v___x_6582_; } } } else { -lean_object* v_a_6567_; lean_object* v___x_6569_; uint8_t v_isShared_6570_; uint8_t v_isSharedCheck_6574_; -v_a_6567_ = lean_ctor_get(v___x_6558_, 0); -v_isSharedCheck_6574_ = !lean_is_exclusive(v___x_6558_); -if (v_isSharedCheck_6574_ == 0) +lean_object* v_a_6585_; lean_object* v___x_6587_; uint8_t v_isShared_6588_; uint8_t v_isSharedCheck_6592_; +v_a_6585_ = lean_ctor_get(v___x_6576_, 0); +v_isSharedCheck_6592_ = !lean_is_exclusive(v___x_6576_); +if (v_isSharedCheck_6592_ == 0) { -v___x_6569_ = v___x_6558_; -v_isShared_6570_ = v_isSharedCheck_6574_; -goto v_resetjp_6568_; +v___x_6587_ = v___x_6576_; +v_isShared_6588_ = v_isSharedCheck_6592_; +goto v_resetjp_6586_; } else { -lean_inc(v_a_6567_); -lean_dec(v___x_6558_); -v___x_6569_ = lean_box(0); -v_isShared_6570_ = v_isSharedCheck_6574_; -goto v_resetjp_6568_; +lean_inc(v_a_6585_); +lean_dec(v___x_6576_); +v___x_6587_ = lean_box(0); +v_isShared_6588_ = v_isSharedCheck_6592_; +goto v_resetjp_6586_; } -v_resetjp_6568_: +v_resetjp_6586_: { -lean_object* v___x_6572_; -if (v_isShared_6570_ == 0) +lean_object* v___x_6590_; +if (v_isShared_6588_ == 0) { -v___x_6572_ = v___x_6569_; -goto v_reusejp_6571_; +v___x_6590_ = v___x_6587_; +goto v_reusejp_6589_; } else { -lean_object* v_reuseFailAlloc_6573_; -v_reuseFailAlloc_6573_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6573_, 0, v_a_6567_); -v___x_6572_ = v_reuseFailAlloc_6573_; -goto v_reusejp_6571_; +lean_object* v_reuseFailAlloc_6591_; +v_reuseFailAlloc_6591_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6591_, 0, v_a_6585_); +v___x_6590_ = v_reuseFailAlloc_6591_; +goto v_reusejp_6589_; } -v_reusejp_6571_: +v_reusejp_6589_: { -return v___x_6572_; +return v___x_6590_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___boxed(lean_object* v_e_6575_, lean_object* v_k_6576_, lean_object* v_cleanupAnnotations_6577_, lean_object* v___y_6578_, lean_object* v___y_6579_, lean_object* v___y_6580_, lean_object* v___y_6581_, lean_object* v___y_6582_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg___boxed(lean_object* v_type_6593_, lean_object* v_maxFVars_x3f_6594_, lean_object* v_k_6595_, lean_object* v_cleanupAnnotations_6596_, lean_object* v_whnfType_6597_, lean_object* v___y_6598_, lean_object* v___y_6599_, lean_object* v___y_6600_, lean_object* v___y_6601_, lean_object* v___y_6602_){ _start: { -uint8_t v_cleanupAnnotations_boxed_6583_; lean_object* v_res_6584_; -v_cleanupAnnotations_boxed_6583_ = lean_unbox(v_cleanupAnnotations_6577_); -v_res_6584_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_e_6575_, v_k_6576_, v_cleanupAnnotations_boxed_6583_, v___y_6578_, v___y_6579_, v___y_6580_, v___y_6581_); -return v_res_6584_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0(lean_object* v_00_u03b1_6585_, lean_object* v_e_6586_, lean_object* v_k_6587_, uint8_t v_cleanupAnnotations_6588_, lean_object* v___y_6589_, lean_object* v___y_6590_, lean_object* v___y_6591_, lean_object* v___y_6592_){ -_start: -{ -lean_object* v___x_6594_; -v___x_6594_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_e_6586_, v_k_6587_, v_cleanupAnnotations_6588_, v___y_6589_, v___y_6590_, v___y_6591_, v___y_6592_); -return v___x_6594_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___boxed(lean_object* v_00_u03b1_6595_, lean_object* v_e_6596_, lean_object* v_k_6597_, lean_object* v_cleanupAnnotations_6598_, lean_object* v___y_6599_, lean_object* v___y_6600_, lean_object* v___y_6601_, lean_object* v___y_6602_, lean_object* v___y_6603_){ -_start: -{ -uint8_t v_cleanupAnnotations_boxed_6604_; lean_object* v_res_6605_; -v_cleanupAnnotations_boxed_6604_ = lean_unbox(v_cleanupAnnotations_6598_); -v_res_6605_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0(v_00_u03b1_6595_, v_e_6596_, v_k_6597_, v_cleanupAnnotations_boxed_6604_, v___y_6599_, v___y_6600_, v___y_6601_, v___y_6602_); +uint8_t v_cleanupAnnotations_boxed_6603_; uint8_t v_whnfType_boxed_6604_; lean_object* v_res_6605_; +v_cleanupAnnotations_boxed_6603_ = lean_unbox(v_cleanupAnnotations_6596_); +v_whnfType_boxed_6604_ = lean_unbox(v_whnfType_6597_); +v_res_6605_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6593_, v_maxFVars_x3f_6594_, v_k_6595_, v_cleanupAnnotations_boxed_6603_, v_whnfType_boxed_6604_, v___y_6598_, v___y_6599_, v___y_6600_, v___y_6601_); return v_res_6605_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(lean_object* v_type_6606_, lean_object* v_maxFVars_x3f_6607_, lean_object* v_k_6608_, uint8_t v_cleanupAnnotations_6609_, uint8_t v_whnfType_6610_, lean_object* v___y_6611_, lean_object* v___y_6612_, lean_object* v___y_6613_, lean_object* v___y_6614_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3(lean_object* v_00_u03b1_6606_, lean_object* v_type_6607_, lean_object* v_maxFVars_x3f_6608_, lean_object* v_k_6609_, uint8_t v_cleanupAnnotations_6610_, uint8_t v_whnfType_6611_, lean_object* v___y_6612_, lean_object* v___y_6613_, lean_object* v___y_6614_, lean_object* v___y_6615_){ _start: { -lean_object* v___f_6616_; lean_object* v___x_6617_; -v___f_6616_ = lean_alloc_closure((void*)(l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_6616_, 0, v_k_6608_); -v___x_6617_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_6606_, v_maxFVars_x3f_6607_, v___f_6616_, v_cleanupAnnotations_6609_, v_whnfType_6610_, v___y_6611_, v___y_6612_, v___y_6613_, v___y_6614_); -if (lean_obj_tag(v___x_6617_) == 0) -{ -lean_object* v_a_6618_; lean_object* v___x_6620_; uint8_t v_isShared_6621_; uint8_t v_isSharedCheck_6625_; -v_a_6618_ = lean_ctor_get(v___x_6617_, 0); -v_isSharedCheck_6625_ = !lean_is_exclusive(v___x_6617_); -if (v_isSharedCheck_6625_ == 0) -{ -v___x_6620_ = v___x_6617_; -v_isShared_6621_ = v_isSharedCheck_6625_; -goto v_resetjp_6619_; -} -else -{ -lean_inc(v_a_6618_); -lean_dec(v___x_6617_); -v___x_6620_ = lean_box(0); -v_isShared_6621_ = v_isSharedCheck_6625_; -goto v_resetjp_6619_; -} -v_resetjp_6619_: -{ -lean_object* v___x_6623_; -if (v_isShared_6621_ == 0) -{ -v___x_6623_ = v___x_6620_; -goto v_reusejp_6622_; -} -else -{ -lean_object* v_reuseFailAlloc_6624_; -v_reuseFailAlloc_6624_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6624_, 0, v_a_6618_); -v___x_6623_ = v_reuseFailAlloc_6624_; -goto v_reusejp_6622_; -} -v_reusejp_6622_: -{ -return v___x_6623_; +lean_object* v___x_6617_; +v___x_6617_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6607_, v_maxFVars_x3f_6608_, v_k_6609_, v_cleanupAnnotations_6610_, v_whnfType_6611_, v___y_6612_, v___y_6613_, v___y_6614_, v___y_6615_); +return v___x_6617_; } } -} -else -{ -lean_object* v_a_6626_; lean_object* v___x_6628_; uint8_t v_isShared_6629_; uint8_t v_isSharedCheck_6633_; -v_a_6626_ = lean_ctor_get(v___x_6617_, 0); -v_isSharedCheck_6633_ = !lean_is_exclusive(v___x_6617_); -if (v_isSharedCheck_6633_ == 0) -{ -v___x_6628_ = v___x_6617_; -v_isShared_6629_ = v_isSharedCheck_6633_; -goto v_resetjp_6627_; -} -else -{ -lean_inc(v_a_6626_); -lean_dec(v___x_6617_); -v___x_6628_ = lean_box(0); -v_isShared_6629_ = v_isSharedCheck_6633_; -goto v_resetjp_6627_; -} -v_resetjp_6627_: -{ -lean_object* v___x_6631_; -if (v_isShared_6629_ == 0) -{ -v___x_6631_ = v___x_6628_; -goto v_reusejp_6630_; -} -else -{ -lean_object* v_reuseFailAlloc_6632_; -v_reuseFailAlloc_6632_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6632_, 0, v_a_6626_); -v___x_6631_ = v_reuseFailAlloc_6632_; -goto v_reusejp_6630_; -} -v_reusejp_6630_: -{ -return v___x_6631_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg___boxed(lean_object* v_type_6634_, lean_object* v_maxFVars_x3f_6635_, lean_object* v_k_6636_, lean_object* v_cleanupAnnotations_6637_, lean_object* v_whnfType_6638_, lean_object* v___y_6639_, lean_object* v___y_6640_, lean_object* v___y_6641_, lean_object* v___y_6642_, lean_object* v___y_6643_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___boxed(lean_object* v_00_u03b1_6618_, lean_object* v_type_6619_, lean_object* v_maxFVars_x3f_6620_, lean_object* v_k_6621_, lean_object* v_cleanupAnnotations_6622_, lean_object* v_whnfType_6623_, lean_object* v___y_6624_, lean_object* v___y_6625_, lean_object* v___y_6626_, lean_object* v___y_6627_, lean_object* v___y_6628_){ _start: { -uint8_t v_cleanupAnnotations_boxed_6644_; uint8_t v_whnfType_boxed_6645_; lean_object* v_res_6646_; -v_cleanupAnnotations_boxed_6644_ = lean_unbox(v_cleanupAnnotations_6637_); -v_whnfType_boxed_6645_ = lean_unbox(v_whnfType_6638_); -v_res_6646_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6634_, v_maxFVars_x3f_6635_, v_k_6636_, v_cleanupAnnotations_boxed_6644_, v_whnfType_boxed_6645_, v___y_6639_, v___y_6640_, v___y_6641_, v___y_6642_); -return v_res_6646_; +uint8_t v_cleanupAnnotations_boxed_6629_; uint8_t v_whnfType_boxed_6630_; lean_object* v_res_6631_; +v_cleanupAnnotations_boxed_6629_ = lean_unbox(v_cleanupAnnotations_6622_); +v_whnfType_boxed_6630_ = lean_unbox(v_whnfType_6623_); +v_res_6631_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3(v_00_u03b1_6618_, v_type_6619_, v_maxFVars_x3f_6620_, v_k_6621_, v_cleanupAnnotations_boxed_6629_, v_whnfType_boxed_6630_, v___y_6624_, v___y_6625_, v___y_6626_, v___y_6627_); +return v_res_6631_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3(lean_object* v_00_u03b1_6647_, lean_object* v_type_6648_, lean_object* v_maxFVars_x3f_6649_, lean_object* v_k_6650_, uint8_t v_cleanupAnnotations_6651_, uint8_t v_whnfType_6652_, lean_object* v___y_6653_, lean_object* v___y_6654_, lean_object* v___y_6655_, lean_object* v___y_6656_){ +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(lean_object* v_o_6632_, lean_object* v_k_6633_, uint8_t v_v_6634_){ _start: { -lean_object* v___x_6658_; -v___x_6658_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6648_, v_maxFVars_x3f_6649_, v_k_6650_, v_cleanupAnnotations_6651_, v_whnfType_6652_, v___y_6653_, v___y_6654_, v___y_6655_, v___y_6656_); -return v___x_6658_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___boxed(lean_object* v_00_u03b1_6659_, lean_object* v_type_6660_, lean_object* v_maxFVars_x3f_6661_, lean_object* v_k_6662_, lean_object* v_cleanupAnnotations_6663_, lean_object* v_whnfType_6664_, lean_object* v___y_6665_, lean_object* v___y_6666_, lean_object* v___y_6667_, lean_object* v___y_6668_, lean_object* v___y_6669_){ -_start: +lean_object* v_map_6635_; uint8_t v_hasTrace_6636_; lean_object* v___x_6638_; uint8_t v_isShared_6639_; uint8_t v_isSharedCheck_6650_; +v_map_6635_ = lean_ctor_get(v_o_6632_, 0); +v_hasTrace_6636_ = lean_ctor_get_uint8(v_o_6632_, sizeof(void*)*1); +v_isSharedCheck_6650_ = !lean_is_exclusive(v_o_6632_); +if (v_isSharedCheck_6650_ == 0) { -uint8_t v_cleanupAnnotations_boxed_6670_; uint8_t v_whnfType_boxed_6671_; lean_object* v_res_6672_; -v_cleanupAnnotations_boxed_6670_ = lean_unbox(v_cleanupAnnotations_6663_); -v_whnfType_boxed_6671_ = lean_unbox(v_whnfType_6664_); -v_res_6672_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3(v_00_u03b1_6659_, v_type_6660_, v_maxFVars_x3f_6661_, v_k_6662_, v_cleanupAnnotations_boxed_6670_, v_whnfType_boxed_6671_, v___y_6665_, v___y_6666_, v___y_6667_, v___y_6668_); -return v_res_6672_; -} -} -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(lean_object* v_o_6673_, lean_object* v_k_6674_, uint8_t v_v_6675_){ -_start: -{ -lean_object* v_map_6676_; uint8_t v_hasTrace_6677_; lean_object* v___x_6679_; uint8_t v_isShared_6680_; uint8_t v_isSharedCheck_6691_; -v_map_6676_ = lean_ctor_get(v_o_6673_, 0); -v_hasTrace_6677_ = lean_ctor_get_uint8(v_o_6673_, sizeof(void*)*1); -v_isSharedCheck_6691_ = !lean_is_exclusive(v_o_6673_); -if (v_isSharedCheck_6691_ == 0) -{ -v___x_6679_ = v_o_6673_; -v_isShared_6680_ = v_isSharedCheck_6691_; -goto v_resetjp_6678_; +v___x_6638_ = v_o_6632_; +v_isShared_6639_ = v_isSharedCheck_6650_; +goto v_resetjp_6637_; } else { -lean_inc(v_map_6676_); -lean_dec(v_o_6673_); -v___x_6679_ = lean_box(0); -v_isShared_6680_ = v_isSharedCheck_6691_; -goto v_resetjp_6678_; +lean_inc(v_map_6635_); +lean_dec(v_o_6632_); +v___x_6638_ = lean_box(0); +v_isShared_6639_ = v_isSharedCheck_6650_; +goto v_resetjp_6637_; } -v_resetjp_6678_: +v_resetjp_6637_: { -lean_object* v___x_6681_; lean_object* v___x_6682_; -v___x_6681_ = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(v___x_6681_, 0, v_v_6675_); -lean_inc(v_k_6674_); -v___x_6682_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_6674_, v___x_6681_, v_map_6676_); -if (v_hasTrace_6677_ == 0) +lean_object* v___x_6640_; lean_object* v___x_6641_; +v___x_6640_ = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(v___x_6640_, 0, v_v_6634_); +lean_inc(v_k_6633_); +v___x_6641_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_6633_, v___x_6640_, v_map_6635_); +if (v_hasTrace_6636_ == 0) { -lean_object* v___x_6683_; uint8_t v___x_6684_; lean_object* v___x_6686_; -v___x_6683_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00Lean_Elab_fixLevelParams_spec__3___redArg___closed__1)); -v___x_6684_ = l_Lean_Name_isPrefixOf(v___x_6683_, v_k_6674_); -lean_dec(v_k_6674_); -if (v_isShared_6680_ == 0) +lean_object* v___x_6642_; uint8_t v___x_6643_; lean_object* v___x_6645_; +v___x_6642_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00Lean_Elab_fixLevelParams_spec__3___redArg___closed__1)); +v___x_6643_ = l_Lean_Name_isPrefixOf(v___x_6642_, v_k_6633_); +lean_dec(v_k_6633_); +if (v_isShared_6639_ == 0) { -lean_ctor_set(v___x_6679_, 0, v___x_6682_); -v___x_6686_ = v___x_6679_; -goto v_reusejp_6685_; +lean_ctor_set(v___x_6638_, 0, v___x_6641_); +v___x_6645_ = v___x_6638_; +goto v_reusejp_6644_; } else { -lean_object* v_reuseFailAlloc_6687_; -v_reuseFailAlloc_6687_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_6687_, 0, v___x_6682_); -v___x_6686_ = v_reuseFailAlloc_6687_; -goto v_reusejp_6685_; +lean_object* v_reuseFailAlloc_6646_; +v_reuseFailAlloc_6646_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_6646_, 0, v___x_6641_); +v___x_6645_ = v_reuseFailAlloc_6646_; +goto v_reusejp_6644_; } -v_reusejp_6685_: +v_reusejp_6644_: { -lean_ctor_set_uint8(v___x_6686_, sizeof(void*)*1, v___x_6684_); -return v___x_6686_; +lean_ctor_set_uint8(v___x_6645_, sizeof(void*)*1, v___x_6643_); +return v___x_6645_; } } else { -lean_object* v___x_6689_; -lean_dec(v_k_6674_); -if (v_isShared_6680_ == 0) +lean_object* v___x_6648_; +lean_dec(v_k_6633_); +if (v_isShared_6639_ == 0) { -lean_ctor_set(v___x_6679_, 0, v___x_6682_); -v___x_6689_ = v___x_6679_; -goto v_reusejp_6688_; +lean_ctor_set(v___x_6638_, 0, v___x_6641_); +v___x_6648_ = v___x_6638_; +goto v_reusejp_6647_; } else { -lean_object* v_reuseFailAlloc_6690_; -v_reuseFailAlloc_6690_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_6690_, 0, v___x_6682_); -lean_ctor_set_uint8(v_reuseFailAlloc_6690_, sizeof(void*)*1, v_hasTrace_6677_); -v___x_6689_ = v_reuseFailAlloc_6690_; -goto v_reusejp_6688_; +lean_object* v_reuseFailAlloc_6649_; +v_reuseFailAlloc_6649_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_6649_, 0, v___x_6641_); +lean_ctor_set_uint8(v_reuseFailAlloc_6649_, sizeof(void*)*1, v_hasTrace_6636_); +v___x_6648_ = v_reuseFailAlloc_6649_; +goto v_reusejp_6647_; } -v_reusejp_6688_: +v_reusejp_6647_: { -return v___x_6689_; +return v___x_6648_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2___boxed(lean_object* v_o_6692_, lean_object* v_k_6693_, lean_object* v_v_6694_){ +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2___boxed(lean_object* v_o_6651_, lean_object* v_k_6652_, lean_object* v_v_6653_){ _start: { -uint8_t v_v_boxed_6695_; lean_object* v_res_6696_; -v_v_boxed_6695_ = lean_unbox(v_v_6694_); -v_res_6696_ = l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(v_o_6692_, v_k_6693_, v_v_boxed_6695_); -return v_res_6696_; +uint8_t v_v_boxed_6654_; lean_object* v_res_6655_; +v_v_boxed_6654_ = lean_unbox(v_v_6653_); +v_res_6655_ = l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(v_o_6651_, v_k_6652_, v_v_boxed_6654_); +return v_res_6655_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(lean_object* v_opts_6697_, lean_object* v_opt_6698_, uint8_t v_val_6699_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(lean_object* v_opts_6656_, lean_object* v_opt_6657_, uint8_t v_val_6658_){ _start: { -lean_object* v_name_6700_; lean_object* v___x_6701_; -v_name_6700_ = lean_ctor_get(v_opt_6698_, 0); -lean_inc(v_name_6700_); -lean_dec_ref(v_opt_6698_); -v___x_6701_ = l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(v_opts_6697_, v_name_6700_, v_val_6699_); -return v___x_6701_; +lean_object* v_name_6659_; lean_object* v___x_6660_; +v_name_6659_ = lean_ctor_get(v_opt_6657_, 0); +lean_inc(v_name_6659_); +lean_dec_ref(v_opt_6657_); +v___x_6660_ = l_Lean_Options_set___at___00Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2_spec__2(v_opts_6656_, v_name_6659_, v_val_6658_); +return v___x_6660_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2___boxed(lean_object* v_opts_6702_, lean_object* v_opt_6703_, lean_object* v_val_6704_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2___boxed(lean_object* v_opts_6661_, lean_object* v_opt_6662_, lean_object* v_val_6663_){ _start: { -uint8_t v_val_boxed_6705_; lean_object* v_res_6706_; -v_val_boxed_6705_ = lean_unbox(v_val_6704_); -v_res_6706_ = l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(v_opts_6702_, v_opt_6703_, v_val_boxed_6705_); -return v_res_6706_; +uint8_t v_val_boxed_6664_; lean_object* v_res_6665_; +v_val_boxed_6664_ = lean_unbox(v_val_6663_); +v_res_6665_ = l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(v_opts_6661_, v_opt_6662_, v_val_boxed_6664_); +return v_res_6665_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1(void){ _start: { -lean_object* v___x_6708_; lean_object* v___x_6709_; -v___x_6708_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__0)); -v___x_6709_ = l_Lean_stringToMessageData(v___x_6708_); -return v___x_6709_; +lean_object* v___x_6667_; lean_object* v___x_6668_; +v___x_6667_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__0)); +v___x_6668_ = l_Lean_stringToMessageData(v___x_6667_); +return v___x_6668_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3(void){ _start: { -lean_object* v___x_6711_; lean_object* v___x_6712_; -v___x_6711_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__2)); -v___x_6712_ = l_Lean_stringToMessageData(v___x_6711_); -return v___x_6712_; +lean_object* v___x_6670_; lean_object* v___x_6671_; +v___x_6670_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__2)); +v___x_6671_ = l_Lean_stringToMessageData(v___x_6670_); +return v___x_6671_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4(void){ _start: { -lean_object* v___x_6713_; lean_object* v___x_6714_; lean_object* v___x_6715_; -v___x_6713_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3); -v___x_6714_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1); -v___x_6715_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6715_, 0, v___x_6714_); -lean_ctor_set(v___x_6715_, 1, v___x_6713_); -return v___x_6715_; +lean_object* v___x_6672_; lean_object* v___x_6673_; lean_object* v___x_6674_; +v___x_6672_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__3); +v___x_6673_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__1); +v___x_6674_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6674_, 0, v___x_6673_); +lean_ctor_set(v___x_6674_, 1, v___x_6672_); +return v___x_6674_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6(void){ _start: { -lean_object* v___x_6717_; lean_object* v___x_6718_; -v___x_6717_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__5)); -v___x_6718_ = l_Lean_stringToMessageData(v___x_6717_); -return v___x_6718_; +lean_object* v___x_6676_; lean_object* v___x_6677_; +v___x_6676_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__5)); +v___x_6677_ = l_Lean_stringToMessageData(v___x_6676_); +return v___x_6677_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8(void){ _start: { -lean_object* v___x_6720_; lean_object* v___x_6721_; -v___x_6720_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__7)); -v___x_6721_ = l_Lean_stringToMessageData(v___x_6720_); -return v___x_6721_; +lean_object* v___x_6679_; lean_object* v___x_6680_; +v___x_6679_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__7)); +v___x_6680_ = l_Lean_stringToMessageData(v___x_6679_); +return v___x_6680_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10(void){ _start: { -lean_object* v___x_6723_; lean_object* v___x_6724_; -v___x_6723_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__9)); -v___x_6724_ = l_Lean_stringToMessageData(v___x_6723_); -return v___x_6724_; +lean_object* v___x_6682_; lean_object* v___x_6683_; +v___x_6682_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__9)); +v___x_6683_ = l_Lean_stringToMessageData(v___x_6682_); +return v___x_6683_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12(void){ _start: { -lean_object* v___x_6726_; lean_object* v___x_6727_; -v___x_6726_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__11)); -v___x_6727_ = l_Lean_stringToMessageData(v___x_6726_); -return v___x_6727_; +lean_object* v___x_6685_; lean_object* v___x_6686_; +v___x_6685_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__11)); +v___x_6686_ = l_Lean_stringToMessageData(v___x_6685_); +return v___x_6686_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14(void){ _start: { -lean_object* v___x_6729_; lean_object* v___x_6730_; -v___x_6729_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__13)); -v___x_6730_ = l_Lean_stringToMessageData(v___x_6729_); -return v___x_6730_; +lean_object* v___x_6688_; lean_object* v___x_6689_; +v___x_6688_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__13)); +v___x_6689_ = l_Lean_stringToMessageData(v___x_6688_); +return v___x_6689_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0(lean_object* v_a_6731_, lean_object* v_type_u2080_6732_, lean_object* v___x_6733_, lean_object* v___x_6734_, lean_object* v_preDefs_6735_, lean_object* v_a_6736_, lean_object* v___x_6737_, lean_object* v_x_6738_, lean_object* v_type_u1d62_6739_, lean_object* v___y_6740_, lean_object* v___y_6741_, lean_object* v___y_6742_, lean_object* v___y_6743_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0(lean_object* v_a_6690_, lean_object* v_type_u2080_6691_, lean_object* v___x_6692_, lean_object* v___x_6693_, lean_object* v_preDefs_6694_, lean_object* v_a_6695_, lean_object* v___x_6696_, lean_object* v_x_6697_, lean_object* v_type_u1d62_6698_, lean_object* v___y_6699_, lean_object* v___y_6700_, lean_object* v___y_6701_, lean_object* v___y_6702_){ _start: { -lean_object* v___x_6745_; -lean_inc(v___y_6743_); -lean_inc_ref(v___y_6742_); -lean_inc(v___y_6741_); -lean_inc_ref(v___y_6740_); -lean_inc_ref(v_type_u1d62_6739_); -v___x_6745_ = l_Lean_Meta_getLevel(v_type_u1d62_6739_, v___y_6740_, v___y_6741_, v___y_6742_, v___y_6743_); -if (lean_obj_tag(v___x_6745_) == 0) +lean_object* v___x_6704_; +lean_inc(v___y_6702_); +lean_inc_ref(v___y_6701_); +lean_inc(v___y_6700_); +lean_inc_ref(v___y_6699_); +lean_inc_ref(v_type_u1d62_6698_); +v___x_6704_ = l_Lean_Meta_getLevel(v_type_u1d62_6698_, v___y_6699_, v___y_6700_, v___y_6701_, v___y_6702_); +if (lean_obj_tag(v___x_6704_) == 0) { -lean_object* v_a_6746_; lean_object* v___x_6747_; -v_a_6746_ = lean_ctor_get(v___x_6745_, 0); -lean_inc(v_a_6746_); -lean_dec_ref(v___x_6745_); -lean_inc(v___y_6743_); -lean_inc_ref(v___y_6742_); -lean_inc(v___y_6741_); -lean_inc_ref(v___y_6740_); -v___x_6747_ = l_Lean_Meta_isLevelDefEq(v_a_6731_, v_a_6746_, v___y_6740_, v___y_6741_, v___y_6742_, v___y_6743_); -if (lean_obj_tag(v___x_6747_) == 0) +lean_object* v_a_6705_; lean_object* v___x_6706_; +v_a_6705_ = lean_ctor_get(v___x_6704_, 0); +lean_inc(v_a_6705_); +lean_dec_ref(v___x_6704_); +lean_inc(v___y_6702_); +lean_inc_ref(v___y_6701_); +lean_inc(v___y_6700_); +lean_inc_ref(v___y_6699_); +v___x_6706_ = l_Lean_Meta_isLevelDefEq(v_a_6690_, v_a_6705_, v___y_6699_, v___y_6700_, v___y_6701_, v___y_6702_); +if (lean_obj_tag(v___x_6706_) == 0) { -lean_object* v_a_6748_; lean_object* v___x_6750_; uint8_t v_isShared_6751_; uint8_t v_isSharedCheck_6874_; -v_a_6748_ = lean_ctor_get(v___x_6747_, 0); -v_isSharedCheck_6874_ = !lean_is_exclusive(v___x_6747_); -if (v_isSharedCheck_6874_ == 0) +lean_object* v_a_6707_; lean_object* v___x_6709_; uint8_t v_isShared_6710_; uint8_t v_isSharedCheck_6833_; +v_a_6707_ = lean_ctor_get(v___x_6706_, 0); +v_isSharedCheck_6833_ = !lean_is_exclusive(v___x_6706_); +if (v_isSharedCheck_6833_ == 0) { -v___x_6750_ = v___x_6747_; -v_isShared_6751_ = v_isSharedCheck_6874_; -goto v_resetjp_6749_; +v___x_6709_ = v___x_6706_; +v_isShared_6710_ = v_isSharedCheck_6833_; +goto v_resetjp_6708_; } else { -lean_inc(v_a_6748_); -lean_dec(v___x_6747_); -v___x_6750_ = lean_box(0); -v_isShared_6751_ = v_isSharedCheck_6874_; -goto v_resetjp_6749_; +lean_inc(v_a_6707_); +lean_dec(v___x_6706_); +v___x_6709_ = lean_box(0); +v_isShared_6710_ = v_isSharedCheck_6833_; +goto v_resetjp_6708_; } -v_resetjp_6749_: +v_resetjp_6708_: { -uint8_t v___x_6752_; -v___x_6752_ = lean_unbox(v_a_6748_); -if (v___x_6752_ == 0) +uint8_t v___x_6711_; +v___x_6711_ = lean_unbox(v_a_6707_); +if (v___x_6711_ == 0) { -lean_object* v___x_6753_; lean_object* v_fileName_6754_; lean_object* v_fileMap_6755_; lean_object* v_options_6756_; lean_object* v_currRecDepth_6757_; lean_object* v_ref_6758_; lean_object* v_currNamespace_6759_; lean_object* v_openDecls_6760_; lean_object* v_initHeartbeats_6761_; lean_object* v_maxHeartbeats_6762_; lean_object* v_quotContext_6763_; lean_object* v_currMacroScope_6764_; lean_object* v_cancelTk_x3f_6765_; uint8_t v_suppressElabErrors_6766_; lean_object* v_inheritedTraceOptions_6767_; lean_object* v___x_6769_; uint8_t v_isShared_6770_; uint8_t v_isSharedCheck_6869_; -lean_del_object(v___x_6750_); -v___x_6753_ = lean_st_ref_get(v___y_6743_); -v_fileName_6754_ = lean_ctor_get(v___y_6742_, 0); -v_fileMap_6755_ = lean_ctor_get(v___y_6742_, 1); -v_options_6756_ = lean_ctor_get(v___y_6742_, 2); -v_currRecDepth_6757_ = lean_ctor_get(v___y_6742_, 3); -v_ref_6758_ = lean_ctor_get(v___y_6742_, 5); -v_currNamespace_6759_ = lean_ctor_get(v___y_6742_, 6); -v_openDecls_6760_ = lean_ctor_get(v___y_6742_, 7); -v_initHeartbeats_6761_ = lean_ctor_get(v___y_6742_, 8); -v_maxHeartbeats_6762_ = lean_ctor_get(v___y_6742_, 9); -v_quotContext_6763_ = lean_ctor_get(v___y_6742_, 10); -v_currMacroScope_6764_ = lean_ctor_get(v___y_6742_, 11); -v_cancelTk_x3f_6765_ = lean_ctor_get(v___y_6742_, 12); -v_suppressElabErrors_6766_ = lean_ctor_get_uint8(v___y_6742_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_6767_ = lean_ctor_get(v___y_6742_, 13); -v_isSharedCheck_6869_ = !lean_is_exclusive(v___y_6742_); -if (v_isSharedCheck_6869_ == 0) +lean_object* v___x_6712_; lean_object* v_fileName_6713_; lean_object* v_fileMap_6714_; lean_object* v_options_6715_; lean_object* v_currRecDepth_6716_; lean_object* v_ref_6717_; lean_object* v_currNamespace_6718_; lean_object* v_openDecls_6719_; lean_object* v_initHeartbeats_6720_; lean_object* v_maxHeartbeats_6721_; lean_object* v_quotContext_6722_; lean_object* v_currMacroScope_6723_; lean_object* v_cancelTk_x3f_6724_; uint8_t v_suppressElabErrors_6725_; lean_object* v_inheritedTraceOptions_6726_; lean_object* v___x_6728_; uint8_t v_isShared_6729_; uint8_t v_isSharedCheck_6828_; +lean_del_object(v___x_6709_); +v___x_6712_ = lean_st_ref_get(v___y_6702_); +v_fileName_6713_ = lean_ctor_get(v___y_6701_, 0); +v_fileMap_6714_ = lean_ctor_get(v___y_6701_, 1); +v_options_6715_ = lean_ctor_get(v___y_6701_, 2); +v_currRecDepth_6716_ = lean_ctor_get(v___y_6701_, 3); +v_ref_6717_ = lean_ctor_get(v___y_6701_, 5); +v_currNamespace_6718_ = lean_ctor_get(v___y_6701_, 6); +v_openDecls_6719_ = lean_ctor_get(v___y_6701_, 7); +v_initHeartbeats_6720_ = lean_ctor_get(v___y_6701_, 8); +v_maxHeartbeats_6721_ = lean_ctor_get(v___y_6701_, 9); +v_quotContext_6722_ = lean_ctor_get(v___y_6701_, 10); +v_currMacroScope_6723_ = lean_ctor_get(v___y_6701_, 11); +v_cancelTk_x3f_6724_ = lean_ctor_get(v___y_6701_, 12); +v_suppressElabErrors_6725_ = lean_ctor_get_uint8(v___y_6701_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_6726_ = lean_ctor_get(v___y_6701_, 13); +v_isSharedCheck_6828_ = !lean_is_exclusive(v___y_6701_); +if (v_isSharedCheck_6828_ == 0) { -lean_object* v_unused_6870_; -v_unused_6870_ = lean_ctor_get(v___y_6742_, 4); -lean_dec(v_unused_6870_); -v___x_6769_ = v___y_6742_; -v_isShared_6770_ = v_isSharedCheck_6869_; -goto v_resetjp_6768_; +lean_object* v_unused_6829_; +v_unused_6829_ = lean_ctor_get(v___y_6701_, 4); +lean_dec(v_unused_6829_); +v___x_6728_ = v___y_6701_; +v_isShared_6729_ = v_isSharedCheck_6828_; +goto v_resetjp_6727_; } else { -lean_inc(v_inheritedTraceOptions_6767_); -lean_inc(v_cancelTk_x3f_6765_); -lean_inc(v_currMacroScope_6764_); -lean_inc(v_quotContext_6763_); -lean_inc(v_maxHeartbeats_6762_); -lean_inc(v_initHeartbeats_6761_); -lean_inc(v_openDecls_6760_); -lean_inc(v_currNamespace_6759_); -lean_inc(v_ref_6758_); -lean_inc(v_currRecDepth_6757_); -lean_inc(v_options_6756_); -lean_inc(v_fileMap_6755_); -lean_inc(v_fileName_6754_); -lean_dec(v___y_6742_); -v___x_6769_ = lean_box(0); -v_isShared_6770_ = v_isSharedCheck_6869_; -goto v_resetjp_6768_; +lean_inc(v_inheritedTraceOptions_6726_); +lean_inc(v_cancelTk_x3f_6724_); +lean_inc(v_currMacroScope_6723_); +lean_inc(v_quotContext_6722_); +lean_inc(v_maxHeartbeats_6721_); +lean_inc(v_initHeartbeats_6720_); +lean_inc(v_openDecls_6719_); +lean_inc(v_currNamespace_6718_); +lean_inc(v_ref_6717_); +lean_inc(v_currRecDepth_6716_); +lean_inc(v_options_6715_); +lean_inc(v_fileMap_6714_); +lean_inc(v_fileName_6713_); +lean_dec(v___y_6701_); +v___x_6728_ = lean_box(0); +v_isShared_6729_ = v_isSharedCheck_6828_; +goto v_resetjp_6727_; } -v_resetjp_6768_: +v_resetjp_6727_: { -lean_object* v_env_6771_; lean_object* v___x_6772_; uint8_t v___x_6773_; lean_object* v___x_6774_; lean_object* v___x_6775_; uint8_t v___x_6776_; lean_object* v_fileName_6778_; lean_object* v_fileMap_6779_; lean_object* v_currRecDepth_6780_; lean_object* v_ref_6781_; lean_object* v_currNamespace_6782_; lean_object* v_openDecls_6783_; lean_object* v_initHeartbeats_6784_; lean_object* v_maxHeartbeats_6785_; lean_object* v_quotContext_6786_; lean_object* v_currMacroScope_6787_; lean_object* v_cancelTk_x3f_6788_; uint8_t v_suppressElabErrors_6789_; lean_object* v_inheritedTraceOptions_6790_; lean_object* v___y_6791_; uint8_t v___y_6847_; uint8_t v___x_6868_; -v_env_6771_ = lean_ctor_get(v___x_6753_, 0); -lean_inc_ref(v_env_6771_); -lean_dec(v___x_6753_); -v___x_6772_ = l_Lean_pp_sanitizeNames; -v___x_6773_ = lean_unbox(v_a_6748_); -lean_dec(v_a_6748_); -v___x_6774_ = l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(v_options_6756_, v___x_6772_, v___x_6773_); -v___x_6775_ = l_Lean_diagnostics; -v___x_6776_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v___x_6774_, v___x_6775_); -v___x_6868_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_6771_); -lean_dec_ref(v_env_6771_); -if (v___x_6868_ == 0) +lean_object* v_env_6730_; lean_object* v___x_6731_; uint8_t v___x_6732_; lean_object* v___x_6733_; lean_object* v___x_6734_; uint8_t v___x_6735_; lean_object* v_fileName_6737_; lean_object* v_fileMap_6738_; lean_object* v_currRecDepth_6739_; lean_object* v_ref_6740_; lean_object* v_currNamespace_6741_; lean_object* v_openDecls_6742_; lean_object* v_initHeartbeats_6743_; lean_object* v_maxHeartbeats_6744_; lean_object* v_quotContext_6745_; lean_object* v_currMacroScope_6746_; lean_object* v_cancelTk_x3f_6747_; uint8_t v_suppressElabErrors_6748_; lean_object* v_inheritedTraceOptions_6749_; lean_object* v___y_6750_; uint8_t v___y_6806_; uint8_t v___x_6827_; +v_env_6730_ = lean_ctor_get(v___x_6712_, 0); +lean_inc_ref(v_env_6730_); +lean_dec(v___x_6712_); +v___x_6731_ = l_Lean_pp_sanitizeNames; +v___x_6732_ = lean_unbox(v_a_6707_); +lean_dec(v_a_6707_); +v___x_6733_ = l_Lean_Option_set___at___00Lean_Elab_checkCodomainsLevel_spec__2(v_options_6715_, v___x_6731_, v___x_6732_); +v___x_6734_ = l_Lean_diagnostics; +v___x_6735_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v___x_6733_, v___x_6734_); +v___x_6827_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_6730_); +lean_dec_ref(v_env_6730_); +if (v___x_6827_ == 0) { -if (v___x_6776_ == 0) +if (v___x_6735_ == 0) { -v_fileName_6778_ = v_fileName_6754_; -v_fileMap_6779_ = v_fileMap_6755_; -v_currRecDepth_6780_ = v_currRecDepth_6757_; -v_ref_6781_ = v_ref_6758_; -v_currNamespace_6782_ = v_currNamespace_6759_; -v_openDecls_6783_ = v_openDecls_6760_; -v_initHeartbeats_6784_ = v_initHeartbeats_6761_; -v_maxHeartbeats_6785_ = v_maxHeartbeats_6762_; -v_quotContext_6786_ = v_quotContext_6763_; -v_currMacroScope_6787_ = v_currMacroScope_6764_; -v_cancelTk_x3f_6788_ = v_cancelTk_x3f_6765_; -v_suppressElabErrors_6789_ = v_suppressElabErrors_6766_; -v_inheritedTraceOptions_6790_ = v_inheritedTraceOptions_6767_; -v___y_6791_ = v___y_6743_; -goto v___jp_6777_; +v_fileName_6737_ = v_fileName_6713_; +v_fileMap_6738_ = v_fileMap_6714_; +v_currRecDepth_6739_ = v_currRecDepth_6716_; +v_ref_6740_ = v_ref_6717_; +v_currNamespace_6741_ = v_currNamespace_6718_; +v_openDecls_6742_ = v_openDecls_6719_; +v_initHeartbeats_6743_ = v_initHeartbeats_6720_; +v_maxHeartbeats_6744_ = v_maxHeartbeats_6721_; +v_quotContext_6745_ = v_quotContext_6722_; +v_currMacroScope_6746_ = v_currMacroScope_6723_; +v_cancelTk_x3f_6747_ = v_cancelTk_x3f_6724_; +v_suppressElabErrors_6748_ = v_suppressElabErrors_6725_; +v_inheritedTraceOptions_6749_ = v_inheritedTraceOptions_6726_; +v___y_6750_ = v___y_6702_; +goto v___jp_6736_; } else { -v___y_6847_ = v___x_6868_; -goto v___jp_6846_; +v___y_6806_ = v___x_6827_; +goto v___jp_6805_; } } else { -v___y_6847_ = v___x_6776_; -goto v___jp_6846_; +v___y_6806_ = v___x_6735_; +goto v___jp_6805_; } -v___jp_6777_: +v___jp_6736_: { -lean_object* v___x_6792_; lean_object* v___x_6793_; lean_object* v___x_6795_; -v___x_6792_ = l_Lean_maxRecDepth; -v___x_6793_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v___x_6774_, v___x_6792_); -if (v_isShared_6770_ == 0) +lean_object* v___x_6751_; lean_object* v___x_6752_; lean_object* v___x_6754_; +v___x_6751_ = l_Lean_maxRecDepth; +v___x_6752_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v___x_6733_, v___x_6751_); +if (v_isShared_6729_ == 0) { -lean_ctor_set(v___x_6769_, 13, v_inheritedTraceOptions_6790_); -lean_ctor_set(v___x_6769_, 12, v_cancelTk_x3f_6788_); -lean_ctor_set(v___x_6769_, 11, v_currMacroScope_6787_); -lean_ctor_set(v___x_6769_, 10, v_quotContext_6786_); -lean_ctor_set(v___x_6769_, 9, v_maxHeartbeats_6785_); -lean_ctor_set(v___x_6769_, 8, v_initHeartbeats_6784_); -lean_ctor_set(v___x_6769_, 7, v_openDecls_6783_); -lean_ctor_set(v___x_6769_, 6, v_currNamespace_6782_); -lean_ctor_set(v___x_6769_, 5, v_ref_6781_); -lean_ctor_set(v___x_6769_, 4, v___x_6793_); -lean_ctor_set(v___x_6769_, 3, v_currRecDepth_6780_); -lean_ctor_set(v___x_6769_, 2, v___x_6774_); -lean_ctor_set(v___x_6769_, 1, v_fileMap_6779_); -lean_ctor_set(v___x_6769_, 0, v_fileName_6778_); -v___x_6795_ = v___x_6769_; -goto v_reusejp_6794_; +lean_ctor_set(v___x_6728_, 13, v_inheritedTraceOptions_6749_); +lean_ctor_set(v___x_6728_, 12, v_cancelTk_x3f_6747_); +lean_ctor_set(v___x_6728_, 11, v_currMacroScope_6746_); +lean_ctor_set(v___x_6728_, 10, v_quotContext_6745_); +lean_ctor_set(v___x_6728_, 9, v_maxHeartbeats_6744_); +lean_ctor_set(v___x_6728_, 8, v_initHeartbeats_6743_); +lean_ctor_set(v___x_6728_, 7, v_openDecls_6742_); +lean_ctor_set(v___x_6728_, 6, v_currNamespace_6741_); +lean_ctor_set(v___x_6728_, 5, v_ref_6740_); +lean_ctor_set(v___x_6728_, 4, v___x_6752_); +lean_ctor_set(v___x_6728_, 3, v_currRecDepth_6739_); +lean_ctor_set(v___x_6728_, 2, v___x_6733_); +lean_ctor_set(v___x_6728_, 1, v_fileMap_6738_); +lean_ctor_set(v___x_6728_, 0, v_fileName_6737_); +v___x_6754_ = v___x_6728_; +goto v_reusejp_6753_; } else { -lean_object* v_reuseFailAlloc_6845_; -v_reuseFailAlloc_6845_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_6845_, 0, v_fileName_6778_); -lean_ctor_set(v_reuseFailAlloc_6845_, 1, v_fileMap_6779_); -lean_ctor_set(v_reuseFailAlloc_6845_, 2, v___x_6774_); -lean_ctor_set(v_reuseFailAlloc_6845_, 3, v_currRecDepth_6780_); -lean_ctor_set(v_reuseFailAlloc_6845_, 4, v___x_6793_); -lean_ctor_set(v_reuseFailAlloc_6845_, 5, v_ref_6781_); -lean_ctor_set(v_reuseFailAlloc_6845_, 6, v_currNamespace_6782_); -lean_ctor_set(v_reuseFailAlloc_6845_, 7, v_openDecls_6783_); -lean_ctor_set(v_reuseFailAlloc_6845_, 8, v_initHeartbeats_6784_); -lean_ctor_set(v_reuseFailAlloc_6845_, 9, v_maxHeartbeats_6785_); -lean_ctor_set(v_reuseFailAlloc_6845_, 10, v_quotContext_6786_); -lean_ctor_set(v_reuseFailAlloc_6845_, 11, v_currMacroScope_6787_); -lean_ctor_set(v_reuseFailAlloc_6845_, 12, v_cancelTk_x3f_6788_); -lean_ctor_set(v_reuseFailAlloc_6845_, 13, v_inheritedTraceOptions_6790_); -v___x_6795_ = v_reuseFailAlloc_6845_; -goto v_reusejp_6794_; +lean_object* v_reuseFailAlloc_6804_; +v_reuseFailAlloc_6804_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_6804_, 0, v_fileName_6737_); +lean_ctor_set(v_reuseFailAlloc_6804_, 1, v_fileMap_6738_); +lean_ctor_set(v_reuseFailAlloc_6804_, 2, v___x_6733_); +lean_ctor_set(v_reuseFailAlloc_6804_, 3, v_currRecDepth_6739_); +lean_ctor_set(v_reuseFailAlloc_6804_, 4, v___x_6752_); +lean_ctor_set(v_reuseFailAlloc_6804_, 5, v_ref_6740_); +lean_ctor_set(v_reuseFailAlloc_6804_, 6, v_currNamespace_6741_); +lean_ctor_set(v_reuseFailAlloc_6804_, 7, v_openDecls_6742_); +lean_ctor_set(v_reuseFailAlloc_6804_, 8, v_initHeartbeats_6743_); +lean_ctor_set(v_reuseFailAlloc_6804_, 9, v_maxHeartbeats_6744_); +lean_ctor_set(v_reuseFailAlloc_6804_, 10, v_quotContext_6745_); +lean_ctor_set(v_reuseFailAlloc_6804_, 11, v_currMacroScope_6746_); +lean_ctor_set(v_reuseFailAlloc_6804_, 12, v_cancelTk_x3f_6747_); +lean_ctor_set(v_reuseFailAlloc_6804_, 13, v_inheritedTraceOptions_6749_); +v___x_6754_ = v_reuseFailAlloc_6804_; +goto v_reusejp_6753_; } -v_reusejp_6794_: +v_reusejp_6753_: { -lean_object* v___x_6796_; -lean_ctor_set_uint8(v___x_6795_, sizeof(void*)*14, v___x_6776_); -lean_ctor_set_uint8(v___x_6795_, sizeof(void*)*14 + 1, v_suppressElabErrors_6789_); -lean_inc(v___y_6791_); -lean_inc_ref(v___x_6795_); -lean_inc(v___y_6741_); -lean_inc_ref(v___y_6740_); -lean_inc_ref(v_type_u2080_6732_); -v___x_6796_ = lean_infer_type(v_type_u2080_6732_, v___y_6740_, v___y_6741_, v___x_6795_, v___y_6791_); -if (lean_obj_tag(v___x_6796_) == 0) +lean_object* v___x_6755_; +lean_ctor_set_uint8(v___x_6754_, sizeof(void*)*14, v___x_6735_); +lean_ctor_set_uint8(v___x_6754_, sizeof(void*)*14 + 1, v_suppressElabErrors_6748_); +lean_inc(v___y_6750_); +lean_inc_ref(v___x_6754_); +lean_inc(v___y_6700_); +lean_inc_ref(v___y_6699_); +lean_inc_ref(v_type_u2080_6691_); +v___x_6755_ = lean_infer_type(v_type_u2080_6691_, v___y_6699_, v___y_6700_, v___x_6754_, v___y_6750_); +if (lean_obj_tag(v___x_6755_) == 0) { -lean_object* v_a_6797_; lean_object* v___x_6798_; -v_a_6797_ = lean_ctor_get(v___x_6796_, 0); -lean_inc(v_a_6797_); -lean_dec_ref(v___x_6796_); -lean_inc(v___y_6791_); -lean_inc_ref(v___x_6795_); -lean_inc(v___y_6741_); -lean_inc_ref(v___y_6740_); -lean_inc_ref(v_type_u1d62_6739_); -v___x_6798_ = lean_infer_type(v_type_u1d62_6739_, v___y_6740_, v___y_6741_, v___x_6795_, v___y_6791_); -if (lean_obj_tag(v___x_6798_) == 0) +lean_object* v_a_6756_; lean_object* v___x_6757_; +v_a_6756_ = lean_ctor_get(v___x_6755_, 0); +lean_inc(v_a_6756_); +lean_dec_ref(v___x_6755_); +lean_inc(v___y_6750_); +lean_inc_ref(v___x_6754_); +lean_inc(v___y_6700_); +lean_inc_ref(v___y_6699_); +lean_inc_ref(v_type_u1d62_6698_); +v___x_6757_ = lean_infer_type(v_type_u1d62_6698_, v___y_6699_, v___y_6700_, v___x_6754_, v___y_6750_); +if (lean_obj_tag(v___x_6757_) == 0) { -lean_object* v_a_6799_; lean_object* v_declName_6800_; lean_object* v___x_6801_; lean_object* v_declName_6802_; lean_object* v___x_6803_; lean_object* v___x_6804_; lean_object* v___x_6805_; lean_object* v___x_6806_; lean_object* v___x_6807_; lean_object* v___x_6808_; lean_object* v___x_6809_; lean_object* v___x_6810_; lean_object* v___x_6811_; lean_object* v___x_6812_; lean_object* v___x_6813_; lean_object* v___x_6814_; lean_object* v___x_6815_; lean_object* v___x_6816_; lean_object* v___x_6817_; lean_object* v___x_6818_; lean_object* v___x_6819_; lean_object* v___x_6820_; lean_object* v___x_6821_; lean_object* v___x_6822_; lean_object* v___x_6823_; lean_object* v___x_6824_; lean_object* v___x_6825_; lean_object* v___x_6826_; lean_object* v___x_6827_; lean_object* v___x_6828_; -v_a_6799_ = lean_ctor_get(v___x_6798_, 0); -lean_inc(v_a_6799_); -lean_dec_ref(v___x_6798_); -v_declName_6800_ = lean_ctor_get(v___x_6733_, 3); -lean_inc(v_declName_6800_); -lean_dec_ref(v___x_6733_); -v___x_6801_ = lean_array_get_borrowed(v___x_6734_, v_preDefs_6735_, v_a_6736_); -v_declName_6802_ = lean_ctor_get(v___x_6801_, 3); -v___x_6803_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4); -v___x_6804_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6); -v___x_6805_ = l_Lean_MessageData_ofName(v_declName_6800_); -v___x_6806_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6806_, 0, v___x_6804_); -lean_ctor_set(v___x_6806_, 1, v___x_6805_); -v___x_6807_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8); -v___x_6808_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6808_, 0, v___x_6806_); -lean_ctor_set(v___x_6808_, 1, v___x_6807_); -v___x_6809_ = l_Lean_indentExpr(v_type_u2080_6732_); -v___x_6810_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6810_, 0, v___x_6808_); -lean_ctor_set(v___x_6810_, 1, v___x_6809_); -v___x_6811_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10); -v___x_6812_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6812_, 0, v___x_6810_); -lean_ctor_set(v___x_6812_, 1, v___x_6811_); -v___x_6813_ = l_Lean_MessageData_ofExpr(v_a_6797_); -v___x_6814_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6814_, 0, v___x_6812_); -lean_ctor_set(v___x_6814_, 1, v___x_6813_); -v___x_6815_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12); -v___x_6816_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6816_, 0, v___x_6814_); -lean_ctor_set(v___x_6816_, 1, v___x_6815_); -v___x_6817_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6817_, 0, v___x_6803_); -lean_ctor_set(v___x_6817_, 1, v___x_6816_); -v___x_6818_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14); -lean_inc(v_declName_6802_); -v___x_6819_ = l_Lean_MessageData_ofName(v_declName_6802_); -v___x_6820_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6820_, 0, v___x_6818_); -lean_ctor_set(v___x_6820_, 1, v___x_6819_); -v___x_6821_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6821_, 0, v___x_6820_); -lean_ctor_set(v___x_6821_, 1, v___x_6807_); -v___x_6822_ = l_Lean_indentExpr(v_type_u1d62_6739_); -v___x_6823_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6823_, 0, v___x_6821_); -lean_ctor_set(v___x_6823_, 1, v___x_6822_); -v___x_6824_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6824_, 0, v___x_6823_); -lean_ctor_set(v___x_6824_, 1, v___x_6811_); -v___x_6825_ = l_Lean_MessageData_ofExpr(v_a_6799_); -v___x_6826_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6826_, 0, v___x_6824_); -lean_ctor_set(v___x_6826_, 1, v___x_6825_); -v___x_6827_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_6827_, 0, v___x_6817_); -lean_ctor_set(v___x_6827_, 1, v___x_6826_); -v___x_6828_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v___x_6827_, v___y_6740_, v___y_6741_, v___x_6795_, v___y_6791_); -lean_dec(v___y_6791_); -lean_dec_ref(v___x_6795_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -return v___x_6828_; +lean_object* v_a_6758_; lean_object* v_declName_6759_; lean_object* v___x_6760_; lean_object* v_declName_6761_; lean_object* v___x_6762_; lean_object* v___x_6763_; lean_object* v___x_6764_; lean_object* v___x_6765_; lean_object* v___x_6766_; lean_object* v___x_6767_; lean_object* v___x_6768_; lean_object* v___x_6769_; lean_object* v___x_6770_; lean_object* v___x_6771_; lean_object* v___x_6772_; lean_object* v___x_6773_; lean_object* v___x_6774_; lean_object* v___x_6775_; lean_object* v___x_6776_; lean_object* v___x_6777_; lean_object* v___x_6778_; lean_object* v___x_6779_; lean_object* v___x_6780_; lean_object* v___x_6781_; lean_object* v___x_6782_; lean_object* v___x_6783_; lean_object* v___x_6784_; lean_object* v___x_6785_; lean_object* v___x_6786_; lean_object* v___x_6787_; +v_a_6758_ = lean_ctor_get(v___x_6757_, 0); +lean_inc(v_a_6758_); +lean_dec_ref(v___x_6757_); +v_declName_6759_ = lean_ctor_get(v___x_6692_, 3); +lean_inc(v_declName_6759_); +lean_dec_ref(v___x_6692_); +v___x_6760_ = lean_array_get_borrowed(v___x_6693_, v_preDefs_6694_, v_a_6695_); +v_declName_6761_ = lean_ctor_get(v___x_6760_, 3); +v___x_6762_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__4); +v___x_6763_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__6); +v___x_6764_ = l_Lean_MessageData_ofName(v_declName_6759_); +v___x_6765_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6765_, 0, v___x_6763_); +lean_ctor_set(v___x_6765_, 1, v___x_6764_); +v___x_6766_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__8); +v___x_6767_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6767_, 0, v___x_6765_); +lean_ctor_set(v___x_6767_, 1, v___x_6766_); +v___x_6768_ = l_Lean_indentExpr(v_type_u2080_6691_); +v___x_6769_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6769_, 0, v___x_6767_); +lean_ctor_set(v___x_6769_, 1, v___x_6768_); +v___x_6770_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__10); +v___x_6771_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6771_, 0, v___x_6769_); +lean_ctor_set(v___x_6771_, 1, v___x_6770_); +v___x_6772_ = l_Lean_MessageData_ofExpr(v_a_6756_); +v___x_6773_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6773_, 0, v___x_6771_); +lean_ctor_set(v___x_6773_, 1, v___x_6772_); +v___x_6774_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__12); +v___x_6775_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6775_, 0, v___x_6773_); +lean_ctor_set(v___x_6775_, 1, v___x_6774_); +v___x_6776_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6776_, 0, v___x_6762_); +lean_ctor_set(v___x_6776_, 1, v___x_6775_); +v___x_6777_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14, &l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14_once, _init_l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___closed__14); +lean_inc(v_declName_6761_); +v___x_6778_ = l_Lean_MessageData_ofName(v_declName_6761_); +v___x_6779_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6779_, 0, v___x_6777_); +lean_ctor_set(v___x_6779_, 1, v___x_6778_); +v___x_6780_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6780_, 0, v___x_6779_); +lean_ctor_set(v___x_6780_, 1, v___x_6766_); +v___x_6781_ = l_Lean_indentExpr(v_type_u1d62_6698_); +v___x_6782_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6782_, 0, v___x_6780_); +lean_ctor_set(v___x_6782_, 1, v___x_6781_); +v___x_6783_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6783_, 0, v___x_6782_); +lean_ctor_set(v___x_6783_, 1, v___x_6770_); +v___x_6784_ = l_Lean_MessageData_ofExpr(v_a_6758_); +v___x_6785_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6785_, 0, v___x_6783_); +lean_ctor_set(v___x_6785_, 1, v___x_6784_); +v___x_6786_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_6786_, 0, v___x_6776_); +lean_ctor_set(v___x_6786_, 1, v___x_6785_); +v___x_6787_ = l_Lean_throwError___at___00Lean_Elab_ensureNoRecFn_spec__0___redArg(v___x_6786_, v___y_6699_, v___y_6700_, v___x_6754_, v___y_6750_); +lean_dec(v___y_6750_); +lean_dec_ref(v___x_6754_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +return v___x_6787_; } else { -lean_object* v_a_6829_; lean_object* v___x_6831_; uint8_t v_isShared_6832_; uint8_t v_isSharedCheck_6836_; -lean_dec(v_a_6797_); -lean_dec_ref(v___x_6795_); -lean_dec(v___y_6791_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -lean_dec_ref(v_type_u1d62_6739_); -lean_dec_ref(v___x_6734_); -lean_dec_ref(v___x_6733_); -lean_dec_ref(v_type_u2080_6732_); -v_a_6829_ = lean_ctor_get(v___x_6798_, 0); -v_isSharedCheck_6836_ = !lean_is_exclusive(v___x_6798_); -if (v_isSharedCheck_6836_ == 0) +lean_object* v_a_6788_; lean_object* v___x_6790_; uint8_t v_isShared_6791_; uint8_t v_isSharedCheck_6795_; +lean_dec(v_a_6756_); +lean_dec_ref(v___x_6754_); +lean_dec(v___y_6750_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +lean_dec_ref(v_type_u1d62_6698_); +lean_dec_ref(v___x_6693_); +lean_dec_ref(v___x_6692_); +lean_dec_ref(v_type_u2080_6691_); +v_a_6788_ = lean_ctor_get(v___x_6757_, 0); +v_isSharedCheck_6795_ = !lean_is_exclusive(v___x_6757_); +if (v_isSharedCheck_6795_ == 0) { -v___x_6831_ = v___x_6798_; -v_isShared_6832_ = v_isSharedCheck_6836_; -goto v_resetjp_6830_; +v___x_6790_ = v___x_6757_; +v_isShared_6791_ = v_isSharedCheck_6795_; +goto v_resetjp_6789_; } else { -lean_inc(v_a_6829_); -lean_dec(v___x_6798_); -v___x_6831_ = lean_box(0); -v_isShared_6832_ = v_isSharedCheck_6836_; -goto v_resetjp_6830_; +lean_inc(v_a_6788_); +lean_dec(v___x_6757_); +v___x_6790_ = lean_box(0); +v_isShared_6791_ = v_isSharedCheck_6795_; +goto v_resetjp_6789_; } -v_resetjp_6830_: +v_resetjp_6789_: { -lean_object* v___x_6834_; -if (v_isShared_6832_ == 0) +lean_object* v___x_6793_; +if (v_isShared_6791_ == 0) { -v___x_6834_ = v___x_6831_; -goto v_reusejp_6833_; +v___x_6793_ = v___x_6790_; +goto v_reusejp_6792_; } else { -lean_object* v_reuseFailAlloc_6835_; -v_reuseFailAlloc_6835_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6835_, 0, v_a_6829_); -v___x_6834_ = v_reuseFailAlloc_6835_; -goto v_reusejp_6833_; +lean_object* v_reuseFailAlloc_6794_; +v_reuseFailAlloc_6794_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6794_, 0, v_a_6788_); +v___x_6793_ = v_reuseFailAlloc_6794_; +goto v_reusejp_6792_; } -v_reusejp_6833_: +v_reusejp_6792_: { -return v___x_6834_; +return v___x_6793_; } } } } else { -lean_object* v_a_6837_; lean_object* v___x_6839_; uint8_t v_isShared_6840_; uint8_t v_isSharedCheck_6844_; -lean_dec_ref(v___x_6795_); -lean_dec(v___y_6791_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -lean_dec_ref(v_type_u1d62_6739_); -lean_dec_ref(v___x_6734_); -lean_dec_ref(v___x_6733_); -lean_dec_ref(v_type_u2080_6732_); -v_a_6837_ = lean_ctor_get(v___x_6796_, 0); -v_isSharedCheck_6844_ = !lean_is_exclusive(v___x_6796_); -if (v_isSharedCheck_6844_ == 0) +lean_object* v_a_6796_; lean_object* v___x_6798_; uint8_t v_isShared_6799_; uint8_t v_isSharedCheck_6803_; +lean_dec_ref(v___x_6754_); +lean_dec(v___y_6750_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +lean_dec_ref(v_type_u1d62_6698_); +lean_dec_ref(v___x_6693_); +lean_dec_ref(v___x_6692_); +lean_dec_ref(v_type_u2080_6691_); +v_a_6796_ = lean_ctor_get(v___x_6755_, 0); +v_isSharedCheck_6803_ = !lean_is_exclusive(v___x_6755_); +if (v_isSharedCheck_6803_ == 0) { -v___x_6839_ = v___x_6796_; -v_isShared_6840_ = v_isSharedCheck_6844_; -goto v_resetjp_6838_; +v___x_6798_ = v___x_6755_; +v_isShared_6799_ = v_isSharedCheck_6803_; +goto v_resetjp_6797_; } else { -lean_inc(v_a_6837_); -lean_dec(v___x_6796_); -v___x_6839_ = lean_box(0); -v_isShared_6840_ = v_isSharedCheck_6844_; -goto v_resetjp_6838_; +lean_inc(v_a_6796_); +lean_dec(v___x_6755_); +v___x_6798_ = lean_box(0); +v_isShared_6799_ = v_isSharedCheck_6803_; +goto v_resetjp_6797_; } -v_resetjp_6838_: +v_resetjp_6797_: { -lean_object* v___x_6842_; -if (v_isShared_6840_ == 0) +lean_object* v___x_6801_; +if (v_isShared_6799_ == 0) { -v___x_6842_ = v___x_6839_; -goto v_reusejp_6841_; +v___x_6801_ = v___x_6798_; +goto v_reusejp_6800_; } else { -lean_object* v_reuseFailAlloc_6843_; -v_reuseFailAlloc_6843_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6843_, 0, v_a_6837_); -v___x_6842_ = v_reuseFailAlloc_6843_; -goto v_reusejp_6841_; +lean_object* v_reuseFailAlloc_6802_; +v_reuseFailAlloc_6802_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6802_, 0, v_a_6796_); +v___x_6801_ = v_reuseFailAlloc_6802_; +goto v_reusejp_6800_; } -v_reusejp_6841_: +v_reusejp_6800_: { -return v___x_6842_; +return v___x_6801_; } } } } } -v___jp_6846_: +v___jp_6805_: { -if (v___y_6847_ == 0) +if (v___y_6806_ == 0) { -lean_object* v___x_6848_; lean_object* v_env_6849_; lean_object* v_nextMacroScope_6850_; lean_object* v_ngen_6851_; lean_object* v_auxDeclNGen_6852_; lean_object* v_traceState_6853_; lean_object* v_messages_6854_; lean_object* v_infoState_6855_; lean_object* v_snapshotTasks_6856_; lean_object* v___x_6858_; uint8_t v_isShared_6859_; uint8_t v_isSharedCheck_6866_; -v___x_6848_ = lean_st_ref_take(v___y_6743_); -v_env_6849_ = lean_ctor_get(v___x_6848_, 0); -v_nextMacroScope_6850_ = lean_ctor_get(v___x_6848_, 1); -v_ngen_6851_ = lean_ctor_get(v___x_6848_, 2); -v_auxDeclNGen_6852_ = lean_ctor_get(v___x_6848_, 3); -v_traceState_6853_ = lean_ctor_get(v___x_6848_, 4); -v_messages_6854_ = lean_ctor_get(v___x_6848_, 6); -v_infoState_6855_ = lean_ctor_get(v___x_6848_, 7); -v_snapshotTasks_6856_ = lean_ctor_get(v___x_6848_, 8); -v_isSharedCheck_6866_ = !lean_is_exclusive(v___x_6848_); -if (v_isSharedCheck_6866_ == 0) +lean_object* v___x_6807_; lean_object* v_env_6808_; lean_object* v_nextMacroScope_6809_; lean_object* v_ngen_6810_; lean_object* v_auxDeclNGen_6811_; lean_object* v_traceState_6812_; lean_object* v_messages_6813_; lean_object* v_infoState_6814_; lean_object* v_snapshotTasks_6815_; lean_object* v___x_6817_; uint8_t v_isShared_6818_; uint8_t v_isSharedCheck_6825_; +v___x_6807_ = lean_st_ref_take(v___y_6702_); +v_env_6808_ = lean_ctor_get(v___x_6807_, 0); +v_nextMacroScope_6809_ = lean_ctor_get(v___x_6807_, 1); +v_ngen_6810_ = lean_ctor_get(v___x_6807_, 2); +v_auxDeclNGen_6811_ = lean_ctor_get(v___x_6807_, 3); +v_traceState_6812_ = lean_ctor_get(v___x_6807_, 4); +v_messages_6813_ = lean_ctor_get(v___x_6807_, 6); +v_infoState_6814_ = lean_ctor_get(v___x_6807_, 7); +v_snapshotTasks_6815_ = lean_ctor_get(v___x_6807_, 8); +v_isSharedCheck_6825_ = !lean_is_exclusive(v___x_6807_); +if (v_isSharedCheck_6825_ == 0) { -lean_object* v_unused_6867_; -v_unused_6867_ = lean_ctor_get(v___x_6848_, 5); -lean_dec(v_unused_6867_); -v___x_6858_ = v___x_6848_; -v_isShared_6859_ = v_isSharedCheck_6866_; -goto v_resetjp_6857_; +lean_object* v_unused_6826_; +v_unused_6826_ = lean_ctor_get(v___x_6807_, 5); +lean_dec(v_unused_6826_); +v___x_6817_ = v___x_6807_; +v_isShared_6818_ = v_isSharedCheck_6825_; +goto v_resetjp_6816_; } else { -lean_inc(v_snapshotTasks_6856_); -lean_inc(v_infoState_6855_); -lean_inc(v_messages_6854_); -lean_inc(v_traceState_6853_); -lean_inc(v_auxDeclNGen_6852_); -lean_inc(v_ngen_6851_); -lean_inc(v_nextMacroScope_6850_); -lean_inc(v_env_6849_); -lean_dec(v___x_6848_); -v___x_6858_ = lean_box(0); -v_isShared_6859_ = v_isSharedCheck_6866_; -goto v_resetjp_6857_; +lean_inc(v_snapshotTasks_6815_); +lean_inc(v_infoState_6814_); +lean_inc(v_messages_6813_); +lean_inc(v_traceState_6812_); +lean_inc(v_auxDeclNGen_6811_); +lean_inc(v_ngen_6810_); +lean_inc(v_nextMacroScope_6809_); +lean_inc(v_env_6808_); +lean_dec(v___x_6807_); +v___x_6817_ = lean_box(0); +v_isShared_6818_ = v_isSharedCheck_6825_; +goto v_resetjp_6816_; } -v_resetjp_6857_: +v_resetjp_6816_: { -lean_object* v___x_6860_; lean_object* v___x_6861_; lean_object* v___x_6863_; -v___x_6860_ = l_Lean_Kernel_enableDiag(v_env_6849_, v___x_6776_); -v___x_6861_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); -if (v_isShared_6859_ == 0) +lean_object* v___x_6819_; lean_object* v___x_6820_; lean_object* v___x_6822_; +v___x_6819_ = l_Lean_Kernel_enableDiag(v_env_6808_, v___x_6735_); +v___x_6820_ = lean_obj_once(&l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2, &l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2_once, _init_l___private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_addNonRecAux___closed__2); +if (v_isShared_6818_ == 0) { -lean_ctor_set(v___x_6858_, 5, v___x_6861_); -lean_ctor_set(v___x_6858_, 0, v___x_6860_); -v___x_6863_ = v___x_6858_; -goto v_reusejp_6862_; +lean_ctor_set(v___x_6817_, 5, v___x_6820_); +lean_ctor_set(v___x_6817_, 0, v___x_6819_); +v___x_6822_ = v___x_6817_; +goto v_reusejp_6821_; } else { -lean_object* v_reuseFailAlloc_6865_; -v_reuseFailAlloc_6865_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_6865_, 0, v___x_6860_); -lean_ctor_set(v_reuseFailAlloc_6865_, 1, v_nextMacroScope_6850_); -lean_ctor_set(v_reuseFailAlloc_6865_, 2, v_ngen_6851_); -lean_ctor_set(v_reuseFailAlloc_6865_, 3, v_auxDeclNGen_6852_); -lean_ctor_set(v_reuseFailAlloc_6865_, 4, v_traceState_6853_); -lean_ctor_set(v_reuseFailAlloc_6865_, 5, v___x_6861_); -lean_ctor_set(v_reuseFailAlloc_6865_, 6, v_messages_6854_); -lean_ctor_set(v_reuseFailAlloc_6865_, 7, v_infoState_6855_); -lean_ctor_set(v_reuseFailAlloc_6865_, 8, v_snapshotTasks_6856_); -v___x_6863_ = v_reuseFailAlloc_6865_; -goto v_reusejp_6862_; +lean_object* v_reuseFailAlloc_6824_; +v_reuseFailAlloc_6824_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_6824_, 0, v___x_6819_); +lean_ctor_set(v_reuseFailAlloc_6824_, 1, v_nextMacroScope_6809_); +lean_ctor_set(v_reuseFailAlloc_6824_, 2, v_ngen_6810_); +lean_ctor_set(v_reuseFailAlloc_6824_, 3, v_auxDeclNGen_6811_); +lean_ctor_set(v_reuseFailAlloc_6824_, 4, v_traceState_6812_); +lean_ctor_set(v_reuseFailAlloc_6824_, 5, v___x_6820_); +lean_ctor_set(v_reuseFailAlloc_6824_, 6, v_messages_6813_); +lean_ctor_set(v_reuseFailAlloc_6824_, 7, v_infoState_6814_); +lean_ctor_set(v_reuseFailAlloc_6824_, 8, v_snapshotTasks_6815_); +v___x_6822_ = v_reuseFailAlloc_6824_; +goto v_reusejp_6821_; } -v_reusejp_6862_: +v_reusejp_6821_: { -lean_object* v___x_6864_; -v___x_6864_ = lean_st_ref_set(v___y_6743_, v___x_6863_); -v_fileName_6778_ = v_fileName_6754_; -v_fileMap_6779_ = v_fileMap_6755_; -v_currRecDepth_6780_ = v_currRecDepth_6757_; -v_ref_6781_ = v_ref_6758_; -v_currNamespace_6782_ = v_currNamespace_6759_; -v_openDecls_6783_ = v_openDecls_6760_; -v_initHeartbeats_6784_ = v_initHeartbeats_6761_; -v_maxHeartbeats_6785_ = v_maxHeartbeats_6762_; -v_quotContext_6786_ = v_quotContext_6763_; -v_currMacroScope_6787_ = v_currMacroScope_6764_; -v_cancelTk_x3f_6788_ = v_cancelTk_x3f_6765_; -v_suppressElabErrors_6789_ = v_suppressElabErrors_6766_; -v_inheritedTraceOptions_6790_ = v_inheritedTraceOptions_6767_; -v___y_6791_ = v___y_6743_; -goto v___jp_6777_; +lean_object* v___x_6823_; +v___x_6823_ = lean_st_ref_set(v___y_6702_, v___x_6822_); +v_fileName_6737_ = v_fileName_6713_; +v_fileMap_6738_ = v_fileMap_6714_; +v_currRecDepth_6739_ = v_currRecDepth_6716_; +v_ref_6740_ = v_ref_6717_; +v_currNamespace_6741_ = v_currNamespace_6718_; +v_openDecls_6742_ = v_openDecls_6719_; +v_initHeartbeats_6743_ = v_initHeartbeats_6720_; +v_maxHeartbeats_6744_ = v_maxHeartbeats_6721_; +v_quotContext_6745_ = v_quotContext_6722_; +v_currMacroScope_6746_ = v_currMacroScope_6723_; +v_cancelTk_x3f_6747_ = v_cancelTk_x3f_6724_; +v_suppressElabErrors_6748_ = v_suppressElabErrors_6725_; +v_inheritedTraceOptions_6749_ = v_inheritedTraceOptions_6726_; +v___y_6750_ = v___y_6702_; +goto v___jp_6736_; } } } else { -v_fileName_6778_ = v_fileName_6754_; -v_fileMap_6779_ = v_fileMap_6755_; -v_currRecDepth_6780_ = v_currRecDepth_6757_; -v_ref_6781_ = v_ref_6758_; -v_currNamespace_6782_ = v_currNamespace_6759_; -v_openDecls_6783_ = v_openDecls_6760_; -v_initHeartbeats_6784_ = v_initHeartbeats_6761_; -v_maxHeartbeats_6785_ = v_maxHeartbeats_6762_; -v_quotContext_6786_ = v_quotContext_6763_; -v_currMacroScope_6787_ = v_currMacroScope_6764_; -v_cancelTk_x3f_6788_ = v_cancelTk_x3f_6765_; -v_suppressElabErrors_6789_ = v_suppressElabErrors_6766_; -v_inheritedTraceOptions_6790_ = v_inheritedTraceOptions_6767_; -v___y_6791_ = v___y_6743_; -goto v___jp_6777_; +v_fileName_6737_ = v_fileName_6713_; +v_fileMap_6738_ = v_fileMap_6714_; +v_currRecDepth_6739_ = v_currRecDepth_6716_; +v_ref_6740_ = v_ref_6717_; +v_currNamespace_6741_ = v_currNamespace_6718_; +v_openDecls_6742_ = v_openDecls_6719_; +v_initHeartbeats_6743_ = v_initHeartbeats_6720_; +v_maxHeartbeats_6744_ = v_maxHeartbeats_6721_; +v_quotContext_6745_ = v_quotContext_6722_; +v_currMacroScope_6746_ = v_currMacroScope_6723_; +v_cancelTk_x3f_6747_ = v_cancelTk_x3f_6724_; +v_suppressElabErrors_6748_ = v_suppressElabErrors_6725_; +v_inheritedTraceOptions_6749_ = v_inheritedTraceOptions_6726_; +v___y_6750_ = v___y_6702_; +goto v___jp_6736_; } } } } else { -lean_object* v___x_6872_; -lean_dec(v_a_6748_); -lean_dec(v___y_6743_); -lean_dec_ref(v___y_6742_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -lean_dec_ref(v_type_u1d62_6739_); -lean_dec_ref(v___x_6734_); -lean_dec_ref(v___x_6733_); -lean_dec_ref(v_type_u2080_6732_); -if (v_isShared_6751_ == 0) +lean_object* v___x_6831_; +lean_dec(v_a_6707_); +lean_dec(v___y_6702_); +lean_dec_ref(v___y_6701_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +lean_dec_ref(v_type_u1d62_6698_); +lean_dec_ref(v___x_6693_); +lean_dec_ref(v___x_6692_); +lean_dec_ref(v_type_u2080_6691_); +if (v_isShared_6710_ == 0) { -lean_ctor_set(v___x_6750_, 0, v___x_6737_); -v___x_6872_ = v___x_6750_; -goto v_reusejp_6871_; +lean_ctor_set(v___x_6709_, 0, v___x_6696_); +v___x_6831_ = v___x_6709_; +goto v_reusejp_6830_; } else { -lean_object* v_reuseFailAlloc_6873_; -v_reuseFailAlloc_6873_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6873_, 0, v___x_6737_); -v___x_6872_ = v_reuseFailAlloc_6873_; -goto v_reusejp_6871_; +lean_object* v_reuseFailAlloc_6832_; +v_reuseFailAlloc_6832_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6832_, 0, v___x_6696_); +v___x_6831_ = v_reuseFailAlloc_6832_; +goto v_reusejp_6830_; } -v_reusejp_6871_: +v_reusejp_6830_: { -return v___x_6872_; +return v___x_6831_; } } } } else { -lean_object* v_a_6875_; lean_object* v___x_6877_; uint8_t v_isShared_6878_; uint8_t v_isSharedCheck_6882_; -lean_dec(v___y_6743_); -lean_dec_ref(v___y_6742_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -lean_dec_ref(v_type_u1d62_6739_); -lean_dec_ref(v___x_6734_); -lean_dec_ref(v___x_6733_); -lean_dec_ref(v_type_u2080_6732_); -v_a_6875_ = lean_ctor_get(v___x_6747_, 0); -v_isSharedCheck_6882_ = !lean_is_exclusive(v___x_6747_); -if (v_isSharedCheck_6882_ == 0) +lean_object* v_a_6834_; lean_object* v___x_6836_; uint8_t v_isShared_6837_; uint8_t v_isSharedCheck_6841_; +lean_dec(v___y_6702_); +lean_dec_ref(v___y_6701_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +lean_dec_ref(v_type_u1d62_6698_); +lean_dec_ref(v___x_6693_); +lean_dec_ref(v___x_6692_); +lean_dec_ref(v_type_u2080_6691_); +v_a_6834_ = lean_ctor_get(v___x_6706_, 0); +v_isSharedCheck_6841_ = !lean_is_exclusive(v___x_6706_); +if (v_isSharedCheck_6841_ == 0) { -v___x_6877_ = v___x_6747_; -v_isShared_6878_ = v_isSharedCheck_6882_; -goto v_resetjp_6876_; +v___x_6836_ = v___x_6706_; +v_isShared_6837_ = v_isSharedCheck_6841_; +goto v_resetjp_6835_; } else { -lean_inc(v_a_6875_); -lean_dec(v___x_6747_); -v___x_6877_ = lean_box(0); -v_isShared_6878_ = v_isSharedCheck_6882_; -goto v_resetjp_6876_; +lean_inc(v_a_6834_); +lean_dec(v___x_6706_); +v___x_6836_ = lean_box(0); +v_isShared_6837_ = v_isSharedCheck_6841_; +goto v_resetjp_6835_; } -v_resetjp_6876_: +v_resetjp_6835_: { -lean_object* v___x_6880_; -if (v_isShared_6878_ == 0) +lean_object* v___x_6839_; +if (v_isShared_6837_ == 0) { -v___x_6880_ = v___x_6877_; -goto v_reusejp_6879_; +v___x_6839_ = v___x_6836_; +goto v_reusejp_6838_; } else { -lean_object* v_reuseFailAlloc_6881_; -v_reuseFailAlloc_6881_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6881_, 0, v_a_6875_); -v___x_6880_ = v_reuseFailAlloc_6881_; -goto v_reusejp_6879_; +lean_object* v_reuseFailAlloc_6840_; +v_reuseFailAlloc_6840_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6840_, 0, v_a_6834_); +v___x_6839_ = v_reuseFailAlloc_6840_; +goto v_reusejp_6838_; } -v_reusejp_6879_: +v_reusejp_6838_: { -return v___x_6880_; +return v___x_6839_; } } } } else { -lean_object* v_a_6883_; lean_object* v___x_6885_; uint8_t v_isShared_6886_; uint8_t v_isSharedCheck_6890_; -lean_dec(v___y_6743_); -lean_dec_ref(v___y_6742_); -lean_dec(v___y_6741_); -lean_dec_ref(v___y_6740_); -lean_dec_ref(v_type_u1d62_6739_); -lean_dec_ref(v___x_6734_); -lean_dec_ref(v___x_6733_); -lean_dec_ref(v_type_u2080_6732_); -lean_dec(v_a_6731_); -v_a_6883_ = lean_ctor_get(v___x_6745_, 0); -v_isSharedCheck_6890_ = !lean_is_exclusive(v___x_6745_); -if (v_isSharedCheck_6890_ == 0) +lean_object* v_a_6842_; lean_object* v___x_6844_; uint8_t v_isShared_6845_; uint8_t v_isSharedCheck_6849_; +lean_dec(v___y_6702_); +lean_dec_ref(v___y_6701_); +lean_dec(v___y_6700_); +lean_dec_ref(v___y_6699_); +lean_dec_ref(v_type_u1d62_6698_); +lean_dec_ref(v___x_6693_); +lean_dec_ref(v___x_6692_); +lean_dec_ref(v_type_u2080_6691_); +lean_dec(v_a_6690_); +v_a_6842_ = lean_ctor_get(v___x_6704_, 0); +v_isSharedCheck_6849_ = !lean_is_exclusive(v___x_6704_); +if (v_isSharedCheck_6849_ == 0) { -v___x_6885_ = v___x_6745_; -v_isShared_6886_ = v_isSharedCheck_6890_; -goto v_resetjp_6884_; +v___x_6844_ = v___x_6704_; +v_isShared_6845_ = v_isSharedCheck_6849_; +goto v_resetjp_6843_; } else { -lean_inc(v_a_6883_); -lean_dec(v___x_6745_); -v___x_6885_ = lean_box(0); -v_isShared_6886_ = v_isSharedCheck_6890_; -goto v_resetjp_6884_; +lean_inc(v_a_6842_); +lean_dec(v___x_6704_); +v___x_6844_ = lean_box(0); +v_isShared_6845_ = v_isSharedCheck_6849_; +goto v_resetjp_6843_; } -v_resetjp_6884_: +v_resetjp_6843_: { -lean_object* v___x_6888_; -if (v_isShared_6886_ == 0) +lean_object* v___x_6847_; +if (v_isShared_6845_ == 0) { -v___x_6888_ = v___x_6885_; -goto v_reusejp_6887_; +v___x_6847_ = v___x_6844_; +goto v_reusejp_6846_; } else { -lean_object* v_reuseFailAlloc_6889_; -v_reuseFailAlloc_6889_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6889_, 0, v_a_6883_); -v___x_6888_ = v_reuseFailAlloc_6889_; -goto v_reusejp_6887_; +lean_object* v_reuseFailAlloc_6848_; +v_reuseFailAlloc_6848_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6848_, 0, v_a_6842_); +v___x_6847_ = v_reuseFailAlloc_6848_; +goto v_reusejp_6846_; } -v_reusejp_6887_: +v_reusejp_6846_: { -return v___x_6888_; +return v___x_6847_; } } } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___boxed(lean_object* v_a_6891_, lean_object* v_type_u2080_6892_, lean_object* v___x_6893_, lean_object* v___x_6894_, lean_object* v_preDefs_6895_, lean_object* v_a_6896_, lean_object* v___x_6897_, lean_object* v_x_6898_, lean_object* v_type_u1d62_6899_, lean_object* v___y_6900_, lean_object* v___y_6901_, lean_object* v___y_6902_, lean_object* v___y_6903_, lean_object* v___y_6904_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___boxed(lean_object* v_a_6850_, lean_object* v_type_u2080_6851_, lean_object* v___x_6852_, lean_object* v___x_6853_, lean_object* v_preDefs_6854_, lean_object* v_a_6855_, lean_object* v___x_6856_, lean_object* v_x_6857_, lean_object* v_type_u1d62_6858_, lean_object* v___y_6859_, lean_object* v___y_6860_, lean_object* v___y_6861_, lean_object* v___y_6862_, lean_object* v___y_6863_){ _start: { -lean_object* v_res_6905_; -v_res_6905_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0(v_a_6891_, v_type_u2080_6892_, v___x_6893_, v___x_6894_, v_preDefs_6895_, v_a_6896_, v___x_6897_, v_x_6898_, v_type_u1d62_6899_, v___y_6900_, v___y_6901_, v___y_6902_, v___y_6903_); -lean_dec_ref(v_x_6898_); -lean_dec(v_a_6896_); -lean_dec_ref(v_preDefs_6895_); -return v_res_6905_; +lean_object* v_res_6864_; +v_res_6864_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0(v_a_6850_, v_type_u2080_6851_, v___x_6852_, v___x_6853_, v_preDefs_6854_, v_a_6855_, v___x_6856_, v_x_6857_, v_type_u1d62_6858_, v___y_6859_, v___y_6860_, v___y_6861_, v___y_6862_); +lean_dec_ref(v_x_6857_); +lean_dec(v_a_6855_); +lean_dec_ref(v_preDefs_6854_); +return v_res_6864_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(lean_object* v_a_6906_, lean_object* v_type_u2080_6907_, lean_object* v___x_6908_, lean_object* v_preDefs_6909_, lean_object* v_upperBound_6910_, lean_object* v_a_6911_, lean_object* v_a_6912_, lean_object* v_b_6913_, lean_object* v___y_6914_, lean_object* v___y_6915_, lean_object* v___y_6916_, lean_object* v___y_6917_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(lean_object* v_a_6865_, lean_object* v_type_u2080_6866_, lean_object* v___x_6867_, lean_object* v_preDefs_6868_, lean_object* v_upperBound_6869_, lean_object* v_a_6870_, lean_object* v_a_6871_, lean_object* v_b_6872_, lean_object* v___y_6873_, lean_object* v___y_6874_, lean_object* v___y_6875_, lean_object* v___y_6876_){ _start: { -uint8_t v___x_6919_; -v___x_6919_ = lean_nat_dec_lt(v_a_6912_, v_upperBound_6910_); -if (v___x_6919_ == 0) +uint8_t v___x_6878_; +v___x_6878_ = lean_nat_dec_lt(v_a_6871_, v_upperBound_6869_); +if (v___x_6878_ == 0) { -lean_object* v___x_6920_; -lean_dec(v___y_6917_); -lean_dec_ref(v___y_6916_); -lean_dec(v___y_6915_); -lean_dec_ref(v___y_6914_); -lean_dec(v_a_6912_); -lean_dec_ref(v_preDefs_6909_); -lean_dec_ref(v___x_6908_); -lean_dec_ref(v_type_u2080_6907_); -lean_dec(v_a_6906_); -v___x_6920_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_6920_, 0, v_b_6913_); -return v___x_6920_; +lean_object* v___x_6879_; +lean_dec(v___y_6876_); +lean_dec_ref(v___y_6875_); +lean_dec(v___y_6874_); +lean_dec_ref(v___y_6873_); +lean_dec(v_a_6871_); +lean_dec_ref(v_preDefs_6868_); +lean_dec_ref(v___x_6867_); +lean_dec_ref(v_type_u2080_6866_); +lean_dec(v_a_6865_); +v___x_6879_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6879_, 0, v_b_6872_); +return v___x_6879_; } else { -lean_object* v___x_6921_; lean_object* v_type_6922_; lean_object* v___x_6923_; lean_object* v___x_6924_; lean_object* v___f_6925_; lean_object* v___x_6926_; lean_object* v___x_6927_; lean_object* v___x_6928_; uint8_t v___x_6929_; lean_object* v___x_6930_; -v___x_6921_ = lean_array_fget_borrowed(v_preDefs_6909_, v_a_6912_); -v_type_6922_ = lean_ctor_get(v___x_6921_, 6); -v___x_6923_ = l_Lean_Elab_instInhabitedPreDefinition_default; -v___x_6924_ = lean_box(0); -lean_inc(v_a_6912_); -lean_inc_ref(v_preDefs_6909_); -lean_inc_ref(v___x_6908_); -lean_inc_ref(v_type_u2080_6907_); -lean_inc(v_a_6906_); -v___f_6925_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___boxed), 14, 7); -lean_closure_set(v___f_6925_, 0, v_a_6906_); -lean_closure_set(v___f_6925_, 1, v_type_u2080_6907_); -lean_closure_set(v___f_6925_, 2, v___x_6908_); -lean_closure_set(v___f_6925_, 3, v___x_6923_); -lean_closure_set(v___f_6925_, 4, v_preDefs_6909_); -lean_closure_set(v___f_6925_, 5, v_a_6912_); -lean_closure_set(v___f_6925_, 6, v___x_6924_); -v___x_6926_ = lean_unsigned_to_nat(0u); -v___x_6927_ = lean_array_get_borrowed(v___x_6926_, v_a_6911_, v_a_6912_); -lean_inc(v___x_6927_); -v___x_6928_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_6928_, 0, v___x_6927_); -v___x_6929_ = 0; +lean_object* v___x_6880_; lean_object* v_type_6881_; lean_object* v___x_6882_; lean_object* v___x_6883_; lean_object* v___f_6884_; lean_object* v___x_6885_; lean_object* v___x_6886_; lean_object* v___x_6887_; uint8_t v___x_6888_; lean_object* v___x_6889_; +v___x_6880_ = lean_array_fget_borrowed(v_preDefs_6868_, v_a_6871_); +v_type_6881_ = lean_ctor_get(v___x_6880_, 6); +v___x_6882_ = l_Lean_Elab_instInhabitedPreDefinition_default; +v___x_6883_ = lean_box(0); +lean_inc(v_a_6871_); +lean_inc_ref(v_preDefs_6868_); +lean_inc_ref(v___x_6867_); +lean_inc_ref(v_type_u2080_6866_); +lean_inc(v_a_6865_); +v___f_6884_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___lam__0___boxed), 14, 7); +lean_closure_set(v___f_6884_, 0, v_a_6865_); +lean_closure_set(v___f_6884_, 1, v_type_u2080_6866_); +lean_closure_set(v___f_6884_, 2, v___x_6867_); +lean_closure_set(v___f_6884_, 3, v___x_6882_); +lean_closure_set(v___f_6884_, 4, v_preDefs_6868_); +lean_closure_set(v___f_6884_, 5, v_a_6871_); +lean_closure_set(v___f_6884_, 6, v___x_6883_); +v___x_6885_ = lean_unsigned_to_nat(0u); +v___x_6886_ = lean_array_get_borrowed(v___x_6885_, v_a_6870_, v_a_6871_); +lean_inc(v___x_6886_); +v___x_6887_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_6887_, 0, v___x_6886_); +v___x_6888_ = 0; +lean_inc(v___y_6876_); +lean_inc_ref(v___y_6875_); +lean_inc(v___y_6874_); +lean_inc_ref(v___y_6873_); +lean_inc_ref(v_type_6881_); +v___x_6889_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6881_, v___x_6887_, v___f_6884_, v___x_6888_, v___x_6888_, v___y_6873_, v___y_6874_, v___y_6875_, v___y_6876_); +if (lean_obj_tag(v___x_6889_) == 0) +{ +lean_object* v___x_6890_; lean_object* v___x_6891_; +lean_dec_ref(v___x_6889_); +v___x_6890_ = lean_unsigned_to_nat(1u); +v___x_6891_ = lean_nat_add(v_a_6871_, v___x_6890_); +lean_dec(v_a_6871_); +v_a_6871_ = v___x_6891_; +v_b_6872_ = v___x_6883_; +goto _start; +} +else +{ +lean_dec(v___y_6876_); +lean_dec_ref(v___y_6875_); +lean_dec(v___y_6874_); +lean_dec_ref(v___y_6873_); +lean_dec(v_a_6871_); +lean_dec_ref(v_preDefs_6868_); +lean_dec_ref(v___x_6867_); +lean_dec_ref(v_type_u2080_6866_); +lean_dec(v_a_6865_); +return v___x_6889_; +} +} +} +} +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___boxed(lean_object* v_a_6893_, lean_object* v_type_u2080_6894_, lean_object* v___x_6895_, lean_object* v_preDefs_6896_, lean_object* v_upperBound_6897_, lean_object* v_a_6898_, lean_object* v_a_6899_, lean_object* v_b_6900_, lean_object* v___y_6901_, lean_object* v___y_6902_, lean_object* v___y_6903_, lean_object* v___y_6904_, lean_object* v___y_6905_){ +_start: +{ +lean_object* v_res_6906_; +v_res_6906_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_6893_, v_type_u2080_6894_, v___x_6895_, v_preDefs_6896_, v_upperBound_6897_, v_a_6898_, v_a_6899_, v_b_6900_, v___y_6901_, v___y_6902_, v___y_6903_, v___y_6904_); +lean_dec_ref(v_a_6898_); +lean_dec(v_upperBound_6897_); +return v_res_6906_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___lam__0(lean_object* v___x_6907_, lean_object* v_preDefs_6908_, lean_object* v___x_6909_, lean_object* v_a_6910_, lean_object* v___x_6911_, lean_object* v_x_6912_, lean_object* v_type_u2080_6913_, lean_object* v___y_6914_, lean_object* v___y_6915_, lean_object* v___y_6916_, lean_object* v___y_6917_){ +_start: +{ +lean_object* v___x_6919_; lean_inc(v___y_6917_); lean_inc_ref(v___y_6916_); lean_inc(v___y_6915_); lean_inc_ref(v___y_6914_); -lean_inc_ref(v_type_6922_); -v___x_6930_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_6922_, v___x_6928_, v___f_6925_, v___x_6929_, v___x_6929_, v___y_6914_, v___y_6915_, v___y_6916_, v___y_6917_); -if (lean_obj_tag(v___x_6930_) == 0) +lean_inc_ref(v_type_u2080_6913_); +v___x_6919_ = l_Lean_Meta_getLevel(v_type_u2080_6913_, v___y_6914_, v___y_6915_, v___y_6916_, v___y_6917_); +if (lean_obj_tag(v___x_6919_) == 0) { -lean_object* v___x_6931_; lean_object* v___x_6932_; -lean_dec_ref(v___x_6930_); -v___x_6931_ = lean_unsigned_to_nat(1u); -v___x_6932_ = lean_nat_add(v_a_6912_, v___x_6931_); -lean_dec(v_a_6912_); -v_a_6912_ = v___x_6932_; -v_b_6913_ = v___x_6924_; -goto _start; +lean_object* v_a_6920_; lean_object* v___x_6921_; lean_object* v___x_6922_; +v_a_6920_ = lean_ctor_get(v___x_6919_, 0); +lean_inc(v_a_6920_); +lean_dec_ref(v___x_6919_); +v___x_6921_ = lean_box(0); +v___x_6922_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_6920_, v_type_u2080_6913_, v___x_6907_, v_preDefs_6908_, v___x_6909_, v_a_6910_, v___x_6911_, v___x_6921_, v___y_6914_, v___y_6915_, v___y_6916_, v___y_6917_); +if (lean_obj_tag(v___x_6922_) == 0) +{ +lean_object* v___x_6924_; uint8_t v_isShared_6925_; uint8_t v_isSharedCheck_6929_; +v_isSharedCheck_6929_ = !lean_is_exclusive(v___x_6922_); +if (v_isSharedCheck_6929_ == 0) +{ +lean_object* v_unused_6930_; +v_unused_6930_ = lean_ctor_get(v___x_6922_, 0); +lean_dec(v_unused_6930_); +v___x_6924_ = v___x_6922_; +v_isShared_6925_ = v_isSharedCheck_6929_; +goto v_resetjp_6923_; } else { +lean_dec(v___x_6922_); +v___x_6924_ = lean_box(0); +v_isShared_6925_ = v_isSharedCheck_6929_; +goto v_resetjp_6923_; +} +v_resetjp_6923_: +{ +lean_object* v___x_6927_; +if (v_isShared_6925_ == 0) +{ +lean_ctor_set(v___x_6924_, 0, v___x_6921_); +v___x_6927_ = v___x_6924_; +goto v_reusejp_6926_; +} +else +{ +lean_object* v_reuseFailAlloc_6928_; +v_reuseFailAlloc_6928_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6928_, 0, v___x_6921_); +v___x_6927_ = v_reuseFailAlloc_6928_; +goto v_reusejp_6926_; +} +v_reusejp_6926_: +{ +return v___x_6927_; +} +} +} +else +{ +return v___x_6922_; +} +} +else +{ +lean_object* v_a_6931_; lean_object* v___x_6933_; uint8_t v_isShared_6934_; uint8_t v_isSharedCheck_6938_; lean_dec(v___y_6917_); lean_dec_ref(v___y_6916_); lean_dec(v___y_6915_); lean_dec_ref(v___y_6914_); -lean_dec(v_a_6912_); -lean_dec_ref(v_preDefs_6909_); -lean_dec_ref(v___x_6908_); -lean_dec_ref(v_type_u2080_6907_); -lean_dec(v_a_6906_); -return v___x_6930_; +lean_dec_ref(v_type_u2080_6913_); +lean_dec(v___x_6911_); +lean_dec_ref(v_preDefs_6908_); +lean_dec_ref(v___x_6907_); +v_a_6931_ = lean_ctor_get(v___x_6919_, 0); +v_isSharedCheck_6938_ = !lean_is_exclusive(v___x_6919_); +if (v_isSharedCheck_6938_ == 0) +{ +v___x_6933_ = v___x_6919_; +v_isShared_6934_ = v_isSharedCheck_6938_; +goto v_resetjp_6932_; +} +else +{ +lean_inc(v_a_6931_); +lean_dec(v___x_6919_); +v___x_6933_ = lean_box(0); +v_isShared_6934_ = v_isSharedCheck_6938_; +goto v_resetjp_6932_; +} +v_resetjp_6932_: +{ +lean_object* v___x_6936_; +if (v_isShared_6934_ == 0) +{ +v___x_6936_ = v___x_6933_; +goto v_reusejp_6935_; +} +else +{ +lean_object* v_reuseFailAlloc_6937_; +v_reuseFailAlloc_6937_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6937_, 0, v_a_6931_); +v___x_6936_ = v_reuseFailAlloc_6937_; +goto v_reusejp_6935_; +} +v_reusejp_6935_: +{ +return v___x_6936_; } } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg___boxed(lean_object* v_a_6934_, lean_object* v_type_u2080_6935_, lean_object* v___x_6936_, lean_object* v_preDefs_6937_, lean_object* v_upperBound_6938_, lean_object* v_a_6939_, lean_object* v_a_6940_, lean_object* v_b_6941_, lean_object* v___y_6942_, lean_object* v___y_6943_, lean_object* v___y_6944_, lean_object* v___y_6945_, lean_object* v___y_6946_){ +} +LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___lam__0___boxed(lean_object* v___x_6939_, lean_object* v_preDefs_6940_, lean_object* v___x_6941_, lean_object* v_a_6942_, lean_object* v___x_6943_, lean_object* v_x_6944_, lean_object* v_type_u2080_6945_, lean_object* v___y_6946_, lean_object* v___y_6947_, lean_object* v___y_6948_, lean_object* v___y_6949_, lean_object* v___y_6950_){ _start: { -lean_object* v_res_6947_; -v_res_6947_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_6934_, v_type_u2080_6935_, v___x_6936_, v_preDefs_6937_, v_upperBound_6938_, v_a_6939_, v_a_6940_, v_b_6941_, v___y_6942_, v___y_6943_, v___y_6944_, v___y_6945_); -lean_dec_ref(v_a_6939_); -lean_dec(v_upperBound_6938_); -return v_res_6947_; +lean_object* v_res_6951_; +v_res_6951_ = l_Lean_Elab_checkCodomainsLevel___lam__0(v___x_6939_, v_preDefs_6940_, v___x_6941_, v_a_6942_, v___x_6943_, v_x_6944_, v_type_u2080_6945_, v___y_6946_, v___y_6947_, v___y_6948_, v___y_6949_); +lean_dec_ref(v_x_6944_); +lean_dec_ref(v_a_6942_); +lean_dec(v___x_6941_); +return v_res_6951_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___lam__0(lean_object* v___x_6948_, lean_object* v_preDefs_6949_, lean_object* v___x_6950_, lean_object* v_a_6951_, lean_object* v___x_6952_, lean_object* v_x_6953_, lean_object* v_type_u2080_6954_, lean_object* v___y_6955_, lean_object* v___y_6956_, lean_object* v___y_6957_, lean_object* v___y_6958_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0(lean_object* v_xs_6952_, lean_object* v_x_6953_, lean_object* v___y_6954_, lean_object* v___y_6955_, lean_object* v___y_6956_, lean_object* v___y_6957_){ _start: { -lean_object* v___x_6960_; -lean_inc(v___y_6958_); -lean_inc_ref(v___y_6957_); -lean_inc(v___y_6956_); -lean_inc_ref(v___y_6955_); -lean_inc_ref(v_type_u2080_6954_); -v___x_6960_ = l_Lean_Meta_getLevel(v_type_u2080_6954_, v___y_6955_, v___y_6956_, v___y_6957_, v___y_6958_); -if (lean_obj_tag(v___x_6960_) == 0) -{ -lean_object* v_a_6961_; lean_object* v___x_6962_; lean_object* v___x_6963_; -v_a_6961_ = lean_ctor_get(v___x_6960_, 0); -lean_inc(v_a_6961_); -lean_dec_ref(v___x_6960_); -v___x_6962_ = lean_box(0); -v___x_6963_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_6961_, v_type_u2080_6954_, v___x_6948_, v_preDefs_6949_, v___x_6950_, v_a_6951_, v___x_6952_, v___x_6962_, v___y_6955_, v___y_6956_, v___y_6957_, v___y_6958_); -if (lean_obj_tag(v___x_6963_) == 0) -{ -lean_object* v___x_6965_; uint8_t v_isShared_6966_; uint8_t v_isSharedCheck_6970_; -v_isSharedCheck_6970_ = !lean_is_exclusive(v___x_6963_); -if (v_isSharedCheck_6970_ == 0) -{ -lean_object* v_unused_6971_; -v_unused_6971_ = lean_ctor_get(v___x_6963_, 0); -lean_dec(v_unused_6971_); -v___x_6965_ = v___x_6963_; -v_isShared_6966_ = v_isSharedCheck_6970_; -goto v_resetjp_6964_; -} -else -{ -lean_dec(v___x_6963_); -v___x_6965_ = lean_box(0); -v_isShared_6966_ = v_isSharedCheck_6970_; -goto v_resetjp_6964_; -} -v_resetjp_6964_: -{ -lean_object* v___x_6968_; -if (v_isShared_6966_ == 0) -{ -lean_ctor_set(v___x_6965_, 0, v___x_6962_); -v___x_6968_ = v___x_6965_; -goto v_reusejp_6967_; -} -else -{ -lean_object* v_reuseFailAlloc_6969_; -v_reuseFailAlloc_6969_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6969_, 0, v___x_6962_); -v___x_6968_ = v_reuseFailAlloc_6969_; -goto v_reusejp_6967_; -} -v_reusejp_6967_: -{ -return v___x_6968_; +lean_object* v___x_6959_; lean_object* v___x_6960_; +v___x_6959_ = lean_array_get_size(v_xs_6952_); +v___x_6960_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6960_, 0, v___x_6959_); +return v___x_6960_; } } -} -else -{ -return v___x_6963_; -} -} -else -{ -lean_object* v_a_6972_; lean_object* v___x_6974_; uint8_t v_isShared_6975_; uint8_t v_isSharedCheck_6979_; -lean_dec(v___y_6958_); -lean_dec_ref(v___y_6957_); -lean_dec(v___y_6956_); -lean_dec_ref(v___y_6955_); -lean_dec_ref(v_type_u2080_6954_); -lean_dec(v___x_6952_); -lean_dec_ref(v_preDefs_6949_); -lean_dec_ref(v___x_6948_); -v_a_6972_ = lean_ctor_get(v___x_6960_, 0); -v_isSharedCheck_6979_ = !lean_is_exclusive(v___x_6960_); -if (v_isSharedCheck_6979_ == 0) -{ -v___x_6974_ = v___x_6960_; -v_isShared_6975_ = v_isSharedCheck_6979_; -goto v_resetjp_6973_; -} -else -{ -lean_inc(v_a_6972_); -lean_dec(v___x_6960_); -v___x_6974_ = lean_box(0); -v_isShared_6975_ = v_isSharedCheck_6979_; -goto v_resetjp_6973_; -} -v_resetjp_6973_: -{ -lean_object* v___x_6977_; -if (v_isShared_6975_ == 0) -{ -v___x_6977_ = v___x_6974_; -goto v_reusejp_6976_; -} -else -{ -lean_object* v_reuseFailAlloc_6978_; -v_reuseFailAlloc_6978_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_6978_, 0, v_a_6972_); -v___x_6977_ = v_reuseFailAlloc_6978_; -goto v_reusejp_6976_; -} -v_reusejp_6976_: -{ -return v___x_6977_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___lam__0___boxed(lean_object* v___x_6980_, lean_object* v_preDefs_6981_, lean_object* v___x_6982_, lean_object* v_a_6983_, lean_object* v___x_6984_, lean_object* v_x_6985_, lean_object* v_type_u2080_6986_, lean_object* v___y_6987_, lean_object* v___y_6988_, lean_object* v___y_6989_, lean_object* v___y_6990_, lean_object* v___y_6991_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0___boxed(lean_object* v_xs_6961_, lean_object* v_x_6962_, lean_object* v___y_6963_, lean_object* v___y_6964_, lean_object* v___y_6965_, lean_object* v___y_6966_, lean_object* v___y_6967_){ _start: { -lean_object* v_res_6992_; -v_res_6992_ = l_Lean_Elab_checkCodomainsLevel___lam__0(v___x_6980_, v_preDefs_6981_, v___x_6982_, v_a_6983_, v___x_6984_, v_x_6985_, v_type_u2080_6986_, v___y_6987_, v___y_6988_, v___y_6989_, v___y_6990_); -lean_dec_ref(v_x_6985_); -lean_dec_ref(v_a_6983_); -lean_dec(v___x_6982_); -return v_res_6992_; +lean_object* v_res_6968_; +v_res_6968_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0(v_xs_6961_, v_x_6962_, v___y_6963_, v___y_6964_, v___y_6965_, v___y_6966_); +lean_dec(v___y_6966_); +lean_dec_ref(v___y_6965_); +lean_dec(v___y_6964_); +lean_dec_ref(v___y_6963_); +lean_dec_ref(v_x_6962_); +lean_dec_ref(v_xs_6961_); +return v_res_6968_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0(lean_object* v_xs_6993_, lean_object* v_x_6994_, lean_object* v___y_6995_, lean_object* v___y_6996_, lean_object* v___y_6997_, lean_object* v___y_6998_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(size_t v_sz_6970_, size_t v_i_6971_, lean_object* v_bs_6972_, lean_object* v___y_6973_, lean_object* v___y_6974_, lean_object* v___y_6975_, lean_object* v___y_6976_){ _start: { -lean_object* v___x_7000_; lean_object* v___x_7001_; -v___x_7000_ = lean_array_get_size(v_xs_6993_); -v___x_7001_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7001_, 0, v___x_7000_); -return v___x_7001_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0___boxed(lean_object* v_xs_7002_, lean_object* v_x_7003_, lean_object* v___y_7004_, lean_object* v___y_7005_, lean_object* v___y_7006_, lean_object* v___y_7007_, lean_object* v___y_7008_){ -_start: +uint8_t v___x_6978_; +v___x_6978_ = lean_usize_dec_lt(v_i_6971_, v_sz_6970_); +if (v___x_6978_ == 0) { -lean_object* v_res_7009_; -v_res_7009_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___lam__0(v_xs_7002_, v_x_7003_, v___y_7004_, v___y_7005_, v___y_7006_, v___y_7007_); -lean_dec(v___y_7007_); -lean_dec_ref(v___y_7006_); -lean_dec(v___y_7005_); -lean_dec_ref(v___y_7004_); -lean_dec_ref(v_x_7003_); -lean_dec_ref(v_xs_7002_); -return v_res_7009_; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(size_t v_sz_7011_, size_t v_i_7012_, lean_object* v_bs_7013_, lean_object* v___y_7014_, lean_object* v___y_7015_, lean_object* v___y_7016_, lean_object* v___y_7017_){ -_start: -{ -uint8_t v___x_7019_; -v___x_7019_ = lean_usize_dec_lt(v_i_7012_, v_sz_7011_); -if (v___x_7019_ == 0) -{ -lean_object* v___x_7020_; -lean_dec(v___y_7017_); -lean_dec_ref(v___y_7016_); -lean_dec(v___y_7015_); -lean_dec_ref(v___y_7014_); -v___x_7020_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7020_, 0, v_bs_7013_); -return v___x_7020_; +lean_object* v___x_6979_; +lean_dec(v___y_6976_); +lean_dec_ref(v___y_6975_); +lean_dec(v___y_6974_); +lean_dec_ref(v___y_6973_); +v___x_6979_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_6979_, 0, v_bs_6972_); +return v___x_6979_; } else { -lean_object* v_v_7021_; lean_object* v_value_7022_; lean_object* v___f_7023_; uint8_t v___x_7024_; lean_object* v___x_7025_; -v_v_7021_ = lean_array_uget_borrowed(v_bs_7013_, v_i_7012_); -v_value_7022_ = lean_ctor_get(v_v_7021_, 7); -v___f_7023_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___closed__0)); -v___x_7024_ = 0; -lean_inc(v___y_7017_); -lean_inc_ref(v___y_7016_); -lean_inc(v___y_7015_); -lean_inc_ref(v___y_7014_); -lean_inc_ref(v_value_7022_); -v___x_7025_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_value_7022_, v___f_7023_, v___x_7024_, v___y_7014_, v___y_7015_, v___y_7016_, v___y_7017_); -if (lean_obj_tag(v___x_7025_) == 0) +lean_object* v_v_6980_; lean_object* v_value_6981_; lean_object* v___f_6982_; uint8_t v___x_6983_; lean_object* v___x_6984_; +v_v_6980_ = lean_array_uget_borrowed(v_bs_6972_, v_i_6971_); +v_value_6981_ = lean_ctor_get(v_v_6980_, 7); +v___f_6982_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___closed__0)); +v___x_6983_ = 0; +lean_inc(v___y_6976_); +lean_inc_ref(v___y_6975_); +lean_inc(v___y_6974_); +lean_inc_ref(v___y_6973_); +lean_inc_ref(v_value_6981_); +v___x_6984_ = l_Lean_Meta_lambdaTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__0___redArg(v_value_6981_, v___f_6982_, v___x_6983_, v___y_6973_, v___y_6974_, v___y_6975_, v___y_6976_); +if (lean_obj_tag(v___x_6984_) == 0) { -lean_object* v_a_7026_; lean_object* v___x_7027_; lean_object* v_bs_x27_7028_; size_t v___x_7029_; size_t v___x_7030_; lean_object* v___x_7031_; -v_a_7026_ = lean_ctor_get(v___x_7025_, 0); -lean_inc(v_a_7026_); -lean_dec_ref(v___x_7025_); -v___x_7027_ = lean_unsigned_to_nat(0u); -v_bs_x27_7028_ = lean_array_uset(v_bs_7013_, v_i_7012_, v___x_7027_); -v___x_7029_ = ((size_t)1ULL); -v___x_7030_ = lean_usize_add(v_i_7012_, v___x_7029_); -v___x_7031_ = lean_array_uset(v_bs_x27_7028_, v_i_7012_, v_a_7026_); -v_i_7012_ = v___x_7030_; -v_bs_7013_ = v___x_7031_; +lean_object* v_a_6985_; lean_object* v___x_6986_; lean_object* v_bs_x27_6987_; size_t v___x_6988_; size_t v___x_6989_; lean_object* v___x_6990_; +v_a_6985_ = lean_ctor_get(v___x_6984_, 0); +lean_inc(v_a_6985_); +lean_dec_ref(v___x_6984_); +v___x_6986_ = lean_unsigned_to_nat(0u); +v_bs_x27_6987_ = lean_array_uset(v_bs_6972_, v_i_6971_, v___x_6986_); +v___x_6988_ = ((size_t)1ULL); +v___x_6989_ = lean_usize_add(v_i_6971_, v___x_6988_); +v___x_6990_ = lean_array_uset(v_bs_x27_6987_, v_i_6971_, v_a_6985_); +v_i_6971_ = v___x_6989_; +v_bs_6972_ = v___x_6990_; goto _start; } else { -lean_object* v_a_7033_; lean_object* v___x_7035_; uint8_t v_isShared_7036_; uint8_t v_isSharedCheck_7040_; -lean_dec(v___y_7017_); -lean_dec_ref(v___y_7016_); -lean_dec(v___y_7015_); -lean_dec_ref(v___y_7014_); -lean_dec_ref(v_bs_7013_); -v_a_7033_ = lean_ctor_get(v___x_7025_, 0); -v_isSharedCheck_7040_ = !lean_is_exclusive(v___x_7025_); -if (v_isSharedCheck_7040_ == 0) +lean_object* v_a_6992_; lean_object* v___x_6994_; uint8_t v_isShared_6995_; uint8_t v_isSharedCheck_6999_; +lean_dec(v___y_6976_); +lean_dec_ref(v___y_6975_); +lean_dec(v___y_6974_); +lean_dec_ref(v___y_6973_); +lean_dec_ref(v_bs_6972_); +v_a_6992_ = lean_ctor_get(v___x_6984_, 0); +v_isSharedCheck_6999_ = !lean_is_exclusive(v___x_6984_); +if (v_isSharedCheck_6999_ == 0) { -v___x_7035_ = v___x_7025_; -v_isShared_7036_ = v_isSharedCheck_7040_; -goto v_resetjp_7034_; +v___x_6994_ = v___x_6984_; +v_isShared_6995_ = v_isSharedCheck_6999_; +goto v_resetjp_6993_; } else { -lean_inc(v_a_7033_); -lean_dec(v___x_7025_); -v___x_7035_ = lean_box(0); -v_isShared_7036_ = v_isSharedCheck_7040_; -goto v_resetjp_7034_; +lean_inc(v_a_6992_); +lean_dec(v___x_6984_); +v___x_6994_ = lean_box(0); +v_isShared_6995_ = v_isSharedCheck_6999_; +goto v_resetjp_6993_; } -v_resetjp_7034_: +v_resetjp_6993_: { -lean_object* v___x_7038_; -if (v_isShared_7036_ == 0) +lean_object* v___x_6997_; +if (v_isShared_6995_ == 0) { -v___x_7038_ = v___x_7035_; -goto v_reusejp_7037_; +v___x_6997_ = v___x_6994_; +goto v_reusejp_6996_; } else { -lean_object* v_reuseFailAlloc_7039_; -v_reuseFailAlloc_7039_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7039_, 0, v_a_7033_); -v___x_7038_ = v_reuseFailAlloc_7039_; -goto v_reusejp_7037_; +lean_object* v_reuseFailAlloc_6998_; +v_reuseFailAlloc_6998_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_6998_, 0, v_a_6992_); +v___x_6997_ = v_reuseFailAlloc_6998_; +goto v_reusejp_6996_; } -v_reusejp_7037_: +v_reusejp_6996_: { -return v___x_7038_; +return v___x_6997_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___boxed(lean_object* v_sz_7041_, lean_object* v_i_7042_, lean_object* v_bs_7043_, lean_object* v___y_7044_, lean_object* v___y_7045_, lean_object* v___y_7046_, lean_object* v___y_7047_, lean_object* v___y_7048_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1___boxed(lean_object* v_sz_7000_, lean_object* v_i_7001_, lean_object* v_bs_7002_, lean_object* v___y_7003_, lean_object* v___y_7004_, lean_object* v___y_7005_, lean_object* v___y_7006_, lean_object* v___y_7007_){ _start: { -size_t v_sz_boxed_7049_; size_t v_i_boxed_7050_; lean_object* v_res_7051_; -v_sz_boxed_7049_ = lean_unbox_usize(v_sz_7041_); -lean_dec(v_sz_7041_); -v_i_boxed_7050_ = lean_unbox_usize(v_i_7042_); -lean_dec(v_i_7042_); -v_res_7051_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(v_sz_boxed_7049_, v_i_boxed_7050_, v_bs_7043_, v___y_7044_, v___y_7045_, v___y_7046_, v___y_7047_); -return v_res_7051_; +size_t v_sz_boxed_7008_; size_t v_i_boxed_7009_; lean_object* v_res_7010_; +v_sz_boxed_7008_ = lean_unbox_usize(v_sz_7000_); +lean_dec(v_sz_7000_); +v_i_boxed_7009_ = lean_unbox_usize(v_i_7001_); +lean_dec(v_i_7001_); +v_res_7010_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(v_sz_boxed_7008_, v_i_boxed_7009_, v_bs_7002_, v___y_7003_, v___y_7004_, v___y_7005_, v___y_7006_); +return v_res_7010_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel(lean_object* v_preDefs_7052_, lean_object* v_a_7053_, lean_object* v_a_7054_, lean_object* v_a_7055_, lean_object* v_a_7056_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel(lean_object* v_preDefs_7011_, lean_object* v_a_7012_, lean_object* v_a_7013_, lean_object* v_a_7014_, lean_object* v_a_7015_){ _start: { -lean_object* v___x_7058_; lean_object* v___x_7059_; uint8_t v___x_7060_; -v___x_7058_ = lean_array_get_size(v_preDefs_7052_); -v___x_7059_ = lean_unsigned_to_nat(1u); -v___x_7060_ = lean_nat_dec_eq(v___x_7058_, v___x_7059_); -if (v___x_7060_ == 0) +lean_object* v___x_7017_; lean_object* v___x_7018_; uint8_t v___x_7019_; +v___x_7017_ = lean_array_get_size(v_preDefs_7011_); +v___x_7018_ = lean_unsigned_to_nat(1u); +v___x_7019_ = lean_nat_dec_eq(v___x_7017_, v___x_7018_); +if (v___x_7019_ == 0) { -size_t v_sz_7061_; size_t v___x_7062_; lean_object* v___x_7063_; -v_sz_7061_ = lean_array_size(v_preDefs_7052_); -v___x_7062_ = ((size_t)0ULL); -lean_inc(v_a_7056_); -lean_inc_ref(v_a_7055_); -lean_inc(v_a_7054_); -lean_inc_ref(v_a_7053_); -lean_inc_ref(v_preDefs_7052_); -v___x_7063_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(v_sz_7061_, v___x_7062_, v_preDefs_7052_, v_a_7053_, v_a_7054_, v_a_7055_, v_a_7056_); -if (lean_obj_tag(v___x_7063_) == 0) +size_t v_sz_7020_; size_t v___x_7021_; lean_object* v___x_7022_; +v_sz_7020_ = lean_array_size(v_preDefs_7011_); +v___x_7021_ = ((size_t)0ULL); +lean_inc(v_a_7015_); +lean_inc_ref(v_a_7014_); +lean_inc(v_a_7013_); +lean_inc_ref(v_a_7012_); +lean_inc_ref(v_preDefs_7011_); +v___x_7022_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Elab_checkCodomainsLevel_spec__1(v_sz_7020_, v___x_7021_, v_preDefs_7011_, v_a_7012_, v_a_7013_, v_a_7014_, v_a_7015_); +if (lean_obj_tag(v___x_7022_) == 0) { -lean_object* v_a_7064_; lean_object* v___x_7065_; lean_object* v___x_7066_; lean_object* v___x_7067_; lean_object* v_type_7068_; lean_object* v___f_7069_; lean_object* v___x_7070_; lean_object* v___x_7071_; lean_object* v___x_7072_; -v_a_7064_ = lean_ctor_get(v___x_7063_, 0); -lean_inc(v_a_7064_); -lean_dec_ref(v___x_7063_); -v___x_7065_ = l_Lean_Elab_instInhabitedPreDefinition_default; -v___x_7066_ = lean_unsigned_to_nat(0u); -v___x_7067_ = lean_array_get(v___x_7065_, v_preDefs_7052_, v___x_7066_); -v_type_7068_ = lean_ctor_get(v___x_7067_, 6); -lean_inc_ref(v_type_7068_); -lean_inc(v_a_7064_); -v___f_7069_ = lean_alloc_closure((void*)(l_Lean_Elab_checkCodomainsLevel___lam__0___boxed), 12, 5); -lean_closure_set(v___f_7069_, 0, v___x_7067_); -lean_closure_set(v___f_7069_, 1, v_preDefs_7052_); -lean_closure_set(v___f_7069_, 2, v___x_7058_); -lean_closure_set(v___f_7069_, 3, v_a_7064_); -lean_closure_set(v___f_7069_, 4, v___x_7059_); -v___x_7070_ = lean_array_get(v___x_7066_, v_a_7064_, v___x_7066_); -lean_dec(v_a_7064_); -v___x_7071_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_7071_, 0, v___x_7070_); -v___x_7072_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_7068_, v___x_7071_, v___f_7069_, v___x_7060_, v___x_7060_, v_a_7053_, v_a_7054_, v_a_7055_, v_a_7056_); -return v___x_7072_; +lean_object* v_a_7023_; lean_object* v___x_7024_; lean_object* v___x_7025_; lean_object* v___x_7026_; lean_object* v_type_7027_; lean_object* v___f_7028_; lean_object* v___x_7029_; lean_object* v___x_7030_; lean_object* v___x_7031_; +v_a_7023_ = lean_ctor_get(v___x_7022_, 0); +lean_inc(v_a_7023_); +lean_dec_ref(v___x_7022_); +v___x_7024_ = l_Lean_Elab_instInhabitedPreDefinition_default; +v___x_7025_ = lean_unsigned_to_nat(0u); +v___x_7026_ = lean_array_get(v___x_7024_, v_preDefs_7011_, v___x_7025_); +v_type_7027_ = lean_ctor_get(v___x_7026_, 6); +lean_inc_ref(v_type_7027_); +lean_inc(v_a_7023_); +v___f_7028_ = lean_alloc_closure((void*)(l_Lean_Elab_checkCodomainsLevel___lam__0___boxed), 12, 5); +lean_closure_set(v___f_7028_, 0, v___x_7026_); +lean_closure_set(v___f_7028_, 1, v_preDefs_7011_); +lean_closure_set(v___f_7028_, 2, v___x_7017_); +lean_closure_set(v___f_7028_, 3, v_a_7023_); +lean_closure_set(v___f_7028_, 4, v___x_7018_); +v___x_7029_ = lean_array_get(v___x_7025_, v_a_7023_, v___x_7025_); +lean_dec(v_a_7023_); +v___x_7030_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_7030_, 0, v___x_7029_); +v___x_7031_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Elab_checkCodomainsLevel_spec__3___redArg(v_type_7027_, v___x_7030_, v___f_7028_, v___x_7019_, v___x_7019_, v_a_7012_, v_a_7013_, v_a_7014_, v_a_7015_); +return v___x_7031_; } else { -lean_object* v_a_7073_; lean_object* v___x_7075_; uint8_t v_isShared_7076_; uint8_t v_isSharedCheck_7080_; -lean_dec(v_a_7056_); -lean_dec_ref(v_a_7055_); -lean_dec(v_a_7054_); -lean_dec_ref(v_a_7053_); -lean_dec_ref(v_preDefs_7052_); -v_a_7073_ = lean_ctor_get(v___x_7063_, 0); -v_isSharedCheck_7080_ = !lean_is_exclusive(v___x_7063_); -if (v_isSharedCheck_7080_ == 0) +lean_object* v_a_7032_; lean_object* v___x_7034_; uint8_t v_isShared_7035_; uint8_t v_isSharedCheck_7039_; +lean_dec(v_a_7015_); +lean_dec_ref(v_a_7014_); +lean_dec(v_a_7013_); +lean_dec_ref(v_a_7012_); +lean_dec_ref(v_preDefs_7011_); +v_a_7032_ = lean_ctor_get(v___x_7022_, 0); +v_isSharedCheck_7039_ = !lean_is_exclusive(v___x_7022_); +if (v_isSharedCheck_7039_ == 0) { -v___x_7075_ = v___x_7063_; -v_isShared_7076_ = v_isSharedCheck_7080_; -goto v_resetjp_7074_; +v___x_7034_ = v___x_7022_; +v_isShared_7035_ = v_isSharedCheck_7039_; +goto v_resetjp_7033_; } else { -lean_inc(v_a_7073_); -lean_dec(v___x_7063_); -v___x_7075_ = lean_box(0); -v_isShared_7076_ = v_isSharedCheck_7080_; -goto v_resetjp_7074_; +lean_inc(v_a_7032_); +lean_dec(v___x_7022_); +v___x_7034_ = lean_box(0); +v_isShared_7035_ = v_isSharedCheck_7039_; +goto v_resetjp_7033_; } -v_resetjp_7074_: +v_resetjp_7033_: { -lean_object* v___x_7078_; -if (v_isShared_7076_ == 0) +lean_object* v___x_7037_; +if (v_isShared_7035_ == 0) { -v___x_7078_ = v___x_7075_; -goto v_reusejp_7077_; +v___x_7037_ = v___x_7034_; +goto v_reusejp_7036_; } else { -lean_object* v_reuseFailAlloc_7079_; -v_reuseFailAlloc_7079_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7079_, 0, v_a_7073_); -v___x_7078_ = v_reuseFailAlloc_7079_; -goto v_reusejp_7077_; +lean_object* v_reuseFailAlloc_7038_; +v_reuseFailAlloc_7038_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7038_, 0, v_a_7032_); +v___x_7037_ = v_reuseFailAlloc_7038_; +goto v_reusejp_7036_; } -v_reusejp_7077_: +v_reusejp_7036_: { -return v___x_7078_; +return v___x_7037_; } } } } else { -lean_object* v___x_7081_; lean_object* v___x_7082_; -lean_dec(v_a_7056_); -lean_dec_ref(v_a_7055_); -lean_dec(v_a_7054_); -lean_dec_ref(v_a_7053_); -lean_dec_ref(v_preDefs_7052_); -v___x_7081_ = lean_box(0); -v___x_7082_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7082_, 0, v___x_7081_); -return v___x_7082_; +lean_object* v___x_7040_; lean_object* v___x_7041_; +lean_dec(v_a_7015_); +lean_dec_ref(v_a_7014_); +lean_dec(v_a_7013_); +lean_dec_ref(v_a_7012_); +lean_dec_ref(v_preDefs_7011_); +v___x_7040_ = lean_box(0); +v___x_7041_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7041_, 0, v___x_7040_); +return v___x_7041_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___boxed(lean_object* v_preDefs_7083_, lean_object* v_a_7084_, lean_object* v_a_7085_, lean_object* v_a_7086_, lean_object* v_a_7087_, lean_object* v_a_7088_){ +LEAN_EXPORT lean_object* l_Lean_Elab_checkCodomainsLevel___boxed(lean_object* v_preDefs_7042_, lean_object* v_a_7043_, lean_object* v_a_7044_, lean_object* v_a_7045_, lean_object* v_a_7046_, lean_object* v_a_7047_){ _start: { -lean_object* v_res_7089_; -v_res_7089_ = l_Lean_Elab_checkCodomainsLevel(v_preDefs_7083_, v_a_7084_, v_a_7085_, v_a_7086_, v_a_7087_); -return v_res_7089_; +lean_object* v_res_7048_; +v_res_7048_ = l_Lean_Elab_checkCodomainsLevel(v_preDefs_7042_, v_a_7043_, v_a_7044_, v_a_7045_, v_a_7046_); +return v_res_7048_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4(lean_object* v_a_7090_, lean_object* v_type_u2080_7091_, lean_object* v___x_7092_, lean_object* v_preDefs_7093_, lean_object* v_upperBound_7094_, lean_object* v_a_7095_, lean_object* v_inst_7096_, lean_object* v_R_7097_, lean_object* v_a_7098_, lean_object* v_b_7099_, lean_object* v_c_7100_, lean_object* v___y_7101_, lean_object* v___y_7102_, lean_object* v___y_7103_, lean_object* v___y_7104_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4(lean_object* v_a_7049_, lean_object* v_type_u2080_7050_, lean_object* v___x_7051_, lean_object* v_preDefs_7052_, lean_object* v_upperBound_7053_, lean_object* v_a_7054_, lean_object* v_inst_7055_, lean_object* v_R_7056_, lean_object* v_a_7057_, lean_object* v_b_7058_, lean_object* v_c_7059_, lean_object* v___y_7060_, lean_object* v___y_7061_, lean_object* v___y_7062_, lean_object* v___y_7063_){ _start: { -lean_object* v___x_7106_; -v___x_7106_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_7090_, v_type_u2080_7091_, v___x_7092_, v_preDefs_7093_, v_upperBound_7094_, v_a_7095_, v_a_7098_, v_b_7099_, v___y_7101_, v___y_7102_, v___y_7103_, v___y_7104_); -return v___x_7106_; +lean_object* v___x_7065_; +v___x_7065_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___redArg(v_a_7049_, v_type_u2080_7050_, v___x_7051_, v_preDefs_7052_, v_upperBound_7053_, v_a_7054_, v_a_7057_, v_b_7058_, v___y_7060_, v___y_7061_, v___y_7062_, v___y_7063_); +return v___x_7065_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___boxed(lean_object* v_a_7107_, lean_object* v_type_u2080_7108_, lean_object* v___x_7109_, lean_object* v_preDefs_7110_, lean_object* v_upperBound_7111_, lean_object* v_a_7112_, lean_object* v_inst_7113_, lean_object* v_R_7114_, lean_object* v_a_7115_, lean_object* v_b_7116_, lean_object* v_c_7117_, lean_object* v___y_7118_, lean_object* v___y_7119_, lean_object* v___y_7120_, lean_object* v___y_7121_, lean_object* v___y_7122_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4___boxed(lean_object* v_a_7066_, lean_object* v_type_u2080_7067_, lean_object* v___x_7068_, lean_object* v_preDefs_7069_, lean_object* v_upperBound_7070_, lean_object* v_a_7071_, lean_object* v_inst_7072_, lean_object* v_R_7073_, lean_object* v_a_7074_, lean_object* v_b_7075_, lean_object* v_c_7076_, lean_object* v___y_7077_, lean_object* v___y_7078_, lean_object* v___y_7079_, lean_object* v___y_7080_, lean_object* v___y_7081_){ _start: { -lean_object* v_res_7123_; -v_res_7123_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4(v_a_7107_, v_type_u2080_7108_, v___x_7109_, v_preDefs_7110_, v_upperBound_7111_, v_a_7112_, v_inst_7113_, v_R_7114_, v_a_7115_, v_b_7116_, v_c_7117_, v___y_7118_, v___y_7119_, v___y_7120_, v___y_7121_); -lean_dec_ref(v_a_7112_); -lean_dec(v_upperBound_7111_); -return v_res_7123_; +lean_object* v_res_7082_; +v_res_7082_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_checkCodomainsLevel_spec__4(v_a_7066_, v_type_u2080_7067_, v___x_7068_, v_preDefs_7069_, v_upperBound_7070_, v_a_7071_, v_inst_7072_, v_R_7073_, v_a_7074_, v_b_7075_, v_c_7076_, v___y_7077_, v___y_7078_, v___y_7079_, v___y_7080_); +lean_dec_ref(v_a_7071_); +lean_dec(v_upperBound_7070_); +return v_res_7082_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(lean_object* v_cls_7124_, lean_object* v___y_7125_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(lean_object* v_cls_7083_, lean_object* v___y_7084_){ _start: { -lean_object* v_options_7127_; uint8_t v_hasTrace_7128_; -v_options_7127_ = lean_ctor_get(v___y_7125_, 2); -v_hasTrace_7128_ = lean_ctor_get_uint8(v_options_7127_, sizeof(void*)*1); -if (v_hasTrace_7128_ == 0) +lean_object* v_options_7086_; uint8_t v_hasTrace_7087_; +v_options_7086_ = lean_ctor_get(v___y_7084_, 2); +v_hasTrace_7087_ = lean_ctor_get_uint8(v_options_7086_, sizeof(void*)*1); +if (v_hasTrace_7087_ == 0) { -lean_object* v___x_7129_; lean_object* v___x_7130_; -lean_dec(v_cls_7124_); -v___x_7129_ = lean_box(v_hasTrace_7128_); -v___x_7130_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7130_, 0, v___x_7129_); -return v___x_7130_; +lean_object* v___x_7088_; lean_object* v___x_7089_; +lean_dec(v_cls_7083_); +v___x_7088_ = lean_box(v_hasTrace_7087_); +v___x_7089_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7089_, 0, v___x_7088_); +return v___x_7089_; } else { -lean_object* v_inheritedTraceOptions_7131_; lean_object* v___x_7132_; lean_object* v___x_7133_; uint8_t v___x_7134_; lean_object* v___x_7135_; lean_object* v___x_7136_; -v_inheritedTraceOptions_7131_ = lean_ctor_get(v___y_7125_, 13); -v___x_7132_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00Lean_Elab_fixLevelParams_spec__3___redArg___closed__1)); -v___x_7133_ = l_Lean_Name_append(v___x_7132_, v_cls_7124_); -v___x_7134_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_7131_, v_options_7127_, v___x_7133_); -lean_dec(v___x_7133_); -v___x_7135_ = lean_box(v___x_7134_); -v___x_7136_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7136_, 0, v___x_7135_); -return v___x_7136_; +lean_object* v_inheritedTraceOptions_7090_; lean_object* v___x_7091_; lean_object* v___x_7092_; uint8_t v___x_7093_; lean_object* v___x_7094_; lean_object* v___x_7095_; +v_inheritedTraceOptions_7090_ = lean_ctor_get(v___y_7084_, 13); +v___x_7091_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00Lean_Elab_fixLevelParams_spec__3___redArg___closed__1)); +v___x_7092_ = l_Lean_Name_append(v___x_7091_, v_cls_7083_); +v___x_7093_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_7090_, v_options_7086_, v___x_7092_); +lean_dec(v___x_7092_); +v___x_7094_ = lean_box(v___x_7093_); +v___x_7095_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7095_, 0, v___x_7094_); +return v___x_7095_; } } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg___boxed(lean_object* v_cls_7137_, lean_object* v___y_7138_, lean_object* v___y_7139_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg___boxed(lean_object* v_cls_7096_, lean_object* v___y_7097_, lean_object* v___y_7098_){ _start: { -lean_object* v_res_7140_; -v_res_7140_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v_cls_7137_, v___y_7138_); -lean_dec_ref(v___y_7138_); -return v_res_7140_; +lean_object* v_res_7099_; +v_res_7099_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v_cls_7096_, v___y_7097_); +lean_dec_ref(v___y_7097_); +return v_res_7099_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2(lean_object* v_cls_7141_, lean_object* v___y_7142_, lean_object* v___y_7143_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2(lean_object* v_cls_7100_, lean_object* v___y_7101_, lean_object* v___y_7102_){ _start: { -lean_object* v___x_7145_; -v___x_7145_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v_cls_7141_, v___y_7142_); -return v___x_7145_; +lean_object* v___x_7104_; +v___x_7104_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v_cls_7100_, v___y_7101_); +return v___x_7104_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___boxed(lean_object* v_cls_7146_, lean_object* v___y_7147_, lean_object* v___y_7148_, lean_object* v___y_7149_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___boxed(lean_object* v_cls_7105_, lean_object* v___y_7106_, lean_object* v___y_7107_, lean_object* v___y_7108_){ _start: { -lean_object* v_res_7150_; -v_res_7150_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2(v_cls_7146_, v___y_7147_, v___y_7148_); -lean_dec(v___y_7148_); -lean_dec_ref(v___y_7147_); -return v_res_7150_; +lean_object* v_res_7109_; +v_res_7109_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2(v_cls_7105_, v___y_7106_, v___y_7107_); +lean_dec(v___y_7107_); +lean_dec_ref(v___y_7106_); +return v_res_7109_; } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(lean_object* v___y_7151_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(lean_object* v___y_7110_){ _start: { -lean_object* v___x_7153_; lean_object* v_traceState_7154_; lean_object* v_traces_7155_; lean_object* v___x_7156_; lean_object* v_traceState_7157_; lean_object* v_env_7158_; lean_object* v_nextMacroScope_7159_; lean_object* v_ngen_7160_; lean_object* v_auxDeclNGen_7161_; lean_object* v_cache_7162_; lean_object* v_messages_7163_; lean_object* v_infoState_7164_; lean_object* v_snapshotTasks_7165_; lean_object* v___x_7167_; uint8_t v_isShared_7168_; uint8_t v_isSharedCheck_7186_; -v___x_7153_ = lean_st_ref_get(v___y_7151_); -v_traceState_7154_ = lean_ctor_get(v___x_7153_, 4); -lean_inc_ref(v_traceState_7154_); -lean_dec(v___x_7153_); -v_traces_7155_ = lean_ctor_get(v_traceState_7154_, 0); -lean_inc_ref(v_traces_7155_); -lean_dec_ref(v_traceState_7154_); -v___x_7156_ = lean_st_ref_take(v___y_7151_); -v_traceState_7157_ = lean_ctor_get(v___x_7156_, 4); -v_env_7158_ = lean_ctor_get(v___x_7156_, 0); -v_nextMacroScope_7159_ = lean_ctor_get(v___x_7156_, 1); -v_ngen_7160_ = lean_ctor_get(v___x_7156_, 2); -v_auxDeclNGen_7161_ = lean_ctor_get(v___x_7156_, 3); -v_cache_7162_ = lean_ctor_get(v___x_7156_, 5); -v_messages_7163_ = lean_ctor_get(v___x_7156_, 6); -v_infoState_7164_ = lean_ctor_get(v___x_7156_, 7); -v_snapshotTasks_7165_ = lean_ctor_get(v___x_7156_, 8); -v_isSharedCheck_7186_ = !lean_is_exclusive(v___x_7156_); -if (v_isSharedCheck_7186_ == 0) +lean_object* v___x_7112_; lean_object* v_traceState_7113_; lean_object* v_traces_7114_; lean_object* v___x_7115_; lean_object* v_traceState_7116_; lean_object* v_env_7117_; lean_object* v_nextMacroScope_7118_; lean_object* v_ngen_7119_; lean_object* v_auxDeclNGen_7120_; lean_object* v_cache_7121_; lean_object* v_messages_7122_; lean_object* v_infoState_7123_; lean_object* v_snapshotTasks_7124_; lean_object* v___x_7126_; uint8_t v_isShared_7127_; uint8_t v_isSharedCheck_7145_; +v___x_7112_ = lean_st_ref_get(v___y_7110_); +v_traceState_7113_ = lean_ctor_get(v___x_7112_, 4); +lean_inc_ref(v_traceState_7113_); +lean_dec(v___x_7112_); +v_traces_7114_ = lean_ctor_get(v_traceState_7113_, 0); +lean_inc_ref(v_traces_7114_); +lean_dec_ref(v_traceState_7113_); +v___x_7115_ = lean_st_ref_take(v___y_7110_); +v_traceState_7116_ = lean_ctor_get(v___x_7115_, 4); +v_env_7117_ = lean_ctor_get(v___x_7115_, 0); +v_nextMacroScope_7118_ = lean_ctor_get(v___x_7115_, 1); +v_ngen_7119_ = lean_ctor_get(v___x_7115_, 2); +v_auxDeclNGen_7120_ = lean_ctor_get(v___x_7115_, 3); +v_cache_7121_ = lean_ctor_get(v___x_7115_, 5); +v_messages_7122_ = lean_ctor_get(v___x_7115_, 6); +v_infoState_7123_ = lean_ctor_get(v___x_7115_, 7); +v_snapshotTasks_7124_ = lean_ctor_get(v___x_7115_, 8); +v_isSharedCheck_7145_ = !lean_is_exclusive(v___x_7115_); +if (v_isSharedCheck_7145_ == 0) { -v___x_7167_ = v___x_7156_; -v_isShared_7168_ = v_isSharedCheck_7186_; -goto v_resetjp_7166_; +v___x_7126_ = v___x_7115_; +v_isShared_7127_ = v_isSharedCheck_7145_; +goto v_resetjp_7125_; } else { -lean_inc(v_snapshotTasks_7165_); -lean_inc(v_infoState_7164_); -lean_inc(v_messages_7163_); -lean_inc(v_cache_7162_); -lean_inc(v_traceState_7157_); -lean_inc(v_auxDeclNGen_7161_); -lean_inc(v_ngen_7160_); -lean_inc(v_nextMacroScope_7159_); -lean_inc(v_env_7158_); -lean_dec(v___x_7156_); -v___x_7167_ = lean_box(0); -v_isShared_7168_ = v_isSharedCheck_7186_; -goto v_resetjp_7166_; +lean_inc(v_snapshotTasks_7124_); +lean_inc(v_infoState_7123_); +lean_inc(v_messages_7122_); +lean_inc(v_cache_7121_); +lean_inc(v_traceState_7116_); +lean_inc(v_auxDeclNGen_7120_); +lean_inc(v_ngen_7119_); +lean_inc(v_nextMacroScope_7118_); +lean_inc(v_env_7117_); +lean_dec(v___x_7115_); +v___x_7126_ = lean_box(0); +v_isShared_7127_ = v_isSharedCheck_7145_; +goto v_resetjp_7125_; } -v_resetjp_7166_: +v_resetjp_7125_: { -uint64_t v_tid_7169_; lean_object* v___x_7171_; uint8_t v_isShared_7172_; uint8_t v_isSharedCheck_7184_; -v_tid_7169_ = lean_ctor_get_uint64(v_traceState_7157_, sizeof(void*)*1); -v_isSharedCheck_7184_ = !lean_is_exclusive(v_traceState_7157_); -if (v_isSharedCheck_7184_ == 0) +uint64_t v_tid_7128_; lean_object* v___x_7130_; uint8_t v_isShared_7131_; uint8_t v_isSharedCheck_7143_; +v_tid_7128_ = lean_ctor_get_uint64(v_traceState_7116_, sizeof(void*)*1); +v_isSharedCheck_7143_ = !lean_is_exclusive(v_traceState_7116_); +if (v_isSharedCheck_7143_ == 0) { -lean_object* v_unused_7185_; -v_unused_7185_ = lean_ctor_get(v_traceState_7157_, 0); -lean_dec(v_unused_7185_); -v___x_7171_ = v_traceState_7157_; -v_isShared_7172_ = v_isSharedCheck_7184_; -goto v_resetjp_7170_; +lean_object* v_unused_7144_; +v_unused_7144_ = lean_ctor_get(v_traceState_7116_, 0); +lean_dec(v_unused_7144_); +v___x_7130_ = v_traceState_7116_; +v_isShared_7131_ = v_isSharedCheck_7143_; +goto v_resetjp_7129_; } else { -lean_dec(v_traceState_7157_); -v___x_7171_ = lean_box(0); -v_isShared_7172_ = v_isSharedCheck_7184_; -goto v_resetjp_7170_; +lean_dec(v_traceState_7116_); +v___x_7130_ = lean_box(0); +v_isShared_7131_ = v_isSharedCheck_7143_; +goto v_resetjp_7129_; } -v_resetjp_7170_: +v_resetjp_7129_: { -lean_object* v___x_7173_; lean_object* v___x_7174_; lean_object* v___x_7175_; lean_object* v___x_7177_; -v___x_7173_ = lean_unsigned_to_nat(32u); -v___x_7174_ = lean_mk_empty_array_with_capacity(v___x_7173_); -lean_dec_ref(v___x_7174_); -v___x_7175_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1, &l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1_once, _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1); -if (v_isShared_7172_ == 0) +lean_object* v___x_7132_; lean_object* v___x_7133_; lean_object* v___x_7134_; lean_object* v___x_7136_; +v___x_7132_ = lean_unsigned_to_nat(32u); +v___x_7133_ = lean_mk_empty_array_with_capacity(v___x_7132_); +lean_dec_ref(v___x_7133_); +v___x_7134_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1, &l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1_once, _init_l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_fixLevelParams_spec__4___redArg___closed__1); +if (v_isShared_7131_ == 0) { -lean_ctor_set(v___x_7171_, 0, v___x_7175_); -v___x_7177_ = v___x_7171_; -goto v_reusejp_7176_; +lean_ctor_set(v___x_7130_, 0, v___x_7134_); +v___x_7136_ = v___x_7130_; +goto v_reusejp_7135_; } else { -lean_object* v_reuseFailAlloc_7183_; -v_reuseFailAlloc_7183_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_7183_, 0, v___x_7175_); -lean_ctor_set_uint64(v_reuseFailAlloc_7183_, sizeof(void*)*1, v_tid_7169_); -v___x_7177_ = v_reuseFailAlloc_7183_; -goto v_reusejp_7176_; +lean_object* v_reuseFailAlloc_7142_; +v_reuseFailAlloc_7142_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_7142_, 0, v___x_7134_); +lean_ctor_set_uint64(v_reuseFailAlloc_7142_, sizeof(void*)*1, v_tid_7128_); +v___x_7136_ = v_reuseFailAlloc_7142_; +goto v_reusejp_7135_; } -v_reusejp_7176_: +v_reusejp_7135_: { -lean_object* v___x_7179_; -if (v_isShared_7168_ == 0) +lean_object* v___x_7138_; +if (v_isShared_7127_ == 0) { -lean_ctor_set(v___x_7167_, 4, v___x_7177_); -v___x_7179_ = v___x_7167_; -goto v_reusejp_7178_; +lean_ctor_set(v___x_7126_, 4, v___x_7136_); +v___x_7138_ = v___x_7126_; +goto v_reusejp_7137_; } else { -lean_object* v_reuseFailAlloc_7182_; -v_reuseFailAlloc_7182_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_7182_, 0, v_env_7158_); -lean_ctor_set(v_reuseFailAlloc_7182_, 1, v_nextMacroScope_7159_); -lean_ctor_set(v_reuseFailAlloc_7182_, 2, v_ngen_7160_); -lean_ctor_set(v_reuseFailAlloc_7182_, 3, v_auxDeclNGen_7161_); -lean_ctor_set(v_reuseFailAlloc_7182_, 4, v___x_7177_); -lean_ctor_set(v_reuseFailAlloc_7182_, 5, v_cache_7162_); -lean_ctor_set(v_reuseFailAlloc_7182_, 6, v_messages_7163_); -lean_ctor_set(v_reuseFailAlloc_7182_, 7, v_infoState_7164_); -lean_ctor_set(v_reuseFailAlloc_7182_, 8, v_snapshotTasks_7165_); -v___x_7179_ = v_reuseFailAlloc_7182_; -goto v_reusejp_7178_; +lean_object* v_reuseFailAlloc_7141_; +v_reuseFailAlloc_7141_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_7141_, 0, v_env_7117_); +lean_ctor_set(v_reuseFailAlloc_7141_, 1, v_nextMacroScope_7118_); +lean_ctor_set(v_reuseFailAlloc_7141_, 2, v_ngen_7119_); +lean_ctor_set(v_reuseFailAlloc_7141_, 3, v_auxDeclNGen_7120_); +lean_ctor_set(v_reuseFailAlloc_7141_, 4, v___x_7136_); +lean_ctor_set(v_reuseFailAlloc_7141_, 5, v_cache_7121_); +lean_ctor_set(v_reuseFailAlloc_7141_, 6, v_messages_7122_); +lean_ctor_set(v_reuseFailAlloc_7141_, 7, v_infoState_7123_); +lean_ctor_set(v_reuseFailAlloc_7141_, 8, v_snapshotTasks_7124_); +v___x_7138_ = v_reuseFailAlloc_7141_; +goto v_reusejp_7137_; } -v_reusejp_7178_: +v_reusejp_7137_: { -lean_object* v___x_7180_; lean_object* v___x_7181_; -v___x_7180_ = lean_st_ref_set(v___y_7151_, v___x_7179_); -v___x_7181_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7181_, 0, v_traces_7155_); -return v___x_7181_; +lean_object* v___x_7139_; lean_object* v___x_7140_; +v___x_7139_ = lean_st_ref_set(v___y_7110_, v___x_7138_); +v___x_7140_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7140_, 0, v_traces_7114_); +return v___x_7140_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg___boxed(lean_object* v___y_7187_, lean_object* v___y_7188_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg___boxed(lean_object* v___y_7146_, lean_object* v___y_7147_){ _start: { -lean_object* v_res_7189_; -v_res_7189_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7187_); -lean_dec(v___y_7187_); -return v_res_7189_; +lean_object* v_res_7148_; +v_res_7148_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7146_); +lean_dec(v___y_7146_); +return v_res_7148_; } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3(lean_object* v___y_7190_, lean_object* v___y_7191_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3(lean_object* v___y_7149_, lean_object* v___y_7150_){ _start: { -lean_object* v___x_7193_; -v___x_7193_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7191_); -return v___x_7193_; +lean_object* v___x_7152_; +v___x_7152_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7150_); +return v___x_7152_; } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___boxed(lean_object* v___y_7194_, lean_object* v___y_7195_, lean_object* v___y_7196_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___boxed(lean_object* v___y_7153_, lean_object* v___y_7154_, lean_object* v___y_7155_){ _start: { -lean_object* v_res_7197_; -v_res_7197_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3(v___y_7194_, v___y_7195_); -lean_dec(v___y_7195_); -lean_dec_ref(v___y_7194_); -return v_res_7197_; +lean_object* v_res_7156_; +v_res_7156_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3(v___y_7153_, v___y_7154_); +lean_dec(v___y_7154_); +lean_dec_ref(v___y_7153_); +return v_res_7156_; } } -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(lean_object* v_category_7198_, lean_object* v_opts_7199_, lean_object* v_act_7200_, lean_object* v_decl_7201_, lean_object* v___y_7202_, lean_object* v___y_7203_){ +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(lean_object* v_category_7157_, lean_object* v_opts_7158_, lean_object* v_act_7159_, lean_object* v_decl_7160_, lean_object* v___y_7161_, lean_object* v___y_7162_){ _start: { -lean_object* v___x_7205_; lean_object* v___x_7206_; -v___x_7205_ = lean_apply_2(v_act_7200_, v___y_7202_, v___y_7203_); -v___x_7206_ = l_Lean_profileitIOUnsafe___redArg(v_category_7198_, v_opts_7199_, v___x_7205_, v_decl_7201_); -return v___x_7206_; +lean_object* v___x_7164_; lean_object* v___x_7165_; +v___x_7164_ = lean_apply_2(v_act_7159_, v___y_7161_, v___y_7162_); +v___x_7165_ = l_Lean_profileitIOUnsafe___redArg(v_category_7157_, v_opts_7158_, v___x_7164_, v_decl_7160_); +return v___x_7165_; } } -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg___boxed(lean_object* v_category_7207_, lean_object* v_opts_7208_, lean_object* v_act_7209_, lean_object* v_decl_7210_, lean_object* v___y_7211_, lean_object* v___y_7212_, lean_object* v___y_7213_){ +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg___boxed(lean_object* v_category_7166_, lean_object* v_opts_7167_, lean_object* v_act_7168_, lean_object* v_decl_7169_, lean_object* v___y_7170_, lean_object* v___y_7171_, lean_object* v___y_7172_){ _start: { -lean_object* v_res_7214_; -v_res_7214_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v_category_7207_, v_opts_7208_, v_act_7209_, v_decl_7210_, v___y_7211_, v___y_7212_); -lean_dec_ref(v_opts_7208_); -lean_dec_ref(v_category_7207_); -return v_res_7214_; +lean_object* v_res_7173_; +v_res_7173_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v_category_7166_, v_opts_7167_, v_act_7168_, v_decl_7169_, v___y_7170_, v___y_7171_); +lean_dec_ref(v_opts_7167_); +lean_dec_ref(v_category_7166_); +return v_res_7173_; } } -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5(lean_object* v_00_u03b1_7215_, lean_object* v_category_7216_, lean_object* v_opts_7217_, lean_object* v_act_7218_, lean_object* v_decl_7219_, lean_object* v___y_7220_, lean_object* v___y_7221_){ +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5(lean_object* v_00_u03b1_7174_, lean_object* v_category_7175_, lean_object* v_opts_7176_, lean_object* v_act_7177_, lean_object* v_decl_7178_, lean_object* v___y_7179_, lean_object* v___y_7180_){ _start: { -lean_object* v___x_7223_; -v___x_7223_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v_category_7216_, v_opts_7217_, v_act_7218_, v_decl_7219_, v___y_7220_, v___y_7221_); -return v___x_7223_; +lean_object* v___x_7182_; +v___x_7182_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v_category_7175_, v_opts_7176_, v_act_7177_, v_decl_7178_, v___y_7179_, v___y_7180_); +return v___x_7182_; } } -LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___boxed(lean_object* v_00_u03b1_7224_, lean_object* v_category_7225_, lean_object* v_opts_7226_, lean_object* v_act_7227_, lean_object* v_decl_7228_, lean_object* v___y_7229_, lean_object* v___y_7230_, lean_object* v___y_7231_){ +LEAN_EXPORT lean_object* l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___boxed(lean_object* v_00_u03b1_7183_, lean_object* v_category_7184_, lean_object* v_opts_7185_, lean_object* v_act_7186_, lean_object* v_decl_7187_, lean_object* v___y_7188_, lean_object* v___y_7189_, lean_object* v___y_7190_){ _start: { -lean_object* v_res_7232_; -v_res_7232_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5(v_00_u03b1_7224_, v_category_7225_, v_opts_7226_, v_act_7227_, v_decl_7228_, v___y_7229_, v___y_7230_); -lean_dec_ref(v_opts_7226_); -lean_dec_ref(v_category_7225_); -return v_res_7232_; +lean_object* v_res_7191_; +v_res_7191_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5(v_00_u03b1_7183_, v_category_7184_, v_opts_7185_, v_act_7186_, v_decl_7187_, v___y_7188_, v___y_7189_); +lean_dec_ref(v_opts_7185_); +lean_dec_ref(v_category_7184_); +return v_res_7191_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__0(lean_object* v___x_7233_, lean_object* v_x_7234_, lean_object* v___y_7235_, lean_object* v___y_7236_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__0(lean_object* v___x_7192_, lean_object* v_x_7193_, lean_object* v___y_7194_, lean_object* v___y_7195_){ _start: { -lean_object* v___x_7238_; lean_object* v___x_7239_; -v___x_7238_ = l_Lean_stringToMessageData(v___x_7233_); -v___x_7239_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7239_, 0, v___x_7238_); -return v___x_7239_; +lean_object* v___x_7197_; lean_object* v___x_7198_; +v___x_7197_ = l_Lean_stringToMessageData(v___x_7192_); +v___x_7198_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7198_, 0, v___x_7197_); +return v___x_7198_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__0___boxed(lean_object* v___x_7240_, lean_object* v_x_7241_, lean_object* v___y_7242_, lean_object* v___y_7243_, lean_object* v___y_7244_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__0___boxed(lean_object* v___x_7199_, lean_object* v_x_7200_, lean_object* v___y_7201_, lean_object* v___y_7202_, lean_object* v___y_7203_){ _start: { -lean_object* v_res_7245_; -v_res_7245_ = l_Lean_Elab_shareCommonPreDefs___lam__0(v___x_7240_, v_x_7241_, v___y_7242_, v___y_7243_); -lean_dec(v___y_7243_); -lean_dec_ref(v___y_7242_); -lean_dec_ref(v_x_7241_); -return v_res_7245_; +lean_object* v_res_7204_; +v_res_7204_ = l_Lean_Elab_shareCommonPreDefs___lam__0(v___x_7199_, v_x_7200_, v___y_7201_, v___y_7202_); +lean_dec(v___y_7202_); +lean_dec_ref(v___y_7201_); +lean_dec_ref(v_x_7200_); +return v_res_7204_; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(lean_object* v_msgData_7246_, lean_object* v___y_7247_, lean_object* v___y_7248_){ +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(lean_object* v_msgData_7205_, lean_object* v___y_7206_, lean_object* v___y_7207_){ _start: { -lean_object* v___x_7250_; lean_object* v_env_7251_; lean_object* v_options_7252_; lean_object* v___x_7253_; lean_object* v___x_7254_; lean_object* v___x_7255_; lean_object* v___x_7256_; lean_object* v___x_7257_; lean_object* v___x_7258_; lean_object* v___x_7259_; -v___x_7250_ = lean_st_ref_get(v___y_7248_); -v_env_7251_ = lean_ctor_get(v___x_7250_, 0); -lean_inc_ref(v_env_7251_); +lean_object* v___x_7209_; lean_object* v_env_7210_; lean_object* v_options_7211_; lean_object* v___x_7212_; lean_object* v___x_7213_; lean_object* v___x_7214_; lean_object* v___x_7215_; lean_object* v___x_7216_; lean_object* v___x_7217_; lean_object* v___x_7218_; +v___x_7209_ = lean_st_ref_get(v___y_7207_); +v_env_7210_ = lean_ctor_get(v___x_7209_, 0); +lean_inc_ref(v_env_7210_); +lean_dec(v___x_7209_); +v_options_7211_ = lean_ctor_get(v___y_7206_, 2); +v___x_7212_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2); +v___x_7213_ = lean_unsigned_to_nat(32u); +v___x_7214_ = lean_mk_empty_array_with_capacity(v___x_7213_); +lean_dec_ref(v___x_7214_); +v___x_7215_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5); +lean_inc_ref(v_options_7211_); +v___x_7216_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_7216_, 0, v_env_7210_); +lean_ctor_set(v___x_7216_, 1, v___x_7212_); +lean_ctor_set(v___x_7216_, 2, v___x_7215_); +lean_ctor_set(v___x_7216_, 3, v_options_7211_); +v___x_7217_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v___x_7217_, 0, v___x_7216_); +lean_ctor_set(v___x_7217_, 1, v_msgData_7205_); +v___x_7218_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7218_, 0, v___x_7217_); +return v___x_7218_; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6___boxed(lean_object* v_msgData_7219_, lean_object* v___y_7220_, lean_object* v___y_7221_, lean_object* v___y_7222_){ +_start: +{ +lean_object* v_res_7223_; +v_res_7223_ = l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(v_msgData_7219_, v___y_7220_, v___y_7221_); +lean_dec(v___y_7221_); +lean_dec_ref(v___y_7220_); +return v_res_7223_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(lean_object* v_oldTraces_7224_, lean_object* v_data_7225_, lean_object* v_ref_7226_, lean_object* v_msg_7227_, lean_object* v___y_7228_, lean_object* v___y_7229_){ +_start: +{ +lean_object* v_fileName_7231_; lean_object* v_fileMap_7232_; lean_object* v_options_7233_; lean_object* v_currRecDepth_7234_; lean_object* v_maxRecDepth_7235_; lean_object* v_ref_7236_; lean_object* v_currNamespace_7237_; lean_object* v_openDecls_7238_; lean_object* v_initHeartbeats_7239_; lean_object* v_maxHeartbeats_7240_; lean_object* v_quotContext_7241_; lean_object* v_currMacroScope_7242_; uint8_t v_diag_7243_; lean_object* v_cancelTk_x3f_7244_; uint8_t v_suppressElabErrors_7245_; lean_object* v_inheritedTraceOptions_7246_; lean_object* v___x_7248_; uint8_t v_isShared_7249_; uint8_t v_isSharedCheck_7301_; +v_fileName_7231_ = lean_ctor_get(v___y_7228_, 0); +v_fileMap_7232_ = lean_ctor_get(v___y_7228_, 1); +v_options_7233_ = lean_ctor_get(v___y_7228_, 2); +v_currRecDepth_7234_ = lean_ctor_get(v___y_7228_, 3); +v_maxRecDepth_7235_ = lean_ctor_get(v___y_7228_, 4); +v_ref_7236_ = lean_ctor_get(v___y_7228_, 5); +v_currNamespace_7237_ = lean_ctor_get(v___y_7228_, 6); +v_openDecls_7238_ = lean_ctor_get(v___y_7228_, 7); +v_initHeartbeats_7239_ = lean_ctor_get(v___y_7228_, 8); +v_maxHeartbeats_7240_ = lean_ctor_get(v___y_7228_, 9); +v_quotContext_7241_ = lean_ctor_get(v___y_7228_, 10); +v_currMacroScope_7242_ = lean_ctor_get(v___y_7228_, 11); +v_diag_7243_ = lean_ctor_get_uint8(v___y_7228_, sizeof(void*)*14); +v_cancelTk_x3f_7244_ = lean_ctor_get(v___y_7228_, 12); +v_suppressElabErrors_7245_ = lean_ctor_get_uint8(v___y_7228_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_7246_ = lean_ctor_get(v___y_7228_, 13); +v_isSharedCheck_7301_ = !lean_is_exclusive(v___y_7228_); +if (v_isSharedCheck_7301_ == 0) +{ +v___x_7248_ = v___y_7228_; +v_isShared_7249_ = v_isSharedCheck_7301_; +goto v_resetjp_7247_; +} +else +{ +lean_inc(v_inheritedTraceOptions_7246_); +lean_inc(v_cancelTk_x3f_7244_); +lean_inc(v_currMacroScope_7242_); +lean_inc(v_quotContext_7241_); +lean_inc(v_maxHeartbeats_7240_); +lean_inc(v_initHeartbeats_7239_); +lean_inc(v_openDecls_7238_); +lean_inc(v_currNamespace_7237_); +lean_inc(v_ref_7236_); +lean_inc(v_maxRecDepth_7235_); +lean_inc(v_currRecDepth_7234_); +lean_inc(v_options_7233_); +lean_inc(v_fileMap_7232_); +lean_inc(v_fileName_7231_); +lean_dec(v___y_7228_); +v___x_7248_ = lean_box(0); +v_isShared_7249_ = v_isSharedCheck_7301_; +goto v_resetjp_7247_; +} +v_resetjp_7247_: +{ +lean_object* v___x_7250_; lean_object* v_traceState_7251_; lean_object* v_traces_7252_; lean_object* v_ref_7253_; lean_object* v___x_7255_; +v___x_7250_ = lean_st_ref_get(v___y_7229_); +v_traceState_7251_ = lean_ctor_get(v___x_7250_, 4); +lean_inc_ref(v_traceState_7251_); lean_dec(v___x_7250_); -v_options_7252_ = lean_ctor_get(v___y_7247_, 2); -v___x_7253_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__2); -v___x_7254_ = lean_unsigned_to_nat(32u); -v___x_7255_ = lean_mk_empty_array_with_capacity(v___x_7254_); +v_traces_7252_ = lean_ctor_get(v_traceState_7251_, 0); +lean_inc_ref(v_traces_7252_); +lean_dec_ref(v_traceState_7251_); +v_ref_7253_ = l_Lean_replaceRef(v_ref_7226_, v_ref_7236_); +lean_dec(v_ref_7236_); +if (v_isShared_7249_ == 0) +{ +lean_ctor_set(v___x_7248_, 5, v_ref_7253_); +v___x_7255_ = v___x_7248_; +goto v_reusejp_7254_; +} +else +{ +lean_object* v_reuseFailAlloc_7300_; +v_reuseFailAlloc_7300_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_7300_, 0, v_fileName_7231_); +lean_ctor_set(v_reuseFailAlloc_7300_, 1, v_fileMap_7232_); +lean_ctor_set(v_reuseFailAlloc_7300_, 2, v_options_7233_); +lean_ctor_set(v_reuseFailAlloc_7300_, 3, v_currRecDepth_7234_); +lean_ctor_set(v_reuseFailAlloc_7300_, 4, v_maxRecDepth_7235_); +lean_ctor_set(v_reuseFailAlloc_7300_, 5, v_ref_7253_); +lean_ctor_set(v_reuseFailAlloc_7300_, 6, v_currNamespace_7237_); +lean_ctor_set(v_reuseFailAlloc_7300_, 7, v_openDecls_7238_); +lean_ctor_set(v_reuseFailAlloc_7300_, 8, v_initHeartbeats_7239_); +lean_ctor_set(v_reuseFailAlloc_7300_, 9, v_maxHeartbeats_7240_); +lean_ctor_set(v_reuseFailAlloc_7300_, 10, v_quotContext_7241_); +lean_ctor_set(v_reuseFailAlloc_7300_, 11, v_currMacroScope_7242_); +lean_ctor_set(v_reuseFailAlloc_7300_, 12, v_cancelTk_x3f_7244_); +lean_ctor_set(v_reuseFailAlloc_7300_, 13, v_inheritedTraceOptions_7246_); +lean_ctor_set_uint8(v_reuseFailAlloc_7300_, sizeof(void*)*14, v_diag_7243_); +lean_ctor_set_uint8(v_reuseFailAlloc_7300_, sizeof(void*)*14 + 1, v_suppressElabErrors_7245_); +v___x_7255_ = v_reuseFailAlloc_7300_; +goto v_reusejp_7254_; +} +v_reusejp_7254_: +{ +lean_object* v___x_7256_; size_t v_sz_7257_; size_t v___x_7258_; lean_object* v___x_7259_; lean_object* v_msg_7260_; lean_object* v___x_7261_; lean_object* v_a_7262_; lean_object* v___x_7264_; uint8_t v_isShared_7265_; uint8_t v_isSharedCheck_7299_; +v___x_7256_ = l_Lean_PersistentArray_toArray___redArg(v_traces_7252_); +lean_dec_ref(v_traces_7252_); +v_sz_7257_ = lean_array_size(v___x_7256_); +v___x_7258_ = ((size_t)0ULL); +v___x_7259_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__6_spec__8(v_sz_7257_, v___x_7258_, v___x_7256_); +v_msg_7260_ = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(v_msg_7260_, 0, v_data_7225_); +lean_ctor_set(v_msg_7260_, 1, v_msg_7227_); +lean_ctor_set(v_msg_7260_, 2, v___x_7259_); +v___x_7261_ = l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(v_msg_7260_, v___x_7255_, v___y_7229_); lean_dec_ref(v___x_7255_); -v___x_7256_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addPreDefInfo_spec__0_spec__0_spec__1_spec__3_spec__8_spec__10_spec__13___redArg___closed__5); -lean_inc_ref(v_options_7252_); -v___x_7257_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_7257_, 0, v_env_7251_); -lean_ctor_set(v___x_7257_, 1, v___x_7253_); -lean_ctor_set(v___x_7257_, 2, v___x_7256_); -lean_ctor_set(v___x_7257_, 3, v_options_7252_); -v___x_7258_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v___x_7258_, 0, v___x_7257_); -lean_ctor_set(v___x_7258_, 1, v_msgData_7246_); -v___x_7259_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7259_, 0, v___x_7258_); -return v___x_7259_; +v_a_7262_ = lean_ctor_get(v___x_7261_, 0); +v_isSharedCheck_7299_ = !lean_is_exclusive(v___x_7261_); +if (v_isSharedCheck_7299_ == 0) +{ +v___x_7264_ = v___x_7261_; +v_isShared_7265_ = v_isSharedCheck_7299_; +goto v_resetjp_7263_; +} +else +{ +lean_inc(v_a_7262_); +lean_dec(v___x_7261_); +v___x_7264_ = lean_box(0); +v_isShared_7265_ = v_isSharedCheck_7299_; +goto v_resetjp_7263_; +} +v_resetjp_7263_: +{ +lean_object* v___x_7266_; lean_object* v_traceState_7267_; lean_object* v_env_7268_; lean_object* v_nextMacroScope_7269_; lean_object* v_ngen_7270_; lean_object* v_auxDeclNGen_7271_; lean_object* v_cache_7272_; lean_object* v_messages_7273_; lean_object* v_infoState_7274_; lean_object* v_snapshotTasks_7275_; lean_object* v___x_7277_; uint8_t v_isShared_7278_; uint8_t v_isSharedCheck_7298_; +v___x_7266_ = lean_st_ref_take(v___y_7229_); +v_traceState_7267_ = lean_ctor_get(v___x_7266_, 4); +v_env_7268_ = lean_ctor_get(v___x_7266_, 0); +v_nextMacroScope_7269_ = lean_ctor_get(v___x_7266_, 1); +v_ngen_7270_ = lean_ctor_get(v___x_7266_, 2); +v_auxDeclNGen_7271_ = lean_ctor_get(v___x_7266_, 3); +v_cache_7272_ = lean_ctor_get(v___x_7266_, 5); +v_messages_7273_ = lean_ctor_get(v___x_7266_, 6); +v_infoState_7274_ = lean_ctor_get(v___x_7266_, 7); +v_snapshotTasks_7275_ = lean_ctor_get(v___x_7266_, 8); +v_isSharedCheck_7298_ = !lean_is_exclusive(v___x_7266_); +if (v_isSharedCheck_7298_ == 0) +{ +v___x_7277_ = v___x_7266_; +v_isShared_7278_ = v_isSharedCheck_7298_; +goto v_resetjp_7276_; +} +else +{ +lean_inc(v_snapshotTasks_7275_); +lean_inc(v_infoState_7274_); +lean_inc(v_messages_7273_); +lean_inc(v_cache_7272_); +lean_inc(v_traceState_7267_); +lean_inc(v_auxDeclNGen_7271_); +lean_inc(v_ngen_7270_); +lean_inc(v_nextMacroScope_7269_); +lean_inc(v_env_7268_); +lean_dec(v___x_7266_); +v___x_7277_ = lean_box(0); +v_isShared_7278_ = v_isSharedCheck_7298_; +goto v_resetjp_7276_; +} +v_resetjp_7276_: +{ +uint64_t v_tid_7279_; lean_object* v___x_7281_; uint8_t v_isShared_7282_; uint8_t v_isSharedCheck_7296_; +v_tid_7279_ = lean_ctor_get_uint64(v_traceState_7267_, sizeof(void*)*1); +v_isSharedCheck_7296_ = !lean_is_exclusive(v_traceState_7267_); +if (v_isSharedCheck_7296_ == 0) +{ +lean_object* v_unused_7297_; +v_unused_7297_ = lean_ctor_get(v_traceState_7267_, 0); +lean_dec(v_unused_7297_); +v___x_7281_ = v_traceState_7267_; +v_isShared_7282_ = v_isSharedCheck_7296_; +goto v_resetjp_7280_; +} +else +{ +lean_dec(v_traceState_7267_); +v___x_7281_ = lean_box(0); +v_isShared_7282_ = v_isSharedCheck_7296_; +goto v_resetjp_7280_; +} +v_resetjp_7280_: +{ +lean_object* v___x_7283_; lean_object* v___x_7284_; lean_object* v___x_7286_; +v___x_7283_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_7283_, 0, v_ref_7226_); +lean_ctor_set(v___x_7283_, 1, v_a_7262_); +v___x_7284_ = l_Lean_PersistentArray_push___redArg(v_oldTraces_7224_, v___x_7283_); +if (v_isShared_7282_ == 0) +{ +lean_ctor_set(v___x_7281_, 0, v___x_7284_); +v___x_7286_ = v___x_7281_; +goto v_reusejp_7285_; +} +else +{ +lean_object* v_reuseFailAlloc_7295_; +v_reuseFailAlloc_7295_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_7295_, 0, v___x_7284_); +lean_ctor_set_uint64(v_reuseFailAlloc_7295_, sizeof(void*)*1, v_tid_7279_); +v___x_7286_ = v_reuseFailAlloc_7295_; +goto v_reusejp_7285_; +} +v_reusejp_7285_: +{ +lean_object* v___x_7288_; +if (v_isShared_7278_ == 0) +{ +lean_ctor_set(v___x_7277_, 4, v___x_7286_); +v___x_7288_ = v___x_7277_; +goto v_reusejp_7287_; +} +else +{ +lean_object* v_reuseFailAlloc_7294_; +v_reuseFailAlloc_7294_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_7294_, 0, v_env_7268_); +lean_ctor_set(v_reuseFailAlloc_7294_, 1, v_nextMacroScope_7269_); +lean_ctor_set(v_reuseFailAlloc_7294_, 2, v_ngen_7270_); +lean_ctor_set(v_reuseFailAlloc_7294_, 3, v_auxDeclNGen_7271_); +lean_ctor_set(v_reuseFailAlloc_7294_, 4, v___x_7286_); +lean_ctor_set(v_reuseFailAlloc_7294_, 5, v_cache_7272_); +lean_ctor_set(v_reuseFailAlloc_7294_, 6, v_messages_7273_); +lean_ctor_set(v_reuseFailAlloc_7294_, 7, v_infoState_7274_); +lean_ctor_set(v_reuseFailAlloc_7294_, 8, v_snapshotTasks_7275_); +v___x_7288_ = v_reuseFailAlloc_7294_; +goto v_reusejp_7287_; +} +v_reusejp_7287_: +{ +lean_object* v___x_7289_; lean_object* v___x_7290_; lean_object* v___x_7292_; +v___x_7289_ = lean_st_ref_set(v___y_7229_, v___x_7288_); +v___x_7290_ = lean_box(0); +if (v_isShared_7265_ == 0) +{ +lean_ctor_set(v___x_7264_, 0, v___x_7290_); +v___x_7292_ = v___x_7264_; +goto v_reusejp_7291_; +} +else +{ +lean_object* v_reuseFailAlloc_7293_; +v_reuseFailAlloc_7293_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7293_, 0, v___x_7290_); +v___x_7292_ = v_reuseFailAlloc_7293_; +goto v_reusejp_7291_; +} +v_reusejp_7291_: +{ +return v___x_7292_; } } -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6___boxed(lean_object* v_msgData_7260_, lean_object* v___y_7261_, lean_object* v___y_7262_, lean_object* v___y_7263_){ +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4___boxed(lean_object* v_oldTraces_7302_, lean_object* v_data_7303_, lean_object* v_ref_7304_, lean_object* v_msg_7305_, lean_object* v___y_7306_, lean_object* v___y_7307_, lean_object* v___y_7308_){ _start: { -lean_object* v_res_7264_; -v_res_7264_ = l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(v_msgData_7260_, v___y_7261_, v___y_7262_); -lean_dec(v___y_7262_); -lean_dec_ref(v___y_7261_); -return v_res_7264_; +lean_object* v_res_7309_; +v_res_7309_ = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(v_oldTraces_7302_, v_data_7303_, v_ref_7304_, v_msg_7305_, v___y_7306_, v___y_7307_); +lean_dec(v___y_7307_); +return v_res_7309_; } } -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(lean_object* v_oldTraces_7265_, lean_object* v_data_7266_, lean_object* v_ref_7267_, lean_object* v_msg_7268_, lean_object* v___y_7269_, lean_object* v___y_7270_){ +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(lean_object* v_x_7310_){ _start: { -lean_object* v_fileName_7272_; lean_object* v_fileMap_7273_; lean_object* v_options_7274_; lean_object* v_currRecDepth_7275_; lean_object* v_maxRecDepth_7276_; lean_object* v_ref_7277_; lean_object* v_currNamespace_7278_; lean_object* v_openDecls_7279_; lean_object* v_initHeartbeats_7280_; lean_object* v_maxHeartbeats_7281_; lean_object* v_quotContext_7282_; lean_object* v_currMacroScope_7283_; uint8_t v_diag_7284_; lean_object* v_cancelTk_x3f_7285_; uint8_t v_suppressElabErrors_7286_; lean_object* v_inheritedTraceOptions_7287_; lean_object* v___x_7289_; uint8_t v_isShared_7290_; uint8_t v_isSharedCheck_7342_; -v_fileName_7272_ = lean_ctor_get(v___y_7269_, 0); -v_fileMap_7273_ = lean_ctor_get(v___y_7269_, 1); -v_options_7274_ = lean_ctor_get(v___y_7269_, 2); -v_currRecDepth_7275_ = lean_ctor_get(v___y_7269_, 3); -v_maxRecDepth_7276_ = lean_ctor_get(v___y_7269_, 4); -v_ref_7277_ = lean_ctor_get(v___y_7269_, 5); -v_currNamespace_7278_ = lean_ctor_get(v___y_7269_, 6); -v_openDecls_7279_ = lean_ctor_get(v___y_7269_, 7); -v_initHeartbeats_7280_ = lean_ctor_get(v___y_7269_, 8); -v_maxHeartbeats_7281_ = lean_ctor_get(v___y_7269_, 9); -v_quotContext_7282_ = lean_ctor_get(v___y_7269_, 10); -v_currMacroScope_7283_ = lean_ctor_get(v___y_7269_, 11); -v_diag_7284_ = lean_ctor_get_uint8(v___y_7269_, sizeof(void*)*14); -v_cancelTk_x3f_7285_ = lean_ctor_get(v___y_7269_, 12); -v_suppressElabErrors_7286_ = lean_ctor_get_uint8(v___y_7269_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_7287_ = lean_ctor_get(v___y_7269_, 13); -v_isSharedCheck_7342_ = !lean_is_exclusive(v___y_7269_); -if (v_isSharedCheck_7342_ == 0) +if (lean_obj_tag(v_x_7310_) == 0) { -v___x_7289_ = v___y_7269_; -v_isShared_7290_ = v_isSharedCheck_7342_; -goto v_resetjp_7288_; +lean_object* v_a_7312_; lean_object* v___x_7314_; uint8_t v_isShared_7315_; uint8_t v_isSharedCheck_7319_; +v_a_7312_ = lean_ctor_get(v_x_7310_, 0); +v_isSharedCheck_7319_ = !lean_is_exclusive(v_x_7310_); +if (v_isSharedCheck_7319_ == 0) +{ +v___x_7314_ = v_x_7310_; +v_isShared_7315_ = v_isSharedCheck_7319_; +goto v_resetjp_7313_; } else { -lean_inc(v_inheritedTraceOptions_7287_); -lean_inc(v_cancelTk_x3f_7285_); -lean_inc(v_currMacroScope_7283_); -lean_inc(v_quotContext_7282_); -lean_inc(v_maxHeartbeats_7281_); -lean_inc(v_initHeartbeats_7280_); -lean_inc(v_openDecls_7279_); -lean_inc(v_currNamespace_7278_); -lean_inc(v_ref_7277_); -lean_inc(v_maxRecDepth_7276_); -lean_inc(v_currRecDepth_7275_); -lean_inc(v_options_7274_); -lean_inc(v_fileMap_7273_); -lean_inc(v_fileName_7272_); -lean_dec(v___y_7269_); -v___x_7289_ = lean_box(0); -v_isShared_7290_ = v_isSharedCheck_7342_; -goto v_resetjp_7288_; +lean_inc(v_a_7312_); +lean_dec(v_x_7310_); +v___x_7314_ = lean_box(0); +v_isShared_7315_ = v_isSharedCheck_7319_; +goto v_resetjp_7313_; } -v_resetjp_7288_: +v_resetjp_7313_: { -lean_object* v___x_7291_; lean_object* v_traceState_7292_; lean_object* v_traces_7293_; lean_object* v_ref_7294_; lean_object* v___x_7296_; -v___x_7291_ = lean_st_ref_get(v___y_7270_); -v_traceState_7292_ = lean_ctor_get(v___x_7291_, 4); -lean_inc_ref(v_traceState_7292_); -lean_dec(v___x_7291_); -v_traces_7293_ = lean_ctor_get(v_traceState_7292_, 0); -lean_inc_ref(v_traces_7293_); -lean_dec_ref(v_traceState_7292_); -v_ref_7294_ = l_Lean_replaceRef(v_ref_7267_, v_ref_7277_); -lean_dec(v_ref_7277_); -if (v_isShared_7290_ == 0) +lean_object* v___x_7317_; +if (v_isShared_7315_ == 0) { -lean_ctor_set(v___x_7289_, 5, v_ref_7294_); -v___x_7296_ = v___x_7289_; -goto v_reusejp_7295_; +lean_ctor_set_tag(v___x_7314_, 1); +v___x_7317_ = v___x_7314_; +goto v_reusejp_7316_; } else { -lean_object* v_reuseFailAlloc_7341_; -v_reuseFailAlloc_7341_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_7341_, 0, v_fileName_7272_); -lean_ctor_set(v_reuseFailAlloc_7341_, 1, v_fileMap_7273_); -lean_ctor_set(v_reuseFailAlloc_7341_, 2, v_options_7274_); -lean_ctor_set(v_reuseFailAlloc_7341_, 3, v_currRecDepth_7275_); -lean_ctor_set(v_reuseFailAlloc_7341_, 4, v_maxRecDepth_7276_); -lean_ctor_set(v_reuseFailAlloc_7341_, 5, v_ref_7294_); -lean_ctor_set(v_reuseFailAlloc_7341_, 6, v_currNamespace_7278_); -lean_ctor_set(v_reuseFailAlloc_7341_, 7, v_openDecls_7279_); -lean_ctor_set(v_reuseFailAlloc_7341_, 8, v_initHeartbeats_7280_); -lean_ctor_set(v_reuseFailAlloc_7341_, 9, v_maxHeartbeats_7281_); -lean_ctor_set(v_reuseFailAlloc_7341_, 10, v_quotContext_7282_); -lean_ctor_set(v_reuseFailAlloc_7341_, 11, v_currMacroScope_7283_); -lean_ctor_set(v_reuseFailAlloc_7341_, 12, v_cancelTk_x3f_7285_); -lean_ctor_set(v_reuseFailAlloc_7341_, 13, v_inheritedTraceOptions_7287_); -lean_ctor_set_uint8(v_reuseFailAlloc_7341_, sizeof(void*)*14, v_diag_7284_); -lean_ctor_set_uint8(v_reuseFailAlloc_7341_, sizeof(void*)*14 + 1, v_suppressElabErrors_7286_); -v___x_7296_ = v_reuseFailAlloc_7341_; -goto v_reusejp_7295_; +lean_object* v_reuseFailAlloc_7318_; +v_reuseFailAlloc_7318_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7318_, 0, v_a_7312_); +v___x_7317_ = v_reuseFailAlloc_7318_; +goto v_reusejp_7316_; } -v_reusejp_7295_: +v_reusejp_7316_: { -lean_object* v___x_7297_; size_t v_sz_7298_; size_t v___x_7299_; lean_object* v___x_7300_; lean_object* v_msg_7301_; lean_object* v___x_7302_; lean_object* v_a_7303_; lean_object* v___x_7305_; uint8_t v_isShared_7306_; uint8_t v_isSharedCheck_7340_; -v___x_7297_ = l_Lean_PersistentArray_toArray___redArg(v_traces_7293_); -lean_dec_ref(v_traces_7293_); -v_sz_7298_ = lean_array_size(v___x_7297_); -v___x_7299_ = ((size_t)0ULL); -v___x_7300_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__6_spec__8(v_sz_7298_, v___x_7299_, v___x_7297_); -v_msg_7301_ = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(v_msg_7301_, 0, v_data_7266_); -lean_ctor_set(v_msg_7301_, 1, v_msg_7268_); -lean_ctor_set(v_msg_7301_, 2, v___x_7300_); -v___x_7302_ = l_Lean_addMessageContextPartial___at___00__private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4_spec__6(v_msg_7301_, v___x_7296_, v___y_7270_); -lean_dec_ref(v___x_7296_); -v_a_7303_ = lean_ctor_get(v___x_7302_, 0); -v_isSharedCheck_7340_ = !lean_is_exclusive(v___x_7302_); -if (v_isSharedCheck_7340_ == 0) -{ -v___x_7305_ = v___x_7302_; -v_isShared_7306_ = v_isSharedCheck_7340_; -goto v_resetjp_7304_; +return v___x_7317_; +} +} } else { -lean_inc(v_a_7303_); -lean_dec(v___x_7302_); -v___x_7305_ = lean_box(0); -v_isShared_7306_ = v_isSharedCheck_7340_; -goto v_resetjp_7304_; -} -v_resetjp_7304_: +lean_object* v_a_7320_; lean_object* v___x_7322_; uint8_t v_isShared_7323_; uint8_t v_isSharedCheck_7327_; +v_a_7320_ = lean_ctor_get(v_x_7310_, 0); +v_isSharedCheck_7327_ = !lean_is_exclusive(v_x_7310_); +if (v_isSharedCheck_7327_ == 0) { -lean_object* v___x_7307_; lean_object* v_traceState_7308_; lean_object* v_env_7309_; lean_object* v_nextMacroScope_7310_; lean_object* v_ngen_7311_; lean_object* v_auxDeclNGen_7312_; lean_object* v_cache_7313_; lean_object* v_messages_7314_; lean_object* v_infoState_7315_; lean_object* v_snapshotTasks_7316_; lean_object* v___x_7318_; uint8_t v_isShared_7319_; uint8_t v_isSharedCheck_7339_; -v___x_7307_ = lean_st_ref_take(v___y_7270_); -v_traceState_7308_ = lean_ctor_get(v___x_7307_, 4); -v_env_7309_ = lean_ctor_get(v___x_7307_, 0); -v_nextMacroScope_7310_ = lean_ctor_get(v___x_7307_, 1); -v_ngen_7311_ = lean_ctor_get(v___x_7307_, 2); -v_auxDeclNGen_7312_ = lean_ctor_get(v___x_7307_, 3); -v_cache_7313_ = lean_ctor_get(v___x_7307_, 5); -v_messages_7314_ = lean_ctor_get(v___x_7307_, 6); -v_infoState_7315_ = lean_ctor_get(v___x_7307_, 7); -v_snapshotTasks_7316_ = lean_ctor_get(v___x_7307_, 8); -v_isSharedCheck_7339_ = !lean_is_exclusive(v___x_7307_); -if (v_isSharedCheck_7339_ == 0) -{ -v___x_7318_ = v___x_7307_; -v_isShared_7319_ = v_isSharedCheck_7339_; -goto v_resetjp_7317_; -} -else -{ -lean_inc(v_snapshotTasks_7316_); -lean_inc(v_infoState_7315_); -lean_inc(v_messages_7314_); -lean_inc(v_cache_7313_); -lean_inc(v_traceState_7308_); -lean_inc(v_auxDeclNGen_7312_); -lean_inc(v_ngen_7311_); -lean_inc(v_nextMacroScope_7310_); -lean_inc(v_env_7309_); -lean_dec(v___x_7307_); -v___x_7318_ = lean_box(0); -v_isShared_7319_ = v_isSharedCheck_7339_; -goto v_resetjp_7317_; -} -v_resetjp_7317_: -{ -uint64_t v_tid_7320_; lean_object* v___x_7322_; uint8_t v_isShared_7323_; uint8_t v_isSharedCheck_7337_; -v_tid_7320_ = lean_ctor_get_uint64(v_traceState_7308_, sizeof(void*)*1); -v_isSharedCheck_7337_ = !lean_is_exclusive(v_traceState_7308_); -if (v_isSharedCheck_7337_ == 0) -{ -lean_object* v_unused_7338_; -v_unused_7338_ = lean_ctor_get(v_traceState_7308_, 0); -lean_dec(v_unused_7338_); -v___x_7322_ = v_traceState_7308_; -v_isShared_7323_ = v_isSharedCheck_7337_; +v___x_7322_ = v_x_7310_; +v_isShared_7323_ = v_isSharedCheck_7327_; goto v_resetjp_7321_; } else { -lean_dec(v_traceState_7308_); +lean_inc(v_a_7320_); +lean_dec(v_x_7310_); v___x_7322_ = lean_box(0); -v_isShared_7323_ = v_isSharedCheck_7337_; +v_isShared_7323_ = v_isSharedCheck_7327_; goto v_resetjp_7321_; } v_resetjp_7321_: { -lean_object* v___x_7324_; lean_object* v___x_7325_; lean_object* v___x_7327_; -v___x_7324_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_7324_, 0, v_ref_7267_); -lean_ctor_set(v___x_7324_, 1, v_a_7303_); -v___x_7325_ = l_Lean_PersistentArray_push___redArg(v_oldTraces_7265_, v___x_7324_); +lean_object* v___x_7325_; if (v_isShared_7323_ == 0) { -lean_ctor_set(v___x_7322_, 0, v___x_7325_); -v___x_7327_ = v___x_7322_; -goto v_reusejp_7326_; +lean_ctor_set_tag(v___x_7322_, 0); +v___x_7325_ = v___x_7322_; +goto v_reusejp_7324_; } else { -lean_object* v_reuseFailAlloc_7336_; -v_reuseFailAlloc_7336_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_7336_, 0, v___x_7325_); -lean_ctor_set_uint64(v_reuseFailAlloc_7336_, sizeof(void*)*1, v_tid_7320_); -v___x_7327_ = v_reuseFailAlloc_7336_; -goto v_reusejp_7326_; +lean_object* v_reuseFailAlloc_7326_; +v_reuseFailAlloc_7326_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7326_, 0, v_a_7320_); +v___x_7325_ = v_reuseFailAlloc_7326_; +goto v_reusejp_7324_; } -v_reusejp_7326_: +v_reusejp_7324_: { -lean_object* v___x_7329_; -if (v_isShared_7319_ == 0) -{ -lean_ctor_set(v___x_7318_, 4, v___x_7327_); -v___x_7329_ = v___x_7318_; -goto v_reusejp_7328_; -} -else -{ -lean_object* v_reuseFailAlloc_7335_; -v_reuseFailAlloc_7335_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_7335_, 0, v_env_7309_); -lean_ctor_set(v_reuseFailAlloc_7335_, 1, v_nextMacroScope_7310_); -lean_ctor_set(v_reuseFailAlloc_7335_, 2, v_ngen_7311_); -lean_ctor_set(v_reuseFailAlloc_7335_, 3, v_auxDeclNGen_7312_); -lean_ctor_set(v_reuseFailAlloc_7335_, 4, v___x_7327_); -lean_ctor_set(v_reuseFailAlloc_7335_, 5, v_cache_7313_); -lean_ctor_set(v_reuseFailAlloc_7335_, 6, v_messages_7314_); -lean_ctor_set(v_reuseFailAlloc_7335_, 7, v_infoState_7315_); -lean_ctor_set(v_reuseFailAlloc_7335_, 8, v_snapshotTasks_7316_); -v___x_7329_ = v_reuseFailAlloc_7335_; -goto v_reusejp_7328_; -} -v_reusejp_7328_: -{ -lean_object* v___x_7330_; lean_object* v___x_7331_; lean_object* v___x_7333_; -v___x_7330_ = lean_st_ref_set(v___y_7270_, v___x_7329_); -v___x_7331_ = lean_box(0); -if (v_isShared_7306_ == 0) -{ -lean_ctor_set(v___x_7305_, 0, v___x_7331_); -v___x_7333_ = v___x_7305_; -goto v_reusejp_7332_; -} -else -{ -lean_object* v_reuseFailAlloc_7334_; -v_reuseFailAlloc_7334_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7334_, 0, v___x_7331_); -v___x_7333_ = v_reuseFailAlloc_7334_; -goto v_reusejp_7332_; -} -v_reusejp_7332_: -{ -return v___x_7333_; +return v___x_7325_; } } } } } -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4___boxed(lean_object* v_oldTraces_7343_, lean_object* v_data_7344_, lean_object* v_ref_7345_, lean_object* v_msg_7346_, lean_object* v___y_7347_, lean_object* v___y_7348_, lean_object* v___y_7349_){ +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg___boxed(lean_object* v_x_7328_, lean_object* v___y_7329_){ _start: { -lean_object* v_res_7350_; -v_res_7350_ = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(v_oldTraces_7343_, v_data_7344_, v_ref_7345_, v_msg_7346_, v___y_7347_, v___y_7348_); -lean_dec(v___y_7348_); -return v_res_7350_; +lean_object* v_res_7330_; +v_res_7330_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_x_7328_); +return v_res_7330_; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(lean_object* v_x_7351_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(lean_object* v_cls_7331_, uint8_t v_collapsed_7332_, lean_object* v_tag_7333_, lean_object* v_opts_7334_, uint8_t v_clsEnabled_7335_, lean_object* v_oldTraces_7336_, lean_object* v_msg_7337_, lean_object* v_resStartStop_7338_, lean_object* v___y_7339_, lean_object* v___y_7340_){ _start: { -if (lean_obj_tag(v_x_7351_) == 0) +lean_object* v_fst_7342_; lean_object* v_snd_7343_; lean_object* v___x_7345_; uint8_t v_isShared_7346_; uint8_t v_isSharedCheck_7441_; +v_fst_7342_ = lean_ctor_get(v_resStartStop_7338_, 0); +v_snd_7343_ = lean_ctor_get(v_resStartStop_7338_, 1); +v_isSharedCheck_7441_ = !lean_is_exclusive(v_resStartStop_7338_); +if (v_isSharedCheck_7441_ == 0) +{ +v___x_7345_ = v_resStartStop_7338_; +v_isShared_7346_ = v_isSharedCheck_7441_; +goto v_resetjp_7344_; +} +else +{ +lean_inc(v_snd_7343_); +lean_inc(v_fst_7342_); +lean_dec(v_resStartStop_7338_); +v___x_7345_ = lean_box(0); +v_isShared_7346_ = v_isSharedCheck_7441_; +goto v_resetjp_7344_; +} +v_resetjp_7344_: +{ +lean_object* v___y_7348_; lean_object* v___y_7349_; lean_object* v_data_7350_; lean_object* v_fst_7361_; lean_object* v_snd_7362_; lean_object* v___x_7364_; uint8_t v_isShared_7365_; uint8_t v_isSharedCheck_7440_; +v_fst_7361_ = lean_ctor_get(v_snd_7343_, 0); +v_snd_7362_ = lean_ctor_get(v_snd_7343_, 1); +v_isSharedCheck_7440_ = !lean_is_exclusive(v_snd_7343_); +if (v_isSharedCheck_7440_ == 0) +{ +v___x_7364_ = v_snd_7343_; +v_isShared_7365_ = v_isSharedCheck_7440_; +goto v_resetjp_7363_; +} +else +{ +lean_inc(v_snd_7362_); +lean_inc(v_fst_7361_); +lean_dec(v_snd_7343_); +v___x_7364_ = lean_box(0); +v_isShared_7365_ = v_isSharedCheck_7440_; +goto v_resetjp_7363_; +} +v___jp_7347_: +{ +lean_object* v___x_7351_; +v___x_7351_ = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(v_oldTraces_7336_, v_data_7350_, v___y_7348_, v___y_7349_, v___y_7339_, v___y_7340_); +lean_dec(v___y_7340_); +if (lean_obj_tag(v___x_7351_) == 0) +{ +lean_object* v___x_7352_; +lean_dec_ref(v___x_7351_); +v___x_7352_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_fst_7342_); +return v___x_7352_; +} +else { lean_object* v_a_7353_; lean_object* v___x_7355_; uint8_t v_isShared_7356_; uint8_t v_isSharedCheck_7360_; -v_a_7353_ = lean_ctor_get(v_x_7351_, 0); -v_isSharedCheck_7360_ = !lean_is_exclusive(v_x_7351_); +lean_dec(v_fst_7342_); +v_a_7353_ = lean_ctor_get(v___x_7351_, 0); +v_isSharedCheck_7360_ = !lean_is_exclusive(v___x_7351_); if (v_isSharedCheck_7360_ == 0) { -v___x_7355_ = v_x_7351_; +v___x_7355_ = v___x_7351_; v_isShared_7356_ = v_isSharedCheck_7360_; goto v_resetjp_7354_; } else { lean_inc(v_a_7353_); -lean_dec(v_x_7351_); +lean_dec(v___x_7351_); v___x_7355_ = lean_box(0); v_isShared_7356_ = v_isSharedCheck_7360_; goto v_resetjp_7354_; @@ -21127,7 +21119,6 @@ v_resetjp_7354_: lean_object* v___x_7358_; if (v_isShared_7356_ == 0) { -lean_ctor_set_tag(v___x_7355_, 1); v___x_7358_ = v___x_7355_; goto v_reusejp_7357_; } @@ -21145,1078 +21136,929 @@ return v___x_7358_; } } } -else +} +v_resetjp_7363_: { -lean_object* v_a_7361_; lean_object* v___x_7363_; uint8_t v_isShared_7364_; uint8_t v_isSharedCheck_7368_; -v_a_7361_ = lean_ctor_get(v_x_7351_, 0); -v_isSharedCheck_7368_ = !lean_is_exclusive(v_x_7351_); -if (v_isSharedCheck_7368_ == 0) +lean_object* v___x_7366_; uint8_t v___x_7367_; lean_object* v___y_7369_; lean_object* v_a_7370_; uint8_t v___y_7394_; double v___y_7425_; +v___x_7366_ = l_Lean_trace_profiler; +v___x_7367_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_opts_7334_, v___x_7366_); +if (v___x_7367_ == 0) { -v___x_7363_ = v_x_7351_; -v_isShared_7364_ = v_isSharedCheck_7368_; -goto v_resetjp_7362_; +v___y_7394_ = v___x_7367_; +goto v___jp_7393_; } else { -lean_inc(v_a_7361_); -lean_dec(v_x_7351_); -v___x_7363_ = lean_box(0); -v_isShared_7364_ = v_isSharedCheck_7368_; -goto v_resetjp_7362_; -} -v_resetjp_7362_: +lean_object* v___x_7430_; uint8_t v___x_7431_; +v___x_7430_ = l_Lean_trace_profiler_useHeartbeats; +v___x_7431_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_opts_7334_, v___x_7430_); +if (v___x_7431_ == 0) { -lean_object* v___x_7366_; -if (v_isShared_7364_ == 0) -{ -lean_ctor_set_tag(v___x_7363_, 0); -v___x_7366_ = v___x_7363_; -goto v_reusejp_7365_; +lean_object* v___x_7432_; lean_object* v___x_7433_; double v___x_7434_; double v___x_7435_; double v___x_7436_; +v___x_7432_ = l_Lean_trace_profiler_threshold; +v___x_7433_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v_opts_7334_, v___x_7432_); +v___x_7434_ = lean_float_of_nat(v___x_7433_); +v___x_7435_ = lean_float_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5); +v___x_7436_ = lean_float_div(v___x_7434_, v___x_7435_); +v___y_7425_ = v___x_7436_; +goto v___jp_7424_; } else { -lean_object* v_reuseFailAlloc_7367_; -v_reuseFailAlloc_7367_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7367_, 0, v_a_7361_); -v___x_7366_ = v_reuseFailAlloc_7367_; -goto v_reusejp_7365_; +lean_object* v___x_7437_; lean_object* v___x_7438_; double v___x_7439_; +v___x_7437_ = l_Lean_trace_profiler_threshold; +v___x_7438_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v_opts_7334_, v___x_7437_); +v___x_7439_ = lean_float_of_nat(v___x_7438_); +v___y_7425_ = v___x_7439_; +goto v___jp_7424_; } -v_reusejp_7365_: +} +v___jp_7368_: { -return v___x_7366_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg___boxed(lean_object* v_x_7369_, lean_object* v___y_7370_){ -_start: +uint8_t v_result_7371_; lean_object* v___x_7372_; lean_object* v___x_7373_; lean_object* v___x_7374_; lean_object* v___x_7376_; +v_result_7371_ = l_Except_toTraceResult___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__5(v_fst_7342_); +v___x_7372_ = l_Lean_TraceResult_toEmoji(v_result_7371_); +v___x_7373_ = l_Lean_stringToMessageData(v___x_7372_); +v___x_7374_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1); +if (v_isShared_7365_ == 0) { -lean_object* v_res_7371_; -v_res_7371_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_x_7369_); -return v_res_7371_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(lean_object* v_cls_7372_, uint8_t v_collapsed_7373_, lean_object* v_tag_7374_, lean_object* v_opts_7375_, uint8_t v_clsEnabled_7376_, lean_object* v_oldTraces_7377_, lean_object* v_msg_7378_, lean_object* v_resStartStop_7379_, lean_object* v___y_7380_, lean_object* v___y_7381_){ -_start: -{ -lean_object* v_fst_7383_; lean_object* v_snd_7384_; lean_object* v___x_7386_; uint8_t v_isShared_7387_; uint8_t v_isSharedCheck_7482_; -v_fst_7383_ = lean_ctor_get(v_resStartStop_7379_, 0); -v_snd_7384_ = lean_ctor_get(v_resStartStop_7379_, 1); -v_isSharedCheck_7482_ = !lean_is_exclusive(v_resStartStop_7379_); -if (v_isSharedCheck_7482_ == 0) -{ -v___x_7386_ = v_resStartStop_7379_; -v_isShared_7387_ = v_isSharedCheck_7482_; -goto v_resetjp_7385_; +lean_ctor_set_tag(v___x_7364_, 7); +lean_ctor_set(v___x_7364_, 1, v___x_7374_); +lean_ctor_set(v___x_7364_, 0, v___x_7373_); +v___x_7376_ = v___x_7364_; +goto v_reusejp_7375_; } else { -lean_inc(v_snd_7384_); -lean_inc(v_fst_7383_); -lean_dec(v_resStartStop_7379_); -v___x_7386_ = lean_box(0); -v_isShared_7387_ = v_isSharedCheck_7482_; -goto v_resetjp_7385_; +lean_object* v_reuseFailAlloc_7387_; +v_reuseFailAlloc_7387_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_7387_, 0, v___x_7373_); +lean_ctor_set(v_reuseFailAlloc_7387_, 1, v___x_7374_); +v___x_7376_ = v_reuseFailAlloc_7387_; +goto v_reusejp_7375_; } -v_resetjp_7385_: +v_reusejp_7375_: { -lean_object* v___y_7389_; lean_object* v___y_7390_; lean_object* v_data_7391_; lean_object* v_fst_7402_; lean_object* v_snd_7403_; lean_object* v___x_7405_; uint8_t v_isShared_7406_; uint8_t v_isSharedCheck_7481_; -v_fst_7402_ = lean_ctor_get(v_snd_7384_, 0); -v_snd_7403_ = lean_ctor_get(v_snd_7384_, 1); -v_isSharedCheck_7481_ = !lean_is_exclusive(v_snd_7384_); -if (v_isSharedCheck_7481_ == 0) +lean_object* v_m_7378_; +if (v_isShared_7346_ == 0) { -v___x_7405_ = v_snd_7384_; -v_isShared_7406_ = v_isSharedCheck_7481_; -goto v_resetjp_7404_; +lean_ctor_set_tag(v___x_7345_, 7); +lean_ctor_set(v___x_7345_, 1, v_a_7370_); +lean_ctor_set(v___x_7345_, 0, v___x_7376_); +v_m_7378_ = v___x_7345_; +goto v_reusejp_7377_; } else { -lean_inc(v_snd_7403_); -lean_inc(v_fst_7402_); -lean_dec(v_snd_7384_); -v___x_7405_ = lean_box(0); -v_isShared_7406_ = v_isSharedCheck_7481_; -goto v_resetjp_7404_; +lean_object* v_reuseFailAlloc_7386_; +v_reuseFailAlloc_7386_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_7386_, 0, v___x_7376_); +lean_ctor_set(v_reuseFailAlloc_7386_, 1, v_a_7370_); +v_m_7378_ = v_reuseFailAlloc_7386_; +goto v_reusejp_7377_; +} +v_reusejp_7377_: +{ +lean_object* v___x_7379_; lean_object* v___x_7380_; double v___x_7381_; lean_object* v_data_7382_; +v___x_7379_ = lean_box(v_result_7371_); +v___x_7380_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_7380_, 0, v___x_7379_); +v___x_7381_ = lean_float_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2); +lean_inc_ref(v_tag_7333_); +lean_inc_ref(v___x_7380_); +lean_inc(v_cls_7331_); +v_data_7382_ = lean_alloc_ctor(0, 3, 17); +lean_ctor_set(v_data_7382_, 0, v_cls_7331_); +lean_ctor_set(v_data_7382_, 1, v___x_7380_); +lean_ctor_set(v_data_7382_, 2, v_tag_7333_); +lean_ctor_set_float(v_data_7382_, sizeof(void*)*3, v___x_7381_); +lean_ctor_set_float(v_data_7382_, sizeof(void*)*3 + 8, v___x_7381_); +lean_ctor_set_uint8(v_data_7382_, sizeof(void*)*3 + 16, v_collapsed_7332_); +if (v___x_7367_ == 0) +{ +lean_dec_ref(v___x_7380_); +lean_dec(v_snd_7362_); +lean_dec(v_fst_7361_); +lean_dec_ref(v_tag_7333_); +lean_dec(v_cls_7331_); +v___y_7348_ = v___y_7369_; +v___y_7349_ = v_m_7378_; +v_data_7350_ = v_data_7382_; +goto v___jp_7347_; +} +else +{ +lean_object* v_data_7383_; double v___x_7384_; double v___x_7385_; +lean_dec_ref(v_data_7382_); +v_data_7383_ = lean_alloc_ctor(0, 3, 17); +lean_ctor_set(v_data_7383_, 0, v_cls_7331_); +lean_ctor_set(v_data_7383_, 1, v___x_7380_); +lean_ctor_set(v_data_7383_, 2, v_tag_7333_); +v___x_7384_ = lean_unbox_float(v_fst_7361_); +lean_dec(v_fst_7361_); +lean_ctor_set_float(v_data_7383_, sizeof(void*)*3, v___x_7384_); +v___x_7385_ = lean_unbox_float(v_snd_7362_); +lean_dec(v_snd_7362_); +lean_ctor_set_float(v_data_7383_, sizeof(void*)*3 + 8, v___x_7385_); +lean_ctor_set_uint8(v_data_7383_, sizeof(void*)*3 + 16, v_collapsed_7332_); +v___y_7348_ = v___y_7369_; +v___y_7349_ = v_m_7378_; +v_data_7350_ = v_data_7383_; +goto v___jp_7347_; +} +} +} } v___jp_7388_: { +lean_object* v_ref_7389_; lean_object* v___x_7390_; +v_ref_7389_ = lean_ctor_get(v___y_7339_, 5); +lean_inc(v___y_7340_); +lean_inc_ref(v___y_7339_); +lean_inc(v_fst_7342_); +v___x_7390_ = lean_apply_4(v_msg_7337_, v_fst_7342_, v___y_7339_, v___y_7340_, lean_box(0)); +if (lean_obj_tag(v___x_7390_) == 0) +{ +lean_object* v_a_7391_; +v_a_7391_ = lean_ctor_get(v___x_7390_, 0); +lean_inc(v_a_7391_); +lean_dec_ref(v___x_7390_); +lean_inc(v_ref_7389_); +v___y_7369_ = v_ref_7389_; +v_a_7370_ = v_a_7391_; +goto v___jp_7368_; +} +else +{ lean_object* v___x_7392_; -v___x_7392_ = l___private_Lean_Util_Trace_0__Lean_addTraceNode___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__4(v_oldTraces_7377_, v_data_7391_, v___y_7390_, v___y_7389_, v___y_7380_, v___y_7381_); -lean_dec(v___y_7381_); -if (lean_obj_tag(v___x_7392_) == 0) +lean_dec_ref(v___x_7390_); +v___x_7392_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4); +lean_inc(v_ref_7389_); +v___y_7369_ = v_ref_7389_; +v_a_7370_ = v___x_7392_; +goto v___jp_7368_; +} +} +v___jp_7393_: { -lean_object* v___x_7393_; -lean_dec_ref(v___x_7392_); -v___x_7393_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_fst_7383_); -return v___x_7393_; +if (v_clsEnabled_7335_ == 0) +{ +if (v___y_7394_ == 0) +{ +lean_object* v___x_7395_; lean_object* v_traceState_7396_; lean_object* v_env_7397_; lean_object* v_nextMacroScope_7398_; lean_object* v_ngen_7399_; lean_object* v_auxDeclNGen_7400_; lean_object* v_cache_7401_; lean_object* v_messages_7402_; lean_object* v_infoState_7403_; lean_object* v_snapshotTasks_7404_; lean_object* v___x_7406_; uint8_t v_isShared_7407_; uint8_t v_isSharedCheck_7423_; +lean_del_object(v___x_7364_); +lean_dec(v_snd_7362_); +lean_dec(v_fst_7361_); +lean_del_object(v___x_7345_); +lean_dec_ref(v___y_7339_); +lean_dec_ref(v_msg_7337_); +lean_dec_ref(v_tag_7333_); +lean_dec(v_cls_7331_); +v___x_7395_ = lean_st_ref_take(v___y_7340_); +v_traceState_7396_ = lean_ctor_get(v___x_7395_, 4); +v_env_7397_ = lean_ctor_get(v___x_7395_, 0); +v_nextMacroScope_7398_ = lean_ctor_get(v___x_7395_, 1); +v_ngen_7399_ = lean_ctor_get(v___x_7395_, 2); +v_auxDeclNGen_7400_ = lean_ctor_get(v___x_7395_, 3); +v_cache_7401_ = lean_ctor_get(v___x_7395_, 5); +v_messages_7402_ = lean_ctor_get(v___x_7395_, 6); +v_infoState_7403_ = lean_ctor_get(v___x_7395_, 7); +v_snapshotTasks_7404_ = lean_ctor_get(v___x_7395_, 8); +v_isSharedCheck_7423_ = !lean_is_exclusive(v___x_7395_); +if (v_isSharedCheck_7423_ == 0) +{ +v___x_7406_ = v___x_7395_; +v_isShared_7407_ = v_isSharedCheck_7423_; +goto v_resetjp_7405_; } else { -lean_object* v_a_7394_; lean_object* v___x_7396_; uint8_t v_isShared_7397_; uint8_t v_isSharedCheck_7401_; -lean_dec(v_fst_7383_); -v_a_7394_ = lean_ctor_get(v___x_7392_, 0); -v_isSharedCheck_7401_ = !lean_is_exclusive(v___x_7392_); -if (v_isSharedCheck_7401_ == 0) +lean_inc(v_snapshotTasks_7404_); +lean_inc(v_infoState_7403_); +lean_inc(v_messages_7402_); +lean_inc(v_cache_7401_); +lean_inc(v_traceState_7396_); +lean_inc(v_auxDeclNGen_7400_); +lean_inc(v_ngen_7399_); +lean_inc(v_nextMacroScope_7398_); +lean_inc(v_env_7397_); +lean_dec(v___x_7395_); +v___x_7406_ = lean_box(0); +v_isShared_7407_ = v_isSharedCheck_7423_; +goto v_resetjp_7405_; +} +v_resetjp_7405_: { -v___x_7396_ = v___x_7392_; -v_isShared_7397_ = v_isSharedCheck_7401_; -goto v_resetjp_7395_; +uint64_t v_tid_7408_; lean_object* v_traces_7409_; lean_object* v___x_7411_; uint8_t v_isShared_7412_; uint8_t v_isSharedCheck_7422_; +v_tid_7408_ = lean_ctor_get_uint64(v_traceState_7396_, sizeof(void*)*1); +v_traces_7409_ = lean_ctor_get(v_traceState_7396_, 0); +v_isSharedCheck_7422_ = !lean_is_exclusive(v_traceState_7396_); +if (v_isSharedCheck_7422_ == 0) +{ +v___x_7411_ = v_traceState_7396_; +v_isShared_7412_ = v_isSharedCheck_7422_; +goto v_resetjp_7410_; } else { -lean_inc(v_a_7394_); -lean_dec(v___x_7392_); -v___x_7396_ = lean_box(0); -v_isShared_7397_ = v_isSharedCheck_7401_; -goto v_resetjp_7395_; +lean_inc(v_traces_7409_); +lean_dec(v_traceState_7396_); +v___x_7411_ = lean_box(0); +v_isShared_7412_ = v_isSharedCheck_7422_; +goto v_resetjp_7410_; } -v_resetjp_7395_: +v_resetjp_7410_: { -lean_object* v___x_7399_; -if (v_isShared_7397_ == 0) +lean_object* v___x_7413_; lean_object* v___x_7415_; +v___x_7413_ = l_Lean_PersistentArray_append___redArg(v_oldTraces_7336_, v_traces_7409_); +lean_dec_ref(v_traces_7409_); +if (v_isShared_7412_ == 0) { -v___x_7399_ = v___x_7396_; -goto v_reusejp_7398_; +lean_ctor_set(v___x_7411_, 0, v___x_7413_); +v___x_7415_ = v___x_7411_; +goto v_reusejp_7414_; } else { -lean_object* v_reuseFailAlloc_7400_; -v_reuseFailAlloc_7400_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7400_, 0, v_a_7394_); -v___x_7399_ = v_reuseFailAlloc_7400_; -goto v_reusejp_7398_; +lean_object* v_reuseFailAlloc_7421_; +v_reuseFailAlloc_7421_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_7421_, 0, v___x_7413_); +lean_ctor_set_uint64(v_reuseFailAlloc_7421_, sizeof(void*)*1, v_tid_7408_); +v___x_7415_ = v_reuseFailAlloc_7421_; +goto v_reusejp_7414_; } -v_reusejp_7398_: +v_reusejp_7414_: { -return v___x_7399_; -} -} -} -} -v_resetjp_7404_: +lean_object* v___x_7417_; +if (v_isShared_7407_ == 0) { -lean_object* v___x_7407_; uint8_t v___x_7408_; lean_object* v___y_7410_; lean_object* v_a_7411_; uint8_t v___y_7435_; double v___y_7466_; -v___x_7407_ = l_Lean_trace_profiler; -v___x_7408_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_opts_7375_, v___x_7407_); -if (v___x_7408_ == 0) -{ -v___y_7435_ = v___x_7408_; -goto v___jp_7434_; -} -else -{ -lean_object* v___x_7471_; uint8_t v___x_7472_; -v___x_7471_ = l_Lean_trace_profiler_useHeartbeats; -v___x_7472_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_opts_7375_, v___x_7471_); -if (v___x_7472_ == 0) -{ -lean_object* v___x_7473_; lean_object* v___x_7474_; double v___x_7475_; double v___x_7476_; double v___x_7477_; -v___x_7473_ = l_Lean_trace_profiler_threshold; -v___x_7474_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v_opts_7375_, v___x_7473_); -v___x_7475_ = lean_float_of_nat(v___x_7474_); -v___x_7476_ = lean_float_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__5); -v___x_7477_ = lean_float_div(v___x_7475_, v___x_7476_); -v___y_7466_ = v___x_7477_; -goto v___jp_7465_; -} -else -{ -lean_object* v___x_7478_; lean_object* v___x_7479_; double v___x_7480_; -v___x_7478_ = l_Lean_trace_profiler_threshold; -v___x_7479_ = l_Lean_Option_get___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__8(v_opts_7375_, v___x_7478_); -v___x_7480_ = lean_float_of_nat(v___x_7479_); -v___y_7466_ = v___x_7480_; -goto v___jp_7465_; -} -} -v___jp_7409_: -{ -uint8_t v_result_7412_; lean_object* v___x_7413_; lean_object* v___x_7414_; lean_object* v___x_7415_; lean_object* v___x_7417_; -v_result_7412_ = l_Except_toTraceResult___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5_spec__5(v_fst_7383_); -v___x_7413_ = l_Lean_TraceResult_toEmoji(v_result_7412_); -v___x_7414_ = l_Lean_stringToMessageData(v___x_7413_); -v___x_7415_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__1); -if (v_isShared_7406_ == 0) -{ -lean_ctor_set_tag(v___x_7405_, 7); -lean_ctor_set(v___x_7405_, 1, v___x_7415_); -lean_ctor_set(v___x_7405_, 0, v___x_7414_); -v___x_7417_ = v___x_7405_; +lean_ctor_set(v___x_7406_, 4, v___x_7415_); +v___x_7417_ = v___x_7406_; goto v_reusejp_7416_; } else { -lean_object* v_reuseFailAlloc_7428_; -v_reuseFailAlloc_7428_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_7428_, 0, v___x_7414_); -lean_ctor_set(v_reuseFailAlloc_7428_, 1, v___x_7415_); -v___x_7417_ = v_reuseFailAlloc_7428_; +lean_object* v_reuseFailAlloc_7420_; +v_reuseFailAlloc_7420_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_7420_, 0, v_env_7397_); +lean_ctor_set(v_reuseFailAlloc_7420_, 1, v_nextMacroScope_7398_); +lean_ctor_set(v_reuseFailAlloc_7420_, 2, v_ngen_7399_); +lean_ctor_set(v_reuseFailAlloc_7420_, 3, v_auxDeclNGen_7400_); +lean_ctor_set(v_reuseFailAlloc_7420_, 4, v___x_7415_); +lean_ctor_set(v_reuseFailAlloc_7420_, 5, v_cache_7401_); +lean_ctor_set(v_reuseFailAlloc_7420_, 6, v_messages_7402_); +lean_ctor_set(v_reuseFailAlloc_7420_, 7, v_infoState_7403_); +lean_ctor_set(v_reuseFailAlloc_7420_, 8, v_snapshotTasks_7404_); +v___x_7417_ = v_reuseFailAlloc_7420_; goto v_reusejp_7416_; } v_reusejp_7416_: { -lean_object* v_m_7419_; -if (v_isShared_7387_ == 0) -{ -lean_ctor_set_tag(v___x_7386_, 7); -lean_ctor_set(v___x_7386_, 1, v_a_7411_); -lean_ctor_set(v___x_7386_, 0, v___x_7417_); -v_m_7419_ = v___x_7386_; -goto v_reusejp_7418_; +lean_object* v___x_7418_; lean_object* v___x_7419_; +v___x_7418_ = lean_st_ref_set(v___y_7340_, v___x_7417_); +lean_dec(v___y_7340_); +v___x_7419_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_fst_7342_); +return v___x_7419_; +} +} +} +} } else { -lean_object* v_reuseFailAlloc_7427_; -v_reuseFailAlloc_7427_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_7427_, 0, v___x_7417_); -lean_ctor_set(v_reuseFailAlloc_7427_, 1, v_a_7411_); -v_m_7419_ = v_reuseFailAlloc_7427_; -goto v_reusejp_7418_; -} -v_reusejp_7418_: -{ -lean_object* v___x_7420_; lean_object* v___x_7421_; double v___x_7422_; lean_object* v_data_7423_; -v___x_7420_ = lean_box(v_result_7412_); -v___x_7421_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_7421_, 0, v___x_7420_); -v___x_7422_ = lean_float_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__2); -lean_inc_ref(v_tag_7374_); -lean_inc_ref(v___x_7421_); -lean_inc(v_cls_7372_); -v_data_7423_ = lean_alloc_ctor(0, 3, 17); -lean_ctor_set(v_data_7423_, 0, v_cls_7372_); -lean_ctor_set(v_data_7423_, 1, v___x_7421_); -lean_ctor_set(v_data_7423_, 2, v_tag_7374_); -lean_ctor_set_float(v_data_7423_, sizeof(void*)*3, v___x_7422_); -lean_ctor_set_float(v_data_7423_, sizeof(void*)*3 + 8, v___x_7422_); -lean_ctor_set_uint8(v_data_7423_, sizeof(void*)*3 + 16, v_collapsed_7373_); -if (v___x_7408_ == 0) -{ -lean_dec_ref(v___x_7421_); -lean_dec(v_snd_7403_); -lean_dec(v_fst_7402_); -lean_dec_ref(v_tag_7374_); -lean_dec(v_cls_7372_); -v___y_7389_ = v_m_7419_; -v___y_7390_ = v___y_7410_; -v_data_7391_ = v_data_7423_; -goto v___jp_7388_; -} -else -{ -lean_object* v_data_7424_; double v___x_7425_; double v___x_7426_; -lean_dec_ref(v_data_7423_); -v_data_7424_ = lean_alloc_ctor(0, 3, 17); -lean_ctor_set(v_data_7424_, 0, v_cls_7372_); -lean_ctor_set(v_data_7424_, 1, v___x_7421_); -lean_ctor_set(v_data_7424_, 2, v_tag_7374_); -v___x_7425_ = lean_unbox_float(v_fst_7402_); -lean_dec(v_fst_7402_); -lean_ctor_set_float(v_data_7424_, sizeof(void*)*3, v___x_7425_); -v___x_7426_ = lean_unbox_float(v_snd_7403_); -lean_dec(v_snd_7403_); -lean_ctor_set_float(v_data_7424_, sizeof(void*)*3 + 8, v___x_7426_); -lean_ctor_set_uint8(v_data_7424_, sizeof(void*)*3 + 16, v_collapsed_7373_); -v___y_7389_ = v_m_7419_; -v___y_7390_ = v___y_7410_; -v_data_7391_ = v_data_7424_; goto v___jp_7388_; } } -} -} -v___jp_7429_: -{ -lean_object* v_ref_7430_; lean_object* v___x_7431_; -v_ref_7430_ = lean_ctor_get(v___y_7380_, 5); -lean_inc(v___y_7381_); -lean_inc_ref(v___y_7380_); -lean_inc(v_fst_7383_); -v___x_7431_ = lean_apply_4(v_msg_7378_, v_fst_7383_, v___y_7380_, v___y_7381_, lean_box(0)); -if (lean_obj_tag(v___x_7431_) == 0) -{ -lean_object* v_a_7432_; -v_a_7432_ = lean_ctor_get(v___x_7431_, 0); -lean_inc(v_a_7432_); -lean_dec_ref(v___x_7431_); -lean_inc(v_ref_7430_); -v___y_7410_ = v_ref_7430_; -v_a_7411_ = v_a_7432_; -goto v___jp_7409_; -} else { -lean_object* v___x_7433_; -lean_dec_ref(v___x_7431_); -v___x_7433_ = lean_obj_once(&l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4, &l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4_once, _init_l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_fixLevelParams_spec__5___closed__4); -lean_inc(v_ref_7430_); -v___y_7410_ = v_ref_7430_; -v_a_7411_ = v___x_7433_; -goto v___jp_7409_; +goto v___jp_7388_; } } -v___jp_7434_: +v___jp_7424_: { -if (v_clsEnabled_7376_ == 0) -{ -if (v___y_7435_ == 0) -{ -lean_object* v___x_7436_; lean_object* v_traceState_7437_; lean_object* v_env_7438_; lean_object* v_nextMacroScope_7439_; lean_object* v_ngen_7440_; lean_object* v_auxDeclNGen_7441_; lean_object* v_cache_7442_; lean_object* v_messages_7443_; lean_object* v_infoState_7444_; lean_object* v_snapshotTasks_7445_; lean_object* v___x_7447_; uint8_t v_isShared_7448_; uint8_t v_isSharedCheck_7464_; -lean_del_object(v___x_7405_); -lean_dec(v_snd_7403_); -lean_dec(v_fst_7402_); -lean_del_object(v___x_7386_); -lean_dec_ref(v___y_7380_); -lean_dec_ref(v_msg_7378_); -lean_dec_ref(v_tag_7374_); -lean_dec(v_cls_7372_); -v___x_7436_ = lean_st_ref_take(v___y_7381_); -v_traceState_7437_ = lean_ctor_get(v___x_7436_, 4); -v_env_7438_ = lean_ctor_get(v___x_7436_, 0); -v_nextMacroScope_7439_ = lean_ctor_get(v___x_7436_, 1); -v_ngen_7440_ = lean_ctor_get(v___x_7436_, 2); -v_auxDeclNGen_7441_ = lean_ctor_get(v___x_7436_, 3); -v_cache_7442_ = lean_ctor_get(v___x_7436_, 5); -v_messages_7443_ = lean_ctor_get(v___x_7436_, 6); -v_infoState_7444_ = lean_ctor_get(v___x_7436_, 7); -v_snapshotTasks_7445_ = lean_ctor_get(v___x_7436_, 8); -v_isSharedCheck_7464_ = !lean_is_exclusive(v___x_7436_); -if (v_isSharedCheck_7464_ == 0) -{ -v___x_7447_ = v___x_7436_; -v_isShared_7448_ = v_isSharedCheck_7464_; -goto v_resetjp_7446_; -} -else -{ -lean_inc(v_snapshotTasks_7445_); -lean_inc(v_infoState_7444_); -lean_inc(v_messages_7443_); -lean_inc(v_cache_7442_); -lean_inc(v_traceState_7437_); -lean_inc(v_auxDeclNGen_7441_); -lean_inc(v_ngen_7440_); -lean_inc(v_nextMacroScope_7439_); -lean_inc(v_env_7438_); -lean_dec(v___x_7436_); -v___x_7447_ = lean_box(0); -v_isShared_7448_ = v_isSharedCheck_7464_; -goto v_resetjp_7446_; -} -v_resetjp_7446_: -{ -uint64_t v_tid_7449_; lean_object* v_traces_7450_; lean_object* v___x_7452_; uint8_t v_isShared_7453_; uint8_t v_isSharedCheck_7463_; -v_tid_7449_ = lean_ctor_get_uint64(v_traceState_7437_, sizeof(void*)*1); -v_traces_7450_ = lean_ctor_get(v_traceState_7437_, 0); -v_isSharedCheck_7463_ = !lean_is_exclusive(v_traceState_7437_); -if (v_isSharedCheck_7463_ == 0) -{ -v___x_7452_ = v_traceState_7437_; -v_isShared_7453_ = v_isSharedCheck_7463_; -goto v_resetjp_7451_; -} -else -{ -lean_inc(v_traces_7450_); -lean_dec(v_traceState_7437_); -v___x_7452_ = lean_box(0); -v_isShared_7453_ = v_isSharedCheck_7463_; -goto v_resetjp_7451_; -} -v_resetjp_7451_: -{ -lean_object* v___x_7454_; lean_object* v___x_7456_; -v___x_7454_ = l_Lean_PersistentArray_append___redArg(v_oldTraces_7377_, v_traces_7450_); -lean_dec_ref(v_traces_7450_); -if (v_isShared_7453_ == 0) -{ -lean_ctor_set(v___x_7452_, 0, v___x_7454_); -v___x_7456_ = v___x_7452_; -goto v_reusejp_7455_; -} -else -{ -lean_object* v_reuseFailAlloc_7462_; -v_reuseFailAlloc_7462_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_7462_, 0, v___x_7454_); -lean_ctor_set_uint64(v_reuseFailAlloc_7462_, sizeof(void*)*1, v_tid_7449_); -v___x_7456_ = v_reuseFailAlloc_7462_; -goto v_reusejp_7455_; -} -v_reusejp_7455_: -{ -lean_object* v___x_7458_; -if (v_isShared_7448_ == 0) -{ -lean_ctor_set(v___x_7447_, 4, v___x_7456_); -v___x_7458_ = v___x_7447_; -goto v_reusejp_7457_; -} -else -{ -lean_object* v_reuseFailAlloc_7461_; -v_reuseFailAlloc_7461_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_7461_, 0, v_env_7438_); -lean_ctor_set(v_reuseFailAlloc_7461_, 1, v_nextMacroScope_7439_); -lean_ctor_set(v_reuseFailAlloc_7461_, 2, v_ngen_7440_); -lean_ctor_set(v_reuseFailAlloc_7461_, 3, v_auxDeclNGen_7441_); -lean_ctor_set(v_reuseFailAlloc_7461_, 4, v___x_7456_); -lean_ctor_set(v_reuseFailAlloc_7461_, 5, v_cache_7442_); -lean_ctor_set(v_reuseFailAlloc_7461_, 6, v_messages_7443_); -lean_ctor_set(v_reuseFailAlloc_7461_, 7, v_infoState_7444_); -lean_ctor_set(v_reuseFailAlloc_7461_, 8, v_snapshotTasks_7445_); -v___x_7458_ = v_reuseFailAlloc_7461_; -goto v_reusejp_7457_; -} -v_reusejp_7457_: -{ -lean_object* v___x_7459_; lean_object* v___x_7460_; -v___x_7459_ = lean_st_ref_set(v___y_7381_, v___x_7458_); -lean_dec(v___y_7381_); -v___x_7460_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_fst_7383_); -return v___x_7460_; +double v___x_7426_; double v___x_7427_; double v___x_7428_; uint8_t v___x_7429_; +v___x_7426_ = lean_unbox_float(v_snd_7362_); +v___x_7427_ = lean_unbox_float(v_fst_7361_); +v___x_7428_ = lean_float_sub(v___x_7426_, v___x_7427_); +v___x_7429_ = lean_float_decLt(v___y_7425_, v___x_7428_); +v___y_7394_ = v___x_7429_; +goto v___jp_7393_; } } } } } -else -{ -goto v___jp_7429_; -} -} -else -{ -goto v___jp_7429_; -} -} -v___jp_7465_: -{ -double v___x_7467_; double v___x_7468_; double v___x_7469_; uint8_t v___x_7470_; -v___x_7467_ = lean_unbox_float(v_snd_7403_); -v___x_7468_ = lean_unbox_float(v_fst_7402_); -v___x_7469_ = lean_float_sub(v___x_7467_, v___x_7468_); -v___x_7470_ = lean_float_decLt(v___y_7466_, v___x_7469_); -v___y_7435_ = v___x_7470_; -goto v___jp_7434_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4___boxed(lean_object* v_cls_7483_, lean_object* v_collapsed_7484_, lean_object* v_tag_7485_, lean_object* v_opts_7486_, lean_object* v_clsEnabled_7487_, lean_object* v_oldTraces_7488_, lean_object* v_msg_7489_, lean_object* v_resStartStop_7490_, lean_object* v___y_7491_, lean_object* v___y_7492_, lean_object* v___y_7493_){ +LEAN_EXPORT lean_object* l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4___boxed(lean_object* v_cls_7442_, lean_object* v_collapsed_7443_, lean_object* v_tag_7444_, lean_object* v_opts_7445_, lean_object* v_clsEnabled_7446_, lean_object* v_oldTraces_7447_, lean_object* v_msg_7448_, lean_object* v_resStartStop_7449_, lean_object* v___y_7450_, lean_object* v___y_7451_, lean_object* v___y_7452_){ _start: { -uint8_t v_collapsed_boxed_7494_; uint8_t v_clsEnabled_boxed_7495_; lean_object* v_res_7496_; -v_collapsed_boxed_7494_ = lean_unbox(v_collapsed_7484_); -v_clsEnabled_boxed_7495_ = lean_unbox(v_clsEnabled_7487_); -v_res_7496_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v_cls_7483_, v_collapsed_boxed_7494_, v_tag_7485_, v_opts_7486_, v_clsEnabled_boxed_7495_, v_oldTraces_7488_, v_msg_7489_, v_resStartStop_7490_, v___y_7491_, v___y_7492_); -lean_dec_ref(v_opts_7486_); -return v_res_7496_; +uint8_t v_collapsed_boxed_7453_; uint8_t v_clsEnabled_boxed_7454_; lean_object* v_res_7455_; +v_collapsed_boxed_7453_ = lean_unbox(v_collapsed_7443_); +v_clsEnabled_boxed_7454_ = lean_unbox(v_clsEnabled_7446_); +v_res_7455_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v_cls_7442_, v_collapsed_boxed_7453_, v_tag_7444_, v_opts_7445_, v_clsEnabled_boxed_7454_, v_oldTraces_7447_, v_msg_7448_, v_resStartStop_7449_, v___y_7450_, v___y_7451_); +lean_dec_ref(v_opts_7445_); +return v_res_7455_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(lean_object* v_upperBound_7497_, lean_object* v_preDefs_7498_, lean_object* v___x_7499_, lean_object* v_a_7500_, lean_object* v_b_7501_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(lean_object* v_upperBound_7456_, lean_object* v_preDefs_7457_, lean_object* v___x_7458_, lean_object* v_a_7459_, lean_object* v_b_7460_){ _start: { -uint8_t v___x_7503_; -v___x_7503_ = lean_nat_dec_lt(v_a_7500_, v_upperBound_7497_); -if (v___x_7503_ == 0) +uint8_t v___x_7462_; +v___x_7462_ = lean_nat_dec_lt(v_a_7459_, v_upperBound_7456_); +if (v___x_7462_ == 0) { -lean_object* v___x_7504_; -lean_dec(v_a_7500_); -v___x_7504_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7504_, 0, v_b_7501_); -return v___x_7504_; +lean_object* v___x_7463_; +lean_dec(v_a_7459_); +v___x_7463_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7463_, 0, v_b_7460_); +return v___x_7463_; } else { -lean_object* v___x_7505_; lean_object* v_ref_7506_; uint8_t v_kind_7507_; lean_object* v_levelParams_7508_; lean_object* v_modifiers_7509_; lean_object* v_declName_7510_; lean_object* v_binders_7511_; lean_object* v_numSectionVars_7512_; lean_object* v_termination_7513_; lean_object* v___x_7515_; uint8_t v_isShared_7516_; uint8_t v_isSharedCheck_7530_; -v___x_7505_ = lean_array_fget(v_preDefs_7498_, v_a_7500_); -v_ref_7506_ = lean_ctor_get(v___x_7505_, 0); -v_kind_7507_ = lean_ctor_get_uint8(v___x_7505_, sizeof(void*)*9); -v_levelParams_7508_ = lean_ctor_get(v___x_7505_, 1); -v_modifiers_7509_ = lean_ctor_get(v___x_7505_, 2); -v_declName_7510_ = lean_ctor_get(v___x_7505_, 3); -v_binders_7511_ = lean_ctor_get(v___x_7505_, 4); -v_numSectionVars_7512_ = lean_ctor_get(v___x_7505_, 5); -v_termination_7513_ = lean_ctor_get(v___x_7505_, 8); -v_isSharedCheck_7530_ = !lean_is_exclusive(v___x_7505_); -if (v_isSharedCheck_7530_ == 0) +lean_object* v___x_7464_; lean_object* v_ref_7465_; uint8_t v_kind_7466_; lean_object* v_levelParams_7467_; lean_object* v_modifiers_7468_; lean_object* v_declName_7469_; lean_object* v_binders_7470_; lean_object* v_numSectionVars_7471_; lean_object* v_termination_7472_; lean_object* v___x_7474_; uint8_t v_isShared_7475_; uint8_t v_isSharedCheck_7489_; +v___x_7464_ = lean_array_fget(v_preDefs_7457_, v_a_7459_); +v_ref_7465_ = lean_ctor_get(v___x_7464_, 0); +v_kind_7466_ = lean_ctor_get_uint8(v___x_7464_, sizeof(void*)*9); +v_levelParams_7467_ = lean_ctor_get(v___x_7464_, 1); +v_modifiers_7468_ = lean_ctor_get(v___x_7464_, 2); +v_declName_7469_ = lean_ctor_get(v___x_7464_, 3); +v_binders_7470_ = lean_ctor_get(v___x_7464_, 4); +v_numSectionVars_7471_ = lean_ctor_get(v___x_7464_, 5); +v_termination_7472_ = lean_ctor_get(v___x_7464_, 8); +v_isSharedCheck_7489_ = !lean_is_exclusive(v___x_7464_); +if (v_isSharedCheck_7489_ == 0) { -lean_object* v_unused_7531_; lean_object* v_unused_7532_; -v_unused_7531_ = lean_ctor_get(v___x_7505_, 7); -lean_dec(v_unused_7531_); -v_unused_7532_ = lean_ctor_get(v___x_7505_, 6); -lean_dec(v_unused_7532_); -v___x_7515_ = v___x_7505_; -v_isShared_7516_ = v_isSharedCheck_7530_; -goto v_resetjp_7514_; +lean_object* v_unused_7490_; lean_object* v_unused_7491_; +v_unused_7490_ = lean_ctor_get(v___x_7464_, 7); +lean_dec(v_unused_7490_); +v_unused_7491_ = lean_ctor_get(v___x_7464_, 6); +lean_dec(v_unused_7491_); +v___x_7474_ = v___x_7464_; +v_isShared_7475_ = v_isSharedCheck_7489_; +goto v_resetjp_7473_; } else { -lean_inc(v_termination_7513_); -lean_inc(v_numSectionVars_7512_); -lean_inc(v_binders_7511_); -lean_inc(v_declName_7510_); -lean_inc(v_modifiers_7509_); -lean_inc(v_levelParams_7508_); -lean_inc(v_ref_7506_); -lean_dec(v___x_7505_); -v___x_7515_ = lean_box(0); -v_isShared_7516_ = v_isSharedCheck_7530_; -goto v_resetjp_7514_; +lean_inc(v_termination_7472_); +lean_inc(v_numSectionVars_7471_); +lean_inc(v_binders_7470_); +lean_inc(v_declName_7469_); +lean_inc(v_modifiers_7468_); +lean_inc(v_levelParams_7467_); +lean_inc(v_ref_7465_); +lean_dec(v___x_7464_); +v___x_7474_ = lean_box(0); +v_isShared_7475_ = v_isSharedCheck_7489_; +goto v_resetjp_7473_; } -v_resetjp_7514_: +v_resetjp_7473_: { -lean_object* v___x_7517_; lean_object* v___x_7518_; lean_object* v___x_7519_; lean_object* v___x_7520_; lean_object* v___x_7521_; lean_object* v___x_7522_; lean_object* v___x_7523_; lean_object* v___x_7525_; -v___x_7517_ = l_Lean_instInhabitedExpr; -v___x_7518_ = lean_unsigned_to_nat(2u); -v___x_7519_ = lean_nat_mul(v___x_7518_, v_a_7500_); -v___x_7520_ = lean_array_get_borrowed(v___x_7517_, v___x_7499_, v___x_7519_); -v___x_7521_ = lean_unsigned_to_nat(1u); -v___x_7522_ = lean_nat_add(v___x_7519_, v___x_7521_); -lean_dec(v___x_7519_); -v___x_7523_ = lean_array_get_borrowed(v___x_7517_, v___x_7499_, v___x_7522_); -lean_dec(v___x_7522_); -lean_inc(v___x_7523_); -lean_inc(v___x_7520_); -if (v_isShared_7516_ == 0) +lean_object* v___x_7476_; lean_object* v___x_7477_; lean_object* v___x_7478_; lean_object* v___x_7479_; lean_object* v___x_7480_; lean_object* v___x_7481_; lean_object* v___x_7482_; lean_object* v___x_7484_; +v___x_7476_ = l_Lean_instInhabitedExpr; +v___x_7477_ = lean_unsigned_to_nat(2u); +v___x_7478_ = lean_nat_mul(v___x_7477_, v_a_7459_); +v___x_7479_ = lean_array_get_borrowed(v___x_7476_, v___x_7458_, v___x_7478_); +v___x_7480_ = lean_unsigned_to_nat(1u); +v___x_7481_ = lean_nat_add(v___x_7478_, v___x_7480_); +lean_dec(v___x_7478_); +v___x_7482_ = lean_array_get_borrowed(v___x_7476_, v___x_7458_, v___x_7481_); +lean_dec(v___x_7481_); +lean_inc(v___x_7482_); +lean_inc(v___x_7479_); +if (v_isShared_7475_ == 0) { -lean_ctor_set(v___x_7515_, 7, v___x_7523_); -lean_ctor_set(v___x_7515_, 6, v___x_7520_); -v___x_7525_ = v___x_7515_; -goto v_reusejp_7524_; +lean_ctor_set(v___x_7474_, 7, v___x_7482_); +lean_ctor_set(v___x_7474_, 6, v___x_7479_); +v___x_7484_ = v___x_7474_; +goto v_reusejp_7483_; } else { -lean_object* v_reuseFailAlloc_7529_; -v_reuseFailAlloc_7529_ = lean_alloc_ctor(0, 9, 1); -lean_ctor_set(v_reuseFailAlloc_7529_, 0, v_ref_7506_); -lean_ctor_set(v_reuseFailAlloc_7529_, 1, v_levelParams_7508_); -lean_ctor_set(v_reuseFailAlloc_7529_, 2, v_modifiers_7509_); -lean_ctor_set(v_reuseFailAlloc_7529_, 3, v_declName_7510_); -lean_ctor_set(v_reuseFailAlloc_7529_, 4, v_binders_7511_); -lean_ctor_set(v_reuseFailAlloc_7529_, 5, v_numSectionVars_7512_); -lean_ctor_set(v_reuseFailAlloc_7529_, 6, v___x_7520_); -lean_ctor_set(v_reuseFailAlloc_7529_, 7, v___x_7523_); -lean_ctor_set(v_reuseFailAlloc_7529_, 8, v_termination_7513_); -lean_ctor_set_uint8(v_reuseFailAlloc_7529_, sizeof(void*)*9, v_kind_7507_); -v___x_7525_ = v_reuseFailAlloc_7529_; -goto v_reusejp_7524_; +lean_object* v_reuseFailAlloc_7488_; +v_reuseFailAlloc_7488_ = lean_alloc_ctor(0, 9, 1); +lean_ctor_set(v_reuseFailAlloc_7488_, 0, v_ref_7465_); +lean_ctor_set(v_reuseFailAlloc_7488_, 1, v_levelParams_7467_); +lean_ctor_set(v_reuseFailAlloc_7488_, 2, v_modifiers_7468_); +lean_ctor_set(v_reuseFailAlloc_7488_, 3, v_declName_7469_); +lean_ctor_set(v_reuseFailAlloc_7488_, 4, v_binders_7470_); +lean_ctor_set(v_reuseFailAlloc_7488_, 5, v_numSectionVars_7471_); +lean_ctor_set(v_reuseFailAlloc_7488_, 6, v___x_7479_); +lean_ctor_set(v_reuseFailAlloc_7488_, 7, v___x_7482_); +lean_ctor_set(v_reuseFailAlloc_7488_, 8, v_termination_7472_); +lean_ctor_set_uint8(v_reuseFailAlloc_7488_, sizeof(void*)*9, v_kind_7466_); +v___x_7484_ = v_reuseFailAlloc_7488_; +goto v_reusejp_7483_; } -v_reusejp_7524_: +v_reusejp_7483_: { -lean_object* v___x_7526_; lean_object* v___x_7527_; -v___x_7526_ = lean_array_push(v_b_7501_, v___x_7525_); -v___x_7527_ = lean_nat_add(v_a_7500_, v___x_7521_); -lean_dec(v_a_7500_); -v_a_7500_ = v___x_7527_; -v_b_7501_ = v___x_7526_; +lean_object* v___x_7485_; lean_object* v___x_7486_; +v___x_7485_ = lean_array_push(v_b_7460_, v___x_7484_); +v___x_7486_ = lean_nat_add(v_a_7459_, v___x_7480_); +lean_dec(v_a_7459_); +v_a_7459_ = v___x_7486_; +v_b_7460_ = v___x_7485_; goto _start; } } } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg___boxed(lean_object* v_upperBound_7533_, lean_object* v_preDefs_7534_, lean_object* v___x_7535_, lean_object* v_a_7536_, lean_object* v_b_7537_, lean_object* v___y_7538_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg___boxed(lean_object* v_upperBound_7492_, lean_object* v_preDefs_7493_, lean_object* v___x_7494_, lean_object* v_a_7495_, lean_object* v_b_7496_, lean_object* v___y_7497_){ _start: { -lean_object* v_res_7539_; -v_res_7539_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v_upperBound_7533_, v_preDefs_7534_, v___x_7535_, v_a_7536_, v_b_7537_); -lean_dec_ref(v___x_7535_); -lean_dec_ref(v_preDefs_7534_); -lean_dec(v_upperBound_7533_); -return v_res_7539_; +lean_object* v_res_7498_; +v_res_7498_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v_upperBound_7492_, v_preDefs_7493_, v___x_7494_, v_a_7495_, v_b_7496_); +lean_dec_ref(v___x_7494_); +lean_dec_ref(v_preDefs_7493_); +lean_dec(v_upperBound_7492_); +return v_res_7498_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(lean_object* v_as_7540_, size_t v_sz_7541_, size_t v_i_7542_, lean_object* v_b_7543_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(lean_object* v_as_7499_, size_t v_sz_7500_, size_t v_i_7501_, lean_object* v_b_7502_){ _start: { -uint8_t v___x_7545_; -v___x_7545_ = lean_usize_dec_lt(v_i_7542_, v_sz_7541_); -if (v___x_7545_ == 0) +uint8_t v___x_7504_; +v___x_7504_ = lean_usize_dec_lt(v_i_7501_, v_sz_7500_); +if (v___x_7504_ == 0) { -lean_object* v___x_7546_; -v___x_7546_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7546_, 0, v_b_7543_); -return v___x_7546_; +lean_object* v___x_7505_; +v___x_7505_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7505_, 0, v_b_7502_); +return v___x_7505_; } else { -lean_object* v_a_7547_; lean_object* v_type_7548_; lean_object* v_value_7549_; lean_object* v___x_7550_; lean_object* v___x_7551_; size_t v___x_7552_; size_t v___x_7553_; -v_a_7547_ = lean_array_uget_borrowed(v_as_7540_, v_i_7542_); -v_type_7548_ = lean_ctor_get(v_a_7547_, 6); -v_value_7549_ = lean_ctor_get(v_a_7547_, 7); -lean_inc_ref(v_type_7548_); -v___x_7550_ = lean_array_push(v_b_7543_, v_type_7548_); -lean_inc_ref(v_value_7549_); -v___x_7551_ = lean_array_push(v___x_7550_, v_value_7549_); -v___x_7552_ = ((size_t)1ULL); -v___x_7553_ = lean_usize_add(v_i_7542_, v___x_7552_); -v_i_7542_ = v___x_7553_; -v_b_7543_ = v___x_7551_; +lean_object* v_a_7506_; lean_object* v_type_7507_; lean_object* v_value_7508_; lean_object* v___x_7509_; lean_object* v___x_7510_; size_t v___x_7511_; size_t v___x_7512_; +v_a_7506_ = lean_array_uget_borrowed(v_as_7499_, v_i_7501_); +v_type_7507_ = lean_ctor_get(v_a_7506_, 6); +v_value_7508_ = lean_ctor_get(v_a_7506_, 7); +lean_inc_ref(v_type_7507_); +v___x_7509_ = lean_array_push(v_b_7502_, v_type_7507_); +lean_inc_ref(v_value_7508_); +v___x_7510_ = lean_array_push(v___x_7509_, v_value_7508_); +v___x_7511_ = ((size_t)1ULL); +v___x_7512_ = lean_usize_add(v_i_7501_, v___x_7511_); +v_i_7501_ = v___x_7512_; +v_b_7502_ = v___x_7510_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg___boxed(lean_object* v_as_7555_, lean_object* v_sz_7556_, lean_object* v_i_7557_, lean_object* v_b_7558_, lean_object* v___y_7559_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg___boxed(lean_object* v_as_7514_, lean_object* v_sz_7515_, lean_object* v_i_7516_, lean_object* v_b_7517_, lean_object* v___y_7518_){ _start: { -size_t v_sz_boxed_7560_; size_t v_i_boxed_7561_; lean_object* v_res_7562_; -v_sz_boxed_7560_ = lean_unbox_usize(v_sz_7556_); -lean_dec(v_sz_7556_); -v_i_boxed_7561_ = lean_unbox_usize(v_i_7557_); -lean_dec(v_i_7557_); -v_res_7562_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_as_7555_, v_sz_boxed_7560_, v_i_boxed_7561_, v_b_7558_); -lean_dec_ref(v_as_7555_); -return v_res_7562_; +size_t v_sz_boxed_7519_; size_t v_i_boxed_7520_; lean_object* v_res_7521_; +v_sz_boxed_7519_ = lean_unbox_usize(v_sz_7515_); +lean_dec(v_sz_7515_); +v_i_boxed_7520_ = lean_unbox_usize(v_i_7516_); +lean_dec(v_i_7516_); +v_res_7521_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_as_7514_, v_sz_boxed_7519_, v_i_boxed_7520_, v_b_7517_); +lean_dec_ref(v_as_7514_); +return v_res_7521_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__1(lean_object* v_preDefs_7563_, size_t v_sz_7564_, size_t v___x_7565_, lean_object* v___x_7566_, lean_object* v___x_7567_, lean_object* v___x_7568_, uint8_t v___x_7569_, lean_object* v___x_7570_, lean_object* v___f_7571_, lean_object* v___y_7572_, lean_object* v___y_7573_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__1(lean_object* v_preDefs_7522_, size_t v_sz_7523_, size_t v___x_7524_, lean_object* v___x_7525_, lean_object* v___x_7526_, lean_object* v___x_7527_, uint8_t v___x_7528_, lean_object* v___x_7529_, lean_object* v___f_7530_, lean_object* v___y_7531_, lean_object* v___y_7532_){ _start: { -lean_object* v_options_7575_; uint8_t v_hasTrace_7576_; -v_options_7575_ = lean_ctor_get(v___y_7572_, 2); -lean_inc_ref(v_options_7575_); -v_hasTrace_7576_ = lean_ctor_get_uint8(v_options_7575_, sizeof(void*)*1); -if (v_hasTrace_7576_ == 0) +lean_object* v_options_7534_; uint8_t v_hasTrace_7535_; +v_options_7534_ = lean_ctor_get(v___y_7531_, 2); +lean_inc_ref(v_options_7534_); +v_hasTrace_7535_ = lean_ctor_get_uint8(v_options_7534_, sizeof(void*)*1); +if (v_hasTrace_7535_ == 0) { -lean_object* v___x_7577_; -lean_dec_ref(v_options_7575_); -lean_dec(v___y_7573_); -lean_dec_ref(v___y_7572_); -lean_dec_ref(v___f_7571_); -lean_dec_ref(v___x_7570_); -lean_dec(v___x_7568_); -v___x_7577_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7563_, v_sz_7564_, v___x_7565_, v___x_7566_); -if (lean_obj_tag(v___x_7577_) == 0) +lean_object* v___x_7536_; +lean_dec_ref(v_options_7534_); +lean_dec(v___y_7532_); +lean_dec_ref(v___y_7531_); +lean_dec_ref(v___f_7530_); +lean_dec_ref(v___x_7529_); +lean_dec(v___x_7527_); +v___x_7536_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7522_, v_sz_7523_, v___x_7524_, v___x_7525_); +if (lean_obj_tag(v___x_7536_) == 0) { -lean_object* v_a_7578_; lean_object* v___x_7579_; lean_object* v___x_7580_; lean_object* v___x_7581_; lean_object* v___x_7582_; -v_a_7578_ = lean_ctor_get(v___x_7577_, 0); -lean_inc(v_a_7578_); -lean_dec_ref(v___x_7577_); -v___x_7579_ = lean_array_get_size(v_preDefs_7563_); -v___x_7580_ = lean_mk_empty_array_with_capacity(v___x_7567_); -v___x_7581_ = lean_sharecommon_quick(v_a_7578_); -lean_dec(v_a_7578_); -v___x_7582_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7579_, v_preDefs_7563_, v___x_7581_, v___x_7567_, v___x_7580_); -lean_dec(v___x_7581_); -return v___x_7582_; +lean_object* v_a_7537_; lean_object* v___x_7538_; lean_object* v___x_7539_; lean_object* v___x_7540_; lean_object* v___x_7541_; +v_a_7537_ = lean_ctor_get(v___x_7536_, 0); +lean_inc(v_a_7537_); +lean_dec_ref(v___x_7536_); +v___x_7538_ = lean_array_get_size(v_preDefs_7522_); +v___x_7539_ = lean_mk_empty_array_with_capacity(v___x_7526_); +v___x_7540_ = lean_sharecommon_quick(v_a_7537_); +lean_dec(v_a_7537_); +v___x_7541_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7538_, v_preDefs_7522_, v___x_7540_, v___x_7526_, v___x_7539_); +lean_dec(v___x_7540_); +return v___x_7541_; } else { -lean_object* v_a_7583_; lean_object* v___x_7585_; uint8_t v_isShared_7586_; uint8_t v_isSharedCheck_7590_; -lean_dec(v___x_7567_); -v_a_7583_ = lean_ctor_get(v___x_7577_, 0); -v_isSharedCheck_7590_ = !lean_is_exclusive(v___x_7577_); -if (v_isSharedCheck_7590_ == 0) +lean_object* v_a_7542_; lean_object* v___x_7544_; uint8_t v_isShared_7545_; uint8_t v_isSharedCheck_7549_; +lean_dec(v___x_7526_); +v_a_7542_ = lean_ctor_get(v___x_7536_, 0); +v_isSharedCheck_7549_ = !lean_is_exclusive(v___x_7536_); +if (v_isSharedCheck_7549_ == 0) { -v___x_7585_ = v___x_7577_; -v_isShared_7586_ = v_isSharedCheck_7590_; -goto v_resetjp_7584_; +v___x_7544_ = v___x_7536_; +v_isShared_7545_ = v_isSharedCheck_7549_; +goto v_resetjp_7543_; } else { -lean_inc(v_a_7583_); -lean_dec(v___x_7577_); -v___x_7585_ = lean_box(0); -v_isShared_7586_ = v_isSharedCheck_7590_; -goto v_resetjp_7584_; +lean_inc(v_a_7542_); +lean_dec(v___x_7536_); +v___x_7544_ = lean_box(0); +v_isShared_7545_ = v_isSharedCheck_7549_; +goto v_resetjp_7543_; } -v_resetjp_7584_: +v_resetjp_7543_: { -lean_object* v___x_7588_; -if (v_isShared_7586_ == 0) +lean_object* v___x_7547_; +if (v_isShared_7545_ == 0) { -v___x_7588_ = v___x_7585_; -goto v_reusejp_7587_; +v___x_7547_ = v___x_7544_; +goto v_reusejp_7546_; } else { -lean_object* v_reuseFailAlloc_7589_; -v_reuseFailAlloc_7589_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7589_, 0, v_a_7583_); -v___x_7588_ = v_reuseFailAlloc_7589_; -goto v_reusejp_7587_; +lean_object* v_reuseFailAlloc_7548_; +v_reuseFailAlloc_7548_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7548_, 0, v_a_7542_); +v___x_7547_ = v_reuseFailAlloc_7548_; +goto v_reusejp_7546_; } -v_reusejp_7587_: +v_reusejp_7546_: { -return v___x_7588_; +return v___x_7547_; } } } } else { -lean_object* v___x_7591_; lean_object* v_a_7592_; lean_object* v___x_7594_; uint8_t v_isShared_7595_; uint8_t v_isSharedCheck_7693_; -lean_inc(v___x_7568_); -v___x_7591_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v___x_7568_, v___y_7572_); -v_a_7592_ = lean_ctor_get(v___x_7591_, 0); -v_isSharedCheck_7693_ = !lean_is_exclusive(v___x_7591_); -if (v_isSharedCheck_7693_ == 0) +lean_object* v___x_7550_; lean_object* v_a_7551_; lean_object* v___x_7553_; uint8_t v_isShared_7554_; uint8_t v_isSharedCheck_7652_; +lean_inc(v___x_7527_); +v___x_7550_ = l_Lean_isTracingEnabledFor___at___00Lean_Elab_shareCommonPreDefs_spec__2___redArg(v___x_7527_, v___y_7531_); +v_a_7551_ = lean_ctor_get(v___x_7550_, 0); +v_isSharedCheck_7652_ = !lean_is_exclusive(v___x_7550_); +if (v_isSharedCheck_7652_ == 0) { -v___x_7594_ = v___x_7591_; -v_isShared_7595_ = v_isSharedCheck_7693_; -goto v_resetjp_7593_; +v___x_7553_ = v___x_7550_; +v_isShared_7554_ = v_isSharedCheck_7652_; +goto v_resetjp_7552_; } else { -lean_inc(v_a_7592_); -lean_dec(v___x_7591_); -v___x_7594_ = lean_box(0); -v_isShared_7595_ = v_isSharedCheck_7693_; -goto v_resetjp_7593_; +lean_inc(v_a_7551_); +lean_dec(v___x_7550_); +v___x_7553_ = lean_box(0); +v_isShared_7554_ = v_isSharedCheck_7652_; +goto v_resetjp_7552_; } -v_resetjp_7593_: +v_resetjp_7552_: { -lean_object* v___y_7597_; lean_object* v___y_7598_; lean_object* v_a_7599_; lean_object* v___y_7613_; lean_object* v___y_7614_; lean_object* v_a_7615_; lean_object* v___y_7620_; lean_object* v___y_7621_; lean_object* v_a_7622_; lean_object* v___y_7633_; lean_object* v___y_7634_; lean_object* v_a_7635_; uint8_t v___x_7676_; -v___x_7676_ = lean_unbox(v_a_7592_); -if (v___x_7676_ == 0) +lean_object* v___y_7556_; lean_object* v___y_7557_; lean_object* v_a_7558_; lean_object* v___y_7572_; lean_object* v___y_7573_; lean_object* v_a_7574_; lean_object* v___y_7579_; lean_object* v___y_7580_; lean_object* v_a_7581_; lean_object* v___y_7592_; lean_object* v___y_7593_; lean_object* v_a_7594_; uint8_t v___x_7635_; +v___x_7635_ = lean_unbox(v_a_7551_); +if (v___x_7635_ == 0) { -lean_object* v___x_7677_; uint8_t v___x_7678_; -v___x_7677_ = l_Lean_trace_profiler; -v___x_7678_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_options_7575_, v___x_7677_); -if (v___x_7678_ == 0) +lean_object* v___x_7636_; uint8_t v___x_7637_; +v___x_7636_ = l_Lean_trace_profiler; +v___x_7637_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_options_7534_, v___x_7636_); +if (v___x_7637_ == 0) { -lean_object* v___x_7679_; -lean_del_object(v___x_7594_); -lean_dec(v_a_7592_); -lean_dec_ref(v_options_7575_); -lean_dec(v___y_7573_); -lean_dec_ref(v___y_7572_); -lean_dec_ref(v___f_7571_); -lean_dec_ref(v___x_7570_); -lean_dec(v___x_7568_); -v___x_7679_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7563_, v_sz_7564_, v___x_7565_, v___x_7566_); -if (lean_obj_tag(v___x_7679_) == 0) +lean_object* v___x_7638_; +lean_del_object(v___x_7553_); +lean_dec(v_a_7551_); +lean_dec_ref(v_options_7534_); +lean_dec(v___y_7532_); +lean_dec_ref(v___y_7531_); +lean_dec_ref(v___f_7530_); +lean_dec_ref(v___x_7529_); +lean_dec(v___x_7527_); +v___x_7638_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7522_, v_sz_7523_, v___x_7524_, v___x_7525_); +if (lean_obj_tag(v___x_7638_) == 0) { -lean_object* v_a_7680_; lean_object* v___x_7681_; lean_object* v___x_7682_; lean_object* v___x_7683_; lean_object* v___x_7684_; -v_a_7680_ = lean_ctor_get(v___x_7679_, 0); -lean_inc(v_a_7680_); -lean_dec_ref(v___x_7679_); -v___x_7681_ = lean_array_get_size(v_preDefs_7563_); -v___x_7682_ = lean_mk_empty_array_with_capacity(v___x_7567_); -v___x_7683_ = lean_sharecommon_quick(v_a_7680_); -lean_dec(v_a_7680_); -v___x_7684_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7681_, v_preDefs_7563_, v___x_7683_, v___x_7567_, v___x_7682_); -lean_dec(v___x_7683_); -return v___x_7684_; -} -else -{ -lean_object* v_a_7685_; lean_object* v___x_7687_; uint8_t v_isShared_7688_; uint8_t v_isSharedCheck_7692_; -lean_dec(v___x_7567_); -v_a_7685_ = lean_ctor_get(v___x_7679_, 0); -v_isSharedCheck_7692_ = !lean_is_exclusive(v___x_7679_); -if (v_isSharedCheck_7692_ == 0) -{ -v___x_7687_ = v___x_7679_; -v_isShared_7688_ = v_isSharedCheck_7692_; -goto v_resetjp_7686_; -} -else -{ -lean_inc(v_a_7685_); -lean_dec(v___x_7679_); -v___x_7687_ = lean_box(0); -v_isShared_7688_ = v_isSharedCheck_7692_; -goto v_resetjp_7686_; -} -v_resetjp_7686_: -{ -lean_object* v___x_7690_; -if (v_isShared_7688_ == 0) -{ -v___x_7690_ = v___x_7687_; -goto v_reusejp_7689_; -} -else -{ -lean_object* v_reuseFailAlloc_7691_; -v_reuseFailAlloc_7691_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7691_, 0, v_a_7685_); -v___x_7690_ = v_reuseFailAlloc_7691_; -goto v_reusejp_7689_; -} -v_reusejp_7689_: -{ -return v___x_7690_; -} -} -} -} -else -{ -goto v___jp_7637_; -} -} -else -{ -goto v___jp_7637_; -} -v___jp_7596_: -{ -lean_object* v___x_7600_; double v___x_7601_; double v___x_7602_; double v___x_7603_; double v___x_7604_; double v___x_7605_; lean_object* v___x_7606_; lean_object* v___x_7607_; lean_object* v___x_7608_; lean_object* v___x_7609_; uint8_t v___x_7610_; lean_object* v___x_7611_; -v___x_7600_ = lean_io_mono_nanos_now(); -v___x_7601_ = lean_float_of_nat(v___y_7597_); -v___x_7602_ = lean_float_once(&l_Lean_Elab_fixLevelParams___lam__1___closed__0, &l_Lean_Elab_fixLevelParams___lam__1___closed__0_once, _init_l_Lean_Elab_fixLevelParams___lam__1___closed__0); -v___x_7603_ = lean_float_div(v___x_7601_, v___x_7602_); -v___x_7604_ = lean_float_of_nat(v___x_7600_); -v___x_7605_ = lean_float_div(v___x_7604_, v___x_7602_); -v___x_7606_ = lean_box_float(v___x_7603_); -v___x_7607_ = lean_box_float(v___x_7605_); -v___x_7608_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_7608_, 0, v___x_7606_); -lean_ctor_set(v___x_7608_, 1, v___x_7607_); -v___x_7609_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_7609_, 0, v_a_7599_); -lean_ctor_set(v___x_7609_, 1, v___x_7608_); -v___x_7610_ = lean_unbox(v_a_7592_); -lean_dec(v_a_7592_); -v___x_7611_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v___x_7568_, v___x_7569_, v___x_7570_, v_options_7575_, v___x_7610_, v___y_7598_, v___f_7571_, v___x_7609_, v___y_7572_, v___y_7573_); -lean_dec_ref(v_options_7575_); -return v___x_7611_; -} -v___jp_7612_: -{ -lean_object* v___x_7617_; -if (v_isShared_7595_ == 0) -{ -lean_ctor_set(v___x_7594_, 0, v_a_7615_); -v___x_7617_ = v___x_7594_; -goto v_reusejp_7616_; -} -else -{ -lean_object* v_reuseFailAlloc_7618_; -v_reuseFailAlloc_7618_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7618_, 0, v_a_7615_); -v___x_7617_ = v_reuseFailAlloc_7618_; -goto v_reusejp_7616_; -} -v_reusejp_7616_: -{ -v___y_7597_ = v___y_7613_; -v___y_7598_ = v___y_7614_; -v_a_7599_ = v___x_7617_; -goto v___jp_7596_; -} -} -v___jp_7619_: -{ -lean_object* v___x_7623_; double v___x_7624_; double v___x_7625_; lean_object* v___x_7626_; lean_object* v___x_7627_; lean_object* v___x_7628_; lean_object* v___x_7629_; uint8_t v___x_7630_; lean_object* v___x_7631_; -v___x_7623_ = lean_io_get_num_heartbeats(); -v___x_7624_ = lean_float_of_nat(v___y_7620_); -v___x_7625_ = lean_float_of_nat(v___x_7623_); -v___x_7626_ = lean_box_float(v___x_7624_); -v___x_7627_ = lean_box_float(v___x_7625_); -v___x_7628_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_7628_, 0, v___x_7626_); -lean_ctor_set(v___x_7628_, 1, v___x_7627_); -v___x_7629_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_7629_, 0, v_a_7622_); -lean_ctor_set(v___x_7629_, 1, v___x_7628_); -v___x_7630_ = lean_unbox(v_a_7592_); -lean_dec(v_a_7592_); -v___x_7631_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v___x_7568_, v___x_7569_, v___x_7570_, v_options_7575_, v___x_7630_, v___y_7621_, v___f_7571_, v___x_7629_, v___y_7572_, v___y_7573_); -lean_dec_ref(v_options_7575_); -return v___x_7631_; -} -v___jp_7632_: -{ -lean_object* v___x_7636_; -v___x_7636_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_7636_, 0, v_a_7635_); -v___y_7620_ = v___y_7633_; -v___y_7621_ = v___y_7634_; -v_a_7622_ = v___x_7636_; -goto v___jp_7619_; -} -v___jp_7637_: -{ -lean_object* v___x_7638_; lean_object* v_a_7639_; lean_object* v___x_7640_; uint8_t v___x_7641_; -v___x_7638_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7573_); +lean_object* v_a_7639_; lean_object* v___x_7640_; lean_object* v___x_7641_; lean_object* v___x_7642_; lean_object* v___x_7643_; v_a_7639_ = lean_ctor_get(v___x_7638_, 0); lean_inc(v_a_7639_); lean_dec_ref(v___x_7638_); -v___x_7640_ = l_Lean_trace_profiler_useHeartbeats; -v___x_7641_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_options_7575_, v___x_7640_); -if (v___x_7641_ == 0) +v___x_7640_ = lean_array_get_size(v_preDefs_7522_); +v___x_7641_ = lean_mk_empty_array_with_capacity(v___x_7526_); +v___x_7642_ = lean_sharecommon_quick(v_a_7639_); +lean_dec(v_a_7639_); +v___x_7643_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7640_, v_preDefs_7522_, v___x_7642_, v___x_7526_, v___x_7641_); +lean_dec(v___x_7642_); +return v___x_7643_; +} +else { -lean_object* v___x_7642_; lean_object* v___x_7643_; -v___x_7642_ = lean_io_mono_nanos_now(); -v___x_7643_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7563_, v_sz_7564_, v___x_7565_, v___x_7566_); -if (lean_obj_tag(v___x_7643_) == 0) +lean_object* v_a_7644_; lean_object* v___x_7646_; uint8_t v_isShared_7647_; uint8_t v_isSharedCheck_7651_; +lean_dec(v___x_7526_); +v_a_7644_ = lean_ctor_get(v___x_7638_, 0); +v_isSharedCheck_7651_ = !lean_is_exclusive(v___x_7638_); +if (v_isSharedCheck_7651_ == 0) +{ +v___x_7646_ = v___x_7638_; +v_isShared_7647_ = v_isSharedCheck_7651_; +goto v_resetjp_7645_; +} +else { -lean_object* v_a_7644_; lean_object* v___x_7645_; lean_object* v___x_7646_; lean_object* v___x_7647_; lean_object* v___x_7648_; -v_a_7644_ = lean_ctor_get(v___x_7643_, 0); lean_inc(v_a_7644_); -lean_dec_ref(v___x_7643_); -v___x_7645_ = lean_array_get_size(v_preDefs_7563_); -v___x_7646_ = lean_mk_empty_array_with_capacity(v___x_7567_); -v___x_7647_ = lean_sharecommon_quick(v_a_7644_); -lean_dec(v_a_7644_); -v___x_7648_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7645_, v_preDefs_7563_, v___x_7647_, v___x_7567_, v___x_7646_); -lean_dec(v___x_7647_); -if (lean_obj_tag(v___x_7648_) == 0) +lean_dec(v___x_7638_); +v___x_7646_ = lean_box(0); +v_isShared_7647_ = v_isSharedCheck_7651_; +goto v_resetjp_7645_; +} +v_resetjp_7645_: { -lean_object* v_a_7649_; lean_object* v___x_7651_; uint8_t v_isShared_7652_; uint8_t v_isSharedCheck_7656_; -lean_del_object(v___x_7594_); -v_a_7649_ = lean_ctor_get(v___x_7648_, 0); -v_isSharedCheck_7656_ = !lean_is_exclusive(v___x_7648_); -if (v_isSharedCheck_7656_ == 0) +lean_object* v___x_7649_; +if (v_isShared_7647_ == 0) { -v___x_7651_ = v___x_7648_; -v_isShared_7652_ = v_isSharedCheck_7656_; -goto v_resetjp_7650_; +v___x_7649_ = v___x_7646_; +goto v_reusejp_7648_; } else { -lean_inc(v_a_7649_); -lean_dec(v___x_7648_); -v___x_7651_ = lean_box(0); -v_isShared_7652_ = v_isSharedCheck_7656_; -goto v_resetjp_7650_; +lean_object* v_reuseFailAlloc_7650_; +v_reuseFailAlloc_7650_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7650_, 0, v_a_7644_); +v___x_7649_ = v_reuseFailAlloc_7650_; +goto v_reusejp_7648_; } -v_resetjp_7650_: +v_reusejp_7648_: { -lean_object* v___x_7654_; -if (v_isShared_7652_ == 0) -{ -lean_ctor_set_tag(v___x_7651_, 1); -v___x_7654_ = v___x_7651_; -goto v_reusejp_7653_; +return v___x_7649_; +} +} +} } else { -lean_object* v_reuseFailAlloc_7655_; -v_reuseFailAlloc_7655_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7655_, 0, v_a_7649_); -v___x_7654_ = v_reuseFailAlloc_7655_; -goto v_reusejp_7653_; -} -v_reusejp_7653_: -{ -v___y_7597_ = v___x_7642_; -v___y_7598_ = v_a_7639_; -v_a_7599_ = v___x_7654_; goto v___jp_7596_; } } +else +{ +goto v___jp_7596_; +} +v___jp_7555_: +{ +lean_object* v___x_7559_; double v___x_7560_; double v___x_7561_; double v___x_7562_; double v___x_7563_; double v___x_7564_; lean_object* v___x_7565_; lean_object* v___x_7566_; lean_object* v___x_7567_; lean_object* v___x_7568_; uint8_t v___x_7569_; lean_object* v___x_7570_; +v___x_7559_ = lean_io_mono_nanos_now(); +v___x_7560_ = lean_float_of_nat(v___y_7557_); +v___x_7561_ = lean_float_once(&l_Lean_Elab_fixLevelParams___lam__1___closed__0, &l_Lean_Elab_fixLevelParams___lam__1___closed__0_once, _init_l_Lean_Elab_fixLevelParams___lam__1___closed__0); +v___x_7562_ = lean_float_div(v___x_7560_, v___x_7561_); +v___x_7563_ = lean_float_of_nat(v___x_7559_); +v___x_7564_ = lean_float_div(v___x_7563_, v___x_7561_); +v___x_7565_ = lean_box_float(v___x_7562_); +v___x_7566_ = lean_box_float(v___x_7564_); +v___x_7567_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_7567_, 0, v___x_7565_); +lean_ctor_set(v___x_7567_, 1, v___x_7566_); +v___x_7568_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_7568_, 0, v_a_7558_); +lean_ctor_set(v___x_7568_, 1, v___x_7567_); +v___x_7569_ = lean_unbox(v_a_7551_); +lean_dec(v_a_7551_); +v___x_7570_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v___x_7527_, v___x_7528_, v___x_7529_, v_options_7534_, v___x_7569_, v___y_7556_, v___f_7530_, v___x_7568_, v___y_7531_, v___y_7532_); +lean_dec_ref(v_options_7534_); +return v___x_7570_; +} +v___jp_7571_: +{ +lean_object* v___x_7576_; +if (v_isShared_7554_ == 0) +{ +lean_ctor_set(v___x_7553_, 0, v_a_7574_); +v___x_7576_ = v___x_7553_; +goto v_reusejp_7575_; } else { -lean_object* v_a_7657_; -v_a_7657_ = lean_ctor_get(v___x_7648_, 0); -lean_inc(v_a_7657_); -lean_dec_ref(v___x_7648_); -v___y_7613_ = v___x_7642_; -v___y_7614_ = v_a_7639_; -v_a_7615_ = v_a_7657_; -goto v___jp_7612_; +lean_object* v_reuseFailAlloc_7577_; +v_reuseFailAlloc_7577_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7577_, 0, v_a_7574_); +v___x_7576_ = v_reuseFailAlloc_7577_; +goto v_reusejp_7575_; } +v_reusejp_7575_: +{ +v___y_7556_ = v___y_7572_; +v___y_7557_ = v___y_7573_; +v_a_7558_ = v___x_7576_; +goto v___jp_7555_; +} +} +v___jp_7578_: +{ +lean_object* v___x_7582_; double v___x_7583_; double v___x_7584_; lean_object* v___x_7585_; lean_object* v___x_7586_; lean_object* v___x_7587_; lean_object* v___x_7588_; uint8_t v___x_7589_; lean_object* v___x_7590_; +v___x_7582_ = lean_io_get_num_heartbeats(); +v___x_7583_ = lean_float_of_nat(v___y_7580_); +v___x_7584_ = lean_float_of_nat(v___x_7582_); +v___x_7585_ = lean_box_float(v___x_7583_); +v___x_7586_ = lean_box_float(v___x_7584_); +v___x_7587_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_7587_, 0, v___x_7585_); +lean_ctor_set(v___x_7587_, 1, v___x_7586_); +v___x_7588_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_7588_, 0, v_a_7581_); +lean_ctor_set(v___x_7588_, 1, v___x_7587_); +v___x_7589_ = lean_unbox(v_a_7551_); +lean_dec(v_a_7551_); +v___x_7590_ = l___private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4(v___x_7527_, v___x_7528_, v___x_7529_, v_options_7534_, v___x_7589_, v___y_7579_, v___f_7530_, v___x_7588_, v___y_7531_, v___y_7532_); +lean_dec_ref(v_options_7534_); +return v___x_7590_; +} +v___jp_7591_: +{ +lean_object* v___x_7595_; +v___x_7595_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_7595_, 0, v_a_7594_); +v___y_7579_ = v___y_7592_; +v___y_7580_ = v___y_7593_; +v_a_7581_ = v___x_7595_; +goto v___jp_7578_; +} +v___jp_7596_: +{ +lean_object* v___x_7597_; lean_object* v_a_7598_; lean_object* v___x_7599_; uint8_t v___x_7600_; +v___x_7597_ = l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___00Lean_Elab_shareCommonPreDefs_spec__3___redArg(v___y_7532_); +v_a_7598_ = lean_ctor_get(v___x_7597_, 0); +lean_inc(v_a_7598_); +lean_dec_ref(v___x_7597_); +v___x_7599_ = l_Lean_trace_profiler_useHeartbeats; +v___x_7600_ = l_Lean_Option_get___at___00Lean_Elab_addMacroStack___at___00Lean_throwError___at___00__private_Lean_Elab_PreDefinition_Basic_0__Lean_Elab_getLevelParamsPreDecls_spec__1_spec__2_spec__3(v_options_7534_, v___x_7599_); +if (v___x_7600_ == 0) +{ +lean_object* v___x_7601_; lean_object* v___x_7602_; +v___x_7601_ = lean_io_mono_nanos_now(); +v___x_7602_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7522_, v_sz_7523_, v___x_7524_, v___x_7525_); +if (lean_obj_tag(v___x_7602_) == 0) +{ +lean_object* v_a_7603_; lean_object* v___x_7604_; lean_object* v___x_7605_; lean_object* v___x_7606_; lean_object* v___x_7607_; +v_a_7603_ = lean_ctor_get(v___x_7602_, 0); +lean_inc(v_a_7603_); +lean_dec_ref(v___x_7602_); +v___x_7604_ = lean_array_get_size(v_preDefs_7522_); +v___x_7605_ = lean_mk_empty_array_with_capacity(v___x_7526_); +v___x_7606_ = lean_sharecommon_quick(v_a_7603_); +lean_dec(v_a_7603_); +v___x_7607_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7604_, v_preDefs_7522_, v___x_7606_, v___x_7526_, v___x_7605_); +lean_dec(v___x_7606_); +if (lean_obj_tag(v___x_7607_) == 0) +{ +lean_object* v_a_7608_; lean_object* v___x_7610_; uint8_t v_isShared_7611_; uint8_t v_isSharedCheck_7615_; +lean_del_object(v___x_7553_); +v_a_7608_ = lean_ctor_get(v___x_7607_, 0); +v_isSharedCheck_7615_ = !lean_is_exclusive(v___x_7607_); +if (v_isSharedCheck_7615_ == 0) +{ +v___x_7610_ = v___x_7607_; +v_isShared_7611_ = v_isSharedCheck_7615_; +goto v_resetjp_7609_; } else { -lean_object* v_a_7658_; -lean_dec(v___x_7567_); -v_a_7658_ = lean_ctor_get(v___x_7643_, 0); -lean_inc(v_a_7658_); -lean_dec_ref(v___x_7643_); -v___y_7613_ = v___x_7642_; -v___y_7614_ = v_a_7639_; -v_a_7615_ = v_a_7658_; -goto v___jp_7612_; +lean_inc(v_a_7608_); +lean_dec(v___x_7607_); +v___x_7610_ = lean_box(0); +v_isShared_7611_ = v_isSharedCheck_7615_; +goto v_resetjp_7609_; } +v_resetjp_7609_: +{ +lean_object* v___x_7613_; +if (v_isShared_7611_ == 0) +{ +lean_ctor_set_tag(v___x_7610_, 1); +v___x_7613_ = v___x_7610_; +goto v_reusejp_7612_; } else { -lean_object* v___x_7659_; lean_object* v___x_7660_; -lean_del_object(v___x_7594_); -v___x_7659_ = lean_io_get_num_heartbeats(); -v___x_7660_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7563_, v_sz_7564_, v___x_7565_, v___x_7566_); -if (lean_obj_tag(v___x_7660_) == 0) -{ -lean_object* v_a_7661_; lean_object* v___x_7662_; lean_object* v___x_7663_; lean_object* v___x_7664_; lean_object* v___x_7665_; -v_a_7661_ = lean_ctor_get(v___x_7660_, 0); -lean_inc(v_a_7661_); -lean_dec_ref(v___x_7660_); -v___x_7662_ = lean_array_get_size(v_preDefs_7563_); -v___x_7663_ = lean_mk_empty_array_with_capacity(v___x_7567_); -v___x_7664_ = lean_sharecommon_quick(v_a_7661_); -lean_dec(v_a_7661_); -v___x_7665_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7662_, v_preDefs_7563_, v___x_7664_, v___x_7567_, v___x_7663_); -lean_dec(v___x_7664_); -if (lean_obj_tag(v___x_7665_) == 0) -{ -lean_object* v_a_7666_; lean_object* v___x_7668_; uint8_t v_isShared_7669_; uint8_t v_isSharedCheck_7673_; -v_a_7666_ = lean_ctor_get(v___x_7665_, 0); -v_isSharedCheck_7673_ = !lean_is_exclusive(v___x_7665_); -if (v_isSharedCheck_7673_ == 0) -{ -v___x_7668_ = v___x_7665_; -v_isShared_7669_ = v_isSharedCheck_7673_; -goto v_resetjp_7667_; +lean_object* v_reuseFailAlloc_7614_; +v_reuseFailAlloc_7614_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7614_, 0, v_a_7608_); +v___x_7613_ = v_reuseFailAlloc_7614_; +goto v_reusejp_7612_; } -else +v_reusejp_7612_: { -lean_inc(v_a_7666_); -lean_dec(v___x_7665_); -v___x_7668_ = lean_box(0); -v_isShared_7669_ = v_isSharedCheck_7673_; -goto v_resetjp_7667_; -} -v_resetjp_7667_: -{ -lean_object* v___x_7671_; -if (v_isShared_7669_ == 0) -{ -lean_ctor_set_tag(v___x_7668_, 1); -v___x_7671_ = v___x_7668_; -goto v_reusejp_7670_; -} -else -{ -lean_object* v_reuseFailAlloc_7672_; -v_reuseFailAlloc_7672_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_7672_, 0, v_a_7666_); -v___x_7671_ = v_reuseFailAlloc_7672_; -goto v_reusejp_7670_; -} -v_reusejp_7670_: -{ -v___y_7620_ = v___x_7659_; -v___y_7621_ = v_a_7639_; -v_a_7622_ = v___x_7671_; -goto v___jp_7619_; +v___y_7556_ = v_a_7598_; +v___y_7557_ = v___x_7601_; +v_a_7558_ = v___x_7613_; +goto v___jp_7555_; } } } else { -lean_object* v_a_7674_; -v_a_7674_ = lean_ctor_get(v___x_7665_, 0); -lean_inc(v_a_7674_); -lean_dec_ref(v___x_7665_); -v___y_7633_ = v___x_7659_; -v___y_7634_ = v_a_7639_; -v_a_7635_ = v_a_7674_; -goto v___jp_7632_; +lean_object* v_a_7616_; +v_a_7616_ = lean_ctor_get(v___x_7607_, 0); +lean_inc(v_a_7616_); +lean_dec_ref(v___x_7607_); +v___y_7572_ = v_a_7598_; +v___y_7573_ = v___x_7601_; +v_a_7574_ = v_a_7616_; +goto v___jp_7571_; } } else { -lean_object* v_a_7675_; -lean_dec(v___x_7567_); -v_a_7675_ = lean_ctor_get(v___x_7660_, 0); -lean_inc(v_a_7675_); -lean_dec_ref(v___x_7660_); -v___y_7633_ = v___x_7659_; -v___y_7634_ = v_a_7639_; -v_a_7635_ = v_a_7675_; -goto v___jp_7632_; +lean_object* v_a_7617_; +lean_dec(v___x_7526_); +v_a_7617_ = lean_ctor_get(v___x_7602_, 0); +lean_inc(v_a_7617_); +lean_dec_ref(v___x_7602_); +v___y_7572_ = v_a_7598_; +v___y_7573_ = v___x_7601_; +v_a_7574_ = v_a_7617_; +goto v___jp_7571_; +} +} +else +{ +lean_object* v___x_7618_; lean_object* v___x_7619_; +lean_del_object(v___x_7553_); +v___x_7618_ = lean_io_get_num_heartbeats(); +v___x_7619_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_preDefs_7522_, v_sz_7523_, v___x_7524_, v___x_7525_); +if (lean_obj_tag(v___x_7619_) == 0) +{ +lean_object* v_a_7620_; lean_object* v___x_7621_; lean_object* v___x_7622_; lean_object* v___x_7623_; lean_object* v___x_7624_; +v_a_7620_ = lean_ctor_get(v___x_7619_, 0); +lean_inc(v_a_7620_); +lean_dec_ref(v___x_7619_); +v___x_7621_ = lean_array_get_size(v_preDefs_7522_); +v___x_7622_ = lean_mk_empty_array_with_capacity(v___x_7526_); +v___x_7623_ = lean_sharecommon_quick(v_a_7620_); +lean_dec(v_a_7620_); +v___x_7624_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v___x_7621_, v_preDefs_7522_, v___x_7623_, v___x_7526_, v___x_7622_); +lean_dec(v___x_7623_); +if (lean_obj_tag(v___x_7624_) == 0) +{ +lean_object* v_a_7625_; lean_object* v___x_7627_; uint8_t v_isShared_7628_; uint8_t v_isSharedCheck_7632_; +v_a_7625_ = lean_ctor_get(v___x_7624_, 0); +v_isSharedCheck_7632_ = !lean_is_exclusive(v___x_7624_); +if (v_isSharedCheck_7632_ == 0) +{ +v___x_7627_ = v___x_7624_; +v_isShared_7628_ = v_isSharedCheck_7632_; +goto v_resetjp_7626_; +} +else +{ +lean_inc(v_a_7625_); +lean_dec(v___x_7624_); +v___x_7627_ = lean_box(0); +v_isShared_7628_ = v_isSharedCheck_7632_; +goto v_resetjp_7626_; +} +v_resetjp_7626_: +{ +lean_object* v___x_7630_; +if (v_isShared_7628_ == 0) +{ +lean_ctor_set_tag(v___x_7627_, 1); +v___x_7630_ = v___x_7627_; +goto v_reusejp_7629_; +} +else +{ +lean_object* v_reuseFailAlloc_7631_; +v_reuseFailAlloc_7631_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_7631_, 0, v_a_7625_); +v___x_7630_ = v_reuseFailAlloc_7631_; +goto v_reusejp_7629_; +} +v_reusejp_7629_: +{ +v___y_7579_ = v_a_7598_; +v___y_7580_ = v___x_7618_; +v_a_7581_ = v___x_7630_; +goto v___jp_7578_; +} +} +} +else +{ +lean_object* v_a_7633_; +v_a_7633_ = lean_ctor_get(v___x_7624_, 0); +lean_inc(v_a_7633_); +lean_dec_ref(v___x_7624_); +v___y_7592_ = v_a_7598_; +v___y_7593_ = v___x_7618_; +v_a_7594_ = v_a_7633_; +goto v___jp_7591_; +} +} +else +{ +lean_object* v_a_7634_; +lean_dec(v___x_7526_); +v_a_7634_ = lean_ctor_get(v___x_7619_, 0); +lean_inc(v_a_7634_); +lean_dec_ref(v___x_7619_); +v___y_7592_ = v_a_7598_; +v___y_7593_ = v___x_7618_; +v_a_7594_ = v_a_7634_; +goto v___jp_7591_; } } } @@ -22224,121 +22066,121 @@ goto v___jp_7632_; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__1___boxed(lean_object* v_preDefs_7694_, lean_object* v_sz_7695_, lean_object* v___x_7696_, lean_object* v___x_7697_, lean_object* v___x_7698_, lean_object* v___x_7699_, lean_object* v___x_7700_, lean_object* v___x_7701_, lean_object* v___f_7702_, lean_object* v___y_7703_, lean_object* v___y_7704_, lean_object* v___y_7705_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___lam__1___boxed(lean_object* v_preDefs_7653_, lean_object* v_sz_7654_, lean_object* v___x_7655_, lean_object* v___x_7656_, lean_object* v___x_7657_, lean_object* v___x_7658_, lean_object* v___x_7659_, lean_object* v___x_7660_, lean_object* v___f_7661_, lean_object* v___y_7662_, lean_object* v___y_7663_, lean_object* v___y_7664_){ _start: { -size_t v_sz_boxed_7706_; size_t v___x_9507__boxed_7707_; uint8_t v___x_9511__boxed_7708_; lean_object* v_res_7709_; -v_sz_boxed_7706_ = lean_unbox_usize(v_sz_7695_); -lean_dec(v_sz_7695_); -v___x_9507__boxed_7707_ = lean_unbox_usize(v___x_7696_); -lean_dec(v___x_7696_); -v___x_9511__boxed_7708_ = lean_unbox(v___x_7700_); -v_res_7709_ = l_Lean_Elab_shareCommonPreDefs___lam__1(v_preDefs_7694_, v_sz_boxed_7706_, v___x_9507__boxed_7707_, v___x_7697_, v___x_7698_, v___x_7699_, v___x_9511__boxed_7708_, v___x_7701_, v___f_7702_, v___y_7703_, v___y_7704_); -lean_dec_ref(v_preDefs_7694_); -return v_res_7709_; +size_t v_sz_boxed_7665_; size_t v___x_9507__boxed_7666_; uint8_t v___x_9511__boxed_7667_; lean_object* v_res_7668_; +v_sz_boxed_7665_ = lean_unbox_usize(v_sz_7654_); +lean_dec(v_sz_7654_); +v___x_9507__boxed_7666_ = lean_unbox_usize(v___x_7655_); +lean_dec(v___x_7655_); +v___x_9511__boxed_7667_ = lean_unbox(v___x_7659_); +v_res_7668_ = l_Lean_Elab_shareCommonPreDefs___lam__1(v_preDefs_7653_, v_sz_boxed_7665_, v___x_9507__boxed_7666_, v___x_7656_, v___x_7657_, v___x_7658_, v___x_9511__boxed_7667_, v___x_7660_, v___f_7661_, v___y_7662_, v___y_7663_); +lean_dec_ref(v_preDefs_7653_); +return v_res_7668_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs(lean_object* v_preDefs_7720_, lean_object* v_a_7721_, lean_object* v_a_7722_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs(lean_object* v_preDefs_7679_, lean_object* v_a_7680_, lean_object* v_a_7681_){ _start: { -lean_object* v_options_7724_; lean_object* v___x_7725_; lean_object* v___f_7726_; lean_object* v___x_7727_; lean_object* v___x_7728_; lean_object* v___x_7729_; size_t v_sz_7730_; uint8_t v___x_7731_; lean_object* v___x_7732_; lean_object* v___x_7733_; lean_object* v___x_7734_; lean_object* v___x_7735_; lean_object* v___f_7736_; lean_object* v___x_7737_; lean_object* v___x_7738_; -v_options_7724_ = lean_ctor_get(v_a_7721_, 2); -lean_inc_ref(v_options_7724_); -v___x_7725_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__0)); -v___f_7726_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__1)); -v___x_7727_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__3)); -v___x_7728_ = lean_unsigned_to_nat(0u); -v___x_7729_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); -v_sz_7730_ = lean_array_size(v_preDefs_7720_); -v___x_7731_ = 1; -v___x_7732_ = ((lean_object*)(l_Lean_Elab_fixLevelParams___closed__5)); -v___x_7733_ = lean_box_usize(v_sz_7730_); -v___x_7734_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___boxed__const__1)); -v___x_7735_ = lean_box(v___x_7731_); -v___f_7736_ = lean_alloc_closure((void*)(l_Lean_Elab_shareCommonPreDefs___lam__1___boxed), 12, 9); -lean_closure_set(v___f_7736_, 0, v_preDefs_7720_); -lean_closure_set(v___f_7736_, 1, v___x_7733_); -lean_closure_set(v___f_7736_, 2, v___x_7734_); -lean_closure_set(v___f_7736_, 3, v___x_7729_); -lean_closure_set(v___f_7736_, 4, v___x_7728_); -lean_closure_set(v___f_7736_, 5, v___x_7727_); -lean_closure_set(v___f_7736_, 6, v___x_7735_); -lean_closure_set(v___f_7736_, 7, v___x_7732_); -lean_closure_set(v___f_7736_, 8, v___f_7726_); -v___x_7737_ = lean_box(0); -v___x_7738_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v___x_7725_, v_options_7724_, v___f_7736_, v___x_7737_, v_a_7721_, v_a_7722_); -lean_dec_ref(v_options_7724_); -return v___x_7738_; +lean_object* v_options_7683_; lean_object* v___x_7684_; lean_object* v___f_7685_; lean_object* v___x_7686_; lean_object* v___x_7687_; lean_object* v___x_7688_; size_t v_sz_7689_; uint8_t v___x_7690_; lean_object* v___x_7691_; lean_object* v___x_7692_; lean_object* v___x_7693_; lean_object* v___x_7694_; lean_object* v___f_7695_; lean_object* v___x_7696_; lean_object* v___x_7697_; +v_options_7683_ = lean_ctor_get(v_a_7680_, 2); +lean_inc_ref(v_options_7683_); +v___x_7684_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__0)); +v___f_7685_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__1)); +v___x_7686_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___closed__3)); +v___x_7687_ = lean_unsigned_to_nat(0u); +v___x_7688_ = ((lean_object*)(l_Lean_Meta_visitLambda___at___00__private_Lean_Meta_ForEachExpr_0__Lean_Meta_forEachExpr_x27_visit___at___00Lean_Meta_forEachExpr_x27___at___00Lean_Meta_forEachExpr___at___00Lean_Elab_ensureNoRecFn_spec__1_spec__1_spec__2_spec__6___closed__0)); +v_sz_7689_ = lean_array_size(v_preDefs_7679_); +v___x_7690_ = 1; +v___x_7691_ = ((lean_object*)(l_Lean_Elab_fixLevelParams___closed__5)); +v___x_7692_ = lean_box_usize(v_sz_7689_); +v___x_7693_ = ((lean_object*)(l_Lean_Elab_shareCommonPreDefs___boxed__const__1)); +v___x_7694_ = lean_box(v___x_7690_); +v___f_7695_ = lean_alloc_closure((void*)(l_Lean_Elab_shareCommonPreDefs___lam__1___boxed), 12, 9); +lean_closure_set(v___f_7695_, 0, v_preDefs_7679_); +lean_closure_set(v___f_7695_, 1, v___x_7692_); +lean_closure_set(v___f_7695_, 2, v___x_7693_); +lean_closure_set(v___f_7695_, 3, v___x_7688_); +lean_closure_set(v___f_7695_, 4, v___x_7687_); +lean_closure_set(v___f_7695_, 5, v___x_7686_); +lean_closure_set(v___f_7695_, 6, v___x_7694_); +lean_closure_set(v___f_7695_, 7, v___x_7691_); +lean_closure_set(v___f_7695_, 8, v___f_7685_); +v___x_7696_ = lean_box(0); +v___x_7697_ = l_Lean_profileitM___at___00Lean_Elab_shareCommonPreDefs_spec__5___redArg(v___x_7684_, v_options_7683_, v___f_7695_, v___x_7696_, v_a_7680_, v_a_7681_); +lean_dec_ref(v_options_7683_); +return v___x_7697_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___boxed(lean_object* v_preDefs_7739_, lean_object* v_a_7740_, lean_object* v_a_7741_, lean_object* v_a_7742_){ +LEAN_EXPORT lean_object* l_Lean_Elab_shareCommonPreDefs___boxed(lean_object* v_preDefs_7698_, lean_object* v_a_7699_, lean_object* v_a_7700_, lean_object* v_a_7701_){ _start: { -lean_object* v_res_7743_; -v_res_7743_ = l_Lean_Elab_shareCommonPreDefs(v_preDefs_7739_, v_a_7740_, v_a_7741_); -return v_res_7743_; +lean_object* v_res_7702_; +v_res_7702_ = l_Lean_Elab_shareCommonPreDefs(v_preDefs_7698_, v_a_7699_, v_a_7700_); +return v_res_7702_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0(lean_object* v_as_7744_, size_t v_sz_7745_, size_t v_i_7746_, lean_object* v_b_7747_, lean_object* v___y_7748_, lean_object* v___y_7749_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0(lean_object* v_as_7703_, size_t v_sz_7704_, size_t v_i_7705_, lean_object* v_b_7706_, lean_object* v___y_7707_, lean_object* v___y_7708_){ _start: { -lean_object* v___x_7751_; -v___x_7751_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_as_7744_, v_sz_7745_, v_i_7746_, v_b_7747_); -return v___x_7751_; +lean_object* v___x_7710_; +v___x_7710_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___redArg(v_as_7703_, v_sz_7704_, v_i_7705_, v_b_7706_); +return v___x_7710_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___boxed(lean_object* v_as_7752_, lean_object* v_sz_7753_, lean_object* v_i_7754_, lean_object* v_b_7755_, lean_object* v___y_7756_, lean_object* v___y_7757_, lean_object* v___y_7758_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0___boxed(lean_object* v_as_7711_, lean_object* v_sz_7712_, lean_object* v_i_7713_, lean_object* v_b_7714_, lean_object* v___y_7715_, lean_object* v___y_7716_, lean_object* v___y_7717_){ _start: { -size_t v_sz_boxed_7759_; size_t v_i_boxed_7760_; lean_object* v_res_7761_; -v_sz_boxed_7759_ = lean_unbox_usize(v_sz_7753_); -lean_dec(v_sz_7753_); -v_i_boxed_7760_ = lean_unbox_usize(v_i_7754_); -lean_dec(v_i_7754_); -v_res_7761_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0(v_as_7752_, v_sz_boxed_7759_, v_i_boxed_7760_, v_b_7755_, v___y_7756_, v___y_7757_); -lean_dec(v___y_7757_); -lean_dec_ref(v___y_7756_); -lean_dec_ref(v_as_7752_); -return v_res_7761_; +size_t v_sz_boxed_7718_; size_t v_i_boxed_7719_; lean_object* v_res_7720_; +v_sz_boxed_7718_ = lean_unbox_usize(v_sz_7712_); +lean_dec(v_sz_7712_); +v_i_boxed_7719_ = lean_unbox_usize(v_i_7713_); +lean_dec(v_i_7713_); +v_res_7720_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Elab_shareCommonPreDefs_spec__0(v_as_7711_, v_sz_boxed_7718_, v_i_boxed_7719_, v_b_7714_, v___y_7715_, v___y_7716_); +lean_dec(v___y_7716_); +lean_dec_ref(v___y_7715_); +lean_dec_ref(v_as_7711_); +return v_res_7720_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1(lean_object* v_upperBound_7762_, lean_object* v_preDefs_7763_, lean_object* v___x_7764_, lean_object* v_inst_7765_, lean_object* v_R_7766_, lean_object* v_a_7767_, lean_object* v_b_7768_, lean_object* v_c_7769_, lean_object* v___y_7770_, lean_object* v___y_7771_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1(lean_object* v_upperBound_7721_, lean_object* v_preDefs_7722_, lean_object* v___x_7723_, lean_object* v_inst_7724_, lean_object* v_R_7725_, lean_object* v_a_7726_, lean_object* v_b_7727_, lean_object* v_c_7728_, lean_object* v___y_7729_, lean_object* v___y_7730_){ _start: { -lean_object* v___x_7773_; -v___x_7773_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v_upperBound_7762_, v_preDefs_7763_, v___x_7764_, v_a_7767_, v_b_7768_); -return v___x_7773_; +lean_object* v___x_7732_; +v___x_7732_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___redArg(v_upperBound_7721_, v_preDefs_7722_, v___x_7723_, v_a_7726_, v_b_7727_); +return v___x_7732_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___boxed(lean_object* v_upperBound_7774_, lean_object* v_preDefs_7775_, lean_object* v___x_7776_, lean_object* v_inst_7777_, lean_object* v_R_7778_, lean_object* v_a_7779_, lean_object* v_b_7780_, lean_object* v_c_7781_, lean_object* v___y_7782_, lean_object* v___y_7783_, lean_object* v___y_7784_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1___boxed(lean_object* v_upperBound_7733_, lean_object* v_preDefs_7734_, lean_object* v___x_7735_, lean_object* v_inst_7736_, lean_object* v_R_7737_, lean_object* v_a_7738_, lean_object* v_b_7739_, lean_object* v_c_7740_, lean_object* v___y_7741_, lean_object* v___y_7742_, lean_object* v___y_7743_){ _start: { -lean_object* v_res_7785_; -v_res_7785_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1(v_upperBound_7774_, v_preDefs_7775_, v___x_7776_, v_inst_7777_, v_R_7778_, v_a_7779_, v_b_7780_, v_c_7781_, v___y_7782_, v___y_7783_); -lean_dec(v___y_7783_); -lean_dec_ref(v___y_7782_); -lean_dec_ref(v___x_7776_); -lean_dec_ref(v_preDefs_7775_); -lean_dec(v_upperBound_7774_); -return v_res_7785_; +lean_object* v_res_7744_; +v_res_7744_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Elab_shareCommonPreDefs_spec__1(v_upperBound_7733_, v_preDefs_7734_, v___x_7735_, v_inst_7736_, v_R_7737_, v_a_7738_, v_b_7739_, v_c_7740_, v___y_7741_, v___y_7742_); +lean_dec(v___y_7742_); +lean_dec_ref(v___y_7741_); +lean_dec_ref(v___x_7735_); +lean_dec_ref(v_preDefs_7734_); +lean_dec(v_upperBound_7733_); +return v_res_7744_; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5(lean_object* v_00_u03b1_7786_, lean_object* v_x_7787_, lean_object* v___y_7788_, lean_object* v___y_7789_){ +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5(lean_object* v_00_u03b1_7745_, lean_object* v_x_7746_, lean_object* v___y_7747_, lean_object* v___y_7748_){ _start: { -lean_object* v___x_7791_; -v___x_7791_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_x_7787_); -return v___x_7791_; +lean_object* v___x_7750_; +v___x_7750_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___redArg(v_x_7746_); +return v___x_7750_; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___boxed(lean_object* v_00_u03b1_7792_, lean_object* v_x_7793_, lean_object* v___y_7794_, lean_object* v___y_7795_, lean_object* v___y_7796_){ +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5___boxed(lean_object* v_00_u03b1_7751_, lean_object* v_x_7752_, lean_object* v___y_7753_, lean_object* v___y_7754_, lean_object* v___y_7755_){ _start: { -lean_object* v_res_7797_; -v_res_7797_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5(v_00_u03b1_7792_, v_x_7793_, v___y_7794_, v___y_7795_); -lean_dec(v___y_7795_); -lean_dec_ref(v___y_7794_); -return v_res_7797_; +lean_object* v_res_7756_; +v_res_7756_ = l_MonadExcept_ofExcept___at___00__private_Lean_Util_Trace_0__Lean_withTraceNode_postCallback___at___00Lean_Elab_shareCommonPreDefs_spec__4_spec__5(v_00_u03b1_7751_, v_x_7752_, v___y_7753_, v___y_7754_); +lean_dec(v___y_7754_); +lean_dec_ref(v___y_7753_); +return v_res_7756_; } } lean_object* runtime_initialize_Lean_Compiler_NoncomputableAttr(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Elab/Quotation/Precheck.c b/stage0/stdlib/Lean/Elab/Quotation/Precheck.c index d7ed21f30f..b10ba46fb4 100644 --- a/stage0/stdlib/Lean/Elab/Quotation/Precheck.c +++ b/stage0/stdlib/Lean/Elab/Quotation/Precheck.c @@ -87,7 +87,7 @@ extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_MessageData_ofSyntax(lean_object*); lean_object* l_Lean_indentD(lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_init___redArg(lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg(lean_object*, lean_object*, lean_object*); @@ -1118,7 +1118,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn___lam__0_00___x40_Lea _start: { lean_object* v___x_215_; -v___x_215_ = l_Lean_KeyedDeclsAttribute_Def___private__1(v_stx_211_, v___y_212_, v___y_213_); +v___x_215_ = l_Lean_KeyedDeclsAttribute_evalIdentKey(v_stx_211_, v___y_212_, v___y_213_); return v___x_215_; } } diff --git a/stage0/stdlib/Lean/ErrorExplanation.c b/stage0/stdlib/Lean/ErrorExplanation.c index b053a3dc8f..8de5ffc897 100644 --- a/stage0/stdlib/Lean/ErrorExplanation.c +++ b/stage0/stdlib/Lean/ErrorExplanation.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.ErrorExplanation -// Imports: public import Lean.Message public import Lean.EnvExtension public import Lean.DocString.Links +// Imports: public import Lean.Message public import Lean.EnvExtension public import Lean.DocString.Links meta import Lean.Message #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -1924,16 +1924,21 @@ lean_mark_persistent(l_Lean_errorExplanationExt); lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Message(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_ErrorExplanation(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Message(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Message(uint8_t builtin); lean_object* initialize_Lean_EnvExtension(uint8_t builtin); lean_object* initialize_Lean_DocString_Links(uint8_t builtin); +lean_object* initialize_Lean_Message(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_ErrorExplanation(uint8_t builtin) { lean_object * res; @@ -1948,6 +1953,9 @@ lean_dec_ref(res); res = initialize_Lean_DocString_Links(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Message(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_ErrorExplanation(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/KeyedDeclsAttribute.c b/stage0/stdlib/Lean/KeyedDeclsAttribute.c index f8a6276e01..ed07135dca 100644 --- a/stage0/stdlib/Lean/KeyedDeclsAttribute.c +++ b/stage0/stdlib/Lean/KeyedDeclsAttribute.c @@ -13,6 +13,9 @@ #ifdef __cplusplus extern "C" { #endif +lean_object* l_Lean_Name_mkStr1(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); +uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*); lean_object* l_Lean_ScopedEnvExtension_addCore___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); @@ -26,61 +29,51 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* lean_array_fget_borrowed(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -uint8_t lean_usize_dec_lt(size_t, size_t); -lean_object* l_Lean_Environment_header(lean_object*); -extern lean_object* l_Lean_instInhabitedEffectiveImport_default; -lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -lean_object* lean_st_ref_get(lean_object*); -lean_object* l_Lean_instHashableExtraModUse_hash___boxed(lean_object*); -lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*); -lean_object* l_Lean_PersistentHashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Lean_ExtraModUses_0__Lean_extraModUses; -lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*); size_t lean_uint64_to_usize(uint64_t); size_t lean_usize_shift_left(size_t, size_t); size_t lean_usize_sub(size_t, size_t); size_t lean_usize_land(size_t, size_t); lean_object* lean_usize_to_nat(size_t); -uint8_t l_Lean_instBEqExtraModUse_beq(lean_object*, lean_object*); -size_t lean_usize_shift_right(size_t, size_t); -lean_object* l_Lean_Name_mkStr1(lean_object*); -lean_object* l_Lean_Name_append(lean_object*, lean_object*); -uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(lean_object*, lean_object*, lean_object*); -lean_object* lean_mk_empty_array_with_capacity(lean_object*); -double lean_float_of_nat(lean_object*); -lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); -lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* l_Lean_MessageData_ofName(lean_object*); -uint8_t l_Lean_Name_isAnonymous(lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); +size_t lean_usize_shift_right(size_t, size_t); lean_object* l_Lean_PersistentHashMap_isUnaryNode___redArg(lean_object*); lean_object* l_Array_eraseIdx___redArg(lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*); lean_object* l_Lean_Environment_find_x3f(lean_object*, lean_object*, uint8_t); +lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_MessageData_ofConstName(lean_object*, uint8_t); +uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* l_Lean_Environment_setExporting(lean_object*, uint8_t); uint8_t l_Lean_Environment_contains(lean_object*, lean_object*, uint8_t); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l_Lean_MessageData_note(lean_object*); +lean_object* l_Lean_Environment_header(lean_object*); lean_object* l_Lean_EnvironmentHeader_moduleNames(lean_object*); uint8_t l_Lean_isPrivateName(lean_object*); +lean_object* l_Lean_MessageData_ofName(lean_object*); extern lean_object* l_Lean_unknownIdentifierMessageTag; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); +lean_object* l_List_reverse___redArg(lean_object*); +lean_object* l_Lean_mkLevelParam(lean_object*); +lean_object* l_Lean_mkConst(lean_object*, lean_object*); +extern lean_object* l_Lean_LocalContext_empty; +lean_object* l_Lean_PersistentArray_push___redArg(lean_object*, lean_object*); lean_object* l_Lean_mkAtom(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); uint64_t lean_uint64_xor(uint64_t, uint64_t); -lean_object* l_List_reverse___redArg(lean_object*); -lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_mkLevelParam(lean_object*); -lean_object* l_Lean_mkConst(lean_object*, lean_object*); +lean_object* l_Lean_Name_hash___override___boxed(lean_object*); +lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*); +lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___redArg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -94,15 +87,17 @@ lean_object* lean_nat_div(lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedMessageData_default; lean_object* l_Lean_ScopedEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_PersistentHashMap_Node_isEmpty___redArg(lean_object*); +uint8_t l_Lean_instBEqExtraModUse_beq(lean_object*, lean_object*); lean_object* l_Lean_ensureAttrDeclIsMeta(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_decl_get_sorry_dep(lean_object*, lean_object*); uint8_t lean_has_compile_error(lean_object*, lean_object*); lean_object* l_Lean_Environment_evalConstCheck___redArg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_abortCommandExceptionId; -extern lean_object* l_Lean_LocalContext_empty; lean_object* lean_mk_io_user_error(lean_object*); lean_object* l_Lean_ScopedEnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*); +uint64_t l_Lean_instHashableExtraModUse_hash(lean_object*); lean_object* l_Lean_Name_mkStr3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_instBEqExtraModUse_beq___boxed(lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); lean_object* lean_st_mk_ref(lean_object*); lean_object* l_Lean_registerScopedEnvExtensionUnsafe___redArg(lean_object*); @@ -114,207 +109,212 @@ lean_object* l_Lean_declareBuiltin(lean_object*, lean_object*, lean_object*, lea uint8_t l_Lean_instBEqAttributeKind_beq(uint8_t, uint8_t); lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_instHashableExtraModUse_hash___boxed(lean_object*); +lean_object* l_Lean_PersistentHashMap_empty(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l___private_Lean_ExtraModUses_0__Lean_extraModUses; +lean_object* l_Lean_PersistentEnvExtension_addEntry___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_SimplePersistentEnvExtension_getState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +double lean_float_of_nat(lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +extern lean_object* l_Lean_instInhabitedEffectiveImport_default; size_t lean_array_size(lean_object*); -lean_object* l_Lean_Name_hash___override___boxed(lean_object*); -lean_object* l_Lean_Name_beq___boxed(lean_object*, lean_object*); -lean_object* l_Std_HashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_indirectModUseExt; uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); lean_object* l_Lean_Attribute_Builtin_getIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -static const lean_string_object l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "trace"}; -static const lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__0 = (const lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__0_value; -static const lean_ctor_object l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__0_value),LEAN_SCALAR_PTR_LITERAL(212, 145, 141, 177, 67, 149, 127, 197)}}; -static const lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__1 = (const lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__1_value; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0; -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1; -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2; -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3; -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4; -static lean_once_cell_t l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5; -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static double l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0; -static const lean_string_object l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""}; -static const lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1_value; -static const lean_array_object l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; -static const lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__2 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__2_value; -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0; -static lean_once_cell_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1; -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*); -static const lean_closure_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_instBEqExtraModUse_beq___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__0 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__0_value; -static const lean_closure_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_instHashableExtraModUse_hash___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__1 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__1_value; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "extraModUses"}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__6 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__6_value; -static const lean_ctor_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__6_value),LEAN_SCALAR_PTR_LITERAL(27, 95, 70, 98, 97, 66, 56, 109)}}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__7 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__7_value; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = " extra mod use "}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__8 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__8_value; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = " of "}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__10 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__10_value; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "recording "}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__13 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__13_value; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = " "}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__15 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__15_value; -static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "regular"}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__17 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__17_value; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "meta"}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__18 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__18_value; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "private"}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__19 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__19_value; -static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "public"}; -static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__20 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__20_value; -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__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_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg___boxed(lean_object*, lean_object*); -static lean_once_cell_t l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static uint64_t l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0; -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*); -static const lean_closure_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Name_beq___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__0 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__0_value; -static const lean_closure_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Name_hash___override___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__1 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__1_value; -static lean_once_cell_t l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2; -static const lean_array_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; -static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__3 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__3_value; -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0(lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0; -static lean_once_cell_t l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1; -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "A private declaration `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 79, .m_capacity = 79, .m_length = 78, .m_data = "` (from the current module) exists but would need to be public to access here."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = "A public declaration `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 68, .m_capacity = 68, .m_length = 67, .m_data = "` exists but is imported privately; consider adding `public import "}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "`."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "` (from `"}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11; -static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 54, .m_capacity = 54, .m_length = 53, .m_data = "`) exists but would need to be public to access here."}; -static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12_value; -static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13; -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "Unknown constant `"}; -static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0_value; -static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1; -static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "`"}; -static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2_value; -static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3; -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__10(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3(lean_object*, lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_once_cell_t l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0; +static lean_once_cell_t l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1; +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__10(lean_object*, lean_object*); +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 24, .m_capacity = 24, .m_length = 23, .m_data = "A private declaration `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 79, .m_capacity = 79, .m_length = 78, .m_data = "` (from the current module) exists but would need to be public to access here."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 23, .m_capacity = 23, .m_length = 22, .m_data = "A public declaration `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 68, .m_capacity = 68, .m_length = 67, .m_data = "` exists but is imported privately; consider adding `public import "}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 3, .m_capacity = 3, .m_length = 2, .m_data = "`."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__14 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__14_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "` (from `"}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__16 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__16_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17; +static const lean_string_object l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 54, .m_capacity = 54, .m_length = 53, .m_data = "`) exists but would need to be public to access here."}; +static const lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__18 = (const lean_object*)&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__18_value; +static lean_once_cell_t l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19; +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 19, .m_capacity = 19, .m_length = 18, .m_data = "Unknown constant `"}; +static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0_value; +static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1; +static const lean_string_object l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "`"}; +static const lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2 = (const lean_object*)&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2_value; +static lean_once_cell_t l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3; +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*); +static lean_once_cell_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0; +static lean_once_cell_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static size_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1; +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg___boxed(lean_object*, lean_object*); +static lean_once_cell_t l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static double l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0; +static const lean_string_object l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 1, .m_capacity = 1, .m_length = 0, .m_data = ""}; +static const lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1_value; +static const lean_array_object l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; +static const lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__2 = (const lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__2_value; +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 6, .m_capacity = 6, .m_length = 5, .m_data = "trace"}; +static const lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__0 = (const lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__0_value; +static const lean_ctor_object l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__0_value),LEAN_SCALAR_PTR_LITERAL(212, 145, 141, 177, 67, 149, 127, 197)}}; +static const lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__1 = (const lean_object*)&l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__1_value; +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*, lean_object*); +static const lean_closure_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_instBEqExtraModUse_beq___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__0 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__0_value; +static const lean_closure_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_instHashableExtraModUse_hash___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__1 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__1_value; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "extraModUses"}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__6 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__6_value; +static const lean_ctor_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__6_value),LEAN_SCALAR_PTR_LITERAL(27, 95, 70, 98, 97, 66, 56, 109)}}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__7 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__7_value; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 16, .m_capacity = 16, .m_length = 15, .m_data = " extra mod use "}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__8 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__8_value; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = " of "}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__10 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__10_value; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "recording "}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__13 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__13_value; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = " "}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__15 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__15_value; +static lean_once_cell_t l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__17_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "regular"}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__17 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__17_value; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__18_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "meta"}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__18 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__18_value; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "private"}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__19 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__19_value; +static const lean_string_object l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "public"}; +static const lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__20 = (const lean_object*)&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__20_value; +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg___boxed(lean_object*, lean_object*); +static lean_once_cell_t l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static uint64_t l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0; +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_closure_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Name_beq___boxed, .m_arity = 2, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__0 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__0_value; +static const lean_closure_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Name_hash___override___boxed, .m_arity = 1, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__1 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__1_value; +static lean_once_cell_t l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2; +static const lean_array_object l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; +static const lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__3 = (const lean_object*)&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__3_value; +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3(lean_object*, lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_once_cell_t l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0; LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0(uint8_t, lean_object*, lean_object*, lean_object*); @@ -325,7 +325,7 @@ static const lean_closure_object l_Lean_KeyedDeclsAttribute_instInhabitedDef_def static const lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__0 = (const lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__0_value; static const lean_closure_object l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1___boxed, .m_arity = 6, .m_num_fixed = 0, .m_objs = {} }; static const lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__1 = (const lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__1_value; -static const lean_ctor_object l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*6 + 0, .m_other = 6, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1_value),((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__0_value),((lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__1_value)}}; +static const lean_ctor_object l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*6 + 0, .m_other = 6, .m_tag = 0}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1_value),((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__0_value),((lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__1_value)}}; static const lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2 = (const lean_object*)&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2_value; LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default(lean_object*); static lean_once_cell_t l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; @@ -696,333 +696,139 @@ LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg___boxed(l LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg(lean_object* v_cls_4_, lean_object* v___y_5_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg(lean_object* v_t_1_, lean_object* v___y_2_){ _start: { -lean_object* v_options_7_; uint8_t v_hasTrace_8_; -v_options_7_ = lean_ctor_get(v___y_5_, 2); -v_hasTrace_8_ = lean_ctor_get_uint8(v_options_7_, sizeof(void*)*1); -if (v_hasTrace_8_ == 0) +lean_object* v___x_4_; lean_object* v_infoState_5_; uint8_t v_enabled_6_; +v___x_4_ = lean_st_ref_get(v___y_2_); +v_infoState_5_ = lean_ctor_get(v___x_4_, 7); +lean_inc_ref(v_infoState_5_); +lean_dec(v___x_4_); +v_enabled_6_ = lean_ctor_get_uint8(v_infoState_5_, sizeof(void*)*3); +lean_dec_ref(v_infoState_5_); +if (v_enabled_6_ == 0) { -lean_object* v___x_9_; lean_object* v___x_10_; -lean_dec(v_cls_4_); -v___x_9_ = lean_box(v_hasTrace_8_); -v___x_10_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_10_, 0, v___x_9_); -return v___x_10_; +lean_object* v___x_7_; lean_object* v___x_8_; +lean_dec_ref(v_t_1_); +v___x_7_ = lean_box(0); +v___x_8_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_8_, 0, v___x_7_); +return v___x_8_; } else { -lean_object* v_inheritedTraceOptions_11_; lean_object* v___x_12_; lean_object* v___x_13_; uint8_t v___x_14_; lean_object* v___x_15_; lean_object* v___x_16_; -v_inheritedTraceOptions_11_ = lean_ctor_get(v___y_5_, 13); -v___x_12_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___closed__1)); -v___x_13_ = l_Lean_Name_append(v___x_12_, v_cls_4_); -v___x_14_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_11_, v_options_7_, v___x_13_); -lean_dec(v___x_13_); -v___x_15_ = lean_box(v___x_14_); -v___x_16_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16_, 0, v___x_15_); -return v___x_16_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg___boxed(lean_object* v_cls_17_, lean_object* v___y_18_, lean_object* v___y_19_){ -_start: +lean_object* v___x_9_; lean_object* v_infoState_10_; lean_object* v_env_11_; lean_object* v_nextMacroScope_12_; lean_object* v_ngen_13_; lean_object* v_auxDeclNGen_14_; lean_object* v_traceState_15_; lean_object* v_cache_16_; lean_object* v_messages_17_; lean_object* v_snapshotTasks_18_; lean_object* v___x_20_; uint8_t v_isShared_21_; uint8_t v_isSharedCheck_40_; +v___x_9_ = lean_st_ref_take(v___y_2_); +v_infoState_10_ = lean_ctor_get(v___x_9_, 7); +v_env_11_ = lean_ctor_get(v___x_9_, 0); +v_nextMacroScope_12_ = lean_ctor_get(v___x_9_, 1); +v_ngen_13_ = lean_ctor_get(v___x_9_, 2); +v_auxDeclNGen_14_ = lean_ctor_get(v___x_9_, 3); +v_traceState_15_ = lean_ctor_get(v___x_9_, 4); +v_cache_16_ = lean_ctor_get(v___x_9_, 5); +v_messages_17_ = lean_ctor_get(v___x_9_, 6); +v_snapshotTasks_18_ = lean_ctor_get(v___x_9_, 8); +v_isSharedCheck_40_ = !lean_is_exclusive(v___x_9_); +if (v_isSharedCheck_40_ == 0) { -lean_object* v_res_20_; -v_res_20_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg(v_cls_17_, v___y_18_); -lean_dec_ref(v___y_18_); -return v_res_20_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0(void){ -_start: -{ -lean_object* v___x_21_; -v___x_21_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_21_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1(void){ -_start: -{ -lean_object* v___x_22_; lean_object* v___x_23_; -v___x_22_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__0); -v___x_23_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_23_, 0, v___x_22_); -return v___x_23_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2(void){ -_start: -{ -lean_object* v___x_24_; lean_object* v___x_25_; lean_object* v___x_26_; -v___x_24_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1); -v___x_25_ = lean_unsigned_to_nat(0u); -v___x_26_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_26_, 0, v___x_25_); -lean_ctor_set(v___x_26_, 1, v___x_25_); -lean_ctor_set(v___x_26_, 2, v___x_25_); -lean_ctor_set(v___x_26_, 3, v___x_24_); -lean_ctor_set(v___x_26_, 4, v___x_24_); -lean_ctor_set(v___x_26_, 5, v___x_24_); -lean_ctor_set(v___x_26_, 6, v___x_24_); -lean_ctor_set(v___x_26_, 7, v___x_24_); -lean_ctor_set(v___x_26_, 8, v___x_24_); -return v___x_26_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3(void){ -_start: -{ -lean_object* v___x_27_; lean_object* v___x_28_; lean_object* v___x_29_; -v___x_27_ = lean_unsigned_to_nat(32u); -v___x_28_ = lean_mk_empty_array_with_capacity(v___x_27_); -v___x_29_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_29_, 0, v___x_28_); -return v___x_29_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4(void){ -_start: -{ -size_t v___x_30_; lean_object* v___x_31_; lean_object* v___x_32_; lean_object* v___x_33_; lean_object* v___x_34_; lean_object* v___x_35_; -v___x_30_ = ((size_t)5ULL); -v___x_31_ = lean_unsigned_to_nat(0u); -v___x_32_ = lean_unsigned_to_nat(32u); -v___x_33_ = lean_mk_empty_array_with_capacity(v___x_32_); -v___x_34_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__3); -v___x_35_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v___x_35_, 0, v___x_34_); -lean_ctor_set(v___x_35_, 1, v___x_33_); -lean_ctor_set(v___x_35_, 2, v___x_31_); -lean_ctor_set(v___x_35_, 3, v___x_31_); -lean_ctor_set_usize(v___x_35_, 4, v___x_30_); -return v___x_35_; -} -} -static lean_object* _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5(void){ -_start: -{ -lean_object* v___x_36_; lean_object* v___x_37_; lean_object* v___x_38_; lean_object* v___x_39_; -v___x_36_ = lean_box(1); -v___x_37_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__4); -v___x_38_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__1); -v___x_39_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_39_, 0, v___x_38_); -lean_ctor_set(v___x_39_, 1, v___x_37_); -lean_ctor_set(v___x_39_, 2, v___x_36_); -return v___x_39_; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6(lean_object* v_msgData_40_, lean_object* v___y_41_, lean_object* v___y_42_){ -_start: -{ -lean_object* v___x_44_; lean_object* v_env_45_; lean_object* v_options_46_; lean_object* v___x_47_; lean_object* v___x_48_; lean_object* v___x_49_; lean_object* v___x_50_; lean_object* v___x_51_; -v___x_44_ = lean_st_ref_get(v___y_42_); -v_env_45_ = lean_ctor_get(v___x_44_, 0); -lean_inc_ref(v_env_45_); -lean_dec(v___x_44_); -v_options_46_ = lean_ctor_get(v___y_41_, 2); -v___x_47_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2); -v___x_48_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5); -lean_inc_ref(v_options_46_); -v___x_49_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_49_, 0, v_env_45_); -lean_ctor_set(v___x_49_, 1, v___x_47_); -lean_ctor_set(v___x_49_, 2, v___x_48_); -lean_ctor_set(v___x_49_, 3, v_options_46_); -v___x_50_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v___x_50_, 0, v___x_49_); -lean_ctor_set(v___x_50_, 1, v_msgData_40_); -v___x_51_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_51_, 0, v___x_50_); -return v___x_51_; -} -} -LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___boxed(lean_object* v_msgData_52_, lean_object* v___y_53_, lean_object* v___y_54_, lean_object* v___y_55_){ -_start: -{ -lean_object* v_res_56_; -v_res_56_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6(v_msgData_52_, v___y_53_, v___y_54_); -lean_dec(v___y_54_); -lean_dec_ref(v___y_53_); -return v_res_56_; -} -} -static double _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0(void){ -_start: -{ -lean_object* v___x_57_; double v___x_58_; -v___x_57_ = lean_unsigned_to_nat(0u); -v___x_58_ = lean_float_of_nat(v___x_57_); -return v___x_58_; -} -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3(lean_object* v_cls_62_, lean_object* v_msg_63_, lean_object* v___y_64_, lean_object* v___y_65_){ -_start: -{ -lean_object* v_ref_67_; lean_object* v___x_68_; lean_object* v_a_69_; lean_object* v___x_71_; uint8_t v_isShared_72_; uint8_t v_isSharedCheck_113_; -v_ref_67_ = lean_ctor_get(v___y_64_, 5); -v___x_68_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6(v_msg_63_, v___y_64_, v___y_65_); -v_a_69_ = lean_ctor_get(v___x_68_, 0); -v_isSharedCheck_113_ = !lean_is_exclusive(v___x_68_); -if (v_isSharedCheck_113_ == 0) -{ -v___x_71_ = v___x_68_; -v_isShared_72_ = v_isSharedCheck_113_; -goto v_resetjp_70_; +v___x_20_ = v___x_9_; +v_isShared_21_ = v_isSharedCheck_40_; +goto v_resetjp_19_; } else { -lean_inc(v_a_69_); -lean_dec(v___x_68_); -v___x_71_ = lean_box(0); -v_isShared_72_ = v_isSharedCheck_113_; -goto v_resetjp_70_; +lean_inc(v_snapshotTasks_18_); +lean_inc(v_infoState_10_); +lean_inc(v_messages_17_); +lean_inc(v_cache_16_); +lean_inc(v_traceState_15_); +lean_inc(v_auxDeclNGen_14_); +lean_inc(v_ngen_13_); +lean_inc(v_nextMacroScope_12_); +lean_inc(v_env_11_); +lean_dec(v___x_9_); +v___x_20_ = lean_box(0); +v_isShared_21_ = v_isSharedCheck_40_; +goto v_resetjp_19_; } -v_resetjp_70_: +v_resetjp_19_: { -lean_object* v___x_73_; lean_object* v_traceState_74_; lean_object* v_env_75_; lean_object* v_nextMacroScope_76_; lean_object* v_ngen_77_; lean_object* v_auxDeclNGen_78_; lean_object* v_cache_79_; lean_object* v_messages_80_; lean_object* v_infoState_81_; lean_object* v_snapshotTasks_82_; lean_object* v___x_84_; uint8_t v_isShared_85_; uint8_t v_isSharedCheck_112_; -v___x_73_ = lean_st_ref_take(v___y_65_); -v_traceState_74_ = lean_ctor_get(v___x_73_, 4); -v_env_75_ = lean_ctor_get(v___x_73_, 0); -v_nextMacroScope_76_ = lean_ctor_get(v___x_73_, 1); -v_ngen_77_ = lean_ctor_get(v___x_73_, 2); -v_auxDeclNGen_78_ = lean_ctor_get(v___x_73_, 3); -v_cache_79_ = lean_ctor_get(v___x_73_, 5); -v_messages_80_ = lean_ctor_get(v___x_73_, 6); -v_infoState_81_ = lean_ctor_get(v___x_73_, 7); -v_snapshotTasks_82_ = lean_ctor_get(v___x_73_, 8); -v_isSharedCheck_112_ = !lean_is_exclusive(v___x_73_); -if (v_isSharedCheck_112_ == 0) +uint8_t v_enabled_22_; lean_object* v_assignment_23_; lean_object* v_lazyAssignment_24_; lean_object* v_trees_25_; lean_object* v___x_27_; uint8_t v_isShared_28_; uint8_t v_isSharedCheck_39_; +v_enabled_22_ = lean_ctor_get_uint8(v_infoState_10_, sizeof(void*)*3); +v_assignment_23_ = lean_ctor_get(v_infoState_10_, 0); +v_lazyAssignment_24_ = lean_ctor_get(v_infoState_10_, 1); +v_trees_25_ = lean_ctor_get(v_infoState_10_, 2); +v_isSharedCheck_39_ = !lean_is_exclusive(v_infoState_10_); +if (v_isSharedCheck_39_ == 0) { -v___x_84_ = v___x_73_; -v_isShared_85_ = v_isSharedCheck_112_; -goto v_resetjp_83_; +v___x_27_ = v_infoState_10_; +v_isShared_28_ = v_isSharedCheck_39_; +goto v_resetjp_26_; } else { -lean_inc(v_snapshotTasks_82_); -lean_inc(v_infoState_81_); -lean_inc(v_messages_80_); -lean_inc(v_cache_79_); -lean_inc(v_traceState_74_); -lean_inc(v_auxDeclNGen_78_); -lean_inc(v_ngen_77_); -lean_inc(v_nextMacroScope_76_); -lean_inc(v_env_75_); -lean_dec(v___x_73_); -v___x_84_ = lean_box(0); -v_isShared_85_ = v_isSharedCheck_112_; -goto v_resetjp_83_; +lean_inc(v_trees_25_); +lean_inc(v_lazyAssignment_24_); +lean_inc(v_assignment_23_); +lean_dec(v_infoState_10_); +v___x_27_ = lean_box(0); +v_isShared_28_ = v_isSharedCheck_39_; +goto v_resetjp_26_; } -v_resetjp_83_: +v_resetjp_26_: { -uint64_t v_tid_86_; lean_object* v_traces_87_; lean_object* v___x_89_; uint8_t v_isShared_90_; uint8_t v_isSharedCheck_111_; -v_tid_86_ = lean_ctor_get_uint64(v_traceState_74_, sizeof(void*)*1); -v_traces_87_ = lean_ctor_get(v_traceState_74_, 0); -v_isSharedCheck_111_ = !lean_is_exclusive(v_traceState_74_); -if (v_isSharedCheck_111_ == 0) +lean_object* v___x_29_; lean_object* v___x_31_; +v___x_29_ = l_Lean_PersistentArray_push___redArg(v_trees_25_, v_t_1_); +if (v_isShared_28_ == 0) { -v___x_89_ = v_traceState_74_; -v_isShared_90_ = v_isSharedCheck_111_; -goto v_resetjp_88_; +lean_ctor_set(v___x_27_, 2, v___x_29_); +v___x_31_ = v___x_27_; +goto v_reusejp_30_; } else { -lean_inc(v_traces_87_); -lean_dec(v_traceState_74_); -v___x_89_ = lean_box(0); -v_isShared_90_ = v_isSharedCheck_111_; -goto v_resetjp_88_; +lean_object* v_reuseFailAlloc_38_; +v_reuseFailAlloc_38_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v_reuseFailAlloc_38_, 0, v_assignment_23_); +lean_ctor_set(v_reuseFailAlloc_38_, 1, v_lazyAssignment_24_); +lean_ctor_set(v_reuseFailAlloc_38_, 2, v___x_29_); +lean_ctor_set_uint8(v_reuseFailAlloc_38_, sizeof(void*)*3, v_enabled_22_); +v___x_31_ = v_reuseFailAlloc_38_; +goto v_reusejp_30_; } -v_resetjp_88_: +v_reusejp_30_: { -lean_object* v___x_91_; double v___x_92_; uint8_t v___x_93_; lean_object* v___x_94_; lean_object* v___x_95_; lean_object* v___x_96_; lean_object* v___x_97_; lean_object* v___x_98_; lean_object* v___x_99_; lean_object* v___x_101_; -v___x_91_ = lean_box(0); -v___x_92_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0, &l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__0); -v___x_93_ = 0; -v___x_94_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1)); -v___x_95_ = lean_alloc_ctor(0, 3, 17); -lean_ctor_set(v___x_95_, 0, v_cls_62_); -lean_ctor_set(v___x_95_, 1, v___x_91_); -lean_ctor_set(v___x_95_, 2, v___x_94_); -lean_ctor_set_float(v___x_95_, sizeof(void*)*3, v___x_92_); -lean_ctor_set_float(v___x_95_, sizeof(void*)*3 + 8, v___x_92_); -lean_ctor_set_uint8(v___x_95_, sizeof(void*)*3 + 16, v___x_93_); -v___x_96_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__2)); -v___x_97_ = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(v___x_97_, 0, v___x_95_); -lean_ctor_set(v___x_97_, 1, v_a_69_); -lean_ctor_set(v___x_97_, 2, v___x_96_); -lean_inc(v_ref_67_); -v___x_98_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_98_, 0, v_ref_67_); -lean_ctor_set(v___x_98_, 1, v___x_97_); -v___x_99_ = l_Lean_PersistentArray_push___redArg(v_traces_87_, v___x_98_); -if (v_isShared_90_ == 0) +lean_object* v___x_33_; +if (v_isShared_21_ == 0) { -lean_ctor_set(v___x_89_, 0, v___x_99_); -v___x_101_ = v___x_89_; -goto v_reusejp_100_; +lean_ctor_set(v___x_20_, 7, v___x_31_); +v___x_33_ = v___x_20_; +goto v_reusejp_32_; } else { -lean_object* v_reuseFailAlloc_110_; -v_reuseFailAlloc_110_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v_reuseFailAlloc_110_, 0, v___x_99_); -lean_ctor_set_uint64(v_reuseFailAlloc_110_, sizeof(void*)*1, v_tid_86_); -v___x_101_ = v_reuseFailAlloc_110_; -goto v_reusejp_100_; +lean_object* v_reuseFailAlloc_37_; +v_reuseFailAlloc_37_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_37_, 0, v_env_11_); +lean_ctor_set(v_reuseFailAlloc_37_, 1, v_nextMacroScope_12_); +lean_ctor_set(v_reuseFailAlloc_37_, 2, v_ngen_13_); +lean_ctor_set(v_reuseFailAlloc_37_, 3, v_auxDeclNGen_14_); +lean_ctor_set(v_reuseFailAlloc_37_, 4, v_traceState_15_); +lean_ctor_set(v_reuseFailAlloc_37_, 5, v_cache_16_); +lean_ctor_set(v_reuseFailAlloc_37_, 6, v_messages_17_); +lean_ctor_set(v_reuseFailAlloc_37_, 7, v___x_31_); +lean_ctor_set(v_reuseFailAlloc_37_, 8, v_snapshotTasks_18_); +v___x_33_ = v_reuseFailAlloc_37_; +goto v_reusejp_32_; } -v_reusejp_100_: +v_reusejp_32_: { -lean_object* v___x_103_; -if (v_isShared_85_ == 0) -{ -lean_ctor_set(v___x_84_, 4, v___x_101_); -v___x_103_ = v___x_84_; -goto v_reusejp_102_; -} -else -{ -lean_object* v_reuseFailAlloc_109_; -v_reuseFailAlloc_109_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_109_, 0, v_env_75_); -lean_ctor_set(v_reuseFailAlloc_109_, 1, v_nextMacroScope_76_); -lean_ctor_set(v_reuseFailAlloc_109_, 2, v_ngen_77_); -lean_ctor_set(v_reuseFailAlloc_109_, 3, v_auxDeclNGen_78_); -lean_ctor_set(v_reuseFailAlloc_109_, 4, v___x_101_); -lean_ctor_set(v_reuseFailAlloc_109_, 5, v_cache_79_); -lean_ctor_set(v_reuseFailAlloc_109_, 6, v_messages_80_); -lean_ctor_set(v_reuseFailAlloc_109_, 7, v_infoState_81_); -lean_ctor_set(v_reuseFailAlloc_109_, 8, v_snapshotTasks_82_); -v___x_103_ = v_reuseFailAlloc_109_; -goto v_reusejp_102_; -} -v_reusejp_102_: -{ -lean_object* v___x_104_; lean_object* v___x_105_; lean_object* v___x_107_; -v___x_104_ = lean_st_ref_set(v___y_65_, v___x_103_); -v___x_105_ = lean_box(0); -if (v_isShared_72_ == 0) -{ -lean_ctor_set(v___x_71_, 0, v___x_105_); -v___x_107_ = v___x_71_; -goto v_reusejp_106_; -} -else -{ -lean_object* v_reuseFailAlloc_108_; -v_reuseFailAlloc_108_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_108_, 0, v___x_105_); -v___x_107_ = v_reuseFailAlloc_108_; -goto v_reusejp_106_; -} -v_reusejp_106_: -{ -return v___x_107_; +lean_object* v___x_34_; lean_object* v___x_35_; lean_object* v___x_36_; +v___x_34_ = lean_st_ref_set(v___y_2_, v___x_33_); +v___x_35_ = lean_box(0); +v___x_36_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_36_, 0, v___x_35_); +return v___x_36_; } } } @@ -1030,2233 +836,2430 @@ return v___x_107_; } } } -} -LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___boxed(lean_object* v_cls_114_, lean_object* v_msg_115_, lean_object* v___y_116_, lean_object* v___y_117_, lean_object* v___y_118_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg___boxed(lean_object* v_t_41_, lean_object* v___y_42_, lean_object* v___y_43_){ _start: { -lean_object* v_res_119_; -v_res_119_ = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3(v_cls_114_, v_msg_115_, v___y_116_, v___y_117_); -lean_dec(v___y_117_); -lean_dec_ref(v___y_116_); -return v_res_119_; +lean_object* v_res_44_; +v_res_44_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg(v_t_41_, v___y_42_); +lean_dec(v___y_42_); +return v_res_44_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(lean_object* v_keys_120_, lean_object* v_i_121_, lean_object* v_k_122_){ +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0(void){ _start: { -lean_object* v___x_123_; uint8_t v___x_124_; -v___x_123_ = lean_array_get_size(v_keys_120_); -v___x_124_ = lean_nat_dec_lt(v_i_121_, v___x_123_); -if (v___x_124_ == 0) +lean_object* v___x_45_; lean_object* v___x_46_; lean_object* v___x_47_; +v___x_45_ = lean_unsigned_to_nat(32u); +v___x_46_ = lean_mk_empty_array_with_capacity(v___x_45_); +v___x_47_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_47_, 0, v___x_46_); +return v___x_47_; +} +} +static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1(void){ +_start: { -lean_dec(v_i_121_); +size_t v___x_48_; lean_object* v___x_49_; lean_object* v___x_50_; lean_object* v___x_51_; lean_object* v___x_52_; lean_object* v___x_53_; +v___x_48_ = ((size_t)5ULL); +v___x_49_ = lean_unsigned_to_nat(0u); +v___x_50_ = lean_unsigned_to_nat(32u); +v___x_51_ = lean_mk_empty_array_with_capacity(v___x_50_); +v___x_52_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__0); +v___x_53_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v___x_53_, 0, v___x_52_); +lean_ctor_set(v___x_53_, 1, v___x_51_); +lean_ctor_set(v___x_53_, 2, v___x_49_); +lean_ctor_set(v___x_53_, 3, v___x_49_); +lean_ctor_set_usize(v___x_53_, 4, v___x_48_); +return v___x_53_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5(lean_object* v_t_54_, lean_object* v___y_55_, lean_object* v___y_56_){ +_start: +{ +lean_object* v___x_58_; lean_object* v_infoState_59_; uint8_t v_enabled_60_; +v___x_58_ = lean_st_ref_get(v___y_56_); +v_infoState_59_ = lean_ctor_get(v___x_58_, 7); +lean_inc_ref(v_infoState_59_); +lean_dec(v___x_58_); +v_enabled_60_ = lean_ctor_get_uint8(v_infoState_59_, sizeof(void*)*3); +lean_dec_ref(v_infoState_59_); +if (v_enabled_60_ == 0) +{ +lean_object* v___x_61_; lean_object* v___x_62_; +lean_dec_ref(v_t_54_); +v___x_61_ = lean_box(0); +v___x_62_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_62_, 0, v___x_61_); +return v___x_62_; +} +else +{ +lean_object* v___x_63_; lean_object* v___x_64_; lean_object* v___x_65_; +v___x_63_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___closed__1); +v___x_64_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_64_, 0, v_t_54_); +lean_ctor_set(v___x_64_, 1, v___x_63_); +v___x_65_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg(v___x_64_, v___y_56_); +return v___x_65_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5___boxed(lean_object* v_t_66_, lean_object* v___y_67_, lean_object* v___y_68_, lean_object* v___y_69_){ +_start: +{ +lean_object* v_res_70_; +v_res_70_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5(v_t_66_, v___y_67_, v___y_68_); +lean_dec(v___y_68_); +lean_dec_ref(v___y_67_); +return v_res_70_; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__10(lean_object* v_a_71_, lean_object* v_a_72_){ +_start: +{ +if (lean_obj_tag(v_a_71_) == 0) +{ +lean_object* v___x_73_; +v___x_73_ = l_List_reverse___redArg(v_a_72_); +return v___x_73_; +} +else +{ +lean_object* v_head_74_; lean_object* v_tail_75_; lean_object* v___x_77_; uint8_t v_isShared_78_; uint8_t v_isSharedCheck_84_; +v_head_74_ = lean_ctor_get(v_a_71_, 0); +v_tail_75_ = lean_ctor_get(v_a_71_, 1); +v_isSharedCheck_84_ = !lean_is_exclusive(v_a_71_); +if (v_isSharedCheck_84_ == 0) +{ +v___x_77_ = v_a_71_; +v_isShared_78_ = v_isSharedCheck_84_; +goto v_resetjp_76_; +} +else +{ +lean_inc(v_tail_75_); +lean_inc(v_head_74_); +lean_dec(v_a_71_); +v___x_77_ = lean_box(0); +v_isShared_78_ = v_isSharedCheck_84_; +goto v_resetjp_76_; +} +v_resetjp_76_: +{ +lean_object* v___x_79_; lean_object* v___x_81_; +v___x_79_ = l_Lean_mkLevelParam(v_head_74_); +if (v_isShared_78_ == 0) +{ +lean_ctor_set(v___x_77_, 1, v_a_72_); +lean_ctor_set(v___x_77_, 0, v___x_79_); +v___x_81_ = v___x_77_; +goto v_reusejp_80_; +} +else +{ +lean_object* v_reuseFailAlloc_83_; +v_reuseFailAlloc_83_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_83_, 0, v___x_79_); +lean_ctor_set(v_reuseFailAlloc_83_, 1, v_a_72_); +v___x_81_ = v_reuseFailAlloc_83_; +goto v_reusejp_80_; +} +v_reusejp_80_: +{ +v_a_71_ = v_tail_75_; +v_a_72_ = v___x_81_; +goto _start; +} +} +} +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0(void){ +_start: +{ +lean_object* v___x_85_; +v___x_85_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_85_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1(void){ +_start: +{ +lean_object* v___x_86_; lean_object* v___x_87_; +v___x_86_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0); +v___x_87_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_87_, 0, v___x_86_); +return v___x_87_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2(void){ +_start: +{ +lean_object* v___x_88_; lean_object* v___x_89_; lean_object* v___x_90_; +v___x_88_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1); +v___x_89_ = lean_unsigned_to_nat(0u); +v___x_90_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_90_, 0, v___x_89_); +lean_ctor_set(v___x_90_, 1, v___x_89_); +lean_ctor_set(v___x_90_, 2, v___x_89_); +lean_ctor_set(v___x_90_, 3, v___x_88_); +lean_ctor_set(v___x_90_, 4, v___x_88_); +lean_ctor_set(v___x_90_, 5, v___x_88_); +lean_ctor_set(v___x_90_, 6, v___x_88_); +lean_ctor_set(v___x_90_, 7, v___x_88_); +lean_ctor_set(v___x_90_, 8, v___x_88_); +return v___x_90_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3(void){ +_start: +{ +lean_object* v___x_91_; lean_object* v___x_92_; lean_object* v___x_93_; +v___x_91_ = lean_unsigned_to_nat(32u); +v___x_92_ = lean_mk_empty_array_with_capacity(v___x_91_); +v___x_93_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_93_, 0, v___x_92_); +return v___x_93_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4(void){ +_start: +{ +size_t v___x_94_; lean_object* v___x_95_; lean_object* v___x_96_; lean_object* v___x_97_; lean_object* v___x_98_; lean_object* v___x_99_; +v___x_94_ = ((size_t)5ULL); +v___x_95_ = lean_unsigned_to_nat(0u); +v___x_96_ = lean_unsigned_to_nat(32u); +v___x_97_ = lean_mk_empty_array_with_capacity(v___x_96_); +v___x_98_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3); +v___x_99_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); +lean_ctor_set(v___x_99_, 0, v___x_98_); +lean_ctor_set(v___x_99_, 1, v___x_97_); +lean_ctor_set(v___x_99_, 2, v___x_95_); +lean_ctor_set(v___x_99_, 3, v___x_95_); +lean_ctor_set_usize(v___x_99_, 4, v___x_94_); +return v___x_99_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5(void){ +_start: +{ +lean_object* v___x_100_; lean_object* v___x_101_; lean_object* v___x_102_; lean_object* v___x_103_; +v___x_100_ = lean_box(1); +v___x_101_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4); +v___x_102_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1); +v___x_103_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_103_, 0, v___x_102_); +lean_ctor_set(v___x_103_, 1, v___x_101_); +lean_ctor_set(v___x_103_, 2, v___x_100_); +return v___x_103_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7(void){ +_start: +{ +lean_object* v___x_105_; lean_object* v___x_106_; +v___x_105_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6)); +v___x_106_ = l_Lean_stringToMessageData(v___x_105_); +return v___x_106_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9(void){ +_start: +{ +lean_object* v___x_108_; lean_object* v___x_109_; +v___x_108_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8)); +v___x_109_ = l_Lean_stringToMessageData(v___x_108_); +return v___x_109_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11(void){ +_start: +{ +lean_object* v___x_111_; lean_object* v___x_112_; +v___x_111_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10)); +v___x_112_ = l_Lean_stringToMessageData(v___x_111_); +return v___x_112_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13(void){ +_start: +{ +lean_object* v___x_114_; lean_object* v___x_115_; +v___x_114_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12)); +v___x_115_ = l_Lean_stringToMessageData(v___x_114_); +return v___x_115_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15(void){ +_start: +{ +lean_object* v___x_117_; lean_object* v___x_118_; +v___x_117_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__14)); +v___x_118_ = l_Lean_stringToMessageData(v___x_117_); +return v___x_118_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17(void){ +_start: +{ +lean_object* v___x_120_; lean_object* v___x_121_; +v___x_120_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__16)); +v___x_121_ = l_Lean_stringToMessageData(v___x_120_); +return v___x_121_; +} +} +static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19(void){ +_start: +{ +lean_object* v___x_123_; lean_object* v___x_124_; +v___x_123_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__18)); +v___x_124_ = l_Lean_stringToMessageData(v___x_123_); return v___x_124_; } -else +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(lean_object* v_msg_125_, lean_object* v_declHint_126_, lean_object* v___y_127_){ +_start: { -lean_object* v_k_x27_125_; uint8_t v___x_126_; -v_k_x27_125_ = lean_array_fget_borrowed(v_keys_120_, v_i_121_); -v___x_126_ = l_Lean_instBEqExtraModUse_beq(v_k_122_, v_k_x27_125_); -if (v___x_126_ == 0) +lean_object* v___x_129_; lean_object* v_env_130_; uint8_t v___x_131_; +v___x_129_ = lean_st_ref_get(v___y_127_); +v_env_130_ = lean_ctor_get(v___x_129_, 0); +lean_inc_ref(v_env_130_); +lean_dec(v___x_129_); +v___x_131_ = l_Lean_Name_isAnonymous(v_declHint_126_); +if (v___x_131_ == 0) { -lean_object* v___x_127_; lean_object* v___x_128_; -v___x_127_ = lean_unsigned_to_nat(1u); -v___x_128_ = lean_nat_add(v_i_121_, v___x_127_); -lean_dec(v_i_121_); -v_i_121_ = v___x_128_; -goto _start; +uint8_t v_isExporting_132_; +v_isExporting_132_ = lean_ctor_get_uint8(v_env_130_, sizeof(void*)*8); +if (v_isExporting_132_ == 0) +{ +lean_object* v___x_133_; +lean_dec_ref(v_env_130_); +lean_dec(v_declHint_126_); +v___x_133_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_133_, 0, v_msg_125_); +return v___x_133_; } else { -lean_dec(v_i_121_); -return v___x_126_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg___boxed(lean_object* v_keys_130_, lean_object* v_i_131_, lean_object* v_k_132_){ -_start: +lean_object* v___x_134_; uint8_t v___x_135_; +lean_inc_ref(v_env_130_); +v___x_134_ = l_Lean_Environment_setExporting(v_env_130_, v___x_131_); +lean_inc(v_declHint_126_); +lean_inc_ref(v___x_134_); +v___x_135_ = l_Lean_Environment_contains(v___x_134_, v_declHint_126_, v_isExporting_132_); +if (v___x_135_ == 0) { -uint8_t v_res_133_; lean_object* v_r_134_; -v_res_133_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_keys_130_, v_i_131_, v_k_132_); -lean_dec_ref(v_k_132_); -lean_dec_ref(v_keys_130_); -v_r_134_ = lean_box(v_res_133_); -return v_r_134_; +lean_object* v___x_136_; +lean_dec_ref(v___x_134_); +lean_dec_ref(v_env_130_); +lean_dec(v_declHint_126_); +v___x_136_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_136_, 0, v_msg_125_); +return v___x_136_; } -} -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0(void){ -_start: +else { -size_t v___x_135_; size_t v___x_136_; size_t v___x_137_; -v___x_135_ = ((size_t)5ULL); -v___x_136_ = ((size_t)1ULL); -v___x_137_ = lean_usize_shift_left(v___x_136_, v___x_135_); -return v___x_137_; -} -} -static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1(void){ -_start: +lean_object* v___x_137_; lean_object* v___x_138_; lean_object* v___x_139_; lean_object* v___x_140_; lean_object* v___x_141_; lean_object* v_c_142_; lean_object* v___x_143_; +v___x_137_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2); +v___x_138_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5); +v___x_139_ = l_Lean_Options_empty; +v___x_140_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_140_, 0, v___x_134_); +lean_ctor_set(v___x_140_, 1, v___x_137_); +lean_ctor_set(v___x_140_, 2, v___x_138_); +lean_ctor_set(v___x_140_, 3, v___x_139_); +lean_inc(v_declHint_126_); +v___x_141_ = l_Lean_MessageData_ofConstName(v_declHint_126_, v___x_131_); +v_c_142_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_c_142_, 0, v___x_140_); +lean_ctor_set(v_c_142_, 1, v___x_141_); +v___x_143_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_130_, v_declHint_126_); +if (lean_obj_tag(v___x_143_) == 0) { -size_t v___x_138_; size_t v___x_139_; size_t v___x_140_; -v___x_138_ = ((size_t)1ULL); -v___x_139_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__0); -v___x_140_ = lean_usize_sub(v___x_139_, v___x_138_); -return v___x_140_; +lean_object* v___x_144_; lean_object* v___x_145_; lean_object* v___x_146_; lean_object* v___x_147_; lean_object* v___x_148_; lean_object* v___x_149_; lean_object* v___x_150_; +lean_dec_ref(v_env_130_); +lean_dec(v_declHint_126_); +v___x_144_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7); +v___x_145_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_145_, 0, v___x_144_); +lean_ctor_set(v___x_145_, 1, v_c_142_); +v___x_146_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9); +v___x_147_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_147_, 0, v___x_145_); +lean_ctor_set(v___x_147_, 1, v___x_146_); +v___x_148_ = l_Lean_MessageData_note(v___x_147_); +v___x_149_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_149_, 0, v_msg_125_); +lean_ctor_set(v___x_149_, 1, v___x_148_); +v___x_150_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_150_, 0, v___x_149_); +return v___x_150_; } +else +{ +lean_object* v_val_151_; lean_object* v___x_153_; uint8_t v_isShared_154_; uint8_t v_isSharedCheck_186_; +v_val_151_ = lean_ctor_get(v___x_143_, 0); +v_isSharedCheck_186_ = !lean_is_exclusive(v___x_143_); +if (v_isSharedCheck_186_ == 0) +{ +v___x_153_ = v___x_143_; +v_isShared_154_ = v_isSharedCheck_186_; +goto v_resetjp_152_; } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg(lean_object* v_x_141_, size_t v_x_142_, lean_object* v_x_143_){ -_start: +else { -if (lean_obj_tag(v_x_141_) == 0) -{ -lean_object* v_es_144_; lean_object* v___x_145_; size_t v___x_146_; size_t v___x_147_; size_t v___x_148_; lean_object* v_j_149_; lean_object* v___x_150_; -v_es_144_ = lean_ctor_get(v_x_141_, 0); -lean_inc_ref(v_es_144_); -lean_dec_ref(v_x_141_); -v___x_145_ = lean_box(2); -v___x_146_ = ((size_t)5ULL); -v___x_147_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); -v___x_148_ = lean_usize_land(v_x_142_, v___x_147_); -v_j_149_ = lean_usize_to_nat(v___x_148_); -v___x_150_ = lean_array_get(v___x_145_, v_es_144_, v_j_149_); -lean_dec(v_j_149_); -lean_dec_ref(v_es_144_); -switch(lean_obj_tag(v___x_150_)) -{ -case 0: -{ -lean_object* v_key_151_; uint8_t v___x_152_; -v_key_151_ = lean_ctor_get(v___x_150_, 0); -lean_inc(v_key_151_); -lean_dec_ref(v___x_150_); -v___x_152_ = l_Lean_instBEqExtraModUse_beq(v_x_143_, v_key_151_); -lean_dec(v_key_151_); -return v___x_152_; +lean_inc(v_val_151_); +lean_dec(v___x_143_); +v___x_153_ = lean_box(0); +v_isShared_154_ = v_isSharedCheck_186_; +goto v_resetjp_152_; } -case 1: +v_resetjp_152_: { -lean_object* v_node_153_; size_t v___x_154_; -v_node_153_ = lean_ctor_get(v___x_150_, 0); -lean_inc(v_node_153_); -lean_dec_ref(v___x_150_); -v___x_154_ = lean_usize_shift_right(v_x_142_, v___x_146_); -v_x_141_ = v_node_153_; -v_x_142_ = v___x_154_; -goto _start; -} -default: +lean_object* v___x_155_; lean_object* v___x_156_; lean_object* v___x_157_; lean_object* v_mod_158_; uint8_t v___x_159_; +v___x_155_ = lean_box(0); +v___x_156_ = l_Lean_Environment_header(v_env_130_); +lean_dec_ref(v_env_130_); +v___x_157_ = l_Lean_EnvironmentHeader_moduleNames(v___x_156_); +v_mod_158_ = lean_array_get(v___x_155_, v___x_157_, v_val_151_); +lean_dec(v_val_151_); +lean_dec_ref(v___x_157_); +v___x_159_ = l_Lean_isPrivateName(v_declHint_126_); +lean_dec(v_declHint_126_); +if (v___x_159_ == 0) { -uint8_t v___x_156_; -v___x_156_ = 0; -return v___x_156_; +lean_object* v___x_160_; lean_object* v___x_161_; lean_object* v___x_162_; lean_object* v___x_163_; lean_object* v___x_164_; lean_object* v___x_165_; lean_object* v___x_166_; lean_object* v___x_167_; lean_object* v___x_168_; lean_object* v___x_169_; lean_object* v___x_171_; +v___x_160_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11); +v___x_161_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_161_, 0, v___x_160_); +lean_ctor_set(v___x_161_, 1, v_c_142_); +v___x_162_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13); +v___x_163_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_163_, 0, v___x_161_); +lean_ctor_set(v___x_163_, 1, v___x_162_); +v___x_164_ = l_Lean_MessageData_ofName(v_mod_158_); +v___x_165_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_165_, 0, v___x_163_); +lean_ctor_set(v___x_165_, 1, v___x_164_); +v___x_166_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__15); +v___x_167_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_167_, 0, v___x_165_); +lean_ctor_set(v___x_167_, 1, v___x_166_); +v___x_168_ = l_Lean_MessageData_note(v___x_167_); +v___x_169_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_169_, 0, v_msg_125_); +lean_ctor_set(v___x_169_, 1, v___x_168_); +if (v_isShared_154_ == 0) +{ +lean_ctor_set_tag(v___x_153_, 0); +lean_ctor_set(v___x_153_, 0, v___x_169_); +v___x_171_ = v___x_153_; +goto v_reusejp_170_; } +else +{ +lean_object* v_reuseFailAlloc_172_; +v_reuseFailAlloc_172_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_172_, 0, v___x_169_); +v___x_171_ = v_reuseFailAlloc_172_; +goto v_reusejp_170_; +} +v_reusejp_170_: +{ +return v___x_171_; } } else { -lean_object* v_ks_157_; lean_object* v___x_158_; uint8_t v___x_159_; -v_ks_157_ = lean_ctor_get(v_x_141_, 0); -lean_inc_ref(v_ks_157_); -lean_dec_ref(v_x_141_); -v___x_158_ = lean_unsigned_to_nat(0u); -v___x_159_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_ks_157_, v___x_158_, v_x_143_); -lean_dec_ref(v_ks_157_); -return v___x_159_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object* v_x_160_, lean_object* v_x_161_, lean_object* v_x_162_){ -_start: +lean_object* v___x_173_; lean_object* v___x_174_; lean_object* v___x_175_; lean_object* v___x_176_; lean_object* v___x_177_; lean_object* v___x_178_; lean_object* v___x_179_; lean_object* v___x_180_; lean_object* v___x_181_; lean_object* v___x_182_; lean_object* v___x_184_; +v___x_173_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7); +v___x_174_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_174_, 0, v___x_173_); +lean_ctor_set(v___x_174_, 1, v_c_142_); +v___x_175_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__17); +v___x_176_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_176_, 0, v___x_174_); +lean_ctor_set(v___x_176_, 1, v___x_175_); +v___x_177_ = l_Lean_MessageData_ofName(v_mod_158_); +v___x_178_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_178_, 0, v___x_176_); +lean_ctor_set(v___x_178_, 1, v___x_177_); +v___x_179_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__19); +v___x_180_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_180_, 0, v___x_178_); +lean_ctor_set(v___x_180_, 1, v___x_179_); +v___x_181_ = l_Lean_MessageData_note(v___x_180_); +v___x_182_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_182_, 0, v_msg_125_); +lean_ctor_set(v___x_182_, 1, v___x_181_); +if (v_isShared_154_ == 0) { -size_t v_x_6992__boxed_163_; uint8_t v_res_164_; lean_object* v_r_165_; -v_x_6992__boxed_163_ = lean_unbox_usize(v_x_161_); -lean_dec(v_x_161_); -v_res_164_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg(v_x_160_, v_x_6992__boxed_163_, v_x_162_); -lean_dec_ref(v_x_162_); -v_r_165_ = lean_box(v_res_164_); -return v_r_165_; +lean_ctor_set_tag(v___x_153_, 0); +lean_ctor_set(v___x_153_, 0, v___x_182_); +v___x_184_ = v___x_153_; +goto v_reusejp_183_; } -} -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg(lean_object* v_x_166_, lean_object* v_x_167_){ -_start: +else { -uint64_t v___x_168_; size_t v___x_169_; uint8_t v___x_170_; -v___x_168_ = l_Lean_instHashableExtraModUse_hash(v_x_167_); -v___x_169_ = lean_uint64_to_usize(v___x_168_); -v___x_170_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg(v_x_166_, v___x_169_, v_x_167_); -return v___x_170_; +lean_object* v_reuseFailAlloc_185_; +v_reuseFailAlloc_185_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_185_, 0, v___x_182_); +v___x_184_ = v_reuseFailAlloc_185_; +goto v_reusejp_183_; } -} -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_x_171_, lean_object* v_x_172_){ -_start: +v_reusejp_183_: { -uint8_t v_res_173_; lean_object* v_r_174_; -v_res_173_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg(v_x_171_, v_x_172_); -lean_dec_ref(v_x_172_); -v_r_174_ = lean_box(v_res_173_); -return v_r_174_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2(void){ -_start: -{ -lean_object* v___x_177_; lean_object* v___x_178_; lean_object* v___x_179_; -v___x_177_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__1)); -v___x_178_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__0)); -v___x_179_ = l_Lean_PersistentHashMap_empty(lean_box(0), lean_box(0), v___x_178_, v___x_177_); -return v___x_179_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3(void){ -_start: -{ -lean_object* v___x_180_; -v___x_180_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_180_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4(void){ -_start: -{ -lean_object* v___x_181_; lean_object* v___x_182_; -v___x_181_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__3); -v___x_182_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_182_, 0, v___x_181_); -return v___x_182_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5(void){ -_start: -{ -lean_object* v___x_183_; lean_object* v___x_184_; -v___x_183_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__4); -v___x_184_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_184_, 0, v___x_183_); -lean_ctor_set(v___x_184_, 1, v___x_183_); return v___x_184_; } } -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9(void){ -_start: -{ -lean_object* v___x_189_; lean_object* v___x_190_; -v___x_189_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__8)); -v___x_190_ = l_Lean_stringToMessageData(v___x_189_); -return v___x_190_; } } -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11(void){ -_start: -{ -lean_object* v___x_192_; lean_object* v___x_193_; -v___x_192_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__10)); -v___x_193_ = l_Lean_stringToMessageData(v___x_192_); -return v___x_193_; } } -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12(void){ -_start: -{ -lean_object* v___x_194_; lean_object* v___x_195_; -v___x_194_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3___closed__1)); -v___x_195_ = l_Lean_stringToMessageData(v___x_194_); -return v___x_195_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14(void){ -_start: -{ -lean_object* v___x_197_; lean_object* v___x_198_; -v___x_197_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__13)); -v___x_198_ = l_Lean_stringToMessageData(v___x_197_); -return v___x_198_; -} -} -static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16(void){ -_start: -{ -lean_object* v___x_200_; lean_object* v___x_201_; -v___x_200_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__15)); -v___x_201_ = l_Lean_stringToMessageData(v___x_200_); -return v___x_201_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0(lean_object* v_mod_206_, uint8_t v_isMeta_207_, lean_object* v_hint_208_, lean_object* v___y_209_, lean_object* v___y_210_){ -_start: -{ -lean_object* v___x_212_; lean_object* v_env_213_; uint8_t v_isExporting_214_; lean_object* v___x_215_; lean_object* v_env_216_; lean_object* v___x_217_; lean_object* v_entry_218_; lean_object* v___x_219_; lean_object* v___x_220_; lean_object* v___x_221_; lean_object* v___y_223_; lean_object* v___x_248_; uint8_t v___x_249_; -v___x_212_ = lean_st_ref_get(v___y_210_); -v_env_213_ = lean_ctor_get(v___x_212_, 0); -lean_inc_ref(v_env_213_); -lean_dec(v___x_212_); -v_isExporting_214_ = lean_ctor_get_uint8(v_env_213_, sizeof(void*)*8); -lean_dec_ref(v_env_213_); -v___x_215_ = lean_st_ref_get(v___y_210_); -v_env_216_ = lean_ctor_get(v___x_215_, 0); -lean_inc_ref(v_env_216_); -lean_dec(v___x_215_); -v___x_217_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__2); -lean_inc(v_mod_206_); -v_entry_218_ = lean_alloc_ctor(0, 1, 2); -lean_ctor_set(v_entry_218_, 0, v_mod_206_); -lean_ctor_set_uint8(v_entry_218_, sizeof(void*)*1, v_isExporting_214_); -lean_ctor_set_uint8(v_entry_218_, sizeof(void*)*1 + 1, v_isMeta_207_); -v___x_219_ = l___private_Lean_ExtraModUses_0__Lean_extraModUses; -v___x_220_ = lean_box(1); -v___x_221_ = lean_box(0); -v___x_248_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_217_, v___x_219_, v_env_216_, v___x_220_, v___x_221_); -v___x_249_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg(v___x_248_, v_entry_218_); -if (v___x_249_ == 0) -{ -lean_object* v_cls_250_; lean_object* v___x_251_; lean_object* v_a_252_; lean_object* v___y_254_; lean_object* v___y_255_; lean_object* v___y_259_; lean_object* v___y_260_; uint8_t v___x_272_; -v_cls_250_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__7)); -v___x_251_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg(v_cls_250_, v___y_209_); -v_a_252_ = lean_ctor_get(v___x_251_, 0); -lean_inc(v_a_252_); -lean_dec_ref(v___x_251_); -v___x_272_ = lean_unbox(v_a_252_); -lean_dec(v_a_252_); -if (v___x_272_ == 0) -{ -lean_dec(v_hint_208_); -lean_dec(v_mod_206_); -v___y_223_ = v___y_210_; -goto v___jp_222_; } else { -lean_object* v___x_273_; lean_object* v___y_275_; -v___x_273_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__14); -if (v_isExporting_214_ == 0) +lean_object* v___x_187_; +lean_dec_ref(v_env_130_); +lean_dec(v_declHint_126_); +v___x_187_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_187_, 0, v_msg_125_); +return v___x_187_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___boxed(lean_object* v_msg_188_, lean_object* v_declHint_189_, lean_object* v___y_190_, lean_object* v___y_191_){ +_start: { -lean_object* v___x_282_; -v___x_282_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__19)); -v___y_275_ = v___x_282_; -goto v___jp_274_; +lean_object* v_res_192_; +v_res_192_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_188_, v_declHint_189_, v___y_190_); +lean_dec(v___y_190_); +return v_res_192_; +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(lean_object* v_msg_193_, lean_object* v_declHint_194_, lean_object* v___y_195_, lean_object* v___y_196_){ +_start: +{ +lean_object* v___x_198_; lean_object* v_a_199_; lean_object* v___x_201_; uint8_t v_isShared_202_; uint8_t v_isSharedCheck_208_; +v___x_198_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_193_, v_declHint_194_, v___y_196_); +v_a_199_ = lean_ctor_get(v___x_198_, 0); +v_isSharedCheck_208_ = !lean_is_exclusive(v___x_198_); +if (v_isSharedCheck_208_ == 0) +{ +v___x_201_ = v___x_198_; +v_isShared_202_ = v_isSharedCheck_208_; +goto v_resetjp_200_; } else { -lean_object* v___x_283_; -v___x_283_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__20)); -v___y_275_ = v___x_283_; -goto v___jp_274_; +lean_inc(v_a_199_); +lean_dec(v___x_198_); +v___x_201_ = lean_box(0); +v_isShared_202_ = v_isSharedCheck_208_; +goto v_resetjp_200_; } -v___jp_274_: +v_resetjp_200_: { -lean_object* v___x_276_; lean_object* v___x_277_; lean_object* v___x_278_; lean_object* v___x_279_; -v___x_276_ = l_Lean_stringToMessageData(v___y_275_); -v___x_277_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_277_, 0, v___x_273_); -lean_ctor_set(v___x_277_, 1, v___x_276_); -v___x_278_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__16); -v___x_279_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_279_, 0, v___x_277_); -lean_ctor_set(v___x_279_, 1, v___x_278_); -if (v_isMeta_207_ == 0) +lean_object* v___x_203_; lean_object* v___x_204_; lean_object* v___x_206_; +v___x_203_ = l_Lean_unknownIdentifierMessageTag; +v___x_204_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_204_, 0, v___x_203_); +lean_ctor_set(v___x_204_, 1, v_a_199_); +if (v_isShared_202_ == 0) { -lean_object* v___x_280_; -v___x_280_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__17)); -v___y_259_ = v___x_279_; -v___y_260_ = v___x_280_; -goto v___jp_258_; +lean_ctor_set(v___x_201_, 0, v___x_204_); +v___x_206_ = v___x_201_; +goto v_reusejp_205_; } else { +lean_object* v_reuseFailAlloc_207_; +v_reuseFailAlloc_207_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_207_, 0, v___x_204_); +v___x_206_ = v_reuseFailAlloc_207_; +goto v_reusejp_205_; +} +v_reusejp_205_: +{ +return v___x_206_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19___boxed(lean_object* v_msg_209_, lean_object* v_declHint_210_, lean_object* v___y_211_, lean_object* v___y_212_, lean_object* v___y_213_){ +_start: +{ +lean_object* v_res_214_; +v_res_214_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(v_msg_209_, v_declHint_210_, v___y_211_, v___y_212_); +lean_dec(v___y_212_); +lean_dec_ref(v___y_211_); +return v_res_214_; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6(lean_object* v_msgData_215_, lean_object* v___y_216_, lean_object* v___y_217_){ +_start: +{ +lean_object* v___x_219_; lean_object* v_env_220_; lean_object* v_options_221_; lean_object* v___x_222_; lean_object* v___x_223_; lean_object* v___x_224_; lean_object* v___x_225_; lean_object* v___x_226_; lean_object* v___x_227_; lean_object* v___x_228_; +v___x_219_ = lean_st_ref_get(v___y_217_); +v_env_220_ = lean_ctor_get(v___x_219_, 0); +lean_inc_ref(v_env_220_); +lean_dec(v___x_219_); +v_options_221_ = lean_ctor_get(v___y_216_, 2); +v___x_222_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2); +v___x_223_ = lean_unsigned_to_nat(32u); +v___x_224_ = lean_mk_empty_array_with_capacity(v___x_223_); +lean_dec_ref(v___x_224_); +v___x_225_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5); +lean_inc_ref(v_options_221_); +v___x_226_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_226_, 0, v_env_220_); +lean_ctor_set(v___x_226_, 1, v___x_222_); +lean_ctor_set(v___x_226_, 2, v___x_225_); +lean_ctor_set(v___x_226_, 3, v_options_221_); +v___x_227_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v___x_227_, 0, v___x_226_); +lean_ctor_set(v___x_227_, 1, v_msgData_215_); +v___x_228_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_228_, 0, v___x_227_); +return v___x_228_; +} +} +LEAN_EXPORT lean_object* l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6___boxed(lean_object* v_msgData_229_, lean_object* v___y_230_, lean_object* v___y_231_, lean_object* v___y_232_){ +_start: +{ +lean_object* v_res_233_; +v_res_233_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6(v_msgData_229_, v___y_230_, v___y_231_); +lean_dec(v___y_231_); +lean_dec_ref(v___y_230_); +return v_res_233_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(lean_object* v_msg_234_, lean_object* v___y_235_, lean_object* v___y_236_){ +_start: +{ +lean_object* v_ref_238_; lean_object* v___x_239_; lean_object* v_a_240_; lean_object* v___x_242_; uint8_t v_isShared_243_; uint8_t v_isSharedCheck_248_; +v_ref_238_ = lean_ctor_get(v___y_235_, 5); +v___x_239_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6(v_msg_234_, v___y_235_, v___y_236_); +v_a_240_ = lean_ctor_get(v___x_239_, 0); +v_isSharedCheck_248_ = !lean_is_exclusive(v___x_239_); +if (v_isSharedCheck_248_ == 0) +{ +v___x_242_ = v___x_239_; +v_isShared_243_ = v_isSharedCheck_248_; +goto v_resetjp_241_; +} +else +{ +lean_inc(v_a_240_); +lean_dec(v___x_239_); +v___x_242_ = lean_box(0); +v_isShared_243_ = v_isSharedCheck_248_; +goto v_resetjp_241_; +} +v_resetjp_241_: +{ +lean_object* v___x_244_; lean_object* v___x_246_; +lean_inc(v_ref_238_); +v___x_244_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_244_, 0, v_ref_238_); +lean_ctor_set(v___x_244_, 1, v_a_240_); +if (v_isShared_243_ == 0) +{ +lean_ctor_set_tag(v___x_242_, 1); +lean_ctor_set(v___x_242_, 0, v___x_244_); +v___x_246_ = v___x_242_; +goto v_reusejp_245_; +} +else +{ +lean_object* v_reuseFailAlloc_247_; +v_reuseFailAlloc_247_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_247_, 0, v___x_244_); +v___x_246_ = v_reuseFailAlloc_247_; +goto v_reusejp_245_; +} +v_reusejp_245_: +{ +return v___x_246_; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg___boxed(lean_object* v_msg_249_, lean_object* v___y_250_, lean_object* v___y_251_, lean_object* v___y_252_){ +_start: +{ +lean_object* v_res_253_; +v_res_253_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_249_, v___y_250_, v___y_251_); +lean_dec(v___y_251_); +lean_dec_ref(v___y_250_); +return v_res_253_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(lean_object* v_ref_254_, lean_object* v_msg_255_, lean_object* v___y_256_, lean_object* v___y_257_){ +_start: +{ +lean_object* v_fileName_259_; lean_object* v_fileMap_260_; lean_object* v_options_261_; lean_object* v_currRecDepth_262_; lean_object* v_maxRecDepth_263_; lean_object* v_ref_264_; lean_object* v_currNamespace_265_; lean_object* v_openDecls_266_; lean_object* v_initHeartbeats_267_; lean_object* v_maxHeartbeats_268_; lean_object* v_quotContext_269_; lean_object* v_currMacroScope_270_; uint8_t v_diag_271_; lean_object* v_cancelTk_x3f_272_; uint8_t v_suppressElabErrors_273_; lean_object* v_inheritedTraceOptions_274_; lean_object* v___x_276_; uint8_t v_isShared_277_; uint8_t v_isSharedCheck_283_; +v_fileName_259_ = lean_ctor_get(v___y_256_, 0); +v_fileMap_260_ = lean_ctor_get(v___y_256_, 1); +v_options_261_ = lean_ctor_get(v___y_256_, 2); +v_currRecDepth_262_ = lean_ctor_get(v___y_256_, 3); +v_maxRecDepth_263_ = lean_ctor_get(v___y_256_, 4); +v_ref_264_ = lean_ctor_get(v___y_256_, 5); +v_currNamespace_265_ = lean_ctor_get(v___y_256_, 6); +v_openDecls_266_ = lean_ctor_get(v___y_256_, 7); +v_initHeartbeats_267_ = lean_ctor_get(v___y_256_, 8); +v_maxHeartbeats_268_ = lean_ctor_get(v___y_256_, 9); +v_quotContext_269_ = lean_ctor_get(v___y_256_, 10); +v_currMacroScope_270_ = lean_ctor_get(v___y_256_, 11); +v_diag_271_ = lean_ctor_get_uint8(v___y_256_, sizeof(void*)*14); +v_cancelTk_x3f_272_ = lean_ctor_get(v___y_256_, 12); +v_suppressElabErrors_273_ = lean_ctor_get_uint8(v___y_256_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_274_ = lean_ctor_get(v___y_256_, 13); +v_isSharedCheck_283_ = !lean_is_exclusive(v___y_256_); +if (v_isSharedCheck_283_ == 0) +{ +v___x_276_ = v___y_256_; +v_isShared_277_ = v_isSharedCheck_283_; +goto v_resetjp_275_; +} +else +{ +lean_inc(v_inheritedTraceOptions_274_); +lean_inc(v_cancelTk_x3f_272_); +lean_inc(v_currMacroScope_270_); +lean_inc(v_quotContext_269_); +lean_inc(v_maxHeartbeats_268_); +lean_inc(v_initHeartbeats_267_); +lean_inc(v_openDecls_266_); +lean_inc(v_currNamespace_265_); +lean_inc(v_ref_264_); +lean_inc(v_maxRecDepth_263_); +lean_inc(v_currRecDepth_262_); +lean_inc(v_options_261_); +lean_inc(v_fileMap_260_); +lean_inc(v_fileName_259_); +lean_dec(v___y_256_); +v___x_276_ = lean_box(0); +v_isShared_277_ = v_isSharedCheck_283_; +goto v_resetjp_275_; +} +v_resetjp_275_: +{ +lean_object* v_ref_278_; lean_object* v___x_280_; +v_ref_278_ = l_Lean_replaceRef(v_ref_254_, v_ref_264_); +lean_dec(v_ref_264_); +if (v_isShared_277_ == 0) +{ +lean_ctor_set(v___x_276_, 5, v_ref_278_); +v___x_280_ = v___x_276_; +goto v_reusejp_279_; +} +else +{ +lean_object* v_reuseFailAlloc_282_; +v_reuseFailAlloc_282_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_282_, 0, v_fileName_259_); +lean_ctor_set(v_reuseFailAlloc_282_, 1, v_fileMap_260_); +lean_ctor_set(v_reuseFailAlloc_282_, 2, v_options_261_); +lean_ctor_set(v_reuseFailAlloc_282_, 3, v_currRecDepth_262_); +lean_ctor_set(v_reuseFailAlloc_282_, 4, v_maxRecDepth_263_); +lean_ctor_set(v_reuseFailAlloc_282_, 5, v_ref_278_); +lean_ctor_set(v_reuseFailAlloc_282_, 6, v_currNamespace_265_); +lean_ctor_set(v_reuseFailAlloc_282_, 7, v_openDecls_266_); +lean_ctor_set(v_reuseFailAlloc_282_, 8, v_initHeartbeats_267_); +lean_ctor_set(v_reuseFailAlloc_282_, 9, v_maxHeartbeats_268_); +lean_ctor_set(v_reuseFailAlloc_282_, 10, v_quotContext_269_); +lean_ctor_set(v_reuseFailAlloc_282_, 11, v_currMacroScope_270_); +lean_ctor_set(v_reuseFailAlloc_282_, 12, v_cancelTk_x3f_272_); +lean_ctor_set(v_reuseFailAlloc_282_, 13, v_inheritedTraceOptions_274_); +lean_ctor_set_uint8(v_reuseFailAlloc_282_, sizeof(void*)*14, v_diag_271_); +lean_ctor_set_uint8(v_reuseFailAlloc_282_, sizeof(void*)*14 + 1, v_suppressElabErrors_273_); +v___x_280_ = v_reuseFailAlloc_282_; +goto v_reusejp_279_; +} +v_reusejp_279_: +{ lean_object* v___x_281_; -v___x_281_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__18)); -v___y_259_ = v___x_279_; -v___y_260_ = v___x_281_; -goto v___jp_258_; -} -} -} -v___jp_253_: -{ -lean_object* v___x_256_; lean_object* v___x_257_; -v___x_256_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_256_, 0, v___y_254_); -lean_ctor_set(v___x_256_, 1, v___y_255_); -v___x_257_ = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3(v_cls_250_, v___x_256_, v___y_209_, v___y_210_); -if (lean_obj_tag(v___x_257_) == 0) -{ -lean_dec_ref(v___x_257_); -v___y_223_ = v___y_210_; -goto v___jp_222_; -} -else -{ -lean_dec_ref(v_entry_218_); -return v___x_257_; -} -} -v___jp_258_: -{ -lean_object* v___x_261_; lean_object* v___x_262_; lean_object* v___x_263_; lean_object* v___x_264_; lean_object* v___x_265_; lean_object* v___x_266_; uint8_t v___x_267_; -v___x_261_ = l_Lean_stringToMessageData(v___y_260_); -v___x_262_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_262_, 0, v___y_259_); -lean_ctor_set(v___x_262_, 1, v___x_261_); -v___x_263_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__9); -v___x_264_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_264_, 0, v___x_262_); -lean_ctor_set(v___x_264_, 1, v___x_263_); -v___x_265_ = l_Lean_MessageData_ofName(v_mod_206_); -v___x_266_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_266_, 0, v___x_264_); -lean_ctor_set(v___x_266_, 1, v___x_265_); -v___x_267_ = l_Lean_Name_isAnonymous(v_hint_208_); -if (v___x_267_ == 0) -{ -lean_object* v___x_268_; lean_object* v___x_269_; lean_object* v___x_270_; -v___x_268_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__11); -v___x_269_ = l_Lean_MessageData_ofName(v_hint_208_); -v___x_270_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_270_, 0, v___x_268_); -lean_ctor_set(v___x_270_, 1, v___x_269_); -v___y_254_ = v___x_266_; -v___y_255_ = v___x_270_; -goto v___jp_253_; -} -else -{ -lean_object* v___x_271_; -lean_dec(v_hint_208_); -v___x_271_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__12); -v___y_254_ = v___x_266_; -v___y_255_ = v___x_271_; -goto v___jp_253_; -} -} -} -else -{ -lean_object* v___x_284_; lean_object* v___x_285_; -lean_dec_ref(v_entry_218_); -lean_dec(v_hint_208_); -lean_dec(v_mod_206_); -v___x_284_ = lean_box(0); -v___x_285_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_285_, 0, v___x_284_); -return v___x_285_; -} -v___jp_222_: -{ -lean_object* v___x_224_; lean_object* v_toEnvExtension_225_; lean_object* v_env_226_; lean_object* v_nextMacroScope_227_; lean_object* v_ngen_228_; lean_object* v_auxDeclNGen_229_; lean_object* v_traceState_230_; lean_object* v_messages_231_; lean_object* v_infoState_232_; lean_object* v_snapshotTasks_233_; lean_object* v___x_235_; uint8_t v_isShared_236_; uint8_t v_isSharedCheck_246_; -v___x_224_ = lean_st_ref_take(v___y_223_); -v_toEnvExtension_225_ = lean_ctor_get(v___x_219_, 0); -lean_inc_ref(v_toEnvExtension_225_); -v_env_226_ = lean_ctor_get(v___x_224_, 0); -v_nextMacroScope_227_ = lean_ctor_get(v___x_224_, 1); -v_ngen_228_ = lean_ctor_get(v___x_224_, 2); -v_auxDeclNGen_229_ = lean_ctor_get(v___x_224_, 3); -v_traceState_230_ = lean_ctor_get(v___x_224_, 4); -v_messages_231_ = lean_ctor_get(v___x_224_, 6); -v_infoState_232_ = lean_ctor_get(v___x_224_, 7); -v_snapshotTasks_233_ = lean_ctor_get(v___x_224_, 8); -v_isSharedCheck_246_ = !lean_is_exclusive(v___x_224_); -if (v_isSharedCheck_246_ == 0) -{ -lean_object* v_unused_247_; -v_unused_247_ = lean_ctor_get(v___x_224_, 5); -lean_dec(v_unused_247_); -v___x_235_ = v___x_224_; -v_isShared_236_ = v_isSharedCheck_246_; -goto v_resetjp_234_; -} -else -{ -lean_inc(v_snapshotTasks_233_); -lean_inc(v_infoState_232_); -lean_inc(v_messages_231_); -lean_inc(v_traceState_230_); -lean_inc(v_auxDeclNGen_229_); -lean_inc(v_ngen_228_); -lean_inc(v_nextMacroScope_227_); -lean_inc(v_env_226_); -lean_dec(v___x_224_); -v___x_235_ = lean_box(0); -v_isShared_236_ = v_isSharedCheck_246_; -goto v_resetjp_234_; -} -v_resetjp_234_: -{ -lean_object* v_asyncMode_237_; lean_object* v___x_238_; lean_object* v___x_239_; lean_object* v___x_241_; -v_asyncMode_237_ = lean_ctor_get(v_toEnvExtension_225_, 2); -lean_inc(v_asyncMode_237_); -lean_dec_ref(v_toEnvExtension_225_); -v___x_238_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_219_, v_env_226_, v_entry_218_, v_asyncMode_237_, v___x_221_); -lean_dec(v_asyncMode_237_); -v___x_239_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5); -if (v_isShared_236_ == 0) -{ -lean_ctor_set(v___x_235_, 5, v___x_239_); -lean_ctor_set(v___x_235_, 0, v___x_238_); -v___x_241_ = v___x_235_; -goto v_reusejp_240_; -} -else -{ -lean_object* v_reuseFailAlloc_245_; -v_reuseFailAlloc_245_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_245_, 0, v___x_238_); -lean_ctor_set(v_reuseFailAlloc_245_, 1, v_nextMacroScope_227_); -lean_ctor_set(v_reuseFailAlloc_245_, 2, v_ngen_228_); -lean_ctor_set(v_reuseFailAlloc_245_, 3, v_auxDeclNGen_229_); -lean_ctor_set(v_reuseFailAlloc_245_, 4, v_traceState_230_); -lean_ctor_set(v_reuseFailAlloc_245_, 5, v___x_239_); -lean_ctor_set(v_reuseFailAlloc_245_, 6, v_messages_231_); -lean_ctor_set(v_reuseFailAlloc_245_, 7, v_infoState_232_); -lean_ctor_set(v_reuseFailAlloc_245_, 8, v_snapshotTasks_233_); -v___x_241_ = v_reuseFailAlloc_245_; -goto v_reusejp_240_; -} -v_reusejp_240_: -{ -lean_object* v___x_242_; lean_object* v___x_243_; lean_object* v___x_244_; -v___x_242_ = lean_st_ref_set(v___y_223_, v___x_241_); -v___x_243_ = lean_box(0); -v___x_244_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_244_, 0, v___x_243_); -return v___x_244_; +v___x_281_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_255_, v___x_280_, v___y_257_); +lean_dec_ref(v___x_280_); +return v___x_281_; } } } } -} -LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___boxed(lean_object* v_mod_286_, lean_object* v_isMeta_287_, lean_object* v_hint_288_, lean_object* v___y_289_, lean_object* v___y_290_, lean_object* v___y_291_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg___boxed(lean_object* v_ref_284_, lean_object* v_msg_285_, lean_object* v___y_286_, lean_object* v___y_287_, lean_object* v___y_288_){ _start: { -uint8_t v_isMeta_boxed_292_; lean_object* v_res_293_; -v_isMeta_boxed_292_ = lean_unbox(v_isMeta_287_); -v_res_293_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0(v_mod_286_, v_isMeta_boxed_292_, v_hint_288_, v___y_289_, v___y_290_); -lean_dec(v___y_290_); -lean_dec_ref(v___y_289_); -return v_res_293_; +lean_object* v_res_289_; +v_res_289_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_284_, v_msg_285_, v___y_286_, v___y_287_); +lean_dec(v___y_287_); +lean_dec(v_ref_284_); +return v_res_289_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__1(lean_object* v___x_294_, lean_object* v_declName_295_, lean_object* v_as_296_, size_t v_sz_297_, size_t v_i_298_, lean_object* v_b_299_, lean_object* v___y_300_, lean_object* v___y_301_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(lean_object* v_ref_290_, lean_object* v_msg_291_, lean_object* v_declHint_292_, lean_object* v___y_293_, lean_object* v___y_294_){ _start: { -uint8_t v___x_303_; -v___x_303_ = lean_usize_dec_lt(v_i_298_, v_sz_297_); -if (v___x_303_ == 0) -{ -lean_object* v___x_304_; -lean_dec(v_declName_295_); -v___x_304_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_304_, 0, v_b_299_); -return v___x_304_; -} -else -{ -lean_object* v___x_305_; lean_object* v_modules_306_; lean_object* v___x_307_; lean_object* v_a_308_; lean_object* v___x_309_; lean_object* v_toImport_310_; lean_object* v_module_311_; uint8_t v___x_312_; lean_object* v___x_313_; -v___x_305_ = l_Lean_Environment_header(v___x_294_); -v_modules_306_ = lean_ctor_get(v___x_305_, 3); -lean_inc_ref(v_modules_306_); -lean_dec_ref(v___x_305_); -v___x_307_ = l_Lean_instInhabitedEffectiveImport_default; -v_a_308_ = lean_array_uget_borrowed(v_as_296_, v_i_298_); -v___x_309_ = lean_array_get(v___x_307_, v_modules_306_, v_a_308_); -lean_dec_ref(v_modules_306_); -v_toImport_310_ = lean_ctor_get(v___x_309_, 0); -lean_inc_ref(v_toImport_310_); -lean_dec(v___x_309_); -v_module_311_ = lean_ctor_get(v_toImport_310_, 0); -lean_inc(v_module_311_); -lean_dec_ref(v_toImport_310_); -v___x_312_ = 0; -lean_inc(v_declName_295_); -v___x_313_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0(v_module_311_, v___x_312_, v_declName_295_, v___y_300_, v___y_301_); -if (lean_obj_tag(v___x_313_) == 0) -{ -lean_object* v___x_314_; size_t v___x_315_; size_t v___x_316_; -lean_dec_ref(v___x_313_); -v___x_314_ = lean_box(0); -v___x_315_ = ((size_t)1ULL); -v___x_316_ = lean_usize_add(v_i_298_, v___x_315_); -v_i_298_ = v___x_316_; -v_b_299_ = v___x_314_; -goto _start; -} -else -{ -lean_dec(v_declName_295_); -return v___x_313_; +lean_object* v___x_296_; lean_object* v_a_297_; lean_object* v___x_298_; +v___x_296_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(v_msg_291_, v_declHint_292_, v___y_293_, v___y_294_); +v_a_297_ = lean_ctor_get(v___x_296_, 0); +lean_inc(v_a_297_); +lean_dec_ref(v___x_296_); +v___x_298_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_290_, v_a_297_, v___y_293_, v___y_294_); +return v___x_298_; } } -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__1___boxed(lean_object* v___x_318_, lean_object* v_declName_319_, lean_object* v_as_320_, lean_object* v_sz_321_, lean_object* v_i_322_, lean_object* v_b_323_, lean_object* v___y_324_, lean_object* v___y_325_, lean_object* v___y_326_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg___boxed(lean_object* v_ref_299_, lean_object* v_msg_300_, lean_object* v_declHint_301_, lean_object* v___y_302_, lean_object* v___y_303_, lean_object* v___y_304_){ _start: { -size_t v_sz_boxed_327_; size_t v_i_boxed_328_; lean_object* v_res_329_; -v_sz_boxed_327_ = lean_unbox_usize(v_sz_321_); -lean_dec(v_sz_321_); -v_i_boxed_328_ = lean_unbox_usize(v_i_322_); -lean_dec(v_i_322_); -v_res_329_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__1(v___x_318_, v_declName_319_, v_as_320_, v_sz_boxed_327_, v_i_boxed_328_, v_b_323_, v___y_324_, v___y_325_); -lean_dec(v___y_325_); -lean_dec_ref(v___y_324_); -lean_dec_ref(v_as_320_); -lean_dec_ref(v___x_318_); +lean_object* v_res_305_; +v_res_305_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_299_, v_msg_300_, v_declHint_301_, v___y_302_, v___y_303_); +lean_dec(v___y_303_); +lean_dec(v_ref_299_); +return v_res_305_; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1(void){ +_start: +{ +lean_object* v___x_307_; lean_object* v___x_308_; +v___x_307_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0)); +v___x_308_ = l_Lean_stringToMessageData(v___x_307_); +return v___x_308_; +} +} +static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3(void){ +_start: +{ +lean_object* v___x_310_; lean_object* v___x_311_; +v___x_310_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2)); +v___x_311_ = l_Lean_stringToMessageData(v___x_310_); +return v___x_311_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(lean_object* v_ref_312_, lean_object* v_constName_313_, lean_object* v___y_314_, lean_object* v___y_315_){ +_start: +{ +lean_object* v___x_317_; uint8_t v___x_318_; lean_object* v___x_319_; lean_object* v___x_320_; lean_object* v___x_321_; lean_object* v___x_322_; lean_object* v___x_323_; +v___x_317_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1); +v___x_318_ = 0; +lean_inc(v_constName_313_); +v___x_319_ = l_Lean_MessageData_ofConstName(v_constName_313_, v___x_318_); +v___x_320_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_320_, 0, v___x_317_); +lean_ctor_set(v___x_320_, 1, v___x_319_); +v___x_321_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3); +v___x_322_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_322_, 0, v___x_320_); +lean_ctor_set(v___x_322_, 1, v___x_321_); +v___x_323_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_312_, v___x_322_, v_constName_313_, v___y_314_, v___y_315_); +return v___x_323_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___boxed(lean_object* v_ref_324_, lean_object* v_constName_325_, lean_object* v___y_326_, lean_object* v___y_327_, lean_object* v___y_328_){ +_start: +{ +lean_object* v_res_329_; +v_res_329_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_324_, v_constName_325_, v___y_326_, v___y_327_); +lean_dec(v___y_327_); +lean_dec(v_ref_324_); return v_res_329_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg(lean_object* v_a_330_, lean_object* v_x_331_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(lean_object* v_constName_330_, lean_object* v___y_331_, lean_object* v___y_332_){ _start: { -if (lean_obj_tag(v_x_331_) == 0) +lean_object* v_ref_334_; lean_object* v___x_335_; +v_ref_334_ = lean_ctor_get(v___y_331_, 5); +lean_inc(v_ref_334_); +v___x_335_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_334_, v_constName_330_, v___y_331_, v___y_332_); +lean_dec(v_ref_334_); +return v___x_335_; +} +} +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg___boxed(lean_object* v_constName_336_, lean_object* v___y_337_, lean_object* v___y_338_, lean_object* v___y_339_){ +_start: { -lean_object* v___x_332_; -v___x_332_ = lean_box(0); -return v___x_332_; +lean_object* v_res_340_; +v_res_340_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_336_, v___y_337_, v___y_338_); +lean_dec(v___y_338_); +return v_res_340_; +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9(lean_object* v_constName_341_, lean_object* v___y_342_, lean_object* v___y_343_){ +_start: +{ +lean_object* v___x_345_; lean_object* v_env_346_; uint8_t v___x_347_; lean_object* v___x_348_; +v___x_345_ = lean_st_ref_get(v___y_343_); +v_env_346_ = lean_ctor_get(v___x_345_, 0); +lean_inc_ref(v_env_346_); +lean_dec(v___x_345_); +v___x_347_ = 0; +lean_inc(v_constName_341_); +v___x_348_ = l_Lean_Environment_findConstVal_x3f(v_env_346_, v_constName_341_, v___x_347_); +if (lean_obj_tag(v___x_348_) == 0) +{ +lean_object* v___x_349_; +v___x_349_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_341_, v___y_342_, v___y_343_); +return v___x_349_; } else { -lean_object* v_key_333_; lean_object* v_value_334_; lean_object* v_tail_335_; uint8_t v___x_336_; -v_key_333_ = lean_ctor_get(v_x_331_, 0); -v_value_334_ = lean_ctor_get(v_x_331_, 1); -v_tail_335_ = lean_ctor_get(v_x_331_, 2); -v___x_336_ = lean_name_eq(v_key_333_, v_a_330_); -if (v___x_336_ == 0) +lean_object* v_val_350_; lean_object* v___x_352_; uint8_t v_isShared_353_; uint8_t v_isSharedCheck_357_; +lean_dec_ref(v___y_342_); +lean_dec(v_constName_341_); +v_val_350_ = lean_ctor_get(v___x_348_, 0); +v_isSharedCheck_357_ = !lean_is_exclusive(v___x_348_); +if (v_isSharedCheck_357_ == 0) { -v_x_331_ = v_tail_335_; -goto _start; +v___x_352_ = v___x_348_; +v_isShared_353_ = v_isSharedCheck_357_; +goto v_resetjp_351_; } else { -lean_object* v___x_338_; -lean_inc(v_value_334_); -v___x_338_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_338_, 0, v_value_334_); -return v___x_338_; +lean_inc(v_val_350_); +lean_dec(v___x_348_); +v___x_352_ = lean_box(0); +v_isShared_353_ = v_isSharedCheck_357_; +goto v_resetjp_351_; } -} -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg___boxed(lean_object* v_a_339_, lean_object* v_x_340_){ -_start: +v_resetjp_351_: { -lean_object* v_res_341_; -v_res_341_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg(v_a_339_, v_x_340_); -lean_dec(v_x_340_); -lean_dec(v_a_339_); -return v_res_341_; -} -} -static uint64_t _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0(void){ -_start: +lean_object* v___x_355_; +if (v_isShared_353_ == 0) { -lean_object* v___x_342_; uint64_t v___x_343_; -v___x_342_ = lean_unsigned_to_nat(1723u); -v___x_343_ = lean_uint64_of_nat(v___x_342_); -return v___x_343_; -} -} -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(lean_object* v_m_344_, lean_object* v_a_345_){ -_start: -{ -lean_object* v_buckets_346_; lean_object* v___x_347_; uint64_t v___y_349_; -v_buckets_346_ = lean_ctor_get(v_m_344_, 1); -v___x_347_ = lean_array_get_size(v_buckets_346_); -if (lean_obj_tag(v_a_345_) == 0) -{ -uint64_t v___x_363_; -v___x_363_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_349_ = v___x_363_; -goto v___jp_348_; +lean_ctor_set_tag(v___x_352_, 0); +v___x_355_ = v___x_352_; +goto v_reusejp_354_; } else { -uint64_t v_hash_364_; -v_hash_364_ = lean_ctor_get_uint64(v_a_345_, sizeof(void*)*2); -v___y_349_ = v_hash_364_; -goto v___jp_348_; +lean_object* v_reuseFailAlloc_356_; +v_reuseFailAlloc_356_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_356_, 0, v_val_350_); +v___x_355_ = v_reuseFailAlloc_356_; +goto v_reusejp_354_; } -v___jp_348_: +v_reusejp_354_: { -uint64_t v___x_350_; uint64_t v___x_351_; uint64_t v_fold_352_; uint64_t v___x_353_; uint64_t v___x_354_; uint64_t v___x_355_; size_t v___x_356_; size_t v___x_357_; size_t v___x_358_; size_t v___x_359_; size_t v___x_360_; lean_object* v___x_361_; lean_object* v___x_362_; -v___x_350_ = 32ULL; -v___x_351_ = lean_uint64_shift_right(v___y_349_, v___x_350_); -v_fold_352_ = lean_uint64_xor(v___y_349_, v___x_351_); -v___x_353_ = 16ULL; -v___x_354_ = lean_uint64_shift_right(v_fold_352_, v___x_353_); -v___x_355_ = lean_uint64_xor(v_fold_352_, v___x_354_); -v___x_356_ = lean_uint64_to_usize(v___x_355_); -v___x_357_ = lean_usize_of_nat(v___x_347_); -v___x_358_ = ((size_t)1ULL); -v___x_359_ = lean_usize_sub(v___x_357_, v___x_358_); -v___x_360_ = lean_usize_land(v___x_356_, v___x_359_); -v___x_361_ = lean_array_uget_borrowed(v_buckets_346_, v___x_360_); -v___x_362_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg(v_a_345_, v___x_361_); -return v___x_362_; +return v___x_355_; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___boxed(lean_object* v_m_365_, lean_object* v_a_366_){ +} +} +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9___boxed(lean_object* v_constName_358_, lean_object* v___y_359_, lean_object* v___y_360_, lean_object* v___y_361_){ _start: { -lean_object* v_res_367_; -v_res_367_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(v_m_365_, v_a_366_); -lean_dec(v_a_366_); -lean_dec_ref(v_m_365_); -return v_res_367_; +lean_object* v_res_362_; +v_res_362_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9(v_constName_358_, v___y_359_, v___y_360_); +lean_dec(v___y_360_); +return v_res_362_; } } -static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2(void){ +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4(lean_object* v_constName_363_, lean_object* v___y_364_, lean_object* v___y_365_){ _start: { -lean_object* v___x_370_; lean_object* v___x_371_; lean_object* v___x_372_; -v___x_370_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__1)); -v___x_371_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__0)); -v___x_372_ = l_Std_HashMap_instInhabited(lean_box(0), lean_box(0), v___x_371_, v___x_370_); -return v___x_372_; +lean_object* v___x_367_; +lean_inc(v_constName_363_); +v___x_367_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9(v_constName_363_, v___y_364_, v___y_365_); +if (lean_obj_tag(v___x_367_) == 0) +{ +lean_object* v_a_368_; lean_object* v___x_370_; uint8_t v_isShared_371_; uint8_t v_isSharedCheck_379_; +v_a_368_ = lean_ctor_get(v___x_367_, 0); +v_isSharedCheck_379_ = !lean_is_exclusive(v___x_367_); +if (v_isSharedCheck_379_ == 0) +{ +v___x_370_ = v___x_367_; +v_isShared_371_ = v_isSharedCheck_379_; +goto v_resetjp_369_; +} +else +{ +lean_inc(v_a_368_); +lean_dec(v___x_367_); +v___x_370_ = lean_box(0); +v_isShared_371_ = v_isSharedCheck_379_; +goto v_resetjp_369_; +} +v_resetjp_369_: +{ +lean_object* v_levelParams_372_; lean_object* v___x_373_; lean_object* v___x_374_; lean_object* v___x_375_; lean_object* v___x_377_; +v_levelParams_372_ = lean_ctor_get(v_a_368_, 1); +lean_inc(v_levelParams_372_); +lean_dec(v_a_368_); +v___x_373_ = lean_box(0); +v___x_374_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__10(v_levelParams_372_, v___x_373_); +v___x_375_ = l_Lean_mkConst(v_constName_363_, v___x_374_); +if (v_isShared_371_ == 0) +{ +lean_ctor_set(v___x_370_, 0, v___x_375_); +v___x_377_ = v___x_370_; +goto v_reusejp_376_; +} +else +{ +lean_object* v_reuseFailAlloc_378_; +v_reuseFailAlloc_378_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_378_, 0, v___x_375_); +v___x_377_ = v_reuseFailAlloc_378_; +goto v_reusejp_376_; +} +v_reusejp_376_: +{ +return v___x_377_; } } -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0(lean_object* v_declName_375_, uint8_t v_isMeta_376_, lean_object* v___y_377_, lean_object* v___y_378_){ +} +else +{ +lean_object* v_a_380_; lean_object* v___x_382_; uint8_t v_isShared_383_; uint8_t v_isSharedCheck_387_; +lean_dec(v_constName_363_); +v_a_380_ = lean_ctor_get(v___x_367_, 0); +v_isSharedCheck_387_ = !lean_is_exclusive(v___x_367_); +if (v_isSharedCheck_387_ == 0) +{ +v___x_382_ = v___x_367_; +v_isShared_383_ = v_isSharedCheck_387_; +goto v_resetjp_381_; +} +else +{ +lean_inc(v_a_380_); +lean_dec(v___x_367_); +v___x_382_ = lean_box(0); +v_isShared_383_ = v_isSharedCheck_387_; +goto v_resetjp_381_; +} +v_resetjp_381_: +{ +lean_object* v___x_385_; +if (v_isShared_383_ == 0) +{ +v___x_385_ = v___x_382_; +goto v_reusejp_384_; +} +else +{ +lean_object* v_reuseFailAlloc_386_; +v_reuseFailAlloc_386_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_386_, 0, v_a_380_); +v___x_385_ = v_reuseFailAlloc_386_; +goto v_reusejp_384_; +} +v_reusejp_384_: +{ +return v___x_385_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4___boxed(lean_object* v_constName_388_, lean_object* v___y_389_, lean_object* v___y_390_, lean_object* v___y_391_){ _start: { -lean_object* v___x_380_; lean_object* v_env_384_; lean_object* v___y_386_; lean_object* v___x_399_; -v___x_380_ = lean_st_ref_get(v___y_378_); -v_env_384_ = lean_ctor_get(v___x_380_, 0); -lean_inc_ref(v_env_384_); -lean_dec(v___x_380_); -v___x_399_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_384_, v_declName_375_); +lean_object* v_res_392_; +v_res_392_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4(v_constName_388_, v___y_389_, v___y_390_); +lean_dec(v___y_390_); +return v_res_392_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1(lean_object* v_stx_393_, lean_object* v_n_394_, lean_object* v_expectedType_x3f_395_, lean_object* v___y_396_, lean_object* v___y_397_){ +_start: +{ +lean_object* v___x_399_; +lean_inc_ref(v___y_396_); +v___x_399_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4(v_n_394_, v___y_396_, v___y_397_); if (lean_obj_tag(v___x_399_) == 0) { -lean_dec_ref(v_env_384_); -lean_dec(v_declName_375_); -goto v___jp_381_; -} -else -{ -lean_object* v_val_400_; lean_object* v___x_401_; lean_object* v_modules_402_; lean_object* v___x_403_; uint8_t v___x_404_; -v_val_400_ = lean_ctor_get(v___x_399_, 0); -lean_inc(v_val_400_); +lean_object* v_a_400_; lean_object* v___x_401_; lean_object* v___x_402_; lean_object* v___x_403_; uint8_t v___x_404_; lean_object* v___x_405_; lean_object* v___x_406_; lean_object* v___x_407_; +v_a_400_ = lean_ctor_get(v___x_399_, 0); +lean_inc(v_a_400_); lean_dec_ref(v___x_399_); -v___x_401_ = l_Lean_Environment_header(v_env_384_); -v_modules_402_ = lean_ctor_get(v___x_401_, 3); -lean_inc_ref(v_modules_402_); -lean_dec_ref(v___x_401_); -v___x_403_ = lean_array_get_size(v_modules_402_); -v___x_404_ = lean_nat_dec_lt(v_val_400_, v___x_403_); -if (v___x_404_ == 0) -{ -lean_dec_ref(v_modules_402_); -lean_dec(v_val_400_); -lean_dec_ref(v_env_384_); -lean_dec(v_declName_375_); -goto v___jp_381_; +v___x_401_ = lean_box(0); +v___x_402_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_402_, 0, v___x_401_); +lean_ctor_set(v___x_402_, 1, v_stx_393_); +v___x_403_ = l_Lean_LocalContext_empty; +v___x_404_ = 0; +v___x_405_ = lean_alloc_ctor(0, 4, 2); +lean_ctor_set(v___x_405_, 0, v___x_402_); +lean_ctor_set(v___x_405_, 1, v___x_403_); +lean_ctor_set(v___x_405_, 2, v_expectedType_x3f_395_); +lean_ctor_set(v___x_405_, 3, v_a_400_); +lean_ctor_set_uint8(v___x_405_, sizeof(void*)*4, v___x_404_); +lean_ctor_set_uint8(v___x_405_, sizeof(void*)*4 + 1, v___x_404_); +v___x_406_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_406_, 0, v___x_405_); +v___x_407_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5(v___x_406_, v___y_396_, v___y_397_); +lean_dec_ref(v___y_396_); +return v___x_407_; } else { -lean_object* v___x_405_; lean_object* v_env_406_; lean_object* v___x_407_; lean_object* v___x_408_; uint8_t v___y_410_; -v___x_405_ = lean_st_ref_get(v___y_378_); -v_env_406_ = lean_ctor_get(v___x_405_, 0); -lean_inc_ref(v_env_406_); -lean_dec(v___x_405_); -v___x_407_ = lean_obj_once(&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2, &l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2_once, _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__2); -v___x_408_ = lean_array_fget(v_modules_402_, v_val_400_); -lean_dec(v_val_400_); -lean_dec_ref(v_modules_402_); -if (v_isMeta_376_ == 0) +lean_object* v_a_408_; lean_object* v___x_410_; uint8_t v_isShared_411_; uint8_t v_isSharedCheck_415_; +lean_dec_ref(v___y_396_); +lean_dec(v_expectedType_x3f_395_); +lean_dec(v_stx_393_); +v_a_408_ = lean_ctor_get(v___x_399_, 0); +v_isSharedCheck_415_ = !lean_is_exclusive(v___x_399_); +if (v_isSharedCheck_415_ == 0) { -lean_dec_ref(v_env_406_); -v___y_410_ = v_isMeta_376_; -goto v___jp_409_; +v___x_410_ = v___x_399_; +v_isShared_411_ = v_isSharedCheck_415_; +goto v_resetjp_409_; } else { -uint8_t v___x_421_; -lean_inc(v_declName_375_); -v___x_421_ = l_Lean_isMarkedMeta(v_env_406_, v_declName_375_); -if (v___x_421_ == 0) +lean_inc(v_a_408_); +lean_dec(v___x_399_); +v___x_410_ = lean_box(0); +v_isShared_411_ = v_isSharedCheck_415_; +goto v_resetjp_409_; +} +v_resetjp_409_: { -v___y_410_ = v_isMeta_376_; -goto v___jp_409_; +lean_object* v___x_413_; +if (v_isShared_411_ == 0) +{ +v___x_413_ = v___x_410_; +goto v_reusejp_412_; } else { -uint8_t v___x_422_; -v___x_422_ = 0; -v___y_410_ = v___x_422_; -goto v___jp_409_; +lean_object* v_reuseFailAlloc_414_; +v_reuseFailAlloc_414_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_414_, 0, v_a_408_); +v___x_413_ = v_reuseFailAlloc_414_; +goto v_reusejp_412_; } -} -v___jp_409_: +v_reusejp_412_: { -lean_object* v_toImport_411_; lean_object* v_module_412_; lean_object* v___x_413_; -v_toImport_411_ = lean_ctor_get(v___x_408_, 0); -lean_inc_ref(v_toImport_411_); -lean_dec(v___x_408_); -v_module_412_ = lean_ctor_get(v_toImport_411_, 0); -lean_inc(v_module_412_); -lean_dec_ref(v_toImport_411_); -lean_inc(v_declName_375_); -v___x_413_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0(v_module_412_, v___y_410_, v_declName_375_, v___y_377_, v___y_378_); -if (lean_obj_tag(v___x_413_) == 0) -{ -lean_object* v___x_414_; lean_object* v___x_415_; lean_object* v___x_416_; lean_object* v___x_417_; lean_object* v___x_418_; -lean_dec_ref(v___x_413_); -v___x_414_ = l_Lean_indirectModUseExt; -v___x_415_ = lean_box(1); -v___x_416_ = lean_box(0); -lean_inc_ref(v_env_384_); -v___x_417_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_407_, v___x_414_, v_env_384_, v___x_415_, v___x_416_); -v___x_418_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(v___x_417_, v_declName_375_); -lean_dec(v___x_417_); -if (lean_obj_tag(v___x_418_) == 0) -{ -lean_object* v___x_419_; -v___x_419_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___closed__3)); -v___y_386_ = v___x_419_; -goto v___jp_385_; -} -else -{ -lean_object* v_val_420_; -v_val_420_ = lean_ctor_get(v___x_418_, 0); -lean_inc(v_val_420_); -lean_dec_ref(v___x_418_); -v___y_386_ = v_val_420_; -goto v___jp_385_; -} -} -else -{ -lean_dec_ref(v_env_384_); -lean_dec(v_declName_375_); return v___x_413_; } } } } -v___jp_381_: -{ -lean_object* v___x_382_; lean_object* v___x_383_; -v___x_382_ = lean_box(0); -v___x_383_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_383_, 0, v___x_382_); -return v___x_383_; } -v___jp_385_: -{ -lean_object* v___x_387_; size_t v_sz_388_; size_t v___x_389_; lean_object* v___x_390_; -v___x_387_ = lean_box(0); -v_sz_388_ = lean_array_size(v___y_386_); -v___x_389_ = ((size_t)0ULL); -v___x_390_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__1(v_env_384_, v_declName_375_, v___y_386_, v_sz_388_, v___x_389_, v___x_387_, v___y_377_, v___y_378_); -lean_dec_ref(v___y_386_); -lean_dec_ref(v_env_384_); -if (lean_obj_tag(v___x_390_) == 0) -{ -lean_object* v___x_392_; uint8_t v_isShared_393_; uint8_t v_isSharedCheck_397_; -v_isSharedCheck_397_ = !lean_is_exclusive(v___x_390_); -if (v_isSharedCheck_397_ == 0) -{ -lean_object* v_unused_398_; -v_unused_398_ = lean_ctor_get(v___x_390_, 0); -lean_dec(v_unused_398_); -v___x_392_ = v___x_390_; -v_isShared_393_ = v_isSharedCheck_397_; -goto v_resetjp_391_; -} -else -{ -lean_dec(v___x_390_); -v___x_392_ = lean_box(0); -v_isShared_393_ = v_isSharedCheck_397_; -goto v_resetjp_391_; -} -v_resetjp_391_: -{ -lean_object* v___x_395_; -if (v_isShared_393_ == 0) -{ -lean_ctor_set(v___x_392_, 0, v___x_387_); -v___x_395_ = v___x_392_; -goto v_reusejp_394_; -} -else -{ -lean_object* v_reuseFailAlloc_396_; -v_reuseFailAlloc_396_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_396_, 0, v___x_387_); -v___x_395_ = v_reuseFailAlloc_396_; -goto v_reusejp_394_; -} -v_reusejp_394_: -{ -return v___x_395_; -} -} -} -else -{ -return v___x_390_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0___boxed(lean_object* v_declName_423_, lean_object* v_isMeta_424_, lean_object* v___y_425_, lean_object* v___y_426_, lean_object* v___y_427_){ +LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1___boxed(lean_object* v_stx_416_, lean_object* v_n_417_, lean_object* v_expectedType_x3f_418_, lean_object* v___y_419_, lean_object* v___y_420_, lean_object* v___y_421_){ _start: { -uint8_t v_isMeta_boxed_428_; lean_object* v_res_429_; -v_isMeta_boxed_428_ = lean_unbox(v_isMeta_424_); -v_res_429_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0(v_declName_423_, v_isMeta_boxed_428_, v___y_425_, v___y_426_); -lean_dec(v___y_426_); -lean_dec_ref(v___y_425_); -return v_res_429_; +lean_object* v_res_422_; +v_res_422_ = l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1(v_stx_416_, v_n_417_, v_expectedType_x3f_418_, v___y_419_, v___y_420_); +lean_dec(v___y_420_); +return v_res_422_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg(lean_object* v_t_430_, lean_object* v___y_431_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(lean_object* v_keys_423_, lean_object* v_i_424_, lean_object* v_k_425_){ _start: { -lean_object* v___x_433_; lean_object* v_infoState_434_; uint8_t v_enabled_435_; -v___x_433_ = lean_st_ref_get(v___y_431_); -v_infoState_434_ = lean_ctor_get(v___x_433_, 7); -lean_inc_ref(v_infoState_434_); -lean_dec(v___x_433_); -v_enabled_435_ = lean_ctor_get_uint8(v_infoState_434_, sizeof(void*)*3); -lean_dec_ref(v_infoState_434_); -if (v_enabled_435_ == 0) +lean_object* v___x_426_; uint8_t v___x_427_; +v___x_426_ = lean_array_get_size(v_keys_423_); +v___x_427_ = lean_nat_dec_lt(v_i_424_, v___x_426_); +if (v___x_427_ == 0) { -lean_object* v___x_436_; lean_object* v___x_437_; -lean_dec_ref(v_t_430_); -v___x_436_ = lean_box(0); -v___x_437_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_437_, 0, v___x_436_); -return v___x_437_; +lean_dec(v_i_424_); +return v___x_427_; } else { -lean_object* v___x_438_; lean_object* v_infoState_439_; lean_object* v_env_440_; lean_object* v_nextMacroScope_441_; lean_object* v_ngen_442_; lean_object* v_auxDeclNGen_443_; lean_object* v_traceState_444_; lean_object* v_cache_445_; lean_object* v_messages_446_; lean_object* v_snapshotTasks_447_; lean_object* v___x_449_; uint8_t v_isShared_450_; uint8_t v_isSharedCheck_469_; -v___x_438_ = lean_st_ref_take(v___y_431_); -v_infoState_439_ = lean_ctor_get(v___x_438_, 7); -v_env_440_ = lean_ctor_get(v___x_438_, 0); -v_nextMacroScope_441_ = lean_ctor_get(v___x_438_, 1); -v_ngen_442_ = lean_ctor_get(v___x_438_, 2); -v_auxDeclNGen_443_ = lean_ctor_get(v___x_438_, 3); -v_traceState_444_ = lean_ctor_get(v___x_438_, 4); -v_cache_445_ = lean_ctor_get(v___x_438_, 5); -v_messages_446_ = lean_ctor_get(v___x_438_, 6); -v_snapshotTasks_447_ = lean_ctor_get(v___x_438_, 8); -v_isSharedCheck_469_ = !lean_is_exclusive(v___x_438_); -if (v_isSharedCheck_469_ == 0) +lean_object* v_k_x27_428_; uint8_t v___x_429_; +v_k_x27_428_ = lean_array_fget_borrowed(v_keys_423_, v_i_424_); +v___x_429_ = l_Lean_instBEqExtraModUse_beq(v_k_425_, v_k_x27_428_); +if (v___x_429_ == 0) { -v___x_449_ = v___x_438_; -v_isShared_450_ = v_isSharedCheck_469_; -goto v_resetjp_448_; +lean_object* v___x_430_; lean_object* v___x_431_; +v___x_430_ = lean_unsigned_to_nat(1u); +v___x_431_ = lean_nat_add(v_i_424_, v___x_430_); +lean_dec(v_i_424_); +v_i_424_ = v___x_431_; +goto _start; } else { -lean_inc(v_snapshotTasks_447_); -lean_inc(v_infoState_439_); -lean_inc(v_messages_446_); -lean_inc(v_cache_445_); -lean_inc(v_traceState_444_); -lean_inc(v_auxDeclNGen_443_); -lean_inc(v_ngen_442_); -lean_inc(v_nextMacroScope_441_); -lean_inc(v_env_440_); -lean_dec(v___x_438_); -v___x_449_ = lean_box(0); -v_isShared_450_ = v_isSharedCheck_469_; -goto v_resetjp_448_; -} -v_resetjp_448_: -{ -uint8_t v_enabled_451_; lean_object* v_assignment_452_; lean_object* v_lazyAssignment_453_; lean_object* v_trees_454_; lean_object* v___x_456_; uint8_t v_isShared_457_; uint8_t v_isSharedCheck_468_; -v_enabled_451_ = lean_ctor_get_uint8(v_infoState_439_, sizeof(void*)*3); -v_assignment_452_ = lean_ctor_get(v_infoState_439_, 0); -v_lazyAssignment_453_ = lean_ctor_get(v_infoState_439_, 1); -v_trees_454_ = lean_ctor_get(v_infoState_439_, 2); -v_isSharedCheck_468_ = !lean_is_exclusive(v_infoState_439_); -if (v_isSharedCheck_468_ == 0) -{ -v___x_456_ = v_infoState_439_; -v_isShared_457_ = v_isSharedCheck_468_; -goto v_resetjp_455_; -} -else -{ -lean_inc(v_trees_454_); -lean_inc(v_lazyAssignment_453_); -lean_inc(v_assignment_452_); -lean_dec(v_infoState_439_); -v___x_456_ = lean_box(0); -v_isShared_457_ = v_isSharedCheck_468_; -goto v_resetjp_455_; -} -v_resetjp_455_: -{ -lean_object* v___x_458_; lean_object* v___x_460_; -v___x_458_ = l_Lean_PersistentArray_push___redArg(v_trees_454_, v_t_430_); -if (v_isShared_457_ == 0) -{ -lean_ctor_set(v___x_456_, 2, v___x_458_); -v___x_460_ = v___x_456_; -goto v_reusejp_459_; -} -else -{ -lean_object* v_reuseFailAlloc_467_; -v_reuseFailAlloc_467_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v_reuseFailAlloc_467_, 0, v_assignment_452_); -lean_ctor_set(v_reuseFailAlloc_467_, 1, v_lazyAssignment_453_); -lean_ctor_set(v_reuseFailAlloc_467_, 2, v___x_458_); -lean_ctor_set_uint8(v_reuseFailAlloc_467_, sizeof(void*)*3, v_enabled_451_); -v___x_460_ = v_reuseFailAlloc_467_; -goto v_reusejp_459_; -} -v_reusejp_459_: -{ -lean_object* v___x_462_; -if (v_isShared_450_ == 0) -{ -lean_ctor_set(v___x_449_, 7, v___x_460_); -v___x_462_ = v___x_449_; -goto v_reusejp_461_; -} -else -{ -lean_object* v_reuseFailAlloc_466_; -v_reuseFailAlloc_466_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_466_, 0, v_env_440_); -lean_ctor_set(v_reuseFailAlloc_466_, 1, v_nextMacroScope_441_); -lean_ctor_set(v_reuseFailAlloc_466_, 2, v_ngen_442_); -lean_ctor_set(v_reuseFailAlloc_466_, 3, v_auxDeclNGen_443_); -lean_ctor_set(v_reuseFailAlloc_466_, 4, v_traceState_444_); -lean_ctor_set(v_reuseFailAlloc_466_, 5, v_cache_445_); -lean_ctor_set(v_reuseFailAlloc_466_, 6, v_messages_446_); -lean_ctor_set(v_reuseFailAlloc_466_, 7, v___x_460_); -lean_ctor_set(v_reuseFailAlloc_466_, 8, v_snapshotTasks_447_); -v___x_462_ = v_reuseFailAlloc_466_; -goto v_reusejp_461_; -} -v_reusejp_461_: -{ -lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_; -v___x_463_ = lean_st_ref_set(v___y_431_, v___x_462_); -v___x_464_ = lean_box(0); -v___x_465_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_465_, 0, v___x_464_); -return v___x_465_; +lean_dec(v_i_424_); +return v___x_429_; } } } } -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg___boxed(lean_object* v_t_470_, lean_object* v___y_471_, lean_object* v___y_472_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg___boxed(lean_object* v_keys_433_, lean_object* v_i_434_, lean_object* v_k_435_){ _start: { -lean_object* v_res_473_; -v_res_473_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg(v_t_470_, v___y_471_); -lean_dec(v___y_471_); -return v_res_473_; +uint8_t v_res_436_; lean_object* v_r_437_; +v_res_436_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_keys_433_, v_i_434_, v_k_435_); +lean_dec_ref(v_k_435_); +lean_dec_ref(v_keys_433_); +v_r_437_ = lean_box(v_res_436_); +return v_r_437_; } } -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0(void){ +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0(void){ _start: { -lean_object* v___x_474_; lean_object* v___x_475_; lean_object* v___x_476_; -v___x_474_ = lean_unsigned_to_nat(32u); -v___x_475_ = lean_mk_empty_array_with_capacity(v___x_474_); -v___x_476_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_476_, 0, v___x_475_); -return v___x_476_; +size_t v___x_438_; size_t v___x_439_; size_t v___x_440_; +v___x_438_ = ((size_t)5ULL); +v___x_439_ = ((size_t)1ULL); +v___x_440_ = lean_usize_shift_left(v___x_439_, v___x_438_); +return v___x_440_; } } -static lean_object* _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1(void){ +static size_t _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1(void){ _start: { -size_t v___x_477_; lean_object* v___x_478_; lean_object* v___x_479_; lean_object* v___x_480_; lean_object* v___x_481_; lean_object* v___x_482_; -v___x_477_ = ((size_t)5ULL); +size_t v___x_441_; size_t v___x_442_; size_t v___x_443_; +v___x_441_ = ((size_t)1ULL); +v___x_442_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__0); +v___x_443_ = lean_usize_sub(v___x_442_, v___x_441_); +return v___x_443_; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg(lean_object* v_x_444_, size_t v_x_445_, lean_object* v_x_446_){ +_start: +{ +if (lean_obj_tag(v_x_444_) == 0) +{ +lean_object* v_es_447_; lean_object* v___x_448_; size_t v___x_449_; size_t v___x_450_; size_t v___x_451_; lean_object* v_j_452_; lean_object* v___x_453_; +v_es_447_ = lean_ctor_get(v_x_444_, 0); +lean_inc_ref(v_es_447_); +lean_dec_ref(v_x_444_); +v___x_448_ = lean_box(2); +v___x_449_ = ((size_t)5ULL); +v___x_450_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); +v___x_451_ = lean_usize_land(v_x_445_, v___x_450_); +v_j_452_ = lean_usize_to_nat(v___x_451_); +v___x_453_ = lean_array_get(v___x_448_, v_es_447_, v_j_452_); +lean_dec(v_j_452_); +lean_dec_ref(v_es_447_); +switch(lean_obj_tag(v___x_453_)) +{ +case 0: +{ +lean_object* v_key_454_; uint8_t v___x_455_; +v_key_454_ = lean_ctor_get(v___x_453_, 0); +lean_inc(v_key_454_); +lean_dec_ref(v___x_453_); +v___x_455_ = l_Lean_instBEqExtraModUse_beq(v_x_446_, v_key_454_); +lean_dec(v_key_454_); +return v___x_455_; +} +case 1: +{ +lean_object* v_node_456_; size_t v___x_457_; +v_node_456_ = lean_ctor_get(v___x_453_, 0); +lean_inc(v_node_456_); +lean_dec_ref(v___x_453_); +v___x_457_ = lean_usize_shift_right(v_x_445_, v___x_449_); +v_x_444_ = v_node_456_; +v_x_445_ = v___x_457_; +goto _start; +} +default: +{ +uint8_t v___x_459_; +v___x_459_ = 0; +return v___x_459_; +} +} +} +else +{ +lean_object* v_ks_460_; lean_object* v___x_461_; uint8_t v___x_462_; +v_ks_460_ = lean_ctor_get(v_x_444_, 0); +lean_inc_ref(v_ks_460_); +lean_dec_ref(v_x_444_); +v___x_461_ = lean_unsigned_to_nat(0u); +v___x_462_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_ks_460_, v___x_461_, v_x_446_); +lean_dec_ref(v_ks_460_); +return v___x_462_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object* v_x_463_, lean_object* v_x_464_, lean_object* v_x_465_){ +_start: +{ +size_t v_x_7496__boxed_466_; uint8_t v_res_467_; lean_object* v_r_468_; +v_x_7496__boxed_466_ = lean_unbox_usize(v_x_464_); +lean_dec(v_x_464_); +v_res_467_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg(v_x_463_, v_x_7496__boxed_466_, v_x_465_); +lean_dec_ref(v_x_465_); +v_r_468_ = lean_box(v_res_467_); +return v_r_468_; +} +} +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg(lean_object* v_x_469_, lean_object* v_x_470_){ +_start: +{ +uint64_t v___x_471_; size_t v___x_472_; uint8_t v___x_473_; +v___x_471_ = l_Lean_instHashableExtraModUse_hash(v_x_470_); +v___x_472_ = lean_uint64_to_usize(v___x_471_); +v___x_473_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg(v_x_469_, v___x_472_, v_x_470_); +return v___x_473_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_x_474_, lean_object* v_x_475_){ +_start: +{ +uint8_t v_res_476_; lean_object* v_r_477_; +v_res_476_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg(v_x_474_, v_x_475_); +lean_dec_ref(v_x_475_); +v_r_477_ = lean_box(v_res_476_); +return v_r_477_; +} +} +static double _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0(void){ +_start: +{ +lean_object* v___x_478_; double v___x_479_; v___x_478_ = lean_unsigned_to_nat(0u); -v___x_479_ = lean_unsigned_to_nat(32u); -v___x_480_ = lean_mk_empty_array_with_capacity(v___x_479_); -v___x_481_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__0); -v___x_482_ = lean_alloc_ctor(0, 4, sizeof(size_t)*1); -lean_ctor_set(v___x_482_, 0, v___x_481_); -lean_ctor_set(v___x_482_, 1, v___x_480_); -lean_ctor_set(v___x_482_, 2, v___x_478_); -lean_ctor_set(v___x_482_, 3, v___x_478_); -lean_ctor_set_usize(v___x_482_, 4, v___x_477_); -return v___x_482_; +v___x_479_ = lean_float_of_nat(v___x_478_); +return v___x_479_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5(lean_object* v_t_483_, lean_object* v___y_484_, lean_object* v___y_485_){ +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3(lean_object* v_cls_483_, lean_object* v_msg_484_, lean_object* v___y_485_, lean_object* v___y_486_){ _start: { -lean_object* v___x_487_; lean_object* v_infoState_488_; uint8_t v_enabled_489_; -v___x_487_ = lean_st_ref_get(v___y_485_); -v_infoState_488_ = lean_ctor_get(v___x_487_, 7); -lean_inc_ref(v_infoState_488_); -lean_dec(v___x_487_); -v_enabled_489_ = lean_ctor_get_uint8(v_infoState_488_, sizeof(void*)*3); -lean_dec_ref(v_infoState_488_); -if (v_enabled_489_ == 0) +lean_object* v_ref_488_; lean_object* v___x_489_; lean_object* v_a_490_; lean_object* v___x_492_; uint8_t v_isShared_493_; uint8_t v_isSharedCheck_534_; +v_ref_488_ = lean_ctor_get(v___y_485_, 5); +v___x_489_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3_spec__6(v_msg_484_, v___y_485_, v___y_486_); +v_a_490_ = lean_ctor_get(v___x_489_, 0); +v_isSharedCheck_534_ = !lean_is_exclusive(v___x_489_); +if (v_isSharedCheck_534_ == 0) { -lean_object* v___x_490_; lean_object* v___x_491_; -lean_dec_ref(v_t_483_); -v___x_490_ = lean_box(0); -v___x_491_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_491_, 0, v___x_490_); -return v___x_491_; +v___x_492_ = v___x_489_; +v_isShared_493_ = v_isSharedCheck_534_; +goto v_resetjp_491_; } else { -lean_object* v___x_492_; lean_object* v___x_493_; lean_object* v___x_494_; -v___x_492_ = lean_obj_once(&l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1, &l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1_once, _init_l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___closed__1); -v___x_493_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_493_, 0, v_t_483_); -lean_ctor_set(v___x_493_, 1, v___x_492_); -v___x_494_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg(v___x_493_, v___y_485_); -return v___x_494_; +lean_inc(v_a_490_); +lean_dec(v___x_489_); +v___x_492_ = lean_box(0); +v_isShared_493_ = v_isSharedCheck_534_; +goto v_resetjp_491_; } -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5___boxed(lean_object* v_t_495_, lean_object* v___y_496_, lean_object* v___y_497_, lean_object* v___y_498_){ -_start: +v_resetjp_491_: { -lean_object* v_res_499_; -v_res_499_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5(v_t_495_, v___y_496_, v___y_497_); -lean_dec(v___y_497_); -lean_dec_ref(v___y_496_); -return v_res_499_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(lean_object* v_msg_500_, lean_object* v___y_501_, lean_object* v___y_502_){ -_start: +lean_object* v___x_494_; lean_object* v_traceState_495_; lean_object* v_env_496_; lean_object* v_nextMacroScope_497_; lean_object* v_ngen_498_; lean_object* v_auxDeclNGen_499_; lean_object* v_cache_500_; lean_object* v_messages_501_; lean_object* v_infoState_502_; lean_object* v_snapshotTasks_503_; lean_object* v___x_505_; uint8_t v_isShared_506_; uint8_t v_isSharedCheck_533_; +v___x_494_ = lean_st_ref_take(v___y_486_); +v_traceState_495_ = lean_ctor_get(v___x_494_, 4); +v_env_496_ = lean_ctor_get(v___x_494_, 0); +v_nextMacroScope_497_ = lean_ctor_get(v___x_494_, 1); +v_ngen_498_ = lean_ctor_get(v___x_494_, 2); +v_auxDeclNGen_499_ = lean_ctor_get(v___x_494_, 3); +v_cache_500_ = lean_ctor_get(v___x_494_, 5); +v_messages_501_ = lean_ctor_get(v___x_494_, 6); +v_infoState_502_ = lean_ctor_get(v___x_494_, 7); +v_snapshotTasks_503_ = lean_ctor_get(v___x_494_, 8); +v_isSharedCheck_533_ = !lean_is_exclusive(v___x_494_); +if (v_isSharedCheck_533_ == 0) { -lean_object* v_ref_504_; lean_object* v___x_505_; lean_object* v_a_506_; lean_object* v___x_508_; uint8_t v_isShared_509_; uint8_t v_isSharedCheck_514_; -v_ref_504_ = lean_ctor_get(v___y_501_, 5); -v___x_505_ = l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6(v_msg_500_, v___y_501_, v___y_502_); -v_a_506_ = lean_ctor_get(v___x_505_, 0); -v_isSharedCheck_514_ = !lean_is_exclusive(v___x_505_); -if (v_isSharedCheck_514_ == 0) -{ -v___x_508_ = v___x_505_; -v_isShared_509_ = v_isSharedCheck_514_; -goto v_resetjp_507_; +v___x_505_ = v___x_494_; +v_isShared_506_ = v_isSharedCheck_533_; +goto v_resetjp_504_; } else { -lean_inc(v_a_506_); -lean_dec(v___x_505_); -v___x_508_ = lean_box(0); -v_isShared_509_ = v_isSharedCheck_514_; -goto v_resetjp_507_; +lean_inc(v_snapshotTasks_503_); +lean_inc(v_infoState_502_); +lean_inc(v_messages_501_); +lean_inc(v_cache_500_); +lean_inc(v_traceState_495_); +lean_inc(v_auxDeclNGen_499_); +lean_inc(v_ngen_498_); +lean_inc(v_nextMacroScope_497_); +lean_inc(v_env_496_); +lean_dec(v___x_494_); +v___x_505_ = lean_box(0); +v_isShared_506_ = v_isSharedCheck_533_; +goto v_resetjp_504_; } -v_resetjp_507_: +v_resetjp_504_: { -lean_object* v___x_510_; lean_object* v___x_512_; -lean_inc(v_ref_504_); -v___x_510_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_510_, 0, v_ref_504_); -lean_ctor_set(v___x_510_, 1, v_a_506_); -if (v_isShared_509_ == 0) +uint64_t v_tid_507_; lean_object* v_traces_508_; lean_object* v___x_510_; uint8_t v_isShared_511_; uint8_t v_isSharedCheck_532_; +v_tid_507_ = lean_ctor_get_uint64(v_traceState_495_, sizeof(void*)*1); +v_traces_508_ = lean_ctor_get(v_traceState_495_, 0); +v_isSharedCheck_532_ = !lean_is_exclusive(v_traceState_495_); +if (v_isSharedCheck_532_ == 0) { -lean_ctor_set_tag(v___x_508_, 1); -lean_ctor_set(v___x_508_, 0, v___x_510_); -v___x_512_ = v___x_508_; -goto v_reusejp_511_; +v___x_510_ = v_traceState_495_; +v_isShared_511_ = v_isSharedCheck_532_; +goto v_resetjp_509_; } else { -lean_object* v_reuseFailAlloc_513_; -v_reuseFailAlloc_513_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_513_, 0, v___x_510_); -v___x_512_ = v_reuseFailAlloc_513_; -goto v_reusejp_511_; +lean_inc(v_traces_508_); +lean_dec(v_traceState_495_); +v___x_510_ = lean_box(0); +v_isShared_511_ = v_isSharedCheck_532_; +goto v_resetjp_509_; } -v_reusejp_511_: +v_resetjp_509_: { -return v___x_512_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg___boxed(lean_object* v_msg_515_, lean_object* v___y_516_, lean_object* v___y_517_, lean_object* v___y_518_){ -_start: +lean_object* v___x_512_; double v___x_513_; uint8_t v___x_514_; lean_object* v___x_515_; lean_object* v___x_516_; lean_object* v___x_517_; lean_object* v___x_518_; lean_object* v___x_519_; lean_object* v___x_520_; lean_object* v___x_522_; +v___x_512_ = lean_box(0); +v___x_513_ = lean_float_once(&l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0, &l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0_once, _init_l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__0); +v___x_514_ = 0; +v___x_515_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1)); +v___x_516_ = lean_alloc_ctor(0, 3, 17); +lean_ctor_set(v___x_516_, 0, v_cls_483_); +lean_ctor_set(v___x_516_, 1, v___x_512_); +lean_ctor_set(v___x_516_, 2, v___x_515_); +lean_ctor_set_float(v___x_516_, sizeof(void*)*3, v___x_513_); +lean_ctor_set_float(v___x_516_, sizeof(void*)*3 + 8, v___x_513_); +lean_ctor_set_uint8(v___x_516_, sizeof(void*)*3 + 16, v___x_514_); +v___x_517_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__2)); +v___x_518_ = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(v___x_518_, 0, v___x_516_); +lean_ctor_set(v___x_518_, 1, v_a_490_); +lean_ctor_set(v___x_518_, 2, v___x_517_); +lean_inc(v_ref_488_); +v___x_519_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_519_, 0, v_ref_488_); +lean_ctor_set(v___x_519_, 1, v___x_518_); +v___x_520_ = l_Lean_PersistentArray_push___redArg(v_traces_508_, v___x_519_); +if (v_isShared_511_ == 0) { -lean_object* v_res_519_; -v_res_519_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_515_, v___y_516_, v___y_517_); -lean_dec(v___y_517_); -lean_dec_ref(v___y_516_); -return v_res_519_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(lean_object* v_ref_520_, lean_object* v_msg_521_, lean_object* v___y_522_, lean_object* v___y_523_){ -_start: -{ -lean_object* v_fileName_525_; lean_object* v_fileMap_526_; lean_object* v_options_527_; lean_object* v_currRecDepth_528_; lean_object* v_maxRecDepth_529_; lean_object* v_ref_530_; lean_object* v_currNamespace_531_; lean_object* v_openDecls_532_; lean_object* v_initHeartbeats_533_; lean_object* v_maxHeartbeats_534_; lean_object* v_quotContext_535_; lean_object* v_currMacroScope_536_; uint8_t v_diag_537_; lean_object* v_cancelTk_x3f_538_; uint8_t v_suppressElabErrors_539_; lean_object* v_inheritedTraceOptions_540_; lean_object* v___x_542_; uint8_t v_isShared_543_; uint8_t v_isSharedCheck_549_; -v_fileName_525_ = lean_ctor_get(v___y_522_, 0); -v_fileMap_526_ = lean_ctor_get(v___y_522_, 1); -v_options_527_ = lean_ctor_get(v___y_522_, 2); -v_currRecDepth_528_ = lean_ctor_get(v___y_522_, 3); -v_maxRecDepth_529_ = lean_ctor_get(v___y_522_, 4); -v_ref_530_ = lean_ctor_get(v___y_522_, 5); -v_currNamespace_531_ = lean_ctor_get(v___y_522_, 6); -v_openDecls_532_ = lean_ctor_get(v___y_522_, 7); -v_initHeartbeats_533_ = lean_ctor_get(v___y_522_, 8); -v_maxHeartbeats_534_ = lean_ctor_get(v___y_522_, 9); -v_quotContext_535_ = lean_ctor_get(v___y_522_, 10); -v_currMacroScope_536_ = lean_ctor_get(v___y_522_, 11); -v_diag_537_ = lean_ctor_get_uint8(v___y_522_, sizeof(void*)*14); -v_cancelTk_x3f_538_ = lean_ctor_get(v___y_522_, 12); -v_suppressElabErrors_539_ = lean_ctor_get_uint8(v___y_522_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_540_ = lean_ctor_get(v___y_522_, 13); -v_isSharedCheck_549_ = !lean_is_exclusive(v___y_522_); -if (v_isSharedCheck_549_ == 0) -{ -v___x_542_ = v___y_522_; -v_isShared_543_ = v_isSharedCheck_549_; -goto v_resetjp_541_; +lean_ctor_set(v___x_510_, 0, v___x_520_); +v___x_522_ = v___x_510_; +goto v_reusejp_521_; } else { -lean_inc(v_inheritedTraceOptions_540_); -lean_inc(v_cancelTk_x3f_538_); -lean_inc(v_currMacroScope_536_); -lean_inc(v_quotContext_535_); -lean_inc(v_maxHeartbeats_534_); -lean_inc(v_initHeartbeats_533_); -lean_inc(v_openDecls_532_); -lean_inc(v_currNamespace_531_); -lean_inc(v_ref_530_); -lean_inc(v_maxRecDepth_529_); -lean_inc(v_currRecDepth_528_); -lean_inc(v_options_527_); -lean_inc(v_fileMap_526_); -lean_inc(v_fileName_525_); -lean_dec(v___y_522_); -v___x_542_ = lean_box(0); -v_isShared_543_ = v_isSharedCheck_549_; -goto v_resetjp_541_; +lean_object* v_reuseFailAlloc_531_; +v_reuseFailAlloc_531_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v_reuseFailAlloc_531_, 0, v___x_520_); +lean_ctor_set_uint64(v_reuseFailAlloc_531_, sizeof(void*)*1, v_tid_507_); +v___x_522_ = v_reuseFailAlloc_531_; +goto v_reusejp_521_; } -v_resetjp_541_: +v_reusejp_521_: { -lean_object* v_ref_544_; lean_object* v___x_546_; -v_ref_544_ = l_Lean_replaceRef(v_ref_520_, v_ref_530_); -lean_dec(v_ref_530_); -if (v_isShared_543_ == 0) +lean_object* v___x_524_; +if (v_isShared_506_ == 0) { -lean_ctor_set(v___x_542_, 5, v_ref_544_); -v___x_546_ = v___x_542_; -goto v_reusejp_545_; +lean_ctor_set(v___x_505_, 4, v___x_522_); +v___x_524_ = v___x_505_; +goto v_reusejp_523_; } else { -lean_object* v_reuseFailAlloc_548_; -v_reuseFailAlloc_548_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_548_, 0, v_fileName_525_); -lean_ctor_set(v_reuseFailAlloc_548_, 1, v_fileMap_526_); -lean_ctor_set(v_reuseFailAlloc_548_, 2, v_options_527_); -lean_ctor_set(v_reuseFailAlloc_548_, 3, v_currRecDepth_528_); -lean_ctor_set(v_reuseFailAlloc_548_, 4, v_maxRecDepth_529_); -lean_ctor_set(v_reuseFailAlloc_548_, 5, v_ref_544_); -lean_ctor_set(v_reuseFailAlloc_548_, 6, v_currNamespace_531_); -lean_ctor_set(v_reuseFailAlloc_548_, 7, v_openDecls_532_); -lean_ctor_set(v_reuseFailAlloc_548_, 8, v_initHeartbeats_533_); -lean_ctor_set(v_reuseFailAlloc_548_, 9, v_maxHeartbeats_534_); -lean_ctor_set(v_reuseFailAlloc_548_, 10, v_quotContext_535_); -lean_ctor_set(v_reuseFailAlloc_548_, 11, v_currMacroScope_536_); -lean_ctor_set(v_reuseFailAlloc_548_, 12, v_cancelTk_x3f_538_); -lean_ctor_set(v_reuseFailAlloc_548_, 13, v_inheritedTraceOptions_540_); -lean_ctor_set_uint8(v_reuseFailAlloc_548_, sizeof(void*)*14, v_diag_537_); -lean_ctor_set_uint8(v_reuseFailAlloc_548_, sizeof(void*)*14 + 1, v_suppressElabErrors_539_); -v___x_546_ = v_reuseFailAlloc_548_; -goto v_reusejp_545_; +lean_object* v_reuseFailAlloc_530_; +v_reuseFailAlloc_530_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_530_, 0, v_env_496_); +lean_ctor_set(v_reuseFailAlloc_530_, 1, v_nextMacroScope_497_); +lean_ctor_set(v_reuseFailAlloc_530_, 2, v_ngen_498_); +lean_ctor_set(v_reuseFailAlloc_530_, 3, v_auxDeclNGen_499_); +lean_ctor_set(v_reuseFailAlloc_530_, 4, v___x_522_); +lean_ctor_set(v_reuseFailAlloc_530_, 5, v_cache_500_); +lean_ctor_set(v_reuseFailAlloc_530_, 6, v_messages_501_); +lean_ctor_set(v_reuseFailAlloc_530_, 7, v_infoState_502_); +lean_ctor_set(v_reuseFailAlloc_530_, 8, v_snapshotTasks_503_); +v___x_524_ = v_reuseFailAlloc_530_; +goto v_reusejp_523_; } -v_reusejp_545_: +v_reusejp_523_: { -lean_object* v___x_547_; -v___x_547_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_521_, v___x_546_, v___y_523_); -lean_dec_ref(v___x_546_); -return v___x_547_; +lean_object* v___x_525_; lean_object* v___x_526_; lean_object* v___x_528_; +v___x_525_ = lean_st_ref_set(v___y_486_, v___x_524_); +v___x_526_ = lean_box(0); +if (v_isShared_493_ == 0) +{ +lean_ctor_set(v___x_492_, 0, v___x_526_); +v___x_528_ = v___x_492_; +goto v_reusejp_527_; +} +else +{ +lean_object* v_reuseFailAlloc_529_; +v_reuseFailAlloc_529_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_529_, 0, v___x_526_); +v___x_528_ = v_reuseFailAlloc_529_; +goto v_reusejp_527_; +} +v_reusejp_527_: +{ +return v___x_528_; } } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg___boxed(lean_object* v_ref_550_, lean_object* v_msg_551_, lean_object* v___y_552_, lean_object* v___y_553_, lean_object* v___y_554_){ +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___boxed(lean_object* v_cls_535_, lean_object* v_msg_536_, lean_object* v___y_537_, lean_object* v___y_538_, lean_object* v___y_539_){ _start: { -lean_object* v_res_555_; -v_res_555_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_550_, v_msg_551_, v___y_552_, v___y_553_); -lean_dec(v___y_553_); -lean_dec(v_ref_550_); -return v_res_555_; +lean_object* v_res_540_; +v_res_540_ = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3(v_cls_535_, v_msg_536_, v___y_537_, v___y_538_); +lean_dec(v___y_538_); +lean_dec_ref(v___y_537_); +return v_res_540_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1(void){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg(lean_object* v_cls_544_, lean_object* v___y_545_){ _start: { -lean_object* v___x_557_; lean_object* v___x_558_; -v___x_557_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__0)); -v___x_558_ = l_Lean_stringToMessageData(v___x_557_); -return v___x_558_; +lean_object* v_options_547_; uint8_t v_hasTrace_548_; +v_options_547_ = lean_ctor_get(v___y_545_, 2); +v_hasTrace_548_ = lean_ctor_get_uint8(v_options_547_, sizeof(void*)*1); +if (v_hasTrace_548_ == 0) +{ +lean_object* v___x_549_; lean_object* v___x_550_; +lean_dec(v_cls_544_); +v___x_549_ = lean_box(v_hasTrace_548_); +v___x_550_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_550_, 0, v___x_549_); +return v___x_550_; +} +else +{ +lean_object* v_inheritedTraceOptions_551_; lean_object* v___x_552_; lean_object* v___x_553_; uint8_t v___x_554_; lean_object* v___x_555_; lean_object* v___x_556_; +v_inheritedTraceOptions_551_ = lean_ctor_get(v___y_545_, 13); +v___x_552_ = ((lean_object*)(l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___closed__1)); +v___x_553_ = l_Lean_Name_append(v___x_552_, v_cls_544_); +v___x_554_ = l___private_Lean_Util_Trace_0__Lean_checkTraceOption_go(v_inheritedTraceOptions_551_, v_options_547_, v___x_553_); +lean_dec(v___x_553_); +v___x_555_ = lean_box(v___x_554_); +v___x_556_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_556_, 0, v___x_555_); +return v___x_556_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3(void){ +} +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg___boxed(lean_object* v_cls_557_, lean_object* v___y_558_, lean_object* v___y_559_){ _start: { -lean_object* v___x_560_; lean_object* v___x_561_; -v___x_560_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__2)); -v___x_561_ = l_Lean_stringToMessageData(v___x_560_); -return v___x_561_; +lean_object* v_res_560_; +v_res_560_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg(v_cls_557_, v___y_558_); +lean_dec_ref(v___y_558_); +return v_res_560_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5(void){ +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2(void){ _start: { -lean_object* v___x_563_; lean_object* v___x_564_; -v___x_563_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__4)); -v___x_564_ = l_Lean_stringToMessageData(v___x_563_); -return v___x_564_; +lean_object* v___x_563_; lean_object* v___x_564_; lean_object* v___x_565_; +v___x_563_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__1)); +v___x_564_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__0)); +v___x_565_ = l_Lean_PersistentHashMap_empty(lean_box(0), lean_box(0), v___x_564_, v___x_563_); +return v___x_565_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7(void){ +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3(void){ _start: { -lean_object* v___x_566_; lean_object* v___x_567_; -v___x_566_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__6)); -v___x_567_ = l_Lean_stringToMessageData(v___x_566_); -return v___x_567_; +lean_object* v___x_566_; +v___x_566_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_566_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9(void){ +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4(void){ +_start: +{ +lean_object* v___x_567_; lean_object* v___x_568_; +v___x_567_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__3); +v___x_568_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_568_, 0, v___x_567_); +return v___x_568_; +} +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5(void){ _start: { lean_object* v___x_569_; lean_object* v___x_570_; -v___x_569_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__8)); -v___x_570_ = l_Lean_stringToMessageData(v___x_569_); +v___x_569_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__4); +v___x_570_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_570_, 0, v___x_569_); +lean_ctor_set(v___x_570_, 1, v___x_569_); return v___x_570_; } } -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11(void){ -_start: -{ -lean_object* v___x_572_; lean_object* v___x_573_; -v___x_572_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__10)); -v___x_573_ = l_Lean_stringToMessageData(v___x_572_); -return v___x_573_; -} -} -static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13(void){ +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9(void){ _start: { lean_object* v___x_575_; lean_object* v___x_576_; -v___x_575_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__12)); +v___x_575_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__8)); v___x_576_ = l_Lean_stringToMessageData(v___x_575_); return v___x_576_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(lean_object* v_msg_577_, lean_object* v_declHint_578_, lean_object* v___y_579_){ +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11(void){ _start: { -lean_object* v___x_581_; lean_object* v_env_582_; uint8_t v___x_583_; -v___x_581_ = lean_st_ref_get(v___y_579_); -v_env_582_ = lean_ctor_get(v___x_581_, 0); -lean_inc_ref(v_env_582_); -lean_dec(v___x_581_); -v___x_583_ = l_Lean_Name_isAnonymous(v_declHint_578_); -if (v___x_583_ == 0) -{ -uint8_t v_isExporting_584_; -v_isExporting_584_ = lean_ctor_get_uint8(v_env_582_, sizeof(void*)*8); -if (v_isExporting_584_ == 0) -{ -lean_object* v___x_585_; -lean_dec_ref(v_env_582_); -lean_dec(v_declHint_578_); -v___x_585_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_585_, 0, v_msg_577_); -return v___x_585_; +lean_object* v___x_578_; lean_object* v___x_579_; +v___x_578_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__10)); +v___x_579_ = l_Lean_stringToMessageData(v___x_578_); +return v___x_579_; } -else -{ -lean_object* v___x_586_; uint8_t v___x_587_; -lean_inc_ref(v_env_582_); -v___x_586_ = l_Lean_Environment_setExporting(v_env_582_, v___x_583_); -lean_inc(v_declHint_578_); -lean_inc_ref(v___x_586_); -v___x_587_ = l_Lean_Environment_contains(v___x_586_, v_declHint_578_, v_isExporting_584_); -if (v___x_587_ == 0) -{ -lean_object* v___x_588_; -lean_dec_ref(v___x_586_); -lean_dec_ref(v_env_582_); -lean_dec(v_declHint_578_); -v___x_588_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_588_, 0, v_msg_577_); -return v___x_588_; } -else +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12(void){ +_start: { -lean_object* v___x_589_; lean_object* v___x_590_; lean_object* v___x_591_; lean_object* v___x_592_; lean_object* v___x_593_; lean_object* v_c_594_; lean_object* v___x_595_; -v___x_589_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__2); -v___x_590_ = lean_obj_once(&l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5, &l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5_once, _init_l_Lean_addMessageContextPartial___at___00Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__3_spec__6___closed__5); -v___x_591_ = l_Lean_Options_empty; -v___x_592_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_592_, 0, v___x_586_); -lean_ctor_set(v___x_592_, 1, v___x_589_); -lean_ctor_set(v___x_592_, 2, v___x_590_); -lean_ctor_set(v___x_592_, 3, v___x_591_); -lean_inc(v_declHint_578_); -v___x_593_ = l_Lean_MessageData_ofConstName(v_declHint_578_, v___x_583_); -v_c_594_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_c_594_, 0, v___x_592_); -lean_ctor_set(v_c_594_, 1, v___x_593_); -v___x_595_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_582_, v_declHint_578_); -if (lean_obj_tag(v___x_595_) == 0) -{ -lean_object* v___x_596_; lean_object* v___x_597_; lean_object* v___x_598_; lean_object* v___x_599_; lean_object* v___x_600_; lean_object* v___x_601_; lean_object* v___x_602_; -lean_dec_ref(v_env_582_); -lean_dec(v_declHint_578_); -v___x_596_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1); -v___x_597_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_597_, 0, v___x_596_); -lean_ctor_set(v___x_597_, 1, v_c_594_); -v___x_598_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__3); -v___x_599_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_599_, 0, v___x_597_); -lean_ctor_set(v___x_599_, 1, v___x_598_); -v___x_600_ = l_Lean_MessageData_note(v___x_599_); -v___x_601_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_601_, 0, v_msg_577_); -lean_ctor_set(v___x_601_, 1, v___x_600_); -v___x_602_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_602_, 0, v___x_601_); -return v___x_602_; +lean_object* v___x_580_; lean_object* v___x_581_; +v___x_580_ = ((lean_object*)(l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3___closed__1)); +v___x_581_ = l_Lean_stringToMessageData(v___x_580_); +return v___x_581_; } -else -{ -lean_object* v_val_603_; lean_object* v___x_605_; uint8_t v_isShared_606_; uint8_t v_isSharedCheck_638_; -v_val_603_ = lean_ctor_get(v___x_595_, 0); -v_isSharedCheck_638_ = !lean_is_exclusive(v___x_595_); -if (v_isSharedCheck_638_ == 0) -{ -v___x_605_ = v___x_595_; -v_isShared_606_ = v_isSharedCheck_638_; -goto v_resetjp_604_; } -else +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14(void){ +_start: { -lean_inc(v_val_603_); -lean_dec(v___x_595_); -v___x_605_ = lean_box(0); -v_isShared_606_ = v_isSharedCheck_638_; -goto v_resetjp_604_; +lean_object* v___x_583_; lean_object* v___x_584_; +v___x_583_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__13)); +v___x_584_ = l_Lean_stringToMessageData(v___x_583_); +return v___x_584_; } -v_resetjp_604_: +} +static lean_object* _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16(void){ +_start: { -lean_object* v___x_607_; lean_object* v___x_608_; lean_object* v___x_609_; lean_object* v_mod_610_; uint8_t v___x_611_; +lean_object* v___x_586_; lean_object* v___x_587_; +v___x_586_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__15)); +v___x_587_ = l_Lean_stringToMessageData(v___x_586_); +return v___x_587_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0(lean_object* v_mod_592_, uint8_t v_isMeta_593_, lean_object* v_hint_594_, lean_object* v___y_595_, lean_object* v___y_596_){ +_start: +{ +lean_object* v___x_598_; lean_object* v_env_599_; uint8_t v_isExporting_600_; lean_object* v___x_601_; lean_object* v_env_602_; lean_object* v___x_603_; lean_object* v_entry_604_; lean_object* v___x_605_; lean_object* v___x_606_; lean_object* v___x_607_; lean_object* v___y_609_; lean_object* v___x_634_; uint8_t v___x_635_; +v___x_598_ = lean_st_ref_get(v___y_596_); +v_env_599_ = lean_ctor_get(v___x_598_, 0); +lean_inc_ref(v_env_599_); +lean_dec(v___x_598_); +v_isExporting_600_ = lean_ctor_get_uint8(v_env_599_, sizeof(void*)*8); +lean_dec_ref(v_env_599_); +v___x_601_ = lean_st_ref_get(v___y_596_); +v_env_602_ = lean_ctor_get(v___x_601_, 0); +lean_inc_ref(v_env_602_); +lean_dec(v___x_601_); +v___x_603_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__2); +lean_inc(v_mod_592_); +v_entry_604_ = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(v_entry_604_, 0, v_mod_592_); +lean_ctor_set_uint8(v_entry_604_, sizeof(void*)*1, v_isExporting_600_); +lean_ctor_set_uint8(v_entry_604_, sizeof(void*)*1 + 1, v_isMeta_593_); +v___x_605_ = l___private_Lean_ExtraModUses_0__Lean_extraModUses; +v___x_606_ = lean_box(1); v___x_607_ = lean_box(0); -v___x_608_ = l_Lean_Environment_header(v_env_582_); -lean_dec_ref(v_env_582_); -v___x_609_ = l_Lean_EnvironmentHeader_moduleNames(v___x_608_); -v_mod_610_ = lean_array_get(v___x_607_, v___x_609_, v_val_603_); -lean_dec(v_val_603_); -lean_dec_ref(v___x_609_); -v___x_611_ = l_Lean_isPrivateName(v_declHint_578_); -lean_dec(v_declHint_578_); -if (v___x_611_ == 0) +v___x_634_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_603_, v___x_605_, v_env_602_, v___x_606_, v___x_607_); +v___x_635_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg(v___x_634_, v_entry_604_); +if (v___x_635_ == 0) { -lean_object* v___x_612_; lean_object* v___x_613_; lean_object* v___x_614_; lean_object* v___x_615_; lean_object* v___x_616_; lean_object* v___x_617_; lean_object* v___x_618_; lean_object* v___x_619_; lean_object* v___x_620_; lean_object* v___x_621_; lean_object* v___x_623_; -v___x_612_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__5); -v___x_613_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_613_, 0, v___x_612_); -lean_ctor_set(v___x_613_, 1, v_c_594_); -v___x_614_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__7); -v___x_615_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_615_, 0, v___x_613_); -lean_ctor_set(v___x_615_, 1, v___x_614_); -v___x_616_ = l_Lean_MessageData_ofName(v_mod_610_); -v___x_617_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_617_, 0, v___x_615_); -lean_ctor_set(v___x_617_, 1, v___x_616_); -v___x_618_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__9); -v___x_619_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_619_, 0, v___x_617_); -lean_ctor_set(v___x_619_, 1, v___x_618_); -v___x_620_ = l_Lean_MessageData_note(v___x_619_); -v___x_621_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_621_, 0, v_msg_577_); -lean_ctor_set(v___x_621_, 1, v___x_620_); -if (v_isShared_606_ == 0) +lean_object* v_cls_636_; lean_object* v___x_637_; lean_object* v_a_638_; lean_object* v___y_640_; lean_object* v___y_641_; lean_object* v___y_645_; lean_object* v___y_646_; uint8_t v___x_658_; +v_cls_636_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__7)); +v___x_637_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg(v_cls_636_, v___y_595_); +v_a_638_ = lean_ctor_get(v___x_637_, 0); +lean_inc(v_a_638_); +lean_dec_ref(v___x_637_); +v___x_658_ = lean_unbox(v_a_638_); +lean_dec(v_a_638_); +if (v___x_658_ == 0) { -lean_ctor_set_tag(v___x_605_, 0); -lean_ctor_set(v___x_605_, 0, v___x_621_); -v___x_623_ = v___x_605_; -goto v_reusejp_622_; +lean_dec(v_hint_594_); +lean_dec(v_mod_592_); +v___y_609_ = v___y_596_; +goto v___jp_608_; } else { -lean_object* v_reuseFailAlloc_624_; -v_reuseFailAlloc_624_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_624_, 0, v___x_621_); -v___x_623_ = v_reuseFailAlloc_624_; -goto v_reusejp_622_; -} -v_reusejp_622_: +lean_object* v___x_659_; lean_object* v___y_661_; +v___x_659_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__14); +if (v_isExporting_600_ == 0) { -return v___x_623_; -} +lean_object* v___x_668_; +v___x_668_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__19)); +v___y_661_ = v___x_668_; +goto v___jp_660_; } else { -lean_object* v___x_625_; lean_object* v___x_626_; lean_object* v___x_627_; lean_object* v___x_628_; lean_object* v___x_629_; lean_object* v___x_630_; lean_object* v___x_631_; lean_object* v___x_632_; lean_object* v___x_633_; lean_object* v___x_634_; lean_object* v___x_636_; -v___x_625_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__1); -v___x_626_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_626_, 0, v___x_625_); -lean_ctor_set(v___x_626_, 1, v_c_594_); -v___x_627_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__11); -v___x_628_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_628_, 0, v___x_626_); -lean_ctor_set(v___x_628_, 1, v___x_627_); -v___x_629_ = l_Lean_MessageData_ofName(v_mod_610_); -v___x_630_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_630_, 0, v___x_628_); -lean_ctor_set(v___x_630_, 1, v___x_629_); -v___x_631_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___closed__13); -v___x_632_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_632_, 0, v___x_630_); -lean_ctor_set(v___x_632_, 1, v___x_631_); -v___x_633_ = l_Lean_MessageData_note(v___x_632_); -v___x_634_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_634_, 0, v_msg_577_); -lean_ctor_set(v___x_634_, 1, v___x_633_); -if (v_isShared_606_ == 0) +lean_object* v___x_669_; +v___x_669_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__20)); +v___y_661_ = v___x_669_; +goto v___jp_660_; +} +v___jp_660_: { -lean_ctor_set_tag(v___x_605_, 0); -lean_ctor_set(v___x_605_, 0, v___x_634_); -v___x_636_ = v___x_605_; -goto v_reusejp_635_; +lean_object* v___x_662_; lean_object* v___x_663_; lean_object* v___x_664_; lean_object* v___x_665_; +v___x_662_ = l_Lean_stringToMessageData(v___y_661_); +v___x_663_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_663_, 0, v___x_659_); +lean_ctor_set(v___x_663_, 1, v___x_662_); +v___x_664_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__16); +v___x_665_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_665_, 0, v___x_663_); +lean_ctor_set(v___x_665_, 1, v___x_664_); +if (v_isMeta_593_ == 0) +{ +lean_object* v___x_666_; +v___x_666_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__17)); +v___y_645_ = v___x_665_; +v___y_646_ = v___x_666_; +goto v___jp_644_; } else { -lean_object* v_reuseFailAlloc_637_; -v_reuseFailAlloc_637_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_637_, 0, v___x_634_); -v___x_636_ = v_reuseFailAlloc_637_; -goto v_reusejp_635_; +lean_object* v___x_667_; +v___x_667_ = ((lean_object*)(l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__18)); +v___y_645_ = v___x_665_; +v___y_646_ = v___x_667_; +goto v___jp_644_; } -v_reusejp_635_: +} +} +v___jp_639_: { -return v___x_636_; -} +lean_object* v___x_642_; lean_object* v___x_643_; +v___x_642_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_642_, 0, v___y_640_); +lean_ctor_set(v___x_642_, 1, v___y_641_); +v___x_643_ = l_Lean_addTrace___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__3(v_cls_636_, v___x_642_, v___y_595_, v___y_596_); +if (lean_obj_tag(v___x_643_) == 0) +{ +lean_dec_ref(v___x_643_); +v___y_609_ = v___y_596_; +goto v___jp_608_; +} +else +{ +lean_dec_ref(v_entry_604_); +return v___x_643_; } } +v___jp_644_: +{ +lean_object* v___x_647_; lean_object* v___x_648_; lean_object* v___x_649_; lean_object* v___x_650_; lean_object* v___x_651_; lean_object* v___x_652_; uint8_t v___x_653_; +v___x_647_ = l_Lean_stringToMessageData(v___y_646_); +v___x_648_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_648_, 0, v___y_645_); +lean_ctor_set(v___x_648_, 1, v___x_647_); +v___x_649_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__9); +v___x_650_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_650_, 0, v___x_648_); +lean_ctor_set(v___x_650_, 1, v___x_649_); +v___x_651_ = l_Lean_MessageData_ofName(v_mod_592_); +v___x_652_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_652_, 0, v___x_650_); +lean_ctor_set(v___x_652_, 1, v___x_651_); +v___x_653_ = l_Lean_Name_isAnonymous(v_hint_594_); +if (v___x_653_ == 0) +{ +lean_object* v___x_654_; lean_object* v___x_655_; lean_object* v___x_656_; +v___x_654_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__11); +v___x_655_ = l_Lean_MessageData_ofName(v_hint_594_); +v___x_656_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_656_, 0, v___x_654_); +lean_ctor_set(v___x_656_, 1, v___x_655_); +v___y_640_ = v___x_652_; +v___y_641_ = v___x_656_; +goto v___jp_639_; } +else +{ +lean_object* v___x_657_; +lean_dec(v_hint_594_); +v___x_657_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__12); +v___y_640_ = v___x_652_; +v___y_641_ = v___x_657_; +goto v___jp_639_; } } } else { -lean_object* v___x_639_; -lean_dec_ref(v_env_582_); -lean_dec(v_declHint_578_); -v___x_639_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_639_, 0, v_msg_577_); -return v___x_639_; +lean_object* v___x_670_; lean_object* v___x_671_; +lean_dec_ref(v_entry_604_); +lean_dec(v_hint_594_); +lean_dec(v_mod_592_); +v___x_670_ = lean_box(0); +v___x_671_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_671_, 0, v___x_670_); +return v___x_671_; } -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg___boxed(lean_object* v_msg_640_, lean_object* v_declHint_641_, lean_object* v___y_642_, lean_object* v___y_643_){ -_start: +v___jp_608_: { -lean_object* v_res_644_; -v_res_644_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_640_, v_declHint_641_, v___y_642_); -lean_dec(v___y_642_); -return v_res_644_; -} -} -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(lean_object* v_msg_645_, lean_object* v_declHint_646_, lean_object* v___y_647_, lean_object* v___y_648_){ -_start: +lean_object* v___x_610_; lean_object* v_toEnvExtension_611_; lean_object* v_env_612_; lean_object* v_nextMacroScope_613_; lean_object* v_ngen_614_; lean_object* v_auxDeclNGen_615_; lean_object* v_traceState_616_; lean_object* v_messages_617_; lean_object* v_infoState_618_; lean_object* v_snapshotTasks_619_; lean_object* v___x_621_; uint8_t v_isShared_622_; uint8_t v_isSharedCheck_632_; +v___x_610_ = lean_st_ref_take(v___y_609_); +v_toEnvExtension_611_ = lean_ctor_get(v___x_605_, 0); +lean_inc_ref(v_toEnvExtension_611_); +v_env_612_ = lean_ctor_get(v___x_610_, 0); +v_nextMacroScope_613_ = lean_ctor_get(v___x_610_, 1); +v_ngen_614_ = lean_ctor_get(v___x_610_, 2); +v_auxDeclNGen_615_ = lean_ctor_get(v___x_610_, 3); +v_traceState_616_ = lean_ctor_get(v___x_610_, 4); +v_messages_617_ = lean_ctor_get(v___x_610_, 6); +v_infoState_618_ = lean_ctor_get(v___x_610_, 7); +v_snapshotTasks_619_ = lean_ctor_get(v___x_610_, 8); +v_isSharedCheck_632_ = !lean_is_exclusive(v___x_610_); +if (v_isSharedCheck_632_ == 0) { -lean_object* v___x_650_; lean_object* v_a_651_; lean_object* v___x_653_; uint8_t v_isShared_654_; uint8_t v_isSharedCheck_660_; -v___x_650_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_645_, v_declHint_646_, v___y_648_); -v_a_651_ = lean_ctor_get(v___x_650_, 0); -v_isSharedCheck_660_ = !lean_is_exclusive(v___x_650_); -if (v_isSharedCheck_660_ == 0) -{ -v___x_653_ = v___x_650_; -v_isShared_654_ = v_isSharedCheck_660_; -goto v_resetjp_652_; +lean_object* v_unused_633_; +v_unused_633_ = lean_ctor_get(v___x_610_, 5); +lean_dec(v_unused_633_); +v___x_621_ = v___x_610_; +v_isShared_622_ = v_isSharedCheck_632_; +goto v_resetjp_620_; } else { -lean_inc(v_a_651_); -lean_dec(v___x_650_); -v___x_653_ = lean_box(0); -v_isShared_654_ = v_isSharedCheck_660_; -goto v_resetjp_652_; +lean_inc(v_snapshotTasks_619_); +lean_inc(v_infoState_618_); +lean_inc(v_messages_617_); +lean_inc(v_traceState_616_); +lean_inc(v_auxDeclNGen_615_); +lean_inc(v_ngen_614_); +lean_inc(v_nextMacroScope_613_); +lean_inc(v_env_612_); +lean_dec(v___x_610_); +v___x_621_ = lean_box(0); +v_isShared_622_ = v_isSharedCheck_632_; +goto v_resetjp_620_; } -v_resetjp_652_: +v_resetjp_620_: { -lean_object* v___x_655_; lean_object* v___x_656_; lean_object* v___x_658_; -v___x_655_ = l_Lean_unknownIdentifierMessageTag; -v___x_656_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_656_, 0, v___x_655_); -lean_ctor_set(v___x_656_, 1, v_a_651_); -if (v_isShared_654_ == 0) +lean_object* v_asyncMode_623_; lean_object* v___x_624_; lean_object* v___x_625_; lean_object* v___x_627_; +v_asyncMode_623_ = lean_ctor_get(v_toEnvExtension_611_, 2); +lean_inc(v_asyncMode_623_); +lean_dec_ref(v_toEnvExtension_611_); +v___x_624_ = l_Lean_PersistentEnvExtension_addEntry___redArg(v___x_605_, v_env_612_, v_entry_604_, v_asyncMode_623_, v___x_607_); +lean_dec(v_asyncMode_623_); +v___x_625_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5); +if (v_isShared_622_ == 0) { -lean_ctor_set(v___x_653_, 0, v___x_656_); -v___x_658_ = v___x_653_; -goto v_reusejp_657_; +lean_ctor_set(v___x_621_, 5, v___x_625_); +lean_ctor_set(v___x_621_, 0, v___x_624_); +v___x_627_ = v___x_621_; +goto v_reusejp_626_; } else { -lean_object* v_reuseFailAlloc_659_; -v_reuseFailAlloc_659_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_659_, 0, v___x_656_); -v___x_658_ = v_reuseFailAlloc_659_; -goto v_reusejp_657_; +lean_object* v_reuseFailAlloc_631_; +v_reuseFailAlloc_631_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_631_, 0, v___x_624_); +lean_ctor_set(v_reuseFailAlloc_631_, 1, v_nextMacroScope_613_); +lean_ctor_set(v_reuseFailAlloc_631_, 2, v_ngen_614_); +lean_ctor_set(v_reuseFailAlloc_631_, 3, v_auxDeclNGen_615_); +lean_ctor_set(v_reuseFailAlloc_631_, 4, v_traceState_616_); +lean_ctor_set(v_reuseFailAlloc_631_, 5, v___x_625_); +lean_ctor_set(v_reuseFailAlloc_631_, 6, v_messages_617_); +lean_ctor_set(v_reuseFailAlloc_631_, 7, v_infoState_618_); +lean_ctor_set(v_reuseFailAlloc_631_, 8, v_snapshotTasks_619_); +v___x_627_ = v_reuseFailAlloc_631_; +goto v_reusejp_626_; } -v_reusejp_657_: +v_reusejp_626_: { -return v___x_658_; +lean_object* v___x_628_; lean_object* v___x_629_; lean_object* v___x_630_; +v___x_628_ = lean_st_ref_set(v___y_609_, v___x_627_); +v___x_629_ = lean_box(0); +v___x_630_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_630_, 0, v___x_629_); +return v___x_630_; } } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19___boxed(lean_object* v_msg_661_, lean_object* v_declHint_662_, lean_object* v___y_663_, lean_object* v___y_664_, lean_object* v___y_665_){ +} +LEAN_EXPORT lean_object* l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___boxed(lean_object* v_mod_672_, lean_object* v_isMeta_673_, lean_object* v_hint_674_, lean_object* v___y_675_, lean_object* v___y_676_, lean_object* v___y_677_){ _start: { -lean_object* v_res_666_; -v_res_666_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(v_msg_661_, v_declHint_662_, v___y_663_, v___y_664_); -lean_dec(v___y_664_); -lean_dec_ref(v___y_663_); -return v_res_666_; +uint8_t v_isMeta_boxed_678_; lean_object* v_res_679_; +v_isMeta_boxed_678_ = lean_unbox(v_isMeta_673_); +v_res_679_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0(v_mod_672_, v_isMeta_boxed_678_, v_hint_674_, v___y_675_, v___y_676_); +lean_dec(v___y_676_); +lean_dec_ref(v___y_675_); +return v_res_679_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(lean_object* v_ref_667_, lean_object* v_msg_668_, lean_object* v_declHint_669_, lean_object* v___y_670_, lean_object* v___y_671_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg(lean_object* v_a_680_, lean_object* v_x_681_){ _start: { -lean_object* v___x_673_; lean_object* v_a_674_; lean_object* v___x_675_; -v___x_673_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19(v_msg_668_, v_declHint_669_, v___y_670_, v___y_671_); -v_a_674_ = lean_ctor_get(v___x_673_, 0); -lean_inc(v_a_674_); -lean_dec_ref(v___x_673_); -v___x_675_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_667_, v_a_674_, v___y_670_, v___y_671_); -return v___x_675_; -} -} -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg___boxed(lean_object* v_ref_676_, lean_object* v_msg_677_, lean_object* v_declHint_678_, lean_object* v___y_679_, lean_object* v___y_680_, lean_object* v___y_681_){ -_start: +if (lean_obj_tag(v_x_681_) == 0) { -lean_object* v_res_682_; -v_res_682_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_676_, v_msg_677_, v_declHint_678_, v___y_679_, v___y_680_); -lean_dec(v___y_680_); -lean_dec(v_ref_676_); -return v_res_682_; +lean_object* v___x_682_; +v___x_682_ = lean_box(0); +return v___x_682_; } -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1(void){ -_start: +else { -lean_object* v___x_684_; lean_object* v___x_685_; -v___x_684_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__0)); -v___x_685_ = l_Lean_stringToMessageData(v___x_684_); -return v___x_685_; -} -} -static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3(void){ -_start: +lean_object* v_key_683_; lean_object* v_value_684_; lean_object* v_tail_685_; uint8_t v___x_686_; +v_key_683_ = lean_ctor_get(v_x_681_, 0); +v_value_684_ = lean_ctor_get(v_x_681_, 1); +v_tail_685_ = lean_ctor_get(v_x_681_, 2); +v___x_686_ = lean_name_eq(v_key_683_, v_a_680_); +if (v___x_686_ == 0) { -lean_object* v___x_687_; lean_object* v___x_688_; -v___x_687_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__2)); -v___x_688_ = l_Lean_stringToMessageData(v___x_687_); +v_x_681_ = v_tail_685_; +goto _start; +} +else +{ +lean_object* v___x_688_; +lean_inc(v_value_684_); +v___x_688_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_688_, 0, v_value_684_); return v___x_688_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(lean_object* v_ref_689_, lean_object* v_constName_690_, lean_object* v___y_691_, lean_object* v___y_692_){ +} +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg___boxed(lean_object* v_a_689_, lean_object* v_x_690_){ _start: { -lean_object* v___x_694_; uint8_t v___x_695_; lean_object* v___x_696_; lean_object* v___x_697_; lean_object* v___x_698_; lean_object* v___x_699_; lean_object* v___x_700_; -v___x_694_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__1); -v___x_695_ = 0; -lean_inc(v_constName_690_); -v___x_696_ = l_Lean_MessageData_ofConstName(v_constName_690_, v___x_695_); -v___x_697_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_697_, 0, v___x_694_); -lean_ctor_set(v___x_697_, 1, v___x_696_); -v___x_698_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3); -v___x_699_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_699_, 0, v___x_697_); -lean_ctor_set(v___x_699_, 1, v___x_698_); -v___x_700_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_689_, v___x_699_, v_constName_690_, v___y_691_, v___y_692_); -return v___x_700_; +lean_object* v_res_691_; +v_res_691_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg(v_a_689_, v_x_690_); +lean_dec(v_x_690_); +lean_dec(v_a_689_); +return v_res_691_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___boxed(lean_object* v_ref_701_, lean_object* v_constName_702_, lean_object* v___y_703_, lean_object* v___y_704_, lean_object* v___y_705_){ +static uint64_t _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0(void){ _start: { -lean_object* v_res_706_; -v_res_706_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_701_, v_constName_702_, v___y_703_, v___y_704_); -lean_dec(v___y_704_); -lean_dec(v_ref_701_); -return v_res_706_; +lean_object* v___x_692_; uint64_t v___x_693_; +v___x_692_ = lean_unsigned_to_nat(1723u); +v___x_693_ = lean_uint64_of_nat(v___x_692_); +return v___x_693_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(lean_object* v_constName_707_, lean_object* v___y_708_, lean_object* v___y_709_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(lean_object* v_m_694_, lean_object* v_a_695_){ _start: { -lean_object* v_ref_711_; lean_object* v___x_712_; -v_ref_711_ = lean_ctor_get(v___y_708_, 5); -lean_inc(v_ref_711_); -v___x_712_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_711_, v_constName_707_, v___y_708_, v___y_709_); -lean_dec(v_ref_711_); +lean_object* v_buckets_696_; lean_object* v___x_697_; uint64_t v___y_699_; +v_buckets_696_ = lean_ctor_get(v_m_694_, 1); +v___x_697_ = lean_array_get_size(v_buckets_696_); +if (lean_obj_tag(v_a_695_) == 0) +{ +uint64_t v___x_713_; +v___x_713_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_699_ = v___x_713_; +goto v___jp_698_; +} +else +{ +uint64_t v_hash_714_; +v_hash_714_ = lean_ctor_get_uint64(v_a_695_, sizeof(void*)*2); +v___y_699_ = v_hash_714_; +goto v___jp_698_; +} +v___jp_698_: +{ +uint64_t v___x_700_; uint64_t v___x_701_; uint64_t v_fold_702_; uint64_t v___x_703_; uint64_t v___x_704_; uint64_t v___x_705_; size_t v___x_706_; size_t v___x_707_; size_t v___x_708_; size_t v___x_709_; size_t v___x_710_; lean_object* v___x_711_; lean_object* v___x_712_; +v___x_700_ = 32ULL; +v___x_701_ = lean_uint64_shift_right(v___y_699_, v___x_700_); +v_fold_702_ = lean_uint64_xor(v___y_699_, v___x_701_); +v___x_703_ = 16ULL; +v___x_704_ = lean_uint64_shift_right(v_fold_702_, v___x_703_); +v___x_705_ = lean_uint64_xor(v_fold_702_, v___x_704_); +v___x_706_ = lean_uint64_to_usize(v___x_705_); +v___x_707_ = lean_usize_of_nat(v___x_697_); +v___x_708_ = ((size_t)1ULL); +v___x_709_ = lean_usize_sub(v___x_707_, v___x_708_); +v___x_710_ = lean_usize_land(v___x_706_, v___x_709_); +v___x_711_ = lean_array_uget_borrowed(v_buckets_696_, v___x_710_); +v___x_712_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg(v_a_695_, v___x_711_); return v___x_712_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg___boxed(lean_object* v_constName_713_, lean_object* v___y_714_, lean_object* v___y_715_, lean_object* v___y_716_){ +} +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___boxed(lean_object* v_m_715_, lean_object* v_a_716_){ _start: { lean_object* v_res_717_; -v_res_717_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_713_, v___y_714_, v___y_715_); -lean_dec(v___y_715_); +v_res_717_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(v_m_715_, v_a_716_); +lean_dec(v_a_716_); +lean_dec_ref(v_m_715_); return v_res_717_; } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9(lean_object* v_constName_718_, lean_object* v___y_719_, lean_object* v___y_720_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1(lean_object* v___x_718_, lean_object* v_declName_719_, lean_object* v_as_720_, size_t v_sz_721_, size_t v_i_722_, lean_object* v_b_723_, lean_object* v___y_724_, lean_object* v___y_725_){ _start: { -lean_object* v___x_722_; lean_object* v_env_723_; uint8_t v___x_724_; lean_object* v___x_725_; -v___x_722_ = lean_st_ref_get(v___y_720_); -v_env_723_ = lean_ctor_get(v___x_722_, 0); -lean_inc_ref(v_env_723_); -lean_dec(v___x_722_); -v___x_724_ = 0; -lean_inc(v_constName_718_); -v___x_725_ = l_Lean_Environment_findConstVal_x3f(v_env_723_, v_constName_718_, v___x_724_); -if (lean_obj_tag(v___x_725_) == 0) +uint8_t v___x_727_; +v___x_727_ = lean_usize_dec_lt(v_i_722_, v_sz_721_); +if (v___x_727_ == 0) { -lean_object* v___x_726_; -v___x_726_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_718_, v___y_719_, v___y_720_); -return v___x_726_; +lean_object* v___x_728_; +lean_dec(v_declName_719_); +v___x_728_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_728_, 0, v_b_723_); +return v___x_728_; } else { -lean_object* v_val_727_; lean_object* v___x_729_; uint8_t v_isShared_730_; uint8_t v_isSharedCheck_734_; -lean_dec_ref(v___y_719_); -lean_dec(v_constName_718_); -v_val_727_ = lean_ctor_get(v___x_725_, 0); -v_isSharedCheck_734_ = !lean_is_exclusive(v___x_725_); -if (v_isSharedCheck_734_ == 0) +lean_object* v___x_729_; lean_object* v_modules_730_; lean_object* v___x_731_; lean_object* v_a_732_; lean_object* v___x_733_; lean_object* v_toImport_734_; lean_object* v_module_735_; uint8_t v___x_736_; lean_object* v___x_737_; +v___x_729_ = l_Lean_Environment_header(v___x_718_); +v_modules_730_ = lean_ctor_get(v___x_729_, 3); +lean_inc_ref(v_modules_730_); +lean_dec_ref(v___x_729_); +v___x_731_ = l_Lean_instInhabitedEffectiveImport_default; +v_a_732_ = lean_array_uget_borrowed(v_as_720_, v_i_722_); +v___x_733_ = lean_array_get(v___x_731_, v_modules_730_, v_a_732_); +lean_dec_ref(v_modules_730_); +v_toImport_734_ = lean_ctor_get(v___x_733_, 0); +lean_inc_ref(v_toImport_734_); +lean_dec(v___x_733_); +v_module_735_ = lean_ctor_get(v_toImport_734_, 0); +lean_inc(v_module_735_); +lean_dec_ref(v_toImport_734_); +v___x_736_ = 0; +lean_inc(v_declName_719_); +v___x_737_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0(v_module_735_, v___x_736_, v_declName_719_, v___y_724_, v___y_725_); +if (lean_obj_tag(v___x_737_) == 0) { -v___x_729_ = v___x_725_; -v_isShared_730_ = v_isSharedCheck_734_; -goto v_resetjp_728_; -} -else -{ -lean_inc(v_val_727_); -lean_dec(v___x_725_); -v___x_729_ = lean_box(0); -v_isShared_730_ = v_isSharedCheck_734_; -goto v_resetjp_728_; -} -v_resetjp_728_: -{ -lean_object* v___x_732_; -if (v_isShared_730_ == 0) -{ -lean_ctor_set_tag(v___x_729_, 0); -v___x_732_ = v___x_729_; -goto v_reusejp_731_; -} -else -{ -lean_object* v_reuseFailAlloc_733_; -v_reuseFailAlloc_733_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_733_, 0, v_val_727_); -v___x_732_ = v_reuseFailAlloc_733_; -goto v_reusejp_731_; -} -v_reusejp_731_: -{ -return v___x_732_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9___boxed(lean_object* v_constName_735_, lean_object* v___y_736_, lean_object* v___y_737_, lean_object* v___y_738_){ -_start: -{ -lean_object* v_res_739_; -v_res_739_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9(v_constName_735_, v___y_736_, v___y_737_); -lean_dec(v___y_737_); -return v_res_739_; -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__10(lean_object* v_a_740_, lean_object* v_a_741_){ -_start: -{ -if (lean_obj_tag(v_a_740_) == 0) -{ -lean_object* v___x_742_; -v___x_742_ = l_List_reverse___redArg(v_a_741_); -return v___x_742_; -} -else -{ -lean_object* v_head_743_; lean_object* v_tail_744_; lean_object* v___x_746_; uint8_t v_isShared_747_; uint8_t v_isSharedCheck_753_; -v_head_743_ = lean_ctor_get(v_a_740_, 0); -v_tail_744_ = lean_ctor_get(v_a_740_, 1); -v_isSharedCheck_753_ = !lean_is_exclusive(v_a_740_); -if (v_isSharedCheck_753_ == 0) -{ -v___x_746_ = v_a_740_; -v_isShared_747_ = v_isSharedCheck_753_; -goto v_resetjp_745_; -} -else -{ -lean_inc(v_tail_744_); -lean_inc(v_head_743_); -lean_dec(v_a_740_); -v___x_746_ = lean_box(0); -v_isShared_747_ = v_isSharedCheck_753_; -goto v_resetjp_745_; -} -v_resetjp_745_: -{ -lean_object* v___x_748_; lean_object* v___x_750_; -v___x_748_ = l_Lean_mkLevelParam(v_head_743_); -if (v_isShared_747_ == 0) -{ -lean_ctor_set(v___x_746_, 1, v_a_741_); -lean_ctor_set(v___x_746_, 0, v___x_748_); -v___x_750_ = v___x_746_; -goto v_reusejp_749_; -} -else -{ -lean_object* v_reuseFailAlloc_752_; -v_reuseFailAlloc_752_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_752_, 0, v___x_748_); -lean_ctor_set(v_reuseFailAlloc_752_, 1, v_a_741_); -v___x_750_ = v_reuseFailAlloc_752_; -goto v_reusejp_749_; -} -v_reusejp_749_: -{ -v_a_740_ = v_tail_744_; -v_a_741_ = v___x_750_; +lean_object* v___x_738_; size_t v___x_739_; size_t v___x_740_; +lean_dec_ref(v___x_737_); +v___x_738_ = lean_box(0); +v___x_739_ = ((size_t)1ULL); +v___x_740_ = lean_usize_add(v_i_722_, v___x_739_); +v_i_722_ = v___x_740_; +v_b_723_ = v___x_738_; goto _start; } +else +{ +lean_dec(v_declName_719_); +return v___x_737_; } } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4(lean_object* v_constName_754_, lean_object* v___y_755_, lean_object* v___y_756_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1___boxed(lean_object* v___x_742_, lean_object* v_declName_743_, lean_object* v_as_744_, lean_object* v_sz_745_, lean_object* v_i_746_, lean_object* v_b_747_, lean_object* v___y_748_, lean_object* v___y_749_, lean_object* v___y_750_){ _start: { -lean_object* v___x_758_; -lean_inc(v_constName_754_); -v___x_758_ = l_Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9(v_constName_754_, v___y_755_, v___y_756_); -if (lean_obj_tag(v___x_758_) == 0) +size_t v_sz_boxed_751_; size_t v_i_boxed_752_; lean_object* v_res_753_; +v_sz_boxed_751_ = lean_unbox_usize(v_sz_745_); +lean_dec(v_sz_745_); +v_i_boxed_752_ = lean_unbox_usize(v_i_746_); +lean_dec(v_i_746_); +v_res_753_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1(v___x_742_, v_declName_743_, v_as_744_, v_sz_boxed_751_, v_i_boxed_752_, v_b_747_, v___y_748_, v___y_749_); +lean_dec(v___y_749_); +lean_dec_ref(v___y_748_); +lean_dec_ref(v_as_744_); +lean_dec_ref(v___x_742_); +return v_res_753_; +} +} +static lean_object* _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2(void){ +_start: { -lean_object* v_a_759_; lean_object* v___x_761_; uint8_t v_isShared_762_; uint8_t v_isSharedCheck_770_; -v_a_759_ = lean_ctor_get(v___x_758_, 0); -v_isSharedCheck_770_ = !lean_is_exclusive(v___x_758_); -if (v_isSharedCheck_770_ == 0) +lean_object* v___x_756_; lean_object* v___x_757_; lean_object* v___x_758_; +v___x_756_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__1)); +v___x_757_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__0)); +v___x_758_ = l_Std_HashMap_instInhabited(lean_box(0), lean_box(0), v___x_757_, v___x_756_); +return v___x_758_; +} +} +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0(lean_object* v_declName_761_, uint8_t v_isMeta_762_, lean_object* v___y_763_, lean_object* v___y_764_){ +_start: { -v___x_761_ = v___x_758_; -v_isShared_762_ = v_isSharedCheck_770_; -goto v_resetjp_760_; +lean_object* v___x_766_; lean_object* v_env_770_; lean_object* v___y_772_; lean_object* v___x_785_; +v___x_766_ = lean_st_ref_get(v___y_764_); +v_env_770_ = lean_ctor_get(v___x_766_, 0); +lean_inc_ref(v_env_770_); +lean_dec(v___x_766_); +v___x_785_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_770_, v_declName_761_); +if (lean_obj_tag(v___x_785_) == 0) +{ +lean_dec_ref(v_env_770_); +lean_dec(v_declName_761_); +goto v___jp_767_; } else { -lean_inc(v_a_759_); -lean_dec(v___x_758_); -v___x_761_ = lean_box(0); -v_isShared_762_ = v_isSharedCheck_770_; -goto v_resetjp_760_; -} -v_resetjp_760_: +lean_object* v_val_786_; lean_object* v___x_787_; lean_object* v_modules_788_; lean_object* v___x_789_; uint8_t v___x_790_; +v_val_786_ = lean_ctor_get(v___x_785_, 0); +lean_inc(v_val_786_); +lean_dec_ref(v___x_785_); +v___x_787_ = l_Lean_Environment_header(v_env_770_); +v_modules_788_ = lean_ctor_get(v___x_787_, 3); +lean_inc_ref(v_modules_788_); +lean_dec_ref(v___x_787_); +v___x_789_ = lean_array_get_size(v_modules_788_); +v___x_790_ = lean_nat_dec_lt(v_val_786_, v___x_789_); +if (v___x_790_ == 0) { -lean_object* v_levelParams_763_; lean_object* v___x_764_; lean_object* v___x_765_; lean_object* v___x_766_; lean_object* v___x_768_; -v_levelParams_763_ = lean_ctor_get(v_a_759_, 1); -lean_inc(v_levelParams_763_); -lean_dec(v_a_759_); -v___x_764_ = lean_box(0); -v___x_765_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__10(v_levelParams_763_, v___x_764_); -v___x_766_ = l_Lean_mkConst(v_constName_754_, v___x_765_); -if (v_isShared_762_ == 0) -{ -lean_ctor_set(v___x_761_, 0, v___x_766_); -v___x_768_ = v___x_761_; -goto v_reusejp_767_; +lean_dec_ref(v_modules_788_); +lean_dec(v_val_786_); +lean_dec_ref(v_env_770_); +lean_dec(v_declName_761_); +goto v___jp_767_; } else { -lean_object* v_reuseFailAlloc_769_; -v_reuseFailAlloc_769_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_769_, 0, v___x_766_); -v___x_768_ = v_reuseFailAlloc_769_; -goto v_reusejp_767_; -} -v_reusejp_767_: +lean_object* v___x_791_; lean_object* v_env_792_; lean_object* v___x_793_; lean_object* v___x_794_; uint8_t v___y_796_; +v___x_791_ = lean_st_ref_get(v___y_764_); +v_env_792_ = lean_ctor_get(v___x_791_, 0); +lean_inc_ref(v_env_792_); +lean_dec(v___x_791_); +v___x_793_ = lean_obj_once(&l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2, &l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2_once, _init_l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__2); +v___x_794_ = lean_array_fget(v_modules_788_, v_val_786_); +lean_dec(v_val_786_); +lean_dec_ref(v_modules_788_); +if (v_isMeta_762_ == 0) { -return v___x_768_; +lean_dec_ref(v_env_792_); +v___y_796_ = v_isMeta_762_; +goto v___jp_795_; } +else +{ +uint8_t v___x_807_; +lean_inc(v_declName_761_); +v___x_807_ = l_Lean_isMarkedMeta(v_env_792_, v_declName_761_); +if (v___x_807_ == 0) +{ +v___y_796_ = v_isMeta_762_; +goto v___jp_795_; +} +else +{ +uint8_t v___x_808_; +v___x_808_ = 0; +v___y_796_ = v___x_808_; +goto v___jp_795_; +} +} +v___jp_795_: +{ +lean_object* v_toImport_797_; lean_object* v_module_798_; lean_object* v___x_799_; +v_toImport_797_ = lean_ctor_get(v___x_794_, 0); +lean_inc_ref(v_toImport_797_); +lean_dec(v___x_794_); +v_module_798_ = lean_ctor_get(v_toImport_797_, 0); +lean_inc(v_module_798_); +lean_dec_ref(v_toImport_797_); +lean_inc(v_declName_761_); +v___x_799_ = l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0(v_module_798_, v___y_796_, v_declName_761_, v___y_763_, v___y_764_); +if (lean_obj_tag(v___x_799_) == 0) +{ +lean_object* v___x_800_; lean_object* v___x_801_; lean_object* v___x_802_; lean_object* v___x_803_; lean_object* v___x_804_; +lean_dec_ref(v___x_799_); +v___x_800_ = l_Lean_indirectModUseExt; +v___x_801_ = lean_box(1); +v___x_802_ = lean_box(0); +lean_inc_ref(v_env_770_); +v___x_803_ = l_Lean_SimplePersistentEnvExtension_getState___redArg(v___x_793_, v___x_800_, v_env_770_, v___x_801_, v___x_802_); +v___x_804_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(v___x_803_, v_declName_761_); +lean_dec(v___x_803_); +if (lean_obj_tag(v___x_804_) == 0) +{ +lean_object* v___x_805_; +v___x_805_ = ((lean_object*)(l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___closed__3)); +v___y_772_ = v___x_805_; +goto v___jp_771_; +} +else +{ +lean_object* v_val_806_; +v_val_806_ = lean_ctor_get(v___x_804_, 0); +lean_inc(v_val_806_); +lean_dec_ref(v___x_804_); +v___y_772_ = v_val_806_; +goto v___jp_771_; } } else { -lean_object* v_a_771_; lean_object* v___x_773_; uint8_t v_isShared_774_; uint8_t v_isSharedCheck_778_; -lean_dec(v_constName_754_); -v_a_771_ = lean_ctor_get(v___x_758_, 0); -v_isSharedCheck_778_ = !lean_is_exclusive(v___x_758_); -if (v_isSharedCheck_778_ == 0) -{ -v___x_773_ = v___x_758_; -v_isShared_774_ = v_isSharedCheck_778_; -goto v_resetjp_772_; +lean_dec_ref(v_env_770_); +lean_dec(v_declName_761_); +return v___x_799_; } -else +} +} +} +v___jp_767_: { -lean_inc(v_a_771_); -lean_dec(v___x_758_); +lean_object* v___x_768_; lean_object* v___x_769_; +v___x_768_ = lean_box(0); +v___x_769_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_769_, 0, v___x_768_); +return v___x_769_; +} +v___jp_771_: +{ +lean_object* v___x_773_; size_t v_sz_774_; size_t v___x_775_; lean_object* v___x_776_; v___x_773_ = lean_box(0); -v_isShared_774_ = v_isSharedCheck_778_; -goto v_resetjp_772_; -} -v_resetjp_772_: +v_sz_774_ = lean_array_size(v___y_772_); +v___x_775_ = ((size_t)0ULL); +v___x_776_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__1(v_env_770_, v_declName_761_, v___y_772_, v_sz_774_, v___x_775_, v___x_773_, v___y_763_, v___y_764_); +lean_dec_ref(v___y_772_); +lean_dec_ref(v_env_770_); +if (lean_obj_tag(v___x_776_) == 0) { -lean_object* v___x_776_; -if (v_isShared_774_ == 0) +lean_object* v___x_778_; uint8_t v_isShared_779_; uint8_t v_isSharedCheck_783_; +v_isSharedCheck_783_ = !lean_is_exclusive(v___x_776_); +if (v_isSharedCheck_783_ == 0) { -v___x_776_ = v___x_773_; -goto v_reusejp_775_; +lean_object* v_unused_784_; +v_unused_784_ = lean_ctor_get(v___x_776_, 0); +lean_dec(v_unused_784_); +v___x_778_ = v___x_776_; +v_isShared_779_ = v_isSharedCheck_783_; +goto v_resetjp_777_; } else { -lean_object* v_reuseFailAlloc_777_; -v_reuseFailAlloc_777_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_777_, 0, v_a_771_); -v___x_776_ = v_reuseFailAlloc_777_; -goto v_reusejp_775_; +lean_dec(v___x_776_); +v___x_778_ = lean_box(0); +v_isShared_779_ = v_isSharedCheck_783_; +goto v_resetjp_777_; } -v_reusejp_775_: +v_resetjp_777_: +{ +lean_object* v___x_781_; +if (v_isShared_779_ == 0) +{ +lean_ctor_set(v___x_778_, 0, v___x_773_); +v___x_781_ = v___x_778_; +goto v_reusejp_780_; +} +else +{ +lean_object* v_reuseFailAlloc_782_; +v_reuseFailAlloc_782_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_782_, 0, v___x_773_); +v___x_781_ = v_reuseFailAlloc_782_; +goto v_reusejp_780_; +} +v_reusejp_780_: +{ +return v___x_781_; +} +} +} +else { return v___x_776_; } } } } -} -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4___boxed(lean_object* v_constName_779_, lean_object* v___y_780_, lean_object* v___y_781_, lean_object* v___y_782_){ +LEAN_EXPORT lean_object* l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0___boxed(lean_object* v_declName_809_, lean_object* v_isMeta_810_, lean_object* v___y_811_, lean_object* v___y_812_, lean_object* v___y_813_){ _start: { -lean_object* v_res_783_; -v_res_783_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4(v_constName_779_, v___y_780_, v___y_781_); -lean_dec(v___y_781_); -return v_res_783_; +uint8_t v_isMeta_boxed_814_; lean_object* v_res_815_; +v_isMeta_boxed_814_ = lean_unbox(v_isMeta_810_); +v_res_815_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0(v_declName_809_, v_isMeta_boxed_814_, v___y_811_, v___y_812_); +lean_dec(v___y_812_); +lean_dec_ref(v___y_811_); +return v_res_815_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1(lean_object* v_stx_784_, lean_object* v_n_785_, lean_object* v_expectedType_x3f_786_, lean_object* v___y_787_, lean_object* v___y_788_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey(lean_object* v_stx_816_, lean_object* v_a_817_, lean_object* v_a_818_){ _start: { -lean_object* v___x_790_; -lean_inc_ref(v___y_787_); -v___x_790_ = l_Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4(v_n_785_, v___y_787_, v___y_788_); -if (lean_obj_tag(v___x_790_) == 0) +lean_object* v___x_820_; +lean_inc_ref(v_a_817_); +v___x_820_ = l_Lean_Attribute_Builtin_getIdent(v_stx_816_, v_a_817_, v_a_818_); +if (lean_obj_tag(v___x_820_) == 0) { -lean_object* v_a_791_; lean_object* v___x_792_; lean_object* v___x_793_; lean_object* v___x_794_; uint8_t v___x_795_; lean_object* v___x_796_; lean_object* v___x_797_; lean_object* v___x_798_; -v_a_791_ = lean_ctor_get(v___x_790_, 0); -lean_inc(v_a_791_); -lean_dec_ref(v___x_790_); -v___x_792_ = lean_box(0); -v___x_793_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_793_, 0, v___x_792_); -lean_ctor_set(v___x_793_, 1, v_stx_784_); -v___x_794_ = l_Lean_LocalContext_empty; -v___x_795_ = 0; -v___x_796_ = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(v___x_796_, 0, v___x_793_); -lean_ctor_set(v___x_796_, 1, v___x_794_); -lean_ctor_set(v___x_796_, 2, v_expectedType_x3f_786_); -lean_ctor_set(v___x_796_, 3, v_a_791_); -lean_ctor_set_uint8(v___x_796_, sizeof(void*)*4, v___x_795_); -lean_ctor_set_uint8(v___x_796_, sizeof(void*)*4 + 1, v___x_795_); -v___x_797_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_797_, 0, v___x_796_); -v___x_798_ = l_Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5(v___x_797_, v___y_787_, v___y_788_); -lean_dec_ref(v___y_787_); -return v___x_798_; +lean_object* v_a_821_; lean_object* v___x_823_; uint8_t v_isShared_824_; uint8_t v_isSharedCheck_872_; +v_a_821_ = lean_ctor_get(v___x_820_, 0); +v_isSharedCheck_872_ = !lean_is_exclusive(v___x_820_); +if (v_isSharedCheck_872_ == 0) +{ +v___x_823_ = v___x_820_; +v_isShared_824_ = v_isSharedCheck_872_; +goto v_resetjp_822_; } else { -lean_object* v_a_799_; lean_object* v___x_801_; uint8_t v_isShared_802_; uint8_t v_isSharedCheck_806_; -lean_dec_ref(v___y_787_); -lean_dec(v_expectedType_x3f_786_); -lean_dec(v_stx_784_); -v_a_799_ = lean_ctor_get(v___x_790_, 0); -v_isSharedCheck_806_ = !lean_is_exclusive(v___x_790_); -if (v_isSharedCheck_806_ == 0) -{ -v___x_801_ = v___x_790_; -v_isShared_802_ = v_isSharedCheck_806_; -goto v_resetjp_800_; +lean_inc(v_a_821_); +lean_dec(v___x_820_); +v___x_823_ = lean_box(0); +v_isShared_824_ = v_isSharedCheck_872_; +goto v_resetjp_822_; } -else +v_resetjp_822_: { -lean_inc(v_a_799_); -lean_dec(v___x_790_); -v___x_801_ = lean_box(0); -v_isShared_802_ = v_isSharedCheck_806_; -goto v_resetjp_800_; -} -v_resetjp_800_: -{ -lean_object* v___x_804_; -if (v_isShared_802_ == 0) -{ -v___x_804_ = v___x_801_; -goto v_reusejp_803_; -} -else -{ -lean_object* v_reuseFailAlloc_805_; -v_reuseFailAlloc_805_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_805_, 0, v_a_799_); -v___x_804_ = v_reuseFailAlloc_805_; -goto v_reusejp_803_; -} -v_reusejp_803_: -{ -return v___x_804_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1___boxed(lean_object* v_stx_807_, lean_object* v_n_808_, lean_object* v_expectedType_x3f_809_, lean_object* v___y_810_, lean_object* v___y_811_, lean_object* v___y_812_){ -_start: -{ -lean_object* v_res_813_; -v_res_813_ = l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1(v_stx_807_, v_n_808_, v_expectedType_x3f_809_, v___y_810_, v___y_811_); -lean_dec(v___y_811_); -return v_res_813_; -} -} -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1(lean_object* v_stx_814_, lean_object* v_a_815_, lean_object* v_a_816_){ -_start: -{ -lean_object* v___x_818_; -lean_inc_ref(v_a_815_); -v___x_818_ = l_Lean_Attribute_Builtin_getIdent(v_stx_814_, v_a_815_, v_a_816_); -if (lean_obj_tag(v___x_818_) == 0) -{ -lean_object* v_a_819_; lean_object* v___x_821_; uint8_t v_isShared_822_; uint8_t v_isSharedCheck_870_; -v_a_819_ = lean_ctor_get(v___x_818_, 0); -v_isSharedCheck_870_ = !lean_is_exclusive(v___x_818_); -if (v_isSharedCheck_870_ == 0) -{ -v___x_821_ = v___x_818_; -v_isShared_822_ = v_isSharedCheck_870_; -goto v_resetjp_820_; -} -else -{ -lean_inc(v_a_819_); -lean_dec(v___x_818_); -v___x_821_ = lean_box(0); -v_isShared_822_ = v_isSharedCheck_870_; -goto v_resetjp_820_; -} -v_resetjp_820_: -{ -lean_object* v___x_823_; lean_object* v_env_824_; lean_object* v___x_825_; uint8_t v___x_826_; uint8_t v___x_827_; -v___x_823_ = lean_st_ref_get(v_a_816_); -v_env_824_ = lean_ctor_get(v___x_823_, 0); -lean_inc_ref(v_env_824_); -lean_dec(v___x_823_); -v___x_825_ = l_Lean_Syntax_getId(v_a_819_); -v___x_826_ = 1; -lean_inc(v___x_825_); -v___x_827_ = l_Lean_Environment_contains(v_env_824_, v___x_825_, v___x_826_); -if (v___x_827_ == 0) -{ -lean_object* v___x_829_; -lean_dec(v_a_819_); -lean_dec_ref(v_a_815_); -if (v_isShared_822_ == 0) -{ -lean_ctor_set(v___x_821_, 0, v___x_825_); -v___x_829_ = v___x_821_; -goto v_reusejp_828_; -} -else -{ -lean_object* v_reuseFailAlloc_830_; -v_reuseFailAlloc_830_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_830_, 0, v___x_825_); -v___x_829_ = v_reuseFailAlloc_830_; -goto v_reusejp_828_; -} -v_reusejp_828_: -{ -return v___x_829_; -} -} -else -{ -uint8_t v___x_831_; lean_object* v___x_832_; -lean_del_object(v___x_821_); -v___x_831_ = 0; -lean_inc(v___x_825_); -v___x_832_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0(v___x_825_, v___x_831_, v_a_815_, v_a_816_); -if (lean_obj_tag(v___x_832_) == 0) -{ -lean_object* v___x_834_; uint8_t v_isShared_835_; uint8_t v_isSharedCheck_860_; -v_isSharedCheck_860_ = !lean_is_exclusive(v___x_832_); -if (v_isSharedCheck_860_ == 0) -{ -lean_object* v_unused_861_; -v_unused_861_ = lean_ctor_get(v___x_832_, 0); -lean_dec(v_unused_861_); -v___x_834_ = v___x_832_; -v_isShared_835_ = v_isSharedCheck_860_; -goto v_resetjp_833_; -} -else -{ -lean_dec(v___x_832_); -v___x_834_ = lean_box(0); -v_isShared_835_ = v_isSharedCheck_860_; -goto v_resetjp_833_; -} -v_resetjp_833_: -{ -lean_object* v___x_836_; lean_object* v_infoState_837_; uint8_t v_enabled_838_; -v___x_836_ = lean_st_ref_get(v_a_816_); -v_infoState_837_ = lean_ctor_get(v___x_836_, 7); -lean_inc_ref(v_infoState_837_); -lean_dec(v___x_836_); -v_enabled_838_ = lean_ctor_get_uint8(v_infoState_837_, sizeof(void*)*3); -lean_dec_ref(v_infoState_837_); -if (v_enabled_838_ == 0) -{ -lean_object* v___x_840_; -lean_dec(v_a_819_); -lean_dec_ref(v_a_815_); -if (v_isShared_835_ == 0) -{ -lean_ctor_set(v___x_834_, 0, v___x_825_); -v___x_840_ = v___x_834_; -goto v_reusejp_839_; -} -else -{ -lean_object* v_reuseFailAlloc_841_; -v_reuseFailAlloc_841_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_841_, 0, v___x_825_); -v___x_840_ = v_reuseFailAlloc_841_; -goto v_reusejp_839_; -} -v_reusejp_839_: -{ -return v___x_840_; -} -} -else -{ -lean_object* v___x_842_; lean_object* v___x_843_; -lean_del_object(v___x_834_); -v___x_842_ = lean_box(0); -lean_inc(v___x_825_); -v___x_843_ = l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1(v_a_819_, v___x_825_, v___x_842_, v_a_815_, v_a_816_); -if (lean_obj_tag(v___x_843_) == 0) -{ -lean_object* v___x_845_; uint8_t v_isShared_846_; uint8_t v_isSharedCheck_850_; -v_isSharedCheck_850_ = !lean_is_exclusive(v___x_843_); -if (v_isSharedCheck_850_ == 0) -{ -lean_object* v_unused_851_; -v_unused_851_ = lean_ctor_get(v___x_843_, 0); -lean_dec(v_unused_851_); -v___x_845_ = v___x_843_; -v_isShared_846_ = v_isSharedCheck_850_; -goto v_resetjp_844_; -} -else -{ -lean_dec(v___x_843_); -v___x_845_ = lean_box(0); -v_isShared_846_ = v_isSharedCheck_850_; -goto v_resetjp_844_; -} -v_resetjp_844_: -{ -lean_object* v___x_848_; -if (v_isShared_846_ == 0) -{ -lean_ctor_set(v___x_845_, 0, v___x_825_); -v___x_848_ = v___x_845_; -goto v_reusejp_847_; -} -else -{ -lean_object* v_reuseFailAlloc_849_; -v_reuseFailAlloc_849_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_849_, 0, v___x_825_); -v___x_848_ = v_reuseFailAlloc_849_; -goto v_reusejp_847_; -} -v_reusejp_847_: -{ -return v___x_848_; -} -} -} -else -{ -lean_object* v_a_852_; lean_object* v___x_854_; uint8_t v_isShared_855_; uint8_t v_isSharedCheck_859_; +lean_object* v___x_825_; lean_object* v_env_826_; lean_object* v___x_827_; uint8_t v___x_828_; uint8_t v___x_829_; +v___x_825_ = lean_st_ref_get(v_a_818_); +v_env_826_ = lean_ctor_get(v___x_825_, 0); +lean_inc_ref(v_env_826_); lean_dec(v___x_825_); -v_a_852_ = lean_ctor_get(v___x_843_, 0); -v_isSharedCheck_859_ = !lean_is_exclusive(v___x_843_); -if (v_isSharedCheck_859_ == 0) +v___x_827_ = l_Lean_Syntax_getId(v_a_821_); +v___x_828_ = 1; +lean_inc(v___x_827_); +v___x_829_ = l_Lean_Environment_contains(v_env_826_, v___x_827_, v___x_828_); +if (v___x_829_ == 0) { -v___x_854_ = v___x_843_; -v_isShared_855_ = v_isSharedCheck_859_; -goto v_resetjp_853_; +lean_object* v___x_831_; +lean_dec(v_a_821_); +lean_dec_ref(v_a_817_); +if (v_isShared_824_ == 0) +{ +lean_ctor_set(v___x_823_, 0, v___x_827_); +v___x_831_ = v___x_823_; +goto v_reusejp_830_; } else { -lean_inc(v_a_852_); -lean_dec(v___x_843_); -v___x_854_ = lean_box(0); -v_isShared_855_ = v_isSharedCheck_859_; -goto v_resetjp_853_; +lean_object* v_reuseFailAlloc_832_; +v_reuseFailAlloc_832_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_832_, 0, v___x_827_); +v___x_831_ = v_reuseFailAlloc_832_; +goto v_reusejp_830_; } -v_resetjp_853_: +v_reusejp_830_: { -lean_object* v___x_857_; -if (v_isShared_855_ == 0) -{ -v___x_857_ = v___x_854_; -goto v_reusejp_856_; +return v___x_831_; +} } else { -lean_object* v_reuseFailAlloc_858_; -v_reuseFailAlloc_858_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_858_, 0, v_a_852_); -v___x_857_ = v_reuseFailAlloc_858_; -goto v_reusejp_856_; -} -v_reusejp_856_: +uint8_t v___x_833_; lean_object* v___x_834_; +lean_del_object(v___x_823_); +v___x_833_ = 0; +lean_inc(v___x_827_); +v___x_834_ = l_Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0(v___x_827_, v___x_833_, v_a_817_, v_a_818_); +if (lean_obj_tag(v___x_834_) == 0) { -return v___x_857_; +lean_object* v___x_836_; uint8_t v_isShared_837_; uint8_t v_isSharedCheck_862_; +v_isSharedCheck_862_ = !lean_is_exclusive(v___x_834_); +if (v_isSharedCheck_862_ == 0) +{ +lean_object* v_unused_863_; +v_unused_863_ = lean_ctor_get(v___x_834_, 0); +lean_dec(v_unused_863_); +v___x_836_ = v___x_834_; +v_isShared_837_ = v_isSharedCheck_862_; +goto v_resetjp_835_; +} +else +{ +lean_dec(v___x_834_); +v___x_836_ = lean_box(0); +v_isShared_837_ = v_isSharedCheck_862_; +goto v_resetjp_835_; +} +v_resetjp_835_: +{ +lean_object* v___x_838_; lean_object* v_infoState_839_; uint8_t v_enabled_840_; +v___x_838_ = lean_st_ref_get(v_a_818_); +v_infoState_839_ = lean_ctor_get(v___x_838_, 7); +lean_inc_ref(v_infoState_839_); +lean_dec(v___x_838_); +v_enabled_840_ = lean_ctor_get_uint8(v_infoState_839_, sizeof(void*)*3); +lean_dec_ref(v_infoState_839_); +if (v_enabled_840_ == 0) +{ +lean_object* v___x_842_; +lean_dec(v_a_821_); +lean_dec_ref(v_a_817_); +if (v_isShared_837_ == 0) +{ +lean_ctor_set(v___x_836_, 0, v___x_827_); +v___x_842_ = v___x_836_; +goto v_reusejp_841_; +} +else +{ +lean_object* v_reuseFailAlloc_843_; +v_reuseFailAlloc_843_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_843_, 0, v___x_827_); +v___x_842_ = v_reuseFailAlloc_843_; +goto v_reusejp_841_; +} +v_reusejp_841_: +{ +return v___x_842_; +} +} +else +{ +lean_object* v___x_844_; lean_object* v___x_845_; +lean_del_object(v___x_836_); +v___x_844_ = lean_box(0); +lean_inc(v___x_827_); +v___x_845_ = l_Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1(v_a_821_, v___x_827_, v___x_844_, v_a_817_, v_a_818_); +if (lean_obj_tag(v___x_845_) == 0) +{ +lean_object* v___x_847_; uint8_t v_isShared_848_; uint8_t v_isSharedCheck_852_; +v_isSharedCheck_852_ = !lean_is_exclusive(v___x_845_); +if (v_isSharedCheck_852_ == 0) +{ +lean_object* v_unused_853_; +v_unused_853_ = lean_ctor_get(v___x_845_, 0); +lean_dec(v_unused_853_); +v___x_847_ = v___x_845_; +v_isShared_848_ = v_isSharedCheck_852_; +goto v_resetjp_846_; +} +else +{ +lean_dec(v___x_845_); +v___x_847_ = lean_box(0); +v_isShared_848_ = v_isSharedCheck_852_; +goto v_resetjp_846_; +} +v_resetjp_846_: +{ +lean_object* v___x_850_; +if (v_isShared_848_ == 0) +{ +lean_ctor_set(v___x_847_, 0, v___x_827_); +v___x_850_ = v___x_847_; +goto v_reusejp_849_; +} +else +{ +lean_object* v_reuseFailAlloc_851_; +v_reuseFailAlloc_851_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_851_, 0, v___x_827_); +v___x_850_ = v_reuseFailAlloc_851_; +goto v_reusejp_849_; +} +v_reusejp_849_: +{ +return v___x_850_; +} +} +} +else +{ +lean_object* v_a_854_; lean_object* v___x_856_; uint8_t v_isShared_857_; uint8_t v_isSharedCheck_861_; +lean_dec(v___x_827_); +v_a_854_ = lean_ctor_get(v___x_845_, 0); +v_isSharedCheck_861_ = !lean_is_exclusive(v___x_845_); +if (v_isSharedCheck_861_ == 0) +{ +v___x_856_ = v___x_845_; +v_isShared_857_ = v_isSharedCheck_861_; +goto v_resetjp_855_; +} +else +{ +lean_inc(v_a_854_); +lean_dec(v___x_845_); +v___x_856_ = lean_box(0); +v_isShared_857_ = v_isSharedCheck_861_; +goto v_resetjp_855_; +} +v_resetjp_855_: +{ +lean_object* v___x_859_; +if (v_isShared_857_ == 0) +{ +v___x_859_ = v___x_856_; +goto v_reusejp_858_; +} +else +{ +lean_object* v_reuseFailAlloc_860_; +v_reuseFailAlloc_860_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_860_, 0, v_a_854_); +v___x_859_ = v_reuseFailAlloc_860_; +goto v_reusejp_858_; +} +v_reusejp_858_: +{ +return v___x_859_; } } } @@ -3265,45 +3268,45 @@ return v___x_857_; } else { -lean_object* v_a_862_; lean_object* v___x_864_; uint8_t v_isShared_865_; uint8_t v_isSharedCheck_869_; -lean_dec(v___x_825_); -lean_dec(v_a_819_); -lean_dec_ref(v_a_815_); -v_a_862_ = lean_ctor_get(v___x_832_, 0); -v_isSharedCheck_869_ = !lean_is_exclusive(v___x_832_); -if (v_isSharedCheck_869_ == 0) +lean_object* v_a_864_; lean_object* v___x_866_; uint8_t v_isShared_867_; uint8_t v_isSharedCheck_871_; +lean_dec(v___x_827_); +lean_dec(v_a_821_); +lean_dec_ref(v_a_817_); +v_a_864_ = lean_ctor_get(v___x_834_, 0); +v_isSharedCheck_871_ = !lean_is_exclusive(v___x_834_); +if (v_isSharedCheck_871_ == 0) { -v___x_864_ = v___x_832_; -v_isShared_865_ = v_isSharedCheck_869_; -goto v_resetjp_863_; +v___x_866_ = v___x_834_; +v_isShared_867_ = v_isSharedCheck_871_; +goto v_resetjp_865_; } else { -lean_inc(v_a_862_); -lean_dec(v___x_832_); -v___x_864_ = lean_box(0); -v_isShared_865_ = v_isSharedCheck_869_; -goto v_resetjp_863_; +lean_inc(v_a_864_); +lean_dec(v___x_834_); +v___x_866_ = lean_box(0); +v_isShared_867_ = v_isSharedCheck_871_; +goto v_resetjp_865_; } -v_resetjp_863_: +v_resetjp_865_: { -lean_object* v___x_867_; -if (v_isShared_865_ == 0) +lean_object* v___x_869_; +if (v_isShared_867_ == 0) { -v___x_867_ = v___x_864_; -goto v_reusejp_866_; +v___x_869_ = v___x_866_; +goto v_reusejp_868_; } else { -lean_object* v_reuseFailAlloc_868_; -v_reuseFailAlloc_868_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_868_, 0, v_a_862_); -v___x_867_ = v_reuseFailAlloc_868_; -goto v_reusejp_866_; +lean_object* v_reuseFailAlloc_870_; +v_reuseFailAlloc_870_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_870_, 0, v_a_864_); +v___x_869_ = v_reuseFailAlloc_870_; +goto v_reusejp_868_; } -v_reusejp_866_: +v_reusejp_868_: { -return v___x_867_; +return v___x_869_; } } } @@ -3312,849 +3315,849 @@ return v___x_867_; } else { -lean_object* v_a_871_; lean_object* v___x_873_; uint8_t v_isShared_874_; uint8_t v_isSharedCheck_878_; -lean_dec_ref(v_a_815_); -v_a_871_ = lean_ctor_get(v___x_818_, 0); -v_isSharedCheck_878_ = !lean_is_exclusive(v___x_818_); -if (v_isSharedCheck_878_ == 0) +lean_object* v_a_873_; lean_object* v___x_875_; uint8_t v_isShared_876_; uint8_t v_isSharedCheck_880_; +lean_dec_ref(v_a_817_); +v_a_873_ = lean_ctor_get(v___x_820_, 0); +v_isSharedCheck_880_ = !lean_is_exclusive(v___x_820_); +if (v_isSharedCheck_880_ == 0) { -v___x_873_ = v___x_818_; -v_isShared_874_ = v_isSharedCheck_878_; -goto v_resetjp_872_; +v___x_875_ = v___x_820_; +v_isShared_876_ = v_isSharedCheck_880_; +goto v_resetjp_874_; } else { -lean_inc(v_a_871_); -lean_dec(v___x_818_); -v___x_873_ = lean_box(0); -v_isShared_874_ = v_isSharedCheck_878_; -goto v_resetjp_872_; +lean_inc(v_a_873_); +lean_dec(v___x_820_); +v___x_875_ = lean_box(0); +v_isShared_876_ = v_isSharedCheck_880_; +goto v_resetjp_874_; } -v_resetjp_872_: +v_resetjp_874_: { -lean_object* v___x_876_; -if (v_isShared_874_ == 0) +lean_object* v___x_878_; +if (v_isShared_876_ == 0) { -v___x_876_ = v___x_873_; -goto v_reusejp_875_; +v___x_878_ = v___x_875_; +goto v_reusejp_877_; } else { -lean_object* v_reuseFailAlloc_877_; -v_reuseFailAlloc_877_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_877_, 0, v_a_871_); -v___x_876_ = v_reuseFailAlloc_877_; -goto v_reusejp_875_; +lean_object* v_reuseFailAlloc_879_; +v_reuseFailAlloc_879_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_879_, 0, v_a_873_); +v___x_878_ = v_reuseFailAlloc_879_; +goto v_reusejp_877_; } -v_reusejp_875_: +v_reusejp_877_: { -return v___x_876_; +return v___x_878_; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_Def___private__1___boxed(lean_object* v_stx_879_, lean_object* v_a_880_, lean_object* v_a_881_, lean_object* v_a_882_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_evalIdentKey___boxed(lean_object* v_stx_881_, lean_object* v_a_882_, lean_object* v_a_883_, lean_object* v_a_884_){ _start: { -lean_object* v_res_883_; -v_res_883_ = l_Lean_KeyedDeclsAttribute_Def___private__1(v_stx_879_, v_a_880_, v_a_881_); -lean_dec(v_a_881_); -return v_res_883_; +lean_object* v_res_885_; +v_res_885_ = l_Lean_KeyedDeclsAttribute_evalIdentKey(v_stx_881_, v_a_882_, v_a_883_); +lean_dec(v_a_883_); +return v_res_885_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2(lean_object* v_cls_884_, lean_object* v___y_885_, lean_object* v___y_886_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2(lean_object* v_cls_886_, lean_object* v___y_887_, lean_object* v___y_888_){ _start: { -lean_object* v___x_888_; -v___x_888_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___redArg(v_cls_884_, v___y_885_); -return v___x_888_; +lean_object* v___x_890_; +v___x_890_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___redArg(v_cls_886_, v___y_887_); +return v___x_890_; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2___boxed(lean_object* v_cls_889_, lean_object* v___y_890_, lean_object* v___y_891_, lean_object* v___y_892_){ +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2___boxed(lean_object* v_cls_891_, lean_object* v___y_892_, lean_object* v___y_893_, lean_object* v___y_894_){ _start: { -lean_object* v_res_893_; -v_res_893_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__2(v_cls_889_, v___y_890_, v___y_891_); -lean_dec(v___y_891_); -lean_dec_ref(v___y_890_); -return v_res_893_; +lean_object* v_res_895_; +v_res_895_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__2(v_cls_891_, v___y_892_, v___y_893_); +lean_dec(v___y_893_); +lean_dec_ref(v___y_892_); +return v_res_895_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2(lean_object* v_00_u03b2_894_, lean_object* v_m_895_, lean_object* v_a_896_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2(lean_object* v_00_u03b2_896_, lean_object* v_m_897_, lean_object* v_a_898_){ _start: { -lean_object* v___x_897_; -v___x_897_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(v_m_895_, v_a_896_); -return v___x_897_; +lean_object* v___x_899_; +v___x_899_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(v_m_897_, v_a_898_); +return v___x_899_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___boxed(lean_object* v_00_u03b2_898_, lean_object* v_m_899_, lean_object* v_a_900_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___boxed(lean_object* v_00_u03b2_900_, lean_object* v_m_901_, lean_object* v_a_902_){ _start: { -lean_object* v_res_901_; -v_res_901_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2(v_00_u03b2_898_, v_m_899_, v_a_900_); -lean_dec(v_a_900_); -lean_dec_ref(v_m_899_); -return v_res_901_; +lean_object* v_res_903_; +v_res_903_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2(v_00_u03b2_900_, v_m_901_, v_a_902_); +lean_dec(v_a_902_); +lean_dec_ref(v_m_901_); +return v_res_903_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12(lean_object* v_t_902_, lean_object* v___y_903_, lean_object* v___y_904_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12(lean_object* v_t_904_, lean_object* v___y_905_, lean_object* v___y_906_){ _start: { -lean_object* v___x_906_; -v___x_906_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___redArg(v_t_902_, v___y_904_); -return v___x_906_; +lean_object* v___x_908_; +v___x_908_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___redArg(v_t_904_, v___y_906_); +return v___x_908_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12___boxed(lean_object* v_t_907_, lean_object* v___y_908_, lean_object* v___y_909_, lean_object* v___y_910_){ +LEAN_EXPORT lean_object* l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12___boxed(lean_object* v_t_909_, lean_object* v___y_910_, lean_object* v___y_911_, lean_object* v___y_912_){ _start: { -lean_object* v_res_911_; -v_res_911_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__5_spec__12(v_t_907_, v___y_908_, v___y_909_); -lean_dec(v___y_909_); -lean_dec_ref(v___y_908_); -return v_res_911_; +lean_object* v_res_913_; +v_res_913_ = l_Lean_Elab_pushInfoTree___at___00Lean_Elab_pushInfoLeaf___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__5_spec__12(v_t_909_, v___y_910_, v___y_911_); +lean_dec(v___y_911_); +lean_dec_ref(v___y_910_); +return v_res_913_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_912_, lean_object* v_x_913_, lean_object* v_x_914_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_914_, lean_object* v_x_915_, lean_object* v_x_916_){ _start: { -uint8_t v___x_915_; -v___x_915_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___redArg(v_x_913_, v_x_914_); -return v___x_915_; +uint8_t v___x_917_; +v___x_917_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___redArg(v_x_915_, v_x_916_); +return v___x_917_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_916_, lean_object* v_x_917_, lean_object* v_x_918_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_918_, lean_object* v_x_919_, lean_object* v_x_920_){ _start: { -uint8_t v_res_919_; lean_object* v_r_920_; -v_res_919_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1(v_00_u03b2_916_, v_x_917_, v_x_918_); -lean_dec_ref(v_x_918_); -v_r_920_ = lean_box(v_res_919_); -return v_r_920_; +uint8_t v_res_921_; lean_object* v_r_922_; +v_res_921_ = l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1(v_00_u03b2_918_, v_x_919_, v_x_920_); +lean_dec_ref(v_x_920_); +v_r_922_ = lean_box(v_res_921_); +return v_r_922_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6(lean_object* v_00_u03b2_921_, lean_object* v_a_922_, lean_object* v_x_923_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6(lean_object* v_00_u03b2_923_, lean_object* v_a_924_, lean_object* v_x_925_){ _start: { -lean_object* v___x_924_; -v___x_924_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___redArg(v_a_922_, v_x_923_); -return v___x_924_; +lean_object* v___x_926_; +v___x_926_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___redArg(v_a_924_, v_x_925_); +return v___x_926_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6___boxed(lean_object* v_00_u03b2_925_, lean_object* v_a_926_, lean_object* v_x_927_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6___boxed(lean_object* v_00_u03b2_927_, lean_object* v_a_928_, lean_object* v_x_929_){ _start: { -lean_object* v_res_928_; -v_res_928_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2_spec__6(v_00_u03b2_925_, v_a_926_, v_x_927_); -lean_dec(v_x_927_); -lean_dec(v_a_926_); -return v_res_928_; +lean_object* v_res_930_; +v_res_930_ = l_Std_DHashMap_Internal_AssocList_get_x3f___at___00Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2_spec__6(v_00_u03b2_927_, v_a_928_, v_x_929_); +lean_dec(v_x_929_); +lean_dec(v_a_928_); +return v_res_930_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3(lean_object* v_00_u03b2_929_, lean_object* v_x_930_, size_t v_x_931_, lean_object* v_x_932_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3(lean_object* v_00_u03b2_931_, lean_object* v_x_932_, size_t v_x_933_, lean_object* v_x_934_){ _start: { -uint8_t v___x_933_; -v___x_933_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg(v_x_930_, v_x_931_, v_x_932_); -return v___x_933_; +uint8_t v___x_935_; +v___x_935_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg(v_x_932_, v_x_933_, v_x_934_); +return v___x_935_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___boxed(lean_object* v_00_u03b2_934_, lean_object* v_x_935_, lean_object* v_x_936_, lean_object* v_x_937_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___boxed(lean_object* v_00_u03b2_936_, lean_object* v_x_937_, lean_object* v_x_938_, lean_object* v_x_939_){ _start: { -size_t v_x_8262__boxed_938_; uint8_t v_res_939_; lean_object* v_r_940_; -v_x_8262__boxed_938_ = lean_unbox_usize(v_x_936_); -lean_dec(v_x_936_); -v_res_939_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3(v_00_u03b2_934_, v_x_935_, v_x_8262__boxed_938_, v_x_937_); -lean_dec_ref(v_x_937_); -v_r_940_ = lean_box(v_res_939_); -return v_r_940_; +size_t v_x_8273__boxed_940_; uint8_t v_res_941_; lean_object* v_r_942_; +v_x_8273__boxed_940_ = lean_unbox_usize(v_x_938_); +lean_dec(v_x_938_); +v_res_941_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3(v_00_u03b2_936_, v_x_937_, v_x_8273__boxed_940_, v_x_939_); +lean_dec_ref(v_x_939_); +v_r_942_ = lean_box(v_res_941_); +return v_r_942_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12(lean_object* v_00_u03b1_941_, lean_object* v_constName_942_, lean_object* v___y_943_, lean_object* v___y_944_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12(lean_object* v_00_u03b1_943_, lean_object* v_constName_944_, lean_object* v___y_945_, lean_object* v___y_946_){ _start: { -lean_object* v___x_946_; -v___x_946_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_942_, v___y_943_, v___y_944_); -return v___x_946_; +lean_object* v___x_948_; +v___x_948_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_944_, v___y_945_, v___y_946_); +return v___x_948_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___boxed(lean_object* v_00_u03b1_947_, lean_object* v_constName_948_, lean_object* v___y_949_, lean_object* v___y_950_, lean_object* v___y_951_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___boxed(lean_object* v_00_u03b1_949_, lean_object* v_constName_950_, lean_object* v___y_951_, lean_object* v___y_952_, lean_object* v___y_953_){ _start: { -lean_object* v_res_952_; -v_res_952_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12(v_00_u03b1_947_, v_constName_948_, v___y_949_, v___y_950_); -lean_dec(v___y_950_); -return v_res_952_; +lean_object* v_res_954_; +v_res_954_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12(v_00_u03b1_949_, v_constName_950_, v___y_951_, v___y_952_); +lean_dec(v___y_952_); +return v_res_954_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10(lean_object* v_00_u03b2_953_, lean_object* v_keys_954_, lean_object* v_vals_955_, lean_object* v_heq_956_, lean_object* v_i_957_, lean_object* v_k_958_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10(lean_object* v_00_u03b2_955_, lean_object* v_keys_956_, lean_object* v_vals_957_, lean_object* v_heq_958_, lean_object* v_i_959_, lean_object* v_k_960_){ _start: { -uint8_t v___x_959_; -v___x_959_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_keys_954_, v_i_957_, v_k_958_); -return v___x_959_; +uint8_t v___x_961_; +v___x_961_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___redArg(v_keys_956_, v_i_959_, v_k_960_); +return v___x_961_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10___boxed(lean_object* v_00_u03b2_960_, lean_object* v_keys_961_, lean_object* v_vals_962_, lean_object* v_heq_963_, lean_object* v_i_964_, lean_object* v_k_965_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10___boxed(lean_object* v_00_u03b2_962_, lean_object* v_keys_963_, lean_object* v_vals_964_, lean_object* v_heq_965_, lean_object* v_i_966_, lean_object* v_k_967_){ _start: { -uint8_t v_res_966_; lean_object* v_r_967_; -v_res_966_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3_spec__10(v_00_u03b2_960_, v_keys_961_, v_vals_962_, v_heq_963_, v_i_964_, v_k_965_); -lean_dec_ref(v_k_965_); -lean_dec_ref(v_vals_962_); -lean_dec_ref(v_keys_961_); -v_r_967_ = lean_box(v_res_966_); -return v_r_967_; +uint8_t v_res_968_; lean_object* v_r_969_; +v_res_968_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3_spec__10(v_00_u03b2_962_, v_keys_963_, v_vals_964_, v_heq_965_, v_i_966_, v_k_967_); +lean_dec_ref(v_k_967_); +lean_dec_ref(v_vals_964_); +lean_dec_ref(v_keys_963_); +v_r_969_ = lean_box(v_res_968_); +return v_r_969_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16(lean_object* v_00_u03b1_968_, lean_object* v_ref_969_, lean_object* v_constName_970_, lean_object* v___y_971_, lean_object* v___y_972_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16(lean_object* v_00_u03b1_970_, lean_object* v_ref_971_, lean_object* v_constName_972_, lean_object* v___y_973_, lean_object* v___y_974_){ _start: { -lean_object* v___x_974_; -v___x_974_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_969_, v_constName_970_, v___y_971_, v___y_972_); -return v___x_974_; +lean_object* v___x_976_; +v___x_976_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg(v_ref_971_, v_constName_972_, v___y_973_, v___y_974_); +return v___x_976_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___boxed(lean_object* v_00_u03b1_975_, lean_object* v_ref_976_, lean_object* v_constName_977_, lean_object* v___y_978_, lean_object* v___y_979_, lean_object* v___y_980_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___boxed(lean_object* v_00_u03b1_977_, lean_object* v_ref_978_, lean_object* v_constName_979_, lean_object* v___y_980_, lean_object* v___y_981_, lean_object* v___y_982_){ _start: { -lean_object* v_res_981_; -v_res_981_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16(v_00_u03b1_975_, v_ref_976_, v_constName_977_, v___y_978_, v___y_979_); -lean_dec(v___y_979_); -lean_dec(v_ref_976_); -return v_res_981_; +lean_object* v_res_983_; +v_res_983_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16(v_00_u03b1_977_, v_ref_978_, v_constName_979_, v___y_980_, v___y_981_); +lean_dec(v___y_981_); +lean_dec(v_ref_978_); +return v_res_983_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(lean_object* v_00_u03b1_982_, lean_object* v_ref_983_, lean_object* v_msg_984_, lean_object* v_declHint_985_, lean_object* v___y_986_, lean_object* v___y_987_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(lean_object* v_00_u03b1_984_, lean_object* v_ref_985_, lean_object* v_msg_986_, lean_object* v_declHint_987_, lean_object* v___y_988_, lean_object* v___y_989_){ _start: { -lean_object* v___x_989_; -v___x_989_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_983_, v_msg_984_, v_declHint_985_, v___y_986_, v___y_987_); -return v___x_989_; +lean_object* v___x_991_; +v___x_991_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___redArg(v_ref_985_, v_msg_986_, v_declHint_987_, v___y_988_, v___y_989_); +return v___x_991_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___boxed(lean_object* v_00_u03b1_990_, lean_object* v_ref_991_, lean_object* v_msg_992_, lean_object* v_declHint_993_, lean_object* v___y_994_, lean_object* v___y_995_, lean_object* v___y_996_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18___boxed(lean_object* v_00_u03b1_992_, lean_object* v_ref_993_, lean_object* v_msg_994_, lean_object* v_declHint_995_, lean_object* v___y_996_, lean_object* v___y_997_, lean_object* v___y_998_){ _start: { -lean_object* v_res_997_; -v_res_997_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(v_00_u03b1_990_, v_ref_991_, v_msg_992_, v_declHint_993_, v___y_994_, v___y_995_); -lean_dec(v___y_995_); -lean_dec(v_ref_991_); -return v_res_997_; +lean_object* v_res_999_; +v_res_999_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18(v_00_u03b1_992_, v_ref_993_, v_msg_994_, v_declHint_995_, v___y_996_, v___y_997_); +lean_dec(v___y_997_); +lean_dec(v_ref_993_); +return v_res_999_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(lean_object* v_msg_998_, lean_object* v_declHint_999_, lean_object* v___y_1000_, lean_object* v___y_1001_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(lean_object* v_msg_1000_, lean_object* v_declHint_1001_, lean_object* v___y_1002_, lean_object* v___y_1003_){ _start: { -lean_object* v___x_1003_; -v___x_1003_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_998_, v_declHint_999_, v___y_1001_); -return v___x_1003_; +lean_object* v___x_1005_; +v___x_1005_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___redArg(v_msg_1000_, v_declHint_1001_, v___y_1003_); +return v___x_1005_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___boxed(lean_object* v_msg_1004_, lean_object* v_declHint_1005_, lean_object* v___y_1006_, lean_object* v___y_1007_, lean_object* v___y_1008_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20___boxed(lean_object* v_msg_1006_, lean_object* v_declHint_1007_, lean_object* v___y_1008_, lean_object* v___y_1009_, lean_object* v___y_1010_){ _start: { -lean_object* v_res_1009_; -v_res_1009_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(v_msg_1004_, v_declHint_1005_, v___y_1006_, v___y_1007_); -lean_dec(v___y_1007_); -lean_dec_ref(v___y_1006_); -return v_res_1009_; +lean_object* v_res_1011_; +v_res_1011_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__19_spec__20(v_msg_1006_, v_declHint_1007_, v___y_1008_, v___y_1009_); +lean_dec(v___y_1009_); +lean_dec_ref(v___y_1008_); +return v_res_1011_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(lean_object* v_00_u03b1_1010_, lean_object* v_ref_1011_, lean_object* v_msg_1012_, lean_object* v___y_1013_, lean_object* v___y_1014_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(lean_object* v_00_u03b1_1012_, lean_object* v_ref_1013_, lean_object* v_msg_1014_, lean_object* v___y_1015_, lean_object* v___y_1016_){ _start: { -lean_object* v___x_1016_; -v___x_1016_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_1011_, v_msg_1012_, v___y_1013_, v___y_1014_); -return v___x_1016_; +lean_object* v___x_1018_; +v___x_1018_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___redArg(v_ref_1013_, v_msg_1014_, v___y_1015_, v___y_1016_); +return v___x_1018_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___boxed(lean_object* v_00_u03b1_1017_, lean_object* v_ref_1018_, lean_object* v_msg_1019_, lean_object* v___y_1020_, lean_object* v___y_1021_, lean_object* v___y_1022_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20___boxed(lean_object* v_00_u03b1_1019_, lean_object* v_ref_1020_, lean_object* v_msg_1021_, lean_object* v___y_1022_, lean_object* v___y_1023_, lean_object* v___y_1024_){ _start: { -lean_object* v_res_1023_; -v_res_1023_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(v_00_u03b1_1017_, v_ref_1018_, v_msg_1019_, v___y_1020_, v___y_1021_); -lean_dec(v___y_1021_); -lean_dec(v_ref_1018_); -return v_res_1023_; +lean_object* v_res_1025_; +v_res_1025_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20(v_00_u03b1_1019_, v_ref_1020_, v_msg_1021_, v___y_1022_, v___y_1023_); +lean_dec(v___y_1023_); +lean_dec(v_ref_1020_); +return v_res_1025_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(lean_object* v_00_u03b1_1024_, lean_object* v_msg_1025_, lean_object* v___y_1026_, lean_object* v___y_1027_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(lean_object* v_00_u03b1_1026_, lean_object* v_msg_1027_, lean_object* v___y_1028_, lean_object* v___y_1029_){ _start: { -lean_object* v___x_1029_; -v___x_1029_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_1025_, v___y_1026_, v___y_1027_); -return v___x_1029_; +lean_object* v___x_1031_; +v___x_1031_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v_msg_1027_, v___y_1028_, v___y_1029_); +return v___x_1031_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___boxed(lean_object* v_00_u03b1_1030_, lean_object* v_msg_1031_, lean_object* v___y_1032_, lean_object* v___y_1033_, lean_object* v___y_1034_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___boxed(lean_object* v_00_u03b1_1032_, lean_object* v_msg_1033_, lean_object* v___y_1034_, lean_object* v___y_1035_, lean_object* v___y_1036_){ _start: { -lean_object* v_res_1035_; -v_res_1035_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(v_00_u03b1_1030_, v_msg_1031_, v___y_1032_, v___y_1033_); -lean_dec(v___y_1033_); -lean_dec_ref(v___y_1032_); -return v_res_1035_; +lean_object* v_res_1037_; +v_res_1037_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22(v_00_u03b1_1032_, v_msg_1033_, v___y_1034_, v___y_1035_); +lean_dec(v___y_1035_); +lean_dec_ref(v___y_1034_); +return v_res_1037_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0(void){ _start: { -lean_object* v___x_1036_; lean_object* v___x_1037_; lean_object* v___x_1038_; -v___x_1036_ = l_Lean_instInhabitedMessageData_default; -v___x_1037_ = lean_box(0); -v___x_1038_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1038_, 0, v___x_1037_); -lean_ctor_set(v___x_1038_, 1, v___x_1036_); -return v___x_1038_; +lean_object* v___x_1038_; lean_object* v___x_1039_; lean_object* v___x_1040_; +v___x_1038_ = l_Lean_instInhabitedMessageData_default; +v___x_1039_ = lean_box(0); +v___x_1040_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1040_, 0, v___x_1039_); +lean_ctor_set(v___x_1040_, 1, v___x_1038_); +return v___x_1040_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0(uint8_t v_x_1039_, lean_object* v___y_1040_, lean_object* v___y_1041_, lean_object* v___y_1042_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0(uint8_t v_x_1041_, lean_object* v___y_1042_, lean_object* v___y_1043_, lean_object* v___y_1044_){ _start: { -lean_object* v___x_1044_; lean_object* v___x_1045_; -v___x_1044_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0); -v___x_1045_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1045_, 0, v___x_1044_); -return v___x_1045_; +lean_object* v___x_1046_; lean_object* v___x_1047_; +v___x_1046_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0); +v___x_1047_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1047_, 0, v___x_1046_); +return v___x_1047_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___boxed(lean_object* v_x_1046_, lean_object* v___y_1047_, lean_object* v___y_1048_, lean_object* v___y_1049_, lean_object* v___y_1050_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___boxed(lean_object* v_x_1048_, lean_object* v___y_1049_, lean_object* v___y_1050_, lean_object* v___y_1051_, lean_object* v___y_1052_){ _start: { -uint8_t v_x_131__boxed_1051_; lean_object* v_res_1052_; -v_x_131__boxed_1051_ = lean_unbox(v_x_1046_); -v_res_1052_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0(v_x_131__boxed_1051_, v___y_1047_, v___y_1048_, v___y_1049_); +uint8_t v_x_131__boxed_1053_; lean_object* v_res_1054_; +v_x_131__boxed_1053_ = lean_unbox(v_x_1048_); +v_res_1054_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0(v_x_131__boxed_1053_, v___y_1049_, v___y_1050_, v___y_1051_); +lean_dec(v___y_1051_); +lean_dec_ref(v___y_1050_); lean_dec(v___y_1049_); -lean_dec_ref(v___y_1048_); -lean_dec(v___y_1047_); -return v_res_1052_; +return v_res_1054_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1(uint8_t v_x_1053_, lean_object* v___y_1054_, lean_object* v___y_1055_, lean_object* v___y_1056_, lean_object* v___y_1057_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1(uint8_t v_x_1055_, lean_object* v___y_1056_, lean_object* v___y_1057_, lean_object* v___y_1058_, lean_object* v___y_1059_){ _start: { -lean_object* v___x_1059_; lean_object* v___x_1060_; -v___x_1059_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0); -v___x_1060_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1060_, 0, v___x_1059_); -return v___x_1060_; +lean_object* v___x_1061_; lean_object* v___x_1062_; +v___x_1061_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__0___closed__0); +v___x_1062_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1062_, 0, v___x_1061_); +return v___x_1062_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1___boxed(lean_object* v_x_1061_, lean_object* v___y_1062_, lean_object* v___y_1063_, lean_object* v___y_1064_, lean_object* v___y_1065_, lean_object* v___y_1066_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1___boxed(lean_object* v_x_1063_, lean_object* v___y_1064_, lean_object* v___y_1065_, lean_object* v___y_1066_, lean_object* v___y_1067_, lean_object* v___y_1068_){ _start: { -uint8_t v_x_156__boxed_1067_; lean_object* v_res_1068_; -v_x_156__boxed_1067_ = lean_unbox(v_x_1061_); -v_res_1068_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1(v_x_156__boxed_1067_, v___y_1062_, v___y_1063_, v___y_1064_, v___y_1065_); +uint8_t v_x_156__boxed_1069_; lean_object* v_res_1070_; +v_x_156__boxed_1069_ = lean_unbox(v_x_1063_); +v_res_1070_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___lam__1(v_x_156__boxed_1069_, v___y_1064_, v___y_1065_, v___y_1066_, v___y_1067_); +lean_dec(v___y_1067_); +lean_dec_ref(v___y_1066_); lean_dec(v___y_1065_); -lean_dec_ref(v___y_1064_); -lean_dec(v___y_1063_); -lean_dec(v___y_1062_); -return v_res_1068_; +lean_dec(v___y_1064_); +return v_res_1070_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default(lean_object* v_a_1076_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef_default(lean_object* v_a_1078_){ _start: { -lean_object* v___x_1077_; -v___x_1077_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2)); -return v___x_1077_; +lean_object* v___x_1079_; +v___x_1079_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_instInhabitedDef_default___closed__2)); +return v___x_1079_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0(void){ _start: { -lean_object* v___x_1078_; -v___x_1078_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default(lean_box(0)); -return v___x_1078_; +lean_object* v___x_1080_; +v___x_1080_ = l_Lean_KeyedDeclsAttribute_instInhabitedDef_default(lean_box(0)); +return v___x_1080_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef(lean_object* v_a_1079_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedDef(lean_object* v_a_1081_){ _start: { -lean_object* v___x_1080_; -v___x_1080_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0); -return v___x_1080_; +lean_object* v___x_1082_; +v___x_1082_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedDef___closed__0); +return v___x_1082_; } } static lean_object* _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0(void){ _start: { -lean_object* v___x_1085_; -v___x_1085_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_1085_; +lean_object* v___x_1087_; +v___x_1087_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_1087_; } } static lean_object* _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1(void){ _start: { -lean_object* v___x_1086_; lean_object* v___x_1087_; -v___x_1086_ = lean_obj_once(&l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0, &l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0_once, _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0); -v___x_1087_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1087_, 0, v___x_1086_); -return v___x_1087_; +lean_object* v___x_1088_; lean_object* v___x_1089_; +v___x_1088_ = lean_obj_once(&l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0, &l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0_once, _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__0); +v___x_1089_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1089_, 0, v___x_1088_); +return v___x_1089_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0(lean_object* v_00_u03b2_1088_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0(lean_object* v_00_u03b2_1090_){ _start: { -lean_object* v___x_1089_; -v___x_1089_ = lean_obj_once(&l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1, &l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1_once, _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1); -return v___x_1089_; +lean_object* v___x_1091_; +v___x_1091_ = lean_obj_once(&l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1, &l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1_once, _init_l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0___closed__1); +return v___x_1091_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0(void){ _start: { -lean_object* v___x_1090_; lean_object* v___x_1091_; lean_object* v___x_1092_; -v___x_1090_ = lean_box(0); -v___x_1091_ = lean_unsigned_to_nat(16u); -v___x_1092_ = lean_mk_array(v___x_1091_, v___x_1090_); -return v___x_1092_; +lean_object* v___x_1092_; lean_object* v___x_1093_; lean_object* v___x_1094_; +v___x_1092_ = lean_box(0); +v___x_1093_ = lean_unsigned_to_nat(16u); +v___x_1094_ = lean_mk_array(v___x_1093_, v___x_1092_); +return v___x_1094_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1(void){ _start: { -lean_object* v___x_1093_; lean_object* v___x_1094_; lean_object* v___x_1095_; -v___x_1093_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0); -v___x_1094_ = lean_unsigned_to_nat(0u); -v___x_1095_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1095_, 0, v___x_1094_); -lean_ctor_set(v___x_1095_, 1, v___x_1093_); -return v___x_1095_; +lean_object* v___x_1095_; lean_object* v___x_1096_; lean_object* v___x_1097_; +v___x_1095_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__0); +v___x_1096_ = lean_unsigned_to_nat(0u); +v___x_1097_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1097_, 0, v___x_1096_); +lean_ctor_set(v___x_1097_, 1, v___x_1095_); +return v___x_1097_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2(void){ _start: { -lean_object* v___x_1096_; -v___x_1096_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_1096_; +lean_object* v___x_1098_; +v___x_1098_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_1098_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3(void){ _start: { -lean_object* v___x_1097_; lean_object* v___x_1098_; -v___x_1097_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2); -v___x_1098_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1098_, 0, v___x_1097_); -return v___x_1098_; +lean_object* v___x_1099_; lean_object* v___x_1100_; +v___x_1099_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__2); +v___x_1100_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1100_, 0, v___x_1099_); +return v___x_1100_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4(void){ _start: { -lean_object* v___x_1099_; lean_object* v___x_1100_; uint8_t v___x_1101_; lean_object* v___x_1102_; -v___x_1099_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3); -v___x_1100_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1); -v___x_1101_ = 1; -v___x_1102_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_1102_, 0, v___x_1100_); -lean_ctor_set(v___x_1102_, 1, v___x_1099_); -lean_ctor_set_uint8(v___x_1102_, sizeof(void*)*2, v___x_1101_); -return v___x_1102_; +lean_object* v___x_1101_; lean_object* v___x_1102_; uint8_t v___x_1103_; lean_object* v___x_1104_; +v___x_1101_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__3); +v___x_1102_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__1); +v___x_1103_ = 1; +v___x_1104_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_1104_, 0, v___x_1102_); +lean_ctor_set(v___x_1104_, 1, v___x_1101_); +lean_ctor_set_uint8(v___x_1104_, sizeof(void*)*2, v___x_1103_); +return v___x_1104_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5(void){ _start: { -lean_object* v___x_1103_; -v___x_1103_ = l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0(lean_box(0)); -return v___x_1103_; +lean_object* v___x_1105_; +v___x_1105_ = l_Lean_PersistentHashMap_empty___at___00Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default_spec__0(lean_box(0)); +return v___x_1105_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6(void){ _start: { -lean_object* v___x_1104_; lean_object* v___x_1105_; lean_object* v___x_1106_; lean_object* v___x_1107_; -v___x_1104_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5); -v___x_1105_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4); -v___x_1106_ = lean_box(0); -v___x_1107_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_1107_, 0, v___x_1106_); -lean_ctor_set(v___x_1107_, 1, v___x_1105_); -lean_ctor_set(v___x_1107_, 2, v___x_1104_); -lean_ctor_set(v___x_1107_, 3, v___x_1104_); -return v___x_1107_; +lean_object* v___x_1106_; lean_object* v___x_1107_; lean_object* v___x_1108_; lean_object* v___x_1109_; +v___x_1106_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5); +v___x_1107_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4); +v___x_1108_ = lean_box(0); +v___x_1109_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_1109_, 0, v___x_1108_); +lean_ctor_set(v___x_1109_, 1, v___x_1107_); +lean_ctor_set(v___x_1109_, 2, v___x_1106_); +lean_ctor_set(v___x_1109_, 3, v___x_1106_); +return v___x_1109_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default(lean_object* v_a_1108_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default(lean_object* v_a_1110_){ _start: { -lean_object* v___x_1109_; -v___x_1109_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6); -return v___x_1109_; +lean_object* v___x_1111_; +v___x_1111_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__6); +return v___x_1111_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0(void){ _start: { -lean_object* v___x_1110_; -v___x_1110_ = l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default(lean_box(0)); -return v___x_1110_; -} -} -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState(lean_object* v_a_1111_){ -_start: -{ lean_object* v___x_1112_; -v___x_1112_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); +v___x_1112_ = l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default(lean_box(0)); return v___x_1112_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(lean_object* v_keys_1113_, lean_object* v_vals_1114_, lean_object* v_i_1115_, lean_object* v_k_1116_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState(lean_object* v_a_1113_){ _start: { -lean_object* v___x_1117_; uint8_t v___x_1118_; -v___x_1117_ = lean_array_get_size(v_keys_1113_); -v___x_1118_ = lean_nat_dec_lt(v_i_1115_, v___x_1117_); -if (v___x_1118_ == 0) +lean_object* v___x_1114_; +v___x_1114_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); +return v___x_1114_; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(lean_object* v_keys_1115_, lean_object* v_vals_1116_, lean_object* v_i_1117_, lean_object* v_k_1118_){ +_start: { -lean_object* v___x_1119_; -lean_dec(v_i_1115_); -v___x_1119_ = lean_box(0); -return v___x_1119_; +lean_object* v___x_1119_; uint8_t v___x_1120_; +v___x_1119_ = lean_array_get_size(v_keys_1115_); +v___x_1120_ = lean_nat_dec_lt(v_i_1117_, v___x_1119_); +if (v___x_1120_ == 0) +{ +lean_object* v___x_1121_; +lean_dec(v_i_1117_); +v___x_1121_ = lean_box(0); +return v___x_1121_; } else { -lean_object* v_k_x27_1120_; uint8_t v___x_1121_; -v_k_x27_1120_ = lean_array_fget_borrowed(v_keys_1113_, v_i_1115_); -v___x_1121_ = lean_name_eq(v_k_1116_, v_k_x27_1120_); -if (v___x_1121_ == 0) +lean_object* v_k_x27_1122_; uint8_t v___x_1123_; +v_k_x27_1122_ = lean_array_fget_borrowed(v_keys_1115_, v_i_1117_); +v___x_1123_ = lean_name_eq(v_k_1118_, v_k_x27_1122_); +if (v___x_1123_ == 0) { -lean_object* v___x_1122_; lean_object* v___x_1123_; -v___x_1122_ = lean_unsigned_to_nat(1u); -v___x_1123_ = lean_nat_add(v_i_1115_, v___x_1122_); -lean_dec(v_i_1115_); -v_i_1115_ = v___x_1123_; +lean_object* v___x_1124_; lean_object* v___x_1125_; +v___x_1124_ = lean_unsigned_to_nat(1u); +v___x_1125_ = lean_nat_add(v_i_1117_, v___x_1124_); +lean_dec(v_i_1117_); +v_i_1117_ = v___x_1125_; goto _start; } else { -lean_object* v___x_1125_; lean_object* v___x_1126_; -v___x_1125_ = lean_array_fget_borrowed(v_vals_1114_, v_i_1115_); -lean_dec(v_i_1115_); -lean_inc(v___x_1125_); -v___x_1126_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1126_, 0, v___x_1125_); -return v___x_1126_; +lean_object* v___x_1127_; lean_object* v___x_1128_; +v___x_1127_ = lean_array_fget_borrowed(v_vals_1116_, v_i_1117_); +lean_dec(v_i_1117_); +lean_inc(v___x_1127_); +v___x_1128_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1128_, 0, v___x_1127_); +return v___x_1128_; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object* v_keys_1127_, lean_object* v_vals_1128_, lean_object* v_i_1129_, lean_object* v_k_1130_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg___boxed(lean_object* v_keys_1129_, lean_object* v_vals_1130_, lean_object* v_i_1131_, lean_object* v_k_1132_){ _start: { -lean_object* v_res_1131_; -v_res_1131_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_keys_1127_, v_vals_1128_, v_i_1129_, v_k_1130_); -lean_dec(v_k_1130_); -lean_dec_ref(v_vals_1128_); -lean_dec_ref(v_keys_1127_); -return v_res_1131_; +lean_object* v_res_1133_; +v_res_1133_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_keys_1129_, v_vals_1130_, v_i_1131_, v_k_1132_); +lean_dec(v_k_1132_); +lean_dec_ref(v_vals_1130_); +lean_dec_ref(v_keys_1129_); +return v_res_1133_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(lean_object* v_x_1132_, size_t v_x_1133_, lean_object* v_x_1134_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(lean_object* v_x_1134_, size_t v_x_1135_, lean_object* v_x_1136_){ _start: { -if (lean_obj_tag(v_x_1132_) == 0) +if (lean_obj_tag(v_x_1134_) == 0) { -lean_object* v_es_1135_; lean_object* v___x_1137_; uint8_t v_isShared_1138_; uint8_t v_isSharedCheck_1156_; -v_es_1135_ = lean_ctor_get(v_x_1132_, 0); -v_isSharedCheck_1156_ = !lean_is_exclusive(v_x_1132_); -if (v_isSharedCheck_1156_ == 0) +lean_object* v_es_1137_; lean_object* v___x_1139_; uint8_t v_isShared_1140_; uint8_t v_isSharedCheck_1158_; +v_es_1137_ = lean_ctor_get(v_x_1134_, 0); +v_isSharedCheck_1158_ = !lean_is_exclusive(v_x_1134_); +if (v_isSharedCheck_1158_ == 0) { -v___x_1137_ = v_x_1132_; -v_isShared_1138_ = v_isSharedCheck_1156_; -goto v_resetjp_1136_; +v___x_1139_ = v_x_1134_; +v_isShared_1140_ = v_isSharedCheck_1158_; +goto v_resetjp_1138_; } else { -lean_inc(v_es_1135_); -lean_dec(v_x_1132_); -v___x_1137_ = lean_box(0); -v_isShared_1138_ = v_isSharedCheck_1156_; -goto v_resetjp_1136_; +lean_inc(v_es_1137_); +lean_dec(v_x_1134_); +v___x_1139_ = lean_box(0); +v_isShared_1140_ = v_isSharedCheck_1158_; +goto v_resetjp_1138_; } -v_resetjp_1136_: +v_resetjp_1138_: { -lean_object* v___x_1139_; size_t v___x_1140_; size_t v___x_1141_; size_t v___x_1142_; lean_object* v_j_1143_; lean_object* v___x_1144_; -v___x_1139_ = lean_box(2); -v___x_1140_ = ((size_t)5ULL); -v___x_1141_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); -v___x_1142_ = lean_usize_land(v_x_1133_, v___x_1141_); -v_j_1143_ = lean_usize_to_nat(v___x_1142_); -v___x_1144_ = lean_array_get(v___x_1139_, v_es_1135_, v_j_1143_); -lean_dec(v_j_1143_); -lean_dec_ref(v_es_1135_); -switch(lean_obj_tag(v___x_1144_)) +lean_object* v___x_1141_; size_t v___x_1142_; size_t v___x_1143_; size_t v___x_1144_; lean_object* v_j_1145_; lean_object* v___x_1146_; +v___x_1141_ = lean_box(2); +v___x_1142_ = ((size_t)5ULL); +v___x_1143_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); +v___x_1144_ = lean_usize_land(v_x_1135_, v___x_1143_); +v_j_1145_ = lean_usize_to_nat(v___x_1144_); +v___x_1146_ = lean_array_get(v___x_1141_, v_es_1137_, v_j_1145_); +lean_dec(v_j_1145_); +lean_dec_ref(v_es_1137_); +switch(lean_obj_tag(v___x_1146_)) { case 0: { -lean_object* v_key_1145_; lean_object* v_val_1146_; uint8_t v___x_1147_; -v_key_1145_ = lean_ctor_get(v___x_1144_, 0); -lean_inc(v_key_1145_); -v_val_1146_ = lean_ctor_get(v___x_1144_, 1); -lean_inc(v_val_1146_); -lean_dec_ref(v___x_1144_); -v___x_1147_ = lean_name_eq(v_x_1134_, v_key_1145_); -lean_dec(v_key_1145_); -if (v___x_1147_ == 0) -{ -lean_object* v___x_1148_; -lean_dec(v_val_1146_); -lean_del_object(v___x_1137_); -v___x_1148_ = lean_box(0); -return v___x_1148_; -} -else +lean_object* v_key_1147_; lean_object* v_val_1148_; uint8_t v___x_1149_; +v_key_1147_ = lean_ctor_get(v___x_1146_, 0); +lean_inc(v_key_1147_); +v_val_1148_ = lean_ctor_get(v___x_1146_, 1); +lean_inc(v_val_1148_); +lean_dec_ref(v___x_1146_); +v___x_1149_ = lean_name_eq(v_x_1136_, v_key_1147_); +lean_dec(v_key_1147_); +if (v___x_1149_ == 0) { lean_object* v___x_1150_; -if (v_isShared_1138_ == 0) -{ -lean_ctor_set_tag(v___x_1137_, 1); -lean_ctor_set(v___x_1137_, 0, v_val_1146_); -v___x_1150_ = v___x_1137_; -goto v_reusejp_1149_; +lean_dec(v_val_1148_); +lean_del_object(v___x_1139_); +v___x_1150_ = lean_box(0); +return v___x_1150_; } else { -lean_object* v_reuseFailAlloc_1151_; -v_reuseFailAlloc_1151_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1151_, 0, v_val_1146_); -v___x_1150_ = v_reuseFailAlloc_1151_; -goto v_reusejp_1149_; -} -v_reusejp_1149_: +lean_object* v___x_1152_; +if (v_isShared_1140_ == 0) { -return v___x_1150_; +lean_ctor_set_tag(v___x_1139_, 1); +lean_ctor_set(v___x_1139_, 0, v_val_1148_); +v___x_1152_ = v___x_1139_; +goto v_reusejp_1151_; +} +else +{ +lean_object* v_reuseFailAlloc_1153_; +v_reuseFailAlloc_1153_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1153_, 0, v_val_1148_); +v___x_1152_ = v_reuseFailAlloc_1153_; +goto v_reusejp_1151_; +} +v_reusejp_1151_: +{ +return v___x_1152_; } } } case 1: { -lean_object* v_node_1152_; size_t v___x_1153_; -lean_del_object(v___x_1137_); -v_node_1152_ = lean_ctor_get(v___x_1144_, 0); -lean_inc(v_node_1152_); -lean_dec_ref(v___x_1144_); -v___x_1153_ = lean_usize_shift_right(v_x_1133_, v___x_1140_); -v_x_1132_ = v_node_1152_; -v_x_1133_ = v___x_1153_; +lean_object* v_node_1154_; size_t v___x_1155_; +lean_del_object(v___x_1139_); +v_node_1154_ = lean_ctor_get(v___x_1146_, 0); +lean_inc(v_node_1154_); +lean_dec_ref(v___x_1146_); +v___x_1155_ = lean_usize_shift_right(v_x_1135_, v___x_1142_); +v_x_1134_ = v_node_1154_; +v_x_1135_ = v___x_1155_; goto _start; } default: { -lean_object* v___x_1155_; -lean_del_object(v___x_1137_); -v___x_1155_ = lean_box(0); -return v___x_1155_; +lean_object* v___x_1157_; +lean_del_object(v___x_1139_); +v___x_1157_ = lean_box(0); +return v___x_1157_; } } } } else { -lean_object* v_ks_1157_; lean_object* v_vs_1158_; lean_object* v___x_1159_; lean_object* v___x_1160_; -v_ks_1157_ = lean_ctor_get(v_x_1132_, 0); -lean_inc_ref(v_ks_1157_); -v_vs_1158_ = lean_ctor_get(v_x_1132_, 1); -lean_inc_ref(v_vs_1158_); -lean_dec_ref(v_x_1132_); -v___x_1159_ = lean_unsigned_to_nat(0u); -v___x_1160_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_ks_1157_, v_vs_1158_, v___x_1159_, v_x_1134_); -lean_dec_ref(v_vs_1158_); -lean_dec_ref(v_ks_1157_); -return v___x_1160_; +lean_object* v_ks_1159_; lean_object* v_vs_1160_; lean_object* v___x_1161_; lean_object* v___x_1162_; +v_ks_1159_ = lean_ctor_get(v_x_1134_, 0); +lean_inc_ref(v_ks_1159_); +v_vs_1160_ = lean_ctor_get(v_x_1134_, 1); +lean_inc_ref(v_vs_1160_); +lean_dec_ref(v_x_1134_); +v___x_1161_ = lean_unsigned_to_nat(0u); +v___x_1162_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_ks_1159_, v_vs_1160_, v___x_1161_, v_x_1136_); +lean_dec_ref(v_vs_1160_); +lean_dec_ref(v_ks_1159_); +return v___x_1162_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_x_1161_, lean_object* v_x_1162_, lean_object* v_x_1163_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_x_1163_, lean_object* v_x_1164_, lean_object* v_x_1165_){ _start: { -size_t v_x_918__boxed_1164_; lean_object* v_res_1165_; -v_x_918__boxed_1164_ = lean_unbox_usize(v_x_1162_); -lean_dec(v_x_1162_); -v_res_1165_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1161_, v_x_918__boxed_1164_, v_x_1163_); -lean_dec(v_x_1163_); -return v_res_1165_; +size_t v_x_918__boxed_1166_; lean_object* v_res_1167_; +v_x_918__boxed_1166_ = lean_unbox_usize(v_x_1164_); +lean_dec(v_x_1164_); +v_res_1167_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1163_, v_x_918__boxed_1166_, v_x_1165_); +lean_dec(v_x_1165_); +return v_res_1167_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(lean_object* v_x_1166_, lean_object* v_x_1167_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(lean_object* v_x_1168_, lean_object* v_x_1169_){ _start: { -uint64_t v___y_1169_; -if (lean_obj_tag(v_x_1167_) == 0) +uint64_t v___y_1171_; +if (lean_obj_tag(v_x_1169_) == 0) { -uint64_t v___x_1172_; -v___x_1172_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1169_ = v___x_1172_; -goto v___jp_1168_; +uint64_t v___x_1174_; +v___x_1174_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1171_ = v___x_1174_; +goto v___jp_1170_; } else { -uint64_t v_hash_1173_; -v_hash_1173_ = lean_ctor_get_uint64(v_x_1167_, sizeof(void*)*2); -v___y_1169_ = v_hash_1173_; -goto v___jp_1168_; +uint64_t v_hash_1175_; +v_hash_1175_ = lean_ctor_get_uint64(v_x_1169_, sizeof(void*)*2); +v___y_1171_ = v_hash_1175_; +goto v___jp_1170_; } -v___jp_1168_: +v___jp_1170_: { -size_t v___x_1170_; lean_object* v___x_1171_; -v___x_1170_ = lean_uint64_to_usize(v___y_1169_); -v___x_1171_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1166_, v___x_1170_, v_x_1167_); -return v___x_1171_; +size_t v___x_1172_; lean_object* v___x_1173_; +v___x_1172_ = lean_uint64_to_usize(v___y_1171_); +v___x_1173_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1168_, v___x_1172_, v_x_1169_); +return v___x_1173_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg___boxed(lean_object* v_x_1174_, lean_object* v_x_1175_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg___boxed(lean_object* v_x_1176_, lean_object* v_x_1177_){ _start: { -lean_object* v_res_1176_; -v_res_1176_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_x_1174_, v_x_1175_); -lean_dec(v_x_1175_); -return v_res_1176_; +lean_object* v_res_1178_; +v_res_1178_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_x_1176_, v_x_1177_); +lean_dec(v_x_1177_); +return v_res_1178_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(lean_object* v_x_1177_, lean_object* v_x_1178_){ +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(lean_object* v_x_1179_, lean_object* v_x_1180_){ _start: { -uint8_t v_stage_u2081_1179_; -v_stage_u2081_1179_ = lean_ctor_get_uint8(v_x_1177_, sizeof(void*)*2); -if (v_stage_u2081_1179_ == 0) +uint8_t v_stage_u2081_1181_; +v_stage_u2081_1181_ = lean_ctor_get_uint8(v_x_1179_, sizeof(void*)*2); +if (v_stage_u2081_1181_ == 0) { -lean_object* v_map_u2081_1180_; lean_object* v_map_u2082_1181_; lean_object* v___x_1182_; -v_map_u2081_1180_ = lean_ctor_get(v_x_1177_, 0); -lean_inc_ref(v_map_u2081_1180_); -v_map_u2082_1181_ = lean_ctor_get(v_x_1177_, 1); -lean_inc_ref(v_map_u2082_1181_); -lean_dec_ref(v_x_1177_); -v___x_1182_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_map_u2082_1181_, v_x_1178_); -if (lean_obj_tag(v___x_1182_) == 0) +lean_object* v_map_u2081_1182_; lean_object* v_map_u2082_1183_; lean_object* v___x_1184_; +v_map_u2081_1182_ = lean_ctor_get(v_x_1179_, 0); +lean_inc_ref(v_map_u2081_1182_); +v_map_u2082_1183_ = lean_ctor_get(v_x_1179_, 1); +lean_inc_ref(v_map_u2082_1183_); +lean_dec_ref(v_x_1179_); +v___x_1184_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_map_u2082_1183_, v_x_1180_); +if (lean_obj_tag(v___x_1184_) == 0) { -lean_object* v___x_1183_; -v___x_1183_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(v_map_u2081_1180_, v_x_1178_); -lean_dec_ref(v_map_u2081_1180_); -return v___x_1183_; -} -else -{ -lean_dec_ref(v_map_u2081_1180_); -return v___x_1182_; -} -} -else -{ -lean_object* v_map_u2081_1184_; lean_object* v___x_1185_; -v_map_u2081_1184_ = lean_ctor_get(v_x_1177_, 0); -lean_inc_ref(v_map_u2081_1184_); -lean_dec_ref(v_x_1177_); -v___x_1185_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg(v_map_u2081_1184_, v_x_1178_); -lean_dec_ref(v_map_u2081_1184_); +lean_object* v___x_1185_; +v___x_1185_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(v_map_u2081_1182_, v_x_1180_); +lean_dec_ref(v_map_u2081_1182_); return v___x_1185_; } +else +{ +lean_dec_ref(v_map_u2081_1182_); +return v___x_1184_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg___boxed(lean_object* v_x_1186_, lean_object* v_x_1187_){ +else +{ +lean_object* v_map_u2081_1186_; lean_object* v___x_1187_; +v_map_u2081_1186_ = lean_ctor_get(v_x_1179_, 0); +lean_inc_ref(v_map_u2081_1186_); +lean_dec_ref(v_x_1179_); +v___x_1187_ = l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg(v_map_u2081_1186_, v_x_1180_); +lean_dec_ref(v_map_u2081_1186_); +return v___x_1187_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg___boxed(lean_object* v_x_1188_, lean_object* v_x_1189_){ _start: { -lean_object* v_res_1188_; -v_res_1188_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_x_1186_, v_x_1187_); -lean_dec(v_x_1187_); -return v_res_1188_; +lean_object* v_res_1190_; +v_res_1190_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_x_1188_, v_x_1189_); +lean_dec(v_x_1189_); +return v_res_1190_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(lean_object* v_x_1189_, lean_object* v_x_1190_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(lean_object* v_x_1191_, lean_object* v_x_1192_){ _start: { -if (lean_obj_tag(v_x_1190_) == 0) +if (lean_obj_tag(v_x_1192_) == 0) { -return v_x_1189_; +return v_x_1191_; } else { -lean_object* v_key_1191_; lean_object* v_value_1192_; lean_object* v_tail_1193_; lean_object* v___x_1195_; uint8_t v_isShared_1196_; uint8_t v_isSharedCheck_1219_; -v_key_1191_ = lean_ctor_get(v_x_1190_, 0); -v_value_1192_ = lean_ctor_get(v_x_1190_, 1); -v_tail_1193_ = lean_ctor_get(v_x_1190_, 2); -v_isSharedCheck_1219_ = !lean_is_exclusive(v_x_1190_); -if (v_isSharedCheck_1219_ == 0) +lean_object* v_key_1193_; lean_object* v_value_1194_; lean_object* v_tail_1195_; lean_object* v___x_1197_; uint8_t v_isShared_1198_; uint8_t v_isSharedCheck_1221_; +v_key_1193_ = lean_ctor_get(v_x_1192_, 0); +v_value_1194_ = lean_ctor_get(v_x_1192_, 1); +v_tail_1195_ = lean_ctor_get(v_x_1192_, 2); +v_isSharedCheck_1221_ = !lean_is_exclusive(v_x_1192_); +if (v_isSharedCheck_1221_ == 0) { -v___x_1195_ = v_x_1190_; -v_isShared_1196_ = v_isSharedCheck_1219_; -goto v_resetjp_1194_; +v___x_1197_ = v_x_1192_; +v_isShared_1198_ = v_isSharedCheck_1221_; +goto v_resetjp_1196_; } else { -lean_inc(v_tail_1193_); -lean_inc(v_value_1192_); -lean_inc(v_key_1191_); -lean_dec(v_x_1190_); -v___x_1195_ = lean_box(0); -v_isShared_1196_ = v_isSharedCheck_1219_; -goto v_resetjp_1194_; +lean_inc(v_tail_1195_); +lean_inc(v_value_1194_); +lean_inc(v_key_1193_); +lean_dec(v_x_1192_); +v___x_1197_ = lean_box(0); +v_isShared_1198_ = v_isSharedCheck_1221_; +goto v_resetjp_1196_; } -v_resetjp_1194_: +v_resetjp_1196_: { -lean_object* v___x_1197_; uint64_t v___y_1199_; -v___x_1197_ = lean_array_get_size(v_x_1189_); -if (lean_obj_tag(v_key_1191_) == 0) +lean_object* v___x_1199_; uint64_t v___y_1201_; +v___x_1199_ = lean_array_get_size(v_x_1191_); +if (lean_obj_tag(v_key_1193_) == 0) { -uint64_t v___x_1217_; -v___x_1217_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1199_ = v___x_1217_; -goto v___jp_1198_; +uint64_t v___x_1219_; +v___x_1219_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1201_ = v___x_1219_; +goto v___jp_1200_; } else { -uint64_t v_hash_1218_; -v_hash_1218_ = lean_ctor_get_uint64(v_key_1191_, sizeof(void*)*2); -v___y_1199_ = v_hash_1218_; -goto v___jp_1198_; +uint64_t v_hash_1220_; +v_hash_1220_ = lean_ctor_get_uint64(v_key_1193_, sizeof(void*)*2); +v___y_1201_ = v_hash_1220_; +goto v___jp_1200_; } -v___jp_1198_: +v___jp_1200_: { -uint64_t v___x_1200_; uint64_t v___x_1201_; uint64_t v_fold_1202_; uint64_t v___x_1203_; uint64_t v___x_1204_; uint64_t v___x_1205_; size_t v___x_1206_; size_t v___x_1207_; size_t v___x_1208_; size_t v___x_1209_; size_t v___x_1210_; lean_object* v___x_1211_; lean_object* v___x_1213_; -v___x_1200_ = 32ULL; -v___x_1201_ = lean_uint64_shift_right(v___y_1199_, v___x_1200_); -v_fold_1202_ = lean_uint64_xor(v___y_1199_, v___x_1201_); -v___x_1203_ = 16ULL; -v___x_1204_ = lean_uint64_shift_right(v_fold_1202_, v___x_1203_); -v___x_1205_ = lean_uint64_xor(v_fold_1202_, v___x_1204_); -v___x_1206_ = lean_uint64_to_usize(v___x_1205_); -v___x_1207_ = lean_usize_of_nat(v___x_1197_); -v___x_1208_ = ((size_t)1ULL); -v___x_1209_ = lean_usize_sub(v___x_1207_, v___x_1208_); -v___x_1210_ = lean_usize_land(v___x_1206_, v___x_1209_); -v___x_1211_ = lean_array_uget_borrowed(v_x_1189_, v___x_1210_); -lean_inc(v___x_1211_); -if (v_isShared_1196_ == 0) +uint64_t v___x_1202_; uint64_t v___x_1203_; uint64_t v_fold_1204_; uint64_t v___x_1205_; uint64_t v___x_1206_; uint64_t v___x_1207_; size_t v___x_1208_; size_t v___x_1209_; size_t v___x_1210_; size_t v___x_1211_; size_t v___x_1212_; lean_object* v___x_1213_; lean_object* v___x_1215_; +v___x_1202_ = 32ULL; +v___x_1203_ = lean_uint64_shift_right(v___y_1201_, v___x_1202_); +v_fold_1204_ = lean_uint64_xor(v___y_1201_, v___x_1203_); +v___x_1205_ = 16ULL; +v___x_1206_ = lean_uint64_shift_right(v_fold_1204_, v___x_1205_); +v___x_1207_ = lean_uint64_xor(v_fold_1204_, v___x_1206_); +v___x_1208_ = lean_uint64_to_usize(v___x_1207_); +v___x_1209_ = lean_usize_of_nat(v___x_1199_); +v___x_1210_ = ((size_t)1ULL); +v___x_1211_ = lean_usize_sub(v___x_1209_, v___x_1210_); +v___x_1212_ = lean_usize_land(v___x_1208_, v___x_1211_); +v___x_1213_ = lean_array_uget_borrowed(v_x_1191_, v___x_1212_); +lean_inc(v___x_1213_); +if (v_isShared_1198_ == 0) { -lean_ctor_set(v___x_1195_, 2, v___x_1211_); -v___x_1213_ = v___x_1195_; -goto v_reusejp_1212_; +lean_ctor_set(v___x_1197_, 2, v___x_1213_); +v___x_1215_ = v___x_1197_; +goto v_reusejp_1214_; } else { -lean_object* v_reuseFailAlloc_1216_; -v_reuseFailAlloc_1216_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_1216_, 0, v_key_1191_); -lean_ctor_set(v_reuseFailAlloc_1216_, 1, v_value_1192_); -lean_ctor_set(v_reuseFailAlloc_1216_, 2, v___x_1211_); -v___x_1213_ = v_reuseFailAlloc_1216_; -goto v_reusejp_1212_; +lean_object* v_reuseFailAlloc_1218_; +v_reuseFailAlloc_1218_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_1218_, 0, v_key_1193_); +lean_ctor_set(v_reuseFailAlloc_1218_, 1, v_value_1194_); +lean_ctor_set(v_reuseFailAlloc_1218_, 2, v___x_1213_); +v___x_1215_ = v_reuseFailAlloc_1218_; +goto v_reusejp_1214_; } -v_reusejp_1212_: +v_reusejp_1214_: { -lean_object* v___x_1214_; -v___x_1214_ = lean_array_uset(v_x_1189_, v___x_1210_, v___x_1213_); -v_x_1189_ = v___x_1214_; -v_x_1190_ = v_tail_1193_; +lean_object* v___x_1216_; +v___x_1216_ = lean_array_uset(v_x_1191_, v___x_1212_, v___x_1215_); +v_x_1191_ = v___x_1216_; +v_x_1192_ = v_tail_1195_; goto _start; } } @@ -4162,664 +4165,664 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(lean_object* v_i_1220_, lean_object* v_source_1221_, lean_object* v_target_1222_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(lean_object* v_i_1222_, lean_object* v_source_1223_, lean_object* v_target_1224_){ _start: { -lean_object* v___x_1223_; uint8_t v___x_1224_; -v___x_1223_ = lean_array_get_size(v_source_1221_); -v___x_1224_ = lean_nat_dec_lt(v_i_1220_, v___x_1223_); -if (v___x_1224_ == 0) +lean_object* v___x_1225_; uint8_t v___x_1226_; +v___x_1225_ = lean_array_get_size(v_source_1223_); +v___x_1226_ = lean_nat_dec_lt(v_i_1222_, v___x_1225_); +if (v___x_1226_ == 0) { -lean_dec_ref(v_source_1221_); -lean_dec(v_i_1220_); -return v_target_1222_; +lean_dec_ref(v_source_1223_); +lean_dec(v_i_1222_); +return v_target_1224_; } else { -lean_object* v_es_1225_; lean_object* v___x_1226_; lean_object* v_source_1227_; lean_object* v_target_1228_; lean_object* v___x_1229_; lean_object* v___x_1230_; -v_es_1225_ = lean_array_fget(v_source_1221_, v_i_1220_); -v___x_1226_ = lean_box(0); -v_source_1227_ = lean_array_fset(v_source_1221_, v_i_1220_, v___x_1226_); -v_target_1228_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(v_target_1222_, v_es_1225_); -v___x_1229_ = lean_unsigned_to_nat(1u); -v___x_1230_ = lean_nat_add(v_i_1220_, v___x_1229_); -lean_dec(v_i_1220_); -v_i_1220_ = v___x_1230_; -v_source_1221_ = v_source_1227_; -v_target_1222_ = v_target_1228_; +lean_object* v_es_1227_; lean_object* v___x_1228_; lean_object* v_source_1229_; lean_object* v_target_1230_; lean_object* v___x_1231_; lean_object* v___x_1232_; +v_es_1227_ = lean_array_fget(v_source_1223_, v_i_1222_); +v___x_1228_ = lean_box(0); +v_source_1229_ = lean_array_fset(v_source_1223_, v_i_1222_, v___x_1228_); +v_target_1230_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(v_target_1224_, v_es_1227_); +v___x_1231_ = lean_unsigned_to_nat(1u); +v___x_1232_ = lean_nat_add(v_i_1222_, v___x_1231_); +lean_dec(v_i_1222_); +v_i_1222_ = v___x_1232_; +v_source_1223_ = v_source_1229_; +v_target_1224_ = v_target_1230_; goto _start; } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(lean_object* v_data_1232_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(lean_object* v_data_1234_){ _start: { -lean_object* v___x_1233_; lean_object* v___x_1234_; lean_object* v_nbuckets_1235_; lean_object* v___x_1236_; lean_object* v___x_1237_; lean_object* v___x_1238_; lean_object* v___x_1239_; -v___x_1233_ = lean_array_get_size(v_data_1232_); -v___x_1234_ = lean_unsigned_to_nat(2u); -v_nbuckets_1235_ = lean_nat_mul(v___x_1233_, v___x_1234_); -v___x_1236_ = lean_unsigned_to_nat(0u); -v___x_1237_ = lean_box(0); -v___x_1238_ = lean_mk_array(v_nbuckets_1235_, v___x_1237_); -v___x_1239_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(v___x_1236_, v_data_1232_, v___x_1238_); -return v___x_1239_; +lean_object* v___x_1235_; lean_object* v___x_1236_; lean_object* v_nbuckets_1237_; lean_object* v___x_1238_; lean_object* v___x_1239_; lean_object* v___x_1240_; lean_object* v___x_1241_; +v___x_1235_ = lean_array_get_size(v_data_1234_); +v___x_1236_ = lean_unsigned_to_nat(2u); +v_nbuckets_1237_ = lean_nat_mul(v___x_1235_, v___x_1236_); +v___x_1238_ = lean_unsigned_to_nat(0u); +v___x_1239_ = lean_box(0); +v___x_1240_ = lean_mk_array(v_nbuckets_1237_, v___x_1239_); +v___x_1241_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(v___x_1238_, v_data_1234_, v___x_1240_); +return v___x_1241_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(lean_object* v_a_1240_, lean_object* v_b_1241_, lean_object* v_x_1242_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(lean_object* v_a_1242_, lean_object* v_b_1243_, lean_object* v_x_1244_){ _start: { -if (lean_obj_tag(v_x_1242_) == 0) +if (lean_obj_tag(v_x_1244_) == 0) { -lean_dec(v_b_1241_); -lean_dec(v_a_1240_); -return v_x_1242_; +lean_dec(v_b_1243_); +lean_dec(v_a_1242_); +return v_x_1244_; } else { -lean_object* v_key_1243_; lean_object* v_value_1244_; lean_object* v_tail_1245_; lean_object* v___x_1247_; uint8_t v_isShared_1248_; uint8_t v_isSharedCheck_1257_; -v_key_1243_ = lean_ctor_get(v_x_1242_, 0); -v_value_1244_ = lean_ctor_get(v_x_1242_, 1); -v_tail_1245_ = lean_ctor_get(v_x_1242_, 2); -v_isSharedCheck_1257_ = !lean_is_exclusive(v_x_1242_); -if (v_isSharedCheck_1257_ == 0) +lean_object* v_key_1245_; lean_object* v_value_1246_; lean_object* v_tail_1247_; lean_object* v___x_1249_; uint8_t v_isShared_1250_; uint8_t v_isSharedCheck_1259_; +v_key_1245_ = lean_ctor_get(v_x_1244_, 0); +v_value_1246_ = lean_ctor_get(v_x_1244_, 1); +v_tail_1247_ = lean_ctor_get(v_x_1244_, 2); +v_isSharedCheck_1259_ = !lean_is_exclusive(v_x_1244_); +if (v_isSharedCheck_1259_ == 0) { -v___x_1247_ = v_x_1242_; -v_isShared_1248_ = v_isSharedCheck_1257_; -goto v_resetjp_1246_; +v___x_1249_ = v_x_1244_; +v_isShared_1250_ = v_isSharedCheck_1259_; +goto v_resetjp_1248_; } else { -lean_inc(v_tail_1245_); -lean_inc(v_value_1244_); -lean_inc(v_key_1243_); -lean_dec(v_x_1242_); -v___x_1247_ = lean_box(0); -v_isShared_1248_ = v_isSharedCheck_1257_; -goto v_resetjp_1246_; +lean_inc(v_tail_1247_); +lean_inc(v_value_1246_); +lean_inc(v_key_1245_); +lean_dec(v_x_1244_); +v___x_1249_ = lean_box(0); +v_isShared_1250_ = v_isSharedCheck_1259_; +goto v_resetjp_1248_; } -v_resetjp_1246_: +v_resetjp_1248_: { -uint8_t v___x_1249_; -v___x_1249_ = lean_name_eq(v_key_1243_, v_a_1240_); -if (v___x_1249_ == 0) +uint8_t v___x_1251_; +v___x_1251_ = lean_name_eq(v_key_1245_, v_a_1242_); +if (v___x_1251_ == 0) { -lean_object* v___x_1250_; lean_object* v___x_1252_; -v___x_1250_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1240_, v_b_1241_, v_tail_1245_); -if (v_isShared_1248_ == 0) +lean_object* v___x_1252_; lean_object* v___x_1254_; +v___x_1252_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1242_, v_b_1243_, v_tail_1247_); +if (v_isShared_1250_ == 0) { -lean_ctor_set(v___x_1247_, 2, v___x_1250_); -v___x_1252_ = v___x_1247_; -goto v_reusejp_1251_; +lean_ctor_set(v___x_1249_, 2, v___x_1252_); +v___x_1254_ = v___x_1249_; +goto v_reusejp_1253_; } else { -lean_object* v_reuseFailAlloc_1253_; -v_reuseFailAlloc_1253_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_1253_, 0, v_key_1243_); -lean_ctor_set(v_reuseFailAlloc_1253_, 1, v_value_1244_); -lean_ctor_set(v_reuseFailAlloc_1253_, 2, v___x_1250_); -v___x_1252_ = v_reuseFailAlloc_1253_; -goto v_reusejp_1251_; +lean_object* v_reuseFailAlloc_1255_; +v_reuseFailAlloc_1255_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_1255_, 0, v_key_1245_); +lean_ctor_set(v_reuseFailAlloc_1255_, 1, v_value_1246_); +lean_ctor_set(v_reuseFailAlloc_1255_, 2, v___x_1252_); +v___x_1254_ = v_reuseFailAlloc_1255_; +goto v_reusejp_1253_; } -v_reusejp_1251_: +v_reusejp_1253_: { -return v___x_1252_; +return v___x_1254_; } } else { -lean_object* v___x_1255_; -lean_dec(v_value_1244_); -lean_dec(v_key_1243_); -if (v_isShared_1248_ == 0) +lean_object* v___x_1257_; +lean_dec(v_value_1246_); +lean_dec(v_key_1245_); +if (v_isShared_1250_ == 0) { -lean_ctor_set(v___x_1247_, 1, v_b_1241_); -lean_ctor_set(v___x_1247_, 0, v_a_1240_); -v___x_1255_ = v___x_1247_; -goto v_reusejp_1254_; +lean_ctor_set(v___x_1249_, 1, v_b_1243_); +lean_ctor_set(v___x_1249_, 0, v_a_1242_); +v___x_1257_ = v___x_1249_; +goto v_reusejp_1256_; } else { -lean_object* v_reuseFailAlloc_1256_; -v_reuseFailAlloc_1256_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v_reuseFailAlloc_1256_, 0, v_a_1240_); -lean_ctor_set(v_reuseFailAlloc_1256_, 1, v_b_1241_); -lean_ctor_set(v_reuseFailAlloc_1256_, 2, v_tail_1245_); -v___x_1255_ = v_reuseFailAlloc_1256_; -goto v_reusejp_1254_; +lean_object* v_reuseFailAlloc_1258_; +v_reuseFailAlloc_1258_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v_reuseFailAlloc_1258_, 0, v_a_1242_); +lean_ctor_set(v_reuseFailAlloc_1258_, 1, v_b_1243_); +lean_ctor_set(v_reuseFailAlloc_1258_, 2, v_tail_1247_); +v___x_1257_ = v_reuseFailAlloc_1258_; +goto v_reusejp_1256_; } -v_reusejp_1254_: +v_reusejp_1256_: { -return v___x_1255_; +return v___x_1257_; } } } } } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(lean_object* v_a_1258_, lean_object* v_x_1259_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(lean_object* v_a_1260_, lean_object* v_x_1261_){ _start: { -if (lean_obj_tag(v_x_1259_) == 0) +if (lean_obj_tag(v_x_1261_) == 0) { -uint8_t v___x_1260_; -v___x_1260_ = 0; -return v___x_1260_; +uint8_t v___x_1262_; +v___x_1262_ = 0; +return v___x_1262_; } else { -lean_object* v_key_1261_; lean_object* v_tail_1262_; uint8_t v___x_1263_; -v_key_1261_ = lean_ctor_get(v_x_1259_, 0); -v_tail_1262_ = lean_ctor_get(v_x_1259_, 2); -v___x_1263_ = lean_name_eq(v_key_1261_, v_a_1258_); -if (v___x_1263_ == 0) +lean_object* v_key_1263_; lean_object* v_tail_1264_; uint8_t v___x_1265_; +v_key_1263_ = lean_ctor_get(v_x_1261_, 0); +v_tail_1264_ = lean_ctor_get(v_x_1261_, 2); +v___x_1265_ = lean_name_eq(v_key_1263_, v_a_1260_); +if (v___x_1265_ == 0) { -v_x_1259_ = v_tail_1262_; +v_x_1261_ = v_tail_1264_; goto _start; } else { -return v___x_1263_; +return v___x_1265_; } } } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg___boxed(lean_object* v_a_1265_, lean_object* v_x_1266_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg___boxed(lean_object* v_a_1267_, lean_object* v_x_1268_){ _start: { -uint8_t v_res_1267_; lean_object* v_r_1268_; -v_res_1267_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1265_, v_x_1266_); -lean_dec(v_x_1266_); -lean_dec(v_a_1265_); -v_r_1268_ = lean_box(v_res_1267_); -return v_r_1268_; +uint8_t v_res_1269_; lean_object* v_r_1270_; +v_res_1269_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1267_, v_x_1268_); +lean_dec(v_x_1268_); +lean_dec(v_a_1267_); +v_r_1270_ = lean_box(v_res_1269_); +return v_r_1270_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(lean_object* v_m_1269_, lean_object* v_a_1270_, lean_object* v_b_1271_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(lean_object* v_m_1271_, lean_object* v_a_1272_, lean_object* v_b_1273_){ _start: { -lean_object* v_size_1272_; lean_object* v_buckets_1273_; lean_object* v___x_1275_; uint8_t v_isShared_1276_; uint8_t v_isSharedCheck_1319_; -v_size_1272_ = lean_ctor_get(v_m_1269_, 0); -v_buckets_1273_ = lean_ctor_get(v_m_1269_, 1); -v_isSharedCheck_1319_ = !lean_is_exclusive(v_m_1269_); -if (v_isSharedCheck_1319_ == 0) +lean_object* v_size_1274_; lean_object* v_buckets_1275_; lean_object* v___x_1277_; uint8_t v_isShared_1278_; uint8_t v_isSharedCheck_1321_; +v_size_1274_ = lean_ctor_get(v_m_1271_, 0); +v_buckets_1275_ = lean_ctor_get(v_m_1271_, 1); +v_isSharedCheck_1321_ = !lean_is_exclusive(v_m_1271_); +if (v_isSharedCheck_1321_ == 0) { -v___x_1275_ = v_m_1269_; -v_isShared_1276_ = v_isSharedCheck_1319_; -goto v_resetjp_1274_; +v___x_1277_ = v_m_1271_; +v_isShared_1278_ = v_isSharedCheck_1321_; +goto v_resetjp_1276_; } else { -lean_inc(v_buckets_1273_); -lean_inc(v_size_1272_); -lean_dec(v_m_1269_); -v___x_1275_ = lean_box(0); -v_isShared_1276_ = v_isSharedCheck_1319_; -goto v_resetjp_1274_; +lean_inc(v_buckets_1275_); +lean_inc(v_size_1274_); +lean_dec(v_m_1271_); +v___x_1277_ = lean_box(0); +v_isShared_1278_ = v_isSharedCheck_1321_; +goto v_resetjp_1276_; } -v_resetjp_1274_: +v_resetjp_1276_: { -lean_object* v___x_1277_; uint64_t v___y_1279_; -v___x_1277_ = lean_array_get_size(v_buckets_1273_); -if (lean_obj_tag(v_a_1270_) == 0) +lean_object* v___x_1279_; uint64_t v___y_1281_; +v___x_1279_ = lean_array_get_size(v_buckets_1275_); +if (lean_obj_tag(v_a_1272_) == 0) { -uint64_t v___x_1317_; -v___x_1317_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1279_ = v___x_1317_; -goto v___jp_1278_; +uint64_t v___x_1319_; +v___x_1319_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1281_ = v___x_1319_; +goto v___jp_1280_; } else { -uint64_t v_hash_1318_; -v_hash_1318_ = lean_ctor_get_uint64(v_a_1270_, sizeof(void*)*2); -v___y_1279_ = v_hash_1318_; -goto v___jp_1278_; +uint64_t v_hash_1320_; +v_hash_1320_ = lean_ctor_get_uint64(v_a_1272_, sizeof(void*)*2); +v___y_1281_ = v_hash_1320_; +goto v___jp_1280_; } -v___jp_1278_: +v___jp_1280_: { -uint64_t v___x_1280_; uint64_t v___x_1281_; uint64_t v_fold_1282_; uint64_t v___x_1283_; uint64_t v___x_1284_; uint64_t v___x_1285_; size_t v___x_1286_; size_t v___x_1287_; size_t v___x_1288_; size_t v___x_1289_; size_t v___x_1290_; lean_object* v_bkt_1291_; uint8_t v___x_1292_; -v___x_1280_ = 32ULL; -v___x_1281_ = lean_uint64_shift_right(v___y_1279_, v___x_1280_); -v_fold_1282_ = lean_uint64_xor(v___y_1279_, v___x_1281_); -v___x_1283_ = 16ULL; -v___x_1284_ = lean_uint64_shift_right(v_fold_1282_, v___x_1283_); -v___x_1285_ = lean_uint64_xor(v_fold_1282_, v___x_1284_); -v___x_1286_ = lean_uint64_to_usize(v___x_1285_); -v___x_1287_ = lean_usize_of_nat(v___x_1277_); -v___x_1288_ = ((size_t)1ULL); -v___x_1289_ = lean_usize_sub(v___x_1287_, v___x_1288_); -v___x_1290_ = lean_usize_land(v___x_1286_, v___x_1289_); -v_bkt_1291_ = lean_array_uget_borrowed(v_buckets_1273_, v___x_1290_); -v___x_1292_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1270_, v_bkt_1291_); -if (v___x_1292_ == 0) +uint64_t v___x_1282_; uint64_t v___x_1283_; uint64_t v_fold_1284_; uint64_t v___x_1285_; uint64_t v___x_1286_; uint64_t v___x_1287_; size_t v___x_1288_; size_t v___x_1289_; size_t v___x_1290_; size_t v___x_1291_; size_t v___x_1292_; lean_object* v_bkt_1293_; uint8_t v___x_1294_; +v___x_1282_ = 32ULL; +v___x_1283_ = lean_uint64_shift_right(v___y_1281_, v___x_1282_); +v_fold_1284_ = lean_uint64_xor(v___y_1281_, v___x_1283_); +v___x_1285_ = 16ULL; +v___x_1286_ = lean_uint64_shift_right(v_fold_1284_, v___x_1285_); +v___x_1287_ = lean_uint64_xor(v_fold_1284_, v___x_1286_); +v___x_1288_ = lean_uint64_to_usize(v___x_1287_); +v___x_1289_ = lean_usize_of_nat(v___x_1279_); +v___x_1290_ = ((size_t)1ULL); +v___x_1291_ = lean_usize_sub(v___x_1289_, v___x_1290_); +v___x_1292_ = lean_usize_land(v___x_1288_, v___x_1291_); +v_bkt_1293_ = lean_array_uget_borrowed(v_buckets_1275_, v___x_1292_); +v___x_1294_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1272_, v_bkt_1293_); +if (v___x_1294_ == 0) { -lean_object* v___x_1293_; lean_object* v_size_x27_1294_; lean_object* v___x_1295_; lean_object* v_buckets_x27_1296_; lean_object* v___x_1297_; lean_object* v___x_1298_; lean_object* v___x_1299_; lean_object* v___x_1300_; lean_object* v___x_1301_; uint8_t v___x_1302_; -v___x_1293_ = lean_unsigned_to_nat(1u); -v_size_x27_1294_ = lean_nat_add(v_size_1272_, v___x_1293_); -lean_dec(v_size_1272_); -lean_inc(v_bkt_1291_); -v___x_1295_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_1295_, 0, v_a_1270_); -lean_ctor_set(v___x_1295_, 1, v_b_1271_); -lean_ctor_set(v___x_1295_, 2, v_bkt_1291_); -v_buckets_x27_1296_ = lean_array_uset(v_buckets_1273_, v___x_1290_, v___x_1295_); -v___x_1297_ = lean_unsigned_to_nat(4u); -v___x_1298_ = lean_nat_mul(v_size_x27_1294_, v___x_1297_); -v___x_1299_ = lean_unsigned_to_nat(3u); -v___x_1300_ = lean_nat_div(v___x_1298_, v___x_1299_); -lean_dec(v___x_1298_); -v___x_1301_ = lean_array_get_size(v_buckets_x27_1296_); -v___x_1302_ = lean_nat_dec_le(v___x_1300_, v___x_1301_); +lean_object* v___x_1295_; lean_object* v_size_x27_1296_; lean_object* v___x_1297_; lean_object* v_buckets_x27_1298_; lean_object* v___x_1299_; lean_object* v___x_1300_; lean_object* v___x_1301_; lean_object* v___x_1302_; lean_object* v___x_1303_; uint8_t v___x_1304_; +v___x_1295_ = lean_unsigned_to_nat(1u); +v_size_x27_1296_ = lean_nat_add(v_size_1274_, v___x_1295_); +lean_dec(v_size_1274_); +lean_inc(v_bkt_1293_); +v___x_1297_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_1297_, 0, v_a_1272_); +lean_ctor_set(v___x_1297_, 1, v_b_1273_); +lean_ctor_set(v___x_1297_, 2, v_bkt_1293_); +v_buckets_x27_1298_ = lean_array_uset(v_buckets_1275_, v___x_1292_, v___x_1297_); +v___x_1299_ = lean_unsigned_to_nat(4u); +v___x_1300_ = lean_nat_mul(v_size_x27_1296_, v___x_1299_); +v___x_1301_ = lean_unsigned_to_nat(3u); +v___x_1302_ = lean_nat_div(v___x_1300_, v___x_1301_); lean_dec(v___x_1300_); -if (v___x_1302_ == 0) +v___x_1303_ = lean_array_get_size(v_buckets_x27_1298_); +v___x_1304_ = lean_nat_dec_le(v___x_1302_, v___x_1303_); +lean_dec(v___x_1302_); +if (v___x_1304_ == 0) { -lean_object* v_val_1303_; lean_object* v___x_1305_; -v_val_1303_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(v_buckets_x27_1296_); -if (v_isShared_1276_ == 0) +lean_object* v_val_1305_; lean_object* v___x_1307_; +v_val_1305_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(v_buckets_x27_1298_); +if (v_isShared_1278_ == 0) { -lean_ctor_set(v___x_1275_, 1, v_val_1303_); -lean_ctor_set(v___x_1275_, 0, v_size_x27_1294_); -v___x_1305_ = v___x_1275_; -goto v_reusejp_1304_; +lean_ctor_set(v___x_1277_, 1, v_val_1305_); +lean_ctor_set(v___x_1277_, 0, v_size_x27_1296_); +v___x_1307_ = v___x_1277_; +goto v_reusejp_1306_; } else { -lean_object* v_reuseFailAlloc_1306_; -v_reuseFailAlloc_1306_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1306_, 0, v_size_x27_1294_); -lean_ctor_set(v_reuseFailAlloc_1306_, 1, v_val_1303_); -v___x_1305_ = v_reuseFailAlloc_1306_; -goto v_reusejp_1304_; +lean_object* v_reuseFailAlloc_1308_; +v_reuseFailAlloc_1308_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1308_, 0, v_size_x27_1296_); +lean_ctor_set(v_reuseFailAlloc_1308_, 1, v_val_1305_); +v___x_1307_ = v_reuseFailAlloc_1308_; +goto v_reusejp_1306_; } -v_reusejp_1304_: +v_reusejp_1306_: { -return v___x_1305_; +return v___x_1307_; } } else { -lean_object* v___x_1308_; -if (v_isShared_1276_ == 0) +lean_object* v___x_1310_; +if (v_isShared_1278_ == 0) { -lean_ctor_set(v___x_1275_, 1, v_buckets_x27_1296_); -lean_ctor_set(v___x_1275_, 0, v_size_x27_1294_); -v___x_1308_ = v___x_1275_; -goto v_reusejp_1307_; +lean_ctor_set(v___x_1277_, 1, v_buckets_x27_1298_); +lean_ctor_set(v___x_1277_, 0, v_size_x27_1296_); +v___x_1310_ = v___x_1277_; +goto v_reusejp_1309_; } else { -lean_object* v_reuseFailAlloc_1309_; -v_reuseFailAlloc_1309_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1309_, 0, v_size_x27_1294_); -lean_ctor_set(v_reuseFailAlloc_1309_, 1, v_buckets_x27_1296_); -v___x_1308_ = v_reuseFailAlloc_1309_; -goto v_reusejp_1307_; +lean_object* v_reuseFailAlloc_1311_; +v_reuseFailAlloc_1311_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1311_, 0, v_size_x27_1296_); +lean_ctor_set(v_reuseFailAlloc_1311_, 1, v_buckets_x27_1298_); +v___x_1310_ = v_reuseFailAlloc_1311_; +goto v_reusejp_1309_; } -v_reusejp_1307_: +v_reusejp_1309_: { -return v___x_1308_; +return v___x_1310_; } } } else { -lean_object* v___x_1310_; lean_object* v_buckets_x27_1311_; lean_object* v___x_1312_; lean_object* v___x_1313_; lean_object* v___x_1315_; -lean_inc(v_bkt_1291_); -v___x_1310_ = lean_box(0); -v_buckets_x27_1311_ = lean_array_uset(v_buckets_1273_, v___x_1290_, v___x_1310_); -v___x_1312_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1270_, v_b_1271_, v_bkt_1291_); -v___x_1313_ = lean_array_uset(v_buckets_x27_1311_, v___x_1290_, v___x_1312_); -if (v_isShared_1276_ == 0) +lean_object* v___x_1312_; lean_object* v_buckets_x27_1313_; lean_object* v___x_1314_; lean_object* v___x_1315_; lean_object* v___x_1317_; +lean_inc(v_bkt_1293_); +v___x_1312_ = lean_box(0); +v_buckets_x27_1313_ = lean_array_uset(v_buckets_1275_, v___x_1292_, v___x_1312_); +v___x_1314_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1272_, v_b_1273_, v_bkt_1293_); +v___x_1315_ = lean_array_uset(v_buckets_x27_1313_, v___x_1292_, v___x_1314_); +if (v_isShared_1278_ == 0) { -lean_ctor_set(v___x_1275_, 1, v___x_1313_); -v___x_1315_ = v___x_1275_; -goto v_reusejp_1314_; +lean_ctor_set(v___x_1277_, 1, v___x_1315_); +v___x_1317_ = v___x_1277_; +goto v_reusejp_1316_; } else { -lean_object* v_reuseFailAlloc_1316_; -v_reuseFailAlloc_1316_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1316_, 0, v_size_1272_); -lean_ctor_set(v_reuseFailAlloc_1316_, 1, v___x_1313_); -v___x_1315_ = v_reuseFailAlloc_1316_; -goto v_reusejp_1314_; +lean_object* v_reuseFailAlloc_1318_; +v_reuseFailAlloc_1318_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1318_, 0, v_size_1274_); +lean_ctor_set(v_reuseFailAlloc_1318_, 1, v___x_1315_); +v___x_1317_ = v_reuseFailAlloc_1318_; +goto v_reusejp_1316_; } -v_reusejp_1314_: +v_reusejp_1316_: { -return v___x_1315_; +return v___x_1317_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(lean_object* v_x_1320_, lean_object* v_x_1321_, lean_object* v_x_1322_, lean_object* v_x_1323_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(lean_object* v_x_1322_, lean_object* v_x_1323_, lean_object* v_x_1324_, lean_object* v_x_1325_){ _start: { -lean_object* v_ks_1324_; lean_object* v_vs_1325_; lean_object* v___x_1327_; uint8_t v_isShared_1328_; uint8_t v_isSharedCheck_1349_; -v_ks_1324_ = lean_ctor_get(v_x_1320_, 0); -v_vs_1325_ = lean_ctor_get(v_x_1320_, 1); -v_isSharedCheck_1349_ = !lean_is_exclusive(v_x_1320_); -if (v_isSharedCheck_1349_ == 0) +lean_object* v_ks_1326_; lean_object* v_vs_1327_; lean_object* v___x_1329_; uint8_t v_isShared_1330_; uint8_t v_isSharedCheck_1351_; +v_ks_1326_ = lean_ctor_get(v_x_1322_, 0); +v_vs_1327_ = lean_ctor_get(v_x_1322_, 1); +v_isSharedCheck_1351_ = !lean_is_exclusive(v_x_1322_); +if (v_isSharedCheck_1351_ == 0) { -v___x_1327_ = v_x_1320_; -v_isShared_1328_ = v_isSharedCheck_1349_; -goto v_resetjp_1326_; +v___x_1329_ = v_x_1322_; +v_isShared_1330_ = v_isSharedCheck_1351_; +goto v_resetjp_1328_; } else { -lean_inc(v_vs_1325_); -lean_inc(v_ks_1324_); -lean_dec(v_x_1320_); -v___x_1327_ = lean_box(0); -v_isShared_1328_ = v_isSharedCheck_1349_; -goto v_resetjp_1326_; +lean_inc(v_vs_1327_); +lean_inc(v_ks_1326_); +lean_dec(v_x_1322_); +v___x_1329_ = lean_box(0); +v_isShared_1330_ = v_isSharedCheck_1351_; +goto v_resetjp_1328_; } -v_resetjp_1326_: +v_resetjp_1328_: { -lean_object* v___x_1329_; uint8_t v___x_1330_; -v___x_1329_ = lean_array_get_size(v_ks_1324_); -v___x_1330_ = lean_nat_dec_lt(v_x_1321_, v___x_1329_); -if (v___x_1330_ == 0) +lean_object* v___x_1331_; uint8_t v___x_1332_; +v___x_1331_ = lean_array_get_size(v_ks_1326_); +v___x_1332_ = lean_nat_dec_lt(v_x_1323_, v___x_1331_); +if (v___x_1332_ == 0) { -lean_object* v___x_1331_; lean_object* v___x_1332_; lean_object* v___x_1334_; -lean_dec(v_x_1321_); -v___x_1331_ = lean_array_push(v_ks_1324_, v_x_1322_); -v___x_1332_ = lean_array_push(v_vs_1325_, v_x_1323_); -if (v_isShared_1328_ == 0) +lean_object* v___x_1333_; lean_object* v___x_1334_; lean_object* v___x_1336_; +lean_dec(v_x_1323_); +v___x_1333_ = lean_array_push(v_ks_1326_, v_x_1324_); +v___x_1334_ = lean_array_push(v_vs_1327_, v_x_1325_); +if (v_isShared_1330_ == 0) { -lean_ctor_set(v___x_1327_, 1, v___x_1332_); -lean_ctor_set(v___x_1327_, 0, v___x_1331_); -v___x_1334_ = v___x_1327_; -goto v_reusejp_1333_; +lean_ctor_set(v___x_1329_, 1, v___x_1334_); +lean_ctor_set(v___x_1329_, 0, v___x_1333_); +v___x_1336_ = v___x_1329_; +goto v_reusejp_1335_; } else { -lean_object* v_reuseFailAlloc_1335_; -v_reuseFailAlloc_1335_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1335_, 0, v___x_1331_); -lean_ctor_set(v_reuseFailAlloc_1335_, 1, v___x_1332_); -v___x_1334_ = v_reuseFailAlloc_1335_; -goto v_reusejp_1333_; +lean_object* v_reuseFailAlloc_1337_; +v_reuseFailAlloc_1337_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1337_, 0, v___x_1333_); +lean_ctor_set(v_reuseFailAlloc_1337_, 1, v___x_1334_); +v___x_1336_ = v_reuseFailAlloc_1337_; +goto v_reusejp_1335_; } -v_reusejp_1333_: +v_reusejp_1335_: { -return v___x_1334_; +return v___x_1336_; } } else { -lean_object* v_k_x27_1336_; uint8_t v___x_1337_; -v_k_x27_1336_ = lean_array_fget_borrowed(v_ks_1324_, v_x_1321_); -v___x_1337_ = lean_name_eq(v_x_1322_, v_k_x27_1336_); -if (v___x_1337_ == 0) +lean_object* v_k_x27_1338_; uint8_t v___x_1339_; +v_k_x27_1338_ = lean_array_fget_borrowed(v_ks_1326_, v_x_1323_); +v___x_1339_ = lean_name_eq(v_x_1324_, v_k_x27_1338_); +if (v___x_1339_ == 0) { -lean_object* v___x_1339_; -if (v_isShared_1328_ == 0) +lean_object* v___x_1341_; +if (v_isShared_1330_ == 0) { -v___x_1339_ = v___x_1327_; -goto v_reusejp_1338_; +v___x_1341_ = v___x_1329_; +goto v_reusejp_1340_; } else { -lean_object* v_reuseFailAlloc_1343_; -v_reuseFailAlloc_1343_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1343_, 0, v_ks_1324_); -lean_ctor_set(v_reuseFailAlloc_1343_, 1, v_vs_1325_); -v___x_1339_ = v_reuseFailAlloc_1343_; -goto v_reusejp_1338_; +lean_object* v_reuseFailAlloc_1345_; +v_reuseFailAlloc_1345_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1345_, 0, v_ks_1326_); +lean_ctor_set(v_reuseFailAlloc_1345_, 1, v_vs_1327_); +v___x_1341_ = v_reuseFailAlloc_1345_; +goto v_reusejp_1340_; } -v_reusejp_1338_: +v_reusejp_1340_: { -lean_object* v___x_1340_; lean_object* v___x_1341_; -v___x_1340_ = lean_unsigned_to_nat(1u); -v___x_1341_ = lean_nat_add(v_x_1321_, v___x_1340_); -lean_dec(v_x_1321_); -v_x_1320_ = v___x_1339_; -v_x_1321_ = v___x_1341_; +lean_object* v___x_1342_; lean_object* v___x_1343_; +v___x_1342_ = lean_unsigned_to_nat(1u); +v___x_1343_ = lean_nat_add(v_x_1323_, v___x_1342_); +lean_dec(v_x_1323_); +v_x_1322_ = v___x_1341_; +v_x_1323_ = v___x_1343_; goto _start; } } else { -lean_object* v___x_1344_; lean_object* v___x_1345_; lean_object* v___x_1347_; -v___x_1344_ = lean_array_fset(v_ks_1324_, v_x_1321_, v_x_1322_); -v___x_1345_ = lean_array_fset(v_vs_1325_, v_x_1321_, v_x_1323_); -lean_dec(v_x_1321_); -if (v_isShared_1328_ == 0) +lean_object* v___x_1346_; lean_object* v___x_1347_; lean_object* v___x_1349_; +v___x_1346_ = lean_array_fset(v_ks_1326_, v_x_1323_, v_x_1324_); +v___x_1347_ = lean_array_fset(v_vs_1327_, v_x_1323_, v_x_1325_); +lean_dec(v_x_1323_); +if (v_isShared_1330_ == 0) { -lean_ctor_set(v___x_1327_, 1, v___x_1345_); -lean_ctor_set(v___x_1327_, 0, v___x_1344_); -v___x_1347_ = v___x_1327_; -goto v_reusejp_1346_; +lean_ctor_set(v___x_1329_, 1, v___x_1347_); +lean_ctor_set(v___x_1329_, 0, v___x_1346_); +v___x_1349_ = v___x_1329_; +goto v_reusejp_1348_; } else { -lean_object* v_reuseFailAlloc_1348_; -v_reuseFailAlloc_1348_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1348_, 0, v___x_1344_); -lean_ctor_set(v_reuseFailAlloc_1348_, 1, v___x_1345_); -v___x_1347_ = v_reuseFailAlloc_1348_; -goto v_reusejp_1346_; +lean_object* v_reuseFailAlloc_1350_; +v_reuseFailAlloc_1350_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1350_, 0, v___x_1346_); +lean_ctor_set(v_reuseFailAlloc_1350_, 1, v___x_1347_); +v___x_1349_ = v_reuseFailAlloc_1350_; +goto v_reusejp_1348_; } -v_reusejp_1346_: +v_reusejp_1348_: { -return v___x_1347_; +return v___x_1349_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(lean_object* v_n_1350_, lean_object* v_k_1351_, lean_object* v_v_1352_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(lean_object* v_n_1352_, lean_object* v_k_1353_, lean_object* v_v_1354_){ _start: { -lean_object* v___x_1353_; lean_object* v___x_1354_; -v___x_1353_ = lean_unsigned_to_nat(0u); -v___x_1354_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(v_n_1350_, v___x_1353_, v_k_1351_, v_v_1352_); -return v___x_1354_; +lean_object* v___x_1355_; lean_object* v___x_1356_; +v___x_1355_ = lean_unsigned_to_nat(0u); +v___x_1356_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(v_n_1352_, v___x_1355_, v_k_1353_, v_v_1354_); +return v___x_1356_; } } static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0(void){ _start: { -lean_object* v___x_1355_; -v___x_1355_ = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); -return v___x_1355_; +lean_object* v___x_1357_; +v___x_1357_ = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); +return v___x_1357_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(lean_object* v_x_1356_, size_t v_x_1357_, size_t v_x_1358_, lean_object* v_x_1359_, lean_object* v_x_1360_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(lean_object* v_x_1358_, size_t v_x_1359_, size_t v_x_1360_, lean_object* v_x_1361_, lean_object* v_x_1362_){ _start: { -if (lean_obj_tag(v_x_1356_) == 0) +if (lean_obj_tag(v_x_1358_) == 0) { -lean_object* v_es_1361_; size_t v___x_1362_; size_t v___x_1363_; size_t v___x_1364_; size_t v___x_1365_; lean_object* v_j_1366_; lean_object* v___x_1367_; uint8_t v___x_1368_; -v_es_1361_ = lean_ctor_get(v_x_1356_, 0); -v___x_1362_ = ((size_t)5ULL); -v___x_1363_ = ((size_t)1ULL); -v___x_1364_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); -v___x_1365_ = lean_usize_land(v_x_1357_, v___x_1364_); -v_j_1366_ = lean_usize_to_nat(v___x_1365_); -v___x_1367_ = lean_array_get_size(v_es_1361_); -v___x_1368_ = lean_nat_dec_lt(v_j_1366_, v___x_1367_); -if (v___x_1368_ == 0) +lean_object* v_es_1363_; size_t v___x_1364_; size_t v___x_1365_; size_t v___x_1366_; size_t v___x_1367_; lean_object* v_j_1368_; lean_object* v___x_1369_; uint8_t v___x_1370_; +v_es_1363_ = lean_ctor_get(v_x_1358_, 0); +v___x_1364_ = ((size_t)5ULL); +v___x_1365_ = ((size_t)1ULL); +v___x_1366_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); +v___x_1367_ = lean_usize_land(v_x_1359_, v___x_1366_); +v_j_1368_ = lean_usize_to_nat(v___x_1367_); +v___x_1369_ = lean_array_get_size(v_es_1363_); +v___x_1370_ = lean_nat_dec_lt(v_j_1368_, v___x_1369_); +if (v___x_1370_ == 0) { -lean_dec(v_j_1366_); -lean_dec(v_x_1360_); -lean_dec(v_x_1359_); -return v_x_1356_; +lean_dec(v_j_1368_); +lean_dec(v_x_1362_); +lean_dec(v_x_1361_); +return v_x_1358_; } else { -lean_object* v___x_1370_; uint8_t v_isShared_1371_; uint8_t v_isSharedCheck_1405_; -lean_inc_ref(v_es_1361_); -v_isSharedCheck_1405_ = !lean_is_exclusive(v_x_1356_); +lean_object* v___x_1372_; uint8_t v_isShared_1373_; uint8_t v_isSharedCheck_1407_; +lean_inc_ref(v_es_1363_); +v_isSharedCheck_1407_ = !lean_is_exclusive(v_x_1358_); +if (v_isSharedCheck_1407_ == 0) +{ +lean_object* v_unused_1408_; +v_unused_1408_ = lean_ctor_get(v_x_1358_, 0); +lean_dec(v_unused_1408_); +v___x_1372_ = v_x_1358_; +v_isShared_1373_ = v_isSharedCheck_1407_; +goto v_resetjp_1371_; +} +else +{ +lean_dec(v_x_1358_); +v___x_1372_ = lean_box(0); +v_isShared_1373_ = v_isSharedCheck_1407_; +goto v_resetjp_1371_; +} +v_resetjp_1371_: +{ +lean_object* v_v_1374_; lean_object* v___x_1375_; lean_object* v_xs_x27_1376_; lean_object* v___y_1378_; +v_v_1374_ = lean_array_fget(v_es_1363_, v_j_1368_); +v___x_1375_ = lean_box(0); +v_xs_x27_1376_ = lean_array_fset(v_es_1363_, v_j_1368_, v___x_1375_); +switch(lean_obj_tag(v_v_1374_)) +{ +case 0: +{ +lean_object* v_key_1383_; lean_object* v_val_1384_; lean_object* v___x_1386_; uint8_t v_isShared_1387_; uint8_t v_isSharedCheck_1394_; +v_key_1383_ = lean_ctor_get(v_v_1374_, 0); +v_val_1384_ = lean_ctor_get(v_v_1374_, 1); +v_isSharedCheck_1394_ = !lean_is_exclusive(v_v_1374_); +if (v_isSharedCheck_1394_ == 0) +{ +v___x_1386_ = v_v_1374_; +v_isShared_1387_ = v_isSharedCheck_1394_; +goto v_resetjp_1385_; +} +else +{ +lean_inc(v_val_1384_); +lean_inc(v_key_1383_); +lean_dec(v_v_1374_); +v___x_1386_ = lean_box(0); +v_isShared_1387_ = v_isSharedCheck_1394_; +goto v_resetjp_1385_; +} +v_resetjp_1385_: +{ +uint8_t v___x_1388_; +v___x_1388_ = lean_name_eq(v_x_1361_, v_key_1383_); +if (v___x_1388_ == 0) +{ +lean_object* v___x_1389_; lean_object* v___x_1390_; +lean_del_object(v___x_1386_); +v___x_1389_ = l_Lean_PersistentHashMap_mkCollisionNode___redArg(v_key_1383_, v_val_1384_, v_x_1361_, v_x_1362_); +v___x_1390_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1390_, 0, v___x_1389_); +v___y_1378_ = v___x_1390_; +goto v___jp_1377_; +} +else +{ +lean_object* v___x_1392_; +lean_dec(v_val_1384_); +lean_dec(v_key_1383_); +if (v_isShared_1387_ == 0) +{ +lean_ctor_set(v___x_1386_, 1, v_x_1362_); +lean_ctor_set(v___x_1386_, 0, v_x_1361_); +v___x_1392_ = v___x_1386_; +goto v_reusejp_1391_; +} +else +{ +lean_object* v_reuseFailAlloc_1393_; +v_reuseFailAlloc_1393_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1393_, 0, v_x_1361_); +lean_ctor_set(v_reuseFailAlloc_1393_, 1, v_x_1362_); +v___x_1392_ = v_reuseFailAlloc_1393_; +goto v_reusejp_1391_; +} +v_reusejp_1391_: +{ +v___y_1378_ = v___x_1392_; +goto v___jp_1377_; +} +} +} +} +case 1: +{ +lean_object* v_node_1395_; lean_object* v___x_1397_; uint8_t v_isShared_1398_; uint8_t v_isSharedCheck_1405_; +v_node_1395_ = lean_ctor_get(v_v_1374_, 0); +v_isSharedCheck_1405_ = !lean_is_exclusive(v_v_1374_); if (v_isSharedCheck_1405_ == 0) { -lean_object* v_unused_1406_; -v_unused_1406_ = lean_ctor_get(v_x_1356_, 0); -lean_dec(v_unused_1406_); -v___x_1370_ = v_x_1356_; -v_isShared_1371_ = v_isSharedCheck_1405_; -goto v_resetjp_1369_; +v___x_1397_ = v_v_1374_; +v_isShared_1398_ = v_isSharedCheck_1405_; +goto v_resetjp_1396_; } else { -lean_dec(v_x_1356_); -v___x_1370_ = lean_box(0); -v_isShared_1371_ = v_isSharedCheck_1405_; -goto v_resetjp_1369_; +lean_inc(v_node_1395_); +lean_dec(v_v_1374_); +v___x_1397_ = lean_box(0); +v_isShared_1398_ = v_isSharedCheck_1405_; +goto v_resetjp_1396_; } -v_resetjp_1369_: +v_resetjp_1396_: { -lean_object* v_v_1372_; lean_object* v___x_1373_; lean_object* v_xs_x27_1374_; lean_object* v___y_1376_; -v_v_1372_ = lean_array_fget(v_es_1361_, v_j_1366_); -v___x_1373_ = lean_box(0); -v_xs_x27_1374_ = lean_array_fset(v_es_1361_, v_j_1366_, v___x_1373_); -switch(lean_obj_tag(v_v_1372_)) +size_t v___x_1399_; size_t v___x_1400_; lean_object* v___x_1401_; lean_object* v___x_1403_; +v___x_1399_ = lean_usize_shift_right(v_x_1359_, v___x_1364_); +v___x_1400_ = lean_usize_add(v_x_1360_, v___x_1365_); +v___x_1401_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_node_1395_, v___x_1399_, v___x_1400_, v_x_1361_, v_x_1362_); +if (v_isShared_1398_ == 0) { -case 0: -{ -lean_object* v_key_1381_; lean_object* v_val_1382_; lean_object* v___x_1384_; uint8_t v_isShared_1385_; uint8_t v_isSharedCheck_1392_; -v_key_1381_ = lean_ctor_get(v_v_1372_, 0); -v_val_1382_ = lean_ctor_get(v_v_1372_, 1); -v_isSharedCheck_1392_ = !lean_is_exclusive(v_v_1372_); -if (v_isSharedCheck_1392_ == 0) -{ -v___x_1384_ = v_v_1372_; -v_isShared_1385_ = v_isSharedCheck_1392_; -goto v_resetjp_1383_; +lean_ctor_set(v___x_1397_, 0, v___x_1401_); +v___x_1403_ = v___x_1397_; +goto v_reusejp_1402_; } else { -lean_inc(v_val_1382_); -lean_inc(v_key_1381_); -lean_dec(v_v_1372_); -v___x_1384_ = lean_box(0); -v_isShared_1385_ = v_isSharedCheck_1392_; -goto v_resetjp_1383_; +lean_object* v_reuseFailAlloc_1404_; +v_reuseFailAlloc_1404_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1404_, 0, v___x_1401_); +v___x_1403_ = v_reuseFailAlloc_1404_; +goto v_reusejp_1402_; } -v_resetjp_1383_: +v_reusejp_1402_: { -uint8_t v___x_1386_; -v___x_1386_ = lean_name_eq(v_x_1359_, v_key_1381_); -if (v___x_1386_ == 0) -{ -lean_object* v___x_1387_; lean_object* v___x_1388_; -lean_del_object(v___x_1384_); -v___x_1387_ = l_Lean_PersistentHashMap_mkCollisionNode___redArg(v_key_1381_, v_val_1382_, v_x_1359_, v_x_1360_); -v___x_1388_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1388_, 0, v___x_1387_); -v___y_1376_ = v___x_1388_; -goto v___jp_1375_; -} -else -{ -lean_object* v___x_1390_; -lean_dec(v_val_1382_); -lean_dec(v_key_1381_); -if (v_isShared_1385_ == 0) -{ -lean_ctor_set(v___x_1384_, 1, v_x_1360_); -lean_ctor_set(v___x_1384_, 0, v_x_1359_); -v___x_1390_ = v___x_1384_; -goto v_reusejp_1389_; -} -else -{ -lean_object* v_reuseFailAlloc_1391_; -v_reuseFailAlloc_1391_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1391_, 0, v_x_1359_); -lean_ctor_set(v_reuseFailAlloc_1391_, 1, v_x_1360_); -v___x_1390_ = v_reuseFailAlloc_1391_; -goto v_reusejp_1389_; -} -v_reusejp_1389_: -{ -v___y_1376_ = v___x_1390_; -goto v___jp_1375_; -} -} -} -} -case 1: -{ -lean_object* v_node_1393_; lean_object* v___x_1395_; uint8_t v_isShared_1396_; uint8_t v_isSharedCheck_1403_; -v_node_1393_ = lean_ctor_get(v_v_1372_, 0); -v_isSharedCheck_1403_ = !lean_is_exclusive(v_v_1372_); -if (v_isSharedCheck_1403_ == 0) -{ -v___x_1395_ = v_v_1372_; -v_isShared_1396_ = v_isSharedCheck_1403_; -goto v_resetjp_1394_; -} -else -{ -lean_inc(v_node_1393_); -lean_dec(v_v_1372_); -v___x_1395_ = lean_box(0); -v_isShared_1396_ = v_isSharedCheck_1403_; -goto v_resetjp_1394_; -} -v_resetjp_1394_: -{ -size_t v___x_1397_; size_t v___x_1398_; lean_object* v___x_1399_; lean_object* v___x_1401_; -v___x_1397_ = lean_usize_shift_right(v_x_1357_, v___x_1362_); -v___x_1398_ = lean_usize_add(v_x_1358_, v___x_1363_); -v___x_1399_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_node_1393_, v___x_1397_, v___x_1398_, v_x_1359_, v_x_1360_); -if (v_isShared_1396_ == 0) -{ -lean_ctor_set(v___x_1395_, 0, v___x_1399_); -v___x_1401_ = v___x_1395_; -goto v_reusejp_1400_; -} -else -{ -lean_object* v_reuseFailAlloc_1402_; -v_reuseFailAlloc_1402_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1402_, 0, v___x_1399_); -v___x_1401_ = v_reuseFailAlloc_1402_; -goto v_reusejp_1400_; -} -v_reusejp_1400_: -{ -v___y_1376_ = v___x_1401_; -goto v___jp_1375_; +v___y_1378_ = v___x_1403_; +goto v___jp_1377_; } } } default: { -lean_object* v___x_1404_; -v___x_1404_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1404_, 0, v_x_1359_); -lean_ctor_set(v___x_1404_, 1, v_x_1360_); -v___y_1376_ = v___x_1404_; -goto v___jp_1375_; +lean_object* v___x_1406_; +v___x_1406_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1406_, 0, v_x_1361_); +lean_ctor_set(v___x_1406_, 1, v_x_1362_); +v___y_1378_ = v___x_1406_; +goto v___jp_1377_; } } -v___jp_1375_: +v___jp_1377_: { -lean_object* v___x_1377_; lean_object* v___x_1379_; -v___x_1377_ = lean_array_fset(v_xs_x27_1374_, v_j_1366_, v___y_1376_); -lean_dec(v_j_1366_); -if (v_isShared_1371_ == 0) +lean_object* v___x_1379_; lean_object* v___x_1381_; +v___x_1379_ = lean_array_fset(v_xs_x27_1376_, v_j_1368_, v___y_1378_); +lean_dec(v_j_1368_); +if (v_isShared_1373_ == 0) { -lean_ctor_set(v___x_1370_, 0, v___x_1377_); -v___x_1379_ = v___x_1370_; -goto v_reusejp_1378_; +lean_ctor_set(v___x_1372_, 0, v___x_1379_); +v___x_1381_ = v___x_1372_; +goto v_reusejp_1380_; } else { -lean_object* v_reuseFailAlloc_1380_; -v_reuseFailAlloc_1380_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1380_, 0, v___x_1377_); -v___x_1379_ = v_reuseFailAlloc_1380_; -goto v_reusejp_1378_; +lean_object* v_reuseFailAlloc_1382_; +v_reuseFailAlloc_1382_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1382_, 0, v___x_1379_); +v___x_1381_ = v_reuseFailAlloc_1382_; +goto v_reusejp_1380_; } -v_reusejp_1378_: +v_reusejp_1380_: { -return v___x_1379_; +return v___x_1381_; } } } @@ -4827,83 +4830,83 @@ return v___x_1379_; } else { -lean_object* v_ks_1407_; lean_object* v_vs_1408_; lean_object* v___x_1410_; uint8_t v_isShared_1411_; uint8_t v_isSharedCheck_1428_; -v_ks_1407_ = lean_ctor_get(v_x_1356_, 0); -v_vs_1408_ = lean_ctor_get(v_x_1356_, 1); -v_isSharedCheck_1428_ = !lean_is_exclusive(v_x_1356_); -if (v_isSharedCheck_1428_ == 0) +lean_object* v_ks_1409_; lean_object* v_vs_1410_; lean_object* v___x_1412_; uint8_t v_isShared_1413_; uint8_t v_isSharedCheck_1430_; +v_ks_1409_ = lean_ctor_get(v_x_1358_, 0); +v_vs_1410_ = lean_ctor_get(v_x_1358_, 1); +v_isSharedCheck_1430_ = !lean_is_exclusive(v_x_1358_); +if (v_isSharedCheck_1430_ == 0) { -v___x_1410_ = v_x_1356_; -v_isShared_1411_ = v_isSharedCheck_1428_; -goto v_resetjp_1409_; +v___x_1412_ = v_x_1358_; +v_isShared_1413_ = v_isSharedCheck_1430_; +goto v_resetjp_1411_; } else { -lean_inc(v_vs_1408_); -lean_inc(v_ks_1407_); -lean_dec(v_x_1356_); -v___x_1410_ = lean_box(0); -v_isShared_1411_ = v_isSharedCheck_1428_; -goto v_resetjp_1409_; +lean_inc(v_vs_1410_); +lean_inc(v_ks_1409_); +lean_dec(v_x_1358_); +v___x_1412_ = lean_box(0); +v_isShared_1413_ = v_isSharedCheck_1430_; +goto v_resetjp_1411_; } -v_resetjp_1409_: +v_resetjp_1411_: { -lean_object* v___x_1413_; -if (v_isShared_1411_ == 0) +lean_object* v___x_1415_; +if (v_isShared_1413_ == 0) { -v___x_1413_ = v___x_1410_; -goto v_reusejp_1412_; +v___x_1415_ = v___x_1412_; +goto v_reusejp_1414_; } else { -lean_object* v_reuseFailAlloc_1427_; -v_reuseFailAlloc_1427_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1427_, 0, v_ks_1407_); -lean_ctor_set(v_reuseFailAlloc_1427_, 1, v_vs_1408_); -v___x_1413_ = v_reuseFailAlloc_1427_; -goto v_reusejp_1412_; +lean_object* v_reuseFailAlloc_1429_; +v_reuseFailAlloc_1429_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1429_, 0, v_ks_1409_); +lean_ctor_set(v_reuseFailAlloc_1429_, 1, v_vs_1410_); +v___x_1415_ = v_reuseFailAlloc_1429_; +goto v_reusejp_1414_; } -v_reusejp_1412_: +v_reusejp_1414_: { -lean_object* v_newNode_1414_; uint8_t v___y_1416_; size_t v___x_1422_; uint8_t v___x_1423_; -v_newNode_1414_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(v___x_1413_, v_x_1359_, v_x_1360_); -v___x_1422_ = ((size_t)7ULL); -v___x_1423_ = lean_usize_dec_le(v___x_1422_, v_x_1358_); -if (v___x_1423_ == 0) +lean_object* v_newNode_1416_; uint8_t v___y_1418_; size_t v___x_1424_; uint8_t v___x_1425_; +v_newNode_1416_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(v___x_1415_, v_x_1361_, v_x_1362_); +v___x_1424_ = ((size_t)7ULL); +v___x_1425_ = lean_usize_dec_le(v___x_1424_, v_x_1360_); +if (v___x_1425_ == 0) { -lean_object* v___x_1424_; lean_object* v___x_1425_; uint8_t v___x_1426_; -v___x_1424_ = l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(v_newNode_1414_); -v___x_1425_ = lean_unsigned_to_nat(4u); -v___x_1426_ = lean_nat_dec_lt(v___x_1424_, v___x_1425_); -lean_dec(v___x_1424_); -v___y_1416_ = v___x_1426_; -goto v___jp_1415_; +lean_object* v___x_1426_; lean_object* v___x_1427_; uint8_t v___x_1428_; +v___x_1426_ = l_Lean_PersistentHashMap_getCollisionNodeSize___redArg(v_newNode_1416_); +v___x_1427_ = lean_unsigned_to_nat(4u); +v___x_1428_ = lean_nat_dec_lt(v___x_1426_, v___x_1427_); +lean_dec(v___x_1426_); +v___y_1418_ = v___x_1428_; +goto v___jp_1417_; } else { -v___y_1416_ = v___x_1423_; -goto v___jp_1415_; +v___y_1418_ = v___x_1425_; +goto v___jp_1417_; } -v___jp_1415_: +v___jp_1417_: { -if (v___y_1416_ == 0) +if (v___y_1418_ == 0) { -lean_object* v_ks_1417_; lean_object* v_vs_1418_; lean_object* v___x_1419_; lean_object* v___x_1420_; lean_object* v___x_1421_; -v_ks_1417_ = lean_ctor_get(v_newNode_1414_, 0); -lean_inc_ref(v_ks_1417_); -v_vs_1418_ = lean_ctor_get(v_newNode_1414_, 1); -lean_inc_ref(v_vs_1418_); -lean_dec_ref(v_newNode_1414_); -v___x_1419_ = lean_unsigned_to_nat(0u); -v___x_1420_ = lean_obj_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0); -v___x_1421_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_x_1358_, v_ks_1417_, v_vs_1418_, v___x_1419_, v___x_1420_); -lean_dec_ref(v_vs_1418_); -lean_dec_ref(v_ks_1417_); -return v___x_1421_; +lean_object* v_ks_1419_; lean_object* v_vs_1420_; lean_object* v___x_1421_; lean_object* v___x_1422_; lean_object* v___x_1423_; +v_ks_1419_ = lean_ctor_get(v_newNode_1416_, 0); +lean_inc_ref(v_ks_1419_); +v_vs_1420_ = lean_ctor_get(v_newNode_1416_, 1); +lean_inc_ref(v_vs_1420_); +lean_dec_ref(v_newNode_1416_); +v___x_1421_ = lean_unsigned_to_nat(0u); +v___x_1422_ = lean_obj_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___closed__0); +v___x_1423_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_x_1360_, v_ks_1419_, v_vs_1420_, v___x_1421_, v___x_1422_); +lean_dec_ref(v_vs_1420_); +lean_dec_ref(v_ks_1419_); +return v___x_1423_; } else { -return v_newNode_1414_; +return v_newNode_1416_; } } } @@ -4911,809 +4914,809 @@ return v_newNode_1414_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(size_t v_depth_1429_, lean_object* v_keys_1430_, lean_object* v_vals_1431_, lean_object* v_i_1432_, lean_object* v_entries_1433_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(size_t v_depth_1431_, lean_object* v_keys_1432_, lean_object* v_vals_1433_, lean_object* v_i_1434_, lean_object* v_entries_1435_){ _start: { -lean_object* v___x_1434_; uint8_t v___x_1435_; -v___x_1434_ = lean_array_get_size(v_keys_1430_); -v___x_1435_ = lean_nat_dec_lt(v_i_1432_, v___x_1434_); -if (v___x_1435_ == 0) +lean_object* v___x_1436_; uint8_t v___x_1437_; +v___x_1436_ = lean_array_get_size(v_keys_1432_); +v___x_1437_ = lean_nat_dec_lt(v_i_1434_, v___x_1436_); +if (v___x_1437_ == 0) { -lean_dec(v_i_1432_); -return v_entries_1433_; +lean_dec(v_i_1434_); +return v_entries_1435_; } else { -lean_object* v_k_1436_; lean_object* v_v_1437_; uint64_t v___y_1439_; -v_k_1436_ = lean_array_fget_borrowed(v_keys_1430_, v_i_1432_); -v_v_1437_ = lean_array_fget_borrowed(v_vals_1431_, v_i_1432_); -if (lean_obj_tag(v_k_1436_) == 0) +lean_object* v_k_1438_; lean_object* v_v_1439_; uint64_t v___y_1441_; +v_k_1438_ = lean_array_fget_borrowed(v_keys_1432_, v_i_1434_); +v_v_1439_ = lean_array_fget_borrowed(v_vals_1433_, v_i_1434_); +if (lean_obj_tag(v_k_1438_) == 0) { -uint64_t v___x_1450_; -v___x_1450_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1439_ = v___x_1450_; -goto v___jp_1438_; +uint64_t v___x_1452_; +v___x_1452_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1441_ = v___x_1452_; +goto v___jp_1440_; } else { -uint64_t v_hash_1451_; -v_hash_1451_ = lean_ctor_get_uint64(v_k_1436_, sizeof(void*)*2); -v___y_1439_ = v_hash_1451_; -goto v___jp_1438_; +uint64_t v_hash_1453_; +v_hash_1453_ = lean_ctor_get_uint64(v_k_1438_, sizeof(void*)*2); +v___y_1441_ = v_hash_1453_; +goto v___jp_1440_; } -v___jp_1438_: +v___jp_1440_: { -size_t v_h_1440_; size_t v___x_1441_; lean_object* v___x_1442_; size_t v___x_1443_; size_t v___x_1444_; size_t v___x_1445_; size_t v_h_1446_; lean_object* v___x_1447_; lean_object* v___x_1448_; -v_h_1440_ = lean_uint64_to_usize(v___y_1439_); -v___x_1441_ = ((size_t)5ULL); -v___x_1442_ = lean_unsigned_to_nat(1u); -v___x_1443_ = ((size_t)1ULL); -v___x_1444_ = lean_usize_sub(v_depth_1429_, v___x_1443_); -v___x_1445_ = lean_usize_mul(v___x_1441_, v___x_1444_); -v_h_1446_ = lean_usize_shift_right(v_h_1440_, v___x_1445_); -v___x_1447_ = lean_nat_add(v_i_1432_, v___x_1442_); -lean_dec(v_i_1432_); -lean_inc(v_v_1437_); -lean_inc(v_k_1436_); -v___x_1448_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_entries_1433_, v_h_1446_, v_depth_1429_, v_k_1436_, v_v_1437_); -v_i_1432_ = v___x_1447_; -v_entries_1433_ = v___x_1448_; +size_t v_h_1442_; size_t v___x_1443_; lean_object* v___x_1444_; size_t v___x_1445_; size_t v___x_1446_; size_t v___x_1447_; size_t v_h_1448_; lean_object* v___x_1449_; lean_object* v___x_1450_; +v_h_1442_ = lean_uint64_to_usize(v___y_1441_); +v___x_1443_ = ((size_t)5ULL); +v___x_1444_ = lean_unsigned_to_nat(1u); +v___x_1445_ = ((size_t)1ULL); +v___x_1446_ = lean_usize_sub(v_depth_1431_, v___x_1445_); +v___x_1447_ = lean_usize_mul(v___x_1443_, v___x_1446_); +v_h_1448_ = lean_usize_shift_right(v_h_1442_, v___x_1447_); +v___x_1449_ = lean_nat_add(v_i_1434_, v___x_1444_); +lean_dec(v_i_1434_); +lean_inc(v_v_1439_); +lean_inc(v_k_1438_); +v___x_1450_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_entries_1435_, v_h_1448_, v_depth_1431_, v_k_1438_, v_v_1439_); +v_i_1434_ = v___x_1449_; +v_entries_1435_ = v___x_1450_; goto _start; } } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg___boxed(lean_object* v_depth_1452_, lean_object* v_keys_1453_, lean_object* v_vals_1454_, lean_object* v_i_1455_, lean_object* v_entries_1456_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg___boxed(lean_object* v_depth_1454_, lean_object* v_keys_1455_, lean_object* v_vals_1456_, lean_object* v_i_1457_, lean_object* v_entries_1458_){ _start: { -size_t v_depth_boxed_1457_; lean_object* v_res_1458_; -v_depth_boxed_1457_ = lean_unbox_usize(v_depth_1452_); -lean_dec(v_depth_1452_); -v_res_1458_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_depth_boxed_1457_, v_keys_1453_, v_vals_1454_, v_i_1455_, v_entries_1456_); -lean_dec_ref(v_vals_1454_); -lean_dec_ref(v_keys_1453_); -return v_res_1458_; +size_t v_depth_boxed_1459_; lean_object* v_res_1460_; +v_depth_boxed_1459_ = lean_unbox_usize(v_depth_1454_); +lean_dec(v_depth_1454_); +v_res_1460_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_depth_boxed_1459_, v_keys_1455_, v_vals_1456_, v_i_1457_, v_entries_1458_); +lean_dec_ref(v_vals_1456_); +lean_dec_ref(v_keys_1455_); +return v_res_1460_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___boxed(lean_object* v_x_1459_, lean_object* v_x_1460_, lean_object* v_x_1461_, lean_object* v_x_1462_, lean_object* v_x_1463_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg___boxed(lean_object* v_x_1461_, lean_object* v_x_1462_, lean_object* v_x_1463_, lean_object* v_x_1464_, lean_object* v_x_1465_){ _start: { -size_t v_x_1324__boxed_1464_; size_t v_x_1325__boxed_1465_; lean_object* v_res_1466_; -v_x_1324__boxed_1464_ = lean_unbox_usize(v_x_1460_); -lean_dec(v_x_1460_); -v_x_1325__boxed_1465_ = lean_unbox_usize(v_x_1461_); -lean_dec(v_x_1461_); -v_res_1466_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1459_, v_x_1324__boxed_1464_, v_x_1325__boxed_1465_, v_x_1462_, v_x_1463_); -return v_res_1466_; +size_t v_x_1324__boxed_1466_; size_t v_x_1325__boxed_1467_; lean_object* v_res_1468_; +v_x_1324__boxed_1466_ = lean_unbox_usize(v_x_1462_); +lean_dec(v_x_1462_); +v_x_1325__boxed_1467_ = lean_unbox_usize(v_x_1463_); +lean_dec(v_x_1463_); +v_res_1468_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1461_, v_x_1324__boxed_1466_, v_x_1325__boxed_1467_, v_x_1464_, v_x_1465_); +return v_res_1468_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(lean_object* v_x_1467_, lean_object* v_x_1468_, lean_object* v_x_1469_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(lean_object* v_x_1469_, lean_object* v_x_1470_, lean_object* v_x_1471_){ _start: { -uint64_t v___y_1471_; -if (lean_obj_tag(v_x_1468_) == 0) +uint64_t v___y_1473_; +if (lean_obj_tag(v_x_1470_) == 0) { -uint64_t v___x_1475_; -v___x_1475_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1471_ = v___x_1475_; -goto v___jp_1470_; +uint64_t v___x_1477_; +v___x_1477_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1473_ = v___x_1477_; +goto v___jp_1472_; } else { -uint64_t v_hash_1476_; -v_hash_1476_ = lean_ctor_get_uint64(v_x_1468_, sizeof(void*)*2); -v___y_1471_ = v_hash_1476_; -goto v___jp_1470_; +uint64_t v_hash_1478_; +v_hash_1478_ = lean_ctor_get_uint64(v_x_1470_, sizeof(void*)*2); +v___y_1473_ = v_hash_1478_; +goto v___jp_1472_; } -v___jp_1470_: +v___jp_1472_: { -size_t v___x_1472_; size_t v___x_1473_; lean_object* v___x_1474_; -v___x_1472_ = lean_uint64_to_usize(v___y_1471_); -v___x_1473_ = ((size_t)1ULL); -v___x_1474_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1467_, v___x_1472_, v___x_1473_, v_x_1468_, v_x_1469_); -return v___x_1474_; +size_t v___x_1474_; size_t v___x_1475_; lean_object* v___x_1476_; +v___x_1474_ = lean_uint64_to_usize(v___y_1473_); +v___x_1475_ = ((size_t)1ULL); +v___x_1476_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1469_, v___x_1474_, v___x_1475_, v_x_1470_, v_x_1471_); +return v___x_1476_; } } } -LEAN_EXPORT lean_object* l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(lean_object* v_x_1477_, lean_object* v_x_1478_, lean_object* v_x_1479_){ +LEAN_EXPORT lean_object* l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(lean_object* v_x_1479_, lean_object* v_x_1480_, lean_object* v_x_1481_){ _start: { -uint8_t v_stage_u2081_1480_; -v_stage_u2081_1480_ = lean_ctor_get_uint8(v_x_1477_, sizeof(void*)*2); -if (v_stage_u2081_1480_ == 0) +uint8_t v_stage_u2081_1482_; +v_stage_u2081_1482_ = lean_ctor_get_uint8(v_x_1479_, sizeof(void*)*2); +if (v_stage_u2081_1482_ == 0) { -lean_object* v_map_u2081_1481_; lean_object* v_map_u2082_1482_; lean_object* v___x_1484_; uint8_t v_isShared_1485_; uint8_t v_isSharedCheck_1490_; -v_map_u2081_1481_ = lean_ctor_get(v_x_1477_, 0); -v_map_u2082_1482_ = lean_ctor_get(v_x_1477_, 1); -v_isSharedCheck_1490_ = !lean_is_exclusive(v_x_1477_); -if (v_isSharedCheck_1490_ == 0) +lean_object* v_map_u2081_1483_; lean_object* v_map_u2082_1484_; lean_object* v___x_1486_; uint8_t v_isShared_1487_; uint8_t v_isSharedCheck_1492_; +v_map_u2081_1483_ = lean_ctor_get(v_x_1479_, 0); +v_map_u2082_1484_ = lean_ctor_get(v_x_1479_, 1); +v_isSharedCheck_1492_ = !lean_is_exclusive(v_x_1479_); +if (v_isSharedCheck_1492_ == 0) { -v___x_1484_ = v_x_1477_; -v_isShared_1485_ = v_isSharedCheck_1490_; -goto v_resetjp_1483_; +v___x_1486_ = v_x_1479_; +v_isShared_1487_ = v_isSharedCheck_1492_; +goto v_resetjp_1485_; } else { -lean_inc(v_map_u2082_1482_); -lean_inc(v_map_u2081_1481_); -lean_dec(v_x_1477_); -v___x_1484_ = lean_box(0); -v_isShared_1485_ = v_isSharedCheck_1490_; -goto v_resetjp_1483_; +lean_inc(v_map_u2082_1484_); +lean_inc(v_map_u2081_1483_); +lean_dec(v_x_1479_); +v___x_1486_ = lean_box(0); +v_isShared_1487_ = v_isSharedCheck_1492_; +goto v_resetjp_1485_; } -v_resetjp_1483_: +v_resetjp_1485_: { -lean_object* v___x_1486_; lean_object* v___x_1488_; -v___x_1486_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_map_u2082_1482_, v_x_1478_, v_x_1479_); -if (v_isShared_1485_ == 0) +lean_object* v___x_1488_; lean_object* v___x_1490_; +v___x_1488_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_map_u2082_1484_, v_x_1480_, v_x_1481_); +if (v_isShared_1487_ == 0) { -lean_ctor_set(v___x_1484_, 1, v___x_1486_); -v___x_1488_ = v___x_1484_; -goto v_reusejp_1487_; +lean_ctor_set(v___x_1486_, 1, v___x_1488_); +v___x_1490_ = v___x_1486_; +goto v_reusejp_1489_; } else { -lean_object* v_reuseFailAlloc_1489_; -v_reuseFailAlloc_1489_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_1489_, 0, v_map_u2081_1481_); -lean_ctor_set(v_reuseFailAlloc_1489_, 1, v___x_1486_); -lean_ctor_set_uint8(v_reuseFailAlloc_1489_, sizeof(void*)*2, v_stage_u2081_1480_); -v___x_1488_ = v_reuseFailAlloc_1489_; -goto v_reusejp_1487_; +lean_object* v_reuseFailAlloc_1491_; +v_reuseFailAlloc_1491_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_1491_, 0, v_map_u2081_1483_); +lean_ctor_set(v_reuseFailAlloc_1491_, 1, v___x_1488_); +lean_ctor_set_uint8(v_reuseFailAlloc_1491_, sizeof(void*)*2, v_stage_u2081_1482_); +v___x_1490_ = v_reuseFailAlloc_1491_; +goto v_reusejp_1489_; } -v_reusejp_1487_: +v_reusejp_1489_: { -return v___x_1488_; +return v___x_1490_; } } } else { -lean_object* v_map_u2081_1491_; lean_object* v_map_u2082_1492_; lean_object* v___x_1494_; uint8_t v_isShared_1495_; uint8_t v_isSharedCheck_1500_; -v_map_u2081_1491_ = lean_ctor_get(v_x_1477_, 0); -v_map_u2082_1492_ = lean_ctor_get(v_x_1477_, 1); -v_isSharedCheck_1500_ = !lean_is_exclusive(v_x_1477_); -if (v_isSharedCheck_1500_ == 0) +lean_object* v_map_u2081_1493_; lean_object* v_map_u2082_1494_; lean_object* v___x_1496_; uint8_t v_isShared_1497_; uint8_t v_isSharedCheck_1502_; +v_map_u2081_1493_ = lean_ctor_get(v_x_1479_, 0); +v_map_u2082_1494_ = lean_ctor_get(v_x_1479_, 1); +v_isSharedCheck_1502_ = !lean_is_exclusive(v_x_1479_); +if (v_isSharedCheck_1502_ == 0) { -v___x_1494_ = v_x_1477_; -v_isShared_1495_ = v_isSharedCheck_1500_; -goto v_resetjp_1493_; +v___x_1496_ = v_x_1479_; +v_isShared_1497_ = v_isSharedCheck_1502_; +goto v_resetjp_1495_; } else { -lean_inc(v_map_u2082_1492_); -lean_inc(v_map_u2081_1491_); -lean_dec(v_x_1477_); -v___x_1494_ = lean_box(0); -v_isShared_1495_ = v_isSharedCheck_1500_; -goto v_resetjp_1493_; +lean_inc(v_map_u2082_1494_); +lean_inc(v_map_u2081_1493_); +lean_dec(v_x_1479_); +v___x_1496_ = lean_box(0); +v_isShared_1497_ = v_isSharedCheck_1502_; +goto v_resetjp_1495_; } -v_resetjp_1493_: +v_resetjp_1495_: { -lean_object* v___x_1496_; lean_object* v___x_1498_; -v___x_1496_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(v_map_u2081_1491_, v_x_1478_, v_x_1479_); -if (v_isShared_1495_ == 0) +lean_object* v___x_1498_; lean_object* v___x_1500_; +v___x_1498_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(v_map_u2081_1493_, v_x_1480_, v_x_1481_); +if (v_isShared_1497_ == 0) { -lean_ctor_set(v___x_1494_, 0, v___x_1496_); -v___x_1498_ = v___x_1494_; -goto v_reusejp_1497_; +lean_ctor_set(v___x_1496_, 0, v___x_1498_); +v___x_1500_ = v___x_1496_; +goto v_reusejp_1499_; } else { -lean_object* v_reuseFailAlloc_1499_; -v_reuseFailAlloc_1499_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v_reuseFailAlloc_1499_, 0, v___x_1496_); -lean_ctor_set(v_reuseFailAlloc_1499_, 1, v_map_u2082_1492_); -lean_ctor_set_uint8(v_reuseFailAlloc_1499_, sizeof(void*)*2, v_stage_u2081_1480_); -v___x_1498_ = v_reuseFailAlloc_1499_; -goto v_reusejp_1497_; +lean_object* v_reuseFailAlloc_1501_; +v_reuseFailAlloc_1501_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v_reuseFailAlloc_1501_, 0, v___x_1498_); +lean_ctor_set(v_reuseFailAlloc_1501_, 1, v_map_u2082_1494_); +lean_ctor_set_uint8(v_reuseFailAlloc_1501_, sizeof(void*)*2, v_stage_u2081_1482_); +v___x_1500_ = v_reuseFailAlloc_1501_; +goto v_reusejp_1499_; } -v_reusejp_1497_: +v_reusejp_1499_: { -return v___x_1498_; +return v___x_1500_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(lean_object* v_table_1501_, lean_object* v_v_1502_){ +LEAN_EXPORT lean_object* l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(lean_object* v_table_1503_, lean_object* v_v_1504_){ _start: { -lean_object* v_toOLeanEntry_1503_; lean_object* v_key_1504_; lean_object* v___x_1506_; uint8_t v_isShared_1507_; uint8_t v_isSharedCheck_1519_; -v_toOLeanEntry_1503_ = lean_ctor_get(v_v_1502_, 0); -lean_inc_ref(v_toOLeanEntry_1503_); -v_key_1504_ = lean_ctor_get(v_toOLeanEntry_1503_, 0); -v_isSharedCheck_1519_ = !lean_is_exclusive(v_toOLeanEntry_1503_); -if (v_isSharedCheck_1519_ == 0) +lean_object* v_toOLeanEntry_1505_; lean_object* v_key_1506_; lean_object* v___x_1508_; uint8_t v_isShared_1509_; uint8_t v_isSharedCheck_1521_; +v_toOLeanEntry_1505_ = lean_ctor_get(v_v_1504_, 0); +lean_inc_ref(v_toOLeanEntry_1505_); +v_key_1506_ = lean_ctor_get(v_toOLeanEntry_1505_, 0); +v_isSharedCheck_1521_ = !lean_is_exclusive(v_toOLeanEntry_1505_); +if (v_isSharedCheck_1521_ == 0) { -lean_object* v_unused_1520_; -v_unused_1520_ = lean_ctor_get(v_toOLeanEntry_1503_, 1); -lean_dec(v_unused_1520_); -v___x_1506_ = v_toOLeanEntry_1503_; -v_isShared_1507_ = v_isSharedCheck_1519_; -goto v_resetjp_1505_; +lean_object* v_unused_1522_; +v_unused_1522_ = lean_ctor_get(v_toOLeanEntry_1505_, 1); +lean_dec(v_unused_1522_); +v___x_1508_ = v_toOLeanEntry_1505_; +v_isShared_1509_ = v_isSharedCheck_1521_; +goto v_resetjp_1507_; } else { -lean_inc(v_key_1504_); -lean_dec(v_toOLeanEntry_1503_); -v___x_1506_ = lean_box(0); -v_isShared_1507_ = v_isSharedCheck_1519_; -goto v_resetjp_1505_; +lean_inc(v_key_1506_); +lean_dec(v_toOLeanEntry_1505_); +v___x_1508_ = lean_box(0); +v_isShared_1509_ = v_isSharedCheck_1521_; +goto v_resetjp_1507_; } -v_resetjp_1505_: +v_resetjp_1507_: { -lean_object* v___x_1508_; -lean_inc_ref(v_table_1501_); -v___x_1508_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_table_1501_, v_key_1504_); -if (lean_obj_tag(v___x_1508_) == 0) +lean_object* v___x_1510_; +lean_inc_ref(v_table_1503_); +v___x_1510_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_table_1503_, v_key_1506_); +if (lean_obj_tag(v___x_1510_) == 0) { -lean_object* v___x_1509_; lean_object* v___x_1511_; -v___x_1509_ = lean_box(0); -if (v_isShared_1507_ == 0) +lean_object* v___x_1511_; lean_object* v___x_1513_; +v___x_1511_ = lean_box(0); +if (v_isShared_1509_ == 0) { -lean_ctor_set_tag(v___x_1506_, 1); -lean_ctor_set(v___x_1506_, 1, v___x_1509_); -lean_ctor_set(v___x_1506_, 0, v_v_1502_); -v___x_1511_ = v___x_1506_; -goto v_reusejp_1510_; +lean_ctor_set_tag(v___x_1508_, 1); +lean_ctor_set(v___x_1508_, 1, v___x_1511_); +lean_ctor_set(v___x_1508_, 0, v_v_1504_); +v___x_1513_ = v___x_1508_; +goto v_reusejp_1512_; } else { -lean_object* v_reuseFailAlloc_1513_; -v_reuseFailAlloc_1513_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1513_, 0, v_v_1502_); -lean_ctor_set(v_reuseFailAlloc_1513_, 1, v___x_1509_); -v___x_1511_ = v_reuseFailAlloc_1513_; -goto v_reusejp_1510_; +lean_object* v_reuseFailAlloc_1515_; +v_reuseFailAlloc_1515_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1515_, 0, v_v_1504_); +lean_ctor_set(v_reuseFailAlloc_1515_, 1, v___x_1511_); +v___x_1513_ = v_reuseFailAlloc_1515_; +goto v_reusejp_1512_; } -v_reusejp_1510_: +v_reusejp_1512_: { -lean_object* v___x_1512_; -v___x_1512_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_table_1501_, v_key_1504_, v___x_1511_); -return v___x_1512_; +lean_object* v___x_1514_; +v___x_1514_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_table_1503_, v_key_1506_, v___x_1513_); +return v___x_1514_; } } else { -lean_object* v_val_1514_; lean_object* v___x_1516_; -v_val_1514_ = lean_ctor_get(v___x_1508_, 0); -lean_inc(v_val_1514_); -lean_dec_ref(v___x_1508_); -if (v_isShared_1507_ == 0) +lean_object* v_val_1516_; lean_object* v___x_1518_; +v_val_1516_ = lean_ctor_get(v___x_1510_, 0); +lean_inc(v_val_1516_); +lean_dec_ref(v___x_1510_); +if (v_isShared_1509_ == 0) { -lean_ctor_set_tag(v___x_1506_, 1); -lean_ctor_set(v___x_1506_, 1, v_val_1514_); -lean_ctor_set(v___x_1506_, 0, v_v_1502_); -v___x_1516_ = v___x_1506_; -goto v_reusejp_1515_; +lean_ctor_set_tag(v___x_1508_, 1); +lean_ctor_set(v___x_1508_, 1, v_val_1516_); +lean_ctor_set(v___x_1508_, 0, v_v_1504_); +v___x_1518_ = v___x_1508_; +goto v_reusejp_1517_; } else { -lean_object* v_reuseFailAlloc_1518_; -v_reuseFailAlloc_1518_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1518_, 0, v_v_1502_); -lean_ctor_set(v_reuseFailAlloc_1518_, 1, v_val_1514_); -v___x_1516_ = v_reuseFailAlloc_1518_; -goto v_reusejp_1515_; +lean_object* v_reuseFailAlloc_1520_; +v_reuseFailAlloc_1520_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1520_, 0, v_v_1504_); +lean_ctor_set(v_reuseFailAlloc_1520_, 1, v_val_1516_); +v___x_1518_ = v_reuseFailAlloc_1520_; +goto v_reusejp_1517_; } -v_reusejp_1515_: +v_reusejp_1517_: { -lean_object* v___x_1517_; -v___x_1517_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_table_1501_, v_key_1504_, v___x_1516_); -return v___x_1517_; +lean_object* v___x_1519_; +v___x_1519_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_table_1503_, v_key_1506_, v___x_1518_); +return v___x_1519_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert(lean_object* v_00_u03b3_1521_, lean_object* v_table_1522_, lean_object* v_v_1523_){ +LEAN_EXPORT lean_object* l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert(lean_object* v_00_u03b3_1523_, lean_object* v_table_1524_, lean_object* v_v_1525_){ _start: { -lean_object* v___x_1524_; -v___x_1524_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v_table_1522_, v_v_1523_); -return v___x_1524_; +lean_object* v___x_1526_; +v___x_1526_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v_table_1524_, v_v_1525_); +return v___x_1526_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0(lean_object* v_00_u03b2_1525_, lean_object* v_x_1526_, lean_object* v_x_1527_){ +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0(lean_object* v_00_u03b2_1527_, lean_object* v_x_1528_, lean_object* v_x_1529_){ _start: { -lean_object* v___x_1528_; -v___x_1528_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_x_1526_, v_x_1527_); -return v___x_1528_; +lean_object* v___x_1530_; +v___x_1530_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_x_1528_, v_x_1529_); +return v___x_1530_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___boxed(lean_object* v_00_u03b2_1529_, lean_object* v_x_1530_, lean_object* v_x_1531_){ +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___boxed(lean_object* v_00_u03b2_1531_, lean_object* v_x_1532_, lean_object* v_x_1533_){ _start: { -lean_object* v_res_1532_; -v_res_1532_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0(v_00_u03b2_1529_, v_x_1530_, v_x_1531_); -lean_dec(v_x_1531_); -return v_res_1532_; +lean_object* v_res_1534_; +v_res_1534_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0(v_00_u03b2_1531_, v_x_1532_, v_x_1533_); +lean_dec(v_x_1533_); +return v_res_1534_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1(lean_object* v_00_u03b2_1533_, lean_object* v_x_1534_, lean_object* v_x_1535_, lean_object* v_x_1536_){ +LEAN_EXPORT lean_object* l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1(lean_object* v_00_u03b2_1535_, lean_object* v_x_1536_, lean_object* v_x_1537_, lean_object* v_x_1538_){ _start: { -lean_object* v___x_1537_; -v___x_1537_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_x_1534_, v_x_1535_, v_x_1536_); -return v___x_1537_; +lean_object* v___x_1539_; +v___x_1539_ = l_Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1___redArg(v_x_1536_, v_x_1537_, v_x_1538_); +return v___x_1539_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0(lean_object* v_00_u03b2_1538_, lean_object* v_x_1539_, lean_object* v_x_1540_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0(lean_object* v_00_u03b2_1540_, lean_object* v_x_1541_, lean_object* v_x_1542_){ _start: { -lean_object* v___x_1541_; -v___x_1541_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_x_1539_, v_x_1540_); -return v___x_1541_; +lean_object* v___x_1543_; +v___x_1543_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___redArg(v_x_1541_, v_x_1542_); +return v___x_1543_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1542_, lean_object* v_x_1543_, lean_object* v_x_1544_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1544_, lean_object* v_x_1545_, lean_object* v_x_1546_){ _start: { -lean_object* v_res_1545_; -v_res_1545_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0(v_00_u03b2_1542_, v_x_1543_, v_x_1544_); -lean_dec(v_x_1544_); -return v_res_1545_; +lean_object* v_res_1547_; +v_res_1547_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0(v_00_u03b2_1544_, v_x_1545_, v_x_1546_); +lean_dec(v_x_1546_); +return v_res_1547_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2(lean_object* v_00_u03b2_1546_, lean_object* v_x_1547_, lean_object* v_x_1548_, lean_object* v_x_1549_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2(lean_object* v_00_u03b2_1548_, lean_object* v_x_1549_, lean_object* v_x_1550_, lean_object* v_x_1551_){ _start: { -lean_object* v___x_1550_; -v___x_1550_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_x_1547_, v_x_1548_, v_x_1549_); -return v___x_1550_; +lean_object* v___x_1552_; +v___x_1552_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_x_1549_, v_x_1550_, v_x_1551_); +return v___x_1552_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3(lean_object* v_00_u03b2_1551_, lean_object* v_m_1552_, lean_object* v_a_1553_, lean_object* v_b_1554_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3(lean_object* v_00_u03b2_1553_, lean_object* v_m_1554_, lean_object* v_a_1555_, lean_object* v_b_1556_){ _start: { -lean_object* v___x_1555_; -v___x_1555_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(v_m_1552_, v_a_1553_, v_b_1554_); -return v___x_1555_; +lean_object* v___x_1557_; +v___x_1557_ = l_Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3___redArg(v_m_1554_, v_a_1555_, v_b_1556_); +return v___x_1557_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_1556_, lean_object* v_x_1557_, size_t v_x_1558_, lean_object* v_x_1559_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_1558_, lean_object* v_x_1559_, size_t v_x_1560_, lean_object* v_x_1561_){ _start: { -lean_object* v___x_1560_; -v___x_1560_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1557_, v_x_1558_, v_x_1559_); -return v___x_1560_; +lean_object* v___x_1562_; +v___x_1562_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___redArg(v_x_1559_, v_x_1560_, v_x_1561_); +return v___x_1562_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_1561_, lean_object* v_x_1562_, lean_object* v_x_1563_, lean_object* v_x_1564_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_1563_, lean_object* v_x_1564_, lean_object* v_x_1565_, lean_object* v_x_1566_){ _start: { -size_t v_x_1619__boxed_1565_; lean_object* v_res_1566_; -v_x_1619__boxed_1565_ = lean_unbox_usize(v_x_1563_); -lean_dec(v_x_1563_); -v_res_1566_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1(v_00_u03b2_1561_, v_x_1562_, v_x_1619__boxed_1565_, v_x_1564_); -lean_dec(v_x_1564_); -return v_res_1566_; +size_t v_x_1619__boxed_1567_; lean_object* v_res_1568_; +v_x_1619__boxed_1567_ = lean_unbox_usize(v_x_1565_); +lean_dec(v_x_1565_); +v_res_1568_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1(v_00_u03b2_1563_, v_x_1564_, v_x_1619__boxed_1567_, v_x_1566_); +lean_dec(v_x_1566_); +return v_res_1568_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_1567_, lean_object* v_x_1568_, size_t v_x_1569_, size_t v_x_1570_, lean_object* v_x_1571_, lean_object* v_x_1572_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4(lean_object* v_00_u03b2_1569_, lean_object* v_x_1570_, size_t v_x_1571_, size_t v_x_1572_, lean_object* v_x_1573_, lean_object* v_x_1574_){ _start: { -lean_object* v___x_1573_; -v___x_1573_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1568_, v_x_1569_, v_x_1570_, v_x_1571_, v_x_1572_); -return v___x_1573_; +lean_object* v___x_1575_; +v___x_1575_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___redArg(v_x_1570_, v_x_1571_, v_x_1572_, v_x_1573_, v_x_1574_); +return v___x_1575_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___boxed(lean_object* v_00_u03b2_1574_, lean_object* v_x_1575_, lean_object* v_x_1576_, lean_object* v_x_1577_, lean_object* v_x_1578_, lean_object* v_x_1579_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4___boxed(lean_object* v_00_u03b2_1576_, lean_object* v_x_1577_, lean_object* v_x_1578_, lean_object* v_x_1579_, lean_object* v_x_1580_, lean_object* v_x_1581_){ _start: { -size_t v_x_1630__boxed_1580_; size_t v_x_1631__boxed_1581_; lean_object* v_res_1582_; -v_x_1630__boxed_1580_ = lean_unbox_usize(v_x_1576_); -lean_dec(v_x_1576_); -v_x_1631__boxed_1581_ = lean_unbox_usize(v_x_1577_); -lean_dec(v_x_1577_); -v_res_1582_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4(v_00_u03b2_1574_, v_x_1575_, v_x_1630__boxed_1580_, v_x_1631__boxed_1581_, v_x_1578_, v_x_1579_); -return v_res_1582_; +size_t v_x_1630__boxed_1582_; size_t v_x_1631__boxed_1583_; lean_object* v_res_1584_; +v_x_1630__boxed_1582_ = lean_unbox_usize(v_x_1578_); +lean_dec(v_x_1578_); +v_x_1631__boxed_1583_ = lean_unbox_usize(v_x_1579_); +lean_dec(v_x_1579_); +v_res_1584_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4(v_00_u03b2_1576_, v_x_1577_, v_x_1630__boxed_1582_, v_x_1631__boxed_1583_, v_x_1580_, v_x_1581_); +return v_res_1584_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6(lean_object* v_00_u03b2_1583_, lean_object* v_a_1584_, lean_object* v_x_1585_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6(lean_object* v_00_u03b2_1585_, lean_object* v_a_1586_, lean_object* v_x_1587_){ _start: { -uint8_t v___x_1586_; -v___x_1586_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1584_, v_x_1585_); -return v___x_1586_; +uint8_t v___x_1588_; +v___x_1588_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___redArg(v_a_1586_, v_x_1587_); +return v___x_1588_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___boxed(lean_object* v_00_u03b2_1587_, lean_object* v_a_1588_, lean_object* v_x_1589_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6___boxed(lean_object* v_00_u03b2_1589_, lean_object* v_a_1590_, lean_object* v_x_1591_){ _start: { -uint8_t v_res_1590_; lean_object* v_r_1591_; -v_res_1590_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6(v_00_u03b2_1587_, v_a_1588_, v_x_1589_); -lean_dec(v_x_1589_); -lean_dec(v_a_1588_); -v_r_1591_ = lean_box(v_res_1590_); -return v_r_1591_; +uint8_t v_res_1592_; lean_object* v_r_1593_; +v_res_1592_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__6(v_00_u03b2_1589_, v_a_1590_, v_x_1591_); +lean_dec(v_x_1591_); +lean_dec(v_a_1590_); +v_r_1593_ = lean_box(v_res_1592_); +return v_r_1593_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7(lean_object* v_00_u03b2_1592_, lean_object* v_data_1593_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7(lean_object* v_00_u03b2_1594_, lean_object* v_data_1595_){ _start: { -lean_object* v___x_1594_; -v___x_1594_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(v_data_1593_); -return v___x_1594_; +lean_object* v___x_1596_; +v___x_1596_ = l_Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7___redArg(v_data_1595_); +return v___x_1596_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8(lean_object* v_00_u03b2_1595_, lean_object* v_a_1596_, lean_object* v_b_1597_, lean_object* v_x_1598_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8(lean_object* v_00_u03b2_1597_, lean_object* v_a_1598_, lean_object* v_b_1599_, lean_object* v_x_1600_){ _start: { -lean_object* v___x_1599_; -v___x_1599_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1596_, v_b_1597_, v_x_1598_); -return v___x_1599_; +lean_object* v___x_1601_; +v___x_1601_ = l_Std_DHashMap_Internal_AssocList_replace___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__8___redArg(v_a_1598_, v_b_1599_, v_x_1600_); +return v___x_1601_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3(lean_object* v_00_u03b2_1600_, lean_object* v_keys_1601_, lean_object* v_vals_1602_, lean_object* v_heq_1603_, lean_object* v_i_1604_, lean_object* v_k_1605_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3(lean_object* v_00_u03b2_1602_, lean_object* v_keys_1603_, lean_object* v_vals_1604_, lean_object* v_heq_1605_, lean_object* v_i_1606_, lean_object* v_k_1607_){ _start: { -lean_object* v___x_1606_; -v___x_1606_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_keys_1601_, v_vals_1602_, v_i_1604_, v_k_1605_); -return v___x_1606_; +lean_object* v___x_1608_; +v___x_1608_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___redArg(v_keys_1603_, v_vals_1604_, v_i_1606_, v_k_1607_); +return v___x_1608_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___boxed(lean_object* v_00_u03b2_1607_, lean_object* v_keys_1608_, lean_object* v_vals_1609_, lean_object* v_heq_1610_, lean_object* v_i_1611_, lean_object* v_k_1612_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3___boxed(lean_object* v_00_u03b2_1609_, lean_object* v_keys_1610_, lean_object* v_vals_1611_, lean_object* v_heq_1612_, lean_object* v_i_1613_, lean_object* v_k_1614_){ _start: { -lean_object* v_res_1613_; -v_res_1613_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3(v_00_u03b2_1607_, v_keys_1608_, v_vals_1609_, v_heq_1610_, v_i_1611_, v_k_1612_); -lean_dec(v_k_1612_); -lean_dec_ref(v_vals_1609_); -lean_dec_ref(v_keys_1608_); -return v_res_1613_; +lean_object* v_res_1615_; +v_res_1615_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0_spec__0_spec__1_spec__3(v_00_u03b2_1609_, v_keys_1610_, v_vals_1611_, v_heq_1612_, v_i_1613_, v_k_1614_); +lean_dec(v_k_1614_); +lean_dec_ref(v_vals_1611_); +lean_dec_ref(v_keys_1610_); +return v_res_1615_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_1614_, lean_object* v_n_1615_, lean_object* v_k_1616_, lean_object* v_v_1617_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6(lean_object* v_00_u03b2_1616_, lean_object* v_n_1617_, lean_object* v_k_1618_, lean_object* v_v_1619_){ _start: { -lean_object* v___x_1618_; -v___x_1618_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(v_n_1615_, v_k_1616_, v_v_1617_); -return v___x_1618_; +lean_object* v___x_1620_; +v___x_1620_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6___redArg(v_n_1617_, v_k_1618_, v_v_1619_); +return v___x_1620_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7(lean_object* v_00_u03b2_1619_, size_t v_depth_1620_, lean_object* v_keys_1621_, lean_object* v_vals_1622_, lean_object* v_heq_1623_, lean_object* v_i_1624_, lean_object* v_entries_1625_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7(lean_object* v_00_u03b2_1621_, size_t v_depth_1622_, lean_object* v_keys_1623_, lean_object* v_vals_1624_, lean_object* v_heq_1625_, lean_object* v_i_1626_, lean_object* v_entries_1627_){ _start: { -lean_object* v___x_1626_; -v___x_1626_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_depth_1620_, v_keys_1621_, v_vals_1622_, v_i_1624_, v_entries_1625_); -return v___x_1626_; +lean_object* v___x_1628_; +v___x_1628_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___redArg(v_depth_1622_, v_keys_1623_, v_vals_1624_, v_i_1626_, v_entries_1627_); +return v___x_1628_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___boxed(lean_object* v_00_u03b2_1627_, lean_object* v_depth_1628_, lean_object* v_keys_1629_, lean_object* v_vals_1630_, lean_object* v_heq_1631_, lean_object* v_i_1632_, lean_object* v_entries_1633_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7___boxed(lean_object* v_00_u03b2_1629_, lean_object* v_depth_1630_, lean_object* v_keys_1631_, lean_object* v_vals_1632_, lean_object* v_heq_1633_, lean_object* v_i_1634_, lean_object* v_entries_1635_){ _start: { -size_t v_depth_boxed_1634_; lean_object* v_res_1635_; -v_depth_boxed_1634_ = lean_unbox_usize(v_depth_1628_); -lean_dec(v_depth_1628_); -v_res_1635_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7(v_00_u03b2_1627_, v_depth_boxed_1634_, v_keys_1629_, v_vals_1630_, v_heq_1631_, v_i_1632_, v_entries_1633_); -lean_dec_ref(v_vals_1630_); -lean_dec_ref(v_keys_1629_); -return v_res_1635_; +size_t v_depth_boxed_1636_; lean_object* v_res_1637_; +v_depth_boxed_1636_ = lean_unbox_usize(v_depth_1630_); +lean_dec(v_depth_1630_); +v_res_1637_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__7(v_00_u03b2_1629_, v_depth_boxed_1636_, v_keys_1631_, v_vals_1632_, v_heq_1633_, v_i_1634_, v_entries_1635_); +lean_dec_ref(v_vals_1632_); +lean_dec_ref(v_keys_1631_); +return v_res_1637_; } } -LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11(lean_object* v_00_u03b2_1636_, lean_object* v_i_1637_, lean_object* v_source_1638_, lean_object* v_target_1639_){ +LEAN_EXPORT lean_object* l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11(lean_object* v_00_u03b2_1638_, lean_object* v_i_1639_, lean_object* v_source_1640_, lean_object* v_target_1641_){ _start: { -lean_object* v___x_1640_; -v___x_1640_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(v_i_1637_, v_source_1638_, v_target_1639_); -return v___x_1640_; +lean_object* v___x_1642_; +v___x_1642_ = l___private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11___redArg(v_i_1639_, v_source_1640_, v_target_1641_); +return v___x_1642_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8(lean_object* v_00_u03b2_1641_, lean_object* v_x_1642_, lean_object* v_x_1643_, lean_object* v_x_1644_, lean_object* v_x_1645_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8(lean_object* v_00_u03b2_1643_, lean_object* v_x_1644_, lean_object* v_x_1645_, lean_object* v_x_1646_, lean_object* v_x_1647_){ _start: { -lean_object* v___x_1646_; -v___x_1646_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(v_x_1642_, v_x_1643_, v_x_1644_, v_x_1645_); -return v___x_1646_; +lean_object* v___x_1648_; +v___x_1648_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2_spec__4_spec__6_spec__8___redArg(v_x_1644_, v_x_1645_, v_x_1646_, v_x_1647_); +return v___x_1648_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13(lean_object* v_00_u03b2_1647_, lean_object* v_x_1648_, lean_object* v_x_1649_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13(lean_object* v_00_u03b2_1649_, lean_object* v_x_1650_, lean_object* v_x_1651_){ _start: { -lean_object* v___x_1650_; -v___x_1650_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(v_x_1648_, v_x_1649_); -return v___x_1650_; +lean_object* v___x_1652_; +v___x_1652_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00__private_Std_Data_DHashMap_Internal_Defs_0__Std_DHashMap_Internal_Raw_u2080_expand_go___at___00Std_DHashMap_Internal_Raw_u2080_expand___at___00Std_DHashMap_Internal_Raw_u2080_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__3_spec__7_spec__11_spec__13___redArg(v_x_1650_, v_x_1651_); +return v___x_1652_; } } -LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(lean_object* v_xs_1651_, lean_object* v_v_1652_, lean_object* v_i_1653_){ +LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(lean_object* v_xs_1653_, lean_object* v_v_1654_, lean_object* v_i_1655_){ _start: { -lean_object* v___x_1654_; uint8_t v___x_1655_; -v___x_1654_ = lean_array_get_size(v_xs_1651_); -v___x_1655_ = lean_nat_dec_lt(v_i_1653_, v___x_1654_); -if (v___x_1655_ == 0) +lean_object* v___x_1656_; uint8_t v___x_1657_; +v___x_1656_ = lean_array_get_size(v_xs_1653_); +v___x_1657_ = lean_nat_dec_lt(v_i_1655_, v___x_1656_); +if (v___x_1657_ == 0) { -lean_object* v___x_1656_; -lean_dec(v_i_1653_); -v___x_1656_ = lean_box(0); -return v___x_1656_; +lean_object* v___x_1658_; +lean_dec(v_i_1655_); +v___x_1658_ = lean_box(0); +return v___x_1658_; } else { -lean_object* v___x_1657_; uint8_t v___x_1658_; -v___x_1657_ = lean_array_fget_borrowed(v_xs_1651_, v_i_1653_); -v___x_1658_ = lean_name_eq(v___x_1657_, v_v_1652_); -if (v___x_1658_ == 0) +lean_object* v___x_1659_; uint8_t v___x_1660_; +v___x_1659_ = lean_array_fget_borrowed(v_xs_1653_, v_i_1655_); +v___x_1660_ = lean_name_eq(v___x_1659_, v_v_1654_); +if (v___x_1660_ == 0) { -lean_object* v___x_1659_; lean_object* v___x_1660_; -v___x_1659_ = lean_unsigned_to_nat(1u); -v___x_1660_ = lean_nat_add(v_i_1653_, v___x_1659_); -lean_dec(v_i_1653_); -v_i_1653_ = v___x_1660_; +lean_object* v___x_1661_; lean_object* v___x_1662_; +v___x_1661_ = lean_unsigned_to_nat(1u); +v___x_1662_ = lean_nat_add(v_i_1655_, v___x_1661_); +lean_dec(v_i_1655_); +v_i_1655_ = v___x_1662_; goto _start; } else { -lean_object* v___x_1662_; -v___x_1662_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1662_, 0, v_i_1653_); -return v___x_1662_; +lean_object* v___x_1664_; +v___x_1664_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1664_, 0, v_i_1655_); +return v___x_1664_; } } } } -LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2___boxed(lean_object* v_xs_1663_, lean_object* v_v_1664_, lean_object* v_i_1665_){ +LEAN_EXPORT lean_object* l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2___boxed(lean_object* v_xs_1665_, lean_object* v_v_1666_, lean_object* v_i_1667_){ _start: { -lean_object* v_res_1666_; -v_res_1666_ = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(v_xs_1663_, v_v_1664_, v_i_1665_); -lean_dec(v_v_1664_); -lean_dec_ref(v_xs_1663_); -return v_res_1666_; +lean_object* v_res_1668_; +v_res_1668_ = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(v_xs_1665_, v_v_1666_, v_i_1667_); +lean_dec(v_v_1666_); +lean_dec_ref(v_xs_1665_); +return v_res_1668_; } } -LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(lean_object* v_xs_1667_, lean_object* v_v_1668_){ +LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(lean_object* v_xs_1669_, lean_object* v_v_1670_){ _start: { -lean_object* v___x_1669_; lean_object* v___x_1670_; -v___x_1669_ = lean_unsigned_to_nat(0u); -v___x_1670_ = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(v_xs_1667_, v_v_1668_, v___x_1669_); -return v___x_1670_; +lean_object* v___x_1671_; lean_object* v___x_1672_; +v___x_1671_ = lean_unsigned_to_nat(0u); +v___x_1672_ = l_Array_idxOfAux___at___00Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1_spec__2(v_xs_1669_, v_v_1670_, v___x_1671_); +return v___x_1672_; } } -LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1___boxed(lean_object* v_xs_1671_, lean_object* v_v_1672_){ +LEAN_EXPORT lean_object* l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1___boxed(lean_object* v_xs_1673_, lean_object* v_v_1674_){ _start: { -lean_object* v_res_1673_; -v_res_1673_ = l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(v_xs_1671_, v_v_1672_); -lean_dec(v_v_1672_); -lean_dec_ref(v_xs_1671_); -return v_res_1673_; +lean_object* v_res_1675_; +v_res_1675_ = l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(v_xs_1673_, v_v_1674_); +lean_dec(v_v_1674_); +lean_dec_ref(v_xs_1673_); +return v_res_1675_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(lean_object* v_x_1674_, size_t v_x_1675_, lean_object* v_x_1676_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(lean_object* v_x_1676_, size_t v_x_1677_, lean_object* v_x_1678_){ _start: { -if (lean_obj_tag(v_x_1674_) == 0) +if (lean_obj_tag(v_x_1676_) == 0) { -lean_object* v_es_1677_; lean_object* v___x_1678_; size_t v___x_1679_; size_t v___x_1680_; size_t v___x_1681_; lean_object* v_j_1682_; lean_object* v_entry_1683_; -v_es_1677_ = lean_ctor_get(v_x_1674_, 0); -v___x_1678_ = lean_box(2); -v___x_1679_ = ((size_t)5ULL); -v___x_1680_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); -v___x_1681_ = lean_usize_land(v_x_1675_, v___x_1680_); -v_j_1682_ = lean_usize_to_nat(v___x_1681_); -v_entry_1683_ = lean_array_get(v___x_1678_, v_es_1677_, v_j_1682_); -switch(lean_obj_tag(v_entry_1683_)) +lean_object* v_es_1679_; lean_object* v___x_1680_; size_t v___x_1681_; size_t v___x_1682_; size_t v___x_1683_; lean_object* v_j_1684_; lean_object* v_entry_1685_; +v_es_1679_ = lean_ctor_get(v_x_1676_, 0); +v___x_1680_ = lean_box(2); +v___x_1681_ = ((size_t)5ULL); +v___x_1682_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); +v___x_1683_ = lean_usize_land(v_x_1677_, v___x_1682_); +v_j_1684_ = lean_usize_to_nat(v___x_1683_); +v_entry_1685_ = lean_array_get(v___x_1680_, v_es_1679_, v_j_1684_); +switch(lean_obj_tag(v_entry_1685_)) { case 0: { -lean_object* v_key_1684_; uint8_t v___x_1685_; -v_key_1684_ = lean_ctor_get(v_entry_1683_, 0); -lean_inc(v_key_1684_); -lean_dec_ref(v_entry_1683_); -v___x_1685_ = lean_name_eq(v_x_1676_, v_key_1684_); -lean_dec(v_key_1684_); -if (v___x_1685_ == 0) +lean_object* v_key_1686_; uint8_t v___x_1687_; +v_key_1686_ = lean_ctor_get(v_entry_1685_, 0); +lean_inc(v_key_1686_); +lean_dec_ref(v_entry_1685_); +v___x_1687_ = lean_name_eq(v_x_1678_, v_key_1686_); +lean_dec(v_key_1686_); +if (v___x_1687_ == 0) { -lean_dec(v_j_1682_); -return v_x_1674_; +lean_dec(v_j_1684_); +return v_x_1676_; } else { -lean_object* v___x_1687_; uint8_t v_isShared_1688_; uint8_t v_isSharedCheck_1693_; -lean_inc_ref(v_es_1677_); -v_isSharedCheck_1693_ = !lean_is_exclusive(v_x_1674_); -if (v_isSharedCheck_1693_ == 0) +lean_object* v___x_1689_; uint8_t v_isShared_1690_; uint8_t v_isSharedCheck_1695_; +lean_inc_ref(v_es_1679_); +v_isSharedCheck_1695_ = !lean_is_exclusive(v_x_1676_); +if (v_isSharedCheck_1695_ == 0) { -lean_object* v_unused_1694_; -v_unused_1694_ = lean_ctor_get(v_x_1674_, 0); -lean_dec(v_unused_1694_); -v___x_1687_ = v_x_1674_; -v_isShared_1688_ = v_isSharedCheck_1693_; -goto v_resetjp_1686_; +lean_object* v_unused_1696_; +v_unused_1696_ = lean_ctor_get(v_x_1676_, 0); +lean_dec(v_unused_1696_); +v___x_1689_ = v_x_1676_; +v_isShared_1690_ = v_isSharedCheck_1695_; +goto v_resetjp_1688_; } else { -lean_dec(v_x_1674_); -v___x_1687_ = lean_box(0); -v_isShared_1688_ = v_isSharedCheck_1693_; -goto v_resetjp_1686_; +lean_dec(v_x_1676_); +v___x_1689_ = lean_box(0); +v_isShared_1690_ = v_isSharedCheck_1695_; +goto v_resetjp_1688_; } -v_resetjp_1686_: +v_resetjp_1688_: { -lean_object* v___x_1689_; lean_object* v___x_1691_; -v___x_1689_ = lean_array_set(v_es_1677_, v_j_1682_, v___x_1678_); -lean_dec(v_j_1682_); -if (v_isShared_1688_ == 0) +lean_object* v___x_1691_; lean_object* v___x_1693_; +v___x_1691_ = lean_array_set(v_es_1679_, v_j_1684_, v___x_1680_); +lean_dec(v_j_1684_); +if (v_isShared_1690_ == 0) { -lean_ctor_set(v___x_1687_, 0, v___x_1689_); -v___x_1691_ = v___x_1687_; -goto v_reusejp_1690_; +lean_ctor_set(v___x_1689_, 0, v___x_1691_); +v___x_1693_ = v___x_1689_; +goto v_reusejp_1692_; } else { -lean_object* v_reuseFailAlloc_1692_; -v_reuseFailAlloc_1692_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1692_, 0, v___x_1689_); -v___x_1691_ = v_reuseFailAlloc_1692_; -goto v_reusejp_1690_; +lean_object* v_reuseFailAlloc_1694_; +v_reuseFailAlloc_1694_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1694_, 0, v___x_1691_); +v___x_1693_ = v_reuseFailAlloc_1694_; +goto v_reusejp_1692_; } -v_reusejp_1690_: +v_reusejp_1692_: { -return v___x_1691_; +return v___x_1693_; } } } } case 1: { -lean_object* v___x_1696_; uint8_t v_isShared_1697_; uint8_t v_isSharedCheck_1728_; -lean_inc_ref(v_es_1677_); -v_isSharedCheck_1728_ = !lean_is_exclusive(v_x_1674_); +lean_object* v___x_1698_; uint8_t v_isShared_1699_; uint8_t v_isSharedCheck_1730_; +lean_inc_ref(v_es_1679_); +v_isSharedCheck_1730_ = !lean_is_exclusive(v_x_1676_); +if (v_isSharedCheck_1730_ == 0) +{ +lean_object* v_unused_1731_; +v_unused_1731_ = lean_ctor_get(v_x_1676_, 0); +lean_dec(v_unused_1731_); +v___x_1698_ = v_x_1676_; +v_isShared_1699_ = v_isSharedCheck_1730_; +goto v_resetjp_1697_; +} +else +{ +lean_dec(v_x_1676_); +v___x_1698_ = lean_box(0); +v_isShared_1699_ = v_isSharedCheck_1730_; +goto v_resetjp_1697_; +} +v_resetjp_1697_: +{ +lean_object* v_node_1700_; lean_object* v___x_1702_; uint8_t v_isShared_1703_; uint8_t v_isSharedCheck_1729_; +v_node_1700_ = lean_ctor_get(v_entry_1685_, 0); +v_isSharedCheck_1729_ = !lean_is_exclusive(v_entry_1685_); +if (v_isSharedCheck_1729_ == 0) +{ +v___x_1702_ = v_entry_1685_; +v_isShared_1703_ = v_isSharedCheck_1729_; +goto v_resetjp_1701_; +} +else +{ +lean_inc(v_node_1700_); +lean_dec(v_entry_1685_); +v___x_1702_ = lean_box(0); +v_isShared_1703_ = v_isSharedCheck_1729_; +goto v_resetjp_1701_; +} +v_resetjp_1701_: +{ +lean_object* v_entries_1704_; size_t v___x_1705_; lean_object* v_newNode_1706_; lean_object* v___x_1707_; +v_entries_1704_ = lean_array_set(v_es_1679_, v_j_1684_, v___x_1680_); +v___x_1705_ = lean_usize_shift_right(v_x_1677_, v___x_1681_); +v_newNode_1706_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_node_1700_, v___x_1705_, v_x_1678_); +lean_inc_ref(v_newNode_1706_); +v___x_1707_ = l_Lean_PersistentHashMap_isUnaryNode___redArg(v_newNode_1706_); +if (lean_obj_tag(v___x_1707_) == 0) +{ +lean_object* v___x_1709_; +if (v_isShared_1703_ == 0) +{ +lean_ctor_set(v___x_1702_, 0, v_newNode_1706_); +v___x_1709_ = v___x_1702_; +goto v_reusejp_1708_; +} +else +{ +lean_object* v_reuseFailAlloc_1714_; +v_reuseFailAlloc_1714_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1714_, 0, v_newNode_1706_); +v___x_1709_ = v_reuseFailAlloc_1714_; +goto v_reusejp_1708_; +} +v_reusejp_1708_: +{ +lean_object* v___x_1710_; lean_object* v___x_1712_; +v___x_1710_ = lean_array_set(v_entries_1704_, v_j_1684_, v___x_1709_); +lean_dec(v_j_1684_); +if (v_isShared_1699_ == 0) +{ +lean_ctor_set(v___x_1698_, 0, v___x_1710_); +v___x_1712_ = v___x_1698_; +goto v_reusejp_1711_; +} +else +{ +lean_object* v_reuseFailAlloc_1713_; +v_reuseFailAlloc_1713_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1713_, 0, v___x_1710_); +v___x_1712_ = v_reuseFailAlloc_1713_; +goto v_reusejp_1711_; +} +v_reusejp_1711_: +{ +return v___x_1712_; +} +} +} +else +{ +lean_object* v_val_1715_; lean_object* v_fst_1716_; lean_object* v_snd_1717_; lean_object* v___x_1719_; uint8_t v_isShared_1720_; uint8_t v_isSharedCheck_1728_; +lean_dec_ref(v_newNode_1706_); +lean_del_object(v___x_1702_); +v_val_1715_ = lean_ctor_get(v___x_1707_, 0); +lean_inc(v_val_1715_); +lean_dec_ref(v___x_1707_); +v_fst_1716_ = lean_ctor_get(v_val_1715_, 0); +v_snd_1717_ = lean_ctor_get(v_val_1715_, 1); +v_isSharedCheck_1728_ = !lean_is_exclusive(v_val_1715_); if (v_isSharedCheck_1728_ == 0) { -lean_object* v_unused_1729_; -v_unused_1729_ = lean_ctor_get(v_x_1674_, 0); -lean_dec(v_unused_1729_); -v___x_1696_ = v_x_1674_; -v_isShared_1697_ = v_isSharedCheck_1728_; -goto v_resetjp_1695_; +v___x_1719_ = v_val_1715_; +v_isShared_1720_ = v_isSharedCheck_1728_; +goto v_resetjp_1718_; } else { -lean_dec(v_x_1674_); -v___x_1696_ = lean_box(0); -v_isShared_1697_ = v_isSharedCheck_1728_; -goto v_resetjp_1695_; +lean_inc(v_snd_1717_); +lean_inc(v_fst_1716_); +lean_dec(v_val_1715_); +v___x_1719_ = lean_box(0); +v_isShared_1720_ = v_isSharedCheck_1728_; +goto v_resetjp_1718_; } -v_resetjp_1695_: +v_resetjp_1718_: { -lean_object* v_node_1698_; lean_object* v___x_1700_; uint8_t v_isShared_1701_; uint8_t v_isSharedCheck_1727_; -v_node_1698_ = lean_ctor_get(v_entry_1683_, 0); -v_isSharedCheck_1727_ = !lean_is_exclusive(v_entry_1683_); -if (v_isSharedCheck_1727_ == 0) +lean_object* v___x_1722_; +if (v_isShared_1720_ == 0) { -v___x_1700_ = v_entry_1683_; -v_isShared_1701_ = v_isSharedCheck_1727_; -goto v_resetjp_1699_; +v___x_1722_ = v___x_1719_; +goto v_reusejp_1721_; } else { -lean_inc(v_node_1698_); -lean_dec(v_entry_1683_); -v___x_1700_ = lean_box(0); -v_isShared_1701_ = v_isSharedCheck_1727_; -goto v_resetjp_1699_; +lean_object* v_reuseFailAlloc_1727_; +v_reuseFailAlloc_1727_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1727_, 0, v_fst_1716_); +lean_ctor_set(v_reuseFailAlloc_1727_, 1, v_snd_1717_); +v___x_1722_ = v_reuseFailAlloc_1727_; +goto v_reusejp_1721_; } -v_resetjp_1699_: +v_reusejp_1721_: { -lean_object* v_entries_1702_; size_t v___x_1703_; lean_object* v_newNode_1704_; lean_object* v___x_1705_; -v_entries_1702_ = lean_array_set(v_es_1677_, v_j_1682_, v___x_1678_); -v___x_1703_ = lean_usize_shift_right(v_x_1675_, v___x_1679_); -v_newNode_1704_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_node_1698_, v___x_1703_, v_x_1676_); -lean_inc_ref(v_newNode_1704_); -v___x_1705_ = l_Lean_PersistentHashMap_isUnaryNode___redArg(v_newNode_1704_); -if (lean_obj_tag(v___x_1705_) == 0) +lean_object* v___x_1723_; lean_object* v___x_1725_; +v___x_1723_ = lean_array_set(v_entries_1704_, v_j_1684_, v___x_1722_); +lean_dec(v_j_1684_); +if (v_isShared_1699_ == 0) { -lean_object* v___x_1707_; -if (v_isShared_1701_ == 0) -{ -lean_ctor_set(v___x_1700_, 0, v_newNode_1704_); -v___x_1707_ = v___x_1700_; -goto v_reusejp_1706_; +lean_ctor_set(v___x_1698_, 0, v___x_1723_); +v___x_1725_ = v___x_1698_; +goto v_reusejp_1724_; } else { -lean_object* v_reuseFailAlloc_1712_; -v_reuseFailAlloc_1712_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1712_, 0, v_newNode_1704_); -v___x_1707_ = v_reuseFailAlloc_1712_; -goto v_reusejp_1706_; +lean_object* v_reuseFailAlloc_1726_; +v_reuseFailAlloc_1726_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1726_, 0, v___x_1723_); +v___x_1725_ = v_reuseFailAlloc_1726_; +goto v_reusejp_1724_; } -v_reusejp_1706_: +v_reusejp_1724_: { -lean_object* v___x_1708_; lean_object* v___x_1710_; -v___x_1708_ = lean_array_set(v_entries_1702_, v_j_1682_, v___x_1707_); -lean_dec(v_j_1682_); -if (v_isShared_1697_ == 0) -{ -lean_ctor_set(v___x_1696_, 0, v___x_1708_); -v___x_1710_ = v___x_1696_; -goto v_reusejp_1709_; -} -else -{ -lean_object* v_reuseFailAlloc_1711_; -v_reuseFailAlloc_1711_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1711_, 0, v___x_1708_); -v___x_1710_ = v_reuseFailAlloc_1711_; -goto v_reusejp_1709_; -} -v_reusejp_1709_: -{ -return v___x_1710_; -} -} -} -else -{ -lean_object* v_val_1713_; lean_object* v_fst_1714_; lean_object* v_snd_1715_; lean_object* v___x_1717_; uint8_t v_isShared_1718_; uint8_t v_isSharedCheck_1726_; -lean_dec_ref(v_newNode_1704_); -lean_del_object(v___x_1700_); -v_val_1713_ = lean_ctor_get(v___x_1705_, 0); -lean_inc(v_val_1713_); -lean_dec_ref(v___x_1705_); -v_fst_1714_ = lean_ctor_get(v_val_1713_, 0); -v_snd_1715_ = lean_ctor_get(v_val_1713_, 1); -v_isSharedCheck_1726_ = !lean_is_exclusive(v_val_1713_); -if (v_isSharedCheck_1726_ == 0) -{ -v___x_1717_ = v_val_1713_; -v_isShared_1718_ = v_isSharedCheck_1726_; -goto v_resetjp_1716_; -} -else -{ -lean_inc(v_snd_1715_); -lean_inc(v_fst_1714_); -lean_dec(v_val_1713_); -v___x_1717_ = lean_box(0); -v_isShared_1718_ = v_isSharedCheck_1726_; -goto v_resetjp_1716_; -} -v_resetjp_1716_: -{ -lean_object* v___x_1720_; -if (v_isShared_1718_ == 0) -{ -v___x_1720_ = v___x_1717_; -goto v_reusejp_1719_; -} -else -{ -lean_object* v_reuseFailAlloc_1725_; -v_reuseFailAlloc_1725_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1725_, 0, v_fst_1714_); -lean_ctor_set(v_reuseFailAlloc_1725_, 1, v_snd_1715_); -v___x_1720_ = v_reuseFailAlloc_1725_; -goto v_reusejp_1719_; -} -v_reusejp_1719_: -{ -lean_object* v___x_1721_; lean_object* v___x_1723_; -v___x_1721_ = lean_array_set(v_entries_1702_, v_j_1682_, v___x_1720_); -lean_dec(v_j_1682_); -if (v_isShared_1697_ == 0) -{ -lean_ctor_set(v___x_1696_, 0, v___x_1721_); -v___x_1723_ = v___x_1696_; -goto v_reusejp_1722_; -} -else -{ -lean_object* v_reuseFailAlloc_1724_; -v_reuseFailAlloc_1724_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1724_, 0, v___x_1721_); -v___x_1723_ = v_reuseFailAlloc_1724_; -goto v_reusejp_1722_; -} -v_reusejp_1722_: -{ -return v___x_1723_; +return v___x_1725_; } } } @@ -5723,2281 +5726,2281 @@ return v___x_1723_; } default: { -lean_dec(v_j_1682_); -return v_x_1674_; +lean_dec(v_j_1684_); +return v_x_1676_; } } } else { -lean_object* v_ks_1730_; lean_object* v_vs_1731_; lean_object* v___x_1733_; uint8_t v_isShared_1734_; uint8_t v_isSharedCheck_1745_; -v_ks_1730_ = lean_ctor_get(v_x_1674_, 0); -v_vs_1731_ = lean_ctor_get(v_x_1674_, 1); -v_isSharedCheck_1745_ = !lean_is_exclusive(v_x_1674_); -if (v_isSharedCheck_1745_ == 0) +lean_object* v_ks_1732_; lean_object* v_vs_1733_; lean_object* v___x_1735_; uint8_t v_isShared_1736_; uint8_t v_isSharedCheck_1747_; +v_ks_1732_ = lean_ctor_get(v_x_1676_, 0); +v_vs_1733_ = lean_ctor_get(v_x_1676_, 1); +v_isSharedCheck_1747_ = !lean_is_exclusive(v_x_1676_); +if (v_isSharedCheck_1747_ == 0) { -v___x_1733_ = v_x_1674_; -v_isShared_1734_ = v_isSharedCheck_1745_; -goto v_resetjp_1732_; +v___x_1735_ = v_x_1676_; +v_isShared_1736_ = v_isSharedCheck_1747_; +goto v_resetjp_1734_; } else { -lean_inc(v_vs_1731_); -lean_inc(v_ks_1730_); -lean_dec(v_x_1674_); -v___x_1733_ = lean_box(0); -v_isShared_1734_ = v_isSharedCheck_1745_; -goto v_resetjp_1732_; +lean_inc(v_vs_1733_); +lean_inc(v_ks_1732_); +lean_dec(v_x_1676_); +v___x_1735_ = lean_box(0); +v_isShared_1736_ = v_isSharedCheck_1747_; +goto v_resetjp_1734_; } -v_resetjp_1732_: -{ -lean_object* v___x_1735_; -v___x_1735_ = l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(v_ks_1730_, v_x_1676_); -if (lean_obj_tag(v___x_1735_) == 0) +v_resetjp_1734_: { lean_object* v___x_1737_; -if (v_isShared_1734_ == 0) +v___x_1737_ = l_Array_finIdxOf_x3f___at___00Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0_spec__1(v_ks_1732_, v_x_1678_); +if (lean_obj_tag(v___x_1737_) == 0) { -v___x_1737_ = v___x_1733_; -goto v_reusejp_1736_; +lean_object* v___x_1739_; +if (v_isShared_1736_ == 0) +{ +v___x_1739_ = v___x_1735_; +goto v_reusejp_1738_; } else { -lean_object* v_reuseFailAlloc_1738_; -v_reuseFailAlloc_1738_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1738_, 0, v_ks_1730_); -lean_ctor_set(v_reuseFailAlloc_1738_, 1, v_vs_1731_); -v___x_1737_ = v_reuseFailAlloc_1738_; -goto v_reusejp_1736_; +lean_object* v_reuseFailAlloc_1740_; +v_reuseFailAlloc_1740_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1740_, 0, v_ks_1732_); +lean_ctor_set(v_reuseFailAlloc_1740_, 1, v_vs_1733_); +v___x_1739_ = v_reuseFailAlloc_1740_; +goto v_reusejp_1738_; } -v_reusejp_1736_: +v_reusejp_1738_: { -return v___x_1737_; +return v___x_1739_; } } else { -lean_object* v_val_1739_; lean_object* v_keys_x27_1740_; lean_object* v_vals_x27_1741_; lean_object* v___x_1743_; -v_val_1739_ = lean_ctor_get(v___x_1735_, 0); -lean_inc(v_val_1739_); -lean_dec_ref(v___x_1735_); -lean_inc(v_val_1739_); -v_keys_x27_1740_ = l_Array_eraseIdx___redArg(v_ks_1730_, v_val_1739_); -v_vals_x27_1741_ = l_Array_eraseIdx___redArg(v_vs_1731_, v_val_1739_); -if (v_isShared_1734_ == 0) +lean_object* v_val_1741_; lean_object* v_keys_x27_1742_; lean_object* v_vals_x27_1743_; lean_object* v___x_1745_; +v_val_1741_ = lean_ctor_get(v___x_1737_, 0); +lean_inc(v_val_1741_); +lean_dec_ref(v___x_1737_); +lean_inc(v_val_1741_); +v_keys_x27_1742_ = l_Array_eraseIdx___redArg(v_ks_1732_, v_val_1741_); +v_vals_x27_1743_ = l_Array_eraseIdx___redArg(v_vs_1733_, v_val_1741_); +if (v_isShared_1736_ == 0) { -lean_ctor_set(v___x_1733_, 1, v_vals_x27_1741_); -lean_ctor_set(v___x_1733_, 0, v_keys_x27_1740_); -v___x_1743_ = v___x_1733_; -goto v_reusejp_1742_; +lean_ctor_set(v___x_1735_, 1, v_vals_x27_1743_); +lean_ctor_set(v___x_1735_, 0, v_keys_x27_1742_); +v___x_1745_ = v___x_1735_; +goto v_reusejp_1744_; } else { -lean_object* v_reuseFailAlloc_1744_; -v_reuseFailAlloc_1744_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1744_, 0, v_keys_x27_1740_); -lean_ctor_set(v_reuseFailAlloc_1744_, 1, v_vals_x27_1741_); -v___x_1743_ = v_reuseFailAlloc_1744_; -goto v_reusejp_1742_; +lean_object* v_reuseFailAlloc_1746_; +v_reuseFailAlloc_1746_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1746_, 0, v_keys_x27_1742_); +lean_ctor_set(v_reuseFailAlloc_1746_, 1, v_vals_x27_1743_); +v___x_1745_ = v_reuseFailAlloc_1746_; +goto v_reusejp_1744_; } -v_reusejp_1742_: +v_reusejp_1744_: { -return v___x_1743_; +return v___x_1745_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg___boxed(lean_object* v_x_1746_, lean_object* v_x_1747_, lean_object* v_x_1748_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg___boxed(lean_object* v_x_1748_, lean_object* v_x_1749_, lean_object* v_x_1750_){ _start: { -size_t v_x_202__boxed_1749_; lean_object* v_res_1750_; -v_x_202__boxed_1749_ = lean_unbox_usize(v_x_1747_); -lean_dec(v_x_1747_); -v_res_1750_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1746_, v_x_202__boxed_1749_, v_x_1748_); -lean_dec(v_x_1748_); -return v_res_1750_; +size_t v_x_202__boxed_1751_; lean_object* v_res_1752_; +v_x_202__boxed_1751_ = lean_unbox_usize(v_x_1749_); +lean_dec(v_x_1749_); +v_res_1752_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1748_, v_x_202__boxed_1751_, v_x_1750_); +lean_dec(v_x_1750_); +return v_res_1752_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(lean_object* v_x_1751_, lean_object* v_x_1752_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(lean_object* v_x_1753_, lean_object* v_x_1754_){ _start: { -uint64_t v___y_1754_; -if (lean_obj_tag(v_x_1752_) == 0) +uint64_t v___y_1756_; +if (lean_obj_tag(v_x_1754_) == 0) { -uint64_t v___x_1757_; -v___x_1757_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_1754_ = v___x_1757_; -goto v___jp_1753_; +uint64_t v___x_1759_; +v___x_1759_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_1756_ = v___x_1759_; +goto v___jp_1755_; } else { -uint64_t v_hash_1758_; -v_hash_1758_ = lean_ctor_get_uint64(v_x_1752_, sizeof(void*)*2); -v___y_1754_ = v_hash_1758_; -goto v___jp_1753_; +uint64_t v_hash_1760_; +v_hash_1760_ = lean_ctor_get_uint64(v_x_1754_, sizeof(void*)*2); +v___y_1756_ = v_hash_1760_; +goto v___jp_1755_; } -v___jp_1753_: +v___jp_1755_: { -size_t v_h_1755_; lean_object* v___x_1756_; -v_h_1755_ = lean_uint64_to_usize(v___y_1754_); -v___x_1756_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1751_, v_h_1755_, v_x_1752_); -return v___x_1756_; +size_t v_h_1757_; lean_object* v___x_1758_; +v_h_1757_ = lean_uint64_to_usize(v___y_1756_); +v___x_1758_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1753_, v_h_1757_, v_x_1754_); +return v___x_1758_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg___boxed(lean_object* v_x_1759_, lean_object* v_x_1760_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg___boxed(lean_object* v_x_1761_, lean_object* v_x_1762_){ _start: { -lean_object* v_res_1761_; -v_res_1761_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_x_1759_, v_x_1760_); -lean_dec(v_x_1760_); -return v_res_1761_; +lean_object* v_res_1763_; +v_res_1763_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_x_1761_, v_x_1762_); +lean_dec(v_x_1762_); +return v_res_1763_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_insert___redArg(lean_object* v_s_1762_, lean_object* v_v_1763_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_insert___redArg(lean_object* v_s_1764_, lean_object* v_v_1765_){ _start: { -lean_object* v_toOLeanEntry_1764_; lean_object* v_newEntries_1765_; lean_object* v_table_1766_; lean_object* v_declNames_1767_; lean_object* v_erased_1768_; lean_object* v___x_1770_; uint8_t v_isShared_1771_; uint8_t v_isSharedCheck_1781_; -v_toOLeanEntry_1764_ = lean_ctor_get(v_v_1763_, 0); -v_newEntries_1765_ = lean_ctor_get(v_s_1762_, 0); -v_table_1766_ = lean_ctor_get(v_s_1762_, 1); -v_declNames_1767_ = lean_ctor_get(v_s_1762_, 2); -v_erased_1768_ = lean_ctor_get(v_s_1762_, 3); -v_isSharedCheck_1781_ = !lean_is_exclusive(v_s_1762_); -if (v_isSharedCheck_1781_ == 0) +lean_object* v_toOLeanEntry_1766_; lean_object* v_newEntries_1767_; lean_object* v_table_1768_; lean_object* v_declNames_1769_; lean_object* v_erased_1770_; lean_object* v___x_1772_; uint8_t v_isShared_1773_; uint8_t v_isSharedCheck_1783_; +v_toOLeanEntry_1766_ = lean_ctor_get(v_v_1765_, 0); +v_newEntries_1767_ = lean_ctor_get(v_s_1764_, 0); +v_table_1768_ = lean_ctor_get(v_s_1764_, 1); +v_declNames_1769_ = lean_ctor_get(v_s_1764_, 2); +v_erased_1770_ = lean_ctor_get(v_s_1764_, 3); +v_isSharedCheck_1783_ = !lean_is_exclusive(v_s_1764_); +if (v_isSharedCheck_1783_ == 0) { -v___x_1770_ = v_s_1762_; -v_isShared_1771_ = v_isSharedCheck_1781_; -goto v_resetjp_1769_; +v___x_1772_ = v_s_1764_; +v_isShared_1773_ = v_isSharedCheck_1783_; +goto v_resetjp_1771_; } else { -lean_inc(v_erased_1768_); -lean_inc(v_declNames_1767_); -lean_inc(v_table_1766_); -lean_inc(v_newEntries_1765_); -lean_dec(v_s_1762_); -v___x_1770_ = lean_box(0); -v_isShared_1771_ = v_isSharedCheck_1781_; -goto v_resetjp_1769_; +lean_inc(v_erased_1770_); +lean_inc(v_declNames_1769_); +lean_inc(v_table_1768_); +lean_inc(v_newEntries_1767_); +lean_dec(v_s_1764_); +v___x_1772_ = lean_box(0); +v_isShared_1773_ = v_isSharedCheck_1783_; +goto v_resetjp_1771_; } -v_resetjp_1769_: +v_resetjp_1771_: { -lean_object* v_declName_1772_; lean_object* v___x_1773_; lean_object* v___x_1774_; lean_object* v___x_1775_; lean_object* v___x_1776_; lean_object* v___x_1777_; lean_object* v___x_1779_; -v_declName_1772_ = lean_ctor_get(v_toOLeanEntry_1764_, 1); -lean_inc(v_declName_1772_); -lean_inc_ref(v_toOLeanEntry_1764_); -v___x_1773_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_1773_, 0, v_toOLeanEntry_1764_); -lean_ctor_set(v___x_1773_, 1, v_newEntries_1765_); -v___x_1774_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v_table_1766_, v_v_1763_); -v___x_1775_ = lean_box(0); -lean_inc(v_declName_1772_); -v___x_1776_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_declNames_1767_, v_declName_1772_, v___x_1775_); -v___x_1777_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_erased_1768_, v_declName_1772_); -lean_dec(v_declName_1772_); -if (v_isShared_1771_ == 0) +lean_object* v_declName_1774_; lean_object* v___x_1775_; lean_object* v___x_1776_; lean_object* v___x_1777_; lean_object* v___x_1778_; lean_object* v___x_1779_; lean_object* v___x_1781_; +v_declName_1774_ = lean_ctor_get(v_toOLeanEntry_1766_, 1); +lean_inc(v_declName_1774_); +lean_inc_ref(v_toOLeanEntry_1766_); +v___x_1775_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_1775_, 0, v_toOLeanEntry_1766_); +lean_ctor_set(v___x_1775_, 1, v_newEntries_1767_); +v___x_1776_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v_table_1768_, v_v_1765_); +v___x_1777_ = lean_box(0); +lean_inc(v_declName_1774_); +v___x_1778_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_declNames_1769_, v_declName_1774_, v___x_1777_); +v___x_1779_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_erased_1770_, v_declName_1774_); +lean_dec(v_declName_1774_); +if (v_isShared_1773_ == 0) { -lean_ctor_set(v___x_1770_, 3, v___x_1777_); -lean_ctor_set(v___x_1770_, 2, v___x_1776_); -lean_ctor_set(v___x_1770_, 1, v___x_1774_); -lean_ctor_set(v___x_1770_, 0, v___x_1773_); -v___x_1779_ = v___x_1770_; -goto v_reusejp_1778_; +lean_ctor_set(v___x_1772_, 3, v___x_1779_); +lean_ctor_set(v___x_1772_, 2, v___x_1778_); +lean_ctor_set(v___x_1772_, 1, v___x_1776_); +lean_ctor_set(v___x_1772_, 0, v___x_1775_); +v___x_1781_ = v___x_1772_; +goto v_reusejp_1780_; } else { -lean_object* v_reuseFailAlloc_1780_; -v_reuseFailAlloc_1780_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_1780_, 0, v___x_1773_); -lean_ctor_set(v_reuseFailAlloc_1780_, 1, v___x_1774_); -lean_ctor_set(v_reuseFailAlloc_1780_, 2, v___x_1776_); -lean_ctor_set(v_reuseFailAlloc_1780_, 3, v___x_1777_); -v___x_1779_ = v_reuseFailAlloc_1780_; -goto v_reusejp_1778_; +lean_object* v_reuseFailAlloc_1782_; +v_reuseFailAlloc_1782_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_1782_, 0, v___x_1775_); +lean_ctor_set(v_reuseFailAlloc_1782_, 1, v___x_1776_); +lean_ctor_set(v_reuseFailAlloc_1782_, 2, v___x_1778_); +lean_ctor_set(v_reuseFailAlloc_1782_, 3, v___x_1779_); +v___x_1781_ = v_reuseFailAlloc_1782_; +goto v_reusejp_1780_; } -v_reusejp_1778_: +v_reusejp_1780_: { -return v___x_1779_; +return v___x_1781_; } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_insert(lean_object* v_00_u03b3_1782_, lean_object* v_s_1783_, lean_object* v_v_1784_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_insert(lean_object* v_00_u03b3_1784_, lean_object* v_s_1785_, lean_object* v_v_1786_){ _start: { -lean_object* v___x_1785_; -v___x_1785_ = l_Lean_KeyedDeclsAttribute_ExtensionState_insert___redArg(v_s_1783_, v_v_1784_); -return v___x_1785_; +lean_object* v___x_1787_; +v___x_1787_ = l_Lean_KeyedDeclsAttribute_ExtensionState_insert___redArg(v_s_1785_, v_v_1786_); +return v___x_1787_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0(lean_object* v_00_u03b2_1786_, lean_object* v_x_1787_, lean_object* v_x_1788_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0(lean_object* v_00_u03b2_1788_, lean_object* v_x_1789_, lean_object* v_x_1790_){ _start: { -lean_object* v___x_1789_; -v___x_1789_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_x_1787_, v_x_1788_); -return v___x_1789_; +lean_object* v___x_1791_; +v___x_1791_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_x_1789_, v_x_1790_); +return v___x_1791_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___boxed(lean_object* v_00_u03b2_1790_, lean_object* v_x_1791_, lean_object* v_x_1792_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___boxed(lean_object* v_00_u03b2_1792_, lean_object* v_x_1793_, lean_object* v_x_1794_){ _start: { -lean_object* v_res_1793_; -v_res_1793_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0(v_00_u03b2_1790_, v_x_1791_, v_x_1792_); -lean_dec(v_x_1792_); -return v_res_1793_; +lean_object* v_res_1795_; +v_res_1795_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0(v_00_u03b2_1792_, v_x_1793_, v_x_1794_); +lean_dec(v_x_1794_); +return v_res_1795_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0(lean_object* v_00_u03b2_1794_, lean_object* v_x_1795_, size_t v_x_1796_, lean_object* v_x_1797_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0(lean_object* v_00_u03b2_1796_, lean_object* v_x_1797_, size_t v_x_1798_, lean_object* v_x_1799_){ _start: { -lean_object* v___x_1798_; -v___x_1798_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1795_, v_x_1796_, v_x_1797_); -return v___x_1798_; +lean_object* v___x_1800_; +v___x_1800_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___redArg(v_x_1797_, v_x_1798_, v_x_1799_); +return v___x_1800_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1799_, lean_object* v_x_1800_, lean_object* v_x_1801_, lean_object* v_x_1802_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0___boxed(lean_object* v_00_u03b2_1801_, lean_object* v_x_1802_, lean_object* v_x_1803_, lean_object* v_x_1804_){ _start: { -size_t v_x_391__boxed_1803_; lean_object* v_res_1804_; -v_x_391__boxed_1803_ = lean_unbox_usize(v_x_1801_); -lean_dec(v_x_1801_); -v_res_1804_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0(v_00_u03b2_1799_, v_x_1800_, v_x_391__boxed_1803_, v_x_1802_); -lean_dec(v_x_1802_); -return v_res_1804_; +size_t v_x_391__boxed_1805_; lean_object* v_res_1806_; +v_x_391__boxed_1805_ = lean_unbox_usize(v_x_1803_); +lean_dec(v_x_1803_); +v_res_1806_ = l_Lean_PersistentHashMap_eraseAux___at___00Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0_spec__0(v_00_u03b2_1801_, v_x_1802_, v_x_391__boxed_1805_, v_x_1804_); +lean_dec(v_x_1804_); +return v_res_1806_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object* v_attr_1805_, lean_object* v_key_1806_, lean_object* v_declName_1807_, lean_object* v_value_1808_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object* v_attr_1807_, lean_object* v_key_1808_, lean_object* v_declName_1809_, lean_object* v_value_1810_){ _start: { -lean_object* v_tableRef_1810_; lean_object* v___x_1811_; lean_object* v___x_1812_; uint8_t v___x_1813_; lean_object* v___x_1814_; lean_object* v___x_1815_; lean_object* v___x_1816_; lean_object* v___x_1817_; -v_tableRef_1810_ = lean_ctor_get(v_attr_1805_, 1); -v___x_1811_ = lean_st_ref_take(v_tableRef_1810_); -v___x_1812_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1812_, 0, v_key_1806_); -lean_ctor_set(v___x_1812_, 1, v_declName_1807_); -v___x_1813_ = 1; -v___x_1814_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_1814_, 0, v___x_1812_); -lean_ctor_set(v___x_1814_, 1, v_value_1808_); -lean_ctor_set_uint8(v___x_1814_, sizeof(void*)*2, v___x_1813_); -v___x_1815_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v___x_1811_, v___x_1814_); -v___x_1816_ = lean_st_ref_set(v_tableRef_1810_, v___x_1815_); -v___x_1817_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1817_, 0, v___x_1816_); -return v___x_1817_; +lean_object* v_tableRef_1812_; lean_object* v___x_1813_; lean_object* v___x_1814_; uint8_t v___x_1815_; lean_object* v___x_1816_; lean_object* v___x_1817_; lean_object* v___x_1818_; lean_object* v___x_1819_; +v_tableRef_1812_ = lean_ctor_get(v_attr_1807_, 1); +v___x_1813_ = lean_st_ref_take(v_tableRef_1812_); +v___x_1814_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1814_, 0, v_key_1808_); +lean_ctor_set(v___x_1814_, 1, v_declName_1809_); +v___x_1815_ = 1; +v___x_1816_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_1816_, 0, v___x_1814_); +lean_ctor_set(v___x_1816_, 1, v_value_1810_); +lean_ctor_set_uint8(v___x_1816_, sizeof(void*)*2, v___x_1815_); +v___x_1817_ = l___private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert___redArg(v___x_1813_, v___x_1816_); +v___x_1818_ = lean_st_ref_set(v_tableRef_1812_, v___x_1817_); +v___x_1819_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1819_, 0, v___x_1818_); +return v___x_1819_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg___boxed(lean_object* v_attr_1818_, lean_object* v_key_1819_, lean_object* v_declName_1820_, lean_object* v_value_1821_, lean_object* v_a_1822_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg___boxed(lean_object* v_attr_1820_, lean_object* v_key_1821_, lean_object* v_declName_1822_, lean_object* v_value_1823_, lean_object* v_a_1824_){ _start: { -lean_object* v_res_1823_; -v_res_1823_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v_attr_1818_, v_key_1819_, v_declName_1820_, v_value_1821_); -lean_dec_ref(v_attr_1818_); -return v_res_1823_; +lean_object* v_res_1825_; +v_res_1825_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v_attr_1820_, v_key_1821_, v_declName_1822_, v_value_1823_); +lean_dec_ref(v_attr_1820_); +return v_res_1825_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin(lean_object* v_00_u03b3_1824_, lean_object* v_attr_1825_, lean_object* v_key_1826_, lean_object* v_declName_1827_, lean_object* v_value_1828_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin(lean_object* v_00_u03b3_1826_, lean_object* v_attr_1827_, lean_object* v_key_1828_, lean_object* v_declName_1829_, lean_object* v_value_1830_){ _start: { -lean_object* v___x_1830_; -v___x_1830_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v_attr_1825_, v_key_1826_, v_declName_1827_, v_value_1828_); -return v___x_1830_; +lean_object* v___x_1832_; +v___x_1832_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v_attr_1827_, v_key_1828_, v_declName_1829_, v_value_1830_); +return v___x_1832_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___boxed(lean_object* v_00_u03b3_1831_, lean_object* v_attr_1832_, lean_object* v_key_1833_, lean_object* v_declName_1834_, lean_object* v_value_1835_, lean_object* v_a_1836_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___boxed(lean_object* v_00_u03b3_1833_, lean_object* v_attr_1834_, lean_object* v_key_1835_, lean_object* v_declName_1836_, lean_object* v_value_1837_, lean_object* v_a_1838_){ _start: { -lean_object* v_res_1837_; -v_res_1837_ = l_Lean_KeyedDeclsAttribute_addBuiltin(v_00_u03b3_1831_, v_attr_1832_, v_key_1833_, v_declName_1834_, v_value_1835_); -lean_dec_ref(v_attr_1832_); -return v_res_1837_; +lean_object* v_res_1839_; +v_res_1839_ = l_Lean_KeyedDeclsAttribute_addBuiltin(v_00_u03b3_1833_, v_attr_1834_, v_key_1835_, v_declName_1836_, v_value_1837_); +lean_dec_ref(v_attr_1834_); +return v_res_1839_; } } -LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(lean_object* v_x_1838_, lean_object* v_x_1839_){ +LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(lean_object* v_x_1840_, lean_object* v_x_1841_){ _start: { -if (lean_obj_tag(v_x_1839_) == 0) +if (lean_obj_tag(v_x_1841_) == 0) { -return v_x_1838_; +return v_x_1840_; } else { -lean_object* v_head_1840_; lean_object* v_toOLeanEntry_1841_; lean_object* v_tail_1842_; lean_object* v_declName_1843_; lean_object* v___x_1844_; lean_object* v___x_1845_; -v_head_1840_ = lean_ctor_get(v_x_1839_, 0); -v_toOLeanEntry_1841_ = lean_ctor_get(v_head_1840_, 0); -lean_inc_ref(v_toOLeanEntry_1841_); -v_tail_1842_ = lean_ctor_get(v_x_1839_, 1); -lean_inc(v_tail_1842_); -lean_dec_ref(v_x_1839_); -v_declName_1843_ = lean_ctor_get(v_toOLeanEntry_1841_, 1); -lean_inc(v_declName_1843_); -lean_dec_ref(v_toOLeanEntry_1841_); -v___x_1844_ = lean_box(0); -v___x_1845_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_x_1838_, v_declName_1843_, v___x_1844_); -v_x_1838_ = v___x_1845_; -v_x_1839_ = v_tail_1842_; +lean_object* v_head_1842_; lean_object* v_toOLeanEntry_1843_; lean_object* v_tail_1844_; lean_object* v_declName_1845_; lean_object* v___x_1846_; lean_object* v___x_1847_; +v_head_1842_ = lean_ctor_get(v_x_1841_, 0); +v_toOLeanEntry_1843_ = lean_ctor_get(v_head_1842_, 0); +lean_inc_ref(v_toOLeanEntry_1843_); +v_tail_1844_ = lean_ctor_get(v_x_1841_, 1); +lean_inc(v_tail_1844_); +lean_dec_ref(v_x_1841_); +v_declName_1845_ = lean_ctor_get(v_toOLeanEntry_1843_, 1); +lean_inc(v_declName_1845_); +lean_dec_ref(v_toOLeanEntry_1843_); +v___x_1846_ = lean_box(0); +v___x_1847_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_x_1840_, v_declName_1845_, v___x_1846_); +v_x_1840_ = v___x_1847_; +v_x_1841_ = v_tail_1844_; goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0(lean_object* v_s_1847_, lean_object* v_x_1848_, lean_object* v_es_1849_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0(lean_object* v_s_1849_, lean_object* v_x_1850_, lean_object* v_es_1851_){ _start: { -lean_object* v___x_1850_; -v___x_1850_ = l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(v_s_1847_, v_es_1849_); -return v___x_1850_; +lean_object* v___x_1852_; +v___x_1852_ = l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(v_s_1849_, v_es_1851_); +return v___x_1852_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0___boxed(lean_object* v_s_1851_, lean_object* v_x_1852_, lean_object* v_es_1853_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0___boxed(lean_object* v_s_1853_, lean_object* v_x_1854_, lean_object* v_es_1855_){ _start: { -lean_object* v_res_1854_; -v_res_1854_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0(v_s_1851_, v_x_1852_, v_es_1853_); -lean_dec(v_x_1852_); -return v_res_1854_; +lean_object* v_res_1856_; +v_res_1856_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___lam__0(v_s_1853_, v_x_1854_, v_es_1855_); +lean_dec(v_x_1854_); +return v_res_1856_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(lean_object* v_f_1855_, lean_object* v_x_1856_, lean_object* v_x_1857_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(lean_object* v_f_1857_, lean_object* v_x_1858_, lean_object* v_x_1859_){ _start: { -if (lean_obj_tag(v_x_1857_) == 0) +if (lean_obj_tag(v_x_1859_) == 0) { -lean_dec(v_f_1855_); -return v_x_1856_; +lean_dec(v_f_1857_); +return v_x_1858_; } else { -lean_object* v_key_1858_; lean_object* v_value_1859_; lean_object* v_tail_1860_; lean_object* v___x_1861_; -v_key_1858_ = lean_ctor_get(v_x_1857_, 0); -lean_inc(v_key_1858_); -v_value_1859_ = lean_ctor_get(v_x_1857_, 1); -lean_inc(v_value_1859_); -v_tail_1860_ = lean_ctor_get(v_x_1857_, 2); -lean_inc(v_tail_1860_); -lean_dec_ref(v_x_1857_); -lean_inc(v_f_1855_); -v___x_1861_ = lean_apply_3(v_f_1855_, v_x_1856_, v_key_1858_, v_value_1859_); -v_x_1856_ = v___x_1861_; -v_x_1857_ = v_tail_1860_; +lean_object* v_key_1860_; lean_object* v_value_1861_; lean_object* v_tail_1862_; lean_object* v___x_1863_; +v_key_1860_ = lean_ctor_get(v_x_1859_, 0); +lean_inc(v_key_1860_); +v_value_1861_ = lean_ctor_get(v_x_1859_, 1); +lean_inc(v_value_1861_); +v_tail_1862_ = lean_ctor_get(v_x_1859_, 2); +lean_inc(v_tail_1862_); +lean_dec_ref(v_x_1859_); +lean_inc(v_f_1857_); +v___x_1863_ = lean_apply_3(v_f_1857_, v_x_1858_, v_key_1860_, v_value_1861_); +v_x_1858_ = v___x_1863_; +v_x_1859_ = v_tail_1862_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(lean_object* v_f_1863_, lean_object* v_as_1864_, size_t v_i_1865_, size_t v_stop_1866_, lean_object* v_b_1867_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(lean_object* v_f_1865_, lean_object* v_as_1866_, size_t v_i_1867_, size_t v_stop_1868_, lean_object* v_b_1869_){ _start: { -uint8_t v___x_1868_; -v___x_1868_ = lean_usize_dec_eq(v_i_1865_, v_stop_1866_); -if (v___x_1868_ == 0) +uint8_t v___x_1870_; +v___x_1870_ = lean_usize_dec_eq(v_i_1867_, v_stop_1868_); +if (v___x_1870_ == 0) { -lean_object* v___x_1869_; lean_object* v___x_1870_; size_t v___x_1871_; size_t v___x_1872_; -v___x_1869_ = lean_array_uget_borrowed(v_as_1864_, v_i_1865_); -lean_inc(v___x_1869_); -lean_inc(v_f_1863_); -v___x_1870_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(v_f_1863_, v_b_1867_, v___x_1869_); -v___x_1871_ = ((size_t)1ULL); -v___x_1872_ = lean_usize_add(v_i_1865_, v___x_1871_); -v_i_1865_ = v___x_1872_; -v_b_1867_ = v___x_1870_; +lean_object* v___x_1871_; lean_object* v___x_1872_; size_t v___x_1873_; size_t v___x_1874_; +v___x_1871_ = lean_array_uget_borrowed(v_as_1866_, v_i_1867_); +lean_inc(v___x_1871_); +lean_inc(v_f_1865_); +v___x_1872_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(v_f_1865_, v_b_1869_, v___x_1871_); +v___x_1873_ = ((size_t)1ULL); +v___x_1874_ = lean_usize_add(v_i_1867_, v___x_1873_); +v_i_1867_ = v___x_1874_; +v_b_1869_ = v___x_1872_; goto _start; } else { -lean_dec(v_f_1863_); -return v_b_1867_; +lean_dec(v_f_1865_); +return v_b_1869_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg___boxed(lean_object* v_f_1874_, lean_object* v_as_1875_, lean_object* v_i_1876_, lean_object* v_stop_1877_, lean_object* v_b_1878_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg___boxed(lean_object* v_f_1876_, lean_object* v_as_1877_, lean_object* v_i_1878_, lean_object* v_stop_1879_, lean_object* v_b_1880_){ _start: { -size_t v_i_boxed_1879_; size_t v_stop_boxed_1880_; lean_object* v_res_1881_; -v_i_boxed_1879_ = lean_unbox_usize(v_i_1876_); -lean_dec(v_i_1876_); -v_stop_boxed_1880_ = lean_unbox_usize(v_stop_1877_); -lean_dec(v_stop_1877_); -v_res_1881_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1874_, v_as_1875_, v_i_boxed_1879_, v_stop_boxed_1880_, v_b_1878_); -lean_dec_ref(v_as_1875_); -return v_res_1881_; +size_t v_i_boxed_1881_; size_t v_stop_boxed_1882_; lean_object* v_res_1883_; +v_i_boxed_1881_ = lean_unbox_usize(v_i_1878_); +lean_dec(v_i_1878_); +v_stop_boxed_1882_ = lean_unbox_usize(v_stop_1879_); +lean_dec(v_stop_1879_); +v_res_1883_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1876_, v_as_1877_, v_i_boxed_1881_, v_stop_boxed_1882_, v_b_1880_); +lean_dec_ref(v_as_1877_); +return v_res_1883_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___lam__0(lean_object* v_f_1882_, lean_object* v_x1_1883_, lean_object* v_x2_1884_, lean_object* v_x3_1885_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___lam__0(lean_object* v_f_1884_, lean_object* v_x1_1885_, lean_object* v_x2_1886_, lean_object* v_x3_1887_){ _start: { -lean_object* v___x_1886_; -v___x_1886_ = lean_apply_3(v_f_1882_, v_x1_1883_, v_x2_1884_, v_x3_1885_); -return v___x_1886_; +lean_object* v___x_1888_; +v___x_1888_ = lean_apply_3(v_f_1884_, v_x1_1885_, v_x2_1886_, v_x3_1887_); +return v___x_1888_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(lean_object* v_f_1887_, lean_object* v_keys_1888_, lean_object* v_vals_1889_, lean_object* v_i_1890_, lean_object* v_acc_1891_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(lean_object* v_f_1889_, lean_object* v_keys_1890_, lean_object* v_vals_1891_, lean_object* v_i_1892_, lean_object* v_acc_1893_){ _start: { -lean_object* v___x_1892_; uint8_t v___x_1893_; -v___x_1892_ = lean_array_get_size(v_keys_1888_); -v___x_1893_ = lean_nat_dec_lt(v_i_1890_, v___x_1892_); -if (v___x_1893_ == 0) +lean_object* v___x_1894_; uint8_t v___x_1895_; +v___x_1894_ = lean_array_get_size(v_keys_1890_); +v___x_1895_ = lean_nat_dec_lt(v_i_1892_, v___x_1894_); +if (v___x_1895_ == 0) { -lean_dec(v_i_1890_); -lean_dec(v_f_1887_); -return v_acc_1891_; +lean_dec(v_i_1892_); +lean_dec(v_f_1889_); +return v_acc_1893_; } else { -lean_object* v_k_1894_; lean_object* v_v_1895_; lean_object* v___x_1896_; lean_object* v___x_1897_; lean_object* v___x_1898_; -v_k_1894_ = lean_array_fget_borrowed(v_keys_1888_, v_i_1890_); -v_v_1895_ = lean_array_fget_borrowed(v_vals_1889_, v_i_1890_); -lean_inc(v_f_1887_); -lean_inc(v_v_1895_); -lean_inc(v_k_1894_); -v___x_1896_ = lean_apply_3(v_f_1887_, v_acc_1891_, v_k_1894_, v_v_1895_); -v___x_1897_ = lean_unsigned_to_nat(1u); -v___x_1898_ = lean_nat_add(v_i_1890_, v___x_1897_); -lean_dec(v_i_1890_); -v_i_1890_ = v___x_1898_; -v_acc_1891_ = v___x_1896_; +lean_object* v_k_1896_; lean_object* v_v_1897_; lean_object* v___x_1898_; lean_object* v___x_1899_; lean_object* v___x_1900_; +v_k_1896_ = lean_array_fget_borrowed(v_keys_1890_, v_i_1892_); +v_v_1897_ = lean_array_fget_borrowed(v_vals_1891_, v_i_1892_); +lean_inc(v_f_1889_); +lean_inc(v_v_1897_); +lean_inc(v_k_1896_); +v___x_1898_ = lean_apply_3(v_f_1889_, v_acc_1893_, v_k_1896_, v_v_1897_); +v___x_1899_ = lean_unsigned_to_nat(1u); +v___x_1900_ = lean_nat_add(v_i_1892_, v___x_1899_); +lean_dec(v_i_1892_); +v_i_1892_ = v___x_1900_; +v_acc_1893_ = v___x_1898_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg___boxed(lean_object* v_f_1900_, lean_object* v_keys_1901_, lean_object* v_vals_1902_, lean_object* v_i_1903_, lean_object* v_acc_1904_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg___boxed(lean_object* v_f_1902_, lean_object* v_keys_1903_, lean_object* v_vals_1904_, lean_object* v_i_1905_, lean_object* v_acc_1906_){ _start: { -lean_object* v_res_1905_; -v_res_1905_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_1900_, v_keys_1901_, v_vals_1902_, v_i_1903_, v_acc_1904_); -lean_dec_ref(v_vals_1902_); -lean_dec_ref(v_keys_1901_); -return v_res_1905_; +lean_object* v_res_1907_; +v_res_1907_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_1902_, v_keys_1903_, v_vals_1904_, v_i_1905_, v_acc_1906_); +lean_dec_ref(v_vals_1904_); +lean_dec_ref(v_keys_1903_); +return v_res_1907_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(lean_object* v_f_1906_, lean_object* v_x_1907_, lean_object* v_x_1908_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(lean_object* v_f_1908_, lean_object* v_x_1909_, lean_object* v_x_1910_){ _start: { -if (lean_obj_tag(v_x_1907_) == 0) +if (lean_obj_tag(v_x_1909_) == 0) { -lean_object* v_es_1909_; lean_object* v___x_1910_; lean_object* v___x_1911_; uint8_t v___x_1912_; -v_es_1909_ = lean_ctor_get(v_x_1907_, 0); -v___x_1910_ = lean_unsigned_to_nat(0u); -v___x_1911_ = lean_array_get_size(v_es_1909_); -v___x_1912_ = lean_nat_dec_lt(v___x_1910_, v___x_1911_); -if (v___x_1912_ == 0) +lean_object* v_es_1911_; lean_object* v___x_1912_; lean_object* v___x_1913_; uint8_t v___x_1914_; +v_es_1911_ = lean_ctor_get(v_x_1909_, 0); +v___x_1912_ = lean_unsigned_to_nat(0u); +v___x_1913_ = lean_array_get_size(v_es_1911_); +v___x_1914_ = lean_nat_dec_lt(v___x_1912_, v___x_1913_); +if (v___x_1914_ == 0) { -lean_dec(v_f_1906_); -return v_x_1908_; +lean_dec(v_f_1908_); +return v_x_1910_; } else { -uint8_t v___x_1913_; -v___x_1913_ = lean_nat_dec_le(v___x_1911_, v___x_1911_); -if (v___x_1913_ == 0) +uint8_t v___x_1915_; +v___x_1915_ = lean_nat_dec_le(v___x_1913_, v___x_1913_); +if (v___x_1915_ == 0) { -if (v___x_1912_ == 0) +if (v___x_1914_ == 0) { -lean_dec(v_f_1906_); -return v_x_1908_; +lean_dec(v_f_1908_); +return v_x_1910_; } else { -size_t v___x_1914_; size_t v___x_1915_; lean_object* v___x_1916_; -v___x_1914_ = ((size_t)0ULL); -v___x_1915_ = lean_usize_of_nat(v___x_1911_); -v___x_1916_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1906_, v_es_1909_, v___x_1914_, v___x_1915_, v_x_1908_); -return v___x_1916_; +size_t v___x_1916_; size_t v___x_1917_; lean_object* v___x_1918_; +v___x_1916_ = ((size_t)0ULL); +v___x_1917_ = lean_usize_of_nat(v___x_1913_); +v___x_1918_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1908_, v_es_1911_, v___x_1916_, v___x_1917_, v_x_1910_); +return v___x_1918_; } } else { -size_t v___x_1917_; size_t v___x_1918_; lean_object* v___x_1919_; -v___x_1917_ = ((size_t)0ULL); -v___x_1918_ = lean_usize_of_nat(v___x_1911_); -v___x_1919_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1906_, v_es_1909_, v___x_1917_, v___x_1918_, v_x_1908_); -return v___x_1919_; +size_t v___x_1919_; size_t v___x_1920_; lean_object* v___x_1921_; +v___x_1919_ = ((size_t)0ULL); +v___x_1920_ = lean_usize_of_nat(v___x_1913_); +v___x_1921_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1908_, v_es_1911_, v___x_1919_, v___x_1920_, v_x_1910_); +return v___x_1921_; } } } else { -lean_object* v_ks_1920_; lean_object* v_vs_1921_; lean_object* v___x_1922_; lean_object* v___x_1923_; -v_ks_1920_ = lean_ctor_get(v_x_1907_, 0); -v_vs_1921_ = lean_ctor_get(v_x_1907_, 1); -v___x_1922_ = lean_unsigned_to_nat(0u); -v___x_1923_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_1906_, v_ks_1920_, v_vs_1921_, v___x_1922_, v_x_1908_); -return v___x_1923_; +lean_object* v_ks_1922_; lean_object* v_vs_1923_; lean_object* v___x_1924_; lean_object* v___x_1925_; +v_ks_1922_ = lean_ctor_get(v_x_1909_, 0); +v_vs_1923_ = lean_ctor_get(v_x_1909_, 1); +v___x_1924_ = lean_unsigned_to_nat(0u); +v___x_1925_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_1908_, v_ks_1922_, v_vs_1923_, v___x_1924_, v_x_1910_); +return v___x_1925_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(lean_object* v_f_1924_, lean_object* v_as_1925_, size_t v_i_1926_, size_t v_stop_1927_, lean_object* v_b_1928_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(lean_object* v_f_1926_, lean_object* v_as_1927_, size_t v_i_1928_, size_t v_stop_1929_, lean_object* v_b_1930_){ _start: { -lean_object* v___y_1930_; uint8_t v___x_1934_; -v___x_1934_ = lean_usize_dec_eq(v_i_1926_, v_stop_1927_); -if (v___x_1934_ == 0) +lean_object* v___y_1932_; uint8_t v___x_1936_; +v___x_1936_ = lean_usize_dec_eq(v_i_1928_, v_stop_1929_); +if (v___x_1936_ == 0) { -lean_object* v___x_1935_; -v___x_1935_ = lean_array_uget_borrowed(v_as_1925_, v_i_1926_); -switch(lean_obj_tag(v___x_1935_)) +lean_object* v___x_1937_; +v___x_1937_ = lean_array_uget_borrowed(v_as_1927_, v_i_1928_); +switch(lean_obj_tag(v___x_1937_)) { case 0: { -lean_object* v_key_1936_; lean_object* v_val_1937_; lean_object* v___x_1938_; -v_key_1936_ = lean_ctor_get(v___x_1935_, 0); -v_val_1937_ = lean_ctor_get(v___x_1935_, 1); -lean_inc(v_f_1924_); -lean_inc(v_val_1937_); -lean_inc(v_key_1936_); -v___x_1938_ = lean_apply_3(v_f_1924_, v_b_1928_, v_key_1936_, v_val_1937_); -v___y_1930_ = v___x_1938_; -goto v___jp_1929_; +lean_object* v_key_1938_; lean_object* v_val_1939_; lean_object* v___x_1940_; +v_key_1938_ = lean_ctor_get(v___x_1937_, 0); +v_val_1939_ = lean_ctor_get(v___x_1937_, 1); +lean_inc(v_f_1926_); +lean_inc(v_val_1939_); +lean_inc(v_key_1938_); +v___x_1940_ = lean_apply_3(v_f_1926_, v_b_1930_, v_key_1938_, v_val_1939_); +v___y_1932_ = v___x_1940_; +goto v___jp_1931_; } case 1: { -lean_object* v_node_1939_; lean_object* v___x_1940_; -v_node_1939_ = lean_ctor_get(v___x_1935_, 0); -lean_inc(v_f_1924_); -v___x_1940_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_1924_, v_node_1939_, v_b_1928_); -v___y_1930_ = v___x_1940_; -goto v___jp_1929_; +lean_object* v_node_1941_; lean_object* v___x_1942_; +v_node_1941_ = lean_ctor_get(v___x_1937_, 0); +lean_inc(v_f_1926_); +v___x_1942_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_1926_, v_node_1941_, v_b_1930_); +v___y_1932_ = v___x_1942_; +goto v___jp_1931_; } default: { -v___y_1930_ = v_b_1928_; -goto v___jp_1929_; +v___y_1932_ = v_b_1930_; +goto v___jp_1931_; } } } else { -lean_dec(v_f_1924_); -return v_b_1928_; +lean_dec(v_f_1926_); +return v_b_1930_; } -v___jp_1929_: +v___jp_1931_: { -size_t v___x_1931_; size_t v___x_1932_; -v___x_1931_ = ((size_t)1ULL); -v___x_1932_ = lean_usize_add(v_i_1926_, v___x_1931_); -v_i_1926_ = v___x_1932_; -v_b_1928_ = v___y_1930_; +size_t v___x_1933_; size_t v___x_1934_; +v___x_1933_ = ((size_t)1ULL); +v___x_1934_ = lean_usize_add(v_i_1928_, v___x_1933_); +v_i_1928_ = v___x_1934_; +v_b_1930_ = v___y_1932_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg___boxed(lean_object* v_f_1941_, lean_object* v_as_1942_, lean_object* v_i_1943_, lean_object* v_stop_1944_, lean_object* v_b_1945_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg___boxed(lean_object* v_f_1943_, lean_object* v_as_1944_, lean_object* v_i_1945_, lean_object* v_stop_1946_, lean_object* v_b_1947_){ _start: { -size_t v_i_boxed_1946_; size_t v_stop_boxed_1947_; lean_object* v_res_1948_; -v_i_boxed_1946_ = lean_unbox_usize(v_i_1943_); -lean_dec(v_i_1943_); -v_stop_boxed_1947_ = lean_unbox_usize(v_stop_1944_); -lean_dec(v_stop_1944_); -v_res_1948_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1941_, v_as_1942_, v_i_boxed_1946_, v_stop_boxed_1947_, v_b_1945_); -lean_dec_ref(v_as_1942_); -return v_res_1948_; +size_t v_i_boxed_1948_; size_t v_stop_boxed_1949_; lean_object* v_res_1950_; +v_i_boxed_1948_ = lean_unbox_usize(v_i_1945_); +lean_dec(v_i_1945_); +v_stop_boxed_1949_ = lean_unbox_usize(v_stop_1946_); +lean_dec(v_stop_1946_); +v_res_1950_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_1943_, v_as_1944_, v_i_boxed_1948_, v_stop_boxed_1949_, v_b_1947_); +lean_dec_ref(v_as_1944_); +return v_res_1950_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg___boxed(lean_object* v_f_1949_, lean_object* v_x_1950_, lean_object* v_x_1951_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg___boxed(lean_object* v_f_1951_, lean_object* v_x_1952_, lean_object* v_x_1953_){ _start: { -lean_object* v_res_1952_; -v_res_1952_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_1949_, v_x_1950_, v_x_1951_); -lean_dec_ref(v_x_1950_); -return v_res_1952_; +lean_object* v_res_1954_; +v_res_1954_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_1951_, v_x_1952_, v_x_1953_); +lean_dec_ref(v_x_1952_); +return v_res_1954_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(lean_object* v_map_1953_, lean_object* v_f_1954_, lean_object* v_init_1955_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(lean_object* v_map_1955_, lean_object* v_f_1956_, lean_object* v_init_1957_){ _start: { -lean_object* v___f_1956_; lean_object* v___x_1957_; -v___f_1956_ = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___lam__0), 4, 1); -lean_closure_set(v___f_1956_, 0, v_f_1954_); -v___x_1957_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v___f_1956_, v_map_1953_, v_init_1955_); -return v___x_1957_; +lean_object* v___f_1958_; lean_object* v___x_1959_; +v___f_1958_ = lean_alloc_closure((void*)(l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___lam__0), 4, 1); +lean_closure_set(v___f_1958_, 0, v_f_1956_); +v___x_1959_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v___f_1958_, v_map_1955_, v_init_1957_); +return v___x_1959_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___boxed(lean_object* v_map_1958_, lean_object* v_f_1959_, lean_object* v_init_1960_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg___boxed(lean_object* v_map_1960_, lean_object* v_f_1961_, lean_object* v_init_1962_){ _start: { -lean_object* v_res_1961_; -v_res_1961_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_1958_, v_f_1959_, v_init_1960_); -lean_dec_ref(v_map_1958_); -return v_res_1961_; +lean_object* v_res_1963_; +v_res_1963_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_1960_, v_f_1961_, v_init_1962_); +lean_dec_ref(v_map_1960_); +return v_res_1963_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(lean_object* v_f_1962_, lean_object* v_init_1963_, lean_object* v_m_1964_){ +LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(lean_object* v_f_1964_, lean_object* v_init_1965_, lean_object* v_m_1966_){ _start: { -lean_object* v_map_u2081_1965_; lean_object* v_map_u2082_1966_; lean_object* v_buckets_1967_; lean_object* v___x_1968_; lean_object* v___x_1969_; uint8_t v___x_1970_; -v_map_u2081_1965_ = lean_ctor_get(v_m_1964_, 0); -v_map_u2082_1966_ = lean_ctor_get(v_m_1964_, 1); -v_buckets_1967_ = lean_ctor_get(v_map_u2081_1965_, 1); -v___x_1968_ = lean_unsigned_to_nat(0u); -v___x_1969_ = lean_array_get_size(v_buckets_1967_); -v___x_1970_ = lean_nat_dec_lt(v___x_1968_, v___x_1969_); -if (v___x_1970_ == 0) -{ -lean_object* v___x_1971_; -v___x_1971_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1966_, v_f_1962_, v_init_1963_); -return v___x_1971_; -} -else -{ -uint8_t v___x_1972_; -v___x_1972_ = lean_nat_dec_le(v___x_1969_, v___x_1969_); +lean_object* v_map_u2081_1967_; lean_object* v_map_u2082_1968_; lean_object* v_buckets_1969_; lean_object* v___x_1970_; lean_object* v___x_1971_; uint8_t v___x_1972_; +v_map_u2081_1967_ = lean_ctor_get(v_m_1966_, 0); +v_map_u2082_1968_ = lean_ctor_get(v_m_1966_, 1); +v_buckets_1969_ = lean_ctor_get(v_map_u2081_1967_, 1); +v___x_1970_ = lean_unsigned_to_nat(0u); +v___x_1971_ = lean_array_get_size(v_buckets_1969_); +v___x_1972_ = lean_nat_dec_lt(v___x_1970_, v___x_1971_); if (v___x_1972_ == 0) { -if (v___x_1970_ == 0) -{ lean_object* v___x_1973_; -v___x_1973_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1966_, v_f_1962_, v_init_1963_); +v___x_1973_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1968_, v_f_1964_, v_init_1965_); return v___x_1973_; } else { -size_t v___x_1974_; size_t v___x_1975_; lean_object* v___x_1976_; lean_object* v___x_1977_; -v___x_1974_ = ((size_t)0ULL); -v___x_1975_ = lean_usize_of_nat(v___x_1969_); -lean_inc(v_f_1962_); -v___x_1976_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1962_, v_buckets_1967_, v___x_1974_, v___x_1975_, v_init_1963_); -v___x_1977_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1966_, v_f_1962_, v___x_1976_); -return v___x_1977_; +uint8_t v___x_1974_; +v___x_1974_ = lean_nat_dec_le(v___x_1971_, v___x_1971_); +if (v___x_1974_ == 0) +{ +if (v___x_1972_ == 0) +{ +lean_object* v___x_1975_; +v___x_1975_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1968_, v_f_1964_, v_init_1965_); +return v___x_1975_; +} +else +{ +size_t v___x_1976_; size_t v___x_1977_; lean_object* v___x_1978_; lean_object* v___x_1979_; +v___x_1976_ = ((size_t)0ULL); +v___x_1977_ = lean_usize_of_nat(v___x_1971_); +lean_inc(v_f_1964_); +v___x_1978_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1964_, v_buckets_1969_, v___x_1976_, v___x_1977_, v_init_1965_); +v___x_1979_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1968_, v_f_1964_, v___x_1978_); +return v___x_1979_; } } else { -size_t v___x_1978_; size_t v___x_1979_; lean_object* v___x_1980_; lean_object* v___x_1981_; -v___x_1978_ = ((size_t)0ULL); -v___x_1979_ = lean_usize_of_nat(v___x_1969_); -lean_inc(v_f_1962_); -v___x_1980_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1962_, v_buckets_1967_, v___x_1978_, v___x_1979_, v_init_1963_); -v___x_1981_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1966_, v_f_1962_, v___x_1980_); -return v___x_1981_; +size_t v___x_1980_; size_t v___x_1981_; lean_object* v___x_1982_; lean_object* v___x_1983_; +v___x_1980_ = ((size_t)0ULL); +v___x_1981_ = lean_usize_of_nat(v___x_1971_); +lean_inc(v_f_1964_); +v___x_1982_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_1964_, v_buckets_1969_, v___x_1980_, v___x_1981_, v_init_1965_); +v___x_1983_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_u2082_1968_, v_f_1964_, v___x_1982_); +return v___x_1983_; } } } } -LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg___boxed(lean_object* v_f_1982_, lean_object* v_init_1983_, lean_object* v_m_1984_){ +LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg___boxed(lean_object* v_f_1984_, lean_object* v_init_1985_, lean_object* v_m_1986_){ _start: { -lean_object* v_res_1985_; -v_res_1985_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v_f_1982_, v_init_1983_, v_m_1984_); -lean_dec_ref(v_m_1984_); -return v_res_1985_; +lean_object* v_res_1987_; +v_res_1987_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v_f_1984_, v_init_1985_, v_m_1986_); +lean_dec_ref(v_m_1986_); +return v_res_1987_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(lean_object* v_table_1987_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(lean_object* v_table_1989_){ _start: { -lean_object* v___f_1988_; lean_object* v___x_1989_; lean_object* v___x_1990_; lean_object* v___x_1991_; lean_object* v___x_1992_; -v___f_1988_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___closed__0)); -v___x_1989_ = lean_box(0); -v___x_1990_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5); -v___x_1991_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v___f_1988_, v___x_1990_, v_table_1987_); -v___x_1992_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_1992_, 0, v___x_1989_); -lean_ctor_set(v___x_1992_, 1, v_table_1987_); -lean_ctor_set(v___x_1992_, 2, v___x_1991_); -lean_ctor_set(v___x_1992_, 3, v___x_1990_); -return v___x_1992_; +lean_object* v___f_1990_; lean_object* v___x_1991_; lean_object* v___x_1992_; lean_object* v___x_1993_; lean_object* v___x_1994_; +v___f_1990_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg___closed__0)); +v___x_1991_ = lean_box(0); +v___x_1992_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__5); +v___x_1993_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v___f_1990_, v___x_1992_, v_table_1989_); +v___x_1994_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_1994_, 0, v___x_1991_); +lean_ctor_set(v___x_1994_, 1, v_table_1989_); +lean_ctor_set(v___x_1994_, 2, v___x_1993_); +lean_ctor_set(v___x_1994_, 3, v___x_1992_); +return v___x_1994_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable(lean_object* v_00_u03b3_1993_, lean_object* v_table_1994_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_mkStateOfTable(lean_object* v_00_u03b3_1995_, lean_object* v_table_1996_){ _start: { -lean_object* v___x_1995_; -v___x_1995_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(v_table_1994_); -return v___x_1995_; +lean_object* v___x_1997_; +v___x_1997_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(v_table_1996_); +return v___x_1997_; } } -LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0(lean_object* v_00_u03b3_1996_, lean_object* v_x_1997_, lean_object* v_x_1998_){ +LEAN_EXPORT lean_object* l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0(lean_object* v_00_u03b3_1998_, lean_object* v_x_1999_, lean_object* v_x_2000_){ _start: { -lean_object* v___x_1999_; -v___x_1999_ = l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(v_x_1997_, v_x_1998_); -return v___x_1999_; +lean_object* v___x_2001_; +v___x_2001_ = l_List_foldl___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__0___redArg(v_x_1999_, v_x_2000_); +return v___x_2001_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1(lean_object* v_00_u03b2_2000_, lean_object* v_00_u03c3_2001_, lean_object* v_f_2002_, lean_object* v_init_2003_, lean_object* v_m_2004_){ +LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1(lean_object* v_00_u03b2_2002_, lean_object* v_00_u03c3_2003_, lean_object* v_f_2004_, lean_object* v_init_2005_, lean_object* v_m_2006_){ _start: { -lean_object* v___x_2005_; -v___x_2005_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v_f_2002_, v_init_2003_, v_m_2004_); -return v___x_2005_; +lean_object* v___x_2007_; +v___x_2007_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___redArg(v_f_2004_, v_init_2005_, v_m_2006_); +return v___x_2007_; } } -LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___boxed(lean_object* v_00_u03b2_2006_, lean_object* v_00_u03c3_2007_, lean_object* v_f_2008_, lean_object* v_init_2009_, lean_object* v_m_2010_){ +LEAN_EXPORT lean_object* l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1___boxed(lean_object* v_00_u03b2_2008_, lean_object* v_00_u03c3_2009_, lean_object* v_f_2010_, lean_object* v_init_2011_, lean_object* v_m_2012_){ _start: { -lean_object* v_res_2011_; -v_res_2011_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1(v_00_u03b2_2006_, v_00_u03c3_2007_, v_f_2008_, v_init_2009_, v_m_2010_); -lean_dec_ref(v_m_2010_); -return v_res_2011_; +lean_object* v_res_2013_; +v_res_2013_ = l_Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1(v_00_u03b2_2008_, v_00_u03c3_2009_, v_f_2010_, v_init_2011_, v_m_2012_); +lean_dec_ref(v_m_2012_); +return v_res_2013_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1(lean_object* v_00_u03b2_2012_, lean_object* v_00_u03c3_2013_, lean_object* v_f_2014_, lean_object* v_x_2015_, lean_object* v_x_2016_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1(lean_object* v_00_u03b2_2014_, lean_object* v_00_u03c3_2015_, lean_object* v_f_2016_, lean_object* v_x_2017_, lean_object* v_x_2018_){ _start: { -lean_object* v___x_2017_; -v___x_2017_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(v_f_2014_, v_x_2015_, v_x_2016_); -return v___x_2017_; +lean_object* v___x_2019_; +v___x_2019_ = l_Std_DHashMap_Internal_AssocList_foldlM___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__1___redArg(v_f_2016_, v_x_2017_, v_x_2018_); +return v___x_2019_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2(lean_object* v_00_u03c3_2018_, lean_object* v_00_u03b2_2019_, lean_object* v_map_2020_, lean_object* v_f_2021_, lean_object* v_init_2022_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2(lean_object* v_00_u03c3_2020_, lean_object* v_00_u03b2_2021_, lean_object* v_map_2022_, lean_object* v_f_2023_, lean_object* v_init_2024_){ _start: { -lean_object* v___x_2023_; -v___x_2023_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_2020_, v_f_2021_, v_init_2022_); -return v___x_2023_; +lean_object* v___x_2025_; +v___x_2025_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___redArg(v_map_2022_, v_f_2023_, v_init_2024_); +return v___x_2025_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___boxed(lean_object* v_00_u03c3_2024_, lean_object* v_00_u03b2_2025_, lean_object* v_map_2026_, lean_object* v_f_2027_, lean_object* v_init_2028_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2___boxed(lean_object* v_00_u03c3_2026_, lean_object* v_00_u03b2_2027_, lean_object* v_map_2028_, lean_object* v_f_2029_, lean_object* v_init_2030_){ _start: { -lean_object* v_res_2029_; -v_res_2029_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2(v_00_u03c3_2024_, v_00_u03b2_2025_, v_map_2026_, v_f_2027_, v_init_2028_); -lean_dec_ref(v_map_2026_); -return v_res_2029_; +lean_object* v_res_2031_; +v_res_2031_ = l_Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2(v_00_u03c3_2026_, v_00_u03b2_2027_, v_map_2028_, v_f_2029_, v_init_2030_); +lean_dec_ref(v_map_2028_); +return v_res_2031_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3(lean_object* v_00_u03b2_2030_, lean_object* v_00_u03c3_2031_, lean_object* v_f_2032_, lean_object* v_as_2033_, size_t v_i_2034_, size_t v_stop_2035_, lean_object* v_b_2036_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3(lean_object* v_00_u03b2_2032_, lean_object* v_00_u03c3_2033_, lean_object* v_f_2034_, lean_object* v_as_2035_, size_t v_i_2036_, size_t v_stop_2037_, lean_object* v_b_2038_){ _start: { -lean_object* v___x_2037_; -v___x_2037_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_2032_, v_as_2033_, v_i_2034_, v_stop_2035_, v_b_2036_); -return v___x_2037_; +lean_object* v___x_2039_; +v___x_2039_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___redArg(v_f_2034_, v_as_2035_, v_i_2036_, v_stop_2037_, v_b_2038_); +return v___x_2039_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___boxed(lean_object* v_00_u03b2_2038_, lean_object* v_00_u03c3_2039_, lean_object* v_f_2040_, lean_object* v_as_2041_, lean_object* v_i_2042_, lean_object* v_stop_2043_, lean_object* v_b_2044_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3___boxed(lean_object* v_00_u03b2_2040_, lean_object* v_00_u03c3_2041_, lean_object* v_f_2042_, lean_object* v_as_2043_, lean_object* v_i_2044_, lean_object* v_stop_2045_, lean_object* v_b_2046_){ _start: { -size_t v_i_boxed_2045_; size_t v_stop_boxed_2046_; lean_object* v_res_2047_; -v_i_boxed_2045_ = lean_unbox_usize(v_i_2042_); -lean_dec(v_i_2042_); -v_stop_boxed_2046_ = lean_unbox_usize(v_stop_2043_); -lean_dec(v_stop_2043_); -v_res_2047_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3(v_00_u03b2_2038_, v_00_u03c3_2039_, v_f_2040_, v_as_2041_, v_i_boxed_2045_, v_stop_boxed_2046_, v_b_2044_); -lean_dec_ref(v_as_2041_); -return v_res_2047_; +size_t v_i_boxed_2047_; size_t v_stop_boxed_2048_; lean_object* v_res_2049_; +v_i_boxed_2047_ = lean_unbox_usize(v_i_2044_); +lean_dec(v_i_2044_); +v_stop_boxed_2048_ = lean_unbox_usize(v_stop_2045_); +lean_dec(v_stop_2045_); +v_res_2049_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__3(v_00_u03b2_2040_, v_00_u03c3_2041_, v_f_2042_, v_as_2043_, v_i_boxed_2047_, v_stop_boxed_2048_, v_b_2046_); +lean_dec_ref(v_as_2043_); +return v_res_2049_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg(lean_object* v_map_2048_, lean_object* v_f_2049_, lean_object* v_init_2050_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg(lean_object* v_map_2050_, lean_object* v_f_2051_, lean_object* v_init_2052_){ _start: { -lean_object* v___x_2051_; -v___x_2051_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2049_, v_map_2048_, v_init_2050_); -return v___x_2051_; +lean_object* v___x_2053_; +v___x_2053_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2051_, v_map_2050_, v_init_2052_); +return v___x_2053_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg___boxed(lean_object* v_map_2052_, lean_object* v_f_2053_, lean_object* v_init_2054_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg___boxed(lean_object* v_map_2054_, lean_object* v_f_2055_, lean_object* v_init_2056_){ _start: { -lean_object* v_res_2055_; -v_res_2055_ = l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg(v_map_2052_, v_f_2053_, v_init_2054_); -lean_dec_ref(v_map_2052_); -return v_res_2055_; +lean_object* v_res_2057_; +v_res_2057_ = l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___redArg(v_map_2054_, v_f_2055_, v_init_2056_); +lean_dec_ref(v_map_2054_); +return v_res_2057_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3(lean_object* v_00_u03c3_2056_, lean_object* v_00_u03b2_2057_, lean_object* v_map_2058_, lean_object* v_f_2059_, lean_object* v_init_2060_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3(lean_object* v_00_u03c3_2058_, lean_object* v_00_u03b2_2059_, lean_object* v_map_2060_, lean_object* v_f_2061_, lean_object* v_init_2062_){ _start: { -lean_object* v___x_2061_; -v___x_2061_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2059_, v_map_2058_, v_init_2060_); -return v___x_2061_; +lean_object* v___x_2063_; +v___x_2063_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2061_, v_map_2060_, v_init_2062_); +return v___x_2063_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___boxed(lean_object* v_00_u03c3_2062_, lean_object* v_00_u03b2_2063_, lean_object* v_map_2064_, lean_object* v_f_2065_, lean_object* v_init_2066_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3___boxed(lean_object* v_00_u03c3_2064_, lean_object* v_00_u03b2_2065_, lean_object* v_map_2066_, lean_object* v_f_2067_, lean_object* v_init_2068_){ _start: { -lean_object* v_res_2067_; -v_res_2067_ = l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3(v_00_u03c3_2062_, v_00_u03b2_2063_, v_map_2064_, v_f_2065_, v_init_2066_); -lean_dec_ref(v_map_2064_); -return v_res_2067_; +lean_object* v_res_2069_; +v_res_2069_ = l_Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3(v_00_u03c3_2064_, v_00_u03b2_2065_, v_map_2066_, v_f_2067_, v_init_2068_); +lean_dec_ref(v_map_2066_); +return v_res_2069_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4(lean_object* v_00_u03c3_2068_, lean_object* v_00_u03b1_2069_, lean_object* v_00_u03b2_2070_, lean_object* v_f_2071_, lean_object* v_x_2072_, lean_object* v_x_2073_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4(lean_object* v_00_u03c3_2070_, lean_object* v_00_u03b1_2071_, lean_object* v_00_u03b2_2072_, lean_object* v_f_2073_, lean_object* v_x_2074_, lean_object* v_x_2075_){ _start: { -lean_object* v___x_2074_; -v___x_2074_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2071_, v_x_2072_, v_x_2073_); -return v___x_2074_; +lean_object* v___x_2076_; +v___x_2076_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___redArg(v_f_2073_, v_x_2074_, v_x_2075_); +return v___x_2076_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___boxed(lean_object* v_00_u03c3_2075_, lean_object* v_00_u03b1_2076_, lean_object* v_00_u03b2_2077_, lean_object* v_f_2078_, lean_object* v_x_2079_, lean_object* v_x_2080_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4___boxed(lean_object* v_00_u03c3_2077_, lean_object* v_00_u03b1_2078_, lean_object* v_00_u03b2_2079_, lean_object* v_f_2080_, lean_object* v_x_2081_, lean_object* v_x_2082_){ _start: { -lean_object* v_res_2081_; -v_res_2081_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4(v_00_u03c3_2075_, v_00_u03b1_2076_, v_00_u03b2_2077_, v_f_2078_, v_x_2079_, v_x_2080_); -lean_dec_ref(v_x_2079_); -return v_res_2081_; +lean_object* v_res_2083_; +v_res_2083_ = l_Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4(v_00_u03c3_2077_, v_00_u03b1_2078_, v_00_u03b2_2079_, v_f_2080_, v_x_2081_, v_x_2082_); +lean_dec_ref(v_x_2081_); +return v_res_2083_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6(lean_object* v_00_u03b1_2082_, lean_object* v_00_u03b2_2083_, lean_object* v_00_u03c3_2084_, lean_object* v_f_2085_, lean_object* v_as_2086_, size_t v_i_2087_, size_t v_stop_2088_, lean_object* v_b_2089_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6(lean_object* v_00_u03b1_2084_, lean_object* v_00_u03b2_2085_, lean_object* v_00_u03c3_2086_, lean_object* v_f_2087_, lean_object* v_as_2088_, size_t v_i_2089_, size_t v_stop_2090_, lean_object* v_b_2091_){ _start: { -lean_object* v___x_2090_; -v___x_2090_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_2085_, v_as_2086_, v_i_2087_, v_stop_2088_, v_b_2089_); -return v___x_2090_; +lean_object* v___x_2092_; +v___x_2092_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___redArg(v_f_2087_, v_as_2088_, v_i_2089_, v_stop_2090_, v_b_2091_); +return v___x_2092_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___boxed(lean_object* v_00_u03b1_2091_, lean_object* v_00_u03b2_2092_, lean_object* v_00_u03c3_2093_, lean_object* v_f_2094_, lean_object* v_as_2095_, lean_object* v_i_2096_, lean_object* v_stop_2097_, lean_object* v_b_2098_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6___boxed(lean_object* v_00_u03b1_2093_, lean_object* v_00_u03b2_2094_, lean_object* v_00_u03c3_2095_, lean_object* v_f_2096_, lean_object* v_as_2097_, lean_object* v_i_2098_, lean_object* v_stop_2099_, lean_object* v_b_2100_){ _start: { -size_t v_i_boxed_2099_; size_t v_stop_boxed_2100_; lean_object* v_res_2101_; -v_i_boxed_2099_ = lean_unbox_usize(v_i_2096_); -lean_dec(v_i_2096_); -v_stop_boxed_2100_ = lean_unbox_usize(v_stop_2097_); -lean_dec(v_stop_2097_); -v_res_2101_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6(v_00_u03b1_2091_, v_00_u03b2_2092_, v_00_u03c3_2093_, v_f_2094_, v_as_2095_, v_i_boxed_2099_, v_stop_boxed_2100_, v_b_2098_); -lean_dec_ref(v_as_2095_); -return v_res_2101_; +size_t v_i_boxed_2101_; size_t v_stop_boxed_2102_; lean_object* v_res_2103_; +v_i_boxed_2101_ = lean_unbox_usize(v_i_2098_); +lean_dec(v_i_2098_); +v_stop_boxed_2102_ = lean_unbox_usize(v_stop_2099_); +lean_dec(v_stop_2099_); +v_res_2103_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__6(v_00_u03b1_2093_, v_00_u03b2_2094_, v_00_u03c3_2095_, v_f_2096_, v_as_2097_, v_i_boxed_2101_, v_stop_boxed_2102_, v_b_2100_); +lean_dec_ref(v_as_2097_); +return v_res_2103_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7(lean_object* v_00_u03c3_2102_, lean_object* v_00_u03b1_2103_, lean_object* v_00_u03b2_2104_, lean_object* v_f_2105_, lean_object* v_keys_2106_, lean_object* v_vals_2107_, lean_object* v_heq_2108_, lean_object* v_i_2109_, lean_object* v_acc_2110_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7(lean_object* v_00_u03c3_2104_, lean_object* v_00_u03b1_2105_, lean_object* v_00_u03b2_2106_, lean_object* v_f_2107_, lean_object* v_keys_2108_, lean_object* v_vals_2109_, lean_object* v_heq_2110_, lean_object* v_i_2111_, lean_object* v_acc_2112_){ _start: { -lean_object* v___x_2111_; -v___x_2111_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_2105_, v_keys_2106_, v_vals_2107_, v_i_2109_, v_acc_2110_); -return v___x_2111_; +lean_object* v___x_2113_; +v___x_2113_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___redArg(v_f_2107_, v_keys_2108_, v_vals_2109_, v_i_2111_, v_acc_2112_); +return v___x_2113_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___boxed(lean_object* v_00_u03c3_2112_, lean_object* v_00_u03b1_2113_, lean_object* v_00_u03b2_2114_, lean_object* v_f_2115_, lean_object* v_keys_2116_, lean_object* v_vals_2117_, lean_object* v_heq_2118_, lean_object* v_i_2119_, lean_object* v_acc_2120_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7___boxed(lean_object* v_00_u03c3_2114_, lean_object* v_00_u03b1_2115_, lean_object* v_00_u03b2_2116_, lean_object* v_f_2117_, lean_object* v_keys_2118_, lean_object* v_vals_2119_, lean_object* v_heq_2120_, lean_object* v_i_2121_, lean_object* v_acc_2122_){ _start: { -lean_object* v_res_2121_; -v_res_2121_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7(v_00_u03c3_2112_, v_00_u03b1_2113_, v_00_u03b2_2114_, v_f_2115_, v_keys_2116_, v_vals_2117_, v_heq_2118_, v_i_2119_, v_acc_2120_); -lean_dec_ref(v_vals_2117_); -lean_dec_ref(v_keys_2116_); -return v_res_2121_; +lean_object* v_res_2123_; +v_res_2123_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_foldlMAux_traverse___at___00Lean_PersistentHashMap_foldlMAux___at___00Lean_PersistentHashMap_foldlM___at___00Lean_PersistentHashMap_foldl___at___00Lean_SMap_fold___at___00Lean_KeyedDeclsAttribute_mkStateOfTable_spec__1_spec__2_spec__3_spec__4_spec__7(v_00_u03c3_2114_, v_00_u03b1_2115_, v_00_u03b2_2116_, v_f_2117_, v_keys_2118_, v_vals_2119_, v_heq_2120_, v_i_2121_, v_acc_2122_); +lean_dec_ref(v_vals_2119_); +lean_dec_ref(v_keys_2118_); +return v_res_2123_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(lean_object* v_keys_2122_, lean_object* v_i_2123_, lean_object* v_k_2124_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(lean_object* v_keys_2124_, lean_object* v_i_2125_, lean_object* v_k_2126_){ _start: { -lean_object* v___x_2125_; uint8_t v___x_2126_; -v___x_2125_ = lean_array_get_size(v_keys_2122_); -v___x_2126_ = lean_nat_dec_lt(v_i_2123_, v___x_2125_); -if (v___x_2126_ == 0) -{ -lean_dec(v_i_2123_); -return v___x_2126_; -} -else -{ -lean_object* v_k_x27_2127_; uint8_t v___x_2128_; -v_k_x27_2127_ = lean_array_fget_borrowed(v_keys_2122_, v_i_2123_); -v___x_2128_ = lean_name_eq(v_k_2124_, v_k_x27_2127_); +lean_object* v___x_2127_; uint8_t v___x_2128_; +v___x_2127_ = lean_array_get_size(v_keys_2124_); +v___x_2128_ = lean_nat_dec_lt(v_i_2125_, v___x_2127_); if (v___x_2128_ == 0) { -lean_object* v___x_2129_; lean_object* v___x_2130_; -v___x_2129_ = lean_unsigned_to_nat(1u); -v___x_2130_ = lean_nat_add(v_i_2123_, v___x_2129_); -lean_dec(v_i_2123_); -v_i_2123_ = v___x_2130_; +lean_dec(v_i_2125_); +return v___x_2128_; +} +else +{ +lean_object* v_k_x27_2129_; uint8_t v___x_2130_; +v_k_x27_2129_ = lean_array_fget_borrowed(v_keys_2124_, v_i_2125_); +v___x_2130_ = lean_name_eq(v_k_2126_, v_k_x27_2129_); +if (v___x_2130_ == 0) +{ +lean_object* v___x_2131_; lean_object* v___x_2132_; +v___x_2131_ = lean_unsigned_to_nat(1u); +v___x_2132_ = lean_nat_add(v_i_2125_, v___x_2131_); +lean_dec(v_i_2125_); +v_i_2125_ = v___x_2132_; goto _start; } else { -lean_dec(v_i_2123_); -return v___x_2128_; +lean_dec(v_i_2125_); +return v___x_2130_; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_keys_2132_, lean_object* v_i_2133_, lean_object* v_k_2134_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_keys_2134_, lean_object* v_i_2135_, lean_object* v_k_2136_){ _start: { -uint8_t v_res_2135_; lean_object* v_r_2136_; -v_res_2135_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_keys_2132_, v_i_2133_, v_k_2134_); -lean_dec(v_k_2134_); -lean_dec_ref(v_keys_2132_); -v_r_2136_ = lean_box(v_res_2135_); -return v_r_2136_; +uint8_t v_res_2137_; lean_object* v_r_2138_; +v_res_2137_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_keys_2134_, v_i_2135_, v_k_2136_); +lean_dec(v_k_2136_); +lean_dec_ref(v_keys_2134_); +v_r_2138_ = lean_box(v_res_2137_); +return v_r_2138_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(lean_object* v_x_2137_, size_t v_x_2138_, lean_object* v_x_2139_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(lean_object* v_x_2139_, size_t v_x_2140_, lean_object* v_x_2141_){ _start: { -if (lean_obj_tag(v_x_2137_) == 0) +if (lean_obj_tag(v_x_2139_) == 0) { -lean_object* v_es_2140_; lean_object* v___x_2141_; size_t v___x_2142_; size_t v___x_2143_; size_t v___x_2144_; lean_object* v_j_2145_; lean_object* v___x_2146_; -v_es_2140_ = lean_ctor_get(v_x_2137_, 0); -lean_inc_ref(v_es_2140_); -lean_dec_ref(v_x_2137_); -v___x_2141_ = lean_box(2); -v___x_2142_ = ((size_t)5ULL); -v___x_2143_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); -v___x_2144_ = lean_usize_land(v_x_2138_, v___x_2143_); -v_j_2145_ = lean_usize_to_nat(v___x_2144_); -v___x_2146_ = lean_array_get(v___x_2141_, v_es_2140_, v_j_2145_); -lean_dec(v_j_2145_); -lean_dec_ref(v_es_2140_); -switch(lean_obj_tag(v___x_2146_)) +lean_object* v_es_2142_; lean_object* v___x_2143_; size_t v___x_2144_; size_t v___x_2145_; size_t v___x_2146_; lean_object* v_j_2147_; lean_object* v___x_2148_; +v_es_2142_ = lean_ctor_get(v_x_2139_, 0); +lean_inc_ref(v_es_2142_); +lean_dec_ref(v_x_2139_); +v___x_2143_ = lean_box(2); +v___x_2144_ = ((size_t)5ULL); +v___x_2145_ = lean_usize_once(&l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1, &l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0_spec__1_spec__3___redArg___closed__1); +v___x_2146_ = lean_usize_land(v_x_2140_, v___x_2145_); +v_j_2147_ = lean_usize_to_nat(v___x_2146_); +v___x_2148_ = lean_array_get(v___x_2143_, v_es_2142_, v_j_2147_); +lean_dec(v_j_2147_); +lean_dec_ref(v_es_2142_); +switch(lean_obj_tag(v___x_2148_)) { case 0: { -lean_object* v_key_2147_; uint8_t v___x_2148_; -v_key_2147_ = lean_ctor_get(v___x_2146_, 0); -lean_inc(v_key_2147_); -lean_dec_ref(v___x_2146_); -v___x_2148_ = lean_name_eq(v_x_2139_, v_key_2147_); -lean_dec(v_key_2147_); -return v___x_2148_; +lean_object* v_key_2149_; uint8_t v___x_2150_; +v_key_2149_ = lean_ctor_get(v___x_2148_, 0); +lean_inc(v_key_2149_); +lean_dec_ref(v___x_2148_); +v___x_2150_ = lean_name_eq(v_x_2141_, v_key_2149_); +lean_dec(v_key_2149_); +return v___x_2150_; } case 1: { -lean_object* v_node_2149_; size_t v___x_2150_; -v_node_2149_ = lean_ctor_get(v___x_2146_, 0); -lean_inc(v_node_2149_); -lean_dec_ref(v___x_2146_); -v___x_2150_ = lean_usize_shift_right(v_x_2138_, v___x_2142_); -v_x_2137_ = v_node_2149_; -v_x_2138_ = v___x_2150_; +lean_object* v_node_2151_; size_t v___x_2152_; +v_node_2151_ = lean_ctor_get(v___x_2148_, 0); +lean_inc(v_node_2151_); +lean_dec_ref(v___x_2148_); +v___x_2152_ = lean_usize_shift_right(v_x_2140_, v___x_2144_); +v_x_2139_ = v_node_2151_; +v_x_2140_ = v___x_2152_; goto _start; } default: { -uint8_t v___x_2152_; -v___x_2152_ = 0; -return v___x_2152_; +uint8_t v___x_2154_; +v___x_2154_ = 0; +return v___x_2154_; } } } else { -lean_object* v_ks_2153_; lean_object* v___x_2154_; uint8_t v___x_2155_; -v_ks_2153_ = lean_ctor_get(v_x_2137_, 0); -lean_inc_ref(v_ks_2153_); -lean_dec_ref(v_x_2137_); -v___x_2154_ = lean_unsigned_to_nat(0u); -v___x_2155_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_ks_2153_, v___x_2154_, v_x_2139_); -lean_dec_ref(v_ks_2153_); -return v___x_2155_; +lean_object* v_ks_2155_; lean_object* v___x_2156_; uint8_t v___x_2157_; +v_ks_2155_ = lean_ctor_get(v_x_2139_, 0); +lean_inc_ref(v_ks_2155_); +lean_dec_ref(v_x_2139_); +v___x_2156_ = lean_unsigned_to_nat(0u); +v___x_2157_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_ks_2155_, v___x_2156_, v_x_2141_); +lean_dec_ref(v_ks_2155_); +return v___x_2157_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg___boxed(lean_object* v_x_2156_, lean_object* v_x_2157_, lean_object* v_x_2158_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg___boxed(lean_object* v_x_2158_, lean_object* v_x_2159_, lean_object* v_x_2160_){ _start: { -size_t v_x_623__boxed_2159_; uint8_t v_res_2160_; lean_object* v_r_2161_; -v_x_623__boxed_2159_ = lean_unbox_usize(v_x_2157_); -lean_dec(v_x_2157_); -v_res_2160_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2156_, v_x_623__boxed_2159_, v_x_2158_); -lean_dec(v_x_2158_); -v_r_2161_ = lean_box(v_res_2160_); -return v_r_2161_; +size_t v_x_623__boxed_2161_; uint8_t v_res_2162_; lean_object* v_r_2163_; +v_x_623__boxed_2161_ = lean_unbox_usize(v_x_2159_); +lean_dec(v_x_2159_); +v_res_2162_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2158_, v_x_623__boxed_2161_, v_x_2160_); +lean_dec(v_x_2160_); +v_r_2163_ = lean_box(v_res_2162_); +return v_r_2163_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(lean_object* v_x_2162_, lean_object* v_x_2163_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(lean_object* v_x_2164_, lean_object* v_x_2165_){ _start: { -uint64_t v___y_2165_; -if (lean_obj_tag(v_x_2163_) == 0) +uint64_t v___y_2167_; +if (lean_obj_tag(v_x_2165_) == 0) { -uint64_t v___x_2168_; -v___x_2168_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__2___redArg___closed__0); -v___y_2165_ = v___x_2168_; -goto v___jp_2164_; +uint64_t v___x_2170_; +v___x_2170_ = lean_uint64_once(&l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0, &l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0_once, _init_l_Std_DHashMap_Internal_Raw_u2080_Const_get_x3f___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__2___redArg___closed__0); +v___y_2167_ = v___x_2170_; +goto v___jp_2166_; } else { -uint64_t v_hash_2169_; -v_hash_2169_ = lean_ctor_get_uint64(v_x_2163_, sizeof(void*)*2); -v___y_2165_ = v_hash_2169_; -goto v___jp_2164_; +uint64_t v_hash_2171_; +v_hash_2171_ = lean_ctor_get_uint64(v_x_2165_, sizeof(void*)*2); +v___y_2167_ = v_hash_2171_; +goto v___jp_2166_; } -v___jp_2164_: +v___jp_2166_: { -size_t v___x_2166_; uint8_t v___x_2167_; -v___x_2166_ = lean_uint64_to_usize(v___y_2165_); -v___x_2167_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2162_, v___x_2166_, v_x_2163_); -return v___x_2167_; +size_t v___x_2168_; uint8_t v___x_2169_; +v___x_2168_ = lean_uint64_to_usize(v___y_2167_); +v___x_2169_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2164_, v___x_2168_, v_x_2165_); +return v___x_2169_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg___boxed(lean_object* v_x_2170_, lean_object* v_x_2171_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg___boxed(lean_object* v_x_2172_, lean_object* v_x_2173_){ _start: { -uint8_t v_res_2172_; lean_object* v_r_2173_; -v_res_2172_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_x_2170_, v_x_2171_); -lean_dec(v_x_2171_); -v_r_2173_ = lean_box(v_res_2172_); -return v_r_2173_; +uint8_t v_res_2174_; lean_object* v_r_2175_; +v_res_2174_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_x_2172_, v_x_2173_); +lean_dec(v_x_2173_); +v_r_2175_ = lean_box(v_res_2174_); +return v_r_2175_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1(void){ _start: { -lean_object* v___x_2175_; lean_object* v___x_2176_; -v___x_2175_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__0)); -v___x_2176_ = l_Lean_stringToMessageData(v___x_2175_); -return v___x_2176_; +lean_object* v___x_2177_; lean_object* v___x_2178_; +v___x_2177_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__0)); +v___x_2178_ = l_Lean_stringToMessageData(v___x_2177_); +return v___x_2178_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3(void){ _start: { -lean_object* v___x_2178_; lean_object* v___x_2179_; -v___x_2178_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__2)); -v___x_2179_ = l_Lean_stringToMessageData(v___x_2178_); -return v___x_2179_; +lean_object* v___x_2180_; lean_object* v___x_2181_; +v___x_2180_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__2)); +v___x_2181_ = l_Lean_stringToMessageData(v___x_2180_); +return v___x_2181_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5(void){ _start: { -lean_object* v___x_2181_; lean_object* v___x_2182_; -v___x_2181_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__4)); -v___x_2182_ = l_Lean_stringToMessageData(v___x_2181_); -return v___x_2182_; +lean_object* v___x_2183_; lean_object* v___x_2184_; +v___x_2183_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__4)); +v___x_2184_ = l_Lean_stringToMessageData(v___x_2183_); +return v___x_2184_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(lean_object* v_s_2183_, lean_object* v_attrName_2184_, lean_object* v_declName_2185_, lean_object* v_a_2186_, lean_object* v_a_2187_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(lean_object* v_s_2185_, lean_object* v_attrName_2186_, lean_object* v_declName_2187_, lean_object* v_a_2188_, lean_object* v_a_2189_){ _start: { -lean_object* v_newEntries_2189_; lean_object* v_table_2190_; lean_object* v_declNames_2191_; lean_object* v_erased_2192_; lean_object* v___x_2194_; uint8_t v_isShared_2195_; uint8_t v_isSharedCheck_2223_; -v_newEntries_2189_ = lean_ctor_get(v_s_2183_, 0); -v_table_2190_ = lean_ctor_get(v_s_2183_, 1); -v_declNames_2191_ = lean_ctor_get(v_s_2183_, 2); -v_erased_2192_ = lean_ctor_get(v_s_2183_, 3); -v_isSharedCheck_2223_ = !lean_is_exclusive(v_s_2183_); -if (v_isSharedCheck_2223_ == 0) +lean_object* v_newEntries_2191_; lean_object* v_table_2192_; lean_object* v_declNames_2193_; lean_object* v_erased_2194_; lean_object* v___x_2196_; uint8_t v_isShared_2197_; uint8_t v_isSharedCheck_2225_; +v_newEntries_2191_ = lean_ctor_get(v_s_2185_, 0); +v_table_2192_ = lean_ctor_get(v_s_2185_, 1); +v_declNames_2193_ = lean_ctor_get(v_s_2185_, 2); +v_erased_2194_ = lean_ctor_get(v_s_2185_, 3); +v_isSharedCheck_2225_ = !lean_is_exclusive(v_s_2185_); +if (v_isSharedCheck_2225_ == 0) { -v___x_2194_ = v_s_2183_; -v_isShared_2195_ = v_isSharedCheck_2223_; -goto v_resetjp_2193_; +v___x_2196_ = v_s_2185_; +v_isShared_2197_ = v_isSharedCheck_2225_; +goto v_resetjp_2195_; } else { -lean_inc(v_erased_2192_); -lean_inc(v_declNames_2191_); -lean_inc(v_table_2190_); -lean_inc(v_newEntries_2189_); -lean_dec(v_s_2183_); -v___x_2194_ = lean_box(0); -v_isShared_2195_ = v_isSharedCheck_2223_; -goto v_resetjp_2193_; +lean_inc(v_erased_2194_); +lean_inc(v_declNames_2193_); +lean_inc(v_table_2192_); +lean_inc(v_newEntries_2191_); +lean_dec(v_s_2185_); +v___x_2196_ = lean_box(0); +v_isShared_2197_ = v_isSharedCheck_2225_; +goto v_resetjp_2195_; } -v_resetjp_2193_: +v_resetjp_2195_: { -uint8_t v___x_2204_; -lean_inc_ref(v_declNames_2191_); -v___x_2204_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_declNames_2191_, v_declName_2185_); -if (v___x_2204_ == 0) +uint8_t v___x_2206_; +lean_inc_ref(v_declNames_2193_); +v___x_2206_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_declNames_2193_, v_declName_2187_); +if (v___x_2206_ == 0) { -lean_object* v___x_2205_; lean_object* v___x_2206_; lean_object* v___x_2207_; lean_object* v___x_2208_; lean_object* v___x_2209_; lean_object* v___x_2210_; lean_object* v___x_2211_; lean_object* v___x_2212_; lean_object* v___x_2213_; lean_object* v___x_2214_; lean_object* v_a_2215_; lean_object* v___x_2217_; uint8_t v_isShared_2218_; uint8_t v_isSharedCheck_2222_; -lean_del_object(v___x_2194_); -lean_dec_ref(v_erased_2192_); -lean_dec_ref(v_declNames_2191_); -lean_dec_ref(v_table_2190_); -lean_dec(v_newEntries_2189_); -v___x_2205_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1); -v___x_2206_ = l_Lean_MessageData_ofName(v_attrName_2184_); -v___x_2207_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2207_, 0, v___x_2205_); -lean_ctor_set(v___x_2207_, 1, v___x_2206_); -v___x_2208_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3); +lean_object* v___x_2207_; lean_object* v___x_2208_; lean_object* v___x_2209_; lean_object* v___x_2210_; lean_object* v___x_2211_; lean_object* v___x_2212_; lean_object* v___x_2213_; lean_object* v___x_2214_; lean_object* v___x_2215_; lean_object* v___x_2216_; lean_object* v_a_2217_; lean_object* v___x_2219_; uint8_t v_isShared_2220_; uint8_t v_isSharedCheck_2224_; +lean_del_object(v___x_2196_); +lean_dec_ref(v_erased_2194_); +lean_dec_ref(v_declNames_2193_); +lean_dec_ref(v_table_2192_); +lean_dec(v_newEntries_2191_); +v___x_2207_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__1); +v___x_2208_ = l_Lean_MessageData_ofName(v_attrName_2186_); v___x_2209_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2209_, 0, v___x_2207_); lean_ctor_set(v___x_2209_, 1, v___x_2208_); -v___x_2210_ = l_Lean_MessageData_ofConstName(v_declName_2185_, v___x_2204_); +v___x_2210_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__3); v___x_2211_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2211_, 0, v___x_2209_); lean_ctor_set(v___x_2211_, 1, v___x_2210_); -v___x_2212_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5); +v___x_2212_ = l_Lean_MessageData_ofConstName(v_declName_2187_, v___x_2206_); v___x_2213_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2213_, 0, v___x_2211_); lean_ctor_set(v___x_2213_, 1, v___x_2212_); -v___x_2214_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2213_, v_a_2186_, v_a_2187_); -v_a_2215_ = lean_ctor_get(v___x_2214_, 0); -v_isSharedCheck_2222_ = !lean_is_exclusive(v___x_2214_); -if (v_isSharedCheck_2222_ == 0) +v___x_2214_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5, &l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5_once, _init_l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___closed__5); +v___x_2215_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2215_, 0, v___x_2213_); +lean_ctor_set(v___x_2215_, 1, v___x_2214_); +v___x_2216_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2215_, v_a_2188_, v_a_2189_); +v_a_2217_ = lean_ctor_get(v___x_2216_, 0); +v_isSharedCheck_2224_ = !lean_is_exclusive(v___x_2216_); +if (v_isSharedCheck_2224_ == 0) { -v___x_2217_ = v___x_2214_; -v_isShared_2218_ = v_isSharedCheck_2222_; -goto v_resetjp_2216_; +v___x_2219_ = v___x_2216_; +v_isShared_2220_ = v_isSharedCheck_2224_; +goto v_resetjp_2218_; } else { -lean_inc(v_a_2215_); -lean_dec(v___x_2214_); -v___x_2217_ = lean_box(0); -v_isShared_2218_ = v_isSharedCheck_2222_; -goto v_resetjp_2216_; +lean_inc(v_a_2217_); +lean_dec(v___x_2216_); +v___x_2219_ = lean_box(0); +v_isShared_2220_ = v_isSharedCheck_2224_; +goto v_resetjp_2218_; } -v_resetjp_2216_: +v_resetjp_2218_: { -lean_object* v___x_2220_; -if (v_isShared_2218_ == 0) +lean_object* v___x_2222_; +if (v_isShared_2220_ == 0) { -v___x_2220_ = v___x_2217_; -goto v_reusejp_2219_; +v___x_2222_ = v___x_2219_; +goto v_reusejp_2221_; } else { -lean_object* v_reuseFailAlloc_2221_; -v_reuseFailAlloc_2221_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2221_, 0, v_a_2215_); -v___x_2220_ = v_reuseFailAlloc_2221_; -goto v_reusejp_2219_; +lean_object* v_reuseFailAlloc_2223_; +v_reuseFailAlloc_2223_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2223_, 0, v_a_2217_); +v___x_2222_ = v_reuseFailAlloc_2223_; +goto v_reusejp_2221_; } -v_reusejp_2219_: +v_reusejp_2221_: { -return v___x_2220_; +return v___x_2222_; } } } else { -lean_dec(v_attrName_2184_); -goto v___jp_2196_; +lean_dec(v_attrName_2186_); +goto v___jp_2198_; } -v___jp_2196_: +v___jp_2198_: { -lean_object* v___x_2197_; lean_object* v___x_2198_; lean_object* v___x_2199_; lean_object* v___x_2201_; -v___x_2197_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_declNames_2191_, v_declName_2185_); -v___x_2198_ = lean_box(0); -v___x_2199_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_erased_2192_, v_declName_2185_, v___x_2198_); -if (v_isShared_2195_ == 0) +lean_object* v___x_2199_; lean_object* v___x_2200_; lean_object* v___x_2201_; lean_object* v___x_2203_; +v___x_2199_ = l_Lean_PersistentHashMap_erase___at___00Lean_KeyedDeclsAttribute_ExtensionState_insert_spec__0___redArg(v_declNames_2193_, v_declName_2187_); +v___x_2200_ = lean_box(0); +v___x_2201_ = l_Lean_PersistentHashMap_insert___at___00Lean_SMap_insert___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__1_spec__2___redArg(v_erased_2194_, v_declName_2187_, v___x_2200_); +if (v_isShared_2197_ == 0) { -lean_ctor_set(v___x_2194_, 3, v___x_2199_); -lean_ctor_set(v___x_2194_, 2, v___x_2197_); -v___x_2201_ = v___x_2194_; -goto v_reusejp_2200_; +lean_ctor_set(v___x_2196_, 3, v___x_2201_); +lean_ctor_set(v___x_2196_, 2, v___x_2199_); +v___x_2203_ = v___x_2196_; +goto v_reusejp_2202_; } else { -lean_object* v_reuseFailAlloc_2203_; -v_reuseFailAlloc_2203_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v_reuseFailAlloc_2203_, 0, v_newEntries_2189_); -lean_ctor_set(v_reuseFailAlloc_2203_, 1, v_table_2190_); -lean_ctor_set(v_reuseFailAlloc_2203_, 2, v___x_2197_); -lean_ctor_set(v_reuseFailAlloc_2203_, 3, v___x_2199_); -v___x_2201_ = v_reuseFailAlloc_2203_; -goto v_reusejp_2200_; +lean_object* v_reuseFailAlloc_2205_; +v_reuseFailAlloc_2205_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v_reuseFailAlloc_2205_, 0, v_newEntries_2191_); +lean_ctor_set(v_reuseFailAlloc_2205_, 1, v_table_2192_); +lean_ctor_set(v_reuseFailAlloc_2205_, 2, v___x_2199_); +lean_ctor_set(v_reuseFailAlloc_2205_, 3, v___x_2201_); +v___x_2203_ = v_reuseFailAlloc_2205_; +goto v_reusejp_2202_; } -v_reusejp_2200_: +v_reusejp_2202_: { -lean_object* v___x_2202_; -v___x_2202_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2202_, 0, v___x_2201_); -return v___x_2202_; +lean_object* v___x_2204_; +v___x_2204_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2204_, 0, v___x_2203_); +return v___x_2204_; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___boxed(lean_object* v_s_2224_, lean_object* v_attrName_2225_, lean_object* v_declName_2226_, lean_object* v_a_2227_, lean_object* v_a_2228_, lean_object* v_a_2229_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg___boxed(lean_object* v_s_2226_, lean_object* v_attrName_2227_, lean_object* v_declName_2228_, lean_object* v_a_2229_, lean_object* v_a_2230_, lean_object* v_a_2231_){ _start: { -lean_object* v_res_2230_; -v_res_2230_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v_s_2224_, v_attrName_2225_, v_declName_2226_, v_a_2227_, v_a_2228_); -lean_dec(v_a_2228_); -lean_dec_ref(v_a_2227_); -return v_res_2230_; +lean_object* v_res_2232_; +v_res_2232_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v_s_2226_, v_attrName_2227_, v_declName_2228_, v_a_2229_, v_a_2230_); +lean_dec(v_a_2230_); +lean_dec_ref(v_a_2229_); +return v_res_2232_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase(lean_object* v_00_u03b3_2231_, lean_object* v_s_2232_, lean_object* v_attrName_2233_, lean_object* v_declName_2234_, lean_object* v_a_2235_, lean_object* v_a_2236_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase(lean_object* v_00_u03b3_2233_, lean_object* v_s_2234_, lean_object* v_attrName_2235_, lean_object* v_declName_2236_, lean_object* v_a_2237_, lean_object* v_a_2238_){ _start: { -lean_object* v___x_2238_; -v___x_2238_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v_s_2232_, v_attrName_2233_, v_declName_2234_, v_a_2235_, v_a_2236_); -return v___x_2238_; +lean_object* v___x_2240_; +v___x_2240_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v_s_2234_, v_attrName_2235_, v_declName_2236_, v_a_2237_, v_a_2238_); +return v___x_2240_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___boxed(lean_object* v_00_u03b3_2239_, lean_object* v_s_2240_, lean_object* v_attrName_2241_, lean_object* v_declName_2242_, lean_object* v_a_2243_, lean_object* v_a_2244_, lean_object* v_a_2245_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_ExtensionState_erase___boxed(lean_object* v_00_u03b3_2241_, lean_object* v_s_2242_, lean_object* v_attrName_2243_, lean_object* v_declName_2244_, lean_object* v_a_2245_, lean_object* v_a_2246_, lean_object* v_a_2247_){ _start: { -lean_object* v_res_2246_; -v_res_2246_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase(v_00_u03b3_2239_, v_s_2240_, v_attrName_2241_, v_declName_2242_, v_a_2243_, v_a_2244_); -lean_dec(v_a_2244_); -lean_dec_ref(v_a_2243_); -return v_res_2246_; +lean_object* v_res_2248_; +v_res_2248_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase(v_00_u03b3_2241_, v_s_2242_, v_attrName_2243_, v_declName_2244_, v_a_2245_, v_a_2246_); +lean_dec(v_a_2246_); +lean_dec_ref(v_a_2245_); +return v_res_2248_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0(lean_object* v_00_u03b2_2247_, lean_object* v_x_2248_, lean_object* v_x_2249_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0(lean_object* v_00_u03b2_2249_, lean_object* v_x_2250_, lean_object* v_x_2251_){ _start: { -uint8_t v___x_2250_; -v___x_2250_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_x_2248_, v_x_2249_); -return v___x_2250_; +uint8_t v___x_2252_; +v___x_2252_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v_x_2250_, v_x_2251_); +return v___x_2252_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___boxed(lean_object* v_00_u03b2_2251_, lean_object* v_x_2252_, lean_object* v_x_2253_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___boxed(lean_object* v_00_u03b2_2253_, lean_object* v_x_2254_, lean_object* v_x_2255_){ _start: { -uint8_t v_res_2254_; lean_object* v_r_2255_; -v_res_2254_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0(v_00_u03b2_2251_, v_x_2252_, v_x_2253_); -lean_dec(v_x_2253_); -v_r_2255_ = lean_box(v_res_2254_); -return v_r_2255_; +uint8_t v_res_2256_; lean_object* v_r_2257_; +v_res_2256_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0(v_00_u03b2_2253_, v_x_2254_, v_x_2255_); +lean_dec(v_x_2255_); +v_r_2257_ = lean_box(v_res_2256_); +return v_r_2257_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0(lean_object* v_00_u03b2_2256_, lean_object* v_x_2257_, size_t v_x_2258_, lean_object* v_x_2259_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0(lean_object* v_00_u03b2_2258_, lean_object* v_x_2259_, size_t v_x_2260_, lean_object* v_x_2261_){ _start: { -uint8_t v___x_2260_; -v___x_2260_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2257_, v_x_2258_, v_x_2259_); -return v___x_2260_; +uint8_t v___x_2262_; +v___x_2262_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___redArg(v_x_2259_, v_x_2260_, v_x_2261_); +return v___x_2262_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___boxed(lean_object* v_00_u03b2_2261_, lean_object* v_x_2262_, lean_object* v_x_2263_, lean_object* v_x_2264_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0___boxed(lean_object* v_00_u03b2_2263_, lean_object* v_x_2264_, lean_object* v_x_2265_, lean_object* v_x_2266_){ _start: { -size_t v_x_803__boxed_2265_; uint8_t v_res_2266_; lean_object* v_r_2267_; -v_x_803__boxed_2265_ = lean_unbox_usize(v_x_2263_); -lean_dec(v_x_2263_); -v_res_2266_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0(v_00_u03b2_2261_, v_x_2262_, v_x_803__boxed_2265_, v_x_2264_); -lean_dec(v_x_2264_); -v_r_2267_ = lean_box(v_res_2266_); -return v_r_2267_; +size_t v_x_803__boxed_2267_; uint8_t v_res_2268_; lean_object* v_r_2269_; +v_x_803__boxed_2267_ = lean_unbox_usize(v_x_2265_); +lean_dec(v_x_2265_); +v_res_2268_ = l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0(v_00_u03b2_2263_, v_x_2264_, v_x_803__boxed_2267_, v_x_2266_); +lean_dec(v_x_2266_); +v_r_2269_ = lean_box(v_res_2268_); +return v_r_2269_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_2268_, lean_object* v_keys_2269_, lean_object* v_vals_2270_, lean_object* v_heq_2271_, lean_object* v_i_2272_, lean_object* v_k_2273_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_2270_, lean_object* v_keys_2271_, lean_object* v_vals_2272_, lean_object* v_heq_2273_, lean_object* v_i_2274_, lean_object* v_k_2275_){ _start: { -uint8_t v___x_2274_; -v___x_2274_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_keys_2269_, v_i_2272_, v_k_2273_); -return v___x_2274_; +uint8_t v___x_2276_; +v___x_2276_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___redArg(v_keys_2271_, v_i_2274_, v_k_2275_); +return v___x_2276_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_2275_, lean_object* v_keys_2276_, lean_object* v_vals_2277_, lean_object* v_heq_2278_, lean_object* v_i_2279_, lean_object* v_k_2280_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_2277_, lean_object* v_keys_2278_, lean_object* v_vals_2279_, lean_object* v_heq_2280_, lean_object* v_i_2281_, lean_object* v_k_2282_){ _start: { -uint8_t v_res_2281_; lean_object* v_r_2282_; -v_res_2281_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1(v_00_u03b2_2275_, v_keys_2276_, v_vals_2277_, v_heq_2278_, v_i_2279_, v_k_2280_); -lean_dec(v_k_2280_); -lean_dec_ref(v_vals_2277_); -lean_dec_ref(v_keys_2276_); -v_r_2282_ = lean_box(v_res_2281_); -return v_r_2282_; +uint8_t v_res_2283_; lean_object* v_r_2284_; +v_res_2283_ = l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0_spec__0_spec__1(v_00_u03b2_2277_, v_keys_2278_, v_vals_2279_, v_heq_2280_, v_i_2281_, v_k_2282_); +lean_dec(v_k_2282_); +lean_dec_ref(v_vals_2279_); +lean_dec_ref(v_keys_2278_); +v_r_2284_ = lean_box(v_res_2283_); +return v_r_2284_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12(void){ _start: { -lean_object* v___x_2309_; lean_object* v___x_2310_; -v___x_2309_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__10)); -v___x_2310_ = l_Lean_mkAtom(v___x_2309_); -return v___x_2310_; +lean_object* v___x_2311_; lean_object* v___x_2312_; +v___x_2311_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__10)); +v___x_2312_ = l_Lean_mkAtom(v___x_2311_); +return v___x_2312_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13(void){ _start: { -lean_object* v___x_2311_; lean_object* v___x_2312_; lean_object* v___x_2313_; -v___x_2311_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12); -v___x_2312_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); -v___x_2313_ = lean_array_push(v___x_2312_, v___x_2311_); -return v___x_2313_; +lean_object* v___x_2313_; lean_object* v___x_2314_; lean_object* v___x_2315_; +v___x_2313_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__12); +v___x_2314_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); +v___x_2315_ = lean_array_push(v___x_2314_, v___x_2313_); +return v___x_2315_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18(void){ _start: { -lean_object* v___x_2322_; lean_object* v___x_2323_; -v___x_2322_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__17)); -v___x_2323_ = l_Lean_mkAtom(v___x_2322_); -return v___x_2323_; +lean_object* v___x_2324_; lean_object* v___x_2325_; +v___x_2324_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__17)); +v___x_2325_ = l_Lean_mkAtom(v___x_2324_); +return v___x_2325_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19(void){ _start: { -lean_object* v___x_2324_; lean_object* v___x_2325_; lean_object* v___x_2326_; -v___x_2324_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18); -v___x_2325_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); -v___x_2326_ = lean_array_push(v___x_2325_, v___x_2324_); -return v___x_2326_; +lean_object* v___x_2326_; lean_object* v___x_2327_; lean_object* v___x_2328_; +v___x_2326_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__18); +v___x_2327_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); +v___x_2328_ = lean_array_push(v___x_2327_, v___x_2326_); +return v___x_2328_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20(void){ _start: { -lean_object* v___x_2327_; lean_object* v___x_2328_; lean_object* v___x_2329_; lean_object* v___x_2330_; -v___x_2327_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19); -v___x_2328_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__16)); -v___x_2329_ = lean_box(2); -v___x_2330_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2330_, 0, v___x_2329_); -lean_ctor_set(v___x_2330_, 1, v___x_2328_); -lean_ctor_set(v___x_2330_, 2, v___x_2327_); -return v___x_2330_; +lean_object* v___x_2329_; lean_object* v___x_2330_; lean_object* v___x_2331_; lean_object* v___x_2332_; +v___x_2329_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__19); +v___x_2330_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__16)); +v___x_2331_ = lean_box(2); +v___x_2332_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2332_, 0, v___x_2331_); +lean_ctor_set(v___x_2332_, 1, v___x_2330_); +lean_ctor_set(v___x_2332_, 2, v___x_2329_); +return v___x_2332_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21(void){ _start: { -lean_object* v___x_2331_; lean_object* v___x_2332_; lean_object* v___x_2333_; -v___x_2331_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20); -v___x_2332_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13); -v___x_2333_ = lean_array_push(v___x_2332_, v___x_2331_); -return v___x_2333_; +lean_object* v___x_2333_; lean_object* v___x_2334_; lean_object* v___x_2335_; +v___x_2333_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__20); +v___x_2334_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__13); +v___x_2335_ = lean_array_push(v___x_2334_, v___x_2333_); +return v___x_2335_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22(void){ _start: { -lean_object* v___x_2334_; lean_object* v___x_2335_; lean_object* v___x_2336_; lean_object* v___x_2337_; -v___x_2334_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21); -v___x_2335_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__11)); -v___x_2336_ = lean_box(2); -v___x_2337_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2337_, 0, v___x_2336_); -lean_ctor_set(v___x_2337_, 1, v___x_2335_); -lean_ctor_set(v___x_2337_, 2, v___x_2334_); -return v___x_2337_; +lean_object* v___x_2336_; lean_object* v___x_2337_; lean_object* v___x_2338_; lean_object* v___x_2339_; +v___x_2336_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__21); +v___x_2337_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__11)); +v___x_2338_ = lean_box(2); +v___x_2339_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2339_, 0, v___x_2338_); +lean_ctor_set(v___x_2339_, 1, v___x_2337_); +lean_ctor_set(v___x_2339_, 2, v___x_2336_); +return v___x_2339_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23(void){ _start: { -lean_object* v___x_2338_; lean_object* v___x_2339_; lean_object* v___x_2340_; -v___x_2338_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22); -v___x_2339_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); -v___x_2340_ = lean_array_push(v___x_2339_, v___x_2338_); -return v___x_2340_; +lean_object* v___x_2340_; lean_object* v___x_2341_; lean_object* v___x_2342_; +v___x_2340_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__22); +v___x_2341_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); +v___x_2342_ = lean_array_push(v___x_2341_, v___x_2340_); +return v___x_2342_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24(void){ _start: { -lean_object* v___x_2341_; lean_object* v___x_2342_; lean_object* v___x_2343_; lean_object* v___x_2344_; -v___x_2341_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23); -v___x_2342_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__9)); -v___x_2343_ = lean_box(2); -v___x_2344_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2344_, 0, v___x_2343_); -lean_ctor_set(v___x_2344_, 1, v___x_2342_); -lean_ctor_set(v___x_2344_, 2, v___x_2341_); -return v___x_2344_; +lean_object* v___x_2343_; lean_object* v___x_2344_; lean_object* v___x_2345_; lean_object* v___x_2346_; +v___x_2343_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__23); +v___x_2344_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__9)); +v___x_2345_ = lean_box(2); +v___x_2346_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2346_, 0, v___x_2345_); +lean_ctor_set(v___x_2346_, 1, v___x_2344_); +lean_ctor_set(v___x_2346_, 2, v___x_2343_); +return v___x_2346_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25(void){ _start: { -lean_object* v___x_2345_; lean_object* v___x_2346_; lean_object* v___x_2347_; -v___x_2345_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24); -v___x_2346_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); -v___x_2347_ = lean_array_push(v___x_2346_, v___x_2345_); -return v___x_2347_; +lean_object* v___x_2347_; lean_object* v___x_2348_; lean_object* v___x_2349_; +v___x_2347_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__24); +v___x_2348_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); +v___x_2349_ = lean_array_push(v___x_2348_, v___x_2347_); +return v___x_2349_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26(void){ _start: { -lean_object* v___x_2348_; lean_object* v___x_2349_; lean_object* v___x_2350_; lean_object* v___x_2351_; -v___x_2348_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25); -v___x_2349_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__7)); -v___x_2350_ = lean_box(2); -v___x_2351_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2351_, 0, v___x_2350_); -lean_ctor_set(v___x_2351_, 1, v___x_2349_); -lean_ctor_set(v___x_2351_, 2, v___x_2348_); -return v___x_2351_; +lean_object* v___x_2350_; lean_object* v___x_2351_; lean_object* v___x_2352_; lean_object* v___x_2353_; +v___x_2350_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__25); +v___x_2351_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__7)); +v___x_2352_ = lean_box(2); +v___x_2353_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2353_, 0, v___x_2352_); +lean_ctor_set(v___x_2353_, 1, v___x_2351_); +lean_ctor_set(v___x_2353_, 2, v___x_2350_); +return v___x_2353_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27(void){ _start: { -lean_object* v___x_2352_; lean_object* v___x_2353_; lean_object* v___x_2354_; -v___x_2352_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26); -v___x_2353_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); -v___x_2354_ = lean_array_push(v___x_2353_, v___x_2352_); -return v___x_2354_; +lean_object* v___x_2354_; lean_object* v___x_2355_; lean_object* v___x_2356_; +v___x_2354_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__26); +v___x_2355_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__5)); +v___x_2356_ = lean_array_push(v___x_2355_, v___x_2354_); +return v___x_2356_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28(void){ _start: { -lean_object* v___x_2355_; lean_object* v___x_2356_; lean_object* v___x_2357_; lean_object* v___x_2358_; -v___x_2355_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27); -v___x_2356_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__4)); -v___x_2357_ = lean_box(2); -v___x_2358_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_2358_, 0, v___x_2357_); -lean_ctor_set(v___x_2358_, 1, v___x_2356_); -lean_ctor_set(v___x_2358_, 2, v___x_2355_); -return v___x_2358_; +lean_object* v___x_2357_; lean_object* v___x_2358_; lean_object* v___x_2359_; lean_object* v___x_2360_; +v___x_2357_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__27); +v___x_2358_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___auto__1___closed__4)); +v___x_2359_ = lean_box(2); +v___x_2360_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_2360_, 0, v___x_2359_); +lean_ctor_set(v___x_2360_, 1, v___x_2358_); +lean_ctor_set(v___x_2360_, 2, v___x_2357_); +return v___x_2360_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___auto__1(void){ _start: { -lean_object* v___x_2359_; -v___x_2359_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28); -return v___x_2359_; +lean_object* v___x_2361_; +v___x_2361_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28, &l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28_once, _init_l_Lean_KeyedDeclsAttribute_init___auto__1___closed__28); +return v___x_2361_; } } -LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(lean_object* v_ext_2360_, lean_object* v_b_2361_, uint8_t v_kind_2362_, lean_object* v___y_2363_, lean_object* v___y_2364_){ +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(lean_object* v_ext_2362_, lean_object* v_b_2363_, uint8_t v_kind_2364_, lean_object* v___y_2365_, lean_object* v___y_2366_){ _start: { -lean_object* v_currNamespace_2366_; lean_object* v___x_2367_; lean_object* v_env_2368_; lean_object* v_nextMacroScope_2369_; lean_object* v_ngen_2370_; lean_object* v_auxDeclNGen_2371_; lean_object* v_traceState_2372_; lean_object* v_messages_2373_; lean_object* v_infoState_2374_; lean_object* v_snapshotTasks_2375_; lean_object* v___x_2377_; uint8_t v_isShared_2378_; uint8_t v_isSharedCheck_2387_; -v_currNamespace_2366_ = lean_ctor_get(v___y_2363_, 6); -lean_inc(v_currNamespace_2366_); -lean_dec_ref(v___y_2363_); -v___x_2367_ = lean_st_ref_take(v___y_2364_); -v_env_2368_ = lean_ctor_get(v___x_2367_, 0); -v_nextMacroScope_2369_ = lean_ctor_get(v___x_2367_, 1); -v_ngen_2370_ = lean_ctor_get(v___x_2367_, 2); -v_auxDeclNGen_2371_ = lean_ctor_get(v___x_2367_, 3); -v_traceState_2372_ = lean_ctor_get(v___x_2367_, 4); -v_messages_2373_ = lean_ctor_get(v___x_2367_, 6); -v_infoState_2374_ = lean_ctor_get(v___x_2367_, 7); -v_snapshotTasks_2375_ = lean_ctor_get(v___x_2367_, 8); -v_isSharedCheck_2387_ = !lean_is_exclusive(v___x_2367_); -if (v_isSharedCheck_2387_ == 0) +lean_object* v_currNamespace_2368_; lean_object* v___x_2369_; lean_object* v_env_2370_; lean_object* v_nextMacroScope_2371_; lean_object* v_ngen_2372_; lean_object* v_auxDeclNGen_2373_; lean_object* v_traceState_2374_; lean_object* v_messages_2375_; lean_object* v_infoState_2376_; lean_object* v_snapshotTasks_2377_; lean_object* v___x_2379_; uint8_t v_isShared_2380_; uint8_t v_isSharedCheck_2389_; +v_currNamespace_2368_ = lean_ctor_get(v___y_2365_, 6); +lean_inc(v_currNamespace_2368_); +lean_dec_ref(v___y_2365_); +v___x_2369_ = lean_st_ref_take(v___y_2366_); +v_env_2370_ = lean_ctor_get(v___x_2369_, 0); +v_nextMacroScope_2371_ = lean_ctor_get(v___x_2369_, 1); +v_ngen_2372_ = lean_ctor_get(v___x_2369_, 2); +v_auxDeclNGen_2373_ = lean_ctor_get(v___x_2369_, 3); +v_traceState_2374_ = lean_ctor_get(v___x_2369_, 4); +v_messages_2375_ = lean_ctor_get(v___x_2369_, 6); +v_infoState_2376_ = lean_ctor_get(v___x_2369_, 7); +v_snapshotTasks_2377_ = lean_ctor_get(v___x_2369_, 8); +v_isSharedCheck_2389_ = !lean_is_exclusive(v___x_2369_); +if (v_isSharedCheck_2389_ == 0) { -lean_object* v_unused_2388_; -v_unused_2388_ = lean_ctor_get(v___x_2367_, 5); -lean_dec(v_unused_2388_); -v___x_2377_ = v___x_2367_; -v_isShared_2378_ = v_isSharedCheck_2387_; -goto v_resetjp_2376_; +lean_object* v_unused_2390_; +v_unused_2390_ = lean_ctor_get(v___x_2369_, 5); +lean_dec(v_unused_2390_); +v___x_2379_ = v___x_2369_; +v_isShared_2380_ = v_isSharedCheck_2389_; +goto v_resetjp_2378_; } else { -lean_inc(v_snapshotTasks_2375_); -lean_inc(v_infoState_2374_); -lean_inc(v_messages_2373_); -lean_inc(v_traceState_2372_); -lean_inc(v_auxDeclNGen_2371_); -lean_inc(v_ngen_2370_); -lean_inc(v_nextMacroScope_2369_); -lean_inc(v_env_2368_); -lean_dec(v___x_2367_); -v___x_2377_ = lean_box(0); -v_isShared_2378_ = v_isSharedCheck_2387_; -goto v_resetjp_2376_; +lean_inc(v_snapshotTasks_2377_); +lean_inc(v_infoState_2376_); +lean_inc(v_messages_2375_); +lean_inc(v_traceState_2374_); +lean_inc(v_auxDeclNGen_2373_); +lean_inc(v_ngen_2372_); +lean_inc(v_nextMacroScope_2371_); +lean_inc(v_env_2370_); +lean_dec(v___x_2369_); +v___x_2379_ = lean_box(0); +v_isShared_2380_ = v_isSharedCheck_2389_; +goto v_resetjp_2378_; } -v_resetjp_2376_: +v_resetjp_2378_: { -lean_object* v___x_2379_; lean_object* v___x_2380_; lean_object* v___x_2382_; -v___x_2379_ = l_Lean_ScopedEnvExtension_addCore___redArg(v_env_2368_, v_ext_2360_, v_b_2361_, v_kind_2362_, v_currNamespace_2366_); -v___x_2380_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5); -if (v_isShared_2378_ == 0) +lean_object* v___x_2381_; lean_object* v___x_2382_; lean_object* v___x_2384_; +v___x_2381_ = l_Lean_ScopedEnvExtension_addCore___redArg(v_env_2370_, v_ext_2362_, v_b_2363_, v_kind_2364_, v_currNamespace_2368_); +v___x_2382_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5); +if (v_isShared_2380_ == 0) { -lean_ctor_set(v___x_2377_, 5, v___x_2380_); -lean_ctor_set(v___x_2377_, 0, v___x_2379_); -v___x_2382_ = v___x_2377_; -goto v_reusejp_2381_; +lean_ctor_set(v___x_2379_, 5, v___x_2382_); +lean_ctor_set(v___x_2379_, 0, v___x_2381_); +v___x_2384_ = v___x_2379_; +goto v_reusejp_2383_; } else { -lean_object* v_reuseFailAlloc_2386_; -v_reuseFailAlloc_2386_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2386_, 0, v___x_2379_); -lean_ctor_set(v_reuseFailAlloc_2386_, 1, v_nextMacroScope_2369_); -lean_ctor_set(v_reuseFailAlloc_2386_, 2, v_ngen_2370_); -lean_ctor_set(v_reuseFailAlloc_2386_, 3, v_auxDeclNGen_2371_); -lean_ctor_set(v_reuseFailAlloc_2386_, 4, v_traceState_2372_); -lean_ctor_set(v_reuseFailAlloc_2386_, 5, v___x_2380_); -lean_ctor_set(v_reuseFailAlloc_2386_, 6, v_messages_2373_); -lean_ctor_set(v_reuseFailAlloc_2386_, 7, v_infoState_2374_); -lean_ctor_set(v_reuseFailAlloc_2386_, 8, v_snapshotTasks_2375_); -v___x_2382_ = v_reuseFailAlloc_2386_; -goto v_reusejp_2381_; +lean_object* v_reuseFailAlloc_2388_; +v_reuseFailAlloc_2388_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2388_, 0, v___x_2381_); +lean_ctor_set(v_reuseFailAlloc_2388_, 1, v_nextMacroScope_2371_); +lean_ctor_set(v_reuseFailAlloc_2388_, 2, v_ngen_2372_); +lean_ctor_set(v_reuseFailAlloc_2388_, 3, v_auxDeclNGen_2373_); +lean_ctor_set(v_reuseFailAlloc_2388_, 4, v_traceState_2374_); +lean_ctor_set(v_reuseFailAlloc_2388_, 5, v___x_2382_); +lean_ctor_set(v_reuseFailAlloc_2388_, 6, v_messages_2375_); +lean_ctor_set(v_reuseFailAlloc_2388_, 7, v_infoState_2376_); +lean_ctor_set(v_reuseFailAlloc_2388_, 8, v_snapshotTasks_2377_); +v___x_2384_ = v_reuseFailAlloc_2388_; +goto v_reusejp_2383_; } -v_reusejp_2381_: +v_reusejp_2383_: { -lean_object* v___x_2383_; lean_object* v___x_2384_; lean_object* v___x_2385_; -v___x_2383_ = lean_st_ref_set(v___y_2364_, v___x_2382_); -v___x_2384_ = lean_box(0); -v___x_2385_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2385_, 0, v___x_2384_); -return v___x_2385_; +lean_object* v___x_2385_; lean_object* v___x_2386_; lean_object* v___x_2387_; +v___x_2385_ = lean_st_ref_set(v___y_2366_, v___x_2384_); +v___x_2386_ = lean_box(0); +v___x_2387_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2387_, 0, v___x_2386_); +return v___x_2387_; } } } } -LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg___boxed(lean_object* v_ext_2389_, lean_object* v_b_2390_, lean_object* v_kind_2391_, lean_object* v___y_2392_, lean_object* v___y_2393_, lean_object* v___y_2394_){ +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg___boxed(lean_object* v_ext_2391_, lean_object* v_b_2392_, lean_object* v_kind_2393_, lean_object* v___y_2394_, lean_object* v___y_2395_, lean_object* v___y_2396_){ _start: { -uint8_t v_kind_boxed_2395_; lean_object* v_res_2396_; -v_kind_boxed_2395_ = lean_unbox(v_kind_2391_); -v_res_2396_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_ext_2389_, v_b_2390_, v_kind_boxed_2395_, v___y_2392_, v___y_2393_); -lean_dec(v___y_2393_); -return v_res_2396_; +uint8_t v_kind_boxed_2397_; lean_object* v_res_2398_; +v_kind_boxed_2397_ = lean_unbox(v_kind_2393_); +v_res_2398_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_ext_2391_, v_b_2392_, v_kind_boxed_2397_, v___y_2394_, v___y_2395_); +lean_dec(v___y_2395_); +return v_res_2398_; } } -LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1(lean_object* v_00_u03b1_2397_, lean_object* v_00_u03b2_2398_, lean_object* v_00_u03c3_2399_, lean_object* v_ext_2400_, lean_object* v_b_2401_, uint8_t v_kind_2402_, lean_object* v___y_2403_, lean_object* v___y_2404_){ +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1(lean_object* v_00_u03b1_2399_, lean_object* v_00_u03b2_2400_, lean_object* v_00_u03c3_2401_, lean_object* v_ext_2402_, lean_object* v_b_2403_, uint8_t v_kind_2404_, lean_object* v___y_2405_, lean_object* v___y_2406_){ _start: { -lean_object* v___x_2406_; -v___x_2406_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_ext_2400_, v_b_2401_, v_kind_2402_, v___y_2403_, v___y_2404_); -return v___x_2406_; +lean_object* v___x_2408_; +v___x_2408_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_ext_2402_, v_b_2403_, v_kind_2404_, v___y_2405_, v___y_2406_); +return v___x_2408_; } } -LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___boxed(lean_object* v_00_u03b1_2407_, lean_object* v_00_u03b2_2408_, lean_object* v_00_u03c3_2409_, lean_object* v_ext_2410_, lean_object* v_b_2411_, lean_object* v_kind_2412_, lean_object* v___y_2413_, lean_object* v___y_2414_, lean_object* v___y_2415_){ +LEAN_EXPORT lean_object* l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___boxed(lean_object* v_00_u03b1_2409_, lean_object* v_00_u03b2_2410_, lean_object* v_00_u03c3_2411_, lean_object* v_ext_2412_, lean_object* v_b_2413_, lean_object* v_kind_2414_, lean_object* v___y_2415_, lean_object* v___y_2416_, lean_object* v___y_2417_){ _start: { -uint8_t v_kind_boxed_2416_; lean_object* v_res_2417_; -v_kind_boxed_2416_ = lean_unbox(v_kind_2412_); -v_res_2417_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1(v_00_u03b1_2407_, v_00_u03b2_2408_, v_00_u03c3_2409_, v_ext_2410_, v_b_2411_, v_kind_boxed_2416_, v___y_2413_, v___y_2414_); -lean_dec(v___y_2414_); -return v_res_2417_; +uint8_t v_kind_boxed_2418_; lean_object* v_res_2419_; +v_kind_boxed_2418_ = lean_unbox(v_kind_2414_); +v_res_2419_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1(v_00_u03b1_2409_, v_00_u03b2_2410_, v_00_u03c3_2411_, v_ext_2412_, v_b_2413_, v_kind_boxed_2418_, v___y_2415_, v___y_2416_); +lean_dec(v___y_2416_); +return v_res_2419_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__0(lean_object* v_df_2418_, lean_object* v_x_2419_, lean_object* v_entry_2420_, lean_object* v___y_2421_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__0(lean_object* v_df_2420_, lean_object* v_x_2421_, lean_object* v_entry_2422_, lean_object* v___y_2423_){ _start: { -lean_object* v_env_2423_; lean_object* v_opts_2424_; lean_object* v_valueTypeName_2425_; lean_object* v_declName_2426_; lean_object* v___x_2427_; -v_env_2423_ = lean_ctor_get(v___y_2421_, 0); -lean_inc_ref(v_env_2423_); -v_opts_2424_ = lean_ctor_get(v___y_2421_, 1); -lean_inc_ref(v_opts_2424_); -lean_dec_ref(v___y_2421_); -v_valueTypeName_2425_ = lean_ctor_get(v_df_2418_, 3); -lean_inc(v_valueTypeName_2425_); -lean_dec_ref(v_df_2418_); -v_declName_2426_ = lean_ctor_get(v_entry_2420_, 1); -lean_inc(v_declName_2426_); -v___x_2427_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2423_, v_opts_2424_, v_valueTypeName_2425_, v_declName_2426_); -lean_dec_ref(v_opts_2424_); -if (lean_obj_tag(v___x_2427_) == 0) +lean_object* v_env_2425_; lean_object* v_opts_2426_; lean_object* v_valueTypeName_2427_; lean_object* v_declName_2428_; lean_object* v___x_2429_; +v_env_2425_ = lean_ctor_get(v___y_2423_, 0); +lean_inc_ref(v_env_2425_); +v_opts_2426_ = lean_ctor_get(v___y_2423_, 1); +lean_inc_ref(v_opts_2426_); +lean_dec_ref(v___y_2423_); +v_valueTypeName_2427_ = lean_ctor_get(v_df_2420_, 3); +lean_inc(v_valueTypeName_2427_); +lean_dec_ref(v_df_2420_); +v_declName_2428_ = lean_ctor_get(v_entry_2422_, 1); +lean_inc(v_declName_2428_); +v___x_2429_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2425_, v_opts_2426_, v_valueTypeName_2427_, v_declName_2428_); +lean_dec_ref(v_opts_2426_); +if (lean_obj_tag(v___x_2429_) == 0) { -lean_object* v_a_2428_; lean_object* v___x_2430_; uint8_t v_isShared_2431_; uint8_t v_isSharedCheck_2436_; -lean_dec_ref(v_entry_2420_); -v_a_2428_ = lean_ctor_get(v___x_2427_, 0); -v_isSharedCheck_2436_ = !lean_is_exclusive(v___x_2427_); -if (v_isSharedCheck_2436_ == 0) +lean_object* v_a_2430_; lean_object* v___x_2432_; uint8_t v_isShared_2433_; uint8_t v_isSharedCheck_2438_; +lean_dec_ref(v_entry_2422_); +v_a_2430_ = lean_ctor_get(v___x_2429_, 0); +v_isSharedCheck_2438_ = !lean_is_exclusive(v___x_2429_); +if (v_isSharedCheck_2438_ == 0) { -v___x_2430_ = v___x_2427_; -v_isShared_2431_ = v_isSharedCheck_2436_; -goto v_resetjp_2429_; +v___x_2432_ = v___x_2429_; +v_isShared_2433_ = v_isSharedCheck_2438_; +goto v_resetjp_2431_; } else { -lean_inc(v_a_2428_); -lean_dec(v___x_2427_); -v___x_2430_ = lean_box(0); -v_isShared_2431_ = v_isSharedCheck_2436_; -goto v_resetjp_2429_; +lean_inc(v_a_2430_); +lean_dec(v___x_2429_); +v___x_2432_ = lean_box(0); +v_isShared_2433_ = v_isSharedCheck_2438_; +goto v_resetjp_2431_; } -v_resetjp_2429_: +v_resetjp_2431_: { -lean_object* v___x_2432_; lean_object* v___x_2434_; -v___x_2432_ = lean_mk_io_user_error(v_a_2428_); -if (v_isShared_2431_ == 0) +lean_object* v___x_2434_; lean_object* v___x_2436_; +v___x_2434_ = lean_mk_io_user_error(v_a_2430_); +if (v_isShared_2433_ == 0) { -lean_ctor_set_tag(v___x_2430_, 1); -lean_ctor_set(v___x_2430_, 0, v___x_2432_); -v___x_2434_ = v___x_2430_; -goto v_reusejp_2433_; +lean_ctor_set_tag(v___x_2432_, 1); +lean_ctor_set(v___x_2432_, 0, v___x_2434_); +v___x_2436_ = v___x_2432_; +goto v_reusejp_2435_; } else { -lean_object* v_reuseFailAlloc_2435_; -v_reuseFailAlloc_2435_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2435_, 0, v___x_2432_); -v___x_2434_ = v_reuseFailAlloc_2435_; -goto v_reusejp_2433_; +lean_object* v_reuseFailAlloc_2437_; +v_reuseFailAlloc_2437_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2437_, 0, v___x_2434_); +v___x_2436_ = v_reuseFailAlloc_2437_; +goto v_reusejp_2435_; } -v_reusejp_2433_: +v_reusejp_2435_: { -return v___x_2434_; +return v___x_2436_; } } } else { -lean_object* v_a_2437_; lean_object* v___x_2439_; uint8_t v_isShared_2440_; uint8_t v_isSharedCheck_2446_; -v_a_2437_ = lean_ctor_get(v___x_2427_, 0); -v_isSharedCheck_2446_ = !lean_is_exclusive(v___x_2427_); -if (v_isSharedCheck_2446_ == 0) +lean_object* v_a_2439_; lean_object* v___x_2441_; uint8_t v_isShared_2442_; uint8_t v_isSharedCheck_2448_; +v_a_2439_ = lean_ctor_get(v___x_2429_, 0); +v_isSharedCheck_2448_ = !lean_is_exclusive(v___x_2429_); +if (v_isSharedCheck_2448_ == 0) { -v___x_2439_ = v___x_2427_; -v_isShared_2440_ = v_isSharedCheck_2446_; -goto v_resetjp_2438_; +v___x_2441_ = v___x_2429_; +v_isShared_2442_ = v_isSharedCheck_2448_; +goto v_resetjp_2440_; } else { -lean_inc(v_a_2437_); -lean_dec(v___x_2427_); -v___x_2439_ = lean_box(0); -v_isShared_2440_ = v_isSharedCheck_2446_; -goto v_resetjp_2438_; +lean_inc(v_a_2439_); +lean_dec(v___x_2429_); +v___x_2441_ = lean_box(0); +v_isShared_2442_ = v_isSharedCheck_2448_; +goto v_resetjp_2440_; } -v_resetjp_2438_: +v_resetjp_2440_: { -uint8_t v___x_2441_; lean_object* v___x_2442_; lean_object* v___x_2444_; -v___x_2441_ = 0; -v___x_2442_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_2442_, 0, v_entry_2420_); -lean_ctor_set(v___x_2442_, 1, v_a_2437_); -lean_ctor_set_uint8(v___x_2442_, sizeof(void*)*2, v___x_2441_); -if (v_isShared_2440_ == 0) +uint8_t v___x_2443_; lean_object* v___x_2444_; lean_object* v___x_2446_; +v___x_2443_ = 0; +v___x_2444_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_2444_, 0, v_entry_2422_); +lean_ctor_set(v___x_2444_, 1, v_a_2439_); +lean_ctor_set_uint8(v___x_2444_, sizeof(void*)*2, v___x_2443_); +if (v_isShared_2442_ == 0) { -lean_ctor_set_tag(v___x_2439_, 0); -lean_ctor_set(v___x_2439_, 0, v___x_2442_); -v___x_2444_ = v___x_2439_; -goto v_reusejp_2443_; +lean_ctor_set_tag(v___x_2441_, 0); +lean_ctor_set(v___x_2441_, 0, v___x_2444_); +v___x_2446_ = v___x_2441_; +goto v_reusejp_2445_; } else { -lean_object* v_reuseFailAlloc_2445_; -v_reuseFailAlloc_2445_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2445_, 0, v___x_2442_); -v___x_2444_ = v_reuseFailAlloc_2445_; -goto v_reusejp_2443_; +lean_object* v_reuseFailAlloc_2447_; +v_reuseFailAlloc_2447_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2447_, 0, v___x_2444_); +v___x_2446_ = v_reuseFailAlloc_2447_; +goto v_reusejp_2445_; } -v_reusejp_2443_: +v_reusejp_2445_: { -return v___x_2444_; +return v___x_2446_; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__0___boxed(lean_object* v_df_2447_, lean_object* v_x_2448_, lean_object* v_entry_2449_, lean_object* v___y_2450_, lean_object* v___y_2451_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__0___boxed(lean_object* v_df_2449_, lean_object* v_x_2450_, lean_object* v_entry_2451_, lean_object* v___y_2452_, lean_object* v___y_2453_){ _start: { -lean_object* v_res_2452_; -v_res_2452_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__0(v_df_2447_, v_x_2448_, v_entry_2449_, v___y_2450_); -lean_dec_ref(v_x_2448_); -return v_res_2452_; +lean_object* v_res_2454_; +v_res_2454_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__0(v_df_2449_, v_x_2450_, v_entry_2451_, v___y_2452_); +lean_dec_ref(v_x_2450_); +return v_res_2454_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__1(lean_object* v_x_2453_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__1(lean_object* v_x_2455_){ _start: { -lean_object* v_toOLeanEntry_2454_; -v_toOLeanEntry_2454_ = lean_ctor_get(v_x_2453_, 0); -lean_inc_ref(v_toOLeanEntry_2454_); -return v_toOLeanEntry_2454_; +lean_object* v_toOLeanEntry_2456_; +v_toOLeanEntry_2456_ = lean_ctor_get(v_x_2455_, 0); +lean_inc_ref(v_toOLeanEntry_2456_); +return v_toOLeanEntry_2456_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__1___boxed(lean_object* v_x_2455_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__1___boxed(lean_object* v_x_2457_){ _start: { -lean_object* v_res_2456_; -v_res_2456_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__1(v_x_2455_); -lean_dec_ref(v_x_2455_); -return v_res_2456_; +lean_object* v_res_2458_; +v_res_2458_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__1(v_x_2457_); +lean_dec_ref(v_x_2457_); +return v_res_2458_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__2(uint8_t v_x_2457_, lean_object* v___y_2458_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__2(uint8_t v_x_2459_, lean_object* v___y_2460_){ _start: { -lean_object* v___x_2459_; -v___x_2459_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2459_, 0, v___y_2458_); -return v___x_2459_; +lean_object* v___x_2461_; +v___x_2461_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2461_, 0, v___y_2460_); +return v___x_2461_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__2___boxed(lean_object* v_x_2460_, lean_object* v___y_2461_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__2___boxed(lean_object* v_x_2462_, lean_object* v___y_2463_){ _start: { -uint8_t v_x_4959__boxed_2462_; lean_object* v_res_2463_; -v_x_4959__boxed_2462_ = lean_unbox(v_x_2460_); -v_res_2463_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__2(v_x_4959__boxed_2462_, v___y_2461_); -return v_res_2463_; +uint8_t v_x_4959__boxed_2464_; lean_object* v_res_2465_; +v_x_4959__boxed_2464_ = lean_unbox(v_x_2462_); +v_res_2465_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__2(v_x_4959__boxed_2464_, v___y_2463_); +return v_res_2465_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__3(lean_object* v___y_2464_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__3(lean_object* v___y_2466_){ _start: { -lean_inc_ref(v___y_2464_); -return v___y_2464_; +lean_inc_ref(v___y_2466_); +return v___y_2466_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__3___boxed(lean_object* v___y_2465_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__3___boxed(lean_object* v___y_2467_){ _start: { -lean_object* v_res_2466_; -v_res_2466_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__3(v___y_2465_); -lean_dec_ref(v___y_2465_); -return v_res_2466_; +lean_object* v_res_2468_; +v_res_2468_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__3(v___y_2467_); +lean_dec_ref(v___y_2467_); +return v_res_2468_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__4(lean_object* v_val_2467_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__4(lean_object* v_val_2469_){ _start: { -lean_object* v___x_2469_; lean_object* v___x_2470_; lean_object* v___x_2471_; -v___x_2469_ = lean_st_ref_get(v_val_2467_); -v___x_2470_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(v___x_2469_); -v___x_2471_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_2471_, 0, v___x_2470_); -return v___x_2471_; +lean_object* v___x_2471_; lean_object* v___x_2472_; lean_object* v___x_2473_; +v___x_2471_ = lean_st_ref_get(v_val_2469_); +v___x_2472_ = l_Lean_KeyedDeclsAttribute_mkStateOfTable___redArg(v___x_2471_); +v___x_2473_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_2473_, 0, v___x_2472_); +return v___x_2473_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__4___boxed(lean_object* v_val_2472_, lean_object* v___y_2473_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__4___boxed(lean_object* v_val_2474_, lean_object* v___y_2475_){ _start: { -lean_object* v_res_2474_; -v_res_2474_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__4(v_val_2472_); -lean_dec(v_val_2472_); -return v_res_2474_; +lean_object* v_res_2476_; +v_res_2476_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__4(v_val_2474_); +lean_dec(v_val_2474_); +return v_res_2476_; } } static lean_object* _init_l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0(void){ _start: { -lean_object* v___x_2475_; lean_object* v___x_2476_; lean_object* v___x_2477_; -v___x_2475_ = lean_box(0); -v___x_2476_ = l_Lean_Elab_abortCommandExceptionId; -v___x_2477_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_2477_, 0, v___x_2476_); -lean_ctor_set(v___x_2477_, 1, v___x_2475_); -return v___x_2477_; +lean_object* v___x_2477_; lean_object* v___x_2478_; lean_object* v___x_2479_; +v___x_2477_ = lean_box(0); +v___x_2478_ = l_Lean_Elab_abortCommandExceptionId; +v___x_2479_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_2479_, 0, v___x_2478_); +lean_ctor_set(v___x_2479_, 1, v___x_2477_); +return v___x_2479_; } } LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(){ _start: { -lean_object* v___x_2479_; lean_object* v___x_2480_; -v___x_2479_ = lean_obj_once(&l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0, &l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0_once, _init_l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0); -v___x_2480_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_2480_, 0, v___x_2479_); -return v___x_2480_; +lean_object* v___x_2481_; lean_object* v___x_2482_; +v___x_2481_ = lean_obj_once(&l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0, &l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0_once, _init_l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___closed__0); +v___x_2482_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_2482_, 0, v___x_2481_); +return v___x_2482_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___boxed(lean_object* v___y_2481_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg___boxed(lean_object* v___y_2483_){ _start: { -lean_object* v_res_2482_; -v_res_2482_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); -return v_res_2482_; +lean_object* v_res_2484_; +v_res_2484_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); +return v_res_2484_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(lean_object* v_x_2483_, lean_object* v___y_2484_, lean_object* v___y_2485_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(lean_object* v_x_2485_, lean_object* v___y_2486_, lean_object* v___y_2487_){ _start: { -if (lean_obj_tag(v_x_2483_) == 0) +if (lean_obj_tag(v_x_2485_) == 0) { -lean_object* v_a_2487_; lean_object* v___x_2488_; lean_object* v___x_2489_; -v_a_2487_ = lean_ctor_get(v_x_2483_, 0); -lean_inc(v_a_2487_); -lean_dec_ref(v_x_2483_); -v___x_2488_ = l_Lean_stringToMessageData(v_a_2487_); -v___x_2489_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2488_, v___y_2484_, v___y_2485_); -return v___x_2489_; +lean_object* v_a_2489_; lean_object* v___x_2490_; lean_object* v___x_2491_; +v_a_2489_ = lean_ctor_get(v_x_2485_, 0); +lean_inc(v_a_2489_); +lean_dec_ref(v_x_2485_); +v___x_2490_ = l_Lean_stringToMessageData(v_a_2489_); +v___x_2491_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2490_, v___y_2486_, v___y_2487_); +return v___x_2491_; } else { -lean_object* v_a_2490_; lean_object* v___x_2492_; uint8_t v_isShared_2493_; uint8_t v_isSharedCheck_2497_; -v_a_2490_ = lean_ctor_get(v_x_2483_, 0); -v_isSharedCheck_2497_ = !lean_is_exclusive(v_x_2483_); -if (v_isSharedCheck_2497_ == 0) +lean_object* v_a_2492_; lean_object* v___x_2494_; uint8_t v_isShared_2495_; uint8_t v_isSharedCheck_2499_; +v_a_2492_ = lean_ctor_get(v_x_2485_, 0); +v_isSharedCheck_2499_ = !lean_is_exclusive(v_x_2485_); +if (v_isSharedCheck_2499_ == 0) { -v___x_2492_ = v_x_2483_; -v_isShared_2493_ = v_isSharedCheck_2497_; -goto v_resetjp_2491_; +v___x_2494_ = v_x_2485_; +v_isShared_2495_ = v_isSharedCheck_2499_; +goto v_resetjp_2493_; } else { -lean_inc(v_a_2490_); -lean_dec(v_x_2483_); -v___x_2492_ = lean_box(0); -v_isShared_2493_ = v_isSharedCheck_2497_; -goto v_resetjp_2491_; +lean_inc(v_a_2492_); +lean_dec(v_x_2485_); +v___x_2494_ = lean_box(0); +v_isShared_2495_ = v_isSharedCheck_2499_; +goto v_resetjp_2493_; } -v_resetjp_2491_: +v_resetjp_2493_: { -lean_object* v___x_2495_; -if (v_isShared_2493_ == 0) +lean_object* v___x_2497_; +if (v_isShared_2495_ == 0) { -lean_ctor_set_tag(v___x_2492_, 0); -v___x_2495_ = v___x_2492_; -goto v_reusejp_2494_; +lean_ctor_set_tag(v___x_2494_, 0); +v___x_2497_ = v___x_2494_; +goto v_reusejp_2496_; } else { -lean_object* v_reuseFailAlloc_2496_; -v_reuseFailAlloc_2496_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2496_, 0, v_a_2490_); -v___x_2495_ = v_reuseFailAlloc_2496_; -goto v_reusejp_2494_; +lean_object* v_reuseFailAlloc_2498_; +v_reuseFailAlloc_2498_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2498_, 0, v_a_2492_); +v___x_2497_ = v_reuseFailAlloc_2498_; +goto v_reusejp_2496_; } -v_reusejp_2494_: +v_reusejp_2496_: { -return v___x_2495_; +return v___x_2497_; } } } } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg___boxed(lean_object* v_x_2498_, lean_object* v___y_2499_, lean_object* v___y_2500_, lean_object* v___y_2501_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg___boxed(lean_object* v_x_2500_, lean_object* v___y_2501_, lean_object* v___y_2502_, lean_object* v___y_2503_){ _start: { -lean_object* v_res_2502_; -v_res_2502_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v_x_2498_, v___y_2499_, v___y_2500_); -lean_dec(v___y_2500_); -lean_dec_ref(v___y_2499_); -return v_res_2502_; +lean_object* v_res_2504_; +v_res_2504_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v_x_2500_, v___y_2501_, v___y_2502_); +lean_dec(v___y_2502_); +lean_dec_ref(v___y_2501_); +return v_res_2504_; } } -LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(lean_object* v_typeName_2503_, lean_object* v_constName_2504_, lean_object* v___y_2505_, lean_object* v___y_2506_){ +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(lean_object* v_typeName_2505_, lean_object* v_constName_2506_, lean_object* v___y_2507_, lean_object* v___y_2508_){ _start: { -lean_object* v___x_2508_; lean_object* v_env_2509_; uint8_t v___x_2510_; -v___x_2508_ = lean_st_ref_get(v___y_2506_); -v_env_2509_ = lean_ctor_get(v___x_2508_, 0); -lean_inc_ref(v_env_2509_); -lean_dec(v___x_2508_); -lean_inc(v_constName_2504_); -v___x_2510_ = lean_has_compile_error(v_env_2509_, v_constName_2504_); -if (v___x_2510_ == 0) +lean_object* v___x_2510_; lean_object* v_env_2511_; uint8_t v___x_2512_; +v___x_2510_ = lean_st_ref_get(v___y_2508_); +v_env_2511_ = lean_ctor_get(v___x_2510_, 0); +lean_inc_ref(v_env_2511_); +lean_dec(v___x_2510_); +lean_inc(v_constName_2506_); +v___x_2512_ = lean_has_compile_error(v_env_2511_, v_constName_2506_); +if (v___x_2512_ == 0) { -lean_object* v___x_2511_; lean_object* v_env_2512_; lean_object* v_options_2513_; lean_object* v___x_2514_; lean_object* v___x_2515_; -v___x_2511_ = lean_st_ref_get(v___y_2506_); -v_env_2512_ = lean_ctor_get(v___x_2511_, 0); -lean_inc_ref(v_env_2512_); -lean_dec(v___x_2511_); -v_options_2513_ = lean_ctor_get(v___y_2505_, 2); -v___x_2514_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2512_, v_options_2513_, v_typeName_2503_, v_constName_2504_); -v___x_2515_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v___x_2514_, v___y_2505_, v___y_2506_); -return v___x_2515_; +lean_object* v___x_2513_; lean_object* v_env_2514_; lean_object* v_options_2515_; lean_object* v___x_2516_; lean_object* v___x_2517_; +v___x_2513_ = lean_st_ref_get(v___y_2508_); +v_env_2514_ = lean_ctor_get(v___x_2513_, 0); +lean_inc_ref(v_env_2514_); +lean_dec(v___x_2513_); +v_options_2515_ = lean_ctor_get(v___y_2507_, 2); +v___x_2516_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2514_, v_options_2515_, v_typeName_2505_, v_constName_2506_); +v___x_2517_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v___x_2516_, v___y_2507_, v___y_2508_); +return v___x_2517_; } else { -lean_object* v___x_2516_; -v___x_2516_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); -if (lean_obj_tag(v___x_2516_) == 0) +lean_object* v___x_2518_; +v___x_2518_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); +if (lean_obj_tag(v___x_2518_) == 0) { -lean_object* v___x_2517_; lean_object* v_env_2518_; lean_object* v_options_2519_; lean_object* v___x_2520_; lean_object* v___x_2521_; -lean_dec_ref(v___x_2516_); -v___x_2517_ = lean_st_ref_get(v___y_2506_); -v_env_2518_ = lean_ctor_get(v___x_2517_, 0); -lean_inc_ref(v_env_2518_); -lean_dec(v___x_2517_); -v_options_2519_ = lean_ctor_get(v___y_2505_, 2); -v___x_2520_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2518_, v_options_2519_, v_typeName_2503_, v_constName_2504_); -v___x_2521_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v___x_2520_, v___y_2505_, v___y_2506_); -return v___x_2521_; +lean_object* v___x_2519_; lean_object* v_env_2520_; lean_object* v_options_2521_; lean_object* v___x_2522_; lean_object* v___x_2523_; +lean_dec_ref(v___x_2518_); +v___x_2519_ = lean_st_ref_get(v___y_2508_); +v_env_2520_ = lean_ctor_get(v___x_2519_, 0); +lean_inc_ref(v_env_2520_); +lean_dec(v___x_2519_); +v_options_2521_ = lean_ctor_get(v___y_2507_, 2); +v___x_2522_ = l_Lean_Environment_evalConstCheck___redArg(v_env_2520_, v_options_2521_, v_typeName_2505_, v_constName_2506_); +v___x_2523_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v___x_2522_, v___y_2507_, v___y_2508_); +return v___x_2523_; } else { -lean_object* v_a_2522_; lean_object* v___x_2524_; uint8_t v_isShared_2525_; uint8_t v_isSharedCheck_2529_; -lean_dec(v_constName_2504_); -lean_dec(v_typeName_2503_); -v_a_2522_ = lean_ctor_get(v___x_2516_, 0); -v_isSharedCheck_2529_ = !lean_is_exclusive(v___x_2516_); -if (v_isSharedCheck_2529_ == 0) +lean_object* v_a_2524_; lean_object* v___x_2526_; uint8_t v_isShared_2527_; uint8_t v_isSharedCheck_2531_; +lean_dec(v_constName_2506_); +lean_dec(v_typeName_2505_); +v_a_2524_ = lean_ctor_get(v___x_2518_, 0); +v_isSharedCheck_2531_ = !lean_is_exclusive(v___x_2518_); +if (v_isSharedCheck_2531_ == 0) { -v___x_2524_ = v___x_2516_; -v_isShared_2525_ = v_isSharedCheck_2529_; -goto v_resetjp_2523_; +v___x_2526_ = v___x_2518_; +v_isShared_2527_ = v_isSharedCheck_2531_; +goto v_resetjp_2525_; } else { -lean_inc(v_a_2522_); -lean_dec(v___x_2516_); -v___x_2524_ = lean_box(0); -v_isShared_2525_ = v_isSharedCheck_2529_; -goto v_resetjp_2523_; +lean_inc(v_a_2524_); +lean_dec(v___x_2518_); +v___x_2526_ = lean_box(0); +v_isShared_2527_ = v_isSharedCheck_2531_; +goto v_resetjp_2525_; } -v_resetjp_2523_: +v_resetjp_2525_: { -lean_object* v___x_2527_; -if (v_isShared_2525_ == 0) +lean_object* v___x_2529_; +if (v_isShared_2527_ == 0) { -v___x_2527_ = v___x_2524_; -goto v_reusejp_2526_; +v___x_2529_ = v___x_2526_; +goto v_reusejp_2528_; } else { -lean_object* v_reuseFailAlloc_2528_; -v_reuseFailAlloc_2528_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2528_, 0, v_a_2522_); -v___x_2527_ = v_reuseFailAlloc_2528_; -goto v_reusejp_2526_; +lean_object* v_reuseFailAlloc_2530_; +v_reuseFailAlloc_2530_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2530_, 0, v_a_2524_); +v___x_2529_ = v_reuseFailAlloc_2530_; +goto v_reusejp_2528_; } -v_reusejp_2526_: +v_reusejp_2528_: { -return v___x_2527_; +return v___x_2529_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg___boxed(lean_object* v_typeName_2530_, lean_object* v_constName_2531_, lean_object* v___y_2532_, lean_object* v___y_2533_, lean_object* v___y_2534_){ +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg___boxed(lean_object* v_typeName_2532_, lean_object* v_constName_2533_, lean_object* v___y_2534_, lean_object* v___y_2535_, lean_object* v___y_2536_){ _start: { -lean_object* v_res_2535_; -v_res_2535_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_typeName_2530_, v_constName_2531_, v___y_2532_, v___y_2533_); -lean_dec(v___y_2533_); -lean_dec_ref(v___y_2532_); -return v_res_2535_; +lean_object* v_res_2537_; +v_res_2537_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_typeName_2532_, v_constName_2533_, v___y_2534_, v___y_2535_); +lean_dec(v___y_2535_); +lean_dec_ref(v___y_2534_); +return v_res_2537_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__5(lean_object* v_attrDeclName_2536_, lean_object* v_evalKey_2537_, lean_object* v_valueTypeName_2538_, uint8_t v___x_2539_, lean_object* v_a_2540_, lean_object* v_onAdded_2541_, lean_object* v_declName_2542_, lean_object* v_stx_2543_, uint8_t v_attrKind_2544_, lean_object* v___y_2545_, lean_object* v___y_2546_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__5(lean_object* v_attrDeclName_2538_, lean_object* v_evalKey_2539_, lean_object* v_valueTypeName_2540_, uint8_t v___x_2541_, lean_object* v_a_2542_, lean_object* v_onAdded_2543_, lean_object* v_declName_2544_, lean_object* v_stx_2545_, uint8_t v_attrKind_2546_, lean_object* v___y_2547_, lean_object* v___y_2548_){ _start: { -lean_object* v___x_2548_; -lean_inc(v___y_2546_); -lean_inc_ref(v___y_2545_); -lean_inc(v_declName_2542_); -v___x_2548_ = l_Lean_ensureAttrDeclIsMeta(v_attrDeclName_2536_, v_declName_2542_, v_attrKind_2544_, v___y_2545_, v___y_2546_); -if (lean_obj_tag(v___x_2548_) == 0) +lean_object* v___x_2550_; +lean_inc(v___y_2548_); +lean_inc_ref(v___y_2547_); +lean_inc(v_declName_2544_); +v___x_2550_ = l_Lean_ensureAttrDeclIsMeta(v_attrDeclName_2538_, v_declName_2544_, v_attrKind_2546_, v___y_2547_, v___y_2548_); +if (lean_obj_tag(v___x_2550_) == 0) { -uint8_t v___x_2549_; lean_object* v___x_2550_; lean_object* v___x_2551_; -lean_dec_ref(v___x_2548_); -v___x_2549_ = 0; -v___x_2550_ = lean_box(v___x_2549_); -lean_inc(v___y_2546_); -lean_inc_ref(v___y_2545_); -v___x_2551_ = lean_apply_5(v_evalKey_2537_, v___x_2550_, v_stx_2543_, v___y_2545_, v___y_2546_, lean_box(0)); -if (lean_obj_tag(v___x_2551_) == 0) +uint8_t v___x_2551_; lean_object* v___x_2552_; lean_object* v___x_2553_; +lean_dec_ref(v___x_2550_); +v___x_2551_ = 0; +v___x_2552_ = lean_box(v___x_2551_); +lean_inc(v___y_2548_); +lean_inc_ref(v___y_2547_); +v___x_2553_ = lean_apply_5(v_evalKey_2539_, v___x_2552_, v_stx_2545_, v___y_2547_, v___y_2548_, lean_box(0)); +if (lean_obj_tag(v___x_2553_) == 0) { -lean_object* v_a_2552_; lean_object* v___x_2554_; uint8_t v_isShared_2555_; uint8_t v_isSharedCheck_2578_; -v_a_2552_ = lean_ctor_get(v___x_2551_, 0); -v_isSharedCheck_2578_ = !lean_is_exclusive(v___x_2551_); -if (v_isSharedCheck_2578_ == 0) +lean_object* v_a_2554_; lean_object* v___x_2556_; uint8_t v_isShared_2557_; uint8_t v_isSharedCheck_2580_; +v_a_2554_ = lean_ctor_get(v___x_2553_, 0); +v_isSharedCheck_2580_ = !lean_is_exclusive(v___x_2553_); +if (v_isSharedCheck_2580_ == 0) { -v___x_2554_ = v___x_2551_; -v_isShared_2555_ = v_isSharedCheck_2578_; -goto v_resetjp_2553_; +v___x_2556_ = v___x_2553_; +v_isShared_2557_ = v_isSharedCheck_2580_; +goto v_resetjp_2555_; } else { -lean_inc(v_a_2552_); -lean_dec(v___x_2551_); -v___x_2554_ = lean_box(0); -v_isShared_2555_ = v_isSharedCheck_2578_; -goto v_resetjp_2553_; +lean_inc(v_a_2554_); +lean_dec(v___x_2553_); +v___x_2556_ = lean_box(0); +v_isShared_2557_ = v_isSharedCheck_2580_; +goto v_resetjp_2555_; } -v_resetjp_2553_: +v_resetjp_2555_: { -lean_object* v___x_2556_; lean_object* v_env_2557_; lean_object* v___x_2558_; -v___x_2556_ = lean_st_ref_get(v___y_2546_); -v_env_2557_ = lean_ctor_get(v___x_2556_, 0); -lean_inc_ref(v_env_2557_); -lean_dec(v___x_2556_); -lean_inc(v_declName_2542_); -v___x_2558_ = lean_decl_get_sorry_dep(v_env_2557_, v_declName_2542_); -if (lean_obj_tag(v___x_2558_) == 0) +lean_object* v___x_2558_; lean_object* v_env_2559_; lean_object* v___x_2560_; +v___x_2558_ = lean_st_ref_get(v___y_2548_); +v_env_2559_ = lean_ctor_get(v___x_2558_, 0); +lean_inc_ref(v_env_2559_); +lean_dec(v___x_2558_); +lean_inc(v_declName_2544_); +v___x_2560_ = lean_decl_get_sorry_dep(v_env_2559_, v_declName_2544_); +if (lean_obj_tag(v___x_2560_) == 0) { -lean_object* v___x_2559_; -lean_del_object(v___x_2554_); -lean_inc(v_declName_2542_); -v___x_2559_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_valueTypeName_2538_, v_declName_2542_, v___y_2545_, v___y_2546_); -if (lean_obj_tag(v___x_2559_) == 0) +lean_object* v___x_2561_; +lean_del_object(v___x_2556_); +lean_inc(v_declName_2544_); +v___x_2561_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_valueTypeName_2540_, v_declName_2544_, v___y_2547_, v___y_2548_); +if (lean_obj_tag(v___x_2561_) == 0) { -lean_object* v_a_2560_; lean_object* v___x_2561_; lean_object* v___x_2562_; lean_object* v___x_2563_; -v_a_2560_ = lean_ctor_get(v___x_2559_, 0); -lean_inc(v_a_2560_); -lean_dec_ref(v___x_2559_); -lean_inc(v_declName_2542_); -lean_inc(v_a_2552_); -v___x_2561_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_2561_, 0, v_a_2552_); -lean_ctor_set(v___x_2561_, 1, v_declName_2542_); -v___x_2562_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_2562_, 0, v___x_2561_); -lean_ctor_set(v___x_2562_, 1, v_a_2560_); -lean_ctor_set_uint8(v___x_2562_, sizeof(void*)*2, v___x_2539_); -lean_inc_ref(v___y_2545_); -v___x_2563_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_a_2540_, v___x_2562_, v_attrKind_2544_, v___y_2545_, v___y_2546_); -if (lean_obj_tag(v___x_2563_) == 0) +lean_object* v_a_2562_; lean_object* v___x_2563_; lean_object* v___x_2564_; lean_object* v___x_2565_; +v_a_2562_ = lean_ctor_get(v___x_2561_, 0); +lean_inc(v_a_2562_); +lean_dec_ref(v___x_2561_); +lean_inc(v_declName_2544_); +lean_inc(v_a_2554_); +v___x_2563_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_2563_, 0, v_a_2554_); +lean_ctor_set(v___x_2563_, 1, v_declName_2544_); +v___x_2564_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_2564_, 0, v___x_2563_); +lean_ctor_set(v___x_2564_, 1, v_a_2562_); +lean_ctor_set_uint8(v___x_2564_, sizeof(void*)*2, v___x_2541_); +lean_inc_ref(v___y_2547_); +v___x_2565_ = l_Lean_ScopedEnvExtension_add___at___00Lean_KeyedDeclsAttribute_init_spec__1___redArg(v_a_2542_, v___x_2564_, v_attrKind_2546_, v___y_2547_, v___y_2548_); +if (lean_obj_tag(v___x_2565_) == 0) { -lean_object* v___x_2564_; lean_object* v___x_2565_; -lean_dec_ref(v___x_2563_); -v___x_2564_ = lean_box(v___x_2549_); -v___x_2565_ = lean_apply_6(v_onAdded_2541_, v___x_2564_, v_declName_2542_, v_a_2552_, v___y_2545_, v___y_2546_, lean_box(0)); +lean_object* v___x_2566_; lean_object* v___x_2567_; +lean_dec_ref(v___x_2565_); +v___x_2566_ = lean_box(v___x_2551_); +v___x_2567_ = lean_apply_6(v_onAdded_2543_, v___x_2566_, v_declName_2544_, v_a_2554_, v___y_2547_, v___y_2548_, lean_box(0)); +return v___x_2567_; +} +else +{ +lean_dec(v_a_2554_); +lean_dec(v___y_2548_); +lean_dec_ref(v___y_2547_); +lean_dec(v_declName_2544_); +lean_dec_ref(v_onAdded_2543_); return v___x_2565_; } -else -{ -lean_dec(v_a_2552_); -lean_dec(v___y_2546_); -lean_dec_ref(v___y_2545_); -lean_dec(v_declName_2542_); -lean_dec_ref(v_onAdded_2541_); -return v___x_2563_; -} } else { -lean_object* v_a_2566_; lean_object* v___x_2568_; uint8_t v_isShared_2569_; uint8_t v_isSharedCheck_2573_; -lean_dec(v_a_2552_); -lean_dec(v___y_2546_); -lean_dec_ref(v___y_2545_); -lean_dec(v_declName_2542_); -lean_dec_ref(v_onAdded_2541_); -lean_dec_ref(v_a_2540_); -v_a_2566_ = lean_ctor_get(v___x_2559_, 0); -v_isSharedCheck_2573_ = !lean_is_exclusive(v___x_2559_); -if (v_isSharedCheck_2573_ == 0) +lean_object* v_a_2568_; lean_object* v___x_2570_; uint8_t v_isShared_2571_; uint8_t v_isSharedCheck_2575_; +lean_dec(v_a_2554_); +lean_dec(v___y_2548_); +lean_dec_ref(v___y_2547_); +lean_dec(v_declName_2544_); +lean_dec_ref(v_onAdded_2543_); +lean_dec_ref(v_a_2542_); +v_a_2568_ = lean_ctor_get(v___x_2561_, 0); +v_isSharedCheck_2575_ = !lean_is_exclusive(v___x_2561_); +if (v_isSharedCheck_2575_ == 0) { -v___x_2568_ = v___x_2559_; -v_isShared_2569_ = v_isSharedCheck_2573_; -goto v_resetjp_2567_; +v___x_2570_ = v___x_2561_; +v_isShared_2571_ = v_isSharedCheck_2575_; +goto v_resetjp_2569_; } else { -lean_inc(v_a_2566_); -lean_dec(v___x_2559_); -v___x_2568_ = lean_box(0); -v_isShared_2569_ = v_isSharedCheck_2573_; -goto v_resetjp_2567_; +lean_inc(v_a_2568_); +lean_dec(v___x_2561_); +v___x_2570_ = lean_box(0); +v_isShared_2571_ = v_isSharedCheck_2575_; +goto v_resetjp_2569_; } -v_resetjp_2567_: +v_resetjp_2569_: { -lean_object* v___x_2571_; -if (v_isShared_2569_ == 0) +lean_object* v___x_2573_; +if (v_isShared_2571_ == 0) { -v___x_2571_ = v___x_2568_; -goto v_reusejp_2570_; +v___x_2573_ = v___x_2570_; +goto v_reusejp_2572_; } else { -lean_object* v_reuseFailAlloc_2572_; -v_reuseFailAlloc_2572_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2572_, 0, v_a_2566_); -v___x_2571_ = v_reuseFailAlloc_2572_; -goto v_reusejp_2570_; +lean_object* v_reuseFailAlloc_2574_; +v_reuseFailAlloc_2574_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2574_, 0, v_a_2568_); +v___x_2573_ = v_reuseFailAlloc_2574_; +goto v_reusejp_2572_; } -v_reusejp_2570_: +v_reusejp_2572_: { -return v___x_2571_; +return v___x_2573_; } } } } else { -lean_object* v___x_2574_; lean_object* v___x_2576_; -lean_dec(v___x_2558_); -lean_dec(v_a_2552_); -lean_dec(v___y_2546_); -lean_dec_ref(v___y_2545_); -lean_dec(v_declName_2542_); -lean_dec_ref(v_onAdded_2541_); -lean_dec_ref(v_a_2540_); -lean_dec(v_valueTypeName_2538_); -v___x_2574_ = lean_box(0); -if (v_isShared_2555_ == 0) +lean_object* v___x_2576_; lean_object* v___x_2578_; +lean_dec(v___x_2560_); +lean_dec(v_a_2554_); +lean_dec(v___y_2548_); +lean_dec_ref(v___y_2547_); +lean_dec(v_declName_2544_); +lean_dec_ref(v_onAdded_2543_); +lean_dec_ref(v_a_2542_); +lean_dec(v_valueTypeName_2540_); +v___x_2576_ = lean_box(0); +if (v_isShared_2557_ == 0) { -lean_ctor_set(v___x_2554_, 0, v___x_2574_); -v___x_2576_ = v___x_2554_; -goto v_reusejp_2575_; +lean_ctor_set(v___x_2556_, 0, v___x_2576_); +v___x_2578_ = v___x_2556_; +goto v_reusejp_2577_; } else { -lean_object* v_reuseFailAlloc_2577_; -v_reuseFailAlloc_2577_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2577_, 0, v___x_2574_); -v___x_2576_ = v_reuseFailAlloc_2577_; -goto v_reusejp_2575_; +lean_object* v_reuseFailAlloc_2579_; +v_reuseFailAlloc_2579_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2579_, 0, v___x_2576_); +v___x_2578_ = v_reuseFailAlloc_2579_; +goto v_reusejp_2577_; } -v_reusejp_2575_: +v_reusejp_2577_: { -return v___x_2576_; +return v___x_2578_; } } } } else { -lean_object* v_a_2579_; lean_object* v___x_2581_; uint8_t v_isShared_2582_; uint8_t v_isSharedCheck_2586_; -lean_dec(v___y_2546_); -lean_dec_ref(v___y_2545_); -lean_dec(v_declName_2542_); -lean_dec_ref(v_onAdded_2541_); -lean_dec_ref(v_a_2540_); -lean_dec(v_valueTypeName_2538_); -v_a_2579_ = lean_ctor_get(v___x_2551_, 0); -v_isSharedCheck_2586_ = !lean_is_exclusive(v___x_2551_); -if (v_isSharedCheck_2586_ == 0) +lean_object* v_a_2581_; lean_object* v___x_2583_; uint8_t v_isShared_2584_; uint8_t v_isSharedCheck_2588_; +lean_dec(v___y_2548_); +lean_dec_ref(v___y_2547_); +lean_dec(v_declName_2544_); +lean_dec_ref(v_onAdded_2543_); +lean_dec_ref(v_a_2542_); +lean_dec(v_valueTypeName_2540_); +v_a_2581_ = lean_ctor_get(v___x_2553_, 0); +v_isSharedCheck_2588_ = !lean_is_exclusive(v___x_2553_); +if (v_isSharedCheck_2588_ == 0) { -v___x_2581_ = v___x_2551_; -v_isShared_2582_ = v_isSharedCheck_2586_; -goto v_resetjp_2580_; +v___x_2583_ = v___x_2553_; +v_isShared_2584_ = v_isSharedCheck_2588_; +goto v_resetjp_2582_; } else { -lean_inc(v_a_2579_); -lean_dec(v___x_2551_); -v___x_2581_ = lean_box(0); -v_isShared_2582_ = v_isSharedCheck_2586_; -goto v_resetjp_2580_; +lean_inc(v_a_2581_); +lean_dec(v___x_2553_); +v___x_2583_ = lean_box(0); +v_isShared_2584_ = v_isSharedCheck_2588_; +goto v_resetjp_2582_; } -v_resetjp_2580_: +v_resetjp_2582_: { -lean_object* v___x_2584_; -if (v_isShared_2582_ == 0) +lean_object* v___x_2586_; +if (v_isShared_2584_ == 0) { -v___x_2584_ = v___x_2581_; -goto v_reusejp_2583_; +v___x_2586_ = v___x_2583_; +goto v_reusejp_2585_; } else { -lean_object* v_reuseFailAlloc_2585_; -v_reuseFailAlloc_2585_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2585_, 0, v_a_2579_); -v___x_2584_ = v_reuseFailAlloc_2585_; -goto v_reusejp_2583_; +lean_object* v_reuseFailAlloc_2587_; +v_reuseFailAlloc_2587_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2587_, 0, v_a_2581_); +v___x_2586_ = v_reuseFailAlloc_2587_; +goto v_reusejp_2585_; } -v_reusejp_2583_: +v_reusejp_2585_: { -return v___x_2584_; +return v___x_2586_; } } } } else { -lean_dec(v___y_2546_); -lean_dec_ref(v___y_2545_); -lean_dec(v_stx_2543_); -lean_dec(v_declName_2542_); -lean_dec_ref(v_onAdded_2541_); -lean_dec_ref(v_a_2540_); -lean_dec(v_valueTypeName_2538_); -lean_dec_ref(v_evalKey_2537_); -return v___x_2548_; +lean_dec(v___y_2548_); +lean_dec_ref(v___y_2547_); +lean_dec(v_stx_2545_); +lean_dec(v_declName_2544_); +lean_dec_ref(v_onAdded_2543_); +lean_dec_ref(v_a_2542_); +lean_dec(v_valueTypeName_2540_); +lean_dec_ref(v_evalKey_2539_); +return v___x_2550_; } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__5___boxed(lean_object* v_attrDeclName_2587_, lean_object* v_evalKey_2588_, lean_object* v_valueTypeName_2589_, lean_object* v___x_2590_, lean_object* v_a_2591_, lean_object* v_onAdded_2592_, lean_object* v_declName_2593_, lean_object* v_stx_2594_, lean_object* v_attrKind_2595_, lean_object* v___y_2596_, lean_object* v___y_2597_, lean_object* v___y_2598_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__5___boxed(lean_object* v_attrDeclName_2589_, lean_object* v_evalKey_2590_, lean_object* v_valueTypeName_2591_, lean_object* v___x_2592_, lean_object* v_a_2593_, lean_object* v_onAdded_2594_, lean_object* v_declName_2595_, lean_object* v_stx_2596_, lean_object* v_attrKind_2597_, lean_object* v___y_2598_, lean_object* v___y_2599_, lean_object* v___y_2600_){ _start: { -uint8_t v___x_5073__boxed_2599_; uint8_t v_attrKind_boxed_2600_; lean_object* v_res_2601_; -v___x_5073__boxed_2599_ = lean_unbox(v___x_2590_); -v_attrKind_boxed_2600_ = lean_unbox(v_attrKind_2595_); -v_res_2601_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__5(v_attrDeclName_2587_, v_evalKey_2588_, v_valueTypeName_2589_, v___x_5073__boxed_2599_, v_a_2591_, v_onAdded_2592_, v_declName_2593_, v_stx_2594_, v_attrKind_boxed_2600_, v___y_2596_, v___y_2597_); -return v_res_2601_; +uint8_t v___x_5073__boxed_2601_; uint8_t v_attrKind_boxed_2602_; lean_object* v_res_2603_; +v___x_5073__boxed_2601_ = lean_unbox(v___x_2592_); +v_attrKind_boxed_2602_ = lean_unbox(v_attrKind_2597_); +v_res_2603_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__5(v_attrDeclName_2589_, v_evalKey_2590_, v_valueTypeName_2591_, v___x_5073__boxed_2601_, v_a_2593_, v_onAdded_2594_, v_declName_2595_, v_stx_2596_, v_attrKind_boxed_2602_, v___y_2598_, v___y_2599_); +return v_res_2603_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__6(lean_object* v_a_2602_, lean_object* v_x_2603_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__6(lean_object* v_a_2604_, lean_object* v_x_2605_){ _start: { -lean_inc_ref(v_a_2602_); -return v_a_2602_; +lean_inc_ref(v_a_2604_); +return v_a_2604_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__6___boxed(lean_object* v_a_2604_, lean_object* v_x_2605_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__6___boxed(lean_object* v_a_2606_, lean_object* v_x_2607_){ _start: { -lean_object* v_res_2606_; -v_res_2606_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__6(v_a_2604_, v_x_2605_); -lean_dec_ref(v_x_2605_); -lean_dec_ref(v_a_2604_); -return v_res_2606_; +lean_object* v_res_2608_; +v_res_2608_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__6(v_a_2606_, v_x_2607_); +lean_dec_ref(v_x_2607_); +lean_dec_ref(v_a_2606_); +return v_res_2608_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__7(lean_object* v_a_2607_, lean_object* v___x_2608_, lean_object* v_name_2609_, lean_object* v_declName_2610_, lean_object* v___y_2611_, lean_object* v___y_2612_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__7(lean_object* v_a_2609_, lean_object* v___x_2610_, lean_object* v_name_2611_, lean_object* v_declName_2612_, lean_object* v___y_2613_, lean_object* v___y_2614_){ _start: { -lean_object* v___x_2614_; lean_object* v_ext_2615_; lean_object* v_toEnvExtension_2616_; lean_object* v_env_2617_; lean_object* v_asyncMode_2618_; lean_object* v___x_2619_; lean_object* v___x_2620_; -v___x_2614_ = lean_st_ref_get(v___y_2612_); -v_ext_2615_ = lean_ctor_get(v_a_2607_, 1); -v_toEnvExtension_2616_ = lean_ctor_get(v_ext_2615_, 0); -v_env_2617_ = lean_ctor_get(v___x_2614_, 0); -lean_inc_ref(v_env_2617_); -lean_dec(v___x_2614_); -v_asyncMode_2618_ = lean_ctor_get(v_toEnvExtension_2616_, 2); -v___x_2619_ = l_Lean_ScopedEnvExtension_getState___redArg(v___x_2608_, v_a_2607_, v_env_2617_, v_asyncMode_2618_); -v___x_2620_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v___x_2619_, v_name_2609_, v_declName_2610_, v___y_2611_, v___y_2612_); -if (lean_obj_tag(v___x_2620_) == 0) +lean_object* v___x_2616_; lean_object* v_ext_2617_; lean_object* v_toEnvExtension_2618_; lean_object* v_env_2619_; lean_object* v_asyncMode_2620_; lean_object* v___x_2621_; lean_object* v___x_2622_; +v___x_2616_ = lean_st_ref_get(v___y_2614_); +v_ext_2617_ = lean_ctor_get(v_a_2609_, 1); +v_toEnvExtension_2618_ = lean_ctor_get(v_ext_2617_, 0); +v_env_2619_ = lean_ctor_get(v___x_2616_, 0); +lean_inc_ref(v_env_2619_); +lean_dec(v___x_2616_); +v_asyncMode_2620_ = lean_ctor_get(v_toEnvExtension_2618_, 2); +v___x_2621_ = l_Lean_ScopedEnvExtension_getState___redArg(v___x_2610_, v_a_2609_, v_env_2619_, v_asyncMode_2620_); +v___x_2622_ = l_Lean_KeyedDeclsAttribute_ExtensionState_erase___redArg(v___x_2621_, v_name_2611_, v_declName_2612_, v___y_2613_, v___y_2614_); +if (lean_obj_tag(v___x_2622_) == 0) { -lean_object* v_a_2621_; lean_object* v___x_2623_; uint8_t v_isShared_2624_; uint8_t v_isSharedCheck_2650_; -v_a_2621_ = lean_ctor_get(v___x_2620_, 0); -v_isSharedCheck_2650_ = !lean_is_exclusive(v___x_2620_); +lean_object* v_a_2623_; lean_object* v___x_2625_; uint8_t v_isShared_2626_; uint8_t v_isSharedCheck_2652_; +v_a_2623_ = lean_ctor_get(v___x_2622_, 0); +v_isSharedCheck_2652_ = !lean_is_exclusive(v___x_2622_); +if (v_isSharedCheck_2652_ == 0) +{ +v___x_2625_ = v___x_2622_; +v_isShared_2626_ = v_isSharedCheck_2652_; +goto v_resetjp_2624_; +} +else +{ +lean_inc(v_a_2623_); +lean_dec(v___x_2622_); +v___x_2625_ = lean_box(0); +v_isShared_2626_ = v_isSharedCheck_2652_; +goto v_resetjp_2624_; +} +v_resetjp_2624_: +{ +lean_object* v___x_2627_; lean_object* v_env_2628_; lean_object* v_nextMacroScope_2629_; lean_object* v_ngen_2630_; lean_object* v_auxDeclNGen_2631_; lean_object* v_traceState_2632_; lean_object* v_messages_2633_; lean_object* v_infoState_2634_; lean_object* v_snapshotTasks_2635_; lean_object* v___x_2637_; uint8_t v_isShared_2638_; uint8_t v_isSharedCheck_2650_; +v___x_2627_ = lean_st_ref_take(v___y_2614_); +v_env_2628_ = lean_ctor_get(v___x_2627_, 0); +v_nextMacroScope_2629_ = lean_ctor_get(v___x_2627_, 1); +v_ngen_2630_ = lean_ctor_get(v___x_2627_, 2); +v_auxDeclNGen_2631_ = lean_ctor_get(v___x_2627_, 3); +v_traceState_2632_ = lean_ctor_get(v___x_2627_, 4); +v_messages_2633_ = lean_ctor_get(v___x_2627_, 6); +v_infoState_2634_ = lean_ctor_get(v___x_2627_, 7); +v_snapshotTasks_2635_ = lean_ctor_get(v___x_2627_, 8); +v_isSharedCheck_2650_ = !lean_is_exclusive(v___x_2627_); if (v_isSharedCheck_2650_ == 0) { -v___x_2623_ = v___x_2620_; -v_isShared_2624_ = v_isSharedCheck_2650_; -goto v_resetjp_2622_; +lean_object* v_unused_2651_; +v_unused_2651_ = lean_ctor_get(v___x_2627_, 5); +lean_dec(v_unused_2651_); +v___x_2637_ = v___x_2627_; +v_isShared_2638_ = v_isSharedCheck_2650_; +goto v_resetjp_2636_; } else { -lean_inc(v_a_2621_); -lean_dec(v___x_2620_); -v___x_2623_ = lean_box(0); -v_isShared_2624_ = v_isSharedCheck_2650_; -goto v_resetjp_2622_; +lean_inc(v_snapshotTasks_2635_); +lean_inc(v_infoState_2634_); +lean_inc(v_messages_2633_); +lean_inc(v_traceState_2632_); +lean_inc(v_auxDeclNGen_2631_); +lean_inc(v_ngen_2630_); +lean_inc(v_nextMacroScope_2629_); +lean_inc(v_env_2628_); +lean_dec(v___x_2627_); +v___x_2637_ = lean_box(0); +v_isShared_2638_ = v_isSharedCheck_2650_; +goto v_resetjp_2636_; } -v_resetjp_2622_: +v_resetjp_2636_: { -lean_object* v___x_2625_; lean_object* v_env_2626_; lean_object* v_nextMacroScope_2627_; lean_object* v_ngen_2628_; lean_object* v_auxDeclNGen_2629_; lean_object* v_traceState_2630_; lean_object* v_messages_2631_; lean_object* v_infoState_2632_; lean_object* v_snapshotTasks_2633_; lean_object* v___x_2635_; uint8_t v_isShared_2636_; uint8_t v_isSharedCheck_2648_; -v___x_2625_ = lean_st_ref_take(v___y_2612_); -v_env_2626_ = lean_ctor_get(v___x_2625_, 0); -v_nextMacroScope_2627_ = lean_ctor_get(v___x_2625_, 1); -v_ngen_2628_ = lean_ctor_get(v___x_2625_, 2); -v_auxDeclNGen_2629_ = lean_ctor_get(v___x_2625_, 3); -v_traceState_2630_ = lean_ctor_get(v___x_2625_, 4); -v_messages_2631_ = lean_ctor_get(v___x_2625_, 6); -v_infoState_2632_ = lean_ctor_get(v___x_2625_, 7); -v_snapshotTasks_2633_ = lean_ctor_get(v___x_2625_, 8); -v_isSharedCheck_2648_ = !lean_is_exclusive(v___x_2625_); -if (v_isSharedCheck_2648_ == 0) +lean_object* v___f_2639_; lean_object* v___x_2640_; lean_object* v___x_2641_; lean_object* v___x_2643_; +v___f_2639_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__6___boxed), 2, 1); +lean_closure_set(v___f_2639_, 0, v_a_2623_); +v___x_2640_ = l_Lean_ScopedEnvExtension_modifyState___redArg(v_a_2609_, v_env_2628_, v___f_2639_); +v___x_2641_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__0_spec__0___closed__5); +if (v_isShared_2638_ == 0) { -lean_object* v_unused_2649_; -v_unused_2649_ = lean_ctor_get(v___x_2625_, 5); -lean_dec(v_unused_2649_); -v___x_2635_ = v___x_2625_; -v_isShared_2636_ = v_isSharedCheck_2648_; -goto v_resetjp_2634_; +lean_ctor_set(v___x_2637_, 5, v___x_2641_); +lean_ctor_set(v___x_2637_, 0, v___x_2640_); +v___x_2643_ = v___x_2637_; +goto v_reusejp_2642_; } else { -lean_inc(v_snapshotTasks_2633_); -lean_inc(v_infoState_2632_); -lean_inc(v_messages_2631_); -lean_inc(v_traceState_2630_); -lean_inc(v_auxDeclNGen_2629_); -lean_inc(v_ngen_2628_); -lean_inc(v_nextMacroScope_2627_); -lean_inc(v_env_2626_); -lean_dec(v___x_2625_); -v___x_2635_ = lean_box(0); -v_isShared_2636_ = v_isSharedCheck_2648_; -goto v_resetjp_2634_; +lean_object* v_reuseFailAlloc_2649_; +v_reuseFailAlloc_2649_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_2649_, 0, v___x_2640_); +lean_ctor_set(v_reuseFailAlloc_2649_, 1, v_nextMacroScope_2629_); +lean_ctor_set(v_reuseFailAlloc_2649_, 2, v_ngen_2630_); +lean_ctor_set(v_reuseFailAlloc_2649_, 3, v_auxDeclNGen_2631_); +lean_ctor_set(v_reuseFailAlloc_2649_, 4, v_traceState_2632_); +lean_ctor_set(v_reuseFailAlloc_2649_, 5, v___x_2641_); +lean_ctor_set(v_reuseFailAlloc_2649_, 6, v_messages_2633_); +lean_ctor_set(v_reuseFailAlloc_2649_, 7, v_infoState_2634_); +lean_ctor_set(v_reuseFailAlloc_2649_, 8, v_snapshotTasks_2635_); +v___x_2643_ = v_reuseFailAlloc_2649_; +goto v_reusejp_2642_; } -v_resetjp_2634_: +v_reusejp_2642_: { -lean_object* v___f_2637_; lean_object* v___x_2638_; lean_object* v___x_2639_; lean_object* v___x_2641_; -v___f_2637_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__6___boxed), 2, 1); -lean_closure_set(v___f_2637_, 0, v_a_2621_); -v___x_2638_ = l_Lean_ScopedEnvExtension_modifyState___redArg(v_a_2607_, v_env_2626_, v___f_2637_); -v___x_2639_ = lean_obj_once(&l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5, &l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5_once, _init_l___private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__0_spec__0___closed__5); -if (v_isShared_2636_ == 0) +lean_object* v___x_2644_; lean_object* v___x_2645_; lean_object* v___x_2647_; +v___x_2644_ = lean_st_ref_set(v___y_2614_, v___x_2643_); +v___x_2645_ = lean_box(0); +if (v_isShared_2626_ == 0) { -lean_ctor_set(v___x_2635_, 5, v___x_2639_); -lean_ctor_set(v___x_2635_, 0, v___x_2638_); -v___x_2641_ = v___x_2635_; -goto v_reusejp_2640_; +lean_ctor_set(v___x_2625_, 0, v___x_2645_); +v___x_2647_ = v___x_2625_; +goto v_reusejp_2646_; } else { -lean_object* v_reuseFailAlloc_2647_; -v_reuseFailAlloc_2647_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_2647_, 0, v___x_2638_); -lean_ctor_set(v_reuseFailAlloc_2647_, 1, v_nextMacroScope_2627_); -lean_ctor_set(v_reuseFailAlloc_2647_, 2, v_ngen_2628_); -lean_ctor_set(v_reuseFailAlloc_2647_, 3, v_auxDeclNGen_2629_); -lean_ctor_set(v_reuseFailAlloc_2647_, 4, v_traceState_2630_); -lean_ctor_set(v_reuseFailAlloc_2647_, 5, v___x_2639_); -lean_ctor_set(v_reuseFailAlloc_2647_, 6, v_messages_2631_); -lean_ctor_set(v_reuseFailAlloc_2647_, 7, v_infoState_2632_); -lean_ctor_set(v_reuseFailAlloc_2647_, 8, v_snapshotTasks_2633_); -v___x_2641_ = v_reuseFailAlloc_2647_; -goto v_reusejp_2640_; +lean_object* v_reuseFailAlloc_2648_; +v_reuseFailAlloc_2648_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2648_, 0, v___x_2645_); +v___x_2647_ = v_reuseFailAlloc_2648_; +goto v_reusejp_2646_; } -v_reusejp_2640_: +v_reusejp_2646_: { -lean_object* v___x_2642_; lean_object* v___x_2643_; lean_object* v___x_2645_; -v___x_2642_ = lean_st_ref_set(v___y_2612_, v___x_2641_); -v___x_2643_ = lean_box(0); -if (v_isShared_2624_ == 0) -{ -lean_ctor_set(v___x_2623_, 0, v___x_2643_); -v___x_2645_ = v___x_2623_; -goto v_reusejp_2644_; -} -else -{ -lean_object* v_reuseFailAlloc_2646_; -v_reuseFailAlloc_2646_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2646_, 0, v___x_2643_); -v___x_2645_ = v_reuseFailAlloc_2646_; -goto v_reusejp_2644_; -} -v_reusejp_2644_: -{ -return v___x_2645_; +return v___x_2647_; } } } @@ -8005,891 +8008,891 @@ return v___x_2645_; } else { -lean_object* v_a_2651_; lean_object* v___x_2653_; uint8_t v_isShared_2654_; uint8_t v_isSharedCheck_2658_; -lean_dec_ref(v_a_2607_); -v_a_2651_ = lean_ctor_get(v___x_2620_, 0); -v_isSharedCheck_2658_ = !lean_is_exclusive(v___x_2620_); -if (v_isSharedCheck_2658_ == 0) +lean_object* v_a_2653_; lean_object* v___x_2655_; uint8_t v_isShared_2656_; uint8_t v_isSharedCheck_2660_; +lean_dec_ref(v_a_2609_); +v_a_2653_ = lean_ctor_get(v___x_2622_, 0); +v_isSharedCheck_2660_ = !lean_is_exclusive(v___x_2622_); +if (v_isSharedCheck_2660_ == 0) { -v___x_2653_ = v___x_2620_; -v_isShared_2654_ = v_isSharedCheck_2658_; -goto v_resetjp_2652_; +v___x_2655_ = v___x_2622_; +v_isShared_2656_ = v_isSharedCheck_2660_; +goto v_resetjp_2654_; } else { -lean_inc(v_a_2651_); -lean_dec(v___x_2620_); -v___x_2653_ = lean_box(0); -v_isShared_2654_ = v_isSharedCheck_2658_; -goto v_resetjp_2652_; +lean_inc(v_a_2653_); +lean_dec(v___x_2622_); +v___x_2655_ = lean_box(0); +v_isShared_2656_ = v_isSharedCheck_2660_; +goto v_resetjp_2654_; } -v_resetjp_2652_: +v_resetjp_2654_: { -lean_object* v___x_2656_; -if (v_isShared_2654_ == 0) +lean_object* v___x_2658_; +if (v_isShared_2656_ == 0) { -v___x_2656_ = v___x_2653_; -goto v_reusejp_2655_; +v___x_2658_ = v___x_2655_; +goto v_reusejp_2657_; } else { -lean_object* v_reuseFailAlloc_2657_; -v_reuseFailAlloc_2657_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2657_, 0, v_a_2651_); -v___x_2656_ = v_reuseFailAlloc_2657_; -goto v_reusejp_2655_; +lean_object* v_reuseFailAlloc_2659_; +v_reuseFailAlloc_2659_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2659_, 0, v_a_2653_); +v___x_2658_ = v_reuseFailAlloc_2659_; +goto v_reusejp_2657_; } -v_reusejp_2655_: +v_reusejp_2657_: { -return v___x_2656_; +return v___x_2658_; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__7___boxed(lean_object* v_a_2659_, lean_object* v___x_2660_, lean_object* v_name_2661_, lean_object* v_declName_2662_, lean_object* v___y_2663_, lean_object* v___y_2664_, lean_object* v___y_2665_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__7___boxed(lean_object* v_a_2661_, lean_object* v___x_2662_, lean_object* v_name_2663_, lean_object* v_declName_2664_, lean_object* v___y_2665_, lean_object* v___y_2666_, lean_object* v___y_2667_){ _start: { -lean_object* v_res_2666_; -v_res_2666_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__7(v_a_2659_, v___x_2660_, v_name_2661_, v_declName_2662_, v___y_2663_, v___y_2664_); -lean_dec(v___y_2664_); -lean_dec_ref(v___y_2663_); -return v_res_2666_; +lean_object* v_res_2668_; +v_res_2668_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__7(v_a_2661_, v___x_2662_, v_name_2663_, v_declName_2664_, v___y_2665_, v___y_2666_); +lean_dec(v___y_2666_); +lean_dec_ref(v___y_2665_); +return v_res_2668_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1(void){ _start: { -lean_object* v___x_2668_; lean_object* v___x_2669_; -v___x_2668_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__0)); -v___x_2669_ = l_Lean_stringToMessageData(v___x_2668_); -return v___x_2669_; +lean_object* v___x_2670_; lean_object* v___x_2671_; +v___x_2670_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__0)); +v___x_2671_ = l_Lean_stringToMessageData(v___x_2670_); +return v___x_2671_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3(void){ _start: { -lean_object* v___x_2671_; lean_object* v___x_2672_; -v___x_2671_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__2)); -v___x_2672_ = l_Lean_stringToMessageData(v___x_2671_); -return v___x_2672_; +lean_object* v___x_2673_; lean_object* v___x_2674_; +v___x_2673_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__2)); +v___x_2674_ = l_Lean_stringToMessageData(v___x_2673_); +return v___x_2674_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__8(lean_object* v_builtinName_2673_, lean_object* v_decl_2674_, lean_object* v___y_2675_, lean_object* v___y_2676_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__8(lean_object* v_builtinName_2675_, lean_object* v_decl_2676_, lean_object* v___y_2677_, lean_object* v___y_2678_){ _start: { -lean_object* v___x_2678_; lean_object* v___x_2679_; lean_object* v___x_2680_; lean_object* v___x_2681_; lean_object* v___x_2682_; lean_object* v___x_2683_; -v___x_2678_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1); -v___x_2679_ = l_Lean_MessageData_ofName(v_builtinName_2673_); -v___x_2680_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2680_, 0, v___x_2678_); -lean_ctor_set(v___x_2680_, 1, v___x_2679_); -v___x_2681_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3); +lean_object* v___x_2680_; lean_object* v___x_2681_; lean_object* v___x_2682_; lean_object* v___x_2683_; lean_object* v___x_2684_; lean_object* v___x_2685_; +v___x_2680_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__1); +v___x_2681_ = l_Lean_MessageData_ofName(v_builtinName_2675_); v___x_2682_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2682_, 0, v___x_2680_); lean_ctor_set(v___x_2682_, 1, v___x_2681_); -v___x_2683_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2682_, v___y_2675_, v___y_2676_); -return v___x_2683_; +v___x_2683_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___closed__3); +v___x_2684_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2684_, 0, v___x_2682_); +lean_ctor_set(v___x_2684_, 1, v___x_2683_); +v___x_2685_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2684_, v___y_2677_, v___y_2678_); +return v___x_2685_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___boxed(lean_object* v_builtinName_2684_, lean_object* v_decl_2685_, lean_object* v___y_2686_, lean_object* v___y_2687_, lean_object* v___y_2688_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___boxed(lean_object* v_builtinName_2686_, lean_object* v_decl_2687_, lean_object* v___y_2688_, lean_object* v___y_2689_, lean_object* v___y_2690_){ _start: { -lean_object* v_res_2689_; -v_res_2689_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__8(v_builtinName_2684_, v_decl_2685_, v___y_2686_, v___y_2687_); -lean_dec(v___y_2687_); -lean_dec_ref(v___y_2686_); -lean_dec(v_decl_2685_); -return v_res_2689_; +lean_object* v_res_2691_; +v_res_2691_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__8(v_builtinName_2686_, v_decl_2687_, v___y_2688_, v___y_2689_); +lean_dec(v___y_2689_); +lean_dec_ref(v___y_2688_); +lean_dec(v_decl_2687_); +return v_res_2691_; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(lean_object* v_constName_2690_, lean_object* v___y_2691_, lean_object* v___y_2692_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(lean_object* v_constName_2692_, lean_object* v___y_2693_, lean_object* v___y_2694_){ _start: { -lean_object* v___x_2694_; lean_object* v_env_2695_; uint8_t v___x_2696_; lean_object* v___x_2697_; -v___x_2694_ = lean_st_ref_get(v___y_2692_); -v_env_2695_ = lean_ctor_get(v___x_2694_, 0); -lean_inc_ref(v_env_2695_); -lean_dec(v___x_2694_); -v___x_2696_ = 0; -lean_inc(v_constName_2690_); -v___x_2697_ = l_Lean_Environment_find_x3f(v_env_2695_, v_constName_2690_, v___x_2696_); -if (lean_obj_tag(v___x_2697_) == 0) +lean_object* v___x_2696_; lean_object* v_env_2697_; uint8_t v___x_2698_; lean_object* v___x_2699_; +v___x_2696_ = lean_st_ref_get(v___y_2694_); +v_env_2697_ = lean_ctor_get(v___x_2696_, 0); +lean_inc_ref(v_env_2697_); +lean_dec(v___x_2696_); +v___x_2698_ = 0; +lean_inc(v_constName_2692_); +v___x_2699_ = l_Lean_Environment_find_x3f(v_env_2697_, v_constName_2692_, v___x_2698_); +if (lean_obj_tag(v___x_2699_) == 0) { -lean_object* v___x_2698_; -v___x_2698_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_2690_, v___y_2691_, v___y_2692_); -return v___x_2698_; +lean_object* v___x_2700_; +v___x_2700_ = l_Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12___redArg(v_constName_2692_, v___y_2693_, v___y_2694_); +return v___x_2700_; } else { -lean_object* v_val_2699_; lean_object* v___x_2701_; uint8_t v_isShared_2702_; uint8_t v_isSharedCheck_2706_; -lean_dec_ref(v___y_2691_); -lean_dec(v_constName_2690_); -v_val_2699_ = lean_ctor_get(v___x_2697_, 0); -v_isSharedCheck_2706_ = !lean_is_exclusive(v___x_2697_); -if (v_isSharedCheck_2706_ == 0) +lean_object* v_val_2701_; lean_object* v___x_2703_; uint8_t v_isShared_2704_; uint8_t v_isSharedCheck_2708_; +lean_dec_ref(v___y_2693_); +lean_dec(v_constName_2692_); +v_val_2701_ = lean_ctor_get(v___x_2699_, 0); +v_isSharedCheck_2708_ = !lean_is_exclusive(v___x_2699_); +if (v_isSharedCheck_2708_ == 0) { -v___x_2701_ = v___x_2697_; -v_isShared_2702_ = v_isSharedCheck_2706_; -goto v_resetjp_2700_; +v___x_2703_ = v___x_2699_; +v_isShared_2704_ = v_isSharedCheck_2708_; +goto v_resetjp_2702_; } else { -lean_inc(v_val_2699_); -lean_dec(v___x_2697_); -v___x_2701_ = lean_box(0); -v_isShared_2702_ = v_isSharedCheck_2706_; -goto v_resetjp_2700_; +lean_inc(v_val_2701_); +lean_dec(v___x_2699_); +v___x_2703_ = lean_box(0); +v_isShared_2704_ = v_isSharedCheck_2708_; +goto v_resetjp_2702_; } -v_resetjp_2700_: +v_resetjp_2702_: { -lean_object* v___x_2704_; -if (v_isShared_2702_ == 0) +lean_object* v___x_2706_; +if (v_isShared_2704_ == 0) { -lean_ctor_set_tag(v___x_2701_, 0); -v___x_2704_ = v___x_2701_; -goto v_reusejp_2703_; +lean_ctor_set_tag(v___x_2703_, 0); +v___x_2706_ = v___x_2703_; +goto v_reusejp_2705_; } else { -lean_object* v_reuseFailAlloc_2705_; -v_reuseFailAlloc_2705_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2705_, 0, v_val_2699_); -v___x_2704_ = v_reuseFailAlloc_2705_; -goto v_reusejp_2703_; +lean_object* v_reuseFailAlloc_2707_; +v_reuseFailAlloc_2707_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2707_, 0, v_val_2701_); +v___x_2706_ = v_reuseFailAlloc_2707_; +goto v_reusejp_2705_; } -v_reusejp_2703_: +v_reusejp_2705_: { -return v___x_2704_; +return v___x_2706_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2___boxed(lean_object* v_constName_2707_, lean_object* v___y_2708_, lean_object* v___y_2709_, lean_object* v___y_2710_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2___boxed(lean_object* v_constName_2709_, lean_object* v___y_2710_, lean_object* v___y_2711_, lean_object* v___y_2712_){ _start: { -lean_object* v_res_2711_; -v_res_2711_ = l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(v_constName_2707_, v___y_2708_, v___y_2709_); -lean_dec(v___y_2709_); -return v_res_2711_; +lean_object* v_res_2713_; +v_res_2713_ = l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(v_constName_2709_, v___y_2710_, v___y_2711_); +lean_dec(v___y_2711_); +return v_res_2713_; } } static lean_object* _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1(void){ _start: { -lean_object* v___x_2713_; lean_object* v___x_2714_; -v___x_2713_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__0)); -v___x_2714_ = l_Lean_stringToMessageData(v___x_2713_); -return v___x_2714_; +lean_object* v___x_2715_; lean_object* v___x_2716_; +v___x_2715_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__0)); +v___x_2716_ = l_Lean_stringToMessageData(v___x_2715_); +return v___x_2716_; } } static lean_object* _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3(void){ _start: { -lean_object* v___x_2716_; lean_object* v___x_2717_; -v___x_2716_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__2)); -v___x_2717_ = l_Lean_stringToMessageData(v___x_2716_); -return v___x_2717_; +lean_object* v___x_2718_; lean_object* v___x_2719_; +v___x_2718_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__2)); +v___x_2719_ = l_Lean_stringToMessageData(v___x_2718_); +return v___x_2719_; } } static lean_object* _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5(void){ _start: { -lean_object* v___x_2719_; lean_object* v___x_2720_; -v___x_2719_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__4)); -v___x_2720_ = l_Lean_stringToMessageData(v___x_2719_); -return v___x_2720_; +lean_object* v___x_2721_; lean_object* v___x_2722_; +v___x_2721_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__4)); +v___x_2722_ = l_Lean_stringToMessageData(v___x_2721_); +return v___x_2722_; } } static lean_object* _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7(void){ _start: { -lean_object* v___x_2722_; lean_object* v___x_2723_; -v___x_2722_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__6)); -v___x_2723_ = l_Lean_stringToMessageData(v___x_2722_); -return v___x_2723_; +lean_object* v___x_2724_; lean_object* v___x_2725_; +v___x_2724_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__6)); +v___x_2725_ = l_Lean_stringToMessageData(v___x_2724_); +return v___x_2725_; } } static lean_object* _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9(void){ _start: { -lean_object* v___x_2725_; lean_object* v___x_2726_; -v___x_2725_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__8)); -v___x_2726_ = l_Lean_stringToMessageData(v___x_2725_); -return v___x_2726_; +lean_object* v___x_2727_; lean_object* v___x_2728_; +v___x_2727_ = ((lean_object*)(l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__8)); +v___x_2728_ = l_Lean_stringToMessageData(v___x_2727_); +return v___x_2728_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(lean_object* v_attrName_2727_, lean_object* v_declName_2728_, lean_object* v_givenType_2729_, lean_object* v_expectedType_2730_, lean_object* v___y_2731_, lean_object* v___y_2732_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(lean_object* v_attrName_2729_, lean_object* v_declName_2730_, lean_object* v_givenType_2731_, lean_object* v_expectedType_2732_, lean_object* v___y_2733_, lean_object* v___y_2734_){ _start: { -lean_object* v___x_2734_; lean_object* v___x_2735_; lean_object* v___x_2736_; lean_object* v___x_2737_; lean_object* v___x_2738_; uint8_t v___x_2739_; lean_object* v___x_2740_; lean_object* v___x_2741_; lean_object* v___x_2742_; lean_object* v___x_2743_; lean_object* v___x_2744_; lean_object* v___x_2745_; lean_object* v___x_2746_; lean_object* v___x_2747_; lean_object* v___x_2748_; lean_object* v___x_2749_; lean_object* v___x_2750_; lean_object* v___x_2751_; lean_object* v___x_2752_; lean_object* v___x_2753_; -v___x_2734_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1); -v___x_2735_ = l_Lean_MessageData_ofName(v_attrName_2727_); -lean_inc_ref(v___x_2735_); -v___x_2736_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2736_, 0, v___x_2734_); -lean_ctor_set(v___x_2736_, 1, v___x_2735_); -v___x_2737_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3); +lean_object* v___x_2736_; lean_object* v___x_2737_; lean_object* v___x_2738_; lean_object* v___x_2739_; lean_object* v___x_2740_; uint8_t v___x_2741_; lean_object* v___x_2742_; lean_object* v___x_2743_; lean_object* v___x_2744_; lean_object* v___x_2745_; lean_object* v___x_2746_; lean_object* v___x_2747_; lean_object* v___x_2748_; lean_object* v___x_2749_; lean_object* v___x_2750_; lean_object* v___x_2751_; lean_object* v___x_2752_; lean_object* v___x_2753_; lean_object* v___x_2754_; lean_object* v___x_2755_; +v___x_2736_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__1); +v___x_2737_ = l_Lean_MessageData_ofName(v_attrName_2729_); +lean_inc_ref(v___x_2737_); v___x_2738_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2738_, 0, v___x_2736_); lean_ctor_set(v___x_2738_, 1, v___x_2737_); -v___x_2739_ = 0; -v___x_2740_ = l_Lean_MessageData_ofConstName(v_declName_2728_, v___x_2739_); -v___x_2741_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2741_, 0, v___x_2738_); -lean_ctor_set(v___x_2741_, 1, v___x_2740_); -v___x_2742_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5); +v___x_2739_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__3); +v___x_2740_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2740_, 0, v___x_2738_); +lean_ctor_set(v___x_2740_, 1, v___x_2739_); +v___x_2741_ = 0; +v___x_2742_ = l_Lean_MessageData_ofConstName(v_declName_2730_, v___x_2741_); v___x_2743_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2743_, 0, v___x_2741_); +lean_ctor_set(v___x_2743_, 0, v___x_2740_); lean_ctor_set(v___x_2743_, 1, v___x_2742_); -v___x_2744_ = l_Lean_indentExpr(v_givenType_2729_); +v___x_2744_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__5); v___x_2745_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2745_, 0, v___x_2743_); lean_ctor_set(v___x_2745_, 1, v___x_2744_); -v___x_2746_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7); +v___x_2746_ = l_Lean_indentExpr(v_givenType_2731_); v___x_2747_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2747_, 0, v___x_2745_); lean_ctor_set(v___x_2747_, 1, v___x_2746_); -v___x_2748_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2748_, 0, v___x_2747_); -lean_ctor_set(v___x_2748_, 1, v___x_2735_); -v___x_2749_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9); +v___x_2748_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__7); +v___x_2749_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2749_, 0, v___x_2747_); +lean_ctor_set(v___x_2749_, 1, v___x_2748_); v___x_2750_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2750_, 0, v___x_2748_); -lean_ctor_set(v___x_2750_, 1, v___x_2749_); -v___x_2751_ = l_Lean_indentExpr(v_expectedType_2730_); +lean_ctor_set(v___x_2750_, 0, v___x_2749_); +lean_ctor_set(v___x_2750_, 1, v___x_2737_); +v___x_2751_ = lean_obj_once(&l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9, &l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9_once, _init_l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___closed__9); v___x_2752_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2752_, 0, v___x_2750_); lean_ctor_set(v___x_2752_, 1, v___x_2751_); -v___x_2753_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2752_, v___y_2731_, v___y_2732_); -return v___x_2753_; +v___x_2753_ = l_Lean_indentExpr(v_expectedType_2732_); +v___x_2754_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2754_, 0, v___x_2752_); +lean_ctor_set(v___x_2754_, 1, v___x_2753_); +v___x_2755_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2754_, v___y_2733_, v___y_2734_); +return v___x_2755_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___boxed(lean_object* v_attrName_2754_, lean_object* v_declName_2755_, lean_object* v_givenType_2756_, lean_object* v_expectedType_2757_, lean_object* v___y_2758_, lean_object* v___y_2759_, lean_object* v___y_2760_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg___boxed(lean_object* v_attrName_2756_, lean_object* v_declName_2757_, lean_object* v_givenType_2758_, lean_object* v_expectedType_2759_, lean_object* v___y_2760_, lean_object* v___y_2761_, lean_object* v___y_2762_){ _start: { -lean_object* v_res_2761_; -v_res_2761_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_attrName_2754_, v_declName_2755_, v_givenType_2756_, v_expectedType_2757_, v___y_2758_, v___y_2759_); -lean_dec(v___y_2759_); -lean_dec_ref(v___y_2758_); -return v_res_2761_; +lean_object* v_res_2763_; +v_res_2763_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_attrName_2756_, v_declName_2757_, v_givenType_2758_, v_expectedType_2759_, v___y_2760_, v___y_2761_); +lean_dec(v___y_2761_); +lean_dec_ref(v___y_2760_); +return v_res_2763_; } } static lean_object* _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1(void){ _start: { -lean_object* v___x_2763_; lean_object* v___x_2764_; -v___x_2763_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__0)); -v___x_2764_ = l_Lean_stringToMessageData(v___x_2763_); -return v___x_2764_; +lean_object* v___x_2765_; lean_object* v___x_2766_; +v___x_2765_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__0)); +v___x_2766_ = l_Lean_stringToMessageData(v___x_2765_); +return v___x_2766_; } } static lean_object* _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3(void){ _start: { -lean_object* v___x_2766_; lean_object* v___x_2767_; -v___x_2766_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__2)); -v___x_2767_ = l_Lean_stringToMessageData(v___x_2766_); -return v___x_2767_; +lean_object* v___x_2768_; lean_object* v___x_2769_; +v___x_2768_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__2)); +v___x_2769_ = l_Lean_stringToMessageData(v___x_2768_); +return v___x_2769_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(lean_object* v_name_2771_, uint8_t v_kind_2772_, lean_object* v___y_2773_, lean_object* v___y_2774_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(lean_object* v_name_2773_, uint8_t v_kind_2774_, lean_object* v___y_2775_, lean_object* v___y_2776_){ _start: { -lean_object* v___x_2776_; lean_object* v___x_2777_; lean_object* v___x_2778_; lean_object* v___x_2779_; lean_object* v___x_2780_; lean_object* v___y_2782_; -v___x_2776_ = lean_obj_once(&l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1, &l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1_once, _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1); -v___x_2777_ = l_Lean_MessageData_ofName(v_name_2771_); -v___x_2778_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2778_, 0, v___x_2776_); -lean_ctor_set(v___x_2778_, 1, v___x_2777_); -v___x_2779_ = lean_obj_once(&l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3, &l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3_once, _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3); +lean_object* v___x_2778_; lean_object* v___x_2779_; lean_object* v___x_2780_; lean_object* v___x_2781_; lean_object* v___x_2782_; lean_object* v___y_2784_; +v___x_2778_ = lean_obj_once(&l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1, &l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1_once, _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__1); +v___x_2779_ = l_Lean_MessageData_ofName(v_name_2773_); v___x_2780_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_2780_, 0, v___x_2778_); lean_ctor_set(v___x_2780_, 1, v___x_2779_); -switch(v_kind_2772_) +v___x_2781_ = lean_obj_once(&l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3, &l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3_once, _init_l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__3); +v___x_2782_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2782_, 0, v___x_2780_); +lean_ctor_set(v___x_2782_, 1, v___x_2781_); +switch(v_kind_2774_) { case 0: { -lean_object* v___x_2789_; -v___x_2789_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__4)); -v___y_2782_ = v___x_2789_; -goto v___jp_2781_; +lean_object* v___x_2791_; +v___x_2791_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__4)); +v___y_2784_ = v___x_2791_; +goto v___jp_2783_; } case 1: { -lean_object* v___x_2790_; -v___x_2790_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__5)); -v___y_2782_ = v___x_2790_; -goto v___jp_2781_; +lean_object* v___x_2792_; +v___x_2792_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__5)); +v___y_2784_ = v___x_2792_; +goto v___jp_2783_; } default: { -lean_object* v___x_2791_; -v___x_2791_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__6)); -v___y_2782_ = v___x_2791_; -goto v___jp_2781_; +lean_object* v___x_2793_; +v___x_2793_ = ((lean_object*)(l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___closed__6)); +v___y_2784_ = v___x_2793_; +goto v___jp_2783_; } } -v___jp_2781_: +v___jp_2783_: { -lean_object* v___x_2783_; lean_object* v___x_2784_; lean_object* v___x_2785_; lean_object* v___x_2786_; lean_object* v___x_2787_; lean_object* v___x_2788_; -v___x_2783_ = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(v___x_2783_, 0, v___y_2782_); -v___x_2784_ = l_Lean_MessageData_ofFormat(v___x_2783_); -v___x_2785_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2785_, 0, v___x_2780_); -lean_ctor_set(v___x_2785_, 1, v___x_2784_); -v___x_2786_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3); +lean_object* v___x_2785_; lean_object* v___x_2786_; lean_object* v___x_2787_; lean_object* v___x_2788_; lean_object* v___x_2789_; lean_object* v___x_2790_; +v___x_2785_ = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(v___x_2785_, 0, v___y_2784_); +v___x_2786_ = l_Lean_MessageData_ofFormat(v___x_2785_); v___x_2787_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2787_, 0, v___x_2785_); +lean_ctor_set(v___x_2787_, 0, v___x_2782_); lean_ctor_set(v___x_2787_, 1, v___x_2786_); -v___x_2788_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_Def___private__1_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2787_, v___y_2773_, v___y_2774_); -return v___x_2788_; +v___x_2788_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16___redArg___closed__3); +v___x_2789_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2789_, 0, v___x_2787_); +lean_ctor_set(v___x_2789_, 1, v___x_2788_); +v___x_2790_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstVal___at___00Lean_mkConstWithLevelParams___at___00Lean_Elab_addConstInfo___at___00Lean_KeyedDeclsAttribute_evalIdentKey_spec__1_spec__4_spec__9_spec__12_spec__16_spec__18_spec__20_spec__22___redArg(v___x_2789_, v___y_2775_, v___y_2776_); +return v___x_2790_; } } } -LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___boxed(lean_object* v_name_2792_, lean_object* v_kind_2793_, lean_object* v___y_2794_, lean_object* v___y_2795_, lean_object* v___y_2796_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg___boxed(lean_object* v_name_2794_, lean_object* v_kind_2795_, lean_object* v___y_2796_, lean_object* v___y_2797_, lean_object* v___y_2798_){ _start: { -uint8_t v_kind_boxed_2797_; lean_object* v_res_2798_; -v_kind_boxed_2797_ = lean_unbox(v_kind_2793_); -v_res_2798_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_name_2792_, v_kind_boxed_2797_, v___y_2794_, v___y_2795_); -lean_dec(v___y_2795_); -lean_dec_ref(v___y_2794_); -return v_res_2798_; +uint8_t v_kind_boxed_2799_; lean_object* v_res_2800_; +v_kind_boxed_2799_ = lean_unbox(v_kind_2795_); +v_res_2800_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_name_2794_, v_kind_boxed_2799_, v___y_2796_, v___y_2797_); +lean_dec(v___y_2797_); +lean_dec_ref(v___y_2796_); +return v_res_2800_; } } static lean_object* _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3(void){ _start: { -lean_object* v___x_2805_; lean_object* v___x_2806_; lean_object* v___x_2807_; -v___x_2805_ = lean_box(0); -v___x_2806_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__2)); -v___x_2807_ = l_Lean_mkConst(v___x_2806_, v___x_2805_); -return v___x_2807_; +lean_object* v___x_2807_; lean_object* v___x_2808_; lean_object* v___x_2809_; +v___x_2807_ = lean_box(0); +v___x_2808_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__2)); +v___x_2809_ = l_Lean_mkConst(v___x_2808_, v___x_2807_); +return v___x_2809_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__9(lean_object* v_evalKey_2808_, uint8_t v___x_2809_, lean_object* v_valueTypeName_2810_, lean_object* v_builtinName_2811_, uint8_t v___x_2812_, lean_object* v_attrDeclName_2813_, lean_object* v_onAdded_2814_, lean_object* v_declName_2815_, lean_object* v_stx_2816_, uint8_t v_kind_2817_, lean_object* v___y_2818_, lean_object* v___y_2819_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__9(lean_object* v_evalKey_2810_, uint8_t v___x_2811_, lean_object* v_valueTypeName_2812_, lean_object* v_builtinName_2813_, uint8_t v___x_2814_, lean_object* v_attrDeclName_2815_, lean_object* v_onAdded_2816_, lean_object* v_declName_2817_, lean_object* v_stx_2818_, uint8_t v_kind_2819_, lean_object* v___y_2820_, lean_object* v___y_2821_){ _start: { -uint8_t v___x_2867_; uint8_t v___x_2868_; -v___x_2867_ = 0; -v___x_2868_ = l_Lean_instBEqAttributeKind_beq(v_kind_2817_, v___x_2867_); -if (v___x_2868_ == 0) +uint8_t v___x_2869_; uint8_t v___x_2870_; +v___x_2869_ = 0; +v___x_2870_ = l_Lean_instBEqAttributeKind_beq(v_kind_2819_, v___x_2869_); +if (v___x_2870_ == 0) { -lean_object* v___x_2869_; -lean_inc(v_builtinName_2811_); -v___x_2869_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_builtinName_2811_, v_kind_2817_, v___y_2818_, v___y_2819_); -if (lean_obj_tag(v___x_2869_) == 0) +lean_object* v___x_2871_; +lean_inc(v_builtinName_2813_); +v___x_2871_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_builtinName_2813_, v_kind_2819_, v___y_2820_, v___y_2821_); +if (lean_obj_tag(v___x_2871_) == 0) { -lean_dec_ref(v___x_2869_); -goto v___jp_2821_; +lean_dec_ref(v___x_2871_); +goto v___jp_2823_; } else { -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -lean_dec(v_stx_2816_); -lean_dec(v_declName_2815_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -lean_dec(v_builtinName_2811_); -lean_dec(v_valueTypeName_2810_); -lean_dec_ref(v_evalKey_2808_); -return v___x_2869_; +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +lean_dec(v_stx_2818_); +lean_dec(v_declName_2817_); +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +lean_dec(v_builtinName_2813_); +lean_dec(v_valueTypeName_2812_); +lean_dec_ref(v_evalKey_2810_); +return v___x_2871_; } } else { -goto v___jp_2821_; +goto v___jp_2823_; } -v___jp_2821_: +v___jp_2823_: { -lean_object* v___x_2822_; lean_object* v___x_2823_; -v___x_2822_ = lean_box(v___x_2809_); -lean_inc(v___y_2819_); -lean_inc_ref(v___y_2818_); -v___x_2823_ = lean_apply_5(v_evalKey_2808_, v___x_2822_, v_stx_2816_, v___y_2818_, v___y_2819_, lean_box(0)); -if (lean_obj_tag(v___x_2823_) == 0) -{ -lean_object* v_a_2824_; lean_object* v___x_2825_; -v_a_2824_ = lean_ctor_get(v___x_2823_, 0); -lean_inc(v_a_2824_); -lean_dec_ref(v___x_2823_); -lean_inc_ref(v___y_2818_); -lean_inc(v_declName_2815_); -v___x_2825_ = l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(v_declName_2815_, v___y_2818_, v___y_2819_); +lean_object* v___x_2824_; lean_object* v___x_2825_; +v___x_2824_ = lean_box(v___x_2811_); +lean_inc(v___y_2821_); +lean_inc_ref(v___y_2820_); +v___x_2825_ = lean_apply_5(v_evalKey_2810_, v___x_2824_, v_stx_2818_, v___y_2820_, v___y_2821_, lean_box(0)); if (lean_obj_tag(v___x_2825_) == 0) { -lean_object* v_a_2826_; lean_object* v___x_2827_; lean_object* v___x_2828_; lean_object* v___x_2829_; +lean_object* v_a_2826_; lean_object* v___x_2827_; v_a_2826_ = lean_ctor_get(v___x_2825_, 0); lean_inc(v_a_2826_); lean_dec_ref(v___x_2825_); -v___x_2827_ = l_Lean_ConstantInfo_type(v_a_2826_); +lean_inc_ref(v___y_2820_); +lean_inc(v_declName_2817_); +v___x_2827_ = l_Lean_getConstInfo___at___00Lean_KeyedDeclsAttribute_init_spec__2(v_declName_2817_, v___y_2820_, v___y_2821_); +if (lean_obj_tag(v___x_2827_) == 0) +{ +lean_object* v_a_2828_; lean_object* v___x_2829_; lean_object* v___x_2830_; lean_object* v___x_2831_; +v_a_2828_ = lean_ctor_get(v___x_2827_, 0); +lean_inc(v_a_2828_); +lean_dec_ref(v___x_2827_); +v___x_2829_ = l_Lean_ConstantInfo_type(v_a_2828_); +lean_dec(v_a_2828_); +v___x_2830_ = lean_box(0); +lean_inc(v_valueTypeName_2812_); +v___x_2831_ = l_Lean_mkConst(v_valueTypeName_2812_, v___x_2830_); +if (lean_obj_tag(v___x_2829_) == 4) +{ +lean_object* v_declName_2832_; uint8_t v___x_2833_; +v_declName_2832_ = lean_ctor_get(v___x_2829_, 0); +lean_inc(v_declName_2832_); +v___x_2833_ = lean_name_eq(v_declName_2832_, v_valueTypeName_2812_); +lean_dec(v_valueTypeName_2812_); +lean_dec(v_declName_2832_); +if (v___x_2833_ == 0) +{ +lean_object* v___x_2834_; lean_dec(v_a_2826_); -v___x_2828_ = lean_box(0); -lean_inc(v_valueTypeName_2810_); -v___x_2829_ = l_Lean_mkConst(v_valueTypeName_2810_, v___x_2828_); -if (lean_obj_tag(v___x_2827_) == 4) -{ -lean_object* v_declName_2830_; uint8_t v___x_2831_; -v_declName_2830_ = lean_ctor_get(v___x_2827_, 0); -lean_inc(v_declName_2830_); -v___x_2831_ = lean_name_eq(v_declName_2830_, v_valueTypeName_2810_); -lean_dec(v_valueTypeName_2810_); -lean_dec(v_declName_2830_); -if (v___x_2831_ == 0) -{ -lean_object* v___x_2832_; -lean_dec(v_a_2824_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -v___x_2832_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2811_, v_declName_2815_, v___x_2827_, v___x_2829_, v___y_2818_, v___y_2819_); -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -return v___x_2832_; +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +v___x_2834_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2813_, v_declName_2817_, v___x_2829_, v___x_2831_, v___y_2820_, v___y_2821_); +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +return v___x_2834_; } else { -if (v___x_2812_ == 0) +if (v___x_2814_ == 0) { -lean_object* v___x_2833_; lean_object* v___x_2834_; lean_object* v___x_2835_; lean_object* v___x_2836_; lean_object* v___x_2837_; lean_object* v___x_2838_; lean_object* v___x_2839_; lean_object* v___x_2840_; lean_object* v___x_2841_; lean_object* v___x_2842_; lean_object* v___x_2843_; lean_object* v___x_2844_; lean_object* v___x_2845_; lean_object* v___x_2846_; -lean_dec_ref(v___x_2827_); -lean_dec(v_builtinName_2811_); -v___x_2833_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3); -v___x_2834_ = l_Lean_mkConst(v_attrDeclName_2813_, v___x_2828_); -lean_inc(v_a_2824_); -v___x_2835_ = l_Lean_instToExprName___private__1(v_a_2824_); -lean_inc(v_declName_2815_); -v___x_2836_ = l_Lean_instToExprName___private__1(v_declName_2815_); -lean_inc(v_declName_2815_); -v___x_2837_ = l_Lean_mkConst(v_declName_2815_, v___x_2828_); -v___x_2838_ = lean_unsigned_to_nat(5u); -v___x_2839_ = lean_mk_empty_array_with_capacity(v___x_2838_); -v___x_2840_ = lean_array_push(v___x_2839_, v___x_2829_); -v___x_2841_ = lean_array_push(v___x_2840_, v___x_2834_); -v___x_2842_ = lean_array_push(v___x_2841_, v___x_2835_); +lean_object* v___x_2835_; lean_object* v___x_2836_; lean_object* v___x_2837_; lean_object* v___x_2838_; lean_object* v___x_2839_; lean_object* v___x_2840_; lean_object* v___x_2841_; lean_object* v___x_2842_; lean_object* v___x_2843_; lean_object* v___x_2844_; lean_object* v___x_2845_; lean_object* v___x_2846_; lean_object* v___x_2847_; lean_object* v___x_2848_; +lean_dec_ref(v___x_2829_); +lean_dec(v_builtinName_2813_); +v___x_2835_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3, &l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3_once, _init_l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___closed__3); +v___x_2836_ = l_Lean_mkConst(v_attrDeclName_2815_, v___x_2830_); +lean_inc(v_a_2826_); +v___x_2837_ = l_Lean_instToExprName___private__1(v_a_2826_); +lean_inc(v_declName_2817_); +v___x_2838_ = l_Lean_instToExprName___private__1(v_declName_2817_); +lean_inc(v_declName_2817_); +v___x_2839_ = l_Lean_mkConst(v_declName_2817_, v___x_2830_); +v___x_2840_ = lean_unsigned_to_nat(5u); +v___x_2841_ = lean_mk_empty_array_with_capacity(v___x_2840_); +v___x_2842_ = lean_array_push(v___x_2841_, v___x_2831_); v___x_2843_ = lean_array_push(v___x_2842_, v___x_2836_); v___x_2844_ = lean_array_push(v___x_2843_, v___x_2837_); -v___x_2845_ = l_Lean_mkAppN(v___x_2833_, v___x_2844_); -lean_dec_ref(v___x_2844_); -lean_inc(v___y_2819_); -lean_inc_ref(v___y_2818_); -lean_inc(v_declName_2815_); -v___x_2846_ = l_Lean_declareBuiltin(v_declName_2815_, v___x_2845_, v___y_2818_, v___y_2819_); -if (lean_obj_tag(v___x_2846_) == 0) -{ -lean_object* v___x_2847_; lean_object* v___x_2848_; +v___x_2845_ = lean_array_push(v___x_2844_, v___x_2838_); +v___x_2846_ = lean_array_push(v___x_2845_, v___x_2839_); +v___x_2847_ = l_Lean_mkAppN(v___x_2835_, v___x_2846_); lean_dec_ref(v___x_2846_); -v___x_2847_ = lean_box(v___x_2809_); -v___x_2848_ = lean_apply_6(v_onAdded_2814_, v___x_2847_, v_declName_2815_, v_a_2824_, v___y_2818_, v___y_2819_, lean_box(0)); -return v___x_2848_; -} -else +lean_inc(v___y_2821_); +lean_inc_ref(v___y_2820_); +lean_inc(v_declName_2817_); +v___x_2848_ = l_Lean_declareBuiltin(v_declName_2817_, v___x_2847_, v___y_2820_, v___y_2821_); +if (lean_obj_tag(v___x_2848_) == 0) { -lean_dec(v_a_2824_); -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -lean_dec(v_declName_2815_); -lean_dec_ref(v_onAdded_2814_); -return v___x_2846_; -} -} -else -{ -lean_object* v___x_2849_; -lean_dec(v_a_2824_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -v___x_2849_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2811_, v_declName_2815_, v___x_2827_, v___x_2829_, v___y_2818_, v___y_2819_); -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -return v___x_2849_; -} -} -} -else -{ -lean_object* v___x_2850_; -lean_dec(v_a_2824_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -lean_dec(v_valueTypeName_2810_); -v___x_2850_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2811_, v_declName_2815_, v___x_2827_, v___x_2829_, v___y_2818_, v___y_2819_); -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); +lean_object* v___x_2849_; lean_object* v___x_2850_; +lean_dec_ref(v___x_2848_); +v___x_2849_ = lean_box(v___x_2811_); +v___x_2850_ = lean_apply_6(v_onAdded_2816_, v___x_2849_, v_declName_2817_, v_a_2826_, v___y_2820_, v___y_2821_, lean_box(0)); return v___x_2850_; } +else +{ +lean_dec(v_a_2826_); +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +lean_dec(v_declName_2817_); +lean_dec_ref(v_onAdded_2816_); +return v___x_2848_; +} } else { -lean_object* v_a_2851_; lean_object* v___x_2853_; uint8_t v_isShared_2854_; uint8_t v_isSharedCheck_2858_; -lean_dec(v_a_2824_); -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -lean_dec(v_declName_2815_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -lean_dec(v_builtinName_2811_); -lean_dec(v_valueTypeName_2810_); -v_a_2851_ = lean_ctor_get(v___x_2825_, 0); -v_isSharedCheck_2858_ = !lean_is_exclusive(v___x_2825_); -if (v_isSharedCheck_2858_ == 0) -{ -v___x_2853_ = v___x_2825_; -v_isShared_2854_ = v_isSharedCheck_2858_; -goto v_resetjp_2852_; +lean_object* v___x_2851_; +lean_dec(v_a_2826_); +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +v___x_2851_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2813_, v_declName_2817_, v___x_2829_, v___x_2831_, v___y_2820_, v___y_2821_); +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +return v___x_2851_; +} +} } else { -lean_inc(v_a_2851_); +lean_object* v___x_2852_; +lean_dec(v_a_2826_); +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +lean_dec(v_valueTypeName_2812_); +v___x_2852_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_builtinName_2813_, v_declName_2817_, v___x_2829_, v___x_2831_, v___y_2820_, v___y_2821_); +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +return v___x_2852_; +} +} +else +{ +lean_object* v_a_2853_; lean_object* v___x_2855_; uint8_t v_isShared_2856_; uint8_t v_isSharedCheck_2860_; +lean_dec(v_a_2826_); +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +lean_dec(v_declName_2817_); +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +lean_dec(v_builtinName_2813_); +lean_dec(v_valueTypeName_2812_); +v_a_2853_ = lean_ctor_get(v___x_2827_, 0); +v_isSharedCheck_2860_ = !lean_is_exclusive(v___x_2827_); +if (v_isSharedCheck_2860_ == 0) +{ +v___x_2855_ = v___x_2827_; +v_isShared_2856_ = v_isSharedCheck_2860_; +goto v_resetjp_2854_; +} +else +{ +lean_inc(v_a_2853_); +lean_dec(v___x_2827_); +v___x_2855_ = lean_box(0); +v_isShared_2856_ = v_isSharedCheck_2860_; +goto v_resetjp_2854_; +} +v_resetjp_2854_: +{ +lean_object* v___x_2858_; +if (v_isShared_2856_ == 0) +{ +v___x_2858_ = v___x_2855_; +goto v_reusejp_2857_; +} +else +{ +lean_object* v_reuseFailAlloc_2859_; +v_reuseFailAlloc_2859_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2859_, 0, v_a_2853_); +v___x_2858_ = v_reuseFailAlloc_2859_; +goto v_reusejp_2857_; +} +v_reusejp_2857_: +{ +return v___x_2858_; +} +} +} +} +else +{ +lean_object* v_a_2861_; lean_object* v___x_2863_; uint8_t v_isShared_2864_; uint8_t v_isSharedCheck_2868_; +lean_dec(v___y_2821_); +lean_dec_ref(v___y_2820_); +lean_dec(v_declName_2817_); +lean_dec_ref(v_onAdded_2816_); +lean_dec(v_attrDeclName_2815_); +lean_dec(v_builtinName_2813_); +lean_dec(v_valueTypeName_2812_); +v_a_2861_ = lean_ctor_get(v___x_2825_, 0); +v_isSharedCheck_2868_ = !lean_is_exclusive(v___x_2825_); +if (v_isSharedCheck_2868_ == 0) +{ +v___x_2863_ = v___x_2825_; +v_isShared_2864_ = v_isSharedCheck_2868_; +goto v_resetjp_2862_; +} +else +{ +lean_inc(v_a_2861_); lean_dec(v___x_2825_); -v___x_2853_ = lean_box(0); -v_isShared_2854_ = v_isSharedCheck_2858_; -goto v_resetjp_2852_; +v___x_2863_ = lean_box(0); +v_isShared_2864_ = v_isSharedCheck_2868_; +goto v_resetjp_2862_; } -v_resetjp_2852_: +v_resetjp_2862_: { -lean_object* v___x_2856_; -if (v_isShared_2854_ == 0) +lean_object* v___x_2866_; +if (v_isShared_2864_ == 0) { -v___x_2856_ = v___x_2853_; -goto v_reusejp_2855_; +v___x_2866_ = v___x_2863_; +goto v_reusejp_2865_; } else { -lean_object* v_reuseFailAlloc_2857_; -v_reuseFailAlloc_2857_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2857_, 0, v_a_2851_); -v___x_2856_ = v_reuseFailAlloc_2857_; -goto v_reusejp_2855_; +lean_object* v_reuseFailAlloc_2867_; +v_reuseFailAlloc_2867_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2867_, 0, v_a_2861_); +v___x_2866_ = v_reuseFailAlloc_2867_; +goto v_reusejp_2865_; } -v_reusejp_2855_: +v_reusejp_2865_: { -return v___x_2856_; -} -} -} -} -else -{ -lean_object* v_a_2859_; lean_object* v___x_2861_; uint8_t v_isShared_2862_; uint8_t v_isSharedCheck_2866_; -lean_dec(v___y_2819_); -lean_dec_ref(v___y_2818_); -lean_dec(v_declName_2815_); -lean_dec_ref(v_onAdded_2814_); -lean_dec(v_attrDeclName_2813_); -lean_dec(v_builtinName_2811_); -lean_dec(v_valueTypeName_2810_); -v_a_2859_ = lean_ctor_get(v___x_2823_, 0); -v_isSharedCheck_2866_ = !lean_is_exclusive(v___x_2823_); -if (v_isSharedCheck_2866_ == 0) -{ -v___x_2861_ = v___x_2823_; -v_isShared_2862_ = v_isSharedCheck_2866_; -goto v_resetjp_2860_; -} -else -{ -lean_inc(v_a_2859_); -lean_dec(v___x_2823_); -v___x_2861_ = lean_box(0); -v_isShared_2862_ = v_isSharedCheck_2866_; -goto v_resetjp_2860_; -} -v_resetjp_2860_: -{ -lean_object* v___x_2864_; -if (v_isShared_2862_ == 0) -{ -v___x_2864_ = v___x_2861_; -goto v_reusejp_2863_; -} -else -{ -lean_object* v_reuseFailAlloc_2865_; -v_reuseFailAlloc_2865_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2865_, 0, v_a_2859_); -v___x_2864_ = v_reuseFailAlloc_2865_; -goto v_reusejp_2863_; -} -v_reusejp_2863_: -{ -return v___x_2864_; +return v___x_2866_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___boxed(lean_object* v_evalKey_2870_, lean_object* v___x_2871_, lean_object* v_valueTypeName_2872_, lean_object* v_builtinName_2873_, lean_object* v___x_2874_, lean_object* v_attrDeclName_2875_, lean_object* v_onAdded_2876_, lean_object* v_declName_2877_, lean_object* v_stx_2878_, lean_object* v_kind_2879_, lean_object* v___y_2880_, lean_object* v___y_2881_, lean_object* v___y_2882_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___boxed(lean_object* v_evalKey_2872_, lean_object* v___x_2873_, lean_object* v_valueTypeName_2874_, lean_object* v_builtinName_2875_, lean_object* v___x_2876_, lean_object* v_attrDeclName_2877_, lean_object* v_onAdded_2878_, lean_object* v_declName_2879_, lean_object* v_stx_2880_, lean_object* v_kind_2881_, lean_object* v___y_2882_, lean_object* v___y_2883_, lean_object* v___y_2884_){ _start: { -uint8_t v___x_5519__boxed_2883_; uint8_t v___x_5520__boxed_2884_; uint8_t v_kind_boxed_2885_; lean_object* v_res_2886_; -v___x_5519__boxed_2883_ = lean_unbox(v___x_2871_); -v___x_5520__boxed_2884_ = lean_unbox(v___x_2874_); -v_kind_boxed_2885_ = lean_unbox(v_kind_2879_); -v_res_2886_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__9(v_evalKey_2870_, v___x_5519__boxed_2883_, v_valueTypeName_2872_, v_builtinName_2873_, v___x_5520__boxed_2884_, v_attrDeclName_2875_, v_onAdded_2876_, v_declName_2877_, v_stx_2878_, v_kind_boxed_2885_, v___y_2880_, v___y_2881_); -return v_res_2886_; +uint8_t v___x_5519__boxed_2885_; uint8_t v___x_5520__boxed_2886_; uint8_t v_kind_boxed_2887_; lean_object* v_res_2888_; +v___x_5519__boxed_2885_ = lean_unbox(v___x_2873_); +v___x_5520__boxed_2886_ = lean_unbox(v___x_2876_); +v_kind_boxed_2887_ = lean_unbox(v_kind_2881_); +v_res_2888_ = l_Lean_KeyedDeclsAttribute_init___redArg___lam__9(v_evalKey_2872_, v___x_5519__boxed_2885_, v_valueTypeName_2874_, v_builtinName_2875_, v___x_5520__boxed_2886_, v_attrDeclName_2877_, v_onAdded_2878_, v_declName_2879_, v_stx_2880_, v_kind_boxed_2887_, v___y_2882_, v___y_2883_); +return v_res_2888_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg(lean_object* v_df_2892_, lean_object* v_attrDeclName_2893_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg(lean_object* v_df_2894_, lean_object* v_attrDeclName_2895_){ _start: { -uint8_t v___x_2895_; lean_object* v___x_2896_; lean_object* v___x_2897_; lean_object* v___f_2898_; lean_object* v___f_2899_; lean_object* v___f_2900_; lean_object* v___f_2901_; lean_object* v___f_2902_; lean_object* v___f_2903_; lean_object* v___x_2904_; lean_object* v___x_2905_; -v___x_2895_ = 1; -v___x_2896_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4); -v___x_2897_ = lean_st_mk_ref(v___x_2896_); -lean_inc_ref(v_df_2892_); -v___f_2898_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__0___boxed), 5, 1); -lean_closure_set(v___f_2898_, 0, v_df_2892_); -v___f_2899_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__0)); -v___f_2900_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__1)); -v___f_2901_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__2)); -v___f_2902_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__3)); -lean_inc(v___x_2897_); -v___f_2903_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__4___boxed), 2, 1); -lean_closure_set(v___f_2903_, 0, v___x_2897_); -lean_inc(v_attrDeclName_2893_); -v___x_2904_ = lean_alloc_ctor(0, 7, 0); -lean_ctor_set(v___x_2904_, 0, v_attrDeclName_2893_); -lean_ctor_set(v___x_2904_, 1, v___f_2903_); -lean_ctor_set(v___x_2904_, 2, v___f_2898_); -lean_ctor_set(v___x_2904_, 3, v___f_2899_); -lean_ctor_set(v___x_2904_, 4, v___f_2900_); -lean_ctor_set(v___x_2904_, 5, v___f_2902_); -lean_ctor_set(v___x_2904_, 6, v___f_2901_); -v___x_2905_ = l_Lean_registerScopedEnvExtensionUnsafe___redArg(v___x_2904_); -if (lean_obj_tag(v___x_2905_) == 0) +uint8_t v___x_2897_; lean_object* v___x_2898_; lean_object* v___x_2899_; lean_object* v___f_2900_; lean_object* v___f_2901_; lean_object* v___f_2902_; lean_object* v___f_2903_; lean_object* v___f_2904_; lean_object* v___f_2905_; lean_object* v___x_2906_; lean_object* v___x_2907_; +v___x_2897_ = 1; +v___x_2898_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState_default___closed__4); +v___x_2899_ = lean_st_mk_ref(v___x_2898_); +lean_inc_ref(v_df_2894_); +v___f_2900_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__0___boxed), 5, 1); +lean_closure_set(v___f_2900_, 0, v_df_2894_); +v___f_2901_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__0)); +v___f_2902_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__1)); +v___f_2903_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__2)); +v___f_2904_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__3)); +lean_inc(v___x_2899_); +v___f_2905_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__4___boxed), 2, 1); +lean_closure_set(v___f_2905_, 0, v___x_2899_); +lean_inc(v_attrDeclName_2895_); +v___x_2906_ = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(v___x_2906_, 0, v_attrDeclName_2895_); +lean_ctor_set(v___x_2906_, 1, v___f_2905_); +lean_ctor_set(v___x_2906_, 2, v___f_2900_); +lean_ctor_set(v___x_2906_, 3, v___f_2901_); +lean_ctor_set(v___x_2906_, 4, v___f_2902_); +lean_ctor_set(v___x_2906_, 5, v___f_2904_); +lean_ctor_set(v___x_2906_, 6, v___f_2903_); +v___x_2907_ = l_Lean_registerScopedEnvExtensionUnsafe___redArg(v___x_2906_); +if (lean_obj_tag(v___x_2907_) == 0) { -lean_object* v_a_2906_; lean_object* v_builtinName_2907_; lean_object* v_name_2908_; lean_object* v_descr_2909_; lean_object* v_valueTypeName_2910_; lean_object* v_evalKey_2911_; lean_object* v_onAdded_2912_; lean_object* v___x_2913_; lean_object* v___x_2914_; lean_object* v___f_2915_; uint8_t v___x_2939_; -v_a_2906_ = lean_ctor_get(v___x_2905_, 0); -lean_inc(v_a_2906_); -lean_dec_ref(v___x_2905_); -v_builtinName_2907_ = lean_ctor_get(v_df_2892_, 0); -v_name_2908_ = lean_ctor_get(v_df_2892_, 1); -v_descr_2909_ = lean_ctor_get(v_df_2892_, 2); -v_valueTypeName_2910_ = lean_ctor_get(v_df_2892_, 3); -v_evalKey_2911_ = lean_ctor_get(v_df_2892_, 4); -v_onAdded_2912_ = lean_ctor_get(v_df_2892_, 5); -v___x_2913_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); -v___x_2914_ = lean_box(v___x_2895_); -lean_inc_ref(v_onAdded_2912_); -lean_inc(v_a_2906_); -lean_inc(v_valueTypeName_2910_); -lean_inc_ref(v_evalKey_2911_); -lean_inc(v_attrDeclName_2893_); -v___f_2915_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__5___boxed), 12, 6); -lean_closure_set(v___f_2915_, 0, v_attrDeclName_2893_); -lean_closure_set(v___f_2915_, 1, v_evalKey_2911_); -lean_closure_set(v___f_2915_, 2, v_valueTypeName_2910_); -lean_closure_set(v___f_2915_, 3, v___x_2914_); -lean_closure_set(v___f_2915_, 4, v_a_2906_); -lean_closure_set(v___f_2915_, 5, v_onAdded_2912_); -v___x_2939_ = l_Lean_Name_isAnonymous(v_builtinName_2907_); -if (v___x_2939_ == 0) +lean_object* v_a_2908_; lean_object* v_builtinName_2909_; lean_object* v_name_2910_; lean_object* v_descr_2911_; lean_object* v_valueTypeName_2912_; lean_object* v_evalKey_2913_; lean_object* v_onAdded_2914_; lean_object* v___x_2915_; lean_object* v___x_2916_; lean_object* v___f_2917_; uint8_t v___x_2941_; +v_a_2908_ = lean_ctor_get(v___x_2907_, 0); +lean_inc(v_a_2908_); +lean_dec_ref(v___x_2907_); +v_builtinName_2909_ = lean_ctor_get(v_df_2894_, 0); +v_name_2910_ = lean_ctor_get(v_df_2894_, 1); +v_descr_2911_ = lean_ctor_get(v_df_2894_, 2); +v_valueTypeName_2912_ = lean_ctor_get(v_df_2894_, 3); +v_evalKey_2913_ = lean_ctor_get(v_df_2894_, 4); +v_onAdded_2914_ = lean_ctor_get(v_df_2894_, 5); +v___x_2915_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); +v___x_2916_ = lean_box(v___x_2897_); +lean_inc_ref(v_onAdded_2914_); +lean_inc(v_a_2908_); +lean_inc(v_valueTypeName_2912_); +lean_inc_ref(v_evalKey_2913_); +lean_inc(v_attrDeclName_2895_); +v___f_2917_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__5___boxed), 12, 6); +lean_closure_set(v___f_2917_, 0, v_attrDeclName_2895_); +lean_closure_set(v___f_2917_, 1, v_evalKey_2913_); +lean_closure_set(v___f_2917_, 2, v_valueTypeName_2912_); +lean_closure_set(v___f_2917_, 3, v___x_2916_); +lean_closure_set(v___f_2917_, 4, v_a_2908_); +lean_closure_set(v___f_2917_, 5, v_onAdded_2914_); +v___x_2941_ = l_Lean_Name_isAnonymous(v_builtinName_2909_); +if (v___x_2941_ == 0) { -lean_object* v___f_2940_; lean_object* v___x_2941_; lean_object* v___x_2942_; lean_object* v___f_2943_; lean_object* v___x_2944_; lean_object* v___x_2945_; uint8_t v___x_2946_; lean_object* v___x_2947_; lean_object* v___x_2948_; lean_object* v___x_2949_; -lean_inc(v_builtinName_2907_); -v___f_2940_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___boxed), 5, 1); -lean_closure_set(v___f_2940_, 0, v_builtinName_2907_); -v___x_2941_ = lean_box(v___x_2895_); -v___x_2942_ = lean_box(v___x_2939_); -lean_inc_ref(v_onAdded_2912_); -lean_inc(v_attrDeclName_2893_); -lean_inc(v_builtinName_2907_); -lean_inc(v_valueTypeName_2910_); -lean_inc_ref(v_evalKey_2911_); -v___f_2943_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___boxed), 13, 7); -lean_closure_set(v___f_2943_, 0, v_evalKey_2911_); -lean_closure_set(v___f_2943_, 1, v___x_2941_); -lean_closure_set(v___f_2943_, 2, v_valueTypeName_2910_); -lean_closure_set(v___f_2943_, 3, v_builtinName_2907_); -lean_closure_set(v___f_2943_, 4, v___x_2942_); -lean_closure_set(v___f_2943_, 5, v_attrDeclName_2893_); -lean_closure_set(v___f_2943_, 6, v_onAdded_2912_); -v___x_2944_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__4)); -v___x_2945_ = lean_string_append(v___x_2944_, v_descr_2909_); -v___x_2946_ = 1; -lean_inc(v_builtinName_2907_); -lean_inc(v_attrDeclName_2893_); -v___x_2947_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v___x_2947_, 0, v_attrDeclName_2893_); -lean_ctor_set(v___x_2947_, 1, v_builtinName_2907_); -lean_ctor_set(v___x_2947_, 2, v___x_2945_); -lean_ctor_set_uint8(v___x_2947_, sizeof(void*)*3, v___x_2946_); -v___x_2948_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_2948_, 0, v___x_2947_); -lean_ctor_set(v___x_2948_, 1, v___f_2943_); -lean_ctor_set(v___x_2948_, 2, v___f_2940_); -v___x_2949_ = l_Lean_registerBuiltinAttribute(v___x_2948_); -if (lean_obj_tag(v___x_2949_) == 0) +lean_object* v___f_2942_; lean_object* v___x_2943_; lean_object* v___x_2944_; lean_object* v___f_2945_; lean_object* v___x_2946_; lean_object* v___x_2947_; uint8_t v___x_2948_; lean_object* v___x_2949_; lean_object* v___x_2950_; lean_object* v___x_2951_; +lean_inc(v_builtinName_2909_); +v___f_2942_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__8___boxed), 5, 1); +lean_closure_set(v___f_2942_, 0, v_builtinName_2909_); +v___x_2943_ = lean_box(v___x_2897_); +v___x_2944_ = lean_box(v___x_2941_); +lean_inc_ref(v_onAdded_2914_); +lean_inc(v_attrDeclName_2895_); +lean_inc(v_builtinName_2909_); +lean_inc(v_valueTypeName_2912_); +lean_inc_ref(v_evalKey_2913_); +v___f_2945_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__9___boxed), 13, 7); +lean_closure_set(v___f_2945_, 0, v_evalKey_2913_); +lean_closure_set(v___f_2945_, 1, v___x_2943_); +lean_closure_set(v___f_2945_, 2, v_valueTypeName_2912_); +lean_closure_set(v___f_2945_, 3, v_builtinName_2909_); +lean_closure_set(v___f_2945_, 4, v___x_2944_); +lean_closure_set(v___f_2945_, 5, v_attrDeclName_2895_); +lean_closure_set(v___f_2945_, 6, v_onAdded_2914_); +v___x_2946_ = ((lean_object*)(l_Lean_KeyedDeclsAttribute_init___redArg___closed__4)); +v___x_2947_ = lean_string_append(v___x_2946_, v_descr_2911_); +v___x_2948_ = 1; +lean_inc(v_builtinName_2909_); +lean_inc(v_attrDeclName_2895_); +v___x_2949_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v___x_2949_, 0, v_attrDeclName_2895_); +lean_ctor_set(v___x_2949_, 1, v_builtinName_2909_); +lean_ctor_set(v___x_2949_, 2, v___x_2947_); +lean_ctor_set_uint8(v___x_2949_, sizeof(void*)*3, v___x_2948_); +v___x_2950_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_2950_, 0, v___x_2949_); +lean_ctor_set(v___x_2950_, 1, v___f_2945_); +lean_ctor_set(v___x_2950_, 2, v___f_2942_); +v___x_2951_ = l_Lean_registerBuiltinAttribute(v___x_2950_); +if (lean_obj_tag(v___x_2951_) == 0) { -lean_dec_ref(v___x_2949_); -goto v___jp_2916_; +lean_dec_ref(v___x_2951_); +goto v___jp_2918_; } else { -lean_object* v_a_2950_; lean_object* v___x_2952_; uint8_t v_isShared_2953_; uint8_t v_isSharedCheck_2957_; -lean_dec_ref(v___f_2915_); -lean_dec(v_a_2906_); -lean_dec(v___x_2897_); -lean_dec(v_attrDeclName_2893_); -lean_dec_ref(v_df_2892_); -v_a_2950_ = lean_ctor_get(v___x_2949_, 0); -v_isSharedCheck_2957_ = !lean_is_exclusive(v___x_2949_); -if (v_isSharedCheck_2957_ == 0) +lean_object* v_a_2952_; lean_object* v___x_2954_; uint8_t v_isShared_2955_; uint8_t v_isSharedCheck_2959_; +lean_dec_ref(v___f_2917_); +lean_dec(v_a_2908_); +lean_dec(v___x_2899_); +lean_dec(v_attrDeclName_2895_); +lean_dec_ref(v_df_2894_); +v_a_2952_ = lean_ctor_get(v___x_2951_, 0); +v_isSharedCheck_2959_ = !lean_is_exclusive(v___x_2951_); +if (v_isSharedCheck_2959_ == 0) { -v___x_2952_ = v___x_2949_; -v_isShared_2953_ = v_isSharedCheck_2957_; -goto v_resetjp_2951_; +v___x_2954_ = v___x_2951_; +v_isShared_2955_ = v_isSharedCheck_2959_; +goto v_resetjp_2953_; } else { -lean_inc(v_a_2950_); -lean_dec(v___x_2949_); -v___x_2952_ = lean_box(0); -v_isShared_2953_ = v_isSharedCheck_2957_; -goto v_resetjp_2951_; +lean_inc(v_a_2952_); +lean_dec(v___x_2951_); +v___x_2954_ = lean_box(0); +v_isShared_2955_ = v_isSharedCheck_2959_; +goto v_resetjp_2953_; } -v_resetjp_2951_: +v_resetjp_2953_: { -lean_object* v___x_2955_; -if (v_isShared_2953_ == 0) +lean_object* v___x_2957_; +if (v_isShared_2955_ == 0) { -v___x_2955_ = v___x_2952_; -goto v_reusejp_2954_; +v___x_2957_ = v___x_2954_; +goto v_reusejp_2956_; } else { -lean_object* v_reuseFailAlloc_2956_; -v_reuseFailAlloc_2956_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2956_, 0, v_a_2950_); -v___x_2955_ = v_reuseFailAlloc_2956_; -goto v_reusejp_2954_; +lean_object* v_reuseFailAlloc_2958_; +v_reuseFailAlloc_2958_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2958_, 0, v_a_2952_); +v___x_2957_ = v_reuseFailAlloc_2958_; +goto v_reusejp_2956_; } -v_reusejp_2954_: +v_reusejp_2956_: { -return v___x_2955_; +return v___x_2957_; } } } } else { -goto v___jp_2916_; +goto v___jp_2918_; } -v___jp_2916_: +v___jp_2918_: { -lean_object* v___f_2917_; uint8_t v___x_2918_; lean_object* v___x_2919_; lean_object* v___x_2920_; lean_object* v___x_2921_; -lean_inc(v_name_2908_); -lean_inc(v_a_2906_); -v___f_2917_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__7___boxed), 7, 3); -lean_closure_set(v___f_2917_, 0, v_a_2906_); -lean_closure_set(v___f_2917_, 1, v___x_2913_); -lean_closure_set(v___f_2917_, 2, v_name_2908_); -v___x_2918_ = 1; -lean_inc_ref(v_descr_2909_); -lean_inc(v_name_2908_); -v___x_2919_ = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(v___x_2919_, 0, v_attrDeclName_2893_); -lean_ctor_set(v___x_2919_, 1, v_name_2908_); -lean_ctor_set(v___x_2919_, 2, v_descr_2909_); -lean_ctor_set_uint8(v___x_2919_, sizeof(void*)*3, v___x_2918_); -v___x_2920_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_2920_, 0, v___x_2919_); -lean_ctor_set(v___x_2920_, 1, v___f_2915_); -lean_ctor_set(v___x_2920_, 2, v___f_2917_); -v___x_2921_ = l_Lean_registerBuiltinAttribute(v___x_2920_); -if (lean_obj_tag(v___x_2921_) == 0) +lean_object* v___f_2919_; uint8_t v___x_2920_; lean_object* v___x_2921_; lean_object* v___x_2922_; lean_object* v___x_2923_; +lean_inc(v_name_2910_); +lean_inc(v_a_2908_); +v___f_2919_ = lean_alloc_closure((void*)(l_Lean_KeyedDeclsAttribute_init___redArg___lam__7___boxed), 7, 3); +lean_closure_set(v___f_2919_, 0, v_a_2908_); +lean_closure_set(v___f_2919_, 1, v___x_2915_); +lean_closure_set(v___f_2919_, 2, v_name_2910_); +v___x_2920_ = 1; +lean_inc_ref(v_descr_2911_); +lean_inc(v_name_2910_); +v___x_2921_ = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(v___x_2921_, 0, v_attrDeclName_2895_); +lean_ctor_set(v___x_2921_, 1, v_name_2910_); +lean_ctor_set(v___x_2921_, 2, v_descr_2911_); +lean_ctor_set_uint8(v___x_2921_, sizeof(void*)*3, v___x_2920_); +v___x_2922_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_2922_, 0, v___x_2921_); +lean_ctor_set(v___x_2922_, 1, v___f_2917_); +lean_ctor_set(v___x_2922_, 2, v___f_2919_); +v___x_2923_ = l_Lean_registerBuiltinAttribute(v___x_2922_); +if (lean_obj_tag(v___x_2923_) == 0) { -lean_object* v___x_2923_; uint8_t v_isShared_2924_; uint8_t v_isSharedCheck_2929_; -v_isSharedCheck_2929_ = !lean_is_exclusive(v___x_2921_); -if (v_isSharedCheck_2929_ == 0) +lean_object* v___x_2925_; uint8_t v_isShared_2926_; uint8_t v_isSharedCheck_2931_; +v_isSharedCheck_2931_ = !lean_is_exclusive(v___x_2923_); +if (v_isSharedCheck_2931_ == 0) { -lean_object* v_unused_2930_; -v_unused_2930_ = lean_ctor_get(v___x_2921_, 0); -lean_dec(v_unused_2930_); -v___x_2923_ = v___x_2921_; -v_isShared_2924_ = v_isSharedCheck_2929_; -goto v_resetjp_2922_; +lean_object* v_unused_2932_; +v_unused_2932_ = lean_ctor_get(v___x_2923_, 0); +lean_dec(v_unused_2932_); +v___x_2925_ = v___x_2923_; +v_isShared_2926_ = v_isSharedCheck_2931_; +goto v_resetjp_2924_; } else { -lean_dec(v___x_2921_); -v___x_2923_ = lean_box(0); -v_isShared_2924_ = v_isSharedCheck_2929_; -goto v_resetjp_2922_; +lean_dec(v___x_2923_); +v___x_2925_ = lean_box(0); +v_isShared_2926_ = v_isSharedCheck_2931_; +goto v_resetjp_2924_; } -v_resetjp_2922_: +v_resetjp_2924_: { -lean_object* v___x_2925_; lean_object* v___x_2927_; -v___x_2925_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_2925_, 0, v_df_2892_); -lean_ctor_set(v___x_2925_, 1, v___x_2897_); -lean_ctor_set(v___x_2925_, 2, v_a_2906_); -if (v_isShared_2924_ == 0) +lean_object* v___x_2927_; lean_object* v___x_2929_; +v___x_2927_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_2927_, 0, v_df_2894_); +lean_ctor_set(v___x_2927_, 1, v___x_2899_); +lean_ctor_set(v___x_2927_, 2, v_a_2908_); +if (v_isShared_2926_ == 0) { -lean_ctor_set(v___x_2923_, 0, v___x_2925_); -v___x_2927_ = v___x_2923_; -goto v_reusejp_2926_; +lean_ctor_set(v___x_2925_, 0, v___x_2927_); +v___x_2929_ = v___x_2925_; +goto v_reusejp_2928_; } else { -lean_object* v_reuseFailAlloc_2928_; -v_reuseFailAlloc_2928_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2928_, 0, v___x_2925_); -v___x_2927_ = v_reuseFailAlloc_2928_; -goto v_reusejp_2926_; +lean_object* v_reuseFailAlloc_2930_; +v_reuseFailAlloc_2930_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2930_, 0, v___x_2927_); +v___x_2929_ = v_reuseFailAlloc_2930_; +goto v_reusejp_2928_; } -v_reusejp_2926_: +v_reusejp_2928_: { -return v___x_2927_; +return v___x_2929_; } } } else { -lean_object* v_a_2931_; lean_object* v___x_2933_; uint8_t v_isShared_2934_; uint8_t v_isSharedCheck_2938_; -lean_dec(v_a_2906_); -lean_dec(v___x_2897_); -lean_dec_ref(v_df_2892_); -v_a_2931_ = lean_ctor_get(v___x_2921_, 0); -v_isSharedCheck_2938_ = !lean_is_exclusive(v___x_2921_); -if (v_isSharedCheck_2938_ == 0) +lean_object* v_a_2933_; lean_object* v___x_2935_; uint8_t v_isShared_2936_; uint8_t v_isSharedCheck_2940_; +lean_dec(v_a_2908_); +lean_dec(v___x_2899_); +lean_dec_ref(v_df_2894_); +v_a_2933_ = lean_ctor_get(v___x_2923_, 0); +v_isSharedCheck_2940_ = !lean_is_exclusive(v___x_2923_); +if (v_isSharedCheck_2940_ == 0) { -v___x_2933_ = v___x_2921_; -v_isShared_2934_ = v_isSharedCheck_2938_; -goto v_resetjp_2932_; +v___x_2935_ = v___x_2923_; +v_isShared_2936_ = v_isSharedCheck_2940_; +goto v_resetjp_2934_; } else { -lean_inc(v_a_2931_); -lean_dec(v___x_2921_); -v___x_2933_ = lean_box(0); -v_isShared_2934_ = v_isSharedCheck_2938_; -goto v_resetjp_2932_; +lean_inc(v_a_2933_); +lean_dec(v___x_2923_); +v___x_2935_ = lean_box(0); +v_isShared_2936_ = v_isSharedCheck_2940_; +goto v_resetjp_2934_; } -v_resetjp_2932_: +v_resetjp_2934_: { -lean_object* v___x_2936_; -if (v_isShared_2934_ == 0) +lean_object* v___x_2938_; +if (v_isShared_2936_ == 0) { -v___x_2936_ = v___x_2933_; -goto v_reusejp_2935_; +v___x_2938_ = v___x_2935_; +goto v_reusejp_2937_; } else { -lean_object* v_reuseFailAlloc_2937_; -v_reuseFailAlloc_2937_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2937_, 0, v_a_2931_); -v___x_2936_ = v_reuseFailAlloc_2937_; -goto v_reusejp_2935_; +lean_object* v_reuseFailAlloc_2939_; +v_reuseFailAlloc_2939_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2939_, 0, v_a_2933_); +v___x_2938_ = v_reuseFailAlloc_2939_; +goto v_reusejp_2937_; } -v_reusejp_2935_: +v_reusejp_2937_: { -return v___x_2936_; +return v___x_2938_; } } } @@ -8897,279 +8900,279 @@ return v___x_2936_; } else { -lean_object* v_a_2958_; lean_object* v___x_2960_; uint8_t v_isShared_2961_; uint8_t v_isSharedCheck_2965_; -lean_dec(v___x_2897_); -lean_dec(v_attrDeclName_2893_); -lean_dec_ref(v_df_2892_); -v_a_2958_ = lean_ctor_get(v___x_2905_, 0); -v_isSharedCheck_2965_ = !lean_is_exclusive(v___x_2905_); -if (v_isSharedCheck_2965_ == 0) +lean_object* v_a_2960_; lean_object* v___x_2962_; uint8_t v_isShared_2963_; uint8_t v_isSharedCheck_2967_; +lean_dec(v___x_2899_); +lean_dec(v_attrDeclName_2895_); +lean_dec_ref(v_df_2894_); +v_a_2960_ = lean_ctor_get(v___x_2907_, 0); +v_isSharedCheck_2967_ = !lean_is_exclusive(v___x_2907_); +if (v_isSharedCheck_2967_ == 0) { -v___x_2960_ = v___x_2905_; -v_isShared_2961_ = v_isSharedCheck_2965_; -goto v_resetjp_2959_; +v___x_2962_ = v___x_2907_; +v_isShared_2963_ = v_isSharedCheck_2967_; +goto v_resetjp_2961_; } else { -lean_inc(v_a_2958_); -lean_dec(v___x_2905_); -v___x_2960_ = lean_box(0); -v_isShared_2961_ = v_isSharedCheck_2965_; -goto v_resetjp_2959_; +lean_inc(v_a_2960_); +lean_dec(v___x_2907_); +v___x_2962_ = lean_box(0); +v_isShared_2963_ = v_isSharedCheck_2967_; +goto v_resetjp_2961_; } -v_resetjp_2959_: +v_resetjp_2961_: { -lean_object* v___x_2963_; -if (v_isShared_2961_ == 0) +lean_object* v___x_2965_; +if (v_isShared_2963_ == 0) { -v___x_2963_ = v___x_2960_; -goto v_reusejp_2962_; +v___x_2965_ = v___x_2962_; +goto v_reusejp_2964_; } else { -lean_object* v_reuseFailAlloc_2964_; -v_reuseFailAlloc_2964_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_2964_, 0, v_a_2958_); -v___x_2963_ = v_reuseFailAlloc_2964_; -goto v_reusejp_2962_; +lean_object* v_reuseFailAlloc_2966_; +v_reuseFailAlloc_2966_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2966_, 0, v_a_2960_); +v___x_2965_ = v_reuseFailAlloc_2966_; +goto v_reusejp_2964_; } -v_reusejp_2962_: +v_reusejp_2964_: { -return v___x_2963_; +return v___x_2965_; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___boxed(lean_object* v_df_2966_, lean_object* v_attrDeclName_2967_, lean_object* v_a_2968_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___redArg___boxed(lean_object* v_df_2968_, lean_object* v_attrDeclName_2969_, lean_object* v_a_2970_){ _start: { -lean_object* v_res_2969_; -v_res_2969_ = l_Lean_KeyedDeclsAttribute_init___redArg(v_df_2966_, v_attrDeclName_2967_); -return v_res_2969_; +lean_object* v_res_2971_; +v_res_2971_ = l_Lean_KeyedDeclsAttribute_init___redArg(v_df_2968_, v_attrDeclName_2969_); +return v_res_2971_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init(lean_object* v_00_u03b3_2970_, lean_object* v_df_2971_, lean_object* v_attrDeclName_2972_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init(lean_object* v_00_u03b3_2972_, lean_object* v_df_2973_, lean_object* v_attrDeclName_2974_){ _start: { -lean_object* v___x_2974_; -v___x_2974_ = l_Lean_KeyedDeclsAttribute_init___redArg(v_df_2971_, v_attrDeclName_2972_); -return v___x_2974_; +lean_object* v___x_2976_; +v___x_2976_ = l_Lean_KeyedDeclsAttribute_init___redArg(v_df_2973_, v_attrDeclName_2974_); +return v___x_2976_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___boxed(lean_object* v_00_u03b3_2975_, lean_object* v_df_2976_, lean_object* v_attrDeclName_2977_, lean_object* v_a_2978_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_init___boxed(lean_object* v_00_u03b3_2977_, lean_object* v_df_2978_, lean_object* v_attrDeclName_2979_, lean_object* v_a_2980_){ _start: { -lean_object* v_res_2979_; -v_res_2979_ = l_Lean_KeyedDeclsAttribute_init(v_00_u03b3_2975_, v_df_2976_, v_attrDeclName_2977_); -return v_res_2979_; +lean_object* v_res_2981_; +v_res_2981_ = l_Lean_KeyedDeclsAttribute_init(v_00_u03b3_2977_, v_df_2978_, v_attrDeclName_2979_); +return v_res_2981_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1(lean_object* v_00_u03b1_2980_, lean_object* v___y_2981_, lean_object* v___y_2982_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1(lean_object* v_00_u03b1_2982_, lean_object* v___y_2983_, lean_object* v___y_2984_){ _start: { -lean_object* v___x_2984_; -v___x_2984_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); -return v___x_2984_; +lean_object* v___x_2986_; +v___x_2986_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___redArg(); +return v___x_2986_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___boxed(lean_object* v_00_u03b1_2985_, lean_object* v___y_2986_, lean_object* v___y_2987_, lean_object* v___y_2988_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1___boxed(lean_object* v_00_u03b1_2987_, lean_object* v___y_2988_, lean_object* v___y_2989_, lean_object* v___y_2990_){ _start: { -lean_object* v_res_2989_; -v_res_2989_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1(v_00_u03b1_2985_, v___y_2986_, v___y_2987_); -lean_dec(v___y_2987_); -lean_dec_ref(v___y_2986_); -return v_res_2989_; +lean_object* v_res_2991_; +v_res_2991_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__1(v_00_u03b1_2987_, v___y_2988_, v___y_2989_); +lean_dec(v___y_2989_); +lean_dec_ref(v___y_2988_); +return v_res_2991_; } } -LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0(lean_object* v_00_u03b1_2990_, lean_object* v_typeName_2991_, lean_object* v_constName_2992_, lean_object* v___y_2993_, lean_object* v___y_2994_){ +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0(lean_object* v_00_u03b1_2992_, lean_object* v_typeName_2993_, lean_object* v_constName_2994_, lean_object* v___y_2995_, lean_object* v___y_2996_){ _start: { -lean_object* v___x_2996_; -v___x_2996_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_typeName_2991_, v_constName_2992_, v___y_2993_, v___y_2994_); -return v___x_2996_; +lean_object* v___x_2998_; +v___x_2998_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___redArg(v_typeName_2993_, v_constName_2994_, v___y_2995_, v___y_2996_); +return v___x_2998_; } } -LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___boxed(lean_object* v_00_u03b1_2997_, lean_object* v_typeName_2998_, lean_object* v_constName_2999_, lean_object* v___y_3000_, lean_object* v___y_3001_, lean_object* v___y_3002_){ +LEAN_EXPORT lean_object* l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0___boxed(lean_object* v_00_u03b1_2999_, lean_object* v_typeName_3000_, lean_object* v_constName_3001_, lean_object* v___y_3002_, lean_object* v___y_3003_, lean_object* v___y_3004_){ _start: { -lean_object* v_res_3003_; -v_res_3003_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0(v_00_u03b1_2997_, v_typeName_2998_, v_constName_2999_, v___y_3000_, v___y_3001_); -lean_dec(v___y_3001_); -lean_dec_ref(v___y_3000_); -return v_res_3003_; +lean_object* v_res_3005_; +v_res_3005_ = l_Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0(v_00_u03b1_2999_, v_typeName_3000_, v_constName_3001_, v___y_3002_, v___y_3003_); +lean_dec(v___y_3003_); +lean_dec_ref(v___y_3002_); +return v_res_3005_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3(lean_object* v_00_u03b1_3004_, lean_object* v_attrName_3005_, lean_object* v_declName_3006_, lean_object* v_givenType_3007_, lean_object* v_expectedType_3008_, lean_object* v___y_3009_, lean_object* v___y_3010_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3(lean_object* v_00_u03b1_3006_, lean_object* v_attrName_3007_, lean_object* v_declName_3008_, lean_object* v_givenType_3009_, lean_object* v_expectedType_3010_, lean_object* v___y_3011_, lean_object* v___y_3012_){ _start: { -lean_object* v___x_3012_; -v___x_3012_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_attrName_3005_, v_declName_3006_, v_givenType_3007_, v_expectedType_3008_, v___y_3009_, v___y_3010_); -return v___x_3012_; +lean_object* v___x_3014_; +v___x_3014_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___redArg(v_attrName_3007_, v_declName_3008_, v_givenType_3009_, v_expectedType_3010_, v___y_3011_, v___y_3012_); +return v___x_3014_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___boxed(lean_object* v_00_u03b1_3013_, lean_object* v_attrName_3014_, lean_object* v_declName_3015_, lean_object* v_givenType_3016_, lean_object* v_expectedType_3017_, lean_object* v___y_3018_, lean_object* v___y_3019_, lean_object* v___y_3020_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3___boxed(lean_object* v_00_u03b1_3015_, lean_object* v_attrName_3016_, lean_object* v_declName_3017_, lean_object* v_givenType_3018_, lean_object* v_expectedType_3019_, lean_object* v___y_3020_, lean_object* v___y_3021_, lean_object* v___y_3022_){ _start: { -lean_object* v_res_3021_; -v_res_3021_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3(v_00_u03b1_3013_, v_attrName_3014_, v_declName_3015_, v_givenType_3016_, v_expectedType_3017_, v___y_3018_, v___y_3019_); -lean_dec(v___y_3019_); -lean_dec_ref(v___y_3018_); -return v_res_3021_; +lean_object* v_res_3023_; +v_res_3023_ = l_Lean_throwAttrDeclNotOfExpectedType___at___00Lean_KeyedDeclsAttribute_init_spec__3(v_00_u03b1_3015_, v_attrName_3016_, v_declName_3017_, v_givenType_3018_, v_expectedType_3019_, v___y_3020_, v___y_3021_); +lean_dec(v___y_3021_); +lean_dec_ref(v___y_3020_); +return v_res_3023_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4(lean_object* v_00_u03b1_3022_, lean_object* v_name_3023_, uint8_t v_kind_3024_, lean_object* v___y_3025_, lean_object* v___y_3026_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4(lean_object* v_00_u03b1_3024_, lean_object* v_name_3025_, uint8_t v_kind_3026_, lean_object* v___y_3027_, lean_object* v___y_3028_){ _start: { -lean_object* v___x_3028_; -v___x_3028_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_name_3023_, v_kind_3024_, v___y_3025_, v___y_3026_); -return v___x_3028_; +lean_object* v___x_3030_; +v___x_3030_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___redArg(v_name_3025_, v_kind_3026_, v___y_3027_, v___y_3028_); +return v___x_3030_; } } -LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___boxed(lean_object* v_00_u03b1_3029_, lean_object* v_name_3030_, lean_object* v_kind_3031_, lean_object* v___y_3032_, lean_object* v___y_3033_, lean_object* v___y_3034_){ +LEAN_EXPORT lean_object* l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4___boxed(lean_object* v_00_u03b1_3031_, lean_object* v_name_3032_, lean_object* v_kind_3033_, lean_object* v___y_3034_, lean_object* v___y_3035_, lean_object* v___y_3036_){ _start: { -uint8_t v_kind_boxed_3035_; lean_object* v_res_3036_; -v_kind_boxed_3035_ = lean_unbox(v_kind_3031_); -v_res_3036_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4(v_00_u03b1_3029_, v_name_3030_, v_kind_boxed_3035_, v___y_3032_, v___y_3033_); -lean_dec(v___y_3033_); -lean_dec_ref(v___y_3032_); -return v_res_3036_; +uint8_t v_kind_boxed_3037_; lean_object* v_res_3038_; +v_kind_boxed_3037_ = lean_unbox(v_kind_3033_); +v_res_3038_ = l_Lean_throwAttrMustBeGlobal___at___00Lean_KeyedDeclsAttribute_init_spec__4(v_00_u03b1_3031_, v_name_3032_, v_kind_boxed_3037_, v___y_3034_, v___y_3035_); +lean_dec(v___y_3035_); +lean_dec_ref(v___y_3034_); +return v_res_3038_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0(lean_object* v_00_u03b1_3037_, lean_object* v_x_3038_, lean_object* v___y_3039_, lean_object* v___y_3040_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0(lean_object* v_00_u03b1_3039_, lean_object* v_x_3040_, lean_object* v___y_3041_, lean_object* v___y_3042_){ _start: { -lean_object* v___x_3042_; -v___x_3042_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v_x_3038_, v___y_3039_, v___y_3040_); -return v___x_3042_; +lean_object* v___x_3044_; +v___x_3044_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___redArg(v_x_3040_, v___y_3041_, v___y_3042_); +return v___x_3044_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___boxed(lean_object* v_00_u03b1_3043_, lean_object* v_x_3044_, lean_object* v___y_3045_, lean_object* v___y_3046_, lean_object* v___y_3047_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0___boxed(lean_object* v_00_u03b1_3045_, lean_object* v_x_3046_, lean_object* v___y_3047_, lean_object* v___y_3048_, lean_object* v___y_3049_){ _start: { -lean_object* v_res_3048_; -v_res_3048_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0(v_00_u03b1_3043_, v_x_3044_, v___y_3045_, v___y_3046_); -lean_dec(v___y_3046_); -lean_dec_ref(v___y_3045_); -return v_res_3048_; +lean_object* v_res_3050_; +v_res_3050_ = l_Lean_ofExcept___at___00Lean_evalConstCheck___at___00Lean_KeyedDeclsAttribute_init_spec__0_spec__0(v_00_u03b1_3045_, v_x_3046_, v___y_3047_, v___y_3048_); +lean_dec(v___y_3048_); +lean_dec_ref(v___y_3047_); +return v_res_3050_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg(lean_object* v_x_3049_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg(lean_object* v_x_3051_){ _start: { -uint8_t v___x_3050_; -v___x_3050_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_x_3049_); -return v___x_3050_; +uint8_t v___x_3052_; +v___x_3052_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_x_3051_); +return v___x_3052_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg___boxed(lean_object* v_x_3051_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg___boxed(lean_object* v_x_3053_){ _start: { -uint8_t v_res_3052_; lean_object* v_r_3053_; -v_res_3052_ = l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg(v_x_3051_); -lean_dec_ref(v_x_3051_); -v_r_3053_ = lean_box(v_res_3052_); -return v_r_3053_; +uint8_t v_res_3054_; lean_object* v_r_3055_; +v_res_3054_ = l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___redArg(v_x_3053_); +lean_dec_ref(v_x_3053_); +v_r_3055_ = lean_box(v_res_3054_); +return v_r_3055_; } } -LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0(lean_object* v_00_u03b2_3054_, lean_object* v_x_3055_){ +LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0(lean_object* v_00_u03b2_3056_, lean_object* v_x_3057_){ _start: { -uint8_t v___x_3056_; -v___x_3056_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_x_3055_); -return v___x_3056_; +uint8_t v___x_3058_; +v___x_3058_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_x_3057_); +return v___x_3058_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___boxed(lean_object* v_00_u03b2_3057_, lean_object* v_x_3058_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0___boxed(lean_object* v_00_u03b2_3059_, lean_object* v_x_3060_){ _start: { -uint8_t v_res_3059_; lean_object* v_r_3060_; -v_res_3059_ = l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0(v_00_u03b2_3057_, v_x_3058_); -lean_dec_ref(v_x_3058_); -v_r_3060_ = lean_box(v_res_3059_); -return v_r_3060_; +uint8_t v_res_3061_; lean_object* v_r_3062_; +v_res_3061_ = l_Lean_PersistentHashMap_isEmpty___at___00Lean_KeyedDeclsAttribute_getEntries_spec__0(v_00_u03b2_3059_, v_x_3060_); +lean_dec_ref(v_x_3060_); +v_r_3062_ = lean_box(v_res_3061_); +return v_r_3062_; } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(lean_object* v___x_3061_, uint8_t v___x_3062_, lean_object* v_a_3063_, lean_object* v_a_3064_){ +LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(lean_object* v___x_3063_, uint8_t v___x_3064_, lean_object* v_a_3065_, lean_object* v_a_3066_){ _start: { -if (lean_obj_tag(v_a_3063_) == 0) +if (lean_obj_tag(v_a_3065_) == 0) { -lean_object* v___x_3065_; -lean_dec_ref(v___x_3061_); -v___x_3065_ = l_List_reverse___redArg(v_a_3064_); -return v___x_3065_; +lean_object* v___x_3067_; +lean_dec_ref(v___x_3063_); +v___x_3067_ = l_List_reverse___redArg(v_a_3066_); +return v___x_3067_; } else { -lean_object* v_head_3066_; lean_object* v_tail_3067_; lean_object* v___x_3069_; uint8_t v_isShared_3070_; uint8_t v_isSharedCheck_3080_; -v_head_3066_ = lean_ctor_get(v_a_3063_, 0); -v_tail_3067_ = lean_ctor_get(v_a_3063_, 1); -v_isSharedCheck_3080_ = !lean_is_exclusive(v_a_3063_); -if (v_isSharedCheck_3080_ == 0) +lean_object* v_head_3068_; lean_object* v_tail_3069_; lean_object* v___x_3071_; uint8_t v_isShared_3072_; uint8_t v_isSharedCheck_3082_; +v_head_3068_ = lean_ctor_get(v_a_3065_, 0); +v_tail_3069_ = lean_ctor_get(v_a_3065_, 1); +v_isSharedCheck_3082_ = !lean_is_exclusive(v_a_3065_); +if (v_isSharedCheck_3082_ == 0) { -v___x_3069_ = v_a_3063_; -v_isShared_3070_ = v_isSharedCheck_3080_; -goto v_resetjp_3068_; +v___x_3071_ = v_a_3065_; +v_isShared_3072_ = v_isSharedCheck_3082_; +goto v_resetjp_3070_; } else { -lean_inc(v_tail_3067_); -lean_inc(v_head_3066_); -lean_dec(v_a_3063_); -v___x_3069_ = lean_box(0); -v_isShared_3070_ = v_isSharedCheck_3080_; -goto v_resetjp_3068_; +lean_inc(v_tail_3069_); +lean_inc(v_head_3068_); +lean_dec(v_a_3065_); +v___x_3071_ = lean_box(0); +v_isShared_3072_ = v_isSharedCheck_3082_; +goto v_resetjp_3070_; } -v_resetjp_3068_: +v_resetjp_3070_: { -lean_object* v_toOLeanEntry_3076_; lean_object* v_declName_3077_; uint8_t v___x_3078_; -v_toOLeanEntry_3076_ = lean_ctor_get(v_head_3066_, 0); -v_declName_3077_ = lean_ctor_get(v_toOLeanEntry_3076_, 1); -lean_inc_ref(v___x_3061_); -v___x_3078_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v___x_3061_, v_declName_3077_); -if (v___x_3078_ == 0) +lean_object* v_toOLeanEntry_3078_; lean_object* v_declName_3079_; uint8_t v___x_3080_; +v_toOLeanEntry_3078_ = lean_ctor_get(v_head_3068_, 0); +v_declName_3079_ = lean_ctor_get(v_toOLeanEntry_3078_, 1); +lean_inc_ref(v___x_3063_); +v___x_3080_ = l_Lean_PersistentHashMap_contains___at___00Lean_KeyedDeclsAttribute_ExtensionState_erase_spec__0___redArg(v___x_3063_, v_declName_3079_); +if (v___x_3080_ == 0) { -goto v___jp_3071_; +goto v___jp_3073_; } else { -if (v___x_3062_ == 0) +if (v___x_3064_ == 0) { -lean_del_object(v___x_3069_); -lean_dec(v_head_3066_); -v_a_3063_ = v_tail_3067_; +lean_del_object(v___x_3071_); +lean_dec(v_head_3068_); +v_a_3065_ = v_tail_3069_; goto _start; } else { -goto v___jp_3071_; +goto v___jp_3073_; } } -v___jp_3071_: +v___jp_3073_: { -lean_object* v___x_3073_; -if (v_isShared_3070_ == 0) +lean_object* v___x_3075_; +if (v_isShared_3072_ == 0) { -lean_ctor_set(v___x_3069_, 1, v_a_3064_); -v___x_3073_ = v___x_3069_; -goto v_reusejp_3072_; +lean_ctor_set(v___x_3071_, 1, v_a_3066_); +v___x_3075_ = v___x_3071_; +goto v_reusejp_3074_; } else { -lean_object* v_reuseFailAlloc_3075_; -v_reuseFailAlloc_3075_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3075_, 0, v_head_3066_); -lean_ctor_set(v_reuseFailAlloc_3075_, 1, v_a_3064_); -v___x_3073_ = v_reuseFailAlloc_3075_; -goto v_reusejp_3072_; +lean_object* v_reuseFailAlloc_3077_; +v_reuseFailAlloc_3077_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3077_, 0, v_head_3068_); +lean_ctor_set(v_reuseFailAlloc_3077_, 1, v_a_3066_); +v___x_3075_ = v_reuseFailAlloc_3077_; +goto v_reusejp_3074_; } -v_reusejp_3072_: +v_reusejp_3074_: { -v_a_3063_ = v_tail_3067_; -v_a_3064_ = v___x_3073_; +v_a_3065_ = v_tail_3069_; +v_a_3066_ = v___x_3075_; goto _start; } } @@ -9177,217 +9180,217 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg___boxed(lean_object* v___x_3081_, lean_object* v___x_3082_, lean_object* v_a_3083_, lean_object* v_a_3084_){ +LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg___boxed(lean_object* v___x_3083_, lean_object* v___x_3084_, lean_object* v_a_3085_, lean_object* v_a_3086_){ _start: { -uint8_t v___x_137__boxed_3085_; lean_object* v_res_3086_; -v___x_137__boxed_3085_ = lean_unbox(v___x_3082_); -v_res_3086_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v___x_3081_, v___x_137__boxed_3085_, v_a_3083_, v_a_3084_); -return v_res_3086_; +uint8_t v___x_137__boxed_3087_; lean_object* v_res_3088_; +v___x_137__boxed_3087_ = lean_unbox(v___x_3084_); +v_res_3088_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v___x_3083_, v___x_137__boxed_3087_, v_a_3085_, v_a_3086_); +return v_res_3088_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___redArg(lean_object* v_attr_3087_, lean_object* v_env_3088_, lean_object* v_key_3089_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___redArg(lean_object* v_attr_3089_, lean_object* v_env_3090_, lean_object* v_key_3091_){ _start: { -lean_object* v_ext_3090_; lean_object* v_ext_3091_; lean_object* v_toEnvExtension_3092_; lean_object* v_asyncMode_3093_; lean_object* v___x_3094_; lean_object* v_s_3095_; lean_object* v___y_3097_; lean_object* v_table_3102_; lean_object* v___x_3103_; -v_ext_3090_ = lean_ctor_get(v_attr_3087_, 2); -v_ext_3091_ = lean_ctor_get(v_ext_3090_, 1); -v_toEnvExtension_3092_ = lean_ctor_get(v_ext_3091_, 0); -v_asyncMode_3093_ = lean_ctor_get(v_toEnvExtension_3092_, 2); -v___x_3094_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); -v_s_3095_ = l_Lean_ScopedEnvExtension_getState___redArg(v___x_3094_, v_ext_3090_, v_env_3088_, v_asyncMode_3093_); -v_table_3102_ = lean_ctor_get(v_s_3095_, 1); -lean_inc_ref(v_table_3102_); -v___x_3103_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_table_3102_, v_key_3089_); -if (lean_obj_tag(v___x_3103_) == 0) +lean_object* v_ext_3092_; lean_object* v_ext_3093_; lean_object* v_toEnvExtension_3094_; lean_object* v_asyncMode_3095_; lean_object* v___x_3096_; lean_object* v_s_3097_; lean_object* v___y_3099_; lean_object* v_table_3104_; lean_object* v___x_3105_; +v_ext_3092_ = lean_ctor_get(v_attr_3089_, 2); +v_ext_3093_ = lean_ctor_get(v_ext_3092_, 1); +v_toEnvExtension_3094_ = lean_ctor_get(v_ext_3093_, 0); +v_asyncMode_3095_ = lean_ctor_get(v_toEnvExtension_3094_, 2); +v___x_3096_ = lean_obj_once(&l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0, &l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0_once, _init_l_Lean_KeyedDeclsAttribute_instInhabitedExtensionState___closed__0); +v_s_3097_ = l_Lean_ScopedEnvExtension_getState___redArg(v___x_3096_, v_ext_3092_, v_env_3090_, v_asyncMode_3095_); +v_table_3104_ = lean_ctor_get(v_s_3097_, 1); +lean_inc_ref(v_table_3104_); +v___x_3105_ = l_Lean_SMap_find_x3f___at___00__private_Lean_KeyedDeclsAttribute_0__Lean_KeyedDeclsAttribute_Table_insert_spec__0___redArg(v_table_3104_, v_key_3091_); +if (lean_obj_tag(v___x_3105_) == 0) { -lean_object* v___x_3104_; -v___x_3104_ = lean_box(0); -v___y_3097_ = v___x_3104_; -goto v___jp_3096_; +lean_object* v___x_3106_; +v___x_3106_ = lean_box(0); +v___y_3099_ = v___x_3106_; +goto v___jp_3098_; } else { -lean_object* v_val_3105_; -v_val_3105_ = lean_ctor_get(v___x_3103_, 0); -lean_inc(v_val_3105_); -lean_dec_ref(v___x_3103_); -v___y_3097_ = v_val_3105_; -goto v___jp_3096_; +lean_object* v_val_3107_; +v_val_3107_ = lean_ctor_get(v___x_3105_, 0); +lean_inc(v_val_3107_); +lean_dec_ref(v___x_3105_); +v___y_3099_ = v_val_3107_; +goto v___jp_3098_; } -v___jp_3096_: +v___jp_3098_: { -lean_object* v_erased_3098_; uint8_t v___x_3099_; -v_erased_3098_ = lean_ctor_get(v_s_3095_, 3); -lean_inc_ref(v_erased_3098_); -lean_dec(v_s_3095_); -v___x_3099_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_erased_3098_); -if (v___x_3099_ == 0) +lean_object* v_erased_3100_; uint8_t v___x_3101_; +v_erased_3100_ = lean_ctor_get(v_s_3097_, 3); +lean_inc_ref(v_erased_3100_); +lean_dec(v_s_3097_); +v___x_3101_ = l_Lean_PersistentHashMap_Node_isEmpty___redArg(v_erased_3100_); +if (v___x_3101_ == 0) { -lean_object* v___x_3100_; lean_object* v___x_3101_; -v___x_3100_ = lean_box(0); -v___x_3101_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v_erased_3098_, v___x_3099_, v___y_3097_, v___x_3100_); -return v___x_3101_; +lean_object* v___x_3102_; lean_object* v___x_3103_; +v___x_3102_ = lean_box(0); +v___x_3103_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v_erased_3100_, v___x_3101_, v___y_3099_, v___x_3102_); +return v___x_3103_; } else { -lean_dec_ref(v_erased_3098_); -return v___y_3097_; +lean_dec_ref(v_erased_3100_); +return v___y_3099_; } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___redArg___boxed(lean_object* v_attr_3106_, lean_object* v_env_3107_, lean_object* v_key_3108_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___redArg___boxed(lean_object* v_attr_3108_, lean_object* v_env_3109_, lean_object* v_key_3110_){ _start: { -lean_object* v_res_3109_; -v_res_3109_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3106_, v_env_3107_, v_key_3108_); -lean_dec(v_key_3108_); -lean_dec_ref(v_attr_3106_); -return v_res_3109_; +lean_object* v_res_3111_; +v_res_3111_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3108_, v_env_3109_, v_key_3110_); +lean_dec(v_key_3110_); +lean_dec_ref(v_attr_3108_); +return v_res_3111_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries(lean_object* v_00_u03b3_3110_, lean_object* v_attr_3111_, lean_object* v_env_3112_, lean_object* v_key_3113_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries(lean_object* v_00_u03b3_3112_, lean_object* v_attr_3113_, lean_object* v_env_3114_, lean_object* v_key_3115_){ _start: { -lean_object* v___x_3114_; -v___x_3114_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3111_, v_env_3112_, v_key_3113_); -return v___x_3114_; +lean_object* v___x_3116_; +v___x_3116_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3113_, v_env_3114_, v_key_3115_); +return v___x_3116_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___boxed(lean_object* v_00_u03b3_3115_, lean_object* v_attr_3116_, lean_object* v_env_3117_, lean_object* v_key_3118_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getEntries___boxed(lean_object* v_00_u03b3_3117_, lean_object* v_attr_3118_, lean_object* v_env_3119_, lean_object* v_key_3120_){ _start: { -lean_object* v_res_3119_; -v_res_3119_ = l_Lean_KeyedDeclsAttribute_getEntries(v_00_u03b3_3115_, v_attr_3116_, v_env_3117_, v_key_3118_); -lean_dec(v_key_3118_); -lean_dec_ref(v_attr_3116_); -return v_res_3119_; +lean_object* v_res_3121_; +v_res_3121_ = l_Lean_KeyedDeclsAttribute_getEntries(v_00_u03b3_3117_, v_attr_3118_, v_env_3119_, v_key_3120_); +lean_dec(v_key_3120_); +lean_dec_ref(v_attr_3118_); +return v_res_3121_; } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1(lean_object* v_00_u03b3_3120_, lean_object* v___x_3121_, uint8_t v___x_3122_, lean_object* v_a_3123_, lean_object* v_a_3124_){ +LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1(lean_object* v_00_u03b3_3122_, lean_object* v___x_3123_, uint8_t v___x_3124_, lean_object* v_a_3125_, lean_object* v_a_3126_){ _start: { -lean_object* v___x_3125_; -v___x_3125_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v___x_3121_, v___x_3122_, v_a_3123_, v_a_3124_); -return v___x_3125_; +lean_object* v___x_3127_; +v___x_3127_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___redArg(v___x_3123_, v___x_3124_, v_a_3125_, v_a_3126_); +return v___x_3127_; } } -LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___boxed(lean_object* v_00_u03b3_3126_, lean_object* v___x_3127_, lean_object* v___x_3128_, lean_object* v_a_3129_, lean_object* v_a_3130_){ +LEAN_EXPORT lean_object* l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1___boxed(lean_object* v_00_u03b3_3128_, lean_object* v___x_3129_, lean_object* v___x_3130_, lean_object* v_a_3131_, lean_object* v_a_3132_){ _start: { -uint8_t v___x_198__boxed_3131_; lean_object* v_res_3132_; -v___x_198__boxed_3131_ = lean_unbox(v___x_3128_); -v_res_3132_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1(v_00_u03b3_3126_, v___x_3127_, v___x_198__boxed_3131_, v_a_3129_, v_a_3130_); -return v_res_3132_; +uint8_t v___x_198__boxed_3133_; lean_object* v_res_3134_; +v___x_198__boxed_3133_ = lean_unbox(v___x_3130_); +v_res_3134_ = l_List_filterTR_loop___at___00Lean_KeyedDeclsAttribute_getEntries_spec__1(v_00_u03b3_3128_, v___x_3129_, v___x_198__boxed_3133_, v_a_3131_, v_a_3132_); +return v_res_3134_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(lean_object* v_a_3133_, lean_object* v_a_3134_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(lean_object* v_a_3135_, lean_object* v_a_3136_){ _start: { -if (lean_obj_tag(v_a_3133_) == 0) +if (lean_obj_tag(v_a_3135_) == 0) { -lean_object* v___x_3135_; -v___x_3135_ = l_List_reverse___redArg(v_a_3134_); -return v___x_3135_; +lean_object* v___x_3137_; +v___x_3137_ = l_List_reverse___redArg(v_a_3136_); +return v___x_3137_; } else { -lean_object* v_head_3136_; lean_object* v_tail_3137_; lean_object* v___x_3139_; uint8_t v_isShared_3140_; uint8_t v_isSharedCheck_3146_; -v_head_3136_ = lean_ctor_get(v_a_3133_, 0); -v_tail_3137_ = lean_ctor_get(v_a_3133_, 1); -v_isSharedCheck_3146_ = !lean_is_exclusive(v_a_3133_); -if (v_isSharedCheck_3146_ == 0) +lean_object* v_head_3138_; lean_object* v_tail_3139_; lean_object* v___x_3141_; uint8_t v_isShared_3142_; uint8_t v_isSharedCheck_3148_; +v_head_3138_ = lean_ctor_get(v_a_3135_, 0); +v_tail_3139_ = lean_ctor_get(v_a_3135_, 1); +v_isSharedCheck_3148_ = !lean_is_exclusive(v_a_3135_); +if (v_isSharedCheck_3148_ == 0) { -v___x_3139_ = v_a_3133_; -v_isShared_3140_ = v_isSharedCheck_3146_; -goto v_resetjp_3138_; +v___x_3141_ = v_a_3135_; +v_isShared_3142_ = v_isSharedCheck_3148_; +goto v_resetjp_3140_; } else { -lean_inc(v_tail_3137_); -lean_inc(v_head_3136_); -lean_dec(v_a_3133_); -v___x_3139_ = lean_box(0); -v_isShared_3140_ = v_isSharedCheck_3146_; -goto v_resetjp_3138_; +lean_inc(v_tail_3139_); +lean_inc(v_head_3138_); +lean_dec(v_a_3135_); +v___x_3141_ = lean_box(0); +v_isShared_3142_ = v_isSharedCheck_3148_; +goto v_resetjp_3140_; } -v_resetjp_3138_: +v_resetjp_3140_: { -lean_object* v_value_3141_; lean_object* v___x_3143_; -v_value_3141_ = lean_ctor_get(v_head_3136_, 1); -lean_inc(v_value_3141_); -lean_dec(v_head_3136_); -if (v_isShared_3140_ == 0) +lean_object* v_value_3143_; lean_object* v___x_3145_; +v_value_3143_ = lean_ctor_get(v_head_3138_, 1); +lean_inc(v_value_3143_); +lean_dec(v_head_3138_); +if (v_isShared_3142_ == 0) { -lean_ctor_set(v___x_3139_, 1, v_a_3134_); -lean_ctor_set(v___x_3139_, 0, v_value_3141_); -v___x_3143_ = v___x_3139_; -goto v_reusejp_3142_; +lean_ctor_set(v___x_3141_, 1, v_a_3136_); +lean_ctor_set(v___x_3141_, 0, v_value_3143_); +v___x_3145_ = v___x_3141_; +goto v_reusejp_3144_; } else { -lean_object* v_reuseFailAlloc_3145_; -v_reuseFailAlloc_3145_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3145_, 0, v_value_3141_); -lean_ctor_set(v_reuseFailAlloc_3145_, 1, v_a_3134_); -v___x_3143_ = v_reuseFailAlloc_3145_; -goto v_reusejp_3142_; +lean_object* v_reuseFailAlloc_3147_; +v_reuseFailAlloc_3147_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3147_, 0, v_value_3143_); +lean_ctor_set(v_reuseFailAlloc_3147_, 1, v_a_3136_); +v___x_3145_ = v_reuseFailAlloc_3147_; +goto v_reusejp_3144_; } -v_reusejp_3142_: +v_reusejp_3144_: { -v_a_3133_ = v_tail_3137_; -v_a_3134_ = v___x_3143_; +v_a_3135_ = v_tail_3139_; +v_a_3136_ = v___x_3145_; goto _start; } } } } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg(lean_object* v_attr_3147_, lean_object* v_env_3148_, lean_object* v_key_3149_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg(lean_object* v_attr_3149_, lean_object* v_env_3150_, lean_object* v_key_3151_){ _start: { -lean_object* v___x_3150_; lean_object* v___x_3151_; lean_object* v___x_3152_; -v___x_3150_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3147_, v_env_3148_, v_key_3149_); -v___x_3151_ = lean_box(0); -v___x_3152_ = l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(v___x_3150_, v___x_3151_); -return v___x_3152_; +lean_object* v___x_3152_; lean_object* v___x_3153_; lean_object* v___x_3154_; +v___x_3152_ = l_Lean_KeyedDeclsAttribute_getEntries___redArg(v_attr_3149_, v_env_3150_, v_key_3151_); +v___x_3153_ = lean_box(0); +v___x_3154_ = l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(v___x_3152_, v___x_3153_); +return v___x_3154_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg___boxed(lean_object* v_attr_3153_, lean_object* v_env_3154_, lean_object* v_key_3155_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___redArg___boxed(lean_object* v_attr_3155_, lean_object* v_env_3156_, lean_object* v_key_3157_){ _start: { -lean_object* v_res_3156_; -v_res_3156_ = l_Lean_KeyedDeclsAttribute_getValues___redArg(v_attr_3153_, v_env_3154_, v_key_3155_); -lean_dec(v_key_3155_); -lean_dec_ref(v_attr_3153_); -return v_res_3156_; +lean_object* v_res_3158_; +v_res_3158_ = l_Lean_KeyedDeclsAttribute_getValues___redArg(v_attr_3155_, v_env_3156_, v_key_3157_); +lean_dec(v_key_3157_); +lean_dec_ref(v_attr_3155_); +return v_res_3158_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues(lean_object* v_00_u03b3_3157_, lean_object* v_attr_3158_, lean_object* v_env_3159_, lean_object* v_key_3160_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues(lean_object* v_00_u03b3_3159_, lean_object* v_attr_3160_, lean_object* v_env_3161_, lean_object* v_key_3162_){ _start: { -lean_object* v___x_3161_; -v___x_3161_ = l_Lean_KeyedDeclsAttribute_getValues___redArg(v_attr_3158_, v_env_3159_, v_key_3160_); -return v___x_3161_; +lean_object* v___x_3163_; +v___x_3163_ = l_Lean_KeyedDeclsAttribute_getValues___redArg(v_attr_3160_, v_env_3161_, v_key_3162_); +return v___x_3163_; } } -LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___boxed(lean_object* v_00_u03b3_3162_, lean_object* v_attr_3163_, lean_object* v_env_3164_, lean_object* v_key_3165_){ +LEAN_EXPORT lean_object* l_Lean_KeyedDeclsAttribute_getValues___boxed(lean_object* v_00_u03b3_3164_, lean_object* v_attr_3165_, lean_object* v_env_3166_, lean_object* v_key_3167_){ _start: { -lean_object* v_res_3166_; -v_res_3166_ = l_Lean_KeyedDeclsAttribute_getValues(v_00_u03b3_3162_, v_attr_3163_, v_env_3164_, v_key_3165_); -lean_dec(v_key_3165_); -lean_dec_ref(v_attr_3163_); -return v_res_3166_; +lean_object* v_res_3168_; +v_res_3168_ = l_Lean_KeyedDeclsAttribute_getValues(v_00_u03b3_3164_, v_attr_3165_, v_env_3166_, v_key_3167_); +lean_dec(v_key_3167_); +lean_dec_ref(v_attr_3165_); +return v_res_3168_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0(lean_object* v_00_u03b3_3167_, lean_object* v_a_3168_, lean_object* v_a_3169_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0(lean_object* v_00_u03b3_3169_, lean_object* v_a_3170_, lean_object* v_a_3171_){ _start: { -lean_object* v___x_3170_; -v___x_3170_ = l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(v_a_3168_, v_a_3169_); -return v___x_3170_; +lean_object* v___x_3172_; +v___x_3172_ = l_List_mapTR_loop___at___00Lean_KeyedDeclsAttribute_getValues_spec__0___redArg(v_a_3170_, v_a_3171_); +return v___x_3172_; } } lean_object* runtime_initialize_Lean_ScopedEnvExtension(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Constructions/CtorIdx.c b/stage0/stdlib/Lean/Meta/Constructions/CtorIdx.c index 2146c44b93..8d577d2eb1 100644 --- a/stage0/stdlib/Lean/Meta/Constructions/CtorIdx.c +++ b/stage0/stdlib/Lean/Meta/Constructions/CtorIdx.c @@ -47,9 +47,15 @@ uint8_t l_Lean_Expr_isProp(lean_object*); lean_object* l_Lean_InductiveVal_numTypeFormers(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l_List_isEmpty___redArg(lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* l_Lean_compileDecls(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_addToCompletionBlackList(lean_object*, lean_object*); +lean_object* l_Lean_addProtected(lean_object*, lean_object*); +extern lean_object* l_Lean_Linter_deprecatedAttr; +lean_object* l_Lean_ParametricAttribute_setParam___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_mkArrow(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_InductiveVal_numCtors(lean_object*); lean_object* l_Lean_Level_succ___override(lean_object*); @@ -82,13 +88,9 @@ uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); lean_object* l_Lean_compileDecl(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -lean_object* l_Lean_addAndCompile(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_addToCompletionBlackList(lean_object*, lean_object*); -lean_object* l_Lean_addProtected(lean_object*, lean_object*); -extern lean_object* l_Lean_Linter_deprecatedAttr; -lean_object* l_Lean_ParametricAttribute_setParam___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_MessageData_ofFormat(lean_object*); lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*); +uint8_t l_Lean_isMarkedMeta(lean_object*, lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mapErrorImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_register_option(lean_object*, lean_object*); @@ -284,13 +286,13 @@ LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducible LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l_mkCtorIdx___lam__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "x"}; +static const lean_string_object l_mkCtorIdx___lam__1___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "2025-08-25"}; static const lean_object* l_mkCtorIdx___lam__1___closed__0 = (const lean_object*)&l_mkCtorIdx___lam__1___closed__0_value; -static const lean_ctor_object l_mkCtorIdx___lam__1___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_mkCtorIdx___lam__1___closed__0_value),LEAN_SCALAR_PTR_LITERAL(243, 101, 181, 186, 114, 114, 131, 189)}}; +static const lean_ctor_object l_mkCtorIdx___lam__1___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l_mkCtorIdx___lam__1___closed__0_value)}}; static const lean_object* l_mkCtorIdx___lam__1___closed__1 = (const lean_object*)&l_mkCtorIdx___lam__1___closed__1_value; -static const lean_string_object l_mkCtorIdx___lam__1___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 11, .m_capacity = 11, .m_length = 10, .m_data = "2025-08-25"}; +static const lean_string_object l_mkCtorIdx___lam__1___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 2, .m_capacity = 2, .m_length = 1, .m_data = "x"}; static const lean_object* l_mkCtorIdx___lam__1___closed__2 = (const lean_object*)&l_mkCtorIdx___lam__1___closed__2_value; -static const lean_ctor_object l_mkCtorIdx___lam__1___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*1 + 0, .m_other = 1, .m_tag = 1}, .m_objs = {((lean_object*)&l_mkCtorIdx___lam__1___closed__2_value)}}; +static const lean_ctor_object l_mkCtorIdx___lam__1___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_mkCtorIdx___lam__1___closed__2_value),LEAN_SCALAR_PTR_LITERAL(243, 101, 181, 186, 114, 114, 131, 189)}}; static const lean_object* l_mkCtorIdx___lam__1___closed__3 = (const lean_object*)&l_mkCtorIdx___lam__1___closed__3_value; LEAN_EXPORT lean_object* l_mkCtorIdx___lam__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, 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_mkCtorIdx___lam__1___boxed(lean_object**); @@ -951,10 +953,10 @@ return v_res_277_; LEAN_EXPORT lean_object* l_panic___at___00mkCtorIdx_spec__13(lean_object* v_msg_279_, lean_object* v___y_280_, lean_object* v___y_281_, lean_object* v___y_282_, lean_object* v___y_283_){ _start: { -lean_object* v___f_285_; lean_object* v___x_19860__overap_286_; lean_object* v___x_287_; +lean_object* v___f_285_; lean_object* v___x_26958__overap_286_; lean_object* v___x_287_; v___f_285_ = ((lean_object*)(l_panic___at___00mkCtorIdx_spec__13___closed__0)); -v___x_19860__overap_286_ = lean_panic_fn(v___f_285_, v_msg_279_); -v___x_287_ = lean_apply_5(v___x_19860__overap_286_, v___y_280_, v___y_281_, v___y_282_, v___y_283_, lean_box(0)); +v___x_26958__overap_286_ = lean_panic_fn(v___f_285_, v_msg_279_); +v___x_287_ = lean_apply_5(v___x_26958__overap_286_, v___y_280_, v___y_281_, v___y_282_, v___y_283_, lean_box(0)); return v___x_287_; } } @@ -1790,11 +1792,11 @@ goto v_reusejp_559_; } v_reusejp_559_: { -lean_object* v___x_561_; lean_object* v___x_562_; lean_object* v___x_23691__overap_563_; lean_object* v___x_564_; +lean_object* v___x_561_; lean_object* v___x_562_; lean_object* v___x_30789__overap_563_; lean_object* v___x_564_; v___x_561_ = lean_box(0); v___x_562_ = l_instInhabitedOfMonad___redArg(v___x_560_, v___x_561_); -v___x_23691__overap_563_ = lean_panic_fn(v___x_562_, v_msg_506_); -v___x_564_ = lean_apply_5(v___x_23691__overap_563_, v___y_507_, v___y_508_, v___y_509_, v___y_510_, lean_box(0)); +v___x_30789__overap_563_ = lean_panic_fn(v___x_562_, v_msg_506_); +v___x_564_ = lean_apply_5(v___x_30789__overap_563_, v___y_507_, v___y_508_, v___y_509_, v___y_510_, lean_box(0)); return v___x_564_; } } @@ -2083,11 +2085,11 @@ return v___x_666_; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg___lam__0___boxed(lean_object* v_cidx_667_, lean_object* v___x_668_, lean_object* v___x_669_, lean_object* v___x_670_, lean_object* v_ys_671_, lean_object* v_x_672_, lean_object* v___y_673_, lean_object* v___y_674_, lean_object* v___y_675_, lean_object* v___y_676_, lean_object* v___y_677_){ _start: { -uint8_t v___x_28484__boxed_678_; uint8_t v___x_28485__boxed_679_; uint8_t v___x_28486__boxed_680_; lean_object* v_res_681_; -v___x_28484__boxed_678_ = lean_unbox(v___x_668_); -v___x_28485__boxed_679_ = lean_unbox(v___x_669_); -v___x_28486__boxed_680_ = lean_unbox(v___x_670_); -v_res_681_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg___lam__0(v_cidx_667_, v___x_28484__boxed_678_, v___x_28485__boxed_679_, v___x_28486__boxed_680_, v_ys_671_, v_x_672_, v___y_673_, v___y_674_, v___y_675_, v___y_676_); +uint8_t v___x_35666__boxed_678_; uint8_t v___x_35667__boxed_679_; uint8_t v___x_35668__boxed_680_; lean_object* v_res_681_; +v___x_35666__boxed_678_ = lean_unbox(v___x_668_); +v___x_35667__boxed_679_ = lean_unbox(v___x_669_); +v___x_35668__boxed_680_ = lean_unbox(v___x_670_); +v_res_681_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg___lam__0(v_cidx_667_, v___x_35666__boxed_678_, v___x_35667__boxed_679_, v___x_35668__boxed_680_, v_ys_671_, v_x_672_, v___y_673_, v___y_674_, v___y_675_, v___y_676_); lean_dec(v___y_676_); lean_dec_ref(v___y_675_); lean_dec(v___y_674_); @@ -2290,9 +2292,9 @@ return v___x_724_; LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg___boxed(lean_object* v___x_727_, lean_object* v___x_728_, lean_object* v_as_x27_729_, lean_object* v_b_730_, lean_object* v___y_731_, lean_object* v___y_732_, lean_object* v___y_733_, lean_object* v___y_734_, lean_object* v___y_735_){ _start: { -uint8_t v___x_28515__boxed_736_; lean_object* v_res_737_; -v___x_28515__boxed_736_ = lean_unbox(v___x_727_); -v_res_737_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg(v___x_28515__boxed_736_, v___x_728_, v_as_x27_729_, v_b_730_, v___y_731_, v___y_732_, v___y_733_, v___y_734_); +uint8_t v___x_35697__boxed_736_; lean_object* v_res_737_; +v___x_35697__boxed_736_ = lean_unbox(v___x_727_); +v_res_737_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg(v___x_35697__boxed_736_, v___x_728_, v_as_x27_729_, v_b_730_, v___y_731_, v___y_732_, v___y_733_, v___y_734_); lean_dec_ref(v___x_728_); return v_res_737_; } @@ -2427,11 +2429,11 @@ lean_object* v___y_794_ = _args[16]; lean_object* v___y_795_ = _args[17]; _start: { -uint8_t v___x_28606__boxed_796_; uint8_t v___x_28607__boxed_797_; uint8_t v___x_28608__boxed_798_; lean_object* v_res_799_; -v___x_28606__boxed_796_ = lean_unbox(v___x_779_); -v___x_28607__boxed_797_ = lean_unbox(v___x_780_); -v___x_28608__boxed_798_ = lean_unbox(v___x_781_); -v_res_799_ = l_mkCtorIdx___lam__0(v_xs_778_, v___x_28606__boxed_796_, v___x_28607__boxed_797_, v___x_28608__boxed_798_, v_val_782_, v___x_783_, v___x_784_, v___x_785_, v___x_786_, v___x_787_, v_ctors_788_, v___x_789_, v_x_790_, v___y_791_, v___y_792_, v___y_793_, v___y_794_); +uint8_t v___x_35788__boxed_796_; uint8_t v___x_35789__boxed_797_; uint8_t v___x_35790__boxed_798_; lean_object* v_res_799_; +v___x_35788__boxed_796_ = lean_unbox(v___x_779_); +v___x_35789__boxed_797_ = lean_unbox(v___x_780_); +v___x_35790__boxed_798_ = lean_unbox(v___x_781_); +v_res_799_ = l_mkCtorIdx___lam__0(v_xs_778_, v___x_35788__boxed_796_, v___x_35789__boxed_797_, v___x_35790__boxed_798_, v_val_782_, v___x_783_, v___x_784_, v___x_785_, v___x_786_, v___x_787_, v_ctors_788_, v___x_789_, v_x_790_, v___y_791_, v___y_792_, v___y_793_, v___y_794_); lean_dec_ref(v___x_787_); lean_dec_ref(v_val_782_); return v_res_799_; @@ -3296,9 +3298,9 @@ return v___x_1099_; LEAN_EXPORT lean_object* l_List_allM___at___00Lean_isEnumType___at___00mkCtorIdx_spec__9_spec__13___boxed(lean_object* v___x_1102_, lean_object* v_x_1103_, lean_object* v___y_1104_, lean_object* v___y_1105_, lean_object* v___y_1106_, lean_object* v___y_1107_, lean_object* v___y_1108_){ _start: { -uint8_t v___x_29136__boxed_1109_; lean_object* v_res_1110_; -v___x_29136__boxed_1109_ = lean_unbox(v___x_1102_); -v_res_1110_ = l_List_allM___at___00Lean_isEnumType___at___00mkCtorIdx_spec__9_spec__13(v___x_29136__boxed_1109_, v_x_1103_, v___y_1104_, v___y_1105_, v___y_1106_, v___y_1107_); +uint8_t v___x_36318__boxed_1109_; lean_object* v_res_1110_; +v___x_36318__boxed_1109_ = lean_unbox(v___x_1102_); +v_res_1110_ = l_List_allM___at___00Lean_isEnumType___at___00mkCtorIdx_spec__9_spec__13(v___x_36318__boxed_1109_, v_x_1103_, v___y_1104_, v___y_1105_, v___y_1106_, v___y_1107_); lean_dec(v___y_1107_); lean_dec(v___y_1105_); lean_dec_ref(v___y_1104_); @@ -4178,382 +4180,382 @@ return v_res_1407_; LEAN_EXPORT lean_object* l_mkCtorIdx___lam__1(lean_object* v___x_1414_, lean_object* v___x_1415_, lean_object* v_xs_1416_, uint8_t v___x_1417_, uint8_t v___x_1418_, lean_object* v_val_1419_, lean_object* v___x_1420_, lean_object* v___x_1421_, lean_object* v___x_1422_, lean_object* v___x_1423_, lean_object* v_ctors_1424_, lean_object* v___x_1425_, lean_object* v___x_1426_, lean_object* v_levelParams_1427_, lean_object* v_indName_1428_, lean_object* v___y_1429_, lean_object* v___y_1430_, lean_object* v___y_1431_, lean_object* v___y_1432_){ _start: { -lean_object* v___x_1434_; +lean_object* v___y_1435_; lean_object* v___y_1436_; lean_object* v___y_1437_; lean_object* v___y_1438_; lean_object* v___y_1439_; lean_object* v___x_1525_; lean_inc(v___y_1432_); lean_inc_ref(v___y_1431_); lean_inc_ref(v___x_1415_); lean_inc_ref(v___x_1414_); -v___x_1434_ = l_Lean_mkArrow(v___x_1414_, v___x_1415_, v___y_1431_, v___y_1432_); -if (lean_obj_tag(v___x_1434_) == 0) +v___x_1525_ = l_Lean_mkArrow(v___x_1414_, v___x_1415_, v___y_1431_, v___y_1432_); +if (lean_obj_tag(v___x_1525_) == 0) { -lean_object* v_a_1435_; uint8_t v___x_1436_; lean_object* v___x_1437_; -v_a_1435_ = lean_ctor_get(v___x_1434_, 0); -lean_inc(v_a_1435_); -lean_dec_ref(v___x_1434_); -v___x_1436_ = 1; -v___x_1437_ = l_Lean_Meta_mkForallFVars(v_xs_1416_, v_a_1435_, v___x_1417_, v___x_1418_, v___x_1418_, v___x_1436_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); -if (lean_obj_tag(v___x_1437_) == 0) +lean_object* v_a_1526_; uint8_t v___x_1527_; lean_object* v___x_1528_; +v_a_1526_ = lean_ctor_get(v___x_1525_, 0); +lean_inc(v_a_1526_); +lean_dec_ref(v___x_1525_); +v___x_1527_ = 1; +v___x_1528_ = l_Lean_Meta_mkForallFVars(v_xs_1416_, v_a_1526_, v___x_1417_, v___x_1418_, v___x_1418_, v___x_1527_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); +if (lean_obj_tag(v___x_1528_) == 0) { -lean_object* v_a_1438_; lean_object* v___x_1439_; lean_object* v___x_1440_; lean_object* v___x_1441_; lean_object* v___f_1442_; lean_object* v___x_1443_; lean_object* v___x_1444_; -v_a_1438_ = lean_ctor_get(v___x_1437_, 0); -lean_inc(v_a_1438_); -lean_dec_ref(v___x_1437_); -v___x_1439_ = lean_box(v___x_1417_); -v___x_1440_ = lean_box(v___x_1418_); -v___x_1441_ = lean_box(v___x_1436_); +lean_object* v_a_1529_; lean_object* v___x_1530_; lean_object* v___x_1531_; lean_object* v___x_1532_; lean_object* v___f_1533_; lean_object* v___x_1534_; lean_object* v___x_1535_; +v_a_1529_ = lean_ctor_get(v___x_1528_, 0); +lean_inc(v_a_1529_); +lean_dec_ref(v___x_1528_); +v___x_1530_ = lean_box(v___x_1417_); +v___x_1531_ = lean_box(v___x_1418_); +v___x_1532_ = lean_box(v___x_1527_); lean_inc(v___x_1421_); lean_inc_ref(v_val_1419_); -v___f_1442_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__0___boxed), 18, 12); -lean_closure_set(v___f_1442_, 0, v_xs_1416_); -lean_closure_set(v___f_1442_, 1, v___x_1439_); -lean_closure_set(v___f_1442_, 2, v___x_1440_); -lean_closure_set(v___f_1442_, 3, v___x_1441_); -lean_closure_set(v___f_1442_, 4, v_val_1419_); -lean_closure_set(v___f_1442_, 5, v___x_1420_); -lean_closure_set(v___f_1442_, 6, v___x_1415_); -lean_closure_set(v___f_1442_, 7, v___x_1421_); -lean_closure_set(v___f_1442_, 8, v___x_1422_); -lean_closure_set(v___f_1442_, 9, v___x_1423_); -lean_closure_set(v___f_1442_, 10, v_ctors_1424_); -lean_closure_set(v___f_1442_, 11, v___x_1425_); -v___x_1443_ = ((lean_object*)(l_mkCtorIdx___lam__1___closed__1)); +v___f_1533_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__0___boxed), 18, 12); +lean_closure_set(v___f_1533_, 0, v_xs_1416_); +lean_closure_set(v___f_1533_, 1, v___x_1530_); +lean_closure_set(v___f_1533_, 2, v___x_1531_); +lean_closure_set(v___f_1533_, 3, v___x_1532_); +lean_closure_set(v___f_1533_, 4, v_val_1419_); +lean_closure_set(v___f_1533_, 5, v___x_1420_); +lean_closure_set(v___f_1533_, 6, v___x_1415_); +lean_closure_set(v___f_1533_, 7, v___x_1421_); +lean_closure_set(v___f_1533_, 8, v___x_1422_); +lean_closure_set(v___f_1533_, 9, v___x_1423_); +lean_closure_set(v___f_1533_, 10, v_ctors_1424_); +lean_closure_set(v___f_1533_, 11, v___x_1425_); +v___x_1534_ = ((lean_object*)(l_mkCtorIdx___lam__1___closed__3)); lean_inc(v___y_1432_); lean_inc_ref(v___y_1431_); lean_inc(v___y_1430_); lean_inc_ref(v___y_1429_); -v___x_1444_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___redArg(v___x_1443_, v___x_1414_, v___f_1442_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); -if (lean_obj_tag(v___x_1444_) == 0) +v___x_1535_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___redArg(v___x_1534_, v___x_1414_, v___f_1533_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); +if (lean_obj_tag(v___x_1535_) == 0) { -lean_object* v_a_1445_; lean_object* v___x_1446_; lean_object* v_env_1447_; uint32_t v___x_1448_; uint32_t v___x_1449_; uint32_t v___x_1450_; lean_object* v___x_1451_; lean_object* v___x_1452_; lean_object* v_a_1453_; lean_object* v___x_1455_; uint8_t v_isShared_1456_; uint8_t v_isSharedCheck_1654_; -v_a_1445_ = lean_ctor_get(v___x_1444_, 0); -lean_inc(v_a_1445_); -lean_dec_ref(v___x_1444_); -v___x_1446_ = lean_st_ref_get(v___y_1432_); -v_env_1447_ = lean_ctor_get(v___x_1446_, 0); -lean_inc_ref(v_env_1447_); -lean_dec(v___x_1446_); -lean_inc(v_a_1445_); -v___x_1448_ = l_Lean_getMaxHeight(v_env_1447_, v_a_1445_); -v___x_1449_ = 1; -v___x_1450_ = lean_uint32_add(v___x_1448_, v___x_1449_); -v___x_1451_ = lean_alloc_ctor(2, 0, 4); -lean_ctor_set_uint32(v___x_1451_, 0, v___x_1450_); -lean_inc(v_a_1438_); +lean_object* v_a_1536_; lean_object* v___x_1537_; lean_object* v_env_1538_; uint32_t v___x_1539_; uint32_t v___x_1540_; uint32_t v___x_1541_; lean_object* v___x_1542_; lean_object* v___x_1543_; lean_object* v_a_1544_; lean_object* v___x_1546_; uint8_t v_isShared_1547_; uint8_t v_isSharedCheck_1745_; +v_a_1536_ = lean_ctor_get(v___x_1535_, 0); +lean_inc(v_a_1536_); +lean_dec_ref(v___x_1535_); +v___x_1537_ = lean_st_ref_get(v___y_1432_); +v_env_1538_ = lean_ctor_get(v___x_1537_, 0); +lean_inc_ref(v_env_1538_); +lean_dec(v___x_1537_); +lean_inc(v_a_1536_); +v___x_1539_ = l_Lean_getMaxHeight(v_env_1538_, v_a_1536_); +v___x_1540_ = 1; +v___x_1541_ = lean_uint32_add(v___x_1539_, v___x_1540_); +v___x_1542_ = lean_alloc_ctor(2, 0, 4); +lean_ctor_set_uint32(v___x_1542_, 0, v___x_1541_); +lean_inc(v_a_1529_); lean_inc(v_levelParams_1427_); lean_inc(v___x_1426_); -v___x_1452_ = l_Lean_mkDefinitionValInferringUnsafe___at___00mkCtorIdx_spec__8___redArg(v___x_1426_, v_levelParams_1427_, v_a_1438_, v_a_1445_, v___x_1451_, v___y_1432_); -v_a_1453_ = lean_ctor_get(v___x_1452_, 0); -v_isSharedCheck_1654_ = !lean_is_exclusive(v___x_1452_); -if (v_isSharedCheck_1654_ == 0) +v___x_1543_ = l_Lean_mkDefinitionValInferringUnsafe___at___00mkCtorIdx_spec__8___redArg(v___x_1426_, v_levelParams_1427_, v_a_1529_, v_a_1536_, v___x_1542_, v___y_1432_); +v_a_1544_ = lean_ctor_get(v___x_1543_, 0); +v_isSharedCheck_1745_ = !lean_is_exclusive(v___x_1543_); +if (v_isSharedCheck_1745_ == 0) { -v___x_1455_ = v___x_1452_; -v_isShared_1456_ = v_isSharedCheck_1654_; -goto v_resetjp_1454_; +v___x_1546_ = v___x_1543_; +v_isShared_1547_ = v_isSharedCheck_1745_; +goto v_resetjp_1545_; } else { -lean_inc(v_a_1453_); -lean_dec(v___x_1452_); -v___x_1455_ = lean_box(0); -v_isShared_1456_ = v_isSharedCheck_1654_; -goto v_resetjp_1454_; +lean_inc(v_a_1544_); +lean_dec(v___x_1543_); +v___x_1546_ = lean_box(0); +v_isShared_1547_ = v_isSharedCheck_1745_; +goto v_resetjp_1545_; } -v_resetjp_1454_: +v_resetjp_1545_: { -lean_object* v___x_1458_; -if (v_isShared_1456_ == 0) +lean_object* v___x_1549_; +if (v_isShared_1547_ == 0) { -lean_ctor_set_tag(v___x_1455_, 1); -v___x_1458_ = v___x_1455_; -goto v_reusejp_1457_; +lean_ctor_set_tag(v___x_1546_, 1); +v___x_1549_ = v___x_1546_; +goto v_reusejp_1548_; } else { -lean_object* v_reuseFailAlloc_1653_; -v_reuseFailAlloc_1653_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1653_, 0, v_a_1453_); -v___x_1458_ = v_reuseFailAlloc_1653_; -goto v_reusejp_1457_; +lean_object* v_reuseFailAlloc_1744_; +v_reuseFailAlloc_1744_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1744_, 0, v_a_1544_); +v___x_1549_ = v_reuseFailAlloc_1744_; +goto v_reusejp_1548_; } -v_reusejp_1457_: +v_reusejp_1548_: { -lean_object* v___y_1460_; lean_object* v___y_1461_; lean_object* v___y_1462_; lean_object* v___y_1463_; lean_object* v___x_1579_; +lean_object* v___y_1551_; lean_object* v___y_1552_; lean_object* v___y_1553_; lean_object* v___y_1554_; lean_object* v___y_1628_; lean_object* v___y_1629_; lean_object* v___y_1630_; lean_object* v___y_1631_; lean_object* v___x_1670_; lean_inc(v___y_1432_); lean_inc_ref(v___y_1431_); -lean_inc_ref(v___x_1458_); -v___x_1579_ = l_Lean_addDecl(v___x_1458_, v___x_1417_, v___y_1431_, v___y_1432_); -if (lean_obj_tag(v___x_1579_) == 0) +lean_inc_ref(v___x_1549_); +v___x_1670_ = l_Lean_addDecl(v___x_1549_, v___x_1417_, v___y_1431_, v___y_1432_); +if (lean_obj_tag(v___x_1670_) == 0) { -lean_object* v___x_1580_; lean_object* v_env_1581_; lean_object* v_nextMacroScope_1582_; lean_object* v_ngen_1583_; lean_object* v_auxDeclNGen_1584_; lean_object* v_traceState_1585_; lean_object* v_messages_1586_; lean_object* v_infoState_1587_; lean_object* v_snapshotTasks_1588_; lean_object* v___x_1590_; uint8_t v_isShared_1591_; uint8_t v_isSharedCheck_1651_; -lean_dec_ref(v___x_1579_); -v___x_1580_ = lean_st_ref_take(v___y_1432_); -v_env_1581_ = lean_ctor_get(v___x_1580_, 0); -v_nextMacroScope_1582_ = lean_ctor_get(v___x_1580_, 1); -v_ngen_1583_ = lean_ctor_get(v___x_1580_, 2); -v_auxDeclNGen_1584_ = lean_ctor_get(v___x_1580_, 3); -v_traceState_1585_ = lean_ctor_get(v___x_1580_, 4); -v_messages_1586_ = lean_ctor_get(v___x_1580_, 6); -v_infoState_1587_ = lean_ctor_get(v___x_1580_, 7); -v_snapshotTasks_1588_ = lean_ctor_get(v___x_1580_, 8); -v_isSharedCheck_1651_ = !lean_is_exclusive(v___x_1580_); -if (v_isSharedCheck_1651_ == 0) +lean_object* v___x_1671_; lean_object* v_env_1672_; lean_object* v_nextMacroScope_1673_; lean_object* v_ngen_1674_; lean_object* v_auxDeclNGen_1675_; lean_object* v_traceState_1676_; lean_object* v_messages_1677_; lean_object* v_infoState_1678_; lean_object* v_snapshotTasks_1679_; lean_object* v___x_1681_; uint8_t v_isShared_1682_; uint8_t v_isSharedCheck_1742_; +lean_dec_ref(v___x_1670_); +v___x_1671_ = lean_st_ref_take(v___y_1432_); +v_env_1672_ = lean_ctor_get(v___x_1671_, 0); +v_nextMacroScope_1673_ = lean_ctor_get(v___x_1671_, 1); +v_ngen_1674_ = lean_ctor_get(v___x_1671_, 2); +v_auxDeclNGen_1675_ = lean_ctor_get(v___x_1671_, 3); +v_traceState_1676_ = lean_ctor_get(v___x_1671_, 4); +v_messages_1677_ = lean_ctor_get(v___x_1671_, 6); +v_infoState_1678_ = lean_ctor_get(v___x_1671_, 7); +v_snapshotTasks_1679_ = lean_ctor_get(v___x_1671_, 8); +v_isSharedCheck_1742_ = !lean_is_exclusive(v___x_1671_); +if (v_isSharedCheck_1742_ == 0) { -lean_object* v_unused_1652_; -v_unused_1652_ = lean_ctor_get(v___x_1580_, 5); -lean_dec(v_unused_1652_); -v___x_1590_ = v___x_1580_; -v_isShared_1591_ = v_isSharedCheck_1651_; -goto v_resetjp_1589_; +lean_object* v_unused_1743_; +v_unused_1743_ = lean_ctor_get(v___x_1671_, 5); +lean_dec(v_unused_1743_); +v___x_1681_ = v___x_1671_; +v_isShared_1682_ = v_isSharedCheck_1742_; +goto v_resetjp_1680_; } else { -lean_inc(v_snapshotTasks_1588_); -lean_inc(v_infoState_1587_); -lean_inc(v_messages_1586_); -lean_inc(v_traceState_1585_); -lean_inc(v_auxDeclNGen_1584_); -lean_inc(v_ngen_1583_); -lean_inc(v_nextMacroScope_1582_); -lean_inc(v_env_1581_); -lean_dec(v___x_1580_); -v___x_1590_ = lean_box(0); -v_isShared_1591_ = v_isSharedCheck_1651_; -goto v_resetjp_1589_; +lean_inc(v_snapshotTasks_1679_); +lean_inc(v_infoState_1678_); +lean_inc(v_messages_1677_); +lean_inc(v_traceState_1676_); +lean_inc(v_auxDeclNGen_1675_); +lean_inc(v_ngen_1674_); +lean_inc(v_nextMacroScope_1673_); +lean_inc(v_env_1672_); +lean_dec(v___x_1671_); +v___x_1681_ = lean_box(0); +v_isShared_1682_ = v_isSharedCheck_1742_; +goto v_resetjp_1680_; } -v_resetjp_1589_: +v_resetjp_1680_: { -lean_object* v___x_1592_; lean_object* v___x_1593_; lean_object* v___x_1595_; +lean_object* v___x_1683_; lean_object* v___x_1684_; lean_object* v___x_1686_; lean_inc(v___x_1426_); -v___x_1592_ = l_Lean_Meta_addToCompletionBlackList(v_env_1581_, v___x_1426_); -v___x_1593_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); -if (v_isShared_1591_ == 0) +v___x_1683_ = l_Lean_Meta_addToCompletionBlackList(v_env_1672_, v___x_1426_); +v___x_1684_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); +if (v_isShared_1682_ == 0) { -lean_ctor_set(v___x_1590_, 5, v___x_1593_); -lean_ctor_set(v___x_1590_, 0, v___x_1592_); -v___x_1595_ = v___x_1590_; -goto v_reusejp_1594_; +lean_ctor_set(v___x_1681_, 5, v___x_1684_); +lean_ctor_set(v___x_1681_, 0, v___x_1683_); +v___x_1686_ = v___x_1681_; +goto v_reusejp_1685_; } else { -lean_object* v_reuseFailAlloc_1650_; -v_reuseFailAlloc_1650_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_1650_, 0, v___x_1592_); -lean_ctor_set(v_reuseFailAlloc_1650_, 1, v_nextMacroScope_1582_); -lean_ctor_set(v_reuseFailAlloc_1650_, 2, v_ngen_1583_); -lean_ctor_set(v_reuseFailAlloc_1650_, 3, v_auxDeclNGen_1584_); -lean_ctor_set(v_reuseFailAlloc_1650_, 4, v_traceState_1585_); -lean_ctor_set(v_reuseFailAlloc_1650_, 5, v___x_1593_); -lean_ctor_set(v_reuseFailAlloc_1650_, 6, v_messages_1586_); -lean_ctor_set(v_reuseFailAlloc_1650_, 7, v_infoState_1587_); -lean_ctor_set(v_reuseFailAlloc_1650_, 8, v_snapshotTasks_1588_); -v___x_1595_ = v_reuseFailAlloc_1650_; -goto v_reusejp_1594_; +lean_object* v_reuseFailAlloc_1741_; +v_reuseFailAlloc_1741_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1741_, 0, v___x_1683_); +lean_ctor_set(v_reuseFailAlloc_1741_, 1, v_nextMacroScope_1673_); +lean_ctor_set(v_reuseFailAlloc_1741_, 2, v_ngen_1674_); +lean_ctor_set(v_reuseFailAlloc_1741_, 3, v_auxDeclNGen_1675_); +lean_ctor_set(v_reuseFailAlloc_1741_, 4, v_traceState_1676_); +lean_ctor_set(v_reuseFailAlloc_1741_, 5, v___x_1684_); +lean_ctor_set(v_reuseFailAlloc_1741_, 6, v_messages_1677_); +lean_ctor_set(v_reuseFailAlloc_1741_, 7, v_infoState_1678_); +lean_ctor_set(v_reuseFailAlloc_1741_, 8, v_snapshotTasks_1679_); +v___x_1686_ = v_reuseFailAlloc_1741_; +goto v_reusejp_1685_; } -v_reusejp_1594_: +v_reusejp_1685_: { -lean_object* v___x_1596_; lean_object* v___x_1597_; lean_object* v_mctx_1598_; lean_object* v_zetaDeltaFVarIds_1599_; lean_object* v_postponed_1600_; lean_object* v_diag_1601_; lean_object* v___x_1603_; uint8_t v_isShared_1604_; uint8_t v_isSharedCheck_1648_; -v___x_1596_ = lean_st_ref_set(v___y_1432_, v___x_1595_); -v___x_1597_ = lean_st_ref_take(v___y_1430_); -v_mctx_1598_ = lean_ctor_get(v___x_1597_, 0); -v_zetaDeltaFVarIds_1599_ = lean_ctor_get(v___x_1597_, 2); -v_postponed_1600_ = lean_ctor_get(v___x_1597_, 3); -v_diag_1601_ = lean_ctor_get(v___x_1597_, 4); -v_isSharedCheck_1648_ = !lean_is_exclusive(v___x_1597_); -if (v_isSharedCheck_1648_ == 0) +lean_object* v___x_1687_; lean_object* v___x_1688_; lean_object* v_mctx_1689_; lean_object* v_zetaDeltaFVarIds_1690_; lean_object* v_postponed_1691_; lean_object* v_diag_1692_; lean_object* v___x_1694_; uint8_t v_isShared_1695_; uint8_t v_isSharedCheck_1739_; +v___x_1687_ = lean_st_ref_set(v___y_1432_, v___x_1686_); +v___x_1688_ = lean_st_ref_take(v___y_1430_); +v_mctx_1689_ = lean_ctor_get(v___x_1688_, 0); +v_zetaDeltaFVarIds_1690_ = lean_ctor_get(v___x_1688_, 2); +v_postponed_1691_ = lean_ctor_get(v___x_1688_, 3); +v_diag_1692_ = lean_ctor_get(v___x_1688_, 4); +v_isSharedCheck_1739_ = !lean_is_exclusive(v___x_1688_); +if (v_isSharedCheck_1739_ == 0) { -lean_object* v_unused_1649_; -v_unused_1649_ = lean_ctor_get(v___x_1597_, 1); -lean_dec(v_unused_1649_); -v___x_1603_ = v___x_1597_; -v_isShared_1604_ = v_isSharedCheck_1648_; -goto v_resetjp_1602_; +lean_object* v_unused_1740_; +v_unused_1740_ = lean_ctor_get(v___x_1688_, 1); +lean_dec(v_unused_1740_); +v___x_1694_ = v___x_1688_; +v_isShared_1695_ = v_isSharedCheck_1739_; +goto v_resetjp_1693_; } else { -lean_inc(v_diag_1601_); -lean_inc(v_postponed_1600_); -lean_inc(v_zetaDeltaFVarIds_1599_); -lean_inc(v_mctx_1598_); -lean_dec(v___x_1597_); -v___x_1603_ = lean_box(0); -v_isShared_1604_ = v_isSharedCheck_1648_; -goto v_resetjp_1602_; +lean_inc(v_diag_1692_); +lean_inc(v_postponed_1691_); +lean_inc(v_zetaDeltaFVarIds_1690_); +lean_inc(v_mctx_1689_); +lean_dec(v___x_1688_); +v___x_1694_ = lean_box(0); +v_isShared_1695_ = v_isSharedCheck_1739_; +goto v_resetjp_1693_; } -v_resetjp_1602_: +v_resetjp_1693_: { -lean_object* v___x_1605_; lean_object* v___x_1607_; -v___x_1605_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); -if (v_isShared_1604_ == 0) +lean_object* v___x_1696_; lean_object* v___x_1698_; +v___x_1696_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); +if (v_isShared_1695_ == 0) { -lean_ctor_set(v___x_1603_, 1, v___x_1605_); -v___x_1607_ = v___x_1603_; -goto v_reusejp_1606_; +lean_ctor_set(v___x_1694_, 1, v___x_1696_); +v___x_1698_ = v___x_1694_; +goto v_reusejp_1697_; } else { -lean_object* v_reuseFailAlloc_1647_; -v_reuseFailAlloc_1647_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1647_, 0, v_mctx_1598_); -lean_ctor_set(v_reuseFailAlloc_1647_, 1, v___x_1605_); -lean_ctor_set(v_reuseFailAlloc_1647_, 2, v_zetaDeltaFVarIds_1599_); -lean_ctor_set(v_reuseFailAlloc_1647_, 3, v_postponed_1600_); -lean_ctor_set(v_reuseFailAlloc_1647_, 4, v_diag_1601_); -v___x_1607_ = v_reuseFailAlloc_1647_; -goto v_reusejp_1606_; +lean_object* v_reuseFailAlloc_1738_; +v_reuseFailAlloc_1738_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1738_, 0, v_mctx_1689_); +lean_ctor_set(v_reuseFailAlloc_1738_, 1, v___x_1696_); +lean_ctor_set(v_reuseFailAlloc_1738_, 2, v_zetaDeltaFVarIds_1690_); +lean_ctor_set(v_reuseFailAlloc_1738_, 3, v_postponed_1691_); +lean_ctor_set(v_reuseFailAlloc_1738_, 4, v_diag_1692_); +v___x_1698_ = v_reuseFailAlloc_1738_; +goto v_reusejp_1697_; } -v_reusejp_1606_: +v_reusejp_1697_: { -lean_object* v___x_1608_; lean_object* v___x_1609_; lean_object* v_env_1610_; lean_object* v_nextMacroScope_1611_; lean_object* v_ngen_1612_; lean_object* v_auxDeclNGen_1613_; lean_object* v_traceState_1614_; lean_object* v_messages_1615_; lean_object* v_infoState_1616_; lean_object* v_snapshotTasks_1617_; lean_object* v___x_1619_; uint8_t v_isShared_1620_; uint8_t v_isSharedCheck_1645_; -v___x_1608_ = lean_st_ref_set(v___y_1430_, v___x_1607_); -v___x_1609_ = lean_st_ref_take(v___y_1432_); -v_env_1610_ = lean_ctor_get(v___x_1609_, 0); -v_nextMacroScope_1611_ = lean_ctor_get(v___x_1609_, 1); -v_ngen_1612_ = lean_ctor_get(v___x_1609_, 2); -v_auxDeclNGen_1613_ = lean_ctor_get(v___x_1609_, 3); -v_traceState_1614_ = lean_ctor_get(v___x_1609_, 4); -v_messages_1615_ = lean_ctor_get(v___x_1609_, 6); -v_infoState_1616_ = lean_ctor_get(v___x_1609_, 7); -v_snapshotTasks_1617_ = lean_ctor_get(v___x_1609_, 8); -v_isSharedCheck_1645_ = !lean_is_exclusive(v___x_1609_); -if (v_isSharedCheck_1645_ == 0) +lean_object* v___x_1699_; lean_object* v___x_1700_; lean_object* v_env_1701_; lean_object* v_nextMacroScope_1702_; lean_object* v_ngen_1703_; lean_object* v_auxDeclNGen_1704_; lean_object* v_traceState_1705_; lean_object* v_messages_1706_; lean_object* v_infoState_1707_; lean_object* v_snapshotTasks_1708_; lean_object* v___x_1710_; uint8_t v_isShared_1711_; uint8_t v_isSharedCheck_1736_; +v___x_1699_ = lean_st_ref_set(v___y_1430_, v___x_1698_); +v___x_1700_ = lean_st_ref_take(v___y_1432_); +v_env_1701_ = lean_ctor_get(v___x_1700_, 0); +v_nextMacroScope_1702_ = lean_ctor_get(v___x_1700_, 1); +v_ngen_1703_ = lean_ctor_get(v___x_1700_, 2); +v_auxDeclNGen_1704_ = lean_ctor_get(v___x_1700_, 3); +v_traceState_1705_ = lean_ctor_get(v___x_1700_, 4); +v_messages_1706_ = lean_ctor_get(v___x_1700_, 6); +v_infoState_1707_ = lean_ctor_get(v___x_1700_, 7); +v_snapshotTasks_1708_ = lean_ctor_get(v___x_1700_, 8); +v_isSharedCheck_1736_ = !lean_is_exclusive(v___x_1700_); +if (v_isSharedCheck_1736_ == 0) { -lean_object* v_unused_1646_; -v_unused_1646_ = lean_ctor_get(v___x_1609_, 5); -lean_dec(v_unused_1646_); -v___x_1619_ = v___x_1609_; -v_isShared_1620_ = v_isSharedCheck_1645_; -goto v_resetjp_1618_; +lean_object* v_unused_1737_; +v_unused_1737_ = lean_ctor_get(v___x_1700_, 5); +lean_dec(v_unused_1737_); +v___x_1710_ = v___x_1700_; +v_isShared_1711_ = v_isSharedCheck_1736_; +goto v_resetjp_1709_; } else { -lean_inc(v_snapshotTasks_1617_); -lean_inc(v_infoState_1616_); -lean_inc(v_messages_1615_); -lean_inc(v_traceState_1614_); -lean_inc(v_auxDeclNGen_1613_); -lean_inc(v_ngen_1612_); -lean_inc(v_nextMacroScope_1611_); -lean_inc(v_env_1610_); -lean_dec(v___x_1609_); -v___x_1619_ = lean_box(0); -v_isShared_1620_ = v_isSharedCheck_1645_; -goto v_resetjp_1618_; +lean_inc(v_snapshotTasks_1708_); +lean_inc(v_infoState_1707_); +lean_inc(v_messages_1706_); +lean_inc(v_traceState_1705_); +lean_inc(v_auxDeclNGen_1704_); +lean_inc(v_ngen_1703_); +lean_inc(v_nextMacroScope_1702_); +lean_inc(v_env_1701_); +lean_dec(v___x_1700_); +v___x_1710_ = lean_box(0); +v_isShared_1711_ = v_isSharedCheck_1736_; +goto v_resetjp_1709_; } -v_resetjp_1618_: +v_resetjp_1709_: { -lean_object* v___x_1621_; lean_object* v___x_1623_; +lean_object* v___x_1712_; lean_object* v___x_1714_; lean_inc(v___x_1426_); -v___x_1621_ = l_Lean_addProtected(v_env_1610_, v___x_1426_); -if (v_isShared_1620_ == 0) +v___x_1712_ = l_Lean_addProtected(v_env_1701_, v___x_1426_); +if (v_isShared_1711_ == 0) { -lean_ctor_set(v___x_1619_, 5, v___x_1593_); -lean_ctor_set(v___x_1619_, 0, v___x_1621_); -v___x_1623_ = v___x_1619_; -goto v_reusejp_1622_; +lean_ctor_set(v___x_1710_, 5, v___x_1684_); +lean_ctor_set(v___x_1710_, 0, v___x_1712_); +v___x_1714_ = v___x_1710_; +goto v_reusejp_1713_; } else { -lean_object* v_reuseFailAlloc_1644_; -v_reuseFailAlloc_1644_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_1644_, 0, v___x_1621_); -lean_ctor_set(v_reuseFailAlloc_1644_, 1, v_nextMacroScope_1611_); -lean_ctor_set(v_reuseFailAlloc_1644_, 2, v_ngen_1612_); -lean_ctor_set(v_reuseFailAlloc_1644_, 3, v_auxDeclNGen_1613_); -lean_ctor_set(v_reuseFailAlloc_1644_, 4, v_traceState_1614_); -lean_ctor_set(v_reuseFailAlloc_1644_, 5, v___x_1593_); -lean_ctor_set(v_reuseFailAlloc_1644_, 6, v_messages_1615_); -lean_ctor_set(v_reuseFailAlloc_1644_, 7, v_infoState_1616_); -lean_ctor_set(v_reuseFailAlloc_1644_, 8, v_snapshotTasks_1617_); -v___x_1623_ = v_reuseFailAlloc_1644_; -goto v_reusejp_1622_; +lean_object* v_reuseFailAlloc_1735_; +v_reuseFailAlloc_1735_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1735_, 0, v___x_1712_); +lean_ctor_set(v_reuseFailAlloc_1735_, 1, v_nextMacroScope_1702_); +lean_ctor_set(v_reuseFailAlloc_1735_, 2, v_ngen_1703_); +lean_ctor_set(v_reuseFailAlloc_1735_, 3, v_auxDeclNGen_1704_); +lean_ctor_set(v_reuseFailAlloc_1735_, 4, v_traceState_1705_); +lean_ctor_set(v_reuseFailAlloc_1735_, 5, v___x_1684_); +lean_ctor_set(v_reuseFailAlloc_1735_, 6, v_messages_1706_); +lean_ctor_set(v_reuseFailAlloc_1735_, 7, v_infoState_1707_); +lean_ctor_set(v_reuseFailAlloc_1735_, 8, v_snapshotTasks_1708_); +v___x_1714_ = v_reuseFailAlloc_1735_; +goto v_reusejp_1713_; } -v_reusejp_1622_: +v_reusejp_1713_: { -lean_object* v___x_1624_; lean_object* v___x_1625_; lean_object* v_mctx_1626_; lean_object* v_zetaDeltaFVarIds_1627_; lean_object* v_postponed_1628_; lean_object* v_diag_1629_; lean_object* v___x_1631_; uint8_t v_isShared_1632_; uint8_t v_isSharedCheck_1642_; -v___x_1624_ = lean_st_ref_set(v___y_1432_, v___x_1623_); -v___x_1625_ = lean_st_ref_take(v___y_1430_); -v_mctx_1626_ = lean_ctor_get(v___x_1625_, 0); -v_zetaDeltaFVarIds_1627_ = lean_ctor_get(v___x_1625_, 2); -v_postponed_1628_ = lean_ctor_get(v___x_1625_, 3); -v_diag_1629_ = lean_ctor_get(v___x_1625_, 4); -v_isSharedCheck_1642_ = !lean_is_exclusive(v___x_1625_); -if (v_isSharedCheck_1642_ == 0) +lean_object* v___x_1715_; lean_object* v___x_1716_; lean_object* v_mctx_1717_; lean_object* v_zetaDeltaFVarIds_1718_; lean_object* v_postponed_1719_; lean_object* v_diag_1720_; lean_object* v___x_1722_; uint8_t v_isShared_1723_; uint8_t v_isSharedCheck_1733_; +v___x_1715_ = lean_st_ref_set(v___y_1432_, v___x_1714_); +v___x_1716_ = lean_st_ref_take(v___y_1430_); +v_mctx_1717_ = lean_ctor_get(v___x_1716_, 0); +v_zetaDeltaFVarIds_1718_ = lean_ctor_get(v___x_1716_, 2); +v_postponed_1719_ = lean_ctor_get(v___x_1716_, 3); +v_diag_1720_ = lean_ctor_get(v___x_1716_, 4); +v_isSharedCheck_1733_ = !lean_is_exclusive(v___x_1716_); +if (v_isSharedCheck_1733_ == 0) { -lean_object* v_unused_1643_; -v_unused_1643_ = lean_ctor_get(v___x_1625_, 1); -lean_dec(v_unused_1643_); -v___x_1631_ = v___x_1625_; -v_isShared_1632_ = v_isSharedCheck_1642_; -goto v_resetjp_1630_; +lean_object* v_unused_1734_; +v_unused_1734_ = lean_ctor_get(v___x_1716_, 1); +lean_dec(v_unused_1734_); +v___x_1722_ = v___x_1716_; +v_isShared_1723_ = v_isSharedCheck_1733_; +goto v_resetjp_1721_; } else { -lean_inc(v_diag_1629_); -lean_inc(v_postponed_1628_); -lean_inc(v_zetaDeltaFVarIds_1627_); -lean_inc(v_mctx_1626_); -lean_dec(v___x_1625_); -v___x_1631_ = lean_box(0); -v_isShared_1632_ = v_isSharedCheck_1642_; -goto v_resetjp_1630_; +lean_inc(v_diag_1720_); +lean_inc(v_postponed_1719_); +lean_inc(v_zetaDeltaFVarIds_1718_); +lean_inc(v_mctx_1717_); +lean_dec(v___x_1716_); +v___x_1722_ = lean_box(0); +v_isShared_1723_ = v_isSharedCheck_1733_; +goto v_resetjp_1721_; } -v_resetjp_1630_: +v_resetjp_1721_: { -lean_object* v___x_1634_; -if (v_isShared_1632_ == 0) +lean_object* v___x_1725_; +if (v_isShared_1723_ == 0) { -lean_ctor_set(v___x_1631_, 1, v___x_1605_); -v___x_1634_ = v___x_1631_; -goto v_reusejp_1633_; +lean_ctor_set(v___x_1722_, 1, v___x_1696_); +v___x_1725_ = v___x_1722_; +goto v_reusejp_1724_; } else { -lean_object* v_reuseFailAlloc_1641_; -v_reuseFailAlloc_1641_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1641_, 0, v_mctx_1626_); -lean_ctor_set(v_reuseFailAlloc_1641_, 1, v___x_1605_); -lean_ctor_set(v_reuseFailAlloc_1641_, 2, v_zetaDeltaFVarIds_1627_); -lean_ctor_set(v_reuseFailAlloc_1641_, 3, v_postponed_1628_); -lean_ctor_set(v_reuseFailAlloc_1641_, 4, v_diag_1629_); -v___x_1634_ = v_reuseFailAlloc_1641_; -goto v_reusejp_1633_; +lean_object* v_reuseFailAlloc_1732_; +v_reuseFailAlloc_1732_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1732_, 0, v_mctx_1717_); +lean_ctor_set(v_reuseFailAlloc_1732_, 1, v___x_1696_); +lean_ctor_set(v_reuseFailAlloc_1732_, 2, v_zetaDeltaFVarIds_1718_); +lean_ctor_set(v_reuseFailAlloc_1732_, 3, v_postponed_1719_); +lean_ctor_set(v_reuseFailAlloc_1732_, 4, v_diag_1720_); +v___x_1725_ = v_reuseFailAlloc_1732_; +goto v_reusejp_1724_; } -v_reusejp_1633_: +v_reusejp_1724_: { -lean_object* v___x_1635_; lean_object* v___x_1636_; lean_object* v___x_1637_; uint8_t v___x_1638_; -v___x_1635_ = lean_st_ref_set(v___y_1430_, v___x_1634_); -v___x_1636_ = lean_unsigned_to_nat(1u); -v___x_1637_ = l_Lean_InductiveVal_numCtors(v_val_1419_); +lean_object* v___x_1726_; lean_object* v___x_1727_; lean_object* v___x_1728_; uint8_t v___x_1729_; +v___x_1726_ = lean_st_ref_set(v___y_1430_, v___x_1725_); +v___x_1727_ = lean_unsigned_to_nat(1u); +v___x_1728_ = l_Lean_InductiveVal_numCtors(v_val_1419_); lean_dec_ref(v_val_1419_); -v___x_1638_ = lean_nat_dec_eq(v___x_1637_, v___x_1636_); -lean_dec(v___x_1637_); -if (v___x_1638_ == 0) +v___x_1729_ = lean_nat_dec_eq(v___x_1728_, v___x_1727_); +lean_dec(v___x_1728_); +if (v___x_1729_ == 0) { -v___y_1460_ = v___y_1429_; -v___y_1461_ = v___y_1430_; -v___y_1462_ = v___y_1431_; -v___y_1463_ = v___y_1432_; -goto v___jp_1459_; +v___y_1628_ = v___y_1429_; +v___y_1629_ = v___y_1430_; +v___y_1630_ = v___y_1431_; +v___y_1631_ = v___y_1432_; +goto v___jp_1627_; } else { -uint8_t v___x_1639_; lean_object* v___x_1640_; -v___x_1639_ = 2; +uint8_t v___x_1730_; lean_object* v___x_1731_; +v___x_1730_ = 2; lean_inc(v___x_1426_); -v___x_1640_ = l_Lean_Meta_setInlineAttribute(v___x_1426_, v___x_1639_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); -if (lean_obj_tag(v___x_1640_) == 0) +v___x_1731_ = l_Lean_Meta_setInlineAttribute(v___x_1426_, v___x_1730_, v___y_1429_, v___y_1430_, v___y_1431_, v___y_1432_); +if (lean_obj_tag(v___x_1731_) == 0) { -lean_dec_ref(v___x_1640_); -v___y_1460_ = v___y_1429_; -v___y_1461_ = v___y_1430_; -v___y_1462_ = v___y_1431_; -v___y_1463_ = v___y_1432_; -goto v___jp_1459_; +lean_dec_ref(v___x_1731_); +v___y_1628_ = v___y_1429_; +v___y_1629_ = v___y_1430_; +v___y_1630_ = v___y_1431_; +v___y_1631_ = v___y_1432_; +goto v___jp_1627_; } else { -lean_dec_ref(v___x_1458_); -lean_dec(v_a_1438_); +lean_dec_ref(v___x_1549_); +lean_dec(v_a_1529_); lean_dec(v___y_1432_); lean_dec_ref(v___y_1431_); lean_dec(v___y_1430_); @@ -4562,7 +4564,7 @@ lean_dec(v_indName_1428_); lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); -return v___x_1640_; +return v___x_1731_; } } } @@ -4576,8 +4578,8 @@ return v___x_1640_; } else { -lean_dec_ref(v___x_1458_); -lean_dec(v_a_1438_); +lean_dec_ref(v___x_1549_); +lean_dec(v_a_1529_); lean_dec(v___y_1432_); lean_dec_ref(v___y_1431_); lean_dec(v___y_1430_); @@ -4587,477 +4589,109 @@ lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); lean_dec_ref(v_val_1419_); -return v___x_1579_; +return v___x_1670_; } -v___jp_1459_: +v___jp_1550_: { -lean_object* v___x_1464_; -lean_inc(v___y_1463_); -lean_inc_ref(v___y_1462_); -v___x_1464_ = l_Lean_compileDecl(v___x_1458_, v___x_1418_, v___y_1462_, v___y_1463_); -if (lean_obj_tag(v___x_1464_) == 0) +lean_object* v___x_1555_; +lean_inc(v___y_1554_); +lean_inc_ref(v___y_1553_); +v___x_1555_ = l_Lean_compileDecl(v___x_1549_, v___x_1418_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1555_) == 0) { -lean_object* v___x_1465_; -lean_dec_ref(v___x_1464_); -lean_inc_ref(v___y_1462_); +lean_object* v___x_1556_; +lean_dec_ref(v___x_1555_); +lean_inc_ref(v___y_1553_); lean_inc(v___x_1426_); -v___x_1465_ = l_Lean_enableRealizationsForConst(v___x_1426_, v___y_1462_, v___y_1463_); -if (lean_obj_tag(v___x_1465_) == 0) +v___x_1556_ = l_Lean_enableRealizationsForConst(v___x_1426_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1556_) == 0) { -lean_object* v___x_1466_; -lean_dec_ref(v___x_1465_); -lean_inc_ref(v___y_1462_); +lean_object* v___x_1557_; +lean_dec_ref(v___x_1556_); +lean_inc_ref(v___y_1553_); lean_inc(v_indName_1428_); -v___x_1466_ = l_Lean_isEnumType___at___00mkCtorIdx_spec__9(v_indName_1428_, v___y_1460_, v___y_1461_, v___y_1462_, v___y_1463_); -if (lean_obj_tag(v___x_1466_) == 0) +v___x_1557_ = l_Lean_isEnumType___at___00mkCtorIdx_spec__9(v_indName_1428_, v___y_1551_, v___y_1552_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1557_) == 0) { -lean_object* v_a_1467_; lean_object* v___x_1469_; uint8_t v_isShared_1470_; uint8_t v_isSharedCheck_1570_; -v_a_1467_ = lean_ctor_get(v___x_1466_, 0); -v_isSharedCheck_1570_ = !lean_is_exclusive(v___x_1466_); -if (v_isSharedCheck_1570_ == 0) +lean_object* v_a_1558_; lean_object* v___x_1560_; uint8_t v_isShared_1561_; uint8_t v_isSharedCheck_1618_; +v_a_1558_ = lean_ctor_get(v___x_1557_, 0); +v_isSharedCheck_1618_ = !lean_is_exclusive(v___x_1557_); +if (v_isSharedCheck_1618_ == 0) { -v___x_1469_ = v___x_1466_; -v_isShared_1470_ = v_isSharedCheck_1570_; -goto v_resetjp_1468_; +v___x_1560_ = v___x_1557_; +v_isShared_1561_ = v_isSharedCheck_1618_; +goto v_resetjp_1559_; } else { -lean_inc(v_a_1467_); -lean_dec(v___x_1466_); -v___x_1469_ = lean_box(0); -v_isShared_1470_ = v_isSharedCheck_1570_; -goto v_resetjp_1468_; +lean_inc(v_a_1558_); +lean_dec(v___x_1557_); +v___x_1560_ = lean_box(0); +v_isShared_1561_ = v_isSharedCheck_1618_; +goto v_resetjp_1559_; } -v_resetjp_1468_: +v_resetjp_1559_: { -uint8_t v___x_1471_; -v___x_1471_ = lean_unbox(v_a_1467_); -lean_dec(v_a_1467_); -if (v___x_1471_ == 0) +uint8_t v___x_1562_; +v___x_1562_ = lean_unbox(v_a_1558_); +lean_dec(v_a_1558_); +if (v___x_1562_ == 0) { -lean_object* v___x_1472_; lean_object* v___x_1474_; -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -lean_dec(v_a_1438_); +lean_object* v___x_1563_; lean_object* v___x_1565_; +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v___y_1552_); +lean_dec_ref(v___y_1551_); +lean_dec(v_a_1529_); lean_dec(v_indName_1428_); lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); -v___x_1472_ = lean_box(0); -if (v_isShared_1470_ == 0) +v___x_1563_ = lean_box(0); +if (v_isShared_1561_ == 0) { -lean_ctor_set(v___x_1469_, 0, v___x_1472_); -v___x_1474_ = v___x_1469_; -goto v_reusejp_1473_; +lean_ctor_set(v___x_1560_, 0, v___x_1563_); +v___x_1565_ = v___x_1560_; +goto v_reusejp_1564_; } else { -lean_object* v_reuseFailAlloc_1475_; -v_reuseFailAlloc_1475_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1475_, 0, v___x_1472_); -v___x_1474_ = v_reuseFailAlloc_1475_; -goto v_reusejp_1473_; +lean_object* v_reuseFailAlloc_1566_; +v_reuseFailAlloc_1566_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1566_, 0, v___x_1563_); +v___x_1565_ = v_reuseFailAlloc_1566_; +goto v_reusejp_1564_; } -v_reusejp_1473_: +v_reusejp_1564_: { -return v___x_1474_; +return v___x_1565_; } } else { -lean_object* v___x_1476_; lean_object* v___x_1477_; lean_object* v___x_1478_; lean_object* v___x_1479_; lean_object* v_a_1480_; lean_object* v___x_1482_; uint8_t v_isShared_1483_; uint8_t v_isSharedCheck_1569_; -lean_del_object(v___x_1469_); -v___x_1476_ = l_mkToCtorIdxName(v_indName_1428_); +lean_object* v___x_1567_; lean_object* v___x_1568_; lean_object* v___x_1569_; lean_object* v___x_1570_; lean_object* v_a_1571_; lean_object* v___x_1573_; uint8_t v_isShared_1574_; uint8_t v_isSharedCheck_1617_; +lean_del_object(v___x_1560_); +lean_inc(v_indName_1428_); +v___x_1567_ = l_mkToCtorIdxName(v_indName_1428_); lean_inc(v___x_1426_); -v___x_1477_ = l_Lean_mkConst(v___x_1426_, v___x_1421_); -v___x_1478_ = lean_box(1); -lean_inc(v___x_1476_); -v___x_1479_ = l_Lean_mkDefinitionValInferringUnsafe___at___00mkCtorIdx_spec__8___redArg(v___x_1476_, v_levelParams_1427_, v_a_1438_, v___x_1477_, v___x_1478_, v___y_1463_); -v_a_1480_ = lean_ctor_get(v___x_1479_, 0); -v_isSharedCheck_1569_ = !lean_is_exclusive(v___x_1479_); -if (v_isSharedCheck_1569_ == 0) +v___x_1568_ = l_Lean_mkConst(v___x_1426_, v___x_1421_); +v___x_1569_ = lean_box(1); +lean_inc(v___x_1567_); +v___x_1570_ = l_Lean_mkDefinitionValInferringUnsafe___at___00mkCtorIdx_spec__8___redArg(v___x_1567_, v_levelParams_1427_, v_a_1529_, v___x_1568_, v___x_1569_, v___y_1554_); +v_a_1571_ = lean_ctor_get(v___x_1570_, 0); +v_isSharedCheck_1617_ = !lean_is_exclusive(v___x_1570_); +if (v_isSharedCheck_1617_ == 0) { -v___x_1482_ = v___x_1479_; -v_isShared_1483_ = v_isSharedCheck_1569_; -goto v_resetjp_1481_; -} -else -{ -lean_inc(v_a_1480_); -lean_dec(v___x_1479_); -v___x_1482_ = lean_box(0); -v_isShared_1483_ = v_isSharedCheck_1569_; -goto v_resetjp_1481_; -} -v_resetjp_1481_: -{ -lean_object* v___x_1485_; -if (v_isShared_1483_ == 0) -{ -lean_ctor_set_tag(v___x_1482_, 1); -v___x_1485_ = v___x_1482_; -goto v_reusejp_1484_; -} -else -{ -lean_object* v_reuseFailAlloc_1568_; -v_reuseFailAlloc_1568_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1568_, 0, v_a_1480_); -v___x_1485_ = v_reuseFailAlloc_1568_; -goto v_reusejp_1484_; -} -v_reusejp_1484_: -{ -lean_object* v___x_1486_; -lean_inc(v___y_1463_); -lean_inc_ref(v___y_1462_); -v___x_1486_ = l_Lean_addAndCompile(v___x_1485_, v___x_1418_, v___y_1462_, v___y_1463_); -if (lean_obj_tag(v___x_1486_) == 0) -{ -lean_object* v___x_1487_; lean_object* v_env_1488_; lean_object* v_nextMacroScope_1489_; lean_object* v_ngen_1490_; lean_object* v_auxDeclNGen_1491_; lean_object* v_traceState_1492_; lean_object* v_messages_1493_; lean_object* v_infoState_1494_; lean_object* v_snapshotTasks_1495_; lean_object* v___x_1497_; uint8_t v_isShared_1498_; uint8_t v_isSharedCheck_1566_; -lean_dec_ref(v___x_1486_); -v___x_1487_ = lean_st_ref_take(v___y_1463_); -v_env_1488_ = lean_ctor_get(v___x_1487_, 0); -v_nextMacroScope_1489_ = lean_ctor_get(v___x_1487_, 1); -v_ngen_1490_ = lean_ctor_get(v___x_1487_, 2); -v_auxDeclNGen_1491_ = lean_ctor_get(v___x_1487_, 3); -v_traceState_1492_ = lean_ctor_get(v___x_1487_, 4); -v_messages_1493_ = lean_ctor_get(v___x_1487_, 6); -v_infoState_1494_ = lean_ctor_get(v___x_1487_, 7); -v_snapshotTasks_1495_ = lean_ctor_get(v___x_1487_, 8); -v_isSharedCheck_1566_ = !lean_is_exclusive(v___x_1487_); -if (v_isSharedCheck_1566_ == 0) -{ -lean_object* v_unused_1567_; -v_unused_1567_ = lean_ctor_get(v___x_1487_, 5); -lean_dec(v_unused_1567_); -v___x_1497_ = v___x_1487_; -v_isShared_1498_ = v_isSharedCheck_1566_; -goto v_resetjp_1496_; -} -else -{ -lean_inc(v_snapshotTasks_1495_); -lean_inc(v_infoState_1494_); -lean_inc(v_messages_1493_); -lean_inc(v_traceState_1492_); -lean_inc(v_auxDeclNGen_1491_); -lean_inc(v_ngen_1490_); -lean_inc(v_nextMacroScope_1489_); -lean_inc(v_env_1488_); -lean_dec(v___x_1487_); -v___x_1497_ = lean_box(0); -v_isShared_1498_ = v_isSharedCheck_1566_; -goto v_resetjp_1496_; -} -v_resetjp_1496_: -{ -lean_object* v___x_1499_; lean_object* v___x_1500_; lean_object* v___x_1502_; -lean_inc(v___x_1476_); -v___x_1499_ = l_Lean_Meta_addToCompletionBlackList(v_env_1488_, v___x_1476_); -v___x_1500_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); -if (v_isShared_1498_ == 0) -{ -lean_ctor_set(v___x_1497_, 5, v___x_1500_); -lean_ctor_set(v___x_1497_, 0, v___x_1499_); -v___x_1502_ = v___x_1497_; -goto v_reusejp_1501_; -} -else -{ -lean_object* v_reuseFailAlloc_1565_; -v_reuseFailAlloc_1565_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_1565_, 0, v___x_1499_); -lean_ctor_set(v_reuseFailAlloc_1565_, 1, v_nextMacroScope_1489_); -lean_ctor_set(v_reuseFailAlloc_1565_, 2, v_ngen_1490_); -lean_ctor_set(v_reuseFailAlloc_1565_, 3, v_auxDeclNGen_1491_); -lean_ctor_set(v_reuseFailAlloc_1565_, 4, v_traceState_1492_); -lean_ctor_set(v_reuseFailAlloc_1565_, 5, v___x_1500_); -lean_ctor_set(v_reuseFailAlloc_1565_, 6, v_messages_1493_); -lean_ctor_set(v_reuseFailAlloc_1565_, 7, v_infoState_1494_); -lean_ctor_set(v_reuseFailAlloc_1565_, 8, v_snapshotTasks_1495_); -v___x_1502_ = v_reuseFailAlloc_1565_; -goto v_reusejp_1501_; -} -v_reusejp_1501_: -{ -lean_object* v___x_1503_; lean_object* v___x_1504_; lean_object* v_mctx_1505_; lean_object* v_zetaDeltaFVarIds_1506_; lean_object* v_postponed_1507_; lean_object* v_diag_1508_; lean_object* v___x_1510_; uint8_t v_isShared_1511_; uint8_t v_isSharedCheck_1563_; -v___x_1503_ = lean_st_ref_set(v___y_1463_, v___x_1502_); -v___x_1504_ = lean_st_ref_take(v___y_1461_); -v_mctx_1505_ = lean_ctor_get(v___x_1504_, 0); -v_zetaDeltaFVarIds_1506_ = lean_ctor_get(v___x_1504_, 2); -v_postponed_1507_ = lean_ctor_get(v___x_1504_, 3); -v_diag_1508_ = lean_ctor_get(v___x_1504_, 4); -v_isSharedCheck_1563_ = !lean_is_exclusive(v___x_1504_); -if (v_isSharedCheck_1563_ == 0) -{ -lean_object* v_unused_1564_; -v_unused_1564_ = lean_ctor_get(v___x_1504_, 1); -lean_dec(v_unused_1564_); -v___x_1510_ = v___x_1504_; -v_isShared_1511_ = v_isSharedCheck_1563_; -goto v_resetjp_1509_; -} -else -{ -lean_inc(v_diag_1508_); -lean_inc(v_postponed_1507_); -lean_inc(v_zetaDeltaFVarIds_1506_); -lean_inc(v_mctx_1505_); -lean_dec(v___x_1504_); -v___x_1510_ = lean_box(0); -v_isShared_1511_ = v_isSharedCheck_1563_; -goto v_resetjp_1509_; -} -v_resetjp_1509_: -{ -lean_object* v___x_1512_; lean_object* v___x_1514_; -v___x_1512_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); -if (v_isShared_1511_ == 0) -{ -lean_ctor_set(v___x_1510_, 1, v___x_1512_); -v___x_1514_ = v___x_1510_; -goto v_reusejp_1513_; -} -else -{ -lean_object* v_reuseFailAlloc_1562_; -v_reuseFailAlloc_1562_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1562_, 0, v_mctx_1505_); -lean_ctor_set(v_reuseFailAlloc_1562_, 1, v___x_1512_); -lean_ctor_set(v_reuseFailAlloc_1562_, 2, v_zetaDeltaFVarIds_1506_); -lean_ctor_set(v_reuseFailAlloc_1562_, 3, v_postponed_1507_); -lean_ctor_set(v_reuseFailAlloc_1562_, 4, v_diag_1508_); -v___x_1514_ = v_reuseFailAlloc_1562_; -goto v_reusejp_1513_; -} -v_reusejp_1513_: -{ -lean_object* v___x_1515_; lean_object* v___x_1516_; lean_object* v_env_1517_; lean_object* v_nextMacroScope_1518_; lean_object* v_ngen_1519_; lean_object* v_auxDeclNGen_1520_; lean_object* v_traceState_1521_; lean_object* v_messages_1522_; lean_object* v_infoState_1523_; lean_object* v_snapshotTasks_1524_; lean_object* v___x_1526_; uint8_t v_isShared_1527_; uint8_t v_isSharedCheck_1560_; -v___x_1515_ = lean_st_ref_set(v___y_1461_, v___x_1514_); -v___x_1516_ = lean_st_ref_take(v___y_1463_); -v_env_1517_ = lean_ctor_get(v___x_1516_, 0); -v_nextMacroScope_1518_ = lean_ctor_get(v___x_1516_, 1); -v_ngen_1519_ = lean_ctor_get(v___x_1516_, 2); -v_auxDeclNGen_1520_ = lean_ctor_get(v___x_1516_, 3); -v_traceState_1521_ = lean_ctor_get(v___x_1516_, 4); -v_messages_1522_ = lean_ctor_get(v___x_1516_, 6); -v_infoState_1523_ = lean_ctor_get(v___x_1516_, 7); -v_snapshotTasks_1524_ = lean_ctor_get(v___x_1516_, 8); -v_isSharedCheck_1560_ = !lean_is_exclusive(v___x_1516_); -if (v_isSharedCheck_1560_ == 0) -{ -lean_object* v_unused_1561_; -v_unused_1561_ = lean_ctor_get(v___x_1516_, 5); -lean_dec(v_unused_1561_); -v___x_1526_ = v___x_1516_; -v_isShared_1527_ = v_isSharedCheck_1560_; -goto v_resetjp_1525_; -} -else -{ -lean_inc(v_snapshotTasks_1524_); -lean_inc(v_infoState_1523_); -lean_inc(v_messages_1522_); -lean_inc(v_traceState_1521_); -lean_inc(v_auxDeclNGen_1520_); -lean_inc(v_ngen_1519_); -lean_inc(v_nextMacroScope_1518_); -lean_inc(v_env_1517_); -lean_dec(v___x_1516_); -v___x_1526_ = lean_box(0); -v_isShared_1527_ = v_isSharedCheck_1560_; -goto v_resetjp_1525_; -} -v_resetjp_1525_: -{ -lean_object* v___x_1528_; lean_object* v___x_1530_; -lean_inc(v___x_1476_); -v___x_1528_ = l_Lean_addProtected(v_env_1517_, v___x_1476_); -if (v_isShared_1527_ == 0) -{ -lean_ctor_set(v___x_1526_, 5, v___x_1500_); -lean_ctor_set(v___x_1526_, 0, v___x_1528_); -v___x_1530_ = v___x_1526_; -goto v_reusejp_1529_; -} -else -{ -lean_object* v_reuseFailAlloc_1559_; -v_reuseFailAlloc_1559_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_1559_, 0, v___x_1528_); -lean_ctor_set(v_reuseFailAlloc_1559_, 1, v_nextMacroScope_1518_); -lean_ctor_set(v_reuseFailAlloc_1559_, 2, v_ngen_1519_); -lean_ctor_set(v_reuseFailAlloc_1559_, 3, v_auxDeclNGen_1520_); -lean_ctor_set(v_reuseFailAlloc_1559_, 4, v_traceState_1521_); -lean_ctor_set(v_reuseFailAlloc_1559_, 5, v___x_1500_); -lean_ctor_set(v_reuseFailAlloc_1559_, 6, v_messages_1522_); -lean_ctor_set(v_reuseFailAlloc_1559_, 7, v_infoState_1523_); -lean_ctor_set(v_reuseFailAlloc_1559_, 8, v_snapshotTasks_1524_); -v___x_1530_ = v_reuseFailAlloc_1559_; -goto v_reusejp_1529_; -} -v_reusejp_1529_: -{ -lean_object* v___x_1531_; lean_object* v___x_1532_; lean_object* v_mctx_1533_; lean_object* v_zetaDeltaFVarIds_1534_; lean_object* v_postponed_1535_; lean_object* v_diag_1536_; lean_object* v___x_1538_; uint8_t v_isShared_1539_; uint8_t v_isSharedCheck_1557_; -v___x_1531_ = lean_st_ref_set(v___y_1463_, v___x_1530_); -v___x_1532_ = lean_st_ref_take(v___y_1461_); -v_mctx_1533_ = lean_ctor_get(v___x_1532_, 0); -v_zetaDeltaFVarIds_1534_ = lean_ctor_get(v___x_1532_, 2); -v_postponed_1535_ = lean_ctor_get(v___x_1532_, 3); -v_diag_1536_ = lean_ctor_get(v___x_1532_, 4); -v_isSharedCheck_1557_ = !lean_is_exclusive(v___x_1532_); -if (v_isSharedCheck_1557_ == 0) -{ -lean_object* v_unused_1558_; -v_unused_1558_ = lean_ctor_get(v___x_1532_, 1); -lean_dec(v_unused_1558_); -v___x_1538_ = v___x_1532_; -v_isShared_1539_ = v_isSharedCheck_1557_; -goto v_resetjp_1537_; -} -else -{ -lean_inc(v_diag_1536_); -lean_inc(v_postponed_1535_); -lean_inc(v_zetaDeltaFVarIds_1534_); -lean_inc(v_mctx_1533_); -lean_dec(v___x_1532_); -v___x_1538_ = lean_box(0); -v_isShared_1539_ = v_isSharedCheck_1557_; -goto v_resetjp_1537_; -} -v_resetjp_1537_: -{ -lean_object* v___x_1541_; -if (v_isShared_1539_ == 0) -{ -lean_ctor_set(v___x_1538_, 1, v___x_1512_); -v___x_1541_ = v___x_1538_; -goto v_reusejp_1540_; -} -else -{ -lean_object* v_reuseFailAlloc_1556_; -v_reuseFailAlloc_1556_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_1556_, 0, v_mctx_1533_); -lean_ctor_set(v_reuseFailAlloc_1556_, 1, v___x_1512_); -lean_ctor_set(v_reuseFailAlloc_1556_, 2, v_zetaDeltaFVarIds_1534_); -lean_ctor_set(v_reuseFailAlloc_1556_, 3, v_postponed_1535_); -lean_ctor_set(v_reuseFailAlloc_1556_, 4, v_diag_1536_); -v___x_1541_ = v_reuseFailAlloc_1556_; -goto v_reusejp_1540_; -} -v_reusejp_1540_: -{ -lean_object* v___x_1542_; lean_object* v___x_1543_; lean_object* v___x_1545_; uint8_t v_isShared_1546_; uint8_t v_isSharedCheck_1554_; -v___x_1542_ = lean_st_ref_set(v___y_1461_, v___x_1541_); -lean_inc(v___x_1476_); -v___x_1543_ = l_Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10(v___x_1476_, v___y_1460_, v___y_1461_, v___y_1462_, v___y_1463_); -v_isSharedCheck_1554_ = !lean_is_exclusive(v___x_1543_); -if (v_isSharedCheck_1554_ == 0) -{ -lean_object* v_unused_1555_; -v_unused_1555_ = lean_ctor_get(v___x_1543_, 0); -lean_dec(v_unused_1555_); -v___x_1545_ = v___x_1543_; -v_isShared_1546_ = v_isSharedCheck_1554_; -goto v_resetjp_1544_; -} -else -{ -lean_dec(v___x_1543_); -v___x_1545_ = lean_box(0); -v_isShared_1546_ = v_isSharedCheck_1554_; -goto v_resetjp_1544_; -} -v_resetjp_1544_: -{ -lean_object* v___x_1548_; -if (v_isShared_1546_ == 0) -{ -lean_ctor_set_tag(v___x_1545_, 1); -lean_ctor_set(v___x_1545_, 0, v___x_1426_); -v___x_1548_ = v___x_1545_; -goto v_reusejp_1547_; -} -else -{ -lean_object* v_reuseFailAlloc_1553_; -v_reuseFailAlloc_1553_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1553_, 0, v___x_1426_); -v___x_1548_ = v_reuseFailAlloc_1553_; -goto v_reusejp_1547_; -} -v_reusejp_1547_: -{ -lean_object* v___x_1549_; lean_object* v___x_1550_; lean_object* v___x_1551_; lean_object* v___x_1552_; -v___x_1549_ = lean_box(0); -v___x_1550_ = ((lean_object*)(l_mkCtorIdx___lam__1___closed__3)); -v___x_1551_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_1551_, 0, v___x_1548_); -lean_ctor_set(v___x_1551_, 1, v___x_1549_); -lean_ctor_set(v___x_1551_, 2, v___x_1550_); -v___x_1552_ = l_Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11(v___x_1476_, v___x_1551_, v___y_1460_, v___y_1461_, v___y_1462_, v___y_1463_); -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -return v___x_1552_; -} -} -} -} -} -} -} -} -} -} -} -else -{ -lean_dec(v___x_1476_); -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -lean_dec(v___x_1426_); -return v___x_1486_; -} -} -} -} -} -} -else -{ -lean_object* v_a_1571_; lean_object* v___x_1573_; uint8_t v_isShared_1574_; uint8_t v_isSharedCheck_1578_; -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -lean_dec(v_a_1438_); -lean_dec(v_indName_1428_); -lean_dec(v_levelParams_1427_); -lean_dec(v___x_1426_); -lean_dec(v___x_1421_); -v_a_1571_ = lean_ctor_get(v___x_1466_, 0); -v_isSharedCheck_1578_ = !lean_is_exclusive(v___x_1466_); -if (v_isSharedCheck_1578_ == 0) -{ -v___x_1573_ = v___x_1466_; -v_isShared_1574_ = v_isSharedCheck_1578_; +v___x_1573_ = v___x_1570_; +v_isShared_1574_ = v_isSharedCheck_1617_; goto v_resetjp_1572_; } else { lean_inc(v_a_1571_); -lean_dec(v___x_1466_); +lean_dec(v___x_1570_); v___x_1573_ = lean_box(0); -v_isShared_1574_ = v_isSharedCheck_1578_; +v_isShared_1574_ = v_isSharedCheck_1617_; goto v_resetjp_1572_; } v_resetjp_1572_: @@ -5065,50 +4699,419 @@ v_resetjp_1572_: lean_object* v___x_1576_; if (v_isShared_1574_ == 0) { +lean_ctor_set_tag(v___x_1573_, 1); v___x_1576_ = v___x_1573_; goto v_reusejp_1575_; } else { -lean_object* v_reuseFailAlloc_1577_; -v_reuseFailAlloc_1577_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1577_, 0, v_a_1571_); -v___x_1576_ = v_reuseFailAlloc_1577_; +lean_object* v_reuseFailAlloc_1616_; +v_reuseFailAlloc_1616_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1616_, 0, v_a_1571_); +v___x_1576_ = v_reuseFailAlloc_1616_; goto v_reusejp_1575_; } v_reusejp_1575_: { -return v___x_1576_; +lean_object* v___x_1577_; +lean_inc(v___y_1554_); +lean_inc_ref(v___y_1553_); +v___x_1577_ = l_Lean_addDecl(v___x_1576_, v___x_1417_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1577_) == 0) +{ +lean_object* v___x_1578_; lean_object* v_env_1579_; uint8_t v___x_1580_; +lean_dec_ref(v___x_1577_); +v___x_1578_ = lean_st_ref_get(v___y_1554_); +v_env_1579_ = lean_ctor_get(v___x_1578_, 0); +lean_inc_ref(v_env_1579_); +lean_dec(v___x_1578_); +v___x_1580_ = l_Lean_isMarkedMeta(v_env_1579_, v_indName_1428_); +if (v___x_1580_ == 0) +{ +v___y_1435_ = v___x_1567_; +v___y_1436_ = v___y_1551_; +v___y_1437_ = v___y_1552_; +v___y_1438_ = v___y_1553_; +v___y_1439_ = v___y_1554_; +goto v___jp_1434_; +} +else +{ +lean_object* v___x_1581_; lean_object* v_env_1582_; lean_object* v_nextMacroScope_1583_; lean_object* v_ngen_1584_; lean_object* v_auxDeclNGen_1585_; lean_object* v_traceState_1586_; lean_object* v_messages_1587_; lean_object* v_infoState_1588_; lean_object* v_snapshotTasks_1589_; lean_object* v___x_1591_; uint8_t v_isShared_1592_; uint8_t v_isSharedCheck_1614_; +v___x_1581_ = lean_st_ref_take(v___y_1554_); +v_env_1582_ = lean_ctor_get(v___x_1581_, 0); +v_nextMacroScope_1583_ = lean_ctor_get(v___x_1581_, 1); +v_ngen_1584_ = lean_ctor_get(v___x_1581_, 2); +v_auxDeclNGen_1585_ = lean_ctor_get(v___x_1581_, 3); +v_traceState_1586_ = lean_ctor_get(v___x_1581_, 4); +v_messages_1587_ = lean_ctor_get(v___x_1581_, 6); +v_infoState_1588_ = lean_ctor_get(v___x_1581_, 7); +v_snapshotTasks_1589_ = lean_ctor_get(v___x_1581_, 8); +v_isSharedCheck_1614_ = !lean_is_exclusive(v___x_1581_); +if (v_isSharedCheck_1614_ == 0) +{ +lean_object* v_unused_1615_; +v_unused_1615_ = lean_ctor_get(v___x_1581_, 5); +lean_dec(v_unused_1615_); +v___x_1591_ = v___x_1581_; +v_isShared_1592_ = v_isSharedCheck_1614_; +goto v_resetjp_1590_; +} +else +{ +lean_inc(v_snapshotTasks_1589_); +lean_inc(v_infoState_1588_); +lean_inc(v_messages_1587_); +lean_inc(v_traceState_1586_); +lean_inc(v_auxDeclNGen_1585_); +lean_inc(v_ngen_1584_); +lean_inc(v_nextMacroScope_1583_); +lean_inc(v_env_1582_); +lean_dec(v___x_1581_); +v___x_1591_ = lean_box(0); +v_isShared_1592_ = v_isSharedCheck_1614_; +goto v_resetjp_1590_; +} +v_resetjp_1590_: +{ +lean_object* v___x_1593_; lean_object* v___x_1594_; lean_object* v___x_1596_; +lean_inc(v___x_1567_); +v___x_1593_ = l_Lean_markMeta(v_env_1582_, v___x_1567_); +v___x_1594_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); +if (v_isShared_1592_ == 0) +{ +lean_ctor_set(v___x_1591_, 5, v___x_1594_); +lean_ctor_set(v___x_1591_, 0, v___x_1593_); +v___x_1596_ = v___x_1591_; +goto v_reusejp_1595_; +} +else +{ +lean_object* v_reuseFailAlloc_1613_; +v_reuseFailAlloc_1613_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1613_, 0, v___x_1593_); +lean_ctor_set(v_reuseFailAlloc_1613_, 1, v_nextMacroScope_1583_); +lean_ctor_set(v_reuseFailAlloc_1613_, 2, v_ngen_1584_); +lean_ctor_set(v_reuseFailAlloc_1613_, 3, v_auxDeclNGen_1585_); +lean_ctor_set(v_reuseFailAlloc_1613_, 4, v_traceState_1586_); +lean_ctor_set(v_reuseFailAlloc_1613_, 5, v___x_1594_); +lean_ctor_set(v_reuseFailAlloc_1613_, 6, v_messages_1587_); +lean_ctor_set(v_reuseFailAlloc_1613_, 7, v_infoState_1588_); +lean_ctor_set(v_reuseFailAlloc_1613_, 8, v_snapshotTasks_1589_); +v___x_1596_ = v_reuseFailAlloc_1613_; +goto v_reusejp_1595_; +} +v_reusejp_1595_: +{ +lean_object* v___x_1597_; lean_object* v___x_1598_; lean_object* v_mctx_1599_; lean_object* v_zetaDeltaFVarIds_1600_; lean_object* v_postponed_1601_; lean_object* v_diag_1602_; lean_object* v___x_1604_; uint8_t v_isShared_1605_; uint8_t v_isSharedCheck_1611_; +v___x_1597_ = lean_st_ref_set(v___y_1554_, v___x_1596_); +v___x_1598_ = lean_st_ref_take(v___y_1552_); +v_mctx_1599_ = lean_ctor_get(v___x_1598_, 0); +v_zetaDeltaFVarIds_1600_ = lean_ctor_get(v___x_1598_, 2); +v_postponed_1601_ = lean_ctor_get(v___x_1598_, 3); +v_diag_1602_ = lean_ctor_get(v___x_1598_, 4); +v_isSharedCheck_1611_ = !lean_is_exclusive(v___x_1598_); +if (v_isSharedCheck_1611_ == 0) +{ +lean_object* v_unused_1612_; +v_unused_1612_ = lean_ctor_get(v___x_1598_, 1); +lean_dec(v_unused_1612_); +v___x_1604_ = v___x_1598_; +v_isShared_1605_ = v_isSharedCheck_1611_; +goto v_resetjp_1603_; +} +else +{ +lean_inc(v_diag_1602_); +lean_inc(v_postponed_1601_); +lean_inc(v_zetaDeltaFVarIds_1600_); +lean_inc(v_mctx_1599_); +lean_dec(v___x_1598_); +v___x_1604_ = lean_box(0); +v_isShared_1605_ = v_isSharedCheck_1611_; +goto v_resetjp_1603_; +} +v_resetjp_1603_: +{ +lean_object* v___x_1606_; lean_object* v___x_1608_; +v___x_1606_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); +if (v_isShared_1605_ == 0) +{ +lean_ctor_set(v___x_1604_, 1, v___x_1606_); +v___x_1608_ = v___x_1604_; +goto v_reusejp_1607_; +} +else +{ +lean_object* v_reuseFailAlloc_1610_; +v_reuseFailAlloc_1610_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1610_, 0, v_mctx_1599_); +lean_ctor_set(v_reuseFailAlloc_1610_, 1, v___x_1606_); +lean_ctor_set(v_reuseFailAlloc_1610_, 2, v_zetaDeltaFVarIds_1600_); +lean_ctor_set(v_reuseFailAlloc_1610_, 3, v_postponed_1601_); +lean_ctor_set(v_reuseFailAlloc_1610_, 4, v_diag_1602_); +v___x_1608_ = v_reuseFailAlloc_1610_; +goto v_reusejp_1607_; +} +v_reusejp_1607_: +{ +lean_object* v___x_1609_; +v___x_1609_ = lean_st_ref_set(v___y_1552_, v___x_1608_); +v___y_1435_ = v___x_1567_; +v___y_1436_ = v___y_1551_; +v___y_1437_ = v___y_1552_; +v___y_1438_ = v___y_1553_; +v___y_1439_ = v___y_1554_; +goto v___jp_1434_; +} +} } } } } else { -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -lean_dec(v_a_1438_); +lean_dec(v___x_1567_); +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v___y_1552_); +lean_dec_ref(v___y_1551_); +lean_dec(v_indName_1428_); +lean_dec(v___x_1426_); +return v___x_1577_; +} +} +} +} +} +} +else +{ +lean_object* v_a_1619_; lean_object* v___x_1621_; uint8_t v_isShared_1622_; uint8_t v_isSharedCheck_1626_; +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v___y_1552_); +lean_dec_ref(v___y_1551_); +lean_dec(v_a_1529_); lean_dec(v_indName_1428_); lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); -return v___x_1465_; +v_a_1619_ = lean_ctor_get(v___x_1557_, 0); +v_isSharedCheck_1626_ = !lean_is_exclusive(v___x_1557_); +if (v_isSharedCheck_1626_ == 0) +{ +v___x_1621_ = v___x_1557_; +v_isShared_1622_ = v_isSharedCheck_1626_; +goto v_resetjp_1620_; +} +else +{ +lean_inc(v_a_1619_); +lean_dec(v___x_1557_); +v___x_1621_ = lean_box(0); +v_isShared_1622_ = v_isSharedCheck_1626_; +goto v_resetjp_1620_; +} +v_resetjp_1620_: +{ +lean_object* v___x_1624_; +if (v_isShared_1622_ == 0) +{ +v___x_1624_ = v___x_1621_; +goto v_reusejp_1623_; +} +else +{ +lean_object* v_reuseFailAlloc_1625_; +v_reuseFailAlloc_1625_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1625_, 0, v_a_1619_); +v___x_1624_ = v_reuseFailAlloc_1625_; +goto v_reusejp_1623_; +} +v_reusejp_1623_: +{ +return v___x_1624_; +} +} } } else { -lean_dec(v___y_1463_); -lean_dec_ref(v___y_1462_); -lean_dec(v___y_1461_); -lean_dec_ref(v___y_1460_); -lean_dec(v_a_1438_); +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v___y_1552_); +lean_dec_ref(v___y_1551_); +lean_dec(v_a_1529_); lean_dec(v_indName_1428_); lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); -return v___x_1464_; +return v___x_1556_; +} +} +else +{ +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v___y_1552_); +lean_dec_ref(v___y_1551_); +lean_dec(v_a_1529_); +lean_dec(v_indName_1428_); +lean_dec(v_levelParams_1427_); +lean_dec(v___x_1426_); +lean_dec(v___x_1421_); +return v___x_1555_; +} +} +v___jp_1627_: +{ +lean_object* v___x_1632_; lean_object* v_env_1633_; uint8_t v___x_1634_; +v___x_1632_ = lean_st_ref_get(v___y_1631_); +v_env_1633_ = lean_ctor_get(v___x_1632_, 0); +lean_inc_ref(v_env_1633_); +lean_dec(v___x_1632_); +lean_inc(v_indName_1428_); +v___x_1634_ = l_Lean_isMarkedMeta(v_env_1633_, v_indName_1428_); +if (v___x_1634_ == 0) +{ +v___y_1551_ = v___y_1628_; +v___y_1552_ = v___y_1629_; +v___y_1553_ = v___y_1630_; +v___y_1554_ = v___y_1631_; +goto v___jp_1550_; +} +else +{ +lean_object* v___x_1635_; lean_object* v_env_1636_; lean_object* v_nextMacroScope_1637_; lean_object* v_ngen_1638_; lean_object* v_auxDeclNGen_1639_; lean_object* v_traceState_1640_; lean_object* v_messages_1641_; lean_object* v_infoState_1642_; lean_object* v_snapshotTasks_1643_; lean_object* v___x_1645_; uint8_t v_isShared_1646_; uint8_t v_isSharedCheck_1668_; +v___x_1635_ = lean_st_ref_take(v___y_1631_); +v_env_1636_ = lean_ctor_get(v___x_1635_, 0); +v_nextMacroScope_1637_ = lean_ctor_get(v___x_1635_, 1); +v_ngen_1638_ = lean_ctor_get(v___x_1635_, 2); +v_auxDeclNGen_1639_ = lean_ctor_get(v___x_1635_, 3); +v_traceState_1640_ = lean_ctor_get(v___x_1635_, 4); +v_messages_1641_ = lean_ctor_get(v___x_1635_, 6); +v_infoState_1642_ = lean_ctor_get(v___x_1635_, 7); +v_snapshotTasks_1643_ = lean_ctor_get(v___x_1635_, 8); +v_isSharedCheck_1668_ = !lean_is_exclusive(v___x_1635_); +if (v_isSharedCheck_1668_ == 0) +{ +lean_object* v_unused_1669_; +v_unused_1669_ = lean_ctor_get(v___x_1635_, 5); +lean_dec(v_unused_1669_); +v___x_1645_ = v___x_1635_; +v_isShared_1646_ = v_isSharedCheck_1668_; +goto v_resetjp_1644_; +} +else +{ +lean_inc(v_snapshotTasks_1643_); +lean_inc(v_infoState_1642_); +lean_inc(v_messages_1641_); +lean_inc(v_traceState_1640_); +lean_inc(v_auxDeclNGen_1639_); +lean_inc(v_ngen_1638_); +lean_inc(v_nextMacroScope_1637_); +lean_inc(v_env_1636_); +lean_dec(v___x_1635_); +v___x_1645_ = lean_box(0); +v_isShared_1646_ = v_isSharedCheck_1668_; +goto v_resetjp_1644_; +} +v_resetjp_1644_: +{ +lean_object* v___x_1647_; lean_object* v___x_1648_; lean_object* v___x_1650_; +lean_inc(v___x_1426_); +v___x_1647_ = l_Lean_markMeta(v_env_1636_, v___x_1426_); +v___x_1648_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); +if (v_isShared_1646_ == 0) +{ +lean_ctor_set(v___x_1645_, 5, v___x_1648_); +lean_ctor_set(v___x_1645_, 0, v___x_1647_); +v___x_1650_ = v___x_1645_; +goto v_reusejp_1649_; +} +else +{ +lean_object* v_reuseFailAlloc_1667_; +v_reuseFailAlloc_1667_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1667_, 0, v___x_1647_); +lean_ctor_set(v_reuseFailAlloc_1667_, 1, v_nextMacroScope_1637_); +lean_ctor_set(v_reuseFailAlloc_1667_, 2, v_ngen_1638_); +lean_ctor_set(v_reuseFailAlloc_1667_, 3, v_auxDeclNGen_1639_); +lean_ctor_set(v_reuseFailAlloc_1667_, 4, v_traceState_1640_); +lean_ctor_set(v_reuseFailAlloc_1667_, 5, v___x_1648_); +lean_ctor_set(v_reuseFailAlloc_1667_, 6, v_messages_1641_); +lean_ctor_set(v_reuseFailAlloc_1667_, 7, v_infoState_1642_); +lean_ctor_set(v_reuseFailAlloc_1667_, 8, v_snapshotTasks_1643_); +v___x_1650_ = v_reuseFailAlloc_1667_; +goto v_reusejp_1649_; +} +v_reusejp_1649_: +{ +lean_object* v___x_1651_; lean_object* v___x_1652_; lean_object* v_mctx_1653_; lean_object* v_zetaDeltaFVarIds_1654_; lean_object* v_postponed_1655_; lean_object* v_diag_1656_; lean_object* v___x_1658_; uint8_t v_isShared_1659_; uint8_t v_isSharedCheck_1665_; +v___x_1651_ = lean_st_ref_set(v___y_1631_, v___x_1650_); +v___x_1652_ = lean_st_ref_take(v___y_1629_); +v_mctx_1653_ = lean_ctor_get(v___x_1652_, 0); +v_zetaDeltaFVarIds_1654_ = lean_ctor_get(v___x_1652_, 2); +v_postponed_1655_ = lean_ctor_get(v___x_1652_, 3); +v_diag_1656_ = lean_ctor_get(v___x_1652_, 4); +v_isSharedCheck_1665_ = !lean_is_exclusive(v___x_1652_); +if (v_isSharedCheck_1665_ == 0) +{ +lean_object* v_unused_1666_; +v_unused_1666_ = lean_ctor_get(v___x_1652_, 1); +lean_dec(v_unused_1666_); +v___x_1658_ = v___x_1652_; +v_isShared_1659_ = v_isSharedCheck_1665_; +goto v_resetjp_1657_; +} +else +{ +lean_inc(v_diag_1656_); +lean_inc(v_postponed_1655_); +lean_inc(v_zetaDeltaFVarIds_1654_); +lean_inc(v_mctx_1653_); +lean_dec(v___x_1652_); +v___x_1658_ = lean_box(0); +v_isShared_1659_ = v_isSharedCheck_1665_; +goto v_resetjp_1657_; +} +v_resetjp_1657_: +{ +lean_object* v___x_1660_; lean_object* v___x_1662_; +v___x_1660_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); +if (v_isShared_1659_ == 0) +{ +lean_ctor_set(v___x_1658_, 1, v___x_1660_); +v___x_1662_ = v___x_1658_; +goto v_reusejp_1661_; +} +else +{ +lean_object* v_reuseFailAlloc_1664_; +v_reuseFailAlloc_1664_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1664_, 0, v_mctx_1653_); +lean_ctor_set(v_reuseFailAlloc_1664_, 1, v___x_1660_); +lean_ctor_set(v_reuseFailAlloc_1664_, 2, v_zetaDeltaFVarIds_1654_); +lean_ctor_set(v_reuseFailAlloc_1664_, 3, v_postponed_1655_); +lean_ctor_set(v_reuseFailAlloc_1664_, 4, v_diag_1656_); +v___x_1662_ = v_reuseFailAlloc_1664_; +goto v_reusejp_1661_; +} +v_reusejp_1661_: +{ +lean_object* v___x_1663_; +v___x_1663_ = lean_st_ref_set(v___y_1629_, v___x_1662_); +v___y_1551_ = v___y_1628_; +v___y_1552_ = v___y_1629_; +v___y_1553_ = v___y_1630_; +v___y_1554_ = v___y_1631_; +goto v___jp_1550_; +} +} +} +} } } } @@ -5116,8 +5119,8 @@ return v___x_1464_; } else { -lean_object* v_a_1655_; lean_object* v___x_1657_; uint8_t v_isShared_1658_; uint8_t v_isSharedCheck_1662_; -lean_dec(v_a_1438_); +lean_object* v_a_1746_; lean_object* v___x_1748_; uint8_t v_isShared_1749_; uint8_t v_isSharedCheck_1753_; +lean_dec(v_a_1529_); lean_dec(v___y_1432_); lean_dec_ref(v___y_1431_); lean_dec(v___y_1430_); @@ -5127,480 +5130,804 @@ lean_dec(v_levelParams_1427_); lean_dec(v___x_1426_); lean_dec(v___x_1421_); lean_dec_ref(v_val_1419_); -v_a_1655_ = lean_ctor_get(v___x_1444_, 0); -v_isSharedCheck_1662_ = !lean_is_exclusive(v___x_1444_); -if (v_isSharedCheck_1662_ == 0) +v_a_1746_ = lean_ctor_get(v___x_1535_, 0); +v_isSharedCheck_1753_ = !lean_is_exclusive(v___x_1535_); +if (v_isSharedCheck_1753_ == 0) { -v___x_1657_ = v___x_1444_; -v_isShared_1658_ = v_isSharedCheck_1662_; -goto v_resetjp_1656_; +v___x_1748_ = v___x_1535_; +v_isShared_1749_ = v_isSharedCheck_1753_; +goto v_resetjp_1747_; } else { -lean_inc(v_a_1655_); +lean_inc(v_a_1746_); +lean_dec(v___x_1535_); +v___x_1748_ = lean_box(0); +v_isShared_1749_ = v_isSharedCheck_1753_; +goto v_resetjp_1747_; +} +v_resetjp_1747_: +{ +lean_object* v___x_1751_; +if (v_isShared_1749_ == 0) +{ +v___x_1751_ = v___x_1748_; +goto v_reusejp_1750_; +} +else +{ +lean_object* v_reuseFailAlloc_1752_; +v_reuseFailAlloc_1752_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1752_, 0, v_a_1746_); +v___x_1751_ = v_reuseFailAlloc_1752_; +goto v_reusejp_1750_; +} +v_reusejp_1750_: +{ +return v___x_1751_; +} +} +} +} +else +{ +lean_object* v_a_1754_; lean_object* v___x_1756_; uint8_t v_isShared_1757_; uint8_t v_isSharedCheck_1761_; +lean_dec(v___y_1432_); +lean_dec_ref(v___y_1431_); +lean_dec(v___y_1430_); +lean_dec_ref(v___y_1429_); +lean_dec(v_indName_1428_); +lean_dec(v_levelParams_1427_); +lean_dec(v___x_1426_); +lean_dec(v___x_1425_); +lean_dec(v_ctors_1424_); +lean_dec_ref(v___x_1423_); +lean_dec(v___x_1422_); +lean_dec(v___x_1421_); +lean_dec_ref(v___x_1420_); +lean_dec_ref(v_val_1419_); +lean_dec_ref(v_xs_1416_); +lean_dec_ref(v___x_1415_); +lean_dec_ref(v___x_1414_); +v_a_1754_ = lean_ctor_get(v___x_1528_, 0); +v_isSharedCheck_1761_ = !lean_is_exclusive(v___x_1528_); +if (v_isSharedCheck_1761_ == 0) +{ +v___x_1756_ = v___x_1528_; +v_isShared_1757_ = v_isSharedCheck_1761_; +goto v_resetjp_1755_; +} +else +{ +lean_inc(v_a_1754_); +lean_dec(v___x_1528_); +v___x_1756_ = lean_box(0); +v_isShared_1757_ = v_isSharedCheck_1761_; +goto v_resetjp_1755_; +} +v_resetjp_1755_: +{ +lean_object* v___x_1759_; +if (v_isShared_1757_ == 0) +{ +v___x_1759_ = v___x_1756_; +goto v_reusejp_1758_; +} +else +{ +lean_object* v_reuseFailAlloc_1760_; +v_reuseFailAlloc_1760_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1760_, 0, v_a_1754_); +v___x_1759_ = v_reuseFailAlloc_1760_; +goto v_reusejp_1758_; +} +v_reusejp_1758_: +{ +return v___x_1759_; +} +} +} +} +else +{ +lean_object* v_a_1762_; lean_object* v___x_1764_; uint8_t v_isShared_1765_; uint8_t v_isSharedCheck_1769_; +lean_dec(v___y_1432_); +lean_dec_ref(v___y_1431_); +lean_dec(v___y_1430_); +lean_dec_ref(v___y_1429_); +lean_dec(v_indName_1428_); +lean_dec(v_levelParams_1427_); +lean_dec(v___x_1426_); +lean_dec(v___x_1425_); +lean_dec(v_ctors_1424_); +lean_dec_ref(v___x_1423_); +lean_dec(v___x_1422_); +lean_dec(v___x_1421_); +lean_dec_ref(v___x_1420_); +lean_dec_ref(v_val_1419_); +lean_dec_ref(v_xs_1416_); +lean_dec_ref(v___x_1415_); +lean_dec_ref(v___x_1414_); +v_a_1762_ = lean_ctor_get(v___x_1525_, 0); +v_isSharedCheck_1769_ = !lean_is_exclusive(v___x_1525_); +if (v_isSharedCheck_1769_ == 0) +{ +v___x_1764_ = v___x_1525_; +v_isShared_1765_ = v_isSharedCheck_1769_; +goto v_resetjp_1763_; +} +else +{ +lean_inc(v_a_1762_); +lean_dec(v___x_1525_); +v___x_1764_ = lean_box(0); +v_isShared_1765_ = v_isSharedCheck_1769_; +goto v_resetjp_1763_; +} +v_resetjp_1763_: +{ +lean_object* v___x_1767_; +if (v_isShared_1765_ == 0) +{ +v___x_1767_ = v___x_1764_; +goto v_reusejp_1766_; +} +else +{ +lean_object* v_reuseFailAlloc_1768_; +v_reuseFailAlloc_1768_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1768_, 0, v_a_1762_); +v___x_1767_ = v_reuseFailAlloc_1768_; +goto v_reusejp_1766_; +} +v_reusejp_1766_: +{ +return v___x_1767_; +} +} +} +v___jp_1434_: +{ +lean_object* v___x_1440_; lean_object* v___x_1441_; lean_object* v___x_1442_; lean_object* v___x_1443_; +v___x_1440_ = lean_unsigned_to_nat(1u); +v___x_1441_ = lean_mk_empty_array_with_capacity(v___x_1440_); +lean_inc(v___y_1435_); +v___x_1442_ = lean_array_push(v___x_1441_, v___y_1435_); +lean_inc(v___y_1439_); +lean_inc_ref(v___y_1438_); +v___x_1443_ = l_Lean_compileDecls(v___x_1442_, v___x_1418_, v___y_1438_, v___y_1439_); +if (lean_obj_tag(v___x_1443_) == 0) +{ +lean_object* v___x_1444_; lean_object* v_env_1445_; lean_object* v_nextMacroScope_1446_; lean_object* v_ngen_1447_; lean_object* v_auxDeclNGen_1448_; lean_object* v_traceState_1449_; lean_object* v_messages_1450_; lean_object* v_infoState_1451_; lean_object* v_snapshotTasks_1452_; lean_object* v___x_1454_; uint8_t v_isShared_1455_; uint8_t v_isSharedCheck_1523_; +lean_dec_ref(v___x_1443_); +v___x_1444_ = lean_st_ref_take(v___y_1439_); +v_env_1445_ = lean_ctor_get(v___x_1444_, 0); +v_nextMacroScope_1446_ = lean_ctor_get(v___x_1444_, 1); +v_ngen_1447_ = lean_ctor_get(v___x_1444_, 2); +v_auxDeclNGen_1448_ = lean_ctor_get(v___x_1444_, 3); +v_traceState_1449_ = lean_ctor_get(v___x_1444_, 4); +v_messages_1450_ = lean_ctor_get(v___x_1444_, 6); +v_infoState_1451_ = lean_ctor_get(v___x_1444_, 7); +v_snapshotTasks_1452_ = lean_ctor_get(v___x_1444_, 8); +v_isSharedCheck_1523_ = !lean_is_exclusive(v___x_1444_); +if (v_isSharedCheck_1523_ == 0) +{ +lean_object* v_unused_1524_; +v_unused_1524_ = lean_ctor_get(v___x_1444_, 5); +lean_dec(v_unused_1524_); +v___x_1454_ = v___x_1444_; +v_isShared_1455_ = v_isSharedCheck_1523_; +goto v_resetjp_1453_; +} +else +{ +lean_inc(v_snapshotTasks_1452_); +lean_inc(v_infoState_1451_); +lean_inc(v_messages_1450_); +lean_inc(v_traceState_1449_); +lean_inc(v_auxDeclNGen_1448_); +lean_inc(v_ngen_1447_); +lean_inc(v_nextMacroScope_1446_); +lean_inc(v_env_1445_); lean_dec(v___x_1444_); -v___x_1657_ = lean_box(0); -v_isShared_1658_ = v_isSharedCheck_1662_; -goto v_resetjp_1656_; +v___x_1454_ = lean_box(0); +v_isShared_1455_ = v_isSharedCheck_1523_; +goto v_resetjp_1453_; } -v_resetjp_1656_: +v_resetjp_1453_: { -lean_object* v___x_1660_; -if (v_isShared_1658_ == 0) +lean_object* v___x_1456_; lean_object* v___x_1457_; lean_object* v___x_1459_; +lean_inc(v___y_1435_); +v___x_1456_ = l_Lean_Meta_addToCompletionBlackList(v_env_1445_, v___y_1435_); +v___x_1457_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__2); +if (v_isShared_1455_ == 0) { -v___x_1660_ = v___x_1657_; -goto v_reusejp_1659_; +lean_ctor_set(v___x_1454_, 5, v___x_1457_); +lean_ctor_set(v___x_1454_, 0, v___x_1456_); +v___x_1459_ = v___x_1454_; +goto v_reusejp_1458_; } else { -lean_object* v_reuseFailAlloc_1661_; -v_reuseFailAlloc_1661_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1661_, 0, v_a_1655_); -v___x_1660_ = v_reuseFailAlloc_1661_; -goto v_reusejp_1659_; +lean_object* v_reuseFailAlloc_1522_; +v_reuseFailAlloc_1522_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1522_, 0, v___x_1456_); +lean_ctor_set(v_reuseFailAlloc_1522_, 1, v_nextMacroScope_1446_); +lean_ctor_set(v_reuseFailAlloc_1522_, 2, v_ngen_1447_); +lean_ctor_set(v_reuseFailAlloc_1522_, 3, v_auxDeclNGen_1448_); +lean_ctor_set(v_reuseFailAlloc_1522_, 4, v_traceState_1449_); +lean_ctor_set(v_reuseFailAlloc_1522_, 5, v___x_1457_); +lean_ctor_set(v_reuseFailAlloc_1522_, 6, v_messages_1450_); +lean_ctor_set(v_reuseFailAlloc_1522_, 7, v_infoState_1451_); +lean_ctor_set(v_reuseFailAlloc_1522_, 8, v_snapshotTasks_1452_); +v___x_1459_ = v_reuseFailAlloc_1522_; +goto v_reusejp_1458_; } -v_reusejp_1659_: +v_reusejp_1458_: { -return v___x_1660_; +lean_object* v___x_1460_; lean_object* v___x_1461_; lean_object* v_mctx_1462_; lean_object* v_zetaDeltaFVarIds_1463_; lean_object* v_postponed_1464_; lean_object* v_diag_1465_; lean_object* v___x_1467_; uint8_t v_isShared_1468_; uint8_t v_isSharedCheck_1520_; +v___x_1460_ = lean_st_ref_set(v___y_1439_, v___x_1459_); +v___x_1461_ = lean_st_ref_take(v___y_1437_); +v_mctx_1462_ = lean_ctor_get(v___x_1461_, 0); +v_zetaDeltaFVarIds_1463_ = lean_ctor_get(v___x_1461_, 2); +v_postponed_1464_ = lean_ctor_get(v___x_1461_, 3); +v_diag_1465_ = lean_ctor_get(v___x_1461_, 4); +v_isSharedCheck_1520_ = !lean_is_exclusive(v___x_1461_); +if (v_isSharedCheck_1520_ == 0) +{ +lean_object* v_unused_1521_; +v_unused_1521_ = lean_ctor_get(v___x_1461_, 1); +lean_dec(v_unused_1521_); +v___x_1467_ = v___x_1461_; +v_isShared_1468_ = v_isSharedCheck_1520_; +goto v_resetjp_1466_; +} +else +{ +lean_inc(v_diag_1465_); +lean_inc(v_postponed_1464_); +lean_inc(v_zetaDeltaFVarIds_1463_); +lean_inc(v_mctx_1462_); +lean_dec(v___x_1461_); +v___x_1467_ = lean_box(0); +v_isShared_1468_ = v_isSharedCheck_1520_; +goto v_resetjp_1466_; +} +v_resetjp_1466_: +{ +lean_object* v___x_1469_; lean_object* v___x_1471_; +v___x_1469_ = lean_obj_once(&l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3, &l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3_once, _init_l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg___closed__3); +if (v_isShared_1468_ == 0) +{ +lean_ctor_set(v___x_1467_, 1, v___x_1469_); +v___x_1471_ = v___x_1467_; +goto v_reusejp_1470_; +} +else +{ +lean_object* v_reuseFailAlloc_1519_; +v_reuseFailAlloc_1519_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1519_, 0, v_mctx_1462_); +lean_ctor_set(v_reuseFailAlloc_1519_, 1, v___x_1469_); +lean_ctor_set(v_reuseFailAlloc_1519_, 2, v_zetaDeltaFVarIds_1463_); +lean_ctor_set(v_reuseFailAlloc_1519_, 3, v_postponed_1464_); +lean_ctor_set(v_reuseFailAlloc_1519_, 4, v_diag_1465_); +v___x_1471_ = v_reuseFailAlloc_1519_; +goto v_reusejp_1470_; +} +v_reusejp_1470_: +{ +lean_object* v___x_1472_; lean_object* v___x_1473_; lean_object* v_env_1474_; lean_object* v_nextMacroScope_1475_; lean_object* v_ngen_1476_; lean_object* v_auxDeclNGen_1477_; lean_object* v_traceState_1478_; lean_object* v_messages_1479_; lean_object* v_infoState_1480_; lean_object* v_snapshotTasks_1481_; lean_object* v___x_1483_; uint8_t v_isShared_1484_; uint8_t v_isSharedCheck_1517_; +v___x_1472_ = lean_st_ref_set(v___y_1437_, v___x_1471_); +v___x_1473_ = lean_st_ref_take(v___y_1439_); +v_env_1474_ = lean_ctor_get(v___x_1473_, 0); +v_nextMacroScope_1475_ = lean_ctor_get(v___x_1473_, 1); +v_ngen_1476_ = lean_ctor_get(v___x_1473_, 2); +v_auxDeclNGen_1477_ = lean_ctor_get(v___x_1473_, 3); +v_traceState_1478_ = lean_ctor_get(v___x_1473_, 4); +v_messages_1479_ = lean_ctor_get(v___x_1473_, 6); +v_infoState_1480_ = lean_ctor_get(v___x_1473_, 7); +v_snapshotTasks_1481_ = lean_ctor_get(v___x_1473_, 8); +v_isSharedCheck_1517_ = !lean_is_exclusive(v___x_1473_); +if (v_isSharedCheck_1517_ == 0) +{ +lean_object* v_unused_1518_; +v_unused_1518_ = lean_ctor_get(v___x_1473_, 5); +lean_dec(v_unused_1518_); +v___x_1483_ = v___x_1473_; +v_isShared_1484_ = v_isSharedCheck_1517_; +goto v_resetjp_1482_; +} +else +{ +lean_inc(v_snapshotTasks_1481_); +lean_inc(v_infoState_1480_); +lean_inc(v_messages_1479_); +lean_inc(v_traceState_1478_); +lean_inc(v_auxDeclNGen_1477_); +lean_inc(v_ngen_1476_); +lean_inc(v_nextMacroScope_1475_); +lean_inc(v_env_1474_); +lean_dec(v___x_1473_); +v___x_1483_ = lean_box(0); +v_isShared_1484_ = v_isSharedCheck_1517_; +goto v_resetjp_1482_; +} +v_resetjp_1482_: +{ +lean_object* v___x_1485_; lean_object* v___x_1487_; +lean_inc(v___y_1435_); +v___x_1485_ = l_Lean_addProtected(v_env_1474_, v___y_1435_); +if (v_isShared_1484_ == 0) +{ +lean_ctor_set(v___x_1483_, 5, v___x_1457_); +lean_ctor_set(v___x_1483_, 0, v___x_1485_); +v___x_1487_ = v___x_1483_; +goto v_reusejp_1486_; +} +else +{ +lean_object* v_reuseFailAlloc_1516_; +v_reuseFailAlloc_1516_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1516_, 0, v___x_1485_); +lean_ctor_set(v_reuseFailAlloc_1516_, 1, v_nextMacroScope_1475_); +lean_ctor_set(v_reuseFailAlloc_1516_, 2, v_ngen_1476_); +lean_ctor_set(v_reuseFailAlloc_1516_, 3, v_auxDeclNGen_1477_); +lean_ctor_set(v_reuseFailAlloc_1516_, 4, v_traceState_1478_); +lean_ctor_set(v_reuseFailAlloc_1516_, 5, v___x_1457_); +lean_ctor_set(v_reuseFailAlloc_1516_, 6, v_messages_1479_); +lean_ctor_set(v_reuseFailAlloc_1516_, 7, v_infoState_1480_); +lean_ctor_set(v_reuseFailAlloc_1516_, 8, v_snapshotTasks_1481_); +v___x_1487_ = v_reuseFailAlloc_1516_; +goto v_reusejp_1486_; +} +v_reusejp_1486_: +{ +lean_object* v___x_1488_; lean_object* v___x_1489_; lean_object* v_mctx_1490_; lean_object* v_zetaDeltaFVarIds_1491_; lean_object* v_postponed_1492_; lean_object* v_diag_1493_; lean_object* v___x_1495_; uint8_t v_isShared_1496_; uint8_t v_isSharedCheck_1514_; +v___x_1488_ = lean_st_ref_set(v___y_1439_, v___x_1487_); +v___x_1489_ = lean_st_ref_take(v___y_1437_); +v_mctx_1490_ = lean_ctor_get(v___x_1489_, 0); +v_zetaDeltaFVarIds_1491_ = lean_ctor_get(v___x_1489_, 2); +v_postponed_1492_ = lean_ctor_get(v___x_1489_, 3); +v_diag_1493_ = lean_ctor_get(v___x_1489_, 4); +v_isSharedCheck_1514_ = !lean_is_exclusive(v___x_1489_); +if (v_isSharedCheck_1514_ == 0) +{ +lean_object* v_unused_1515_; +v_unused_1515_ = lean_ctor_get(v___x_1489_, 1); +lean_dec(v_unused_1515_); +v___x_1495_ = v___x_1489_; +v_isShared_1496_ = v_isSharedCheck_1514_; +goto v_resetjp_1494_; +} +else +{ +lean_inc(v_diag_1493_); +lean_inc(v_postponed_1492_); +lean_inc(v_zetaDeltaFVarIds_1491_); +lean_inc(v_mctx_1490_); +lean_dec(v___x_1489_); +v___x_1495_ = lean_box(0); +v_isShared_1496_ = v_isSharedCheck_1514_; +goto v_resetjp_1494_; +} +v_resetjp_1494_: +{ +lean_object* v___x_1498_; +if (v_isShared_1496_ == 0) +{ +lean_ctor_set(v___x_1495_, 1, v___x_1469_); +v___x_1498_ = v___x_1495_; +goto v_reusejp_1497_; +} +else +{ +lean_object* v_reuseFailAlloc_1513_; +v_reuseFailAlloc_1513_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_1513_, 0, v_mctx_1490_); +lean_ctor_set(v_reuseFailAlloc_1513_, 1, v___x_1469_); +lean_ctor_set(v_reuseFailAlloc_1513_, 2, v_zetaDeltaFVarIds_1491_); +lean_ctor_set(v_reuseFailAlloc_1513_, 3, v_postponed_1492_); +lean_ctor_set(v_reuseFailAlloc_1513_, 4, v_diag_1493_); +v___x_1498_ = v_reuseFailAlloc_1513_; +goto v_reusejp_1497_; +} +v_reusejp_1497_: +{ +lean_object* v___x_1499_; lean_object* v___x_1500_; lean_object* v___x_1502_; uint8_t v_isShared_1503_; uint8_t v_isSharedCheck_1511_; +v___x_1499_ = lean_st_ref_set(v___y_1437_, v___x_1498_); +lean_inc(v___y_1435_); +v___x_1500_ = l_Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10(v___y_1435_, v___y_1436_, v___y_1437_, v___y_1438_, v___y_1439_); +v_isSharedCheck_1511_ = !lean_is_exclusive(v___x_1500_); +if (v_isSharedCheck_1511_ == 0) +{ +lean_object* v_unused_1512_; +v_unused_1512_ = lean_ctor_get(v___x_1500_, 0); +lean_dec(v_unused_1512_); +v___x_1502_ = v___x_1500_; +v_isShared_1503_ = v_isSharedCheck_1511_; +goto v_resetjp_1501_; +} +else +{ +lean_dec(v___x_1500_); +v___x_1502_ = lean_box(0); +v_isShared_1503_ = v_isSharedCheck_1511_; +goto v_resetjp_1501_; +} +v_resetjp_1501_: +{ +lean_object* v___x_1505_; +if (v_isShared_1503_ == 0) +{ +lean_ctor_set_tag(v___x_1502_, 1); +lean_ctor_set(v___x_1502_, 0, v___x_1426_); +v___x_1505_ = v___x_1502_; +goto v_reusejp_1504_; +} +else +{ +lean_object* v_reuseFailAlloc_1510_; +v_reuseFailAlloc_1510_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1510_, 0, v___x_1426_); +v___x_1505_ = v_reuseFailAlloc_1510_; +goto v_reusejp_1504_; +} +v_reusejp_1504_: +{ +lean_object* v___x_1506_; lean_object* v___x_1507_; lean_object* v___x_1508_; lean_object* v___x_1509_; +v___x_1506_ = lean_box(0); +v___x_1507_ = ((lean_object*)(l_mkCtorIdx___lam__1___closed__1)); +v___x_1508_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_1508_, 0, v___x_1505_); +lean_ctor_set(v___x_1508_, 1, v___x_1506_); +lean_ctor_set(v___x_1508_, 2, v___x_1507_); +v___x_1509_ = l_Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11(v___y_1435_, v___x_1508_, v___y_1436_, v___y_1437_, v___y_1438_, v___y_1439_); +lean_dec(v___y_1439_); +lean_dec_ref(v___y_1438_); +lean_dec(v___y_1437_); +lean_dec_ref(v___y_1436_); +return v___x_1509_; +} +} +} +} +} +} +} } } } } else { -lean_object* v_a_1663_; lean_object* v___x_1665_; uint8_t v_isShared_1666_; uint8_t v_isSharedCheck_1670_; -lean_dec(v___y_1432_); -lean_dec_ref(v___y_1431_); -lean_dec(v___y_1430_); -lean_dec_ref(v___y_1429_); -lean_dec(v_indName_1428_); -lean_dec(v_levelParams_1427_); +lean_dec(v___y_1439_); +lean_dec_ref(v___y_1438_); +lean_dec(v___y_1437_); +lean_dec_ref(v___y_1436_); +lean_dec(v___y_1435_); lean_dec(v___x_1426_); -lean_dec(v___x_1425_); -lean_dec(v_ctors_1424_); -lean_dec_ref(v___x_1423_); -lean_dec(v___x_1422_); -lean_dec(v___x_1421_); -lean_dec_ref(v___x_1420_); -lean_dec_ref(v_val_1419_); -lean_dec_ref(v_xs_1416_); -lean_dec_ref(v___x_1415_); -lean_dec_ref(v___x_1414_); -v_a_1663_ = lean_ctor_get(v___x_1437_, 0); -v_isSharedCheck_1670_ = !lean_is_exclusive(v___x_1437_); -if (v_isSharedCheck_1670_ == 0) -{ -v___x_1665_ = v___x_1437_; -v_isShared_1666_ = v_isSharedCheck_1670_; -goto v_resetjp_1664_; -} -else -{ -lean_inc(v_a_1663_); -lean_dec(v___x_1437_); -v___x_1665_ = lean_box(0); -v_isShared_1666_ = v_isSharedCheck_1670_; -goto v_resetjp_1664_; -} -v_resetjp_1664_: -{ -lean_object* v___x_1668_; -if (v_isShared_1666_ == 0) -{ -v___x_1668_ = v___x_1665_; -goto v_reusejp_1667_; -} -else -{ -lean_object* v_reuseFailAlloc_1669_; -v_reuseFailAlloc_1669_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1669_, 0, v_a_1663_); -v___x_1668_ = v_reuseFailAlloc_1669_; -goto v_reusejp_1667_; -} -v_reusejp_1667_: -{ -return v___x_1668_; -} -} -} -} -else -{ -lean_object* v_a_1671_; lean_object* v___x_1673_; uint8_t v_isShared_1674_; uint8_t v_isSharedCheck_1678_; -lean_dec(v___y_1432_); -lean_dec_ref(v___y_1431_); -lean_dec(v___y_1430_); -lean_dec_ref(v___y_1429_); -lean_dec(v_indName_1428_); -lean_dec(v_levelParams_1427_); -lean_dec(v___x_1426_); -lean_dec(v___x_1425_); -lean_dec(v_ctors_1424_); -lean_dec_ref(v___x_1423_); -lean_dec(v___x_1422_); -lean_dec(v___x_1421_); -lean_dec_ref(v___x_1420_); -lean_dec_ref(v_val_1419_); -lean_dec_ref(v_xs_1416_); -lean_dec_ref(v___x_1415_); -lean_dec_ref(v___x_1414_); -v_a_1671_ = lean_ctor_get(v___x_1434_, 0); -v_isSharedCheck_1678_ = !lean_is_exclusive(v___x_1434_); -if (v_isSharedCheck_1678_ == 0) -{ -v___x_1673_ = v___x_1434_; -v_isShared_1674_ = v_isSharedCheck_1678_; -goto v_resetjp_1672_; -} -else -{ -lean_inc(v_a_1671_); -lean_dec(v___x_1434_); -v___x_1673_ = lean_box(0); -v_isShared_1674_ = v_isSharedCheck_1678_; -goto v_resetjp_1672_; -} -v_resetjp_1672_: -{ -lean_object* v___x_1676_; -if (v_isShared_1674_ == 0) -{ -v___x_1676_ = v___x_1673_; -goto v_reusejp_1675_; -} -else -{ -lean_object* v_reuseFailAlloc_1677_; -v_reuseFailAlloc_1677_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1677_, 0, v_a_1671_); -v___x_1676_ = v_reuseFailAlloc_1677_; -goto v_reusejp_1675_; -} -v_reusejp_1675_: -{ -return v___x_1676_; -} +return v___x_1443_; } } } } LEAN_EXPORT lean_object* l_mkCtorIdx___lam__1___boxed(lean_object** _args){ -lean_object* v___x_1679_ = _args[0]; -lean_object* v___x_1680_ = _args[1]; -lean_object* v_xs_1681_ = _args[2]; -lean_object* v___x_1682_ = _args[3]; -lean_object* v___x_1683_ = _args[4]; -lean_object* v_val_1684_ = _args[5]; -lean_object* v___x_1685_ = _args[6]; -lean_object* v___x_1686_ = _args[7]; -lean_object* v___x_1687_ = _args[8]; -lean_object* v___x_1688_ = _args[9]; -lean_object* v_ctors_1689_ = _args[10]; -lean_object* v___x_1690_ = _args[11]; -lean_object* v___x_1691_ = _args[12]; -lean_object* v_levelParams_1692_ = _args[13]; -lean_object* v_indName_1693_ = _args[14]; -lean_object* v___y_1694_ = _args[15]; -lean_object* v___y_1695_ = _args[16]; -lean_object* v___y_1696_ = _args[17]; -lean_object* v___y_1697_ = _args[18]; -lean_object* v___y_1698_ = _args[19]; +lean_object* v___x_1770_ = _args[0]; +lean_object* v___x_1771_ = _args[1]; +lean_object* v_xs_1772_ = _args[2]; +lean_object* v___x_1773_ = _args[3]; +lean_object* v___x_1774_ = _args[4]; +lean_object* v_val_1775_ = _args[5]; +lean_object* v___x_1776_ = _args[6]; +lean_object* v___x_1777_ = _args[7]; +lean_object* v___x_1778_ = _args[8]; +lean_object* v___x_1779_ = _args[9]; +lean_object* v_ctors_1780_ = _args[10]; +lean_object* v___x_1781_ = _args[11]; +lean_object* v___x_1782_ = _args[12]; +lean_object* v_levelParams_1783_ = _args[13]; +lean_object* v_indName_1784_ = _args[14]; +lean_object* v___y_1785_ = _args[15]; +lean_object* v___y_1786_ = _args[16]; +lean_object* v___y_1787_ = _args[17]; +lean_object* v___y_1788_ = _args[18]; +lean_object* v___y_1789_ = _args[19]; _start: { -uint8_t v___x_29701__boxed_1699_; uint8_t v___x_29702__boxed_1700_; lean_object* v_res_1701_; -v___x_29701__boxed_1699_ = lean_unbox(v___x_1682_); -v___x_29702__boxed_1700_ = lean_unbox(v___x_1683_); -v_res_1701_ = l_mkCtorIdx___lam__1(v___x_1679_, v___x_1680_, v_xs_1681_, v___x_29701__boxed_1699_, v___x_29702__boxed_1700_, v_val_1684_, v___x_1685_, v___x_1686_, v___x_1687_, v___x_1688_, v_ctors_1689_, v___x_1690_, v___x_1691_, v_levelParams_1692_, v_indName_1693_, v___y_1694_, v___y_1695_, v___y_1696_, v___y_1697_); -return v_res_1701_; +uint8_t v___x_36909__boxed_1790_; uint8_t v___x_36910__boxed_1791_; lean_object* v_res_1792_; +v___x_36909__boxed_1790_ = lean_unbox(v___x_1773_); +v___x_36910__boxed_1791_ = lean_unbox(v___x_1774_); +v_res_1792_ = l_mkCtorIdx___lam__1(v___x_1770_, v___x_1771_, v_xs_1772_, v___x_36909__boxed_1790_, v___x_36910__boxed_1791_, v_val_1775_, v___x_1776_, v___x_1777_, v___x_1778_, v___x_1779_, v_ctors_1780_, v___x_1781_, v___x_1782_, v_levelParams_1783_, v_indName_1784_, v___y_1785_, v___y_1786_, v___y_1787_, v___y_1788_); +return v_res_1792_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(lean_object* v_bs_1702_, lean_object* v_k_1703_, lean_object* v___y_1704_, lean_object* v___y_1705_, lean_object* v___y_1706_, lean_object* v___y_1707_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(lean_object* v_bs_1793_, lean_object* v_k_1794_, lean_object* v___y_1795_, lean_object* v___y_1796_, lean_object* v___y_1797_, lean_object* v___y_1798_){ _start: { -lean_object* v___x_1709_; -v___x_1709_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp(lean_box(0), v_bs_1702_, v_k_1703_, v___y_1704_, v___y_1705_, v___y_1706_, v___y_1707_); -if (lean_obj_tag(v___x_1709_) == 0) +lean_object* v___x_1800_; +v___x_1800_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withNewBinderInfosImp(lean_box(0), v_bs_1793_, v_k_1794_, v___y_1795_, v___y_1796_, v___y_1797_, v___y_1798_); +if (lean_obj_tag(v___x_1800_) == 0) { -lean_object* v_a_1710_; lean_object* v___x_1712_; uint8_t v_isShared_1713_; uint8_t v_isSharedCheck_1717_; -v_a_1710_ = lean_ctor_get(v___x_1709_, 0); -v_isSharedCheck_1717_ = !lean_is_exclusive(v___x_1709_); -if (v_isSharedCheck_1717_ == 0) +lean_object* v_a_1801_; lean_object* v___x_1803_; uint8_t v_isShared_1804_; uint8_t v_isSharedCheck_1808_; +v_a_1801_ = lean_ctor_get(v___x_1800_, 0); +v_isSharedCheck_1808_ = !lean_is_exclusive(v___x_1800_); +if (v_isSharedCheck_1808_ == 0) { -v___x_1712_ = v___x_1709_; -v_isShared_1713_ = v_isSharedCheck_1717_; -goto v_resetjp_1711_; +v___x_1803_ = v___x_1800_; +v_isShared_1804_ = v_isSharedCheck_1808_; +goto v_resetjp_1802_; } else { -lean_inc(v_a_1710_); -lean_dec(v___x_1709_); -v___x_1712_ = lean_box(0); -v_isShared_1713_ = v_isSharedCheck_1717_; -goto v_resetjp_1711_; +lean_inc(v_a_1801_); +lean_dec(v___x_1800_); +v___x_1803_ = lean_box(0); +v_isShared_1804_ = v_isSharedCheck_1808_; +goto v_resetjp_1802_; } -v_resetjp_1711_: +v_resetjp_1802_: { -lean_object* v___x_1715_; -if (v_isShared_1713_ == 0) +lean_object* v___x_1806_; +if (v_isShared_1804_ == 0) { -v___x_1715_ = v___x_1712_; -goto v_reusejp_1714_; +v___x_1806_ = v___x_1803_; +goto v_reusejp_1805_; } else { -lean_object* v_reuseFailAlloc_1716_; -v_reuseFailAlloc_1716_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1716_, 0, v_a_1710_); -v___x_1715_ = v_reuseFailAlloc_1716_; -goto v_reusejp_1714_; +lean_object* v_reuseFailAlloc_1807_; +v_reuseFailAlloc_1807_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1807_, 0, v_a_1801_); +v___x_1806_ = v_reuseFailAlloc_1807_; +goto v_reusejp_1805_; } -v_reusejp_1714_: +v_reusejp_1805_: { -return v___x_1715_; +return v___x_1806_; } } } else { -lean_object* v_a_1718_; lean_object* v___x_1720_; uint8_t v_isShared_1721_; uint8_t v_isSharedCheck_1725_; -v_a_1718_ = lean_ctor_get(v___x_1709_, 0); -v_isSharedCheck_1725_ = !lean_is_exclusive(v___x_1709_); -if (v_isSharedCheck_1725_ == 0) +lean_object* v_a_1809_; lean_object* v___x_1811_; uint8_t v_isShared_1812_; uint8_t v_isSharedCheck_1816_; +v_a_1809_ = lean_ctor_get(v___x_1800_, 0); +v_isSharedCheck_1816_ = !lean_is_exclusive(v___x_1800_); +if (v_isSharedCheck_1816_ == 0) { -v___x_1720_ = v___x_1709_; -v_isShared_1721_ = v_isSharedCheck_1725_; -goto v_resetjp_1719_; +v___x_1811_ = v___x_1800_; +v_isShared_1812_ = v_isSharedCheck_1816_; +goto v_resetjp_1810_; } else { -lean_inc(v_a_1718_); -lean_dec(v___x_1709_); -v___x_1720_ = lean_box(0); -v_isShared_1721_ = v_isSharedCheck_1725_; -goto v_resetjp_1719_; +lean_inc(v_a_1809_); +lean_dec(v___x_1800_); +v___x_1811_ = lean_box(0); +v_isShared_1812_ = v_isSharedCheck_1816_; +goto v_resetjp_1810_; } -v_resetjp_1719_: +v_resetjp_1810_: { -lean_object* v___x_1723_; -if (v_isShared_1721_ == 0) +lean_object* v___x_1814_; +if (v_isShared_1812_ == 0) { -v___x_1723_ = v___x_1720_; -goto v_reusejp_1722_; +v___x_1814_ = v___x_1811_; +goto v_reusejp_1813_; } else { -lean_object* v_reuseFailAlloc_1724_; -v_reuseFailAlloc_1724_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1724_, 0, v_a_1718_); -v___x_1723_ = v_reuseFailAlloc_1724_; -goto v_reusejp_1722_; +lean_object* v_reuseFailAlloc_1815_; +v_reuseFailAlloc_1815_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1815_, 0, v_a_1809_); +v___x_1814_ = v_reuseFailAlloc_1815_; +goto v_reusejp_1813_; } -v_reusejp_1722_: +v_reusejp_1813_: { -return v___x_1723_; +return v___x_1814_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg___boxed(lean_object* v_bs_1726_, lean_object* v_k_1727_, lean_object* v___y_1728_, lean_object* v___y_1729_, lean_object* v___y_1730_, lean_object* v___y_1731_, lean_object* v___y_1732_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg___boxed(lean_object* v_bs_1817_, lean_object* v_k_1818_, lean_object* v___y_1819_, lean_object* v___y_1820_, lean_object* v___y_1821_, lean_object* v___y_1822_, lean_object* v___y_1823_){ _start: { -lean_object* v_res_1733_; -v_res_1733_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v_bs_1726_, v_k_1727_, v___y_1728_, v___y_1729_, v___y_1730_, v___y_1731_); -lean_dec_ref(v_bs_1726_); -return v_res_1733_; +lean_object* v_res_1824_; +v_res_1824_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v_bs_1817_, v_k_1818_, v___y_1819_, v___y_1820_, v___y_1821_, v___y_1822_); +lean_dec_ref(v_bs_1817_); +return v_res_1824_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(size_t v_sz_1734_, size_t v_i_1735_, lean_object* v_bs_1736_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(size_t v_sz_1825_, size_t v_i_1826_, lean_object* v_bs_1827_){ _start: { -uint8_t v___x_1737_; -v___x_1737_ = lean_usize_dec_lt(v_i_1735_, v_sz_1734_); -if (v___x_1737_ == 0) +uint8_t v___x_1828_; +v___x_1828_ = lean_usize_dec_lt(v_i_1826_, v_sz_1825_); +if (v___x_1828_ == 0) { -return v_bs_1736_; +return v_bs_1827_; } else { -lean_object* v_v_1738_; lean_object* v___x_1739_; lean_object* v_bs_x27_1740_; lean_object* v___x_1741_; uint8_t v___x_1742_; lean_object* v___x_1743_; lean_object* v___x_1744_; size_t v___x_1745_; size_t v___x_1746_; lean_object* v___x_1747_; -v_v_1738_ = lean_array_uget(v_bs_1736_, v_i_1735_); -v___x_1739_ = lean_unsigned_to_nat(0u); -v_bs_x27_1740_ = lean_array_uset(v_bs_1736_, v_i_1735_, v___x_1739_); -v___x_1741_ = l_Lean_Expr_fvarId_x21(v_v_1738_); -lean_dec(v_v_1738_); -v___x_1742_ = 1; -v___x_1743_ = lean_box(v___x_1742_); -v___x_1744_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_1744_, 0, v___x_1741_); -lean_ctor_set(v___x_1744_, 1, v___x_1743_); -v___x_1745_ = ((size_t)1ULL); -v___x_1746_ = lean_usize_add(v_i_1735_, v___x_1745_); -v___x_1747_ = lean_array_uset(v_bs_x27_1740_, v_i_1735_, v___x_1744_); -v_i_1735_ = v___x_1746_; -v_bs_1736_ = v___x_1747_; +lean_object* v_v_1829_; lean_object* v___x_1830_; lean_object* v_bs_x27_1831_; lean_object* v___x_1832_; uint8_t v___x_1833_; lean_object* v___x_1834_; lean_object* v___x_1835_; size_t v___x_1836_; size_t v___x_1837_; lean_object* v___x_1838_; +v_v_1829_ = lean_array_uget(v_bs_1827_, v_i_1826_); +v___x_1830_ = lean_unsigned_to_nat(0u); +v_bs_x27_1831_ = lean_array_uset(v_bs_1827_, v_i_1826_, v___x_1830_); +v___x_1832_ = l_Lean_Expr_fvarId_x21(v_v_1829_); +lean_dec(v_v_1829_); +v___x_1833_ = 1; +v___x_1834_ = lean_box(v___x_1833_); +v___x_1835_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1835_, 0, v___x_1832_); +lean_ctor_set(v___x_1835_, 1, v___x_1834_); +v___x_1836_ = ((size_t)1ULL); +v___x_1837_ = lean_usize_add(v_i_1826_, v___x_1836_); +v___x_1838_ = lean_array_uset(v_bs_x27_1831_, v_i_1826_, v___x_1835_); +v_i_1826_ = v___x_1837_; +v_bs_1827_ = v___x_1838_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19___boxed(lean_object* v_sz_1749_, lean_object* v_i_1750_, lean_object* v_bs_1751_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19___boxed(lean_object* v_sz_1840_, lean_object* v_i_1841_, lean_object* v_bs_1842_){ _start: { -size_t v_sz_boxed_1752_; size_t v_i_boxed_1753_; lean_object* v_res_1754_; -v_sz_boxed_1752_ = lean_unbox_usize(v_sz_1749_); -lean_dec(v_sz_1749_); -v_i_boxed_1753_ = lean_unbox_usize(v_i_1750_); -lean_dec(v_i_1750_); -v_res_1754_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(v_sz_boxed_1752_, v_i_boxed_1753_, v_bs_1751_); -return v_res_1754_; +size_t v_sz_boxed_1843_; size_t v_i_boxed_1844_; lean_object* v_res_1845_; +v_sz_boxed_1843_ = lean_unbox_usize(v_sz_1840_); +lean_dec(v_sz_1840_); +v_i_boxed_1844_ = lean_unbox_usize(v_i_1841_); +lean_dec(v_i_1841_); +v_res_1845_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(v_sz_boxed_1843_, v_i_boxed_1844_, v_bs_1842_); +return v_res_1845_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(lean_object* v_bs_1755_, lean_object* v_k_1756_, lean_object* v___y_1757_, lean_object* v___y_1758_, lean_object* v___y_1759_, lean_object* v___y_1760_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(lean_object* v_bs_1846_, lean_object* v_k_1847_, lean_object* v___y_1848_, lean_object* v___y_1849_, lean_object* v___y_1850_, lean_object* v___y_1851_){ _start: { -size_t v_sz_1762_; size_t v___x_1763_; lean_object* v___x_1764_; lean_object* v___x_1765_; -v_sz_1762_ = lean_array_size(v_bs_1755_); -v___x_1763_ = ((size_t)0ULL); -v___x_1764_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(v_sz_1762_, v___x_1763_, v_bs_1755_); -v___x_1765_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v___x_1764_, v_k_1756_, v___y_1757_, v___y_1758_, v___y_1759_, v___y_1760_); -lean_dec_ref(v___x_1764_); -return v___x_1765_; +size_t v_sz_1853_; size_t v___x_1854_; lean_object* v___x_1855_; lean_object* v___x_1856_; +v_sz_1853_ = lean_array_size(v_bs_1846_); +v___x_1854_ = ((size_t)0ULL); +v___x_1855_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__19(v_sz_1853_, v___x_1854_, v_bs_1846_); +v___x_1856_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v___x_1855_, v_k_1847_, v___y_1848_, v___y_1849_, v___y_1850_, v___y_1851_); +lean_dec_ref(v___x_1855_); +return v___x_1856_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg___boxed(lean_object* v_bs_1766_, lean_object* v_k_1767_, lean_object* v___y_1768_, lean_object* v___y_1769_, lean_object* v___y_1770_, lean_object* v___y_1771_, lean_object* v___y_1772_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg___boxed(lean_object* v_bs_1857_, lean_object* v_k_1858_, lean_object* v___y_1859_, lean_object* v___y_1860_, lean_object* v___y_1861_, lean_object* v___y_1862_, lean_object* v___y_1863_){ _start: { -lean_object* v_res_1773_; -v_res_1773_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_bs_1766_, v_k_1767_, v___y_1768_, v___y_1769_, v___y_1770_, v___y_1771_); -return v_res_1773_; +lean_object* v_res_1864_; +v_res_1864_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_bs_1857_, v_k_1858_, v___y_1859_, v___y_1860_, v___y_1861_, v___y_1862_); +return v_res_1864_; } } -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__2(lean_object* v_numParams_1777_, lean_object* v_indName_1778_, lean_object* v___x_1779_, lean_object* v___x_1780_, uint8_t v___x_1781_, uint8_t v___x_1782_, lean_object* v_val_1783_, lean_object* v___x_1784_, lean_object* v_ctors_1785_, lean_object* v___x_1786_, lean_object* v_levelParams_1787_, lean_object* v_xs_1788_, lean_object* v_x_1789_, lean_object* v___y_1790_, lean_object* v___y_1791_, lean_object* v___y_1792_, lean_object* v___y_1793_){ +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__2(lean_object* v_numParams_1868_, lean_object* v_indName_1869_, lean_object* v___x_1870_, lean_object* v___x_1871_, uint8_t v___x_1872_, uint8_t v___x_1873_, lean_object* v_val_1874_, lean_object* v___x_1875_, lean_object* v_ctors_1876_, lean_object* v___x_1877_, lean_object* v_levelParams_1878_, lean_object* v_xs_1879_, lean_object* v_x_1880_, lean_object* v___y_1881_, lean_object* v___y_1882_, lean_object* v___y_1883_, lean_object* v___y_1884_){ _start: { -lean_object* v___x_1795_; lean_object* v___x_1796_; lean_object* v___x_1797_; lean_object* v___x_1798_; lean_object* v___x_1799_; lean_object* v___x_1800_; lean_object* v___x_1801_; lean_object* v___x_1802_; lean_object* v___x_1803_; lean_object* v___x_1804_; lean_object* v___x_1805_; lean_object* v___x_1806_; lean_object* v___f_1807_; lean_object* v___x_1808_; -v___x_1795_ = lean_unsigned_to_nat(0u); -lean_inc(v_numParams_1777_); -lean_inc_ref(v_xs_1788_); -v___x_1796_ = l_Array_toSubarray___redArg(v_xs_1788_, v___x_1795_, v_numParams_1777_); -v___x_1797_ = l_Subarray_copy___redArg(v___x_1796_); -v___x_1798_ = lean_array_get_size(v_xs_1788_); -lean_inc_ref(v_xs_1788_); -v___x_1799_ = l_Array_toSubarray___redArg(v_xs_1788_, v_numParams_1777_, v___x_1798_); -v___x_1800_ = l_Subarray_copy___redArg(v___x_1799_); -lean_inc(v___x_1779_); -lean_inc(v_indName_1778_); -v___x_1801_ = l_Lean_mkConst(v_indName_1778_, v___x_1779_); -v___x_1802_ = l_Lean_mkAppN(v___x_1801_, v_xs_1788_); -v___x_1803_ = ((lean_object*)(l_mkCtorIdx___lam__2___closed__1)); -v___x_1804_ = l_Lean_mkConst(v___x_1803_, v___x_1780_); -v___x_1805_ = lean_box(v___x_1781_); -v___x_1806_ = lean_box(v___x_1782_); -lean_inc_ref(v_xs_1788_); -v___f_1807_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__1___boxed), 20, 15); -lean_closure_set(v___f_1807_, 0, v___x_1802_); -lean_closure_set(v___f_1807_, 1, v___x_1804_); -lean_closure_set(v___f_1807_, 2, v_xs_1788_); -lean_closure_set(v___f_1807_, 3, v___x_1805_); -lean_closure_set(v___f_1807_, 4, v___x_1806_); -lean_closure_set(v___f_1807_, 5, v_val_1783_); -lean_closure_set(v___f_1807_, 6, v___x_1800_); -lean_closure_set(v___f_1807_, 7, v___x_1779_); -lean_closure_set(v___f_1807_, 8, v___x_1784_); -lean_closure_set(v___f_1807_, 9, v___x_1797_); -lean_closure_set(v___f_1807_, 10, v_ctors_1785_); -lean_closure_set(v___f_1807_, 11, v___x_1795_); -lean_closure_set(v___f_1807_, 12, v___x_1786_); -lean_closure_set(v___f_1807_, 13, v_levelParams_1787_); -lean_closure_set(v___f_1807_, 14, v_indName_1778_); -v___x_1808_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_xs_1788_, v___f_1807_, v___y_1790_, v___y_1791_, v___y_1792_, v___y_1793_); -return v___x_1808_; +lean_object* v___x_1886_; lean_object* v___x_1887_; lean_object* v___x_1888_; lean_object* v___x_1889_; lean_object* v___x_1890_; lean_object* v___x_1891_; lean_object* v___x_1892_; lean_object* v___x_1893_; lean_object* v___x_1894_; lean_object* v___x_1895_; lean_object* v___x_1896_; lean_object* v___x_1897_; lean_object* v___f_1898_; lean_object* v___x_1899_; +v___x_1886_ = lean_unsigned_to_nat(0u); +lean_inc(v_numParams_1868_); +lean_inc_ref(v_xs_1879_); +v___x_1887_ = l_Array_toSubarray___redArg(v_xs_1879_, v___x_1886_, v_numParams_1868_); +v___x_1888_ = l_Subarray_copy___redArg(v___x_1887_); +v___x_1889_ = lean_array_get_size(v_xs_1879_); +lean_inc_ref(v_xs_1879_); +v___x_1890_ = l_Array_toSubarray___redArg(v_xs_1879_, v_numParams_1868_, v___x_1889_); +v___x_1891_ = l_Subarray_copy___redArg(v___x_1890_); +lean_inc(v___x_1870_); +lean_inc(v_indName_1869_); +v___x_1892_ = l_Lean_mkConst(v_indName_1869_, v___x_1870_); +v___x_1893_ = l_Lean_mkAppN(v___x_1892_, v_xs_1879_); +v___x_1894_ = ((lean_object*)(l_mkCtorIdx___lam__2___closed__1)); +v___x_1895_ = l_Lean_mkConst(v___x_1894_, v___x_1871_); +v___x_1896_ = lean_box(v___x_1872_); +v___x_1897_ = lean_box(v___x_1873_); +lean_inc_ref(v_xs_1879_); +v___f_1898_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__1___boxed), 20, 15); +lean_closure_set(v___f_1898_, 0, v___x_1893_); +lean_closure_set(v___f_1898_, 1, v___x_1895_); +lean_closure_set(v___f_1898_, 2, v_xs_1879_); +lean_closure_set(v___f_1898_, 3, v___x_1896_); +lean_closure_set(v___f_1898_, 4, v___x_1897_); +lean_closure_set(v___f_1898_, 5, v_val_1874_); +lean_closure_set(v___f_1898_, 6, v___x_1891_); +lean_closure_set(v___f_1898_, 7, v___x_1870_); +lean_closure_set(v___f_1898_, 8, v___x_1875_); +lean_closure_set(v___f_1898_, 9, v___x_1888_); +lean_closure_set(v___f_1898_, 10, v_ctors_1876_); +lean_closure_set(v___f_1898_, 11, v___x_1886_); +lean_closure_set(v___f_1898_, 12, v___x_1877_); +lean_closure_set(v___f_1898_, 13, v_levelParams_1878_); +lean_closure_set(v___f_1898_, 14, v_indName_1869_); +v___x_1899_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_xs_1879_, v___f_1898_, v___y_1881_, v___y_1882_, v___y_1883_, v___y_1884_); +return v___x_1899_; } } LEAN_EXPORT lean_object* l_mkCtorIdx___lam__2___boxed(lean_object** _args){ -lean_object* v_numParams_1809_ = _args[0]; -lean_object* v_indName_1810_ = _args[1]; -lean_object* v___x_1811_ = _args[2]; -lean_object* v___x_1812_ = _args[3]; -lean_object* v___x_1813_ = _args[4]; -lean_object* v___x_1814_ = _args[5]; -lean_object* v_val_1815_ = _args[6]; -lean_object* v___x_1816_ = _args[7]; -lean_object* v_ctors_1817_ = _args[8]; -lean_object* v___x_1818_ = _args[9]; -lean_object* v_levelParams_1819_ = _args[10]; -lean_object* v_xs_1820_ = _args[11]; -lean_object* v_x_1821_ = _args[12]; -lean_object* v___y_1822_ = _args[13]; -lean_object* v___y_1823_ = _args[14]; -lean_object* v___y_1824_ = _args[15]; -lean_object* v___y_1825_ = _args[16]; -lean_object* v___y_1826_ = _args[17]; +lean_object* v_numParams_1900_ = _args[0]; +lean_object* v_indName_1901_ = _args[1]; +lean_object* v___x_1902_ = _args[2]; +lean_object* v___x_1903_ = _args[3]; +lean_object* v___x_1904_ = _args[4]; +lean_object* v___x_1905_ = _args[5]; +lean_object* v_val_1906_ = _args[6]; +lean_object* v___x_1907_ = _args[7]; +lean_object* v_ctors_1908_ = _args[8]; +lean_object* v___x_1909_ = _args[9]; +lean_object* v_levelParams_1910_ = _args[10]; +lean_object* v_xs_1911_ = _args[11]; +lean_object* v_x_1912_ = _args[12]; +lean_object* v___y_1913_ = _args[13]; +lean_object* v___y_1914_ = _args[14]; +lean_object* v___y_1915_ = _args[15]; +lean_object* v___y_1916_ = _args[16]; +lean_object* v___y_1917_ = _args[17]; _start: { -uint8_t v___x_30257__boxed_1827_; uint8_t v___x_30258__boxed_1828_; lean_object* v_res_1829_; -v___x_30257__boxed_1827_ = lean_unbox(v___x_1813_); -v___x_30258__boxed_1828_ = lean_unbox(v___x_1814_); -v_res_1829_ = l_mkCtorIdx___lam__2(v_numParams_1809_, v_indName_1810_, v___x_1811_, v___x_1812_, v___x_30257__boxed_1827_, v___x_30258__boxed_1828_, v_val_1815_, v___x_1816_, v_ctors_1817_, v___x_1818_, v_levelParams_1819_, v_xs_1820_, v_x_1821_, v___y_1822_, v___y_1823_, v___y_1824_, v___y_1825_); -lean_dec_ref(v_x_1821_); -return v_res_1829_; +uint8_t v___x_37597__boxed_1918_; uint8_t v___x_37598__boxed_1919_; lean_object* v_res_1920_; +v___x_37597__boxed_1918_ = lean_unbox(v___x_1904_); +v___x_37598__boxed_1919_ = lean_unbox(v___x_1905_); +v_res_1920_ = l_mkCtorIdx___lam__2(v_numParams_1900_, v_indName_1901_, v___x_1902_, v___x_1903_, v___x_37597__boxed_1918_, v___x_37598__boxed_1919_, v_val_1906_, v___x_1907_, v_ctors_1908_, v___x_1909_, v_levelParams_1910_, v_xs_1911_, v_x_1912_, v___y_1913_, v___y_1914_, v___y_1915_, v___y_1916_); +lean_dec_ref(v_x_1912_); +return v_res_1920_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00mkCtorIdx_spec__3(lean_object* v_a_1830_, lean_object* v_a_1831_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00mkCtorIdx_spec__3(lean_object* v_a_1921_, lean_object* v_a_1922_){ _start: { -if (lean_obj_tag(v_a_1830_) == 0) +if (lean_obj_tag(v_a_1921_) == 0) { -lean_object* v___x_1832_; -v___x_1832_ = l_List_reverse___redArg(v_a_1831_); -return v___x_1832_; +lean_object* v___x_1923_; +v___x_1923_ = l_List_reverse___redArg(v_a_1922_); +return v___x_1923_; } else { -lean_object* v_head_1833_; lean_object* v_tail_1834_; lean_object* v___x_1836_; uint8_t v_isShared_1837_; uint8_t v_isSharedCheck_1843_; -v_head_1833_ = lean_ctor_get(v_a_1830_, 0); -v_tail_1834_ = lean_ctor_get(v_a_1830_, 1); -v_isSharedCheck_1843_ = !lean_is_exclusive(v_a_1830_); -if (v_isSharedCheck_1843_ == 0) +lean_object* v_head_1924_; lean_object* v_tail_1925_; lean_object* v___x_1927_; uint8_t v_isShared_1928_; uint8_t v_isSharedCheck_1934_; +v_head_1924_ = lean_ctor_get(v_a_1921_, 0); +v_tail_1925_ = lean_ctor_get(v_a_1921_, 1); +v_isSharedCheck_1934_ = !lean_is_exclusive(v_a_1921_); +if (v_isSharedCheck_1934_ == 0) { -v___x_1836_ = v_a_1830_; -v_isShared_1837_ = v_isSharedCheck_1843_; -goto v_resetjp_1835_; +v___x_1927_ = v_a_1921_; +v_isShared_1928_ = v_isSharedCheck_1934_; +goto v_resetjp_1926_; } else { -lean_inc(v_tail_1834_); -lean_inc(v_head_1833_); -lean_dec(v_a_1830_); -v___x_1836_ = lean_box(0); -v_isShared_1837_ = v_isSharedCheck_1843_; -goto v_resetjp_1835_; +lean_inc(v_tail_1925_); +lean_inc(v_head_1924_); +lean_dec(v_a_1921_); +v___x_1927_ = lean_box(0); +v_isShared_1928_ = v_isSharedCheck_1934_; +goto v_resetjp_1926_; } -v_resetjp_1835_: +v_resetjp_1926_: { -lean_object* v___x_1838_; lean_object* v___x_1840_; -v___x_1838_ = l_Lean_mkLevelParam(v_head_1833_); -if (v_isShared_1837_ == 0) +lean_object* v___x_1929_; lean_object* v___x_1931_; +v___x_1929_ = l_Lean_mkLevelParam(v_head_1924_); +if (v_isShared_1928_ == 0) { -lean_ctor_set(v___x_1836_, 1, v_a_1831_); -lean_ctor_set(v___x_1836_, 0, v___x_1838_); -v___x_1840_ = v___x_1836_; -goto v_reusejp_1839_; +lean_ctor_set(v___x_1927_, 1, v_a_1922_); +lean_ctor_set(v___x_1927_, 0, v___x_1929_); +v___x_1931_ = v___x_1927_; +goto v_reusejp_1930_; } else { -lean_object* v_reuseFailAlloc_1842_; -v_reuseFailAlloc_1842_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1842_, 0, v___x_1838_); -lean_ctor_set(v_reuseFailAlloc_1842_, 1, v_a_1831_); -v___x_1840_ = v_reuseFailAlloc_1842_; -goto v_reusejp_1839_; +lean_object* v_reuseFailAlloc_1933_; +v_reuseFailAlloc_1933_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1933_, 0, v___x_1929_); +lean_ctor_set(v_reuseFailAlloc_1933_, 1, v_a_1922_); +v___x_1931_ = v_reuseFailAlloc_1933_; +goto v_reusejp_1930_; } -v_reusejp_1839_: +v_reusejp_1930_: { -v_a_1830_ = v_tail_1834_; -v_a_1831_ = v___x_1840_; +v_a_1921_ = v_tail_1925_; +v_a_1922_ = v___x_1931_; goto _start; } } @@ -5610,936 +5937,936 @@ goto _start; static lean_object* _init_l_mkCtorIdx___lam__3___closed__2(void){ _start: { -lean_object* v___x_1846_; lean_object* v___x_1847_; lean_object* v___x_1848_; lean_object* v___x_1849_; lean_object* v___x_1850_; lean_object* v___x_1851_; -v___x_1846_ = ((lean_object*)(l_Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4___closed__6)); -v___x_1847_ = lean_unsigned_to_nat(62u); -v___x_1848_ = lean_unsigned_to_nat(48u); -v___x_1849_ = ((lean_object*)(l_mkCtorIdx___lam__3___closed__1)); -v___x_1850_ = ((lean_object*)(l_mkCtorIdx___lam__3___closed__0)); -v___x_1851_ = l_mkPanicMessageWithDecl(v___x_1850_, v___x_1849_, v___x_1848_, v___x_1847_, v___x_1846_); -return v___x_1851_; +lean_object* v___x_1937_; lean_object* v___x_1938_; lean_object* v___x_1939_; lean_object* v___x_1940_; lean_object* v___x_1941_; lean_object* v___x_1942_; +v___x_1937_ = ((lean_object*)(l_Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4___closed__6)); +v___x_1938_ = lean_unsigned_to_nat(62u); +v___x_1939_ = lean_unsigned_to_nat(48u); +v___x_1940_ = ((lean_object*)(l_mkCtorIdx___lam__3___closed__1)); +v___x_1941_ = ((lean_object*)(l_mkCtorIdx___lam__3___closed__0)); +v___x_1942_ = l_mkPanicMessageWithDecl(v___x_1941_, v___x_1940_, v___x_1939_, v___x_1938_, v___x_1937_); +return v___x_1942_; } } -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__3(lean_object* v_indName_1852_, uint8_t v___x_1853_, lean_object* v___y_1854_, lean_object* v___y_1855_, lean_object* v___y_1856_, lean_object* v___y_1857_){ +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__3(lean_object* v_indName_1943_, uint8_t v___x_1944_, lean_object* v___y_1945_, lean_object* v___y_1946_, lean_object* v___y_1947_, lean_object* v___y_1948_){ _start: { -lean_object* v_options_1859_; lean_object* v___x_1860_; uint8_t v___x_1861_; -v_options_1859_ = lean_ctor_get(v___y_1856_, 2); -v___x_1860_ = l___private_Lean_Meta_Constructions_CtorIdx_0__genCtorIdx; -v___x_1861_ = l_Lean_Option_get___at___00mkCtorIdx_spec__0(v_options_1859_, v___x_1860_); -if (v___x_1861_ == 0) +lean_object* v_options_1950_; lean_object* v___x_1951_; uint8_t v___x_1952_; +v_options_1950_ = lean_ctor_get(v___y_1947_, 2); +v___x_1951_ = l___private_Lean_Meta_Constructions_CtorIdx_0__genCtorIdx; +v___x_1952_ = l_Lean_Option_get___at___00mkCtorIdx_spec__0(v_options_1950_, v___x_1951_); +if (v___x_1952_ == 0) { -lean_object* v___x_1862_; lean_object* v___x_1863_; -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v___x_1862_ = lean_box(0); -v___x_1863_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_1863_, 0, v___x_1862_); -return v___x_1863_; +lean_object* v___x_1953_; lean_object* v___x_1954_; +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v___x_1953_ = lean_box(0); +v___x_1954_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_1954_, 0, v___x_1953_); +return v___x_1954_; } else { -lean_object* v___x_1864_; lean_object* v___x_1865_; lean_object* v_a_1866_; lean_object* v___x_1868_; uint8_t v_isShared_1869_; uint8_t v_isSharedCheck_1950_; -lean_inc(v_indName_1852_); -v___x_1864_ = l_mkCtorIdxName(v_indName_1852_); -lean_inc(v___x_1864_); -v___x_1865_ = l_Lean_hasConst___at___00mkCtorIdx_spec__1___redArg(v___x_1864_, v___x_1861_, v___y_1857_); -v_a_1866_ = lean_ctor_get(v___x_1865_, 0); -v_isSharedCheck_1950_ = !lean_is_exclusive(v___x_1865_); -if (v_isSharedCheck_1950_ == 0) +lean_object* v___x_1955_; lean_object* v___x_1956_; lean_object* v_a_1957_; lean_object* v___x_1959_; uint8_t v_isShared_1960_; uint8_t v_isSharedCheck_2041_; +lean_inc(v_indName_1943_); +v___x_1955_ = l_mkCtorIdxName(v_indName_1943_); +lean_inc(v___x_1955_); +v___x_1956_ = l_Lean_hasConst___at___00mkCtorIdx_spec__1___redArg(v___x_1955_, v___x_1952_, v___y_1948_); +v_a_1957_ = lean_ctor_get(v___x_1956_, 0); +v_isSharedCheck_2041_ = !lean_is_exclusive(v___x_1956_); +if (v_isSharedCheck_2041_ == 0) { -v___x_1868_ = v___x_1865_; -v_isShared_1869_ = v_isSharedCheck_1950_; -goto v_resetjp_1867_; +v___x_1959_ = v___x_1956_; +v_isShared_1960_ = v_isSharedCheck_2041_; +goto v_resetjp_1958_; } else { -lean_inc(v_a_1866_); -lean_dec(v___x_1865_); -v___x_1868_ = lean_box(0); -v_isShared_1869_ = v_isSharedCheck_1950_; -goto v_resetjp_1867_; +lean_inc(v_a_1957_); +lean_dec(v___x_1956_); +v___x_1959_ = lean_box(0); +v_isShared_1960_ = v_isSharedCheck_2041_; +goto v_resetjp_1958_; } -v_resetjp_1867_: +v_resetjp_1958_: { -uint8_t v___x_1870_; -v___x_1870_ = lean_unbox(v_a_1866_); -lean_dec(v_a_1866_); -if (v___x_1870_ == 0) +uint8_t v___x_1961_; +v___x_1961_ = lean_unbox(v_a_1957_); +lean_dec(v_a_1957_); +if (v___x_1961_ == 0) { -lean_object* v___x_1871_; -lean_del_object(v___x_1868_); -lean_inc_ref(v___y_1856_); -lean_inc(v_indName_1852_); -v___x_1871_ = l_Lean_getConstInfo___at___00mkCtorIdx_spec__2(v_indName_1852_, v___y_1854_, v___y_1855_, v___y_1856_, v___y_1857_); -if (lean_obj_tag(v___x_1871_) == 0) +lean_object* v___x_1962_; +lean_del_object(v___x_1959_); +lean_inc_ref(v___y_1947_); +lean_inc(v_indName_1943_); +v___x_1962_ = l_Lean_getConstInfo___at___00mkCtorIdx_spec__2(v_indName_1943_, v___y_1945_, v___y_1946_, v___y_1947_, v___y_1948_); +if (lean_obj_tag(v___x_1962_) == 0) { -lean_object* v_a_1872_; -v_a_1872_ = lean_ctor_get(v___x_1871_, 0); -lean_inc(v_a_1872_); -lean_dec_ref(v___x_1871_); -if (lean_obj_tag(v_a_1872_) == 5) +lean_object* v_a_1963_; +v_a_1963_ = lean_ctor_get(v___x_1962_, 0); +lean_inc(v_a_1963_); +lean_dec_ref(v___x_1962_); +if (lean_obj_tag(v_a_1963_) == 5) { -lean_object* v_val_1873_; lean_object* v___x_1875_; uint8_t v_isShared_1876_; uint8_t v_isSharedCheck_1935_; -v_val_1873_ = lean_ctor_get(v_a_1872_, 0); -v_isSharedCheck_1935_ = !lean_is_exclusive(v_a_1872_); -if (v_isSharedCheck_1935_ == 0) +lean_object* v_val_1964_; lean_object* v___x_1966_; uint8_t v_isShared_1967_; uint8_t v_isSharedCheck_2026_; +v_val_1964_ = lean_ctor_get(v_a_1963_, 0); +v_isSharedCheck_2026_ = !lean_is_exclusive(v_a_1963_); +if (v_isSharedCheck_2026_ == 0) { -v___x_1875_ = v_a_1872_; -v_isShared_1876_ = v_isSharedCheck_1935_; -goto v_resetjp_1874_; +v___x_1966_ = v_a_1963_; +v_isShared_1967_ = v_isSharedCheck_2026_; +goto v_resetjp_1965_; } else { -lean_inc(v_val_1873_); -lean_dec(v_a_1872_); -v___x_1875_ = lean_box(0); -v_isShared_1876_ = v_isSharedCheck_1935_; -goto v_resetjp_1874_; +lean_inc(v_val_1964_); +lean_dec(v_a_1963_); +v___x_1966_ = lean_box(0); +v_isShared_1967_ = v_isSharedCheck_2026_; +goto v_resetjp_1965_; } -v_resetjp_1874_: +v_resetjp_1965_: { -lean_object* v_toConstantVal_1877_; lean_object* v_numParams_1878_; lean_object* v_numIndices_1879_; lean_object* v_ctors_1880_; lean_object* v_levelParams_1881_; lean_object* v_type_1882_; lean_object* v___x_1883_; -v_toConstantVal_1877_ = lean_ctor_get(v_val_1873_, 0); -v_numParams_1878_ = lean_ctor_get(v_val_1873_, 1); -lean_inc(v_numParams_1878_); -v_numIndices_1879_ = lean_ctor_get(v_val_1873_, 2); -lean_inc(v_numIndices_1879_); -v_ctors_1880_ = lean_ctor_get(v_val_1873_, 4); -lean_inc(v_ctors_1880_); -v_levelParams_1881_ = lean_ctor_get(v_toConstantVal_1877_, 1); -lean_inc(v_levelParams_1881_); -v_type_1882_ = lean_ctor_get(v_toConstantVal_1877_, 2); -lean_inc_ref(v_type_1882_); -lean_inc(v___y_1857_); -lean_inc_ref(v___y_1856_); -lean_inc(v___y_1855_); -lean_inc_ref(v___y_1854_); -lean_inc_ref(v_type_1882_); -v___x_1883_ = l_Lean_Meta_isPropFormerType(v_type_1882_, v___y_1854_, v___y_1855_, v___y_1856_, v___y_1857_); -if (lean_obj_tag(v___x_1883_) == 0) +lean_object* v_toConstantVal_1968_; lean_object* v_numParams_1969_; lean_object* v_numIndices_1970_; lean_object* v_ctors_1971_; lean_object* v_levelParams_1972_; lean_object* v_type_1973_; lean_object* v___x_1974_; +v_toConstantVal_1968_ = lean_ctor_get(v_val_1964_, 0); +v_numParams_1969_ = lean_ctor_get(v_val_1964_, 1); +lean_inc(v_numParams_1969_); +v_numIndices_1970_ = lean_ctor_get(v_val_1964_, 2); +lean_inc(v_numIndices_1970_); +v_ctors_1971_ = lean_ctor_get(v_val_1964_, 4); +lean_inc(v_ctors_1971_); +v_levelParams_1972_ = lean_ctor_get(v_toConstantVal_1968_, 1); +lean_inc(v_levelParams_1972_); +v_type_1973_ = lean_ctor_get(v_toConstantVal_1968_, 2); +lean_inc_ref(v_type_1973_); +lean_inc(v___y_1948_); +lean_inc_ref(v___y_1947_); +lean_inc(v___y_1946_); +lean_inc_ref(v___y_1945_); +lean_inc_ref(v_type_1973_); +v___x_1974_ = l_Lean_Meta_isPropFormerType(v_type_1973_, v___y_1945_, v___y_1946_, v___y_1947_, v___y_1948_); +if (lean_obj_tag(v___x_1974_) == 0) { -lean_object* v_a_1884_; lean_object* v___x_1886_; uint8_t v_isShared_1887_; uint8_t v_isSharedCheck_1926_; -v_a_1884_ = lean_ctor_get(v___x_1883_, 0); -v_isSharedCheck_1926_ = !lean_is_exclusive(v___x_1883_); -if (v_isSharedCheck_1926_ == 0) -{ -v___x_1886_ = v___x_1883_; -v_isShared_1887_ = v_isSharedCheck_1926_; -goto v_resetjp_1885_; -} -else -{ -lean_inc(v_a_1884_); -lean_dec(v___x_1883_); -v___x_1886_ = lean_box(0); -v_isShared_1887_ = v_isSharedCheck_1926_; -goto v_resetjp_1885_; -} -v_resetjp_1885_: -{ -uint8_t v___x_1888_; -v___x_1888_ = lean_unbox(v_a_1884_); -lean_dec(v_a_1884_); -if (v___x_1888_ == 0) -{ -lean_object* v___x_1889_; lean_object* v___x_1890_; -lean_del_object(v___x_1886_); -lean_inc(v_indName_1852_); -v___x_1889_ = l_Lean_mkCasesOnName(v_indName_1852_); -lean_inc_ref(v___y_1856_); -lean_inc(v___x_1889_); -v___x_1890_ = l_Lean_getConstInfo___at___00mkCtorIdx_spec__2(v___x_1889_, v___y_1854_, v___y_1855_, v___y_1856_, v___y_1857_); -if (lean_obj_tag(v___x_1890_) == 0) -{ -lean_object* v_a_1891_; lean_object* v___x_1893_; uint8_t v_isShared_1894_; uint8_t v_isSharedCheck_1913_; -v_a_1891_ = lean_ctor_get(v___x_1890_, 0); -v_isSharedCheck_1913_ = !lean_is_exclusive(v___x_1890_); -if (v_isSharedCheck_1913_ == 0) -{ -v___x_1893_ = v___x_1890_; -v_isShared_1894_ = v_isSharedCheck_1913_; -goto v_resetjp_1892_; -} -else -{ -lean_inc(v_a_1891_); -lean_dec(v___x_1890_); -v___x_1893_ = lean_box(0); -v_isShared_1894_ = v_isSharedCheck_1913_; -goto v_resetjp_1892_; -} -v_resetjp_1892_: -{ -lean_object* v___x_1895_; lean_object* v___x_1896_; lean_object* v___x_1897_; uint8_t v___x_1898_; -v___x_1895_ = l_List_lengthTR___redArg(v_levelParams_1881_); -v___x_1896_ = l_Lean_ConstantInfo_levelParams(v_a_1891_); -lean_dec(v_a_1891_); -v___x_1897_ = l_List_lengthTR___redArg(v___x_1896_); -lean_dec(v___x_1896_); -v___x_1898_ = lean_nat_dec_lt(v___x_1895_, v___x_1897_); -lean_dec(v___x_1897_); -lean_dec(v___x_1895_); -if (v___x_1898_ == 0) -{ -lean_object* v___x_1899_; lean_object* v___x_1901_; -lean_dec(v___x_1889_); -lean_dec_ref(v_type_1882_); -lean_dec(v_levelParams_1881_); -lean_dec(v_ctors_1880_); -lean_dec(v_numIndices_1879_); -lean_dec(v_numParams_1878_); -lean_del_object(v___x_1875_); -lean_dec_ref(v_val_1873_); -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v___x_1899_ = lean_box(0); -if (v_isShared_1894_ == 0) -{ -lean_ctor_set(v___x_1893_, 0, v___x_1899_); -v___x_1901_ = v___x_1893_; -goto v_reusejp_1900_; -} -else -{ -lean_object* v_reuseFailAlloc_1902_; -v_reuseFailAlloc_1902_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1902_, 0, v___x_1899_); -v___x_1901_ = v_reuseFailAlloc_1902_; -goto v_reusejp_1900_; -} -v_reusejp_1900_: -{ -return v___x_1901_; -} -} -else -{ -lean_object* v___x_1903_; lean_object* v___x_1904_; lean_object* v___x_1905_; lean_object* v___x_1906_; lean_object* v___f_1907_; lean_object* v___x_1908_; lean_object* v___x_1910_; -lean_del_object(v___x_1893_); -v___x_1903_ = lean_box(0); -lean_inc(v_levelParams_1881_); -v___x_1904_ = l_List_mapTR_loop___at___00mkCtorIdx_spec__3(v_levelParams_1881_, v___x_1903_); -v___x_1905_ = lean_box(v___x_1853_); -v___x_1906_ = lean_box(v___x_1861_); -lean_inc(v_numParams_1878_); -v___f_1907_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__2___boxed), 18, 11); -lean_closure_set(v___f_1907_, 0, v_numParams_1878_); -lean_closure_set(v___f_1907_, 1, v_indName_1852_); -lean_closure_set(v___f_1907_, 2, v___x_1904_); -lean_closure_set(v___f_1907_, 3, v___x_1903_); -lean_closure_set(v___f_1907_, 4, v___x_1905_); -lean_closure_set(v___f_1907_, 5, v___x_1906_); -lean_closure_set(v___f_1907_, 6, v_val_1873_); -lean_closure_set(v___f_1907_, 7, v___x_1889_); -lean_closure_set(v___f_1907_, 8, v_ctors_1880_); -lean_closure_set(v___f_1907_, 9, v___x_1864_); -lean_closure_set(v___f_1907_, 10, v_levelParams_1881_); -v___x_1908_ = lean_nat_add(v_numParams_1878_, v_numIndices_1879_); -lean_dec(v_numIndices_1879_); -lean_dec(v_numParams_1878_); -if (v_isShared_1876_ == 0) -{ -lean_ctor_set_tag(v___x_1875_, 1); -lean_ctor_set(v___x_1875_, 0, v___x_1908_); -v___x_1910_ = v___x_1875_; -goto v_reusejp_1909_; -} -else -{ -lean_object* v_reuseFailAlloc_1912_; -v_reuseFailAlloc_1912_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1912_, 0, v___x_1908_); -v___x_1910_ = v_reuseFailAlloc_1912_; -goto v_reusejp_1909_; -} -v_reusejp_1909_: -{ -lean_object* v___x_1911_; -v___x_1911_ = l_Lean_Meta_forallBoundedTelescope___at___00mkCtorIdx_spec__5___redArg(v_type_1882_, v___x_1910_, v___f_1907_, v___x_1853_, v___x_1853_, v___y_1854_, v___y_1855_, v___y_1856_, v___y_1857_); -return v___x_1911_; -} -} -} -} -else -{ -lean_object* v_a_1914_; lean_object* v___x_1916_; uint8_t v_isShared_1917_; uint8_t v_isSharedCheck_1921_; -lean_dec(v___x_1889_); -lean_dec_ref(v_type_1882_); -lean_dec(v_levelParams_1881_); -lean_dec(v_ctors_1880_); -lean_dec(v_numIndices_1879_); -lean_dec(v_numParams_1878_); -lean_del_object(v___x_1875_); -lean_dec_ref(v_val_1873_); -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v_a_1914_ = lean_ctor_get(v___x_1890_, 0); -v_isSharedCheck_1921_ = !lean_is_exclusive(v___x_1890_); -if (v_isSharedCheck_1921_ == 0) -{ -v___x_1916_ = v___x_1890_; -v_isShared_1917_ = v_isSharedCheck_1921_; -goto v_resetjp_1915_; -} -else -{ -lean_inc(v_a_1914_); -lean_dec(v___x_1890_); -v___x_1916_ = lean_box(0); -v_isShared_1917_ = v_isSharedCheck_1921_; -goto v_resetjp_1915_; -} -v_resetjp_1915_: -{ -lean_object* v___x_1919_; -if (v_isShared_1917_ == 0) -{ -v___x_1919_ = v___x_1916_; -goto v_reusejp_1918_; -} -else -{ -lean_object* v_reuseFailAlloc_1920_; -v_reuseFailAlloc_1920_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1920_, 0, v_a_1914_); -v___x_1919_ = v_reuseFailAlloc_1920_; -goto v_reusejp_1918_; -} -v_reusejp_1918_: -{ -return v___x_1919_; -} -} -} -} -else -{ -lean_object* v___x_1922_; lean_object* v___x_1924_; -lean_dec_ref(v_type_1882_); -lean_dec(v_levelParams_1881_); -lean_dec(v_ctors_1880_); -lean_dec(v_numIndices_1879_); -lean_dec(v_numParams_1878_); -lean_del_object(v___x_1875_); -lean_dec_ref(v_val_1873_); -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v___x_1922_ = lean_box(0); -if (v_isShared_1887_ == 0) -{ -lean_ctor_set(v___x_1886_, 0, v___x_1922_); -v___x_1924_ = v___x_1886_; -goto v_reusejp_1923_; -} -else -{ -lean_object* v_reuseFailAlloc_1925_; -v_reuseFailAlloc_1925_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1925_, 0, v___x_1922_); -v___x_1924_ = v_reuseFailAlloc_1925_; -goto v_reusejp_1923_; -} -v_reusejp_1923_: -{ -return v___x_1924_; -} -} -} -} -else -{ -lean_object* v_a_1927_; lean_object* v___x_1929_; uint8_t v_isShared_1930_; uint8_t v_isSharedCheck_1934_; -lean_dec_ref(v_type_1882_); -lean_dec(v_levelParams_1881_); -lean_dec(v_ctors_1880_); -lean_dec(v_numIndices_1879_); -lean_dec(v_numParams_1878_); -lean_del_object(v___x_1875_); -lean_dec_ref(v_val_1873_); -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v_a_1927_ = lean_ctor_get(v___x_1883_, 0); -v_isSharedCheck_1934_ = !lean_is_exclusive(v___x_1883_); -if (v_isSharedCheck_1934_ == 0) -{ -v___x_1929_ = v___x_1883_; -v_isShared_1930_ = v_isSharedCheck_1934_; -goto v_resetjp_1928_; -} -else -{ -lean_inc(v_a_1927_); -lean_dec(v___x_1883_); -v___x_1929_ = lean_box(0); -v_isShared_1930_ = v_isSharedCheck_1934_; -goto v_resetjp_1928_; -} -v_resetjp_1928_: -{ -lean_object* v___x_1932_; -if (v_isShared_1930_ == 0) -{ -v___x_1932_ = v___x_1929_; -goto v_reusejp_1931_; -} -else -{ -lean_object* v_reuseFailAlloc_1933_; -v_reuseFailAlloc_1933_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1933_, 0, v_a_1927_); -v___x_1932_ = v_reuseFailAlloc_1933_; -goto v_reusejp_1931_; -} -v_reusejp_1931_: -{ -return v___x_1932_; -} -} -} -} -} -else -{ -lean_object* v___x_1936_; lean_object* v___x_1937_; -lean_dec(v_a_1872_); -lean_dec(v___x_1864_); -lean_dec(v_indName_1852_); -v___x_1936_ = lean_obj_once(&l_mkCtorIdx___lam__3___closed__2, &l_mkCtorIdx___lam__3___closed__2_once, _init_l_mkCtorIdx___lam__3___closed__2); -v___x_1937_ = l_panic___at___00mkCtorIdx_spec__13(v___x_1936_, v___y_1854_, v___y_1855_, v___y_1856_, v___y_1857_); -return v___x_1937_; -} -} -else -{ -lean_object* v_a_1938_; lean_object* v___x_1940_; uint8_t v_isShared_1941_; uint8_t v_isSharedCheck_1945_; -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v_a_1938_ = lean_ctor_get(v___x_1871_, 0); -v_isSharedCheck_1945_ = !lean_is_exclusive(v___x_1871_); -if (v_isSharedCheck_1945_ == 0) -{ -v___x_1940_ = v___x_1871_; -v_isShared_1941_ = v_isSharedCheck_1945_; -goto v_resetjp_1939_; -} -else -{ -lean_inc(v_a_1938_); -lean_dec(v___x_1871_); -v___x_1940_ = lean_box(0); -v_isShared_1941_ = v_isSharedCheck_1945_; -goto v_resetjp_1939_; -} -v_resetjp_1939_: -{ -lean_object* v___x_1943_; -if (v_isShared_1941_ == 0) -{ -v___x_1943_ = v___x_1940_; -goto v_reusejp_1942_; -} -else -{ -lean_object* v_reuseFailAlloc_1944_; -v_reuseFailAlloc_1944_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1944_, 0, v_a_1938_); -v___x_1943_ = v_reuseFailAlloc_1944_; -goto v_reusejp_1942_; -} -v_reusejp_1942_: -{ -return v___x_1943_; -} -} -} -} -else -{ -lean_object* v___x_1946_; lean_object* v___x_1948_; -lean_dec(v___x_1864_); -lean_dec(v___y_1857_); -lean_dec_ref(v___y_1856_); -lean_dec(v___y_1855_); -lean_dec_ref(v___y_1854_); -lean_dec(v_indName_1852_); -v___x_1946_ = lean_box(0); -if (v_isShared_1869_ == 0) -{ -lean_ctor_set(v___x_1868_, 0, v___x_1946_); -v___x_1948_ = v___x_1868_; -goto v_reusejp_1947_; -} -else -{ -lean_object* v_reuseFailAlloc_1949_; -v_reuseFailAlloc_1949_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1949_, 0, v___x_1946_); -v___x_1948_ = v_reuseFailAlloc_1949_; -goto v_reusejp_1947_; -} -v_reusejp_1947_: -{ -return v___x_1948_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__3___boxed(lean_object* v_indName_1951_, lean_object* v___x_1952_, lean_object* v___y_1953_, lean_object* v___y_1954_, lean_object* v___y_1955_, lean_object* v___y_1956_, lean_object* v___y_1957_){ -_start: -{ -uint8_t v___x_30370__boxed_1958_; lean_object* v_res_1959_; -v___x_30370__boxed_1958_ = lean_unbox(v___x_1952_); -v_res_1959_ = l_mkCtorIdx___lam__3(v_indName_1951_, v___x_30370__boxed_1958_, v___y_1953_, v___y_1954_, v___y_1955_, v___y_1956_); -return v_res_1959_; -} -} -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__4(lean_object* v___x_1960_, lean_object* v_e_1961_){ -_start: -{ -lean_object* v___x_1962_; lean_object* v___x_1963_; -v___x_1962_ = l_Lean_indentD(v_e_1961_); -v___x_1963_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1963_, 0, v___x_1960_); -lean_ctor_set(v___x_1963_, 1, v___x_1962_); -return v___x_1963_; -} -} -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__5(lean_object* v___f_1964_, lean_object* v___f_1965_, lean_object* v___y_1966_, lean_object* v___y_1967_, lean_object* v___y_1968_, lean_object* v___y_1969_){ -_start: -{ -lean_object* v___x_1971_; -v___x_1971_ = l_Lean_Meta_mapErrorImp___redArg(v___f_1964_, v___f_1965_, v___y_1966_, v___y_1967_, v___y_1968_, v___y_1969_); -if (lean_obj_tag(v___x_1971_) == 0) -{ -lean_object* v_a_1972_; lean_object* v___x_1974_; uint8_t v_isShared_1975_; uint8_t v_isSharedCheck_1979_; -v_a_1972_ = lean_ctor_get(v___x_1971_, 0); -v_isSharedCheck_1979_ = !lean_is_exclusive(v___x_1971_); -if (v_isSharedCheck_1979_ == 0) -{ -v___x_1974_ = v___x_1971_; -v_isShared_1975_ = v_isSharedCheck_1979_; -goto v_resetjp_1973_; -} -else -{ -lean_inc(v_a_1972_); -lean_dec(v___x_1971_); -v___x_1974_ = lean_box(0); -v_isShared_1975_ = v_isSharedCheck_1979_; -goto v_resetjp_1973_; -} -v_resetjp_1973_: -{ -lean_object* v___x_1977_; -if (v_isShared_1975_ == 0) +lean_object* v_a_1975_; lean_object* v___x_1977_; uint8_t v_isShared_1978_; uint8_t v_isSharedCheck_2017_; +v_a_1975_ = lean_ctor_get(v___x_1974_, 0); +v_isSharedCheck_2017_ = !lean_is_exclusive(v___x_1974_); +if (v_isSharedCheck_2017_ == 0) { v___x_1977_ = v___x_1974_; -goto v_reusejp_1976_; +v_isShared_1978_ = v_isSharedCheck_2017_; +goto v_resetjp_1976_; } else { -lean_object* v_reuseFailAlloc_1978_; -v_reuseFailAlloc_1978_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1978_, 0, v_a_1972_); -v___x_1977_ = v_reuseFailAlloc_1978_; -goto v_reusejp_1976_; +lean_inc(v_a_1975_); +lean_dec(v___x_1974_); +v___x_1977_ = lean_box(0); +v_isShared_1978_ = v_isSharedCheck_2017_; +goto v_resetjp_1976_; } -v_reusejp_1976_: +v_resetjp_1976_: { -return v___x_1977_; +uint8_t v___x_1979_; +v___x_1979_ = lean_unbox(v_a_1975_); +lean_dec(v_a_1975_); +if (v___x_1979_ == 0) +{ +lean_object* v___x_1980_; lean_object* v___x_1981_; +lean_del_object(v___x_1977_); +lean_inc(v_indName_1943_); +v___x_1980_ = l_Lean_mkCasesOnName(v_indName_1943_); +lean_inc_ref(v___y_1947_); +lean_inc(v___x_1980_); +v___x_1981_ = l_Lean_getConstInfo___at___00mkCtorIdx_spec__2(v___x_1980_, v___y_1945_, v___y_1946_, v___y_1947_, v___y_1948_); +if (lean_obj_tag(v___x_1981_) == 0) +{ +lean_object* v_a_1982_; lean_object* v___x_1984_; uint8_t v_isShared_1985_; uint8_t v_isSharedCheck_2004_; +v_a_1982_ = lean_ctor_get(v___x_1981_, 0); +v_isSharedCheck_2004_ = !lean_is_exclusive(v___x_1981_); +if (v_isSharedCheck_2004_ == 0) +{ +v___x_1984_ = v___x_1981_; +v_isShared_1985_ = v_isSharedCheck_2004_; +goto v_resetjp_1983_; +} +else +{ +lean_inc(v_a_1982_); +lean_dec(v___x_1981_); +v___x_1984_ = lean_box(0); +v_isShared_1985_ = v_isSharedCheck_2004_; +goto v_resetjp_1983_; +} +v_resetjp_1983_: +{ +lean_object* v___x_1986_; lean_object* v___x_1987_; lean_object* v___x_1988_; uint8_t v___x_1989_; +v___x_1986_ = l_List_lengthTR___redArg(v_levelParams_1972_); +v___x_1987_ = l_Lean_ConstantInfo_levelParams(v_a_1982_); +lean_dec(v_a_1982_); +v___x_1988_ = l_List_lengthTR___redArg(v___x_1987_); +lean_dec(v___x_1987_); +v___x_1989_ = lean_nat_dec_lt(v___x_1986_, v___x_1988_); +lean_dec(v___x_1988_); +lean_dec(v___x_1986_); +if (v___x_1989_ == 0) +{ +lean_object* v___x_1990_; lean_object* v___x_1992_; +lean_dec(v___x_1980_); +lean_dec_ref(v_type_1973_); +lean_dec(v_levelParams_1972_); +lean_dec(v_ctors_1971_); +lean_dec(v_numIndices_1970_); +lean_dec(v_numParams_1969_); +lean_del_object(v___x_1966_); +lean_dec_ref(v_val_1964_); +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v___x_1990_ = lean_box(0); +if (v_isShared_1985_ == 0) +{ +lean_ctor_set(v___x_1984_, 0, v___x_1990_); +v___x_1992_ = v___x_1984_; +goto v_reusejp_1991_; +} +else +{ +lean_object* v_reuseFailAlloc_1993_; +v_reuseFailAlloc_1993_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1993_, 0, v___x_1990_); +v___x_1992_ = v_reuseFailAlloc_1993_; +goto v_reusejp_1991_; +} +v_reusejp_1991_: +{ +return v___x_1992_; +} +} +else +{ +lean_object* v___x_1994_; lean_object* v___x_1995_; lean_object* v___x_1996_; lean_object* v___x_1997_; lean_object* v___f_1998_; lean_object* v___x_1999_; lean_object* v___x_2001_; +lean_del_object(v___x_1984_); +v___x_1994_ = lean_box(0); +lean_inc(v_levelParams_1972_); +v___x_1995_ = l_List_mapTR_loop___at___00mkCtorIdx_spec__3(v_levelParams_1972_, v___x_1994_); +v___x_1996_ = lean_box(v___x_1944_); +v___x_1997_ = lean_box(v___x_1952_); +lean_inc(v_numParams_1969_); +v___f_1998_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__2___boxed), 18, 11); +lean_closure_set(v___f_1998_, 0, v_numParams_1969_); +lean_closure_set(v___f_1998_, 1, v_indName_1943_); +lean_closure_set(v___f_1998_, 2, v___x_1995_); +lean_closure_set(v___f_1998_, 3, v___x_1994_); +lean_closure_set(v___f_1998_, 4, v___x_1996_); +lean_closure_set(v___f_1998_, 5, v___x_1997_); +lean_closure_set(v___f_1998_, 6, v_val_1964_); +lean_closure_set(v___f_1998_, 7, v___x_1980_); +lean_closure_set(v___f_1998_, 8, v_ctors_1971_); +lean_closure_set(v___f_1998_, 9, v___x_1955_); +lean_closure_set(v___f_1998_, 10, v_levelParams_1972_); +v___x_1999_ = lean_nat_add(v_numParams_1969_, v_numIndices_1970_); +lean_dec(v_numIndices_1970_); +lean_dec(v_numParams_1969_); +if (v_isShared_1967_ == 0) +{ +lean_ctor_set_tag(v___x_1966_, 1); +lean_ctor_set(v___x_1966_, 0, v___x_1999_); +v___x_2001_ = v___x_1966_; +goto v_reusejp_2000_; +} +else +{ +lean_object* v_reuseFailAlloc_2003_; +v_reuseFailAlloc_2003_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2003_, 0, v___x_1999_); +v___x_2001_ = v_reuseFailAlloc_2003_; +goto v_reusejp_2000_; +} +v_reusejp_2000_: +{ +lean_object* v___x_2002_; +v___x_2002_ = l_Lean_Meta_forallBoundedTelescope___at___00mkCtorIdx_spec__5___redArg(v_type_1973_, v___x_2001_, v___f_1998_, v___x_1944_, v___x_1944_, v___y_1945_, v___y_1946_, v___y_1947_, v___y_1948_); +return v___x_2002_; +} } } } else { -lean_object* v_a_1980_; lean_object* v___x_1982_; uint8_t v_isShared_1983_; uint8_t v_isSharedCheck_1987_; -v_a_1980_ = lean_ctor_get(v___x_1971_, 0); -v_isSharedCheck_1987_ = !lean_is_exclusive(v___x_1971_); -if (v_isSharedCheck_1987_ == 0) +lean_object* v_a_2005_; lean_object* v___x_2007_; uint8_t v_isShared_2008_; uint8_t v_isSharedCheck_2012_; +lean_dec(v___x_1980_); +lean_dec_ref(v_type_1973_); +lean_dec(v_levelParams_1972_); +lean_dec(v_ctors_1971_); +lean_dec(v_numIndices_1970_); +lean_dec(v_numParams_1969_); +lean_del_object(v___x_1966_); +lean_dec_ref(v_val_1964_); +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v_a_2005_ = lean_ctor_get(v___x_1981_, 0); +v_isSharedCheck_2012_ = !lean_is_exclusive(v___x_1981_); +if (v_isSharedCheck_2012_ == 0) { -v___x_1982_ = v___x_1971_; -v_isShared_1983_ = v_isSharedCheck_1987_; -goto v_resetjp_1981_; +v___x_2007_ = v___x_1981_; +v_isShared_2008_ = v_isSharedCheck_2012_; +goto v_resetjp_2006_; } else { -lean_inc(v_a_1980_); -lean_dec(v___x_1971_); -v___x_1982_ = lean_box(0); -v_isShared_1983_ = v_isSharedCheck_1987_; -goto v_resetjp_1981_; +lean_inc(v_a_2005_); +lean_dec(v___x_1981_); +v___x_2007_ = lean_box(0); +v_isShared_2008_ = v_isSharedCheck_2012_; +goto v_resetjp_2006_; } -v_resetjp_1981_: +v_resetjp_2006_: { -lean_object* v___x_1985_; -if (v_isShared_1983_ == 0) +lean_object* v___x_2010_; +if (v_isShared_2008_ == 0) { -v___x_1985_ = v___x_1982_; -goto v_reusejp_1984_; +v___x_2010_ = v___x_2007_; +goto v_reusejp_2009_; } else { -lean_object* v_reuseFailAlloc_1986_; -v_reuseFailAlloc_1986_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1986_, 0, v_a_1980_); -v___x_1985_ = v_reuseFailAlloc_1986_; -goto v_reusejp_1984_; +lean_object* v_reuseFailAlloc_2011_; +v_reuseFailAlloc_2011_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2011_, 0, v_a_2005_); +v___x_2010_ = v_reuseFailAlloc_2011_; +goto v_reusejp_2009_; } -v_reusejp_1984_: +v_reusejp_2009_: { -return v___x_1985_; +return v___x_2010_; +} +} +} +} +else +{ +lean_object* v___x_2013_; lean_object* v___x_2015_; +lean_dec_ref(v_type_1973_); +lean_dec(v_levelParams_1972_); +lean_dec(v_ctors_1971_); +lean_dec(v_numIndices_1970_); +lean_dec(v_numParams_1969_); +lean_del_object(v___x_1966_); +lean_dec_ref(v_val_1964_); +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v___x_2013_ = lean_box(0); +if (v_isShared_1978_ == 0) +{ +lean_ctor_set(v___x_1977_, 0, v___x_2013_); +v___x_2015_ = v___x_1977_; +goto v_reusejp_2014_; +} +else +{ +lean_object* v_reuseFailAlloc_2016_; +v_reuseFailAlloc_2016_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2016_, 0, v___x_2013_); +v___x_2015_ = v_reuseFailAlloc_2016_; +goto v_reusejp_2014_; +} +v_reusejp_2014_: +{ +return v___x_2015_; +} +} +} +} +else +{ +lean_object* v_a_2018_; lean_object* v___x_2020_; uint8_t v_isShared_2021_; uint8_t v_isSharedCheck_2025_; +lean_dec_ref(v_type_1973_); +lean_dec(v_levelParams_1972_); +lean_dec(v_ctors_1971_); +lean_dec(v_numIndices_1970_); +lean_dec(v_numParams_1969_); +lean_del_object(v___x_1966_); +lean_dec_ref(v_val_1964_); +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v_a_2018_ = lean_ctor_get(v___x_1974_, 0); +v_isSharedCheck_2025_ = !lean_is_exclusive(v___x_1974_); +if (v_isSharedCheck_2025_ == 0) +{ +v___x_2020_ = v___x_1974_; +v_isShared_2021_ = v_isSharedCheck_2025_; +goto v_resetjp_2019_; +} +else +{ +lean_inc(v_a_2018_); +lean_dec(v___x_1974_); +v___x_2020_ = lean_box(0); +v_isShared_2021_ = v_isSharedCheck_2025_; +goto v_resetjp_2019_; +} +v_resetjp_2019_: +{ +lean_object* v___x_2023_; +if (v_isShared_2021_ == 0) +{ +v___x_2023_ = v___x_2020_; +goto v_reusejp_2022_; +} +else +{ +lean_object* v_reuseFailAlloc_2024_; +v_reuseFailAlloc_2024_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2024_, 0, v_a_2018_); +v___x_2023_ = v_reuseFailAlloc_2024_; +goto v_reusejp_2022_; +} +v_reusejp_2022_: +{ +return v___x_2023_; } } } } } -LEAN_EXPORT lean_object* l_mkCtorIdx___lam__5___boxed(lean_object* v___f_1988_, lean_object* v___f_1989_, lean_object* v___y_1990_, lean_object* v___y_1991_, lean_object* v___y_1992_, lean_object* v___y_1993_, lean_object* v___y_1994_){ +else +{ +lean_object* v___x_2027_; lean_object* v___x_2028_; +lean_dec(v_a_1963_); +lean_dec(v___x_1955_); +lean_dec(v_indName_1943_); +v___x_2027_ = lean_obj_once(&l_mkCtorIdx___lam__3___closed__2, &l_mkCtorIdx___lam__3___closed__2_once, _init_l_mkCtorIdx___lam__3___closed__2); +v___x_2028_ = l_panic___at___00mkCtorIdx_spec__13(v___x_2027_, v___y_1945_, v___y_1946_, v___y_1947_, v___y_1948_); +return v___x_2028_; +} +} +else +{ +lean_object* v_a_2029_; lean_object* v___x_2031_; uint8_t v_isShared_2032_; uint8_t v_isSharedCheck_2036_; +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v_a_2029_ = lean_ctor_get(v___x_1962_, 0); +v_isSharedCheck_2036_ = !lean_is_exclusive(v___x_1962_); +if (v_isSharedCheck_2036_ == 0) +{ +v___x_2031_ = v___x_1962_; +v_isShared_2032_ = v_isSharedCheck_2036_; +goto v_resetjp_2030_; +} +else +{ +lean_inc(v_a_2029_); +lean_dec(v___x_1962_); +v___x_2031_ = lean_box(0); +v_isShared_2032_ = v_isSharedCheck_2036_; +goto v_resetjp_2030_; +} +v_resetjp_2030_: +{ +lean_object* v___x_2034_; +if (v_isShared_2032_ == 0) +{ +v___x_2034_ = v___x_2031_; +goto v_reusejp_2033_; +} +else +{ +lean_object* v_reuseFailAlloc_2035_; +v_reuseFailAlloc_2035_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2035_, 0, v_a_2029_); +v___x_2034_ = v_reuseFailAlloc_2035_; +goto v_reusejp_2033_; +} +v_reusejp_2033_: +{ +return v___x_2034_; +} +} +} +} +else +{ +lean_object* v___x_2037_; lean_object* v___x_2039_; +lean_dec(v___x_1955_); +lean_dec(v___y_1948_); +lean_dec_ref(v___y_1947_); +lean_dec(v___y_1946_); +lean_dec_ref(v___y_1945_); +lean_dec(v_indName_1943_); +v___x_2037_ = lean_box(0); +if (v_isShared_1960_ == 0) +{ +lean_ctor_set(v___x_1959_, 0, v___x_2037_); +v___x_2039_ = v___x_1959_; +goto v_reusejp_2038_; +} +else +{ +lean_object* v_reuseFailAlloc_2040_; +v_reuseFailAlloc_2040_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2040_, 0, v___x_2037_); +v___x_2039_ = v_reuseFailAlloc_2040_; +goto v_reusejp_2038_; +} +v_reusejp_2038_: +{ +return v___x_2039_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__3___boxed(lean_object* v_indName_2042_, lean_object* v___x_2043_, lean_object* v___y_2044_, lean_object* v___y_2045_, lean_object* v___y_2046_, lean_object* v___y_2047_, lean_object* v___y_2048_){ _start: { -lean_object* v_res_1995_; -v_res_1995_ = l_mkCtorIdx___lam__5(v___f_1988_, v___f_1989_, v___y_1990_, v___y_1991_, v___y_1992_, v___y_1993_); -return v_res_1995_; +uint8_t v___x_37710__boxed_2049_; lean_object* v_res_2050_; +v___x_37710__boxed_2049_ = lean_unbox(v___x_2043_); +v_res_2050_ = l_mkCtorIdx___lam__3(v_indName_2042_, v___x_37710__boxed_2049_, v___y_2044_, v___y_2045_, v___y_2046_, v___y_2047_); +return v_res_2050_; +} +} +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__4(lean_object* v___x_2051_, lean_object* v_e_2052_){ +_start: +{ +lean_object* v___x_2053_; lean_object* v___x_2054_; +v___x_2053_ = l_Lean_indentD(v_e_2052_); +v___x_2054_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2054_, 0, v___x_2051_); +lean_ctor_set(v___x_2054_, 1, v___x_2053_); +return v___x_2054_; +} +} +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__5(lean_object* v___f_2055_, lean_object* v___f_2056_, lean_object* v___y_2057_, lean_object* v___y_2058_, lean_object* v___y_2059_, lean_object* v___y_2060_){ +_start: +{ +lean_object* v___x_2062_; +v___x_2062_ = l_Lean_Meta_mapErrorImp___redArg(v___f_2055_, v___f_2056_, v___y_2057_, v___y_2058_, v___y_2059_, v___y_2060_); +if (lean_obj_tag(v___x_2062_) == 0) +{ +lean_object* v_a_2063_; lean_object* v___x_2065_; uint8_t v_isShared_2066_; uint8_t v_isSharedCheck_2070_; +v_a_2063_ = lean_ctor_get(v___x_2062_, 0); +v_isSharedCheck_2070_ = !lean_is_exclusive(v___x_2062_); +if (v_isSharedCheck_2070_ == 0) +{ +v___x_2065_ = v___x_2062_; +v_isShared_2066_ = v_isSharedCheck_2070_; +goto v_resetjp_2064_; +} +else +{ +lean_inc(v_a_2063_); +lean_dec(v___x_2062_); +v___x_2065_ = lean_box(0); +v_isShared_2066_ = v_isSharedCheck_2070_; +goto v_resetjp_2064_; +} +v_resetjp_2064_: +{ +lean_object* v___x_2068_; +if (v_isShared_2066_ == 0) +{ +v___x_2068_ = v___x_2065_; +goto v_reusejp_2067_; +} +else +{ +lean_object* v_reuseFailAlloc_2069_; +v_reuseFailAlloc_2069_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2069_, 0, v_a_2063_); +v___x_2068_ = v_reuseFailAlloc_2069_; +goto v_reusejp_2067_; +} +v_reusejp_2067_: +{ +return v___x_2068_; +} +} +} +else +{ +lean_object* v_a_2071_; lean_object* v___x_2073_; uint8_t v_isShared_2074_; uint8_t v_isSharedCheck_2078_; +v_a_2071_ = lean_ctor_get(v___x_2062_, 0); +v_isSharedCheck_2078_ = !lean_is_exclusive(v___x_2062_); +if (v_isSharedCheck_2078_ == 0) +{ +v___x_2073_ = v___x_2062_; +v_isShared_2074_ = v_isSharedCheck_2078_; +goto v_resetjp_2072_; +} +else +{ +lean_inc(v_a_2071_); +lean_dec(v___x_2062_); +v___x_2073_ = lean_box(0); +v_isShared_2074_ = v_isSharedCheck_2078_; +goto v_resetjp_2072_; +} +v_resetjp_2072_: +{ +lean_object* v___x_2076_; +if (v_isShared_2074_ == 0) +{ +v___x_2076_ = v___x_2073_; +goto v_reusejp_2075_; +} +else +{ +lean_object* v_reuseFailAlloc_2077_; +v_reuseFailAlloc_2077_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_2077_, 0, v_a_2071_); +v___x_2076_ = v_reuseFailAlloc_2077_; +goto v_reusejp_2075_; +} +v_reusejp_2075_: +{ +return v___x_2076_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_mkCtorIdx___lam__5___boxed(lean_object* v___f_2079_, lean_object* v___f_2080_, lean_object* v___y_2081_, lean_object* v___y_2082_, lean_object* v___y_2083_, lean_object* v___y_2084_, lean_object* v___y_2085_){ +_start: +{ +lean_object* v_res_2086_; +v_res_2086_ = l_mkCtorIdx___lam__5(v___f_2079_, v___f_2080_, v___y_2081_, v___y_2082_, v___y_2083_, v___y_2084_); +return v_res_2086_; } } static lean_object* _init_l_mkCtorIdx___closed__1(void){ _start: { -lean_object* v___x_1997_; lean_object* v___x_1998_; -v___x_1997_ = ((lean_object*)(l_mkCtorIdx___closed__0)); -v___x_1998_ = l_Lean_stringToMessageData(v___x_1997_); -return v___x_1998_; +lean_object* v___x_2088_; lean_object* v___x_2089_; +v___x_2088_ = ((lean_object*)(l_mkCtorIdx___closed__0)); +v___x_2089_ = l_Lean_stringToMessageData(v___x_2088_); +return v___x_2089_; } } static lean_object* _init_l_mkCtorIdx___closed__3(void){ _start: { -lean_object* v___x_2000_; lean_object* v___x_2001_; -v___x_2000_ = ((lean_object*)(l_mkCtorIdx___closed__2)); -v___x_2001_ = l_Lean_stringToMessageData(v___x_2000_); -return v___x_2001_; +lean_object* v___x_2091_; lean_object* v___x_2092_; +v___x_2091_ = ((lean_object*)(l_mkCtorIdx___closed__2)); +v___x_2092_ = l_Lean_stringToMessageData(v___x_2091_); +return v___x_2092_; } } -LEAN_EXPORT lean_object* l_mkCtorIdx(lean_object* v_indName_2002_, lean_object* v_a_2003_, lean_object* v_a_2004_, lean_object* v_a_2005_, lean_object* v_a_2006_){ +LEAN_EXPORT lean_object* l_mkCtorIdx(lean_object* v_indName_2093_, lean_object* v_a_2094_, lean_object* v_a_2095_, lean_object* v_a_2096_, lean_object* v_a_2097_){ _start: { -lean_object* v___x_2008_; uint8_t v___x_2009_; lean_object* v___x_2010_; lean_object* v___f_2011_; lean_object* v___x_2012_; lean_object* v___x_2013_; lean_object* v___x_2014_; lean_object* v___x_2015_; lean_object* v___f_2016_; lean_object* v___f_2017_; uint8_t v___x_2018_; -v___x_2008_ = lean_obj_once(&l_mkCtorIdx___closed__1, &l_mkCtorIdx___closed__1_once, _init_l_mkCtorIdx___closed__1); -v___x_2009_ = 0; -v___x_2010_ = lean_box(v___x_2009_); -lean_inc(v_indName_2002_); -v___f_2011_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__3___boxed), 7, 2); -lean_closure_set(v___f_2011_, 0, v_indName_2002_); -lean_closure_set(v___f_2011_, 1, v___x_2010_); -lean_inc(v_indName_2002_); -v___x_2012_ = l_Lean_MessageData_ofConstName(v_indName_2002_, v___x_2009_); -v___x_2013_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2013_, 0, v___x_2008_); -lean_ctor_set(v___x_2013_, 1, v___x_2012_); -v___x_2014_ = lean_obj_once(&l_mkCtorIdx___closed__3, &l_mkCtorIdx___closed__3_once, _init_l_mkCtorIdx___closed__3); -v___x_2015_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_2015_, 0, v___x_2013_); -lean_ctor_set(v___x_2015_, 1, v___x_2014_); -v___f_2016_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__4), 2, 1); -lean_closure_set(v___f_2016_, 0, v___x_2015_); -v___f_2017_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__5___boxed), 7, 2); -lean_closure_set(v___f_2017_, 0, v___f_2011_); -lean_closure_set(v___f_2017_, 1, v___f_2016_); -v___x_2018_ = l_Lean_isPrivateName(v_indName_2002_); -lean_dec(v_indName_2002_); -if (v___x_2018_ == 0) +lean_object* v___x_2099_; uint8_t v___x_2100_; lean_object* v___x_2101_; lean_object* v___f_2102_; lean_object* v___x_2103_; lean_object* v___x_2104_; lean_object* v___x_2105_; lean_object* v___x_2106_; lean_object* v___f_2107_; lean_object* v___f_2108_; uint8_t v___x_2109_; +v___x_2099_ = lean_obj_once(&l_mkCtorIdx___closed__1, &l_mkCtorIdx___closed__1_once, _init_l_mkCtorIdx___closed__1); +v___x_2100_ = 0; +v___x_2101_ = lean_box(v___x_2100_); +lean_inc(v_indName_2093_); +v___f_2102_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__3___boxed), 7, 2); +lean_closure_set(v___f_2102_, 0, v_indName_2093_); +lean_closure_set(v___f_2102_, 1, v___x_2101_); +lean_inc(v_indName_2093_); +v___x_2103_ = l_Lean_MessageData_ofConstName(v_indName_2093_, v___x_2100_); +v___x_2104_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2104_, 0, v___x_2099_); +lean_ctor_set(v___x_2104_, 1, v___x_2103_); +v___x_2105_ = lean_obj_once(&l_mkCtorIdx___closed__3, &l_mkCtorIdx___closed__3_once, _init_l_mkCtorIdx___closed__3); +v___x_2106_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_2106_, 0, v___x_2104_); +lean_ctor_set(v___x_2106_, 1, v___x_2105_); +v___f_2107_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__4), 2, 1); +lean_closure_set(v___f_2107_, 0, v___x_2106_); +v___f_2108_ = lean_alloc_closure((void*)(l_mkCtorIdx___lam__5___boxed), 7, 2); +lean_closure_set(v___f_2108_, 0, v___f_2102_); +lean_closure_set(v___f_2108_, 1, v___f_2107_); +v___x_2109_ = l_Lean_isPrivateName(v_indName_2093_); +lean_dec(v_indName_2093_); +if (v___x_2109_ == 0) { -uint8_t v___x_2019_; lean_object* v___x_2020_; -v___x_2019_ = 1; -v___x_2020_ = l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg(v___f_2017_, v___x_2019_, v_a_2003_, v_a_2004_, v_a_2005_, v_a_2006_); -return v___x_2020_; +uint8_t v___x_2110_; lean_object* v___x_2111_; +v___x_2110_ = 1; +v___x_2111_ = l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg(v___f_2108_, v___x_2110_, v_a_2094_, v_a_2095_, v_a_2096_, v_a_2097_); +return v___x_2111_; } else { -lean_object* v___x_2021_; -v___x_2021_ = l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg(v___f_2017_, v___x_2009_, v_a_2003_, v_a_2004_, v_a_2005_, v_a_2006_); -return v___x_2021_; +lean_object* v___x_2112_; +v___x_2112_ = l_Lean_withExporting___at___00mkCtorIdx_spec__14___redArg(v___f_2108_, v___x_2100_, v_a_2094_, v_a_2095_, v_a_2096_, v_a_2097_); +return v___x_2112_; } } } -LEAN_EXPORT lean_object* l_mkCtorIdx___boxed(lean_object* v_indName_2022_, lean_object* v_a_2023_, lean_object* v_a_2024_, lean_object* v_a_2025_, lean_object* v_a_2026_, lean_object* v_a_2027_){ +LEAN_EXPORT lean_object* l_mkCtorIdx___boxed(lean_object* v_indName_2113_, lean_object* v_a_2114_, lean_object* v_a_2115_, lean_object* v_a_2116_, lean_object* v_a_2117_, lean_object* v_a_2118_){ _start: { -lean_object* v_res_2028_; -v_res_2028_ = l_mkCtorIdx(v_indName_2022_, v_a_2023_, v_a_2024_, v_a_2025_, v_a_2026_); -return v_res_2028_; +lean_object* v_res_2119_; +v_res_2119_ = l_mkCtorIdx(v_indName_2113_, v_a_2114_, v_a_2115_, v_a_2116_, v_a_2117_); +return v_res_2119_; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6(uint8_t v___x_2029_, lean_object* v___x_2030_, lean_object* v_as_2031_, lean_object* v_as_x27_2032_, lean_object* v_b_2033_, lean_object* v_a_2034_, lean_object* v___y_2035_, lean_object* v___y_2036_, lean_object* v___y_2037_, lean_object* v___y_2038_){ +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6(uint8_t v___x_2120_, lean_object* v___x_2121_, lean_object* v_as_2122_, lean_object* v_as_x27_2123_, lean_object* v_b_2124_, lean_object* v_a_2125_, lean_object* v___y_2126_, lean_object* v___y_2127_, lean_object* v___y_2128_, lean_object* v___y_2129_){ _start: { -lean_object* v___x_2040_; -v___x_2040_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg(v___x_2029_, v___x_2030_, v_as_x27_2032_, v_b_2033_, v___y_2035_, v___y_2036_, v___y_2037_, v___y_2038_); -return v___x_2040_; +lean_object* v___x_2131_; +v___x_2131_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___redArg(v___x_2120_, v___x_2121_, v_as_x27_2123_, v_b_2124_, v___y_2126_, v___y_2127_, v___y_2128_, v___y_2129_); +return v___x_2131_; } } -LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___boxed(lean_object* v___x_2041_, lean_object* v___x_2042_, lean_object* v_as_2043_, lean_object* v_as_x27_2044_, lean_object* v_b_2045_, lean_object* v_a_2046_, lean_object* v___y_2047_, lean_object* v___y_2048_, lean_object* v___y_2049_, lean_object* v___y_2050_, lean_object* v___y_2051_){ +LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6___boxed(lean_object* v___x_2132_, lean_object* v___x_2133_, lean_object* v_as_2134_, lean_object* v_as_x27_2135_, lean_object* v_b_2136_, lean_object* v_a_2137_, lean_object* v___y_2138_, lean_object* v___y_2139_, lean_object* v___y_2140_, lean_object* v___y_2141_, lean_object* v___y_2142_){ _start: { -uint8_t v___x_30689__boxed_2052_; lean_object* v_res_2053_; -v___x_30689__boxed_2052_ = lean_unbox(v___x_2041_); -v_res_2053_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6(v___x_30689__boxed_2052_, v___x_2042_, v_as_2043_, v_as_x27_2044_, v_b_2045_, v_a_2046_, v___y_2047_, v___y_2048_, v___y_2049_, v___y_2050_); -lean_dec(v_as_2043_); -lean_dec_ref(v___x_2042_); -return v_res_2053_; +uint8_t v___x_38029__boxed_2143_; lean_object* v_res_2144_; +v___x_38029__boxed_2143_ = lean_unbox(v___x_2132_); +v_res_2144_ = l_List_forIn_x27_loop___at___00mkCtorIdx_spec__6(v___x_38029__boxed_2143_, v___x_2133_, v_as_2134_, v_as_x27_2135_, v_b_2136_, v_a_2137_, v___y_2138_, v___y_2139_, v___y_2140_, v___y_2141_); +lean_dec(v_as_2134_); +lean_dec_ref(v___x_2133_); +return v_res_2144_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10(lean_object* v_00_u03b1_2054_, lean_object* v_name_2055_, uint8_t v_bi_2056_, lean_object* v_type_2057_, lean_object* v_k_2058_, uint8_t v_kind_2059_, lean_object* v___y_2060_, lean_object* v___y_2061_, lean_object* v___y_2062_, lean_object* v___y_2063_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10(lean_object* v_00_u03b1_2145_, lean_object* v_name_2146_, uint8_t v_bi_2147_, lean_object* v_type_2148_, lean_object* v_k_2149_, uint8_t v_kind_2150_, lean_object* v___y_2151_, lean_object* v___y_2152_, lean_object* v___y_2153_, lean_object* v___y_2154_){ _start: { -lean_object* v___x_2065_; -v___x_2065_ = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10___redArg(v_name_2055_, v_bi_2056_, v_type_2057_, v_k_2058_, v_kind_2059_, v___y_2060_, v___y_2061_, v___y_2062_, v___y_2063_); -return v___x_2065_; +lean_object* v___x_2156_; +v___x_2156_ = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10___redArg(v_name_2146_, v_bi_2147_, v_type_2148_, v_k_2149_, v_kind_2150_, v___y_2151_, v___y_2152_, v___y_2153_, v___y_2154_); +return v___x_2156_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10___boxed(lean_object* v_00_u03b1_2066_, lean_object* v_name_2067_, lean_object* v_bi_2068_, lean_object* v_type_2069_, lean_object* v_k_2070_, lean_object* v_kind_2071_, lean_object* v___y_2072_, lean_object* v___y_2073_, lean_object* v___y_2074_, lean_object* v___y_2075_, lean_object* v___y_2076_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10___boxed(lean_object* v_00_u03b1_2157_, lean_object* v_name_2158_, lean_object* v_bi_2159_, lean_object* v_type_2160_, lean_object* v_k_2161_, lean_object* v_kind_2162_, lean_object* v___y_2163_, lean_object* v___y_2164_, lean_object* v___y_2165_, lean_object* v___y_2166_, lean_object* v___y_2167_){ _start: { -uint8_t v_bi_boxed_2077_; uint8_t v_kind_boxed_2078_; lean_object* v_res_2079_; -v_bi_boxed_2077_ = lean_unbox(v_bi_2068_); -v_kind_boxed_2078_ = lean_unbox(v_kind_2071_); -v_res_2079_ = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10(v_00_u03b1_2066_, v_name_2067_, v_bi_boxed_2077_, v_type_2069_, v_k_2070_, v_kind_boxed_2078_, v___y_2072_, v___y_2073_, v___y_2074_, v___y_2075_); -return v_res_2079_; +uint8_t v_bi_boxed_2168_; uint8_t v_kind_boxed_2169_; lean_object* v_res_2170_; +v_bi_boxed_2168_ = lean_unbox(v_bi_2159_); +v_kind_boxed_2169_ = lean_unbox(v_kind_2162_); +v_res_2170_ = l_Lean_Meta_withLocalDecl___at___00Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7_spec__10(v_00_u03b1_2157_, v_name_2158_, v_bi_boxed_2168_, v_type_2160_, v_k_2161_, v_kind_boxed_2169_, v___y_2163_, v___y_2164_, v___y_2165_, v___y_2166_); +return v_res_2170_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7(lean_object* v_00_u03b1_2080_, lean_object* v_name_2081_, lean_object* v_type_2082_, lean_object* v_k_2083_, lean_object* v___y_2084_, lean_object* v___y_2085_, lean_object* v___y_2086_, lean_object* v___y_2087_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7(lean_object* v_00_u03b1_2171_, lean_object* v_name_2172_, lean_object* v_type_2173_, lean_object* v_k_2174_, lean_object* v___y_2175_, lean_object* v___y_2176_, lean_object* v___y_2177_, lean_object* v___y_2178_){ _start: { -lean_object* v___x_2089_; -v___x_2089_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___redArg(v_name_2081_, v_type_2082_, v_k_2083_, v___y_2084_, v___y_2085_, v___y_2086_, v___y_2087_); -return v___x_2089_; +lean_object* v___x_2180_; +v___x_2180_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___redArg(v_name_2172_, v_type_2173_, v_k_2174_, v___y_2175_, v___y_2176_, v___y_2177_, v___y_2178_); +return v___x_2180_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___boxed(lean_object* v_00_u03b1_2090_, lean_object* v_name_2091_, lean_object* v_type_2092_, lean_object* v_k_2093_, lean_object* v___y_2094_, lean_object* v___y_2095_, lean_object* v___y_2096_, lean_object* v___y_2097_, lean_object* v___y_2098_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7___boxed(lean_object* v_00_u03b1_2181_, lean_object* v_name_2182_, lean_object* v_type_2183_, lean_object* v_k_2184_, lean_object* v___y_2185_, lean_object* v___y_2186_, lean_object* v___y_2187_, lean_object* v___y_2188_, lean_object* v___y_2189_){ _start: { -lean_object* v_res_2099_; -v_res_2099_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7(v_00_u03b1_2090_, v_name_2091_, v_type_2092_, v_k_2093_, v___y_2094_, v___y_2095_, v___y_2096_, v___y_2097_); -return v_res_2099_; +lean_object* v_res_2190_; +v_res_2190_ = l_Lean_Meta_withLocalDeclD___at___00mkCtorIdx_spec__7(v_00_u03b1_2181_, v_name_2182_, v_type_2183_, v_k_2184_, v___y_2185_, v___y_2186_, v___y_2187_, v___y_2188_); +return v_res_2190_; } } -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15(lean_object* v_declName_2100_, uint8_t v_s_2101_, lean_object* v___y_2102_, lean_object* v___y_2103_, lean_object* v___y_2104_, lean_object* v___y_2105_){ +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15(lean_object* v_declName_2191_, uint8_t v_s_2192_, lean_object* v___y_2193_, lean_object* v___y_2194_, lean_object* v___y_2195_, lean_object* v___y_2196_){ _start: { -lean_object* v___x_2107_; -v___x_2107_ = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15___redArg(v_declName_2100_, v_s_2101_, v___y_2103_, v___y_2105_); -return v___x_2107_; +lean_object* v___x_2198_; +v___x_2198_ = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15___redArg(v_declName_2191_, v_s_2192_, v___y_2194_, v___y_2196_); +return v___x_2198_; } } -LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15___boxed(lean_object* v_declName_2108_, lean_object* v_s_2109_, lean_object* v___y_2110_, lean_object* v___y_2111_, lean_object* v___y_2112_, lean_object* v___y_2113_, lean_object* v___y_2114_){ +LEAN_EXPORT lean_object* l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15___boxed(lean_object* v_declName_2199_, lean_object* v_s_2200_, lean_object* v___y_2201_, lean_object* v___y_2202_, lean_object* v___y_2203_, lean_object* v___y_2204_, lean_object* v___y_2205_){ _start: { -uint8_t v_s_boxed_2115_; lean_object* v_res_2116_; -v_s_boxed_2115_ = lean_unbox(v_s_2109_); -v_res_2116_ = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15(v_declName_2108_, v_s_boxed_2115_, v___y_2110_, v___y_2111_, v___y_2112_, v___y_2113_); -lean_dec(v___y_2113_); -lean_dec_ref(v___y_2112_); -lean_dec(v___y_2111_); -lean_dec_ref(v___y_2110_); -return v_res_2116_; +uint8_t v_s_boxed_2206_; lean_object* v_res_2207_; +v_s_boxed_2206_ = lean_unbox(v_s_2200_); +v_res_2207_ = l_Lean_setReducibilityStatus___at___00Lean_setReducibleAttribute___at___00mkCtorIdx_spec__10_spec__15(v_declName_2199_, v_s_boxed_2206_, v___y_2201_, v___y_2202_, v___y_2203_, v___y_2204_); +lean_dec(v___y_2204_); +lean_dec_ref(v___y_2203_); +lean_dec(v___y_2202_); +lean_dec_ref(v___y_2201_); +return v_res_2207_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17(lean_object* v_env_2117_, lean_object* v___y_2118_, lean_object* v___y_2119_, lean_object* v___y_2120_, lean_object* v___y_2121_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17(lean_object* v_env_2208_, lean_object* v___y_2209_, lean_object* v___y_2210_, lean_object* v___y_2211_, lean_object* v___y_2212_){ _start: { -lean_object* v___x_2123_; -v___x_2123_ = l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17___redArg(v_env_2117_, v___y_2119_, v___y_2121_); -return v___x_2123_; +lean_object* v___x_2214_; +v___x_2214_ = l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17___redArg(v_env_2208_, v___y_2210_, v___y_2212_); +return v___x_2214_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17___boxed(lean_object* v_env_2124_, lean_object* v___y_2125_, lean_object* v___y_2126_, lean_object* v___y_2127_, lean_object* v___y_2128_, lean_object* v___y_2129_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17___boxed(lean_object* v_env_2215_, lean_object* v___y_2216_, lean_object* v___y_2217_, lean_object* v___y_2218_, lean_object* v___y_2219_, lean_object* v___y_2220_){ _start: { -lean_object* v_res_2130_; -v_res_2130_ = l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17(v_env_2124_, v___y_2125_, v___y_2126_, v___y_2127_, v___y_2128_); -lean_dec(v___y_2128_); -lean_dec_ref(v___y_2127_); -lean_dec(v___y_2126_); -lean_dec_ref(v___y_2125_); -return v_res_2130_; +lean_object* v_res_2221_; +v_res_2221_ = l_Lean_setEnv___at___00Lean_Linter_setDeprecated___at___00mkCtorIdx_spec__11_spec__17(v_env_2215_, v___y_2216_, v___y_2217_, v___y_2218_, v___y_2219_); +lean_dec(v___y_2219_); +lean_dec_ref(v___y_2218_); +lean_dec(v___y_2217_); +lean_dec_ref(v___y_2216_); +return v_res_2221_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20(lean_object* v_00_u03b1_2131_, lean_object* v_bs_2132_, lean_object* v_k_2133_, lean_object* v___y_2134_, lean_object* v___y_2135_, lean_object* v___y_2136_, lean_object* v___y_2137_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20(lean_object* v_00_u03b1_2222_, lean_object* v_bs_2223_, lean_object* v_k_2224_, lean_object* v___y_2225_, lean_object* v___y_2226_, lean_object* v___y_2227_, lean_object* v___y_2228_){ _start: { -lean_object* v___x_2139_; -v___x_2139_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v_bs_2132_, v_k_2133_, v___y_2134_, v___y_2135_, v___y_2136_, v___y_2137_); -return v___x_2139_; +lean_object* v___x_2230_; +v___x_2230_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___redArg(v_bs_2223_, v_k_2224_, v___y_2225_, v___y_2226_, v___y_2227_, v___y_2228_); +return v___x_2230_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___boxed(lean_object* v_00_u03b1_2140_, lean_object* v_bs_2141_, lean_object* v_k_2142_, lean_object* v___y_2143_, lean_object* v___y_2144_, lean_object* v___y_2145_, lean_object* v___y_2146_, lean_object* v___y_2147_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20___boxed(lean_object* v_00_u03b1_2231_, lean_object* v_bs_2232_, lean_object* v_k_2233_, lean_object* v___y_2234_, lean_object* v___y_2235_, lean_object* v___y_2236_, lean_object* v___y_2237_, lean_object* v___y_2238_){ _start: { -lean_object* v_res_2148_; -v_res_2148_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20(v_00_u03b1_2140_, v_bs_2141_, v_k_2142_, v___y_2143_, v___y_2144_, v___y_2145_, v___y_2146_); -lean_dec_ref(v_bs_2141_); -return v_res_2148_; +lean_object* v_res_2239_; +v_res_2239_ = l_Lean_Meta_withNewBinderInfos___at___00Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12_spec__20(v_00_u03b1_2231_, v_bs_2232_, v_k_2233_, v___y_2234_, v___y_2235_, v___y_2236_, v___y_2237_); +lean_dec_ref(v_bs_2232_); +return v_res_2239_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12(lean_object* v_00_u03b1_2149_, lean_object* v_bs_2150_, lean_object* v_k_2151_, lean_object* v___y_2152_, lean_object* v___y_2153_, lean_object* v___y_2154_, lean_object* v___y_2155_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12(lean_object* v_00_u03b1_2240_, lean_object* v_bs_2241_, lean_object* v_k_2242_, lean_object* v___y_2243_, lean_object* v___y_2244_, lean_object* v___y_2245_, lean_object* v___y_2246_){ _start: { -lean_object* v___x_2157_; -v___x_2157_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_bs_2150_, v_k_2151_, v___y_2152_, v___y_2153_, v___y_2154_, v___y_2155_); -return v___x_2157_; +lean_object* v___x_2248_; +v___x_2248_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___redArg(v_bs_2241_, v_k_2242_, v___y_2243_, v___y_2244_, v___y_2245_, v___y_2246_); +return v___x_2248_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___boxed(lean_object* v_00_u03b1_2158_, lean_object* v_bs_2159_, lean_object* v_k_2160_, lean_object* v___y_2161_, lean_object* v___y_2162_, lean_object* v___y_2163_, lean_object* v___y_2164_, lean_object* v___y_2165_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12___boxed(lean_object* v_00_u03b1_2249_, lean_object* v_bs_2250_, lean_object* v_k_2251_, lean_object* v___y_2252_, lean_object* v___y_2253_, lean_object* v___y_2254_, lean_object* v___y_2255_, lean_object* v___y_2256_){ _start: { -lean_object* v_res_2166_; -v_res_2166_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12(v_00_u03b1_2158_, v_bs_2159_, v_k_2160_, v___y_2161_, v___y_2162_, v___y_2163_, v___y_2164_); -return v_res_2166_; +lean_object* v_res_2257_; +v_res_2257_ = l_Lean_Meta_withImplicitBinderInfos___at___00mkCtorIdx_spec__12(v_00_u03b1_2249_, v_bs_2250_, v_k_2251_, v___y_2252_, v___y_2253_, v___y_2254_, v___y_2255_); +return v_res_2257_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2(lean_object* v_00_u03b1_2167_, lean_object* v_constName_2168_, lean_object* v___y_2169_, lean_object* v___y_2170_, lean_object* v___y_2171_, lean_object* v___y_2172_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2(lean_object* v_00_u03b1_2258_, lean_object* v_constName_2259_, lean_object* v___y_2260_, lean_object* v___y_2261_, lean_object* v___y_2262_, lean_object* v___y_2263_){ _start: { -lean_object* v___x_2174_; -v___x_2174_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2___redArg(v_constName_2168_, v___y_2169_, v___y_2170_, v___y_2171_, v___y_2172_); -return v___x_2174_; +lean_object* v___x_2265_; +v___x_2265_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2___redArg(v_constName_2259_, v___y_2260_, v___y_2261_, v___y_2262_, v___y_2263_); +return v___x_2265_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2___boxed(lean_object* v_00_u03b1_2175_, lean_object* v_constName_2176_, lean_object* v___y_2177_, lean_object* v___y_2178_, lean_object* v___y_2179_, lean_object* v___y_2180_, lean_object* v___y_2181_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2___boxed(lean_object* v_00_u03b1_2266_, lean_object* v_constName_2267_, lean_object* v___y_2268_, lean_object* v___y_2269_, lean_object* v___y_2270_, lean_object* v___y_2271_, lean_object* v___y_2272_){ _start: { -lean_object* v_res_2182_; -v_res_2182_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2(v_00_u03b1_2175_, v_constName_2176_, v___y_2177_, v___y_2178_, v___y_2179_, v___y_2180_); -lean_dec(v___y_2180_); -lean_dec(v___y_2178_); -lean_dec_ref(v___y_2177_); -return v_res_2182_; +lean_object* v_res_2273_; +v_res_2273_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2(v_00_u03b1_2266_, v_constName_2267_, v___y_2268_, v___y_2269_, v___y_2270_, v___y_2271_); +lean_dec(v___y_2271_); +lean_dec(v___y_2269_); +lean_dec_ref(v___y_2268_); +return v_res_2273_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5(lean_object* v_00_u03b1_2183_, lean_object* v_msg_2184_, lean_object* v___y_2185_, lean_object* v___y_2186_, lean_object* v___y_2187_, lean_object* v___y_2188_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5(lean_object* v_00_u03b1_2274_, lean_object* v_msg_2275_, lean_object* v___y_2276_, lean_object* v___y_2277_, lean_object* v___y_2278_, lean_object* v___y_2279_){ _start: { -lean_object* v___x_2190_; -v___x_2190_ = l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5___redArg(v_msg_2184_, v___y_2185_, v___y_2186_, v___y_2187_, v___y_2188_); -return v___x_2190_; +lean_object* v___x_2281_; +v___x_2281_ = l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5___redArg(v_msg_2275_, v___y_2276_, v___y_2277_, v___y_2278_, v___y_2279_); +return v___x_2281_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5___boxed(lean_object* v_00_u03b1_2191_, lean_object* v_msg_2192_, lean_object* v___y_2193_, lean_object* v___y_2194_, lean_object* v___y_2195_, lean_object* v___y_2196_, lean_object* v___y_2197_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5___boxed(lean_object* v_00_u03b1_2282_, lean_object* v_msg_2283_, lean_object* v___y_2284_, lean_object* v___y_2285_, lean_object* v___y_2286_, lean_object* v___y_2287_, lean_object* v___y_2288_){ _start: { -lean_object* v_res_2198_; -v_res_2198_ = l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5(v_00_u03b1_2191_, v_msg_2192_, v___y_2193_, v___y_2194_, v___y_2195_, v___y_2196_); -lean_dec(v___y_2196_); -lean_dec_ref(v___y_2195_); -lean_dec(v___y_2194_); -lean_dec_ref(v___y_2193_); -return v_res_2198_; +lean_object* v_res_2289_; +v_res_2289_ = l_Lean_throwError___at___00Lean_getConstInfoCtor___at___00mkCtorIdx_spec__4_spec__5(v_00_u03b1_2282_, v_msg_2283_, v___y_2284_, v___y_2285_, v___y_2286_, v___y_2287_); +lean_dec(v___y_2287_); +lean_dec_ref(v___y_2286_); +lean_dec(v___y_2285_); +lean_dec_ref(v___y_2284_); +return v_res_2289_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7(lean_object* v_00_u03b1_2199_, lean_object* v_ref_2200_, lean_object* v_constName_2201_, lean_object* v___y_2202_, lean_object* v___y_2203_, lean_object* v___y_2204_, lean_object* v___y_2205_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7(lean_object* v_00_u03b1_2290_, lean_object* v_ref_2291_, lean_object* v_constName_2292_, lean_object* v___y_2293_, lean_object* v___y_2294_, lean_object* v___y_2295_, lean_object* v___y_2296_){ _start: { -lean_object* v___x_2207_; -v___x_2207_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7___redArg(v_ref_2200_, v_constName_2201_, v___y_2202_, v___y_2203_, v___y_2204_, v___y_2205_); -return v___x_2207_; +lean_object* v___x_2298_; +v___x_2298_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7___redArg(v_ref_2291_, v_constName_2292_, v___y_2293_, v___y_2294_, v___y_2295_, v___y_2296_); +return v___x_2298_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7___boxed(lean_object* v_00_u03b1_2208_, lean_object* v_ref_2209_, lean_object* v_constName_2210_, lean_object* v___y_2211_, lean_object* v___y_2212_, lean_object* v___y_2213_, lean_object* v___y_2214_, lean_object* v___y_2215_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7___boxed(lean_object* v_00_u03b1_2299_, lean_object* v_ref_2300_, lean_object* v_constName_2301_, lean_object* v___y_2302_, lean_object* v___y_2303_, lean_object* v___y_2304_, lean_object* v___y_2305_, lean_object* v___y_2306_){ _start: { -lean_object* v_res_2216_; -v_res_2216_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7(v_00_u03b1_2208_, v_ref_2209_, v_constName_2210_, v___y_2211_, v___y_2212_, v___y_2213_, v___y_2214_); -lean_dec(v___y_2214_); -lean_dec(v___y_2212_); -lean_dec_ref(v___y_2211_); -lean_dec(v_ref_2209_); -return v_res_2216_; +lean_object* v_res_2307_; +v_res_2307_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7(v_00_u03b1_2299_, v_ref_2300_, v_constName_2301_, v___y_2302_, v___y_2303_, v___y_2304_, v___y_2305_); +lean_dec(v___y_2305_); +lean_dec(v___y_2303_); +lean_dec_ref(v___y_2302_); +lean_dec(v_ref_2300_); +return v_res_2307_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21(lean_object* v_00_u03b1_2217_, lean_object* v_ref_2218_, lean_object* v_msg_2219_, lean_object* v_declHint_2220_, lean_object* v___y_2221_, lean_object* v___y_2222_, lean_object* v___y_2223_, lean_object* v___y_2224_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21(lean_object* v_00_u03b1_2308_, lean_object* v_ref_2309_, lean_object* v_msg_2310_, lean_object* v_declHint_2311_, lean_object* v___y_2312_, lean_object* v___y_2313_, lean_object* v___y_2314_, lean_object* v___y_2315_){ _start: { -lean_object* v___x_2226_; -v___x_2226_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21___redArg(v_ref_2218_, v_msg_2219_, v_declHint_2220_, v___y_2221_, v___y_2222_, v___y_2223_, v___y_2224_); -return v___x_2226_; +lean_object* v___x_2317_; +v___x_2317_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21___redArg(v_ref_2309_, v_msg_2310_, v_declHint_2311_, v___y_2312_, v___y_2313_, v___y_2314_, v___y_2315_); +return v___x_2317_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21___boxed(lean_object* v_00_u03b1_2227_, lean_object* v_ref_2228_, lean_object* v_msg_2229_, lean_object* v_declHint_2230_, lean_object* v___y_2231_, lean_object* v___y_2232_, lean_object* v___y_2233_, lean_object* v___y_2234_, lean_object* v___y_2235_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21___boxed(lean_object* v_00_u03b1_2318_, lean_object* v_ref_2319_, lean_object* v_msg_2320_, lean_object* v_declHint_2321_, lean_object* v___y_2322_, lean_object* v___y_2323_, lean_object* v___y_2324_, lean_object* v___y_2325_, lean_object* v___y_2326_){ _start: { -lean_object* v_res_2236_; -v_res_2236_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21(v_00_u03b1_2227_, v_ref_2228_, v_msg_2229_, v_declHint_2230_, v___y_2231_, v___y_2232_, v___y_2233_, v___y_2234_); -lean_dec(v___y_2234_); -lean_dec(v___y_2232_); -lean_dec_ref(v___y_2231_); -lean_dec(v_ref_2228_); -return v_res_2236_; +lean_object* v_res_2327_; +v_res_2327_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21(v_00_u03b1_2318_, v_ref_2319_, v_msg_2320_, v_declHint_2321_, v___y_2322_, v___y_2323_, v___y_2324_, v___y_2325_); +lean_dec(v___y_2325_); +lean_dec(v___y_2323_); +lean_dec_ref(v___y_2322_); +lean_dec(v_ref_2319_); +return v_res_2327_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27(lean_object* v_msg_2237_, lean_object* v_declHint_2238_, lean_object* v___y_2239_, lean_object* v___y_2240_, lean_object* v___y_2241_, lean_object* v___y_2242_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27(lean_object* v_msg_2328_, lean_object* v_declHint_2329_, lean_object* v___y_2330_, lean_object* v___y_2331_, lean_object* v___y_2332_, lean_object* v___y_2333_){ _start: { -lean_object* v___x_2244_; -v___x_2244_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27___redArg(v_msg_2237_, v_declHint_2238_, v___y_2242_); -return v___x_2244_; +lean_object* v___x_2335_; +v___x_2335_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27___redArg(v_msg_2328_, v_declHint_2329_, v___y_2333_); +return v___x_2335_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27___boxed(lean_object* v_msg_2245_, lean_object* v_declHint_2246_, lean_object* v___y_2247_, lean_object* v___y_2248_, lean_object* v___y_2249_, lean_object* v___y_2250_, lean_object* v___y_2251_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27___boxed(lean_object* v_msg_2336_, lean_object* v_declHint_2337_, lean_object* v___y_2338_, lean_object* v___y_2339_, lean_object* v___y_2340_, lean_object* v___y_2341_, lean_object* v___y_2342_){ _start: { -lean_object* v_res_2252_; -v_res_2252_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27(v_msg_2245_, v_declHint_2246_, v___y_2247_, v___y_2248_, v___y_2249_, v___y_2250_); -lean_dec(v___y_2250_); -lean_dec_ref(v___y_2249_); -lean_dec(v___y_2248_); -lean_dec_ref(v___y_2247_); -return v_res_2252_; +lean_object* v_res_2343_; +v_res_2343_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__26_spec__27(v_msg_2336_, v_declHint_2337_, v___y_2338_, v___y_2339_, v___y_2340_, v___y_2341_); +lean_dec(v___y_2341_); +lean_dec_ref(v___y_2340_); +lean_dec(v___y_2339_); +lean_dec_ref(v___y_2338_); +return v_res_2343_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27(lean_object* v_00_u03b1_2253_, lean_object* v_ref_2254_, lean_object* v_msg_2255_, lean_object* v___y_2256_, lean_object* v___y_2257_, lean_object* v___y_2258_, lean_object* v___y_2259_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27(lean_object* v_00_u03b1_2344_, lean_object* v_ref_2345_, lean_object* v_msg_2346_, lean_object* v___y_2347_, lean_object* v___y_2348_, lean_object* v___y_2349_, lean_object* v___y_2350_){ _start: { -lean_object* v___x_2261_; -v___x_2261_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27___redArg(v_ref_2254_, v_msg_2255_, v___y_2256_, v___y_2257_, v___y_2258_, v___y_2259_); -return v___x_2261_; +lean_object* v___x_2352_; +v___x_2352_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27___redArg(v_ref_2345_, v_msg_2346_, v___y_2347_, v___y_2348_, v___y_2349_, v___y_2350_); +return v___x_2352_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27___boxed(lean_object* v_00_u03b1_2262_, lean_object* v_ref_2263_, lean_object* v_msg_2264_, lean_object* v___y_2265_, lean_object* v___y_2266_, lean_object* v___y_2267_, lean_object* v___y_2268_, lean_object* v___y_2269_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27___boxed(lean_object* v_00_u03b1_2353_, lean_object* v_ref_2354_, lean_object* v_msg_2355_, lean_object* v___y_2356_, lean_object* v___y_2357_, lean_object* v___y_2358_, lean_object* v___y_2359_, lean_object* v___y_2360_){ _start: { -lean_object* v_res_2270_; -v_res_2270_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27(v_00_u03b1_2262_, v_ref_2263_, v_msg_2264_, v___y_2265_, v___y_2266_, v___y_2267_, v___y_2268_); -lean_dec(v___y_2268_); -lean_dec(v___y_2266_); -lean_dec_ref(v___y_2265_); -lean_dec(v_ref_2263_); -return v_res_2270_; +lean_object* v_res_2361_; +v_res_2361_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00mkCtorIdx_spec__2_spec__2_spec__7_spec__21_spec__27(v_00_u03b1_2353_, v_ref_2354_, v_msg_2355_, v___y_2356_, v___y_2357_, v___y_2358_, v___y_2359_); +lean_dec(v___y_2359_); +lean_dec(v___y_2357_); +lean_dec_ref(v___y_2356_); +lean_dec(v_ref_2354_); +return v_res_2361_; } } lean_object* runtime_initialize_Lean_Meta_Basic(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Eval.c b/stage0/stdlib/Lean/Meta/Eval.c index c0225f1621..e4c3c0e8e4 100644 --- a/stage0/stdlib/Lean/Meta/Eval.c +++ b/stage0/stdlib/Lean/Meta/Eval.c @@ -16,7 +16,7 @@ extern "C" { lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); -lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* lean_mk_array(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfD(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); @@ -29,21 +29,24 @@ lean_object* l_Lean_Environment_evalConst___redArg(lean_object*, lean_object*, l extern lean_object* l_Lean_Elab_abortCommandExceptionId; lean_object* lean_st_ref_take(lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); -lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); +extern lean_object* l_Lean_Compiler_compiler_relaxedMetaCheck; +uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); extern lean_object* l_Lean_maxRecDepth; extern lean_object* l_Lean_Compiler_compiler_postponeCompile; -uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_traceBlock___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Lean_traceBlock___redArg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_async; extern lean_object* l_Lean_diagnostics; lean_object* l_Lean_Core_mkFreshUserName(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasMVar(lean_object*); lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); -lean_object* lean_mk_array(lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_collectLevelParams(lean_object*, lean_object*); +lean_object* l_Lean_mkPrivateName(lean_object*, lean_object*); lean_object* l_Lean_Environment_importEnv_x3f(lean_object*); lean_object* l_Lean_Expr_getUsedConstants(lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -92,24 +95,24 @@ static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1_o static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1; static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2; -static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "compiler env"}; -static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_value; -static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "_tmp"}; +static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3; +static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 13, .m_capacity = 13, .m_length = 12, .m_data = "compiler env"}; static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4_value; -static const lean_ctor_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4_value),LEAN_SCALAR_PTR_LITERAL(156, 26, 231, 16, 169, 5, 155, 241)}}; +static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "_tmp"}; static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5_value; -static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6; +static const lean_ctor_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5_value),LEAN_SCALAR_PTR_LITERAL(156, 26, 231, 16, 169, 5, 155, 241)}}; +static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6_value; static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7; -static const lean_array_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; -static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8_value; -static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9; -static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 57, .m_capacity = 57, .m_length = 56, .m_data = "failed to evaluate expression, it contains metavariables"}; -static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10_value; -static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11; +static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8; +static const lean_array_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_array_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 246}, .m_size = 0, .m_capacity = 0, .m_data = {}}; +static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9_value; +static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10; +static const lean_string_object l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 57, .m_capacity = 57, .m_length = 56, .m_data = "failed to evaluate expression, it contains metavariables"}; +static const lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11 = (const lean_object*)&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11_value; static lean_once_cell_t l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -856,123 +859,123 @@ lean_ctor_set(v___x_246_, 1, v___x_245_); return v___x_246_; } } -static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6(void){ +static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3(void){ _start: { -lean_object* v___x_251_; lean_object* v___x_252_; lean_object* v___x_253_; -v___x_251_ = lean_box(0); -v___x_252_ = lean_unsigned_to_nat(16u); -v___x_253_ = lean_mk_array(v___x_252_, v___x_251_); -return v___x_253_; +lean_object* v___x_247_; lean_object* v___x_248_; +v___x_247_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1); +v___x_248_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_248_, 0, v___x_247_); +lean_ctor_set(v___x_248_, 1, v___x_247_); +lean_ctor_set(v___x_248_, 2, v___x_247_); +lean_ctor_set(v___x_248_, 3, v___x_247_); +lean_ctor_set(v___x_248_, 4, v___x_247_); +lean_ctor_set(v___x_248_, 5, v___x_247_); +return v___x_248_; } } static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7(void){ _start: { -lean_object* v___x_254_; lean_object* v___x_255_; lean_object* v___x_256_; -v___x_254_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6); -v___x_255_ = lean_unsigned_to_nat(0u); -v___x_256_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_256_, 0, v___x_255_); -lean_ctor_set(v___x_256_, 1, v___x_254_); -return v___x_256_; +lean_object* v___x_253_; lean_object* v___x_254_; lean_object* v___x_255_; +v___x_253_ = lean_box(0); +v___x_254_ = lean_unsigned_to_nat(16u); +v___x_255_ = lean_mk_array(v___x_254_, v___x_253_); +return v___x_255_; } } -static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9(void){ +static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8(void){ _start: { -lean_object* v___x_259_; lean_object* v___x_260_; lean_object* v___x_261_; -v___x_259_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8)); -v___x_260_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7); -v___x_261_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_261_, 0, v___x_260_); -lean_ctor_set(v___x_261_, 1, v___x_260_); -lean_ctor_set(v___x_261_, 2, v___x_259_); -return v___x_261_; +lean_object* v___x_256_; lean_object* v___x_257_; lean_object* v___x_258_; +v___x_256_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__7); +v___x_257_ = lean_unsigned_to_nat(0u); +v___x_258_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_258_, 0, v___x_257_); +lean_ctor_set(v___x_258_, 1, v___x_256_); +return v___x_258_; } } -static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11(void){ +static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10(void){ _start: { -lean_object* v___x_263_; lean_object* v___x_264_; -v___x_263_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10)); -v___x_264_ = l_Lean_stringToMessageData(v___x_263_); -return v___x_264_; +lean_object* v___x_261_; lean_object* v___x_262_; lean_object* v___x_263_; +v___x_261_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9)); +v___x_262_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__8); +v___x_263_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_263_, 0, v___x_262_); +lean_ctor_set(v___x_263_, 1, v___x_262_); +lean_ctor_set(v___x_263_, 2, v___x_261_); +return v___x_263_; } } static lean_object* _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12(void){ _start: { lean_object* v___x_265_; lean_object* v___x_266_; -v___x_265_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__1); -v___x_266_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_266_, 0, v___x_265_); -lean_ctor_set(v___x_266_, 1, v___x_265_); -lean_ctor_set(v___x_266_, 2, v___x_265_); -lean_ctor_set(v___x_266_, 3, v___x_265_); -lean_ctor_set(v___x_266_, 4, v___x_265_); -lean_ctor_set(v___x_266_, 5, v___x_265_); +v___x_265_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11)); +v___x_266_ = l_Lean_stringToMessageData(v___x_265_); return v___x_266_; } } LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0(uint8_t v_checkMeta_267_, lean_object* v_checkType_268_, uint8_t v_safety_269_, lean_object* v_value_270_, lean_object* v___y_271_, lean_object* v___y_272_, lean_object* v___y_273_, lean_object* v___y_274_){ _start: { -lean_object* v___y_277_; lean_object* v___y_278_; lean_object* v___y_279_; lean_object* v___y_280_; lean_object* v___y_281_; uint8_t v___y_282_; uint8_t v___y_283_; lean_object* v___y_284_; lean_object* v_fileName_285_; lean_object* v_fileMap_286_; lean_object* v_currRecDepth_287_; lean_object* v_ref_288_; lean_object* v_currNamespace_289_; lean_object* v_openDecls_290_; lean_object* v_initHeartbeats_291_; lean_object* v_maxHeartbeats_292_; lean_object* v_quotContext_293_; lean_object* v_currMacroScope_294_; lean_object* v_cancelTk_x3f_295_; uint8_t v_suppressElabErrors_296_; lean_object* v_inheritedTraceOptions_297_; lean_object* v___y_298_; lean_object* v___y_312_; lean_object* v___y_313_; lean_object* v___y_314_; lean_object* v___y_315_; lean_object* v___y_316_; uint8_t v___y_317_; uint8_t v___y_318_; lean_object* v___y_319_; lean_object* v___y_320_; lean_object* v___y_321_; lean_object* v___y_336_; lean_object* v___y_337_; lean_object* v___y_338_; lean_object* v___y_339_; lean_object* v___y_340_; lean_object* v___y_341_; uint8_t v___y_342_; uint8_t v___y_343_; lean_object* v___y_344_; lean_object* v___y_345_; uint8_t v___y_346_; lean_object* v___y_368_; uint8_t v___y_369_; lean_object* v___y_370_; lean_object* v___y_371_; uint8_t v___y_372_; lean_object* v___y_373_; lean_object* v___y_374_; lean_object* v___y_375_; uint8_t v___y_376_; lean_object* v___y_377_; lean_object* v___y_378_; lean_object* v___y_410_; uint8_t v___y_411_; lean_object* v___y_412_; uint8_t v___y_413_; lean_object* v___y_414_; lean_object* v___y_415_; lean_object* v___y_416_; lean_object* v___y_417_; lean_object* v___y_418_; uint8_t v___y_419_; lean_object* v___y_420_; uint8_t v___y_421_; lean_object* v___y_443_; lean_object* v___y_444_; lean_object* v___y_445_; lean_object* v___y_446_; lean_object* v___y_447_; lean_object* v___y_448_; lean_object* v___y_449_; lean_object* v___y_450_; lean_object* v___y_500_; lean_object* v___y_501_; lean_object* v___y_502_; lean_object* v___y_503_; lean_object* v_nextMacroScope_543_; lean_object* v_ngen_544_; lean_object* v_auxDeclNGen_545_; lean_object* v_traceState_546_; lean_object* v_messages_547_; lean_object* v_infoState_548_; lean_object* v_snapshotTasks_549_; lean_object* v___y_550_; lean_object* v___x_569_; lean_object* v___x_582_; lean_object* v___x_583_; lean_object* v___x_584_; uint8_t v___x_585_; -v___x_569_ = lean_st_ref_get(v___y_274_); +lean_object* v___y_277_; lean_object* v___y_278_; lean_object* v___y_279_; lean_object* v___y_280_; uint8_t v___y_281_; lean_object* v___y_282_; uint8_t v___y_283_; lean_object* v___y_284_; lean_object* v_fileName_285_; lean_object* v_fileMap_286_; lean_object* v_currRecDepth_287_; lean_object* v_ref_288_; lean_object* v_currNamespace_289_; lean_object* v_openDecls_290_; lean_object* v_initHeartbeats_291_; lean_object* v_maxHeartbeats_292_; lean_object* v_quotContext_293_; lean_object* v_currMacroScope_294_; lean_object* v_cancelTk_x3f_295_; uint8_t v_suppressElabErrors_296_; lean_object* v_inheritedTraceOptions_297_; lean_object* v___y_298_; lean_object* v___y_312_; lean_object* v___y_313_; lean_object* v___y_314_; lean_object* v___y_315_; uint8_t v___y_316_; lean_object* v___y_317_; uint8_t v___y_318_; lean_object* v___y_319_; lean_object* v___y_320_; lean_object* v___y_321_; lean_object* v___y_336_; lean_object* v___y_337_; lean_object* v___y_338_; lean_object* v___y_339_; lean_object* v___y_340_; lean_object* v___y_341_; lean_object* v___y_342_; uint8_t v___y_343_; lean_object* v___y_344_; uint8_t v___y_345_; lean_object* v___y_346_; uint8_t v___y_347_; lean_object* v___y_368_; lean_object* v___y_369_; lean_object* v___y_370_; lean_object* v___y_371_; uint8_t v___y_372_; uint8_t v___y_373_; lean_object* v___y_374_; lean_object* v___y_375_; lean_object* v___y_376_; lean_object* v___y_377_; lean_object* v___y_378_; lean_object* v___y_379_; lean_object* v___y_410_; lean_object* v___y_411_; lean_object* v___y_412_; uint8_t v___y_413_; lean_object* v___y_414_; lean_object* v___y_415_; lean_object* v___y_416_; lean_object* v___y_417_; uint8_t v___y_418_; lean_object* v___y_419_; lean_object* v___y_420_; lean_object* v___y_421_; uint8_t v___y_422_; uint8_t v___y_443_; lean_object* v___y_444_; uint8_t v___y_445_; lean_object* v___y_446_; lean_object* v___y_447_; lean_object* v___y_448_; lean_object* v___y_449_; uint8_t v___y_450_; lean_object* v___y_451_; lean_object* v___y_452_; lean_object* v___y_453_; lean_object* v___y_454_; uint8_t v___y_486_; lean_object* v___y_487_; lean_object* v___y_488_; lean_object* v___y_489_; uint8_t v___y_490_; lean_object* v___y_491_; lean_object* v___y_492_; uint8_t v___y_493_; lean_object* v___y_494_; lean_object* v___y_495_; lean_object* v___y_496_; lean_object* v___y_497_; uint8_t v___y_498_; lean_object* v___y_519_; lean_object* v___y_520_; lean_object* v___y_521_; lean_object* v___y_522_; lean_object* v___y_523_; lean_object* v___y_524_; lean_object* v___y_525_; lean_object* v___y_526_; lean_object* v___y_611_; lean_object* v___y_612_; lean_object* v___y_613_; lean_object* v___y_614_; lean_object* v_nextMacroScope_657_; lean_object* v_ngen_658_; lean_object* v_auxDeclNGen_659_; lean_object* v_traceState_660_; lean_object* v_messages_661_; lean_object* v_infoState_662_; lean_object* v_snapshotTasks_663_; lean_object* v___y_664_; lean_object* v___x_683_; lean_object* v___x_696_; lean_object* v___x_697_; lean_object* v___x_698_; uint8_t v___x_699_; +v___x_683_ = lean_st_ref_get(v___y_274_); lean_inc_ref(v_value_270_); -v___x_582_ = l_Lean_Expr_getUsedConstants(v_value_270_); -v___x_583_ = lean_unsigned_to_nat(0u); -v___x_584_ = lean_array_get_size(v___x_582_); -v___x_585_ = lean_nat_dec_lt(v___x_583_, v___x_584_); -if (v___x_585_ == 0) +v___x_696_ = l_Lean_Expr_getUsedConstants(v_value_270_); +v___x_697_ = lean_unsigned_to_nat(0u); +v___x_698_ = lean_array_get_size(v___x_696_); +v___x_699_ = lean_nat_dec_lt(v___x_697_, v___x_698_); +if (v___x_699_ == 0) { -lean_dec_ref(v___x_582_); -lean_dec(v___x_569_); -goto v___jp_570_; +lean_dec_ref(v___x_696_); +lean_dec(v___x_683_); +goto v___jp_684_; } else { -if (v___x_585_ == 0) +if (v___x_699_ == 0) { -lean_dec_ref(v___x_582_); -lean_dec(v___x_569_); -goto v___jp_570_; +lean_dec_ref(v___x_696_); +lean_dec(v___x_683_); +goto v___jp_684_; } else { -lean_object* v_env_586_; size_t v___x_587_; size_t v___x_588_; uint8_t v___x_589_; -v_env_586_ = lean_ctor_get(v___x_569_, 0); -lean_inc_ref(v_env_586_); -lean_dec(v___x_569_); -v___x_587_ = ((size_t)0ULL); -v___x_588_ = lean_usize_of_nat(v___x_584_); -v___x_589_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_evalExprCore_spec__6(v_env_586_, v___x_582_, v___x_587_, v___x_588_); -lean_dec_ref(v___x_582_); -lean_dec_ref(v_env_586_); -if (v___x_589_ == 0) +lean_object* v_env_700_; size_t v___x_701_; size_t v___x_702_; uint8_t v___x_703_; +v_env_700_ = lean_ctor_get(v___x_683_, 0); +lean_inc_ref(v_env_700_); +lean_dec(v___x_683_); +v___x_701_ = ((size_t)0ULL); +v___x_702_ = lean_usize_of_nat(v___x_698_); +v___x_703_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_evalExprCore_spec__6(v_env_700_, v___x_696_, v___x_701_, v___x_702_); +lean_dec_ref(v___x_696_); +lean_dec_ref(v_env_700_); +if (v___x_703_ == 0) { -goto v___jp_570_; +goto v___jp_684_; } else { -v___y_500_ = v___y_271_; -v___y_501_ = v___y_272_; -v___y_502_ = v___y_273_; -v___y_503_ = v___y_274_; -goto v___jp_499_; +v___y_611_ = v___y_271_; +v___y_612_ = v___y_272_; +v___y_613_ = v___y_273_; +v___y_614_ = v___y_274_; +goto v___jp_610_; } } } v___jp_276_: { lean_object* v___x_299_; lean_object* v___x_300_; lean_object* v___x_301_; -v___x_299_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__3(v___y_284_, v___y_279_); -lean_dec_ref(v___y_279_); +v___x_299_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__3(v___y_280_, v___y_284_); +lean_dec_ref(v___y_284_); v___x_300_ = lean_alloc_ctor(0, 14, 2); lean_ctor_set(v___x_300_, 0, v_fileName_285_); lean_ctor_set(v___x_300_, 1, v_fileMap_286_); -lean_ctor_set(v___x_300_, 2, v___y_284_); +lean_ctor_set(v___x_300_, 2, v___y_280_); lean_ctor_set(v___x_300_, 3, v_currRecDepth_287_); lean_ctor_set(v___x_300_, 4, v___x_299_); lean_ctor_set(v___x_300_, 5, v_ref_288_); @@ -988,16 +991,16 @@ lean_ctor_set_uint8(v___x_300_, sizeof(void*)*14, v___y_283_); lean_ctor_set_uint8(v___x_300_, sizeof(void*)*14 + 1, v_suppressElabErrors_296_); lean_inc(v___y_298_); lean_inc_ref(v___x_300_); -v___x_301_ = l_Lean_addAndCompile(v___y_278_, v___y_282_, v___x_300_, v___y_298_); +v___x_301_ = l_Lean_addAndCompile(v___y_279_, v___y_281_, v___x_300_, v___y_298_); if (lean_obj_tag(v___x_301_) == 0) { lean_object* v___x_302_; lean_dec_ref(v___x_301_); -v___x_302_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___redArg(v___y_277_, v_checkMeta_267_, v___y_281_, v___y_280_, v___x_300_, v___y_298_); +v___x_302_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___redArg(v___y_278_, v_checkMeta_267_, v___y_282_, v___y_277_, v___x_300_, v___y_298_); lean_dec(v___y_298_); lean_dec_ref(v___x_300_); -lean_dec(v___y_280_); -lean_dec_ref(v___y_281_); +lean_dec(v___y_277_); +lean_dec_ref(v___y_282_); return v___x_302_; } else @@ -1005,8 +1008,8 @@ else lean_object* v_a_303_; lean_object* v___x_305_; uint8_t v_isShared_306_; uint8_t v_isSharedCheck_310_; lean_dec_ref(v___x_300_); lean_dec(v___y_298_); -lean_dec_ref(v___y_281_); -lean_dec(v___y_280_); +lean_dec_ref(v___y_282_); +lean_dec(v___y_278_); lean_dec(v___y_277_); v_a_303_ = lean_ctor_get(v___x_301_, 0); v_isSharedCheck_310_ = !lean_is_exclusive(v___x_301_); @@ -1102,294 +1105,296 @@ goto v___jp_276_; } v___jp_335_: { -if (v___y_346_ == 0) +if (v___y_347_ == 0) { -lean_object* v___x_347_; lean_object* v_env_348_; lean_object* v_nextMacroScope_349_; lean_object* v_ngen_350_; lean_object* v_auxDeclNGen_351_; lean_object* v_traceState_352_; lean_object* v_messages_353_; lean_object* v_infoState_354_; lean_object* v_snapshotTasks_355_; lean_object* v___x_357_; uint8_t v_isShared_358_; uint8_t v_isSharedCheck_365_; -v___x_347_ = lean_st_ref_take(v___y_344_); -v_env_348_ = lean_ctor_get(v___x_347_, 0); -v_nextMacroScope_349_ = lean_ctor_get(v___x_347_, 1); -v_ngen_350_ = lean_ctor_get(v___x_347_, 2); -v_auxDeclNGen_351_ = lean_ctor_get(v___x_347_, 3); -v_traceState_352_ = lean_ctor_get(v___x_347_, 4); -v_messages_353_ = lean_ctor_get(v___x_347_, 6); -v_infoState_354_ = lean_ctor_get(v___x_347_, 7); -v_snapshotTasks_355_ = lean_ctor_get(v___x_347_, 8); -v_isSharedCheck_365_ = !lean_is_exclusive(v___x_347_); +lean_object* v___x_348_; lean_object* v_env_349_; lean_object* v_nextMacroScope_350_; lean_object* v_ngen_351_; lean_object* v_auxDeclNGen_352_; lean_object* v_traceState_353_; lean_object* v_messages_354_; lean_object* v_infoState_355_; lean_object* v_snapshotTasks_356_; lean_object* v___x_358_; uint8_t v_isShared_359_; uint8_t v_isSharedCheck_365_; +v___x_348_ = lean_st_ref_take(v___y_338_); +v_env_349_ = lean_ctor_get(v___x_348_, 0); +v_nextMacroScope_350_ = lean_ctor_get(v___x_348_, 1); +v_ngen_351_ = lean_ctor_get(v___x_348_, 2); +v_auxDeclNGen_352_ = lean_ctor_get(v___x_348_, 3); +v_traceState_353_ = lean_ctor_get(v___x_348_, 4); +v_messages_354_ = lean_ctor_get(v___x_348_, 6); +v_infoState_355_ = lean_ctor_get(v___x_348_, 7); +v_snapshotTasks_356_ = lean_ctor_get(v___x_348_, 8); +v_isSharedCheck_365_ = !lean_is_exclusive(v___x_348_); if (v_isSharedCheck_365_ == 0) { lean_object* v_unused_366_; -v_unused_366_ = lean_ctor_get(v___x_347_, 5); +v_unused_366_ = lean_ctor_get(v___x_348_, 5); lean_dec(v_unused_366_); -v___x_357_ = v___x_347_; -v_isShared_358_ = v_isSharedCheck_365_; -goto v_resetjp_356_; +v___x_358_ = v___x_348_; +v_isShared_359_ = v_isSharedCheck_365_; +goto v_resetjp_357_; } else { -lean_inc(v_snapshotTasks_355_); -lean_inc(v_infoState_354_); -lean_inc(v_messages_353_); -lean_inc(v_traceState_352_); -lean_inc(v_auxDeclNGen_351_); -lean_inc(v_ngen_350_); -lean_inc(v_nextMacroScope_349_); -lean_inc(v_env_348_); -lean_dec(v___x_347_); -v___x_357_ = lean_box(0); -v_isShared_358_ = v_isSharedCheck_365_; -goto v_resetjp_356_; +lean_inc(v_snapshotTasks_356_); +lean_inc(v_infoState_355_); +lean_inc(v_messages_354_); +lean_inc(v_traceState_353_); +lean_inc(v_auxDeclNGen_352_); +lean_inc(v_ngen_351_); +lean_inc(v_nextMacroScope_350_); +lean_inc(v_env_349_); +lean_dec(v___x_348_); +v___x_358_ = lean_box(0); +v_isShared_359_ = v_isSharedCheck_365_; +goto v_resetjp_357_; } -v_resetjp_356_: +v_resetjp_357_: { -lean_object* v___x_359_; lean_object* v___x_360_; lean_object* v___x_362_; -v___x_359_ = l_Lean_Kernel_enableDiag(v_env_348_, v___y_343_); -v___x_360_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); -if (v_isShared_358_ == 0) +lean_object* v___x_360_; lean_object* v___x_362_; +v___x_360_ = l_Lean_Kernel_enableDiag(v_env_349_, v___y_345_); +if (v_isShared_359_ == 0) { -lean_ctor_set(v___x_357_, 5, v___x_360_); -lean_ctor_set(v___x_357_, 0, v___x_359_); -v___x_362_ = v___x_357_; +lean_ctor_set(v___x_358_, 5, v___y_340_); +lean_ctor_set(v___x_358_, 0, v___x_360_); +v___x_362_ = v___x_358_; goto v_reusejp_361_; } else { lean_object* v_reuseFailAlloc_364_; v_reuseFailAlloc_364_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_364_, 0, v___x_359_); -lean_ctor_set(v_reuseFailAlloc_364_, 1, v_nextMacroScope_349_); -lean_ctor_set(v_reuseFailAlloc_364_, 2, v_ngen_350_); -lean_ctor_set(v_reuseFailAlloc_364_, 3, v_auxDeclNGen_351_); -lean_ctor_set(v_reuseFailAlloc_364_, 4, v_traceState_352_); -lean_ctor_set(v_reuseFailAlloc_364_, 5, v___x_360_); -lean_ctor_set(v_reuseFailAlloc_364_, 6, v_messages_353_); -lean_ctor_set(v_reuseFailAlloc_364_, 7, v_infoState_354_); -lean_ctor_set(v_reuseFailAlloc_364_, 8, v_snapshotTasks_355_); +lean_ctor_set(v_reuseFailAlloc_364_, 0, v___x_360_); +lean_ctor_set(v_reuseFailAlloc_364_, 1, v_nextMacroScope_350_); +lean_ctor_set(v_reuseFailAlloc_364_, 2, v_ngen_351_); +lean_ctor_set(v_reuseFailAlloc_364_, 3, v_auxDeclNGen_352_); +lean_ctor_set(v_reuseFailAlloc_364_, 4, v_traceState_353_); +lean_ctor_set(v_reuseFailAlloc_364_, 5, v___y_340_); +lean_ctor_set(v_reuseFailAlloc_364_, 6, v_messages_354_); +lean_ctor_set(v_reuseFailAlloc_364_, 7, v_infoState_355_); +lean_ctor_set(v_reuseFailAlloc_364_, 8, v_snapshotTasks_356_); v___x_362_ = v_reuseFailAlloc_364_; goto v_reusejp_361_; } v_reusejp_361_: { lean_object* v___x_363_; -v___x_363_ = lean_st_ref_set(v___y_344_, v___x_362_); +v___x_363_ = lean_st_ref_set(v___y_338_, v___x_362_); v___y_312_ = v___y_337_; -v___y_313_ = v___y_338_; -v___y_314_ = v___y_339_; -v___y_315_ = v___y_340_; -v___y_316_ = v___y_341_; -v___y_317_ = v___y_342_; -v___y_318_ = v___y_343_; -v___y_319_ = v___y_345_; +v___y_313_ = v___y_339_; +v___y_314_ = v___y_341_; +v___y_315_ = v___y_342_; +v___y_316_ = v___y_343_; +v___y_317_ = v___y_344_; +v___y_318_ = v___y_345_; +v___y_319_ = v___y_346_; v___y_320_ = v___y_336_; -v___y_321_ = v___y_344_; +v___y_321_ = v___y_338_; goto v___jp_311_; } } } else { +lean_dec_ref(v___y_340_); v___y_312_ = v___y_337_; -v___y_313_ = v___y_338_; -v___y_314_ = v___y_339_; -v___y_315_ = v___y_340_; -v___y_316_ = v___y_341_; -v___y_317_ = v___y_342_; -v___y_318_ = v___y_343_; -v___y_319_ = v___y_345_; +v___y_313_ = v___y_339_; +v___y_314_ = v___y_341_; +v___y_315_ = v___y_342_; +v___y_316_ = v___y_343_; +v___y_317_ = v___y_344_; +v___y_318_ = v___y_345_; +v___y_319_ = v___y_346_; v___y_320_ = v___y_336_; -v___y_321_ = v___y_344_; +v___y_321_ = v___y_338_; goto v___jp_311_; } } v___jp_367_: { -lean_object* v___x_379_; lean_object* v_fileName_380_; lean_object* v_fileMap_381_; lean_object* v_currRecDepth_382_; lean_object* v_ref_383_; lean_object* v_currNamespace_384_; lean_object* v_openDecls_385_; lean_object* v_initHeartbeats_386_; lean_object* v_maxHeartbeats_387_; lean_object* v_quotContext_388_; lean_object* v_currMacroScope_389_; lean_object* v_cancelTk_x3f_390_; uint8_t v_suppressElabErrors_391_; lean_object* v_inheritedTraceOptions_392_; lean_object* v___x_394_; uint8_t v_isShared_395_; uint8_t v_isSharedCheck_406_; -v___x_379_ = lean_st_ref_get(v___y_378_); -v_fileName_380_ = lean_ctor_get(v___y_377_, 0); -v_fileMap_381_ = lean_ctor_get(v___y_377_, 1); -v_currRecDepth_382_ = lean_ctor_get(v___y_377_, 3); -v_ref_383_ = lean_ctor_get(v___y_377_, 5); -v_currNamespace_384_ = lean_ctor_get(v___y_377_, 6); -v_openDecls_385_ = lean_ctor_get(v___y_377_, 7); -v_initHeartbeats_386_ = lean_ctor_get(v___y_377_, 8); -v_maxHeartbeats_387_ = lean_ctor_get(v___y_377_, 9); -v_quotContext_388_ = lean_ctor_get(v___y_377_, 10); -v_currMacroScope_389_ = lean_ctor_get(v___y_377_, 11); -v_cancelTk_x3f_390_ = lean_ctor_get(v___y_377_, 12); -v_suppressElabErrors_391_ = lean_ctor_get_uint8(v___y_377_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_392_ = lean_ctor_get(v___y_377_, 13); -v_isSharedCheck_406_ = !lean_is_exclusive(v___y_377_); +lean_object* v___x_380_; lean_object* v_fileName_381_; lean_object* v_fileMap_382_; lean_object* v_currRecDepth_383_; lean_object* v_ref_384_; lean_object* v_currNamespace_385_; lean_object* v_openDecls_386_; lean_object* v_initHeartbeats_387_; lean_object* v_maxHeartbeats_388_; lean_object* v_quotContext_389_; lean_object* v_currMacroScope_390_; lean_object* v_cancelTk_x3f_391_; uint8_t v_suppressElabErrors_392_; lean_object* v_inheritedTraceOptions_393_; lean_object* v___x_395_; uint8_t v_isShared_396_; uint8_t v_isSharedCheck_406_; +v___x_380_ = lean_st_ref_get(v___y_379_); +v_fileName_381_ = lean_ctor_get(v___y_378_, 0); +v_fileMap_382_ = lean_ctor_get(v___y_378_, 1); +v_currRecDepth_383_ = lean_ctor_get(v___y_378_, 3); +v_ref_384_ = lean_ctor_get(v___y_378_, 5); +v_currNamespace_385_ = lean_ctor_get(v___y_378_, 6); +v_openDecls_386_ = lean_ctor_get(v___y_378_, 7); +v_initHeartbeats_387_ = lean_ctor_get(v___y_378_, 8); +v_maxHeartbeats_388_ = lean_ctor_get(v___y_378_, 9); +v_quotContext_389_ = lean_ctor_get(v___y_378_, 10); +v_currMacroScope_390_ = lean_ctor_get(v___y_378_, 11); +v_cancelTk_x3f_391_ = lean_ctor_get(v___y_378_, 12); +v_suppressElabErrors_392_ = lean_ctor_get_uint8(v___y_378_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_393_ = lean_ctor_get(v___y_378_, 13); +v_isSharedCheck_406_ = !lean_is_exclusive(v___y_378_); if (v_isSharedCheck_406_ == 0) { lean_object* v_unused_407_; lean_object* v_unused_408_; -v_unused_407_ = lean_ctor_get(v___y_377_, 4); +v_unused_407_ = lean_ctor_get(v___y_378_, 4); lean_dec(v_unused_407_); -v_unused_408_ = lean_ctor_get(v___y_377_, 2); +v_unused_408_ = lean_ctor_get(v___y_378_, 2); lean_dec(v_unused_408_); -v___x_394_ = v___y_377_; -v_isShared_395_ = v_isSharedCheck_406_; -goto v_resetjp_393_; +v___x_395_ = v___y_378_; +v_isShared_396_ = v_isSharedCheck_406_; +goto v_resetjp_394_; } else { -lean_inc(v_inheritedTraceOptions_392_); -lean_inc(v_cancelTk_x3f_390_); -lean_inc(v_currMacroScope_389_); -lean_inc(v_quotContext_388_); -lean_inc(v_maxHeartbeats_387_); -lean_inc(v_initHeartbeats_386_); -lean_inc(v_openDecls_385_); -lean_inc(v_currNamespace_384_); -lean_inc(v_ref_383_); -lean_inc(v_currRecDepth_382_); -lean_inc(v_fileMap_381_); -lean_inc(v_fileName_380_); -lean_dec(v___y_377_); -v___x_394_ = lean_box(0); -v_isShared_395_ = v_isSharedCheck_406_; -goto v_resetjp_393_; +lean_inc(v_inheritedTraceOptions_393_); +lean_inc(v_cancelTk_x3f_391_); +lean_inc(v_currMacroScope_390_); +lean_inc(v_quotContext_389_); +lean_inc(v_maxHeartbeats_388_); +lean_inc(v_initHeartbeats_387_); +lean_inc(v_openDecls_386_); +lean_inc(v_currNamespace_385_); +lean_inc(v_ref_384_); +lean_inc(v_currRecDepth_383_); +lean_inc(v_fileMap_382_); +lean_inc(v_fileName_381_); +lean_dec(v___y_378_); +v___x_395_ = lean_box(0); +v_isShared_396_ = v_isSharedCheck_406_; +goto v_resetjp_394_; } -v_resetjp_393_: +v_resetjp_394_: { -lean_object* v_env_396_; lean_object* v___x_397_; lean_object* v___x_398_; lean_object* v___x_400_; -v_env_396_ = lean_ctor_get(v___x_379_, 0); -lean_inc_ref(v_env_396_); -lean_dec(v___x_379_); -v___x_397_ = l_Lean_maxRecDepth; -v___x_398_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__3(v___y_373_, v___x_397_); -lean_inc_ref(v_inheritedTraceOptions_392_); -lean_inc(v_cancelTk_x3f_390_); -lean_inc(v_currMacroScope_389_); -lean_inc(v_quotContext_388_); -lean_inc(v_maxHeartbeats_387_); -lean_inc(v_initHeartbeats_386_); -lean_inc(v_openDecls_385_); -lean_inc(v_currNamespace_384_); -lean_inc(v_ref_383_); -lean_inc(v_currRecDepth_382_); -lean_inc_ref(v___y_373_); -lean_inc_ref(v_fileMap_381_); -lean_inc_ref(v_fileName_380_); -if (v_isShared_395_ == 0) +lean_object* v_env_397_; lean_object* v___x_398_; lean_object* v___x_400_; +v_env_397_ = lean_ctor_get(v___x_380_, 0); +lean_inc_ref(v_env_397_); +lean_dec(v___x_380_); +v___x_398_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__3(v___y_375_, v___y_377_); +lean_inc_ref(v_inheritedTraceOptions_393_); +lean_inc(v_cancelTk_x3f_391_); +lean_inc(v_currMacroScope_390_); +lean_inc(v_quotContext_389_); +lean_inc(v_maxHeartbeats_388_); +lean_inc(v_initHeartbeats_387_); +lean_inc(v_openDecls_386_); +lean_inc(v_currNamespace_385_); +lean_inc(v_ref_384_); +lean_inc(v_currRecDepth_383_); +lean_inc_ref(v___y_375_); +lean_inc_ref(v_fileMap_382_); +lean_inc_ref(v_fileName_381_); +if (v_isShared_396_ == 0) { -lean_ctor_set(v___x_394_, 4, v___x_398_); -lean_ctor_set(v___x_394_, 2, v___y_373_); -v___x_400_ = v___x_394_; +lean_ctor_set(v___x_395_, 4, v___x_398_); +lean_ctor_set(v___x_395_, 2, v___y_375_); +v___x_400_ = v___x_395_; goto v_reusejp_399_; } else { lean_object* v_reuseFailAlloc_405_; v_reuseFailAlloc_405_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_405_, 0, v_fileName_380_); -lean_ctor_set(v_reuseFailAlloc_405_, 1, v_fileMap_381_); -lean_ctor_set(v_reuseFailAlloc_405_, 2, v___y_373_); -lean_ctor_set(v_reuseFailAlloc_405_, 3, v_currRecDepth_382_); +lean_ctor_set(v_reuseFailAlloc_405_, 0, v_fileName_381_); +lean_ctor_set(v_reuseFailAlloc_405_, 1, v_fileMap_382_); +lean_ctor_set(v_reuseFailAlloc_405_, 2, v___y_375_); +lean_ctor_set(v_reuseFailAlloc_405_, 3, v_currRecDepth_383_); lean_ctor_set(v_reuseFailAlloc_405_, 4, v___x_398_); -lean_ctor_set(v_reuseFailAlloc_405_, 5, v_ref_383_); -lean_ctor_set(v_reuseFailAlloc_405_, 6, v_currNamespace_384_); -lean_ctor_set(v_reuseFailAlloc_405_, 7, v_openDecls_385_); -lean_ctor_set(v_reuseFailAlloc_405_, 8, v_initHeartbeats_386_); -lean_ctor_set(v_reuseFailAlloc_405_, 9, v_maxHeartbeats_387_); -lean_ctor_set(v_reuseFailAlloc_405_, 10, v_quotContext_388_); -lean_ctor_set(v_reuseFailAlloc_405_, 11, v_currMacroScope_389_); -lean_ctor_set(v_reuseFailAlloc_405_, 12, v_cancelTk_x3f_390_); -lean_ctor_set(v_reuseFailAlloc_405_, 13, v_inheritedTraceOptions_392_); -lean_ctor_set_uint8(v_reuseFailAlloc_405_, sizeof(void*)*14 + 1, v_suppressElabErrors_391_); +lean_ctor_set(v_reuseFailAlloc_405_, 5, v_ref_384_); +lean_ctor_set(v_reuseFailAlloc_405_, 6, v_currNamespace_385_); +lean_ctor_set(v_reuseFailAlloc_405_, 7, v_openDecls_386_); +lean_ctor_set(v_reuseFailAlloc_405_, 8, v_initHeartbeats_387_); +lean_ctor_set(v_reuseFailAlloc_405_, 9, v_maxHeartbeats_388_); +lean_ctor_set(v_reuseFailAlloc_405_, 10, v_quotContext_389_); +lean_ctor_set(v_reuseFailAlloc_405_, 11, v_currMacroScope_390_); +lean_ctor_set(v_reuseFailAlloc_405_, 12, v_cancelTk_x3f_391_); +lean_ctor_set(v_reuseFailAlloc_405_, 13, v_inheritedTraceOptions_393_); +lean_ctor_set_uint8(v_reuseFailAlloc_405_, sizeof(void*)*14 + 1, v_suppressElabErrors_392_); v___x_400_ = v_reuseFailAlloc_405_; goto v_reusejp_399_; } v_reusejp_399_: { lean_object* v___x_401_; lean_object* v___x_402_; uint8_t v___x_403_; uint8_t v___x_404_; -lean_ctor_set_uint8(v___x_400_, sizeof(void*)*14, v___y_369_); -v___x_401_ = l_Lean_Compiler_compiler_postponeCompile; -v___x_402_ = l_Lean_Option_set___at___00Lean_Meta_evalExprCore_spec__1(v___y_373_, v___x_401_, v___y_372_); -v___x_403_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__2(v___x_402_, v___y_375_); -lean_dec_ref(v___y_375_); -v___x_404_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_396_); -lean_dec_ref(v_env_396_); +lean_ctor_set_uint8(v___x_400_, sizeof(void*)*14, v___y_372_); +v___x_401_ = l_Lean_Compiler_compiler_relaxedMetaCheck; +v___x_402_ = l_Lean_Option_set___at___00Lean_Meta_evalExprCore_spec__1(v___y_375_, v___x_401_, v___y_373_); +v___x_403_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__2(v___x_402_, v___y_376_); +lean_dec_ref(v___y_376_); +v___x_404_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_397_); +lean_dec_ref(v_env_397_); if (v___x_404_ == 0) { if (v___x_403_ == 0) { lean_dec_ref(v___x_400_); +lean_dec_ref(v___y_370_); v___y_277_ = v___y_368_; -v___y_278_ = v___y_370_; -v___y_279_ = v___x_397_; -v___y_280_ = v___y_371_; -v___y_281_ = v___y_374_; -v___y_282_ = v___y_376_; +v___y_278_ = v___y_369_; +v___y_279_ = v___y_371_; +v___y_280_ = v___x_402_; +v___y_281_ = v___y_373_; +v___y_282_ = v___y_374_; v___y_283_ = v___x_403_; -v___y_284_ = v___x_402_; -v_fileName_285_ = v_fileName_380_; -v_fileMap_286_ = v_fileMap_381_; -v_currRecDepth_287_ = v_currRecDepth_382_; -v_ref_288_ = v_ref_383_; -v_currNamespace_289_ = v_currNamespace_384_; -v_openDecls_290_ = v_openDecls_385_; -v_initHeartbeats_291_ = v_initHeartbeats_386_; -v_maxHeartbeats_292_ = v_maxHeartbeats_387_; -v_quotContext_293_ = v_quotContext_388_; -v_currMacroScope_294_ = v_currMacroScope_389_; -v_cancelTk_x3f_295_ = v_cancelTk_x3f_390_; -v_suppressElabErrors_296_ = v_suppressElabErrors_391_; -v_inheritedTraceOptions_297_ = v_inheritedTraceOptions_392_; -v___y_298_ = v___y_378_; +v___y_284_ = v___y_377_; +v_fileName_285_ = v_fileName_381_; +v_fileMap_286_ = v_fileMap_382_; +v_currRecDepth_287_ = v_currRecDepth_383_; +v_ref_288_ = v_ref_384_; +v_currNamespace_289_ = v_currNamespace_385_; +v_openDecls_290_ = v_openDecls_386_; +v_initHeartbeats_291_ = v_initHeartbeats_387_; +v_maxHeartbeats_292_ = v_maxHeartbeats_388_; +v_quotContext_293_ = v_quotContext_389_; +v_currMacroScope_294_ = v_currMacroScope_390_; +v_cancelTk_x3f_295_ = v_cancelTk_x3f_391_; +v_suppressElabErrors_296_ = v_suppressElabErrors_392_; +v_inheritedTraceOptions_297_ = v_inheritedTraceOptions_393_; +v___y_298_ = v___y_379_; goto v___jp_276_; } else { -lean_dec_ref(v_inheritedTraceOptions_392_); -lean_dec(v_cancelTk_x3f_390_); -lean_dec(v_currMacroScope_389_); -lean_dec(v_quotContext_388_); -lean_dec(v_maxHeartbeats_387_); -lean_dec(v_initHeartbeats_386_); -lean_dec(v_openDecls_385_); -lean_dec(v_currNamespace_384_); -lean_dec(v_ref_383_); -lean_dec(v_currRecDepth_382_); -lean_dec_ref(v_fileMap_381_); -lean_dec_ref(v_fileName_380_); +lean_dec_ref(v_inheritedTraceOptions_393_); +lean_dec(v_cancelTk_x3f_391_); +lean_dec(v_currMacroScope_390_); +lean_dec(v_quotContext_389_); +lean_dec(v_maxHeartbeats_388_); +lean_dec(v_initHeartbeats_387_); +lean_dec(v_openDecls_386_); +lean_dec(v_currNamespace_385_); +lean_dec(v_ref_384_); +lean_dec(v_currRecDepth_383_); +lean_dec_ref(v_fileMap_382_); +lean_dec_ref(v_fileName_381_); v___y_336_ = v___x_400_; v___y_337_ = v___y_368_; -v___y_338_ = v___y_370_; -v___y_339_ = v___x_397_; -v___y_340_ = v___y_371_; -v___y_341_ = v___y_374_; -v___y_342_ = v___y_376_; -v___y_343_ = v___x_403_; -v___y_344_ = v___y_378_; -v___y_345_ = v___x_402_; -v___y_346_ = v___x_404_; +v___y_338_ = v___y_379_; +v___y_339_ = v___y_369_; +v___y_340_ = v___y_370_; +v___y_341_ = v___y_371_; +v___y_342_ = v___x_402_; +v___y_343_ = v___y_373_; +v___y_344_ = v___y_374_; +v___y_345_ = v___x_403_; +v___y_346_ = v___y_377_; +v___y_347_ = v___x_404_; goto v___jp_335_; } } else { -lean_dec_ref(v_inheritedTraceOptions_392_); -lean_dec(v_cancelTk_x3f_390_); -lean_dec(v_currMacroScope_389_); -lean_dec(v_quotContext_388_); -lean_dec(v_maxHeartbeats_387_); -lean_dec(v_initHeartbeats_386_); -lean_dec(v_openDecls_385_); -lean_dec(v_currNamespace_384_); -lean_dec(v_ref_383_); -lean_dec(v_currRecDepth_382_); -lean_dec_ref(v_fileMap_381_); -lean_dec_ref(v_fileName_380_); +lean_dec_ref(v_inheritedTraceOptions_393_); +lean_dec(v_cancelTk_x3f_391_); +lean_dec(v_currMacroScope_390_); +lean_dec(v_quotContext_389_); +lean_dec(v_maxHeartbeats_388_); +lean_dec(v_initHeartbeats_387_); +lean_dec(v_openDecls_386_); +lean_dec(v_currNamespace_385_); +lean_dec(v_ref_384_); +lean_dec(v_currRecDepth_383_); +lean_dec_ref(v_fileMap_382_); +lean_dec_ref(v_fileName_381_); v___y_336_ = v___x_400_; v___y_337_ = v___y_368_; -v___y_338_ = v___y_370_; -v___y_339_ = v___x_397_; -v___y_340_ = v___y_371_; -v___y_341_ = v___y_374_; -v___y_342_ = v___y_376_; -v___y_343_ = v___x_403_; -v___y_344_ = v___y_378_; -v___y_345_ = v___x_402_; -v___y_346_ = v___x_403_; +v___y_338_ = v___y_379_; +v___y_339_ = v___y_369_; +v___y_340_ = v___y_370_; +v___y_341_ = v___y_371_; +v___y_342_ = v___x_402_; +v___y_343_ = v___y_373_; +v___y_344_ = v___y_374_; +v___y_345_ = v___x_403_; +v___y_346_ = v___y_377_; +v___y_347_ = v___x_403_; goto v___jp_335_; } } @@ -1397,1586 +1402,1976 @@ goto v___jp_335_; } v___jp_409_: { -if (v___y_421_ == 0) +if (v___y_422_ == 0) { -lean_object* v___x_422_; lean_object* v_env_423_; lean_object* v_nextMacroScope_424_; lean_object* v_ngen_425_; lean_object* v_auxDeclNGen_426_; lean_object* v_traceState_427_; lean_object* v_messages_428_; lean_object* v_infoState_429_; lean_object* v_snapshotTasks_430_; lean_object* v___x_432_; uint8_t v_isShared_433_; uint8_t v_isSharedCheck_440_; -v___x_422_ = lean_st_ref_take(v___y_415_); -v_env_423_ = lean_ctor_get(v___x_422_, 0); -v_nextMacroScope_424_ = lean_ctor_get(v___x_422_, 1); -v_ngen_425_ = lean_ctor_get(v___x_422_, 2); -v_auxDeclNGen_426_ = lean_ctor_get(v___x_422_, 3); -v_traceState_427_ = lean_ctor_get(v___x_422_, 4); -v_messages_428_ = lean_ctor_get(v___x_422_, 6); -v_infoState_429_ = lean_ctor_get(v___x_422_, 7); -v_snapshotTasks_430_ = lean_ctor_get(v___x_422_, 8); -v_isSharedCheck_440_ = !lean_is_exclusive(v___x_422_); +lean_object* v___x_423_; lean_object* v_env_424_; lean_object* v_nextMacroScope_425_; lean_object* v_ngen_426_; lean_object* v_auxDeclNGen_427_; lean_object* v_traceState_428_; lean_object* v_messages_429_; lean_object* v_infoState_430_; lean_object* v_snapshotTasks_431_; lean_object* v___x_433_; uint8_t v_isShared_434_; uint8_t v_isSharedCheck_440_; +v___x_423_ = lean_st_ref_take(v___y_410_); +v_env_424_ = lean_ctor_get(v___x_423_, 0); +v_nextMacroScope_425_ = lean_ctor_get(v___x_423_, 1); +v_ngen_426_ = lean_ctor_get(v___x_423_, 2); +v_auxDeclNGen_427_ = lean_ctor_get(v___x_423_, 3); +v_traceState_428_ = lean_ctor_get(v___x_423_, 4); +v_messages_429_ = lean_ctor_get(v___x_423_, 6); +v_infoState_430_ = lean_ctor_get(v___x_423_, 7); +v_snapshotTasks_431_ = lean_ctor_get(v___x_423_, 8); +v_isSharedCheck_440_ = !lean_is_exclusive(v___x_423_); if (v_isSharedCheck_440_ == 0) { lean_object* v_unused_441_; -v_unused_441_ = lean_ctor_get(v___x_422_, 5); +v_unused_441_ = lean_ctor_get(v___x_423_, 5); lean_dec(v_unused_441_); -v___x_432_ = v___x_422_; -v_isShared_433_ = v_isSharedCheck_440_; -goto v_resetjp_431_; +v___x_433_ = v___x_423_; +v_isShared_434_ = v_isSharedCheck_440_; +goto v_resetjp_432_; } else { -lean_inc(v_snapshotTasks_430_); -lean_inc(v_infoState_429_); -lean_inc(v_messages_428_); -lean_inc(v_traceState_427_); -lean_inc(v_auxDeclNGen_426_); -lean_inc(v_ngen_425_); -lean_inc(v_nextMacroScope_424_); -lean_inc(v_env_423_); -lean_dec(v___x_422_); -v___x_432_ = lean_box(0); -v_isShared_433_ = v_isSharedCheck_440_; -goto v_resetjp_431_; +lean_inc(v_snapshotTasks_431_); +lean_inc(v_infoState_430_); +lean_inc(v_messages_429_); +lean_inc(v_traceState_428_); +lean_inc(v_auxDeclNGen_427_); +lean_inc(v_ngen_426_); +lean_inc(v_nextMacroScope_425_); +lean_inc(v_env_424_); +lean_dec(v___x_423_); +v___x_433_ = lean_box(0); +v_isShared_434_ = v_isSharedCheck_440_; +goto v_resetjp_432_; } -v_resetjp_431_: +v_resetjp_432_: { -lean_object* v___x_434_; lean_object* v___x_435_; lean_object* v___x_437_; -v___x_434_ = l_Lean_Kernel_enableDiag(v_env_423_, v___y_411_); -v___x_435_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); -if (v_isShared_433_ == 0) +lean_object* v___x_435_; lean_object* v___x_437_; +v___x_435_ = l_Lean_Kernel_enableDiag(v_env_424_, v___y_418_); +lean_inc_ref(v___y_417_); +if (v_isShared_434_ == 0) { -lean_ctor_set(v___x_432_, 5, v___x_435_); -lean_ctor_set(v___x_432_, 0, v___x_434_); -v___x_437_ = v___x_432_; +lean_ctor_set(v___x_433_, 5, v___y_417_); +lean_ctor_set(v___x_433_, 0, v___x_435_); +v___x_437_ = v___x_433_; goto v_reusejp_436_; } else { lean_object* v_reuseFailAlloc_439_; v_reuseFailAlloc_439_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_439_, 0, v___x_434_); -lean_ctor_set(v_reuseFailAlloc_439_, 1, v_nextMacroScope_424_); -lean_ctor_set(v_reuseFailAlloc_439_, 2, v_ngen_425_); -lean_ctor_set(v_reuseFailAlloc_439_, 3, v_auxDeclNGen_426_); -lean_ctor_set(v_reuseFailAlloc_439_, 4, v_traceState_427_); -lean_ctor_set(v_reuseFailAlloc_439_, 5, v___x_435_); -lean_ctor_set(v_reuseFailAlloc_439_, 6, v_messages_428_); -lean_ctor_set(v_reuseFailAlloc_439_, 7, v_infoState_429_); -lean_ctor_set(v_reuseFailAlloc_439_, 8, v_snapshotTasks_430_); +lean_ctor_set(v_reuseFailAlloc_439_, 0, v___x_435_); +lean_ctor_set(v_reuseFailAlloc_439_, 1, v_nextMacroScope_425_); +lean_ctor_set(v_reuseFailAlloc_439_, 2, v_ngen_426_); +lean_ctor_set(v_reuseFailAlloc_439_, 3, v_auxDeclNGen_427_); +lean_ctor_set(v_reuseFailAlloc_439_, 4, v_traceState_428_); +lean_ctor_set(v_reuseFailAlloc_439_, 5, v___y_417_); +lean_ctor_set(v_reuseFailAlloc_439_, 6, v_messages_429_); +lean_ctor_set(v_reuseFailAlloc_439_, 7, v_infoState_430_); +lean_ctor_set(v_reuseFailAlloc_439_, 8, v_snapshotTasks_431_); v___x_437_ = v_reuseFailAlloc_439_; goto v_reusejp_436_; } v_reusejp_436_: { lean_object* v___x_438_; -v___x_438_ = lean_st_ref_set(v___y_415_, v___x_437_); -v___y_368_ = v___y_410_; -v___y_369_ = v___y_411_; -v___y_370_ = v___y_412_; -v___y_371_ = v___y_414_; -v___y_372_ = v___y_413_; -v___y_373_ = v___y_416_; -v___y_374_ = v___y_418_; -v___y_375_ = v___y_417_; -v___y_376_ = v___y_419_; -v___y_377_ = v___y_420_; -v___y_378_ = v___y_415_; +v___x_438_ = lean_st_ref_set(v___y_410_, v___x_437_); +v___y_368_ = v___y_411_; +v___y_369_ = v___y_416_; +v___y_370_ = v___y_417_; +v___y_371_ = v___y_412_; +v___y_372_ = v___y_418_; +v___y_373_ = v___y_413_; +v___y_374_ = v___y_414_; +v___y_375_ = v___y_415_; +v___y_376_ = v___y_420_; +v___y_377_ = v___y_421_; +v___y_378_ = v___y_419_; +v___y_379_ = v___y_410_; goto v___jp_367_; } } } else { -v___y_368_ = v___y_410_; -v___y_369_ = v___y_411_; -v___y_370_ = v___y_412_; -v___y_371_ = v___y_414_; -v___y_372_ = v___y_413_; -v___y_373_ = v___y_416_; -v___y_374_ = v___y_418_; -v___y_375_ = v___y_417_; -v___y_376_ = v___y_419_; -v___y_377_ = v___y_420_; -v___y_378_ = v___y_415_; +v___y_368_ = v___y_411_; +v___y_369_ = v___y_416_; +v___y_370_ = v___y_417_; +v___y_371_ = v___y_412_; +v___y_372_ = v___y_418_; +v___y_373_ = v___y_413_; +v___y_374_ = v___y_414_; +v___y_375_ = v___y_415_; +v___y_376_ = v___y_420_; +v___y_377_ = v___y_421_; +v___y_378_ = v___y_419_; +v___y_379_ = v___y_410_; goto v___jp_367_; } } v___jp_442_: { -lean_object* v___x_451_; -lean_inc(v___y_450_); -lean_inc_ref(v___y_449_); -lean_inc(v___y_448_); -lean_inc_ref(v___y_447_); -lean_inc_ref(v___y_445_); -v___x_451_ = lean_infer_type(v___y_445_, v___y_447_, v___y_448_, v___y_449_, v___y_450_); -if (lean_obj_tag(v___x_451_) == 0) -{ -lean_object* v_a_452_; lean_object* v___x_453_; -v_a_452_ = lean_ctor_get(v___x_451_, 0); -lean_inc(v_a_452_); -lean_dec_ref(v___x_451_); -lean_inc(v___y_450_); -lean_inc_ref(v___y_449_); -lean_inc(v___y_448_); -lean_inc_ref(v___y_447_); -lean_inc(v_a_452_); -v___x_453_ = lean_apply_6(v_checkType_268_, v_a_452_, v___y_447_, v___y_448_, v___y_449_, v___y_450_, lean_box(0)); -if (lean_obj_tag(v___x_453_) == 0) -{ -lean_object* v___x_454_; lean_object* v_env_455_; lean_object* v_checked_456_; lean_object* v___x_457_; lean_object* v___x_458_; -lean_dec_ref(v___x_453_); -v___x_454_ = lean_st_ref_get(v___y_450_); -v_env_455_ = lean_ctor_get(v___x_454_, 0); -lean_inc_ref(v_env_455_); -lean_dec(v___x_454_); -v_checked_456_ = lean_ctor_get(v_env_455_, 2); -lean_inc_ref(v_checked_456_); -lean_dec_ref(v_env_455_); -v___x_457_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3)); -lean_inc(v___y_450_); -lean_inc_ref(v___y_449_); -v___x_458_ = l_Lean_traceBlock___redArg(v___x_457_, v_checked_456_, v___y_449_, v___y_450_); -if (lean_obj_tag(v___x_458_) == 0) -{ -lean_object* v___x_459_; lean_object* v_options_460_; lean_object* v_env_461_; lean_object* v___x_462_; lean_object* v___x_463_; lean_object* v___x_464_; lean_object* v___x_465_; lean_object* v___x_466_; lean_object* v___x_467_; uint8_t v___x_468_; lean_object* v___x_469_; uint8_t v___x_470_; lean_object* v___x_471_; lean_object* v___x_472_; uint8_t v___x_473_; uint8_t v___x_474_; -lean_dec_ref(v___x_458_); -v___x_459_ = lean_st_ref_get(v___y_450_); -v_options_460_ = lean_ctor_get(v___y_449_, 2); -v_env_461_ = lean_ctor_get(v___x_459_, 0); -lean_inc_ref(v_env_461_); -lean_dec(v___x_459_); -v___x_462_ = lean_array_to_list(v___y_444_); -lean_inc(v___y_443_); -v___x_463_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_463_, 0, v___y_443_); -lean_ctor_set(v___x_463_, 1, v___x_462_); -lean_ctor_set(v___x_463_, 2, v_a_452_); -v___x_464_ = lean_box(0); -lean_inc(v___y_443_); -v___x_465_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_465_, 0, v___y_443_); -lean_ctor_set(v___x_465_, 1, v___y_446_); -v___x_466_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_466_, 0, v___x_463_); -lean_ctor_set(v___x_466_, 1, v___y_445_); -lean_ctor_set(v___x_466_, 2, v___x_464_); -lean_ctor_set(v___x_466_, 3, v___x_465_); -lean_ctor_set_uint8(v___x_466_, sizeof(void*)*4, v_safety_269_); -v___x_467_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_467_, 0, v___x_466_); -v___x_468_ = 1; -v___x_469_ = l_Lean_Elab_async; -v___x_470_ = 0; -lean_inc_ref(v_options_460_); -v___x_471_ = l_Lean_Option_set___at___00Lean_Meta_evalExprCore_spec__1(v_options_460_, v___x_469_, v___x_470_); -v___x_472_ = l_Lean_diagnostics; -v___x_473_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__2(v___x_471_, v___x_472_); -v___x_474_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_461_); -lean_dec_ref(v_env_461_); -if (v___x_474_ == 0) -{ -if (v___x_473_ == 0) -{ -v___y_368_ = v___y_443_; -v___y_369_ = v___x_473_; -v___y_370_ = v___x_467_; -v___y_371_ = v___y_448_; -v___y_372_ = v___x_470_; -v___y_373_ = v___x_471_; -v___y_374_ = v___y_447_; -v___y_375_ = v___x_472_; -v___y_376_ = v___x_468_; -v___y_377_ = v___y_449_; -v___y_378_ = v___y_450_; -goto v___jp_367_; -} -else -{ -v___y_410_ = v___y_443_; -v___y_411_ = v___x_473_; -v___y_412_ = v___x_467_; -v___y_413_ = v___x_470_; -v___y_414_ = v___y_448_; -v___y_415_ = v___y_450_; -v___y_416_ = v___x_471_; -v___y_417_ = v___x_472_; -v___y_418_ = v___y_447_; -v___y_419_ = v___x_468_; -v___y_420_ = v___y_449_; -v___y_421_ = v___x_474_; -goto v___jp_409_; -} -} -else -{ -v___y_410_ = v___y_443_; -v___y_411_ = v___x_473_; -v___y_412_ = v___x_467_; -v___y_413_ = v___x_470_; -v___y_414_ = v___y_448_; -v___y_415_ = v___y_450_; -v___y_416_ = v___x_471_; -v___y_417_ = v___x_472_; -v___y_418_ = v___y_447_; -v___y_419_ = v___x_468_; -v___y_420_ = v___y_449_; -v___y_421_ = v___x_473_; -goto v___jp_409_; -} -} -else -{ -lean_object* v_a_475_; lean_object* v___x_477_; uint8_t v_isShared_478_; uint8_t v_isSharedCheck_482_; -lean_dec(v_a_452_); -lean_dec(v___y_450_); -lean_dec_ref(v___y_449_); -lean_dec(v___y_448_); -lean_dec_ref(v___y_447_); -lean_dec(v___y_446_); -lean_dec_ref(v___y_445_); -lean_dec_ref(v___y_444_); -lean_dec(v___y_443_); -v_a_475_ = lean_ctor_get(v___x_458_, 0); -v_isSharedCheck_482_ = !lean_is_exclusive(v___x_458_); +lean_object* v___x_455_; lean_object* v_fileName_456_; lean_object* v_fileMap_457_; lean_object* v_currRecDepth_458_; lean_object* v_ref_459_; lean_object* v_currNamespace_460_; lean_object* v_openDecls_461_; lean_object* v_initHeartbeats_462_; lean_object* v_maxHeartbeats_463_; lean_object* v_quotContext_464_; lean_object* v_currMacroScope_465_; lean_object* v_cancelTk_x3f_466_; uint8_t v_suppressElabErrors_467_; lean_object* v_inheritedTraceOptions_468_; lean_object* v___x_470_; uint8_t v_isShared_471_; uint8_t v_isSharedCheck_482_; +v___x_455_ = lean_st_ref_get(v___y_454_); +v_fileName_456_ = lean_ctor_get(v___y_453_, 0); +v_fileMap_457_ = lean_ctor_get(v___y_453_, 1); +v_currRecDepth_458_ = lean_ctor_get(v___y_453_, 3); +v_ref_459_ = lean_ctor_get(v___y_453_, 5); +v_currNamespace_460_ = lean_ctor_get(v___y_453_, 6); +v_openDecls_461_ = lean_ctor_get(v___y_453_, 7); +v_initHeartbeats_462_ = lean_ctor_get(v___y_453_, 8); +v_maxHeartbeats_463_ = lean_ctor_get(v___y_453_, 9); +v_quotContext_464_ = lean_ctor_get(v___y_453_, 10); +v_currMacroScope_465_ = lean_ctor_get(v___y_453_, 11); +v_cancelTk_x3f_466_ = lean_ctor_get(v___y_453_, 12); +v_suppressElabErrors_467_ = lean_ctor_get_uint8(v___y_453_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_468_ = lean_ctor_get(v___y_453_, 13); +v_isSharedCheck_482_ = !lean_is_exclusive(v___y_453_); if (v_isSharedCheck_482_ == 0) { -v___x_477_ = v___x_458_; -v_isShared_478_ = v_isSharedCheck_482_; -goto v_resetjp_476_; +lean_object* v_unused_483_; lean_object* v_unused_484_; +v_unused_483_ = lean_ctor_get(v___y_453_, 4); +lean_dec(v_unused_483_); +v_unused_484_ = lean_ctor_get(v___y_453_, 2); +lean_dec(v_unused_484_); +v___x_470_ = v___y_453_; +v_isShared_471_ = v_isSharedCheck_482_; +goto v_resetjp_469_; } else { -lean_inc(v_a_475_); -lean_dec(v___x_458_); -v___x_477_ = lean_box(0); -v_isShared_478_ = v_isSharedCheck_482_; -goto v_resetjp_476_; +lean_inc(v_inheritedTraceOptions_468_); +lean_inc(v_cancelTk_x3f_466_); +lean_inc(v_currMacroScope_465_); +lean_inc(v_quotContext_464_); +lean_inc(v_maxHeartbeats_463_); +lean_inc(v_initHeartbeats_462_); +lean_inc(v_openDecls_461_); +lean_inc(v_currNamespace_460_); +lean_inc(v_ref_459_); +lean_inc(v_currRecDepth_458_); +lean_inc(v_fileMap_457_); +lean_inc(v_fileName_456_); +lean_dec(v___y_453_); +v___x_470_ = lean_box(0); +v_isShared_471_ = v_isSharedCheck_482_; +goto v_resetjp_469_; } -v_resetjp_476_: +v_resetjp_469_: { -lean_object* v___x_480_; -if (v_isShared_478_ == 0) +lean_object* v_env_472_; lean_object* v___x_473_; lean_object* v___x_474_; lean_object* v___x_476_; +v_env_472_ = lean_ctor_get(v___x_455_, 0); +lean_inc_ref(v_env_472_); +lean_dec(v___x_455_); +v___x_473_ = l_Lean_maxRecDepth; +v___x_474_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__3(v___y_449_, v___x_473_); +lean_inc_ref(v___y_449_); +if (v_isShared_471_ == 0) { -v___x_480_ = v___x_477_; -goto v_reusejp_479_; +lean_ctor_set(v___x_470_, 4, v___x_474_); +lean_ctor_set(v___x_470_, 2, v___y_449_); +v___x_476_ = v___x_470_; +goto v_reusejp_475_; } else { lean_object* v_reuseFailAlloc_481_; -v_reuseFailAlloc_481_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_481_, 0, v_a_475_); -v___x_480_ = v_reuseFailAlloc_481_; -goto v_reusejp_479_; +v_reuseFailAlloc_481_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_481_, 0, v_fileName_456_); +lean_ctor_set(v_reuseFailAlloc_481_, 1, v_fileMap_457_); +lean_ctor_set(v_reuseFailAlloc_481_, 2, v___y_449_); +lean_ctor_set(v_reuseFailAlloc_481_, 3, v_currRecDepth_458_); +lean_ctor_set(v_reuseFailAlloc_481_, 4, v___x_474_); +lean_ctor_set(v_reuseFailAlloc_481_, 5, v_ref_459_); +lean_ctor_set(v_reuseFailAlloc_481_, 6, v_currNamespace_460_); +lean_ctor_set(v_reuseFailAlloc_481_, 7, v_openDecls_461_); +lean_ctor_set(v_reuseFailAlloc_481_, 8, v_initHeartbeats_462_); +lean_ctor_set(v_reuseFailAlloc_481_, 9, v_maxHeartbeats_463_); +lean_ctor_set(v_reuseFailAlloc_481_, 10, v_quotContext_464_); +lean_ctor_set(v_reuseFailAlloc_481_, 11, v_currMacroScope_465_); +lean_ctor_set(v_reuseFailAlloc_481_, 12, v_cancelTk_x3f_466_); +lean_ctor_set(v_reuseFailAlloc_481_, 13, v_inheritedTraceOptions_468_); +lean_ctor_set_uint8(v_reuseFailAlloc_481_, sizeof(void*)*14 + 1, v_suppressElabErrors_467_); +v___x_476_ = v_reuseFailAlloc_481_; +goto v_reusejp_475_; } -v_reusejp_479_: +v_reusejp_475_: { -return v___x_480_; +lean_object* v___x_477_; lean_object* v___x_478_; uint8_t v___x_479_; uint8_t v___x_480_; +lean_ctor_set_uint8(v___x_476_, sizeof(void*)*14, v___y_443_); +v___x_477_ = l_Lean_Compiler_compiler_postponeCompile; +v___x_478_ = l_Lean_Option_set___at___00Lean_Meta_evalExprCore_spec__1(v___y_449_, v___x_477_, v___y_445_); +v___x_479_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__2(v___x_478_, v___y_452_); +v___x_480_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_472_); +lean_dec_ref(v_env_472_); +if (v___x_480_ == 0) +{ +if (v___x_479_ == 0) +{ +v___y_368_ = v___y_444_; +v___y_369_ = v___y_446_; +v___y_370_ = v___y_447_; +v___y_371_ = v___y_448_; +v___y_372_ = v___x_479_; +v___y_373_ = v___y_450_; +v___y_374_ = v___y_451_; +v___y_375_ = v___x_478_; +v___y_376_ = v___y_452_; +v___y_377_ = v___x_473_; +v___y_378_ = v___x_476_; +v___y_379_ = v___y_454_; +goto v___jp_367_; } +else +{ +v___y_410_ = v___y_454_; +v___y_411_ = v___y_444_; +v___y_412_ = v___y_448_; +v___y_413_ = v___y_450_; +v___y_414_ = v___y_451_; +v___y_415_ = v___x_478_; +v___y_416_ = v___y_446_; +v___y_417_ = v___y_447_; +v___y_418_ = v___x_479_; +v___y_419_ = v___x_476_; +v___y_420_ = v___y_452_; +v___y_421_ = v___x_473_; +v___y_422_ = v___x_480_; +goto v___jp_409_; +} +} +else +{ +v___y_410_ = v___y_454_; +v___y_411_ = v___y_444_; +v___y_412_ = v___y_448_; +v___y_413_ = v___y_450_; +v___y_414_ = v___y_451_; +v___y_415_ = v___x_478_; +v___y_416_ = v___y_446_; +v___y_417_ = v___y_447_; +v___y_418_ = v___x_479_; +v___y_419_ = v___x_476_; +v___y_420_ = v___y_452_; +v___y_421_ = v___x_473_; +v___y_422_ = v___x_479_; +goto v___jp_409_; +} +} +} +} +v___jp_485_: +{ +if (v___y_498_ == 0) +{ +lean_object* v___x_499_; lean_object* v_env_500_; lean_object* v_nextMacroScope_501_; lean_object* v_ngen_502_; lean_object* v_auxDeclNGen_503_; lean_object* v_traceState_504_; lean_object* v_messages_505_; lean_object* v_infoState_506_; lean_object* v_snapshotTasks_507_; lean_object* v___x_509_; uint8_t v_isShared_510_; uint8_t v_isSharedCheck_516_; +v___x_499_ = lean_st_ref_take(v___y_488_); +v_env_500_ = lean_ctor_get(v___x_499_, 0); +v_nextMacroScope_501_ = lean_ctor_get(v___x_499_, 1); +v_ngen_502_ = lean_ctor_get(v___x_499_, 2); +v_auxDeclNGen_503_ = lean_ctor_get(v___x_499_, 3); +v_traceState_504_ = lean_ctor_get(v___x_499_, 4); +v_messages_505_ = lean_ctor_get(v___x_499_, 6); +v_infoState_506_ = lean_ctor_get(v___x_499_, 7); +v_snapshotTasks_507_ = lean_ctor_get(v___x_499_, 8); +v_isSharedCheck_516_ = !lean_is_exclusive(v___x_499_); +if (v_isSharedCheck_516_ == 0) +{ +lean_object* v_unused_517_; +v_unused_517_ = lean_ctor_get(v___x_499_, 5); +lean_dec(v_unused_517_); +v___x_509_ = v___x_499_; +v_isShared_510_ = v_isSharedCheck_516_; +goto v_resetjp_508_; +} +else +{ +lean_inc(v_snapshotTasks_507_); +lean_inc(v_infoState_506_); +lean_inc(v_messages_505_); +lean_inc(v_traceState_504_); +lean_inc(v_auxDeclNGen_503_); +lean_inc(v_ngen_502_); +lean_inc(v_nextMacroScope_501_); +lean_inc(v_env_500_); +lean_dec(v___x_499_); +v___x_509_ = lean_box(0); +v_isShared_510_ = v_isSharedCheck_516_; +goto v_resetjp_508_; +} +v_resetjp_508_: +{ +lean_object* v___x_511_; lean_object* v___x_513_; +v___x_511_ = l_Lean_Kernel_enableDiag(v_env_500_, v___y_486_); +lean_inc_ref(v___y_495_); +if (v_isShared_510_ == 0) +{ +lean_ctor_set(v___x_509_, 5, v___y_495_); +lean_ctor_set(v___x_509_, 0, v___x_511_); +v___x_513_ = v___x_509_; +goto v_reusejp_512_; +} +else +{ +lean_object* v_reuseFailAlloc_515_; +v_reuseFailAlloc_515_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_515_, 0, v___x_511_); +lean_ctor_set(v_reuseFailAlloc_515_, 1, v_nextMacroScope_501_); +lean_ctor_set(v_reuseFailAlloc_515_, 2, v_ngen_502_); +lean_ctor_set(v_reuseFailAlloc_515_, 3, v_auxDeclNGen_503_); +lean_ctor_set(v_reuseFailAlloc_515_, 4, v_traceState_504_); +lean_ctor_set(v_reuseFailAlloc_515_, 5, v___y_495_); +lean_ctor_set(v_reuseFailAlloc_515_, 6, v_messages_505_); +lean_ctor_set(v_reuseFailAlloc_515_, 7, v_infoState_506_); +lean_ctor_set(v_reuseFailAlloc_515_, 8, v_snapshotTasks_507_); +v___x_513_ = v_reuseFailAlloc_515_; +goto v_reusejp_512_; +} +v_reusejp_512_: +{ +lean_object* v___x_514_; +v___x_514_ = lean_st_ref_set(v___y_488_, v___x_513_); +v___y_443_ = v___y_486_; +v___y_444_ = v___y_487_; +v___y_445_ = v___y_493_; +v___y_446_ = v___y_494_; +v___y_447_ = v___y_495_; +v___y_448_ = v___y_489_; +v___y_449_ = v___y_496_; +v___y_450_ = v___y_490_; +v___y_451_ = v___y_491_; +v___y_452_ = v___y_497_; +v___y_453_ = v___y_492_; +v___y_454_ = v___y_488_; +goto v___jp_442_; } } } else { -lean_object* v_a_483_; lean_object* v___x_485_; uint8_t v_isShared_486_; uint8_t v_isSharedCheck_490_; -lean_dec(v_a_452_); -lean_dec(v___y_450_); -lean_dec_ref(v___y_449_); -lean_dec(v___y_448_); -lean_dec_ref(v___y_447_); -lean_dec(v___y_446_); -lean_dec_ref(v___y_445_); -lean_dec_ref(v___y_444_); -lean_dec(v___y_443_); -v_a_483_ = lean_ctor_get(v___x_453_, 0); -v_isSharedCheck_490_ = !lean_is_exclusive(v___x_453_); -if (v_isSharedCheck_490_ == 0) +v___y_443_ = v___y_486_; +v___y_444_ = v___y_487_; +v___y_445_ = v___y_493_; +v___y_446_ = v___y_494_; +v___y_447_ = v___y_495_; +v___y_448_ = v___y_489_; +v___y_449_ = v___y_496_; +v___y_450_ = v___y_490_; +v___y_451_ = v___y_491_; +v___y_452_ = v___y_497_; +v___y_453_ = v___y_492_; +v___y_454_ = v___y_488_; +goto v___jp_442_; +} +} +v___jp_518_: { -v___x_485_ = v___x_453_; -v_isShared_486_ = v_isSharedCheck_490_; -goto v_resetjp_484_; +lean_object* v___x_527_; +lean_inc(v___y_526_); +lean_inc_ref(v___y_525_); +lean_inc(v___y_524_); +lean_inc_ref(v___y_523_); +lean_inc_ref(v___y_519_); +v___x_527_ = lean_infer_type(v___y_519_, v___y_523_, v___y_524_, v___y_525_, v___y_526_); +if (lean_obj_tag(v___x_527_) == 0) +{ +lean_object* v_a_528_; lean_object* v___x_529_; +v_a_528_ = lean_ctor_get(v___x_527_, 0); +lean_inc(v_a_528_); +lean_dec_ref(v___x_527_); +lean_inc(v___y_526_); +lean_inc_ref(v___y_525_); +lean_inc(v___y_524_); +lean_inc_ref(v___y_523_); +lean_inc(v_a_528_); +v___x_529_ = lean_apply_6(v_checkType_268_, v_a_528_, v___y_523_, v___y_524_, v___y_525_, v___y_526_, lean_box(0)); +if (lean_obj_tag(v___x_529_) == 0) +{ +lean_object* v___x_530_; lean_object* v_env_531_; lean_object* v_nextMacroScope_532_; lean_object* v_ngen_533_; lean_object* v_auxDeclNGen_534_; lean_object* v_traceState_535_; lean_object* v_messages_536_; lean_object* v_infoState_537_; lean_object* v_snapshotTasks_538_; lean_object* v___x_540_; uint8_t v_isShared_541_; uint8_t v_isSharedCheck_592_; +lean_dec_ref(v___x_529_); +v___x_530_ = lean_st_ref_take(v___y_526_); +v_env_531_ = lean_ctor_get(v___x_530_, 0); +v_nextMacroScope_532_ = lean_ctor_get(v___x_530_, 1); +v_ngen_533_ = lean_ctor_get(v___x_530_, 2); +v_auxDeclNGen_534_ = lean_ctor_get(v___x_530_, 3); +v_traceState_535_ = lean_ctor_get(v___x_530_, 4); +v_messages_536_ = lean_ctor_get(v___x_530_, 6); +v_infoState_537_ = lean_ctor_get(v___x_530_, 7); +v_snapshotTasks_538_ = lean_ctor_get(v___x_530_, 8); +v_isSharedCheck_592_ = !lean_is_exclusive(v___x_530_); +if (v_isSharedCheck_592_ == 0) +{ +lean_object* v_unused_593_; +v_unused_593_ = lean_ctor_get(v___x_530_, 5); +lean_dec(v_unused_593_); +v___x_540_ = v___x_530_; +v_isShared_541_ = v_isSharedCheck_592_; +goto v_resetjp_539_; } else { -lean_inc(v_a_483_); -lean_dec(v___x_453_); -v___x_485_ = lean_box(0); -v_isShared_486_ = v_isSharedCheck_490_; -goto v_resetjp_484_; +lean_inc(v_snapshotTasks_538_); +lean_inc(v_infoState_537_); +lean_inc(v_messages_536_); +lean_inc(v_traceState_535_); +lean_inc(v_auxDeclNGen_534_); +lean_inc(v_ngen_533_); +lean_inc(v_nextMacroScope_532_); +lean_inc(v_env_531_); +lean_dec(v___x_530_); +v___x_540_ = lean_box(0); +v_isShared_541_ = v_isSharedCheck_592_; +goto v_resetjp_539_; } -v_resetjp_484_: +v_resetjp_539_: { -lean_object* v___x_488_; -if (v_isShared_486_ == 0) +lean_object* v___x_542_; lean_object* v___x_543_; lean_object* v___x_544_; lean_object* v___x_545_; lean_object* v___x_546_; lean_object* v___x_548_; +v___x_542_ = lean_array_to_list(v___y_522_); +lean_inc(v___y_520_); +v___x_543_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_543_, 0, v___y_520_); +lean_ctor_set(v___x_543_, 1, v___x_542_); +lean_ctor_set(v___x_543_, 2, v_a_528_); +lean_inc(v___y_520_); +v___x_544_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_544_, 0, v___y_520_); +lean_ctor_set(v___x_544_, 1, v___y_521_); +lean_inc(v___y_520_); +v___x_545_ = l_Lean_markMeta(v_env_531_, v___y_520_); +v___x_546_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); +if (v_isShared_541_ == 0) { -v___x_488_ = v___x_485_; -goto v_reusejp_487_; +lean_ctor_set(v___x_540_, 5, v___x_546_); +lean_ctor_set(v___x_540_, 0, v___x_545_); +v___x_548_ = v___x_540_; +goto v_reusejp_547_; } else { -lean_object* v_reuseFailAlloc_489_; -v_reuseFailAlloc_489_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_489_, 0, v_a_483_); -v___x_488_ = v_reuseFailAlloc_489_; -goto v_reusejp_487_; +lean_object* v_reuseFailAlloc_591_; +v_reuseFailAlloc_591_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_591_, 0, v___x_545_); +lean_ctor_set(v_reuseFailAlloc_591_, 1, v_nextMacroScope_532_); +lean_ctor_set(v_reuseFailAlloc_591_, 2, v_ngen_533_); +lean_ctor_set(v_reuseFailAlloc_591_, 3, v_auxDeclNGen_534_); +lean_ctor_set(v_reuseFailAlloc_591_, 4, v_traceState_535_); +lean_ctor_set(v_reuseFailAlloc_591_, 5, v___x_546_); +lean_ctor_set(v_reuseFailAlloc_591_, 6, v_messages_536_); +lean_ctor_set(v_reuseFailAlloc_591_, 7, v_infoState_537_); +lean_ctor_set(v_reuseFailAlloc_591_, 8, v_snapshotTasks_538_); +v___x_548_ = v_reuseFailAlloc_591_; +goto v_reusejp_547_; } -v_reusejp_487_: +v_reusejp_547_: { -return v___x_488_; -} -} -} +lean_object* v___x_549_; lean_object* v___x_550_; lean_object* v_mctx_551_; lean_object* v_zetaDeltaFVarIds_552_; lean_object* v_postponed_553_; lean_object* v_diag_554_; lean_object* v___x_556_; uint8_t v_isShared_557_; uint8_t v_isSharedCheck_589_; +v___x_549_ = lean_st_ref_set(v___y_526_, v___x_548_); +v___x_550_ = lean_st_ref_take(v___y_524_); +v_mctx_551_ = lean_ctor_get(v___x_550_, 0); +v_zetaDeltaFVarIds_552_ = lean_ctor_get(v___x_550_, 2); +v_postponed_553_ = lean_ctor_get(v___x_550_, 3); +v_diag_554_ = lean_ctor_get(v___x_550_, 4); +v_isSharedCheck_589_ = !lean_is_exclusive(v___x_550_); +if (v_isSharedCheck_589_ == 0) +{ +lean_object* v_unused_590_; +v_unused_590_ = lean_ctor_get(v___x_550_, 1); +lean_dec(v_unused_590_); +v___x_556_ = v___x_550_; +v_isShared_557_ = v_isSharedCheck_589_; +goto v_resetjp_555_; } else { -lean_object* v_a_491_; lean_object* v___x_493_; uint8_t v_isShared_494_; uint8_t v_isSharedCheck_498_; -lean_dec(v___y_450_); -lean_dec_ref(v___y_449_); -lean_dec(v___y_448_); -lean_dec_ref(v___y_447_); -lean_dec(v___y_446_); -lean_dec_ref(v___y_445_); -lean_dec_ref(v___y_444_); -lean_dec(v___y_443_); -lean_dec_ref(v_checkType_268_); -v_a_491_ = lean_ctor_get(v___x_451_, 0); -v_isSharedCheck_498_ = !lean_is_exclusive(v___x_451_); -if (v_isSharedCheck_498_ == 0) +lean_inc(v_diag_554_); +lean_inc(v_postponed_553_); +lean_inc(v_zetaDeltaFVarIds_552_); +lean_inc(v_mctx_551_); +lean_dec(v___x_550_); +v___x_556_ = lean_box(0); +v_isShared_557_ = v_isSharedCheck_589_; +goto v_resetjp_555_; +} +v_resetjp_555_: { -v___x_493_ = v___x_451_; -v_isShared_494_ = v_isSharedCheck_498_; -goto v_resetjp_492_; +lean_object* v___x_558_; lean_object* v___x_560_; +v___x_558_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3); +if (v_isShared_557_ == 0) +{ +lean_ctor_set(v___x_556_, 1, v___x_558_); +v___x_560_ = v___x_556_; +goto v_reusejp_559_; } else { -lean_inc(v_a_491_); -lean_dec(v___x_451_); -v___x_493_ = lean_box(0); -v_isShared_494_ = v_isSharedCheck_498_; -goto v_resetjp_492_; +lean_object* v_reuseFailAlloc_588_; +v_reuseFailAlloc_588_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_588_, 0, v_mctx_551_); +lean_ctor_set(v_reuseFailAlloc_588_, 1, v___x_558_); +lean_ctor_set(v_reuseFailAlloc_588_, 2, v_zetaDeltaFVarIds_552_); +lean_ctor_set(v_reuseFailAlloc_588_, 3, v_postponed_553_); +lean_ctor_set(v_reuseFailAlloc_588_, 4, v_diag_554_); +v___x_560_ = v_reuseFailAlloc_588_; +goto v_reusejp_559_; } -v_resetjp_492_: +v_reusejp_559_: { -lean_object* v___x_496_; -if (v_isShared_494_ == 0) +lean_object* v___x_561_; lean_object* v___x_562_; lean_object* v_env_563_; lean_object* v_checked_564_; lean_object* v___x_565_; lean_object* v___x_566_; +v___x_561_ = lean_st_ref_set(v___y_524_, v___x_560_); +v___x_562_ = lean_st_ref_get(v___y_526_); +v_env_563_ = lean_ctor_get(v___x_562_, 0); +lean_inc_ref(v_env_563_); +lean_dec(v___x_562_); +v_checked_564_ = lean_ctor_get(v_env_563_, 2); +lean_inc_ref(v_checked_564_); +lean_dec_ref(v_env_563_); +v___x_565_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__4)); +lean_inc(v___y_526_); +lean_inc_ref(v___y_525_); +v___x_566_ = l_Lean_traceBlock___redArg(v___x_565_, v_checked_564_, v___y_525_, v___y_526_); +if (lean_obj_tag(v___x_566_) == 0) { -v___x_496_ = v___x_493_; -goto v_reusejp_495_; -} -else +lean_object* v___x_567_; lean_object* v_options_568_; lean_object* v_env_569_; lean_object* v___x_570_; lean_object* v___x_571_; lean_object* v___x_572_; uint8_t v___x_573_; lean_object* v___x_574_; uint8_t v___x_575_; lean_object* v___x_576_; lean_object* v___x_577_; uint8_t v___x_578_; uint8_t v___x_579_; +lean_dec_ref(v___x_566_); +v___x_567_ = lean_st_ref_get(v___y_526_); +v_options_568_ = lean_ctor_get(v___y_525_, 2); +v_env_569_ = lean_ctor_get(v___x_567_, 0); +lean_inc_ref(v_env_569_); +lean_dec(v___x_567_); +v___x_570_ = lean_box(0); +v___x_571_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_571_, 0, v___x_543_); +lean_ctor_set(v___x_571_, 1, v___y_519_); +lean_ctor_set(v___x_571_, 2, v___x_570_); +lean_ctor_set(v___x_571_, 3, v___x_544_); +lean_ctor_set_uint8(v___x_571_, sizeof(void*)*4, v_safety_269_); +v___x_572_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_572_, 0, v___x_571_); +v___x_573_ = 1; +v___x_574_ = l_Lean_Elab_async; +v___x_575_ = 0; +lean_inc_ref(v_options_568_); +v___x_576_ = l_Lean_Option_set___at___00Lean_Meta_evalExprCore_spec__1(v_options_568_, v___x_574_, v___x_575_); +v___x_577_ = l_Lean_diagnostics; +v___x_578_ = l_Lean_Option_get___at___00Lean_Meta_evalExprCore_spec__2(v___x_576_, v___x_577_); +v___x_579_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_569_); +lean_dec_ref(v_env_569_); +if (v___x_579_ == 0) { -lean_object* v_reuseFailAlloc_497_; -v_reuseFailAlloc_497_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_497_, 0, v_a_491_); -v___x_496_ = v_reuseFailAlloc_497_; -goto v_reusejp_495_; -} -v_reusejp_495_: +if (v___x_578_ == 0) { -return v___x_496_; -} -} -} -} -v___jp_499_: -{ -lean_object* v___x_504_; lean_object* v___x_505_; -v___x_504_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__5)); -lean_inc(v___y_503_); -lean_inc_ref(v___y_502_); -v___x_505_ = l_Lean_Core_mkFreshUserName(v___x_504_, v___y_502_, v___y_503_); -if (lean_obj_tag(v___x_505_) == 0) -{ -lean_object* v_a_506_; lean_object* v___x_507_; -v_a_506_ = lean_ctor_get(v___x_505_, 0); -lean_inc(v_a_506_); -lean_dec_ref(v___x_505_); -v___x_507_ = l_Lean_instantiateMVars___at___00Lean_Meta_evalExprCore_spec__0___redArg(v_value_270_, v___y_501_); -if (lean_obj_tag(v___x_507_) == 0) -{ -lean_object* v_a_508_; lean_object* v___x_509_; lean_object* v___x_510_; lean_object* v_params_511_; lean_object* v___x_512_; uint8_t v___x_513_; -v_a_508_ = lean_ctor_get(v___x_507_, 0); -lean_inc(v_a_508_); -lean_dec_ref(v___x_507_); -v___x_509_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__9); -lean_inc(v_a_508_); -v___x_510_ = l_Lean_collectLevelParams(v___x_509_, v_a_508_); -v_params_511_ = lean_ctor_get(v___x_510_, 2); -lean_inc_ref(v_params_511_); -lean_dec_ref(v___x_510_); -v___x_512_ = lean_box(0); -v___x_513_ = l_Lean_Expr_hasMVar(v_a_508_); -if (v___x_513_ == 0) -{ -v___y_443_ = v_a_506_; -v___y_444_ = v_params_511_; -v___y_445_ = v_a_508_; -v___y_446_ = v___x_512_; -v___y_447_ = v___y_500_; -v___y_448_ = v___y_501_; -v___y_449_ = v___y_502_; -v___y_450_ = v___y_503_; +v___y_443_ = v___x_578_; +v___y_444_ = v___y_524_; +v___y_445_ = v___x_575_; +v___y_446_ = v___y_520_; +v___y_447_ = v___x_546_; +v___y_448_ = v___x_572_; +v___y_449_ = v___x_576_; +v___y_450_ = v___x_573_; +v___y_451_ = v___y_523_; +v___y_452_ = v___x_577_; +v___y_453_ = v___y_525_; +v___y_454_ = v___y_526_; goto v___jp_442_; } else { -lean_object* v___x_514_; lean_object* v___x_515_; lean_object* v___x_516_; lean_object* v___x_517_; -v___x_514_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__11); -lean_inc(v_a_508_); -v___x_515_ = l_Lean_indentExpr(v_a_508_); -v___x_516_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_516_, 0, v___x_514_); -lean_ctor_set(v___x_516_, 1, v___x_515_); -v___x_517_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_516_, v___y_500_, v___y_501_, v___y_502_, v___y_503_); -if (lean_obj_tag(v___x_517_) == 0) -{ -lean_dec_ref(v___x_517_); -v___y_443_ = v_a_506_; -v___y_444_ = v_params_511_; -v___y_445_ = v_a_508_; -v___y_446_ = v___x_512_; -v___y_447_ = v___y_500_; -v___y_448_ = v___y_501_; -v___y_449_ = v___y_502_; -v___y_450_ = v___y_503_; -goto v___jp_442_; +v___y_486_ = v___x_578_; +v___y_487_ = v___y_524_; +v___y_488_ = v___y_526_; +v___y_489_ = v___x_572_; +v___y_490_ = v___x_573_; +v___y_491_ = v___y_523_; +v___y_492_ = v___y_525_; +v___y_493_ = v___x_575_; +v___y_494_ = v___y_520_; +v___y_495_ = v___x_546_; +v___y_496_ = v___x_576_; +v___y_497_ = v___x_577_; +v___y_498_ = v___x_579_; +goto v___jp_485_; +} } else { -lean_object* v_a_518_; lean_object* v___x_520_; uint8_t v_isShared_521_; uint8_t v_isSharedCheck_525_; -lean_dec_ref(v_params_511_); -lean_dec(v_a_508_); -lean_dec(v_a_506_); -lean_dec(v___y_503_); -lean_dec_ref(v___y_502_); -lean_dec(v___y_501_); -lean_dec_ref(v___y_500_); +v___y_486_ = v___x_578_; +v___y_487_ = v___y_524_; +v___y_488_ = v___y_526_; +v___y_489_ = v___x_572_; +v___y_490_ = v___x_573_; +v___y_491_ = v___y_523_; +v___y_492_ = v___y_525_; +v___y_493_ = v___x_575_; +v___y_494_ = v___y_520_; +v___y_495_ = v___x_546_; +v___y_496_ = v___x_576_; +v___y_497_ = v___x_577_; +v___y_498_ = v___x_578_; +goto v___jp_485_; +} +} +else +{ +lean_object* v_a_580_; lean_object* v___x_582_; uint8_t v_isShared_583_; uint8_t v_isSharedCheck_587_; +lean_dec_ref(v___x_544_); +lean_dec_ref(v___x_543_); +lean_dec(v___y_526_); +lean_dec_ref(v___y_525_); +lean_dec(v___y_524_); +lean_dec_ref(v___y_523_); +lean_dec(v___y_520_); +lean_dec_ref(v___y_519_); +v_a_580_ = lean_ctor_get(v___x_566_, 0); +v_isSharedCheck_587_ = !lean_is_exclusive(v___x_566_); +if (v_isSharedCheck_587_ == 0) +{ +v___x_582_ = v___x_566_; +v_isShared_583_ = v_isSharedCheck_587_; +goto v_resetjp_581_; +} +else +{ +lean_inc(v_a_580_); +lean_dec(v___x_566_); +v___x_582_ = lean_box(0); +v_isShared_583_ = v_isSharedCheck_587_; +goto v_resetjp_581_; +} +v_resetjp_581_: +{ +lean_object* v___x_585_; +if (v_isShared_583_ == 0) +{ +v___x_585_ = v___x_582_; +goto v_reusejp_584_; +} +else +{ +lean_object* v_reuseFailAlloc_586_; +v_reuseFailAlloc_586_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_586_, 0, v_a_580_); +v___x_585_ = v_reuseFailAlloc_586_; +goto v_reusejp_584_; +} +v_reusejp_584_: +{ +return v___x_585_; +} +} +} +} +} +} +} +} +else +{ +lean_object* v_a_594_; lean_object* v___x_596_; uint8_t v_isShared_597_; uint8_t v_isSharedCheck_601_; +lean_dec(v_a_528_); +lean_dec(v___y_526_); +lean_dec_ref(v___y_525_); +lean_dec(v___y_524_); +lean_dec_ref(v___y_523_); +lean_dec_ref(v___y_522_); +lean_dec(v___y_521_); +lean_dec(v___y_520_); +lean_dec_ref(v___y_519_); +v_a_594_ = lean_ctor_get(v___x_529_, 0); +v_isSharedCheck_601_ = !lean_is_exclusive(v___x_529_); +if (v_isSharedCheck_601_ == 0) +{ +v___x_596_ = v___x_529_; +v_isShared_597_ = v_isSharedCheck_601_; +goto v_resetjp_595_; +} +else +{ +lean_inc(v_a_594_); +lean_dec(v___x_529_); +v___x_596_ = lean_box(0); +v_isShared_597_ = v_isSharedCheck_601_; +goto v_resetjp_595_; +} +v_resetjp_595_: +{ +lean_object* v___x_599_; +if (v_isShared_597_ == 0) +{ +v___x_599_ = v___x_596_; +goto v_reusejp_598_; +} +else +{ +lean_object* v_reuseFailAlloc_600_; +v_reuseFailAlloc_600_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_600_, 0, v_a_594_); +v___x_599_ = v_reuseFailAlloc_600_; +goto v_reusejp_598_; +} +v_reusejp_598_: +{ +return v___x_599_; +} +} +} +} +else +{ +lean_object* v_a_602_; lean_object* v___x_604_; uint8_t v_isShared_605_; uint8_t v_isSharedCheck_609_; +lean_dec(v___y_526_); +lean_dec_ref(v___y_525_); +lean_dec(v___y_524_); +lean_dec_ref(v___y_523_); +lean_dec_ref(v___y_522_); +lean_dec(v___y_521_); +lean_dec(v___y_520_); +lean_dec_ref(v___y_519_); lean_dec_ref(v_checkType_268_); -v_a_518_ = lean_ctor_get(v___x_517_, 0); -v_isSharedCheck_525_ = !lean_is_exclusive(v___x_517_); -if (v_isSharedCheck_525_ == 0) +v_a_602_ = lean_ctor_get(v___x_527_, 0); +v_isSharedCheck_609_ = !lean_is_exclusive(v___x_527_); +if (v_isSharedCheck_609_ == 0) { -v___x_520_ = v___x_517_; -v_isShared_521_ = v_isSharedCheck_525_; -goto v_resetjp_519_; +v___x_604_ = v___x_527_; +v_isShared_605_ = v_isSharedCheck_609_; +goto v_resetjp_603_; } else { -lean_inc(v_a_518_); -lean_dec(v___x_517_); -v___x_520_ = lean_box(0); -v_isShared_521_ = v_isSharedCheck_525_; -goto v_resetjp_519_; +lean_inc(v_a_602_); +lean_dec(v___x_527_); +v___x_604_ = lean_box(0); +v_isShared_605_ = v_isSharedCheck_609_; +goto v_resetjp_603_; } -v_resetjp_519_: +v_resetjp_603_: { -lean_object* v___x_523_; -if (v_isShared_521_ == 0) +lean_object* v___x_607_; +if (v_isShared_605_ == 0) { -v___x_523_ = v___x_520_; -goto v_reusejp_522_; +v___x_607_ = v___x_604_; +goto v_reusejp_606_; } else { -lean_object* v_reuseFailAlloc_524_; -v_reuseFailAlloc_524_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_524_, 0, v_a_518_); -v___x_523_ = v_reuseFailAlloc_524_; -goto v_reusejp_522_; +lean_object* v_reuseFailAlloc_608_; +v_reuseFailAlloc_608_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_608_, 0, v_a_602_); +v___x_607_ = v_reuseFailAlloc_608_; +goto v_reusejp_606_; } -v_reusejp_522_: +v_reusejp_606_: { -return v___x_523_; +return v___x_607_; } } } } +v___jp_610_: +{ +lean_object* v___x_615_; lean_object* v___x_616_; lean_object* v___x_617_; +v___x_615_ = lean_st_ref_get(v___y_614_); +v___x_616_ = ((lean_object*)(l_Lean_Meta_evalExprCore___redArg___lam__0___closed__6)); +lean_inc(v___y_614_); +lean_inc_ref(v___y_613_); +v___x_617_ = l_Lean_Core_mkFreshUserName(v___x_616_, v___y_613_, v___y_614_); +if (lean_obj_tag(v___x_617_) == 0) +{ +lean_object* v_a_618_; lean_object* v___x_619_; +v_a_618_ = lean_ctor_get(v___x_617_, 0); +lean_inc(v_a_618_); +lean_dec_ref(v___x_617_); +v___x_619_ = l_Lean_instantiateMVars___at___00Lean_Meta_evalExprCore_spec__0___redArg(v_value_270_, v___y_612_); +if (lean_obj_tag(v___x_619_) == 0) +{ +lean_object* v_a_620_; lean_object* v_env_621_; lean_object* v___x_622_; lean_object* v___x_623_; lean_object* v_params_624_; lean_object* v___x_625_; lean_object* v___x_626_; uint8_t v___x_627_; +v_a_620_ = lean_ctor_get(v___x_619_, 0); +lean_inc(v_a_620_); +lean_dec_ref(v___x_619_); +v_env_621_ = lean_ctor_get(v___x_615_, 0); +lean_inc_ref(v_env_621_); +lean_dec(v___x_615_); +v___x_622_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__10); +lean_inc(v_a_620_); +v___x_623_ = l_Lean_collectLevelParams(v___x_622_, v_a_620_); +v_params_624_ = lean_ctor_get(v___x_623_, 2); +lean_inc_ref(v_params_624_); +lean_dec_ref(v___x_623_); +v___x_625_ = l_Lean_mkPrivateName(v_env_621_, v_a_618_); +lean_dec_ref(v_env_621_); +v___x_626_ = lean_box(0); +v___x_627_ = l_Lean_Expr_hasMVar(v_a_620_); +if (v___x_627_ == 0) +{ +v___y_519_ = v_a_620_; +v___y_520_ = v___x_625_; +v___y_521_ = v___x_626_; +v___y_522_ = v_params_624_; +v___y_523_ = v___y_611_; +v___y_524_ = v___y_612_; +v___y_525_ = v___y_613_; +v___y_526_ = v___y_614_; +goto v___jp_518_; } else { -lean_object* v_a_526_; lean_object* v___x_528_; uint8_t v_isShared_529_; uint8_t v_isSharedCheck_533_; -lean_dec(v_a_506_); -lean_dec(v___y_503_); -lean_dec_ref(v___y_502_); -lean_dec(v___y_501_); -lean_dec_ref(v___y_500_); +lean_object* v___x_628_; lean_object* v___x_629_; lean_object* v___x_630_; lean_object* v___x_631_; +v___x_628_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12); +lean_inc(v_a_620_); +v___x_629_ = l_Lean_indentExpr(v_a_620_); +v___x_630_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_630_, 0, v___x_628_); +lean_ctor_set(v___x_630_, 1, v___x_629_); +v___x_631_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_630_, v___y_611_, v___y_612_, v___y_613_, v___y_614_); +if (lean_obj_tag(v___x_631_) == 0) +{ +lean_dec_ref(v___x_631_); +v___y_519_ = v_a_620_; +v___y_520_ = v___x_625_; +v___y_521_ = v___x_626_; +v___y_522_ = v_params_624_; +v___y_523_ = v___y_611_; +v___y_524_ = v___y_612_; +v___y_525_ = v___y_613_; +v___y_526_ = v___y_614_; +goto v___jp_518_; +} +else +{ +lean_object* v_a_632_; lean_object* v___x_634_; uint8_t v_isShared_635_; uint8_t v_isSharedCheck_639_; +lean_dec(v___x_625_); +lean_dec_ref(v_params_624_); +lean_dec(v_a_620_); +lean_dec(v___y_614_); +lean_dec_ref(v___y_613_); +lean_dec(v___y_612_); +lean_dec_ref(v___y_611_); lean_dec_ref(v_checkType_268_); -v_a_526_ = lean_ctor_get(v___x_507_, 0); -v_isSharedCheck_533_ = !lean_is_exclusive(v___x_507_); -if (v_isSharedCheck_533_ == 0) -{ -v___x_528_ = v___x_507_; -v_isShared_529_ = v_isSharedCheck_533_; -goto v_resetjp_527_; -} -else -{ -lean_inc(v_a_526_); -lean_dec(v___x_507_); -v___x_528_ = lean_box(0); -v_isShared_529_ = v_isSharedCheck_533_; -goto v_resetjp_527_; -} -v_resetjp_527_: -{ -lean_object* v___x_531_; -if (v_isShared_529_ == 0) -{ -v___x_531_ = v___x_528_; -goto v_reusejp_530_; -} -else -{ -lean_object* v_reuseFailAlloc_532_; -v_reuseFailAlloc_532_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_532_, 0, v_a_526_); -v___x_531_ = v_reuseFailAlloc_532_; -goto v_reusejp_530_; -} -v_reusejp_530_: -{ -return v___x_531_; -} -} -} -} -else -{ -lean_object* v_a_534_; lean_object* v___x_536_; uint8_t v_isShared_537_; uint8_t v_isSharedCheck_541_; -lean_dec(v___y_503_); -lean_dec_ref(v___y_502_); -lean_dec(v___y_501_); -lean_dec_ref(v___y_500_); -lean_dec_ref(v_value_270_); -lean_dec_ref(v_checkType_268_); -v_a_534_ = lean_ctor_get(v___x_505_, 0); -v_isSharedCheck_541_ = !lean_is_exclusive(v___x_505_); -if (v_isSharedCheck_541_ == 0) -{ -v___x_536_ = v___x_505_; -v_isShared_537_ = v_isSharedCheck_541_; -goto v_resetjp_535_; -} -else -{ -lean_inc(v_a_534_); -lean_dec(v___x_505_); -v___x_536_ = lean_box(0); -v_isShared_537_ = v_isSharedCheck_541_; -goto v_resetjp_535_; -} -v_resetjp_535_: -{ -lean_object* v___x_539_; -if (v_isShared_537_ == 0) -{ -v___x_539_ = v___x_536_; -goto v_reusejp_538_; -} -else -{ -lean_object* v_reuseFailAlloc_540_; -v_reuseFailAlloc_540_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_540_, 0, v_a_534_); -v___x_539_ = v_reuseFailAlloc_540_; -goto v_reusejp_538_; -} -v_reusejp_538_: -{ -return v___x_539_; -} -} -} -} -v___jp_542_: -{ -lean_object* v___x_551_; lean_object* v___x_552_; lean_object* v___x_553_; lean_object* v___x_554_; lean_object* v_mctx_555_; lean_object* v_zetaDeltaFVarIds_556_; lean_object* v_postponed_557_; lean_object* v_diag_558_; lean_object* v___x_560_; uint8_t v_isShared_561_; uint8_t v_isSharedCheck_567_; -v___x_551_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); -v___x_552_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_552_, 0, v___y_550_); -lean_ctor_set(v___x_552_, 1, v_nextMacroScope_543_); -lean_ctor_set(v___x_552_, 2, v_ngen_544_); -lean_ctor_set(v___x_552_, 3, v_auxDeclNGen_545_); -lean_ctor_set(v___x_552_, 4, v_traceState_546_); -lean_ctor_set(v___x_552_, 5, v___x_551_); -lean_ctor_set(v___x_552_, 6, v_messages_547_); -lean_ctor_set(v___x_552_, 7, v_infoState_548_); -lean_ctor_set(v___x_552_, 8, v_snapshotTasks_549_); -v___x_553_ = lean_st_ref_set(v___y_274_, v___x_552_); -v___x_554_ = lean_st_ref_take(v___y_272_); -v_mctx_555_ = lean_ctor_get(v___x_554_, 0); -v_zetaDeltaFVarIds_556_ = lean_ctor_get(v___x_554_, 2); -v_postponed_557_ = lean_ctor_get(v___x_554_, 3); -v_diag_558_ = lean_ctor_get(v___x_554_, 4); -v_isSharedCheck_567_ = !lean_is_exclusive(v___x_554_); -if (v_isSharedCheck_567_ == 0) -{ -lean_object* v_unused_568_; -v_unused_568_ = lean_ctor_get(v___x_554_, 1); -lean_dec(v_unused_568_); -v___x_560_ = v___x_554_; -v_isShared_561_ = v_isSharedCheck_567_; -goto v_resetjp_559_; -} -else -{ -lean_inc(v_diag_558_); -lean_inc(v_postponed_557_); -lean_inc(v_zetaDeltaFVarIds_556_); -lean_inc(v_mctx_555_); -lean_dec(v___x_554_); -v___x_560_ = lean_box(0); -v_isShared_561_ = v_isSharedCheck_567_; -goto v_resetjp_559_; -} -v_resetjp_559_: -{ -lean_object* v___x_562_; lean_object* v___x_564_; -v___x_562_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12); -if (v_isShared_561_ == 0) -{ -lean_ctor_set(v___x_560_, 1, v___x_562_); -v___x_564_ = v___x_560_; -goto v_reusejp_563_; -} -else -{ -lean_object* v_reuseFailAlloc_566_; -v_reuseFailAlloc_566_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_566_, 0, v_mctx_555_); -lean_ctor_set(v_reuseFailAlloc_566_, 1, v___x_562_); -lean_ctor_set(v_reuseFailAlloc_566_, 2, v_zetaDeltaFVarIds_556_); -lean_ctor_set(v_reuseFailAlloc_566_, 3, v_postponed_557_); -lean_ctor_set(v_reuseFailAlloc_566_, 4, v_diag_558_); -v___x_564_ = v_reuseFailAlloc_566_; -goto v_reusejp_563_; -} -v_reusejp_563_: -{ -lean_object* v___x_565_; -v___x_565_ = lean_st_ref_set(v___y_272_, v___x_564_); -v___y_500_ = v___y_271_; -v___y_501_ = v___y_272_; -v___y_502_ = v___y_273_; -v___y_503_ = v___y_274_; -goto v___jp_499_; -} -} -} -v___jp_570_: -{ -lean_object* v___x_571_; lean_object* v_env_572_; lean_object* v_nextMacroScope_573_; lean_object* v_ngen_574_; lean_object* v_auxDeclNGen_575_; lean_object* v_traceState_576_; lean_object* v_messages_577_; lean_object* v_infoState_578_; lean_object* v_snapshotTasks_579_; lean_object* v___x_580_; -v___x_571_ = lean_st_ref_take(v___y_274_); -v_env_572_ = lean_ctor_get(v___x_571_, 0); -lean_inc_ref(v_env_572_); -v_nextMacroScope_573_ = lean_ctor_get(v___x_571_, 1); -lean_inc(v_nextMacroScope_573_); -v_ngen_574_ = lean_ctor_get(v___x_571_, 2); -lean_inc_ref(v_ngen_574_); -v_auxDeclNGen_575_ = lean_ctor_get(v___x_571_, 3); -lean_inc_ref(v_auxDeclNGen_575_); -v_traceState_576_ = lean_ctor_get(v___x_571_, 4); -lean_inc_ref(v_traceState_576_); -v_messages_577_ = lean_ctor_get(v___x_571_, 6); -lean_inc_ref(v_messages_577_); -v_infoState_578_ = lean_ctor_get(v___x_571_, 7); -lean_inc_ref(v_infoState_578_); -v_snapshotTasks_579_ = lean_ctor_get(v___x_571_, 8); -lean_inc_ref(v_snapshotTasks_579_); -lean_dec(v___x_571_); -lean_inc_ref(v_env_572_); -v___x_580_ = l_Lean_Environment_importEnv_x3f(v_env_572_); -if (lean_obj_tag(v___x_580_) == 0) -{ -v_nextMacroScope_543_ = v_nextMacroScope_573_; -v_ngen_544_ = v_ngen_574_; -v_auxDeclNGen_545_ = v_auxDeclNGen_575_; -v_traceState_546_ = v_traceState_576_; -v_messages_547_ = v_messages_577_; -v_infoState_548_ = v_infoState_578_; -v_snapshotTasks_549_ = v_snapshotTasks_579_; -v___y_550_ = v_env_572_; -goto v___jp_542_; -} -else -{ -lean_object* v_val_581_; -lean_dec_ref(v_env_572_); -v_val_581_ = lean_ctor_get(v___x_580_, 0); -lean_inc(v_val_581_); -lean_dec_ref(v___x_580_); -v_nextMacroScope_543_ = v_nextMacroScope_573_; -v_ngen_544_ = v_ngen_574_; -v_auxDeclNGen_545_ = v_auxDeclNGen_575_; -v_traceState_546_ = v_traceState_576_; -v_messages_547_ = v_messages_577_; -v_infoState_548_ = v_infoState_578_; -v_snapshotTasks_549_ = v_snapshotTasks_579_; -v___y_550_ = v_val_581_; -goto v___jp_542_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___boxed(lean_object* v_checkMeta_590_, lean_object* v_checkType_591_, lean_object* v_safety_592_, lean_object* v_value_593_, lean_object* v___y_594_, lean_object* v___y_595_, lean_object* v___y_596_, lean_object* v___y_597_, lean_object* v___y_598_){ -_start: -{ -uint8_t v_checkMeta_boxed_599_; uint8_t v_safety_boxed_600_; lean_object* v_res_601_; -v_checkMeta_boxed_599_ = lean_unbox(v_checkMeta_590_); -v_safety_boxed_600_ = lean_unbox(v_safety_592_); -v_res_601_ = l_Lean_Meta_evalExprCore___redArg___lam__0(v_checkMeta_boxed_599_, v_checkType_591_, v_safety_boxed_600_, v_value_593_, v___y_594_, v___y_595_, v___y_596_, v___y_597_); -return v_res_601_; -} -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(lean_object* v_env_602_, lean_object* v___y_603_, lean_object* v___y_604_){ -_start: -{ -lean_object* v___x_606_; lean_object* v_nextMacroScope_607_; lean_object* v_ngen_608_; lean_object* v_auxDeclNGen_609_; lean_object* v_traceState_610_; lean_object* v_messages_611_; lean_object* v_infoState_612_; lean_object* v_snapshotTasks_613_; lean_object* v___x_615_; uint8_t v_isShared_616_; uint8_t v_isSharedCheck_639_; -v___x_606_ = lean_st_ref_take(v___y_604_); -v_nextMacroScope_607_ = lean_ctor_get(v___x_606_, 1); -v_ngen_608_ = lean_ctor_get(v___x_606_, 2); -v_auxDeclNGen_609_ = lean_ctor_get(v___x_606_, 3); -v_traceState_610_ = lean_ctor_get(v___x_606_, 4); -v_messages_611_ = lean_ctor_get(v___x_606_, 6); -v_infoState_612_ = lean_ctor_get(v___x_606_, 7); -v_snapshotTasks_613_ = lean_ctor_get(v___x_606_, 8); -v_isSharedCheck_639_ = !lean_is_exclusive(v___x_606_); +v_a_632_ = lean_ctor_get(v___x_631_, 0); +v_isSharedCheck_639_ = !lean_is_exclusive(v___x_631_); if (v_isSharedCheck_639_ == 0) { -lean_object* v_unused_640_; lean_object* v_unused_641_; -v_unused_640_ = lean_ctor_get(v___x_606_, 5); -lean_dec(v_unused_640_); -v_unused_641_ = lean_ctor_get(v___x_606_, 0); -lean_dec(v_unused_641_); -v___x_615_ = v___x_606_; -v_isShared_616_ = v_isSharedCheck_639_; -goto v_resetjp_614_; +v___x_634_ = v___x_631_; +v_isShared_635_ = v_isSharedCheck_639_; +goto v_resetjp_633_; } else { -lean_inc(v_snapshotTasks_613_); -lean_inc(v_infoState_612_); -lean_inc(v_messages_611_); -lean_inc(v_traceState_610_); -lean_inc(v_auxDeclNGen_609_); -lean_inc(v_ngen_608_); -lean_inc(v_nextMacroScope_607_); -lean_dec(v___x_606_); -v___x_615_ = lean_box(0); -v_isShared_616_ = v_isSharedCheck_639_; -goto v_resetjp_614_; +lean_inc(v_a_632_); +lean_dec(v___x_631_); +v___x_634_ = lean_box(0); +v_isShared_635_ = v_isSharedCheck_639_; +goto v_resetjp_633_; } -v_resetjp_614_: +v_resetjp_633_: { -lean_object* v___x_617_; lean_object* v___x_619_; -v___x_617_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); -if (v_isShared_616_ == 0) +lean_object* v___x_637_; +if (v_isShared_635_ == 0) { -lean_ctor_set(v___x_615_, 5, v___x_617_); -lean_ctor_set(v___x_615_, 0, v_env_602_); -v___x_619_ = v___x_615_; -goto v_reusejp_618_; +v___x_637_ = v___x_634_; +goto v_reusejp_636_; } else { lean_object* v_reuseFailAlloc_638_; -v_reuseFailAlloc_638_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_638_, 0, v_env_602_); -lean_ctor_set(v_reuseFailAlloc_638_, 1, v_nextMacroScope_607_); -lean_ctor_set(v_reuseFailAlloc_638_, 2, v_ngen_608_); -lean_ctor_set(v_reuseFailAlloc_638_, 3, v_auxDeclNGen_609_); -lean_ctor_set(v_reuseFailAlloc_638_, 4, v_traceState_610_); -lean_ctor_set(v_reuseFailAlloc_638_, 5, v___x_617_); -lean_ctor_set(v_reuseFailAlloc_638_, 6, v_messages_611_); -lean_ctor_set(v_reuseFailAlloc_638_, 7, v_infoState_612_); -lean_ctor_set(v_reuseFailAlloc_638_, 8, v_snapshotTasks_613_); -v___x_619_ = v_reuseFailAlloc_638_; -goto v_reusejp_618_; +v_reuseFailAlloc_638_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_638_, 0, v_a_632_); +v___x_637_ = v_reuseFailAlloc_638_; +goto v_reusejp_636_; } -v_reusejp_618_: +v_reusejp_636_: { -lean_object* v___x_620_; lean_object* v___x_621_; lean_object* v_mctx_622_; lean_object* v_zetaDeltaFVarIds_623_; lean_object* v_postponed_624_; lean_object* v_diag_625_; lean_object* v___x_627_; uint8_t v_isShared_628_; uint8_t v_isSharedCheck_636_; -v___x_620_ = lean_st_ref_set(v___y_604_, v___x_619_); -v___x_621_ = lean_st_ref_take(v___y_603_); -v_mctx_622_ = lean_ctor_get(v___x_621_, 0); -v_zetaDeltaFVarIds_623_ = lean_ctor_get(v___x_621_, 2); -v_postponed_624_ = lean_ctor_get(v___x_621_, 3); -v_diag_625_ = lean_ctor_get(v___x_621_, 4); -v_isSharedCheck_636_ = !lean_is_exclusive(v___x_621_); -if (v_isSharedCheck_636_ == 0) -{ -lean_object* v_unused_637_; -v_unused_637_ = lean_ctor_get(v___x_621_, 1); -lean_dec(v_unused_637_); -v___x_627_ = v___x_621_; -v_isShared_628_ = v_isSharedCheck_636_; -goto v_resetjp_626_; -} -else -{ -lean_inc(v_diag_625_); -lean_inc(v_postponed_624_); -lean_inc(v_zetaDeltaFVarIds_623_); -lean_inc(v_mctx_622_); -lean_dec(v___x_621_); -v___x_627_ = lean_box(0); -v_isShared_628_ = v_isSharedCheck_636_; -goto v_resetjp_626_; -} -v_resetjp_626_: -{ -lean_object* v___x_629_; lean_object* v___x_631_; -v___x_629_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__12); -if (v_isShared_628_ == 0) -{ -lean_ctor_set(v___x_627_, 1, v___x_629_); -v___x_631_ = v___x_627_; -goto v_reusejp_630_; -} -else -{ -lean_object* v_reuseFailAlloc_635_; -v_reuseFailAlloc_635_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_635_, 0, v_mctx_622_); -lean_ctor_set(v_reuseFailAlloc_635_, 1, v___x_629_); -lean_ctor_set(v_reuseFailAlloc_635_, 2, v_zetaDeltaFVarIds_623_); -lean_ctor_set(v_reuseFailAlloc_635_, 3, v_postponed_624_); -lean_ctor_set(v_reuseFailAlloc_635_, 4, v_diag_625_); -v___x_631_ = v_reuseFailAlloc_635_; -goto v_reusejp_630_; -} -v_reusejp_630_: -{ -lean_object* v___x_632_; lean_object* v___x_633_; lean_object* v___x_634_; -v___x_632_ = lean_st_ref_set(v___y_603_, v___x_631_); -v___x_633_ = lean_box(0); -v___x_634_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_634_, 0, v___x_633_); -return v___x_634_; +return v___x_637_; } } } } } -} -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg___boxed(lean_object* v_env_642_, lean_object* v___y_643_, lean_object* v___y_644_, lean_object* v___y_645_){ -_start: -{ -lean_object* v_res_646_; -v_res_646_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_642_, v___y_643_, v___y_644_); -lean_dec(v___y_644_); -lean_dec(v___y_643_); -return v_res_646_; -} -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(lean_object* v_env_647_, lean_object* v_x_648_, lean_object* v___y_649_, lean_object* v___y_650_, lean_object* v___y_651_, lean_object* v___y_652_){ -_start: -{ -lean_object* v___x_654_; lean_object* v_env_655_; lean_object* v_a_657_; lean_object* v___x_667_; lean_object* v___x_668_; -v___x_654_ = lean_st_ref_get(v___y_652_); -v_env_655_ = lean_ctor_get(v___x_654_, 0); -lean_inc_ref(v_env_655_); -lean_dec(v___x_654_); -v___x_667_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_647_, v___y_650_, v___y_652_); -lean_dec_ref(v___x_667_); -lean_inc(v___y_652_); -lean_inc(v___y_650_); -v___x_668_ = lean_apply_5(v_x_648_, v___y_649_, v___y_650_, v___y_651_, v___y_652_, lean_box(0)); -if (lean_obj_tag(v___x_668_) == 0) -{ -lean_object* v_a_669_; lean_object* v___x_670_; lean_object* v___x_672_; uint8_t v_isShared_673_; uint8_t v_isSharedCheck_677_; -v_a_669_ = lean_ctor_get(v___x_668_, 0); -lean_inc(v_a_669_); -lean_dec_ref(v___x_668_); -v___x_670_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_655_, v___y_650_, v___y_652_); -lean_dec(v___y_652_); -lean_dec(v___y_650_); -v_isSharedCheck_677_ = !lean_is_exclusive(v___x_670_); -if (v_isSharedCheck_677_ == 0) -{ -lean_object* v_unused_678_; -v_unused_678_ = lean_ctor_get(v___x_670_, 0); -lean_dec(v_unused_678_); -v___x_672_ = v___x_670_; -v_isShared_673_ = v_isSharedCheck_677_; -goto v_resetjp_671_; -} -else -{ -lean_dec(v___x_670_); -v___x_672_ = lean_box(0); -v_isShared_673_ = v_isSharedCheck_677_; -goto v_resetjp_671_; -} -v_resetjp_671_: -{ -lean_object* v___x_675_; -if (v_isShared_673_ == 0) -{ -lean_ctor_set(v___x_672_, 0, v_a_669_); -v___x_675_ = v___x_672_; -goto v_reusejp_674_; -} -else -{ -lean_object* v_reuseFailAlloc_676_; -v_reuseFailAlloc_676_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_676_, 0, v_a_669_); -v___x_675_ = v_reuseFailAlloc_676_; -goto v_reusejp_674_; -} -v_reusejp_674_: -{ -return v___x_675_; -} -} -} else { -lean_object* v_a_679_; -v_a_679_ = lean_ctor_get(v___x_668_, 0); -lean_inc(v_a_679_); -lean_dec_ref(v___x_668_); -v_a_657_ = v_a_679_; -goto v___jp_656_; +lean_object* v_a_640_; lean_object* v___x_642_; uint8_t v_isShared_643_; uint8_t v_isSharedCheck_647_; +lean_dec(v_a_618_); +lean_dec(v___x_615_); +lean_dec(v___y_614_); +lean_dec_ref(v___y_613_); +lean_dec(v___y_612_); +lean_dec_ref(v___y_611_); +lean_dec_ref(v_checkType_268_); +v_a_640_ = lean_ctor_get(v___x_619_, 0); +v_isSharedCheck_647_ = !lean_is_exclusive(v___x_619_); +if (v_isSharedCheck_647_ == 0) +{ +v___x_642_ = v___x_619_; +v_isShared_643_ = v_isSharedCheck_647_; +goto v_resetjp_641_; +} +else +{ +lean_inc(v_a_640_); +lean_dec(v___x_619_); +v___x_642_ = lean_box(0); +v_isShared_643_ = v_isSharedCheck_647_; +goto v_resetjp_641_; +} +v_resetjp_641_: +{ +lean_object* v___x_645_; +if (v_isShared_643_ == 0) +{ +v___x_645_ = v___x_642_; +goto v_reusejp_644_; +} +else +{ +lean_object* v_reuseFailAlloc_646_; +v_reuseFailAlloc_646_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_646_, 0, v_a_640_); +v___x_645_ = v_reuseFailAlloc_646_; +goto v_reusejp_644_; +} +v_reusejp_644_: +{ +return v___x_645_; +} +} +} +} +else +{ +lean_object* v_a_648_; lean_object* v___x_650_; uint8_t v_isShared_651_; uint8_t v_isSharedCheck_655_; +lean_dec(v___x_615_); +lean_dec(v___y_614_); +lean_dec_ref(v___y_613_); +lean_dec(v___y_612_); +lean_dec_ref(v___y_611_); +lean_dec_ref(v_value_270_); +lean_dec_ref(v_checkType_268_); +v_a_648_ = lean_ctor_get(v___x_617_, 0); +v_isSharedCheck_655_ = !lean_is_exclusive(v___x_617_); +if (v_isSharedCheck_655_ == 0) +{ +v___x_650_ = v___x_617_; +v_isShared_651_ = v_isSharedCheck_655_; +goto v_resetjp_649_; +} +else +{ +lean_inc(v_a_648_); +lean_dec(v___x_617_); +v___x_650_ = lean_box(0); +v_isShared_651_ = v_isSharedCheck_655_; +goto v_resetjp_649_; +} +v_resetjp_649_: +{ +lean_object* v___x_653_; +if (v_isShared_651_ == 0) +{ +v___x_653_ = v___x_650_; +goto v_reusejp_652_; +} +else +{ +lean_object* v_reuseFailAlloc_654_; +v_reuseFailAlloc_654_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_654_, 0, v_a_648_); +v___x_653_ = v_reuseFailAlloc_654_; +goto v_reusejp_652_; +} +v_reusejp_652_: +{ +return v___x_653_; +} +} +} } v___jp_656_: { -lean_object* v___x_658_; lean_object* v___x_660_; uint8_t v_isShared_661_; uint8_t v_isSharedCheck_665_; -v___x_658_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_655_, v___y_650_, v___y_652_); -lean_dec(v___y_652_); -lean_dec(v___y_650_); -v_isSharedCheck_665_ = !lean_is_exclusive(v___x_658_); -if (v_isSharedCheck_665_ == 0) +lean_object* v___x_665_; lean_object* v___x_666_; lean_object* v___x_667_; lean_object* v___x_668_; lean_object* v_mctx_669_; lean_object* v_zetaDeltaFVarIds_670_; lean_object* v_postponed_671_; lean_object* v_diag_672_; lean_object* v___x_674_; uint8_t v_isShared_675_; uint8_t v_isSharedCheck_681_; +v___x_665_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); +v___x_666_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_666_, 0, v___y_664_); +lean_ctor_set(v___x_666_, 1, v_nextMacroScope_657_); +lean_ctor_set(v___x_666_, 2, v_ngen_658_); +lean_ctor_set(v___x_666_, 3, v_auxDeclNGen_659_); +lean_ctor_set(v___x_666_, 4, v_traceState_660_); +lean_ctor_set(v___x_666_, 5, v___x_665_); +lean_ctor_set(v___x_666_, 6, v_messages_661_); +lean_ctor_set(v___x_666_, 7, v_infoState_662_); +lean_ctor_set(v___x_666_, 8, v_snapshotTasks_663_); +v___x_667_ = lean_st_ref_set(v___y_274_, v___x_666_); +v___x_668_ = lean_st_ref_take(v___y_272_); +v_mctx_669_ = lean_ctor_get(v___x_668_, 0); +v_zetaDeltaFVarIds_670_ = lean_ctor_get(v___x_668_, 2); +v_postponed_671_ = lean_ctor_get(v___x_668_, 3); +v_diag_672_ = lean_ctor_get(v___x_668_, 4); +v_isSharedCheck_681_ = !lean_is_exclusive(v___x_668_); +if (v_isSharedCheck_681_ == 0) { -lean_object* v_unused_666_; -v_unused_666_ = lean_ctor_get(v___x_658_, 0); -lean_dec(v_unused_666_); -v___x_660_ = v___x_658_; -v_isShared_661_ = v_isSharedCheck_665_; -goto v_resetjp_659_; +lean_object* v_unused_682_; +v_unused_682_ = lean_ctor_get(v___x_668_, 1); +lean_dec(v_unused_682_); +v___x_674_ = v___x_668_; +v_isShared_675_ = v_isSharedCheck_681_; +goto v_resetjp_673_; } else { -lean_dec(v___x_658_); -v___x_660_ = lean_box(0); -v_isShared_661_ = v_isSharedCheck_665_; -goto v_resetjp_659_; +lean_inc(v_diag_672_); +lean_inc(v_postponed_671_); +lean_inc(v_zetaDeltaFVarIds_670_); +lean_inc(v_mctx_669_); +lean_dec(v___x_668_); +v___x_674_ = lean_box(0); +v_isShared_675_ = v_isSharedCheck_681_; +goto v_resetjp_673_; } -v_resetjp_659_: +v_resetjp_673_: { -lean_object* v___x_663_; -if (v_isShared_661_ == 0) +lean_object* v___x_676_; lean_object* v___x_678_; +v___x_676_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3); +if (v_isShared_675_ == 0) { -lean_ctor_set_tag(v___x_660_, 1); -lean_ctor_set(v___x_660_, 0, v_a_657_); -v___x_663_ = v___x_660_; -goto v_reusejp_662_; +lean_ctor_set(v___x_674_, 1, v___x_676_); +v___x_678_ = v___x_674_; +goto v_reusejp_677_; } else { -lean_object* v_reuseFailAlloc_664_; -v_reuseFailAlloc_664_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_664_, 0, v_a_657_); -v___x_663_ = v_reuseFailAlloc_664_; -goto v_reusejp_662_; +lean_object* v_reuseFailAlloc_680_; +v_reuseFailAlloc_680_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_680_, 0, v_mctx_669_); +lean_ctor_set(v_reuseFailAlloc_680_, 1, v___x_676_); +lean_ctor_set(v_reuseFailAlloc_680_, 2, v_zetaDeltaFVarIds_670_); +lean_ctor_set(v_reuseFailAlloc_680_, 3, v_postponed_671_); +lean_ctor_set(v_reuseFailAlloc_680_, 4, v_diag_672_); +v___x_678_ = v_reuseFailAlloc_680_; +goto v_reusejp_677_; } -v_reusejp_662_: +v_reusejp_677_: { -return v___x_663_; +lean_object* v___x_679_; +v___x_679_ = lean_st_ref_set(v___y_272_, v___x_678_); +v___y_611_ = v___y_271_; +v___y_612_ = v___y_272_; +v___y_613_ = v___y_273_; +v___y_614_ = v___y_274_; +goto v___jp_610_; +} +} +} +v___jp_684_: +{ +lean_object* v___x_685_; lean_object* v_env_686_; lean_object* v_nextMacroScope_687_; lean_object* v_ngen_688_; lean_object* v_auxDeclNGen_689_; lean_object* v_traceState_690_; lean_object* v_messages_691_; lean_object* v_infoState_692_; lean_object* v_snapshotTasks_693_; lean_object* v___x_694_; +v___x_685_ = lean_st_ref_take(v___y_274_); +v_env_686_ = lean_ctor_get(v___x_685_, 0); +lean_inc_ref(v_env_686_); +v_nextMacroScope_687_ = lean_ctor_get(v___x_685_, 1); +lean_inc(v_nextMacroScope_687_); +v_ngen_688_ = lean_ctor_get(v___x_685_, 2); +lean_inc_ref(v_ngen_688_); +v_auxDeclNGen_689_ = lean_ctor_get(v___x_685_, 3); +lean_inc_ref(v_auxDeclNGen_689_); +v_traceState_690_ = lean_ctor_get(v___x_685_, 4); +lean_inc_ref(v_traceState_690_); +v_messages_691_ = lean_ctor_get(v___x_685_, 6); +lean_inc_ref(v_messages_691_); +v_infoState_692_ = lean_ctor_get(v___x_685_, 7); +lean_inc_ref(v_infoState_692_); +v_snapshotTasks_693_ = lean_ctor_get(v___x_685_, 8); +lean_inc_ref(v_snapshotTasks_693_); +lean_dec(v___x_685_); +lean_inc_ref(v_env_686_); +v___x_694_ = l_Lean_Environment_importEnv_x3f(v_env_686_); +if (lean_obj_tag(v___x_694_) == 0) +{ +v_nextMacroScope_657_ = v_nextMacroScope_687_; +v_ngen_658_ = v_ngen_688_; +v_auxDeclNGen_659_ = v_auxDeclNGen_689_; +v_traceState_660_ = v_traceState_690_; +v_messages_661_ = v_messages_691_; +v_infoState_662_ = v_infoState_692_; +v_snapshotTasks_663_ = v_snapshotTasks_693_; +v___y_664_ = v_env_686_; +goto v___jp_656_; +} +else +{ +lean_object* v_val_695_; +lean_dec_ref(v_env_686_); +v_val_695_ = lean_ctor_get(v___x_694_, 0); +lean_inc(v_val_695_); +lean_dec_ref(v___x_694_); +v_nextMacroScope_657_ = v_nextMacroScope_687_; +v_ngen_658_ = v_ngen_688_; +v_auxDeclNGen_659_ = v_auxDeclNGen_689_; +v_traceState_660_ = v_traceState_690_; +v_messages_661_ = v_messages_691_; +v_infoState_662_ = v_infoState_692_; +v_snapshotTasks_663_ = v_snapshotTasks_693_; +v___y_664_ = v_val_695_; +goto v___jp_656_; } } } } -} -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg___boxed(lean_object* v_env_680_, lean_object* v_x_681_, lean_object* v___y_682_, lean_object* v___y_683_, lean_object* v___y_684_, lean_object* v___y_685_, lean_object* v___y_686_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___lam__0___boxed(lean_object* v_checkMeta_704_, lean_object* v_checkType_705_, lean_object* v_safety_706_, lean_object* v_value_707_, lean_object* v___y_708_, lean_object* v___y_709_, lean_object* v___y_710_, lean_object* v___y_711_, lean_object* v___y_712_){ _start: { -lean_object* v_res_687_; -v_res_687_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v_env_680_, v_x_681_, v___y_682_, v___y_683_, v___y_684_, v___y_685_); -return v_res_687_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg(lean_object* v_value_688_, lean_object* v_checkType_689_, uint8_t v_safety_690_, uint8_t v_checkMeta_691_, lean_object* v_a_692_, lean_object* v_a_693_, lean_object* v_a_694_, lean_object* v_a_695_){ -_start: -{ -lean_object* v___x_697_; lean_object* v_env_698_; lean_object* v___x_699_; lean_object* v___x_700_; lean_object* v___f_701_; lean_object* v___x_702_; lean_object* v___x_703_; -v___x_697_ = lean_st_ref_get(v_a_695_); -v_env_698_ = lean_ctor_get(v___x_697_, 0); -lean_inc_ref(v_env_698_); -lean_dec(v___x_697_); -v___x_699_ = lean_box(v_checkMeta_691_); -v___x_700_ = lean_box(v_safety_690_); -v___f_701_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExprCore___redArg___lam__0___boxed), 9, 4); -lean_closure_set(v___f_701_, 0, v___x_699_); -lean_closure_set(v___f_701_, 1, v_checkType_689_); -lean_closure_set(v___f_701_, 2, v___x_700_); -lean_closure_set(v___f_701_, 3, v_value_688_); -v___x_702_ = l_Lean_Environment_unlockAsync(v_env_698_); -v___x_703_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v___x_702_, v___f_701_, v_a_692_, v_a_693_, v_a_694_, v_a_695_); -return v___x_703_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___boxed(lean_object* v_value_704_, lean_object* v_checkType_705_, lean_object* v_safety_706_, lean_object* v_checkMeta_707_, lean_object* v_a_708_, lean_object* v_a_709_, lean_object* v_a_710_, lean_object* v_a_711_, lean_object* v_a_712_){ -_start: -{ -uint8_t v_safety_boxed_713_; uint8_t v_checkMeta_boxed_714_; lean_object* v_res_715_; -v_safety_boxed_713_ = lean_unbox(v_safety_706_); -v_checkMeta_boxed_714_ = lean_unbox(v_checkMeta_707_); -v_res_715_ = l_Lean_Meta_evalExprCore___redArg(v_value_704_, v_checkType_705_, v_safety_boxed_713_, v_checkMeta_boxed_714_, v_a_708_, v_a_709_, v_a_710_, v_a_711_); +uint8_t v_checkMeta_boxed_713_; uint8_t v_safety_boxed_714_; lean_object* v_res_715_; +v_checkMeta_boxed_713_ = lean_unbox(v_checkMeta_704_); +v_safety_boxed_714_ = lean_unbox(v_safety_706_); +v_res_715_ = l_Lean_Meta_evalExprCore___redArg___lam__0(v_checkMeta_boxed_713_, v_checkType_705_, v_safety_boxed_714_, v_value_707_, v___y_708_, v___y_709_, v___y_710_, v___y_711_); return v_res_715_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore(lean_object* v_00_u03b1_716_, lean_object* v_value_717_, lean_object* v_checkType_718_, uint8_t v_safety_719_, uint8_t v_checkMeta_720_, lean_object* v_a_721_, lean_object* v_a_722_, lean_object* v_a_723_, lean_object* v_a_724_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(lean_object* v_env_716_, lean_object* v___y_717_, lean_object* v___y_718_){ _start: { -lean_object* v___x_726_; -v___x_726_ = l_Lean_Meta_evalExprCore___redArg(v_value_717_, v_checkType_718_, v_safety_719_, v_checkMeta_720_, v_a_721_, v_a_722_, v_a_723_, v_a_724_); -return v___x_726_; +lean_object* v___x_720_; lean_object* v_nextMacroScope_721_; lean_object* v_ngen_722_; lean_object* v_auxDeclNGen_723_; lean_object* v_traceState_724_; lean_object* v_messages_725_; lean_object* v_infoState_726_; lean_object* v_snapshotTasks_727_; lean_object* v___x_729_; uint8_t v_isShared_730_; uint8_t v_isSharedCheck_753_; +v___x_720_ = lean_st_ref_take(v___y_718_); +v_nextMacroScope_721_ = lean_ctor_get(v___x_720_, 1); +v_ngen_722_ = lean_ctor_get(v___x_720_, 2); +v_auxDeclNGen_723_ = lean_ctor_get(v___x_720_, 3); +v_traceState_724_ = lean_ctor_get(v___x_720_, 4); +v_messages_725_ = lean_ctor_get(v___x_720_, 6); +v_infoState_726_ = lean_ctor_get(v___x_720_, 7); +v_snapshotTasks_727_ = lean_ctor_get(v___x_720_, 8); +v_isSharedCheck_753_ = !lean_is_exclusive(v___x_720_); +if (v_isSharedCheck_753_ == 0) +{ +lean_object* v_unused_754_; lean_object* v_unused_755_; +v_unused_754_ = lean_ctor_get(v___x_720_, 5); +lean_dec(v_unused_754_); +v_unused_755_ = lean_ctor_get(v___x_720_, 0); +lean_dec(v_unused_755_); +v___x_729_ = v___x_720_; +v_isShared_730_ = v_isSharedCheck_753_; +goto v_resetjp_728_; +} +else +{ +lean_inc(v_snapshotTasks_727_); +lean_inc(v_infoState_726_); +lean_inc(v_messages_725_); +lean_inc(v_traceState_724_); +lean_inc(v_auxDeclNGen_723_); +lean_inc(v_ngen_722_); +lean_inc(v_nextMacroScope_721_); +lean_dec(v___x_720_); +v___x_729_ = lean_box(0); +v_isShared_730_ = v_isSharedCheck_753_; +goto v_resetjp_728_; +} +v_resetjp_728_: +{ +lean_object* v___x_731_; lean_object* v___x_733_; +v___x_731_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__2); +if (v_isShared_730_ == 0) +{ +lean_ctor_set(v___x_729_, 5, v___x_731_); +lean_ctor_set(v___x_729_, 0, v_env_716_); +v___x_733_ = v___x_729_; +goto v_reusejp_732_; +} +else +{ +lean_object* v_reuseFailAlloc_752_; +v_reuseFailAlloc_752_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_752_, 0, v_env_716_); +lean_ctor_set(v_reuseFailAlloc_752_, 1, v_nextMacroScope_721_); +lean_ctor_set(v_reuseFailAlloc_752_, 2, v_ngen_722_); +lean_ctor_set(v_reuseFailAlloc_752_, 3, v_auxDeclNGen_723_); +lean_ctor_set(v_reuseFailAlloc_752_, 4, v_traceState_724_); +lean_ctor_set(v_reuseFailAlloc_752_, 5, v___x_731_); +lean_ctor_set(v_reuseFailAlloc_752_, 6, v_messages_725_); +lean_ctor_set(v_reuseFailAlloc_752_, 7, v_infoState_726_); +lean_ctor_set(v_reuseFailAlloc_752_, 8, v_snapshotTasks_727_); +v___x_733_ = v_reuseFailAlloc_752_; +goto v_reusejp_732_; +} +v_reusejp_732_: +{ +lean_object* v___x_734_; lean_object* v___x_735_; lean_object* v_mctx_736_; lean_object* v_zetaDeltaFVarIds_737_; lean_object* v_postponed_738_; lean_object* v_diag_739_; lean_object* v___x_741_; uint8_t v_isShared_742_; uint8_t v_isSharedCheck_750_; +v___x_734_ = lean_st_ref_set(v___y_718_, v___x_733_); +v___x_735_ = lean_st_ref_take(v___y_717_); +v_mctx_736_ = lean_ctor_get(v___x_735_, 0); +v_zetaDeltaFVarIds_737_ = lean_ctor_get(v___x_735_, 2); +v_postponed_738_ = lean_ctor_get(v___x_735_, 3); +v_diag_739_ = lean_ctor_get(v___x_735_, 4); +v_isSharedCheck_750_ = !lean_is_exclusive(v___x_735_); +if (v_isSharedCheck_750_ == 0) +{ +lean_object* v_unused_751_; +v_unused_751_ = lean_ctor_get(v___x_735_, 1); +lean_dec(v_unused_751_); +v___x_741_ = v___x_735_; +v_isShared_742_ = v_isSharedCheck_750_; +goto v_resetjp_740_; +} +else +{ +lean_inc(v_diag_739_); +lean_inc(v_postponed_738_); +lean_inc(v_zetaDeltaFVarIds_737_); +lean_inc(v_mctx_736_); +lean_dec(v___x_735_); +v___x_741_ = lean_box(0); +v_isShared_742_ = v_isSharedCheck_750_; +goto v_resetjp_740_; +} +v_resetjp_740_: +{ +lean_object* v___x_743_; lean_object* v___x_745_; +v___x_743_ = lean_obj_once(&l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3, &l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3_once, _init_l_Lean_Meta_evalExprCore___redArg___lam__0___closed__3); +if (v_isShared_742_ == 0) +{ +lean_ctor_set(v___x_741_, 1, v___x_743_); +v___x_745_ = v___x_741_; +goto v_reusejp_744_; +} +else +{ +lean_object* v_reuseFailAlloc_749_; +v_reuseFailAlloc_749_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_749_, 0, v_mctx_736_); +lean_ctor_set(v_reuseFailAlloc_749_, 1, v___x_743_); +lean_ctor_set(v_reuseFailAlloc_749_, 2, v_zetaDeltaFVarIds_737_); +lean_ctor_set(v_reuseFailAlloc_749_, 3, v_postponed_738_); +lean_ctor_set(v_reuseFailAlloc_749_, 4, v_diag_739_); +v___x_745_ = v_reuseFailAlloc_749_; +goto v_reusejp_744_; +} +v_reusejp_744_: +{ +lean_object* v___x_746_; lean_object* v___x_747_; lean_object* v___x_748_; +v___x_746_ = lean_st_ref_set(v___y_717_, v___x_745_); +v___x_747_ = lean_box(0); +v___x_748_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_748_, 0, v___x_747_); +return v___x_748_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___boxed(lean_object* v_00_u03b1_727_, lean_object* v_value_728_, lean_object* v_checkType_729_, lean_object* v_safety_730_, lean_object* v_checkMeta_731_, lean_object* v_a_732_, lean_object* v_a_733_, lean_object* v_a_734_, lean_object* v_a_735_, lean_object* v_a_736_){ +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg___boxed(lean_object* v_env_756_, lean_object* v___y_757_, lean_object* v___y_758_, lean_object* v___y_759_){ _start: { -uint8_t v_safety_boxed_737_; uint8_t v_checkMeta_boxed_738_; lean_object* v_res_739_; -v_safety_boxed_737_ = lean_unbox(v_safety_730_); -v_checkMeta_boxed_738_ = lean_unbox(v_checkMeta_731_); -v_res_739_ = l_Lean_Meta_evalExprCore(v_00_u03b1_727_, v_value_728_, v_checkType_729_, v_safety_boxed_737_, v_checkMeta_boxed_738_, v_a_732_, v_a_733_, v_a_734_, v_a_735_); -return v_res_739_; +lean_object* v_res_760_; +v_res_760_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_756_, v___y_757_, v___y_758_); +lean_dec(v___y_758_); +lean_dec(v___y_757_); +return v_res_760_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6(lean_object* v_00_u03b1_740_, lean_object* v___y_741_, lean_object* v___y_742_, lean_object* v___y_743_, lean_object* v___y_744_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(lean_object* v_env_761_, lean_object* v_x_762_, lean_object* v___y_763_, lean_object* v___y_764_, lean_object* v___y_765_, lean_object* v___y_766_){ _start: { -lean_object* v___x_746_; -v___x_746_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6___redArg(); -return v___x_746_; +lean_object* v___x_768_; lean_object* v_env_769_; lean_object* v_a_771_; lean_object* v___x_781_; lean_object* v___x_782_; +v___x_768_ = lean_st_ref_get(v___y_766_); +v_env_769_ = lean_ctor_get(v___x_768_, 0); +lean_inc_ref(v_env_769_); +lean_dec(v___x_768_); +v___x_781_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_761_, v___y_764_, v___y_766_); +lean_dec_ref(v___x_781_); +lean_inc(v___y_766_); +lean_inc(v___y_764_); +v___x_782_ = lean_apply_5(v_x_762_, v___y_763_, v___y_764_, v___y_765_, v___y_766_, lean_box(0)); +if (lean_obj_tag(v___x_782_) == 0) +{ +lean_object* v_a_783_; lean_object* v___x_784_; lean_object* v___x_786_; uint8_t v_isShared_787_; uint8_t v_isSharedCheck_791_; +v_a_783_ = lean_ctor_get(v___x_782_, 0); +lean_inc(v_a_783_); +lean_dec_ref(v___x_782_); +v___x_784_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_769_, v___y_764_, v___y_766_); +lean_dec(v___y_766_); +lean_dec(v___y_764_); +v_isSharedCheck_791_ = !lean_is_exclusive(v___x_784_); +if (v_isSharedCheck_791_ == 0) +{ +lean_object* v_unused_792_; +v_unused_792_ = lean_ctor_get(v___x_784_, 0); +lean_dec(v_unused_792_); +v___x_786_ = v___x_784_; +v_isShared_787_ = v_isSharedCheck_791_; +goto v_resetjp_785_; +} +else +{ +lean_dec(v___x_784_); +v___x_786_ = lean_box(0); +v_isShared_787_ = v_isSharedCheck_791_; +goto v_resetjp_785_; +} +v_resetjp_785_: +{ +lean_object* v___x_789_; +if (v_isShared_787_ == 0) +{ +lean_ctor_set(v___x_786_, 0, v_a_783_); +v___x_789_ = v___x_786_; +goto v_reusejp_788_; +} +else +{ +lean_object* v_reuseFailAlloc_790_; +v_reuseFailAlloc_790_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_790_, 0, v_a_783_); +v___x_789_ = v_reuseFailAlloc_790_; +goto v_reusejp_788_; +} +v_reusejp_788_: +{ +return v___x_789_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6___boxed(lean_object* v_00_u03b1_747_, lean_object* v___y_748_, lean_object* v___y_749_, lean_object* v___y_750_, lean_object* v___y_751_, lean_object* v___y_752_){ +} +else +{ +lean_object* v_a_793_; +v_a_793_ = lean_ctor_get(v___x_782_, 0); +lean_inc(v_a_793_); +lean_dec_ref(v___x_782_); +v_a_771_ = v_a_793_; +goto v___jp_770_; +} +v___jp_770_: +{ +lean_object* v___x_772_; lean_object* v___x_774_; uint8_t v_isShared_775_; uint8_t v_isSharedCheck_779_; +v___x_772_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_769_, v___y_764_, v___y_766_); +lean_dec(v___y_766_); +lean_dec(v___y_764_); +v_isSharedCheck_779_ = !lean_is_exclusive(v___x_772_); +if (v_isSharedCheck_779_ == 0) +{ +lean_object* v_unused_780_; +v_unused_780_ = lean_ctor_get(v___x_772_, 0); +lean_dec(v_unused_780_); +v___x_774_ = v___x_772_; +v_isShared_775_ = v_isSharedCheck_779_; +goto v_resetjp_773_; +} +else +{ +lean_dec(v___x_772_); +v___x_774_ = lean_box(0); +v_isShared_775_ = v_isSharedCheck_779_; +goto v_resetjp_773_; +} +v_resetjp_773_: +{ +lean_object* v___x_777_; +if (v_isShared_775_ == 0) +{ +lean_ctor_set_tag(v___x_774_, 1); +lean_ctor_set(v___x_774_, 0, v_a_771_); +v___x_777_ = v___x_774_; +goto v_reusejp_776_; +} +else +{ +lean_object* v_reuseFailAlloc_778_; +v_reuseFailAlloc_778_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_778_, 0, v_a_771_); +v___x_777_ = v_reuseFailAlloc_778_; +goto v_reusejp_776_; +} +v_reusejp_776_: +{ +return v___x_777_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg___boxed(lean_object* v_env_794_, lean_object* v_x_795_, lean_object* v___y_796_, lean_object* v___y_797_, lean_object* v___y_798_, lean_object* v___y_799_, lean_object* v___y_800_){ _start: { -lean_object* v_res_753_; -v_res_753_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6(v_00_u03b1_747_, v___y_748_, v___y_749_, v___y_750_, v___y_751_); -lean_dec(v___y_751_); -lean_dec_ref(v___y_750_); -lean_dec(v___y_749_); -lean_dec_ref(v___y_748_); -return v_res_753_; +lean_object* v_res_801_; +v_res_801_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v_env_794_, v_x_795_, v___y_796_, v___y_797_, v___y_798_, v___y_799_); +return v_res_801_; } } -LEAN_EXPORT lean_object* l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4(lean_object* v_00_u03b1_754_, lean_object* v_constName_755_, uint8_t v_checkMeta_756_, lean_object* v___y_757_, lean_object* v___y_758_, lean_object* v___y_759_, lean_object* v___y_760_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg(lean_object* v_value_802_, lean_object* v_checkType_803_, uint8_t v_safety_804_, uint8_t v_checkMeta_805_, lean_object* v_a_806_, lean_object* v_a_807_, lean_object* v_a_808_, lean_object* v_a_809_){ _start: { -lean_object* v___x_762_; -v___x_762_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___redArg(v_constName_755_, v_checkMeta_756_, v___y_757_, v___y_758_, v___y_759_, v___y_760_); -return v___x_762_; +lean_object* v___x_811_; lean_object* v_env_812_; lean_object* v___x_813_; lean_object* v___x_814_; lean_object* v___f_815_; lean_object* v___x_816_; lean_object* v___x_817_; +v___x_811_ = lean_st_ref_get(v_a_809_); +v_env_812_ = lean_ctor_get(v___x_811_, 0); +lean_inc_ref(v_env_812_); +lean_dec(v___x_811_); +v___x_813_ = lean_box(v_checkMeta_805_); +v___x_814_ = lean_box(v_safety_804_); +v___f_815_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExprCore___redArg___lam__0___boxed), 9, 4); +lean_closure_set(v___f_815_, 0, v___x_813_); +lean_closure_set(v___f_815_, 1, v_checkType_803_); +lean_closure_set(v___f_815_, 2, v___x_814_); +lean_closure_set(v___f_815_, 3, v_value_802_); +v___x_816_ = l_Lean_Environment_unlockAsync(v_env_812_); +v___x_817_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v___x_816_, v___f_815_, v_a_806_, v_a_807_, v_a_808_, v_a_809_); +return v___x_817_; } } -LEAN_EXPORT lean_object* l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___boxed(lean_object* v_00_u03b1_763_, lean_object* v_constName_764_, lean_object* v_checkMeta_765_, lean_object* v___y_766_, lean_object* v___y_767_, lean_object* v___y_768_, lean_object* v___y_769_, lean_object* v___y_770_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___redArg___boxed(lean_object* v_value_818_, lean_object* v_checkType_819_, lean_object* v_safety_820_, lean_object* v_checkMeta_821_, lean_object* v_a_822_, lean_object* v_a_823_, lean_object* v_a_824_, lean_object* v_a_825_, lean_object* v_a_826_){ _start: { -uint8_t v_checkMeta_boxed_771_; lean_object* v_res_772_; -v_checkMeta_boxed_771_ = lean_unbox(v_checkMeta_765_); -v_res_772_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4(v_00_u03b1_763_, v_constName_764_, v_checkMeta_boxed_771_, v___y_766_, v___y_767_, v___y_768_, v___y_769_); -lean_dec(v___y_769_); -lean_dec_ref(v___y_768_); -lean_dec(v___y_767_); -lean_dec_ref(v___y_766_); -return v_res_772_; +uint8_t v_safety_boxed_827_; uint8_t v_checkMeta_boxed_828_; lean_object* v_res_829_; +v_safety_boxed_827_ = lean_unbox(v_safety_820_); +v_checkMeta_boxed_828_ = lean_unbox(v_checkMeta_821_); +v_res_829_ = l_Lean_Meta_evalExprCore___redArg(v_value_818_, v_checkType_819_, v_safety_boxed_827_, v_checkMeta_boxed_828_, v_a_822_, v_a_823_, v_a_824_, v_a_825_); +return v_res_829_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5(lean_object* v_00_u03b1_773_, lean_object* v_msg_774_, lean_object* v___y_775_, lean_object* v___y_776_, lean_object* v___y_777_, lean_object* v___y_778_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore(lean_object* v_00_u03b1_830_, lean_object* v_value_831_, lean_object* v_checkType_832_, uint8_t v_safety_833_, uint8_t v_checkMeta_834_, lean_object* v_a_835_, lean_object* v_a_836_, lean_object* v_a_837_, lean_object* v_a_838_){ _start: { -lean_object* v___x_780_; -v___x_780_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v_msg_774_, v___y_775_, v___y_776_, v___y_777_, v___y_778_); -return v___x_780_; +lean_object* v___x_840_; +v___x_840_ = l_Lean_Meta_evalExprCore___redArg(v_value_831_, v_checkType_832_, v_safety_833_, v_checkMeta_834_, v_a_835_, v_a_836_, v_a_837_, v_a_838_); +return v___x_840_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___boxed(lean_object* v_00_u03b1_781_, lean_object* v_msg_782_, lean_object* v___y_783_, lean_object* v___y_784_, lean_object* v___y_785_, lean_object* v___y_786_, lean_object* v___y_787_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExprCore___boxed(lean_object* v_00_u03b1_841_, lean_object* v_value_842_, lean_object* v_checkType_843_, lean_object* v_safety_844_, lean_object* v_checkMeta_845_, lean_object* v_a_846_, lean_object* v_a_847_, lean_object* v_a_848_, lean_object* v_a_849_, lean_object* v_a_850_){ _start: { -lean_object* v_res_788_; -v_res_788_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5(v_00_u03b1_781_, v_msg_782_, v___y_783_, v___y_784_, v___y_785_, v___y_786_); -lean_dec(v___y_786_); -lean_dec_ref(v___y_785_); -lean_dec(v___y_784_); -lean_dec_ref(v___y_783_); -return v_res_788_; +uint8_t v_safety_boxed_851_; uint8_t v_checkMeta_boxed_852_; lean_object* v_res_853_; +v_safety_boxed_851_ = lean_unbox(v_safety_844_); +v_checkMeta_boxed_852_ = lean_unbox(v_checkMeta_845_); +v_res_853_ = l_Lean_Meta_evalExprCore(v_00_u03b1_841_, v_value_842_, v_checkType_843_, v_safety_boxed_851_, v_checkMeta_boxed_852_, v_a_846_, v_a_847_, v_a_848_, v_a_849_); +return v_res_853_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11(lean_object* v_env_789_, lean_object* v___y_790_, lean_object* v___y_791_, lean_object* v___y_792_, lean_object* v___y_793_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6(lean_object* v_00_u03b1_854_, lean_object* v___y_855_, lean_object* v___y_856_, lean_object* v___y_857_, lean_object* v___y_858_){ _start: { -lean_object* v___x_795_; -v___x_795_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_789_, v___y_791_, v___y_793_); -return v___x_795_; +lean_object* v___x_860_; +v___x_860_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6___redArg(); +return v___x_860_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___boxed(lean_object* v_env_796_, lean_object* v___y_797_, lean_object* v___y_798_, lean_object* v___y_799_, lean_object* v___y_800_, lean_object* v___y_801_){ +LEAN_EXPORT lean_object* l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6___boxed(lean_object* v_00_u03b1_861_, lean_object* v___y_862_, lean_object* v___y_863_, lean_object* v___y_864_, lean_object* v___y_865_, lean_object* v___y_866_){ _start: { -lean_object* v_res_802_; -v_res_802_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11(v_env_796_, v___y_797_, v___y_798_, v___y_799_, v___y_800_); -lean_dec(v___y_800_); -lean_dec_ref(v___y_799_); -lean_dec(v___y_798_); -lean_dec_ref(v___y_797_); -return v_res_802_; +lean_object* v_res_867_; +v_res_867_ = l_Lean_Elab_throwAbortCommand___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__6(v_00_u03b1_861_, v___y_862_, v___y_863_, v___y_864_, v___y_865_); +lean_dec(v___y_865_); +lean_dec_ref(v___y_864_); +lean_dec(v___y_863_); +lean_dec_ref(v___y_862_); +return v_res_867_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7(lean_object* v_00_u03b1_803_, lean_object* v_env_804_, lean_object* v_x_805_, lean_object* v___y_806_, lean_object* v___y_807_, lean_object* v___y_808_, lean_object* v___y_809_){ +LEAN_EXPORT lean_object* l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4(lean_object* v_00_u03b1_868_, lean_object* v_constName_869_, uint8_t v_checkMeta_870_, lean_object* v___y_871_, lean_object* v___y_872_, lean_object* v___y_873_, lean_object* v___y_874_){ _start: { -lean_object* v___x_811_; -v___x_811_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v_env_804_, v_x_805_, v___y_806_, v___y_807_, v___y_808_, v___y_809_); -return v___x_811_; +lean_object* v___x_876_; +v___x_876_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___redArg(v_constName_869_, v_checkMeta_870_, v___y_871_, v___y_872_, v___y_873_, v___y_874_); +return v___x_876_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___boxed(lean_object* v_00_u03b1_812_, lean_object* v_env_813_, lean_object* v_x_814_, lean_object* v___y_815_, lean_object* v___y_816_, lean_object* v___y_817_, lean_object* v___y_818_, lean_object* v___y_819_){ +LEAN_EXPORT lean_object* l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4___boxed(lean_object* v_00_u03b1_877_, lean_object* v_constName_878_, lean_object* v_checkMeta_879_, lean_object* v___y_880_, lean_object* v___y_881_, lean_object* v___y_882_, lean_object* v___y_883_, lean_object* v___y_884_){ _start: { -lean_object* v_res_820_; -v_res_820_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7(v_00_u03b1_812_, v_env_813_, v_x_814_, v___y_815_, v___y_816_, v___y_817_, v___y_818_); -return v_res_820_; +uint8_t v_checkMeta_boxed_885_; lean_object* v_res_886_; +v_checkMeta_boxed_885_ = lean_unbox(v_checkMeta_879_); +v_res_886_ = l_Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4(v_00_u03b1_877_, v_constName_878_, v_checkMeta_boxed_885_, v___y_880_, v___y_881_, v___y_882_, v___y_883_); +lean_dec(v___y_883_); +lean_dec_ref(v___y_882_); +lean_dec(v___y_881_); +lean_dec_ref(v___y_880_); +return v_res_886_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5(lean_object* v_00_u03b1_821_, lean_object* v_x_822_, lean_object* v___y_823_, lean_object* v___y_824_, lean_object* v___y_825_, lean_object* v___y_826_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5(lean_object* v_00_u03b1_887_, lean_object* v_msg_888_, lean_object* v___y_889_, lean_object* v___y_890_, lean_object* v___y_891_, lean_object* v___y_892_){ _start: { -lean_object* v___x_828_; -v___x_828_ = l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5___redArg(v_x_822_, v___y_823_, v___y_824_, v___y_825_, v___y_826_); -return v___x_828_; +lean_object* v___x_894_; +v___x_894_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v_msg_888_, v___y_889_, v___y_890_, v___y_891_, v___y_892_); +return v___x_894_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5___boxed(lean_object* v_00_u03b1_829_, lean_object* v_x_830_, lean_object* v___y_831_, lean_object* v___y_832_, lean_object* v___y_833_, lean_object* v___y_834_, lean_object* v___y_835_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___boxed(lean_object* v_00_u03b1_895_, lean_object* v_msg_896_, lean_object* v___y_897_, lean_object* v___y_898_, lean_object* v___y_899_, lean_object* v___y_900_, lean_object* v___y_901_){ _start: { -lean_object* v_res_836_; -v_res_836_ = l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5(v_00_u03b1_829_, v_x_830_, v___y_831_, v___y_832_, v___y_833_, v___y_834_); -lean_dec(v___y_834_); -lean_dec_ref(v___y_833_); -lean_dec(v___y_832_); -lean_dec_ref(v___y_831_); -return v_res_836_; +lean_object* v_res_902_; +v_res_902_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5(v_00_u03b1_895_, v_msg_896_, v___y_897_, v___y_898_, v___y_899_, v___y_900_); +lean_dec(v___y_900_); +lean_dec_ref(v___y_899_); +lean_dec(v___y_898_); +lean_dec_ref(v___y_897_); +return v_res_902_; +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11(lean_object* v_env_903_, lean_object* v___y_904_, lean_object* v___y_905_, lean_object* v___y_906_, lean_object* v___y_907_){ +_start: +{ +lean_object* v___x_909_; +v___x_909_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___redArg(v_env_903_, v___y_905_, v___y_907_); +return v___x_909_; +} +} +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11___boxed(lean_object* v_env_910_, lean_object* v___y_911_, lean_object* v___y_912_, lean_object* v___y_913_, lean_object* v___y_914_, lean_object* v___y_915_){ +_start: +{ +lean_object* v_res_916_; +v_res_916_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7_spec__11(v_env_910_, v___y_911_, v___y_912_, v___y_913_, v___y_914_); +lean_dec(v___y_914_); +lean_dec_ref(v___y_913_); +lean_dec(v___y_912_); +lean_dec_ref(v___y_911_); +return v_res_916_; +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7(lean_object* v_00_u03b1_917_, lean_object* v_env_918_, lean_object* v_x_919_, lean_object* v___y_920_, lean_object* v___y_921_, lean_object* v___y_922_, lean_object* v___y_923_){ +_start: +{ +lean_object* v___x_925_; +v___x_925_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___redArg(v_env_918_, v_x_919_, v___y_920_, v___y_921_, v___y_922_, v___y_923_); +return v___x_925_; +} +} +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7___boxed(lean_object* v_00_u03b1_926_, lean_object* v_env_927_, lean_object* v_x_928_, lean_object* v___y_929_, lean_object* v___y_930_, lean_object* v___y_931_, lean_object* v___y_932_, lean_object* v___y_933_){ +_start: +{ +lean_object* v_res_934_; +v_res_934_ = l_Lean_withEnv___at___00Lean_Meta_evalExprCore_spec__7(v_00_u03b1_926_, v_env_927_, v_x_928_, v___y_929_, v___y_930_, v___y_931_, v___y_932_); +return v_res_934_; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5(lean_object* v_00_u03b1_935_, lean_object* v_x_936_, lean_object* v___y_937_, lean_object* v___y_938_, lean_object* v___y_939_, lean_object* v___y_940_){ +_start: +{ +lean_object* v___x_942_; +v___x_942_ = l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5___redArg(v_x_936_, v___y_937_, v___y_938_, v___y_939_, v___y_940_); +return v___x_942_; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5___boxed(lean_object* v_00_u03b1_943_, lean_object* v_x_944_, lean_object* v___y_945_, lean_object* v___y_946_, lean_object* v___y_947_, lean_object* v___y_948_, lean_object* v___y_949_){ +_start: +{ +lean_object* v_res_950_; +v_res_950_ = l_Lean_ofExcept___at___00Lean_evalConst___at___00Lean_Meta_evalExprCore_spec__4_spec__5(v_00_u03b1_943_, v_x_944_, v___y_945_, v___y_946_, v___y_947_, v___y_948_); +lean_dec(v___y_948_); +lean_dec_ref(v___y_947_); +lean_dec(v___y_946_); +lean_dec_ref(v___y_945_); +return v_res_950_; } } static lean_object* _init_l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1(void){ _start: { -lean_object* v___x_838_; lean_object* v___x_839_; -v___x_838_ = ((lean_object*)(l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__0)); -v___x_839_ = l_Lean_stringToMessageData(v___x_838_); -return v___x_839_; +lean_object* v___x_952_; lean_object* v___x_953_; +v___x_952_ = ((lean_object*)(l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__0)); +v___x_953_ = l_Lean_stringToMessageData(v___x_952_); +return v___x_953_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___lam__0(lean_object* v_typeName_840_, lean_object* v_type_841_, lean_object* v___y_842_, lean_object* v___y_843_, lean_object* v___y_844_, lean_object* v___y_845_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___lam__0(lean_object* v_typeName_954_, lean_object* v_type_955_, lean_object* v___y_956_, lean_object* v___y_957_, lean_object* v___y_958_, lean_object* v___y_959_){ _start: { -lean_object* v___x_847_; -lean_inc(v___y_845_); -lean_inc_ref(v___y_844_); -lean_inc(v___y_843_); -lean_inc_ref(v___y_842_); -v___x_847_ = l_Lean_Meta_whnfD(v_type_841_, v___y_842_, v___y_843_, v___y_844_, v___y_845_); -if (lean_obj_tag(v___x_847_) == 0) +lean_object* v___x_961_; +lean_inc(v___y_959_); +lean_inc_ref(v___y_958_); +lean_inc(v___y_957_); +lean_inc_ref(v___y_956_); +v___x_961_ = l_Lean_Meta_whnfD(v_type_955_, v___y_956_, v___y_957_, v___y_958_, v___y_959_); +if (lean_obj_tag(v___x_961_) == 0) { -lean_object* v_a_848_; lean_object* v___x_850_; uint8_t v_isShared_851_; uint8_t v_isSharedCheck_861_; -v_a_848_ = lean_ctor_get(v___x_847_, 0); -v_isSharedCheck_861_ = !lean_is_exclusive(v___x_847_); -if (v_isSharedCheck_861_ == 0) +lean_object* v_a_962_; lean_object* v___x_964_; uint8_t v_isShared_965_; uint8_t v_isSharedCheck_975_; +v_a_962_ = lean_ctor_get(v___x_961_, 0); +v_isSharedCheck_975_ = !lean_is_exclusive(v___x_961_); +if (v_isSharedCheck_975_ == 0) { -v___x_850_ = v___x_847_; -v_isShared_851_ = v_isSharedCheck_861_; -goto v_resetjp_849_; +v___x_964_ = v___x_961_; +v_isShared_965_ = v_isSharedCheck_975_; +goto v_resetjp_963_; } else { -lean_inc(v_a_848_); -lean_dec(v___x_847_); -v___x_850_ = lean_box(0); -v_isShared_851_ = v_isSharedCheck_861_; -goto v_resetjp_849_; +lean_inc(v_a_962_); +lean_dec(v___x_961_); +v___x_964_ = lean_box(0); +v_isShared_965_ = v_isSharedCheck_975_; +goto v_resetjp_963_; } -v_resetjp_849_: +v_resetjp_963_: { -uint8_t v___x_852_; -v___x_852_ = l_Lean_Expr_isConstOf(v_a_848_, v_typeName_840_); -if (v___x_852_ == 0) +uint8_t v___x_966_; +v___x_966_ = l_Lean_Expr_isConstOf(v_a_962_, v_typeName_954_); +if (v___x_966_ == 0) { -lean_object* v___x_853_; lean_object* v___x_854_; lean_object* v___x_855_; lean_object* v___x_856_; -lean_del_object(v___x_850_); -v___x_853_ = lean_obj_once(&l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1, &l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1); -v___x_854_ = l_Lean_indentExpr(v_a_848_); -v___x_855_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_855_, 0, v___x_853_); -lean_ctor_set(v___x_855_, 1, v___x_854_); -v___x_856_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_855_, v___y_842_, v___y_843_, v___y_844_, v___y_845_); -lean_dec(v___y_845_); -lean_dec_ref(v___y_844_); -lean_dec(v___y_843_); -lean_dec_ref(v___y_842_); -return v___x_856_; +lean_object* v___x_967_; lean_object* v___x_968_; lean_object* v___x_969_; lean_object* v___x_970_; +lean_del_object(v___x_964_); +v___x_967_ = lean_obj_once(&l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1, &l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_evalExpr_x27___redArg___lam__0___closed__1); +v___x_968_ = l_Lean_indentExpr(v_a_962_); +v___x_969_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_969_, 0, v___x_967_); +lean_ctor_set(v___x_969_, 1, v___x_968_); +v___x_970_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_969_, v___y_956_, v___y_957_, v___y_958_, v___y_959_); +lean_dec(v___y_959_); +lean_dec_ref(v___y_958_); +lean_dec(v___y_957_); +lean_dec_ref(v___y_956_); +return v___x_970_; } else { -lean_object* v___x_857_; lean_object* v___x_859_; -lean_dec(v_a_848_); -lean_dec(v___y_845_); -lean_dec_ref(v___y_844_); -lean_dec(v___y_843_); -lean_dec_ref(v___y_842_); -v___x_857_ = lean_box(0); -if (v_isShared_851_ == 0) +lean_object* v___x_971_; lean_object* v___x_973_; +lean_dec(v_a_962_); +lean_dec(v___y_959_); +lean_dec_ref(v___y_958_); +lean_dec(v___y_957_); +lean_dec_ref(v___y_956_); +v___x_971_ = lean_box(0); +if (v_isShared_965_ == 0) { -lean_ctor_set(v___x_850_, 0, v___x_857_); -v___x_859_ = v___x_850_; -goto v_reusejp_858_; +lean_ctor_set(v___x_964_, 0, v___x_971_); +v___x_973_ = v___x_964_; +goto v_reusejp_972_; } else { -lean_object* v_reuseFailAlloc_860_; -v_reuseFailAlloc_860_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_860_, 0, v___x_857_); -v___x_859_ = v_reuseFailAlloc_860_; -goto v_reusejp_858_; +lean_object* v_reuseFailAlloc_974_; +v_reuseFailAlloc_974_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_974_, 0, v___x_971_); +v___x_973_ = v_reuseFailAlloc_974_; +goto v_reusejp_972_; } -v_reusejp_858_: +v_reusejp_972_: { -return v___x_859_; +return v___x_973_; } } } } else { -lean_object* v_a_862_; lean_object* v___x_864_; uint8_t v_isShared_865_; uint8_t v_isSharedCheck_869_; -lean_dec(v___y_845_); -lean_dec_ref(v___y_844_); -lean_dec(v___y_843_); -lean_dec_ref(v___y_842_); -v_a_862_ = lean_ctor_get(v___x_847_, 0); -v_isSharedCheck_869_ = !lean_is_exclusive(v___x_847_); -if (v_isSharedCheck_869_ == 0) +lean_object* v_a_976_; lean_object* v___x_978_; uint8_t v_isShared_979_; uint8_t v_isSharedCheck_983_; +lean_dec(v___y_959_); +lean_dec_ref(v___y_958_); +lean_dec(v___y_957_); +lean_dec_ref(v___y_956_); +v_a_976_ = lean_ctor_get(v___x_961_, 0); +v_isSharedCheck_983_ = !lean_is_exclusive(v___x_961_); +if (v_isSharedCheck_983_ == 0) { -v___x_864_ = v___x_847_; -v_isShared_865_ = v_isSharedCheck_869_; -goto v_resetjp_863_; +v___x_978_ = v___x_961_; +v_isShared_979_ = v_isSharedCheck_983_; +goto v_resetjp_977_; } else { -lean_inc(v_a_862_); -lean_dec(v___x_847_); -v___x_864_ = lean_box(0); -v_isShared_865_ = v_isSharedCheck_869_; -goto v_resetjp_863_; +lean_inc(v_a_976_); +lean_dec(v___x_961_); +v___x_978_ = lean_box(0); +v_isShared_979_ = v_isSharedCheck_983_; +goto v_resetjp_977_; } -v_resetjp_863_: +v_resetjp_977_: { -lean_object* v___x_867_; -if (v_isShared_865_ == 0) +lean_object* v___x_981_; +if (v_isShared_979_ == 0) { -v___x_867_ = v___x_864_; -goto v_reusejp_866_; +v___x_981_ = v___x_978_; +goto v_reusejp_980_; } else { -lean_object* v_reuseFailAlloc_868_; -v_reuseFailAlloc_868_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_868_, 0, v_a_862_); -v___x_867_ = v_reuseFailAlloc_868_; -goto v_reusejp_866_; +lean_object* v_reuseFailAlloc_982_; +v_reuseFailAlloc_982_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_982_, 0, v_a_976_); +v___x_981_ = v_reuseFailAlloc_982_; +goto v_reusejp_980_; } -v_reusejp_866_: +v_reusejp_980_: { -return v___x_867_; +return v___x_981_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___lam__0___boxed(lean_object* v_typeName_870_, lean_object* v_type_871_, lean_object* v___y_872_, lean_object* v___y_873_, lean_object* v___y_874_, lean_object* v___y_875_, lean_object* v___y_876_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___lam__0___boxed(lean_object* v_typeName_984_, lean_object* v_type_985_, lean_object* v___y_986_, lean_object* v___y_987_, lean_object* v___y_988_, lean_object* v___y_989_, lean_object* v___y_990_){ _start: { -lean_object* v_res_877_; -v_res_877_ = l_Lean_Meta_evalExpr_x27___redArg___lam__0(v_typeName_870_, v_type_871_, v___y_872_, v___y_873_, v___y_874_, v___y_875_); -lean_dec(v_typeName_870_); -return v_res_877_; +lean_object* v_res_991_; +v_res_991_ = l_Lean_Meta_evalExpr_x27___redArg___lam__0(v_typeName_984_, v_type_985_, v___y_986_, v___y_987_, v___y_988_, v___y_989_); +lean_dec(v_typeName_984_); +return v_res_991_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg(lean_object* v_typeName_878_, lean_object* v_value_879_, uint8_t v_safety_880_, uint8_t v_checkMeta_881_, lean_object* v_a_882_, lean_object* v_a_883_, lean_object* v_a_884_, lean_object* v_a_885_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg(lean_object* v_typeName_992_, lean_object* v_value_993_, uint8_t v_safety_994_, uint8_t v_checkMeta_995_, lean_object* v_a_996_, lean_object* v_a_997_, lean_object* v_a_998_, lean_object* v_a_999_){ _start: { -lean_object* v___f_887_; lean_object* v___x_888_; -v___f_887_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExpr_x27___redArg___lam__0___boxed), 7, 1); -lean_closure_set(v___f_887_, 0, v_typeName_878_); -v___x_888_ = l_Lean_Meta_evalExprCore___redArg(v_value_879_, v___f_887_, v_safety_880_, v_checkMeta_881_, v_a_882_, v_a_883_, v_a_884_, v_a_885_); -return v___x_888_; +lean_object* v___f_1001_; lean_object* v___x_1002_; +v___f_1001_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExpr_x27___redArg___lam__0___boxed), 7, 1); +lean_closure_set(v___f_1001_, 0, v_typeName_992_); +v___x_1002_ = l_Lean_Meta_evalExprCore___redArg(v_value_993_, v___f_1001_, v_safety_994_, v_checkMeta_995_, v_a_996_, v_a_997_, v_a_998_, v_a_999_); +return v___x_1002_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___boxed(lean_object* v_typeName_889_, lean_object* v_value_890_, lean_object* v_safety_891_, lean_object* v_checkMeta_892_, lean_object* v_a_893_, lean_object* v_a_894_, lean_object* v_a_895_, lean_object* v_a_896_, lean_object* v_a_897_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___redArg___boxed(lean_object* v_typeName_1003_, lean_object* v_value_1004_, lean_object* v_safety_1005_, lean_object* v_checkMeta_1006_, lean_object* v_a_1007_, lean_object* v_a_1008_, lean_object* v_a_1009_, lean_object* v_a_1010_, lean_object* v_a_1011_){ _start: { -uint8_t v_safety_boxed_898_; uint8_t v_checkMeta_boxed_899_; lean_object* v_res_900_; -v_safety_boxed_898_ = lean_unbox(v_safety_891_); -v_checkMeta_boxed_899_ = lean_unbox(v_checkMeta_892_); -v_res_900_ = l_Lean_Meta_evalExpr_x27___redArg(v_typeName_889_, v_value_890_, v_safety_boxed_898_, v_checkMeta_boxed_899_, v_a_893_, v_a_894_, v_a_895_, v_a_896_); -return v_res_900_; +uint8_t v_safety_boxed_1012_; uint8_t v_checkMeta_boxed_1013_; lean_object* v_res_1014_; +v_safety_boxed_1012_ = lean_unbox(v_safety_1005_); +v_checkMeta_boxed_1013_ = lean_unbox(v_checkMeta_1006_); +v_res_1014_ = l_Lean_Meta_evalExpr_x27___redArg(v_typeName_1003_, v_value_1004_, v_safety_boxed_1012_, v_checkMeta_boxed_1013_, v_a_1007_, v_a_1008_, v_a_1009_, v_a_1010_); +return v_res_1014_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27(lean_object* v_00_u03b1_901_, lean_object* v_typeName_902_, lean_object* v_value_903_, uint8_t v_safety_904_, uint8_t v_checkMeta_905_, lean_object* v_a_906_, lean_object* v_a_907_, lean_object* v_a_908_, lean_object* v_a_909_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27(lean_object* v_00_u03b1_1015_, lean_object* v_typeName_1016_, lean_object* v_value_1017_, uint8_t v_safety_1018_, uint8_t v_checkMeta_1019_, lean_object* v_a_1020_, lean_object* v_a_1021_, lean_object* v_a_1022_, lean_object* v_a_1023_){ _start: { -lean_object* v___x_911_; -v___x_911_ = l_Lean_Meta_evalExpr_x27___redArg(v_typeName_902_, v_value_903_, v_safety_904_, v_checkMeta_905_, v_a_906_, v_a_907_, v_a_908_, v_a_909_); -return v___x_911_; +lean_object* v___x_1025_; +v___x_1025_ = l_Lean_Meta_evalExpr_x27___redArg(v_typeName_1016_, v_value_1017_, v_safety_1018_, v_checkMeta_1019_, v_a_1020_, v_a_1021_, v_a_1022_, v_a_1023_); +return v___x_1025_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___boxed(lean_object* v_00_u03b1_912_, lean_object* v_typeName_913_, lean_object* v_value_914_, lean_object* v_safety_915_, lean_object* v_checkMeta_916_, lean_object* v_a_917_, lean_object* v_a_918_, lean_object* v_a_919_, lean_object* v_a_920_, lean_object* v_a_921_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr_x27___boxed(lean_object* v_00_u03b1_1026_, lean_object* v_typeName_1027_, lean_object* v_value_1028_, lean_object* v_safety_1029_, lean_object* v_checkMeta_1030_, lean_object* v_a_1031_, lean_object* v_a_1032_, lean_object* v_a_1033_, lean_object* v_a_1034_, lean_object* v_a_1035_){ _start: { -uint8_t v_safety_boxed_922_; uint8_t v_checkMeta_boxed_923_; lean_object* v_res_924_; -v_safety_boxed_922_ = lean_unbox(v_safety_915_); -v_checkMeta_boxed_923_ = lean_unbox(v_checkMeta_916_); -v_res_924_ = l_Lean_Meta_evalExpr_x27(v_00_u03b1_912_, v_typeName_913_, v_value_914_, v_safety_boxed_922_, v_checkMeta_boxed_923_, v_a_917_, v_a_918_, v_a_919_, v_a_920_); -return v_res_924_; +uint8_t v_safety_boxed_1036_; uint8_t v_checkMeta_boxed_1037_; lean_object* v_res_1038_; +v_safety_boxed_1036_ = lean_unbox(v_safety_1029_); +v_checkMeta_boxed_1037_ = lean_unbox(v_checkMeta_1030_); +v_res_1038_ = l_Lean_Meta_evalExpr_x27(v_00_u03b1_1026_, v_typeName_1027_, v_value_1028_, v_safety_boxed_1036_, v_checkMeta_boxed_1037_, v_a_1031_, v_a_1032_, v_a_1033_, v_a_1034_); +return v_res_1038_; } } static lean_object* _init_l_Lean_Meta_evalExpr___redArg___lam__0___closed__2(void){ _start: { -lean_object* v___x_928_; lean_object* v___x_929_; -v___x_928_ = ((lean_object*)(l_Lean_Meta_evalExpr___redArg___lam__0___closed__1)); -v___x_929_ = l_Lean_stringToMessageData(v___x_928_); -return v___x_929_; +lean_object* v___x_1042_; lean_object* v___x_1043_; +v___x_1042_ = ((lean_object*)(l_Lean_Meta_evalExpr___redArg___lam__0___closed__1)); +v___x_1043_ = l_Lean_stringToMessageData(v___x_1042_); +return v___x_1043_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___lam__0(lean_object* v_expectedType_930_, lean_object* v_type_931_, lean_object* v___y_932_, lean_object* v___y_933_, lean_object* v___y_934_, lean_object* v___y_935_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___lam__0(lean_object* v_expectedType_1044_, lean_object* v_type_1045_, lean_object* v___y_1046_, lean_object* v___y_1047_, lean_object* v___y_1048_, lean_object* v___y_1049_){ _start: { -lean_object* v___x_937_; -lean_inc(v___y_935_); -lean_inc_ref(v___y_934_); -lean_inc(v___y_933_); -lean_inc_ref(v___y_932_); -lean_inc_ref(v_expectedType_930_); -lean_inc_ref(v_type_931_); -v___x_937_ = l_Lean_Meta_isExprDefEq(v_type_931_, v_expectedType_930_, v___y_932_, v___y_933_, v___y_934_, v___y_935_); -if (lean_obj_tag(v___x_937_) == 0) +lean_object* v___x_1051_; +lean_inc(v___y_1049_); +lean_inc_ref(v___y_1048_); +lean_inc(v___y_1047_); +lean_inc_ref(v___y_1046_); +lean_inc_ref(v_expectedType_1044_); +lean_inc_ref(v_type_1045_); +v___x_1051_ = l_Lean_Meta_isExprDefEq(v_type_1045_, v_expectedType_1044_, v___y_1046_, v___y_1047_, v___y_1048_, v___y_1049_); +if (lean_obj_tag(v___x_1051_) == 0) { -lean_object* v_a_938_; lean_object* v___x_940_; uint8_t v_isShared_941_; uint8_t v_isSharedCheck_962_; -v_a_938_ = lean_ctor_get(v___x_937_, 0); -v_isSharedCheck_962_ = !lean_is_exclusive(v___x_937_); -if (v_isSharedCheck_962_ == 0) +lean_object* v_a_1052_; lean_object* v___x_1054_; uint8_t v_isShared_1055_; uint8_t v_isSharedCheck_1076_; +v_a_1052_ = lean_ctor_get(v___x_1051_, 0); +v_isSharedCheck_1076_ = !lean_is_exclusive(v___x_1051_); +if (v_isSharedCheck_1076_ == 0) { -v___x_940_ = v___x_937_; -v_isShared_941_ = v_isSharedCheck_962_; -goto v_resetjp_939_; +v___x_1054_ = v___x_1051_; +v_isShared_1055_ = v_isSharedCheck_1076_; +goto v_resetjp_1053_; } else { -lean_inc(v_a_938_); -lean_dec(v___x_937_); -v___x_940_ = lean_box(0); -v_isShared_941_ = v_isSharedCheck_962_; -goto v_resetjp_939_; +lean_inc(v_a_1052_); +lean_dec(v___x_1051_); +v___x_1054_ = lean_box(0); +v_isShared_1055_ = v_isSharedCheck_1076_; +goto v_resetjp_1053_; } -v_resetjp_939_: +v_resetjp_1053_: { -uint8_t v___x_942_; -v___x_942_ = lean_unbox(v_a_938_); -lean_dec(v_a_938_); -if (v___x_942_ == 0) +uint8_t v___x_1056_; +v___x_1056_ = lean_unbox(v_a_1052_); +lean_dec(v_a_1052_); +if (v___x_1056_ == 0) { -lean_object* v___x_943_; lean_object* v___x_944_; lean_object* v___x_945_; -lean_del_object(v___x_940_); -v___x_943_ = lean_box(0); -v___x_944_ = ((lean_object*)(l_Lean_Meta_evalExpr___redArg___lam__0___closed__0)); -v___x_945_ = l_Lean_Meta_mkHasTypeButIsExpectedMsg___redArg(v_type_931_, v_expectedType_930_, v___x_943_, v___x_944_); -if (lean_obj_tag(v___x_945_) == 0) +lean_object* v___x_1057_; lean_object* v___x_1058_; lean_object* v___x_1059_; +lean_del_object(v___x_1054_); +v___x_1057_ = lean_box(0); +v___x_1058_ = ((lean_object*)(l_Lean_Meta_evalExpr___redArg___lam__0___closed__0)); +v___x_1059_ = l_Lean_Meta_mkHasTypeButIsExpectedMsg___redArg(v_type_1045_, v_expectedType_1044_, v___x_1057_, v___x_1058_); +if (lean_obj_tag(v___x_1059_) == 0) { -lean_object* v_a_946_; lean_object* v___x_947_; lean_object* v___x_948_; lean_object* v___x_949_; -v_a_946_ = lean_ctor_get(v___x_945_, 0); -lean_inc(v_a_946_); -lean_dec_ref(v___x_945_); -v___x_947_ = lean_obj_once(&l_Lean_Meta_evalExpr___redArg___lam__0___closed__2, &l_Lean_Meta_evalExpr___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExpr___redArg___lam__0___closed__2); -v___x_948_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_948_, 0, v___x_947_); -lean_ctor_set(v___x_948_, 1, v_a_946_); -v___x_949_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_948_, v___y_932_, v___y_933_, v___y_934_, v___y_935_); -lean_dec(v___y_935_); -lean_dec_ref(v___y_934_); -lean_dec(v___y_933_); -lean_dec_ref(v___y_932_); -return v___x_949_; +lean_object* v_a_1060_; lean_object* v___x_1061_; lean_object* v___x_1062_; lean_object* v___x_1063_; +v_a_1060_ = lean_ctor_get(v___x_1059_, 0); +lean_inc(v_a_1060_); +lean_dec_ref(v___x_1059_); +v___x_1061_ = lean_obj_once(&l_Lean_Meta_evalExpr___redArg___lam__0___closed__2, &l_Lean_Meta_evalExpr___redArg___lam__0___closed__2_once, _init_l_Lean_Meta_evalExpr___redArg___lam__0___closed__2); +v___x_1062_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1062_, 0, v___x_1061_); +lean_ctor_set(v___x_1062_, 1, v_a_1060_); +v___x_1063_ = l_Lean_throwError___at___00Lean_Meta_evalExprCore_spec__5___redArg(v___x_1062_, v___y_1046_, v___y_1047_, v___y_1048_, v___y_1049_); +lean_dec(v___y_1049_); +lean_dec_ref(v___y_1048_); +lean_dec(v___y_1047_); +lean_dec_ref(v___y_1046_); +return v___x_1063_; } else { -lean_object* v_a_950_; lean_object* v___x_952_; uint8_t v_isShared_953_; uint8_t v_isSharedCheck_957_; -lean_dec(v___y_935_); -lean_dec_ref(v___y_934_); -lean_dec(v___y_933_); -lean_dec_ref(v___y_932_); -v_a_950_ = lean_ctor_get(v___x_945_, 0); -v_isSharedCheck_957_ = !lean_is_exclusive(v___x_945_); -if (v_isSharedCheck_957_ == 0) +lean_object* v_a_1064_; lean_object* v___x_1066_; uint8_t v_isShared_1067_; uint8_t v_isSharedCheck_1071_; +lean_dec(v___y_1049_); +lean_dec_ref(v___y_1048_); +lean_dec(v___y_1047_); +lean_dec_ref(v___y_1046_); +v_a_1064_ = lean_ctor_get(v___x_1059_, 0); +v_isSharedCheck_1071_ = !lean_is_exclusive(v___x_1059_); +if (v_isSharedCheck_1071_ == 0) { -v___x_952_ = v___x_945_; -v_isShared_953_ = v_isSharedCheck_957_; -goto v_resetjp_951_; +v___x_1066_ = v___x_1059_; +v_isShared_1067_ = v_isSharedCheck_1071_; +goto v_resetjp_1065_; } else { -lean_inc(v_a_950_); -lean_dec(v___x_945_); -v___x_952_ = lean_box(0); -v_isShared_953_ = v_isSharedCheck_957_; -goto v_resetjp_951_; +lean_inc(v_a_1064_); +lean_dec(v___x_1059_); +v___x_1066_ = lean_box(0); +v_isShared_1067_ = v_isSharedCheck_1071_; +goto v_resetjp_1065_; } -v_resetjp_951_: +v_resetjp_1065_: { -lean_object* v___x_955_; -if (v_isShared_953_ == 0) +lean_object* v___x_1069_; +if (v_isShared_1067_ == 0) { -v___x_955_ = v___x_952_; -goto v_reusejp_954_; +v___x_1069_ = v___x_1066_; +goto v_reusejp_1068_; } else { -lean_object* v_reuseFailAlloc_956_; -v_reuseFailAlloc_956_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_956_, 0, v_a_950_); -v___x_955_ = v_reuseFailAlloc_956_; -goto v_reusejp_954_; +lean_object* v_reuseFailAlloc_1070_; +v_reuseFailAlloc_1070_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1070_, 0, v_a_1064_); +v___x_1069_ = v_reuseFailAlloc_1070_; +goto v_reusejp_1068_; } -v_reusejp_954_: +v_reusejp_1068_: { -return v___x_955_; +return v___x_1069_; } } } } else { -lean_object* v___x_958_; lean_object* v___x_960_; -lean_dec(v___y_935_); -lean_dec_ref(v___y_934_); -lean_dec(v___y_933_); -lean_dec_ref(v___y_932_); -lean_dec_ref(v_type_931_); -lean_dec_ref(v_expectedType_930_); -v___x_958_ = lean_box(0); -if (v_isShared_941_ == 0) +lean_object* v___x_1072_; lean_object* v___x_1074_; +lean_dec(v___y_1049_); +lean_dec_ref(v___y_1048_); +lean_dec(v___y_1047_); +lean_dec_ref(v___y_1046_); +lean_dec_ref(v_type_1045_); +lean_dec_ref(v_expectedType_1044_); +v___x_1072_ = lean_box(0); +if (v_isShared_1055_ == 0) { -lean_ctor_set(v___x_940_, 0, v___x_958_); -v___x_960_ = v___x_940_; -goto v_reusejp_959_; +lean_ctor_set(v___x_1054_, 0, v___x_1072_); +v___x_1074_ = v___x_1054_; +goto v_reusejp_1073_; } else { -lean_object* v_reuseFailAlloc_961_; -v_reuseFailAlloc_961_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_961_, 0, v___x_958_); -v___x_960_ = v_reuseFailAlloc_961_; -goto v_reusejp_959_; +lean_object* v_reuseFailAlloc_1075_; +v_reuseFailAlloc_1075_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1075_, 0, v___x_1072_); +v___x_1074_ = v_reuseFailAlloc_1075_; +goto v_reusejp_1073_; } -v_reusejp_959_: +v_reusejp_1073_: { -return v___x_960_; +return v___x_1074_; } } } } else { -lean_object* v_a_963_; lean_object* v___x_965_; uint8_t v_isShared_966_; uint8_t v_isSharedCheck_970_; -lean_dec(v___y_935_); -lean_dec_ref(v___y_934_); -lean_dec(v___y_933_); -lean_dec_ref(v___y_932_); -lean_dec_ref(v_type_931_); -lean_dec_ref(v_expectedType_930_); -v_a_963_ = lean_ctor_get(v___x_937_, 0); -v_isSharedCheck_970_ = !lean_is_exclusive(v___x_937_); -if (v_isSharedCheck_970_ == 0) +lean_object* v_a_1077_; lean_object* v___x_1079_; uint8_t v_isShared_1080_; uint8_t v_isSharedCheck_1084_; +lean_dec(v___y_1049_); +lean_dec_ref(v___y_1048_); +lean_dec(v___y_1047_); +lean_dec_ref(v___y_1046_); +lean_dec_ref(v_type_1045_); +lean_dec_ref(v_expectedType_1044_); +v_a_1077_ = lean_ctor_get(v___x_1051_, 0); +v_isSharedCheck_1084_ = !lean_is_exclusive(v___x_1051_); +if (v_isSharedCheck_1084_ == 0) { -v___x_965_ = v___x_937_; -v_isShared_966_ = v_isSharedCheck_970_; -goto v_resetjp_964_; +v___x_1079_ = v___x_1051_; +v_isShared_1080_ = v_isSharedCheck_1084_; +goto v_resetjp_1078_; } else { -lean_inc(v_a_963_); -lean_dec(v___x_937_); -v___x_965_ = lean_box(0); -v_isShared_966_ = v_isSharedCheck_970_; -goto v_resetjp_964_; +lean_inc(v_a_1077_); +lean_dec(v___x_1051_); +v___x_1079_ = lean_box(0); +v_isShared_1080_ = v_isSharedCheck_1084_; +goto v_resetjp_1078_; } -v_resetjp_964_: +v_resetjp_1078_: { -lean_object* v___x_968_; -if (v_isShared_966_ == 0) +lean_object* v___x_1082_; +if (v_isShared_1080_ == 0) { -v___x_968_ = v___x_965_; -goto v_reusejp_967_; +v___x_1082_ = v___x_1079_; +goto v_reusejp_1081_; } else { -lean_object* v_reuseFailAlloc_969_; -v_reuseFailAlloc_969_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_969_, 0, v_a_963_); -v___x_968_ = v_reuseFailAlloc_969_; -goto v_reusejp_967_; +lean_object* v_reuseFailAlloc_1083_; +v_reuseFailAlloc_1083_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1083_, 0, v_a_1077_); +v___x_1082_ = v_reuseFailAlloc_1083_; +goto v_reusejp_1081_; } -v_reusejp_967_: +v_reusejp_1081_: { -return v___x_968_; +return v___x_1082_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___lam__0___boxed(lean_object* v_expectedType_971_, lean_object* v_type_972_, lean_object* v___y_973_, lean_object* v___y_974_, lean_object* v___y_975_, lean_object* v___y_976_, lean_object* v___y_977_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___lam__0___boxed(lean_object* v_expectedType_1085_, lean_object* v_type_1086_, lean_object* v___y_1087_, lean_object* v___y_1088_, lean_object* v___y_1089_, lean_object* v___y_1090_, lean_object* v___y_1091_){ _start: { -lean_object* v_res_978_; -v_res_978_ = l_Lean_Meta_evalExpr___redArg___lam__0(v_expectedType_971_, v_type_972_, v___y_973_, v___y_974_, v___y_975_, v___y_976_); -return v_res_978_; +lean_object* v_res_1092_; +v_res_1092_ = l_Lean_Meta_evalExpr___redArg___lam__0(v_expectedType_1085_, v_type_1086_, v___y_1087_, v___y_1088_, v___y_1089_, v___y_1090_); +return v_res_1092_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg(lean_object* v_expectedType_979_, lean_object* v_value_980_, uint8_t v_safety_981_, uint8_t v_checkMeta_982_, lean_object* v_a_983_, lean_object* v_a_984_, lean_object* v_a_985_, lean_object* v_a_986_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg(lean_object* v_expectedType_1093_, lean_object* v_value_1094_, uint8_t v_safety_1095_, uint8_t v_checkMeta_1096_, lean_object* v_a_1097_, lean_object* v_a_1098_, lean_object* v_a_1099_, lean_object* v_a_1100_){ _start: { -lean_object* v___f_988_; lean_object* v___x_989_; -v___f_988_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExpr___redArg___lam__0___boxed), 7, 1); -lean_closure_set(v___f_988_, 0, v_expectedType_979_); -v___x_989_ = l_Lean_Meta_evalExprCore___redArg(v_value_980_, v___f_988_, v_safety_981_, v_checkMeta_982_, v_a_983_, v_a_984_, v_a_985_, v_a_986_); -return v___x_989_; +lean_object* v___f_1102_; lean_object* v___x_1103_; +v___f_1102_ = lean_alloc_closure((void*)(l_Lean_Meta_evalExpr___redArg___lam__0___boxed), 7, 1); +lean_closure_set(v___f_1102_, 0, v_expectedType_1093_); +v___x_1103_ = l_Lean_Meta_evalExprCore___redArg(v_value_1094_, v___f_1102_, v_safety_1095_, v_checkMeta_1096_, v_a_1097_, v_a_1098_, v_a_1099_, v_a_1100_); +return v___x_1103_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___boxed(lean_object* v_expectedType_990_, lean_object* v_value_991_, lean_object* v_safety_992_, lean_object* v_checkMeta_993_, lean_object* v_a_994_, lean_object* v_a_995_, lean_object* v_a_996_, lean_object* v_a_997_, lean_object* v_a_998_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___redArg___boxed(lean_object* v_expectedType_1104_, lean_object* v_value_1105_, lean_object* v_safety_1106_, lean_object* v_checkMeta_1107_, lean_object* v_a_1108_, lean_object* v_a_1109_, lean_object* v_a_1110_, lean_object* v_a_1111_, lean_object* v_a_1112_){ _start: { -uint8_t v_safety_boxed_999_; uint8_t v_checkMeta_boxed_1000_; lean_object* v_res_1001_; -v_safety_boxed_999_ = lean_unbox(v_safety_992_); -v_checkMeta_boxed_1000_ = lean_unbox(v_checkMeta_993_); -v_res_1001_ = l_Lean_Meta_evalExpr___redArg(v_expectedType_990_, v_value_991_, v_safety_boxed_999_, v_checkMeta_boxed_1000_, v_a_994_, v_a_995_, v_a_996_, v_a_997_); -return v_res_1001_; +uint8_t v_safety_boxed_1113_; uint8_t v_checkMeta_boxed_1114_; lean_object* v_res_1115_; +v_safety_boxed_1113_ = lean_unbox(v_safety_1106_); +v_checkMeta_boxed_1114_ = lean_unbox(v_checkMeta_1107_); +v_res_1115_ = l_Lean_Meta_evalExpr___redArg(v_expectedType_1104_, v_value_1105_, v_safety_boxed_1113_, v_checkMeta_boxed_1114_, v_a_1108_, v_a_1109_, v_a_1110_, v_a_1111_); +return v_res_1115_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr(lean_object* v_00_u03b1_1002_, lean_object* v_expectedType_1003_, lean_object* v_value_1004_, uint8_t v_safety_1005_, uint8_t v_checkMeta_1006_, lean_object* v_a_1007_, lean_object* v_a_1008_, lean_object* v_a_1009_, lean_object* v_a_1010_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr(lean_object* v_00_u03b1_1116_, lean_object* v_expectedType_1117_, lean_object* v_value_1118_, uint8_t v_safety_1119_, uint8_t v_checkMeta_1120_, lean_object* v_a_1121_, lean_object* v_a_1122_, lean_object* v_a_1123_, lean_object* v_a_1124_){ _start: { -lean_object* v___x_1012_; -v___x_1012_ = l_Lean_Meta_evalExpr___redArg(v_expectedType_1003_, v_value_1004_, v_safety_1005_, v_checkMeta_1006_, v_a_1007_, v_a_1008_, v_a_1009_, v_a_1010_); -return v___x_1012_; +lean_object* v___x_1126_; +v___x_1126_ = l_Lean_Meta_evalExpr___redArg(v_expectedType_1117_, v_value_1118_, v_safety_1119_, v_checkMeta_1120_, v_a_1121_, v_a_1122_, v_a_1123_, v_a_1124_); +return v___x_1126_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___boxed(lean_object* v_00_u03b1_1013_, lean_object* v_expectedType_1014_, lean_object* v_value_1015_, lean_object* v_safety_1016_, lean_object* v_checkMeta_1017_, lean_object* v_a_1018_, lean_object* v_a_1019_, lean_object* v_a_1020_, lean_object* v_a_1021_, lean_object* v_a_1022_){ +LEAN_EXPORT lean_object* l_Lean_Meta_evalExpr___boxed(lean_object* v_00_u03b1_1127_, lean_object* v_expectedType_1128_, lean_object* v_value_1129_, lean_object* v_safety_1130_, lean_object* v_checkMeta_1131_, lean_object* v_a_1132_, lean_object* v_a_1133_, lean_object* v_a_1134_, lean_object* v_a_1135_, lean_object* v_a_1136_){ _start: { -uint8_t v_safety_boxed_1023_; uint8_t v_checkMeta_boxed_1024_; lean_object* v_res_1025_; -v_safety_boxed_1023_ = lean_unbox(v_safety_1016_); -v_checkMeta_boxed_1024_ = lean_unbox(v_checkMeta_1017_); -v_res_1025_ = l_Lean_Meta_evalExpr(v_00_u03b1_1013_, v_expectedType_1014_, v_value_1015_, v_safety_boxed_1023_, v_checkMeta_boxed_1024_, v_a_1018_, v_a_1019_, v_a_1020_, v_a_1021_); -return v_res_1025_; +uint8_t v_safety_boxed_1137_; uint8_t v_checkMeta_boxed_1138_; lean_object* v_res_1139_; +v_safety_boxed_1137_ = lean_unbox(v_safety_1130_); +v_checkMeta_boxed_1138_ = lean_unbox(v_checkMeta_1131_); +v_res_1139_ = l_Lean_Meta_evalExpr(v_00_u03b1_1127_, v_expectedType_1128_, v_value_1129_, v_safety_boxed_1137_, v_checkMeta_boxed_1138_, v_a_1132_, v_a_1133_, v_a_1134_, v_a_1135_); +return v_res_1139_; } } lean_object* runtime_initialize_Lean_AddDecl(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index 606083cdb6..a627773c8b 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -247,9 +247,9 @@ lean_object* l_List_findIdx_x3f___redArg(lean_object*, lean_object*); lean_object* l_Lean_Meta_isLevelDefEq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Environment_hasUnsafe(lean_object*, lean_object*); lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_enableRealizationsForConst(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_compileDecl(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_instInhabited(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -48387,12 +48387,12 @@ return v_res_14202_; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___redArg___boxed(lean_object* v_x_14203_, lean_object* v_x_14204_, lean_object* v_x_14205_, lean_object* v_x_14206_, lean_object* v_x_14207_){ _start: { -size_t v_x_10091__boxed_14208_; size_t v_x_10092__boxed_14209_; lean_object* v_res_14210_; -v_x_10091__boxed_14208_ = lean_unbox_usize(v_x_14204_); +size_t v_x_10285__boxed_14208_; size_t v_x_10286__boxed_14209_; lean_object* v_res_14210_; +v_x_10285__boxed_14208_ = lean_unbox_usize(v_x_14204_); lean_dec(v_x_14204_); -v_x_10092__boxed_14209_ = lean_unbox_usize(v_x_14205_); +v_x_10286__boxed_14209_ = lean_unbox_usize(v_x_14205_); lean_dec(v_x_14205_); -v_res_14210_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___redArg(v_x_14203_, v_x_10091__boxed_14208_, v_x_10092__boxed_14209_, v_x_14206_, v_x_14207_); +v_res_14210_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___redArg(v_x_14203_, v_x_10285__boxed_14208_, v_x_10286__boxed_14209_, v_x_14206_, v_x_14207_); return v_res_14210_; } } @@ -48426,9 +48426,9 @@ return v___x_14229_; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__2___boxed(lean_object* v___x_14230_, lean_object* v___x_14231_, lean_object* v___y_14232_, lean_object* v___y_14233_, lean_object* v___y_14234_, lean_object* v___y_14235_, lean_object* v___y_14236_){ _start: { -uint8_t v___x_10265__boxed_14237_; lean_object* v_res_14238_; -v___x_10265__boxed_14237_ = lean_unbox(v___x_14231_); -v_res_14238_ = l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__2(v___x_14230_, v___x_10265__boxed_14237_, v___y_14232_, v___y_14233_, v___y_14234_, v___y_14235_); +uint8_t v___x_10459__boxed_14237_; lean_object* v_res_14238_; +v___x_10459__boxed_14237_ = lean_unbox(v___x_14231_); +v_res_14238_ = l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__2(v___x_14230_, v___x_10459__boxed_14237_, v___y_14232_, v___y_14233_, v___y_14234_, v___y_14235_); lean_dec(v___y_14233_); lean_dec_ref(v___y_14232_); return v_res_14238_; @@ -48437,150 +48437,150 @@ return v_res_14238_; LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3(lean_object* v___f_14239_, lean_object* v_name_14240_, uint8_t v___x_14241_, lean_object* v___x_14242_, uint8_t v_isSplitter_14243_, lean_object* v___f_14244_, lean_object* v_mi_14245_, lean_object* v___y_14246_, lean_object* v___y_14247_, lean_object* v___y_14248_, lean_object* v___y_14249_){ _start: { -uint8_t v___x_14251_; lean_object* v___y_14253_; lean_object* v___y_14254_; lean_object* v___y_14255_; lean_object* v___y_14256_; lean_object* v___x_14270_; +uint8_t v___x_14251_; lean_object* v___y_14253_; lean_object* v___y_14254_; lean_object* v___y_14267_; lean_object* v___y_14268_; lean_object* v___y_14269_; lean_object* v___y_14270_; lean_object* v___x_14273_; v___x_14251_ = 1; lean_inc(v___y_14249_); lean_inc_ref(v___y_14248_); lean_inc(v___y_14247_); lean_inc_ref(v___y_14246_); -v___x_14270_ = l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg(v___f_14239_, v___x_14251_, v___y_14246_, v___y_14247_, v___y_14248_, v___y_14249_); -if (lean_obj_tag(v___x_14270_) == 0) +v___x_14273_ = l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg(v___f_14239_, v___x_14251_, v___y_14246_, v___y_14247_, v___y_14248_, v___y_14249_); +if (lean_obj_tag(v___x_14273_) == 0) { -lean_dec_ref(v___x_14270_); +lean_dec_ref(v___x_14273_); if (v_isSplitter_14243_ == 0) { -lean_object* v___x_14271_; lean_object* v_env_14272_; lean_object* v_nextMacroScope_14273_; lean_object* v_ngen_14274_; lean_object* v_auxDeclNGen_14275_; lean_object* v_traceState_14276_; lean_object* v_messages_14277_; lean_object* v_infoState_14278_; lean_object* v_snapshotTasks_14279_; lean_object* v___x_14281_; uint8_t v_isShared_14282_; uint8_t v_isSharedCheck_14308_; -v___x_14271_ = lean_st_ref_take(v___y_14249_); -v_env_14272_ = lean_ctor_get(v___x_14271_, 0); -v_nextMacroScope_14273_ = lean_ctor_get(v___x_14271_, 1); -v_ngen_14274_ = lean_ctor_get(v___x_14271_, 2); -v_auxDeclNGen_14275_ = lean_ctor_get(v___x_14271_, 3); -v_traceState_14276_ = lean_ctor_get(v___x_14271_, 4); -v_messages_14277_ = lean_ctor_get(v___x_14271_, 6); -v_infoState_14278_ = lean_ctor_get(v___x_14271_, 7); -v_snapshotTasks_14279_ = lean_ctor_get(v___x_14271_, 8); -v_isSharedCheck_14308_ = !lean_is_exclusive(v___x_14271_); -if (v_isSharedCheck_14308_ == 0) +lean_object* v___x_14274_; lean_object* v_env_14275_; lean_object* v_nextMacroScope_14276_; lean_object* v_ngen_14277_; lean_object* v_auxDeclNGen_14278_; lean_object* v_traceState_14279_; lean_object* v_messages_14280_; lean_object* v_infoState_14281_; lean_object* v_snapshotTasks_14282_; lean_object* v___x_14284_; uint8_t v_isShared_14285_; uint8_t v_isSharedCheck_14311_; +v___x_14274_ = lean_st_ref_take(v___y_14249_); +v_env_14275_ = lean_ctor_get(v___x_14274_, 0); +v_nextMacroScope_14276_ = lean_ctor_get(v___x_14274_, 1); +v_ngen_14277_ = lean_ctor_get(v___x_14274_, 2); +v_auxDeclNGen_14278_ = lean_ctor_get(v___x_14274_, 3); +v_traceState_14279_ = lean_ctor_get(v___x_14274_, 4); +v_messages_14280_ = lean_ctor_get(v___x_14274_, 6); +v_infoState_14281_ = lean_ctor_get(v___x_14274_, 7); +v_snapshotTasks_14282_ = lean_ctor_get(v___x_14274_, 8); +v_isSharedCheck_14311_ = !lean_is_exclusive(v___x_14274_); +if (v_isSharedCheck_14311_ == 0) { -lean_object* v_unused_14309_; -v_unused_14309_ = lean_ctor_get(v___x_14271_, 5); -lean_dec(v_unused_14309_); -v___x_14281_ = v___x_14271_; -v_isShared_14282_ = v_isSharedCheck_14308_; -goto v_resetjp_14280_; +lean_object* v_unused_14312_; +v_unused_14312_ = lean_ctor_get(v___x_14274_, 5); +lean_dec(v_unused_14312_); +v___x_14284_ = v___x_14274_; +v_isShared_14285_ = v_isSharedCheck_14311_; +goto v_resetjp_14283_; } else { -lean_inc(v_snapshotTasks_14279_); -lean_inc(v_infoState_14278_); -lean_inc(v_messages_14277_); -lean_inc(v_traceState_14276_); -lean_inc(v_auxDeclNGen_14275_); -lean_inc(v_ngen_14274_); -lean_inc(v_nextMacroScope_14273_); -lean_inc(v_env_14272_); -lean_dec(v___x_14271_); -v___x_14281_ = lean_box(0); -v_isShared_14282_ = v_isSharedCheck_14308_; -goto v_resetjp_14280_; +lean_inc(v_snapshotTasks_14282_); +lean_inc(v_infoState_14281_); +lean_inc(v_messages_14280_); +lean_inc(v_traceState_14279_); +lean_inc(v_auxDeclNGen_14278_); +lean_inc(v_ngen_14277_); +lean_inc(v_nextMacroScope_14276_); +lean_inc(v_env_14275_); +lean_dec(v___x_14274_); +v___x_14284_ = lean_box(0); +v_isShared_14285_ = v_isSharedCheck_14311_; +goto v_resetjp_14283_; } -v_resetjp_14280_: +v_resetjp_14283_: { -lean_object* v___x_14283_; lean_object* v_asyncMode_14284_; lean_object* v___x_14285_; lean_object* v___x_14286_; lean_object* v___x_14287_; lean_object* v___x_14289_; -v___x_14283_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_matcherExt; -v_asyncMode_14284_ = lean_ctor_get(v___x_14283_, 2); -lean_inc(v_asyncMode_14284_); -v___x_14285_ = lean_box(0); -v___x_14286_ = l_Lean_EnvExtension_modifyState___redArg(v___x_14283_, v_env_14272_, v___f_14244_, v_asyncMode_14284_, v___x_14285_); -lean_dec(v_asyncMode_14284_); -v___x_14287_ = lean_obj_once(&l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2, &l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2_once, _init_l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2); -if (v_isShared_14282_ == 0) +lean_object* v___x_14286_; lean_object* v_asyncMode_14287_; lean_object* v___x_14288_; lean_object* v___x_14289_; lean_object* v___x_14290_; lean_object* v___x_14292_; +v___x_14286_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_matcherExt; +v_asyncMode_14287_ = lean_ctor_get(v___x_14286_, 2); +lean_inc(v_asyncMode_14287_); +v___x_14288_ = lean_box(0); +v___x_14289_ = l_Lean_EnvExtension_modifyState___redArg(v___x_14286_, v_env_14275_, v___f_14244_, v_asyncMode_14287_, v___x_14288_); +lean_dec(v_asyncMode_14287_); +v___x_14290_ = lean_obj_once(&l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2, &l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2_once, _init_l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__2); +if (v_isShared_14285_ == 0) { -lean_ctor_set(v___x_14281_, 5, v___x_14287_); -lean_ctor_set(v___x_14281_, 0, v___x_14286_); -v___x_14289_ = v___x_14281_; -goto v_reusejp_14288_; +lean_ctor_set(v___x_14284_, 5, v___x_14290_); +lean_ctor_set(v___x_14284_, 0, v___x_14289_); +v___x_14292_ = v___x_14284_; +goto v_reusejp_14291_; +} +else +{ +lean_object* v_reuseFailAlloc_14310_; +v_reuseFailAlloc_14310_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_14310_, 0, v___x_14289_); +lean_ctor_set(v_reuseFailAlloc_14310_, 1, v_nextMacroScope_14276_); +lean_ctor_set(v_reuseFailAlloc_14310_, 2, v_ngen_14277_); +lean_ctor_set(v_reuseFailAlloc_14310_, 3, v_auxDeclNGen_14278_); +lean_ctor_set(v_reuseFailAlloc_14310_, 4, v_traceState_14279_); +lean_ctor_set(v_reuseFailAlloc_14310_, 5, v___x_14290_); +lean_ctor_set(v_reuseFailAlloc_14310_, 6, v_messages_14280_); +lean_ctor_set(v_reuseFailAlloc_14310_, 7, v_infoState_14281_); +lean_ctor_set(v_reuseFailAlloc_14310_, 8, v_snapshotTasks_14282_); +v___x_14292_ = v_reuseFailAlloc_14310_; +goto v_reusejp_14291_; +} +v_reusejp_14291_: +{ +lean_object* v___x_14293_; lean_object* v___x_14294_; lean_object* v_mctx_14295_; lean_object* v_zetaDeltaFVarIds_14296_; lean_object* v_postponed_14297_; lean_object* v_diag_14298_; lean_object* v___x_14300_; uint8_t v_isShared_14301_; uint8_t v_isSharedCheck_14308_; +v___x_14293_ = lean_st_ref_set(v___y_14249_, v___x_14292_); +v___x_14294_ = lean_st_ref_take(v___y_14247_); +v_mctx_14295_ = lean_ctor_get(v___x_14294_, 0); +v_zetaDeltaFVarIds_14296_ = lean_ctor_get(v___x_14294_, 2); +v_postponed_14297_ = lean_ctor_get(v___x_14294_, 3); +v_diag_14298_ = lean_ctor_get(v___x_14294_, 4); +v_isSharedCheck_14308_ = !lean_is_exclusive(v___x_14294_); +if (v_isSharedCheck_14308_ == 0) +{ +lean_object* v_unused_14309_; +v_unused_14309_ = lean_ctor_get(v___x_14294_, 1); +lean_dec(v_unused_14309_); +v___x_14300_ = v___x_14294_; +v_isShared_14301_ = v_isSharedCheck_14308_; +goto v_resetjp_14299_; +} +else +{ +lean_inc(v_diag_14298_); +lean_inc(v_postponed_14297_); +lean_inc(v_zetaDeltaFVarIds_14296_); +lean_inc(v_mctx_14295_); +lean_dec(v___x_14294_); +v___x_14300_ = lean_box(0); +v_isShared_14301_ = v_isSharedCheck_14308_; +goto v_resetjp_14299_; +} +v_resetjp_14299_: +{ +lean_object* v___x_14302_; lean_object* v___x_14304_; +v___x_14302_ = lean_obj_once(&l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3, &l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3_once, _init_l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3); +if (v_isShared_14301_ == 0) +{ +lean_ctor_set(v___x_14300_, 1, v___x_14302_); +v___x_14304_ = v___x_14300_; +goto v_reusejp_14303_; } else { lean_object* v_reuseFailAlloc_14307_; -v_reuseFailAlloc_14307_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_14307_, 0, v___x_14286_); -lean_ctor_set(v_reuseFailAlloc_14307_, 1, v_nextMacroScope_14273_); -lean_ctor_set(v_reuseFailAlloc_14307_, 2, v_ngen_14274_); -lean_ctor_set(v_reuseFailAlloc_14307_, 3, v_auxDeclNGen_14275_); -lean_ctor_set(v_reuseFailAlloc_14307_, 4, v_traceState_14276_); -lean_ctor_set(v_reuseFailAlloc_14307_, 5, v___x_14287_); -lean_ctor_set(v_reuseFailAlloc_14307_, 6, v_messages_14277_); -lean_ctor_set(v_reuseFailAlloc_14307_, 7, v_infoState_14278_); -lean_ctor_set(v_reuseFailAlloc_14307_, 8, v_snapshotTasks_14279_); -v___x_14289_ = v_reuseFailAlloc_14307_; -goto v_reusejp_14288_; +v_reuseFailAlloc_14307_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_14307_, 0, v_mctx_14295_); +lean_ctor_set(v_reuseFailAlloc_14307_, 1, v___x_14302_); +lean_ctor_set(v_reuseFailAlloc_14307_, 2, v_zetaDeltaFVarIds_14296_); +lean_ctor_set(v_reuseFailAlloc_14307_, 3, v_postponed_14297_); +lean_ctor_set(v_reuseFailAlloc_14307_, 4, v_diag_14298_); +v___x_14304_ = v_reuseFailAlloc_14307_; +goto v_reusejp_14303_; } -v_reusejp_14288_: +v_reusejp_14303_: { -lean_object* v___x_14290_; lean_object* v___x_14291_; lean_object* v_mctx_14292_; lean_object* v_zetaDeltaFVarIds_14293_; lean_object* v_postponed_14294_; lean_object* v_diag_14295_; lean_object* v___x_14297_; uint8_t v_isShared_14298_; uint8_t v_isSharedCheck_14305_; -v___x_14290_ = lean_st_ref_set(v___y_14249_, v___x_14289_); -v___x_14291_ = lean_st_ref_take(v___y_14247_); -v_mctx_14292_ = lean_ctor_get(v___x_14291_, 0); -v_zetaDeltaFVarIds_14293_ = lean_ctor_get(v___x_14291_, 2); -v_postponed_14294_ = lean_ctor_get(v___x_14291_, 3); -v_diag_14295_ = lean_ctor_get(v___x_14291_, 4); -v_isSharedCheck_14305_ = !lean_is_exclusive(v___x_14291_); -if (v_isSharedCheck_14305_ == 0) -{ -lean_object* v_unused_14306_; -v_unused_14306_ = lean_ctor_get(v___x_14291_, 1); -lean_dec(v_unused_14306_); -v___x_14297_ = v___x_14291_; -v_isShared_14298_ = v_isSharedCheck_14305_; -goto v_resetjp_14296_; -} -else -{ -lean_inc(v_diag_14295_); -lean_inc(v_postponed_14294_); -lean_inc(v_zetaDeltaFVarIds_14293_); -lean_inc(v_mctx_14292_); -lean_dec(v___x_14291_); -v___x_14297_ = lean_box(0); -v_isShared_14298_ = v_isSharedCheck_14305_; -goto v_resetjp_14296_; -} -v_resetjp_14296_: -{ -lean_object* v___x_14299_; lean_object* v___x_14301_; -v___x_14299_ = lean_obj_once(&l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3, &l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3_once, _init_l_Lean_withExporting___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__2___redArg___closed__3); -if (v_isShared_14298_ == 0) -{ -lean_ctor_set(v___x_14297_, 1, v___x_14299_); -v___x_14301_ = v___x_14297_; -goto v_reusejp_14300_; -} -else -{ -lean_object* v_reuseFailAlloc_14304_; -v_reuseFailAlloc_14304_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_14304_, 0, v_mctx_14292_); -lean_ctor_set(v_reuseFailAlloc_14304_, 1, v___x_14299_); -lean_ctor_set(v_reuseFailAlloc_14304_, 2, v_zetaDeltaFVarIds_14293_); -lean_ctor_set(v_reuseFailAlloc_14304_, 3, v_postponed_14294_); -lean_ctor_set(v_reuseFailAlloc_14304_, 4, v_diag_14295_); -v___x_14301_ = v_reuseFailAlloc_14304_; -goto v_reusejp_14300_; -} -v_reusejp_14300_: -{ -lean_object* v___x_14302_; lean_object* v___x_14303_; -v___x_14302_ = lean_st_ref_set(v___y_14247_, v___x_14301_); +lean_object* v___x_14305_; lean_object* v___x_14306_; +v___x_14305_ = lean_st_ref_set(v___y_14247_, v___x_14304_); lean_inc(v_name_14240_); -v___x_14303_ = l_Lean_Meta_Match_addMatcherInfo___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__3___redArg(v_name_14240_, v_mi_14245_, v___y_14247_, v___y_14249_); -lean_dec_ref(v___x_14303_); -v___y_14253_ = v___y_14246_; -v___y_14254_ = v___y_14247_; -v___y_14255_ = v___y_14248_; -v___y_14256_ = v___y_14249_; -goto v___jp_14252_; +v___x_14306_ = l_Lean_Meta_Match_addMatcherInfo___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__3___redArg(v_name_14240_, v_mi_14245_, v___y_14247_, v___y_14249_); +lean_dec_ref(v___x_14306_); +v___y_14267_ = v___y_14246_; +v___y_14268_ = v___y_14247_; +v___y_14269_ = v___y_14248_; +v___y_14270_ = v___y_14249_; +goto v___jp_14266_; } } } @@ -48590,11 +48590,11 @@ else { lean_dec_ref(v_mi_14245_); lean_dec_ref(v___f_14244_); -v___y_14253_ = v___y_14246_; -v___y_14254_ = v___y_14247_; -v___y_14255_ = v___y_14248_; -v___y_14256_ = v___y_14249_; -goto v___jp_14252_; +v___y_14267_ = v___y_14246_; +v___y_14268_ = v___y_14247_; +v___y_14269_ = v___y_14248_; +v___y_14270_ = v___y_14249_; +goto v___jp_14266_; } } else @@ -48607,2261 +48607,2278 @@ lean_dec_ref(v_mi_14245_); lean_dec_ref(v___f_14244_); lean_dec(v___x_14242_); lean_dec(v_name_14240_); -return v___x_14270_; +return v___x_14273_; } v___jp_14252_: { -uint8_t v___x_14257_; lean_object* v___x_14258_; -v___x_14257_ = 0; -lean_inc(v_name_14240_); -v___x_14258_ = l_Lean_Meta_setInlineAttribute(v_name_14240_, v___x_14257_, v___y_14253_, v___y_14254_, v___y_14255_, v___y_14256_); -lean_dec(v___y_14254_); -lean_dec_ref(v___y_14253_); -if (lean_obj_tag(v___x_14258_) == 0) +lean_object* v___x_14255_; +lean_inc_ref(v___y_14253_); +v___x_14255_ = l_Lean_enableRealizationsForConst(v_name_14240_, v___y_14253_, v___y_14254_); +if (lean_obj_tag(v___x_14255_) == 0) { -lean_object* v___x_14259_; -lean_dec_ref(v___x_14258_); -lean_inc_ref(v___y_14255_); -v___x_14259_ = l_Lean_enableRealizationsForConst(v_name_14240_, v___y_14255_, v___y_14256_); -if (lean_obj_tag(v___x_14259_) == 0) +lean_object* v___x_14257_; uint8_t v_isShared_14258_; uint8_t v_isSharedCheck_14264_; +v_isSharedCheck_14264_ = !lean_is_exclusive(v___x_14255_); +if (v_isSharedCheck_14264_ == 0) { -lean_object* v___x_14261_; uint8_t v_isShared_14262_; uint8_t v_isSharedCheck_14268_; -v_isSharedCheck_14268_ = !lean_is_exclusive(v___x_14259_); -if (v_isSharedCheck_14268_ == 0) -{ -lean_object* v_unused_14269_; -v_unused_14269_ = lean_ctor_get(v___x_14259_, 0); -lean_dec(v_unused_14269_); -v___x_14261_ = v___x_14259_; -v_isShared_14262_ = v_isSharedCheck_14268_; -goto v_resetjp_14260_; +lean_object* v_unused_14265_; +v_unused_14265_ = lean_ctor_get(v___x_14255_, 0); +lean_dec(v_unused_14265_); +v___x_14257_ = v___x_14255_; +v_isShared_14258_ = v_isSharedCheck_14264_; +goto v_resetjp_14256_; } else { -lean_dec(v___x_14259_); -v___x_14261_ = lean_box(0); -v_isShared_14262_ = v_isSharedCheck_14268_; -goto v_resetjp_14260_; +lean_dec(v___x_14255_); +v___x_14257_ = lean_box(0); +v_isShared_14258_ = v_isSharedCheck_14264_; +goto v_resetjp_14256_; } -v_resetjp_14260_: +v_resetjp_14256_: { if (v___x_14241_ == 0) { -lean_object* v___x_14263_; lean_object* v___x_14265_; -lean_dec(v___y_14256_); -lean_dec_ref(v___y_14255_); +lean_object* v___x_14259_; lean_object* v___x_14261_; +lean_dec(v___y_14254_); +lean_dec_ref(v___y_14253_); lean_dec(v___x_14242_); -v___x_14263_ = lean_box(0); -if (v_isShared_14262_ == 0) +v___x_14259_ = lean_box(0); +if (v_isShared_14258_ == 0) { -lean_ctor_set(v___x_14261_, 0, v___x_14263_); -v___x_14265_ = v___x_14261_; -goto v_reusejp_14264_; +lean_ctor_set(v___x_14257_, 0, v___x_14259_); +v___x_14261_ = v___x_14257_; +goto v_reusejp_14260_; } else { -lean_object* v_reuseFailAlloc_14266_; -v_reuseFailAlloc_14266_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14266_, 0, v___x_14263_); -v___x_14265_ = v_reuseFailAlloc_14266_; -goto v_reusejp_14264_; +lean_object* v_reuseFailAlloc_14262_; +v_reuseFailAlloc_14262_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14262_, 0, v___x_14259_); +v___x_14261_ = v_reuseFailAlloc_14262_; +goto v_reusejp_14260_; } -v_reusejp_14264_: +v_reusejp_14260_: { -return v___x_14265_; +return v___x_14261_; } } else { -lean_object* v___x_14267_; -lean_del_object(v___x_14261_); -v___x_14267_ = l_Lean_compileDecl(v___x_14242_, v___x_14251_, v___y_14255_, v___y_14256_); -return v___x_14267_; +lean_object* v___x_14263_; +lean_del_object(v___x_14257_); +v___x_14263_ = l_Lean_compileDecl(v___x_14242_, v___x_14251_, v___y_14253_, v___y_14254_); +return v___x_14263_; } } } else { -lean_dec(v___y_14256_); -lean_dec_ref(v___y_14255_); +lean_dec(v___y_14254_); +lean_dec_ref(v___y_14253_); lean_dec(v___x_14242_); -return v___x_14259_; +return v___x_14255_; } } +v___jp_14266_: +{ +if (v___x_14241_ == 0) +{ +lean_dec(v___y_14268_); +lean_dec_ref(v___y_14267_); +v___y_14253_ = v___y_14269_; +v___y_14254_ = v___y_14270_; +goto v___jp_14252_; +} else { -lean_dec(v___y_14256_); -lean_dec_ref(v___y_14255_); +uint8_t v___x_14271_; lean_object* v___x_14272_; +v___x_14271_ = 0; +lean_inc(v_name_14240_); +v___x_14272_ = l_Lean_Meta_setInlineAttribute(v_name_14240_, v___x_14271_, v___y_14267_, v___y_14268_, v___y_14269_, v___y_14270_); +lean_dec(v___y_14268_); +lean_dec_ref(v___y_14267_); +if (lean_obj_tag(v___x_14272_) == 0) +{ +lean_dec_ref(v___x_14272_); +v___y_14253_ = v___y_14269_; +v___y_14254_ = v___y_14270_; +goto v___jp_14252_; +} +else +{ +lean_dec(v___y_14270_); +lean_dec_ref(v___y_14269_); lean_dec(v___x_14242_); lean_dec(v_name_14240_); -return v___x_14258_; +return v___x_14272_; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3___boxed(lean_object* v___f_14310_, lean_object* v_name_14311_, lean_object* v___x_14312_, lean_object* v___x_14313_, lean_object* v_isSplitter_14314_, lean_object* v___f_14315_, lean_object* v_mi_14316_, lean_object* v___y_14317_, lean_object* v___y_14318_, lean_object* v___y_14319_, lean_object* v___y_14320_, lean_object* v___y_14321_){ +} +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3___boxed(lean_object* v___f_14313_, lean_object* v_name_14314_, lean_object* v___x_14315_, lean_object* v___x_14316_, lean_object* v_isSplitter_14317_, lean_object* v___f_14318_, lean_object* v_mi_14319_, lean_object* v___y_14320_, lean_object* v___y_14321_, lean_object* v___y_14322_, lean_object* v___y_14323_, lean_object* v___y_14324_){ _start: { -uint8_t v___x_10301__boxed_14322_; uint8_t v_isSplitter_boxed_14323_; lean_object* v_res_14324_; -v___x_10301__boxed_14322_ = lean_unbox(v___x_14312_); -v_isSplitter_boxed_14323_ = lean_unbox(v_isSplitter_14314_); -v_res_14324_ = l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3(v___f_14310_, v_name_14311_, v___x_10301__boxed_14322_, v___x_14313_, v_isSplitter_boxed_14323_, v___f_14315_, v_mi_14316_, v___y_14317_, v___y_14318_, v___y_14319_, v___y_14320_); -return v_res_14324_; +uint8_t v___x_10495__boxed_14325_; uint8_t v_isSplitter_boxed_14326_; lean_object* v_res_14327_; +v___x_10495__boxed_14325_ = lean_unbox(v___x_14315_); +v_isSplitter_boxed_14326_ = lean_unbox(v_isSplitter_14317_); +v_res_14327_ = l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3(v___f_14313_, v_name_14314_, v___x_10495__boxed_14325_, v___x_14316_, v_isSplitter_boxed_14326_, v___f_14318_, v_mi_14319_, v___y_14320_, v___y_14321_, v___y_14322_, v___y_14323_); +return v_res_14327_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(lean_object* v_keys_14325_, lean_object* v_vals_14326_, lean_object* v_i_14327_, lean_object* v_k_14328_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(lean_object* v_keys_14328_, lean_object* v_vals_14329_, lean_object* v_i_14330_, lean_object* v_k_14331_){ _start: { -lean_object* v___x_14329_; uint8_t v___x_14330_; -v___x_14329_ = lean_array_get_size(v_keys_14325_); -v___x_14330_ = lean_nat_dec_lt(v_i_14327_, v___x_14329_); -if (v___x_14330_ == 0) +lean_object* v___x_14332_; uint8_t v___x_14333_; +v___x_14332_ = lean_array_get_size(v_keys_14328_); +v___x_14333_ = lean_nat_dec_lt(v_i_14330_, v___x_14332_); +if (v___x_14333_ == 0) { -lean_object* v___x_14331_; -lean_dec(v_i_14327_); -v___x_14331_ = lean_box(0); -return v___x_14331_; +lean_object* v___x_14334_; +lean_dec(v_i_14330_); +v___x_14334_ = lean_box(0); +return v___x_14334_; } else { -lean_object* v_k_x27_14332_; uint8_t v___x_14333_; -v_k_x27_14332_ = lean_array_fget_borrowed(v_keys_14325_, v_i_14327_); -v___x_14333_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey_beq(v_k_14328_, v_k_x27_14332_); -if (v___x_14333_ == 0) +lean_object* v_k_x27_14335_; uint8_t v___x_14336_; +v_k_x27_14335_ = lean_array_fget_borrowed(v_keys_14328_, v_i_14330_); +v___x_14336_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey_beq(v_k_14331_, v_k_x27_14335_); +if (v___x_14336_ == 0) { -lean_object* v___x_14334_; lean_object* v___x_14335_; -v___x_14334_ = lean_unsigned_to_nat(1u); -v___x_14335_ = lean_nat_add(v_i_14327_, v___x_14334_); -lean_dec(v_i_14327_); -v_i_14327_ = v___x_14335_; +lean_object* v___x_14337_; lean_object* v___x_14338_; +v___x_14337_ = lean_unsigned_to_nat(1u); +v___x_14338_ = lean_nat_add(v_i_14330_, v___x_14337_); +lean_dec(v_i_14330_); +v_i_14330_ = v___x_14338_; goto _start; } else { -lean_object* v___x_14337_; lean_object* v___x_14338_; -v___x_14337_ = lean_array_fget_borrowed(v_vals_14326_, v_i_14327_); -lean_dec(v_i_14327_); -lean_inc(v___x_14337_); -v___x_14338_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_14338_, 0, v___x_14337_); -return v___x_14338_; +lean_object* v___x_14340_; lean_object* v___x_14341_; +v___x_14340_ = lean_array_fget_borrowed(v_vals_14329_, v_i_14330_); +lean_dec(v_i_14330_); +lean_inc(v___x_14340_); +v___x_14341_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_14341_, 0, v___x_14340_); +return v___x_14341_; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg___boxed(lean_object* v_keys_14339_, lean_object* v_vals_14340_, lean_object* v_i_14341_, lean_object* v_k_14342_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg___boxed(lean_object* v_keys_14342_, lean_object* v_vals_14343_, lean_object* v_i_14344_, lean_object* v_k_14345_){ _start: { -lean_object* v_res_14343_; -v_res_14343_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_keys_14339_, v_vals_14340_, v_i_14341_, v_k_14342_); -lean_dec_ref(v_k_14342_); -lean_dec_ref(v_vals_14340_); -lean_dec_ref(v_keys_14339_); -return v_res_14343_; +lean_object* v_res_14346_; +v_res_14346_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_keys_14342_, v_vals_14343_, v_i_14344_, v_k_14345_); +lean_dec_ref(v_k_14345_); +lean_dec_ref(v_vals_14343_); +lean_dec_ref(v_keys_14342_); +return v_res_14346_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(lean_object* v_x_14344_, size_t v_x_14345_, lean_object* v_x_14346_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(lean_object* v_x_14347_, size_t v_x_14348_, lean_object* v_x_14349_){ _start: { -if (lean_obj_tag(v_x_14344_) == 0) +if (lean_obj_tag(v_x_14347_) == 0) { -lean_object* v_es_14347_; lean_object* v___x_14349_; uint8_t v_isShared_14350_; uint8_t v_isSharedCheck_14368_; -v_es_14347_ = lean_ctor_get(v_x_14344_, 0); -v_isSharedCheck_14368_ = !lean_is_exclusive(v_x_14344_); -if (v_isSharedCheck_14368_ == 0) +lean_object* v_es_14350_; lean_object* v___x_14352_; uint8_t v_isShared_14353_; uint8_t v_isSharedCheck_14371_; +v_es_14350_ = lean_ctor_get(v_x_14347_, 0); +v_isSharedCheck_14371_ = !lean_is_exclusive(v_x_14347_); +if (v_isSharedCheck_14371_ == 0) { -v___x_14349_ = v_x_14344_; -v_isShared_14350_ = v_isSharedCheck_14368_; -goto v_resetjp_14348_; +v___x_14352_ = v_x_14347_; +v_isShared_14353_ = v_isSharedCheck_14371_; +goto v_resetjp_14351_; } else { -lean_inc(v_es_14347_); -lean_dec(v_x_14344_); -v___x_14349_ = lean_box(0); -v_isShared_14350_ = v_isSharedCheck_14368_; -goto v_resetjp_14348_; +lean_inc(v_es_14350_); +lean_dec(v_x_14347_); +v___x_14352_ = lean_box(0); +v_isShared_14353_ = v_isSharedCheck_14371_; +goto v_resetjp_14351_; } -v_resetjp_14348_: +v_resetjp_14351_: { -lean_object* v___x_14351_; size_t v___x_14352_; size_t v___x_14353_; size_t v___x_14354_; lean_object* v_j_14355_; lean_object* v___x_14356_; -v___x_14351_ = lean_box(2); -v___x_14352_ = ((size_t)5ULL); -v___x_14353_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1); -v___x_14354_ = lean_usize_land(v_x_14345_, v___x_14353_); -v_j_14355_ = lean_usize_to_nat(v___x_14354_); -v___x_14356_ = lean_array_get(v___x_14351_, v_es_14347_, v_j_14355_); -lean_dec(v_j_14355_); -lean_dec_ref(v_es_14347_); -switch(lean_obj_tag(v___x_14356_)) +lean_object* v___x_14354_; size_t v___x_14355_; size_t v___x_14356_; size_t v___x_14357_; lean_object* v_j_14358_; lean_object* v___x_14359_; +v___x_14354_ = lean_box(2); +v___x_14355_ = ((size_t)5ULL); +v___x_14356_ = lean_usize_once(&l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1, &l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_MVarId_assign___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__5_spec__6_spec__8___redArg___closed__1); +v___x_14357_ = lean_usize_land(v_x_14348_, v___x_14356_); +v_j_14358_ = lean_usize_to_nat(v___x_14357_); +v___x_14359_ = lean_array_get(v___x_14354_, v_es_14350_, v_j_14358_); +lean_dec(v_j_14358_); +lean_dec_ref(v_es_14350_); +switch(lean_obj_tag(v___x_14359_)) { case 0: { -lean_object* v_key_14357_; lean_object* v_val_14358_; uint8_t v___x_14359_; -v_key_14357_ = lean_ctor_get(v___x_14356_, 0); -lean_inc(v_key_14357_); -v_val_14358_ = lean_ctor_get(v___x_14356_, 1); -lean_inc(v_val_14358_); -lean_dec_ref(v___x_14356_); -v___x_14359_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey_beq(v_x_14346_, v_key_14357_); -lean_dec(v_key_14357_); -if (v___x_14359_ == 0) +lean_object* v_key_14360_; lean_object* v_val_14361_; uint8_t v___x_14362_; +v_key_14360_ = lean_ctor_get(v___x_14359_, 0); +lean_inc(v_key_14360_); +v_val_14361_ = lean_ctor_get(v___x_14359_, 1); +lean_inc(v_val_14361_); +lean_dec_ref(v___x_14359_); +v___x_14362_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey_beq(v_x_14349_, v_key_14360_); +lean_dec(v_key_14360_); +if (v___x_14362_ == 0) { -lean_object* v___x_14360_; -lean_dec(v_val_14358_); -lean_del_object(v___x_14349_); -v___x_14360_ = lean_box(0); -return v___x_14360_; +lean_object* v___x_14363_; +lean_dec(v_val_14361_); +lean_del_object(v___x_14352_); +v___x_14363_ = lean_box(0); +return v___x_14363_; } else { -lean_object* v___x_14362_; -if (v_isShared_14350_ == 0) +lean_object* v___x_14365_; +if (v_isShared_14353_ == 0) { -lean_ctor_set_tag(v___x_14349_, 1); -lean_ctor_set(v___x_14349_, 0, v_val_14358_); -v___x_14362_ = v___x_14349_; -goto v_reusejp_14361_; +lean_ctor_set_tag(v___x_14352_, 1); +lean_ctor_set(v___x_14352_, 0, v_val_14361_); +v___x_14365_ = v___x_14352_; +goto v_reusejp_14364_; } else { -lean_object* v_reuseFailAlloc_14363_; -v_reuseFailAlloc_14363_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14363_, 0, v_val_14358_); -v___x_14362_ = v_reuseFailAlloc_14363_; -goto v_reusejp_14361_; +lean_object* v_reuseFailAlloc_14366_; +v_reuseFailAlloc_14366_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14366_, 0, v_val_14361_); +v___x_14365_ = v_reuseFailAlloc_14366_; +goto v_reusejp_14364_; } -v_reusejp_14361_: +v_reusejp_14364_: { -return v___x_14362_; +return v___x_14365_; } } } case 1: { -lean_object* v_node_14364_; size_t v___x_14365_; -lean_del_object(v___x_14349_); -v_node_14364_ = lean_ctor_get(v___x_14356_, 0); -lean_inc(v_node_14364_); -lean_dec_ref(v___x_14356_); -v___x_14365_ = lean_usize_shift_right(v_x_14345_, v___x_14352_); -v_x_14344_ = v_node_14364_; -v_x_14345_ = v___x_14365_; +lean_object* v_node_14367_; size_t v___x_14368_; +lean_del_object(v___x_14352_); +v_node_14367_ = lean_ctor_get(v___x_14359_, 0); +lean_inc(v_node_14367_); +lean_dec_ref(v___x_14359_); +v___x_14368_ = lean_usize_shift_right(v_x_14348_, v___x_14355_); +v_x_14347_ = v_node_14367_; +v_x_14348_ = v___x_14368_; goto _start; } default: { -lean_object* v___x_14367_; -lean_del_object(v___x_14349_); -v___x_14367_ = lean_box(0); -return v___x_14367_; +lean_object* v___x_14370_; +lean_del_object(v___x_14352_); +v___x_14370_ = lean_box(0); +return v___x_14370_; } } } } else { -lean_object* v_ks_14369_; lean_object* v_vs_14370_; lean_object* v___x_14371_; lean_object* v___x_14372_; -v_ks_14369_ = lean_ctor_get(v_x_14344_, 0); -lean_inc_ref(v_ks_14369_); -v_vs_14370_ = lean_ctor_get(v_x_14344_, 1); -lean_inc_ref(v_vs_14370_); -lean_dec_ref(v_x_14344_); -v___x_14371_ = lean_unsigned_to_nat(0u); -v___x_14372_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_ks_14369_, v_vs_14370_, v___x_14371_, v_x_14346_); -lean_dec_ref(v_vs_14370_); -lean_dec_ref(v_ks_14369_); -return v___x_14372_; +lean_object* v_ks_14372_; lean_object* v_vs_14373_; lean_object* v___x_14374_; lean_object* v___x_14375_; +v_ks_14372_ = lean_ctor_get(v_x_14347_, 0); +lean_inc_ref(v_ks_14372_); +v_vs_14373_ = lean_ctor_get(v_x_14347_, 1); +lean_inc_ref(v_vs_14373_); +lean_dec_ref(v_x_14347_); +v___x_14374_ = lean_unsigned_to_nat(0u); +v___x_14375_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_ks_14372_, v_vs_14373_, v___x_14374_, v_x_14349_); +lean_dec_ref(v_vs_14373_); +lean_dec_ref(v_ks_14372_); +return v___x_14375_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg___boxed(lean_object* v_x_14373_, lean_object* v_x_14374_, lean_object* v_x_14375_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg___boxed(lean_object* v_x_14376_, lean_object* v_x_14377_, lean_object* v_x_14378_){ _start: { -size_t v_x_10452__boxed_14376_; lean_object* v_res_14377_; -v_x_10452__boxed_14376_ = lean_unbox_usize(v_x_14374_); -lean_dec(v_x_14374_); -v_res_14377_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14373_, v_x_10452__boxed_14376_, v_x_14375_); -lean_dec_ref(v_x_14375_); -return v_res_14377_; +size_t v_x_10652__boxed_14379_; lean_object* v_res_14380_; +v_x_10652__boxed_14379_ = lean_unbox_usize(v_x_14377_); +lean_dec(v_x_14377_); +v_res_14380_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14376_, v_x_10652__boxed_14379_, v_x_14378_); +lean_dec_ref(v_x_14378_); +return v_res_14380_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(lean_object* v_x_14378_, lean_object* v_x_14379_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(lean_object* v_x_14381_, lean_object* v_x_14382_){ _start: { -uint64_t v___x_14380_; size_t v___x_14381_; lean_object* v___x_14382_; -v___x_14380_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instHashableMatcherKey_hash(v_x_14379_); -v___x_14381_ = lean_uint64_to_usize(v___x_14380_); -v___x_14382_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14378_, v___x_14381_, v_x_14379_); -return v___x_14382_; +uint64_t v___x_14383_; size_t v___x_14384_; lean_object* v___x_14385_; +v___x_14383_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instHashableMatcherKey_hash(v_x_14382_); +v___x_14384_ = lean_uint64_to_usize(v___x_14383_); +v___x_14385_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14381_, v___x_14384_, v_x_14382_); +return v___x_14385_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg___boxed(lean_object* v_x_14383_, lean_object* v_x_14384_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg___boxed(lean_object* v_x_14386_, lean_object* v_x_14387_){ _start: { -lean_object* v_res_14385_; -v_res_14385_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v_x_14383_, v_x_14384_); -lean_dec_ref(v_x_14384_); -return v_res_14385_; +lean_object* v_res_14388_; +v_res_14388_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v_x_14386_, v_x_14387_); +lean_dec_ref(v_x_14387_); +return v_res_14388_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1(void){ _start: { -lean_object* v___x_14387_; lean_object* v___x_14388_; -v___x_14387_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__0)); -v___x_14388_ = l_Lean_stringToMessageData(v___x_14387_); -return v___x_14388_; +lean_object* v___x_14390_; lean_object* v___x_14391_; +v___x_14390_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__0)); +v___x_14391_ = l_Lean_stringToMessageData(v___x_14390_); +return v___x_14391_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2(void){ _start: { -lean_object* v___x_14389_; lean_object* v___x_14390_; lean_object* v___x_14391_; -v___x_14389_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instHashableMatcherKey___closed__0)); -v___x_14390_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey___closed__0)); -v___x_14391_ = l_Lean_PersistentHashMap_instInhabited(lean_box(0), lean_box(0), v___x_14390_, v___x_14389_); -return v___x_14391_; +lean_object* v___x_14392_; lean_object* v___x_14393_; lean_object* v___x_14394_; +v___x_14392_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instHashableMatcherKey___closed__0)); +v___x_14393_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_instBEqMatcherKey___closed__0)); +v___x_14394_ = l_Lean_PersistentHashMap_instInhabited(lean_box(0), lean_box(0), v___x_14393_, v___x_14392_); +return v___x_14394_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition(lean_object* v_name_14392_, lean_object* v_type_14393_, lean_object* v_value_14394_, uint8_t v_isSplitter_14395_, lean_object* v_a_14396_, lean_object* v_a_14397_, lean_object* v_a_14398_, lean_object* v_a_14399_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition(lean_object* v_name_14395_, lean_object* v_type_14396_, lean_object* v_value_14397_, uint8_t v_isSplitter_14398_, lean_object* v_a_14399_, lean_object* v_a_14400_, lean_object* v_a_14401_, lean_object* v_a_14402_){ _start: { -lean_object* v___y_14402_; lean_object* v___y_14403_; lean_object* v_cls_14408_; uint8_t v___y_14410_; uint8_t v___y_14411_; lean_object* v___y_14412_; lean_object* v___y_14413_; lean_object* v___y_14414_; lean_object* v___y_14415_; lean_object* v___y_14416_; lean_object* v___y_14417_; lean_object* v___y_14418_; lean_object* v___y_14419_; lean_object* v___y_14420_; uint8_t v___y_14459_; uint8_t v___y_14460_; lean_object* v___y_14461_; lean_object* v___y_14462_; lean_object* v___y_14463_; lean_object* v___y_14464_; lean_object* v___y_14465_; lean_object* v_nameNew_x3f_14466_; lean_object* v___y_14467_; lean_object* v___y_14468_; lean_object* v___y_14469_; lean_object* v___y_14470_; uint8_t v___y_14483_; lean_object* v___y_14484_; uint8_t v___y_14485_; uint8_t v___y_14486_; lean_object* v___y_14487_; lean_object* v___y_14488_; lean_object* v___y_14489_; lean_object* v___y_14490_; lean_object* v___y_14491_; lean_object* v___y_14492_; lean_object* v___y_14493_; lean_object* v___y_14494_; uint8_t v___y_14495_; lean_object* v___y_14507_; lean_object* v___y_14508_; lean_object* v___y_14509_; lean_object* v___y_14510_; lean_object* v___x_14536_; lean_object* v_a_14537_; uint8_t v___x_14538_; -v_cls_14408_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); -v___x_14536_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v_cls_14408_, v_a_14398_); -v_a_14537_ = lean_ctor_get(v___x_14536_, 0); -lean_inc(v_a_14537_); -lean_dec_ref(v___x_14536_); -v___x_14538_ = lean_unbox(v_a_14537_); -lean_dec(v_a_14537_); -if (v___x_14538_ == 0) +lean_object* v___y_14405_; lean_object* v___y_14406_; lean_object* v_cls_14411_; lean_object* v___y_14413_; uint8_t v___y_14414_; uint8_t v___y_14415_; lean_object* v___y_14416_; lean_object* v___y_14417_; lean_object* v___y_14418_; lean_object* v___y_14419_; lean_object* v___y_14420_; lean_object* v___y_14421_; lean_object* v___y_14422_; lean_object* v___y_14423_; uint8_t v___y_14462_; lean_object* v___y_14463_; uint8_t v___y_14464_; lean_object* v___y_14465_; lean_object* v___y_14466_; lean_object* v___y_14467_; lean_object* v___y_14468_; lean_object* v_nameNew_x3f_14469_; lean_object* v___y_14470_; lean_object* v___y_14471_; lean_object* v___y_14472_; lean_object* v___y_14473_; lean_object* v___y_14486_; uint8_t v___y_14487_; uint8_t v___y_14488_; lean_object* v___y_14489_; lean_object* v___y_14490_; lean_object* v___y_14491_; lean_object* v___y_14492_; lean_object* v___y_14493_; lean_object* v___y_14494_; lean_object* v___y_14495_; lean_object* v___y_14496_; uint8_t v___y_14497_; uint8_t v___y_14498_; lean_object* v___y_14510_; lean_object* v___y_14511_; lean_object* v___y_14512_; lean_object* v___y_14513_; lean_object* v___x_14539_; lean_object* v_a_14540_; uint8_t v___x_14541_; +v_cls_14411_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); +v___x_14539_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v_cls_14411_, v_a_14401_); +v_a_14540_ = lean_ctor_get(v___x_14539_, 0); +lean_inc(v_a_14540_); +lean_dec_ref(v___x_14539_); +v___x_14541_ = lean_unbox(v_a_14540_); +lean_dec(v_a_14540_); +if (v___x_14541_ == 0) { -v___y_14507_ = v_a_14396_; -v___y_14508_ = v_a_14397_; -v___y_14509_ = v_a_14398_; v___y_14510_ = v_a_14399_; -goto v___jp_14506_; +v___y_14511_ = v_a_14400_; +v___y_14512_ = v_a_14401_; +v___y_14513_ = v_a_14402_; +goto v___jp_14509_; } else { -lean_object* v___x_14539_; lean_object* v___x_14540_; lean_object* v___x_14541_; lean_object* v___x_14542_; lean_object* v___x_14543_; lean_object* v___x_14544_; lean_object* v___x_14545_; lean_object* v___x_14546_; lean_object* v___x_14547_; lean_object* v___x_14548_; -lean_inc(v_name_14392_); -v___x_14539_ = l_Lean_MessageData_ofName(v_name_14392_); -v___x_14540_ = lean_obj_once(&l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5, &l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5_once, _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5); -v___x_14541_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14541_, 0, v___x_14539_); -lean_ctor_set(v___x_14541_, 1, v___x_14540_); -lean_inc_ref(v_type_14393_); -v___x_14542_ = l_Lean_MessageData_ofExpr(v_type_14393_); -v___x_14543_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14543_, 0, v___x_14541_); -lean_ctor_set(v___x_14543_, 1, v___x_14542_); -v___x_14544_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1); -v___x_14545_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14545_, 0, v___x_14543_); -lean_ctor_set(v___x_14545_, 1, v___x_14544_); -lean_inc_ref(v_value_14394_); -v___x_14546_ = l_Lean_MessageData_ofExpr(v_value_14394_); -v___x_14547_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14547_, 0, v___x_14545_); -lean_ctor_set(v___x_14547_, 1, v___x_14546_); -v___x_14548_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v_cls_14408_, v___x_14547_, v_a_14396_, v_a_14397_, v_a_14398_, v_a_14399_); -if (lean_obj_tag(v___x_14548_) == 0) +lean_object* v___x_14542_; lean_object* v___x_14543_; lean_object* v___x_14544_; lean_object* v___x_14545_; lean_object* v___x_14546_; lean_object* v___x_14547_; lean_object* v___x_14548_; lean_object* v___x_14549_; lean_object* v___x_14550_; lean_object* v___x_14551_; +lean_inc(v_name_14395_); +v___x_14542_ = l_Lean_MessageData_ofName(v_name_14395_); +v___x_14543_ = lean_obj_once(&l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5, &l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5_once, _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5); +v___x_14544_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14544_, 0, v___x_14542_); +lean_ctor_set(v___x_14544_, 1, v___x_14543_); +lean_inc_ref(v_type_14396_); +v___x_14545_ = l_Lean_MessageData_ofExpr(v_type_14396_); +v___x_14546_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14546_, 0, v___x_14544_); +lean_ctor_set(v___x_14546_, 1, v___x_14545_); +v___x_14547_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1); +v___x_14548_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14548_, 0, v___x_14546_); +lean_ctor_set(v___x_14548_, 1, v___x_14547_); +lean_inc_ref(v_value_14397_); +v___x_14549_ = l_Lean_MessageData_ofExpr(v_value_14397_); +v___x_14550_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14550_, 0, v___x_14548_); +lean_ctor_set(v___x_14550_, 1, v___x_14549_); +v___x_14551_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v_cls_14411_, v___x_14550_, v_a_14399_, v_a_14400_, v_a_14401_, v_a_14402_); +if (lean_obj_tag(v___x_14551_) == 0) { -lean_dec_ref(v___x_14548_); -v___y_14507_ = v_a_14396_; -v___y_14508_ = v_a_14397_; -v___y_14509_ = v_a_14398_; +lean_dec_ref(v___x_14551_); v___y_14510_ = v_a_14399_; -goto v___jp_14506_; +v___y_14511_ = v_a_14400_; +v___y_14512_ = v_a_14401_; +v___y_14513_ = v_a_14402_; +goto v___jp_14509_; } else { -lean_object* v_a_14549_; lean_object* v___x_14551_; uint8_t v_isShared_14552_; uint8_t v_isSharedCheck_14556_; -lean_dec(v_a_14399_); -lean_dec_ref(v_a_14398_); -lean_dec(v_a_14397_); -lean_dec_ref(v_a_14396_); -lean_dec_ref(v_value_14394_); -lean_dec_ref(v_type_14393_); -lean_dec(v_name_14392_); -v_a_14549_ = lean_ctor_get(v___x_14548_, 0); -v_isSharedCheck_14556_ = !lean_is_exclusive(v___x_14548_); -if (v_isSharedCheck_14556_ == 0) -{ -v___x_14551_ = v___x_14548_; -v_isShared_14552_ = v_isSharedCheck_14556_; -goto v_resetjp_14550_; -} -else -{ -lean_inc(v_a_14549_); -lean_dec(v___x_14548_); -v___x_14551_ = lean_box(0); -v_isShared_14552_ = v_isSharedCheck_14556_; -goto v_resetjp_14550_; -} -v_resetjp_14550_: -{ -lean_object* v___x_14554_; -if (v_isShared_14552_ == 0) +lean_object* v_a_14552_; lean_object* v___x_14554_; uint8_t v_isShared_14555_; uint8_t v_isSharedCheck_14559_; +lean_dec(v_a_14402_); +lean_dec_ref(v_a_14401_); +lean_dec(v_a_14400_); +lean_dec_ref(v_a_14399_); +lean_dec_ref(v_value_14397_); +lean_dec_ref(v_type_14396_); +lean_dec(v_name_14395_); +v_a_14552_ = lean_ctor_get(v___x_14551_, 0); +v_isSharedCheck_14559_ = !lean_is_exclusive(v___x_14551_); +if (v_isSharedCheck_14559_ == 0) { v___x_14554_ = v___x_14551_; -goto v_reusejp_14553_; +v_isShared_14555_ = v_isSharedCheck_14559_; +goto v_resetjp_14553_; } else { -lean_object* v_reuseFailAlloc_14555_; -v_reuseFailAlloc_14555_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14555_, 0, v_a_14549_); -v___x_14554_ = v_reuseFailAlloc_14555_; -goto v_reusejp_14553_; +lean_inc(v_a_14552_); +lean_dec(v___x_14551_); +v___x_14554_ = lean_box(0); +v_isShared_14555_ = v_isSharedCheck_14559_; +goto v_resetjp_14553_; } -v_reusejp_14553_: +v_resetjp_14553_: { -return v___x_14554_; -} -} -} -} -v___jp_14401_: +lean_object* v___x_14557_; +if (v_isShared_14555_ == 0) { -lean_object* v___x_14404_; lean_object* v___x_14405_; lean_object* v___x_14406_; lean_object* v___x_14407_; -v___x_14404_ = lean_apply_1(v___y_14403_, v_name_14392_); -v___x_14405_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_14405_, 0, v___y_14402_); -v___x_14406_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_14406_, 0, v___x_14404_); -lean_ctor_set(v___x_14406_, 1, v___x_14405_); -v___x_14407_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_14407_, 0, v___x_14406_); -return v___x_14407_; +v___x_14557_ = v___x_14554_; +goto v_reusejp_14556_; } -v___jp_14409_: +else { -lean_object* v___x_14421_; lean_object* v___x_14422_; lean_object* v___x_14423_; lean_object* v_a_14424_; lean_object* v___x_14425_; lean_object* v_a_14426_; lean_object* v___x_14428_; uint8_t v_isShared_14429_; uint8_t v_isSharedCheck_14457_; -v___x_14421_ = lean_array_to_list(v___y_14415_); -v___x_14422_ = lean_box(1); +lean_object* v_reuseFailAlloc_14558_; +v_reuseFailAlloc_14558_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14558_, 0, v_a_14552_); +v___x_14557_ = v_reuseFailAlloc_14558_; +goto v_reusejp_14556_; +} +v_reusejp_14556_: +{ +return v___x_14557_; +} +} +} +} +v___jp_14404_: +{ +lean_object* v___x_14407_; lean_object* v___x_14408_; lean_object* v___x_14409_; lean_object* v___x_14410_; +v___x_14407_ = lean_apply_1(v___y_14405_, v_name_14395_); +v___x_14408_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_14408_, 0, v___y_14406_); +v___x_14409_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_14409_, 0, v___x_14407_); +lean_ctor_set(v___x_14409_, 1, v___x_14408_); +v___x_14410_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_14410_, 0, v___x_14409_); +return v___x_14410_; +} +v___jp_14412_: +{ +lean_object* v___x_14424_; lean_object* v___x_14425_; lean_object* v___x_14426_; lean_object* v_a_14427_; lean_object* v___x_14428_; lean_object* v_a_14429_; lean_object* v___x_14431_; uint8_t v_isShared_14432_; uint8_t v_isSharedCheck_14460_; +v___x_14424_ = lean_array_to_list(v___y_14417_); +v___x_14425_ = lean_box(1); +lean_inc_ref(v___y_14419_); lean_inc_ref(v___y_14416_); -lean_inc_ref(v___y_14414_); -lean_inc(v_name_14392_); -v___x_14423_ = l_Lean_mkDefinitionValInferringUnsafe___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__1___redArg(v_name_14392_, v___x_14421_, v___y_14414_, v___y_14416_, v___x_14422_, v___y_14420_); -v_a_14424_ = lean_ctor_get(v___x_14423_, 0); -lean_inc(v_a_14424_); -lean_dec_ref(v___x_14423_); -v___x_14425_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v_cls_14408_, v___y_14419_); -v_a_14426_ = lean_ctor_get(v___x_14425_, 0); -v_isSharedCheck_14457_ = !lean_is_exclusive(v___x_14425_); -if (v_isSharedCheck_14457_ == 0) +lean_inc(v_name_14395_); +v___x_14426_ = l_Lean_mkDefinitionValInferringUnsafe___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__1___redArg(v_name_14395_, v___x_14424_, v___y_14416_, v___y_14419_, v___x_14425_, v___y_14423_); +v_a_14427_ = lean_ctor_get(v___x_14426_, 0); +lean_inc(v_a_14427_); +lean_dec_ref(v___x_14426_); +v___x_14428_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v_cls_14411_, v___y_14422_); +v_a_14429_ = lean_ctor_get(v___x_14428_, 0); +v_isSharedCheck_14460_ = !lean_is_exclusive(v___x_14428_); +if (v_isSharedCheck_14460_ == 0) { -v___x_14428_ = v___x_14425_; -v_isShared_14429_ = v_isSharedCheck_14457_; -goto v_resetjp_14427_; -} -else -{ -lean_inc(v_a_14426_); -lean_dec(v___x_14425_); -v___x_14428_ = lean_box(0); -v_isShared_14429_ = v_isSharedCheck_14457_; -goto v_resetjp_14427_; -} -v_resetjp_14427_: -{ -lean_object* v___x_14431_; -if (v_isShared_14429_ == 0) -{ -lean_ctor_set_tag(v___x_14428_, 1); -lean_ctor_set(v___x_14428_, 0, v_a_14424_); v___x_14431_ = v___x_14428_; -goto v_reusejp_14430_; +v_isShared_14432_ = v_isSharedCheck_14460_; +goto v_resetjp_14430_; } else { -lean_object* v_reuseFailAlloc_14456_; -v_reuseFailAlloc_14456_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14456_, 0, v_a_14424_); -v___x_14431_ = v_reuseFailAlloc_14456_; -goto v_reusejp_14430_; +lean_inc(v_a_14429_); +lean_dec(v___x_14428_); +v___x_14431_ = lean_box(0); +v_isShared_14432_ = v_isSharedCheck_14460_; +goto v_resetjp_14430_; } -v_reusejp_14430_: +v_resetjp_14430_: { -lean_object* v___x_14432_; lean_object* v___f_14433_; lean_object* v___x_14434_; lean_object* v___x_14435_; lean_object* v___f_14436_; uint8_t v___x_14437_; -v___x_14432_ = lean_box(v___y_14410_); -lean_inc_ref(v___x_14431_); -v___f_14433_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__2___boxed), 7, 2); -lean_closure_set(v___f_14433_, 0, v___x_14431_); -lean_closure_set(v___f_14433_, 1, v___x_14432_); -v___x_14434_ = lean_box(v___y_14411_); -v___x_14435_ = lean_box(v_isSplitter_14395_); -lean_inc(v_name_14392_); -v___f_14436_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3___boxed), 12, 6); -lean_closure_set(v___f_14436_, 0, v___f_14433_); -lean_closure_set(v___f_14436_, 1, v_name_14392_); -lean_closure_set(v___f_14436_, 2, v___x_14434_); -lean_closure_set(v___f_14436_, 3, v___x_14431_); -lean_closure_set(v___f_14436_, 4, v___x_14435_); -lean_closure_set(v___f_14436_, 5, v___y_14412_); -v___x_14437_ = lean_unbox(v_a_14426_); -lean_dec(v_a_14426_); -if (v___x_14437_ == 0) +lean_object* v___x_14434_; +if (v_isShared_14432_ == 0) { -lean_dec(v___y_14420_); +lean_ctor_set_tag(v___x_14431_, 1); +lean_ctor_set(v___x_14431_, 0, v_a_14427_); +v___x_14434_ = v___x_14431_; +goto v_reusejp_14433_; +} +else +{ +lean_object* v_reuseFailAlloc_14459_; +v_reuseFailAlloc_14459_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14459_, 0, v_a_14427_); +v___x_14434_ = v_reuseFailAlloc_14459_; +goto v_reusejp_14433_; +} +v_reusejp_14433_: +{ +lean_object* v___x_14435_; lean_object* v___f_14436_; lean_object* v___x_14437_; lean_object* v___x_14438_; lean_object* v___f_14439_; uint8_t v___x_14440_; +v___x_14435_ = lean_box(v___y_14414_); +lean_inc_ref(v___x_14434_); +v___f_14436_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__2___boxed), 7, 2); +lean_closure_set(v___f_14436_, 0, v___x_14434_); +lean_closure_set(v___f_14436_, 1, v___x_14435_); +v___x_14437_ = lean_box(v___y_14415_); +v___x_14438_ = lean_box(v_isSplitter_14398_); +lean_inc(v_name_14395_); +v___f_14439_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__3___boxed), 12, 6); +lean_closure_set(v___f_14439_, 0, v___f_14436_); +lean_closure_set(v___f_14439_, 1, v_name_14395_); +lean_closure_set(v___f_14439_, 2, v___x_14437_); +lean_closure_set(v___f_14439_, 3, v___x_14434_); +lean_closure_set(v___f_14439_, 4, v___x_14438_); +lean_closure_set(v___f_14439_, 5, v___y_14413_); +v___x_14440_ = lean_unbox(v_a_14429_); +lean_dec(v_a_14429_); +if (v___x_14440_ == 0) +{ +lean_dec(v___y_14423_); +lean_dec_ref(v___y_14422_); +lean_dec(v___y_14421_); +lean_dec_ref(v___y_14420_); lean_dec_ref(v___y_14419_); -lean_dec(v___y_14418_); -lean_dec_ref(v___y_14417_); lean_dec_ref(v___y_14416_); -lean_dec_ref(v___y_14414_); -v___y_14402_ = v___f_14436_; -v___y_14403_ = v___y_14413_; -goto v___jp_14401_; +v___y_14405_ = v___y_14418_; +v___y_14406_ = v___f_14439_; +goto v___jp_14404_; } else { -lean_object* v___x_14438_; lean_object* v___x_14439_; lean_object* v___x_14440_; lean_object* v___x_14441_; lean_object* v___x_14442_; lean_object* v___x_14443_; lean_object* v___x_14444_; lean_object* v___x_14445_; lean_object* v___x_14446_; lean_object* v___x_14447_; -lean_inc(v_name_14392_); -v___x_14438_ = l_Lean_MessageData_ofName(v_name_14392_); -v___x_14439_ = lean_obj_once(&l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5, &l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5_once, _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5); -v___x_14440_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14440_, 0, v___x_14438_); -lean_ctor_set(v___x_14440_, 1, v___x_14439_); -v___x_14441_ = l_Lean_MessageData_ofExpr(v___y_14414_); -v___x_14442_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14442_, 0, v___x_14440_); -lean_ctor_set(v___x_14442_, 1, v___x_14441_); -v___x_14443_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1); -v___x_14444_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14444_, 0, v___x_14442_); -lean_ctor_set(v___x_14444_, 1, v___x_14443_); -v___x_14445_ = l_Lean_MessageData_ofExpr(v___y_14416_); -v___x_14446_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_14446_, 0, v___x_14444_); -lean_ctor_set(v___x_14446_, 1, v___x_14445_); -v___x_14447_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v_cls_14408_, v___x_14446_, v___y_14417_, v___y_14418_, v___y_14419_, v___y_14420_); -lean_dec(v___y_14420_); -lean_dec_ref(v___y_14419_); -lean_dec(v___y_14418_); -lean_dec_ref(v___y_14417_); -if (lean_obj_tag(v___x_14447_) == 0) +lean_object* v___x_14441_; lean_object* v___x_14442_; lean_object* v___x_14443_; lean_object* v___x_14444_; lean_object* v___x_14445_; lean_object* v___x_14446_; lean_object* v___x_14447_; lean_object* v___x_14448_; lean_object* v___x_14449_; lean_object* v___x_14450_; +lean_inc(v_name_14395_); +v___x_14441_ = l_Lean_MessageData_ofName(v_name_14395_); +v___x_14442_ = lean_obj_once(&l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5, &l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5_once, _init_l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop___redArg___closed__5); +v___x_14443_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14443_, 0, v___x_14441_); +lean_ctor_set(v___x_14443_, 1, v___x_14442_); +v___x_14444_ = l_Lean_MessageData_ofExpr(v___y_14416_); +v___x_14445_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14445_, 0, v___x_14443_); +lean_ctor_set(v___x_14445_, 1, v___x_14444_); +v___x_14446_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__1); +v___x_14447_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14447_, 0, v___x_14445_); +lean_ctor_set(v___x_14447_, 1, v___x_14446_); +v___x_14448_ = l_Lean_MessageData_ofExpr(v___y_14419_); +v___x_14449_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_14449_, 0, v___x_14447_); +lean_ctor_set(v___x_14449_, 1, v___x_14448_); +v___x_14450_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v_cls_14411_, v___x_14449_, v___y_14420_, v___y_14421_, v___y_14422_, v___y_14423_); +lean_dec(v___y_14423_); +lean_dec_ref(v___y_14422_); +lean_dec(v___y_14421_); +lean_dec_ref(v___y_14420_); +if (lean_obj_tag(v___x_14450_) == 0) { -lean_dec_ref(v___x_14447_); -v___y_14402_ = v___f_14436_; -v___y_14403_ = v___y_14413_; -goto v___jp_14401_; +lean_dec_ref(v___x_14450_); +v___y_14405_ = v___y_14418_; +v___y_14406_ = v___f_14439_; +goto v___jp_14404_; } else { -lean_object* v_a_14448_; lean_object* v___x_14450_; uint8_t v_isShared_14451_; uint8_t v_isSharedCheck_14455_; -lean_dec_ref(v___f_14436_); -lean_dec_ref(v___y_14413_); -lean_dec(v_name_14392_); -v_a_14448_ = lean_ctor_get(v___x_14447_, 0); -v_isSharedCheck_14455_ = !lean_is_exclusive(v___x_14447_); -if (v_isSharedCheck_14455_ == 0) -{ -v___x_14450_ = v___x_14447_; -v_isShared_14451_ = v_isSharedCheck_14455_; -goto v_resetjp_14449_; -} -else -{ -lean_inc(v_a_14448_); -lean_dec(v___x_14447_); -v___x_14450_ = lean_box(0); -v_isShared_14451_ = v_isSharedCheck_14455_; -goto v_resetjp_14449_; -} -v_resetjp_14449_: -{ -lean_object* v___x_14453_; -if (v_isShared_14451_ == 0) +lean_object* v_a_14451_; lean_object* v___x_14453_; uint8_t v_isShared_14454_; uint8_t v_isSharedCheck_14458_; +lean_dec_ref(v___f_14439_); +lean_dec_ref(v___y_14418_); +lean_dec(v_name_14395_); +v_a_14451_ = lean_ctor_get(v___x_14450_, 0); +v_isSharedCheck_14458_ = !lean_is_exclusive(v___x_14450_); +if (v_isSharedCheck_14458_ == 0) { v___x_14453_ = v___x_14450_; -goto v_reusejp_14452_; +v_isShared_14454_ = v_isSharedCheck_14458_; +goto v_resetjp_14452_; } else { -lean_object* v_reuseFailAlloc_14454_; -v_reuseFailAlloc_14454_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14454_, 0, v_a_14448_); -v___x_14453_ = v_reuseFailAlloc_14454_; -goto v_reusejp_14452_; +lean_inc(v_a_14451_); +lean_dec(v___x_14450_); +v___x_14453_ = lean_box(0); +v_isShared_14454_ = v_isSharedCheck_14458_; +goto v_resetjp_14452_; } -v_reusejp_14452_: +v_resetjp_14452_: { -return v___x_14453_; -} -} -} -} -} -} -} -v___jp_14458_: +lean_object* v___x_14456_; +if (v_isShared_14454_ == 0) { -if (lean_obj_tag(v_nameNew_x3f_14466_) == 0) +v___x_14456_ = v___x_14453_; +goto v_reusejp_14455_; +} +else { -v___y_14410_ = v___y_14459_; -v___y_14411_ = v___y_14460_; -v___y_14412_ = v___y_14461_; -v___y_14413_ = v___y_14462_; -v___y_14414_ = v___y_14464_; -v___y_14415_ = v___y_14463_; +lean_object* v_reuseFailAlloc_14457_; +v_reuseFailAlloc_14457_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14457_, 0, v_a_14451_); +v___x_14456_ = v_reuseFailAlloc_14457_; +goto v_reusejp_14455_; +} +v_reusejp_14455_: +{ +return v___x_14456_; +} +} +} +} +} +} +} +v___jp_14461_: +{ +if (lean_obj_tag(v_nameNew_x3f_14469_) == 0) +{ +v___y_14413_ = v___y_14463_; +v___y_14414_ = v___y_14462_; +v___y_14415_ = v___y_14464_; v___y_14416_ = v___y_14465_; -v___y_14417_ = v___y_14467_; -v___y_14418_ = v___y_14468_; -v___y_14419_ = v___y_14469_; +v___y_14417_ = v___y_14466_; +v___y_14418_ = v___y_14467_; +v___y_14419_ = v___y_14468_; v___y_14420_ = v___y_14470_; -goto v___jp_14409_; +v___y_14421_ = v___y_14471_; +v___y_14422_ = v___y_14472_; +v___y_14423_ = v___y_14473_; +goto v___jp_14412_; } else { -lean_object* v_val_14471_; lean_object* v___x_14473_; uint8_t v_isShared_14474_; uint8_t v_isSharedCheck_14481_; -lean_dec(v___y_14470_); -lean_dec_ref(v___y_14469_); -lean_dec(v___y_14468_); -lean_dec_ref(v___y_14467_); +lean_object* v_val_14474_; lean_object* v___x_14476_; uint8_t v_isShared_14477_; uint8_t v_isSharedCheck_14484_; +lean_dec(v___y_14473_); +lean_dec_ref(v___y_14472_); +lean_dec(v___y_14471_); +lean_dec_ref(v___y_14470_); +lean_dec_ref(v___y_14468_); +lean_dec_ref(v___y_14466_); lean_dec_ref(v___y_14465_); -lean_dec_ref(v___y_14464_); lean_dec_ref(v___y_14463_); -lean_dec_ref(v___y_14461_); -lean_dec(v_name_14392_); -v_val_14471_ = lean_ctor_get(v_nameNew_x3f_14466_, 0); -v_isSharedCheck_14481_ = !lean_is_exclusive(v_nameNew_x3f_14466_); -if (v_isSharedCheck_14481_ == 0) +lean_dec(v_name_14395_); +v_val_14474_ = lean_ctor_get(v_nameNew_x3f_14469_, 0); +v_isSharedCheck_14484_ = !lean_is_exclusive(v_nameNew_x3f_14469_); +if (v_isSharedCheck_14484_ == 0) { -v___x_14473_ = v_nameNew_x3f_14466_; -v_isShared_14474_ = v_isSharedCheck_14481_; -goto v_resetjp_14472_; +v___x_14476_ = v_nameNew_x3f_14469_; +v_isShared_14477_ = v_isSharedCheck_14484_; +goto v_resetjp_14475_; } else { -lean_inc(v_val_14471_); -lean_dec(v_nameNew_x3f_14466_); -v___x_14473_ = lean_box(0); -v_isShared_14474_ = v_isSharedCheck_14481_; -goto v_resetjp_14472_; -} -v_resetjp_14472_: -{ -lean_object* v___x_14475_; lean_object* v___x_14476_; lean_object* v___x_14477_; lean_object* v___x_14479_; -v___x_14475_ = lean_apply_1(v___y_14462_, v_val_14471_); +lean_inc(v_val_14474_); +lean_dec(v_nameNew_x3f_14469_); v___x_14476_ = lean_box(0); -v___x_14477_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_14477_, 0, v___x_14475_); -lean_ctor_set(v___x_14477_, 1, v___x_14476_); -if (v_isShared_14474_ == 0) +v_isShared_14477_ = v_isSharedCheck_14484_; +goto v_resetjp_14475_; +} +v_resetjp_14475_: { -lean_ctor_set_tag(v___x_14473_, 0); -lean_ctor_set(v___x_14473_, 0, v___x_14477_); -v___x_14479_ = v___x_14473_; -goto v_reusejp_14478_; +lean_object* v___x_14478_; lean_object* v___x_14479_; lean_object* v___x_14480_; lean_object* v___x_14482_; +v___x_14478_ = lean_apply_1(v___y_14467_, v_val_14474_); +v___x_14479_ = lean_box(0); +v___x_14480_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_14480_, 0, v___x_14478_); +lean_ctor_set(v___x_14480_, 1, v___x_14479_); +if (v_isShared_14477_ == 0) +{ +lean_ctor_set_tag(v___x_14476_, 0); +lean_ctor_set(v___x_14476_, 0, v___x_14480_); +v___x_14482_ = v___x_14476_; +goto v_reusejp_14481_; } else { -lean_object* v_reuseFailAlloc_14480_; -v_reuseFailAlloc_14480_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14480_, 0, v___x_14477_); -v___x_14479_ = v_reuseFailAlloc_14480_; -goto v_reusejp_14478_; +lean_object* v_reuseFailAlloc_14483_; +v_reuseFailAlloc_14483_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14483_, 0, v___x_14480_); +v___x_14482_ = v_reuseFailAlloc_14483_; +goto v_reusejp_14481_; } -v_reusejp_14478_: +v_reusejp_14481_: { -return v___x_14479_; +return v___x_14482_; } } } } -v___jp_14482_: +v___jp_14485_: { -lean_object* v___x_14496_; lean_object* v___f_14497_; -lean_inc_ref(v___y_14494_); -v___x_14496_ = lean_alloc_ctor(0, 1, 2); -lean_ctor_set(v___x_14496_, 0, v___y_14494_); -lean_ctor_set_uint8(v___x_14496_, sizeof(void*)*1, v___y_14485_); -lean_ctor_set_uint8(v___x_14496_, sizeof(void*)*1 + 1, v___y_14495_); -lean_inc(v_name_14392_); -lean_inc_ref(v___x_14496_); -v___f_14497_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__1), 3, 2); -lean_closure_set(v___f_14497_, 0, v___x_14496_); -lean_closure_set(v___f_14497_, 1, v_name_14392_); -if (v_isSplitter_14395_ == 0) +lean_object* v___x_14499_; lean_object* v___f_14500_; +lean_inc_ref(v___y_14495_); +v___x_14499_ = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(v___x_14499_, 0, v___y_14495_); +lean_ctor_set_uint8(v___x_14499_, sizeof(void*)*1, v___y_14488_); +lean_ctor_set_uint8(v___x_14499_, sizeof(void*)*1 + 1, v___y_14498_); +lean_inc(v_name_14395_); +lean_inc_ref(v___x_14499_); +v___f_14500_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__1), 3, 2); +lean_closure_set(v___f_14500_, 0, v___x_14499_); +lean_closure_set(v___f_14500_, 1, v_name_14395_); +if (v_isSplitter_14398_ == 0) { -lean_object* v___x_14498_; lean_object* v_asyncMode_14499_; lean_object* v___x_14500_; lean_object* v___x_14501_; lean_object* v___x_14502_; lean_object* v___x_14503_; -v___x_14498_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_matcherExt; -v_asyncMode_14499_ = lean_ctor_get(v___x_14498_, 2); -lean_inc(v_asyncMode_14499_); -v___x_14500_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2); -v___x_14501_ = lean_box(0); -v___x_14502_ = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(v___x_14500_, v___x_14498_, v___y_14487_, v_asyncMode_14499_, v___x_14501_); -lean_dec(v_asyncMode_14499_); -lean_inc(v___x_14502_); -v___x_14503_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v___x_14502_, v___x_14496_); -lean_dec_ref(v___x_14496_); -if (lean_obj_tag(v___x_14503_) == 0) +lean_object* v___x_14501_; lean_object* v_asyncMode_14502_; lean_object* v___x_14503_; lean_object* v___x_14504_; lean_object* v___x_14505_; lean_object* v___x_14506_; +v___x_14501_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_matcherExt; +v_asyncMode_14502_ = lean_ctor_get(v___x_14501_, 2); +lean_inc(v_asyncMode_14502_); +v___x_14503_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2, &l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2_once, _init_l_Lean_Meta_Match_mkMatcherAuxDefinition___closed__2); +v___x_14504_ = lean_box(0); +v___x_14505_ = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(v___x_14503_, v___x_14501_, v___y_14492_, v_asyncMode_14502_, v___x_14504_); +lean_dec(v_asyncMode_14502_); +lean_inc(v___x_14505_); +v___x_14506_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v___x_14505_, v___x_14499_); +lean_dec_ref(v___x_14499_); +if (lean_obj_tag(v___x_14506_) == 0) { -if (v___y_14495_ == 0) +if (v___y_14498_ == 0) { -lean_dec(v___x_14502_); -v___y_14459_ = v___y_14483_; -v___y_14460_ = v___y_14485_; -v___y_14461_ = v___f_14497_; -v___y_14462_ = v___y_14484_; -v___y_14463_ = v___y_14492_; -v___y_14464_ = v___y_14493_; -v___y_14465_ = v___y_14494_; -v_nameNew_x3f_14466_ = v___x_14503_; -v___y_14467_ = v___y_14491_; -v___y_14468_ = v___y_14489_; -v___y_14469_ = v___y_14488_; -v___y_14470_ = v___y_14490_; -goto v___jp_14458_; +lean_dec(v___x_14505_); +v___y_14462_ = v___y_14487_; +v___y_14463_ = v___f_14500_; +v___y_14464_ = v___y_14488_; +v___y_14465_ = v___y_14489_; +v___y_14466_ = v___y_14493_; +v___y_14467_ = v___y_14486_; +v___y_14468_ = v___y_14495_; +v_nameNew_x3f_14469_ = v___x_14506_; +v___y_14470_ = v___y_14496_; +v___y_14471_ = v___y_14494_; +v___y_14472_ = v___y_14491_; +v___y_14473_ = v___y_14490_; +goto v___jp_14461_; } else { -lean_object* v___x_14504_; lean_object* v___x_14505_; -lean_inc_ref(v___y_14494_); -v___x_14504_ = lean_alloc_ctor(0, 1, 2); -lean_ctor_set(v___x_14504_, 0, v___y_14494_); -lean_ctor_set_uint8(v___x_14504_, sizeof(void*)*1, v___y_14485_); -lean_ctor_set_uint8(v___x_14504_, sizeof(void*)*1 + 1, v___y_14486_); -v___x_14505_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v___x_14502_, v___x_14504_); -lean_dec_ref(v___x_14504_); -v___y_14459_ = v___y_14483_; -v___y_14460_ = v___y_14485_; -v___y_14461_ = v___f_14497_; -v___y_14462_ = v___y_14484_; -v___y_14463_ = v___y_14492_; -v___y_14464_ = v___y_14493_; -v___y_14465_ = v___y_14494_; -v_nameNew_x3f_14466_ = v___x_14505_; -v___y_14467_ = v___y_14491_; -v___y_14468_ = v___y_14489_; -v___y_14469_ = v___y_14488_; -v___y_14470_ = v___y_14490_; -goto v___jp_14458_; +lean_object* v___x_14507_; lean_object* v___x_14508_; +lean_inc_ref(v___y_14495_); +v___x_14507_ = lean_alloc_ctor(0, 1, 2); +lean_ctor_set(v___x_14507_, 0, v___y_14495_); +lean_ctor_set_uint8(v___x_14507_, sizeof(void*)*1, v___y_14488_); +lean_ctor_set_uint8(v___x_14507_, sizeof(void*)*1 + 1, v___y_14497_); +v___x_14508_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v___x_14505_, v___x_14507_); +lean_dec_ref(v___x_14507_); +v___y_14462_ = v___y_14487_; +v___y_14463_ = v___f_14500_; +v___y_14464_ = v___y_14488_; +v___y_14465_ = v___y_14489_; +v___y_14466_ = v___y_14493_; +v___y_14467_ = v___y_14486_; +v___y_14468_ = v___y_14495_; +v_nameNew_x3f_14469_ = v___x_14508_; +v___y_14470_ = v___y_14496_; +v___y_14471_ = v___y_14494_; +v___y_14472_ = v___y_14491_; +v___y_14473_ = v___y_14490_; +goto v___jp_14461_; } } else { -lean_dec(v___x_14502_); -v___y_14459_ = v___y_14483_; -v___y_14460_ = v___y_14485_; -v___y_14461_ = v___f_14497_; -v___y_14462_ = v___y_14484_; -v___y_14463_ = v___y_14492_; -v___y_14464_ = v___y_14493_; -v___y_14465_ = v___y_14494_; -v_nameNew_x3f_14466_ = v___x_14503_; -v___y_14467_ = v___y_14491_; -v___y_14468_ = v___y_14489_; -v___y_14469_ = v___y_14488_; -v___y_14470_ = v___y_14490_; -goto v___jp_14458_; +lean_dec(v___x_14505_); +v___y_14462_ = v___y_14487_; +v___y_14463_ = v___f_14500_; +v___y_14464_ = v___y_14488_; +v___y_14465_ = v___y_14489_; +v___y_14466_ = v___y_14493_; +v___y_14467_ = v___y_14486_; +v___y_14468_ = v___y_14495_; +v_nameNew_x3f_14469_ = v___x_14506_; +v___y_14470_ = v___y_14496_; +v___y_14471_ = v___y_14494_; +v___y_14472_ = v___y_14491_; +v___y_14473_ = v___y_14490_; +goto v___jp_14461_; } } else { -lean_dec_ref(v___x_14496_); -lean_dec_ref(v___y_14487_); -v___y_14410_ = v___y_14483_; -v___y_14411_ = v___y_14485_; -v___y_14412_ = v___f_14497_; -v___y_14413_ = v___y_14484_; -v___y_14414_ = v___y_14493_; -v___y_14415_ = v___y_14492_; -v___y_14416_ = v___y_14494_; -v___y_14417_ = v___y_14491_; -v___y_14418_ = v___y_14489_; -v___y_14419_ = v___y_14488_; -v___y_14420_ = v___y_14490_; -goto v___jp_14409_; +lean_dec_ref(v___x_14499_); +lean_dec_ref(v___y_14492_); +v___y_14413_ = v___f_14500_; +v___y_14414_ = v___y_14487_; +v___y_14415_ = v___y_14488_; +v___y_14416_ = v___y_14489_; +v___y_14417_ = v___y_14493_; +v___y_14418_ = v___y_14486_; +v___y_14419_ = v___y_14495_; +v___y_14420_ = v___y_14496_; +v___y_14421_ = v___y_14494_; +v___y_14422_ = v___y_14491_; +v___y_14423_ = v___y_14490_; +goto v___jp_14412_; } } -v___jp_14506_: +v___jp_14509_: { -lean_object* v_options_14511_; uint8_t v___x_14512_; lean_object* v___x_14513_; -v_options_14511_ = lean_ctor_get(v___y_14509_, 2); -v___x_14512_ = 0; -lean_inc(v___y_14510_); -lean_inc_ref(v___y_14509_); -lean_inc(v___y_14508_); -lean_inc_ref(v___y_14507_); -v___x_14513_ = l_Lean_Meta_Closure_mkValueTypeClosure(v_type_14393_, v_value_14394_, v___x_14512_, v___y_14507_, v___y_14508_, v___y_14509_, v___y_14510_); -if (lean_obj_tag(v___x_14513_) == 0) +lean_object* v_options_14514_; uint8_t v___x_14515_; lean_object* v___x_14516_; +v_options_14514_ = lean_ctor_get(v___y_14512_, 2); +v___x_14515_ = 0; +lean_inc(v___y_14513_); +lean_inc_ref(v___y_14512_); +lean_inc(v___y_14511_); +lean_inc_ref(v___y_14510_); +v___x_14516_ = l_Lean_Meta_Closure_mkValueTypeClosure(v_type_14396_, v_value_14397_, v___x_14515_, v___y_14510_, v___y_14511_, v___y_14512_, v___y_14513_); +if (lean_obj_tag(v___x_14516_) == 0) { -lean_object* v_a_14514_; lean_object* v___x_14515_; lean_object* v_env_14516_; lean_object* v_levelParams_14517_; lean_object* v_type_14518_; lean_object* v_value_14519_; lean_object* v_levelArgs_14520_; lean_object* v_exprArgs_14521_; lean_object* v___x_14522_; uint8_t v_isModule_14523_; lean_object* v___f_14524_; lean_object* v___x_14525_; uint8_t v___x_14526_; -v_a_14514_ = lean_ctor_get(v___x_14513_, 0); -lean_inc(v_a_14514_); -lean_dec_ref(v___x_14513_); -v___x_14515_ = lean_st_ref_get(v___y_14510_); -v_env_14516_ = lean_ctor_get(v___x_14515_, 0); -lean_inc_ref(v_env_14516_); -lean_dec(v___x_14515_); -v_levelParams_14517_ = lean_ctor_get(v_a_14514_, 0); -lean_inc_ref(v_levelParams_14517_); -v_type_14518_ = lean_ctor_get(v_a_14514_, 1); -lean_inc_ref(v_type_14518_); -v_value_14519_ = lean_ctor_get(v_a_14514_, 2); -lean_inc_ref(v_value_14519_); -v_levelArgs_14520_ = lean_ctor_get(v_a_14514_, 3); -lean_inc_ref(v_levelArgs_14520_); -v_exprArgs_14521_ = lean_ctor_get(v_a_14514_, 4); -lean_inc_ref(v_exprArgs_14521_); -lean_dec(v_a_14514_); -v___x_14522_ = l_Lean_Environment_header(v_env_14516_); -v_isModule_14523_ = lean_ctor_get_uint8(v___x_14522_, sizeof(void*)*7 + 4); -lean_dec_ref(v___x_14522_); -v___f_14524_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__0___boxed), 3, 2); -lean_closure_set(v___f_14524_, 0, v_levelArgs_14520_); -lean_closure_set(v___f_14524_, 1, v_exprArgs_14521_); -v___x_14525_ = l_Lean_Meta_Match_bootstrap_genMatcherCode; -v___x_14526_ = l_Lean_Option_get___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_contradiction_spec__4(v_options_14511_, v___x_14525_); -if (v_isModule_14523_ == 0) +lean_object* v_a_14517_; lean_object* v___x_14518_; lean_object* v_env_14519_; lean_object* v_levelParams_14520_; lean_object* v_type_14521_; lean_object* v_value_14522_; lean_object* v_levelArgs_14523_; lean_object* v_exprArgs_14524_; lean_object* v___x_14525_; uint8_t v_isModule_14526_; lean_object* v___f_14527_; lean_object* v___x_14528_; uint8_t v___x_14529_; +v_a_14517_ = lean_ctor_get(v___x_14516_, 0); +lean_inc(v_a_14517_); +lean_dec_ref(v___x_14516_); +v___x_14518_ = lean_st_ref_get(v___y_14513_); +v_env_14519_ = lean_ctor_get(v___x_14518_, 0); +lean_inc_ref(v_env_14519_); +lean_dec(v___x_14518_); +v_levelParams_14520_ = lean_ctor_get(v_a_14517_, 0); +lean_inc_ref(v_levelParams_14520_); +v_type_14521_ = lean_ctor_get(v_a_14517_, 1); +lean_inc_ref(v_type_14521_); +v_value_14522_ = lean_ctor_get(v_a_14517_, 2); +lean_inc_ref(v_value_14522_); +v_levelArgs_14523_ = lean_ctor_get(v_a_14517_, 3); +lean_inc_ref(v_levelArgs_14523_); +v_exprArgs_14524_ = lean_ctor_get(v_a_14517_, 4); +lean_inc_ref(v_exprArgs_14524_); +lean_dec(v_a_14517_); +v___x_14525_ = l_Lean_Environment_header(v_env_14519_); +v_isModule_14526_ = lean_ctor_get_uint8(v___x_14525_, sizeof(void*)*7 + 4); +lean_dec_ref(v___x_14525_); +v___f_14527_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcherAuxDefinition___lam__0___boxed), 3, 2); +lean_closure_set(v___f_14527_, 0, v_levelArgs_14523_); +lean_closure_set(v___f_14527_, 1, v_exprArgs_14524_); +v___x_14528_ = l_Lean_Meta_Match_bootstrap_genMatcherCode; +v___x_14529_ = l_Lean_Option_get___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_contradiction_spec__4(v_options_14514_, v___x_14528_); +if (v_isModule_14526_ == 0) { -v___y_14483_ = v___x_14512_; -v___y_14484_ = v___f_14524_; -v___y_14485_ = v___x_14526_; -v___y_14486_ = v___x_14512_; -v___y_14487_ = v_env_14516_; -v___y_14488_ = v___y_14509_; -v___y_14489_ = v___y_14508_; -v___y_14490_ = v___y_14510_; -v___y_14491_ = v___y_14507_; -v___y_14492_ = v_levelParams_14517_; -v___y_14493_ = v_type_14518_; -v___y_14494_ = v_value_14519_; -v___y_14495_ = v___x_14512_; -goto v___jp_14482_; +v___y_14486_ = v___f_14527_; +v___y_14487_ = v___x_14515_; +v___y_14488_ = v___x_14529_; +v___y_14489_ = v_type_14521_; +v___y_14490_ = v___y_14513_; +v___y_14491_ = v___y_14512_; +v___y_14492_ = v_env_14519_; +v___y_14493_ = v_levelParams_14520_; +v___y_14494_ = v___y_14511_; +v___y_14495_ = v_value_14522_; +v___y_14496_ = v___y_14510_; +v___y_14497_ = v___x_14515_; +v___y_14498_ = v___x_14515_; +goto v___jp_14485_; } else { -uint8_t v___x_14527_; -v___x_14527_ = l_Lean_isPrivateName(v_name_14392_); -v___y_14483_ = v___x_14512_; -v___y_14484_ = v___f_14524_; -v___y_14485_ = v___x_14526_; -v___y_14486_ = v___x_14512_; -v___y_14487_ = v_env_14516_; -v___y_14488_ = v___y_14509_; -v___y_14489_ = v___y_14508_; -v___y_14490_ = v___y_14510_; -v___y_14491_ = v___y_14507_; -v___y_14492_ = v_levelParams_14517_; -v___y_14493_ = v_type_14518_; -v___y_14494_ = v_value_14519_; -v___y_14495_ = v___x_14527_; -goto v___jp_14482_; +uint8_t v___x_14530_; +v___x_14530_ = l_Lean_isPrivateName(v_name_14395_); +v___y_14486_ = v___f_14527_; +v___y_14487_ = v___x_14515_; +v___y_14488_ = v___x_14529_; +v___y_14489_ = v_type_14521_; +v___y_14490_ = v___y_14513_; +v___y_14491_ = v___y_14512_; +v___y_14492_ = v_env_14519_; +v___y_14493_ = v_levelParams_14520_; +v___y_14494_ = v___y_14511_; +v___y_14495_ = v_value_14522_; +v___y_14496_ = v___y_14510_; +v___y_14497_ = v___x_14515_; +v___y_14498_ = v___x_14530_; +goto v___jp_14485_; } } else { -lean_object* v_a_14528_; lean_object* v___x_14530_; uint8_t v_isShared_14531_; uint8_t v_isSharedCheck_14535_; -lean_dec(v___y_14510_); -lean_dec_ref(v___y_14509_); -lean_dec(v___y_14508_); -lean_dec_ref(v___y_14507_); -lean_dec(v_name_14392_); -v_a_14528_ = lean_ctor_get(v___x_14513_, 0); -v_isSharedCheck_14535_ = !lean_is_exclusive(v___x_14513_); -if (v_isSharedCheck_14535_ == 0) +lean_object* v_a_14531_; lean_object* v___x_14533_; uint8_t v_isShared_14534_; uint8_t v_isSharedCheck_14538_; +lean_dec(v___y_14513_); +lean_dec_ref(v___y_14512_); +lean_dec(v___y_14511_); +lean_dec_ref(v___y_14510_); +lean_dec(v_name_14395_); +v_a_14531_ = lean_ctor_get(v___x_14516_, 0); +v_isSharedCheck_14538_ = !lean_is_exclusive(v___x_14516_); +if (v_isSharedCheck_14538_ == 0) { -v___x_14530_ = v___x_14513_; -v_isShared_14531_ = v_isSharedCheck_14535_; -goto v_resetjp_14529_; +v___x_14533_ = v___x_14516_; +v_isShared_14534_ = v_isSharedCheck_14538_; +goto v_resetjp_14532_; } else { -lean_inc(v_a_14528_); -lean_dec(v___x_14513_); -v___x_14530_ = lean_box(0); -v_isShared_14531_ = v_isSharedCheck_14535_; -goto v_resetjp_14529_; +lean_inc(v_a_14531_); +lean_dec(v___x_14516_); +v___x_14533_ = lean_box(0); +v_isShared_14534_ = v_isSharedCheck_14538_; +goto v_resetjp_14532_; } -v_resetjp_14529_: +v_resetjp_14532_: { -lean_object* v___x_14533_; -if (v_isShared_14531_ == 0) +lean_object* v___x_14536_; +if (v_isShared_14534_ == 0) { -v___x_14533_ = v___x_14530_; -goto v_reusejp_14532_; +v___x_14536_ = v___x_14533_; +goto v_reusejp_14535_; } else { -lean_object* v_reuseFailAlloc_14534_; -v_reuseFailAlloc_14534_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14534_, 0, v_a_14528_); -v___x_14533_ = v_reuseFailAlloc_14534_; -goto v_reusejp_14532_; +lean_object* v_reuseFailAlloc_14537_; +v_reuseFailAlloc_14537_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14537_, 0, v_a_14531_); +v___x_14536_ = v_reuseFailAlloc_14537_; +goto v_reusejp_14535_; } -v_reusejp_14532_: +v_reusejp_14535_: { -return v___x_14533_; +return v___x_14536_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___boxed(lean_object* v_name_14557_, lean_object* v_type_14558_, lean_object* v_value_14559_, lean_object* v_isSplitter_14560_, lean_object* v_a_14561_, lean_object* v_a_14562_, lean_object* v_a_14563_, lean_object* v_a_14564_, lean_object* v_a_14565_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcherAuxDefinition___boxed(lean_object* v_name_14560_, lean_object* v_type_14561_, lean_object* v_value_14562_, lean_object* v_isSplitter_14563_, lean_object* v_a_14564_, lean_object* v_a_14565_, lean_object* v_a_14566_, lean_object* v_a_14567_, lean_object* v_a_14568_){ _start: { -uint8_t v_isSplitter_boxed_14566_; lean_object* v_res_14567_; -v_isSplitter_boxed_14566_ = lean_unbox(v_isSplitter_14560_); -v_res_14567_ = l_Lean_Meta_Match_mkMatcherAuxDefinition(v_name_14557_, v_type_14558_, v_value_14559_, v_isSplitter_boxed_14566_, v_a_14561_, v_a_14562_, v_a_14563_, v_a_14564_); -return v_res_14567_; +uint8_t v_isSplitter_boxed_14569_; lean_object* v_res_14570_; +v_isSplitter_boxed_14569_ = lean_unbox(v_isSplitter_14563_); +v_res_14570_ = l_Lean_Meta_Match_mkMatcherAuxDefinition(v_name_14560_, v_type_14561_, v_value_14562_, v_isSplitter_boxed_14569_, v_a_14564_, v_a_14565_, v_a_14566_, v_a_14567_); +return v_res_14570_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0(lean_object* v_00_u03b2_14568_, lean_object* v_x_14569_, lean_object* v_x_14570_, lean_object* v_x_14571_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0(lean_object* v_00_u03b2_14571_, lean_object* v_x_14572_, lean_object* v_x_14573_, lean_object* v_x_14574_){ _start: { -lean_object* v___x_14572_; -v___x_14572_ = l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0___redArg(v_x_14569_, v_x_14570_, v_x_14571_); -return v___x_14572_; +lean_object* v___x_14575_; +v___x_14575_ = l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0___redArg(v_x_14572_, v_x_14573_, v_x_14574_); +return v___x_14575_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4(lean_object* v_00_u03b2_14573_, lean_object* v_x_14574_, lean_object* v_x_14575_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4(lean_object* v_00_u03b2_14576_, lean_object* v_x_14577_, lean_object* v_x_14578_){ _start: { -lean_object* v___x_14576_; -v___x_14576_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v_x_14574_, v_x_14575_); -return v___x_14576_; +lean_object* v___x_14579_; +v___x_14579_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___redArg(v_x_14577_, v_x_14578_); +return v___x_14579_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___boxed(lean_object* v_00_u03b2_14577_, lean_object* v_x_14578_, lean_object* v_x_14579_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4___boxed(lean_object* v_00_u03b2_14580_, lean_object* v_x_14581_, lean_object* v_x_14582_){ _start: { -lean_object* v_res_14580_; -v_res_14580_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4(v_00_u03b2_14577_, v_x_14578_, v_x_14579_); -lean_dec_ref(v_x_14579_); -return v_res_14580_; +lean_object* v_res_14583_; +v_res_14583_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4(v_00_u03b2_14580_, v_x_14581_, v_x_14582_); +lean_dec_ref(v_x_14582_); +return v_res_14583_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0(lean_object* v_00_u03b2_14581_, lean_object* v_x_14582_, size_t v_x_14583_, size_t v_x_14584_, lean_object* v_x_14585_, lean_object* v_x_14586_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0(lean_object* v_00_u03b2_14584_, lean_object* v_x_14585_, size_t v_x_14586_, size_t v_x_14587_, lean_object* v_x_14588_, lean_object* v_x_14589_){ _start: { -lean_object* v___x_14587_; -v___x_14587_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___redArg(v_x_14582_, v_x_14583_, v_x_14584_, v_x_14585_, v_x_14586_); -return v___x_14587_; +lean_object* v___x_14590_; +v___x_14590_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___redArg(v_x_14585_, v_x_14586_, v_x_14587_, v_x_14588_, v_x_14589_); +return v___x_14590_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___boxed(lean_object* v_00_u03b2_14588_, lean_object* v_x_14589_, lean_object* v_x_14590_, lean_object* v_x_14591_, lean_object* v_x_14592_, lean_object* v_x_14593_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0___boxed(lean_object* v_00_u03b2_14591_, lean_object* v_x_14592_, lean_object* v_x_14593_, lean_object* v_x_14594_, lean_object* v_x_14595_, lean_object* v_x_14596_){ _start: { -size_t v_x_10899__boxed_14594_; size_t v_x_10900__boxed_14595_; lean_object* v_res_14596_; -v_x_10899__boxed_14594_ = lean_unbox_usize(v_x_14590_); -lean_dec(v_x_14590_); -v_x_10900__boxed_14595_ = lean_unbox_usize(v_x_14591_); -lean_dec(v_x_14591_); -v_res_14596_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0(v_00_u03b2_14588_, v_x_14589_, v_x_10899__boxed_14594_, v_x_10900__boxed_14595_, v_x_14592_, v_x_14593_); -return v_res_14596_; +size_t v_x_11099__boxed_14597_; size_t v_x_11100__boxed_14598_; lean_object* v_res_14599_; +v_x_11099__boxed_14597_ = lean_unbox_usize(v_x_14593_); +lean_dec(v_x_14593_); +v_x_11100__boxed_14598_ = lean_unbox_usize(v_x_14594_); +lean_dec(v_x_14594_); +v_res_14599_ = l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0(v_00_u03b2_14591_, v_x_14592_, v_x_11099__boxed_14597_, v_x_11100__boxed_14598_, v_x_14595_, v_x_14596_); +return v_res_14599_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5(lean_object* v_00_u03b2_14597_, lean_object* v_x_14598_, size_t v_x_14599_, lean_object* v_x_14600_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5(lean_object* v_00_u03b2_14600_, lean_object* v_x_14601_, size_t v_x_14602_, lean_object* v_x_14603_){ _start: { -lean_object* v___x_14601_; -v___x_14601_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14598_, v_x_14599_, v_x_14600_); -return v___x_14601_; +lean_object* v___x_14604_; +v___x_14604_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___redArg(v_x_14601_, v_x_14602_, v_x_14603_); +return v___x_14604_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___boxed(lean_object* v_00_u03b2_14602_, lean_object* v_x_14603_, lean_object* v_x_14604_, lean_object* v_x_14605_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5___boxed(lean_object* v_00_u03b2_14605_, lean_object* v_x_14606_, lean_object* v_x_14607_, lean_object* v_x_14608_){ _start: { -size_t v_x_10916__boxed_14606_; lean_object* v_res_14607_; -v_x_10916__boxed_14606_ = lean_unbox_usize(v_x_14604_); -lean_dec(v_x_14604_); -v_res_14607_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5(v_00_u03b2_14602_, v_x_14603_, v_x_10916__boxed_14606_, v_x_14605_); -lean_dec_ref(v_x_14605_); -return v_res_14607_; +size_t v_x_11116__boxed_14609_; lean_object* v_res_14610_; +v_x_11116__boxed_14609_ = lean_unbox_usize(v_x_14607_); +lean_dec(v_x_14607_); +v_res_14610_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5(v_00_u03b2_14605_, v_x_14606_, v_x_11116__boxed_14609_, v_x_14608_); +lean_dec_ref(v_x_14608_); +return v_res_14610_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4(lean_object* v_00_u03b2_14608_, lean_object* v_n_14609_, lean_object* v_k_14610_, lean_object* v_v_14611_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4(lean_object* v_00_u03b2_14611_, lean_object* v_n_14612_, lean_object* v_k_14613_, lean_object* v_v_14614_){ _start: { -lean_object* v___x_14612_; -v___x_14612_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4___redArg(v_n_14609_, v_k_14610_, v_v_14611_); -return v___x_14612_; +lean_object* v___x_14615_; +v___x_14615_ = l_Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4___redArg(v_n_14612_, v_k_14613_, v_v_14614_); +return v___x_14615_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5(lean_object* v_00_u03b2_14613_, size_t v_depth_14614_, lean_object* v_keys_14615_, lean_object* v_vals_14616_, lean_object* v_heq_14617_, lean_object* v_i_14618_, lean_object* v_entries_14619_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5(lean_object* v_00_u03b2_14616_, size_t v_depth_14617_, lean_object* v_keys_14618_, lean_object* v_vals_14619_, lean_object* v_heq_14620_, lean_object* v_i_14621_, lean_object* v_entries_14622_){ _start: { -lean_object* v___x_14620_; -v___x_14620_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5___redArg(v_depth_14614_, v_keys_14615_, v_vals_14616_, v_i_14618_, v_entries_14619_); -return v___x_14620_; +lean_object* v___x_14623_; +v___x_14623_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5___redArg(v_depth_14617_, v_keys_14618_, v_vals_14619_, v_i_14621_, v_entries_14622_); +return v___x_14623_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5___boxed(lean_object* v_00_u03b2_14621_, lean_object* v_depth_14622_, lean_object* v_keys_14623_, lean_object* v_vals_14624_, lean_object* v_heq_14625_, lean_object* v_i_14626_, lean_object* v_entries_14627_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5___boxed(lean_object* v_00_u03b2_14624_, lean_object* v_depth_14625_, lean_object* v_keys_14626_, lean_object* v_vals_14627_, lean_object* v_heq_14628_, lean_object* v_i_14629_, lean_object* v_entries_14630_){ _start: { -size_t v_depth_boxed_14628_; lean_object* v_res_14629_; -v_depth_boxed_14628_ = lean_unbox_usize(v_depth_14622_); -lean_dec(v_depth_14622_); -v_res_14629_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5(v_00_u03b2_14621_, v_depth_boxed_14628_, v_keys_14623_, v_vals_14624_, v_heq_14625_, v_i_14626_, v_entries_14627_); -lean_dec_ref(v_vals_14624_); -lean_dec_ref(v_keys_14623_); -return v_res_14629_; +size_t v_depth_boxed_14631_; lean_object* v_res_14632_; +v_depth_boxed_14631_ = lean_unbox_usize(v_depth_14625_); +lean_dec(v_depth_14625_); +v_res_14632_ = l___private_Lean_Data_PersistentHashMap_0__Lean_PersistentHashMap_insertAux_traverse___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__5(v_00_u03b2_14624_, v_depth_boxed_14631_, v_keys_14626_, v_vals_14627_, v_heq_14628_, v_i_14629_, v_entries_14630_); +lean_dec_ref(v_vals_14627_); +lean_dec_ref(v_keys_14626_); +return v_res_14632_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8(lean_object* v_00_u03b2_14630_, lean_object* v_keys_14631_, lean_object* v_vals_14632_, lean_object* v_heq_14633_, lean_object* v_i_14634_, lean_object* v_k_14635_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8(lean_object* v_00_u03b2_14633_, lean_object* v_keys_14634_, lean_object* v_vals_14635_, lean_object* v_heq_14636_, lean_object* v_i_14637_, lean_object* v_k_14638_){ _start: { -lean_object* v___x_14636_; -v___x_14636_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_keys_14631_, v_vals_14632_, v_i_14634_, v_k_14635_); -return v___x_14636_; +lean_object* v___x_14639_; +v___x_14639_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___redArg(v_keys_14634_, v_vals_14635_, v_i_14637_, v_k_14638_); +return v___x_14639_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___boxed(lean_object* v_00_u03b2_14637_, lean_object* v_keys_14638_, lean_object* v_vals_14639_, lean_object* v_heq_14640_, lean_object* v_i_14641_, lean_object* v_k_14642_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8___boxed(lean_object* v_00_u03b2_14640_, lean_object* v_keys_14641_, lean_object* v_vals_14642_, lean_object* v_heq_14643_, lean_object* v_i_14644_, lean_object* v_k_14645_){ _start: { -lean_object* v_res_14643_; -v_res_14643_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8(v_00_u03b2_14637_, v_keys_14638_, v_vals_14639_, v_heq_14640_, v_i_14641_, v_k_14642_); -lean_dec_ref(v_k_14642_); -lean_dec_ref(v_vals_14639_); -lean_dec_ref(v_keys_14638_); -return v_res_14643_; +lean_object* v_res_14646_; +v_res_14646_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__4_spec__5_spec__8(v_00_u03b2_14640_, v_keys_14641_, v_vals_14642_, v_heq_14643_, v_i_14644_, v_k_14645_); +lean_dec_ref(v_k_14645_); +lean_dec_ref(v_vals_14642_); +lean_dec_ref(v_keys_14641_); +return v_res_14646_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4_spec__6(lean_object* v_00_u03b2_14644_, lean_object* v_x_14645_, lean_object* v_x_14646_, lean_object* v_x_14647_, lean_object* v_x_14648_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4_spec__6(lean_object* v_00_u03b2_14647_, lean_object* v_x_14648_, lean_object* v_x_14649_, lean_object* v_x_14650_, lean_object* v_x_14651_){ _start: { -lean_object* v___x_14649_; -v___x_14649_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4_spec__6___redArg(v_x_14645_, v_x_14646_, v_x_14647_, v_x_14648_); -return v___x_14649_; -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_numDiscrs(lean_object* v_m_14650_){ -_start: -{ -lean_object* v_discrInfos_14651_; lean_object* v___x_14652_; -v_discrInfos_14651_ = lean_ctor_get(v_m_14650_, 2); -v___x_14652_ = lean_array_get_size(v_discrInfos_14651_); +lean_object* v___x_14652_; +v___x_14652_ = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at___00Lean_PersistentHashMap_insertAtCollisionNode___at___00Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_mkMatcherAuxDefinition_spec__0_spec__0_spec__4_spec__6___redArg(v_x_14648_, v_x_14649_, v_x_14650_, v_x_14651_); return v___x_14652_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_numDiscrs___boxed(lean_object* v_m_14653_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_numDiscrs(lean_object* v_m_14653_){ _start: { -lean_object* v_res_14654_; -v_res_14654_ = l_Lean_Meta_Match_MkMatcherInput_numDiscrs(v_m_14653_); -lean_dec_ref(v_m_14653_); -return v_res_14654_; +lean_object* v_discrInfos_14654_; lean_object* v___x_14655_; +v_discrInfos_14654_ = lean_ctor_get(v_m_14653_, 2); +v___x_14655_ = lean_array_get_size(v_discrInfos_14654_); +return v___x_14655_; } } -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(lean_object* v_as_14655_, lean_object* v___y_14656_, lean_object* v___y_14657_, lean_object* v___y_14658_, lean_object* v___y_14659_, lean_object* v___y_14660_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_numDiscrs___boxed(lean_object* v_m_14656_){ _start: { -if (lean_obj_tag(v_as_14655_) == 0) +lean_object* v_res_14657_; +v_res_14657_ = l_Lean_Meta_Match_MkMatcherInput_numDiscrs(v_m_14656_); +lean_dec_ref(v_m_14656_); +return v_res_14657_; +} +} +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(lean_object* v_as_14658_, lean_object* v___y_14659_, lean_object* v___y_14660_, lean_object* v___y_14661_, lean_object* v___y_14662_, lean_object* v___y_14663_){ +_start: { -lean_object* v___x_14662_; lean_object* v___x_14663_; -v___x_14662_ = lean_box(0); -v___x_14663_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_14663_, 0, v___x_14662_); -return v___x_14663_; +if (lean_obj_tag(v_as_14658_) == 0) +{ +lean_object* v___x_14665_; lean_object* v___x_14666_; +v___x_14665_ = lean_box(0); +v___x_14666_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_14666_, 0, v___x_14665_); +return v___x_14666_; } else { -lean_object* v_head_14664_; lean_object* v_tail_14665_; lean_object* v___x_14666_; -v_head_14664_ = lean_ctor_get(v_as_14655_, 0); -lean_inc(v_head_14664_); -v_tail_14665_ = lean_ctor_get(v_as_14655_, 1); -lean_inc(v_tail_14665_); -lean_dec_ref(v_as_14655_); -v___x_14666_ = l_Lean_Meta_Match_AltLHS_collectFVars(v_head_14664_, v___y_14656_, v___y_14657_, v___y_14658_, v___y_14659_, v___y_14660_); -if (lean_obj_tag(v___x_14666_) == 0) +lean_object* v_head_14667_; lean_object* v_tail_14668_; lean_object* v___x_14669_; +v_head_14667_ = lean_ctor_get(v_as_14658_, 0); +lean_inc(v_head_14667_); +v_tail_14668_ = lean_ctor_get(v_as_14658_, 1); +lean_inc(v_tail_14668_); +lean_dec_ref(v_as_14658_); +v___x_14669_ = l_Lean_Meta_Match_AltLHS_collectFVars(v_head_14667_, v___y_14659_, v___y_14660_, v___y_14661_, v___y_14662_, v___y_14663_); +if (lean_obj_tag(v___x_14669_) == 0) { -lean_dec_ref(v___x_14666_); -v_as_14655_ = v_tail_14665_; +lean_dec_ref(v___x_14669_); +v_as_14658_ = v_tail_14668_; goto _start; } else { -lean_dec(v_tail_14665_); -return v___x_14666_; +lean_dec(v_tail_14668_); +return v___x_14669_; } } } } -LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0___boxed(lean_object* v_as_14668_, lean_object* v___y_14669_, lean_object* v___y_14670_, lean_object* v___y_14671_, lean_object* v___y_14672_, lean_object* v___y_14673_, lean_object* v___y_14674_){ +LEAN_EXPORT lean_object* l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0___boxed(lean_object* v_as_14671_, lean_object* v___y_14672_, lean_object* v___y_14673_, lean_object* v___y_14674_, lean_object* v___y_14675_, lean_object* v___y_14676_, lean_object* v___y_14677_){ _start: { -lean_object* v_res_14675_; -v_res_14675_ = l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(v_as_14668_, v___y_14669_, v___y_14670_, v___y_14671_, v___y_14672_, v___y_14673_); -lean_dec(v___y_14673_); -lean_dec_ref(v___y_14672_); -lean_dec(v___y_14671_); -lean_dec_ref(v___y_14670_); -lean_dec(v___y_14669_); -return v_res_14675_; +lean_object* v_res_14678_; +v_res_14678_ = l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(v_as_14671_, v___y_14672_, v___y_14673_, v___y_14674_, v___y_14675_, v___y_14676_); +lean_dec(v___y_14676_); +lean_dec_ref(v___y_14675_); +lean_dec(v___y_14674_); +lean_dec_ref(v___y_14673_); +lean_dec(v___y_14672_); +return v_res_14678_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectFVars(lean_object* v_m_14676_, lean_object* v_a_14677_, lean_object* v_a_14678_, lean_object* v_a_14679_, lean_object* v_a_14680_, lean_object* v_a_14681_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectFVars(lean_object* v_m_14679_, lean_object* v_a_14680_, lean_object* v_a_14681_, lean_object* v_a_14682_, lean_object* v_a_14683_, lean_object* v_a_14684_){ _start: { -lean_object* v_matchType_14683_; lean_object* v_lhss_14684_; lean_object* v___x_14685_; -v_matchType_14683_ = lean_ctor_get(v_m_14676_, 1); -lean_inc_ref(v_matchType_14683_); -v_lhss_14684_ = lean_ctor_get(v_m_14676_, 3); -lean_inc(v_lhss_14684_); -lean_dec_ref(v_m_14676_); -v___x_14685_ = l_Lean_Expr_collectFVars(v_matchType_14683_, v_a_14677_, v_a_14678_, v_a_14679_, v_a_14680_, v_a_14681_); -if (lean_obj_tag(v___x_14685_) == 0) +lean_object* v_matchType_14686_; lean_object* v_lhss_14687_; lean_object* v___x_14688_; +v_matchType_14686_ = lean_ctor_get(v_m_14679_, 1); +lean_inc_ref(v_matchType_14686_); +v_lhss_14687_ = lean_ctor_get(v_m_14679_, 3); +lean_inc(v_lhss_14687_); +lean_dec_ref(v_m_14679_); +v___x_14688_ = l_Lean_Expr_collectFVars(v_matchType_14686_, v_a_14680_, v_a_14681_, v_a_14682_, v_a_14683_, v_a_14684_); +if (lean_obj_tag(v___x_14688_) == 0) { -lean_object* v___x_14686_; -lean_dec_ref(v___x_14685_); -v___x_14686_ = l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(v_lhss_14684_, v_a_14677_, v_a_14678_, v_a_14679_, v_a_14680_, v_a_14681_); -return v___x_14686_; +lean_object* v___x_14689_; +lean_dec_ref(v___x_14688_); +v___x_14689_ = l_List_forM___at___00Lean_Meta_Match_MkMatcherInput_collectFVars_spec__0(v_lhss_14687_, v_a_14680_, v_a_14681_, v_a_14682_, v_a_14683_, v_a_14684_); +return v___x_14689_; } else { -lean_dec(v_lhss_14684_); -return v___x_14685_; +lean_dec(v_lhss_14687_); +return v___x_14688_; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectFVars___boxed(lean_object* v_m_14687_, lean_object* v_a_14688_, lean_object* v_a_14689_, lean_object* v_a_14690_, lean_object* v_a_14691_, lean_object* v_a_14692_, lean_object* v_a_14693_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectFVars___boxed(lean_object* v_m_14690_, lean_object* v_a_14691_, lean_object* v_a_14692_, lean_object* v_a_14693_, lean_object* v_a_14694_, lean_object* v_a_14695_, lean_object* v_a_14696_){ _start: { -lean_object* v_res_14694_; -v_res_14694_ = l_Lean_Meta_Match_MkMatcherInput_collectFVars(v_m_14687_, v_a_14688_, v_a_14689_, v_a_14690_, v_a_14691_, v_a_14692_); -lean_dec(v_a_14692_); -lean_dec_ref(v_a_14691_); -lean_dec(v_a_14690_); -lean_dec_ref(v_a_14689_); -lean_dec(v_a_14688_); -return v_res_14694_; +lean_object* v_res_14697_; +v_res_14697_ = l_Lean_Meta_Match_MkMatcherInput_collectFVars(v_m_14690_, v_a_14691_, v_a_14692_, v_a_14693_, v_a_14694_, v_a_14695_); +lean_dec(v_a_14695_); +lean_dec_ref(v_a_14694_); +lean_dec(v_a_14693_); +lean_dec_ref(v_a_14692_); +lean_dec(v_a_14691_); +return v_res_14697_; } } static lean_object* _init_l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0(void){ _start: { -lean_object* v___x_14695_; lean_object* v___x_14696_; lean_object* v___x_14697_; lean_object* v___x_14698_; -v___x_14695_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectCtors___closed__0)); -v___x_14696_ = lean_box(1); -v___x_14697_ = lean_obj_once(&l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2, &l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2_once, _init_l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2); -v___x_14698_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_14698_, 0, v___x_14697_); -lean_ctor_set(v___x_14698_, 1, v___x_14696_); -lean_ctor_set(v___x_14698_, 2, v___x_14695_); -return v___x_14698_; +lean_object* v___x_14698_; lean_object* v___x_14699_; lean_object* v___x_14700_; lean_object* v___x_14701_; +v___x_14698_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_collectCtors___closed__0)); +v___x_14699_ = lean_box(1); +v___x_14700_ = lean_obj_once(&l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2, &l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2_once, _init_l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg___closed__2); +v___x_14701_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_14701_, 0, v___x_14700_); +lean_ctor_set(v___x_14701_, 1, v___x_14699_); +lean_ctor_set(v___x_14701_, 2, v___x_14698_); +return v___x_14701_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies(lean_object* v_m_14699_, lean_object* v_a_14700_, lean_object* v_a_14701_, lean_object* v_a_14702_, lean_object* v_a_14703_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies(lean_object* v_m_14702_, lean_object* v_a_14703_, lean_object* v_a_14704_, lean_object* v_a_14705_, lean_object* v_a_14706_){ _start: { -lean_object* v___x_14705_; lean_object* v___x_14706_; lean_object* v___x_14707_; -v___x_14705_ = lean_obj_once(&l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0, &l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0_once, _init_l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0); -v___x_14706_ = lean_st_mk_ref(v___x_14705_); -v___x_14707_ = l_Lean_Meta_Match_MkMatcherInput_collectFVars(v_m_14699_, v___x_14706_, v_a_14700_, v_a_14701_, v_a_14702_, v_a_14703_); -if (lean_obj_tag(v___x_14707_) == 0) +lean_object* v___x_14708_; lean_object* v___x_14709_; lean_object* v___x_14710_; +v___x_14708_ = lean_obj_once(&l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0, &l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0_once, _init_l_Lean_Meta_Match_MkMatcherInput_collectDependencies___closed__0); +v___x_14709_ = lean_st_mk_ref(v___x_14708_); +v___x_14710_ = l_Lean_Meta_Match_MkMatcherInput_collectFVars(v_m_14702_, v___x_14709_, v_a_14703_, v_a_14704_, v_a_14705_, v_a_14706_); +if (lean_obj_tag(v___x_14710_) == 0) { -lean_object* v___x_14708_; lean_object* v___x_14709_; -lean_dec_ref(v___x_14707_); -v___x_14708_ = lean_st_ref_get(v___x_14706_); -lean_dec(v___x_14706_); -v___x_14709_ = l_Lean_CollectFVars_State_addDependencies(v___x_14708_, v_a_14700_, v_a_14701_, v_a_14702_, v_a_14703_); -if (lean_obj_tag(v___x_14709_) == 0) -{ -lean_object* v_a_14710_; lean_object* v___x_14712_; uint8_t v_isShared_14713_; uint8_t v_isSharedCheck_14718_; -v_a_14710_ = lean_ctor_get(v___x_14709_, 0); -v_isSharedCheck_14718_ = !lean_is_exclusive(v___x_14709_); -if (v_isSharedCheck_14718_ == 0) -{ -v___x_14712_ = v___x_14709_; -v_isShared_14713_ = v_isSharedCheck_14718_; -goto v_resetjp_14711_; -} -else -{ -lean_inc(v_a_14710_); +lean_object* v___x_14711_; lean_object* v___x_14712_; +lean_dec_ref(v___x_14710_); +v___x_14711_ = lean_st_ref_get(v___x_14709_); lean_dec(v___x_14709_); -v___x_14712_ = lean_box(0); -v_isShared_14713_ = v_isSharedCheck_14718_; -goto v_resetjp_14711_; -} -v_resetjp_14711_: +v___x_14712_ = l_Lean_CollectFVars_State_addDependencies(v___x_14711_, v_a_14703_, v_a_14704_, v_a_14705_, v_a_14706_); +if (lean_obj_tag(v___x_14712_) == 0) { -lean_object* v_fvarSet_14714_; lean_object* v___x_14716_; -v_fvarSet_14714_ = lean_ctor_get(v_a_14710_, 1); -lean_inc(v_fvarSet_14714_); -lean_dec(v_a_14710_); -if (v_isShared_14713_ == 0) +lean_object* v_a_14713_; lean_object* v___x_14715_; uint8_t v_isShared_14716_; uint8_t v_isSharedCheck_14721_; +v_a_14713_ = lean_ctor_get(v___x_14712_, 0); +v_isSharedCheck_14721_ = !lean_is_exclusive(v___x_14712_); +if (v_isSharedCheck_14721_ == 0) { -lean_ctor_set(v___x_14712_, 0, v_fvarSet_14714_); -v___x_14716_ = v___x_14712_; -goto v_reusejp_14715_; +v___x_14715_ = v___x_14712_; +v_isShared_14716_ = v_isSharedCheck_14721_; +goto v_resetjp_14714_; } else { -lean_object* v_reuseFailAlloc_14717_; -v_reuseFailAlloc_14717_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14717_, 0, v_fvarSet_14714_); -v___x_14716_ = v_reuseFailAlloc_14717_; -goto v_reusejp_14715_; +lean_inc(v_a_14713_); +lean_dec(v___x_14712_); +v___x_14715_ = lean_box(0); +v_isShared_14716_ = v_isSharedCheck_14721_; +goto v_resetjp_14714_; } -v_reusejp_14715_: +v_resetjp_14714_: { -return v___x_14716_; +lean_object* v_fvarSet_14717_; lean_object* v___x_14719_; +v_fvarSet_14717_ = lean_ctor_get(v_a_14713_, 1); +lean_inc(v_fvarSet_14717_); +lean_dec(v_a_14713_); +if (v_isShared_14716_ == 0) +{ +lean_ctor_set(v___x_14715_, 0, v_fvarSet_14717_); +v___x_14719_ = v___x_14715_; +goto v_reusejp_14718_; +} +else +{ +lean_object* v_reuseFailAlloc_14720_; +v_reuseFailAlloc_14720_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14720_, 0, v_fvarSet_14717_); +v___x_14719_ = v_reuseFailAlloc_14720_; +goto v_reusejp_14718_; +} +v_reusejp_14718_: +{ +return v___x_14719_; } } } else { -lean_object* v_a_14719_; lean_object* v___x_14721_; uint8_t v_isShared_14722_; uint8_t v_isSharedCheck_14726_; -v_a_14719_ = lean_ctor_get(v___x_14709_, 0); -v_isSharedCheck_14726_ = !lean_is_exclusive(v___x_14709_); -if (v_isSharedCheck_14726_ == 0) +lean_object* v_a_14722_; lean_object* v___x_14724_; uint8_t v_isShared_14725_; uint8_t v_isSharedCheck_14729_; +v_a_14722_ = lean_ctor_get(v___x_14712_, 0); +v_isSharedCheck_14729_ = !lean_is_exclusive(v___x_14712_); +if (v_isSharedCheck_14729_ == 0) { -v___x_14721_ = v___x_14709_; -v_isShared_14722_ = v_isSharedCheck_14726_; -goto v_resetjp_14720_; +v___x_14724_ = v___x_14712_; +v_isShared_14725_ = v_isSharedCheck_14729_; +goto v_resetjp_14723_; } else { -lean_inc(v_a_14719_); +lean_inc(v_a_14722_); +lean_dec(v___x_14712_); +v___x_14724_ = lean_box(0); +v_isShared_14725_ = v_isSharedCheck_14729_; +goto v_resetjp_14723_; +} +v_resetjp_14723_: +{ +lean_object* v___x_14727_; +if (v_isShared_14725_ == 0) +{ +v___x_14727_ = v___x_14724_; +goto v_reusejp_14726_; +} +else +{ +lean_object* v_reuseFailAlloc_14728_; +v_reuseFailAlloc_14728_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14728_, 0, v_a_14722_); +v___x_14727_ = v_reuseFailAlloc_14728_; +goto v_reusejp_14726_; +} +v_reusejp_14726_: +{ +return v___x_14727_; +} +} +} +} +else +{ +lean_object* v_a_14730_; lean_object* v___x_14732_; uint8_t v_isShared_14733_; uint8_t v_isSharedCheck_14737_; lean_dec(v___x_14709_); -v___x_14721_ = lean_box(0); -v_isShared_14722_ = v_isSharedCheck_14726_; -goto v_resetjp_14720_; -} -v_resetjp_14720_: +lean_dec_ref(v_a_14703_); +v_a_14730_ = lean_ctor_get(v___x_14710_, 0); +v_isSharedCheck_14737_ = !lean_is_exclusive(v___x_14710_); +if (v_isSharedCheck_14737_ == 0) { -lean_object* v___x_14724_; -if (v_isShared_14722_ == 0) -{ -v___x_14724_ = v___x_14721_; -goto v_reusejp_14723_; +v___x_14732_ = v___x_14710_; +v_isShared_14733_ = v_isSharedCheck_14737_; +goto v_resetjp_14731_; } else { -lean_object* v_reuseFailAlloc_14725_; -v_reuseFailAlloc_14725_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14725_, 0, v_a_14719_); -v___x_14724_ = v_reuseFailAlloc_14725_; -goto v_reusejp_14723_; +lean_inc(v_a_14730_); +lean_dec(v___x_14710_); +v___x_14732_ = lean_box(0); +v_isShared_14733_ = v_isSharedCheck_14737_; +goto v_resetjp_14731_; } -v_reusejp_14723_: +v_resetjp_14731_: { -return v___x_14724_; -} -} -} +lean_object* v___x_14735_; +if (v_isShared_14733_ == 0) +{ +v___x_14735_ = v___x_14732_; +goto v_reusejp_14734_; } else { -lean_object* v_a_14727_; lean_object* v___x_14729_; uint8_t v_isShared_14730_; uint8_t v_isSharedCheck_14734_; -lean_dec(v___x_14706_); -lean_dec_ref(v_a_14700_); -v_a_14727_ = lean_ctor_get(v___x_14707_, 0); -v_isSharedCheck_14734_ = !lean_is_exclusive(v___x_14707_); -if (v_isSharedCheck_14734_ == 0) +lean_object* v_reuseFailAlloc_14736_; +v_reuseFailAlloc_14736_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14736_, 0, v_a_14730_); +v___x_14735_ = v_reuseFailAlloc_14736_; +goto v_reusejp_14734_; +} +v_reusejp_14734_: { -v___x_14729_ = v___x_14707_; -v_isShared_14730_ = v_isSharedCheck_14734_; -goto v_resetjp_14728_; -} -else -{ -lean_inc(v_a_14727_); -lean_dec(v___x_14707_); -v___x_14729_ = lean_box(0); -v_isShared_14730_ = v_isSharedCheck_14734_; -goto v_resetjp_14728_; -} -v_resetjp_14728_: -{ -lean_object* v___x_14732_; -if (v_isShared_14730_ == 0) -{ -v___x_14732_ = v___x_14729_; -goto v_reusejp_14731_; -} -else -{ -lean_object* v_reuseFailAlloc_14733_; -v_reuseFailAlloc_14733_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14733_, 0, v_a_14727_); -v___x_14732_ = v_reuseFailAlloc_14733_; -goto v_reusejp_14731_; -} -v_reusejp_14731_: -{ -return v___x_14732_; +return v___x_14735_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies___boxed(lean_object* v_m_14735_, lean_object* v_a_14736_, lean_object* v_a_14737_, lean_object* v_a_14738_, lean_object* v_a_14739_, lean_object* v_a_14740_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_MkMatcherInput_collectDependencies___boxed(lean_object* v_m_14738_, lean_object* v_a_14739_, lean_object* v_a_14740_, lean_object* v_a_14741_, lean_object* v_a_14742_, lean_object* v_a_14743_){ _start: { -lean_object* v_res_14741_; -v_res_14741_ = l_Lean_Meta_Match_MkMatcherInput_collectDependencies(v_m_14735_, v_a_14736_, v_a_14737_, v_a_14738_, v_a_14739_); -lean_dec(v_a_14739_); -lean_dec_ref(v_a_14738_); -lean_dec(v_a_14737_); -return v_res_14741_; +lean_object* v_res_14744_; +v_res_14744_ = l_Lean_Meta_Match_MkMatcherInput_collectDependencies(v_m_14738_, v_a_14739_, v_a_14740_, v_a_14741_, v_a_14742_); +lean_dec(v_a_14742_); +lean_dec_ref(v_a_14741_); +lean_dec(v_a_14740_); +return v_res_14744_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(lean_object* v_lctx_14742_, lean_object* v_localInsts_14743_, lean_object* v_x_14744_, lean_object* v___y_14745_, lean_object* v___y_14746_, lean_object* v___y_14747_, lean_object* v___y_14748_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(lean_object* v_lctx_14745_, lean_object* v_localInsts_14746_, lean_object* v_x_14747_, lean_object* v___y_14748_, lean_object* v___y_14749_, lean_object* v___y_14750_, lean_object* v___y_14751_){ _start: { -lean_object* v___x_14750_; -v___x_14750_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_box(0), v_lctx_14742_, v_localInsts_14743_, v_x_14744_, v___y_14745_, v___y_14746_, v___y_14747_, v___y_14748_); -if (lean_obj_tag(v___x_14750_) == 0) +lean_object* v___x_14753_; +v___x_14753_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalContextImp(lean_box(0), v_lctx_14745_, v_localInsts_14746_, v_x_14747_, v___y_14748_, v___y_14749_, v___y_14750_, v___y_14751_); +if (lean_obj_tag(v___x_14753_) == 0) { -lean_object* v_a_14751_; lean_object* v___x_14753_; uint8_t v_isShared_14754_; uint8_t v_isSharedCheck_14758_; -v_a_14751_ = lean_ctor_get(v___x_14750_, 0); -v_isSharedCheck_14758_ = !lean_is_exclusive(v___x_14750_); -if (v_isSharedCheck_14758_ == 0) -{ -v___x_14753_ = v___x_14750_; -v_isShared_14754_ = v_isSharedCheck_14758_; -goto v_resetjp_14752_; -} -else -{ -lean_inc(v_a_14751_); -lean_dec(v___x_14750_); -v___x_14753_ = lean_box(0); -v_isShared_14754_ = v_isSharedCheck_14758_; -goto v_resetjp_14752_; -} -v_resetjp_14752_: -{ -lean_object* v___x_14756_; -if (v_isShared_14754_ == 0) +lean_object* v_a_14754_; lean_object* v___x_14756_; uint8_t v_isShared_14757_; uint8_t v_isSharedCheck_14761_; +v_a_14754_ = lean_ctor_get(v___x_14753_, 0); +v_isSharedCheck_14761_ = !lean_is_exclusive(v___x_14753_); +if (v_isSharedCheck_14761_ == 0) { v___x_14756_ = v___x_14753_; -goto v_reusejp_14755_; +v_isShared_14757_ = v_isSharedCheck_14761_; +goto v_resetjp_14755_; } else { -lean_object* v_reuseFailAlloc_14757_; -v_reuseFailAlloc_14757_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14757_, 0, v_a_14751_); -v___x_14756_ = v_reuseFailAlloc_14757_; -goto v_reusejp_14755_; +lean_inc(v_a_14754_); +lean_dec(v___x_14753_); +v___x_14756_ = lean_box(0); +v_isShared_14757_ = v_isSharedCheck_14761_; +goto v_resetjp_14755_; } -v_reusejp_14755_: +v_resetjp_14755_: { -return v___x_14756_; +lean_object* v___x_14759_; +if (v_isShared_14757_ == 0) +{ +v___x_14759_ = v___x_14756_; +goto v_reusejp_14758_; +} +else +{ +lean_object* v_reuseFailAlloc_14760_; +v_reuseFailAlloc_14760_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14760_, 0, v_a_14754_); +v___x_14759_ = v_reuseFailAlloc_14760_; +goto v_reusejp_14758_; +} +v_reusejp_14758_: +{ +return v___x_14759_; } } } else { -lean_object* v_a_14759_; lean_object* v___x_14761_; uint8_t v_isShared_14762_; uint8_t v_isSharedCheck_14766_; -v_a_14759_ = lean_ctor_get(v___x_14750_, 0); -v_isSharedCheck_14766_ = !lean_is_exclusive(v___x_14750_); -if (v_isSharedCheck_14766_ == 0) +lean_object* v_a_14762_; lean_object* v___x_14764_; uint8_t v_isShared_14765_; uint8_t v_isSharedCheck_14769_; +v_a_14762_ = lean_ctor_get(v___x_14753_, 0); +v_isSharedCheck_14769_ = !lean_is_exclusive(v___x_14753_); +if (v_isSharedCheck_14769_ == 0) { -v___x_14761_ = v___x_14750_; -v_isShared_14762_ = v_isSharedCheck_14766_; -goto v_resetjp_14760_; +v___x_14764_ = v___x_14753_; +v_isShared_14765_ = v_isSharedCheck_14769_; +goto v_resetjp_14763_; } else { -lean_inc(v_a_14759_); -lean_dec(v___x_14750_); -v___x_14761_ = lean_box(0); -v_isShared_14762_ = v_isSharedCheck_14766_; -goto v_resetjp_14760_; +lean_inc(v_a_14762_); +lean_dec(v___x_14753_); +v___x_14764_ = lean_box(0); +v_isShared_14765_ = v_isSharedCheck_14769_; +goto v_resetjp_14763_; } -v_resetjp_14760_: +v_resetjp_14763_: { -lean_object* v___x_14764_; -if (v_isShared_14762_ == 0) +lean_object* v___x_14767_; +if (v_isShared_14765_ == 0) { -v___x_14764_ = v___x_14761_; -goto v_reusejp_14763_; +v___x_14767_ = v___x_14764_; +goto v_reusejp_14766_; } else { -lean_object* v_reuseFailAlloc_14765_; -v_reuseFailAlloc_14765_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14765_, 0, v_a_14759_); -v___x_14764_ = v_reuseFailAlloc_14765_; -goto v_reusejp_14763_; +lean_object* v_reuseFailAlloc_14768_; +v_reuseFailAlloc_14768_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14768_, 0, v_a_14762_); +v___x_14767_ = v_reuseFailAlloc_14768_; +goto v_reusejp_14766_; } -v_reusejp_14763_: +v_reusejp_14766_: { -return v___x_14764_; +return v___x_14767_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg___boxed(lean_object* v_lctx_14767_, lean_object* v_localInsts_14768_, lean_object* v_x_14769_, lean_object* v___y_14770_, lean_object* v___y_14771_, lean_object* v___y_14772_, lean_object* v___y_14773_, lean_object* v___y_14774_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg___boxed(lean_object* v_lctx_14770_, lean_object* v_localInsts_14771_, lean_object* v_x_14772_, lean_object* v___y_14773_, lean_object* v___y_14774_, lean_object* v___y_14775_, lean_object* v___y_14776_, lean_object* v___y_14777_){ _start: { -lean_object* v_res_14775_; -v_res_14775_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v_lctx_14767_, v_localInsts_14768_, v_x_14769_, v___y_14770_, v___y_14771_, v___y_14772_, v___y_14773_); -return v_res_14775_; +lean_object* v_res_14778_; +v_res_14778_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v_lctx_14770_, v_localInsts_14771_, v_x_14772_, v___y_14773_, v___y_14774_, v___y_14775_, v___y_14776_); +return v_res_14778_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2(lean_object* v_00_u03b1_14776_, lean_object* v_lctx_14777_, lean_object* v_localInsts_14778_, lean_object* v_x_14779_, lean_object* v___y_14780_, lean_object* v___y_14781_, lean_object* v___y_14782_, lean_object* v___y_14783_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2(lean_object* v_00_u03b1_14779_, lean_object* v_lctx_14780_, lean_object* v_localInsts_14781_, lean_object* v_x_14782_, lean_object* v___y_14783_, lean_object* v___y_14784_, lean_object* v___y_14785_, lean_object* v___y_14786_){ _start: { -lean_object* v___x_14785_; -v___x_14785_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v_lctx_14777_, v_localInsts_14778_, v_x_14779_, v___y_14780_, v___y_14781_, v___y_14782_, v___y_14783_); -return v___x_14785_; +lean_object* v___x_14788_; +v___x_14788_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v_lctx_14780_, v_localInsts_14781_, v_x_14782_, v___y_14783_, v___y_14784_, v___y_14785_, v___y_14786_); +return v___x_14788_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___boxed(lean_object* v_00_u03b1_14786_, lean_object* v_lctx_14787_, lean_object* v_localInsts_14788_, lean_object* v_x_14789_, lean_object* v___y_14790_, lean_object* v___y_14791_, lean_object* v___y_14792_, lean_object* v___y_14793_, lean_object* v___y_14794_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___boxed(lean_object* v_00_u03b1_14789_, lean_object* v_lctx_14790_, lean_object* v_localInsts_14791_, lean_object* v_x_14792_, lean_object* v___y_14793_, lean_object* v___y_14794_, lean_object* v___y_14795_, lean_object* v___y_14796_, lean_object* v___y_14797_){ _start: { -lean_object* v_res_14795_; -v_res_14795_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2(v_00_u03b1_14786_, v_lctx_14787_, v_localInsts_14788_, v_x_14789_, v___y_14790_, v___y_14791_, v___y_14792_, v___y_14793_); -return v_res_14795_; +lean_object* v_res_14798_; +v_res_14798_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2(v_00_u03b1_14789_, v_lctx_14790_, v_localInsts_14791_, v_x_14792_, v___y_14793_, v___y_14794_, v___y_14795_, v___y_14796_); +return v_res_14798_; } } -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(lean_object* v_k_14796_, lean_object* v_t_14797_){ +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(lean_object* v_k_14799_, lean_object* v_t_14800_){ _start: { -if (lean_obj_tag(v_t_14797_) == 0) +if (lean_obj_tag(v_t_14800_) == 0) { -lean_object* v_k_14798_; lean_object* v_l_14799_; lean_object* v_r_14800_; uint8_t v___x_14801_; -v_k_14798_ = lean_ctor_get(v_t_14797_, 1); -v_l_14799_ = lean_ctor_get(v_t_14797_, 3); -v_r_14800_ = lean_ctor_get(v_t_14797_, 4); -v___x_14801_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_14796_, v_k_14798_); -switch(v___x_14801_) +lean_object* v_k_14801_; lean_object* v_l_14802_; lean_object* v_r_14803_; uint8_t v___x_14804_; +v_k_14801_ = lean_ctor_get(v_t_14800_, 1); +v_l_14802_ = lean_ctor_get(v_t_14800_, 3); +v_r_14803_ = lean_ctor_get(v_t_14800_, 4); +v___x_14804_ = l___private_Lean_Data_Name_0__Lean_Name_quickCmpImpl(v_k_14799_, v_k_14801_); +switch(v___x_14804_) { case 0: { -v_t_14797_ = v_l_14799_; +v_t_14800_ = v_l_14802_; goto _start; } case 1: { -uint8_t v___x_14803_; -v___x_14803_ = 1; -return v___x_14803_; +uint8_t v___x_14806_; +v___x_14806_ = 1; +return v___x_14806_; } default: { -v_t_14797_ = v_r_14800_; +v_t_14800_ = v_r_14803_; goto _start; } } } else { -uint8_t v___x_14805_; -v___x_14805_ = 0; -return v___x_14805_; +uint8_t v___x_14808_; +v___x_14808_ = 0; +return v___x_14808_; } } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg___boxed(lean_object* v_k_14806_, lean_object* v_t_14807_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg___boxed(lean_object* v_k_14809_, lean_object* v_t_14810_){ _start: { -uint8_t v_res_14808_; lean_object* v_r_14809_; -v_res_14808_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v_k_14806_, v_t_14807_); -lean_dec(v_t_14807_); -lean_dec(v_k_14806_); -v_r_14809_ = lean_box(v_res_14808_); -return v_r_14809_; +uint8_t v_res_14811_; lean_object* v_r_14812_; +v_res_14811_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v_k_14809_, v_t_14810_); +lean_dec(v_t_14810_); +lean_dec(v_k_14809_); +v_r_14812_ = lean_box(v_res_14811_); +return v_r_14812_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(lean_object* v_a_14810_, lean_object* v_as_14811_, size_t v_i_14812_, size_t v_stop_14813_, lean_object* v_b_14814_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(lean_object* v_a_14813_, lean_object* v_as_14814_, size_t v_i_14815_, size_t v_stop_14816_, lean_object* v_b_14817_){ _start: { -lean_object* v___y_14816_; uint8_t v___x_14820_; -v___x_14820_ = lean_usize_dec_eq(v_i_14812_, v_stop_14813_); -if (v___x_14820_ == 0) +lean_object* v___y_14819_; uint8_t v___x_14823_; +v___x_14823_ = lean_usize_dec_eq(v_i_14815_, v_stop_14816_); +if (v___x_14823_ == 0) { -lean_object* v___x_14821_; lean_object* v_fvar_14822_; lean_object* v___x_14823_; uint8_t v___x_14824_; -v___x_14821_ = lean_array_uget_borrowed(v_as_14811_, v_i_14812_); -v_fvar_14822_ = lean_ctor_get(v___x_14821_, 1); -v___x_14823_ = l_Lean_Expr_fvarId_x21(v_fvar_14822_); -v___x_14824_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v___x_14823_, v_a_14810_); -lean_dec(v___x_14823_); -if (v___x_14824_ == 0) +lean_object* v___x_14824_; lean_object* v_fvar_14825_; lean_object* v___x_14826_; uint8_t v___x_14827_; +v___x_14824_ = lean_array_uget_borrowed(v_as_14814_, v_i_14815_); +v_fvar_14825_ = lean_ctor_get(v___x_14824_, 1); +v___x_14826_ = l_Lean_Expr_fvarId_x21(v_fvar_14825_); +v___x_14827_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v___x_14826_, v_a_14813_); +lean_dec(v___x_14826_); +if (v___x_14827_ == 0) { -v___y_14816_ = v_b_14814_; -goto v___jp_14815_; +v___y_14819_ = v_b_14817_; +goto v___jp_14818_; } else { -lean_object* v___x_14825_; -lean_inc(v___x_14821_); -v___x_14825_ = lean_array_push(v_b_14814_, v___x_14821_); -v___y_14816_ = v___x_14825_; -goto v___jp_14815_; +lean_object* v___x_14828_; +lean_inc(v___x_14824_); +v___x_14828_ = lean_array_push(v_b_14817_, v___x_14824_); +v___y_14819_ = v___x_14828_; +goto v___jp_14818_; } } else { -return v_b_14814_; +return v_b_14817_; } -v___jp_14815_: +v___jp_14818_: { -size_t v___x_14817_; size_t v___x_14818_; -v___x_14817_ = ((size_t)1ULL); -v___x_14818_ = lean_usize_add(v_i_14812_, v___x_14817_); -v_i_14812_ = v___x_14818_; -v_b_14814_ = v___y_14816_; +size_t v___x_14820_; size_t v___x_14821_; +v___x_14820_ = ((size_t)1ULL); +v___x_14821_ = lean_usize_add(v_i_14815_, v___x_14820_); +v_i_14815_ = v___x_14821_; +v_b_14817_ = v___y_14819_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3___boxed(lean_object* v_a_14826_, lean_object* v_as_14827_, lean_object* v_i_14828_, lean_object* v_stop_14829_, lean_object* v_b_14830_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3___boxed(lean_object* v_a_14829_, lean_object* v_as_14830_, lean_object* v_i_14831_, lean_object* v_stop_14832_, lean_object* v_b_14833_){ _start: { -size_t v_i_boxed_14831_; size_t v_stop_boxed_14832_; lean_object* v_res_14833_; -v_i_boxed_14831_ = lean_unbox_usize(v_i_14828_); -lean_dec(v_i_14828_); -v_stop_boxed_14832_ = lean_unbox_usize(v_stop_14829_); -lean_dec(v_stop_14829_); -v_res_14833_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14826_, v_as_14827_, v_i_boxed_14831_, v_stop_boxed_14832_, v_b_14830_); -lean_dec_ref(v_as_14827_); -lean_dec(v_a_14826_); -return v_res_14833_; +size_t v_i_boxed_14834_; size_t v_stop_boxed_14835_; lean_object* v_res_14836_; +v_i_boxed_14834_ = lean_unbox_usize(v_i_14831_); +lean_dec(v_i_14831_); +v_stop_boxed_14835_ = lean_unbox_usize(v_stop_14832_); +lean_dec(v_stop_14832_); +v_res_14836_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14829_, v_as_14830_, v_i_boxed_14834_, v_stop_boxed_14835_, v_b_14833_); +lean_dec_ref(v_as_14830_); +lean_dec(v_a_14829_); +return v_res_14836_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(lean_object* v_a_14834_, lean_object* v_as_14835_, size_t v_i_14836_, size_t v_stop_14837_, lean_object* v_b_14838_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(lean_object* v_a_14837_, lean_object* v_as_14838_, size_t v_i_14839_, size_t v_stop_14840_, lean_object* v_b_14841_){ _start: { -uint8_t v___x_14839_; -v___x_14839_ = lean_usize_dec_eq(v_i_14836_, v_stop_14837_); -if (v___x_14839_ == 0) +uint8_t v___x_14842_; +v___x_14842_ = lean_usize_dec_eq(v_i_14839_, v_stop_14840_); +if (v___x_14842_ == 0) { -size_t v___x_14840_; size_t v___x_14841_; lean_object* v___x_14842_; -v___x_14840_ = ((size_t)1ULL); -v___x_14841_ = lean_usize_sub(v_i_14836_, v___x_14840_); -v___x_14842_ = lean_array_uget_borrowed(v_as_14835_, v___x_14841_); -if (lean_obj_tag(v___x_14842_) == 0) +size_t v___x_14843_; size_t v___x_14844_; lean_object* v___x_14845_; +v___x_14843_ = ((size_t)1ULL); +v___x_14844_ = lean_usize_sub(v_i_14839_, v___x_14843_); +v___x_14845_ = lean_array_uget_borrowed(v_as_14838_, v___x_14844_); +if (lean_obj_tag(v___x_14845_) == 0) { -v_i_14836_ = v___x_14841_; +v_i_14839_ = v___x_14844_; goto _start; } else { -lean_object* v_val_14844_; lean_object* v___x_14845_; uint8_t v___x_14846_; -v_val_14844_ = lean_ctor_get(v___x_14842_, 0); -v___x_14845_ = l_Lean_LocalDecl_fvarId(v_val_14844_); -v___x_14846_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v___x_14845_, v_a_14834_); -if (v___x_14846_ == 0) +lean_object* v_val_14847_; lean_object* v___x_14848_; uint8_t v___x_14849_; +v_val_14847_ = lean_ctor_get(v___x_14845_, 0); +v___x_14848_ = l_Lean_LocalDecl_fvarId(v_val_14847_); +v___x_14849_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v___x_14848_, v_a_14837_); +if (v___x_14849_ == 0) { -lean_object* v___x_14847_; -v___x_14847_ = lean_local_ctx_erase(v_b_14838_, v___x_14845_); -v_i_14836_ = v___x_14841_; -v_b_14838_ = v___x_14847_; +lean_object* v___x_14850_; +v___x_14850_ = lean_local_ctx_erase(v_b_14841_, v___x_14848_); +v_i_14839_ = v___x_14844_; +v_b_14841_ = v___x_14850_; goto _start; } else { -lean_dec(v___x_14845_); -v_i_14836_ = v___x_14841_; +lean_dec(v___x_14848_); +v_i_14839_ = v___x_14844_; goto _start; } } } else { -return v_b_14838_; +return v_b_14841_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4___boxed(lean_object* v_a_14850_, lean_object* v_as_14851_, lean_object* v_i_14852_, lean_object* v_stop_14853_, lean_object* v_b_14854_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4___boxed(lean_object* v_a_14853_, lean_object* v_as_14854_, lean_object* v_i_14855_, lean_object* v_stop_14856_, lean_object* v_b_14857_){ _start: { -size_t v_i_boxed_14855_; size_t v_stop_boxed_14856_; lean_object* v_res_14857_; -v_i_boxed_14855_ = lean_unbox_usize(v_i_14852_); -lean_dec(v_i_14852_); -v_stop_boxed_14856_ = lean_unbox_usize(v_stop_14853_); -lean_dec(v_stop_14853_); -v_res_14857_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14850_, v_as_14851_, v_i_boxed_14855_, v_stop_boxed_14856_, v_b_14854_); -lean_dec_ref(v_as_14851_); -lean_dec(v_a_14850_); -return v_res_14857_; +size_t v_i_boxed_14858_; size_t v_stop_boxed_14859_; lean_object* v_res_14860_; +v_i_boxed_14858_ = lean_unbox_usize(v_i_14855_); +lean_dec(v_i_14855_); +v_stop_boxed_14859_ = lean_unbox_usize(v_stop_14856_); +lean_dec(v_stop_14856_); +v_res_14860_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14853_, v_as_14854_, v_i_boxed_14858_, v_stop_boxed_14859_, v_b_14857_); +lean_dec_ref(v_as_14854_); +lean_dec(v_a_14853_); +return v_res_14860_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(lean_object* v_a_14858_, lean_object* v_x_14859_, lean_object* v_x_14860_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(lean_object* v_a_14861_, lean_object* v_x_14862_, lean_object* v_x_14863_){ _start: { -if (lean_obj_tag(v_x_14859_) == 0) +if (lean_obj_tag(v_x_14862_) == 0) { -lean_object* v_cs_14861_; lean_object* v___x_14862_; lean_object* v___x_14863_; uint8_t v___x_14864_; -v_cs_14861_ = lean_ctor_get(v_x_14859_, 0); -v___x_14862_ = lean_array_get_size(v_cs_14861_); -v___x_14863_ = lean_unsigned_to_nat(0u); -v___x_14864_ = lean_nat_dec_lt(v___x_14863_, v___x_14862_); -if (v___x_14864_ == 0) +lean_object* v_cs_14864_; lean_object* v___x_14865_; lean_object* v___x_14866_; uint8_t v___x_14867_; +v_cs_14864_ = lean_ctor_get(v_x_14862_, 0); +v___x_14865_ = lean_array_get_size(v_cs_14864_); +v___x_14866_ = lean_unsigned_to_nat(0u); +v___x_14867_ = lean_nat_dec_lt(v___x_14866_, v___x_14865_); +if (v___x_14867_ == 0) { -return v_x_14860_; +return v_x_14863_; } else { -size_t v___x_14865_; size_t v___x_14866_; lean_object* v___x_14867_; -v___x_14865_ = lean_usize_of_nat(v___x_14862_); -v___x_14866_ = ((size_t)0ULL); -v___x_14867_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(v_a_14858_, v_cs_14861_, v___x_14865_, v___x_14866_, v_x_14860_); -return v___x_14867_; +size_t v___x_14868_; size_t v___x_14869_; lean_object* v___x_14870_; +v___x_14868_ = lean_usize_of_nat(v___x_14865_); +v___x_14869_ = ((size_t)0ULL); +v___x_14870_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(v_a_14861_, v_cs_14864_, v___x_14868_, v___x_14869_, v_x_14863_); +return v___x_14870_; } } else { -lean_object* v_vs_14868_; lean_object* v___x_14869_; lean_object* v___x_14870_; uint8_t v___x_14871_; -v_vs_14868_ = lean_ctor_get(v_x_14859_, 0); -v___x_14869_ = lean_array_get_size(v_vs_14868_); -v___x_14870_ = lean_unsigned_to_nat(0u); -v___x_14871_ = lean_nat_dec_lt(v___x_14870_, v___x_14869_); -if (v___x_14871_ == 0) +lean_object* v_vs_14871_; lean_object* v___x_14872_; lean_object* v___x_14873_; uint8_t v___x_14874_; +v_vs_14871_ = lean_ctor_get(v_x_14862_, 0); +v___x_14872_ = lean_array_get_size(v_vs_14871_); +v___x_14873_ = lean_unsigned_to_nat(0u); +v___x_14874_ = lean_nat_dec_lt(v___x_14873_, v___x_14872_); +if (v___x_14874_ == 0) { -return v_x_14860_; +return v_x_14863_; } else { -size_t v___x_14872_; size_t v___x_14873_; lean_object* v___x_14874_; -v___x_14872_ = lean_usize_of_nat(v___x_14869_); -v___x_14873_ = ((size_t)0ULL); -v___x_14874_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14858_, v_vs_14868_, v___x_14872_, v___x_14873_, v_x_14860_); -return v___x_14874_; +size_t v___x_14875_; size_t v___x_14876_; lean_object* v___x_14877_; +v___x_14875_ = lean_usize_of_nat(v___x_14872_); +v___x_14876_ = ((size_t)0ULL); +v___x_14877_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14861_, v_vs_14871_, v___x_14875_, v___x_14876_, v_x_14863_); +return v___x_14877_; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(lean_object* v_a_14875_, lean_object* v_as_14876_, size_t v_i_14877_, size_t v_stop_14878_, lean_object* v_b_14879_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(lean_object* v_a_14878_, lean_object* v_as_14879_, size_t v_i_14880_, size_t v_stop_14881_, lean_object* v_b_14882_){ _start: { -uint8_t v___x_14880_; -v___x_14880_ = lean_usize_dec_eq(v_i_14877_, v_stop_14878_); -if (v___x_14880_ == 0) +uint8_t v___x_14883_; +v___x_14883_ = lean_usize_dec_eq(v_i_14880_, v_stop_14881_); +if (v___x_14883_ == 0) { -size_t v___x_14881_; size_t v___x_14882_; lean_object* v___x_14883_; lean_object* v___x_14884_; -v___x_14881_ = ((size_t)1ULL); -v___x_14882_ = lean_usize_sub(v_i_14877_, v___x_14881_); -v___x_14883_ = lean_array_uget_borrowed(v_as_14876_, v___x_14882_); -v___x_14884_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14875_, v___x_14883_, v_b_14879_); -v_i_14877_ = v___x_14882_; -v_b_14879_ = v___x_14884_; +size_t v___x_14884_; size_t v___x_14885_; lean_object* v___x_14886_; lean_object* v___x_14887_; +v___x_14884_ = ((size_t)1ULL); +v___x_14885_ = lean_usize_sub(v_i_14880_, v___x_14884_); +v___x_14886_ = lean_array_uget_borrowed(v_as_14879_, v___x_14885_); +v___x_14887_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14878_, v___x_14886_, v_b_14882_); +v_i_14880_ = v___x_14885_; +v_b_14882_ = v___x_14887_; goto _start; } else { -return v_b_14879_; +return v_b_14882_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5___boxed(lean_object* v_a_14886_, lean_object* v_as_14887_, lean_object* v_i_14888_, lean_object* v_stop_14889_, lean_object* v_b_14890_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5___boxed(lean_object* v_a_14889_, lean_object* v_as_14890_, lean_object* v_i_14891_, lean_object* v_stop_14892_, lean_object* v_b_14893_){ _start: { -size_t v_i_boxed_14891_; size_t v_stop_boxed_14892_; lean_object* v_res_14893_; -v_i_boxed_14891_ = lean_unbox_usize(v_i_14888_); -lean_dec(v_i_14888_); -v_stop_boxed_14892_ = lean_unbox_usize(v_stop_14889_); -lean_dec(v_stop_14889_); -v_res_14893_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(v_a_14886_, v_as_14887_, v_i_boxed_14891_, v_stop_boxed_14892_, v_b_14890_); -lean_dec_ref(v_as_14887_); -lean_dec(v_a_14886_); -return v_res_14893_; +size_t v_i_boxed_14894_; size_t v_stop_boxed_14895_; lean_object* v_res_14896_; +v_i_boxed_14894_ = lean_unbox_usize(v_i_14891_); +lean_dec(v_i_14891_); +v_stop_boxed_14895_ = lean_unbox_usize(v_stop_14892_); +lean_dec(v_stop_14892_); +v_res_14896_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00__private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3_spec__5(v_a_14889_, v_as_14890_, v_i_boxed_14894_, v_stop_boxed_14895_, v_b_14893_); +lean_dec_ref(v_as_14890_); +lean_dec(v_a_14889_); +return v_res_14896_; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3___boxed(lean_object* v_a_14894_, lean_object* v_x_14895_, lean_object* v_x_14896_){ +LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3___boxed(lean_object* v_a_14897_, lean_object* v_x_14898_, lean_object* v_x_14899_){ _start: { -lean_object* v_res_14897_; -v_res_14897_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14894_, v_x_14895_, v_x_14896_); -lean_dec_ref(v_x_14895_); -lean_dec(v_a_14894_); -return v_res_14897_; +lean_object* v_res_14900_; +v_res_14900_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14897_, v_x_14898_, v_x_14899_); +lean_dec_ref(v_x_14898_); +lean_dec(v_a_14897_); +return v_res_14900_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(lean_object* v_a_14898_, lean_object* v_t_14899_, lean_object* v_init_14900_){ +LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(lean_object* v_a_14901_, lean_object* v_t_14902_, lean_object* v_init_14903_){ _start: { -lean_object* v_root_14901_; lean_object* v_tail_14902_; lean_object* v___x_14903_; lean_object* v___x_14904_; uint8_t v___x_14905_; -v_root_14901_ = lean_ctor_get(v_t_14899_, 0); -v_tail_14902_ = lean_ctor_get(v_t_14899_, 1); -v___x_14903_ = lean_array_get_size(v_tail_14902_); -v___x_14904_ = lean_unsigned_to_nat(0u); -v___x_14905_ = lean_nat_dec_lt(v___x_14904_, v___x_14903_); -if (v___x_14905_ == 0) +lean_object* v_root_14904_; lean_object* v_tail_14905_; lean_object* v___x_14906_; lean_object* v___x_14907_; uint8_t v___x_14908_; +v_root_14904_ = lean_ctor_get(v_t_14902_, 0); +v_tail_14905_ = lean_ctor_get(v_t_14902_, 1); +v___x_14906_ = lean_array_get_size(v_tail_14905_); +v___x_14907_ = lean_unsigned_to_nat(0u); +v___x_14908_ = lean_nat_dec_lt(v___x_14907_, v___x_14906_); +if (v___x_14908_ == 0) { -lean_object* v___x_14906_; -v___x_14906_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14898_, v_root_14901_, v_init_14900_); -return v___x_14906_; +lean_object* v___x_14909_; +v___x_14909_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14901_, v_root_14904_, v_init_14903_); +return v___x_14909_; } else { -size_t v___x_14907_; size_t v___x_14908_; lean_object* v___x_14909_; lean_object* v___x_14910_; -v___x_14907_ = lean_usize_of_nat(v___x_14903_); -v___x_14908_ = ((size_t)0ULL); -v___x_14909_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14898_, v_tail_14902_, v___x_14907_, v___x_14908_, v_init_14900_); -v___x_14910_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14898_, v_root_14901_, v___x_14909_); -return v___x_14910_; +size_t v___x_14910_; size_t v___x_14911_; lean_object* v___x_14912_; lean_object* v___x_14913_; +v___x_14910_ = lean_usize_of_nat(v___x_14906_); +v___x_14911_ = ((size_t)0ULL); +v___x_14912_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__4(v_a_14901_, v_tail_14905_, v___x_14910_, v___x_14911_, v_init_14903_); +v___x_14913_ = l___private_Lean_Data_PersistentArray_0__Lean_PersistentArray_foldrMAux___at___00Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1_spec__3(v_a_14901_, v_root_14904_, v___x_14912_); +return v___x_14913_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1___boxed(lean_object* v_a_14911_, lean_object* v_t_14912_, lean_object* v_init_14913_){ +LEAN_EXPORT lean_object* l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1___boxed(lean_object* v_a_14914_, lean_object* v_t_14915_, lean_object* v_init_14916_){ _start: { -lean_object* v_res_14914_; -v_res_14914_ = l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(v_a_14911_, v_t_14912_, v_init_14913_); -lean_dec_ref(v_t_14912_); -lean_dec(v_a_14911_); -return v_res_14914_; +lean_object* v_res_14917_; +v_res_14917_ = l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(v_a_14914_, v_t_14915_, v_init_14916_); +lean_dec_ref(v_t_14915_); +lean_dec(v_a_14914_); +return v_res_14917_; } } -LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(lean_object* v_a_14915_, lean_object* v_lctx_14916_, lean_object* v_init_14917_){ +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(lean_object* v_a_14918_, lean_object* v_lctx_14919_, lean_object* v_init_14920_){ _start: { -lean_object* v_decls_14918_; lean_object* v___x_14919_; -v_decls_14918_ = lean_ctor_get(v_lctx_14916_, 1); -v___x_14919_ = l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(v_a_14915_, v_decls_14918_, v_init_14917_); -return v___x_14919_; +lean_object* v_decls_14921_; lean_object* v___x_14922_; +v_decls_14921_ = lean_ctor_get(v_lctx_14919_, 1); +v___x_14922_ = l_Lean_PersistentArray_foldrM___at___00Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1_spec__1(v_a_14918_, v_decls_14921_, v_init_14920_); +return v___x_14922_; } } -LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1___boxed(lean_object* v_a_14920_, lean_object* v_lctx_14921_, lean_object* v_init_14922_){ +LEAN_EXPORT lean_object* l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1___boxed(lean_object* v_a_14923_, lean_object* v_lctx_14924_, lean_object* v_init_14925_){ _start: { -lean_object* v_res_14923_; -v_res_14923_ = l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(v_a_14920_, v_lctx_14921_, v_init_14922_); -lean_dec_ref(v_lctx_14921_); -lean_dec(v_a_14920_); -return v_res_14923_; +lean_object* v_res_14926_; +v_res_14926_ = l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(v_a_14923_, v_lctx_14924_, v_init_14925_); +lean_dec_ref(v_lctx_14924_); +lean_dec(v_a_14923_); +return v_res_14926_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___redArg(lean_object* v_m_14926_, lean_object* v_k_14927_, lean_object* v_a_14928_, lean_object* v_a_14929_, lean_object* v_a_14930_, lean_object* v_a_14931_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___redArg(lean_object* v_m_14929_, lean_object* v_k_14930_, lean_object* v_a_14931_, lean_object* v_a_14932_, lean_object* v_a_14933_, lean_object* v_a_14934_){ _start: { -lean_object* v___x_14933_; -lean_inc_ref(v_a_14928_); -v___x_14933_ = l_Lean_Meta_Match_MkMatcherInput_collectDependencies(v_m_14926_, v_a_14928_, v_a_14929_, v_a_14930_, v_a_14931_); -if (lean_obj_tag(v___x_14933_) == 0) +lean_object* v___x_14936_; +lean_inc_ref(v_a_14931_); +v___x_14936_ = l_Lean_Meta_Match_MkMatcherInput_collectDependencies(v_m_14929_, v_a_14931_, v_a_14932_, v_a_14933_, v_a_14934_); +if (lean_obj_tag(v___x_14936_) == 0) { -lean_object* v_a_14934_; lean_object* v_lctx_14935_; lean_object* v___x_14936_; lean_object* v___x_14937_; -v_a_14934_ = lean_ctor_get(v___x_14933_, 0); -lean_inc(v_a_14934_); -lean_dec_ref(v___x_14933_); -v_lctx_14935_ = lean_ctor_get(v_a_14928_, 2); -lean_inc_ref(v_lctx_14935_); -v___x_14936_ = l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(v_a_14934_, v_lctx_14935_, v_lctx_14935_); -v___x_14937_ = l_Lean_Meta_getLocalInstances___redArg(v_a_14928_); -if (lean_obj_tag(v___x_14937_) == 0) -{ -lean_object* v_a_14938_; lean_object* v___x_14939_; lean_object* v___x_14940_; lean_object* v___x_14941_; uint8_t v___x_14942_; -v_a_14938_ = lean_ctor_get(v___x_14937_, 0); -lean_inc(v_a_14938_); -lean_dec_ref(v___x_14937_); -v___x_14939_ = lean_unsigned_to_nat(0u); -v___x_14940_ = lean_array_get_size(v_a_14938_); -v___x_14941_ = ((lean_object*)(l_Lean_Meta_Match_withCleanLCtxFor___redArg___closed__0)); -v___x_14942_ = lean_nat_dec_lt(v___x_14939_, v___x_14940_); -if (v___x_14942_ == 0) -{ -lean_object* v___x_14943_; -lean_dec(v_a_14938_); -lean_dec(v_a_14934_); -v___x_14943_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14936_, v___x_14941_, v_k_14927_, v_a_14928_, v_a_14929_, v_a_14930_, v_a_14931_); -return v___x_14943_; -} -else -{ -uint8_t v___x_14944_; -v___x_14944_ = lean_nat_dec_le(v___x_14940_, v___x_14940_); -if (v___x_14944_ == 0) -{ -if (v___x_14942_ == 0) -{ -lean_object* v___x_14945_; -lean_dec(v_a_14938_); -lean_dec(v_a_14934_); -v___x_14945_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14936_, v___x_14941_, v_k_14927_, v_a_14928_, v_a_14929_, v_a_14930_, v_a_14931_); -return v___x_14945_; -} -else -{ -size_t v___x_14946_; size_t v___x_14947_; lean_object* v___x_14948_; lean_object* v___x_14949_; -v___x_14946_ = ((size_t)0ULL); -v___x_14947_ = lean_usize_of_nat(v___x_14940_); -v___x_14948_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14934_, v_a_14938_, v___x_14946_, v___x_14947_, v___x_14941_); -lean_dec(v_a_14938_); -lean_dec(v_a_14934_); -v___x_14949_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14936_, v___x_14948_, v_k_14927_, v_a_14928_, v_a_14929_, v_a_14930_, v_a_14931_); -return v___x_14949_; -} -} -else -{ -size_t v___x_14950_; size_t v___x_14951_; lean_object* v___x_14952_; lean_object* v___x_14953_; -v___x_14950_ = ((size_t)0ULL); -v___x_14951_ = lean_usize_of_nat(v___x_14940_); -v___x_14952_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14934_, v_a_14938_, v___x_14950_, v___x_14951_, v___x_14941_); -lean_dec(v_a_14938_); -lean_dec(v_a_14934_); -v___x_14953_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14936_, v___x_14952_, v_k_14927_, v_a_14928_, v_a_14929_, v_a_14930_, v_a_14931_); -return v___x_14953_; -} -} -} -else -{ -lean_object* v_a_14954_; lean_object* v___x_14956_; uint8_t v_isShared_14957_; uint8_t v_isSharedCheck_14961_; +lean_object* v_a_14937_; lean_object* v_lctx_14938_; lean_object* v___x_14939_; lean_object* v___x_14940_; +v_a_14937_ = lean_ctor_get(v___x_14936_, 0); +lean_inc(v_a_14937_); lean_dec_ref(v___x_14936_); +v_lctx_14938_ = lean_ctor_get(v_a_14931_, 2); +lean_inc_ref(v_lctx_14938_); +v___x_14939_ = l_Lean_LocalContext_foldrM___at___00Lean_Meta_Match_withCleanLCtxFor_spec__1(v_a_14937_, v_lctx_14938_, v_lctx_14938_); +v___x_14940_ = l_Lean_Meta_getLocalInstances___redArg(v_a_14931_); +if (lean_obj_tag(v___x_14940_) == 0) +{ +lean_object* v_a_14941_; lean_object* v___x_14942_; lean_object* v___x_14943_; lean_object* v___x_14944_; uint8_t v___x_14945_; +v_a_14941_ = lean_ctor_get(v___x_14940_, 0); +lean_inc(v_a_14941_); +lean_dec_ref(v___x_14940_); +v___x_14942_ = lean_unsigned_to_nat(0u); +v___x_14943_ = lean_array_get_size(v_a_14941_); +v___x_14944_ = ((lean_object*)(l_Lean_Meta_Match_withCleanLCtxFor___redArg___closed__0)); +v___x_14945_ = lean_nat_dec_lt(v___x_14942_, v___x_14943_); +if (v___x_14945_ == 0) +{ +lean_object* v___x_14946_; +lean_dec(v_a_14941_); +lean_dec(v_a_14937_); +v___x_14946_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14939_, v___x_14944_, v_k_14930_, v_a_14931_, v_a_14932_, v_a_14933_, v_a_14934_); +return v___x_14946_; +} +else +{ +uint8_t v___x_14947_; +v___x_14947_ = lean_nat_dec_le(v___x_14943_, v___x_14943_); +if (v___x_14947_ == 0) +{ +if (v___x_14945_ == 0) +{ +lean_object* v___x_14948_; +lean_dec(v_a_14941_); +lean_dec(v_a_14937_); +v___x_14948_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14939_, v___x_14944_, v_k_14930_, v_a_14931_, v_a_14932_, v_a_14933_, v_a_14934_); +return v___x_14948_; +} +else +{ +size_t v___x_14949_; size_t v___x_14950_; lean_object* v___x_14951_; lean_object* v___x_14952_; +v___x_14949_ = ((size_t)0ULL); +v___x_14950_ = lean_usize_of_nat(v___x_14943_); +v___x_14951_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14937_, v_a_14941_, v___x_14949_, v___x_14950_, v___x_14944_); +lean_dec(v_a_14941_); +lean_dec(v_a_14937_); +v___x_14952_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14939_, v___x_14951_, v_k_14930_, v_a_14931_, v_a_14932_, v_a_14933_, v_a_14934_); +return v___x_14952_; +} +} +else +{ +size_t v___x_14953_; size_t v___x_14954_; lean_object* v___x_14955_; lean_object* v___x_14956_; +v___x_14953_ = ((size_t)0ULL); +v___x_14954_ = lean_usize_of_nat(v___x_14943_); +v___x_14955_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_withCleanLCtxFor_spec__3(v_a_14937_, v_a_14941_, v___x_14953_, v___x_14954_, v___x_14944_); +lean_dec(v_a_14941_); +lean_dec(v_a_14937_); +v___x_14956_ = l_Lean_Meta_withLCtx___at___00Lean_Meta_Match_withCleanLCtxFor_spec__2___redArg(v___x_14939_, v___x_14955_, v_k_14930_, v_a_14931_, v_a_14932_, v_a_14933_, v_a_14934_); +return v___x_14956_; +} +} +} +else +{ +lean_object* v_a_14957_; lean_object* v___x_14959_; uint8_t v_isShared_14960_; uint8_t v_isSharedCheck_14964_; +lean_dec_ref(v___x_14939_); +lean_dec(v_a_14937_); lean_dec(v_a_14934_); -lean_dec(v_a_14931_); -lean_dec_ref(v_a_14930_); -lean_dec(v_a_14929_); -lean_dec_ref(v_a_14928_); -lean_dec_ref(v_k_14927_); -v_a_14954_ = lean_ctor_get(v___x_14937_, 0); -v_isSharedCheck_14961_ = !lean_is_exclusive(v___x_14937_); -if (v_isSharedCheck_14961_ == 0) +lean_dec_ref(v_a_14933_); +lean_dec(v_a_14932_); +lean_dec_ref(v_a_14931_); +lean_dec_ref(v_k_14930_); +v_a_14957_ = lean_ctor_get(v___x_14940_, 0); +v_isSharedCheck_14964_ = !lean_is_exclusive(v___x_14940_); +if (v_isSharedCheck_14964_ == 0) { -v___x_14956_ = v___x_14937_; -v_isShared_14957_ = v_isSharedCheck_14961_; -goto v_resetjp_14955_; +v___x_14959_ = v___x_14940_; +v_isShared_14960_ = v_isSharedCheck_14964_; +goto v_resetjp_14958_; } else { -lean_inc(v_a_14954_); -lean_dec(v___x_14937_); -v___x_14956_ = lean_box(0); -v_isShared_14957_ = v_isSharedCheck_14961_; -goto v_resetjp_14955_; +lean_inc(v_a_14957_); +lean_dec(v___x_14940_); +v___x_14959_ = lean_box(0); +v_isShared_14960_ = v_isSharedCheck_14964_; +goto v_resetjp_14958_; } -v_resetjp_14955_: +v_resetjp_14958_: { -lean_object* v___x_14959_; -if (v_isShared_14957_ == 0) +lean_object* v___x_14962_; +if (v_isShared_14960_ == 0) { -v___x_14959_ = v___x_14956_; -goto v_reusejp_14958_; +v___x_14962_ = v___x_14959_; +goto v_reusejp_14961_; } else { -lean_object* v_reuseFailAlloc_14960_; -v_reuseFailAlloc_14960_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14960_, 0, v_a_14954_); -v___x_14959_ = v_reuseFailAlloc_14960_; -goto v_reusejp_14958_; +lean_object* v_reuseFailAlloc_14963_; +v_reuseFailAlloc_14963_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14963_, 0, v_a_14957_); +v___x_14962_ = v_reuseFailAlloc_14963_; +goto v_reusejp_14961_; } -v_reusejp_14958_: +v_reusejp_14961_: { -return v___x_14959_; +return v___x_14962_; } } } } else { -lean_object* v_a_14962_; lean_object* v___x_14964_; uint8_t v_isShared_14965_; uint8_t v_isSharedCheck_14969_; -lean_dec(v_a_14931_); -lean_dec_ref(v_a_14930_); -lean_dec(v_a_14929_); -lean_dec_ref(v_a_14928_); -lean_dec_ref(v_k_14927_); -v_a_14962_ = lean_ctor_get(v___x_14933_, 0); -v_isSharedCheck_14969_ = !lean_is_exclusive(v___x_14933_); -if (v_isSharedCheck_14969_ == 0) +lean_object* v_a_14965_; lean_object* v___x_14967_; uint8_t v_isShared_14968_; uint8_t v_isSharedCheck_14972_; +lean_dec(v_a_14934_); +lean_dec_ref(v_a_14933_); +lean_dec(v_a_14932_); +lean_dec_ref(v_a_14931_); +lean_dec_ref(v_k_14930_); +v_a_14965_ = lean_ctor_get(v___x_14936_, 0); +v_isSharedCheck_14972_ = !lean_is_exclusive(v___x_14936_); +if (v_isSharedCheck_14972_ == 0) { -v___x_14964_ = v___x_14933_; -v_isShared_14965_ = v_isSharedCheck_14969_; -goto v_resetjp_14963_; +v___x_14967_ = v___x_14936_; +v_isShared_14968_ = v_isSharedCheck_14972_; +goto v_resetjp_14966_; } else { -lean_inc(v_a_14962_); -lean_dec(v___x_14933_); -v___x_14964_ = lean_box(0); -v_isShared_14965_ = v_isSharedCheck_14969_; -goto v_resetjp_14963_; +lean_inc(v_a_14965_); +lean_dec(v___x_14936_); +v___x_14967_ = lean_box(0); +v_isShared_14968_ = v_isSharedCheck_14972_; +goto v_resetjp_14966_; } -v_resetjp_14963_: +v_resetjp_14966_: { -lean_object* v___x_14967_; -if (v_isShared_14965_ == 0) +lean_object* v___x_14970_; +if (v_isShared_14968_ == 0) { -v___x_14967_ = v___x_14964_; -goto v_reusejp_14966_; +v___x_14970_ = v___x_14967_; +goto v_reusejp_14969_; } else { -lean_object* v_reuseFailAlloc_14968_; -v_reuseFailAlloc_14968_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_14968_, 0, v_a_14962_); -v___x_14967_ = v_reuseFailAlloc_14968_; -goto v_reusejp_14966_; +lean_object* v_reuseFailAlloc_14971_; +v_reuseFailAlloc_14971_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_14971_, 0, v_a_14965_); +v___x_14970_ = v_reuseFailAlloc_14971_; +goto v_reusejp_14969_; } -v_reusejp_14966_: +v_reusejp_14969_: { -return v___x_14967_; +return v___x_14970_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___redArg___boxed(lean_object* v_m_14970_, lean_object* v_k_14971_, lean_object* v_a_14972_, lean_object* v_a_14973_, lean_object* v_a_14974_, lean_object* v_a_14975_, lean_object* v_a_14976_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___redArg___boxed(lean_object* v_m_14973_, lean_object* v_k_14974_, lean_object* v_a_14975_, lean_object* v_a_14976_, lean_object* v_a_14977_, lean_object* v_a_14978_, lean_object* v_a_14979_){ _start: { -lean_object* v_res_14977_; -v_res_14977_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_m_14970_, v_k_14971_, v_a_14972_, v_a_14973_, v_a_14974_, v_a_14975_); -return v_res_14977_; +lean_object* v_res_14980_; +v_res_14980_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_m_14973_, v_k_14974_, v_a_14975_, v_a_14976_, v_a_14977_, v_a_14978_); +return v_res_14980_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor(lean_object* v_00_u03b1_14978_, lean_object* v_m_14979_, lean_object* v_k_14980_, lean_object* v_a_14981_, lean_object* v_a_14982_, lean_object* v_a_14983_, lean_object* v_a_14984_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor(lean_object* v_00_u03b1_14981_, lean_object* v_m_14982_, lean_object* v_k_14983_, lean_object* v_a_14984_, lean_object* v_a_14985_, lean_object* v_a_14986_, lean_object* v_a_14987_){ _start: { -lean_object* v___x_14986_; -v___x_14986_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_m_14979_, v_k_14980_, v_a_14981_, v_a_14982_, v_a_14983_, v_a_14984_); -return v___x_14986_; +lean_object* v___x_14989_; +v___x_14989_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_m_14982_, v_k_14983_, v_a_14984_, v_a_14985_, v_a_14986_, v_a_14987_); +return v___x_14989_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___boxed(lean_object* v_00_u03b1_14987_, lean_object* v_m_14988_, lean_object* v_k_14989_, lean_object* v_a_14990_, lean_object* v_a_14991_, lean_object* v_a_14992_, lean_object* v_a_14993_, lean_object* v_a_14994_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withCleanLCtxFor___boxed(lean_object* v_00_u03b1_14990_, lean_object* v_m_14991_, lean_object* v_k_14992_, lean_object* v_a_14993_, lean_object* v_a_14994_, lean_object* v_a_14995_, lean_object* v_a_14996_, lean_object* v_a_14997_){ _start: { -lean_object* v_res_14995_; -v_res_14995_ = l_Lean_Meta_Match_withCleanLCtxFor(v_00_u03b1_14987_, v_m_14988_, v_k_14989_, v_a_14990_, v_a_14991_, v_a_14992_, v_a_14993_); -return v_res_14995_; +lean_object* v_res_14998_; +v_res_14998_ = l_Lean_Meta_Match_withCleanLCtxFor(v_00_u03b1_14990_, v_m_14991_, v_k_14992_, v_a_14993_, v_a_14994_, v_a_14995_, v_a_14996_); +return v_res_14998_; } } -LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0(lean_object* v_00_u03b2_14996_, lean_object* v_k_14997_, lean_object* v_t_14998_){ +LEAN_EXPORT uint8_t l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0(lean_object* v_00_u03b2_14999_, lean_object* v_k_15000_, lean_object* v_t_15001_){ _start: { -uint8_t v___x_14999_; -v___x_14999_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v_k_14997_, v_t_14998_); -return v___x_14999_; +uint8_t v___x_15002_; +v___x_15002_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___redArg(v_k_15000_, v_t_15001_); +return v___x_15002_; } } -LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___boxed(lean_object* v_00_u03b2_15000_, lean_object* v_k_15001_, lean_object* v_t_15002_){ +LEAN_EXPORT lean_object* l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0___boxed(lean_object* v_00_u03b2_15003_, lean_object* v_k_15004_, lean_object* v_t_15005_){ _start: { -uint8_t v_res_15003_; lean_object* v_r_15004_; -v_res_15003_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0(v_00_u03b2_15000_, v_k_15001_, v_t_15002_); -lean_dec(v_t_15002_); -lean_dec(v_k_15001_); -v_r_15004_ = lean_box(v_res_15003_); -return v_r_15004_; +uint8_t v_res_15006_; lean_object* v_r_15007_; +v_res_15006_ = l_Std_DTreeMap_Internal_Impl_contains___at___00Lean_Meta_Match_withCleanLCtxFor_spec__0(v_00_u03b2_15003_, v_k_15004_, v_t_15005_); +lean_dec(v_t_15005_); +lean_dec(v_k_15004_); +v_r_15007_ = lean_box(v_res_15006_); +return v_r_15007_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0(lean_object* v_k_15005_, lean_object* v_b_15006_, lean_object* v_c_15007_, lean_object* v___y_15008_, lean_object* v___y_15009_, lean_object* v___y_15010_, lean_object* v___y_15011_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0(lean_object* v_k_15008_, lean_object* v_b_15009_, lean_object* v_c_15010_, lean_object* v___y_15011_, lean_object* v___y_15012_, lean_object* v___y_15013_, lean_object* v___y_15014_){ _start: { -lean_object* v___x_15013_; -v___x_15013_ = lean_apply_7(v_k_15005_, v_b_15006_, v_c_15007_, v___y_15008_, v___y_15009_, v___y_15010_, v___y_15011_, lean_box(0)); -return v___x_15013_; +lean_object* v___x_15016_; +v___x_15016_ = lean_apply_7(v_k_15008_, v_b_15009_, v_c_15010_, v___y_15011_, v___y_15012_, v___y_15013_, v___y_15014_, lean_box(0)); +return v___x_15016_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed(lean_object* v_k_15014_, lean_object* v_b_15015_, lean_object* v_c_15016_, lean_object* v___y_15017_, lean_object* v___y_15018_, lean_object* v___y_15019_, lean_object* v___y_15020_, lean_object* v___y_15021_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed(lean_object* v_k_15017_, lean_object* v_b_15018_, lean_object* v_c_15019_, lean_object* v___y_15020_, lean_object* v___y_15021_, lean_object* v___y_15022_, lean_object* v___y_15023_, lean_object* v___y_15024_){ _start: { -lean_object* v_res_15022_; -v_res_15022_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0(v_k_15014_, v_b_15015_, v_c_15016_, v___y_15017_, v___y_15018_, v___y_15019_, v___y_15020_); -return v_res_15022_; +lean_object* v_res_15025_; +v_res_15025_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0(v_k_15017_, v_b_15018_, v_c_15019_, v___y_15020_, v___y_15021_, v___y_15022_, v___y_15023_); +return v_res_15025_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(lean_object* v_type_15023_, lean_object* v_maxFVars_x3f_15024_, lean_object* v_k_15025_, uint8_t v_cleanupAnnotations_15026_, uint8_t v_whnfType_15027_, lean_object* v___y_15028_, lean_object* v___y_15029_, lean_object* v___y_15030_, lean_object* v___y_15031_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(lean_object* v_type_15026_, lean_object* v_maxFVars_x3f_15027_, lean_object* v_k_15028_, uint8_t v_cleanupAnnotations_15029_, uint8_t v_whnfType_15030_, lean_object* v___y_15031_, lean_object* v___y_15032_, lean_object* v___y_15033_, lean_object* v___y_15034_){ _start: { -lean_object* v___f_15033_; lean_object* v___x_15034_; -v___f_15033_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_15033_, 0, v_k_15025_); -v___x_15034_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_15023_, v_maxFVars_x3f_15024_, v___f_15033_, v_cleanupAnnotations_15026_, v_whnfType_15027_, v___y_15028_, v___y_15029_, v___y_15030_, v___y_15031_); -if (lean_obj_tag(v___x_15034_) == 0) +lean_object* v___f_15036_; lean_object* v___x_15037_; +v___f_15036_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_15036_, 0, v_k_15028_); +v___x_15037_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux(lean_box(0), v_type_15026_, v_maxFVars_x3f_15027_, v___f_15036_, v_cleanupAnnotations_15029_, v_whnfType_15030_, v___y_15031_, v___y_15032_, v___y_15033_, v___y_15034_); +if (lean_obj_tag(v___x_15037_) == 0) { -lean_object* v_a_15035_; lean_object* v___x_15037_; uint8_t v_isShared_15038_; uint8_t v_isSharedCheck_15042_; -v_a_15035_ = lean_ctor_get(v___x_15034_, 0); -v_isSharedCheck_15042_ = !lean_is_exclusive(v___x_15034_); -if (v_isSharedCheck_15042_ == 0) -{ -v___x_15037_ = v___x_15034_; -v_isShared_15038_ = v_isSharedCheck_15042_; -goto v_resetjp_15036_; -} -else -{ -lean_inc(v_a_15035_); -lean_dec(v___x_15034_); -v___x_15037_ = lean_box(0); -v_isShared_15038_ = v_isSharedCheck_15042_; -goto v_resetjp_15036_; -} -v_resetjp_15036_: -{ -lean_object* v___x_15040_; -if (v_isShared_15038_ == 0) +lean_object* v_a_15038_; lean_object* v___x_15040_; uint8_t v_isShared_15041_; uint8_t v_isSharedCheck_15045_; +v_a_15038_ = lean_ctor_get(v___x_15037_, 0); +v_isSharedCheck_15045_ = !lean_is_exclusive(v___x_15037_); +if (v_isSharedCheck_15045_ == 0) { v___x_15040_ = v___x_15037_; -goto v_reusejp_15039_; +v_isShared_15041_ = v_isSharedCheck_15045_; +goto v_resetjp_15039_; } else { -lean_object* v_reuseFailAlloc_15041_; -v_reuseFailAlloc_15041_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15041_, 0, v_a_15035_); -v___x_15040_ = v_reuseFailAlloc_15041_; -goto v_reusejp_15039_; +lean_inc(v_a_15038_); +lean_dec(v___x_15037_); +v___x_15040_ = lean_box(0); +v_isShared_15041_ = v_isSharedCheck_15045_; +goto v_resetjp_15039_; } -v_reusejp_15039_: +v_resetjp_15039_: { -return v___x_15040_; +lean_object* v___x_15043_; +if (v_isShared_15041_ == 0) +{ +v___x_15043_ = v___x_15040_; +goto v_reusejp_15042_; +} +else +{ +lean_object* v_reuseFailAlloc_15044_; +v_reuseFailAlloc_15044_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15044_, 0, v_a_15038_); +v___x_15043_ = v_reuseFailAlloc_15044_; +goto v_reusejp_15042_; +} +v_reusejp_15042_: +{ +return v___x_15043_; } } } else { -lean_object* v_a_15043_; lean_object* v___x_15045_; uint8_t v_isShared_15046_; uint8_t v_isSharedCheck_15050_; -v_a_15043_ = lean_ctor_get(v___x_15034_, 0); -v_isSharedCheck_15050_ = !lean_is_exclusive(v___x_15034_); -if (v_isSharedCheck_15050_ == 0) +lean_object* v_a_15046_; lean_object* v___x_15048_; uint8_t v_isShared_15049_; uint8_t v_isSharedCheck_15053_; +v_a_15046_ = lean_ctor_get(v___x_15037_, 0); +v_isSharedCheck_15053_ = !lean_is_exclusive(v___x_15037_); +if (v_isSharedCheck_15053_ == 0) { -v___x_15045_ = v___x_15034_; -v_isShared_15046_ = v_isSharedCheck_15050_; -goto v_resetjp_15044_; +v___x_15048_ = v___x_15037_; +v_isShared_15049_ = v_isSharedCheck_15053_; +goto v_resetjp_15047_; } else { -lean_inc(v_a_15043_); -lean_dec(v___x_15034_); -v___x_15045_ = lean_box(0); -v_isShared_15046_ = v_isSharedCheck_15050_; -goto v_resetjp_15044_; +lean_inc(v_a_15046_); +lean_dec(v___x_15037_); +v___x_15048_ = lean_box(0); +v_isShared_15049_ = v_isSharedCheck_15053_; +goto v_resetjp_15047_; } -v_resetjp_15044_: +v_resetjp_15047_: { -lean_object* v___x_15048_; -if (v_isShared_15046_ == 0) +lean_object* v___x_15051_; +if (v_isShared_15049_ == 0) { -v___x_15048_ = v___x_15045_; -goto v_reusejp_15047_; +v___x_15051_ = v___x_15048_; +goto v_reusejp_15050_; } else { -lean_object* v_reuseFailAlloc_15049_; -v_reuseFailAlloc_15049_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15049_, 0, v_a_15043_); -v___x_15048_ = v_reuseFailAlloc_15049_; -goto v_reusejp_15047_; +lean_object* v_reuseFailAlloc_15052_; +v_reuseFailAlloc_15052_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15052_, 0, v_a_15046_); +v___x_15051_ = v_reuseFailAlloc_15052_; +goto v_reusejp_15050_; } -v_reusejp_15047_: +v_reusejp_15050_: { -return v___x_15048_; +return v___x_15051_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___boxed(lean_object* v_type_15051_, lean_object* v_maxFVars_x3f_15052_, lean_object* v_k_15053_, lean_object* v_cleanupAnnotations_15054_, lean_object* v_whnfType_15055_, lean_object* v___y_15056_, lean_object* v___y_15057_, lean_object* v___y_15058_, lean_object* v___y_15059_, lean_object* v___y_15060_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___boxed(lean_object* v_type_15054_, lean_object* v_maxFVars_x3f_15055_, lean_object* v_k_15056_, lean_object* v_cleanupAnnotations_15057_, lean_object* v_whnfType_15058_, lean_object* v___y_15059_, lean_object* v___y_15060_, lean_object* v___y_15061_, lean_object* v___y_15062_, lean_object* v___y_15063_){ _start: { -uint8_t v_cleanupAnnotations_boxed_15061_; uint8_t v_whnfType_boxed_15062_; lean_object* v_res_15063_; -v_cleanupAnnotations_boxed_15061_ = lean_unbox(v_cleanupAnnotations_15054_); -v_whnfType_boxed_15062_ = lean_unbox(v_whnfType_15055_); -v_res_15063_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_type_15051_, v_maxFVars_x3f_15052_, v_k_15053_, v_cleanupAnnotations_boxed_15061_, v_whnfType_boxed_15062_, v___y_15056_, v___y_15057_, v___y_15058_, v___y_15059_); -return v_res_15063_; +uint8_t v_cleanupAnnotations_boxed_15064_; uint8_t v_whnfType_boxed_15065_; lean_object* v_res_15066_; +v_cleanupAnnotations_boxed_15064_ = lean_unbox(v_cleanupAnnotations_15057_); +v_whnfType_boxed_15065_ = lean_unbox(v_whnfType_15058_); +v_res_15066_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_type_15054_, v_maxFVars_x3f_15055_, v_k_15056_, v_cleanupAnnotations_boxed_15064_, v_whnfType_boxed_15065_, v___y_15059_, v___y_15060_, v___y_15061_, v___y_15062_); +return v_res_15066_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7(lean_object* v_00_u03b1_15064_, lean_object* v_type_15065_, lean_object* v_maxFVars_x3f_15066_, lean_object* v_k_15067_, uint8_t v_cleanupAnnotations_15068_, uint8_t v_whnfType_15069_, lean_object* v___y_15070_, lean_object* v___y_15071_, lean_object* v___y_15072_, lean_object* v___y_15073_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7(lean_object* v_00_u03b1_15067_, lean_object* v_type_15068_, lean_object* v_maxFVars_x3f_15069_, lean_object* v_k_15070_, uint8_t v_cleanupAnnotations_15071_, uint8_t v_whnfType_15072_, lean_object* v___y_15073_, lean_object* v___y_15074_, lean_object* v___y_15075_, lean_object* v___y_15076_){ _start: { -lean_object* v___x_15075_; -v___x_15075_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_type_15065_, v_maxFVars_x3f_15066_, v_k_15067_, v_cleanupAnnotations_15068_, v_whnfType_15069_, v___y_15070_, v___y_15071_, v___y_15072_, v___y_15073_); -return v___x_15075_; +lean_object* v___x_15078_; +v___x_15078_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_type_15068_, v_maxFVars_x3f_15069_, v_k_15070_, v_cleanupAnnotations_15071_, v_whnfType_15072_, v___y_15073_, v___y_15074_, v___y_15075_, v___y_15076_); +return v___x_15078_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___boxed(lean_object* v_00_u03b1_15076_, lean_object* v_type_15077_, lean_object* v_maxFVars_x3f_15078_, lean_object* v_k_15079_, lean_object* v_cleanupAnnotations_15080_, lean_object* v_whnfType_15081_, lean_object* v___y_15082_, lean_object* v___y_15083_, lean_object* v___y_15084_, lean_object* v___y_15085_, lean_object* v___y_15086_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___boxed(lean_object* v_00_u03b1_15079_, lean_object* v_type_15080_, lean_object* v_maxFVars_x3f_15081_, lean_object* v_k_15082_, lean_object* v_cleanupAnnotations_15083_, lean_object* v_whnfType_15084_, lean_object* v___y_15085_, lean_object* v___y_15086_, lean_object* v___y_15087_, lean_object* v___y_15088_, lean_object* v___y_15089_){ _start: { -uint8_t v_cleanupAnnotations_boxed_15087_; uint8_t v_whnfType_boxed_15088_; lean_object* v_res_15089_; -v_cleanupAnnotations_boxed_15087_ = lean_unbox(v_cleanupAnnotations_15080_); -v_whnfType_boxed_15088_ = lean_unbox(v_whnfType_15081_); -v_res_15089_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7(v_00_u03b1_15076_, v_type_15077_, v_maxFVars_x3f_15078_, v_k_15079_, v_cleanupAnnotations_boxed_15087_, v_whnfType_boxed_15088_, v___y_15082_, v___y_15083_, v___y_15084_, v___y_15085_); -return v_res_15089_; +uint8_t v_cleanupAnnotations_boxed_15090_; uint8_t v_whnfType_boxed_15091_; lean_object* v_res_15092_; +v_cleanupAnnotations_boxed_15090_ = lean_unbox(v_cleanupAnnotations_15083_); +v_whnfType_boxed_15091_ = lean_unbox(v_whnfType_15084_); +v_res_15092_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7(v_00_u03b1_15079_, v_type_15080_, v_maxFVars_x3f_15081_, v_k_15082_, v_cleanupAnnotations_boxed_15090_, v_whnfType_boxed_15091_, v___y_15085_, v___y_15086_, v___y_15087_, v___y_15088_); +return v_res_15092_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__0(lean_object* v_snd_15090_, lean_object* v_s_15091_, lean_object* v_fst_15092_, lean_object* v_numDiscrs_15093_, lean_object* v_altInfos_15094_, lean_object* v_a_15095_, lean_object* v_discrInfos_15096_, lean_object* v___y_15097_, lean_object* v___y_15098_, lean_object* v___y_15099_, lean_object* v___y_15100_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__0(lean_object* v_snd_15093_, lean_object* v_s_15094_, lean_object* v_fst_15095_, lean_object* v_numDiscrs_15096_, lean_object* v_altInfos_15097_, lean_object* v_a_15098_, lean_object* v_discrInfos_15099_, lean_object* v___y_15100_, lean_object* v___y_15101_, lean_object* v___y_15102_, lean_object* v___y_15103_){ _start: { -if (lean_obj_tag(v_snd_15090_) == 0) +if (lean_obj_tag(v_snd_15093_) == 0) { -lean_object* v___x_15102_; lean_object* v___x_15103_; -lean_dec(v___y_15100_); -lean_dec_ref(v___y_15099_); -lean_dec(v___y_15098_); -lean_dec_ref(v___y_15097_); -lean_dec_ref(v_discrInfos_15096_); -lean_dec(v_a_15095_); -lean_dec_ref(v_altInfos_15094_); -lean_dec(v_numDiscrs_15093_); -v___x_15102_ = lean_box(0); -v___x_15103_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15103_, 0, v___x_15102_); -return v___x_15103_; +lean_object* v___x_15105_; lean_object* v___x_15106_; +lean_dec(v___y_15103_); +lean_dec_ref(v___y_15102_); +lean_dec(v___y_15101_); +lean_dec_ref(v___y_15100_); +lean_dec_ref(v_discrInfos_15099_); +lean_dec(v_a_15098_); +lean_dec_ref(v_altInfos_15097_); +lean_dec(v_numDiscrs_15096_); +v___x_15105_ = lean_box(0); +v___x_15106_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15106_, 0, v___x_15105_); +return v___x_15106_; } else { -lean_object* v_val_15104_; lean_object* v_overlaps_15105_; lean_object* v___x_15106_; lean_object* v___x_15107_; lean_object* v___x_15108_; -v_val_15104_ = lean_ctor_get(v_snd_15090_, 0); -lean_inc(v_val_15104_); -lean_dec_ref(v_snd_15090_); -v_overlaps_15105_ = lean_ctor_get(v_s_15091_, 1); -v___x_15106_ = l_Lean_Expr_getAppNumArgs(v_fst_15092_); -lean_inc_ref(v_overlaps_15105_); -v___x_15107_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_15107_, 0, v___x_15106_); -lean_ctor_set(v___x_15107_, 1, v_numDiscrs_15093_); -lean_ctor_set(v___x_15107_, 2, v_altInfos_15094_); -lean_ctor_set(v___x_15107_, 3, v_a_15095_); -lean_ctor_set(v___x_15107_, 4, v_discrInfos_15096_); -lean_ctor_set(v___x_15107_, 5, v_overlaps_15105_); -v___x_15108_ = lean_apply_6(v_val_15104_, v___x_15107_, v___y_15097_, v___y_15098_, v___y_15099_, v___y_15100_, lean_box(0)); -return v___x_15108_; +lean_object* v_val_15107_; lean_object* v_overlaps_15108_; lean_object* v___x_15109_; lean_object* v___x_15110_; lean_object* v___x_15111_; +v_val_15107_ = lean_ctor_get(v_snd_15093_, 0); +lean_inc(v_val_15107_); +lean_dec_ref(v_snd_15093_); +v_overlaps_15108_ = lean_ctor_get(v_s_15094_, 1); +v___x_15109_ = l_Lean_Expr_getAppNumArgs(v_fst_15095_); +lean_inc_ref(v_overlaps_15108_); +v___x_15110_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_15110_, 0, v___x_15109_); +lean_ctor_set(v___x_15110_, 1, v_numDiscrs_15096_); +lean_ctor_set(v___x_15110_, 2, v_altInfos_15097_); +lean_ctor_set(v___x_15110_, 3, v_a_15098_); +lean_ctor_set(v___x_15110_, 4, v_discrInfos_15099_); +lean_ctor_set(v___x_15110_, 5, v_overlaps_15108_); +v___x_15111_ = lean_apply_6(v_val_15107_, v___x_15110_, v___y_15100_, v___y_15101_, v___y_15102_, v___y_15103_, lean_box(0)); +return v___x_15111_; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__0___boxed(lean_object* v_snd_15109_, lean_object* v_s_15110_, lean_object* v_fst_15111_, lean_object* v_numDiscrs_15112_, lean_object* v_altInfos_15113_, lean_object* v_a_15114_, lean_object* v_discrInfos_15115_, lean_object* v___y_15116_, lean_object* v___y_15117_, lean_object* v___y_15118_, lean_object* v___y_15119_, lean_object* v___y_15120_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__0___boxed(lean_object* v_snd_15112_, lean_object* v_s_15113_, lean_object* v_fst_15114_, lean_object* v_numDiscrs_15115_, lean_object* v_altInfos_15116_, lean_object* v_a_15117_, lean_object* v_discrInfos_15118_, lean_object* v___y_15119_, lean_object* v___y_15120_, lean_object* v___y_15121_, lean_object* v___y_15122_, lean_object* v___y_15123_){ _start: { -lean_object* v_res_15121_; -v_res_15121_ = l_Lean_Meta_Match_mkMatcher___lam__0(v_snd_15109_, v_s_15110_, v_fst_15111_, v_numDiscrs_15112_, v_altInfos_15113_, v_a_15114_, v_discrInfos_15115_, v___y_15116_, v___y_15117_, v___y_15118_, v___y_15119_); -lean_dec_ref(v_fst_15111_); -lean_dec_ref(v_s_15110_); -return v_res_15121_; +lean_object* v_res_15124_; +v_res_15124_ = l_Lean_Meta_Match_mkMatcher___lam__0(v_snd_15112_, v_s_15113_, v_fst_15114_, v_numDiscrs_15115_, v_altInfos_15116_, v_a_15117_, v_discrInfos_15118_, v___y_15119_, v___y_15120_, v___y_15121_, v___y_15122_); +lean_dec_ref(v_fst_15114_); +lean_dec_ref(v_s_15113_); +return v_res_15124_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(lean_object* v_m_15122_, lean_object* v_a_15123_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(lean_object* v_m_15125_, lean_object* v_a_15126_){ _start: { -lean_object* v_buckets_15124_; lean_object* v___x_15125_; uint64_t v___x_15126_; uint64_t v___x_15127_; uint64_t v___x_15128_; uint64_t v_fold_15129_; uint64_t v___x_15130_; uint64_t v___x_15131_; uint64_t v___x_15132_; size_t v___x_15133_; size_t v___x_15134_; size_t v___x_15135_; size_t v___x_15136_; size_t v___x_15137_; lean_object* v___x_15138_; uint8_t v___x_15139_; -v_buckets_15124_ = lean_ctor_get(v_m_15122_, 1); -v___x_15125_ = lean_array_get_size(v_buckets_15124_); -v___x_15126_ = lean_uint64_of_nat(v_a_15123_); -v___x_15127_ = 32ULL; -v___x_15128_ = lean_uint64_shift_right(v___x_15126_, v___x_15127_); -v_fold_15129_ = lean_uint64_xor(v___x_15126_, v___x_15128_); -v___x_15130_ = 16ULL; -v___x_15131_ = lean_uint64_shift_right(v_fold_15129_, v___x_15130_); -v___x_15132_ = lean_uint64_xor(v_fold_15129_, v___x_15131_); -v___x_15133_ = lean_uint64_to_usize(v___x_15132_); -v___x_15134_ = lean_usize_of_nat(v___x_15125_); -v___x_15135_ = ((size_t)1ULL); -v___x_15136_ = lean_usize_sub(v___x_15134_, v___x_15135_); -v___x_15137_ = lean_usize_land(v___x_15133_, v___x_15136_); -v___x_15138_ = lean_array_uget_borrowed(v_buckets_15124_, v___x_15137_); -v___x_15139_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__6_spec__8___redArg(v_a_15123_, v___x_15138_); -return v___x_15139_; +lean_object* v_buckets_15127_; lean_object* v___x_15128_; uint64_t v___x_15129_; uint64_t v___x_15130_; uint64_t v___x_15131_; uint64_t v_fold_15132_; uint64_t v___x_15133_; uint64_t v___x_15134_; uint64_t v___x_15135_; size_t v___x_15136_; size_t v___x_15137_; size_t v___x_15138_; size_t v___x_15139_; size_t v___x_15140_; lean_object* v___x_15141_; uint8_t v___x_15142_; +v_buckets_15127_ = lean_ctor_get(v_m_15125_, 1); +v___x_15128_ = lean_array_get_size(v_buckets_15127_); +v___x_15129_ = lean_uint64_of_nat(v_a_15126_); +v___x_15130_ = 32ULL; +v___x_15131_ = lean_uint64_shift_right(v___x_15129_, v___x_15130_); +v_fold_15132_ = lean_uint64_xor(v___x_15129_, v___x_15131_); +v___x_15133_ = 16ULL; +v___x_15134_ = lean_uint64_shift_right(v_fold_15132_, v___x_15133_); +v___x_15135_ = lean_uint64_xor(v_fold_15132_, v___x_15134_); +v___x_15136_ = lean_uint64_to_usize(v___x_15135_); +v___x_15137_ = lean_usize_of_nat(v___x_15128_); +v___x_15138_ = ((size_t)1ULL); +v___x_15139_ = lean_usize_sub(v___x_15137_, v___x_15138_); +v___x_15140_ = lean_usize_land(v___x_15136_, v___x_15139_); +v___x_15141_ = lean_array_uget_borrowed(v_buckets_15127_, v___x_15140_); +v___x_15142_ = l_Std_DHashMap_Internal_AssocList_contains___at___00Std_DHashMap_Internal_Raw_u2080_insertIfNew___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveCnstrs_go_spec__6_spec__8___redArg(v_a_15126_, v___x_15141_); +return v___x_15142_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg___boxed(lean_object* v_m_15140_, lean_object* v_a_15141_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg___boxed(lean_object* v_m_15143_, lean_object* v_a_15144_){ _start: { -uint8_t v_res_15142_; lean_object* v_r_15143_; -v_res_15142_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_m_15140_, v_a_15141_); -lean_dec(v_a_15141_); -lean_dec_ref(v_m_15140_); -v_r_15143_ = lean_box(v_res_15142_); -return v_r_15143_; +uint8_t v_res_15145_; lean_object* v_r_15146_; +v_res_15145_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_m_15143_, v_a_15144_); +lean_dec(v_a_15144_); +lean_dec_ref(v_m_15143_); +v_r_15146_ = lean_box(v_res_15145_); +return v_r_15146_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(lean_object* v_s_15144_, lean_object* v_n_15145_, lean_object* v_j_15146_, lean_object* v_a_15147_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(lean_object* v_s_15147_, lean_object* v_n_15148_, lean_object* v_j_15149_, lean_object* v_a_15150_){ _start: { -lean_object* v_zero_15148_; uint8_t v_isZero_15149_; -v_zero_15148_ = lean_unsigned_to_nat(0u); -v_isZero_15149_ = lean_nat_dec_eq(v_j_15146_, v_zero_15148_); -if (v_isZero_15149_ == 1) +lean_object* v_zero_15151_; uint8_t v_isZero_15152_; +v_zero_15151_ = lean_unsigned_to_nat(0u); +v_isZero_15152_ = lean_nat_dec_eq(v_j_15149_, v_zero_15151_); +if (v_isZero_15152_ == 1) { -lean_dec(v_j_15146_); -return v_a_15147_; +lean_dec(v_j_15149_); +return v_a_15150_; } else { -lean_object* v_used_15150_; lean_object* v_one_15151_; lean_object* v_n_15152_; lean_object* v___x_15153_; uint8_t v___x_15154_; -v_used_15150_ = lean_ctor_get(v_s_15144_, 0); -v_one_15151_ = lean_unsigned_to_nat(1u); -v_n_15152_ = lean_nat_sub(v_j_15146_, v_one_15151_); -v___x_15153_ = lean_nat_sub(v_n_15145_, v_j_15146_); -lean_dec(v_j_15146_); -v___x_15154_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_used_15150_, v___x_15153_); -if (v___x_15154_ == 0) +lean_object* v_used_15153_; lean_object* v_one_15154_; lean_object* v_n_15155_; lean_object* v___x_15156_; uint8_t v___x_15157_; +v_used_15153_ = lean_ctor_get(v_s_15147_, 0); +v_one_15154_ = lean_unsigned_to_nat(1u); +v_n_15155_ = lean_nat_sub(v_j_15149_, v_one_15154_); +v___x_15156_ = lean_nat_sub(v_n_15148_, v_j_15149_); +lean_dec(v_j_15149_); +v___x_15157_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_used_15153_, v___x_15156_); +if (v___x_15157_ == 0) { -lean_object* v___x_15155_; -v___x_15155_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_15155_, 0, v___x_15153_); -lean_ctor_set(v___x_15155_, 1, v_a_15147_); -v_j_15146_ = v_n_15152_; -v_a_15147_ = v___x_15155_; +lean_object* v___x_15158_; +v___x_15158_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_15158_, 0, v___x_15156_); +lean_ctor_set(v___x_15158_, 1, v_a_15150_); +v_j_15149_ = v_n_15155_; +v_a_15150_ = v___x_15158_; goto _start; } else { -lean_dec(v___x_15153_); -v_j_15146_ = v_n_15152_; +lean_dec(v___x_15156_); +v_j_15149_ = v_n_15155_; goto _start; } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg___boxed(lean_object* v_s_15158_, lean_object* v_n_15159_, lean_object* v_j_15160_, lean_object* v_a_15161_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg___boxed(lean_object* v_s_15161_, lean_object* v_n_15162_, lean_object* v_j_15163_, lean_object* v_a_15164_){ _start: { -lean_object* v_res_15162_; -v_res_15162_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_15158_, v_n_15159_, v_j_15160_, v_a_15161_); -lean_dec(v_n_15159_); -lean_dec_ref(v_s_15158_); -return v_res_15162_; +lean_object* v_res_15165_; +v_res_15165_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_15161_, v_n_15162_, v_j_15163_, v_a_15164_); +lean_dec(v_n_15162_); +lean_dec_ref(v_s_15161_); +return v_res_15165_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__2(lean_object* v_a_15163_, lean_object* v_a_15164_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__2(lean_object* v_a_15166_, lean_object* v_a_15167_){ _start: { -if (lean_obj_tag(v_a_15163_) == 0) +if (lean_obj_tag(v_a_15166_) == 0) { -lean_object* v___x_15165_; -v___x_15165_ = l_List_reverse___redArg(v_a_15164_); -return v___x_15165_; +lean_object* v___x_15168_; +v___x_15168_ = l_List_reverse___redArg(v_a_15167_); +return v___x_15168_; } else { -lean_object* v_head_15166_; lean_object* v_tail_15167_; lean_object* v___x_15169_; uint8_t v_isShared_15170_; uint8_t v_isSharedCheck_15176_; -v_head_15166_ = lean_ctor_get(v_a_15163_, 0); -v_tail_15167_ = lean_ctor_get(v_a_15163_, 1); -v_isSharedCheck_15176_ = !lean_is_exclusive(v_a_15163_); -if (v_isSharedCheck_15176_ == 0) +lean_object* v_head_15169_; lean_object* v_tail_15170_; lean_object* v___x_15172_; uint8_t v_isShared_15173_; uint8_t v_isSharedCheck_15179_; +v_head_15169_ = lean_ctor_get(v_a_15166_, 0); +v_tail_15170_ = lean_ctor_get(v_a_15166_, 1); +v_isSharedCheck_15179_ = !lean_is_exclusive(v_a_15166_); +if (v_isSharedCheck_15179_ == 0) { -v___x_15169_ = v_a_15163_; -v_isShared_15170_ = v_isSharedCheck_15176_; -goto v_resetjp_15168_; +v___x_15172_ = v_a_15166_; +v_isShared_15173_ = v_isSharedCheck_15179_; +goto v_resetjp_15171_; } else { -lean_inc(v_tail_15167_); -lean_inc(v_head_15166_); -lean_dec(v_a_15163_); -v___x_15169_ = lean_box(0); -v_isShared_15170_ = v_isSharedCheck_15176_; -goto v_resetjp_15168_; +lean_inc(v_tail_15170_); +lean_inc(v_head_15169_); +lean_dec(v_a_15166_); +v___x_15172_ = lean_box(0); +v_isShared_15173_ = v_isSharedCheck_15179_; +goto v_resetjp_15171_; } -v_resetjp_15168_: +v_resetjp_15171_: { -lean_object* v___x_15171_; lean_object* v___x_15173_; -v___x_15171_ = l_Lean_MessageData_ofLevel(v_head_15166_); -if (v_isShared_15170_ == 0) +lean_object* v___x_15174_; lean_object* v___x_15176_; +v___x_15174_ = l_Lean_MessageData_ofLevel(v_head_15169_); +if (v_isShared_15173_ == 0) { -lean_ctor_set(v___x_15169_, 1, v_a_15164_); -lean_ctor_set(v___x_15169_, 0, v___x_15171_); -v___x_15173_ = v___x_15169_; -goto v_reusejp_15172_; +lean_ctor_set(v___x_15172_, 1, v_a_15167_); +lean_ctor_set(v___x_15172_, 0, v___x_15174_); +v___x_15176_ = v___x_15172_; +goto v_reusejp_15175_; } else { -lean_object* v_reuseFailAlloc_15175_; -v_reuseFailAlloc_15175_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15175_, 0, v___x_15171_); -lean_ctor_set(v_reuseFailAlloc_15175_, 1, v_a_15164_); -v___x_15173_ = v_reuseFailAlloc_15175_; -goto v_reusejp_15172_; +lean_object* v_reuseFailAlloc_15178_; +v_reuseFailAlloc_15178_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15178_, 0, v___x_15174_); +lean_ctor_set(v_reuseFailAlloc_15178_, 1, v_a_15167_); +v___x_15176_ = v_reuseFailAlloc_15178_; +goto v_reusejp_15175_; } -v_reusejp_15172_: +v_reusejp_15175_: { -v_a_15163_ = v_tail_15167_; -v_a_15164_ = v___x_15173_; +v_a_15166_ = v_tail_15170_; +v_a_15167_ = v___x_15176_; goto _start; } } @@ -50871,281 +50888,281 @@ goto _start; static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__1(void){ _start: { -lean_object* v___x_15178_; lean_object* v___x_15179_; -v___x_15178_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__0)); -v___x_15179_ = l_Lean_stringToMessageData(v___x_15178_); -return v___x_15179_; +lean_object* v___x_15181_; lean_object* v___x_15182_; +v___x_15181_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__0)); +v___x_15182_ = l_Lean_stringToMessageData(v___x_15181_); +return v___x_15182_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__3(void){ _start: { -lean_object* v___x_15181_; lean_object* v___x_15182_; -v___x_15181_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__2)); -v___x_15182_ = l_Lean_stringToMessageData(v___x_15181_); -return v___x_15182_; +lean_object* v___x_15184_; lean_object* v___x_15185_; +v___x_15184_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__2)); +v___x_15185_ = l_Lean_stringToMessageData(v___x_15184_); +return v___x_15185_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__5(void){ _start: { -lean_object* v___x_15184_; lean_object* v___x_15185_; -v___x_15184_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__4)); -v___x_15185_ = l_Lean_stringToMessageData(v___x_15184_); -return v___x_15185_; +lean_object* v___x_15187_; lean_object* v___x_15188_; +v___x_15187_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__4)); +v___x_15188_ = l_Lean_stringToMessageData(v___x_15187_); +return v___x_15188_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__7(void){ _start: { -lean_object* v___x_15187_; lean_object* v___x_15188_; -v___x_15187_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__6)); -v___x_15188_ = l_Lean_stringToMessageData(v___x_15187_); -return v___x_15188_; +lean_object* v___x_15190_; lean_object* v___x_15191_; +v___x_15190_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__6)); +v___x_15191_ = l_Lean_stringToMessageData(v___x_15190_); +return v___x_15191_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__9(void){ _start: { -lean_object* v___x_15190_; lean_object* v___x_15191_; -v___x_15190_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__8)); -v___x_15191_ = l_Lean_stringToMessageData(v___x_15190_); -return v___x_15191_; +lean_object* v___x_15193_; lean_object* v___x_15194_; +v___x_15193_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__1___closed__8)); +v___x_15194_ = l_Lean_stringToMessageData(v___x_15193_); +return v___x_15194_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__1(lean_object* v_lhss_15192_, lean_object* v_matcherName_15193_, lean_object* v_uElimGen_15194_, lean_object* v_a_15195_, lean_object* v_numDiscrs_15196_, lean_object* v_discrInfos_15197_, lean_object* v_isSplitter_15198_, lean_object* v_type_15199_, lean_object* v_val_15200_, lean_object* v_altInfos_15201_, lean_object* v_s_15202_, lean_object* v___y_15203_, lean_object* v___y_15204_, lean_object* v___y_15205_, lean_object* v___y_15206_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__1(lean_object* v_lhss_15195_, lean_object* v_matcherName_15196_, lean_object* v_uElimGen_15197_, lean_object* v_a_15198_, lean_object* v_numDiscrs_15199_, lean_object* v_discrInfos_15200_, lean_object* v_isSplitter_15201_, lean_object* v_type_15202_, lean_object* v_val_15203_, lean_object* v_altInfos_15204_, lean_object* v_s_15205_, lean_object* v___y_15206_, lean_object* v___y_15207_, lean_object* v___y_15208_, lean_object* v___y_15209_){ _start: { -lean_object* v___y_15209_; lean_object* v___y_15210_; lean_object* v___x_15218_; lean_object* v___y_15220_; lean_object* v___y_15221_; lean_object* v___y_15222_; lean_object* v___y_15223_; lean_object* v___y_15224_; lean_object* v___y_15225_; lean_object* v___y_15226_; lean_object* v___y_15265_; lean_object* v___y_15266_; lean_object* v___y_15267_; lean_object* v___y_15268_; uint8_t v___y_15269_; lean_object* v___y_15312_; lean_object* v___y_15313_; lean_object* v___y_15314_; lean_object* v___y_15315_; lean_object* v___x_15318_; lean_object* v_a_15319_; uint8_t v___x_15320_; -v___x_15218_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); -v___x_15318_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15218_, v___y_15205_); -v_a_15319_ = lean_ctor_get(v___x_15318_, 0); -lean_inc(v_a_15319_); -lean_dec_ref(v___x_15318_); -v___x_15320_ = lean_unbox(v_a_15319_); -lean_dec(v_a_15319_); -if (v___x_15320_ == 0) +lean_object* v___y_15212_; lean_object* v___y_15213_; lean_object* v___x_15221_; lean_object* v___y_15223_; lean_object* v___y_15224_; lean_object* v___y_15225_; lean_object* v___y_15226_; lean_object* v___y_15227_; lean_object* v___y_15228_; lean_object* v___y_15229_; lean_object* v___y_15268_; lean_object* v___y_15269_; lean_object* v___y_15270_; lean_object* v___y_15271_; uint8_t v___y_15272_; lean_object* v___y_15315_; lean_object* v___y_15316_; lean_object* v___y_15317_; lean_object* v___y_15318_; lean_object* v___x_15321_; lean_object* v_a_15322_; uint8_t v___x_15323_; +v___x_15221_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); +v___x_15321_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15221_, v___y_15208_); +v_a_15322_ = lean_ctor_get(v___x_15321_, 0); +lean_inc(v_a_15322_); +lean_dec_ref(v___x_15321_); +v___x_15323_ = lean_unbox(v_a_15322_); +lean_dec(v_a_15322_); +if (v___x_15323_ == 0) { -v___y_15312_ = v___y_15203_; -v___y_15313_ = v___y_15204_; -v___y_15314_ = v___y_15205_; v___y_15315_ = v___y_15206_; -goto v___jp_15311_; +v___y_15316_ = v___y_15207_; +v___y_15317_ = v___y_15208_; +v___y_15318_ = v___y_15209_; +goto v___jp_15314_; } else { -lean_object* v___x_15321_; lean_object* v___x_15322_; lean_object* v___x_15323_; lean_object* v___x_15324_; lean_object* v___x_15325_; lean_object* v___x_15326_; lean_object* v___x_15327_; lean_object* v___x_15328_; -v___x_15321_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__7, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__7_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__7); -lean_inc_ref(v_val_15200_); -v___x_15322_ = l_Lean_MessageData_ofExpr(v_val_15200_); -v___x_15323_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15323_, 0, v___x_15321_); -lean_ctor_set(v___x_15323_, 1, v___x_15322_); -v___x_15324_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__9, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__9_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__9); -v___x_15325_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15325_, 0, v___x_15323_); -lean_ctor_set(v___x_15325_, 1, v___x_15324_); -lean_inc_ref(v_type_15199_); -v___x_15326_ = l_Lean_MessageData_ofExpr(v_type_15199_); -v___x_15327_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15327_, 0, v___x_15325_); -lean_ctor_set(v___x_15327_, 1, v___x_15326_); -v___x_15328_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15218_, v___x_15327_, v___y_15203_, v___y_15204_, v___y_15205_, v___y_15206_); -if (lean_obj_tag(v___x_15328_) == 0) +lean_object* v___x_15324_; lean_object* v___x_15325_; lean_object* v___x_15326_; lean_object* v___x_15327_; lean_object* v___x_15328_; lean_object* v___x_15329_; lean_object* v___x_15330_; lean_object* v___x_15331_; +v___x_15324_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__7, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__7_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__7); +lean_inc_ref(v_val_15203_); +v___x_15325_ = l_Lean_MessageData_ofExpr(v_val_15203_); +v___x_15326_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15326_, 0, v___x_15324_); +lean_ctor_set(v___x_15326_, 1, v___x_15325_); +v___x_15327_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__9, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__9_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__9); +v___x_15328_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15328_, 0, v___x_15326_); +lean_ctor_set(v___x_15328_, 1, v___x_15327_); +lean_inc_ref(v_type_15202_); +v___x_15329_ = l_Lean_MessageData_ofExpr(v_type_15202_); +v___x_15330_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15330_, 0, v___x_15328_); +lean_ctor_set(v___x_15330_, 1, v___x_15329_); +v___x_15331_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15221_, v___x_15330_, v___y_15206_, v___y_15207_, v___y_15208_, v___y_15209_); +if (lean_obj_tag(v___x_15331_) == 0) { -lean_dec_ref(v___x_15328_); -v___y_15312_ = v___y_15203_; -v___y_15313_ = v___y_15204_; -v___y_15314_ = v___y_15205_; +lean_dec_ref(v___x_15331_); v___y_15315_ = v___y_15206_; -goto v___jp_15311_; +v___y_15316_ = v___y_15207_; +v___y_15317_ = v___y_15208_; +v___y_15318_ = v___y_15209_; +goto v___jp_15314_; } else { -lean_object* v_a_15329_; lean_object* v___x_15331_; uint8_t v_isShared_15332_; uint8_t v_isSharedCheck_15336_; -lean_dec(v___y_15206_); -lean_dec_ref(v___y_15205_); -lean_dec(v___y_15204_); -lean_dec_ref(v___y_15203_); -lean_dec_ref(v_s_15202_); -lean_dec_ref(v_altInfos_15201_); -lean_dec_ref(v_val_15200_); -lean_dec_ref(v_type_15199_); -lean_dec_ref(v_discrInfos_15197_); -lean_dec(v_numDiscrs_15196_); -lean_dec(v_a_15195_); -lean_dec(v_uElimGen_15194_); -lean_dec(v_matcherName_15193_); -v_a_15329_ = lean_ctor_get(v___x_15328_, 0); -v_isSharedCheck_15336_ = !lean_is_exclusive(v___x_15328_); -if (v_isSharedCheck_15336_ == 0) -{ -v___x_15331_ = v___x_15328_; -v_isShared_15332_ = v_isSharedCheck_15336_; -goto v_resetjp_15330_; -} -else -{ -lean_inc(v_a_15329_); -lean_dec(v___x_15328_); -v___x_15331_ = lean_box(0); -v_isShared_15332_ = v_isSharedCheck_15336_; -goto v_resetjp_15330_; -} -v_resetjp_15330_: -{ -lean_object* v___x_15334_; -if (v_isShared_15332_ == 0) +lean_object* v_a_15332_; lean_object* v___x_15334_; uint8_t v_isShared_15335_; uint8_t v_isSharedCheck_15339_; +lean_dec(v___y_15209_); +lean_dec_ref(v___y_15208_); +lean_dec(v___y_15207_); +lean_dec_ref(v___y_15206_); +lean_dec_ref(v_s_15205_); +lean_dec_ref(v_altInfos_15204_); +lean_dec_ref(v_val_15203_); +lean_dec_ref(v_type_15202_); +lean_dec_ref(v_discrInfos_15200_); +lean_dec(v_numDiscrs_15199_); +lean_dec(v_a_15198_); +lean_dec(v_uElimGen_15197_); +lean_dec(v_matcherName_15196_); +v_a_15332_ = lean_ctor_get(v___x_15331_, 0); +v_isSharedCheck_15339_ = !lean_is_exclusive(v___x_15331_); +if (v_isSharedCheck_15339_ == 0) { v___x_15334_ = v___x_15331_; -goto v_reusejp_15333_; +v_isShared_15335_ = v_isSharedCheck_15339_; +goto v_resetjp_15333_; } else { -lean_object* v_reuseFailAlloc_15335_; -v_reuseFailAlloc_15335_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15335_, 0, v_a_15329_); -v___x_15334_ = v_reuseFailAlloc_15335_; -goto v_reusejp_15333_; +lean_inc(v_a_15332_); +lean_dec(v___x_15331_); +v___x_15334_ = lean_box(0); +v_isShared_15335_ = v_isSharedCheck_15339_; +goto v_resetjp_15333_; } -v_reusejp_15333_: +v_resetjp_15333_: { -return v___x_15334_; -} -} -} -} -v___jp_15208_: +lean_object* v___x_15337_; +if (v_isShared_15335_ == 0) { -lean_object* v___x_15211_; lean_object* v___x_15212_; lean_object* v___x_15213_; lean_object* v_counterExamples_15214_; lean_object* v___x_15215_; lean_object* v___x_15216_; lean_object* v___x_15217_; -v___x_15211_ = l_List_lengthTR___redArg(v_lhss_15192_); -v___x_15212_ = lean_box(0); -lean_inc(v___x_15211_); -v___x_15213_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_15202_, v___x_15211_, v___x_15211_, v___x_15212_); -lean_dec(v___x_15211_); -v_counterExamples_15214_ = lean_ctor_get(v_s_15202_, 2); -lean_inc(v_counterExamples_15214_); -lean_dec_ref(v_s_15202_); -v___x_15215_ = l_List_reverse___redArg(v___x_15213_); -v___x_15216_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_15216_, 0, v___y_15210_); -lean_ctor_set(v___x_15216_, 1, v_counterExamples_15214_); -lean_ctor_set(v___x_15216_, 2, v___x_15215_); -lean_ctor_set(v___x_15216_, 3, v___y_15209_); -v___x_15217_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15217_, 0, v___x_15216_); -return v___x_15217_; +v___x_15337_ = v___x_15334_; +goto v_reusejp_15336_; } -v___jp_15219_: +else { -lean_object* v___x_15227_; lean_object* v___x_15228_; lean_object* v___x_15229_; -v___x_15227_ = l_Lean_Expr_getAppFn(v___y_15222_); -v___x_15228_ = l_Lean_Expr_constLevels_x21(v___x_15227_); -lean_dec_ref(v___x_15227_); -lean_inc(v_uElimGen_15194_); -v___x_15229_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f(v___x_15228_, v_uElimGen_15194_, v___y_15223_, v___y_15224_, v___y_15225_, v___y_15226_); -if (lean_obj_tag(v___x_15229_) == 0) +lean_object* v_reuseFailAlloc_15338_; +v_reuseFailAlloc_15338_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15338_, 0, v_a_15332_); +v___x_15337_ = v_reuseFailAlloc_15338_; +goto v_reusejp_15336_; +} +v_reusejp_15336_: { -lean_object* v_a_15230_; lean_object* v___x_15231_; -v_a_15230_ = lean_ctor_get(v___x_15229_, 0); -lean_inc(v_a_15230_); -lean_dec_ref(v___x_15229_); -lean_inc(v___y_15226_); -lean_inc_ref(v___y_15225_); -lean_inc(v___y_15224_); -lean_inc_ref(v___y_15223_); -v___x_15231_ = l_Lean_Meta_isLevelDefEq(v_uElimGen_15194_, v_a_15195_, v___y_15223_, v___y_15224_, v___y_15225_, v___y_15226_); -if (lean_obj_tag(v___x_15231_) == 0) +return v___x_15337_; +} +} +} +} +v___jp_15211_: { -lean_object* v___x_15232_; lean_object* v_a_15233_; lean_object* v___y_15234_; uint8_t v___x_15235_; -lean_dec_ref(v___x_15231_); -v___x_15232_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15218_, v___y_15225_); +lean_object* v___x_15214_; lean_object* v___x_15215_; lean_object* v___x_15216_; lean_object* v_counterExamples_15217_; lean_object* v___x_15218_; lean_object* v___x_15219_; lean_object* v___x_15220_; +v___x_15214_ = l_List_lengthTR___redArg(v_lhss_15195_); +v___x_15215_ = lean_box(0); +lean_inc(v___x_15214_); +v___x_15216_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_15205_, v___x_15214_, v___x_15214_, v___x_15215_); +lean_dec(v___x_15214_); +v_counterExamples_15217_ = lean_ctor_get(v_s_15205_, 2); +lean_inc(v_counterExamples_15217_); +lean_dec_ref(v_s_15205_); +v___x_15218_ = l_List_reverse___redArg(v___x_15216_); +v___x_15219_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_15219_, 0, v___y_15213_); +lean_ctor_set(v___x_15219_, 1, v_counterExamples_15217_); +lean_ctor_set(v___x_15219_, 2, v___x_15218_); +lean_ctor_set(v___x_15219_, 3, v___y_15212_); +v___x_15220_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15220_, 0, v___x_15219_); +return v___x_15220_; +} +v___jp_15222_: +{ +lean_object* v___x_15230_; lean_object* v___x_15231_; lean_object* v___x_15232_; +v___x_15230_ = l_Lean_Expr_getAppFn(v___y_15225_); +v___x_15231_ = l_Lean_Expr_constLevels_x21(v___x_15230_); +lean_dec_ref(v___x_15230_); +lean_inc(v_uElimGen_15197_); +v___x_15232_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getUElimPos_x3f(v___x_15231_, v_uElimGen_15197_, v___y_15226_, v___y_15227_, v___y_15228_, v___y_15229_); +if (lean_obj_tag(v___x_15232_) == 0) +{ +lean_object* v_a_15233_; lean_object* v___x_15234_; v_a_15233_ = lean_ctor_get(v___x_15232_, 0); lean_inc(v_a_15233_); lean_dec_ref(v___x_15232_); -lean_inc_ref(v_s_15202_); -v___y_15234_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__0___boxed), 12, 7); -lean_closure_set(v___y_15234_, 0, v___y_15221_); -lean_closure_set(v___y_15234_, 1, v_s_15202_); -lean_closure_set(v___y_15234_, 2, v___y_15220_); -lean_closure_set(v___y_15234_, 3, v_numDiscrs_15196_); -lean_closure_set(v___y_15234_, 4, v_altInfos_15201_); -lean_closure_set(v___y_15234_, 5, v_a_15230_); -lean_closure_set(v___y_15234_, 6, v_discrInfos_15197_); -v___x_15235_ = lean_unbox(v_a_15233_); -lean_dec(v_a_15233_); -if (v___x_15235_ == 0) +lean_inc(v___y_15229_); +lean_inc_ref(v___y_15228_); +lean_inc(v___y_15227_); +lean_inc_ref(v___y_15226_); +v___x_15234_ = l_Lean_Meta_isLevelDefEq(v_uElimGen_15197_, v_a_15198_, v___y_15226_, v___y_15227_, v___y_15228_, v___y_15229_); +if (lean_obj_tag(v___x_15234_) == 0) { -lean_dec(v___y_15226_); +lean_object* v___x_15235_; lean_object* v_a_15236_; lean_object* v___y_15237_; uint8_t v___x_15238_; +lean_dec_ref(v___x_15234_); +v___x_15235_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15221_, v___y_15228_); +v_a_15236_ = lean_ctor_get(v___x_15235_, 0); +lean_inc(v_a_15236_); +lean_dec_ref(v___x_15235_); +lean_inc_ref(v_s_15205_); +v___y_15237_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__0___boxed), 12, 7); +lean_closure_set(v___y_15237_, 0, v___y_15224_); +lean_closure_set(v___y_15237_, 1, v_s_15205_); +lean_closure_set(v___y_15237_, 2, v___y_15223_); +lean_closure_set(v___y_15237_, 3, v_numDiscrs_15199_); +lean_closure_set(v___y_15237_, 4, v_altInfos_15204_); +lean_closure_set(v___y_15237_, 5, v_a_15233_); +lean_closure_set(v___y_15237_, 6, v_discrInfos_15200_); +v___x_15238_ = lean_unbox(v_a_15236_); +lean_dec(v_a_15236_); +if (v___x_15238_ == 0) +{ +lean_dec(v___y_15229_); +lean_dec_ref(v___y_15228_); +lean_dec(v___y_15227_); +lean_dec_ref(v___y_15226_); +v___y_15212_ = v___y_15237_; +v___y_15213_ = v___y_15225_; +goto v___jp_15211_; +} +else +{ +lean_object* v___x_15239_; lean_object* v___x_15240_; lean_object* v___x_15241_; lean_object* v___x_15242_; +v___x_15239_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__1); +lean_inc_ref(v___y_15225_); +v___x_15240_ = l_Lean_MessageData_ofExpr(v___y_15225_); +v___x_15241_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15241_, 0, v___x_15239_); +lean_ctor_set(v___x_15241_, 1, v___x_15240_); +v___x_15242_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15221_, v___x_15241_, v___y_15226_, v___y_15227_, v___y_15228_, v___y_15229_); +lean_dec(v___y_15229_); +lean_dec_ref(v___y_15228_); +lean_dec(v___y_15227_); +lean_dec_ref(v___y_15226_); +if (lean_obj_tag(v___x_15242_) == 0) +{ +lean_dec_ref(v___x_15242_); +v___y_15212_ = v___y_15237_; +v___y_15213_ = v___y_15225_; +goto v___jp_15211_; +} +else +{ +lean_object* v_a_15243_; lean_object* v___x_15245_; uint8_t v_isShared_15246_; uint8_t v_isSharedCheck_15250_; +lean_dec_ref(v___y_15237_); lean_dec_ref(v___y_15225_); -lean_dec(v___y_15224_); -lean_dec_ref(v___y_15223_); -v___y_15209_ = v___y_15234_; -v___y_15210_ = v___y_15222_; -goto v___jp_15208_; -} -else -{ -lean_object* v___x_15236_; lean_object* v___x_15237_; lean_object* v___x_15238_; lean_object* v___x_15239_; -v___x_15236_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__1); -lean_inc_ref(v___y_15222_); -v___x_15237_ = l_Lean_MessageData_ofExpr(v___y_15222_); -v___x_15238_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15238_, 0, v___x_15236_); -lean_ctor_set(v___x_15238_, 1, v___x_15237_); -v___x_15239_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15218_, v___x_15238_, v___y_15223_, v___y_15224_, v___y_15225_, v___y_15226_); -lean_dec(v___y_15226_); -lean_dec_ref(v___y_15225_); -lean_dec(v___y_15224_); -lean_dec_ref(v___y_15223_); -if (lean_obj_tag(v___x_15239_) == 0) -{ -lean_dec_ref(v___x_15239_); -v___y_15209_ = v___y_15234_; -v___y_15210_ = v___y_15222_; -goto v___jp_15208_; -} -else -{ -lean_object* v_a_15240_; lean_object* v___x_15242_; uint8_t v_isShared_15243_; uint8_t v_isSharedCheck_15247_; -lean_dec_ref(v___y_15234_); -lean_dec_ref(v___y_15222_); -lean_dec_ref(v_s_15202_); -v_a_15240_ = lean_ctor_get(v___x_15239_, 0); -v_isSharedCheck_15247_ = !lean_is_exclusive(v___x_15239_); -if (v_isSharedCheck_15247_ == 0) -{ -v___x_15242_ = v___x_15239_; -v_isShared_15243_ = v_isSharedCheck_15247_; -goto v_resetjp_15241_; -} -else -{ -lean_inc(v_a_15240_); -lean_dec(v___x_15239_); -v___x_15242_ = lean_box(0); -v_isShared_15243_ = v_isSharedCheck_15247_; -goto v_resetjp_15241_; -} -v_resetjp_15241_: -{ -lean_object* v___x_15245_; -if (v_isShared_15243_ == 0) +lean_dec_ref(v_s_15205_); +v_a_15243_ = lean_ctor_get(v___x_15242_, 0); +v_isSharedCheck_15250_ = !lean_is_exclusive(v___x_15242_); +if (v_isSharedCheck_15250_ == 0) { v___x_15245_ = v___x_15242_; -goto v_reusejp_15244_; +v_isShared_15246_ = v_isSharedCheck_15250_; +goto v_resetjp_15244_; } else { -lean_object* v_reuseFailAlloc_15246_; -v_reuseFailAlloc_15246_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15246_, 0, v_a_15240_); -v___x_15245_ = v_reuseFailAlloc_15246_; -goto v_reusejp_15244_; +lean_inc(v_a_15243_); +lean_dec(v___x_15242_); +v___x_15245_ = lean_box(0); +v_isShared_15246_ = v_isSharedCheck_15250_; +goto v_resetjp_15244_; } -v_reusejp_15244_: +v_resetjp_15244_: { -return v___x_15245_; +lean_object* v___x_15248_; +if (v_isShared_15246_ == 0) +{ +v___x_15248_ = v___x_15245_; +goto v_reusejp_15247_; +} +else +{ +lean_object* v_reuseFailAlloc_15249_; +v_reuseFailAlloc_15249_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15249_, 0, v_a_15243_); +v___x_15248_ = v_reuseFailAlloc_15249_; +goto v_reusejp_15247_; +} +v_reusejp_15247_: +{ +return v___x_15248_; } } } @@ -51153,270 +51170,270 @@ return v___x_15245_; } else { -lean_object* v_a_15248_; lean_object* v___x_15250_; uint8_t v_isShared_15251_; uint8_t v_isSharedCheck_15255_; -lean_dec(v_a_15230_); -lean_dec(v___y_15226_); +lean_object* v_a_15251_; lean_object* v___x_15253_; uint8_t v_isShared_15254_; uint8_t v_isSharedCheck_15258_; +lean_dec(v_a_15233_); +lean_dec(v___y_15229_); +lean_dec_ref(v___y_15228_); +lean_dec(v___y_15227_); +lean_dec_ref(v___y_15226_); lean_dec_ref(v___y_15225_); lean_dec(v___y_15224_); lean_dec_ref(v___y_15223_); -lean_dec_ref(v___y_15222_); -lean_dec(v___y_15221_); -lean_dec_ref(v___y_15220_); -lean_dec_ref(v_s_15202_); -lean_dec_ref(v_altInfos_15201_); -lean_dec_ref(v_discrInfos_15197_); -lean_dec(v_numDiscrs_15196_); -v_a_15248_ = lean_ctor_get(v___x_15231_, 0); -v_isSharedCheck_15255_ = !lean_is_exclusive(v___x_15231_); -if (v_isSharedCheck_15255_ == 0) +lean_dec_ref(v_s_15205_); +lean_dec_ref(v_altInfos_15204_); +lean_dec_ref(v_discrInfos_15200_); +lean_dec(v_numDiscrs_15199_); +v_a_15251_ = lean_ctor_get(v___x_15234_, 0); +v_isSharedCheck_15258_ = !lean_is_exclusive(v___x_15234_); +if (v_isSharedCheck_15258_ == 0) { -v___x_15250_ = v___x_15231_; -v_isShared_15251_ = v_isSharedCheck_15255_; -goto v_resetjp_15249_; +v___x_15253_ = v___x_15234_; +v_isShared_15254_ = v_isSharedCheck_15258_; +goto v_resetjp_15252_; } else { -lean_inc(v_a_15248_); -lean_dec(v___x_15231_); -v___x_15250_ = lean_box(0); -v_isShared_15251_ = v_isSharedCheck_15255_; -goto v_resetjp_15249_; +lean_inc(v_a_15251_); +lean_dec(v___x_15234_); +v___x_15253_ = lean_box(0); +v_isShared_15254_ = v_isSharedCheck_15258_; +goto v_resetjp_15252_; } -v_resetjp_15249_: +v_resetjp_15252_: { -lean_object* v___x_15253_; -if (v_isShared_15251_ == 0) +lean_object* v___x_15256_; +if (v_isShared_15254_ == 0) { -v___x_15253_ = v___x_15250_; -goto v_reusejp_15252_; +v___x_15256_ = v___x_15253_; +goto v_reusejp_15255_; } else { -lean_object* v_reuseFailAlloc_15254_; -v_reuseFailAlloc_15254_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15254_, 0, v_a_15248_); -v___x_15253_ = v_reuseFailAlloc_15254_; -goto v_reusejp_15252_; +lean_object* v_reuseFailAlloc_15257_; +v_reuseFailAlloc_15257_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15257_, 0, v_a_15251_); +v___x_15256_ = v_reuseFailAlloc_15257_; +goto v_reusejp_15255_; } -v_reusejp_15252_: +v_reusejp_15255_: { -return v___x_15253_; +return v___x_15256_; } } } } else { -lean_object* v_a_15256_; lean_object* v___x_15258_; uint8_t v_isShared_15259_; uint8_t v_isSharedCheck_15263_; -lean_dec(v___y_15226_); +lean_object* v_a_15259_; lean_object* v___x_15261_; uint8_t v_isShared_15262_; uint8_t v_isSharedCheck_15266_; +lean_dec(v___y_15229_); +lean_dec_ref(v___y_15228_); +lean_dec(v___y_15227_); +lean_dec_ref(v___y_15226_); lean_dec_ref(v___y_15225_); lean_dec(v___y_15224_); lean_dec_ref(v___y_15223_); -lean_dec_ref(v___y_15222_); -lean_dec(v___y_15221_); -lean_dec_ref(v___y_15220_); -lean_dec_ref(v_s_15202_); -lean_dec_ref(v_altInfos_15201_); -lean_dec_ref(v_discrInfos_15197_); -lean_dec(v_numDiscrs_15196_); -lean_dec(v_a_15195_); -lean_dec(v_uElimGen_15194_); -v_a_15256_ = lean_ctor_get(v___x_15229_, 0); -v_isSharedCheck_15263_ = !lean_is_exclusive(v___x_15229_); -if (v_isSharedCheck_15263_ == 0) +lean_dec_ref(v_s_15205_); +lean_dec_ref(v_altInfos_15204_); +lean_dec_ref(v_discrInfos_15200_); +lean_dec(v_numDiscrs_15199_); +lean_dec(v_a_15198_); +lean_dec(v_uElimGen_15197_); +v_a_15259_ = lean_ctor_get(v___x_15232_, 0); +v_isSharedCheck_15266_ = !lean_is_exclusive(v___x_15232_); +if (v_isSharedCheck_15266_ == 0) { -v___x_15258_ = v___x_15229_; -v_isShared_15259_ = v_isSharedCheck_15263_; -goto v_resetjp_15257_; +v___x_15261_ = v___x_15232_; +v_isShared_15262_ = v_isSharedCheck_15266_; +goto v_resetjp_15260_; } else { -lean_inc(v_a_15256_); -lean_dec(v___x_15229_); -v___x_15258_ = lean_box(0); -v_isShared_15259_ = v_isSharedCheck_15263_; -goto v_resetjp_15257_; +lean_inc(v_a_15259_); +lean_dec(v___x_15232_); +v___x_15261_ = lean_box(0); +v_isShared_15262_ = v_isSharedCheck_15266_; +goto v_resetjp_15260_; } -v_resetjp_15257_: +v_resetjp_15260_: { -lean_object* v___x_15261_; -if (v_isShared_15259_ == 0) +lean_object* v___x_15264_; +if (v_isShared_15262_ == 0) { -v___x_15261_ = v___x_15258_; -goto v_reusejp_15260_; +v___x_15264_ = v___x_15261_; +goto v_reusejp_15263_; } else { -lean_object* v_reuseFailAlloc_15262_; -v_reuseFailAlloc_15262_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15262_, 0, v_a_15256_); -v___x_15261_ = v_reuseFailAlloc_15262_; -goto v_reusejp_15260_; +lean_object* v_reuseFailAlloc_15265_; +v_reuseFailAlloc_15265_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15265_, 0, v_a_15259_); +v___x_15264_ = v_reuseFailAlloc_15265_; +goto v_reusejp_15263_; } -v_reusejp_15260_: +v_reusejp_15263_: { -return v___x_15261_; +return v___x_15264_; } } } } -v___jp_15264_: +v___jp_15267_: { -lean_object* v___x_15270_; -lean_inc(v___y_15268_); -lean_inc_ref(v___y_15267_); -lean_inc(v___y_15266_); -lean_inc_ref(v___y_15265_); -v___x_15270_ = l_Lean_Meta_Match_mkMatcherAuxDefinition(v_matcherName_15193_, v_type_15199_, v_val_15200_, v___y_15269_, v___y_15265_, v___y_15266_, v___y_15267_, v___y_15268_); -if (lean_obj_tag(v___x_15270_) == 0) +lean_object* v___x_15273_; +lean_inc(v___y_15271_); +lean_inc_ref(v___y_15269_); +lean_inc(v___y_15270_); +lean_inc_ref(v___y_15268_); +v___x_15273_ = l_Lean_Meta_Match_mkMatcherAuxDefinition(v_matcherName_15196_, v_type_15202_, v_val_15203_, v___y_15272_, v___y_15268_, v___y_15270_, v___y_15269_, v___y_15271_); +if (lean_obj_tag(v___x_15273_) == 0) { -lean_object* v_a_15271_; lean_object* v_fst_15272_; lean_object* v_snd_15273_; lean_object* v___x_15275_; uint8_t v_isShared_15276_; uint8_t v_isSharedCheck_15302_; -v_a_15271_ = lean_ctor_get(v___x_15270_, 0); -lean_inc(v_a_15271_); -lean_dec_ref(v___x_15270_); -v_fst_15272_ = lean_ctor_get(v_a_15271_, 0); -v_snd_15273_ = lean_ctor_get(v_a_15271_, 1); -v_isSharedCheck_15302_ = !lean_is_exclusive(v_a_15271_); -if (v_isSharedCheck_15302_ == 0) +lean_object* v_a_15274_; lean_object* v_fst_15275_; lean_object* v_snd_15276_; lean_object* v___x_15278_; uint8_t v_isShared_15279_; uint8_t v_isSharedCheck_15305_; +v_a_15274_ = lean_ctor_get(v___x_15273_, 0); +lean_inc(v_a_15274_); +lean_dec_ref(v___x_15273_); +v_fst_15275_ = lean_ctor_get(v_a_15274_, 0); +v_snd_15276_ = lean_ctor_get(v_a_15274_, 1); +v_isSharedCheck_15305_ = !lean_is_exclusive(v_a_15274_); +if (v_isSharedCheck_15305_ == 0) { -v___x_15275_ = v_a_15271_; -v_isShared_15276_ = v_isSharedCheck_15302_; -goto v_resetjp_15274_; +v___x_15278_ = v_a_15274_; +v_isShared_15279_ = v_isSharedCheck_15305_; +goto v_resetjp_15277_; } else { -lean_inc(v_snd_15273_); -lean_inc(v_fst_15272_); -lean_dec(v_a_15271_); -v___x_15275_ = lean_box(0); -v_isShared_15276_ = v_isSharedCheck_15302_; -goto v_resetjp_15274_; +lean_inc(v_snd_15276_); +lean_inc(v_fst_15275_); +lean_dec(v_a_15274_); +v___x_15278_ = lean_box(0); +v_isShared_15279_ = v_isSharedCheck_15305_; +goto v_resetjp_15277_; } -v_resetjp_15274_: +v_resetjp_15277_: { -lean_object* v___x_15277_; lean_object* v_a_15278_; uint8_t v___x_15279_; -v___x_15277_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15218_, v___y_15267_); -v_a_15278_ = lean_ctor_get(v___x_15277_, 0); -lean_inc(v_a_15278_); -lean_dec_ref(v___x_15277_); -v___x_15279_ = lean_unbox(v_a_15278_); -lean_dec(v_a_15278_); -if (v___x_15279_ == 0) +lean_object* v___x_15280_; lean_object* v_a_15281_; uint8_t v___x_15282_; +v___x_15280_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15221_, v___y_15269_); +v_a_15281_ = lean_ctor_get(v___x_15280_, 0); +lean_inc(v_a_15281_); +lean_dec_ref(v___x_15280_); +v___x_15282_ = lean_unbox(v_a_15281_); +lean_dec(v_a_15281_); +if (v___x_15282_ == 0) { -lean_del_object(v___x_15275_); -lean_inc(v_fst_15272_); -v___y_15220_ = v_fst_15272_; -v___y_15221_ = v_snd_15273_; -v___y_15222_ = v_fst_15272_; -v___y_15223_ = v___y_15265_; -v___y_15224_ = v___y_15266_; -v___y_15225_ = v___y_15267_; +lean_del_object(v___x_15278_); +lean_inc(v_fst_15275_); +v___y_15223_ = v_fst_15275_; +v___y_15224_ = v_snd_15276_; +v___y_15225_ = v_fst_15275_; v___y_15226_ = v___y_15268_; -goto v___jp_15219_; +v___y_15227_ = v___y_15270_; +v___y_15228_ = v___y_15269_; +v___y_15229_ = v___y_15271_; +goto v___jp_15222_; } else { -lean_object* v___x_15280_; lean_object* v___x_15281_; lean_object* v___x_15282_; lean_object* v___x_15283_; lean_object* v___x_15284_; lean_object* v___x_15285_; lean_object* v___x_15287_; -v___x_15280_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__3); -v___x_15281_ = l_Lean_Expr_getAppFn(v_fst_15272_); -v___x_15282_ = l_Lean_Expr_constLevels_x21(v___x_15281_); -lean_dec_ref(v___x_15281_); -v___x_15283_ = lean_box(0); -v___x_15284_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__2(v___x_15282_, v___x_15283_); -v___x_15285_ = l_Lean_MessageData_ofList(v___x_15284_); -if (v_isShared_15276_ == 0) +lean_object* v___x_15283_; lean_object* v___x_15284_; lean_object* v___x_15285_; lean_object* v___x_15286_; lean_object* v___x_15287_; lean_object* v___x_15288_; lean_object* v___x_15290_; +v___x_15283_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__3); +v___x_15284_ = l_Lean_Expr_getAppFn(v_fst_15275_); +v___x_15285_ = l_Lean_Expr_constLevels_x21(v___x_15284_); +lean_dec_ref(v___x_15284_); +v___x_15286_ = lean_box(0); +v___x_15287_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__2(v___x_15285_, v___x_15286_); +v___x_15288_ = l_Lean_MessageData_ofList(v___x_15287_); +if (v_isShared_15279_ == 0) { -lean_ctor_set_tag(v___x_15275_, 7); -lean_ctor_set(v___x_15275_, 1, v___x_15285_); -lean_ctor_set(v___x_15275_, 0, v___x_15280_); -v___x_15287_ = v___x_15275_; -goto v_reusejp_15286_; +lean_ctor_set_tag(v___x_15278_, 7); +lean_ctor_set(v___x_15278_, 1, v___x_15288_); +lean_ctor_set(v___x_15278_, 0, v___x_15283_); +v___x_15290_ = v___x_15278_; +goto v_reusejp_15289_; } else { -lean_object* v_reuseFailAlloc_15301_; -v_reuseFailAlloc_15301_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15301_, 0, v___x_15280_); -lean_ctor_set(v_reuseFailAlloc_15301_, 1, v___x_15285_); -v___x_15287_ = v_reuseFailAlloc_15301_; -goto v_reusejp_15286_; +lean_object* v_reuseFailAlloc_15304_; +v_reuseFailAlloc_15304_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15304_, 0, v___x_15283_); +lean_ctor_set(v_reuseFailAlloc_15304_, 1, v___x_15288_); +v___x_15290_ = v_reuseFailAlloc_15304_; +goto v_reusejp_15289_; } -v_reusejp_15286_: +v_reusejp_15289_: { -lean_object* v___x_15288_; lean_object* v___x_15289_; lean_object* v___x_15290_; lean_object* v___x_15291_; lean_object* v___x_15292_; -v___x_15288_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__5, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__5_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__5); -v___x_15289_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15289_, 0, v___x_15287_); -lean_ctor_set(v___x_15289_, 1, v___x_15288_); -lean_inc(v_uElimGen_15194_); -v___x_15290_ = l_Lean_MessageData_ofLevel(v_uElimGen_15194_); -v___x_15291_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15291_, 0, v___x_15289_); -lean_ctor_set(v___x_15291_, 1, v___x_15290_); -v___x_15292_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15218_, v___x_15291_, v___y_15265_, v___y_15266_, v___y_15267_, v___y_15268_); -if (lean_obj_tag(v___x_15292_) == 0) +lean_object* v___x_15291_; lean_object* v___x_15292_; lean_object* v___x_15293_; lean_object* v___x_15294_; lean_object* v___x_15295_; +v___x_15291_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__5, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__5_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__5); +v___x_15292_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15292_, 0, v___x_15290_); +lean_ctor_set(v___x_15292_, 1, v___x_15291_); +lean_inc(v_uElimGen_15197_); +v___x_15293_ = l_Lean_MessageData_ofLevel(v_uElimGen_15197_); +v___x_15294_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15294_, 0, v___x_15292_); +lean_ctor_set(v___x_15294_, 1, v___x_15293_); +v___x_15295_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15221_, v___x_15294_, v___y_15268_, v___y_15270_, v___y_15269_, v___y_15271_); +if (lean_obj_tag(v___x_15295_) == 0) { -lean_dec_ref(v___x_15292_); -lean_inc(v_fst_15272_); -v___y_15220_ = v_fst_15272_; -v___y_15221_ = v_snd_15273_; -v___y_15222_ = v_fst_15272_; -v___y_15223_ = v___y_15265_; -v___y_15224_ = v___y_15266_; -v___y_15225_ = v___y_15267_; +lean_dec_ref(v___x_15295_); +lean_inc(v_fst_15275_); +v___y_15223_ = v_fst_15275_; +v___y_15224_ = v_snd_15276_; +v___y_15225_ = v_fst_15275_; v___y_15226_ = v___y_15268_; -goto v___jp_15219_; +v___y_15227_ = v___y_15270_; +v___y_15228_ = v___y_15269_; +v___y_15229_ = v___y_15271_; +goto v___jp_15222_; } else { -lean_object* v_a_15293_; lean_object* v___x_15295_; uint8_t v_isShared_15296_; uint8_t v_isSharedCheck_15300_; -lean_dec(v_snd_15273_); -lean_dec(v_fst_15272_); -lean_dec(v___y_15268_); -lean_dec_ref(v___y_15267_); -lean_dec(v___y_15266_); -lean_dec_ref(v___y_15265_); -lean_dec_ref(v_s_15202_); -lean_dec_ref(v_altInfos_15201_); -lean_dec_ref(v_discrInfos_15197_); -lean_dec(v_numDiscrs_15196_); -lean_dec(v_a_15195_); -lean_dec(v_uElimGen_15194_); -v_a_15293_ = lean_ctor_get(v___x_15292_, 0); -v_isSharedCheck_15300_ = !lean_is_exclusive(v___x_15292_); -if (v_isSharedCheck_15300_ == 0) -{ -v___x_15295_ = v___x_15292_; -v_isShared_15296_ = v_isSharedCheck_15300_; -goto v_resetjp_15294_; -} -else -{ -lean_inc(v_a_15293_); -lean_dec(v___x_15292_); -v___x_15295_ = lean_box(0); -v_isShared_15296_ = v_isSharedCheck_15300_; -goto v_resetjp_15294_; -} -v_resetjp_15294_: -{ -lean_object* v___x_15298_; -if (v_isShared_15296_ == 0) +lean_object* v_a_15296_; lean_object* v___x_15298_; uint8_t v_isShared_15299_; uint8_t v_isSharedCheck_15303_; +lean_dec(v_snd_15276_); +lean_dec(v_fst_15275_); +lean_dec(v___y_15271_); +lean_dec(v___y_15270_); +lean_dec_ref(v___y_15269_); +lean_dec_ref(v___y_15268_); +lean_dec_ref(v_s_15205_); +lean_dec_ref(v_altInfos_15204_); +lean_dec_ref(v_discrInfos_15200_); +lean_dec(v_numDiscrs_15199_); +lean_dec(v_a_15198_); +lean_dec(v_uElimGen_15197_); +v_a_15296_ = lean_ctor_get(v___x_15295_, 0); +v_isSharedCheck_15303_ = !lean_is_exclusive(v___x_15295_); +if (v_isSharedCheck_15303_ == 0) { v___x_15298_ = v___x_15295_; -goto v_reusejp_15297_; +v_isShared_15299_ = v_isSharedCheck_15303_; +goto v_resetjp_15297_; } else { -lean_object* v_reuseFailAlloc_15299_; -v_reuseFailAlloc_15299_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15299_, 0, v_a_15293_); -v___x_15298_ = v_reuseFailAlloc_15299_; -goto v_reusejp_15297_; +lean_inc(v_a_15296_); +lean_dec(v___x_15295_); +v___x_15298_ = lean_box(0); +v_isShared_15299_ = v_isSharedCheck_15303_; +goto v_resetjp_15297_; } -v_reusejp_15297_: +v_resetjp_15297_: { -return v___x_15298_; +lean_object* v___x_15301_; +if (v_isShared_15299_ == 0) +{ +v___x_15301_ = v___x_15298_; +goto v_reusejp_15300_; +} +else +{ +lean_object* v_reuseFailAlloc_15302_; +v_reuseFailAlloc_15302_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15302_, 0, v_a_15296_); +v___x_15301_ = v_reuseFailAlloc_15302_; +goto v_reusejp_15300_; +} +v_reusejp_15300_: +{ +return v___x_15301_; } } } @@ -51426,150 +51443,150 @@ return v___x_15298_; } else { -lean_object* v_a_15303_; lean_object* v___x_15305_; uint8_t v_isShared_15306_; uint8_t v_isSharedCheck_15310_; -lean_dec(v___y_15268_); -lean_dec_ref(v___y_15267_); -lean_dec(v___y_15266_); -lean_dec_ref(v___y_15265_); -lean_dec_ref(v_s_15202_); -lean_dec_ref(v_altInfos_15201_); -lean_dec_ref(v_discrInfos_15197_); -lean_dec(v_numDiscrs_15196_); -lean_dec(v_a_15195_); -lean_dec(v_uElimGen_15194_); -v_a_15303_ = lean_ctor_get(v___x_15270_, 0); -v_isSharedCheck_15310_ = !lean_is_exclusive(v___x_15270_); -if (v_isSharedCheck_15310_ == 0) +lean_object* v_a_15306_; lean_object* v___x_15308_; uint8_t v_isShared_15309_; uint8_t v_isSharedCheck_15313_; +lean_dec(v___y_15271_); +lean_dec(v___y_15270_); +lean_dec_ref(v___y_15269_); +lean_dec_ref(v___y_15268_); +lean_dec_ref(v_s_15205_); +lean_dec_ref(v_altInfos_15204_); +lean_dec_ref(v_discrInfos_15200_); +lean_dec(v_numDiscrs_15199_); +lean_dec(v_a_15198_); +lean_dec(v_uElimGen_15197_); +v_a_15306_ = lean_ctor_get(v___x_15273_, 0); +v_isSharedCheck_15313_ = !lean_is_exclusive(v___x_15273_); +if (v_isSharedCheck_15313_ == 0) { -v___x_15305_ = v___x_15270_; -v_isShared_15306_ = v_isSharedCheck_15310_; -goto v_resetjp_15304_; +v___x_15308_ = v___x_15273_; +v_isShared_15309_ = v_isSharedCheck_15313_; +goto v_resetjp_15307_; } else { -lean_inc(v_a_15303_); -lean_dec(v___x_15270_); -v___x_15305_ = lean_box(0); -v_isShared_15306_ = v_isSharedCheck_15310_; -goto v_resetjp_15304_; +lean_inc(v_a_15306_); +lean_dec(v___x_15273_); +v___x_15308_ = lean_box(0); +v_isShared_15309_ = v_isSharedCheck_15313_; +goto v_resetjp_15307_; } -v_resetjp_15304_: +v_resetjp_15307_: { -lean_object* v___x_15308_; -if (v_isShared_15306_ == 0) +lean_object* v___x_15311_; +if (v_isShared_15309_ == 0) { -v___x_15308_ = v___x_15305_; -goto v_reusejp_15307_; +v___x_15311_ = v___x_15308_; +goto v_reusejp_15310_; } else { -lean_object* v_reuseFailAlloc_15309_; -v_reuseFailAlloc_15309_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15309_, 0, v_a_15303_); -v___x_15308_ = v_reuseFailAlloc_15309_; -goto v_reusejp_15307_; +lean_object* v_reuseFailAlloc_15312_; +v_reuseFailAlloc_15312_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15312_, 0, v_a_15306_); +v___x_15311_ = v_reuseFailAlloc_15312_; +goto v_reusejp_15310_; } -v_reusejp_15307_: +v_reusejp_15310_: { -return v___x_15308_; +return v___x_15311_; } } } } -v___jp_15311_: +v___jp_15314_: { -if (lean_obj_tag(v_isSplitter_15198_) == 0) +if (lean_obj_tag(v_isSplitter_15201_) == 0) { -uint8_t v___x_15316_; -v___x_15316_ = 0; -v___y_15265_ = v___y_15312_; -v___y_15266_ = v___y_15313_; -v___y_15267_ = v___y_15314_; +uint8_t v___x_15319_; +v___x_15319_ = 0; v___y_15268_ = v___y_15315_; -v___y_15269_ = v___x_15316_; -goto v___jp_15264_; +v___y_15269_ = v___y_15317_; +v___y_15270_ = v___y_15316_; +v___y_15271_ = v___y_15318_; +v___y_15272_ = v___x_15319_; +goto v___jp_15267_; } else { -uint8_t v___x_15317_; -v___x_15317_ = 1; -v___y_15265_ = v___y_15312_; -v___y_15266_ = v___y_15313_; -v___y_15267_ = v___y_15314_; +uint8_t v___x_15320_; +v___x_15320_ = 1; v___y_15268_ = v___y_15315_; -v___y_15269_ = v___x_15317_; -goto v___jp_15264_; +v___y_15269_ = v___y_15317_; +v___y_15270_ = v___y_15316_; +v___y_15271_ = v___y_15318_; +v___y_15272_ = v___x_15320_; +goto v___jp_15267_; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__1___boxed(lean_object* v_lhss_15337_, lean_object* v_matcherName_15338_, lean_object* v_uElimGen_15339_, lean_object* v_a_15340_, lean_object* v_numDiscrs_15341_, lean_object* v_discrInfos_15342_, lean_object* v_isSplitter_15343_, lean_object* v_type_15344_, lean_object* v_val_15345_, lean_object* v_altInfos_15346_, lean_object* v_s_15347_, lean_object* v___y_15348_, lean_object* v___y_15349_, lean_object* v___y_15350_, lean_object* v___y_15351_, lean_object* v___y_15352_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__1___boxed(lean_object* v_lhss_15340_, lean_object* v_matcherName_15341_, lean_object* v_uElimGen_15342_, lean_object* v_a_15343_, lean_object* v_numDiscrs_15344_, lean_object* v_discrInfos_15345_, lean_object* v_isSplitter_15346_, lean_object* v_type_15347_, lean_object* v_val_15348_, lean_object* v_altInfos_15349_, lean_object* v_s_15350_, lean_object* v___y_15351_, lean_object* v___y_15352_, lean_object* v___y_15353_, lean_object* v___y_15354_, lean_object* v___y_15355_){ _start: { -lean_object* v_res_15353_; -v_res_15353_ = l_Lean_Meta_Match_mkMatcher___lam__1(v_lhss_15337_, v_matcherName_15338_, v_uElimGen_15339_, v_a_15340_, v_numDiscrs_15341_, v_discrInfos_15342_, v_isSplitter_15343_, v_type_15344_, v_val_15345_, v_altInfos_15346_, v_s_15347_, v___y_15348_, v___y_15349_, v___y_15350_, v___y_15351_); -lean_dec(v_isSplitter_15343_); -lean_dec(v_lhss_15337_); -return v_res_15353_; +lean_object* v_res_15356_; +v_res_15356_ = l_Lean_Meta_Match_mkMatcher___lam__1(v_lhss_15340_, v_matcherName_15341_, v_uElimGen_15342_, v_a_15343_, v_numDiscrs_15344_, v_discrInfos_15345_, v_isSplitter_15346_, v_type_15347_, v_val_15348_, v_altInfos_15349_, v_s_15350_, v___y_15351_, v___y_15352_, v___y_15353_, v___y_15354_); +lean_dec(v_isSplitter_15346_); +lean_dec(v_lhss_15340_); +return v_res_15356_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(lean_object* v_a_15354_, lean_object* v_a_15355_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(lean_object* v_a_15357_, lean_object* v_a_15358_){ _start: { -if (lean_obj_tag(v_a_15354_) == 0) +if (lean_obj_tag(v_a_15357_) == 0) { -lean_object* v___x_15356_; -v___x_15356_ = l_List_reverse___redArg(v_a_15355_); -return v___x_15356_; +lean_object* v___x_15359_; +v___x_15359_ = l_List_reverse___redArg(v_a_15358_); +return v___x_15359_; } else { -lean_object* v_head_15357_; lean_object* v_tail_15358_; lean_object* v___x_15360_; uint8_t v_isShared_15361_; uint8_t v_isSharedCheck_15368_; -v_head_15357_ = lean_ctor_get(v_a_15354_, 0); -v_tail_15358_ = lean_ctor_get(v_a_15354_, 1); -v_isSharedCheck_15368_ = !lean_is_exclusive(v_a_15354_); -if (v_isSharedCheck_15368_ == 0) +lean_object* v_head_15360_; lean_object* v_tail_15361_; lean_object* v___x_15363_; uint8_t v_isShared_15364_; uint8_t v_isSharedCheck_15371_; +v_head_15360_ = lean_ctor_get(v_a_15357_, 0); +v_tail_15361_ = lean_ctor_get(v_a_15357_, 1); +v_isSharedCheck_15371_ = !lean_is_exclusive(v_a_15357_); +if (v_isSharedCheck_15371_ == 0) { -v___x_15360_ = v_a_15354_; -v_isShared_15361_ = v_isSharedCheck_15368_; -goto v_resetjp_15359_; +v___x_15363_ = v_a_15357_; +v_isShared_15364_ = v_isSharedCheck_15371_; +goto v_resetjp_15362_; } else { -lean_inc(v_tail_15358_); -lean_inc(v_head_15357_); -lean_dec(v_a_15354_); -v___x_15360_ = lean_box(0); -v_isShared_15361_ = v_isSharedCheck_15368_; -goto v_resetjp_15359_; +lean_inc(v_tail_15361_); +lean_inc(v_head_15360_); +lean_dec(v_a_15357_); +v___x_15363_ = lean_box(0); +v_isShared_15364_ = v_isSharedCheck_15371_; +goto v_resetjp_15362_; } -v_resetjp_15359_: +v_resetjp_15362_: { -lean_object* v___x_15362_; lean_object* v___x_15363_; lean_object* v___x_15365_; -v___x_15362_ = l_Lean_Expr_fvarId_x21(v_head_15357_); -lean_dec(v_head_15357_); -v___x_15363_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15363_, 0, v___x_15362_); -if (v_isShared_15361_ == 0) +lean_object* v___x_15365_; lean_object* v___x_15366_; lean_object* v___x_15368_; +v___x_15365_ = l_Lean_Expr_fvarId_x21(v_head_15360_); +lean_dec(v_head_15360_); +v___x_15366_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15366_, 0, v___x_15365_); +if (v_isShared_15364_ == 0) { -lean_ctor_set(v___x_15360_, 1, v_a_15355_); -lean_ctor_set(v___x_15360_, 0, v___x_15363_); -v___x_15365_ = v___x_15360_; -goto v_reusejp_15364_; +lean_ctor_set(v___x_15363_, 1, v_a_15358_); +lean_ctor_set(v___x_15363_, 0, v___x_15366_); +v___x_15368_ = v___x_15363_; +goto v_reusejp_15367_; } else { -lean_object* v_reuseFailAlloc_15367_; -v_reuseFailAlloc_15367_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15367_, 0, v___x_15363_); -lean_ctor_set(v_reuseFailAlloc_15367_, 1, v_a_15355_); -v___x_15365_ = v_reuseFailAlloc_15367_; -goto v_reusejp_15364_; +lean_object* v_reuseFailAlloc_15370_; +v_reuseFailAlloc_15370_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15370_, 0, v___x_15366_); +lean_ctor_set(v_reuseFailAlloc_15370_, 1, v_a_15358_); +v___x_15368_ = v_reuseFailAlloc_15370_; +goto v_reusejp_15367_; } -v_reusejp_15364_: +v_reusejp_15367_: { -v_a_15354_ = v_tail_15358_; -v_a_15355_ = v___x_15365_; +v_a_15357_ = v_tail_15361_; +v_a_15358_ = v___x_15368_; goto _start; } } @@ -51579,1266 +51596,1266 @@ goto _start; static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__0(void){ _start: { -lean_object* v___x_15369_; lean_object* v___x_15370_; lean_object* v___x_15371_; -v___x_15369_ = lean_box(0); -v___x_15370_ = lean_unsigned_to_nat(16u); -v___x_15371_ = lean_mk_array(v___x_15370_, v___x_15369_); -return v___x_15371_; +lean_object* v___x_15372_; lean_object* v___x_15373_; lean_object* v___x_15374_; +v___x_15372_ = lean_box(0); +v___x_15373_ = lean_unsigned_to_nat(16u); +v___x_15374_ = lean_mk_array(v___x_15373_, v___x_15372_); +return v___x_15374_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__1(void){ _start: { -lean_object* v___x_15372_; lean_object* v___x_15373_; lean_object* v___x_15374_; -v___x_15372_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__0, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__0_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__0); -v___x_15373_ = lean_unsigned_to_nat(0u); -v___x_15374_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15374_, 0, v___x_15373_); -lean_ctor_set(v___x_15374_, 1, v___x_15372_); -return v___x_15374_; +lean_object* v___x_15375_; lean_object* v___x_15376_; lean_object* v___x_15377_; +v___x_15375_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__0, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__0_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__0); +v___x_15376_ = lean_unsigned_to_nat(0u); +v___x_15377_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15377_, 0, v___x_15376_); +lean_ctor_set(v___x_15377_, 1, v___x_15375_); +return v___x_15377_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__2(void){ _start: { -lean_object* v___x_15375_; lean_object* v___x_15376_; lean_object* v___x_15377_; -v___x_15375_ = lean_box(0); -v___x_15376_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__1); -v___x_15377_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_15377_, 0, v___x_15376_); -lean_ctor_set(v___x_15377_, 1, v___x_15376_); -lean_ctor_set(v___x_15377_, 2, v___x_15375_); -return v___x_15377_; +lean_object* v___x_15378_; lean_object* v___x_15379_; lean_object* v___x_15380_; +v___x_15378_ = lean_box(0); +v___x_15379_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__1); +v___x_15380_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_15380_, 0, v___x_15379_); +lean_ctor_set(v___x_15380_, 1, v___x_15379_); +lean_ctor_set(v___x_15380_, 2, v___x_15378_); +return v___x_15380_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__2(lean_object* v___x_15378_, lean_object* v_discrs_15379_, lean_object* v_motive_15380_, uint8_t v___x_15381_, uint8_t v___x_15382_, uint8_t v___x_15383_, lean_object* v___f_15384_, lean_object* v_alts_15385_, lean_object* v_minors_15386_, lean_object* v_altInfos_15387_, lean_object* v___y_15388_, lean_object* v___y_15389_, lean_object* v___y_15390_, lean_object* v___y_15391_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__2(lean_object* v___x_15381_, lean_object* v_discrs_15382_, lean_object* v_motive_15383_, uint8_t v___x_15384_, uint8_t v___x_15385_, uint8_t v___x_15386_, lean_object* v___f_15387_, lean_object* v_alts_15388_, lean_object* v_minors_15389_, lean_object* v_altInfos_15390_, lean_object* v___y_15391_, lean_object* v___y_15392_, lean_object* v___y_15393_, lean_object* v___y_15394_){ _start: { -lean_object* v___x_15393_; uint8_t v___x_15394_; lean_object* v___x_15395_; lean_object* v___x_15396_; -lean_inc_ref(v___x_15378_); -v___x_15393_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_15393_, 0, v___x_15378_); -v___x_15394_ = 0; -v___x_15395_ = lean_box(0); -lean_inc_ref(v___y_15388_); -v___x_15396_ = l_Lean_Meta_mkFreshExprMVar(v___x_15393_, v___x_15394_, v___x_15395_, v___y_15388_, v___y_15389_, v___y_15390_, v___y_15391_); -if (lean_obj_tag(v___x_15396_) == 0) -{ -lean_object* v_a_15397_; lean_object* v___x_15398_; lean_object* v___x_15399_; lean_object* v___x_15400_; lean_object* v___x_15401_; lean_object* v___x_15402_; lean_object* v___x_15403_; lean_object* v___x_15404_; lean_object* v___x_15405_; -v_a_15397_ = lean_ctor_get(v___x_15396_, 0); -lean_inc(v_a_15397_); -lean_dec_ref(v___x_15396_); +lean_object* v___x_15396_; uint8_t v___x_15397_; lean_object* v___x_15398_; lean_object* v___x_15399_; +lean_inc_ref(v___x_15381_); +v___x_15396_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_15396_, 0, v___x_15381_); +v___x_15397_ = 0; v___x_15398_ = lean_box(0); -v___x_15399_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__2, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__2_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__2); -v___x_15400_ = lean_st_mk_ref(v___x_15399_); -lean_inc_ref(v_discrs_15379_); -v___x_15401_ = lean_array_to_list(v_discrs_15379_); -lean_inc(v___x_15401_); -v___x_15402_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(v___x_15401_, v___x_15398_); -v___x_15403_ = l_Lean_Expr_mvarId_x21(v_a_15397_); -v___x_15404_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_15404_, 0, v___x_15403_); -lean_ctor_set(v___x_15404_, 1, v___x_15401_); -lean_ctor_set(v___x_15404_, 2, v_alts_15385_); -lean_ctor_set(v___x_15404_, 3, v___x_15402_); -lean_inc(v___y_15391_); -lean_inc_ref(v___y_15390_); -lean_inc(v___y_15389_); -lean_inc_ref(v___y_15388_); -lean_inc(v___x_15400_); -v___x_15405_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(v___x_15404_, v___x_15400_, v___y_15388_, v___y_15389_, v___y_15390_, v___y_15391_); -if (lean_obj_tag(v___x_15405_) == 0) +lean_inc_ref(v___y_15391_); +v___x_15399_ = l_Lean_Meta_mkFreshExprMVar(v___x_15396_, v___x_15397_, v___x_15398_, v___y_15391_, v___y_15392_, v___y_15393_, v___y_15394_); +if (lean_obj_tag(v___x_15399_) == 0) { -lean_object* v___x_15406_; lean_object* v___x_15407_; lean_object* v___x_15408_; lean_object* v___x_15409_; lean_object* v___x_15410_; lean_object* v___x_15411_; lean_object* v___x_15412_; -lean_dec_ref(v___x_15405_); -v___x_15406_ = lean_st_ref_get(v___x_15400_); -lean_dec(v___x_15400_); -v___x_15407_ = lean_unsigned_to_nat(1u); -v___x_15408_ = lean_mk_empty_array_with_capacity(v___x_15407_); -v___x_15409_ = lean_array_push(v___x_15408_, v_motive_15380_); -v___x_15410_ = l_Array_append___redArg(v___x_15409_, v_discrs_15379_); -lean_dec_ref(v_discrs_15379_); -v___x_15411_ = l_Array_append___redArg(v___x_15410_, v_minors_15386_); -v___x_15412_ = l_Lean_Meta_mkForallFVars(v___x_15411_, v___x_15378_, v___x_15381_, v___x_15382_, v___x_15382_, v___x_15383_, v___y_15388_, v___y_15389_, v___y_15390_, v___y_15391_); -if (lean_obj_tag(v___x_15412_) == 0) +lean_object* v_a_15400_; lean_object* v___x_15401_; lean_object* v___x_15402_; lean_object* v___x_15403_; lean_object* v___x_15404_; lean_object* v___x_15405_; lean_object* v___x_15406_; lean_object* v___x_15407_; lean_object* v___x_15408_; +v_a_15400_ = lean_ctor_get(v___x_15399_, 0); +lean_inc(v_a_15400_); +lean_dec_ref(v___x_15399_); +v___x_15401_ = lean_box(0); +v___x_15402_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__2, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__2_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__2); +v___x_15403_ = lean_st_mk_ref(v___x_15402_); +lean_inc_ref(v_discrs_15382_); +v___x_15404_ = lean_array_to_list(v_discrs_15382_); +lean_inc(v___x_15404_); +v___x_15405_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(v___x_15404_, v___x_15401_); +v___x_15406_ = l_Lean_Expr_mvarId_x21(v_a_15400_); +v___x_15407_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_15407_, 0, v___x_15406_); +lean_ctor_set(v___x_15407_, 1, v___x_15404_); +lean_ctor_set(v___x_15407_, 2, v_alts_15388_); +lean_ctor_set(v___x_15407_, 3, v___x_15405_); +lean_inc(v___y_15394_); +lean_inc_ref(v___y_15393_); +lean_inc(v___y_15392_); +lean_inc_ref(v___y_15391_); +lean_inc(v___x_15403_); +v___x_15408_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(v___x_15407_, v___x_15403_, v___y_15391_, v___y_15392_, v___y_15393_, v___y_15394_); +if (lean_obj_tag(v___x_15408_) == 0) { -lean_object* v_a_15413_; lean_object* v___x_15414_; -v_a_15413_ = lean_ctor_get(v___x_15412_, 0); -lean_inc(v_a_15413_); -lean_dec_ref(v___x_15412_); -v___x_15414_ = l_Lean_Meta_mkLambdaFVars(v___x_15411_, v_a_15397_, v___x_15381_, v___x_15382_, v___x_15381_, v___x_15382_, v___x_15383_, v___y_15388_, v___y_15389_, v___y_15390_, v___y_15391_); -lean_dec_ref(v___x_15411_); -if (lean_obj_tag(v___x_15414_) == 0) +lean_object* v___x_15409_; lean_object* v___x_15410_; lean_object* v___x_15411_; lean_object* v___x_15412_; lean_object* v___x_15413_; lean_object* v___x_15414_; lean_object* v___x_15415_; +lean_dec_ref(v___x_15408_); +v___x_15409_ = lean_st_ref_get(v___x_15403_); +lean_dec(v___x_15403_); +v___x_15410_ = lean_unsigned_to_nat(1u); +v___x_15411_ = lean_mk_empty_array_with_capacity(v___x_15410_); +v___x_15412_ = lean_array_push(v___x_15411_, v_motive_15383_); +v___x_15413_ = l_Array_append___redArg(v___x_15412_, v_discrs_15382_); +lean_dec_ref(v_discrs_15382_); +v___x_15414_ = l_Array_append___redArg(v___x_15413_, v_minors_15389_); +v___x_15415_ = l_Lean_Meta_mkForallFVars(v___x_15414_, v___x_15381_, v___x_15384_, v___x_15385_, v___x_15385_, v___x_15386_, v___y_15391_, v___y_15392_, v___y_15393_, v___y_15394_); +if (lean_obj_tag(v___x_15415_) == 0) { -lean_object* v_a_15415_; lean_object* v___x_15416_; -v_a_15415_ = lean_ctor_get(v___x_15414_, 0); -lean_inc(v_a_15415_); +lean_object* v_a_15416_; lean_object* v___x_15417_; +v_a_15416_ = lean_ctor_get(v___x_15415_, 0); +lean_inc(v_a_15416_); +lean_dec_ref(v___x_15415_); +v___x_15417_ = l_Lean_Meta_mkLambdaFVars(v___x_15414_, v_a_15400_, v___x_15384_, v___x_15385_, v___x_15384_, v___x_15385_, v___x_15386_, v___y_15391_, v___y_15392_, v___y_15393_, v___y_15394_); lean_dec_ref(v___x_15414_); -v___x_15416_ = lean_apply_9(v___f_15384_, v_a_15413_, v_a_15415_, v_altInfos_15387_, v___x_15406_, v___y_15388_, v___y_15389_, v___y_15390_, v___y_15391_, lean_box(0)); -return v___x_15416_; +if (lean_obj_tag(v___x_15417_) == 0) +{ +lean_object* v_a_15418_; lean_object* v___x_15419_; +v_a_15418_ = lean_ctor_get(v___x_15417_, 0); +lean_inc(v_a_15418_); +lean_dec_ref(v___x_15417_); +v___x_15419_ = lean_apply_9(v___f_15387_, v_a_15416_, v_a_15418_, v_altInfos_15390_, v___x_15409_, v___y_15391_, v___y_15392_, v___y_15393_, v___y_15394_, lean_box(0)); +return v___x_15419_; } else { -lean_object* v_a_15417_; lean_object* v___x_15419_; uint8_t v_isShared_15420_; uint8_t v_isSharedCheck_15424_; -lean_dec(v_a_15413_); -lean_dec(v___x_15406_); -lean_dec(v___y_15391_); -lean_dec_ref(v___y_15390_); -lean_dec(v___y_15389_); -lean_dec_ref(v___y_15388_); -lean_dec_ref(v_altInfos_15387_); -lean_dec_ref(v___f_15384_); -v_a_15417_ = lean_ctor_get(v___x_15414_, 0); -v_isSharedCheck_15424_ = !lean_is_exclusive(v___x_15414_); -if (v_isSharedCheck_15424_ == 0) +lean_object* v_a_15420_; lean_object* v___x_15422_; uint8_t v_isShared_15423_; uint8_t v_isSharedCheck_15427_; +lean_dec(v_a_15416_); +lean_dec(v___x_15409_); +lean_dec(v___y_15394_); +lean_dec_ref(v___y_15393_); +lean_dec(v___y_15392_); +lean_dec_ref(v___y_15391_); +lean_dec_ref(v_altInfos_15390_); +lean_dec_ref(v___f_15387_); +v_a_15420_ = lean_ctor_get(v___x_15417_, 0); +v_isSharedCheck_15427_ = !lean_is_exclusive(v___x_15417_); +if (v_isSharedCheck_15427_ == 0) { -v___x_15419_ = v___x_15414_; -v_isShared_15420_ = v_isSharedCheck_15424_; -goto v_resetjp_15418_; +v___x_15422_ = v___x_15417_; +v_isShared_15423_ = v_isSharedCheck_15427_; +goto v_resetjp_15421_; } else { -lean_inc(v_a_15417_); -lean_dec(v___x_15414_); -v___x_15419_ = lean_box(0); -v_isShared_15420_ = v_isSharedCheck_15424_; -goto v_resetjp_15418_; +lean_inc(v_a_15420_); +lean_dec(v___x_15417_); +v___x_15422_ = lean_box(0); +v_isShared_15423_ = v_isSharedCheck_15427_; +goto v_resetjp_15421_; } -v_resetjp_15418_: +v_resetjp_15421_: { -lean_object* v___x_15422_; -if (v_isShared_15420_ == 0) +lean_object* v___x_15425_; +if (v_isShared_15423_ == 0) { -v___x_15422_ = v___x_15419_; -goto v_reusejp_15421_; +v___x_15425_ = v___x_15422_; +goto v_reusejp_15424_; } else { -lean_object* v_reuseFailAlloc_15423_; -v_reuseFailAlloc_15423_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15423_, 0, v_a_15417_); -v___x_15422_ = v_reuseFailAlloc_15423_; -goto v_reusejp_15421_; +lean_object* v_reuseFailAlloc_15426_; +v_reuseFailAlloc_15426_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15426_, 0, v_a_15420_); +v___x_15425_ = v_reuseFailAlloc_15426_; +goto v_reusejp_15424_; } -v_reusejp_15421_: +v_reusejp_15424_: { -return v___x_15422_; +return v___x_15425_; } } } } else { -lean_object* v_a_15425_; lean_object* v___x_15427_; uint8_t v_isShared_15428_; uint8_t v_isSharedCheck_15432_; -lean_dec_ref(v___x_15411_); -lean_dec(v___x_15406_); -lean_dec(v_a_15397_); -lean_dec(v___y_15391_); -lean_dec_ref(v___y_15390_); -lean_dec(v___y_15389_); -lean_dec_ref(v___y_15388_); -lean_dec_ref(v_altInfos_15387_); -lean_dec_ref(v___f_15384_); -v_a_15425_ = lean_ctor_get(v___x_15412_, 0); -v_isSharedCheck_15432_ = !lean_is_exclusive(v___x_15412_); -if (v_isSharedCheck_15432_ == 0) +lean_object* v_a_15428_; lean_object* v___x_15430_; uint8_t v_isShared_15431_; uint8_t v_isSharedCheck_15435_; +lean_dec_ref(v___x_15414_); +lean_dec(v___x_15409_); +lean_dec(v_a_15400_); +lean_dec(v___y_15394_); +lean_dec_ref(v___y_15393_); +lean_dec(v___y_15392_); +lean_dec_ref(v___y_15391_); +lean_dec_ref(v_altInfos_15390_); +lean_dec_ref(v___f_15387_); +v_a_15428_ = lean_ctor_get(v___x_15415_, 0); +v_isSharedCheck_15435_ = !lean_is_exclusive(v___x_15415_); +if (v_isSharedCheck_15435_ == 0) { -v___x_15427_ = v___x_15412_; -v_isShared_15428_ = v_isSharedCheck_15432_; -goto v_resetjp_15426_; +v___x_15430_ = v___x_15415_; +v_isShared_15431_ = v_isSharedCheck_15435_; +goto v_resetjp_15429_; } else { -lean_inc(v_a_15425_); -lean_dec(v___x_15412_); -v___x_15427_ = lean_box(0); -v_isShared_15428_ = v_isSharedCheck_15432_; -goto v_resetjp_15426_; +lean_inc(v_a_15428_); +lean_dec(v___x_15415_); +v___x_15430_ = lean_box(0); +v_isShared_15431_ = v_isSharedCheck_15435_; +goto v_resetjp_15429_; } -v_resetjp_15426_: +v_resetjp_15429_: { -lean_object* v___x_15430_; -if (v_isShared_15428_ == 0) +lean_object* v___x_15433_; +if (v_isShared_15431_ == 0) { -v___x_15430_ = v___x_15427_; -goto v_reusejp_15429_; +v___x_15433_ = v___x_15430_; +goto v_reusejp_15432_; } else { -lean_object* v_reuseFailAlloc_15431_; -v_reuseFailAlloc_15431_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15431_, 0, v_a_15425_); -v___x_15430_ = v_reuseFailAlloc_15431_; -goto v_reusejp_15429_; +lean_object* v_reuseFailAlloc_15434_; +v_reuseFailAlloc_15434_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15434_, 0, v_a_15428_); +v___x_15433_ = v_reuseFailAlloc_15434_; +goto v_reusejp_15432_; } -v_reusejp_15429_: +v_reusejp_15432_: { -return v___x_15430_; +return v___x_15433_; } } } } else { -lean_object* v_a_15433_; lean_object* v___x_15435_; uint8_t v_isShared_15436_; uint8_t v_isSharedCheck_15440_; -lean_dec(v___x_15400_); -lean_dec(v_a_15397_); -lean_dec(v___y_15391_); -lean_dec_ref(v___y_15390_); -lean_dec(v___y_15389_); -lean_dec_ref(v___y_15388_); -lean_dec_ref(v_altInfos_15387_); -lean_dec_ref(v___f_15384_); -lean_dec_ref(v_motive_15380_); -lean_dec_ref(v_discrs_15379_); -lean_dec_ref(v___x_15378_); -v_a_15433_ = lean_ctor_get(v___x_15405_, 0); -v_isSharedCheck_15440_ = !lean_is_exclusive(v___x_15405_); -if (v_isSharedCheck_15440_ == 0) +lean_object* v_a_15436_; lean_object* v___x_15438_; uint8_t v_isShared_15439_; uint8_t v_isSharedCheck_15443_; +lean_dec(v___x_15403_); +lean_dec(v_a_15400_); +lean_dec(v___y_15394_); +lean_dec_ref(v___y_15393_); +lean_dec(v___y_15392_); +lean_dec_ref(v___y_15391_); +lean_dec_ref(v_altInfos_15390_); +lean_dec_ref(v___f_15387_); +lean_dec_ref(v_motive_15383_); +lean_dec_ref(v_discrs_15382_); +lean_dec_ref(v___x_15381_); +v_a_15436_ = lean_ctor_get(v___x_15408_, 0); +v_isSharedCheck_15443_ = !lean_is_exclusive(v___x_15408_); +if (v_isSharedCheck_15443_ == 0) { -v___x_15435_ = v___x_15405_; -v_isShared_15436_ = v_isSharedCheck_15440_; -goto v_resetjp_15434_; +v___x_15438_ = v___x_15408_; +v_isShared_15439_ = v_isSharedCheck_15443_; +goto v_resetjp_15437_; } else { -lean_inc(v_a_15433_); -lean_dec(v___x_15405_); -v___x_15435_ = lean_box(0); -v_isShared_15436_ = v_isSharedCheck_15440_; -goto v_resetjp_15434_; +lean_inc(v_a_15436_); +lean_dec(v___x_15408_); +v___x_15438_ = lean_box(0); +v_isShared_15439_ = v_isSharedCheck_15443_; +goto v_resetjp_15437_; } -v_resetjp_15434_: +v_resetjp_15437_: { -lean_object* v___x_15438_; -if (v_isShared_15436_ == 0) +lean_object* v___x_15441_; +if (v_isShared_15439_ == 0) { -v___x_15438_ = v___x_15435_; -goto v_reusejp_15437_; +v___x_15441_ = v___x_15438_; +goto v_reusejp_15440_; } else { -lean_object* v_reuseFailAlloc_15439_; -v_reuseFailAlloc_15439_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15439_, 0, v_a_15433_); -v___x_15438_ = v_reuseFailAlloc_15439_; -goto v_reusejp_15437_; +lean_object* v_reuseFailAlloc_15442_; +v_reuseFailAlloc_15442_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15442_, 0, v_a_15436_); +v___x_15441_ = v_reuseFailAlloc_15442_; +goto v_reusejp_15440_; } -v_reusejp_15437_: +v_reusejp_15440_: { -return v___x_15438_; +return v___x_15441_; } } } } else { -lean_object* v_a_15441_; lean_object* v___x_15443_; uint8_t v_isShared_15444_; uint8_t v_isSharedCheck_15448_; -lean_dec(v___y_15391_); -lean_dec_ref(v___y_15390_); -lean_dec(v___y_15389_); -lean_dec_ref(v___y_15388_); -lean_dec_ref(v_altInfos_15387_); -lean_dec(v_alts_15385_); -lean_dec_ref(v___f_15384_); -lean_dec_ref(v_motive_15380_); -lean_dec_ref(v_discrs_15379_); -lean_dec_ref(v___x_15378_); -v_a_15441_ = lean_ctor_get(v___x_15396_, 0); -v_isSharedCheck_15448_ = !lean_is_exclusive(v___x_15396_); -if (v_isSharedCheck_15448_ == 0) +lean_object* v_a_15444_; lean_object* v___x_15446_; uint8_t v_isShared_15447_; uint8_t v_isSharedCheck_15451_; +lean_dec(v___y_15394_); +lean_dec_ref(v___y_15393_); +lean_dec(v___y_15392_); +lean_dec_ref(v___y_15391_); +lean_dec_ref(v_altInfos_15390_); +lean_dec(v_alts_15388_); +lean_dec_ref(v___f_15387_); +lean_dec_ref(v_motive_15383_); +lean_dec_ref(v_discrs_15382_); +lean_dec_ref(v___x_15381_); +v_a_15444_ = lean_ctor_get(v___x_15399_, 0); +v_isSharedCheck_15451_ = !lean_is_exclusive(v___x_15399_); +if (v_isSharedCheck_15451_ == 0) { -v___x_15443_ = v___x_15396_; -v_isShared_15444_ = v_isSharedCheck_15448_; -goto v_resetjp_15442_; +v___x_15446_ = v___x_15399_; +v_isShared_15447_ = v_isSharedCheck_15451_; +goto v_resetjp_15445_; } else { -lean_inc(v_a_15441_); -lean_dec(v___x_15396_); -v___x_15443_ = lean_box(0); -v_isShared_15444_ = v_isSharedCheck_15448_; -goto v_resetjp_15442_; +lean_inc(v_a_15444_); +lean_dec(v___x_15399_); +v___x_15446_ = lean_box(0); +v_isShared_15447_ = v_isSharedCheck_15451_; +goto v_resetjp_15445_; } -v_resetjp_15442_: +v_resetjp_15445_: { -lean_object* v___x_15446_; -if (v_isShared_15444_ == 0) +lean_object* v___x_15449_; +if (v_isShared_15447_ == 0) { -v___x_15446_ = v___x_15443_; -goto v_reusejp_15445_; +v___x_15449_ = v___x_15446_; +goto v_reusejp_15448_; } else { -lean_object* v_reuseFailAlloc_15447_; -v_reuseFailAlloc_15447_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15447_, 0, v_a_15441_); -v___x_15446_ = v_reuseFailAlloc_15447_; -goto v_reusejp_15445_; +lean_object* v_reuseFailAlloc_15450_; +v_reuseFailAlloc_15450_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15450_, 0, v_a_15444_); +v___x_15449_ = v_reuseFailAlloc_15450_; +goto v_reusejp_15448_; } -v_reusejp_15445_: +v_reusejp_15448_: { -return v___x_15446_; +return v___x_15449_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__2___boxed(lean_object* v___x_15449_, lean_object* v_discrs_15450_, lean_object* v_motive_15451_, lean_object* v___x_15452_, lean_object* v___x_15453_, lean_object* v___x_15454_, lean_object* v___f_15455_, lean_object* v_alts_15456_, lean_object* v_minors_15457_, lean_object* v_altInfos_15458_, lean_object* v___y_15459_, lean_object* v___y_15460_, lean_object* v___y_15461_, lean_object* v___y_15462_, lean_object* v___y_15463_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__2___boxed(lean_object* v___x_15452_, lean_object* v_discrs_15453_, lean_object* v_motive_15454_, lean_object* v___x_15455_, lean_object* v___x_15456_, lean_object* v___x_15457_, lean_object* v___f_15458_, lean_object* v_alts_15459_, lean_object* v_minors_15460_, lean_object* v_altInfos_15461_, lean_object* v___y_15462_, lean_object* v___y_15463_, lean_object* v___y_15464_, lean_object* v___y_15465_, lean_object* v___y_15466_){ _start: { -uint8_t v___x_24081__boxed_15464_; uint8_t v___x_24082__boxed_15465_; uint8_t v___x_24083__boxed_15466_; lean_object* v_res_15467_; -v___x_24081__boxed_15464_ = lean_unbox(v___x_15452_); -v___x_24082__boxed_15465_ = lean_unbox(v___x_15453_); -v___x_24083__boxed_15466_ = lean_unbox(v___x_15454_); -v_res_15467_ = l_Lean_Meta_Match_mkMatcher___lam__2(v___x_15449_, v_discrs_15450_, v_motive_15451_, v___x_24081__boxed_15464_, v___x_24082__boxed_15465_, v___x_24083__boxed_15466_, v___f_15455_, v_alts_15456_, v_minors_15457_, v_altInfos_15458_, v___y_15459_, v___y_15460_, v___y_15461_, v___y_15462_); -lean_dec_ref(v_minors_15457_); -return v_res_15467_; +uint8_t v___x_24081__boxed_15467_; uint8_t v___x_24082__boxed_15468_; uint8_t v___x_24083__boxed_15469_; lean_object* v_res_15470_; +v___x_24081__boxed_15467_ = lean_unbox(v___x_15455_); +v___x_24082__boxed_15468_ = lean_unbox(v___x_15456_); +v___x_24083__boxed_15469_ = lean_unbox(v___x_15457_); +v_res_15470_ = l_Lean_Meta_Match_mkMatcher___lam__2(v___x_15452_, v_discrs_15453_, v_motive_15454_, v___x_24081__boxed_15467_, v___x_24082__boxed_15468_, v___x_24083__boxed_15469_, v___f_15458_, v_alts_15459_, v_minors_15460_, v_altInfos_15461_, v___y_15462_, v___y_15463_, v___y_15464_, v___y_15465_); +lean_dec_ref(v_minors_15460_); +return v_res_15470_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(size_t v_sz_15468_, size_t v_i_15469_, lean_object* v_bs_15470_, lean_object* v___y_15471_, lean_object* v___y_15472_, lean_object* v___y_15473_, lean_object* v___y_15474_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(size_t v_sz_15471_, size_t v_i_15472_, lean_object* v_bs_15473_, lean_object* v___y_15474_, lean_object* v___y_15475_, lean_object* v___y_15476_, lean_object* v___y_15477_){ _start: { -uint8_t v___x_15476_; -v___x_15476_ = lean_usize_dec_lt(v_i_15469_, v_sz_15468_); -if (v___x_15476_ == 0) +uint8_t v___x_15479_; +v___x_15479_ = lean_usize_dec_lt(v_i_15472_, v_sz_15471_); +if (v___x_15479_ == 0) { -lean_object* v___x_15477_; -lean_dec(v___y_15474_); -lean_dec_ref(v___y_15473_); -lean_dec(v___y_15472_); -lean_dec_ref(v___y_15471_); -v___x_15477_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15477_, 0, v_bs_15470_); -return v___x_15477_; +lean_object* v___x_15480_; +lean_dec(v___y_15477_); +lean_dec_ref(v___y_15476_); +lean_dec(v___y_15475_); +lean_dec_ref(v___y_15474_); +v___x_15480_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15480_, 0, v_bs_15473_); +return v___x_15480_; } else { -lean_object* v_v_15478_; lean_object* v___x_15479_; -v_v_15478_ = lean_array_uget_borrowed(v_bs_15470_, v_i_15469_); -lean_inc(v___y_15474_); -lean_inc_ref(v___y_15473_); -lean_inc(v___y_15472_); -lean_inc_ref(v___y_15471_); -lean_inc(v_v_15478_); -v___x_15479_ = lean_infer_type(v_v_15478_, v___y_15471_, v___y_15472_, v___y_15473_, v___y_15474_); -if (lean_obj_tag(v___x_15479_) == 0) +lean_object* v_v_15481_; lean_object* v___x_15482_; +v_v_15481_ = lean_array_uget_borrowed(v_bs_15473_, v_i_15472_); +lean_inc(v___y_15477_); +lean_inc_ref(v___y_15476_); +lean_inc(v___y_15475_); +lean_inc_ref(v___y_15474_); +lean_inc(v_v_15481_); +v___x_15482_ = lean_infer_type(v_v_15481_, v___y_15474_, v___y_15475_, v___y_15476_, v___y_15477_); +if (lean_obj_tag(v___x_15482_) == 0) { -lean_object* v_a_15480_; lean_object* v___x_15481_; lean_object* v_bs_x27_15482_; uint8_t v___x_15483_; size_t v___x_15484_; size_t v___x_15485_; lean_object* v___x_15486_; lean_object* v___x_15487_; -v_a_15480_ = lean_ctor_get(v___x_15479_, 0); -lean_inc(v_a_15480_); -lean_dec_ref(v___x_15479_); -v___x_15481_ = lean_unsigned_to_nat(0u); -v_bs_x27_15482_ = lean_array_uset(v_bs_15470_, v_i_15469_, v___x_15481_); -v___x_15483_ = l_Lean_Expr_isEq(v_a_15480_); -lean_dec(v_a_15480_); -v___x_15484_ = ((size_t)1ULL); -v___x_15485_ = lean_usize_add(v_i_15469_, v___x_15484_); -v___x_15486_ = lean_box(v___x_15483_); -v___x_15487_ = lean_array_uset(v_bs_x27_15482_, v_i_15469_, v___x_15486_); -v_i_15469_ = v___x_15485_; -v_bs_15470_ = v___x_15487_; +lean_object* v_a_15483_; lean_object* v___x_15484_; lean_object* v_bs_x27_15485_; uint8_t v___x_15486_; size_t v___x_15487_; size_t v___x_15488_; lean_object* v___x_15489_; lean_object* v___x_15490_; +v_a_15483_ = lean_ctor_get(v___x_15482_, 0); +lean_inc(v_a_15483_); +lean_dec_ref(v___x_15482_); +v___x_15484_ = lean_unsigned_to_nat(0u); +v_bs_x27_15485_ = lean_array_uset(v_bs_15473_, v_i_15472_, v___x_15484_); +v___x_15486_ = l_Lean_Expr_isEq(v_a_15483_); +lean_dec(v_a_15483_); +v___x_15487_ = ((size_t)1ULL); +v___x_15488_ = lean_usize_add(v_i_15472_, v___x_15487_); +v___x_15489_ = lean_box(v___x_15486_); +v___x_15490_ = lean_array_uset(v_bs_x27_15485_, v_i_15472_, v___x_15489_); +v_i_15472_ = v___x_15488_; +v_bs_15473_ = v___x_15490_; goto _start; } else { -lean_object* v_a_15489_; lean_object* v___x_15491_; uint8_t v_isShared_15492_; uint8_t v_isSharedCheck_15496_; -lean_dec(v___y_15474_); -lean_dec_ref(v___y_15473_); -lean_dec(v___y_15472_); -lean_dec_ref(v___y_15471_); -lean_dec_ref(v_bs_15470_); -v_a_15489_ = lean_ctor_get(v___x_15479_, 0); -v_isSharedCheck_15496_ = !lean_is_exclusive(v___x_15479_); -if (v_isSharedCheck_15496_ == 0) +lean_object* v_a_15492_; lean_object* v___x_15494_; uint8_t v_isShared_15495_; uint8_t v_isSharedCheck_15499_; +lean_dec(v___y_15477_); +lean_dec_ref(v___y_15476_); +lean_dec(v___y_15475_); +lean_dec_ref(v___y_15474_); +lean_dec_ref(v_bs_15473_); +v_a_15492_ = lean_ctor_get(v___x_15482_, 0); +v_isSharedCheck_15499_ = !lean_is_exclusive(v___x_15482_); +if (v_isSharedCheck_15499_ == 0) { -v___x_15491_ = v___x_15479_; -v_isShared_15492_ = v_isSharedCheck_15496_; -goto v_resetjp_15490_; +v___x_15494_ = v___x_15482_; +v_isShared_15495_ = v_isSharedCheck_15499_; +goto v_resetjp_15493_; } else { -lean_inc(v_a_15489_); -lean_dec(v___x_15479_); -v___x_15491_ = lean_box(0); -v_isShared_15492_ = v_isSharedCheck_15496_; -goto v_resetjp_15490_; +lean_inc(v_a_15492_); +lean_dec(v___x_15482_); +v___x_15494_ = lean_box(0); +v_isShared_15495_ = v_isSharedCheck_15499_; +goto v_resetjp_15493_; } -v_resetjp_15490_: +v_resetjp_15493_: { -lean_object* v___x_15494_; -if (v_isShared_15492_ == 0) +lean_object* v___x_15497_; +if (v_isShared_15495_ == 0) { -v___x_15494_ = v___x_15491_; -goto v_reusejp_15493_; +v___x_15497_ = v___x_15494_; +goto v_reusejp_15496_; } else { -lean_object* v_reuseFailAlloc_15495_; -v_reuseFailAlloc_15495_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15495_, 0, v_a_15489_); -v___x_15494_ = v_reuseFailAlloc_15495_; -goto v_reusejp_15493_; +lean_object* v_reuseFailAlloc_15498_; +v_reuseFailAlloc_15498_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15498_, 0, v_a_15492_); +v___x_15497_ = v_reuseFailAlloc_15498_; +goto v_reusejp_15496_; } -v_reusejp_15493_: +v_reusejp_15496_: { -return v___x_15494_; +return v___x_15497_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4___boxed(lean_object* v_sz_15497_, lean_object* v_i_15498_, lean_object* v_bs_15499_, lean_object* v___y_15500_, lean_object* v___y_15501_, lean_object* v___y_15502_, lean_object* v___y_15503_, lean_object* v___y_15504_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4___boxed(lean_object* v_sz_15500_, lean_object* v_i_15501_, lean_object* v_bs_15502_, lean_object* v___y_15503_, lean_object* v___y_15504_, lean_object* v___y_15505_, lean_object* v___y_15506_, lean_object* v___y_15507_){ _start: { -size_t v_sz_boxed_15505_; size_t v_i_boxed_15506_; lean_object* v_res_15507_; -v_sz_boxed_15505_ = lean_unbox_usize(v_sz_15497_); -lean_dec(v_sz_15497_); -v_i_boxed_15506_ = lean_unbox_usize(v_i_15498_); -lean_dec(v_i_15498_); -v_res_15507_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(v_sz_boxed_15505_, v_i_boxed_15506_, v_bs_15499_, v___y_15500_, v___y_15501_, v___y_15502_, v___y_15503_); -return v_res_15507_; +size_t v_sz_boxed_15508_; size_t v_i_boxed_15509_; lean_object* v_res_15510_; +v_sz_boxed_15508_ = lean_unbox_usize(v_sz_15500_); +lean_dec(v_sz_15500_); +v_i_boxed_15509_ = lean_unbox_usize(v_i_15501_); +lean_dec(v_i_15501_); +v_res_15510_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(v_sz_boxed_15508_, v_i_boxed_15509_, v_bs_15502_, v___y_15503_, v___y_15504_, v___y_15505_, v___y_15506_); +return v_res_15510_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__3(lean_object* v_motive_15508_, lean_object* v_discrs_x27_15509_, uint8_t v___x_15510_, uint8_t v___x_15511_, uint8_t v___x_15512_, lean_object* v_eqs_15513_, lean_object* v___y_15514_, lean_object* v___y_15515_, lean_object* v___y_15516_, lean_object* v___y_15517_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__3(lean_object* v_motive_15511_, lean_object* v_discrs_x27_15512_, uint8_t v___x_15513_, uint8_t v___x_15514_, uint8_t v___x_15515_, lean_object* v_eqs_15516_, lean_object* v___y_15517_, lean_object* v___y_15518_, lean_object* v___y_15519_, lean_object* v___y_15520_){ _start: { -lean_object* v___x_15519_; lean_object* v___x_15520_; -v___x_15519_ = l_Lean_mkAppN(v_motive_15508_, v_discrs_x27_15509_); -v___x_15520_ = l_Lean_Meta_mkForallFVars(v_eqs_15513_, v___x_15519_, v___x_15510_, v___x_15511_, v___x_15511_, v___x_15512_, v___y_15514_, v___y_15515_, v___y_15516_, v___y_15517_); -if (lean_obj_tag(v___x_15520_) == 0) +lean_object* v___x_15522_; lean_object* v___x_15523_; +v___x_15522_ = l_Lean_mkAppN(v_motive_15511_, v_discrs_x27_15512_); +v___x_15523_ = l_Lean_Meta_mkForallFVars(v_eqs_15516_, v___x_15522_, v___x_15513_, v___x_15514_, v___x_15514_, v___x_15515_, v___y_15517_, v___y_15518_, v___y_15519_, v___y_15520_); +if (lean_obj_tag(v___x_15523_) == 0) { -lean_object* v_a_15521_; size_t v_sz_15522_; size_t v___x_15523_; lean_object* v___x_15524_; -v_a_15521_ = lean_ctor_get(v___x_15520_, 0); -lean_inc(v_a_15521_); -lean_dec_ref(v___x_15520_); -v_sz_15522_ = lean_array_size(v_eqs_15513_); -v___x_15523_ = ((size_t)0ULL); -v___x_15524_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(v_sz_15522_, v___x_15523_, v_eqs_15513_, v___y_15514_, v___y_15515_, v___y_15516_, v___y_15517_); -if (lean_obj_tag(v___x_15524_) == 0) +lean_object* v_a_15524_; size_t v_sz_15525_; size_t v___x_15526_; lean_object* v___x_15527_; +v_a_15524_ = lean_ctor_get(v___x_15523_, 0); +lean_inc(v_a_15524_); +lean_dec_ref(v___x_15523_); +v_sz_15525_ = lean_array_size(v_eqs_15516_); +v___x_15526_ = ((size_t)0ULL); +v___x_15527_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_mkMatcher_spec__4(v_sz_15525_, v___x_15526_, v_eqs_15516_, v___y_15517_, v___y_15518_, v___y_15519_, v___y_15520_); +if (lean_obj_tag(v___x_15527_) == 0) { -lean_object* v_a_15525_; lean_object* v___x_15527_; uint8_t v_isShared_15528_; uint8_t v_isSharedCheck_15533_; -v_a_15525_ = lean_ctor_get(v___x_15524_, 0); -v_isSharedCheck_15533_ = !lean_is_exclusive(v___x_15524_); -if (v_isSharedCheck_15533_ == 0) +lean_object* v_a_15528_; lean_object* v___x_15530_; uint8_t v_isShared_15531_; uint8_t v_isSharedCheck_15536_; +v_a_15528_ = lean_ctor_get(v___x_15527_, 0); +v_isSharedCheck_15536_ = !lean_is_exclusive(v___x_15527_); +if (v_isSharedCheck_15536_ == 0) { -v___x_15527_ = v___x_15524_; -v_isShared_15528_ = v_isSharedCheck_15533_; -goto v_resetjp_15526_; +v___x_15530_ = v___x_15527_; +v_isShared_15531_ = v_isSharedCheck_15536_; +goto v_resetjp_15529_; } else { -lean_inc(v_a_15525_); -lean_dec(v___x_15524_); -v___x_15527_ = lean_box(0); -v_isShared_15528_ = v_isSharedCheck_15533_; -goto v_resetjp_15526_; +lean_inc(v_a_15528_); +lean_dec(v___x_15527_); +v___x_15530_ = lean_box(0); +v_isShared_15531_ = v_isSharedCheck_15536_; +goto v_resetjp_15529_; } -v_resetjp_15526_: +v_resetjp_15529_: { -lean_object* v___x_15529_; lean_object* v___x_15531_; -v___x_15529_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15529_, 0, v_a_15521_); -lean_ctor_set(v___x_15529_, 1, v_a_15525_); -if (v_isShared_15528_ == 0) +lean_object* v___x_15532_; lean_object* v___x_15534_; +v___x_15532_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15532_, 0, v_a_15524_); +lean_ctor_set(v___x_15532_, 1, v_a_15528_); +if (v_isShared_15531_ == 0) { -lean_ctor_set(v___x_15527_, 0, v___x_15529_); -v___x_15531_ = v___x_15527_; -goto v_reusejp_15530_; +lean_ctor_set(v___x_15530_, 0, v___x_15532_); +v___x_15534_ = v___x_15530_; +goto v_reusejp_15533_; } else { -lean_object* v_reuseFailAlloc_15532_; -v_reuseFailAlloc_15532_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15532_, 0, v___x_15529_); -v___x_15531_ = v_reuseFailAlloc_15532_; -goto v_reusejp_15530_; +lean_object* v_reuseFailAlloc_15535_; +v_reuseFailAlloc_15535_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15535_, 0, v___x_15532_); +v___x_15534_ = v_reuseFailAlloc_15535_; +goto v_reusejp_15533_; } -v_reusejp_15530_: +v_reusejp_15533_: { -return v___x_15531_; +return v___x_15534_; } } } else { -lean_object* v_a_15534_; lean_object* v___x_15536_; uint8_t v_isShared_15537_; uint8_t v_isSharedCheck_15541_; -lean_dec(v_a_15521_); -v_a_15534_ = lean_ctor_get(v___x_15524_, 0); -v_isSharedCheck_15541_ = !lean_is_exclusive(v___x_15524_); -if (v_isSharedCheck_15541_ == 0) +lean_object* v_a_15537_; lean_object* v___x_15539_; uint8_t v_isShared_15540_; uint8_t v_isSharedCheck_15544_; +lean_dec(v_a_15524_); +v_a_15537_ = lean_ctor_get(v___x_15527_, 0); +v_isSharedCheck_15544_ = !lean_is_exclusive(v___x_15527_); +if (v_isSharedCheck_15544_ == 0) { -v___x_15536_ = v___x_15524_; -v_isShared_15537_ = v_isSharedCheck_15541_; -goto v_resetjp_15535_; +v___x_15539_ = v___x_15527_; +v_isShared_15540_ = v_isSharedCheck_15544_; +goto v_resetjp_15538_; } else { -lean_inc(v_a_15534_); -lean_dec(v___x_15524_); -v___x_15536_ = lean_box(0); -v_isShared_15537_ = v_isSharedCheck_15541_; -goto v_resetjp_15535_; +lean_inc(v_a_15537_); +lean_dec(v___x_15527_); +v___x_15539_ = lean_box(0); +v_isShared_15540_ = v_isSharedCheck_15544_; +goto v_resetjp_15538_; } -v_resetjp_15535_: +v_resetjp_15538_: { -lean_object* v___x_15539_; -if (v_isShared_15537_ == 0) +lean_object* v___x_15542_; +if (v_isShared_15540_ == 0) { -v___x_15539_ = v___x_15536_; -goto v_reusejp_15538_; +v___x_15542_ = v___x_15539_; +goto v_reusejp_15541_; } else { -lean_object* v_reuseFailAlloc_15540_; -v_reuseFailAlloc_15540_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15540_, 0, v_a_15534_); -v___x_15539_ = v_reuseFailAlloc_15540_; -goto v_reusejp_15538_; +lean_object* v_reuseFailAlloc_15543_; +v_reuseFailAlloc_15543_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15543_, 0, v_a_15537_); +v___x_15542_ = v_reuseFailAlloc_15543_; +goto v_reusejp_15541_; } -v_reusejp_15538_: +v_reusejp_15541_: { -return v___x_15539_; +return v___x_15542_; } } } } else { -lean_object* v_a_15542_; lean_object* v___x_15544_; uint8_t v_isShared_15545_; uint8_t v_isSharedCheck_15549_; -lean_dec(v___y_15517_); -lean_dec_ref(v___y_15516_); -lean_dec(v___y_15515_); -lean_dec_ref(v___y_15514_); -lean_dec_ref(v_eqs_15513_); -v_a_15542_ = lean_ctor_get(v___x_15520_, 0); -v_isSharedCheck_15549_ = !lean_is_exclusive(v___x_15520_); -if (v_isSharedCheck_15549_ == 0) +lean_object* v_a_15545_; lean_object* v___x_15547_; uint8_t v_isShared_15548_; uint8_t v_isSharedCheck_15552_; +lean_dec(v___y_15520_); +lean_dec_ref(v___y_15519_); +lean_dec(v___y_15518_); +lean_dec_ref(v___y_15517_); +lean_dec_ref(v_eqs_15516_); +v_a_15545_ = lean_ctor_get(v___x_15523_, 0); +v_isSharedCheck_15552_ = !lean_is_exclusive(v___x_15523_); +if (v_isSharedCheck_15552_ == 0) { -v___x_15544_ = v___x_15520_; -v_isShared_15545_ = v_isSharedCheck_15549_; -goto v_resetjp_15543_; +v___x_15547_ = v___x_15523_; +v_isShared_15548_ = v_isSharedCheck_15552_; +goto v_resetjp_15546_; } else { -lean_inc(v_a_15542_); -lean_dec(v___x_15520_); -v___x_15544_ = lean_box(0); -v_isShared_15545_ = v_isSharedCheck_15549_; -goto v_resetjp_15543_; +lean_inc(v_a_15545_); +lean_dec(v___x_15523_); +v___x_15547_ = lean_box(0); +v_isShared_15548_ = v_isSharedCheck_15552_; +goto v_resetjp_15546_; } -v_resetjp_15543_: +v_resetjp_15546_: { -lean_object* v___x_15547_; -if (v_isShared_15545_ == 0) +lean_object* v___x_15550_; +if (v_isShared_15548_ == 0) { -v___x_15547_ = v___x_15544_; -goto v_reusejp_15546_; +v___x_15550_ = v___x_15547_; +goto v_reusejp_15549_; } else { -lean_object* v_reuseFailAlloc_15548_; -v_reuseFailAlloc_15548_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15548_, 0, v_a_15542_); -v___x_15547_ = v_reuseFailAlloc_15548_; -goto v_reusejp_15546_; +lean_object* v_reuseFailAlloc_15551_; +v_reuseFailAlloc_15551_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15551_, 0, v_a_15545_); +v___x_15550_ = v_reuseFailAlloc_15551_; +goto v_reusejp_15549_; } -v_reusejp_15546_: +v_reusejp_15549_: { -return v___x_15547_; +return v___x_15550_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__3___boxed(lean_object* v_motive_15550_, lean_object* v_discrs_x27_15551_, lean_object* v___x_15552_, lean_object* v___x_15553_, lean_object* v___x_15554_, lean_object* v_eqs_15555_, lean_object* v___y_15556_, lean_object* v___y_15557_, lean_object* v___y_15558_, lean_object* v___y_15559_, lean_object* v___y_15560_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__3___boxed(lean_object* v_motive_15553_, lean_object* v_discrs_x27_15554_, lean_object* v___x_15555_, lean_object* v___x_15556_, lean_object* v___x_15557_, lean_object* v_eqs_15558_, lean_object* v___y_15559_, lean_object* v___y_15560_, lean_object* v___y_15561_, lean_object* v___y_15562_, lean_object* v___y_15563_){ _start: { -uint8_t v___x_24285__boxed_15561_; uint8_t v___x_24286__boxed_15562_; uint8_t v___x_24287__boxed_15563_; lean_object* v_res_15564_; -v___x_24285__boxed_15561_ = lean_unbox(v___x_15552_); -v___x_24286__boxed_15562_ = lean_unbox(v___x_15553_); -v___x_24287__boxed_15563_ = lean_unbox(v___x_15554_); -v_res_15564_ = l_Lean_Meta_Match_mkMatcher___lam__3(v_motive_15550_, v_discrs_x27_15551_, v___x_24285__boxed_15561_, v___x_24286__boxed_15562_, v___x_24287__boxed_15563_, v_eqs_15555_, v___y_15556_, v___y_15557_, v___y_15558_, v___y_15559_); -lean_dec_ref(v_discrs_x27_15551_); -return v_res_15564_; +uint8_t v___x_24285__boxed_15564_; uint8_t v___x_24286__boxed_15565_; uint8_t v___x_24287__boxed_15566_; lean_object* v_res_15567_; +v___x_24285__boxed_15564_ = lean_unbox(v___x_15555_); +v___x_24286__boxed_15565_ = lean_unbox(v___x_15556_); +v___x_24287__boxed_15566_ = lean_unbox(v___x_15557_); +v_res_15567_ = l_Lean_Meta_Match_mkMatcher___lam__3(v_motive_15553_, v_discrs_x27_15554_, v___x_24285__boxed_15564_, v___x_24286__boxed_15565_, v___x_24287__boxed_15566_, v_eqs_15558_, v___y_15559_, v___y_15560_, v___y_15561_, v___y_15562_); +lean_dec_ref(v_discrs_x27_15554_); +return v_res_15567_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(lean_object* v_snd_15565_, lean_object* v_as_15566_, size_t v_sz_15567_, size_t v_i_15568_, lean_object* v_b_15569_, lean_object* v___y_15570_, lean_object* v___y_15571_, lean_object* v___y_15572_, lean_object* v___y_15573_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(lean_object* v_snd_15568_, lean_object* v_as_15569_, size_t v_sz_15570_, size_t v_i_15571_, lean_object* v_b_15572_, lean_object* v___y_15573_, lean_object* v___y_15574_, lean_object* v___y_15575_, lean_object* v___y_15576_){ _start: { -lean_object* v_a_15576_; uint8_t v___x_15580_; -v___x_15580_ = lean_usize_dec_lt(v_i_15568_, v_sz_15567_); -if (v___x_15580_ == 0) +lean_object* v_a_15579_; uint8_t v___x_15583_; +v___x_15583_ = lean_usize_dec_lt(v_i_15571_, v_sz_15570_); +if (v___x_15583_ == 0) { -lean_object* v___x_15581_; -lean_dec(v___y_15573_); -lean_dec_ref(v___y_15572_); -lean_dec(v___y_15571_); -lean_dec_ref(v___y_15570_); -v___x_15581_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15581_, 0, v_b_15569_); -return v___x_15581_; +lean_object* v___x_15584_; +lean_dec(v___y_15576_); +lean_dec_ref(v___y_15575_); +lean_dec(v___y_15574_); +lean_dec_ref(v___y_15573_); +v___x_15584_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15584_, 0, v_b_15572_); +return v___x_15584_; } else { -lean_object* v_snd_15582_; lean_object* v_snd_15583_; lean_object* v_fst_15584_; lean_object* v___x_15586_; uint8_t v_isShared_15587_; uint8_t v_isSharedCheck_15656_; -v_snd_15582_ = lean_ctor_get(v_b_15569_, 1); -lean_inc(v_snd_15582_); -v_snd_15583_ = lean_ctor_get(v_snd_15582_, 1); -lean_inc(v_snd_15583_); -v_fst_15584_ = lean_ctor_get(v_b_15569_, 0); -v_isSharedCheck_15656_ = !lean_is_exclusive(v_b_15569_); -if (v_isSharedCheck_15656_ == 0) +lean_object* v_snd_15585_; lean_object* v_snd_15586_; lean_object* v_fst_15587_; lean_object* v___x_15589_; uint8_t v_isShared_15590_; uint8_t v_isSharedCheck_15659_; +v_snd_15585_ = lean_ctor_get(v_b_15572_, 1); +lean_inc(v_snd_15585_); +v_snd_15586_ = lean_ctor_get(v_snd_15585_, 1); +lean_inc(v_snd_15586_); +v_fst_15587_ = lean_ctor_get(v_b_15572_, 0); +v_isSharedCheck_15659_ = !lean_is_exclusive(v_b_15572_); +if (v_isSharedCheck_15659_ == 0) { -lean_object* v_unused_15657_; -v_unused_15657_ = lean_ctor_get(v_b_15569_, 1); -lean_dec(v_unused_15657_); -v___x_15586_ = v_b_15569_; -v_isShared_15587_ = v_isSharedCheck_15656_; -goto v_resetjp_15585_; +lean_object* v_unused_15660_; +v_unused_15660_ = lean_ctor_get(v_b_15572_, 1); +lean_dec(v_unused_15660_); +v___x_15589_ = v_b_15572_; +v_isShared_15590_ = v_isSharedCheck_15659_; +goto v_resetjp_15588_; } else { -lean_inc(v_fst_15584_); -lean_dec(v_b_15569_); -v___x_15586_ = lean_box(0); -v_isShared_15587_ = v_isSharedCheck_15656_; -goto v_resetjp_15585_; +lean_inc(v_fst_15587_); +lean_dec(v_b_15572_); +v___x_15589_ = lean_box(0); +v_isShared_15590_ = v_isSharedCheck_15659_; +goto v_resetjp_15588_; } -v_resetjp_15585_: +v_resetjp_15588_: { -lean_object* v_fst_15588_; lean_object* v___x_15590_; uint8_t v_isShared_15591_; uint8_t v_isSharedCheck_15654_; -v_fst_15588_ = lean_ctor_get(v_snd_15582_, 0); -v_isSharedCheck_15654_ = !lean_is_exclusive(v_snd_15582_); -if (v_isSharedCheck_15654_ == 0) +lean_object* v_fst_15591_; lean_object* v___x_15593_; uint8_t v_isShared_15594_; uint8_t v_isSharedCheck_15657_; +v_fst_15591_ = lean_ctor_get(v_snd_15585_, 0); +v_isSharedCheck_15657_ = !lean_is_exclusive(v_snd_15585_); +if (v_isSharedCheck_15657_ == 0) { -lean_object* v_unused_15655_; -v_unused_15655_ = lean_ctor_get(v_snd_15582_, 1); -lean_dec(v_unused_15655_); -v___x_15590_ = v_snd_15582_; -v_isShared_15591_ = v_isSharedCheck_15654_; -goto v_resetjp_15589_; +lean_object* v_unused_15658_; +v_unused_15658_ = lean_ctor_get(v_snd_15585_, 1); +lean_dec(v_unused_15658_); +v___x_15593_ = v_snd_15585_; +v_isShared_15594_ = v_isSharedCheck_15657_; +goto v_resetjp_15592_; } else { -lean_inc(v_fst_15588_); -lean_dec(v_snd_15582_); -v___x_15590_ = lean_box(0); -v_isShared_15591_ = v_isSharedCheck_15654_; -goto v_resetjp_15589_; +lean_inc(v_fst_15591_); +lean_dec(v_snd_15585_); +v___x_15593_ = lean_box(0); +v_isShared_15594_ = v_isSharedCheck_15657_; +goto v_resetjp_15592_; } -v_resetjp_15589_: +v_resetjp_15592_: { -lean_object* v_array_15592_; lean_object* v_start_15593_; lean_object* v_stop_15594_; uint8_t v___x_15595_; -v_array_15592_ = lean_ctor_get(v_snd_15583_, 0); -v_start_15593_ = lean_ctor_get(v_snd_15583_, 1); -v_stop_15594_ = lean_ctor_get(v_snd_15583_, 2); -v___x_15595_ = lean_nat_dec_lt(v_start_15593_, v_stop_15594_); -if (v___x_15595_ == 0) -{ -lean_object* v___x_15597_; -lean_dec(v___y_15573_); -lean_dec_ref(v___y_15572_); -lean_dec(v___y_15571_); -lean_dec_ref(v___y_15570_); -if (v_isShared_15591_ == 0) -{ -v___x_15597_ = v___x_15590_; -goto v_reusejp_15596_; -} -else -{ -lean_object* v_reuseFailAlloc_15602_; -v_reuseFailAlloc_15602_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15602_, 0, v_fst_15588_); -lean_ctor_set(v_reuseFailAlloc_15602_, 1, v_snd_15583_); -v___x_15597_ = v_reuseFailAlloc_15602_; -goto v_reusejp_15596_; -} -v_reusejp_15596_: -{ -lean_object* v___x_15599_; -if (v_isShared_15587_ == 0) -{ -lean_ctor_set(v___x_15586_, 1, v___x_15597_); -v___x_15599_ = v___x_15586_; -goto v_reusejp_15598_; -} -else -{ -lean_object* v_reuseFailAlloc_15601_; -v_reuseFailAlloc_15601_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15601_, 0, v_fst_15584_); -lean_ctor_set(v_reuseFailAlloc_15601_, 1, v___x_15597_); -v___x_15599_ = v_reuseFailAlloc_15601_; -goto v_reusejp_15598_; -} -v_reusejp_15598_: +lean_object* v_array_15595_; lean_object* v_start_15596_; lean_object* v_stop_15597_; uint8_t v___x_15598_; +v_array_15595_ = lean_ctor_get(v_snd_15586_, 0); +v_start_15596_ = lean_ctor_get(v_snd_15586_, 1); +v_stop_15597_ = lean_ctor_get(v_snd_15586_, 2); +v___x_15598_ = lean_nat_dec_lt(v_start_15596_, v_stop_15597_); +if (v___x_15598_ == 0) { lean_object* v___x_15600_; -v___x_15600_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_15600_, 0, v___x_15599_); -return v___x_15600_; +lean_dec(v___y_15576_); +lean_dec_ref(v___y_15575_); +lean_dec(v___y_15574_); +lean_dec_ref(v___y_15573_); +if (v_isShared_15594_ == 0) +{ +v___x_15600_ = v___x_15593_; +goto v_reusejp_15599_; +} +else +{ +lean_object* v_reuseFailAlloc_15605_; +v_reuseFailAlloc_15605_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15605_, 0, v_fst_15591_); +lean_ctor_set(v_reuseFailAlloc_15605_, 1, v_snd_15586_); +v___x_15600_ = v_reuseFailAlloc_15605_; +goto v_reusejp_15599_; +} +v_reusejp_15599_: +{ +lean_object* v___x_15602_; +if (v_isShared_15590_ == 0) +{ +lean_ctor_set(v___x_15589_, 1, v___x_15600_); +v___x_15602_ = v___x_15589_; +goto v_reusejp_15601_; +} +else +{ +lean_object* v_reuseFailAlloc_15604_; +v_reuseFailAlloc_15604_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15604_, 0, v_fst_15587_); +lean_ctor_set(v_reuseFailAlloc_15604_, 1, v___x_15600_); +v___x_15602_ = v_reuseFailAlloc_15604_; +goto v_reusejp_15601_; +} +v_reusejp_15601_: +{ +lean_object* v___x_15603_; +v___x_15603_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_15603_, 0, v___x_15602_); +return v___x_15603_; } } } else { -lean_object* v___x_15604_; uint8_t v_isShared_15605_; uint8_t v_isSharedCheck_15650_; -lean_inc(v_stop_15594_); -lean_inc(v_start_15593_); -lean_inc_ref(v_array_15592_); -v_isSharedCheck_15650_ = !lean_is_exclusive(v_snd_15583_); -if (v_isSharedCheck_15650_ == 0) +lean_object* v___x_15607_; uint8_t v_isShared_15608_; uint8_t v_isSharedCheck_15653_; +lean_inc(v_stop_15597_); +lean_inc(v_start_15596_); +lean_inc_ref(v_array_15595_); +v_isSharedCheck_15653_ = !lean_is_exclusive(v_snd_15586_); +if (v_isSharedCheck_15653_ == 0) { -lean_object* v_unused_15651_; lean_object* v_unused_15652_; lean_object* v_unused_15653_; -v_unused_15651_ = lean_ctor_get(v_snd_15583_, 2); -lean_dec(v_unused_15651_); -v_unused_15652_ = lean_ctor_get(v_snd_15583_, 1); -lean_dec(v_unused_15652_); -v_unused_15653_ = lean_ctor_get(v_snd_15583_, 0); -lean_dec(v_unused_15653_); -v___x_15604_ = v_snd_15583_; -v_isShared_15605_ = v_isSharedCheck_15650_; -goto v_resetjp_15603_; +lean_object* v_unused_15654_; lean_object* v_unused_15655_; lean_object* v_unused_15656_; +v_unused_15654_ = lean_ctor_get(v_snd_15586_, 2); +lean_dec(v_unused_15654_); +v_unused_15655_ = lean_ctor_get(v_snd_15586_, 1); +lean_dec(v_unused_15655_); +v_unused_15656_ = lean_ctor_get(v_snd_15586_, 0); +lean_dec(v_unused_15656_); +v___x_15607_ = v_snd_15586_; +v_isShared_15608_ = v_isSharedCheck_15653_; +goto v_resetjp_15606_; } else { -lean_dec(v_snd_15583_); -v___x_15604_ = lean_box(0); -v_isShared_15605_ = v_isSharedCheck_15650_; -goto v_resetjp_15603_; +lean_dec(v_snd_15586_); +v___x_15607_ = lean_box(0); +v_isShared_15608_ = v_isSharedCheck_15653_; +goto v_resetjp_15606_; } -v_resetjp_15603_: +v_resetjp_15606_: { -lean_object* v___x_15606_; lean_object* v___x_15607_; lean_object* v___x_15608_; lean_object* v___x_15610_; -v___x_15606_ = lean_array_fget(v_array_15592_, v_start_15593_); -v___x_15607_ = lean_unsigned_to_nat(1u); -v___x_15608_ = lean_nat_add(v_start_15593_, v___x_15607_); -lean_dec(v_start_15593_); -if (v_isShared_15605_ == 0) +lean_object* v___x_15609_; lean_object* v___x_15610_; lean_object* v___x_15611_; lean_object* v___x_15613_; +v___x_15609_ = lean_array_fget(v_array_15595_, v_start_15596_); +v___x_15610_ = lean_unsigned_to_nat(1u); +v___x_15611_ = lean_nat_add(v_start_15596_, v___x_15610_); +lean_dec(v_start_15596_); +if (v_isShared_15608_ == 0) { -lean_ctor_set(v___x_15604_, 1, v___x_15608_); -v___x_15610_ = v___x_15604_; -goto v_reusejp_15609_; +lean_ctor_set(v___x_15607_, 1, v___x_15611_); +v___x_15613_ = v___x_15607_; +goto v_reusejp_15612_; } else { -lean_object* v_reuseFailAlloc_15649_; -v_reuseFailAlloc_15649_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_15649_, 0, v_array_15592_); -lean_ctor_set(v_reuseFailAlloc_15649_, 1, v___x_15608_); -lean_ctor_set(v_reuseFailAlloc_15649_, 2, v_stop_15594_); -v___x_15610_ = v_reuseFailAlloc_15649_; -goto v_reusejp_15609_; +lean_object* v_reuseFailAlloc_15652_; +v_reuseFailAlloc_15652_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_15652_, 0, v_array_15595_); +lean_ctor_set(v_reuseFailAlloc_15652_, 1, v___x_15611_); +lean_ctor_set(v_reuseFailAlloc_15652_, 2, v_stop_15597_); +v___x_15613_ = v_reuseFailAlloc_15652_; +goto v_reusejp_15612_; } -v_reusejp_15609_: +v_reusejp_15612_: { -lean_object* v_rfls_15612_; -if (lean_obj_tag(v___x_15606_) == 0) +lean_object* v_rfls_15615_; +if (lean_obj_tag(v___x_15609_) == 0) { -lean_object* v___x_15620_; lean_object* v___x_15621_; -lean_del_object(v___x_15590_); -lean_del_object(v___x_15586_); -v___x_15620_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15620_, 0, v_fst_15588_); -lean_ctor_set(v___x_15620_, 1, v___x_15610_); -v___x_15621_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15621_, 0, v_fst_15584_); -lean_ctor_set(v___x_15621_, 1, v___x_15620_); -v_a_15576_ = v___x_15621_; -goto v___jp_15575_; +lean_object* v___x_15623_; lean_object* v___x_15624_; +lean_del_object(v___x_15593_); +lean_del_object(v___x_15589_); +v___x_15623_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15623_, 0, v_fst_15591_); +lean_ctor_set(v___x_15623_, 1, v___x_15613_); +v___x_15624_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15624_, 0, v_fst_15587_); +lean_ctor_set(v___x_15624_, 1, v___x_15623_); +v_a_15579_ = v___x_15624_; +goto v___jp_15578_; } else { -lean_object* v_a_15622_; uint8_t v___x_15623_; lean_object* v___x_15624_; lean_object* v___x_15625_; uint8_t v___x_15626_; -lean_dec_ref(v___x_15606_); -v_a_15622_ = lean_array_uget_borrowed(v_as_15566_, v_i_15568_); -v___x_15623_ = 0; -v___x_15624_ = lean_box(v___x_15623_); -v___x_15625_ = lean_array_get_borrowed(v___x_15624_, v_snd_15565_, v_fst_15588_); -v___x_15626_ = lean_unbox(v___x_15625_); -if (v___x_15626_ == 0) +lean_object* v_a_15625_; uint8_t v___x_15626_; lean_object* v___x_15627_; lean_object* v___x_15628_; uint8_t v___x_15629_; +lean_dec_ref(v___x_15609_); +v_a_15625_ = lean_array_uget_borrowed(v_as_15569_, v_i_15571_); +v___x_15626_ = 0; +v___x_15627_ = lean_box(v___x_15626_); +v___x_15628_ = lean_array_get_borrowed(v___x_15627_, v_snd_15568_, v_fst_15591_); +v___x_15629_ = lean_unbox(v___x_15628_); +if (v___x_15629_ == 0) { -lean_object* v___x_15627_; -lean_inc(v___y_15573_); -lean_inc_ref(v___y_15572_); -lean_inc(v___y_15571_); -lean_inc_ref(v___y_15570_); -lean_inc(v_a_15622_); -v___x_15627_ = l_Lean_Meta_mkHEqRefl(v_a_15622_, v___y_15570_, v___y_15571_, v___y_15572_, v___y_15573_); -if (lean_obj_tag(v___x_15627_) == 0) +lean_object* v___x_15630_; +lean_inc(v___y_15576_); +lean_inc_ref(v___y_15575_); +lean_inc(v___y_15574_); +lean_inc_ref(v___y_15573_); +lean_inc(v_a_15625_); +v___x_15630_ = l_Lean_Meta_mkHEqRefl(v_a_15625_, v___y_15573_, v___y_15574_, v___y_15575_, v___y_15576_); +if (lean_obj_tag(v___x_15630_) == 0) { -lean_object* v_a_15628_; lean_object* v___x_15629_; -v_a_15628_ = lean_ctor_get(v___x_15627_, 0); -lean_inc(v_a_15628_); -lean_dec_ref(v___x_15627_); -v___x_15629_ = lean_array_push(v_fst_15584_, v_a_15628_); -v_rfls_15612_ = v___x_15629_; -goto v___jp_15611_; +lean_object* v_a_15631_; lean_object* v___x_15632_; +v_a_15631_ = lean_ctor_get(v___x_15630_, 0); +lean_inc(v_a_15631_); +lean_dec_ref(v___x_15630_); +v___x_15632_ = lean_array_push(v_fst_15587_, v_a_15631_); +v_rfls_15615_ = v___x_15632_; +goto v___jp_15614_; } else { -lean_object* v_a_15630_; lean_object* v___x_15632_; uint8_t v_isShared_15633_; uint8_t v_isSharedCheck_15637_; -lean_dec_ref(v___x_15610_); -lean_del_object(v___x_15590_); -lean_dec(v_fst_15588_); -lean_del_object(v___x_15586_); -lean_dec(v_fst_15584_); -lean_dec(v___y_15573_); -lean_dec_ref(v___y_15572_); -lean_dec(v___y_15571_); -lean_dec_ref(v___y_15570_); -v_a_15630_ = lean_ctor_get(v___x_15627_, 0); -v_isSharedCheck_15637_ = !lean_is_exclusive(v___x_15627_); -if (v_isSharedCheck_15637_ == 0) +lean_object* v_a_15633_; lean_object* v___x_15635_; uint8_t v_isShared_15636_; uint8_t v_isSharedCheck_15640_; +lean_dec_ref(v___x_15613_); +lean_del_object(v___x_15593_); +lean_dec(v_fst_15591_); +lean_del_object(v___x_15589_); +lean_dec(v_fst_15587_); +lean_dec(v___y_15576_); +lean_dec_ref(v___y_15575_); +lean_dec(v___y_15574_); +lean_dec_ref(v___y_15573_); +v_a_15633_ = lean_ctor_get(v___x_15630_, 0); +v_isSharedCheck_15640_ = !lean_is_exclusive(v___x_15630_); +if (v_isSharedCheck_15640_ == 0) { -v___x_15632_ = v___x_15627_; -v_isShared_15633_ = v_isSharedCheck_15637_; -goto v_resetjp_15631_; +v___x_15635_ = v___x_15630_; +v_isShared_15636_ = v_isSharedCheck_15640_; +goto v_resetjp_15634_; } else { -lean_inc(v_a_15630_); -lean_dec(v___x_15627_); -v___x_15632_ = lean_box(0); -v_isShared_15633_ = v_isSharedCheck_15637_; -goto v_resetjp_15631_; +lean_inc(v_a_15633_); +lean_dec(v___x_15630_); +v___x_15635_ = lean_box(0); +v_isShared_15636_ = v_isSharedCheck_15640_; +goto v_resetjp_15634_; } -v_resetjp_15631_: -{ -lean_object* v___x_15635_; -if (v_isShared_15633_ == 0) -{ -v___x_15635_ = v___x_15632_; -goto v_reusejp_15634_; -} -else -{ -lean_object* v_reuseFailAlloc_15636_; -v_reuseFailAlloc_15636_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15636_, 0, v_a_15630_); -v___x_15635_ = v_reuseFailAlloc_15636_; -goto v_reusejp_15634_; -} -v_reusejp_15634_: -{ -return v___x_15635_; -} -} -} -} -else +v_resetjp_15634_: { lean_object* v___x_15638_; -lean_inc(v___y_15573_); -lean_inc_ref(v___y_15572_); -lean_inc(v___y_15571_); -lean_inc_ref(v___y_15570_); -lean_inc(v_a_15622_); -v___x_15638_ = l_Lean_Meta_mkEqRefl(v_a_15622_, v___y_15570_, v___y_15571_, v___y_15572_, v___y_15573_); -if (lean_obj_tag(v___x_15638_) == 0) +if (v_isShared_15636_ == 0) { -lean_object* v_a_15639_; lean_object* v___x_15640_; -v_a_15639_ = lean_ctor_get(v___x_15638_, 0); -lean_inc(v_a_15639_); -lean_dec_ref(v___x_15638_); -v___x_15640_ = lean_array_push(v_fst_15584_, v_a_15639_); -v_rfls_15612_ = v___x_15640_; -goto v___jp_15611_; +v___x_15638_ = v___x_15635_; +goto v_reusejp_15637_; } else { -lean_object* v_a_15641_; lean_object* v___x_15643_; uint8_t v_isShared_15644_; uint8_t v_isSharedCheck_15648_; -lean_dec_ref(v___x_15610_); -lean_del_object(v___x_15590_); -lean_dec(v_fst_15588_); -lean_del_object(v___x_15586_); -lean_dec(v_fst_15584_); -lean_dec(v___y_15573_); -lean_dec_ref(v___y_15572_); -lean_dec(v___y_15571_); -lean_dec_ref(v___y_15570_); -v_a_15641_ = lean_ctor_get(v___x_15638_, 0); -v_isSharedCheck_15648_ = !lean_is_exclusive(v___x_15638_); -if (v_isSharedCheck_15648_ == 0) +lean_object* v_reuseFailAlloc_15639_; +v_reuseFailAlloc_15639_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15639_, 0, v_a_15633_); +v___x_15638_ = v_reuseFailAlloc_15639_; +goto v_reusejp_15637_; +} +v_reusejp_15637_: { -v___x_15643_ = v___x_15638_; -v_isShared_15644_ = v_isSharedCheck_15648_; -goto v_resetjp_15642_; +return v___x_15638_; +} +} +} } else { -lean_inc(v_a_15641_); -lean_dec(v___x_15638_); -v___x_15643_ = lean_box(0); -v_isShared_15644_ = v_isSharedCheck_15648_; -goto v_resetjp_15642_; -} -v_resetjp_15642_: +lean_object* v___x_15641_; +lean_inc(v___y_15576_); +lean_inc_ref(v___y_15575_); +lean_inc(v___y_15574_); +lean_inc_ref(v___y_15573_); +lean_inc(v_a_15625_); +v___x_15641_ = l_Lean_Meta_mkEqRefl(v_a_15625_, v___y_15573_, v___y_15574_, v___y_15575_, v___y_15576_); +if (lean_obj_tag(v___x_15641_) == 0) { -lean_object* v___x_15646_; -if (v_isShared_15644_ == 0) -{ -v___x_15646_ = v___x_15643_; -goto v_reusejp_15645_; +lean_object* v_a_15642_; lean_object* v___x_15643_; +v_a_15642_ = lean_ctor_get(v___x_15641_, 0); +lean_inc(v_a_15642_); +lean_dec_ref(v___x_15641_); +v___x_15643_ = lean_array_push(v_fst_15587_, v_a_15642_); +v_rfls_15615_ = v___x_15643_; +goto v___jp_15614_; } else { -lean_object* v_reuseFailAlloc_15647_; -v_reuseFailAlloc_15647_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15647_, 0, v_a_15641_); -v___x_15646_ = v_reuseFailAlloc_15647_; -goto v_reusejp_15645_; -} -v_reusejp_15645_: +lean_object* v_a_15644_; lean_object* v___x_15646_; uint8_t v_isShared_15647_; uint8_t v_isSharedCheck_15651_; +lean_dec_ref(v___x_15613_); +lean_del_object(v___x_15593_); +lean_dec(v_fst_15591_); +lean_del_object(v___x_15589_); +lean_dec(v_fst_15587_); +lean_dec(v___y_15576_); +lean_dec_ref(v___y_15575_); +lean_dec(v___y_15574_); +lean_dec_ref(v___y_15573_); +v_a_15644_ = lean_ctor_get(v___x_15641_, 0); +v_isSharedCheck_15651_ = !lean_is_exclusive(v___x_15641_); +if (v_isSharedCheck_15651_ == 0) { -return v___x_15646_; -} -} -} -} -} -v___jp_15611_: -{ -lean_object* v___x_15613_; lean_object* v___x_15615_; -v___x_15613_ = lean_nat_add(v_fst_15588_, v___x_15607_); -lean_dec(v_fst_15588_); -if (v_isShared_15591_ == 0) -{ -lean_ctor_set(v___x_15590_, 1, v___x_15610_); -lean_ctor_set(v___x_15590_, 0, v___x_15613_); -v___x_15615_ = v___x_15590_; -goto v_reusejp_15614_; +v___x_15646_ = v___x_15641_; +v_isShared_15647_ = v_isSharedCheck_15651_; +goto v_resetjp_15645_; } else { -lean_object* v_reuseFailAlloc_15619_; -v_reuseFailAlloc_15619_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15619_, 0, v___x_15613_); -lean_ctor_set(v_reuseFailAlloc_15619_, 1, v___x_15610_); -v___x_15615_ = v_reuseFailAlloc_15619_; -goto v_reusejp_15614_; +lean_inc(v_a_15644_); +lean_dec(v___x_15641_); +v___x_15646_ = lean_box(0); +v_isShared_15647_ = v_isSharedCheck_15651_; +goto v_resetjp_15645_; } -v_reusejp_15614_: +v_resetjp_15645_: { -lean_object* v___x_15617_; -if (v_isShared_15587_ == 0) +lean_object* v___x_15649_; +if (v_isShared_15647_ == 0) { -lean_ctor_set(v___x_15586_, 1, v___x_15615_); -lean_ctor_set(v___x_15586_, 0, v_rfls_15612_); -v___x_15617_ = v___x_15586_; -goto v_reusejp_15616_; +v___x_15649_ = v___x_15646_; +goto v_reusejp_15648_; } else { -lean_object* v_reuseFailAlloc_15618_; -v_reuseFailAlloc_15618_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15618_, 0, v_rfls_15612_); -lean_ctor_set(v_reuseFailAlloc_15618_, 1, v___x_15615_); -v___x_15617_ = v_reuseFailAlloc_15618_; -goto v_reusejp_15616_; +lean_object* v_reuseFailAlloc_15650_; +v_reuseFailAlloc_15650_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15650_, 0, v_a_15644_); +v___x_15649_ = v_reuseFailAlloc_15650_; +goto v_reusejp_15648_; } -v_reusejp_15616_: +v_reusejp_15648_: { -v_a_15576_ = v___x_15617_; -goto v___jp_15575_; +return v___x_15649_; } } } } } -} -} -} -} -v___jp_15575_: +v___jp_15614_: { -size_t v___x_15577_; size_t v___x_15578_; -v___x_15577_ = ((size_t)1ULL); -v___x_15578_ = lean_usize_add(v_i_15568_, v___x_15577_); -v_i_15568_ = v___x_15578_; -v_b_15569_ = v_a_15576_; +lean_object* v___x_15616_; lean_object* v___x_15618_; +v___x_15616_ = lean_nat_add(v_fst_15591_, v___x_15610_); +lean_dec(v_fst_15591_); +if (v_isShared_15594_ == 0) +{ +lean_ctor_set(v___x_15593_, 1, v___x_15613_); +lean_ctor_set(v___x_15593_, 0, v___x_15616_); +v___x_15618_ = v___x_15593_; +goto v_reusejp_15617_; +} +else +{ +lean_object* v_reuseFailAlloc_15622_; +v_reuseFailAlloc_15622_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15622_, 0, v___x_15616_); +lean_ctor_set(v_reuseFailAlloc_15622_, 1, v___x_15613_); +v___x_15618_ = v_reuseFailAlloc_15622_; +goto v_reusejp_15617_; +} +v_reusejp_15617_: +{ +lean_object* v___x_15620_; +if (v_isShared_15590_ == 0) +{ +lean_ctor_set(v___x_15589_, 1, v___x_15618_); +lean_ctor_set(v___x_15589_, 0, v_rfls_15615_); +v___x_15620_ = v___x_15589_; +goto v_reusejp_15619_; +} +else +{ +lean_object* v_reuseFailAlloc_15621_; +v_reuseFailAlloc_15621_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15621_, 0, v_rfls_15615_); +lean_ctor_set(v_reuseFailAlloc_15621_, 1, v___x_15618_); +v___x_15620_ = v_reuseFailAlloc_15621_; +goto v_reusejp_15619_; +} +v_reusejp_15619_: +{ +v_a_15579_ = v___x_15620_; +goto v___jp_15578_; +} +} +} +} +} +} +} +} +} +v___jp_15578_: +{ +size_t v___x_15580_; size_t v___x_15581_; +v___x_15580_ = ((size_t)1ULL); +v___x_15581_ = lean_usize_add(v_i_15571_, v___x_15580_); +v_i_15571_ = v___x_15581_; +v_b_15572_ = v_a_15579_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5___boxed(lean_object* v_snd_15658_, lean_object* v_as_15659_, lean_object* v_sz_15660_, lean_object* v_i_15661_, lean_object* v_b_15662_, lean_object* v___y_15663_, lean_object* v___y_15664_, lean_object* v___y_15665_, lean_object* v___y_15666_, lean_object* v___y_15667_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5___boxed(lean_object* v_snd_15661_, lean_object* v_as_15662_, lean_object* v_sz_15663_, lean_object* v_i_15664_, lean_object* v_b_15665_, lean_object* v___y_15666_, lean_object* v___y_15667_, lean_object* v___y_15668_, lean_object* v___y_15669_, lean_object* v___y_15670_){ _start: { -size_t v_sz_boxed_15668_; size_t v_i_boxed_15669_; lean_object* v_res_15670_; -v_sz_boxed_15668_ = lean_unbox_usize(v_sz_15660_); -lean_dec(v_sz_15660_); -v_i_boxed_15669_ = lean_unbox_usize(v_i_15661_); -lean_dec(v_i_15661_); -v_res_15670_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(v_snd_15658_, v_as_15659_, v_sz_boxed_15668_, v_i_boxed_15669_, v_b_15662_, v___y_15663_, v___y_15664_, v___y_15665_, v___y_15666_); -lean_dec_ref(v_as_15659_); -lean_dec_ref(v_snd_15658_); -return v_res_15670_; +size_t v_sz_boxed_15671_; size_t v_i_boxed_15672_; lean_object* v_res_15673_; +v_sz_boxed_15671_ = lean_unbox_usize(v_sz_15663_); +lean_dec(v_sz_15663_); +v_i_boxed_15672_ = lean_unbox_usize(v_i_15664_); +lean_dec(v_i_15664_); +v_res_15673_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(v_snd_15661_, v_as_15662_, v_sz_boxed_15671_, v_i_boxed_15672_, v_b_15665_, v___y_15666_, v___y_15667_, v___y_15668_, v___y_15669_); +lean_dec_ref(v_as_15662_); +lean_dec_ref(v_snd_15661_); +return v_res_15673_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__1(void){ _start: { -lean_object* v___x_15672_; lean_object* v___x_15673_; -v___x_15672_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__4___closed__0)); -v___x_15673_ = l_Lean_stringToMessageData(v___x_15672_); -return v___x_15673_; +lean_object* v___x_15675_; lean_object* v___x_15676_; +v___x_15675_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__4___closed__0)); +v___x_15676_ = l_Lean_stringToMessageData(v___x_15675_); +return v___x_15676_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__3(void){ _start: { -lean_object* v___x_15675_; lean_object* v___x_15676_; -v___x_15675_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__4___closed__2)); -v___x_15676_ = l_Lean_stringToMessageData(v___x_15675_); -return v___x_15676_; +lean_object* v___x_15678_; lean_object* v___x_15679_; +v___x_15678_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__4___closed__2)); +v___x_15679_ = l_Lean_stringToMessageData(v___x_15678_); +return v___x_15679_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__4(lean_object* v_fst_15677_, lean_object* v___x_15678_, lean_object* v___x_15679_, lean_object* v_discrInfos_15680_, lean_object* v_numDiscrs_15681_, lean_object* v_discrs_15682_, lean_object* v_snd_15683_, lean_object* v_motive_15684_, uint8_t v___x_15685_, uint8_t v___x_15686_, uint8_t v___x_15687_, lean_object* v___f_15688_, lean_object* v_discrs_x27_15689_, lean_object* v_alts_15690_, lean_object* v_minors_15691_, lean_object* v_altInfos_15692_, lean_object* v___y_15693_, lean_object* v___y_15694_, lean_object* v___y_15695_, lean_object* v___y_15696_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__4(lean_object* v_fst_15680_, lean_object* v___x_15681_, lean_object* v___x_15682_, lean_object* v_discrInfos_15683_, lean_object* v_numDiscrs_15684_, lean_object* v_discrs_15685_, lean_object* v_snd_15686_, lean_object* v_motive_15687_, uint8_t v___x_15688_, uint8_t v___x_15689_, uint8_t v___x_15690_, lean_object* v___f_15691_, lean_object* v_discrs_x27_15692_, lean_object* v_alts_15693_, lean_object* v_minors_15694_, lean_object* v_altInfos_15695_, lean_object* v___y_15696_, lean_object* v___y_15697_, lean_object* v___y_15698_, lean_object* v___y_15699_){ _start: { -lean_object* v___y_15699_; lean_object* v___y_15700_; lean_object* v___y_15701_; lean_object* v___y_15702_; lean_object* v___y_15703_; lean_object* v___y_15704_; lean_object* v___x_15751_; uint8_t v___x_15752_; lean_object* v___x_15753_; lean_object* v___x_15754_; -v___x_15751_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_15751_, 0, v_fst_15677_); -v___x_15752_ = 0; -v___x_15753_ = lean_box(0); -lean_inc_ref(v___y_15693_); -v___x_15754_ = l_Lean_Meta_mkFreshExprMVar(v___x_15751_, v___x_15752_, v___x_15753_, v___y_15693_, v___y_15694_, v___y_15695_, v___y_15696_); -if (lean_obj_tag(v___x_15754_) == 0) +lean_object* v___y_15702_; lean_object* v___y_15703_; lean_object* v___y_15704_; lean_object* v___y_15705_; lean_object* v___y_15706_; lean_object* v___y_15707_; lean_object* v___x_15754_; uint8_t v___x_15755_; lean_object* v___x_15756_; lean_object* v___x_15757_; +v___x_15754_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_15754_, 0, v_fst_15680_); +v___x_15755_ = 0; +v___x_15756_ = lean_box(0); +lean_inc_ref(v___y_15696_); +v___x_15757_ = l_Lean_Meta_mkFreshExprMVar(v___x_15754_, v___x_15755_, v___x_15756_, v___y_15696_, v___y_15697_, v___y_15698_, v___y_15699_); +if (lean_obj_tag(v___x_15757_) == 0) { -lean_object* v_a_15755_; lean_object* v___y_15757_; lean_object* v___y_15758_; lean_object* v___y_15759_; lean_object* v___y_15760_; lean_object* v___x_15819_; lean_object* v_a_15820_; lean_object* v___x_15822_; uint8_t v_isShared_15823_; uint8_t v_isSharedCheck_15840_; -v_a_15755_ = lean_ctor_get(v___x_15754_, 0); -lean_inc(v_a_15755_); -lean_dec_ref(v___x_15754_); -lean_inc(v___x_15678_); -v___x_15819_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15678_, v___y_15695_); -v_a_15820_ = lean_ctor_get(v___x_15819_, 0); -v_isSharedCheck_15840_ = !lean_is_exclusive(v___x_15819_); -if (v_isSharedCheck_15840_ == 0) +lean_object* v_a_15758_; lean_object* v___y_15760_; lean_object* v___y_15761_; lean_object* v___y_15762_; lean_object* v___y_15763_; lean_object* v___x_15822_; lean_object* v_a_15823_; lean_object* v___x_15825_; uint8_t v_isShared_15826_; uint8_t v_isSharedCheck_15843_; +v_a_15758_ = lean_ctor_get(v___x_15757_, 0); +lean_inc(v_a_15758_); +lean_dec_ref(v___x_15757_); +lean_inc(v___x_15681_); +v___x_15822_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15681_, v___y_15698_); +v_a_15823_ = lean_ctor_get(v___x_15822_, 0); +v_isSharedCheck_15843_ = !lean_is_exclusive(v___x_15822_); +if (v_isSharedCheck_15843_ == 0) { -v___x_15822_ = v___x_15819_; -v_isShared_15823_ = v_isSharedCheck_15840_; -goto v_resetjp_15821_; +v___x_15825_ = v___x_15822_; +v_isShared_15826_ = v_isSharedCheck_15843_; +goto v_resetjp_15824_; } else { -lean_inc(v_a_15820_); -lean_dec(v___x_15819_); -v___x_15822_ = lean_box(0); -v_isShared_15823_ = v_isSharedCheck_15840_; -goto v_resetjp_15821_; +lean_inc(v_a_15823_); +lean_dec(v___x_15822_); +v___x_15825_ = lean_box(0); +v_isShared_15826_ = v_isSharedCheck_15843_; +goto v_resetjp_15824_; } -v___jp_15756_: +v___jp_15759_: { -lean_object* v___x_15761_; lean_object* v___x_15762_; lean_object* v___x_15763_; lean_object* v___x_15764_; lean_object* v___x_15765_; lean_object* v___x_15766_; lean_object* v___x_15767_; lean_object* v___x_15768_; lean_object* v___x_15769_; lean_object* v___x_15770_; -v___x_15761_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__0, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__0_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__0); -lean_inc(v___x_15679_); -v___x_15762_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15762_, 0, v___x_15679_); -lean_ctor_set(v___x_15762_, 1, v___x_15761_); -v___x_15763_ = lean_box(0); -lean_inc_ref(v___x_15762_); -v___x_15764_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_15764_, 0, v___x_15762_); -lean_ctor_set(v___x_15764_, 1, v___x_15762_); -lean_ctor_set(v___x_15764_, 2, v___x_15763_); -v___x_15765_ = lean_st_mk_ref(v___x_15764_); -lean_inc_ref(v_discrs_x27_15689_); -v___x_15766_ = lean_array_to_list(v_discrs_x27_15689_); -lean_inc(v___x_15766_); -v___x_15767_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(v___x_15766_, v___x_15763_); -v___x_15768_ = l_Lean_Expr_mvarId_x21(v_a_15755_); -v___x_15769_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_15769_, 0, v___x_15768_); -lean_ctor_set(v___x_15769_, 1, v___x_15766_); -lean_ctor_set(v___x_15769_, 2, v_alts_15690_); -lean_ctor_set(v___x_15769_, 3, v___x_15767_); -lean_inc(v___y_15760_); -lean_inc_ref(v___y_15759_); -lean_inc(v___y_15758_); -lean_inc_ref(v___y_15757_); -lean_inc(v___x_15765_); -v___x_15770_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(v___x_15769_, v___x_15765_, v___y_15757_, v___y_15758_, v___y_15759_, v___y_15760_); -if (lean_obj_tag(v___x_15770_) == 0) +lean_object* v___x_15764_; lean_object* v___x_15765_; lean_object* v___x_15766_; lean_object* v___x_15767_; lean_object* v___x_15768_; lean_object* v___x_15769_; lean_object* v___x_15770_; lean_object* v___x_15771_; lean_object* v___x_15772_; lean_object* v___x_15773_; +v___x_15764_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__0, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__0_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__0); +lean_inc(v___x_15682_); +v___x_15765_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15765_, 0, v___x_15682_); +lean_ctor_set(v___x_15765_, 1, v___x_15764_); +v___x_15766_ = lean_box(0); +lean_inc_ref(v___x_15765_); +v___x_15767_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_15767_, 0, v___x_15765_); +lean_ctor_set(v___x_15767_, 1, v___x_15765_); +lean_ctor_set(v___x_15767_, 2, v___x_15766_); +v___x_15768_ = lean_st_mk_ref(v___x_15767_); +lean_inc_ref(v_discrs_x27_15692_); +v___x_15769_ = lean_array_to_list(v_discrs_x27_15692_); +lean_inc(v___x_15769_); +v___x_15770_ = l_List_mapTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__3(v___x_15769_, v___x_15766_); +v___x_15771_ = l_Lean_Expr_mvarId_x21(v_a_15758_); +v___x_15772_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_15772_, 0, v___x_15771_); +lean_ctor_set(v___x_15772_, 1, v___x_15769_); +lean_ctor_set(v___x_15772_, 2, v_alts_15693_); +lean_ctor_set(v___x_15772_, 3, v___x_15770_); +lean_inc(v___y_15763_); +lean_inc_ref(v___y_15762_); +lean_inc(v___y_15761_); +lean_inc_ref(v___y_15760_); +lean_inc(v___x_15768_); +v___x_15773_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_process(v___x_15772_, v___x_15768_, v___y_15760_, v___y_15761_, v___y_15762_, v___y_15763_); +if (lean_obj_tag(v___x_15773_) == 0) { -lean_object* v___x_15771_; lean_object* v___x_15772_; -lean_dec_ref(v___x_15770_); -v___x_15771_ = lean_st_ref_get(v___x_15765_); -lean_dec(v___x_15765_); -v___x_15772_ = l_Lean_Meta_mkLambdaFVars(v_discrs_x27_15689_, v_a_15755_, v___x_15685_, v___x_15686_, v___x_15685_, v___x_15686_, v___x_15687_, v___y_15757_, v___y_15758_, v___y_15759_, v___y_15760_); -lean_dec_ref(v_discrs_x27_15689_); -if (lean_obj_tag(v___x_15772_) == 0) +lean_object* v___x_15774_; lean_object* v___x_15775_; +lean_dec_ref(v___x_15773_); +v___x_15774_ = lean_st_ref_get(v___x_15768_); +lean_dec(v___x_15768_); +v___x_15775_ = l_Lean_Meta_mkLambdaFVars(v_discrs_x27_15692_, v_a_15758_, v___x_15688_, v___x_15689_, v___x_15688_, v___x_15689_, v___x_15690_, v___y_15760_, v___y_15761_, v___y_15762_, v___y_15763_); +lean_dec_ref(v_discrs_x27_15692_); +if (lean_obj_tag(v___x_15775_) == 0) { -lean_object* v_a_15773_; lean_object* v___x_15774_; lean_object* v_a_15775_; uint8_t v___x_15776_; -v_a_15773_ = lean_ctor_get(v___x_15772_, 0); -lean_inc(v_a_15773_); -lean_dec_ref(v___x_15772_); -lean_inc(v___x_15678_); -v___x_15774_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15678_, v___y_15759_); -v_a_15775_ = lean_ctor_get(v___x_15774_, 0); -lean_inc(v_a_15775_); -lean_dec_ref(v___x_15774_); -v___x_15776_ = lean_unbox(v_a_15775_); -lean_dec(v_a_15775_); -if (v___x_15776_ == 0) -{ -lean_dec(v___x_15678_); -v___y_15699_ = v_a_15773_; -v___y_15700_ = v___x_15771_; -v___y_15701_ = v___y_15757_; -v___y_15702_ = v___y_15758_; -v___y_15703_ = v___y_15759_; -v___y_15704_ = v___y_15760_; -goto v___jp_15698_; -} -else -{ -lean_object* v___x_15777_; -lean_inc(v___y_15760_); -lean_inc_ref(v___y_15759_); -lean_inc(v___y_15758_); -lean_inc_ref(v___y_15757_); -lean_inc(v_a_15773_); -v___x_15777_ = lean_infer_type(v_a_15773_, v___y_15757_, v___y_15758_, v___y_15759_, v___y_15760_); -if (lean_obj_tag(v___x_15777_) == 0) -{ -lean_object* v_a_15778_; lean_object* v___x_15779_; lean_object* v___x_15780_; lean_object* v___x_15781_; lean_object* v___x_15782_; lean_object* v___x_15783_; lean_object* v___x_15784_; lean_object* v___x_15785_; lean_object* v___x_15786_; +lean_object* v_a_15776_; lean_object* v___x_15777_; lean_object* v_a_15778_; uint8_t v___x_15779_; +v_a_15776_ = lean_ctor_get(v___x_15775_, 0); +lean_inc(v_a_15776_); +lean_dec_ref(v___x_15775_); +lean_inc(v___x_15681_); +v___x_15777_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15681_, v___y_15762_); v_a_15778_ = lean_ctor_get(v___x_15777_, 0); lean_inc(v_a_15778_); lean_dec_ref(v___x_15777_); -v___x_15779_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__4___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__4___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__1); -lean_inc(v_a_15773_); -v___x_15780_ = l_Lean_MessageData_ofExpr(v_a_15773_); -v___x_15781_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15781_, 0, v___x_15779_); -lean_ctor_set(v___x_15781_, 1, v___x_15780_); -v___x_15782_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__9, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__9_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__9); -v___x_15783_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15783_, 0, v___x_15781_); -lean_ctor_set(v___x_15783_, 1, v___x_15782_); -v___x_15784_ = l_Lean_MessageData_ofExpr(v_a_15778_); -v___x_15785_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15785_, 0, v___x_15783_); -lean_ctor_set(v___x_15785_, 1, v___x_15784_); -v___x_15786_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15678_, v___x_15785_, v___y_15757_, v___y_15758_, v___y_15759_, v___y_15760_); -if (lean_obj_tag(v___x_15786_) == 0) +v___x_15779_ = lean_unbox(v_a_15778_); +lean_dec(v_a_15778_); +if (v___x_15779_ == 0) { -lean_dec_ref(v___x_15786_); -v___y_15699_ = v_a_15773_; -v___y_15700_ = v___x_15771_; -v___y_15701_ = v___y_15757_; -v___y_15702_ = v___y_15758_; -v___y_15703_ = v___y_15759_; +lean_dec(v___x_15681_); +v___y_15702_ = v___x_15774_; +v___y_15703_ = v_a_15776_; v___y_15704_ = v___y_15760_; -goto v___jp_15698_; +v___y_15705_ = v___y_15761_; +v___y_15706_ = v___y_15762_; +v___y_15707_ = v___y_15763_; +goto v___jp_15701_; } else { -lean_object* v_a_15787_; lean_object* v___x_15789_; uint8_t v_isShared_15790_; uint8_t v_isSharedCheck_15794_; -lean_dec(v_a_15773_); -lean_dec(v___x_15771_); -lean_dec(v___y_15760_); -lean_dec_ref(v___y_15759_); -lean_dec(v___y_15758_); -lean_dec_ref(v___y_15757_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -v_a_15787_ = lean_ctor_get(v___x_15786_, 0); -v_isSharedCheck_15794_ = !lean_is_exclusive(v___x_15786_); -if (v_isSharedCheck_15794_ == 0) +lean_object* v___x_15780_; +lean_inc(v___y_15763_); +lean_inc_ref(v___y_15762_); +lean_inc(v___y_15761_); +lean_inc_ref(v___y_15760_); +lean_inc(v_a_15776_); +v___x_15780_ = lean_infer_type(v_a_15776_, v___y_15760_, v___y_15761_, v___y_15762_, v___y_15763_); +if (lean_obj_tag(v___x_15780_) == 0) { -v___x_15789_ = v___x_15786_; -v_isShared_15790_ = v_isSharedCheck_15794_; -goto v_resetjp_15788_; +lean_object* v_a_15781_; lean_object* v___x_15782_; lean_object* v___x_15783_; lean_object* v___x_15784_; lean_object* v___x_15785_; lean_object* v___x_15786_; lean_object* v___x_15787_; lean_object* v___x_15788_; lean_object* v___x_15789_; +v_a_15781_ = lean_ctor_get(v___x_15780_, 0); +lean_inc(v_a_15781_); +lean_dec_ref(v___x_15780_); +v___x_15782_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__4___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__4___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__1); +lean_inc(v_a_15776_); +v___x_15783_ = l_Lean_MessageData_ofExpr(v_a_15776_); +v___x_15784_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15784_, 0, v___x_15782_); +lean_ctor_set(v___x_15784_, 1, v___x_15783_); +v___x_15785_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__1___closed__9, &l_Lean_Meta_Match_mkMatcher___lam__1___closed__9_once, _init_l_Lean_Meta_Match_mkMatcher___lam__1___closed__9); +v___x_15786_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15786_, 0, v___x_15784_); +lean_ctor_set(v___x_15786_, 1, v___x_15785_); +v___x_15787_ = l_Lean_MessageData_ofExpr(v_a_15781_); +v___x_15788_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15788_, 0, v___x_15786_); +lean_ctor_set(v___x_15788_, 1, v___x_15787_); +v___x_15789_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15681_, v___x_15788_, v___y_15760_, v___y_15761_, v___y_15762_, v___y_15763_); +if (lean_obj_tag(v___x_15789_) == 0) +{ +lean_dec_ref(v___x_15789_); +v___y_15702_ = v___x_15774_; +v___y_15703_ = v_a_15776_; +v___y_15704_ = v___y_15760_; +v___y_15705_ = v___y_15761_; +v___y_15706_ = v___y_15762_; +v___y_15707_ = v___y_15763_; +goto v___jp_15701_; } else { -lean_inc(v_a_15787_); -lean_dec(v___x_15786_); -v___x_15789_ = lean_box(0); -v_isShared_15790_ = v_isSharedCheck_15794_; -goto v_resetjp_15788_; -} -v_resetjp_15788_: -{ -lean_object* v___x_15792_; -if (v_isShared_15790_ == 0) +lean_object* v_a_15790_; lean_object* v___x_15792_; uint8_t v_isShared_15793_; uint8_t v_isSharedCheck_15797_; +lean_dec(v_a_15776_); +lean_dec(v___x_15774_); +lean_dec(v___y_15763_); +lean_dec_ref(v___y_15762_); +lean_dec(v___y_15761_); +lean_dec_ref(v___y_15760_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +v_a_15790_ = lean_ctor_get(v___x_15789_, 0); +v_isSharedCheck_15797_ = !lean_is_exclusive(v___x_15789_); +if (v_isSharedCheck_15797_ == 0) { v___x_15792_ = v___x_15789_; -goto v_reusejp_15791_; +v_isShared_15793_ = v_isSharedCheck_15797_; +goto v_resetjp_15791_; } else { -lean_object* v_reuseFailAlloc_15793_; -v_reuseFailAlloc_15793_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15793_, 0, v_a_15787_); -v___x_15792_ = v_reuseFailAlloc_15793_; -goto v_reusejp_15791_; +lean_inc(v_a_15790_); +lean_dec(v___x_15789_); +v___x_15792_ = lean_box(0); +v_isShared_15793_ = v_isSharedCheck_15797_; +goto v_resetjp_15791_; } -v_reusejp_15791_: +v_resetjp_15791_: { -return v___x_15792_; +lean_object* v___x_15795_; +if (v_isShared_15793_ == 0) +{ +v___x_15795_ = v___x_15792_; +goto v_reusejp_15794_; +} +else +{ +lean_object* v_reuseFailAlloc_15796_; +v_reuseFailAlloc_15796_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15796_, 0, v_a_15790_); +v___x_15795_ = v_reuseFailAlloc_15796_; +goto v_reusejp_15794_; +} +v_reusejp_15794_: +{ +return v___x_15795_; } } } } else { -lean_object* v_a_15795_; lean_object* v___x_15797_; uint8_t v_isShared_15798_; uint8_t v_isSharedCheck_15802_; -lean_dec(v_a_15773_); -lean_dec(v___x_15771_); -lean_dec(v___y_15760_); -lean_dec_ref(v___y_15759_); -lean_dec(v___y_15758_); -lean_dec_ref(v___y_15757_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -lean_dec(v___x_15678_); -v_a_15795_ = lean_ctor_get(v___x_15777_, 0); -v_isSharedCheck_15802_ = !lean_is_exclusive(v___x_15777_); -if (v_isSharedCheck_15802_ == 0) +lean_object* v_a_15798_; lean_object* v___x_15800_; uint8_t v_isShared_15801_; uint8_t v_isSharedCheck_15805_; +lean_dec(v_a_15776_); +lean_dec(v___x_15774_); +lean_dec(v___y_15763_); +lean_dec_ref(v___y_15762_); +lean_dec(v___y_15761_); +lean_dec_ref(v___y_15760_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +lean_dec(v___x_15681_); +v_a_15798_ = lean_ctor_get(v___x_15780_, 0); +v_isSharedCheck_15805_ = !lean_is_exclusive(v___x_15780_); +if (v_isSharedCheck_15805_ == 0) { -v___x_15797_ = v___x_15777_; -v_isShared_15798_ = v_isSharedCheck_15802_; -goto v_resetjp_15796_; +v___x_15800_ = v___x_15780_; +v_isShared_15801_ = v_isSharedCheck_15805_; +goto v_resetjp_15799_; } else { -lean_inc(v_a_15795_); -lean_dec(v___x_15777_); -v___x_15797_ = lean_box(0); -v_isShared_15798_ = v_isSharedCheck_15802_; -goto v_resetjp_15796_; +lean_inc(v_a_15798_); +lean_dec(v___x_15780_); +v___x_15800_ = lean_box(0); +v_isShared_15801_ = v_isSharedCheck_15805_; +goto v_resetjp_15799_; } -v_resetjp_15796_: +v_resetjp_15799_: { -lean_object* v___x_15800_; -if (v_isShared_15798_ == 0) +lean_object* v___x_15803_; +if (v_isShared_15801_ == 0) { -v___x_15800_ = v___x_15797_; -goto v_reusejp_15799_; +v___x_15803_ = v___x_15800_; +goto v_reusejp_15802_; } else { -lean_object* v_reuseFailAlloc_15801_; -v_reuseFailAlloc_15801_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15801_, 0, v_a_15795_); -v___x_15800_ = v_reuseFailAlloc_15801_; -goto v_reusejp_15799_; +lean_object* v_reuseFailAlloc_15804_; +v_reuseFailAlloc_15804_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15804_, 0, v_a_15798_); +v___x_15803_ = v_reuseFailAlloc_15804_; +goto v_reusejp_15802_; } -v_reusejp_15799_: +v_reusejp_15802_: { -return v___x_15800_; +return v___x_15803_; } } } @@ -52846,217 +52863,217 @@ return v___x_15800_; } else { -lean_object* v_a_15803_; lean_object* v___x_15805_; uint8_t v_isShared_15806_; uint8_t v_isSharedCheck_15810_; -lean_dec(v___x_15771_); -lean_dec(v___y_15760_); -lean_dec_ref(v___y_15759_); -lean_dec(v___y_15758_); -lean_dec_ref(v___y_15757_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -lean_dec(v___x_15678_); -v_a_15803_ = lean_ctor_get(v___x_15772_, 0); -v_isSharedCheck_15810_ = !lean_is_exclusive(v___x_15772_); -if (v_isSharedCheck_15810_ == 0) +lean_object* v_a_15806_; lean_object* v___x_15808_; uint8_t v_isShared_15809_; uint8_t v_isSharedCheck_15813_; +lean_dec(v___x_15774_); +lean_dec(v___y_15763_); +lean_dec_ref(v___y_15762_); +lean_dec(v___y_15761_); +lean_dec_ref(v___y_15760_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +lean_dec(v___x_15681_); +v_a_15806_ = lean_ctor_get(v___x_15775_, 0); +v_isSharedCheck_15813_ = !lean_is_exclusive(v___x_15775_); +if (v_isSharedCheck_15813_ == 0) { -v___x_15805_ = v___x_15772_; -v_isShared_15806_ = v_isSharedCheck_15810_; -goto v_resetjp_15804_; +v___x_15808_ = v___x_15775_; +v_isShared_15809_ = v_isSharedCheck_15813_; +goto v_resetjp_15807_; } else { -lean_inc(v_a_15803_); -lean_dec(v___x_15772_); -v___x_15805_ = lean_box(0); -v_isShared_15806_ = v_isSharedCheck_15810_; -goto v_resetjp_15804_; +lean_inc(v_a_15806_); +lean_dec(v___x_15775_); +v___x_15808_ = lean_box(0); +v_isShared_15809_ = v_isSharedCheck_15813_; +goto v_resetjp_15807_; } -v_resetjp_15804_: +v_resetjp_15807_: { -lean_object* v___x_15808_; -if (v_isShared_15806_ == 0) +lean_object* v___x_15811_; +if (v_isShared_15809_ == 0) { -v___x_15808_ = v___x_15805_; -goto v_reusejp_15807_; +v___x_15811_ = v___x_15808_; +goto v_reusejp_15810_; } else { -lean_object* v_reuseFailAlloc_15809_; -v_reuseFailAlloc_15809_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15809_, 0, v_a_15803_); -v___x_15808_ = v_reuseFailAlloc_15809_; -goto v_reusejp_15807_; +lean_object* v_reuseFailAlloc_15812_; +v_reuseFailAlloc_15812_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15812_, 0, v_a_15806_); +v___x_15811_ = v_reuseFailAlloc_15812_; +goto v_reusejp_15810_; } -v_reusejp_15807_: +v_reusejp_15810_: { -return v___x_15808_; +return v___x_15811_; } } } } else { -lean_object* v_a_15811_; lean_object* v___x_15813_; uint8_t v_isShared_15814_; uint8_t v_isSharedCheck_15818_; -lean_dec(v___x_15765_); -lean_dec(v___y_15760_); -lean_dec_ref(v___y_15759_); -lean_dec(v___y_15758_); -lean_dec_ref(v___y_15757_); -lean_dec(v_a_15755_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v_discrs_x27_15689_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -lean_dec(v___x_15678_); -v_a_15811_ = lean_ctor_get(v___x_15770_, 0); -v_isSharedCheck_15818_ = !lean_is_exclusive(v___x_15770_); -if (v_isSharedCheck_15818_ == 0) +lean_object* v_a_15814_; lean_object* v___x_15816_; uint8_t v_isShared_15817_; uint8_t v_isSharedCheck_15821_; +lean_dec(v___x_15768_); +lean_dec(v___y_15763_); +lean_dec_ref(v___y_15762_); +lean_dec(v___y_15761_); +lean_dec_ref(v___y_15760_); +lean_dec(v_a_15758_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v_discrs_x27_15692_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +lean_dec(v___x_15681_); +v_a_15814_ = lean_ctor_get(v___x_15773_, 0); +v_isSharedCheck_15821_ = !lean_is_exclusive(v___x_15773_); +if (v_isSharedCheck_15821_ == 0) { -v___x_15813_ = v___x_15770_; -v_isShared_15814_ = v_isSharedCheck_15818_; -goto v_resetjp_15812_; +v___x_15816_ = v___x_15773_; +v_isShared_15817_ = v_isSharedCheck_15821_; +goto v_resetjp_15815_; } else { -lean_inc(v_a_15811_); -lean_dec(v___x_15770_); -v___x_15813_ = lean_box(0); -v_isShared_15814_ = v_isSharedCheck_15818_; -goto v_resetjp_15812_; +lean_inc(v_a_15814_); +lean_dec(v___x_15773_); +v___x_15816_ = lean_box(0); +v_isShared_15817_ = v_isSharedCheck_15821_; +goto v_resetjp_15815_; } -v_resetjp_15812_: +v_resetjp_15815_: { -lean_object* v___x_15816_; -if (v_isShared_15814_ == 0) +lean_object* v___x_15819_; +if (v_isShared_15817_ == 0) { -v___x_15816_ = v___x_15813_; -goto v_reusejp_15815_; +v___x_15819_ = v___x_15816_; +goto v_reusejp_15818_; } else { -lean_object* v_reuseFailAlloc_15817_; -v_reuseFailAlloc_15817_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15817_, 0, v_a_15811_); -v___x_15816_ = v_reuseFailAlloc_15817_; -goto v_reusejp_15815_; +lean_object* v_reuseFailAlloc_15820_; +v_reuseFailAlloc_15820_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15820_, 0, v_a_15814_); +v___x_15819_ = v_reuseFailAlloc_15820_; +goto v_reusejp_15818_; } -v_reusejp_15815_: +v_reusejp_15818_: { -return v___x_15816_; +return v___x_15819_; } } } } -v_resetjp_15821_: +v_resetjp_15824_: { -uint8_t v___x_15824_; -v___x_15824_ = lean_unbox(v_a_15820_); -lean_dec(v_a_15820_); -if (v___x_15824_ == 0) +uint8_t v___x_15827_; +v___x_15827_ = lean_unbox(v_a_15823_); +lean_dec(v_a_15823_); +if (v___x_15827_ == 0) { -lean_del_object(v___x_15822_); -v___y_15757_ = v___y_15693_; -v___y_15758_ = v___y_15694_; -v___y_15759_ = v___y_15695_; +lean_del_object(v___x_15825_); v___y_15760_ = v___y_15696_; -goto v___jp_15756_; +v___y_15761_ = v___y_15697_; +v___y_15762_ = v___y_15698_; +v___y_15763_ = v___y_15699_; +goto v___jp_15759_; } else { -lean_object* v___x_15825_; lean_object* v___x_15826_; lean_object* v___x_15828_; -v___x_15825_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__4___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__4___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__3); -v___x_15826_ = l_Lean_Expr_mvarId_x21(v_a_15755_); -if (v_isShared_15823_ == 0) +lean_object* v___x_15828_; lean_object* v___x_15829_; lean_object* v___x_15831_; +v___x_15828_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__4___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__4___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__4___closed__3); +v___x_15829_ = l_Lean_Expr_mvarId_x21(v_a_15758_); +if (v_isShared_15826_ == 0) { -lean_ctor_set_tag(v___x_15822_, 1); -lean_ctor_set(v___x_15822_, 0, v___x_15826_); -v___x_15828_ = v___x_15822_; -goto v_reusejp_15827_; +lean_ctor_set_tag(v___x_15825_, 1); +lean_ctor_set(v___x_15825_, 0, v___x_15829_); +v___x_15831_ = v___x_15825_; +goto v_reusejp_15830_; } else { -lean_object* v_reuseFailAlloc_15839_; -v_reuseFailAlloc_15839_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15839_, 0, v___x_15826_); -v___x_15828_ = v_reuseFailAlloc_15839_; -goto v_reusejp_15827_; +lean_object* v_reuseFailAlloc_15842_; +v_reuseFailAlloc_15842_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15842_, 0, v___x_15829_); +v___x_15831_ = v_reuseFailAlloc_15842_; +goto v_reusejp_15830_; } -v_reusejp_15827_: +v_reusejp_15830_: { -lean_object* v___x_15829_; lean_object* v___x_15830_; -v___x_15829_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_15829_, 0, v___x_15825_); -lean_ctor_set(v___x_15829_, 1, v___x_15828_); -lean_inc(v___x_15678_); -v___x_15830_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15678_, v___x_15829_, v___y_15693_, v___y_15694_, v___y_15695_, v___y_15696_); -if (lean_obj_tag(v___x_15830_) == 0) +lean_object* v___x_15832_; lean_object* v___x_15833_; +v___x_15832_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_15832_, 0, v___x_15828_); +lean_ctor_set(v___x_15832_, 1, v___x_15831_); +lean_inc(v___x_15681_); +v___x_15833_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15681_, v___x_15832_, v___y_15696_, v___y_15697_, v___y_15698_, v___y_15699_); +if (lean_obj_tag(v___x_15833_) == 0) { -lean_dec_ref(v___x_15830_); -v___y_15757_ = v___y_15693_; -v___y_15758_ = v___y_15694_; -v___y_15759_ = v___y_15695_; +lean_dec_ref(v___x_15833_); v___y_15760_ = v___y_15696_; -goto v___jp_15756_; +v___y_15761_ = v___y_15697_; +v___y_15762_ = v___y_15698_; +v___y_15763_ = v___y_15699_; +goto v___jp_15759_; } else { -lean_object* v_a_15831_; lean_object* v___x_15833_; uint8_t v_isShared_15834_; uint8_t v_isSharedCheck_15838_; -lean_dec(v_a_15755_); -lean_dec(v___y_15696_); -lean_dec_ref(v___y_15695_); -lean_dec(v___y_15694_); -lean_dec_ref(v___y_15693_); -lean_dec_ref(v_altInfos_15692_); -lean_dec(v_alts_15690_); -lean_dec_ref(v_discrs_x27_15689_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -lean_dec(v___x_15678_); -v_a_15831_ = lean_ctor_get(v___x_15830_, 0); -v_isSharedCheck_15838_ = !lean_is_exclusive(v___x_15830_); -if (v_isSharedCheck_15838_ == 0) -{ -v___x_15833_ = v___x_15830_; -v_isShared_15834_ = v_isSharedCheck_15838_; -goto v_resetjp_15832_; -} -else -{ -lean_inc(v_a_15831_); -lean_dec(v___x_15830_); -v___x_15833_ = lean_box(0); -v_isShared_15834_ = v_isSharedCheck_15838_; -goto v_resetjp_15832_; -} -v_resetjp_15832_: -{ -lean_object* v___x_15836_; -if (v_isShared_15834_ == 0) +lean_object* v_a_15834_; lean_object* v___x_15836_; uint8_t v_isShared_15837_; uint8_t v_isSharedCheck_15841_; +lean_dec(v_a_15758_); +lean_dec(v___y_15699_); +lean_dec_ref(v___y_15698_); +lean_dec(v___y_15697_); +lean_dec_ref(v___y_15696_); +lean_dec_ref(v_altInfos_15695_); +lean_dec(v_alts_15693_); +lean_dec_ref(v_discrs_x27_15692_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +lean_dec(v___x_15681_); +v_a_15834_ = lean_ctor_get(v___x_15833_, 0); +v_isSharedCheck_15841_ = !lean_is_exclusive(v___x_15833_); +if (v_isSharedCheck_15841_ == 0) { v___x_15836_ = v___x_15833_; -goto v_reusejp_15835_; +v_isShared_15837_ = v_isSharedCheck_15841_; +goto v_resetjp_15835_; } else { -lean_object* v_reuseFailAlloc_15837_; -v_reuseFailAlloc_15837_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15837_, 0, v_a_15831_); -v___x_15836_ = v_reuseFailAlloc_15837_; -goto v_reusejp_15835_; +lean_inc(v_a_15834_); +lean_dec(v___x_15833_); +v___x_15836_ = lean_box(0); +v_isShared_15837_ = v_isSharedCheck_15841_; +goto v_resetjp_15835_; } -v_reusejp_15835_: +v_resetjp_15835_: { -return v___x_15836_; +lean_object* v___x_15839_; +if (v_isShared_15837_ == 0) +{ +v___x_15839_ = v___x_15836_; +goto v_reusejp_15838_; +} +else +{ +lean_object* v_reuseFailAlloc_15840_; +v_reuseFailAlloc_15840_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15840_, 0, v_a_15834_); +v___x_15839_ = v_reuseFailAlloc_15840_; +goto v_reusejp_15838_; +} +v_reusejp_15838_: +{ +return v___x_15839_; } } } @@ -53066,262 +53083,262 @@ return v___x_15836_; } else { -lean_object* v_a_15841_; lean_object* v___x_15843_; uint8_t v_isShared_15844_; uint8_t v_isSharedCheck_15848_; -lean_dec(v___y_15696_); -lean_dec_ref(v___y_15695_); -lean_dec(v___y_15694_); -lean_dec_ref(v___y_15693_); -lean_dec_ref(v_altInfos_15692_); -lean_dec(v_alts_15690_); -lean_dec_ref(v_discrs_x27_15689_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -lean_dec(v_numDiscrs_15681_); -lean_dec_ref(v_discrInfos_15680_); -lean_dec(v___x_15679_); -lean_dec(v___x_15678_); -v_a_15841_ = lean_ctor_get(v___x_15754_, 0); -v_isSharedCheck_15848_ = !lean_is_exclusive(v___x_15754_); -if (v_isSharedCheck_15848_ == 0) +lean_object* v_a_15844_; lean_object* v___x_15846_; uint8_t v_isShared_15847_; uint8_t v_isSharedCheck_15851_; +lean_dec(v___y_15699_); +lean_dec_ref(v___y_15698_); +lean_dec(v___y_15697_); +lean_dec_ref(v___y_15696_); +lean_dec_ref(v_altInfos_15695_); +lean_dec(v_alts_15693_); +lean_dec_ref(v_discrs_x27_15692_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +lean_dec(v_numDiscrs_15684_); +lean_dec_ref(v_discrInfos_15683_); +lean_dec(v___x_15682_); +lean_dec(v___x_15681_); +v_a_15844_ = lean_ctor_get(v___x_15757_, 0); +v_isSharedCheck_15851_ = !lean_is_exclusive(v___x_15757_); +if (v_isSharedCheck_15851_ == 0) { -v___x_15843_ = v___x_15754_; -v_isShared_15844_ = v_isSharedCheck_15848_; -goto v_resetjp_15842_; +v___x_15846_ = v___x_15757_; +v_isShared_15847_ = v_isSharedCheck_15851_; +goto v_resetjp_15845_; } else { -lean_inc(v_a_15841_); -lean_dec(v___x_15754_); -v___x_15843_ = lean_box(0); -v_isShared_15844_ = v_isSharedCheck_15848_; -goto v_resetjp_15842_; +lean_inc(v_a_15844_); +lean_dec(v___x_15757_); +v___x_15846_ = lean_box(0); +v_isShared_15847_ = v_isSharedCheck_15851_; +goto v_resetjp_15845_; } -v_resetjp_15842_: +v_resetjp_15845_: { -lean_object* v___x_15846_; -if (v_isShared_15844_ == 0) +lean_object* v___x_15849_; +if (v_isShared_15847_ == 0) { -v___x_15846_ = v___x_15843_; -goto v_reusejp_15845_; +v___x_15849_ = v___x_15846_; +goto v_reusejp_15848_; } else { -lean_object* v_reuseFailAlloc_15847_; -v_reuseFailAlloc_15847_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15847_, 0, v_a_15841_); -v___x_15846_ = v_reuseFailAlloc_15847_; -goto v_reusejp_15845_; +lean_object* v_reuseFailAlloc_15850_; +v_reuseFailAlloc_15850_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15850_, 0, v_a_15844_); +v___x_15849_ = v_reuseFailAlloc_15850_; +goto v_reusejp_15848_; } -v_reusejp_15845_: +v_reusejp_15848_: { -return v___x_15846_; +return v___x_15849_; } } } -v___jp_15698_: +v___jp_15701_: { -lean_object* v___x_15705_; lean_object* v___x_15706_; lean_object* v___x_15707_; lean_object* v___x_15708_; size_t v_sz_15709_; size_t v___x_15710_; lean_object* v___x_15711_; -v___x_15705_ = lean_mk_empty_array_with_capacity(v___x_15679_); -lean_inc(v___x_15679_); -v___x_15706_ = l_Array_toSubarray___redArg(v_discrInfos_15680_, v___x_15679_, v_numDiscrs_15681_); -v___x_15707_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15707_, 0, v___x_15679_); -lean_ctor_set(v___x_15707_, 1, v___x_15706_); -v___x_15708_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_15708_, 0, v___x_15705_); -lean_ctor_set(v___x_15708_, 1, v___x_15707_); -v_sz_15709_ = lean_array_size(v_discrs_15682_); -v___x_15710_ = ((size_t)0ULL); -lean_inc(v___y_15704_); -lean_inc_ref(v___y_15703_); -lean_inc(v___y_15702_); -lean_inc_ref(v___y_15701_); -v___x_15711_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(v_snd_15683_, v_discrs_15682_, v_sz_15709_, v___x_15710_, v___x_15708_, v___y_15701_, v___y_15702_, v___y_15703_, v___y_15704_); -if (lean_obj_tag(v___x_15711_) == 0) +lean_object* v___x_15708_; lean_object* v___x_15709_; lean_object* v___x_15710_; lean_object* v___x_15711_; size_t v_sz_15712_; size_t v___x_15713_; lean_object* v___x_15714_; +v___x_15708_ = lean_mk_empty_array_with_capacity(v___x_15682_); +lean_inc(v___x_15682_); +v___x_15709_ = l_Array_toSubarray___redArg(v_discrInfos_15683_, v___x_15682_, v_numDiscrs_15684_); +v___x_15710_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15710_, 0, v___x_15682_); +lean_ctor_set(v___x_15710_, 1, v___x_15709_); +v___x_15711_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_15711_, 0, v___x_15708_); +lean_ctor_set(v___x_15711_, 1, v___x_15710_); +v_sz_15712_ = lean_array_size(v_discrs_15685_); +v___x_15713_ = ((size_t)0ULL); +lean_inc(v___y_15707_); +lean_inc_ref(v___y_15706_); +lean_inc(v___y_15705_); +lean_inc_ref(v___y_15704_); +v___x_15714_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Meta_Match_mkMatcher_spec__5(v_snd_15686_, v_discrs_15685_, v_sz_15712_, v___x_15713_, v___x_15711_, v___y_15704_, v___y_15705_, v___y_15706_, v___y_15707_); +if (lean_obj_tag(v___x_15714_) == 0) { -lean_object* v_a_15712_; lean_object* v_fst_15713_; lean_object* v___x_15714_; lean_object* v___x_15715_; lean_object* v___x_15716_; lean_object* v___x_15717_; lean_object* v___x_15718_; lean_object* v___x_15719_; lean_object* v___x_15720_; lean_object* v___x_15721_; -v_a_15712_ = lean_ctor_get(v___x_15711_, 0); -lean_inc(v_a_15712_); -lean_dec_ref(v___x_15711_); -v_fst_15713_ = lean_ctor_get(v_a_15712_, 0); -lean_inc(v_fst_15713_); -lean_dec(v_a_15712_); -v___x_15714_ = l_Lean_mkAppN(v___y_15699_, v_discrs_15682_); -v___x_15715_ = l_Lean_mkAppN(v___x_15714_, v_fst_15713_); -lean_dec(v_fst_15713_); -v___x_15716_ = lean_unsigned_to_nat(1u); -v___x_15717_ = lean_mk_empty_array_with_capacity(v___x_15716_); -lean_inc_ref(v_motive_15684_); -v___x_15718_ = lean_array_push(v___x_15717_, v_motive_15684_); -v___x_15719_ = l_Array_append___redArg(v___x_15718_, v_discrs_15682_); -v___x_15720_ = l_Array_append___redArg(v___x_15719_, v_minors_15691_); -v___x_15721_ = l_Lean_Meta_mkLambdaFVars(v___x_15720_, v___x_15715_, v___x_15685_, v___x_15686_, v___x_15685_, v___x_15686_, v___x_15687_, v___y_15701_, v___y_15702_, v___y_15703_, v___y_15704_); -if (lean_obj_tag(v___x_15721_) == 0) -{ -lean_object* v_a_15722_; lean_object* v___x_15723_; lean_object* v___x_15724_; -v_a_15722_ = lean_ctor_get(v___x_15721_, 0); -lean_inc(v_a_15722_); -lean_dec_ref(v___x_15721_); -v___x_15723_ = l_Lean_mkAppN(v_motive_15684_, v_discrs_15682_); -v___x_15724_ = l_Lean_Meta_mkForallFVars(v___x_15720_, v___x_15723_, v___x_15685_, v___x_15686_, v___x_15686_, v___x_15687_, v___y_15701_, v___y_15702_, v___y_15703_, v___y_15704_); -lean_dec_ref(v___x_15720_); +lean_object* v_a_15715_; lean_object* v_fst_15716_; lean_object* v___x_15717_; lean_object* v___x_15718_; lean_object* v___x_15719_; lean_object* v___x_15720_; lean_object* v___x_15721_; lean_object* v___x_15722_; lean_object* v___x_15723_; lean_object* v___x_15724_; +v_a_15715_ = lean_ctor_get(v___x_15714_, 0); +lean_inc(v_a_15715_); +lean_dec_ref(v___x_15714_); +v_fst_15716_ = lean_ctor_get(v_a_15715_, 0); +lean_inc(v_fst_15716_); +lean_dec(v_a_15715_); +v___x_15717_ = l_Lean_mkAppN(v___y_15703_, v_discrs_15685_); +v___x_15718_ = l_Lean_mkAppN(v___x_15717_, v_fst_15716_); +lean_dec(v_fst_15716_); +v___x_15719_ = lean_unsigned_to_nat(1u); +v___x_15720_ = lean_mk_empty_array_with_capacity(v___x_15719_); +lean_inc_ref(v_motive_15687_); +v___x_15721_ = lean_array_push(v___x_15720_, v_motive_15687_); +v___x_15722_ = l_Array_append___redArg(v___x_15721_, v_discrs_15685_); +v___x_15723_ = l_Array_append___redArg(v___x_15722_, v_minors_15694_); +v___x_15724_ = l_Lean_Meta_mkLambdaFVars(v___x_15723_, v___x_15718_, v___x_15688_, v___x_15689_, v___x_15688_, v___x_15689_, v___x_15690_, v___y_15704_, v___y_15705_, v___y_15706_, v___y_15707_); if (lean_obj_tag(v___x_15724_) == 0) { -lean_object* v_a_15725_; lean_object* v___x_15726_; +lean_object* v_a_15725_; lean_object* v___x_15726_; lean_object* v___x_15727_; v_a_15725_ = lean_ctor_get(v___x_15724_, 0); lean_inc(v_a_15725_); lean_dec_ref(v___x_15724_); -v___x_15726_ = lean_apply_9(v___f_15688_, v_a_15725_, v_a_15722_, v_altInfos_15692_, v___y_15700_, v___y_15701_, v___y_15702_, v___y_15703_, v___y_15704_, lean_box(0)); -return v___x_15726_; +v___x_15726_ = l_Lean_mkAppN(v_motive_15687_, v_discrs_15685_); +v___x_15727_ = l_Lean_Meta_mkForallFVars(v___x_15723_, v___x_15726_, v___x_15688_, v___x_15689_, v___x_15689_, v___x_15690_, v___y_15704_, v___y_15705_, v___y_15706_, v___y_15707_); +lean_dec_ref(v___x_15723_); +if (lean_obj_tag(v___x_15727_) == 0) +{ +lean_object* v_a_15728_; lean_object* v___x_15729_; +v_a_15728_ = lean_ctor_get(v___x_15727_, 0); +lean_inc(v_a_15728_); +lean_dec_ref(v___x_15727_); +v___x_15729_ = lean_apply_9(v___f_15691_, v_a_15728_, v_a_15725_, v_altInfos_15695_, v___y_15702_, v___y_15704_, v___y_15705_, v___y_15706_, v___y_15707_, lean_box(0)); +return v___x_15729_; } else { -lean_object* v_a_15727_; lean_object* v___x_15729_; uint8_t v_isShared_15730_; uint8_t v_isSharedCheck_15734_; -lean_dec(v_a_15722_); -lean_dec(v___y_15704_); -lean_dec_ref(v___y_15703_); -lean_dec(v___y_15702_); -lean_dec_ref(v___y_15701_); -lean_dec_ref(v___y_15700_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -v_a_15727_ = lean_ctor_get(v___x_15724_, 0); -v_isSharedCheck_15734_ = !lean_is_exclusive(v___x_15724_); -if (v_isSharedCheck_15734_ == 0) +lean_object* v_a_15730_; lean_object* v___x_15732_; uint8_t v_isShared_15733_; uint8_t v_isSharedCheck_15737_; +lean_dec(v_a_15725_); +lean_dec(v___y_15707_); +lean_dec_ref(v___y_15706_); +lean_dec(v___y_15705_); +lean_dec_ref(v___y_15704_); +lean_dec_ref(v___y_15702_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +v_a_15730_ = lean_ctor_get(v___x_15727_, 0); +v_isSharedCheck_15737_ = !lean_is_exclusive(v___x_15727_); +if (v_isSharedCheck_15737_ == 0) { -v___x_15729_ = v___x_15724_; -v_isShared_15730_ = v_isSharedCheck_15734_; -goto v_resetjp_15728_; +v___x_15732_ = v___x_15727_; +v_isShared_15733_ = v_isSharedCheck_15737_; +goto v_resetjp_15731_; } else { -lean_inc(v_a_15727_); +lean_inc(v_a_15730_); +lean_dec(v___x_15727_); +v___x_15732_ = lean_box(0); +v_isShared_15733_ = v_isSharedCheck_15737_; +goto v_resetjp_15731_; +} +v_resetjp_15731_: +{ +lean_object* v___x_15735_; +if (v_isShared_15733_ == 0) +{ +v___x_15735_ = v___x_15732_; +goto v_reusejp_15734_; +} +else +{ +lean_object* v_reuseFailAlloc_15736_; +v_reuseFailAlloc_15736_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15736_, 0, v_a_15730_); +v___x_15735_ = v_reuseFailAlloc_15736_; +goto v_reusejp_15734_; +} +v_reusejp_15734_: +{ +return v___x_15735_; +} +} +} +} +else +{ +lean_object* v_a_15738_; lean_object* v___x_15740_; uint8_t v_isShared_15741_; uint8_t v_isSharedCheck_15745_; +lean_dec_ref(v___x_15723_); +lean_dec(v___y_15707_); +lean_dec_ref(v___y_15706_); +lean_dec(v___y_15705_); +lean_dec_ref(v___y_15704_); +lean_dec_ref(v___y_15702_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +v_a_15738_ = lean_ctor_get(v___x_15724_, 0); +v_isSharedCheck_15745_ = !lean_is_exclusive(v___x_15724_); +if (v_isSharedCheck_15745_ == 0) +{ +v___x_15740_ = v___x_15724_; +v_isShared_15741_ = v_isSharedCheck_15745_; +goto v_resetjp_15739_; +} +else +{ +lean_inc(v_a_15738_); lean_dec(v___x_15724_); -v___x_15729_ = lean_box(0); -v_isShared_15730_ = v_isSharedCheck_15734_; -goto v_resetjp_15728_; +v___x_15740_ = lean_box(0); +v_isShared_15741_ = v_isSharedCheck_15745_; +goto v_resetjp_15739_; } -v_resetjp_15728_: +v_resetjp_15739_: { -lean_object* v___x_15732_; -if (v_isShared_15730_ == 0) +lean_object* v___x_15743_; +if (v_isShared_15741_ == 0) { -v___x_15732_ = v___x_15729_; -goto v_reusejp_15731_; +v___x_15743_ = v___x_15740_; +goto v_reusejp_15742_; } else { -lean_object* v_reuseFailAlloc_15733_; -v_reuseFailAlloc_15733_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15733_, 0, v_a_15727_); -v___x_15732_ = v_reuseFailAlloc_15733_; -goto v_reusejp_15731_; +lean_object* v_reuseFailAlloc_15744_; +v_reuseFailAlloc_15744_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15744_, 0, v_a_15738_); +v___x_15743_ = v_reuseFailAlloc_15744_; +goto v_reusejp_15742_; } -v_reusejp_15731_: +v_reusejp_15742_: { -return v___x_15732_; +return v___x_15743_; } } } } else { -lean_object* v_a_15735_; lean_object* v___x_15737_; uint8_t v_isShared_15738_; uint8_t v_isSharedCheck_15742_; -lean_dec_ref(v___x_15720_); -lean_dec(v___y_15704_); +lean_object* v_a_15746_; lean_object* v___x_15748_; uint8_t v_isShared_15749_; uint8_t v_isSharedCheck_15753_; +lean_dec(v___y_15707_); +lean_dec_ref(v___y_15706_); +lean_dec(v___y_15705_); +lean_dec_ref(v___y_15704_); lean_dec_ref(v___y_15703_); -lean_dec(v___y_15702_); -lean_dec_ref(v___y_15701_); -lean_dec_ref(v___y_15700_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -v_a_15735_ = lean_ctor_get(v___x_15721_, 0); -v_isSharedCheck_15742_ = !lean_is_exclusive(v___x_15721_); -if (v_isSharedCheck_15742_ == 0) +lean_dec_ref(v___y_15702_); +lean_dec_ref(v_altInfos_15695_); +lean_dec_ref(v___f_15691_); +lean_dec_ref(v_motive_15687_); +v_a_15746_ = lean_ctor_get(v___x_15714_, 0); +v_isSharedCheck_15753_ = !lean_is_exclusive(v___x_15714_); +if (v_isSharedCheck_15753_ == 0) { -v___x_15737_ = v___x_15721_; -v_isShared_15738_ = v_isSharedCheck_15742_; -goto v_resetjp_15736_; +v___x_15748_ = v___x_15714_; +v_isShared_15749_ = v_isSharedCheck_15753_; +goto v_resetjp_15747_; } else { -lean_inc(v_a_15735_); -lean_dec(v___x_15721_); -v___x_15737_ = lean_box(0); -v_isShared_15738_ = v_isSharedCheck_15742_; -goto v_resetjp_15736_; +lean_inc(v_a_15746_); +lean_dec(v___x_15714_); +v___x_15748_ = lean_box(0); +v_isShared_15749_ = v_isSharedCheck_15753_; +goto v_resetjp_15747_; } -v_resetjp_15736_: +v_resetjp_15747_: { -lean_object* v___x_15740_; -if (v_isShared_15738_ == 0) +lean_object* v___x_15751_; +if (v_isShared_15749_ == 0) { -v___x_15740_ = v___x_15737_; -goto v_reusejp_15739_; +v___x_15751_ = v___x_15748_; +goto v_reusejp_15750_; } else { -lean_object* v_reuseFailAlloc_15741_; -v_reuseFailAlloc_15741_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15741_, 0, v_a_15735_); -v___x_15740_ = v_reuseFailAlloc_15741_; -goto v_reusejp_15739_; +lean_object* v_reuseFailAlloc_15752_; +v_reuseFailAlloc_15752_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15752_, 0, v_a_15746_); +v___x_15751_ = v_reuseFailAlloc_15752_; +goto v_reusejp_15750_; } -v_reusejp_15739_: +v_reusejp_15750_: { -return v___x_15740_; -} -} -} -} -else -{ -lean_object* v_a_15743_; lean_object* v___x_15745_; uint8_t v_isShared_15746_; uint8_t v_isSharedCheck_15750_; -lean_dec(v___y_15704_); -lean_dec_ref(v___y_15703_); -lean_dec(v___y_15702_); -lean_dec_ref(v___y_15701_); -lean_dec_ref(v___y_15700_); -lean_dec_ref(v___y_15699_); -lean_dec_ref(v_altInfos_15692_); -lean_dec_ref(v___f_15688_); -lean_dec_ref(v_motive_15684_); -v_a_15743_ = lean_ctor_get(v___x_15711_, 0); -v_isSharedCheck_15750_ = !lean_is_exclusive(v___x_15711_); -if (v_isSharedCheck_15750_ == 0) -{ -v___x_15745_ = v___x_15711_; -v_isShared_15746_ = v_isSharedCheck_15750_; -goto v_resetjp_15744_; -} -else -{ -lean_inc(v_a_15743_); -lean_dec(v___x_15711_); -v___x_15745_ = lean_box(0); -v_isShared_15746_ = v_isSharedCheck_15750_; -goto v_resetjp_15744_; -} -v_resetjp_15744_: -{ -lean_object* v___x_15748_; -if (v_isShared_15746_ == 0) -{ -v___x_15748_ = v___x_15745_; -goto v_reusejp_15747_; -} -else -{ -lean_object* v_reuseFailAlloc_15749_; -v_reuseFailAlloc_15749_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15749_, 0, v_a_15743_); -v___x_15748_ = v_reuseFailAlloc_15749_; -goto v_reusejp_15747_; -} -v_reusejp_15747_: -{ -return v___x_15748_; +return v___x_15751_; } } } @@ -53329,218 +53346,218 @@ return v___x_15748_; } } LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__4___boxed(lean_object** _args){ -lean_object* v_fst_15849_ = _args[0]; -lean_object* v___x_15850_ = _args[1]; -lean_object* v___x_15851_ = _args[2]; -lean_object* v_discrInfos_15852_ = _args[3]; -lean_object* v_numDiscrs_15853_ = _args[4]; -lean_object* v_discrs_15854_ = _args[5]; -lean_object* v_snd_15855_ = _args[6]; -lean_object* v_motive_15856_ = _args[7]; -lean_object* v___x_15857_ = _args[8]; -lean_object* v___x_15858_ = _args[9]; -lean_object* v___x_15859_ = _args[10]; -lean_object* v___f_15860_ = _args[11]; -lean_object* v_discrs_x27_15861_ = _args[12]; -lean_object* v_alts_15862_ = _args[13]; -lean_object* v_minors_15863_ = _args[14]; -lean_object* v_altInfos_15864_ = _args[15]; -lean_object* v___y_15865_ = _args[16]; -lean_object* v___y_15866_ = _args[17]; -lean_object* v___y_15867_ = _args[18]; -lean_object* v___y_15868_ = _args[19]; -lean_object* v___y_15869_ = _args[20]; +lean_object* v_fst_15852_ = _args[0]; +lean_object* v___x_15853_ = _args[1]; +lean_object* v___x_15854_ = _args[2]; +lean_object* v_discrInfos_15855_ = _args[3]; +lean_object* v_numDiscrs_15856_ = _args[4]; +lean_object* v_discrs_15857_ = _args[5]; +lean_object* v_snd_15858_ = _args[6]; +lean_object* v_motive_15859_ = _args[7]; +lean_object* v___x_15860_ = _args[8]; +lean_object* v___x_15861_ = _args[9]; +lean_object* v___x_15862_ = _args[10]; +lean_object* v___f_15863_ = _args[11]; +lean_object* v_discrs_x27_15864_ = _args[12]; +lean_object* v_alts_15865_ = _args[13]; +lean_object* v_minors_15866_ = _args[14]; +lean_object* v_altInfos_15867_ = _args[15]; +lean_object* v___y_15868_ = _args[16]; +lean_object* v___y_15869_ = _args[17]; +lean_object* v___y_15870_ = _args[18]; +lean_object* v___y_15871_ = _args[19]; +lean_object* v___y_15872_ = _args[20]; _start: { -uint8_t v___x_24559__boxed_15870_; uint8_t v___x_24560__boxed_15871_; uint8_t v___x_24561__boxed_15872_; lean_object* v_res_15873_; -v___x_24559__boxed_15870_ = lean_unbox(v___x_15857_); -v___x_24560__boxed_15871_ = lean_unbox(v___x_15858_); -v___x_24561__boxed_15872_ = lean_unbox(v___x_15859_); -v_res_15873_ = l_Lean_Meta_Match_mkMatcher___lam__4(v_fst_15849_, v___x_15850_, v___x_15851_, v_discrInfos_15852_, v_numDiscrs_15853_, v_discrs_15854_, v_snd_15855_, v_motive_15856_, v___x_24559__boxed_15870_, v___x_24560__boxed_15871_, v___x_24561__boxed_15872_, v___f_15860_, v_discrs_x27_15861_, v_alts_15862_, v_minors_15863_, v_altInfos_15864_, v___y_15865_, v___y_15866_, v___y_15867_, v___y_15868_); -lean_dec_ref(v_minors_15863_); -lean_dec_ref(v_snd_15855_); -lean_dec_ref(v_discrs_15854_); -return v_res_15873_; +uint8_t v___x_24559__boxed_15873_; uint8_t v___x_24560__boxed_15874_; uint8_t v___x_24561__boxed_15875_; lean_object* v_res_15876_; +v___x_24559__boxed_15873_ = lean_unbox(v___x_15860_); +v___x_24560__boxed_15874_ = lean_unbox(v___x_15861_); +v___x_24561__boxed_15875_ = lean_unbox(v___x_15862_); +v_res_15876_ = l_Lean_Meta_Match_mkMatcher___lam__4(v_fst_15852_, v___x_15853_, v___x_15854_, v_discrInfos_15855_, v_numDiscrs_15856_, v_discrs_15857_, v_snd_15858_, v_motive_15859_, v___x_24559__boxed_15873_, v___x_24560__boxed_15874_, v___x_24561__boxed_15875_, v___f_15863_, v_discrs_x27_15864_, v_alts_15865_, v_minors_15866_, v_altInfos_15867_, v___y_15868_, v___y_15869_, v___y_15870_, v___y_15871_); +lean_dec_ref(v_minors_15866_); +lean_dec_ref(v_snd_15858_); +lean_dec_ref(v_discrs_15857_); +return v_res_15876_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__5___closed__1(void){ _start: { -lean_object* v___x_15875_; lean_object* v___x_15876_; -v___x_15875_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__5___closed__0)); -v___x_15876_ = l_Lean_stringToMessageData(v___x_15875_); -return v___x_15876_; +lean_object* v___x_15878_; lean_object* v___x_15879_; +v___x_15878_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__5___closed__0)); +v___x_15879_ = l_Lean_stringToMessageData(v___x_15878_); +return v___x_15879_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__5(lean_object* v_motive_15877_, uint8_t v___x_15878_, uint8_t v___x_15879_, uint8_t v___x_15880_, lean_object* v_discrs_15881_, lean_object* v_discrInfos_15882_, lean_object* v___x_15883_, lean_object* v___x_15884_, lean_object* v_numDiscrs_15885_, lean_object* v___f_15886_, lean_object* v_lhss_15887_, lean_object* v_isSplitter_15888_, lean_object* v_discrs_x27_15889_, lean_object* v_x_15890_, lean_object* v___y_15891_, lean_object* v___y_15892_, lean_object* v___y_15893_, lean_object* v___y_15894_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__5(lean_object* v_motive_15880_, uint8_t v___x_15881_, uint8_t v___x_15882_, uint8_t v___x_15883_, lean_object* v_discrs_15884_, lean_object* v_discrInfos_15885_, lean_object* v___x_15886_, lean_object* v___x_15887_, lean_object* v_numDiscrs_15888_, lean_object* v___f_15889_, lean_object* v_lhss_15890_, lean_object* v_isSplitter_15891_, lean_object* v_discrs_x27_15892_, lean_object* v_x_15893_, lean_object* v___y_15894_, lean_object* v___y_15895_, lean_object* v___y_15896_, lean_object* v___y_15897_){ _start: { -lean_object* v___x_15896_; lean_object* v___x_15897_; lean_object* v___x_15898_; lean_object* v___f_15899_; lean_object* v___x_15900_; -v___x_15896_ = lean_box(v___x_15878_); -v___x_15897_ = lean_box(v___x_15879_); -v___x_15898_ = lean_box(v___x_15880_); -lean_inc_ref(v_discrs_x27_15889_); -lean_inc_ref(v_motive_15877_); -v___f_15899_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__3___boxed), 11, 5); -lean_closure_set(v___f_15899_, 0, v_motive_15877_); -lean_closure_set(v___f_15899_, 1, v_discrs_x27_15889_); -lean_closure_set(v___f_15899_, 2, v___x_15896_); -lean_closure_set(v___f_15899_, 3, v___x_15897_); -lean_closure_set(v___f_15899_, 4, v___x_15898_); -lean_inc(v___y_15894_); -lean_inc_ref(v___y_15893_); -lean_inc(v___y_15892_); -lean_inc_ref(v___y_15891_); -lean_inc_ref(v_discrInfos_15882_); -lean_inc_ref(v_discrs_x27_15889_); -lean_inc_ref(v_discrs_15881_); -v___x_15900_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs___redArg(v_discrs_15881_, v_discrs_x27_15889_, v_discrInfos_15882_, v___f_15899_, v___y_15891_, v___y_15892_, v___y_15893_, v___y_15894_); -if (lean_obj_tag(v___x_15900_) == 0) +lean_object* v___x_15899_; lean_object* v___x_15900_; lean_object* v___x_15901_; lean_object* v___f_15902_; lean_object* v___x_15903_; +v___x_15899_ = lean_box(v___x_15881_); +v___x_15900_ = lean_box(v___x_15882_); +v___x_15901_ = lean_box(v___x_15883_); +lean_inc_ref(v_discrs_x27_15892_); +lean_inc_ref(v_motive_15880_); +v___f_15902_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__3___boxed), 11, 5); +lean_closure_set(v___f_15902_, 0, v_motive_15880_); +lean_closure_set(v___f_15902_, 1, v_discrs_x27_15892_); +lean_closure_set(v___f_15902_, 2, v___x_15899_); +lean_closure_set(v___f_15902_, 3, v___x_15900_); +lean_closure_set(v___f_15902_, 4, v___x_15901_); +lean_inc(v___y_15897_); +lean_inc_ref(v___y_15896_); +lean_inc(v___y_15895_); +lean_inc_ref(v___y_15894_); +lean_inc_ref(v_discrInfos_15885_); +lean_inc_ref(v_discrs_x27_15892_); +lean_inc_ref(v_discrs_15884_); +v___x_15903_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs___redArg(v_discrs_15884_, v_discrs_x27_15892_, v_discrInfos_15885_, v___f_15902_, v___y_15894_, v___y_15895_, v___y_15896_, v___y_15897_); +if (lean_obj_tag(v___x_15903_) == 0) { -lean_object* v_a_15901_; lean_object* v_fst_15902_; lean_object* v_snd_15903_; lean_object* v___x_15905_; uint8_t v_isShared_15906_; uint8_t v_isSharedCheck_15930_; -v_a_15901_ = lean_ctor_get(v___x_15900_, 0); -lean_inc(v_a_15901_); -lean_dec_ref(v___x_15900_); -v_fst_15902_ = lean_ctor_get(v_a_15901_, 0); -v_snd_15903_ = lean_ctor_get(v_a_15901_, 1); -v_isSharedCheck_15930_ = !lean_is_exclusive(v_a_15901_); -if (v_isSharedCheck_15930_ == 0) +lean_object* v_a_15904_; lean_object* v_fst_15905_; lean_object* v_snd_15906_; lean_object* v___x_15908_; uint8_t v_isShared_15909_; uint8_t v_isSharedCheck_15933_; +v_a_15904_ = lean_ctor_get(v___x_15903_, 0); +lean_inc(v_a_15904_); +lean_dec_ref(v___x_15903_); +v_fst_15905_ = lean_ctor_get(v_a_15904_, 0); +v_snd_15906_ = lean_ctor_get(v_a_15904_, 1); +v_isSharedCheck_15933_ = !lean_is_exclusive(v_a_15904_); +if (v_isSharedCheck_15933_ == 0) { -v___x_15905_ = v_a_15901_; -v_isShared_15906_ = v_isSharedCheck_15930_; -goto v_resetjp_15904_; +v___x_15908_ = v_a_15904_; +v_isShared_15909_ = v_isSharedCheck_15933_; +goto v_resetjp_15907_; } else { -lean_inc(v_snd_15903_); -lean_inc(v_fst_15902_); -lean_dec(v_a_15901_); -v___x_15905_ = lean_box(0); -v_isShared_15906_ = v_isSharedCheck_15930_; -goto v_resetjp_15904_; +lean_inc(v_snd_15906_); +lean_inc(v_fst_15905_); +lean_dec(v_a_15904_); +v___x_15908_ = lean_box(0); +v_isShared_15909_ = v_isSharedCheck_15933_; +goto v_resetjp_15907_; } -v_resetjp_15904_: +v_resetjp_15907_: { -lean_object* v___x_15907_; lean_object* v_a_15908_; lean_object* v___x_15909_; lean_object* v___x_15910_; lean_object* v___x_15911_; lean_object* v___f_15912_; uint8_t v___x_15913_; -lean_inc(v___x_15883_); -v___x_15907_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15883_, v___y_15893_); -v_a_15908_ = lean_ctor_get(v___x_15907_, 0); -lean_inc(v_a_15908_); -lean_dec_ref(v___x_15907_); -v___x_15909_ = lean_box(v___x_15878_); -v___x_15910_ = lean_box(v___x_15879_); -v___x_15911_ = lean_box(v___x_15880_); -lean_inc_ref(v_motive_15877_); -lean_inc_ref(v_discrs_15881_); -lean_inc_ref(v_discrInfos_15882_); -lean_inc(v___x_15883_); -lean_inc(v_fst_15902_); -v___f_15912_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__4___boxed), 21, 13); -lean_closure_set(v___f_15912_, 0, v_fst_15902_); -lean_closure_set(v___f_15912_, 1, v___x_15883_); -lean_closure_set(v___f_15912_, 2, v___x_15884_); -lean_closure_set(v___f_15912_, 3, v_discrInfos_15882_); -lean_closure_set(v___f_15912_, 4, v_numDiscrs_15885_); -lean_closure_set(v___f_15912_, 5, v_discrs_15881_); -lean_closure_set(v___f_15912_, 6, v_snd_15903_); -lean_closure_set(v___f_15912_, 7, v_motive_15877_); -lean_closure_set(v___f_15912_, 8, v___x_15909_); -lean_closure_set(v___f_15912_, 9, v___x_15910_); -lean_closure_set(v___f_15912_, 10, v___x_15911_); -lean_closure_set(v___f_15912_, 11, v___f_15886_); -lean_closure_set(v___f_15912_, 12, v_discrs_x27_15889_); -v___x_15913_ = lean_unbox(v_a_15908_); -lean_dec(v_a_15908_); -if (v___x_15913_ == 0) +lean_object* v___x_15910_; lean_object* v_a_15911_; lean_object* v___x_15912_; lean_object* v___x_15913_; lean_object* v___x_15914_; lean_object* v___f_15915_; uint8_t v___x_15916_; +lean_inc(v___x_15886_); +v___x_15910_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15886_, v___y_15896_); +v_a_15911_ = lean_ctor_get(v___x_15910_, 0); +lean_inc(v_a_15911_); +lean_dec_ref(v___x_15910_); +v___x_15912_ = lean_box(v___x_15881_); +v___x_15913_ = lean_box(v___x_15882_); +v___x_15914_ = lean_box(v___x_15883_); +lean_inc_ref(v_motive_15880_); +lean_inc_ref(v_discrs_15884_); +lean_inc_ref(v_discrInfos_15885_); +lean_inc(v___x_15886_); +lean_inc(v_fst_15905_); +v___f_15915_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__4___boxed), 21, 13); +lean_closure_set(v___f_15915_, 0, v_fst_15905_); +lean_closure_set(v___f_15915_, 1, v___x_15886_); +lean_closure_set(v___f_15915_, 2, v___x_15887_); +lean_closure_set(v___f_15915_, 3, v_discrInfos_15885_); +lean_closure_set(v___f_15915_, 4, v_numDiscrs_15888_); +lean_closure_set(v___f_15915_, 5, v_discrs_15884_); +lean_closure_set(v___f_15915_, 6, v_snd_15906_); +lean_closure_set(v___f_15915_, 7, v_motive_15880_); +lean_closure_set(v___f_15915_, 8, v___x_15912_); +lean_closure_set(v___f_15915_, 9, v___x_15913_); +lean_closure_set(v___f_15915_, 10, v___x_15914_); +lean_closure_set(v___f_15915_, 11, v___f_15889_); +lean_closure_set(v___f_15915_, 12, v_discrs_x27_15892_); +v___x_15916_ = lean_unbox(v_a_15911_); +lean_dec(v_a_15911_); +if (v___x_15916_ == 0) { -lean_object* v___x_15914_; -lean_del_object(v___x_15905_); -lean_dec(v_fst_15902_); -lean_dec(v___x_15883_); -v___x_15914_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15877_, v_discrs_15881_, v_discrInfos_15882_, v_lhss_15887_, v_isSplitter_15888_, v___f_15912_, v___y_15891_, v___y_15892_, v___y_15893_, v___y_15894_); -return v___x_15914_; +lean_object* v___x_15917_; +lean_del_object(v___x_15908_); +lean_dec(v_fst_15905_); +lean_dec(v___x_15886_); +v___x_15917_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15880_, v_discrs_15884_, v_discrInfos_15885_, v_lhss_15890_, v_isSplitter_15891_, v___f_15915_, v___y_15894_, v___y_15895_, v___y_15896_, v___y_15897_); +return v___x_15917_; } else { -lean_object* v___x_15915_; lean_object* v___x_15916_; lean_object* v___x_15918_; -v___x_15915_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__5___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__5___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__5___closed__1); -v___x_15916_ = l_Lean_MessageData_ofExpr(v_fst_15902_); -if (v_isShared_15906_ == 0) +lean_object* v___x_15918_; lean_object* v___x_15919_; lean_object* v___x_15921_; +v___x_15918_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__5___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__5___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__5___closed__1); +v___x_15919_ = l_Lean_MessageData_ofExpr(v_fst_15905_); +if (v_isShared_15909_ == 0) { -lean_ctor_set_tag(v___x_15905_, 7); -lean_ctor_set(v___x_15905_, 1, v___x_15916_); -lean_ctor_set(v___x_15905_, 0, v___x_15915_); -v___x_15918_ = v___x_15905_; -goto v_reusejp_15917_; +lean_ctor_set_tag(v___x_15908_, 7); +lean_ctor_set(v___x_15908_, 1, v___x_15919_); +lean_ctor_set(v___x_15908_, 0, v___x_15918_); +v___x_15921_ = v___x_15908_; +goto v_reusejp_15920_; } else { -lean_object* v_reuseFailAlloc_15929_; -v_reuseFailAlloc_15929_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_15929_, 0, v___x_15915_); -lean_ctor_set(v_reuseFailAlloc_15929_, 1, v___x_15916_); -v___x_15918_ = v_reuseFailAlloc_15929_; -goto v_reusejp_15917_; +lean_object* v_reuseFailAlloc_15932_; +v_reuseFailAlloc_15932_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_15932_, 0, v___x_15918_); +lean_ctor_set(v_reuseFailAlloc_15932_, 1, v___x_15919_); +v___x_15921_ = v_reuseFailAlloc_15932_; +goto v_reusejp_15920_; } -v_reusejp_15917_: +v_reusejp_15920_: { -lean_object* v___x_15919_; -v___x_15919_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15883_, v___x_15918_, v___y_15891_, v___y_15892_, v___y_15893_, v___y_15894_); -if (lean_obj_tag(v___x_15919_) == 0) +lean_object* v___x_15922_; +v___x_15922_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15886_, v___x_15921_, v___y_15894_, v___y_15895_, v___y_15896_, v___y_15897_); +if (lean_obj_tag(v___x_15922_) == 0) { -lean_object* v___x_15920_; -lean_dec_ref(v___x_15919_); -v___x_15920_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15877_, v_discrs_15881_, v_discrInfos_15882_, v_lhss_15887_, v_isSplitter_15888_, v___f_15912_, v___y_15891_, v___y_15892_, v___y_15893_, v___y_15894_); -return v___x_15920_; +lean_object* v___x_15923_; +lean_dec_ref(v___x_15922_); +v___x_15923_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15880_, v_discrs_15884_, v_discrInfos_15885_, v_lhss_15890_, v_isSplitter_15891_, v___f_15915_, v___y_15894_, v___y_15895_, v___y_15896_, v___y_15897_); +return v___x_15923_; } else { -lean_object* v_a_15921_; lean_object* v___x_15923_; uint8_t v_isShared_15924_; uint8_t v_isSharedCheck_15928_; -lean_dec_ref(v___f_15912_); -lean_dec(v___y_15894_); -lean_dec_ref(v___y_15893_); -lean_dec(v___y_15892_); -lean_dec_ref(v___y_15891_); -lean_dec(v_isSplitter_15888_); -lean_dec(v_lhss_15887_); -lean_dec_ref(v_discrInfos_15882_); -lean_dec_ref(v_discrs_15881_); -lean_dec_ref(v_motive_15877_); -v_a_15921_ = lean_ctor_get(v___x_15919_, 0); -v_isSharedCheck_15928_ = !lean_is_exclusive(v___x_15919_); -if (v_isSharedCheck_15928_ == 0) +lean_object* v_a_15924_; lean_object* v___x_15926_; uint8_t v_isShared_15927_; uint8_t v_isSharedCheck_15931_; +lean_dec_ref(v___f_15915_); +lean_dec(v___y_15897_); +lean_dec_ref(v___y_15896_); +lean_dec(v___y_15895_); +lean_dec_ref(v___y_15894_); +lean_dec(v_isSplitter_15891_); +lean_dec(v_lhss_15890_); +lean_dec_ref(v_discrInfos_15885_); +lean_dec_ref(v_discrs_15884_); +lean_dec_ref(v_motive_15880_); +v_a_15924_ = lean_ctor_get(v___x_15922_, 0); +v_isSharedCheck_15931_ = !lean_is_exclusive(v___x_15922_); +if (v_isSharedCheck_15931_ == 0) { -v___x_15923_ = v___x_15919_; -v_isShared_15924_ = v_isSharedCheck_15928_; -goto v_resetjp_15922_; +v___x_15926_ = v___x_15922_; +v_isShared_15927_ = v_isSharedCheck_15931_; +goto v_resetjp_15925_; } else { -lean_inc(v_a_15921_); -lean_dec(v___x_15919_); -v___x_15923_ = lean_box(0); -v_isShared_15924_ = v_isSharedCheck_15928_; -goto v_resetjp_15922_; +lean_inc(v_a_15924_); +lean_dec(v___x_15922_); +v___x_15926_ = lean_box(0); +v_isShared_15927_ = v_isSharedCheck_15931_; +goto v_resetjp_15925_; } -v_resetjp_15922_: +v_resetjp_15925_: { -lean_object* v___x_15926_; -if (v_isShared_15924_ == 0) +lean_object* v___x_15929_; +if (v_isShared_15927_ == 0) { -v___x_15926_ = v___x_15923_; -goto v_reusejp_15925_; +v___x_15929_ = v___x_15926_; +goto v_reusejp_15928_; } else { -lean_object* v_reuseFailAlloc_15927_; -v_reuseFailAlloc_15927_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15927_, 0, v_a_15921_); -v___x_15926_ = v_reuseFailAlloc_15927_; -goto v_reusejp_15925_; +lean_object* v_reuseFailAlloc_15930_; +v_reuseFailAlloc_15930_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15930_, 0, v_a_15924_); +v___x_15929_ = v_reuseFailAlloc_15930_; +goto v_reusejp_15928_; } -v_reusejp_15925_: +v_reusejp_15928_: { -return v___x_15926_; +return v___x_15929_; } } } @@ -53550,301 +53567,301 @@ return v___x_15926_; } else { -lean_object* v_a_15931_; lean_object* v___x_15933_; uint8_t v_isShared_15934_; uint8_t v_isSharedCheck_15938_; -lean_dec(v___y_15894_); -lean_dec_ref(v___y_15893_); -lean_dec(v___y_15892_); -lean_dec_ref(v___y_15891_); -lean_dec_ref(v_discrs_x27_15889_); -lean_dec(v_isSplitter_15888_); -lean_dec(v_lhss_15887_); -lean_dec_ref(v___f_15886_); -lean_dec(v_numDiscrs_15885_); -lean_dec(v___x_15884_); -lean_dec(v___x_15883_); -lean_dec_ref(v_discrInfos_15882_); -lean_dec_ref(v_discrs_15881_); -lean_dec_ref(v_motive_15877_); -v_a_15931_ = lean_ctor_get(v___x_15900_, 0); -v_isSharedCheck_15938_ = !lean_is_exclusive(v___x_15900_); -if (v_isSharedCheck_15938_ == 0) +lean_object* v_a_15934_; lean_object* v___x_15936_; uint8_t v_isShared_15937_; uint8_t v_isSharedCheck_15941_; +lean_dec(v___y_15897_); +lean_dec_ref(v___y_15896_); +lean_dec(v___y_15895_); +lean_dec_ref(v___y_15894_); +lean_dec_ref(v_discrs_x27_15892_); +lean_dec(v_isSplitter_15891_); +lean_dec(v_lhss_15890_); +lean_dec_ref(v___f_15889_); +lean_dec(v_numDiscrs_15888_); +lean_dec(v___x_15887_); +lean_dec(v___x_15886_); +lean_dec_ref(v_discrInfos_15885_); +lean_dec_ref(v_discrs_15884_); +lean_dec_ref(v_motive_15880_); +v_a_15934_ = lean_ctor_get(v___x_15903_, 0); +v_isSharedCheck_15941_ = !lean_is_exclusive(v___x_15903_); +if (v_isSharedCheck_15941_ == 0) { -v___x_15933_ = v___x_15900_; -v_isShared_15934_ = v_isSharedCheck_15938_; -goto v_resetjp_15932_; +v___x_15936_ = v___x_15903_; +v_isShared_15937_ = v_isSharedCheck_15941_; +goto v_resetjp_15935_; } else { -lean_inc(v_a_15931_); -lean_dec(v___x_15900_); -v___x_15933_ = lean_box(0); -v_isShared_15934_ = v_isSharedCheck_15938_; -goto v_resetjp_15932_; +lean_inc(v_a_15934_); +lean_dec(v___x_15903_); +v___x_15936_ = lean_box(0); +v_isShared_15937_ = v_isSharedCheck_15941_; +goto v_resetjp_15935_; } -v_resetjp_15932_: +v_resetjp_15935_: { -lean_object* v___x_15936_; -if (v_isShared_15934_ == 0) +lean_object* v___x_15939_; +if (v_isShared_15937_ == 0) { -v___x_15936_ = v___x_15933_; -goto v_reusejp_15935_; +v___x_15939_ = v___x_15936_; +goto v_reusejp_15938_; } else { -lean_object* v_reuseFailAlloc_15937_; -v_reuseFailAlloc_15937_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_15937_, 0, v_a_15931_); -v___x_15936_ = v_reuseFailAlloc_15937_; -goto v_reusejp_15935_; +lean_object* v_reuseFailAlloc_15940_; +v_reuseFailAlloc_15940_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_15940_, 0, v_a_15934_); +v___x_15939_ = v_reuseFailAlloc_15940_; +goto v_reusejp_15938_; } -v_reusejp_15935_: +v_reusejp_15938_: { -return v___x_15936_; +return v___x_15939_; } } } } } LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__5___boxed(lean_object** _args){ -lean_object* v_motive_15939_ = _args[0]; -lean_object* v___x_15940_ = _args[1]; -lean_object* v___x_15941_ = _args[2]; -lean_object* v___x_15942_ = _args[3]; -lean_object* v_discrs_15943_ = _args[4]; -lean_object* v_discrInfos_15944_ = _args[5]; -lean_object* v___x_15945_ = _args[6]; -lean_object* v___x_15946_ = _args[7]; -lean_object* v_numDiscrs_15947_ = _args[8]; -lean_object* v___f_15948_ = _args[9]; -lean_object* v_lhss_15949_ = _args[10]; -lean_object* v_isSplitter_15950_ = _args[11]; -lean_object* v_discrs_x27_15951_ = _args[12]; -lean_object* v_x_15952_ = _args[13]; -lean_object* v___y_15953_ = _args[14]; -lean_object* v___y_15954_ = _args[15]; -lean_object* v___y_15955_ = _args[16]; -lean_object* v___y_15956_ = _args[17]; -lean_object* v___y_15957_ = _args[18]; +lean_object* v_motive_15942_ = _args[0]; +lean_object* v___x_15943_ = _args[1]; +lean_object* v___x_15944_ = _args[2]; +lean_object* v___x_15945_ = _args[3]; +lean_object* v_discrs_15946_ = _args[4]; +lean_object* v_discrInfos_15947_ = _args[5]; +lean_object* v___x_15948_ = _args[6]; +lean_object* v___x_15949_ = _args[7]; +lean_object* v_numDiscrs_15950_ = _args[8]; +lean_object* v___f_15951_ = _args[9]; +lean_object* v_lhss_15952_ = _args[10]; +lean_object* v_isSplitter_15953_ = _args[11]; +lean_object* v_discrs_x27_15954_ = _args[12]; +lean_object* v_x_15955_ = _args[13]; +lean_object* v___y_15956_ = _args[14]; +lean_object* v___y_15957_ = _args[15]; +lean_object* v___y_15958_ = _args[16]; +lean_object* v___y_15959_ = _args[17]; +lean_object* v___y_15960_ = _args[18]; _start: { -uint8_t v___x_24911__boxed_15958_; uint8_t v___x_24912__boxed_15959_; uint8_t v___x_24913__boxed_15960_; lean_object* v_res_15961_; -v___x_24911__boxed_15958_ = lean_unbox(v___x_15940_); -v___x_24912__boxed_15959_ = lean_unbox(v___x_15941_); -v___x_24913__boxed_15960_ = lean_unbox(v___x_15942_); -v_res_15961_ = l_Lean_Meta_Match_mkMatcher___lam__5(v_motive_15939_, v___x_24911__boxed_15958_, v___x_24912__boxed_15959_, v___x_24913__boxed_15960_, v_discrs_15943_, v_discrInfos_15944_, v___x_15945_, v___x_15946_, v_numDiscrs_15947_, v___f_15948_, v_lhss_15949_, v_isSplitter_15950_, v_discrs_x27_15951_, v_x_15952_, v___y_15953_, v___y_15954_, v___y_15955_, v___y_15956_); -lean_dec_ref(v_x_15952_); -return v_res_15961_; +uint8_t v___x_24911__boxed_15961_; uint8_t v___x_24912__boxed_15962_; uint8_t v___x_24913__boxed_15963_; lean_object* v_res_15964_; +v___x_24911__boxed_15961_ = lean_unbox(v___x_15943_); +v___x_24912__boxed_15962_ = lean_unbox(v___x_15944_); +v___x_24913__boxed_15963_ = lean_unbox(v___x_15945_); +v_res_15964_ = l_Lean_Meta_Match_mkMatcher___lam__5(v_motive_15942_, v___x_24911__boxed_15961_, v___x_24912__boxed_15962_, v___x_24913__boxed_15963_, v_discrs_15946_, v_discrInfos_15947_, v___x_15948_, v___x_15949_, v_numDiscrs_15950_, v___f_15951_, v_lhss_15952_, v_isSplitter_15953_, v_discrs_x27_15954_, v_x_15955_, v___y_15956_, v___y_15957_, v___y_15958_, v___y_15959_); +lean_dec_ref(v_x_15955_); +return v_res_15964_; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(lean_object* v_as_15962_, size_t v_i_15963_, size_t v_stop_15964_){ +LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(lean_object* v_as_15965_, size_t v_i_15966_, size_t v_stop_15967_){ _start: { -uint8_t v___x_15965_; -v___x_15965_ = lean_usize_dec_eq(v_i_15963_, v_stop_15964_); -if (v___x_15965_ == 0) +uint8_t v___x_15968_; +v___x_15968_ = lean_usize_dec_eq(v_i_15966_, v_stop_15967_); +if (v___x_15968_ == 0) { -uint8_t v___x_15966_; lean_object* v___x_15967_; -v___x_15966_ = 1; -v___x_15967_ = lean_array_uget_borrowed(v_as_15962_, v_i_15963_); -if (lean_obj_tag(v___x_15967_) == 0) +uint8_t v___x_15969_; lean_object* v___x_15970_; +v___x_15969_ = 1; +v___x_15970_ = lean_array_uget_borrowed(v_as_15965_, v_i_15966_); +if (lean_obj_tag(v___x_15970_) == 0) { -if (v___x_15965_ == 0) +if (v___x_15968_ == 0) { -size_t v___x_15968_; size_t v___x_15969_; -v___x_15968_ = ((size_t)1ULL); -v___x_15969_ = lean_usize_add(v_i_15963_, v___x_15968_); -v_i_15963_ = v___x_15969_; +size_t v___x_15971_; size_t v___x_15972_; +v___x_15971_ = ((size_t)1ULL); +v___x_15972_ = lean_usize_add(v_i_15966_, v___x_15971_); +v_i_15966_ = v___x_15972_; goto _start; } else { -return v___x_15966_; +return v___x_15969_; } } else { -return v___x_15966_; +return v___x_15969_; } } else { -uint8_t v___x_15971_; -v___x_15971_ = 0; -return v___x_15971_; +uint8_t v___x_15974_; +v___x_15974_ = 0; +return v___x_15974_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6___boxed(lean_object* v_as_15972_, lean_object* v_i_15973_, lean_object* v_stop_15974_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6___boxed(lean_object* v_as_15975_, lean_object* v_i_15976_, lean_object* v_stop_15977_){ _start: { -size_t v_i_boxed_15975_; size_t v_stop_boxed_15976_; uint8_t v_res_15977_; lean_object* v_r_15978_; -v_i_boxed_15975_ = lean_unbox_usize(v_i_15973_); -lean_dec(v_i_15973_); -v_stop_boxed_15976_ = lean_unbox_usize(v_stop_15974_); -lean_dec(v_stop_15974_); -v_res_15977_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(v_as_15972_, v_i_boxed_15975_, v_stop_boxed_15976_); -lean_dec_ref(v_as_15972_); -v_r_15978_ = lean_box(v_res_15977_); -return v_r_15978_; +size_t v_i_boxed_15978_; size_t v_stop_boxed_15979_; uint8_t v_res_15980_; lean_object* v_r_15981_; +v_i_boxed_15978_ = lean_unbox_usize(v_i_15976_); +lean_dec(v_i_15976_); +v_stop_boxed_15979_ = lean_unbox_usize(v_stop_15977_); +lean_dec(v_stop_15977_); +v_res_15980_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(v_as_15975_, v_i_boxed_15978_, v_stop_boxed_15979_); +lean_dec_ref(v_as_15975_); +v_r_15981_ = lean_box(v_res_15980_); +return v_r_15981_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__6(lean_object* v___x_15979_, lean_object* v_discrs_15980_, uint8_t v___x_15981_, uint8_t v___x_15982_, uint8_t v___x_15983_, lean_object* v___f_15984_, lean_object* v_discrInfos_15985_, lean_object* v_lhss_15986_, lean_object* v_isSplitter_15987_, lean_object* v_numDiscrs_15988_, lean_object* v_matchType_15989_, lean_object* v___x_15990_, lean_object* v_motive_15991_, lean_object* v___y_15992_, lean_object* v___y_15993_, lean_object* v___y_15994_, lean_object* v___y_15995_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__6(lean_object* v___x_15982_, lean_object* v_discrs_15983_, uint8_t v___x_15984_, uint8_t v___x_15985_, uint8_t v___x_15986_, lean_object* v___f_15987_, lean_object* v_discrInfos_15988_, lean_object* v_lhss_15989_, lean_object* v_isSplitter_15990_, lean_object* v_numDiscrs_15991_, lean_object* v_matchType_15992_, lean_object* v___x_15993_, lean_object* v_motive_15994_, lean_object* v___y_15995_, lean_object* v___y_15996_, lean_object* v___y_15997_, lean_object* v___y_15998_){ _start: { -lean_object* v___x_16020_; uint8_t v___x_16021_; -v___x_16020_ = lean_unsigned_to_nat(0u); -v___x_16021_ = lean_nat_dec_lt(v___x_16020_, v_numDiscrs_15988_); -if (v___x_16021_ == 0) -{ -lean_dec(v___x_15990_); -lean_dec_ref(v_matchType_15989_); -lean_dec(v_numDiscrs_15988_); -goto v___jp_15997_; -} -else -{ -if (v___x_16021_ == 0) -{ -lean_dec(v___x_15990_); -lean_dec_ref(v_matchType_15989_); -lean_dec(v_numDiscrs_15988_); -goto v___jp_15997_; -} -else -{ -size_t v___x_16022_; size_t v___x_16023_; uint8_t v___x_16024_; -v___x_16022_ = ((size_t)0ULL); -v___x_16023_ = lean_usize_of_nat(v_numDiscrs_15988_); -v___x_16024_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(v_discrInfos_15985_, v___x_16022_, v___x_16023_); +lean_object* v___x_16023_; uint8_t v___x_16024_; +v___x_16023_ = lean_unsigned_to_nat(0u); +v___x_16024_ = lean_nat_dec_lt(v___x_16023_, v_numDiscrs_15991_); if (v___x_16024_ == 0) { -lean_dec(v___x_15990_); -lean_dec_ref(v_matchType_15989_); -lean_dec(v_numDiscrs_15988_); -goto v___jp_15997_; +lean_dec(v___x_15993_); +lean_dec_ref(v_matchType_15992_); +lean_dec(v_numDiscrs_15991_); +goto v___jp_16000_; } else { -lean_object* v___x_16025_; lean_object* v___x_16026_; lean_object* v___x_16027_; lean_object* v___f_16028_; lean_object* v___x_16029_; -v___x_16025_ = lean_box(v___x_15981_); -v___x_16026_ = lean_box(v___x_15982_); -v___x_16027_ = lean_box(v___x_15983_); -v___f_16028_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__5___boxed), 19, 12); -lean_closure_set(v___f_16028_, 0, v_motive_15991_); -lean_closure_set(v___f_16028_, 1, v___x_16025_); -lean_closure_set(v___f_16028_, 2, v___x_16026_); -lean_closure_set(v___f_16028_, 3, v___x_16027_); -lean_closure_set(v___f_16028_, 4, v_discrs_15980_); -lean_closure_set(v___f_16028_, 5, v_discrInfos_15985_); -lean_closure_set(v___f_16028_, 6, v___x_15979_); -lean_closure_set(v___f_16028_, 7, v___x_16020_); -lean_closure_set(v___f_16028_, 8, v_numDiscrs_15988_); -lean_closure_set(v___f_16028_, 9, v___f_15984_); -lean_closure_set(v___f_16028_, 10, v_lhss_15986_); -lean_closure_set(v___f_16028_, 11, v_isSplitter_15987_); -v___x_16029_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_matchType_15989_, v___x_15990_, v___f_16028_, v___x_15981_, v___x_15981_, v___y_15992_, v___y_15993_, v___y_15994_, v___y_15995_); -return v___x_16029_; -} -} -} -v___jp_15997_: +if (v___x_16024_ == 0) { -lean_object* v___x_15998_; lean_object* v_a_15999_; lean_object* v___x_16000_; lean_object* v___x_16001_; lean_object* v___x_16002_; lean_object* v___x_16003_; lean_object* v___f_16004_; uint8_t v___x_16005_; -lean_inc(v___x_15979_); -v___x_15998_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15979_, v___y_15994_); -v_a_15999_ = lean_ctor_get(v___x_15998_, 0); -lean_inc(v_a_15999_); -lean_dec_ref(v___x_15998_); -lean_inc_ref(v_motive_15991_); -v___x_16000_ = l_Lean_mkAppN(v_motive_15991_, v_discrs_15980_); -v___x_16001_ = lean_box(v___x_15981_); -v___x_16002_ = lean_box(v___x_15982_); -v___x_16003_ = lean_box(v___x_15983_); -lean_inc_ref(v_motive_15991_); -lean_inc_ref(v_discrs_15980_); -lean_inc_ref(v___x_16000_); -v___f_16004_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__2___boxed), 15, 7); -lean_closure_set(v___f_16004_, 0, v___x_16000_); -lean_closure_set(v___f_16004_, 1, v_discrs_15980_); -lean_closure_set(v___f_16004_, 2, v_motive_15991_); -lean_closure_set(v___f_16004_, 3, v___x_16001_); -lean_closure_set(v___f_16004_, 4, v___x_16002_); -lean_closure_set(v___f_16004_, 5, v___x_16003_); -lean_closure_set(v___f_16004_, 6, v___f_15984_); -v___x_16005_ = lean_unbox(v_a_15999_); -lean_dec(v_a_15999_); -if (v___x_16005_ == 0) -{ -lean_object* v___x_16006_; -lean_dec_ref(v___x_16000_); -lean_dec(v___x_15979_); -v___x_16006_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15991_, v_discrs_15980_, v_discrInfos_15985_, v_lhss_15986_, v_isSplitter_15987_, v___f_16004_, v___y_15992_, v___y_15993_, v___y_15994_, v___y_15995_); -return v___x_16006_; +lean_dec(v___x_15993_); +lean_dec_ref(v_matchType_15992_); +lean_dec(v_numDiscrs_15991_); +goto v___jp_16000_; } else { -lean_object* v___x_16007_; lean_object* v___x_16008_; lean_object* v___x_16009_; lean_object* v___x_16010_; -v___x_16007_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__5___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__5___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__5___closed__1); -v___x_16008_ = l_Lean_MessageData_ofExpr(v___x_16000_); -v___x_16009_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_16009_, 0, v___x_16007_); -lean_ctor_set(v___x_16009_, 1, v___x_16008_); -v___x_16010_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15979_, v___x_16009_, v___y_15992_, v___y_15993_, v___y_15994_, v___y_15995_); -if (lean_obj_tag(v___x_16010_) == 0) +size_t v___x_16025_; size_t v___x_16026_; uint8_t v___x_16027_; +v___x_16025_ = ((size_t)0ULL); +v___x_16026_ = lean_usize_of_nat(v_numDiscrs_15991_); +v___x_16027_ = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_Meta_Match_mkMatcher_spec__6(v_discrInfos_15988_, v___x_16025_, v___x_16026_); +if (v___x_16027_ == 0) { -lean_object* v___x_16011_; -lean_dec_ref(v___x_16010_); -v___x_16011_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15991_, v_discrs_15980_, v_discrInfos_15985_, v_lhss_15986_, v_isSplitter_15987_, v___f_16004_, v___y_15992_, v___y_15993_, v___y_15994_, v___y_15995_); -return v___x_16011_; +lean_dec(v___x_15993_); +lean_dec_ref(v_matchType_15992_); +lean_dec(v_numDiscrs_15991_); +goto v___jp_16000_; } else { -lean_object* v_a_16012_; lean_object* v___x_16014_; uint8_t v_isShared_16015_; uint8_t v_isSharedCheck_16019_; -lean_dec_ref(v___f_16004_); -lean_dec(v___y_15995_); -lean_dec_ref(v___y_15994_); -lean_dec(v___y_15993_); -lean_dec_ref(v___y_15992_); -lean_dec_ref(v_motive_15991_); -lean_dec(v_isSplitter_15987_); -lean_dec(v_lhss_15986_); -lean_dec_ref(v_discrInfos_15985_); -lean_dec_ref(v_discrs_15980_); -v_a_16012_ = lean_ctor_get(v___x_16010_, 0); -v_isSharedCheck_16019_ = !lean_is_exclusive(v___x_16010_); -if (v_isSharedCheck_16019_ == 0) +lean_object* v___x_16028_; lean_object* v___x_16029_; lean_object* v___x_16030_; lean_object* v___f_16031_; lean_object* v___x_16032_; +v___x_16028_ = lean_box(v___x_15984_); +v___x_16029_ = lean_box(v___x_15985_); +v___x_16030_ = lean_box(v___x_15986_); +v___f_16031_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__5___boxed), 19, 12); +lean_closure_set(v___f_16031_, 0, v_motive_15994_); +lean_closure_set(v___f_16031_, 1, v___x_16028_); +lean_closure_set(v___f_16031_, 2, v___x_16029_); +lean_closure_set(v___f_16031_, 3, v___x_16030_); +lean_closure_set(v___f_16031_, 4, v_discrs_15983_); +lean_closure_set(v___f_16031_, 5, v_discrInfos_15988_); +lean_closure_set(v___f_16031_, 6, v___x_15982_); +lean_closure_set(v___f_16031_, 7, v___x_16023_); +lean_closure_set(v___f_16031_, 8, v_numDiscrs_15991_); +lean_closure_set(v___f_16031_, 9, v___f_15987_); +lean_closure_set(v___f_16031_, 10, v_lhss_15989_); +lean_closure_set(v___f_16031_, 11, v_isSplitter_15990_); +v___x_16032_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_matchType_15992_, v___x_15993_, v___f_16031_, v___x_15984_, v___x_15984_, v___y_15995_, v___y_15996_, v___y_15997_, v___y_15998_); +return v___x_16032_; +} +} +} +v___jp_16000_: { -v___x_16014_ = v___x_16010_; -v_isShared_16015_ = v_isSharedCheck_16019_; -goto v_resetjp_16013_; +lean_object* v___x_16001_; lean_object* v_a_16002_; lean_object* v___x_16003_; lean_object* v___x_16004_; lean_object* v___x_16005_; lean_object* v___x_16006_; lean_object* v___f_16007_; uint8_t v___x_16008_; +lean_inc(v___x_15982_); +v___x_16001_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_15982_, v___y_15997_); +v_a_16002_ = lean_ctor_get(v___x_16001_, 0); +lean_inc(v_a_16002_); +lean_dec_ref(v___x_16001_); +lean_inc_ref(v_motive_15994_); +v___x_16003_ = l_Lean_mkAppN(v_motive_15994_, v_discrs_15983_); +v___x_16004_ = lean_box(v___x_15984_); +v___x_16005_ = lean_box(v___x_15985_); +v___x_16006_ = lean_box(v___x_15986_); +lean_inc_ref(v_motive_15994_); +lean_inc_ref(v_discrs_15983_); +lean_inc_ref(v___x_16003_); +v___f_16007_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__2___boxed), 15, 7); +lean_closure_set(v___f_16007_, 0, v___x_16003_); +lean_closure_set(v___f_16007_, 1, v_discrs_15983_); +lean_closure_set(v___f_16007_, 2, v_motive_15994_); +lean_closure_set(v___f_16007_, 3, v___x_16004_); +lean_closure_set(v___f_16007_, 4, v___x_16005_); +lean_closure_set(v___f_16007_, 5, v___x_16006_); +lean_closure_set(v___f_16007_, 6, v___f_15987_); +v___x_16008_ = lean_unbox(v_a_16002_); +lean_dec(v_a_16002_); +if (v___x_16008_ == 0) +{ +lean_object* v___x_16009_; +lean_dec_ref(v___x_16003_); +lean_dec(v___x_15982_); +v___x_16009_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15994_, v_discrs_15983_, v_discrInfos_15988_, v_lhss_15989_, v_isSplitter_15990_, v___f_16007_, v___y_15995_, v___y_15996_, v___y_15997_, v___y_15998_); +return v___x_16009_; } else { -lean_inc(v_a_16012_); -lean_dec(v___x_16010_); -v___x_16014_ = lean_box(0); -v_isShared_16015_ = v_isSharedCheck_16019_; -goto v_resetjp_16013_; -} -v_resetjp_16013_: +lean_object* v___x_16010_; lean_object* v___x_16011_; lean_object* v___x_16012_; lean_object* v___x_16013_; +v___x_16010_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__5___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__5___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__5___closed__1); +v___x_16011_ = l_Lean_MessageData_ofExpr(v___x_16003_); +v___x_16012_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_16012_, 0, v___x_16010_); +lean_ctor_set(v___x_16012_, 1, v___x_16011_); +v___x_16013_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_15982_, v___x_16012_, v___y_15995_, v___y_15996_, v___y_15997_, v___y_15998_); +if (lean_obj_tag(v___x_16013_) == 0) { -lean_object* v___x_16017_; -if (v_isShared_16015_ == 0) -{ -v___x_16017_ = v___x_16014_; -goto v_reusejp_16016_; +lean_object* v___x_16014_; +lean_dec_ref(v___x_16013_); +v___x_16014_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts___redArg(v_motive_15994_, v_discrs_15983_, v_discrInfos_15988_, v_lhss_15989_, v_isSplitter_15990_, v___f_16007_, v___y_15995_, v___y_15996_, v___y_15997_, v___y_15998_); +return v___x_16014_; } else { -lean_object* v_reuseFailAlloc_16018_; -v_reuseFailAlloc_16018_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16018_, 0, v_a_16012_); -v___x_16017_ = v_reuseFailAlloc_16018_; -goto v_reusejp_16016_; -} -v_reusejp_16016_: +lean_object* v_a_16015_; lean_object* v___x_16017_; uint8_t v_isShared_16018_; uint8_t v_isSharedCheck_16022_; +lean_dec_ref(v___f_16007_); +lean_dec(v___y_15998_); +lean_dec_ref(v___y_15997_); +lean_dec(v___y_15996_); +lean_dec_ref(v___y_15995_); +lean_dec_ref(v_motive_15994_); +lean_dec(v_isSplitter_15990_); +lean_dec(v_lhss_15989_); +lean_dec_ref(v_discrInfos_15988_); +lean_dec_ref(v_discrs_15983_); +v_a_16015_ = lean_ctor_get(v___x_16013_, 0); +v_isSharedCheck_16022_ = !lean_is_exclusive(v___x_16013_); +if (v_isSharedCheck_16022_ == 0) { -return v___x_16017_; +v___x_16017_ = v___x_16013_; +v_isShared_16018_ = v_isSharedCheck_16022_; +goto v_resetjp_16016_; +} +else +{ +lean_inc(v_a_16015_); +lean_dec(v___x_16013_); +v___x_16017_ = lean_box(0); +v_isShared_16018_ = v_isSharedCheck_16022_; +goto v_resetjp_16016_; +} +v_resetjp_16016_: +{ +lean_object* v___x_16020_; +if (v_isShared_16018_ == 0) +{ +v___x_16020_ = v___x_16017_; +goto v_reusejp_16019_; +} +else +{ +lean_object* v_reuseFailAlloc_16021_; +v_reuseFailAlloc_16021_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16021_, 0, v_a_16015_); +v___x_16020_ = v_reuseFailAlloc_16021_; +goto v_reusejp_16019_; +} +v_reusejp_16019_: +{ +return v___x_16020_; } } } @@ -53853,266 +53870,266 @@ return v___x_16017_; } } LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__6___boxed(lean_object** _args){ -lean_object* v___x_16030_ = _args[0]; -lean_object* v_discrs_16031_ = _args[1]; -lean_object* v___x_16032_ = _args[2]; -lean_object* v___x_16033_ = _args[3]; -lean_object* v___x_16034_ = _args[4]; -lean_object* v___f_16035_ = _args[5]; -lean_object* v_discrInfos_16036_ = _args[6]; -lean_object* v_lhss_16037_ = _args[7]; -lean_object* v_isSplitter_16038_ = _args[8]; -lean_object* v_numDiscrs_16039_ = _args[9]; -lean_object* v_matchType_16040_ = _args[10]; -lean_object* v___x_16041_ = _args[11]; -lean_object* v_motive_16042_ = _args[12]; -lean_object* v___y_16043_ = _args[13]; -lean_object* v___y_16044_ = _args[14]; -lean_object* v___y_16045_ = _args[15]; -lean_object* v___y_16046_ = _args[16]; -lean_object* v___y_16047_ = _args[17]; +lean_object* v___x_16033_ = _args[0]; +lean_object* v_discrs_16034_ = _args[1]; +lean_object* v___x_16035_ = _args[2]; +lean_object* v___x_16036_ = _args[3]; +lean_object* v___x_16037_ = _args[4]; +lean_object* v___f_16038_ = _args[5]; +lean_object* v_discrInfos_16039_ = _args[6]; +lean_object* v_lhss_16040_ = _args[7]; +lean_object* v_isSplitter_16041_ = _args[8]; +lean_object* v_numDiscrs_16042_ = _args[9]; +lean_object* v_matchType_16043_ = _args[10]; +lean_object* v___x_16044_ = _args[11]; +lean_object* v_motive_16045_ = _args[12]; +lean_object* v___y_16046_ = _args[13]; +lean_object* v___y_16047_ = _args[14]; +lean_object* v___y_16048_ = _args[15]; +lean_object* v___y_16049_ = _args[16]; +lean_object* v___y_16050_ = _args[17]; _start: { -uint8_t v___x_25066__boxed_16048_; uint8_t v___x_25067__boxed_16049_; uint8_t v___x_25068__boxed_16050_; lean_object* v_res_16051_; -v___x_25066__boxed_16048_ = lean_unbox(v___x_16032_); -v___x_25067__boxed_16049_ = lean_unbox(v___x_16033_); -v___x_25068__boxed_16050_ = lean_unbox(v___x_16034_); -v_res_16051_ = l_Lean_Meta_Match_mkMatcher___lam__6(v___x_16030_, v_discrs_16031_, v___x_25066__boxed_16048_, v___x_25067__boxed_16049_, v___x_25068__boxed_16050_, v___f_16035_, v_discrInfos_16036_, v_lhss_16037_, v_isSplitter_16038_, v_numDiscrs_16039_, v_matchType_16040_, v___x_16041_, v_motive_16042_, v___y_16043_, v___y_16044_, v___y_16045_, v___y_16046_); -return v_res_16051_; +uint8_t v___x_25066__boxed_16051_; uint8_t v___x_25067__boxed_16052_; uint8_t v___x_25068__boxed_16053_; lean_object* v_res_16054_; +v___x_25066__boxed_16051_ = lean_unbox(v___x_16035_); +v___x_25067__boxed_16052_ = lean_unbox(v___x_16036_); +v___x_25068__boxed_16053_ = lean_unbox(v___x_16037_); +v_res_16054_ = l_Lean_Meta_Match_mkMatcher___lam__6(v___x_16033_, v_discrs_16034_, v___x_25066__boxed_16051_, v___x_25067__boxed_16052_, v___x_25068__boxed_16053_, v___f_16038_, v_discrInfos_16039_, v_lhss_16040_, v_isSplitter_16041_, v_numDiscrs_16042_, v_matchType_16043_, v___x_16044_, v_motive_16045_, v___y_16046_, v___y_16047_, v___y_16048_, v___y_16049_); +return v_res_16054_; } } static lean_object* _init_l_Lean_Meta_Match_mkMatcher___lam__7___closed__3(void){ _start: { -lean_object* v___x_16056_; lean_object* v___x_16057_; -v___x_16056_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__7___closed__2)); -v___x_16057_ = l_Lean_stringToMessageData(v___x_16056_); -return v___x_16057_; +lean_object* v___x_16059_; lean_object* v___x_16060_; +v___x_16059_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__7___closed__2)); +v___x_16060_ = l_Lean_stringToMessageData(v___x_16059_); +return v___x_16060_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__7(lean_object* v_lhss_16058_, lean_object* v_matcherName_16059_, lean_object* v_numDiscrs_16060_, lean_object* v_discrInfos_16061_, lean_object* v_isSplitter_16062_, lean_object* v_matchType_16063_, lean_object* v___x_16064_, lean_object* v_discrs_16065_, lean_object* v_matchTypeBody_16066_, lean_object* v___y_16067_, lean_object* v___y_16068_, lean_object* v___y_16069_, lean_object* v___y_16070_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__7(lean_object* v_lhss_16061_, lean_object* v_matcherName_16062_, lean_object* v_numDiscrs_16063_, lean_object* v_discrInfos_16064_, lean_object* v_isSplitter_16065_, lean_object* v_matchType_16066_, lean_object* v___x_16067_, lean_object* v_discrs_16068_, lean_object* v_matchTypeBody_16069_, lean_object* v___y_16070_, lean_object* v___y_16071_, lean_object* v___y_16072_, lean_object* v___y_16073_){ _start: { -lean_object* v___y_16073_; lean_object* v___y_16074_; lean_object* v___y_16075_; lean_object* v___y_16076_; lean_object* v___y_16077_; lean_object* v___y_16078_; lean_object* v___x_16081_; -lean_inc(v___y_16070_); -lean_inc_ref(v___y_16069_); -lean_inc(v___y_16068_); -lean_inc_ref(v___y_16067_); -v___x_16081_ = l_Lean_Meta_getLevel(v_matchTypeBody_16066_, v___y_16067_, v___y_16068_, v___y_16069_, v___y_16070_); -if (lean_obj_tag(v___x_16081_) == 0) +lean_object* v___y_16076_; lean_object* v___y_16077_; lean_object* v___y_16078_; lean_object* v___y_16079_; lean_object* v___y_16080_; lean_object* v___y_16081_; lean_object* v___x_16084_; +lean_inc(v___y_16073_); +lean_inc_ref(v___y_16072_); +lean_inc(v___y_16071_); +lean_inc_ref(v___y_16070_); +v___x_16084_ = l_Lean_Meta_getLevel(v_matchTypeBody_16069_, v___y_16070_, v___y_16071_, v___y_16072_, v___y_16073_); +if (lean_obj_tag(v___x_16084_) == 0) { -lean_object* v_a_16082_; lean_object* v_uElimGen_16084_; lean_object* v___y_16085_; lean_object* v___y_16086_; lean_object* v___y_16087_; lean_object* v___y_16088_; lean_object* v___x_16124_; uint8_t v___x_16125_; -v_a_16082_ = lean_ctor_get(v___x_16081_, 0); -lean_inc(v_a_16082_); -lean_dec_ref(v___x_16081_); -v___x_16124_ = lean_box(0); -v___x_16125_ = lean_level_eq(v_a_16082_, v___x_16124_); -if (v___x_16125_ == 0) +lean_object* v_a_16085_; lean_object* v_uElimGen_16087_; lean_object* v___y_16088_; lean_object* v___y_16089_; lean_object* v___y_16090_; lean_object* v___y_16091_; lean_object* v___x_16127_; uint8_t v___x_16128_; +v_a_16085_ = lean_ctor_get(v___x_16084_, 0); +lean_inc(v_a_16085_); +lean_dec_ref(v___x_16084_); +v___x_16127_ = lean_box(0); +v___x_16128_ = lean_level_eq(v_a_16085_, v___x_16127_); +if (v___x_16128_ == 0) { -lean_object* v___x_16126_; -v___x_16126_ = l_Lean_Meta_mkFreshLevelMVar(v___y_16067_, v___y_16068_, v___y_16069_, v___y_16070_); -if (lean_obj_tag(v___x_16126_) == 0) +lean_object* v___x_16129_; +v___x_16129_ = l_Lean_Meta_mkFreshLevelMVar(v___y_16070_, v___y_16071_, v___y_16072_, v___y_16073_); +if (lean_obj_tag(v___x_16129_) == 0) { -lean_object* v_a_16127_; -v_a_16127_ = lean_ctor_get(v___x_16126_, 0); -lean_inc(v_a_16127_); -lean_dec_ref(v___x_16126_); -v_uElimGen_16084_ = v_a_16127_; -v___y_16085_ = v___y_16067_; -v___y_16086_ = v___y_16068_; -v___y_16087_ = v___y_16069_; +lean_object* v_a_16130_; +v_a_16130_ = lean_ctor_get(v___x_16129_, 0); +lean_inc(v_a_16130_); +lean_dec_ref(v___x_16129_); +v_uElimGen_16087_ = v_a_16130_; v___y_16088_ = v___y_16070_; -goto v___jp_16083_; +v___y_16089_ = v___y_16071_; +v___y_16090_ = v___y_16072_; +v___y_16091_ = v___y_16073_; +goto v___jp_16086_; } else { -lean_object* v_a_16128_; lean_object* v___x_16130_; uint8_t v_isShared_16131_; uint8_t v_isSharedCheck_16135_; -lean_dec(v_a_16082_); -lean_dec(v___y_16070_); -lean_dec_ref(v___y_16069_); -lean_dec(v___y_16068_); -lean_dec_ref(v___y_16067_); -lean_dec_ref(v_discrs_16065_); -lean_dec(v___x_16064_); -lean_dec_ref(v_matchType_16063_); -lean_dec(v_isSplitter_16062_); -lean_dec_ref(v_discrInfos_16061_); -lean_dec(v_numDiscrs_16060_); -lean_dec(v_matcherName_16059_); -lean_dec(v_lhss_16058_); -v_a_16128_ = lean_ctor_get(v___x_16126_, 0); -v_isSharedCheck_16135_ = !lean_is_exclusive(v___x_16126_); -if (v_isSharedCheck_16135_ == 0) +lean_object* v_a_16131_; lean_object* v___x_16133_; uint8_t v_isShared_16134_; uint8_t v_isSharedCheck_16138_; +lean_dec(v_a_16085_); +lean_dec(v___y_16073_); +lean_dec_ref(v___y_16072_); +lean_dec(v___y_16071_); +lean_dec_ref(v___y_16070_); +lean_dec_ref(v_discrs_16068_); +lean_dec(v___x_16067_); +lean_dec_ref(v_matchType_16066_); +lean_dec(v_isSplitter_16065_); +lean_dec_ref(v_discrInfos_16064_); +lean_dec(v_numDiscrs_16063_); +lean_dec(v_matcherName_16062_); +lean_dec(v_lhss_16061_); +v_a_16131_ = lean_ctor_get(v___x_16129_, 0); +v_isSharedCheck_16138_ = !lean_is_exclusive(v___x_16129_); +if (v_isSharedCheck_16138_ == 0) { -v___x_16130_ = v___x_16126_; -v_isShared_16131_ = v_isSharedCheck_16135_; -goto v_resetjp_16129_; +v___x_16133_ = v___x_16129_; +v_isShared_16134_ = v_isSharedCheck_16138_; +goto v_resetjp_16132_; } else { -lean_inc(v_a_16128_); -lean_dec(v___x_16126_); -v___x_16130_ = lean_box(0); -v_isShared_16131_ = v_isSharedCheck_16135_; -goto v_resetjp_16129_; +lean_inc(v_a_16131_); +lean_dec(v___x_16129_); +v___x_16133_ = lean_box(0); +v_isShared_16134_ = v_isSharedCheck_16138_; +goto v_resetjp_16132_; } -v_resetjp_16129_: +v_resetjp_16132_: { -lean_object* v___x_16133_; -if (v_isShared_16131_ == 0) +lean_object* v___x_16136_; +if (v_isShared_16134_ == 0) { -v___x_16133_ = v___x_16130_; -goto v_reusejp_16132_; +v___x_16136_ = v___x_16133_; +goto v_reusejp_16135_; } else { -lean_object* v_reuseFailAlloc_16134_; -v_reuseFailAlloc_16134_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16134_, 0, v_a_16128_); -v___x_16133_ = v_reuseFailAlloc_16134_; -goto v_reusejp_16132_; +lean_object* v_reuseFailAlloc_16137_; +v_reuseFailAlloc_16137_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16137_, 0, v_a_16131_); +v___x_16136_ = v_reuseFailAlloc_16137_; +goto v_reusejp_16135_; } -v_reusejp_16132_: +v_reusejp_16135_: { -return v___x_16133_; +return v___x_16136_; } } } } else { -v_uElimGen_16084_ = v___x_16124_; -v___y_16085_ = v___y_16067_; -v___y_16086_ = v___y_16068_; -v___y_16087_ = v___y_16069_; +v_uElimGen_16087_ = v___x_16127_; v___y_16088_ = v___y_16070_; -goto v___jp_16083_; +v___y_16089_ = v___y_16071_; +v___y_16090_ = v___y_16072_; +v___y_16091_ = v___y_16073_; +goto v___jp_16086_; } -v___jp_16083_: +v___jp_16086_: { -lean_object* v___x_16089_; uint8_t v___x_16090_; uint8_t v___x_16091_; uint8_t v___x_16092_; lean_object* v___x_16093_; -lean_inc(v_uElimGen_16084_); -v___x_16089_ = l_Lean_mkSort(v_uElimGen_16084_); -v___x_16090_ = 0; -v___x_16091_ = 1; -v___x_16092_ = 1; -v___x_16093_ = l_Lean_Meta_mkForallFVars(v_discrs_16065_, v___x_16089_, v___x_16090_, v___x_16091_, v___x_16091_, v___x_16092_, v___y_16085_, v___y_16086_, v___y_16087_, v___y_16088_); -if (lean_obj_tag(v___x_16093_) == 0) +lean_object* v___x_16092_; uint8_t v___x_16093_; uint8_t v___x_16094_; uint8_t v___x_16095_; lean_object* v___x_16096_; +lean_inc(v_uElimGen_16087_); +v___x_16092_ = l_Lean_mkSort(v_uElimGen_16087_); +v___x_16093_ = 0; +v___x_16094_ = 1; +v___x_16095_ = 1; +v___x_16096_ = l_Lean_Meta_mkForallFVars(v_discrs_16068_, v___x_16092_, v___x_16093_, v___x_16094_, v___x_16094_, v___x_16095_, v___y_16088_, v___y_16089_, v___y_16090_, v___y_16091_); +if (lean_obj_tag(v___x_16096_) == 0) { -lean_object* v_a_16094_; lean_object* v___x_16095_; lean_object* v___x_16096_; lean_object* v_a_16097_; lean_object* v___f_16098_; lean_object* v___x_16099_; lean_object* v___x_16100_; lean_object* v___x_16101_; lean_object* v___f_16102_; uint8_t v___x_16103_; -v_a_16094_ = lean_ctor_get(v___x_16093_, 0); -lean_inc(v_a_16094_); -lean_dec_ref(v___x_16093_); -v___x_16095_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); -v___x_16096_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_16095_, v___y_16087_); +lean_object* v_a_16097_; lean_object* v___x_16098_; lean_object* v___x_16099_; lean_object* v_a_16100_; lean_object* v___f_16101_; lean_object* v___x_16102_; lean_object* v___x_16103_; lean_object* v___x_16104_; lean_object* v___f_16105_; uint8_t v___x_16106_; v_a_16097_ = lean_ctor_get(v___x_16096_, 0); lean_inc(v_a_16097_); lean_dec_ref(v___x_16096_); -lean_inc(v_isSplitter_16062_); -lean_inc_ref(v_discrInfos_16061_); -lean_inc(v_numDiscrs_16060_); -lean_inc(v_lhss_16058_); -v___f_16098_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__1___boxed), 16, 7); -lean_closure_set(v___f_16098_, 0, v_lhss_16058_); -lean_closure_set(v___f_16098_, 1, v_matcherName_16059_); -lean_closure_set(v___f_16098_, 2, v_uElimGen_16084_); -lean_closure_set(v___f_16098_, 3, v_a_16082_); -lean_closure_set(v___f_16098_, 4, v_numDiscrs_16060_); -lean_closure_set(v___f_16098_, 5, v_discrInfos_16061_); -lean_closure_set(v___f_16098_, 6, v_isSplitter_16062_); -v___x_16099_ = lean_box(v___x_16090_); -v___x_16100_ = lean_box(v___x_16091_); -v___x_16101_ = lean_box(v___x_16092_); -v___f_16102_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__6___boxed), 18, 12); -lean_closure_set(v___f_16102_, 0, v___x_16095_); -lean_closure_set(v___f_16102_, 1, v_discrs_16065_); -lean_closure_set(v___f_16102_, 2, v___x_16099_); -lean_closure_set(v___f_16102_, 3, v___x_16100_); -lean_closure_set(v___f_16102_, 4, v___x_16101_); -lean_closure_set(v___f_16102_, 5, v___f_16098_); -lean_closure_set(v___f_16102_, 6, v_discrInfos_16061_); -lean_closure_set(v___f_16102_, 7, v_lhss_16058_); -lean_closure_set(v___f_16102_, 8, v_isSplitter_16062_); -lean_closure_set(v___f_16102_, 9, v_numDiscrs_16060_); -lean_closure_set(v___f_16102_, 10, v_matchType_16063_); -lean_closure_set(v___f_16102_, 11, v___x_16064_); -v___x_16103_ = lean_unbox(v_a_16097_); +v___x_16098_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); +v___x_16099_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__2___redArg(v___x_16098_, v___y_16090_); +v_a_16100_ = lean_ctor_get(v___x_16099_, 0); +lean_inc(v_a_16100_); +lean_dec_ref(v___x_16099_); +lean_inc(v_isSplitter_16065_); +lean_inc_ref(v_discrInfos_16064_); +lean_inc(v_numDiscrs_16063_); +lean_inc(v_lhss_16061_); +v___f_16101_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__1___boxed), 16, 7); +lean_closure_set(v___f_16101_, 0, v_lhss_16061_); +lean_closure_set(v___f_16101_, 1, v_matcherName_16062_); +lean_closure_set(v___f_16101_, 2, v_uElimGen_16087_); +lean_closure_set(v___f_16101_, 3, v_a_16085_); +lean_closure_set(v___f_16101_, 4, v_numDiscrs_16063_); +lean_closure_set(v___f_16101_, 5, v_discrInfos_16064_); +lean_closure_set(v___f_16101_, 6, v_isSplitter_16065_); +v___x_16102_ = lean_box(v___x_16093_); +v___x_16103_ = lean_box(v___x_16094_); +v___x_16104_ = lean_box(v___x_16095_); +v___f_16105_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__6___boxed), 18, 12); +lean_closure_set(v___f_16105_, 0, v___x_16098_); +lean_closure_set(v___f_16105_, 1, v_discrs_16068_); +lean_closure_set(v___f_16105_, 2, v___x_16102_); +lean_closure_set(v___f_16105_, 3, v___x_16103_); +lean_closure_set(v___f_16105_, 4, v___x_16104_); +lean_closure_set(v___f_16105_, 5, v___f_16101_); +lean_closure_set(v___f_16105_, 6, v_discrInfos_16064_); +lean_closure_set(v___f_16105_, 7, v_lhss_16061_); +lean_closure_set(v___f_16105_, 8, v_isSplitter_16065_); +lean_closure_set(v___f_16105_, 9, v_numDiscrs_16063_); +lean_closure_set(v___f_16105_, 10, v_matchType_16066_); +lean_closure_set(v___f_16105_, 11, v___x_16067_); +v___x_16106_ = lean_unbox(v_a_16100_); +lean_dec(v_a_16100_); +if (v___x_16106_ == 0) +{ +v___y_16076_ = v_a_16097_; +v___y_16077_ = v___f_16105_; +v___y_16078_ = v___y_16088_; +v___y_16079_ = v___y_16089_; +v___y_16080_ = v___y_16090_; +v___y_16081_ = v___y_16091_; +goto v___jp_16075_; +} +else +{ +lean_object* v___x_16107_; lean_object* v___x_16108_; lean_object* v___x_16109_; lean_object* v___x_16110_; +v___x_16107_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__7___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__7___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__7___closed__3); +lean_inc(v_a_16097_); +v___x_16108_ = l_Lean_MessageData_ofExpr(v_a_16097_); +v___x_16109_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_16109_, 0, v___x_16107_); +lean_ctor_set(v___x_16109_, 1, v___x_16108_); +v___x_16110_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_16098_, v___x_16109_, v___y_16088_, v___y_16089_, v___y_16090_, v___y_16091_); +if (lean_obj_tag(v___x_16110_) == 0) +{ +lean_dec_ref(v___x_16110_); +v___y_16076_ = v_a_16097_; +v___y_16077_ = v___f_16105_; +v___y_16078_ = v___y_16088_; +v___y_16079_ = v___y_16089_; +v___y_16080_ = v___y_16090_; +v___y_16081_ = v___y_16091_; +goto v___jp_16075_; +} +else +{ +lean_object* v_a_16111_; lean_object* v___x_16113_; uint8_t v_isShared_16114_; uint8_t v_isSharedCheck_16118_; +lean_dec_ref(v___f_16105_); lean_dec(v_a_16097_); -if (v___x_16103_ == 0) -{ -v___y_16073_ = v___f_16102_; -v___y_16074_ = v_a_16094_; -v___y_16075_ = v___y_16085_; -v___y_16076_ = v___y_16086_; -v___y_16077_ = v___y_16087_; -v___y_16078_ = v___y_16088_; -goto v___jp_16072_; -} -else -{ -lean_object* v___x_16104_; lean_object* v___x_16105_; lean_object* v___x_16106_; lean_object* v___x_16107_; -v___x_16104_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__7___closed__3, &l_Lean_Meta_Match_mkMatcher___lam__7___closed__3_once, _init_l_Lean_Meta_Match_mkMatcher___lam__7___closed__3); -lean_inc(v_a_16094_); -v___x_16105_ = l_Lean_MessageData_ofExpr(v_a_16094_); -v___x_16106_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_16106_, 0, v___x_16104_); -lean_ctor_set(v___x_16106_, 1, v___x_16105_); -v___x_16107_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps_spec__4(v___x_16095_, v___x_16106_, v___y_16085_, v___y_16086_, v___y_16087_, v___y_16088_); -if (lean_obj_tag(v___x_16107_) == 0) -{ -lean_dec_ref(v___x_16107_); -v___y_16073_ = v___f_16102_; -v___y_16074_ = v_a_16094_; -v___y_16075_ = v___y_16085_; -v___y_16076_ = v___y_16086_; -v___y_16077_ = v___y_16087_; -v___y_16078_ = v___y_16088_; -goto v___jp_16072_; -} -else -{ -lean_object* v_a_16108_; lean_object* v___x_16110_; uint8_t v_isShared_16111_; uint8_t v_isSharedCheck_16115_; -lean_dec_ref(v___f_16102_); -lean_dec(v_a_16094_); -lean_dec(v___y_16088_); -lean_dec_ref(v___y_16087_); -lean_dec(v___y_16086_); -lean_dec_ref(v___y_16085_); -v_a_16108_ = lean_ctor_get(v___x_16107_, 0); -v_isSharedCheck_16115_ = !lean_is_exclusive(v___x_16107_); -if (v_isSharedCheck_16115_ == 0) -{ -v___x_16110_ = v___x_16107_; -v_isShared_16111_ = v_isSharedCheck_16115_; -goto v_resetjp_16109_; -} -else -{ -lean_inc(v_a_16108_); -lean_dec(v___x_16107_); -v___x_16110_ = lean_box(0); -v_isShared_16111_ = v_isSharedCheck_16115_; -goto v_resetjp_16109_; -} -v_resetjp_16109_: -{ -lean_object* v___x_16113_; -if (v_isShared_16111_ == 0) +lean_dec(v___y_16091_); +lean_dec_ref(v___y_16090_); +lean_dec(v___y_16089_); +lean_dec_ref(v___y_16088_); +v_a_16111_ = lean_ctor_get(v___x_16110_, 0); +v_isSharedCheck_16118_ = !lean_is_exclusive(v___x_16110_); +if (v_isSharedCheck_16118_ == 0) { v___x_16113_ = v___x_16110_; -goto v_reusejp_16112_; +v_isShared_16114_ = v_isSharedCheck_16118_; +goto v_resetjp_16112_; } else { -lean_object* v_reuseFailAlloc_16114_; -v_reuseFailAlloc_16114_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16114_, 0, v_a_16108_); -v___x_16113_ = v_reuseFailAlloc_16114_; -goto v_reusejp_16112_; +lean_inc(v_a_16111_); +lean_dec(v___x_16110_); +v___x_16113_ = lean_box(0); +v_isShared_16114_ = v_isSharedCheck_16118_; +goto v_resetjp_16112_; } -v_reusejp_16112_: +v_resetjp_16112_: { -return v___x_16113_; +lean_object* v___x_16116_; +if (v_isShared_16114_ == 0) +{ +v___x_16116_ = v___x_16113_; +goto v_reusejp_16115_; +} +else +{ +lean_object* v_reuseFailAlloc_16117_; +v_reuseFailAlloc_16117_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16117_, 0, v_a_16111_); +v___x_16116_ = v_reuseFailAlloc_16117_; +goto v_reusejp_16115_; +} +v_reusejp_16115_: +{ +return v___x_16116_; } } } @@ -54120,56 +54137,56 @@ return v___x_16113_; } else { -lean_object* v_a_16116_; lean_object* v___x_16118_; uint8_t v_isShared_16119_; uint8_t v_isSharedCheck_16123_; -lean_dec(v___y_16088_); -lean_dec_ref(v___y_16087_); -lean_dec(v___y_16086_); -lean_dec_ref(v___y_16085_); -lean_dec(v_uElimGen_16084_); -lean_dec(v_a_16082_); -lean_dec_ref(v_discrs_16065_); -lean_dec(v___x_16064_); -lean_dec_ref(v_matchType_16063_); -lean_dec(v_isSplitter_16062_); -lean_dec_ref(v_discrInfos_16061_); -lean_dec(v_numDiscrs_16060_); -lean_dec(v_matcherName_16059_); -lean_dec(v_lhss_16058_); -v_a_16116_ = lean_ctor_get(v___x_16093_, 0); -v_isSharedCheck_16123_ = !lean_is_exclusive(v___x_16093_); -if (v_isSharedCheck_16123_ == 0) +lean_object* v_a_16119_; lean_object* v___x_16121_; uint8_t v_isShared_16122_; uint8_t v_isSharedCheck_16126_; +lean_dec(v___y_16091_); +lean_dec_ref(v___y_16090_); +lean_dec(v___y_16089_); +lean_dec_ref(v___y_16088_); +lean_dec(v_uElimGen_16087_); +lean_dec(v_a_16085_); +lean_dec_ref(v_discrs_16068_); +lean_dec(v___x_16067_); +lean_dec_ref(v_matchType_16066_); +lean_dec(v_isSplitter_16065_); +lean_dec_ref(v_discrInfos_16064_); +lean_dec(v_numDiscrs_16063_); +lean_dec(v_matcherName_16062_); +lean_dec(v_lhss_16061_); +v_a_16119_ = lean_ctor_get(v___x_16096_, 0); +v_isSharedCheck_16126_ = !lean_is_exclusive(v___x_16096_); +if (v_isSharedCheck_16126_ == 0) { -v___x_16118_ = v___x_16093_; -v_isShared_16119_ = v_isSharedCheck_16123_; -goto v_resetjp_16117_; +v___x_16121_ = v___x_16096_; +v_isShared_16122_ = v_isSharedCheck_16126_; +goto v_resetjp_16120_; } else { -lean_inc(v_a_16116_); -lean_dec(v___x_16093_); -v___x_16118_ = lean_box(0); -v_isShared_16119_ = v_isSharedCheck_16123_; -goto v_resetjp_16117_; +lean_inc(v_a_16119_); +lean_dec(v___x_16096_); +v___x_16121_ = lean_box(0); +v_isShared_16122_ = v_isSharedCheck_16126_; +goto v_resetjp_16120_; } -v_resetjp_16117_: +v_resetjp_16120_: { -lean_object* v___x_16121_; -if (v_isShared_16119_ == 0) +lean_object* v___x_16124_; +if (v_isShared_16122_ == 0) { -v___x_16121_ = v___x_16118_; -goto v_reusejp_16120_; +v___x_16124_ = v___x_16121_; +goto v_reusejp_16123_; } else { -lean_object* v_reuseFailAlloc_16122_; -v_reuseFailAlloc_16122_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16122_, 0, v_a_16116_); -v___x_16121_ = v_reuseFailAlloc_16122_; -goto v_reusejp_16120_; +lean_object* v_reuseFailAlloc_16125_; +v_reuseFailAlloc_16125_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16125_, 0, v_a_16119_); +v___x_16124_ = v_reuseFailAlloc_16125_; +goto v_reusejp_16123_; } -v_reusejp_16120_: +v_reusejp_16123_: { -return v___x_16121_; +return v___x_16124_; } } } @@ -54177,1093 +54194,1093 @@ return v___x_16121_; } else { -lean_object* v_a_16136_; lean_object* v___x_16138_; uint8_t v_isShared_16139_; uint8_t v_isSharedCheck_16143_; -lean_dec(v___y_16070_); -lean_dec_ref(v___y_16069_); -lean_dec(v___y_16068_); -lean_dec_ref(v___y_16067_); -lean_dec_ref(v_discrs_16065_); -lean_dec(v___x_16064_); -lean_dec_ref(v_matchType_16063_); -lean_dec(v_isSplitter_16062_); -lean_dec_ref(v_discrInfos_16061_); -lean_dec(v_numDiscrs_16060_); -lean_dec(v_matcherName_16059_); -lean_dec(v_lhss_16058_); -v_a_16136_ = lean_ctor_get(v___x_16081_, 0); -v_isSharedCheck_16143_ = !lean_is_exclusive(v___x_16081_); -if (v_isSharedCheck_16143_ == 0) +lean_object* v_a_16139_; lean_object* v___x_16141_; uint8_t v_isShared_16142_; uint8_t v_isSharedCheck_16146_; +lean_dec(v___y_16073_); +lean_dec_ref(v___y_16072_); +lean_dec(v___y_16071_); +lean_dec_ref(v___y_16070_); +lean_dec_ref(v_discrs_16068_); +lean_dec(v___x_16067_); +lean_dec_ref(v_matchType_16066_); +lean_dec(v_isSplitter_16065_); +lean_dec_ref(v_discrInfos_16064_); +lean_dec(v_numDiscrs_16063_); +lean_dec(v_matcherName_16062_); +lean_dec(v_lhss_16061_); +v_a_16139_ = lean_ctor_get(v___x_16084_, 0); +v_isSharedCheck_16146_ = !lean_is_exclusive(v___x_16084_); +if (v_isSharedCheck_16146_ == 0) { -v___x_16138_ = v___x_16081_; -v_isShared_16139_ = v_isSharedCheck_16143_; -goto v_resetjp_16137_; +v___x_16141_ = v___x_16084_; +v_isShared_16142_ = v_isSharedCheck_16146_; +goto v_resetjp_16140_; } else { -lean_inc(v_a_16136_); -lean_dec(v___x_16081_); -v___x_16138_ = lean_box(0); -v_isShared_16139_ = v_isSharedCheck_16143_; -goto v_resetjp_16137_; +lean_inc(v_a_16139_); +lean_dec(v___x_16084_); +v___x_16141_ = lean_box(0); +v_isShared_16142_ = v_isSharedCheck_16146_; +goto v_resetjp_16140_; } -v_resetjp_16137_: +v_resetjp_16140_: { -lean_object* v___x_16141_; -if (v_isShared_16139_ == 0) +lean_object* v___x_16144_; +if (v_isShared_16142_ == 0) { -v___x_16141_ = v___x_16138_; -goto v_reusejp_16140_; +v___x_16144_ = v___x_16141_; +goto v_reusejp_16143_; } else { -lean_object* v_reuseFailAlloc_16142_; -v_reuseFailAlloc_16142_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16142_, 0, v_a_16136_); -v___x_16141_ = v_reuseFailAlloc_16142_; -goto v_reusejp_16140_; +lean_object* v_reuseFailAlloc_16145_; +v_reuseFailAlloc_16145_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16145_, 0, v_a_16139_); +v___x_16144_ = v_reuseFailAlloc_16145_; +goto v_reusejp_16143_; } -v_reusejp_16140_: +v_reusejp_16143_: { -return v___x_16141_; +return v___x_16144_; } } } -v___jp_16072_: +v___jp_16075_: { -lean_object* v___x_16079_; lean_object* v___x_16080_; -v___x_16079_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__7___closed__1)); -v___x_16080_ = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs_go_spec__0___redArg(v___x_16079_, v___y_16074_, v___y_16073_, v___y_16075_, v___y_16076_, v___y_16077_, v___y_16078_); -return v___x_16080_; +lean_object* v___x_16082_; lean_object* v___x_16083_; +v___x_16082_ = ((lean_object*)(l_Lean_Meta_Match_mkMatcher___lam__7___closed__1)); +v___x_16083_ = l_Lean_Meta_withLocalDeclD___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs_go_spec__0___redArg(v___x_16082_, v___y_16076_, v___y_16077_, v___y_16078_, v___y_16079_, v___y_16080_, v___y_16081_); +return v___x_16083_; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__7___boxed(lean_object* v_lhss_16144_, lean_object* v_matcherName_16145_, lean_object* v_numDiscrs_16146_, lean_object* v_discrInfos_16147_, lean_object* v_isSplitter_16148_, lean_object* v_matchType_16149_, lean_object* v___x_16150_, lean_object* v_discrs_16151_, lean_object* v_matchTypeBody_16152_, lean_object* v___y_16153_, lean_object* v___y_16154_, lean_object* v___y_16155_, lean_object* v___y_16156_, lean_object* v___y_16157_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__7___boxed(lean_object* v_lhss_16147_, lean_object* v_matcherName_16148_, lean_object* v_numDiscrs_16149_, lean_object* v_discrInfos_16150_, lean_object* v_isSplitter_16151_, lean_object* v_matchType_16152_, lean_object* v___x_16153_, lean_object* v_discrs_16154_, lean_object* v_matchTypeBody_16155_, lean_object* v___y_16156_, lean_object* v___y_16157_, lean_object* v___y_16158_, lean_object* v___y_16159_, lean_object* v___y_16160_){ _start: { -lean_object* v_res_16158_; -v_res_16158_ = l_Lean_Meta_Match_mkMatcher___lam__7(v_lhss_16144_, v_matcherName_16145_, v_numDiscrs_16146_, v_discrInfos_16147_, v_isSplitter_16148_, v_matchType_16149_, v___x_16150_, v_discrs_16151_, v_matchTypeBody_16152_, v___y_16153_, v___y_16154_, v___y_16155_, v___y_16156_); -return v_res_16158_; +lean_object* v_res_16161_; +v_res_16161_ = l_Lean_Meta_Match_mkMatcher___lam__7(v_lhss_16147_, v_matcherName_16148_, v_numDiscrs_16149_, v_discrInfos_16150_, v_isSplitter_16151_, v_matchType_16152_, v___x_16153_, v_discrs_16154_, v_matchTypeBody_16155_, v___y_16156_, v___y_16157_, v___y_16158_, v___y_16159_); +return v_res_16161_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__8(lean_object* v_input_16159_, lean_object* v___y_16160_, lean_object* v___y_16161_, lean_object* v___y_16162_, lean_object* v___y_16163_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__8(lean_object* v_input_16162_, lean_object* v___y_16163_, lean_object* v___y_16164_, lean_object* v___y_16165_, lean_object* v___y_16166_){ _start: { -lean_object* v_matcherName_16165_; lean_object* v_matchType_16166_; lean_object* v_discrInfos_16167_; lean_object* v_lhss_16168_; lean_object* v_isSplitter_16169_; lean_object* v_numDiscrs_16170_; lean_object* v___x_16171_; -v_matcherName_16165_ = lean_ctor_get(v_input_16159_, 0); -lean_inc(v_matcherName_16165_); -v_matchType_16166_ = lean_ctor_get(v_input_16159_, 1); -lean_inc_ref(v_matchType_16166_); -v_discrInfos_16167_ = lean_ctor_get(v_input_16159_, 2); -lean_inc_ref(v_discrInfos_16167_); -v_lhss_16168_ = lean_ctor_get(v_input_16159_, 3); -lean_inc(v_lhss_16168_); -v_isSplitter_16169_ = lean_ctor_get(v_input_16159_, 4); -lean_inc(v_isSplitter_16169_); -lean_dec_ref(v_input_16159_); -v_numDiscrs_16170_ = lean_array_get_size(v_discrInfos_16167_); -lean_inc(v___y_16163_); -lean_inc_ref(v___y_16162_); -lean_inc(v___y_16161_); -lean_inc_ref(v___y_16160_); -lean_inc(v_lhss_16168_); -v___x_16171_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns(v_numDiscrs_16170_, v_lhss_16168_, v___y_16160_, v___y_16161_, v___y_16162_, v___y_16163_); -if (lean_obj_tag(v___x_16171_) == 0) +lean_object* v_matcherName_16168_; lean_object* v_matchType_16169_; lean_object* v_discrInfos_16170_; lean_object* v_lhss_16171_; lean_object* v_isSplitter_16172_; lean_object* v_numDiscrs_16173_; lean_object* v___x_16174_; +v_matcherName_16168_ = lean_ctor_get(v_input_16162_, 0); +lean_inc(v_matcherName_16168_); +v_matchType_16169_ = lean_ctor_get(v_input_16162_, 1); +lean_inc_ref(v_matchType_16169_); +v_discrInfos_16170_ = lean_ctor_get(v_input_16162_, 2); +lean_inc_ref(v_discrInfos_16170_); +v_lhss_16171_ = lean_ctor_get(v_input_16162_, 3); +lean_inc(v_lhss_16171_); +v_isSplitter_16172_ = lean_ctor_get(v_input_16162_, 4); +lean_inc(v_isSplitter_16172_); +lean_dec_ref(v_input_16162_); +v_numDiscrs_16173_ = lean_array_get_size(v_discrInfos_16170_); +lean_inc(v___y_16166_); +lean_inc_ref(v___y_16165_); +lean_inc(v___y_16164_); +lean_inc_ref(v___y_16163_); +lean_inc(v_lhss_16171_); +v___x_16174_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns(v_numDiscrs_16173_, v_lhss_16171_, v___y_16163_, v___y_16164_, v___y_16165_, v___y_16166_); +if (lean_obj_tag(v___x_16174_) == 0) { -lean_object* v___x_16172_; lean_object* v___f_16173_; uint8_t v___x_16174_; lean_object* v___x_16175_; -lean_dec_ref(v___x_16171_); -v___x_16172_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_16172_, 0, v_numDiscrs_16170_); -lean_inc_ref(v___x_16172_); -lean_inc_ref(v_matchType_16166_); -v___f_16173_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__7___boxed), 14, 7); -lean_closure_set(v___f_16173_, 0, v_lhss_16168_); -lean_closure_set(v___f_16173_, 1, v_matcherName_16165_); -lean_closure_set(v___f_16173_, 2, v_numDiscrs_16170_); -lean_closure_set(v___f_16173_, 3, v_discrInfos_16167_); -lean_closure_set(v___f_16173_, 4, v_isSplitter_16169_); -lean_closure_set(v___f_16173_, 5, v_matchType_16166_); -lean_closure_set(v___f_16173_, 6, v___x_16172_); -v___x_16174_ = 0; -v___x_16175_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_matchType_16166_, v___x_16172_, v___f_16173_, v___x_16174_, v___x_16174_, v___y_16160_, v___y_16161_, v___y_16162_, v___y_16163_); -return v___x_16175_; +lean_object* v___x_16175_; lean_object* v___f_16176_; uint8_t v___x_16177_; lean_object* v___x_16178_; +lean_dec_ref(v___x_16174_); +v___x_16175_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_16175_, 0, v_numDiscrs_16173_); +lean_inc_ref(v___x_16175_); +lean_inc_ref(v_matchType_16169_); +v___f_16176_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__7___boxed), 14, 7); +lean_closure_set(v___f_16176_, 0, v_lhss_16171_); +lean_closure_set(v___f_16176_, 1, v_matcherName_16168_); +lean_closure_set(v___f_16176_, 2, v_numDiscrs_16173_); +lean_closure_set(v___f_16176_, 3, v_discrInfos_16170_); +lean_closure_set(v___f_16176_, 4, v_isSplitter_16172_); +lean_closure_set(v___f_16176_, 5, v_matchType_16169_); +lean_closure_set(v___f_16176_, 6, v___x_16175_); +v___x_16177_ = 0; +v___x_16178_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_matchType_16169_, v___x_16175_, v___f_16176_, v___x_16177_, v___x_16177_, v___y_16163_, v___y_16164_, v___y_16165_, v___y_16166_); +return v___x_16178_; } else { -lean_object* v_a_16176_; lean_object* v___x_16178_; uint8_t v_isShared_16179_; uint8_t v_isSharedCheck_16183_; -lean_dec(v_isSplitter_16169_); -lean_dec(v_lhss_16168_); -lean_dec_ref(v_discrInfos_16167_); -lean_dec_ref(v_matchType_16166_); -lean_dec(v_matcherName_16165_); -lean_dec(v___y_16163_); -lean_dec_ref(v___y_16162_); -lean_dec(v___y_16161_); -lean_dec_ref(v___y_16160_); -v_a_16176_ = lean_ctor_get(v___x_16171_, 0); -v_isSharedCheck_16183_ = !lean_is_exclusive(v___x_16171_); -if (v_isSharedCheck_16183_ == 0) +lean_object* v_a_16179_; lean_object* v___x_16181_; uint8_t v_isShared_16182_; uint8_t v_isSharedCheck_16186_; +lean_dec(v_isSplitter_16172_); +lean_dec(v_lhss_16171_); +lean_dec_ref(v_discrInfos_16170_); +lean_dec_ref(v_matchType_16169_); +lean_dec(v_matcherName_16168_); +lean_dec(v___y_16166_); +lean_dec_ref(v___y_16165_); +lean_dec(v___y_16164_); +lean_dec_ref(v___y_16163_); +v_a_16179_ = lean_ctor_get(v___x_16174_, 0); +v_isSharedCheck_16186_ = !lean_is_exclusive(v___x_16174_); +if (v_isSharedCheck_16186_ == 0) { -v___x_16178_ = v___x_16171_; -v_isShared_16179_ = v_isSharedCheck_16183_; -goto v_resetjp_16177_; +v___x_16181_ = v___x_16174_; +v_isShared_16182_ = v_isSharedCheck_16186_; +goto v_resetjp_16180_; } else { -lean_inc(v_a_16176_); -lean_dec(v___x_16171_); -v___x_16178_ = lean_box(0); -v_isShared_16179_ = v_isSharedCheck_16183_; -goto v_resetjp_16177_; +lean_inc(v_a_16179_); +lean_dec(v___x_16174_); +v___x_16181_ = lean_box(0); +v_isShared_16182_ = v_isSharedCheck_16186_; +goto v_resetjp_16180_; } -v_resetjp_16177_: +v_resetjp_16180_: { -lean_object* v___x_16181_; -if (v_isShared_16179_ == 0) +lean_object* v___x_16184_; +if (v_isShared_16182_ == 0) { -v___x_16181_ = v___x_16178_; -goto v_reusejp_16180_; +v___x_16184_ = v___x_16181_; +goto v_reusejp_16183_; } else { -lean_object* v_reuseFailAlloc_16182_; -v_reuseFailAlloc_16182_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16182_, 0, v_a_16176_); -v___x_16181_ = v_reuseFailAlloc_16182_; -goto v_reusejp_16180_; +lean_object* v_reuseFailAlloc_16185_; +v_reuseFailAlloc_16185_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16185_, 0, v_a_16179_); +v___x_16184_ = v_reuseFailAlloc_16185_; +goto v_reusejp_16183_; } -v_reusejp_16180_: +v_reusejp_16183_: { -return v___x_16181_; +return v___x_16184_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__8___boxed(lean_object* v_input_16184_, lean_object* v___y_16185_, lean_object* v___y_16186_, lean_object* v___y_16187_, lean_object* v___y_16188_, lean_object* v___y_16189_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___lam__8___boxed(lean_object* v_input_16187_, lean_object* v___y_16188_, lean_object* v___y_16189_, lean_object* v___y_16190_, lean_object* v___y_16191_, lean_object* v___y_16192_){ _start: { -lean_object* v_res_16190_; -v_res_16190_ = l_Lean_Meta_Match_mkMatcher___lam__8(v_input_16184_, v___y_16185_, v___y_16186_, v___y_16187_, v___y_16188_); -return v_res_16190_; +lean_object* v_res_16193_; +v_res_16193_ = l_Lean_Meta_Match_mkMatcher___lam__8(v_input_16187_, v___y_16188_, v___y_16189_, v___y_16190_, v___y_16191_); +return v_res_16193_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher(lean_object* v_input_16191_, lean_object* v_a_16192_, lean_object* v_a_16193_, lean_object* v_a_16194_, lean_object* v_a_16195_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher(lean_object* v_input_16194_, lean_object* v_a_16195_, lean_object* v_a_16196_, lean_object* v_a_16197_, lean_object* v_a_16198_){ _start: { -lean_object* v___y_16197_; lean_object* v___x_16198_; -lean_inc_ref(v_input_16191_); -v___y_16197_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__8___boxed), 6, 1); -lean_closure_set(v___y_16197_, 0, v_input_16191_); -v___x_16198_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_input_16191_, v___y_16197_, v_a_16192_, v_a_16193_, v_a_16194_, v_a_16195_); -return v___x_16198_; +lean_object* v___y_16200_; lean_object* v___x_16201_; +lean_inc_ref(v_input_16194_); +v___y_16200_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_mkMatcher___lam__8___boxed), 6, 1); +lean_closure_set(v___y_16200_, 0, v_input_16194_); +v___x_16201_ = l_Lean_Meta_Match_withCleanLCtxFor___redArg(v_input_16194_, v___y_16200_, v_a_16195_, v_a_16196_, v_a_16197_, v_a_16198_); +return v___x_16201_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___boxed(lean_object* v_input_16199_, lean_object* v_a_16200_, lean_object* v_a_16201_, lean_object* v_a_16202_, lean_object* v_a_16203_, lean_object* v_a_16204_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_mkMatcher___boxed(lean_object* v_input_16202_, lean_object* v_a_16203_, lean_object* v_a_16204_, lean_object* v_a_16205_, lean_object* v_a_16206_, lean_object* v_a_16207_){ _start: { -lean_object* v_res_16205_; -v_res_16205_ = l_Lean_Meta_Match_mkMatcher(v_input_16199_, v_a_16200_, v_a_16201_, v_a_16202_, v_a_16203_); -return v_res_16205_; +lean_object* v_res_16208_; +v_res_16208_ = l_Lean_Meta_Match_mkMatcher(v_input_16202_, v_a_16203_, v_a_16204_, v_a_16205_, v_a_16206_); +return v_res_16208_; } } -LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0(lean_object* v_00_u03b2_16206_, lean_object* v_m_16207_, lean_object* v_a_16208_){ +LEAN_EXPORT uint8_t l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0(lean_object* v_00_u03b2_16209_, lean_object* v_m_16210_, lean_object* v_a_16211_){ _start: { -uint8_t v___x_16209_; -v___x_16209_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_m_16207_, v_a_16208_); -return v___x_16209_; +uint8_t v___x_16212_; +v___x_16212_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___redArg(v_m_16210_, v_a_16211_); +return v___x_16212_; } } -LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___boxed(lean_object* v_00_u03b2_16210_, lean_object* v_m_16211_, lean_object* v_a_16212_){ +LEAN_EXPORT lean_object* l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0___boxed(lean_object* v_00_u03b2_16213_, lean_object* v_m_16214_, lean_object* v_a_16215_){ _start: { -uint8_t v_res_16213_; lean_object* v_r_16214_; -v_res_16213_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0(v_00_u03b2_16210_, v_m_16211_, v_a_16212_); -lean_dec(v_a_16212_); -lean_dec_ref(v_m_16211_); -v_r_16214_ = lean_box(v_res_16213_); -return v_r_16214_; +uint8_t v_res_16216_; lean_object* v_r_16217_; +v_res_16216_ = l_Std_DHashMap_Internal_Raw_u2080_contains___at___00Lean_Meta_Match_mkMatcher_spec__0(v_00_u03b2_16213_, v_m_16214_, v_a_16215_); +lean_dec(v_a_16215_); +lean_dec_ref(v_m_16214_); +v_r_16217_ = lean_box(v_res_16216_); +return v_r_16217_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1(lean_object* v_s_16215_, lean_object* v_n_16216_, lean_object* v_j_16217_, lean_object* v_a_16218_, lean_object* v_a_16219_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1(lean_object* v_s_16218_, lean_object* v_n_16219_, lean_object* v_j_16220_, lean_object* v_a_16221_, lean_object* v_a_16222_){ _start: { -lean_object* v___x_16220_; -v___x_16220_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_16215_, v_n_16216_, v_j_16217_, v_a_16219_); -return v___x_16220_; +lean_object* v___x_16223_; +v___x_16223_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___redArg(v_s_16218_, v_n_16219_, v_j_16220_, v_a_16222_); +return v___x_16223_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___boxed(lean_object* v_s_16221_, lean_object* v_n_16222_, lean_object* v_j_16223_, lean_object* v_a_16224_, lean_object* v_a_16225_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1___boxed(lean_object* v_s_16224_, lean_object* v_n_16225_, lean_object* v_j_16226_, lean_object* v_a_16227_, lean_object* v_a_16228_){ _start: { -lean_object* v_res_16226_; -v_res_16226_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1(v_s_16221_, v_n_16222_, v_j_16223_, v_a_16224_, v_a_16225_); -lean_dec(v_n_16222_); -lean_dec_ref(v_s_16221_); -return v_res_16226_; +lean_object* v_res_16229_; +v_res_16229_ = l___private_Init_Data_Nat_Fold_0__Nat_foldTR_loop___at___00Lean_Meta_Match_mkMatcher_spec__1(v_s_16224_, v_n_16225_, v_j_16226_, v_a_16227_, v_a_16228_); +lean_dec(v_n_16225_); +lean_dec_ref(v_s_16224_); +return v_res_16229_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(lean_object* v_declName_16227_, lean_object* v___y_16228_){ +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(lean_object* v_declName_16230_, lean_object* v___y_16231_){ _start: { -lean_object* v___x_16230_; lean_object* v_env_16231_; lean_object* v___x_16232_; lean_object* v___x_16233_; -v___x_16230_ = lean_st_ref_get(v___y_16228_); -v_env_16231_ = lean_ctor_get(v___x_16230_, 0); -lean_inc_ref(v_env_16231_); -lean_dec(v___x_16230_); -v___x_16232_ = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(v_env_16231_, v_declName_16227_); -v___x_16233_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16233_, 0, v___x_16232_); -return v___x_16233_; +lean_object* v___x_16233_; lean_object* v_env_16234_; lean_object* v___x_16235_; lean_object* v___x_16236_; +v___x_16233_ = lean_st_ref_get(v___y_16231_); +v_env_16234_ = lean_ctor_get(v___x_16233_, 0); +lean_inc_ref(v_env_16234_); +lean_dec(v___x_16233_); +v___x_16235_ = l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(v_env_16234_, v_declName_16230_); +v___x_16236_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16236_, 0, v___x_16235_); +return v___x_16236_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg___boxed(lean_object* v_declName_16234_, lean_object* v___y_16235_, lean_object* v___y_16236_){ +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg___boxed(lean_object* v_declName_16237_, lean_object* v___y_16238_, lean_object* v___y_16239_){ _start: { -lean_object* v_res_16237_; -v_res_16237_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_16234_, v___y_16235_); -lean_dec(v___y_16235_); -return v_res_16237_; +lean_object* v_res_16240_; +v_res_16240_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_16237_, v___y_16238_); +lean_dec(v___y_16238_); +return v_res_16240_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4(lean_object* v_declName_16238_, lean_object* v___y_16239_, lean_object* v___y_16240_, lean_object* v___y_16241_, lean_object* v___y_16242_){ +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4(lean_object* v_declName_16241_, lean_object* v___y_16242_, lean_object* v___y_16243_, lean_object* v___y_16244_, lean_object* v___y_16245_){ _start: { -lean_object* v___x_16244_; -v___x_16244_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_16238_, v___y_16242_); -return v___x_16244_; +lean_object* v___x_16247_; +v___x_16247_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_16241_, v___y_16245_); +return v___x_16247_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___boxed(lean_object* v_declName_16245_, lean_object* v___y_16246_, lean_object* v___y_16247_, lean_object* v___y_16248_, lean_object* v___y_16249_, lean_object* v___y_16250_){ +LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___boxed(lean_object* v_declName_16248_, lean_object* v___y_16249_, lean_object* v___y_16250_, lean_object* v___y_16251_, lean_object* v___y_16252_, lean_object* v___y_16253_){ _start: { -lean_object* v_res_16251_; -v_res_16251_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4(v_declName_16245_, v___y_16246_, v___y_16247_, v___y_16248_, v___y_16249_); -lean_dec(v___y_16249_); -lean_dec_ref(v___y_16248_); -lean_dec(v___y_16247_); -lean_dec_ref(v___y_16246_); -return v_res_16251_; +lean_object* v_res_16254_; +v_res_16254_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4(v_declName_16248_, v___y_16249_, v___y_16250_, v___y_16251_, v___y_16252_); +lean_dec(v___y_16252_); +lean_dec_ref(v___y_16251_); +lean_dec(v___y_16250_); +lean_dec_ref(v___y_16249_); +return v_res_16254_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(lean_object* v_type_16252_, lean_object* v_k_16253_, uint8_t v_cleanupAnnotations_16254_, lean_object* v___y_16255_, lean_object* v___y_16256_, lean_object* v___y_16257_, lean_object* v___y_16258_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(lean_object* v_type_16255_, lean_object* v_k_16256_, uint8_t v_cleanupAnnotations_16257_, lean_object* v___y_16258_, lean_object* v___y_16259_, lean_object* v___y_16260_, lean_object* v___y_16261_){ _start: { -lean_object* v___f_16260_; uint8_t v___x_16261_; lean_object* v___x_16262_; lean_object* v___x_16263_; -v___f_16260_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_16260_, 0, v_k_16253_); -v___x_16261_ = 0; -v___x_16262_ = lean_box(0); -v___x_16263_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_16261_, v___x_16262_, v_type_16252_, v___f_16260_, v_cleanupAnnotations_16254_, v___x_16261_, v___y_16255_, v___y_16256_, v___y_16257_, v___y_16258_); -if (lean_obj_tag(v___x_16263_) == 0) +lean_object* v___f_16263_; uint8_t v___x_16264_; lean_object* v___x_16265_; lean_object* v___x_16266_; +v___f_16263_ = lean_alloc_closure((void*)(l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_16263_, 0, v_k_16256_); +v___x_16264_ = 0; +v___x_16265_ = lean_box(0); +v___x_16266_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_16264_, v___x_16265_, v_type_16255_, v___f_16263_, v_cleanupAnnotations_16257_, v___x_16264_, v___y_16258_, v___y_16259_, v___y_16260_, v___y_16261_); +if (lean_obj_tag(v___x_16266_) == 0) { -lean_object* v_a_16264_; lean_object* v___x_16266_; uint8_t v_isShared_16267_; uint8_t v_isSharedCheck_16271_; -v_a_16264_ = lean_ctor_get(v___x_16263_, 0); -v_isSharedCheck_16271_ = !lean_is_exclusive(v___x_16263_); -if (v_isSharedCheck_16271_ == 0) -{ -v___x_16266_ = v___x_16263_; -v_isShared_16267_ = v_isSharedCheck_16271_; -goto v_resetjp_16265_; -} -else -{ -lean_inc(v_a_16264_); -lean_dec(v___x_16263_); -v___x_16266_ = lean_box(0); -v_isShared_16267_ = v_isSharedCheck_16271_; -goto v_resetjp_16265_; -} -v_resetjp_16265_: -{ -lean_object* v___x_16269_; -if (v_isShared_16267_ == 0) +lean_object* v_a_16267_; lean_object* v___x_16269_; uint8_t v_isShared_16270_; uint8_t v_isSharedCheck_16274_; +v_a_16267_ = lean_ctor_get(v___x_16266_, 0); +v_isSharedCheck_16274_ = !lean_is_exclusive(v___x_16266_); +if (v_isSharedCheck_16274_ == 0) { v___x_16269_ = v___x_16266_; -goto v_reusejp_16268_; +v_isShared_16270_ = v_isSharedCheck_16274_; +goto v_resetjp_16268_; } else { -lean_object* v_reuseFailAlloc_16270_; -v_reuseFailAlloc_16270_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16270_, 0, v_a_16264_); -v___x_16269_ = v_reuseFailAlloc_16270_; -goto v_reusejp_16268_; +lean_inc(v_a_16267_); +lean_dec(v___x_16266_); +v___x_16269_ = lean_box(0); +v_isShared_16270_ = v_isSharedCheck_16274_; +goto v_resetjp_16268_; } -v_reusejp_16268_: +v_resetjp_16268_: { -return v___x_16269_; +lean_object* v___x_16272_; +if (v_isShared_16270_ == 0) +{ +v___x_16272_ = v___x_16269_; +goto v_reusejp_16271_; +} +else +{ +lean_object* v_reuseFailAlloc_16273_; +v_reuseFailAlloc_16273_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16273_, 0, v_a_16267_); +v___x_16272_ = v_reuseFailAlloc_16273_; +goto v_reusejp_16271_; +} +v_reusejp_16271_: +{ +return v___x_16272_; } } } else { -lean_object* v_a_16272_; lean_object* v___x_16274_; uint8_t v_isShared_16275_; uint8_t v_isSharedCheck_16279_; -v_a_16272_ = lean_ctor_get(v___x_16263_, 0); -v_isSharedCheck_16279_ = !lean_is_exclusive(v___x_16263_); -if (v_isSharedCheck_16279_ == 0) +lean_object* v_a_16275_; lean_object* v___x_16277_; uint8_t v_isShared_16278_; uint8_t v_isSharedCheck_16282_; +v_a_16275_ = lean_ctor_get(v___x_16266_, 0); +v_isSharedCheck_16282_ = !lean_is_exclusive(v___x_16266_); +if (v_isSharedCheck_16282_ == 0) { -v___x_16274_ = v___x_16263_; -v_isShared_16275_ = v_isSharedCheck_16279_; -goto v_resetjp_16273_; +v___x_16277_ = v___x_16266_; +v_isShared_16278_ = v_isSharedCheck_16282_; +goto v_resetjp_16276_; } else { -lean_inc(v_a_16272_); -lean_dec(v___x_16263_); -v___x_16274_ = lean_box(0); -v_isShared_16275_ = v_isSharedCheck_16279_; -goto v_resetjp_16273_; +lean_inc(v_a_16275_); +lean_dec(v___x_16266_); +v___x_16277_ = lean_box(0); +v_isShared_16278_ = v_isSharedCheck_16282_; +goto v_resetjp_16276_; } -v_resetjp_16273_: +v_resetjp_16276_: { -lean_object* v___x_16277_; -if (v_isShared_16275_ == 0) +lean_object* v___x_16280_; +if (v_isShared_16278_ == 0) { -v___x_16277_ = v___x_16274_; -goto v_reusejp_16276_; +v___x_16280_ = v___x_16277_; +goto v_reusejp_16279_; } else { -lean_object* v_reuseFailAlloc_16278_; -v_reuseFailAlloc_16278_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16278_, 0, v_a_16272_); -v___x_16277_ = v_reuseFailAlloc_16278_; -goto v_reusejp_16276_; +lean_object* v_reuseFailAlloc_16281_; +v_reuseFailAlloc_16281_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16281_, 0, v_a_16275_); +v___x_16280_ = v_reuseFailAlloc_16281_; +goto v_reusejp_16279_; } -v_reusejp_16276_: +v_reusejp_16279_: { -return v___x_16277_; +return v___x_16280_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg___boxed(lean_object* v_type_16280_, lean_object* v_k_16281_, lean_object* v_cleanupAnnotations_16282_, lean_object* v___y_16283_, lean_object* v___y_16284_, lean_object* v___y_16285_, lean_object* v___y_16286_, lean_object* v___y_16287_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg___boxed(lean_object* v_type_16283_, lean_object* v_k_16284_, lean_object* v_cleanupAnnotations_16285_, lean_object* v___y_16286_, lean_object* v___y_16287_, lean_object* v___y_16288_, lean_object* v___y_16289_, lean_object* v___y_16290_){ _start: { -uint8_t v_cleanupAnnotations_boxed_16288_; lean_object* v_res_16289_; -v_cleanupAnnotations_boxed_16288_ = lean_unbox(v_cleanupAnnotations_16282_); -v_res_16289_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_type_16280_, v_k_16281_, v_cleanupAnnotations_boxed_16288_, v___y_16283_, v___y_16284_, v___y_16285_, v___y_16286_); -return v_res_16289_; +uint8_t v_cleanupAnnotations_boxed_16291_; lean_object* v_res_16292_; +v_cleanupAnnotations_boxed_16291_ = lean_unbox(v_cleanupAnnotations_16285_); +v_res_16292_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_type_16283_, v_k_16284_, v_cleanupAnnotations_boxed_16291_, v___y_16286_, v___y_16287_, v___y_16288_, v___y_16289_); +return v_res_16292_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6(lean_object* v_00_u03b1_16290_, lean_object* v_type_16291_, lean_object* v_k_16292_, uint8_t v_cleanupAnnotations_16293_, lean_object* v___y_16294_, lean_object* v___y_16295_, lean_object* v___y_16296_, lean_object* v___y_16297_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6(lean_object* v_00_u03b1_16293_, lean_object* v_type_16294_, lean_object* v_k_16295_, uint8_t v_cleanupAnnotations_16296_, lean_object* v___y_16297_, lean_object* v___y_16298_, lean_object* v___y_16299_, lean_object* v___y_16300_){ _start: { -lean_object* v___x_16299_; -v___x_16299_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_type_16291_, v_k_16292_, v_cleanupAnnotations_16293_, v___y_16294_, v___y_16295_, v___y_16296_, v___y_16297_); -return v___x_16299_; +lean_object* v___x_16302_; +v___x_16302_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_type_16294_, v_k_16295_, v_cleanupAnnotations_16296_, v___y_16297_, v___y_16298_, v___y_16299_, v___y_16300_); +return v___x_16302_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___boxed(lean_object* v_00_u03b1_16300_, lean_object* v_type_16301_, lean_object* v_k_16302_, lean_object* v_cleanupAnnotations_16303_, lean_object* v___y_16304_, lean_object* v___y_16305_, lean_object* v___y_16306_, lean_object* v___y_16307_, lean_object* v___y_16308_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___boxed(lean_object* v_00_u03b1_16303_, lean_object* v_type_16304_, lean_object* v_k_16305_, lean_object* v_cleanupAnnotations_16306_, lean_object* v___y_16307_, lean_object* v___y_16308_, lean_object* v___y_16309_, lean_object* v___y_16310_, lean_object* v___y_16311_){ _start: { -uint8_t v_cleanupAnnotations_boxed_16309_; lean_object* v_res_16310_; -v_cleanupAnnotations_boxed_16309_ = lean_unbox(v_cleanupAnnotations_16303_); -v_res_16310_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6(v_00_u03b1_16300_, v_type_16301_, v_k_16302_, v_cleanupAnnotations_boxed_16309_, v___y_16304_, v___y_16305_, v___y_16306_, v___y_16307_); -return v_res_16310_; +uint8_t v_cleanupAnnotations_boxed_16312_; lean_object* v_res_16313_; +v_cleanupAnnotations_boxed_16312_ = lean_unbox(v_cleanupAnnotations_16306_); +v_res_16313_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6(v_00_u03b1_16303_, v_type_16304_, v_k_16305_, v_cleanupAnnotations_boxed_16312_, v___y_16307_, v___y_16308_, v___y_16309_, v___y_16310_); +return v_res_16313_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(size_t v_sz_16311_, size_t v_i_16312_, lean_object* v_bs_16313_, lean_object* v___y_16314_, lean_object* v___y_16315_, lean_object* v___y_16316_, lean_object* v___y_16317_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(size_t v_sz_16314_, size_t v_i_16315_, lean_object* v_bs_16316_, lean_object* v___y_16317_, lean_object* v___y_16318_, lean_object* v___y_16319_, lean_object* v___y_16320_){ _start: { -uint8_t v___x_16319_; -v___x_16319_ = lean_usize_dec_lt(v_i_16312_, v_sz_16311_); -if (v___x_16319_ == 0) +uint8_t v___x_16322_; +v___x_16322_ = lean_usize_dec_lt(v_i_16315_, v_sz_16314_); +if (v___x_16322_ == 0) { -lean_object* v___x_16320_; -lean_dec(v___y_16317_); -lean_dec_ref(v___y_16316_); -lean_dec(v___y_16315_); -lean_dec_ref(v___y_16314_); -v___x_16320_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16320_, 0, v_bs_16313_); -return v___x_16320_; +lean_object* v___x_16323_; +lean_dec(v___y_16320_); +lean_dec_ref(v___y_16319_); +lean_dec(v___y_16318_); +lean_dec_ref(v___y_16317_); +v___x_16323_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16323_, 0, v_bs_16316_); +return v___x_16323_; } else { -lean_object* v_v_16321_; lean_object* v___x_16322_; -v_v_16321_ = lean_array_uget_borrowed(v_bs_16313_, v_i_16312_); -lean_inc(v___y_16317_); -lean_inc_ref(v___y_16316_); -lean_inc(v___y_16315_); -lean_inc_ref(v___y_16314_); -lean_inc(v_v_16321_); -v___x_16322_ = l_Lean_Meta_Match_toPattern(v_v_16321_, v___y_16314_, v___y_16315_, v___y_16316_, v___y_16317_); -if (lean_obj_tag(v___x_16322_) == 0) +lean_object* v_v_16324_; lean_object* v___x_16325_; +v_v_16324_ = lean_array_uget_borrowed(v_bs_16316_, v_i_16315_); +lean_inc(v___y_16320_); +lean_inc_ref(v___y_16319_); +lean_inc(v___y_16318_); +lean_inc_ref(v___y_16317_); +lean_inc(v_v_16324_); +v___x_16325_ = l_Lean_Meta_Match_toPattern(v_v_16324_, v___y_16317_, v___y_16318_, v___y_16319_, v___y_16320_); +if (lean_obj_tag(v___x_16325_) == 0) { -lean_object* v_a_16323_; lean_object* v___x_16324_; lean_object* v_bs_x27_16325_; size_t v___x_16326_; size_t v___x_16327_; lean_object* v___x_16328_; -v_a_16323_ = lean_ctor_get(v___x_16322_, 0); -lean_inc(v_a_16323_); -lean_dec_ref(v___x_16322_); -v___x_16324_ = lean_unsigned_to_nat(0u); -v_bs_x27_16325_ = lean_array_uset(v_bs_16313_, v_i_16312_, v___x_16324_); -v___x_16326_ = ((size_t)1ULL); -v___x_16327_ = lean_usize_add(v_i_16312_, v___x_16326_); -v___x_16328_ = lean_array_uset(v_bs_x27_16325_, v_i_16312_, v_a_16323_); -v_i_16312_ = v___x_16327_; -v_bs_16313_ = v___x_16328_; +lean_object* v_a_16326_; lean_object* v___x_16327_; lean_object* v_bs_x27_16328_; size_t v___x_16329_; size_t v___x_16330_; lean_object* v___x_16331_; +v_a_16326_ = lean_ctor_get(v___x_16325_, 0); +lean_inc(v_a_16326_); +lean_dec_ref(v___x_16325_); +v___x_16327_ = lean_unsigned_to_nat(0u); +v_bs_x27_16328_ = lean_array_uset(v_bs_16316_, v_i_16315_, v___x_16327_); +v___x_16329_ = ((size_t)1ULL); +v___x_16330_ = lean_usize_add(v_i_16315_, v___x_16329_); +v___x_16331_ = lean_array_uset(v_bs_x27_16328_, v_i_16315_, v_a_16326_); +v_i_16315_ = v___x_16330_; +v_bs_16316_ = v___x_16331_; goto _start; } else { -lean_object* v_a_16330_; lean_object* v___x_16332_; uint8_t v_isShared_16333_; uint8_t v_isSharedCheck_16337_; -lean_dec(v___y_16317_); -lean_dec_ref(v___y_16316_); -lean_dec(v___y_16315_); -lean_dec_ref(v___y_16314_); -lean_dec_ref(v_bs_16313_); -v_a_16330_ = lean_ctor_get(v___x_16322_, 0); -v_isSharedCheck_16337_ = !lean_is_exclusive(v___x_16322_); -if (v_isSharedCheck_16337_ == 0) +lean_object* v_a_16333_; lean_object* v___x_16335_; uint8_t v_isShared_16336_; uint8_t v_isSharedCheck_16340_; +lean_dec(v___y_16320_); +lean_dec_ref(v___y_16319_); +lean_dec(v___y_16318_); +lean_dec_ref(v___y_16317_); +lean_dec_ref(v_bs_16316_); +v_a_16333_ = lean_ctor_get(v___x_16325_, 0); +v_isSharedCheck_16340_ = !lean_is_exclusive(v___x_16325_); +if (v_isSharedCheck_16340_ == 0) { -v___x_16332_ = v___x_16322_; -v_isShared_16333_ = v_isSharedCheck_16337_; -goto v_resetjp_16331_; +v___x_16335_ = v___x_16325_; +v_isShared_16336_ = v_isSharedCheck_16340_; +goto v_resetjp_16334_; } else { -lean_inc(v_a_16330_); -lean_dec(v___x_16322_); -v___x_16332_ = lean_box(0); -v_isShared_16333_ = v_isSharedCheck_16337_; -goto v_resetjp_16331_; +lean_inc(v_a_16333_); +lean_dec(v___x_16325_); +v___x_16335_ = lean_box(0); +v_isShared_16336_ = v_isSharedCheck_16340_; +goto v_resetjp_16334_; } -v_resetjp_16331_: +v_resetjp_16334_: { -lean_object* v___x_16335_; -if (v_isShared_16333_ == 0) +lean_object* v___x_16338_; +if (v_isShared_16336_ == 0) { -v___x_16335_ = v___x_16332_; -goto v_reusejp_16334_; +v___x_16338_ = v___x_16335_; +goto v_reusejp_16337_; } else { -lean_object* v_reuseFailAlloc_16336_; -v_reuseFailAlloc_16336_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16336_, 0, v_a_16330_); -v___x_16335_ = v_reuseFailAlloc_16336_; -goto v_reusejp_16334_; +lean_object* v_reuseFailAlloc_16339_; +v_reuseFailAlloc_16339_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16339_, 0, v_a_16333_); +v___x_16338_ = v_reuseFailAlloc_16339_; +goto v_reusejp_16337_; } -v_reusejp_16334_: +v_reusejp_16337_: { -return v___x_16335_; +return v___x_16338_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0___boxed(lean_object* v_sz_16338_, lean_object* v_i_16339_, lean_object* v_bs_16340_, lean_object* v___y_16341_, lean_object* v___y_16342_, lean_object* v___y_16343_, lean_object* v___y_16344_, lean_object* v___y_16345_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0___boxed(lean_object* v_sz_16341_, lean_object* v_i_16342_, lean_object* v_bs_16343_, lean_object* v___y_16344_, lean_object* v___y_16345_, lean_object* v___y_16346_, lean_object* v___y_16347_, lean_object* v___y_16348_){ _start: { -size_t v_sz_boxed_16346_; size_t v_i_boxed_16347_; lean_object* v_res_16348_; -v_sz_boxed_16346_ = lean_unbox_usize(v_sz_16338_); -lean_dec(v_sz_16338_); -v_i_boxed_16347_ = lean_unbox_usize(v_i_16339_); -lean_dec(v_i_16339_); -v_res_16348_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(v_sz_boxed_16346_, v_i_boxed_16347_, v_bs_16340_, v___y_16341_, v___y_16342_, v___y_16343_, v___y_16344_); -return v_res_16348_; +size_t v_sz_boxed_16349_; size_t v_i_boxed_16350_; lean_object* v_res_16351_; +v_sz_boxed_16349_ = lean_unbox_usize(v_sz_16341_); +lean_dec(v_sz_16341_); +v_i_boxed_16350_ = lean_unbox_usize(v_i_16342_); +lean_dec(v_i_16342_); +v_res_16351_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(v_sz_boxed_16349_, v_i_boxed_16350_, v_bs_16343_, v___y_16344_, v___y_16345_, v___y_16346_, v___y_16347_); +return v_res_16351_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(lean_object* v___x_16349_, size_t v_sz_16350_, size_t v_i_16351_, lean_object* v_bs_16352_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(lean_object* v___x_16352_, size_t v_sz_16353_, size_t v_i_16354_, lean_object* v_bs_16355_){ _start: { -uint8_t v___x_16353_; -v___x_16353_ = lean_usize_dec_lt(v_i_16351_, v_sz_16350_); -if (v___x_16353_ == 0) +uint8_t v___x_16356_; +v___x_16356_ = lean_usize_dec_lt(v_i_16354_, v_sz_16353_); +if (v___x_16356_ == 0) { -lean_dec_ref(v___x_16349_); -return v_bs_16352_; +lean_dec_ref(v___x_16352_); +return v_bs_16355_; } else { -lean_object* v_v_16354_; lean_object* v___x_16355_; lean_object* v_bs_x27_16356_; lean_object* v___x_16357_; size_t v___x_16358_; size_t v___x_16359_; lean_object* v___x_16360_; -v_v_16354_ = lean_array_uget(v_bs_16352_, v_i_16351_); -v___x_16355_ = lean_unsigned_to_nat(0u); -v_bs_x27_16356_ = lean_array_uset(v_bs_16352_, v_i_16351_, v___x_16355_); -lean_inc_ref(v___x_16349_); -v___x_16357_ = l_Lean_LocalContext_getFVar_x21(v___x_16349_, v_v_16354_); -lean_dec(v_v_16354_); -v___x_16358_ = ((size_t)1ULL); -v___x_16359_ = lean_usize_add(v_i_16351_, v___x_16358_); -v___x_16360_ = lean_array_uset(v_bs_x27_16356_, v_i_16351_, v___x_16357_); -v_i_16351_ = v___x_16359_; -v_bs_16352_ = v___x_16360_; +lean_object* v_v_16357_; lean_object* v___x_16358_; lean_object* v_bs_x27_16359_; lean_object* v___x_16360_; size_t v___x_16361_; size_t v___x_16362_; lean_object* v___x_16363_; +v_v_16357_ = lean_array_uget(v_bs_16355_, v_i_16354_); +v___x_16358_ = lean_unsigned_to_nat(0u); +v_bs_x27_16359_ = lean_array_uset(v_bs_16355_, v_i_16354_, v___x_16358_); +lean_inc_ref(v___x_16352_); +v___x_16360_ = l_Lean_LocalContext_getFVar_x21(v___x_16352_, v_v_16357_); +lean_dec(v_v_16357_); +v___x_16361_ = ((size_t)1ULL); +v___x_16362_ = lean_usize_add(v_i_16354_, v___x_16361_); +v___x_16363_ = lean_array_uset(v_bs_x27_16359_, v_i_16354_, v___x_16360_); +v_i_16354_ = v___x_16362_; +v_bs_16355_ = v___x_16363_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1___boxed(lean_object* v___x_16362_, lean_object* v_sz_16363_, lean_object* v_i_16364_, lean_object* v_bs_16365_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1___boxed(lean_object* v___x_16365_, lean_object* v_sz_16366_, lean_object* v_i_16367_, lean_object* v_bs_16368_){ _start: { -size_t v_sz_boxed_16366_; size_t v_i_boxed_16367_; lean_object* v_res_16368_; -v_sz_boxed_16366_ = lean_unbox_usize(v_sz_16363_); -lean_dec(v_sz_16363_); -v_i_boxed_16367_ = lean_unbox_usize(v_i_16364_); -lean_dec(v_i_16364_); -v_res_16368_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(v___x_16362_, v_sz_boxed_16366_, v_i_boxed_16367_, v_bs_16365_); -return v_res_16368_; +size_t v_sz_boxed_16369_; size_t v_i_boxed_16370_; lean_object* v_res_16371_; +v_sz_boxed_16369_ = lean_unbox_usize(v_sz_16366_); +lean_dec(v_sz_16366_); +v_i_boxed_16370_ = lean_unbox_usize(v_i_16367_); +lean_dec(v_i_16367_); +v_res_16371_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(v___x_16365_, v_sz_boxed_16369_, v_i_boxed_16370_, v_bs_16368_); +return v_res_16371_; } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(lean_object* v_a_16369_, lean_object* v_x_16370_, lean_object* v_x_16371_, lean_object* v_x_16372_, lean_object* v___y_16373_, lean_object* v___y_16374_, lean_object* v___y_16375_, lean_object* v___y_16376_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(lean_object* v_a_16372_, lean_object* v_x_16373_, lean_object* v_x_16374_, lean_object* v_x_16375_, lean_object* v___y_16376_, lean_object* v___y_16377_, lean_object* v___y_16378_, lean_object* v___y_16379_){ _start: { -if (lean_obj_tag(v_x_16370_) == 5) +if (lean_obj_tag(v_x_16373_) == 5) { -lean_object* v_fn_16378_; lean_object* v_arg_16379_; lean_object* v___x_16380_; lean_object* v___x_16381_; lean_object* v___x_16382_; -v_fn_16378_ = lean_ctor_get(v_x_16370_, 0); -lean_inc_ref(v_fn_16378_); -v_arg_16379_ = lean_ctor_get(v_x_16370_, 1); -lean_inc_ref(v_arg_16379_); -lean_dec_ref(v_x_16370_); -v___x_16380_ = lean_array_set(v_x_16371_, v_x_16372_, v_arg_16379_); -v___x_16381_ = lean_unsigned_to_nat(1u); -v___x_16382_ = lean_nat_sub(v_x_16372_, v___x_16381_); -lean_dec(v_x_16372_); -v_x_16370_ = v_fn_16378_; -v_x_16371_ = v___x_16380_; -v_x_16372_ = v___x_16382_; +lean_object* v_fn_16381_; lean_object* v_arg_16382_; lean_object* v___x_16383_; lean_object* v___x_16384_; lean_object* v___x_16385_; +v_fn_16381_ = lean_ctor_get(v_x_16373_, 0); +lean_inc_ref(v_fn_16381_); +v_arg_16382_ = lean_ctor_get(v_x_16373_, 1); +lean_inc_ref(v_arg_16382_); +lean_dec_ref(v_x_16373_); +v___x_16383_ = lean_array_set(v_x_16374_, v_x_16375_, v_arg_16382_); +v___x_16384_ = lean_unsigned_to_nat(1u); +v___x_16385_ = lean_nat_sub(v_x_16375_, v___x_16384_); +lean_dec(v_x_16375_); +v_x_16373_ = v_fn_16381_; +v_x_16374_ = v___x_16383_; +v_x_16375_ = v___x_16385_; goto _start; } else { -lean_object* v_lctx_16384_; size_t v_sz_16385_; size_t v___x_16386_; lean_object* v___x_16387_; -lean_dec(v_x_16372_); -lean_dec_ref(v_x_16370_); -v_lctx_16384_ = lean_ctor_get(v___y_16373_, 2); -lean_inc_ref(v_lctx_16384_); -v_sz_16385_ = lean_array_size(v_x_16371_); -v___x_16386_ = ((size_t)0ULL); -v___x_16387_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(v_sz_16385_, v___x_16386_, v_x_16371_, v___y_16373_, v___y_16374_, v___y_16375_, v___y_16376_); -if (lean_obj_tag(v___x_16387_) == 0) +lean_object* v_lctx_16387_; size_t v_sz_16388_; size_t v___x_16389_; lean_object* v___x_16390_; +lean_dec(v_x_16375_); +lean_dec_ref(v_x_16373_); +v_lctx_16387_ = lean_ctor_get(v___y_16376_, 2); +lean_inc_ref(v_lctx_16387_); +v_sz_16388_ = lean_array_size(v_x_16374_); +v___x_16389_ = ((size_t)0ULL); +v___x_16390_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__0(v_sz_16388_, v___x_16389_, v_x_16374_, v___y_16376_, v___y_16377_, v___y_16378_, v___y_16379_); +if (lean_obj_tag(v___x_16390_) == 0) { -lean_object* v_a_16388_; lean_object* v___x_16390_; uint8_t v_isShared_16391_; uint8_t v_isSharedCheck_16401_; -v_a_16388_ = lean_ctor_get(v___x_16387_, 0); -v_isSharedCheck_16401_ = !lean_is_exclusive(v___x_16387_); -if (v_isSharedCheck_16401_ == 0) +lean_object* v_a_16391_; lean_object* v___x_16393_; uint8_t v_isShared_16394_; uint8_t v_isSharedCheck_16404_; +v_a_16391_ = lean_ctor_get(v___x_16390_, 0); +v_isSharedCheck_16404_ = !lean_is_exclusive(v___x_16390_); +if (v_isSharedCheck_16404_ == 0) { -v___x_16390_ = v___x_16387_; -v_isShared_16391_ = v_isSharedCheck_16401_; -goto v_resetjp_16389_; +v___x_16393_ = v___x_16390_; +v_isShared_16394_ = v_isSharedCheck_16404_; +goto v_resetjp_16392_; } else { -lean_inc(v_a_16388_); -lean_dec(v___x_16387_); -v___x_16390_ = lean_box(0); -v_isShared_16391_ = v_isSharedCheck_16401_; -goto v_resetjp_16389_; +lean_inc(v_a_16391_); +lean_dec(v___x_16390_); +v___x_16393_ = lean_box(0); +v_isShared_16394_ = v_isSharedCheck_16404_; +goto v_resetjp_16392_; } -v_resetjp_16389_: +v_resetjp_16392_: { -size_t v_sz_16392_; lean_object* v___x_16393_; lean_object* v___x_16394_; lean_object* v___x_16395_; lean_object* v___x_16396_; lean_object* v___x_16397_; lean_object* v___x_16399_; -v_sz_16392_ = lean_array_size(v_a_16369_); -v___x_16393_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(v_lctx_16384_, v_sz_16392_, v___x_16386_, v_a_16369_); -v___x_16394_ = lean_box(0); -v___x_16395_ = lean_array_to_list(v___x_16393_); -v___x_16396_ = lean_array_to_list(v_a_16388_); -v___x_16397_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_16397_, 0, v___x_16394_); -lean_ctor_set(v___x_16397_, 1, v___x_16395_); -lean_ctor_set(v___x_16397_, 2, v___x_16396_); -if (v_isShared_16391_ == 0) +size_t v_sz_16395_; lean_object* v___x_16396_; lean_object* v___x_16397_; lean_object* v___x_16398_; lean_object* v___x_16399_; lean_object* v___x_16400_; lean_object* v___x_16402_; +v_sz_16395_ = lean_array_size(v_a_16372_); +v___x_16396_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__1(v_lctx_16387_, v_sz_16395_, v___x_16389_, v_a_16372_); +v___x_16397_ = lean_box(0); +v___x_16398_ = lean_array_to_list(v___x_16396_); +v___x_16399_ = lean_array_to_list(v_a_16391_); +v___x_16400_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_16400_, 0, v___x_16397_); +lean_ctor_set(v___x_16400_, 1, v___x_16398_); +lean_ctor_set(v___x_16400_, 2, v___x_16399_); +if (v_isShared_16394_ == 0) { -lean_ctor_set(v___x_16390_, 0, v___x_16397_); -v___x_16399_ = v___x_16390_; -goto v_reusejp_16398_; +lean_ctor_set(v___x_16393_, 0, v___x_16400_); +v___x_16402_ = v___x_16393_; +goto v_reusejp_16401_; } else { -lean_object* v_reuseFailAlloc_16400_; -v_reuseFailAlloc_16400_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16400_, 0, v___x_16397_); -v___x_16399_ = v_reuseFailAlloc_16400_; -goto v_reusejp_16398_; +lean_object* v_reuseFailAlloc_16403_; +v_reuseFailAlloc_16403_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16403_, 0, v___x_16400_); +v___x_16402_ = v_reuseFailAlloc_16403_; +goto v_reusejp_16401_; } -v_reusejp_16398_: +v_reusejp_16401_: { -return v___x_16399_; +return v___x_16402_; } } } else { -lean_object* v_a_16402_; lean_object* v___x_16404_; uint8_t v_isShared_16405_; uint8_t v_isSharedCheck_16409_; -lean_dec_ref(v_lctx_16384_); -lean_dec_ref(v_a_16369_); -v_a_16402_ = lean_ctor_get(v___x_16387_, 0); -v_isSharedCheck_16409_ = !lean_is_exclusive(v___x_16387_); -if (v_isSharedCheck_16409_ == 0) +lean_object* v_a_16405_; lean_object* v___x_16407_; uint8_t v_isShared_16408_; uint8_t v_isSharedCheck_16412_; +lean_dec_ref(v_lctx_16387_); +lean_dec_ref(v_a_16372_); +v_a_16405_ = lean_ctor_get(v___x_16390_, 0); +v_isSharedCheck_16412_ = !lean_is_exclusive(v___x_16390_); +if (v_isSharedCheck_16412_ == 0) { -v___x_16404_ = v___x_16387_; -v_isShared_16405_ = v_isSharedCheck_16409_; -goto v_resetjp_16403_; +v___x_16407_ = v___x_16390_; +v_isShared_16408_ = v_isSharedCheck_16412_; +goto v_resetjp_16406_; } else { -lean_inc(v_a_16402_); -lean_dec(v___x_16387_); -v___x_16404_ = lean_box(0); -v_isShared_16405_ = v_isSharedCheck_16409_; -goto v_resetjp_16403_; +lean_inc(v_a_16405_); +lean_dec(v___x_16390_); +v___x_16407_ = lean_box(0); +v_isShared_16408_ = v_isSharedCheck_16412_; +goto v_resetjp_16406_; } -v_resetjp_16403_: +v_resetjp_16406_: { -lean_object* v___x_16407_; -if (v_isShared_16405_ == 0) +lean_object* v___x_16410_; +if (v_isShared_16408_ == 0) { -v___x_16407_ = v___x_16404_; -goto v_reusejp_16406_; +v___x_16410_ = v___x_16407_; +goto v_reusejp_16409_; } else { -lean_object* v_reuseFailAlloc_16408_; -v_reuseFailAlloc_16408_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16408_, 0, v_a_16402_); -v___x_16407_ = v_reuseFailAlloc_16408_; -goto v_reusejp_16406_; +lean_object* v_reuseFailAlloc_16411_; +v_reuseFailAlloc_16411_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16411_, 0, v_a_16405_); +v___x_16410_ = v_reuseFailAlloc_16411_; +goto v_reusejp_16409_; } -v_reusejp_16406_: +v_reusejp_16409_: { -return v___x_16407_; +return v___x_16410_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2___boxed(lean_object* v_a_16410_, lean_object* v_x_16411_, lean_object* v_x_16412_, lean_object* v_x_16413_, lean_object* v___y_16414_, lean_object* v___y_16415_, lean_object* v___y_16416_, lean_object* v___y_16417_, lean_object* v___y_16418_){ +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2___boxed(lean_object* v_a_16413_, lean_object* v_x_16414_, lean_object* v_x_16415_, lean_object* v_x_16416_, lean_object* v___y_16417_, lean_object* v___y_16418_, lean_object* v___y_16419_, lean_object* v___y_16420_, lean_object* v___y_16421_){ _start: { -lean_object* v_res_16419_; -v_res_16419_ = l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(v_a_16410_, v_x_16411_, v_x_16412_, v_x_16413_, v___y_16414_, v___y_16415_, v___y_16416_, v___y_16417_); -return v_res_16419_; +lean_object* v_res_16422_; +v_res_16422_ = l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(v_a_16413_, v_x_16414_, v_x_16415_, v_x_16416_, v___y_16417_, v___y_16418_, v___y_16419_, v___y_16420_); +return v_res_16422_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(lean_object* v_body_16420_, lean_object* v_as_16421_, size_t v_i_16422_, size_t v_stop_16423_, lean_object* v_b_16424_, lean_object* v___y_16425_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(lean_object* v_body_16423_, lean_object* v_as_16424_, size_t v_i_16425_, size_t v_stop_16426_, lean_object* v_b_16427_, lean_object* v___y_16428_){ _start: { -uint8_t v___x_16427_; -v___x_16427_ = lean_usize_dec_eq(v_i_16422_, v_stop_16423_); -if (v___x_16427_ == 0) +uint8_t v___x_16430_; +v___x_16430_ = lean_usize_dec_eq(v_i_16425_, v_stop_16426_); +if (v___x_16430_ == 0) { -lean_object* v___x_16428_; lean_object* v___x_16429_; lean_object* v___x_16430_; -v___x_16428_ = lean_array_uget_borrowed(v_as_16421_, v_i_16422_); -v___x_16429_ = l_Lean_Expr_fvarId_x21(v___x_16428_); -lean_inc_ref(v_body_16420_); -v___x_16430_ = l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg(v_body_16420_, v___x_16429_, v___y_16425_); -if (lean_obj_tag(v___x_16430_) == 0) +lean_object* v___x_16431_; lean_object* v___x_16432_; lean_object* v___x_16433_; +v___x_16431_ = lean_array_uget_borrowed(v_as_16424_, v_i_16425_); +v___x_16432_ = l_Lean_Expr_fvarId_x21(v___x_16431_); +lean_inc_ref(v_body_16423_); +v___x_16433_ = l_Lean_exprDependsOn___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f_go_spec__0___redArg(v_body_16423_, v___x_16432_, v___y_16428_); +if (lean_obj_tag(v___x_16433_) == 0) { -lean_object* v_a_16431_; lean_object* v_a_16433_; uint8_t v___x_16437_; -v_a_16431_ = lean_ctor_get(v___x_16430_, 0); -lean_inc(v_a_16431_); -lean_dec_ref(v___x_16430_); -v___x_16437_ = lean_unbox(v_a_16431_); -lean_dec(v_a_16431_); -if (v___x_16437_ == 0) +lean_object* v_a_16434_; lean_object* v_a_16436_; uint8_t v___x_16440_; +v_a_16434_ = lean_ctor_get(v___x_16433_, 0); +lean_inc(v_a_16434_); +lean_dec_ref(v___x_16433_); +v___x_16440_ = lean_unbox(v_a_16434_); +lean_dec(v_a_16434_); +if (v___x_16440_ == 0) { -v_a_16433_ = v_b_16424_; -goto v___jp_16432_; +v_a_16436_ = v_b_16427_; +goto v___jp_16435_; } else { -lean_object* v___x_16438_; -lean_inc(v___x_16428_); -v___x_16438_ = lean_array_push(v_b_16424_, v___x_16428_); -v_a_16433_ = v___x_16438_; -goto v___jp_16432_; +lean_object* v___x_16441_; +lean_inc(v___x_16431_); +v___x_16441_ = lean_array_push(v_b_16427_, v___x_16431_); +v_a_16436_ = v___x_16441_; +goto v___jp_16435_; } -v___jp_16432_: +v___jp_16435_: { -size_t v___x_16434_; size_t v___x_16435_; -v___x_16434_ = ((size_t)1ULL); -v___x_16435_ = lean_usize_add(v_i_16422_, v___x_16434_); -v_i_16422_ = v___x_16435_; -v_b_16424_ = v_a_16433_; +size_t v___x_16437_; size_t v___x_16438_; +v___x_16437_ = ((size_t)1ULL); +v___x_16438_ = lean_usize_add(v_i_16425_, v___x_16437_); +v_i_16425_ = v___x_16438_; +v_b_16427_ = v_a_16436_; goto _start; } } else { -lean_object* v_a_16439_; lean_object* v___x_16441_; uint8_t v_isShared_16442_; uint8_t v_isSharedCheck_16446_; -lean_dec_ref(v_b_16424_); -lean_dec_ref(v_body_16420_); -v_a_16439_ = lean_ctor_get(v___x_16430_, 0); -v_isSharedCheck_16446_ = !lean_is_exclusive(v___x_16430_); -if (v_isSharedCheck_16446_ == 0) +lean_object* v_a_16442_; lean_object* v___x_16444_; uint8_t v_isShared_16445_; uint8_t v_isSharedCheck_16449_; +lean_dec_ref(v_b_16427_); +lean_dec_ref(v_body_16423_); +v_a_16442_ = lean_ctor_get(v___x_16433_, 0); +v_isSharedCheck_16449_ = !lean_is_exclusive(v___x_16433_); +if (v_isSharedCheck_16449_ == 0) { -v___x_16441_ = v___x_16430_; -v_isShared_16442_ = v_isSharedCheck_16446_; -goto v_resetjp_16440_; +v___x_16444_ = v___x_16433_; +v_isShared_16445_ = v_isSharedCheck_16449_; +goto v_resetjp_16443_; } else { -lean_inc(v_a_16439_); -lean_dec(v___x_16430_); -v___x_16441_ = lean_box(0); -v_isShared_16442_ = v_isSharedCheck_16446_; -goto v_resetjp_16440_; +lean_inc(v_a_16442_); +lean_dec(v___x_16433_); +v___x_16444_ = lean_box(0); +v_isShared_16445_ = v_isSharedCheck_16449_; +goto v_resetjp_16443_; } -v_resetjp_16440_: -{ -lean_object* v___x_16444_; -if (v_isShared_16442_ == 0) -{ -v___x_16444_ = v___x_16441_; -goto v_reusejp_16443_; -} -else -{ -lean_object* v_reuseFailAlloc_16445_; -v_reuseFailAlloc_16445_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16445_, 0, v_a_16439_); -v___x_16444_ = v_reuseFailAlloc_16445_; -goto v_reusejp_16443_; -} -v_reusejp_16443_: -{ -return v___x_16444_; -} -} -} -} -else +v_resetjp_16443_: { lean_object* v___x_16447_; -lean_dec_ref(v_body_16420_); -v___x_16447_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16447_, 0, v_b_16424_); +if (v_isShared_16445_ == 0) +{ +v___x_16447_ = v___x_16444_; +goto v_reusejp_16446_; +} +else +{ +lean_object* v_reuseFailAlloc_16448_; +v_reuseFailAlloc_16448_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16448_, 0, v_a_16442_); +v___x_16447_ = v_reuseFailAlloc_16448_; +goto v_reusejp_16446_; +} +v_reusejp_16446_: +{ return v___x_16447_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg___boxed(lean_object* v_body_16448_, lean_object* v_as_16449_, lean_object* v_i_16450_, lean_object* v_stop_16451_, lean_object* v_b_16452_, lean_object* v___y_16453_, lean_object* v___y_16454_){ +} +else +{ +lean_object* v___x_16450_; +lean_dec_ref(v_body_16423_); +v___x_16450_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16450_, 0, v_b_16427_); +return v___x_16450_; +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg___boxed(lean_object* v_body_16451_, lean_object* v_as_16452_, lean_object* v_i_16453_, lean_object* v_stop_16454_, lean_object* v_b_16455_, lean_object* v___y_16456_, lean_object* v___y_16457_){ _start: { -size_t v_i_boxed_16455_; size_t v_stop_boxed_16456_; lean_object* v_res_16457_; -v_i_boxed_16455_ = lean_unbox_usize(v_i_16450_); -lean_dec(v_i_16450_); -v_stop_boxed_16456_ = lean_unbox_usize(v_stop_16451_); -lean_dec(v_stop_16451_); -v_res_16457_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16448_, v_as_16449_, v_i_boxed_16455_, v_stop_boxed_16456_, v_b_16452_, v___y_16453_); -lean_dec(v___y_16453_); -lean_dec_ref(v_as_16449_); -return v_res_16457_; +size_t v_i_boxed_16458_; size_t v_stop_boxed_16459_; lean_object* v_res_16460_; +v_i_boxed_16458_ = lean_unbox_usize(v_i_16453_); +lean_dec(v_i_16453_); +v_stop_boxed_16459_ = lean_unbox_usize(v_stop_16454_); +lean_dec(v_stop_16454_); +v_res_16460_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16451_, v_as_16452_, v_i_boxed_16458_, v_stop_boxed_16459_, v_b_16455_, v___y_16456_); +lean_dec(v___y_16456_); +lean_dec_ref(v_as_16452_); +return v_res_16460_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0(void){ _start: { -lean_object* v___x_16458_; lean_object* v_dummy_16459_; -v___x_16458_ = lean_box(0); -v_dummy_16459_ = l_Lean_Expr_sort___override(v___x_16458_); -return v_dummy_16459_; +lean_object* v___x_16461_; lean_object* v_dummy_16462_; +v___x_16461_ = lean_box(0); +v_dummy_16462_ = l_Lean_Expr_sort___override(v___x_16461_); +return v_dummy_16462_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0(lean_object* v_xs_16460_, lean_object* v_body_16461_, lean_object* v___y_16462_, lean_object* v___y_16463_, lean_object* v___y_16464_, lean_object* v___y_16465_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0(lean_object* v_xs_16463_, lean_object* v_body_16464_, lean_object* v___y_16465_, lean_object* v___y_16466_, lean_object* v___y_16467_, lean_object* v___y_16468_){ _start: { -lean_object* v_a_16468_; lean_object* v___y_16476_; lean_object* v___x_16486_; lean_object* v___x_16487_; lean_object* v___x_16488_; uint8_t v___x_16489_; -v___x_16486_ = lean_unsigned_to_nat(0u); -v___x_16487_ = lean_array_get_size(v_xs_16460_); -v___x_16488_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs___redArg___closed__0)); -v___x_16489_ = lean_nat_dec_lt(v___x_16486_, v___x_16487_); -if (v___x_16489_ == 0) +lean_object* v_a_16471_; lean_object* v___y_16479_; lean_object* v___x_16489_; lean_object* v___x_16490_; lean_object* v___x_16491_; uint8_t v___x_16492_; +v___x_16489_ = lean_unsigned_to_nat(0u); +v___x_16490_ = lean_array_get_size(v_xs_16463_); +v___x_16491_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withEqs___redArg___closed__0)); +v___x_16492_ = lean_nat_dec_lt(v___x_16489_, v___x_16490_); +if (v___x_16492_ == 0) { -v_a_16468_ = v___x_16488_; -goto v___jp_16467_; +v_a_16471_ = v___x_16491_; +goto v___jp_16470_; } else { -uint8_t v___x_16490_; -v___x_16490_ = lean_nat_dec_le(v___x_16487_, v___x_16487_); -if (v___x_16490_ == 0) +uint8_t v___x_16493_; +v___x_16493_ = lean_nat_dec_le(v___x_16490_, v___x_16490_); +if (v___x_16493_ == 0) { -if (v___x_16489_ == 0) +if (v___x_16492_ == 0) { -v_a_16468_ = v___x_16488_; -goto v___jp_16467_; -} -else -{ -size_t v___x_16491_; size_t v___x_16492_; lean_object* v___x_16493_; -v___x_16491_ = ((size_t)0ULL); -v___x_16492_ = lean_usize_of_nat(v___x_16487_); -lean_inc_ref(v_body_16461_); -v___x_16493_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16461_, v_xs_16460_, v___x_16491_, v___x_16492_, v___x_16488_, v___y_16463_); -v___y_16476_ = v___x_16493_; -goto v___jp_16475_; -} +v_a_16471_ = v___x_16491_; +goto v___jp_16470_; } else { size_t v___x_16494_; size_t v___x_16495_; lean_object* v___x_16496_; v___x_16494_ = ((size_t)0ULL); -v___x_16495_ = lean_usize_of_nat(v___x_16487_); -lean_inc_ref(v_body_16461_); -v___x_16496_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16461_, v_xs_16460_, v___x_16494_, v___x_16495_, v___x_16488_, v___y_16463_); -v___y_16476_ = v___x_16496_; -goto v___jp_16475_; +v___x_16495_ = lean_usize_of_nat(v___x_16490_); +lean_inc_ref(v_body_16464_); +v___x_16496_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16464_, v_xs_16463_, v___x_16494_, v___x_16495_, v___x_16491_, v___y_16466_); +v___y_16479_ = v___x_16496_; +goto v___jp_16478_; } } -v___jp_16467_: -{ -lean_object* v_dummy_16469_; lean_object* v_nargs_16470_; lean_object* v___x_16471_; lean_object* v___x_16472_; lean_object* v___x_16473_; lean_object* v___x_16474_; -v_dummy_16469_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); -v_nargs_16470_ = l_Lean_Expr_getAppNumArgs(v_body_16461_); -lean_inc(v_nargs_16470_); -v___x_16471_ = lean_mk_array(v_nargs_16470_, v_dummy_16469_); -v___x_16472_ = lean_unsigned_to_nat(1u); -v___x_16473_ = lean_nat_sub(v_nargs_16470_, v___x_16472_); -lean_dec(v_nargs_16470_); -v___x_16474_ = l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(v_a_16468_, v_body_16461_, v___x_16471_, v___x_16473_, v___y_16462_, v___y_16463_, v___y_16464_, v___y_16465_); -return v___x_16474_; -} -v___jp_16475_: -{ -if (lean_obj_tag(v___y_16476_) == 0) -{ -lean_object* v_a_16477_; -v_a_16477_ = lean_ctor_get(v___y_16476_, 0); -lean_inc(v_a_16477_); -lean_dec_ref(v___y_16476_); -v_a_16468_ = v_a_16477_; -goto v___jp_16467_; -} else { -lean_object* v_a_16478_; lean_object* v___x_16480_; uint8_t v_isShared_16481_; uint8_t v_isSharedCheck_16485_; -lean_dec(v___y_16465_); -lean_dec_ref(v___y_16464_); -lean_dec(v___y_16463_); -lean_dec_ref(v___y_16462_); -lean_dec_ref(v_body_16461_); -v_a_16478_ = lean_ctor_get(v___y_16476_, 0); -v_isSharedCheck_16485_ = !lean_is_exclusive(v___y_16476_); -if (v_isSharedCheck_16485_ == 0) +size_t v___x_16497_; size_t v___x_16498_; lean_object* v___x_16499_; +v___x_16497_ = ((size_t)0ULL); +v___x_16498_ = lean_usize_of_nat(v___x_16490_); +lean_inc_ref(v_body_16464_); +v___x_16499_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16464_, v_xs_16463_, v___x_16497_, v___x_16498_, v___x_16491_, v___y_16466_); +v___y_16479_ = v___x_16499_; +goto v___jp_16478_; +} +} +v___jp_16470_: { -v___x_16480_ = v___y_16476_; -v_isShared_16481_ = v_isSharedCheck_16485_; -goto v_resetjp_16479_; +lean_object* v_dummy_16472_; lean_object* v_nargs_16473_; lean_object* v___x_16474_; lean_object* v___x_16475_; lean_object* v___x_16476_; lean_object* v___x_16477_; +v_dummy_16472_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); +v_nargs_16473_ = l_Lean_Expr_getAppNumArgs(v_body_16464_); +lean_inc(v_nargs_16473_); +v___x_16474_ = lean_mk_array(v_nargs_16473_, v_dummy_16472_); +v___x_16475_ = lean_unsigned_to_nat(1u); +v___x_16476_ = lean_nat_sub(v_nargs_16473_, v___x_16475_); +lean_dec(v_nargs_16473_); +v___x_16477_ = l_Lean_Expr_withAppAux___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__2(v_a_16471_, v_body_16464_, v___x_16474_, v___x_16476_, v___y_16465_, v___y_16466_, v___y_16467_, v___y_16468_); +return v___x_16477_; +} +v___jp_16478_: +{ +if (lean_obj_tag(v___y_16479_) == 0) +{ +lean_object* v_a_16480_; +v_a_16480_ = lean_ctor_get(v___y_16479_, 0); +lean_inc(v_a_16480_); +lean_dec_ref(v___y_16479_); +v_a_16471_ = v_a_16480_; +goto v___jp_16470_; } else { -lean_inc(v_a_16478_); -lean_dec(v___y_16476_); -v___x_16480_ = lean_box(0); -v_isShared_16481_ = v_isSharedCheck_16485_; -goto v_resetjp_16479_; -} -v_resetjp_16479_: +lean_object* v_a_16481_; lean_object* v___x_16483_; uint8_t v_isShared_16484_; uint8_t v_isSharedCheck_16488_; +lean_dec(v___y_16468_); +lean_dec_ref(v___y_16467_); +lean_dec(v___y_16466_); +lean_dec_ref(v___y_16465_); +lean_dec_ref(v_body_16464_); +v_a_16481_ = lean_ctor_get(v___y_16479_, 0); +v_isSharedCheck_16488_ = !lean_is_exclusive(v___y_16479_); +if (v_isSharedCheck_16488_ == 0) { -lean_object* v___x_16483_; -if (v_isShared_16481_ == 0) -{ -v___x_16483_ = v___x_16480_; -goto v_reusejp_16482_; +v___x_16483_ = v___y_16479_; +v_isShared_16484_ = v_isSharedCheck_16488_; +goto v_resetjp_16482_; } else { -lean_object* v_reuseFailAlloc_16484_; -v_reuseFailAlloc_16484_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16484_, 0, v_a_16478_); -v___x_16483_ = v_reuseFailAlloc_16484_; -goto v_reusejp_16482_; +lean_inc(v_a_16481_); +lean_dec(v___y_16479_); +v___x_16483_ = lean_box(0); +v_isShared_16484_ = v_isSharedCheck_16488_; +goto v_resetjp_16482_; } -v_reusejp_16482_: +v_resetjp_16482_: { -return v___x_16483_; +lean_object* v___x_16486_; +if (v_isShared_16484_ == 0) +{ +v___x_16486_ = v___x_16483_; +goto v_reusejp_16485_; +} +else +{ +lean_object* v_reuseFailAlloc_16487_; +v_reuseFailAlloc_16487_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16487_, 0, v_a_16481_); +v___x_16486_ = v_reuseFailAlloc_16487_; +goto v_reusejp_16485_; +} +v_reusejp_16485_: +{ +return v___x_16486_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___boxed(lean_object* v_xs_16497_, lean_object* v_body_16498_, lean_object* v___y_16499_, lean_object* v___y_16500_, lean_object* v___y_16501_, lean_object* v___y_16502_, lean_object* v___y_16503_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___boxed(lean_object* v_xs_16500_, lean_object* v_body_16501_, lean_object* v___y_16502_, lean_object* v___y_16503_, lean_object* v___y_16504_, lean_object* v___y_16505_, lean_object* v___y_16506_){ _start: { -lean_object* v_res_16504_; -v_res_16504_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0(v_xs_16497_, v_body_16498_, v___y_16499_, v___y_16500_, v___y_16501_, v___y_16502_); -lean_dec_ref(v_xs_16497_); -return v_res_16504_; +lean_object* v_res_16507_; +v_res_16507_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0(v_xs_16500_, v_body_16501_, v___y_16502_, v___y_16503_, v___y_16504_, v___y_16505_); +lean_dec_ref(v_xs_16500_); +return v_res_16507_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(uint8_t v_unfoldNamed_16506_, size_t v_sz_16507_, size_t v_i_16508_, lean_object* v_bs_16509_, lean_object* v___y_16510_, lean_object* v___y_16511_, lean_object* v___y_16512_, lean_object* v___y_16513_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(uint8_t v_unfoldNamed_16509_, size_t v_sz_16510_, size_t v_i_16511_, lean_object* v_bs_16512_, lean_object* v___y_16513_, lean_object* v___y_16514_, lean_object* v___y_16515_, lean_object* v___y_16516_){ _start: { -uint8_t v___x_16515_; -v___x_16515_ = lean_usize_dec_lt(v_i_16508_, v_sz_16507_); -if (v___x_16515_ == 0) +uint8_t v___x_16518_; +v___x_16518_ = lean_usize_dec_lt(v_i_16511_, v_sz_16510_); +if (v___x_16518_ == 0) { -lean_object* v___x_16516_; -lean_dec(v___y_16513_); -lean_dec_ref(v___y_16512_); -lean_dec(v___y_16511_); -lean_dec_ref(v___y_16510_); -v___x_16516_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16516_, 0, v_bs_16509_); -return v___x_16516_; +lean_object* v___x_16519_; +lean_dec(v___y_16516_); +lean_dec_ref(v___y_16515_); +lean_dec(v___y_16514_); +lean_dec_ref(v___y_16513_); +v___x_16519_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16519_, 0, v_bs_16512_); +return v___x_16519_; } else { -lean_object* v_v_16517_; lean_object* v___x_16518_; -v_v_16517_ = lean_array_uget_borrowed(v_bs_16509_, v_i_16508_); -lean_inc(v___y_16513_); -lean_inc_ref(v___y_16512_); -lean_inc(v___y_16511_); -lean_inc_ref(v___y_16510_); -lean_inc(v_v_16517_); -v___x_16518_ = lean_infer_type(v_v_16517_, v___y_16510_, v___y_16511_, v___y_16512_, v___y_16513_); -if (lean_obj_tag(v___x_16518_) == 0) +lean_object* v_v_16520_; lean_object* v___x_16521_; +v_v_16520_ = lean_array_uget_borrowed(v_bs_16512_, v_i_16511_); +lean_inc(v___y_16516_); +lean_inc_ref(v___y_16515_); +lean_inc(v___y_16514_); +lean_inc_ref(v___y_16513_); +lean_inc(v_v_16520_); +v___x_16521_ = lean_infer_type(v_v_16520_, v___y_16513_, v___y_16514_, v___y_16515_, v___y_16516_); +if (lean_obj_tag(v___x_16521_) == 0) { -lean_object* v_a_16519_; lean_object* v___f_16520_; uint8_t v___x_16521_; lean_object* v___x_16522_; lean_object* v_bs_x27_16523_; lean_object* v___y_16525_; -v_a_16519_ = lean_ctor_get(v___x_16518_, 0); -lean_inc(v_a_16519_); -lean_dec_ref(v___x_16518_); -v___f_16520_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___closed__0)); -v___x_16521_ = 0; -v___x_16522_ = lean_unsigned_to_nat(0u); -v_bs_x27_16523_ = lean_array_uset(v_bs_16509_, v_i_16508_, v___x_16522_); -if (v_unfoldNamed_16506_ == 0) +lean_object* v_a_16522_; lean_object* v___f_16523_; uint8_t v___x_16524_; lean_object* v___x_16525_; lean_object* v_bs_x27_16526_; lean_object* v___y_16528_; +v_a_16522_ = lean_ctor_get(v___x_16521_, 0); +lean_inc(v_a_16522_); +lean_dec_ref(v___x_16521_); +v___f_16523_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___closed__0)); +v___x_16524_ = 0; +v___x_16525_ = lean_unsigned_to_nat(0u); +v_bs_x27_16526_ = lean_array_uset(v_bs_16512_, v_i_16511_, v___x_16525_); +if (v_unfoldNamed_16509_ == 0) { -lean_object* v___x_16539_; -lean_inc(v___y_16513_); -lean_inc_ref(v___y_16512_); -lean_inc(v___y_16511_); -lean_inc_ref(v___y_16510_); -v___x_16539_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_a_16519_, v___f_16520_, v___x_16521_, v___y_16510_, v___y_16511_, v___y_16512_, v___y_16513_); -v___y_16525_ = v___x_16539_; -goto v___jp_16524_; +lean_object* v___x_16542_; +lean_inc(v___y_16516_); +lean_inc_ref(v___y_16515_); +lean_inc(v___y_16514_); +lean_inc_ref(v___y_16513_); +v___x_16542_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_a_16522_, v___f_16523_, v___x_16524_, v___y_16513_, v___y_16514_, v___y_16515_, v___y_16516_); +v___y_16528_ = v___x_16542_; +goto v___jp_16527_; } else { -lean_object* v___x_16540_; -lean_inc(v___y_16513_); -lean_inc_ref(v___y_16512_); -lean_inc(v___y_16511_); -lean_inc_ref(v___y_16510_); -v___x_16540_ = l_Lean_Meta_Match_unfoldNamedPattern(v_a_16519_, v___y_16510_, v___y_16511_, v___y_16512_, v___y_16513_); -if (lean_obj_tag(v___x_16540_) == 0) +lean_object* v___x_16543_; +lean_inc(v___y_16516_); +lean_inc_ref(v___y_16515_); +lean_inc(v___y_16514_); +lean_inc_ref(v___y_16513_); +v___x_16543_ = l_Lean_Meta_Match_unfoldNamedPattern(v_a_16522_, v___y_16513_, v___y_16514_, v___y_16515_, v___y_16516_); +if (lean_obj_tag(v___x_16543_) == 0) { -lean_object* v_a_16541_; lean_object* v___x_16542_; -v_a_16541_ = lean_ctor_get(v___x_16540_, 0); -lean_inc(v_a_16541_); -lean_dec_ref(v___x_16540_); -lean_inc(v___y_16513_); -lean_inc_ref(v___y_16512_); -lean_inc(v___y_16511_); -lean_inc_ref(v___y_16510_); -v___x_16542_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_a_16541_, v___f_16520_, v___x_16521_, v___y_16510_, v___y_16511_, v___y_16512_, v___y_16513_); -v___y_16525_ = v___x_16542_; -goto v___jp_16524_; +lean_object* v_a_16544_; lean_object* v___x_16545_; +v_a_16544_ = lean_ctor_get(v___x_16543_, 0); +lean_inc(v_a_16544_); +lean_dec_ref(v___x_16543_); +lean_inc(v___y_16516_); +lean_inc_ref(v___y_16515_); +lean_inc(v___y_16514_); +lean_inc_ref(v___y_16513_); +v___x_16545_ = l_Lean_Meta_forallTelescope___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__6___redArg(v_a_16544_, v___f_16523_, v___x_16524_, v___y_16513_, v___y_16514_, v___y_16515_, v___y_16516_); +v___y_16528_ = v___x_16545_; +goto v___jp_16527_; } else { -lean_object* v_a_16543_; lean_object* v___x_16545_; uint8_t v_isShared_16546_; uint8_t v_isSharedCheck_16550_; -lean_dec_ref(v_bs_x27_16523_); -lean_dec(v___y_16513_); -lean_dec_ref(v___y_16512_); -lean_dec(v___y_16511_); -lean_dec_ref(v___y_16510_); -v_a_16543_ = lean_ctor_get(v___x_16540_, 0); -v_isSharedCheck_16550_ = !lean_is_exclusive(v___x_16540_); -if (v_isSharedCheck_16550_ == 0) +lean_object* v_a_16546_; lean_object* v___x_16548_; uint8_t v_isShared_16549_; uint8_t v_isSharedCheck_16553_; +lean_dec_ref(v_bs_x27_16526_); +lean_dec(v___y_16516_); +lean_dec_ref(v___y_16515_); +lean_dec(v___y_16514_); +lean_dec_ref(v___y_16513_); +v_a_16546_ = lean_ctor_get(v___x_16543_, 0); +v_isSharedCheck_16553_ = !lean_is_exclusive(v___x_16543_); +if (v_isSharedCheck_16553_ == 0) { -v___x_16545_ = v___x_16540_; -v_isShared_16546_ = v_isSharedCheck_16550_; -goto v_resetjp_16544_; +v___x_16548_ = v___x_16543_; +v_isShared_16549_ = v_isSharedCheck_16553_; +goto v_resetjp_16547_; } else { -lean_inc(v_a_16543_); -lean_dec(v___x_16540_); -v___x_16545_ = lean_box(0); -v_isShared_16546_ = v_isSharedCheck_16550_; -goto v_resetjp_16544_; +lean_inc(v_a_16546_); +lean_dec(v___x_16543_); +v___x_16548_ = lean_box(0); +v_isShared_16549_ = v_isSharedCheck_16553_; +goto v_resetjp_16547_; } -v_resetjp_16544_: +v_resetjp_16547_: { -lean_object* v___x_16548_; -if (v_isShared_16546_ == 0) +lean_object* v___x_16551_; +if (v_isShared_16549_ == 0) { -v___x_16548_ = v___x_16545_; -goto v_reusejp_16547_; +v___x_16551_ = v___x_16548_; +goto v_reusejp_16550_; } else { -lean_object* v_reuseFailAlloc_16549_; -v_reuseFailAlloc_16549_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16549_, 0, v_a_16543_); -v___x_16548_ = v_reuseFailAlloc_16549_; -goto v_reusejp_16547_; +lean_object* v_reuseFailAlloc_16552_; +v_reuseFailAlloc_16552_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16552_, 0, v_a_16546_); +v___x_16551_ = v_reuseFailAlloc_16552_; +goto v_reusejp_16550_; } -v_reusejp_16547_: +v_reusejp_16550_: { -return v___x_16548_; +return v___x_16551_; } } } } -v___jp_16524_: +v___jp_16527_: { -if (lean_obj_tag(v___y_16525_) == 0) +if (lean_obj_tag(v___y_16528_) == 0) { -lean_object* v_a_16526_; size_t v___x_16527_; size_t v___x_16528_; lean_object* v___x_16529_; -v_a_16526_ = lean_ctor_get(v___y_16525_, 0); -lean_inc(v_a_16526_); -lean_dec_ref(v___y_16525_); -v___x_16527_ = ((size_t)1ULL); -v___x_16528_ = lean_usize_add(v_i_16508_, v___x_16527_); -v___x_16529_ = lean_array_uset(v_bs_x27_16523_, v_i_16508_, v_a_16526_); -v_i_16508_ = v___x_16528_; -v_bs_16509_ = v___x_16529_; +lean_object* v_a_16529_; size_t v___x_16530_; size_t v___x_16531_; lean_object* v___x_16532_; +v_a_16529_ = lean_ctor_get(v___y_16528_, 0); +lean_inc(v_a_16529_); +lean_dec_ref(v___y_16528_); +v___x_16530_ = ((size_t)1ULL); +v___x_16531_ = lean_usize_add(v_i_16511_, v___x_16530_); +v___x_16532_ = lean_array_uset(v_bs_x27_16526_, v_i_16511_, v_a_16529_); +v_i_16511_ = v___x_16531_; +v_bs_16512_ = v___x_16532_; goto _start; } else { -lean_object* v_a_16531_; lean_object* v___x_16533_; uint8_t v_isShared_16534_; uint8_t v_isSharedCheck_16538_; -lean_dec_ref(v_bs_x27_16523_); -lean_dec(v___y_16513_); -lean_dec_ref(v___y_16512_); -lean_dec(v___y_16511_); -lean_dec_ref(v___y_16510_); -v_a_16531_ = lean_ctor_get(v___y_16525_, 0); -v_isSharedCheck_16538_ = !lean_is_exclusive(v___y_16525_); -if (v_isSharedCheck_16538_ == 0) +lean_object* v_a_16534_; lean_object* v___x_16536_; uint8_t v_isShared_16537_; uint8_t v_isSharedCheck_16541_; +lean_dec_ref(v_bs_x27_16526_); +lean_dec(v___y_16516_); +lean_dec_ref(v___y_16515_); +lean_dec(v___y_16514_); +lean_dec_ref(v___y_16513_); +v_a_16534_ = lean_ctor_get(v___y_16528_, 0); +v_isSharedCheck_16541_ = !lean_is_exclusive(v___y_16528_); +if (v_isSharedCheck_16541_ == 0) { -v___x_16533_ = v___y_16525_; -v_isShared_16534_ = v_isSharedCheck_16538_; -goto v_resetjp_16532_; +v___x_16536_ = v___y_16528_; +v_isShared_16537_ = v_isSharedCheck_16541_; +goto v_resetjp_16535_; } else { -lean_inc(v_a_16531_); -lean_dec(v___y_16525_); -v___x_16533_ = lean_box(0); -v_isShared_16534_ = v_isSharedCheck_16538_; -goto v_resetjp_16532_; +lean_inc(v_a_16534_); +lean_dec(v___y_16528_); +v___x_16536_ = lean_box(0); +v_isShared_16537_ = v_isSharedCheck_16541_; +goto v_resetjp_16535_; } -v_resetjp_16532_: +v_resetjp_16535_: { -lean_object* v___x_16536_; -if (v_isShared_16534_ == 0) +lean_object* v___x_16539_; +if (v_isShared_16537_ == 0) { -v___x_16536_ = v___x_16533_; -goto v_reusejp_16535_; +v___x_16539_ = v___x_16536_; +goto v_reusejp_16538_; } else { -lean_object* v_reuseFailAlloc_16537_; -v_reuseFailAlloc_16537_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16537_, 0, v_a_16531_); -v___x_16536_ = v_reuseFailAlloc_16537_; -goto v_reusejp_16535_; +lean_object* v_reuseFailAlloc_16540_; +v_reuseFailAlloc_16540_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16540_, 0, v_a_16534_); +v___x_16539_ = v_reuseFailAlloc_16540_; +goto v_reusejp_16538_; } -v_reusejp_16535_: +v_reusejp_16538_: { -return v___x_16536_; +return v___x_16539_; } } } @@ -55271,761 +55288,761 @@ return v___x_16536_; } else { -lean_object* v_a_16551_; lean_object* v___x_16553_; uint8_t v_isShared_16554_; uint8_t v_isSharedCheck_16558_; -lean_dec(v___y_16513_); -lean_dec_ref(v___y_16512_); -lean_dec(v___y_16511_); -lean_dec_ref(v___y_16510_); -lean_dec_ref(v_bs_16509_); -v_a_16551_ = lean_ctor_get(v___x_16518_, 0); -v_isSharedCheck_16558_ = !lean_is_exclusive(v___x_16518_); -if (v_isSharedCheck_16558_ == 0) +lean_object* v_a_16554_; lean_object* v___x_16556_; uint8_t v_isShared_16557_; uint8_t v_isSharedCheck_16561_; +lean_dec(v___y_16516_); +lean_dec_ref(v___y_16515_); +lean_dec(v___y_16514_); +lean_dec_ref(v___y_16513_); +lean_dec_ref(v_bs_16512_); +v_a_16554_ = lean_ctor_get(v___x_16521_, 0); +v_isSharedCheck_16561_ = !lean_is_exclusive(v___x_16521_); +if (v_isSharedCheck_16561_ == 0) { -v___x_16553_ = v___x_16518_; -v_isShared_16554_ = v_isSharedCheck_16558_; -goto v_resetjp_16552_; +v___x_16556_ = v___x_16521_; +v_isShared_16557_ = v_isSharedCheck_16561_; +goto v_resetjp_16555_; } else { -lean_inc(v_a_16551_); -lean_dec(v___x_16518_); -v___x_16553_ = lean_box(0); -v_isShared_16554_ = v_isSharedCheck_16558_; -goto v_resetjp_16552_; +lean_inc(v_a_16554_); +lean_dec(v___x_16521_); +v___x_16556_ = lean_box(0); +v_isShared_16557_ = v_isSharedCheck_16561_; +goto v_resetjp_16555_; } -v_resetjp_16552_: +v_resetjp_16555_: { -lean_object* v___x_16556_; -if (v_isShared_16554_ == 0) +lean_object* v___x_16559_; +if (v_isShared_16557_ == 0) { -v___x_16556_ = v___x_16553_; -goto v_reusejp_16555_; +v___x_16559_ = v___x_16556_; +goto v_reusejp_16558_; } else { -lean_object* v_reuseFailAlloc_16557_; -v_reuseFailAlloc_16557_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16557_, 0, v_a_16551_); -v___x_16556_ = v_reuseFailAlloc_16557_; -goto v_reusejp_16555_; +lean_object* v_reuseFailAlloc_16560_; +v_reuseFailAlloc_16560_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16560_, 0, v_a_16554_); +v___x_16559_ = v_reuseFailAlloc_16560_; +goto v_reusejp_16558_; } -v_reusejp_16555_: +v_reusejp_16558_: { -return v___x_16556_; +return v___x_16559_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___boxed(lean_object* v_unfoldNamed_16559_, lean_object* v_sz_16560_, lean_object* v_i_16561_, lean_object* v_bs_16562_, lean_object* v___y_16563_, lean_object* v___y_16564_, lean_object* v___y_16565_, lean_object* v___y_16566_, lean_object* v___y_16567_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___boxed(lean_object* v_unfoldNamed_16562_, lean_object* v_sz_16563_, lean_object* v_i_16564_, lean_object* v_bs_16565_, lean_object* v___y_16566_, lean_object* v___y_16567_, lean_object* v___y_16568_, lean_object* v___y_16569_, lean_object* v___y_16570_){ _start: { -uint8_t v_unfoldNamed_boxed_16568_; size_t v_sz_boxed_16569_; size_t v_i_boxed_16570_; lean_object* v_res_16571_; -v_unfoldNamed_boxed_16568_ = lean_unbox(v_unfoldNamed_16559_); -v_sz_boxed_16569_ = lean_unbox_usize(v_sz_16560_); -lean_dec(v_sz_16560_); -v_i_boxed_16570_ = lean_unbox_usize(v_i_16561_); -lean_dec(v_i_16561_); -v_res_16571_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(v_unfoldNamed_boxed_16568_, v_sz_boxed_16569_, v_i_boxed_16570_, v_bs_16562_, v___y_16563_, v___y_16564_, v___y_16565_, v___y_16566_); -return v_res_16571_; +uint8_t v_unfoldNamed_boxed_16571_; size_t v_sz_boxed_16572_; size_t v_i_boxed_16573_; lean_object* v_res_16574_; +v_unfoldNamed_boxed_16571_ = lean_unbox(v_unfoldNamed_16562_); +v_sz_boxed_16572_ = lean_unbox_usize(v_sz_16563_); +lean_dec(v_sz_16563_); +v_i_boxed_16573_ = lean_unbox_usize(v_i_16564_); +lean_dec(v_i_16564_); +v_res_16574_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(v_unfoldNamed_boxed_16571_, v_sz_boxed_16572_, v_i_boxed_16573_, v_bs_16565_, v___y_16566_, v___y_16567_, v___y_16568_, v___y_16569_); +return v_res_16574_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0(uint8_t v_unfoldNamed_16572_, lean_object* v_alts_16573_, lean_object* v_x_16574_, lean_object* v___y_16575_, lean_object* v___y_16576_, lean_object* v___y_16577_, lean_object* v___y_16578_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0(uint8_t v_unfoldNamed_16575_, lean_object* v_alts_16576_, lean_object* v_x_16577_, lean_object* v___y_16578_, lean_object* v___y_16579_, lean_object* v___y_16580_, lean_object* v___y_16581_){ _start: { -size_t v_sz_16580_; size_t v___x_16581_; lean_object* v___x_16582_; -v_sz_16580_ = lean_array_size(v_alts_16573_); -v___x_16581_ = ((size_t)0ULL); -v___x_16582_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(v_unfoldNamed_16572_, v_sz_16580_, v___x_16581_, v_alts_16573_, v___y_16575_, v___y_16576_, v___y_16577_, v___y_16578_); -return v___x_16582_; +size_t v_sz_16583_; size_t v___x_16584_; lean_object* v___x_16585_; +v_sz_16583_ = lean_array_size(v_alts_16576_); +v___x_16584_ = ((size_t)0ULL); +v___x_16585_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7(v_unfoldNamed_16575_, v_sz_16583_, v___x_16584_, v_alts_16576_, v___y_16578_, v___y_16579_, v___y_16580_, v___y_16581_); +return v___x_16585_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0___boxed(lean_object* v_unfoldNamed_16583_, lean_object* v_alts_16584_, lean_object* v_x_16585_, lean_object* v___y_16586_, lean_object* v___y_16587_, lean_object* v___y_16588_, lean_object* v___y_16589_, lean_object* v___y_16590_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0___boxed(lean_object* v_unfoldNamed_16586_, lean_object* v_alts_16587_, lean_object* v_x_16588_, lean_object* v___y_16589_, lean_object* v___y_16590_, lean_object* v___y_16591_, lean_object* v___y_16592_, lean_object* v___y_16593_){ _start: { -uint8_t v_unfoldNamed_boxed_16591_; lean_object* v_res_16592_; -v_unfoldNamed_boxed_16591_ = lean_unbox(v_unfoldNamed_16583_); -v_res_16592_ = l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0(v_unfoldNamed_boxed_16591_, v_alts_16584_, v_x_16585_, v___y_16586_, v___y_16587_, v___y_16588_, v___y_16589_); -lean_dec_ref(v_x_16585_); -return v_res_16592_; +uint8_t v_unfoldNamed_boxed_16594_; lean_object* v_res_16595_; +v_unfoldNamed_boxed_16594_ = lean_unbox(v_unfoldNamed_16586_); +v_res_16595_ = l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0(v_unfoldNamed_boxed_16594_, v_alts_16587_, v_x_16588_, v___y_16589_, v___y_16590_, v___y_16591_, v___y_16592_); +lean_dec_ref(v_x_16588_); +return v_res_16595_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1(lean_object* v___y_16596_, lean_object* v_discrs_16597_, lean_object* v_x_16598_, lean_object* v___y_16599_, lean_object* v___y_16600_, lean_object* v___y_16601_, lean_object* v___y_16602_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1(lean_object* v___y_16599_, lean_object* v_discrs_16600_, lean_object* v_x_16601_, lean_object* v___y_16602_, lean_object* v___y_16603_, lean_object* v___y_16604_, lean_object* v___y_16605_){ _start: { -lean_object* v___x_16604_; lean_object* v___x_16605_; lean_object* v___x_16606_; lean_object* v___x_16607_; uint8_t v___x_16608_; uint8_t v___x_16609_; uint8_t v___x_16610_; lean_object* v___x_16611_; -v___x_16604_ = ((lean_object*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___closed__1)); -v___x_16605_ = lean_box(0); -v___x_16606_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_16606_, 0, v___y_16596_); -lean_ctor_set(v___x_16606_, 1, v___x_16605_); -v___x_16607_ = l_Lean_mkConst(v___x_16604_, v___x_16606_); -v___x_16608_ = 0; -v___x_16609_ = 1; -v___x_16610_ = 1; -v___x_16611_ = l_Lean_Meta_mkForallFVars(v_discrs_16597_, v___x_16607_, v___x_16608_, v___x_16609_, v___x_16609_, v___x_16610_, v___y_16599_, v___y_16600_, v___y_16601_, v___y_16602_); -return v___x_16611_; +lean_object* v___x_16607_; lean_object* v___x_16608_; lean_object* v___x_16609_; lean_object* v___x_16610_; uint8_t v___x_16611_; uint8_t v___x_16612_; uint8_t v___x_16613_; lean_object* v___x_16614_; +v___x_16607_ = ((lean_object*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___closed__1)); +v___x_16608_ = lean_box(0); +v___x_16609_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_16609_, 0, v___y_16599_); +lean_ctor_set(v___x_16609_, 1, v___x_16608_); +v___x_16610_ = l_Lean_mkConst(v___x_16607_, v___x_16609_); +v___x_16611_ = 0; +v___x_16612_ = 1; +v___x_16613_ = 1; +v___x_16614_ = l_Lean_Meta_mkForallFVars(v_discrs_16600_, v___x_16610_, v___x_16611_, v___x_16612_, v___x_16612_, v___x_16613_, v___y_16602_, v___y_16603_, v___y_16604_, v___y_16605_); +return v___x_16614_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___boxed(lean_object* v___y_16612_, lean_object* v_discrs_16613_, lean_object* v_x_16614_, lean_object* v___y_16615_, lean_object* v___y_16616_, lean_object* v___y_16617_, lean_object* v___y_16618_, lean_object* v___y_16619_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___boxed(lean_object* v___y_16615_, lean_object* v_discrs_16616_, lean_object* v_x_16617_, lean_object* v___y_16618_, lean_object* v___y_16619_, lean_object* v___y_16620_, lean_object* v___y_16621_, lean_object* v___y_16622_){ _start: { -lean_object* v_res_16620_; -v_res_16620_ = l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1(v___y_16612_, v_discrs_16613_, v_x_16614_, v___y_16615_, v___y_16616_, v___y_16617_, v___y_16618_); -lean_dec(v___y_16618_); -lean_dec_ref(v___y_16617_); -lean_dec(v___y_16616_); -lean_dec_ref(v___y_16615_); -lean_dec_ref(v_x_16614_); -lean_dec_ref(v_discrs_16613_); -return v_res_16620_; +lean_object* v_res_16623_; +v_res_16623_ = l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1(v___y_16615_, v_discrs_16616_, v_x_16617_, v___y_16618_, v___y_16619_, v___y_16620_, v___y_16621_); +lean_dec(v___y_16621_); +lean_dec_ref(v___y_16620_); +lean_dec(v___y_16619_); +lean_dec_ref(v___y_16618_); +lean_dec_ref(v_x_16617_); +lean_dec_ref(v_discrs_16616_); +return v_res_16623_; } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(lean_object* v_constName_16621_, lean_object* v___y_16622_, lean_object* v___y_16623_, lean_object* v___y_16624_, lean_object* v___y_16625_){ +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(lean_object* v_constName_16624_, lean_object* v___y_16625_, lean_object* v___y_16626_, lean_object* v___y_16627_, lean_object* v___y_16628_){ _start: { -lean_object* v___x_16627_; lean_object* v_env_16628_; uint8_t v___x_16629_; lean_object* v___x_16630_; -v___x_16627_ = lean_st_ref_get(v___y_16625_); -v_env_16628_ = lean_ctor_get(v___x_16627_, 0); -lean_inc_ref(v_env_16628_); -lean_dec(v___x_16627_); -v___x_16629_ = 0; -lean_inc(v_constName_16621_); -v___x_16630_ = l_Lean_Environment_findConstVal_x3f(v_env_16628_, v_constName_16621_, v___x_16629_); -if (lean_obj_tag(v___x_16630_) == 0) -{ -lean_object* v___x_16631_; -v___x_16631_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0___redArg(v_constName_16621_, v___y_16622_, v___y_16623_, v___y_16624_, v___y_16625_); -return v___x_16631_; -} -else -{ -lean_object* v_val_16632_; lean_object* v___x_16634_; uint8_t v_isShared_16635_; uint8_t v_isSharedCheck_16639_; -lean_dec_ref(v___y_16624_); -lean_dec(v_constName_16621_); -v_val_16632_ = lean_ctor_get(v___x_16630_, 0); -v_isSharedCheck_16639_ = !lean_is_exclusive(v___x_16630_); -if (v_isSharedCheck_16639_ == 0) -{ -v___x_16634_ = v___x_16630_; -v_isShared_16635_ = v_isSharedCheck_16639_; -goto v_resetjp_16633_; -} -else -{ -lean_inc(v_val_16632_); +lean_object* v___x_16630_; lean_object* v_env_16631_; uint8_t v___x_16632_; lean_object* v___x_16633_; +v___x_16630_ = lean_st_ref_get(v___y_16628_); +v_env_16631_ = lean_ctor_get(v___x_16630_, 0); +lean_inc_ref(v_env_16631_); lean_dec(v___x_16630_); -v___x_16634_ = lean_box(0); -v_isShared_16635_ = v_isSharedCheck_16639_; -goto v_resetjp_16633_; -} -v_resetjp_16633_: +v___x_16632_ = 0; +lean_inc(v_constName_16624_); +v___x_16633_ = l_Lean_Environment_findConstVal_x3f(v_env_16631_, v_constName_16624_, v___x_16632_); +if (lean_obj_tag(v___x_16633_) == 0) { -lean_object* v___x_16637_; -if (v_isShared_16635_ == 0) -{ -lean_ctor_set_tag(v___x_16634_, 0); -v___x_16637_ = v___x_16634_; -goto v_reusejp_16636_; +lean_object* v___x_16634_; +v___x_16634_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0___redArg(v_constName_16624_, v___y_16625_, v___y_16626_, v___y_16627_, v___y_16628_); +return v___x_16634_; } else { -lean_object* v_reuseFailAlloc_16638_; -v_reuseFailAlloc_16638_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16638_, 0, v_val_16632_); -v___x_16637_ = v_reuseFailAlloc_16638_; -goto v_reusejp_16636_; -} -v_reusejp_16636_: +lean_object* v_val_16635_; lean_object* v___x_16637_; uint8_t v_isShared_16638_; uint8_t v_isSharedCheck_16642_; +lean_dec_ref(v___y_16627_); +lean_dec(v_constName_16624_); +v_val_16635_ = lean_ctor_get(v___x_16633_, 0); +v_isSharedCheck_16642_ = !lean_is_exclusive(v___x_16633_); +if (v_isSharedCheck_16642_ == 0) { -return v___x_16637_; +v___x_16637_ = v___x_16633_; +v_isShared_16638_ = v_isSharedCheck_16642_; +goto v_resetjp_16636_; +} +else +{ +lean_inc(v_val_16635_); +lean_dec(v___x_16633_); +v___x_16637_ = lean_box(0); +v_isShared_16638_ = v_isSharedCheck_16642_; +goto v_resetjp_16636_; +} +v_resetjp_16636_: +{ +lean_object* v___x_16640_; +if (v_isShared_16638_ == 0) +{ +lean_ctor_set_tag(v___x_16637_, 0); +v___x_16640_ = v___x_16637_; +goto v_reusejp_16639_; +} +else +{ +lean_object* v_reuseFailAlloc_16641_; +v_reuseFailAlloc_16641_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16641_, 0, v_val_16635_); +v___x_16640_ = v_reuseFailAlloc_16641_; +goto v_reusejp_16639_; +} +v_reusejp_16639_: +{ +return v___x_16640_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5___boxed(lean_object* v_constName_16640_, lean_object* v___y_16641_, lean_object* v___y_16642_, lean_object* v___y_16643_, lean_object* v___y_16644_, lean_object* v___y_16645_){ +LEAN_EXPORT lean_object* l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5___boxed(lean_object* v_constName_16643_, lean_object* v___y_16644_, lean_object* v___y_16645_, lean_object* v___y_16646_, lean_object* v___y_16647_, lean_object* v___y_16648_){ _start: { -lean_object* v_res_16646_; -v_res_16646_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_constName_16640_, v___y_16641_, v___y_16642_, v___y_16643_, v___y_16644_); -lean_dec(v___y_16644_); -lean_dec(v___y_16642_); -lean_dec_ref(v___y_16641_); -return v_res_16646_; +lean_object* v_res_16649_; +v_res_16649_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_constName_16643_, v___y_16644_, v___y_16645_, v___y_16646_, v___y_16647_); +lean_dec(v___y_16647_); +lean_dec(v___y_16645_); +lean_dec_ref(v___y_16644_); +return v_res_16649_; } } static lean_object* _init_l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1(void){ _start: { -lean_object* v___x_16648_; lean_object* v___x_16649_; -v___x_16648_ = ((lean_object*)(l_Lean_Meta_Match_getMkMatcherInputInContext___closed__0)); -v___x_16649_ = l_Lean_stringToMessageData(v___x_16648_); -return v___x_16649_; +lean_object* v___x_16651_; lean_object* v___x_16652_; +v___x_16651_ = ((lean_object*)(l_Lean_Meta_Match_getMkMatcherInputInContext___closed__0)); +v___x_16652_ = l_Lean_stringToMessageData(v___x_16651_); +return v___x_16652_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext(lean_object* v_matcherApp_16650_, uint8_t v_unfoldNamed_16651_, lean_object* v_a_16652_, lean_object* v_a_16653_, lean_object* v_a_16654_, lean_object* v_a_16655_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext(lean_object* v_matcherApp_16653_, uint8_t v_unfoldNamed_16654_, lean_object* v_a_16655_, lean_object* v_a_16656_, lean_object* v_a_16657_, lean_object* v_a_16658_){ _start: { -lean_object* v_matcherName_16657_; lean_object* v_matcherLevels_16658_; lean_object* v_params_16659_; lean_object* v_motive_16660_; lean_object* v_discrs_16661_; lean_object* v_alts_16662_; lean_object* v___x_16663_; lean_object* v_a_16664_; lean_object* v___x_16666_; uint8_t v_isShared_16667_; uint8_t v_isSharedCheck_16777_; -v_matcherName_16657_ = lean_ctor_get(v_matcherApp_16650_, 1); -lean_inc(v_matcherName_16657_); -v_matcherLevels_16658_ = lean_ctor_get(v_matcherApp_16650_, 2); -lean_inc_ref(v_matcherLevels_16658_); -v_params_16659_ = lean_ctor_get(v_matcherApp_16650_, 3); -lean_inc_ref(v_params_16659_); -v_motive_16660_ = lean_ctor_get(v_matcherApp_16650_, 4); -lean_inc_ref(v_motive_16660_); -v_discrs_16661_ = lean_ctor_get(v_matcherApp_16650_, 5); -lean_inc_ref(v_discrs_16661_); -v_alts_16662_ = lean_ctor_get(v_matcherApp_16650_, 6); -lean_inc_ref(v_alts_16662_); -lean_dec_ref(v_matcherApp_16650_); -lean_inc(v_matcherName_16657_); -v___x_16663_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_matcherName_16657_, v_a_16655_); -v_a_16664_ = lean_ctor_get(v___x_16663_, 0); -v_isSharedCheck_16777_ = !lean_is_exclusive(v___x_16663_); -if (v_isSharedCheck_16777_ == 0) +lean_object* v_matcherName_16660_; lean_object* v_matcherLevels_16661_; lean_object* v_params_16662_; lean_object* v_motive_16663_; lean_object* v_discrs_16664_; lean_object* v_alts_16665_; lean_object* v___x_16666_; lean_object* v_a_16667_; lean_object* v___x_16669_; uint8_t v_isShared_16670_; uint8_t v_isSharedCheck_16780_; +v_matcherName_16660_ = lean_ctor_get(v_matcherApp_16653_, 1); +lean_inc(v_matcherName_16660_); +v_matcherLevels_16661_ = lean_ctor_get(v_matcherApp_16653_, 2); +lean_inc_ref(v_matcherLevels_16661_); +v_params_16662_ = lean_ctor_get(v_matcherApp_16653_, 3); +lean_inc_ref(v_params_16662_); +v_motive_16663_ = lean_ctor_get(v_matcherApp_16653_, 4); +lean_inc_ref(v_motive_16663_); +v_discrs_16664_ = lean_ctor_get(v_matcherApp_16653_, 5); +lean_inc_ref(v_discrs_16664_); +v_alts_16665_ = lean_ctor_get(v_matcherApp_16653_, 6); +lean_inc_ref(v_alts_16665_); +lean_dec_ref(v_matcherApp_16653_); +lean_inc(v_matcherName_16660_); +v___x_16666_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_matcherName_16660_, v_a_16658_); +v_a_16667_ = lean_ctor_get(v___x_16666_, 0); +v_isSharedCheck_16780_ = !lean_is_exclusive(v___x_16666_); +if (v_isSharedCheck_16780_ == 0) { -v___x_16666_ = v___x_16663_; -v_isShared_16667_ = v_isSharedCheck_16777_; -goto v_resetjp_16665_; +v___x_16669_ = v___x_16666_; +v_isShared_16670_ = v_isSharedCheck_16780_; +goto v_resetjp_16668_; } else { -lean_inc(v_a_16664_); -lean_dec(v___x_16663_); -v___x_16666_ = lean_box(0); -v_isShared_16667_ = v_isSharedCheck_16777_; -goto v_resetjp_16665_; +lean_inc(v_a_16667_); +lean_dec(v___x_16666_); +v___x_16669_ = lean_box(0); +v_isShared_16670_ = v_isSharedCheck_16780_; +goto v_resetjp_16668_; } -v_resetjp_16665_: +v_resetjp_16668_: { -if (lean_obj_tag(v_a_16664_) == 1) +if (lean_obj_tag(v_a_16667_) == 1) { -lean_object* v_val_16668_; lean_object* v___x_16670_; uint8_t v_isShared_16671_; uint8_t v_isSharedCheck_16770_; -v_val_16668_ = lean_ctor_get(v_a_16664_, 0); -v_isSharedCheck_16770_ = !lean_is_exclusive(v_a_16664_); -if (v_isSharedCheck_16770_ == 0) +lean_object* v_val_16671_; lean_object* v___x_16673_; uint8_t v_isShared_16674_; uint8_t v_isSharedCheck_16773_; +v_val_16671_ = lean_ctor_get(v_a_16667_, 0); +v_isSharedCheck_16773_ = !lean_is_exclusive(v_a_16667_); +if (v_isSharedCheck_16773_ == 0) { -v___x_16670_ = v_a_16664_; -v_isShared_16671_ = v_isSharedCheck_16770_; -goto v_resetjp_16669_; +v___x_16673_ = v_a_16667_; +v_isShared_16674_ = v_isSharedCheck_16773_; +goto v_resetjp_16672_; } else { -lean_inc(v_val_16668_); -lean_dec(v_a_16664_); -v___x_16670_ = lean_box(0); -v_isShared_16671_ = v_isSharedCheck_16770_; -goto v_resetjp_16669_; +lean_inc(v_val_16671_); +lean_dec(v_a_16667_); +v___x_16673_ = lean_box(0); +v_isShared_16674_ = v_isSharedCheck_16773_; +goto v_resetjp_16672_; } -v_resetjp_16669_: +v_resetjp_16672_: { -lean_object* v___x_16672_; -lean_inc_ref(v_a_16654_); -lean_inc(v_matcherName_16657_); -v___x_16672_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_matcherName_16657_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -if (lean_obj_tag(v___x_16672_) == 0) -{ -lean_object* v_a_16673_; lean_object* v___x_16674_; lean_object* v___x_16675_; -v_a_16673_ = lean_ctor_get(v___x_16672_, 0); -lean_inc(v_a_16673_); -lean_dec_ref(v___x_16672_); -v___x_16674_ = lean_array_to_list(v_matcherLevels_16658_); -lean_inc(v_a_16673_); -v___x_16675_ = l_Lean_Core_instantiateTypeLevelParams___redArg(v_a_16673_, v___x_16674_, v_a_16655_); +lean_object* v___x_16675_; +lean_inc_ref(v_a_16657_); +lean_inc(v_matcherName_16660_); +v___x_16675_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_matcherName_16660_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); if (lean_obj_tag(v___x_16675_) == 0) { -lean_object* v_a_16676_; lean_object* v___x_16677_; lean_object* v___x_16678_; lean_object* v___x_16679_; lean_object* v___x_16680_; lean_object* v___x_16681_; +lean_object* v_a_16676_; lean_object* v___x_16677_; lean_object* v___x_16678_; v_a_16676_ = lean_ctor_get(v___x_16675_, 0); lean_inc(v_a_16676_); lean_dec_ref(v___x_16675_); -v___x_16677_ = lean_unsigned_to_nat(1u); -v___x_16678_ = lean_mk_empty_array_with_capacity(v___x_16677_); -v___x_16679_ = lean_array_push(v___x_16678_, v_motive_16660_); -v___x_16680_ = l_Array_append___redArg(v_params_16659_, v___x_16679_); -lean_dec_ref(v___x_16679_); -lean_inc(v_a_16655_); -lean_inc_ref(v_a_16654_); -lean_inc(v_a_16653_); -lean_inc_ref(v_a_16652_); -v___x_16681_ = l_Lean_Meta_instantiateForall(v_a_16676_, v___x_16680_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -lean_dec_ref(v___x_16680_); -if (lean_obj_tag(v___x_16681_) == 0) +v___x_16677_ = lean_array_to_list(v_matcherLevels_16661_); +lean_inc(v_a_16676_); +v___x_16678_ = l_Lean_Core_instantiateTypeLevelParams___redArg(v_a_16676_, v___x_16677_, v_a_16658_); +if (lean_obj_tag(v___x_16678_) == 0) { -lean_object* v_a_16682_; lean_object* v_numDiscrs_16683_; lean_object* v_uElimPos_x3f_16684_; lean_object* v_discrInfos_16685_; lean_object* v___x_16686_; lean_object* v___f_16687_; lean_object* v___y_16689_; -v_a_16682_ = lean_ctor_get(v___x_16681_, 0); -lean_inc(v_a_16682_); -lean_dec_ref(v___x_16681_); -v_numDiscrs_16683_ = lean_ctor_get(v_val_16668_, 1); -lean_inc(v_numDiscrs_16683_); -v_uElimPos_x3f_16684_ = lean_ctor_get(v_val_16668_, 3); -lean_inc(v_uElimPos_x3f_16684_); -v_discrInfos_16685_ = lean_ctor_get(v_val_16668_, 4); -lean_inc_ref(v_discrInfos_16685_); -lean_dec(v_val_16668_); -v___x_16686_ = lean_box(v_unfoldNamed_16651_); -v___f_16687_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0___boxed), 8, 1); -lean_closure_set(v___f_16687_, 0, v___x_16686_); -if (lean_obj_tag(v_uElimPos_x3f_16684_) == 1) +lean_object* v_a_16679_; lean_object* v___x_16680_; lean_object* v___x_16681_; lean_object* v___x_16682_; lean_object* v___x_16683_; lean_object* v___x_16684_; +v_a_16679_ = lean_ctor_get(v___x_16678_, 0); +lean_inc(v_a_16679_); +lean_dec_ref(v___x_16678_); +v___x_16680_ = lean_unsigned_to_nat(1u); +v___x_16681_ = lean_mk_empty_array_with_capacity(v___x_16680_); +v___x_16682_ = lean_array_push(v___x_16681_, v_motive_16663_); +v___x_16683_ = l_Array_append___redArg(v_params_16662_, v___x_16682_); +lean_dec_ref(v___x_16682_); +lean_inc(v_a_16658_); +lean_inc_ref(v_a_16657_); +lean_inc(v_a_16656_); +lean_inc_ref(v_a_16655_); +v___x_16684_ = l_Lean_Meta_instantiateForall(v_a_16679_, v___x_16683_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); +lean_dec_ref(v___x_16683_); +if (lean_obj_tag(v___x_16684_) == 0) { -lean_object* v_val_16739_; lean_object* v_levelParams_16740_; lean_object* v___x_16741_; lean_object* v___x_16742_; lean_object* v___x_16743_; lean_object* v___x_16744_; -v_val_16739_ = lean_ctor_get(v_uElimPos_x3f_16684_, 0); -lean_inc(v_val_16739_); -lean_dec_ref(v_uElimPos_x3f_16684_); -v_levelParams_16740_ = lean_ctor_get(v_a_16673_, 1); -lean_inc(v_levelParams_16740_); -lean_dec(v_a_16673_); -v___x_16741_ = lean_box(0); -v___x_16742_ = lean_array_mk(v_levelParams_16740_); -v___x_16743_ = lean_array_get(v___x_16741_, v___x_16742_, v_val_16739_); -lean_dec(v_val_16739_); -lean_dec_ref(v___x_16742_); -v___x_16744_ = l_Lean_mkLevelParam(v___x_16743_); -v___y_16689_ = v___x_16744_; -goto v___jp_16688_; +lean_object* v_a_16685_; lean_object* v_numDiscrs_16686_; lean_object* v_uElimPos_x3f_16687_; lean_object* v_discrInfos_16688_; lean_object* v___x_16689_; lean_object* v___f_16690_; lean_object* v___y_16692_; +v_a_16685_ = lean_ctor_get(v___x_16684_, 0); +lean_inc(v_a_16685_); +lean_dec_ref(v___x_16684_); +v_numDiscrs_16686_ = lean_ctor_get(v_val_16671_, 1); +lean_inc(v_numDiscrs_16686_); +v_uElimPos_x3f_16687_ = lean_ctor_get(v_val_16671_, 3); +lean_inc(v_uElimPos_x3f_16687_); +v_discrInfos_16688_ = lean_ctor_get(v_val_16671_, 4); +lean_inc_ref(v_discrInfos_16688_); +lean_dec(v_val_16671_); +v___x_16689_ = lean_box(v_unfoldNamed_16654_); +v___f_16690_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__0___boxed), 8, 1); +lean_closure_set(v___f_16690_, 0, v___x_16689_); +if (lean_obj_tag(v_uElimPos_x3f_16687_) == 1) +{ +lean_object* v_val_16742_; lean_object* v_levelParams_16743_; lean_object* v___x_16744_; lean_object* v___x_16745_; lean_object* v___x_16746_; lean_object* v___x_16747_; +v_val_16742_ = lean_ctor_get(v_uElimPos_x3f_16687_, 0); +lean_inc(v_val_16742_); +lean_dec_ref(v_uElimPos_x3f_16687_); +v_levelParams_16743_ = lean_ctor_get(v_a_16676_, 1); +lean_inc(v_levelParams_16743_); +lean_dec(v_a_16676_); +v___x_16744_ = lean_box(0); +v___x_16745_ = lean_array_mk(v_levelParams_16743_); +v___x_16746_ = lean_array_get(v___x_16744_, v___x_16745_, v_val_16742_); +lean_dec(v_val_16742_); +lean_dec_ref(v___x_16745_); +v___x_16747_ = l_Lean_mkLevelParam(v___x_16746_); +v___y_16692_ = v___x_16747_; +goto v___jp_16691_; } else { -lean_object* v___x_16745_; -lean_dec(v_uElimPos_x3f_16684_); -lean_dec(v_a_16673_); -v___x_16745_ = lean_box(0); -v___y_16689_ = v___x_16745_; -goto v___jp_16688_; -} -v___jp_16688_: -{ -lean_object* v___f_16690_; lean_object* v___x_16692_; -v___f_16690_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___boxed), 8, 1); -lean_closure_set(v___f_16690_, 0, v___y_16689_); -if (v_isShared_16671_ == 0) -{ -lean_ctor_set(v___x_16670_, 0, v_numDiscrs_16683_); -v___x_16692_ = v___x_16670_; -goto v_reusejp_16691_; -} -else -{ -lean_object* v_reuseFailAlloc_16738_; -v_reuseFailAlloc_16738_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16738_, 0, v_numDiscrs_16683_); -v___x_16692_ = v_reuseFailAlloc_16738_; -goto v_reusejp_16691_; -} -v_reusejp_16691_: -{ -uint8_t v___x_16693_; lean_object* v___x_16694_; -v___x_16693_ = 0; -lean_inc(v_a_16655_); -lean_inc_ref(v_a_16654_); -lean_inc(v_a_16653_); -lean_inc_ref(v_a_16652_); -lean_inc(v_a_16682_); -v___x_16694_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_a_16682_, v___x_16692_, v___f_16690_, v___x_16693_, v___x_16693_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -if (lean_obj_tag(v___x_16694_) == 0) -{ -lean_object* v_a_16695_; lean_object* v___x_16696_; -v_a_16695_ = lean_ctor_get(v___x_16694_, 0); -lean_inc(v_a_16695_); -lean_dec_ref(v___x_16694_); -lean_inc(v_a_16655_); -lean_inc_ref(v_a_16654_); -lean_inc(v_a_16653_); -lean_inc_ref(v_a_16652_); -v___x_16696_ = l_Lean_Meta_instantiateForall(v_a_16682_, v_discrs_16661_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -lean_dec_ref(v_discrs_16661_); -if (lean_obj_tag(v___x_16696_) == 0) -{ -lean_object* v_a_16697_; lean_object* v___x_16698_; lean_object* v___x_16700_; -v_a_16697_ = lean_ctor_get(v___x_16696_, 0); -lean_inc(v_a_16697_); -lean_dec_ref(v___x_16696_); -v___x_16698_ = lean_array_get_size(v_alts_16662_); -lean_dec_ref(v_alts_16662_); -if (v_isShared_16667_ == 0) -{ -lean_ctor_set_tag(v___x_16666_, 1); -lean_ctor_set(v___x_16666_, 0, v___x_16698_); -v___x_16700_ = v___x_16666_; -goto v_reusejp_16699_; -} -else -{ -lean_object* v_reuseFailAlloc_16721_; -v_reuseFailAlloc_16721_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16721_, 0, v___x_16698_); -v___x_16700_ = v_reuseFailAlloc_16721_; -goto v_reusejp_16699_; -} -v_reusejp_16699_: -{ -lean_object* v___x_16701_; -v___x_16701_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_a_16697_, v___x_16700_, v___f_16687_, v___x_16693_, v___x_16693_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -if (lean_obj_tag(v___x_16701_) == 0) -{ -lean_object* v_a_16702_; lean_object* v___x_16704_; uint8_t v_isShared_16705_; uint8_t v_isSharedCheck_16712_; -v_a_16702_ = lean_ctor_get(v___x_16701_, 0); -v_isSharedCheck_16712_ = !lean_is_exclusive(v___x_16701_); -if (v_isSharedCheck_16712_ == 0) -{ -v___x_16704_ = v___x_16701_; -v_isShared_16705_ = v_isSharedCheck_16712_; -goto v_resetjp_16703_; -} -else -{ -lean_inc(v_a_16702_); -lean_dec(v___x_16701_); -v___x_16704_ = lean_box(0); -v_isShared_16705_ = v_isSharedCheck_16712_; -goto v_resetjp_16703_; -} -v_resetjp_16703_: -{ -lean_object* v___x_16706_; lean_object* v___x_16707_; lean_object* v___x_16708_; lean_object* v___x_16710_; -v___x_16706_ = lean_array_to_list(v_a_16702_); -v___x_16707_ = lean_box(0); -v___x_16708_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_16708_, 0, v_matcherName_16657_); -lean_ctor_set(v___x_16708_, 1, v_a_16695_); -lean_ctor_set(v___x_16708_, 2, v_discrInfos_16685_); -lean_ctor_set(v___x_16708_, 3, v___x_16706_); -lean_ctor_set(v___x_16708_, 4, v___x_16707_); -if (v_isShared_16705_ == 0) -{ -lean_ctor_set(v___x_16704_, 0, v___x_16708_); -v___x_16710_ = v___x_16704_; -goto v_reusejp_16709_; -} -else -{ -lean_object* v_reuseFailAlloc_16711_; -v_reuseFailAlloc_16711_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16711_, 0, v___x_16708_); -v___x_16710_ = v_reuseFailAlloc_16711_; -goto v_reusejp_16709_; -} -v_reusejp_16709_: -{ -return v___x_16710_; -} -} -} -else -{ -lean_object* v_a_16713_; lean_object* v___x_16715_; uint8_t v_isShared_16716_; uint8_t v_isSharedCheck_16720_; -lean_dec(v_a_16695_); -lean_dec_ref(v_discrInfos_16685_); -lean_dec(v_matcherName_16657_); -v_a_16713_ = lean_ctor_get(v___x_16701_, 0); -v_isSharedCheck_16720_ = !lean_is_exclusive(v___x_16701_); -if (v_isSharedCheck_16720_ == 0) -{ -v___x_16715_ = v___x_16701_; -v_isShared_16716_ = v_isSharedCheck_16720_; -goto v_resetjp_16714_; -} -else -{ -lean_inc(v_a_16713_); -lean_dec(v___x_16701_); -v___x_16715_ = lean_box(0); -v_isShared_16716_ = v_isSharedCheck_16720_; -goto v_resetjp_16714_; -} -v_resetjp_16714_: -{ -lean_object* v___x_16718_; -if (v_isShared_16716_ == 0) -{ -v___x_16718_ = v___x_16715_; -goto v_reusejp_16717_; -} -else -{ -lean_object* v_reuseFailAlloc_16719_; -v_reuseFailAlloc_16719_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16719_, 0, v_a_16713_); -v___x_16718_ = v_reuseFailAlloc_16719_; -goto v_reusejp_16717_; -} -v_reusejp_16717_: -{ -return v___x_16718_; -} -} -} -} -} -else -{ -lean_object* v_a_16722_; lean_object* v___x_16724_; uint8_t v_isShared_16725_; uint8_t v_isSharedCheck_16729_; -lean_dec(v_a_16695_); -lean_dec_ref(v___f_16687_); -lean_dec_ref(v_discrInfos_16685_); -lean_del_object(v___x_16666_); -lean_dec_ref(v_alts_16662_); -lean_dec(v_matcherName_16657_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -v_a_16722_ = lean_ctor_get(v___x_16696_, 0); -v_isSharedCheck_16729_ = !lean_is_exclusive(v___x_16696_); -if (v_isSharedCheck_16729_ == 0) -{ -v___x_16724_ = v___x_16696_; -v_isShared_16725_ = v_isSharedCheck_16729_; -goto v_resetjp_16723_; -} -else -{ -lean_inc(v_a_16722_); -lean_dec(v___x_16696_); -v___x_16724_ = lean_box(0); -v_isShared_16725_ = v_isSharedCheck_16729_; -goto v_resetjp_16723_; -} -v_resetjp_16723_: -{ -lean_object* v___x_16727_; -if (v_isShared_16725_ == 0) -{ -v___x_16727_ = v___x_16724_; -goto v_reusejp_16726_; -} -else -{ -lean_object* v_reuseFailAlloc_16728_; -v_reuseFailAlloc_16728_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16728_, 0, v_a_16722_); -v___x_16727_ = v_reuseFailAlloc_16728_; -goto v_reusejp_16726_; -} -v_reusejp_16726_: -{ -return v___x_16727_; -} -} -} -} -else -{ -lean_object* v_a_16730_; lean_object* v___x_16732_; uint8_t v_isShared_16733_; uint8_t v_isSharedCheck_16737_; -lean_dec_ref(v___f_16687_); -lean_dec_ref(v_discrInfos_16685_); -lean_dec(v_a_16682_); -lean_del_object(v___x_16666_); -lean_dec_ref(v_alts_16662_); -lean_dec_ref(v_discrs_16661_); -lean_dec(v_matcherName_16657_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -v_a_16730_ = lean_ctor_get(v___x_16694_, 0); -v_isSharedCheck_16737_ = !lean_is_exclusive(v___x_16694_); -if (v_isSharedCheck_16737_ == 0) -{ -v___x_16732_ = v___x_16694_; -v_isShared_16733_ = v_isSharedCheck_16737_; -goto v_resetjp_16731_; -} -else -{ -lean_inc(v_a_16730_); -lean_dec(v___x_16694_); -v___x_16732_ = lean_box(0); -v_isShared_16733_ = v_isSharedCheck_16737_; -goto v_resetjp_16731_; -} -v_resetjp_16731_: -{ -lean_object* v___x_16735_; -if (v_isShared_16733_ == 0) -{ -v___x_16735_ = v___x_16732_; -goto v_reusejp_16734_; -} -else -{ -lean_object* v_reuseFailAlloc_16736_; -v_reuseFailAlloc_16736_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16736_, 0, v_a_16730_); -v___x_16735_ = v_reuseFailAlloc_16736_; -goto v_reusejp_16734_; -} -v_reusejp_16734_: -{ -return v___x_16735_; -} -} -} -} -} -} -else -{ -lean_object* v_a_16746_; lean_object* v___x_16748_; uint8_t v_isShared_16749_; uint8_t v_isSharedCheck_16753_; -lean_dec(v_a_16673_); -lean_del_object(v___x_16670_); -lean_dec(v_val_16668_); -lean_del_object(v___x_16666_); -lean_dec_ref(v_alts_16662_); -lean_dec_ref(v_discrs_16661_); -lean_dec(v_matcherName_16657_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -v_a_16746_ = lean_ctor_get(v___x_16681_, 0); -v_isSharedCheck_16753_ = !lean_is_exclusive(v___x_16681_); -if (v_isSharedCheck_16753_ == 0) -{ -v___x_16748_ = v___x_16681_; -v_isShared_16749_ = v_isSharedCheck_16753_; -goto v_resetjp_16747_; -} -else -{ -lean_inc(v_a_16746_); -lean_dec(v___x_16681_); +lean_object* v___x_16748_; +lean_dec(v_uElimPos_x3f_16687_); +lean_dec(v_a_16676_); v___x_16748_ = lean_box(0); -v_isShared_16749_ = v_isSharedCheck_16753_; -goto v_resetjp_16747_; +v___y_16692_ = v___x_16748_; +goto v___jp_16691_; } -v_resetjp_16747_: +v___jp_16691_: { -lean_object* v___x_16751_; -if (v_isShared_16749_ == 0) +lean_object* v___f_16693_; lean_object* v___x_16695_; +v___f_16693_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_getMkMatcherInputInContext___lam__1___boxed), 8, 1); +lean_closure_set(v___f_16693_, 0, v___y_16692_); +if (v_isShared_16674_ == 0) { -v___x_16751_ = v___x_16748_; -goto v_reusejp_16750_; +lean_ctor_set(v___x_16673_, 0, v_numDiscrs_16686_); +v___x_16695_ = v___x_16673_; +goto v_reusejp_16694_; } else { -lean_object* v_reuseFailAlloc_16752_; -v_reuseFailAlloc_16752_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16752_, 0, v_a_16746_); -v___x_16751_ = v_reuseFailAlloc_16752_; -goto v_reusejp_16750_; +lean_object* v_reuseFailAlloc_16741_; +v_reuseFailAlloc_16741_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16741_, 0, v_numDiscrs_16686_); +v___x_16695_ = v_reuseFailAlloc_16741_; +goto v_reusejp_16694_; } -v_reusejp_16750_: +v_reusejp_16694_: { -return v___x_16751_; +uint8_t v___x_16696_; lean_object* v___x_16697_; +v___x_16696_ = 0; +lean_inc(v_a_16658_); +lean_inc_ref(v_a_16657_); +lean_inc(v_a_16656_); +lean_inc_ref(v_a_16655_); +lean_inc(v_a_16685_); +v___x_16697_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_a_16685_, v___x_16695_, v___f_16693_, v___x_16696_, v___x_16696_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); +if (lean_obj_tag(v___x_16697_) == 0) +{ +lean_object* v_a_16698_; lean_object* v___x_16699_; +v_a_16698_ = lean_ctor_get(v___x_16697_, 0); +lean_inc(v_a_16698_); +lean_dec_ref(v___x_16697_); +lean_inc(v_a_16658_); +lean_inc_ref(v_a_16657_); +lean_inc(v_a_16656_); +lean_inc_ref(v_a_16655_); +v___x_16699_ = l_Lean_Meta_instantiateForall(v_a_16685_, v_discrs_16664_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); +lean_dec_ref(v_discrs_16664_); +if (lean_obj_tag(v___x_16699_) == 0) +{ +lean_object* v_a_16700_; lean_object* v___x_16701_; lean_object* v___x_16703_; +v_a_16700_ = lean_ctor_get(v___x_16699_, 0); +lean_inc(v_a_16700_); +lean_dec_ref(v___x_16699_); +v___x_16701_ = lean_array_get_size(v_alts_16665_); +lean_dec_ref(v_alts_16665_); +if (v_isShared_16670_ == 0) +{ +lean_ctor_set_tag(v___x_16669_, 1); +lean_ctor_set(v___x_16669_, 0, v___x_16701_); +v___x_16703_ = v___x_16669_; +goto v_reusejp_16702_; +} +else +{ +lean_object* v_reuseFailAlloc_16724_; +v_reuseFailAlloc_16724_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16724_, 0, v___x_16701_); +v___x_16703_ = v_reuseFailAlloc_16724_; +goto v_reusejp_16702_; +} +v_reusejp_16702_: +{ +lean_object* v___x_16704_; +v___x_16704_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v_a_16700_, v___x_16703_, v___f_16690_, v___x_16696_, v___x_16696_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); +if (lean_obj_tag(v___x_16704_) == 0) +{ +lean_object* v_a_16705_; lean_object* v___x_16707_; uint8_t v_isShared_16708_; uint8_t v_isSharedCheck_16715_; +v_a_16705_ = lean_ctor_get(v___x_16704_, 0); +v_isSharedCheck_16715_ = !lean_is_exclusive(v___x_16704_); +if (v_isSharedCheck_16715_ == 0) +{ +v___x_16707_ = v___x_16704_; +v_isShared_16708_ = v_isSharedCheck_16715_; +goto v_resetjp_16706_; +} +else +{ +lean_inc(v_a_16705_); +lean_dec(v___x_16704_); +v___x_16707_ = lean_box(0); +v_isShared_16708_ = v_isSharedCheck_16715_; +goto v_resetjp_16706_; +} +v_resetjp_16706_: +{ +lean_object* v___x_16709_; lean_object* v___x_16710_; lean_object* v___x_16711_; lean_object* v___x_16713_; +v___x_16709_ = lean_array_to_list(v_a_16705_); +v___x_16710_ = lean_box(0); +v___x_16711_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_16711_, 0, v_matcherName_16660_); +lean_ctor_set(v___x_16711_, 1, v_a_16698_); +lean_ctor_set(v___x_16711_, 2, v_discrInfos_16688_); +lean_ctor_set(v___x_16711_, 3, v___x_16709_); +lean_ctor_set(v___x_16711_, 4, v___x_16710_); +if (v_isShared_16708_ == 0) +{ +lean_ctor_set(v___x_16707_, 0, v___x_16711_); +v___x_16713_ = v___x_16707_; +goto v_reusejp_16712_; +} +else +{ +lean_object* v_reuseFailAlloc_16714_; +v_reuseFailAlloc_16714_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16714_, 0, v___x_16711_); +v___x_16713_ = v_reuseFailAlloc_16714_; +goto v_reusejp_16712_; +} +v_reusejp_16712_: +{ +return v___x_16713_; +} +} +} +else +{ +lean_object* v_a_16716_; lean_object* v___x_16718_; uint8_t v_isShared_16719_; uint8_t v_isSharedCheck_16723_; +lean_dec(v_a_16698_); +lean_dec_ref(v_discrInfos_16688_); +lean_dec(v_matcherName_16660_); +v_a_16716_ = lean_ctor_get(v___x_16704_, 0); +v_isSharedCheck_16723_ = !lean_is_exclusive(v___x_16704_); +if (v_isSharedCheck_16723_ == 0) +{ +v___x_16718_ = v___x_16704_; +v_isShared_16719_ = v_isSharedCheck_16723_; +goto v_resetjp_16717_; +} +else +{ +lean_inc(v_a_16716_); +lean_dec(v___x_16704_); +v___x_16718_ = lean_box(0); +v_isShared_16719_ = v_isSharedCheck_16723_; +goto v_resetjp_16717_; +} +v_resetjp_16717_: +{ +lean_object* v___x_16721_; +if (v_isShared_16719_ == 0) +{ +v___x_16721_ = v___x_16718_; +goto v_reusejp_16720_; +} +else +{ +lean_object* v_reuseFailAlloc_16722_; +v_reuseFailAlloc_16722_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16722_, 0, v_a_16716_); +v___x_16721_ = v_reuseFailAlloc_16722_; +goto v_reusejp_16720_; +} +v_reusejp_16720_: +{ +return v___x_16721_; +} } } } } else { -lean_object* v_a_16754_; lean_object* v___x_16756_; uint8_t v_isShared_16757_; uint8_t v_isSharedCheck_16761_; -lean_dec(v_a_16673_); -lean_del_object(v___x_16670_); -lean_dec(v_val_16668_); -lean_del_object(v___x_16666_); -lean_dec_ref(v_alts_16662_); -lean_dec_ref(v_discrs_16661_); -lean_dec_ref(v_motive_16660_); -lean_dec_ref(v_params_16659_); -lean_dec(v_matcherName_16657_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -v_a_16754_ = lean_ctor_get(v___x_16675_, 0); -v_isSharedCheck_16761_ = !lean_is_exclusive(v___x_16675_); -if (v_isSharedCheck_16761_ == 0) +lean_object* v_a_16725_; lean_object* v___x_16727_; uint8_t v_isShared_16728_; uint8_t v_isSharedCheck_16732_; +lean_dec(v_a_16698_); +lean_dec_ref(v___f_16690_); +lean_dec_ref(v_discrInfos_16688_); +lean_del_object(v___x_16669_); +lean_dec_ref(v_alts_16665_); +lean_dec(v_matcherName_16660_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +v_a_16725_ = lean_ctor_get(v___x_16699_, 0); +v_isSharedCheck_16732_ = !lean_is_exclusive(v___x_16699_); +if (v_isSharedCheck_16732_ == 0) { -v___x_16756_ = v___x_16675_; -v_isShared_16757_ = v_isSharedCheck_16761_; -goto v_resetjp_16755_; +v___x_16727_ = v___x_16699_; +v_isShared_16728_ = v_isSharedCheck_16732_; +goto v_resetjp_16726_; } else { -lean_inc(v_a_16754_); +lean_inc(v_a_16725_); +lean_dec(v___x_16699_); +v___x_16727_ = lean_box(0); +v_isShared_16728_ = v_isSharedCheck_16732_; +goto v_resetjp_16726_; +} +v_resetjp_16726_: +{ +lean_object* v___x_16730_; +if (v_isShared_16728_ == 0) +{ +v___x_16730_ = v___x_16727_; +goto v_reusejp_16729_; +} +else +{ +lean_object* v_reuseFailAlloc_16731_; +v_reuseFailAlloc_16731_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16731_, 0, v_a_16725_); +v___x_16730_ = v_reuseFailAlloc_16731_; +goto v_reusejp_16729_; +} +v_reusejp_16729_: +{ +return v___x_16730_; +} +} +} +} +else +{ +lean_object* v_a_16733_; lean_object* v___x_16735_; uint8_t v_isShared_16736_; uint8_t v_isSharedCheck_16740_; +lean_dec_ref(v___f_16690_); +lean_dec_ref(v_discrInfos_16688_); +lean_dec(v_a_16685_); +lean_del_object(v___x_16669_); +lean_dec_ref(v_alts_16665_); +lean_dec_ref(v_discrs_16664_); +lean_dec(v_matcherName_16660_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +v_a_16733_ = lean_ctor_get(v___x_16697_, 0); +v_isSharedCheck_16740_ = !lean_is_exclusive(v___x_16697_); +if (v_isSharedCheck_16740_ == 0) +{ +v___x_16735_ = v___x_16697_; +v_isShared_16736_ = v_isSharedCheck_16740_; +goto v_resetjp_16734_; +} +else +{ +lean_inc(v_a_16733_); +lean_dec(v___x_16697_); +v___x_16735_ = lean_box(0); +v_isShared_16736_ = v_isSharedCheck_16740_; +goto v_resetjp_16734_; +} +v_resetjp_16734_: +{ +lean_object* v___x_16738_; +if (v_isShared_16736_ == 0) +{ +v___x_16738_ = v___x_16735_; +goto v_reusejp_16737_; +} +else +{ +lean_object* v_reuseFailAlloc_16739_; +v_reuseFailAlloc_16739_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16739_, 0, v_a_16733_); +v___x_16738_ = v_reuseFailAlloc_16739_; +goto v_reusejp_16737_; +} +v_reusejp_16737_: +{ +return v___x_16738_; +} +} +} +} +} +} +else +{ +lean_object* v_a_16749_; lean_object* v___x_16751_; uint8_t v_isShared_16752_; uint8_t v_isSharedCheck_16756_; +lean_dec(v_a_16676_); +lean_del_object(v___x_16673_); +lean_dec(v_val_16671_); +lean_del_object(v___x_16669_); +lean_dec_ref(v_alts_16665_); +lean_dec_ref(v_discrs_16664_); +lean_dec(v_matcherName_16660_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +v_a_16749_ = lean_ctor_get(v___x_16684_, 0); +v_isSharedCheck_16756_ = !lean_is_exclusive(v___x_16684_); +if (v_isSharedCheck_16756_ == 0) +{ +v___x_16751_ = v___x_16684_; +v_isShared_16752_ = v_isSharedCheck_16756_; +goto v_resetjp_16750_; +} +else +{ +lean_inc(v_a_16749_); +lean_dec(v___x_16684_); +v___x_16751_ = lean_box(0); +v_isShared_16752_ = v_isSharedCheck_16756_; +goto v_resetjp_16750_; +} +v_resetjp_16750_: +{ +lean_object* v___x_16754_; +if (v_isShared_16752_ == 0) +{ +v___x_16754_ = v___x_16751_; +goto v_reusejp_16753_; +} +else +{ +lean_object* v_reuseFailAlloc_16755_; +v_reuseFailAlloc_16755_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16755_, 0, v_a_16749_); +v___x_16754_ = v_reuseFailAlloc_16755_; +goto v_reusejp_16753_; +} +v_reusejp_16753_: +{ +return v___x_16754_; +} +} +} +} +else +{ +lean_object* v_a_16757_; lean_object* v___x_16759_; uint8_t v_isShared_16760_; uint8_t v_isSharedCheck_16764_; +lean_dec(v_a_16676_); +lean_del_object(v___x_16673_); +lean_dec(v_val_16671_); +lean_del_object(v___x_16669_); +lean_dec_ref(v_alts_16665_); +lean_dec_ref(v_discrs_16664_); +lean_dec_ref(v_motive_16663_); +lean_dec_ref(v_params_16662_); +lean_dec(v_matcherName_16660_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +v_a_16757_ = lean_ctor_get(v___x_16678_, 0); +v_isSharedCheck_16764_ = !lean_is_exclusive(v___x_16678_); +if (v_isSharedCheck_16764_ == 0) +{ +v___x_16759_ = v___x_16678_; +v_isShared_16760_ = v_isSharedCheck_16764_; +goto v_resetjp_16758_; +} +else +{ +lean_inc(v_a_16757_); +lean_dec(v___x_16678_); +v___x_16759_ = lean_box(0); +v_isShared_16760_ = v_isSharedCheck_16764_; +goto v_resetjp_16758_; +} +v_resetjp_16758_: +{ +lean_object* v___x_16762_; +if (v_isShared_16760_ == 0) +{ +v___x_16762_ = v___x_16759_; +goto v_reusejp_16761_; +} +else +{ +lean_object* v_reuseFailAlloc_16763_; +v_reuseFailAlloc_16763_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16763_, 0, v_a_16757_); +v___x_16762_ = v_reuseFailAlloc_16763_; +goto v_reusejp_16761_; +} +v_reusejp_16761_: +{ +return v___x_16762_; +} +} +} +} +else +{ +lean_object* v_a_16765_; lean_object* v___x_16767_; uint8_t v_isShared_16768_; uint8_t v_isSharedCheck_16772_; +lean_del_object(v___x_16673_); +lean_dec(v_val_16671_); +lean_del_object(v___x_16669_); +lean_dec_ref(v_alts_16665_); +lean_dec_ref(v_discrs_16664_); +lean_dec_ref(v_motive_16663_); +lean_dec_ref(v_params_16662_); +lean_dec_ref(v_matcherLevels_16661_); +lean_dec(v_matcherName_16660_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +v_a_16765_ = lean_ctor_get(v___x_16675_, 0); +v_isSharedCheck_16772_ = !lean_is_exclusive(v___x_16675_); +if (v_isSharedCheck_16772_ == 0) +{ +v___x_16767_ = v___x_16675_; +v_isShared_16768_ = v_isSharedCheck_16772_; +goto v_resetjp_16766_; +} +else +{ +lean_inc(v_a_16765_); lean_dec(v___x_16675_); -v___x_16756_ = lean_box(0); -v_isShared_16757_ = v_isSharedCheck_16761_; -goto v_resetjp_16755_; +v___x_16767_ = lean_box(0); +v_isShared_16768_ = v_isSharedCheck_16772_; +goto v_resetjp_16766_; } -v_resetjp_16755_: +v_resetjp_16766_: { -lean_object* v___x_16759_; -if (v_isShared_16757_ == 0) +lean_object* v___x_16770_; +if (v_isShared_16768_ == 0) { -v___x_16759_ = v___x_16756_; -goto v_reusejp_16758_; +v___x_16770_ = v___x_16767_; +goto v_reusejp_16769_; } else { -lean_object* v_reuseFailAlloc_16760_; -v_reuseFailAlloc_16760_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16760_, 0, v_a_16754_); -v___x_16759_ = v_reuseFailAlloc_16760_; -goto v_reusejp_16758_; +lean_object* v_reuseFailAlloc_16771_; +v_reuseFailAlloc_16771_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16771_, 0, v_a_16765_); +v___x_16770_ = v_reuseFailAlloc_16771_; +goto v_reusejp_16769_; } -v_reusejp_16758_: +v_reusejp_16769_: { -return v___x_16759_; -} -} -} -} -else -{ -lean_object* v_a_16762_; lean_object* v___x_16764_; uint8_t v_isShared_16765_; uint8_t v_isSharedCheck_16769_; -lean_del_object(v___x_16670_); -lean_dec(v_val_16668_); -lean_del_object(v___x_16666_); -lean_dec_ref(v_alts_16662_); -lean_dec_ref(v_discrs_16661_); -lean_dec_ref(v_motive_16660_); -lean_dec_ref(v_params_16659_); -lean_dec_ref(v_matcherLevels_16658_); -lean_dec(v_matcherName_16657_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -v_a_16762_ = lean_ctor_get(v___x_16672_, 0); -v_isSharedCheck_16769_ = !lean_is_exclusive(v___x_16672_); -if (v_isSharedCheck_16769_ == 0) -{ -v___x_16764_ = v___x_16672_; -v_isShared_16765_ = v_isSharedCheck_16769_; -goto v_resetjp_16763_; -} -else -{ -lean_inc(v_a_16762_); -lean_dec(v___x_16672_); -v___x_16764_ = lean_box(0); -v_isShared_16765_ = v_isSharedCheck_16769_; -goto v_resetjp_16763_; -} -v_resetjp_16763_: -{ -lean_object* v___x_16767_; -if (v_isShared_16765_ == 0) -{ -v___x_16767_ = v___x_16764_; -goto v_reusejp_16766_; -} -else -{ -lean_object* v_reuseFailAlloc_16768_; -v_reuseFailAlloc_16768_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16768_, 0, v_a_16762_); -v___x_16767_ = v_reuseFailAlloc_16768_; -goto v_reusejp_16766_; -} -v_reusejp_16766_: -{ -return v___x_16767_; +return v___x_16770_; } } } @@ -56033,467 +56050,467 @@ return v___x_16767_; } else { -lean_object* v___x_16771_; lean_object* v___x_16772_; lean_object* v___x_16773_; lean_object* v___x_16774_; lean_object* v___x_16775_; lean_object* v___x_16776_; -lean_del_object(v___x_16666_); -lean_dec(v_a_16664_); -lean_dec_ref(v_alts_16662_); -lean_dec_ref(v_discrs_16661_); -lean_dec_ref(v_motive_16660_); -lean_dec_ref(v_params_16659_); -lean_dec_ref(v_matcherLevels_16658_); -v___x_16771_ = lean_obj_once(&l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1, &l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1_once, _init_l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1); -v___x_16772_ = l_Lean_MessageData_ofName(v_matcherName_16657_); -v___x_16773_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_16773_, 0, v___x_16771_); -lean_ctor_set(v___x_16773_, 1, v___x_16772_); -v___x_16774_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3); -v___x_16775_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_16775_, 0, v___x_16773_); -lean_ctor_set(v___x_16775_, 1, v___x_16774_); -v___x_16776_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_16775_, v_a_16652_, v_a_16653_, v_a_16654_, v_a_16655_); -lean_dec(v_a_16655_); -lean_dec_ref(v_a_16654_); -lean_dec(v_a_16653_); -lean_dec_ref(v_a_16652_); -return v___x_16776_; +lean_object* v___x_16774_; lean_object* v___x_16775_; lean_object* v___x_16776_; lean_object* v___x_16777_; lean_object* v___x_16778_; lean_object* v___x_16779_; +lean_del_object(v___x_16669_); +lean_dec(v_a_16667_); +lean_dec_ref(v_alts_16665_); +lean_dec_ref(v_discrs_16664_); +lean_dec_ref(v_motive_16663_); +lean_dec_ref(v_params_16662_); +lean_dec_ref(v_matcherLevels_16661_); +v___x_16774_ = lean_obj_once(&l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1, &l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1_once, _init_l_Lean_Meta_Match_getMkMatcherInputInContext___closed__1); +v___x_16775_ = l_Lean_MessageData_ofName(v_matcherName_16660_); +v___x_16776_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_16776_, 0, v___x_16774_); +lean_ctor_set(v___x_16776_, 1, v___x_16775_); +v___x_16777_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0_spec__0_spec__1___redArg___closed__3); +v___x_16778_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_16778_, 0, v___x_16776_); +lean_ctor_set(v___x_16778_, 1, v___x_16777_); +v___x_16779_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_16778_, v_a_16655_, v_a_16656_, v_a_16657_, v_a_16658_); +lean_dec(v_a_16658_); +lean_dec_ref(v_a_16657_); +lean_dec(v_a_16656_); +lean_dec_ref(v_a_16655_); +return v___x_16779_; } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___boxed(lean_object* v_matcherApp_16778_, lean_object* v_unfoldNamed_16779_, lean_object* v_a_16780_, lean_object* v_a_16781_, lean_object* v_a_16782_, lean_object* v_a_16783_, lean_object* v_a_16784_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getMkMatcherInputInContext___boxed(lean_object* v_matcherApp_16781_, lean_object* v_unfoldNamed_16782_, lean_object* v_a_16783_, lean_object* v_a_16784_, lean_object* v_a_16785_, lean_object* v_a_16786_, lean_object* v_a_16787_){ _start: { -uint8_t v_unfoldNamed_boxed_16785_; lean_object* v_res_16786_; -v_unfoldNamed_boxed_16785_ = lean_unbox(v_unfoldNamed_16779_); -v_res_16786_ = l_Lean_Meta_Match_getMkMatcherInputInContext(v_matcherApp_16778_, v_unfoldNamed_boxed_16785_, v_a_16780_, v_a_16781_, v_a_16782_, v_a_16783_); -return v_res_16786_; +uint8_t v_unfoldNamed_boxed_16788_; lean_object* v_res_16789_; +v_unfoldNamed_boxed_16788_ = lean_unbox(v_unfoldNamed_16782_); +v_res_16789_ = l_Lean_Meta_Match_getMkMatcherInputInContext(v_matcherApp_16781_, v_unfoldNamed_boxed_16788_, v_a_16783_, v_a_16784_, v_a_16785_, v_a_16786_); +return v_res_16789_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3(lean_object* v_body_16787_, lean_object* v_as_16788_, size_t v_i_16789_, size_t v_stop_16790_, lean_object* v_b_16791_, lean_object* v___y_16792_, lean_object* v___y_16793_, lean_object* v___y_16794_, lean_object* v___y_16795_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3(lean_object* v_body_16790_, lean_object* v_as_16791_, size_t v_i_16792_, size_t v_stop_16793_, lean_object* v_b_16794_, lean_object* v___y_16795_, lean_object* v___y_16796_, lean_object* v___y_16797_, lean_object* v___y_16798_){ _start: { -lean_object* v___x_16797_; -v___x_16797_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16787_, v_as_16788_, v_i_16789_, v_stop_16790_, v_b_16791_, v___y_16793_); -return v___x_16797_; +lean_object* v___x_16800_; +v___x_16800_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___redArg(v_body_16790_, v_as_16791_, v_i_16792_, v_stop_16793_, v_b_16794_, v___y_16796_); +return v___x_16800_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___boxed(lean_object* v_body_16798_, lean_object* v_as_16799_, lean_object* v_i_16800_, lean_object* v_stop_16801_, lean_object* v_b_16802_, lean_object* v___y_16803_, lean_object* v___y_16804_, lean_object* v___y_16805_, lean_object* v___y_16806_, lean_object* v___y_16807_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3___boxed(lean_object* v_body_16801_, lean_object* v_as_16802_, lean_object* v_i_16803_, lean_object* v_stop_16804_, lean_object* v_b_16805_, lean_object* v___y_16806_, lean_object* v___y_16807_, lean_object* v___y_16808_, lean_object* v___y_16809_, lean_object* v___y_16810_){ _start: { -size_t v_i_boxed_16808_; size_t v_stop_boxed_16809_; lean_object* v_res_16810_; -v_i_boxed_16808_ = lean_unbox_usize(v_i_16800_); -lean_dec(v_i_16800_); -v_stop_boxed_16809_ = lean_unbox_usize(v_stop_16801_); -lean_dec(v_stop_16801_); -v_res_16810_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3(v_body_16798_, v_as_16799_, v_i_boxed_16808_, v_stop_boxed_16809_, v_b_16802_, v___y_16803_, v___y_16804_, v___y_16805_, v___y_16806_); -lean_dec(v___y_16806_); -lean_dec_ref(v___y_16805_); -lean_dec(v___y_16804_); -lean_dec_ref(v___y_16803_); -lean_dec_ref(v_as_16799_); -return v_res_16810_; +size_t v_i_boxed_16811_; size_t v_stop_boxed_16812_; lean_object* v_res_16813_; +v_i_boxed_16811_ = lean_unbox_usize(v_i_16803_); +lean_dec(v_i_16803_); +v_stop_boxed_16812_ = lean_unbox_usize(v_stop_16804_); +lean_dec(v_stop_16804_); +v_res_16813_ = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__3(v_body_16801_, v_as_16802_, v_i_boxed_16811_, v_stop_boxed_16812_, v_b_16805_, v___y_16806_, v___y_16807_, v___y_16808_, v___y_16809_); +lean_dec(v___y_16809_); +lean_dec_ref(v___y_16808_); +lean_dec(v___y_16807_); +lean_dec_ref(v___y_16806_); +lean_dec_ref(v_as_16802_); +return v_res_16813_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0_spec__0(lean_object* v_a_16811_, lean_object* v_a_16812_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0_spec__0(lean_object* v_a_16814_, lean_object* v_a_16815_){ _start: { -if (lean_obj_tag(v_a_16811_) == 0) +if (lean_obj_tag(v_a_16814_) == 0) { -lean_object* v___x_16813_; -v___x_16813_ = l_List_reverse___redArg(v_a_16812_); -return v___x_16813_; +lean_object* v___x_16816_; +v___x_16816_ = l_List_reverse___redArg(v_a_16815_); +return v___x_16816_; } else { -lean_object* v_head_16814_; lean_object* v_tail_16815_; lean_object* v___x_16817_; uint8_t v_isShared_16818_; uint8_t v_isSharedCheck_16824_; -v_head_16814_ = lean_ctor_get(v_a_16811_, 0); -v_tail_16815_ = lean_ctor_get(v_a_16811_, 1); -v_isSharedCheck_16824_ = !lean_is_exclusive(v_a_16811_); -if (v_isSharedCheck_16824_ == 0) +lean_object* v_head_16817_; lean_object* v_tail_16818_; lean_object* v___x_16820_; uint8_t v_isShared_16821_; uint8_t v_isSharedCheck_16827_; +v_head_16817_ = lean_ctor_get(v_a_16814_, 0); +v_tail_16818_ = lean_ctor_get(v_a_16814_, 1); +v_isSharedCheck_16827_ = !lean_is_exclusive(v_a_16814_); +if (v_isSharedCheck_16827_ == 0) { -v___x_16817_ = v_a_16811_; -v_isShared_16818_ = v_isSharedCheck_16824_; -goto v_resetjp_16816_; +v___x_16820_ = v_a_16814_; +v_isShared_16821_ = v_isSharedCheck_16827_; +goto v_resetjp_16819_; } else { -lean_inc(v_tail_16815_); -lean_inc(v_head_16814_); -lean_dec(v_a_16811_); -v___x_16817_ = lean_box(0); -v_isShared_16818_ = v_isSharedCheck_16824_; -goto v_resetjp_16816_; +lean_inc(v_tail_16818_); +lean_inc(v_head_16817_); +lean_dec(v_a_16814_); +v___x_16820_ = lean_box(0); +v_isShared_16821_ = v_isSharedCheck_16827_; +goto v_resetjp_16819_; } -v_resetjp_16816_: +v_resetjp_16819_: { -lean_object* v___x_16819_; lean_object* v___x_16821_; -v___x_16819_ = l_Lean_mkLevelParam(v_head_16814_); -if (v_isShared_16818_ == 0) +lean_object* v___x_16822_; lean_object* v___x_16824_; +v___x_16822_ = l_Lean_mkLevelParam(v_head_16817_); +if (v_isShared_16821_ == 0) { -lean_ctor_set(v___x_16817_, 1, v_a_16812_); -lean_ctor_set(v___x_16817_, 0, v___x_16819_); -v___x_16821_ = v___x_16817_; -goto v_reusejp_16820_; +lean_ctor_set(v___x_16820_, 1, v_a_16815_); +lean_ctor_set(v___x_16820_, 0, v___x_16822_); +v___x_16824_ = v___x_16820_; +goto v_reusejp_16823_; } else { -lean_object* v_reuseFailAlloc_16823_; -v_reuseFailAlloc_16823_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16823_, 0, v___x_16819_); -lean_ctor_set(v_reuseFailAlloc_16823_, 1, v_a_16812_); -v___x_16821_ = v_reuseFailAlloc_16823_; -goto v_reusejp_16820_; +lean_object* v_reuseFailAlloc_16826_; +v_reuseFailAlloc_16826_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16826_, 0, v___x_16822_); +lean_ctor_set(v_reuseFailAlloc_16826_, 1, v_a_16815_); +v___x_16824_ = v_reuseFailAlloc_16826_; +goto v_reusejp_16823_; } -v_reusejp_16820_: +v_reusejp_16823_: { -v_a_16811_ = v_tail_16815_; -v_a_16812_ = v___x_16821_; +v_a_16814_ = v_tail_16818_; +v_a_16815_ = v___x_16824_; goto _start; } } } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(lean_object* v_constName_16825_, lean_object* v___y_16826_, lean_object* v___y_16827_, lean_object* v___y_16828_, lean_object* v___y_16829_){ +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(lean_object* v_constName_16828_, lean_object* v___y_16829_, lean_object* v___y_16830_, lean_object* v___y_16831_, lean_object* v___y_16832_){ _start: { -lean_object* v___x_16831_; -lean_inc(v_constName_16825_); -v___x_16831_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_constName_16825_, v___y_16826_, v___y_16827_, v___y_16828_, v___y_16829_); -if (lean_obj_tag(v___x_16831_) == 0) +lean_object* v___x_16834_; +lean_inc(v_constName_16828_); +v___x_16834_ = l_Lean_getConstVal___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__5(v_constName_16828_, v___y_16829_, v___y_16830_, v___y_16831_, v___y_16832_); +if (lean_obj_tag(v___x_16834_) == 0) { -lean_object* v_a_16832_; lean_object* v___x_16834_; uint8_t v_isShared_16835_; uint8_t v_isSharedCheck_16843_; -v_a_16832_ = lean_ctor_get(v___x_16831_, 0); -v_isSharedCheck_16843_ = !lean_is_exclusive(v___x_16831_); -if (v_isSharedCheck_16843_ == 0) +lean_object* v_a_16835_; lean_object* v___x_16837_; uint8_t v_isShared_16838_; uint8_t v_isSharedCheck_16846_; +v_a_16835_ = lean_ctor_get(v___x_16834_, 0); +v_isSharedCheck_16846_ = !lean_is_exclusive(v___x_16834_); +if (v_isSharedCheck_16846_ == 0) { -v___x_16834_ = v___x_16831_; -v_isShared_16835_ = v_isSharedCheck_16843_; -goto v_resetjp_16833_; +v___x_16837_ = v___x_16834_; +v_isShared_16838_ = v_isSharedCheck_16846_; +goto v_resetjp_16836_; } else { -lean_inc(v_a_16832_); -lean_dec(v___x_16831_); -v___x_16834_ = lean_box(0); -v_isShared_16835_ = v_isSharedCheck_16843_; -goto v_resetjp_16833_; -} -v_resetjp_16833_: -{ -lean_object* v_levelParams_16836_; lean_object* v___x_16837_; lean_object* v___x_16838_; lean_object* v___x_16839_; lean_object* v___x_16841_; -v_levelParams_16836_ = lean_ctor_get(v_a_16832_, 1); -lean_inc(v_levelParams_16836_); -lean_dec(v_a_16832_); +lean_inc(v_a_16835_); +lean_dec(v___x_16834_); v___x_16837_ = lean_box(0); -v___x_16838_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0_spec__0(v_levelParams_16836_, v___x_16837_); -v___x_16839_ = l_Lean_mkConst(v_constName_16825_, v___x_16838_); -if (v_isShared_16835_ == 0) +v_isShared_16838_ = v_isSharedCheck_16846_; +goto v_resetjp_16836_; +} +v_resetjp_16836_: { -lean_ctor_set(v___x_16834_, 0, v___x_16839_); -v___x_16841_ = v___x_16834_; -goto v_reusejp_16840_; +lean_object* v_levelParams_16839_; lean_object* v___x_16840_; lean_object* v___x_16841_; lean_object* v___x_16842_; lean_object* v___x_16844_; +v_levelParams_16839_ = lean_ctor_get(v_a_16835_, 1); +lean_inc(v_levelParams_16839_); +lean_dec(v_a_16835_); +v___x_16840_ = lean_box(0); +v___x_16841_ = l_List_mapTR_loop___at___00Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0_spec__0(v_levelParams_16839_, v___x_16840_); +v___x_16842_ = l_Lean_mkConst(v_constName_16828_, v___x_16841_); +if (v_isShared_16838_ == 0) +{ +lean_ctor_set(v___x_16837_, 0, v___x_16842_); +v___x_16844_ = v___x_16837_; +goto v_reusejp_16843_; } else { -lean_object* v_reuseFailAlloc_16842_; -v_reuseFailAlloc_16842_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16842_, 0, v___x_16839_); -v___x_16841_ = v_reuseFailAlloc_16842_; -goto v_reusejp_16840_; +lean_object* v_reuseFailAlloc_16845_; +v_reuseFailAlloc_16845_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16845_, 0, v___x_16842_); +v___x_16844_ = v_reuseFailAlloc_16845_; +goto v_reusejp_16843_; } -v_reusejp_16840_: +v_reusejp_16843_: { -return v___x_16841_; +return v___x_16844_; } } } else { -lean_object* v_a_16844_; lean_object* v___x_16846_; uint8_t v_isShared_16847_; uint8_t v_isSharedCheck_16851_; -lean_dec(v_constName_16825_); -v_a_16844_ = lean_ctor_get(v___x_16831_, 0); -v_isSharedCheck_16851_ = !lean_is_exclusive(v___x_16831_); -if (v_isSharedCheck_16851_ == 0) +lean_object* v_a_16847_; lean_object* v___x_16849_; uint8_t v_isShared_16850_; uint8_t v_isSharedCheck_16854_; +lean_dec(v_constName_16828_); +v_a_16847_ = lean_ctor_get(v___x_16834_, 0); +v_isSharedCheck_16854_ = !lean_is_exclusive(v___x_16834_); +if (v_isSharedCheck_16854_ == 0) { -v___x_16846_ = v___x_16831_; -v_isShared_16847_ = v_isSharedCheck_16851_; -goto v_resetjp_16845_; +v___x_16849_ = v___x_16834_; +v_isShared_16850_ = v_isSharedCheck_16854_; +goto v_resetjp_16848_; } else { -lean_inc(v_a_16844_); -lean_dec(v___x_16831_); -v___x_16846_ = lean_box(0); -v_isShared_16847_ = v_isSharedCheck_16851_; -goto v_resetjp_16845_; +lean_inc(v_a_16847_); +lean_dec(v___x_16834_); +v___x_16849_ = lean_box(0); +v_isShared_16850_ = v_isSharedCheck_16854_; +goto v_resetjp_16848_; } -v_resetjp_16845_: +v_resetjp_16848_: { -lean_object* v___x_16849_; -if (v_isShared_16847_ == 0) +lean_object* v___x_16852_; +if (v_isShared_16850_ == 0) { -v___x_16849_ = v___x_16846_; -goto v_reusejp_16848_; +v___x_16852_ = v___x_16849_; +goto v_reusejp_16851_; } else { -lean_object* v_reuseFailAlloc_16850_; -v_reuseFailAlloc_16850_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16850_, 0, v_a_16844_); -v___x_16849_ = v_reuseFailAlloc_16850_; -goto v_reusejp_16848_; +lean_object* v_reuseFailAlloc_16853_; +v_reuseFailAlloc_16853_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16853_, 0, v_a_16847_); +v___x_16852_ = v_reuseFailAlloc_16853_; +goto v_reusejp_16851_; } -v_reusejp_16848_: +v_reusejp_16851_: { -return v___x_16849_; +return v___x_16852_; } } } } } -LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0___boxed(lean_object* v_constName_16852_, lean_object* v___y_16853_, lean_object* v___y_16854_, lean_object* v___y_16855_, lean_object* v___y_16856_, lean_object* v___y_16857_){ +LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0___boxed(lean_object* v_constName_16855_, lean_object* v___y_16856_, lean_object* v___y_16857_, lean_object* v___y_16858_, lean_object* v___y_16859_, lean_object* v___y_16860_){ _start: { -lean_object* v_res_16858_; -v_res_16858_ = l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(v_constName_16852_, v___y_16853_, v___y_16854_, v___y_16855_, v___y_16856_); -lean_dec(v___y_16856_); -lean_dec(v___y_16854_); -lean_dec_ref(v___y_16853_); -return v_res_16858_; +lean_object* v_res_16861_; +v_res_16861_ = l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(v_constName_16855_, v___y_16856_, v___y_16857_, v___y_16858_, v___y_16859_); +lean_dec(v___y_16859_); +lean_dec(v___y_16857_); +lean_dec_ref(v___y_16856_); +return v_res_16861_; } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(lean_object* v_msg_16859_, lean_object* v___y_16860_, lean_object* v___y_16861_, lean_object* v___y_16862_, lean_object* v___y_16863_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(lean_object* v_msg_16862_, lean_object* v___y_16863_, lean_object* v___y_16864_, lean_object* v___y_16865_, lean_object* v___y_16866_){ _start: { -lean_object* v___x_16865_; lean_object* v_toApplicative_16866_; lean_object* v___x_16868_; uint8_t v_isShared_16869_; uint8_t v_isSharedCheck_16927_; -v___x_16865_ = lean_obj_once(&l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1, &l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1_once, _init_l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1); -v_toApplicative_16866_ = lean_ctor_get(v___x_16865_, 0); -v_isSharedCheck_16927_ = !lean_is_exclusive(v___x_16865_); -if (v_isSharedCheck_16927_ == 0) +lean_object* v___x_16868_; lean_object* v_toApplicative_16869_; lean_object* v___x_16871_; uint8_t v_isShared_16872_; uint8_t v_isSharedCheck_16930_; +v___x_16868_ = lean_obj_once(&l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1, &l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1_once, _init_l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__1); +v_toApplicative_16869_ = lean_ctor_get(v___x_16868_, 0); +v_isSharedCheck_16930_ = !lean_is_exclusive(v___x_16868_); +if (v_isSharedCheck_16930_ == 0) { -lean_object* v_unused_16928_; -v_unused_16928_ = lean_ctor_get(v___x_16865_, 1); -lean_dec(v_unused_16928_); -v___x_16868_ = v___x_16865_; -v_isShared_16869_ = v_isSharedCheck_16927_; -goto v_resetjp_16867_; +lean_object* v_unused_16931_; +v_unused_16931_ = lean_ctor_get(v___x_16868_, 1); +lean_dec(v_unused_16931_); +v___x_16871_ = v___x_16868_; +v_isShared_16872_ = v_isSharedCheck_16930_; +goto v_resetjp_16870_; } else { -lean_inc(v_toApplicative_16866_); -lean_dec(v___x_16865_); -v___x_16868_ = lean_box(0); -v_isShared_16869_ = v_isSharedCheck_16927_; -goto v_resetjp_16867_; +lean_inc(v_toApplicative_16869_); +lean_dec(v___x_16868_); +v___x_16871_ = lean_box(0); +v_isShared_16872_ = v_isSharedCheck_16930_; +goto v_resetjp_16870_; } -v_resetjp_16867_: +v_resetjp_16870_: { -lean_object* v_toFunctor_16870_; lean_object* v_toSeq_16871_; lean_object* v_toSeqLeft_16872_; lean_object* v_toSeqRight_16873_; lean_object* v___x_16875_; uint8_t v_isShared_16876_; uint8_t v_isSharedCheck_16925_; -v_toFunctor_16870_ = lean_ctor_get(v_toApplicative_16866_, 0); -v_toSeq_16871_ = lean_ctor_get(v_toApplicative_16866_, 2); -v_toSeqLeft_16872_ = lean_ctor_get(v_toApplicative_16866_, 3); -v_toSeqRight_16873_ = lean_ctor_get(v_toApplicative_16866_, 4); -v_isSharedCheck_16925_ = !lean_is_exclusive(v_toApplicative_16866_); -if (v_isSharedCheck_16925_ == 0) +lean_object* v_toFunctor_16873_; lean_object* v_toSeq_16874_; lean_object* v_toSeqLeft_16875_; lean_object* v_toSeqRight_16876_; lean_object* v___x_16878_; uint8_t v_isShared_16879_; uint8_t v_isSharedCheck_16928_; +v_toFunctor_16873_ = lean_ctor_get(v_toApplicative_16869_, 0); +v_toSeq_16874_ = lean_ctor_get(v_toApplicative_16869_, 2); +v_toSeqLeft_16875_ = lean_ctor_get(v_toApplicative_16869_, 3); +v_toSeqRight_16876_ = lean_ctor_get(v_toApplicative_16869_, 4); +v_isSharedCheck_16928_ = !lean_is_exclusive(v_toApplicative_16869_); +if (v_isSharedCheck_16928_ == 0) { -lean_object* v_unused_16926_; -v_unused_16926_ = lean_ctor_get(v_toApplicative_16866_, 1); -lean_dec(v_unused_16926_); -v___x_16875_ = v_toApplicative_16866_; -v_isShared_16876_ = v_isSharedCheck_16925_; -goto v_resetjp_16874_; +lean_object* v_unused_16929_; +v_unused_16929_ = lean_ctor_get(v_toApplicative_16869_, 1); +lean_dec(v_unused_16929_); +v___x_16878_ = v_toApplicative_16869_; +v_isShared_16879_ = v_isSharedCheck_16928_; +goto v_resetjp_16877_; } else { -lean_inc(v_toSeqRight_16873_); -lean_inc(v_toSeqLeft_16872_); -lean_inc(v_toSeq_16871_); -lean_inc(v_toFunctor_16870_); -lean_dec(v_toApplicative_16866_); -v___x_16875_ = lean_box(0); -v_isShared_16876_ = v_isSharedCheck_16925_; -goto v_resetjp_16874_; +lean_inc(v_toSeqRight_16876_); +lean_inc(v_toSeqLeft_16875_); +lean_inc(v_toSeq_16874_); +lean_inc(v_toFunctor_16873_); +lean_dec(v_toApplicative_16869_); +v___x_16878_ = lean_box(0); +v_isShared_16879_ = v_isSharedCheck_16928_; +goto v_resetjp_16877_; } -v_resetjp_16874_: +v_resetjp_16877_: { -lean_object* v___f_16877_; lean_object* v___f_16878_; lean_object* v___f_16879_; lean_object* v___f_16880_; lean_object* v___x_16881_; lean_object* v___f_16882_; lean_object* v___f_16883_; lean_object* v___f_16884_; lean_object* v___x_16886_; -v___f_16877_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__2)); -v___f_16878_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__3)); -lean_inc_ref(v_toFunctor_16870_); -v___f_16879_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_16879_, 0, v_toFunctor_16870_); -v___f_16880_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_16880_, 0, v_toFunctor_16870_); -v___x_16881_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_16881_, 0, v___f_16879_); -lean_ctor_set(v___x_16881_, 1, v___f_16880_); -v___f_16882_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_16882_, 0, v_toSeqRight_16873_); -v___f_16883_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_16883_, 0, v_toSeqLeft_16872_); -v___f_16884_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_16884_, 0, v_toSeq_16871_); -if (v_isShared_16876_ == 0) +lean_object* v___f_16880_; lean_object* v___f_16881_; lean_object* v___f_16882_; lean_object* v___f_16883_; lean_object* v___x_16884_; lean_object* v___f_16885_; lean_object* v___f_16886_; lean_object* v___f_16887_; lean_object* v___x_16889_; +v___f_16880_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__2)); +v___f_16881_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__3)); +lean_inc_ref(v_toFunctor_16873_); +v___f_16882_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_16882_, 0, v_toFunctor_16873_); +v___f_16883_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_16883_, 0, v_toFunctor_16873_); +v___x_16884_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_16884_, 0, v___f_16882_); +lean_ctor_set(v___x_16884_, 1, v___f_16883_); +v___f_16885_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_16885_, 0, v_toSeqRight_16876_); +v___f_16886_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_16886_, 0, v_toSeqLeft_16875_); +v___f_16887_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_16887_, 0, v_toSeq_16874_); +if (v_isShared_16879_ == 0) { -lean_ctor_set(v___x_16875_, 4, v___f_16882_); -lean_ctor_set(v___x_16875_, 3, v___f_16883_); -lean_ctor_set(v___x_16875_, 2, v___f_16884_); -lean_ctor_set(v___x_16875_, 1, v___f_16877_); -lean_ctor_set(v___x_16875_, 0, v___x_16881_); -v___x_16886_ = v___x_16875_; -goto v_reusejp_16885_; +lean_ctor_set(v___x_16878_, 4, v___f_16885_); +lean_ctor_set(v___x_16878_, 3, v___f_16886_); +lean_ctor_set(v___x_16878_, 2, v___f_16887_); +lean_ctor_set(v___x_16878_, 1, v___f_16880_); +lean_ctor_set(v___x_16878_, 0, v___x_16884_); +v___x_16889_ = v___x_16878_; +goto v_reusejp_16888_; } else { -lean_object* v_reuseFailAlloc_16924_; -v_reuseFailAlloc_16924_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_16924_, 0, v___x_16881_); -lean_ctor_set(v_reuseFailAlloc_16924_, 1, v___f_16877_); -lean_ctor_set(v_reuseFailAlloc_16924_, 2, v___f_16884_); -lean_ctor_set(v_reuseFailAlloc_16924_, 3, v___f_16883_); -lean_ctor_set(v_reuseFailAlloc_16924_, 4, v___f_16882_); -v___x_16886_ = v_reuseFailAlloc_16924_; -goto v_reusejp_16885_; +lean_object* v_reuseFailAlloc_16927_; +v_reuseFailAlloc_16927_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_16927_, 0, v___x_16884_); +lean_ctor_set(v_reuseFailAlloc_16927_, 1, v___f_16880_); +lean_ctor_set(v_reuseFailAlloc_16927_, 2, v___f_16887_); +lean_ctor_set(v_reuseFailAlloc_16927_, 3, v___f_16886_); +lean_ctor_set(v_reuseFailAlloc_16927_, 4, v___f_16885_); +v___x_16889_ = v_reuseFailAlloc_16927_; +goto v_reusejp_16888_; } -v_reusejp_16885_: +v_reusejp_16888_: { -lean_object* v___x_16888_; -if (v_isShared_16869_ == 0) +lean_object* v___x_16891_; +if (v_isShared_16872_ == 0) { -lean_ctor_set(v___x_16868_, 1, v___f_16878_); -lean_ctor_set(v___x_16868_, 0, v___x_16886_); -v___x_16888_ = v___x_16868_; -goto v_reusejp_16887_; +lean_ctor_set(v___x_16871_, 1, v___f_16881_); +lean_ctor_set(v___x_16871_, 0, v___x_16889_); +v___x_16891_ = v___x_16871_; +goto v_reusejp_16890_; } else { -lean_object* v_reuseFailAlloc_16923_; -v_reuseFailAlloc_16923_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16923_, 0, v___x_16886_); -lean_ctor_set(v_reuseFailAlloc_16923_, 1, v___f_16878_); -v___x_16888_ = v_reuseFailAlloc_16923_; -goto v_reusejp_16887_; +lean_object* v_reuseFailAlloc_16926_; +v_reuseFailAlloc_16926_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16926_, 0, v___x_16889_); +lean_ctor_set(v_reuseFailAlloc_16926_, 1, v___f_16881_); +v___x_16891_ = v_reuseFailAlloc_16926_; +goto v_reusejp_16890_; } -v_reusejp_16887_: +v_reusejp_16890_: { -lean_object* v___x_16889_; lean_object* v_toApplicative_16890_; lean_object* v___x_16892_; uint8_t v_isShared_16893_; uint8_t v_isSharedCheck_16921_; -v___x_16889_ = l_ReaderT_instMonad___redArg(v___x_16888_); -v_toApplicative_16890_ = lean_ctor_get(v___x_16889_, 0); -v_isSharedCheck_16921_ = !lean_is_exclusive(v___x_16889_); -if (v_isSharedCheck_16921_ == 0) +lean_object* v___x_16892_; lean_object* v_toApplicative_16893_; lean_object* v___x_16895_; uint8_t v_isShared_16896_; uint8_t v_isSharedCheck_16924_; +v___x_16892_ = l_ReaderT_instMonad___redArg(v___x_16891_); +v_toApplicative_16893_ = lean_ctor_get(v___x_16892_, 0); +v_isSharedCheck_16924_ = !lean_is_exclusive(v___x_16892_); +if (v_isSharedCheck_16924_ == 0) { -lean_object* v_unused_16922_; -v_unused_16922_ = lean_ctor_get(v___x_16889_, 1); -lean_dec(v_unused_16922_); -v___x_16892_ = v___x_16889_; -v_isShared_16893_ = v_isSharedCheck_16921_; -goto v_resetjp_16891_; +lean_object* v_unused_16925_; +v_unused_16925_ = lean_ctor_get(v___x_16892_, 1); +lean_dec(v_unused_16925_); +v___x_16895_ = v___x_16892_; +v_isShared_16896_ = v_isSharedCheck_16924_; +goto v_resetjp_16894_; } else { -lean_inc(v_toApplicative_16890_); -lean_dec(v___x_16889_); -v___x_16892_ = lean_box(0); -v_isShared_16893_ = v_isSharedCheck_16921_; -goto v_resetjp_16891_; +lean_inc(v_toApplicative_16893_); +lean_dec(v___x_16892_); +v___x_16895_ = lean_box(0); +v_isShared_16896_ = v_isSharedCheck_16924_; +goto v_resetjp_16894_; } -v_resetjp_16891_: +v_resetjp_16894_: { -lean_object* v_toFunctor_16894_; lean_object* v_toSeq_16895_; lean_object* v_toSeqLeft_16896_; lean_object* v_toSeqRight_16897_; lean_object* v___x_16899_; uint8_t v_isShared_16900_; uint8_t v_isSharedCheck_16919_; -v_toFunctor_16894_ = lean_ctor_get(v_toApplicative_16890_, 0); -v_toSeq_16895_ = lean_ctor_get(v_toApplicative_16890_, 2); -v_toSeqLeft_16896_ = lean_ctor_get(v_toApplicative_16890_, 3); -v_toSeqRight_16897_ = lean_ctor_get(v_toApplicative_16890_, 4); -v_isSharedCheck_16919_ = !lean_is_exclusive(v_toApplicative_16890_); -if (v_isSharedCheck_16919_ == 0) +lean_object* v_toFunctor_16897_; lean_object* v_toSeq_16898_; lean_object* v_toSeqLeft_16899_; lean_object* v_toSeqRight_16900_; lean_object* v___x_16902_; uint8_t v_isShared_16903_; uint8_t v_isSharedCheck_16922_; +v_toFunctor_16897_ = lean_ctor_get(v_toApplicative_16893_, 0); +v_toSeq_16898_ = lean_ctor_get(v_toApplicative_16893_, 2); +v_toSeqLeft_16899_ = lean_ctor_get(v_toApplicative_16893_, 3); +v_toSeqRight_16900_ = lean_ctor_get(v_toApplicative_16893_, 4); +v_isSharedCheck_16922_ = !lean_is_exclusive(v_toApplicative_16893_); +if (v_isSharedCheck_16922_ == 0) { -lean_object* v_unused_16920_; -v_unused_16920_ = lean_ctor_get(v_toApplicative_16890_, 1); -lean_dec(v_unused_16920_); -v___x_16899_ = v_toApplicative_16890_; -v_isShared_16900_ = v_isSharedCheck_16919_; -goto v_resetjp_16898_; +lean_object* v_unused_16923_; +v_unused_16923_ = lean_ctor_get(v_toApplicative_16893_, 1); +lean_dec(v_unused_16923_); +v___x_16902_ = v_toApplicative_16893_; +v_isShared_16903_ = v_isSharedCheck_16922_; +goto v_resetjp_16901_; } else { -lean_inc(v_toSeqRight_16897_); -lean_inc(v_toSeqLeft_16896_); -lean_inc(v_toSeq_16895_); -lean_inc(v_toFunctor_16894_); -lean_dec(v_toApplicative_16890_); -v___x_16899_ = lean_box(0); -v_isShared_16900_ = v_isSharedCheck_16919_; -goto v_resetjp_16898_; +lean_inc(v_toSeqRight_16900_); +lean_inc(v_toSeqLeft_16899_); +lean_inc(v_toSeq_16898_); +lean_inc(v_toFunctor_16897_); +lean_dec(v_toApplicative_16893_); +v___x_16902_ = lean_box(0); +v_isShared_16903_ = v_isSharedCheck_16922_; +goto v_resetjp_16901_; } -v_resetjp_16898_: +v_resetjp_16901_: { -lean_object* v___f_16901_; lean_object* v___f_16902_; lean_object* v___f_16903_; lean_object* v___f_16904_; lean_object* v___x_16905_; lean_object* v___f_16906_; lean_object* v___f_16907_; lean_object* v___f_16908_; lean_object* v___x_16910_; -v___f_16901_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__4)); -v___f_16902_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__5)); -lean_inc_ref(v_toFunctor_16894_); -v___f_16903_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_16903_, 0, v_toFunctor_16894_); -v___f_16904_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_16904_, 0, v_toFunctor_16894_); -v___x_16905_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_16905_, 0, v___f_16903_); -lean_ctor_set(v___x_16905_, 1, v___f_16904_); -v___f_16906_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_16906_, 0, v_toSeqRight_16897_); -v___f_16907_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_16907_, 0, v_toSeqLeft_16896_); -v___f_16908_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_16908_, 0, v_toSeq_16895_); -if (v_isShared_16900_ == 0) +lean_object* v___f_16904_; lean_object* v___f_16905_; lean_object* v___f_16906_; lean_object* v___f_16907_; lean_object* v___x_16908_; lean_object* v___f_16909_; lean_object* v___f_16910_; lean_object* v___f_16911_; lean_object* v___x_16913_; +v___f_16904_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__4)); +v___f_16905_ = ((lean_object*)(l_Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___redArg___closed__5)); +lean_inc_ref(v_toFunctor_16897_); +v___f_16906_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_16906_, 0, v_toFunctor_16897_); +v___f_16907_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_16907_, 0, v_toFunctor_16897_); +v___x_16908_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_16908_, 0, v___f_16906_); +lean_ctor_set(v___x_16908_, 1, v___f_16907_); +v___f_16909_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_16909_, 0, v_toSeqRight_16900_); +v___f_16910_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_16910_, 0, v_toSeqLeft_16899_); +v___f_16911_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_16911_, 0, v_toSeq_16898_); +if (v_isShared_16903_ == 0) { -lean_ctor_set(v___x_16899_, 4, v___f_16906_); -lean_ctor_set(v___x_16899_, 3, v___f_16907_); -lean_ctor_set(v___x_16899_, 2, v___f_16908_); -lean_ctor_set(v___x_16899_, 1, v___f_16901_); -lean_ctor_set(v___x_16899_, 0, v___x_16905_); -v___x_16910_ = v___x_16899_; -goto v_reusejp_16909_; +lean_ctor_set(v___x_16902_, 4, v___f_16909_); +lean_ctor_set(v___x_16902_, 3, v___f_16910_); +lean_ctor_set(v___x_16902_, 2, v___f_16911_); +lean_ctor_set(v___x_16902_, 1, v___f_16904_); +lean_ctor_set(v___x_16902_, 0, v___x_16908_); +v___x_16913_ = v___x_16902_; +goto v_reusejp_16912_; } else { -lean_object* v_reuseFailAlloc_16918_; -v_reuseFailAlloc_16918_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_16918_, 0, v___x_16905_); -lean_ctor_set(v_reuseFailAlloc_16918_, 1, v___f_16901_); -lean_ctor_set(v_reuseFailAlloc_16918_, 2, v___f_16908_); -lean_ctor_set(v_reuseFailAlloc_16918_, 3, v___f_16907_); -lean_ctor_set(v_reuseFailAlloc_16918_, 4, v___f_16906_); -v___x_16910_ = v_reuseFailAlloc_16918_; -goto v_reusejp_16909_; +lean_object* v_reuseFailAlloc_16921_; +v_reuseFailAlloc_16921_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_16921_, 0, v___x_16908_); +lean_ctor_set(v_reuseFailAlloc_16921_, 1, v___f_16904_); +lean_ctor_set(v_reuseFailAlloc_16921_, 2, v___f_16911_); +lean_ctor_set(v_reuseFailAlloc_16921_, 3, v___f_16910_); +lean_ctor_set(v_reuseFailAlloc_16921_, 4, v___f_16909_); +v___x_16913_ = v_reuseFailAlloc_16921_; +goto v_reusejp_16912_; } -v_reusejp_16909_: +v_reusejp_16912_: { -lean_object* v___x_16912_; -if (v_isShared_16893_ == 0) +lean_object* v___x_16915_; +if (v_isShared_16896_ == 0) { -lean_ctor_set(v___x_16892_, 1, v___f_16902_); -lean_ctor_set(v___x_16892_, 0, v___x_16910_); -v___x_16912_ = v___x_16892_; -goto v_reusejp_16911_; +lean_ctor_set(v___x_16895_, 1, v___f_16905_); +lean_ctor_set(v___x_16895_, 0, v___x_16913_); +v___x_16915_ = v___x_16895_; +goto v_reusejp_16914_; } else { -lean_object* v_reuseFailAlloc_16917_; -v_reuseFailAlloc_16917_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_16917_, 0, v___x_16910_); -lean_ctor_set(v_reuseFailAlloc_16917_, 1, v___f_16902_); -v___x_16912_ = v_reuseFailAlloc_16917_; -goto v_reusejp_16911_; +lean_object* v_reuseFailAlloc_16920_; +v_reuseFailAlloc_16920_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_16920_, 0, v___x_16913_); +lean_ctor_set(v_reuseFailAlloc_16920_, 1, v___f_16905_); +v___x_16915_ = v_reuseFailAlloc_16920_; +goto v_reusejp_16914_; } -v_reusejp_16911_: +v_reusejp_16914_: { -lean_object* v___x_16913_; lean_object* v___x_16914_; lean_object* v___x_2668__overap_16915_; lean_object* v___x_16916_; -v___x_16913_ = l_Lean_Meta_Match_instInhabitedAltParamInfo_default; -v___x_16914_ = l_instInhabitedOfMonad___redArg(v___x_16912_, v___x_16913_); -v___x_2668__overap_16915_ = lean_panic_fn(v___x_16914_, v_msg_16859_); -v___x_16916_ = lean_apply_5(v___x_2668__overap_16915_, v___y_16860_, v___y_16861_, v___y_16862_, v___y_16863_, lean_box(0)); -return v___x_16916_; +lean_object* v___x_16916_; lean_object* v___x_16917_; lean_object* v___x_2668__overap_16918_; lean_object* v___x_16919_; +v___x_16916_ = l_Lean_Meta_Match_instInhabitedAltParamInfo_default; +v___x_16917_ = l_instInhabitedOfMonad___redArg(v___x_16915_, v___x_16916_); +v___x_2668__overap_16918_ = lean_panic_fn(v___x_16917_, v_msg_16862_); +v___x_16919_ = lean_apply_5(v___x_2668__overap_16918_, v___y_16863_, v___y_16864_, v___y_16865_, v___y_16866_, lean_box(0)); +return v___x_16919_; } } } @@ -56504,1264 +56521,1264 @@ return v___x_16916_; } } } -LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2___boxed(lean_object* v_msg_16929_, lean_object* v___y_16930_, lean_object* v___y_16931_, lean_object* v___y_16932_, lean_object* v___y_16933_, lean_object* v___y_16934_){ +LEAN_EXPORT lean_object* l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2___boxed(lean_object* v_msg_16932_, lean_object* v___y_16933_, lean_object* v___y_16934_, lean_object* v___y_16935_, lean_object* v___y_16936_, lean_object* v___y_16937_){ _start: { -lean_object* v_res_16935_; -v_res_16935_ = l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(v_msg_16929_, v___y_16930_, v___y_16931_, v___y_16932_, v___y_16933_); -return v_res_16935_; +lean_object* v_res_16938_; +v_res_16938_ = l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(v_msg_16932_, v___y_16933_, v___y_16934_, v___y_16935_, v___y_16936_); +return v_res_16938_; } } static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3(void){ _start: { -lean_object* v___x_16939_; lean_object* v___x_16940_; lean_object* v___x_16941_; lean_object* v___x_16942_; lean_object* v___x_16943_; lean_object* v___x_16944_; -v___x_16939_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__2)); -v___x_16940_ = lean_unsigned_to_nat(53u); -v___x_16941_ = lean_unsigned_to_nat(62u); -v___x_16942_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__1)); -v___x_16943_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__0)); -v___x_16944_ = l_mkPanicMessageWithDecl(v___x_16943_, v___x_16942_, v___x_16941_, v___x_16940_, v___x_16939_); -return v___x_16944_; +lean_object* v___x_16942_; lean_object* v___x_16943_; lean_object* v___x_16944_; lean_object* v___x_16945_; lean_object* v___x_16946_; lean_object* v___x_16947_; +v___x_16942_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__2)); +v___x_16943_ = lean_unsigned_to_nat(53u); +v___x_16944_ = lean_unsigned_to_nat(62u); +v___x_16945_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__1)); +v___x_16946_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__0)); +v___x_16947_ = l_mkPanicMessageWithDecl(v___x_16946_, v___x_16945_, v___x_16944_, v___x_16943_, v___x_16942_); +return v___x_16947_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(size_t v_sz_16945_, size_t v_i_16946_, lean_object* v_bs_16947_, lean_object* v___y_16948_, lean_object* v___y_16949_, lean_object* v___y_16950_, lean_object* v___y_16951_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(size_t v_sz_16948_, size_t v_i_16949_, lean_object* v_bs_16950_, lean_object* v___y_16951_, lean_object* v___y_16952_, lean_object* v___y_16953_, lean_object* v___y_16954_){ _start: { -uint8_t v___x_16953_; -v___x_16953_ = lean_usize_dec_lt(v_i_16946_, v_sz_16945_); -if (v___x_16953_ == 0) +uint8_t v___x_16956_; +v___x_16956_ = lean_usize_dec_lt(v_i_16949_, v_sz_16948_); +if (v___x_16956_ == 0) { -lean_object* v___x_16954_; -lean_dec(v___y_16951_); -lean_dec_ref(v___y_16950_); -lean_dec(v___y_16949_); -lean_dec_ref(v___y_16948_); -v___x_16954_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_16954_, 0, v_bs_16947_); -return v___x_16954_; +lean_object* v___x_16957_; +lean_dec(v___y_16954_); +lean_dec_ref(v___y_16953_); +lean_dec(v___y_16952_); +lean_dec_ref(v___y_16951_); +v___x_16957_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_16957_, 0, v_bs_16950_); +return v___x_16957_; } else { -lean_object* v_v_16955_; lean_object* v___x_16956_; -v_v_16955_ = lean_array_uget_borrowed(v_bs_16947_, v_i_16946_); -lean_inc_ref(v___y_16950_); -lean_inc(v_v_16955_); -v___x_16956_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_v_16955_, v___y_16948_, v___y_16949_, v___y_16950_, v___y_16951_); -if (lean_obj_tag(v___x_16956_) == 0) +lean_object* v_v_16958_; lean_object* v___x_16959_; +v_v_16958_ = lean_array_uget_borrowed(v_bs_16950_, v_i_16949_); +lean_inc_ref(v___y_16953_); +lean_inc(v_v_16958_); +v___x_16959_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_v_16958_, v___y_16951_, v___y_16952_, v___y_16953_, v___y_16954_); +if (lean_obj_tag(v___x_16959_) == 0) { -lean_object* v_a_16957_; lean_object* v___x_16958_; lean_object* v_bs_x27_16959_; lean_object* v_a_16961_; -v_a_16957_ = lean_ctor_get(v___x_16956_, 0); -lean_inc(v_a_16957_); -lean_dec_ref(v___x_16956_); -v___x_16958_ = lean_unsigned_to_nat(0u); -v_bs_x27_16959_ = lean_array_uset(v_bs_16947_, v_i_16946_, v___x_16958_); -if (lean_obj_tag(v_a_16957_) == 6) +lean_object* v_a_16960_; lean_object* v___x_16961_; lean_object* v_bs_x27_16962_; lean_object* v_a_16964_; +v_a_16960_ = lean_ctor_get(v___x_16959_, 0); +lean_inc(v_a_16960_); +lean_dec_ref(v___x_16959_); +v___x_16961_ = lean_unsigned_to_nat(0u); +v_bs_x27_16962_ = lean_array_uset(v_bs_16950_, v_i_16949_, v___x_16961_); +if (lean_obj_tag(v_a_16960_) == 6) { -lean_object* v_val_16966_; lean_object* v_numFields_16967_; uint8_t v___x_16968_; lean_object* v___x_16969_; -v_val_16966_ = lean_ctor_get(v_a_16957_, 0); -lean_inc_ref(v_val_16966_); -lean_dec_ref(v_a_16957_); -v_numFields_16967_ = lean_ctor_get(v_val_16966_, 4); -lean_inc(v_numFields_16967_); -lean_dec_ref(v_val_16966_); -v___x_16968_ = 0; -v___x_16969_ = lean_alloc_ctor(0, 2, 1); -lean_ctor_set(v___x_16969_, 0, v_numFields_16967_); -lean_ctor_set(v___x_16969_, 1, v___x_16958_); -lean_ctor_set_uint8(v___x_16969_, sizeof(void*)*2, v___x_16968_); -v_a_16961_ = v___x_16969_; -goto v___jp_16960_; +lean_object* v_val_16969_; lean_object* v_numFields_16970_; uint8_t v___x_16971_; lean_object* v___x_16972_; +v_val_16969_ = lean_ctor_get(v_a_16960_, 0); +lean_inc_ref(v_val_16969_); +lean_dec_ref(v_a_16960_); +v_numFields_16970_ = lean_ctor_get(v_val_16969_, 4); +lean_inc(v_numFields_16970_); +lean_dec_ref(v_val_16969_); +v___x_16971_ = 0; +v___x_16972_ = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(v___x_16972_, 0, v_numFields_16970_); +lean_ctor_set(v___x_16972_, 1, v___x_16961_); +lean_ctor_set_uint8(v___x_16972_, sizeof(void*)*2, v___x_16971_); +v_a_16964_ = v___x_16972_; +goto v___jp_16963_; } else { -lean_object* v___x_16970_; lean_object* v___x_16971_; -lean_dec(v_a_16957_); -v___x_16970_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3); -lean_inc(v___y_16951_); -lean_inc_ref(v___y_16950_); -lean_inc(v___y_16949_); -lean_inc_ref(v___y_16948_); -v___x_16971_ = l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(v___x_16970_, v___y_16948_, v___y_16949_, v___y_16950_, v___y_16951_); -if (lean_obj_tag(v___x_16971_) == 0) +lean_object* v___x_16973_; lean_object* v___x_16974_; +lean_dec(v_a_16960_); +v___x_16973_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___closed__3); +lean_inc(v___y_16954_); +lean_inc_ref(v___y_16953_); +lean_inc(v___y_16952_); +lean_inc_ref(v___y_16951_); +v___x_16974_ = l_panic___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__2(v___x_16973_, v___y_16951_, v___y_16952_, v___y_16953_, v___y_16954_); +if (lean_obj_tag(v___x_16974_) == 0) { -lean_object* v_a_16972_; -v_a_16972_ = lean_ctor_get(v___x_16971_, 0); -lean_inc(v_a_16972_); -lean_dec_ref(v___x_16971_); -v_a_16961_ = v_a_16972_; -goto v___jp_16960_; +lean_object* v_a_16975_; +v_a_16975_ = lean_ctor_get(v___x_16974_, 0); +lean_inc(v_a_16975_); +lean_dec_ref(v___x_16974_); +v_a_16964_ = v_a_16975_; +goto v___jp_16963_; } else { -lean_object* v_a_16973_; lean_object* v___x_16975_; uint8_t v_isShared_16976_; uint8_t v_isSharedCheck_16980_; -lean_dec_ref(v_bs_x27_16959_); -lean_dec(v___y_16951_); -lean_dec_ref(v___y_16950_); -lean_dec(v___y_16949_); -lean_dec_ref(v___y_16948_); -v_a_16973_ = lean_ctor_get(v___x_16971_, 0); -v_isSharedCheck_16980_ = !lean_is_exclusive(v___x_16971_); -if (v_isSharedCheck_16980_ == 0) +lean_object* v_a_16976_; lean_object* v___x_16978_; uint8_t v_isShared_16979_; uint8_t v_isSharedCheck_16983_; +lean_dec_ref(v_bs_x27_16962_); +lean_dec(v___y_16954_); +lean_dec_ref(v___y_16953_); +lean_dec(v___y_16952_); +lean_dec_ref(v___y_16951_); +v_a_16976_ = lean_ctor_get(v___x_16974_, 0); +v_isSharedCheck_16983_ = !lean_is_exclusive(v___x_16974_); +if (v_isSharedCheck_16983_ == 0) { -v___x_16975_ = v___x_16971_; -v_isShared_16976_ = v_isSharedCheck_16980_; -goto v_resetjp_16974_; +v___x_16978_ = v___x_16974_; +v_isShared_16979_ = v_isSharedCheck_16983_; +goto v_resetjp_16977_; } else { -lean_inc(v_a_16973_); -lean_dec(v___x_16971_); -v___x_16975_ = lean_box(0); -v_isShared_16976_ = v_isSharedCheck_16980_; -goto v_resetjp_16974_; +lean_inc(v_a_16976_); +lean_dec(v___x_16974_); +v___x_16978_ = lean_box(0); +v_isShared_16979_ = v_isSharedCheck_16983_; +goto v_resetjp_16977_; } -v_resetjp_16974_: +v_resetjp_16977_: { -lean_object* v___x_16978_; -if (v_isShared_16976_ == 0) +lean_object* v___x_16981_; +if (v_isShared_16979_ == 0) { -v___x_16978_ = v___x_16975_; -goto v_reusejp_16977_; +v___x_16981_ = v___x_16978_; +goto v_reusejp_16980_; } else { -lean_object* v_reuseFailAlloc_16979_; -v_reuseFailAlloc_16979_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16979_, 0, v_a_16973_); -v___x_16978_ = v_reuseFailAlloc_16979_; -goto v_reusejp_16977_; +lean_object* v_reuseFailAlloc_16982_; +v_reuseFailAlloc_16982_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16982_, 0, v_a_16976_); +v___x_16981_ = v_reuseFailAlloc_16982_; +goto v_reusejp_16980_; } -v_reusejp_16977_: +v_reusejp_16980_: { -return v___x_16978_; +return v___x_16981_; } } } } -v___jp_16960_: +v___jp_16963_: { -size_t v___x_16962_; size_t v___x_16963_; lean_object* v___x_16964_; -v___x_16962_ = ((size_t)1ULL); -v___x_16963_ = lean_usize_add(v_i_16946_, v___x_16962_); -v___x_16964_ = lean_array_uset(v_bs_x27_16959_, v_i_16946_, v_a_16961_); -v_i_16946_ = v___x_16963_; -v_bs_16947_ = v___x_16964_; +size_t v___x_16965_; size_t v___x_16966_; lean_object* v___x_16967_; +v___x_16965_ = ((size_t)1ULL); +v___x_16966_ = lean_usize_add(v_i_16949_, v___x_16965_); +v___x_16967_ = lean_array_uset(v_bs_x27_16962_, v_i_16949_, v_a_16964_); +v_i_16949_ = v___x_16966_; +v_bs_16950_ = v___x_16967_; goto _start; } } else { -lean_object* v_a_16981_; lean_object* v___x_16983_; uint8_t v_isShared_16984_; uint8_t v_isSharedCheck_16988_; -lean_dec(v___y_16951_); -lean_dec_ref(v___y_16950_); -lean_dec(v___y_16949_); -lean_dec_ref(v___y_16948_); -lean_dec_ref(v_bs_16947_); -v_a_16981_ = lean_ctor_get(v___x_16956_, 0); -v_isSharedCheck_16988_ = !lean_is_exclusive(v___x_16956_); -if (v_isSharedCheck_16988_ == 0) +lean_object* v_a_16984_; lean_object* v___x_16986_; uint8_t v_isShared_16987_; uint8_t v_isSharedCheck_16991_; +lean_dec(v___y_16954_); +lean_dec_ref(v___y_16953_); +lean_dec(v___y_16952_); +lean_dec_ref(v___y_16951_); +lean_dec_ref(v_bs_16950_); +v_a_16984_ = lean_ctor_get(v___x_16959_, 0); +v_isSharedCheck_16991_ = !lean_is_exclusive(v___x_16959_); +if (v_isSharedCheck_16991_ == 0) { -v___x_16983_ = v___x_16956_; -v_isShared_16984_ = v_isSharedCheck_16988_; -goto v_resetjp_16982_; +v___x_16986_ = v___x_16959_; +v_isShared_16987_ = v_isSharedCheck_16991_; +goto v_resetjp_16985_; } else { -lean_inc(v_a_16981_); -lean_dec(v___x_16956_); -v___x_16983_ = lean_box(0); -v_isShared_16984_ = v_isSharedCheck_16988_; -goto v_resetjp_16982_; +lean_inc(v_a_16984_); +lean_dec(v___x_16959_); +v___x_16986_ = lean_box(0); +v_isShared_16987_ = v_isSharedCheck_16991_; +goto v_resetjp_16985_; } -v_resetjp_16982_: +v_resetjp_16985_: { -lean_object* v___x_16986_; -if (v_isShared_16984_ == 0) +lean_object* v___x_16989_; +if (v_isShared_16987_ == 0) { -v___x_16986_ = v___x_16983_; -goto v_reusejp_16985_; +v___x_16989_ = v___x_16986_; +goto v_reusejp_16988_; } else { -lean_object* v_reuseFailAlloc_16987_; -v_reuseFailAlloc_16987_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_16987_, 0, v_a_16981_); -v___x_16986_ = v_reuseFailAlloc_16987_; -goto v_reusejp_16985_; +lean_object* v_reuseFailAlloc_16990_; +v_reuseFailAlloc_16990_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_16990_, 0, v_a_16984_); +v___x_16989_ = v_reuseFailAlloc_16990_; +goto v_reusejp_16988_; } -v_reusejp_16985_: +v_reusejp_16988_: { -return v___x_16986_; +return v___x_16989_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___boxed(lean_object* v_sz_16989_, lean_object* v_i_16990_, lean_object* v_bs_16991_, lean_object* v___y_16992_, lean_object* v___y_16993_, lean_object* v___y_16994_, lean_object* v___y_16995_, lean_object* v___y_16996_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3___boxed(lean_object* v_sz_16992_, lean_object* v_i_16993_, lean_object* v_bs_16994_, lean_object* v___y_16995_, lean_object* v___y_16996_, lean_object* v___y_16997_, lean_object* v___y_16998_, lean_object* v___y_16999_){ _start: { -size_t v_sz_boxed_16997_; size_t v_i_boxed_16998_; lean_object* v_res_16999_; -v_sz_boxed_16997_ = lean_unbox_usize(v_sz_16989_); -lean_dec(v_sz_16989_); -v_i_boxed_16998_ = lean_unbox_usize(v_i_16990_); -lean_dec(v_i_16990_); -v_res_16999_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(v_sz_boxed_16997_, v_i_boxed_16998_, v_bs_16991_, v___y_16992_, v___y_16993_, v___y_16994_, v___y_16995_); -return v_res_16999_; +size_t v_sz_boxed_17000_; size_t v_i_boxed_17001_; lean_object* v_res_17002_; +v_sz_boxed_17000_ = lean_unbox_usize(v_sz_16992_); +lean_dec(v_sz_16992_); +v_i_boxed_17001_ = lean_unbox_usize(v_i_16993_); +lean_dec(v_i_16993_); +v_res_17002_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(v_sz_boxed_17000_, v_i_boxed_17001_, v_bs_16994_, v___y_16995_, v___y_16996_, v___y_16997_, v___y_16998_); +return v_res_17002_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(lean_object* v_e_17002_, uint8_t v_alsoCasesOn_17003_, lean_object* v___y_17004_, lean_object* v___y_17005_, lean_object* v___y_17006_, lean_object* v___y_17007_){ +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(lean_object* v_e_17005_, uint8_t v_alsoCasesOn_17006_, lean_object* v___y_17007_, lean_object* v___y_17008_, lean_object* v___y_17009_, lean_object* v___y_17010_){ _start: { -uint8_t v___x_17012_; -v___x_17012_ = l_Lean_Expr_isApp(v_e_17002_); -if (v___x_17012_ == 0) +uint8_t v___x_17015_; +v___x_17015_ = l_Lean_Expr_isApp(v_e_17005_); +if (v___x_17015_ == 0) +{ +lean_object* v___x_17016_; lean_object* v___x_17017_; +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +v___x_17016_ = lean_box(0); +v___x_17017_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_17017_, 0, v___x_17016_); +return v___x_17017_; +} +else +{ +lean_object* v___x_17018_; +v___x_17018_ = l_Lean_Expr_getAppFn(v_e_17005_); +if (lean_obj_tag(v___x_17018_) == 4) +{ +lean_object* v_declName_17019_; lean_object* v_us_17020_; lean_object* v___x_17021_; lean_object* v_a_17022_; lean_object* v___x_17024_; uint8_t v_isShared_17025_; uint8_t v_isSharedCheck_17176_; +v_declName_17019_ = lean_ctor_get(v___x_17018_, 0); +lean_inc(v_declName_17019_); +v_us_17020_ = lean_ctor_get(v___x_17018_, 1); +lean_inc(v_us_17020_); +lean_dec_ref(v___x_17018_); +lean_inc(v_declName_17019_); +v___x_17021_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_17019_, v___y_17010_); +v_a_17022_ = lean_ctor_get(v___x_17021_, 0); +v_isSharedCheck_17176_ = !lean_is_exclusive(v___x_17021_); +if (v_isSharedCheck_17176_ == 0) +{ +v___x_17024_ = v___x_17021_; +v_isShared_17025_ = v_isSharedCheck_17176_; +goto v_resetjp_17023_; +} +else +{ +lean_inc(v_a_17022_); +lean_dec(v___x_17021_); +v___x_17024_ = lean_box(0); +v_isShared_17025_ = v_isSharedCheck_17176_; +goto v_resetjp_17023_; +} +v_resetjp_17023_: +{ +if (lean_obj_tag(v_a_17022_) == 1) +{ +lean_object* v_val_17026_; lean_object* v___x_17028_; uint8_t v_isShared_17029_; uint8_t v_isSharedCheck_17068_; +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +v_val_17026_ = lean_ctor_get(v_a_17022_, 0); +v_isSharedCheck_17068_ = !lean_is_exclusive(v_a_17022_); +if (v_isSharedCheck_17068_ == 0) +{ +v___x_17028_ = v_a_17022_; +v_isShared_17029_ = v_isSharedCheck_17068_; +goto v_resetjp_17027_; +} +else +{ +lean_inc(v_val_17026_); +lean_dec(v_a_17022_); +v___x_17028_ = lean_box(0); +v_isShared_17029_ = v_isSharedCheck_17068_; +goto v_resetjp_17027_; +} +v_resetjp_17027_: +{ +lean_object* v_dummy_17030_; lean_object* v_nargs_17031_; lean_object* v___x_17032_; lean_object* v___x_17033_; lean_object* v___x_17034_; lean_object* v_args_17035_; lean_object* v___x_17036_; lean_object* v___x_17037_; uint8_t v___x_17038_; +v_dummy_17030_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); +v_nargs_17031_ = l_Lean_Expr_getAppNumArgs(v_e_17005_); +lean_inc(v_nargs_17031_); +v___x_17032_ = lean_mk_array(v_nargs_17031_, v_dummy_17030_); +v___x_17033_ = lean_unsigned_to_nat(1u); +v___x_17034_ = lean_nat_sub(v_nargs_17031_, v___x_17033_); +lean_dec(v_nargs_17031_); +v_args_17035_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_17005_, v___x_17032_, v___x_17034_); +v___x_17036_ = lean_array_get_size(v_args_17035_); +v___x_17037_ = l_Lean_Meta_Match_MatcherInfo_arity(v_val_17026_); +v___x_17038_ = lean_nat_dec_lt(v___x_17036_, v___x_17037_); +lean_dec(v___x_17037_); +if (v___x_17038_ == 0) +{ +lean_object* v_numParams_17039_; lean_object* v_numDiscrs_17040_; lean_object* v___x_17041_; lean_object* v___x_17042_; lean_object* v___x_17043_; lean_object* v___x_17044_; lean_object* v___x_17045_; lean_object* v___x_17046_; lean_object* v___x_17047_; lean_object* v___x_17048_; lean_object* v___x_17049_; lean_object* v___x_17050_; lean_object* v___x_17051_; lean_object* v___x_17052_; lean_object* v___x_17053_; lean_object* v___x_17054_; lean_object* v___x_17055_; lean_object* v___x_17056_; lean_object* v___x_17057_; lean_object* v___x_17059_; +v_numParams_17039_ = lean_ctor_get(v_val_17026_, 0); +v_numDiscrs_17040_ = lean_ctor_get(v_val_17026_, 1); +v___x_17041_ = lean_array_mk(v_us_17020_); +v___x_17042_ = lean_unsigned_to_nat(0u); +lean_inc(v_numParams_17039_); +v___x_17043_ = l_Array_extract___redArg(v_args_17035_, v___x_17042_, v_numParams_17039_); +v___x_17044_ = l_Lean_instInhabitedExpr; +v___x_17045_ = l_Lean_Meta_Match_MatcherInfo_getMotivePos(v_val_17026_); +v___x_17046_ = lean_array_get(v___x_17044_, v_args_17035_, v___x_17045_); +lean_dec(v___x_17045_); +v___x_17047_ = lean_nat_add(v_numParams_17039_, v___x_17033_); +v___x_17048_ = lean_nat_add(v___x_17047_, v_numDiscrs_17040_); +lean_inc(v___x_17048_); +lean_inc_ref(v_args_17035_); +v___x_17049_ = l_Array_toSubarray___redArg(v_args_17035_, v___x_17047_, v___x_17048_); +v___x_17050_ = l_Subarray_copy___redArg(v___x_17049_); +v___x_17051_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_17026_); +v___x_17052_ = lean_nat_add(v___x_17048_, v___x_17051_); +lean_dec(v___x_17051_); +lean_inc(v___x_17052_); +lean_inc_ref(v_args_17035_); +v___x_17053_ = l_Array_toSubarray___redArg(v_args_17035_, v___x_17048_, v___x_17052_); +v___x_17054_ = l_Subarray_copy___redArg(v___x_17053_); +v___x_17055_ = l_Array_toSubarray___redArg(v_args_17035_, v___x_17052_, v___x_17036_); +v___x_17056_ = l_Subarray_copy___redArg(v___x_17055_); +v___x_17057_ = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(v___x_17057_, 0, v_val_17026_); +lean_ctor_set(v___x_17057_, 1, v_declName_17019_); +lean_ctor_set(v___x_17057_, 2, v___x_17041_); +lean_ctor_set(v___x_17057_, 3, v___x_17043_); +lean_ctor_set(v___x_17057_, 4, v___x_17046_); +lean_ctor_set(v___x_17057_, 5, v___x_17050_); +lean_ctor_set(v___x_17057_, 6, v___x_17054_); +lean_ctor_set(v___x_17057_, 7, v___x_17056_); +if (v_isShared_17029_ == 0) +{ +lean_ctor_set(v___x_17028_, 0, v___x_17057_); +v___x_17059_ = v___x_17028_; +goto v_reusejp_17058_; +} +else +{ +lean_object* v_reuseFailAlloc_17063_; +v_reuseFailAlloc_17063_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17063_, 0, v___x_17057_); +v___x_17059_ = v_reuseFailAlloc_17063_; +goto v_reusejp_17058_; +} +v_reusejp_17058_: +{ +lean_object* v___x_17061_; +if (v_isShared_17025_ == 0) +{ +lean_ctor_set(v___x_17024_, 0, v___x_17059_); +v___x_17061_ = v___x_17024_; +goto v_reusejp_17060_; +} +else +{ +lean_object* v_reuseFailAlloc_17062_; +v_reuseFailAlloc_17062_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17062_, 0, v___x_17059_); +v___x_17061_ = v_reuseFailAlloc_17062_; +goto v_reusejp_17060_; +} +v_reusejp_17060_: +{ +return v___x_17061_; +} +} +} +else +{ +lean_object* v___x_17064_; lean_object* v___x_17066_; +lean_dec_ref(v_args_17035_); +lean_del_object(v___x_17028_); +lean_dec(v_val_17026_); +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +v___x_17064_ = lean_box(0); +if (v_isShared_17025_ == 0) +{ +lean_ctor_set(v___x_17024_, 0, v___x_17064_); +v___x_17066_ = v___x_17024_; +goto v_reusejp_17065_; +} +else +{ +lean_object* v_reuseFailAlloc_17067_; +v_reuseFailAlloc_17067_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17067_, 0, v___x_17064_); +v___x_17066_ = v_reuseFailAlloc_17067_; +goto v_reusejp_17065_; +} +v_reusejp_17065_: +{ +return v___x_17066_; +} +} +} +} +else +{ +lean_object* v___x_17069_; +lean_del_object(v___x_17024_); +lean_dec(v_a_17022_); +v___x_17069_ = lean_st_ref_get(v___y_17010_); +if (v_alsoCasesOn_17006_ == 0) +{ +lean_dec(v___x_17069_); +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +goto v___jp_17012_; +} +else +{ +lean_object* v_env_17070_; uint8_t v___x_17071_; +v_env_17070_ = lean_ctor_get(v___x_17069_, 0); +lean_inc_ref(v_env_17070_); +lean_dec(v___x_17069_); +lean_inc(v_declName_17019_); +v___x_17071_ = l_Lean_isCasesOnRecursor(v_env_17070_, v_declName_17019_); +if (v___x_17071_ == 0) +{ +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +goto v___jp_17012_; +} +else +{ +lean_object* v_indName_17072_; lean_object* v___x_17073_; +v_indName_17072_ = l_Lean_Name_getPrefix(v_declName_17019_); +lean_inc_ref(v___y_17009_); +v___x_17073_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_indName_17072_, v___y_17007_, v___y_17008_, v___y_17009_, v___y_17010_); +if (lean_obj_tag(v___x_17073_) == 0) +{ +lean_object* v_a_17074_; lean_object* v___x_17076_; uint8_t v_isShared_17077_; uint8_t v_isSharedCheck_17167_; +v_a_17074_ = lean_ctor_get(v___x_17073_, 0); +v_isSharedCheck_17167_ = !lean_is_exclusive(v___x_17073_); +if (v_isSharedCheck_17167_ == 0) +{ +v___x_17076_ = v___x_17073_; +v_isShared_17077_ = v_isSharedCheck_17167_; +goto v_resetjp_17075_; +} +else +{ +lean_inc(v_a_17074_); +lean_dec(v___x_17073_); +v___x_17076_ = lean_box(0); +v_isShared_17077_ = v_isSharedCheck_17167_; +goto v_resetjp_17075_; +} +v_resetjp_17075_: +{ +if (lean_obj_tag(v_a_17074_) == 5) +{ +lean_object* v_val_17078_; lean_object* v___x_17080_; uint8_t v_isShared_17081_; uint8_t v_isSharedCheck_17162_; +v_val_17078_ = lean_ctor_get(v_a_17074_, 0); +v_isSharedCheck_17162_ = !lean_is_exclusive(v_a_17074_); +if (v_isSharedCheck_17162_ == 0) +{ +v___x_17080_ = v_a_17074_; +v_isShared_17081_ = v_isSharedCheck_17162_; +goto v_resetjp_17079_; +} +else +{ +lean_inc(v_val_17078_); +lean_dec(v_a_17074_); +v___x_17080_ = lean_box(0); +v_isShared_17081_ = v_isSharedCheck_17162_; +goto v_resetjp_17079_; +} +v_resetjp_17079_: +{ +lean_object* v_toConstantVal_17082_; lean_object* v_numParams_17083_; lean_object* v_numIndices_17084_; lean_object* v_ctors_17085_; lean_object* v_nargs_17086_; lean_object* v_dummy_17087_; lean_object* v___x_17088_; lean_object* v___x_17089_; lean_object* v___x_17090_; lean_object* v_args_17091_; lean_object* v___x_17092_; lean_object* v___x_17093_; lean_object* v___x_17094_; lean_object* v___x_17095_; lean_object* v___x_17096_; lean_object* v___x_17097_; uint8_t v___x_17098_; +v_toConstantVal_17082_ = lean_ctor_get(v_val_17078_, 0); +lean_inc_ref(v_toConstantVal_17082_); +v_numParams_17083_ = lean_ctor_get(v_val_17078_, 1); +lean_inc(v_numParams_17083_); +v_numIndices_17084_ = lean_ctor_get(v_val_17078_, 2); +lean_inc(v_numIndices_17084_); +v_ctors_17085_ = lean_ctor_get(v_val_17078_, 4); +lean_inc(v_ctors_17085_); +v_nargs_17086_ = l_Lean_Expr_getAppNumArgs(v_e_17005_); +v_dummy_17087_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); +lean_inc(v_nargs_17086_); +v___x_17088_ = lean_mk_array(v_nargs_17086_, v_dummy_17087_); +v___x_17089_ = lean_unsigned_to_nat(1u); +v___x_17090_ = lean_nat_sub(v_nargs_17086_, v___x_17089_); +lean_dec(v_nargs_17086_); +v_args_17091_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_17005_, v___x_17088_, v___x_17090_); +v___x_17092_ = lean_nat_add(v_numParams_17083_, v___x_17089_); +v___x_17093_ = lean_nat_add(v___x_17092_, v_numIndices_17084_); +v___x_17094_ = lean_nat_add(v___x_17093_, v___x_17089_); +lean_dec(v___x_17093_); +v___x_17095_ = l_Lean_InductiveVal_numCtors(v_val_17078_); +lean_dec_ref(v_val_17078_); +v___x_17096_ = lean_nat_add(v___x_17094_, v___x_17095_); +lean_dec(v___x_17095_); +v___x_17097_ = lean_array_get_size(v_args_17091_); +v___x_17098_ = lean_nat_dec_le(v___x_17096_, v___x_17097_); +if (v___x_17098_ == 0) +{ +lean_object* v___x_17099_; lean_object* v___x_17101_; +lean_dec(v___x_17096_); +lean_dec(v___x_17094_); +lean_dec(v___x_17092_); +lean_dec_ref(v_args_17091_); +lean_dec(v_ctors_17085_); +lean_dec(v_numIndices_17084_); +lean_dec(v_numParams_17083_); +lean_dec_ref(v_toConstantVal_17082_); +lean_del_object(v___x_17080_); +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +v___x_17099_ = lean_box(0); +if (v_isShared_17077_ == 0) +{ +lean_ctor_set(v___x_17076_, 0, v___x_17099_); +v___x_17101_ = v___x_17076_; +goto v_reusejp_17100_; +} +else +{ +lean_object* v_reuseFailAlloc_17102_; +v_reuseFailAlloc_17102_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17102_, 0, v___x_17099_); +v___x_17101_ = v_reuseFailAlloc_17102_; +goto v_reusejp_17100_; +} +v_reusejp_17100_: +{ +return v___x_17101_; +} +} +else +{ +lean_object* v___x_17103_; lean_object* v_params_17104_; lean_object* v___x_17105_; lean_object* v_motive_17106_; lean_object* v_discrs_17107_; lean_object* v___x_17108_; lean_object* v___x_17109_; lean_object* v_discrInfos_17110_; lean_object* v_alts_17111_; lean_object* v___y_17113_; lean_object* v___y_17114_; lean_object* v_lower_17153_; lean_object* v_upper_17154_; uint8_t v___x_17161_; +lean_del_object(v___x_17076_); +v___x_17103_ = lean_unsigned_to_nat(0u); +lean_inc(v_numParams_17083_); +lean_inc_ref(v_args_17091_); +v_params_17104_ = l_Array_toSubarray___redArg(v_args_17091_, v___x_17103_, v_numParams_17083_); +v___x_17105_ = l_Lean_instInhabitedExpr; +v_motive_17106_ = lean_array_get(v___x_17105_, v_args_17091_, v_numParams_17083_); +lean_dec(v_numParams_17083_); +lean_inc(v___x_17094_); +lean_inc_ref(v_args_17091_); +v_discrs_17107_ = l_Array_toSubarray___redArg(v_args_17091_, v___x_17092_, v___x_17094_); +v___x_17108_ = lean_nat_add(v_numIndices_17084_, v___x_17089_); +lean_dec(v_numIndices_17084_); +v___x_17109_ = lean_box(0); +v_discrInfos_17110_ = lean_mk_array(v___x_17108_, v___x_17109_); +lean_inc(v___x_17096_); +lean_inc_ref(v_args_17091_); +v_alts_17111_ = l_Array_toSubarray___redArg(v_args_17091_, v___x_17094_, v___x_17096_); +v___x_17161_ = lean_nat_dec_le(v___x_17096_, v___x_17103_); +if (v___x_17161_ == 0) +{ +v_lower_17153_ = v___x_17096_; +v_upper_17154_ = v___x_17097_; +goto v___jp_17152_; +} +else +{ +lean_dec(v___x_17096_); +v_lower_17153_ = v___x_17103_; +v_upper_17154_ = v___x_17097_; +goto v___jp_17152_; +} +v___jp_17112_: +{ +lean_object* v___x_17115_; size_t v_sz_17116_; size_t v___x_17117_; lean_object* v___x_17118_; +v___x_17115_ = lean_array_mk(v_ctors_17085_); +v_sz_17116_ = lean_array_size(v___x_17115_); +v___x_17117_ = ((size_t)0ULL); +v___x_17118_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(v_sz_17116_, v___x_17117_, v___x_17115_, v___y_17007_, v___y_17008_, v___y_17009_, v___y_17010_); +if (lean_obj_tag(v___x_17118_) == 0) +{ +lean_object* v_a_17119_; lean_object* v___x_17121_; uint8_t v_isShared_17122_; uint8_t v_isSharedCheck_17143_; +v_a_17119_ = lean_ctor_get(v___x_17118_, 0); +v_isSharedCheck_17143_ = !lean_is_exclusive(v___x_17118_); +if (v_isSharedCheck_17143_ == 0) +{ +v___x_17121_ = v___x_17118_; +v_isShared_17122_ = v_isSharedCheck_17143_; +goto v_resetjp_17120_; +} +else +{ +lean_inc(v_a_17119_); +lean_dec(v___x_17118_); +v___x_17121_ = lean_box(0); +v_isShared_17122_ = v_isSharedCheck_17143_; +goto v_resetjp_17120_; +} +v_resetjp_17120_: +{ +lean_object* v_start_17123_; lean_object* v_stop_17124_; lean_object* v_start_17125_; lean_object* v_stop_17126_; lean_object* v___x_17127_; lean_object* v___x_17128_; lean_object* v___x_17129_; lean_object* v___x_17130_; lean_object* v___x_17131_; lean_object* v___x_17132_; lean_object* v___x_17133_; lean_object* v___x_17134_; lean_object* v___x_17135_; lean_object* v___x_17136_; lean_object* v___x_17138_; +v_start_17123_ = lean_ctor_get(v_params_17104_, 1); +lean_inc(v_start_17123_); +v_stop_17124_ = lean_ctor_get(v_params_17104_, 2); +lean_inc(v_stop_17124_); +v_start_17125_ = lean_ctor_get(v_discrs_17107_, 1); +lean_inc(v_start_17125_); +v_stop_17126_ = lean_ctor_get(v_discrs_17107_, 2); +lean_inc(v_stop_17126_); +v___x_17127_ = lean_nat_sub(v_stop_17124_, v_start_17123_); +lean_dec(v_start_17123_); +lean_dec(v_stop_17124_); +v___x_17128_ = lean_nat_sub(v_stop_17126_, v_start_17125_); +lean_dec(v_start_17125_); +lean_dec(v_stop_17126_); +v___x_17129_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__1); +v___x_17130_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_17130_, 0, v___x_17127_); +lean_ctor_set(v___x_17130_, 1, v___x_17128_); +lean_ctor_set(v___x_17130_, 2, v_a_17119_); +lean_ctor_set(v___x_17130_, 3, v___y_17114_); +lean_ctor_set(v___x_17130_, 4, v_discrInfos_17110_); +lean_ctor_set(v___x_17130_, 5, v___x_17129_); +v___x_17131_ = lean_array_mk(v_us_17020_); +v___x_17132_ = l_Subarray_copy___redArg(v_params_17104_); +v___x_17133_ = l_Subarray_copy___redArg(v_discrs_17107_); +v___x_17134_ = l_Subarray_copy___redArg(v_alts_17111_); +v___x_17135_ = l_Subarray_copy___redArg(v___y_17113_); +v___x_17136_ = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(v___x_17136_, 0, v___x_17130_); +lean_ctor_set(v___x_17136_, 1, v_declName_17019_); +lean_ctor_set(v___x_17136_, 2, v___x_17131_); +lean_ctor_set(v___x_17136_, 3, v___x_17132_); +lean_ctor_set(v___x_17136_, 4, v_motive_17106_); +lean_ctor_set(v___x_17136_, 5, v___x_17133_); +lean_ctor_set(v___x_17136_, 6, v___x_17134_); +lean_ctor_set(v___x_17136_, 7, v___x_17135_); +if (v_isShared_17081_ == 0) +{ +lean_ctor_set_tag(v___x_17080_, 1); +lean_ctor_set(v___x_17080_, 0, v___x_17136_); +v___x_17138_ = v___x_17080_; +goto v_reusejp_17137_; +} +else +{ +lean_object* v_reuseFailAlloc_17142_; +v_reuseFailAlloc_17142_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17142_, 0, v___x_17136_); +v___x_17138_ = v_reuseFailAlloc_17142_; +goto v_reusejp_17137_; +} +v_reusejp_17137_: +{ +lean_object* v___x_17140_; +if (v_isShared_17122_ == 0) +{ +lean_ctor_set(v___x_17121_, 0, v___x_17138_); +v___x_17140_ = v___x_17121_; +goto v_reusejp_17139_; +} +else +{ +lean_object* v_reuseFailAlloc_17141_; +v_reuseFailAlloc_17141_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17141_, 0, v___x_17138_); +v___x_17140_ = v_reuseFailAlloc_17141_; +goto v_reusejp_17139_; +} +v_reusejp_17139_: +{ +return v___x_17140_; +} +} +} +} +else +{ +lean_object* v_a_17144_; lean_object* v___x_17146_; uint8_t v_isShared_17147_; uint8_t v_isSharedCheck_17151_; +lean_dec(v___y_17114_); +lean_dec_ref(v___y_17113_); +lean_dec_ref(v_alts_17111_); +lean_dec_ref(v_discrInfos_17110_); +lean_dec_ref(v_discrs_17107_); +lean_dec(v_motive_17106_); +lean_dec_ref(v_params_17104_); +lean_del_object(v___x_17080_); +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +v_a_17144_ = lean_ctor_get(v___x_17118_, 0); +v_isSharedCheck_17151_ = !lean_is_exclusive(v___x_17118_); +if (v_isSharedCheck_17151_ == 0) +{ +v___x_17146_ = v___x_17118_; +v_isShared_17147_ = v_isSharedCheck_17151_; +goto v_resetjp_17145_; +} +else +{ +lean_inc(v_a_17144_); +lean_dec(v___x_17118_); +v___x_17146_ = lean_box(0); +v_isShared_17147_ = v_isSharedCheck_17151_; +goto v_resetjp_17145_; +} +v_resetjp_17145_: +{ +lean_object* v___x_17149_; +if (v_isShared_17147_ == 0) +{ +v___x_17149_ = v___x_17146_; +goto v_reusejp_17148_; +} +else +{ +lean_object* v_reuseFailAlloc_17150_; +v_reuseFailAlloc_17150_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17150_, 0, v_a_17144_); +v___x_17149_ = v_reuseFailAlloc_17150_; +goto v_reusejp_17148_; +} +v_reusejp_17148_: +{ +return v___x_17149_; +} +} +} +} +v___jp_17152_: +{ +lean_object* v_levelParams_17155_; lean_object* v___x_17156_; lean_object* v___x_17157_; lean_object* v___x_17158_; uint8_t v___x_17159_; +v_levelParams_17155_ = lean_ctor_get(v_toConstantVal_17082_, 1); +lean_inc(v_levelParams_17155_); +lean_dec_ref(v_toConstantVal_17082_); +v___x_17156_ = l_Array_toSubarray___redArg(v_args_17091_, v_lower_17153_, v_upper_17154_); +v___x_17157_ = l_List_lengthTR___redArg(v_levelParams_17155_); +lean_dec(v_levelParams_17155_); +v___x_17158_ = l_List_lengthTR___redArg(v_us_17020_); +v___x_17159_ = lean_nat_dec_eq(v___x_17157_, v___x_17158_); +lean_dec(v___x_17158_); +lean_dec(v___x_17157_); +if (v___x_17159_ == 0) +{ +lean_object* v___x_17160_; +v___x_17160_ = ((lean_object*)(l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1___closed__0)); +v___y_17113_ = v___x_17156_; +v___y_17114_ = v___x_17160_; +goto v___jp_17112_; +} +else +{ +v___y_17113_ = v___x_17156_; +v___y_17114_ = v___x_17109_; +goto v___jp_17112_; +} +} +} +} +} +else +{ +lean_object* v___x_17163_; lean_object* v___x_17165_; +lean_dec(v_a_17074_); +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +v___x_17163_ = lean_box(0); +if (v_isShared_17077_ == 0) +{ +lean_ctor_set(v___x_17076_, 0, v___x_17163_); +v___x_17165_ = v___x_17076_; +goto v_reusejp_17164_; +} +else +{ +lean_object* v_reuseFailAlloc_17166_; +v_reuseFailAlloc_17166_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17166_, 0, v___x_17163_); +v___x_17165_ = v_reuseFailAlloc_17166_; +goto v_reusejp_17164_; +} +v_reusejp_17164_: +{ +return v___x_17165_; +} +} +} +} +else +{ +lean_object* v_a_17168_; lean_object* v___x_17170_; uint8_t v_isShared_17171_; uint8_t v_isSharedCheck_17175_; +lean_dec(v_us_17020_); +lean_dec(v_declName_17019_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +v_a_17168_ = lean_ctor_get(v___x_17073_, 0); +v_isSharedCheck_17175_ = !lean_is_exclusive(v___x_17073_); +if (v_isSharedCheck_17175_ == 0) +{ +v___x_17170_ = v___x_17073_; +v_isShared_17171_ = v_isSharedCheck_17175_; +goto v_resetjp_17169_; +} +else +{ +lean_inc(v_a_17168_); +lean_dec(v___x_17073_); +v___x_17170_ = lean_box(0); +v_isShared_17171_ = v_isSharedCheck_17175_; +goto v_resetjp_17169_; +} +v_resetjp_17169_: +{ +lean_object* v___x_17173_; +if (v_isShared_17171_ == 0) +{ +v___x_17173_ = v___x_17170_; +goto v_reusejp_17172_; +} +else +{ +lean_object* v_reuseFailAlloc_17174_; +v_reuseFailAlloc_17174_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17174_, 0, v_a_17168_); +v___x_17173_ = v_reuseFailAlloc_17174_; +goto v_reusejp_17172_; +} +v_reusejp_17172_: +{ +return v___x_17173_; +} +} +} +} +} +} +} +} +else +{ +lean_dec_ref(v___x_17018_); +lean_dec(v___y_17010_); +lean_dec_ref(v___y_17009_); +lean_dec(v___y_17008_); +lean_dec_ref(v___y_17007_); +lean_dec_ref(v_e_17005_); +goto v___jp_17012_; +} +} +v___jp_17012_: { lean_object* v___x_17013_; lean_object* v___x_17014_; -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); v___x_17013_ = lean_box(0); v___x_17014_ = lean_alloc_ctor(0, 1, 0); lean_ctor_set(v___x_17014_, 0, v___x_17013_); return v___x_17014_; } -else -{ -lean_object* v___x_17015_; -v___x_17015_ = l_Lean_Expr_getAppFn(v_e_17002_); -if (lean_obj_tag(v___x_17015_) == 4) -{ -lean_object* v_declName_17016_; lean_object* v_us_17017_; lean_object* v___x_17018_; lean_object* v_a_17019_; lean_object* v___x_17021_; uint8_t v_isShared_17022_; uint8_t v_isSharedCheck_17173_; -v_declName_17016_ = lean_ctor_get(v___x_17015_, 0); -lean_inc(v_declName_17016_); -v_us_17017_ = lean_ctor_get(v___x_17015_, 1); -lean_inc(v_us_17017_); -lean_dec_ref(v___x_17015_); -lean_inc(v_declName_17016_); -v___x_17018_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_declName_17016_, v___y_17007_); -v_a_17019_ = lean_ctor_get(v___x_17018_, 0); -v_isSharedCheck_17173_ = !lean_is_exclusive(v___x_17018_); -if (v_isSharedCheck_17173_ == 0) -{ -v___x_17021_ = v___x_17018_; -v_isShared_17022_ = v_isSharedCheck_17173_; -goto v_resetjp_17020_; } -else -{ -lean_inc(v_a_17019_); -lean_dec(v___x_17018_); -v___x_17021_ = lean_box(0); -v_isShared_17022_ = v_isSharedCheck_17173_; -goto v_resetjp_17020_; } -v_resetjp_17020_: -{ -if (lean_obj_tag(v_a_17019_) == 1) -{ -lean_object* v_val_17023_; lean_object* v___x_17025_; uint8_t v_isShared_17026_; uint8_t v_isSharedCheck_17065_; -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -v_val_17023_ = lean_ctor_get(v_a_17019_, 0); -v_isSharedCheck_17065_ = !lean_is_exclusive(v_a_17019_); -if (v_isSharedCheck_17065_ == 0) -{ -v___x_17025_ = v_a_17019_; -v_isShared_17026_ = v_isSharedCheck_17065_; -goto v_resetjp_17024_; -} -else -{ -lean_inc(v_val_17023_); -lean_dec(v_a_17019_); -v___x_17025_ = lean_box(0); -v_isShared_17026_ = v_isSharedCheck_17065_; -goto v_resetjp_17024_; -} -v_resetjp_17024_: -{ -lean_object* v_dummy_17027_; lean_object* v_nargs_17028_; lean_object* v___x_17029_; lean_object* v___x_17030_; lean_object* v___x_17031_; lean_object* v_args_17032_; lean_object* v___x_17033_; lean_object* v___x_17034_; uint8_t v___x_17035_; -v_dummy_17027_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); -v_nargs_17028_ = l_Lean_Expr_getAppNumArgs(v_e_17002_); -lean_inc(v_nargs_17028_); -v___x_17029_ = lean_mk_array(v_nargs_17028_, v_dummy_17027_); -v___x_17030_ = lean_unsigned_to_nat(1u); -v___x_17031_ = lean_nat_sub(v_nargs_17028_, v___x_17030_); -lean_dec(v_nargs_17028_); -v_args_17032_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_17002_, v___x_17029_, v___x_17031_); -v___x_17033_ = lean_array_get_size(v_args_17032_); -v___x_17034_ = l_Lean_Meta_Match_MatcherInfo_arity(v_val_17023_); -v___x_17035_ = lean_nat_dec_lt(v___x_17033_, v___x_17034_); -lean_dec(v___x_17034_); -if (v___x_17035_ == 0) -{ -lean_object* v_numParams_17036_; lean_object* v_numDiscrs_17037_; lean_object* v___x_17038_; lean_object* v___x_17039_; lean_object* v___x_17040_; lean_object* v___x_17041_; lean_object* v___x_17042_; lean_object* v___x_17043_; lean_object* v___x_17044_; lean_object* v___x_17045_; lean_object* v___x_17046_; lean_object* v___x_17047_; lean_object* v___x_17048_; lean_object* v___x_17049_; lean_object* v___x_17050_; lean_object* v___x_17051_; lean_object* v___x_17052_; lean_object* v___x_17053_; lean_object* v___x_17054_; lean_object* v___x_17056_; -v_numParams_17036_ = lean_ctor_get(v_val_17023_, 0); -v_numDiscrs_17037_ = lean_ctor_get(v_val_17023_, 1); -v___x_17038_ = lean_array_mk(v_us_17017_); -v___x_17039_ = lean_unsigned_to_nat(0u); -lean_inc(v_numParams_17036_); -v___x_17040_ = l_Array_extract___redArg(v_args_17032_, v___x_17039_, v_numParams_17036_); -v___x_17041_ = l_Lean_instInhabitedExpr; -v___x_17042_ = l_Lean_Meta_Match_MatcherInfo_getMotivePos(v_val_17023_); -v___x_17043_ = lean_array_get(v___x_17041_, v_args_17032_, v___x_17042_); -lean_dec(v___x_17042_); -v___x_17044_ = lean_nat_add(v_numParams_17036_, v___x_17030_); -v___x_17045_ = lean_nat_add(v___x_17044_, v_numDiscrs_17037_); -lean_inc(v___x_17045_); -lean_inc_ref(v_args_17032_); -v___x_17046_ = l_Array_toSubarray___redArg(v_args_17032_, v___x_17044_, v___x_17045_); -v___x_17047_ = l_Subarray_copy___redArg(v___x_17046_); -v___x_17048_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_17023_); -v___x_17049_ = lean_nat_add(v___x_17045_, v___x_17048_); -lean_dec(v___x_17048_); -lean_inc(v___x_17049_); -lean_inc_ref(v_args_17032_); -v___x_17050_ = l_Array_toSubarray___redArg(v_args_17032_, v___x_17045_, v___x_17049_); -v___x_17051_ = l_Subarray_copy___redArg(v___x_17050_); -v___x_17052_ = l_Array_toSubarray___redArg(v_args_17032_, v___x_17049_, v___x_17033_); -v___x_17053_ = l_Subarray_copy___redArg(v___x_17052_); -v___x_17054_ = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(v___x_17054_, 0, v_val_17023_); -lean_ctor_set(v___x_17054_, 1, v_declName_17016_); -lean_ctor_set(v___x_17054_, 2, v___x_17038_); -lean_ctor_set(v___x_17054_, 3, v___x_17040_); -lean_ctor_set(v___x_17054_, 4, v___x_17043_); -lean_ctor_set(v___x_17054_, 5, v___x_17047_); -lean_ctor_set(v___x_17054_, 6, v___x_17051_); -lean_ctor_set(v___x_17054_, 7, v___x_17053_); -if (v_isShared_17026_ == 0) -{ -lean_ctor_set(v___x_17025_, 0, v___x_17054_); -v___x_17056_ = v___x_17025_; -goto v_reusejp_17055_; -} -else -{ -lean_object* v_reuseFailAlloc_17060_; -v_reuseFailAlloc_17060_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17060_, 0, v___x_17054_); -v___x_17056_ = v_reuseFailAlloc_17060_; -goto v_reusejp_17055_; -} -v_reusejp_17055_: -{ -lean_object* v___x_17058_; -if (v_isShared_17022_ == 0) -{ -lean_ctor_set(v___x_17021_, 0, v___x_17056_); -v___x_17058_ = v___x_17021_; -goto v_reusejp_17057_; -} -else -{ -lean_object* v_reuseFailAlloc_17059_; -v_reuseFailAlloc_17059_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17059_, 0, v___x_17056_); -v___x_17058_ = v_reuseFailAlloc_17059_; -goto v_reusejp_17057_; -} -v_reusejp_17057_: -{ -return v___x_17058_; -} -} -} -else -{ -lean_object* v___x_17061_; lean_object* v___x_17063_; -lean_dec_ref(v_args_17032_); -lean_del_object(v___x_17025_); -lean_dec(v_val_17023_); -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -v___x_17061_ = lean_box(0); -if (v_isShared_17022_ == 0) -{ -lean_ctor_set(v___x_17021_, 0, v___x_17061_); -v___x_17063_ = v___x_17021_; -goto v_reusejp_17062_; -} -else -{ -lean_object* v_reuseFailAlloc_17064_; -v_reuseFailAlloc_17064_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17064_, 0, v___x_17061_); -v___x_17063_ = v_reuseFailAlloc_17064_; -goto v_reusejp_17062_; -} -v_reusejp_17062_: -{ -return v___x_17063_; -} -} -} -} -else -{ -lean_object* v___x_17066_; -lean_del_object(v___x_17021_); -lean_dec(v_a_17019_); -v___x_17066_ = lean_st_ref_get(v___y_17007_); -if (v_alsoCasesOn_17003_ == 0) -{ -lean_dec(v___x_17066_); -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); -goto v___jp_17009_; -} -else -{ -lean_object* v_env_17067_; uint8_t v___x_17068_; -v_env_17067_ = lean_ctor_get(v___x_17066_, 0); -lean_inc_ref(v_env_17067_); -lean_dec(v___x_17066_); -lean_inc(v_declName_17016_); -v___x_17068_ = l_Lean_isCasesOnRecursor(v_env_17067_, v_declName_17016_); -if (v___x_17068_ == 0) -{ -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); -goto v___jp_17009_; -} -else -{ -lean_object* v_indName_17069_; lean_object* v___x_17070_; -v_indName_17069_ = l_Lean_Name_getPrefix(v_declName_17016_); -lean_inc_ref(v___y_17006_); -v___x_17070_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_indName_17069_, v___y_17004_, v___y_17005_, v___y_17006_, v___y_17007_); -if (lean_obj_tag(v___x_17070_) == 0) -{ -lean_object* v_a_17071_; lean_object* v___x_17073_; uint8_t v_isShared_17074_; uint8_t v_isSharedCheck_17164_; -v_a_17071_ = lean_ctor_get(v___x_17070_, 0); -v_isSharedCheck_17164_ = !lean_is_exclusive(v___x_17070_); -if (v_isSharedCheck_17164_ == 0) -{ -v___x_17073_ = v___x_17070_; -v_isShared_17074_ = v_isSharedCheck_17164_; -goto v_resetjp_17072_; -} -else -{ -lean_inc(v_a_17071_); -lean_dec(v___x_17070_); -v___x_17073_ = lean_box(0); -v_isShared_17074_ = v_isSharedCheck_17164_; -goto v_resetjp_17072_; -} -v_resetjp_17072_: -{ -if (lean_obj_tag(v_a_17071_) == 5) -{ -lean_object* v_val_17075_; lean_object* v___x_17077_; uint8_t v_isShared_17078_; uint8_t v_isSharedCheck_17159_; -v_val_17075_ = lean_ctor_get(v_a_17071_, 0); -v_isSharedCheck_17159_ = !lean_is_exclusive(v_a_17071_); -if (v_isSharedCheck_17159_ == 0) -{ -v___x_17077_ = v_a_17071_; -v_isShared_17078_ = v_isSharedCheck_17159_; -goto v_resetjp_17076_; -} -else -{ -lean_inc(v_val_17075_); -lean_dec(v_a_17071_); -v___x_17077_ = lean_box(0); -v_isShared_17078_ = v_isSharedCheck_17159_; -goto v_resetjp_17076_; -} -v_resetjp_17076_: -{ -lean_object* v_toConstantVal_17079_; lean_object* v_numParams_17080_; lean_object* v_numIndices_17081_; lean_object* v_ctors_17082_; lean_object* v_nargs_17083_; lean_object* v_dummy_17084_; lean_object* v___x_17085_; lean_object* v___x_17086_; lean_object* v___x_17087_; lean_object* v_args_17088_; lean_object* v___x_17089_; lean_object* v___x_17090_; lean_object* v___x_17091_; lean_object* v___x_17092_; lean_object* v___x_17093_; lean_object* v___x_17094_; uint8_t v___x_17095_; -v_toConstantVal_17079_ = lean_ctor_get(v_val_17075_, 0); -lean_inc_ref(v_toConstantVal_17079_); -v_numParams_17080_ = lean_ctor_get(v_val_17075_, 1); -lean_inc(v_numParams_17080_); -v_numIndices_17081_ = lean_ctor_get(v_val_17075_, 2); -lean_inc(v_numIndices_17081_); -v_ctors_17082_ = lean_ctor_get(v_val_17075_, 4); -lean_inc(v_ctors_17082_); -v_nargs_17083_ = l_Lean_Expr_getAppNumArgs(v_e_17002_); -v_dummy_17084_ = lean_obj_once(&l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0, &l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0_once, _init_l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__7___lam__0___closed__0); -lean_inc(v_nargs_17083_); -v___x_17085_ = lean_mk_array(v_nargs_17083_, v_dummy_17084_); -v___x_17086_ = lean_unsigned_to_nat(1u); -v___x_17087_ = lean_nat_sub(v_nargs_17083_, v___x_17086_); -lean_dec(v_nargs_17083_); -v_args_17088_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_e_17002_, v___x_17085_, v___x_17087_); -v___x_17089_ = lean_nat_add(v_numParams_17080_, v___x_17086_); -v___x_17090_ = lean_nat_add(v___x_17089_, v_numIndices_17081_); -v___x_17091_ = lean_nat_add(v___x_17090_, v___x_17086_); -lean_dec(v___x_17090_); -v___x_17092_ = l_Lean_InductiveVal_numCtors(v_val_17075_); -lean_dec_ref(v_val_17075_); -v___x_17093_ = lean_nat_add(v___x_17091_, v___x_17092_); -lean_dec(v___x_17092_); -v___x_17094_ = lean_array_get_size(v_args_17088_); -v___x_17095_ = lean_nat_dec_le(v___x_17093_, v___x_17094_); -if (v___x_17095_ == 0) -{ -lean_object* v___x_17096_; lean_object* v___x_17098_; -lean_dec(v___x_17093_); -lean_dec(v___x_17091_); -lean_dec(v___x_17089_); -lean_dec_ref(v_args_17088_); -lean_dec(v_ctors_17082_); -lean_dec(v_numIndices_17081_); -lean_dec(v_numParams_17080_); -lean_dec_ref(v_toConstantVal_17079_); -lean_del_object(v___x_17077_); -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -v___x_17096_ = lean_box(0); -if (v_isShared_17074_ == 0) -{ -lean_ctor_set(v___x_17073_, 0, v___x_17096_); -v___x_17098_ = v___x_17073_; -goto v_reusejp_17097_; -} -else -{ -lean_object* v_reuseFailAlloc_17099_; -v_reuseFailAlloc_17099_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17099_, 0, v___x_17096_); -v___x_17098_ = v_reuseFailAlloc_17099_; -goto v_reusejp_17097_; -} -v_reusejp_17097_: -{ -return v___x_17098_; -} -} -else -{ -lean_object* v___x_17100_; lean_object* v_params_17101_; lean_object* v___x_17102_; lean_object* v_motive_17103_; lean_object* v_discrs_17104_; lean_object* v___x_17105_; lean_object* v___x_17106_; lean_object* v_discrInfos_17107_; lean_object* v_alts_17108_; lean_object* v___y_17110_; lean_object* v___y_17111_; lean_object* v_lower_17150_; lean_object* v_upper_17151_; uint8_t v___x_17158_; -lean_del_object(v___x_17073_); -v___x_17100_ = lean_unsigned_to_nat(0u); -lean_inc(v_numParams_17080_); -lean_inc_ref(v_args_17088_); -v_params_17101_ = l_Array_toSubarray___redArg(v_args_17088_, v___x_17100_, v_numParams_17080_); -v___x_17102_ = l_Lean_instInhabitedExpr; -v_motive_17103_ = lean_array_get(v___x_17102_, v_args_17088_, v_numParams_17080_); -lean_dec(v_numParams_17080_); -lean_inc(v___x_17091_); -lean_inc_ref(v_args_17088_); -v_discrs_17104_ = l_Array_toSubarray___redArg(v_args_17088_, v___x_17089_, v___x_17091_); -v___x_17105_ = lean_nat_add(v_numIndices_17081_, v___x_17086_); -lean_dec(v_numIndices_17081_); -v___x_17106_ = lean_box(0); -v_discrInfos_17107_ = lean_mk_array(v___x_17105_, v___x_17106_); -lean_inc(v___x_17093_); -lean_inc_ref(v_args_17088_); -v_alts_17108_ = l_Array_toSubarray___redArg(v_args_17088_, v___x_17091_, v___x_17093_); -v___x_17158_ = lean_nat_dec_le(v___x_17093_, v___x_17100_); -if (v___x_17158_ == 0) -{ -v_lower_17150_ = v___x_17093_; -v_upper_17151_ = v___x_17094_; -goto v___jp_17149_; -} -else -{ -lean_dec(v___x_17093_); -v_lower_17150_ = v___x_17100_; -v_upper_17151_ = v___x_17094_; -goto v___jp_17149_; -} -v___jp_17109_: -{ -lean_object* v___x_17112_; size_t v_sz_17113_; size_t v___x_17114_; lean_object* v___x_17115_; -v___x_17112_ = lean_array_mk(v_ctors_17082_); -v_sz_17113_ = lean_array_size(v___x_17112_); -v___x_17114_ = ((size_t)0ULL); -v___x_17115_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1_spec__3(v_sz_17113_, v___x_17114_, v___x_17112_, v___y_17004_, v___y_17005_, v___y_17006_, v___y_17007_); -if (lean_obj_tag(v___x_17115_) == 0) -{ -lean_object* v_a_17116_; lean_object* v___x_17118_; uint8_t v_isShared_17119_; uint8_t v_isSharedCheck_17140_; -v_a_17116_ = lean_ctor_get(v___x_17115_, 0); -v_isSharedCheck_17140_ = !lean_is_exclusive(v___x_17115_); -if (v_isSharedCheck_17140_ == 0) -{ -v___x_17118_ = v___x_17115_; -v_isShared_17119_ = v_isSharedCheck_17140_; -goto v_resetjp_17117_; -} -else -{ -lean_inc(v_a_17116_); -lean_dec(v___x_17115_); -v___x_17118_ = lean_box(0); -v_isShared_17119_ = v_isSharedCheck_17140_; -goto v_resetjp_17117_; -} -v_resetjp_17117_: -{ -lean_object* v_start_17120_; lean_object* v_stop_17121_; lean_object* v_start_17122_; lean_object* v_stop_17123_; lean_object* v___x_17124_; lean_object* v___x_17125_; lean_object* v___x_17126_; lean_object* v___x_17127_; lean_object* v___x_17128_; lean_object* v___x_17129_; lean_object* v___x_17130_; lean_object* v___x_17131_; lean_object* v___x_17132_; lean_object* v___x_17133_; lean_object* v___x_17135_; -v_start_17120_ = lean_ctor_get(v_params_17101_, 1); -lean_inc(v_start_17120_); -v_stop_17121_ = lean_ctor_get(v_params_17101_, 2); -lean_inc(v_stop_17121_); -v_start_17122_ = lean_ctor_get(v_discrs_17104_, 1); -lean_inc(v_start_17122_); -v_stop_17123_ = lean_ctor_get(v_discrs_17104_, 2); -lean_inc(v_stop_17123_); -v___x_17124_ = lean_nat_sub(v_stop_17121_, v_start_17120_); -lean_dec(v_start_17120_); -lean_dec(v_stop_17121_); -v___x_17125_ = lean_nat_sub(v_stop_17123_, v_start_17122_); -lean_dec(v_start_17122_); -lean_dec(v_stop_17123_); -v___x_17126_ = lean_obj_once(&l_Lean_Meta_Match_mkMatcher___lam__2___closed__1, &l_Lean_Meta_Match_mkMatcher___lam__2___closed__1_once, _init_l_Lean_Meta_Match_mkMatcher___lam__2___closed__1); -v___x_17127_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_17127_, 0, v___x_17124_); -lean_ctor_set(v___x_17127_, 1, v___x_17125_); -lean_ctor_set(v___x_17127_, 2, v_a_17116_); -lean_ctor_set(v___x_17127_, 3, v___y_17111_); -lean_ctor_set(v___x_17127_, 4, v_discrInfos_17107_); -lean_ctor_set(v___x_17127_, 5, v___x_17126_); -v___x_17128_ = lean_array_mk(v_us_17017_); -v___x_17129_ = l_Subarray_copy___redArg(v_params_17101_); -v___x_17130_ = l_Subarray_copy___redArg(v_discrs_17104_); -v___x_17131_ = l_Subarray_copy___redArg(v_alts_17108_); -v___x_17132_ = l_Subarray_copy___redArg(v___y_17110_); -v___x_17133_ = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(v___x_17133_, 0, v___x_17127_); -lean_ctor_set(v___x_17133_, 1, v_declName_17016_); -lean_ctor_set(v___x_17133_, 2, v___x_17128_); -lean_ctor_set(v___x_17133_, 3, v___x_17129_); -lean_ctor_set(v___x_17133_, 4, v_motive_17103_); -lean_ctor_set(v___x_17133_, 5, v___x_17130_); -lean_ctor_set(v___x_17133_, 6, v___x_17131_); -lean_ctor_set(v___x_17133_, 7, v___x_17132_); -if (v_isShared_17078_ == 0) -{ -lean_ctor_set_tag(v___x_17077_, 1); -lean_ctor_set(v___x_17077_, 0, v___x_17133_); -v___x_17135_ = v___x_17077_; -goto v_reusejp_17134_; -} -else -{ -lean_object* v_reuseFailAlloc_17139_; -v_reuseFailAlloc_17139_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17139_, 0, v___x_17133_); -v___x_17135_ = v_reuseFailAlloc_17139_; -goto v_reusejp_17134_; -} -v_reusejp_17134_: -{ -lean_object* v___x_17137_; -if (v_isShared_17119_ == 0) -{ -lean_ctor_set(v___x_17118_, 0, v___x_17135_); -v___x_17137_ = v___x_17118_; -goto v_reusejp_17136_; -} -else -{ -lean_object* v_reuseFailAlloc_17138_; -v_reuseFailAlloc_17138_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17138_, 0, v___x_17135_); -v___x_17137_ = v_reuseFailAlloc_17138_; -goto v_reusejp_17136_; -} -v_reusejp_17136_: -{ -return v___x_17137_; -} -} -} -} -else -{ -lean_object* v_a_17141_; lean_object* v___x_17143_; uint8_t v_isShared_17144_; uint8_t v_isSharedCheck_17148_; -lean_dec(v___y_17111_); -lean_dec_ref(v___y_17110_); -lean_dec_ref(v_alts_17108_); -lean_dec_ref(v_discrInfos_17107_); -lean_dec_ref(v_discrs_17104_); -lean_dec(v_motive_17103_); -lean_dec_ref(v_params_17101_); -lean_del_object(v___x_17077_); -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -v_a_17141_ = lean_ctor_get(v___x_17115_, 0); -v_isSharedCheck_17148_ = !lean_is_exclusive(v___x_17115_); -if (v_isSharedCheck_17148_ == 0) -{ -v___x_17143_ = v___x_17115_; -v_isShared_17144_ = v_isSharedCheck_17148_; -goto v_resetjp_17142_; -} -else -{ -lean_inc(v_a_17141_); -lean_dec(v___x_17115_); -v___x_17143_ = lean_box(0); -v_isShared_17144_ = v_isSharedCheck_17148_; -goto v_resetjp_17142_; -} -v_resetjp_17142_: -{ -lean_object* v___x_17146_; -if (v_isShared_17144_ == 0) -{ -v___x_17146_ = v___x_17143_; -goto v_reusejp_17145_; -} -else -{ -lean_object* v_reuseFailAlloc_17147_; -v_reuseFailAlloc_17147_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17147_, 0, v_a_17141_); -v___x_17146_ = v_reuseFailAlloc_17147_; -goto v_reusejp_17145_; -} -v_reusejp_17145_: -{ -return v___x_17146_; -} -} -} -} -v___jp_17149_: -{ -lean_object* v_levelParams_17152_; lean_object* v___x_17153_; lean_object* v___x_17154_; lean_object* v___x_17155_; uint8_t v___x_17156_; -v_levelParams_17152_ = lean_ctor_get(v_toConstantVal_17079_, 1); -lean_inc(v_levelParams_17152_); -lean_dec_ref(v_toConstantVal_17079_); -v___x_17153_ = l_Array_toSubarray___redArg(v_args_17088_, v_lower_17150_, v_upper_17151_); -v___x_17154_ = l_List_lengthTR___redArg(v_levelParams_17152_); -lean_dec(v_levelParams_17152_); -v___x_17155_ = l_List_lengthTR___redArg(v_us_17017_); -v___x_17156_ = lean_nat_dec_eq(v___x_17154_, v___x_17155_); -lean_dec(v___x_17155_); -lean_dec(v___x_17154_); -if (v___x_17156_ == 0) -{ -lean_object* v___x_17157_; -v___x_17157_ = ((lean_object*)(l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1___closed__0)); -v___y_17110_ = v___x_17153_; -v___y_17111_ = v___x_17157_; -goto v___jp_17109_; -} -else -{ -v___y_17110_ = v___x_17153_; -v___y_17111_ = v___x_17106_; -goto v___jp_17109_; -} -} -} -} -} -else -{ -lean_object* v___x_17160_; lean_object* v___x_17162_; -lean_dec(v_a_17071_); -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); -v___x_17160_ = lean_box(0); -if (v_isShared_17074_ == 0) -{ -lean_ctor_set(v___x_17073_, 0, v___x_17160_); -v___x_17162_ = v___x_17073_; -goto v_reusejp_17161_; -} -else -{ -lean_object* v_reuseFailAlloc_17163_; -v_reuseFailAlloc_17163_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17163_, 0, v___x_17160_); -v___x_17162_ = v_reuseFailAlloc_17163_; -goto v_reusejp_17161_; -} -v_reusejp_17161_: -{ -return v___x_17162_; -} -} -} -} -else -{ -lean_object* v_a_17165_; lean_object* v___x_17167_; uint8_t v_isShared_17168_; uint8_t v_isSharedCheck_17172_; -lean_dec(v_us_17017_); -lean_dec(v_declName_17016_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); -v_a_17165_ = lean_ctor_get(v___x_17070_, 0); -v_isSharedCheck_17172_ = !lean_is_exclusive(v___x_17070_); -if (v_isSharedCheck_17172_ == 0) -{ -v___x_17167_ = v___x_17070_; -v_isShared_17168_ = v_isSharedCheck_17172_; -goto v_resetjp_17166_; -} -else -{ -lean_inc(v_a_17165_); -lean_dec(v___x_17070_); -v___x_17167_ = lean_box(0); -v_isShared_17168_ = v_isSharedCheck_17172_; -goto v_resetjp_17166_; -} -v_resetjp_17166_: -{ -lean_object* v___x_17170_; -if (v_isShared_17168_ == 0) -{ -v___x_17170_ = v___x_17167_; -goto v_reusejp_17169_; -} -else -{ -lean_object* v_reuseFailAlloc_17171_; -v_reuseFailAlloc_17171_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17171_, 0, v_a_17165_); -v___x_17170_ = v_reuseFailAlloc_17171_; -goto v_reusejp_17169_; -} -v_reusejp_17169_: -{ -return v___x_17170_; -} -} -} -} -} -} -} -} -else -{ -lean_dec_ref(v___x_17015_); -lean_dec(v___y_17007_); -lean_dec_ref(v___y_17006_); -lean_dec(v___y_17005_); -lean_dec_ref(v___y_17004_); -lean_dec_ref(v_e_17002_); -goto v___jp_17009_; -} -} -v___jp_17009_: -{ -lean_object* v___x_17010_; lean_object* v___x_17011_; -v___x_17010_ = lean_box(0); -v___x_17011_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_17011_, 0, v___x_17010_); -return v___x_17011_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1___boxed(lean_object* v_e_17174_, lean_object* v_alsoCasesOn_17175_, lean_object* v___y_17176_, lean_object* v___y_17177_, lean_object* v___y_17178_, lean_object* v___y_17179_, lean_object* v___y_17180_){ +LEAN_EXPORT lean_object* l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1___boxed(lean_object* v_e_17177_, lean_object* v_alsoCasesOn_17178_, lean_object* v___y_17179_, lean_object* v___y_17180_, lean_object* v___y_17181_, lean_object* v___y_17182_, lean_object* v___y_17183_){ _start: { -uint8_t v_alsoCasesOn_boxed_17181_; lean_object* v_res_17182_; -v_alsoCasesOn_boxed_17181_ = lean_unbox(v_alsoCasesOn_17175_); -v_res_17182_ = l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(v_e_17174_, v_alsoCasesOn_boxed_17181_, v___y_17176_, v___y_17177_, v___y_17178_, v___y_17179_); -return v_res_17182_; +uint8_t v_alsoCasesOn_boxed_17184_; lean_object* v_res_17185_; +v_alsoCasesOn_boxed_17184_ = lean_unbox(v_alsoCasesOn_17178_); +v_res_17185_ = l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(v_e_17177_, v_alsoCasesOn_boxed_17184_, v___y_17179_, v___y_17180_, v___y_17181_, v___y_17182_); +return v_res_17185_; } } static lean_object* _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1(void){ _start: { -lean_object* v___x_17184_; lean_object* v___x_17185_; -v___x_17184_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__0)); -v___x_17185_ = l_Lean_stringToMessageData(v___x_17184_); -return v___x_17185_; +lean_object* v___x_17187_; lean_object* v___x_17188_; +v___x_17187_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__0)); +v___x_17188_ = l_Lean_stringToMessageData(v___x_17187_); +return v___x_17188_; } } static lean_object* _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3(void){ _start: { -lean_object* v___x_17187_; lean_object* v___x_17188_; -v___x_17187_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__2)); -v___x_17188_ = l_Lean_stringToMessageData(v___x_17187_); -return v___x_17188_; +lean_object* v___x_17190_; lean_object* v___x_17191_; +v___x_17190_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__2)); +v___x_17191_ = l_Lean_stringToMessageData(v___x_17190_); +return v___x_17191_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0(lean_object* v_a_17189_, uint8_t v_unfoldNamed_17190_, lean_object* v_k_17191_, lean_object* v_matcherName_17192_, lean_object* v_xs_17193_, lean_object* v_x_17194_, lean_object* v___y_17195_, lean_object* v___y_17196_, lean_object* v___y_17197_, lean_object* v___y_17198_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0(lean_object* v_a_17192_, uint8_t v_unfoldNamed_17193_, lean_object* v_k_17194_, lean_object* v_matcherName_17195_, lean_object* v_xs_17196_, lean_object* v_x_17197_, lean_object* v___y_17198_, lean_object* v___y_17199_, lean_object* v___y_17200_, lean_object* v___y_17201_){ _start: { -lean_object* v___x_17200_; lean_object* v___x_17201_; -v___x_17200_ = l_Lean_ConstantInfo_name(v_a_17189_); -lean_inc_ref(v___y_17197_); -v___x_17201_ = l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(v___x_17200_, v___y_17195_, v___y_17196_, v___y_17197_, v___y_17198_); -if (lean_obj_tag(v___x_17201_) == 0) +lean_object* v___x_17203_; lean_object* v___x_17204_; +v___x_17203_ = l_Lean_ConstantInfo_name(v_a_17192_); +lean_inc_ref(v___y_17200_); +v___x_17204_ = l_Lean_mkConstWithLevelParams___at___00Lean_Meta_Match_withMkMatcherInput_spec__0(v___x_17203_, v___y_17198_, v___y_17199_, v___y_17200_, v___y_17201_); +if (lean_obj_tag(v___x_17204_) == 0) { -lean_object* v_a_17202_; lean_object* v___x_17203_; uint8_t v___x_17204_; lean_object* v___x_17205_; -v_a_17202_ = lean_ctor_get(v___x_17201_, 0); -lean_inc(v_a_17202_); -lean_dec_ref(v___x_17201_); -v___x_17203_ = l_Lean_mkAppN(v_a_17202_, v_xs_17193_); -v___x_17204_ = 0; -lean_inc(v___y_17198_); -lean_inc_ref(v___y_17197_); -lean_inc(v___y_17196_); -lean_inc_ref(v___y_17195_); -v___x_17205_ = l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(v___x_17203_, v___x_17204_, v___y_17195_, v___y_17196_, v___y_17197_, v___y_17198_); -if (lean_obj_tag(v___x_17205_) == 0) -{ -lean_object* v_a_17206_; -v_a_17206_ = lean_ctor_get(v___x_17205_, 0); -lean_inc(v_a_17206_); -lean_dec_ref(v___x_17205_); -if (lean_obj_tag(v_a_17206_) == 1) -{ -lean_object* v_val_17207_; lean_object* v___x_17208_; -lean_dec(v_matcherName_17192_); -v_val_17207_ = lean_ctor_get(v_a_17206_, 0); -lean_inc(v_val_17207_); -lean_dec_ref(v_a_17206_); -lean_inc(v___y_17198_); -lean_inc_ref(v___y_17197_); -lean_inc(v___y_17196_); -lean_inc_ref(v___y_17195_); -v___x_17208_ = l_Lean_Meta_Match_getMkMatcherInputInContext(v_val_17207_, v_unfoldNamed_17190_, v___y_17195_, v___y_17196_, v___y_17197_, v___y_17198_); +lean_object* v_a_17205_; lean_object* v___x_17206_; uint8_t v___x_17207_; lean_object* v___x_17208_; +v_a_17205_ = lean_ctor_get(v___x_17204_, 0); +lean_inc(v_a_17205_); +lean_dec_ref(v___x_17204_); +v___x_17206_ = l_Lean_mkAppN(v_a_17205_, v_xs_17196_); +v___x_17207_ = 0; +lean_inc(v___y_17201_); +lean_inc_ref(v___y_17200_); +lean_inc(v___y_17199_); +lean_inc_ref(v___y_17198_); +v___x_17208_ = l_Lean_Meta_matchMatcherApp_x3f___at___00Lean_Meta_Match_withMkMatcherInput_spec__1(v___x_17206_, v___x_17207_, v___y_17198_, v___y_17199_, v___y_17200_, v___y_17201_); if (lean_obj_tag(v___x_17208_) == 0) { -lean_object* v_a_17209_; lean_object* v___x_17210_; +lean_object* v_a_17209_; v_a_17209_ = lean_ctor_get(v___x_17208_, 0); lean_inc(v_a_17209_); lean_dec_ref(v___x_17208_); -v___x_17210_ = lean_apply_6(v_k_17191_, v_a_17209_, v___y_17195_, v___y_17196_, v___y_17197_, v___y_17198_, lean_box(0)); -return v___x_17210_; +if (lean_obj_tag(v_a_17209_) == 1) +{ +lean_object* v_val_17210_; lean_object* v___x_17211_; +lean_dec(v_matcherName_17195_); +v_val_17210_ = lean_ctor_get(v_a_17209_, 0); +lean_inc(v_val_17210_); +lean_dec_ref(v_a_17209_); +lean_inc(v___y_17201_); +lean_inc_ref(v___y_17200_); +lean_inc(v___y_17199_); +lean_inc_ref(v___y_17198_); +v___x_17211_ = l_Lean_Meta_Match_getMkMatcherInputInContext(v_val_17210_, v_unfoldNamed_17193_, v___y_17198_, v___y_17199_, v___y_17200_, v___y_17201_); +if (lean_obj_tag(v___x_17211_) == 0) +{ +lean_object* v_a_17212_; lean_object* v___x_17213_; +v_a_17212_ = lean_ctor_get(v___x_17211_, 0); +lean_inc(v_a_17212_); +lean_dec_ref(v___x_17211_); +v___x_17213_ = lean_apply_6(v_k_17194_, v_a_17212_, v___y_17198_, v___y_17199_, v___y_17200_, v___y_17201_, lean_box(0)); +return v___x_17213_; } else { -lean_object* v_a_17211_; lean_object* v___x_17213_; uint8_t v_isShared_17214_; uint8_t v_isSharedCheck_17218_; -lean_dec(v___y_17198_); -lean_dec_ref(v___y_17197_); -lean_dec(v___y_17196_); -lean_dec_ref(v___y_17195_); -lean_dec_ref(v_k_17191_); -v_a_17211_ = lean_ctor_get(v___x_17208_, 0); -v_isSharedCheck_17218_ = !lean_is_exclusive(v___x_17208_); -if (v_isSharedCheck_17218_ == 0) +lean_object* v_a_17214_; lean_object* v___x_17216_; uint8_t v_isShared_17217_; uint8_t v_isSharedCheck_17221_; +lean_dec(v___y_17201_); +lean_dec_ref(v___y_17200_); +lean_dec(v___y_17199_); +lean_dec_ref(v___y_17198_); +lean_dec_ref(v_k_17194_); +v_a_17214_ = lean_ctor_get(v___x_17211_, 0); +v_isSharedCheck_17221_ = !lean_is_exclusive(v___x_17211_); +if (v_isSharedCheck_17221_ == 0) { -v___x_17213_ = v___x_17208_; -v_isShared_17214_ = v_isSharedCheck_17218_; -goto v_resetjp_17212_; +v___x_17216_ = v___x_17211_; +v_isShared_17217_ = v_isSharedCheck_17221_; +goto v_resetjp_17215_; } else { -lean_inc(v_a_17211_); +lean_inc(v_a_17214_); +lean_dec(v___x_17211_); +v___x_17216_ = lean_box(0); +v_isShared_17217_ = v_isSharedCheck_17221_; +goto v_resetjp_17215_; +} +v_resetjp_17215_: +{ +lean_object* v___x_17219_; +if (v_isShared_17217_ == 0) +{ +v___x_17219_ = v___x_17216_; +goto v_reusejp_17218_; +} +else +{ +lean_object* v_reuseFailAlloc_17220_; +v_reuseFailAlloc_17220_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17220_, 0, v_a_17214_); +v___x_17219_ = v_reuseFailAlloc_17220_; +goto v_reusejp_17218_; +} +v_reusejp_17218_: +{ +return v___x_17219_; +} +} +} +} +else +{ +lean_object* v___x_17222_; lean_object* v___x_17223_; lean_object* v___x_17224_; lean_object* v___x_17225_; lean_object* v___x_17226_; lean_object* v___x_17227_; +lean_dec(v_a_17209_); +lean_dec_ref(v_k_17194_); +v___x_17222_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1); +v___x_17223_ = l_Lean_MessageData_ofConstName(v_matcherName_17195_, v___x_17207_); +v___x_17224_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17224_, 0, v___x_17222_); +lean_ctor_set(v___x_17224_, 1, v___x_17223_); +v___x_17225_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3); +v___x_17226_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17226_, 0, v___x_17224_); +lean_ctor_set(v___x_17226_, 1, v___x_17225_); +v___x_17227_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_17226_, v___y_17198_, v___y_17199_, v___y_17200_, v___y_17201_); +lean_dec(v___y_17201_); +lean_dec_ref(v___y_17200_); +lean_dec(v___y_17199_); +lean_dec_ref(v___y_17198_); +return v___x_17227_; +} +} +else +{ +lean_object* v_a_17228_; lean_object* v___x_17230_; uint8_t v_isShared_17231_; uint8_t v_isSharedCheck_17235_; +lean_dec(v___y_17201_); +lean_dec_ref(v___y_17200_); +lean_dec(v___y_17199_); +lean_dec_ref(v___y_17198_); +lean_dec(v_matcherName_17195_); +lean_dec_ref(v_k_17194_); +v_a_17228_ = lean_ctor_get(v___x_17208_, 0); +v_isSharedCheck_17235_ = !lean_is_exclusive(v___x_17208_); +if (v_isSharedCheck_17235_ == 0) +{ +v___x_17230_ = v___x_17208_; +v_isShared_17231_ = v_isSharedCheck_17235_; +goto v_resetjp_17229_; +} +else +{ +lean_inc(v_a_17228_); lean_dec(v___x_17208_); -v___x_17213_ = lean_box(0); -v_isShared_17214_ = v_isSharedCheck_17218_; -goto v_resetjp_17212_; +v___x_17230_ = lean_box(0); +v_isShared_17231_ = v_isSharedCheck_17235_; +goto v_resetjp_17229_; } -v_resetjp_17212_: +v_resetjp_17229_: { -lean_object* v___x_17216_; -if (v_isShared_17214_ == 0) +lean_object* v___x_17233_; +if (v_isShared_17231_ == 0) { -v___x_17216_ = v___x_17213_; -goto v_reusejp_17215_; +v___x_17233_ = v___x_17230_; +goto v_reusejp_17232_; } else { -lean_object* v_reuseFailAlloc_17217_; -v_reuseFailAlloc_17217_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17217_, 0, v_a_17211_); -v___x_17216_ = v_reuseFailAlloc_17217_; -goto v_reusejp_17215_; +lean_object* v_reuseFailAlloc_17234_; +v_reuseFailAlloc_17234_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17234_, 0, v_a_17228_); +v___x_17233_ = v_reuseFailAlloc_17234_; +goto v_reusejp_17232_; } -v_reusejp_17215_: +v_reusejp_17232_: { -return v___x_17216_; +return v___x_17233_; } } } } else { -lean_object* v___x_17219_; lean_object* v___x_17220_; lean_object* v___x_17221_; lean_object* v___x_17222_; lean_object* v___x_17223_; lean_object* v___x_17224_; -lean_dec(v_a_17206_); -lean_dec_ref(v_k_17191_); -v___x_17219_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1); -v___x_17220_ = l_Lean_MessageData_ofConstName(v_matcherName_17192_, v___x_17204_); -v___x_17221_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17221_, 0, v___x_17219_); -lean_ctor_set(v___x_17221_, 1, v___x_17220_); -v___x_17222_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__3); -v___x_17223_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17223_, 0, v___x_17221_); -lean_ctor_set(v___x_17223_, 1, v___x_17222_); -v___x_17224_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_17223_, v___y_17195_, v___y_17196_, v___y_17197_, v___y_17198_); -lean_dec(v___y_17198_); -lean_dec_ref(v___y_17197_); -lean_dec(v___y_17196_); -lean_dec_ref(v___y_17195_); -return v___x_17224_; -} +lean_object* v_a_17236_; lean_object* v___x_17238_; uint8_t v_isShared_17239_; uint8_t v_isSharedCheck_17243_; +lean_dec(v___y_17201_); +lean_dec_ref(v___y_17200_); +lean_dec(v___y_17199_); +lean_dec_ref(v___y_17198_); +lean_dec(v_matcherName_17195_); +lean_dec_ref(v_k_17194_); +v_a_17236_ = lean_ctor_get(v___x_17204_, 0); +v_isSharedCheck_17243_ = !lean_is_exclusive(v___x_17204_); +if (v_isSharedCheck_17243_ == 0) +{ +v___x_17238_ = v___x_17204_; +v_isShared_17239_ = v_isSharedCheck_17243_; +goto v_resetjp_17237_; } else { -lean_object* v_a_17225_; lean_object* v___x_17227_; uint8_t v_isShared_17228_; uint8_t v_isSharedCheck_17232_; -lean_dec(v___y_17198_); -lean_dec_ref(v___y_17197_); -lean_dec(v___y_17196_); -lean_dec_ref(v___y_17195_); -lean_dec(v_matcherName_17192_); -lean_dec_ref(v_k_17191_); -v_a_17225_ = lean_ctor_get(v___x_17205_, 0); -v_isSharedCheck_17232_ = !lean_is_exclusive(v___x_17205_); -if (v_isSharedCheck_17232_ == 0) +lean_inc(v_a_17236_); +lean_dec(v___x_17204_); +v___x_17238_ = lean_box(0); +v_isShared_17239_ = v_isSharedCheck_17243_; +goto v_resetjp_17237_; +} +v_resetjp_17237_: { -v___x_17227_ = v___x_17205_; -v_isShared_17228_ = v_isSharedCheck_17232_; -goto v_resetjp_17226_; +lean_object* v___x_17241_; +if (v_isShared_17239_ == 0) +{ +v___x_17241_ = v___x_17238_; +goto v_reusejp_17240_; } else { -lean_inc(v_a_17225_); -lean_dec(v___x_17205_); -v___x_17227_ = lean_box(0); -v_isShared_17228_ = v_isSharedCheck_17232_; -goto v_resetjp_17226_; +lean_object* v_reuseFailAlloc_17242_; +v_reuseFailAlloc_17242_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17242_, 0, v_a_17236_); +v___x_17241_ = v_reuseFailAlloc_17242_; +goto v_reusejp_17240_; } -v_resetjp_17226_: +v_reusejp_17240_: { -lean_object* v___x_17230_; -if (v_isShared_17228_ == 0) -{ -v___x_17230_ = v___x_17227_; -goto v_reusejp_17229_; -} -else -{ -lean_object* v_reuseFailAlloc_17231_; -v_reuseFailAlloc_17231_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17231_, 0, v_a_17225_); -v___x_17230_ = v_reuseFailAlloc_17231_; -goto v_reusejp_17229_; -} -v_reusejp_17229_: -{ -return v___x_17230_; -} -} -} -} -else -{ -lean_object* v_a_17233_; lean_object* v___x_17235_; uint8_t v_isShared_17236_; uint8_t v_isSharedCheck_17240_; -lean_dec(v___y_17198_); -lean_dec_ref(v___y_17197_); -lean_dec(v___y_17196_); -lean_dec_ref(v___y_17195_); -lean_dec(v_matcherName_17192_); -lean_dec_ref(v_k_17191_); -v_a_17233_ = lean_ctor_get(v___x_17201_, 0); -v_isSharedCheck_17240_ = !lean_is_exclusive(v___x_17201_); -if (v_isSharedCheck_17240_ == 0) -{ -v___x_17235_ = v___x_17201_; -v_isShared_17236_ = v_isSharedCheck_17240_; -goto v_resetjp_17234_; -} -else -{ -lean_inc(v_a_17233_); -lean_dec(v___x_17201_); -v___x_17235_ = lean_box(0); -v_isShared_17236_ = v_isSharedCheck_17240_; -goto v_resetjp_17234_; -} -v_resetjp_17234_: -{ -lean_object* v___x_17238_; -if (v_isShared_17236_ == 0) -{ -v___x_17238_ = v___x_17235_; -goto v_reusejp_17237_; -} -else -{ -lean_object* v_reuseFailAlloc_17239_; -v_reuseFailAlloc_17239_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17239_, 0, v_a_17233_); -v___x_17238_ = v_reuseFailAlloc_17239_; -goto v_reusejp_17237_; -} -v_reusejp_17237_: -{ -return v___x_17238_; +return v___x_17241_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___boxed(lean_object* v_a_17241_, lean_object* v_unfoldNamed_17242_, lean_object* v_k_17243_, lean_object* v_matcherName_17244_, lean_object* v_xs_17245_, lean_object* v_x_17246_, lean_object* v___y_17247_, lean_object* v___y_17248_, lean_object* v___y_17249_, lean_object* v___y_17250_, lean_object* v___y_17251_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___boxed(lean_object* v_a_17244_, lean_object* v_unfoldNamed_17245_, lean_object* v_k_17246_, lean_object* v_matcherName_17247_, lean_object* v_xs_17248_, lean_object* v_x_17249_, lean_object* v___y_17250_, lean_object* v___y_17251_, lean_object* v___y_17252_, lean_object* v___y_17253_, lean_object* v___y_17254_){ _start: { -uint8_t v_unfoldNamed_boxed_17252_; lean_object* v_res_17253_; -v_unfoldNamed_boxed_17252_ = lean_unbox(v_unfoldNamed_17242_); -v_res_17253_ = l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0(v_a_17241_, v_unfoldNamed_boxed_17252_, v_k_17243_, v_matcherName_17244_, v_xs_17245_, v_x_17246_, v___y_17247_, v___y_17248_, v___y_17249_, v___y_17250_); -lean_dec_ref(v_x_17246_); -lean_dec_ref(v_xs_17245_); -lean_dec_ref(v_a_17241_); -return v_res_17253_; +uint8_t v_unfoldNamed_boxed_17255_; lean_object* v_res_17256_; +v_unfoldNamed_boxed_17255_ = lean_unbox(v_unfoldNamed_17245_); +v_res_17256_ = l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0(v_a_17244_, v_unfoldNamed_boxed_17255_, v_k_17246_, v_matcherName_17247_, v_xs_17248_, v_x_17249_, v___y_17250_, v___y_17251_, v___y_17252_, v___y_17253_); +lean_dec_ref(v_x_17249_); +lean_dec_ref(v_xs_17248_); +lean_dec_ref(v_a_17244_); +return v_res_17256_; } } static lean_object* _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1(void){ _start: { -lean_object* v___x_17255_; lean_object* v___x_17256_; -v___x_17255_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__0)); -v___x_17256_ = l_Lean_stringToMessageData(v___x_17255_); -return v___x_17256_; +lean_object* v___x_17258_; lean_object* v___x_17259_; +v___x_17258_ = ((lean_object*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__0)); +v___x_17259_ = l_Lean_stringToMessageData(v___x_17258_); +return v___x_17259_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg(lean_object* v_matcherName_17257_, uint8_t v_unfoldNamed_17258_, lean_object* v_k_17259_, lean_object* v_a_17260_, lean_object* v_a_17261_, lean_object* v_a_17262_, lean_object* v_a_17263_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg(lean_object* v_matcherName_17260_, uint8_t v_unfoldNamed_17261_, lean_object* v_k_17262_, lean_object* v_a_17263_, lean_object* v_a_17264_, lean_object* v_a_17265_, lean_object* v_a_17266_){ _start: { -lean_object* v___x_17265_; lean_object* v_a_17266_; -lean_inc(v_matcherName_17257_); -v___x_17265_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_matcherName_17257_, v_a_17263_); -v_a_17266_ = lean_ctor_get(v___x_17265_, 0); -lean_inc(v_a_17266_); -lean_dec_ref(v___x_17265_); -if (lean_obj_tag(v_a_17266_) == 1) +lean_object* v___x_17268_; lean_object* v_a_17269_; +lean_inc(v_matcherName_17260_); +v___x_17268_ = l_Lean_Meta_getMatcherInfo_x3f___at___00Lean_Meta_Match_getMkMatcherInputInContext_spec__4___redArg(v_matcherName_17260_, v_a_17266_); +v_a_17269_ = lean_ctor_get(v___x_17268_, 0); +lean_inc(v_a_17269_); +lean_dec_ref(v___x_17268_); +if (lean_obj_tag(v_a_17269_) == 1) { -lean_object* v_val_17267_; lean_object* v___x_17269_; uint8_t v_isShared_17270_; uint8_t v_isSharedCheck_17290_; -v_val_17267_ = lean_ctor_get(v_a_17266_, 0); -v_isSharedCheck_17290_ = !lean_is_exclusive(v_a_17266_); -if (v_isSharedCheck_17290_ == 0) +lean_object* v_val_17270_; lean_object* v___x_17272_; uint8_t v_isShared_17273_; uint8_t v_isSharedCheck_17293_; +v_val_17270_ = lean_ctor_get(v_a_17269_, 0); +v_isSharedCheck_17293_ = !lean_is_exclusive(v_a_17269_); +if (v_isSharedCheck_17293_ == 0) { -v___x_17269_ = v_a_17266_; -v_isShared_17270_ = v_isSharedCheck_17290_; -goto v_resetjp_17268_; +v___x_17272_ = v_a_17269_; +v_isShared_17273_ = v_isSharedCheck_17293_; +goto v_resetjp_17271_; } else { -lean_inc(v_val_17267_); +lean_inc(v_val_17270_); +lean_dec(v_a_17269_); +v___x_17272_ = lean_box(0); +v_isShared_17273_ = v_isSharedCheck_17293_; +goto v_resetjp_17271_; +} +v_resetjp_17271_: +{ +lean_object* v___x_17274_; +lean_inc_ref(v_a_17265_); +lean_inc(v_matcherName_17260_); +v___x_17274_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_matcherName_17260_, v_a_17263_, v_a_17264_, v_a_17265_, v_a_17266_); +if (lean_obj_tag(v___x_17274_) == 0) +{ +lean_object* v_a_17275_; lean_object* v___x_17276_; lean_object* v___f_17277_; lean_object* v___x_17278_; lean_object* v___x_17279_; lean_object* v___x_17281_; +v_a_17275_ = lean_ctor_get(v___x_17274_, 0); +lean_inc(v_a_17275_); +lean_dec_ref(v___x_17274_); +v___x_17276_ = lean_box(v_unfoldNamed_17261_); +lean_inc(v_a_17275_); +v___f_17277_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___boxed), 11, 4); +lean_closure_set(v___f_17277_, 0, v_a_17275_); +lean_closure_set(v___f_17277_, 1, v___x_17276_); +lean_closure_set(v___f_17277_, 2, v_k_17262_); +lean_closure_set(v___f_17277_, 3, v_matcherName_17260_); +v___x_17278_ = l_Lean_ConstantInfo_type(v_a_17275_); +lean_dec(v_a_17275_); +v___x_17279_ = l_Lean_Meta_Match_MatcherInfo_arity(v_val_17270_); +lean_dec(v_val_17270_); +if (v_isShared_17273_ == 0) +{ +lean_ctor_set(v___x_17272_, 0, v___x_17279_); +v___x_17281_ = v___x_17272_; +goto v_reusejp_17280_; +} +else +{ +lean_object* v_reuseFailAlloc_17284_; +v_reuseFailAlloc_17284_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17284_, 0, v___x_17279_); +v___x_17281_ = v_reuseFailAlloc_17284_; +goto v_reusejp_17280_; +} +v_reusejp_17280_: +{ +uint8_t v___x_17282_; lean_object* v___x_17283_; +v___x_17282_ = 0; +v___x_17283_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v___x_17278_, v___x_17281_, v___f_17277_, v___x_17282_, v___x_17282_, v_a_17263_, v_a_17264_, v_a_17265_, v_a_17266_); +return v___x_17283_; +} +} +else +{ +lean_object* v_a_17285_; lean_object* v___x_17287_; uint8_t v_isShared_17288_; uint8_t v_isSharedCheck_17292_; +lean_del_object(v___x_17272_); +lean_dec(v_val_17270_); lean_dec(v_a_17266_); -v___x_17269_ = lean_box(0); -v_isShared_17270_ = v_isSharedCheck_17290_; -goto v_resetjp_17268_; -} -v_resetjp_17268_: +lean_dec_ref(v_a_17265_); +lean_dec(v_a_17264_); +lean_dec_ref(v_a_17263_); +lean_dec_ref(v_k_17262_); +lean_dec(v_matcherName_17260_); +v_a_17285_ = lean_ctor_get(v___x_17274_, 0); +v_isSharedCheck_17292_ = !lean_is_exclusive(v___x_17274_); +if (v_isSharedCheck_17292_ == 0) { -lean_object* v___x_17271_; -lean_inc_ref(v_a_17262_); -lean_inc(v_matcherName_17257_); -v___x_17271_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_spec__0(v_matcherName_17257_, v_a_17260_, v_a_17261_, v_a_17262_, v_a_17263_); -if (lean_obj_tag(v___x_17271_) == 0) -{ -lean_object* v_a_17272_; lean_object* v___x_17273_; lean_object* v___f_17274_; lean_object* v___x_17275_; lean_object* v___x_17276_; lean_object* v___x_17278_; -v_a_17272_ = lean_ctor_get(v___x_17271_, 0); -lean_inc(v_a_17272_); -lean_dec_ref(v___x_17271_); -v___x_17273_ = lean_box(v_unfoldNamed_17258_); -lean_inc(v_a_17272_); -v___f_17274_ = lean_alloc_closure((void*)(l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___boxed), 11, 4); -lean_closure_set(v___f_17274_, 0, v_a_17272_); -lean_closure_set(v___f_17274_, 1, v___x_17273_); -lean_closure_set(v___f_17274_, 2, v_k_17259_); -lean_closure_set(v___f_17274_, 3, v_matcherName_17257_); -v___x_17275_ = l_Lean_ConstantInfo_type(v_a_17272_); -lean_dec(v_a_17272_); -v___x_17276_ = l_Lean_Meta_Match_MatcherInfo_arity(v_val_17267_); -lean_dec(v_val_17267_); -if (v_isShared_17270_ == 0) -{ -lean_ctor_set(v___x_17269_, 0, v___x_17276_); -v___x_17278_ = v___x_17269_; -goto v_reusejp_17277_; +v___x_17287_ = v___x_17274_; +v_isShared_17288_ = v_isSharedCheck_17292_; +goto v_resetjp_17286_; } else { -lean_object* v_reuseFailAlloc_17281_; -v_reuseFailAlloc_17281_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17281_, 0, v___x_17276_); -v___x_17278_ = v_reuseFailAlloc_17281_; -goto v_reusejp_17277_; +lean_inc(v_a_17285_); +lean_dec(v___x_17274_); +v___x_17287_ = lean_box(0); +v_isShared_17288_ = v_isSharedCheck_17292_; +goto v_resetjp_17286_; } -v_reusejp_17277_: +v_resetjp_17286_: { -uint8_t v___x_17279_; lean_object* v___x_17280_; -v___x_17279_ = 0; -v___x_17280_ = l_Lean_Meta_forallBoundedTelescope___at___00Lean_Meta_Match_mkMatcher_spec__7___redArg(v___x_17275_, v___x_17278_, v___f_17274_, v___x_17279_, v___x_17279_, v_a_17260_, v_a_17261_, v_a_17262_, v_a_17263_); -return v___x_17280_; -} +lean_object* v___x_17290_; +if (v_isShared_17288_ == 0) +{ +v___x_17290_ = v___x_17287_; +goto v_reusejp_17289_; } else { -lean_object* v_a_17282_; lean_object* v___x_17284_; uint8_t v_isShared_17285_; uint8_t v_isSharedCheck_17289_; -lean_del_object(v___x_17269_); -lean_dec(v_val_17267_); -lean_dec(v_a_17263_); -lean_dec_ref(v_a_17262_); -lean_dec(v_a_17261_); -lean_dec_ref(v_a_17260_); -lean_dec_ref(v_k_17259_); -lean_dec(v_matcherName_17257_); -v_a_17282_ = lean_ctor_get(v___x_17271_, 0); -v_isSharedCheck_17289_ = !lean_is_exclusive(v___x_17271_); -if (v_isSharedCheck_17289_ == 0) -{ -v___x_17284_ = v___x_17271_; -v_isShared_17285_ = v_isSharedCheck_17289_; -goto v_resetjp_17283_; +lean_object* v_reuseFailAlloc_17291_; +v_reuseFailAlloc_17291_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_17291_, 0, v_a_17285_); +v___x_17290_ = v_reuseFailAlloc_17291_; +goto v_reusejp_17289_; } -else +v_reusejp_17289_: { -lean_inc(v_a_17282_); -lean_dec(v___x_17271_); -v___x_17284_ = lean_box(0); -v_isShared_17285_ = v_isSharedCheck_17289_; -goto v_resetjp_17283_; -} -v_resetjp_17283_: -{ -lean_object* v___x_17287_; -if (v_isShared_17285_ == 0) -{ -v___x_17287_ = v___x_17284_; -goto v_reusejp_17286_; -} -else -{ -lean_object* v_reuseFailAlloc_17288_; -v_reuseFailAlloc_17288_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_17288_, 0, v_a_17282_); -v___x_17287_ = v_reuseFailAlloc_17288_; -goto v_reusejp_17286_; -} -v_reusejp_17286_: -{ -return v___x_17287_; +return v___x_17290_; } } } @@ -57769,93 +57786,93 @@ return v___x_17287_; } else { -lean_object* v___x_17291_; uint8_t v___x_17292_; lean_object* v___x_17293_; lean_object* v___x_17294_; lean_object* v___x_17295_; lean_object* v___x_17296_; lean_object* v___x_17297_; +lean_object* v___x_17294_; uint8_t v___x_17295_; lean_object* v___x_17296_; lean_object* v___x_17297_; lean_object* v___x_17298_; lean_object* v___x_17299_; lean_object* v___x_17300_; +lean_dec(v_a_17269_); +lean_dec_ref(v_k_17262_); +v___x_17294_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1); +v___x_17295_ = 0; +v___x_17296_ = l_Lean_MessageData_ofConstName(v_matcherName_17260_, v___x_17295_); +v___x_17297_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17297_, 0, v___x_17294_); +lean_ctor_set(v___x_17297_, 1, v___x_17296_); +v___x_17298_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1); +v___x_17299_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_17299_, 0, v___x_17297_); +lean_ctor_set(v___x_17299_, 1, v___x_17298_); +v___x_17300_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_17299_, v_a_17263_, v_a_17264_, v_a_17265_, v_a_17266_); lean_dec(v_a_17266_); -lean_dec_ref(v_k_17259_); -v___x_17291_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___lam__0___closed__1); -v___x_17292_ = 0; -v___x_17293_ = l_Lean_MessageData_ofConstName(v_matcherName_17257_, v___x_17292_); -v___x_17294_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17294_, 0, v___x_17291_); -lean_ctor_set(v___x_17294_, 1, v___x_17293_); -v___x_17295_ = lean_obj_once(&l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1, &l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1_once, _init_l_Lean_Meta_Match_withMkMatcherInput___redArg___closed__1); -v___x_17296_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_17296_, 0, v___x_17294_); -lean_ctor_set(v___x_17296_, 1, v___x_17295_); -v___x_17297_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_Meta_Match_throwIncorrectNumberOfPatternsAt___at___00__private_Lean_Meta_Match_Match_0__Lean_Meta_Match_checkNumPatterns_spec__1_spec__2_spec__5___redArg(v___x_17296_, v_a_17260_, v_a_17261_, v_a_17262_, v_a_17263_); -lean_dec(v_a_17263_); -lean_dec_ref(v_a_17262_); -lean_dec(v_a_17261_); -lean_dec_ref(v_a_17260_); -return v___x_17297_; +lean_dec_ref(v_a_17265_); +lean_dec(v_a_17264_); +lean_dec_ref(v_a_17263_); +return v___x_17300_; } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___boxed(lean_object* v_matcherName_17298_, lean_object* v_unfoldNamed_17299_, lean_object* v_k_17300_, lean_object* v_a_17301_, lean_object* v_a_17302_, lean_object* v_a_17303_, lean_object* v_a_17304_, lean_object* v_a_17305_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___redArg___boxed(lean_object* v_matcherName_17301_, lean_object* v_unfoldNamed_17302_, lean_object* v_k_17303_, lean_object* v_a_17304_, lean_object* v_a_17305_, lean_object* v_a_17306_, lean_object* v_a_17307_, lean_object* v_a_17308_){ _start: { -uint8_t v_unfoldNamed_boxed_17306_; lean_object* v_res_17307_; -v_unfoldNamed_boxed_17306_ = lean_unbox(v_unfoldNamed_17299_); -v_res_17307_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matcherName_17298_, v_unfoldNamed_boxed_17306_, v_k_17300_, v_a_17301_, v_a_17302_, v_a_17303_, v_a_17304_); -return v_res_17307_; +uint8_t v_unfoldNamed_boxed_17309_; lean_object* v_res_17310_; +v_unfoldNamed_boxed_17309_ = lean_unbox(v_unfoldNamed_17302_); +v_res_17310_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matcherName_17301_, v_unfoldNamed_boxed_17309_, v_k_17303_, v_a_17304_, v_a_17305_, v_a_17306_, v_a_17307_); +return v_res_17310_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput(lean_object* v_00_u03b1_17308_, lean_object* v_matcherName_17309_, uint8_t v_unfoldNamed_17310_, lean_object* v_k_17311_, lean_object* v_a_17312_, lean_object* v_a_17313_, lean_object* v_a_17314_, lean_object* v_a_17315_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput(lean_object* v_00_u03b1_17311_, lean_object* v_matcherName_17312_, uint8_t v_unfoldNamed_17313_, lean_object* v_k_17314_, lean_object* v_a_17315_, lean_object* v_a_17316_, lean_object* v_a_17317_, lean_object* v_a_17318_){ _start: { -lean_object* v___x_17317_; -v___x_17317_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matcherName_17309_, v_unfoldNamed_17310_, v_k_17311_, v_a_17312_, v_a_17313_, v_a_17314_, v_a_17315_); -return v___x_17317_; +lean_object* v___x_17320_; +v___x_17320_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matcherName_17312_, v_unfoldNamed_17313_, v_k_17314_, v_a_17315_, v_a_17316_, v_a_17317_, v_a_17318_); +return v___x_17320_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___boxed(lean_object* v_00_u03b1_17318_, lean_object* v_matcherName_17319_, lean_object* v_unfoldNamed_17320_, lean_object* v_k_17321_, lean_object* v_a_17322_, lean_object* v_a_17323_, lean_object* v_a_17324_, lean_object* v_a_17325_, lean_object* v_a_17326_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_withMkMatcherInput___boxed(lean_object* v_00_u03b1_17321_, lean_object* v_matcherName_17322_, lean_object* v_unfoldNamed_17323_, lean_object* v_k_17324_, lean_object* v_a_17325_, lean_object* v_a_17326_, lean_object* v_a_17327_, lean_object* v_a_17328_, lean_object* v_a_17329_){ _start: { -uint8_t v_unfoldNamed_boxed_17327_; lean_object* v_res_17328_; -v_unfoldNamed_boxed_17327_ = lean_unbox(v_unfoldNamed_17320_); -v_res_17328_ = l_Lean_Meta_Match_withMkMatcherInput(v_00_u03b1_17318_, v_matcherName_17319_, v_unfoldNamed_boxed_17327_, v_k_17321_, v_a_17322_, v_a_17323_, v_a_17324_, v_a_17325_); -return v_res_17328_; +uint8_t v_unfoldNamed_boxed_17330_; lean_object* v_res_17331_; +v_unfoldNamed_boxed_17330_ = lean_unbox(v_unfoldNamed_17323_); +v_res_17331_ = l_Lean_Meta_Match_withMkMatcherInput(v_00_u03b1_17321_, v_matcherName_17322_, v_unfoldNamed_boxed_17330_, v_k_17324_, v_a_17325_, v_a_17326_, v_a_17327_, v_a_17328_); +return v_res_17331_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_17394_; uint8_t v___x_17395_; lean_object* v___x_17396_; lean_object* v___x_17397_; -v___x_17394_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lam__0___closed__0)); -v___x_17395_ = 0; -v___x_17396_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__22_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_)); -v___x_17397_ = l_Lean_registerTraceClass(v___x_17394_, v___x_17395_, v___x_17396_); -if (lean_obj_tag(v___x_17397_) == 0) +lean_object* v___x_17397_; uint8_t v___x_17398_; lean_object* v___x_17399_; lean_object* v___x_17400_; +v___x_17397_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_solveSomeLocalFVarIdCnstr_x3f___lam__0___closed__0)); +v___x_17398_ = 0; +v___x_17399_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__22_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_)); +v___x_17400_ = l_Lean_registerTraceClass(v___x_17397_, v___x_17398_, v___x_17399_); +if (lean_obj_tag(v___x_17400_) == 0) { -lean_object* v___x_17398_; lean_object* v___x_17399_; -lean_dec_ref(v___x_17397_); -v___x_17398_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); -v___x_17399_ = l_Lean_registerTraceClass(v___x_17398_, v___x_17395_, v___x_17396_); -if (lean_obj_tag(v___x_17399_) == 0) +lean_object* v___x_17401_; lean_object* v___x_17402_; +lean_dec_ref(v___x_17400_); +v___x_17401_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkSplitterHyps___lam__0___closed__2)); +v___x_17402_ = l_Lean_registerTraceClass(v___x_17401_, v___x_17398_, v___x_17399_); +if (lean_obj_tag(v___x_17402_) == 0) { -lean_object* v___x_17400_; lean_object* v___x_17401_; -lean_dec_ref(v___x_17399_); -v___x_17400_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__24_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_)); -v___x_17401_ = l_Lean_registerTraceClass(v___x_17400_, v___x_17395_, v___x_17396_); -return v___x_17401_; +lean_object* v___x_17403_; lean_object* v___x_17404_; +lean_dec_ref(v___x_17402_); +v___x_17403_ = ((lean_object*)(l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn___closed__24_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_)); +v___x_17404_ = l_Lean_registerTraceClass(v___x_17403_, v___x_17398_, v___x_17399_); +return v___x_17404_; } else { -return v___x_17399_; +return v___x_17402_; } } else { -return v___x_17397_; +return v___x_17400_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2____boxed(lean_object* v_a_17402_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2____boxed(lean_object* v_a_17405_){ _start: { -lean_object* v_res_17403_; -v_res_17403_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_(); -return v_res_17403_; +lean_object* v_res_17406_; +v_res_17406_ = l___private_Lean_Meta_Match_Match_0__Lean_Meta_initFn_00___x40_Lean_Meta_Match_Match_1562246840____hygCtx___hyg_2_(); +return v_res_17406_; } } lean_object* runtime_initialize_Lean_Meta_Closure(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c index b2d540bc80..92eca28b1f 100644 --- a/stage0/stdlib/Lean/Meta/Match/MatchEqs.c +++ b/stage0/stdlib/Lean/Meta/Match/MatchEqs.c @@ -187,8 +187,8 @@ lean_object* l_Lean_Meta_Match_MatcherInfo_getMotivePos(lean_object*); uint8_t l_Lean_Meta_Match_Overlaps_isEmpty(lean_object*); lean_object* l_Lean_Meta_Match_isNamedPattern___boxed(lean_object*); uint8_t l_Lean_Meta_Match_instBEqAltParamInfo_beq(lean_object*, lean_object*); -lean_object* l_Lean_addAndCompile(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_setInlineAttribute(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_compileDecl(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_numAlts(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_realizeConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -9607,10 +9607,10 @@ return v_res_2538_; LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__3(lean_object* v_msg_2540_, lean_object* v___y_2541_, lean_object* v___y_2542_, lean_object* v___y_2543_, lean_object* v___y_2544_){ _start: { -lean_object* v___f_2546_; lean_object* v___x_13891__overap_2547_; lean_object* v___x_2548_; +lean_object* v___f_2546_; lean_object* v___x_14080__overap_2547_; lean_object* v___x_2548_; v___f_2546_ = ((lean_object*)(l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__3___closed__0)); -v___x_13891__overap_2547_ = lean_panic_fn(v___f_2546_, v_msg_2540_); -v___x_2548_ = lean_apply_5(v___x_13891__overap_2547_, v___y_2541_, v___y_2542_, v___y_2543_, v___y_2544_, lean_box(0)); +v___x_14080__overap_2547_ = lean_panic_fn(v___f_2546_, v_msg_2540_); +v___x_2548_ = lean_apply_5(v___x_14080__overap_2547_, v___y_2541_, v___y_2542_, v___y_2543_, v___y_2544_, lean_box(0)); return v___x_2548_; } } @@ -10965,11 +10965,11 @@ lean_object* v___y_2988_ = _args[26]; lean_object* v___y_2989_ = _args[27]; _start: { -uint8_t v___x_18132__boxed_2990_; uint8_t v___x_18133__boxed_2991_; uint8_t v___x_18134__boxed_2992_; lean_object* v_res_2993_; -v___x_18132__boxed_2990_ = lean_unbox(v___x_2973_); -v___x_18133__boxed_2991_ = lean_unbox(v___x_2974_); -v___x_18134__boxed_2992_ = lean_unbox(v___x_2975_); -v_res_2993_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__0(v___x_2962_, v_a_2963_, v_a_2964_, v___x_2965_, v___x_2966_, v___x_2967_, v___x_2968_, v___x_2969_, v_rhsArgs_2970_, v_a_2971_, v_ys_2972_, v___x_18132__boxed_2990_, v___x_18133__boxed_2991_, v___x_18134__boxed_2992_, v_matchDeclName_2976_, v___x_2977_, v___x_2978_, v___x_2979_, v___x_2980_, v___x_2981_, v_argMask_2982_, v_a_2983_, v_alts_2984_, v___y_2985_, v___y_2986_, v___y_2987_, v___y_2988_); +uint8_t v___x_18336__boxed_2990_; uint8_t v___x_18337__boxed_2991_; uint8_t v___x_18338__boxed_2992_; lean_object* v_res_2993_; +v___x_18336__boxed_2990_ = lean_unbox(v___x_2973_); +v___x_18337__boxed_2991_ = lean_unbox(v___x_2974_); +v___x_18338__boxed_2992_ = lean_unbox(v___x_2975_); +v_res_2993_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__0(v___x_2962_, v_a_2963_, v_a_2964_, v___x_2965_, v___x_2966_, v___x_2967_, v___x_2968_, v___x_2969_, v_rhsArgs_2970_, v_a_2971_, v_ys_2972_, v___x_18336__boxed_2990_, v___x_18337__boxed_2991_, v___x_18338__boxed_2992_, v_matchDeclName_2976_, v___x_2977_, v___x_2978_, v___x_2979_, v___x_2980_, v___x_2981_, v_argMask_2982_, v_a_2983_, v_alts_2984_, v___y_2985_, v___y_2986_, v___y_2987_, v___y_2988_); lean_dec_ref(v_alts_2984_); lean_dec_ref(v_ys_2972_); lean_dec_ref(v_a_2971_); @@ -11225,10 +11225,10 @@ lean_ctor_set(v___x_3056_, 0, v___x_3050_); lean_ctor_set(v___x_3056_, 1, v___x_3053_); v_sz_3057_ = lean_array_size(v___x_3055_); lean_inc(v___y_3045_); -lean_inc_ref(v___y_3047_); -lean_inc(v___y_3046_); lean_inc_ref(v___y_3048_); -v___x_3058_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__7(v___x_3055_, v_sz_3057_, v___x_3041_, v___x_3056_, v___y_3048_, v___y_3046_, v___y_3047_, v___y_3045_); +lean_inc(v___y_3046_); +lean_inc_ref(v___y_3047_); +v___x_3058_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__7(v___x_3055_, v_sz_3057_, v___x_3041_, v___x_3056_, v___y_3047_, v___y_3046_, v___y_3048_, v___y_3045_); lean_dec_ref(v___x_3055_); if (lean_obj_tag(v___x_3058_) == 0) { @@ -11244,7 +11244,7 @@ lean_inc_ref(v___x_3061_); v___x_3062_ = l_Array_append___redArg(v___x_3061_, v_ys_3024_); v___x_3063_ = 0; v___x_3064_ = 1; -v___x_3065_ = l_Lean_Meta_mkForallFVars(v___x_3062_, v_fst_3060_, v___x_3063_, v___x_3012_, v___x_3012_, v___x_3064_, v___y_3048_, v___y_3046_, v___y_3047_, v___y_3045_); +v___x_3065_ = l_Lean_Meta_mkForallFVars(v___x_3062_, v_fst_3060_, v___x_3063_, v___x_3012_, v___x_3012_, v___x_3064_, v___y_3047_, v___y_3046_, v___y_3048_, v___y_3045_); lean_dec_ref(v___x_3062_); if (lean_obj_tag(v___x_3065_) == 0) { @@ -11286,7 +11286,7 @@ lean_closure_set(v___f_3073_, 19, v___x_3069_); lean_closure_set(v___f_3073_, 20, v_argMask_3027_); lean_closure_set(v___f_3073_, 21, v_a_3066_); v___x_3074_ = l_Subarray_copy___redArg(v___x_3022_); -v___x_3075_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg(v___x_3023_, v___x_3061_, v___x_3038_, v___x_3074_, v___f_3073_, v___y_3048_, v___y_3046_, v___y_3047_, v___y_3045_); +v___x_3075_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg(v___x_3023_, v___x_3061_, v___x_3038_, v___x_3074_, v___f_3073_, v___y_3047_, v___y_3046_, v___y_3048_, v___y_3045_); return v___x_3075_; } else @@ -11451,8 +11451,8 @@ if (v___x_3105_ == 0) { v___y_3093_ = v___y_3103_; v___y_3094_ = v___y_3101_; -v___y_3095_ = v___y_3102_; -v___y_3096_ = v___y_3100_; +v___y_3095_ = v___y_3100_; +v___y_3096_ = v___y_3102_; v___y_3097_ = v___x_3105_; goto v___jp_3092_; } @@ -11463,8 +11463,8 @@ v___x_3106_ = lean_array_get_size(v_a_3043_); v___x_3107_ = lean_nat_dec_eq(v___x_3106_, v___x_3010_); v___y_3093_ = v___y_3103_; v___y_3094_ = v___y_3101_; -v___y_3095_ = v___y_3102_; -v___y_3096_ = v___y_3100_; +v___y_3095_ = v___y_3100_; +v___y_3096_ = v___y_3102_; v___y_3097_ = v___x_3107_; goto v___jp_3092_; } @@ -11568,9 +11568,9 @@ lean_object* v___y_3170_ = _args[27]; lean_object* v___y_3171_ = _args[28]; _start: { -uint8_t v___x_18394__boxed_3172_; lean_object* v_res_3173_; -v___x_18394__boxed_3172_ = lean_unbox(v___x_3150_); -v_res_3173_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1(v___x_3143_, v_overlaps_3144_, v_a_3145_, v_fst_3146_, v___x_3147_, v___x_3148_, v___x_3149_, v___x_18394__boxed_3172_, v___x_3151_, v_a_3152_, v___x_3153_, v___x_3154_, v___x_3155_, v_matchDeclName_3156_, v___x_3157_, v___x_3158_, v___x_3159_, v___x_3160_, v___x_3161_, v_ys_3162_, v___eqs_3163_, v_rhsArgs_3164_, v_argMask_3165_, v_altResultType_3166_, v___y_3167_, v___y_3168_, v___y_3169_, v___y_3170_); +uint8_t v___x_18598__boxed_3172_; lean_object* v_res_3173_; +v___x_18598__boxed_3172_ = lean_unbox(v___x_3150_); +v_res_3173_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1(v___x_3143_, v_overlaps_3144_, v_a_3145_, v_fst_3146_, v___x_3147_, v___x_3148_, v___x_3149_, v___x_18598__boxed_3172_, v___x_3151_, v_a_3152_, v___x_3153_, v___x_3154_, v___x_3155_, v_matchDeclName_3156_, v___x_3157_, v___x_3158_, v___x_3159_, v___x_3160_, v___x_3161_, v_ys_3162_, v___eqs_3163_, v_rhsArgs_3164_, v_argMask_3165_, v_altResultType_3166_, v___y_3167_, v___y_3168_, v___y_3169_, v___y_3170_); lean_dec_ref(v___eqs_3163_); lean_dec(v___x_3161_); lean_dec(v_fst_3146_); @@ -12121,7 +12121,7 @@ return v___x_3324_; LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1(lean_object* v_splitterName_3326_, lean_object* v_matchDeclName_3327_, lean_object* v_numParams_3328_, lean_object* v_val_3329_, lean_object* v___x_3330_, lean_object* v_numDiscrs_3331_, lean_object* v_baseName_3332_, lean_object* v_a_3333_, lean_object* v___x_3334_, lean_object* v___x_3335_, lean_object* v___x_3336_, lean_object* v_uElimPos_x3f_3337_, lean_object* v_discrInfos_3338_, lean_object* v_overlaps_3339_, lean_object* v___f_3340_, lean_object* v___x_3341_, lean_object* v_altInfos_3342_, lean_object* v_xs_3343_, lean_object* v___matchResultType_3344_, lean_object* v___y_3345_, lean_object* v___y_3346_, lean_object* v___y_3347_, lean_object* v___y_3348_){ _start: { -lean_object* v___y_3354_; lean_object* v___y_3355_; lean_object* v___y_3359_; lean_object* v___y_3360_; lean_object* v___y_3361_; uint8_t v___y_3362_; lean_object* v___x_3364_; lean_object* v___x_3365_; lean_object* v___x_3366_; lean_object* v___x_3367_; lean_object* v___x_3368_; lean_object* v_lower_3370_; lean_object* v_upper_3371_; lean_object* v___x_3423_; lean_object* v___x_3424_; lean_object* v___x_3425_; uint8_t v___x_3426_; +lean_object* v___y_3354_; lean_object* v___y_3355_; lean_object* v___y_3359_; lean_object* v___y_3360_; lean_object* v___y_3361_; uint8_t v___y_3362_; lean_object* v___x_3364_; lean_object* v___x_3365_; lean_object* v___x_3366_; lean_object* v___x_3367_; lean_object* v___x_3368_; lean_object* v_lower_3370_; lean_object* v_upper_3371_; lean_object* v___x_3424_; lean_object* v___x_3425_; lean_object* v___x_3426_; uint8_t v___x_3427_; v___x_3364_ = lean_box(0); v___x_3365_ = lean_unsigned_to_nat(0u); lean_inc(v_numParams_3328_); @@ -12130,22 +12130,22 @@ v___x_3366_ = l_Array_toSubarray___redArg(v_xs_3343_, v___x_3365_, v_numParams_3 v___x_3367_ = l_Lean_Meta_Match_MatcherInfo_getMotivePos(v_val_3329_); v___x_3368_ = lean_array_get(v___x_3330_, v_xs_3343_, v___x_3367_); lean_dec(v___x_3367_); -v___x_3423_ = lean_array_get_size(v_xs_3343_); -v___x_3424_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_3329_); -v___x_3425_ = lean_nat_sub(v___x_3423_, v___x_3424_); -lean_dec(v___x_3424_); -v___x_3426_ = lean_nat_dec_le(v___x_3425_, v___x_3365_); -if (v___x_3426_ == 0) +v___x_3424_ = lean_array_get_size(v_xs_3343_); +v___x_3425_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_3329_); +v___x_3426_ = lean_nat_sub(v___x_3424_, v___x_3425_); +lean_dec(v___x_3425_); +v___x_3427_ = lean_nat_dec_le(v___x_3426_, v___x_3365_); +if (v___x_3427_ == 0) { -v_lower_3370_ = v___x_3425_; -v_upper_3371_ = v___x_3423_; +v_lower_3370_ = v___x_3426_; +v_upper_3371_ = v___x_3424_; goto v___jp_3369_; } else { -lean_dec(v___x_3425_); +lean_dec(v___x_3426_); v_lower_3370_ = v___x_3365_; -v_upper_3371_ = v___x_3423_; +v_upper_3371_ = v___x_3424_; goto v___jp_3369_; } v___jp_3350_: @@ -12171,18 +12171,18 @@ v___jp_3358_: lean_object* v___x_3363_; lean_inc(v___y_3348_); lean_inc(v_matchDeclName_3327_); -v___x_3363_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matchDeclName_3327_, v___y_3362_, v___y_3359_, v___y_3345_, v___y_3346_, v___y_3347_, v___y_3348_); +v___x_3363_ = l_Lean_Meta_Match_withMkMatcherInput___redArg(v_matchDeclName_3327_, v___y_3362_, v___y_3360_, v___y_3345_, v___y_3346_, v___y_3347_, v___y_3348_); if (lean_obj_tag(v___x_3363_) == 0) { lean_dec_ref(v___x_3363_); -v___y_3354_ = v___y_3361_; -v___y_3355_ = v___y_3360_; +v___y_3354_ = v___y_3359_; +v___y_3355_ = v___y_3361_; goto v___jp_3353_; } else { -lean_dec_ref(v___y_3361_); -lean_dec(v___y_3360_); +lean_dec(v___y_3361_); +lean_dec_ref(v___y_3359_); lean_dec(v___y_3348_); lean_dec(v_matchDeclName_3327_); lean_dec(v_splitterName_3326_); @@ -12217,7 +12217,7 @@ v___x_3381_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_M lean_dec(v___x_3378_); if (lean_obj_tag(v___x_3381_) == 0) { -lean_object* v_a_3382_; lean_object* v_snd_3383_; lean_object* v_snd_3384_; lean_object* v_snd_3385_; lean_object* v_fst_3386_; lean_object* v_fst_3387_; lean_object* v___x_3389_; uint8_t v_isShared_3390_; uint8_t v_isSharedCheck_3413_; +lean_object* v_a_3382_; lean_object* v_snd_3383_; lean_object* v_snd_3384_; lean_object* v_snd_3385_; lean_object* v_fst_3386_; lean_object* v_fst_3387_; lean_object* v___x_3389_; uint8_t v_isShared_3390_; uint8_t v_isSharedCheck_3414_; v_a_3382_ = lean_ctor_get(v___x_3381_, 0); lean_inc(v_a_3382_); lean_dec_ref(v___x_3381_); @@ -12229,14 +12229,14 @@ v_fst_3386_ = lean_ctor_get(v_a_3382_, 0); lean_inc(v_fst_3386_); lean_dec(v_a_3382_); v_fst_3387_ = lean_ctor_get(v_snd_3385_, 0); -v_isSharedCheck_3413_ = !lean_is_exclusive(v_snd_3385_); -if (v_isSharedCheck_3413_ == 0) +v_isSharedCheck_3414_ = !lean_is_exclusive(v_snd_3385_); +if (v_isSharedCheck_3414_ == 0) { -lean_object* v_unused_3414_; -v_unused_3414_ = lean_ctor_get(v_snd_3385_, 1); -lean_dec(v_unused_3414_); +lean_object* v_unused_3415_; +v_unused_3415_ = lean_ctor_get(v_snd_3385_, 1); +lean_dec(v_unused_3415_); v___x_3389_ = v_snd_3385_; -v_isShared_3390_ = v_isSharedCheck_3413_; +v_isShared_3390_ = v_isSharedCheck_3414_; goto v_resetjp_3388_; } else @@ -12244,7 +12244,7 @@ else lean_inc(v_fst_3387_); lean_dec(v_snd_3385_); v___x_3389_ = lean_box(0); -v_isShared_3390_ = v_isSharedCheck_3413_; +v_isShared_3390_ = v_isSharedCheck_3414_; goto v_resetjp_3388_; } v_resetjp_3388_: @@ -12270,9 +12270,9 @@ lean_dec_ref(v___x_3341_); lean_dec(v___x_3335_); lean_dec(v___x_3334_); v___x_3393_ = 1; -v___y_3359_ = v___f_3340_; -v___y_3360_ = v_fst_3386_; -v___y_3361_ = v___x_3391_; +v___y_3359_ = v___x_3391_; +v___y_3360_ = v___f_3340_; +v___y_3361_ = v_fst_3386_; v___y_3362_ = v___x_3393_; goto v___jp_3358_; } @@ -12342,11 +12342,11 @@ goto v_reusejp_3405_; } else { -lean_object* v_reuseFailAlloc_3412_; -v_reuseFailAlloc_3412_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3412_, 0, v_splitterName_3326_); -lean_ctor_set(v_reuseFailAlloc_3412_, 1, v___x_3364_); -v___x_3406_ = v_reuseFailAlloc_3412_; +lean_object* v_reuseFailAlloc_3413_; +v_reuseFailAlloc_3413_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3413_, 0, v_splitterName_3326_); +lean_ctor_set(v_reuseFailAlloc_3413_, 1, v___x_3364_); +v___x_3406_ = v_reuseFailAlloc_3413_; goto v_reusejp_3405_; } v_reusejp_3405_: @@ -12362,7 +12362,8 @@ v___x_3408_ = lean_alloc_ctor(1, 1, 0); lean_ctor_set(v___x_3408_, 0, v___x_3407_); lean_inc(v___y_3348_); lean_inc_ref(v___y_3347_); -v___x_3409_ = l_Lean_addAndCompile(v___x_3408_, v___x_3400_, v___y_3347_, v___y_3348_); +lean_inc_ref(v___x_3408_); +v___x_3409_ = l_Lean_addDecl(v___x_3408_, v___x_3400_, v___y_3347_, v___y_3348_); if (lean_obj_tag(v___x_3409_) == 0) { uint8_t v___x_3410_; lean_object* v___x_3411_; @@ -12370,12 +12371,17 @@ lean_dec_ref(v___x_3409_); v___x_3410_ = 0; lean_inc(v_splitterName_3326_); v___x_3411_ = l_Lean_Meta_setInlineAttribute(v_splitterName_3326_, v___x_3410_, v___y_3345_, v___y_3346_, v___y_3347_, v___y_3348_); -lean_dec_ref(v___y_3347_); lean_dec(v___y_3346_); lean_dec_ref(v___y_3345_); if (lean_obj_tag(v___x_3411_) == 0) { +lean_object* v___x_3412_; lean_dec_ref(v___x_3411_); +lean_inc(v___y_3348_); +v___x_3412_ = l_Lean_compileDecl(v___x_3408_, v___x_3400_, v___y_3347_, v___y_3348_); +if (lean_obj_tag(v___x_3412_) == 0) +{ +lean_dec_ref(v___x_3412_); v___y_3354_ = v___x_3391_; v___y_3355_ = v_fst_3386_; goto v___jp_3353_; @@ -12387,11 +12393,24 @@ lean_dec(v_fst_3386_); lean_dec(v___y_3348_); lean_dec(v_matchDeclName_3327_); lean_dec(v_splitterName_3326_); +return v___x_3412_; +} +} +else +{ +lean_dec_ref(v___x_3408_); +lean_dec_ref(v___x_3391_); +lean_dec(v_fst_3386_); +lean_dec(v___y_3348_); +lean_dec_ref(v___y_3347_); +lean_dec(v_matchDeclName_3327_); +lean_dec(v_splitterName_3326_); return v___x_3411_; } } else { +lean_dec_ref(v___x_3408_); lean_dec_ref(v___x_3391_); lean_dec(v_fst_3386_); lean_dec(v___y_3348_); @@ -12414,9 +12433,9 @@ lean_dec(v_fst_3387_); lean_dec_ref(v___x_3341_); lean_dec(v___x_3335_); lean_dec(v___x_3334_); -v___y_3359_ = v___f_3340_; -v___y_3360_ = v_fst_3386_; -v___y_3361_ = v___x_3391_; +v___y_3359_ = v___x_3391_; +v___y_3360_ = v___f_3340_; +v___y_3361_ = v_fst_3386_; v___y_3362_ = v___x_3392_; goto v___jp_3358_; } @@ -12425,7 +12444,7 @@ goto v___jp_3358_; } else { -lean_object* v_a_3415_; lean_object* v___x_3417_; uint8_t v_isShared_3418_; uint8_t v_isSharedCheck_3422_; +lean_object* v_a_3416_; lean_object* v___x_3418_; uint8_t v_isShared_3419_; uint8_t v_isSharedCheck_3423_; lean_dec(v___y_3348_); lean_dec_ref(v___y_3347_); lean_dec(v___y_3346_); @@ -12441,41 +12460,41 @@ lean_dec(v_numDiscrs_3331_); lean_dec(v_numParams_3328_); lean_dec(v_matchDeclName_3327_); lean_dec(v_splitterName_3326_); -v_a_3415_ = lean_ctor_get(v___x_3381_, 0); -v_isSharedCheck_3422_ = !lean_is_exclusive(v___x_3381_); -if (v_isSharedCheck_3422_ == 0) +v_a_3416_ = lean_ctor_get(v___x_3381_, 0); +v_isSharedCheck_3423_ = !lean_is_exclusive(v___x_3381_); +if (v_isSharedCheck_3423_ == 0) { -v___x_3417_ = v___x_3381_; -v_isShared_3418_ = v_isSharedCheck_3422_; -goto v_resetjp_3416_; +v___x_3418_ = v___x_3381_; +v_isShared_3419_ = v_isSharedCheck_3423_; +goto v_resetjp_3417_; } else { -lean_inc(v_a_3415_); +lean_inc(v_a_3416_); lean_dec(v___x_3381_); -v___x_3417_ = lean_box(0); -v_isShared_3418_ = v_isSharedCheck_3422_; -goto v_resetjp_3416_; +v___x_3418_ = lean_box(0); +v_isShared_3419_ = v_isSharedCheck_3423_; +goto v_resetjp_3417_; } -v_resetjp_3416_: +v_resetjp_3417_: { -lean_object* v___x_3420_; -if (v_isShared_3418_ == 0) +lean_object* v___x_3421_; +if (v_isShared_3419_ == 0) { -v___x_3420_ = v___x_3417_; -goto v_reusejp_3419_; +v___x_3421_ = v___x_3418_; +goto v_reusejp_3420_; } else { -lean_object* v_reuseFailAlloc_3421_; -v_reuseFailAlloc_3421_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3421_, 0, v_a_3415_); -v___x_3420_ = v_reuseFailAlloc_3421_; -goto v_reusejp_3419_; +lean_object* v_reuseFailAlloc_3422_; +v_reuseFailAlloc_3422_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3422_, 0, v_a_3416_); +v___x_3421_ = v_reuseFailAlloc_3422_; +goto v_reusejp_3420_; } -v_reusejp_3419_: +v_reusejp_3420_: { -return v___x_3420_; +return v___x_3421_; } } } @@ -12483,93 +12502,93 @@ return v___x_3420_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1___boxed(lean_object** _args){ -lean_object* v_splitterName_3427_ = _args[0]; -lean_object* v_matchDeclName_3428_ = _args[1]; -lean_object* v_numParams_3429_ = _args[2]; -lean_object* v_val_3430_ = _args[3]; -lean_object* v___x_3431_ = _args[4]; -lean_object* v_numDiscrs_3432_ = _args[5]; -lean_object* v_baseName_3433_ = _args[6]; -lean_object* v_a_3434_ = _args[7]; -lean_object* v___x_3435_ = _args[8]; -lean_object* v___x_3436_ = _args[9]; -lean_object* v___x_3437_ = _args[10]; -lean_object* v_uElimPos_x3f_3438_ = _args[11]; -lean_object* v_discrInfos_3439_ = _args[12]; -lean_object* v_overlaps_3440_ = _args[13]; -lean_object* v___f_3441_ = _args[14]; -lean_object* v___x_3442_ = _args[15]; -lean_object* v_altInfos_3443_ = _args[16]; -lean_object* v_xs_3444_ = _args[17]; -lean_object* v___matchResultType_3445_ = _args[18]; -lean_object* v___y_3446_ = _args[19]; -lean_object* v___y_3447_ = _args[20]; -lean_object* v___y_3448_ = _args[21]; -lean_object* v___y_3449_ = _args[22]; -lean_object* v___y_3450_ = _args[23]; +lean_object* v_splitterName_3428_ = _args[0]; +lean_object* v_matchDeclName_3429_ = _args[1]; +lean_object* v_numParams_3430_ = _args[2]; +lean_object* v_val_3431_ = _args[3]; +lean_object* v___x_3432_ = _args[4]; +lean_object* v_numDiscrs_3433_ = _args[5]; +lean_object* v_baseName_3434_ = _args[6]; +lean_object* v_a_3435_ = _args[7]; +lean_object* v___x_3436_ = _args[8]; +lean_object* v___x_3437_ = _args[9]; +lean_object* v___x_3438_ = _args[10]; +lean_object* v_uElimPos_x3f_3439_ = _args[11]; +lean_object* v_discrInfos_3440_ = _args[12]; +lean_object* v_overlaps_3441_ = _args[13]; +lean_object* v___f_3442_ = _args[14]; +lean_object* v___x_3443_ = _args[15]; +lean_object* v_altInfos_3444_ = _args[16]; +lean_object* v_xs_3445_ = _args[17]; +lean_object* v___matchResultType_3446_ = _args[18]; +lean_object* v___y_3447_ = _args[19]; +lean_object* v___y_3448_ = _args[20]; +lean_object* v___y_3449_ = _args[21]; +lean_object* v___y_3450_ = _args[22]; +lean_object* v___y_3451_ = _args[23]; _start: { -lean_object* v_res_3451_; -v_res_3451_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1(v_splitterName_3427_, v_matchDeclName_3428_, v_numParams_3429_, v_val_3430_, v___x_3431_, v_numDiscrs_3432_, v_baseName_3433_, v_a_3434_, v___x_3435_, v___x_3436_, v___x_3437_, v_uElimPos_x3f_3438_, v_discrInfos_3439_, v_overlaps_3440_, v___f_3441_, v___x_3442_, v_altInfos_3443_, v_xs_3444_, v___matchResultType_3445_, v___y_3446_, v___y_3447_, v___y_3448_, v___y_3449_); -lean_dec_ref(v___matchResultType_3445_); -lean_dec_ref(v_altInfos_3443_); -return v_res_3451_; +lean_object* v_res_3452_; +v_res_3452_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1(v_splitterName_3428_, v_matchDeclName_3429_, v_numParams_3430_, v_val_3431_, v___x_3432_, v_numDiscrs_3433_, v_baseName_3434_, v_a_3435_, v___x_3436_, v___x_3437_, v___x_3438_, v_uElimPos_x3f_3439_, v_discrInfos_3440_, v_overlaps_3441_, v___f_3442_, v___x_3443_, v_altInfos_3444_, v_xs_3445_, v___matchResultType_3446_, v___y_3447_, v___y_3448_, v___y_3449_, v___y_3450_); +lean_dec_ref(v___matchResultType_3446_); +lean_dec_ref(v_altInfos_3444_); +return v_res_3452_; } } -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(lean_object* v_a_3452_, lean_object* v_a_3453_){ +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(lean_object* v_a_3453_, lean_object* v_a_3454_){ _start: { -if (lean_obj_tag(v_a_3452_) == 0) +if (lean_obj_tag(v_a_3453_) == 0) { -lean_object* v___x_3454_; -v___x_3454_ = l_List_reverse___redArg(v_a_3453_); -return v___x_3454_; +lean_object* v___x_3455_; +v___x_3455_ = l_List_reverse___redArg(v_a_3454_); +return v___x_3455_; } else { -lean_object* v_head_3455_; lean_object* v_tail_3456_; lean_object* v___x_3458_; uint8_t v_isShared_3459_; uint8_t v_isSharedCheck_3465_; -v_head_3455_ = lean_ctor_get(v_a_3452_, 0); -v_tail_3456_ = lean_ctor_get(v_a_3452_, 1); -v_isSharedCheck_3465_ = !lean_is_exclusive(v_a_3452_); -if (v_isSharedCheck_3465_ == 0) +lean_object* v_head_3456_; lean_object* v_tail_3457_; lean_object* v___x_3459_; uint8_t v_isShared_3460_; uint8_t v_isSharedCheck_3466_; +v_head_3456_ = lean_ctor_get(v_a_3453_, 0); +v_tail_3457_ = lean_ctor_get(v_a_3453_, 1); +v_isSharedCheck_3466_ = !lean_is_exclusive(v_a_3453_); +if (v_isSharedCheck_3466_ == 0) { -v___x_3458_ = v_a_3452_; -v_isShared_3459_ = v_isSharedCheck_3465_; -goto v_resetjp_3457_; +v___x_3459_ = v_a_3453_; +v_isShared_3460_ = v_isSharedCheck_3466_; +goto v_resetjp_3458_; } else { -lean_inc(v_tail_3456_); -lean_inc(v_head_3455_); -lean_dec(v_a_3452_); -v___x_3458_ = lean_box(0); -v_isShared_3459_ = v_isSharedCheck_3465_; -goto v_resetjp_3457_; +lean_inc(v_tail_3457_); +lean_inc(v_head_3456_); +lean_dec(v_a_3453_); +v___x_3459_ = lean_box(0); +v_isShared_3460_ = v_isSharedCheck_3466_; +goto v_resetjp_3458_; } -v_resetjp_3457_: +v_resetjp_3458_: { -lean_object* v___x_3460_; lean_object* v___x_3462_; -v___x_3460_ = l_Lean_mkLevelParam(v_head_3455_); -if (v_isShared_3459_ == 0) +lean_object* v___x_3461_; lean_object* v___x_3463_; +v___x_3461_ = l_Lean_mkLevelParam(v_head_3456_); +if (v_isShared_3460_ == 0) { -lean_ctor_set(v___x_3458_, 1, v_a_3453_); -lean_ctor_set(v___x_3458_, 0, v___x_3460_); -v___x_3462_ = v___x_3458_; -goto v_reusejp_3461_; +lean_ctor_set(v___x_3459_, 1, v_a_3454_); +lean_ctor_set(v___x_3459_, 0, v___x_3461_); +v___x_3463_ = v___x_3459_; +goto v_reusejp_3462_; } else { -lean_object* v_reuseFailAlloc_3464_; -v_reuseFailAlloc_3464_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_3464_, 0, v___x_3460_); -lean_ctor_set(v_reuseFailAlloc_3464_, 1, v_a_3453_); -v___x_3462_ = v_reuseFailAlloc_3464_; -goto v_reusejp_3461_; +lean_object* v_reuseFailAlloc_3465_; +v_reuseFailAlloc_3465_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_3465_, 0, v___x_3461_); +lean_ctor_set(v_reuseFailAlloc_3465_, 1, v_a_3454_); +v___x_3463_ = v_reuseFailAlloc_3465_; +goto v_reusejp_3462_; } -v_reusejp_3461_: +v_reusejp_3462_: { -v_a_3452_ = v_tail_3456_; -v_a_3453_ = v___x_3462_; +v_a_3453_ = v_tail_3457_; +v_a_3454_ = v___x_3463_; goto _start; } } @@ -12579,310 +12598,310 @@ goto _start; static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0(void){ _start: { -lean_object* v___x_3466_; -v___x_3466_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_3466_; +lean_object* v___x_3467_; +v___x_3467_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_3467_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1(void){ _start: { -lean_object* v___x_3467_; lean_object* v___x_3468_; -v___x_3467_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0); -v___x_3468_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3468_, 0, v___x_3467_); -return v___x_3468_; +lean_object* v___x_3468_; lean_object* v___x_3469_; +v___x_3468_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__0); +v___x_3469_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3469_, 0, v___x_3468_); +return v___x_3469_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2(void){ _start: { -lean_object* v___x_3469_; lean_object* v___x_3470_; lean_object* v___x_3471_; -v___x_3469_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1); -v___x_3470_ = lean_unsigned_to_nat(0u); -v___x_3471_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_3471_, 0, v___x_3470_); -lean_ctor_set(v___x_3471_, 1, v___x_3470_); -lean_ctor_set(v___x_3471_, 2, v___x_3470_); -lean_ctor_set(v___x_3471_, 3, v___x_3469_); -lean_ctor_set(v___x_3471_, 4, v___x_3469_); -lean_ctor_set(v___x_3471_, 5, v___x_3469_); -lean_ctor_set(v___x_3471_, 6, v___x_3469_); -lean_ctor_set(v___x_3471_, 7, v___x_3469_); -lean_ctor_set(v___x_3471_, 8, v___x_3469_); -return v___x_3471_; +lean_object* v___x_3470_; lean_object* v___x_3471_; lean_object* v___x_3472_; +v___x_3470_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1); +v___x_3471_ = lean_unsigned_to_nat(0u); +v___x_3472_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_3472_, 0, v___x_3471_); +lean_ctor_set(v___x_3472_, 1, v___x_3471_); +lean_ctor_set(v___x_3472_, 2, v___x_3471_); +lean_ctor_set(v___x_3472_, 3, v___x_3470_); +lean_ctor_set(v___x_3472_, 4, v___x_3470_); +lean_ctor_set(v___x_3472_, 5, v___x_3470_); +lean_ctor_set(v___x_3472_, 6, v___x_3470_); +lean_ctor_set(v___x_3472_, 7, v___x_3470_); +lean_ctor_set(v___x_3472_, 8, v___x_3470_); +return v___x_3472_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3(void){ _start: { -lean_object* v___x_3472_; lean_object* v___x_3473_; lean_object* v___x_3474_; lean_object* v___x_3475_; -v___x_3472_ = lean_box(1); -v___x_3473_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); -v___x_3474_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1); -v___x_3475_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_3475_, 0, v___x_3474_); -lean_ctor_set(v___x_3475_, 1, v___x_3473_); -lean_ctor_set(v___x_3475_, 2, v___x_3472_); -return v___x_3475_; +lean_object* v___x_3473_; lean_object* v___x_3474_; lean_object* v___x_3475_; lean_object* v___x_3476_; +v___x_3473_ = lean_box(1); +v___x_3474_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); +v___x_3475_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__1); +v___x_3476_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_3476_, 0, v___x_3475_); +lean_ctor_set(v___x_3476_, 1, v___x_3474_); +lean_ctor_set(v___x_3476_, 2, v___x_3473_); +return v___x_3476_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5(void){ _start: { -lean_object* v___x_3477_; lean_object* v___x_3478_; -v___x_3477_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__4)); -v___x_3478_ = l_Lean_stringToMessageData(v___x_3477_); -return v___x_3478_; +lean_object* v___x_3478_; lean_object* v___x_3479_; +v___x_3478_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__4)); +v___x_3479_ = l_Lean_stringToMessageData(v___x_3478_); +return v___x_3479_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7(void){ _start: { -lean_object* v___x_3480_; lean_object* v___x_3481_; -v___x_3480_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__6)); -v___x_3481_ = l_Lean_stringToMessageData(v___x_3480_); -return v___x_3481_; +lean_object* v___x_3481_; lean_object* v___x_3482_; +v___x_3481_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__6)); +v___x_3482_ = l_Lean_stringToMessageData(v___x_3481_); +return v___x_3482_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9(void){ _start: { -lean_object* v___x_3483_; lean_object* v___x_3484_; -v___x_3483_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__8)); -v___x_3484_ = l_Lean_stringToMessageData(v___x_3483_); -return v___x_3484_; +lean_object* v___x_3484_; lean_object* v___x_3485_; +v___x_3484_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__8)); +v___x_3485_ = l_Lean_stringToMessageData(v___x_3484_); +return v___x_3485_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11(void){ _start: { -lean_object* v___x_3486_; lean_object* v___x_3487_; -v___x_3486_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__10)); -v___x_3487_ = l_Lean_stringToMessageData(v___x_3486_); -return v___x_3487_; +lean_object* v___x_3487_; lean_object* v___x_3488_; +v___x_3487_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__10)); +v___x_3488_ = l_Lean_stringToMessageData(v___x_3487_); +return v___x_3488_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13(void){ _start: { -lean_object* v___x_3489_; lean_object* v___x_3490_; -v___x_3489_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__12)); -v___x_3490_ = l_Lean_stringToMessageData(v___x_3489_); -return v___x_3490_; +lean_object* v___x_3490_; lean_object* v___x_3491_; +v___x_3490_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__12)); +v___x_3491_ = l_Lean_stringToMessageData(v___x_3490_); +return v___x_3491_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15(void){ _start: { -lean_object* v___x_3492_; lean_object* v___x_3493_; -v___x_3492_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__14)); -v___x_3493_ = l_Lean_stringToMessageData(v___x_3492_); -return v___x_3493_; +lean_object* v___x_3493_; lean_object* v___x_3494_; +v___x_3493_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__14)); +v___x_3494_ = l_Lean_stringToMessageData(v___x_3493_); +return v___x_3494_; } } static lean_object* _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17(void){ _start: { -lean_object* v___x_3495_; lean_object* v___x_3496_; -v___x_3495_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__16)); -v___x_3496_ = l_Lean_stringToMessageData(v___x_3495_); -return v___x_3496_; +lean_object* v___x_3496_; lean_object* v___x_3497_; +v___x_3496_ = ((lean_object*)(l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__16)); +v___x_3497_ = l_Lean_stringToMessageData(v___x_3496_); +return v___x_3497_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(lean_object* v_msg_3497_, lean_object* v_declHint_3498_, lean_object* v___y_3499_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(lean_object* v_msg_3498_, lean_object* v_declHint_3499_, lean_object* v___y_3500_){ _start: { -lean_object* v___x_3501_; lean_object* v_env_3502_; uint8_t v___x_3503_; -v___x_3501_ = lean_st_ref_get(v___y_3499_); -v_env_3502_ = lean_ctor_get(v___x_3501_, 0); -lean_inc_ref(v_env_3502_); -lean_dec(v___x_3501_); -v___x_3503_ = l_Lean_Name_isAnonymous(v_declHint_3498_); -if (v___x_3503_ == 0) +lean_object* v___x_3502_; lean_object* v_env_3503_; uint8_t v___x_3504_; +v___x_3502_ = lean_st_ref_get(v___y_3500_); +v_env_3503_ = lean_ctor_get(v___x_3502_, 0); +lean_inc_ref(v_env_3503_); +lean_dec(v___x_3502_); +v___x_3504_ = l_Lean_Name_isAnonymous(v_declHint_3499_); +if (v___x_3504_ == 0) { -uint8_t v_isExporting_3504_; -v_isExporting_3504_ = lean_ctor_get_uint8(v_env_3502_, sizeof(void*)*8); -if (v_isExporting_3504_ == 0) +uint8_t v_isExporting_3505_; +v_isExporting_3505_ = lean_ctor_get_uint8(v_env_3503_, sizeof(void*)*8); +if (v_isExporting_3505_ == 0) { -lean_object* v___x_3505_; -lean_dec_ref(v_env_3502_); -lean_dec(v_declHint_3498_); -v___x_3505_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3505_, 0, v_msg_3497_); -return v___x_3505_; +lean_object* v___x_3506_; +lean_dec_ref(v_env_3503_); +lean_dec(v_declHint_3499_); +v___x_3506_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3506_, 0, v_msg_3498_); +return v___x_3506_; } else { -lean_object* v___x_3506_; uint8_t v___x_3507_; -lean_inc_ref(v_env_3502_); -v___x_3506_ = l_Lean_Environment_setExporting(v_env_3502_, v___x_3503_); -lean_inc(v_declHint_3498_); -lean_inc_ref(v___x_3506_); -v___x_3507_ = l_Lean_Environment_contains(v___x_3506_, v_declHint_3498_, v_isExporting_3504_); -if (v___x_3507_ == 0) +lean_object* v___x_3507_; uint8_t v___x_3508_; +lean_inc_ref(v_env_3503_); +v___x_3507_ = l_Lean_Environment_setExporting(v_env_3503_, v___x_3504_); +lean_inc(v_declHint_3499_); +lean_inc_ref(v___x_3507_); +v___x_3508_ = l_Lean_Environment_contains(v___x_3507_, v_declHint_3499_, v_isExporting_3505_); +if (v___x_3508_ == 0) { -lean_object* v___x_3508_; -lean_dec_ref(v___x_3506_); -lean_dec_ref(v_env_3502_); -lean_dec(v_declHint_3498_); -v___x_3508_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3508_, 0, v_msg_3497_); -return v___x_3508_; +lean_object* v___x_3509_; +lean_dec_ref(v___x_3507_); +lean_dec_ref(v_env_3503_); +lean_dec(v_declHint_3499_); +v___x_3509_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3509_, 0, v_msg_3498_); +return v___x_3509_; } else { -lean_object* v___x_3509_; lean_object* v___x_3510_; lean_object* v___x_3511_; lean_object* v___x_3512_; lean_object* v___x_3513_; lean_object* v_c_3514_; lean_object* v___x_3515_; -v___x_3509_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2); -v___x_3510_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3); -v___x_3511_ = l_Lean_Options_empty; -v___x_3512_ = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(v___x_3512_, 0, v___x_3506_); -lean_ctor_set(v___x_3512_, 1, v___x_3509_); -lean_ctor_set(v___x_3512_, 2, v___x_3510_); -lean_ctor_set(v___x_3512_, 3, v___x_3511_); -lean_inc(v_declHint_3498_); -v___x_3513_ = l_Lean_MessageData_ofConstName(v_declHint_3498_, v___x_3503_); -v_c_3514_ = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(v_c_3514_, 0, v___x_3512_); -lean_ctor_set(v_c_3514_, 1, v___x_3513_); -v___x_3515_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_3502_, v_declHint_3498_); -if (lean_obj_tag(v___x_3515_) == 0) +lean_object* v___x_3510_; lean_object* v___x_3511_; lean_object* v___x_3512_; lean_object* v___x_3513_; lean_object* v___x_3514_; lean_object* v_c_3515_; lean_object* v___x_3516_; +v___x_3510_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__2); +v___x_3511_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__3); +v___x_3512_ = l_Lean_Options_empty; +v___x_3513_ = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(v___x_3513_, 0, v___x_3507_); +lean_ctor_set(v___x_3513_, 1, v___x_3510_); +lean_ctor_set(v___x_3513_, 2, v___x_3511_); +lean_ctor_set(v___x_3513_, 3, v___x_3512_); +lean_inc(v_declHint_3499_); +v___x_3514_ = l_Lean_MessageData_ofConstName(v_declHint_3499_, v___x_3504_); +v_c_3515_ = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(v_c_3515_, 0, v___x_3513_); +lean_ctor_set(v_c_3515_, 1, v___x_3514_); +v___x_3516_ = l_Lean_Environment_getModuleIdxFor_x3f(v_env_3503_, v_declHint_3499_); +if (lean_obj_tag(v___x_3516_) == 0) { -lean_object* v___x_3516_; lean_object* v___x_3517_; lean_object* v___x_3518_; lean_object* v___x_3519_; lean_object* v___x_3520_; lean_object* v___x_3521_; lean_object* v___x_3522_; -lean_dec_ref(v_env_3502_); -lean_dec(v_declHint_3498_); -v___x_3516_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5); -v___x_3517_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3517_, 0, v___x_3516_); -lean_ctor_set(v___x_3517_, 1, v_c_3514_); -v___x_3518_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7); -v___x_3519_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3519_, 0, v___x_3517_); -lean_ctor_set(v___x_3519_, 1, v___x_3518_); -v___x_3520_ = l_Lean_MessageData_note(v___x_3519_); -v___x_3521_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3521_, 0, v_msg_3497_); -lean_ctor_set(v___x_3521_, 1, v___x_3520_); -v___x_3522_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3522_, 0, v___x_3521_); -return v___x_3522_; +lean_object* v___x_3517_; lean_object* v___x_3518_; lean_object* v___x_3519_; lean_object* v___x_3520_; lean_object* v___x_3521_; lean_object* v___x_3522_; lean_object* v___x_3523_; +lean_dec_ref(v_env_3503_); +lean_dec(v_declHint_3499_); +v___x_3517_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5); +v___x_3518_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3518_, 0, v___x_3517_); +lean_ctor_set(v___x_3518_, 1, v_c_3515_); +v___x_3519_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__7); +v___x_3520_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3520_, 0, v___x_3518_); +lean_ctor_set(v___x_3520_, 1, v___x_3519_); +v___x_3521_ = l_Lean_MessageData_note(v___x_3520_); +v___x_3522_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3522_, 0, v_msg_3498_); +lean_ctor_set(v___x_3522_, 1, v___x_3521_); +v___x_3523_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3523_, 0, v___x_3522_); +return v___x_3523_; } else { -lean_object* v_val_3523_; lean_object* v___x_3525_; uint8_t v_isShared_3526_; uint8_t v_isSharedCheck_3558_; -v_val_3523_ = lean_ctor_get(v___x_3515_, 0); -v_isSharedCheck_3558_ = !lean_is_exclusive(v___x_3515_); -if (v_isSharedCheck_3558_ == 0) +lean_object* v_val_3524_; lean_object* v___x_3526_; uint8_t v_isShared_3527_; uint8_t v_isSharedCheck_3559_; +v_val_3524_ = lean_ctor_get(v___x_3516_, 0); +v_isSharedCheck_3559_ = !lean_is_exclusive(v___x_3516_); +if (v_isSharedCheck_3559_ == 0) { -v___x_3525_ = v___x_3515_; -v_isShared_3526_ = v_isSharedCheck_3558_; -goto v_resetjp_3524_; +v___x_3526_ = v___x_3516_; +v_isShared_3527_ = v_isSharedCheck_3559_; +goto v_resetjp_3525_; } else { -lean_inc(v_val_3523_); -lean_dec(v___x_3515_); -v___x_3525_ = lean_box(0); -v_isShared_3526_ = v_isSharedCheck_3558_; -goto v_resetjp_3524_; +lean_inc(v_val_3524_); +lean_dec(v___x_3516_); +v___x_3526_ = lean_box(0); +v_isShared_3527_ = v_isSharedCheck_3559_; +goto v_resetjp_3525_; } -v_resetjp_3524_: +v_resetjp_3525_: { -lean_object* v___x_3527_; lean_object* v___x_3528_; lean_object* v___x_3529_; lean_object* v_mod_3530_; uint8_t v___x_3531_; -v___x_3527_ = lean_box(0); -v___x_3528_ = l_Lean_Environment_header(v_env_3502_); -lean_dec_ref(v_env_3502_); -v___x_3529_ = l_Lean_EnvironmentHeader_moduleNames(v___x_3528_); -v_mod_3530_ = lean_array_get(v___x_3527_, v___x_3529_, v_val_3523_); -lean_dec(v_val_3523_); -lean_dec_ref(v___x_3529_); -v___x_3531_ = l_Lean_isPrivateName(v_declHint_3498_); -lean_dec(v_declHint_3498_); -if (v___x_3531_ == 0) +lean_object* v___x_3528_; lean_object* v___x_3529_; lean_object* v___x_3530_; lean_object* v_mod_3531_; uint8_t v___x_3532_; +v___x_3528_ = lean_box(0); +v___x_3529_ = l_Lean_Environment_header(v_env_3503_); +lean_dec_ref(v_env_3503_); +v___x_3530_ = l_Lean_EnvironmentHeader_moduleNames(v___x_3529_); +v_mod_3531_ = lean_array_get(v___x_3528_, v___x_3530_, v_val_3524_); +lean_dec(v_val_3524_); +lean_dec_ref(v___x_3530_); +v___x_3532_ = l_Lean_isPrivateName(v_declHint_3499_); +lean_dec(v_declHint_3499_); +if (v___x_3532_ == 0) { -lean_object* v___x_3532_; lean_object* v___x_3533_; lean_object* v___x_3534_; lean_object* v___x_3535_; lean_object* v___x_3536_; lean_object* v___x_3537_; lean_object* v___x_3538_; lean_object* v___x_3539_; lean_object* v___x_3540_; lean_object* v___x_3541_; lean_object* v___x_3543_; -v___x_3532_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9); -v___x_3533_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3533_, 0, v___x_3532_); -lean_ctor_set(v___x_3533_, 1, v_c_3514_); -v___x_3534_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11); -v___x_3535_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3535_, 0, v___x_3533_); -lean_ctor_set(v___x_3535_, 1, v___x_3534_); -v___x_3536_ = l_Lean_MessageData_ofName(v_mod_3530_); -v___x_3537_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3537_, 0, v___x_3535_); -lean_ctor_set(v___x_3537_, 1, v___x_3536_); -v___x_3538_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13); -v___x_3539_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3539_, 0, v___x_3537_); -lean_ctor_set(v___x_3539_, 1, v___x_3538_); -v___x_3540_ = l_Lean_MessageData_note(v___x_3539_); -v___x_3541_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3541_, 0, v_msg_3497_); -lean_ctor_set(v___x_3541_, 1, v___x_3540_); -if (v_isShared_3526_ == 0) +lean_object* v___x_3533_; lean_object* v___x_3534_; lean_object* v___x_3535_; lean_object* v___x_3536_; lean_object* v___x_3537_; lean_object* v___x_3538_; lean_object* v___x_3539_; lean_object* v___x_3540_; lean_object* v___x_3541_; lean_object* v___x_3542_; lean_object* v___x_3544_; +v___x_3533_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__9); +v___x_3534_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3534_, 0, v___x_3533_); +lean_ctor_set(v___x_3534_, 1, v_c_3515_); +v___x_3535_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__11); +v___x_3536_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3536_, 0, v___x_3534_); +lean_ctor_set(v___x_3536_, 1, v___x_3535_); +v___x_3537_ = l_Lean_MessageData_ofName(v_mod_3531_); +v___x_3538_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3538_, 0, v___x_3536_); +lean_ctor_set(v___x_3538_, 1, v___x_3537_); +v___x_3539_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__13); +v___x_3540_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3540_, 0, v___x_3538_); +lean_ctor_set(v___x_3540_, 1, v___x_3539_); +v___x_3541_ = l_Lean_MessageData_note(v___x_3540_); +v___x_3542_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3542_, 0, v_msg_3498_); +lean_ctor_set(v___x_3542_, 1, v___x_3541_); +if (v_isShared_3527_ == 0) { -lean_ctor_set_tag(v___x_3525_, 0); -lean_ctor_set(v___x_3525_, 0, v___x_3541_); -v___x_3543_ = v___x_3525_; -goto v_reusejp_3542_; +lean_ctor_set_tag(v___x_3526_, 0); +lean_ctor_set(v___x_3526_, 0, v___x_3542_); +v___x_3544_ = v___x_3526_; +goto v_reusejp_3543_; } else { -lean_object* v_reuseFailAlloc_3544_; -v_reuseFailAlloc_3544_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3544_, 0, v___x_3541_); -v___x_3543_ = v_reuseFailAlloc_3544_; -goto v_reusejp_3542_; +lean_object* v_reuseFailAlloc_3545_; +v_reuseFailAlloc_3545_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3545_, 0, v___x_3542_); +v___x_3544_ = v_reuseFailAlloc_3545_; +goto v_reusejp_3543_; } -v_reusejp_3542_: +v_reusejp_3543_: { -return v___x_3543_; +return v___x_3544_; } } else { -lean_object* v___x_3545_; lean_object* v___x_3546_; lean_object* v___x_3547_; lean_object* v___x_3548_; lean_object* v___x_3549_; lean_object* v___x_3550_; lean_object* v___x_3551_; lean_object* v___x_3552_; lean_object* v___x_3553_; lean_object* v___x_3554_; lean_object* v___x_3556_; -v___x_3545_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5); -v___x_3546_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3546_, 0, v___x_3545_); -lean_ctor_set(v___x_3546_, 1, v_c_3514_); -v___x_3547_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15); -v___x_3548_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3548_, 0, v___x_3546_); -lean_ctor_set(v___x_3548_, 1, v___x_3547_); -v___x_3549_ = l_Lean_MessageData_ofName(v_mod_3530_); -v___x_3550_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3550_, 0, v___x_3548_); -lean_ctor_set(v___x_3550_, 1, v___x_3549_); -v___x_3551_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17); -v___x_3552_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3552_, 0, v___x_3550_); -lean_ctor_set(v___x_3552_, 1, v___x_3551_); -v___x_3553_ = l_Lean_MessageData_note(v___x_3552_); -v___x_3554_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3554_, 0, v_msg_3497_); -lean_ctor_set(v___x_3554_, 1, v___x_3553_); -if (v_isShared_3526_ == 0) +lean_object* v___x_3546_; lean_object* v___x_3547_; lean_object* v___x_3548_; lean_object* v___x_3549_; lean_object* v___x_3550_; lean_object* v___x_3551_; lean_object* v___x_3552_; lean_object* v___x_3553_; lean_object* v___x_3554_; lean_object* v___x_3555_; lean_object* v___x_3557_; +v___x_3546_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__5); +v___x_3547_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3547_, 0, v___x_3546_); +lean_ctor_set(v___x_3547_, 1, v_c_3515_); +v___x_3548_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__15); +v___x_3549_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3549_, 0, v___x_3547_); +lean_ctor_set(v___x_3549_, 1, v___x_3548_); +v___x_3550_ = l_Lean_MessageData_ofName(v_mod_3531_); +v___x_3551_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3551_, 0, v___x_3549_); +lean_ctor_set(v___x_3551_, 1, v___x_3550_); +v___x_3552_ = lean_obj_once(&l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17, &l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17_once, _init_l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___closed__17); +v___x_3553_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3553_, 0, v___x_3551_); +lean_ctor_set(v___x_3553_, 1, v___x_3552_); +v___x_3554_ = l_Lean_MessageData_note(v___x_3553_); +v___x_3555_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3555_, 0, v_msg_3498_); +lean_ctor_set(v___x_3555_, 1, v___x_3554_); +if (v_isShared_3527_ == 0) { -lean_ctor_set_tag(v___x_3525_, 0); -lean_ctor_set(v___x_3525_, 0, v___x_3554_); -v___x_3556_ = v___x_3525_; -goto v_reusejp_3555_; +lean_ctor_set_tag(v___x_3526_, 0); +lean_ctor_set(v___x_3526_, 0, v___x_3555_); +v___x_3557_ = v___x_3526_; +goto v_reusejp_3556_; } else { -lean_object* v_reuseFailAlloc_3557_; -v_reuseFailAlloc_3557_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3557_, 0, v___x_3554_); -v___x_3556_ = v_reuseFailAlloc_3557_; -goto v_reusejp_3555_; +lean_object* v_reuseFailAlloc_3558_; +v_reuseFailAlloc_3558_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3558_, 0, v___x_3555_); +v___x_3557_ = v_reuseFailAlloc_3558_; +goto v_reusejp_3556_; } -v_reusejp_3555_: +v_reusejp_3556_: { -return v___x_3556_; +return v___x_3557_; } } } @@ -12892,645 +12911,645 @@ return v___x_3556_; } else { -lean_object* v___x_3559_; -lean_dec_ref(v_env_3502_); -lean_dec(v_declHint_3498_); -v___x_3559_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_3559_, 0, v_msg_3497_); -return v___x_3559_; +lean_object* v___x_3560_; +lean_dec_ref(v_env_3503_); +lean_dec(v_declHint_3499_); +v___x_3560_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_3560_, 0, v_msg_3498_); +return v___x_3560_; } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___boxed(lean_object* v_msg_3560_, lean_object* v_declHint_3561_, lean_object* v___y_3562_, lean_object* v___y_3563_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg___boxed(lean_object* v_msg_3561_, lean_object* v_declHint_3562_, lean_object* v___y_3563_, lean_object* v___y_3564_){ _start: { -lean_object* v_res_3564_; -v_res_3564_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3560_, v_declHint_3561_, v___y_3562_); -lean_dec(v___y_3562_); -return v_res_3564_; +lean_object* v_res_3565_; +v_res_3565_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3561_, v_declHint_3562_, v___y_3563_); +lean_dec(v___y_3563_); +return v_res_3565_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(lean_object* v_msg_3565_, lean_object* v_declHint_3566_, lean_object* v___y_3567_, lean_object* v___y_3568_, lean_object* v___y_3569_, lean_object* v___y_3570_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(lean_object* v_msg_3566_, lean_object* v_declHint_3567_, lean_object* v___y_3568_, lean_object* v___y_3569_, lean_object* v___y_3570_, lean_object* v___y_3571_){ _start: { -lean_object* v___x_3572_; lean_object* v_a_3573_; lean_object* v___x_3575_; uint8_t v_isShared_3576_; uint8_t v_isSharedCheck_3582_; -v___x_3572_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3565_, v_declHint_3566_, v___y_3570_); -v_a_3573_ = lean_ctor_get(v___x_3572_, 0); -v_isSharedCheck_3582_ = !lean_is_exclusive(v___x_3572_); -if (v_isSharedCheck_3582_ == 0) +lean_object* v___x_3573_; lean_object* v_a_3574_; lean_object* v___x_3576_; uint8_t v_isShared_3577_; uint8_t v_isSharedCheck_3583_; +v___x_3573_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3566_, v_declHint_3567_, v___y_3571_); +v_a_3574_ = lean_ctor_get(v___x_3573_, 0); +v_isSharedCheck_3583_ = !lean_is_exclusive(v___x_3573_); +if (v_isSharedCheck_3583_ == 0) { -v___x_3575_ = v___x_3572_; -v_isShared_3576_ = v_isSharedCheck_3582_; -goto v_resetjp_3574_; +v___x_3576_ = v___x_3573_; +v_isShared_3577_ = v_isSharedCheck_3583_; +goto v_resetjp_3575_; } else { -lean_inc(v_a_3573_); -lean_dec(v___x_3572_); -v___x_3575_ = lean_box(0); -v_isShared_3576_ = v_isSharedCheck_3582_; -goto v_resetjp_3574_; +lean_inc(v_a_3574_); +lean_dec(v___x_3573_); +v___x_3576_ = lean_box(0); +v_isShared_3577_ = v_isSharedCheck_3583_; +goto v_resetjp_3575_; } -v_resetjp_3574_: +v_resetjp_3575_: { -lean_object* v___x_3577_; lean_object* v___x_3578_; lean_object* v___x_3580_; -v___x_3577_ = l_Lean_unknownIdentifierMessageTag; -v___x_3578_ = lean_alloc_ctor(8, 2, 0); -lean_ctor_set(v___x_3578_, 0, v___x_3577_); -lean_ctor_set(v___x_3578_, 1, v_a_3573_); -if (v_isShared_3576_ == 0) +lean_object* v___x_3578_; lean_object* v___x_3579_; lean_object* v___x_3581_; +v___x_3578_ = l_Lean_unknownIdentifierMessageTag; +v___x_3579_ = lean_alloc_ctor(8, 2, 0); +lean_ctor_set(v___x_3579_, 0, v___x_3578_); +lean_ctor_set(v___x_3579_, 1, v_a_3574_); +if (v_isShared_3577_ == 0) { -lean_ctor_set(v___x_3575_, 0, v___x_3578_); -v___x_3580_ = v___x_3575_; -goto v_reusejp_3579_; +lean_ctor_set(v___x_3576_, 0, v___x_3579_); +v___x_3581_ = v___x_3576_; +goto v_reusejp_3580_; } else { -lean_object* v_reuseFailAlloc_3581_; -v_reuseFailAlloc_3581_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3581_, 0, v___x_3578_); -v___x_3580_ = v_reuseFailAlloc_3581_; -goto v_reusejp_3579_; +lean_object* v_reuseFailAlloc_3582_; +v_reuseFailAlloc_3582_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3582_, 0, v___x_3579_); +v___x_3581_ = v_reuseFailAlloc_3582_; +goto v_reusejp_3580_; } -v_reusejp_3579_: +v_reusejp_3580_: { -return v___x_3580_; +return v___x_3581_; } } } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12___boxed(lean_object* v_msg_3583_, lean_object* v_declHint_3584_, lean_object* v___y_3585_, lean_object* v___y_3586_, lean_object* v___y_3587_, lean_object* v___y_3588_, lean_object* v___y_3589_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12___boxed(lean_object* v_msg_3584_, lean_object* v_declHint_3585_, lean_object* v___y_3586_, lean_object* v___y_3587_, lean_object* v___y_3588_, lean_object* v___y_3589_, lean_object* v___y_3590_){ _start: { -lean_object* v_res_3590_; -v_res_3590_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(v_msg_3583_, v_declHint_3584_, v___y_3585_, v___y_3586_, v___y_3587_, v___y_3588_); -lean_dec(v___y_3588_); -lean_dec_ref(v___y_3587_); -lean_dec(v___y_3586_); -lean_dec_ref(v___y_3585_); -return v_res_3590_; +lean_object* v_res_3591_; +v_res_3591_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(v_msg_3584_, v_declHint_3585_, v___y_3586_, v___y_3587_, v___y_3588_, v___y_3589_); +lean_dec(v___y_3589_); +lean_dec_ref(v___y_3588_); +lean_dec(v___y_3587_); +lean_dec_ref(v___y_3586_); +return v_res_3591_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(lean_object* v_ref_3591_, lean_object* v_msg_3592_, lean_object* v___y_3593_, lean_object* v___y_3594_, lean_object* v___y_3595_, lean_object* v___y_3596_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(lean_object* v_ref_3592_, lean_object* v_msg_3593_, lean_object* v___y_3594_, lean_object* v___y_3595_, lean_object* v___y_3596_, lean_object* v___y_3597_){ _start: { -lean_object* v_fileName_3598_; lean_object* v_fileMap_3599_; lean_object* v_options_3600_; lean_object* v_currRecDepth_3601_; lean_object* v_maxRecDepth_3602_; lean_object* v_ref_3603_; lean_object* v_currNamespace_3604_; lean_object* v_openDecls_3605_; lean_object* v_initHeartbeats_3606_; lean_object* v_maxHeartbeats_3607_; lean_object* v_quotContext_3608_; lean_object* v_currMacroScope_3609_; uint8_t v_diag_3610_; lean_object* v_cancelTk_x3f_3611_; uint8_t v_suppressElabErrors_3612_; lean_object* v_inheritedTraceOptions_3613_; lean_object* v___x_3615_; uint8_t v_isShared_3616_; uint8_t v_isSharedCheck_3622_; -v_fileName_3598_ = lean_ctor_get(v___y_3595_, 0); -v_fileMap_3599_ = lean_ctor_get(v___y_3595_, 1); -v_options_3600_ = lean_ctor_get(v___y_3595_, 2); -v_currRecDepth_3601_ = lean_ctor_get(v___y_3595_, 3); -v_maxRecDepth_3602_ = lean_ctor_get(v___y_3595_, 4); -v_ref_3603_ = lean_ctor_get(v___y_3595_, 5); -v_currNamespace_3604_ = lean_ctor_get(v___y_3595_, 6); -v_openDecls_3605_ = lean_ctor_get(v___y_3595_, 7); -v_initHeartbeats_3606_ = lean_ctor_get(v___y_3595_, 8); -v_maxHeartbeats_3607_ = lean_ctor_get(v___y_3595_, 9); -v_quotContext_3608_ = lean_ctor_get(v___y_3595_, 10); -v_currMacroScope_3609_ = lean_ctor_get(v___y_3595_, 11); -v_diag_3610_ = lean_ctor_get_uint8(v___y_3595_, sizeof(void*)*14); -v_cancelTk_x3f_3611_ = lean_ctor_get(v___y_3595_, 12); -v_suppressElabErrors_3612_ = lean_ctor_get_uint8(v___y_3595_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_3613_ = lean_ctor_get(v___y_3595_, 13); -v_isSharedCheck_3622_ = !lean_is_exclusive(v___y_3595_); -if (v_isSharedCheck_3622_ == 0) +lean_object* v_fileName_3599_; lean_object* v_fileMap_3600_; lean_object* v_options_3601_; lean_object* v_currRecDepth_3602_; lean_object* v_maxRecDepth_3603_; lean_object* v_ref_3604_; lean_object* v_currNamespace_3605_; lean_object* v_openDecls_3606_; lean_object* v_initHeartbeats_3607_; lean_object* v_maxHeartbeats_3608_; lean_object* v_quotContext_3609_; lean_object* v_currMacroScope_3610_; uint8_t v_diag_3611_; lean_object* v_cancelTk_x3f_3612_; uint8_t v_suppressElabErrors_3613_; lean_object* v_inheritedTraceOptions_3614_; lean_object* v___x_3616_; uint8_t v_isShared_3617_; uint8_t v_isSharedCheck_3623_; +v_fileName_3599_ = lean_ctor_get(v___y_3596_, 0); +v_fileMap_3600_ = lean_ctor_get(v___y_3596_, 1); +v_options_3601_ = lean_ctor_get(v___y_3596_, 2); +v_currRecDepth_3602_ = lean_ctor_get(v___y_3596_, 3); +v_maxRecDepth_3603_ = lean_ctor_get(v___y_3596_, 4); +v_ref_3604_ = lean_ctor_get(v___y_3596_, 5); +v_currNamespace_3605_ = lean_ctor_get(v___y_3596_, 6); +v_openDecls_3606_ = lean_ctor_get(v___y_3596_, 7); +v_initHeartbeats_3607_ = lean_ctor_get(v___y_3596_, 8); +v_maxHeartbeats_3608_ = lean_ctor_get(v___y_3596_, 9); +v_quotContext_3609_ = lean_ctor_get(v___y_3596_, 10); +v_currMacroScope_3610_ = lean_ctor_get(v___y_3596_, 11); +v_diag_3611_ = lean_ctor_get_uint8(v___y_3596_, sizeof(void*)*14); +v_cancelTk_x3f_3612_ = lean_ctor_get(v___y_3596_, 12); +v_suppressElabErrors_3613_ = lean_ctor_get_uint8(v___y_3596_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_3614_ = lean_ctor_get(v___y_3596_, 13); +v_isSharedCheck_3623_ = !lean_is_exclusive(v___y_3596_); +if (v_isSharedCheck_3623_ == 0) { -v___x_3615_ = v___y_3595_; -v_isShared_3616_ = v_isSharedCheck_3622_; -goto v_resetjp_3614_; +v___x_3616_ = v___y_3596_; +v_isShared_3617_ = v_isSharedCheck_3623_; +goto v_resetjp_3615_; } else { -lean_inc(v_inheritedTraceOptions_3613_); -lean_inc(v_cancelTk_x3f_3611_); -lean_inc(v_currMacroScope_3609_); -lean_inc(v_quotContext_3608_); -lean_inc(v_maxHeartbeats_3607_); -lean_inc(v_initHeartbeats_3606_); -lean_inc(v_openDecls_3605_); -lean_inc(v_currNamespace_3604_); -lean_inc(v_ref_3603_); -lean_inc(v_maxRecDepth_3602_); -lean_inc(v_currRecDepth_3601_); -lean_inc(v_options_3600_); -lean_inc(v_fileMap_3599_); -lean_inc(v_fileName_3598_); -lean_dec(v___y_3595_); -v___x_3615_ = lean_box(0); -v_isShared_3616_ = v_isSharedCheck_3622_; -goto v_resetjp_3614_; +lean_inc(v_inheritedTraceOptions_3614_); +lean_inc(v_cancelTk_x3f_3612_); +lean_inc(v_currMacroScope_3610_); +lean_inc(v_quotContext_3609_); +lean_inc(v_maxHeartbeats_3608_); +lean_inc(v_initHeartbeats_3607_); +lean_inc(v_openDecls_3606_); +lean_inc(v_currNamespace_3605_); +lean_inc(v_ref_3604_); +lean_inc(v_maxRecDepth_3603_); +lean_inc(v_currRecDepth_3602_); +lean_inc(v_options_3601_); +lean_inc(v_fileMap_3600_); +lean_inc(v_fileName_3599_); +lean_dec(v___y_3596_); +v___x_3616_ = lean_box(0); +v_isShared_3617_ = v_isSharedCheck_3623_; +goto v_resetjp_3615_; } -v_resetjp_3614_: +v_resetjp_3615_: { -lean_object* v_ref_3617_; lean_object* v___x_3619_; -v_ref_3617_ = l_Lean_replaceRef(v_ref_3591_, v_ref_3603_); -lean_dec(v_ref_3603_); -if (v_isShared_3616_ == 0) +lean_object* v_ref_3618_; lean_object* v___x_3620_; +v_ref_3618_ = l_Lean_replaceRef(v_ref_3592_, v_ref_3604_); +lean_dec(v_ref_3604_); +if (v_isShared_3617_ == 0) { -lean_ctor_set(v___x_3615_, 5, v_ref_3617_); -v___x_3619_ = v___x_3615_; -goto v_reusejp_3618_; +lean_ctor_set(v___x_3616_, 5, v_ref_3618_); +v___x_3620_ = v___x_3616_; +goto v_reusejp_3619_; } else { -lean_object* v_reuseFailAlloc_3621_; -v_reuseFailAlloc_3621_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_3621_, 0, v_fileName_3598_); -lean_ctor_set(v_reuseFailAlloc_3621_, 1, v_fileMap_3599_); -lean_ctor_set(v_reuseFailAlloc_3621_, 2, v_options_3600_); -lean_ctor_set(v_reuseFailAlloc_3621_, 3, v_currRecDepth_3601_); -lean_ctor_set(v_reuseFailAlloc_3621_, 4, v_maxRecDepth_3602_); -lean_ctor_set(v_reuseFailAlloc_3621_, 5, v_ref_3617_); -lean_ctor_set(v_reuseFailAlloc_3621_, 6, v_currNamespace_3604_); -lean_ctor_set(v_reuseFailAlloc_3621_, 7, v_openDecls_3605_); -lean_ctor_set(v_reuseFailAlloc_3621_, 8, v_initHeartbeats_3606_); -lean_ctor_set(v_reuseFailAlloc_3621_, 9, v_maxHeartbeats_3607_); -lean_ctor_set(v_reuseFailAlloc_3621_, 10, v_quotContext_3608_); -lean_ctor_set(v_reuseFailAlloc_3621_, 11, v_currMacroScope_3609_); -lean_ctor_set(v_reuseFailAlloc_3621_, 12, v_cancelTk_x3f_3611_); -lean_ctor_set(v_reuseFailAlloc_3621_, 13, v_inheritedTraceOptions_3613_); -lean_ctor_set_uint8(v_reuseFailAlloc_3621_, sizeof(void*)*14, v_diag_3610_); -lean_ctor_set_uint8(v_reuseFailAlloc_3621_, sizeof(void*)*14 + 1, v_suppressElabErrors_3612_); -v___x_3619_ = v_reuseFailAlloc_3621_; -goto v_reusejp_3618_; +lean_object* v_reuseFailAlloc_3622_; +v_reuseFailAlloc_3622_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_3622_, 0, v_fileName_3599_); +lean_ctor_set(v_reuseFailAlloc_3622_, 1, v_fileMap_3600_); +lean_ctor_set(v_reuseFailAlloc_3622_, 2, v_options_3601_); +lean_ctor_set(v_reuseFailAlloc_3622_, 3, v_currRecDepth_3602_); +lean_ctor_set(v_reuseFailAlloc_3622_, 4, v_maxRecDepth_3603_); +lean_ctor_set(v_reuseFailAlloc_3622_, 5, v_ref_3618_); +lean_ctor_set(v_reuseFailAlloc_3622_, 6, v_currNamespace_3605_); +lean_ctor_set(v_reuseFailAlloc_3622_, 7, v_openDecls_3606_); +lean_ctor_set(v_reuseFailAlloc_3622_, 8, v_initHeartbeats_3607_); +lean_ctor_set(v_reuseFailAlloc_3622_, 9, v_maxHeartbeats_3608_); +lean_ctor_set(v_reuseFailAlloc_3622_, 10, v_quotContext_3609_); +lean_ctor_set(v_reuseFailAlloc_3622_, 11, v_currMacroScope_3610_); +lean_ctor_set(v_reuseFailAlloc_3622_, 12, v_cancelTk_x3f_3612_); +lean_ctor_set(v_reuseFailAlloc_3622_, 13, v_inheritedTraceOptions_3614_); +lean_ctor_set_uint8(v_reuseFailAlloc_3622_, sizeof(void*)*14, v_diag_3611_); +lean_ctor_set_uint8(v_reuseFailAlloc_3622_, sizeof(void*)*14 + 1, v_suppressElabErrors_3613_); +v___x_3620_ = v_reuseFailAlloc_3622_; +goto v_reusejp_3619_; } -v_reusejp_3618_: +v_reusejp_3619_: { -lean_object* v___x_3620_; -v___x_3620_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v_msg_3592_, v___y_3593_, v___y_3594_, v___x_3619_, v___y_3596_); -lean_dec_ref(v___x_3619_); -return v___x_3620_; +lean_object* v___x_3621_; +v___x_3621_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v_msg_3593_, v___y_3594_, v___y_3595_, v___x_3620_, v___y_3597_); +lean_dec_ref(v___x_3620_); +return v___x_3621_; } } } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg___boxed(lean_object* v_ref_3623_, lean_object* v_msg_3624_, lean_object* v___y_3625_, lean_object* v___y_3626_, lean_object* v___y_3627_, lean_object* v___y_3628_, lean_object* v___y_3629_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg___boxed(lean_object* v_ref_3624_, lean_object* v_msg_3625_, lean_object* v___y_3626_, lean_object* v___y_3627_, lean_object* v___y_3628_, lean_object* v___y_3629_, lean_object* v___y_3630_){ _start: { -lean_object* v_res_3630_; -v_res_3630_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3623_, v_msg_3624_, v___y_3625_, v___y_3626_, v___y_3627_, v___y_3628_); -lean_dec(v___y_3628_); -lean_dec(v___y_3626_); -lean_dec_ref(v___y_3625_); -lean_dec(v_ref_3623_); -return v_res_3630_; +lean_object* v_res_3631_; +v_res_3631_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3624_, v_msg_3625_, v___y_3626_, v___y_3627_, v___y_3628_, v___y_3629_); +lean_dec(v___y_3629_); +lean_dec(v___y_3627_); +lean_dec_ref(v___y_3626_); +lean_dec(v_ref_3624_); +return v_res_3631_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(lean_object* v_ref_3631_, lean_object* v_msg_3632_, lean_object* v_declHint_3633_, lean_object* v___y_3634_, lean_object* v___y_3635_, lean_object* v___y_3636_, lean_object* v___y_3637_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(lean_object* v_ref_3632_, lean_object* v_msg_3633_, lean_object* v_declHint_3634_, lean_object* v___y_3635_, lean_object* v___y_3636_, lean_object* v___y_3637_, lean_object* v___y_3638_){ _start: { -lean_object* v___x_3639_; lean_object* v_a_3640_; lean_object* v___x_3641_; -v___x_3639_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(v_msg_3632_, v_declHint_3633_, v___y_3634_, v___y_3635_, v___y_3636_, v___y_3637_); -v_a_3640_ = lean_ctor_get(v___x_3639_, 0); -lean_inc(v_a_3640_); -lean_dec_ref(v___x_3639_); -v___x_3641_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3631_, v_a_3640_, v___y_3634_, v___y_3635_, v___y_3636_, v___y_3637_); -return v___x_3641_; +lean_object* v___x_3640_; lean_object* v_a_3641_; lean_object* v___x_3642_; +v___x_3640_ = l_Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12(v_msg_3633_, v_declHint_3634_, v___y_3635_, v___y_3636_, v___y_3637_, v___y_3638_); +v_a_3641_ = lean_ctor_get(v___x_3640_, 0); +lean_inc(v_a_3641_); +lean_dec_ref(v___x_3640_); +v___x_3642_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3632_, v_a_3641_, v___y_3635_, v___y_3636_, v___y_3637_, v___y_3638_); +return v___x_3642_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg___boxed(lean_object* v_ref_3642_, lean_object* v_msg_3643_, lean_object* v_declHint_3644_, lean_object* v___y_3645_, lean_object* v___y_3646_, lean_object* v___y_3647_, lean_object* v___y_3648_, lean_object* v___y_3649_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg___boxed(lean_object* v_ref_3643_, lean_object* v_msg_3644_, lean_object* v_declHint_3645_, lean_object* v___y_3646_, lean_object* v___y_3647_, lean_object* v___y_3648_, lean_object* v___y_3649_, lean_object* v___y_3650_){ _start: { -lean_object* v_res_3650_; -v_res_3650_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3642_, v_msg_3643_, v_declHint_3644_, v___y_3645_, v___y_3646_, v___y_3647_, v___y_3648_); -lean_dec(v___y_3648_); -lean_dec(v___y_3646_); -lean_dec_ref(v___y_3645_); -lean_dec(v_ref_3642_); -return v_res_3650_; +lean_object* v_res_3651_; +v_res_3651_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3643_, v_msg_3644_, v_declHint_3645_, v___y_3646_, v___y_3647_, v___y_3648_, v___y_3649_); +lean_dec(v___y_3649_); +lean_dec(v___y_3647_); +lean_dec_ref(v___y_3646_); +lean_dec(v_ref_3643_); +return v_res_3651_; } } static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1(void){ _start: { -lean_object* v___x_3652_; lean_object* v___x_3653_; -v___x_3652_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__0)); -v___x_3653_ = l_Lean_stringToMessageData(v___x_3652_); -return v___x_3653_; +lean_object* v___x_3653_; lean_object* v___x_3654_; +v___x_3653_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__0)); +v___x_3654_ = l_Lean_stringToMessageData(v___x_3653_); +return v___x_3654_; } } static lean_object* _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3(void){ _start: { -lean_object* v___x_3655_; lean_object* v___x_3656_; -v___x_3655_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__2)); -v___x_3656_ = l_Lean_stringToMessageData(v___x_3655_); -return v___x_3656_; +lean_object* v___x_3656_; lean_object* v___x_3657_; +v___x_3656_ = ((lean_object*)(l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__2)); +v___x_3657_ = l_Lean_stringToMessageData(v___x_3656_); +return v___x_3657_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(lean_object* v_ref_3657_, lean_object* v_constName_3658_, lean_object* v___y_3659_, lean_object* v___y_3660_, lean_object* v___y_3661_, lean_object* v___y_3662_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(lean_object* v_ref_3658_, lean_object* v_constName_3659_, lean_object* v___y_3660_, lean_object* v___y_3661_, lean_object* v___y_3662_, lean_object* v___y_3663_){ _start: { -lean_object* v___x_3664_; uint8_t v___x_3665_; lean_object* v___x_3666_; lean_object* v___x_3667_; lean_object* v___x_3668_; lean_object* v___x_3669_; lean_object* v___x_3670_; -v___x_3664_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1); -v___x_3665_ = 0; -lean_inc(v_constName_3658_); -v___x_3666_ = l_Lean_MessageData_ofConstName(v_constName_3658_, v___x_3665_); -v___x_3667_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3667_, 0, v___x_3664_); -lean_ctor_set(v___x_3667_, 1, v___x_3666_); -v___x_3668_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); -v___x_3669_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3669_, 0, v___x_3667_); -lean_ctor_set(v___x_3669_, 1, v___x_3668_); -v___x_3670_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3657_, v___x_3669_, v_constName_3658_, v___y_3659_, v___y_3660_, v___y_3661_, v___y_3662_); -return v___x_3670_; +lean_object* v___x_3665_; uint8_t v___x_3666_; lean_object* v___x_3667_; lean_object* v___x_3668_; lean_object* v___x_3669_; lean_object* v___x_3670_; lean_object* v___x_3671_; +v___x_3665_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__1); +v___x_3666_ = 0; +lean_inc(v_constName_3659_); +v___x_3667_ = l_Lean_MessageData_ofConstName(v_constName_3659_, v___x_3666_); +v___x_3668_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3668_, 0, v___x_3665_); +lean_ctor_set(v___x_3668_, 1, v___x_3667_); +v___x_3669_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); +v___x_3670_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3670_, 0, v___x_3668_); +lean_ctor_set(v___x_3670_, 1, v___x_3669_); +v___x_3671_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3658_, v___x_3670_, v_constName_3659_, v___y_3660_, v___y_3661_, v___y_3662_, v___y_3663_); +return v___x_3671_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___boxed(lean_object* v_ref_3671_, lean_object* v_constName_3672_, lean_object* v___y_3673_, lean_object* v___y_3674_, lean_object* v___y_3675_, lean_object* v___y_3676_, lean_object* v___y_3677_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___boxed(lean_object* v_ref_3672_, lean_object* v_constName_3673_, lean_object* v___y_3674_, lean_object* v___y_3675_, lean_object* v___y_3676_, lean_object* v___y_3677_, lean_object* v___y_3678_){ _start: { -lean_object* v_res_3678_; -v_res_3678_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3671_, v_constName_3672_, v___y_3673_, v___y_3674_, v___y_3675_, v___y_3676_); -lean_dec(v___y_3676_); -lean_dec(v___y_3674_); -lean_dec_ref(v___y_3673_); -lean_dec(v_ref_3671_); -return v_res_3678_; +lean_object* v_res_3679_; +v_res_3679_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3672_, v_constName_3673_, v___y_3674_, v___y_3675_, v___y_3676_, v___y_3677_); +lean_dec(v___y_3677_); +lean_dec(v___y_3675_); +lean_dec_ref(v___y_3674_); +lean_dec(v_ref_3672_); +return v_res_3679_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(lean_object* v_constName_3679_, lean_object* v___y_3680_, lean_object* v___y_3681_, lean_object* v___y_3682_, lean_object* v___y_3683_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(lean_object* v_constName_3680_, lean_object* v___y_3681_, lean_object* v___y_3682_, lean_object* v___y_3683_, lean_object* v___y_3684_){ _start: { -lean_object* v_ref_3685_; lean_object* v___x_3686_; -v_ref_3685_ = lean_ctor_get(v___y_3682_, 5); -lean_inc(v_ref_3685_); -v___x_3686_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3685_, v_constName_3679_, v___y_3680_, v___y_3681_, v___y_3682_, v___y_3683_); -lean_dec(v_ref_3685_); -return v___x_3686_; +lean_object* v_ref_3686_; lean_object* v___x_3687_; +v_ref_3686_ = lean_ctor_get(v___y_3683_, 5); +lean_inc(v_ref_3686_); +v___x_3687_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3686_, v_constName_3680_, v___y_3681_, v___y_3682_, v___y_3683_, v___y_3684_); +lean_dec(v_ref_3686_); +return v___x_3687_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg___boxed(lean_object* v_constName_3687_, lean_object* v___y_3688_, lean_object* v___y_3689_, lean_object* v___y_3690_, lean_object* v___y_3691_, lean_object* v___y_3692_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg___boxed(lean_object* v_constName_3688_, lean_object* v___y_3689_, lean_object* v___y_3690_, lean_object* v___y_3691_, lean_object* v___y_3692_, lean_object* v___y_3693_){ _start: { -lean_object* v_res_3693_; -v_res_3693_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3687_, v___y_3688_, v___y_3689_, v___y_3690_, v___y_3691_); -lean_dec(v___y_3691_); -lean_dec(v___y_3689_); -lean_dec_ref(v___y_3688_); -return v_res_3693_; +lean_object* v_res_3694_; +v_res_3694_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3688_, v___y_3689_, v___y_3690_, v___y_3691_, v___y_3692_); +lean_dec(v___y_3692_); +lean_dec(v___y_3690_); +lean_dec_ref(v___y_3689_); +return v_res_3694_; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(lean_object* v_constName_3694_, lean_object* v___y_3695_, lean_object* v___y_3696_, lean_object* v___y_3697_, lean_object* v___y_3698_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(lean_object* v_constName_3695_, lean_object* v___y_3696_, lean_object* v___y_3697_, lean_object* v___y_3698_, lean_object* v___y_3699_){ _start: { -lean_object* v___x_3700_; lean_object* v_env_3701_; uint8_t v___x_3702_; lean_object* v___x_3703_; -v___x_3700_ = lean_st_ref_get(v___y_3698_); -v_env_3701_ = lean_ctor_get(v___x_3700_, 0); -lean_inc_ref(v_env_3701_); -lean_dec(v___x_3700_); -v___x_3702_ = 0; -lean_inc(v_constName_3694_); -v___x_3703_ = l_Lean_Environment_find_x3f(v_env_3701_, v_constName_3694_, v___x_3702_); -if (lean_obj_tag(v___x_3703_) == 0) +lean_object* v___x_3701_; lean_object* v_env_3702_; uint8_t v___x_3703_; lean_object* v___x_3704_; +v___x_3701_ = lean_st_ref_get(v___y_3699_); +v_env_3702_ = lean_ctor_get(v___x_3701_, 0); +lean_inc_ref(v_env_3702_); +lean_dec(v___x_3701_); +v___x_3703_ = 0; +lean_inc(v_constName_3695_); +v___x_3704_ = l_Lean_Environment_find_x3f(v_env_3702_, v_constName_3695_, v___x_3703_); +if (lean_obj_tag(v___x_3704_) == 0) { -lean_object* v___x_3704_; -v___x_3704_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3694_, v___y_3695_, v___y_3696_, v___y_3697_, v___y_3698_); -return v___x_3704_; +lean_object* v___x_3705_; +v___x_3705_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3695_, v___y_3696_, v___y_3697_, v___y_3698_, v___y_3699_); +return v___x_3705_; } else { -lean_object* v_val_3705_; lean_object* v___x_3707_; uint8_t v_isShared_3708_; uint8_t v_isSharedCheck_3712_; -lean_dec_ref(v___y_3697_); -lean_dec(v_constName_3694_); -v_val_3705_ = lean_ctor_get(v___x_3703_, 0); -v_isSharedCheck_3712_ = !lean_is_exclusive(v___x_3703_); -if (v_isSharedCheck_3712_ == 0) +lean_object* v_val_3706_; lean_object* v___x_3708_; uint8_t v_isShared_3709_; uint8_t v_isSharedCheck_3713_; +lean_dec_ref(v___y_3698_); +lean_dec(v_constName_3695_); +v_val_3706_ = lean_ctor_get(v___x_3704_, 0); +v_isSharedCheck_3713_ = !lean_is_exclusive(v___x_3704_); +if (v_isSharedCheck_3713_ == 0) { -v___x_3707_ = v___x_3703_; -v_isShared_3708_ = v_isSharedCheck_3712_; -goto v_resetjp_3706_; +v___x_3708_ = v___x_3704_; +v_isShared_3709_ = v_isSharedCheck_3713_; +goto v_resetjp_3707_; } else { -lean_inc(v_val_3705_); -lean_dec(v___x_3703_); -v___x_3707_ = lean_box(0); -v_isShared_3708_ = v_isSharedCheck_3712_; -goto v_resetjp_3706_; +lean_inc(v_val_3706_); +lean_dec(v___x_3704_); +v___x_3708_ = lean_box(0); +v_isShared_3709_ = v_isSharedCheck_3713_; +goto v_resetjp_3707_; } -v_resetjp_3706_: +v_resetjp_3707_: { -lean_object* v___x_3710_; -if (v_isShared_3708_ == 0) +lean_object* v___x_3711_; +if (v_isShared_3709_ == 0) { -lean_ctor_set_tag(v___x_3707_, 0); -v___x_3710_ = v___x_3707_; -goto v_reusejp_3709_; +lean_ctor_set_tag(v___x_3708_, 0); +v___x_3711_ = v___x_3708_; +goto v_reusejp_3710_; } else { -lean_object* v_reuseFailAlloc_3711_; -v_reuseFailAlloc_3711_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3711_, 0, v_val_3705_); -v___x_3710_ = v_reuseFailAlloc_3711_; -goto v_reusejp_3709_; +lean_object* v_reuseFailAlloc_3712_; +v_reuseFailAlloc_3712_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3712_, 0, v_val_3706_); +v___x_3711_ = v_reuseFailAlloc_3712_; +goto v_reusejp_3710_; } -v_reusejp_3709_: +v_reusejp_3710_: { -return v___x_3710_; +return v___x_3711_; } } } } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0___boxed(lean_object* v_constName_3713_, lean_object* v___y_3714_, lean_object* v___y_3715_, lean_object* v___y_3716_, lean_object* v___y_3717_, lean_object* v___y_3718_){ +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0___boxed(lean_object* v_constName_3714_, lean_object* v___y_3715_, lean_object* v___y_3716_, lean_object* v___y_3717_, lean_object* v___y_3718_, lean_object* v___y_3719_){ _start: { -lean_object* v_res_3719_; -v_res_3719_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_constName_3713_, v___y_3714_, v___y_3715_, v___y_3716_, v___y_3717_); -lean_dec(v___y_3717_); -lean_dec(v___y_3715_); -lean_dec_ref(v___y_3714_); -return v_res_3719_; +lean_object* v_res_3720_; +v_res_3720_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_constName_3714_, v___y_3715_, v___y_3716_, v___y_3717_, v___y_3718_); +lean_dec(v___y_3718_); +lean_dec(v___y_3716_); +lean_dec_ref(v___y_3715_); +return v_res_3720_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1(void){ _start: { -lean_object* v___x_3721_; lean_object* v___x_3722_; -v___x_3721_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__0)); -v___x_3722_ = l_Lean_stringToMessageData(v___x_3721_); -return v___x_3722_; +lean_object* v___x_3722_; lean_object* v___x_3723_; +v___x_3722_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__0)); +v___x_3723_ = l_Lean_stringToMessageData(v___x_3722_); +return v___x_3723_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go(lean_object* v_matchDeclName_3723_, lean_object* v_baseName_3724_, lean_object* v_splitterName_3725_, lean_object* v_a_3726_, lean_object* v_a_3727_, lean_object* v_a_3728_, lean_object* v_a_3729_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go(lean_object* v_matchDeclName_3724_, lean_object* v_baseName_3725_, lean_object* v_splitterName_3726_, lean_object* v_a_3727_, lean_object* v_a_3728_, lean_object* v_a_3729_, lean_object* v_a_3730_){ _start: { -lean_object* v___x_3731_; uint8_t v_foApprox_3732_; uint8_t v_ctxApprox_3733_; uint8_t v_quasiPatternApprox_3734_; uint8_t v_constApprox_3735_; uint8_t v_isDefEqStuckEx_3736_; uint8_t v_unificationHints_3737_; uint8_t v_proofIrrelevance_3738_; uint8_t v_assignSyntheticOpaque_3739_; uint8_t v_offsetCnstrs_3740_; uint8_t v_transparency_3741_; uint8_t v_univApprox_3742_; uint8_t v_iota_3743_; uint8_t v_beta_3744_; uint8_t v_proj_3745_; uint8_t v_zeta_3746_; uint8_t v_zetaDelta_3747_; uint8_t v_zetaUnused_3748_; uint8_t v_zetaHave_3749_; lean_object* v___x_3751_; uint8_t v_isShared_3752_; uint8_t v_isSharedCheck_3812_; -v___x_3731_ = l_Lean_Meta_Context_config(v_a_3726_); -v_foApprox_3732_ = lean_ctor_get_uint8(v___x_3731_, 0); -v_ctxApprox_3733_ = lean_ctor_get_uint8(v___x_3731_, 1); -v_quasiPatternApprox_3734_ = lean_ctor_get_uint8(v___x_3731_, 2); -v_constApprox_3735_ = lean_ctor_get_uint8(v___x_3731_, 3); -v_isDefEqStuckEx_3736_ = lean_ctor_get_uint8(v___x_3731_, 4); -v_unificationHints_3737_ = lean_ctor_get_uint8(v___x_3731_, 5); -v_proofIrrelevance_3738_ = lean_ctor_get_uint8(v___x_3731_, 6); -v_assignSyntheticOpaque_3739_ = lean_ctor_get_uint8(v___x_3731_, 7); -v_offsetCnstrs_3740_ = lean_ctor_get_uint8(v___x_3731_, 8); -v_transparency_3741_ = lean_ctor_get_uint8(v___x_3731_, 9); -v_univApprox_3742_ = lean_ctor_get_uint8(v___x_3731_, 11); -v_iota_3743_ = lean_ctor_get_uint8(v___x_3731_, 12); -v_beta_3744_ = lean_ctor_get_uint8(v___x_3731_, 13); -v_proj_3745_ = lean_ctor_get_uint8(v___x_3731_, 14); -v_zeta_3746_ = lean_ctor_get_uint8(v___x_3731_, 15); -v_zetaDelta_3747_ = lean_ctor_get_uint8(v___x_3731_, 16); -v_zetaUnused_3748_ = lean_ctor_get_uint8(v___x_3731_, 17); -v_zetaHave_3749_ = lean_ctor_get_uint8(v___x_3731_, 18); -v_isSharedCheck_3812_ = !lean_is_exclusive(v___x_3731_); -if (v_isSharedCheck_3812_ == 0) +lean_object* v___x_3732_; uint8_t v_foApprox_3733_; uint8_t v_ctxApprox_3734_; uint8_t v_quasiPatternApprox_3735_; uint8_t v_constApprox_3736_; uint8_t v_isDefEqStuckEx_3737_; uint8_t v_unificationHints_3738_; uint8_t v_proofIrrelevance_3739_; uint8_t v_assignSyntheticOpaque_3740_; uint8_t v_offsetCnstrs_3741_; uint8_t v_transparency_3742_; uint8_t v_univApprox_3743_; uint8_t v_iota_3744_; uint8_t v_beta_3745_; uint8_t v_proj_3746_; uint8_t v_zeta_3747_; uint8_t v_zetaDelta_3748_; uint8_t v_zetaUnused_3749_; uint8_t v_zetaHave_3750_; lean_object* v___x_3752_; uint8_t v_isShared_3753_; uint8_t v_isSharedCheck_3813_; +v___x_3732_ = l_Lean_Meta_Context_config(v_a_3727_); +v_foApprox_3733_ = lean_ctor_get_uint8(v___x_3732_, 0); +v_ctxApprox_3734_ = lean_ctor_get_uint8(v___x_3732_, 1); +v_quasiPatternApprox_3735_ = lean_ctor_get_uint8(v___x_3732_, 2); +v_constApprox_3736_ = lean_ctor_get_uint8(v___x_3732_, 3); +v_isDefEqStuckEx_3737_ = lean_ctor_get_uint8(v___x_3732_, 4); +v_unificationHints_3738_ = lean_ctor_get_uint8(v___x_3732_, 5); +v_proofIrrelevance_3739_ = lean_ctor_get_uint8(v___x_3732_, 6); +v_assignSyntheticOpaque_3740_ = lean_ctor_get_uint8(v___x_3732_, 7); +v_offsetCnstrs_3741_ = lean_ctor_get_uint8(v___x_3732_, 8); +v_transparency_3742_ = lean_ctor_get_uint8(v___x_3732_, 9); +v_univApprox_3743_ = lean_ctor_get_uint8(v___x_3732_, 11); +v_iota_3744_ = lean_ctor_get_uint8(v___x_3732_, 12); +v_beta_3745_ = lean_ctor_get_uint8(v___x_3732_, 13); +v_proj_3746_ = lean_ctor_get_uint8(v___x_3732_, 14); +v_zeta_3747_ = lean_ctor_get_uint8(v___x_3732_, 15); +v_zetaDelta_3748_ = lean_ctor_get_uint8(v___x_3732_, 16); +v_zetaUnused_3749_ = lean_ctor_get_uint8(v___x_3732_, 17); +v_zetaHave_3750_ = lean_ctor_get_uint8(v___x_3732_, 18); +v_isSharedCheck_3813_ = !lean_is_exclusive(v___x_3732_); +if (v_isSharedCheck_3813_ == 0) { -v___x_3751_ = v___x_3731_; -v_isShared_3752_ = v_isSharedCheck_3812_; -goto v_resetjp_3750_; +v___x_3752_ = v___x_3732_; +v_isShared_3753_ = v_isSharedCheck_3813_; +goto v_resetjp_3751_; } else { -lean_dec(v___x_3731_); -v___x_3751_ = lean_box(0); -v_isShared_3752_ = v_isSharedCheck_3812_; -goto v_resetjp_3750_; +lean_dec(v___x_3732_); +v___x_3752_ = lean_box(0); +v_isShared_3753_ = v_isSharedCheck_3813_; +goto v_resetjp_3751_; } -v_resetjp_3750_: +v_resetjp_3751_: { -uint8_t v_trackZetaDelta_3753_; lean_object* v_zetaDeltaSet_3754_; lean_object* v_lctx_3755_; lean_object* v_localInstances_3756_; lean_object* v_defEqCtx_x3f_3757_; lean_object* v_synthPendingDepth_3758_; lean_object* v_canUnfold_x3f_3759_; uint8_t v_univApprox_3760_; uint8_t v_inTypeClassResolution_3761_; uint8_t v_cacheInferType_3762_; lean_object* v___x_3764_; uint8_t v_isShared_3765_; uint8_t v_isSharedCheck_3810_; -v_trackZetaDelta_3753_ = lean_ctor_get_uint8(v_a_3726_, sizeof(void*)*7); -v_zetaDeltaSet_3754_ = lean_ctor_get(v_a_3726_, 1); -v_lctx_3755_ = lean_ctor_get(v_a_3726_, 2); -v_localInstances_3756_ = lean_ctor_get(v_a_3726_, 3); -v_defEqCtx_x3f_3757_ = lean_ctor_get(v_a_3726_, 4); -v_synthPendingDepth_3758_ = lean_ctor_get(v_a_3726_, 5); -v_canUnfold_x3f_3759_ = lean_ctor_get(v_a_3726_, 6); -v_univApprox_3760_ = lean_ctor_get_uint8(v_a_3726_, sizeof(void*)*7 + 1); -v_inTypeClassResolution_3761_ = lean_ctor_get_uint8(v_a_3726_, sizeof(void*)*7 + 2); -v_cacheInferType_3762_ = lean_ctor_get_uint8(v_a_3726_, sizeof(void*)*7 + 3); -v_isSharedCheck_3810_ = !lean_is_exclusive(v_a_3726_); -if (v_isSharedCheck_3810_ == 0) +uint8_t v_trackZetaDelta_3754_; lean_object* v_zetaDeltaSet_3755_; lean_object* v_lctx_3756_; lean_object* v_localInstances_3757_; lean_object* v_defEqCtx_x3f_3758_; lean_object* v_synthPendingDepth_3759_; lean_object* v_canUnfold_x3f_3760_; uint8_t v_univApprox_3761_; uint8_t v_inTypeClassResolution_3762_; uint8_t v_cacheInferType_3763_; lean_object* v___x_3765_; uint8_t v_isShared_3766_; uint8_t v_isSharedCheck_3811_; +v_trackZetaDelta_3754_ = lean_ctor_get_uint8(v_a_3727_, sizeof(void*)*7); +v_zetaDeltaSet_3755_ = lean_ctor_get(v_a_3727_, 1); +v_lctx_3756_ = lean_ctor_get(v_a_3727_, 2); +v_localInstances_3757_ = lean_ctor_get(v_a_3727_, 3); +v_defEqCtx_x3f_3758_ = lean_ctor_get(v_a_3727_, 4); +v_synthPendingDepth_3759_ = lean_ctor_get(v_a_3727_, 5); +v_canUnfold_x3f_3760_ = lean_ctor_get(v_a_3727_, 6); +v_univApprox_3761_ = lean_ctor_get_uint8(v_a_3727_, sizeof(void*)*7 + 1); +v_inTypeClassResolution_3762_ = lean_ctor_get_uint8(v_a_3727_, sizeof(void*)*7 + 2); +v_cacheInferType_3763_ = lean_ctor_get_uint8(v_a_3727_, sizeof(void*)*7 + 3); +v_isSharedCheck_3811_ = !lean_is_exclusive(v_a_3727_); +if (v_isSharedCheck_3811_ == 0) { -lean_object* v_unused_3811_; -v_unused_3811_ = lean_ctor_get(v_a_3726_, 0); -lean_dec(v_unused_3811_); -v___x_3764_ = v_a_3726_; -v_isShared_3765_ = v_isSharedCheck_3810_; -goto v_resetjp_3763_; +lean_object* v_unused_3812_; +v_unused_3812_ = lean_ctor_get(v_a_3727_, 0); +lean_dec(v_unused_3812_); +v___x_3765_ = v_a_3727_; +v_isShared_3766_ = v_isSharedCheck_3811_; +goto v_resetjp_3764_; } else { -lean_inc(v_canUnfold_x3f_3759_); -lean_inc(v_synthPendingDepth_3758_); -lean_inc(v_defEqCtx_x3f_3757_); -lean_inc(v_localInstances_3756_); -lean_inc(v_lctx_3755_); -lean_inc(v_zetaDeltaSet_3754_); -lean_dec(v_a_3726_); -v___x_3764_ = lean_box(0); -v_isShared_3765_ = v_isSharedCheck_3810_; -goto v_resetjp_3763_; +lean_inc(v_canUnfold_x3f_3760_); +lean_inc(v_synthPendingDepth_3759_); +lean_inc(v_defEqCtx_x3f_3758_); +lean_inc(v_localInstances_3757_); +lean_inc(v_lctx_3756_); +lean_inc(v_zetaDeltaSet_3755_); +lean_dec(v_a_3727_); +v___x_3765_ = lean_box(0); +v_isShared_3766_ = v_isSharedCheck_3811_; +goto v_resetjp_3764_; } -v_resetjp_3763_: +v_resetjp_3764_: { -uint8_t v___x_3766_; lean_object* v___x_3768_; -v___x_3766_ = 2; -if (v_isShared_3752_ == 0) +uint8_t v___x_3767_; lean_object* v___x_3769_; +v___x_3767_ = 2; +if (v_isShared_3753_ == 0) { -v___x_3768_ = v___x_3751_; -goto v_reusejp_3767_; +v___x_3769_ = v___x_3752_; +goto v_reusejp_3768_; +} +else +{ +lean_object* v_reuseFailAlloc_3810_; +v_reuseFailAlloc_3810_ = lean_alloc_ctor(0, 0, 19); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 0, v_foApprox_3733_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 1, v_ctxApprox_3734_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 2, v_quasiPatternApprox_3735_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 3, v_constApprox_3736_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 4, v_isDefEqStuckEx_3737_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 5, v_unificationHints_3738_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 6, v_proofIrrelevance_3739_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 7, v_assignSyntheticOpaque_3740_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 8, v_offsetCnstrs_3741_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 9, v_transparency_3742_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 11, v_univApprox_3743_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 12, v_iota_3744_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 13, v_beta_3745_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 14, v_proj_3746_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 15, v_zeta_3747_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 16, v_zetaDelta_3748_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 17, v_zetaUnused_3749_); +lean_ctor_set_uint8(v_reuseFailAlloc_3810_, 18, v_zetaHave_3750_); +v___x_3769_ = v_reuseFailAlloc_3810_; +goto v_reusejp_3768_; +} +v_reusejp_3768_: +{ +uint64_t v___x_3770_; lean_object* v___x_3771_; lean_object* v___x_3773_; +lean_ctor_set_uint8(v___x_3769_, 10, v___x_3767_); +v___x_3770_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_3769_); +v___x_3771_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v___x_3771_, 0, v___x_3769_); +lean_ctor_set_uint64(v___x_3771_, sizeof(void*)*1, v___x_3770_); +if (v_isShared_3766_ == 0) +{ +lean_ctor_set(v___x_3765_, 0, v___x_3771_); +v___x_3773_ = v___x_3765_; +goto v_reusejp_3772_; } else { lean_object* v_reuseFailAlloc_3809_; -v_reuseFailAlloc_3809_ = lean_alloc_ctor(0, 0, 19); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 0, v_foApprox_3732_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 1, v_ctxApprox_3733_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 2, v_quasiPatternApprox_3734_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 3, v_constApprox_3735_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 4, v_isDefEqStuckEx_3736_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 5, v_unificationHints_3737_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 6, v_proofIrrelevance_3738_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 7, v_assignSyntheticOpaque_3739_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 8, v_offsetCnstrs_3740_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 9, v_transparency_3741_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 11, v_univApprox_3742_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 12, v_iota_3743_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 13, v_beta_3744_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 14, v_proj_3745_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 15, v_zeta_3746_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 16, v_zetaDelta_3747_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 17, v_zetaUnused_3748_); -lean_ctor_set_uint8(v_reuseFailAlloc_3809_, 18, v_zetaHave_3749_); -v___x_3768_ = v_reuseFailAlloc_3809_; -goto v_reusejp_3767_; +v_reuseFailAlloc_3809_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v_reuseFailAlloc_3809_, 0, v___x_3771_); +lean_ctor_set(v_reuseFailAlloc_3809_, 1, v_zetaDeltaSet_3755_); +lean_ctor_set(v_reuseFailAlloc_3809_, 2, v_lctx_3756_); +lean_ctor_set(v_reuseFailAlloc_3809_, 3, v_localInstances_3757_); +lean_ctor_set(v_reuseFailAlloc_3809_, 4, v_defEqCtx_x3f_3758_); +lean_ctor_set(v_reuseFailAlloc_3809_, 5, v_synthPendingDepth_3759_); +lean_ctor_set(v_reuseFailAlloc_3809_, 6, v_canUnfold_x3f_3760_); +lean_ctor_set_uint8(v_reuseFailAlloc_3809_, sizeof(void*)*7, v_trackZetaDelta_3754_); +lean_ctor_set_uint8(v_reuseFailAlloc_3809_, sizeof(void*)*7 + 1, v_univApprox_3761_); +lean_ctor_set_uint8(v_reuseFailAlloc_3809_, sizeof(void*)*7 + 2, v_inTypeClassResolution_3762_); +lean_ctor_set_uint8(v_reuseFailAlloc_3809_, sizeof(void*)*7 + 3, v_cacheInferType_3763_); +v___x_3773_ = v_reuseFailAlloc_3809_; +goto v_reusejp_3772_; } -v_reusejp_3767_: +v_reusejp_3772_: { -uint64_t v___x_3769_; lean_object* v___x_3770_; lean_object* v___x_3772_; -lean_ctor_set_uint8(v___x_3768_, 10, v___x_3766_); -v___x_3769_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_3768_); -v___x_3770_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v___x_3770_, 0, v___x_3768_); -lean_ctor_set_uint64(v___x_3770_, sizeof(void*)*1, v___x_3769_); -if (v_isShared_3765_ == 0) +lean_object* v___x_3774_; +lean_inc_ref(v_a_3729_); +lean_inc(v_matchDeclName_3724_); +v___x_3774_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_matchDeclName_3724_, v___x_3773_, v_a_3728_, v_a_3729_, v_a_3730_); +if (lean_obj_tag(v___x_3774_) == 0) { -lean_ctor_set(v___x_3764_, 0, v___x_3770_); -v___x_3772_ = v___x_3764_; -goto v_reusejp_3771_; +lean_object* v_a_3775_; lean_object* v___x_3776_; lean_object* v_a_3777_; +v_a_3775_ = lean_ctor_get(v___x_3774_, 0); +lean_inc(v_a_3775_); +lean_dec_ref(v___x_3774_); +lean_inc(v_matchDeclName_3724_); +v___x_3776_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_3724_, v_a_3730_); +v_a_3777_ = lean_ctor_get(v___x_3776_, 0); +lean_inc(v_a_3777_); +lean_dec_ref(v___x_3776_); +if (lean_obj_tag(v_a_3777_) == 1) +{ +lean_object* v_val_3778_; lean_object* v_numParams_3779_; lean_object* v_numDiscrs_3780_; lean_object* v_altInfos_3781_; lean_object* v_uElimPos_x3f_3782_; lean_object* v_discrInfos_3783_; lean_object* v_overlaps_3784_; lean_object* v___x_3785_; lean_object* v___x_3786_; lean_object* v___x_3787_; lean_object* v___x_3788_; lean_object* v___f_3789_; lean_object* v___x_3790_; lean_object* v___x_3791_; lean_object* v___f_3792_; uint8_t v___x_3793_; lean_object* v___x_3794_; +v_val_3778_ = lean_ctor_get(v_a_3777_, 0); +lean_inc(v_val_3778_); +lean_dec_ref(v_a_3777_); +v_numParams_3779_ = lean_ctor_get(v_val_3778_, 0); +lean_inc(v_numParams_3779_); +v_numDiscrs_3780_ = lean_ctor_get(v_val_3778_, 1); +lean_inc(v_numDiscrs_3780_); +v_altInfos_3781_ = lean_ctor_get(v_val_3778_, 2); +lean_inc_ref(v_altInfos_3781_); +v_uElimPos_x3f_3782_ = lean_ctor_get(v_val_3778_, 3); +lean_inc(v_uElimPos_x3f_3782_); +v_discrInfos_3783_ = lean_ctor_get(v_val_3778_, 4); +lean_inc_ref(v_discrInfos_3783_); +v_overlaps_3784_ = lean_ctor_get(v_val_3778_, 5); +lean_inc_ref(v_overlaps_3784_); +v___x_3785_ = l_Lean_instInhabitedExpr; +v___x_3786_ = l_Lean_ConstantInfo_levelParams(v_a_3775_); +v___x_3787_ = lean_box(0); +lean_inc(v___x_3786_); +v___x_3788_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(v___x_3786_, v___x_3787_); +lean_inc(v_splitterName_3726_); +lean_inc_ref(v_overlaps_3784_); +v___f_3789_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__0___boxed), 8, 2); +lean_closure_set(v___f_3789_, 0, v_overlaps_3784_); +lean_closure_set(v___f_3789_, 1, v_splitterName_3726_); +v___x_3790_ = l_Lean_Meta_Match_getNumEqsFromDiscrInfos(v_discrInfos_3783_); +v___x_3791_ = l_Lean_ConstantInfo_type(v_a_3775_); +lean_inc_ref(v___x_3791_); +v___f_3792_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1___boxed), 24, 17); +lean_closure_set(v___f_3792_, 0, v_splitterName_3726_); +lean_closure_set(v___f_3792_, 1, v_matchDeclName_3724_); +lean_closure_set(v___f_3792_, 2, v_numParams_3779_); +lean_closure_set(v___f_3792_, 3, v_val_3778_); +lean_closure_set(v___f_3792_, 4, v___x_3785_); +lean_closure_set(v___f_3792_, 5, v_numDiscrs_3780_); +lean_closure_set(v___f_3792_, 6, v_baseName_3725_); +lean_closure_set(v___f_3792_, 7, v_a_3775_); +lean_closure_set(v___f_3792_, 8, v___x_3788_); +lean_closure_set(v___f_3792_, 9, v___x_3786_); +lean_closure_set(v___f_3792_, 10, v___x_3790_); +lean_closure_set(v___f_3792_, 11, v_uElimPos_x3f_3782_); +lean_closure_set(v___f_3792_, 12, v_discrInfos_3783_); +lean_closure_set(v___f_3792_, 13, v_overlaps_3784_); +lean_closure_set(v___f_3792_, 14, v___f_3789_); +lean_closure_set(v___f_3792_, 15, v___x_3791_); +lean_closure_set(v___f_3792_, 16, v_altInfos_3781_); +v___x_3793_ = 0; +v___x_3794_ = l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg(v___x_3791_, v___f_3792_, v___x_3793_, v___x_3793_, v___x_3773_, v_a_3728_, v_a_3729_, v_a_3730_); +return v___x_3794_; } else { -lean_object* v_reuseFailAlloc_3808_; -v_reuseFailAlloc_3808_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v_reuseFailAlloc_3808_, 0, v___x_3770_); -lean_ctor_set(v_reuseFailAlloc_3808_, 1, v_zetaDeltaSet_3754_); -lean_ctor_set(v_reuseFailAlloc_3808_, 2, v_lctx_3755_); -lean_ctor_set(v_reuseFailAlloc_3808_, 3, v_localInstances_3756_); -lean_ctor_set(v_reuseFailAlloc_3808_, 4, v_defEqCtx_x3f_3757_); -lean_ctor_set(v_reuseFailAlloc_3808_, 5, v_synthPendingDepth_3758_); -lean_ctor_set(v_reuseFailAlloc_3808_, 6, v_canUnfold_x3f_3759_); -lean_ctor_set_uint8(v_reuseFailAlloc_3808_, sizeof(void*)*7, v_trackZetaDelta_3753_); -lean_ctor_set_uint8(v_reuseFailAlloc_3808_, sizeof(void*)*7 + 1, v_univApprox_3760_); -lean_ctor_set_uint8(v_reuseFailAlloc_3808_, sizeof(void*)*7 + 2, v_inTypeClassResolution_3761_); -lean_ctor_set_uint8(v_reuseFailAlloc_3808_, sizeof(void*)*7 + 3, v_cacheInferType_3762_); -v___x_3772_ = v_reuseFailAlloc_3808_; -goto v_reusejp_3771_; -} -v_reusejp_3771_: -{ -lean_object* v___x_3773_; -lean_inc_ref(v_a_3728_); -lean_inc(v_matchDeclName_3723_); -v___x_3773_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_matchDeclName_3723_, v___x_3772_, v_a_3727_, v_a_3728_, v_a_3729_); -if (lean_obj_tag(v___x_3773_) == 0) -{ -lean_object* v_a_3774_; lean_object* v___x_3775_; lean_object* v_a_3776_; -v_a_3774_ = lean_ctor_get(v___x_3773_, 0); -lean_inc(v_a_3774_); +lean_object* v___x_3795_; lean_object* v___x_3796_; lean_object* v___x_3797_; lean_object* v___x_3798_; lean_object* v___x_3799_; lean_object* v___x_3800_; +lean_dec(v_a_3777_); +lean_dec(v_a_3775_); +lean_dec(v_splitterName_3726_); +lean_dec(v_baseName_3725_); +v___x_3795_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); +v___x_3796_ = l_Lean_MessageData_ofName(v_matchDeclName_3724_); +v___x_3797_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3797_, 0, v___x_3795_); +lean_ctor_set(v___x_3797_, 1, v___x_3796_); +v___x_3798_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); +v___x_3799_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_3799_, 0, v___x_3797_); +lean_ctor_set(v___x_3799_, 1, v___x_3798_); +v___x_3800_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_3799_, v___x_3773_, v_a_3728_, v_a_3729_, v_a_3730_); +lean_dec(v_a_3730_); +lean_dec_ref(v_a_3729_); +lean_dec(v_a_3728_); lean_dec_ref(v___x_3773_); -lean_inc(v_matchDeclName_3723_); -v___x_3775_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_3723_, v_a_3729_); -v_a_3776_ = lean_ctor_get(v___x_3775_, 0); -lean_inc(v_a_3776_); -lean_dec_ref(v___x_3775_); -if (lean_obj_tag(v_a_3776_) == 1) -{ -lean_object* v_val_3777_; lean_object* v_numParams_3778_; lean_object* v_numDiscrs_3779_; lean_object* v_altInfos_3780_; lean_object* v_uElimPos_x3f_3781_; lean_object* v_discrInfos_3782_; lean_object* v_overlaps_3783_; lean_object* v___x_3784_; lean_object* v___x_3785_; lean_object* v___x_3786_; lean_object* v___x_3787_; lean_object* v___f_3788_; lean_object* v___x_3789_; lean_object* v___x_3790_; lean_object* v___f_3791_; uint8_t v___x_3792_; lean_object* v___x_3793_; -v_val_3777_ = lean_ctor_get(v_a_3776_, 0); -lean_inc(v_val_3777_); -lean_dec_ref(v_a_3776_); -v_numParams_3778_ = lean_ctor_get(v_val_3777_, 0); -lean_inc(v_numParams_3778_); -v_numDiscrs_3779_ = lean_ctor_get(v_val_3777_, 1); -lean_inc(v_numDiscrs_3779_); -v_altInfos_3780_ = lean_ctor_get(v_val_3777_, 2); -lean_inc_ref(v_altInfos_3780_); -v_uElimPos_x3f_3781_ = lean_ctor_get(v_val_3777_, 3); -lean_inc(v_uElimPos_x3f_3781_); -v_discrInfos_3782_ = lean_ctor_get(v_val_3777_, 4); -lean_inc_ref(v_discrInfos_3782_); -v_overlaps_3783_ = lean_ctor_get(v_val_3777_, 5); -lean_inc_ref(v_overlaps_3783_); -v___x_3784_ = l_Lean_instInhabitedExpr; -v___x_3785_ = l_Lean_ConstantInfo_levelParams(v_a_3774_); -v___x_3786_ = lean_box(0); -lean_inc(v___x_3785_); -v___x_3787_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(v___x_3785_, v___x_3786_); -lean_inc(v_splitterName_3725_); -lean_inc_ref(v_overlaps_3783_); -v___f_3788_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__0___boxed), 8, 2); -lean_closure_set(v___f_3788_, 0, v_overlaps_3783_); -lean_closure_set(v___f_3788_, 1, v_splitterName_3725_); -v___x_3789_ = l_Lean_Meta_Match_getNumEqsFromDiscrInfos(v_discrInfos_3782_); -v___x_3790_ = l_Lean_ConstantInfo_type(v_a_3774_); -lean_inc_ref(v___x_3790_); -v___f_3791_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1___boxed), 24, 17); -lean_closure_set(v___f_3791_, 0, v_splitterName_3725_); -lean_closure_set(v___f_3791_, 1, v_matchDeclName_3723_); -lean_closure_set(v___f_3791_, 2, v_numParams_3778_); -lean_closure_set(v___f_3791_, 3, v_val_3777_); -lean_closure_set(v___f_3791_, 4, v___x_3784_); -lean_closure_set(v___f_3791_, 5, v_numDiscrs_3779_); -lean_closure_set(v___f_3791_, 6, v_baseName_3724_); -lean_closure_set(v___f_3791_, 7, v_a_3774_); -lean_closure_set(v___f_3791_, 8, v___x_3787_); -lean_closure_set(v___f_3791_, 9, v___x_3785_); -lean_closure_set(v___f_3791_, 10, v___x_3789_); -lean_closure_set(v___f_3791_, 11, v_uElimPos_x3f_3781_); -lean_closure_set(v___f_3791_, 12, v_discrInfos_3782_); -lean_closure_set(v___f_3791_, 13, v_overlaps_3783_); -lean_closure_set(v___f_3791_, 14, v___f_3788_); -lean_closure_set(v___f_3791_, 15, v___x_3790_); -lean_closure_set(v___f_3791_, 16, v_altInfos_3780_); -v___x_3792_ = 0; -v___x_3793_ = l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg(v___x_3790_, v___f_3791_, v___x_3792_, v___x_3792_, v___x_3772_, v_a_3727_, v_a_3728_, v_a_3729_); -return v___x_3793_; -} -else -{ -lean_object* v___x_3794_; lean_object* v___x_3795_; lean_object* v___x_3796_; lean_object* v___x_3797_; lean_object* v___x_3798_; lean_object* v___x_3799_; -lean_dec(v_a_3776_); -lean_dec(v_a_3774_); -lean_dec(v_splitterName_3725_); -lean_dec(v_baseName_3724_); -v___x_3794_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); -v___x_3795_ = l_Lean_MessageData_ofName(v_matchDeclName_3723_); -v___x_3796_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3796_, 0, v___x_3794_); -lean_ctor_set(v___x_3796_, 1, v___x_3795_); -v___x_3797_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); -v___x_3798_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_3798_, 0, v___x_3796_); -lean_ctor_set(v___x_3798_, 1, v___x_3797_); -v___x_3799_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_3798_, v___x_3772_, v_a_3727_, v_a_3728_, v_a_3729_); -lean_dec(v_a_3729_); -lean_dec_ref(v_a_3728_); -lean_dec(v_a_3727_); -lean_dec_ref(v___x_3772_); -return v___x_3799_; +return v___x_3800_; } } else { -lean_object* v_a_3800_; lean_object* v___x_3802_; uint8_t v_isShared_3803_; uint8_t v_isSharedCheck_3807_; -lean_dec_ref(v___x_3772_); -lean_dec(v_a_3729_); -lean_dec_ref(v_a_3728_); -lean_dec(v_a_3727_); -lean_dec(v_splitterName_3725_); -lean_dec(v_baseName_3724_); -lean_dec(v_matchDeclName_3723_); -v_a_3800_ = lean_ctor_get(v___x_3773_, 0); -v_isSharedCheck_3807_ = !lean_is_exclusive(v___x_3773_); -if (v_isSharedCheck_3807_ == 0) +lean_object* v_a_3801_; lean_object* v___x_3803_; uint8_t v_isShared_3804_; uint8_t v_isSharedCheck_3808_; +lean_dec_ref(v___x_3773_); +lean_dec(v_a_3730_); +lean_dec_ref(v_a_3729_); +lean_dec(v_a_3728_); +lean_dec(v_splitterName_3726_); +lean_dec(v_baseName_3725_); +lean_dec(v_matchDeclName_3724_); +v_a_3801_ = lean_ctor_get(v___x_3774_, 0); +v_isSharedCheck_3808_ = !lean_is_exclusive(v___x_3774_); +if (v_isSharedCheck_3808_ == 0) { -v___x_3802_ = v___x_3773_; -v_isShared_3803_ = v_isSharedCheck_3807_; -goto v_resetjp_3801_; +v___x_3803_ = v___x_3774_; +v_isShared_3804_ = v_isSharedCheck_3808_; +goto v_resetjp_3802_; } else { -lean_inc(v_a_3800_); -lean_dec(v___x_3773_); -v___x_3802_ = lean_box(0); -v_isShared_3803_ = v_isSharedCheck_3807_; -goto v_resetjp_3801_; +lean_inc(v_a_3801_); +lean_dec(v___x_3774_); +v___x_3803_ = lean_box(0); +v_isShared_3804_ = v_isSharedCheck_3808_; +goto v_resetjp_3802_; } -v_resetjp_3801_: +v_resetjp_3802_: { -lean_object* v___x_3805_; -if (v_isShared_3803_ == 0) +lean_object* v___x_3806_; +if (v_isShared_3804_ == 0) { -v___x_3805_ = v___x_3802_; -goto v_reusejp_3804_; +v___x_3806_ = v___x_3803_; +goto v_reusejp_3805_; } else { -lean_object* v_reuseFailAlloc_3806_; -v_reuseFailAlloc_3806_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_3806_, 0, v_a_3800_); -v___x_3805_ = v_reuseFailAlloc_3806_; -goto v_reusejp_3804_; +lean_object* v_reuseFailAlloc_3807_; +v_reuseFailAlloc_3807_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_3807_, 0, v_a_3801_); +v___x_3806_ = v_reuseFailAlloc_3807_; +goto v_reusejp_3805_; } -v_reusejp_3804_: +v_reusejp_3805_: { -return v___x_3805_; +return v___x_3806_; } } } @@ -13540,587 +13559,587 @@ return v___x_3805_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___boxed(lean_object* v_matchDeclName_3813_, lean_object* v_baseName_3814_, lean_object* v_splitterName_3815_, lean_object* v_a_3816_, lean_object* v_a_3817_, lean_object* v_a_3818_, lean_object* v_a_3819_, lean_object* v_a_3820_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___boxed(lean_object* v_matchDeclName_3814_, lean_object* v_baseName_3815_, lean_object* v_splitterName_3816_, lean_object* v_a_3817_, lean_object* v_a_3818_, lean_object* v_a_3819_, lean_object* v_a_3820_, lean_object* v_a_3821_){ _start: { -lean_object* v_res_3821_; -v_res_3821_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go(v_matchDeclName_3813_, v_baseName_3814_, v_splitterName_3815_, v_a_3816_, v_a_3817_, v_a_3818_, v_a_3819_); -return v_res_3821_; +lean_object* v_res_3822_; +v_res_3822_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go(v_matchDeclName_3814_, v_baseName_3815_, v_splitterName_3816_, v_a_3817_, v_a_3818_, v_a_3819_, v_a_3820_); +return v_res_3822_; } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4(lean_object* v_xs_3822_, lean_object* v_ys_3823_, lean_object* v_hsz_3824_, lean_object* v_x_3825_, lean_object* v_x_3826_){ +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4(lean_object* v_xs_3823_, lean_object* v_ys_3824_, lean_object* v_hsz_3825_, lean_object* v_x_3826_, lean_object* v_x_3827_){ _start: { -uint8_t v___x_3827_; -v___x_3827_ = l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4___redArg(v_xs_3822_, v_ys_3823_, v_x_3825_); -return v___x_3827_; +uint8_t v___x_3828_; +v___x_3828_ = l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4___redArg(v_xs_3823_, v_ys_3824_, v_x_3826_); +return v___x_3828_; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4___boxed(lean_object* v_xs_3828_, lean_object* v_ys_3829_, lean_object* v_hsz_3830_, lean_object* v_x_3831_, lean_object* v_x_3832_){ +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4___boxed(lean_object* v_xs_3829_, lean_object* v_ys_3830_, lean_object* v_hsz_3831_, lean_object* v_x_3832_, lean_object* v_x_3833_){ _start: { -uint8_t v_res_3833_; lean_object* v_r_3834_; -v_res_3833_ = l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4(v_xs_3828_, v_ys_3829_, v_hsz_3830_, v_x_3831_, v_x_3832_); -lean_dec_ref(v_ys_3829_); -lean_dec_ref(v_xs_3828_); -v_r_3834_ = lean_box(v_res_3833_); -return v_r_3834_; +uint8_t v_res_3834_; lean_object* v_r_3835_; +v_res_3834_ = l_Array_isEqvAux___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__4(v_xs_3829_, v_ys_3830_, v_hsz_3831_, v_x_3832_, v_x_3833_); +lean_dec_ref(v_ys_3830_); +lean_dec_ref(v_xs_3829_); +v_r_3835_ = lean_box(v_res_3834_); +return v_r_3835_; } } -LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6(lean_object* v_inst_3835_, lean_object* v_R_3836_, lean_object* v_a_3837_, lean_object* v_b_3838_){ +LEAN_EXPORT lean_object* l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6(lean_object* v_inst_3836_, lean_object* v_R_3837_, lean_object* v_a_3838_, lean_object* v_b_3839_){ _start: { -lean_object* v___x_3839_; -v___x_3839_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6___redArg(v_a_3837_, v_b_3838_); -return v___x_3839_; +lean_object* v___x_3840_; +v___x_3840_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6___redArg(v_a_3838_, v_b_3839_); +return v___x_3840_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8(lean_object* v_upperBound_3840_, lean_object* v_val_3841_, lean_object* v_baseName_3842_, lean_object* v___x_3843_, lean_object* v_a_3844_, lean_object* v___x_3845_, lean_object* v___x_3846_, lean_object* v___x_3847_, lean_object* v_matchDeclName_3848_, lean_object* v___x_3849_, lean_object* v___x_3850_, lean_object* v___x_3851_, lean_object* v_inst_3852_, lean_object* v_R_3853_, lean_object* v_a_3854_, lean_object* v_b_3855_, lean_object* v_c_3856_, lean_object* v___y_3857_, lean_object* v___y_3858_, lean_object* v___y_3859_, lean_object* v___y_3860_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8(lean_object* v_upperBound_3841_, lean_object* v_val_3842_, lean_object* v_baseName_3843_, lean_object* v___x_3844_, lean_object* v_a_3845_, lean_object* v___x_3846_, lean_object* v___x_3847_, lean_object* v___x_3848_, lean_object* v_matchDeclName_3849_, lean_object* v___x_3850_, lean_object* v___x_3851_, lean_object* v___x_3852_, lean_object* v_inst_3853_, lean_object* v_R_3854_, lean_object* v_a_3855_, lean_object* v_b_3856_, lean_object* v_c_3857_, lean_object* v___y_3858_, lean_object* v___y_3859_, lean_object* v___y_3860_, lean_object* v___y_3861_){ _start: { -lean_object* v___x_3862_; -v___x_3862_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg(v_upperBound_3840_, v_val_3841_, v_baseName_3842_, v___x_3843_, v_a_3844_, v___x_3845_, v___x_3846_, v___x_3847_, v_matchDeclName_3848_, v___x_3849_, v___x_3850_, v___x_3851_, v_a_3854_, v_b_3855_, v___y_3857_, v___y_3858_, v___y_3859_, v___y_3860_); -return v___x_3862_; +lean_object* v___x_3863_; +v___x_3863_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg(v_upperBound_3841_, v_val_3842_, v_baseName_3843_, v___x_3844_, v_a_3845_, v___x_3846_, v___x_3847_, v___x_3848_, v_matchDeclName_3849_, v___x_3850_, v___x_3851_, v___x_3852_, v_a_3855_, v_b_3856_, v___y_3858_, v___y_3859_, v___y_3860_, v___y_3861_); +return v___x_3863_; } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___boxed(lean_object** _args){ -lean_object* v_upperBound_3863_ = _args[0]; -lean_object* v_val_3864_ = _args[1]; -lean_object* v_baseName_3865_ = _args[2]; -lean_object* v___x_3866_ = _args[3]; -lean_object* v_a_3867_ = _args[4]; -lean_object* v___x_3868_ = _args[5]; -lean_object* v___x_3869_ = _args[6]; -lean_object* v___x_3870_ = _args[7]; -lean_object* v_matchDeclName_3871_ = _args[8]; -lean_object* v___x_3872_ = _args[9]; -lean_object* v___x_3873_ = _args[10]; -lean_object* v___x_3874_ = _args[11]; -lean_object* v_inst_3875_ = _args[12]; -lean_object* v_R_3876_ = _args[13]; -lean_object* v_a_3877_ = _args[14]; -lean_object* v_b_3878_ = _args[15]; -lean_object* v_c_3879_ = _args[16]; -lean_object* v___y_3880_ = _args[17]; -lean_object* v___y_3881_ = _args[18]; -lean_object* v___y_3882_ = _args[19]; -lean_object* v___y_3883_ = _args[20]; -lean_object* v___y_3884_ = _args[21]; +lean_object* v_upperBound_3864_ = _args[0]; +lean_object* v_val_3865_ = _args[1]; +lean_object* v_baseName_3866_ = _args[2]; +lean_object* v___x_3867_ = _args[3]; +lean_object* v_a_3868_ = _args[4]; +lean_object* v___x_3869_ = _args[5]; +lean_object* v___x_3870_ = _args[6]; +lean_object* v___x_3871_ = _args[7]; +lean_object* v_matchDeclName_3872_ = _args[8]; +lean_object* v___x_3873_ = _args[9]; +lean_object* v___x_3874_ = _args[10]; +lean_object* v___x_3875_ = _args[11]; +lean_object* v_inst_3876_ = _args[12]; +lean_object* v_R_3877_ = _args[13]; +lean_object* v_a_3878_ = _args[14]; +lean_object* v_b_3879_ = _args[15]; +lean_object* v_c_3880_ = _args[16]; +lean_object* v___y_3881_ = _args[17]; +lean_object* v___y_3882_ = _args[18]; +lean_object* v___y_3883_ = _args[19]; +lean_object* v___y_3884_ = _args[20]; +lean_object* v___y_3885_ = _args[21]; _start: { -lean_object* v_res_3885_; -v_res_3885_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8(v_upperBound_3863_, v_val_3864_, v_baseName_3865_, v___x_3866_, v_a_3867_, v___x_3868_, v___x_3869_, v___x_3870_, v_matchDeclName_3871_, v___x_3872_, v___x_3873_, v___x_3874_, v_inst_3875_, v_R_3876_, v_a_3877_, v_b_3878_, v_c_3879_, v___y_3880_, v___y_3881_, v___y_3882_, v___y_3883_); -lean_dec(v_upperBound_3863_); -return v_res_3885_; +lean_object* v_res_3886_; +v_res_3886_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8(v_upperBound_3864_, v_val_3865_, v_baseName_3866_, v___x_3867_, v_a_3868_, v___x_3869_, v___x_3870_, v___x_3871_, v_matchDeclName_3872_, v___x_3873_, v___x_3874_, v___x_3875_, v_inst_3876_, v_R_3877_, v_a_3878_, v_b_3879_, v_c_3880_, v___y_3881_, v___y_3882_, v___y_3883_, v___y_3884_); +lean_dec(v_upperBound_3864_); +return v_res_3886_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0(lean_object* v_00_u03b1_3886_, lean_object* v_constName_3887_, lean_object* v___y_3888_, lean_object* v___y_3889_, lean_object* v___y_3890_, lean_object* v___y_3891_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0(lean_object* v_00_u03b1_3887_, lean_object* v_constName_3888_, lean_object* v___y_3889_, lean_object* v___y_3890_, lean_object* v___y_3891_, lean_object* v___y_3892_){ _start: { -lean_object* v___x_3893_; -v___x_3893_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3887_, v___y_3888_, v___y_3889_, v___y_3890_, v___y_3891_); -return v___x_3893_; +lean_object* v___x_3894_; +v___x_3894_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___redArg(v_constName_3888_, v___y_3889_, v___y_3890_, v___y_3891_, v___y_3892_); +return v___x_3894_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___boxed(lean_object* v_00_u03b1_3894_, lean_object* v_constName_3895_, lean_object* v___y_3896_, lean_object* v___y_3897_, lean_object* v___y_3898_, lean_object* v___y_3899_, lean_object* v___y_3900_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0___boxed(lean_object* v_00_u03b1_3895_, lean_object* v_constName_3896_, lean_object* v___y_3897_, lean_object* v___y_3898_, lean_object* v___y_3899_, lean_object* v___y_3900_, lean_object* v___y_3901_){ _start: { -lean_object* v_res_3901_; -v_res_3901_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0(v_00_u03b1_3894_, v_constName_3895_, v___y_3896_, v___y_3897_, v___y_3898_, v___y_3899_); -lean_dec(v___y_3899_); -lean_dec(v___y_3897_); -lean_dec_ref(v___y_3896_); -return v_res_3901_; +lean_object* v_res_3902_; +v_res_3902_ = l_Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0(v_00_u03b1_3895_, v_constName_3896_, v___y_3897_, v___y_3898_, v___y_3899_, v___y_3900_); +lean_dec(v___y_3900_); +lean_dec(v___y_3898_); +lean_dec_ref(v___y_3897_); +return v_res_3902_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4(lean_object* v_00_u03b1_3902_, lean_object* v_ref_3903_, lean_object* v_constName_3904_, lean_object* v___y_3905_, lean_object* v___y_3906_, lean_object* v___y_3907_, lean_object* v___y_3908_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4(lean_object* v_00_u03b1_3903_, lean_object* v_ref_3904_, lean_object* v_constName_3905_, lean_object* v___y_3906_, lean_object* v___y_3907_, lean_object* v___y_3908_, lean_object* v___y_3909_){ _start: { -lean_object* v___x_3910_; -v___x_3910_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3903_, v_constName_3904_, v___y_3905_, v___y_3906_, v___y_3907_, v___y_3908_); -return v___x_3910_; +lean_object* v___x_3911_; +v___x_3911_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg(v_ref_3904_, v_constName_3905_, v___y_3906_, v___y_3907_, v___y_3908_, v___y_3909_); +return v___x_3911_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___boxed(lean_object* v_00_u03b1_3911_, lean_object* v_ref_3912_, lean_object* v_constName_3913_, lean_object* v___y_3914_, lean_object* v___y_3915_, lean_object* v___y_3916_, lean_object* v___y_3917_, lean_object* v___y_3918_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___boxed(lean_object* v_00_u03b1_3912_, lean_object* v_ref_3913_, lean_object* v_constName_3914_, lean_object* v___y_3915_, lean_object* v___y_3916_, lean_object* v___y_3917_, lean_object* v___y_3918_, lean_object* v___y_3919_){ _start: { -lean_object* v_res_3919_; -v_res_3919_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4(v_00_u03b1_3911_, v_ref_3912_, v_constName_3913_, v___y_3914_, v___y_3915_, v___y_3916_, v___y_3917_); -lean_dec(v___y_3917_); -lean_dec(v___y_3915_); -lean_dec_ref(v___y_3914_); -lean_dec(v_ref_3912_); -return v_res_3919_; +lean_object* v_res_3920_; +v_res_3920_ = l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4(v_00_u03b1_3912_, v_ref_3913_, v_constName_3914_, v___y_3915_, v___y_3916_, v___y_3917_, v___y_3918_); +lean_dec(v___y_3918_); +lean_dec(v___y_3916_); +lean_dec_ref(v___y_3915_); +lean_dec(v_ref_3913_); +return v_res_3920_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11(lean_object* v_00_u03b1_3920_, lean_object* v_ref_3921_, lean_object* v_msg_3922_, lean_object* v_declHint_3923_, lean_object* v___y_3924_, lean_object* v___y_3925_, lean_object* v___y_3926_, lean_object* v___y_3927_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11(lean_object* v_00_u03b1_3921_, lean_object* v_ref_3922_, lean_object* v_msg_3923_, lean_object* v_declHint_3924_, lean_object* v___y_3925_, lean_object* v___y_3926_, lean_object* v___y_3927_, lean_object* v___y_3928_){ _start: { -lean_object* v___x_3929_; -v___x_3929_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3921_, v_msg_3922_, v_declHint_3923_, v___y_3924_, v___y_3925_, v___y_3926_, v___y_3927_); -return v___x_3929_; +lean_object* v___x_3930_; +v___x_3930_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___redArg(v_ref_3922_, v_msg_3923_, v_declHint_3924_, v___y_3925_, v___y_3926_, v___y_3927_, v___y_3928_); +return v___x_3930_; } } -LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___boxed(lean_object* v_00_u03b1_3930_, lean_object* v_ref_3931_, lean_object* v_msg_3932_, lean_object* v_declHint_3933_, lean_object* v___y_3934_, lean_object* v___y_3935_, lean_object* v___y_3936_, lean_object* v___y_3937_, lean_object* v___y_3938_){ +LEAN_EXPORT lean_object* l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11___boxed(lean_object* v_00_u03b1_3931_, lean_object* v_ref_3932_, lean_object* v_msg_3933_, lean_object* v_declHint_3934_, lean_object* v___y_3935_, lean_object* v___y_3936_, lean_object* v___y_3937_, lean_object* v___y_3938_, lean_object* v___y_3939_){ _start: { -lean_object* v_res_3939_; -v_res_3939_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11(v_00_u03b1_3930_, v_ref_3931_, v_msg_3932_, v_declHint_3933_, v___y_3934_, v___y_3935_, v___y_3936_, v___y_3937_); -lean_dec(v___y_3937_); -lean_dec(v___y_3935_); -lean_dec_ref(v___y_3934_); -lean_dec(v_ref_3931_); -return v_res_3939_; +lean_object* v_res_3940_; +v_res_3940_ = l_Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11(v_00_u03b1_3931_, v_ref_3932_, v_msg_3933_, v_declHint_3934_, v___y_3935_, v___y_3936_, v___y_3937_, v___y_3938_); +lean_dec(v___y_3938_); +lean_dec(v___y_3936_); +lean_dec_ref(v___y_3935_); +lean_dec(v_ref_3932_); +return v_res_3940_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13(lean_object* v_msg_3940_, lean_object* v_declHint_3941_, lean_object* v___y_3942_, lean_object* v___y_3943_, lean_object* v___y_3944_, lean_object* v___y_3945_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13(lean_object* v_msg_3941_, lean_object* v_declHint_3942_, lean_object* v___y_3943_, lean_object* v___y_3944_, lean_object* v___y_3945_, lean_object* v___y_3946_){ _start: { -lean_object* v___x_3947_; -v___x_3947_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3940_, v_declHint_3941_, v___y_3945_); -return v___x_3947_; +lean_object* v___x_3948_; +v___x_3948_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___redArg(v_msg_3941_, v_declHint_3942_, v___y_3946_); +return v___x_3948_; } } -LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___boxed(lean_object* v_msg_3948_, lean_object* v_declHint_3949_, lean_object* v___y_3950_, lean_object* v___y_3951_, lean_object* v___y_3952_, lean_object* v___y_3953_, lean_object* v___y_3954_){ +LEAN_EXPORT lean_object* l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13___boxed(lean_object* v_msg_3949_, lean_object* v_declHint_3950_, lean_object* v___y_3951_, lean_object* v___y_3952_, lean_object* v___y_3953_, lean_object* v___y_3954_, lean_object* v___y_3955_){ _start: { -lean_object* v_res_3955_; -v_res_3955_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13(v_msg_3948_, v_declHint_3949_, v___y_3950_, v___y_3951_, v___y_3952_, v___y_3953_); -lean_dec(v___y_3953_); -lean_dec_ref(v___y_3952_); -lean_dec(v___y_3951_); -lean_dec_ref(v___y_3950_); -return v_res_3955_; +lean_object* v_res_3956_; +v_res_3956_ = l_Lean_mkUnknownIdentifierMessageCore___at___00Lean_mkUnknownIdentifierMessage___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__12_spec__13(v_msg_3949_, v_declHint_3950_, v___y_3951_, v___y_3952_, v___y_3953_, v___y_3954_); +lean_dec(v___y_3954_); +lean_dec_ref(v___y_3953_); +lean_dec(v___y_3952_); +lean_dec_ref(v___y_3951_); +return v_res_3956_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13(lean_object* v_00_u03b1_3956_, lean_object* v_ref_3957_, lean_object* v_msg_3958_, lean_object* v___y_3959_, lean_object* v___y_3960_, lean_object* v___y_3961_, lean_object* v___y_3962_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13(lean_object* v_00_u03b1_3957_, lean_object* v_ref_3958_, lean_object* v_msg_3959_, lean_object* v___y_3960_, lean_object* v___y_3961_, lean_object* v___y_3962_, lean_object* v___y_3963_){ _start: { -lean_object* v___x_3964_; -v___x_3964_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3957_, v_msg_3958_, v___y_3959_, v___y_3960_, v___y_3961_, v___y_3962_); -return v___x_3964_; +lean_object* v___x_3965_; +v___x_3965_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___redArg(v_ref_3958_, v_msg_3959_, v___y_3960_, v___y_3961_, v___y_3962_, v___y_3963_); +return v___x_3965_; } } -LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___boxed(lean_object* v_00_u03b1_3965_, lean_object* v_ref_3966_, lean_object* v_msg_3967_, lean_object* v___y_3968_, lean_object* v___y_3969_, lean_object* v___y_3970_, lean_object* v___y_3971_, lean_object* v___y_3972_){ +LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13___boxed(lean_object* v_00_u03b1_3966_, lean_object* v_ref_3967_, lean_object* v_msg_3968_, lean_object* v___y_3969_, lean_object* v___y_3970_, lean_object* v___y_3971_, lean_object* v___y_3972_, lean_object* v___y_3973_){ _start: { -lean_object* v_res_3973_; -v_res_3973_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13(v_00_u03b1_3965_, v_ref_3966_, v_msg_3967_, v___y_3968_, v___y_3969_, v___y_3970_, v___y_3971_); -lean_dec(v___y_3971_); -lean_dec(v___y_3969_); -lean_dec_ref(v___y_3968_); -lean_dec(v_ref_3966_); -return v_res_3973_; +lean_object* v_res_3974_; +v_res_3974_ = l_Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4_spec__11_spec__13(v_00_u03b1_3966_, v_ref_3967_, v_msg_3968_, v___y_3969_, v___y_3970_, v___y_3971_, v___y_3972_); +lean_dec(v___y_3972_); +lean_dec(v___y_3970_); +lean_dec_ref(v___y_3969_); +lean_dec(v_ref_3967_); +return v_res_3974_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(lean_object* v_keys_3974_, lean_object* v_vals_3975_, lean_object* v_i_3976_, lean_object* v_k_3977_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(lean_object* v_keys_3975_, lean_object* v_vals_3976_, lean_object* v_i_3977_, lean_object* v_k_3978_){ _start: { -lean_object* v___x_3978_; uint8_t v___x_3979_; -v___x_3978_ = lean_array_get_size(v_keys_3974_); -v___x_3979_ = lean_nat_dec_lt(v_i_3976_, v___x_3978_); -if (v___x_3979_ == 0) +lean_object* v___x_3979_; uint8_t v___x_3980_; +v___x_3979_ = lean_array_get_size(v_keys_3975_); +v___x_3980_ = lean_nat_dec_lt(v_i_3977_, v___x_3979_); +if (v___x_3980_ == 0) { -lean_object* v___x_3980_; -lean_dec(v_i_3976_); -v___x_3980_ = lean_box(0); -return v___x_3980_; +lean_object* v___x_3981_; +lean_dec(v_i_3977_); +v___x_3981_ = lean_box(0); +return v___x_3981_; } else { -lean_object* v_k_x27_3981_; uint8_t v___x_3982_; -v_k_x27_3981_ = lean_array_fget_borrowed(v_keys_3974_, v_i_3976_); -v___x_3982_ = lean_name_eq(v_k_3977_, v_k_x27_3981_); -if (v___x_3982_ == 0) +lean_object* v_k_x27_3982_; uint8_t v___x_3983_; +v_k_x27_3982_ = lean_array_fget_borrowed(v_keys_3975_, v_i_3977_); +v___x_3983_ = lean_name_eq(v_k_3978_, v_k_x27_3982_); +if (v___x_3983_ == 0) { -lean_object* v___x_3983_; lean_object* v___x_3984_; -v___x_3983_ = lean_unsigned_to_nat(1u); -v___x_3984_ = lean_nat_add(v_i_3976_, v___x_3983_); -lean_dec(v_i_3976_); -v_i_3976_ = v___x_3984_; +lean_object* v___x_3984_; lean_object* v___x_3985_; +v___x_3984_ = lean_unsigned_to_nat(1u); +v___x_3985_ = lean_nat_add(v_i_3977_, v___x_3984_); +lean_dec(v_i_3977_); +v_i_3977_ = v___x_3985_; goto _start; } else { -lean_object* v___x_3986_; lean_object* v___x_3987_; -v___x_3986_ = lean_array_fget_borrowed(v_vals_3975_, v_i_3976_); -lean_dec(v_i_3976_); -lean_inc(v___x_3986_); -v___x_3987_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_3987_, 0, v___x_3986_); -return v___x_3987_; +lean_object* v___x_3987_; lean_object* v___x_3988_; +v___x_3987_ = lean_array_fget_borrowed(v_vals_3976_, v_i_3977_); +lean_dec(v_i_3977_); +lean_inc(v___x_3987_); +v___x_3988_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_3988_, 0, v___x_3987_); +return v___x_3988_; } } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_keys_3988_, lean_object* v_vals_3989_, lean_object* v_i_3990_, lean_object* v_k_3991_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg___boxed(lean_object* v_keys_3989_, lean_object* v_vals_3990_, lean_object* v_i_3991_, lean_object* v_k_3992_){ _start: { -lean_object* v_res_3992_; -v_res_3992_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_keys_3988_, v_vals_3989_, v_i_3990_, v_k_3991_); -lean_dec(v_k_3991_); -lean_dec_ref(v_vals_3989_); -lean_dec_ref(v_keys_3988_); -return v_res_3992_; +lean_object* v_res_3993_; +v_res_3993_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_keys_3989_, v_vals_3990_, v_i_3991_, v_k_3992_); +lean_dec(v_k_3992_); +lean_dec_ref(v_vals_3990_); +lean_dec_ref(v_keys_3989_); +return v_res_3993_; } } static size_t _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0(void){ _start: { -size_t v___x_3993_; size_t v___x_3994_; size_t v___x_3995_; -v___x_3993_ = ((size_t)5ULL); -v___x_3994_ = ((size_t)1ULL); -v___x_3995_ = lean_usize_shift_left(v___x_3994_, v___x_3993_); -return v___x_3995_; +size_t v___x_3994_; size_t v___x_3995_; size_t v___x_3996_; +v___x_3994_ = ((size_t)5ULL); +v___x_3995_ = ((size_t)1ULL); +v___x_3996_ = lean_usize_shift_left(v___x_3995_, v___x_3994_); +return v___x_3996_; } } static size_t _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1(void){ _start: { -size_t v___x_3996_; size_t v___x_3997_; size_t v___x_3998_; -v___x_3996_ = ((size_t)1ULL); -v___x_3997_ = lean_usize_once(&l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0, &l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0); -v___x_3998_ = lean_usize_sub(v___x_3997_, v___x_3996_); -return v___x_3998_; +size_t v___x_3997_; size_t v___x_3998_; size_t v___x_3999_; +v___x_3997_ = ((size_t)1ULL); +v___x_3998_ = lean_usize_once(&l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0, &l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__0); +v___x_3999_ = lean_usize_sub(v___x_3998_, v___x_3997_); +return v___x_3999_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(lean_object* v_x_3999_, size_t v_x_4000_, lean_object* v_x_4001_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(lean_object* v_x_4000_, size_t v_x_4001_, lean_object* v_x_4002_){ _start: { -if (lean_obj_tag(v_x_3999_) == 0) +if (lean_obj_tag(v_x_4000_) == 0) { -lean_object* v_es_4002_; lean_object* v___x_4004_; uint8_t v_isShared_4005_; uint8_t v_isSharedCheck_4023_; -v_es_4002_ = lean_ctor_get(v_x_3999_, 0); -v_isSharedCheck_4023_ = !lean_is_exclusive(v_x_3999_); -if (v_isSharedCheck_4023_ == 0) +lean_object* v_es_4003_; lean_object* v___x_4005_; uint8_t v_isShared_4006_; uint8_t v_isSharedCheck_4024_; +v_es_4003_ = lean_ctor_get(v_x_4000_, 0); +v_isSharedCheck_4024_ = !lean_is_exclusive(v_x_4000_); +if (v_isSharedCheck_4024_ == 0) { -v___x_4004_ = v_x_3999_; -v_isShared_4005_ = v_isSharedCheck_4023_; -goto v_resetjp_4003_; +v___x_4005_ = v_x_4000_; +v_isShared_4006_ = v_isSharedCheck_4024_; +goto v_resetjp_4004_; } else { -lean_inc(v_es_4002_); -lean_dec(v_x_3999_); -v___x_4004_ = lean_box(0); -v_isShared_4005_ = v_isSharedCheck_4023_; -goto v_resetjp_4003_; +lean_inc(v_es_4003_); +lean_dec(v_x_4000_); +v___x_4005_ = lean_box(0); +v_isShared_4006_ = v_isSharedCheck_4024_; +goto v_resetjp_4004_; } -v_resetjp_4003_: +v_resetjp_4004_: { -lean_object* v___x_4006_; size_t v___x_4007_; size_t v___x_4008_; size_t v___x_4009_; lean_object* v_j_4010_; lean_object* v___x_4011_; -v___x_4006_ = lean_box(2); -v___x_4007_ = ((size_t)5ULL); -v___x_4008_ = lean_usize_once(&l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1, &l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1); -v___x_4009_ = lean_usize_land(v_x_4000_, v___x_4008_); -v_j_4010_ = lean_usize_to_nat(v___x_4009_); -v___x_4011_ = lean_array_get(v___x_4006_, v_es_4002_, v_j_4010_); -lean_dec(v_j_4010_); -lean_dec_ref(v_es_4002_); -switch(lean_obj_tag(v___x_4011_)) +lean_object* v___x_4007_; size_t v___x_4008_; size_t v___x_4009_; size_t v___x_4010_; lean_object* v_j_4011_; lean_object* v___x_4012_; +v___x_4007_ = lean_box(2); +v___x_4008_ = ((size_t)5ULL); +v___x_4009_ = lean_usize_once(&l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1, &l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1_once, _init_l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___closed__1); +v___x_4010_ = lean_usize_land(v_x_4001_, v___x_4009_); +v_j_4011_ = lean_usize_to_nat(v___x_4010_); +v___x_4012_ = lean_array_get(v___x_4007_, v_es_4003_, v_j_4011_); +lean_dec(v_j_4011_); +lean_dec_ref(v_es_4003_); +switch(lean_obj_tag(v___x_4012_)) { case 0: { -lean_object* v_key_4012_; lean_object* v_val_4013_; uint8_t v___x_4014_; -v_key_4012_ = lean_ctor_get(v___x_4011_, 0); -lean_inc(v_key_4012_); -v_val_4013_ = lean_ctor_get(v___x_4011_, 1); -lean_inc(v_val_4013_); -lean_dec_ref(v___x_4011_); -v___x_4014_ = lean_name_eq(v_x_4001_, v_key_4012_); -lean_dec(v_key_4012_); -if (v___x_4014_ == 0) +lean_object* v_key_4013_; lean_object* v_val_4014_; uint8_t v___x_4015_; +v_key_4013_ = lean_ctor_get(v___x_4012_, 0); +lean_inc(v_key_4013_); +v_val_4014_ = lean_ctor_get(v___x_4012_, 1); +lean_inc(v_val_4014_); +lean_dec_ref(v___x_4012_); +v___x_4015_ = lean_name_eq(v_x_4002_, v_key_4013_); +lean_dec(v_key_4013_); +if (v___x_4015_ == 0) { -lean_object* v___x_4015_; -lean_dec(v_val_4013_); -lean_del_object(v___x_4004_); -v___x_4015_ = lean_box(0); -return v___x_4015_; +lean_object* v___x_4016_; +lean_dec(v_val_4014_); +lean_del_object(v___x_4005_); +v___x_4016_ = lean_box(0); +return v___x_4016_; } else { -lean_object* v___x_4017_; -if (v_isShared_4005_ == 0) +lean_object* v___x_4018_; +if (v_isShared_4006_ == 0) { -lean_ctor_set_tag(v___x_4004_, 1); -lean_ctor_set(v___x_4004_, 0, v_val_4013_); -v___x_4017_ = v___x_4004_; -goto v_reusejp_4016_; +lean_ctor_set_tag(v___x_4005_, 1); +lean_ctor_set(v___x_4005_, 0, v_val_4014_); +v___x_4018_ = v___x_4005_; +goto v_reusejp_4017_; } else { -lean_object* v_reuseFailAlloc_4018_; -v_reuseFailAlloc_4018_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4018_, 0, v_val_4013_); -v___x_4017_ = v_reuseFailAlloc_4018_; -goto v_reusejp_4016_; +lean_object* v_reuseFailAlloc_4019_; +v_reuseFailAlloc_4019_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4019_, 0, v_val_4014_); +v___x_4018_ = v_reuseFailAlloc_4019_; +goto v_reusejp_4017_; } -v_reusejp_4016_: +v_reusejp_4017_: { -return v___x_4017_; +return v___x_4018_; } } } case 1: { -lean_object* v_node_4019_; size_t v___x_4020_; -lean_del_object(v___x_4004_); -v_node_4019_ = lean_ctor_get(v___x_4011_, 0); -lean_inc(v_node_4019_); -lean_dec_ref(v___x_4011_); -v___x_4020_ = lean_usize_shift_right(v_x_4000_, v___x_4007_); -v_x_3999_ = v_node_4019_; -v_x_4000_ = v___x_4020_; +lean_object* v_node_4020_; size_t v___x_4021_; +lean_del_object(v___x_4005_); +v_node_4020_ = lean_ctor_get(v___x_4012_, 0); +lean_inc(v_node_4020_); +lean_dec_ref(v___x_4012_); +v___x_4021_ = lean_usize_shift_right(v_x_4001_, v___x_4008_); +v_x_4000_ = v_node_4020_; +v_x_4001_ = v___x_4021_; goto _start; } default: { -lean_object* v___x_4022_; -lean_del_object(v___x_4004_); -v___x_4022_ = lean_box(0); -return v___x_4022_; +lean_object* v___x_4023_; +lean_del_object(v___x_4005_); +v___x_4023_ = lean_box(0); +return v___x_4023_; } } } } else { -lean_object* v_ks_4024_; lean_object* v_vs_4025_; lean_object* v___x_4026_; lean_object* v___x_4027_; -v_ks_4024_ = lean_ctor_get(v_x_3999_, 0); -lean_inc_ref(v_ks_4024_); -v_vs_4025_ = lean_ctor_get(v_x_3999_, 1); -lean_inc_ref(v_vs_4025_); -lean_dec_ref(v_x_3999_); -v___x_4026_ = lean_unsigned_to_nat(0u); -v___x_4027_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_ks_4024_, v_vs_4025_, v___x_4026_, v_x_4001_); -lean_dec_ref(v_vs_4025_); -lean_dec_ref(v_ks_4024_); -return v___x_4027_; +lean_object* v_ks_4025_; lean_object* v_vs_4026_; lean_object* v___x_4027_; lean_object* v___x_4028_; +v_ks_4025_ = lean_ctor_get(v_x_4000_, 0); +lean_inc_ref(v_ks_4025_); +v_vs_4026_ = lean_ctor_get(v_x_4000_, 1); +lean_inc_ref(v_vs_4026_); +lean_dec_ref(v_x_4000_); +v___x_4027_ = lean_unsigned_to_nat(0u); +v___x_4028_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_ks_4025_, v_vs_4026_, v___x_4027_, v_x_4002_); +lean_dec_ref(v_vs_4026_); +lean_dec_ref(v_ks_4025_); +return v___x_4028_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___boxed(lean_object* v_x_4028_, lean_object* v_x_4029_, lean_object* v_x_4030_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg___boxed(lean_object* v_x_4029_, lean_object* v_x_4030_, lean_object* v_x_4031_){ _start: { -size_t v_x_750__boxed_4031_; lean_object* v_res_4032_; -v_x_750__boxed_4031_ = lean_unbox_usize(v_x_4029_); -lean_dec(v_x_4029_); -v_res_4032_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4028_, v_x_750__boxed_4031_, v_x_4030_); +size_t v_x_750__boxed_4032_; lean_object* v_res_4033_; +v_x_750__boxed_4032_ = lean_unbox_usize(v_x_4030_); lean_dec(v_x_4030_); -return v_res_4032_; +v_res_4033_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4029_, v_x_750__boxed_4032_, v_x_4031_); +lean_dec(v_x_4031_); +return v_res_4033_; } } static uint64_t _init_l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0(void){ _start: { -lean_object* v___x_4033_; uint64_t v___x_4034_; -v___x_4033_ = lean_unsigned_to_nat(1723u); -v___x_4034_ = lean_uint64_of_nat(v___x_4033_); -return v___x_4034_; +lean_object* v___x_4034_; uint64_t v___x_4035_; +v___x_4034_ = lean_unsigned_to_nat(1723u); +v___x_4035_ = lean_uint64_of_nat(v___x_4034_); +return v___x_4035_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(lean_object* v_x_4035_, lean_object* v_x_4036_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(lean_object* v_x_4036_, lean_object* v_x_4037_){ _start: { -uint64_t v___y_4038_; -if (lean_obj_tag(v_x_4036_) == 0) +uint64_t v___y_4039_; +if (lean_obj_tag(v_x_4037_) == 0) { -uint64_t v___x_4041_; -v___x_4041_ = lean_uint64_once(&l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0, &l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0); -v___y_4038_ = v___x_4041_; -goto v___jp_4037_; +uint64_t v___x_4042_; +v___x_4042_ = lean_uint64_once(&l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0, &l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0_once, _init_l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___closed__0); +v___y_4039_ = v___x_4042_; +goto v___jp_4038_; } else { -uint64_t v_hash_4042_; -v_hash_4042_ = lean_ctor_get_uint64(v_x_4036_, sizeof(void*)*2); -v___y_4038_ = v_hash_4042_; -goto v___jp_4037_; +uint64_t v_hash_4043_; +v_hash_4043_ = lean_ctor_get_uint64(v_x_4037_, sizeof(void*)*2); +v___y_4039_ = v_hash_4043_; +goto v___jp_4038_; } -v___jp_4037_: +v___jp_4038_: { -size_t v___x_4039_; lean_object* v___x_4040_; -v___x_4039_ = lean_uint64_to_usize(v___y_4038_); -v___x_4040_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4035_, v___x_4039_, v_x_4036_); -return v___x_4040_; +size_t v___x_4040_; lean_object* v___x_4041_; +v___x_4040_ = lean_uint64_to_usize(v___y_4039_); +v___x_4041_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4036_, v___x_4040_, v_x_4037_); +return v___x_4041_; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___boxed(lean_object* v_x_4043_, lean_object* v_x_4044_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg___boxed(lean_object* v_x_4044_, lean_object* v_x_4045_){ _start: { -lean_object* v_res_4045_; -v_res_4045_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_x_4043_, v_x_4044_); -lean_dec(v_x_4044_); -return v_res_4045_; +lean_object* v_res_4046_; +v_res_4046_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_x_4044_, v_x_4045_); +lean_dec(v_x_4045_); +return v_res_4046_; } } static lean_object* _init_l_Lean_Meta_Match_getEquationsForImpl___closed__4(void){ _start: { -lean_object* v___x_4052_; lean_object* v___x_4053_; -v___x_4052_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__3)); -v___x_4053_ = l_Lean_stringToMessageData(v___x_4052_); -return v___x_4053_; +lean_object* v___x_4053_; lean_object* v___x_4054_; +v___x_4053_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__3)); +v___x_4054_ = l_Lean_stringToMessageData(v___x_4053_); +return v___x_4054_; } } static lean_object* _init_l_Lean_Meta_Match_getEquationsForImpl___closed__6(void){ _start: { -lean_object* v___x_4055_; lean_object* v___x_4056_; -v___x_4055_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__5)); -v___x_4056_ = l_Lean_stringToMessageData(v___x_4055_); -return v___x_4056_; +lean_object* v___x_4056_; lean_object* v___x_4057_; +v___x_4056_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__5)); +v___x_4057_ = l_Lean_stringToMessageData(v___x_4056_); +return v___x_4057_; } } -LEAN_EXPORT lean_object* lean_get_match_equations_for(lean_object* v_matchDeclName_4057_, lean_object* v_a_4058_, lean_object* v_a_4059_, lean_object* v_a_4060_, lean_object* v_a_4061_){ +LEAN_EXPORT lean_object* lean_get_match_equations_for(lean_object* v_matchDeclName_4058_, lean_object* v_a_4059_, lean_object* v_a_4060_, lean_object* v_a_4061_, lean_object* v_a_4062_){ _start: { -lean_object* v___x_4063_; lean_object* v_env_4064_; lean_object* v___x_4065_; lean_object* v___x_4066_; lean_object* v___x_4067_; lean_object* v___x_4068_; lean_object* v___x_4069_; -v___x_4063_ = lean_st_ref_get(v_a_4061_); -v_env_4064_ = lean_ctor_get(v___x_4063_, 0); -lean_inc_ref(v_env_4064_); -lean_dec(v___x_4063_); -lean_inc(v_matchDeclName_4057_); -v___x_4065_ = l_Lean_mkPrivateName(v_env_4064_, v_matchDeclName_4057_); -lean_dec_ref(v_env_4064_); -v___x_4066_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__1)); -lean_inc(v___x_4065_); -v___x_4067_ = l_Lean_Name_append(v___x_4065_, v___x_4066_); -lean_inc(v___x_4067_); -lean_inc(v_matchDeclName_4057_); -v___x_4068_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___boxed), 8, 3); -lean_closure_set(v___x_4068_, 0, v_matchDeclName_4057_); -lean_closure_set(v___x_4068_, 1, v___x_4065_); -lean_closure_set(v___x_4068_, 2, v___x_4067_); -lean_inc(v_a_4061_); -lean_inc_ref(v_a_4060_); -lean_inc(v_a_4059_); -lean_inc_ref(v_a_4058_); -lean_inc(v___x_4067_); -lean_inc(v_matchDeclName_4057_); -v___x_4069_ = l_Lean_Meta_realizeConst(v_matchDeclName_4057_, v___x_4067_, v___x_4068_, v_a_4058_, v_a_4059_, v_a_4060_, v_a_4061_); -if (lean_obj_tag(v___x_4069_) == 0) +lean_object* v___x_4064_; lean_object* v_env_4065_; lean_object* v___x_4066_; lean_object* v___x_4067_; lean_object* v___x_4068_; lean_object* v___x_4069_; lean_object* v___x_4070_; +v___x_4064_ = lean_st_ref_get(v_a_4062_); +v_env_4065_ = lean_ctor_get(v___x_4064_, 0); +lean_inc_ref(v_env_4065_); +lean_dec(v___x_4064_); +lean_inc(v_matchDeclName_4058_); +v___x_4066_ = l_Lean_mkPrivateName(v_env_4065_, v_matchDeclName_4058_); +lean_dec_ref(v_env_4065_); +v___x_4067_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__1)); +lean_inc(v___x_4066_); +v___x_4068_ = l_Lean_Name_append(v___x_4066_, v___x_4067_); +lean_inc(v___x_4068_); +lean_inc(v_matchDeclName_4058_); +v___x_4069_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___boxed), 8, 3); +lean_closure_set(v___x_4069_, 0, v_matchDeclName_4058_); +lean_closure_set(v___x_4069_, 1, v___x_4066_); +lean_closure_set(v___x_4069_, 2, v___x_4068_); +lean_inc(v_a_4062_); +lean_inc_ref(v_a_4061_); +lean_inc(v_a_4060_); +lean_inc_ref(v_a_4059_); +lean_inc(v___x_4068_); +lean_inc(v_matchDeclName_4058_); +v___x_4070_ = l_Lean_Meta_realizeConst(v_matchDeclName_4058_, v___x_4068_, v___x_4069_, v_a_4059_, v_a_4060_, v_a_4061_, v_a_4062_); +if (lean_obj_tag(v___x_4070_) == 0) { -lean_object* v___x_4071_; uint8_t v_isShared_4072_; uint8_t v_isSharedCheck_4098_; -v_isSharedCheck_4098_ = !lean_is_exclusive(v___x_4069_); -if (v_isSharedCheck_4098_ == 0) +lean_object* v___x_4072_; uint8_t v_isShared_4073_; uint8_t v_isSharedCheck_4099_; +v_isSharedCheck_4099_ = !lean_is_exclusive(v___x_4070_); +if (v_isSharedCheck_4099_ == 0) { -lean_object* v_unused_4099_; -v_unused_4099_ = lean_ctor_get(v___x_4069_, 0); -lean_dec(v_unused_4099_); -v___x_4071_ = v___x_4069_; -v_isShared_4072_ = v_isSharedCheck_4098_; -goto v_resetjp_4070_; +lean_object* v_unused_4100_; +v_unused_4100_ = lean_ctor_get(v___x_4070_, 0); +lean_dec(v_unused_4100_); +v___x_4072_ = v___x_4070_; +v_isShared_4073_ = v_isSharedCheck_4099_; +goto v_resetjp_4071_; } else { -lean_dec(v___x_4069_); -v___x_4071_ = lean_box(0); -v_isShared_4072_ = v_isSharedCheck_4098_; -goto v_resetjp_4070_; +lean_dec(v___x_4070_); +v___x_4072_ = lean_box(0); +v_isShared_4073_ = v_isSharedCheck_4099_; +goto v_resetjp_4071_; } -v_resetjp_4070_: +v_resetjp_4071_: { -lean_object* v___x_4073_; lean_object* v_env_4074_; lean_object* v___x_4075_; lean_object* v___x_4076_; lean_object* v___x_4077_; lean_object* v___x_4078_; lean_object* v_map_4079_; lean_object* v___x_4081_; uint8_t v_isShared_4082_; uint8_t v_isSharedCheck_4096_; -v___x_4073_ = lean_st_ref_get(v_a_4061_); -v_env_4074_ = lean_ctor_get(v___x_4073_, 0); -lean_inc_ref(v_env_4074_); -lean_dec(v___x_4073_); -v___x_4075_ = l_Lean_Meta_Match_instInhabitedMatchEqnsExtState_default; -v___x_4076_ = l_Lean_Meta_Match_matchEqnsExt; -v___x_4077_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__2)); -v___x_4078_ = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(v___x_4075_, v___x_4076_, v_env_4074_, v___x_4077_, v___x_4067_); -v_map_4079_ = lean_ctor_get(v___x_4078_, 0); -v_isSharedCheck_4096_ = !lean_is_exclusive(v___x_4078_); -if (v_isSharedCheck_4096_ == 0) +lean_object* v___x_4074_; lean_object* v_env_4075_; lean_object* v___x_4076_; lean_object* v___x_4077_; lean_object* v___x_4078_; lean_object* v___x_4079_; lean_object* v_map_4080_; lean_object* v___x_4082_; uint8_t v_isShared_4083_; uint8_t v_isSharedCheck_4097_; +v___x_4074_ = lean_st_ref_get(v_a_4062_); +v_env_4075_ = lean_ctor_get(v___x_4074_, 0); +lean_inc_ref(v_env_4075_); +lean_dec(v___x_4074_); +v___x_4076_ = l_Lean_Meta_Match_instInhabitedMatchEqnsExtState_default; +v___x_4077_ = l_Lean_Meta_Match_matchEqnsExt; +v___x_4078_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__2)); +v___x_4079_ = l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(v___x_4076_, v___x_4077_, v_env_4075_, v___x_4078_, v___x_4068_); +v_map_4080_ = lean_ctor_get(v___x_4079_, 0); +v_isSharedCheck_4097_ = !lean_is_exclusive(v___x_4079_); +if (v_isSharedCheck_4097_ == 0) { -lean_object* v_unused_4097_; -v_unused_4097_ = lean_ctor_get(v___x_4078_, 1); -lean_dec(v_unused_4097_); -v___x_4081_ = v___x_4078_; -v_isShared_4082_ = v_isSharedCheck_4096_; -goto v_resetjp_4080_; +lean_object* v_unused_4098_; +v_unused_4098_ = lean_ctor_get(v___x_4079_, 1); +lean_dec(v_unused_4098_); +v___x_4082_ = v___x_4079_; +v_isShared_4083_ = v_isSharedCheck_4097_; +goto v_resetjp_4081_; } else { -lean_inc(v_map_4079_); -lean_dec(v___x_4078_); -v___x_4081_ = lean_box(0); -v_isShared_4082_ = v_isSharedCheck_4096_; -goto v_resetjp_4080_; +lean_inc(v_map_4080_); +lean_dec(v___x_4079_); +v___x_4082_ = lean_box(0); +v_isShared_4083_ = v_isSharedCheck_4097_; +goto v_resetjp_4081_; } -v_resetjp_4080_: +v_resetjp_4081_: { -lean_object* v___x_4083_; -v___x_4083_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_map_4079_, v_matchDeclName_4057_); -if (lean_obj_tag(v___x_4083_) == 0) +lean_object* v___x_4084_; +v___x_4084_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_map_4080_, v_matchDeclName_4058_); +if (lean_obj_tag(v___x_4084_) == 0) { -lean_object* v___x_4084_; lean_object* v___x_4085_; lean_object* v___x_4087_; -lean_del_object(v___x_4071_); -v___x_4084_ = lean_obj_once(&l_Lean_Meta_Match_getEquationsForImpl___closed__4, &l_Lean_Meta_Match_getEquationsForImpl___closed__4_once, _init_l_Lean_Meta_Match_getEquationsForImpl___closed__4); -v___x_4085_ = l_Lean_MessageData_ofName(v_matchDeclName_4057_); -if (v_isShared_4082_ == 0) +lean_object* v___x_4085_; lean_object* v___x_4086_; lean_object* v___x_4088_; +lean_del_object(v___x_4072_); +v___x_4085_ = lean_obj_once(&l_Lean_Meta_Match_getEquationsForImpl___closed__4, &l_Lean_Meta_Match_getEquationsForImpl___closed__4_once, _init_l_Lean_Meta_Match_getEquationsForImpl___closed__4); +v___x_4086_ = l_Lean_MessageData_ofName(v_matchDeclName_4058_); +if (v_isShared_4083_ == 0) { -lean_ctor_set_tag(v___x_4081_, 7); -lean_ctor_set(v___x_4081_, 1, v___x_4085_); -lean_ctor_set(v___x_4081_, 0, v___x_4084_); -v___x_4087_ = v___x_4081_; -goto v_reusejp_4086_; +lean_ctor_set_tag(v___x_4082_, 7); +lean_ctor_set(v___x_4082_, 1, v___x_4086_); +lean_ctor_set(v___x_4082_, 0, v___x_4085_); +v___x_4088_ = v___x_4082_; +goto v_reusejp_4087_; } else { -lean_object* v_reuseFailAlloc_4091_; -v_reuseFailAlloc_4091_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4091_, 0, v___x_4084_); -lean_ctor_set(v_reuseFailAlloc_4091_, 1, v___x_4085_); -v___x_4087_ = v_reuseFailAlloc_4091_; -goto v_reusejp_4086_; +lean_object* v_reuseFailAlloc_4092_; +v_reuseFailAlloc_4092_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4092_, 0, v___x_4085_); +lean_ctor_set(v_reuseFailAlloc_4092_, 1, v___x_4086_); +v___x_4088_ = v_reuseFailAlloc_4092_; +goto v_reusejp_4087_; } -v_reusejp_4086_: +v_reusejp_4087_: { -lean_object* v___x_4088_; lean_object* v___x_4089_; lean_object* v___x_4090_; -v___x_4088_ = lean_obj_once(&l_Lean_Meta_Match_getEquationsForImpl___closed__6, &l_Lean_Meta_Match_getEquationsForImpl___closed__6_once, _init_l_Lean_Meta_Match_getEquationsForImpl___closed__6); -v___x_4089_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_4089_, 0, v___x_4087_); -lean_ctor_set(v___x_4089_, 1, v___x_4088_); -v___x_4090_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_4089_, v_a_4058_, v_a_4059_, v_a_4060_, v_a_4061_); -lean_dec(v_a_4061_); -lean_dec_ref(v_a_4060_); -lean_dec(v_a_4059_); -lean_dec_ref(v_a_4058_); -return v___x_4090_; +lean_object* v___x_4089_; lean_object* v___x_4090_; lean_object* v___x_4091_; +v___x_4089_ = lean_obj_once(&l_Lean_Meta_Match_getEquationsForImpl___closed__6, &l_Lean_Meta_Match_getEquationsForImpl___closed__6_once, _init_l_Lean_Meta_Match_getEquationsForImpl___closed__6); +v___x_4090_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4090_, 0, v___x_4088_); +lean_ctor_set(v___x_4090_, 1, v___x_4089_); +v___x_4091_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_4090_, v_a_4059_, v_a_4060_, v_a_4061_, v_a_4062_); +lean_dec(v_a_4062_); +lean_dec_ref(v_a_4061_); +lean_dec(v_a_4060_); +lean_dec_ref(v_a_4059_); +return v___x_4091_; } } else { -lean_object* v_val_4092_; lean_object* v___x_4094_; -lean_del_object(v___x_4081_); -lean_dec(v_a_4061_); -lean_dec_ref(v_a_4060_); -lean_dec(v_a_4059_); -lean_dec_ref(v_a_4058_); -lean_dec(v_matchDeclName_4057_); -v_val_4092_ = lean_ctor_get(v___x_4083_, 0); -lean_inc(v_val_4092_); -lean_dec_ref(v___x_4083_); -if (v_isShared_4072_ == 0) +lean_object* v_val_4093_; lean_object* v___x_4095_; +lean_del_object(v___x_4082_); +lean_dec(v_a_4062_); +lean_dec_ref(v_a_4061_); +lean_dec(v_a_4060_); +lean_dec_ref(v_a_4059_); +lean_dec(v_matchDeclName_4058_); +v_val_4093_ = lean_ctor_get(v___x_4084_, 0); +lean_inc(v_val_4093_); +lean_dec_ref(v___x_4084_); +if (v_isShared_4073_ == 0) { -lean_ctor_set(v___x_4071_, 0, v_val_4092_); -v___x_4094_ = v___x_4071_; -goto v_reusejp_4093_; +lean_ctor_set(v___x_4072_, 0, v_val_4093_); +v___x_4095_ = v___x_4072_; +goto v_reusejp_4094_; } else { -lean_object* v_reuseFailAlloc_4095_; -v_reuseFailAlloc_4095_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4095_, 0, v_val_4092_); -v___x_4094_ = v_reuseFailAlloc_4095_; -goto v_reusejp_4093_; +lean_object* v_reuseFailAlloc_4096_; +v_reuseFailAlloc_4096_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4096_, 0, v_val_4093_); +v___x_4095_ = v_reuseFailAlloc_4096_; +goto v_reusejp_4094_; } -v_reusejp_4093_: +v_reusejp_4094_: { -return v___x_4094_; +return v___x_4095_; } } } @@ -14128,586 +14147,586 @@ return v___x_4094_; } else { -lean_object* v_a_4100_; lean_object* v___x_4102_; uint8_t v_isShared_4103_; uint8_t v_isSharedCheck_4107_; -lean_dec(v___x_4067_); -lean_dec(v_a_4061_); -lean_dec_ref(v_a_4060_); -lean_dec(v_a_4059_); -lean_dec_ref(v_a_4058_); -lean_dec(v_matchDeclName_4057_); -v_a_4100_ = lean_ctor_get(v___x_4069_, 0); -v_isSharedCheck_4107_ = !lean_is_exclusive(v___x_4069_); -if (v_isSharedCheck_4107_ == 0) +lean_object* v_a_4101_; lean_object* v___x_4103_; uint8_t v_isShared_4104_; uint8_t v_isSharedCheck_4108_; +lean_dec(v___x_4068_); +lean_dec(v_a_4062_); +lean_dec_ref(v_a_4061_); +lean_dec(v_a_4060_); +lean_dec_ref(v_a_4059_); +lean_dec(v_matchDeclName_4058_); +v_a_4101_ = lean_ctor_get(v___x_4070_, 0); +v_isSharedCheck_4108_ = !lean_is_exclusive(v___x_4070_); +if (v_isSharedCheck_4108_ == 0) { -v___x_4102_ = v___x_4069_; -v_isShared_4103_ = v_isSharedCheck_4107_; -goto v_resetjp_4101_; +v___x_4103_ = v___x_4070_; +v_isShared_4104_ = v_isSharedCheck_4108_; +goto v_resetjp_4102_; } else { -lean_inc(v_a_4100_); -lean_dec(v___x_4069_); -v___x_4102_ = lean_box(0); -v_isShared_4103_ = v_isSharedCheck_4107_; -goto v_resetjp_4101_; +lean_inc(v_a_4101_); +lean_dec(v___x_4070_); +v___x_4103_ = lean_box(0); +v_isShared_4104_ = v_isSharedCheck_4108_; +goto v_resetjp_4102_; } -v_resetjp_4101_: +v_resetjp_4102_: { -lean_object* v___x_4105_; -if (v_isShared_4103_ == 0) +lean_object* v___x_4106_; +if (v_isShared_4104_ == 0) { -v___x_4105_ = v___x_4102_; -goto v_reusejp_4104_; +v___x_4106_ = v___x_4103_; +goto v_reusejp_4105_; } else { -lean_object* v_reuseFailAlloc_4106_; -v_reuseFailAlloc_4106_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4106_, 0, v_a_4100_); -v___x_4105_ = v_reuseFailAlloc_4106_; -goto v_reusejp_4104_; +lean_object* v_reuseFailAlloc_4107_; +v_reuseFailAlloc_4107_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4107_, 0, v_a_4101_); +v___x_4106_ = v_reuseFailAlloc_4107_; +goto v_reusejp_4105_; } -v_reusejp_4104_: +v_reusejp_4105_: { -return v___x_4105_; +return v___x_4106_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_getEquationsForImpl___boxed(lean_object* v_matchDeclName_4108_, lean_object* v_a_4109_, lean_object* v_a_4110_, lean_object* v_a_4111_, lean_object* v_a_4112_, lean_object* v_a_4113_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_getEquationsForImpl___boxed(lean_object* v_matchDeclName_4109_, lean_object* v_a_4110_, lean_object* v_a_4111_, lean_object* v_a_4112_, lean_object* v_a_4113_, lean_object* v_a_4114_){ _start: { -lean_object* v_res_4114_; -v_res_4114_ = lean_get_match_equations_for(v_matchDeclName_4108_, v_a_4109_, v_a_4110_, v_a_4111_, v_a_4112_); -return v_res_4114_; +lean_object* v_res_4115_; +v_res_4115_ = lean_get_match_equations_for(v_matchDeclName_4109_, v_a_4110_, v_a_4111_, v_a_4112_, v_a_4113_); +return v_res_4115_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0(lean_object* v_00_u03b2_4115_, lean_object* v_x_4116_, lean_object* v_x_4117_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0(lean_object* v_00_u03b2_4116_, lean_object* v_x_4117_, lean_object* v_x_4118_){ _start: { -lean_object* v___x_4118_; -v___x_4118_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_x_4116_, v_x_4117_); -return v___x_4118_; +lean_object* v___x_4119_; +v___x_4119_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___redArg(v_x_4117_, v_x_4118_); +return v___x_4119_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___boxed(lean_object* v_00_u03b2_4119_, lean_object* v_x_4120_, lean_object* v_x_4121_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0___boxed(lean_object* v_00_u03b2_4120_, lean_object* v_x_4121_, lean_object* v_x_4122_){ _start: { -lean_object* v_res_4122_; -v_res_4122_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0(v_00_u03b2_4119_, v_x_4120_, v_x_4121_); -lean_dec(v_x_4121_); -return v_res_4122_; +lean_object* v_res_4123_; +v_res_4123_ = l_Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0(v_00_u03b2_4120_, v_x_4121_, v_x_4122_); +lean_dec(v_x_4122_); +return v_res_4123_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0(lean_object* v_00_u03b2_4123_, lean_object* v_x_4124_, size_t v_x_4125_, lean_object* v_x_4126_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0(lean_object* v_00_u03b2_4124_, lean_object* v_x_4125_, size_t v_x_4126_, lean_object* v_x_4127_){ _start: { -lean_object* v___x_4127_; -v___x_4127_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4124_, v_x_4125_, v_x_4126_); -return v___x_4127_; +lean_object* v___x_4128_; +v___x_4128_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___redArg(v_x_4125_, v_x_4126_, v_x_4127_); +return v___x_4128_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___boxed(lean_object* v_00_u03b2_4128_, lean_object* v_x_4129_, lean_object* v_x_4130_, lean_object* v_x_4131_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0___boxed(lean_object* v_00_u03b2_4129_, lean_object* v_x_4130_, lean_object* v_x_4131_, lean_object* v_x_4132_){ _start: { -size_t v_x_978__boxed_4132_; lean_object* v_res_4133_; -v_x_978__boxed_4132_ = lean_unbox_usize(v_x_4130_); -lean_dec(v_x_4130_); -v_res_4133_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0(v_00_u03b2_4128_, v_x_4129_, v_x_978__boxed_4132_, v_x_4131_); +size_t v_x_978__boxed_4133_; lean_object* v_res_4134_; +v_x_978__boxed_4133_ = lean_unbox_usize(v_x_4131_); lean_dec(v_x_4131_); -return v_res_4133_; +v_res_4134_ = l_Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0(v_00_u03b2_4129_, v_x_4130_, v_x_978__boxed_4133_, v_x_4132_); +lean_dec(v_x_4132_); +return v_res_4134_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_4134_, lean_object* v_keys_4135_, lean_object* v_vals_4136_, lean_object* v_heq_4137_, lean_object* v_i_4138_, lean_object* v_k_4139_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1(lean_object* v_00_u03b2_4135_, lean_object* v_keys_4136_, lean_object* v_vals_4137_, lean_object* v_heq_4138_, lean_object* v_i_4139_, lean_object* v_k_4140_){ _start: { -lean_object* v___x_4140_; -v___x_4140_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_keys_4135_, v_vals_4136_, v_i_4138_, v_k_4139_); -return v___x_4140_; +lean_object* v___x_4141_; +v___x_4141_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___redArg(v_keys_4136_, v_vals_4137_, v_i_4139_, v_k_4140_); +return v___x_4141_; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_4141_, lean_object* v_keys_4142_, lean_object* v_vals_4143_, lean_object* v_heq_4144_, lean_object* v_i_4145_, lean_object* v_k_4146_){ +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1___boxed(lean_object* v_00_u03b2_4142_, lean_object* v_keys_4143_, lean_object* v_vals_4144_, lean_object* v_heq_4145_, lean_object* v_i_4146_, lean_object* v_k_4147_){ _start: { -lean_object* v_res_4147_; -v_res_4147_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1(v_00_u03b2_4141_, v_keys_4142_, v_vals_4143_, v_heq_4144_, v_i_4145_, v_k_4146_); -lean_dec(v_k_4146_); -lean_dec_ref(v_vals_4143_); -lean_dec_ref(v_keys_4142_); -return v_res_4147_; +lean_object* v_res_4148_; +v_res_4148_ = l_Lean_PersistentHashMap_findAtAux___at___00Lean_PersistentHashMap_findAux___at___00Lean_PersistentHashMap_find_x3f___at___00Lean_Meta_Match_getEquationsForImpl_spec__0_spec__0_spec__1(v_00_u03b2_4142_, v_keys_4143_, v_vals_4144_, v_heq_4145_, v_i_4146_, v_k_4147_); +lean_dec(v_k_4147_); +lean_dec_ref(v_vals_4144_); +lean_dec_ref(v_keys_4143_); +return v_res_4148_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(lean_object* v_type_4148_, lean_object* v_k_4149_, uint8_t v_cleanupAnnotations_4150_, lean_object* v___y_4151_, lean_object* v___y_4152_, lean_object* v___y_4153_, lean_object* v___y_4154_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(lean_object* v_type_4149_, lean_object* v_k_4150_, uint8_t v_cleanupAnnotations_4151_, lean_object* v___y_4152_, lean_object* v___y_4153_, lean_object* v___y_4154_, lean_object* v___y_4155_){ _start: { -lean_object* v___f_4156_; uint8_t v___x_4157_; lean_object* v___x_4158_; lean_object* v___x_4159_; -v___f_4156_ = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg___lam__0___boxed), 8, 1); -lean_closure_set(v___f_4156_, 0, v_k_4149_); -v___x_4157_ = 0; -v___x_4158_ = lean_box(0); -v___x_4159_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_4157_, v___x_4158_, v_type_4148_, v___f_4156_, v_cleanupAnnotations_4150_, v___x_4157_, v___y_4151_, v___y_4152_, v___y_4153_, v___y_4154_); -if (lean_obj_tag(v___x_4159_) == 0) +lean_object* v___f_4157_; uint8_t v___x_4158_; lean_object* v___x_4159_; lean_object* v___x_4160_; +v___f_4157_ = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg___lam__0___boxed), 8, 1); +lean_closure_set(v___f_4157_, 0, v_k_4150_); +v___x_4158_ = 0; +v___x_4159_ = lean_box(0); +v___x_4160_ = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_box(0), v___x_4158_, v___x_4159_, v_type_4149_, v___f_4157_, v_cleanupAnnotations_4151_, v___x_4158_, v___y_4152_, v___y_4153_, v___y_4154_, v___y_4155_); +if (lean_obj_tag(v___x_4160_) == 0) { -lean_object* v_a_4160_; lean_object* v___x_4162_; uint8_t v_isShared_4163_; uint8_t v_isSharedCheck_4167_; -v_a_4160_ = lean_ctor_get(v___x_4159_, 0); -v_isSharedCheck_4167_ = !lean_is_exclusive(v___x_4159_); -if (v_isSharedCheck_4167_ == 0) +lean_object* v_a_4161_; lean_object* v___x_4163_; uint8_t v_isShared_4164_; uint8_t v_isSharedCheck_4168_; +v_a_4161_ = lean_ctor_get(v___x_4160_, 0); +v_isSharedCheck_4168_ = !lean_is_exclusive(v___x_4160_); +if (v_isSharedCheck_4168_ == 0) { -v___x_4162_ = v___x_4159_; -v_isShared_4163_ = v_isSharedCheck_4167_; -goto v_resetjp_4161_; +v___x_4163_ = v___x_4160_; +v_isShared_4164_ = v_isSharedCheck_4168_; +goto v_resetjp_4162_; } else { -lean_inc(v_a_4160_); -lean_dec(v___x_4159_); -v___x_4162_ = lean_box(0); -v_isShared_4163_ = v_isSharedCheck_4167_; -goto v_resetjp_4161_; +lean_inc(v_a_4161_); +lean_dec(v___x_4160_); +v___x_4163_ = lean_box(0); +v_isShared_4164_ = v_isSharedCheck_4168_; +goto v_resetjp_4162_; } -v_resetjp_4161_: +v_resetjp_4162_: { -lean_object* v___x_4165_; -if (v_isShared_4163_ == 0) +lean_object* v___x_4166_; +if (v_isShared_4164_ == 0) { -v___x_4165_ = v___x_4162_; -goto v_reusejp_4164_; +v___x_4166_ = v___x_4163_; +goto v_reusejp_4165_; } else { -lean_object* v_reuseFailAlloc_4166_; -v_reuseFailAlloc_4166_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4166_, 0, v_a_4160_); -v___x_4165_ = v_reuseFailAlloc_4166_; -goto v_reusejp_4164_; +lean_object* v_reuseFailAlloc_4167_; +v_reuseFailAlloc_4167_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4167_, 0, v_a_4161_); +v___x_4166_ = v_reuseFailAlloc_4167_; +goto v_reusejp_4165_; } -v_reusejp_4164_: +v_reusejp_4165_: { -return v___x_4165_; +return v___x_4166_; } } } else { -lean_object* v_a_4168_; lean_object* v___x_4170_; uint8_t v_isShared_4171_; uint8_t v_isSharedCheck_4175_; -v_a_4168_ = lean_ctor_get(v___x_4159_, 0); -v_isSharedCheck_4175_ = !lean_is_exclusive(v___x_4159_); -if (v_isSharedCheck_4175_ == 0) +lean_object* v_a_4169_; lean_object* v___x_4171_; uint8_t v_isShared_4172_; uint8_t v_isSharedCheck_4176_; +v_a_4169_ = lean_ctor_get(v___x_4160_, 0); +v_isSharedCheck_4176_ = !lean_is_exclusive(v___x_4160_); +if (v_isSharedCheck_4176_ == 0) { -v___x_4170_ = v___x_4159_; -v_isShared_4171_ = v_isSharedCheck_4175_; -goto v_resetjp_4169_; +v___x_4171_ = v___x_4160_; +v_isShared_4172_ = v_isSharedCheck_4176_; +goto v_resetjp_4170_; } else { -lean_inc(v_a_4168_); -lean_dec(v___x_4159_); -v___x_4170_ = lean_box(0); -v_isShared_4171_ = v_isSharedCheck_4175_; -goto v_resetjp_4169_; +lean_inc(v_a_4169_); +lean_dec(v___x_4160_); +v___x_4171_ = lean_box(0); +v_isShared_4172_ = v_isSharedCheck_4176_; +goto v_resetjp_4170_; } -v_resetjp_4169_: +v_resetjp_4170_: { -lean_object* v___x_4173_; -if (v_isShared_4171_ == 0) +lean_object* v___x_4174_; +if (v_isShared_4172_ == 0) { -v___x_4173_ = v___x_4170_; -goto v_reusejp_4172_; +v___x_4174_ = v___x_4171_; +goto v_reusejp_4173_; } else { -lean_object* v_reuseFailAlloc_4174_; -v_reuseFailAlloc_4174_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4174_, 0, v_a_4168_); -v___x_4173_ = v_reuseFailAlloc_4174_; -goto v_reusejp_4172_; +lean_object* v_reuseFailAlloc_4175_; +v_reuseFailAlloc_4175_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4175_, 0, v_a_4169_); +v___x_4174_ = v_reuseFailAlloc_4175_; +goto v_reusejp_4173_; } -v_reusejp_4172_: +v_reusejp_4173_: { -return v___x_4173_; +return v___x_4174_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg___boxed(lean_object* v_type_4176_, lean_object* v_k_4177_, lean_object* v_cleanupAnnotations_4178_, lean_object* v___y_4179_, lean_object* v___y_4180_, lean_object* v___y_4181_, lean_object* v___y_4182_, lean_object* v___y_4183_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg___boxed(lean_object* v_type_4177_, lean_object* v_k_4178_, lean_object* v_cleanupAnnotations_4179_, lean_object* v___y_4180_, lean_object* v___y_4181_, lean_object* v___y_4182_, lean_object* v___y_4183_, lean_object* v___y_4184_){ _start: { -uint8_t v_cleanupAnnotations_boxed_4184_; lean_object* v_res_4185_; -v_cleanupAnnotations_boxed_4184_ = lean_unbox(v_cleanupAnnotations_4178_); -v_res_4185_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_type_4176_, v_k_4177_, v_cleanupAnnotations_boxed_4184_, v___y_4179_, v___y_4180_, v___y_4181_, v___y_4182_); -return v_res_4185_; +uint8_t v_cleanupAnnotations_boxed_4185_; lean_object* v_res_4186_; +v_cleanupAnnotations_boxed_4185_ = lean_unbox(v_cleanupAnnotations_4179_); +v_res_4186_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_type_4177_, v_k_4178_, v_cleanupAnnotations_boxed_4185_, v___y_4180_, v___y_4181_, v___y_4182_, v___y_4183_); +return v_res_4186_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0(lean_object* v_00_u03b1_4186_, lean_object* v_type_4187_, lean_object* v_k_4188_, uint8_t v_cleanupAnnotations_4189_, lean_object* v___y_4190_, lean_object* v___y_4191_, lean_object* v___y_4192_, lean_object* v___y_4193_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0(lean_object* v_00_u03b1_4187_, lean_object* v_type_4188_, lean_object* v_k_4189_, uint8_t v_cleanupAnnotations_4190_, lean_object* v___y_4191_, lean_object* v___y_4192_, lean_object* v___y_4193_, lean_object* v___y_4194_){ _start: { -lean_object* v___x_4195_; -v___x_4195_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_type_4187_, v_k_4188_, v_cleanupAnnotations_4189_, v___y_4190_, v___y_4191_, v___y_4192_, v___y_4193_); -return v___x_4195_; +lean_object* v___x_4196_; +v___x_4196_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_type_4188_, v_k_4189_, v_cleanupAnnotations_4190_, v___y_4191_, v___y_4192_, v___y_4193_, v___y_4194_); +return v___x_4196_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___boxed(lean_object* v_00_u03b1_4196_, lean_object* v_type_4197_, lean_object* v_k_4198_, lean_object* v_cleanupAnnotations_4199_, lean_object* v___y_4200_, lean_object* v___y_4201_, lean_object* v___y_4202_, lean_object* v___y_4203_, lean_object* v___y_4204_){ +LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___boxed(lean_object* v_00_u03b1_4197_, lean_object* v_type_4198_, lean_object* v_k_4199_, lean_object* v_cleanupAnnotations_4200_, lean_object* v___y_4201_, lean_object* v___y_4202_, lean_object* v___y_4203_, lean_object* v___y_4204_, lean_object* v___y_4205_){ _start: { -uint8_t v_cleanupAnnotations_boxed_4205_; lean_object* v_res_4206_; -v_cleanupAnnotations_boxed_4205_ = lean_unbox(v_cleanupAnnotations_4199_); -v_res_4206_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0(v_00_u03b1_4196_, v_type_4197_, v_k_4198_, v_cleanupAnnotations_boxed_4205_, v___y_4200_, v___y_4201_, v___y_4202_, v___y_4203_); -return v_res_4206_; +uint8_t v_cleanupAnnotations_boxed_4206_; lean_object* v_res_4207_; +v_cleanupAnnotations_boxed_4206_ = lean_unbox(v_cleanupAnnotations_4200_); +v_res_4207_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0(v_00_u03b1_4197_, v_type_4198_, v_k_4199_, v_cleanupAnnotations_boxed_4206_, v___y_4201_, v___y_4202_, v___y_4203_, v___y_4204_); +return v_res_4207_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(lean_object* v_msg_4207_, lean_object* v___y_4208_, lean_object* v___y_4209_, lean_object* v___y_4210_, lean_object* v___y_4211_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(lean_object* v_msg_4208_, lean_object* v___y_4209_, lean_object* v___y_4210_, lean_object* v___y_4211_, lean_object* v___y_4212_){ _start: { -lean_object* v___f_4213_; lean_object* v___x_19501__overap_4214_; lean_object* v___x_4215_; -v___f_4213_ = ((lean_object*)(l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__3___closed__0)); -v___x_19501__overap_4214_ = lean_panic_fn(v___f_4213_, v_msg_4207_); -v___x_4215_ = lean_apply_5(v___x_19501__overap_4214_, v___y_4208_, v___y_4209_, v___y_4210_, v___y_4211_, lean_box(0)); -return v___x_4215_; +lean_object* v___f_4214_; lean_object* v___x_19501__overap_4215_; lean_object* v___x_4216_; +v___f_4214_ = ((lean_object*)(l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__3___closed__0)); +v___x_19501__overap_4215_ = lean_panic_fn(v___f_4214_, v_msg_4208_); +v___x_4216_ = lean_apply_5(v___x_19501__overap_4215_, v___y_4209_, v___y_4210_, v___y_4211_, v___y_4212_, lean_box(0)); +return v___x_4216_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1___boxed(lean_object* v_msg_4216_, lean_object* v___y_4217_, lean_object* v___y_4218_, lean_object* v___y_4219_, lean_object* v___y_4220_, lean_object* v___y_4221_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1___boxed(lean_object* v_msg_4217_, lean_object* v___y_4218_, lean_object* v___y_4219_, lean_object* v___y_4220_, lean_object* v___y_4221_, lean_object* v___y_4222_){ _start: { -lean_object* v_res_4222_; -v_res_4222_ = l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(v_msg_4216_, v___y_4217_, v___y_4218_, v___y_4219_, v___y_4220_); -return v_res_4222_; +lean_object* v_res_4223_; +v_res_4223_ = l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(v_msg_4217_, v___y_4218_, v___y_4219_, v___y_4220_, v___y_4221_); +return v_res_4223_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(lean_object* v_c_4223_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(lean_object* v_c_4224_){ _start: { -uint8_t v_foApprox_4224_; uint8_t v_ctxApprox_4225_; uint8_t v_quasiPatternApprox_4226_; uint8_t v_constApprox_4227_; uint8_t v_isDefEqStuckEx_4228_; uint8_t v_unificationHints_4229_; uint8_t v_proofIrrelevance_4230_; uint8_t v_assignSyntheticOpaque_4231_; uint8_t v_offsetCnstrs_4232_; uint8_t v_transparency_4233_; uint8_t v_univApprox_4234_; uint8_t v_iota_4235_; uint8_t v_beta_4236_; uint8_t v_proj_4237_; uint8_t v_zeta_4238_; uint8_t v_zetaDelta_4239_; uint8_t v_zetaUnused_4240_; uint8_t v_zetaHave_4241_; lean_object* v___x_4243_; uint8_t v_isShared_4244_; uint8_t v_isSharedCheck_4249_; -v_foApprox_4224_ = lean_ctor_get_uint8(v_c_4223_, 0); -v_ctxApprox_4225_ = lean_ctor_get_uint8(v_c_4223_, 1); -v_quasiPatternApprox_4226_ = lean_ctor_get_uint8(v_c_4223_, 2); -v_constApprox_4227_ = lean_ctor_get_uint8(v_c_4223_, 3); -v_isDefEqStuckEx_4228_ = lean_ctor_get_uint8(v_c_4223_, 4); -v_unificationHints_4229_ = lean_ctor_get_uint8(v_c_4223_, 5); -v_proofIrrelevance_4230_ = lean_ctor_get_uint8(v_c_4223_, 6); -v_assignSyntheticOpaque_4231_ = lean_ctor_get_uint8(v_c_4223_, 7); -v_offsetCnstrs_4232_ = lean_ctor_get_uint8(v_c_4223_, 8); -v_transparency_4233_ = lean_ctor_get_uint8(v_c_4223_, 9); -v_univApprox_4234_ = lean_ctor_get_uint8(v_c_4223_, 11); -v_iota_4235_ = lean_ctor_get_uint8(v_c_4223_, 12); -v_beta_4236_ = lean_ctor_get_uint8(v_c_4223_, 13); -v_proj_4237_ = lean_ctor_get_uint8(v_c_4223_, 14); -v_zeta_4238_ = lean_ctor_get_uint8(v_c_4223_, 15); -v_zetaDelta_4239_ = lean_ctor_get_uint8(v_c_4223_, 16); -v_zetaUnused_4240_ = lean_ctor_get_uint8(v_c_4223_, 17); -v_zetaHave_4241_ = lean_ctor_get_uint8(v_c_4223_, 18); -v_isSharedCheck_4249_ = !lean_is_exclusive(v_c_4223_); -if (v_isSharedCheck_4249_ == 0) +uint8_t v_foApprox_4225_; uint8_t v_ctxApprox_4226_; uint8_t v_quasiPatternApprox_4227_; uint8_t v_constApprox_4228_; uint8_t v_isDefEqStuckEx_4229_; uint8_t v_unificationHints_4230_; uint8_t v_proofIrrelevance_4231_; uint8_t v_assignSyntheticOpaque_4232_; uint8_t v_offsetCnstrs_4233_; uint8_t v_transparency_4234_; uint8_t v_univApprox_4235_; uint8_t v_iota_4236_; uint8_t v_beta_4237_; uint8_t v_proj_4238_; uint8_t v_zeta_4239_; uint8_t v_zetaDelta_4240_; uint8_t v_zetaUnused_4241_; uint8_t v_zetaHave_4242_; lean_object* v___x_4244_; uint8_t v_isShared_4245_; uint8_t v_isSharedCheck_4250_; +v_foApprox_4225_ = lean_ctor_get_uint8(v_c_4224_, 0); +v_ctxApprox_4226_ = lean_ctor_get_uint8(v_c_4224_, 1); +v_quasiPatternApprox_4227_ = lean_ctor_get_uint8(v_c_4224_, 2); +v_constApprox_4228_ = lean_ctor_get_uint8(v_c_4224_, 3); +v_isDefEqStuckEx_4229_ = lean_ctor_get_uint8(v_c_4224_, 4); +v_unificationHints_4230_ = lean_ctor_get_uint8(v_c_4224_, 5); +v_proofIrrelevance_4231_ = lean_ctor_get_uint8(v_c_4224_, 6); +v_assignSyntheticOpaque_4232_ = lean_ctor_get_uint8(v_c_4224_, 7); +v_offsetCnstrs_4233_ = lean_ctor_get_uint8(v_c_4224_, 8); +v_transparency_4234_ = lean_ctor_get_uint8(v_c_4224_, 9); +v_univApprox_4235_ = lean_ctor_get_uint8(v_c_4224_, 11); +v_iota_4236_ = lean_ctor_get_uint8(v_c_4224_, 12); +v_beta_4237_ = lean_ctor_get_uint8(v_c_4224_, 13); +v_proj_4238_ = lean_ctor_get_uint8(v_c_4224_, 14); +v_zeta_4239_ = lean_ctor_get_uint8(v_c_4224_, 15); +v_zetaDelta_4240_ = lean_ctor_get_uint8(v_c_4224_, 16); +v_zetaUnused_4241_ = lean_ctor_get_uint8(v_c_4224_, 17); +v_zetaHave_4242_ = lean_ctor_get_uint8(v_c_4224_, 18); +v_isSharedCheck_4250_ = !lean_is_exclusive(v_c_4224_); +if (v_isSharedCheck_4250_ == 0) { -v___x_4243_ = v_c_4223_; -v_isShared_4244_ = v_isSharedCheck_4249_; -goto v_resetjp_4242_; +v___x_4244_ = v_c_4224_; +v_isShared_4245_ = v_isSharedCheck_4250_; +goto v_resetjp_4243_; } else { -lean_dec(v_c_4223_); -v___x_4243_ = lean_box(0); -v_isShared_4244_ = v_isSharedCheck_4249_; -goto v_resetjp_4242_; +lean_dec(v_c_4224_); +v___x_4244_ = lean_box(0); +v_isShared_4245_ = v_isSharedCheck_4250_; +goto v_resetjp_4243_; } -v_resetjp_4242_: +v_resetjp_4243_: { -uint8_t v___x_4245_; lean_object* v___x_4247_; -v___x_4245_ = 2; -if (v_isShared_4244_ == 0) +uint8_t v___x_4246_; lean_object* v___x_4248_; +v___x_4246_ = 2; +if (v_isShared_4245_ == 0) { -v___x_4247_ = v___x_4243_; -goto v_reusejp_4246_; +v___x_4248_ = v___x_4244_; +goto v_reusejp_4247_; } else { -lean_object* v_reuseFailAlloc_4248_; -v_reuseFailAlloc_4248_ = lean_alloc_ctor(0, 0, 19); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 0, v_foApprox_4224_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 1, v_ctxApprox_4225_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 2, v_quasiPatternApprox_4226_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 3, v_constApprox_4227_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 4, v_isDefEqStuckEx_4228_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 5, v_unificationHints_4229_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 6, v_proofIrrelevance_4230_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 7, v_assignSyntheticOpaque_4231_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 8, v_offsetCnstrs_4232_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 9, v_transparency_4233_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 11, v_univApprox_4234_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 12, v_iota_4235_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 13, v_beta_4236_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 14, v_proj_4237_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 15, v_zeta_4238_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 16, v_zetaDelta_4239_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 17, v_zetaUnused_4240_); -lean_ctor_set_uint8(v_reuseFailAlloc_4248_, 18, v_zetaHave_4241_); -v___x_4247_ = v_reuseFailAlloc_4248_; -goto v_reusejp_4246_; +lean_object* v_reuseFailAlloc_4249_; +v_reuseFailAlloc_4249_ = lean_alloc_ctor(0, 0, 19); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 0, v_foApprox_4225_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 1, v_ctxApprox_4226_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 2, v_quasiPatternApprox_4227_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 3, v_constApprox_4228_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 4, v_isDefEqStuckEx_4229_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 5, v_unificationHints_4230_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 6, v_proofIrrelevance_4231_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 7, v_assignSyntheticOpaque_4232_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 8, v_offsetCnstrs_4233_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 9, v_transparency_4234_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 11, v_univApprox_4235_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 12, v_iota_4236_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 13, v_beta_4237_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 14, v_proj_4238_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 15, v_zeta_4239_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 16, v_zetaDelta_4240_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 17, v_zetaUnused_4241_); +lean_ctor_set_uint8(v_reuseFailAlloc_4249_, 18, v_zetaHave_4242_); +v___x_4248_ = v_reuseFailAlloc_4249_; +goto v_reusejp_4247_; } -v_reusejp_4246_: +v_reusejp_4247_: { -lean_ctor_set_uint8(v___x_4247_, 10, v___x_4245_); -return v___x_4247_; +lean_ctor_set_uint8(v___x_4248_, 10, v___x_4246_); +return v___x_4248_; } } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0(lean_object* v_x_4250_, lean_object* v_t_4251_, lean_object* v___y_4252_, lean_object* v___y_4253_, lean_object* v___y_4254_, lean_object* v___y_4255_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0(lean_object* v_x_4251_, lean_object* v_t_4252_, lean_object* v___y_4253_, lean_object* v___y_4254_, lean_object* v___y_4255_, lean_object* v___y_4256_){ _start: { -lean_object* v_dummy_4257_; lean_object* v_nargs_4258_; lean_object* v___x_4259_; lean_object* v___x_4260_; lean_object* v___x_4261_; lean_object* v___x_4262_; lean_object* v___x_4263_; -v_dummy_4257_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0); -v_nargs_4258_ = l_Lean_Expr_getAppNumArgs(v_t_4251_); -lean_inc(v_nargs_4258_); -v___x_4259_ = lean_mk_array(v_nargs_4258_, v_dummy_4257_); -v___x_4260_ = lean_unsigned_to_nat(1u); -v___x_4261_ = lean_nat_sub(v_nargs_4258_, v___x_4260_); -lean_dec(v_nargs_4258_); -v___x_4262_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_t_4251_, v___x_4259_, v___x_4261_); -v___x_4263_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4263_, 0, v___x_4262_); -return v___x_4263_; +lean_object* v_dummy_4258_; lean_object* v_nargs_4259_; lean_object* v___x_4260_; lean_object* v___x_4261_; lean_object* v___x_4262_; lean_object* v___x_4263_; lean_object* v___x_4264_; +v_dummy_4258_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__0); +v_nargs_4259_ = l_Lean_Expr_getAppNumArgs(v_t_4252_); +lean_inc(v_nargs_4259_); +v___x_4260_ = lean_mk_array(v_nargs_4259_, v_dummy_4258_); +v___x_4261_ = lean_unsigned_to_nat(1u); +v___x_4262_ = lean_nat_sub(v_nargs_4259_, v___x_4261_); +lean_dec(v_nargs_4259_); +v___x_4263_ = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(v_t_4252_, v___x_4260_, v___x_4262_); +v___x_4264_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4264_, 0, v___x_4263_); +return v___x_4264_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0___boxed(lean_object* v_x_4264_, lean_object* v_t_4265_, lean_object* v___y_4266_, lean_object* v___y_4267_, lean_object* v___y_4268_, lean_object* v___y_4269_, lean_object* v___y_4270_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0___boxed(lean_object* v_x_4265_, lean_object* v_t_4266_, lean_object* v___y_4267_, lean_object* v___y_4268_, lean_object* v___y_4269_, lean_object* v___y_4270_, lean_object* v___y_4271_){ _start: { -lean_object* v_res_4271_; -v_res_4271_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0(v_x_4264_, v_t_4265_, v___y_4266_, v___y_4267_, v___y_4268_, v___y_4269_); -lean_dec(v___y_4269_); -lean_dec_ref(v___y_4268_); -lean_dec(v___y_4267_); -lean_dec_ref(v___y_4266_); -lean_dec_ref(v_x_4264_); -return v_res_4271_; +lean_object* v_res_4272_; +v_res_4272_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__0(v_x_4265_, v_t_4266_, v___y_4267_, v___y_4268_, v___y_4269_, v___y_4270_); +lean_dec(v___y_4270_); +lean_dec_ref(v___y_4269_); +lean_dec(v___y_4268_); +lean_dec_ref(v___y_4267_); +lean_dec_ref(v_x_4265_); +return v_res_4272_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(lean_object* v_a_4275_, lean_object* v_b_4276_, lean_object* v___y_4277_, lean_object* v___y_4278_, lean_object* v___y_4279_, lean_object* v___y_4280_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(lean_object* v_a_4276_, lean_object* v_b_4277_, lean_object* v___y_4278_, lean_object* v___y_4279_, lean_object* v___y_4280_, lean_object* v___y_4281_){ _start: { -lean_object* v_array_4282_; lean_object* v_start_4283_; lean_object* v_stop_4284_; lean_object* v___x_4286_; uint8_t v_isShared_4287_; uint8_t v_isSharedCheck_4342_; -v_array_4282_ = lean_ctor_get(v_a_4275_, 0); -v_start_4283_ = lean_ctor_get(v_a_4275_, 1); -v_stop_4284_ = lean_ctor_get(v_a_4275_, 2); -v_isSharedCheck_4342_ = !lean_is_exclusive(v_a_4275_); +lean_object* v_array_4283_; lean_object* v_start_4284_; lean_object* v_stop_4285_; lean_object* v___x_4287_; uint8_t v_isShared_4288_; uint8_t v_isSharedCheck_4343_; +v_array_4283_ = lean_ctor_get(v_a_4276_, 0); +v_start_4284_ = lean_ctor_get(v_a_4276_, 1); +v_stop_4285_ = lean_ctor_get(v_a_4276_, 2); +v_isSharedCheck_4343_ = !lean_is_exclusive(v_a_4276_); +if (v_isSharedCheck_4343_ == 0) +{ +v___x_4287_ = v_a_4276_; +v_isShared_4288_ = v_isSharedCheck_4343_; +goto v_resetjp_4286_; +} +else +{ +lean_inc(v_stop_4285_); +lean_inc(v_start_4284_); +lean_inc(v_array_4283_); +lean_dec(v_a_4276_); +v___x_4287_ = lean_box(0); +v_isShared_4288_ = v_isSharedCheck_4343_; +goto v_resetjp_4286_; +} +v_resetjp_4286_: +{ +uint8_t v___x_4289_; +v___x_4289_ = lean_nat_dec_lt(v_start_4284_, v_stop_4285_); +if (v___x_4289_ == 0) +{ +lean_object* v___x_4290_; +lean_del_object(v___x_4287_); +lean_dec(v_stop_4285_); +lean_dec(v_start_4284_); +lean_dec_ref(v_array_4283_); +lean_dec(v___y_4281_); +lean_dec_ref(v___y_4280_); +lean_dec(v___y_4279_); +lean_dec_ref(v___y_4278_); +v___x_4290_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4290_, 0, v_b_4277_); +return v___x_4290_; +} +else +{ +lean_object* v_snd_4291_; lean_object* v_fst_4292_; lean_object* v___x_4294_; uint8_t v_isShared_4295_; uint8_t v_isSharedCheck_4342_; +v_snd_4291_ = lean_ctor_get(v_b_4277_, 1); +v_fst_4292_ = lean_ctor_get(v_b_4277_, 0); +v_isSharedCheck_4342_ = !lean_is_exclusive(v_b_4277_); if (v_isSharedCheck_4342_ == 0) { -v___x_4286_ = v_a_4275_; -v_isShared_4287_ = v_isSharedCheck_4342_; -goto v_resetjp_4285_; +v___x_4294_ = v_b_4277_; +v_isShared_4295_ = v_isSharedCheck_4342_; +goto v_resetjp_4293_; } else { -lean_inc(v_stop_4284_); -lean_inc(v_start_4283_); -lean_inc(v_array_4282_); -lean_dec(v_a_4275_); -v___x_4286_ = lean_box(0); -v_isShared_4287_ = v_isSharedCheck_4342_; -goto v_resetjp_4285_; +lean_inc(v_snd_4291_); +lean_inc(v_fst_4292_); +lean_dec(v_b_4277_); +v___x_4294_ = lean_box(0); +v_isShared_4295_ = v_isSharedCheck_4342_; +goto v_resetjp_4293_; } -v_resetjp_4285_: +v_resetjp_4293_: { -uint8_t v___x_4288_; -v___x_4288_ = lean_nat_dec_lt(v_start_4283_, v_stop_4284_); -if (v___x_4288_ == 0) -{ -lean_object* v___x_4289_; -lean_del_object(v___x_4286_); -lean_dec(v_stop_4284_); -lean_dec(v_start_4283_); -lean_dec_ref(v_array_4282_); -lean_dec(v___y_4280_); -lean_dec_ref(v___y_4279_); -lean_dec(v___y_4278_); -lean_dec_ref(v___y_4277_); -v___x_4289_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4289_, 0, v_b_4276_); -return v___x_4289_; -} -else -{ -lean_object* v_snd_4290_; lean_object* v_fst_4291_; lean_object* v___x_4293_; uint8_t v_isShared_4294_; uint8_t v_isSharedCheck_4341_; -v_snd_4290_ = lean_ctor_get(v_b_4276_, 1); -v_fst_4291_ = lean_ctor_get(v_b_4276_, 0); -v_isSharedCheck_4341_ = !lean_is_exclusive(v_b_4276_); -if (v_isSharedCheck_4341_ == 0) -{ -v___x_4293_ = v_b_4276_; -v_isShared_4294_ = v_isSharedCheck_4341_; -goto v_resetjp_4292_; -} -else -{ -lean_inc(v_snd_4290_); -lean_inc(v_fst_4291_); -lean_dec(v_b_4276_); -v___x_4293_ = lean_box(0); -v_isShared_4294_ = v_isSharedCheck_4341_; -goto v_resetjp_4292_; -} -v_resetjp_4292_: -{ -lean_object* v_array_4295_; lean_object* v_start_4296_; lean_object* v_stop_4297_; uint8_t v___x_4298_; -v_array_4295_ = lean_ctor_get(v_snd_4290_, 0); -v_start_4296_ = lean_ctor_get(v_snd_4290_, 1); -v_stop_4297_ = lean_ctor_get(v_snd_4290_, 2); -v___x_4298_ = lean_nat_dec_lt(v_start_4296_, v_stop_4297_); -if (v___x_4298_ == 0) -{ -lean_object* v___x_4300_; -lean_del_object(v___x_4286_); -lean_dec(v_stop_4284_); -lean_dec(v_start_4283_); -lean_dec_ref(v_array_4282_); -lean_dec(v___y_4280_); -lean_dec_ref(v___y_4279_); -lean_dec(v___y_4278_); -lean_dec_ref(v___y_4277_); -if (v_isShared_4294_ == 0) -{ -v___x_4300_ = v___x_4293_; -goto v_reusejp_4299_; -} -else -{ -lean_object* v_reuseFailAlloc_4302_; -v_reuseFailAlloc_4302_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4302_, 0, v_fst_4291_); -lean_ctor_set(v_reuseFailAlloc_4302_, 1, v_snd_4290_); -v___x_4300_ = v_reuseFailAlloc_4302_; -goto v_reusejp_4299_; -} -v_reusejp_4299_: +lean_object* v_array_4296_; lean_object* v_start_4297_; lean_object* v_stop_4298_; uint8_t v___x_4299_; +v_array_4296_ = lean_ctor_get(v_snd_4291_, 0); +v_start_4297_ = lean_ctor_get(v_snd_4291_, 1); +v_stop_4298_ = lean_ctor_get(v_snd_4291_, 2); +v___x_4299_ = lean_nat_dec_lt(v_start_4297_, v_stop_4298_); +if (v___x_4299_ == 0) { lean_object* v___x_4301_; -v___x_4301_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4301_, 0, v___x_4300_); -return v___x_4301_; +lean_del_object(v___x_4287_); +lean_dec(v_stop_4285_); +lean_dec(v_start_4284_); +lean_dec_ref(v_array_4283_); +lean_dec(v___y_4281_); +lean_dec_ref(v___y_4280_); +lean_dec(v___y_4279_); +lean_dec_ref(v___y_4278_); +if (v_isShared_4295_ == 0) +{ +v___x_4301_ = v___x_4294_; +goto v_reusejp_4300_; +} +else +{ +lean_object* v_reuseFailAlloc_4303_; +v_reuseFailAlloc_4303_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4303_, 0, v_fst_4292_); +lean_ctor_set(v_reuseFailAlloc_4303_, 1, v_snd_4291_); +v___x_4301_ = v_reuseFailAlloc_4303_; +goto v_reusejp_4300_; +} +v_reusejp_4300_: +{ +lean_object* v___x_4302_; +v___x_4302_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4302_, 0, v___x_4301_); +return v___x_4302_; } } else { -lean_object* v___x_4304_; uint8_t v_isShared_4305_; uint8_t v_isSharedCheck_4337_; -lean_inc(v_stop_4297_); -lean_inc(v_start_4296_); -lean_inc_ref(v_array_4295_); -v_isSharedCheck_4337_ = !lean_is_exclusive(v_snd_4290_); -if (v_isSharedCheck_4337_ == 0) +lean_object* v___x_4305_; uint8_t v_isShared_4306_; uint8_t v_isSharedCheck_4338_; +lean_inc(v_stop_4298_); +lean_inc(v_start_4297_); +lean_inc_ref(v_array_4296_); +v_isSharedCheck_4338_ = !lean_is_exclusive(v_snd_4291_); +if (v_isSharedCheck_4338_ == 0) { -lean_object* v_unused_4338_; lean_object* v_unused_4339_; lean_object* v_unused_4340_; -v_unused_4338_ = lean_ctor_get(v_snd_4290_, 2); -lean_dec(v_unused_4338_); -v_unused_4339_ = lean_ctor_get(v_snd_4290_, 1); +lean_object* v_unused_4339_; lean_object* v_unused_4340_; lean_object* v_unused_4341_; +v_unused_4339_ = lean_ctor_get(v_snd_4291_, 2); lean_dec(v_unused_4339_); -v_unused_4340_ = lean_ctor_get(v_snd_4290_, 0); +v_unused_4340_ = lean_ctor_get(v_snd_4291_, 1); lean_dec(v_unused_4340_); -v___x_4304_ = v_snd_4290_; -v_isShared_4305_ = v_isSharedCheck_4337_; -goto v_resetjp_4303_; +v_unused_4341_ = lean_ctor_get(v_snd_4291_, 0); +lean_dec(v_unused_4341_); +v___x_4305_ = v_snd_4291_; +v_isShared_4306_ = v_isSharedCheck_4338_; +goto v_resetjp_4304_; } else { -lean_dec(v_snd_4290_); -v___x_4304_ = lean_box(0); -v_isShared_4305_ = v_isSharedCheck_4337_; -goto v_resetjp_4303_; +lean_dec(v_snd_4291_); +v___x_4305_ = lean_box(0); +v_isShared_4306_ = v_isSharedCheck_4338_; +goto v_resetjp_4304_; } -v_resetjp_4303_: +v_resetjp_4304_: { -lean_object* v___x_4306_; lean_object* v___x_4307_; lean_object* v___x_4308_; -v___x_4306_ = lean_array_fget_borrowed(v_array_4282_, v_start_4283_); -v___x_4307_ = lean_array_fget_borrowed(v_array_4295_, v_start_4296_); -lean_inc(v___y_4280_); -lean_inc_ref(v___y_4279_); -lean_inc(v___y_4278_); -lean_inc_ref(v___y_4277_); +lean_object* v___x_4307_; lean_object* v___x_4308_; lean_object* v___x_4309_; +v___x_4307_ = lean_array_fget_borrowed(v_array_4283_, v_start_4284_); +v___x_4308_ = lean_array_fget_borrowed(v_array_4296_, v_start_4297_); +lean_inc(v___y_4281_); +lean_inc_ref(v___y_4280_); +lean_inc(v___y_4279_); +lean_inc_ref(v___y_4278_); +lean_inc(v___x_4308_); lean_inc(v___x_4307_); -lean_inc(v___x_4306_); -v___x_4308_ = l_Lean_Meta_mkEqHEq(v___x_4306_, v___x_4307_, v___y_4277_, v___y_4278_, v___y_4279_, v___y_4280_); -if (lean_obj_tag(v___x_4308_) == 0) +v___x_4309_ = l_Lean_Meta_mkEqHEq(v___x_4307_, v___x_4308_, v___y_4278_, v___y_4279_, v___y_4280_, v___y_4281_); +if (lean_obj_tag(v___x_4309_) == 0) { -lean_object* v_a_4309_; lean_object* v___x_4310_; lean_object* v___x_4311_; lean_object* v___x_4313_; -v_a_4309_ = lean_ctor_get(v___x_4308_, 0); -lean_inc(v_a_4309_); -lean_dec_ref(v___x_4308_); -v___x_4310_ = lean_unsigned_to_nat(1u); -v___x_4311_ = lean_nat_add(v_start_4283_, v___x_4310_); -lean_dec(v_start_4283_); -if (v_isShared_4305_ == 0) +lean_object* v_a_4310_; lean_object* v___x_4311_; lean_object* v___x_4312_; lean_object* v___x_4314_; +v_a_4310_ = lean_ctor_get(v___x_4309_, 0); +lean_inc(v_a_4310_); +lean_dec_ref(v___x_4309_); +v___x_4311_ = lean_unsigned_to_nat(1u); +v___x_4312_ = lean_nat_add(v_start_4284_, v___x_4311_); +lean_dec(v_start_4284_); +if (v_isShared_4306_ == 0) { -lean_ctor_set(v___x_4304_, 2, v_stop_4284_); -lean_ctor_set(v___x_4304_, 1, v___x_4311_); -lean_ctor_set(v___x_4304_, 0, v_array_4282_); -v___x_4313_ = v___x_4304_; -goto v_reusejp_4312_; +lean_ctor_set(v___x_4305_, 2, v_stop_4285_); +lean_ctor_set(v___x_4305_, 1, v___x_4312_); +lean_ctor_set(v___x_4305_, 0, v_array_4283_); +v___x_4314_ = v___x_4305_; +goto v_reusejp_4313_; +} +else +{ +lean_object* v_reuseFailAlloc_4329_; +v_reuseFailAlloc_4329_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4329_, 0, v_array_4283_); +lean_ctor_set(v_reuseFailAlloc_4329_, 1, v___x_4312_); +lean_ctor_set(v_reuseFailAlloc_4329_, 2, v_stop_4285_); +v___x_4314_ = v_reuseFailAlloc_4329_; +goto v_reusejp_4313_; +} +v_reusejp_4313_: +{ +lean_object* v___x_4315_; lean_object* v___x_4317_; +v___x_4315_ = lean_nat_add(v_start_4297_, v___x_4311_); +lean_dec(v_start_4297_); +if (v_isShared_4288_ == 0) +{ +lean_ctor_set(v___x_4287_, 2, v_stop_4298_); +lean_ctor_set(v___x_4287_, 1, v___x_4315_); +lean_ctor_set(v___x_4287_, 0, v_array_4296_); +v___x_4317_ = v___x_4287_; +goto v_reusejp_4316_; } else { lean_object* v_reuseFailAlloc_4328_; v_reuseFailAlloc_4328_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4328_, 0, v_array_4282_); -lean_ctor_set(v_reuseFailAlloc_4328_, 1, v___x_4311_); -lean_ctor_set(v_reuseFailAlloc_4328_, 2, v_stop_4284_); -v___x_4313_ = v_reuseFailAlloc_4328_; -goto v_reusejp_4312_; +lean_ctor_set(v_reuseFailAlloc_4328_, 0, v_array_4296_); +lean_ctor_set(v_reuseFailAlloc_4328_, 1, v___x_4315_); +lean_ctor_set(v_reuseFailAlloc_4328_, 2, v_stop_4298_); +v___x_4317_ = v_reuseFailAlloc_4328_; +goto v_reusejp_4316_; } -v_reusejp_4312_: +v_reusejp_4316_: { -lean_object* v___x_4314_; lean_object* v___x_4316_; -v___x_4314_ = lean_nat_add(v_start_4296_, v___x_4310_); -lean_dec(v_start_4296_); -if (v_isShared_4287_ == 0) +lean_object* v___x_4318_; lean_object* v___x_4319_; lean_object* v___x_4320_; lean_object* v___x_4321_; lean_object* v___x_4323_; +v___x_4318_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg___closed__1)); +v___x_4319_ = lean_array_get_size(v_fst_4292_); +v___x_4320_ = lean_nat_add(v___x_4319_, v___x_4311_); +v___x_4321_ = lean_name_append_index_after(v___x_4318_, v___x_4320_); +if (v_isShared_4295_ == 0) { -lean_ctor_set(v___x_4286_, 2, v_stop_4297_); -lean_ctor_set(v___x_4286_, 1, v___x_4314_); -lean_ctor_set(v___x_4286_, 0, v_array_4295_); -v___x_4316_ = v___x_4286_; -goto v_reusejp_4315_; +lean_ctor_set(v___x_4294_, 1, v_a_4310_); +lean_ctor_set(v___x_4294_, 0, v___x_4321_); +v___x_4323_ = v___x_4294_; +goto v_reusejp_4322_; } else { lean_object* v_reuseFailAlloc_4327_; -v_reuseFailAlloc_4327_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4327_, 0, v_array_4295_); -lean_ctor_set(v_reuseFailAlloc_4327_, 1, v___x_4314_); -lean_ctor_set(v_reuseFailAlloc_4327_, 2, v_stop_4297_); -v___x_4316_ = v_reuseFailAlloc_4327_; -goto v_reusejp_4315_; +v_reuseFailAlloc_4327_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4327_, 0, v___x_4321_); +lean_ctor_set(v_reuseFailAlloc_4327_, 1, v_a_4310_); +v___x_4323_ = v_reuseFailAlloc_4327_; +goto v_reusejp_4322_; } -v_reusejp_4315_: +v_reusejp_4322_: { -lean_object* v___x_4317_; lean_object* v___x_4318_; lean_object* v___x_4319_; lean_object* v___x_4320_; lean_object* v___x_4322_; -v___x_4317_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg___closed__1)); -v___x_4318_ = lean_array_get_size(v_fst_4291_); -v___x_4319_ = lean_nat_add(v___x_4318_, v___x_4310_); -v___x_4320_ = lean_name_append_index_after(v___x_4317_, v___x_4319_); -if (v_isShared_4294_ == 0) -{ -lean_ctor_set(v___x_4293_, 1, v_a_4309_); -lean_ctor_set(v___x_4293_, 0, v___x_4320_); -v___x_4322_ = v___x_4293_; -goto v_reusejp_4321_; -} -else -{ -lean_object* v_reuseFailAlloc_4326_; -v_reuseFailAlloc_4326_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4326_, 0, v___x_4320_); -lean_ctor_set(v_reuseFailAlloc_4326_, 1, v_a_4309_); -v___x_4322_ = v_reuseFailAlloc_4326_; -goto v_reusejp_4321_; -} -v_reusejp_4321_: -{ -lean_object* v___x_4323_; lean_object* v___x_4324_; -v___x_4323_ = lean_array_push(v_fst_4291_, v___x_4322_); -v___x_4324_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4324_, 0, v___x_4323_); -lean_ctor_set(v___x_4324_, 1, v___x_4316_); -v_a_4275_ = v___x_4313_; -v_b_4276_ = v___x_4324_; +lean_object* v___x_4324_; lean_object* v___x_4325_; +v___x_4324_ = lean_array_push(v_fst_4292_, v___x_4323_); +v___x_4325_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4325_, 0, v___x_4324_); +lean_ctor_set(v___x_4325_, 1, v___x_4317_); +v_a_4276_ = v___x_4314_; +v_b_4277_ = v___x_4325_; goto _start; } } @@ -14715,56 +14734,56 @@ goto _start; } else { -lean_object* v_a_4329_; lean_object* v___x_4331_; uint8_t v_isShared_4332_; uint8_t v_isSharedCheck_4336_; -lean_del_object(v___x_4304_); -lean_dec(v_stop_4297_); -lean_dec(v_start_4296_); -lean_dec_ref(v_array_4295_); -lean_del_object(v___x_4293_); -lean_dec(v_fst_4291_); -lean_del_object(v___x_4286_); -lean_dec(v_stop_4284_); -lean_dec(v_start_4283_); -lean_dec_ref(v_array_4282_); -lean_dec(v___y_4280_); -lean_dec_ref(v___y_4279_); -lean_dec(v___y_4278_); -lean_dec_ref(v___y_4277_); -v_a_4329_ = lean_ctor_get(v___x_4308_, 0); -v_isSharedCheck_4336_ = !lean_is_exclusive(v___x_4308_); -if (v_isSharedCheck_4336_ == 0) +lean_object* v_a_4330_; lean_object* v___x_4332_; uint8_t v_isShared_4333_; uint8_t v_isSharedCheck_4337_; +lean_del_object(v___x_4305_); +lean_dec(v_stop_4298_); +lean_dec(v_start_4297_); +lean_dec_ref(v_array_4296_); +lean_del_object(v___x_4294_); +lean_dec(v_fst_4292_); +lean_del_object(v___x_4287_); +lean_dec(v_stop_4285_); +lean_dec(v_start_4284_); +lean_dec_ref(v_array_4283_); +lean_dec(v___y_4281_); +lean_dec_ref(v___y_4280_); +lean_dec(v___y_4279_); +lean_dec_ref(v___y_4278_); +v_a_4330_ = lean_ctor_get(v___x_4309_, 0); +v_isSharedCheck_4337_ = !lean_is_exclusive(v___x_4309_); +if (v_isSharedCheck_4337_ == 0) { -v___x_4331_ = v___x_4308_; -v_isShared_4332_ = v_isSharedCheck_4336_; -goto v_resetjp_4330_; +v___x_4332_ = v___x_4309_; +v_isShared_4333_ = v_isSharedCheck_4337_; +goto v_resetjp_4331_; } else { -lean_inc(v_a_4329_); -lean_dec(v___x_4308_); -v___x_4331_ = lean_box(0); -v_isShared_4332_ = v_isSharedCheck_4336_; -goto v_resetjp_4330_; +lean_inc(v_a_4330_); +lean_dec(v___x_4309_); +v___x_4332_ = lean_box(0); +v_isShared_4333_ = v_isSharedCheck_4337_; +goto v_resetjp_4331_; } -v_resetjp_4330_: +v_resetjp_4331_: { -lean_object* v___x_4334_; -if (v_isShared_4332_ == 0) +lean_object* v___x_4335_; +if (v_isShared_4333_ == 0) { -v___x_4334_ = v___x_4331_; -goto v_reusejp_4333_; +v___x_4335_ = v___x_4332_; +goto v_reusejp_4334_; } else { -lean_object* v_reuseFailAlloc_4335_; -v_reuseFailAlloc_4335_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4335_, 0, v_a_4329_); -v___x_4334_ = v_reuseFailAlloc_4335_; -goto v_reusejp_4333_; +lean_object* v_reuseFailAlloc_4336_; +v_reuseFailAlloc_4336_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4336_, 0, v_a_4330_); +v___x_4335_ = v_reuseFailAlloc_4336_; +goto v_reusejp_4334_; } -v_reusejp_4333_: +v_reusejp_4334_: { -return v___x_4334_; +return v___x_4335_; } } } @@ -14775,330 +14794,330 @@ return v___x_4334_; } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg___boxed(lean_object* v_a_4343_, lean_object* v_b_4344_, lean_object* v___y_4345_, lean_object* v___y_4346_, lean_object* v___y_4347_, lean_object* v___y_4348_, lean_object* v___y_4349_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg___boxed(lean_object* v_a_4344_, lean_object* v_b_4345_, lean_object* v___y_4346_, lean_object* v___y_4347_, lean_object* v___y_4348_, lean_object* v___y_4349_, lean_object* v___y_4350_){ _start: { -lean_object* v_res_4350_; -v_res_4350_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v_a_4343_, v_b_4344_, v___y_4345_, v___y_4346_, v___y_4347_, v___y_4348_); -return v_res_4350_; +lean_object* v_res_4351_; +v_res_4351_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v_a_4344_, v_b_4345_, v___y_4346_, v___y_4347_, v___y_4348_, v___y_4349_); +return v_res_4351_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(lean_object* v___x_4351_, lean_object* v_a_4352_, lean_object* v___x_4353_, lean_object* v_as_4354_, size_t v_sz_4355_, size_t v_i_4356_, lean_object* v_b_4357_, lean_object* v___y_4358_, lean_object* v___y_4359_, lean_object* v___y_4360_, lean_object* v___y_4361_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(lean_object* v___x_4352_, lean_object* v_a_4353_, lean_object* v___x_4354_, lean_object* v_as_4355_, size_t v_sz_4356_, size_t v_i_4357_, lean_object* v_b_4358_, lean_object* v___y_4359_, lean_object* v___y_4360_, lean_object* v___y_4361_, lean_object* v___y_4362_){ _start: { -uint8_t v___x_4363_; -v___x_4363_ = lean_usize_dec_lt(v_i_4356_, v_sz_4355_); -if (v___x_4363_ == 0) +uint8_t v___x_4364_; +v___x_4364_ = lean_usize_dec_lt(v_i_4357_, v_sz_4356_); +if (v___x_4364_ == 0) { -lean_object* v___x_4364_; -lean_dec(v___y_4361_); -lean_dec_ref(v___y_4360_); -lean_dec(v___y_4359_); -lean_dec_ref(v___y_4358_); -lean_dec(v___x_4353_); -v___x_4364_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4364_, 0, v_b_4357_); -return v___x_4364_; +lean_object* v___x_4365_; +lean_dec(v___y_4362_); +lean_dec_ref(v___y_4361_); +lean_dec(v___y_4360_); +lean_dec_ref(v___y_4359_); +lean_dec(v___x_4354_); +v___x_4365_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4365_, 0, v_b_4358_); +return v___x_4365_; } else { -lean_object* v___x_4365_; lean_object* v_a_4366_; lean_object* v___x_4367_; lean_object* v___x_4368_; -v___x_4365_ = l_Lean_instInhabitedExpr; -v_a_4366_ = lean_array_uget_borrowed(v_as_4354_, v_i_4356_); -v___x_4367_ = lean_array_get_borrowed(v___x_4365_, v___x_4351_, v_a_4366_); -lean_inc(v___y_4361_); -lean_inc_ref(v___y_4360_); -lean_inc(v___y_4359_); -lean_inc_ref(v___y_4358_); -lean_inc(v___x_4367_); -v___x_4368_ = l_Lean_Meta_instantiateForall(v___x_4367_, v_a_4352_, v___y_4358_, v___y_4359_, v___y_4360_, v___y_4361_); -if (lean_obj_tag(v___x_4368_) == 0) +lean_object* v___x_4366_; lean_object* v_a_4367_; lean_object* v___x_4368_; lean_object* v___x_4369_; +v___x_4366_ = l_Lean_instInhabitedExpr; +v_a_4367_ = lean_array_uget_borrowed(v_as_4355_, v_i_4357_); +v___x_4368_ = lean_array_get_borrowed(v___x_4366_, v___x_4352_, v_a_4367_); +lean_inc(v___y_4362_); +lean_inc_ref(v___y_4361_); +lean_inc(v___y_4360_); +lean_inc_ref(v___y_4359_); +lean_inc(v___x_4368_); +v___x_4369_ = l_Lean_Meta_instantiateForall(v___x_4368_, v_a_4353_, v___y_4359_, v___y_4360_, v___y_4361_, v___y_4362_); +if (lean_obj_tag(v___x_4369_) == 0) { -lean_object* v_a_4369_; lean_object* v___x_4370_; -v_a_4369_ = lean_ctor_get(v___x_4368_, 0); -lean_inc(v_a_4369_); -lean_dec_ref(v___x_4368_); -lean_inc(v___y_4361_); -lean_inc_ref(v___y_4360_); -lean_inc(v___y_4359_); -lean_inc_ref(v___y_4358_); -lean_inc(v___x_4353_); -v___x_4370_ = l_Lean_Meta_Match_simpH_x3f(v_a_4369_, v___x_4353_, v___y_4358_, v___y_4359_, v___y_4360_, v___y_4361_); -if (lean_obj_tag(v___x_4370_) == 0) +lean_object* v_a_4370_; lean_object* v___x_4371_; +v_a_4370_ = lean_ctor_get(v___x_4369_, 0); +lean_inc(v_a_4370_); +lean_dec_ref(v___x_4369_); +lean_inc(v___y_4362_); +lean_inc_ref(v___y_4361_); +lean_inc(v___y_4360_); +lean_inc_ref(v___y_4359_); +lean_inc(v___x_4354_); +v___x_4371_ = l_Lean_Meta_Match_simpH_x3f(v_a_4370_, v___x_4354_, v___y_4359_, v___y_4360_, v___y_4361_, v___y_4362_); +if (lean_obj_tag(v___x_4371_) == 0) { -lean_object* v_a_4371_; lean_object* v_a_4373_; -v_a_4371_ = lean_ctor_get(v___x_4370_, 0); -lean_inc(v_a_4371_); -lean_dec_ref(v___x_4370_); -if (lean_obj_tag(v_a_4371_) == 1) +lean_object* v_a_4372_; lean_object* v_a_4374_; +v_a_4372_ = lean_ctor_get(v___x_4371_, 0); +lean_inc(v_a_4372_); +lean_dec_ref(v___x_4371_); +if (lean_obj_tag(v_a_4372_) == 1) { -lean_object* v_val_4377_; lean_object* v___x_4378_; -v_val_4377_ = lean_ctor_get(v_a_4371_, 0); -lean_inc(v_val_4377_); -lean_dec_ref(v_a_4371_); -v___x_4378_ = lean_array_push(v_b_4357_, v_val_4377_); -v_a_4373_ = v___x_4378_; -goto v___jp_4372_; +lean_object* v_val_4378_; lean_object* v___x_4379_; +v_val_4378_ = lean_ctor_get(v_a_4372_, 0); +lean_inc(v_val_4378_); +lean_dec_ref(v_a_4372_); +v___x_4379_ = lean_array_push(v_b_4358_, v_val_4378_); +v_a_4374_ = v___x_4379_; +goto v___jp_4373_; } else { -lean_dec(v_a_4371_); -v_a_4373_ = v_b_4357_; -goto v___jp_4372_; +lean_dec(v_a_4372_); +v_a_4374_ = v_b_4358_; +goto v___jp_4373_; } -v___jp_4372_: +v___jp_4373_: { -size_t v___x_4374_; size_t v___x_4375_; -v___x_4374_ = ((size_t)1ULL); -v___x_4375_ = lean_usize_add(v_i_4356_, v___x_4374_); -v_i_4356_ = v___x_4375_; -v_b_4357_ = v_a_4373_; +size_t v___x_4375_; size_t v___x_4376_; +v___x_4375_ = ((size_t)1ULL); +v___x_4376_ = lean_usize_add(v_i_4357_, v___x_4375_); +v_i_4357_ = v___x_4376_; +v_b_4358_ = v_a_4374_; goto _start; } } else { -lean_object* v_a_4379_; lean_object* v___x_4381_; uint8_t v_isShared_4382_; uint8_t v_isSharedCheck_4386_; -lean_dec(v___y_4361_); -lean_dec_ref(v___y_4360_); -lean_dec(v___y_4359_); -lean_dec_ref(v___y_4358_); -lean_dec_ref(v_b_4357_); -lean_dec(v___x_4353_); -v_a_4379_ = lean_ctor_get(v___x_4370_, 0); -v_isSharedCheck_4386_ = !lean_is_exclusive(v___x_4370_); -if (v_isSharedCheck_4386_ == 0) +lean_object* v_a_4380_; lean_object* v___x_4382_; uint8_t v_isShared_4383_; uint8_t v_isSharedCheck_4387_; +lean_dec(v___y_4362_); +lean_dec_ref(v___y_4361_); +lean_dec(v___y_4360_); +lean_dec_ref(v___y_4359_); +lean_dec_ref(v_b_4358_); +lean_dec(v___x_4354_); +v_a_4380_ = lean_ctor_get(v___x_4371_, 0); +v_isSharedCheck_4387_ = !lean_is_exclusive(v___x_4371_); +if (v_isSharedCheck_4387_ == 0) { -v___x_4381_ = v___x_4370_; -v_isShared_4382_ = v_isSharedCheck_4386_; -goto v_resetjp_4380_; +v___x_4382_ = v___x_4371_; +v_isShared_4383_ = v_isSharedCheck_4387_; +goto v_resetjp_4381_; } else { -lean_inc(v_a_4379_); -lean_dec(v___x_4370_); -v___x_4381_ = lean_box(0); -v_isShared_4382_ = v_isSharedCheck_4386_; -goto v_resetjp_4380_; +lean_inc(v_a_4380_); +lean_dec(v___x_4371_); +v___x_4382_ = lean_box(0); +v_isShared_4383_ = v_isSharedCheck_4387_; +goto v_resetjp_4381_; } -v_resetjp_4380_: +v_resetjp_4381_: { -lean_object* v___x_4384_; -if (v_isShared_4382_ == 0) +lean_object* v___x_4385_; +if (v_isShared_4383_ == 0) { -v___x_4384_ = v___x_4381_; -goto v_reusejp_4383_; +v___x_4385_ = v___x_4382_; +goto v_reusejp_4384_; } else { -lean_object* v_reuseFailAlloc_4385_; -v_reuseFailAlloc_4385_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4385_, 0, v_a_4379_); -v___x_4384_ = v_reuseFailAlloc_4385_; -goto v_reusejp_4383_; +lean_object* v_reuseFailAlloc_4386_; +v_reuseFailAlloc_4386_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4386_, 0, v_a_4380_); +v___x_4385_ = v_reuseFailAlloc_4386_; +goto v_reusejp_4384_; } -v_reusejp_4383_: +v_reusejp_4384_: { -return v___x_4384_; +return v___x_4385_; } } } } else { -lean_object* v_a_4387_; lean_object* v___x_4389_; uint8_t v_isShared_4390_; uint8_t v_isSharedCheck_4394_; -lean_dec(v___y_4361_); -lean_dec_ref(v___y_4360_); -lean_dec(v___y_4359_); -lean_dec_ref(v___y_4358_); -lean_dec_ref(v_b_4357_); -lean_dec(v___x_4353_); -v_a_4387_ = lean_ctor_get(v___x_4368_, 0); -v_isSharedCheck_4394_ = !lean_is_exclusive(v___x_4368_); -if (v_isSharedCheck_4394_ == 0) +lean_object* v_a_4388_; lean_object* v___x_4390_; uint8_t v_isShared_4391_; uint8_t v_isSharedCheck_4395_; +lean_dec(v___y_4362_); +lean_dec_ref(v___y_4361_); +lean_dec(v___y_4360_); +lean_dec_ref(v___y_4359_); +lean_dec_ref(v_b_4358_); +lean_dec(v___x_4354_); +v_a_4388_ = lean_ctor_get(v___x_4369_, 0); +v_isSharedCheck_4395_ = !lean_is_exclusive(v___x_4369_); +if (v_isSharedCheck_4395_ == 0) { -v___x_4389_ = v___x_4368_; -v_isShared_4390_ = v_isSharedCheck_4394_; -goto v_resetjp_4388_; +v___x_4390_ = v___x_4369_; +v_isShared_4391_ = v_isSharedCheck_4395_; +goto v_resetjp_4389_; } else { -lean_inc(v_a_4387_); -lean_dec(v___x_4368_); -v___x_4389_ = lean_box(0); -v_isShared_4390_ = v_isSharedCheck_4394_; -goto v_resetjp_4388_; +lean_inc(v_a_4388_); +lean_dec(v___x_4369_); +v___x_4390_ = lean_box(0); +v_isShared_4391_ = v_isSharedCheck_4395_; +goto v_resetjp_4389_; } -v_resetjp_4388_: +v_resetjp_4389_: { -lean_object* v___x_4392_; -if (v_isShared_4390_ == 0) +lean_object* v___x_4393_; +if (v_isShared_4391_ == 0) { -v___x_4392_ = v___x_4389_; -goto v_reusejp_4391_; +v___x_4393_ = v___x_4390_; +goto v_reusejp_4392_; } else { -lean_object* v_reuseFailAlloc_4393_; -v_reuseFailAlloc_4393_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4393_, 0, v_a_4387_); -v___x_4392_ = v_reuseFailAlloc_4393_; -goto v_reusejp_4391_; +lean_object* v_reuseFailAlloc_4394_; +v_reuseFailAlloc_4394_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4394_, 0, v_a_4388_); +v___x_4393_ = v_reuseFailAlloc_4394_; +goto v_reusejp_4392_; } -v_reusejp_4391_: +v_reusejp_4392_: { -return v___x_4392_; +return v___x_4393_; } } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3___boxed(lean_object* v___x_4395_, lean_object* v_a_4396_, lean_object* v___x_4397_, lean_object* v_as_4398_, lean_object* v_sz_4399_, lean_object* v_i_4400_, lean_object* v_b_4401_, lean_object* v___y_4402_, lean_object* v___y_4403_, lean_object* v___y_4404_, lean_object* v___y_4405_, lean_object* v___y_4406_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3___boxed(lean_object* v___x_4396_, lean_object* v_a_4397_, lean_object* v___x_4398_, lean_object* v_as_4399_, lean_object* v_sz_4400_, lean_object* v_i_4401_, lean_object* v_b_4402_, lean_object* v___y_4403_, lean_object* v___y_4404_, lean_object* v___y_4405_, lean_object* v___y_4406_, lean_object* v___y_4407_){ _start: { -size_t v_sz_boxed_4407_; size_t v_i_boxed_4408_; lean_object* v_res_4409_; -v_sz_boxed_4407_ = lean_unbox_usize(v_sz_4399_); -lean_dec(v_sz_4399_); -v_i_boxed_4408_ = lean_unbox_usize(v_i_4400_); -lean_dec(v_i_4400_); -v_res_4409_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(v___x_4395_, v_a_4396_, v___x_4397_, v_as_4398_, v_sz_boxed_4407_, v_i_boxed_4408_, v_b_4401_, v___y_4402_, v___y_4403_, v___y_4404_, v___y_4405_); -lean_dec_ref(v_as_4398_); -lean_dec_ref(v_a_4396_); -lean_dec_ref(v___x_4395_); -return v_res_4409_; +size_t v_sz_boxed_4408_; size_t v_i_boxed_4409_; lean_object* v_res_4410_; +v_sz_boxed_4408_ = lean_unbox_usize(v_sz_4400_); +lean_dec(v_sz_4400_); +v_i_boxed_4409_ = lean_unbox_usize(v_i_4401_); +lean_dec(v_i_4401_); +v_res_4410_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(v___x_4396_, v_a_4397_, v___x_4398_, v_as_4399_, v_sz_boxed_4408_, v_i_boxed_4409_, v_b_4402_, v___y_4403_, v___y_4404_, v___y_4405_, v___y_4406_); +lean_dec_ref(v_as_4399_); +lean_dec_ref(v_a_4397_); +lean_dec_ref(v___x_4396_); +return v_res_4410_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1(lean_object* v___y_4410_, lean_object* v_args_4411_, lean_object* v___x_4412_, lean_object* v_overlaps_4413_, lean_object* v_a_4414_, lean_object* v_fst_4415_, lean_object* v_a_4416_, lean_object* v___x_4417_, lean_object* v___x_4418_, lean_object* v___x_4419_, lean_object* v___x_4420_, lean_object* v_altVars_4421_, uint8_t v___x_4422_, uint8_t v___x_4423_, lean_object* v_a_4424_, lean_object* v___x_4425_, lean_object* v___x_4426_, lean_object* v___x_4427_, lean_object* v___x_4428_, lean_object* v___x_4429_, lean_object* v___x_4430_, lean_object* v___x_4431_, lean_object* v_matchDeclName_4432_, lean_object* v___x_4433_, lean_object* v___x_4434_, lean_object* v___x_4435_, lean_object* v_heqs_4436_, lean_object* v___y_4437_, lean_object* v___y_4438_, lean_object* v___y_4439_, lean_object* v___y_4440_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1(lean_object* v___y_4411_, lean_object* v_args_4412_, lean_object* v___x_4413_, lean_object* v_overlaps_4414_, lean_object* v_a_4415_, lean_object* v_fst_4416_, lean_object* v_a_4417_, lean_object* v___x_4418_, lean_object* v___x_4419_, lean_object* v___x_4420_, lean_object* v___x_4421_, lean_object* v_altVars_4422_, uint8_t v___x_4423_, uint8_t v___x_4424_, lean_object* v_a_4425_, lean_object* v___x_4426_, lean_object* v___x_4427_, lean_object* v___x_4428_, lean_object* v___x_4429_, lean_object* v___x_4430_, lean_object* v___x_4431_, lean_object* v___x_4432_, lean_object* v_matchDeclName_4433_, lean_object* v___x_4434_, lean_object* v___x_4435_, lean_object* v___x_4436_, lean_object* v_heqs_4437_, lean_object* v___y_4438_, lean_object* v___y_4439_, lean_object* v___y_4440_, lean_object* v___y_4441_){ _start: { -lean_object* v___x_4442_; lean_object* v___x_4443_; -v___x_4442_ = l_Lean_mkAppN(v___y_4410_, v_args_4411_); -lean_inc(v___y_4440_); -lean_inc_ref(v___y_4439_); -lean_inc(v___y_4438_); -lean_inc_ref(v___y_4437_); -lean_inc_ref(v_heqs_4436_); -v___x_4443_ = l_Lean_Meta_Match_mkAppDiscrEqs(v___x_4442_, v_heqs_4436_, v___x_4412_, v___y_4437_, v___y_4438_, v___y_4439_, v___y_4440_); -if (lean_obj_tag(v___x_4443_) == 0) +lean_object* v___x_4443_; lean_object* v___x_4444_; +v___x_4443_ = l_Lean_mkAppN(v___y_4411_, v_args_4412_); +lean_inc(v___y_4441_); +lean_inc_ref(v___y_4440_); +lean_inc(v___y_4439_); +lean_inc_ref(v___y_4438_); +lean_inc_ref(v_heqs_4437_); +v___x_4444_ = l_Lean_Meta_Match_mkAppDiscrEqs(v___x_4443_, v_heqs_4437_, v___x_4413_, v___y_4438_, v___y_4439_, v___y_4440_, v___y_4441_); +if (lean_obj_tag(v___x_4444_) == 0) { -lean_object* v_a_4444_; lean_object* v___x_4445_; size_t v_sz_4446_; size_t v___x_4447_; lean_object* v___x_4448_; -v_a_4444_ = lean_ctor_get(v___x_4443_, 0); -lean_inc(v_a_4444_); -lean_dec_ref(v___x_4443_); -v___x_4445_ = l_Lean_Meta_Match_Overlaps_overlapping(v_overlaps_4413_, v_a_4414_); -v_sz_4446_ = lean_array_size(v___x_4445_); -v___x_4447_ = ((size_t)0ULL); -lean_inc(v___y_4440_); -lean_inc_ref(v___y_4439_); -lean_inc(v___y_4438_); -lean_inc_ref(v___y_4437_); -lean_inc_ref(v___x_4418_); -v___x_4448_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(v_fst_4415_, v_a_4416_, v___x_4417_, v___x_4445_, v_sz_4446_, v___x_4447_, v___x_4418_, v___y_4437_, v___y_4438_, v___y_4439_, v___y_4440_); -lean_dec_ref(v___x_4445_); -if (lean_obj_tag(v___x_4448_) == 0) +lean_object* v_a_4445_; lean_object* v___x_4446_; size_t v_sz_4447_; size_t v___x_4448_; lean_object* v___x_4449_; +v_a_4445_ = lean_ctor_get(v___x_4444_, 0); +lean_inc(v_a_4445_); +lean_dec_ref(v___x_4444_); +v___x_4446_ = l_Lean_Meta_Match_Overlaps_overlapping(v_overlaps_4414_, v_a_4415_); +v_sz_4447_ = lean_array_size(v___x_4446_); +v___x_4448_ = ((size_t)0ULL); +lean_inc(v___y_4441_); +lean_inc_ref(v___y_4440_); +lean_inc(v___y_4439_); +lean_inc_ref(v___y_4438_); +lean_inc_ref(v___x_4419_); +v___x_4449_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__3(v_fst_4416_, v_a_4417_, v___x_4418_, v___x_4446_, v_sz_4447_, v___x_4448_, v___x_4419_, v___y_4438_, v___y_4439_, v___y_4440_, v___y_4441_); +lean_dec_ref(v___x_4446_); +if (lean_obj_tag(v___x_4449_) == 0) { -lean_object* v_a_4449_; lean_object* v___y_4451_; lean_object* v___y_4452_; lean_object* v___y_4453_; lean_object* v___y_4454_; lean_object* v___x_4561_; lean_object* v___x_4562_; -v_a_4449_ = lean_ctor_get(v___x_4448_, 0); -lean_inc(v_a_4449_); -lean_dec_ref(v___x_4448_); -v___x_4561_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__13)); -v___x_4562_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go_spec__1___redArg(v___x_4561_, v___y_4439_); -if (lean_obj_tag(v___x_4562_) == 0) +lean_object* v_a_4450_; lean_object* v___y_4452_; lean_object* v___y_4453_; lean_object* v___y_4454_; lean_object* v___y_4455_; lean_object* v___x_4562_; lean_object* v___x_4563_; +v_a_4450_ = lean_ctor_get(v___x_4449_, 0); +lean_inc(v_a_4450_); +lean_dec_ref(v___x_4449_); +v___x_4562_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__13)); +v___x_4563_ = l_Lean_isTracingEnabledFor___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go_spec__1___redArg(v___x_4562_, v___y_4440_); +if (lean_obj_tag(v___x_4563_) == 0) { -lean_object* v_a_4563_; uint8_t v___x_4564_; -v_a_4563_ = lean_ctor_get(v___x_4562_, 0); -lean_inc(v_a_4563_); -lean_dec_ref(v___x_4562_); -v___x_4564_ = lean_unbox(v_a_4563_); -lean_dec(v_a_4563_); -if (v___x_4564_ == 0) +lean_object* v_a_4564_; uint8_t v___x_4565_; +v_a_4564_ = lean_ctor_get(v___x_4563_, 0); +lean_inc(v_a_4564_); +lean_dec_ref(v___x_4563_); +v___x_4565_ = lean_unbox(v_a_4564_); +lean_dec(v_a_4564_); +if (v___x_4565_ == 0) { -v___y_4451_ = v___y_4437_; v___y_4452_ = v___y_4438_; v___y_4453_ = v___y_4439_; v___y_4454_ = v___y_4440_; -goto v___jp_4450_; +v___y_4455_ = v___y_4441_; +goto v___jp_4451_; } else { -lean_object* v___x_4565_; lean_object* v___x_4566_; lean_object* v___x_4567_; lean_object* v___x_4568_; lean_object* v___x_4569_; lean_object* v___x_4570_; lean_object* v___x_4571_; -v___x_4565_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5); -lean_inc(v_a_4449_); -v___x_4566_ = lean_array_to_list(v_a_4449_); -v___x_4567_ = lean_box(0); -v___x_4568_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__1(v___x_4566_, v___x_4567_); -v___x_4569_ = l_Lean_MessageData_ofList(v___x_4568_); -v___x_4570_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_4570_, 0, v___x_4565_); -lean_ctor_set(v___x_4570_, 1, v___x_4569_); -v___x_4571_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go_spec__2(v___x_4561_, v___x_4570_, v___y_4437_, v___y_4438_, v___y_4439_, v___y_4440_); -if (lean_obj_tag(v___x_4571_) == 0) +lean_object* v___x_4566_; lean_object* v___x_4567_; lean_object* v___x_4568_; lean_object* v___x_4569_; lean_object* v___x_4570_; lean_object* v___x_4571_; lean_object* v___x_4572_; +v___x_4566_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__5); +lean_inc(v_a_4450_); +v___x_4567_ = lean_array_to_list(v_a_4450_); +v___x_4568_ = lean_box(0); +v___x_4569_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__1(v___x_4567_, v___x_4568_); +v___x_4570_ = l_Lean_MessageData_ofList(v___x_4569_); +v___x_4571_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_4571_, 0, v___x_4566_); +lean_ctor_set(v___x_4571_, 1, v___x_4570_); +v___x_4572_ = l_Lean_addTrace___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go_spec__2(v___x_4562_, v___x_4571_, v___y_4438_, v___y_4439_, v___y_4440_, v___y_4441_); +if (lean_obj_tag(v___x_4572_) == 0) { -lean_dec_ref(v___x_4571_); -v___y_4451_ = v___y_4437_; +lean_dec_ref(v___x_4572_); v___y_4452_ = v___y_4438_; v___y_4453_ = v___y_4439_; v___y_4454_ = v___y_4440_; -goto v___jp_4450_; +v___y_4455_ = v___y_4441_; +goto v___jp_4451_; } else { -lean_object* v_a_4572_; lean_object* v___x_4574_; uint8_t v_isShared_4575_; uint8_t v_isSharedCheck_4579_; -lean_dec(v_a_4449_); -lean_dec(v_a_4444_); -lean_dec(v___y_4440_); -lean_dec_ref(v___y_4439_); -lean_dec(v___y_4438_); -lean_dec_ref(v___y_4437_); -lean_dec_ref(v_heqs_4436_); +lean_object* v_a_4573_; lean_object* v___x_4575_; uint8_t v_isShared_4576_; uint8_t v_isSharedCheck_4580_; +lean_dec(v_a_4450_); +lean_dec(v_a_4445_); +lean_dec(v___y_4441_); +lean_dec_ref(v___y_4440_); +lean_dec(v___y_4439_); +lean_dec_ref(v___y_4438_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -lean_dec_ref(v___x_4420_); -lean_dec(v___x_4419_); -lean_dec_ref(v___x_4418_); -lean_dec_ref(v_a_4416_); -v_a_4572_ = lean_ctor_get(v___x_4571_, 0); -v_isSharedCheck_4579_ = !lean_is_exclusive(v___x_4571_); -if (v_isSharedCheck_4579_ == 0) +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +lean_dec_ref(v___x_4421_); +lean_dec(v___x_4420_); +lean_dec_ref(v___x_4419_); +lean_dec_ref(v_a_4417_); +v_a_4573_ = lean_ctor_get(v___x_4572_, 0); +v_isSharedCheck_4580_ = !lean_is_exclusive(v___x_4572_); +if (v_isSharedCheck_4580_ == 0) { -v___x_4574_ = v___x_4571_; -v_isShared_4575_ = v_isSharedCheck_4579_; -goto v_resetjp_4573_; +v___x_4575_ = v___x_4572_; +v_isShared_4576_ = v_isSharedCheck_4580_; +goto v_resetjp_4574_; } else { -lean_inc(v_a_4572_); -lean_dec(v___x_4571_); -v___x_4574_ = lean_box(0); -v_isShared_4575_ = v_isSharedCheck_4579_; -goto v_resetjp_4573_; +lean_inc(v_a_4573_); +lean_dec(v___x_4572_); +v___x_4575_ = lean_box(0); +v_isShared_4576_ = v_isSharedCheck_4580_; +goto v_resetjp_4574_; } -v_resetjp_4573_: +v_resetjp_4574_: { -lean_object* v___x_4577_; -if (v_isShared_4575_ == 0) +lean_object* v___x_4578_; +if (v_isShared_4576_ == 0) { -v___x_4577_ = v___x_4574_; -goto v_reusejp_4576_; +v___x_4578_ = v___x_4575_; +goto v_reusejp_4577_; } else { -lean_object* v_reuseFailAlloc_4578_; -v_reuseFailAlloc_4578_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4578_, 0, v_a_4572_); -v___x_4577_ = v_reuseFailAlloc_4578_; -goto v_reusejp_4576_; +lean_object* v_reuseFailAlloc_4579_; +v_reuseFailAlloc_4579_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4579_, 0, v_a_4573_); +v___x_4578_ = v_reuseFailAlloc_4579_; +goto v_reusejp_4577_; } -v_reusejp_4576_: +v_reusejp_4577_: { -return v___x_4577_; +return v___x_4578_; } } } @@ -15106,417 +15125,417 @@ return v___x_4577_; } else { -lean_object* v_a_4580_; lean_object* v___x_4582_; uint8_t v_isShared_4583_; uint8_t v_isSharedCheck_4587_; -lean_dec(v_a_4449_); -lean_dec(v_a_4444_); -lean_dec(v___y_4440_); -lean_dec_ref(v___y_4439_); -lean_dec(v___y_4438_); -lean_dec_ref(v___y_4437_); -lean_dec_ref(v_heqs_4436_); +lean_object* v_a_4581_; lean_object* v___x_4583_; uint8_t v_isShared_4584_; uint8_t v_isSharedCheck_4588_; +lean_dec(v_a_4450_); +lean_dec(v_a_4445_); +lean_dec(v___y_4441_); +lean_dec_ref(v___y_4440_); +lean_dec(v___y_4439_); +lean_dec_ref(v___y_4438_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -lean_dec_ref(v___x_4420_); -lean_dec(v___x_4419_); -lean_dec_ref(v___x_4418_); -lean_dec_ref(v_a_4416_); -v_a_4580_ = lean_ctor_get(v___x_4562_, 0); -v_isSharedCheck_4587_ = !lean_is_exclusive(v___x_4562_); -if (v_isSharedCheck_4587_ == 0) +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +lean_dec_ref(v___x_4421_); +lean_dec(v___x_4420_); +lean_dec_ref(v___x_4419_); +lean_dec_ref(v_a_4417_); +v_a_4581_ = lean_ctor_get(v___x_4563_, 0); +v_isSharedCheck_4588_ = !lean_is_exclusive(v___x_4563_); +if (v_isSharedCheck_4588_ == 0) { -v___x_4582_ = v___x_4562_; -v_isShared_4583_ = v_isSharedCheck_4587_; -goto v_resetjp_4581_; +v___x_4583_ = v___x_4563_; +v_isShared_4584_ = v_isSharedCheck_4588_; +goto v_resetjp_4582_; } else { -lean_inc(v_a_4580_); -lean_dec(v___x_4562_); -v___x_4582_ = lean_box(0); -v_isShared_4583_ = v_isSharedCheck_4587_; -goto v_resetjp_4581_; +lean_inc(v_a_4581_); +lean_dec(v___x_4563_); +v___x_4583_ = lean_box(0); +v_isShared_4584_ = v_isSharedCheck_4588_; +goto v_resetjp_4582_; } -v_resetjp_4581_: +v_resetjp_4582_: { -lean_object* v___x_4585_; -if (v_isShared_4583_ == 0) +lean_object* v___x_4586_; +if (v_isShared_4584_ == 0) { -v___x_4585_ = v___x_4582_; -goto v_reusejp_4584_; +v___x_4586_ = v___x_4583_; +goto v_reusejp_4585_; } else { -lean_object* v_reuseFailAlloc_4586_; -v_reuseFailAlloc_4586_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4586_, 0, v_a_4580_); -v___x_4585_ = v_reuseFailAlloc_4586_; -goto v_reusejp_4584_; +lean_object* v_reuseFailAlloc_4587_; +v_reuseFailAlloc_4587_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4587_, 0, v_a_4581_); +v___x_4586_ = v_reuseFailAlloc_4587_; +goto v_reusejp_4585_; } -v_reusejp_4584_: +v_reusejp_4585_: { -return v___x_4585_; +return v___x_4586_; } } } -v___jp_4450_: +v___jp_4451_: { -lean_object* v___x_4455_; lean_object* v___x_4456_; lean_object* v___x_4457_; lean_object* v___x_4458_; lean_object* v___x_4459_; lean_object* v___x_4460_; lean_object* v___x_4461_; size_t v_sz_4462_; lean_object* v___x_4463_; -v___x_4455_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3); -v___x_4456_ = l_Array_reverse___redArg(v_a_4416_); -v___x_4457_ = lean_array_get_size(v___x_4456_); -v___x_4458_ = l_Array_toSubarray___redArg(v___x_4456_, v___x_4419_, v___x_4457_); -lean_inc_ref(v___x_4420_); -v___x_4459_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6___redArg(v___x_4420_, v___x_4418_); -v___x_4460_ = l_Array_reverse___redArg(v___x_4459_); -v___x_4461_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4461_, 0, v___x_4455_); -lean_ctor_set(v___x_4461_, 1, v___x_4458_); -v_sz_4462_ = lean_array_size(v___x_4460_); -lean_inc(v___y_4454_); -lean_inc_ref(v___y_4453_); -lean_inc(v___y_4452_); -lean_inc_ref(v___y_4451_); -v___x_4463_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__7(v___x_4460_, v_sz_4462_, v___x_4447_, v___x_4461_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -lean_dec_ref(v___x_4460_); -if (lean_obj_tag(v___x_4463_) == 0) +lean_object* v___x_4456_; lean_object* v___x_4457_; lean_object* v___x_4458_; lean_object* v___x_4459_; lean_object* v___x_4460_; lean_object* v___x_4461_; lean_object* v___x_4462_; size_t v_sz_4463_; lean_object* v___x_4464_; +v___x_4456_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__8___redArg___lam__1___closed__3); +v___x_4457_ = l_Array_reverse___redArg(v_a_4417_); +v___x_4458_ = lean_array_get_size(v___x_4457_); +v___x_4459_ = l_Array_toSubarray___redArg(v___x_4457_, v___x_4420_, v___x_4458_); +lean_inc_ref(v___x_4421_); +v___x_4460_ = l___private_Init_WFExtrinsicFix_0__WellFounded_opaqueFix_u2082___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__6___redArg(v___x_4421_, v___x_4419_); +v___x_4461_ = l_Array_reverse___redArg(v___x_4460_); +v___x_4462_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4462_, 0, v___x_4456_); +lean_ctor_set(v___x_4462_, 1, v___x_4459_); +v_sz_4463_ = lean_array_size(v___x_4461_); +lean_inc(v___y_4455_); +lean_inc_ref(v___y_4454_); +lean_inc(v___y_4453_); +lean_inc_ref(v___y_4452_); +v___x_4464_ = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__7(v___x_4461_, v_sz_4463_, v___x_4448_, v___x_4462_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +lean_dec_ref(v___x_4461_); +if (lean_obj_tag(v___x_4464_) == 0) { -lean_object* v_a_4464_; lean_object* v_fst_4465_; lean_object* v___x_4467_; uint8_t v_isShared_4468_; uint8_t v_isSharedCheck_4551_; -v_a_4464_ = lean_ctor_get(v___x_4463_, 0); -lean_inc(v_a_4464_); -lean_dec_ref(v___x_4463_); -v_fst_4465_ = lean_ctor_get(v_a_4464_, 0); -v_isSharedCheck_4551_ = !lean_is_exclusive(v_a_4464_); +lean_object* v_a_4465_; lean_object* v_fst_4466_; lean_object* v___x_4468_; uint8_t v_isShared_4469_; uint8_t v_isSharedCheck_4552_; +v_a_4465_ = lean_ctor_get(v___x_4464_, 0); +lean_inc(v_a_4465_); +lean_dec_ref(v___x_4464_); +v_fst_4466_ = lean_ctor_get(v_a_4465_, 0); +v_isSharedCheck_4552_ = !lean_is_exclusive(v_a_4465_); +if (v_isSharedCheck_4552_ == 0) +{ +lean_object* v_unused_4553_; +v_unused_4553_ = lean_ctor_get(v_a_4465_, 1); +lean_dec(v_unused_4553_); +v___x_4468_ = v_a_4465_; +v_isShared_4469_ = v_isSharedCheck_4552_; +goto v_resetjp_4467_; +} +else +{ +lean_inc(v_fst_4466_); +lean_dec(v_a_4465_); +v___x_4468_ = lean_box(0); +v_isShared_4469_ = v_isSharedCheck_4552_; +goto v_resetjp_4467_; +} +v_resetjp_4467_: +{ +lean_object* v___x_4470_; lean_object* v___x_4471_; uint8_t v___x_4472_; lean_object* v___x_4473_; +v___x_4470_ = l_Subarray_copy___redArg(v___x_4421_); +lean_inc_ref(v___x_4470_); +v___x_4471_ = l_Array_append___redArg(v___x_4470_, v_altVars_4422_); +v___x_4472_ = 1; +v___x_4473_ = l_Lean_Meta_mkForallFVars(v___x_4471_, v_fst_4466_, v___x_4423_, v___x_4424_, v___x_4424_, v___x_4472_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +lean_dec_ref(v___x_4471_); +if (lean_obj_tag(v___x_4473_) == 0) +{ +lean_object* v_a_4474_; lean_object* v___x_4475_; lean_object* v___x_4476_; lean_object* v___x_4477_; lean_object* v___x_4478_; lean_object* v___x_4479_; lean_object* v___x_4480_; lean_object* v___x_4481_; lean_object* v___x_4482_; lean_object* v___x_4483_; lean_object* v___x_4484_; lean_object* v___x_4485_; +v_a_4474_ = lean_ctor_get(v___x_4473_, 0); +lean_inc(v_a_4474_); +lean_dec_ref(v___x_4473_); +v___x_4475_ = l_Lean_ConstantInfo_name(v_a_4425_); +v___x_4476_ = l_Lean_mkConst(v___x_4475_, v___x_4426_); +lean_inc_ref(v___x_4427_); +v___x_4477_ = l_Subarray_copy___redArg(v___x_4427_); +v___x_4478_ = lean_mk_empty_array_with_capacity(v___x_4428_); +v___x_4479_ = lean_array_push(v___x_4478_, v___x_4429_); +v___x_4480_ = l_Array_append___redArg(v___x_4477_, v___x_4479_); +lean_dec_ref(v___x_4479_); +v___x_4481_ = l_Array_append___redArg(v___x_4480_, v___x_4470_); +lean_dec_ref(v___x_4470_); +v___x_4482_ = l_Subarray_copy___redArg(v___x_4430_); +v___x_4483_ = l_Array_append___redArg(v___x_4481_, v___x_4482_); +lean_dec_ref(v___x_4482_); +v___x_4484_ = l_Lean_mkAppN(v___x_4476_, v___x_4483_); +lean_inc(v___y_4455_); +lean_inc_ref(v___y_4454_); +lean_inc(v___y_4453_); +lean_inc_ref(v___y_4452_); +v___x_4485_ = l_Lean_Meta_mkHEq(v___x_4484_, v_a_4445_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +if (lean_obj_tag(v___x_4485_) == 0) +{ +lean_object* v_a_4486_; lean_object* v___x_4487_; +v_a_4486_ = lean_ctor_get(v___x_4485_, 0); +lean_inc(v_a_4486_); +lean_dec_ref(v___x_4485_); +lean_inc(v___y_4455_); +lean_inc_ref(v___y_4454_); +v___x_4487_ = l_Lean_mkArrowN(v_a_4450_, v_a_4486_, v___y_4454_, v___y_4455_); +lean_dec(v_a_4450_); +if (lean_obj_tag(v___x_4487_) == 0) +{ +lean_object* v_a_4488_; lean_object* v___x_4489_; lean_object* v___x_4490_; lean_object* v___x_4491_; +v_a_4488_ = lean_ctor_get(v___x_4487_, 0); +lean_inc(v_a_4488_); +lean_dec_ref(v___x_4487_); +v___x_4489_ = l_Array_append___redArg(v___x_4483_, v_altVars_4422_); +v___x_4490_ = l_Array_append___redArg(v___x_4489_, v_heqs_4437_); +v___x_4491_ = l_Lean_Meta_mkForallFVars(v___x_4490_, v_a_4488_, v___x_4423_, v___x_4424_, v___x_4424_, v___x_4472_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +lean_dec_ref(v___x_4490_); +if (lean_obj_tag(v___x_4491_) == 0) +{ +lean_object* v_a_4492_; lean_object* v___x_4493_; +v_a_4492_ = lean_ctor_get(v___x_4491_, 0); +lean_inc(v_a_4492_); +lean_dec_ref(v___x_4491_); +lean_inc(v___y_4455_); +lean_inc_ref(v___y_4454_); +lean_inc(v___y_4453_); +lean_inc_ref(v___y_4452_); +v___x_4493_ = l_Lean_Meta_Match_unfoldNamedPattern(v_a_4492_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +if (lean_obj_tag(v___x_4493_) == 0) +{ +lean_object* v_a_4494_; lean_object* v___x_4496_; uint8_t v_isShared_4497_; uint8_t v_isSharedCheck_4551_; +v_a_4494_ = lean_ctor_get(v___x_4493_, 0); +v_isSharedCheck_4551_ = !lean_is_exclusive(v___x_4493_); if (v_isSharedCheck_4551_ == 0) { -lean_object* v_unused_4552_; -v_unused_4552_ = lean_ctor_get(v_a_4464_, 1); -lean_dec(v_unused_4552_); -v___x_4467_ = v_a_4464_; -v_isShared_4468_ = v_isSharedCheck_4551_; -goto v_resetjp_4466_; +v___x_4496_ = v___x_4493_; +v_isShared_4497_ = v_isSharedCheck_4551_; +goto v_resetjp_4495_; } else { -lean_inc(v_fst_4465_); -lean_dec(v_a_4464_); -v___x_4467_ = lean_box(0); -v_isShared_4468_ = v_isSharedCheck_4551_; -goto v_resetjp_4466_; +lean_inc(v_a_4494_); +lean_dec(v___x_4493_); +v___x_4496_ = lean_box(0); +v_isShared_4497_ = v_isSharedCheck_4551_; +goto v_resetjp_4495_; } -v_resetjp_4466_: +v_resetjp_4495_: { -lean_object* v___x_4469_; lean_object* v___x_4470_; uint8_t v___x_4471_; lean_object* v___x_4472_; -v___x_4469_ = l_Subarray_copy___redArg(v___x_4420_); -lean_inc_ref(v___x_4469_); -v___x_4470_ = l_Array_append___redArg(v___x_4469_, v_altVars_4421_); -v___x_4471_ = 1; -v___x_4472_ = l_Lean_Meta_mkForallFVars(v___x_4470_, v_fst_4465_, v___x_4422_, v___x_4423_, v___x_4423_, v___x_4471_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -lean_dec_ref(v___x_4470_); -if (lean_obj_tag(v___x_4472_) == 0) +lean_object* v_start_4498_; lean_object* v_stop_4499_; lean_object* v___x_4501_; uint8_t v_isShared_4502_; uint8_t v_isSharedCheck_4549_; +v_start_4498_ = lean_ctor_get(v___x_4427_, 1); +v_stop_4499_ = lean_ctor_get(v___x_4427_, 2); +v_isSharedCheck_4549_ = !lean_is_exclusive(v___x_4427_); +if (v_isSharedCheck_4549_ == 0) { -lean_object* v_a_4473_; lean_object* v___x_4474_; lean_object* v___x_4475_; lean_object* v___x_4476_; lean_object* v___x_4477_; lean_object* v___x_4478_; lean_object* v___x_4479_; lean_object* v___x_4480_; lean_object* v___x_4481_; lean_object* v___x_4482_; lean_object* v___x_4483_; lean_object* v___x_4484_; -v_a_4473_ = lean_ctor_get(v___x_4472_, 0); -lean_inc(v_a_4473_); -lean_dec_ref(v___x_4472_); -v___x_4474_ = l_Lean_ConstantInfo_name(v_a_4424_); -v___x_4475_ = l_Lean_mkConst(v___x_4474_, v___x_4425_); -lean_inc_ref(v___x_4426_); -v___x_4476_ = l_Subarray_copy___redArg(v___x_4426_); -v___x_4477_ = lean_mk_empty_array_with_capacity(v___x_4427_); -v___x_4478_ = lean_array_push(v___x_4477_, v___x_4428_); -v___x_4479_ = l_Array_append___redArg(v___x_4476_, v___x_4478_); -lean_dec_ref(v___x_4478_); -v___x_4480_ = l_Array_append___redArg(v___x_4479_, v___x_4469_); -lean_dec_ref(v___x_4469_); -v___x_4481_ = l_Subarray_copy___redArg(v___x_4429_); -v___x_4482_ = l_Array_append___redArg(v___x_4480_, v___x_4481_); -lean_dec_ref(v___x_4481_); -v___x_4483_ = l_Lean_mkAppN(v___x_4475_, v___x_4482_); -lean_inc(v___y_4454_); -lean_inc_ref(v___y_4453_); -lean_inc(v___y_4452_); -lean_inc_ref(v___y_4451_); -v___x_4484_ = l_Lean_Meta_mkHEq(v___x_4483_, v_a_4444_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -if (lean_obj_tag(v___x_4484_) == 0) -{ -lean_object* v_a_4485_; lean_object* v___x_4486_; -v_a_4485_ = lean_ctor_get(v___x_4484_, 0); -lean_inc(v_a_4485_); -lean_dec_ref(v___x_4484_); -lean_inc(v___y_4454_); -lean_inc_ref(v___y_4453_); -v___x_4486_ = l_Lean_mkArrowN(v_a_4449_, v_a_4485_, v___y_4453_, v___y_4454_); -lean_dec(v_a_4449_); -if (lean_obj_tag(v___x_4486_) == 0) -{ -lean_object* v_a_4487_; lean_object* v___x_4488_; lean_object* v___x_4489_; lean_object* v___x_4490_; -v_a_4487_ = lean_ctor_get(v___x_4486_, 0); -lean_inc(v_a_4487_); -lean_dec_ref(v___x_4486_); -v___x_4488_ = l_Array_append___redArg(v___x_4482_, v_altVars_4421_); -v___x_4489_ = l_Array_append___redArg(v___x_4488_, v_heqs_4436_); -v___x_4490_ = l_Lean_Meta_mkForallFVars(v___x_4489_, v_a_4487_, v___x_4422_, v___x_4423_, v___x_4423_, v___x_4471_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -lean_dec_ref(v___x_4489_); -if (lean_obj_tag(v___x_4490_) == 0) -{ -lean_object* v_a_4491_; lean_object* v___x_4492_; -v_a_4491_ = lean_ctor_get(v___x_4490_, 0); -lean_inc(v_a_4491_); -lean_dec_ref(v___x_4490_); -lean_inc(v___y_4454_); -lean_inc_ref(v___y_4453_); -lean_inc(v___y_4452_); -lean_inc_ref(v___y_4451_); -v___x_4492_ = l_Lean_Meta_Match_unfoldNamedPattern(v_a_4491_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -if (lean_obj_tag(v___x_4492_) == 0) -{ -lean_object* v_a_4493_; lean_object* v___x_4495_; uint8_t v_isShared_4496_; uint8_t v_isSharedCheck_4550_; -v_a_4493_ = lean_ctor_get(v___x_4492_, 0); -v_isSharedCheck_4550_ = !lean_is_exclusive(v___x_4492_); -if (v_isSharedCheck_4550_ == 0) -{ -v___x_4495_ = v___x_4492_; -v_isShared_4496_ = v_isSharedCheck_4550_; -goto v_resetjp_4494_; +lean_object* v_unused_4550_; +v_unused_4550_ = lean_ctor_get(v___x_4427_, 0); +lean_dec(v_unused_4550_); +v___x_4501_ = v___x_4427_; +v_isShared_4502_ = v_isSharedCheck_4549_; +goto v_resetjp_4500_; } else { -lean_inc(v_a_4493_); -lean_dec(v___x_4492_); -v___x_4495_ = lean_box(0); -v_isShared_4496_ = v_isSharedCheck_4550_; -goto v_resetjp_4494_; +lean_inc(v_stop_4499_); +lean_inc(v_start_4498_); +lean_dec(v___x_4427_); +v___x_4501_ = lean_box(0); +v_isShared_4502_ = v_isSharedCheck_4549_; +goto v_resetjp_4500_; } -v_resetjp_4494_: +v_resetjp_4500_: { -lean_object* v_start_4497_; lean_object* v_stop_4498_; lean_object* v___x_4500_; uint8_t v_isShared_4501_; uint8_t v_isSharedCheck_4548_; -v_start_4497_ = lean_ctor_get(v___x_4426_, 1); -v_stop_4498_ = lean_ctor_get(v___x_4426_, 2); -v_isSharedCheck_4548_ = !lean_is_exclusive(v___x_4426_); -if (v_isSharedCheck_4548_ == 0) -{ -lean_object* v_unused_4549_; -v_unused_4549_ = lean_ctor_get(v___x_4426_, 0); -lean_dec(v_unused_4549_); -v___x_4500_ = v___x_4426_; -v_isShared_4501_ = v_isSharedCheck_4548_; -goto v_resetjp_4499_; -} -else -{ -lean_inc(v_stop_4498_); -lean_inc(v_start_4497_); -lean_dec(v___x_4426_); -v___x_4500_ = lean_box(0); -v_isShared_4501_ = v_isSharedCheck_4548_; -goto v_resetjp_4499_; -} -v_resetjp_4499_: -{ -lean_object* v___x_4502_; lean_object* v___x_4503_; lean_object* v___x_4504_; lean_object* v___x_4505_; lean_object* v___x_4506_; lean_object* v___x_4507_; lean_object* v___x_4508_; lean_object* v___x_4509_; -v___x_4502_ = lean_nat_sub(v_stop_4498_, v_start_4497_); -lean_dec(v_start_4497_); -lean_dec(v_stop_4498_); -v___x_4503_ = lean_nat_add(v___x_4502_, v___x_4427_); -lean_dec(v___x_4502_); -v___x_4504_ = lean_nat_add(v___x_4503_, v___x_4430_); +lean_object* v___x_4503_; lean_object* v___x_4504_; lean_object* v___x_4505_; lean_object* v___x_4506_; lean_object* v___x_4507_; lean_object* v___x_4508_; lean_object* v___x_4509_; lean_object* v___x_4510_; +v___x_4503_ = lean_nat_sub(v_stop_4499_, v_start_4498_); +lean_dec(v_start_4498_); +lean_dec(v_stop_4499_); +v___x_4504_ = lean_nat_add(v___x_4503_, v___x_4428_); lean_dec(v___x_4503_); v___x_4505_ = lean_nat_add(v___x_4504_, v___x_4431_); lean_dec(v___x_4504_); -v___x_4506_ = lean_array_get_size(v_altVars_4421_); -v___x_4507_ = lean_nat_add(v___x_4505_, v___x_4506_); +v___x_4506_ = lean_nat_add(v___x_4505_, v___x_4432_); lean_dec(v___x_4505_); -v___x_4508_ = lean_array_get_size(v_heqs_4436_); -lean_dec_ref(v_heqs_4436_); -lean_inc(v___y_4454_); -lean_inc_ref(v___y_4453_); -lean_inc(v_a_4493_); -v___x_4509_ = l_Lean_Meta_Match_proveCondEqThm(v_matchDeclName_4432_, v_a_4493_, v___x_4507_, v___x_4508_, v___y_4451_, v___y_4452_, v___y_4453_, v___y_4454_); -if (lean_obj_tag(v___x_4509_) == 0) +v___x_4507_ = lean_array_get_size(v_altVars_4422_); +v___x_4508_ = lean_nat_add(v___x_4506_, v___x_4507_); +lean_dec(v___x_4506_); +v___x_4509_ = lean_array_get_size(v_heqs_4437_); +lean_dec_ref(v_heqs_4437_); +lean_inc(v___y_4455_); +lean_inc_ref(v___y_4454_); +lean_inc(v_a_4494_); +v___x_4510_ = l_Lean_Meta_Match_proveCondEqThm(v_matchDeclName_4433_, v_a_4494_, v___x_4508_, v___x_4509_, v___y_4452_, v___y_4453_, v___y_4454_, v___y_4455_); +if (lean_obj_tag(v___x_4510_) == 0) { -lean_object* v_a_4510_; lean_object* v___x_4512_; uint8_t v_isShared_4513_; uint8_t v_isSharedCheck_4547_; -v_a_4510_ = lean_ctor_get(v___x_4509_, 0); -v_isSharedCheck_4547_ = !lean_is_exclusive(v___x_4509_); -if (v_isSharedCheck_4547_ == 0) +lean_object* v_a_4511_; lean_object* v___x_4513_; uint8_t v_isShared_4514_; uint8_t v_isSharedCheck_4548_; +v_a_4511_ = lean_ctor_get(v___x_4510_, 0); +v_isSharedCheck_4548_ = !lean_is_exclusive(v___x_4510_); +if (v_isSharedCheck_4548_ == 0) { -v___x_4512_ = v___x_4509_; -v_isShared_4513_ = v_isSharedCheck_4547_; -goto v_resetjp_4511_; +v___x_4513_ = v___x_4510_; +v_isShared_4514_ = v_isSharedCheck_4548_; +goto v_resetjp_4512_; } else { -lean_inc(v_a_4510_); -lean_dec(v___x_4509_); -v___x_4512_ = lean_box(0); -v_isShared_4513_ = v_isSharedCheck_4547_; -goto v_resetjp_4511_; +lean_inc(v_a_4511_); +lean_dec(v___x_4510_); +v___x_4513_ = lean_box(0); +v_isShared_4514_ = v_isSharedCheck_4548_; +goto v_resetjp_4512_; } -v_resetjp_4511_: +v_resetjp_4512_: { -lean_object* v___x_4514_; lean_object* v_env_4515_; uint8_t v___x_4516_; -v___x_4514_ = lean_st_ref_get(v___y_4454_); -v_env_4515_ = lean_ctor_get(v___x_4514_, 0); -lean_inc_ref(v_env_4515_); -lean_dec(v___x_4514_); -lean_inc(v___x_4433_); -v___x_4516_ = l_Lean_Environment_contains(v_env_4515_, v___x_4433_, v___x_4423_); -if (v___x_4516_ == 0) +lean_object* v___x_4515_; lean_object* v_env_4516_; uint8_t v___x_4517_; +v___x_4515_ = lean_st_ref_get(v___y_4455_); +v_env_4516_ = lean_ctor_get(v___x_4515_, 0); +lean_inc_ref(v_env_4516_); +lean_dec(v___x_4515_); +lean_inc(v___x_4434_); +v___x_4517_ = l_Lean_Environment_contains(v_env_4516_, v___x_4434_, v___x_4424_); +if (v___x_4517_ == 0) { -lean_object* v___x_4518_; -lean_del_object(v___x_4512_); -lean_inc(v___x_4433_); -if (v_isShared_4501_ == 0) +lean_object* v___x_4519_; +lean_del_object(v___x_4513_); +lean_inc(v___x_4434_); +if (v_isShared_4502_ == 0) { -lean_ctor_set(v___x_4500_, 2, v_a_4493_); -lean_ctor_set(v___x_4500_, 1, v___x_4434_); -lean_ctor_set(v___x_4500_, 0, v___x_4433_); -v___x_4518_ = v___x_4500_; -goto v_reusejp_4517_; +lean_ctor_set(v___x_4501_, 2, v_a_4494_); +lean_ctor_set(v___x_4501_, 1, v___x_4435_); +lean_ctor_set(v___x_4501_, 0, v___x_4434_); +v___x_4519_ = v___x_4501_; +goto v_reusejp_4518_; +} +else +{ +lean_object* v_reuseFailAlloc_4544_; +v_reuseFailAlloc_4544_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_4544_, 0, v___x_4434_); +lean_ctor_set(v_reuseFailAlloc_4544_, 1, v___x_4435_); +lean_ctor_set(v_reuseFailAlloc_4544_, 2, v_a_4494_); +v___x_4519_ = v_reuseFailAlloc_4544_; +goto v_reusejp_4518_; +} +v_reusejp_4518_: +{ +lean_object* v___x_4521_; +if (v_isShared_4469_ == 0) +{ +lean_ctor_set_tag(v___x_4468_, 1); +lean_ctor_set(v___x_4468_, 1, v___x_4436_); +lean_ctor_set(v___x_4468_, 0, v___x_4434_); +v___x_4521_ = v___x_4468_; +goto v_reusejp_4520_; } else { lean_object* v_reuseFailAlloc_4543_; -v_reuseFailAlloc_4543_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_4543_, 0, v___x_4433_); -lean_ctor_set(v_reuseFailAlloc_4543_, 1, v___x_4434_); -lean_ctor_set(v_reuseFailAlloc_4543_, 2, v_a_4493_); -v___x_4518_ = v_reuseFailAlloc_4543_; -goto v_reusejp_4517_; +v_reuseFailAlloc_4543_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4543_, 0, v___x_4434_); +lean_ctor_set(v_reuseFailAlloc_4543_, 1, v___x_4436_); +v___x_4521_ = v_reuseFailAlloc_4543_; +goto v_reusejp_4520_; } -v_reusejp_4517_: +v_reusejp_4520_: { -lean_object* v___x_4520_; -if (v_isShared_4468_ == 0) +lean_object* v___x_4522_; lean_object* v___x_4524_; +v___x_4522_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_4522_, 0, v___x_4519_); +lean_ctor_set(v___x_4522_, 1, v_a_4511_); +lean_ctor_set(v___x_4522_, 2, v___x_4521_); +if (v_isShared_4497_ == 0) { -lean_ctor_set_tag(v___x_4467_, 1); -lean_ctor_set(v___x_4467_, 1, v___x_4435_); -lean_ctor_set(v___x_4467_, 0, v___x_4433_); -v___x_4520_ = v___x_4467_; -goto v_reusejp_4519_; +lean_ctor_set_tag(v___x_4496_, 2); +lean_ctor_set(v___x_4496_, 0, v___x_4522_); +v___x_4524_ = v___x_4496_; +goto v_reusejp_4523_; } else { lean_object* v_reuseFailAlloc_4542_; -v_reuseFailAlloc_4542_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4542_, 0, v___x_4433_); -lean_ctor_set(v_reuseFailAlloc_4542_, 1, v___x_4435_); -v___x_4520_ = v_reuseFailAlloc_4542_; -goto v_reusejp_4519_; +v_reuseFailAlloc_4542_ = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4542_, 0, v___x_4522_); +v___x_4524_ = v_reuseFailAlloc_4542_; +goto v_reusejp_4523_; } -v_reusejp_4519_: +v_reusejp_4523_: { -lean_object* v___x_4521_; lean_object* v___x_4523_; -v___x_4521_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_4521_, 0, v___x_4518_); -lean_ctor_set(v___x_4521_, 1, v_a_4510_); -lean_ctor_set(v___x_4521_, 2, v___x_4520_); -if (v_isShared_4496_ == 0) +lean_object* v___x_4525_; +v___x_4525_ = l_Lean_addDecl(v___x_4524_, v___x_4423_, v___y_4454_, v___y_4455_); +if (lean_obj_tag(v___x_4525_) == 0) { -lean_ctor_set_tag(v___x_4495_, 2); -lean_ctor_set(v___x_4495_, 0, v___x_4521_); -v___x_4523_ = v___x_4495_; -goto v_reusejp_4522_; +lean_object* v___x_4527_; uint8_t v_isShared_4528_; uint8_t v_isSharedCheck_4532_; +v_isSharedCheck_4532_ = !lean_is_exclusive(v___x_4525_); +if (v_isSharedCheck_4532_ == 0) +{ +lean_object* v_unused_4533_; +v_unused_4533_ = lean_ctor_get(v___x_4525_, 0); +lean_dec(v_unused_4533_); +v___x_4527_ = v___x_4525_; +v_isShared_4528_ = v_isSharedCheck_4532_; +goto v_resetjp_4526_; } else { -lean_object* v_reuseFailAlloc_4541_; -v_reuseFailAlloc_4541_ = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4541_, 0, v___x_4521_); -v___x_4523_ = v_reuseFailAlloc_4541_; -goto v_reusejp_4522_; +lean_dec(v___x_4525_); +v___x_4527_ = lean_box(0); +v_isShared_4528_ = v_isSharedCheck_4532_; +goto v_resetjp_4526_; } -v_reusejp_4522_: +v_resetjp_4526_: { -lean_object* v___x_4524_; -v___x_4524_ = l_Lean_addDecl(v___x_4523_, v___x_4422_, v___y_4453_, v___y_4454_); -if (lean_obj_tag(v___x_4524_) == 0) +lean_object* v___x_4530_; +if (v_isShared_4528_ == 0) { -lean_object* v___x_4526_; uint8_t v_isShared_4527_; uint8_t v_isSharedCheck_4531_; -v_isSharedCheck_4531_ = !lean_is_exclusive(v___x_4524_); -if (v_isSharedCheck_4531_ == 0) -{ -lean_object* v_unused_4532_; -v_unused_4532_ = lean_ctor_get(v___x_4524_, 0); -lean_dec(v_unused_4532_); -v___x_4526_ = v___x_4524_; -v_isShared_4527_ = v_isSharedCheck_4531_; -goto v_resetjp_4525_; +lean_ctor_set(v___x_4527_, 0, v_a_4474_); +v___x_4530_ = v___x_4527_; +goto v_reusejp_4529_; } else { -lean_dec(v___x_4524_); -v___x_4526_ = lean_box(0); -v_isShared_4527_ = v_isSharedCheck_4531_; -goto v_resetjp_4525_; +lean_object* v_reuseFailAlloc_4531_; +v_reuseFailAlloc_4531_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4531_, 0, v_a_4474_); +v___x_4530_ = v_reuseFailAlloc_4531_; +goto v_reusejp_4529_; } -v_resetjp_4525_: +v_reusejp_4529_: { -lean_object* v___x_4529_; -if (v_isShared_4527_ == 0) -{ -lean_ctor_set(v___x_4526_, 0, v_a_4473_); -v___x_4529_ = v___x_4526_; -goto v_reusejp_4528_; -} -else -{ -lean_object* v_reuseFailAlloc_4530_; -v_reuseFailAlloc_4530_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4530_, 0, v_a_4473_); -v___x_4529_ = v_reuseFailAlloc_4530_; -goto v_reusejp_4528_; -} -v_reusejp_4528_: -{ -return v___x_4529_; +return v___x_4530_; } } } else { -lean_object* v_a_4533_; lean_object* v___x_4535_; uint8_t v_isShared_4536_; uint8_t v_isSharedCheck_4540_; -lean_dec(v_a_4473_); -v_a_4533_ = lean_ctor_get(v___x_4524_, 0); -v_isSharedCheck_4540_ = !lean_is_exclusive(v___x_4524_); -if (v_isSharedCheck_4540_ == 0) +lean_object* v_a_4534_; lean_object* v___x_4536_; uint8_t v_isShared_4537_; uint8_t v_isSharedCheck_4541_; +lean_dec(v_a_4474_); +v_a_4534_ = lean_ctor_get(v___x_4525_, 0); +v_isSharedCheck_4541_ = !lean_is_exclusive(v___x_4525_); +if (v_isSharedCheck_4541_ == 0) { -v___x_4535_ = v___x_4524_; -v_isShared_4536_ = v_isSharedCheck_4540_; -goto v_resetjp_4534_; +v___x_4536_ = v___x_4525_; +v_isShared_4537_ = v_isSharedCheck_4541_; +goto v_resetjp_4535_; } else { -lean_inc(v_a_4533_); -lean_dec(v___x_4524_); -v___x_4535_ = lean_box(0); -v_isShared_4536_ = v_isSharedCheck_4540_; -goto v_resetjp_4534_; +lean_inc(v_a_4534_); +lean_dec(v___x_4525_); +v___x_4536_ = lean_box(0); +v_isShared_4537_ = v_isSharedCheck_4541_; +goto v_resetjp_4535_; } -v_resetjp_4534_: +v_resetjp_4535_: { -lean_object* v___x_4538_; -if (v_isShared_4536_ == 0) +lean_object* v___x_4539_; +if (v_isShared_4537_ == 0) { -v___x_4538_ = v___x_4535_; -goto v_reusejp_4537_; +v___x_4539_ = v___x_4536_; +goto v_reusejp_4538_; } else { -lean_object* v_reuseFailAlloc_4539_; -v_reuseFailAlloc_4539_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4539_, 0, v_a_4533_); -v___x_4538_ = v_reuseFailAlloc_4539_; -goto v_reusejp_4537_; +lean_object* v_reuseFailAlloc_4540_; +v_reuseFailAlloc_4540_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4540_, 0, v_a_4534_); +v___x_4539_ = v_reuseFailAlloc_4540_; +goto v_reusejp_4538_; } -v_reusejp_4537_: +v_reusejp_4538_: { -return v___x_4538_; +return v___x_4539_; } } } @@ -15526,203 +15545,203 @@ return v___x_4538_; } else { -lean_object* v___x_4545_; -lean_dec(v_a_4510_); -lean_del_object(v___x_4500_); -lean_del_object(v___x_4495_); -lean_dec(v_a_4493_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); +lean_object* v___x_4546_; +lean_dec(v_a_4511_); +lean_del_object(v___x_4501_); +lean_del_object(v___x_4496_); +lean_dec(v_a_4494_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -if (v_isShared_4513_ == 0) +if (v_isShared_4514_ == 0) { -lean_ctor_set(v___x_4512_, 0, v_a_4473_); -v___x_4545_ = v___x_4512_; -goto v_reusejp_4544_; +lean_ctor_set(v___x_4513_, 0, v_a_4474_); +v___x_4546_ = v___x_4513_; +goto v_reusejp_4545_; } else { -lean_object* v_reuseFailAlloc_4546_; -v_reuseFailAlloc_4546_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4546_, 0, v_a_4473_); -v___x_4545_ = v_reuseFailAlloc_4546_; -goto v_reusejp_4544_; +lean_object* v_reuseFailAlloc_4547_; +v_reuseFailAlloc_4547_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4547_, 0, v_a_4474_); +v___x_4546_ = v_reuseFailAlloc_4547_; +goto v_reusejp_4545_; } -v_reusejp_4544_: +v_reusejp_4545_: { -return v___x_4545_; +return v___x_4546_; } } } } else { -lean_del_object(v___x_4500_); -lean_del_object(v___x_4495_); -lean_dec(v_a_4493_); -lean_dec(v_a_4473_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); +lean_del_object(v___x_4501_); +lean_del_object(v___x_4496_); +lean_dec(v_a_4494_); +lean_dec(v_a_4474_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -return v___x_4509_; +return v___x_4510_; } } } } else { -lean_dec(v_a_4473_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec_ref(v_heqs_4436_); +lean_dec(v_a_4474_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); -lean_dec_ref(v___x_4426_); -return v___x_4492_; +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4427_); +return v___x_4493_; } } else { -lean_dec(v_a_4473_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec_ref(v_heqs_4436_); +lean_dec(v_a_4474_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); -lean_dec_ref(v___x_4426_); -return v___x_4490_; +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4427_); +return v___x_4491_; } } else { -lean_dec_ref(v___x_4482_); -lean_dec(v_a_4473_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec_ref(v_heqs_4436_); +lean_dec_ref(v___x_4483_); +lean_dec(v_a_4474_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); -lean_dec_ref(v___x_4426_); -return v___x_4486_; +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4427_); +return v___x_4487_; } } else { -lean_dec_ref(v___x_4482_); -lean_dec(v_a_4473_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec(v_a_4449_); -lean_dec_ref(v_heqs_4436_); +lean_dec_ref(v___x_4483_); +lean_dec(v_a_4474_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec(v_a_4450_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); -lean_dec_ref(v___x_4426_); -return v___x_4484_; +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4427_); +return v___x_4485_; } } else { -lean_dec_ref(v___x_4469_); -lean_del_object(v___x_4467_); -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec(v_a_4449_); -lean_dec(v_a_4444_); -lean_dec_ref(v_heqs_4436_); +lean_dec_ref(v___x_4470_); +lean_del_object(v___x_4468_); +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec(v_a_4450_); +lean_dec(v_a_4445_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -return v___x_4472_; +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +return v___x_4473_; } } } else { -lean_object* v_a_4553_; lean_object* v___x_4555_; uint8_t v_isShared_4556_; uint8_t v_isSharedCheck_4560_; -lean_dec(v___y_4454_); -lean_dec_ref(v___y_4453_); -lean_dec(v___y_4452_); -lean_dec_ref(v___y_4451_); -lean_dec(v_a_4449_); -lean_dec(v_a_4444_); -lean_dec_ref(v_heqs_4436_); +lean_object* v_a_4554_; lean_object* v___x_4556_; uint8_t v_isShared_4557_; uint8_t v_isSharedCheck_4561_; +lean_dec(v___y_4455_); +lean_dec_ref(v___y_4454_); +lean_dec(v___y_4453_); +lean_dec_ref(v___y_4452_); +lean_dec(v_a_4450_); +lean_dec(v_a_4445_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -lean_dec_ref(v___x_4420_); -v_a_4553_ = lean_ctor_get(v___x_4463_, 0); -v_isSharedCheck_4560_ = !lean_is_exclusive(v___x_4463_); -if (v_isSharedCheck_4560_ == 0) +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +lean_dec_ref(v___x_4421_); +v_a_4554_ = lean_ctor_get(v___x_4464_, 0); +v_isSharedCheck_4561_ = !lean_is_exclusive(v___x_4464_); +if (v_isSharedCheck_4561_ == 0) { -v___x_4555_ = v___x_4463_; -v_isShared_4556_ = v_isSharedCheck_4560_; -goto v_resetjp_4554_; +v___x_4556_ = v___x_4464_; +v_isShared_4557_ = v_isSharedCheck_4561_; +goto v_resetjp_4555_; } else { -lean_inc(v_a_4553_); -lean_dec(v___x_4463_); -v___x_4555_ = lean_box(0); -v_isShared_4556_ = v_isSharedCheck_4560_; -goto v_resetjp_4554_; +lean_inc(v_a_4554_); +lean_dec(v___x_4464_); +v___x_4556_ = lean_box(0); +v_isShared_4557_ = v_isSharedCheck_4561_; +goto v_resetjp_4555_; } -v_resetjp_4554_: +v_resetjp_4555_: { -lean_object* v___x_4558_; -if (v_isShared_4556_ == 0) +lean_object* v___x_4559_; +if (v_isShared_4557_ == 0) { -v___x_4558_ = v___x_4555_; -goto v_reusejp_4557_; +v___x_4559_ = v___x_4556_; +goto v_reusejp_4558_; } else { -lean_object* v_reuseFailAlloc_4559_; -v_reuseFailAlloc_4559_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4559_, 0, v_a_4553_); -v___x_4558_ = v_reuseFailAlloc_4559_; -goto v_reusejp_4557_; +lean_object* v_reuseFailAlloc_4560_; +v_reuseFailAlloc_4560_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4560_, 0, v_a_4554_); +v___x_4559_ = v_reuseFailAlloc_4560_; +goto v_reusejp_4558_; } -v_reusejp_4557_: +v_reusejp_4558_: { -return v___x_4558_; +return v___x_4559_; } } } @@ -15730,698 +15749,698 @@ return v___x_4558_; } else { -lean_object* v_a_4588_; lean_object* v___x_4590_; uint8_t v_isShared_4591_; uint8_t v_isSharedCheck_4595_; -lean_dec(v_a_4444_); -lean_dec(v___y_4440_); -lean_dec_ref(v___y_4439_); -lean_dec(v___y_4438_); -lean_dec_ref(v___y_4437_); -lean_dec_ref(v_heqs_4436_); +lean_object* v_a_4589_; lean_object* v___x_4591_; uint8_t v_isShared_4592_; uint8_t v_isSharedCheck_4596_; +lean_dec(v_a_4445_); +lean_dec(v___y_4441_); +lean_dec_ref(v___y_4440_); +lean_dec(v___y_4439_); +lean_dec_ref(v___y_4438_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -lean_dec_ref(v___x_4420_); -lean_dec(v___x_4419_); -lean_dec_ref(v___x_4418_); -lean_dec_ref(v_a_4416_); -v_a_4588_ = lean_ctor_get(v___x_4448_, 0); -v_isSharedCheck_4595_ = !lean_is_exclusive(v___x_4448_); -if (v_isSharedCheck_4595_ == 0) +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +lean_dec_ref(v___x_4421_); +lean_dec(v___x_4420_); +lean_dec_ref(v___x_4419_); +lean_dec_ref(v_a_4417_); +v_a_4589_ = lean_ctor_get(v___x_4449_, 0); +v_isSharedCheck_4596_ = !lean_is_exclusive(v___x_4449_); +if (v_isSharedCheck_4596_ == 0) { -v___x_4590_ = v___x_4448_; -v_isShared_4591_ = v_isSharedCheck_4595_; -goto v_resetjp_4589_; +v___x_4591_ = v___x_4449_; +v_isShared_4592_ = v_isSharedCheck_4596_; +goto v_resetjp_4590_; } else { -lean_inc(v_a_4588_); -lean_dec(v___x_4448_); -v___x_4590_ = lean_box(0); -v_isShared_4591_ = v_isSharedCheck_4595_; -goto v_resetjp_4589_; +lean_inc(v_a_4589_); +lean_dec(v___x_4449_); +v___x_4591_ = lean_box(0); +v_isShared_4592_ = v_isSharedCheck_4596_; +goto v_resetjp_4590_; } -v_resetjp_4589_: +v_resetjp_4590_: { -lean_object* v___x_4593_; -if (v_isShared_4591_ == 0) +lean_object* v___x_4594_; +if (v_isShared_4592_ == 0) { -v___x_4593_ = v___x_4590_; -goto v_reusejp_4592_; +v___x_4594_ = v___x_4591_; +goto v_reusejp_4593_; } else { -lean_object* v_reuseFailAlloc_4594_; -v_reuseFailAlloc_4594_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4594_, 0, v_a_4588_); -v___x_4593_ = v_reuseFailAlloc_4594_; -goto v_reusejp_4592_; +lean_object* v_reuseFailAlloc_4595_; +v_reuseFailAlloc_4595_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4595_, 0, v_a_4589_); +v___x_4594_ = v_reuseFailAlloc_4595_; +goto v_reusejp_4593_; } -v_reusejp_4592_: +v_reusejp_4593_: { -return v___x_4593_; +return v___x_4594_; } } } } else { -lean_dec(v___y_4440_); -lean_dec_ref(v___y_4439_); -lean_dec(v___y_4438_); -lean_dec_ref(v___y_4437_); -lean_dec_ref(v_heqs_4436_); +lean_dec(v___y_4441_); +lean_dec_ref(v___y_4440_); +lean_dec(v___y_4439_); +lean_dec_ref(v___y_4438_); +lean_dec_ref(v_heqs_4437_); +lean_dec(v___x_4436_); lean_dec(v___x_4435_); lean_dec(v___x_4434_); -lean_dec(v___x_4433_); -lean_dec(v_matchDeclName_4432_); +lean_dec(v_matchDeclName_4433_); +lean_dec_ref(v___x_4430_); lean_dec_ref(v___x_4429_); -lean_dec_ref(v___x_4428_); -lean_dec_ref(v___x_4426_); -lean_dec(v___x_4425_); -lean_dec_ref(v___x_4420_); -lean_dec(v___x_4419_); -lean_dec_ref(v___x_4418_); -lean_dec(v___x_4417_); -lean_dec_ref(v_a_4416_); -return v___x_4443_; +lean_dec_ref(v___x_4427_); +lean_dec(v___x_4426_); +lean_dec_ref(v___x_4421_); +lean_dec(v___x_4420_); +lean_dec_ref(v___x_4419_); +lean_dec(v___x_4418_); +lean_dec_ref(v_a_4417_); +return v___x_4444_; } } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1___boxed(lean_object** _args){ -lean_object* v___y_4596_ = _args[0]; -lean_object* v_args_4597_ = _args[1]; -lean_object* v___x_4598_ = _args[2]; -lean_object* v_overlaps_4599_ = _args[3]; -lean_object* v_a_4600_ = _args[4]; -lean_object* v_fst_4601_ = _args[5]; -lean_object* v_a_4602_ = _args[6]; -lean_object* v___x_4603_ = _args[7]; -lean_object* v___x_4604_ = _args[8]; -lean_object* v___x_4605_ = _args[9]; -lean_object* v___x_4606_ = _args[10]; -lean_object* v_altVars_4607_ = _args[11]; -lean_object* v___x_4608_ = _args[12]; -lean_object* v___x_4609_ = _args[13]; -lean_object* v_a_4610_ = _args[14]; -lean_object* v___x_4611_ = _args[15]; -lean_object* v___x_4612_ = _args[16]; -lean_object* v___x_4613_ = _args[17]; -lean_object* v___x_4614_ = _args[18]; -lean_object* v___x_4615_ = _args[19]; -lean_object* v___x_4616_ = _args[20]; -lean_object* v___x_4617_ = _args[21]; -lean_object* v_matchDeclName_4618_ = _args[22]; -lean_object* v___x_4619_ = _args[23]; -lean_object* v___x_4620_ = _args[24]; -lean_object* v___x_4621_ = _args[25]; -lean_object* v_heqs_4622_ = _args[26]; -lean_object* v___y_4623_ = _args[27]; -lean_object* v___y_4624_ = _args[28]; -lean_object* v___y_4625_ = _args[29]; -lean_object* v___y_4626_ = _args[30]; -lean_object* v___y_4627_ = _args[31]; +lean_object* v___y_4597_ = _args[0]; +lean_object* v_args_4598_ = _args[1]; +lean_object* v___x_4599_ = _args[2]; +lean_object* v_overlaps_4600_ = _args[3]; +lean_object* v_a_4601_ = _args[4]; +lean_object* v_fst_4602_ = _args[5]; +lean_object* v_a_4603_ = _args[6]; +lean_object* v___x_4604_ = _args[7]; +lean_object* v___x_4605_ = _args[8]; +lean_object* v___x_4606_ = _args[9]; +lean_object* v___x_4607_ = _args[10]; +lean_object* v_altVars_4608_ = _args[11]; +lean_object* v___x_4609_ = _args[12]; +lean_object* v___x_4610_ = _args[13]; +lean_object* v_a_4611_ = _args[14]; +lean_object* v___x_4612_ = _args[15]; +lean_object* v___x_4613_ = _args[16]; +lean_object* v___x_4614_ = _args[17]; +lean_object* v___x_4615_ = _args[18]; +lean_object* v___x_4616_ = _args[19]; +lean_object* v___x_4617_ = _args[20]; +lean_object* v___x_4618_ = _args[21]; +lean_object* v_matchDeclName_4619_ = _args[22]; +lean_object* v___x_4620_ = _args[23]; +lean_object* v___x_4621_ = _args[24]; +lean_object* v___x_4622_ = _args[25]; +lean_object* v_heqs_4623_ = _args[26]; +lean_object* v___y_4624_ = _args[27]; +lean_object* v___y_4625_ = _args[28]; +lean_object* v___y_4626_ = _args[29]; +lean_object* v___y_4627_ = _args[30]; +lean_object* v___y_4628_ = _args[31]; _start: { -uint8_t v___x_21845__boxed_4628_; uint8_t v___x_21846__boxed_4629_; lean_object* v_res_4630_; -v___x_21845__boxed_4628_ = lean_unbox(v___x_4608_); -v___x_21846__boxed_4629_ = lean_unbox(v___x_4609_); -v_res_4630_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1(v___y_4596_, v_args_4597_, v___x_4598_, v_overlaps_4599_, v_a_4600_, v_fst_4601_, v_a_4602_, v___x_4603_, v___x_4604_, v___x_4605_, v___x_4606_, v_altVars_4607_, v___x_21845__boxed_4628_, v___x_21846__boxed_4629_, v_a_4610_, v___x_4611_, v___x_4612_, v___x_4613_, v___x_4614_, v___x_4615_, v___x_4616_, v___x_4617_, v_matchDeclName_4618_, v___x_4619_, v___x_4620_, v___x_4621_, v_heqs_4622_, v___y_4623_, v___y_4624_, v___y_4625_, v___y_4626_); +uint8_t v___x_21845__boxed_4629_; uint8_t v___x_21846__boxed_4630_; lean_object* v_res_4631_; +v___x_21845__boxed_4629_ = lean_unbox(v___x_4609_); +v___x_21846__boxed_4630_ = lean_unbox(v___x_4610_); +v_res_4631_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1(v___y_4597_, v_args_4598_, v___x_4599_, v_overlaps_4600_, v_a_4601_, v_fst_4602_, v_a_4603_, v___x_4604_, v___x_4605_, v___x_4606_, v___x_4607_, v_altVars_4608_, v___x_21845__boxed_4629_, v___x_21846__boxed_4630_, v_a_4611_, v___x_4612_, v___x_4613_, v___x_4614_, v___x_4615_, v___x_4616_, v___x_4617_, v___x_4618_, v_matchDeclName_4619_, v___x_4620_, v___x_4621_, v___x_4622_, v_heqs_4623_, v___y_4624_, v___y_4625_, v___y_4626_, v___y_4627_); +lean_dec(v___x_4618_); lean_dec(v___x_4617_); -lean_dec(v___x_4616_); -lean_dec(v___x_4613_); -lean_dec_ref(v_a_4610_); -lean_dec_ref(v_altVars_4607_); -lean_dec(v_fst_4601_); -lean_dec(v_a_4600_); -lean_dec_ref(v_overlaps_4599_); -lean_dec_ref(v_args_4597_); -return v_res_4630_; +lean_dec(v___x_4614_); +lean_dec_ref(v_a_4611_); +lean_dec_ref(v_altVars_4608_); +lean_dec(v_fst_4602_); +lean_dec(v_a_4601_); +lean_dec_ref(v_overlaps_4600_); +lean_dec_ref(v_args_4598_); +return v_res_4631_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0(lean_object* v_snd_4631_, lean_object* v_x_4632_, lean_object* v___y_4633_, lean_object* v___y_4634_, lean_object* v___y_4635_, lean_object* v___y_4636_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0(lean_object* v_snd_4632_, lean_object* v_x_4633_, lean_object* v___y_4634_, lean_object* v___y_4635_, lean_object* v___y_4636_, lean_object* v___y_4637_){ _start: { -lean_object* v___x_4638_; -v___x_4638_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_4638_, 0, v_snd_4631_); -return v___x_4638_; +lean_object* v___x_4639_; +v___x_4639_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_4639_, 0, v_snd_4632_); +return v___x_4639_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0___boxed(lean_object* v_snd_4639_, lean_object* v_x_4640_, lean_object* v___y_4641_, lean_object* v___y_4642_, lean_object* v___y_4643_, lean_object* v___y_4644_, lean_object* v___y_4645_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0___boxed(lean_object* v_snd_4640_, lean_object* v_x_4641_, lean_object* v___y_4642_, lean_object* v___y_4643_, lean_object* v___y_4644_, lean_object* v___y_4645_, lean_object* v___y_4646_){ _start: { -lean_object* v_res_4646_; -v_res_4646_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0(v_snd_4639_, v_x_4640_, v___y_4641_, v___y_4642_, v___y_4643_, v___y_4644_); -lean_dec(v___y_4644_); -lean_dec_ref(v___y_4643_); -lean_dec(v___y_4642_); -lean_dec_ref(v___y_4641_); -lean_dec_ref(v_x_4640_); -return v_res_4646_; +lean_object* v_res_4647_; +v_res_4647_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0(v_snd_4640_, v_x_4641_, v___y_4642_, v___y_4643_, v___y_4644_, v___y_4645_); +lean_dec(v___y_4645_); +lean_dec_ref(v___y_4644_); +lean_dec(v___y_4643_); +lean_dec_ref(v___y_4642_); +lean_dec_ref(v_x_4641_); +return v_res_4647_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(size_t v_sz_4647_, size_t v_i_4648_, lean_object* v_bs_4649_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(size_t v_sz_4648_, size_t v_i_4649_, lean_object* v_bs_4650_){ _start: { -uint8_t v___x_4650_; -v___x_4650_ = lean_usize_dec_lt(v_i_4648_, v_sz_4647_); -if (v___x_4650_ == 0) +uint8_t v___x_4651_; +v___x_4651_ = lean_usize_dec_lt(v_i_4649_, v_sz_4648_); +if (v___x_4651_ == 0) { -return v_bs_4649_; +return v_bs_4650_; } else { -lean_object* v_v_4651_; lean_object* v_fst_4652_; lean_object* v_snd_4653_; lean_object* v___x_4655_; uint8_t v_isShared_4656_; uint8_t v_isSharedCheck_4667_; -v_v_4651_ = lean_array_uget(v_bs_4649_, v_i_4648_); -v_fst_4652_ = lean_ctor_get(v_v_4651_, 0); -v_snd_4653_ = lean_ctor_get(v_v_4651_, 1); -v_isSharedCheck_4667_ = !lean_is_exclusive(v_v_4651_); -if (v_isSharedCheck_4667_ == 0) +lean_object* v_v_4652_; lean_object* v_fst_4653_; lean_object* v_snd_4654_; lean_object* v___x_4656_; uint8_t v_isShared_4657_; uint8_t v_isSharedCheck_4668_; +v_v_4652_ = lean_array_uget(v_bs_4650_, v_i_4649_); +v_fst_4653_ = lean_ctor_get(v_v_4652_, 0); +v_snd_4654_ = lean_ctor_get(v_v_4652_, 1); +v_isSharedCheck_4668_ = !lean_is_exclusive(v_v_4652_); +if (v_isSharedCheck_4668_ == 0) { -v___x_4655_ = v_v_4651_; -v_isShared_4656_ = v_isSharedCheck_4667_; -goto v_resetjp_4654_; +v___x_4656_ = v_v_4652_; +v_isShared_4657_ = v_isSharedCheck_4668_; +goto v_resetjp_4655_; } else { -lean_inc(v_snd_4653_); -lean_inc(v_fst_4652_); -lean_dec(v_v_4651_); -v___x_4655_ = lean_box(0); -v_isShared_4656_ = v_isSharedCheck_4667_; -goto v_resetjp_4654_; +lean_inc(v_snd_4654_); +lean_inc(v_fst_4653_); +lean_dec(v_v_4652_); +v___x_4656_ = lean_box(0); +v_isShared_4657_ = v_isSharedCheck_4668_; +goto v_resetjp_4655_; } -v_resetjp_4654_: +v_resetjp_4655_: { -lean_object* v___x_4657_; lean_object* v_bs_x27_4658_; lean_object* v___f_4659_; lean_object* v___x_4661_; -v___x_4657_ = lean_unsigned_to_nat(0u); -v_bs_x27_4658_ = lean_array_uset(v_bs_4649_, v_i_4648_, v___x_4657_); -v___f_4659_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0___boxed), 7, 1); -lean_closure_set(v___f_4659_, 0, v_snd_4653_); -if (v_isShared_4656_ == 0) +lean_object* v___x_4658_; lean_object* v_bs_x27_4659_; lean_object* v___f_4660_; lean_object* v___x_4662_; +v___x_4658_ = lean_unsigned_to_nat(0u); +v_bs_x27_4659_ = lean_array_uset(v_bs_4650_, v_i_4649_, v___x_4658_); +v___f_4660_ = lean_alloc_closure((void*)(l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___lam__0___boxed), 7, 1); +lean_closure_set(v___f_4660_, 0, v_snd_4654_); +if (v_isShared_4657_ == 0) { -lean_ctor_set(v___x_4655_, 1, v___f_4659_); -v___x_4661_ = v___x_4655_; -goto v_reusejp_4660_; +lean_ctor_set(v___x_4656_, 1, v___f_4660_); +v___x_4662_ = v___x_4656_; +goto v_reusejp_4661_; } else { -lean_object* v_reuseFailAlloc_4666_; -v_reuseFailAlloc_4666_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4666_, 0, v_fst_4652_); -lean_ctor_set(v_reuseFailAlloc_4666_, 1, v___f_4659_); -v___x_4661_ = v_reuseFailAlloc_4666_; -goto v_reusejp_4660_; +lean_object* v_reuseFailAlloc_4667_; +v_reuseFailAlloc_4667_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4667_, 0, v_fst_4653_); +lean_ctor_set(v_reuseFailAlloc_4667_, 1, v___f_4660_); +v___x_4662_ = v_reuseFailAlloc_4667_; +goto v_reusejp_4661_; } -v_reusejp_4660_: +v_reusejp_4661_: { -size_t v___x_4662_; size_t v___x_4663_; lean_object* v___x_4664_; -v___x_4662_ = ((size_t)1ULL); -v___x_4663_ = lean_usize_add(v_i_4648_, v___x_4662_); -v___x_4664_ = lean_array_uset(v_bs_x27_4658_, v_i_4648_, v___x_4661_); -v_i_4648_ = v___x_4663_; -v_bs_4649_ = v___x_4664_; +size_t v___x_4663_; size_t v___x_4664_; lean_object* v___x_4665_; +v___x_4663_ = ((size_t)1ULL); +v___x_4664_ = lean_usize_add(v_i_4649_, v___x_4663_); +v___x_4665_ = lean_array_uset(v_bs_x27_4659_, v_i_4649_, v___x_4662_); +v_i_4649_ = v___x_4664_; +v_bs_4650_ = v___x_4665_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___boxed(lean_object* v_sz_4668_, lean_object* v_i_4669_, lean_object* v_bs_4670_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4___boxed(lean_object* v_sz_4669_, lean_object* v_i_4670_, lean_object* v_bs_4671_){ _start: { -size_t v_sz_boxed_4671_; size_t v_i_boxed_4672_; lean_object* v_res_4673_; -v_sz_boxed_4671_ = lean_unbox_usize(v_sz_4668_); -lean_dec(v_sz_4668_); -v_i_boxed_4672_ = lean_unbox_usize(v_i_4669_); -lean_dec(v_i_4669_); -v_res_4673_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(v_sz_boxed_4671_, v_i_boxed_4672_, v_bs_4670_); -return v_res_4673_; +size_t v_sz_boxed_4672_; size_t v_i_boxed_4673_; lean_object* v_res_4674_; +v_sz_boxed_4672_ = lean_unbox_usize(v_sz_4669_); +lean_dec(v_sz_4669_); +v_i_boxed_4673_ = lean_unbox_usize(v_i_4670_); +lean_dec(v_i_4670_); +v_res_4674_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(v_sz_boxed_4672_, v_i_boxed_4673_, v_bs_4671_); +return v_res_4674_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(size_t v_sz_4674_, size_t v_i_4675_, lean_object* v_bs_4676_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(size_t v_sz_4675_, size_t v_i_4676_, lean_object* v_bs_4677_){ _start: { -uint8_t v___x_4677_; -v___x_4677_ = lean_usize_dec_lt(v_i_4675_, v_sz_4674_); -if (v___x_4677_ == 0) +uint8_t v___x_4678_; +v___x_4678_ = lean_usize_dec_lt(v_i_4676_, v_sz_4675_); +if (v___x_4678_ == 0) { -return v_bs_4676_; +return v_bs_4677_; } else { -lean_object* v_v_4678_; lean_object* v_fst_4679_; lean_object* v_snd_4680_; lean_object* v___x_4682_; uint8_t v_isShared_4683_; uint8_t v_isSharedCheck_4696_; -v_v_4678_ = lean_array_uget(v_bs_4676_, v_i_4675_); -v_fst_4679_ = lean_ctor_get(v_v_4678_, 0); -v_snd_4680_ = lean_ctor_get(v_v_4678_, 1); -v_isSharedCheck_4696_ = !lean_is_exclusive(v_v_4678_); -if (v_isSharedCheck_4696_ == 0) +lean_object* v_v_4679_; lean_object* v_fst_4680_; lean_object* v_snd_4681_; lean_object* v___x_4683_; uint8_t v_isShared_4684_; uint8_t v_isSharedCheck_4697_; +v_v_4679_ = lean_array_uget(v_bs_4677_, v_i_4676_); +v_fst_4680_ = lean_ctor_get(v_v_4679_, 0); +v_snd_4681_ = lean_ctor_get(v_v_4679_, 1); +v_isSharedCheck_4697_ = !lean_is_exclusive(v_v_4679_); +if (v_isSharedCheck_4697_ == 0) { -v___x_4682_ = v_v_4678_; -v_isShared_4683_ = v_isSharedCheck_4696_; -goto v_resetjp_4681_; +v___x_4683_ = v_v_4679_; +v_isShared_4684_ = v_isSharedCheck_4697_; +goto v_resetjp_4682_; } else { -lean_inc(v_snd_4680_); -lean_inc(v_fst_4679_); -lean_dec(v_v_4678_); -v___x_4682_ = lean_box(0); -v_isShared_4683_ = v_isSharedCheck_4696_; -goto v_resetjp_4681_; +lean_inc(v_snd_4681_); +lean_inc(v_fst_4680_); +lean_dec(v_v_4679_); +v___x_4683_ = lean_box(0); +v_isShared_4684_ = v_isSharedCheck_4697_; +goto v_resetjp_4682_; } -v_resetjp_4681_: +v_resetjp_4682_: { -lean_object* v___x_4684_; lean_object* v_bs_x27_4685_; uint8_t v___x_4686_; lean_object* v___x_4687_; lean_object* v___x_4689_; -v___x_4684_ = lean_unsigned_to_nat(0u); -v_bs_x27_4685_ = lean_array_uset(v_bs_4676_, v_i_4675_, v___x_4684_); -v___x_4686_ = 0; -v___x_4687_ = lean_box(v___x_4686_); -if (v_isShared_4683_ == 0) +lean_object* v___x_4685_; lean_object* v_bs_x27_4686_; uint8_t v___x_4687_; lean_object* v___x_4688_; lean_object* v___x_4690_; +v___x_4685_ = lean_unsigned_to_nat(0u); +v_bs_x27_4686_ = lean_array_uset(v_bs_4677_, v_i_4676_, v___x_4685_); +v___x_4687_ = 0; +v___x_4688_ = lean_box(v___x_4687_); +if (v_isShared_4684_ == 0) { -lean_ctor_set(v___x_4682_, 0, v___x_4687_); -v___x_4689_ = v___x_4682_; -goto v_reusejp_4688_; +lean_ctor_set(v___x_4683_, 0, v___x_4688_); +v___x_4690_ = v___x_4683_; +goto v_reusejp_4689_; } else { -lean_object* v_reuseFailAlloc_4695_; -v_reuseFailAlloc_4695_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4695_, 0, v___x_4687_); -lean_ctor_set(v_reuseFailAlloc_4695_, 1, v_snd_4680_); -v___x_4689_ = v_reuseFailAlloc_4695_; -goto v_reusejp_4688_; +lean_object* v_reuseFailAlloc_4696_; +v_reuseFailAlloc_4696_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4696_, 0, v___x_4688_); +lean_ctor_set(v_reuseFailAlloc_4696_, 1, v_snd_4681_); +v___x_4690_ = v_reuseFailAlloc_4696_; +goto v_reusejp_4689_; } -v_reusejp_4688_: +v_reusejp_4689_: { -lean_object* v___x_4690_; size_t v___x_4691_; size_t v___x_4692_; lean_object* v___x_4693_; -v___x_4690_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4690_, 0, v_fst_4679_); -lean_ctor_set(v___x_4690_, 1, v___x_4689_); -v___x_4691_ = ((size_t)1ULL); -v___x_4692_ = lean_usize_add(v_i_4675_, v___x_4691_); -v___x_4693_ = lean_array_uset(v_bs_x27_4685_, v_i_4675_, v___x_4690_); -v_i_4675_ = v___x_4692_; -v_bs_4676_ = v___x_4693_; +lean_object* v___x_4691_; size_t v___x_4692_; size_t v___x_4693_; lean_object* v___x_4694_; +v___x_4691_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4691_, 0, v_fst_4680_); +lean_ctor_set(v___x_4691_, 1, v___x_4690_); +v___x_4692_ = ((size_t)1ULL); +v___x_4693_ = lean_usize_add(v_i_4676_, v___x_4692_); +v___x_4694_ = lean_array_uset(v_bs_x27_4686_, v_i_4676_, v___x_4691_); +v_i_4676_ = v___x_4693_; +v_bs_4677_ = v___x_4694_; goto _start; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6___boxed(lean_object* v_sz_4697_, lean_object* v_i_4698_, lean_object* v_bs_4699_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6___boxed(lean_object* v_sz_4698_, lean_object* v_i_4699_, lean_object* v_bs_4700_){ _start: { -size_t v_sz_boxed_4700_; size_t v_i_boxed_4701_; lean_object* v_res_4702_; -v_sz_boxed_4700_ = lean_unbox_usize(v_sz_4697_); -lean_dec(v_sz_4697_); -v_i_boxed_4701_ = lean_unbox_usize(v_i_4698_); -lean_dec(v_i_4698_); -v_res_4702_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(v_sz_boxed_4700_, v_i_boxed_4701_, v_bs_4699_); -return v_res_4702_; +size_t v_sz_boxed_4701_; size_t v_i_boxed_4702_; lean_object* v_res_4703_; +v_sz_boxed_4701_ = lean_unbox_usize(v_sz_4698_); +lean_dec(v_sz_4698_); +v_i_boxed_4702_ = lean_unbox_usize(v_i_4699_); +lean_dec(v_i_4699_); +v_res_4703_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(v_sz_boxed_4701_, v_i_boxed_4702_, v_bs_4700_); +return v_res_4703_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0(lean_object* v___x_4703_, lean_object* v_a_4704_, lean_object* v___y_4705_, lean_object* v___y_4706_, lean_object* v___y_4707_, lean_object* v___y_4708_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0(lean_object* v___x_4704_, lean_object* v_a_4705_, lean_object* v___y_4706_, lean_object* v___y_4707_, lean_object* v___y_4708_, lean_object* v___y_4709_){ _start: { -lean_object* v___x_4710_; lean_object* v___x_21460__overap_4711_; lean_object* v___x_4712_; -v___x_4710_ = l_Lean_instInhabitedExpr; -v___x_21460__overap_4711_ = l_instInhabitedOfMonad___redArg(v___x_4703_, v___x_4710_); -v___x_4712_ = lean_apply_5(v___x_21460__overap_4711_, v___y_4705_, v___y_4706_, v___y_4707_, v___y_4708_, lean_box(0)); -return v___x_4712_; +lean_object* v___x_4711_; lean_object* v___x_21460__overap_4712_; lean_object* v___x_4713_; +v___x_4711_ = l_Lean_instInhabitedExpr; +v___x_21460__overap_4712_ = l_instInhabitedOfMonad___redArg(v___x_4704_, v___x_4711_); +v___x_4713_ = lean_apply_5(v___x_21460__overap_4712_, v___y_4706_, v___y_4707_, v___y_4708_, v___y_4709_, lean_box(0)); +return v___x_4713_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0___boxed(lean_object* v___x_4713_, lean_object* v_a_4714_, lean_object* v___y_4715_, lean_object* v___y_4716_, lean_object* v___y_4717_, lean_object* v___y_4718_, lean_object* v___y_4719_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0___boxed(lean_object* v___x_4714_, lean_object* v_a_4715_, lean_object* v___y_4716_, lean_object* v___y_4717_, lean_object* v___y_4718_, lean_object* v___y_4719_, lean_object* v___y_4720_){ _start: { -lean_object* v_res_4720_; -v_res_4720_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0(v___x_4713_, v_a_4714_, v___y_4715_, v___y_4716_, v___y_4717_, v___y_4718_); -lean_dec_ref(v_a_4714_); -return v_res_4720_; +lean_object* v_res_4721_; +v_res_4721_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0(v___x_4714_, v_a_4715_, v___y_4716_, v___y_4717_, v___y_4718_, v___y_4719_); +lean_dec_ref(v_a_4715_); +return v_res_4721_; } } static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0(void){ _start: { -lean_object* v___x_4721_; -v___x_4721_ = l_instMonadEST(lean_box(0), lean_box(0)); -return v___x_4721_; +lean_object* v___x_4722_; +v___x_4722_ = l_instMonadEST(lean_box(0), lean_box(0)); +return v___x_4722_; } } static lean_object* _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1(void){ _start: { -lean_object* v___x_4722_; lean_object* v___x_4723_; -v___x_4722_ = lean_obj_once(&l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0, &l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0_once, _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0); -v___x_4723_ = l_ReaderT_instMonad___redArg(v___x_4722_); -return v___x_4723_; +lean_object* v___x_4723_; lean_object* v___x_4724_; +v___x_4723_ = lean_obj_once(&l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0, &l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0_once, _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__0); +v___x_4724_ = l_ReaderT_instMonad___redArg(v___x_4723_); +return v___x_4724_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1___boxed(lean_object* v_acc_4728_, lean_object* v_declInfos_4729_, lean_object* v_k_4730_, lean_object* v_kind_4731_, lean_object* v_x_4732_, lean_object* v___y_4733_, lean_object* v___y_4734_, lean_object* v___y_4735_, lean_object* v___y_4736_, lean_object* v___y_4737_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1___boxed(lean_object* v_acc_4729_, lean_object* v_declInfos_4730_, lean_object* v_k_4731_, lean_object* v_kind_4732_, lean_object* v_x_4733_, lean_object* v___y_4734_, lean_object* v___y_4735_, lean_object* v___y_4736_, lean_object* v___y_4737_, lean_object* v___y_4738_){ _start: { -uint8_t v_kind_boxed_4738_; lean_object* v_res_4739_; -v_kind_boxed_4738_ = lean_unbox(v_kind_4731_); -v_res_4739_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1(v_acc_4728_, v_declInfos_4729_, v_k_4730_, v_kind_boxed_4738_, v_x_4732_, v___y_4733_, v___y_4734_, v___y_4735_, v___y_4736_); -return v_res_4739_; +uint8_t v_kind_boxed_4739_; lean_object* v_res_4740_; +v_kind_boxed_4739_ = lean_unbox(v_kind_4732_); +v_res_4740_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1(v_acc_4729_, v_declInfos_4730_, v_k_4731_, v_kind_boxed_4739_, v_x_4733_, v___y_4734_, v___y_4735_, v___y_4736_, v___y_4737_); +return v_res_4740_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(lean_object* v_declInfos_4740_, lean_object* v_k_4741_, uint8_t v_kind_4742_, lean_object* v_acc_4743_, lean_object* v___y_4744_, lean_object* v___y_4745_, lean_object* v___y_4746_, lean_object* v___y_4747_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(lean_object* v_declInfos_4741_, lean_object* v_k_4742_, uint8_t v_kind_4743_, lean_object* v_acc_4744_, lean_object* v___y_4745_, lean_object* v___y_4746_, lean_object* v___y_4747_, lean_object* v___y_4748_){ _start: { -lean_object* v___x_4749_; lean_object* v_toApplicative_4750_; lean_object* v___x_4752_; uint8_t v_isShared_4753_; uint8_t v_isSharedCheck_4837_; -v___x_4749_ = lean_obj_once(&l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1, &l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1_once, _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1); -v_toApplicative_4750_ = lean_ctor_get(v___x_4749_, 0); -v_isSharedCheck_4837_ = !lean_is_exclusive(v___x_4749_); -if (v_isSharedCheck_4837_ == 0) +lean_object* v___x_4750_; lean_object* v_toApplicative_4751_; lean_object* v___x_4753_; uint8_t v_isShared_4754_; uint8_t v_isSharedCheck_4838_; +v___x_4750_ = lean_obj_once(&l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1, &l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1_once, _init_l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__1); +v_toApplicative_4751_ = lean_ctor_get(v___x_4750_, 0); +v_isSharedCheck_4838_ = !lean_is_exclusive(v___x_4750_); +if (v_isSharedCheck_4838_ == 0) { -lean_object* v_unused_4838_; -v_unused_4838_ = lean_ctor_get(v___x_4749_, 1); -lean_dec(v_unused_4838_); -v___x_4752_ = v___x_4749_; -v_isShared_4753_ = v_isSharedCheck_4837_; -goto v_resetjp_4751_; +lean_object* v_unused_4839_; +v_unused_4839_ = lean_ctor_get(v___x_4750_, 1); +lean_dec(v_unused_4839_); +v___x_4753_ = v___x_4750_; +v_isShared_4754_ = v_isSharedCheck_4838_; +goto v_resetjp_4752_; } else { -lean_inc(v_toApplicative_4750_); -lean_dec(v___x_4749_); -v___x_4752_ = lean_box(0); -v_isShared_4753_ = v_isSharedCheck_4837_; -goto v_resetjp_4751_; +lean_inc(v_toApplicative_4751_); +lean_dec(v___x_4750_); +v___x_4753_ = lean_box(0); +v_isShared_4754_ = v_isSharedCheck_4838_; +goto v_resetjp_4752_; } -v_resetjp_4751_: +v_resetjp_4752_: { -lean_object* v_toFunctor_4754_; lean_object* v_toSeq_4755_; lean_object* v_toSeqLeft_4756_; lean_object* v_toSeqRight_4757_; lean_object* v___x_4759_; uint8_t v_isShared_4760_; uint8_t v_isSharedCheck_4835_; -v_toFunctor_4754_ = lean_ctor_get(v_toApplicative_4750_, 0); -v_toSeq_4755_ = lean_ctor_get(v_toApplicative_4750_, 2); -v_toSeqLeft_4756_ = lean_ctor_get(v_toApplicative_4750_, 3); -v_toSeqRight_4757_ = lean_ctor_get(v_toApplicative_4750_, 4); -v_isSharedCheck_4835_ = !lean_is_exclusive(v_toApplicative_4750_); -if (v_isSharedCheck_4835_ == 0) +lean_object* v_toFunctor_4755_; lean_object* v_toSeq_4756_; lean_object* v_toSeqLeft_4757_; lean_object* v_toSeqRight_4758_; lean_object* v___x_4760_; uint8_t v_isShared_4761_; uint8_t v_isSharedCheck_4836_; +v_toFunctor_4755_ = lean_ctor_get(v_toApplicative_4751_, 0); +v_toSeq_4756_ = lean_ctor_get(v_toApplicative_4751_, 2); +v_toSeqLeft_4757_ = lean_ctor_get(v_toApplicative_4751_, 3); +v_toSeqRight_4758_ = lean_ctor_get(v_toApplicative_4751_, 4); +v_isSharedCheck_4836_ = !lean_is_exclusive(v_toApplicative_4751_); +if (v_isSharedCheck_4836_ == 0) { -lean_object* v_unused_4836_; -v_unused_4836_ = lean_ctor_get(v_toApplicative_4750_, 1); -lean_dec(v_unused_4836_); -v___x_4759_ = v_toApplicative_4750_; -v_isShared_4760_ = v_isSharedCheck_4835_; -goto v_resetjp_4758_; +lean_object* v_unused_4837_; +v_unused_4837_ = lean_ctor_get(v_toApplicative_4751_, 1); +lean_dec(v_unused_4837_); +v___x_4760_ = v_toApplicative_4751_; +v_isShared_4761_ = v_isSharedCheck_4836_; +goto v_resetjp_4759_; } else { -lean_inc(v_toSeqRight_4757_); -lean_inc(v_toSeqLeft_4756_); -lean_inc(v_toSeq_4755_); -lean_inc(v_toFunctor_4754_); -lean_dec(v_toApplicative_4750_); -v___x_4759_ = lean_box(0); -v_isShared_4760_ = v_isSharedCheck_4835_; -goto v_resetjp_4758_; +lean_inc(v_toSeqRight_4758_); +lean_inc(v_toSeqLeft_4757_); +lean_inc(v_toSeq_4756_); +lean_inc(v_toFunctor_4755_); +lean_dec(v_toApplicative_4751_); +v___x_4760_ = lean_box(0); +v_isShared_4761_ = v_isSharedCheck_4836_; +goto v_resetjp_4759_; } -v_resetjp_4758_: +v_resetjp_4759_: { -lean_object* v___f_4761_; lean_object* v___f_4762_; lean_object* v___f_4763_; lean_object* v___f_4764_; lean_object* v___x_4765_; lean_object* v___f_4766_; lean_object* v___f_4767_; lean_object* v___f_4768_; lean_object* v___x_4770_; -v___f_4761_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__2)); -v___f_4762_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__3)); -lean_inc_ref(v_toFunctor_4754_); -v___f_4763_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4763_, 0, v_toFunctor_4754_); -v___f_4764_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4764_, 0, v_toFunctor_4754_); -v___x_4765_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4765_, 0, v___f_4763_); -lean_ctor_set(v___x_4765_, 1, v___f_4764_); -v___f_4766_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4766_, 0, v_toSeqRight_4757_); -v___f_4767_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4767_, 0, v_toSeqLeft_4756_); -v___f_4768_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4768_, 0, v_toSeq_4755_); -if (v_isShared_4760_ == 0) +lean_object* v___f_4762_; lean_object* v___f_4763_; lean_object* v___f_4764_; lean_object* v___f_4765_; lean_object* v___x_4766_; lean_object* v___f_4767_; lean_object* v___f_4768_; lean_object* v___f_4769_; lean_object* v___x_4771_; +v___f_4762_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__2)); +v___f_4763_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__3)); +lean_inc_ref(v_toFunctor_4755_); +v___f_4764_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4764_, 0, v_toFunctor_4755_); +v___f_4765_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4765_, 0, v_toFunctor_4755_); +v___x_4766_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4766_, 0, v___f_4764_); +lean_ctor_set(v___x_4766_, 1, v___f_4765_); +v___f_4767_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4767_, 0, v_toSeqRight_4758_); +v___f_4768_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4768_, 0, v_toSeqLeft_4757_); +v___f_4769_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4769_, 0, v_toSeq_4756_); +if (v_isShared_4761_ == 0) { -lean_ctor_set(v___x_4759_, 4, v___f_4766_); -lean_ctor_set(v___x_4759_, 3, v___f_4767_); -lean_ctor_set(v___x_4759_, 2, v___f_4768_); -lean_ctor_set(v___x_4759_, 1, v___f_4761_); -lean_ctor_set(v___x_4759_, 0, v___x_4765_); -v___x_4770_ = v___x_4759_; -goto v_reusejp_4769_; +lean_ctor_set(v___x_4760_, 4, v___f_4767_); +lean_ctor_set(v___x_4760_, 3, v___f_4768_); +lean_ctor_set(v___x_4760_, 2, v___f_4769_); +lean_ctor_set(v___x_4760_, 1, v___f_4762_); +lean_ctor_set(v___x_4760_, 0, v___x_4766_); +v___x_4771_ = v___x_4760_; +goto v_reusejp_4770_; +} +else +{ +lean_object* v_reuseFailAlloc_4835_; +v_reuseFailAlloc_4835_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4835_, 0, v___x_4766_); +lean_ctor_set(v_reuseFailAlloc_4835_, 1, v___f_4762_); +lean_ctor_set(v_reuseFailAlloc_4835_, 2, v___f_4769_); +lean_ctor_set(v_reuseFailAlloc_4835_, 3, v___f_4768_); +lean_ctor_set(v_reuseFailAlloc_4835_, 4, v___f_4767_); +v___x_4771_ = v_reuseFailAlloc_4835_; +goto v_reusejp_4770_; +} +v_reusejp_4770_: +{ +lean_object* v___x_4773_; +if (v_isShared_4754_ == 0) +{ +lean_ctor_set(v___x_4753_, 1, v___f_4763_); +lean_ctor_set(v___x_4753_, 0, v___x_4771_); +v___x_4773_ = v___x_4753_; +goto v_reusejp_4772_; } else { lean_object* v_reuseFailAlloc_4834_; -v_reuseFailAlloc_4834_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4834_, 0, v___x_4765_); -lean_ctor_set(v_reuseFailAlloc_4834_, 1, v___f_4761_); -lean_ctor_set(v_reuseFailAlloc_4834_, 2, v___f_4768_); -lean_ctor_set(v_reuseFailAlloc_4834_, 3, v___f_4767_); -lean_ctor_set(v_reuseFailAlloc_4834_, 4, v___f_4766_); -v___x_4770_ = v_reuseFailAlloc_4834_; -goto v_reusejp_4769_; +v_reuseFailAlloc_4834_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4834_, 0, v___x_4771_); +lean_ctor_set(v_reuseFailAlloc_4834_, 1, v___f_4763_); +v___x_4773_ = v_reuseFailAlloc_4834_; +goto v_reusejp_4772_; } -v_reusejp_4769_: +v_reusejp_4772_: { -lean_object* v___x_4772_; -if (v_isShared_4753_ == 0) +lean_object* v___x_4774_; lean_object* v_toApplicative_4775_; lean_object* v___x_4777_; uint8_t v_isShared_4778_; uint8_t v_isSharedCheck_4832_; +v___x_4774_ = l_ReaderT_instMonad___redArg(v___x_4773_); +v_toApplicative_4775_ = lean_ctor_get(v___x_4774_, 0); +v_isSharedCheck_4832_ = !lean_is_exclusive(v___x_4774_); +if (v_isSharedCheck_4832_ == 0) { -lean_ctor_set(v___x_4752_, 1, v___f_4762_); -lean_ctor_set(v___x_4752_, 0, v___x_4770_); -v___x_4772_ = v___x_4752_; -goto v_reusejp_4771_; +lean_object* v_unused_4833_; +v_unused_4833_ = lean_ctor_get(v___x_4774_, 1); +lean_dec(v_unused_4833_); +v___x_4777_ = v___x_4774_; +v_isShared_4778_ = v_isSharedCheck_4832_; +goto v_resetjp_4776_; } else { -lean_object* v_reuseFailAlloc_4833_; -v_reuseFailAlloc_4833_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4833_, 0, v___x_4770_); -lean_ctor_set(v_reuseFailAlloc_4833_, 1, v___f_4762_); -v___x_4772_ = v_reuseFailAlloc_4833_; -goto v_reusejp_4771_; +lean_inc(v_toApplicative_4775_); +lean_dec(v___x_4774_); +v___x_4777_ = lean_box(0); +v_isShared_4778_ = v_isSharedCheck_4832_; +goto v_resetjp_4776_; } -v_reusejp_4771_: +v_resetjp_4776_: { -lean_object* v___x_4773_; lean_object* v_toApplicative_4774_; lean_object* v___x_4776_; uint8_t v_isShared_4777_; uint8_t v_isSharedCheck_4831_; -v___x_4773_ = l_ReaderT_instMonad___redArg(v___x_4772_); -v_toApplicative_4774_ = lean_ctor_get(v___x_4773_, 0); -v_isSharedCheck_4831_ = !lean_is_exclusive(v___x_4773_); -if (v_isSharedCheck_4831_ == 0) +lean_object* v_toFunctor_4779_; lean_object* v_toSeq_4780_; lean_object* v_toSeqLeft_4781_; lean_object* v_toSeqRight_4782_; lean_object* v___x_4784_; uint8_t v_isShared_4785_; uint8_t v_isSharedCheck_4830_; +v_toFunctor_4779_ = lean_ctor_get(v_toApplicative_4775_, 0); +v_toSeq_4780_ = lean_ctor_get(v_toApplicative_4775_, 2); +v_toSeqLeft_4781_ = lean_ctor_get(v_toApplicative_4775_, 3); +v_toSeqRight_4782_ = lean_ctor_get(v_toApplicative_4775_, 4); +v_isSharedCheck_4830_ = !lean_is_exclusive(v_toApplicative_4775_); +if (v_isSharedCheck_4830_ == 0) { -lean_object* v_unused_4832_; -v_unused_4832_ = lean_ctor_get(v___x_4773_, 1); -lean_dec(v_unused_4832_); -v___x_4776_ = v___x_4773_; -v_isShared_4777_ = v_isSharedCheck_4831_; -goto v_resetjp_4775_; +lean_object* v_unused_4831_; +v_unused_4831_ = lean_ctor_get(v_toApplicative_4775_, 1); +lean_dec(v_unused_4831_); +v___x_4784_ = v_toApplicative_4775_; +v_isShared_4785_ = v_isSharedCheck_4830_; +goto v_resetjp_4783_; } else { -lean_inc(v_toApplicative_4774_); -lean_dec(v___x_4773_); -v___x_4776_ = lean_box(0); -v_isShared_4777_ = v_isSharedCheck_4831_; -goto v_resetjp_4775_; +lean_inc(v_toSeqRight_4782_); +lean_inc(v_toSeqLeft_4781_); +lean_inc(v_toSeq_4780_); +lean_inc(v_toFunctor_4779_); +lean_dec(v_toApplicative_4775_); +v___x_4784_ = lean_box(0); +v_isShared_4785_ = v_isSharedCheck_4830_; +goto v_resetjp_4783_; } -v_resetjp_4775_: +v_resetjp_4783_: { -lean_object* v_toFunctor_4778_; lean_object* v_toSeq_4779_; lean_object* v_toSeqLeft_4780_; lean_object* v_toSeqRight_4781_; lean_object* v___x_4783_; uint8_t v_isShared_4784_; uint8_t v_isSharedCheck_4829_; -v_toFunctor_4778_ = lean_ctor_get(v_toApplicative_4774_, 0); -v_toSeq_4779_ = lean_ctor_get(v_toApplicative_4774_, 2); -v_toSeqLeft_4780_ = lean_ctor_get(v_toApplicative_4774_, 3); -v_toSeqRight_4781_ = lean_ctor_get(v_toApplicative_4774_, 4); -v_isSharedCheck_4829_ = !lean_is_exclusive(v_toApplicative_4774_); -if (v_isSharedCheck_4829_ == 0) +lean_object* v___f_4786_; lean_object* v___f_4787_; lean_object* v___f_4788_; lean_object* v___f_4789_; lean_object* v___x_4790_; lean_object* v___f_4791_; lean_object* v___f_4792_; lean_object* v___f_4793_; lean_object* v___x_4795_; +v___f_4786_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__4)); +v___f_4787_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__5)); +lean_inc_ref(v_toFunctor_4779_); +v___f_4788_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); +lean_closure_set(v___f_4788_, 0, v_toFunctor_4779_); +v___f_4789_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4789_, 0, v_toFunctor_4779_); +v___x_4790_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4790_, 0, v___f_4788_); +lean_ctor_set(v___x_4790_, 1, v___f_4789_); +v___f_4791_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); +lean_closure_set(v___f_4791_, 0, v_toSeqRight_4782_); +v___f_4792_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); +lean_closure_set(v___f_4792_, 0, v_toSeqLeft_4781_); +v___f_4793_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); +lean_closure_set(v___f_4793_, 0, v_toSeq_4780_); +if (v_isShared_4785_ == 0) { -lean_object* v_unused_4830_; -v_unused_4830_ = lean_ctor_get(v_toApplicative_4774_, 1); -lean_dec(v_unused_4830_); -v___x_4783_ = v_toApplicative_4774_; -v_isShared_4784_ = v_isSharedCheck_4829_; -goto v_resetjp_4782_; +lean_ctor_set(v___x_4784_, 4, v___f_4791_); +lean_ctor_set(v___x_4784_, 3, v___f_4792_); +lean_ctor_set(v___x_4784_, 2, v___f_4793_); +lean_ctor_set(v___x_4784_, 1, v___f_4786_); +lean_ctor_set(v___x_4784_, 0, v___x_4790_); +v___x_4795_ = v___x_4784_; +goto v_reusejp_4794_; } else { -lean_inc(v_toSeqRight_4781_); -lean_inc(v_toSeqLeft_4780_); -lean_inc(v_toSeq_4779_); -lean_inc(v_toFunctor_4778_); -lean_dec(v_toApplicative_4774_); -v___x_4783_ = lean_box(0); -v_isShared_4784_ = v_isSharedCheck_4829_; -goto v_resetjp_4782_; +lean_object* v_reuseFailAlloc_4829_; +v_reuseFailAlloc_4829_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_4829_, 0, v___x_4790_); +lean_ctor_set(v_reuseFailAlloc_4829_, 1, v___f_4786_); +lean_ctor_set(v_reuseFailAlloc_4829_, 2, v___f_4793_); +lean_ctor_set(v_reuseFailAlloc_4829_, 3, v___f_4792_); +lean_ctor_set(v_reuseFailAlloc_4829_, 4, v___f_4791_); +v___x_4795_ = v_reuseFailAlloc_4829_; +goto v_reusejp_4794_; } -v_resetjp_4782_: +v_reusejp_4794_: { -lean_object* v___f_4785_; lean_object* v___f_4786_; lean_object* v___f_4787_; lean_object* v___f_4788_; lean_object* v___x_4789_; lean_object* v___f_4790_; lean_object* v___f_4791_; lean_object* v___f_4792_; lean_object* v___x_4794_; -v___f_4785_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__4)); -v___f_4786_ = ((lean_object*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___closed__5)); -lean_inc_ref(v_toFunctor_4778_); -v___f_4787_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__0), 6, 1); -lean_closure_set(v___f_4787_, 0, v_toFunctor_4778_); -v___f_4788_ = lean_alloc_closure((void*)(l_ReaderT_instFunctorOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4788_, 0, v_toFunctor_4778_); -v___x_4789_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4789_, 0, v___f_4787_); -lean_ctor_set(v___x_4789_, 1, v___f_4788_); -v___f_4790_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__1), 6, 1); -lean_closure_set(v___f_4790_, 0, v_toSeqRight_4781_); -v___f_4791_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__3), 6, 1); -lean_closure_set(v___f_4791_, 0, v_toSeqLeft_4780_); -v___f_4792_ = lean_alloc_closure((void*)(l_ReaderT_instApplicativeOfMonad___redArg___lam__4), 6, 1); -lean_closure_set(v___f_4792_, 0, v_toSeq_4779_); -if (v_isShared_4784_ == 0) +lean_object* v___x_4797_; +if (v_isShared_4778_ == 0) { -lean_ctor_set(v___x_4783_, 4, v___f_4790_); -lean_ctor_set(v___x_4783_, 3, v___f_4791_); -lean_ctor_set(v___x_4783_, 2, v___f_4792_); -lean_ctor_set(v___x_4783_, 1, v___f_4785_); -lean_ctor_set(v___x_4783_, 0, v___x_4789_); -v___x_4794_ = v___x_4783_; -goto v_reusejp_4793_; +lean_ctor_set(v___x_4777_, 1, v___f_4787_); +lean_ctor_set(v___x_4777_, 0, v___x_4795_); +v___x_4797_ = v___x_4777_; +goto v_reusejp_4796_; } else { lean_object* v_reuseFailAlloc_4828_; -v_reuseFailAlloc_4828_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_4828_, 0, v___x_4789_); -lean_ctor_set(v_reuseFailAlloc_4828_, 1, v___f_4785_); -lean_ctor_set(v_reuseFailAlloc_4828_, 2, v___f_4792_); -lean_ctor_set(v_reuseFailAlloc_4828_, 3, v___f_4791_); -lean_ctor_set(v_reuseFailAlloc_4828_, 4, v___f_4790_); -v___x_4794_ = v_reuseFailAlloc_4828_; -goto v_reusejp_4793_; +v_reuseFailAlloc_4828_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_4828_, 0, v___x_4795_); +lean_ctor_set(v_reuseFailAlloc_4828_, 1, v___f_4787_); +v___x_4797_ = v_reuseFailAlloc_4828_; +goto v_reusejp_4796_; } -v_reusejp_4793_: +v_reusejp_4796_: { -lean_object* v___x_4796_; -if (v_isShared_4777_ == 0) +lean_object* v___x_4798_; lean_object* v___x_4799_; uint8_t v___x_4800_; +v___x_4798_ = lean_array_get_size(v_acc_4744_); +v___x_4799_ = lean_array_get_size(v_declInfos_4741_); +v___x_4800_ = lean_nat_dec_lt(v___x_4798_, v___x_4799_); +if (v___x_4800_ == 0) { -lean_ctor_set(v___x_4776_, 1, v___f_4786_); -lean_ctor_set(v___x_4776_, 0, v___x_4794_); -v___x_4796_ = v___x_4776_; -goto v_reusejp_4795_; +lean_object* v___x_4801_; +lean_dec_ref(v___x_4797_); +lean_dec_ref(v_declInfos_4741_); +v___x_4801_ = lean_apply_6(v_k_4742_, v_acc_4744_, v___y_4745_, v___y_4746_, v___y_4747_, v___y_4748_, lean_box(0)); +return v___x_4801_; } else { -lean_object* v_reuseFailAlloc_4827_; -v_reuseFailAlloc_4827_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_4827_, 0, v___x_4794_); -lean_ctor_set(v_reuseFailAlloc_4827_, 1, v___f_4786_); -v___x_4796_ = v_reuseFailAlloc_4827_; -goto v_reusejp_4795_; -} -v_reusejp_4795_: -{ -lean_object* v___x_4797_; lean_object* v___x_4798_; uint8_t v___x_4799_; -v___x_4797_ = lean_array_get_size(v_acc_4743_); -v___x_4798_ = lean_array_get_size(v_declInfos_4740_); -v___x_4799_ = lean_nat_dec_lt(v___x_4797_, v___x_4798_); -if (v___x_4799_ == 0) -{ -lean_object* v___x_4800_; -lean_dec_ref(v___x_4796_); -lean_dec_ref(v_declInfos_4740_); -v___x_4800_ = lean_apply_6(v_k_4741_, v_acc_4743_, v___y_4744_, v___y_4745_, v___y_4746_, v___y_4747_, lean_box(0)); -return v___x_4800_; -} -else -{ -lean_object* v___f_4801_; lean_object* v___x_4802_; uint8_t v___x_4803_; lean_object* v___f_4804_; lean_object* v___x_4805_; lean_object* v___x_4806_; lean_object* v___x_4807_; lean_object* v___x_4808_; lean_object* v_snd_4809_; lean_object* v_fst_4810_; lean_object* v_fst_4811_; lean_object* v_snd_4812_; lean_object* v___x_4813_; -v___f_4801_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0___boxed), 7, 1); -lean_closure_set(v___f_4801_, 0, v___x_4796_); -v___x_4802_ = lean_box(0); -v___x_4803_ = 0; -v___f_4804_ = lean_alloc_closure((void*)(l_Pi_instInhabited___redArg___lam__0), 2, 1); -lean_closure_set(v___f_4804_, 0, v___f_4801_); -v___x_4805_ = lean_box(v___x_4803_); -v___x_4806_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4806_, 0, v___x_4805_); -lean_ctor_set(v___x_4806_, 1, v___f_4804_); +lean_object* v___f_4802_; lean_object* v___x_4803_; uint8_t v___x_4804_; lean_object* v___f_4805_; lean_object* v___x_4806_; lean_object* v___x_4807_; lean_object* v___x_4808_; lean_object* v___x_4809_; lean_object* v_snd_4810_; lean_object* v_fst_4811_; lean_object* v_fst_4812_; lean_object* v_snd_4813_; lean_object* v___x_4814_; +v___f_4802_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__0___boxed), 7, 1); +lean_closure_set(v___f_4802_, 0, v___x_4797_); +v___x_4803_ = lean_box(0); +v___x_4804_ = 0; +v___f_4805_ = lean_alloc_closure((void*)(l_Pi_instInhabited___redArg___lam__0), 2, 1); +lean_closure_set(v___f_4805_, 0, v___f_4802_); +v___x_4806_ = lean_box(v___x_4804_); v___x_4807_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4807_, 0, v___x_4802_); -lean_ctor_set(v___x_4807_, 1, v___x_4806_); -v___x_4808_ = lean_array_get_borrowed(v___x_4807_, v_declInfos_4740_, v___x_4797_); -v_snd_4809_ = lean_ctor_get(v___x_4808_, 1); -v_fst_4810_ = lean_ctor_get(v___x_4808_, 0); -lean_inc(v_fst_4810_); -v_fst_4811_ = lean_ctor_get(v_snd_4809_, 0); +lean_ctor_set(v___x_4807_, 0, v___x_4806_); +lean_ctor_set(v___x_4807_, 1, v___f_4805_); +v___x_4808_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4808_, 0, v___x_4803_); +lean_ctor_set(v___x_4808_, 1, v___x_4807_); +v___x_4809_ = lean_array_get_borrowed(v___x_4808_, v_declInfos_4741_, v___x_4798_); +v_snd_4810_ = lean_ctor_get(v___x_4809_, 1); +v_fst_4811_ = lean_ctor_get(v___x_4809_, 0); lean_inc(v_fst_4811_); -v_snd_4812_ = lean_ctor_get(v_snd_4809_, 1); -lean_inc(v_snd_4812_); -lean_inc(v___y_4747_); -lean_inc_ref(v___y_4746_); -lean_inc(v___y_4745_); -lean_inc_ref(v___y_4744_); -lean_inc_ref(v_acc_4743_); -v___x_4813_ = lean_apply_6(v_snd_4812_, v_acc_4743_, v___y_4744_, v___y_4745_, v___y_4746_, v___y_4747_, lean_box(0)); -if (lean_obj_tag(v___x_4813_) == 0) +v_fst_4812_ = lean_ctor_get(v_snd_4810_, 0); +lean_inc(v_fst_4812_); +v_snd_4813_ = lean_ctor_get(v_snd_4810_, 1); +lean_inc(v_snd_4813_); +lean_inc(v___y_4748_); +lean_inc_ref(v___y_4747_); +lean_inc(v___y_4746_); +lean_inc_ref(v___y_4745_); +lean_inc_ref(v_acc_4744_); +v___x_4814_ = lean_apply_6(v_snd_4813_, v_acc_4744_, v___y_4745_, v___y_4746_, v___y_4747_, v___y_4748_, lean_box(0)); +if (lean_obj_tag(v___x_4814_) == 0) { -lean_object* v_a_4814_; lean_object* v___x_4815_; lean_object* v___f_4816_; uint8_t v___x_4817_; lean_object* v___x_4818_; -v_a_4814_ = lean_ctor_get(v___x_4813_, 0); -lean_inc(v_a_4814_); -lean_dec_ref(v___x_4813_); -v___x_4815_ = lean_box(v_kind_4742_); -v___f_4816_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1___boxed), 10, 4); -lean_closure_set(v___f_4816_, 0, v_acc_4743_); -lean_closure_set(v___f_4816_, 1, v_declInfos_4740_); -lean_closure_set(v___f_4816_, 2, v_k_4741_); -lean_closure_set(v___f_4816_, 3, v___x_4815_); -v___x_4817_ = lean_unbox(v_fst_4811_); +lean_object* v_a_4815_; lean_object* v___x_4816_; lean_object* v___f_4817_; uint8_t v___x_4818_; lean_object* v___x_4819_; +v_a_4815_ = lean_ctor_get(v___x_4814_, 0); +lean_inc(v_a_4815_); +lean_dec_ref(v___x_4814_); +v___x_4816_ = lean_box(v_kind_4743_); +v___f_4817_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1___boxed), 10, 4); +lean_closure_set(v___f_4817_, 0, v_acc_4744_); +lean_closure_set(v___f_4817_, 1, v_declInfos_4741_); +lean_closure_set(v___f_4817_, 2, v_k_4742_); +lean_closure_set(v___f_4817_, 3, v___x_4816_); +v___x_4818_ = lean_unbox(v_fst_4812_); +lean_dec(v_fst_4812_); +v___x_4819_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts_go_spec__0___redArg(v_fst_4811_, v___x_4818_, v_a_4815_, v___f_4817_, v_kind_4743_, v___y_4745_, v___y_4746_, v___y_4747_, v___y_4748_); +return v___x_4819_; +} +else +{ +lean_object* v_a_4820_; lean_object* v___x_4822_; uint8_t v_isShared_4823_; uint8_t v_isSharedCheck_4827_; +lean_dec(v_fst_4812_); lean_dec(v_fst_4811_); -v___x_4818_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts_go_spec__0___redArg(v_fst_4810_, v___x_4817_, v_a_4814_, v___f_4816_, v_kind_4742_, v___y_4744_, v___y_4745_, v___y_4746_, v___y_4747_); -return v___x_4818_; +lean_dec(v___y_4748_); +lean_dec_ref(v___y_4747_); +lean_dec(v___y_4746_); +lean_dec_ref(v___y_4745_); +lean_dec_ref(v_acc_4744_); +lean_dec_ref(v_k_4742_); +lean_dec_ref(v_declInfos_4741_); +v_a_4820_ = lean_ctor_get(v___x_4814_, 0); +v_isSharedCheck_4827_ = !lean_is_exclusive(v___x_4814_); +if (v_isSharedCheck_4827_ == 0) +{ +v___x_4822_ = v___x_4814_; +v_isShared_4823_ = v_isSharedCheck_4827_; +goto v_resetjp_4821_; } else { -lean_object* v_a_4819_; lean_object* v___x_4821_; uint8_t v_isShared_4822_; uint8_t v_isSharedCheck_4826_; -lean_dec(v_fst_4811_); -lean_dec(v_fst_4810_); -lean_dec(v___y_4747_); -lean_dec_ref(v___y_4746_); -lean_dec(v___y_4745_); -lean_dec_ref(v___y_4744_); -lean_dec_ref(v_acc_4743_); -lean_dec_ref(v_k_4741_); -lean_dec_ref(v_declInfos_4740_); -v_a_4819_ = lean_ctor_get(v___x_4813_, 0); -v_isSharedCheck_4826_ = !lean_is_exclusive(v___x_4813_); -if (v_isSharedCheck_4826_ == 0) +lean_inc(v_a_4820_); +lean_dec(v___x_4814_); +v___x_4822_ = lean_box(0); +v_isShared_4823_ = v_isSharedCheck_4827_; +goto v_resetjp_4821_; +} +v_resetjp_4821_: { -v___x_4821_ = v___x_4813_; -v_isShared_4822_ = v_isSharedCheck_4826_; -goto v_resetjp_4820_; +lean_object* v___x_4825_; +if (v_isShared_4823_ == 0) +{ +v___x_4825_ = v___x_4822_; +goto v_reusejp_4824_; } else { -lean_inc(v_a_4819_); -lean_dec(v___x_4813_); -v___x_4821_ = lean_box(0); -v_isShared_4822_ = v_isSharedCheck_4826_; -goto v_resetjp_4820_; +lean_object* v_reuseFailAlloc_4826_; +v_reuseFailAlloc_4826_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4826_, 0, v_a_4820_); +v___x_4825_ = v_reuseFailAlloc_4826_; +goto v_reusejp_4824_; } -v_resetjp_4820_: +v_reusejp_4824_: { -lean_object* v___x_4824_; -if (v_isShared_4822_ == 0) -{ -v___x_4824_ = v___x_4821_; -goto v_reusejp_4823_; -} -else -{ -lean_object* v_reuseFailAlloc_4825_; -v_reuseFailAlloc_4825_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4825_, 0, v_a_4819_); -v___x_4824_ = v_reuseFailAlloc_4825_; -goto v_reusejp_4823_; -} -v_reusejp_4823_: -{ -return v___x_4824_; +return v___x_4825_; } } } @@ -16436,272 +16455,272 @@ return v___x_4824_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1(lean_object* v_acc_4839_, lean_object* v_declInfos_4840_, lean_object* v_k_4841_, uint8_t v_kind_4842_, lean_object* v_x_4843_, lean_object* v___y_4844_, lean_object* v___y_4845_, lean_object* v___y_4846_, lean_object* v___y_4847_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___lam__1(lean_object* v_acc_4840_, lean_object* v_declInfos_4841_, lean_object* v_k_4842_, uint8_t v_kind_4843_, lean_object* v_x_4844_, lean_object* v___y_4845_, lean_object* v___y_4846_, lean_object* v___y_4847_, lean_object* v___y_4848_){ _start: { -lean_object* v___x_4849_; lean_object* v___x_4850_; -v___x_4849_ = lean_array_push(v_acc_4839_, v_x_4843_); -v___x_4850_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4840_, v_k_4841_, v_kind_4842_, v___x_4849_, v___y_4844_, v___y_4845_, v___y_4846_, v___y_4847_); -return v___x_4850_; +lean_object* v___x_4850_; lean_object* v___x_4851_; +v___x_4850_ = lean_array_push(v_acc_4840_, v_x_4844_); +v___x_4851_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4841_, v_k_4842_, v_kind_4843_, v___x_4850_, v___y_4845_, v___y_4846_, v___y_4847_, v___y_4848_); +return v___x_4851_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___boxed(lean_object* v_declInfos_4851_, lean_object* v_k_4852_, lean_object* v_kind_4853_, lean_object* v_acc_4854_, lean_object* v___y_4855_, lean_object* v___y_4856_, lean_object* v___y_4857_, lean_object* v___y_4858_, lean_object* v___y_4859_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg___boxed(lean_object* v_declInfos_4852_, lean_object* v_k_4853_, lean_object* v_kind_4854_, lean_object* v_acc_4855_, lean_object* v___y_4856_, lean_object* v___y_4857_, lean_object* v___y_4858_, lean_object* v___y_4859_, lean_object* v___y_4860_){ _start: { -uint8_t v_kind_boxed_4860_; lean_object* v_res_4861_; -v_kind_boxed_4860_ = lean_unbox(v_kind_4853_); -v_res_4861_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4851_, v_k_4852_, v_kind_boxed_4860_, v_acc_4854_, v___y_4855_, v___y_4856_, v___y_4857_, v___y_4858_); -return v_res_4861_; +uint8_t v_kind_boxed_4861_; lean_object* v_res_4862_; +v_kind_boxed_4861_ = lean_unbox(v_kind_4854_); +v_res_4862_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4852_, v_k_4853_, v_kind_boxed_4861_, v_acc_4855_, v___y_4856_, v___y_4857_, v___y_4858_, v___y_4859_); +return v_res_4862_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(lean_object* v_inst_4862_, lean_object* v_declInfos_4863_, lean_object* v_k_4864_, uint8_t v_kind_4865_, lean_object* v___y_4866_, lean_object* v___y_4867_, lean_object* v___y_4868_, lean_object* v___y_4869_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(lean_object* v_inst_4863_, lean_object* v_declInfos_4864_, lean_object* v_k_4865_, uint8_t v_kind_4866_, lean_object* v___y_4867_, lean_object* v___y_4868_, lean_object* v___y_4869_, lean_object* v___y_4870_){ _start: { -lean_object* v___x_4871_; lean_object* v___x_4872_; -v___x_4871_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg___closed__0)); -v___x_4872_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4863_, v_k_4864_, v_kind_4865_, v___x_4871_, v___y_4866_, v___y_4867_, v___y_4868_, v___y_4869_); -return v___x_4872_; +lean_object* v___x_4872_; lean_object* v___x_4873_; +v___x_4872_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg___closed__0)); +v___x_4873_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_4864_, v_k_4865_, v_kind_4866_, v___x_4872_, v___y_4867_, v___y_4868_, v___y_4869_, v___y_4870_); +return v___x_4873_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg___boxed(lean_object* v_inst_4873_, lean_object* v_declInfos_4874_, lean_object* v_k_4875_, lean_object* v_kind_4876_, lean_object* v___y_4877_, lean_object* v___y_4878_, lean_object* v___y_4879_, lean_object* v___y_4880_, lean_object* v___y_4881_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg___boxed(lean_object* v_inst_4874_, lean_object* v_declInfos_4875_, lean_object* v_k_4876_, lean_object* v_kind_4877_, lean_object* v___y_4878_, lean_object* v___y_4879_, lean_object* v___y_4880_, lean_object* v___y_4881_, lean_object* v___y_4882_){ _start: { -uint8_t v_kind_boxed_4882_; lean_object* v_res_4883_; -v_kind_boxed_4882_ = lean_unbox(v_kind_4876_); -v_res_4883_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_4873_, v_declInfos_4874_, v_k_4875_, v_kind_boxed_4882_, v___y_4877_, v___y_4878_, v___y_4879_, v___y_4880_); -lean_dec(v_inst_4873_); -return v_res_4883_; +uint8_t v_kind_boxed_4883_; lean_object* v_res_4884_; +v_kind_boxed_4883_ = lean_unbox(v_kind_4877_); +v_res_4884_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_4874_, v_declInfos_4875_, v_k_4876_, v_kind_boxed_4883_, v___y_4878_, v___y_4879_, v___y_4880_, v___y_4881_); +lean_dec(v_inst_4874_); +return v_res_4884_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(lean_object* v_inst_4884_, lean_object* v_declInfos_4885_, lean_object* v_k_4886_, uint8_t v_kind_4887_, lean_object* v___y_4888_, lean_object* v___y_4889_, lean_object* v___y_4890_, lean_object* v___y_4891_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(lean_object* v_inst_4885_, lean_object* v_declInfos_4886_, lean_object* v_k_4887_, uint8_t v_kind_4888_, lean_object* v___y_4889_, lean_object* v___y_4890_, lean_object* v___y_4891_, lean_object* v___y_4892_){ _start: { -size_t v_sz_4893_; size_t v___x_4894_; lean_object* v___x_4895_; lean_object* v___x_4896_; -v_sz_4893_ = lean_array_size(v_declInfos_4885_); -v___x_4894_ = ((size_t)0ULL); -v___x_4895_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(v_sz_4893_, v___x_4894_, v_declInfos_4885_); -v___x_4896_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_4884_, v___x_4895_, v_k_4886_, v_kind_4887_, v___y_4888_, v___y_4889_, v___y_4890_, v___y_4891_); -return v___x_4896_; +size_t v_sz_4894_; size_t v___x_4895_; lean_object* v___x_4896_; lean_object* v___x_4897_; +v_sz_4894_ = lean_array_size(v_declInfos_4886_); +v___x_4895_ = ((size_t)0ULL); +v___x_4896_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__6(v_sz_4894_, v___x_4895_, v_declInfos_4886_); +v___x_4897_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_4885_, v___x_4896_, v_k_4887_, v_kind_4888_, v___y_4889_, v___y_4890_, v___y_4891_, v___y_4892_); +return v___x_4897_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg___boxed(lean_object* v_inst_4897_, lean_object* v_declInfos_4898_, lean_object* v_k_4899_, lean_object* v_kind_4900_, lean_object* v___y_4901_, lean_object* v___y_4902_, lean_object* v___y_4903_, lean_object* v___y_4904_, lean_object* v___y_4905_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg___boxed(lean_object* v_inst_4898_, lean_object* v_declInfos_4899_, lean_object* v_k_4900_, lean_object* v_kind_4901_, lean_object* v___y_4902_, lean_object* v___y_4903_, lean_object* v___y_4904_, lean_object* v___y_4905_, lean_object* v___y_4906_){ _start: { -uint8_t v_kind_boxed_4906_; lean_object* v_res_4907_; -v_kind_boxed_4906_ = lean_unbox(v_kind_4900_); -v_res_4907_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_4897_, v_declInfos_4898_, v_k_4899_, v_kind_boxed_4906_, v___y_4901_, v___y_4902_, v___y_4903_, v___y_4904_); -lean_dec(v_inst_4897_); -return v_res_4907_; +uint8_t v_kind_boxed_4907_; lean_object* v_res_4908_; +v_kind_boxed_4907_ = lean_unbox(v_kind_4901_); +v_res_4908_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_4898_, v_declInfos_4899_, v_k_4900_, v_kind_boxed_4907_, v___y_4902_, v___y_4903_, v___y_4904_, v___y_4905_); +lean_dec(v_inst_4898_); +return v_res_4908_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(lean_object* v_inst_4908_, lean_object* v_declInfos_4909_, lean_object* v_k_4910_, uint8_t v_kind_4911_, lean_object* v___y_4912_, lean_object* v___y_4913_, lean_object* v___y_4914_, lean_object* v___y_4915_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(lean_object* v_inst_4909_, lean_object* v_declInfos_4910_, lean_object* v_k_4911_, uint8_t v_kind_4912_, lean_object* v___y_4913_, lean_object* v___y_4914_, lean_object* v___y_4915_, lean_object* v___y_4916_){ _start: { -size_t v_sz_4917_; size_t v___x_4918_; lean_object* v___x_4919_; lean_object* v___x_4920_; -v_sz_4917_ = lean_array_size(v_declInfos_4909_); -v___x_4918_ = ((size_t)0ULL); -v___x_4919_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(v_sz_4917_, v___x_4918_, v_declInfos_4909_); -v___x_4920_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_4908_, v___x_4919_, v_k_4910_, v_kind_4911_, v___y_4912_, v___y_4913_, v___y_4914_, v___y_4915_); -return v___x_4920_; +size_t v_sz_4918_; size_t v___x_4919_; lean_object* v___x_4920_; lean_object* v___x_4921_; +v_sz_4918_ = lean_array_size(v_declInfos_4910_); +v___x_4919_ = ((size_t)0ULL); +v___x_4920_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__4(v_sz_4918_, v___x_4919_, v_declInfos_4910_); +v___x_4921_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_4909_, v___x_4920_, v_k_4911_, v_kind_4912_, v___y_4913_, v___y_4914_, v___y_4915_, v___y_4916_); +return v___x_4921_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg___boxed(lean_object* v_inst_4921_, lean_object* v_declInfos_4922_, lean_object* v_k_4923_, lean_object* v_kind_4924_, lean_object* v___y_4925_, lean_object* v___y_4926_, lean_object* v___y_4927_, lean_object* v___y_4928_, lean_object* v___y_4929_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg___boxed(lean_object* v_inst_4922_, lean_object* v_declInfos_4923_, lean_object* v_k_4924_, lean_object* v_kind_4925_, lean_object* v___y_4926_, lean_object* v___y_4927_, lean_object* v___y_4928_, lean_object* v___y_4929_, lean_object* v___y_4930_){ _start: { -uint8_t v_kind_boxed_4930_; lean_object* v_res_4931_; -v_kind_boxed_4930_ = lean_unbox(v_kind_4924_); -v_res_4931_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v_inst_4921_, v_declInfos_4922_, v_k_4923_, v_kind_boxed_4930_, v___y_4925_, v___y_4926_, v___y_4927_, v___y_4928_); -lean_dec(v_inst_4921_); -return v_res_4931_; +uint8_t v_kind_boxed_4931_; lean_object* v_res_4932_; +v_kind_boxed_4931_ = lean_unbox(v_kind_4925_); +v_res_4932_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v_inst_4922_, v_declInfos_4923_, v_k_4924_, v_kind_boxed_4931_, v___y_4926_, v___y_4927_, v___y_4928_, v___y_4929_); +lean_dec(v_inst_4922_); +return v_res_4932_; } } static lean_object* _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2(void){ _start: { -lean_object* v___x_4934_; lean_object* v___x_4935_; lean_object* v___x_4936_; lean_object* v___x_4937_; lean_object* v___x_4938_; lean_object* v___x_4939_; -v___x_4934_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__1)); -v___x_4935_ = lean_unsigned_to_nat(8u); -v___x_4936_ = lean_unsigned_to_nat(291u); -v___x_4937_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__0)); -v___x_4938_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1___closed__0)); -v___x_4939_ = l_mkPanicMessageWithDecl(v___x_4938_, v___x_4937_, v___x_4936_, v___x_4935_, v___x_4934_); -return v___x_4939_; +lean_object* v___x_4935_; lean_object* v___x_4936_; lean_object* v___x_4937_; lean_object* v___x_4938_; lean_object* v___x_4939_; lean_object* v___x_4940_; +v___x_4935_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__1)); +v___x_4936_ = lean_unsigned_to_nat(8u); +v___x_4937_ = lean_unsigned_to_nat(293u); +v___x_4938_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__0)); +v___x_4939_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___lam__1___closed__0)); +v___x_4940_ = l_mkPanicMessageWithDecl(v___x_4939_, v___x_4938_, v___x_4937_, v___x_4936_, v___x_4935_); +return v___x_4940_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2(lean_object* v___f_4940_, lean_object* v___x_4941_, lean_object* v___x_4942_, lean_object* v___y_4943_, lean_object* v___x_4944_, lean_object* v_overlaps_4945_, lean_object* v_a_4946_, lean_object* v_fst_4947_, lean_object* v___x_4948_, lean_object* v_a_4949_, lean_object* v___x_4950_, lean_object* v___x_4951_, lean_object* v___x_4952_, lean_object* v___x_4953_, lean_object* v___x_4954_, lean_object* v___x_4955_, lean_object* v_matchDeclName_4956_, lean_object* v___x_4957_, lean_object* v___x_4958_, lean_object* v___x_4959_, lean_object* v___x_4960_, lean_object* v_altVars_4961_, lean_object* v_args_4962_, lean_object* v___mask_4963_, lean_object* v_altResultType_4964_, lean_object* v___y_4965_, lean_object* v___y_4966_, lean_object* v___y_4967_, lean_object* v___y_4968_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2(lean_object* v___f_4941_, lean_object* v___x_4942_, lean_object* v___x_4943_, lean_object* v___y_4944_, lean_object* v___x_4945_, lean_object* v_overlaps_4946_, lean_object* v_a_4947_, lean_object* v_fst_4948_, lean_object* v___x_4949_, lean_object* v_a_4950_, lean_object* v___x_4951_, lean_object* v___x_4952_, lean_object* v___x_4953_, lean_object* v___x_4954_, lean_object* v___x_4955_, lean_object* v___x_4956_, lean_object* v_matchDeclName_4957_, lean_object* v___x_4958_, lean_object* v___x_4959_, lean_object* v___x_4960_, lean_object* v___x_4961_, lean_object* v_altVars_4962_, lean_object* v_args_4963_, lean_object* v___mask_4964_, lean_object* v_altResultType_4965_, lean_object* v___y_4966_, lean_object* v___y_4967_, lean_object* v___y_4968_, lean_object* v___y_4969_){ _start: { -uint8_t v___x_4970_; lean_object* v___x_4971_; -v___x_4970_ = 0; -lean_inc(v___y_4968_); -lean_inc_ref(v___y_4967_); -lean_inc(v___y_4966_); -lean_inc_ref(v___y_4965_); -v___x_4971_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_altResultType_4964_, v___f_4940_, v___x_4970_, v___y_4965_, v___y_4966_, v___y_4967_, v___y_4968_); -if (lean_obj_tag(v___x_4971_) == 0) +uint8_t v___x_4971_; lean_object* v___x_4972_; +v___x_4971_ = 0; +lean_inc(v___y_4969_); +lean_inc_ref(v___y_4968_); +lean_inc(v___y_4967_); +lean_inc_ref(v___y_4966_); +v___x_4972_ = l_Lean_Meta_forallTelescope___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__0___redArg(v_altResultType_4965_, v___f_4941_, v___x_4971_, v___y_4966_, v___y_4967_, v___y_4968_, v___y_4969_); +if (lean_obj_tag(v___x_4972_) == 0) { -lean_object* v_a_4972_; lean_object* v_start_4973_; lean_object* v_stop_4974_; lean_object* v___x_4975_; lean_object* v___x_4976_; uint8_t v___x_4977_; -v_a_4972_ = lean_ctor_get(v___x_4971_, 0); -lean_inc(v_a_4972_); -lean_dec_ref(v___x_4971_); -v_start_4973_ = lean_ctor_get(v___x_4941_, 1); -v_stop_4974_ = lean_ctor_get(v___x_4941_, 2); -v___x_4975_ = lean_array_get_size(v_a_4972_); -v___x_4976_ = lean_nat_sub(v_stop_4974_, v_start_4973_); -v___x_4977_ = lean_nat_dec_eq(v___x_4975_, v___x_4976_); -if (v___x_4977_ == 0) +lean_object* v_a_4973_; lean_object* v_start_4974_; lean_object* v_stop_4975_; lean_object* v___x_4976_; lean_object* v___x_4977_; uint8_t v___x_4978_; +v_a_4973_ = lean_ctor_get(v___x_4972_, 0); +lean_inc(v_a_4973_); +lean_dec_ref(v___x_4972_); +v_start_4974_ = lean_ctor_get(v___x_4942_, 1); +v_stop_4975_ = lean_ctor_get(v___x_4942_, 2); +v___x_4976_ = lean_array_get_size(v_a_4973_); +v___x_4977_ = lean_nat_sub(v_stop_4975_, v_start_4974_); +v___x_4978_ = lean_nat_dec_eq(v___x_4976_, v___x_4977_); +if (v___x_4978_ == 0) { -lean_object* v___x_4978_; lean_object* v___x_4979_; -lean_dec(v___x_4976_); -lean_dec(v_a_4972_); -lean_dec_ref(v_args_4962_); -lean_dec_ref(v_altVars_4961_); +lean_object* v___x_4979_; lean_object* v___x_4980_; +lean_dec(v___x_4977_); +lean_dec(v_a_4973_); +lean_dec_ref(v_args_4963_); +lean_dec_ref(v_altVars_4962_); +lean_dec(v___x_4960_); lean_dec(v___x_4959_); lean_dec(v___x_4958_); -lean_dec(v___x_4957_); -lean_dec(v_matchDeclName_4956_); -lean_dec(v___x_4955_); +lean_dec(v_matchDeclName_4957_); +lean_dec(v___x_4956_); +lean_dec_ref(v___x_4955_); lean_dec_ref(v___x_4954_); -lean_dec_ref(v___x_4953_); -lean_dec(v___x_4952_); -lean_dec_ref(v___x_4951_); -lean_dec(v___x_4950_); -lean_dec_ref(v_a_4949_); -lean_dec_ref(v___x_4948_); -lean_dec(v_fst_4947_); -lean_dec(v_a_4946_); -lean_dec_ref(v_overlaps_4945_); -lean_dec(v___x_4944_); -lean_dec_ref(v___y_4943_); -lean_dec(v___x_4942_); -lean_dec_ref(v___x_4941_); -v___x_4978_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2); -v___x_4979_ = l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(v___x_4978_, v___y_4965_, v___y_4966_, v___y_4967_, v___y_4968_); -return v___x_4979_; +lean_dec(v___x_4953_); +lean_dec_ref(v___x_4952_); +lean_dec(v___x_4951_); +lean_dec_ref(v_a_4950_); +lean_dec_ref(v___x_4949_); +lean_dec(v_fst_4948_); +lean_dec(v_a_4947_); +lean_dec_ref(v_overlaps_4946_); +lean_dec(v___x_4945_); +lean_dec_ref(v___y_4944_); +lean_dec(v___x_4943_); +lean_dec_ref(v___x_4942_); +v___x_4979_ = lean_obj_once(&l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2, &l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2_once, _init_l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___closed__2); +v___x_4980_ = l_panic___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__1(v___x_4979_, v___y_4966_, v___y_4967_, v___y_4968_, v___y_4969_); +return v___x_4980_; } else { -lean_object* v___x_4980_; lean_object* v___x_4981_; lean_object* v___x_4982_; lean_object* v___x_4983_; -v___x_4980_ = lean_mk_empty_array_with_capacity(v___x_4942_); -lean_inc(v___x_4942_); -lean_inc(v_a_4972_); -v___x_4981_ = l_Array_toSubarray___redArg(v_a_4972_, v___x_4942_, v___x_4975_); -v___x_4982_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_4982_, 0, v___x_4980_); -lean_ctor_set(v___x_4982_, 1, v___x_4981_); -lean_inc(v___y_4968_); -lean_inc_ref(v___y_4967_); -lean_inc(v___y_4966_); -lean_inc_ref(v___y_4965_); -lean_inc_ref(v___x_4941_); -v___x_4983_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v___x_4941_, v___x_4982_, v___y_4965_, v___y_4966_, v___y_4967_, v___y_4968_); -if (lean_obj_tag(v___x_4983_) == 0) +lean_object* v___x_4981_; lean_object* v___x_4982_; lean_object* v___x_4983_; lean_object* v___x_4984_; +v___x_4981_ = lean_mk_empty_array_with_capacity(v___x_4943_); +lean_inc(v___x_4943_); +lean_inc(v_a_4973_); +v___x_4982_ = l_Array_toSubarray___redArg(v_a_4973_, v___x_4943_, v___x_4976_); +v___x_4983_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_4983_, 0, v___x_4981_); +lean_ctor_set(v___x_4983_, 1, v___x_4982_); +lean_inc(v___y_4969_); +lean_inc_ref(v___y_4968_); +lean_inc(v___y_4967_); +lean_inc_ref(v___y_4966_); +lean_inc_ref(v___x_4942_); +v___x_4984_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v___x_4942_, v___x_4983_, v___y_4966_, v___y_4967_, v___y_4968_, v___y_4969_); +if (lean_obj_tag(v___x_4984_) == 0) { -lean_object* v_a_4984_; lean_object* v_fst_4985_; lean_object* v___x_4986_; lean_object* v___x_4987_; lean_object* v___f_4988_; uint8_t v___x_4989_; lean_object* v___x_4990_; -v_a_4984_ = lean_ctor_get(v___x_4983_, 0); -lean_inc(v_a_4984_); -lean_dec_ref(v___x_4983_); -v_fst_4985_ = lean_ctor_get(v_a_4984_, 0); -lean_inc(v_fst_4985_); -lean_dec(v_a_4984_); -v___x_4986_ = lean_box(v___x_4970_); -v___x_4987_ = lean_box(v___x_4977_); -v___f_4988_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1___boxed), 32, 26); -lean_closure_set(v___f_4988_, 0, v___y_4943_); -lean_closure_set(v___f_4988_, 1, v_args_4962_); -lean_closure_set(v___f_4988_, 2, v___x_4944_); -lean_closure_set(v___f_4988_, 3, v_overlaps_4945_); -lean_closure_set(v___f_4988_, 4, v_a_4946_); -lean_closure_set(v___f_4988_, 5, v_fst_4947_); -lean_closure_set(v___f_4988_, 6, v_a_4972_); -lean_closure_set(v___f_4988_, 7, v___x_4975_); -lean_closure_set(v___f_4988_, 8, v___x_4948_); -lean_closure_set(v___f_4988_, 9, v___x_4942_); -lean_closure_set(v___f_4988_, 10, v___x_4941_); -lean_closure_set(v___f_4988_, 11, v_altVars_4961_); -lean_closure_set(v___f_4988_, 12, v___x_4986_); -lean_closure_set(v___f_4988_, 13, v___x_4987_); -lean_closure_set(v___f_4988_, 14, v_a_4949_); -lean_closure_set(v___f_4988_, 15, v___x_4950_); -lean_closure_set(v___f_4988_, 16, v___x_4951_); -lean_closure_set(v___f_4988_, 17, v___x_4952_); -lean_closure_set(v___f_4988_, 18, v___x_4953_); -lean_closure_set(v___f_4988_, 19, v___x_4954_); -lean_closure_set(v___f_4988_, 20, v___x_4976_); -lean_closure_set(v___f_4988_, 21, v___x_4955_); -lean_closure_set(v___f_4988_, 22, v_matchDeclName_4956_); -lean_closure_set(v___f_4988_, 23, v___x_4957_); -lean_closure_set(v___f_4988_, 24, v___x_4958_); -lean_closure_set(v___f_4988_, 25, v___x_4959_); -v___x_4989_ = 0; -v___x_4990_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v___x_4960_, v_fst_4985_, v___f_4988_, v___x_4989_, v___y_4965_, v___y_4966_, v___y_4967_, v___y_4968_); -return v___x_4990_; +lean_object* v_a_4985_; lean_object* v_fst_4986_; lean_object* v___x_4987_; lean_object* v___x_4988_; lean_object* v___f_4989_; uint8_t v___x_4990_; lean_object* v___x_4991_; +v_a_4985_ = lean_ctor_get(v___x_4984_, 0); +lean_inc(v_a_4985_); +lean_dec_ref(v___x_4984_); +v_fst_4986_ = lean_ctor_get(v_a_4985_, 0); +lean_inc(v_fst_4986_); +lean_dec(v_a_4985_); +v___x_4987_ = lean_box(v___x_4971_); +v___x_4988_ = lean_box(v___x_4978_); +v___f_4989_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__1___boxed), 32, 26); +lean_closure_set(v___f_4989_, 0, v___y_4944_); +lean_closure_set(v___f_4989_, 1, v_args_4963_); +lean_closure_set(v___f_4989_, 2, v___x_4945_); +lean_closure_set(v___f_4989_, 3, v_overlaps_4946_); +lean_closure_set(v___f_4989_, 4, v_a_4947_); +lean_closure_set(v___f_4989_, 5, v_fst_4948_); +lean_closure_set(v___f_4989_, 6, v_a_4973_); +lean_closure_set(v___f_4989_, 7, v___x_4976_); +lean_closure_set(v___f_4989_, 8, v___x_4949_); +lean_closure_set(v___f_4989_, 9, v___x_4943_); +lean_closure_set(v___f_4989_, 10, v___x_4942_); +lean_closure_set(v___f_4989_, 11, v_altVars_4962_); +lean_closure_set(v___f_4989_, 12, v___x_4987_); +lean_closure_set(v___f_4989_, 13, v___x_4988_); +lean_closure_set(v___f_4989_, 14, v_a_4950_); +lean_closure_set(v___f_4989_, 15, v___x_4951_); +lean_closure_set(v___f_4989_, 16, v___x_4952_); +lean_closure_set(v___f_4989_, 17, v___x_4953_); +lean_closure_set(v___f_4989_, 18, v___x_4954_); +lean_closure_set(v___f_4989_, 19, v___x_4955_); +lean_closure_set(v___f_4989_, 20, v___x_4977_); +lean_closure_set(v___f_4989_, 21, v___x_4956_); +lean_closure_set(v___f_4989_, 22, v_matchDeclName_4957_); +lean_closure_set(v___f_4989_, 23, v___x_4958_); +lean_closure_set(v___f_4989_, 24, v___x_4959_); +lean_closure_set(v___f_4989_, 25, v___x_4960_); +v___x_4990_ = 0; +v___x_4991_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v___x_4961_, v_fst_4986_, v___f_4989_, v___x_4990_, v___y_4966_, v___y_4967_, v___y_4968_, v___y_4969_); +return v___x_4991_; } else { -lean_object* v_a_4991_; lean_object* v___x_4993_; uint8_t v_isShared_4994_; uint8_t v_isSharedCheck_4998_; -lean_dec(v___x_4976_); -lean_dec(v_a_4972_); -lean_dec(v___y_4968_); -lean_dec_ref(v___y_4967_); -lean_dec(v___y_4966_); -lean_dec_ref(v___y_4965_); -lean_dec_ref(v_args_4962_); -lean_dec_ref(v_altVars_4961_); +lean_object* v_a_4992_; lean_object* v___x_4994_; uint8_t v_isShared_4995_; uint8_t v_isSharedCheck_4999_; +lean_dec(v___x_4977_); +lean_dec(v_a_4973_); +lean_dec(v___y_4969_); +lean_dec_ref(v___y_4968_); +lean_dec(v___y_4967_); +lean_dec_ref(v___y_4966_); +lean_dec_ref(v_args_4963_); +lean_dec_ref(v_altVars_4962_); +lean_dec(v___x_4960_); lean_dec(v___x_4959_); lean_dec(v___x_4958_); -lean_dec(v___x_4957_); -lean_dec(v_matchDeclName_4956_); -lean_dec(v___x_4955_); +lean_dec(v_matchDeclName_4957_); +lean_dec(v___x_4956_); +lean_dec_ref(v___x_4955_); lean_dec_ref(v___x_4954_); -lean_dec_ref(v___x_4953_); -lean_dec(v___x_4952_); -lean_dec_ref(v___x_4951_); -lean_dec(v___x_4950_); -lean_dec_ref(v_a_4949_); -lean_dec_ref(v___x_4948_); -lean_dec(v_fst_4947_); -lean_dec(v_a_4946_); -lean_dec_ref(v_overlaps_4945_); -lean_dec(v___x_4944_); -lean_dec_ref(v___y_4943_); -lean_dec(v___x_4942_); -lean_dec_ref(v___x_4941_); -v_a_4991_ = lean_ctor_get(v___x_4983_, 0); -v_isSharedCheck_4998_ = !lean_is_exclusive(v___x_4983_); -if (v_isSharedCheck_4998_ == 0) +lean_dec(v___x_4953_); +lean_dec_ref(v___x_4952_); +lean_dec(v___x_4951_); +lean_dec_ref(v_a_4950_); +lean_dec_ref(v___x_4949_); +lean_dec(v_fst_4948_); +lean_dec(v_a_4947_); +lean_dec_ref(v_overlaps_4946_); +lean_dec(v___x_4945_); +lean_dec_ref(v___y_4944_); +lean_dec(v___x_4943_); +lean_dec_ref(v___x_4942_); +v_a_4992_ = lean_ctor_get(v___x_4984_, 0); +v_isSharedCheck_4999_ = !lean_is_exclusive(v___x_4984_); +if (v_isSharedCheck_4999_ == 0) { -v___x_4993_ = v___x_4983_; -v_isShared_4994_ = v_isSharedCheck_4998_; -goto v_resetjp_4992_; +v___x_4994_ = v___x_4984_; +v_isShared_4995_ = v_isSharedCheck_4999_; +goto v_resetjp_4993_; } else { -lean_inc(v_a_4991_); -lean_dec(v___x_4983_); -v___x_4993_ = lean_box(0); -v_isShared_4994_ = v_isSharedCheck_4998_; -goto v_resetjp_4992_; +lean_inc(v_a_4992_); +lean_dec(v___x_4984_); +v___x_4994_ = lean_box(0); +v_isShared_4995_ = v_isSharedCheck_4999_; +goto v_resetjp_4993_; } -v_resetjp_4992_: +v_resetjp_4993_: { -lean_object* v___x_4996_; -if (v_isShared_4994_ == 0) +lean_object* v___x_4997_; +if (v_isShared_4995_ == 0) { -v___x_4996_ = v___x_4993_; -goto v_reusejp_4995_; +v___x_4997_ = v___x_4994_; +goto v_reusejp_4996_; } else { -lean_object* v_reuseFailAlloc_4997_; -v_reuseFailAlloc_4997_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_4997_, 0, v_a_4991_); -v___x_4996_ = v_reuseFailAlloc_4997_; -goto v_reusejp_4995_; +lean_object* v_reuseFailAlloc_4998_; +v_reuseFailAlloc_4998_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_4998_, 0, v_a_4992_); +v___x_4997_ = v_reuseFailAlloc_4998_; +goto v_reusejp_4996_; } -v_reusejp_4995_: +v_reusejp_4996_: { -return v___x_4996_; +return v___x_4997_; } } } @@ -16709,456 +16728,456 @@ return v___x_4996_; } else { -lean_object* v_a_4999_; lean_object* v___x_5001_; uint8_t v_isShared_5002_; uint8_t v_isSharedCheck_5006_; -lean_dec(v___y_4968_); -lean_dec_ref(v___y_4967_); -lean_dec(v___y_4966_); -lean_dec_ref(v___y_4965_); -lean_dec_ref(v_args_4962_); -lean_dec_ref(v_altVars_4961_); +lean_object* v_a_5000_; lean_object* v___x_5002_; uint8_t v_isShared_5003_; uint8_t v_isSharedCheck_5007_; +lean_dec(v___y_4969_); +lean_dec_ref(v___y_4968_); +lean_dec(v___y_4967_); +lean_dec_ref(v___y_4966_); +lean_dec_ref(v_args_4963_); +lean_dec_ref(v_altVars_4962_); +lean_dec(v___x_4960_); lean_dec(v___x_4959_); lean_dec(v___x_4958_); -lean_dec(v___x_4957_); -lean_dec(v_matchDeclName_4956_); -lean_dec(v___x_4955_); +lean_dec(v_matchDeclName_4957_); +lean_dec(v___x_4956_); +lean_dec_ref(v___x_4955_); lean_dec_ref(v___x_4954_); -lean_dec_ref(v___x_4953_); -lean_dec(v___x_4952_); -lean_dec_ref(v___x_4951_); -lean_dec(v___x_4950_); -lean_dec_ref(v_a_4949_); -lean_dec_ref(v___x_4948_); -lean_dec(v_fst_4947_); -lean_dec(v_a_4946_); -lean_dec_ref(v_overlaps_4945_); -lean_dec(v___x_4944_); -lean_dec_ref(v___y_4943_); -lean_dec(v___x_4942_); -lean_dec_ref(v___x_4941_); -v_a_4999_ = lean_ctor_get(v___x_4971_, 0); -v_isSharedCheck_5006_ = !lean_is_exclusive(v___x_4971_); -if (v_isSharedCheck_5006_ == 0) +lean_dec(v___x_4953_); +lean_dec_ref(v___x_4952_); +lean_dec(v___x_4951_); +lean_dec_ref(v_a_4950_); +lean_dec_ref(v___x_4949_); +lean_dec(v_fst_4948_); +lean_dec(v_a_4947_); +lean_dec_ref(v_overlaps_4946_); +lean_dec(v___x_4945_); +lean_dec_ref(v___y_4944_); +lean_dec(v___x_4943_); +lean_dec_ref(v___x_4942_); +v_a_5000_ = lean_ctor_get(v___x_4972_, 0); +v_isSharedCheck_5007_ = !lean_is_exclusive(v___x_4972_); +if (v_isSharedCheck_5007_ == 0) { -v___x_5001_ = v___x_4971_; -v_isShared_5002_ = v_isSharedCheck_5006_; -goto v_resetjp_5000_; +v___x_5002_ = v___x_4972_; +v_isShared_5003_ = v_isSharedCheck_5007_; +goto v_resetjp_5001_; } else { -lean_inc(v_a_4999_); -lean_dec(v___x_4971_); -v___x_5001_ = lean_box(0); -v_isShared_5002_ = v_isSharedCheck_5006_; -goto v_resetjp_5000_; +lean_inc(v_a_5000_); +lean_dec(v___x_4972_); +v___x_5002_ = lean_box(0); +v_isShared_5003_ = v_isSharedCheck_5007_; +goto v_resetjp_5001_; } -v_resetjp_5000_: +v_resetjp_5001_: { -lean_object* v___x_5004_; -if (v_isShared_5002_ == 0) +lean_object* v___x_5005_; +if (v_isShared_5003_ == 0) { -v___x_5004_ = v___x_5001_; -goto v_reusejp_5003_; +v___x_5005_ = v___x_5002_; +goto v_reusejp_5004_; } else { -lean_object* v_reuseFailAlloc_5005_; -v_reuseFailAlloc_5005_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5005_, 0, v_a_4999_); -v___x_5004_ = v_reuseFailAlloc_5005_; -goto v_reusejp_5003_; +lean_object* v_reuseFailAlloc_5006_; +v_reuseFailAlloc_5006_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5006_, 0, v_a_5000_); +v___x_5005_ = v_reuseFailAlloc_5006_; +goto v_reusejp_5004_; } -v_reusejp_5003_: +v_reusejp_5004_: { -return v___x_5004_; +return v___x_5005_; } } } } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___boxed(lean_object** _args){ -lean_object* v___f_5007_ = _args[0]; -lean_object* v___x_5008_ = _args[1]; -lean_object* v___x_5009_ = _args[2]; -lean_object* v___y_5010_ = _args[3]; -lean_object* v___x_5011_ = _args[4]; -lean_object* v_overlaps_5012_ = _args[5]; -lean_object* v_a_5013_ = _args[6]; -lean_object* v_fst_5014_ = _args[7]; -lean_object* v___x_5015_ = _args[8]; -lean_object* v_a_5016_ = _args[9]; -lean_object* v___x_5017_ = _args[10]; -lean_object* v___x_5018_ = _args[11]; -lean_object* v___x_5019_ = _args[12]; -lean_object* v___x_5020_ = _args[13]; -lean_object* v___x_5021_ = _args[14]; -lean_object* v___x_5022_ = _args[15]; -lean_object* v_matchDeclName_5023_ = _args[16]; -lean_object* v___x_5024_ = _args[17]; -lean_object* v___x_5025_ = _args[18]; -lean_object* v___x_5026_ = _args[19]; -lean_object* v___x_5027_ = _args[20]; -lean_object* v_altVars_5028_ = _args[21]; -lean_object* v_args_5029_ = _args[22]; -lean_object* v___mask_5030_ = _args[23]; -lean_object* v_altResultType_5031_ = _args[24]; -lean_object* v___y_5032_ = _args[25]; -lean_object* v___y_5033_ = _args[26]; -lean_object* v___y_5034_ = _args[27]; -lean_object* v___y_5035_ = _args[28]; -lean_object* v___y_5036_ = _args[29]; +lean_object* v___f_5008_ = _args[0]; +lean_object* v___x_5009_ = _args[1]; +lean_object* v___x_5010_ = _args[2]; +lean_object* v___y_5011_ = _args[3]; +lean_object* v___x_5012_ = _args[4]; +lean_object* v_overlaps_5013_ = _args[5]; +lean_object* v_a_5014_ = _args[6]; +lean_object* v_fst_5015_ = _args[7]; +lean_object* v___x_5016_ = _args[8]; +lean_object* v_a_5017_ = _args[9]; +lean_object* v___x_5018_ = _args[10]; +lean_object* v___x_5019_ = _args[11]; +lean_object* v___x_5020_ = _args[12]; +lean_object* v___x_5021_ = _args[13]; +lean_object* v___x_5022_ = _args[14]; +lean_object* v___x_5023_ = _args[15]; +lean_object* v_matchDeclName_5024_ = _args[16]; +lean_object* v___x_5025_ = _args[17]; +lean_object* v___x_5026_ = _args[18]; +lean_object* v___x_5027_ = _args[19]; +lean_object* v___x_5028_ = _args[20]; +lean_object* v_altVars_5029_ = _args[21]; +lean_object* v_args_5030_ = _args[22]; +lean_object* v___mask_5031_ = _args[23]; +lean_object* v_altResultType_5032_ = _args[24]; +lean_object* v___y_5033_ = _args[25]; +lean_object* v___y_5034_ = _args[26]; +lean_object* v___y_5035_ = _args[27]; +lean_object* v___y_5036_ = _args[28]; +lean_object* v___y_5037_ = _args[29]; _start: { -lean_object* v_res_5037_; -v_res_5037_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2(v___f_5007_, v___x_5008_, v___x_5009_, v___y_5010_, v___x_5011_, v_overlaps_5012_, v_a_5013_, v_fst_5014_, v___x_5015_, v_a_5016_, v___x_5017_, v___x_5018_, v___x_5019_, v___x_5020_, v___x_5021_, v___x_5022_, v_matchDeclName_5023_, v___x_5024_, v___x_5025_, v___x_5026_, v___x_5027_, v_altVars_5028_, v_args_5029_, v___mask_5030_, v_altResultType_5031_, v___y_5032_, v___y_5033_, v___y_5034_, v___y_5035_); -lean_dec_ref(v___mask_5030_); -lean_dec_ref(v___x_5027_); -return v_res_5037_; +lean_object* v_res_5038_; +v_res_5038_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2(v___f_5008_, v___x_5009_, v___x_5010_, v___y_5011_, v___x_5012_, v_overlaps_5013_, v_a_5014_, v_fst_5015_, v___x_5016_, v_a_5017_, v___x_5018_, v___x_5019_, v___x_5020_, v___x_5021_, v___x_5022_, v___x_5023_, v_matchDeclName_5024_, v___x_5025_, v___x_5026_, v___x_5027_, v___x_5028_, v_altVars_5029_, v_args_5030_, v___mask_5031_, v_altResultType_5032_, v___y_5033_, v___y_5034_, v___y_5035_, v___y_5036_); +lean_dec_ref(v___mask_5031_); +lean_dec_ref(v___x_5028_); +return v_res_5038_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(lean_object* v_upperBound_5039_, lean_object* v_val_5040_, lean_object* v_matchDeclName_5041_, lean_object* v___x_5042_, lean_object* v___x_5043_, lean_object* v_a_5044_, lean_object* v___x_5045_, lean_object* v___x_5046_, lean_object* v___x_5047_, lean_object* v___x_5048_, lean_object* v___x_5049_, lean_object* v___x_5050_, lean_object* v_a_5051_, lean_object* v_b_5052_, lean_object* v___y_5053_, lean_object* v___y_5054_, lean_object* v___y_5055_, lean_object* v___y_5056_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(lean_object* v_upperBound_5040_, lean_object* v_val_5041_, lean_object* v_matchDeclName_5042_, lean_object* v___x_5043_, lean_object* v___x_5044_, lean_object* v_a_5045_, lean_object* v___x_5046_, lean_object* v___x_5047_, lean_object* v___x_5048_, lean_object* v___x_5049_, lean_object* v___x_5050_, lean_object* v___x_5051_, lean_object* v_a_5052_, lean_object* v_b_5053_, lean_object* v___y_5054_, lean_object* v___y_5055_, lean_object* v___y_5056_, lean_object* v___y_5057_){ _start: { -uint8_t v___x_5058_; -v___x_5058_ = lean_nat_dec_lt(v_a_5051_, v_upperBound_5039_); -if (v___x_5058_ == 0) +uint8_t v___x_5059_; +v___x_5059_ = lean_nat_dec_lt(v_a_5052_, v_upperBound_5040_); +if (v___x_5059_ == 0) { -lean_object* v___x_5059_; -lean_dec(v___y_5056_); -lean_dec_ref(v___y_5055_); -lean_dec(v___y_5054_); -lean_dec_ref(v___y_5053_); -lean_dec(v_a_5051_); +lean_object* v___x_5060_; +lean_dec(v___y_5057_); +lean_dec_ref(v___y_5056_); +lean_dec(v___y_5055_); +lean_dec_ref(v___y_5054_); +lean_dec(v_a_5052_); +lean_dec(v___x_5051_); lean_dec(v___x_5050_); -lean_dec(v___x_5049_); +lean_dec_ref(v___x_5049_); lean_dec_ref(v___x_5048_); lean_dec_ref(v___x_5047_); -lean_dec_ref(v___x_5046_); -lean_dec(v___x_5045_); -lean_dec_ref(v_a_5044_); -lean_dec(v___x_5043_); -lean_dec_ref(v___x_5042_); -lean_dec(v_matchDeclName_5041_); -lean_dec_ref(v_val_5040_); -v___x_5059_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5059_, 0, v_b_5052_); -return v___x_5059_; +lean_dec(v___x_5046_); +lean_dec_ref(v_a_5045_); +lean_dec(v___x_5044_); +lean_dec_ref(v___x_5043_); +lean_dec(v_matchDeclName_5042_); +lean_dec_ref(v_val_5041_); +v___x_5060_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5060_, 0, v_b_5053_); +return v___x_5060_; } else { -lean_object* v_snd_5060_; lean_object* v_fst_5061_; lean_object* v___x_5063_; uint8_t v_isShared_5064_; uint8_t v_isSharedCheck_5124_; -v_snd_5060_ = lean_ctor_get(v_b_5052_, 1); -v_fst_5061_ = lean_ctor_get(v_b_5052_, 0); -v_isSharedCheck_5124_ = !lean_is_exclusive(v_b_5052_); +lean_object* v_snd_5061_; lean_object* v_fst_5062_; lean_object* v___x_5064_; uint8_t v_isShared_5065_; uint8_t v_isSharedCheck_5125_; +v_snd_5061_ = lean_ctor_get(v_b_5053_, 1); +v_fst_5062_ = lean_ctor_get(v_b_5053_, 0); +v_isSharedCheck_5125_ = !lean_is_exclusive(v_b_5053_); +if (v_isSharedCheck_5125_ == 0) +{ +v___x_5064_ = v_b_5053_; +v_isShared_5065_ = v_isSharedCheck_5125_; +goto v_resetjp_5063_; +} +else +{ +lean_inc(v_snd_5061_); +lean_inc(v_fst_5062_); +lean_dec(v_b_5053_); +v___x_5064_ = lean_box(0); +v_isShared_5065_ = v_isSharedCheck_5125_; +goto v_resetjp_5063_; +} +v_resetjp_5063_: +{ +lean_object* v_fst_5066_; lean_object* v_snd_5067_; lean_object* v___x_5069_; uint8_t v_isShared_5070_; uint8_t v_isSharedCheck_5124_; +v_fst_5066_ = lean_ctor_get(v_snd_5061_, 0); +v_snd_5067_ = lean_ctor_get(v_snd_5061_, 1); +v_isSharedCheck_5124_ = !lean_is_exclusive(v_snd_5061_); if (v_isSharedCheck_5124_ == 0) { -v___x_5063_ = v_b_5052_; -v_isShared_5064_ = v_isSharedCheck_5124_; -goto v_resetjp_5062_; +v___x_5069_ = v_snd_5061_; +v_isShared_5070_ = v_isSharedCheck_5124_; +goto v_resetjp_5068_; } else { -lean_inc(v_snd_5060_); -lean_inc(v_fst_5061_); -lean_dec(v_b_5052_); -v___x_5063_ = lean_box(0); -v_isShared_5064_ = v_isSharedCheck_5124_; -goto v_resetjp_5062_; +lean_inc(v_snd_5067_); +lean_inc(v_fst_5066_); +lean_dec(v_snd_5061_); +v___x_5069_ = lean_box(0); +v_isShared_5070_ = v_isSharedCheck_5124_; +goto v_resetjp_5068_; } -v_resetjp_5062_: +v_resetjp_5068_: { -lean_object* v_fst_5065_; lean_object* v_snd_5066_; lean_object* v___x_5068_; uint8_t v_isShared_5069_; uint8_t v_isSharedCheck_5123_; -v_fst_5065_ = lean_ctor_get(v_snd_5060_, 0); -v_snd_5066_ = lean_ctor_get(v_snd_5060_, 1); -v_isSharedCheck_5123_ = !lean_is_exclusive(v_snd_5060_); -if (v_isSharedCheck_5123_ == 0) -{ -v___x_5068_ = v_snd_5060_; -v_isShared_5069_ = v_isSharedCheck_5123_; -goto v_resetjp_5067_; -} -else -{ -lean_inc(v_snd_5066_); -lean_inc(v_fst_5065_); -lean_dec(v_snd_5060_); -v___x_5068_ = lean_box(0); -v_isShared_5069_ = v_isSharedCheck_5123_; -goto v_resetjp_5067_; -} -v_resetjp_5067_: -{ -lean_object* v_altInfos_5070_; lean_object* v_overlaps_5071_; lean_object* v_start_5072_; lean_object* v_stop_5073_; lean_object* v___f_5074_; lean_object* v___x_5075_; lean_object* v___x_5076_; lean_object* v___x_5077_; lean_object* v___x_5078_; lean_object* v___x_5079_; lean_object* v___x_5080_; lean_object* v___x_5081_; lean_object* v___x_5082_; lean_object* v___x_5083_; lean_object* v___x_5084_; lean_object* v___x_5085_; lean_object* v___y_5087_; lean_object* v___x_5119_; uint8_t v___x_5120_; -v_altInfos_5070_ = lean_ctor_get(v_val_5040_, 2); -v_overlaps_5071_ = lean_ctor_get(v_val_5040_, 5); -v_start_5072_ = lean_ctor_get(v___x_5048_, 1); -v_stop_5073_ = lean_ctor_get(v___x_5048_, 2); -v___f_5074_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___closed__0)); -v___x_5075_ = l_Lean_Meta_Match_instInhabitedAltParamInfo_default; -v___x_5076_ = l_Lean_instInhabitedExpr; -v___x_5077_ = lean_unsigned_to_nat(0u); -v___x_5078_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg___closed__0)); -v___x_5079_ = lean_unsigned_to_nat(1u); -v___x_5080_ = lean_box(0); -v___x_5081_ = lean_array_get_borrowed(v___x_5075_, v_altInfos_5070_, v_a_5051_); -v___x_5082_ = l_Lean_Meta_Match_congrEqnThmSuffixBase; -lean_inc(v_matchDeclName_5041_); -v___x_5083_ = l_Lean_Name_str___override(v_matchDeclName_5041_, v___x_5082_); -lean_inc(v_snd_5066_); -v___x_5084_ = lean_name_append_index_after(v___x_5083_, v_snd_5066_); -lean_inc(v___x_5084_); -v___x_5085_ = lean_array_push(v_fst_5061_, v___x_5084_); -v___x_5119_ = lean_nat_sub(v_stop_5073_, v_start_5072_); -v___x_5120_ = lean_nat_dec_lt(v_a_5051_, v___x_5119_); -lean_dec(v___x_5119_); -if (v___x_5120_ == 0) -{ -lean_object* v___x_5121_; -v___x_5121_ = l_outOfBounds___redArg(v___x_5076_); -v___y_5087_ = v___x_5121_; -goto v___jp_5086_; -} -else +lean_object* v_altInfos_5071_; lean_object* v_overlaps_5072_; lean_object* v_start_5073_; lean_object* v_stop_5074_; lean_object* v___f_5075_; lean_object* v___x_5076_; lean_object* v___x_5077_; lean_object* v___x_5078_; lean_object* v___x_5079_; lean_object* v___x_5080_; lean_object* v___x_5081_; lean_object* v___x_5082_; lean_object* v___x_5083_; lean_object* v___x_5084_; lean_object* v___x_5085_; lean_object* v___x_5086_; lean_object* v___y_5088_; lean_object* v___x_5120_; uint8_t v___x_5121_; +v_altInfos_5071_ = lean_ctor_get(v_val_5041_, 2); +v_overlaps_5072_ = lean_ctor_get(v_val_5041_, 5); +v_start_5073_ = lean_ctor_get(v___x_5049_, 1); +v_stop_5074_ = lean_ctor_get(v___x_5049_, 2); +v___f_5075_ = ((lean_object*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___closed__0)); +v___x_5076_ = l_Lean_Meta_Match_instInhabitedAltParamInfo_default; +v___x_5077_ = l_Lean_instInhabitedExpr; +v___x_5078_ = lean_unsigned_to_nat(0u); +v___x_5079_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_withNewAlts___redArg___closed__0)); +v___x_5080_ = lean_unsigned_to_nat(1u); +v___x_5081_ = lean_box(0); +v___x_5082_ = lean_array_get_borrowed(v___x_5076_, v_altInfos_5071_, v_a_5052_); +v___x_5083_ = l_Lean_Meta_Match_congrEqnThmSuffixBase; +lean_inc(v_matchDeclName_5042_); +v___x_5084_ = l_Lean_Name_str___override(v_matchDeclName_5042_, v___x_5083_); +lean_inc(v_snd_5067_); +v___x_5085_ = lean_name_append_index_after(v___x_5084_, v_snd_5067_); +lean_inc(v___x_5085_); +v___x_5086_ = lean_array_push(v_fst_5062_, v___x_5085_); +v___x_5120_ = lean_nat_sub(v_stop_5074_, v_start_5073_); +v___x_5121_ = lean_nat_dec_lt(v_a_5052_, v___x_5120_); +lean_dec(v___x_5120_); +if (v___x_5121_ == 0) { lean_object* v___x_5122_; -v___x_5122_ = l_Subarray_get___redArg(v___x_5048_, v_a_5051_); -v___y_5087_ = v___x_5122_; -goto v___jp_5086_; +v___x_5122_ = l_outOfBounds___redArg(v___x_5077_); +v___y_5088_ = v___x_5122_; +goto v___jp_5087_; } -v___jp_5086_: +else { -lean_object* v___x_5088_; -lean_inc(v___y_5056_); -lean_inc_ref(v___y_5055_); -lean_inc(v___y_5054_); -lean_inc_ref(v___y_5053_); -lean_inc_ref(v___y_5087_); -v___x_5088_ = lean_infer_type(v___y_5087_, v___y_5053_, v___y_5054_, v___y_5055_, v___y_5056_); -if (lean_obj_tag(v___x_5088_) == 0) +lean_object* v___x_5123_; +v___x_5123_ = l_Subarray_get___redArg(v___x_5049_, v_a_5052_); +v___y_5088_ = v___x_5123_; +goto v___jp_5087_; +} +v___jp_5087_: { -lean_object* v_a_5089_; lean_object* v___f_5090_; lean_object* v___x_5091_; -v_a_5089_ = lean_ctor_get(v___x_5088_, 0); -lean_inc(v_a_5089_); -lean_dec_ref(v___x_5088_); +lean_object* v___x_5089_; +lean_inc(v___y_5057_); +lean_inc_ref(v___y_5056_); +lean_inc(v___y_5055_); +lean_inc_ref(v___y_5054_); +lean_inc_ref(v___y_5088_); +v___x_5089_ = lean_infer_type(v___y_5088_, v___y_5054_, v___y_5055_, v___y_5056_, v___y_5057_); +if (lean_obj_tag(v___x_5089_) == 0) +{ +lean_object* v_a_5090_; lean_object* v___f_5091_; lean_object* v___x_5092_; +v_a_5090_ = lean_ctor_get(v___x_5089_, 0); +lean_inc(v_a_5090_); +lean_dec_ref(v___x_5089_); +lean_inc(v___x_5051_); +lean_inc(v_matchDeclName_5042_); lean_inc(v___x_5050_); -lean_inc(v_matchDeclName_5041_); -lean_inc(v___x_5049_); +lean_inc_ref(v___x_5049_); lean_inc_ref(v___x_5048_); lean_inc_ref(v___x_5047_); -lean_inc_ref(v___x_5046_); -lean_inc(v___x_5045_); -lean_inc_ref(v_a_5044_); -lean_inc(v_fst_5065_); -lean_inc(v_a_5051_); -lean_inc_ref(v_overlaps_5071_); -lean_inc(v___x_5043_); -lean_inc_ref(v___x_5042_); -v___f_5090_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___boxed), 30, 21); -lean_closure_set(v___f_5090_, 0, v___f_5074_); -lean_closure_set(v___f_5090_, 1, v___x_5042_); -lean_closure_set(v___f_5090_, 2, v___x_5077_); -lean_closure_set(v___f_5090_, 3, v___y_5087_); -lean_closure_set(v___f_5090_, 4, v___x_5043_); -lean_closure_set(v___f_5090_, 5, v_overlaps_5071_); -lean_closure_set(v___f_5090_, 6, v_a_5051_); -lean_closure_set(v___f_5090_, 7, v_fst_5065_); -lean_closure_set(v___f_5090_, 8, v___x_5078_); -lean_closure_set(v___f_5090_, 9, v_a_5044_); -lean_closure_set(v___f_5090_, 10, v___x_5045_); -lean_closure_set(v___f_5090_, 11, v___x_5046_); -lean_closure_set(v___f_5090_, 12, v___x_5079_); -lean_closure_set(v___f_5090_, 13, v___x_5047_); -lean_closure_set(v___f_5090_, 14, v___x_5048_); -lean_closure_set(v___f_5090_, 15, v___x_5049_); -lean_closure_set(v___f_5090_, 16, v_matchDeclName_5041_); -lean_closure_set(v___f_5090_, 17, v___x_5084_); -lean_closure_set(v___f_5090_, 18, v___x_5050_); -lean_closure_set(v___f_5090_, 19, v___x_5080_); -lean_closure_set(v___f_5090_, 20, v___x_5076_); -lean_inc(v___y_5056_); -lean_inc_ref(v___y_5055_); -lean_inc(v___y_5054_); -lean_inc_ref(v___y_5053_); -lean_inc(v___x_5081_); -v___x_5091_ = l_Lean_Meta_Match_forallAltVarsTelescope___redArg(v_a_5089_, v___x_5081_, v___f_5090_, v___y_5053_, v___y_5054_, v___y_5055_, v___y_5056_); -if (lean_obj_tag(v___x_5091_) == 0) +lean_inc(v___x_5046_); +lean_inc_ref(v_a_5045_); +lean_inc(v_fst_5066_); +lean_inc(v_a_5052_); +lean_inc_ref(v_overlaps_5072_); +lean_inc(v___x_5044_); +lean_inc_ref(v___x_5043_); +v___f_5091_ = lean_alloc_closure((void*)(l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___lam__2___boxed), 30, 21); +lean_closure_set(v___f_5091_, 0, v___f_5075_); +lean_closure_set(v___f_5091_, 1, v___x_5043_); +lean_closure_set(v___f_5091_, 2, v___x_5078_); +lean_closure_set(v___f_5091_, 3, v___y_5088_); +lean_closure_set(v___f_5091_, 4, v___x_5044_); +lean_closure_set(v___f_5091_, 5, v_overlaps_5072_); +lean_closure_set(v___f_5091_, 6, v_a_5052_); +lean_closure_set(v___f_5091_, 7, v_fst_5066_); +lean_closure_set(v___f_5091_, 8, v___x_5079_); +lean_closure_set(v___f_5091_, 9, v_a_5045_); +lean_closure_set(v___f_5091_, 10, v___x_5046_); +lean_closure_set(v___f_5091_, 11, v___x_5047_); +lean_closure_set(v___f_5091_, 12, v___x_5080_); +lean_closure_set(v___f_5091_, 13, v___x_5048_); +lean_closure_set(v___f_5091_, 14, v___x_5049_); +lean_closure_set(v___f_5091_, 15, v___x_5050_); +lean_closure_set(v___f_5091_, 16, v_matchDeclName_5042_); +lean_closure_set(v___f_5091_, 17, v___x_5085_); +lean_closure_set(v___f_5091_, 18, v___x_5051_); +lean_closure_set(v___f_5091_, 19, v___x_5081_); +lean_closure_set(v___f_5091_, 20, v___x_5077_); +lean_inc(v___y_5057_); +lean_inc_ref(v___y_5056_); +lean_inc(v___y_5055_); +lean_inc_ref(v___y_5054_); +lean_inc(v___x_5082_); +v___x_5092_ = l_Lean_Meta_Match_forallAltVarsTelescope___redArg(v_a_5090_, v___x_5082_, v___f_5091_, v___y_5054_, v___y_5055_, v___y_5056_, v___y_5057_); +if (lean_obj_tag(v___x_5092_) == 0) { -lean_object* v_a_5092_; lean_object* v___x_5093_; lean_object* v___x_5094_; lean_object* v___x_5096_; -v_a_5092_ = lean_ctor_get(v___x_5091_, 0); -lean_inc(v_a_5092_); -lean_dec_ref(v___x_5091_); -v___x_5093_ = lean_array_push(v_fst_5065_, v_a_5092_); -v___x_5094_ = lean_nat_add(v_snd_5066_, v___x_5079_); -lean_dec(v_snd_5066_); -if (v_isShared_5069_ == 0) +lean_object* v_a_5093_; lean_object* v___x_5094_; lean_object* v___x_5095_; lean_object* v___x_5097_; +v_a_5093_ = lean_ctor_get(v___x_5092_, 0); +lean_inc(v_a_5093_); +lean_dec_ref(v___x_5092_); +v___x_5094_ = lean_array_push(v_fst_5066_, v_a_5093_); +v___x_5095_ = lean_nat_add(v_snd_5067_, v___x_5080_); +lean_dec(v_snd_5067_); +if (v_isShared_5070_ == 0) { -lean_ctor_set(v___x_5068_, 1, v___x_5094_); -lean_ctor_set(v___x_5068_, 0, v___x_5093_); -v___x_5096_ = v___x_5068_; -goto v_reusejp_5095_; +lean_ctor_set(v___x_5069_, 1, v___x_5095_); +lean_ctor_set(v___x_5069_, 0, v___x_5094_); +v___x_5097_ = v___x_5069_; +goto v_reusejp_5096_; +} +else +{ +lean_object* v_reuseFailAlloc_5103_; +v_reuseFailAlloc_5103_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_5103_, 0, v___x_5094_); +lean_ctor_set(v_reuseFailAlloc_5103_, 1, v___x_5095_); +v___x_5097_ = v_reuseFailAlloc_5103_; +goto v_reusejp_5096_; +} +v_reusejp_5096_: +{ +lean_object* v___x_5099_; +if (v_isShared_5065_ == 0) +{ +lean_ctor_set(v___x_5064_, 1, v___x_5097_); +lean_ctor_set(v___x_5064_, 0, v___x_5086_); +v___x_5099_ = v___x_5064_; +goto v_reusejp_5098_; } else { lean_object* v_reuseFailAlloc_5102_; v_reuseFailAlloc_5102_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5102_, 0, v___x_5093_); -lean_ctor_set(v_reuseFailAlloc_5102_, 1, v___x_5094_); -v___x_5096_ = v_reuseFailAlloc_5102_; -goto v_reusejp_5095_; +lean_ctor_set(v_reuseFailAlloc_5102_, 0, v___x_5086_); +lean_ctor_set(v_reuseFailAlloc_5102_, 1, v___x_5097_); +v___x_5099_ = v_reuseFailAlloc_5102_; +goto v_reusejp_5098_; } -v_reusejp_5095_: +v_reusejp_5098_: { -lean_object* v___x_5098_; -if (v_isShared_5064_ == 0) -{ -lean_ctor_set(v___x_5063_, 1, v___x_5096_); -lean_ctor_set(v___x_5063_, 0, v___x_5085_); -v___x_5098_ = v___x_5063_; -goto v_reusejp_5097_; -} -else -{ -lean_object* v_reuseFailAlloc_5101_; -v_reuseFailAlloc_5101_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_5101_, 0, v___x_5085_); -lean_ctor_set(v_reuseFailAlloc_5101_, 1, v___x_5096_); -v___x_5098_ = v_reuseFailAlloc_5101_; -goto v_reusejp_5097_; -} -v_reusejp_5097_: -{ -lean_object* v___x_5099_; -v___x_5099_ = lean_nat_add(v_a_5051_, v___x_5079_); -lean_dec(v_a_5051_); -v_a_5051_ = v___x_5099_; -v_b_5052_ = v___x_5098_; +lean_object* v___x_5100_; +v___x_5100_ = lean_nat_add(v_a_5052_, v___x_5080_); +lean_dec(v_a_5052_); +v_a_5052_ = v___x_5100_; +v_b_5053_ = v___x_5099_; goto _start; } } } else { -lean_object* v_a_5103_; lean_object* v___x_5105_; uint8_t v_isShared_5106_; uint8_t v_isSharedCheck_5110_; -lean_dec_ref(v___x_5085_); -lean_del_object(v___x_5068_); -lean_dec(v_snd_5066_); -lean_dec(v_fst_5065_); -lean_del_object(v___x_5063_); -lean_dec(v___y_5056_); -lean_dec_ref(v___y_5055_); -lean_dec(v___y_5054_); -lean_dec_ref(v___y_5053_); -lean_dec(v_a_5051_); +lean_object* v_a_5104_; lean_object* v___x_5106_; uint8_t v_isShared_5107_; uint8_t v_isSharedCheck_5111_; +lean_dec_ref(v___x_5086_); +lean_del_object(v___x_5069_); +lean_dec(v_snd_5067_); +lean_dec(v_fst_5066_); +lean_del_object(v___x_5064_); +lean_dec(v___y_5057_); +lean_dec_ref(v___y_5056_); +lean_dec(v___y_5055_); +lean_dec_ref(v___y_5054_); +lean_dec(v_a_5052_); +lean_dec(v___x_5051_); lean_dec(v___x_5050_); -lean_dec(v___x_5049_); +lean_dec_ref(v___x_5049_); lean_dec_ref(v___x_5048_); lean_dec_ref(v___x_5047_); -lean_dec_ref(v___x_5046_); -lean_dec(v___x_5045_); -lean_dec_ref(v_a_5044_); -lean_dec(v___x_5043_); -lean_dec_ref(v___x_5042_); -lean_dec(v_matchDeclName_5041_); -lean_dec_ref(v_val_5040_); -v_a_5103_ = lean_ctor_get(v___x_5091_, 0); -v_isSharedCheck_5110_ = !lean_is_exclusive(v___x_5091_); -if (v_isSharedCheck_5110_ == 0) +lean_dec(v___x_5046_); +lean_dec_ref(v_a_5045_); +lean_dec(v___x_5044_); +lean_dec_ref(v___x_5043_); +lean_dec(v_matchDeclName_5042_); +lean_dec_ref(v_val_5041_); +v_a_5104_ = lean_ctor_get(v___x_5092_, 0); +v_isSharedCheck_5111_ = !lean_is_exclusive(v___x_5092_); +if (v_isSharedCheck_5111_ == 0) { -v___x_5105_ = v___x_5091_; -v_isShared_5106_ = v_isSharedCheck_5110_; -goto v_resetjp_5104_; +v___x_5106_ = v___x_5092_; +v_isShared_5107_ = v_isSharedCheck_5111_; +goto v_resetjp_5105_; } else { -lean_inc(v_a_5103_); -lean_dec(v___x_5091_); -v___x_5105_ = lean_box(0); -v_isShared_5106_ = v_isSharedCheck_5110_; -goto v_resetjp_5104_; +lean_inc(v_a_5104_); +lean_dec(v___x_5092_); +v___x_5106_ = lean_box(0); +v_isShared_5107_ = v_isSharedCheck_5111_; +goto v_resetjp_5105_; } -v_resetjp_5104_: +v_resetjp_5105_: { -lean_object* v___x_5108_; -if (v_isShared_5106_ == 0) +lean_object* v___x_5109_; +if (v_isShared_5107_ == 0) { -v___x_5108_ = v___x_5105_; -goto v_reusejp_5107_; +v___x_5109_ = v___x_5106_; +goto v_reusejp_5108_; } else { -lean_object* v_reuseFailAlloc_5109_; -v_reuseFailAlloc_5109_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5109_, 0, v_a_5103_); -v___x_5108_ = v_reuseFailAlloc_5109_; -goto v_reusejp_5107_; +lean_object* v_reuseFailAlloc_5110_; +v_reuseFailAlloc_5110_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5110_, 0, v_a_5104_); +v___x_5109_ = v_reuseFailAlloc_5110_; +goto v_reusejp_5108_; } -v_reusejp_5107_: +v_reusejp_5108_: { -return v___x_5108_; +return v___x_5109_; } } } } else { -lean_object* v_a_5111_; lean_object* v___x_5113_; uint8_t v_isShared_5114_; uint8_t v_isSharedCheck_5118_; -lean_dec_ref(v___y_5087_); -lean_dec_ref(v___x_5085_); -lean_dec(v___x_5084_); -lean_del_object(v___x_5068_); -lean_dec(v_snd_5066_); -lean_dec(v_fst_5065_); -lean_del_object(v___x_5063_); -lean_dec(v___y_5056_); -lean_dec_ref(v___y_5055_); -lean_dec(v___y_5054_); -lean_dec_ref(v___y_5053_); -lean_dec(v_a_5051_); +lean_object* v_a_5112_; lean_object* v___x_5114_; uint8_t v_isShared_5115_; uint8_t v_isSharedCheck_5119_; +lean_dec_ref(v___y_5088_); +lean_dec_ref(v___x_5086_); +lean_dec(v___x_5085_); +lean_del_object(v___x_5069_); +lean_dec(v_snd_5067_); +lean_dec(v_fst_5066_); +lean_del_object(v___x_5064_); +lean_dec(v___y_5057_); +lean_dec_ref(v___y_5056_); +lean_dec(v___y_5055_); +lean_dec_ref(v___y_5054_); +lean_dec(v_a_5052_); +lean_dec(v___x_5051_); lean_dec(v___x_5050_); -lean_dec(v___x_5049_); +lean_dec_ref(v___x_5049_); lean_dec_ref(v___x_5048_); lean_dec_ref(v___x_5047_); -lean_dec_ref(v___x_5046_); -lean_dec(v___x_5045_); -lean_dec_ref(v_a_5044_); -lean_dec(v___x_5043_); -lean_dec_ref(v___x_5042_); -lean_dec(v_matchDeclName_5041_); -lean_dec_ref(v_val_5040_); -v_a_5111_ = lean_ctor_get(v___x_5088_, 0); -v_isSharedCheck_5118_ = !lean_is_exclusive(v___x_5088_); -if (v_isSharedCheck_5118_ == 0) +lean_dec(v___x_5046_); +lean_dec_ref(v_a_5045_); +lean_dec(v___x_5044_); +lean_dec_ref(v___x_5043_); +lean_dec(v_matchDeclName_5042_); +lean_dec_ref(v_val_5041_); +v_a_5112_ = lean_ctor_get(v___x_5089_, 0); +v_isSharedCheck_5119_ = !lean_is_exclusive(v___x_5089_); +if (v_isSharedCheck_5119_ == 0) { -v___x_5113_ = v___x_5088_; -v_isShared_5114_ = v_isSharedCheck_5118_; -goto v_resetjp_5112_; +v___x_5114_ = v___x_5089_; +v_isShared_5115_ = v_isSharedCheck_5119_; +goto v_resetjp_5113_; } else { -lean_inc(v_a_5111_); -lean_dec(v___x_5088_); -v___x_5113_ = lean_box(0); -v_isShared_5114_ = v_isSharedCheck_5118_; -goto v_resetjp_5112_; +lean_inc(v_a_5112_); +lean_dec(v___x_5089_); +v___x_5114_ = lean_box(0); +v_isShared_5115_ = v_isSharedCheck_5119_; +goto v_resetjp_5113_; } -v_resetjp_5112_: +v_resetjp_5113_: { -lean_object* v___x_5116_; -if (v_isShared_5114_ == 0) +lean_object* v___x_5117_; +if (v_isShared_5115_ == 0) { -v___x_5116_ = v___x_5113_; -goto v_reusejp_5115_; +v___x_5117_ = v___x_5114_; +goto v_reusejp_5116_; } else { -lean_object* v_reuseFailAlloc_5117_; -v_reuseFailAlloc_5117_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5117_, 0, v_a_5111_); -v___x_5116_ = v_reuseFailAlloc_5117_; -goto v_reusejp_5115_; +lean_object* v_reuseFailAlloc_5118_; +v_reuseFailAlloc_5118_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5118_, 0, v_a_5112_); +v___x_5117_ = v_reuseFailAlloc_5118_; +goto v_reusejp_5116_; } -v_reusejp_5115_: +v_reusejp_5116_: { -return v___x_5116_; +return v___x_5117_; } } } @@ -17169,397 +17188,397 @@ return v___x_5116_; } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg___boxed(lean_object** _args){ -lean_object* v_upperBound_5125_ = _args[0]; -lean_object* v_val_5126_ = _args[1]; -lean_object* v_matchDeclName_5127_ = _args[2]; -lean_object* v___x_5128_ = _args[3]; -lean_object* v___x_5129_ = _args[4]; -lean_object* v_a_5130_ = _args[5]; -lean_object* v___x_5131_ = _args[6]; -lean_object* v___x_5132_ = _args[7]; -lean_object* v___x_5133_ = _args[8]; -lean_object* v___x_5134_ = _args[9]; -lean_object* v___x_5135_ = _args[10]; -lean_object* v___x_5136_ = _args[11]; -lean_object* v_a_5137_ = _args[12]; -lean_object* v_b_5138_ = _args[13]; -lean_object* v___y_5139_ = _args[14]; -lean_object* v___y_5140_ = _args[15]; -lean_object* v___y_5141_ = _args[16]; -lean_object* v___y_5142_ = _args[17]; -lean_object* v___y_5143_ = _args[18]; +lean_object* v_upperBound_5126_ = _args[0]; +lean_object* v_val_5127_ = _args[1]; +lean_object* v_matchDeclName_5128_ = _args[2]; +lean_object* v___x_5129_ = _args[3]; +lean_object* v___x_5130_ = _args[4]; +lean_object* v_a_5131_ = _args[5]; +lean_object* v___x_5132_ = _args[6]; +lean_object* v___x_5133_ = _args[7]; +lean_object* v___x_5134_ = _args[8]; +lean_object* v___x_5135_ = _args[9]; +lean_object* v___x_5136_ = _args[10]; +lean_object* v___x_5137_ = _args[11]; +lean_object* v_a_5138_ = _args[12]; +lean_object* v_b_5139_ = _args[13]; +lean_object* v___y_5140_ = _args[14]; +lean_object* v___y_5141_ = _args[15]; +lean_object* v___y_5142_ = _args[16]; +lean_object* v___y_5143_ = _args[17]; +lean_object* v___y_5144_ = _args[18]; _start: { -lean_object* v_res_5144_; -v_res_5144_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v_upperBound_5125_, v_val_5126_, v_matchDeclName_5127_, v___x_5128_, v___x_5129_, v_a_5130_, v___x_5131_, v___x_5132_, v___x_5133_, v___x_5134_, v___x_5135_, v___x_5136_, v_a_5137_, v_b_5138_, v___y_5139_, v___y_5140_, v___y_5141_, v___y_5142_); -lean_dec(v_upperBound_5125_); -return v_res_5144_; +lean_object* v_res_5145_; +v_res_5145_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v_upperBound_5126_, v_val_5127_, v_matchDeclName_5128_, v___x_5129_, v___x_5130_, v_a_5131_, v___x_5132_, v___x_5133_, v___x_5134_, v___x_5135_, v___x_5136_, v___x_5137_, v_a_5138_, v_b_5139_, v___y_5140_, v___y_5141_, v___y_5142_, v___y_5143_); +lean_dec(v_upperBound_5126_); +return v_res_5145_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1(lean_object* v_val_5151_, lean_object* v___x_5152_, lean_object* v_matchDeclName_5153_, lean_object* v___x_5154_, lean_object* v_a_5155_, lean_object* v___x_5156_, lean_object* v___x_5157_, lean_object* v_xs_5158_, lean_object* v___matchResultType_5159_, lean_object* v___y_5160_, lean_object* v___y_5161_, lean_object* v___y_5162_, lean_object* v___y_5163_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1(lean_object* v_val_5152_, lean_object* v___x_5153_, lean_object* v_matchDeclName_5154_, lean_object* v___x_5155_, lean_object* v_a_5156_, lean_object* v___x_5157_, lean_object* v___x_5158_, lean_object* v_xs_5159_, lean_object* v___matchResultType_5160_, lean_object* v___y_5161_, lean_object* v___y_5162_, lean_object* v___y_5163_, lean_object* v___y_5164_){ _start: { -lean_object* v_numParams_5165_; lean_object* v_numDiscrs_5166_; lean_object* v___x_5167_; lean_object* v___x_5168_; lean_object* v___x_5169_; lean_object* v___x_5170_; lean_object* v_lower_5172_; lean_object* v_upper_5173_; lean_object* v___x_5201_; lean_object* v___x_5202_; lean_object* v___x_5203_; uint8_t v___x_5204_; -v_numParams_5165_ = lean_ctor_get(v_val_5151_, 0); -v_numDiscrs_5166_ = lean_ctor_get(v_val_5151_, 1); -v___x_5167_ = lean_unsigned_to_nat(0u); -lean_inc(v_numParams_5165_); -lean_inc_ref(v_xs_5158_); -v___x_5168_ = l_Array_toSubarray___redArg(v_xs_5158_, v___x_5167_, v_numParams_5165_); -v___x_5169_ = l_Lean_Meta_Match_MatcherInfo_getMotivePos(v_val_5151_); -v___x_5170_ = lean_array_get(v___x_5152_, v_xs_5158_, v___x_5169_); -lean_dec(v___x_5169_); -v___x_5201_ = lean_array_get_size(v_xs_5158_); -v___x_5202_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_5151_); -v___x_5203_ = lean_nat_sub(v___x_5201_, v___x_5202_); -lean_dec(v___x_5202_); -v___x_5204_ = lean_nat_dec_le(v___x_5203_, v___x_5167_); -if (v___x_5204_ == 0) -{ -v_lower_5172_ = v___x_5203_; -v_upper_5173_ = v___x_5201_; -goto v___jp_5171_; -} -else -{ +lean_object* v_numParams_5166_; lean_object* v_numDiscrs_5167_; lean_object* v___x_5168_; lean_object* v___x_5169_; lean_object* v___x_5170_; lean_object* v___x_5171_; lean_object* v_lower_5173_; lean_object* v_upper_5174_; lean_object* v___x_5202_; lean_object* v___x_5203_; lean_object* v___x_5204_; uint8_t v___x_5205_; +v_numParams_5166_ = lean_ctor_get(v_val_5152_, 0); +v_numDiscrs_5167_ = lean_ctor_get(v_val_5152_, 1); +v___x_5168_ = lean_unsigned_to_nat(0u); +lean_inc(v_numParams_5166_); +lean_inc_ref(v_xs_5159_); +v___x_5169_ = l_Array_toSubarray___redArg(v_xs_5159_, v___x_5168_, v_numParams_5166_); +v___x_5170_ = l_Lean_Meta_Match_MatcherInfo_getMotivePos(v_val_5152_); +v___x_5171_ = lean_array_get(v___x_5153_, v_xs_5159_, v___x_5170_); +lean_dec(v___x_5170_); +v___x_5202_ = lean_array_get_size(v_xs_5159_); +v___x_5203_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_5152_); +v___x_5204_ = lean_nat_sub(v___x_5202_, v___x_5203_); lean_dec(v___x_5203_); -v_lower_5172_ = v___x_5167_; -v_upper_5173_ = v___x_5201_; -goto v___jp_5171_; -} -v___jp_5171_: +v___x_5205_ = lean_nat_dec_le(v___x_5204_, v___x_5168_); +if (v___x_5205_ == 0) { -lean_object* v___x_5174_; lean_object* v_start_5175_; lean_object* v_stop_5176_; lean_object* v___x_5177_; lean_object* v___x_5178_; lean_object* v___x_5179_; lean_object* v___x_5180_; lean_object* v___x_5181_; lean_object* v___x_5182_; lean_object* v___x_5183_; -lean_inc_ref(v_xs_5158_); -v___x_5174_ = l_Array_toSubarray___redArg(v_xs_5158_, v_lower_5172_, v_upper_5173_); -v_start_5175_ = lean_ctor_get(v___x_5174_, 1); -lean_inc(v_start_5175_); -v_stop_5176_ = lean_ctor_get(v___x_5174_, 2); -lean_inc(v_stop_5176_); -v___x_5177_ = lean_unsigned_to_nat(1u); -v___x_5178_ = lean_nat_add(v_numParams_5165_, v___x_5177_); -v___x_5179_ = lean_nat_add(v___x_5178_, v_numDiscrs_5166_); -v___x_5180_ = lean_nat_sub(v_stop_5176_, v_start_5175_); -lean_dec(v_start_5175_); -lean_dec(v_stop_5176_); -v___x_5181_ = l_Array_toSubarray___redArg(v_xs_5158_, v___x_5178_, v___x_5179_); -v___x_5182_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___closed__1)); -lean_inc(v___x_5180_); -v___x_5183_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v___x_5180_, v_val_5151_, v_matchDeclName_5153_, v___x_5181_, v___x_5154_, v_a_5155_, v___x_5156_, v___x_5168_, v___x_5170_, v___x_5174_, v___x_5180_, v___x_5157_, v___x_5167_, v___x_5182_, v___y_5160_, v___y_5161_, v___y_5162_, v___y_5163_); -lean_dec(v___x_5180_); -if (lean_obj_tag(v___x_5183_) == 0) -{ -lean_object* v___x_5185_; uint8_t v_isShared_5186_; uint8_t v_isSharedCheck_5191_; -v_isSharedCheck_5191_ = !lean_is_exclusive(v___x_5183_); -if (v_isSharedCheck_5191_ == 0) -{ -lean_object* v_unused_5192_; -v_unused_5192_ = lean_ctor_get(v___x_5183_, 0); -lean_dec(v_unused_5192_); -v___x_5185_ = v___x_5183_; -v_isShared_5186_ = v_isSharedCheck_5191_; -goto v_resetjp_5184_; +v_lower_5173_ = v___x_5204_; +v_upper_5174_ = v___x_5202_; +goto v___jp_5172_; } else { -lean_dec(v___x_5183_); -v___x_5185_ = lean_box(0); -v_isShared_5186_ = v_isSharedCheck_5191_; -goto v_resetjp_5184_; +lean_dec(v___x_5204_); +v_lower_5173_ = v___x_5168_; +v_upper_5174_ = v___x_5202_; +goto v___jp_5172_; } -v_resetjp_5184_: +v___jp_5172_: { -lean_object* v___x_5187_; lean_object* v___x_5189_; -v___x_5187_ = lean_box(0); -if (v_isShared_5186_ == 0) +lean_object* v___x_5175_; lean_object* v_start_5176_; lean_object* v_stop_5177_; lean_object* v___x_5178_; lean_object* v___x_5179_; lean_object* v___x_5180_; lean_object* v___x_5181_; lean_object* v___x_5182_; lean_object* v___x_5183_; lean_object* v___x_5184_; +lean_inc_ref(v_xs_5159_); +v___x_5175_ = l_Array_toSubarray___redArg(v_xs_5159_, v_lower_5173_, v_upper_5174_); +v_start_5176_ = lean_ctor_get(v___x_5175_, 1); +lean_inc(v_start_5176_); +v_stop_5177_ = lean_ctor_get(v___x_5175_, 2); +lean_inc(v_stop_5177_); +v___x_5178_ = lean_unsigned_to_nat(1u); +v___x_5179_ = lean_nat_add(v_numParams_5166_, v___x_5178_); +v___x_5180_ = lean_nat_add(v___x_5179_, v_numDiscrs_5167_); +v___x_5181_ = lean_nat_sub(v_stop_5177_, v_start_5176_); +lean_dec(v_start_5176_); +lean_dec(v_stop_5177_); +v___x_5182_ = l_Array_toSubarray___redArg(v_xs_5159_, v___x_5179_, v___x_5180_); +v___x_5183_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___closed__1)); +lean_inc(v___x_5181_); +v___x_5184_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v___x_5181_, v_val_5152_, v_matchDeclName_5154_, v___x_5182_, v___x_5155_, v_a_5156_, v___x_5157_, v___x_5169_, v___x_5171_, v___x_5175_, v___x_5181_, v___x_5158_, v___x_5168_, v___x_5183_, v___y_5161_, v___y_5162_, v___y_5163_, v___y_5164_); +lean_dec(v___x_5181_); +if (lean_obj_tag(v___x_5184_) == 0) { -lean_ctor_set(v___x_5185_, 0, v___x_5187_); -v___x_5189_ = v___x_5185_; -goto v_reusejp_5188_; +lean_object* v___x_5186_; uint8_t v_isShared_5187_; uint8_t v_isSharedCheck_5192_; +v_isSharedCheck_5192_ = !lean_is_exclusive(v___x_5184_); +if (v_isSharedCheck_5192_ == 0) +{ +lean_object* v_unused_5193_; +v_unused_5193_ = lean_ctor_get(v___x_5184_, 0); +lean_dec(v_unused_5193_); +v___x_5186_ = v___x_5184_; +v_isShared_5187_ = v_isSharedCheck_5192_; +goto v_resetjp_5185_; } else { -lean_object* v_reuseFailAlloc_5190_; -v_reuseFailAlloc_5190_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5190_, 0, v___x_5187_); -v___x_5189_ = v_reuseFailAlloc_5190_; -goto v_reusejp_5188_; +lean_dec(v___x_5184_); +v___x_5186_ = lean_box(0); +v_isShared_5187_ = v_isSharedCheck_5192_; +goto v_resetjp_5185_; } -v_reusejp_5188_: +v_resetjp_5185_: { -return v___x_5189_; +lean_object* v___x_5188_; lean_object* v___x_5190_; +v___x_5188_ = lean_box(0); +if (v_isShared_5187_ == 0) +{ +lean_ctor_set(v___x_5186_, 0, v___x_5188_); +v___x_5190_ = v___x_5186_; +goto v_reusejp_5189_; +} +else +{ +lean_object* v_reuseFailAlloc_5191_; +v_reuseFailAlloc_5191_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5191_, 0, v___x_5188_); +v___x_5190_ = v_reuseFailAlloc_5191_; +goto v_reusejp_5189_; +} +v_reusejp_5189_: +{ +return v___x_5190_; } } } else { -lean_object* v_a_5193_; lean_object* v___x_5195_; uint8_t v_isShared_5196_; uint8_t v_isSharedCheck_5200_; -v_a_5193_ = lean_ctor_get(v___x_5183_, 0); -v_isSharedCheck_5200_ = !lean_is_exclusive(v___x_5183_); -if (v_isSharedCheck_5200_ == 0) +lean_object* v_a_5194_; lean_object* v___x_5196_; uint8_t v_isShared_5197_; uint8_t v_isSharedCheck_5201_; +v_a_5194_ = lean_ctor_get(v___x_5184_, 0); +v_isSharedCheck_5201_ = !lean_is_exclusive(v___x_5184_); +if (v_isSharedCheck_5201_ == 0) { -v___x_5195_ = v___x_5183_; -v_isShared_5196_ = v_isSharedCheck_5200_; -goto v_resetjp_5194_; +v___x_5196_ = v___x_5184_; +v_isShared_5197_ = v_isSharedCheck_5201_; +goto v_resetjp_5195_; } else { -lean_inc(v_a_5193_); -lean_dec(v___x_5183_); -v___x_5195_ = lean_box(0); -v_isShared_5196_ = v_isSharedCheck_5200_; -goto v_resetjp_5194_; +lean_inc(v_a_5194_); +lean_dec(v___x_5184_); +v___x_5196_ = lean_box(0); +v_isShared_5197_ = v_isSharedCheck_5201_; +goto v_resetjp_5195_; } -v_resetjp_5194_: +v_resetjp_5195_: { -lean_object* v___x_5198_; -if (v_isShared_5196_ == 0) +lean_object* v___x_5199_; +if (v_isShared_5197_ == 0) { -v___x_5198_ = v___x_5195_; -goto v_reusejp_5197_; +v___x_5199_ = v___x_5196_; +goto v_reusejp_5198_; } else { -lean_object* v_reuseFailAlloc_5199_; -v_reuseFailAlloc_5199_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5199_, 0, v_a_5193_); -v___x_5198_ = v_reuseFailAlloc_5199_; -goto v_reusejp_5197_; +lean_object* v_reuseFailAlloc_5200_; +v_reuseFailAlloc_5200_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5200_, 0, v_a_5194_); +v___x_5199_ = v_reuseFailAlloc_5200_; +goto v_reusejp_5198_; } -v_reusejp_5197_: +v_reusejp_5198_: { -return v___x_5198_; +return v___x_5199_; } } } } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___boxed(lean_object* v_val_5205_, lean_object* v___x_5206_, lean_object* v_matchDeclName_5207_, lean_object* v___x_5208_, lean_object* v_a_5209_, lean_object* v___x_5210_, lean_object* v___x_5211_, lean_object* v_xs_5212_, lean_object* v___matchResultType_5213_, lean_object* v___y_5214_, lean_object* v___y_5215_, lean_object* v___y_5216_, lean_object* v___y_5217_, lean_object* v___y_5218_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___boxed(lean_object* v_val_5206_, lean_object* v___x_5207_, lean_object* v_matchDeclName_5208_, lean_object* v___x_5209_, lean_object* v_a_5210_, lean_object* v___x_5211_, lean_object* v___x_5212_, lean_object* v_xs_5213_, lean_object* v___matchResultType_5214_, lean_object* v___y_5215_, lean_object* v___y_5216_, lean_object* v___y_5217_, lean_object* v___y_5218_, lean_object* v___y_5219_){ _start: { -lean_object* v_res_5219_; -v_res_5219_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1(v_val_5205_, v___x_5206_, v_matchDeclName_5207_, v___x_5208_, v_a_5209_, v___x_5210_, v___x_5211_, v_xs_5212_, v___matchResultType_5213_, v___y_5214_, v___y_5215_, v___y_5216_, v___y_5217_); -lean_dec_ref(v___matchResultType_5213_); -return v_res_5219_; +lean_object* v_res_5220_; +v_res_5220_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1(v_val_5206_, v___x_5207_, v_matchDeclName_5208_, v___x_5209_, v_a_5210_, v___x_5211_, v___x_5212_, v_xs_5213_, v___matchResultType_5214_, v___y_5215_, v___y_5216_, v___y_5217_, v___y_5218_); +lean_dec_ref(v___matchResultType_5214_); +return v_res_5220_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go(lean_object* v_matchDeclName_5220_, lean_object* v_a_5221_, lean_object* v_a_5222_, lean_object* v_a_5223_, lean_object* v_a_5224_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go(lean_object* v_matchDeclName_5221_, lean_object* v_a_5222_, lean_object* v_a_5223_, lean_object* v_a_5224_, lean_object* v_a_5225_){ _start: { -uint8_t v_trackZetaDelta_5226_; lean_object* v_zetaDeltaSet_5227_; lean_object* v_lctx_5228_; lean_object* v_localInstances_5229_; lean_object* v_defEqCtx_x3f_5230_; lean_object* v_synthPendingDepth_5231_; lean_object* v_canUnfold_x3f_5232_; uint8_t v_univApprox_5233_; uint8_t v_inTypeClassResolution_5234_; uint8_t v_cacheInferType_5235_; lean_object* v___x_5236_; lean_object* v___x_5238_; uint8_t v_isShared_5239_; uint8_t v_isSharedCheck_5279_; -v_trackZetaDelta_5226_ = lean_ctor_get_uint8(v_a_5221_, sizeof(void*)*7); -v_zetaDeltaSet_5227_ = lean_ctor_get(v_a_5221_, 1); -lean_inc(v_zetaDeltaSet_5227_); -v_lctx_5228_ = lean_ctor_get(v_a_5221_, 2); -lean_inc_ref(v_lctx_5228_); -v_localInstances_5229_ = lean_ctor_get(v_a_5221_, 3); -lean_inc_ref(v_localInstances_5229_); -v_defEqCtx_x3f_5230_ = lean_ctor_get(v_a_5221_, 4); -lean_inc(v_defEqCtx_x3f_5230_); -v_synthPendingDepth_5231_ = lean_ctor_get(v_a_5221_, 5); -lean_inc(v_synthPendingDepth_5231_); -v_canUnfold_x3f_5232_ = lean_ctor_get(v_a_5221_, 6); -lean_inc(v_canUnfold_x3f_5232_); -v_univApprox_5233_ = lean_ctor_get_uint8(v_a_5221_, sizeof(void*)*7 + 1); -v_inTypeClassResolution_5234_ = lean_ctor_get_uint8(v_a_5221_, sizeof(void*)*7 + 2); -v_cacheInferType_5235_ = lean_ctor_get_uint8(v_a_5221_, sizeof(void*)*7 + 3); -v___x_5236_ = l_Lean_Meta_Context_config(v_a_5221_); -v_isSharedCheck_5279_ = !lean_is_exclusive(v_a_5221_); -if (v_isSharedCheck_5279_ == 0) +uint8_t v_trackZetaDelta_5227_; lean_object* v_zetaDeltaSet_5228_; lean_object* v_lctx_5229_; lean_object* v_localInstances_5230_; lean_object* v_defEqCtx_x3f_5231_; lean_object* v_synthPendingDepth_5232_; lean_object* v_canUnfold_x3f_5233_; uint8_t v_univApprox_5234_; uint8_t v_inTypeClassResolution_5235_; uint8_t v_cacheInferType_5236_; lean_object* v___x_5237_; lean_object* v___x_5239_; uint8_t v_isShared_5240_; uint8_t v_isSharedCheck_5280_; +v_trackZetaDelta_5227_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*7); +v_zetaDeltaSet_5228_ = lean_ctor_get(v_a_5222_, 1); +lean_inc(v_zetaDeltaSet_5228_); +v_lctx_5229_ = lean_ctor_get(v_a_5222_, 2); +lean_inc_ref(v_lctx_5229_); +v_localInstances_5230_ = lean_ctor_get(v_a_5222_, 3); +lean_inc_ref(v_localInstances_5230_); +v_defEqCtx_x3f_5231_ = lean_ctor_get(v_a_5222_, 4); +lean_inc(v_defEqCtx_x3f_5231_); +v_synthPendingDepth_5232_ = lean_ctor_get(v_a_5222_, 5); +lean_inc(v_synthPendingDepth_5232_); +v_canUnfold_x3f_5233_ = lean_ctor_get(v_a_5222_, 6); +lean_inc(v_canUnfold_x3f_5233_); +v_univApprox_5234_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*7 + 1); +v_inTypeClassResolution_5235_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*7 + 2); +v_cacheInferType_5236_ = lean_ctor_get_uint8(v_a_5222_, sizeof(void*)*7 + 3); +v___x_5237_ = l_Lean_Meta_Context_config(v_a_5222_); +v_isSharedCheck_5280_ = !lean_is_exclusive(v_a_5222_); +if (v_isSharedCheck_5280_ == 0) { -lean_object* v_unused_5280_; lean_object* v_unused_5281_; lean_object* v_unused_5282_; lean_object* v_unused_5283_; lean_object* v_unused_5284_; lean_object* v_unused_5285_; lean_object* v_unused_5286_; -v_unused_5280_ = lean_ctor_get(v_a_5221_, 6); -lean_dec(v_unused_5280_); -v_unused_5281_ = lean_ctor_get(v_a_5221_, 5); +lean_object* v_unused_5281_; lean_object* v_unused_5282_; lean_object* v_unused_5283_; lean_object* v_unused_5284_; lean_object* v_unused_5285_; lean_object* v_unused_5286_; lean_object* v_unused_5287_; +v_unused_5281_ = lean_ctor_get(v_a_5222_, 6); lean_dec(v_unused_5281_); -v_unused_5282_ = lean_ctor_get(v_a_5221_, 4); +v_unused_5282_ = lean_ctor_get(v_a_5222_, 5); lean_dec(v_unused_5282_); -v_unused_5283_ = lean_ctor_get(v_a_5221_, 3); +v_unused_5283_ = lean_ctor_get(v_a_5222_, 4); lean_dec(v_unused_5283_); -v_unused_5284_ = lean_ctor_get(v_a_5221_, 2); +v_unused_5284_ = lean_ctor_get(v_a_5222_, 3); lean_dec(v_unused_5284_); -v_unused_5285_ = lean_ctor_get(v_a_5221_, 1); +v_unused_5285_ = lean_ctor_get(v_a_5222_, 2); lean_dec(v_unused_5285_); -v_unused_5286_ = lean_ctor_get(v_a_5221_, 0); +v_unused_5286_ = lean_ctor_get(v_a_5222_, 1); lean_dec(v_unused_5286_); -v___x_5238_ = v_a_5221_; -v_isShared_5239_ = v_isSharedCheck_5279_; -goto v_resetjp_5237_; +v_unused_5287_ = lean_ctor_get(v_a_5222_, 0); +lean_dec(v_unused_5287_); +v___x_5239_ = v_a_5222_; +v_isShared_5240_ = v_isSharedCheck_5280_; +goto v_resetjp_5238_; } else { -lean_dec(v_a_5221_); -v___x_5238_ = lean_box(0); -v_isShared_5239_ = v_isSharedCheck_5279_; -goto v_resetjp_5237_; +lean_dec(v_a_5222_); +v___x_5239_ = lean_box(0); +v_isShared_5240_ = v_isSharedCheck_5280_; +goto v_resetjp_5238_; } -v_resetjp_5237_: +v_resetjp_5238_: { -lean_object* v___x_5240_; uint64_t v___x_5241_; lean_object* v___x_5242_; lean_object* v___x_5244_; -v___x_5240_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(v___x_5236_); -v___x_5241_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_5240_); -v___x_5242_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v___x_5242_, 0, v___x_5240_); -lean_ctor_set_uint64(v___x_5242_, sizeof(void*)*1, v___x_5241_); -lean_inc(v_canUnfold_x3f_5232_); -lean_inc(v_synthPendingDepth_5231_); -lean_inc(v_defEqCtx_x3f_5230_); -lean_inc_ref(v_localInstances_5229_); -lean_inc_ref(v_lctx_5228_); -lean_inc(v_zetaDeltaSet_5227_); -if (v_isShared_5239_ == 0) +lean_object* v___x_5241_; uint64_t v___x_5242_; lean_object* v___x_5243_; lean_object* v___x_5245_; +v___x_5241_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(v___x_5237_); +v___x_5242_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_5241_); +v___x_5243_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v___x_5243_, 0, v___x_5241_); +lean_ctor_set_uint64(v___x_5243_, sizeof(void*)*1, v___x_5242_); +lean_inc(v_canUnfold_x3f_5233_); +lean_inc(v_synthPendingDepth_5232_); +lean_inc(v_defEqCtx_x3f_5231_); +lean_inc_ref(v_localInstances_5230_); +lean_inc_ref(v_lctx_5229_); +lean_inc(v_zetaDeltaSet_5228_); +if (v_isShared_5240_ == 0) { -lean_ctor_set(v___x_5238_, 0, v___x_5242_); -v___x_5244_ = v___x_5238_; -goto v_reusejp_5243_; +lean_ctor_set(v___x_5239_, 0, v___x_5243_); +v___x_5245_ = v___x_5239_; +goto v_reusejp_5244_; } else { -lean_object* v_reuseFailAlloc_5278_; -v_reuseFailAlloc_5278_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v_reuseFailAlloc_5278_, 0, v___x_5242_); -lean_ctor_set(v_reuseFailAlloc_5278_, 1, v_zetaDeltaSet_5227_); -lean_ctor_set(v_reuseFailAlloc_5278_, 2, v_lctx_5228_); -lean_ctor_set(v_reuseFailAlloc_5278_, 3, v_localInstances_5229_); -lean_ctor_set(v_reuseFailAlloc_5278_, 4, v_defEqCtx_x3f_5230_); -lean_ctor_set(v_reuseFailAlloc_5278_, 5, v_synthPendingDepth_5231_); -lean_ctor_set(v_reuseFailAlloc_5278_, 6, v_canUnfold_x3f_5232_); -lean_ctor_set_uint8(v_reuseFailAlloc_5278_, sizeof(void*)*7, v_trackZetaDelta_5226_); -lean_ctor_set_uint8(v_reuseFailAlloc_5278_, sizeof(void*)*7 + 1, v_univApprox_5233_); -lean_ctor_set_uint8(v_reuseFailAlloc_5278_, sizeof(void*)*7 + 2, v_inTypeClassResolution_5234_); -lean_ctor_set_uint8(v_reuseFailAlloc_5278_, sizeof(void*)*7 + 3, v_cacheInferType_5235_); -v___x_5244_ = v_reuseFailAlloc_5278_; -goto v_reusejp_5243_; +lean_object* v_reuseFailAlloc_5279_; +v_reuseFailAlloc_5279_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v_reuseFailAlloc_5279_, 0, v___x_5243_); +lean_ctor_set(v_reuseFailAlloc_5279_, 1, v_zetaDeltaSet_5228_); +lean_ctor_set(v_reuseFailAlloc_5279_, 2, v_lctx_5229_); +lean_ctor_set(v_reuseFailAlloc_5279_, 3, v_localInstances_5230_); +lean_ctor_set(v_reuseFailAlloc_5279_, 4, v_defEqCtx_x3f_5231_); +lean_ctor_set(v_reuseFailAlloc_5279_, 5, v_synthPendingDepth_5232_); +lean_ctor_set(v_reuseFailAlloc_5279_, 6, v_canUnfold_x3f_5233_); +lean_ctor_set_uint8(v_reuseFailAlloc_5279_, sizeof(void*)*7, v_trackZetaDelta_5227_); +lean_ctor_set_uint8(v_reuseFailAlloc_5279_, sizeof(void*)*7 + 1, v_univApprox_5234_); +lean_ctor_set_uint8(v_reuseFailAlloc_5279_, sizeof(void*)*7 + 2, v_inTypeClassResolution_5235_); +lean_ctor_set_uint8(v_reuseFailAlloc_5279_, sizeof(void*)*7 + 3, v_cacheInferType_5236_); +v___x_5245_ = v_reuseFailAlloc_5279_; +goto v_reusejp_5244_; } -v_reusejp_5243_: +v_reusejp_5244_: { -lean_object* v___x_5245_; lean_object* v___x_5246_; uint64_t v___x_5247_; lean_object* v___x_5248_; lean_object* v___x_5249_; lean_object* v___x_5250_; -v___x_5245_ = l_Lean_Meta_Context_config(v___x_5244_); -lean_dec_ref(v___x_5244_); -v___x_5246_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(v___x_5245_); -v___x_5247_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_5246_); -v___x_5248_ = lean_alloc_ctor(0, 1, 8); -lean_ctor_set(v___x_5248_, 0, v___x_5246_); -lean_ctor_set_uint64(v___x_5248_, sizeof(void*)*1, v___x_5247_); -v___x_5249_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_5249_, 0, v___x_5248_); -lean_ctor_set(v___x_5249_, 1, v_zetaDeltaSet_5227_); -lean_ctor_set(v___x_5249_, 2, v_lctx_5228_); -lean_ctor_set(v___x_5249_, 3, v_localInstances_5229_); -lean_ctor_set(v___x_5249_, 4, v_defEqCtx_x3f_5230_); -lean_ctor_set(v___x_5249_, 5, v_synthPendingDepth_5231_); -lean_ctor_set(v___x_5249_, 6, v_canUnfold_x3f_5232_); -lean_ctor_set_uint8(v___x_5249_, sizeof(void*)*7, v_trackZetaDelta_5226_); -lean_ctor_set_uint8(v___x_5249_, sizeof(void*)*7 + 1, v_univApprox_5233_); -lean_ctor_set_uint8(v___x_5249_, sizeof(void*)*7 + 2, v_inTypeClassResolution_5234_); -lean_ctor_set_uint8(v___x_5249_, sizeof(void*)*7 + 3, v_cacheInferType_5235_); -lean_inc_ref(v_a_5223_); -lean_inc(v_matchDeclName_5220_); -v___x_5250_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_matchDeclName_5220_, v___x_5249_, v_a_5222_, v_a_5223_, v_a_5224_); -if (lean_obj_tag(v___x_5250_) == 0) +lean_object* v___x_5246_; lean_object* v___x_5247_; uint64_t v___x_5248_; lean_object* v___x_5249_; lean_object* v___x_5250_; lean_object* v___x_5251_; +v___x_5246_ = l_Lean_Meta_Context_config(v___x_5245_); +lean_dec_ref(v___x_5245_); +v___x_5247_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__0(v___x_5246_); +v___x_5248_ = l___private_Lean_Meta_Basic_0__Lean_Meta_Config_toKey(v___x_5247_); +v___x_5249_ = lean_alloc_ctor(0, 1, 8); +lean_ctor_set(v___x_5249_, 0, v___x_5247_); +lean_ctor_set_uint64(v___x_5249_, sizeof(void*)*1, v___x_5248_); +v___x_5250_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5250_, 0, v___x_5249_); +lean_ctor_set(v___x_5250_, 1, v_zetaDeltaSet_5228_); +lean_ctor_set(v___x_5250_, 2, v_lctx_5229_); +lean_ctor_set(v___x_5250_, 3, v_localInstances_5230_); +lean_ctor_set(v___x_5250_, 4, v_defEqCtx_x3f_5231_); +lean_ctor_set(v___x_5250_, 5, v_synthPendingDepth_5232_); +lean_ctor_set(v___x_5250_, 6, v_canUnfold_x3f_5233_); +lean_ctor_set_uint8(v___x_5250_, sizeof(void*)*7, v_trackZetaDelta_5227_); +lean_ctor_set_uint8(v___x_5250_, sizeof(void*)*7 + 1, v_univApprox_5234_); +lean_ctor_set_uint8(v___x_5250_, sizeof(void*)*7 + 2, v_inTypeClassResolution_5235_); +lean_ctor_set_uint8(v___x_5250_, sizeof(void*)*7 + 3, v_cacheInferType_5236_); +lean_inc_ref(v_a_5224_); +lean_inc(v_matchDeclName_5221_); +v___x_5251_ = l_Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0(v_matchDeclName_5221_, v___x_5250_, v_a_5223_, v_a_5224_, v_a_5225_); +if (lean_obj_tag(v___x_5251_) == 0) { -lean_object* v_a_5251_; lean_object* v___x_5252_; lean_object* v_a_5253_; -v_a_5251_ = lean_ctor_get(v___x_5250_, 0); -lean_inc(v_a_5251_); +lean_object* v_a_5252_; lean_object* v___x_5253_; lean_object* v_a_5254_; +v_a_5252_ = lean_ctor_get(v___x_5251_, 0); +lean_inc(v_a_5252_); +lean_dec_ref(v___x_5251_); +lean_inc(v_matchDeclName_5221_); +v___x_5253_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_5221_, v_a_5225_); +v_a_5254_ = lean_ctor_get(v___x_5253_, 0); +lean_inc(v_a_5254_); +lean_dec_ref(v___x_5253_); +if (lean_obj_tag(v_a_5254_) == 1) +{ +lean_object* v_val_5255_; lean_object* v___x_5256_; lean_object* v___x_5257_; lean_object* v___x_5258_; lean_object* v___x_5259_; lean_object* v___x_5260_; lean_object* v___f_5261_; lean_object* v___x_5262_; uint8_t v___x_5263_; lean_object* v___x_5264_; +v_val_5255_ = lean_ctor_get(v_a_5254_, 0); +lean_inc(v_val_5255_); +lean_dec_ref(v_a_5254_); +v___x_5256_ = l_Lean_instInhabitedExpr; +v___x_5257_ = l_Lean_ConstantInfo_levelParams(v_a_5252_); +v___x_5258_ = lean_box(0); +lean_inc(v___x_5257_); +v___x_5259_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(v___x_5257_, v___x_5258_); +v___x_5260_ = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(v_val_5255_); +lean_inc(v_a_5252_); +v___f_5261_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___boxed), 14, 7); +lean_closure_set(v___f_5261_, 0, v_val_5255_); +lean_closure_set(v___f_5261_, 1, v___x_5256_); +lean_closure_set(v___f_5261_, 2, v_matchDeclName_5221_); +lean_closure_set(v___f_5261_, 3, v___x_5260_); +lean_closure_set(v___f_5261_, 4, v_a_5252_); +lean_closure_set(v___f_5261_, 5, v___x_5259_); +lean_closure_set(v___f_5261_, 6, v___x_5257_); +v___x_5262_ = l_Lean_ConstantInfo_type(v_a_5252_); +lean_dec(v_a_5252_); +v___x_5263_ = 0; +v___x_5264_ = l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg(v___x_5262_, v___f_5261_, v___x_5263_, v___x_5263_, v___x_5250_, v_a_5223_, v_a_5224_, v_a_5225_); +return v___x_5264_; +} +else +{ +lean_object* v___x_5265_; lean_object* v___x_5266_; lean_object* v___x_5267_; lean_object* v___x_5268_; lean_object* v___x_5269_; lean_object* v___x_5270_; +lean_dec(v_a_5254_); +lean_dec(v_a_5252_); +v___x_5265_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); +v___x_5266_ = l_Lean_MessageData_ofName(v_matchDeclName_5221_); +v___x_5267_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5267_, 0, v___x_5265_); +lean_ctor_set(v___x_5267_, 1, v___x_5266_); +v___x_5268_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); +v___x_5269_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5269_, 0, v___x_5267_); +lean_ctor_set(v___x_5269_, 1, v___x_5268_); +v___x_5270_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_5269_, v___x_5250_, v_a_5223_, v_a_5224_, v_a_5225_); +lean_dec(v_a_5225_); +lean_dec_ref(v_a_5224_); +lean_dec(v_a_5223_); lean_dec_ref(v___x_5250_); -lean_inc(v_matchDeclName_5220_); -v___x_5252_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_5220_, v_a_5224_); -v_a_5253_ = lean_ctor_get(v___x_5252_, 0); -lean_inc(v_a_5253_); -lean_dec_ref(v___x_5252_); -if (lean_obj_tag(v_a_5253_) == 1) -{ -lean_object* v_val_5254_; lean_object* v___x_5255_; lean_object* v___x_5256_; lean_object* v___x_5257_; lean_object* v___x_5258_; lean_object* v___x_5259_; lean_object* v___f_5260_; lean_object* v___x_5261_; uint8_t v___x_5262_; lean_object* v___x_5263_; -v_val_5254_ = lean_ctor_get(v_a_5253_, 0); -lean_inc(v_val_5254_); -lean_dec_ref(v_a_5253_); -v___x_5255_ = l_Lean_instInhabitedExpr; -v___x_5256_ = l_Lean_ConstantInfo_levelParams(v_a_5251_); -v___x_5257_ = lean_box(0); -lean_inc(v___x_5256_); -v___x_5258_ = l_List_mapTR_loop___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__2(v___x_5256_, v___x_5257_); -v___x_5259_ = l_Lean_Meta_Match_MatcherInfo_getNumDiscrEqs(v_val_5254_); -lean_inc(v_a_5251_); -v___f_5260_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___lam__1___boxed), 14, 7); -lean_closure_set(v___f_5260_, 0, v_val_5254_); -lean_closure_set(v___f_5260_, 1, v___x_5255_); -lean_closure_set(v___f_5260_, 2, v_matchDeclName_5220_); -lean_closure_set(v___f_5260_, 3, v___x_5259_); -lean_closure_set(v___f_5260_, 4, v_a_5251_); -lean_closure_set(v___f_5260_, 5, v___x_5258_); -lean_closure_set(v___f_5260_, 6, v___x_5256_); -v___x_5261_ = l_Lean_ConstantInfo_type(v_a_5251_); -lean_dec(v_a_5251_); -v___x_5262_ = 0; -v___x_5263_ = l_Lean_Meta_forallTelescopeReducing___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__9___redArg(v___x_5261_, v___f_5260_, v___x_5262_, v___x_5262_, v___x_5249_, v_a_5222_, v_a_5223_, v_a_5224_); -return v___x_5263_; -} -else -{ -lean_object* v___x_5264_; lean_object* v___x_5265_; lean_object* v___x_5266_; lean_object* v___x_5267_; lean_object* v___x_5268_; lean_object* v___x_5269_; -lean_dec(v_a_5253_); -lean_dec(v_a_5251_); -v___x_5264_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); -v___x_5265_ = l_Lean_MessageData_ofName(v_matchDeclName_5220_); -v___x_5266_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5266_, 0, v___x_5264_); -lean_ctor_set(v___x_5266_, 1, v___x_5265_); -v___x_5267_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); -v___x_5268_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5268_, 0, v___x_5266_); -lean_ctor_set(v___x_5268_, 1, v___x_5267_); -v___x_5269_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_5268_, v___x_5249_, v_a_5222_, v_a_5223_, v_a_5224_); -lean_dec(v_a_5224_); -lean_dec_ref(v_a_5223_); -lean_dec(v_a_5222_); -lean_dec_ref(v___x_5249_); -return v___x_5269_; +return v___x_5270_; } } else { -lean_object* v_a_5270_; lean_object* v___x_5272_; uint8_t v_isShared_5273_; uint8_t v_isSharedCheck_5277_; -lean_dec_ref(v___x_5249_); -lean_dec(v_a_5224_); -lean_dec_ref(v_a_5223_); -lean_dec(v_a_5222_); -lean_dec(v_matchDeclName_5220_); -v_a_5270_ = lean_ctor_get(v___x_5250_, 0); -v_isSharedCheck_5277_ = !lean_is_exclusive(v___x_5250_); -if (v_isSharedCheck_5277_ == 0) +lean_object* v_a_5271_; lean_object* v___x_5273_; uint8_t v_isShared_5274_; uint8_t v_isSharedCheck_5278_; +lean_dec_ref(v___x_5250_); +lean_dec(v_a_5225_); +lean_dec_ref(v_a_5224_); +lean_dec(v_a_5223_); +lean_dec(v_matchDeclName_5221_); +v_a_5271_ = lean_ctor_get(v___x_5251_, 0); +v_isSharedCheck_5278_ = !lean_is_exclusive(v___x_5251_); +if (v_isSharedCheck_5278_ == 0) { -v___x_5272_ = v___x_5250_; -v_isShared_5273_ = v_isSharedCheck_5277_; -goto v_resetjp_5271_; +v___x_5273_ = v___x_5251_; +v_isShared_5274_ = v_isSharedCheck_5278_; +goto v_resetjp_5272_; } else { -lean_inc(v_a_5270_); -lean_dec(v___x_5250_); -v___x_5272_ = lean_box(0); -v_isShared_5273_ = v_isSharedCheck_5277_; -goto v_resetjp_5271_; +lean_inc(v_a_5271_); +lean_dec(v___x_5251_); +v___x_5273_ = lean_box(0); +v_isShared_5274_ = v_isSharedCheck_5278_; +goto v_resetjp_5272_; } -v_resetjp_5271_: +v_resetjp_5272_: { -lean_object* v___x_5275_; -if (v_isShared_5273_ == 0) +lean_object* v___x_5276_; +if (v_isShared_5274_ == 0) { -v___x_5275_ = v___x_5272_; -goto v_reusejp_5274_; +v___x_5276_ = v___x_5273_; +goto v_reusejp_5275_; } else { -lean_object* v_reuseFailAlloc_5276_; -v_reuseFailAlloc_5276_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5276_, 0, v_a_5270_); -v___x_5275_ = v_reuseFailAlloc_5276_; -goto v_reusejp_5274_; +lean_object* v_reuseFailAlloc_5277_; +v_reuseFailAlloc_5277_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5277_, 0, v_a_5271_); +v___x_5276_ = v_reuseFailAlloc_5277_; +goto v_reusejp_5275_; } -v_reusejp_5274_: +v_reusejp_5275_: { -return v___x_5275_; +return v___x_5276_; } } } @@ -17567,445 +17586,445 @@ return v___x_5275_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___boxed(lean_object* v_matchDeclName_5287_, lean_object* v_a_5288_, lean_object* v_a_5289_, lean_object* v_a_5290_, lean_object* v_a_5291_, lean_object* v_a_5292_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___boxed(lean_object* v_matchDeclName_5288_, lean_object* v_a_5289_, lean_object* v_a_5290_, lean_object* v_a_5291_, lean_object* v_a_5292_, lean_object* v_a_5293_){ _start: { -lean_object* v_res_5293_; -v_res_5293_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go(v_matchDeclName_5287_, v_a_5288_, v_a_5289_, v_a_5290_, v_a_5291_); -return v_res_5293_; +lean_object* v_res_5294_; +v_res_5294_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go(v_matchDeclName_5288_, v_a_5289_, v_a_5290_, v_a_5291_, v_a_5292_); +return v_res_5294_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2(lean_object* v_inst_5294_, lean_object* v_R_5295_, lean_object* v_a_5296_, lean_object* v_b_5297_, lean_object* v_c_5298_, lean_object* v___y_5299_, lean_object* v___y_5300_, lean_object* v___y_5301_, lean_object* v___y_5302_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2(lean_object* v_inst_5295_, lean_object* v_R_5296_, lean_object* v_a_5297_, lean_object* v_b_5298_, lean_object* v_c_5299_, lean_object* v___y_5300_, lean_object* v___y_5301_, lean_object* v___y_5302_, lean_object* v___y_5303_){ _start: { -lean_object* v___x_5304_; -v___x_5304_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v_a_5296_, v_b_5297_, v___y_5299_, v___y_5300_, v___y_5301_, v___y_5302_); -return v___x_5304_; +lean_object* v___x_5305_; +v___x_5305_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___redArg(v_a_5297_, v_b_5298_, v___y_5300_, v___y_5301_, v___y_5302_, v___y_5303_); +return v___x_5305_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___boxed(lean_object* v_inst_5305_, lean_object* v_R_5306_, lean_object* v_a_5307_, lean_object* v_b_5308_, lean_object* v_c_5309_, lean_object* v___y_5310_, lean_object* v___y_5311_, lean_object* v___y_5312_, lean_object* v___y_5313_, lean_object* v___y_5314_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2___boxed(lean_object* v_inst_5306_, lean_object* v_R_5307_, lean_object* v_a_5308_, lean_object* v_b_5309_, lean_object* v_c_5310_, lean_object* v___y_5311_, lean_object* v___y_5312_, lean_object* v___y_5313_, lean_object* v___y_5314_, lean_object* v___y_5315_){ _start: { -lean_object* v_res_5315_; -v_res_5315_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2(v_inst_5305_, v_R_5306_, v_a_5307_, v_b_5308_, v_c_5309_, v___y_5310_, v___y_5311_, v___y_5312_, v___y_5313_); -return v_res_5315_; +lean_object* v_res_5316_; +v_res_5316_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__2(v_inst_5306_, v_R_5307_, v_a_5308_, v_b_5309_, v_c_5310_, v___y_5311_, v___y_5312_, v___y_5313_, v___y_5314_); +return v_res_5316_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4(lean_object* v_00_u03b1_5316_, lean_object* v_inst_5317_, lean_object* v_declInfos_5318_, lean_object* v_k_5319_, uint8_t v_kind_5320_, lean_object* v___y_5321_, lean_object* v___y_5322_, lean_object* v___y_5323_, lean_object* v___y_5324_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4(lean_object* v_00_u03b1_5317_, lean_object* v_inst_5318_, lean_object* v_declInfos_5319_, lean_object* v_k_5320_, uint8_t v_kind_5321_, lean_object* v___y_5322_, lean_object* v___y_5323_, lean_object* v___y_5324_, lean_object* v___y_5325_){ _start: { -lean_object* v___x_5326_; -v___x_5326_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v_inst_5317_, v_declInfos_5318_, v_k_5319_, v_kind_5320_, v___y_5321_, v___y_5322_, v___y_5323_, v___y_5324_); -return v___x_5326_; +lean_object* v___x_5327_; +v___x_5327_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___redArg(v_inst_5318_, v_declInfos_5319_, v_k_5320_, v_kind_5321_, v___y_5322_, v___y_5323_, v___y_5324_, v___y_5325_); +return v___x_5327_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___boxed(lean_object* v_00_u03b1_5327_, lean_object* v_inst_5328_, lean_object* v_declInfos_5329_, lean_object* v_k_5330_, lean_object* v_kind_5331_, lean_object* v___y_5332_, lean_object* v___y_5333_, lean_object* v___y_5334_, lean_object* v___y_5335_, lean_object* v___y_5336_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4___boxed(lean_object* v_00_u03b1_5328_, lean_object* v_inst_5329_, lean_object* v_declInfos_5330_, lean_object* v_k_5331_, lean_object* v_kind_5332_, lean_object* v___y_5333_, lean_object* v___y_5334_, lean_object* v___y_5335_, lean_object* v___y_5336_, lean_object* v___y_5337_){ _start: { -uint8_t v_kind_boxed_5337_; lean_object* v_res_5338_; -v_kind_boxed_5337_ = lean_unbox(v_kind_5331_); -v_res_5338_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4(v_00_u03b1_5327_, v_inst_5328_, v_declInfos_5329_, v_k_5330_, v_kind_boxed_5337_, v___y_5332_, v___y_5333_, v___y_5334_, v___y_5335_); -lean_dec(v_inst_5328_); -return v_res_5338_; +uint8_t v_kind_boxed_5338_; lean_object* v_res_5339_; +v_kind_boxed_5338_ = lean_unbox(v_kind_5332_); +v_res_5339_ = l_Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4(v_00_u03b1_5328_, v_inst_5329_, v_declInfos_5330_, v_k_5331_, v_kind_boxed_5338_, v___y_5333_, v___y_5334_, v___y_5335_, v___y_5336_); +lean_dec(v_inst_5329_); +return v_res_5339_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5(lean_object* v_upperBound_5339_, lean_object* v_val_5340_, lean_object* v_matchDeclName_5341_, lean_object* v___x_5342_, lean_object* v___x_5343_, lean_object* v_a_5344_, lean_object* v___x_5345_, lean_object* v___x_5346_, lean_object* v___x_5347_, lean_object* v___x_5348_, lean_object* v___x_5349_, lean_object* v___x_5350_, lean_object* v_inst_5351_, lean_object* v_R_5352_, lean_object* v_a_5353_, lean_object* v_b_5354_, lean_object* v_c_5355_, lean_object* v___y_5356_, lean_object* v___y_5357_, lean_object* v___y_5358_, lean_object* v___y_5359_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5(lean_object* v_upperBound_5340_, lean_object* v_val_5341_, lean_object* v_matchDeclName_5342_, lean_object* v___x_5343_, lean_object* v___x_5344_, lean_object* v_a_5345_, lean_object* v___x_5346_, lean_object* v___x_5347_, lean_object* v___x_5348_, lean_object* v___x_5349_, lean_object* v___x_5350_, lean_object* v___x_5351_, lean_object* v_inst_5352_, lean_object* v_R_5353_, lean_object* v_a_5354_, lean_object* v_b_5355_, lean_object* v_c_5356_, lean_object* v___y_5357_, lean_object* v___y_5358_, lean_object* v___y_5359_, lean_object* v___y_5360_){ _start: { -lean_object* v___x_5361_; -v___x_5361_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v_upperBound_5339_, v_val_5340_, v_matchDeclName_5341_, v___x_5342_, v___x_5343_, v_a_5344_, v___x_5345_, v___x_5346_, v___x_5347_, v___x_5348_, v___x_5349_, v___x_5350_, v_a_5353_, v_b_5354_, v___y_5356_, v___y_5357_, v___y_5358_, v___y_5359_); -return v___x_5361_; +lean_object* v___x_5362_; +v___x_5362_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___redArg(v_upperBound_5340_, v_val_5341_, v_matchDeclName_5342_, v___x_5343_, v___x_5344_, v_a_5345_, v___x_5346_, v___x_5347_, v___x_5348_, v___x_5349_, v___x_5350_, v___x_5351_, v_a_5354_, v_b_5355_, v___y_5357_, v___y_5358_, v___y_5359_, v___y_5360_); +return v___x_5362_; } } LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5___boxed(lean_object** _args){ -lean_object* v_upperBound_5362_ = _args[0]; -lean_object* v_val_5363_ = _args[1]; -lean_object* v_matchDeclName_5364_ = _args[2]; -lean_object* v___x_5365_ = _args[3]; -lean_object* v___x_5366_ = _args[4]; -lean_object* v_a_5367_ = _args[5]; -lean_object* v___x_5368_ = _args[6]; -lean_object* v___x_5369_ = _args[7]; -lean_object* v___x_5370_ = _args[8]; -lean_object* v___x_5371_ = _args[9]; -lean_object* v___x_5372_ = _args[10]; -lean_object* v___x_5373_ = _args[11]; -lean_object* v_inst_5374_ = _args[12]; -lean_object* v_R_5375_ = _args[13]; -lean_object* v_a_5376_ = _args[14]; -lean_object* v_b_5377_ = _args[15]; -lean_object* v_c_5378_ = _args[16]; -lean_object* v___y_5379_ = _args[17]; -lean_object* v___y_5380_ = _args[18]; -lean_object* v___y_5381_ = _args[19]; -lean_object* v___y_5382_ = _args[20]; -lean_object* v___y_5383_ = _args[21]; +lean_object* v_upperBound_5363_ = _args[0]; +lean_object* v_val_5364_ = _args[1]; +lean_object* v_matchDeclName_5365_ = _args[2]; +lean_object* v___x_5366_ = _args[3]; +lean_object* v___x_5367_ = _args[4]; +lean_object* v_a_5368_ = _args[5]; +lean_object* v___x_5369_ = _args[6]; +lean_object* v___x_5370_ = _args[7]; +lean_object* v___x_5371_ = _args[8]; +lean_object* v___x_5372_ = _args[9]; +lean_object* v___x_5373_ = _args[10]; +lean_object* v___x_5374_ = _args[11]; +lean_object* v_inst_5375_ = _args[12]; +lean_object* v_R_5376_ = _args[13]; +lean_object* v_a_5377_ = _args[14]; +lean_object* v_b_5378_ = _args[15]; +lean_object* v_c_5379_ = _args[16]; +lean_object* v___y_5380_ = _args[17]; +lean_object* v___y_5381_ = _args[18]; +lean_object* v___y_5382_ = _args[19]; +lean_object* v___y_5383_ = _args[20]; +lean_object* v___y_5384_ = _args[21]; _start: { -lean_object* v_res_5384_; -v_res_5384_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5(v_upperBound_5362_, v_val_5363_, v_matchDeclName_5364_, v___x_5365_, v___x_5366_, v_a_5367_, v___x_5368_, v___x_5369_, v___x_5370_, v___x_5371_, v___x_5372_, v___x_5373_, v_inst_5374_, v_R_5375_, v_a_5376_, v_b_5377_, v_c_5378_, v___y_5379_, v___y_5380_, v___y_5381_, v___y_5382_); -lean_dec(v_upperBound_5362_); -return v_res_5384_; +lean_object* v_res_5385_; +v_res_5385_ = l_WellFounded_opaqueFix_u2083___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__5(v_upperBound_5363_, v_val_5364_, v_matchDeclName_5365_, v___x_5366_, v___x_5367_, v_a_5368_, v___x_5369_, v___x_5370_, v___x_5371_, v___x_5372_, v___x_5373_, v___x_5374_, v_inst_5375_, v_R_5376_, v_a_5377_, v_b_5378_, v_c_5379_, v___y_5380_, v___y_5381_, v___y_5382_, v___y_5383_); +lean_dec(v_upperBound_5363_); +return v_res_5385_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5(lean_object* v_00_u03b1_5385_, lean_object* v_inst_5386_, lean_object* v_declInfos_5387_, lean_object* v_k_5388_, uint8_t v_kind_5389_, lean_object* v___y_5390_, lean_object* v___y_5391_, lean_object* v___y_5392_, lean_object* v___y_5393_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5(lean_object* v_00_u03b1_5386_, lean_object* v_inst_5387_, lean_object* v_declInfos_5388_, lean_object* v_k_5389_, uint8_t v_kind_5390_, lean_object* v___y_5391_, lean_object* v___y_5392_, lean_object* v___y_5393_, lean_object* v___y_5394_){ _start: { -lean_object* v___x_5395_; -v___x_5395_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_5386_, v_declInfos_5387_, v_k_5388_, v_kind_5389_, v___y_5390_, v___y_5391_, v___y_5392_, v___y_5393_); -return v___x_5395_; +lean_object* v___x_5396_; +v___x_5396_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___redArg(v_inst_5387_, v_declInfos_5388_, v_k_5389_, v_kind_5390_, v___y_5391_, v___y_5392_, v___y_5393_, v___y_5394_); +return v___x_5396_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___boxed(lean_object* v_00_u03b1_5396_, lean_object* v_inst_5397_, lean_object* v_declInfos_5398_, lean_object* v_k_5399_, lean_object* v_kind_5400_, lean_object* v___y_5401_, lean_object* v___y_5402_, lean_object* v___y_5403_, lean_object* v___y_5404_, lean_object* v___y_5405_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5___boxed(lean_object* v_00_u03b1_5397_, lean_object* v_inst_5398_, lean_object* v_declInfos_5399_, lean_object* v_k_5400_, lean_object* v_kind_5401_, lean_object* v___y_5402_, lean_object* v___y_5403_, lean_object* v___y_5404_, lean_object* v___y_5405_, lean_object* v___y_5406_){ _start: { -uint8_t v_kind_boxed_5406_; lean_object* v_res_5407_; -v_kind_boxed_5406_ = lean_unbox(v_kind_5400_); -v_res_5407_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5(v_00_u03b1_5396_, v_inst_5397_, v_declInfos_5398_, v_k_5399_, v_kind_boxed_5406_, v___y_5401_, v___y_5402_, v___y_5403_, v___y_5404_); -lean_dec(v_inst_5397_); -return v_res_5407_; +uint8_t v_kind_boxed_5407_; lean_object* v_res_5408_; +v_kind_boxed_5407_ = lean_unbox(v_kind_5401_); +v_res_5408_ = l_Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5(v_00_u03b1_5397_, v_inst_5398_, v_declInfos_5399_, v_k_5400_, v_kind_boxed_5407_, v___y_5402_, v___y_5403_, v___y_5404_, v___y_5405_); +lean_dec(v_inst_5398_); +return v_res_5408_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7(lean_object* v_00_u03b1_5408_, lean_object* v_inst_5409_, lean_object* v_declInfos_5410_, lean_object* v_k_5411_, uint8_t v_kind_5412_, lean_object* v___y_5413_, lean_object* v___y_5414_, lean_object* v___y_5415_, lean_object* v___y_5416_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7(lean_object* v_00_u03b1_5409_, lean_object* v_inst_5410_, lean_object* v_declInfos_5411_, lean_object* v_k_5412_, uint8_t v_kind_5413_, lean_object* v___y_5414_, lean_object* v___y_5415_, lean_object* v___y_5416_, lean_object* v___y_5417_){ _start: { -lean_object* v___x_5418_; -v___x_5418_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_5409_, v_declInfos_5410_, v_k_5411_, v_kind_5412_, v___y_5413_, v___y_5414_, v___y_5415_, v___y_5416_); -return v___x_5418_; +lean_object* v___x_5419_; +v___x_5419_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___redArg(v_inst_5410_, v_declInfos_5411_, v_k_5412_, v_kind_5413_, v___y_5414_, v___y_5415_, v___y_5416_, v___y_5417_); +return v___x_5419_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___boxed(lean_object* v_00_u03b1_5419_, lean_object* v_inst_5420_, lean_object* v_declInfos_5421_, lean_object* v_k_5422_, lean_object* v_kind_5423_, lean_object* v___y_5424_, lean_object* v___y_5425_, lean_object* v___y_5426_, lean_object* v___y_5427_, lean_object* v___y_5428_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7___boxed(lean_object* v_00_u03b1_5420_, lean_object* v_inst_5421_, lean_object* v_declInfos_5422_, lean_object* v_k_5423_, lean_object* v_kind_5424_, lean_object* v___y_5425_, lean_object* v___y_5426_, lean_object* v___y_5427_, lean_object* v___y_5428_, lean_object* v___y_5429_){ _start: { -uint8_t v_kind_boxed_5429_; lean_object* v_res_5430_; -v_kind_boxed_5429_ = lean_unbox(v_kind_5423_); -v_res_5430_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7(v_00_u03b1_5419_, v_inst_5420_, v_declInfos_5421_, v_k_5422_, v_kind_boxed_5429_, v___y_5424_, v___y_5425_, v___y_5426_, v___y_5427_); -lean_dec(v_inst_5420_); -return v_res_5430_; +uint8_t v_kind_boxed_5430_; lean_object* v_res_5431_; +v_kind_boxed_5430_ = lean_unbox(v_kind_5424_); +v_res_5431_ = l_Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7(v_00_u03b1_5420_, v_inst_5421_, v_declInfos_5422_, v_k_5423_, v_kind_boxed_5430_, v___y_5425_, v___y_5426_, v___y_5427_, v___y_5428_); +lean_dec(v_inst_5421_); +return v_res_5431_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9(lean_object* v_00_u03b1_5431_, lean_object* v_declInfos_5432_, lean_object* v_k_5433_, uint8_t v_kind_5434_, lean_object* v_inst_5435_, lean_object* v_acc_5436_, lean_object* v___y_5437_, lean_object* v___y_5438_, lean_object* v___y_5439_, lean_object* v___y_5440_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9(lean_object* v_00_u03b1_5432_, lean_object* v_declInfos_5433_, lean_object* v_k_5434_, uint8_t v_kind_5435_, lean_object* v_inst_5436_, lean_object* v_acc_5437_, lean_object* v___y_5438_, lean_object* v___y_5439_, lean_object* v___y_5440_, lean_object* v___y_5441_){ _start: { -lean_object* v___x_5442_; -v___x_5442_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_5432_, v_k_5433_, v_kind_5434_, v_acc_5436_, v___y_5437_, v___y_5438_, v___y_5439_, v___y_5440_); -return v___x_5442_; +lean_object* v___x_5443_; +v___x_5443_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___redArg(v_declInfos_5433_, v_k_5434_, v_kind_5435_, v_acc_5437_, v___y_5438_, v___y_5439_, v___y_5440_, v___y_5441_); +return v___x_5443_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___boxed(lean_object* v_00_u03b1_5443_, lean_object* v_declInfos_5444_, lean_object* v_k_5445_, lean_object* v_kind_5446_, lean_object* v_inst_5447_, lean_object* v_acc_5448_, lean_object* v___y_5449_, lean_object* v___y_5450_, lean_object* v___y_5451_, lean_object* v___y_5452_, lean_object* v___y_5453_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9___boxed(lean_object* v_00_u03b1_5444_, lean_object* v_declInfos_5445_, lean_object* v_k_5446_, lean_object* v_kind_5447_, lean_object* v_inst_5448_, lean_object* v_acc_5449_, lean_object* v___y_5450_, lean_object* v___y_5451_, lean_object* v___y_5452_, lean_object* v___y_5453_, lean_object* v___y_5454_){ _start: { -uint8_t v_kind_boxed_5454_; lean_object* v_res_5455_; -v_kind_boxed_5454_ = lean_unbox(v_kind_5446_); -v_res_5455_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9(v_00_u03b1_5443_, v_declInfos_5444_, v_k_5445_, v_kind_boxed_5454_, v_inst_5447_, v_acc_5448_, v___y_5449_, v___y_5450_, v___y_5451_, v___y_5452_); -lean_dec(v_inst_5447_); -return v_res_5455_; +uint8_t v_kind_boxed_5455_; lean_object* v_res_5456_; +v_kind_boxed_5455_ = lean_unbox(v_kind_5447_); +v_res_5456_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDecls_loop___at___00Lean_Meta_withLocalDecls___at___00Lean_Meta_withLocalDeclsD___at___00Lean_Meta_withLocalDeclsDND___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go_spec__4_spec__5_spec__7_spec__9(v_00_u03b1_5444_, v_declInfos_5445_, v_k_5446_, v_kind_boxed_5455_, v_inst_5448_, v_acc_5449_, v___y_5450_, v___y_5451_, v___y_5452_, v___y_5453_); +lean_dec(v_inst_5448_); +return v_res_5456_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(lean_object* v_upperBound_5456_, lean_object* v_matchDeclName_5457_, lean_object* v_a_5458_, lean_object* v_b_5459_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(lean_object* v_upperBound_5457_, lean_object* v_matchDeclName_5458_, lean_object* v_a_5459_, lean_object* v_b_5460_){ _start: { -uint8_t v___x_5461_; -v___x_5461_ = lean_nat_dec_lt(v_a_5458_, v_upperBound_5456_); -if (v___x_5461_ == 0) +uint8_t v___x_5462_; +v___x_5462_ = lean_nat_dec_lt(v_a_5459_, v_upperBound_5457_); +if (v___x_5462_ == 0) { -lean_object* v___x_5462_; -lean_dec(v_a_5458_); -lean_dec(v_matchDeclName_5457_); -v___x_5462_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5462_, 0, v_b_5459_); -return v___x_5462_; +lean_object* v___x_5463_; +lean_dec(v_a_5459_); +lean_dec(v_matchDeclName_5458_); +v___x_5463_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5463_, 0, v_b_5460_); +return v___x_5463_; } else { -lean_object* v___x_5463_; lean_object* v___x_5464_; lean_object* v___x_5465_; lean_object* v___x_5466_; lean_object* v___x_5467_; lean_object* v___x_5468_; -v___x_5463_ = l_Lean_Meta_Match_congrEqnThmSuffixBase; -lean_inc(v_matchDeclName_5457_); -v___x_5464_ = l_Lean_Name_str___override(v_matchDeclName_5457_, v___x_5463_); -v___x_5465_ = lean_unsigned_to_nat(1u); -v___x_5466_ = lean_nat_add(v_a_5458_, v___x_5465_); -lean_dec(v_a_5458_); -lean_inc(v___x_5466_); -v___x_5467_ = lean_name_append_index_after(v___x_5464_, v___x_5466_); -v___x_5468_ = lean_array_push(v_b_5459_, v___x_5467_); -v_a_5458_ = v___x_5466_; -v_b_5459_ = v___x_5468_; +lean_object* v___x_5464_; lean_object* v___x_5465_; lean_object* v___x_5466_; lean_object* v___x_5467_; lean_object* v___x_5468_; lean_object* v___x_5469_; +v___x_5464_ = l_Lean_Meta_Match_congrEqnThmSuffixBase; +lean_inc(v_matchDeclName_5458_); +v___x_5465_ = l_Lean_Name_str___override(v_matchDeclName_5458_, v___x_5464_); +v___x_5466_ = lean_unsigned_to_nat(1u); +v___x_5467_ = lean_nat_add(v_a_5459_, v___x_5466_); +lean_dec(v_a_5459_); +lean_inc(v___x_5467_); +v___x_5468_ = lean_name_append_index_after(v___x_5465_, v___x_5467_); +v___x_5469_ = lean_array_push(v_b_5460_, v___x_5468_); +v_a_5459_ = v___x_5467_; +v_b_5460_ = v___x_5469_; goto _start; } } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg___boxed(lean_object* v_upperBound_5470_, lean_object* v_matchDeclName_5471_, lean_object* v_a_5472_, lean_object* v_b_5473_, lean_object* v___y_5474_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg___boxed(lean_object* v_upperBound_5471_, lean_object* v_matchDeclName_5472_, lean_object* v_a_5473_, lean_object* v_b_5474_, lean_object* v___y_5475_){ _start: { -lean_object* v_res_5475_; -v_res_5475_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v_upperBound_5470_, v_matchDeclName_5471_, v_a_5472_, v_b_5473_); -lean_dec(v_upperBound_5470_); -return v_res_5475_; +lean_object* v_res_5476_; +v_res_5476_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v_upperBound_5471_, v_matchDeclName_5472_, v_a_5473_, v_b_5474_); +lean_dec(v_upperBound_5471_); +return v_res_5476_; } } -LEAN_EXPORT lean_object* lean_get_congr_match_equations_for(lean_object* v_matchDeclName_5476_, lean_object* v_a_5477_, lean_object* v_a_5478_, lean_object* v_a_5479_, lean_object* v_a_5480_){ +LEAN_EXPORT lean_object* lean_get_congr_match_equations_for(lean_object* v_matchDeclName_5477_, lean_object* v_a_5478_, lean_object* v_a_5479_, lean_object* v_a_5480_, lean_object* v_a_5481_){ _start: { -lean_object* v___x_5482_; lean_object* v_firstEqnName_5483_; lean_object* v___x_5484_; lean_object* v___x_5485_; -v___x_5482_ = l_Lean_Meta_Match_congrEqn1ThmSuffix; -lean_inc(v_matchDeclName_5476_); -v_firstEqnName_5483_ = l_Lean_Name_str___override(v_matchDeclName_5476_, v___x_5482_); -lean_inc(v_matchDeclName_5476_); -v___x_5484_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___boxed), 6, 1); -lean_closure_set(v___x_5484_, 0, v_matchDeclName_5476_); -lean_inc(v_a_5480_); -lean_inc_ref(v_a_5479_); -lean_inc(v_a_5478_); -lean_inc_ref(v_a_5477_); -lean_inc(v_matchDeclName_5476_); -v___x_5485_ = l_Lean_Meta_realizeConst(v_matchDeclName_5476_, v_firstEqnName_5483_, v___x_5484_, v_a_5477_, v_a_5478_, v_a_5479_, v_a_5480_); -if (lean_obj_tag(v___x_5485_) == 0) +lean_object* v___x_5483_; lean_object* v_firstEqnName_5484_; lean_object* v___x_5485_; lean_object* v___x_5486_; +v___x_5483_ = l_Lean_Meta_Match_congrEqn1ThmSuffix; +lean_inc(v_matchDeclName_5477_); +v_firstEqnName_5484_ = l_Lean_Name_str___override(v_matchDeclName_5477_, v___x_5483_); +lean_inc(v_matchDeclName_5477_); +v___x_5485_ = lean_alloc_closure((void*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_genMatchCongrEqnsImpl_go___boxed), 6, 1); +lean_closure_set(v___x_5485_, 0, v_matchDeclName_5477_); +lean_inc(v_a_5481_); +lean_inc_ref(v_a_5480_); +lean_inc(v_a_5479_); +lean_inc_ref(v_a_5478_); +lean_inc(v_matchDeclName_5477_); +v___x_5486_ = l_Lean_Meta_realizeConst(v_matchDeclName_5477_, v_firstEqnName_5484_, v___x_5485_, v_a_5478_, v_a_5479_, v_a_5480_, v_a_5481_); +if (lean_obj_tag(v___x_5486_) == 0) { -lean_object* v___x_5486_; lean_object* v_a_5487_; -lean_dec_ref(v___x_5485_); -lean_inc(v_matchDeclName_5476_); -v___x_5486_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_5476_, v_a_5480_); -v_a_5487_ = lean_ctor_get(v___x_5486_, 0); -lean_inc(v_a_5487_); +lean_object* v___x_5487_; lean_object* v_a_5488_; lean_dec_ref(v___x_5486_); -if (lean_obj_tag(v_a_5487_) == 1) +lean_inc(v_matchDeclName_5477_); +v___x_5487_ = l_Lean_Meta_getMatcherInfo_x3f___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__1___redArg(v_matchDeclName_5477_, v_a_5481_); +v_a_5488_ = lean_ctor_get(v___x_5487_, 0); +lean_inc(v_a_5488_); +lean_dec_ref(v___x_5487_); +if (lean_obj_tag(v_a_5488_) == 1) { -lean_object* v_val_5488_; lean_object* v___x_5489_; lean_object* v___x_5490_; lean_object* v___x_5491_; lean_object* v___x_5492_; -lean_dec(v_a_5480_); -lean_dec_ref(v_a_5479_); -lean_dec(v_a_5478_); -lean_dec_ref(v_a_5477_); -v_val_5488_ = lean_ctor_get(v_a_5487_, 0); -lean_inc(v_val_5488_); -lean_dec_ref(v_a_5487_); -v___x_5489_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_5488_); -lean_dec(v_val_5488_); -v___x_5490_ = lean_unsigned_to_nat(0u); -v___x_5491_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__8)); -v___x_5492_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v___x_5489_, v_matchDeclName_5476_, v___x_5490_, v___x_5491_); -lean_dec(v___x_5489_); -return v___x_5492_; +lean_object* v_val_5489_; lean_object* v___x_5490_; lean_object* v___x_5491_; lean_object* v___x_5492_; lean_object* v___x_5493_; +lean_dec(v_a_5481_); +lean_dec_ref(v_a_5480_); +lean_dec(v_a_5479_); +lean_dec_ref(v_a_5478_); +v_val_5489_ = lean_ctor_get(v_a_5488_, 0); +lean_inc(v_val_5489_); +lean_dec_ref(v_a_5488_); +v___x_5490_ = l_Lean_Meta_Match_MatcherInfo_numAlts(v_val_5489_); +lean_dec(v_val_5489_); +v___x_5491_ = lean_unsigned_to_nat(0u); +v___x_5492_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__8)); +v___x_5493_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v___x_5490_, v_matchDeclName_5477_, v___x_5491_, v___x_5492_); +lean_dec(v___x_5490_); +return v___x_5493_; } else { -lean_object* v___x_5493_; lean_object* v___x_5494_; lean_object* v___x_5495_; lean_object* v___x_5496_; lean_object* v___x_5497_; lean_object* v___x_5498_; -lean_dec(v_a_5487_); -v___x_5493_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); -v___x_5494_ = l_Lean_MessageData_ofName(v_matchDeclName_5476_); -v___x_5495_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5495_, 0, v___x_5493_); -lean_ctor_set(v___x_5495_, 1, v___x_5494_); -v___x_5496_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); -v___x_5497_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_5497_, 0, v___x_5495_); -lean_ctor_set(v___x_5497_, 1, v___x_5496_); -v___x_5498_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_5497_, v_a_5477_, v_a_5478_, v_a_5479_, v_a_5480_); -lean_dec(v_a_5480_); -lean_dec_ref(v_a_5479_); -lean_dec(v_a_5478_); -lean_dec_ref(v_a_5477_); -return v___x_5498_; +lean_object* v___x_5494_; lean_object* v___x_5495_; lean_object* v___x_5496_; lean_object* v___x_5497_; lean_object* v___x_5498_; lean_object* v___x_5499_; +lean_dec(v_a_5488_); +v___x_5494_ = lean_obj_once(&l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3, &l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3_once, _init_l_Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go_spec__0_spec__0_spec__4___redArg___closed__3); +v___x_5495_ = l_Lean_MessageData_ofName(v_matchDeclName_5477_); +v___x_5496_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5496_, 0, v___x_5494_); +lean_ctor_set(v___x_5496_, 1, v___x_5495_); +v___x_5497_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1_once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_getEquationsForImpl_go___closed__1); +v___x_5498_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_5498_, 0, v___x_5496_); +lean_ctor_set(v___x_5498_, 1, v___x_5497_); +v___x_5499_ = l_Lean_throwError___at___00__private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_mkAppDiscrEqs_go_spec__2___redArg(v___x_5498_, v_a_5478_, v_a_5479_, v_a_5480_, v_a_5481_); +lean_dec(v_a_5481_); +lean_dec_ref(v_a_5480_); +lean_dec(v_a_5479_); +lean_dec_ref(v_a_5478_); +return v___x_5499_; } } else { -lean_object* v_a_5499_; lean_object* v___x_5501_; uint8_t v_isShared_5502_; uint8_t v_isSharedCheck_5506_; -lean_dec(v_a_5480_); -lean_dec_ref(v_a_5479_); -lean_dec(v_a_5478_); -lean_dec_ref(v_a_5477_); -lean_dec(v_matchDeclName_5476_); -v_a_5499_ = lean_ctor_get(v___x_5485_, 0); -v_isSharedCheck_5506_ = !lean_is_exclusive(v___x_5485_); -if (v_isSharedCheck_5506_ == 0) +lean_object* v_a_5500_; lean_object* v___x_5502_; uint8_t v_isShared_5503_; uint8_t v_isSharedCheck_5507_; +lean_dec(v_a_5481_); +lean_dec_ref(v_a_5480_); +lean_dec(v_a_5479_); +lean_dec_ref(v_a_5478_); +lean_dec(v_matchDeclName_5477_); +v_a_5500_ = lean_ctor_get(v___x_5486_, 0); +v_isSharedCheck_5507_ = !lean_is_exclusive(v___x_5486_); +if (v_isSharedCheck_5507_ == 0) { -v___x_5501_ = v___x_5485_; -v_isShared_5502_ = v_isSharedCheck_5506_; -goto v_resetjp_5500_; +v___x_5502_ = v___x_5486_; +v_isShared_5503_ = v_isSharedCheck_5507_; +goto v_resetjp_5501_; } else { -lean_inc(v_a_5499_); -lean_dec(v___x_5485_); -v___x_5501_ = lean_box(0); -v_isShared_5502_ = v_isSharedCheck_5506_; -goto v_resetjp_5500_; +lean_inc(v_a_5500_); +lean_dec(v___x_5486_); +v___x_5502_ = lean_box(0); +v_isShared_5503_ = v_isSharedCheck_5507_; +goto v_resetjp_5501_; } -v_resetjp_5500_: +v_resetjp_5501_: { -lean_object* v___x_5504_; -if (v_isShared_5502_ == 0) +lean_object* v___x_5505_; +if (v_isShared_5503_ == 0) { -v___x_5504_ = v___x_5501_; -goto v_reusejp_5503_; +v___x_5505_ = v___x_5502_; +goto v_reusejp_5504_; } else { -lean_object* v_reuseFailAlloc_5505_; -v_reuseFailAlloc_5505_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5505_, 0, v_a_5499_); -v___x_5504_ = v_reuseFailAlloc_5505_; -goto v_reusejp_5503_; +lean_object* v_reuseFailAlloc_5506_; +v_reuseFailAlloc_5506_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5506_, 0, v_a_5500_); +v___x_5505_ = v_reuseFailAlloc_5506_; +goto v_reusejp_5504_; } -v_reusejp_5503_: +v_reusejp_5504_: { -return v___x_5504_; +return v___x_5505_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_Match_genMatchCongrEqnsImpl___boxed(lean_object* v_matchDeclName_5507_, lean_object* v_a_5508_, lean_object* v_a_5509_, lean_object* v_a_5510_, lean_object* v_a_5511_, lean_object* v_a_5512_){ +LEAN_EXPORT lean_object* l_Lean_Meta_Match_genMatchCongrEqnsImpl___boxed(lean_object* v_matchDeclName_5508_, lean_object* v_a_5509_, lean_object* v_a_5510_, lean_object* v_a_5511_, lean_object* v_a_5512_, lean_object* v_a_5513_){ _start: { -lean_object* v_res_5513_; -v_res_5513_ = lean_get_congr_match_equations_for(v_matchDeclName_5507_, v_a_5508_, v_a_5509_, v_a_5510_, v_a_5511_); -return v_res_5513_; +lean_object* v_res_5514_; +v_res_5514_ = lean_get_congr_match_equations_for(v_matchDeclName_5508_, v_a_5509_, v_a_5510_, v_a_5511_, v_a_5512_); +return v_res_5514_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0(lean_object* v_upperBound_5514_, lean_object* v_matchDeclName_5515_, lean_object* v_inst_5516_, lean_object* v_R_5517_, lean_object* v_a_5518_, lean_object* v_b_5519_, lean_object* v_c_5520_, lean_object* v___y_5521_, lean_object* v___y_5522_, lean_object* v___y_5523_, lean_object* v___y_5524_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0(lean_object* v_upperBound_5515_, lean_object* v_matchDeclName_5516_, lean_object* v_inst_5517_, lean_object* v_R_5518_, lean_object* v_a_5519_, lean_object* v_b_5520_, lean_object* v_c_5521_, lean_object* v___y_5522_, lean_object* v___y_5523_, lean_object* v___y_5524_, lean_object* v___y_5525_){ _start: { -lean_object* v___x_5526_; -v___x_5526_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v_upperBound_5514_, v_matchDeclName_5515_, v_a_5518_, v_b_5519_); -return v___x_5526_; +lean_object* v___x_5527_; +v___x_5527_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___redArg(v_upperBound_5515_, v_matchDeclName_5516_, v_a_5519_, v_b_5520_); +return v___x_5527_; } } -LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___boxed(lean_object* v_upperBound_5527_, lean_object* v_matchDeclName_5528_, lean_object* v_inst_5529_, lean_object* v_R_5530_, lean_object* v_a_5531_, lean_object* v_b_5532_, lean_object* v_c_5533_, lean_object* v___y_5534_, lean_object* v___y_5535_, lean_object* v___y_5536_, lean_object* v___y_5537_, lean_object* v___y_5538_){ +LEAN_EXPORT lean_object* l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0___boxed(lean_object* v_upperBound_5528_, lean_object* v_matchDeclName_5529_, lean_object* v_inst_5530_, lean_object* v_R_5531_, lean_object* v_a_5532_, lean_object* v_b_5533_, lean_object* v_c_5534_, lean_object* v___y_5535_, lean_object* v___y_5536_, lean_object* v___y_5537_, lean_object* v___y_5538_, lean_object* v___y_5539_){ _start: { -lean_object* v_res_5539_; -v_res_5539_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0(v_upperBound_5527_, v_matchDeclName_5528_, v_inst_5529_, v_R_5530_, v_a_5531_, v_b_5532_, v_c_5533_, v___y_5534_, v___y_5535_, v___y_5536_, v___y_5537_); -lean_dec(v___y_5537_); -lean_dec_ref(v___y_5536_); -lean_dec(v___y_5535_); -lean_dec_ref(v___y_5534_); -lean_dec(v_upperBound_5527_); -return v_res_5539_; +lean_object* v_res_5540_; +v_res_5540_ = l_WellFounded_opaqueFix_u2083___at___00Lean_Meta_Match_genMatchCongrEqnsImpl_spec__0(v_upperBound_5528_, v_matchDeclName_5529_, v_inst_5530_, v_R_5531_, v_a_5532_, v_b_5533_, v_c_5534_, v___y_5535_, v___y_5536_, v___y_5537_, v___y_5538_); +lean_dec(v___y_5538_); +lean_dec_ref(v___y_5537_); +lean_dec(v___y_5536_); +lean_dec_ref(v___y_5535_); +lean_dec(v_upperBound_5528_); +return v_res_5540_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5590_; lean_object* v___x_5591_; lean_object* v___x_5592_; -v___x_5590_ = lean_unsigned_to_nat(3248161880u); -v___x_5591_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__19_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); -v___x_5592_ = l_Lean_Name_num___override(v___x_5591_, v___x_5590_); -return v___x_5592_; +lean_object* v___x_5591_; lean_object* v___x_5592_; lean_object* v___x_5593_; +v___x_5591_ = lean_unsigned_to_nat(3248161880u); +v___x_5592_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__19_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); +v___x_5593_ = l_Lean_Name_num___override(v___x_5592_, v___x_5591_); +return v___x_5593_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5594_; lean_object* v___x_5595_; lean_object* v___x_5596_; -v___x_5594_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__21_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); -v___x_5595_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); -v___x_5596_ = l_Lean_Name_str___override(v___x_5595_, v___x_5594_); -return v___x_5596_; +lean_object* v___x_5595_; lean_object* v___x_5596_; lean_object* v___x_5597_; +v___x_5595_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__21_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); +v___x_5596_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__20_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); +v___x_5597_ = l_Lean_Name_str___override(v___x_5596_, v___x_5595_); +return v___x_5597_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5598_; lean_object* v___x_5599_; lean_object* v___x_5600_; -v___x_5598_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__23_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); -v___x_5599_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); -v___x_5600_ = l_Lean_Name_str___override(v___x_5599_, v___x_5598_); -return v___x_5600_; +lean_object* v___x_5599_; lean_object* v___x_5600_; lean_object* v___x_5601_; +v___x_5599_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__23_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_)); +v___x_5600_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__22_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); +v___x_5601_ = l_Lean_Name_str___override(v___x_5600_, v___x_5599_); +return v___x_5601_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5601_; lean_object* v___x_5602_; lean_object* v___x_5603_; -v___x_5601_ = lean_unsigned_to_nat(2u); -v___x_5602_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); -v___x_5603_ = l_Lean_Name_num___override(v___x_5602_, v___x_5601_); -return v___x_5603_; +lean_object* v___x_5602_; lean_object* v___x_5603_; lean_object* v___x_5604_; +v___x_5602_ = lean_unsigned_to_nat(2u); +v___x_5603_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__24_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); +v___x_5604_ = l_Lean_Name_num___override(v___x_5603_, v___x_5602_); +return v___x_5604_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_5605_; uint8_t v___x_5606_; lean_object* v___x_5607_; lean_object* v___x_5608_; -v___x_5605_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__13)); -v___x_5606_ = 0; -v___x_5607_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); -v___x_5608_ = l_Lean_registerTraceClass(v___x_5605_, v___x_5606_, v___x_5607_); -return v___x_5608_; +lean_object* v___x_5606_; uint8_t v___x_5607_; lean_object* v___x_5608_; lean_object* v___x_5609_; +v___x_5606_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_proveCondEqThm_go___closed__13)); +v___x_5607_ = 0; +v___x_5608_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__25_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_); +v___x_5609_ = l_Lean_registerTraceClass(v___x_5606_, v___x_5607_, v___x_5608_); +return v___x_5609_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2____boxed(lean_object* v_a_5609_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2____boxed(lean_object* v_a_5610_){ _start: { -lean_object* v_res_5610_; -v_res_5610_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(); -return v_res_5610_; +lean_object* v_res_5611_; +v_res_5611_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3248161880____hygCtx___hyg_2_(); +return v_res_5611_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(lean_object* v_env_5611_, lean_object* v_n_5612_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(lean_object* v_env_5612_, lean_object* v_n_5613_){ _start: { -if (lean_obj_tag(v_n_5612_) == 1) +if (lean_obj_tag(v_n_5613_) == 1) { -lean_object* v_pre_5613_; lean_object* v_str_5614_; uint8_t v___y_5616_; uint8_t v___x_5622_; -v_pre_5613_ = lean_ctor_get(v_n_5612_, 0); -lean_inc(v_pre_5613_); -v_str_5614_ = lean_ctor_get(v_n_5612_, 1); -lean_inc_ref(v_str_5614_); -lean_dec_ref(v_n_5612_); -lean_inc_ref(v_str_5614_); -v___x_5622_ = l_Lean_Meta_isEqnReservedNameSuffix(v_str_5614_); -if (v___x_5622_ == 0) +lean_object* v_pre_5614_; lean_object* v_str_5615_; uint8_t v___y_5617_; uint8_t v___x_5623_; +v_pre_5614_ = lean_ctor_get(v_n_5613_, 0); +lean_inc(v_pre_5614_); +v_str_5615_ = lean_ctor_get(v_n_5613_, 1); +lean_inc_ref(v_str_5615_); +lean_dec_ref(v_n_5613_); +lean_inc_ref(v_str_5615_); +v___x_5623_ = l_Lean_Meta_isEqnReservedNameSuffix(v_str_5615_); +if (v___x_5623_ == 0) { -lean_object* v___x_5623_; uint8_t v___x_5624_; -v___x_5623_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__0)); -v___x_5624_ = lean_string_dec_eq(v_str_5614_, v___x_5623_); -lean_dec_ref(v_str_5614_); -v___y_5616_ = v___x_5624_; -goto v___jp_5615_; +lean_object* v___x_5624_; uint8_t v___x_5625_; +v___x_5624_ = ((lean_object*)(l_Lean_Meta_Match_getEquationsForImpl___closed__0)); +v___x_5625_ = lean_string_dec_eq(v_str_5615_, v___x_5624_); +lean_dec_ref(v_str_5615_); +v___y_5617_ = v___x_5625_; +goto v___jp_5616_; } else { -lean_dec_ref(v_str_5614_); -v___y_5616_ = v___x_5622_; -goto v___jp_5615_; +lean_dec_ref(v_str_5615_); +v___y_5617_ = v___x_5623_; +goto v___jp_5616_; } -v___jp_5615_: +v___jp_5616_: { -if (v___y_5616_ == 0) -{ -lean_object* v___x_5617_; -lean_dec(v_pre_5613_); -lean_dec_ref(v_env_5611_); -v___x_5617_ = lean_box(0); -return v___x_5617_; -} -else +if (v___y_5617_ == 0) { lean_object* v___x_5618_; -v___x_5618_ = lean_private_to_user_name(v_pre_5613_); -if (lean_obj_tag(v___x_5618_) == 0) -{ -lean_dec_ref(v_env_5611_); +lean_dec(v_pre_5614_); +lean_dec_ref(v_env_5612_); +v___x_5618_ = lean_box(0); return v___x_5618_; } else { -lean_object* v_val_5619_; uint8_t v___x_5620_; -v_val_5619_ = lean_ctor_get(v___x_5618_, 0); -lean_inc(v_val_5619_); -v___x_5620_ = lean_is_matcher(v_env_5611_, v_val_5619_); -if (v___x_5620_ == 0) +lean_object* v___x_5619_; +v___x_5619_ = lean_private_to_user_name(v_pre_5614_); +if (lean_obj_tag(v___x_5619_) == 0) { -lean_object* v___x_5621_; -lean_dec_ref(v___x_5618_); -v___x_5621_ = lean_box(0); -return v___x_5621_; +lean_dec_ref(v_env_5612_); +return v___x_5619_; } else { -return v___x_5618_; +lean_object* v_val_5620_; uint8_t v___x_5621_; +v_val_5620_ = lean_ctor_get(v___x_5619_, 0); +lean_inc(v_val_5620_); +v___x_5621_ = lean_is_matcher(v_env_5612_, v_val_5620_); +if (v___x_5621_ == 0) +{ +lean_object* v___x_5622_; +lean_dec_ref(v___x_5619_); +v___x_5622_ = lean_box(0); +return v___x_5622_; +} +else +{ +return v___x_5619_; } } } @@ -18013,289 +18032,289 @@ return v___x_5618_; } else { -lean_object* v___x_5625_; -lean_dec(v_n_5612_); -lean_dec_ref(v_env_5611_); -v___x_5625_ = lean_box(0); -return v___x_5625_; +lean_object* v___x_5626_; +lean_dec(v_n_5613_); +lean_dec_ref(v_env_5612_); +v___x_5626_ = lean_box(0); +return v___x_5626_; } } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(lean_object* v_x1_5626_, lean_object* v_x2_5627_){ +LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(lean_object* v_x1_5627_, lean_object* v_x2_5628_){ _start: { -lean_object* v___x_5628_; -v___x_5628_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(v_x1_5626_, v_x2_5627_); -if (lean_obj_tag(v___x_5628_) == 0) -{ -uint8_t v___x_5629_; -v___x_5629_ = 0; -return v___x_5629_; -} -else +lean_object* v___x_5629_; +v___x_5629_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(v_x1_5627_, v_x2_5628_); +if (lean_obj_tag(v___x_5629_) == 0) { uint8_t v___x_5630_; -lean_dec_ref(v___x_5628_); -v___x_5630_ = 1; +v___x_5630_ = 0; return v___x_5630_; } +else +{ +uint8_t v___x_5631_; +lean_dec_ref(v___x_5629_); +v___x_5631_ = 1; +return v___x_5631_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2____boxed(lean_object* v_x1_5631_, lean_object* v_x2_5632_){ +} +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2____boxed(lean_object* v_x1_5632_, lean_object* v_x2_5633_){ _start: { -uint8_t v_res_5633_; lean_object* v_r_5634_; -v_res_5633_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(v_x1_5631_, v_x2_5632_); -v_r_5634_ = lean_box(v_res_5633_); -return v_r_5634_; +uint8_t v_res_5634_; lean_object* v_r_5635_; +v_res_5634_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(v_x1_5632_, v_x2_5633_); +v_r_5635_ = lean_box(v_res_5634_); +return v_r_5635_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(){ _start: { -lean_object* v___f_5637_; lean_object* v___x_5638_; -v___f_5637_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_)); -v___x_5638_ = l_Lean_registerReservedNamePredicate(v___f_5637_); -return v___x_5638_; +lean_object* v___f_5638_; lean_object* v___x_5639_; +v___f_5638_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_)); +v___x_5639_ = l_Lean_registerReservedNamePredicate(v___f_5638_); +return v___x_5639_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2____boxed(lean_object* v_a_5639_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2____boxed(lean_object* v_a_5640_){ _start: { -lean_object* v_res_5640_; -v_res_5640_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(); -return v_res_5640_; +lean_object* v_res_5641_; +v_res_5641_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_1597551399____hygCtx___hyg_2_(); +return v_res_5641_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5643_; lean_object* v___x_5644_; lean_object* v___x_5645_; -v___x_5643_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); -v___x_5644_ = lean_unsigned_to_nat(0u); -v___x_5645_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v___x_5645_, 0, v___x_5644_); -lean_ctor_set(v___x_5645_, 1, v___x_5644_); -lean_ctor_set(v___x_5645_, 2, v___x_5644_); -lean_ctor_set(v___x_5645_, 3, v___x_5643_); -lean_ctor_set(v___x_5645_, 4, v___x_5643_); -lean_ctor_set(v___x_5645_, 5, v___x_5643_); -lean_ctor_set(v___x_5645_, 6, v___x_5643_); -lean_ctor_set(v___x_5645_, 7, v___x_5643_); -lean_ctor_set(v___x_5645_, 8, v___x_5643_); -return v___x_5645_; +lean_object* v___x_5644_; lean_object* v___x_5645_; lean_object* v___x_5646_; +v___x_5644_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); +v___x_5645_ = lean_unsigned_to_nat(0u); +v___x_5646_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v___x_5646_, 0, v___x_5645_); +lean_ctor_set(v___x_5646_, 1, v___x_5645_); +lean_ctor_set(v___x_5646_, 2, v___x_5645_); +lean_ctor_set(v___x_5646_, 3, v___x_5644_); +lean_ctor_set(v___x_5646_, 4, v___x_5644_); +lean_ctor_set(v___x_5646_, 5, v___x_5644_); +lean_ctor_set(v___x_5646_, 6, v___x_5644_); +lean_ctor_set(v___x_5646_, 7, v___x_5644_); +lean_ctor_set(v___x_5646_, 8, v___x_5644_); +return v___x_5646_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5646_; lean_object* v___x_5647_; -v___x_5646_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); -v___x_5647_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_5647_, 0, v___x_5646_); -lean_ctor_set(v___x_5647_, 1, v___x_5646_); -lean_ctor_set(v___x_5647_, 2, v___x_5646_); -lean_ctor_set(v___x_5647_, 3, v___x_5646_); -lean_ctor_set(v___x_5647_, 4, v___x_5646_); -lean_ctor_set(v___x_5647_, 5, v___x_5646_); -return v___x_5647_; +lean_object* v___x_5647_; lean_object* v___x_5648_; +v___x_5647_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); +v___x_5648_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_5648_, 0, v___x_5647_); +lean_ctor_set(v___x_5648_, 1, v___x_5647_); +lean_ctor_set(v___x_5648_, 2, v___x_5647_); +lean_ctor_set(v___x_5648_, 3, v___x_5647_); +lean_ctor_set(v___x_5648_, 4, v___x_5647_); +lean_ctor_set(v___x_5648_, 5, v___x_5647_); +return v___x_5648_; } } static lean_object* _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_5648_; lean_object* v___x_5649_; -v___x_5648_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); -v___x_5649_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_5649_, 0, v___x_5648_); -lean_ctor_set(v___x_5649_, 1, v___x_5648_); -lean_ctor_set(v___x_5649_, 2, v___x_5648_); -lean_ctor_set(v___x_5649_, 3, v___x_5648_); -lean_ctor_set(v___x_5649_, 4, v___x_5648_); -return v___x_5649_; +lean_object* v___x_5649_; lean_object* v___x_5650_; +v___x_5649_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__1, &l_Lean_Meta_Match_proveCondEqThm___closed__1_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__1); +v___x_5650_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_5650_, 0, v___x_5649_); +lean_ctor_set(v___x_5650_, 1, v___x_5649_); +lean_ctor_set(v___x_5650_, 2, v___x_5649_); +lean_ctor_set(v___x_5650_, 3, v___x_5649_); +lean_ctor_set(v___x_5650_, 4, v___x_5649_); +return v___x_5650_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(lean_object* v___x_5650_, lean_object* v_name_5651_, lean_object* v___y_5652_, lean_object* v___y_5653_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(lean_object* v___x_5651_, lean_object* v_name_5652_, lean_object* v___y_5653_, lean_object* v___y_5654_){ _start: { -lean_object* v___x_5655_; lean_object* v_env_5656_; lean_object* v___x_5657_; -v___x_5655_ = lean_st_ref_get(v___y_5653_); -v_env_5656_ = lean_ctor_get(v___x_5655_, 0); -lean_inc_ref(v_env_5656_); -lean_dec(v___x_5655_); -v___x_5657_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(v_env_5656_, v_name_5651_); -if (lean_obj_tag(v___x_5657_) == 1) +lean_object* v___x_5656_; lean_object* v_env_5657_; lean_object* v___x_5658_; +v___x_5656_ = lean_st_ref_get(v___y_5654_); +v_env_5657_ = lean_ctor_get(v___x_5656_, 0); +lean_inc_ref(v_env_5657_); +lean_dec(v___x_5656_); +v___x_5658_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchEqName_x3f(v_env_5657_, v_name_5652_); +if (lean_obj_tag(v___x_5658_) == 1) { -lean_object* v_val_5658_; lean_object* v___x_5659_; uint8_t v___x_5660_; lean_object* v___x_5661_; lean_object* v___x_5662_; lean_object* v___x_5663_; lean_object* v___x_5664_; lean_object* v___x_5665_; uint8_t v___x_5666_; lean_object* v___x_5667_; lean_object* v___x_5668_; lean_object* v___x_5669_; lean_object* v___x_5670_; lean_object* v___x_5671_; lean_object* v___x_5672_; lean_object* v___x_5673_; -v_val_5658_ = lean_ctor_get(v___x_5657_, 0); -lean_inc(v_val_5658_); -lean_dec_ref(v___x_5657_); -v___x_5659_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_5660_ = 0; -v___x_5661_ = lean_unsigned_to_nat(0u); -v___x_5662_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); -v___x_5663_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__4, &l_Lean_Meta_Match_proveCondEqThm___closed__4_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__4); -v___x_5664_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); -v___x_5665_ = lean_box(0); -v___x_5666_ = 1; -lean_inc(v___x_5650_); -v___x_5667_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_5667_, 0, v___x_5659_); -lean_ctor_set(v___x_5667_, 1, v___x_5650_); -lean_ctor_set(v___x_5667_, 2, v___x_5663_); -lean_ctor_set(v___x_5667_, 3, v___x_5664_); -lean_ctor_set(v___x_5667_, 4, v___x_5665_); -lean_ctor_set(v___x_5667_, 5, v___x_5661_); -lean_ctor_set(v___x_5667_, 6, v___x_5665_); -lean_ctor_set_uint8(v___x_5667_, sizeof(void*)*7, v___x_5660_); -lean_ctor_set_uint8(v___x_5667_, sizeof(void*)*7 + 1, v___x_5660_); -lean_ctor_set_uint8(v___x_5667_, sizeof(void*)*7 + 2, v___x_5660_); -lean_ctor_set_uint8(v___x_5667_, sizeof(void*)*7 + 3, v___x_5666_); -v___x_5668_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5669_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5670_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5671_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_5671_, 0, v___x_5668_); -lean_ctor_set(v___x_5671_, 1, v___x_5669_); -lean_ctor_set(v___x_5671_, 2, v___x_5650_); -lean_ctor_set(v___x_5671_, 3, v___x_5662_); -lean_ctor_set(v___x_5671_, 4, v___x_5670_); -v___x_5672_ = lean_st_mk_ref(v___x_5671_); -lean_inc(v___x_5672_); -v___x_5673_ = lean_get_match_equations_for(v_val_5658_, v___x_5667_, v___x_5672_, v___y_5652_, v___y_5653_); -if (lean_obj_tag(v___x_5673_) == 0) +lean_object* v_val_5659_; lean_object* v___x_5660_; uint8_t v___x_5661_; lean_object* v___x_5662_; lean_object* v___x_5663_; lean_object* v___x_5664_; lean_object* v___x_5665_; lean_object* v___x_5666_; uint8_t v___x_5667_; lean_object* v___x_5668_; lean_object* v___x_5669_; lean_object* v___x_5670_; lean_object* v___x_5671_; lean_object* v___x_5672_; lean_object* v___x_5673_; lean_object* v___x_5674_; +v_val_5659_ = lean_ctor_get(v___x_5658_, 0); +lean_inc(v_val_5659_); +lean_dec_ref(v___x_5658_); +v___x_5660_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_5661_ = 0; +v___x_5662_ = lean_unsigned_to_nat(0u); +v___x_5663_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); +v___x_5664_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__4, &l_Lean_Meta_Match_proveCondEqThm___closed__4_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__4); +v___x_5665_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); +v___x_5666_ = lean_box(0); +v___x_5667_ = 1; +lean_inc(v___x_5651_); +v___x_5668_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5668_, 0, v___x_5660_); +lean_ctor_set(v___x_5668_, 1, v___x_5651_); +lean_ctor_set(v___x_5668_, 2, v___x_5664_); +lean_ctor_set(v___x_5668_, 3, v___x_5665_); +lean_ctor_set(v___x_5668_, 4, v___x_5666_); +lean_ctor_set(v___x_5668_, 5, v___x_5662_); +lean_ctor_set(v___x_5668_, 6, v___x_5666_); +lean_ctor_set_uint8(v___x_5668_, sizeof(void*)*7, v___x_5661_); +lean_ctor_set_uint8(v___x_5668_, sizeof(void*)*7 + 1, v___x_5661_); +lean_ctor_set_uint8(v___x_5668_, sizeof(void*)*7 + 2, v___x_5661_); +lean_ctor_set_uint8(v___x_5668_, sizeof(void*)*7 + 3, v___x_5667_); +v___x_5669_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5670_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5671_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5672_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_5672_, 0, v___x_5669_); +lean_ctor_set(v___x_5672_, 1, v___x_5670_); +lean_ctor_set(v___x_5672_, 2, v___x_5651_); +lean_ctor_set(v___x_5672_, 3, v___x_5663_); +lean_ctor_set(v___x_5672_, 4, v___x_5671_); +v___x_5673_ = lean_st_mk_ref(v___x_5672_); +lean_inc(v___x_5673_); +v___x_5674_ = lean_get_match_equations_for(v_val_5659_, v___x_5668_, v___x_5673_, v___y_5653_, v___y_5654_); +if (lean_obj_tag(v___x_5674_) == 0) { -lean_object* v___x_5675_; uint8_t v_isShared_5676_; uint8_t v_isSharedCheck_5682_; -v_isSharedCheck_5682_ = !lean_is_exclusive(v___x_5673_); -if (v_isSharedCheck_5682_ == 0) +lean_object* v___x_5676_; uint8_t v_isShared_5677_; uint8_t v_isSharedCheck_5683_; +v_isSharedCheck_5683_ = !lean_is_exclusive(v___x_5674_); +if (v_isSharedCheck_5683_ == 0) { -lean_object* v_unused_5683_; -v_unused_5683_ = lean_ctor_get(v___x_5673_, 0); -lean_dec(v_unused_5683_); -v___x_5675_ = v___x_5673_; -v_isShared_5676_ = v_isSharedCheck_5682_; -goto v_resetjp_5674_; +lean_object* v_unused_5684_; +v_unused_5684_ = lean_ctor_get(v___x_5674_, 0); +lean_dec(v_unused_5684_); +v___x_5676_ = v___x_5674_; +v_isShared_5677_ = v_isSharedCheck_5683_; +goto v_resetjp_5675_; +} +else +{ +lean_dec(v___x_5674_); +v___x_5676_ = lean_box(0); +v_isShared_5677_ = v_isSharedCheck_5683_; +goto v_resetjp_5675_; +} +v_resetjp_5675_: +{ +lean_object* v___x_5678_; lean_object* v___x_5679_; lean_object* v___x_5681_; +v___x_5678_ = lean_st_ref_get(v___x_5673_); +lean_dec(v___x_5673_); +lean_dec(v___x_5678_); +v___x_5679_ = lean_box(v___x_5667_); +if (v_isShared_5677_ == 0) +{ +lean_ctor_set(v___x_5676_, 0, v___x_5679_); +v___x_5681_ = v___x_5676_; +goto v_reusejp_5680_; +} +else +{ +lean_object* v_reuseFailAlloc_5682_; +v_reuseFailAlloc_5682_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5682_, 0, v___x_5679_); +v___x_5681_ = v_reuseFailAlloc_5682_; +goto v_reusejp_5680_; +} +v_reusejp_5680_: +{ +return v___x_5681_; +} +} } else { lean_dec(v___x_5673_); -v___x_5675_ = lean_box(0); -v_isShared_5676_ = v_isSharedCheck_5682_; -goto v_resetjp_5674_; -} -v_resetjp_5674_: +if (lean_obj_tag(v___x_5674_) == 0) { -lean_object* v___x_5677_; lean_object* v___x_5678_; lean_object* v___x_5680_; -v___x_5677_ = lean_st_ref_get(v___x_5672_); -lean_dec(v___x_5672_); -lean_dec(v___x_5677_); -v___x_5678_ = lean_box(v___x_5666_); -if (v_isShared_5676_ == 0) +lean_object* v___x_5686_; uint8_t v_isShared_5687_; uint8_t v_isSharedCheck_5692_; +v_isSharedCheck_5692_ = !lean_is_exclusive(v___x_5674_); +if (v_isSharedCheck_5692_ == 0) { -lean_ctor_set(v___x_5675_, 0, v___x_5678_); -v___x_5680_ = v___x_5675_; -goto v_reusejp_5679_; +lean_object* v_unused_5693_; +v_unused_5693_ = lean_ctor_get(v___x_5674_, 0); +lean_dec(v_unused_5693_); +v___x_5686_ = v___x_5674_; +v_isShared_5687_ = v_isSharedCheck_5692_; +goto v_resetjp_5685_; } else { -lean_object* v_reuseFailAlloc_5681_; -v_reuseFailAlloc_5681_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5681_, 0, v___x_5678_); -v___x_5680_ = v_reuseFailAlloc_5681_; -goto v_reusejp_5679_; +lean_dec(v___x_5674_); +v___x_5686_ = lean_box(0); +v_isShared_5687_ = v_isSharedCheck_5692_; +goto v_resetjp_5685_; } -v_reusejp_5679_: +v_resetjp_5685_: { -return v___x_5680_; +lean_object* v___x_5688_; lean_object* v___x_5690_; +v___x_5688_ = lean_box(v___x_5667_); +if (v_isShared_5687_ == 0) +{ +lean_ctor_set_tag(v___x_5686_, 0); +lean_ctor_set(v___x_5686_, 0, v___x_5688_); +v___x_5690_ = v___x_5686_; +goto v_reusejp_5689_; +} +else +{ +lean_object* v_reuseFailAlloc_5691_; +v_reuseFailAlloc_5691_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5691_, 0, v___x_5688_); +v___x_5690_ = v_reuseFailAlloc_5691_; +goto v_reusejp_5689_; +} +v_reusejp_5689_: +{ +return v___x_5690_; } } } else { -lean_dec(v___x_5672_); -if (lean_obj_tag(v___x_5673_) == 0) +lean_object* v_a_5694_; lean_object* v___x_5696_; uint8_t v_isShared_5697_; uint8_t v_isSharedCheck_5701_; +v_a_5694_ = lean_ctor_get(v___x_5674_, 0); +v_isSharedCheck_5701_ = !lean_is_exclusive(v___x_5674_); +if (v_isSharedCheck_5701_ == 0) { -lean_object* v___x_5685_; uint8_t v_isShared_5686_; uint8_t v_isSharedCheck_5691_; -v_isSharedCheck_5691_ = !lean_is_exclusive(v___x_5673_); -if (v_isSharedCheck_5691_ == 0) -{ -lean_object* v_unused_5692_; -v_unused_5692_ = lean_ctor_get(v___x_5673_, 0); -lean_dec(v_unused_5692_); -v___x_5685_ = v___x_5673_; -v_isShared_5686_ = v_isSharedCheck_5691_; -goto v_resetjp_5684_; +v___x_5696_ = v___x_5674_; +v_isShared_5697_ = v_isSharedCheck_5701_; +goto v_resetjp_5695_; } else { -lean_dec(v___x_5673_); -v___x_5685_ = lean_box(0); -v_isShared_5686_ = v_isSharedCheck_5691_; -goto v_resetjp_5684_; +lean_inc(v_a_5694_); +lean_dec(v___x_5674_); +v___x_5696_ = lean_box(0); +v_isShared_5697_ = v_isSharedCheck_5701_; +goto v_resetjp_5695_; } -v_resetjp_5684_: +v_resetjp_5695_: { -lean_object* v___x_5687_; lean_object* v___x_5689_; -v___x_5687_ = lean_box(v___x_5666_); -if (v_isShared_5686_ == 0) +lean_object* v___x_5699_; +if (v_isShared_5697_ == 0) { -lean_ctor_set_tag(v___x_5685_, 0); -lean_ctor_set(v___x_5685_, 0, v___x_5687_); -v___x_5689_ = v___x_5685_; -goto v_reusejp_5688_; +v___x_5699_ = v___x_5696_; +goto v_reusejp_5698_; } else { -lean_object* v_reuseFailAlloc_5690_; -v_reuseFailAlloc_5690_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5690_, 0, v___x_5687_); -v___x_5689_ = v_reuseFailAlloc_5690_; -goto v_reusejp_5688_; +lean_object* v_reuseFailAlloc_5700_; +v_reuseFailAlloc_5700_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5700_, 0, v_a_5694_); +v___x_5699_ = v_reuseFailAlloc_5700_; +goto v_reusejp_5698_; } -v_reusejp_5688_: +v_reusejp_5698_: { -return v___x_5689_; -} -} -} -else -{ -lean_object* v_a_5693_; lean_object* v___x_5695_; uint8_t v_isShared_5696_; uint8_t v_isSharedCheck_5700_; -v_a_5693_ = lean_ctor_get(v___x_5673_, 0); -v_isSharedCheck_5700_ = !lean_is_exclusive(v___x_5673_); -if (v_isSharedCheck_5700_ == 0) -{ -v___x_5695_ = v___x_5673_; -v_isShared_5696_ = v_isSharedCheck_5700_; -goto v_resetjp_5694_; -} -else -{ -lean_inc(v_a_5693_); -lean_dec(v___x_5673_); -v___x_5695_ = lean_box(0); -v_isShared_5696_ = v_isSharedCheck_5700_; -goto v_resetjp_5694_; -} -v_resetjp_5694_: -{ -lean_object* v___x_5698_; -if (v_isShared_5696_ == 0) -{ -v___x_5698_ = v___x_5695_; -goto v_reusejp_5697_; -} -else -{ -lean_object* v_reuseFailAlloc_5699_; -v_reuseFailAlloc_5699_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5699_, 0, v_a_5693_); -v___x_5698_ = v_reuseFailAlloc_5699_; -goto v_reusejp_5697_; -} -v_reusejp_5697_: -{ -return v___x_5698_; +return v___x_5699_; } } } @@ -18303,325 +18322,325 @@ return v___x_5698_; } else { -uint8_t v___x_5701_; lean_object* v___x_5702_; lean_object* v___x_5703_; -lean_dec(v___x_5657_); -lean_dec(v___y_5653_); -lean_dec_ref(v___y_5652_); -lean_dec(v___x_5650_); -v___x_5701_ = 0; -v___x_5702_ = lean_box(v___x_5701_); -v___x_5703_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5703_, 0, v___x_5702_); -return v___x_5703_; +uint8_t v___x_5702_; lean_object* v___x_5703_; lean_object* v___x_5704_; +lean_dec(v___x_5658_); +lean_dec(v___y_5654_); +lean_dec_ref(v___y_5653_); +lean_dec(v___x_5651_); +v___x_5702_ = 0; +v___x_5703_ = lean_box(v___x_5702_); +v___x_5704_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5704_, 0, v___x_5703_); +return v___x_5704_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2____boxed(lean_object* v___x_5704_, lean_object* v_name_5705_, lean_object* v___y_5706_, lean_object* v___y_5707_, lean_object* v___y_5708_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2____boxed(lean_object* v___x_5705_, lean_object* v_name_5706_, lean_object* v___y_5707_, lean_object* v___y_5708_, lean_object* v___y_5709_){ _start: { -lean_object* v_res_5709_; -v_res_5709_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(v___x_5704_, v_name_5705_, v___y_5706_, v___y_5707_); -return v_res_5709_; +lean_object* v_res_5710_; +v_res_5710_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(v___x_5705_, v_name_5706_, v___y_5707_, v___y_5708_); +return v_res_5710_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(){ _start: { -lean_object* v___f_5713_; lean_object* v___x_5714_; -v___f_5713_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); -v___x_5714_ = l_Lean_registerReservedNameAction(v___f_5713_); -return v___x_5714_; +lean_object* v___f_5714_; lean_object* v___x_5715_; +v___f_5714_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); +v___x_5715_ = l_Lean_registerReservedNameAction(v___f_5714_); +return v___x_5715_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2____boxed(lean_object* v_a_5715_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2____boxed(lean_object* v_a_5716_){ _start: { -lean_object* v_res_5716_; -v_res_5716_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(); -return v_res_5716_; +lean_object* v_res_5717_; +v_res_5717_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_(); +return v_res_5717_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(lean_object* v_env_5717_, lean_object* v_n_5718_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(lean_object* v_env_5718_, lean_object* v_n_5719_){ _start: { -if (lean_obj_tag(v_n_5718_) == 1) +if (lean_obj_tag(v_n_5719_) == 1) { -lean_object* v_pre_5719_; lean_object* v_str_5720_; uint8_t v___x_5721_; -v_pre_5719_ = lean_ctor_get(v_n_5718_, 0); -lean_inc(v_pre_5719_); -v_str_5720_ = lean_ctor_get(v_n_5718_, 1); -lean_inc_ref(v_str_5720_); -lean_dec_ref(v_n_5718_); -v___x_5721_ = l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(v_str_5720_); -if (v___x_5721_ == 0) +lean_object* v_pre_5720_; lean_object* v_str_5721_; uint8_t v___x_5722_; +v_pre_5720_ = lean_ctor_get(v_n_5719_, 0); +lean_inc(v_pre_5720_); +v_str_5721_ = lean_ctor_get(v_n_5719_, 1); +lean_inc_ref(v_str_5721_); +lean_dec_ref(v_n_5719_); +v___x_5722_ = l_Lean_Meta_Match_isCongrEqnReservedNameSuffix(v_str_5721_); +if (v___x_5722_ == 0) { -lean_object* v___x_5722_; -lean_dec(v_pre_5719_); -lean_dec_ref(v_env_5717_); -v___x_5722_ = lean_box(0); -return v___x_5722_; +lean_object* v___x_5723_; +lean_dec(v_pre_5720_); +lean_dec_ref(v_env_5718_); +v___x_5723_ = lean_box(0); +return v___x_5723_; } else { -uint8_t v___x_5723_; -lean_inc(v_pre_5719_); -v___x_5723_ = lean_is_matcher(v_env_5717_, v_pre_5719_); -if (v___x_5723_ == 0) -{ -lean_object* v___x_5724_; -lean_dec(v_pre_5719_); -v___x_5724_ = lean_box(0); -return v___x_5724_; -} -else +uint8_t v___x_5724_; +lean_inc(v_pre_5720_); +v___x_5724_ = lean_is_matcher(v_env_5718_, v_pre_5720_); +if (v___x_5724_ == 0) { lean_object* v___x_5725_; -v___x_5725_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_5725_, 0, v_pre_5719_); +lean_dec(v_pre_5720_); +v___x_5725_ = lean_box(0); return v___x_5725_; } -} -} else { lean_object* v___x_5726_; -lean_dec(v_n_5718_); -lean_dec_ref(v_env_5717_); -v___x_5726_ = lean_box(0); +v___x_5726_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_5726_, 0, v_pre_5720_); return v___x_5726_; } } } -LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(lean_object* v_x1_5727_, lean_object* v_x2_5728_){ +else +{ +lean_object* v___x_5727_; +lean_dec(v_n_5719_); +lean_dec_ref(v_env_5718_); +v___x_5727_ = lean_box(0); +return v___x_5727_; +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(lean_object* v_x1_5728_, lean_object* v_x2_5729_){ _start: { -lean_object* v___x_5729_; -v___x_5729_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(v_x1_5727_, v_x2_5728_); -if (lean_obj_tag(v___x_5729_) == 0) +lean_object* v___x_5730_; +v___x_5730_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(v_x1_5728_, v_x2_5729_); +if (lean_obj_tag(v___x_5730_) == 0) { -uint8_t v___x_5730_; -v___x_5730_ = 0; -return v___x_5730_; +uint8_t v___x_5731_; +v___x_5731_ = 0; +return v___x_5731_; } else { -uint8_t v___x_5731_; -lean_dec_ref(v___x_5729_); -v___x_5731_ = 1; -return v___x_5731_; +uint8_t v___x_5732_; +lean_dec_ref(v___x_5730_); +v___x_5732_ = 1; +return v___x_5732_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2____boxed(lean_object* v_x1_5732_, lean_object* v_x2_5733_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2____boxed(lean_object* v_x1_5733_, lean_object* v_x2_5734_){ _start: { -uint8_t v_res_5734_; lean_object* v_r_5735_; -v_res_5734_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(v_x1_5732_, v_x2_5733_); -v_r_5735_ = lean_box(v_res_5734_); -return v_r_5735_; +uint8_t v_res_5735_; lean_object* v_r_5736_; +v_res_5735_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(v_x1_5733_, v_x2_5734_); +v_r_5736_ = lean_box(v_res_5735_); +return v_r_5736_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(){ _start: { -lean_object* v___f_5738_; lean_object* v___x_5739_; -v___f_5738_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_)); -v___x_5739_ = l_Lean_registerReservedNamePredicate(v___f_5738_); -return v___x_5739_; +lean_object* v___f_5739_; lean_object* v___x_5740_; +v___f_5739_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_)); +v___x_5740_ = l_Lean_registerReservedNamePredicate(v___f_5739_); +return v___x_5740_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2____boxed(lean_object* v_a_5740_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2____boxed(lean_object* v_a_5741_){ _start: { -lean_object* v_res_5741_; -v_res_5741_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(); -return v_res_5741_; +lean_object* v_res_5742_; +v_res_5742_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_136844199____hygCtx___hyg_2_(); +return v_res_5742_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(lean_object* v___x_5742_, lean_object* v_name_5743_, lean_object* v___y_5744_, lean_object* v___y_5745_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(lean_object* v___x_5743_, lean_object* v_name_5744_, lean_object* v___y_5745_, lean_object* v___y_5746_){ _start: { -lean_object* v___x_5747_; lean_object* v_env_5748_; lean_object* v___x_5749_; -v___x_5747_ = lean_st_ref_get(v___y_5745_); -v_env_5748_ = lean_ctor_get(v___x_5747_, 0); -lean_inc_ref(v_env_5748_); -lean_dec(v___x_5747_); -v___x_5749_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(v_env_5748_, v_name_5743_); -if (lean_obj_tag(v___x_5749_) == 1) +lean_object* v___x_5748_; lean_object* v_env_5749_; lean_object* v___x_5750_; +v___x_5748_ = lean_st_ref_get(v___y_5746_); +v_env_5749_ = lean_ctor_get(v___x_5748_, 0); +lean_inc_ref(v_env_5749_); +lean_dec(v___x_5748_); +v___x_5750_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_isMatchCongrEqName_x3f(v_env_5749_, v_name_5744_); +if (lean_obj_tag(v___x_5750_) == 1) { -lean_object* v_val_5750_; lean_object* v___x_5751_; uint8_t v___x_5752_; lean_object* v___x_5753_; lean_object* v___x_5754_; lean_object* v___x_5755_; lean_object* v___x_5756_; lean_object* v___x_5757_; lean_object* v___x_5758_; lean_object* v___x_5759_; uint8_t v___x_5760_; lean_object* v___x_5761_; lean_object* v___x_5762_; lean_object* v___x_5763_; lean_object* v___x_5764_; lean_object* v___x_5765_; lean_object* v___x_5766_; lean_object* v___x_5767_; -v_val_5750_ = lean_ctor_get(v___x_5749_, 0); -lean_inc(v_val_5750_); -lean_dec_ref(v___x_5749_); -v___x_5751_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; -v___x_5752_ = 0; -v___x_5753_ = lean_unsigned_to_nat(32u); -v___x_5754_ = lean_mk_empty_array_with_capacity(v___x_5753_); -lean_dec_ref(v___x_5754_); -v___x_5755_ = lean_unsigned_to_nat(0u); -v___x_5756_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); -v___x_5757_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__4, &l_Lean_Meta_Match_proveCondEqThm___closed__4_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__4); -v___x_5758_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); -v___x_5759_ = lean_box(0); -v___x_5760_ = 1; -lean_inc(v___x_5742_); -v___x_5761_ = lean_alloc_ctor(0, 7, 4); -lean_ctor_set(v___x_5761_, 0, v___x_5751_); -lean_ctor_set(v___x_5761_, 1, v___x_5742_); -lean_ctor_set(v___x_5761_, 2, v___x_5757_); -lean_ctor_set(v___x_5761_, 3, v___x_5758_); -lean_ctor_set(v___x_5761_, 4, v___x_5759_); -lean_ctor_set(v___x_5761_, 5, v___x_5755_); -lean_ctor_set(v___x_5761_, 6, v___x_5759_); -lean_ctor_set_uint8(v___x_5761_, sizeof(void*)*7, v___x_5752_); -lean_ctor_set_uint8(v___x_5761_, sizeof(void*)*7 + 1, v___x_5752_); -lean_ctor_set_uint8(v___x_5761_, sizeof(void*)*7 + 2, v___x_5752_); -lean_ctor_set_uint8(v___x_5761_, sizeof(void*)*7 + 3, v___x_5760_); -v___x_5762_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5763_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5764_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); -v___x_5765_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v___x_5765_, 0, v___x_5762_); -lean_ctor_set(v___x_5765_, 1, v___x_5763_); -lean_ctor_set(v___x_5765_, 2, v___x_5742_); -lean_ctor_set(v___x_5765_, 3, v___x_5756_); -lean_ctor_set(v___x_5765_, 4, v___x_5764_); -v___x_5766_ = lean_st_mk_ref(v___x_5765_); -lean_inc(v___x_5766_); -v___x_5767_ = lean_get_congr_match_equations_for(v_val_5750_, v___x_5761_, v___x_5766_, v___y_5744_, v___y_5745_); -if (lean_obj_tag(v___x_5767_) == 0) +lean_object* v_val_5751_; lean_object* v___x_5752_; uint8_t v___x_5753_; lean_object* v___x_5754_; lean_object* v___x_5755_; lean_object* v___x_5756_; lean_object* v___x_5757_; lean_object* v___x_5758_; lean_object* v___x_5759_; lean_object* v___x_5760_; uint8_t v___x_5761_; lean_object* v___x_5762_; lean_object* v___x_5763_; lean_object* v___x_5764_; lean_object* v___x_5765_; lean_object* v___x_5766_; lean_object* v___x_5767_; lean_object* v___x_5768_; +v_val_5751_ = lean_ctor_get(v___x_5750_, 0); +lean_inc(v_val_5751_); +lean_dec_ref(v___x_5750_); +v___x_5752_ = l_Lean_Meta_instInhabitedConfigWithKey___private__1; +v___x_5753_ = 0; +v___x_5754_ = lean_unsigned_to_nat(32u); +v___x_5755_ = lean_mk_empty_array_with_capacity(v___x_5754_); +lean_dec_ref(v___x_5755_); +v___x_5756_ = lean_unsigned_to_nat(0u); +v___x_5757_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__3, &l_Lean_Meta_Match_proveCondEqThm___closed__3_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__3); +v___x_5758_ = lean_obj_once(&l_Lean_Meta_Match_proveCondEqThm___closed__4, &l_Lean_Meta_Match_proveCondEqThm___closed__4_once, _init_l_Lean_Meta_Match_proveCondEqThm___closed__4); +v___x_5759_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__0_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_)); +v___x_5760_ = lean_box(0); +v___x_5761_ = 1; +lean_inc(v___x_5743_); +v___x_5762_ = lean_alloc_ctor(0, 7, 4); +lean_ctor_set(v___x_5762_, 0, v___x_5752_); +lean_ctor_set(v___x_5762_, 1, v___x_5743_); +lean_ctor_set(v___x_5762_, 2, v___x_5758_); +lean_ctor_set(v___x_5762_, 3, v___x_5759_); +lean_ctor_set(v___x_5762_, 4, v___x_5760_); +lean_ctor_set(v___x_5762_, 5, v___x_5756_); +lean_ctor_set(v___x_5762_, 6, v___x_5760_); +lean_ctor_set_uint8(v___x_5762_, sizeof(void*)*7, v___x_5753_); +lean_ctor_set_uint8(v___x_5762_, sizeof(void*)*7 + 1, v___x_5753_); +lean_ctor_set_uint8(v___x_5762_, sizeof(void*)*7 + 2, v___x_5753_); +lean_ctor_set_uint8(v___x_5762_, sizeof(void*)*7 + 3, v___x_5761_); +v___x_5763_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__1_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5764_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__2_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5765_ = lean_obj_once(&l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_, &l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2__once, _init_l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0___closed__3_00___x40_Lean_Meta_Match_MatchEqs_3170112230____hygCtx___hyg_2_); +v___x_5766_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v___x_5766_, 0, v___x_5763_); +lean_ctor_set(v___x_5766_, 1, v___x_5764_); +lean_ctor_set(v___x_5766_, 2, v___x_5743_); +lean_ctor_set(v___x_5766_, 3, v___x_5757_); +lean_ctor_set(v___x_5766_, 4, v___x_5765_); +v___x_5767_ = lean_st_mk_ref(v___x_5766_); +lean_inc(v___x_5767_); +v___x_5768_ = lean_get_congr_match_equations_for(v_val_5751_, v___x_5762_, v___x_5767_, v___y_5745_, v___y_5746_); +if (lean_obj_tag(v___x_5768_) == 0) { -lean_object* v___x_5769_; uint8_t v_isShared_5770_; uint8_t v_isSharedCheck_5776_; -v_isSharedCheck_5776_ = !lean_is_exclusive(v___x_5767_); -if (v_isSharedCheck_5776_ == 0) +lean_object* v___x_5770_; uint8_t v_isShared_5771_; uint8_t v_isSharedCheck_5777_; +v_isSharedCheck_5777_ = !lean_is_exclusive(v___x_5768_); +if (v_isSharedCheck_5777_ == 0) { -lean_object* v_unused_5777_; -v_unused_5777_ = lean_ctor_get(v___x_5767_, 0); -lean_dec(v_unused_5777_); -v___x_5769_ = v___x_5767_; -v_isShared_5770_ = v_isSharedCheck_5776_; -goto v_resetjp_5768_; +lean_object* v_unused_5778_; +v_unused_5778_ = lean_ctor_get(v___x_5768_, 0); +lean_dec(v_unused_5778_); +v___x_5770_ = v___x_5768_; +v_isShared_5771_ = v_isSharedCheck_5777_; +goto v_resetjp_5769_; +} +else +{ +lean_dec(v___x_5768_); +v___x_5770_ = lean_box(0); +v_isShared_5771_ = v_isSharedCheck_5777_; +goto v_resetjp_5769_; +} +v_resetjp_5769_: +{ +lean_object* v___x_5772_; lean_object* v___x_5773_; lean_object* v___x_5775_; +v___x_5772_ = lean_st_ref_get(v___x_5767_); +lean_dec(v___x_5767_); +lean_dec(v___x_5772_); +v___x_5773_ = lean_box(v___x_5761_); +if (v_isShared_5771_ == 0) +{ +lean_ctor_set(v___x_5770_, 0, v___x_5773_); +v___x_5775_ = v___x_5770_; +goto v_reusejp_5774_; +} +else +{ +lean_object* v_reuseFailAlloc_5776_; +v_reuseFailAlloc_5776_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5776_, 0, v___x_5773_); +v___x_5775_ = v_reuseFailAlloc_5776_; +goto v_reusejp_5774_; +} +v_reusejp_5774_: +{ +return v___x_5775_; +} +} } else { lean_dec(v___x_5767_); -v___x_5769_ = lean_box(0); -v_isShared_5770_ = v_isSharedCheck_5776_; -goto v_resetjp_5768_; -} -v_resetjp_5768_: +if (lean_obj_tag(v___x_5768_) == 0) { -lean_object* v___x_5771_; lean_object* v___x_5772_; lean_object* v___x_5774_; -v___x_5771_ = lean_st_ref_get(v___x_5766_); -lean_dec(v___x_5766_); -lean_dec(v___x_5771_); -v___x_5772_ = lean_box(v___x_5760_); -if (v_isShared_5770_ == 0) +lean_object* v___x_5780_; uint8_t v_isShared_5781_; uint8_t v_isSharedCheck_5786_; +v_isSharedCheck_5786_ = !lean_is_exclusive(v___x_5768_); +if (v_isSharedCheck_5786_ == 0) { -lean_ctor_set(v___x_5769_, 0, v___x_5772_); -v___x_5774_ = v___x_5769_; -goto v_reusejp_5773_; +lean_object* v_unused_5787_; +v_unused_5787_ = lean_ctor_get(v___x_5768_, 0); +lean_dec(v_unused_5787_); +v___x_5780_ = v___x_5768_; +v_isShared_5781_ = v_isSharedCheck_5786_; +goto v_resetjp_5779_; } else { -lean_object* v_reuseFailAlloc_5775_; -v_reuseFailAlloc_5775_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5775_, 0, v___x_5772_); -v___x_5774_ = v_reuseFailAlloc_5775_; -goto v_reusejp_5773_; +lean_dec(v___x_5768_); +v___x_5780_ = lean_box(0); +v_isShared_5781_ = v_isSharedCheck_5786_; +goto v_resetjp_5779_; } -v_reusejp_5773_: +v_resetjp_5779_: { -return v___x_5774_; +lean_object* v___x_5782_; lean_object* v___x_5784_; +v___x_5782_ = lean_box(v___x_5761_); +if (v_isShared_5781_ == 0) +{ +lean_ctor_set_tag(v___x_5780_, 0); +lean_ctor_set(v___x_5780_, 0, v___x_5782_); +v___x_5784_ = v___x_5780_; +goto v_reusejp_5783_; +} +else +{ +lean_object* v_reuseFailAlloc_5785_; +v_reuseFailAlloc_5785_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5785_, 0, v___x_5782_); +v___x_5784_ = v_reuseFailAlloc_5785_; +goto v_reusejp_5783_; +} +v_reusejp_5783_: +{ +return v___x_5784_; } } } else { -lean_dec(v___x_5766_); -if (lean_obj_tag(v___x_5767_) == 0) +lean_object* v_a_5788_; lean_object* v___x_5790_; uint8_t v_isShared_5791_; uint8_t v_isSharedCheck_5795_; +v_a_5788_ = lean_ctor_get(v___x_5768_, 0); +v_isSharedCheck_5795_ = !lean_is_exclusive(v___x_5768_); +if (v_isSharedCheck_5795_ == 0) { -lean_object* v___x_5779_; uint8_t v_isShared_5780_; uint8_t v_isSharedCheck_5785_; -v_isSharedCheck_5785_ = !lean_is_exclusive(v___x_5767_); -if (v_isSharedCheck_5785_ == 0) -{ -lean_object* v_unused_5786_; -v_unused_5786_ = lean_ctor_get(v___x_5767_, 0); -lean_dec(v_unused_5786_); -v___x_5779_ = v___x_5767_; -v_isShared_5780_ = v_isSharedCheck_5785_; -goto v_resetjp_5778_; +v___x_5790_ = v___x_5768_; +v_isShared_5791_ = v_isSharedCheck_5795_; +goto v_resetjp_5789_; } else { -lean_dec(v___x_5767_); -v___x_5779_ = lean_box(0); -v_isShared_5780_ = v_isSharedCheck_5785_; -goto v_resetjp_5778_; +lean_inc(v_a_5788_); +lean_dec(v___x_5768_); +v___x_5790_ = lean_box(0); +v_isShared_5791_ = v_isSharedCheck_5795_; +goto v_resetjp_5789_; } -v_resetjp_5778_: +v_resetjp_5789_: { -lean_object* v___x_5781_; lean_object* v___x_5783_; -v___x_5781_ = lean_box(v___x_5760_); -if (v_isShared_5780_ == 0) +lean_object* v___x_5793_; +if (v_isShared_5791_ == 0) { -lean_ctor_set_tag(v___x_5779_, 0); -lean_ctor_set(v___x_5779_, 0, v___x_5781_); -v___x_5783_ = v___x_5779_; -goto v_reusejp_5782_; +v___x_5793_ = v___x_5790_; +goto v_reusejp_5792_; } else { -lean_object* v_reuseFailAlloc_5784_; -v_reuseFailAlloc_5784_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5784_, 0, v___x_5781_); -v___x_5783_ = v_reuseFailAlloc_5784_; -goto v_reusejp_5782_; +lean_object* v_reuseFailAlloc_5794_; +v_reuseFailAlloc_5794_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_5794_, 0, v_a_5788_); +v___x_5793_ = v_reuseFailAlloc_5794_; +goto v_reusejp_5792_; } -v_reusejp_5782_: +v_reusejp_5792_: { -return v___x_5783_; -} -} -} -else -{ -lean_object* v_a_5787_; lean_object* v___x_5789_; uint8_t v_isShared_5790_; uint8_t v_isSharedCheck_5794_; -v_a_5787_ = lean_ctor_get(v___x_5767_, 0); -v_isSharedCheck_5794_ = !lean_is_exclusive(v___x_5767_); -if (v_isSharedCheck_5794_ == 0) -{ -v___x_5789_ = v___x_5767_; -v_isShared_5790_ = v_isSharedCheck_5794_; -goto v_resetjp_5788_; -} -else -{ -lean_inc(v_a_5787_); -lean_dec(v___x_5767_); -v___x_5789_ = lean_box(0); -v_isShared_5790_ = v_isSharedCheck_5794_; -goto v_resetjp_5788_; -} -v_resetjp_5788_: -{ -lean_object* v___x_5792_; -if (v_isShared_5790_ == 0) -{ -v___x_5792_ = v___x_5789_; -goto v_reusejp_5791_; -} -else -{ -lean_object* v_reuseFailAlloc_5793_; -v_reuseFailAlloc_5793_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_5793_, 0, v_a_5787_); -v___x_5792_ = v_reuseFailAlloc_5793_; -goto v_reusejp_5791_; -} -v_reusejp_5791_: -{ -return v___x_5792_; +return v___x_5793_; } } } @@ -18629,42 +18648,42 @@ return v___x_5792_; } else { -uint8_t v___x_5795_; lean_object* v___x_5796_; lean_object* v___x_5797_; -lean_dec(v___x_5749_); -lean_dec(v___y_5745_); -lean_dec_ref(v___y_5744_); -lean_dec(v___x_5742_); -v___x_5795_ = 0; -v___x_5796_ = lean_box(v___x_5795_); -v___x_5797_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_5797_, 0, v___x_5796_); -return v___x_5797_; +uint8_t v___x_5796_; lean_object* v___x_5797_; lean_object* v___x_5798_; +lean_dec(v___x_5750_); +lean_dec(v___y_5746_); +lean_dec_ref(v___y_5745_); +lean_dec(v___x_5743_); +v___x_5796_ = 0; +v___x_5797_ = lean_box(v___x_5796_); +v___x_5798_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_5798_, 0, v___x_5797_); +return v___x_5798_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2____boxed(lean_object* v___x_5798_, lean_object* v_name_5799_, lean_object* v___y_5800_, lean_object* v___y_5801_, lean_object* v___y_5802_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2____boxed(lean_object* v___x_5799_, lean_object* v_name_5800_, lean_object* v___y_5801_, lean_object* v___y_5802_, lean_object* v___y_5803_){ _start: { -lean_object* v_res_5803_; -v_res_5803_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(v___x_5798_, v_name_5799_, v___y_5800_, v___y_5801_); -return v_res_5803_; +lean_object* v_res_5804_; +v_res_5804_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(v___x_5799_, v_name_5800_, v___y_5801_, v___y_5802_); +return v_res_5804_; } } LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(){ _start: { -lean_object* v___f_5807_; lean_object* v___x_5808_; -v___f_5807_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_)); -v___x_5808_ = l_Lean_registerReservedNameAction(v___f_5807_); -return v___x_5808_; +lean_object* v___f_5808_; lean_object* v___x_5809_; +v___f_5808_ = ((lean_object*)(l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn___closed__0_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_)); +v___x_5809_ = l_Lean_registerReservedNameAction(v___f_5808_); +return v___x_5809_; } } -LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2____boxed(lean_object* v_a_5809_){ +LEAN_EXPORT lean_object* l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2____boxed(lean_object* v_a_5810_){ _start: { -lean_object* v_res_5810_; -v_res_5810_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(); -return v_res_5810_; +lean_object* v_res_5811_; +v_res_5811_ = l___private_Lean_Meta_Match_MatchEqs_0__Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqs_2767730534____hygCtx___hyg_2_(); +return v_res_5811_; } } lean_object* runtime_initialize_Lean_Meta_Match_Match(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Native.c b/stage0/stdlib/Lean/Meta/Native.c index 91da6ad59b..0a0f9e1261 100644 --- a/stage0/stdlib/Lean/Meta/Native.c +++ b/stage0/stdlib/Lean/Meta/Native.c @@ -16,12 +16,12 @@ extern "C" { lean_object* l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_mkStr1(lean_object*); uint8_t l_Lean_Name_isPrefixOf(lean_object*, lean_object*); -lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); uint8_t l_Lean_Name_isAnonymous(lean_object*); lean_object* lean_st_ref_take(lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*); lean_object* l_List_reverse___redArg(lean_object*); lean_object* l_Lean_mkLevelParam(lean_object*); @@ -42,14 +42,16 @@ lean_object* l_Lean_Environment_evalConst___redArg(lean_object*, lean_object*, l extern lean_object* l_Lean_Elab_abortCommandExceptionId; uint8_t l_Lean_Exception_isInterrupt(lean_object*); uint8_t l_Lean_Exception_isRuntime(lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); lean_object* l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(lean_object*, lean_object*); lean_object* l_Lean_addAndCompile(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Kernel_enableDiag(lean_object*, uint8_t); extern lean_object* l_Lean_Elab_async; extern lean_object* l_Lean_diagnostics; +extern lean_object* l_Lean_Compiler_compiler_relaxedMetaCheck; +uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); extern lean_object* l_Lean_maxRecDepth; extern lean_object* l_Lean_Compiler_compiler_postponeCompile; -uint8_t l_Lean_Kernel_isDiagnosticsEnabled(lean_object*); lean_object* l_Lean_Environment_unlockAsync(lean_object*); lean_object* l_Lean_Level_ofNat(lean_object*); lean_object* l_Lean_Name_mkStr2(lean_object*, lean_object*); @@ -134,12 +136,12 @@ static lean_once_cell_t l_Lean_Meta_nativeEqTrue___lam__0___closed__10_once = LE static lean_object* l_Lean_Meta_nativeEqTrue___lam__0___closed__10; static lean_once_cell_t l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Meta_nativeEqTrue___lam__0___closed__11; +static lean_once_cell_t l_Lean_Meta_nativeEqTrue___lam__0___closed__12_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Meta_nativeEqTrue___lam__0___closed__12; LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___lam__0(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_nativeEqTrue___lam__0___boxed(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_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg___boxed(lean_object*, lean_object*, lean_object*); -static lean_once_cell_t l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0; LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1201,1908 +1203,2247 @@ lean_ctor_set(v___x_405_, 1, v___x_404_); return v___x_405_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___lam__0(lean_object* v___x_406_, lean_object* v___x_407_, lean_object* v_tacticName_408_, lean_object* v___x_409_, lean_object* v_a_410_, lean_object* v___y_411_, lean_object* v___y_412_, lean_object* v___y_413_, lean_object* v___y_414_){ +static lean_object* _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__12(void){ _start: { -lean_object* v___y_417_; lean_object* v___y_418_; uint8_t v___y_419_; lean_object* v___x_428_; lean_object* v_a_429_; lean_object* v___x_431_; uint8_t v_isShared_432_; uint8_t v_isSharedCheck_603_; -v___x_428_ = l_Lean_mkAuxDeclName___at___00Lean_Meta_nativeEqTrue_spec__1___redArg(v___x_406_, v___y_414_); -v_a_429_ = lean_ctor_get(v___x_428_, 0); -v_isSharedCheck_603_ = !lean_is_exclusive(v___x_428_); -if (v_isSharedCheck_603_ == 0) +lean_object* v___x_406_; lean_object* v___x_407_; +v___x_406_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__10, &l_Lean_Meta_nativeEqTrue___lam__0___closed__10_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__10); +v___x_407_ = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(v___x_407_, 0, v___x_406_); +lean_ctor_set(v___x_407_, 1, v___x_406_); +lean_ctor_set(v___x_407_, 2, v___x_406_); +lean_ctor_set(v___x_407_, 3, v___x_406_); +lean_ctor_set(v___x_407_, 4, v___x_406_); +lean_ctor_set(v___x_407_, 5, v___x_406_); +return v___x_407_; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___lam__0(lean_object* v___x_408_, lean_object* v___x_409_, lean_object* v___x_410_, lean_object* v_tacticName_411_, lean_object* v_a_412_, lean_object* v___y_413_, lean_object* v___y_414_, lean_object* v___y_415_, lean_object* v___y_416_){ +_start: { -v___x_431_ = v___x_428_; -v_isShared_432_ = v_isSharedCheck_603_; -goto v_resetjp_430_; +lean_object* v___y_419_; lean_object* v___y_420_; uint8_t v___y_421_; lean_object* v___x_430_; lean_object* v_a_431_; lean_object* v___x_433_; uint8_t v_isShared_434_; uint8_t v_isSharedCheck_699_; +v___x_430_ = l_Lean_mkAuxDeclName___at___00Lean_Meta_nativeEqTrue_spec__1___redArg(v___x_408_, v___y_416_); +v_a_431_ = lean_ctor_get(v___x_430_, 0); +v_isSharedCheck_699_ = !lean_is_exclusive(v___x_430_); +if (v_isSharedCheck_699_ == 0) +{ +v___x_433_ = v___x_430_; +v_isShared_434_ = v_isSharedCheck_699_; +goto v_resetjp_432_; } else { -lean_inc(v_a_429_); -lean_dec(v___x_428_); -v___x_431_ = lean_box(0); -v_isShared_432_ = v_isSharedCheck_603_; -goto v_resetjp_430_; +lean_inc(v_a_431_); +lean_dec(v___x_430_); +v___x_433_ = lean_box(0); +v_isShared_434_ = v_isSharedCheck_699_; +goto v_resetjp_432_; } -v___jp_416_: +v___jp_418_: { -if (v___y_419_ == 0) +if (v___y_421_ == 0) { -lean_object* v___x_420_; lean_object* v___x_421_; lean_object* v___x_422_; lean_object* v___x_423_; lean_object* v___x_424_; lean_object* v___x_425_; lean_object* v___x_426_; lean_object* v___x_427_; -lean_dec_ref(v___y_418_); -v___x_420_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); -v___x_421_ = l_Lean_MessageData_ofName(v_tacticName_408_); -v___x_422_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_422_, 0, v___x_420_); -lean_ctor_set(v___x_422_, 1, v___x_421_); -v___x_423_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__3, &l_Lean_Meta_nativeEqTrue___lam__0___closed__3_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__3); +lean_object* v___x_422_; lean_object* v___x_423_; lean_object* v___x_424_; lean_object* v___x_425_; lean_object* v___x_426_; lean_object* v___x_427_; lean_object* v___x_428_; lean_object* v___x_429_; +lean_dec_ref(v___y_419_); +v___x_422_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); +v___x_423_ = l_Lean_MessageData_ofName(v_tacticName_411_); v___x_424_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_424_, 0, v___x_422_); lean_ctor_set(v___x_424_, 1, v___x_423_); -v___x_425_ = l_Lean_Exception_toMessageData(v___y_417_); +v___x_425_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__3, &l_Lean_Meta_nativeEqTrue___lam__0___closed__3_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__3); v___x_426_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_426_, 0, v___x_424_); lean_ctor_set(v___x_426_, 1, v___x_425_); -v___x_427_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_426_, v___y_411_, v___y_412_, v___y_413_, v___y_414_); -lean_dec(v___y_414_); -lean_dec_ref(v___y_413_); -return v___x_427_; +v___x_427_ = l_Lean_Exception_toMessageData(v___y_420_); +v___x_428_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_428_, 0, v___x_426_); +lean_ctor_set(v___x_428_, 1, v___x_427_); +v___x_429_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_428_, v___y_413_, v___y_414_, v___y_415_, v___y_416_); +lean_dec(v___y_416_); +lean_dec_ref(v___y_415_); +return v___x_429_; } else { -lean_dec_ref(v___y_417_); -lean_dec(v___y_414_); -lean_dec_ref(v___y_413_); -lean_dec(v_tacticName_408_); -return v___y_418_; +lean_dec_ref(v___y_420_); +lean_dec(v___y_416_); +lean_dec_ref(v___y_415_); +lean_dec(v_tacticName_411_); +return v___y_419_; } } -v_resetjp_430_: +v_resetjp_432_: { -lean_object* v___y_434_; lean_object* v___y_448_; lean_object* v___y_449_; uint8_t v___y_450_; lean_object* v___x_459_; lean_object* v_options_460_; lean_object* v_env_461_; lean_object* v___x_462_; lean_object* v___x_463_; lean_object* v___x_464_; uint8_t v___x_465_; lean_object* v___x_466_; lean_object* v___x_467_; lean_object* v___x_469_; -v___x_459_ = lean_st_ref_get(v___y_414_); -v_options_460_ = lean_ctor_get(v___y_413_, 2); -v_env_461_ = lean_ctor_get(v___x_459_, 0); -lean_inc_ref(v_env_461_); -lean_dec(v___x_459_); -v___x_462_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__8, &l_Lean_Meta_nativeEqTrue___lam__0___closed__8_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__8); -lean_inc(v_a_429_); -v___x_463_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_463_, 0, v_a_429_); -lean_ctor_set(v___x_463_, 1, v___x_407_); -lean_ctor_set(v___x_463_, 2, v___x_462_); -v___x_464_ = lean_box(1); -v___x_465_ = 1; -lean_inc(v_a_429_); -v___x_466_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_466_, 0, v_a_429_); -lean_ctor_set(v___x_466_, 1, v___x_409_); -v___x_467_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_467_, 0, v___x_463_); -lean_ctor_set(v___x_467_, 1, v_a_410_); -lean_ctor_set(v___x_467_, 2, v___x_464_); -lean_ctor_set(v___x_467_, 3, v___x_466_); -lean_ctor_set_uint8(v___x_467_, sizeof(void*)*4, v___x_465_); -if (v_isShared_432_ == 0) +lean_object* v___y_436_; lean_object* v___y_450_; lean_object* v___y_451_; uint8_t v___y_452_; lean_object* v___x_461_; lean_object* v_env_462_; lean_object* v_nextMacroScope_463_; lean_object* v_ngen_464_; lean_object* v_auxDeclNGen_465_; lean_object* v_traceState_466_; lean_object* v_messages_467_; lean_object* v_infoState_468_; lean_object* v_snapshotTasks_469_; lean_object* v___x_471_; uint8_t v_isShared_472_; uint8_t v_isSharedCheck_697_; +v___x_461_ = lean_st_ref_take(v___y_416_); +v_env_462_ = lean_ctor_get(v___x_461_, 0); +v_nextMacroScope_463_ = lean_ctor_get(v___x_461_, 1); +v_ngen_464_ = lean_ctor_get(v___x_461_, 2); +v_auxDeclNGen_465_ = lean_ctor_get(v___x_461_, 3); +v_traceState_466_ = lean_ctor_get(v___x_461_, 4); +v_messages_467_ = lean_ctor_get(v___x_461_, 6); +v_infoState_468_ = lean_ctor_get(v___x_461_, 7); +v_snapshotTasks_469_ = lean_ctor_get(v___x_461_, 8); +v_isSharedCheck_697_ = !lean_is_exclusive(v___x_461_); +if (v_isSharedCheck_697_ == 0) { -lean_ctor_set_tag(v___x_431_, 1); -lean_ctor_set(v___x_431_, 0, v___x_467_); -v___x_469_ = v___x_431_; -goto v_reusejp_468_; +lean_object* v_unused_698_; +v_unused_698_ = lean_ctor_get(v___x_461_, 5); +lean_dec(v_unused_698_); +v___x_471_ = v___x_461_; +v_isShared_472_ = v_isSharedCheck_697_; +goto v_resetjp_470_; } else { -lean_object* v_reuseFailAlloc_602_; -v_reuseFailAlloc_602_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_602_, 0, v___x_467_); -v___x_469_ = v_reuseFailAlloc_602_; -goto v_reusejp_468_; +lean_inc(v_snapshotTasks_469_); +lean_inc(v_infoState_468_); +lean_inc(v_messages_467_); +lean_inc(v_traceState_466_); +lean_inc(v_auxDeclNGen_465_); +lean_inc(v_ngen_464_); +lean_inc(v_nextMacroScope_463_); +lean_inc(v_env_462_); +lean_dec(v___x_461_); +v___x_471_ = lean_box(0); +v_isShared_472_ = v_isSharedCheck_697_; +goto v_resetjp_470_; } -v___jp_433_: +v___jp_435_: { -if (lean_obj_tag(v___y_434_) == 0) +if (lean_obj_tag(v___y_436_) == 0) { -lean_object* v___x_435_; -lean_dec_ref(v___y_434_); -v___x_435_ = l___private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1(v_a_429_, v___y_411_, v___y_412_, v___y_413_, v___y_414_); -if (lean_obj_tag(v___x_435_) == 0) +lean_object* v___x_437_; +lean_dec_ref(v___y_436_); +v___x_437_ = l___private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1(v_a_431_, v___y_413_, v___y_414_, v___y_415_, v___y_416_); +if (lean_obj_tag(v___x_437_) == 0) { -lean_dec(v___y_414_); -lean_dec_ref(v___y_413_); -lean_dec(v_tacticName_408_); -return v___x_435_; +lean_dec(v___y_416_); +lean_dec_ref(v___y_415_); +lean_dec(v_tacticName_411_); +return v___x_437_; } else { -lean_object* v_a_436_; uint8_t v___x_437_; -v_a_436_ = lean_ctor_get(v___x_435_, 0); -lean_inc(v_a_436_); -v___x_437_ = l_Lean_Exception_isInterrupt(v_a_436_); -if (v___x_437_ == 0) +lean_object* v_a_438_; uint8_t v___x_439_; +v_a_438_ = lean_ctor_get(v___x_437_, 0); +lean_inc(v_a_438_); +v___x_439_ = l_Lean_Exception_isInterrupt(v_a_438_); +if (v___x_439_ == 0) { -uint8_t v___x_438_; -lean_inc(v_a_436_); -v___x_438_ = l_Lean_Exception_isRuntime(v_a_436_); -v___y_417_ = v_a_436_; -v___y_418_ = v___x_435_; -v___y_419_ = v___x_438_; -goto v___jp_416_; -} -else -{ -v___y_417_ = v_a_436_; -v___y_418_ = v___x_435_; +uint8_t v___x_440_; +lean_inc(v_a_438_); +v___x_440_ = l_Lean_Exception_isRuntime(v_a_438_); v___y_419_ = v___x_437_; -goto v___jp_416_; +v___y_420_ = v_a_438_; +v___y_421_ = v___x_440_; +goto v___jp_418_; +} +else +{ +v___y_419_ = v___x_437_; +v___y_420_ = v_a_438_; +v___y_421_ = v___x_439_; +goto v___jp_418_; } } } else { -lean_object* v_a_439_; lean_object* v___x_441_; uint8_t v_isShared_442_; uint8_t v_isSharedCheck_446_; -lean_dec(v_a_429_); -lean_dec(v___y_414_); -lean_dec_ref(v___y_413_); -lean_dec(v_tacticName_408_); -v_a_439_ = lean_ctor_get(v___y_434_, 0); -v_isSharedCheck_446_ = !lean_is_exclusive(v___y_434_); -if (v_isSharedCheck_446_ == 0) +lean_object* v_a_441_; lean_object* v___x_443_; uint8_t v_isShared_444_; uint8_t v_isSharedCheck_448_; +lean_dec(v_a_431_); +lean_dec(v___y_416_); +lean_dec_ref(v___y_415_); +lean_dec(v_tacticName_411_); +v_a_441_ = lean_ctor_get(v___y_436_, 0); +v_isSharedCheck_448_ = !lean_is_exclusive(v___y_436_); +if (v_isSharedCheck_448_ == 0) { -v___x_441_ = v___y_434_; -v_isShared_442_ = v_isSharedCheck_446_; -goto v_resetjp_440_; +v___x_443_ = v___y_436_; +v_isShared_444_ = v_isSharedCheck_448_; +goto v_resetjp_442_; } else { -lean_inc(v_a_439_); -lean_dec(v___y_434_); -v___x_441_ = lean_box(0); -v_isShared_442_ = v_isSharedCheck_446_; -goto v_resetjp_440_; +lean_inc(v_a_441_); +lean_dec(v___y_436_); +v___x_443_ = lean_box(0); +v_isShared_444_ = v_isSharedCheck_448_; +goto v_resetjp_442_; } -v_resetjp_440_: +v_resetjp_442_: { -lean_object* v___x_444_; -if (v_isShared_442_ == 0) +lean_object* v___x_446_; +if (v_isShared_444_ == 0) { -v___x_444_ = v___x_441_; -goto v_reusejp_443_; +v___x_446_ = v___x_443_; +goto v_reusejp_445_; } else { -lean_object* v_reuseFailAlloc_445_; -v_reuseFailAlloc_445_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_445_, 0, v_a_439_); -v___x_444_ = v_reuseFailAlloc_445_; -goto v_reusejp_443_; +lean_object* v_reuseFailAlloc_447_; +v_reuseFailAlloc_447_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_447_, 0, v_a_441_); +v___x_446_ = v_reuseFailAlloc_447_; +goto v_reusejp_445_; } -v_reusejp_443_: +v_reusejp_445_: { -return v___x_444_; +return v___x_446_; } } } } -v___jp_447_: +v___jp_449_: { -if (v___y_450_ == 0) +if (v___y_452_ == 0) { -lean_object* v___x_451_; lean_object* v___x_452_; lean_object* v___x_453_; lean_object* v___x_454_; lean_object* v___x_455_; lean_object* v___x_456_; lean_object* v___x_457_; lean_object* v___x_458_; -lean_dec_ref(v___y_449_); -v___x_451_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); -lean_inc(v_tacticName_408_); -v___x_452_ = l_Lean_MessageData_ofName(v_tacticName_408_); -v___x_453_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_453_, 0, v___x_451_); -lean_ctor_set(v___x_453_, 1, v___x_452_); -v___x_454_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__5, &l_Lean_Meta_nativeEqTrue___lam__0___closed__5_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__5); +lean_object* v___x_453_; lean_object* v___x_454_; lean_object* v___x_455_; lean_object* v___x_456_; lean_object* v___x_457_; lean_object* v___x_458_; lean_object* v___x_459_; lean_object* v___x_460_; +lean_dec_ref(v___y_450_); +v___x_453_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); +lean_inc(v_tacticName_411_); +v___x_454_ = l_Lean_MessageData_ofName(v_tacticName_411_); v___x_455_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_455_, 0, v___x_453_); lean_ctor_set(v___x_455_, 1, v___x_454_); -v___x_456_ = l_Lean_Exception_toMessageData(v___y_448_); +v___x_456_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__5, &l_Lean_Meta_nativeEqTrue___lam__0___closed__5_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__5); v___x_457_ = lean_alloc_ctor(7, 2, 0); lean_ctor_set(v___x_457_, 0, v___x_455_); lean_ctor_set(v___x_457_, 1, v___x_456_); -v___x_458_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_457_, v___y_411_, v___y_412_, v___y_413_, v___y_414_); -v___y_434_ = v___x_458_; -goto v___jp_433_; +v___x_458_ = l_Lean_Exception_toMessageData(v___y_451_); +v___x_459_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_459_, 0, v___x_457_); +lean_ctor_set(v___x_459_, 1, v___x_458_); +v___x_460_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_459_, v___y_413_, v___y_414_, v___y_415_, v___y_416_); +v___y_436_ = v___x_460_; +goto v___jp_435_; } else { -lean_dec_ref(v___y_448_); -v___y_434_ = v___y_449_; -goto v___jp_433_; +lean_dec_ref(v___y_451_); +v___y_436_ = v___y_450_; +goto v___jp_435_; } } -v_reusejp_468_: +v_resetjp_470_: { -uint8_t v___x_470_; lean_object* v___y_472_; lean_object* v___y_473_; uint8_t v___y_474_; lean_object* v_fileName_475_; lean_object* v_fileMap_476_; lean_object* v_currRecDepth_477_; lean_object* v_ref_478_; lean_object* v_currNamespace_479_; lean_object* v_openDecls_480_; lean_object* v_initHeartbeats_481_; lean_object* v_maxHeartbeats_482_; lean_object* v_quotContext_483_; lean_object* v_currMacroScope_484_; lean_object* v_cancelTk_x3f_485_; uint8_t v_suppressElabErrors_486_; lean_object* v_inheritedTraceOptions_487_; lean_object* v___y_488_; lean_object* v___y_496_; lean_object* v___y_497_; uint8_t v___y_498_; lean_object* v___y_499_; lean_object* v___y_500_; lean_object* v___y_515_; lean_object* v___y_516_; lean_object* v___y_517_; lean_object* v___y_518_; uint8_t v___y_519_; uint8_t v___y_520_; lean_object* v___x_541_; uint8_t v___x_542_; lean_object* v___x_543_; lean_object* v___x_544_; uint8_t v___x_545_; lean_object* v___y_547_; lean_object* v___y_548_; uint8_t v___y_580_; uint8_t v___x_601_; -v___x_470_ = 1; -v___x_541_ = l_Lean_Elab_async; -v___x_542_ = 0; -lean_inc_ref(v_options_460_); -v___x_543_ = l_Lean_Option_set___at___00Lean_Meta_nativeEqTrue_spec__2(v_options_460_, v___x_541_, v___x_542_); -v___x_544_ = l_Lean_diagnostics; -v___x_545_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__3(v___x_543_, v___x_544_); -v___x_601_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_461_); -lean_dec_ref(v_env_461_); -if (v___x_601_ == 0) +lean_object* v___x_473_; lean_object* v___x_474_; lean_object* v___x_475_; lean_object* v___x_476_; lean_object* v___x_477_; lean_object* v___x_479_; +v___x_473_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__8, &l_Lean_Meta_nativeEqTrue___lam__0___closed__8_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__8); +lean_inc(v_a_431_); +v___x_474_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_474_, 0, v_a_431_); +lean_ctor_set(v___x_474_, 1, v___x_409_); +lean_ctor_set(v___x_474_, 2, v___x_473_); +lean_inc(v_a_431_); +v___x_475_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_475_, 0, v_a_431_); +lean_ctor_set(v___x_475_, 1, v___x_410_); +lean_inc(v_a_431_); +v___x_476_ = l_Lean_markMeta(v_env_462_, v_a_431_); +v___x_477_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); +if (v_isShared_472_ == 0) { -if (v___x_545_ == 0) -{ -lean_inc(v___y_414_); -lean_inc_ref(v___y_413_); -v___y_547_ = v___y_413_; -v___y_548_ = v___y_414_; -goto v___jp_546_; +lean_ctor_set(v___x_471_, 5, v___x_477_); +lean_ctor_set(v___x_471_, 0, v___x_476_); +v___x_479_ = v___x_471_; +goto v_reusejp_478_; } else { -v___y_580_ = v___x_601_; -goto v___jp_579_; +lean_object* v_reuseFailAlloc_696_; +v_reuseFailAlloc_696_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_696_, 0, v___x_476_); +lean_ctor_set(v_reuseFailAlloc_696_, 1, v_nextMacroScope_463_); +lean_ctor_set(v_reuseFailAlloc_696_, 2, v_ngen_464_); +lean_ctor_set(v_reuseFailAlloc_696_, 3, v_auxDeclNGen_465_); +lean_ctor_set(v_reuseFailAlloc_696_, 4, v_traceState_466_); +lean_ctor_set(v_reuseFailAlloc_696_, 5, v___x_477_); +lean_ctor_set(v_reuseFailAlloc_696_, 6, v_messages_467_); +lean_ctor_set(v_reuseFailAlloc_696_, 7, v_infoState_468_); +lean_ctor_set(v_reuseFailAlloc_696_, 8, v_snapshotTasks_469_); +v___x_479_ = v_reuseFailAlloc_696_; +goto v_reusejp_478_; +} +v_reusejp_478_: +{ +lean_object* v___x_480_; lean_object* v___x_481_; lean_object* v_mctx_482_; lean_object* v_zetaDeltaFVarIds_483_; lean_object* v_postponed_484_; lean_object* v_diag_485_; lean_object* v___x_487_; uint8_t v_isShared_488_; uint8_t v_isSharedCheck_694_; +v___x_480_ = lean_st_ref_set(v___y_416_, v___x_479_); +v___x_481_ = lean_st_ref_take(v___y_414_); +v_mctx_482_ = lean_ctor_get(v___x_481_, 0); +v_zetaDeltaFVarIds_483_ = lean_ctor_get(v___x_481_, 2); +v_postponed_484_ = lean_ctor_get(v___x_481_, 3); +v_diag_485_ = lean_ctor_get(v___x_481_, 4); +v_isSharedCheck_694_ = !lean_is_exclusive(v___x_481_); +if (v_isSharedCheck_694_ == 0) +{ +lean_object* v_unused_695_; +v_unused_695_ = lean_ctor_get(v___x_481_, 1); +lean_dec(v_unused_695_); +v___x_487_ = v___x_481_; +v_isShared_488_ = v_isSharedCheck_694_; +goto v_resetjp_486_; +} +else +{ +lean_inc(v_diag_485_); +lean_inc(v_postponed_484_); +lean_inc(v_zetaDeltaFVarIds_483_); +lean_inc(v_mctx_482_); +lean_dec(v___x_481_); +v___x_487_ = lean_box(0); +v_isShared_488_ = v_isSharedCheck_694_; +goto v_resetjp_486_; +} +v_resetjp_486_: +{ +lean_object* v___x_489_; lean_object* v___x_491_; +v___x_489_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__12, &l_Lean_Meta_nativeEqTrue___lam__0___closed__12_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__12); +if (v_isShared_488_ == 0) +{ +lean_ctor_set(v___x_487_, 1, v___x_489_); +v___x_491_ = v___x_487_; +goto v_reusejp_490_; +} +else +{ +lean_object* v_reuseFailAlloc_693_; +v_reuseFailAlloc_693_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_693_, 0, v_mctx_482_); +lean_ctor_set(v_reuseFailAlloc_693_, 1, v___x_489_); +lean_ctor_set(v_reuseFailAlloc_693_, 2, v_zetaDeltaFVarIds_483_); +lean_ctor_set(v_reuseFailAlloc_693_, 3, v_postponed_484_); +lean_ctor_set(v_reuseFailAlloc_693_, 4, v_diag_485_); +v___x_491_ = v_reuseFailAlloc_693_; +goto v_reusejp_490_; +} +v_reusejp_490_: +{ +lean_object* v___x_492_; lean_object* v___x_493_; lean_object* v_options_494_; lean_object* v_env_495_; lean_object* v___x_496_; uint8_t v___x_497_; lean_object* v___x_498_; lean_object* v___x_500_; +v___x_492_ = lean_st_ref_set(v___y_414_, v___x_491_); +v___x_493_ = lean_st_ref_get(v___y_416_); +v_options_494_ = lean_ctor_get(v___y_415_, 2); +v_env_495_ = lean_ctor_get(v___x_493_, 0); +lean_inc_ref(v_env_495_); +lean_dec(v___x_493_); +v___x_496_ = lean_box(1); +v___x_497_ = 1; +v___x_498_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_498_, 0, v___x_474_); +lean_ctor_set(v___x_498_, 1, v_a_412_); +lean_ctor_set(v___x_498_, 2, v___x_496_); +lean_ctor_set(v___x_498_, 3, v___x_475_); +lean_ctor_set_uint8(v___x_498_, sizeof(void*)*4, v___x_497_); +if (v_isShared_434_ == 0) +{ +lean_ctor_set_tag(v___x_433_, 1); +lean_ctor_set(v___x_433_, 0, v___x_498_); +v___x_500_ = v___x_433_; +goto v_reusejp_499_; +} +else +{ +lean_object* v_reuseFailAlloc_692_; +v_reuseFailAlloc_692_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_692_, 0, v___x_498_); +v___x_500_ = v_reuseFailAlloc_692_; +goto v_reusejp_499_; +} +v_reusejp_499_: +{ +uint8_t v___x_501_; uint8_t v___y_503_; lean_object* v___y_504_; lean_object* v___y_505_; lean_object* v_fileName_506_; lean_object* v_fileMap_507_; lean_object* v_currRecDepth_508_; lean_object* v_ref_509_; lean_object* v_currNamespace_510_; lean_object* v_openDecls_511_; lean_object* v_initHeartbeats_512_; lean_object* v_maxHeartbeats_513_; lean_object* v_quotContext_514_; lean_object* v_currMacroScope_515_; lean_object* v_cancelTk_x3f_516_; uint8_t v_suppressElabErrors_517_; lean_object* v_inheritedTraceOptions_518_; lean_object* v___y_519_; uint8_t v___y_527_; lean_object* v___y_528_; lean_object* v___y_529_; lean_object* v___y_530_; lean_object* v___y_531_; lean_object* v___y_546_; uint8_t v___y_547_; lean_object* v___y_548_; lean_object* v___y_549_; lean_object* v___y_550_; uint8_t v___y_551_; lean_object* v___x_571_; uint8_t v___x_572_; lean_object* v___x_573_; lean_object* v___x_574_; uint8_t v___y_576_; lean_object* v___y_577_; lean_object* v___y_578_; lean_object* v___y_579_; lean_object* v___y_580_; uint8_t v___y_611_; lean_object* v___y_612_; lean_object* v___y_613_; lean_object* v___y_614_; lean_object* v___y_615_; uint8_t v___y_616_; uint8_t v___x_636_; lean_object* v___y_638_; lean_object* v___y_639_; uint8_t v___y_671_; uint8_t v___x_691_; +v___x_501_ = 1; +v___x_571_ = l_Lean_Elab_async; +v___x_572_ = 0; +lean_inc_ref(v_options_494_); +v___x_573_ = l_Lean_Option_set___at___00Lean_Meta_nativeEqTrue_spec__2(v_options_494_, v___x_571_, v___x_572_); +v___x_574_ = l_Lean_diagnostics; +v___x_636_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__3(v___x_573_, v___x_574_); +v___x_691_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_495_); +lean_dec_ref(v_env_495_); +if (v___x_691_ == 0) +{ +if (v___x_636_ == 0) +{ +lean_inc(v___y_416_); +lean_inc_ref(v___y_415_); +v___y_638_ = v___y_415_; +v___y_639_ = v___y_416_; +goto v___jp_637_; +} +else +{ +v___y_671_ = v___x_691_; +goto v___jp_670_; } } else { -v___y_580_ = v___x_545_; -goto v___jp_579_; +v___y_671_ = v___x_636_; +goto v___jp_670_; } -v___jp_471_: +v___jp_502_: { -lean_object* v___x_489_; lean_object* v___x_490_; lean_object* v___x_491_; -v___x_489_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__4(v___y_473_, v___y_472_); -lean_dec_ref(v___y_472_); -v___x_490_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v___x_490_, 0, v_fileName_475_); -lean_ctor_set(v___x_490_, 1, v_fileMap_476_); -lean_ctor_set(v___x_490_, 2, v___y_473_); -lean_ctor_set(v___x_490_, 3, v_currRecDepth_477_); -lean_ctor_set(v___x_490_, 4, v___x_489_); -lean_ctor_set(v___x_490_, 5, v_ref_478_); -lean_ctor_set(v___x_490_, 6, v_currNamespace_479_); -lean_ctor_set(v___x_490_, 7, v_openDecls_480_); -lean_ctor_set(v___x_490_, 8, v_initHeartbeats_481_); -lean_ctor_set(v___x_490_, 9, v_maxHeartbeats_482_); -lean_ctor_set(v___x_490_, 10, v_quotContext_483_); -lean_ctor_set(v___x_490_, 11, v_currMacroScope_484_); -lean_ctor_set(v___x_490_, 12, v_cancelTk_x3f_485_); -lean_ctor_set(v___x_490_, 13, v_inheritedTraceOptions_487_); -lean_ctor_set_uint8(v___x_490_, sizeof(void*)*14, v___y_474_); -lean_ctor_set_uint8(v___x_490_, sizeof(void*)*14 + 1, v_suppressElabErrors_486_); -v___x_491_ = l_Lean_addAndCompile(v___x_469_, v___x_470_, v___x_490_, v___y_488_); -if (lean_obj_tag(v___x_491_) == 0) +lean_object* v___x_520_; lean_object* v___x_521_; lean_object* v___x_522_; +v___x_520_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__4(v___y_505_, v___y_504_); +lean_dec_ref(v___y_504_); +v___x_521_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v___x_521_, 0, v_fileName_506_); +lean_ctor_set(v___x_521_, 1, v_fileMap_507_); +lean_ctor_set(v___x_521_, 2, v___y_505_); +lean_ctor_set(v___x_521_, 3, v_currRecDepth_508_); +lean_ctor_set(v___x_521_, 4, v___x_520_); +lean_ctor_set(v___x_521_, 5, v_ref_509_); +lean_ctor_set(v___x_521_, 6, v_currNamespace_510_); +lean_ctor_set(v___x_521_, 7, v_openDecls_511_); +lean_ctor_set(v___x_521_, 8, v_initHeartbeats_512_); +lean_ctor_set(v___x_521_, 9, v_maxHeartbeats_513_); +lean_ctor_set(v___x_521_, 10, v_quotContext_514_); +lean_ctor_set(v___x_521_, 11, v_currMacroScope_515_); +lean_ctor_set(v___x_521_, 12, v_cancelTk_x3f_516_); +lean_ctor_set(v___x_521_, 13, v_inheritedTraceOptions_518_); +lean_ctor_set_uint8(v___x_521_, sizeof(void*)*14, v___y_503_); +lean_ctor_set_uint8(v___x_521_, sizeof(void*)*14 + 1, v_suppressElabErrors_517_); +v___x_522_ = l_Lean_addAndCompile(v___x_500_, v___x_501_, v___x_521_, v___y_519_); +if (lean_obj_tag(v___x_522_) == 0) { -v___y_434_ = v___x_491_; -goto v___jp_433_; +v___y_436_ = v___x_522_; +goto v___jp_435_; } else { -lean_object* v_a_492_; uint8_t v___x_493_; -v_a_492_ = lean_ctor_get(v___x_491_, 0); -lean_inc(v_a_492_); -v___x_493_ = l_Lean_Exception_isInterrupt(v_a_492_); -if (v___x_493_ == 0) +lean_object* v_a_523_; uint8_t v___x_524_; +v_a_523_ = lean_ctor_get(v___x_522_, 0); +lean_inc(v_a_523_); +v___x_524_ = l_Lean_Exception_isInterrupt(v_a_523_); +if (v___x_524_ == 0) { -uint8_t v___x_494_; -lean_inc(v_a_492_); -v___x_494_ = l_Lean_Exception_isRuntime(v_a_492_); -v___y_448_ = v_a_492_; -v___y_449_ = v___x_491_; -v___y_450_ = v___x_494_; -goto v___jp_447_; +uint8_t v___x_525_; +lean_inc(v_a_523_); +v___x_525_ = l_Lean_Exception_isRuntime(v_a_523_); +v___y_450_ = v___x_522_; +v___y_451_ = v_a_523_; +v___y_452_ = v___x_525_; +goto v___jp_449_; } else { -v___y_448_ = v_a_492_; -v___y_449_ = v___x_491_; -v___y_450_ = v___x_493_; -goto v___jp_447_; +v___y_450_ = v___x_522_; +v___y_451_ = v_a_523_; +v___y_452_ = v___x_524_; +goto v___jp_449_; } } } -v___jp_495_: +v___jp_526_: { -lean_object* v_fileName_501_; lean_object* v_fileMap_502_; lean_object* v_currRecDepth_503_; lean_object* v_ref_504_; lean_object* v_currNamespace_505_; lean_object* v_openDecls_506_; lean_object* v_initHeartbeats_507_; lean_object* v_maxHeartbeats_508_; lean_object* v_quotContext_509_; lean_object* v_currMacroScope_510_; lean_object* v_cancelTk_x3f_511_; uint8_t v_suppressElabErrors_512_; lean_object* v_inheritedTraceOptions_513_; -v_fileName_501_ = lean_ctor_get(v___y_499_, 0); -lean_inc_ref(v_fileName_501_); -v_fileMap_502_ = lean_ctor_get(v___y_499_, 1); -lean_inc_ref(v_fileMap_502_); -v_currRecDepth_503_ = lean_ctor_get(v___y_499_, 3); -lean_inc(v_currRecDepth_503_); -v_ref_504_ = lean_ctor_get(v___y_499_, 5); -lean_inc(v_ref_504_); -v_currNamespace_505_ = lean_ctor_get(v___y_499_, 6); -lean_inc(v_currNamespace_505_); -v_openDecls_506_ = lean_ctor_get(v___y_499_, 7); -lean_inc(v_openDecls_506_); -v_initHeartbeats_507_ = lean_ctor_get(v___y_499_, 8); -lean_inc(v_initHeartbeats_507_); -v_maxHeartbeats_508_ = lean_ctor_get(v___y_499_, 9); -lean_inc(v_maxHeartbeats_508_); -v_quotContext_509_ = lean_ctor_get(v___y_499_, 10); -lean_inc(v_quotContext_509_); -v_currMacroScope_510_ = lean_ctor_get(v___y_499_, 11); -lean_inc(v_currMacroScope_510_); -v_cancelTk_x3f_511_ = lean_ctor_get(v___y_499_, 12); -lean_inc(v_cancelTk_x3f_511_); -v_suppressElabErrors_512_ = lean_ctor_get_uint8(v___y_499_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_513_ = lean_ctor_get(v___y_499_, 13); -lean_inc_ref(v_inheritedTraceOptions_513_); -lean_dec_ref(v___y_499_); -v___y_472_ = v___y_496_; -v___y_473_ = v___y_497_; -v___y_474_ = v___y_498_; -v_fileName_475_ = v_fileName_501_; -v_fileMap_476_ = v_fileMap_502_; -v_currRecDepth_477_ = v_currRecDepth_503_; -v_ref_478_ = v_ref_504_; -v_currNamespace_479_ = v_currNamespace_505_; -v_openDecls_480_ = v_openDecls_506_; -v_initHeartbeats_481_ = v_initHeartbeats_507_; -v_maxHeartbeats_482_ = v_maxHeartbeats_508_; -v_quotContext_483_ = v_quotContext_509_; -v_currMacroScope_484_ = v_currMacroScope_510_; -v_cancelTk_x3f_485_ = v_cancelTk_x3f_511_; -v_suppressElabErrors_486_ = v_suppressElabErrors_512_; -v_inheritedTraceOptions_487_ = v_inheritedTraceOptions_513_; -v___y_488_ = v___y_500_; -goto v___jp_471_; +lean_object* v_fileName_532_; lean_object* v_fileMap_533_; lean_object* v_currRecDepth_534_; lean_object* v_ref_535_; lean_object* v_currNamespace_536_; lean_object* v_openDecls_537_; lean_object* v_initHeartbeats_538_; lean_object* v_maxHeartbeats_539_; lean_object* v_quotContext_540_; lean_object* v_currMacroScope_541_; lean_object* v_cancelTk_x3f_542_; uint8_t v_suppressElabErrors_543_; lean_object* v_inheritedTraceOptions_544_; +v_fileName_532_ = lean_ctor_get(v___y_530_, 0); +lean_inc_ref(v_fileName_532_); +v_fileMap_533_ = lean_ctor_get(v___y_530_, 1); +lean_inc_ref(v_fileMap_533_); +v_currRecDepth_534_ = lean_ctor_get(v___y_530_, 3); +lean_inc(v_currRecDepth_534_); +v_ref_535_ = lean_ctor_get(v___y_530_, 5); +lean_inc(v_ref_535_); +v_currNamespace_536_ = lean_ctor_get(v___y_530_, 6); +lean_inc(v_currNamespace_536_); +v_openDecls_537_ = lean_ctor_get(v___y_530_, 7); +lean_inc(v_openDecls_537_); +v_initHeartbeats_538_ = lean_ctor_get(v___y_530_, 8); +lean_inc(v_initHeartbeats_538_); +v_maxHeartbeats_539_ = lean_ctor_get(v___y_530_, 9); +lean_inc(v_maxHeartbeats_539_); +v_quotContext_540_ = lean_ctor_get(v___y_530_, 10); +lean_inc(v_quotContext_540_); +v_currMacroScope_541_ = lean_ctor_get(v___y_530_, 11); +lean_inc(v_currMacroScope_541_); +v_cancelTk_x3f_542_ = lean_ctor_get(v___y_530_, 12); +lean_inc(v_cancelTk_x3f_542_); +v_suppressElabErrors_543_ = lean_ctor_get_uint8(v___y_530_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_544_ = lean_ctor_get(v___y_530_, 13); +lean_inc_ref(v_inheritedTraceOptions_544_); +lean_dec_ref(v___y_530_); +v___y_503_ = v___y_527_; +v___y_504_ = v___y_528_; +v___y_505_ = v___y_529_; +v_fileName_506_ = v_fileName_532_; +v_fileMap_507_ = v_fileMap_533_; +v_currRecDepth_508_ = v_currRecDepth_534_; +v_ref_509_ = v_ref_535_; +v_currNamespace_510_ = v_currNamespace_536_; +v_openDecls_511_ = v_openDecls_537_; +v_initHeartbeats_512_ = v_initHeartbeats_538_; +v_maxHeartbeats_513_ = v_maxHeartbeats_539_; +v_quotContext_514_ = v_quotContext_540_; +v_currMacroScope_515_ = v_currMacroScope_541_; +v_cancelTk_x3f_516_ = v_cancelTk_x3f_542_; +v_suppressElabErrors_517_ = v_suppressElabErrors_543_; +v_inheritedTraceOptions_518_ = v_inheritedTraceOptions_544_; +v___y_519_ = v___y_531_; +goto v___jp_502_; } -v___jp_514_: +v___jp_545_: { -if (v___y_520_ == 0) +if (v___y_551_ == 0) { -lean_object* v___x_521_; lean_object* v_env_522_; lean_object* v_nextMacroScope_523_; lean_object* v_ngen_524_; lean_object* v_auxDeclNGen_525_; lean_object* v_traceState_526_; lean_object* v_messages_527_; lean_object* v_infoState_528_; lean_object* v_snapshotTasks_529_; lean_object* v___x_531_; uint8_t v_isShared_532_; uint8_t v_isSharedCheck_539_; -v___x_521_ = lean_st_ref_take(v___y_518_); -v_env_522_ = lean_ctor_get(v___x_521_, 0); -v_nextMacroScope_523_ = lean_ctor_get(v___x_521_, 1); -v_ngen_524_ = lean_ctor_get(v___x_521_, 2); -v_auxDeclNGen_525_ = lean_ctor_get(v___x_521_, 3); -v_traceState_526_ = lean_ctor_get(v___x_521_, 4); -v_messages_527_ = lean_ctor_get(v___x_521_, 6); -v_infoState_528_ = lean_ctor_get(v___x_521_, 7); -v_snapshotTasks_529_ = lean_ctor_get(v___x_521_, 8); -v_isSharedCheck_539_ = !lean_is_exclusive(v___x_521_); -if (v_isSharedCheck_539_ == 0) +lean_object* v___x_552_; lean_object* v_env_553_; lean_object* v_nextMacroScope_554_; lean_object* v_ngen_555_; lean_object* v_auxDeclNGen_556_; lean_object* v_traceState_557_; lean_object* v_messages_558_; lean_object* v_infoState_559_; lean_object* v_snapshotTasks_560_; lean_object* v___x_562_; uint8_t v_isShared_563_; uint8_t v_isSharedCheck_569_; +v___x_552_ = lean_st_ref_take(v___y_550_); +v_env_553_ = lean_ctor_get(v___x_552_, 0); +v_nextMacroScope_554_ = lean_ctor_get(v___x_552_, 1); +v_ngen_555_ = lean_ctor_get(v___x_552_, 2); +v_auxDeclNGen_556_ = lean_ctor_get(v___x_552_, 3); +v_traceState_557_ = lean_ctor_get(v___x_552_, 4); +v_messages_558_ = lean_ctor_get(v___x_552_, 6); +v_infoState_559_ = lean_ctor_get(v___x_552_, 7); +v_snapshotTasks_560_ = lean_ctor_get(v___x_552_, 8); +v_isSharedCheck_569_ = !lean_is_exclusive(v___x_552_); +if (v_isSharedCheck_569_ == 0) { -lean_object* v_unused_540_; -v_unused_540_ = lean_ctor_get(v___x_521_, 5); -lean_dec(v_unused_540_); -v___x_531_ = v___x_521_; -v_isShared_532_ = v_isSharedCheck_539_; -goto v_resetjp_530_; +lean_object* v_unused_570_; +v_unused_570_ = lean_ctor_get(v___x_552_, 5); +lean_dec(v_unused_570_); +v___x_562_ = v___x_552_; +v_isShared_563_ = v_isSharedCheck_569_; +goto v_resetjp_561_; } else { -lean_inc(v_snapshotTasks_529_); -lean_inc(v_infoState_528_); -lean_inc(v_messages_527_); -lean_inc(v_traceState_526_); -lean_inc(v_auxDeclNGen_525_); -lean_inc(v_ngen_524_); -lean_inc(v_nextMacroScope_523_); -lean_inc(v_env_522_); -lean_dec(v___x_521_); -v___x_531_ = lean_box(0); -v_isShared_532_ = v_isSharedCheck_539_; -goto v_resetjp_530_; +lean_inc(v_snapshotTasks_560_); +lean_inc(v_infoState_559_); +lean_inc(v_messages_558_); +lean_inc(v_traceState_557_); +lean_inc(v_auxDeclNGen_556_); +lean_inc(v_ngen_555_); +lean_inc(v_nextMacroScope_554_); +lean_inc(v_env_553_); +lean_dec(v___x_552_); +v___x_562_ = lean_box(0); +v_isShared_563_ = v_isSharedCheck_569_; +goto v_resetjp_561_; } -v_resetjp_530_: +v_resetjp_561_: { -lean_object* v___x_533_; lean_object* v___x_534_; lean_object* v___x_536_; -v___x_533_ = l_Lean_Kernel_enableDiag(v_env_522_, v___y_519_); -v___x_534_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); -if (v_isShared_532_ == 0) +lean_object* v___x_564_; lean_object* v___x_566_; +v___x_564_ = l_Lean_Kernel_enableDiag(v_env_553_, v___y_547_); +if (v_isShared_563_ == 0) { -lean_ctor_set(v___x_531_, 5, v___x_534_); -lean_ctor_set(v___x_531_, 0, v___x_533_); -v___x_536_ = v___x_531_; -goto v_reusejp_535_; +lean_ctor_set(v___x_562_, 5, v___x_477_); +lean_ctor_set(v___x_562_, 0, v___x_564_); +v___x_566_ = v___x_562_; +goto v_reusejp_565_; } else { -lean_object* v_reuseFailAlloc_538_; -v_reuseFailAlloc_538_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_538_, 0, v___x_533_); -lean_ctor_set(v_reuseFailAlloc_538_, 1, v_nextMacroScope_523_); -lean_ctor_set(v_reuseFailAlloc_538_, 2, v_ngen_524_); -lean_ctor_set(v_reuseFailAlloc_538_, 3, v_auxDeclNGen_525_); -lean_ctor_set(v_reuseFailAlloc_538_, 4, v_traceState_526_); -lean_ctor_set(v_reuseFailAlloc_538_, 5, v___x_534_); -lean_ctor_set(v_reuseFailAlloc_538_, 6, v_messages_527_); -lean_ctor_set(v_reuseFailAlloc_538_, 7, v_infoState_528_); -lean_ctor_set(v_reuseFailAlloc_538_, 8, v_snapshotTasks_529_); -v___x_536_ = v_reuseFailAlloc_538_; -goto v_reusejp_535_; +lean_object* v_reuseFailAlloc_568_; +v_reuseFailAlloc_568_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_568_, 0, v___x_564_); +lean_ctor_set(v_reuseFailAlloc_568_, 1, v_nextMacroScope_554_); +lean_ctor_set(v_reuseFailAlloc_568_, 2, v_ngen_555_); +lean_ctor_set(v_reuseFailAlloc_568_, 3, v_auxDeclNGen_556_); +lean_ctor_set(v_reuseFailAlloc_568_, 4, v_traceState_557_); +lean_ctor_set(v_reuseFailAlloc_568_, 5, v___x_477_); +lean_ctor_set(v_reuseFailAlloc_568_, 6, v_messages_558_); +lean_ctor_set(v_reuseFailAlloc_568_, 7, v_infoState_559_); +lean_ctor_set(v_reuseFailAlloc_568_, 8, v_snapshotTasks_560_); +v___x_566_ = v_reuseFailAlloc_568_; +goto v_reusejp_565_; } -v_reusejp_535_: +v_reusejp_565_: { -lean_object* v___x_537_; -v___x_537_ = lean_st_ref_set(v___y_518_, v___x_536_); -v___y_496_ = v___y_516_; -v___y_497_ = v___y_515_; -v___y_498_ = v___y_519_; -v___y_499_ = v___y_517_; -v___y_500_ = v___y_518_; -goto v___jp_495_; +lean_object* v___x_567_; +v___x_567_ = lean_st_ref_set(v___y_550_, v___x_566_); +v___y_527_ = v___y_547_; +v___y_528_ = v___y_546_; +v___y_529_ = v___y_549_; +v___y_530_ = v___y_548_; +v___y_531_ = v___y_550_; +goto v___jp_526_; } } } else { -v___y_496_ = v___y_516_; -v___y_497_ = v___y_515_; -v___y_498_ = v___y_519_; -v___y_499_ = v___y_517_; -v___y_500_ = v___y_518_; -goto v___jp_495_; +v___y_527_ = v___y_547_; +v___y_528_ = v___y_546_; +v___y_529_ = v___y_549_; +v___y_530_ = v___y_548_; +v___y_531_ = v___y_550_; +goto v___jp_526_; } } -v___jp_546_: +v___jp_575_: { -lean_object* v___x_549_; lean_object* v_fileName_550_; lean_object* v_fileMap_551_; lean_object* v_currRecDepth_552_; lean_object* v_ref_553_; lean_object* v_currNamespace_554_; lean_object* v_openDecls_555_; lean_object* v_initHeartbeats_556_; lean_object* v_maxHeartbeats_557_; lean_object* v_quotContext_558_; lean_object* v_currMacroScope_559_; lean_object* v_cancelTk_x3f_560_; uint8_t v_suppressElabErrors_561_; lean_object* v_inheritedTraceOptions_562_; lean_object* v___x_564_; uint8_t v_isShared_565_; uint8_t v_isSharedCheck_576_; -v___x_549_ = lean_st_ref_get(v___y_548_); -v_fileName_550_ = lean_ctor_get(v___y_547_, 0); -v_fileMap_551_ = lean_ctor_get(v___y_547_, 1); -v_currRecDepth_552_ = lean_ctor_get(v___y_547_, 3); -v_ref_553_ = lean_ctor_get(v___y_547_, 5); -v_currNamespace_554_ = lean_ctor_get(v___y_547_, 6); -v_openDecls_555_ = lean_ctor_get(v___y_547_, 7); -v_initHeartbeats_556_ = lean_ctor_get(v___y_547_, 8); -v_maxHeartbeats_557_ = lean_ctor_get(v___y_547_, 9); -v_quotContext_558_ = lean_ctor_get(v___y_547_, 10); -v_currMacroScope_559_ = lean_ctor_get(v___y_547_, 11); -v_cancelTk_x3f_560_ = lean_ctor_get(v___y_547_, 12); -v_suppressElabErrors_561_ = lean_ctor_get_uint8(v___y_547_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_562_ = lean_ctor_get(v___y_547_, 13); -v_isSharedCheck_576_ = !lean_is_exclusive(v___y_547_); -if (v_isSharedCheck_576_ == 0) +lean_object* v___x_581_; lean_object* v_fileName_582_; lean_object* v_fileMap_583_; lean_object* v_currRecDepth_584_; lean_object* v_ref_585_; lean_object* v_currNamespace_586_; lean_object* v_openDecls_587_; lean_object* v_initHeartbeats_588_; lean_object* v_maxHeartbeats_589_; lean_object* v_quotContext_590_; lean_object* v_currMacroScope_591_; lean_object* v_cancelTk_x3f_592_; uint8_t v_suppressElabErrors_593_; lean_object* v_inheritedTraceOptions_594_; lean_object* v___x_596_; uint8_t v_isShared_597_; uint8_t v_isSharedCheck_607_; +v___x_581_ = lean_st_ref_get(v___y_580_); +v_fileName_582_ = lean_ctor_get(v___y_579_, 0); +v_fileMap_583_ = lean_ctor_get(v___y_579_, 1); +v_currRecDepth_584_ = lean_ctor_get(v___y_579_, 3); +v_ref_585_ = lean_ctor_get(v___y_579_, 5); +v_currNamespace_586_ = lean_ctor_get(v___y_579_, 6); +v_openDecls_587_ = lean_ctor_get(v___y_579_, 7); +v_initHeartbeats_588_ = lean_ctor_get(v___y_579_, 8); +v_maxHeartbeats_589_ = lean_ctor_get(v___y_579_, 9); +v_quotContext_590_ = lean_ctor_get(v___y_579_, 10); +v_currMacroScope_591_ = lean_ctor_get(v___y_579_, 11); +v_cancelTk_x3f_592_ = lean_ctor_get(v___y_579_, 12); +v_suppressElabErrors_593_ = lean_ctor_get_uint8(v___y_579_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_594_ = lean_ctor_get(v___y_579_, 13); +v_isSharedCheck_607_ = !lean_is_exclusive(v___y_579_); +if (v_isSharedCheck_607_ == 0) { -lean_object* v_unused_577_; lean_object* v_unused_578_; -v_unused_577_ = lean_ctor_get(v___y_547_, 4); -lean_dec(v_unused_577_); -v_unused_578_ = lean_ctor_get(v___y_547_, 2); -lean_dec(v_unused_578_); -v___x_564_ = v___y_547_; -v_isShared_565_ = v_isSharedCheck_576_; -goto v_resetjp_563_; +lean_object* v_unused_608_; lean_object* v_unused_609_; +v_unused_608_ = lean_ctor_get(v___y_579_, 4); +lean_dec(v_unused_608_); +v_unused_609_ = lean_ctor_get(v___y_579_, 2); +lean_dec(v_unused_609_); +v___x_596_ = v___y_579_; +v_isShared_597_ = v_isSharedCheck_607_; +goto v_resetjp_595_; } else { -lean_inc(v_inheritedTraceOptions_562_); -lean_inc(v_cancelTk_x3f_560_); -lean_inc(v_currMacroScope_559_); -lean_inc(v_quotContext_558_); -lean_inc(v_maxHeartbeats_557_); -lean_inc(v_initHeartbeats_556_); -lean_inc(v_openDecls_555_); -lean_inc(v_currNamespace_554_); -lean_inc(v_ref_553_); -lean_inc(v_currRecDepth_552_); -lean_inc(v_fileMap_551_); -lean_inc(v_fileName_550_); -lean_dec(v___y_547_); -v___x_564_ = lean_box(0); -v_isShared_565_ = v_isSharedCheck_576_; -goto v_resetjp_563_; +lean_inc(v_inheritedTraceOptions_594_); +lean_inc(v_cancelTk_x3f_592_); +lean_inc(v_currMacroScope_591_); +lean_inc(v_quotContext_590_); +lean_inc(v_maxHeartbeats_589_); +lean_inc(v_initHeartbeats_588_); +lean_inc(v_openDecls_587_); +lean_inc(v_currNamespace_586_); +lean_inc(v_ref_585_); +lean_inc(v_currRecDepth_584_); +lean_inc(v_fileMap_583_); +lean_inc(v_fileName_582_); +lean_dec(v___y_579_); +v___x_596_ = lean_box(0); +v_isShared_597_ = v_isSharedCheck_607_; +goto v_resetjp_595_; } -v_resetjp_563_: +v_resetjp_595_: { -lean_object* v_env_566_; lean_object* v___x_567_; lean_object* v___x_568_; lean_object* v___x_570_; -v_env_566_ = lean_ctor_get(v___x_549_, 0); -lean_inc_ref(v_env_566_); -lean_dec(v___x_549_); -v___x_567_ = l_Lean_maxRecDepth; -v___x_568_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__4(v___x_543_, v___x_567_); -lean_inc_ref(v_inheritedTraceOptions_562_); -lean_inc(v_cancelTk_x3f_560_); -lean_inc(v_currMacroScope_559_); -lean_inc(v_quotContext_558_); -lean_inc(v_maxHeartbeats_557_); -lean_inc(v_initHeartbeats_556_); -lean_inc(v_openDecls_555_); -lean_inc(v_currNamespace_554_); -lean_inc(v_ref_553_); -lean_inc(v_currRecDepth_552_); -lean_inc_ref(v___x_543_); -lean_inc_ref(v_fileMap_551_); -lean_inc_ref(v_fileName_550_); -if (v_isShared_565_ == 0) -{ -lean_ctor_set(v___x_564_, 4, v___x_568_); -lean_ctor_set(v___x_564_, 2, v___x_543_); -v___x_570_ = v___x_564_; -goto v_reusejp_569_; -} -else -{ -lean_object* v_reuseFailAlloc_575_; -v_reuseFailAlloc_575_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_575_, 0, v_fileName_550_); -lean_ctor_set(v_reuseFailAlloc_575_, 1, v_fileMap_551_); -lean_ctor_set(v_reuseFailAlloc_575_, 2, v___x_543_); -lean_ctor_set(v_reuseFailAlloc_575_, 3, v_currRecDepth_552_); -lean_ctor_set(v_reuseFailAlloc_575_, 4, v___x_568_); -lean_ctor_set(v_reuseFailAlloc_575_, 5, v_ref_553_); -lean_ctor_set(v_reuseFailAlloc_575_, 6, v_currNamespace_554_); -lean_ctor_set(v_reuseFailAlloc_575_, 7, v_openDecls_555_); -lean_ctor_set(v_reuseFailAlloc_575_, 8, v_initHeartbeats_556_); -lean_ctor_set(v_reuseFailAlloc_575_, 9, v_maxHeartbeats_557_); -lean_ctor_set(v_reuseFailAlloc_575_, 10, v_quotContext_558_); -lean_ctor_set(v_reuseFailAlloc_575_, 11, v_currMacroScope_559_); -lean_ctor_set(v_reuseFailAlloc_575_, 12, v_cancelTk_x3f_560_); -lean_ctor_set(v_reuseFailAlloc_575_, 13, v_inheritedTraceOptions_562_); -lean_ctor_set_uint8(v_reuseFailAlloc_575_, sizeof(void*)*14 + 1, v_suppressElabErrors_561_); -v___x_570_ = v_reuseFailAlloc_575_; -goto v_reusejp_569_; -} -v_reusejp_569_: -{ -lean_object* v___x_571_; lean_object* v___x_572_; uint8_t v___x_573_; uint8_t v___x_574_; -lean_ctor_set_uint8(v___x_570_, sizeof(void*)*14, v___x_545_); -v___x_571_ = l_Lean_Compiler_compiler_postponeCompile; -v___x_572_ = l_Lean_Option_set___at___00Lean_Meta_nativeEqTrue_spec__2(v___x_543_, v___x_571_, v___x_542_); -v___x_573_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__3(v___x_572_, v___x_544_); -v___x_574_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_566_); -lean_dec_ref(v_env_566_); -if (v___x_574_ == 0) -{ -if (v___x_573_ == 0) -{ -lean_dec_ref(v___x_570_); -v___y_472_ = v___x_567_; -v___y_473_ = v___x_572_; -v___y_474_ = v___x_573_; -v_fileName_475_ = v_fileName_550_; -v_fileMap_476_ = v_fileMap_551_; -v_currRecDepth_477_ = v_currRecDepth_552_; -v_ref_478_ = v_ref_553_; -v_currNamespace_479_ = v_currNamespace_554_; -v_openDecls_480_ = v_openDecls_555_; -v_initHeartbeats_481_ = v_initHeartbeats_556_; -v_maxHeartbeats_482_ = v_maxHeartbeats_557_; -v_quotContext_483_ = v_quotContext_558_; -v_currMacroScope_484_ = v_currMacroScope_559_; -v_cancelTk_x3f_485_ = v_cancelTk_x3f_560_; -v_suppressElabErrors_486_ = v_suppressElabErrors_561_; -v_inheritedTraceOptions_487_ = v_inheritedTraceOptions_562_; -v___y_488_ = v___y_548_; -goto v___jp_471_; -} -else -{ -lean_dec_ref(v_inheritedTraceOptions_562_); -lean_dec(v_cancelTk_x3f_560_); -lean_dec(v_currMacroScope_559_); -lean_dec(v_quotContext_558_); -lean_dec(v_maxHeartbeats_557_); -lean_dec(v_initHeartbeats_556_); -lean_dec(v_openDecls_555_); -lean_dec(v_currNamespace_554_); -lean_dec(v_ref_553_); -lean_dec(v_currRecDepth_552_); -lean_dec_ref(v_fileMap_551_); -lean_dec_ref(v_fileName_550_); -v___y_515_ = v___x_572_; -v___y_516_ = v___x_567_; -v___y_517_ = v___x_570_; -v___y_518_ = v___y_548_; -v___y_519_ = v___x_573_; -v___y_520_ = v___x_574_; -goto v___jp_514_; -} -} -else -{ -lean_dec_ref(v_inheritedTraceOptions_562_); -lean_dec(v_cancelTk_x3f_560_); -lean_dec(v_currMacroScope_559_); -lean_dec(v_quotContext_558_); -lean_dec(v_maxHeartbeats_557_); -lean_dec(v_initHeartbeats_556_); -lean_dec(v_openDecls_555_); -lean_dec(v_currNamespace_554_); -lean_dec(v_ref_553_); -lean_dec(v_currRecDepth_552_); -lean_dec_ref(v_fileMap_551_); -lean_dec_ref(v_fileName_550_); -v___y_515_ = v___x_572_; -v___y_516_ = v___x_567_; -v___y_517_ = v___x_570_; -v___y_518_ = v___y_548_; -v___y_519_ = v___x_573_; -v___y_520_ = v___x_573_; -goto v___jp_514_; -} -} -} -} -v___jp_579_: -{ -if (v___y_580_ == 0) -{ -lean_object* v___x_581_; lean_object* v_env_582_; lean_object* v_nextMacroScope_583_; lean_object* v_ngen_584_; lean_object* v_auxDeclNGen_585_; lean_object* v_traceState_586_; lean_object* v_messages_587_; lean_object* v_infoState_588_; lean_object* v_snapshotTasks_589_; lean_object* v___x_591_; uint8_t v_isShared_592_; uint8_t v_isSharedCheck_599_; -v___x_581_ = lean_st_ref_take(v___y_414_); -v_env_582_ = lean_ctor_get(v___x_581_, 0); -v_nextMacroScope_583_ = lean_ctor_get(v___x_581_, 1); -v_ngen_584_ = lean_ctor_get(v___x_581_, 2); -v_auxDeclNGen_585_ = lean_ctor_get(v___x_581_, 3); -v_traceState_586_ = lean_ctor_get(v___x_581_, 4); -v_messages_587_ = lean_ctor_get(v___x_581_, 6); -v_infoState_588_ = lean_ctor_get(v___x_581_, 7); -v_snapshotTasks_589_ = lean_ctor_get(v___x_581_, 8); -v_isSharedCheck_599_ = !lean_is_exclusive(v___x_581_); -if (v_isSharedCheck_599_ == 0) -{ -lean_object* v_unused_600_; -v_unused_600_ = lean_ctor_get(v___x_581_, 5); -lean_dec(v_unused_600_); -v___x_591_ = v___x_581_; -v_isShared_592_ = v_isSharedCheck_599_; -goto v_resetjp_590_; -} -else -{ -lean_inc(v_snapshotTasks_589_); -lean_inc(v_infoState_588_); -lean_inc(v_messages_587_); -lean_inc(v_traceState_586_); -lean_inc(v_auxDeclNGen_585_); -lean_inc(v_ngen_584_); -lean_inc(v_nextMacroScope_583_); -lean_inc(v_env_582_); +lean_object* v_env_598_; lean_object* v___x_599_; lean_object* v___x_601_; +v_env_598_ = lean_ctor_get(v___x_581_, 0); +lean_inc_ref(v_env_598_); lean_dec(v___x_581_); -v___x_591_ = lean_box(0); -v_isShared_592_ = v_isSharedCheck_599_; -goto v_resetjp_590_; -} -v_resetjp_590_: +v___x_599_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__4(v___y_578_, v___y_577_); +lean_inc_ref(v_inheritedTraceOptions_594_); +lean_inc(v_cancelTk_x3f_592_); +lean_inc(v_currMacroScope_591_); +lean_inc(v_quotContext_590_); +lean_inc(v_maxHeartbeats_589_); +lean_inc(v_initHeartbeats_588_); +lean_inc(v_openDecls_587_); +lean_inc(v_currNamespace_586_); +lean_inc(v_ref_585_); +lean_inc(v_currRecDepth_584_); +lean_inc_ref(v___y_578_); +lean_inc_ref(v_fileMap_583_); +lean_inc_ref(v_fileName_582_); +if (v_isShared_597_ == 0) { -lean_object* v___x_593_; lean_object* v___x_594_; lean_object* v___x_596_; -v___x_593_ = l_Lean_Kernel_enableDiag(v_env_582_, v___x_545_); -v___x_594_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); -if (v_isShared_592_ == 0) -{ -lean_ctor_set(v___x_591_, 5, v___x_594_); -lean_ctor_set(v___x_591_, 0, v___x_593_); -v___x_596_ = v___x_591_; -goto v_reusejp_595_; +lean_ctor_set(v___x_596_, 4, v___x_599_); +lean_ctor_set(v___x_596_, 2, v___y_578_); +v___x_601_ = v___x_596_; +goto v_reusejp_600_; } else { -lean_object* v_reuseFailAlloc_598_; -v_reuseFailAlloc_598_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_598_, 0, v___x_593_); -lean_ctor_set(v_reuseFailAlloc_598_, 1, v_nextMacroScope_583_); -lean_ctor_set(v_reuseFailAlloc_598_, 2, v_ngen_584_); -lean_ctor_set(v_reuseFailAlloc_598_, 3, v_auxDeclNGen_585_); -lean_ctor_set(v_reuseFailAlloc_598_, 4, v_traceState_586_); -lean_ctor_set(v_reuseFailAlloc_598_, 5, v___x_594_); -lean_ctor_set(v_reuseFailAlloc_598_, 6, v_messages_587_); -lean_ctor_set(v_reuseFailAlloc_598_, 7, v_infoState_588_); -lean_ctor_set(v_reuseFailAlloc_598_, 8, v_snapshotTasks_589_); -v___x_596_ = v_reuseFailAlloc_598_; -goto v_reusejp_595_; +lean_object* v_reuseFailAlloc_606_; +v_reuseFailAlloc_606_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_606_, 0, v_fileName_582_); +lean_ctor_set(v_reuseFailAlloc_606_, 1, v_fileMap_583_); +lean_ctor_set(v_reuseFailAlloc_606_, 2, v___y_578_); +lean_ctor_set(v_reuseFailAlloc_606_, 3, v_currRecDepth_584_); +lean_ctor_set(v_reuseFailAlloc_606_, 4, v___x_599_); +lean_ctor_set(v_reuseFailAlloc_606_, 5, v_ref_585_); +lean_ctor_set(v_reuseFailAlloc_606_, 6, v_currNamespace_586_); +lean_ctor_set(v_reuseFailAlloc_606_, 7, v_openDecls_587_); +lean_ctor_set(v_reuseFailAlloc_606_, 8, v_initHeartbeats_588_); +lean_ctor_set(v_reuseFailAlloc_606_, 9, v_maxHeartbeats_589_); +lean_ctor_set(v_reuseFailAlloc_606_, 10, v_quotContext_590_); +lean_ctor_set(v_reuseFailAlloc_606_, 11, v_currMacroScope_591_); +lean_ctor_set(v_reuseFailAlloc_606_, 12, v_cancelTk_x3f_592_); +lean_ctor_set(v_reuseFailAlloc_606_, 13, v_inheritedTraceOptions_594_); +lean_ctor_set_uint8(v_reuseFailAlloc_606_, sizeof(void*)*14 + 1, v_suppressElabErrors_593_); +v___x_601_ = v_reuseFailAlloc_606_; +goto v_reusejp_600_; } -v_reusejp_595_: +v_reusejp_600_: { -lean_object* v___x_597_; -v___x_597_ = lean_st_ref_set(v___y_414_, v___x_596_); -lean_inc(v___y_414_); -lean_inc_ref(v___y_413_); -v___y_547_ = v___y_413_; -v___y_548_ = v___y_414_; -goto v___jp_546_; +lean_object* v___x_602_; lean_object* v___x_603_; uint8_t v___x_604_; uint8_t v___x_605_; +lean_ctor_set_uint8(v___x_601_, sizeof(void*)*14, v___y_576_); +v___x_602_ = l_Lean_Compiler_compiler_relaxedMetaCheck; +v___x_603_ = l_Lean_Option_set___at___00Lean_Meta_nativeEqTrue_spec__2(v___y_578_, v___x_602_, v___x_501_); +v___x_604_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__3(v___x_603_, v___x_574_); +v___x_605_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_598_); +lean_dec_ref(v_env_598_); +if (v___x_605_ == 0) +{ +if (v___x_604_ == 0) +{ +lean_dec_ref(v___x_601_); +v___y_503_ = v___x_604_; +v___y_504_ = v___y_577_; +v___y_505_ = v___x_603_; +v_fileName_506_ = v_fileName_582_; +v_fileMap_507_ = v_fileMap_583_; +v_currRecDepth_508_ = v_currRecDepth_584_; +v_ref_509_ = v_ref_585_; +v_currNamespace_510_ = v_currNamespace_586_; +v_openDecls_511_ = v_openDecls_587_; +v_initHeartbeats_512_ = v_initHeartbeats_588_; +v_maxHeartbeats_513_ = v_maxHeartbeats_589_; +v_quotContext_514_ = v_quotContext_590_; +v_currMacroScope_515_ = v_currMacroScope_591_; +v_cancelTk_x3f_516_ = v_cancelTk_x3f_592_; +v_suppressElabErrors_517_ = v_suppressElabErrors_593_; +v_inheritedTraceOptions_518_ = v_inheritedTraceOptions_594_; +v___y_519_ = v___y_580_; +goto v___jp_502_; +} +else +{ +lean_dec_ref(v_inheritedTraceOptions_594_); +lean_dec(v_cancelTk_x3f_592_); +lean_dec(v_currMacroScope_591_); +lean_dec(v_quotContext_590_); +lean_dec(v_maxHeartbeats_589_); +lean_dec(v_initHeartbeats_588_); +lean_dec(v_openDecls_587_); +lean_dec(v_currNamespace_586_); +lean_dec(v_ref_585_); +lean_dec(v_currRecDepth_584_); +lean_dec_ref(v_fileMap_583_); +lean_dec_ref(v_fileName_582_); +v___y_546_ = v___y_577_; +v___y_547_ = v___x_604_; +v___y_548_ = v___x_601_; +v___y_549_ = v___x_603_; +v___y_550_ = v___y_580_; +v___y_551_ = v___x_605_; +goto v___jp_545_; +} +} +else +{ +lean_dec_ref(v_inheritedTraceOptions_594_); +lean_dec(v_cancelTk_x3f_592_); +lean_dec(v_currMacroScope_591_); +lean_dec(v_quotContext_590_); +lean_dec(v_maxHeartbeats_589_); +lean_dec(v_initHeartbeats_588_); +lean_dec(v_openDecls_587_); +lean_dec(v_currNamespace_586_); +lean_dec(v_ref_585_); +lean_dec(v_currRecDepth_584_); +lean_dec_ref(v_fileMap_583_); +lean_dec_ref(v_fileName_582_); +v___y_546_ = v___y_577_; +v___y_547_ = v___x_604_; +v___y_548_ = v___x_601_; +v___y_549_ = v___x_603_; +v___y_550_ = v___y_580_; +v___y_551_ = v___x_604_; +goto v___jp_545_; +} +} +} +} +v___jp_610_: +{ +if (v___y_616_ == 0) +{ +lean_object* v___x_617_; lean_object* v_env_618_; lean_object* v_nextMacroScope_619_; lean_object* v_ngen_620_; lean_object* v_auxDeclNGen_621_; lean_object* v_traceState_622_; lean_object* v_messages_623_; lean_object* v_infoState_624_; lean_object* v_snapshotTasks_625_; lean_object* v___x_627_; uint8_t v_isShared_628_; uint8_t v_isSharedCheck_634_; +v___x_617_ = lean_st_ref_take(v___y_612_); +v_env_618_ = lean_ctor_get(v___x_617_, 0); +v_nextMacroScope_619_ = lean_ctor_get(v___x_617_, 1); +v_ngen_620_ = lean_ctor_get(v___x_617_, 2); +v_auxDeclNGen_621_ = lean_ctor_get(v___x_617_, 3); +v_traceState_622_ = lean_ctor_get(v___x_617_, 4); +v_messages_623_ = lean_ctor_get(v___x_617_, 6); +v_infoState_624_ = lean_ctor_get(v___x_617_, 7); +v_snapshotTasks_625_ = lean_ctor_get(v___x_617_, 8); +v_isSharedCheck_634_ = !lean_is_exclusive(v___x_617_); +if (v_isSharedCheck_634_ == 0) +{ +lean_object* v_unused_635_; +v_unused_635_ = lean_ctor_get(v___x_617_, 5); +lean_dec(v_unused_635_); +v___x_627_ = v___x_617_; +v_isShared_628_ = v_isSharedCheck_634_; +goto v_resetjp_626_; +} +else +{ +lean_inc(v_snapshotTasks_625_); +lean_inc(v_infoState_624_); +lean_inc(v_messages_623_); +lean_inc(v_traceState_622_); +lean_inc(v_auxDeclNGen_621_); +lean_inc(v_ngen_620_); +lean_inc(v_nextMacroScope_619_); +lean_inc(v_env_618_); +lean_dec(v___x_617_); +v___x_627_ = lean_box(0); +v_isShared_628_ = v_isSharedCheck_634_; +goto v_resetjp_626_; +} +v_resetjp_626_: +{ +lean_object* v___x_629_; lean_object* v___x_631_; +v___x_629_ = l_Lean_Kernel_enableDiag(v_env_618_, v___y_611_); +if (v_isShared_628_ == 0) +{ +lean_ctor_set(v___x_627_, 5, v___x_477_); +lean_ctor_set(v___x_627_, 0, v___x_629_); +v___x_631_ = v___x_627_; +goto v_reusejp_630_; +} +else +{ +lean_object* v_reuseFailAlloc_633_; +v_reuseFailAlloc_633_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_633_, 0, v___x_629_); +lean_ctor_set(v_reuseFailAlloc_633_, 1, v_nextMacroScope_619_); +lean_ctor_set(v_reuseFailAlloc_633_, 2, v_ngen_620_); +lean_ctor_set(v_reuseFailAlloc_633_, 3, v_auxDeclNGen_621_); +lean_ctor_set(v_reuseFailAlloc_633_, 4, v_traceState_622_); +lean_ctor_set(v_reuseFailAlloc_633_, 5, v___x_477_); +lean_ctor_set(v_reuseFailAlloc_633_, 6, v_messages_623_); +lean_ctor_set(v_reuseFailAlloc_633_, 7, v_infoState_624_); +lean_ctor_set(v_reuseFailAlloc_633_, 8, v_snapshotTasks_625_); +v___x_631_ = v_reuseFailAlloc_633_; +goto v_reusejp_630_; +} +v_reusejp_630_: +{ +lean_object* v___x_632_; +v___x_632_ = lean_st_ref_set(v___y_612_, v___x_631_); +v___y_576_ = v___y_611_; +v___y_577_ = v___y_613_; +v___y_578_ = v___y_615_; +v___y_579_ = v___y_614_; +v___y_580_ = v___y_612_; +goto v___jp_575_; } } } else { -lean_inc(v___y_414_); -lean_inc_ref(v___y_413_); -v___y_547_ = v___y_413_; -v___y_548_ = v___y_414_; -goto v___jp_546_; +v___y_576_ = v___y_611_; +v___y_577_ = v___y_613_; +v___y_578_ = v___y_615_; +v___y_579_ = v___y_614_; +v___y_580_ = v___y_612_; +goto v___jp_575_; +} +} +v___jp_637_: +{ +lean_object* v___x_640_; lean_object* v_fileName_641_; lean_object* v_fileMap_642_; lean_object* v_currRecDepth_643_; lean_object* v_ref_644_; lean_object* v_currNamespace_645_; lean_object* v_openDecls_646_; lean_object* v_initHeartbeats_647_; lean_object* v_maxHeartbeats_648_; lean_object* v_quotContext_649_; lean_object* v_currMacroScope_650_; lean_object* v_cancelTk_x3f_651_; uint8_t v_suppressElabErrors_652_; lean_object* v_inheritedTraceOptions_653_; lean_object* v___x_655_; uint8_t v_isShared_656_; uint8_t v_isSharedCheck_667_; +v___x_640_ = lean_st_ref_get(v___y_639_); +v_fileName_641_ = lean_ctor_get(v___y_638_, 0); +v_fileMap_642_ = lean_ctor_get(v___y_638_, 1); +v_currRecDepth_643_ = lean_ctor_get(v___y_638_, 3); +v_ref_644_ = lean_ctor_get(v___y_638_, 5); +v_currNamespace_645_ = lean_ctor_get(v___y_638_, 6); +v_openDecls_646_ = lean_ctor_get(v___y_638_, 7); +v_initHeartbeats_647_ = lean_ctor_get(v___y_638_, 8); +v_maxHeartbeats_648_ = lean_ctor_get(v___y_638_, 9); +v_quotContext_649_ = lean_ctor_get(v___y_638_, 10); +v_currMacroScope_650_ = lean_ctor_get(v___y_638_, 11); +v_cancelTk_x3f_651_ = lean_ctor_get(v___y_638_, 12); +v_suppressElabErrors_652_ = lean_ctor_get_uint8(v___y_638_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_653_ = lean_ctor_get(v___y_638_, 13); +v_isSharedCheck_667_ = !lean_is_exclusive(v___y_638_); +if (v_isSharedCheck_667_ == 0) +{ +lean_object* v_unused_668_; lean_object* v_unused_669_; +v_unused_668_ = lean_ctor_get(v___y_638_, 4); +lean_dec(v_unused_668_); +v_unused_669_ = lean_ctor_get(v___y_638_, 2); +lean_dec(v_unused_669_); +v___x_655_ = v___y_638_; +v_isShared_656_ = v_isSharedCheck_667_; +goto v_resetjp_654_; +} +else +{ +lean_inc(v_inheritedTraceOptions_653_); +lean_inc(v_cancelTk_x3f_651_); +lean_inc(v_currMacroScope_650_); +lean_inc(v_quotContext_649_); +lean_inc(v_maxHeartbeats_648_); +lean_inc(v_initHeartbeats_647_); +lean_inc(v_openDecls_646_); +lean_inc(v_currNamespace_645_); +lean_inc(v_ref_644_); +lean_inc(v_currRecDepth_643_); +lean_inc(v_fileMap_642_); +lean_inc(v_fileName_641_); +lean_dec(v___y_638_); +v___x_655_ = lean_box(0); +v_isShared_656_ = v_isSharedCheck_667_; +goto v_resetjp_654_; +} +v_resetjp_654_: +{ +lean_object* v_env_657_; lean_object* v___x_658_; lean_object* v___x_659_; lean_object* v___x_661_; +v_env_657_ = lean_ctor_get(v___x_640_, 0); +lean_inc_ref(v_env_657_); +lean_dec(v___x_640_); +v___x_658_ = l_Lean_maxRecDepth; +v___x_659_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__4(v___x_573_, v___x_658_); +lean_inc_ref(v___x_573_); +if (v_isShared_656_ == 0) +{ +lean_ctor_set(v___x_655_, 4, v___x_659_); +lean_ctor_set(v___x_655_, 2, v___x_573_); +v___x_661_ = v___x_655_; +goto v_reusejp_660_; +} +else +{ +lean_object* v_reuseFailAlloc_666_; +v_reuseFailAlloc_666_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_666_, 0, v_fileName_641_); +lean_ctor_set(v_reuseFailAlloc_666_, 1, v_fileMap_642_); +lean_ctor_set(v_reuseFailAlloc_666_, 2, v___x_573_); +lean_ctor_set(v_reuseFailAlloc_666_, 3, v_currRecDepth_643_); +lean_ctor_set(v_reuseFailAlloc_666_, 4, v___x_659_); +lean_ctor_set(v_reuseFailAlloc_666_, 5, v_ref_644_); +lean_ctor_set(v_reuseFailAlloc_666_, 6, v_currNamespace_645_); +lean_ctor_set(v_reuseFailAlloc_666_, 7, v_openDecls_646_); +lean_ctor_set(v_reuseFailAlloc_666_, 8, v_initHeartbeats_647_); +lean_ctor_set(v_reuseFailAlloc_666_, 9, v_maxHeartbeats_648_); +lean_ctor_set(v_reuseFailAlloc_666_, 10, v_quotContext_649_); +lean_ctor_set(v_reuseFailAlloc_666_, 11, v_currMacroScope_650_); +lean_ctor_set(v_reuseFailAlloc_666_, 12, v_cancelTk_x3f_651_); +lean_ctor_set(v_reuseFailAlloc_666_, 13, v_inheritedTraceOptions_653_); +lean_ctor_set_uint8(v_reuseFailAlloc_666_, sizeof(void*)*14 + 1, v_suppressElabErrors_652_); +v___x_661_ = v_reuseFailAlloc_666_; +goto v_reusejp_660_; +} +v_reusejp_660_: +{ +lean_object* v___x_662_; lean_object* v___x_663_; uint8_t v___x_664_; uint8_t v___x_665_; +lean_ctor_set_uint8(v___x_661_, sizeof(void*)*14, v___x_636_); +v___x_662_ = l_Lean_Compiler_compiler_postponeCompile; +v___x_663_ = l_Lean_Option_set___at___00Lean_Meta_nativeEqTrue_spec__2(v___x_573_, v___x_662_, v___x_572_); +v___x_664_ = l_Lean_Option_get___at___00Lean_Meta_nativeEqTrue_spec__3(v___x_663_, v___x_574_); +v___x_665_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_657_); +lean_dec_ref(v_env_657_); +if (v___x_665_ == 0) +{ +if (v___x_664_ == 0) +{ +v___y_576_ = v___x_664_; +v___y_577_ = v___x_658_; +v___y_578_ = v___x_663_; +v___y_579_ = v___x_661_; +v___y_580_ = v___y_639_; +goto v___jp_575_; +} +else +{ +v___y_611_ = v___x_664_; +v___y_612_ = v___y_639_; +v___y_613_ = v___x_658_; +v___y_614_ = v___x_661_; +v___y_615_ = v___x_663_; +v___y_616_ = v___x_665_; +goto v___jp_610_; +} +} +else +{ +v___y_611_ = v___x_664_; +v___y_612_ = v___y_639_; +v___y_613_ = v___x_658_; +v___y_614_ = v___x_661_; +v___y_615_ = v___x_663_; +v___y_616_ = v___x_664_; +goto v___jp_610_; +} +} +} +} +v___jp_670_: +{ +if (v___y_671_ == 0) +{ +lean_object* v___x_672_; lean_object* v_env_673_; lean_object* v_nextMacroScope_674_; lean_object* v_ngen_675_; lean_object* v_auxDeclNGen_676_; lean_object* v_traceState_677_; lean_object* v_messages_678_; lean_object* v_infoState_679_; lean_object* v_snapshotTasks_680_; lean_object* v___x_682_; uint8_t v_isShared_683_; uint8_t v_isSharedCheck_689_; +v___x_672_ = lean_st_ref_take(v___y_416_); +v_env_673_ = lean_ctor_get(v___x_672_, 0); +v_nextMacroScope_674_ = lean_ctor_get(v___x_672_, 1); +v_ngen_675_ = lean_ctor_get(v___x_672_, 2); +v_auxDeclNGen_676_ = lean_ctor_get(v___x_672_, 3); +v_traceState_677_ = lean_ctor_get(v___x_672_, 4); +v_messages_678_ = lean_ctor_get(v___x_672_, 6); +v_infoState_679_ = lean_ctor_get(v___x_672_, 7); +v_snapshotTasks_680_ = lean_ctor_get(v___x_672_, 8); +v_isSharedCheck_689_ = !lean_is_exclusive(v___x_672_); +if (v_isSharedCheck_689_ == 0) +{ +lean_object* v_unused_690_; +v_unused_690_ = lean_ctor_get(v___x_672_, 5); +lean_dec(v_unused_690_); +v___x_682_ = v___x_672_; +v_isShared_683_ = v_isSharedCheck_689_; +goto v_resetjp_681_; +} +else +{ +lean_inc(v_snapshotTasks_680_); +lean_inc(v_infoState_679_); +lean_inc(v_messages_678_); +lean_inc(v_traceState_677_); +lean_inc(v_auxDeclNGen_676_); +lean_inc(v_ngen_675_); +lean_inc(v_nextMacroScope_674_); +lean_inc(v_env_673_); +lean_dec(v___x_672_); +v___x_682_ = lean_box(0); +v_isShared_683_ = v_isSharedCheck_689_; +goto v_resetjp_681_; +} +v_resetjp_681_: +{ +lean_object* v___x_684_; lean_object* v___x_686_; +v___x_684_ = l_Lean_Kernel_enableDiag(v_env_673_, v___x_636_); +if (v_isShared_683_ == 0) +{ +lean_ctor_set(v___x_682_, 5, v___x_477_); +lean_ctor_set(v___x_682_, 0, v___x_684_); +v___x_686_ = v___x_682_; +goto v_reusejp_685_; +} +else +{ +lean_object* v_reuseFailAlloc_688_; +v_reuseFailAlloc_688_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_688_, 0, v___x_684_); +lean_ctor_set(v_reuseFailAlloc_688_, 1, v_nextMacroScope_674_); +lean_ctor_set(v_reuseFailAlloc_688_, 2, v_ngen_675_); +lean_ctor_set(v_reuseFailAlloc_688_, 3, v_auxDeclNGen_676_); +lean_ctor_set(v_reuseFailAlloc_688_, 4, v_traceState_677_); +lean_ctor_set(v_reuseFailAlloc_688_, 5, v___x_477_); +lean_ctor_set(v_reuseFailAlloc_688_, 6, v_messages_678_); +lean_ctor_set(v_reuseFailAlloc_688_, 7, v_infoState_679_); +lean_ctor_set(v_reuseFailAlloc_688_, 8, v_snapshotTasks_680_); +v___x_686_ = v_reuseFailAlloc_688_; +goto v_reusejp_685_; +} +v_reusejp_685_: +{ +lean_object* v___x_687_; +v___x_687_ = lean_st_ref_set(v___y_416_, v___x_686_); +lean_inc(v___y_416_); +lean_inc_ref(v___y_415_); +v___y_638_ = v___y_415_; +v___y_639_ = v___y_416_; +goto v___jp_637_; +} +} +} +else +{ +lean_inc(v___y_416_); +lean_inc_ref(v___y_415_); +v___y_638_ = v___y_415_; +v___y_639_ = v___y_416_; +goto v___jp_637_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___lam__0___boxed(lean_object* v___x_604_, lean_object* v___x_605_, lean_object* v_tacticName_606_, lean_object* v___x_607_, lean_object* v_a_608_, lean_object* v___y_609_, lean_object* v___y_610_, lean_object* v___y_611_, lean_object* v___y_612_, lean_object* v___y_613_){ +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___lam__0___boxed(lean_object* v___x_700_, lean_object* v___x_701_, lean_object* v___x_702_, lean_object* v_tacticName_703_, lean_object* v_a_704_, lean_object* v___y_705_, lean_object* v___y_706_, lean_object* v___y_707_, lean_object* v___y_708_, lean_object* v___y_709_){ _start: { -lean_object* v_res_614_; -v_res_614_ = l_Lean_Meta_nativeEqTrue___lam__0(v___x_604_, v___x_605_, v_tacticName_606_, v___x_607_, v_a_608_, v___y_609_, v___y_610_, v___y_611_, v___y_612_); -lean_dec(v___y_610_); -lean_dec_ref(v___y_609_); -return v_res_614_; +lean_object* v_res_710_; +v_res_710_ = l_Lean_Meta_nativeEqTrue___lam__0(v___x_700_, v___x_701_, v___x_702_, v_tacticName_703_, v_a_704_, v___y_705_, v___y_706_, v___y_707_, v___y_708_); +lean_dec(v___y_706_); +lean_dec_ref(v___y_705_); +return v_res_710_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(lean_object* v_stx_615_, lean_object* v___y_616_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(lean_object* v_stx_711_, lean_object* v___y_712_){ _start: { -uint8_t v___x_618_; lean_object* v___x_619_; -v___x_618_ = 0; -v___x_619_ = l_Lean_Syntax_getRange_x3f(v_stx_615_, v___x_618_); -if (lean_obj_tag(v___x_619_) == 1) +uint8_t v___x_714_; lean_object* v___x_715_; +v___x_714_ = 0; +v___x_715_ = l_Lean_Syntax_getRange_x3f(v_stx_711_, v___x_714_); +if (lean_obj_tag(v___x_715_) == 1) { -lean_object* v_val_620_; lean_object* v___x_622_; uint8_t v_isShared_623_; uint8_t v_isSharedCheck_632_; -v_val_620_ = lean_ctor_get(v___x_619_, 0); -v_isSharedCheck_632_ = !lean_is_exclusive(v___x_619_); -if (v_isSharedCheck_632_ == 0) +lean_object* v_val_716_; lean_object* v___x_718_; uint8_t v_isShared_719_; uint8_t v_isSharedCheck_728_; +v_val_716_ = lean_ctor_get(v___x_715_, 0); +v_isSharedCheck_728_ = !lean_is_exclusive(v___x_715_); +if (v_isSharedCheck_728_ == 0) { -v___x_622_ = v___x_619_; -v_isShared_623_ = v_isSharedCheck_632_; -goto v_resetjp_621_; +v___x_718_ = v___x_715_; +v_isShared_719_ = v_isSharedCheck_728_; +goto v_resetjp_717_; } else { -lean_inc(v_val_620_); -lean_dec(v___x_619_); -v___x_622_ = lean_box(0); -v_isShared_623_ = v_isSharedCheck_632_; -goto v_resetjp_621_; +lean_inc(v_val_716_); +lean_dec(v___x_715_); +v___x_718_ = lean_box(0); +v_isShared_719_ = v_isSharedCheck_728_; +goto v_resetjp_717_; } -v_resetjp_621_: +v_resetjp_717_: { -lean_object* v_fileMap_624_; lean_object* v_start_625_; lean_object* v_stop_626_; lean_object* v___x_627_; lean_object* v___x_629_; -v_fileMap_624_ = lean_ctor_get(v___y_616_, 1); -lean_inc_ref(v_fileMap_624_); -lean_dec_ref(v___y_616_); -v_start_625_ = lean_ctor_get(v_val_620_, 0); -lean_inc(v_start_625_); -v_stop_626_ = lean_ctor_get(v_val_620_, 1); -lean_inc(v_stop_626_); -lean_dec(v_val_620_); -v___x_627_ = l_Lean_DeclarationRange_ofStringPositions(v_fileMap_624_, v_start_625_, v_stop_626_); -lean_dec(v_stop_626_); -lean_dec(v_start_625_); -if (v_isShared_623_ == 0) +lean_object* v_fileMap_720_; lean_object* v_start_721_; lean_object* v_stop_722_; lean_object* v___x_723_; lean_object* v___x_725_; +v_fileMap_720_ = lean_ctor_get(v___y_712_, 1); +lean_inc_ref(v_fileMap_720_); +lean_dec_ref(v___y_712_); +v_start_721_ = lean_ctor_get(v_val_716_, 0); +lean_inc(v_start_721_); +v_stop_722_ = lean_ctor_get(v_val_716_, 1); +lean_inc(v_stop_722_); +lean_dec(v_val_716_); +v___x_723_ = l_Lean_DeclarationRange_ofStringPositions(v_fileMap_720_, v_start_721_, v_stop_722_); +lean_dec(v_stop_722_); +lean_dec(v_start_721_); +if (v_isShared_719_ == 0) { -lean_ctor_set(v___x_622_, 0, v___x_627_); -v___x_629_ = v___x_622_; -goto v_reusejp_628_; +lean_ctor_set(v___x_718_, 0, v___x_723_); +v___x_725_ = v___x_718_; +goto v_reusejp_724_; } else { -lean_object* v_reuseFailAlloc_631_; -v_reuseFailAlloc_631_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_631_, 0, v___x_627_); -v___x_629_ = v_reuseFailAlloc_631_; -goto v_reusejp_628_; +lean_object* v_reuseFailAlloc_727_; +v_reuseFailAlloc_727_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_727_, 0, v___x_723_); +v___x_725_ = v_reuseFailAlloc_727_; +goto v_reusejp_724_; } -v_reusejp_628_: +v_reusejp_724_: { -lean_object* v___x_630_; -v___x_630_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_630_, 0, v___x_629_); -return v___x_630_; +lean_object* v___x_726_; +v___x_726_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_726_, 0, v___x_725_); +return v___x_726_; } } } else { -lean_object* v___x_633_; lean_object* v___x_634_; -lean_dec(v___x_619_); -lean_dec_ref(v___y_616_); -v___x_633_ = lean_box(0); -v___x_634_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_634_, 0, v___x_633_); -return v___x_634_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg___boxed(lean_object* v_stx_635_, lean_object* v___y_636_, lean_object* v___y_637_){ -_start: -{ -lean_object* v_res_638_; -v_res_638_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_stx_635_, v___y_636_); -lean_dec(v_stx_635_); -return v_res_638_; -} -} -static lean_object* _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0(void){ -_start: -{ -lean_object* v___x_639_; lean_object* v___x_640_; -v___x_639_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__10, &l_Lean_Meta_nativeEqTrue___lam__0___closed__10_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__10); -v___x_640_ = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(v___x_640_, 0, v___x_639_); -lean_ctor_set(v___x_640_, 1, v___x_639_); -lean_ctor_set(v___x_640_, 2, v___x_639_); -lean_ctor_set(v___x_640_, 3, v___x_639_); -lean_ctor_set(v___x_640_, 4, v___x_639_); -lean_ctor_set(v___x_640_, 5, v___x_639_); -return v___x_640_; -} -} -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(lean_object* v_declName_641_, lean_object* v_declRanges_642_, lean_object* v___y_643_, lean_object* v___y_644_){ -_start: -{ -uint8_t v___x_646_; -v___x_646_ = l_Lean_Name_isAnonymous(v_declName_641_); -if (v___x_646_ == 0) -{ -lean_object* v___x_647_; lean_object* v_env_648_; lean_object* v_nextMacroScope_649_; lean_object* v_ngen_650_; lean_object* v_auxDeclNGen_651_; lean_object* v_traceState_652_; lean_object* v_messages_653_; lean_object* v_infoState_654_; lean_object* v_snapshotTasks_655_; lean_object* v___x_657_; uint8_t v_isShared_658_; uint8_t v_isSharedCheck_683_; -v___x_647_ = lean_st_ref_take(v___y_644_); -v_env_648_ = lean_ctor_get(v___x_647_, 0); -v_nextMacroScope_649_ = lean_ctor_get(v___x_647_, 1); -v_ngen_650_ = lean_ctor_get(v___x_647_, 2); -v_auxDeclNGen_651_ = lean_ctor_get(v___x_647_, 3); -v_traceState_652_ = lean_ctor_get(v___x_647_, 4); -v_messages_653_ = lean_ctor_get(v___x_647_, 6); -v_infoState_654_ = lean_ctor_get(v___x_647_, 7); -v_snapshotTasks_655_ = lean_ctor_get(v___x_647_, 8); -v_isSharedCheck_683_ = !lean_is_exclusive(v___x_647_); -if (v_isSharedCheck_683_ == 0) -{ -lean_object* v_unused_684_; -v_unused_684_ = lean_ctor_get(v___x_647_, 5); -lean_dec(v_unused_684_); -v___x_657_ = v___x_647_; -v_isShared_658_ = v_isSharedCheck_683_; -goto v_resetjp_656_; -} -else -{ -lean_inc(v_snapshotTasks_655_); -lean_inc(v_infoState_654_); -lean_inc(v_messages_653_); -lean_inc(v_traceState_652_); -lean_inc(v_auxDeclNGen_651_); -lean_inc(v_ngen_650_); -lean_inc(v_nextMacroScope_649_); -lean_inc(v_env_648_); -lean_dec(v___x_647_); -v___x_657_ = lean_box(0); -v_isShared_658_ = v_isSharedCheck_683_; -goto v_resetjp_656_; -} -v_resetjp_656_: -{ -lean_object* v___x_659_; lean_object* v___x_660_; lean_object* v___x_661_; lean_object* v___x_663_; -v___x_659_ = l_Lean_declRangeExt; -v___x_660_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_659_, v_env_648_, v_declName_641_, v_declRanges_642_); -v___x_661_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); -if (v_isShared_658_ == 0) -{ -lean_ctor_set(v___x_657_, 5, v___x_661_); -lean_ctor_set(v___x_657_, 0, v___x_660_); -v___x_663_ = v___x_657_; -goto v_reusejp_662_; -} -else -{ -lean_object* v_reuseFailAlloc_682_; -v_reuseFailAlloc_682_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_682_, 0, v___x_660_); -lean_ctor_set(v_reuseFailAlloc_682_, 1, v_nextMacroScope_649_); -lean_ctor_set(v_reuseFailAlloc_682_, 2, v_ngen_650_); -lean_ctor_set(v_reuseFailAlloc_682_, 3, v_auxDeclNGen_651_); -lean_ctor_set(v_reuseFailAlloc_682_, 4, v_traceState_652_); -lean_ctor_set(v_reuseFailAlloc_682_, 5, v___x_661_); -lean_ctor_set(v_reuseFailAlloc_682_, 6, v_messages_653_); -lean_ctor_set(v_reuseFailAlloc_682_, 7, v_infoState_654_); -lean_ctor_set(v_reuseFailAlloc_682_, 8, v_snapshotTasks_655_); -v___x_663_ = v_reuseFailAlloc_682_; -goto v_reusejp_662_; -} -v_reusejp_662_: -{ -lean_object* v___x_664_; lean_object* v___x_665_; lean_object* v_mctx_666_; lean_object* v_zetaDeltaFVarIds_667_; lean_object* v_postponed_668_; lean_object* v_diag_669_; lean_object* v___x_671_; uint8_t v_isShared_672_; uint8_t v_isSharedCheck_680_; -v___x_664_ = lean_st_ref_set(v___y_644_, v___x_663_); -v___x_665_ = lean_st_ref_take(v___y_643_); -v_mctx_666_ = lean_ctor_get(v___x_665_, 0); -v_zetaDeltaFVarIds_667_ = lean_ctor_get(v___x_665_, 2); -v_postponed_668_ = lean_ctor_get(v___x_665_, 3); -v_diag_669_ = lean_ctor_get(v___x_665_, 4); -v_isSharedCheck_680_ = !lean_is_exclusive(v___x_665_); -if (v_isSharedCheck_680_ == 0) -{ -lean_object* v_unused_681_; -v_unused_681_ = lean_ctor_get(v___x_665_, 1); -lean_dec(v_unused_681_); -v___x_671_ = v___x_665_; -v_isShared_672_ = v_isSharedCheck_680_; -goto v_resetjp_670_; -} -else -{ -lean_inc(v_diag_669_); -lean_inc(v_postponed_668_); -lean_inc(v_zetaDeltaFVarIds_667_); -lean_inc(v_mctx_666_); -lean_dec(v___x_665_); -v___x_671_ = lean_box(0); -v_isShared_672_ = v_isSharedCheck_680_; -goto v_resetjp_670_; -} -v_resetjp_670_: -{ -lean_object* v___x_673_; lean_object* v___x_675_; -v___x_673_ = lean_obj_once(&l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0, &l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0_once, _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0); -if (v_isShared_672_ == 0) -{ -lean_ctor_set(v___x_671_, 1, v___x_673_); -v___x_675_ = v___x_671_; -goto v_reusejp_674_; -} -else -{ -lean_object* v_reuseFailAlloc_679_; -v_reuseFailAlloc_679_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_679_, 0, v_mctx_666_); -lean_ctor_set(v_reuseFailAlloc_679_, 1, v___x_673_); -lean_ctor_set(v_reuseFailAlloc_679_, 2, v_zetaDeltaFVarIds_667_); -lean_ctor_set(v_reuseFailAlloc_679_, 3, v_postponed_668_); -lean_ctor_set(v_reuseFailAlloc_679_, 4, v_diag_669_); -v___x_675_ = v_reuseFailAlloc_679_; -goto v_reusejp_674_; -} -v_reusejp_674_: -{ -lean_object* v___x_676_; lean_object* v___x_677_; lean_object* v___x_678_; -v___x_676_ = lean_st_ref_set(v___y_643_, v___x_675_); -v___x_677_ = lean_box(0); -v___x_678_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_678_, 0, v___x_677_); -return v___x_678_; -} -} -} -} -} -else -{ -lean_object* v___x_685_; lean_object* v___x_686_; -lean_dec_ref(v_declRanges_642_); -lean_dec(v_declName_641_); -v___x_685_ = lean_box(0); -v___x_686_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_686_, 0, v___x_685_); -return v___x_686_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___boxed(lean_object* v_declName_687_, lean_object* v_declRanges_688_, lean_object* v___y_689_, lean_object* v___y_690_, lean_object* v___y_691_){ -_start: -{ -lean_object* v_res_692_; -v_res_692_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_687_, v_declRanges_688_, v___y_689_, v___y_690_); -lean_dec(v___y_690_); -lean_dec(v___y_689_); -return v_res_692_; -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(lean_object* v_declName_693_, lean_object* v_rangeStx_694_, lean_object* v_selectionRangeStx_695_, lean_object* v___y_696_, lean_object* v___y_697_, lean_object* v___y_698_, lean_object* v___y_699_){ -_start: -{ -lean_object* v___x_701_; lean_object* v_a_702_; lean_object* v___x_704_; uint8_t v_isShared_705_; uint8_t v_isSharedCheck_718_; -lean_inc_ref(v___y_698_); -v___x_701_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_rangeStx_694_, v___y_698_); -v_a_702_ = lean_ctor_get(v___x_701_, 0); -v_isSharedCheck_718_ = !lean_is_exclusive(v___x_701_); -if (v_isSharedCheck_718_ == 0) -{ -v___x_704_ = v___x_701_; -v_isShared_705_ = v_isSharedCheck_718_; -goto v_resetjp_703_; -} -else -{ -lean_inc(v_a_702_); -lean_dec(v___x_701_); -v___x_704_ = lean_box(0); -v_isShared_705_ = v_isSharedCheck_718_; -goto v_resetjp_703_; -} -v_resetjp_703_: -{ -if (lean_obj_tag(v_a_702_) == 1) -{ -lean_object* v_val_706_; lean_object* v___x_707_; lean_object* v_a_708_; lean_object* v_a_710_; -lean_del_object(v___x_704_); -v_val_706_ = lean_ctor_get(v_a_702_, 0); -lean_inc(v_val_706_); -lean_dec_ref(v_a_702_); -v___x_707_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_selectionRangeStx_695_, v___y_698_); -v_a_708_ = lean_ctor_get(v___x_707_, 0); -lean_inc(v_a_708_); -lean_dec_ref(v___x_707_); -if (lean_obj_tag(v_a_708_) == 0) -{ -lean_inc(v_val_706_); -v_a_710_ = v_val_706_; -goto v___jp_709_; -} -else -{ -lean_object* v_val_713_; -v_val_713_ = lean_ctor_get(v_a_708_, 0); -lean_inc(v_val_713_); -lean_dec_ref(v_a_708_); -v_a_710_ = v_val_713_; -goto v___jp_709_; -} -v___jp_709_: -{ -lean_object* v___x_711_; lean_object* v___x_712_; -v___x_711_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_711_, 0, v_val_706_); -lean_ctor_set(v___x_711_, 1, v_a_710_); -v___x_712_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_693_, v___x_711_, v___y_697_, v___y_699_); -return v___x_712_; -} -} -else -{ -lean_object* v___x_714_; lean_object* v___x_716_; -lean_dec(v_a_702_); -lean_dec_ref(v___y_698_); -lean_dec(v_declName_693_); -v___x_714_ = lean_box(0); -if (v_isShared_705_ == 0) -{ -lean_ctor_set(v___x_704_, 0, v___x_714_); -v___x_716_ = v___x_704_; -goto v_reusejp_715_; -} -else -{ -lean_object* v_reuseFailAlloc_717_; -v_reuseFailAlloc_717_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_717_, 0, v___x_714_); -v___x_716_ = v_reuseFailAlloc_717_; -goto v_reusejp_715_; -} -v_reusejp_715_: -{ -return v___x_716_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7___boxed(lean_object* v_declName_719_, lean_object* v_rangeStx_720_, lean_object* v_selectionRangeStx_721_, lean_object* v___y_722_, lean_object* v___y_723_, lean_object* v___y_724_, lean_object* v___y_725_, lean_object* v___y_726_){ -_start: -{ -lean_object* v_res_727_; -v_res_727_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(v_declName_719_, v_rangeStx_720_, v_selectionRangeStx_721_, v___y_722_, v___y_723_, v___y_724_, v___y_725_); -lean_dec(v___y_725_); -lean_dec(v___y_723_); -lean_dec_ref(v___y_722_); -lean_dec(v_selectionRangeStx_721_); -lean_dec(v_rangeStx_720_); -return v_res_727_; -} -} -LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_nativeEqTrue_spec__6(lean_object* v_a_728_, lean_object* v_a_729_){ -_start: -{ -if (lean_obj_tag(v_a_728_) == 0) -{ -lean_object* v___x_730_; -v___x_730_ = l_List_reverse___redArg(v_a_729_); +lean_object* v___x_729_; lean_object* v___x_730_; +lean_dec(v___x_715_); +lean_dec_ref(v___y_712_); +v___x_729_ = lean_box(0); +v___x_730_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_730_, 0, v___x_729_); return v___x_730_; } -else +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg___boxed(lean_object* v_stx_731_, lean_object* v___y_732_, lean_object* v___y_733_){ +_start: { -lean_object* v_head_731_; lean_object* v_tail_732_; lean_object* v___x_734_; uint8_t v_isShared_735_; uint8_t v_isSharedCheck_741_; -v_head_731_ = lean_ctor_get(v_a_728_, 0); -v_tail_732_ = lean_ctor_get(v_a_728_, 1); -v_isSharedCheck_741_ = !lean_is_exclusive(v_a_728_); -if (v_isSharedCheck_741_ == 0) +lean_object* v_res_734_; +v_res_734_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_stx_731_, v___y_732_); +lean_dec(v_stx_731_); +return v_res_734_; +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(lean_object* v_declName_735_, lean_object* v_declRanges_736_, lean_object* v___y_737_, lean_object* v___y_738_){ +_start: { -v___x_734_ = v_a_728_; -v_isShared_735_ = v_isSharedCheck_741_; -goto v_resetjp_733_; +uint8_t v___x_740_; +v___x_740_ = l_Lean_Name_isAnonymous(v_declName_735_); +if (v___x_740_ == 0) +{ +lean_object* v___x_741_; lean_object* v_env_742_; lean_object* v_nextMacroScope_743_; lean_object* v_ngen_744_; lean_object* v_auxDeclNGen_745_; lean_object* v_traceState_746_; lean_object* v_messages_747_; lean_object* v_infoState_748_; lean_object* v_snapshotTasks_749_; lean_object* v___x_751_; uint8_t v_isShared_752_; uint8_t v_isSharedCheck_777_; +v___x_741_ = lean_st_ref_take(v___y_738_); +v_env_742_ = lean_ctor_get(v___x_741_, 0); +v_nextMacroScope_743_ = lean_ctor_get(v___x_741_, 1); +v_ngen_744_ = lean_ctor_get(v___x_741_, 2); +v_auxDeclNGen_745_ = lean_ctor_get(v___x_741_, 3); +v_traceState_746_ = lean_ctor_get(v___x_741_, 4); +v_messages_747_ = lean_ctor_get(v___x_741_, 6); +v_infoState_748_ = lean_ctor_get(v___x_741_, 7); +v_snapshotTasks_749_ = lean_ctor_get(v___x_741_, 8); +v_isSharedCheck_777_ = !lean_is_exclusive(v___x_741_); +if (v_isSharedCheck_777_ == 0) +{ +lean_object* v_unused_778_; +v_unused_778_ = lean_ctor_get(v___x_741_, 5); +lean_dec(v_unused_778_); +v___x_751_ = v___x_741_; +v_isShared_752_ = v_isSharedCheck_777_; +goto v_resetjp_750_; } else { -lean_inc(v_tail_732_); -lean_inc(v_head_731_); -lean_dec(v_a_728_); -v___x_734_ = lean_box(0); -v_isShared_735_ = v_isSharedCheck_741_; -goto v_resetjp_733_; +lean_inc(v_snapshotTasks_749_); +lean_inc(v_infoState_748_); +lean_inc(v_messages_747_); +lean_inc(v_traceState_746_); +lean_inc(v_auxDeclNGen_745_); +lean_inc(v_ngen_744_); +lean_inc(v_nextMacroScope_743_); +lean_inc(v_env_742_); +lean_dec(v___x_741_); +v___x_751_ = lean_box(0); +v_isShared_752_ = v_isSharedCheck_777_; +goto v_resetjp_750_; } -v_resetjp_733_: +v_resetjp_750_: { -lean_object* v___x_736_; lean_object* v___x_738_; -v___x_736_ = l_Lean_mkLevelParam(v_head_731_); -if (v_isShared_735_ == 0) +lean_object* v___x_753_; lean_object* v___x_754_; lean_object* v___x_755_; lean_object* v___x_757_; +v___x_753_ = l_Lean_declRangeExt; +v___x_754_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_753_, v_env_742_, v_declName_735_, v_declRanges_736_); +v___x_755_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); +if (v_isShared_752_ == 0) { -lean_ctor_set(v___x_734_, 1, v_a_729_); -lean_ctor_set(v___x_734_, 0, v___x_736_); -v___x_738_ = v___x_734_; -goto v_reusejp_737_; +lean_ctor_set(v___x_751_, 5, v___x_755_); +lean_ctor_set(v___x_751_, 0, v___x_754_); +v___x_757_ = v___x_751_; +goto v_reusejp_756_; } else { -lean_object* v_reuseFailAlloc_740_; -v_reuseFailAlloc_740_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_740_, 0, v___x_736_); -lean_ctor_set(v_reuseFailAlloc_740_, 1, v_a_729_); -v___x_738_ = v_reuseFailAlloc_740_; -goto v_reusejp_737_; +lean_object* v_reuseFailAlloc_776_; +v_reuseFailAlloc_776_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_776_, 0, v___x_754_); +lean_ctor_set(v_reuseFailAlloc_776_, 1, v_nextMacroScope_743_); +lean_ctor_set(v_reuseFailAlloc_776_, 2, v_ngen_744_); +lean_ctor_set(v_reuseFailAlloc_776_, 3, v_auxDeclNGen_745_); +lean_ctor_set(v_reuseFailAlloc_776_, 4, v_traceState_746_); +lean_ctor_set(v_reuseFailAlloc_776_, 5, v___x_755_); +lean_ctor_set(v_reuseFailAlloc_776_, 6, v_messages_747_); +lean_ctor_set(v_reuseFailAlloc_776_, 7, v_infoState_748_); +lean_ctor_set(v_reuseFailAlloc_776_, 8, v_snapshotTasks_749_); +v___x_757_ = v_reuseFailAlloc_776_; +goto v_reusejp_756_; } -v_reusejp_737_: +v_reusejp_756_: { -v_a_728_ = v_tail_732_; -v_a_729_ = v___x_738_; +lean_object* v___x_758_; lean_object* v___x_759_; lean_object* v_mctx_760_; lean_object* v_zetaDeltaFVarIds_761_; lean_object* v_postponed_762_; lean_object* v_diag_763_; lean_object* v___x_765_; uint8_t v_isShared_766_; uint8_t v_isSharedCheck_774_; +v___x_758_ = lean_st_ref_set(v___y_738_, v___x_757_); +v___x_759_ = lean_st_ref_take(v___y_737_); +v_mctx_760_ = lean_ctor_get(v___x_759_, 0); +v_zetaDeltaFVarIds_761_ = lean_ctor_get(v___x_759_, 2); +v_postponed_762_ = lean_ctor_get(v___x_759_, 3); +v_diag_763_ = lean_ctor_get(v___x_759_, 4); +v_isSharedCheck_774_ = !lean_is_exclusive(v___x_759_); +if (v_isSharedCheck_774_ == 0) +{ +lean_object* v_unused_775_; +v_unused_775_ = lean_ctor_get(v___x_759_, 1); +lean_dec(v_unused_775_); +v___x_765_ = v___x_759_; +v_isShared_766_ = v_isSharedCheck_774_; +goto v_resetjp_764_; +} +else +{ +lean_inc(v_diag_763_); +lean_inc(v_postponed_762_); +lean_inc(v_zetaDeltaFVarIds_761_); +lean_inc(v_mctx_760_); +lean_dec(v___x_759_); +v___x_765_ = lean_box(0); +v_isShared_766_ = v_isSharedCheck_774_; +goto v_resetjp_764_; +} +v_resetjp_764_: +{ +lean_object* v___x_767_; lean_object* v___x_769_; +v___x_767_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__12, &l_Lean_Meta_nativeEqTrue___lam__0___closed__12_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__12); +if (v_isShared_766_ == 0) +{ +lean_ctor_set(v___x_765_, 1, v___x_767_); +v___x_769_ = v___x_765_; +goto v_reusejp_768_; +} +else +{ +lean_object* v_reuseFailAlloc_773_; +v_reuseFailAlloc_773_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_773_, 0, v_mctx_760_); +lean_ctor_set(v_reuseFailAlloc_773_, 1, v___x_767_); +lean_ctor_set(v_reuseFailAlloc_773_, 2, v_zetaDeltaFVarIds_761_); +lean_ctor_set(v_reuseFailAlloc_773_, 3, v_postponed_762_); +lean_ctor_set(v_reuseFailAlloc_773_, 4, v_diag_763_); +v___x_769_ = v_reuseFailAlloc_773_; +goto v_reusejp_768_; +} +v_reusejp_768_: +{ +lean_object* v___x_770_; lean_object* v___x_771_; lean_object* v___x_772_; +v___x_770_ = lean_st_ref_set(v___y_737_, v___x_769_); +v___x_771_ = lean_box(0); +v___x_772_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_772_, 0, v___x_771_); +return v___x_772_; +} +} +} +} +} +else +{ +lean_object* v___x_779_; lean_object* v___x_780_; +lean_dec_ref(v_declRanges_736_); +lean_dec(v_declName_735_); +v___x_779_ = lean_box(0); +v___x_780_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_780_, 0, v___x_779_); +return v___x_780_; +} +} +} +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___boxed(lean_object* v_declName_781_, lean_object* v_declRanges_782_, lean_object* v___y_783_, lean_object* v___y_784_, lean_object* v___y_785_){ +_start: +{ +lean_object* v_res_786_; +v_res_786_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_781_, v_declRanges_782_, v___y_783_, v___y_784_); +lean_dec(v___y_784_); +lean_dec(v___y_783_); +return v_res_786_; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(lean_object* v_declName_787_, lean_object* v_rangeStx_788_, lean_object* v_selectionRangeStx_789_, lean_object* v___y_790_, lean_object* v___y_791_, lean_object* v___y_792_, lean_object* v___y_793_){ +_start: +{ +lean_object* v___x_795_; lean_object* v_a_796_; lean_object* v___x_798_; uint8_t v_isShared_799_; uint8_t v_isSharedCheck_812_; +lean_inc_ref(v___y_792_); +v___x_795_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_rangeStx_788_, v___y_792_); +v_a_796_ = lean_ctor_get(v___x_795_, 0); +v_isSharedCheck_812_ = !lean_is_exclusive(v___x_795_); +if (v_isSharedCheck_812_ == 0) +{ +v___x_798_ = v___x_795_; +v_isShared_799_ = v_isSharedCheck_812_; +goto v_resetjp_797_; +} +else +{ +lean_inc(v_a_796_); +lean_dec(v___x_795_); +v___x_798_ = lean_box(0); +v_isShared_799_ = v_isSharedCheck_812_; +goto v_resetjp_797_; +} +v_resetjp_797_: +{ +if (lean_obj_tag(v_a_796_) == 1) +{ +lean_object* v_val_800_; lean_object* v___x_801_; lean_object* v_a_802_; lean_object* v_a_804_; +lean_del_object(v___x_798_); +v_val_800_ = lean_ctor_get(v_a_796_, 0); +lean_inc(v_val_800_); +lean_dec_ref(v_a_796_); +v___x_801_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_selectionRangeStx_789_, v___y_792_); +v_a_802_ = lean_ctor_get(v___x_801_, 0); +lean_inc(v_a_802_); +lean_dec_ref(v___x_801_); +if (lean_obj_tag(v_a_802_) == 0) +{ +lean_inc(v_val_800_); +v_a_804_ = v_val_800_; +goto v___jp_803_; +} +else +{ +lean_object* v_val_807_; +v_val_807_ = lean_ctor_get(v_a_802_, 0); +lean_inc(v_val_807_); +lean_dec_ref(v_a_802_); +v_a_804_ = v_val_807_; +goto v___jp_803_; +} +v___jp_803_: +{ +lean_object* v___x_805_; lean_object* v___x_806_; +v___x_805_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_805_, 0, v_val_800_); +lean_ctor_set(v___x_805_, 1, v_a_804_); +v___x_806_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_787_, v___x_805_, v___y_791_, v___y_793_); +return v___x_806_; +} +} +else +{ +lean_object* v___x_808_; lean_object* v___x_810_; +lean_dec(v_a_796_); +lean_dec_ref(v___y_792_); +lean_dec(v_declName_787_); +v___x_808_ = lean_box(0); +if (v_isShared_799_ == 0) +{ +lean_ctor_set(v___x_798_, 0, v___x_808_); +v___x_810_ = v___x_798_; +goto v_reusejp_809_; +} +else +{ +lean_object* v_reuseFailAlloc_811_; +v_reuseFailAlloc_811_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_811_, 0, v___x_808_); +v___x_810_ = v_reuseFailAlloc_811_; +goto v_reusejp_809_; +} +v_reusejp_809_: +{ +return v___x_810_; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7___boxed(lean_object* v_declName_813_, lean_object* v_rangeStx_814_, lean_object* v_selectionRangeStx_815_, lean_object* v___y_816_, lean_object* v___y_817_, lean_object* v___y_818_, lean_object* v___y_819_, lean_object* v___y_820_){ +_start: +{ +lean_object* v_res_821_; +v_res_821_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(v_declName_813_, v_rangeStx_814_, v_selectionRangeStx_815_, v___y_816_, v___y_817_, v___y_818_, v___y_819_); +lean_dec(v___y_819_); +lean_dec(v___y_817_); +lean_dec_ref(v___y_816_); +lean_dec(v_selectionRangeStx_815_); +lean_dec(v_rangeStx_814_); +return v_res_821_; +} +} +LEAN_EXPORT lean_object* l_List_mapTR_loop___at___00Lean_Meta_nativeEqTrue_spec__6(lean_object* v_a_822_, lean_object* v_a_823_){ +_start: +{ +if (lean_obj_tag(v_a_822_) == 0) +{ +lean_object* v___x_824_; +v___x_824_ = l_List_reverse___redArg(v_a_823_); +return v___x_824_; +} +else +{ +lean_object* v_head_825_; lean_object* v_tail_826_; lean_object* v___x_828_; uint8_t v_isShared_829_; uint8_t v_isSharedCheck_835_; +v_head_825_ = lean_ctor_get(v_a_822_, 0); +v_tail_826_ = lean_ctor_get(v_a_822_, 1); +v_isSharedCheck_835_ = !lean_is_exclusive(v_a_822_); +if (v_isSharedCheck_835_ == 0) +{ +v___x_828_ = v_a_822_; +v_isShared_829_ = v_isSharedCheck_835_; +goto v_resetjp_827_; +} +else +{ +lean_inc(v_tail_826_); +lean_inc(v_head_825_); +lean_dec(v_a_822_); +v___x_828_ = lean_box(0); +v_isShared_829_ = v_isSharedCheck_835_; +goto v_resetjp_827_; +} +v_resetjp_827_: +{ +lean_object* v___x_830_; lean_object* v___x_832_; +v___x_830_ = l_Lean_mkLevelParam(v_head_825_); +if (v_isShared_829_ == 0) +{ +lean_ctor_set(v___x_828_, 1, v_a_823_); +lean_ctor_set(v___x_828_, 0, v___x_830_); +v___x_832_ = v___x_828_; +goto v_reusejp_831_; +} +else +{ +lean_object* v_reuseFailAlloc_834_; +v_reuseFailAlloc_834_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_834_, 0, v___x_830_); +lean_ctor_set(v_reuseFailAlloc_834_, 1, v_a_823_); +v___x_832_ = v_reuseFailAlloc_834_; +goto v_reusejp_831_; +} +v_reusejp_831_: +{ +v_a_822_ = v_tail_826_; +v_a_823_ = v___x_832_; goto _start; } } } } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(lean_object* v_env_742_, lean_object* v___y_743_, lean_object* v___y_744_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(lean_object* v_env_836_, lean_object* v___y_837_, lean_object* v___y_838_){ _start: { -lean_object* v___x_746_; lean_object* v_nextMacroScope_747_; lean_object* v_ngen_748_; lean_object* v_auxDeclNGen_749_; lean_object* v_traceState_750_; lean_object* v_messages_751_; lean_object* v_infoState_752_; lean_object* v_snapshotTasks_753_; lean_object* v___x_755_; uint8_t v_isShared_756_; uint8_t v_isSharedCheck_779_; -v___x_746_ = lean_st_ref_take(v___y_744_); -v_nextMacroScope_747_ = lean_ctor_get(v___x_746_, 1); -v_ngen_748_ = lean_ctor_get(v___x_746_, 2); -v_auxDeclNGen_749_ = lean_ctor_get(v___x_746_, 3); -v_traceState_750_ = lean_ctor_get(v___x_746_, 4); -v_messages_751_ = lean_ctor_get(v___x_746_, 6); -v_infoState_752_ = lean_ctor_get(v___x_746_, 7); -v_snapshotTasks_753_ = lean_ctor_get(v___x_746_, 8); -v_isSharedCheck_779_ = !lean_is_exclusive(v___x_746_); -if (v_isSharedCheck_779_ == 0) +lean_object* v___x_840_; lean_object* v_nextMacroScope_841_; lean_object* v_ngen_842_; lean_object* v_auxDeclNGen_843_; lean_object* v_traceState_844_; lean_object* v_messages_845_; lean_object* v_infoState_846_; lean_object* v_snapshotTasks_847_; lean_object* v___x_849_; uint8_t v_isShared_850_; uint8_t v_isSharedCheck_873_; +v___x_840_ = lean_st_ref_take(v___y_838_); +v_nextMacroScope_841_ = lean_ctor_get(v___x_840_, 1); +v_ngen_842_ = lean_ctor_get(v___x_840_, 2); +v_auxDeclNGen_843_ = lean_ctor_get(v___x_840_, 3); +v_traceState_844_ = lean_ctor_get(v___x_840_, 4); +v_messages_845_ = lean_ctor_get(v___x_840_, 6); +v_infoState_846_ = lean_ctor_get(v___x_840_, 7); +v_snapshotTasks_847_ = lean_ctor_get(v___x_840_, 8); +v_isSharedCheck_873_ = !lean_is_exclusive(v___x_840_); +if (v_isSharedCheck_873_ == 0) { -lean_object* v_unused_780_; lean_object* v_unused_781_; -v_unused_780_ = lean_ctor_get(v___x_746_, 5); -lean_dec(v_unused_780_); -v_unused_781_ = lean_ctor_get(v___x_746_, 0); -lean_dec(v_unused_781_); -v___x_755_ = v___x_746_; -v_isShared_756_ = v_isSharedCheck_779_; -goto v_resetjp_754_; +lean_object* v_unused_874_; lean_object* v_unused_875_; +v_unused_874_ = lean_ctor_get(v___x_840_, 5); +lean_dec(v_unused_874_); +v_unused_875_ = lean_ctor_get(v___x_840_, 0); +lean_dec(v_unused_875_); +v___x_849_ = v___x_840_; +v_isShared_850_ = v_isSharedCheck_873_; +goto v_resetjp_848_; } else { -lean_inc(v_snapshotTasks_753_); -lean_inc(v_infoState_752_); -lean_inc(v_messages_751_); -lean_inc(v_traceState_750_); -lean_inc(v_auxDeclNGen_749_); -lean_inc(v_ngen_748_); -lean_inc(v_nextMacroScope_747_); -lean_dec(v___x_746_); -v___x_755_ = lean_box(0); -v_isShared_756_ = v_isSharedCheck_779_; -goto v_resetjp_754_; +lean_inc(v_snapshotTasks_847_); +lean_inc(v_infoState_846_); +lean_inc(v_messages_845_); +lean_inc(v_traceState_844_); +lean_inc(v_auxDeclNGen_843_); +lean_inc(v_ngen_842_); +lean_inc(v_nextMacroScope_841_); +lean_dec(v___x_840_); +v___x_849_ = lean_box(0); +v_isShared_850_ = v_isSharedCheck_873_; +goto v_resetjp_848_; } -v_resetjp_754_: +v_resetjp_848_: { -lean_object* v___x_757_; lean_object* v___x_759_; -v___x_757_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); -if (v_isShared_756_ == 0) +lean_object* v___x_851_; lean_object* v___x_853_; +v___x_851_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__11, &l_Lean_Meta_nativeEqTrue___lam__0___closed__11_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__11); +if (v_isShared_850_ == 0) { -lean_ctor_set(v___x_755_, 5, v___x_757_); -lean_ctor_set(v___x_755_, 0, v_env_742_); -v___x_759_ = v___x_755_; -goto v_reusejp_758_; +lean_ctor_set(v___x_849_, 5, v___x_851_); +lean_ctor_set(v___x_849_, 0, v_env_836_); +v___x_853_ = v___x_849_; +goto v_reusejp_852_; } else { -lean_object* v_reuseFailAlloc_778_; -v_reuseFailAlloc_778_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_778_, 0, v_env_742_); -lean_ctor_set(v_reuseFailAlloc_778_, 1, v_nextMacroScope_747_); -lean_ctor_set(v_reuseFailAlloc_778_, 2, v_ngen_748_); -lean_ctor_set(v_reuseFailAlloc_778_, 3, v_auxDeclNGen_749_); -lean_ctor_set(v_reuseFailAlloc_778_, 4, v_traceState_750_); -lean_ctor_set(v_reuseFailAlloc_778_, 5, v___x_757_); -lean_ctor_set(v_reuseFailAlloc_778_, 6, v_messages_751_); -lean_ctor_set(v_reuseFailAlloc_778_, 7, v_infoState_752_); -lean_ctor_set(v_reuseFailAlloc_778_, 8, v_snapshotTasks_753_); -v___x_759_ = v_reuseFailAlloc_778_; -goto v_reusejp_758_; +lean_object* v_reuseFailAlloc_872_; +v_reuseFailAlloc_872_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_872_, 0, v_env_836_); +lean_ctor_set(v_reuseFailAlloc_872_, 1, v_nextMacroScope_841_); +lean_ctor_set(v_reuseFailAlloc_872_, 2, v_ngen_842_); +lean_ctor_set(v_reuseFailAlloc_872_, 3, v_auxDeclNGen_843_); +lean_ctor_set(v_reuseFailAlloc_872_, 4, v_traceState_844_); +lean_ctor_set(v_reuseFailAlloc_872_, 5, v___x_851_); +lean_ctor_set(v_reuseFailAlloc_872_, 6, v_messages_845_); +lean_ctor_set(v_reuseFailAlloc_872_, 7, v_infoState_846_); +lean_ctor_set(v_reuseFailAlloc_872_, 8, v_snapshotTasks_847_); +v___x_853_ = v_reuseFailAlloc_872_; +goto v_reusejp_852_; } -v_reusejp_758_: +v_reusejp_852_: { -lean_object* v___x_760_; lean_object* v___x_761_; lean_object* v_mctx_762_; lean_object* v_zetaDeltaFVarIds_763_; lean_object* v_postponed_764_; lean_object* v_diag_765_; lean_object* v___x_767_; uint8_t v_isShared_768_; uint8_t v_isSharedCheck_776_; -v___x_760_ = lean_st_ref_set(v___y_744_, v___x_759_); -v___x_761_ = lean_st_ref_take(v___y_743_); -v_mctx_762_ = lean_ctor_get(v___x_761_, 0); -v_zetaDeltaFVarIds_763_ = lean_ctor_get(v___x_761_, 2); -v_postponed_764_ = lean_ctor_get(v___x_761_, 3); -v_diag_765_ = lean_ctor_get(v___x_761_, 4); -v_isSharedCheck_776_ = !lean_is_exclusive(v___x_761_); -if (v_isSharedCheck_776_ == 0) +lean_object* v___x_854_; lean_object* v___x_855_; lean_object* v_mctx_856_; lean_object* v_zetaDeltaFVarIds_857_; lean_object* v_postponed_858_; lean_object* v_diag_859_; lean_object* v___x_861_; uint8_t v_isShared_862_; uint8_t v_isSharedCheck_870_; +v___x_854_ = lean_st_ref_set(v___y_838_, v___x_853_); +v___x_855_ = lean_st_ref_take(v___y_837_); +v_mctx_856_ = lean_ctor_get(v___x_855_, 0); +v_zetaDeltaFVarIds_857_ = lean_ctor_get(v___x_855_, 2); +v_postponed_858_ = lean_ctor_get(v___x_855_, 3); +v_diag_859_ = lean_ctor_get(v___x_855_, 4); +v_isSharedCheck_870_ = !lean_is_exclusive(v___x_855_); +if (v_isSharedCheck_870_ == 0) { -lean_object* v_unused_777_; -v_unused_777_ = lean_ctor_get(v___x_761_, 1); -lean_dec(v_unused_777_); -v___x_767_ = v___x_761_; -v_isShared_768_ = v_isSharedCheck_776_; -goto v_resetjp_766_; +lean_object* v_unused_871_; +v_unused_871_ = lean_ctor_get(v___x_855_, 1); +lean_dec(v_unused_871_); +v___x_861_ = v___x_855_; +v_isShared_862_ = v_isSharedCheck_870_; +goto v_resetjp_860_; } else { -lean_inc(v_diag_765_); -lean_inc(v_postponed_764_); -lean_inc(v_zetaDeltaFVarIds_763_); -lean_inc(v_mctx_762_); -lean_dec(v___x_761_); -v___x_767_ = lean_box(0); -v_isShared_768_ = v_isSharedCheck_776_; -goto v_resetjp_766_; +lean_inc(v_diag_859_); +lean_inc(v_postponed_858_); +lean_inc(v_zetaDeltaFVarIds_857_); +lean_inc(v_mctx_856_); +lean_dec(v___x_855_); +v___x_861_ = lean_box(0); +v_isShared_862_ = v_isSharedCheck_870_; +goto v_resetjp_860_; } -v_resetjp_766_: +v_resetjp_860_: { -lean_object* v___x_769_; lean_object* v___x_771_; -v___x_769_ = lean_obj_once(&l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0, &l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0_once, _init_l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg___closed__0); -if (v_isShared_768_ == 0) +lean_object* v___x_863_; lean_object* v___x_865_; +v___x_863_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__12, &l_Lean_Meta_nativeEqTrue___lam__0___closed__12_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__12); +if (v_isShared_862_ == 0) { -lean_ctor_set(v___x_767_, 1, v___x_769_); -v___x_771_ = v___x_767_; -goto v_reusejp_770_; +lean_ctor_set(v___x_861_, 1, v___x_863_); +v___x_865_ = v___x_861_; +goto v_reusejp_864_; } else { -lean_object* v_reuseFailAlloc_775_; -v_reuseFailAlloc_775_ = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(v_reuseFailAlloc_775_, 0, v_mctx_762_); -lean_ctor_set(v_reuseFailAlloc_775_, 1, v___x_769_); -lean_ctor_set(v_reuseFailAlloc_775_, 2, v_zetaDeltaFVarIds_763_); -lean_ctor_set(v_reuseFailAlloc_775_, 3, v_postponed_764_); -lean_ctor_set(v_reuseFailAlloc_775_, 4, v_diag_765_); -v___x_771_ = v_reuseFailAlloc_775_; -goto v_reusejp_770_; +lean_object* v_reuseFailAlloc_869_; +v_reuseFailAlloc_869_ = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(v_reuseFailAlloc_869_, 0, v_mctx_856_); +lean_ctor_set(v_reuseFailAlloc_869_, 1, v___x_863_); +lean_ctor_set(v_reuseFailAlloc_869_, 2, v_zetaDeltaFVarIds_857_); +lean_ctor_set(v_reuseFailAlloc_869_, 3, v_postponed_858_); +lean_ctor_set(v_reuseFailAlloc_869_, 4, v_diag_859_); +v___x_865_ = v_reuseFailAlloc_869_; +goto v_reusejp_864_; } -v_reusejp_770_: +v_reusejp_864_: { -lean_object* v___x_772_; lean_object* v___x_773_; lean_object* v___x_774_; -v___x_772_ = lean_st_ref_set(v___y_743_, v___x_771_); -v___x_773_ = lean_box(0); -v___x_774_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_774_, 0, v___x_773_); -return v___x_774_; +lean_object* v___x_866_; lean_object* v___x_867_; lean_object* v___x_868_; +v___x_866_ = lean_st_ref_set(v___y_837_, v___x_865_); +v___x_867_ = lean_box(0); +v___x_868_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_868_, 0, v___x_867_); +return v___x_868_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg___boxed(lean_object* v_env_782_, lean_object* v___y_783_, lean_object* v___y_784_, lean_object* v___y_785_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg___boxed(lean_object* v_env_876_, lean_object* v___y_877_, lean_object* v___y_878_, lean_object* v___y_879_){ _start: { -lean_object* v_res_786_; -v_res_786_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_782_, v___y_783_, v___y_784_); -lean_dec(v___y_784_); -lean_dec(v___y_783_); -return v_res_786_; +lean_object* v_res_880_; +v_res_880_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_876_, v___y_877_, v___y_878_); +lean_dec(v___y_878_); +lean_dec(v___y_877_); +return v_res_880_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(lean_object* v_env_787_, lean_object* v_x_788_, lean_object* v___y_789_, lean_object* v___y_790_, lean_object* v___y_791_, lean_object* v___y_792_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(lean_object* v_env_881_, lean_object* v_x_882_, lean_object* v___y_883_, lean_object* v___y_884_, lean_object* v___y_885_, lean_object* v___y_886_){ _start: { -lean_object* v___x_794_; lean_object* v_env_795_; lean_object* v_a_797_; lean_object* v___x_807_; lean_object* v___x_808_; -v___x_794_ = lean_st_ref_get(v___y_792_); -v_env_795_ = lean_ctor_get(v___x_794_, 0); -lean_inc_ref(v_env_795_); -lean_dec(v___x_794_); -v___x_807_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_787_, v___y_790_, v___y_792_); -lean_dec_ref(v___x_807_); -lean_inc(v___y_792_); -lean_inc(v___y_790_); -v___x_808_ = lean_apply_5(v_x_788_, v___y_789_, v___y_790_, v___y_791_, v___y_792_, lean_box(0)); -if (lean_obj_tag(v___x_808_) == 0) +lean_object* v___x_888_; lean_object* v_env_889_; lean_object* v_a_891_; lean_object* v___x_901_; lean_object* v___x_902_; +v___x_888_ = lean_st_ref_get(v___y_886_); +v_env_889_ = lean_ctor_get(v___x_888_, 0); +lean_inc_ref(v_env_889_); +lean_dec(v___x_888_); +v___x_901_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_881_, v___y_884_, v___y_886_); +lean_dec_ref(v___x_901_); +lean_inc(v___y_886_); +lean_inc(v___y_884_); +v___x_902_ = lean_apply_5(v_x_882_, v___y_883_, v___y_884_, v___y_885_, v___y_886_, lean_box(0)); +if (lean_obj_tag(v___x_902_) == 0) { -lean_object* v_a_809_; lean_object* v___x_810_; lean_object* v___x_812_; uint8_t v_isShared_813_; uint8_t v_isSharedCheck_817_; -v_a_809_ = lean_ctor_get(v___x_808_, 0); -lean_inc(v_a_809_); -lean_dec_ref(v___x_808_); -v___x_810_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_795_, v___y_790_, v___y_792_); -lean_dec(v___y_792_); -lean_dec(v___y_790_); -v_isSharedCheck_817_ = !lean_is_exclusive(v___x_810_); -if (v_isSharedCheck_817_ == 0) +lean_object* v_a_903_; lean_object* v___x_904_; lean_object* v___x_906_; uint8_t v_isShared_907_; uint8_t v_isSharedCheck_911_; +v_a_903_ = lean_ctor_get(v___x_902_, 0); +lean_inc(v_a_903_); +lean_dec_ref(v___x_902_); +v___x_904_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_889_, v___y_884_, v___y_886_); +lean_dec(v___y_886_); +lean_dec(v___y_884_); +v_isSharedCheck_911_ = !lean_is_exclusive(v___x_904_); +if (v_isSharedCheck_911_ == 0) { -lean_object* v_unused_818_; -v_unused_818_ = lean_ctor_get(v___x_810_, 0); -lean_dec(v_unused_818_); -v___x_812_ = v___x_810_; -v_isShared_813_ = v_isSharedCheck_817_; -goto v_resetjp_811_; +lean_object* v_unused_912_; +v_unused_912_ = lean_ctor_get(v___x_904_, 0); +lean_dec(v_unused_912_); +v___x_906_ = v___x_904_; +v_isShared_907_ = v_isSharedCheck_911_; +goto v_resetjp_905_; } else { -lean_dec(v___x_810_); -v___x_812_ = lean_box(0); -v_isShared_813_ = v_isSharedCheck_817_; -goto v_resetjp_811_; +lean_dec(v___x_904_); +v___x_906_ = lean_box(0); +v_isShared_907_ = v_isSharedCheck_911_; +goto v_resetjp_905_; } -v_resetjp_811_: +v_resetjp_905_: { -lean_object* v___x_815_; -if (v_isShared_813_ == 0) +lean_object* v___x_909_; +if (v_isShared_907_ == 0) { -lean_ctor_set(v___x_812_, 0, v_a_809_); -v___x_815_ = v___x_812_; -goto v_reusejp_814_; +lean_ctor_set(v___x_906_, 0, v_a_903_); +v___x_909_ = v___x_906_; +goto v_reusejp_908_; } else { -lean_object* v_reuseFailAlloc_816_; -v_reuseFailAlloc_816_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_816_, 0, v_a_809_); -v___x_815_ = v_reuseFailAlloc_816_; -goto v_reusejp_814_; +lean_object* v_reuseFailAlloc_910_; +v_reuseFailAlloc_910_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_910_, 0, v_a_903_); +v___x_909_ = v_reuseFailAlloc_910_; +goto v_reusejp_908_; } -v_reusejp_814_: +v_reusejp_908_: { -return v___x_815_; +return v___x_909_; } } } else { -lean_object* v_a_819_; -v_a_819_ = lean_ctor_get(v___x_808_, 0); -lean_inc(v_a_819_); -lean_dec_ref(v___x_808_); -v_a_797_ = v_a_819_; -goto v___jp_796_; +lean_object* v_a_913_; +v_a_913_ = lean_ctor_get(v___x_902_, 0); +lean_inc(v_a_913_); +lean_dec_ref(v___x_902_); +v_a_891_ = v_a_913_; +goto v___jp_890_; } -v___jp_796_: +v___jp_890_: { -lean_object* v___x_798_; lean_object* v___x_800_; uint8_t v_isShared_801_; uint8_t v_isSharedCheck_805_; -v___x_798_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_795_, v___y_790_, v___y_792_); -lean_dec(v___y_792_); -lean_dec(v___y_790_); -v_isSharedCheck_805_ = !lean_is_exclusive(v___x_798_); -if (v_isSharedCheck_805_ == 0) +lean_object* v___x_892_; lean_object* v___x_894_; uint8_t v_isShared_895_; uint8_t v_isSharedCheck_899_; +v___x_892_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_889_, v___y_884_, v___y_886_); +lean_dec(v___y_886_); +lean_dec(v___y_884_); +v_isSharedCheck_899_ = !lean_is_exclusive(v___x_892_); +if (v_isSharedCheck_899_ == 0) { -lean_object* v_unused_806_; -v_unused_806_ = lean_ctor_get(v___x_798_, 0); -lean_dec(v_unused_806_); -v___x_800_ = v___x_798_; -v_isShared_801_ = v_isSharedCheck_805_; -goto v_resetjp_799_; +lean_object* v_unused_900_; +v_unused_900_ = lean_ctor_get(v___x_892_, 0); +lean_dec(v_unused_900_); +v___x_894_ = v___x_892_; +v_isShared_895_ = v_isSharedCheck_899_; +goto v_resetjp_893_; } else { -lean_dec(v___x_798_); -v___x_800_ = lean_box(0); -v_isShared_801_ = v_isSharedCheck_805_; -goto v_resetjp_799_; +lean_dec(v___x_892_); +v___x_894_ = lean_box(0); +v_isShared_895_ = v_isSharedCheck_899_; +goto v_resetjp_893_; } -v_resetjp_799_: +v_resetjp_893_: { -lean_object* v___x_803_; -if (v_isShared_801_ == 0) +lean_object* v___x_897_; +if (v_isShared_895_ == 0) { -lean_ctor_set_tag(v___x_800_, 1); -lean_ctor_set(v___x_800_, 0, v_a_797_); -v___x_803_ = v___x_800_; -goto v_reusejp_802_; +lean_ctor_set_tag(v___x_894_, 1); +lean_ctor_set(v___x_894_, 0, v_a_891_); +v___x_897_ = v___x_894_; +goto v_reusejp_896_; } else { -lean_object* v_reuseFailAlloc_804_; -v_reuseFailAlloc_804_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_804_, 0, v_a_797_); -v___x_803_ = v_reuseFailAlloc_804_; -goto v_reusejp_802_; +lean_object* v_reuseFailAlloc_898_; +v_reuseFailAlloc_898_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_898_, 0, v_a_891_); +v___x_897_ = v_reuseFailAlloc_898_; +goto v_reusejp_896_; } -v_reusejp_802_: +v_reusejp_896_: { -return v___x_803_; +return v___x_897_; } } } } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg___boxed(lean_object* v_env_820_, lean_object* v_x_821_, lean_object* v___y_822_, lean_object* v___y_823_, lean_object* v___y_824_, lean_object* v___y_825_, lean_object* v___y_826_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg___boxed(lean_object* v_env_914_, lean_object* v_x_915_, lean_object* v___y_916_, lean_object* v___y_917_, lean_object* v___y_918_, lean_object* v___y_919_, lean_object* v___y_920_){ _start: { -lean_object* v_res_827_; -v_res_827_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v_env_820_, v_x_821_, v___y_822_, v___y_823_, v___y_824_, v___y_825_); -return v_res_827_; +lean_object* v_res_921_; +v_res_921_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v_env_914_, v_x_915_, v___y_916_, v___y_917_, v___y_918_, v___y_919_); +return v_res_921_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__0(void){ _start: { -lean_object* v___x_828_; lean_object* v___x_829_; lean_object* v___x_830_; -v___x_828_ = lean_box(0); -v___x_829_ = lean_unsigned_to_nat(16u); -v___x_830_ = lean_mk_array(v___x_829_, v___x_828_); -return v___x_830_; +lean_object* v___x_922_; lean_object* v___x_923_; lean_object* v___x_924_; +v___x_922_ = lean_box(0); +v___x_923_ = lean_unsigned_to_nat(16u); +v___x_924_ = lean_mk_array(v___x_923_, v___x_922_); +return v___x_924_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__1(void){ _start: { -lean_object* v___x_831_; lean_object* v___x_832_; lean_object* v___x_833_; -v___x_831_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__0, &l_Lean_Meta_nativeEqTrue___closed__0_once, _init_l_Lean_Meta_nativeEqTrue___closed__0); -v___x_832_ = lean_unsigned_to_nat(0u); -v___x_833_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_833_, 0, v___x_832_); -lean_ctor_set(v___x_833_, 1, v___x_831_); -return v___x_833_; +lean_object* v___x_925_; lean_object* v___x_926_; lean_object* v___x_927_; +v___x_925_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__0, &l_Lean_Meta_nativeEqTrue___closed__0_once, _init_l_Lean_Meta_nativeEqTrue___closed__0); +v___x_926_ = lean_unsigned_to_nat(0u); +v___x_927_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_927_, 0, v___x_926_); +lean_ctor_set(v___x_927_, 1, v___x_925_); +return v___x_927_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__3(void){ _start: { -lean_object* v___x_836_; lean_object* v___x_837_; lean_object* v___x_838_; -v___x_836_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__2)); -v___x_837_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__1, &l_Lean_Meta_nativeEqTrue___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___closed__1); -v___x_838_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_838_, 0, v___x_837_); -lean_ctor_set(v___x_838_, 1, v___x_837_); -lean_ctor_set(v___x_838_, 2, v___x_836_); -return v___x_838_; +lean_object* v___x_930_; lean_object* v___x_931_; lean_object* v___x_932_; +v___x_930_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__2)); +v___x_931_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__1, &l_Lean_Meta_nativeEqTrue___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___closed__1); +v___x_932_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_932_, 0, v___x_931_); +lean_ctor_set(v___x_932_, 1, v___x_931_); +lean_ctor_set(v___x_932_, 2, v___x_930_); +return v___x_932_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__12(void){ _start: { -lean_object* v___x_851_; lean_object* v___x_852_; -v___x_851_ = lean_unsigned_to_nat(1u); -v___x_852_ = l_Lean_Level_ofNat(v___x_851_); -return v___x_852_; +lean_object* v___x_945_; lean_object* v___x_946_; +v___x_945_ = lean_unsigned_to_nat(1u); +v___x_946_ = l_Lean_Level_ofNat(v___x_945_); +return v___x_946_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__13(void){ _start: { -lean_object* v___x_853_; lean_object* v___x_854_; lean_object* v___x_855_; -v___x_853_ = lean_box(0); -v___x_854_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__12, &l_Lean_Meta_nativeEqTrue___closed__12_once, _init_l_Lean_Meta_nativeEqTrue___closed__12); -v___x_855_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v___x_855_, 0, v___x_854_); -lean_ctor_set(v___x_855_, 1, v___x_853_); -return v___x_855_; +lean_object* v___x_947_; lean_object* v___x_948_; lean_object* v___x_949_; +v___x_947_ = lean_box(0); +v___x_948_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__12, &l_Lean_Meta_nativeEqTrue___closed__12_once, _init_l_Lean_Meta_nativeEqTrue___closed__12); +v___x_949_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v___x_949_, 0, v___x_948_); +lean_ctor_set(v___x_949_, 1, v___x_947_); +return v___x_949_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__14(void){ _start: { -lean_object* v___x_856_; lean_object* v___x_857_; lean_object* v___x_858_; -v___x_856_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__13, &l_Lean_Meta_nativeEqTrue___closed__13_once, _init_l_Lean_Meta_nativeEqTrue___closed__13); -v___x_857_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__11)); -v___x_858_ = l_Lean_mkConst(v___x_857_, v___x_856_); -return v___x_858_; +lean_object* v___x_950_; lean_object* v___x_951_; lean_object* v___x_952_; +v___x_950_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__13, &l_Lean_Meta_nativeEqTrue___closed__13_once, _init_l_Lean_Meta_nativeEqTrue___closed__13); +v___x_951_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__11)); +v___x_952_ = l_Lean_mkConst(v___x_951_, v___x_950_); +return v___x_952_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__15(void){ _start: { -lean_object* v___x_859_; lean_object* v___x_860_; lean_object* v___x_861_; -v___x_859_ = lean_box(0); -v___x_860_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___lam__0___closed__7)); -v___x_861_ = l_Lean_mkConst(v___x_860_, v___x_859_); -return v___x_861_; +lean_object* v___x_953_; lean_object* v___x_954_; lean_object* v___x_955_; +v___x_953_ = lean_box(0); +v___x_954_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___lam__0___closed__7)); +v___x_955_ = l_Lean_mkConst(v___x_954_, v___x_953_); +return v___x_955_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__18(void){ _start: { -lean_object* v___x_866_; lean_object* v___x_867_; lean_object* v___x_868_; -v___x_866_ = lean_box(0); -v___x_867_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__17)); -v___x_868_ = l_Lean_mkConst(v___x_867_, v___x_866_); -return v___x_868_; +lean_object* v___x_960_; lean_object* v___x_961_; lean_object* v___x_962_; +v___x_960_ = lean_box(0); +v___x_961_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__17)); +v___x_962_ = l_Lean_mkConst(v___x_961_, v___x_960_); +return v___x_962_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__20(void){ _start: { -lean_object* v___x_870_; lean_object* v___x_871_; -v___x_870_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__19)); -v___x_871_ = l_Lean_stringToMessageData(v___x_870_); -return v___x_871_; +lean_object* v___x_964_; lean_object* v___x_965_; +v___x_964_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__19)); +v___x_965_ = l_Lean_stringToMessageData(v___x_964_); +return v___x_965_; } } static lean_object* _init_l_Lean_Meta_nativeEqTrue___closed__22(void){ _start: { -lean_object* v___x_873_; lean_object* v___x_874_; -v___x_873_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__21)); -v___x_874_ = l_Lean_stringToMessageData(v___x_873_); -return v___x_874_; +lean_object* v___x_967_; lean_object* v___x_968_; +v___x_967_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__21)); +v___x_968_ = l_Lean_stringToMessageData(v___x_967_); +return v___x_968_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue(lean_object* v_tacticName_875_, lean_object* v_e_876_, lean_object* v_axiomDeclRange_x3f_877_, lean_object* v_a_878_, lean_object* v_a_879_, lean_object* v_a_880_, lean_object* v_a_881_){ +LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue(lean_object* v_tacticName_969_, lean_object* v_e_970_, lean_object* v_axiomDeclRange_x3f_971_, lean_object* v_a_972_, lean_object* v_a_973_, lean_object* v_a_974_, lean_object* v_a_975_){ _start: { -lean_object* v___y_884_; lean_object* v___y_885_; lean_object* v___x_891_; lean_object* v_a_892_; lean_object* v___y_894_; lean_object* v___y_895_; lean_object* v___y_896_; lean_object* v___y_897_; lean_object* v___y_977_; lean_object* v___y_978_; lean_object* v___y_979_; lean_object* v___y_980_; uint8_t v___x_998_; -v___x_891_ = l_Lean_instantiateMVars___at___00Lean_Meta_nativeEqTrue_spec__0___redArg(v_e_876_, v_a_879_); -v_a_892_ = lean_ctor_get(v___x_891_, 0); -lean_inc(v_a_892_); -lean_dec_ref(v___x_891_); -v___x_998_ = l_Lean_Expr_hasFVar(v_a_892_); -if (v___x_998_ == 0) +lean_object* v___y_978_; lean_object* v___y_979_; lean_object* v___x_985_; lean_object* v_a_986_; lean_object* v___y_988_; lean_object* v___y_989_; lean_object* v___y_990_; lean_object* v___y_991_; lean_object* v___y_1071_; lean_object* v___y_1072_; lean_object* v___y_1073_; lean_object* v___y_1074_; uint8_t v___x_1092_; +v___x_985_ = l_Lean_instantiateMVars___at___00Lean_Meta_nativeEqTrue_spec__0___redArg(v_e_970_, v_a_973_); +v_a_986_ = lean_ctor_get(v___x_985_, 0); +lean_inc(v_a_986_); +lean_dec_ref(v___x_985_); +v___x_1092_ = l_Lean_Expr_hasFVar(v_a_986_); +if (v___x_1092_ == 0) { -v___y_977_ = v_a_878_; -v___y_978_ = v_a_879_; -v___y_979_ = v_a_880_; -v___y_980_ = v_a_881_; -goto v___jp_976_; +v___y_1071_ = v_a_972_; +v___y_1072_ = v_a_973_; +v___y_1073_ = v_a_974_; +v___y_1074_ = v_a_975_; +goto v___jp_1070_; } else { -lean_object* v___x_999_; lean_object* v___x_1000_; lean_object* v___x_1001_; lean_object* v___x_1002_; lean_object* v___x_1003_; lean_object* v___x_1004_; lean_object* v___x_1005_; lean_object* v___x_1006_; lean_object* v_a_1007_; lean_object* v___x_1009_; uint8_t v_isShared_1010_; uint8_t v_isSharedCheck_1014_; -v___x_999_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); -v___x_1000_ = l_Lean_MessageData_ofName(v_tacticName_875_); -v___x_1001_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1001_, 0, v___x_999_); -lean_ctor_set(v___x_1001_, 1, v___x_1000_); -v___x_1002_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__22, &l_Lean_Meta_nativeEqTrue___closed__22_once, _init_l_Lean_Meta_nativeEqTrue___closed__22); -v___x_1003_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1003_, 0, v___x_1001_); -lean_ctor_set(v___x_1003_, 1, v___x_1002_); -v___x_1004_ = l_Lean_indentExpr(v_a_892_); -v___x_1005_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1005_, 0, v___x_1003_); -lean_ctor_set(v___x_1005_, 1, v___x_1004_); -v___x_1006_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_1005_, v_a_878_, v_a_879_, v_a_880_, v_a_881_); -lean_dec(v_a_881_); -lean_dec_ref(v_a_880_); -lean_dec(v_a_879_); -lean_dec_ref(v_a_878_); -v_a_1007_ = lean_ctor_get(v___x_1006_, 0); -v_isSharedCheck_1014_ = !lean_is_exclusive(v___x_1006_); -if (v_isSharedCheck_1014_ == 0) +lean_object* v___x_1093_; lean_object* v___x_1094_; lean_object* v___x_1095_; lean_object* v___x_1096_; lean_object* v___x_1097_; lean_object* v___x_1098_; lean_object* v___x_1099_; lean_object* v___x_1100_; lean_object* v_a_1101_; lean_object* v___x_1103_; uint8_t v_isShared_1104_; uint8_t v_isSharedCheck_1108_; +v___x_1093_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); +v___x_1094_ = l_Lean_MessageData_ofName(v_tacticName_969_); +v___x_1095_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1095_, 0, v___x_1093_); +lean_ctor_set(v___x_1095_, 1, v___x_1094_); +v___x_1096_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__22, &l_Lean_Meta_nativeEqTrue___closed__22_once, _init_l_Lean_Meta_nativeEqTrue___closed__22); +v___x_1097_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1097_, 0, v___x_1095_); +lean_ctor_set(v___x_1097_, 1, v___x_1096_); +v___x_1098_ = l_Lean_indentExpr(v_a_986_); +v___x_1099_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1099_, 0, v___x_1097_); +lean_ctor_set(v___x_1099_, 1, v___x_1098_); +v___x_1100_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_1099_, v_a_972_, v_a_973_, v_a_974_, v_a_975_); +lean_dec(v_a_975_); +lean_dec_ref(v_a_974_); +lean_dec(v_a_973_); +lean_dec_ref(v_a_972_); +v_a_1101_ = lean_ctor_get(v___x_1100_, 0); +v_isSharedCheck_1108_ = !lean_is_exclusive(v___x_1100_); +if (v_isSharedCheck_1108_ == 0) { -v___x_1009_ = v___x_1006_; -v_isShared_1010_ = v_isSharedCheck_1014_; -goto v_resetjp_1008_; +v___x_1103_ = v___x_1100_; +v_isShared_1104_ = v_isSharedCheck_1108_; +goto v_resetjp_1102_; } else { -lean_inc(v_a_1007_); -lean_dec(v___x_1006_); -v___x_1009_ = lean_box(0); -v_isShared_1010_ = v_isSharedCheck_1014_; -goto v_resetjp_1008_; +lean_inc(v_a_1101_); +lean_dec(v___x_1100_); +v___x_1103_ = lean_box(0); +v_isShared_1104_ = v_isSharedCheck_1108_; +goto v_resetjp_1102_; } -v_resetjp_1008_: +v_resetjp_1102_: { -lean_object* v___x_1012_; -if (v_isShared_1010_ == 0) +lean_object* v___x_1106_; +if (v_isShared_1104_ == 0) { -v___x_1012_ = v___x_1009_; -goto v_reusejp_1011_; +v___x_1106_ = v___x_1103_; +goto v_reusejp_1105_; } else { -lean_object* v_reuseFailAlloc_1013_; -v_reuseFailAlloc_1013_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1013_, 0, v_a_1007_); -v___x_1012_ = v_reuseFailAlloc_1013_; -goto v_reusejp_1011_; +lean_object* v_reuseFailAlloc_1107_; +v_reuseFailAlloc_1107_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1107_, 0, v_a_1101_); +v___x_1106_ = v_reuseFailAlloc_1107_; +goto v_reusejp_1105_; } -v_reusejp_1011_: +v_reusejp_1105_: { -return v___x_1012_; +return v___x_1106_; } } } -v___jp_883_: +v___jp_977_: { -lean_object* v___x_886_; lean_object* v___x_887_; lean_object* v___x_888_; lean_object* v___x_889_; lean_object* v___x_890_; -v___x_886_ = lean_box(0); -v___x_887_ = l_List_mapTR_loop___at___00Lean_Meta_nativeEqTrue_spec__6(v___y_885_, v___x_886_); -v___x_888_ = l_Lean_mkConst(v___y_884_, v___x_887_); -v___x_889_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_889_, 0, v___x_888_); -v___x_890_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_890_, 0, v___x_889_); -return v___x_890_; +lean_object* v___x_980_; lean_object* v___x_981_; lean_object* v___x_982_; lean_object* v___x_983_; lean_object* v___x_984_; +v___x_980_ = lean_box(0); +v___x_981_ = l_List_mapTR_loop___at___00Lean_Meta_nativeEqTrue_spec__6(v___y_978_, v___x_980_); +v___x_982_ = l_Lean_mkConst(v___y_979_, v___x_981_); +v___x_983_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_983_, 0, v___x_982_); +v___x_984_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_984_, 0, v___x_983_); +return v___x_984_; } -v___jp_893_: +v___jp_987_: { -lean_object* v___x_898_; lean_object* v___x_899_; lean_object* v___x_900_; lean_object* v_params_901_; lean_object* v___x_903_; uint8_t v_isShared_904_; uint8_t v_isSharedCheck_973_; -v___x_898_ = lean_st_ref_get(v___y_897_); -v___x_899_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__3, &l_Lean_Meta_nativeEqTrue___closed__3_once, _init_l_Lean_Meta_nativeEqTrue___closed__3); -lean_inc(v_a_892_); -v___x_900_ = l_Lean_collectLevelParams(v___x_899_, v_a_892_); -v_params_901_ = lean_ctor_get(v___x_900_, 2); -v_isSharedCheck_973_ = !lean_is_exclusive(v___x_900_); -if (v_isSharedCheck_973_ == 0) +lean_object* v___x_992_; lean_object* v___x_993_; lean_object* v___x_994_; lean_object* v_params_995_; lean_object* v___x_997_; uint8_t v_isShared_998_; uint8_t v_isSharedCheck_1067_; +v___x_992_ = lean_st_ref_get(v___y_991_); +v___x_993_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__3, &l_Lean_Meta_nativeEqTrue___closed__3_once, _init_l_Lean_Meta_nativeEqTrue___closed__3); +lean_inc(v_a_986_); +v___x_994_ = l_Lean_collectLevelParams(v___x_993_, v_a_986_); +v_params_995_ = lean_ctor_get(v___x_994_, 2); +v_isSharedCheck_1067_ = !lean_is_exclusive(v___x_994_); +if (v_isSharedCheck_1067_ == 0) { -lean_object* v_unused_974_; lean_object* v_unused_975_; -v_unused_974_ = lean_ctor_get(v___x_900_, 1); -lean_dec(v_unused_974_); -v_unused_975_ = lean_ctor_get(v___x_900_, 0); -lean_dec(v_unused_975_); -v___x_903_ = v___x_900_; -v_isShared_904_ = v_isSharedCheck_973_; -goto v_resetjp_902_; +lean_object* v_unused_1068_; lean_object* v_unused_1069_; +v_unused_1068_ = lean_ctor_get(v___x_994_, 1); +lean_dec(v_unused_1068_); +v_unused_1069_ = lean_ctor_get(v___x_994_, 0); +lean_dec(v_unused_1069_); +v___x_997_ = v___x_994_; +v_isShared_998_ = v_isSharedCheck_1067_; +goto v_resetjp_996_; } else { -lean_inc(v_params_901_); -lean_dec(v___x_900_); -v___x_903_ = lean_box(0); -v_isShared_904_ = v_isSharedCheck_973_; -goto v_resetjp_902_; +lean_inc(v_params_995_); +lean_dec(v___x_994_); +v___x_997_ = lean_box(0); +v_isShared_998_ = v_isSharedCheck_1067_; +goto v_resetjp_996_; } -v_resetjp_902_: +v_resetjp_996_: { -lean_object* v_env_905_; lean_object* v___x_906_; lean_object* v___x_907_; lean_object* v___x_908_; lean_object* v___x_909_; lean_object* v___x_910_; lean_object* v___x_911_; lean_object* v___f_912_; lean_object* v___x_913_; lean_object* v___x_914_; -v_env_905_ = lean_ctor_get(v___x_898_, 0); -lean_inc_ref(v_env_905_); -lean_dec(v___x_898_); -v___x_906_ = lean_box(0); -v___x_907_ = lean_array_to_list(v_params_901_); -v___x_908_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__5)); -lean_inc(v_tacticName_875_); -v___x_909_ = l_Lean_Name_append(v___x_908_, v_tacticName_875_); -v___x_910_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__7)); -lean_inc(v___x_909_); -v___x_911_ = l_Lean_Name_append(v___x_909_, v___x_910_); -lean_inc(v_a_892_); -lean_inc(v___x_907_); -v___f_912_ = lean_alloc_closure((void*)(l_Lean_Meta_nativeEqTrue___lam__0___boxed), 10, 5); -lean_closure_set(v___f_912_, 0, v___x_911_); -lean_closure_set(v___f_912_, 1, v___x_907_); -lean_closure_set(v___f_912_, 2, v_tacticName_875_); -lean_closure_set(v___f_912_, 3, v___x_906_); -lean_closure_set(v___f_912_, 4, v_a_892_); -v___x_913_ = l_Lean_Environment_unlockAsync(v_env_905_); -lean_inc(v___y_897_); -lean_inc_ref(v___y_896_); -lean_inc(v___y_895_); -lean_inc_ref(v___y_894_); -v___x_914_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v___x_913_, v___f_912_, v___y_894_, v___y_895_, v___y_896_, v___y_897_); -if (lean_obj_tag(v___x_914_) == 0) +lean_object* v_env_999_; lean_object* v___x_1000_; lean_object* v___x_1001_; lean_object* v___x_1002_; lean_object* v___x_1003_; lean_object* v___x_1004_; lean_object* v___x_1005_; lean_object* v___f_1006_; lean_object* v___x_1007_; lean_object* v___x_1008_; +v_env_999_ = lean_ctor_get(v___x_992_, 0); +lean_inc_ref(v_env_999_); +lean_dec(v___x_992_); +v___x_1000_ = lean_box(0); +v___x_1001_ = lean_array_to_list(v_params_995_); +v___x_1002_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__5)); +lean_inc(v_tacticName_969_); +v___x_1003_ = l_Lean_Name_append(v___x_1002_, v_tacticName_969_); +v___x_1004_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__7)); +lean_inc(v___x_1003_); +v___x_1005_ = l_Lean_Name_append(v___x_1003_, v___x_1004_); +lean_inc(v_a_986_); +lean_inc(v___x_1001_); +v___f_1006_ = lean_alloc_closure((void*)(l_Lean_Meta_nativeEqTrue___lam__0___boxed), 10, 5); +lean_closure_set(v___f_1006_, 0, v___x_1005_); +lean_closure_set(v___f_1006_, 1, v___x_1001_); +lean_closure_set(v___f_1006_, 2, v___x_1000_); +lean_closure_set(v___f_1006_, 3, v_tacticName_969_); +lean_closure_set(v___f_1006_, 4, v_a_986_); +v___x_1007_ = l_Lean_Environment_unlockAsync(v_env_999_); +lean_inc(v___y_991_); +lean_inc_ref(v___y_990_); +lean_inc(v___y_989_); +lean_inc_ref(v___y_988_); +v___x_1008_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v___x_1007_, v___f_1006_, v___y_988_, v___y_989_, v___y_990_, v___y_991_); +if (lean_obj_tag(v___x_1008_) == 0) { -lean_object* v_a_915_; lean_object* v___x_917_; uint8_t v_isShared_918_; uint8_t v_isSharedCheck_964_; -v_a_915_ = lean_ctor_get(v___x_914_, 0); -v_isSharedCheck_964_ = !lean_is_exclusive(v___x_914_); -if (v_isSharedCheck_964_ == 0) +lean_object* v_a_1009_; lean_object* v___x_1011_; uint8_t v_isShared_1012_; uint8_t v_isSharedCheck_1058_; +v_a_1009_ = lean_ctor_get(v___x_1008_, 0); +v_isSharedCheck_1058_ = !lean_is_exclusive(v___x_1008_); +if (v_isSharedCheck_1058_ == 0) { -v___x_917_ = v___x_914_; -v_isShared_918_ = v_isSharedCheck_964_; -goto v_resetjp_916_; +v___x_1011_ = v___x_1008_; +v_isShared_1012_ = v_isSharedCheck_1058_; +goto v_resetjp_1010_; } else { -lean_inc(v_a_915_); -lean_dec(v___x_914_); -v___x_917_ = lean_box(0); -v_isShared_918_ = v_isSharedCheck_964_; -goto v_resetjp_916_; +lean_inc(v_a_1009_); +lean_dec(v___x_1008_); +v___x_1011_ = lean_box(0); +v_isShared_1012_ = v_isSharedCheck_1058_; +goto v_resetjp_1010_; } -v_resetjp_916_: +v_resetjp_1010_: { -uint8_t v___x_919_; -v___x_919_ = lean_unbox(v_a_915_); -lean_dec(v_a_915_); -if (v___x_919_ == 0) +uint8_t v___x_1013_; +v___x_1013_ = lean_unbox(v_a_1009_); +lean_dec(v_a_1009_); +if (v___x_1013_ == 0) { -lean_object* v___x_920_; lean_object* v___x_922_; -lean_dec(v___x_909_); -lean_dec(v___x_907_); -lean_del_object(v___x_903_); -lean_dec(v___y_897_); -lean_dec_ref(v___y_896_); -lean_dec(v___y_895_); -lean_dec_ref(v___y_894_); -lean_dec(v_a_892_); -v___x_920_ = lean_box(1); -if (v_isShared_918_ == 0) +lean_object* v___x_1014_; lean_object* v___x_1016_; +lean_dec(v___x_1003_); +lean_dec(v___x_1001_); +lean_del_object(v___x_997_); +lean_dec(v___y_991_); +lean_dec_ref(v___y_990_); +lean_dec(v___y_989_); +lean_dec_ref(v___y_988_); +lean_dec(v_a_986_); +v___x_1014_ = lean_box(1); +if (v_isShared_1012_ == 0) { -lean_ctor_set(v___x_917_, 0, v___x_920_); -v___x_922_ = v___x_917_; -goto v_reusejp_921_; +lean_ctor_set(v___x_1011_, 0, v___x_1014_); +v___x_1016_ = v___x_1011_; +goto v_reusejp_1015_; } else { -lean_object* v_reuseFailAlloc_923_; -v_reuseFailAlloc_923_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_923_, 0, v___x_920_); -v___x_922_ = v_reuseFailAlloc_923_; -goto v_reusejp_921_; +lean_object* v_reuseFailAlloc_1017_; +v_reuseFailAlloc_1017_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1017_, 0, v___x_1014_); +v___x_1016_ = v_reuseFailAlloc_1017_; +goto v_reusejp_1015_; } -v_reusejp_921_: +v_reusejp_1015_: { -return v___x_922_; +return v___x_1016_; } } else { -lean_object* v___x_924_; lean_object* v___x_925_; lean_object* v___x_926_; lean_object* v_a_927_; lean_object* v___x_929_; uint8_t v_isShared_930_; uint8_t v_isSharedCheck_963_; -lean_del_object(v___x_917_); -v___x_924_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__9)); -v___x_925_ = l_Lean_Name_append(v___x_909_, v___x_924_); -v___x_926_ = l_Lean_mkAuxDeclName___at___00Lean_Meta_nativeEqTrue_spec__1___redArg(v___x_925_, v___y_897_); -v_a_927_ = lean_ctor_get(v___x_926_, 0); -v_isSharedCheck_963_ = !lean_is_exclusive(v___x_926_); -if (v_isSharedCheck_963_ == 0) +lean_object* v___x_1018_; lean_object* v___x_1019_; lean_object* v___x_1020_; lean_object* v_a_1021_; lean_object* v___x_1023_; uint8_t v_isShared_1024_; uint8_t v_isSharedCheck_1057_; +lean_del_object(v___x_1011_); +v___x_1018_ = ((lean_object*)(l_Lean_Meta_nativeEqTrue___closed__9)); +v___x_1019_ = l_Lean_Name_append(v___x_1003_, v___x_1018_); +v___x_1020_ = l_Lean_mkAuxDeclName___at___00Lean_Meta_nativeEqTrue_spec__1___redArg(v___x_1019_, v___y_991_); +v_a_1021_ = lean_ctor_get(v___x_1020_, 0); +v_isSharedCheck_1057_ = !lean_is_exclusive(v___x_1020_); +if (v_isSharedCheck_1057_ == 0) { -v___x_929_ = v___x_926_; -v_isShared_930_ = v_isSharedCheck_963_; -goto v_resetjp_928_; +v___x_1023_ = v___x_1020_; +v_isShared_1024_ = v_isSharedCheck_1057_; +goto v_resetjp_1022_; } else { -lean_inc(v_a_927_); -lean_dec(v___x_926_); -v___x_929_ = lean_box(0); -v_isShared_930_ = v_isSharedCheck_963_; -goto v_resetjp_928_; +lean_inc(v_a_1021_); +lean_dec(v___x_1020_); +v___x_1023_ = lean_box(0); +v_isShared_1024_ = v_isSharedCheck_1057_; +goto v_resetjp_1022_; } -v_resetjp_928_: +v_resetjp_1022_: { -lean_object* v___x_931_; lean_object* v___x_932_; lean_object* v___x_933_; lean_object* v___x_934_; lean_object* v___x_936_; -v___x_931_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__14, &l_Lean_Meta_nativeEqTrue___closed__14_once, _init_l_Lean_Meta_nativeEqTrue___closed__14); -v___x_932_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__15, &l_Lean_Meta_nativeEqTrue___closed__15_once, _init_l_Lean_Meta_nativeEqTrue___closed__15); -v___x_933_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__18, &l_Lean_Meta_nativeEqTrue___closed__18_once, _init_l_Lean_Meta_nativeEqTrue___closed__18); -v___x_934_ = l_Lean_mkApp3(v___x_931_, v___x_932_, v_a_892_, v___x_933_); -lean_inc(v___x_907_); -lean_inc(v_a_927_); -if (v_isShared_904_ == 0) +lean_object* v___x_1025_; lean_object* v___x_1026_; lean_object* v___x_1027_; lean_object* v___x_1028_; lean_object* v___x_1030_; +v___x_1025_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__14, &l_Lean_Meta_nativeEqTrue___closed__14_once, _init_l_Lean_Meta_nativeEqTrue___closed__14); +v___x_1026_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__15, &l_Lean_Meta_nativeEqTrue___closed__15_once, _init_l_Lean_Meta_nativeEqTrue___closed__15); +v___x_1027_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__18, &l_Lean_Meta_nativeEqTrue___closed__18_once, _init_l_Lean_Meta_nativeEqTrue___closed__18); +v___x_1028_ = l_Lean_mkApp3(v___x_1025_, v___x_1026_, v_a_986_, v___x_1027_); +lean_inc(v___x_1001_); +lean_inc(v_a_1021_); +if (v_isShared_998_ == 0) { -lean_ctor_set(v___x_903_, 2, v___x_934_); -lean_ctor_set(v___x_903_, 1, v___x_907_); -lean_ctor_set(v___x_903_, 0, v_a_927_); -v___x_936_ = v___x_903_; -goto v_reusejp_935_; +lean_ctor_set(v___x_997_, 2, v___x_1028_); +lean_ctor_set(v___x_997_, 1, v___x_1001_); +lean_ctor_set(v___x_997_, 0, v_a_1021_); +v___x_1030_ = v___x_997_; +goto v_reusejp_1029_; } else { -lean_object* v_reuseFailAlloc_962_; -v_reuseFailAlloc_962_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v_reuseFailAlloc_962_, 0, v_a_927_); -lean_ctor_set(v_reuseFailAlloc_962_, 1, v___x_907_); -lean_ctor_set(v_reuseFailAlloc_962_, 2, v___x_934_); -v___x_936_ = v_reuseFailAlloc_962_; -goto v_reusejp_935_; +lean_object* v_reuseFailAlloc_1056_; +v_reuseFailAlloc_1056_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v_reuseFailAlloc_1056_, 0, v_a_1021_); +lean_ctor_set(v_reuseFailAlloc_1056_, 1, v___x_1001_); +lean_ctor_set(v_reuseFailAlloc_1056_, 2, v___x_1028_); +v___x_1030_ = v_reuseFailAlloc_1056_; +goto v_reusejp_1029_; } -v_reusejp_935_: +v_reusejp_1029_: { -uint8_t v___x_937_; lean_object* v___x_938_; lean_object* v___x_940_; -v___x_937_ = 0; -v___x_938_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v___x_938_, 0, v___x_936_); -lean_ctor_set_uint8(v___x_938_, sizeof(void*)*1, v___x_937_); -if (v_isShared_930_ == 0) +uint8_t v___x_1031_; lean_object* v___x_1032_; lean_object* v___x_1034_; +v___x_1031_ = 0; +v___x_1032_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v___x_1032_, 0, v___x_1030_); +lean_ctor_set_uint8(v___x_1032_, sizeof(void*)*1, v___x_1031_); +if (v_isShared_1024_ == 0) { -lean_ctor_set(v___x_929_, 0, v___x_938_); -v___x_940_ = v___x_929_; -goto v_reusejp_939_; +lean_ctor_set(v___x_1023_, 0, v___x_1032_); +v___x_1034_ = v___x_1023_; +goto v_reusejp_1033_; } else { -lean_object* v_reuseFailAlloc_961_; -v_reuseFailAlloc_961_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_961_, 0, v___x_938_); -v___x_940_ = v_reuseFailAlloc_961_; -goto v_reusejp_939_; +lean_object* v_reuseFailAlloc_1055_; +v_reuseFailAlloc_1055_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1055_, 0, v___x_1032_); +v___x_1034_ = v_reuseFailAlloc_1055_; +goto v_reusejp_1033_; } -v_reusejp_939_: +v_reusejp_1033_: { -lean_object* v___x_941_; -lean_inc(v___y_897_); -lean_inc_ref(v___y_896_); -v___x_941_ = l_Lean_addDecl(v___x_940_, v___x_937_, v___y_896_, v___y_897_); -if (lean_obj_tag(v___x_941_) == 0) +lean_object* v___x_1035_; +lean_inc(v___y_991_); +lean_inc_ref(v___y_990_); +v___x_1035_ = l_Lean_addDecl(v___x_1034_, v___x_1031_, v___y_990_, v___y_991_); +if (lean_obj_tag(v___x_1035_) == 0) { -lean_dec_ref(v___x_941_); -if (lean_obj_tag(v_axiomDeclRange_x3f_877_) == 1) +lean_dec_ref(v___x_1035_); +if (lean_obj_tag(v_axiomDeclRange_x3f_971_) == 1) { -lean_object* v_val_942_; lean_object* v___x_943_; lean_object* v___x_944_; -v_val_942_ = lean_ctor_get(v_axiomDeclRange_x3f_877_, 0); -v___x_943_ = lean_box(0); -lean_inc(v_a_927_); -v___x_944_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(v_a_927_, v_val_942_, v___x_943_, v___y_894_, v___y_895_, v___y_896_, v___y_897_); -lean_dec(v___y_897_); -lean_dec(v___y_895_); -lean_dec_ref(v___y_894_); -if (lean_obj_tag(v___x_944_) == 0) +lean_object* v_val_1036_; lean_object* v___x_1037_; lean_object* v___x_1038_; +v_val_1036_ = lean_ctor_get(v_axiomDeclRange_x3f_971_, 0); +v___x_1037_ = lean_box(0); +lean_inc(v_a_1021_); +v___x_1038_ = l_Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7(v_a_1021_, v_val_1036_, v___x_1037_, v___y_988_, v___y_989_, v___y_990_, v___y_991_); +lean_dec(v___y_991_); +lean_dec(v___y_989_); +lean_dec_ref(v___y_988_); +if (lean_obj_tag(v___x_1038_) == 0) { -lean_dec_ref(v___x_944_); -v___y_884_ = v_a_927_; -v___y_885_ = v___x_907_; -goto v___jp_883_; +lean_dec_ref(v___x_1038_); +v___y_978_ = v___x_1001_; +v___y_979_ = v_a_1021_; +goto v___jp_977_; } else { -lean_object* v_a_945_; lean_object* v___x_947_; uint8_t v_isShared_948_; uint8_t v_isSharedCheck_952_; -lean_dec(v_a_927_); -lean_dec(v___x_907_); -v_a_945_ = lean_ctor_get(v___x_944_, 0); -v_isSharedCheck_952_ = !lean_is_exclusive(v___x_944_); -if (v_isSharedCheck_952_ == 0) +lean_object* v_a_1039_; lean_object* v___x_1041_; uint8_t v_isShared_1042_; uint8_t v_isSharedCheck_1046_; +lean_dec(v_a_1021_); +lean_dec(v___x_1001_); +v_a_1039_ = lean_ctor_get(v___x_1038_, 0); +v_isSharedCheck_1046_ = !lean_is_exclusive(v___x_1038_); +if (v_isSharedCheck_1046_ == 0) { -v___x_947_ = v___x_944_; -v_isShared_948_ = v_isSharedCheck_952_; -goto v_resetjp_946_; +v___x_1041_ = v___x_1038_; +v_isShared_1042_ = v_isSharedCheck_1046_; +goto v_resetjp_1040_; } else { -lean_inc(v_a_945_); -lean_dec(v___x_944_); -v___x_947_ = lean_box(0); -v_isShared_948_ = v_isSharedCheck_952_; -goto v_resetjp_946_; +lean_inc(v_a_1039_); +lean_dec(v___x_1038_); +v___x_1041_ = lean_box(0); +v_isShared_1042_ = v_isSharedCheck_1046_; +goto v_resetjp_1040_; } -v_resetjp_946_: +v_resetjp_1040_: { -lean_object* v___x_950_; -if (v_isShared_948_ == 0) +lean_object* v___x_1044_; +if (v_isShared_1042_ == 0) { -v___x_950_ = v___x_947_; -goto v_reusejp_949_; +v___x_1044_ = v___x_1041_; +goto v_reusejp_1043_; } else { -lean_object* v_reuseFailAlloc_951_; -v_reuseFailAlloc_951_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_951_, 0, v_a_945_); -v___x_950_ = v_reuseFailAlloc_951_; -goto v_reusejp_949_; +lean_object* v_reuseFailAlloc_1045_; +v_reuseFailAlloc_1045_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1045_, 0, v_a_1039_); +v___x_1044_ = v_reuseFailAlloc_1045_; +goto v_reusejp_1043_; } -v_reusejp_949_: +v_reusejp_1043_: { -return v___x_950_; +return v___x_1044_; } } } } else { -lean_dec(v___y_897_); -lean_dec_ref(v___y_896_); -lean_dec(v___y_895_); -lean_dec_ref(v___y_894_); -v___y_884_ = v_a_927_; -v___y_885_ = v___x_907_; -goto v___jp_883_; +lean_dec(v___y_991_); +lean_dec_ref(v___y_990_); +lean_dec(v___y_989_); +lean_dec_ref(v___y_988_); +v___y_978_ = v___x_1001_; +v___y_979_ = v_a_1021_; +goto v___jp_977_; } } else { -lean_object* v_a_953_; lean_object* v___x_955_; uint8_t v_isShared_956_; uint8_t v_isSharedCheck_960_; -lean_dec(v_a_927_); -lean_dec(v___x_907_); -lean_dec(v___y_897_); -lean_dec_ref(v___y_896_); -lean_dec(v___y_895_); -lean_dec_ref(v___y_894_); -v_a_953_ = lean_ctor_get(v___x_941_, 0); -v_isSharedCheck_960_ = !lean_is_exclusive(v___x_941_); -if (v_isSharedCheck_960_ == 0) +lean_object* v_a_1047_; lean_object* v___x_1049_; uint8_t v_isShared_1050_; uint8_t v_isSharedCheck_1054_; +lean_dec(v_a_1021_); +lean_dec(v___x_1001_); +lean_dec(v___y_991_); +lean_dec_ref(v___y_990_); +lean_dec(v___y_989_); +lean_dec_ref(v___y_988_); +v_a_1047_ = lean_ctor_get(v___x_1035_, 0); +v_isSharedCheck_1054_ = !lean_is_exclusive(v___x_1035_); +if (v_isSharedCheck_1054_ == 0) { -v___x_955_ = v___x_941_; -v_isShared_956_ = v_isSharedCheck_960_; -goto v_resetjp_954_; +v___x_1049_ = v___x_1035_; +v_isShared_1050_ = v_isSharedCheck_1054_; +goto v_resetjp_1048_; } else { -lean_inc(v_a_953_); -lean_dec(v___x_941_); -v___x_955_ = lean_box(0); -v_isShared_956_ = v_isSharedCheck_960_; -goto v_resetjp_954_; +lean_inc(v_a_1047_); +lean_dec(v___x_1035_); +v___x_1049_ = lean_box(0); +v_isShared_1050_ = v_isSharedCheck_1054_; +goto v_resetjp_1048_; } -v_resetjp_954_: +v_resetjp_1048_: { -lean_object* v___x_958_; -if (v_isShared_956_ == 0) +lean_object* v___x_1052_; +if (v_isShared_1050_ == 0) { -v___x_958_ = v___x_955_; -goto v_reusejp_957_; +v___x_1052_ = v___x_1049_; +goto v_reusejp_1051_; } else { -lean_object* v_reuseFailAlloc_959_; -v_reuseFailAlloc_959_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_959_, 0, v_a_953_); -v___x_958_ = v_reuseFailAlloc_959_; -goto v_reusejp_957_; +lean_object* v_reuseFailAlloc_1053_; +v_reuseFailAlloc_1053_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1053_, 0, v_a_1047_); +v___x_1052_ = v_reuseFailAlloc_1053_; +goto v_reusejp_1051_; } -v_reusejp_957_: +v_reusejp_1051_: { -return v___x_958_; +return v___x_1052_; } } } @@ -3114,212 +3455,212 @@ return v___x_958_; } else { -lean_object* v_a_965_; lean_object* v___x_967_; uint8_t v_isShared_968_; uint8_t v_isSharedCheck_972_; -lean_dec(v___x_909_); -lean_dec(v___x_907_); -lean_del_object(v___x_903_); -lean_dec(v___y_897_); -lean_dec_ref(v___y_896_); -lean_dec(v___y_895_); -lean_dec_ref(v___y_894_); -lean_dec(v_a_892_); -v_a_965_ = lean_ctor_get(v___x_914_, 0); -v_isSharedCheck_972_ = !lean_is_exclusive(v___x_914_); -if (v_isSharedCheck_972_ == 0) +lean_object* v_a_1059_; lean_object* v___x_1061_; uint8_t v_isShared_1062_; uint8_t v_isSharedCheck_1066_; +lean_dec(v___x_1003_); +lean_dec(v___x_1001_); +lean_del_object(v___x_997_); +lean_dec(v___y_991_); +lean_dec_ref(v___y_990_); +lean_dec(v___y_989_); +lean_dec_ref(v___y_988_); +lean_dec(v_a_986_); +v_a_1059_ = lean_ctor_get(v___x_1008_, 0); +v_isSharedCheck_1066_ = !lean_is_exclusive(v___x_1008_); +if (v_isSharedCheck_1066_ == 0) { -v___x_967_ = v___x_914_; -v_isShared_968_ = v_isSharedCheck_972_; -goto v_resetjp_966_; +v___x_1061_ = v___x_1008_; +v_isShared_1062_ = v_isSharedCheck_1066_; +goto v_resetjp_1060_; } else { -lean_inc(v_a_965_); -lean_dec(v___x_914_); -v___x_967_ = lean_box(0); -v_isShared_968_ = v_isSharedCheck_972_; -goto v_resetjp_966_; +lean_inc(v_a_1059_); +lean_dec(v___x_1008_); +v___x_1061_ = lean_box(0); +v_isShared_1062_ = v_isSharedCheck_1066_; +goto v_resetjp_1060_; } -v_resetjp_966_: +v_resetjp_1060_: { -lean_object* v___x_970_; -if (v_isShared_968_ == 0) +lean_object* v___x_1064_; +if (v_isShared_1062_ == 0) { -v___x_970_ = v___x_967_; -goto v_reusejp_969_; +v___x_1064_ = v___x_1061_; +goto v_reusejp_1063_; } else { -lean_object* v_reuseFailAlloc_971_; -v_reuseFailAlloc_971_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_971_, 0, v_a_965_); -v___x_970_ = v_reuseFailAlloc_971_; -goto v_reusejp_969_; +lean_object* v_reuseFailAlloc_1065_; +v_reuseFailAlloc_1065_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1065_, 0, v_a_1059_); +v___x_1064_ = v_reuseFailAlloc_1065_; +goto v_reusejp_1063_; } -v_reusejp_969_: +v_reusejp_1063_: { -return v___x_970_; +return v___x_1064_; } } } } } -v___jp_976_: +v___jp_1070_: { -uint8_t v___x_981_; -v___x_981_ = l_Lean_Expr_hasMVar(v_a_892_); -if (v___x_981_ == 0) +uint8_t v___x_1075_; +v___x_1075_ = l_Lean_Expr_hasMVar(v_a_986_); +if (v___x_1075_ == 0) { -v___y_894_ = v___y_977_; -v___y_895_ = v___y_978_; -v___y_896_ = v___y_979_; -v___y_897_ = v___y_980_; -goto v___jp_893_; +v___y_988_ = v___y_1071_; +v___y_989_ = v___y_1072_; +v___y_990_ = v___y_1073_; +v___y_991_ = v___y_1074_; +goto v___jp_987_; } else { -lean_object* v___x_982_; lean_object* v___x_983_; lean_object* v___x_984_; lean_object* v___x_985_; lean_object* v___x_986_; lean_object* v___x_987_; lean_object* v___x_988_; lean_object* v___x_989_; lean_object* v_a_990_; lean_object* v___x_992_; uint8_t v_isShared_993_; uint8_t v_isSharedCheck_997_; -v___x_982_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); -v___x_983_ = l_Lean_MessageData_ofName(v_tacticName_875_); -v___x_984_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_984_, 0, v___x_982_); -lean_ctor_set(v___x_984_, 1, v___x_983_); -v___x_985_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__20, &l_Lean_Meta_nativeEqTrue___closed__20_once, _init_l_Lean_Meta_nativeEqTrue___closed__20); -v___x_986_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_986_, 0, v___x_984_); -lean_ctor_set(v___x_986_, 1, v___x_985_); -v___x_987_ = l_Lean_indentExpr(v_a_892_); -v___x_988_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_988_, 0, v___x_986_); -lean_ctor_set(v___x_988_, 1, v___x_987_); -v___x_989_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_988_, v___y_977_, v___y_978_, v___y_979_, v___y_980_); -lean_dec(v___y_980_); -lean_dec_ref(v___y_979_); -lean_dec(v___y_978_); -lean_dec_ref(v___y_977_); -v_a_990_ = lean_ctor_get(v___x_989_, 0); -v_isSharedCheck_997_ = !lean_is_exclusive(v___x_989_); -if (v_isSharedCheck_997_ == 0) +lean_object* v___x_1076_; lean_object* v___x_1077_; lean_object* v___x_1078_; lean_object* v___x_1079_; lean_object* v___x_1080_; lean_object* v___x_1081_; lean_object* v___x_1082_; lean_object* v___x_1083_; lean_object* v_a_1084_; lean_object* v___x_1086_; uint8_t v_isShared_1087_; uint8_t v_isSharedCheck_1091_; +v___x_1076_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___lam__0___closed__1, &l_Lean_Meta_nativeEqTrue___lam__0___closed__1_once, _init_l_Lean_Meta_nativeEqTrue___lam__0___closed__1); +v___x_1077_ = l_Lean_MessageData_ofName(v_tacticName_969_); +v___x_1078_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1078_, 0, v___x_1076_); +lean_ctor_set(v___x_1078_, 1, v___x_1077_); +v___x_1079_ = lean_obj_once(&l_Lean_Meta_nativeEqTrue___closed__20, &l_Lean_Meta_nativeEqTrue___closed__20_once, _init_l_Lean_Meta_nativeEqTrue___closed__20); +v___x_1080_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1080_, 0, v___x_1078_); +lean_ctor_set(v___x_1080_, 1, v___x_1079_); +v___x_1081_ = l_Lean_indentExpr(v_a_986_); +v___x_1082_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1082_, 0, v___x_1080_); +lean_ctor_set(v___x_1082_, 1, v___x_1081_); +v___x_1083_ = l_Lean_throwError___at___00Lean_ofExcept___at___00Lean_evalConst___at___00__private_Lean_Meta_Native_0__Lean_Meta_nativeEqTrue_unsafe__1_spec__0_spec__0_spec__1___redArg(v___x_1082_, v___y_1071_, v___y_1072_, v___y_1073_, v___y_1074_); +lean_dec(v___y_1074_); +lean_dec_ref(v___y_1073_); +lean_dec(v___y_1072_); +lean_dec_ref(v___y_1071_); +v_a_1084_ = lean_ctor_get(v___x_1083_, 0); +v_isSharedCheck_1091_ = !lean_is_exclusive(v___x_1083_); +if (v_isSharedCheck_1091_ == 0) { -v___x_992_ = v___x_989_; -v_isShared_993_ = v_isSharedCheck_997_; -goto v_resetjp_991_; +v___x_1086_ = v___x_1083_; +v_isShared_1087_ = v_isSharedCheck_1091_; +goto v_resetjp_1085_; } else { -lean_inc(v_a_990_); -lean_dec(v___x_989_); -v___x_992_ = lean_box(0); -v_isShared_993_ = v_isSharedCheck_997_; -goto v_resetjp_991_; +lean_inc(v_a_1084_); +lean_dec(v___x_1083_); +v___x_1086_ = lean_box(0); +v_isShared_1087_ = v_isSharedCheck_1091_; +goto v_resetjp_1085_; } -v_resetjp_991_: +v_resetjp_1085_: { -lean_object* v___x_995_; -if (v_isShared_993_ == 0) +lean_object* v___x_1089_; +if (v_isShared_1087_ == 0) { -v___x_995_ = v___x_992_; -goto v_reusejp_994_; +v___x_1089_ = v___x_1086_; +goto v_reusejp_1088_; } else { -lean_object* v_reuseFailAlloc_996_; -v_reuseFailAlloc_996_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_996_, 0, v_a_990_); -v___x_995_ = v_reuseFailAlloc_996_; -goto v_reusejp_994_; +lean_object* v_reuseFailAlloc_1090_; +v_reuseFailAlloc_1090_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1090_, 0, v_a_1084_); +v___x_1089_ = v_reuseFailAlloc_1090_; +goto v_reusejp_1088_; } -v_reusejp_994_: +v_reusejp_1088_: { -return v___x_995_; +return v___x_1089_; } } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___boxed(lean_object* v_tacticName_1015_, lean_object* v_e_1016_, lean_object* v_axiomDeclRange_x3f_1017_, lean_object* v_a_1018_, lean_object* v_a_1019_, lean_object* v_a_1020_, lean_object* v_a_1021_, lean_object* v_a_1022_){ +LEAN_EXPORT lean_object* l_Lean_Meta_nativeEqTrue___boxed(lean_object* v_tacticName_1109_, lean_object* v_e_1110_, lean_object* v_axiomDeclRange_x3f_1111_, lean_object* v_a_1112_, lean_object* v_a_1113_, lean_object* v_a_1114_, lean_object* v_a_1115_, lean_object* v_a_1116_){ _start: { -lean_object* v_res_1023_; -v_res_1023_ = l_Lean_Meta_nativeEqTrue(v_tacticName_1015_, v_e_1016_, v_axiomDeclRange_x3f_1017_, v_a_1018_, v_a_1019_, v_a_1020_, v_a_1021_); -lean_dec(v_axiomDeclRange_x3f_1017_); -return v_res_1023_; +lean_object* v_res_1117_; +v_res_1117_ = l_Lean_Meta_nativeEqTrue(v_tacticName_1109_, v_e_1110_, v_axiomDeclRange_x3f_1111_, v_a_1112_, v_a_1113_, v_a_1114_, v_a_1115_); +lean_dec(v_axiomDeclRange_x3f_1111_); +return v_res_1117_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6(lean_object* v_env_1024_, lean_object* v___y_1025_, lean_object* v___y_1026_, lean_object* v___y_1027_, lean_object* v___y_1028_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6(lean_object* v_env_1118_, lean_object* v___y_1119_, lean_object* v___y_1120_, lean_object* v___y_1121_, lean_object* v___y_1122_){ _start: { -lean_object* v___x_1030_; -v___x_1030_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_1024_, v___y_1026_, v___y_1028_); -return v___x_1030_; +lean_object* v___x_1124_; +v___x_1124_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___redArg(v_env_1118_, v___y_1120_, v___y_1122_); +return v___x_1124_; } } -LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___boxed(lean_object* v_env_1031_, lean_object* v___y_1032_, lean_object* v___y_1033_, lean_object* v___y_1034_, lean_object* v___y_1035_, lean_object* v___y_1036_){ +LEAN_EXPORT lean_object* l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6___boxed(lean_object* v_env_1125_, lean_object* v___y_1126_, lean_object* v___y_1127_, lean_object* v___y_1128_, lean_object* v___y_1129_, lean_object* v___y_1130_){ _start: { -lean_object* v_res_1037_; -v_res_1037_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6(v_env_1031_, v___y_1032_, v___y_1033_, v___y_1034_, v___y_1035_); -lean_dec(v___y_1035_); -lean_dec_ref(v___y_1034_); -lean_dec(v___y_1033_); -lean_dec_ref(v___y_1032_); -return v_res_1037_; +lean_object* v_res_1131_; +v_res_1131_ = l_Lean_setEnv___at___00Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5_spec__6(v_env_1125_, v___y_1126_, v___y_1127_, v___y_1128_, v___y_1129_); +lean_dec(v___y_1129_); +lean_dec_ref(v___y_1128_); +lean_dec(v___y_1127_); +lean_dec_ref(v___y_1126_); +return v_res_1131_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5(lean_object* v_00_u03b1_1038_, lean_object* v_env_1039_, lean_object* v_x_1040_, lean_object* v___y_1041_, lean_object* v___y_1042_, lean_object* v___y_1043_, lean_object* v___y_1044_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5(lean_object* v_00_u03b1_1132_, lean_object* v_env_1133_, lean_object* v_x_1134_, lean_object* v___y_1135_, lean_object* v___y_1136_, lean_object* v___y_1137_, lean_object* v___y_1138_){ _start: { -lean_object* v___x_1046_; -v___x_1046_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v_env_1039_, v_x_1040_, v___y_1041_, v___y_1042_, v___y_1043_, v___y_1044_); -return v___x_1046_; +lean_object* v___x_1140_; +v___x_1140_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___redArg(v_env_1133_, v_x_1134_, v___y_1135_, v___y_1136_, v___y_1137_, v___y_1138_); +return v___x_1140_; } } -LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___boxed(lean_object* v_00_u03b1_1047_, lean_object* v_env_1048_, lean_object* v_x_1049_, lean_object* v___y_1050_, lean_object* v___y_1051_, lean_object* v___y_1052_, lean_object* v___y_1053_, lean_object* v___y_1054_){ +LEAN_EXPORT lean_object* l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5___boxed(lean_object* v_00_u03b1_1141_, lean_object* v_env_1142_, lean_object* v_x_1143_, lean_object* v___y_1144_, lean_object* v___y_1145_, lean_object* v___y_1146_, lean_object* v___y_1147_, lean_object* v___y_1148_){ _start: { -lean_object* v_res_1055_; -v_res_1055_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5(v_00_u03b1_1047_, v_env_1048_, v_x_1049_, v___y_1050_, v___y_1051_, v___y_1052_, v___y_1053_); -return v_res_1055_; +lean_object* v_res_1149_; +v_res_1149_ = l_Lean_withEnv___at___00Lean_Meta_nativeEqTrue_spec__5(v_00_u03b1_1141_, v_env_1142_, v_x_1143_, v___y_1144_, v___y_1145_, v___y_1146_, v___y_1147_); +return v_res_1149_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9(lean_object* v_stx_1056_, lean_object* v___y_1057_, lean_object* v___y_1058_, lean_object* v___y_1059_, lean_object* v___y_1060_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9(lean_object* v_stx_1150_, lean_object* v___y_1151_, lean_object* v___y_1152_, lean_object* v___y_1153_, lean_object* v___y_1154_){ _start: { -lean_object* v___x_1062_; -v___x_1062_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_stx_1056_, v___y_1059_); -return v___x_1062_; +lean_object* v___x_1156_; +v___x_1156_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___redArg(v_stx_1150_, v___y_1153_); +return v___x_1156_; } } -LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___boxed(lean_object* v_stx_1063_, lean_object* v___y_1064_, lean_object* v___y_1065_, lean_object* v___y_1066_, lean_object* v___y_1067_, lean_object* v___y_1068_){ +LEAN_EXPORT lean_object* l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9___boxed(lean_object* v_stx_1157_, lean_object* v___y_1158_, lean_object* v___y_1159_, lean_object* v___y_1160_, lean_object* v___y_1161_, lean_object* v___y_1162_){ _start: { -lean_object* v_res_1069_; -v_res_1069_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9(v_stx_1063_, v___y_1064_, v___y_1065_, v___y_1066_, v___y_1067_); -lean_dec(v___y_1067_); -lean_dec(v___y_1065_); -lean_dec_ref(v___y_1064_); -lean_dec(v_stx_1063_); -return v_res_1069_; +lean_object* v_res_1163_; +v_res_1163_ = l_Lean_Elab_getDeclarationRange_x3f___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__9(v_stx_1157_, v___y_1158_, v___y_1159_, v___y_1160_, v___y_1161_); +lean_dec(v___y_1161_); +lean_dec(v___y_1159_); +lean_dec_ref(v___y_1158_); +lean_dec(v_stx_1157_); +return v_res_1163_; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10(lean_object* v_declName_1070_, lean_object* v_declRanges_1071_, lean_object* v___y_1072_, lean_object* v___y_1073_, lean_object* v___y_1074_, lean_object* v___y_1075_){ +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10(lean_object* v_declName_1164_, lean_object* v_declRanges_1165_, lean_object* v___y_1166_, lean_object* v___y_1167_, lean_object* v___y_1168_, lean_object* v___y_1169_){ _start: { -lean_object* v___x_1077_; -v___x_1077_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_1070_, v_declRanges_1071_, v___y_1073_, v___y_1075_); -return v___x_1077_; +lean_object* v___x_1171_; +v___x_1171_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___redArg(v_declName_1164_, v_declRanges_1165_, v___y_1167_, v___y_1169_); +return v___x_1171_; } } -LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___boxed(lean_object* v_declName_1078_, lean_object* v_declRanges_1079_, lean_object* v___y_1080_, lean_object* v___y_1081_, lean_object* v___y_1082_, lean_object* v___y_1083_, lean_object* v___y_1084_){ +LEAN_EXPORT lean_object* l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10___boxed(lean_object* v_declName_1172_, lean_object* v_declRanges_1173_, lean_object* v___y_1174_, lean_object* v___y_1175_, lean_object* v___y_1176_, lean_object* v___y_1177_, lean_object* v___y_1178_){ _start: { -lean_object* v_res_1085_; -v_res_1085_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10(v_declName_1078_, v_declRanges_1079_, v___y_1080_, v___y_1081_, v___y_1082_, v___y_1083_); -lean_dec(v___y_1083_); -lean_dec_ref(v___y_1082_); -lean_dec(v___y_1081_); -lean_dec_ref(v___y_1080_); -return v_res_1085_; +lean_object* v_res_1179_; +v_res_1179_ = l_Lean_addDeclarationRanges___at___00Lean_Elab_addDeclarationRangesFromSyntax___at___00Lean_Meta_nativeEqTrue_spec__7_spec__10(v_declName_1172_, v_declRanges_1173_, v___y_1174_, v___y_1175_, v___y_1176_, v___y_1177_); +lean_dec(v___y_1177_); +lean_dec_ref(v___y_1176_); +lean_dec(v___y_1175_); +lean_dec_ref(v___y_1174_); +return v_res_1179_; } } lean_object* runtime_initialize_Lean_Meta_Basic(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Grind/CheckResult.c b/stage0/stdlib/Lean/Meta/Tactic/Grind/CheckResult.c index caeedb0c8b..5f50f9b86a 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Grind/CheckResult.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Grind/CheckResult.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Tactic.Grind.CheckResult -// Imports: public import Init.Data.Repr import Init.MetaTypes +// Imports: public import Init.Data.Repr meta import Init.MetaTypes #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -722,7 +722,6 @@ return v_r_200_; } } lean_object* runtime_initialize_Init_Data_Repr(uint8_t builtin); -lean_object* runtime_initialize_Init_MetaTypes(uint8_t builtin); static bool _G_runtime_initialized = false; LEAN_EXPORT lean_object* runtime_initialize_Lean_Meta_Tactic_Grind_CheckResult(uint8_t builtin) { lean_object * res; @@ -731,18 +730,19 @@ _G_runtime_initialized = true; res = runtime_initialize_Init_Data_Repr(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = runtime_initialize_Init_MetaTypes(builtin); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); l_Lean_Meta_Grind_instInhabitedCheckResult_default = _init_l_Lean_Meta_Grind_instInhabitedCheckResult_default(); l_Lean_Meta_Grind_instInhabitedCheckResult = _init_l_Lean_Meta_Grind_instInhabitedCheckResult(); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Init_MetaTypes(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Meta_Tactic_Grind_CheckResult(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Init_MetaTypes(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Init_Data_Repr(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Meta/Tactic/TryThis.c b/stage0/stdlib/Lean/Meta/Tactic/TryThis.c index bbe72ae06d..ff9b97bc0b 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/TryThis.c +++ b/stage0/stdlib/Lean/Meta/Tactic/TryThis.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Meta.Tactic.TryThis -// Imports: import Lean.Server.CodeActions import Lean.Meta.Tactic.ExposeNames public import Lean.Widget.UserWidget +// Imports: import Lean.Server.CodeActions import Lean.Meta.Tactic.ExposeNames public import Lean.Widget.UserWidget meta import Lean.Widget.UserWidget #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -9707,16 +9707,21 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Widget_UserWidget(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Meta_Tactic_TryThis(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Widget_UserWidget(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Server_CodeActions(uint8_t builtin); lean_object* initialize_Lean_Meta_Tactic_ExposeNames(uint8_t builtin); lean_object* initialize_Lean_Widget_UserWidget(uint8_t builtin); +lean_object* initialize_Lean_Widget_UserWidget(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Meta_Tactic_TryThis(uint8_t builtin) { lean_object * res; @@ -9731,6 +9736,9 @@ lean_dec_ref(res); res = initialize_Lean_Widget_UserWidget(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Widget_UserWidget(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Meta_Tactic_TryThis(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 8629ab27e9..a2be2027d0 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Parser.Command -// Imports: public import Lean.Parser.Do import Lean.DocString.Parser +// Imports: public import Lean.Parser.Do import Lean.DocString.Parser meta import Lean.Parser.Do meta import Lean.DocString.Parser #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -38900,15 +38900,25 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Parser_Do(uint8_t builtin); +lean_object* runtime_initialize_Lean_DocString_Parser(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Parser_Command(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Parser_Do(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = runtime_initialize_Lean_DocString_Parser(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Parser_Do(uint8_t builtin); lean_object* initialize_Lean_DocString_Parser(uint8_t builtin); +lean_object* initialize_Lean_Parser_Do(uint8_t builtin); +lean_object* initialize_Lean_DocString_Parser(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Parser_Command(uint8_t builtin) { lean_object * res; @@ -38920,6 +38930,12 @@ lean_dec_ref(res); res = initialize_Lean_DocString_Parser(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Parser_Do(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_DocString_Parser(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Parser_Command(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Parser/Module.c b/stage0/stdlib/Lean/Parser/Module.c index 3cee41529a..16c88d7c54 100644 --- a/stage0/stdlib/Lean/Parser/Module.c +++ b/stage0/stdlib/Lean/Parser/Module.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Parser.Module -// Imports: public import Lean.Parser.Module.Syntax meta import Lean.Parser.Module.Syntax import Init.While +// Imports: public import Lean.Parser.Module.Syntax meta import Lean.Parser.Module.Syntax import Init.While meta import Lean.Parser.Extra #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -326,7 +326,7 @@ _start: lean_object* v___x_8_; lean_object* v___x_9_; lean_object* v___x_10_; lean_object* v___x_11_; lean_object* v___x_12_; lean_object* v___x_13_; v___x_8_ = ((lean_object*)(l_Lean_Parser_Module_updateTokens___closed__2)); v___x_9_ = lean_unsigned_to_nat(26u); -v___x_10_ = lean_unsigned_to_nat(23u); +v___x_10_ = lean_unsigned_to_nat(24u); v___x_11_ = ((lean_object*)(l_Lean_Parser_Module_updateTokens___closed__1)); v___x_12_ = ((lean_object*)(l_Lean_Parser_Module_updateTokens___closed__0)); v___x_13_ = l_mkPanicMessageWithDecl(v___x_12_, v___x_11_, v___x_10_, v___x_9_, v___x_8_); @@ -4441,6 +4441,7 @@ lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* runtime_initialize_Lean_Parser_Module_Syntax(uint8_t builtin); +lean_object* runtime_initialize_Lean_Parser_Extra(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Parser_Module(uint8_t builtin) { lean_object * res; @@ -4449,11 +4450,15 @@ _G_meta_initialized = true; res = runtime_initialize_Lean_Parser_Module_Syntax(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = runtime_initialize_Lean_Parser_Extra(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_Parser_Module_Syntax(uint8_t builtin); lean_object* initialize_Lean_Parser_Module_Syntax(uint8_t builtin); lean_object* initialize_Init_While(uint8_t builtin); +lean_object* initialize_Lean_Parser_Extra(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Parser_Module(uint8_t builtin) { lean_object * res; @@ -4468,6 +4473,9 @@ lean_dec_ref(res); res = initialize_Init_While(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Parser_Extra(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Parser_Module(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/Parser/Term/Basic.c b/stage0/stdlib/Lean/Parser/Term/Basic.c index d87dc974f5..4ad9585e71 100644 --- a/stage0/stdlib/Lean/Parser/Term/Basic.c +++ b/stage0/stdlib/Lean/Parser/Term/Basic.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Parser.Term.Basic -// Imports: public import Lean.Parser.Attr public import Lean.Parser.Level public import Lean.Parser.Term.Doc +// Imports: public import Lean.Parser.Attr public import Lean.Parser.Level public import Lean.Parser.Term.Doc meta import Lean.Parser.Basic #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -7855,11 +7855,15 @@ l_Lean_Parser_Term_structInstField = _init_l_Lean_Parser_Term_structInstField(); lean_mark_persistent(l_Lean_Parser_Term_structInstField); return lean_io_result_mk_ok(lean_box(0)); } +lean_object* runtime_initialize_Lean_Parser_Basic(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_Parser_Term_Basic(uint8_t builtin) { lean_object * res; if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); _G_meta_initialized = true; +res = runtime_initialize_Lean_Parser_Basic(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lean_Parser_Term_Basic_0__Lean_Parser_Term_binderDefaultM = _init_l___private_Lean_Parser_Term_Basic_0__Lean_Parser_Term_binderDefaultM(); lean_mark_persistent(l___private_Lean_Parser_Term_Basic_0__Lean_Parser_Term_binderDefaultM); return lean_io_result_mk_ok(lean_box(0)); @@ -7867,6 +7871,7 @@ return lean_io_result_mk_ok(lean_box(0)); lean_object* initialize_Lean_Parser_Attr(uint8_t builtin); lean_object* initialize_Lean_Parser_Level(uint8_t builtin); lean_object* initialize_Lean_Parser_Term_Doc(uint8_t builtin); +lean_object* initialize_Lean_Parser_Basic(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Parser_Term_Basic(uint8_t builtin) { lean_object * res; @@ -7881,6 +7886,9 @@ lean_dec_ref(res); res = initialize_Lean_Parser_Term_Doc(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Parser_Basic(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_Parser_Term_Basic(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index 715afd3835..7e9a358e0a 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.PrettyPrinter.Delaborator.Builtins -// Imports: public import Lean.PrettyPrinter.Delaborator.Basic public import Lean.Meta.CoeAttr public import Lean.Meta.Structure public import Lean.PrettyPrinter.Formatter public import Lean.PrettyPrinter.Parenthesizer meta import Lean.Parser.Command +// Imports: public import Lean.PrettyPrinter.Delaborator.Basic public import Lean.Meta.CoeAttr public import Lean.Meta.Structure public import Lean.PrettyPrinter.Formatter public import Lean.PrettyPrinter.Parenthesizer meta import Lean.Parser.Command meta import Lean.PrettyPrinter.Delaborator.DeclWithSig #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -213,17 +213,6 @@ lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; -lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_declSig_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_maxPrec; -lean_object* l_Lean_Parser_termParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPCoercionsTypes___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withAnnotateTermInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_withOptionAtCurrPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -288,6 +277,7 @@ lean_object* l_Array_zip___redArg(lean_object*, lean_object*); lean_object* l_Array_mkArray2___redArg(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos___redArg(lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_Lean_getPPUnicodeFun___boxed(lean_object*); lean_object* l_Subarray_copy___redArg(lean_object*); @@ -320,6 +310,7 @@ lean_object* l_Lean_Expr_name_x3f(lean_object*); lean_object* l_Lean_Name_toStringWithToken___at___00Lean_Name_toString_spec__0(lean_object*, uint8_t); lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); lean_object* l_Lean_MVarId_findDecl_x3f___redArg(lean_object*, lean_object*); +lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); uint32_t l_Char_ofNat(lean_object*); lean_object* l_Lean_Syntax_mkCharLit(uint32_t, lean_object*); @@ -359,13 +350,6 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewMCtxDepthImp(lean_o lean_object* l_Lean_getPPStructureInstancesFlatten___boxed(lean_object*); lean_object* l_Lean_Meta_isConstructorApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_FVarId_getBinderInfo___redArg(lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Command_declSig; -lean_object* l_Lean_Parser_termParser(lean_object*); -lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); -lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); -lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); -lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_MatcherInfo_arity(lean_object*); lean_object* l_Lean_Environment_findConstVal_x3f(lean_object*, lean_object*, uint8_t); @@ -377,14 +361,9 @@ lean_object* l_Lean_PrettyPrinter_Delaborator_mkAnnotatedIdent(lean_object*, lea lean_object* l_Lean_getPPLetVarTypes___boxed(lean_object*); lean_object* l_Lean_getPPAnalysisLetVarType___boxed(lean_object*); lean_object* l_Lean_Syntax_node7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Array_mkArray1___redArg(lean_object*); lean_object* l_Lean_getPPPiBinderTypes___boxed(lean_object*); -lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Command_declSig_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_termParser_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getPPNatLit___boxed(lean_object*); extern lean_object* l_Lean_pp_universes; extern lean_object* l_Lean_pp_fullNames; @@ -409,7 +388,6 @@ uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); lean_object* l_Lean_getPPSorrySource___boxed(lean_object*); lean_object* l_Lean_Meta_isLabeledSorry_x3f(lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_addDelabTermInfo___redArg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); -extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; lean_object* l_Lean_getPPStructureInstanceType___boxed(lean_object*); uint8_t l_Lean_hasPPUsingAnonymousConstructorAttribute(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3269,81 +3247,6 @@ static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_delabSorry___regB static const lean_object* l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorry__1___closed__3 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorry__1___closed__3_value; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorry__1(); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorry__1___boxed(lean_object*); -static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "_private"}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value),LEAN_SCALAR_PTR_LITERAL(103, 214, 75, 80, 34, 198, 193, 153)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(90, 18, 126, 130, 18, 214, 172, 143)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__13_value),LEAN_SCALAR_PTR_LITERAL(212, 152, 45, 136, 43, 176, 59, 135)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__14_value),LEAN_SCALAR_PTR_LITERAL(107, 19, 214, 208, 28, 243, 5, 52)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value; -static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 9, .m_capacity = 9, .m_length = 8, .m_data = "Builtins"}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5_value),LEAN_SCALAR_PTR_LITERAL(118, 175, 172, 139, 105, 167, 145, 77)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 2}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6_value),((lean_object*)(((size_t)(0) << 1) | 1)),LEAN_SCALAR_PTR_LITERAL(31, 221, 193, 238, 143, 97, 56, 165)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(210, 64, 156, 49, 138, 51, 116, 45)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__13_value),LEAN_SCALAR_PTR_LITERAL(252, 212, 15, 74, 116, 207, 89, 54)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__10_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__14_value),LEAN_SCALAR_PTR_LITERAL(35, 0, 52, 70, 28, 203, 40, 140)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__10 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__10_value; -static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "declSigWithId"}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__10_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11_value),LEAN_SCALAR_PTR_LITERAL(137, 101, 58, 64, 222, 87, 25, 116)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value; -static const lean_closure_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__13_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*4, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_mkAntiquot_formatter___boxed, .m_arity = 9, .m_num_fixed = 4, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value),((lean_object*)(((size_t)(1) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))} }; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__13 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__13_value; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14; -static const lean_closure_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_Command_declSig_formatter___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__15 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__15_value; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17; -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "formatter"}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value),LEAN_SCALAR_PTR_LITERAL(68, 55, 183, 101, 64, 24, 147, 198)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value; -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___boxed(lean_object*); -static const lean_closure_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*4, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_mkAntiquot_parenthesizer___boxed, .m_arity = 9, .m_num_fixed = 4, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value),((lean_object*)(((size_t)(1) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))} }; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0_value; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1; -static const lean_closure_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_Command_declSig_parenthesizer___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2_value; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4; -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "parenthesizer"}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value; -static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12_value),((lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value),LEAN_SCALAR_PTR_LITERAL(184, 195, 35, 92, 121, 231, 116, 146)}}; -static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value; -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___boxed(lean_object*); -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4; -static lean_once_cell_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId; static const lean_string_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 7, .m_capacity = 7, .m_length = 6, .m_data = "Syntax"}; static const lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__0 = (const lean_object*)&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__0_value; static const lean_ctor_object l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; @@ -3465,17 +3368,24 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___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_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static const lean_string_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "Command"}; +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "declSigWithId"}; static const lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0_value; -static const lean_string_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "declSig"}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__13_value),LEAN_SCALAR_PTR_LITERAL(120, 167, 117, 148, 131, 202, 42, 4)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__14_value),LEAN_SCALAR_PTR_LITERAL(79, 126, 247, 124, 241, 28, 11, 244)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0_value),LEAN_SCALAR_PTR_LITERAL(125, 120, 113, 218, 19, 40, 2, 236)}}; static const lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value; -static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; -static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}}; -static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__0_value),LEAN_SCALAR_PTR_LITERAL(214, 208, 105, 11, 221, 56, 173, 240)}}; -static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 130, 251, 183, 19, 113, 82)}}; +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "Command"}; static const lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value; -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(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_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 8, .m_capacity = 8, .m_length = 7, .m_data = "declSig"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__3 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__3_value; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__2_value),LEAN_SCALAR_PTR_LITERAL(103, 136, 125, 166, 167, 98, 71, 111)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2_value),LEAN_SCALAR_PTR_LITERAL(214, 208, 105, 11, 221, 56, 173, 240)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__3_value),LEAN_SCALAR_PTR_LITERAL(22, 101, 130, 251, 183, 19, 113, 82)}}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4_value; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed(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_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___boxed(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_PrettyPrinter_Delaborator_delabConstWithSignature(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4110,7 +4020,7 @@ _start: lean_object* v___x_373_; lean_object* v___x_374_; lean_object* v___x_375_; lean_object* v___x_376_; lean_object* v___x_377_; lean_object* v___x_378_; v___x_373_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_374_ = lean_unsigned_to_nat(35u); -v___x_375_ = lean_unsigned_to_nat(44u); +v___x_375_ = lean_unsigned_to_nat(45u); v___x_376_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__9)); v___x_377_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_378_ = l_mkPanicMessageWithDecl(v___x_377_, v___x_376_, v___x_375_, v___x_374_, v___x_373_); @@ -4616,7 +4526,7 @@ _start: lean_object* v___x_506_; lean_object* v___x_507_; lean_object* v___x_508_; lean_object* v___x_509_; lean_object* v___x_510_; lean_object* v___x_511_; v___x_506_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_507_ = lean_unsigned_to_nat(32u); -v___x_508_ = lean_unsigned_to_nat(59u); +v___x_508_ = lean_unsigned_to_nat(60u); v___x_509_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabBVar___closed__1)); v___x_510_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_511_ = l_mkPanicMessageWithDecl(v___x_510_, v___x_509_, v___x_508_, v___x_507_, v___x_506_); @@ -5344,7 +5254,7 @@ _start: lean_object* v___x_778_; lean_object* v___x_779_; lean_object* v___x_780_; lean_object* v___x_781_; lean_object* v___x_782_; lean_object* v___x_783_; v___x_778_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_779_ = lean_unsigned_to_nat(30u); -v___x_780_ = lean_unsigned_to_nat(83u); +v___x_780_ = lean_unsigned_to_nat(84u); v___x_781_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMVar___closed__0)); v___x_782_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_783_ = l_mkPanicMessageWithDecl(v___x_782_, v___x_781_, v___x_780_, v___x_779_, v___x_778_); @@ -5420,7 +5330,7 @@ _start: lean_object* v___x_846_; lean_object* v___x_847_; lean_object* v___x_848_; lean_object* v___x_849_; lean_object* v___x_850_; lean_object* v___x_851_; v___x_846_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_847_ = lean_unsigned_to_nat(30u); -v___x_848_ = lean_unsigned_to_nat(88u); +v___x_848_ = lean_unsigned_to_nat(89u); v___x_849_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabSort___closed__11)); v___x_850_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_851_ = l_mkPanicMessageWithDecl(v___x_850_, v___x_849_, v___x_848_, v___x_847_, v___x_846_); @@ -10393,7 +10303,7 @@ _start: lean_object* v___x_2527_; lean_object* v___x_2528_; lean_object* v___x_2529_; lean_object* v___x_2530_; lean_object* v___x_2531_; lean_object* v___x_2532_; v___x_2527_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_2528_ = lean_unsigned_to_nat(35u); -v___x_2529_ = lean_unsigned_to_nat(105u); +v___x_2529_ = lean_unsigned_to_nat(106u); v___x_2530_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__12)); v___x_2531_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_2532_ = l_mkPanicMessageWithDecl(v___x_2531_, v___x_2530_, v___x_2529_, v___x_2528_, v___x_2527_); @@ -19756,7 +19666,7 @@ _start: lean_object* v___x_5613_; lean_object* v___x_5614_; lean_object* v___x_5615_; lean_object* v___x_5616_; lean_object* v___x_5617_; lean_object* v___x_5618_; v___x_5613_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_5614_ = lean_unsigned_to_nat(58u); -v___x_5615_ = lean_unsigned_to_nat(472u); +v___x_5615_ = lean_unsigned_to_nat(473u); v___x_5616_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_tryAppUnexpanders___closed__1)); v___x_5617_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_5618_ = l_mkPanicMessageWithDecl(v___x_5617_, v___x_5616_, v___x_5615_, v___x_5614_, v___x_5613_); @@ -33023,7 +32933,7 @@ _start: lean_object* v___x_10465_; lean_object* v___x_10466_; lean_object* v___x_10467_; lean_object* v___x_10468_; lean_object* v___x_10469_; lean_object* v___x_10470_; v___x_10465_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lam__1___closed__2)); v___x_10466_ = lean_unsigned_to_nat(10u); -v___x_10467_ = lean_unsigned_to_nat(805u); +v___x_10467_ = lean_unsigned_to_nat(806u); v___x_10468_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lam__1___closed__1)); v___x_10469_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_10470_ = l_mkPanicMessageWithDecl(v___x_10469_, v___x_10468_, v___x_10467_, v___x_10466_, v___x_10465_); @@ -37035,7 +36945,7 @@ _start: lean_object* v___x_11956_; lean_object* v___x_11957_; lean_object* v___x_11958_; lean_object* v___x_11959_; lean_object* v___x_11960_; lean_object* v___x_11961_; v___x_11956_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_11957_ = lean_unsigned_to_nat(31u); -v___x_11958_ = lean_unsigned_to_nat(886u); +v___x_11958_ = lean_unsigned_to_nat(887u); v___x_11959_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__11)); v___x_11960_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_11961_ = l_mkPanicMessageWithDecl(v___x_11960_, v___x_11959_, v___x_11958_, v___x_11957_, v___x_11956_); @@ -42108,7 +42018,7 @@ _start: lean_object* v___x_13776_; lean_object* v___x_13777_; lean_object* v___x_13778_; lean_object* v___x_13779_; lean_object* v___x_13780_; lean_object* v___x_13781_; v___x_13776_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_13777_ = lean_unsigned_to_nat(43u); -v___x_13778_ = lean_unsigned_to_nat(1088u); +v___x_13778_ = lean_unsigned_to_nat(1089u); v___x_13779_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__17)); v___x_13780_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_13781_ = l_mkPanicMessageWithDecl(v___x_13780_, v___x_13779_, v___x_13778_, v___x_13777_, v___x_13776_); @@ -43109,7 +43019,7 @@ _start: lean_object* v___x_14081_; lean_object* v___x_14082_; lean_object* v___x_14083_; lean_object* v___x_14084_; lean_object* v___x_14085_; lean_object* v___x_14086_; v___x_14081_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_14082_ = lean_unsigned_to_nat(29u); -v___x_14083_ = lean_unsigned_to_nat(1114u); +v___x_14083_ = lean_unsigned_to_nat(1115u); v___x_14084_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabLit___closed__4)); v___x_14085_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_14086_ = l_mkPanicMessageWithDecl(v___x_14085_, v___x_14084_, v___x_14083_, v___x_14082_, v___x_14081_); @@ -45616,7 +45526,7 @@ _start: lean_object* v___x_14950_; lean_object* v___x_14951_; lean_object* v___x_14952_; lean_object* v___x_14953_; lean_object* v___x_14954_; lean_object* v___x_14955_; v___x_14950_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_14951_ = lean_unsigned_to_nat(36u); -v___x_14952_ = lean_unsigned_to_nat(1222u); +v___x_14952_ = lean_unsigned_to_nat(1223u); v___x_14953_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabProj___closed__2)); v___x_14954_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_14955_ = l_mkPanicMessageWithDecl(v___x_14954_, v___x_14953_, v___x_14952_, v___x_14951_, v___x_14950_); @@ -51821,7 +51731,7 @@ _start: lean_object* v___x_17676_; lean_object* v___x_17677_; lean_object* v___x_17678_; lean_object* v___x_17679_; lean_object* v___x_17680_; lean_object* v___x_17681_; v___x_17676_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); v___x_17677_ = lean_unsigned_to_nat(45u); -v___x_17678_ = lean_unsigned_to_nat(1462u); +v___x_17678_ = lean_unsigned_to_nat(1463u); v___x_17679_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabDoElems___closed__3)); v___x_17680_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); v___x_17681_ = l_mkPanicMessageWithDecl(v___x_17680_, v___x_17679_, v___x_17678_, v___x_17677_, v___x_17676_); @@ -54753,2676 +54663,2458 @@ v_res_19126_ = l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_Pre return v_res_19126_; } } -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14(void){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(lean_object* v_env_19131_, lean_object* v_opts_19132_, lean_object* v_constName_19133_){ _start: { -lean_object* v___x_19167_; lean_object* v___x_19168_; -v___x_19167_ = l_Lean_Parser_maxPrec; -v___x_19168_ = lean_alloc_closure((void*)(l_Lean_Parser_termParser_formatter___boxed), 6, 1); -lean_closure_set(v___x_19168_, 0, v___x_19167_); -return v___x_19168_; +lean_object* v___x_19134_; lean_object* v___x_19135_; +v___x_19134_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__1)); +v___x_19135_ = l_Lean_Environment_evalConstCheck___redArg(v_env_19131_, v_opts_19132_, v___x_19134_, v_constName_19133_); +return v___x_19135_; } } -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16(void){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___boxed(lean_object* v_env_19136_, lean_object* v_opts_19137_, lean_object* v_constName_19138_){ _start: { -lean_object* v___x_19170_; lean_object* v___x_19171_; lean_object* v___x_19172_; -v___x_19170_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__15)); -v___x_19171_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__14); -v___x_19172_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); -lean_closure_set(v___x_19172_, 0, v___x_19171_); -lean_closure_set(v___x_19172_, 1, v___x_19170_); -return v___x_19172_; +lean_object* v_res_19139_; +v_res_19139_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(v_env_19136_, v_opts_19137_, v_constName_19138_); +lean_dec_ref(v_opts_19137_); +return v_res_19139_; } } -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17(void){ +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(lean_object* v_opts_19140_, lean_object* v_opt_19141_){ _start: { -lean_object* v___x_19173_; lean_object* v___x_19174_; lean_object* v___x_19175_; lean_object* v___x_19176_; -v___x_19173_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__16); -v___x_19174_ = lean_unsigned_to_nat(1024u); -v___x_19175_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19176_ = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); -lean_closure_set(v___x_19176_, 0, v___x_19175_); -lean_closure_set(v___x_19176_, 1, v___x_19174_); -lean_closure_set(v___x_19176_, 2, v___x_19173_); -return v___x_19176_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(lean_object* v_a_19177_, lean_object* v_a_19178_, lean_object* v_a_19179_, lean_object* v_a_19180_){ -_start: +lean_object* v_name_19142_; lean_object* v_defValue_19143_; lean_object* v_map_19144_; lean_object* v___x_19145_; +v_name_19142_ = lean_ctor_get(v_opt_19141_, 0); +v_defValue_19143_ = lean_ctor_get(v_opt_19141_, 1); +v_map_19144_ = lean_ctor_get(v_opts_19140_, 0); +v___x_19145_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(v_map_19144_, v_name_19142_); +if (lean_obj_tag(v___x_19145_) == 0) { -lean_object* v___x_19182_; lean_object* v___x_19183_; lean_object* v___x_19184_; -v___x_19182_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__13)); -v___x_19183_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__17); -v___x_19184_ = l_Lean_PrettyPrinter_Formatter_orelse_formatter(v___x_19182_, v___x_19183_, v_a_19177_, v_a_19178_, v_a_19179_, v_a_19180_); -return v___x_19184_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed(lean_object* v_a_19185_, lean_object* v_a_19186_, lean_object* v_a_19187_, lean_object* v_a_19188_, lean_object* v_a_19189_){ -_start: -{ -lean_object* v_res_19190_; -v_res_19190_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(v_a_19185_, v_a_19186_, v_a_19187_, v_a_19188_); -return v_res_19190_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(){ -_start: -{ -lean_object* v___x_19196_; lean_object* v___x_19197_; lean_object* v___x_19198_; lean_object* v___x_19199_; lean_object* v___x_19200_; -v___x_19196_ = l_Lean_PrettyPrinter_formatterAttribute; -v___x_19197_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19198_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1)); -v___x_19199_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed), 5, 0); -v___x_19200_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_19196_, v___x_19197_, v___x_19198_, v___x_19199_); -return v___x_19200_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___boxed(lean_object* v_a_19201_){ -_start: -{ -lean_object* v_res_19202_; -v_res_19202_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); -return v_res_19202_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1(void){ -_start: -{ -lean_object* v___x_19210_; lean_object* v___x_19211_; -v___x_19210_ = l_Lean_Parser_maxPrec; -v___x_19211_ = lean_alloc_closure((void*)(l_Lean_Parser_termParser_parenthesizer___boxed), 6, 1); -lean_closure_set(v___x_19211_, 0, v___x_19210_); -return v___x_19211_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3(void){ -_start: -{ -lean_object* v___x_19213_; lean_object* v___x_19214_; lean_object* v___x_19215_; -v___x_19213_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2)); -v___x_19214_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1); -v___x_19215_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); -lean_closure_set(v___x_19215_, 0, v___x_19214_); -lean_closure_set(v___x_19215_, 1, v___x_19213_); -return v___x_19215_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4(void){ -_start: -{ -lean_object* v___x_19216_; lean_object* v___x_19217_; lean_object* v___x_19218_; lean_object* v___x_19219_; -v___x_19216_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3); -v___x_19217_ = lean_unsigned_to_nat(1024u); -v___x_19218_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19219_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); -lean_closure_set(v___x_19219_, 0, v___x_19218_); -lean_closure_set(v___x_19219_, 1, v___x_19217_); -lean_closure_set(v___x_19219_, 2, v___x_19216_); -return v___x_19219_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(lean_object* v_a_19220_, lean_object* v_a_19221_, lean_object* v_a_19222_, lean_object* v_a_19223_){ -_start: -{ -lean_object* v___x_19225_; lean_object* v___x_19226_; lean_object* v___x_19227_; -v___x_19225_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0)); -v___x_19226_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4); -v___x_19227_ = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(v___x_19225_, v___x_19226_, v_a_19220_, v_a_19221_, v_a_19222_, v_a_19223_); -return v___x_19227_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed(lean_object* v_a_19228_, lean_object* v_a_19229_, lean_object* v_a_19230_, lean_object* v_a_19231_, lean_object* v_a_19232_){ -_start: -{ -lean_object* v_res_19233_; -v_res_19233_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(v_a_19228_, v_a_19229_, v_a_19230_, v_a_19231_); -return v_res_19233_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(){ -_start: -{ -lean_object* v___x_19239_; lean_object* v___x_19240_; lean_object* v___x_19241_; lean_object* v___x_19242_; lean_object* v___x_19243_; -v___x_19239_ = l_Lean_PrettyPrinter_parenthesizerAttribute; -v___x_19240_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19241_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1)); -v___x_19242_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed), 5, 0); -v___x_19243_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_19239_, v___x_19240_, v___x_19241_, v___x_19242_); -return v___x_19243_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___boxed(lean_object* v_a_19244_){ -_start: -{ -lean_object* v_res_19245_; -v_res_19245_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); -return v_res_19245_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0(void){ -_start: -{ -uint8_t v___x_19246_; uint8_t v___x_19247_; lean_object* v___x_19248_; lean_object* v___x_19249_; lean_object* v___x_19250_; -v___x_19246_ = 0; -v___x_19247_ = 1; -v___x_19248_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19249_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11)); -v___x_19250_ = l_Lean_Parser_mkAntiquot(v___x_19249_, v___x_19248_, v___x_19247_, v___x_19246_); -return v___x_19250_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1(void){ -_start: -{ -lean_object* v___x_19251_; lean_object* v___x_19252_; -v___x_19251_ = l_Lean_Parser_maxPrec; -v___x_19252_ = l_Lean_Parser_termParser(v___x_19251_); -return v___x_19252_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2(void){ -_start: -{ -lean_object* v___x_19253_; lean_object* v___x_19254_; lean_object* v___x_19255_; -v___x_19253_ = l_Lean_Parser_Command_declSig; -v___x_19254_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1); -v___x_19255_ = l_Lean_Parser_andthen(v___x_19254_, v___x_19253_); -return v___x_19255_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3(void){ -_start: -{ -lean_object* v___x_19256_; lean_object* v___x_19257_; lean_object* v___x_19258_; lean_object* v___x_19259_; -v___x_19256_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2); -v___x_19257_ = lean_unsigned_to_nat(1024u); -v___x_19258_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19259_ = l_Lean_Parser_leadingNode(v___x_19258_, v___x_19257_, v___x_19256_); -return v___x_19259_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4(void){ -_start: -{ -lean_object* v___x_19260_; lean_object* v___x_19261_; lean_object* v___x_19262_; -v___x_19260_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3); -v___x_19261_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0); -v___x_19262_ = l_Lean_Parser_withAntiquot(v___x_19261_, v___x_19260_); -return v___x_19262_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5(void){ -_start: -{ -lean_object* v___x_19263_; lean_object* v___x_19264_; lean_object* v___x_19265_; -v___x_19263_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4); -v___x_19264_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__12)); -v___x_19265_ = l_Lean_Parser_withCache(v___x_19264_, v___x_19263_); -return v___x_19265_; -} -} -static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId(void){ -_start: -{ -lean_object* v___x_19266_; -v___x_19266_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5); -return v___x_19266_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(lean_object* v_env_19271_, lean_object* v_opts_19272_, lean_object* v_constName_19273_){ -_start: -{ -lean_object* v___x_19274_; lean_object* v___x_19275_; -v___x_19274_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___closed__1)); -v___x_19275_ = l_Lean_Environment_evalConstCheck___redArg(v_env_19271_, v_opts_19272_, v___x_19274_, v_constName_19273_); -return v___x_19275_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe___boxed(lean_object* v_env_19276_, lean_object* v_opts_19277_, lean_object* v_constName_19278_){ -_start: -{ -lean_object* v_res_19279_; -v_res_19279_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(v_env_19276_, v_opts_19277_, v_constName_19278_); -lean_dec_ref(v_opts_19277_); -return v_res_19279_; -} -} -LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(lean_object* v_opts_19280_, lean_object* v_opt_19281_){ -_start: -{ -lean_object* v_name_19282_; lean_object* v_defValue_19283_; lean_object* v_map_19284_; lean_object* v___x_19285_; -v_name_19282_ = lean_ctor_get(v_opt_19281_, 0); -v_defValue_19283_ = lean_ctor_get(v_opt_19281_, 1); -v_map_19284_ = lean_ctor_get(v_opts_19280_, 0); -v___x_19285_ = l_Std_DTreeMap_Internal_Impl_Const_get_x3f___at___00Lean_NameMap_find_x3f_spec__0___redArg(v_map_19284_, v_name_19282_); -if (lean_obj_tag(v___x_19285_) == 0) -{ -lean_inc(v_defValue_19283_); -return v_defValue_19283_; +lean_inc(v_defValue_19143_); +return v_defValue_19143_; } else { -lean_object* v_val_19286_; -v_val_19286_ = lean_ctor_get(v___x_19285_, 0); -lean_inc(v_val_19286_); -lean_dec_ref(v___x_19285_); -if (lean_obj_tag(v_val_19286_) == 3) +lean_object* v_val_19146_; +v_val_19146_ = lean_ctor_get(v___x_19145_, 0); +lean_inc(v_val_19146_); +lean_dec_ref(v___x_19145_); +if (lean_obj_tag(v_val_19146_) == 3) { -lean_object* v_v_19287_; -v_v_19287_ = lean_ctor_get(v_val_19286_, 0); -lean_inc(v_v_19287_); -lean_dec_ref(v_val_19286_); -return v_v_19287_; +lean_object* v_v_19147_; +v_v_19147_ = lean_ctor_get(v_val_19146_, 0); +lean_inc(v_v_19147_); +lean_dec_ref(v_val_19146_); +return v_v_19147_; } else { -lean_dec(v_val_19286_); -lean_inc(v_defValue_19283_); -return v_defValue_19283_; +lean_dec(v_val_19146_); +lean_inc(v_defValue_19143_); +return v_defValue_19143_; } } } } -LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1___boxed(lean_object* v_opts_19288_, lean_object* v_opt_19289_){ +LEAN_EXPORT lean_object* l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1___boxed(lean_object* v_opts_19148_, lean_object* v_opt_19149_){ _start: { -lean_object* v_res_19290_; -v_res_19290_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v_opts_19288_, v_opt_19289_); -lean_dec_ref(v_opt_19289_); -lean_dec_ref(v_opts_19288_); -return v_res_19290_; +lean_object* v_res_19150_; +v_res_19150_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v_opts_19148_, v_opt_19149_); +lean_dec_ref(v_opt_19149_); +lean_dec_ref(v_opts_19148_); +return v_res_19150_; } } -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(lean_object* v_o_19293_, lean_object* v_k_19294_, uint8_t v_v_19295_){ +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(lean_object* v_o_19153_, lean_object* v_k_19154_, uint8_t v_v_19155_){ _start: { -lean_object* v_map_19296_; uint8_t v_hasTrace_19297_; lean_object* v___x_19299_; uint8_t v_isShared_19300_; uint8_t v_isSharedCheck_19311_; -v_map_19296_ = lean_ctor_get(v_o_19293_, 0); -v_hasTrace_19297_ = lean_ctor_get_uint8(v_o_19293_, sizeof(void*)*1); -v_isSharedCheck_19311_ = !lean_is_exclusive(v_o_19293_); -if (v_isSharedCheck_19311_ == 0) +lean_object* v_map_19156_; uint8_t v_hasTrace_19157_; lean_object* v___x_19159_; uint8_t v_isShared_19160_; uint8_t v_isSharedCheck_19171_; +v_map_19156_ = lean_ctor_get(v_o_19153_, 0); +v_hasTrace_19157_ = lean_ctor_get_uint8(v_o_19153_, sizeof(void*)*1); +v_isSharedCheck_19171_ = !lean_is_exclusive(v_o_19153_); +if (v_isSharedCheck_19171_ == 0) { -v___x_19299_ = v_o_19293_; -v_isShared_19300_ = v_isSharedCheck_19311_; -goto v_resetjp_19298_; +v___x_19159_ = v_o_19153_; +v_isShared_19160_ = v_isSharedCheck_19171_; +goto v_resetjp_19158_; } else { -lean_inc(v_map_19296_); -lean_dec(v_o_19293_); -v___x_19299_ = lean_box(0); -v_isShared_19300_ = v_isSharedCheck_19311_; -goto v_resetjp_19298_; +lean_inc(v_map_19156_); +lean_dec(v_o_19153_); +v___x_19159_ = lean_box(0); +v_isShared_19160_ = v_isSharedCheck_19171_; +goto v_resetjp_19158_; } -v_resetjp_19298_: +v_resetjp_19158_: { -lean_object* v___x_19301_; lean_object* v___x_19302_; -v___x_19301_ = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(v___x_19301_, 0, v_v_19295_); -lean_inc(v_k_19294_); -v___x_19302_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_19294_, v___x_19301_, v_map_19296_); -if (v_hasTrace_19297_ == 0) +lean_object* v___x_19161_; lean_object* v___x_19162_; +v___x_19161_ = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(v___x_19161_, 0, v_v_19155_); +lean_inc(v_k_19154_); +v___x_19162_ = l_Std_DTreeMap_Internal_Impl_insert___at___00Lean_NameMap_insert_spec__0___redArg(v_k_19154_, v___x_19161_, v_map_19156_); +if (v_hasTrace_19157_ == 0) { -lean_object* v___x_19303_; uint8_t v___x_19304_; lean_object* v___x_19306_; -v___x_19303_ = ((lean_object*)(l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0___closed__0)); -v___x_19304_ = l_Lean_Name_isPrefixOf(v___x_19303_, v_k_19294_); -lean_dec(v_k_19294_); -if (v_isShared_19300_ == 0) +lean_object* v___x_19163_; uint8_t v___x_19164_; lean_object* v___x_19166_; +v___x_19163_ = ((lean_object*)(l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0___closed__0)); +v___x_19164_ = l_Lean_Name_isPrefixOf(v___x_19163_, v_k_19154_); +lean_dec(v_k_19154_); +if (v_isShared_19160_ == 0) { -lean_ctor_set(v___x_19299_, 0, v___x_19302_); -v___x_19306_ = v___x_19299_; -goto v_reusejp_19305_; +lean_ctor_set(v___x_19159_, 0, v___x_19162_); +v___x_19166_ = v___x_19159_; +goto v_reusejp_19165_; } else { -lean_object* v_reuseFailAlloc_19307_; -v_reuseFailAlloc_19307_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_19307_, 0, v___x_19302_); -v___x_19306_ = v_reuseFailAlloc_19307_; -goto v_reusejp_19305_; +lean_object* v_reuseFailAlloc_19167_; +v_reuseFailAlloc_19167_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_19167_, 0, v___x_19162_); +v___x_19166_ = v_reuseFailAlloc_19167_; +goto v_reusejp_19165_; } -v_reusejp_19305_: +v_reusejp_19165_: { -lean_ctor_set_uint8(v___x_19306_, sizeof(void*)*1, v___x_19304_); -return v___x_19306_; +lean_ctor_set_uint8(v___x_19166_, sizeof(void*)*1, v___x_19164_); +return v___x_19166_; } } else { -lean_object* v___x_19309_; -lean_dec(v_k_19294_); -if (v_isShared_19300_ == 0) +lean_object* v___x_19169_; +lean_dec(v_k_19154_); +if (v_isShared_19160_ == 0) { -lean_ctor_set(v___x_19299_, 0, v___x_19302_); -v___x_19309_ = v___x_19299_; -goto v_reusejp_19308_; +lean_ctor_set(v___x_19159_, 0, v___x_19162_); +v___x_19169_ = v___x_19159_; +goto v_reusejp_19168_; } else { -lean_object* v_reuseFailAlloc_19310_; -v_reuseFailAlloc_19310_ = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(v_reuseFailAlloc_19310_, 0, v___x_19302_); -lean_ctor_set_uint8(v_reuseFailAlloc_19310_, sizeof(void*)*1, v_hasTrace_19297_); -v___x_19309_ = v_reuseFailAlloc_19310_; -goto v_reusejp_19308_; +lean_object* v_reuseFailAlloc_19170_; +v_reuseFailAlloc_19170_ = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(v_reuseFailAlloc_19170_, 0, v___x_19162_); +lean_ctor_set_uint8(v_reuseFailAlloc_19170_, sizeof(void*)*1, v_hasTrace_19157_); +v___x_19169_ = v_reuseFailAlloc_19170_; +goto v_reusejp_19168_; } -v_reusejp_19308_: +v_reusejp_19168_: { -return v___x_19309_; +return v___x_19169_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0___boxed(lean_object* v_o_19312_, lean_object* v_k_19313_, lean_object* v_v_19314_){ +LEAN_EXPORT lean_object* l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0___boxed(lean_object* v_o_19172_, lean_object* v_k_19173_, lean_object* v_v_19174_){ _start: { -uint8_t v_v_boxed_19315_; lean_object* v_res_19316_; -v_v_boxed_19315_ = lean_unbox(v_v_19314_); -v_res_19316_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(v_o_19312_, v_k_19313_, v_v_boxed_19315_); -return v_res_19316_; +uint8_t v_v_boxed_19175_; lean_object* v_res_19176_; +v_v_boxed_19175_ = lean_unbox(v_v_19174_); +v_res_19176_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(v_o_19172_, v_k_19173_, v_v_boxed_19175_); +return v_res_19176_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(lean_object* v_opts_19317_, lean_object* v_opt_19318_, uint8_t v_val_19319_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(lean_object* v_opts_19177_, lean_object* v_opt_19178_, uint8_t v_val_19179_){ _start: { -lean_object* v_name_19320_; lean_object* v___x_19321_; -v_name_19320_ = lean_ctor_get(v_opt_19318_, 0); -lean_inc(v_name_19320_); -lean_dec_ref(v_opt_19318_); -v___x_19321_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(v_opts_19317_, v_name_19320_, v_val_19319_); -return v___x_19321_; +lean_object* v_name_19180_; lean_object* v___x_19181_; +v_name_19180_ = lean_ctor_get(v_opt_19178_, 0); +lean_inc(v_name_19180_); +lean_dec_ref(v_opt_19178_); +v___x_19181_ = l_Lean_Options_set___at___00Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0_spec__0(v_opts_19177_, v_name_19180_, v_val_19179_); +return v___x_19181_; } } -LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0___boxed(lean_object* v_opts_19322_, lean_object* v_opt_19323_, lean_object* v_val_19324_){ +LEAN_EXPORT lean_object* l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0___boxed(lean_object* v_opts_19182_, lean_object* v_opt_19183_, lean_object* v_val_19184_){ _start: { -uint8_t v_val_boxed_19325_; lean_object* v_res_19326_; -v_val_boxed_19325_ = lean_unbox(v_val_19324_); -v_res_19326_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_opts_19322_, v_opt_19323_, v_val_boxed_19325_); -return v_res_19326_; +uint8_t v_val_boxed_19185_; lean_object* v_res_19186_; +v_val_boxed_19185_ = lean_unbox(v_val_19184_); +v_res_19186_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_opts_19182_, v_opt_19183_, v_val_boxed_19185_); +return v_res_19186_; } } static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0(void){ _start: { -lean_object* v___x_19327_; -v___x_19327_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return v___x_19327_; +lean_object* v___x_19187_; +v___x_19187_ = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return v___x_19187_; } } static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1(void){ _start: { -lean_object* v___x_19328_; lean_object* v___x_19329_; -v___x_19328_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0); -v___x_19329_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19329_, 0, v___x_19328_); -return v___x_19329_; +lean_object* v___x_19188_; lean_object* v___x_19189_; +v___x_19188_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__0); +v___x_19189_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19189_, 0, v___x_19188_); +return v___x_19189_; } } static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2(void){ _start: { -lean_object* v___x_19330_; lean_object* v___x_19331_; -v___x_19330_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1); -v___x_19331_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_19331_, 0, v___x_19330_); -lean_ctor_set(v___x_19331_, 1, v___x_19330_); -return v___x_19331_; +lean_object* v___x_19190_; lean_object* v___x_19191_; +v___x_19190_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__1); +v___x_19191_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_19191_, 0, v___x_19190_); +lean_ctor_set(v___x_19191_, 1, v___x_19190_); +return v___x_19191_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(lean_object* v_a_19332_, lean_object* v_a_19333_, lean_object* v_a_19334_, lean_object* v_a_19335_, lean_object* v_a_19336_, lean_object* v_a_19337_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(lean_object* v_a_19192_, lean_object* v_a_19193_, lean_object* v_a_19194_, lean_object* v_a_19195_, lean_object* v_a_19196_, lean_object* v_a_19197_){ _start: { -lean_object* v___x_19339_; lean_object* v_fileName_19340_; lean_object* v_fileMap_19341_; lean_object* v_options_19342_; lean_object* v_currRecDepth_19343_; lean_object* v_ref_19344_; lean_object* v_currNamespace_19345_; lean_object* v_openDecls_19346_; lean_object* v_initHeartbeats_19347_; lean_object* v_maxHeartbeats_19348_; lean_object* v_quotContext_19349_; lean_object* v_currMacroScope_19350_; lean_object* v_cancelTk_x3f_19351_; uint8_t v_suppressElabErrors_19352_; lean_object* v_inheritedTraceOptions_19353_; lean_object* v___x_19355_; uint8_t v_isShared_19356_; uint8_t v_isSharedCheck_19407_; -v___x_19339_ = lean_st_ref_get(v_a_19337_); -v_fileName_19340_ = lean_ctor_get(v_a_19336_, 0); -v_fileMap_19341_ = lean_ctor_get(v_a_19336_, 1); -v_options_19342_ = lean_ctor_get(v_a_19336_, 2); -v_currRecDepth_19343_ = lean_ctor_get(v_a_19336_, 3); -v_ref_19344_ = lean_ctor_get(v_a_19336_, 5); -v_currNamespace_19345_ = lean_ctor_get(v_a_19336_, 6); -v_openDecls_19346_ = lean_ctor_get(v_a_19336_, 7); -v_initHeartbeats_19347_ = lean_ctor_get(v_a_19336_, 8); -v_maxHeartbeats_19348_ = lean_ctor_get(v_a_19336_, 9); -v_quotContext_19349_ = lean_ctor_get(v_a_19336_, 10); -v_currMacroScope_19350_ = lean_ctor_get(v_a_19336_, 11); -v_cancelTk_x3f_19351_ = lean_ctor_get(v_a_19336_, 12); -v_suppressElabErrors_19352_ = lean_ctor_get_uint8(v_a_19336_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_19353_ = lean_ctor_get(v_a_19336_, 13); -v_isSharedCheck_19407_ = !lean_is_exclusive(v_a_19336_); -if (v_isSharedCheck_19407_ == 0) +lean_object* v___x_19199_; lean_object* v_fileName_19200_; lean_object* v_fileMap_19201_; lean_object* v_options_19202_; lean_object* v_currRecDepth_19203_; lean_object* v_ref_19204_; lean_object* v_currNamespace_19205_; lean_object* v_openDecls_19206_; lean_object* v_initHeartbeats_19207_; lean_object* v_maxHeartbeats_19208_; lean_object* v_quotContext_19209_; lean_object* v_currMacroScope_19210_; lean_object* v_cancelTk_x3f_19211_; uint8_t v_suppressElabErrors_19212_; lean_object* v_inheritedTraceOptions_19213_; lean_object* v___x_19215_; uint8_t v_isShared_19216_; uint8_t v_isSharedCheck_19267_; +v___x_19199_ = lean_st_ref_get(v_a_19197_); +v_fileName_19200_ = lean_ctor_get(v_a_19196_, 0); +v_fileMap_19201_ = lean_ctor_get(v_a_19196_, 1); +v_options_19202_ = lean_ctor_get(v_a_19196_, 2); +v_currRecDepth_19203_ = lean_ctor_get(v_a_19196_, 3); +v_ref_19204_ = lean_ctor_get(v_a_19196_, 5); +v_currNamespace_19205_ = lean_ctor_get(v_a_19196_, 6); +v_openDecls_19206_ = lean_ctor_get(v_a_19196_, 7); +v_initHeartbeats_19207_ = lean_ctor_get(v_a_19196_, 8); +v_maxHeartbeats_19208_ = lean_ctor_get(v_a_19196_, 9); +v_quotContext_19209_ = lean_ctor_get(v_a_19196_, 10); +v_currMacroScope_19210_ = lean_ctor_get(v_a_19196_, 11); +v_cancelTk_x3f_19211_ = lean_ctor_get(v_a_19196_, 12); +v_suppressElabErrors_19212_ = lean_ctor_get_uint8(v_a_19196_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_19213_ = lean_ctor_get(v_a_19196_, 13); +v_isSharedCheck_19267_ = !lean_is_exclusive(v_a_19196_); +if (v_isSharedCheck_19267_ == 0) { -lean_object* v_unused_19408_; -v_unused_19408_ = lean_ctor_get(v_a_19336_, 4); -lean_dec(v_unused_19408_); -v___x_19355_ = v_a_19336_; -v_isShared_19356_ = v_isSharedCheck_19407_; -goto v_resetjp_19354_; +lean_object* v_unused_19268_; +v_unused_19268_ = lean_ctor_get(v_a_19196_, 4); +lean_dec(v_unused_19268_); +v___x_19215_ = v_a_19196_; +v_isShared_19216_ = v_isSharedCheck_19267_; +goto v_resetjp_19214_; } else { -lean_inc(v_inheritedTraceOptions_19353_); -lean_inc(v_cancelTk_x3f_19351_); -lean_inc(v_currMacroScope_19350_); -lean_inc(v_quotContext_19349_); -lean_inc(v_maxHeartbeats_19348_); -lean_inc(v_initHeartbeats_19347_); -lean_inc(v_openDecls_19346_); -lean_inc(v_currNamespace_19345_); -lean_inc(v_ref_19344_); -lean_inc(v_currRecDepth_19343_); -lean_inc(v_options_19342_); -lean_inc(v_fileMap_19341_); -lean_inc(v_fileName_19340_); -lean_dec(v_a_19336_); -v___x_19355_ = lean_box(0); -v_isShared_19356_ = v_isSharedCheck_19407_; -goto v_resetjp_19354_; +lean_inc(v_inheritedTraceOptions_19213_); +lean_inc(v_cancelTk_x3f_19211_); +lean_inc(v_currMacroScope_19210_); +lean_inc(v_quotContext_19209_); +lean_inc(v_maxHeartbeats_19208_); +lean_inc(v_initHeartbeats_19207_); +lean_inc(v_openDecls_19206_); +lean_inc(v_currNamespace_19205_); +lean_inc(v_ref_19204_); +lean_inc(v_currRecDepth_19203_); +lean_inc(v_options_19202_); +lean_inc(v_fileMap_19201_); +lean_inc(v_fileName_19200_); +lean_dec(v_a_19196_); +v___x_19215_ = lean_box(0); +v_isShared_19216_ = v_isSharedCheck_19267_; +goto v_resetjp_19214_; } -v_resetjp_19354_: +v_resetjp_19214_: { -lean_object* v_env_19357_; lean_object* v___x_19358_; uint8_t v___x_19359_; lean_object* v___x_19360_; lean_object* v___x_19361_; uint8_t v___x_19362_; lean_object* v_fileName_19364_; lean_object* v_fileMap_19365_; lean_object* v_currRecDepth_19366_; lean_object* v_ref_19367_; lean_object* v_currNamespace_19368_; lean_object* v_openDecls_19369_; lean_object* v_initHeartbeats_19370_; lean_object* v_maxHeartbeats_19371_; lean_object* v_quotContext_19372_; lean_object* v_currMacroScope_19373_; lean_object* v_cancelTk_x3f_19374_; uint8_t v_suppressElabErrors_19375_; lean_object* v_inheritedTraceOptions_19376_; lean_object* v___y_19377_; uint8_t v___y_19385_; uint8_t v___x_19406_; -v_env_19357_ = lean_ctor_get(v___x_19339_, 0); -lean_inc_ref(v_env_19357_); -lean_dec(v___x_19339_); -v___x_19358_ = l_Lean_pp_piBinderTypes; -v___x_19359_ = 1; -v___x_19360_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_options_19342_, v___x_19358_, v___x_19359_); -v___x_19361_ = l_Lean_diagnostics; -v___x_19362_ = l_Lean_Option_get___at___00Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals_x3f___at___00Lean_PrettyPrinter_Delaborator_delabConst_spec__2_spec__2_spec__6_spec__11_spec__15_spec__20_spec__24(v___x_19360_, v___x_19361_); -v___x_19406_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_19357_); -lean_dec_ref(v_env_19357_); -if (v___x_19406_ == 0) +lean_object* v_env_19217_; lean_object* v___x_19218_; uint8_t v___x_19219_; lean_object* v___x_19220_; lean_object* v___x_19221_; uint8_t v___x_19222_; lean_object* v_fileName_19224_; lean_object* v_fileMap_19225_; lean_object* v_currRecDepth_19226_; lean_object* v_ref_19227_; lean_object* v_currNamespace_19228_; lean_object* v_openDecls_19229_; lean_object* v_initHeartbeats_19230_; lean_object* v_maxHeartbeats_19231_; lean_object* v_quotContext_19232_; lean_object* v_currMacroScope_19233_; lean_object* v_cancelTk_x3f_19234_; uint8_t v_suppressElabErrors_19235_; lean_object* v_inheritedTraceOptions_19236_; lean_object* v___y_19237_; uint8_t v___y_19245_; uint8_t v___x_19266_; +v_env_19217_ = lean_ctor_get(v___x_19199_, 0); +lean_inc_ref(v_env_19217_); +lean_dec(v___x_19199_); +v___x_19218_ = l_Lean_pp_piBinderTypes; +v___x_19219_ = 1; +v___x_19220_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_options_19202_, v___x_19218_, v___x_19219_); +v___x_19221_ = l_Lean_diagnostics; +v___x_19222_ = l_Lean_Option_get___at___00Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals_x3f___at___00Lean_PrettyPrinter_Delaborator_delabConst_spec__2_spec__2_spec__6_spec__11_spec__15_spec__20_spec__24(v___x_19220_, v___x_19221_); +v___x_19266_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_19217_); +lean_dec_ref(v_env_19217_); +if (v___x_19266_ == 0) { -if (v___x_19362_ == 0) +if (v___x_19222_ == 0) { -v_fileName_19364_ = v_fileName_19340_; -v_fileMap_19365_ = v_fileMap_19341_; -v_currRecDepth_19366_ = v_currRecDepth_19343_; -v_ref_19367_ = v_ref_19344_; -v_currNamespace_19368_ = v_currNamespace_19345_; -v_openDecls_19369_ = v_openDecls_19346_; -v_initHeartbeats_19370_ = v_initHeartbeats_19347_; -v_maxHeartbeats_19371_ = v_maxHeartbeats_19348_; -v_quotContext_19372_ = v_quotContext_19349_; -v_currMacroScope_19373_ = v_currMacroScope_19350_; -v_cancelTk_x3f_19374_ = v_cancelTk_x3f_19351_; -v_suppressElabErrors_19375_ = v_suppressElabErrors_19352_; -v_inheritedTraceOptions_19376_ = v_inheritedTraceOptions_19353_; -v___y_19377_ = v_a_19337_; -goto v___jp_19363_; +v_fileName_19224_ = v_fileName_19200_; +v_fileMap_19225_ = v_fileMap_19201_; +v_currRecDepth_19226_ = v_currRecDepth_19203_; +v_ref_19227_ = v_ref_19204_; +v_currNamespace_19228_ = v_currNamespace_19205_; +v_openDecls_19229_ = v_openDecls_19206_; +v_initHeartbeats_19230_ = v_initHeartbeats_19207_; +v_maxHeartbeats_19231_ = v_maxHeartbeats_19208_; +v_quotContext_19232_ = v_quotContext_19209_; +v_currMacroScope_19233_ = v_currMacroScope_19210_; +v_cancelTk_x3f_19234_ = v_cancelTk_x3f_19211_; +v_suppressElabErrors_19235_ = v_suppressElabErrors_19212_; +v_inheritedTraceOptions_19236_ = v_inheritedTraceOptions_19213_; +v___y_19237_ = v_a_19197_; +goto v___jp_19223_; } else { -v___y_19385_ = v___x_19406_; -goto v___jp_19384_; +v___y_19245_ = v___x_19266_; +goto v___jp_19244_; } } else { -v___y_19385_ = v___x_19362_; -goto v___jp_19384_; +v___y_19245_ = v___x_19222_; +goto v___jp_19244_; } -v___jp_19363_: +v___jp_19223_: { -lean_object* v___x_19378_; lean_object* v___x_19379_; lean_object* v___x_19381_; -v___x_19378_ = l_Lean_maxRecDepth; -v___x_19379_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v___x_19360_, v___x_19378_); -if (v_isShared_19356_ == 0) +lean_object* v___x_19238_; lean_object* v___x_19239_; lean_object* v___x_19241_; +v___x_19238_ = l_Lean_maxRecDepth; +v___x_19239_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v___x_19220_, v___x_19238_); +if (v_isShared_19216_ == 0) { -lean_ctor_set(v___x_19355_, 13, v_inheritedTraceOptions_19376_); -lean_ctor_set(v___x_19355_, 12, v_cancelTk_x3f_19374_); -lean_ctor_set(v___x_19355_, 11, v_currMacroScope_19373_); -lean_ctor_set(v___x_19355_, 10, v_quotContext_19372_); -lean_ctor_set(v___x_19355_, 9, v_maxHeartbeats_19371_); -lean_ctor_set(v___x_19355_, 8, v_initHeartbeats_19370_); -lean_ctor_set(v___x_19355_, 7, v_openDecls_19369_); -lean_ctor_set(v___x_19355_, 6, v_currNamespace_19368_); -lean_ctor_set(v___x_19355_, 5, v_ref_19367_); -lean_ctor_set(v___x_19355_, 4, v___x_19379_); -lean_ctor_set(v___x_19355_, 3, v_currRecDepth_19366_); -lean_ctor_set(v___x_19355_, 2, v___x_19360_); -lean_ctor_set(v___x_19355_, 1, v_fileMap_19365_); -lean_ctor_set(v___x_19355_, 0, v_fileName_19364_); -v___x_19381_ = v___x_19355_; -goto v_reusejp_19380_; +lean_ctor_set(v___x_19215_, 13, v_inheritedTraceOptions_19236_); +lean_ctor_set(v___x_19215_, 12, v_cancelTk_x3f_19234_); +lean_ctor_set(v___x_19215_, 11, v_currMacroScope_19233_); +lean_ctor_set(v___x_19215_, 10, v_quotContext_19232_); +lean_ctor_set(v___x_19215_, 9, v_maxHeartbeats_19231_); +lean_ctor_set(v___x_19215_, 8, v_initHeartbeats_19230_); +lean_ctor_set(v___x_19215_, 7, v_openDecls_19229_); +lean_ctor_set(v___x_19215_, 6, v_currNamespace_19228_); +lean_ctor_set(v___x_19215_, 5, v_ref_19227_); +lean_ctor_set(v___x_19215_, 4, v___x_19239_); +lean_ctor_set(v___x_19215_, 3, v_currRecDepth_19226_); +lean_ctor_set(v___x_19215_, 2, v___x_19220_); +lean_ctor_set(v___x_19215_, 1, v_fileMap_19225_); +lean_ctor_set(v___x_19215_, 0, v_fileName_19224_); +v___x_19241_ = v___x_19215_; +goto v_reusejp_19240_; } else { -lean_object* v_reuseFailAlloc_19383_; -v_reuseFailAlloc_19383_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_19383_, 0, v_fileName_19364_); -lean_ctor_set(v_reuseFailAlloc_19383_, 1, v_fileMap_19365_); -lean_ctor_set(v_reuseFailAlloc_19383_, 2, v___x_19360_); -lean_ctor_set(v_reuseFailAlloc_19383_, 3, v_currRecDepth_19366_); -lean_ctor_set(v_reuseFailAlloc_19383_, 4, v___x_19379_); -lean_ctor_set(v_reuseFailAlloc_19383_, 5, v_ref_19367_); -lean_ctor_set(v_reuseFailAlloc_19383_, 6, v_currNamespace_19368_); -lean_ctor_set(v_reuseFailAlloc_19383_, 7, v_openDecls_19369_); -lean_ctor_set(v_reuseFailAlloc_19383_, 8, v_initHeartbeats_19370_); -lean_ctor_set(v_reuseFailAlloc_19383_, 9, v_maxHeartbeats_19371_); -lean_ctor_set(v_reuseFailAlloc_19383_, 10, v_quotContext_19372_); -lean_ctor_set(v_reuseFailAlloc_19383_, 11, v_currMacroScope_19373_); -lean_ctor_set(v_reuseFailAlloc_19383_, 12, v_cancelTk_x3f_19374_); -lean_ctor_set(v_reuseFailAlloc_19383_, 13, v_inheritedTraceOptions_19376_); -v___x_19381_ = v_reuseFailAlloc_19383_; -goto v_reusejp_19380_; +lean_object* v_reuseFailAlloc_19243_; +v_reuseFailAlloc_19243_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_19243_, 0, v_fileName_19224_); +lean_ctor_set(v_reuseFailAlloc_19243_, 1, v_fileMap_19225_); +lean_ctor_set(v_reuseFailAlloc_19243_, 2, v___x_19220_); +lean_ctor_set(v_reuseFailAlloc_19243_, 3, v_currRecDepth_19226_); +lean_ctor_set(v_reuseFailAlloc_19243_, 4, v___x_19239_); +lean_ctor_set(v_reuseFailAlloc_19243_, 5, v_ref_19227_); +lean_ctor_set(v_reuseFailAlloc_19243_, 6, v_currNamespace_19228_); +lean_ctor_set(v_reuseFailAlloc_19243_, 7, v_openDecls_19229_); +lean_ctor_set(v_reuseFailAlloc_19243_, 8, v_initHeartbeats_19230_); +lean_ctor_set(v_reuseFailAlloc_19243_, 9, v_maxHeartbeats_19231_); +lean_ctor_set(v_reuseFailAlloc_19243_, 10, v_quotContext_19232_); +lean_ctor_set(v_reuseFailAlloc_19243_, 11, v_currMacroScope_19233_); +lean_ctor_set(v_reuseFailAlloc_19243_, 12, v_cancelTk_x3f_19234_); +lean_ctor_set(v_reuseFailAlloc_19243_, 13, v_inheritedTraceOptions_19236_); +v___x_19241_ = v_reuseFailAlloc_19243_; +goto v_reusejp_19240_; } -v_reusejp_19380_: +v_reusejp_19240_: { -lean_object* v___x_19382_; -lean_ctor_set_uint8(v___x_19381_, sizeof(void*)*14, v___x_19362_); -lean_ctor_set_uint8(v___x_19381_, sizeof(void*)*14 + 1, v_suppressElabErrors_19375_); -v___x_19382_ = l_Lean_PrettyPrinter_Delaborator_delab(v_a_19332_, v_a_19333_, v_a_19334_, v_a_19335_, v___x_19381_, v___y_19377_); -return v___x_19382_; +lean_object* v___x_19242_; +lean_ctor_set_uint8(v___x_19241_, sizeof(void*)*14, v___x_19222_); +lean_ctor_set_uint8(v___x_19241_, sizeof(void*)*14 + 1, v_suppressElabErrors_19235_); +v___x_19242_ = l_Lean_PrettyPrinter_Delaborator_delab(v_a_19192_, v_a_19193_, v_a_19194_, v_a_19195_, v___x_19241_, v___y_19237_); +return v___x_19242_; } } -v___jp_19384_: +v___jp_19244_: { -if (v___y_19385_ == 0) +if (v___y_19245_ == 0) { -lean_object* v___x_19386_; lean_object* v_env_19387_; lean_object* v_nextMacroScope_19388_; lean_object* v_ngen_19389_; lean_object* v_auxDeclNGen_19390_; lean_object* v_traceState_19391_; lean_object* v_messages_19392_; lean_object* v_infoState_19393_; lean_object* v_snapshotTasks_19394_; lean_object* v___x_19396_; uint8_t v_isShared_19397_; uint8_t v_isSharedCheck_19404_; -v___x_19386_ = lean_st_ref_take(v_a_19337_); -v_env_19387_ = lean_ctor_get(v___x_19386_, 0); -v_nextMacroScope_19388_ = lean_ctor_get(v___x_19386_, 1); -v_ngen_19389_ = lean_ctor_get(v___x_19386_, 2); -v_auxDeclNGen_19390_ = lean_ctor_get(v___x_19386_, 3); -v_traceState_19391_ = lean_ctor_get(v___x_19386_, 4); -v_messages_19392_ = lean_ctor_get(v___x_19386_, 6); -v_infoState_19393_ = lean_ctor_get(v___x_19386_, 7); -v_snapshotTasks_19394_ = lean_ctor_get(v___x_19386_, 8); -v_isSharedCheck_19404_ = !lean_is_exclusive(v___x_19386_); -if (v_isSharedCheck_19404_ == 0) +lean_object* v___x_19246_; lean_object* v_env_19247_; lean_object* v_nextMacroScope_19248_; lean_object* v_ngen_19249_; lean_object* v_auxDeclNGen_19250_; lean_object* v_traceState_19251_; lean_object* v_messages_19252_; lean_object* v_infoState_19253_; lean_object* v_snapshotTasks_19254_; lean_object* v___x_19256_; uint8_t v_isShared_19257_; uint8_t v_isSharedCheck_19264_; +v___x_19246_ = lean_st_ref_take(v_a_19197_); +v_env_19247_ = lean_ctor_get(v___x_19246_, 0); +v_nextMacroScope_19248_ = lean_ctor_get(v___x_19246_, 1); +v_ngen_19249_ = lean_ctor_get(v___x_19246_, 2); +v_auxDeclNGen_19250_ = lean_ctor_get(v___x_19246_, 3); +v_traceState_19251_ = lean_ctor_get(v___x_19246_, 4); +v_messages_19252_ = lean_ctor_get(v___x_19246_, 6); +v_infoState_19253_ = lean_ctor_get(v___x_19246_, 7); +v_snapshotTasks_19254_ = lean_ctor_get(v___x_19246_, 8); +v_isSharedCheck_19264_ = !lean_is_exclusive(v___x_19246_); +if (v_isSharedCheck_19264_ == 0) { -lean_object* v_unused_19405_; -v_unused_19405_ = lean_ctor_get(v___x_19386_, 5); -lean_dec(v_unused_19405_); -v___x_19396_ = v___x_19386_; -v_isShared_19397_ = v_isSharedCheck_19404_; -goto v_resetjp_19395_; +lean_object* v_unused_19265_; +v_unused_19265_ = lean_ctor_get(v___x_19246_, 5); +lean_dec(v_unused_19265_); +v___x_19256_ = v___x_19246_; +v_isShared_19257_ = v_isSharedCheck_19264_; +goto v_resetjp_19255_; } else { -lean_inc(v_snapshotTasks_19394_); -lean_inc(v_infoState_19393_); -lean_inc(v_messages_19392_); -lean_inc(v_traceState_19391_); -lean_inc(v_auxDeclNGen_19390_); -lean_inc(v_ngen_19389_); -lean_inc(v_nextMacroScope_19388_); -lean_inc(v_env_19387_); -lean_dec(v___x_19386_); -v___x_19396_ = lean_box(0); -v_isShared_19397_ = v_isSharedCheck_19404_; -goto v_resetjp_19395_; +lean_inc(v_snapshotTasks_19254_); +lean_inc(v_infoState_19253_); +lean_inc(v_messages_19252_); +lean_inc(v_traceState_19251_); +lean_inc(v_auxDeclNGen_19250_); +lean_inc(v_ngen_19249_); +lean_inc(v_nextMacroScope_19248_); +lean_inc(v_env_19247_); +lean_dec(v___x_19246_); +v___x_19256_ = lean_box(0); +v_isShared_19257_ = v_isSharedCheck_19264_; +goto v_resetjp_19255_; } -v_resetjp_19395_: +v_resetjp_19255_: { -lean_object* v___x_19398_; lean_object* v___x_19399_; lean_object* v___x_19401_; -v___x_19398_ = l_Lean_Kernel_enableDiag(v_env_19387_, v___x_19362_); -v___x_19399_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2); -if (v_isShared_19397_ == 0) +lean_object* v___x_19258_; lean_object* v___x_19259_; lean_object* v___x_19261_; +v___x_19258_ = l_Lean_Kernel_enableDiag(v_env_19247_, v___x_19222_); +v___x_19259_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2); +if (v_isShared_19257_ == 0) { -lean_ctor_set(v___x_19396_, 5, v___x_19399_); -lean_ctor_set(v___x_19396_, 0, v___x_19398_); -v___x_19401_ = v___x_19396_; -goto v_reusejp_19400_; +lean_ctor_set(v___x_19256_, 5, v___x_19259_); +lean_ctor_set(v___x_19256_, 0, v___x_19258_); +v___x_19261_ = v___x_19256_; +goto v_reusejp_19260_; } else { -lean_object* v_reuseFailAlloc_19403_; -v_reuseFailAlloc_19403_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_19403_, 0, v___x_19398_); -lean_ctor_set(v_reuseFailAlloc_19403_, 1, v_nextMacroScope_19388_); -lean_ctor_set(v_reuseFailAlloc_19403_, 2, v_ngen_19389_); -lean_ctor_set(v_reuseFailAlloc_19403_, 3, v_auxDeclNGen_19390_); -lean_ctor_set(v_reuseFailAlloc_19403_, 4, v_traceState_19391_); -lean_ctor_set(v_reuseFailAlloc_19403_, 5, v___x_19399_); -lean_ctor_set(v_reuseFailAlloc_19403_, 6, v_messages_19392_); -lean_ctor_set(v_reuseFailAlloc_19403_, 7, v_infoState_19393_); -lean_ctor_set(v_reuseFailAlloc_19403_, 8, v_snapshotTasks_19394_); -v___x_19401_ = v_reuseFailAlloc_19403_; -goto v_reusejp_19400_; +lean_object* v_reuseFailAlloc_19263_; +v_reuseFailAlloc_19263_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_19263_, 0, v___x_19258_); +lean_ctor_set(v_reuseFailAlloc_19263_, 1, v_nextMacroScope_19248_); +lean_ctor_set(v_reuseFailAlloc_19263_, 2, v_ngen_19249_); +lean_ctor_set(v_reuseFailAlloc_19263_, 3, v_auxDeclNGen_19250_); +lean_ctor_set(v_reuseFailAlloc_19263_, 4, v_traceState_19251_); +lean_ctor_set(v_reuseFailAlloc_19263_, 5, v___x_19259_); +lean_ctor_set(v_reuseFailAlloc_19263_, 6, v_messages_19252_); +lean_ctor_set(v_reuseFailAlloc_19263_, 7, v_infoState_19253_); +lean_ctor_set(v_reuseFailAlloc_19263_, 8, v_snapshotTasks_19254_); +v___x_19261_ = v_reuseFailAlloc_19263_; +goto v_reusejp_19260_; } -v_reusejp_19400_: +v_reusejp_19260_: { -lean_object* v___x_19402_; -v___x_19402_ = lean_st_ref_set(v_a_19337_, v___x_19401_); -v_fileName_19364_ = v_fileName_19340_; -v_fileMap_19365_ = v_fileMap_19341_; -v_currRecDepth_19366_ = v_currRecDepth_19343_; -v_ref_19367_ = v_ref_19344_; -v_currNamespace_19368_ = v_currNamespace_19345_; -v_openDecls_19369_ = v_openDecls_19346_; -v_initHeartbeats_19370_ = v_initHeartbeats_19347_; -v_maxHeartbeats_19371_ = v_maxHeartbeats_19348_; -v_quotContext_19372_ = v_quotContext_19349_; -v_currMacroScope_19373_ = v_currMacroScope_19350_; -v_cancelTk_x3f_19374_ = v_cancelTk_x3f_19351_; -v_suppressElabErrors_19375_ = v_suppressElabErrors_19352_; -v_inheritedTraceOptions_19376_ = v_inheritedTraceOptions_19353_; -v___y_19377_ = v_a_19337_; -goto v___jp_19363_; +lean_object* v___x_19262_; +v___x_19262_ = lean_st_ref_set(v_a_19197_, v___x_19261_); +v_fileName_19224_ = v_fileName_19200_; +v_fileMap_19225_ = v_fileMap_19201_; +v_currRecDepth_19226_ = v_currRecDepth_19203_; +v_ref_19227_ = v_ref_19204_; +v_currNamespace_19228_ = v_currNamespace_19205_; +v_openDecls_19229_ = v_openDecls_19206_; +v_initHeartbeats_19230_ = v_initHeartbeats_19207_; +v_maxHeartbeats_19231_ = v_maxHeartbeats_19208_; +v_quotContext_19232_ = v_quotContext_19209_; +v_currMacroScope_19233_ = v_currMacroScope_19210_; +v_cancelTk_x3f_19234_ = v_cancelTk_x3f_19211_; +v_suppressElabErrors_19235_ = v_suppressElabErrors_19212_; +v_inheritedTraceOptions_19236_ = v_inheritedTraceOptions_19213_; +v___y_19237_ = v_a_19197_; +goto v___jp_19223_; } } } else { -v_fileName_19364_ = v_fileName_19340_; -v_fileMap_19365_ = v_fileMap_19341_; -v_currRecDepth_19366_ = v_currRecDepth_19343_; -v_ref_19367_ = v_ref_19344_; -v_currNamespace_19368_ = v_currNamespace_19345_; -v_openDecls_19369_ = v_openDecls_19346_; -v_initHeartbeats_19370_ = v_initHeartbeats_19347_; -v_maxHeartbeats_19371_ = v_maxHeartbeats_19348_; -v_quotContext_19372_ = v_quotContext_19349_; -v_currMacroScope_19373_ = v_currMacroScope_19350_; -v_cancelTk_x3f_19374_ = v_cancelTk_x3f_19351_; -v_suppressElabErrors_19375_ = v_suppressElabErrors_19352_; -v_inheritedTraceOptions_19376_ = v_inheritedTraceOptions_19353_; -v___y_19377_ = v_a_19337_; -goto v___jp_19363_; +v_fileName_19224_ = v_fileName_19200_; +v_fileMap_19225_ = v_fileMap_19201_; +v_currRecDepth_19226_ = v_currRecDepth_19203_; +v_ref_19227_ = v_ref_19204_; +v_currNamespace_19228_ = v_currNamespace_19205_; +v_openDecls_19229_ = v_openDecls_19206_; +v_initHeartbeats_19230_ = v_initHeartbeats_19207_; +v_maxHeartbeats_19231_ = v_maxHeartbeats_19208_; +v_quotContext_19232_ = v_quotContext_19209_; +v_currMacroScope_19233_ = v_currMacroScope_19210_; +v_cancelTk_x3f_19234_ = v_cancelTk_x3f_19211_; +v_suppressElabErrors_19235_ = v_suppressElabErrors_19212_; +v_inheritedTraceOptions_19236_ = v_inheritedTraceOptions_19213_; +v___y_19237_ = v_a_19197_; +goto v___jp_19223_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed(lean_object* v_a_19409_, lean_object* v_a_19410_, lean_object* v_a_19411_, lean_object* v_a_19412_, lean_object* v_a_19413_, lean_object* v_a_19414_, lean_object* v_a_19415_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed(lean_object* v_a_19269_, lean_object* v_a_19270_, lean_object* v_a_19271_, lean_object* v_a_19272_, lean_object* v_a_19273_, lean_object* v_a_19274_, lean_object* v_a_19275_){ _start: { -lean_object* v_res_19416_; -v_res_19416_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v_a_19409_, v_a_19410_, v_a_19411_, v_a_19412_, v_a_19413_, v_a_19414_); -return v_res_19416_; +lean_object* v_res_19276_; +v_res_19276_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v_a_19269_, v_a_19270_, v_a_19271_, v_a_19272_, v_a_19273_, v_a_19274_); +return v_res_19276_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0(lean_object* v_k_19417_, lean_object* v_b_19418_, lean_object* v___y_19419_, lean_object* v___y_19420_, lean_object* v___y_19421_, lean_object* v___y_19422_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0(lean_object* v_k_19277_, lean_object* v_b_19278_, lean_object* v___y_19279_, lean_object* v___y_19280_, lean_object* v___y_19281_, lean_object* v___y_19282_){ _start: { -lean_object* v___x_19424_; -v___x_19424_ = lean_apply_6(v_k_19417_, v_b_19418_, v___y_19419_, v___y_19420_, v___y_19421_, v___y_19422_, lean_box(0)); -return v___x_19424_; +lean_object* v___x_19284_; +v___x_19284_ = lean_apply_6(v_k_19277_, v_b_19278_, v___y_19279_, v___y_19280_, v___y_19281_, v___y_19282_, lean_box(0)); +return v___x_19284_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0___boxed(lean_object* v_k_19425_, lean_object* v_b_19426_, lean_object* v___y_19427_, lean_object* v___y_19428_, lean_object* v___y_19429_, lean_object* v___y_19430_, lean_object* v___y_19431_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0___boxed(lean_object* v_k_19285_, lean_object* v_b_19286_, lean_object* v___y_19287_, lean_object* v___y_19288_, lean_object* v___y_19289_, lean_object* v___y_19290_, lean_object* v___y_19291_){ _start: { -lean_object* v_res_19432_; -v_res_19432_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0(v_k_19425_, v_b_19426_, v___y_19427_, v___y_19428_, v___y_19429_, v___y_19430_); -return v_res_19432_; +lean_object* v_res_19292_; +v_res_19292_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0(v_k_19285_, v_b_19286_, v___y_19287_, v___y_19288_, v___y_19289_, v___y_19290_); +return v_res_19292_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(lean_object* v_name_19433_, uint8_t v_bi_19434_, lean_object* v_type_19435_, lean_object* v_k_19436_, uint8_t v_kind_19437_, lean_object* v___y_19438_, lean_object* v___y_19439_, lean_object* v___y_19440_, lean_object* v___y_19441_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(lean_object* v_name_19293_, uint8_t v_bi_19294_, lean_object* v_type_19295_, lean_object* v_k_19296_, uint8_t v_kind_19297_, lean_object* v___y_19298_, lean_object* v___y_19299_, lean_object* v___y_19300_, lean_object* v___y_19301_){ _start: { -lean_object* v___f_19443_; lean_object* v___x_19444_; -v___f_19443_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0___boxed), 7, 1); -lean_closure_set(v___f_19443_, 0, v_k_19436_); -v___x_19444_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), v_name_19433_, v_bi_19434_, v_type_19435_, v___f_19443_, v_kind_19437_, v___y_19438_, v___y_19439_, v___y_19440_, v___y_19441_); -if (lean_obj_tag(v___x_19444_) == 0) +lean_object* v___f_19303_; lean_object* v___x_19304_; +v___f_19303_ = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___lam__0___boxed), 7, 1); +lean_closure_set(v___f_19303_, 0, v_k_19296_); +v___x_19304_ = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp(lean_box(0), v_name_19293_, v_bi_19294_, v_type_19295_, v___f_19303_, v_kind_19297_, v___y_19298_, v___y_19299_, v___y_19300_, v___y_19301_); +if (lean_obj_tag(v___x_19304_) == 0) { -lean_object* v_a_19445_; lean_object* v___x_19447_; uint8_t v_isShared_19448_; uint8_t v_isSharedCheck_19452_; -v_a_19445_ = lean_ctor_get(v___x_19444_, 0); -v_isSharedCheck_19452_ = !lean_is_exclusive(v___x_19444_); -if (v_isSharedCheck_19452_ == 0) +lean_object* v_a_19305_; lean_object* v___x_19307_; uint8_t v_isShared_19308_; uint8_t v_isSharedCheck_19312_; +v_a_19305_ = lean_ctor_get(v___x_19304_, 0); +v_isSharedCheck_19312_ = !lean_is_exclusive(v___x_19304_); +if (v_isSharedCheck_19312_ == 0) { -v___x_19447_ = v___x_19444_; -v_isShared_19448_ = v_isSharedCheck_19452_; -goto v_resetjp_19446_; +v___x_19307_ = v___x_19304_; +v_isShared_19308_ = v_isSharedCheck_19312_; +goto v_resetjp_19306_; } else { -lean_inc(v_a_19445_); -lean_dec(v___x_19444_); -v___x_19447_ = lean_box(0); -v_isShared_19448_ = v_isSharedCheck_19452_; -goto v_resetjp_19446_; +lean_inc(v_a_19305_); +lean_dec(v___x_19304_); +v___x_19307_ = lean_box(0); +v_isShared_19308_ = v_isSharedCheck_19312_; +goto v_resetjp_19306_; } -v_resetjp_19446_: +v_resetjp_19306_: { -lean_object* v___x_19450_; -if (v_isShared_19448_ == 0) +lean_object* v___x_19310_; +if (v_isShared_19308_ == 0) { -v___x_19450_ = v___x_19447_; -goto v_reusejp_19449_; +v___x_19310_ = v___x_19307_; +goto v_reusejp_19309_; } else { -lean_object* v_reuseFailAlloc_19451_; -v_reuseFailAlloc_19451_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19451_, 0, v_a_19445_); -v___x_19450_ = v_reuseFailAlloc_19451_; -goto v_reusejp_19449_; +lean_object* v_reuseFailAlloc_19311_; +v_reuseFailAlloc_19311_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19311_, 0, v_a_19305_); +v___x_19310_ = v_reuseFailAlloc_19311_; +goto v_reusejp_19309_; } -v_reusejp_19449_: +v_reusejp_19309_: { -return v___x_19450_; +return v___x_19310_; } } } else { -lean_object* v_a_19453_; lean_object* v___x_19455_; uint8_t v_isShared_19456_; uint8_t v_isSharedCheck_19460_; -v_a_19453_ = lean_ctor_get(v___x_19444_, 0); -v_isSharedCheck_19460_ = !lean_is_exclusive(v___x_19444_); -if (v_isSharedCheck_19460_ == 0) +lean_object* v_a_19313_; lean_object* v___x_19315_; uint8_t v_isShared_19316_; uint8_t v_isSharedCheck_19320_; +v_a_19313_ = lean_ctor_get(v___x_19304_, 0); +v_isSharedCheck_19320_ = !lean_is_exclusive(v___x_19304_); +if (v_isSharedCheck_19320_ == 0) { -v___x_19455_ = v___x_19444_; -v_isShared_19456_ = v_isSharedCheck_19460_; -goto v_resetjp_19454_; +v___x_19315_ = v___x_19304_; +v_isShared_19316_ = v_isSharedCheck_19320_; +goto v_resetjp_19314_; } else { -lean_inc(v_a_19453_); -lean_dec(v___x_19444_); -v___x_19455_ = lean_box(0); -v_isShared_19456_ = v_isSharedCheck_19460_; -goto v_resetjp_19454_; +lean_inc(v_a_19313_); +lean_dec(v___x_19304_); +v___x_19315_ = lean_box(0); +v_isShared_19316_ = v_isSharedCheck_19320_; +goto v_resetjp_19314_; } -v_resetjp_19454_: +v_resetjp_19314_: { -lean_object* v___x_19458_; -if (v_isShared_19456_ == 0) +lean_object* v___x_19318_; +if (v_isShared_19316_ == 0) { -v___x_19458_ = v___x_19455_; -goto v_reusejp_19457_; +v___x_19318_ = v___x_19315_; +goto v_reusejp_19317_; } else { -lean_object* v_reuseFailAlloc_19459_; -v_reuseFailAlloc_19459_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19459_, 0, v_a_19453_); -v___x_19458_ = v_reuseFailAlloc_19459_; -goto v_reusejp_19457_; +lean_object* v_reuseFailAlloc_19319_; +v_reuseFailAlloc_19319_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19319_, 0, v_a_19313_); +v___x_19318_ = v_reuseFailAlloc_19319_; +goto v_reusejp_19317_; } -v_reusejp_19457_: +v_reusejp_19317_: { -return v___x_19458_; +return v___x_19318_; } } } } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___boxed(lean_object* v_name_19461_, lean_object* v_bi_19462_, lean_object* v_type_19463_, lean_object* v_k_19464_, lean_object* v_kind_19465_, lean_object* v___y_19466_, lean_object* v___y_19467_, lean_object* v___y_19468_, lean_object* v___y_19469_, lean_object* v___y_19470_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg___boxed(lean_object* v_name_19321_, lean_object* v_bi_19322_, lean_object* v_type_19323_, lean_object* v_k_19324_, lean_object* v_kind_19325_, lean_object* v___y_19326_, lean_object* v___y_19327_, lean_object* v___y_19328_, lean_object* v___y_19329_, lean_object* v___y_19330_){ _start: { -uint8_t v_bi_boxed_19471_; uint8_t v_kind_boxed_19472_; lean_object* v_res_19473_; -v_bi_boxed_19471_ = lean_unbox(v_bi_19462_); -v_kind_boxed_19472_ = lean_unbox(v_kind_19465_); -v_res_19473_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_name_19461_, v_bi_boxed_19471_, v_type_19463_, v_k_19464_, v_kind_boxed_19472_, v___y_19466_, v___y_19467_, v___y_19468_, v___y_19469_); -return v_res_19473_; +uint8_t v_bi_boxed_19331_; uint8_t v_kind_boxed_19332_; lean_object* v_res_19333_; +v_bi_boxed_19331_ = lean_unbox(v_bi_19322_); +v_kind_boxed_19332_ = lean_unbox(v_kind_19325_); +v_res_19333_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_name_19321_, v_bi_boxed_19331_, v_type_19323_, v_k_19324_, v_kind_boxed_19332_, v___y_19326_, v___y_19327_, v___y_19328_, v___y_19329_); +return v_res_19333_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0(lean_object* v_00_u03b1_19474_, lean_object* v_name_19475_, uint8_t v_bi_19476_, lean_object* v_type_19477_, lean_object* v_k_19478_, uint8_t v_kind_19479_, lean_object* v___y_19480_, lean_object* v___y_19481_, lean_object* v___y_19482_, lean_object* v___y_19483_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0(lean_object* v_00_u03b1_19334_, lean_object* v_name_19335_, uint8_t v_bi_19336_, lean_object* v_type_19337_, lean_object* v_k_19338_, uint8_t v_kind_19339_, lean_object* v___y_19340_, lean_object* v___y_19341_, lean_object* v___y_19342_, lean_object* v___y_19343_){ _start: { -lean_object* v___x_19485_; -v___x_19485_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_name_19475_, v_bi_19476_, v_type_19477_, v_k_19478_, v_kind_19479_, v___y_19480_, v___y_19481_, v___y_19482_, v___y_19483_); -return v___x_19485_; +lean_object* v___x_19345_; +v___x_19345_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_name_19335_, v_bi_19336_, v_type_19337_, v_k_19338_, v_kind_19339_, v___y_19340_, v___y_19341_, v___y_19342_, v___y_19343_); +return v___x_19345_; } } -LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___boxed(lean_object* v_00_u03b1_19486_, lean_object* v_name_19487_, lean_object* v_bi_19488_, lean_object* v_type_19489_, lean_object* v_k_19490_, lean_object* v_kind_19491_, lean_object* v___y_19492_, lean_object* v___y_19493_, lean_object* v___y_19494_, lean_object* v___y_19495_, lean_object* v___y_19496_){ +LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___boxed(lean_object* v_00_u03b1_19346_, lean_object* v_name_19347_, lean_object* v_bi_19348_, lean_object* v_type_19349_, lean_object* v_k_19350_, lean_object* v_kind_19351_, lean_object* v___y_19352_, lean_object* v___y_19353_, lean_object* v___y_19354_, lean_object* v___y_19355_, lean_object* v___y_19356_){ _start: { -uint8_t v_bi_boxed_19497_; uint8_t v_kind_boxed_19498_; lean_object* v_res_19499_; -v_bi_boxed_19497_ = lean_unbox(v_bi_19488_); -v_kind_boxed_19498_ = lean_unbox(v_kind_19491_); -v_res_19499_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0(v_00_u03b1_19486_, v_name_19487_, v_bi_boxed_19497_, v_type_19489_, v_k_19490_, v_kind_boxed_19498_, v___y_19492_, v___y_19493_, v___y_19494_, v___y_19495_); -return v_res_19499_; +uint8_t v_bi_boxed_19357_; uint8_t v_kind_boxed_19358_; lean_object* v_res_19359_; +v_bi_boxed_19357_ = lean_unbox(v_bi_19348_); +v_kind_boxed_19358_ = lean_unbox(v_kind_19351_); +v_res_19359_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0(v_00_u03b1_19346_, v_name_19347_, v_bi_boxed_19357_, v_type_19349_, v_k_19350_, v_kind_boxed_19358_, v___y_19352_, v___y_19353_, v___y_19354_, v___y_19355_); +return v_res_19359_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0(lean_object* v_binderName_19500_, lean_object* v___y_19501_, lean_object* v___y_19502_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0(lean_object* v_binderName_19360_, lean_object* v___y_19361_, lean_object* v___y_19362_){ _start: { -lean_object* v_quotContext_19504_; lean_object* v_currMacroScope_19505_; lean_object* v___x_19506_; lean_object* v___x_19507_; -v_quotContext_19504_ = lean_ctor_get(v___y_19501_, 10); -lean_inc(v_quotContext_19504_); -v_currMacroScope_19505_ = lean_ctor_get(v___y_19501_, 11); -lean_inc(v_currMacroScope_19505_); -lean_dec_ref(v___y_19501_); -v___x_19506_ = l_Lean_addMacroScope(v_quotContext_19504_, v_binderName_19500_, v_currMacroScope_19505_); -v___x_19507_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19507_, 0, v___x_19506_); -return v___x_19507_; +lean_object* v_quotContext_19364_; lean_object* v_currMacroScope_19365_; lean_object* v___x_19366_; lean_object* v___x_19367_; +v_quotContext_19364_ = lean_ctor_get(v___y_19361_, 10); +lean_inc(v_quotContext_19364_); +v_currMacroScope_19365_ = lean_ctor_get(v___y_19361_, 11); +lean_inc(v_currMacroScope_19365_); +lean_dec_ref(v___y_19361_); +v___x_19366_ = l_Lean_addMacroScope(v_quotContext_19364_, v_binderName_19360_, v_currMacroScope_19365_); +v___x_19367_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19367_, 0, v___x_19366_); +return v___x_19367_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed(lean_object* v_binderName_19508_, lean_object* v___y_19509_, lean_object* v___y_19510_, lean_object* v___y_19511_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed(lean_object* v_binderName_19368_, lean_object* v___y_19369_, lean_object* v___y_19370_, lean_object* v___y_19371_){ _start: { -lean_object* v_res_19512_; -v_res_19512_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0(v_binderName_19508_, v___y_19509_, v___y_19510_); -lean_dec(v___y_19510_); -return v_res_19512_; +lean_object* v_res_19372_; +v_res_19372_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0(v_binderName_19368_, v___y_19369_, v___y_19370_); +lean_dec(v___y_19370_); +return v_res_19372_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1(lean_object* v_body_19515_, lean_object* v_pos_19516_, lean_object* v_opts_19517_, lean_object* v_binderName_19518_, lean_object* v_binderType_19519_, uint8_t v_binderInfo_19520_, uint8_t v___x_19521_, lean_object* v___f_19522_, lean_object* v_fvar_19523_, lean_object* v___y_19524_, lean_object* v___y_19525_, lean_object* v___y_19526_, lean_object* v___y_19527_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1(lean_object* v_body_19375_, lean_object* v_pos_19376_, lean_object* v_opts_19377_, lean_object* v_binderName_19378_, lean_object* v_binderType_19379_, uint8_t v_binderInfo_19380_, uint8_t v___x_19381_, lean_object* v___f_19382_, lean_object* v_fvar_19383_, lean_object* v___y_19384_, lean_object* v___y_19385_, lean_object* v___y_19386_, lean_object* v___y_19387_){ _start: { -lean_object* v___x_19529_; lean_object* v___x_19530_; lean_object* v___x_19531_; lean_object* v___x_19532_; -v___x_19529_ = lean_expr_instantiate1(v_body_19515_, v_fvar_19523_); -v___x_19530_ = l_Lean_SubExpr_Pos_pushBindingBody(v_pos_19516_); -v___x_19531_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_19531_, 0, v___x_19529_); -lean_ctor_set(v___x_19531_, 1, v___x_19530_); -lean_inc(v___y_19527_); -lean_inc_ref(v___y_19526_); -v___x_19532_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v_opts_19517_, v___x_19531_, v___y_19524_, v___y_19525_, v___y_19526_, v___y_19527_); -if (lean_obj_tag(v___x_19532_) == 0) +lean_object* v___x_19389_; lean_object* v___x_19390_; lean_object* v___x_19391_; lean_object* v___x_19392_; +v___x_19389_ = lean_expr_instantiate1(v_body_19375_, v_fvar_19383_); +v___x_19390_ = l_Lean_SubExpr_Pos_pushBindingBody(v_pos_19376_); +v___x_19391_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_19391_, 0, v___x_19389_); +lean_ctor_set(v___x_19391_, 1, v___x_19390_); +lean_inc(v___y_19387_); +lean_inc_ref(v___y_19386_); +v___x_19392_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v_opts_19377_, v___x_19391_, v___y_19384_, v___y_19385_, v___y_19386_, v___y_19387_); +if (lean_obj_tag(v___x_19392_) == 0) { -lean_object* v_a_19533_; lean_object* v___x_19535_; uint8_t v_isShared_19536_; uint8_t v_isSharedCheck_19584_; -v_a_19533_ = lean_ctor_get(v___x_19532_, 0); -v_isSharedCheck_19584_ = !lean_is_exclusive(v___x_19532_); -if (v_isSharedCheck_19584_ == 0) +lean_object* v_a_19393_; lean_object* v___x_19395_; uint8_t v_isShared_19396_; uint8_t v_isSharedCheck_19444_; +v_a_19393_ = lean_ctor_get(v___x_19392_, 0); +v_isSharedCheck_19444_ = !lean_is_exclusive(v___x_19392_); +if (v_isSharedCheck_19444_ == 0) { -v___x_19535_ = v___x_19532_; -v_isShared_19536_ = v_isSharedCheck_19584_; -goto v_resetjp_19534_; +v___x_19395_ = v___x_19392_; +v_isShared_19396_ = v_isSharedCheck_19444_; +goto v_resetjp_19394_; } else { -lean_inc(v_a_19533_); -lean_dec(v___x_19532_); -v___x_19535_ = lean_box(0); -v_isShared_19536_ = v_isSharedCheck_19584_; -goto v_resetjp_19534_; +lean_inc(v_a_19393_); +lean_dec(v___x_19392_); +v___x_19395_ = lean_box(0); +v_isShared_19396_ = v_isSharedCheck_19444_; +goto v_resetjp_19394_; } -v_resetjp_19534_: +v_resetjp_19394_: { -lean_object* v_fst_19537_; lean_object* v_snd_19538_; lean_object* v___x_19540_; uint8_t v_isShared_19541_; uint8_t v_isSharedCheck_19583_; -v_fst_19537_ = lean_ctor_get(v_a_19533_, 0); -v_snd_19538_ = lean_ctor_get(v_a_19533_, 1); -v_isSharedCheck_19583_ = !lean_is_exclusive(v_a_19533_); -if (v_isSharedCheck_19583_ == 0) +lean_object* v_fst_19397_; lean_object* v_snd_19398_; lean_object* v___x_19400_; uint8_t v_isShared_19401_; uint8_t v_isSharedCheck_19443_; +v_fst_19397_ = lean_ctor_get(v_a_19393_, 0); +v_snd_19398_ = lean_ctor_get(v_a_19393_, 1); +v_isSharedCheck_19443_ = !lean_is_exclusive(v_a_19393_); +if (v_isSharedCheck_19443_ == 0) { -v___x_19540_ = v_a_19533_; -v_isShared_19541_ = v_isSharedCheck_19583_; -goto v_resetjp_19539_; +v___x_19400_ = v_a_19393_; +v_isShared_19401_ = v_isSharedCheck_19443_; +goto v_resetjp_19399_; } else { -lean_inc(v_snd_19538_); -lean_inc(v_fst_19537_); -lean_dec(v_a_19533_); -v___x_19540_ = lean_box(0); -v_isShared_19541_ = v_isSharedCheck_19583_; -goto v_resetjp_19539_; +lean_inc(v_snd_19398_); +lean_inc(v_fst_19397_); +lean_dec(v_a_19393_); +v___x_19400_ = lean_box(0); +v_isShared_19401_ = v_isSharedCheck_19443_; +goto v_resetjp_19399_; } -v_resetjp_19539_: +v_resetjp_19399_: { -lean_object* v___x_19542_; lean_object* v___x_19543_; lean_object* v___x_19544_; lean_object* v___x_19545_; lean_object* v___x_19546_; lean_object* v___x_19547_; lean_object* v___x_19548_; uint8_t v___x_19560_; -v___x_19542_ = lean_unsigned_to_nat(1u); -v___x_19543_ = lean_mk_empty_array_with_capacity(v___x_19542_); -v___x_19544_ = lean_array_push(v___x_19543_, v_fvar_19523_); -v___x_19545_ = lean_expr_abstract(v_snd_19538_, v___x_19544_); -lean_dec_ref(v___x_19544_); -lean_dec(v_snd_19538_); -v___x_19546_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_ppPiPreserveNames)); -v___x_19547_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___closed__0)); -lean_inc(v_pos_19516_); -v___x_19548_ = l_Lean_PrettyPrinter_Delaborator_OptionsPerPos_insertAt(v_fst_19537_, v_pos_19516_, v___x_19546_, v___x_19547_); -v___x_19560_ = l_Lean_Name_hasMacroScopes(v_binderName_19518_); -if (v___x_19560_ == 0) +lean_object* v___x_19402_; lean_object* v___x_19403_; lean_object* v___x_19404_; lean_object* v___x_19405_; lean_object* v___x_19406_; lean_object* v___x_19407_; lean_object* v___x_19408_; uint8_t v___x_19420_; +v___x_19402_ = lean_unsigned_to_nat(1u); +v___x_19403_ = lean_mk_empty_array_with_capacity(v___x_19402_); +v___x_19404_ = lean_array_push(v___x_19403_, v_fvar_19383_); +v___x_19405_ = lean_expr_abstract(v_snd_19398_, v___x_19404_); +lean_dec_ref(v___x_19404_); +lean_dec(v_snd_19398_); +v___x_19406_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_ppPiPreserveNames)); +v___x_19407_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___closed__0)); +lean_inc(v_pos_19376_); +v___x_19408_ = l_Lean_PrettyPrinter_Delaborator_OptionsPerPos_insertAt(v_fst_19397_, v_pos_19376_, v___x_19406_, v___x_19407_); +v___x_19420_ = l_Lean_Name_hasMacroScopes(v_binderName_19378_); +if (v___x_19420_ == 0) { +if (v___x_19381_ == 0) +{ +lean_dec(v___y_19387_); +lean_dec_ref(v___y_19386_); +lean_dec_ref(v___f_19382_); +goto v___jp_19409_; +} +else +{ +if (v___x_19420_ == 0) +{ +lean_object* v___x_19421_; +lean_del_object(v___x_19400_); +lean_del_object(v___x_19395_); +lean_dec(v_binderName_19378_); +lean_dec(v_pos_19376_); +v___x_19421_ = l_Lean_Core_withFreshMacroScope___redArg(v___f_19382_, v___y_19386_, v___y_19387_); +if (lean_obj_tag(v___x_19421_) == 0) +{ +lean_object* v_a_19422_; lean_object* v___x_19424_; uint8_t v_isShared_19425_; uint8_t v_isSharedCheck_19431_; +v_a_19422_ = lean_ctor_get(v___x_19421_, 0); +v_isSharedCheck_19431_ = !lean_is_exclusive(v___x_19421_); +if (v_isSharedCheck_19431_ == 0) +{ +v___x_19424_ = v___x_19421_; +v_isShared_19425_ = v_isSharedCheck_19431_; +goto v_resetjp_19423_; +} +else +{ +lean_inc(v_a_19422_); +lean_dec(v___x_19421_); +v___x_19424_ = lean_box(0); +v_isShared_19425_ = v_isSharedCheck_19431_; +goto v_resetjp_19423_; +} +v_resetjp_19423_: +{ +lean_object* v___x_19426_; lean_object* v___x_19427_; lean_object* v___x_19429_; +v___x_19426_ = l_Lean_Expr_forallE___override(v_a_19422_, v_binderType_19379_, v___x_19405_, v_binderInfo_19380_); +v___x_19427_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_19427_, 0, v___x_19408_); +lean_ctor_set(v___x_19427_, 1, v___x_19426_); +if (v_isShared_19425_ == 0) +{ +lean_ctor_set(v___x_19424_, 0, v___x_19427_); +v___x_19429_ = v___x_19424_; +goto v_reusejp_19428_; +} +else +{ +lean_object* v_reuseFailAlloc_19430_; +v_reuseFailAlloc_19430_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19430_, 0, v___x_19427_); +v___x_19429_ = v_reuseFailAlloc_19430_; +goto v_reusejp_19428_; +} +v_reusejp_19428_: +{ +return v___x_19429_; +} +} +} +else +{ +lean_object* v_a_19432_; lean_object* v___x_19434_; uint8_t v_isShared_19435_; uint8_t v_isSharedCheck_19439_; +lean_dec(v___x_19408_); +lean_dec_ref(v___x_19405_); +lean_dec_ref(v_binderType_19379_); +v_a_19432_ = lean_ctor_get(v___x_19421_, 0); +v_isSharedCheck_19439_ = !lean_is_exclusive(v___x_19421_); +if (v_isSharedCheck_19439_ == 0) +{ +v___x_19434_ = v___x_19421_; +v_isShared_19435_ = v_isSharedCheck_19439_; +goto v_resetjp_19433_; +} +else +{ +lean_inc(v_a_19432_); +lean_dec(v___x_19421_); +v___x_19434_ = lean_box(0); +v_isShared_19435_ = v_isSharedCheck_19439_; +goto v_resetjp_19433_; +} +v_resetjp_19433_: +{ +lean_object* v___x_19437_; +if (v_isShared_19435_ == 0) +{ +v___x_19437_ = v___x_19434_; +goto v_reusejp_19436_; +} +else +{ +lean_object* v_reuseFailAlloc_19438_; +v_reuseFailAlloc_19438_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19438_, 0, v_a_19432_); +v___x_19437_ = v_reuseFailAlloc_19438_; +goto v_reusejp_19436_; +} +v_reusejp_19436_: +{ +return v___x_19437_; +} +} +} +} +else +{ +lean_dec(v___y_19387_); +lean_dec_ref(v___y_19386_); +lean_dec_ref(v___f_19382_); +goto v___jp_19409_; +} +} +} +else +{ +lean_object* v___x_19440_; lean_object* v___x_19441_; lean_object* v___x_19442_; +lean_del_object(v___x_19400_); +lean_del_object(v___x_19395_); +lean_dec(v___y_19387_); +lean_dec_ref(v___y_19386_); +lean_dec_ref(v___f_19382_); +lean_dec(v_pos_19376_); +v___x_19440_ = l_Lean_Expr_forallE___override(v_binderName_19378_, v_binderType_19379_, v___x_19405_, v_binderInfo_19380_); +v___x_19441_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_19441_, 0, v___x_19408_); +lean_ctor_set(v___x_19441_, 1, v___x_19440_); +v___x_19442_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19442_, 0, v___x_19441_); +return v___x_19442_; +} +v___jp_19409_: +{ +lean_object* v___x_19410_; lean_object* v_name_19411_; lean_object* v___x_19412_; lean_object* v___x_19413_; lean_object* v___x_19415_; +v___x_19410_ = l_Lean_pp_piBinderNames; +v_name_19411_ = lean_ctor_get(v___x_19410_, 0); +lean_inc(v_name_19411_); +v___x_19412_ = l_Lean_PrettyPrinter_Delaborator_OptionsPerPos_insertAt(v___x_19408_, v_pos_19376_, v_name_19411_, v___x_19407_); +v___x_19413_ = l_Lean_Expr_forallE___override(v_binderName_19378_, v_binderType_19379_, v___x_19405_, v_binderInfo_19380_); +if (v_isShared_19401_ == 0) +{ +lean_ctor_set(v___x_19400_, 1, v___x_19413_); +lean_ctor_set(v___x_19400_, 0, v___x_19412_); +v___x_19415_ = v___x_19400_; +goto v_reusejp_19414_; +} +else +{ +lean_object* v_reuseFailAlloc_19419_; +v_reuseFailAlloc_19419_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_19419_, 0, v___x_19412_); +lean_ctor_set(v_reuseFailAlloc_19419_, 1, v___x_19413_); +v___x_19415_ = v_reuseFailAlloc_19419_; +goto v_reusejp_19414_; +} +v_reusejp_19414_: +{ +lean_object* v___x_19417_; +if (v_isShared_19396_ == 0) +{ +lean_ctor_set(v___x_19395_, 0, v___x_19415_); +v___x_19417_ = v___x_19395_; +goto v_reusejp_19416_; +} +else +{ +lean_object* v_reuseFailAlloc_19418_; +v_reuseFailAlloc_19418_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19418_, 0, v___x_19415_); +v___x_19417_ = v_reuseFailAlloc_19418_; +goto v_reusejp_19416_; +} +v_reusejp_19416_: +{ +return v___x_19417_; +} +} +} +} +} +} +else +{ +lean_dec(v___y_19387_); +lean_dec_ref(v___y_19386_); +lean_dec_ref(v_fvar_19383_); +lean_dec_ref(v___f_19382_); +lean_dec_ref(v_binderType_19379_); +lean_dec(v_binderName_19378_); +lean_dec(v_pos_19376_); +return v___x_19392_; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___boxed(lean_object* v_body_19445_, lean_object* v_pos_19446_, lean_object* v_opts_19447_, lean_object* v_binderName_19448_, lean_object* v_binderType_19449_, lean_object* v_binderInfo_19450_, lean_object* v___x_19451_, lean_object* v___f_19452_, lean_object* v_fvar_19453_, lean_object* v___y_19454_, lean_object* v___y_19455_, lean_object* v___y_19456_, lean_object* v___y_19457_, lean_object* v___y_19458_){ +_start: +{ +uint8_t v_binderInfo_2673__boxed_19459_; uint8_t v___x_2674__boxed_19460_; lean_object* v_res_19461_; +v_binderInfo_2673__boxed_19459_ = lean_unbox(v_binderInfo_19450_); +v___x_2674__boxed_19460_ = lean_unbox(v___x_19451_); +v_res_19461_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1(v_body_19445_, v_pos_19446_, v_opts_19447_, v_binderName_19448_, v_binderType_19449_, v_binderInfo_2673__boxed_19459_, v___x_2674__boxed_19460_, v___f_19452_, v_fvar_19453_, v___y_19454_, v___y_19455_, v___y_19456_, v___y_19457_); +lean_dec_ref(v_body_19445_); +return v_res_19461_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(lean_object* v_opts_19462_, lean_object* v_subExpr_19463_, lean_object* v_a_19464_, lean_object* v_a_19465_, lean_object* v_a_19466_, lean_object* v_a_19467_){ +_start: +{ +lean_object* v_expr_19469_; +v_expr_19469_ = lean_ctor_get(v_subExpr_19463_, 0); +lean_inc_ref(v_expr_19469_); +if (lean_obj_tag(v_expr_19469_) == 7) +{ +lean_object* v_pos_19470_; lean_object* v_binderName_19471_; lean_object* v_binderType_19472_; lean_object* v_body_19473_; uint8_t v_binderInfo_19474_; lean_object* v_lctx_19475_; lean_object* v___f_19476_; uint8_t v___x_19477_; lean_object* v___x_19478_; lean_object* v___x_19479_; lean_object* v___f_19480_; uint8_t v___x_19481_; lean_object* v___x_19482_; +v_pos_19470_ = lean_ctor_get(v_subExpr_19463_, 1); +lean_inc(v_pos_19470_); +lean_dec_ref(v_subExpr_19463_); +v_binderName_19471_ = lean_ctor_get(v_expr_19469_, 0); +lean_inc(v_binderName_19471_); +v_binderType_19472_ = lean_ctor_get(v_expr_19469_, 1); +lean_inc_ref(v_binderType_19472_); +v_body_19473_ = lean_ctor_get(v_expr_19469_, 2); +lean_inc_ref(v_body_19473_); +v_binderInfo_19474_ = lean_ctor_get_uint8(v_expr_19469_, sizeof(void*)*3 + 8); +lean_dec_ref(v_expr_19469_); +v_lctx_19475_ = lean_ctor_get(v_a_19464_, 2); +lean_inc(v_binderName_19471_); +v___f_19476_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed), 4, 1); +lean_closure_set(v___f_19476_, 0, v_binderName_19471_); +v___x_19477_ = l_Lean_LocalContext_usesUserName(v_lctx_19475_, v_binderName_19471_); +v___x_19478_ = lean_box(v_binderInfo_19474_); +v___x_19479_ = lean_box(v___x_19477_); +lean_inc_ref(v_binderType_19472_); +lean_inc(v_binderName_19471_); +v___f_19480_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___boxed), 14, 8); +lean_closure_set(v___f_19480_, 0, v_body_19473_); +lean_closure_set(v___f_19480_, 1, v_pos_19470_); +lean_closure_set(v___f_19480_, 2, v_opts_19462_); +lean_closure_set(v___f_19480_, 3, v_binderName_19471_); +lean_closure_set(v___f_19480_, 4, v_binderType_19472_); +lean_closure_set(v___f_19480_, 5, v___x_19478_); +lean_closure_set(v___f_19480_, 6, v___x_19479_); +lean_closure_set(v___f_19480_, 7, v___f_19476_); +v___x_19481_ = 0; +v___x_19482_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_binderName_19471_, v_binderInfo_19474_, v_binderType_19472_, v___f_19480_, v___x_19481_, v_a_19464_, v_a_19465_, v_a_19466_, v_a_19467_); +return v___x_19482_; +} +else +{ +lean_object* v___x_19484_; uint8_t v_isShared_19485_; uint8_t v_isSharedCheck_19490_; +lean_dec(v_a_19467_); +lean_dec_ref(v_a_19466_); +lean_dec(v_a_19465_); +lean_dec_ref(v_a_19464_); +v_isSharedCheck_19490_ = !lean_is_exclusive(v_subExpr_19463_); +if (v_isSharedCheck_19490_ == 0) +{ +lean_object* v_unused_19491_; lean_object* v_unused_19492_; +v_unused_19491_ = lean_ctor_get(v_subExpr_19463_, 1); +lean_dec(v_unused_19491_); +v_unused_19492_ = lean_ctor_get(v_subExpr_19463_, 0); +lean_dec(v_unused_19492_); +v___x_19484_ = v_subExpr_19463_; +v_isShared_19485_ = v_isSharedCheck_19490_; +goto v_resetjp_19483_; +} +else +{ +lean_dec(v_subExpr_19463_); +v___x_19484_ = lean_box(0); +v_isShared_19485_ = v_isSharedCheck_19490_; +goto v_resetjp_19483_; +} +v_resetjp_19483_: +{ +lean_object* v___x_19487_; +if (v_isShared_19485_ == 0) +{ +lean_ctor_set(v___x_19484_, 1, v_expr_19469_); +lean_ctor_set(v___x_19484_, 0, v_opts_19462_); +v___x_19487_ = v___x_19484_; +goto v_reusejp_19486_; +} +else +{ +lean_object* v_reuseFailAlloc_19489_; +v_reuseFailAlloc_19489_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_19489_, 0, v_opts_19462_); +lean_ctor_set(v_reuseFailAlloc_19489_, 1, v_expr_19469_); +v___x_19487_ = v_reuseFailAlloc_19489_; +goto v_reusejp_19486_; +} +v_reusejp_19486_: +{ +lean_object* v___x_19488_; +v___x_19488_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19488_, 0, v___x_19487_); +return v___x_19488_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___boxed(lean_object* v_opts_19493_, lean_object* v_subExpr_19494_, lean_object* v_a_19495_, lean_object* v_a_19496_, lean_object* v_a_19497_, lean_object* v_a_19498_, lean_object* v_a_19499_){ +_start: +{ +lean_object* v_res_19500_; +v_res_19500_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v_opts_19493_, v_subExpr_19494_, v_a_19495_, v_a_19496_, v_a_19497_, v_a_19498_); +return v_res_19500_; +} +} +LEAN_EXPORT uint8_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(lean_object* v_bindingNames_19501_, lean_object* v_e_19502_, lean_object* v_e_x27_19503_){ +_start: +{ +uint8_t v___y_19505_; uint8_t v___x_19515_; uint8_t v___y_19517_; +v___x_19515_ = l_Lean_Expr_isForall(v_e_x27_19503_); +if (v___x_19515_ == 0) +{ +v___y_19505_ = v___x_19515_; +goto v___jp_19504_; +} +else +{ +uint8_t v___x_19519_; +v___x_19519_ = l_Lean_Expr_isArrow(v_e_x27_19503_); +if (v___x_19519_ == 0) +{ +v___y_19505_ = v___x_19515_; +goto v___jp_19504_; +} +else +{ +lean_object* v___x_19520_; uint8_t v___x_19521_; +v___x_19520_ = l_Lean_Expr_bindingName_x21(v_e_x27_19503_); +v___x_19521_ = l_Lean_Name_hasMacroScopes(v___x_19520_); if (v___x_19521_ == 0) { -lean_dec(v___y_19527_); -lean_dec_ref(v___y_19526_); -lean_dec_ref(v___f_19522_); -goto v___jp_19549_; +uint8_t v___x_19522_; +v___x_19522_ = l_Lean_NameSet_contains(v_bindingNames_19501_, v___x_19520_); +lean_dec(v___x_19520_); +v___y_19517_ = v___x_19522_; +goto v___jp_19516_; } else { -if (v___x_19560_ == 0) +lean_dec(v___x_19520_); +v___y_19517_ = v___x_19521_; +goto v___jp_19516_; +} +} +} +v___jp_19504_: { -lean_object* v___x_19561_; -lean_del_object(v___x_19540_); -lean_del_object(v___x_19535_); -lean_dec(v_binderName_19518_); -lean_dec(v_pos_19516_); -v___x_19561_ = l_Lean_Core_withFreshMacroScope___redArg(v___f_19522_, v___y_19526_, v___y_19527_); -if (lean_obj_tag(v___x_19561_) == 0) +if (v___y_19505_ == 0) { -lean_object* v_a_19562_; lean_object* v___x_19564_; uint8_t v_isShared_19565_; uint8_t v_isSharedCheck_19571_; -v_a_19562_ = lean_ctor_get(v___x_19561_, 0); -v_isSharedCheck_19571_ = !lean_is_exclusive(v___x_19561_); -if (v_isSharedCheck_19571_ == 0) -{ -v___x_19564_ = v___x_19561_; -v_isShared_19565_ = v_isSharedCheck_19571_; -goto v_resetjp_19563_; +return v___y_19505_; } else { -lean_inc(v_a_19562_); -lean_dec(v___x_19561_); -v___x_19564_ = lean_box(0); -v_isShared_19565_ = v_isSharedCheck_19571_; -goto v_resetjp_19563_; -} -v_resetjp_19563_: +uint8_t v___x_19506_; uint8_t v___x_19507_; uint8_t v___x_19508_; +v___x_19506_ = l_Lean_Expr_binderInfo(v_e_19502_); +v___x_19507_ = l_Lean_Expr_binderInfo(v_e_x27_19503_); +v___x_19508_ = l_Lean_instBEqBinderInfo_beq(v___x_19506_, v___x_19507_); +if (v___x_19508_ == 0) { -lean_object* v___x_19566_; lean_object* v___x_19567_; lean_object* v___x_19569_; -v___x_19566_ = l_Lean_Expr_forallE___override(v_a_19562_, v_binderType_19519_, v___x_19545_, v_binderInfo_19520_); -v___x_19567_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_19567_, 0, v___x_19548_); -lean_ctor_set(v___x_19567_, 1, v___x_19566_); -if (v_isShared_19565_ == 0) -{ -lean_ctor_set(v___x_19564_, 0, v___x_19567_); -v___x_19569_ = v___x_19564_; -goto v_reusejp_19568_; +return v___x_19508_; } else { -lean_object* v_reuseFailAlloc_19570_; -v_reuseFailAlloc_19570_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19570_, 0, v___x_19567_); -v___x_19569_ = v_reuseFailAlloc_19570_; -goto v_reusejp_19568_; -} -v_reusejp_19568_: +lean_object* v___x_19509_; lean_object* v___x_19510_; uint8_t v___x_19511_; +v___x_19509_ = l_Lean_Expr_bindingDomain_x21(v_e_19502_); +v___x_19510_ = l_Lean_Expr_bindingDomain_x21(v_e_x27_19503_); +v___x_19511_ = lean_expr_eqv(v___x_19509_, v___x_19510_); +lean_dec_ref(v___x_19510_); +lean_dec_ref(v___x_19509_); +if (v___x_19511_ == 0) { -return v___x_19569_; -} -} +return v___x_19511_; } else { -lean_object* v_a_19572_; lean_object* v___x_19574_; uint8_t v_isShared_19575_; uint8_t v_isSharedCheck_19579_; -lean_dec(v___x_19548_); -lean_dec_ref(v___x_19545_); -lean_dec_ref(v_binderType_19519_); -v_a_19572_ = lean_ctor_get(v___x_19561_, 0); -v_isSharedCheck_19579_ = !lean_is_exclusive(v___x_19561_); -if (v_isSharedCheck_19579_ == 0) +uint8_t v___x_19512_; uint8_t v___x_19513_; +v___x_19512_ = 3; +v___x_19513_ = l_Lean_instBEqBinderInfo_beq(v___x_19507_, v___x_19512_); +if (v___x_19513_ == 0) { -v___x_19574_ = v___x_19561_; -v_isShared_19575_ = v_isSharedCheck_19579_; -goto v_resetjp_19573_; +return v___x_19511_; } else { -lean_inc(v_a_19572_); -lean_dec(v___x_19561_); -v___x_19574_ = lean_box(0); -v_isShared_19575_ = v_isSharedCheck_19579_; -goto v_resetjp_19573_; +uint8_t v___x_19514_; +v___x_19514_ = 0; +return v___x_19514_; } -v_resetjp_19573_: +} +} +} +} +v___jp_19516_: { -lean_object* v___x_19577_; -if (v_isShared_19575_ == 0) +if (v___y_19517_ == 0) { -v___x_19577_ = v___x_19574_; -goto v_reusejp_19576_; +v___y_19505_ = v___x_19515_; +goto v___jp_19504_; } else { -lean_object* v_reuseFailAlloc_19578_; -v_reuseFailAlloc_19578_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19578_, 0, v_a_19572_); -v___x_19577_ = v_reuseFailAlloc_19578_; -goto v_reusejp_19576_; -} -v_reusejp_19576_: -{ -return v___x_19577_; +uint8_t v___x_19518_; +v___x_19518_ = 0; +return v___x_19518_; } } } } -else -{ -lean_dec(v___y_19527_); -lean_dec_ref(v___y_19526_); -lean_dec_ref(v___f_19522_); -goto v___jp_19549_; -} -} -} -else -{ -lean_object* v___x_19580_; lean_object* v___x_19581_; lean_object* v___x_19582_; -lean_del_object(v___x_19540_); -lean_del_object(v___x_19535_); -lean_dec(v___y_19527_); -lean_dec_ref(v___y_19526_); -lean_dec_ref(v___f_19522_); -lean_dec(v_pos_19516_); -v___x_19580_ = l_Lean_Expr_forallE___override(v_binderName_19518_, v_binderType_19519_, v___x_19545_, v_binderInfo_19520_); -v___x_19581_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v___x_19581_, 0, v___x_19548_); -lean_ctor_set(v___x_19581_, 1, v___x_19580_); -v___x_19582_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19582_, 0, v___x_19581_); -return v___x_19582_; -} -v___jp_19549_: -{ -lean_object* v___x_19550_; lean_object* v_name_19551_; lean_object* v___x_19552_; lean_object* v___x_19553_; lean_object* v___x_19555_; -v___x_19550_ = l_Lean_pp_piBinderNames; -v_name_19551_ = lean_ctor_get(v___x_19550_, 0); -lean_inc(v_name_19551_); -v___x_19552_ = l_Lean_PrettyPrinter_Delaborator_OptionsPerPos_insertAt(v___x_19548_, v_pos_19516_, v_name_19551_, v___x_19547_); -v___x_19553_ = l_Lean_Expr_forallE___override(v_binderName_19518_, v_binderType_19519_, v___x_19545_, v_binderInfo_19520_); -if (v_isShared_19541_ == 0) -{ -lean_ctor_set(v___x_19540_, 1, v___x_19553_); -lean_ctor_set(v___x_19540_, 0, v___x_19552_); -v___x_19555_ = v___x_19540_; -goto v_reusejp_19554_; -} -else -{ -lean_object* v_reuseFailAlloc_19559_; -v_reuseFailAlloc_19559_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_19559_, 0, v___x_19552_); -lean_ctor_set(v_reuseFailAlloc_19559_, 1, v___x_19553_); -v___x_19555_ = v_reuseFailAlloc_19559_; -goto v_reusejp_19554_; -} -v_reusejp_19554_: -{ -lean_object* v___x_19557_; -if (v_isShared_19536_ == 0) -{ -lean_ctor_set(v___x_19535_, 0, v___x_19555_); -v___x_19557_ = v___x_19535_; -goto v_reusejp_19556_; -} -else -{ -lean_object* v_reuseFailAlloc_19558_; -v_reuseFailAlloc_19558_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19558_, 0, v___x_19555_); -v___x_19557_ = v_reuseFailAlloc_19558_; -goto v_reusejp_19556_; -} -v_reusejp_19556_: -{ -return v___x_19557_; -} -} -} -} -} -} -else -{ -lean_dec(v___y_19527_); -lean_dec_ref(v___y_19526_); -lean_dec_ref(v_fvar_19523_); -lean_dec_ref(v___f_19522_); -lean_dec_ref(v_binderType_19519_); -lean_dec(v_binderName_19518_); -lean_dec(v_pos_19516_); -return v___x_19532_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___boxed(lean_object* v_body_19585_, lean_object* v_pos_19586_, lean_object* v_opts_19587_, lean_object* v_binderName_19588_, lean_object* v_binderType_19589_, lean_object* v_binderInfo_19590_, lean_object* v___x_19591_, lean_object* v___f_19592_, lean_object* v_fvar_19593_, lean_object* v___y_19594_, lean_object* v___y_19595_, lean_object* v___y_19596_, lean_object* v___y_19597_, lean_object* v___y_19598_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext___boxed(lean_object* v_bindingNames_19523_, lean_object* v_e_19524_, lean_object* v_e_x27_19525_){ _start: { -uint8_t v_binderInfo_2673__boxed_19599_; uint8_t v___x_2674__boxed_19600_; lean_object* v_res_19601_; -v_binderInfo_2673__boxed_19599_ = lean_unbox(v_binderInfo_19590_); -v___x_2674__boxed_19600_ = lean_unbox(v___x_19591_); -v_res_19601_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1(v_body_19585_, v_pos_19586_, v_opts_19587_, v_binderName_19588_, v_binderType_19589_, v_binderInfo_2673__boxed_19599_, v___x_2674__boxed_19600_, v___f_19592_, v_fvar_19593_, v___y_19594_, v___y_19595_, v___y_19596_, v___y_19597_); -lean_dec_ref(v_body_19585_); -return v_res_19601_; +uint8_t v_res_19526_; lean_object* v_r_19527_; +v_res_19526_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(v_bindingNames_19523_, v_e_19524_, v_e_x27_19525_); +lean_dec_ref(v_e_x27_19525_); +lean_dec_ref(v_e_19524_); +lean_dec(v_bindingNames_19523_); +v_r_19527_ = lean_box(v_res_19526_); +return v_r_19527_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(lean_object* v_opts_19602_, lean_object* v_subExpr_19603_, lean_object* v_a_19604_, lean_object* v_a_19605_, lean_object* v_a_19606_, lean_object* v_a_19607_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0(lean_object* v___y_19528_, lean_object* v___y_19529_, lean_object* v___y_19530_, lean_object* v___y_19531_, lean_object* v___y_19532_, lean_object* v___y_19533_){ _start: { -lean_object* v_expr_19609_; -v_expr_19609_ = lean_ctor_get(v_subExpr_19603_, 0); -lean_inc_ref(v_expr_19609_); -if (lean_obj_tag(v_expr_19609_) == 7) +lean_object* v___x_19535_; +lean_inc_ref(v___y_19532_); +v___x_19535_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19528_, v___y_19529_, v___y_19530_, v___y_19531_, v___y_19532_, v___y_19533_); +if (lean_obj_tag(v___x_19535_) == 0) { -lean_object* v_pos_19610_; lean_object* v_binderName_19611_; lean_object* v_binderType_19612_; lean_object* v_body_19613_; uint8_t v_binderInfo_19614_; lean_object* v_lctx_19615_; lean_object* v___f_19616_; uint8_t v___x_19617_; lean_object* v___x_19618_; lean_object* v___x_19619_; lean_object* v___f_19620_; uint8_t v___x_19621_; lean_object* v___x_19622_; -v_pos_19610_ = lean_ctor_get(v_subExpr_19603_, 1); -lean_inc(v_pos_19610_); -lean_dec_ref(v_subExpr_19603_); -v_binderName_19611_ = lean_ctor_get(v_expr_19609_, 0); -lean_inc(v_binderName_19611_); -v_binderType_19612_ = lean_ctor_get(v_expr_19609_, 1); -lean_inc_ref(v_binderType_19612_); -v_body_19613_ = lean_ctor_get(v_expr_19609_, 2); -lean_inc_ref(v_body_19613_); -v_binderInfo_19614_ = lean_ctor_get_uint8(v_expr_19609_, sizeof(void*)*3 + 8); -lean_dec_ref(v_expr_19609_); -v_lctx_19615_ = lean_ctor_get(v_a_19604_, 2); -lean_inc(v_binderName_19611_); -v___f_19616_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed), 4, 1); -lean_closure_set(v___f_19616_, 0, v_binderName_19611_); -v___x_19617_ = l_Lean_LocalContext_usesUserName(v_lctx_19615_, v_binderName_19611_); -v___x_19618_ = lean_box(v_binderInfo_19614_); -v___x_19619_ = lean_box(v___x_19617_); -lean_inc_ref(v_binderType_19612_); -lean_inc(v_binderName_19611_); -v___f_19620_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__1___boxed), 14, 8); -lean_closure_set(v___f_19620_, 0, v_body_19613_); -lean_closure_set(v___f_19620_, 1, v_pos_19610_); -lean_closure_set(v___f_19620_, 2, v_opts_19602_); -lean_closure_set(v___f_19620_, 3, v_binderName_19611_); -lean_closure_set(v___f_19620_, 4, v_binderType_19612_); -lean_closure_set(v___f_19620_, 5, v___x_19618_); -lean_closure_set(v___f_19620_, 6, v___x_19619_); -lean_closure_set(v___f_19620_, 7, v___f_19616_); -v___x_19621_ = 0; -v___x_19622_ = l_Lean_Meta_withLocalDecl___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine_spec__0___redArg(v_binderName_19611_, v_binderInfo_19614_, v_binderType_19612_, v___f_19620_, v___x_19621_, v_a_19604_, v_a_19605_, v_a_19606_, v_a_19607_); -return v___x_19622_; +lean_object* v_a_19536_; lean_object* v___x_19538_; uint8_t v_isShared_19539_; uint8_t v_isSharedCheck_19555_; +v_a_19536_ = lean_ctor_get(v___x_19535_, 0); +v_isSharedCheck_19555_ = !lean_is_exclusive(v___x_19535_); +if (v_isSharedCheck_19555_ == 0) +{ +v___x_19538_ = v___x_19535_; +v_isShared_19539_ = v_isSharedCheck_19555_; +goto v_resetjp_19537_; } else { -lean_object* v___x_19624_; uint8_t v_isShared_19625_; uint8_t v_isSharedCheck_19630_; -lean_dec(v_a_19607_); -lean_dec_ref(v_a_19606_); -lean_dec(v_a_19605_); -lean_dec_ref(v_a_19604_); -v_isSharedCheck_19630_ = !lean_is_exclusive(v_subExpr_19603_); -if (v_isSharedCheck_19630_ == 0) +lean_inc(v_a_19536_); +lean_dec(v___x_19535_); +v___x_19538_ = lean_box(0); +v_isShared_19539_ = v_isSharedCheck_19555_; +goto v_resetjp_19537_; +} +v_resetjp_19537_: { -lean_object* v_unused_19631_; lean_object* v_unused_19632_; -v_unused_19631_ = lean_ctor_get(v_subExpr_19603_, 1); -lean_dec(v_unused_19631_); -v_unused_19632_ = lean_ctor_get(v_subExpr_19603_, 0); -lean_dec(v_unused_19632_); -v___x_19624_ = v_subExpr_19603_; -v_isShared_19625_ = v_isSharedCheck_19630_; -goto v_resetjp_19623_; +lean_object* v_ref_19540_; uint8_t v___x_19541_; lean_object* v___x_19542_; lean_object* v___x_19543_; lean_object* v___x_19544_; lean_object* v___x_19545_; lean_object* v___x_19546_; lean_object* v___x_19547_; lean_object* v___x_19548_; lean_object* v___x_19549_; lean_object* v___x_19550_; lean_object* v___x_19551_; lean_object* v___x_19553_; +v_ref_19540_ = lean_ctor_get(v___y_19532_, 5); +lean_inc(v_ref_19540_); +lean_dec_ref(v___y_19532_); +v___x_19541_ = 0; +v___x_19542_ = l_Lean_SourceInfo_fromRef(v_ref_19540_, v___x_19541_); +lean_dec(v_ref_19540_); +v___x_19543_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__7)); +v___x_19544_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__8)); +lean_inc(v___x_19542_); +v___x_19545_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19545_, 0, v___x_19542_); +lean_ctor_set(v___x_19545_, 1, v___x_19544_); +v___x_19546_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19547_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +lean_inc(v___x_19542_); +v___x_19548_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19548_, 0, v___x_19542_); +lean_ctor_set(v___x_19548_, 1, v___x_19546_); +lean_ctor_set(v___x_19548_, 2, v___x_19547_); +v___x_19549_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__10)); +lean_inc(v___x_19542_); +v___x_19550_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19550_, 0, v___x_19542_); +lean_ctor_set(v___x_19550_, 1, v___x_19549_); +v___x_19551_ = l_Lean_Syntax_node4(v___x_19542_, v___x_19543_, v___x_19545_, v___x_19548_, v_a_19536_, v___x_19550_); +if (v_isShared_19539_ == 0) +{ +lean_ctor_set(v___x_19538_, 0, v___x_19551_); +v___x_19553_ = v___x_19538_; +goto v_reusejp_19552_; } else { -lean_dec(v_subExpr_19603_); -v___x_19624_ = lean_box(0); -v_isShared_19625_ = v_isSharedCheck_19630_; -goto v_resetjp_19623_; +lean_object* v_reuseFailAlloc_19554_; +v_reuseFailAlloc_19554_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19554_, 0, v___x_19551_); +v___x_19553_ = v_reuseFailAlloc_19554_; +goto v_reusejp_19552_; } -v_resetjp_19623_: +v_reusejp_19552_: { -lean_object* v___x_19627_; -if (v_isShared_19625_ == 0) -{ -lean_ctor_set(v___x_19624_, 1, v_expr_19609_); -lean_ctor_set(v___x_19624_, 0, v_opts_19602_); -v___x_19627_ = v___x_19624_; -goto v_reusejp_19626_; +return v___x_19553_; +} +} } else { -lean_object* v_reuseFailAlloc_19629_; -v_reuseFailAlloc_19629_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_19629_, 0, v_opts_19602_); -lean_ctor_set(v_reuseFailAlloc_19629_, 1, v_expr_19609_); -v___x_19627_ = v_reuseFailAlloc_19629_; -goto v_reusejp_19626_; -} -v_reusejp_19626_: -{ -lean_object* v___x_19628_; -v___x_19628_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19628_, 0, v___x_19627_); -return v___x_19628_; +lean_dec_ref(v___y_19532_); +return v___x_19535_; } } } -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___boxed(lean_object* v_opts_19633_, lean_object* v_subExpr_19634_, lean_object* v_a_19635_, lean_object* v_a_19636_, lean_object* v_a_19637_, lean_object* v_a_19638_, lean_object* v_a_19639_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0___boxed(lean_object* v___y_19556_, lean_object* v___y_19557_, lean_object* v___y_19558_, lean_object* v___y_19559_, lean_object* v___y_19560_, lean_object* v___y_19561_, lean_object* v___y_19562_){ _start: { -lean_object* v_res_19640_; -v_res_19640_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v_opts_19633_, v_subExpr_19634_, v_a_19635_, v_a_19636_, v_a_19637_, v_a_19638_); -return v_res_19640_; -} -} -LEAN_EXPORT uint8_t l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(lean_object* v_bindingNames_19641_, lean_object* v_e_19642_, lean_object* v_e_x27_19643_){ -_start: -{ -uint8_t v___y_19645_; uint8_t v___x_19655_; uint8_t v___y_19657_; -v___x_19655_ = l_Lean_Expr_isForall(v_e_x27_19643_); -if (v___x_19655_ == 0) -{ -v___y_19645_ = v___x_19655_; -goto v___jp_19644_; -} -else -{ -uint8_t v___x_19659_; -v___x_19659_ = l_Lean_Expr_isArrow(v_e_x27_19643_); -if (v___x_19659_ == 0) -{ -v___y_19645_ = v___x_19655_; -goto v___jp_19644_; -} -else -{ -lean_object* v___x_19660_; uint8_t v___x_19661_; -v___x_19660_ = l_Lean_Expr_bindingName_x21(v_e_x27_19643_); -v___x_19661_ = l_Lean_Name_hasMacroScopes(v___x_19660_); -if (v___x_19661_ == 0) -{ -uint8_t v___x_19662_; -v___x_19662_ = l_Lean_NameSet_contains(v_bindingNames_19641_, v___x_19660_); -lean_dec(v___x_19660_); -v___y_19657_ = v___x_19662_; -goto v___jp_19656_; -} -else -{ -lean_dec(v___x_19660_); -v___y_19657_ = v___x_19661_; -goto v___jp_19656_; -} -} -} -v___jp_19644_: -{ -if (v___y_19645_ == 0) -{ -return v___y_19645_; -} -else -{ -uint8_t v___x_19646_; uint8_t v___x_19647_; uint8_t v___x_19648_; -v___x_19646_ = l_Lean_Expr_binderInfo(v_e_19642_); -v___x_19647_ = l_Lean_Expr_binderInfo(v_e_x27_19643_); -v___x_19648_ = l_Lean_instBEqBinderInfo_beq(v___x_19646_, v___x_19647_); -if (v___x_19648_ == 0) -{ -return v___x_19648_; -} -else -{ -lean_object* v___x_19649_; lean_object* v___x_19650_; uint8_t v___x_19651_; -v___x_19649_ = l_Lean_Expr_bindingDomain_x21(v_e_19642_); -v___x_19650_ = l_Lean_Expr_bindingDomain_x21(v_e_x27_19643_); -v___x_19651_ = lean_expr_eqv(v___x_19649_, v___x_19650_); -lean_dec_ref(v___x_19650_); -lean_dec_ref(v___x_19649_); -if (v___x_19651_ == 0) -{ -return v___x_19651_; -} -else -{ -uint8_t v___x_19652_; uint8_t v___x_19653_; -v___x_19652_ = 3; -v___x_19653_ = l_Lean_instBEqBinderInfo_beq(v___x_19647_, v___x_19652_); -if (v___x_19653_ == 0) -{ -return v___x_19651_; -} -else -{ -uint8_t v___x_19654_; -v___x_19654_ = 0; -return v___x_19654_; -} -} -} -} -} -v___jp_19656_: -{ -if (v___y_19657_ == 0) -{ -v___y_19645_ = v___x_19655_; -goto v___jp_19644_; -} -else -{ -uint8_t v___x_19658_; -v___x_19658_ = 0; -return v___x_19658_; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext___boxed(lean_object* v_bindingNames_19663_, lean_object* v_e_19664_, lean_object* v_e_x27_19665_){ -_start: -{ -uint8_t v_res_19666_; lean_object* v_r_19667_; -v_res_19666_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(v_bindingNames_19663_, v_e_19664_, v_e_x27_19665_); -lean_dec_ref(v_e_x27_19665_); -lean_dec_ref(v_e_19664_); -lean_dec(v_bindingNames_19663_); -v_r_19667_ = lean_box(v_res_19666_); -return v_r_19667_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0(lean_object* v___y_19668_, lean_object* v___y_19669_, lean_object* v___y_19670_, lean_object* v___y_19671_, lean_object* v___y_19672_, lean_object* v___y_19673_){ -_start: -{ -lean_object* v___x_19675_; -lean_inc_ref(v___y_19672_); -v___x_19675_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19668_, v___y_19669_, v___y_19670_, v___y_19671_, v___y_19672_, v___y_19673_); -if (lean_obj_tag(v___x_19675_) == 0) -{ -lean_object* v_a_19676_; lean_object* v___x_19678_; uint8_t v_isShared_19679_; uint8_t v_isSharedCheck_19695_; -v_a_19676_ = lean_ctor_get(v___x_19675_, 0); -v_isSharedCheck_19695_ = !lean_is_exclusive(v___x_19675_); -if (v_isSharedCheck_19695_ == 0) -{ -v___x_19678_ = v___x_19675_; -v_isShared_19679_ = v_isSharedCheck_19695_; -goto v_resetjp_19677_; -} -else -{ -lean_inc(v_a_19676_); -lean_dec(v___x_19675_); -v___x_19678_ = lean_box(0); -v_isShared_19679_ = v_isSharedCheck_19695_; -goto v_resetjp_19677_; -} -v_resetjp_19677_: -{ -lean_object* v_ref_19680_; uint8_t v___x_19681_; lean_object* v___x_19682_; lean_object* v___x_19683_; lean_object* v___x_19684_; lean_object* v___x_19685_; lean_object* v___x_19686_; lean_object* v___x_19687_; lean_object* v___x_19688_; lean_object* v___x_19689_; lean_object* v___x_19690_; lean_object* v___x_19691_; lean_object* v___x_19693_; -v_ref_19680_ = lean_ctor_get(v___y_19672_, 5); -lean_inc(v_ref_19680_); -lean_dec_ref(v___y_19672_); -v___x_19681_ = 0; -v___x_19682_ = l_Lean_SourceInfo_fromRef(v_ref_19680_, v___x_19681_); -lean_dec(v_ref_19680_); -v___x_19683_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__7)); -v___x_19684_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__8)); -lean_inc(v___x_19682_); -v___x_19685_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19685_, 0, v___x_19682_); -lean_ctor_set(v___x_19685_, 1, v___x_19684_); -v___x_19686_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19687_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -lean_inc(v___x_19682_); -v___x_19688_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19688_, 0, v___x_19682_); -lean_ctor_set(v___x_19688_, 1, v___x_19686_); -lean_ctor_set(v___x_19688_, 2, v___x_19687_); -v___x_19689_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__10)); -lean_inc(v___x_19682_); -v___x_19690_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19690_, 0, v___x_19682_); -lean_ctor_set(v___x_19690_, 1, v___x_19689_); -v___x_19691_ = l_Lean_Syntax_node4(v___x_19682_, v___x_19683_, v___x_19685_, v___x_19688_, v_a_19676_, v___x_19690_); -if (v_isShared_19679_ == 0) -{ -lean_ctor_set(v___x_19678_, 0, v___x_19691_); -v___x_19693_ = v___x_19678_; -goto v_reusejp_19692_; -} -else -{ -lean_object* v_reuseFailAlloc_19694_; -v_reuseFailAlloc_19694_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19694_, 0, v___x_19691_); -v___x_19693_ = v_reuseFailAlloc_19694_; -goto v_reusejp_19692_; -} -v_reusejp_19692_: -{ -return v___x_19693_; -} -} -} -else -{ -lean_dec_ref(v___y_19672_); -return v___x_19675_; -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0___boxed(lean_object* v___y_19696_, lean_object* v___y_19697_, lean_object* v___y_19698_, lean_object* v___y_19699_, lean_object* v___y_19700_, lean_object* v___y_19701_, lean_object* v___y_19702_){ -_start: -{ -lean_object* v_res_19703_; -v_res_19703_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0(v___y_19696_, v___y_19697_, v___y_19698_, v___y_19699_, v___y_19700_, v___y_19701_); -return v_res_19703_; +lean_object* v_res_19563_; +v_res_19563_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___lam__0(v___y_19556_, v___y_19557_, v___y_19558_, v___y_19559_, v___y_19560_, v___y_19561_); +return v_res_19563_; } } static lean_object* _init_l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0(void){ _start: { -lean_object* v___x_19704_; -v___x_19704_ = l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_box(0)); -return v___x_19704_; +lean_object* v___x_19564_; +v___x_19564_ = l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM(lean_box(0)); +return v___x_19564_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(lean_object* v_msg_19705_, lean_object* v___y_19706_, lean_object* v___y_19707_, lean_object* v___y_19708_, lean_object* v___y_19709_, lean_object* v___y_19710_, lean_object* v___y_19711_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(lean_object* v_msg_19565_, lean_object* v___y_19566_, lean_object* v___y_19567_, lean_object* v___y_19568_, lean_object* v___y_19569_, lean_object* v___y_19570_, lean_object* v___y_19571_){ _start: { -lean_object* v___x_19713_; lean_object* v___x_44925__overap_19714_; lean_object* v___x_19715_; -v___x_19713_ = lean_obj_once(&l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0, &l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0_once, _init_l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0); -v___x_44925__overap_19714_ = lean_panic_fn(v___x_19713_, v_msg_19705_); -v___x_19715_ = lean_apply_7(v___x_44925__overap_19714_, v___y_19706_, v___y_19707_, v___y_19708_, v___y_19709_, v___y_19710_, v___y_19711_, lean_box(0)); -return v___x_19715_; +lean_object* v___x_19573_; lean_object* v___x_44925__overap_19574_; lean_object* v___x_19575_; +v___x_19573_ = lean_obj_once(&l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0, &l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0_once, _init_l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___closed__0); +v___x_44925__overap_19574_ = lean_panic_fn(v___x_19573_, v_msg_19565_); +v___x_19575_ = lean_apply_7(v___x_44925__overap_19574_, v___y_19566_, v___y_19567_, v___y_19568_, v___y_19569_, v___y_19570_, v___y_19571_, lean_box(0)); +return v___x_19575_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___boxed(lean_object* v_msg_19716_, lean_object* v___y_19717_, lean_object* v___y_19718_, lean_object* v___y_19719_, lean_object* v___y_19720_, lean_object* v___y_19721_, lean_object* v___y_19722_, lean_object* v___y_19723_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg___boxed(lean_object* v_msg_19576_, lean_object* v___y_19577_, lean_object* v___y_19578_, lean_object* v___y_19579_, lean_object* v___y_19580_, lean_object* v___y_19581_, lean_object* v___y_19582_, lean_object* v___y_19583_){ _start: { -lean_object* v_res_19724_; -v_res_19724_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v_msg_19716_, v___y_19717_, v___y_19718_, v___y_19719_, v___y_19720_, v___y_19721_, v___y_19722_); -return v_res_19724_; +lean_object* v_res_19584_; +v_res_19584_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v_msg_19576_, v___y_19577_, v___y_19578_, v___y_19579_, v___y_19580_, v___y_19581_, v___y_19582_); +return v_res_19584_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2(uint8_t v___x_19725_, lean_object* v_a_19726_, lean_object* v_curIds_19727_, lean_object* v___y_19728_, lean_object* v___y_19729_, lean_object* v___y_19730_, lean_object* v___y_19731_, lean_object* v___y_19732_, lean_object* v___y_19733_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2(uint8_t v___x_19585_, lean_object* v_a_19586_, lean_object* v_curIds_19587_, lean_object* v___y_19588_, lean_object* v___y_19589_, lean_object* v___y_19590_, lean_object* v___y_19591_, lean_object* v___y_19592_, lean_object* v___y_19593_){ _start: { -lean_object* v_ref_19735_; lean_object* v___x_19736_; lean_object* v___x_19737_; lean_object* v___x_19738_; lean_object* v___x_19739_; lean_object* v___x_19740_; lean_object* v___x_19741_; lean_object* v___x_19742_; lean_object* v___x_19743_; lean_object* v___x_19744_; lean_object* v___x_19745_; lean_object* v___x_19746_; lean_object* v___x_19747_; lean_object* v___x_19748_; lean_object* v___x_19749_; lean_object* v___x_19750_; -v_ref_19735_ = lean_ctor_get(v___y_19732_, 5); -v___x_19736_ = l_Lean_SourceInfo_fromRef(v_ref_19735_, v___x_19725_); -v___x_19737_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__7)); -v___x_19738_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__8)); -lean_inc(v___x_19736_); -v___x_19739_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19739_, 0, v___x_19736_); -lean_ctor_set(v___x_19739_, 1, v___x_19738_); -v___x_19740_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19741_ = lean_box(0); -v___x_19742_ = lean_unsigned_to_nat(0u); -v___x_19743_ = lean_array_get_borrowed(v___x_19741_, v_curIds_19727_, v___x_19742_); -v___x_19744_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_19736_); -v___x_19745_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19745_, 0, v___x_19736_); -lean_ctor_set(v___x_19745_, 1, v___x_19744_); -lean_inc(v___x_19743_); -lean_inc(v___x_19736_); -v___x_19746_ = l_Lean_Syntax_node2(v___x_19736_, v___x_19740_, v___x_19743_, v___x_19745_); -v___x_19747_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__10)); -lean_inc(v___x_19736_); -v___x_19748_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19748_, 0, v___x_19736_); -lean_ctor_set(v___x_19748_, 1, v___x_19747_); -v___x_19749_ = l_Lean_Syntax_node4(v___x_19736_, v___x_19737_, v___x_19739_, v___x_19746_, v_a_19726_, v___x_19748_); -v___x_19750_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19750_, 0, v___x_19749_); -return v___x_19750_; +lean_object* v_ref_19595_; lean_object* v___x_19596_; lean_object* v___x_19597_; lean_object* v___x_19598_; lean_object* v___x_19599_; lean_object* v___x_19600_; lean_object* v___x_19601_; lean_object* v___x_19602_; lean_object* v___x_19603_; lean_object* v___x_19604_; lean_object* v___x_19605_; lean_object* v___x_19606_; lean_object* v___x_19607_; lean_object* v___x_19608_; lean_object* v___x_19609_; lean_object* v___x_19610_; +v_ref_19595_ = lean_ctor_get(v___y_19592_, 5); +v___x_19596_ = l_Lean_SourceInfo_fromRef(v_ref_19595_, v___x_19585_); +v___x_19597_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__7)); +v___x_19598_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__8)); +lean_inc(v___x_19596_); +v___x_19599_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19599_, 0, v___x_19596_); +lean_ctor_set(v___x_19599_, 1, v___x_19598_); +v___x_19600_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19601_ = lean_box(0); +v___x_19602_ = lean_unsigned_to_nat(0u); +v___x_19603_ = lean_array_get_borrowed(v___x_19601_, v_curIds_19587_, v___x_19602_); +v___x_19604_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19596_); +v___x_19605_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19605_, 0, v___x_19596_); +lean_ctor_set(v___x_19605_, 1, v___x_19604_); +lean_inc(v___x_19603_); +lean_inc(v___x_19596_); +v___x_19606_ = l_Lean_Syntax_node2(v___x_19596_, v___x_19600_, v___x_19603_, v___x_19605_); +v___x_19607_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabMData___closed__10)); +lean_inc(v___x_19596_); +v___x_19608_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19608_, 0, v___x_19596_); +lean_ctor_set(v___x_19608_, 1, v___x_19607_); +v___x_19609_ = l_Lean_Syntax_node4(v___x_19596_, v___x_19597_, v___x_19599_, v___x_19606_, v_a_19586_, v___x_19608_); +v___x_19610_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19610_, 0, v___x_19609_); +return v___x_19610_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2___boxed(lean_object* v___x_19751_, lean_object* v_a_19752_, lean_object* v_curIds_19753_, lean_object* v___y_19754_, lean_object* v___y_19755_, lean_object* v___y_19756_, lean_object* v___y_19757_, lean_object* v___y_19758_, lean_object* v___y_19759_, lean_object* v___y_19760_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2___boxed(lean_object* v___x_19611_, lean_object* v_a_19612_, lean_object* v_curIds_19613_, lean_object* v___y_19614_, lean_object* v___y_19615_, lean_object* v___y_19616_, lean_object* v___y_19617_, lean_object* v___y_19618_, lean_object* v___y_19619_, lean_object* v___y_19620_){ _start: { -uint8_t v___x_45450__boxed_19761_; lean_object* v_res_19762_; -v___x_45450__boxed_19761_ = lean_unbox(v___x_19751_); -v_res_19762_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2(v___x_45450__boxed_19761_, v_a_19752_, v_curIds_19753_, v___y_19754_, v___y_19755_, v___y_19756_, v___y_19757_, v___y_19758_, v___y_19759_); -lean_dec(v___y_19759_); -lean_dec_ref(v___y_19758_); -lean_dec(v___y_19757_); -lean_dec_ref(v___y_19756_); -lean_dec(v___y_19755_); -lean_dec_ref(v___y_19754_); -lean_dec_ref(v_curIds_19753_); -return v_res_19762_; +uint8_t v___x_45450__boxed_19621_; lean_object* v_res_19622_; +v___x_45450__boxed_19621_ = lean_unbox(v___x_19611_); +v_res_19622_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2(v___x_45450__boxed_19621_, v_a_19612_, v_curIds_19613_, v___y_19614_, v___y_19615_, v___y_19616_, v___y_19617_, v___y_19618_, v___y_19619_); +lean_dec(v___y_19619_); +lean_dec_ref(v___y_19618_); +lean_dec(v___y_19617_); +lean_dec_ref(v___y_19616_); +lean_dec(v___y_19615_); +lean_dec_ref(v___y_19614_); +lean_dec_ref(v_curIds_19613_); +return v_res_19622_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(size_t v_sz_19763_, size_t v_i_19764_, lean_object* v_bs_19765_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(size_t v_sz_19623_, size_t v_i_19624_, lean_object* v_bs_19625_){ _start: { -uint8_t v___x_19766_; -v___x_19766_ = lean_usize_dec_lt(v_i_19764_, v_sz_19763_); -if (v___x_19766_ == 0) +uint8_t v___x_19626_; +v___x_19626_ = lean_usize_dec_lt(v_i_19624_, v_sz_19623_); +if (v___x_19626_ == 0) { -return v_bs_19765_; +return v_bs_19625_; } else { -lean_object* v_v_19767_; lean_object* v___x_19768_; lean_object* v_bs_x27_19769_; size_t v___x_19770_; size_t v___x_19771_; lean_object* v___x_19772_; -v_v_19767_ = lean_array_uget(v_bs_19765_, v_i_19764_); -v___x_19768_ = lean_unsigned_to_nat(0u); -v_bs_x27_19769_ = lean_array_uset(v_bs_19765_, v_i_19764_, v___x_19768_); -v___x_19770_ = ((size_t)1ULL); -v___x_19771_ = lean_usize_add(v_i_19764_, v___x_19770_); -v___x_19772_ = lean_array_uset(v_bs_x27_19769_, v_i_19764_, v_v_19767_); -v_i_19764_ = v___x_19771_; -v_bs_19765_ = v___x_19772_; +lean_object* v_v_19627_; lean_object* v___x_19628_; lean_object* v_bs_x27_19629_; size_t v___x_19630_; size_t v___x_19631_; lean_object* v___x_19632_; +v_v_19627_ = lean_array_uget(v_bs_19625_, v_i_19624_); +v___x_19628_ = lean_unsigned_to_nat(0u); +v_bs_x27_19629_ = lean_array_uset(v_bs_19625_, v_i_19624_, v___x_19628_); +v___x_19630_ = ((size_t)1ULL); +v___x_19631_ = lean_usize_add(v_i_19624_, v___x_19630_); +v___x_19632_ = lean_array_uset(v_bs_x27_19629_, v_i_19624_, v_v_19627_); +v_i_19624_ = v___x_19631_; +v_bs_19625_ = v___x_19632_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1___boxed(lean_object* v_sz_19774_, lean_object* v_i_19775_, lean_object* v_bs_19776_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1___boxed(lean_object* v_sz_19634_, lean_object* v_i_19635_, lean_object* v_bs_19636_){ _start: { -size_t v_sz_boxed_19777_; size_t v_i_boxed_19778_; lean_object* v_res_19779_; -v_sz_boxed_19777_ = lean_unbox_usize(v_sz_19774_); -lean_dec(v_sz_19774_); -v_i_boxed_19778_ = lean_unbox_usize(v_i_19775_); -lean_dec(v_i_19775_); -v_res_19779_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_boxed_19777_, v_i_boxed_19778_, v_bs_19776_); -return v_res_19779_; +size_t v_sz_boxed_19637_; size_t v_i_boxed_19638_; lean_object* v_res_19639_; +v_sz_boxed_19637_ = lean_unbox_usize(v_sz_19634_); +lean_dec(v_sz_19634_); +v_i_boxed_19638_ = lean_unbox_usize(v_i_19635_); +lean_dec(v_i_19635_); +v_res_19639_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_boxed_19637_, v_i_boxed_19638_, v_bs_19636_); +return v_res_19639_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1(uint8_t v___x_19780_, lean_object* v_a_19781_, lean_object* v_curIds_19782_, lean_object* v___y_19783_, lean_object* v___y_19784_, lean_object* v___y_19785_, lean_object* v___y_19786_, lean_object* v___y_19787_, lean_object* v___y_19788_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1(uint8_t v___x_19640_, lean_object* v_a_19641_, lean_object* v_curIds_19642_, lean_object* v___y_19643_, lean_object* v___y_19644_, lean_object* v___y_19645_, lean_object* v___y_19646_, lean_object* v___y_19647_, lean_object* v___y_19648_){ _start: { -lean_object* v_ref_19790_; lean_object* v___x_19791_; lean_object* v___x_19792_; lean_object* v___x_19793_; lean_object* v___x_19794_; lean_object* v___x_19795_; lean_object* v___x_19796_; size_t v_sz_19797_; size_t v___x_19798_; lean_object* v___x_19799_; lean_object* v___x_19800_; lean_object* v___x_19801_; lean_object* v___x_19802_; lean_object* v___x_19803_; lean_object* v___x_19804_; lean_object* v___x_19805_; lean_object* v___x_19806_; lean_object* v___x_19807_; lean_object* v___x_19808_; -v_ref_19790_ = lean_ctor_get(v___y_19787_, 5); -v___x_19791_ = l_Lean_SourceInfo_fromRef(v_ref_19790_, v___x_19780_); -v___x_19792_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__11)); -v___x_19793_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__12)); -lean_inc(v___x_19791_); -v___x_19794_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19794_, 0, v___x_19791_); -lean_ctor_set(v___x_19794_, 1, v___x_19793_); -v___x_19795_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19796_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_19797_ = lean_array_size(v_curIds_19782_); -v___x_19798_ = ((size_t)0ULL); -v___x_19799_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19797_, v___x_19798_, v_curIds_19782_); -v___x_19800_ = l_Array_append___redArg(v___x_19796_, v___x_19799_); -lean_dec_ref(v___x_19799_); -lean_inc(v___x_19791_); +lean_object* v_ref_19650_; lean_object* v___x_19651_; lean_object* v___x_19652_; lean_object* v___x_19653_; lean_object* v___x_19654_; lean_object* v___x_19655_; lean_object* v___x_19656_; size_t v_sz_19657_; size_t v___x_19658_; lean_object* v___x_19659_; lean_object* v___x_19660_; lean_object* v___x_19661_; lean_object* v___x_19662_; lean_object* v___x_19663_; lean_object* v___x_19664_; lean_object* v___x_19665_; lean_object* v___x_19666_; lean_object* v___x_19667_; lean_object* v___x_19668_; +v_ref_19650_ = lean_ctor_get(v___y_19647_, 5); +v___x_19651_ = l_Lean_SourceInfo_fromRef(v_ref_19650_, v___x_19640_); +v___x_19652_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__11)); +v___x_19653_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__12)); +lean_inc(v___x_19651_); +v___x_19654_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19654_, 0, v___x_19651_); +lean_ctor_set(v___x_19654_, 1, v___x_19653_); +v___x_19655_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19656_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_19657_ = lean_array_size(v_curIds_19642_); +v___x_19658_ = ((size_t)0ULL); +v___x_19659_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19657_, v___x_19658_, v_curIds_19642_); +v___x_19660_ = l_Array_append___redArg(v___x_19656_, v___x_19659_); +lean_dec_ref(v___x_19659_); +lean_inc(v___x_19651_); +v___x_19661_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19661_, 0, v___x_19651_); +lean_ctor_set(v___x_19661_, 1, v___x_19655_); +lean_ctor_set(v___x_19661_, 2, v___x_19660_); +v___x_19662_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19651_); +v___x_19663_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19663_, 0, v___x_19651_); +lean_ctor_set(v___x_19663_, 1, v___x_19662_); +lean_inc(v___x_19651_); +v___x_19664_ = l_Lean_Syntax_node2(v___x_19651_, v___x_19655_, v___x_19663_, v_a_19641_); +v___x_19665_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__13)); +lean_inc(v___x_19651_); +v___x_19666_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19666_, 0, v___x_19651_); +lean_ctor_set(v___x_19666_, 1, v___x_19665_); +v___x_19667_ = l_Lean_Syntax_node4(v___x_19651_, v___x_19652_, v___x_19654_, v___x_19661_, v___x_19664_, v___x_19666_); +v___x_19668_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19668_, 0, v___x_19667_); +return v___x_19668_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1___boxed(lean_object* v___x_19669_, lean_object* v_a_19670_, lean_object* v_curIds_19671_, lean_object* v___y_19672_, lean_object* v___y_19673_, lean_object* v___y_19674_, lean_object* v___y_19675_, lean_object* v___y_19676_, lean_object* v___y_19677_, lean_object* v___y_19678_){ +_start: +{ +uint8_t v___x_45540__boxed_19679_; lean_object* v_res_19680_; +v___x_45540__boxed_19679_ = lean_unbox(v___x_19669_); +v_res_19680_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1(v___x_45540__boxed_19679_, v_a_19670_, v_curIds_19671_, v___y_19672_, v___y_19673_, v___y_19674_, v___y_19675_, v___y_19676_, v___y_19677_); +lean_dec(v___y_19677_); +lean_dec_ref(v___y_19676_); +lean_dec(v___y_19675_); +lean_dec_ref(v___y_19674_); +lean_dec(v___y_19673_); +lean_dec_ref(v___y_19672_); +return v_res_19680_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0(uint8_t v___x_19681_, lean_object* v_a_19682_, lean_object* v_curIds_19683_, lean_object* v___y_19684_, lean_object* v___y_19685_, lean_object* v___y_19686_, lean_object* v___y_19687_, lean_object* v___y_19688_, lean_object* v___y_19689_){ +_start: +{ +lean_object* v_ref_19691_; lean_object* v___x_19692_; lean_object* v___x_19693_; lean_object* v___x_19694_; lean_object* v___x_19695_; lean_object* v___x_19696_; lean_object* v___x_19697_; size_t v_sz_19698_; size_t v___x_19699_; lean_object* v___x_19700_; lean_object* v___x_19701_; lean_object* v___x_19702_; lean_object* v___x_19703_; lean_object* v___x_19704_; lean_object* v___x_19705_; lean_object* v___x_19706_; lean_object* v___x_19707_; lean_object* v___x_19708_; lean_object* v___x_19709_; +v_ref_19691_ = lean_ctor_get(v___y_19688_, 5); +v___x_19692_ = l_Lean_SourceInfo_fromRef(v_ref_19691_, v___x_19681_); +v___x_19693_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__9)); +v___x_19694_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lam__4___closed__2)); +lean_inc(v___x_19692_); +v___x_19695_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19695_, 0, v___x_19692_); +lean_ctor_set(v___x_19695_, 1, v___x_19694_); +v___x_19696_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19697_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_19698_ = lean_array_size(v_curIds_19683_); +v___x_19699_ = ((size_t)0ULL); +v___x_19700_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19698_, v___x_19699_, v_curIds_19683_); +v___x_19701_ = l_Array_append___redArg(v___x_19697_, v___x_19700_); +lean_dec_ref(v___x_19700_); +lean_inc(v___x_19692_); +v___x_19702_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19702_, 0, v___x_19692_); +lean_ctor_set(v___x_19702_, 1, v___x_19696_); +lean_ctor_set(v___x_19702_, 2, v___x_19701_); +v___x_19703_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19692_); +v___x_19704_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19704_, 0, v___x_19692_); +lean_ctor_set(v___x_19704_, 1, v___x_19703_); +lean_inc(v___x_19692_); +v___x_19705_ = l_Lean_Syntax_node2(v___x_19692_, v___x_19696_, v___x_19704_, v_a_19682_); +v___x_19706_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__7)); +lean_inc(v___x_19692_); +v___x_19707_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19707_, 0, v___x_19692_); +lean_ctor_set(v___x_19707_, 1, v___x_19706_); +v___x_19708_ = l_Lean_Syntax_node4(v___x_19692_, v___x_19693_, v___x_19695_, v___x_19702_, v___x_19705_, v___x_19707_); +v___x_19709_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19709_, 0, v___x_19708_); +return v___x_19709_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0___boxed(lean_object* v___x_19710_, lean_object* v_a_19711_, lean_object* v_curIds_19712_, lean_object* v___y_19713_, lean_object* v___y_19714_, lean_object* v___y_19715_, lean_object* v___y_19716_, lean_object* v___y_19717_, lean_object* v___y_19718_, lean_object* v___y_19719_){ +_start: +{ +uint8_t v___x_45622__boxed_19720_; lean_object* v_res_19721_; +v___x_45622__boxed_19720_ = lean_unbox(v___x_19710_); +v_res_19721_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0(v___x_45622__boxed_19720_, v_a_19711_, v_curIds_19712_, v___y_19713_, v___y_19714_, v___y_19715_, v___y_19716_, v___y_19717_, v___y_19718_); +lean_dec(v___y_19718_); +lean_dec_ref(v___y_19717_); +lean_dec(v___y_19716_); +lean_dec_ref(v___y_19715_); +lean_dec(v___y_19714_); +lean_dec_ref(v___y_19713_); +return v_res_19721_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5(uint8_t v___x_19728_, lean_object* v_a_19729_, lean_object* v_a_19730_, lean_object* v_curIds_19731_, lean_object* v___y_19732_, lean_object* v___y_19733_, lean_object* v___y_19734_, lean_object* v___y_19735_, lean_object* v___y_19736_, lean_object* v___y_19737_){ +_start: +{ +lean_object* v_ref_19739_; lean_object* v___x_19740_; lean_object* v___x_19741_; lean_object* v___x_19742_; lean_object* v___x_19743_; lean_object* v___x_19744_; lean_object* v___x_19745_; size_t v_sz_19746_; size_t v___x_19747_; lean_object* v___x_19748_; lean_object* v___x_19749_; lean_object* v___x_19750_; lean_object* v___x_19751_; lean_object* v___x_19752_; lean_object* v___x_19753_; lean_object* v___x_19754_; lean_object* v___x_19755_; lean_object* v___x_19756_; lean_object* v___x_19757_; lean_object* v___x_19758_; lean_object* v___x_19759_; lean_object* v___x_19760_; lean_object* v___x_19761_; lean_object* v___x_19762_; +v_ref_19739_ = lean_ctor_get(v___y_19736_, 5); +v___x_19740_ = l_Lean_SourceInfo_fromRef(v_ref_19739_, v___x_19728_); +v___x_19741_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); +v___x_19742_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); +lean_inc(v___x_19740_); +v___x_19743_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19743_, 0, v___x_19740_); +lean_ctor_set(v___x_19743_, 1, v___x_19742_); +v___x_19744_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19745_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_19746_ = lean_array_size(v_curIds_19731_); +v___x_19747_ = ((size_t)0ULL); +v___x_19748_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19746_, v___x_19747_, v_curIds_19731_); +v___x_19749_ = l_Array_append___redArg(v___x_19745_, v___x_19748_); +lean_dec_ref(v___x_19748_); +lean_inc(v___x_19740_); +v___x_19750_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19750_, 0, v___x_19740_); +lean_ctor_set(v___x_19750_, 1, v___x_19744_); +lean_ctor_set(v___x_19750_, 2, v___x_19749_); +v___x_19751_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19740_); +v___x_19752_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19752_, 0, v___x_19740_); +lean_ctor_set(v___x_19752_, 1, v___x_19751_); +lean_inc(v___x_19740_); +v___x_19753_ = l_Lean_Syntax_node2(v___x_19740_, v___x_19744_, v___x_19752_, v_a_19729_); +v___x_19754_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___closed__1)); +v___x_19755_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_mkNamedArg___closed__2)); +lean_inc(v___x_19740_); +v___x_19756_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19756_, 0, v___x_19740_); +lean_ctor_set(v___x_19756_, 1, v___x_19755_); +lean_inc(v___x_19740_); +v___x_19757_ = l_Lean_Syntax_node2(v___x_19740_, v___x_19754_, v___x_19756_, v_a_19730_); +lean_inc(v___x_19740_); +v___x_19758_ = l_Lean_Syntax_node1(v___x_19740_, v___x_19744_, v___x_19757_); +v___x_19759_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); +lean_inc(v___x_19740_); +v___x_19760_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19760_, 0, v___x_19740_); +lean_ctor_set(v___x_19760_, 1, v___x_19759_); +v___x_19761_ = l_Lean_Syntax_node5(v___x_19740_, v___x_19741_, v___x_19743_, v___x_19750_, v___x_19753_, v___x_19758_, v___x_19760_); +v___x_19762_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19762_, 0, v___x_19761_); +return v___x_19762_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___boxed(lean_object* v___x_19763_, lean_object* v_a_19764_, lean_object* v_a_19765_, lean_object* v_curIds_19766_, lean_object* v___y_19767_, lean_object* v___y_19768_, lean_object* v___y_19769_, lean_object* v___y_19770_, lean_object* v___y_19771_, lean_object* v___y_19772_, lean_object* v___y_19773_){ +_start: +{ +uint8_t v___x_45717__boxed_19774_; lean_object* v_res_19775_; +v___x_45717__boxed_19774_ = lean_unbox(v___x_19763_); +v_res_19775_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5(v___x_45717__boxed_19774_, v_a_19764_, v_a_19765_, v_curIds_19766_, v___y_19767_, v___y_19768_, v___y_19769_, v___y_19770_, v___y_19771_, v___y_19772_); +lean_dec(v___y_19772_); +lean_dec_ref(v___y_19771_); +lean_dec(v___y_19770_); +lean_dec_ref(v___y_19769_); +lean_dec(v___y_19768_); +lean_dec_ref(v___y_19767_); +return v_res_19775_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3(uint8_t v___x_19776_, lean_object* v_a_19777_, lean_object* v_curIds_19778_, lean_object* v___y_19779_, lean_object* v___y_19780_, lean_object* v___y_19781_, lean_object* v___y_19782_, lean_object* v___y_19783_, lean_object* v___y_19784_){ +_start: +{ +lean_object* v_ref_19786_; lean_object* v___x_19787_; lean_object* v___x_19788_; lean_object* v___x_19789_; lean_object* v___x_19790_; lean_object* v___x_19791_; lean_object* v___x_19792_; size_t v_sz_19793_; size_t v___x_19794_; lean_object* v___x_19795_; lean_object* v___x_19796_; lean_object* v___x_19797_; lean_object* v___x_19798_; lean_object* v___x_19799_; lean_object* v___x_19800_; lean_object* v___x_19801_; lean_object* v___x_19802_; lean_object* v___x_19803_; lean_object* v___x_19804_; lean_object* v___x_19805_; +v_ref_19786_ = lean_ctor_get(v___y_19783_, 5); +v___x_19787_ = l_Lean_SourceInfo_fromRef(v_ref_19786_, v___x_19776_); +v___x_19788_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); +v___x_19789_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); +lean_inc(v___x_19787_); +v___x_19790_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19790_, 0, v___x_19787_); +lean_ctor_set(v___x_19790_, 1, v___x_19789_); +v___x_19791_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19792_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_19793_ = lean_array_size(v_curIds_19778_); +v___x_19794_ = ((size_t)0ULL); +v___x_19795_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19793_, v___x_19794_, v_curIds_19778_); +v___x_19796_ = l_Array_append___redArg(v___x_19792_, v___x_19795_); +lean_dec_ref(v___x_19795_); +lean_inc(v___x_19787_); +v___x_19797_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19797_, 0, v___x_19787_); +lean_ctor_set(v___x_19797_, 1, v___x_19791_); +lean_ctor_set(v___x_19797_, 2, v___x_19796_); +v___x_19798_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19787_); +v___x_19799_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19799_, 0, v___x_19787_); +lean_ctor_set(v___x_19799_, 1, v___x_19798_); +lean_inc(v___x_19787_); +v___x_19800_ = l_Lean_Syntax_node2(v___x_19787_, v___x_19791_, v___x_19799_, v_a_19777_); +lean_inc(v___x_19787_); v___x_19801_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19801_, 0, v___x_19791_); -lean_ctor_set(v___x_19801_, 1, v___x_19795_); -lean_ctor_set(v___x_19801_, 2, v___x_19800_); -v___x_19802_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_19791_); +lean_ctor_set(v___x_19801_, 0, v___x_19787_); +lean_ctor_set(v___x_19801_, 1, v___x_19791_); +lean_ctor_set(v___x_19801_, 2, v___x_19792_); +v___x_19802_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); +lean_inc(v___x_19787_); v___x_19803_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19803_, 0, v___x_19791_); +lean_ctor_set(v___x_19803_, 0, v___x_19787_); lean_ctor_set(v___x_19803_, 1, v___x_19802_); -lean_inc(v___x_19791_); -v___x_19804_ = l_Lean_Syntax_node2(v___x_19791_, v___x_19795_, v___x_19803_, v_a_19781_); -v___x_19805_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__13)); -lean_inc(v___x_19791_); -v___x_19806_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19806_, 0, v___x_19791_); -lean_ctor_set(v___x_19806_, 1, v___x_19805_); -v___x_19807_ = l_Lean_Syntax_node4(v___x_19791_, v___x_19792_, v___x_19794_, v___x_19801_, v___x_19804_, v___x_19806_); -v___x_19808_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19808_, 0, v___x_19807_); -return v___x_19808_; +v___x_19804_ = l_Lean_Syntax_node5(v___x_19787_, v___x_19788_, v___x_19790_, v___x_19797_, v___x_19800_, v___x_19801_, v___x_19803_); +v___x_19805_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19805_, 0, v___x_19804_); +return v___x_19805_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1___boxed(lean_object* v___x_19809_, lean_object* v_a_19810_, lean_object* v_curIds_19811_, lean_object* v___y_19812_, lean_object* v___y_19813_, lean_object* v___y_19814_, lean_object* v___y_19815_, lean_object* v___y_19816_, lean_object* v___y_19817_, lean_object* v___y_19818_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3___boxed(lean_object* v___x_19806_, lean_object* v_a_19807_, lean_object* v_curIds_19808_, lean_object* v___y_19809_, lean_object* v___y_19810_, lean_object* v___y_19811_, lean_object* v___y_19812_, lean_object* v___y_19813_, lean_object* v___y_19814_, lean_object* v___y_19815_){ _start: { -uint8_t v___x_45540__boxed_19819_; lean_object* v_res_19820_; -v___x_45540__boxed_19819_ = lean_unbox(v___x_19809_); -v_res_19820_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1(v___x_45540__boxed_19819_, v_a_19810_, v_curIds_19811_, v___y_19812_, v___y_19813_, v___y_19814_, v___y_19815_, v___y_19816_, v___y_19817_); -lean_dec(v___y_19817_); -lean_dec_ref(v___y_19816_); -lean_dec(v___y_19815_); -lean_dec_ref(v___y_19814_); -lean_dec(v___y_19813_); -lean_dec_ref(v___y_19812_); -return v_res_19820_; +uint8_t v___x_45813__boxed_19816_; lean_object* v_res_19817_; +v___x_45813__boxed_19816_ = lean_unbox(v___x_19806_); +v_res_19817_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3(v___x_45813__boxed_19816_, v_a_19807_, v_curIds_19808_, v___y_19809_, v___y_19810_, v___y_19811_, v___y_19812_, v___y_19813_, v___y_19814_); +lean_dec(v___y_19814_); +lean_dec_ref(v___y_19813_); +lean_dec(v___y_19812_); +lean_dec_ref(v___y_19811_); +lean_dec(v___y_19810_); +lean_dec_ref(v___y_19809_); +return v_res_19817_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0(uint8_t v___x_19821_, lean_object* v_a_19822_, lean_object* v_curIds_19823_, lean_object* v___y_19824_, lean_object* v___y_19825_, lean_object* v___y_19826_, lean_object* v___y_19827_, lean_object* v___y_19828_, lean_object* v___y_19829_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(lean_object* v_x_19818_, lean_object* v___y_19819_, lean_object* v___y_19820_, lean_object* v___y_19821_, lean_object* v___y_19822_){ _start: { -lean_object* v_ref_19831_; lean_object* v___x_19832_; lean_object* v___x_19833_; lean_object* v___x_19834_; lean_object* v___x_19835_; lean_object* v___x_19836_; lean_object* v___x_19837_; size_t v_sz_19838_; size_t v___x_19839_; lean_object* v___x_19840_; lean_object* v___x_19841_; lean_object* v___x_19842_; lean_object* v___x_19843_; lean_object* v___x_19844_; lean_object* v___x_19845_; lean_object* v___x_19846_; lean_object* v___x_19847_; lean_object* v___x_19848_; lean_object* v___x_19849_; -v_ref_19831_ = lean_ctor_get(v___y_19828_, 5); -v___x_19832_ = l_Lean_SourceInfo_fromRef(v_ref_19831_, v___x_19821_); -v___x_19833_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux___lam__1___closed__9)); -v___x_19834_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabStructureInstance___lam__4___closed__2)); -lean_inc(v___x_19832_); -v___x_19835_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19835_, 0, v___x_19832_); -lean_ctor_set(v___x_19835_, 1, v___x_19834_); -v___x_19836_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19837_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_19838_ = lean_array_size(v_curIds_19823_); -v___x_19839_ = ((size_t)0ULL); -v___x_19840_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19838_, v___x_19839_, v_curIds_19823_); -v___x_19841_ = l_Array_append___redArg(v___x_19837_, v___x_19840_); -lean_dec_ref(v___x_19840_); -lean_inc(v___x_19832_); -v___x_19842_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19842_, 0, v___x_19832_); -lean_ctor_set(v___x_19842_, 1, v___x_19836_); -lean_ctor_set(v___x_19842_, 2, v___x_19841_); -v___x_19843_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_19832_); -v___x_19844_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19844_, 0, v___x_19832_); -lean_ctor_set(v___x_19844_, 1, v___x_19843_); -lean_inc(v___x_19832_); -v___x_19845_ = l_Lean_Syntax_node2(v___x_19832_, v___x_19836_, v___x_19844_, v_a_19822_); -v___x_19846_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__7)); -lean_inc(v___x_19832_); -v___x_19847_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19847_, 0, v___x_19832_); -lean_ctor_set(v___x_19847_, 1, v___x_19846_); -v___x_19848_ = l_Lean_Syntax_node4(v___x_19832_, v___x_19833_, v___x_19835_, v___x_19842_, v___x_19845_, v___x_19847_); -v___x_19849_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19849_, 0, v___x_19848_); -return v___x_19849_; +if (lean_obj_tag(v_x_19818_) == 0) +{ +lean_object* v_a_19824_; lean_object* v___x_19825_; lean_object* v___x_19826_; +v_a_19824_ = lean_ctor_get(v_x_19818_, 0); +lean_inc(v_a_19824_); +lean_dec_ref(v_x_19818_); +v___x_19825_ = l_Lean_stringToMessageData(v_a_19824_); +v___x_19826_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Meta_instantiateStructDefaultValueFn_x3f___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_collectStructFields_spec__2_spec__2_spec__4_spec__6_spec__10_spec__12_spec__14___redArg(v___x_19825_, v___y_19819_, v___y_19820_, v___y_19821_, v___y_19822_); +return v___x_19826_; +} +else +{ +lean_object* v_a_19827_; lean_object* v___x_19829_; uint8_t v_isShared_19830_; uint8_t v_isSharedCheck_19834_; +v_a_19827_ = lean_ctor_get(v_x_19818_, 0); +v_isSharedCheck_19834_ = !lean_is_exclusive(v_x_19818_); +if (v_isSharedCheck_19834_ == 0) +{ +v___x_19829_ = v_x_19818_; +v_isShared_19830_ = v_isSharedCheck_19834_; +goto v_resetjp_19828_; +} +else +{ +lean_inc(v_a_19827_); +lean_dec(v_x_19818_); +v___x_19829_ = lean_box(0); +v_isShared_19830_ = v_isSharedCheck_19834_; +goto v_resetjp_19828_; +} +v_resetjp_19828_: +{ +lean_object* v___x_19832_; +if (v_isShared_19830_ == 0) +{ +lean_ctor_set_tag(v___x_19829_, 0); +v___x_19832_ = v___x_19829_; +goto v_reusejp_19831_; +} +else +{ +lean_object* v_reuseFailAlloc_19833_; +v_reuseFailAlloc_19833_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19833_, 0, v_a_19827_); +v___x_19832_ = v_reuseFailAlloc_19833_; +goto v_reusejp_19831_; +} +v_reusejp_19831_: +{ +return v___x_19832_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0___boxed(lean_object* v___x_19850_, lean_object* v_a_19851_, lean_object* v_curIds_19852_, lean_object* v___y_19853_, lean_object* v___y_19854_, lean_object* v___y_19855_, lean_object* v___y_19856_, lean_object* v___y_19857_, lean_object* v___y_19858_, lean_object* v___y_19859_){ +} +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg___boxed(lean_object* v_x_19835_, lean_object* v___y_19836_, lean_object* v___y_19837_, lean_object* v___y_19838_, lean_object* v___y_19839_, lean_object* v___y_19840_){ _start: { -uint8_t v___x_45622__boxed_19860_; lean_object* v_res_19861_; -v___x_45622__boxed_19860_ = lean_unbox(v___x_19850_); -v_res_19861_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0(v___x_45622__boxed_19860_, v_a_19851_, v_curIds_19852_, v___y_19853_, v___y_19854_, v___y_19855_, v___y_19856_, v___y_19857_, v___y_19858_); -lean_dec(v___y_19858_); -lean_dec_ref(v___y_19857_); -lean_dec(v___y_19856_); -lean_dec_ref(v___y_19855_); -lean_dec(v___y_19854_); -lean_dec_ref(v___y_19853_); -return v_res_19861_; +lean_object* v_res_19841_; +v_res_19841_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v_x_19835_, v___y_19836_, v___y_19837_, v___y_19838_, v___y_19839_); +lean_dec(v___y_19839_); +lean_dec_ref(v___y_19838_); +lean_dec(v___y_19837_); +lean_dec_ref(v___y_19836_); +return v_res_19841_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5(uint8_t v___x_19868_, lean_object* v_a_19869_, lean_object* v_a_19870_, lean_object* v_curIds_19871_, lean_object* v___y_19872_, lean_object* v___y_19873_, lean_object* v___y_19874_, lean_object* v___y_19875_, lean_object* v___y_19876_, lean_object* v___y_19877_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4(uint8_t v___x_19849_, lean_object* v_a_19850_, lean_object* v_a_19851_, lean_object* v_curIds_19852_, lean_object* v___y_19853_, lean_object* v___y_19854_, lean_object* v___y_19855_, lean_object* v___y_19856_, lean_object* v___y_19857_, lean_object* v___y_19858_){ _start: { -lean_object* v_ref_19879_; lean_object* v___x_19880_; lean_object* v___x_19881_; lean_object* v___x_19882_; lean_object* v___x_19883_; lean_object* v___x_19884_; lean_object* v___x_19885_; size_t v_sz_19886_; size_t v___x_19887_; lean_object* v___x_19888_; lean_object* v___x_19889_; lean_object* v___x_19890_; lean_object* v___x_19891_; lean_object* v___x_19892_; lean_object* v___x_19893_; lean_object* v___x_19894_; lean_object* v___x_19895_; lean_object* v___x_19896_; lean_object* v___x_19897_; lean_object* v___x_19898_; lean_object* v___x_19899_; lean_object* v___x_19900_; lean_object* v___x_19901_; lean_object* v___x_19902_; -v_ref_19879_ = lean_ctor_get(v___y_19876_, 5); -v___x_19880_ = l_Lean_SourceInfo_fromRef(v_ref_19879_, v___x_19868_); -v___x_19881_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); -v___x_19882_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); -lean_inc(v___x_19880_); +lean_object* v_ref_19860_; lean_object* v___x_19861_; lean_object* v___x_19862_; lean_object* v___x_19863_; lean_object* v___x_19864_; lean_object* v___x_19865_; lean_object* v___x_19866_; size_t v_sz_19867_; size_t v___x_19868_; lean_object* v___x_19869_; lean_object* v___x_19870_; lean_object* v___x_19871_; lean_object* v___x_19872_; lean_object* v___x_19873_; lean_object* v___x_19874_; lean_object* v___x_19875_; lean_object* v___x_19876_; lean_object* v___x_19877_; lean_object* v___x_19878_; lean_object* v___x_19879_; lean_object* v___x_19880_; lean_object* v___x_19881_; lean_object* v___x_19882_; lean_object* v___x_19883_; lean_object* v___x_19884_; lean_object* v___x_19885_; +v_ref_19860_ = lean_ctor_get(v___y_19857_, 5); +v___x_19861_ = l_Lean_SourceInfo_fromRef(v_ref_19860_, v___x_19849_); +v___x_19862_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); +v___x_19863_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); +lean_inc(v___x_19861_); +v___x_19864_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19864_, 0, v___x_19861_); +lean_ctor_set(v___x_19864_, 1, v___x_19863_); +v___x_19865_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_19866_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_19867_ = lean_array_size(v_curIds_19852_); +v___x_19868_ = ((size_t)0ULL); +v___x_19869_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19867_, v___x_19868_, v_curIds_19852_); +v___x_19870_ = l_Array_append___redArg(v___x_19866_, v___x_19869_); +lean_dec_ref(v___x_19869_); +lean_inc(v___x_19861_); +v___x_19871_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_19871_, 0, v___x_19861_); +lean_ctor_set(v___x_19871_, 1, v___x_19865_); +lean_ctor_set(v___x_19871_, 2, v___x_19870_); +v___x_19872_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_19861_); +v___x_19873_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19873_, 0, v___x_19861_); +lean_ctor_set(v___x_19873_, 1, v___x_19872_); +lean_inc(v___x_19861_); +v___x_19874_ = l_Lean_Syntax_node2(v___x_19861_, v___x_19865_, v___x_19873_, v_a_19850_); +v___x_19875_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___closed__1)); +v___x_19876_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_mkNamedArg___closed__2)); +lean_inc(v___x_19861_); +v___x_19877_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19877_, 0, v___x_19861_); +lean_ctor_set(v___x_19877_, 1, v___x_19876_); +v___x_19878_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___closed__2)); +lean_inc(v___x_19861_); +v___x_19879_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_19879_, 0, v___x_19861_); +lean_ctor_set(v___x_19879_, 1, v___x_19878_); +lean_inc(v___x_19861_); +v___x_19880_ = l_Lean_Syntax_node3(v___x_19861_, v___x_19875_, v___x_19877_, v___x_19879_, v_a_19851_); +lean_inc(v___x_19861_); +v___x_19881_ = l_Lean_Syntax_node1(v___x_19861_, v___x_19865_, v___x_19880_); +v___x_19882_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); +lean_inc(v___x_19861_); v___x_19883_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19883_, 0, v___x_19880_); +lean_ctor_set(v___x_19883_, 0, v___x_19861_); lean_ctor_set(v___x_19883_, 1, v___x_19882_); -v___x_19884_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19885_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_19886_ = lean_array_size(v_curIds_19871_); -v___x_19887_ = ((size_t)0ULL); -v___x_19888_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19886_, v___x_19887_, v_curIds_19871_); -v___x_19889_ = l_Array_append___redArg(v___x_19885_, v___x_19888_); -lean_dec_ref(v___x_19888_); -lean_inc(v___x_19880_); -v___x_19890_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19890_, 0, v___x_19880_); -lean_ctor_set(v___x_19890_, 1, v___x_19884_); -lean_ctor_set(v___x_19890_, 2, v___x_19889_); -v___x_19891_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_19880_); -v___x_19892_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19892_, 0, v___x_19880_); -lean_ctor_set(v___x_19892_, 1, v___x_19891_); -lean_inc(v___x_19880_); -v___x_19893_ = l_Lean_Syntax_node2(v___x_19880_, v___x_19884_, v___x_19892_, v_a_19869_); -v___x_19894_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___closed__1)); -v___x_19895_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_mkNamedArg___closed__2)); -lean_inc(v___x_19880_); -v___x_19896_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19896_, 0, v___x_19880_); -lean_ctor_set(v___x_19896_, 1, v___x_19895_); -lean_inc(v___x_19880_); -v___x_19897_ = l_Lean_Syntax_node2(v___x_19880_, v___x_19894_, v___x_19896_, v_a_19870_); -lean_inc(v___x_19880_); -v___x_19898_ = l_Lean_Syntax_node1(v___x_19880_, v___x_19884_, v___x_19897_); -v___x_19899_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); -lean_inc(v___x_19880_); -v___x_19900_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19900_, 0, v___x_19880_); -lean_ctor_set(v___x_19900_, 1, v___x_19899_); -v___x_19901_ = l_Lean_Syntax_node5(v___x_19880_, v___x_19881_, v___x_19883_, v___x_19890_, v___x_19893_, v___x_19898_, v___x_19900_); -v___x_19902_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19902_, 0, v___x_19901_); -return v___x_19902_; +v___x_19884_ = l_Lean_Syntax_node5(v___x_19861_, v___x_19862_, v___x_19864_, v___x_19871_, v___x_19874_, v___x_19881_, v___x_19883_); +v___x_19885_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_19885_, 0, v___x_19884_); +return v___x_19885_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___boxed(lean_object* v___x_19903_, lean_object* v_a_19904_, lean_object* v_a_19905_, lean_object* v_curIds_19906_, lean_object* v___y_19907_, lean_object* v___y_19908_, lean_object* v___y_19909_, lean_object* v___y_19910_, lean_object* v___y_19911_, lean_object* v___y_19912_, lean_object* v___y_19913_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___boxed(lean_object* v___x_19886_, lean_object* v_a_19887_, lean_object* v_a_19888_, lean_object* v_curIds_19889_, lean_object* v___y_19890_, lean_object* v___y_19891_, lean_object* v___y_19892_, lean_object* v___y_19893_, lean_object* v___y_19894_, lean_object* v___y_19895_, lean_object* v___y_19896_){ _start: { -uint8_t v___x_45717__boxed_19914_; lean_object* v_res_19915_; -v___x_45717__boxed_19914_ = lean_unbox(v___x_19903_); -v_res_19915_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5(v___x_45717__boxed_19914_, v_a_19904_, v_a_19905_, v_curIds_19906_, v___y_19907_, v___y_19908_, v___y_19909_, v___y_19910_, v___y_19911_, v___y_19912_); -lean_dec(v___y_19912_); -lean_dec_ref(v___y_19911_); -lean_dec(v___y_19910_); -lean_dec_ref(v___y_19909_); -lean_dec(v___y_19908_); -lean_dec_ref(v___y_19907_); -return v_res_19915_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3(uint8_t v___x_19916_, lean_object* v_a_19917_, lean_object* v_curIds_19918_, lean_object* v___y_19919_, lean_object* v___y_19920_, lean_object* v___y_19921_, lean_object* v___y_19922_, lean_object* v___y_19923_, lean_object* v___y_19924_){ -_start: -{ -lean_object* v_ref_19926_; lean_object* v___x_19927_; lean_object* v___x_19928_; lean_object* v___x_19929_; lean_object* v___x_19930_; lean_object* v___x_19931_; lean_object* v___x_19932_; size_t v_sz_19933_; size_t v___x_19934_; lean_object* v___x_19935_; lean_object* v___x_19936_; lean_object* v___x_19937_; lean_object* v___x_19938_; lean_object* v___x_19939_; lean_object* v___x_19940_; lean_object* v___x_19941_; lean_object* v___x_19942_; lean_object* v___x_19943_; lean_object* v___x_19944_; lean_object* v___x_19945_; -v_ref_19926_ = lean_ctor_get(v___y_19923_, 5); -v___x_19927_ = l_Lean_SourceInfo_fromRef(v_ref_19926_, v___x_19916_); -v___x_19928_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); -v___x_19929_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); -lean_inc(v___x_19927_); -v___x_19930_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19930_, 0, v___x_19927_); -lean_ctor_set(v___x_19930_, 1, v___x_19929_); -v___x_19931_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_19932_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_19933_ = lean_array_size(v_curIds_19918_); -v___x_19934_ = ((size_t)0ULL); -v___x_19935_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_19933_, v___x_19934_, v_curIds_19918_); -v___x_19936_ = l_Array_append___redArg(v___x_19932_, v___x_19935_); -lean_dec_ref(v___x_19935_); -lean_inc(v___x_19927_); -v___x_19937_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19937_, 0, v___x_19927_); -lean_ctor_set(v___x_19937_, 1, v___x_19931_); -lean_ctor_set(v___x_19937_, 2, v___x_19936_); -v___x_19938_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_19927_); -v___x_19939_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19939_, 0, v___x_19927_); -lean_ctor_set(v___x_19939_, 1, v___x_19938_); -lean_inc(v___x_19927_); -v___x_19940_ = l_Lean_Syntax_node2(v___x_19927_, v___x_19931_, v___x_19939_, v_a_19917_); -lean_inc(v___x_19927_); -v___x_19941_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_19941_, 0, v___x_19927_); -lean_ctor_set(v___x_19941_, 1, v___x_19931_); -lean_ctor_set(v___x_19941_, 2, v___x_19932_); -v___x_19942_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); -lean_inc(v___x_19927_); -v___x_19943_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_19943_, 0, v___x_19927_); -lean_ctor_set(v___x_19943_, 1, v___x_19942_); -v___x_19944_ = l_Lean_Syntax_node5(v___x_19927_, v___x_19928_, v___x_19930_, v___x_19937_, v___x_19940_, v___x_19941_, v___x_19943_); -v___x_19945_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_19945_, 0, v___x_19944_); -return v___x_19945_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3___boxed(lean_object* v___x_19946_, lean_object* v_a_19947_, lean_object* v_curIds_19948_, lean_object* v___y_19949_, lean_object* v___y_19950_, lean_object* v___y_19951_, lean_object* v___y_19952_, lean_object* v___y_19953_, lean_object* v___y_19954_, lean_object* v___y_19955_){ -_start: -{ -uint8_t v___x_45813__boxed_19956_; lean_object* v_res_19957_; -v___x_45813__boxed_19956_ = lean_unbox(v___x_19946_); -v_res_19957_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3(v___x_45813__boxed_19956_, v_a_19947_, v_curIds_19948_, v___y_19949_, v___y_19950_, v___y_19951_, v___y_19952_, v___y_19953_, v___y_19954_); -lean_dec(v___y_19954_); -lean_dec_ref(v___y_19953_); -lean_dec(v___y_19952_); -lean_dec_ref(v___y_19951_); -lean_dec(v___y_19950_); -lean_dec_ref(v___y_19949_); -return v_res_19957_; -} -} -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(lean_object* v_x_19958_, lean_object* v___y_19959_, lean_object* v___y_19960_, lean_object* v___y_19961_, lean_object* v___y_19962_){ -_start: -{ -if (lean_obj_tag(v_x_19958_) == 0) -{ -lean_object* v_a_19964_; lean_object* v___x_19965_; lean_object* v___x_19966_; -v_a_19964_ = lean_ctor_get(v_x_19958_, 0); -lean_inc(v_a_19964_); -lean_dec_ref(v_x_19958_); -v___x_19965_ = l_Lean_stringToMessageData(v_a_19964_); -v___x_19966_ = l_Lean_throwError___at___00Lean_throwErrorAt___at___00Lean_throwUnknownIdentifierAt___at___00Lean_throwUnknownConstantAt___at___00Lean_throwUnknownConstant___at___00Lean_getConstInfo___at___00Lean_Meta_instantiateStructDefaultValueFn_x3f___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_collectStructFields_spec__2_spec__2_spec__4_spec__6_spec__10_spec__12_spec__14___redArg(v___x_19965_, v___y_19959_, v___y_19960_, v___y_19961_, v___y_19962_); -return v___x_19966_; -} -else -{ -lean_object* v_a_19967_; lean_object* v___x_19969_; uint8_t v_isShared_19970_; uint8_t v_isSharedCheck_19974_; -v_a_19967_ = lean_ctor_get(v_x_19958_, 0); -v_isSharedCheck_19974_ = !lean_is_exclusive(v_x_19958_); -if (v_isSharedCheck_19974_ == 0) -{ -v___x_19969_ = v_x_19958_; -v_isShared_19970_ = v_isSharedCheck_19974_; -goto v_resetjp_19968_; -} -else -{ -lean_inc(v_a_19967_); -lean_dec(v_x_19958_); -v___x_19969_ = lean_box(0); -v_isShared_19970_ = v_isSharedCheck_19974_; -goto v_resetjp_19968_; -} -v_resetjp_19968_: -{ -lean_object* v___x_19972_; -if (v_isShared_19970_ == 0) -{ -lean_ctor_set_tag(v___x_19969_, 0); -v___x_19972_ = v___x_19969_; -goto v_reusejp_19971_; -} -else -{ -lean_object* v_reuseFailAlloc_19973_; -v_reuseFailAlloc_19973_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_19973_, 0, v_a_19967_); -v___x_19972_ = v_reuseFailAlloc_19973_; -goto v_reusejp_19971_; -} -v_reusejp_19971_: -{ -return v___x_19972_; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg___boxed(lean_object* v_x_19975_, lean_object* v___y_19976_, lean_object* v___y_19977_, lean_object* v___y_19978_, lean_object* v___y_19979_, lean_object* v___y_19980_){ -_start: -{ -lean_object* v_res_19981_; -v_res_19981_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v_x_19975_, v___y_19976_, v___y_19977_, v___y_19978_, v___y_19979_); -lean_dec(v___y_19979_); -lean_dec_ref(v___y_19978_); -lean_dec(v___y_19977_); -lean_dec_ref(v___y_19976_); -return v_res_19981_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4(uint8_t v___x_19989_, lean_object* v_a_19990_, lean_object* v_a_19991_, lean_object* v_curIds_19992_, lean_object* v___y_19993_, lean_object* v___y_19994_, lean_object* v___y_19995_, lean_object* v___y_19996_, lean_object* v___y_19997_, lean_object* v___y_19998_){ -_start: -{ -lean_object* v_ref_20000_; lean_object* v___x_20001_; lean_object* v___x_20002_; lean_object* v___x_20003_; lean_object* v___x_20004_; lean_object* v___x_20005_; lean_object* v___x_20006_; size_t v_sz_20007_; size_t v___x_20008_; lean_object* v___x_20009_; lean_object* v___x_20010_; lean_object* v___x_20011_; lean_object* v___x_20012_; lean_object* v___x_20013_; lean_object* v___x_20014_; lean_object* v___x_20015_; lean_object* v___x_20016_; lean_object* v___x_20017_; lean_object* v___x_20018_; lean_object* v___x_20019_; lean_object* v___x_20020_; lean_object* v___x_20021_; lean_object* v___x_20022_; lean_object* v___x_20023_; lean_object* v___x_20024_; lean_object* v___x_20025_; -v_ref_20000_ = lean_ctor_get(v___y_19997_, 5); -v___x_20001_ = l_Lean_SourceInfo_fromRef(v_ref_20000_, v___x_19989_); -v___x_20002_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__7)); -v___x_20003_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__8)); -lean_inc(v___x_20001_); -v___x_20004_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20004_, 0, v___x_20001_); -lean_ctor_set(v___x_20004_, 1, v___x_20003_); -v___x_20005_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_20006_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_20007_ = lean_array_size(v_curIds_19992_); -v___x_20008_ = ((size_t)0ULL); -v___x_20009_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__1(v_sz_20007_, v___x_20008_, v_curIds_19992_); -v___x_20010_ = l_Array_append___redArg(v___x_20006_, v___x_20009_); -lean_dec_ref(v___x_20009_); -lean_inc(v___x_20001_); -v___x_20011_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_20011_, 0, v___x_20001_); -lean_ctor_set(v___x_20011_, 1, v___x_20005_); -lean_ctor_set(v___x_20011_, 2, v___x_20010_); -v___x_20012_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_20001_); -v___x_20013_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20013_, 0, v___x_20001_); -lean_ctor_set(v___x_20013_, 1, v___x_20012_); -lean_inc(v___x_20001_); -v___x_20014_ = l_Lean_Syntax_node2(v___x_20001_, v___x_20005_, v___x_20013_, v_a_19990_); -v___x_20015_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___closed__1)); -v___x_20016_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_mkNamedArg___closed__2)); -lean_inc(v___x_20001_); -v___x_20017_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20017_, 0, v___x_20001_); -lean_ctor_set(v___x_20017_, 1, v___x_20016_); -v___x_20018_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___closed__2)); -lean_inc(v___x_20001_); -v___x_20019_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20019_, 0, v___x_20001_); -lean_ctor_set(v___x_20019_, 1, v___x_20018_); -lean_inc(v___x_20001_); -v___x_20020_ = l_Lean_Syntax_node3(v___x_20001_, v___x_20015_, v___x_20017_, v___x_20019_, v_a_19991_); -lean_inc(v___x_20001_); -v___x_20021_ = l_Lean_Syntax_node1(v___x_20001_, v___x_20005_, v___x_20020_); -v___x_20022_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__37)); -lean_inc(v___x_20001_); -v___x_20023_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20023_, 0, v___x_20001_); -lean_ctor_set(v___x_20023_, 1, v___x_20022_); -v___x_20024_ = l_Lean_Syntax_node5(v___x_20001_, v___x_20002_, v___x_20004_, v___x_20011_, v___x_20014_, v___x_20021_, v___x_20023_); -v___x_20025_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20025_, 0, v___x_20024_); -return v___x_20025_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___boxed(lean_object* v___x_20026_, lean_object* v_a_20027_, lean_object* v_a_20028_, lean_object* v_curIds_20029_, lean_object* v___y_20030_, lean_object* v___y_20031_, lean_object* v___y_20032_, lean_object* v___y_20033_, lean_object* v___y_20034_, lean_object* v___y_20035_, lean_object* v___y_20036_){ -_start: -{ -uint8_t v___x_45949__boxed_20037_; lean_object* v_res_20038_; -v___x_45949__boxed_20037_ = lean_unbox(v___x_20026_); -v_res_20038_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4(v___x_45949__boxed_20037_, v_a_20027_, v_a_20028_, v_curIds_20029_, v___y_20030_, v___y_20031_, v___y_20032_, v___y_20033_, v___y_20034_, v___y_20035_); -lean_dec(v___y_20035_); -lean_dec_ref(v___y_20034_); -lean_dec(v___y_20033_); -lean_dec_ref(v___y_20032_); -lean_dec(v___y_20031_); -lean_dec_ref(v___y_20030_); -return v_res_20038_; +uint8_t v___x_45949__boxed_19897_; lean_object* v_res_19898_; +v___x_45949__boxed_19897_ = lean_unbox(v___x_19886_); +v_res_19898_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4(v___x_45949__boxed_19897_, v_a_19887_, v_a_19888_, v_curIds_19889_, v___y_19890_, v___y_19891_, v___y_19892_, v___y_19893_, v___y_19894_, v___y_19895_); +lean_dec(v___y_19895_); +lean_dec_ref(v___y_19894_); +lean_dec(v___y_19893_); +lean_dec_ref(v___y_19892_); +lean_dec(v___y_19891_); +lean_dec_ref(v___y_19890_); +return v_res_19898_; } } static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0(void){ _start: { -lean_object* v___x_20039_; lean_object* v___x_20040_; -v___x_20039_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed), 7, 0); -v___x_20040_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_withoutParentProjections_spec__0___boxed), 9, 2); -lean_closure_set(v___x_20040_, 0, lean_box(0)); -lean_closure_set(v___x_20040_, 1, v___x_20039_); -return v___x_20040_; +lean_object* v___x_19899_; lean_object* v___x_19900_; +v___x_19899_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed), 7, 0); +v___x_19900_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_withoutParentProjections_spec__0___boxed), 9, 2); +lean_closure_set(v___x_19900_, 0, lean_box(0)); +lean_closure_set(v___x_19900_, 1, v___x_19899_); +return v___x_19900_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6(uint8_t v_binderInfo_20041_, uint8_t v___x_20042_, lean_object* v_binderType_20043_, lean_object* v___y_20044_, lean_object* v___y_20045_, lean_object* v___y_20046_, lean_object* v___y_20047_, lean_object* v___y_20048_, lean_object* v___y_20049_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6(uint8_t v_binderInfo_19901_, uint8_t v___x_19902_, lean_object* v_binderType_19903_, lean_object* v___y_19904_, lean_object* v___y_19905_, lean_object* v___y_19906_, lean_object* v___y_19907_, lean_object* v___y_19908_, lean_object* v___y_19909_){ _start: { -switch(v_binderInfo_20041_) +switch(v_binderInfo_19901_) { case 1: { -lean_object* v___x_20051_; -v___x_20051_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20051_) == 0) +lean_object* v___x_19911_; +v___x_19911_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_19911_) == 0) { -lean_object* v_a_20052_; lean_object* v___x_20054_; uint8_t v_isShared_20055_; uint8_t v_isSharedCheck_20061_; -v_a_20052_ = lean_ctor_get(v___x_20051_, 0); -v_isSharedCheck_20061_ = !lean_is_exclusive(v___x_20051_); -if (v_isSharedCheck_20061_ == 0) +lean_object* v_a_19912_; lean_object* v___x_19914_; uint8_t v_isShared_19915_; uint8_t v_isSharedCheck_19921_; +v_a_19912_ = lean_ctor_get(v___x_19911_, 0); +v_isSharedCheck_19921_ = !lean_is_exclusive(v___x_19911_); +if (v_isSharedCheck_19921_ == 0) { -v___x_20054_ = v___x_20051_; -v_isShared_20055_ = v_isSharedCheck_20061_; -goto v_resetjp_20053_; +v___x_19914_ = v___x_19911_; +v_isShared_19915_ = v_isSharedCheck_19921_; +goto v_resetjp_19913_; } else { -lean_inc(v_a_20052_); -lean_dec(v___x_20051_); -v___x_20054_ = lean_box(0); -v_isShared_20055_ = v_isSharedCheck_20061_; -goto v_resetjp_20053_; +lean_inc(v_a_19912_); +lean_dec(v___x_19911_); +v___x_19914_ = lean_box(0); +v_isShared_19915_ = v_isSharedCheck_19921_; +goto v_resetjp_19913_; } -v_resetjp_20053_: +v_resetjp_19913_: { -lean_object* v___x_20056_; lean_object* v___f_20057_; lean_object* v___x_20059_; -v___x_20056_ = lean_box(v___x_20042_); -v___f_20057_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0___boxed), 10, 2); -lean_closure_set(v___f_20057_, 0, v___x_20056_); -lean_closure_set(v___f_20057_, 1, v_a_20052_); -if (v_isShared_20055_ == 0) +lean_object* v___x_19916_; lean_object* v___f_19917_; lean_object* v___x_19919_; +v___x_19916_ = lean_box(v___x_19902_); +v___f_19917_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__0___boxed), 10, 2); +lean_closure_set(v___f_19917_, 0, v___x_19916_); +lean_closure_set(v___f_19917_, 1, v_a_19912_); +if (v_isShared_19915_ == 0) { -lean_ctor_set(v___x_20054_, 0, v___f_20057_); -v___x_20059_ = v___x_20054_; -goto v_reusejp_20058_; +lean_ctor_set(v___x_19914_, 0, v___f_19917_); +v___x_19919_ = v___x_19914_; +goto v_reusejp_19918_; } else { -lean_object* v_reuseFailAlloc_20060_; -v_reuseFailAlloc_20060_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20060_, 0, v___f_20057_); -v___x_20059_ = v_reuseFailAlloc_20060_; -goto v_reusejp_20058_; +lean_object* v_reuseFailAlloc_19920_; +v_reuseFailAlloc_19920_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19920_, 0, v___f_19917_); +v___x_19919_ = v_reuseFailAlloc_19920_; +goto v_reusejp_19918_; } -v_reusejp_20058_: +v_reusejp_19918_: { -return v___x_20059_; +return v___x_19919_; } } } else { -lean_object* v_a_20062_; lean_object* v___x_20064_; uint8_t v_isShared_20065_; uint8_t v_isSharedCheck_20069_; -v_a_20062_ = lean_ctor_get(v___x_20051_, 0); -v_isSharedCheck_20069_ = !lean_is_exclusive(v___x_20051_); -if (v_isSharedCheck_20069_ == 0) +lean_object* v_a_19922_; lean_object* v___x_19924_; uint8_t v_isShared_19925_; uint8_t v_isSharedCheck_19929_; +v_a_19922_ = lean_ctor_get(v___x_19911_, 0); +v_isSharedCheck_19929_ = !lean_is_exclusive(v___x_19911_); +if (v_isSharedCheck_19929_ == 0) { -v___x_20064_ = v___x_20051_; -v_isShared_20065_ = v_isSharedCheck_20069_; -goto v_resetjp_20063_; +v___x_19924_ = v___x_19911_; +v_isShared_19925_ = v_isSharedCheck_19929_; +goto v_resetjp_19923_; } else { -lean_inc(v_a_20062_); -lean_dec(v___x_20051_); -v___x_20064_ = lean_box(0); -v_isShared_20065_ = v_isSharedCheck_20069_; -goto v_resetjp_20063_; +lean_inc(v_a_19922_); +lean_dec(v___x_19911_); +v___x_19924_ = lean_box(0); +v_isShared_19925_ = v_isSharedCheck_19929_; +goto v_resetjp_19923_; } -v_resetjp_20063_: +v_resetjp_19923_: { -lean_object* v___x_20067_; -if (v_isShared_20065_ == 0) +lean_object* v___x_19927_; +if (v_isShared_19925_ == 0) { -v___x_20067_ = v___x_20064_; -goto v_reusejp_20066_; +v___x_19927_ = v___x_19924_; +goto v_reusejp_19926_; } else { -lean_object* v_reuseFailAlloc_20068_; -v_reuseFailAlloc_20068_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20068_, 0, v_a_20062_); -v___x_20067_ = v_reuseFailAlloc_20068_; -goto v_reusejp_20066_; +lean_object* v_reuseFailAlloc_19928_; +v_reuseFailAlloc_19928_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19928_, 0, v_a_19922_); +v___x_19927_ = v_reuseFailAlloc_19928_; +goto v_reusejp_19926_; } -v_reusejp_20066_: +v_reusejp_19926_: { -return v___x_20067_; +return v___x_19927_; } } } } case 2: { -lean_object* v___x_20070_; -v___x_20070_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20070_) == 0) +lean_object* v___x_19930_; +v___x_19930_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_19930_) == 0) { -lean_object* v_a_20071_; lean_object* v___x_20073_; uint8_t v_isShared_20074_; uint8_t v_isSharedCheck_20080_; -v_a_20071_ = lean_ctor_get(v___x_20070_, 0); -v_isSharedCheck_20080_ = !lean_is_exclusive(v___x_20070_); -if (v_isSharedCheck_20080_ == 0) +lean_object* v_a_19931_; lean_object* v___x_19933_; uint8_t v_isShared_19934_; uint8_t v_isSharedCheck_19940_; +v_a_19931_ = lean_ctor_get(v___x_19930_, 0); +v_isSharedCheck_19940_ = !lean_is_exclusive(v___x_19930_); +if (v_isSharedCheck_19940_ == 0) { -v___x_20073_ = v___x_20070_; -v_isShared_20074_ = v_isSharedCheck_20080_; -goto v_resetjp_20072_; +v___x_19933_ = v___x_19930_; +v_isShared_19934_ = v_isSharedCheck_19940_; +goto v_resetjp_19932_; } else { -lean_inc(v_a_20071_); -lean_dec(v___x_20070_); -v___x_20073_ = lean_box(0); -v_isShared_20074_ = v_isSharedCheck_20080_; -goto v_resetjp_20072_; +lean_inc(v_a_19931_); +lean_dec(v___x_19930_); +v___x_19933_ = lean_box(0); +v_isShared_19934_ = v_isSharedCheck_19940_; +goto v_resetjp_19932_; } -v_resetjp_20072_: +v_resetjp_19932_: { -lean_object* v___x_20075_; lean_object* v___f_20076_; lean_object* v___x_20078_; -v___x_20075_ = lean_box(v___x_20042_); -v___f_20076_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1___boxed), 10, 2); -lean_closure_set(v___f_20076_, 0, v___x_20075_); -lean_closure_set(v___f_20076_, 1, v_a_20071_); -if (v_isShared_20074_ == 0) +lean_object* v___x_19935_; lean_object* v___f_19936_; lean_object* v___x_19938_; +v___x_19935_ = lean_box(v___x_19902_); +v___f_19936_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__1___boxed), 10, 2); +lean_closure_set(v___f_19936_, 0, v___x_19935_); +lean_closure_set(v___f_19936_, 1, v_a_19931_); +if (v_isShared_19934_ == 0) { -lean_ctor_set(v___x_20073_, 0, v___f_20076_); -v___x_20078_ = v___x_20073_; -goto v_reusejp_20077_; +lean_ctor_set(v___x_19933_, 0, v___f_19936_); +v___x_19938_ = v___x_19933_; +goto v_reusejp_19937_; } else { -lean_object* v_reuseFailAlloc_20079_; -v_reuseFailAlloc_20079_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20079_, 0, v___f_20076_); -v___x_20078_ = v_reuseFailAlloc_20079_; -goto v_reusejp_20077_; +lean_object* v_reuseFailAlloc_19939_; +v_reuseFailAlloc_19939_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19939_, 0, v___f_19936_); +v___x_19938_ = v_reuseFailAlloc_19939_; +goto v_reusejp_19937_; } -v_reusejp_20077_: +v_reusejp_19937_: { -return v___x_20078_; +return v___x_19938_; } } } else { -lean_object* v_a_20081_; lean_object* v___x_20083_; uint8_t v_isShared_20084_; uint8_t v_isSharedCheck_20088_; -v_a_20081_ = lean_ctor_get(v___x_20070_, 0); -v_isSharedCheck_20088_ = !lean_is_exclusive(v___x_20070_); -if (v_isSharedCheck_20088_ == 0) +lean_object* v_a_19941_; lean_object* v___x_19943_; uint8_t v_isShared_19944_; uint8_t v_isSharedCheck_19948_; +v_a_19941_ = lean_ctor_get(v___x_19930_, 0); +v_isSharedCheck_19948_ = !lean_is_exclusive(v___x_19930_); +if (v_isSharedCheck_19948_ == 0) { -v___x_20083_ = v___x_20070_; -v_isShared_20084_ = v_isSharedCheck_20088_; -goto v_resetjp_20082_; +v___x_19943_ = v___x_19930_; +v_isShared_19944_ = v_isSharedCheck_19948_; +goto v_resetjp_19942_; } else { -lean_inc(v_a_20081_); -lean_dec(v___x_20070_); -v___x_20083_ = lean_box(0); -v_isShared_20084_ = v_isSharedCheck_20088_; -goto v_resetjp_20082_; +lean_inc(v_a_19941_); +lean_dec(v___x_19930_); +v___x_19943_ = lean_box(0); +v_isShared_19944_ = v_isSharedCheck_19948_; +goto v_resetjp_19942_; } -v_resetjp_20082_: +v_resetjp_19942_: { -lean_object* v___x_20086_; -if (v_isShared_20084_ == 0) +lean_object* v___x_19946_; +if (v_isShared_19944_ == 0) { -v___x_20086_ = v___x_20083_; -goto v_reusejp_20085_; +v___x_19946_ = v___x_19943_; +goto v_reusejp_19945_; } else { -lean_object* v_reuseFailAlloc_20087_; -v_reuseFailAlloc_20087_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20087_, 0, v_a_20081_); -v___x_20086_ = v_reuseFailAlloc_20087_; -goto v_reusejp_20085_; +lean_object* v_reuseFailAlloc_19947_; +v_reuseFailAlloc_19947_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19947_, 0, v_a_19941_); +v___x_19946_ = v_reuseFailAlloc_19947_; +goto v_reusejp_19945_; } -v_reusejp_20085_: +v_reusejp_19945_: { -return v___x_20086_; +return v___x_19946_; } } } } case 3: { -lean_object* v___x_20089_; -v___x_20089_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20089_) == 0) +lean_object* v___x_19949_; +v___x_19949_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_19949_) == 0) { -lean_object* v_a_20090_; lean_object* v___x_20092_; uint8_t v_isShared_20093_; uint8_t v_isSharedCheck_20099_; -v_a_20090_ = lean_ctor_get(v___x_20089_, 0); -v_isSharedCheck_20099_ = !lean_is_exclusive(v___x_20089_); -if (v_isSharedCheck_20099_ == 0) +lean_object* v_a_19950_; lean_object* v___x_19952_; uint8_t v_isShared_19953_; uint8_t v_isSharedCheck_19959_; +v_a_19950_ = lean_ctor_get(v___x_19949_, 0); +v_isSharedCheck_19959_ = !lean_is_exclusive(v___x_19949_); +if (v_isSharedCheck_19959_ == 0) { -v___x_20092_ = v___x_20089_; -v_isShared_20093_ = v_isSharedCheck_20099_; -goto v_resetjp_20091_; +v___x_19952_ = v___x_19949_; +v_isShared_19953_ = v_isSharedCheck_19959_; +goto v_resetjp_19951_; } else { -lean_inc(v_a_20090_); -lean_dec(v___x_20089_); -v___x_20092_ = lean_box(0); -v_isShared_20093_ = v_isSharedCheck_20099_; -goto v_resetjp_20091_; +lean_inc(v_a_19950_); +lean_dec(v___x_19949_); +v___x_19952_ = lean_box(0); +v_isShared_19953_ = v_isSharedCheck_19959_; +goto v_resetjp_19951_; } -v_resetjp_20091_: +v_resetjp_19951_: { -lean_object* v___x_20094_; lean_object* v___f_20095_; lean_object* v___x_20097_; -v___x_20094_ = lean_box(v___x_20042_); -v___f_20095_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2___boxed), 10, 2); -lean_closure_set(v___f_20095_, 0, v___x_20094_); -lean_closure_set(v___f_20095_, 1, v_a_20090_); -if (v_isShared_20093_ == 0) +lean_object* v___x_19954_; lean_object* v___f_19955_; lean_object* v___x_19957_; +v___x_19954_ = lean_box(v___x_19902_); +v___f_19955_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__2___boxed), 10, 2); +lean_closure_set(v___f_19955_, 0, v___x_19954_); +lean_closure_set(v___f_19955_, 1, v_a_19950_); +if (v_isShared_19953_ == 0) { -lean_ctor_set(v___x_20092_, 0, v___f_20095_); -v___x_20097_ = v___x_20092_; -goto v_reusejp_20096_; +lean_ctor_set(v___x_19952_, 0, v___f_19955_); +v___x_19957_ = v___x_19952_; +goto v_reusejp_19956_; } else { -lean_object* v_reuseFailAlloc_20098_; -v_reuseFailAlloc_20098_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20098_, 0, v___f_20095_); -v___x_20097_ = v_reuseFailAlloc_20098_; -goto v_reusejp_20096_; +lean_object* v_reuseFailAlloc_19958_; +v_reuseFailAlloc_19958_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19958_, 0, v___f_19955_); +v___x_19957_ = v_reuseFailAlloc_19958_; +goto v_reusejp_19956_; } -v_reusejp_20096_: +v_reusejp_19956_: { -return v___x_20097_; +return v___x_19957_; } } } else { -lean_object* v_a_20100_; lean_object* v___x_20102_; uint8_t v_isShared_20103_; uint8_t v_isSharedCheck_20107_; -v_a_20100_ = lean_ctor_get(v___x_20089_, 0); -v_isSharedCheck_20107_ = !lean_is_exclusive(v___x_20089_); -if (v_isSharedCheck_20107_ == 0) +lean_object* v_a_19960_; lean_object* v___x_19962_; uint8_t v_isShared_19963_; uint8_t v_isSharedCheck_19967_; +v_a_19960_ = lean_ctor_get(v___x_19949_, 0); +v_isSharedCheck_19967_ = !lean_is_exclusive(v___x_19949_); +if (v_isSharedCheck_19967_ == 0) { -v___x_20102_ = v___x_20089_; -v_isShared_20103_ = v_isSharedCheck_20107_; -goto v_resetjp_20101_; +v___x_19962_ = v___x_19949_; +v_isShared_19963_ = v_isSharedCheck_19967_; +goto v_resetjp_19961_; } else { -lean_inc(v_a_20100_); -lean_dec(v___x_20089_); -v___x_20102_ = lean_box(0); -v_isShared_20103_ = v_isSharedCheck_20107_; -goto v_resetjp_20101_; +lean_inc(v_a_19960_); +lean_dec(v___x_19949_); +v___x_19962_ = lean_box(0); +v_isShared_19963_ = v_isSharedCheck_19967_; +goto v_resetjp_19961_; } -v_resetjp_20101_: +v_resetjp_19961_: { -lean_object* v___x_20105_; -if (v_isShared_20103_ == 0) +lean_object* v___x_19965_; +if (v_isShared_19963_ == 0) { -v___x_20105_ = v___x_20102_; -goto v_reusejp_20104_; +v___x_19965_ = v___x_19962_; +goto v_reusejp_19964_; } else { -lean_object* v_reuseFailAlloc_20106_; -v_reuseFailAlloc_20106_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20106_, 0, v_a_20100_); -v___x_20105_ = v_reuseFailAlloc_20106_; -goto v_reusejp_20104_; +lean_object* v_reuseFailAlloc_19966_; +v_reuseFailAlloc_19966_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19966_, 0, v_a_19960_); +v___x_19965_ = v_reuseFailAlloc_19966_; +goto v_reusejp_19964_; } -v_reusejp_20104_: +v_reusejp_19964_: { -return v___x_20105_; +return v___x_19965_; } } } } default: { -uint8_t v___x_20108_; lean_object* v___y_20110_; lean_object* v___y_20111_; lean_object* v___y_20112_; lean_object* v___y_20113_; lean_object* v___y_20114_; lean_object* v___y_20115_; -v___x_20108_ = l_Lean_Expr_isOptParam(v_binderType_20043_); -if (v___x_20108_ == 0) +uint8_t v___x_19968_; lean_object* v___y_19970_; lean_object* v___y_19971_; lean_object* v___y_19972_; lean_object* v___y_19973_; lean_object* v___y_19974_; lean_object* v___y_19975_; +v___x_19968_ = l_Lean_Expr_isOptParam(v_binderType_19903_); +if (v___x_19968_ == 0) { -lean_object* v___x_20135_; -v___x_20135_ = l_Lean_Expr_getAutoParamTactic_x3f(v_binderType_20043_); -if (lean_obj_tag(v___x_20135_) == 1) +lean_object* v___x_19995_; +v___x_19995_ = l_Lean_Expr_getAutoParamTactic_x3f(v_binderType_19903_); +if (lean_obj_tag(v___x_19995_) == 1) { -lean_object* v_val_20136_; -v_val_20136_ = lean_ctor_get(v___x_20135_, 0); -lean_inc(v_val_20136_); -lean_dec_ref(v___x_20135_); -if (lean_obj_tag(v_val_20136_) == 4) +lean_object* v_val_19996_; +v_val_19996_ = lean_ctor_get(v___x_19995_, 0); +lean_inc(v_val_19996_); +lean_dec_ref(v___x_19995_); +if (lean_obj_tag(v_val_19996_) == 4) { -lean_object* v_declName_20137_; lean_object* v___x_20138_; lean_object* v___x_20139_; -v_declName_20137_ = lean_ctor_get(v_val_20136_, 0); -lean_inc(v_declName_20137_); -lean_dec_ref(v_val_20136_); -v___x_20138_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0); -lean_inc(v___y_20049_); -lean_inc_ref(v___y_20048_); -lean_inc(v___y_20047_); -lean_inc_ref(v___y_20046_); -v___x_20139_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBoundedAppFnArgs___at___00Lean_PrettyPrinter_Delaborator_delabAppExplicitCore_spec__0_spec__0___redArg(v___x_20138_, v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20139_) == 0) +lean_object* v_declName_19997_; lean_object* v___x_19998_; lean_object* v___x_19999_; +v_declName_19997_ = lean_ctor_get(v_val_19996_, 0); +lean_inc(v_declName_19997_); +lean_dec_ref(v_val_19996_); +v___x_19998_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0); +lean_inc(v___y_19909_); +lean_inc_ref(v___y_19908_); +lean_inc(v___y_19907_); +lean_inc_ref(v___y_19906_); +v___x_19999_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBoundedAppFnArgs___at___00Lean_PrettyPrinter_Delaborator_delabAppExplicitCore_spec__0_spec__0___redArg(v___x_19998_, v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_19999_) == 0) { -lean_object* v_a_20140_; lean_object* v___x_20141_; lean_object* v_env_20142_; lean_object* v_options_20143_; lean_object* v___x_20144_; lean_object* v___x_20145_; -v_a_20140_ = lean_ctor_get(v___x_20139_, 0); -lean_inc(v_a_20140_); -lean_dec_ref(v___x_20139_); -v___x_20141_ = lean_st_ref_get(v___y_20049_); -v_env_20142_ = lean_ctor_get(v___x_20141_, 0); -lean_inc_ref(v_env_20142_); -lean_dec(v___x_20141_); -v_options_20143_ = lean_ctor_get(v___y_20048_, 2); -v___x_20144_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(v_env_20142_, v_options_20143_, v_declName_20137_); -v___x_20145_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v___x_20144_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -lean_dec(v___y_20049_); -lean_dec_ref(v___y_20048_); -lean_dec(v___y_20047_); -lean_dec_ref(v___y_20046_); -if (lean_obj_tag(v___x_20145_) == 0) +lean_object* v_a_20000_; lean_object* v___x_20001_; lean_object* v_env_20002_; lean_object* v_options_20003_; lean_object* v___x_20004_; lean_object* v___x_20005_; +v_a_20000_ = lean_ctor_get(v___x_19999_, 0); +lean_inc(v_a_20000_); +lean_dec_ref(v___x_19999_); +v___x_20001_ = lean_st_ref_get(v___y_19909_); +v_env_20002_ = lean_ctor_get(v___x_20001_, 0); +lean_inc_ref(v_env_20002_); +lean_dec(v___x_20001_); +v_options_20003_ = lean_ctor_get(v___y_19908_, 2); +v___x_20004_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_evalSyntaxConstantUnsafe(v_env_20002_, v_options_20003_, v_declName_19997_); +v___x_20005_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v___x_20004_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +lean_dec(v___y_19909_); +lean_dec_ref(v___y_19908_); +lean_dec(v___y_19907_); +lean_dec_ref(v___y_19906_); +if (lean_obj_tag(v___x_20005_) == 0) { -lean_object* v_a_20146_; lean_object* v___x_20148_; uint8_t v_isShared_20149_; uint8_t v_isSharedCheck_20155_; -v_a_20146_ = lean_ctor_get(v___x_20145_, 0); -v_isSharedCheck_20155_ = !lean_is_exclusive(v___x_20145_); -if (v_isSharedCheck_20155_ == 0) +lean_object* v_a_20006_; lean_object* v___x_20008_; uint8_t v_isShared_20009_; uint8_t v_isSharedCheck_20015_; +v_a_20006_ = lean_ctor_get(v___x_20005_, 0); +v_isSharedCheck_20015_ = !lean_is_exclusive(v___x_20005_); +if (v_isSharedCheck_20015_ == 0) { -v___x_20148_ = v___x_20145_; -v_isShared_20149_ = v_isSharedCheck_20155_; -goto v_resetjp_20147_; +v___x_20008_ = v___x_20005_; +v_isShared_20009_ = v_isSharedCheck_20015_; +goto v_resetjp_20007_; } else { -lean_inc(v_a_20146_); -lean_dec(v___x_20145_); -v___x_20148_ = lean_box(0); -v_isShared_20149_ = v_isSharedCheck_20155_; -goto v_resetjp_20147_; +lean_inc(v_a_20006_); +lean_dec(v___x_20005_); +v___x_20008_ = lean_box(0); +v_isShared_20009_ = v_isSharedCheck_20015_; +goto v_resetjp_20007_; } -v_resetjp_20147_: +v_resetjp_20007_: { -lean_object* v___x_20150_; lean_object* v___f_20151_; lean_object* v___x_20153_; -v___x_20150_ = lean_box(v___x_20108_); -v___f_20151_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___boxed), 11, 3); -lean_closure_set(v___f_20151_, 0, v___x_20150_); -lean_closure_set(v___f_20151_, 1, v_a_20140_); -lean_closure_set(v___f_20151_, 2, v_a_20146_); -if (v_isShared_20149_ == 0) +lean_object* v___x_20010_; lean_object* v___f_20011_; lean_object* v___x_20013_; +v___x_20010_ = lean_box(v___x_19968_); +v___f_20011_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__4___boxed), 11, 3); +lean_closure_set(v___f_20011_, 0, v___x_20010_); +lean_closure_set(v___f_20011_, 1, v_a_20000_); +lean_closure_set(v___f_20011_, 2, v_a_20006_); +if (v_isShared_20009_ == 0) { -lean_ctor_set(v___x_20148_, 0, v___f_20151_); -v___x_20153_ = v___x_20148_; -goto v_reusejp_20152_; +lean_ctor_set(v___x_20008_, 0, v___f_20011_); +v___x_20013_ = v___x_20008_; +goto v_reusejp_20012_; } else { -lean_object* v_reuseFailAlloc_20154_; -v_reuseFailAlloc_20154_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20154_, 0, v___f_20151_); -v___x_20153_ = v_reuseFailAlloc_20154_; -goto v_reusejp_20152_; +lean_object* v_reuseFailAlloc_20014_; +v_reuseFailAlloc_20014_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20014_, 0, v___f_20011_); +v___x_20013_ = v_reuseFailAlloc_20014_; +goto v_reusejp_20012_; } -v_reusejp_20152_: +v_reusejp_20012_: { -return v___x_20153_; +return v___x_20013_; } } } else { -lean_object* v_a_20156_; lean_object* v___x_20158_; uint8_t v_isShared_20159_; uint8_t v_isSharedCheck_20163_; -lean_dec(v_a_20140_); -v_a_20156_ = lean_ctor_get(v___x_20145_, 0); -v_isSharedCheck_20163_ = !lean_is_exclusive(v___x_20145_); -if (v_isSharedCheck_20163_ == 0) +lean_object* v_a_20016_; lean_object* v___x_20018_; uint8_t v_isShared_20019_; uint8_t v_isSharedCheck_20023_; +lean_dec(v_a_20000_); +v_a_20016_ = lean_ctor_get(v___x_20005_, 0); +v_isSharedCheck_20023_ = !lean_is_exclusive(v___x_20005_); +if (v_isSharedCheck_20023_ == 0) { -v___x_20158_ = v___x_20145_; -v_isShared_20159_ = v_isSharedCheck_20163_; -goto v_resetjp_20157_; +v___x_20018_ = v___x_20005_; +v_isShared_20019_ = v_isSharedCheck_20023_; +goto v_resetjp_20017_; } else { -lean_inc(v_a_20156_); -lean_dec(v___x_20145_); -v___x_20158_ = lean_box(0); -v_isShared_20159_ = v_isSharedCheck_20163_; -goto v_resetjp_20157_; +lean_inc(v_a_20016_); +lean_dec(v___x_20005_); +v___x_20018_ = lean_box(0); +v_isShared_20019_ = v_isSharedCheck_20023_; +goto v_resetjp_20017_; } -v_resetjp_20157_: +v_resetjp_20017_: { -lean_object* v___x_20161_; -if (v_isShared_20159_ == 0) +lean_object* v___x_20021_; +if (v_isShared_20019_ == 0) { -v___x_20161_ = v___x_20158_; -goto v_reusejp_20160_; +v___x_20021_ = v___x_20018_; +goto v_reusejp_20020_; } else { -lean_object* v_reuseFailAlloc_20162_; -v_reuseFailAlloc_20162_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20162_, 0, v_a_20156_); -v___x_20161_ = v_reuseFailAlloc_20162_; -goto v_reusejp_20160_; +lean_object* v_reuseFailAlloc_20022_; +v_reuseFailAlloc_20022_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20022_, 0, v_a_20016_); +v___x_20021_ = v_reuseFailAlloc_20022_; +goto v_reusejp_20020_; } -v_reusejp_20160_: +v_reusejp_20020_: { -return v___x_20161_; +return v___x_20021_; } } } } else { -lean_object* v_a_20164_; lean_object* v___x_20166_; uint8_t v_isShared_20167_; uint8_t v_isSharedCheck_20171_; -lean_dec(v_declName_20137_); -lean_dec(v___y_20049_); -lean_dec_ref(v___y_20048_); -lean_dec(v___y_20047_); -lean_dec_ref(v___y_20046_); -v_a_20164_ = lean_ctor_get(v___x_20139_, 0); -v_isSharedCheck_20171_ = !lean_is_exclusive(v___x_20139_); -if (v_isSharedCheck_20171_ == 0) +lean_object* v_a_20024_; lean_object* v___x_20026_; uint8_t v_isShared_20027_; uint8_t v_isSharedCheck_20031_; +lean_dec(v_declName_19997_); +lean_dec(v___y_19909_); +lean_dec_ref(v___y_19908_); +lean_dec(v___y_19907_); +lean_dec_ref(v___y_19906_); +v_a_20024_ = lean_ctor_get(v___x_19999_, 0); +v_isSharedCheck_20031_ = !lean_is_exclusive(v___x_19999_); +if (v_isSharedCheck_20031_ == 0) { -v___x_20166_ = v___x_20139_; -v_isShared_20167_ = v_isSharedCheck_20171_; -goto v_resetjp_20165_; +v___x_20026_ = v___x_19999_; +v_isShared_20027_ = v_isSharedCheck_20031_; +goto v_resetjp_20025_; } else { -lean_inc(v_a_20164_); -lean_dec(v___x_20139_); -v___x_20166_ = lean_box(0); -v_isShared_20167_ = v_isSharedCheck_20171_; -goto v_resetjp_20165_; +lean_inc(v_a_20024_); +lean_dec(v___x_19999_); +v___x_20026_ = lean_box(0); +v_isShared_20027_ = v_isSharedCheck_20031_; +goto v_resetjp_20025_; } -v_resetjp_20165_: +v_resetjp_20025_: { -lean_object* v___x_20169_; -if (v_isShared_20167_ == 0) +lean_object* v___x_20029_; +if (v_isShared_20027_ == 0) { -v___x_20169_ = v___x_20166_; -goto v_reusejp_20168_; +v___x_20029_ = v___x_20026_; +goto v_reusejp_20028_; } else { -lean_object* v_reuseFailAlloc_20170_; -v_reuseFailAlloc_20170_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20170_, 0, v_a_20164_); -v___x_20169_ = v_reuseFailAlloc_20170_; -goto v_reusejp_20168_; +lean_object* v_reuseFailAlloc_20030_; +v_reuseFailAlloc_20030_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20030_, 0, v_a_20024_); +v___x_20029_ = v_reuseFailAlloc_20030_; +goto v_reusejp_20028_; } -v_reusejp_20168_: +v_reusejp_20028_: { -return v___x_20169_; +return v___x_20029_; } } } } else { -lean_dec(v_val_20136_); -v___y_20110_ = v___y_20044_; -v___y_20111_ = v___y_20045_; -v___y_20112_ = v___y_20046_; -v___y_20113_ = v___y_20047_; -v___y_20114_ = v___y_20048_; -v___y_20115_ = v___y_20049_; -goto v___jp_20109_; +lean_dec(v_val_19996_); +v___y_19970_ = v___y_19904_; +v___y_19971_ = v___y_19905_; +v___y_19972_ = v___y_19906_; +v___y_19973_ = v___y_19907_; +v___y_19974_ = v___y_19908_; +v___y_19975_ = v___y_19909_; +goto v___jp_19969_; } } else { -lean_dec(v___x_20135_); -v___y_20110_ = v___y_20044_; -v___y_20111_ = v___y_20045_; -v___y_20112_ = v___y_20046_; -v___y_20113_ = v___y_20047_; -v___y_20114_ = v___y_20048_; -v___y_20115_ = v___y_20049_; -goto v___jp_20109_; +lean_dec(v___x_19995_); +v___y_19970_ = v___y_19904_; +v___y_19971_ = v___y_19905_; +v___y_19972_ = v___y_19906_; +v___y_19973_ = v___y_19907_; +v___y_19974_ = v___y_19908_; +v___y_19975_ = v___y_19909_; +goto v___jp_19969_; } } else { -lean_object* v___x_20172_; lean_object* v___x_20173_; lean_object* v___x_20174_; -v___x_20172_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed), 7, 0); -v___x_20173_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0); -lean_inc(v___y_20049_); -lean_inc_ref(v___y_20048_); -lean_inc(v___y_20047_); -lean_inc_ref(v___y_20046_); -lean_inc(v___y_20045_); -lean_inc_ref(v___y_20044_); -v___x_20174_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBoundedAppFnArgs___at___00Lean_PrettyPrinter_Delaborator_delabAppExplicitCore_spec__0_spec__0___redArg(v___x_20173_, v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20174_) == 0) +lean_object* v___x_20032_; lean_object* v___x_20033_; lean_object* v___x_20034_; +v___x_20032_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___boxed), 7, 0); +v___x_20033_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___closed__0); +lean_inc(v___y_19909_); +lean_inc_ref(v___y_19908_); +lean_inc(v___y_19907_); +lean_inc_ref(v___y_19906_); +lean_inc(v___y_19905_); +lean_inc_ref(v___y_19904_); +v___x_20034_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppFn___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBoundedAppFnArgs___at___00Lean_PrettyPrinter_Delaborator_delabAppExplicitCore_spec__0_spec__0___redArg(v___x_20033_, v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_20034_) == 0) { -lean_object* v_a_20175_; lean_object* v___x_20176_; -v_a_20175_ = lean_ctor_get(v___x_20174_, 0); -lean_inc(v_a_20175_); -lean_dec_ref(v___x_20174_); -v___x_20176_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_withoutParentProjections_spec__0___redArg(v___x_20172_, v___y_20044_, v___y_20045_, v___y_20046_, v___y_20047_, v___y_20048_, v___y_20049_); -if (lean_obj_tag(v___x_20176_) == 0) +lean_object* v_a_20035_; lean_object* v___x_20036_; +v_a_20035_ = lean_ctor_get(v___x_20034_, 0); +lean_inc(v_a_20035_); +lean_dec_ref(v___x_20034_); +v___x_20036_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withAppArg___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_withoutParentProjections_spec__0___redArg(v___x_20032_, v___y_19904_, v___y_19905_, v___y_19906_, v___y_19907_, v___y_19908_, v___y_19909_); +if (lean_obj_tag(v___x_20036_) == 0) { -lean_object* v_a_20177_; lean_object* v___x_20179_; uint8_t v_isShared_20180_; uint8_t v_isSharedCheck_20186_; -v_a_20177_ = lean_ctor_get(v___x_20176_, 0); -v_isSharedCheck_20186_ = !lean_is_exclusive(v___x_20176_); -if (v_isSharedCheck_20186_ == 0) +lean_object* v_a_20037_; lean_object* v___x_20039_; uint8_t v_isShared_20040_; uint8_t v_isSharedCheck_20046_; +v_a_20037_ = lean_ctor_get(v___x_20036_, 0); +v_isSharedCheck_20046_ = !lean_is_exclusive(v___x_20036_); +if (v_isSharedCheck_20046_ == 0) { -v___x_20179_ = v___x_20176_; -v_isShared_20180_ = v_isSharedCheck_20186_; -goto v_resetjp_20178_; +v___x_20039_ = v___x_20036_; +v_isShared_20040_ = v_isSharedCheck_20046_; +goto v_resetjp_20038_; } else { -lean_inc(v_a_20177_); -lean_dec(v___x_20176_); -v___x_20179_ = lean_box(0); -v_isShared_20180_ = v_isSharedCheck_20186_; -goto v_resetjp_20178_; +lean_inc(v_a_20037_); +lean_dec(v___x_20036_); +v___x_20039_ = lean_box(0); +v_isShared_20040_ = v_isSharedCheck_20046_; +goto v_resetjp_20038_; } -v_resetjp_20178_: +v_resetjp_20038_: { -lean_object* v___x_20181_; lean_object* v___f_20182_; lean_object* v___x_20184_; -v___x_20181_ = lean_box(v___x_20042_); -v___f_20182_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___boxed), 11, 3); -lean_closure_set(v___f_20182_, 0, v___x_20181_); -lean_closure_set(v___f_20182_, 1, v_a_20175_); -lean_closure_set(v___f_20182_, 2, v_a_20177_); -if (v_isShared_20180_ == 0) +lean_object* v___x_20041_; lean_object* v___f_20042_; lean_object* v___x_20044_; +v___x_20041_ = lean_box(v___x_19902_); +v___f_20042_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__5___boxed), 11, 3); +lean_closure_set(v___f_20042_, 0, v___x_20041_); +lean_closure_set(v___f_20042_, 1, v_a_20035_); +lean_closure_set(v___f_20042_, 2, v_a_20037_); +if (v_isShared_20040_ == 0) { -lean_ctor_set(v___x_20179_, 0, v___f_20182_); -v___x_20184_ = v___x_20179_; -goto v_reusejp_20183_; +lean_ctor_set(v___x_20039_, 0, v___f_20042_); +v___x_20044_ = v___x_20039_; +goto v_reusejp_20043_; } else { -lean_object* v_reuseFailAlloc_20185_; -v_reuseFailAlloc_20185_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20185_, 0, v___f_20182_); -v___x_20184_ = v_reuseFailAlloc_20185_; -goto v_reusejp_20183_; +lean_object* v_reuseFailAlloc_20045_; +v_reuseFailAlloc_20045_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20045_, 0, v___f_20042_); +v___x_20044_ = v_reuseFailAlloc_20045_; +goto v_reusejp_20043_; } -v_reusejp_20183_: +v_reusejp_20043_: { -return v___x_20184_; +return v___x_20044_; } } } else { -lean_object* v_a_20187_; lean_object* v___x_20189_; uint8_t v_isShared_20190_; uint8_t v_isSharedCheck_20194_; -lean_dec(v_a_20175_); -v_a_20187_ = lean_ctor_get(v___x_20176_, 0); -v_isSharedCheck_20194_ = !lean_is_exclusive(v___x_20176_); -if (v_isSharedCheck_20194_ == 0) +lean_object* v_a_20047_; lean_object* v___x_20049_; uint8_t v_isShared_20050_; uint8_t v_isSharedCheck_20054_; +lean_dec(v_a_20035_); +v_a_20047_ = lean_ctor_get(v___x_20036_, 0); +v_isSharedCheck_20054_ = !lean_is_exclusive(v___x_20036_); +if (v_isSharedCheck_20054_ == 0) { -v___x_20189_ = v___x_20176_; -v_isShared_20190_ = v_isSharedCheck_20194_; -goto v_resetjp_20188_; +v___x_20049_ = v___x_20036_; +v_isShared_20050_ = v_isSharedCheck_20054_; +goto v_resetjp_20048_; } else { -lean_inc(v_a_20187_); -lean_dec(v___x_20176_); -v___x_20189_ = lean_box(0); -v_isShared_20190_ = v_isSharedCheck_20194_; -goto v_resetjp_20188_; +lean_inc(v_a_20047_); +lean_dec(v___x_20036_); +v___x_20049_ = lean_box(0); +v_isShared_20050_ = v_isSharedCheck_20054_; +goto v_resetjp_20048_; } -v_resetjp_20188_: +v_resetjp_20048_: { -lean_object* v___x_20192_; -if (v_isShared_20190_ == 0) +lean_object* v___x_20052_; +if (v_isShared_20050_ == 0) { -v___x_20192_ = v___x_20189_; -goto v_reusejp_20191_; +v___x_20052_ = v___x_20049_; +goto v_reusejp_20051_; } else { -lean_object* v_reuseFailAlloc_20193_; -v_reuseFailAlloc_20193_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20193_, 0, v_a_20187_); -v___x_20192_ = v_reuseFailAlloc_20193_; -goto v_reusejp_20191_; +lean_object* v_reuseFailAlloc_20053_; +v_reuseFailAlloc_20053_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20053_, 0, v_a_20047_); +v___x_20052_ = v_reuseFailAlloc_20053_; +goto v_reusejp_20051_; } -v_reusejp_20191_: +v_reusejp_20051_: { -return v___x_20192_; +return v___x_20052_; } } } } else { -lean_object* v_a_20195_; lean_object* v___x_20197_; uint8_t v_isShared_20198_; uint8_t v_isSharedCheck_20202_; -lean_dec_ref(v___x_20172_); -lean_dec(v___y_20049_); -lean_dec_ref(v___y_20048_); -lean_dec(v___y_20047_); -lean_dec_ref(v___y_20046_); -lean_dec(v___y_20045_); -lean_dec_ref(v___y_20044_); -v_a_20195_ = lean_ctor_get(v___x_20174_, 0); -v_isSharedCheck_20202_ = !lean_is_exclusive(v___x_20174_); -if (v_isSharedCheck_20202_ == 0) +lean_object* v_a_20055_; lean_object* v___x_20057_; uint8_t v_isShared_20058_; uint8_t v_isSharedCheck_20062_; +lean_dec_ref(v___x_20032_); +lean_dec(v___y_19909_); +lean_dec_ref(v___y_19908_); +lean_dec(v___y_19907_); +lean_dec_ref(v___y_19906_); +lean_dec(v___y_19905_); +lean_dec_ref(v___y_19904_); +v_a_20055_ = lean_ctor_get(v___x_20034_, 0); +v_isSharedCheck_20062_ = !lean_is_exclusive(v___x_20034_); +if (v_isSharedCheck_20062_ == 0) { -v___x_20197_ = v___x_20174_; -v_isShared_20198_ = v_isSharedCheck_20202_; -goto v_resetjp_20196_; +v___x_20057_ = v___x_20034_; +v_isShared_20058_ = v_isSharedCheck_20062_; +goto v_resetjp_20056_; } else { -lean_inc(v_a_20195_); -lean_dec(v___x_20174_); -v___x_20197_ = lean_box(0); -v_isShared_20198_ = v_isSharedCheck_20202_; -goto v_resetjp_20196_; +lean_inc(v_a_20055_); +lean_dec(v___x_20034_); +v___x_20057_ = lean_box(0); +v_isShared_20058_ = v_isSharedCheck_20062_; +goto v_resetjp_20056_; } -v_resetjp_20196_: +v_resetjp_20056_: { -lean_object* v___x_20200_; -if (v_isShared_20198_ == 0) +lean_object* v___x_20060_; +if (v_isShared_20058_ == 0) { -v___x_20200_ = v___x_20197_; -goto v_reusejp_20199_; +v___x_20060_ = v___x_20057_; +goto v_reusejp_20059_; } else { -lean_object* v_reuseFailAlloc_20201_; -v_reuseFailAlloc_20201_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20201_, 0, v_a_20195_); -v___x_20200_ = v_reuseFailAlloc_20201_; -goto v_reusejp_20199_; +lean_object* v_reuseFailAlloc_20061_; +v_reuseFailAlloc_20061_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20061_, 0, v_a_20055_); +v___x_20060_ = v_reuseFailAlloc_20061_; +goto v_reusejp_20059_; } -v_reusejp_20199_: +v_reusejp_20059_: { -return v___x_20200_; +return v___x_20060_; } } } } -v___jp_20109_: +v___jp_19969_: { -lean_object* v___x_20116_; -v___x_20116_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_20110_, v___y_20111_, v___y_20112_, v___y_20113_, v___y_20114_, v___y_20115_); -if (lean_obj_tag(v___x_20116_) == 0) +lean_object* v___x_19976_; +v___x_19976_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___y_19970_, v___y_19971_, v___y_19972_, v___y_19973_, v___y_19974_, v___y_19975_); +if (lean_obj_tag(v___x_19976_) == 0) { -lean_object* v_a_20117_; lean_object* v___x_20119_; uint8_t v_isShared_20120_; uint8_t v_isSharedCheck_20126_; -v_a_20117_ = lean_ctor_get(v___x_20116_, 0); -v_isSharedCheck_20126_ = !lean_is_exclusive(v___x_20116_); -if (v_isSharedCheck_20126_ == 0) +lean_object* v_a_19977_; lean_object* v___x_19979_; uint8_t v_isShared_19980_; uint8_t v_isSharedCheck_19986_; +v_a_19977_ = lean_ctor_get(v___x_19976_, 0); +v_isSharedCheck_19986_ = !lean_is_exclusive(v___x_19976_); +if (v_isSharedCheck_19986_ == 0) { -v___x_20119_ = v___x_20116_; -v_isShared_20120_ = v_isSharedCheck_20126_; -goto v_resetjp_20118_; +v___x_19979_ = v___x_19976_; +v_isShared_19980_ = v_isSharedCheck_19986_; +goto v_resetjp_19978_; } else { -lean_inc(v_a_20117_); -lean_dec(v___x_20116_); -v___x_20119_ = lean_box(0); -v_isShared_20120_ = v_isSharedCheck_20126_; -goto v_resetjp_20118_; +lean_inc(v_a_19977_); +lean_dec(v___x_19976_); +v___x_19979_ = lean_box(0); +v_isShared_19980_ = v_isSharedCheck_19986_; +goto v_resetjp_19978_; } -v_resetjp_20118_: +v_resetjp_19978_: { -lean_object* v___x_20121_; lean_object* v___f_20122_; lean_object* v___x_20124_; -v___x_20121_ = lean_box(v___x_20108_); -v___f_20122_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3___boxed), 10, 2); -lean_closure_set(v___f_20122_, 0, v___x_20121_); -lean_closure_set(v___f_20122_, 1, v_a_20117_); -if (v_isShared_20120_ == 0) +lean_object* v___x_19981_; lean_object* v___f_19982_; lean_object* v___x_19984_; +v___x_19981_ = lean_box(v___x_19968_); +v___f_19982_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__3___boxed), 10, 2); +lean_closure_set(v___f_19982_, 0, v___x_19981_); +lean_closure_set(v___f_19982_, 1, v_a_19977_); +if (v_isShared_19980_ == 0) { -lean_ctor_set(v___x_20119_, 0, v___f_20122_); -v___x_20124_ = v___x_20119_; -goto v_reusejp_20123_; +lean_ctor_set(v___x_19979_, 0, v___f_19982_); +v___x_19984_ = v___x_19979_; +goto v_reusejp_19983_; } else { -lean_object* v_reuseFailAlloc_20125_; -v_reuseFailAlloc_20125_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20125_, 0, v___f_20122_); -v___x_20124_ = v_reuseFailAlloc_20125_; -goto v_reusejp_20123_; +lean_object* v_reuseFailAlloc_19985_; +v_reuseFailAlloc_19985_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19985_, 0, v___f_19982_); +v___x_19984_ = v_reuseFailAlloc_19985_; +goto v_reusejp_19983_; } -v_reusejp_20123_: +v_reusejp_19983_: { -return v___x_20124_; +return v___x_19984_; } } } else { -lean_object* v_a_20127_; lean_object* v___x_20129_; uint8_t v_isShared_20130_; uint8_t v_isSharedCheck_20134_; -v_a_20127_ = lean_ctor_get(v___x_20116_, 0); -v_isSharedCheck_20134_ = !lean_is_exclusive(v___x_20116_); -if (v_isSharedCheck_20134_ == 0) +lean_object* v_a_19987_; lean_object* v___x_19989_; uint8_t v_isShared_19990_; uint8_t v_isSharedCheck_19994_; +v_a_19987_ = lean_ctor_get(v___x_19976_, 0); +v_isSharedCheck_19994_ = !lean_is_exclusive(v___x_19976_); +if (v_isSharedCheck_19994_ == 0) { -v___x_20129_ = v___x_20116_; -v_isShared_20130_ = v_isSharedCheck_20134_; -goto v_resetjp_20128_; +v___x_19989_ = v___x_19976_; +v_isShared_19990_ = v_isSharedCheck_19994_; +goto v_resetjp_19988_; } else { -lean_inc(v_a_20127_); -lean_dec(v___x_20116_); -v___x_20129_ = lean_box(0); -v_isShared_20130_ = v_isSharedCheck_20134_; -goto v_resetjp_20128_; +lean_inc(v_a_19987_); +lean_dec(v___x_19976_); +v___x_19989_ = lean_box(0); +v_isShared_19990_ = v_isSharedCheck_19994_; +goto v_resetjp_19988_; } -v_resetjp_20128_: +v_resetjp_19988_: { -lean_object* v___x_20132_; -if (v_isShared_20130_ == 0) +lean_object* v___x_19992_; +if (v_isShared_19990_ == 0) { -v___x_20132_ = v___x_20129_; -goto v_reusejp_20131_; +v___x_19992_ = v___x_19989_; +goto v_reusejp_19991_; } else { -lean_object* v_reuseFailAlloc_20133_; -v_reuseFailAlloc_20133_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20133_, 0, v_a_20127_); -v___x_20132_ = v_reuseFailAlloc_20133_; -goto v_reusejp_20131_; +lean_object* v_reuseFailAlloc_19993_; +v_reuseFailAlloc_19993_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_19993_, 0, v_a_19987_); +v___x_19992_ = v_reuseFailAlloc_19993_; +goto v_reusejp_19991_; } -v_reusejp_20131_: +v_reusejp_19991_: { -return v___x_20132_; +return v___x_19992_; } } } @@ -57431,2134 +57123,2123 @@ return v___x_20132_; } } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___boxed(lean_object* v_binderInfo_20203_, lean_object* v___x_20204_, lean_object* v_binderType_20205_, lean_object* v___y_20206_, lean_object* v___y_20207_, lean_object* v___y_20208_, lean_object* v___y_20209_, lean_object* v___y_20210_, lean_object* v___y_20211_, lean_object* v___y_20212_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___boxed(lean_object* v_binderInfo_20063_, lean_object* v___x_20064_, lean_object* v_binderType_20065_, lean_object* v___y_20066_, lean_object* v___y_20067_, lean_object* v___y_20068_, lean_object* v___y_20069_, lean_object* v___y_20070_, lean_object* v___y_20071_, lean_object* v___y_20072_){ _start: { -uint8_t v_binderInfo_46040__boxed_20213_; uint8_t v___x_46041__boxed_20214_; lean_object* v_res_20215_; -v_binderInfo_46040__boxed_20213_ = lean_unbox(v_binderInfo_20203_); -v___x_46041__boxed_20214_ = lean_unbox(v___x_20204_); -v_res_20215_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6(v_binderInfo_46040__boxed_20213_, v___x_46041__boxed_20214_, v_binderType_20205_, v___y_20206_, v___y_20207_, v___y_20208_, v___y_20209_, v___y_20210_, v___y_20211_); -lean_dec_ref(v_binderType_20205_); -return v_res_20215_; +uint8_t v_binderInfo_46040__boxed_20073_; uint8_t v___x_46041__boxed_20074_; lean_object* v_res_20075_; +v_binderInfo_46040__boxed_20073_ = lean_unbox(v_binderInfo_20063_); +v___x_46041__boxed_20074_ = lean_unbox(v___x_20064_); +v_res_20075_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6(v_binderInfo_46040__boxed_20073_, v___x_46041__boxed_20074_, v_binderType_20065_, v___y_20066_, v___y_20067_, v___y_20068_, v___y_20069_, v___y_20070_, v___y_20071_); +lean_dec_ref(v_binderType_20065_); +return v_res_20075_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___boxed(lean_object* v_delabForall_20217_, lean_object* v_bindingNames_20218_, lean_object* v_groups_20219_, lean_object* v_a_20220_, lean_object* v_a_20221_, lean_object* v_a_20222_, lean_object* v_a_20223_, lean_object* v_a_20224_, lean_object* v_a_20225_, lean_object* v_a_20226_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___boxed(lean_object* v_delabForall_20077_, lean_object* v_bindingNames_20078_, lean_object* v_groups_20079_, lean_object* v_a_20080_, lean_object* v_a_20081_, lean_object* v_a_20082_, lean_object* v_a_20083_, lean_object* v_a_20084_, lean_object* v_a_20085_, lean_object* v_a_20086_){ +_start: +{ +lean_object* v_res_20087_; +v_res_20087_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20077_, v_bindingNames_20078_, v_groups_20079_, v_a_20080_, v_a_20081_, v_a_20082_, v_a_20083_, v_a_20084_, v_a_20085_); +return v_res_20087_; +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(lean_object* v_delabForall_20088_, lean_object* v_bindingNames_20089_, lean_object* v_groups_20090_, lean_object* v_a_20091_, lean_object* v_a_20092_, lean_object* v_a_20093_, lean_object* v_a_20094_, lean_object* v_a_20095_, lean_object* v_a_20096_){ +_start: +{ +lean_object* v___x_20098_; +v___x_20098_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20091_); +if (lean_obj_tag(v___x_20098_) == 0) +{ +lean_object* v_a_20099_; uint8_t v___y_20104_; lean_object* v___f_20151_; uint8_t v___x_20152_; uint8_t v___y_20154_; uint8_t v___y_20159_; uint8_t v___y_20162_; +v_a_20099_ = lean_ctor_get(v___x_20098_, 0); +lean_inc(v_a_20099_); +lean_dec_ref(v___x_20098_); +v___f_20151_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___closed__0)); +v___x_20152_ = l_Lean_Expr_isForall(v_a_20099_); +if (v___x_20152_ == 0) +{ +v___y_20162_ = v___x_20152_; +goto v___jp_20161_; +} +else +{ +uint8_t v___x_20178_; uint8_t v___x_20179_; +v___x_20178_ = l_Lean_Expr_binderInfo(v_a_20099_); +v___x_20179_ = l_Lean_BinderInfo_isInstImplicit(v___x_20178_); +v___y_20162_ = v___x_20179_; +goto v___jp_20161_; +} +v___jp_20100_: +{ +lean_object* v___x_20101_; lean_object* v___x_20102_; +v___x_20101_ = ((lean_object*)(l_Array_filterMapM___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_tryAppUnexpanders_go_spec__0___closed__0)); +v___x_20102_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20088_, v_bindingNames_20089_, v_groups_20090_, v___x_20101_, v_a_20091_, v_a_20092_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_); +return v___x_20102_; +} +v___jp_20103_: +{ +if (v___y_20104_ == 0) +{ +lean_object* v_currNamespace_20105_; lean_object* v_openDecls_20106_; uint8_t v_inPattern_20107_; lean_object* v_subExpr_20108_; lean_object* v_depth_20109_; lean_object* v___x_20111_; uint8_t v_isShared_20112_; uint8_t v_isSharedCheck_20149_; +lean_dec(v_bindingNames_20089_); +v_currNamespace_20105_ = lean_ctor_get(v_a_20091_, 1); +v_openDecls_20106_ = lean_ctor_get(v_a_20091_, 2); +v_inPattern_20107_ = lean_ctor_get_uint8(v_a_20091_, sizeof(void*)*5); +v_subExpr_20108_ = lean_ctor_get(v_a_20091_, 3); +v_depth_20109_ = lean_ctor_get(v_a_20091_, 4); +v_isSharedCheck_20149_ = !lean_is_exclusive(v_a_20091_); +if (v_isSharedCheck_20149_ == 0) +{ +lean_object* v_unused_20150_; +v_unused_20150_ = lean_ctor_get(v_a_20091_, 0); +lean_dec(v_unused_20150_); +v___x_20111_ = v_a_20091_; +v_isShared_20112_ = v_isSharedCheck_20149_; +goto v_resetjp_20110_; +} +else +{ +lean_inc(v_depth_20109_); +lean_inc(v_subExpr_20108_); +lean_inc(v_openDecls_20106_); +lean_inc(v_currNamespace_20105_); +lean_dec(v_a_20091_); +v___x_20111_ = lean_box(0); +v_isShared_20112_ = v_isSharedCheck_20149_; +goto v_resetjp_20110_; +} +v_resetjp_20110_: +{ +lean_object* v___x_20113_; lean_object* v___x_20114_; +v___x_20113_ = lean_box(1); +lean_inc(v_a_20096_); +lean_inc_ref(v_a_20095_); +lean_inc(v_a_20094_); +lean_inc_ref(v_a_20093_); +lean_inc_ref(v_subExpr_20108_); +v___x_20114_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v___x_20113_, v_subExpr_20108_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_); +if (lean_obj_tag(v___x_20114_) == 0) +{ +lean_object* v_a_20115_; lean_object* v_fst_20116_; lean_object* v_snd_20117_; lean_object* v_pos_20118_; lean_object* v___x_20120_; uint8_t v_isShared_20121_; uint8_t v_isSharedCheck_20139_; +v_a_20115_ = lean_ctor_get(v___x_20114_, 0); +lean_inc(v_a_20115_); +lean_dec_ref(v___x_20114_); +v_fst_20116_ = lean_ctor_get(v_a_20115_, 0); +lean_inc(v_fst_20116_); +v_snd_20117_ = lean_ctor_get(v_a_20115_, 1); +lean_inc(v_snd_20117_); +lean_dec(v_a_20115_); +v_pos_20118_ = lean_ctor_get(v_subExpr_20108_, 1); +v_isSharedCheck_20139_ = !lean_is_exclusive(v_subExpr_20108_); +if (v_isSharedCheck_20139_ == 0) +{ +lean_object* v_unused_20140_; +v_unused_20140_ = lean_ctor_get(v_subExpr_20108_, 0); +lean_dec(v_unused_20140_); +v___x_20120_ = v_subExpr_20108_; +v_isShared_20121_ = v_isSharedCheck_20139_; +goto v_resetjp_20119_; +} +else +{ +lean_inc(v_pos_20118_); +lean_dec(v_subExpr_20108_); +v___x_20120_ = lean_box(0); +v_isShared_20121_ = v_isSharedCheck_20139_; +goto v_resetjp_20119_; +} +v_resetjp_20119_: +{ +lean_object* v___x_20123_; +if (v_isShared_20121_ == 0) +{ +lean_ctor_set(v___x_20120_, 0, v_snd_20117_); +v___x_20123_ = v___x_20120_; +goto v_reusejp_20122_; +} +else +{ +lean_object* v_reuseFailAlloc_20138_; +v_reuseFailAlloc_20138_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_20138_, 0, v_snd_20117_); +lean_ctor_set(v_reuseFailAlloc_20138_, 1, v_pos_20118_); +v___x_20123_ = v_reuseFailAlloc_20138_; +goto v_reusejp_20122_; +} +v_reusejp_20122_: +{ +lean_object* v___x_20125_; +if (v_isShared_20112_ == 0) +{ +lean_ctor_set(v___x_20111_, 3, v___x_20123_); +lean_ctor_set(v___x_20111_, 0, v_fst_20116_); +v___x_20125_ = v___x_20111_; +goto v_reusejp_20124_; +} +else +{ +lean_object* v_reuseFailAlloc_20137_; +v_reuseFailAlloc_20137_ = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(v_reuseFailAlloc_20137_, 0, v_fst_20116_); +lean_ctor_set(v_reuseFailAlloc_20137_, 1, v_currNamespace_20105_); +lean_ctor_set(v_reuseFailAlloc_20137_, 2, v_openDecls_20106_); +lean_ctor_set(v_reuseFailAlloc_20137_, 3, v___x_20123_); +lean_ctor_set(v_reuseFailAlloc_20137_, 4, v_depth_20109_); +lean_ctor_set_uint8(v_reuseFailAlloc_20137_, sizeof(void*)*5, v_inPattern_20107_); +v___x_20125_ = v_reuseFailAlloc_20137_; +goto v_reusejp_20124_; +} +v_reusejp_20124_: +{ +lean_object* v___x_20126_; +lean_inc(v_a_20096_); +lean_inc_ref(v_a_20095_); +lean_inc(v_a_20094_); +lean_inc_ref(v_a_20093_); +lean_inc(v_a_20092_); +lean_inc_ref(v___x_20125_); +v___x_20126_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___x_20125_, v_a_20092_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_); +if (lean_obj_tag(v___x_20126_) == 0) +{ +lean_object* v_a_20127_; lean_object* v___x_20128_; +v_a_20127_ = lean_ctor_get(v___x_20126_, 0); +lean_inc(v_a_20127_); +lean_dec_ref(v___x_20126_); +v___x_20128_ = lean_apply_9(v_delabForall_20088_, v_groups_20090_, v_a_20127_, v___x_20125_, v_a_20092_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_, lean_box(0)); +return v___x_20128_; +} +else +{ +lean_object* v_a_20129_; lean_object* v___x_20131_; uint8_t v_isShared_20132_; uint8_t v_isSharedCheck_20136_; +lean_dec_ref(v___x_20125_); +lean_dec(v_a_20096_); +lean_dec_ref(v_a_20095_); +lean_dec(v_a_20094_); +lean_dec_ref(v_a_20093_); +lean_dec(v_a_20092_); +lean_dec_ref(v_groups_20090_); +lean_dec_ref(v_delabForall_20088_); +v_a_20129_ = lean_ctor_get(v___x_20126_, 0); +v_isSharedCheck_20136_ = !lean_is_exclusive(v___x_20126_); +if (v_isSharedCheck_20136_ == 0) +{ +v___x_20131_ = v___x_20126_; +v_isShared_20132_ = v_isSharedCheck_20136_; +goto v_resetjp_20130_; +} +else +{ +lean_inc(v_a_20129_); +lean_dec(v___x_20126_); +v___x_20131_ = lean_box(0); +v_isShared_20132_ = v_isSharedCheck_20136_; +goto v_resetjp_20130_; +} +v_resetjp_20130_: +{ +lean_object* v___x_20134_; +if (v_isShared_20132_ == 0) +{ +v___x_20134_ = v___x_20131_; +goto v_reusejp_20133_; +} +else +{ +lean_object* v_reuseFailAlloc_20135_; +v_reuseFailAlloc_20135_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20135_, 0, v_a_20129_); +v___x_20134_ = v_reuseFailAlloc_20135_; +goto v_reusejp_20133_; +} +v_reusejp_20133_: +{ +return v___x_20134_; +} +} +} +} +} +} +} +else +{ +lean_object* v_a_20141_; lean_object* v___x_20143_; uint8_t v_isShared_20144_; uint8_t v_isSharedCheck_20148_; +lean_del_object(v___x_20111_); +lean_dec(v_depth_20109_); +lean_dec_ref(v_subExpr_20108_); +lean_dec(v_openDecls_20106_); +lean_dec(v_currNamespace_20105_); +lean_dec(v_a_20096_); +lean_dec_ref(v_a_20095_); +lean_dec(v_a_20094_); +lean_dec_ref(v_a_20093_); +lean_dec(v_a_20092_); +lean_dec_ref(v_groups_20090_); +lean_dec_ref(v_delabForall_20088_); +v_a_20141_ = lean_ctor_get(v___x_20114_, 0); +v_isSharedCheck_20148_ = !lean_is_exclusive(v___x_20114_); +if (v_isSharedCheck_20148_ == 0) +{ +v___x_20143_ = v___x_20114_; +v_isShared_20144_ = v_isSharedCheck_20148_; +goto v_resetjp_20142_; +} +else +{ +lean_inc(v_a_20141_); +lean_dec(v___x_20114_); +v___x_20143_ = lean_box(0); +v_isShared_20144_ = v_isSharedCheck_20148_; +goto v_resetjp_20142_; +} +v_resetjp_20142_: +{ +lean_object* v___x_20146_; +if (v_isShared_20144_ == 0) +{ +v___x_20146_ = v___x_20143_; +goto v_reusejp_20145_; +} +else +{ +lean_object* v_reuseFailAlloc_20147_; +v_reuseFailAlloc_20147_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20147_, 0, v_a_20141_); +v___x_20146_ = v_reuseFailAlloc_20147_; +goto v_reusejp_20145_; +} +v_reusejp_20145_: +{ +return v___x_20146_; +} +} +} +} +} +else +{ +goto v___jp_20100_; +} +} +v___jp_20153_: +{ +lean_object* v___x_20155_; uint8_t v___x_20156_; +v___x_20155_ = l_Lean_Expr_bindingName_x21(v_a_20099_); +lean_dec(v_a_20099_); +v___x_20156_ = l_Lean_Name_hasMacroScopes(v___x_20155_); +if (v___x_20156_ == 0) +{ +uint8_t v___x_20157_; +v___x_20157_ = l_Lean_NameSet_contains(v_bindingNames_20089_, v___x_20155_); +lean_dec(v___x_20155_); +if (v___x_20157_ == 0) +{ +v___y_20104_ = v___x_20152_; +goto v___jp_20103_; +} +else +{ +v___y_20104_ = v___y_20154_; +goto v___jp_20103_; +} +} +else +{ +lean_dec(v___x_20155_); +v___y_20104_ = v___y_20154_; +goto v___jp_20103_; +} +} +v___jp_20158_: +{ +if (v___x_20152_ == 0) +{ +lean_dec(v_a_20099_); +v___y_20104_ = v___x_20152_; +goto v___jp_20103_; +} +else +{ +uint8_t v___x_20160_; +v___x_20160_ = l_Lean_Expr_isArrow(v_a_20099_); +if (v___x_20160_ == 0) +{ +if (v___x_20152_ == 0) +{ +v___y_20154_ = v___x_20152_; +goto v___jp_20153_; +} +else +{ +lean_dec(v_a_20099_); +goto v___jp_20100_; +} +} +else +{ +v___y_20154_ = v___y_20159_; +goto v___jp_20153_; +} +} +} +v___jp_20161_: +{ +if (v___y_20162_ == 0) +{ +v___y_20159_ = v___y_20162_; +goto v___jp_20158_; +} +else +{ +lean_object* v___x_20163_; uint8_t v___x_20164_; +v___x_20163_ = l_Lean_Expr_bindingName_x21(v_a_20099_); +v___x_20164_ = l_Lean_Name_hasMacroScopes(v___x_20163_); +if (v___x_20164_ == 0) +{ +lean_dec(v___x_20163_); +v___y_20159_ = v___x_20164_; +goto v___jp_20158_; +} +else +{ +lean_object* v___x_20165_; +lean_dec(v_a_20099_); +lean_inc(v_a_20096_); +lean_inc_ref(v_a_20095_); +lean_inc(v_a_20094_); +lean_inc_ref(v_a_20093_); +lean_inc(v_a_20092_); +lean_inc_ref(v_a_20091_); +v___x_20165_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux_spec__0___redArg(v___f_20151_, v_a_20091_, v_a_20092_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_); +if (lean_obj_tag(v___x_20165_) == 0) +{ +lean_object* v_a_20166_; lean_object* v___x_20167_; lean_object* v___x_20168_; lean_object* v___x_20169_; +v_a_20166_ = lean_ctor_get(v___x_20165_, 0); +lean_inc(v_a_20166_); +lean_dec_ref(v___x_20165_); +v___x_20167_ = lean_array_push(v_groups_20090_, v_a_20166_); +v___x_20168_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___boxed), 10, 3); +lean_closure_set(v___x_20168_, 0, v_delabForall_20088_); +lean_closure_set(v___x_20168_, 1, v_bindingNames_20089_); +lean_closure_set(v___x_20168_, 2, v___x_20167_); +v___x_20169_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3___redArg(v___x_20163_, v___x_20168_, v_a_20091_, v_a_20092_, v_a_20093_, v_a_20094_, v_a_20095_, v_a_20096_); +return v___x_20169_; +} +else +{ +lean_object* v_a_20170_; lean_object* v___x_20172_; uint8_t v_isShared_20173_; uint8_t v_isSharedCheck_20177_; +lean_dec(v___x_20163_); +lean_dec(v_a_20096_); +lean_dec_ref(v_a_20095_); +lean_dec(v_a_20094_); +lean_dec_ref(v_a_20093_); +lean_dec(v_a_20092_); +lean_dec_ref(v_a_20091_); +lean_dec_ref(v_groups_20090_); +lean_dec(v_bindingNames_20089_); +lean_dec_ref(v_delabForall_20088_); +v_a_20170_ = lean_ctor_get(v___x_20165_, 0); +v_isSharedCheck_20177_ = !lean_is_exclusive(v___x_20165_); +if (v_isSharedCheck_20177_ == 0) +{ +v___x_20172_ = v___x_20165_; +v_isShared_20173_ = v_isSharedCheck_20177_; +goto v_resetjp_20171_; +} +else +{ +lean_inc(v_a_20170_); +lean_dec(v___x_20165_); +v___x_20172_ = lean_box(0); +v_isShared_20173_ = v_isSharedCheck_20177_; +goto v_resetjp_20171_; +} +v_resetjp_20171_: +{ +lean_object* v___x_20175_; +if (v_isShared_20173_ == 0) +{ +v___x_20175_ = v___x_20172_; +goto v_reusejp_20174_; +} +else +{ +lean_object* v_reuseFailAlloc_20176_; +v_reuseFailAlloc_20176_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20176_, 0, v_a_20170_); +v___x_20175_ = v_reuseFailAlloc_20176_; +goto v_reusejp_20174_; +} +v_reusejp_20174_: +{ +return v___x_20175_; +} +} +} +} +} +} +} +else +{ +lean_object* v_a_20180_; lean_object* v___x_20182_; uint8_t v_isShared_20183_; uint8_t v_isSharedCheck_20187_; +lean_dec(v_a_20096_); +lean_dec_ref(v_a_20095_); +lean_dec(v_a_20094_); +lean_dec_ref(v_a_20093_); +lean_dec(v_a_20092_); +lean_dec_ref(v_a_20091_); +lean_dec_ref(v_groups_20090_); +lean_dec(v_bindingNames_20089_); +lean_dec_ref(v_delabForall_20088_); +v_a_20180_ = lean_ctor_get(v___x_20098_, 0); +v_isSharedCheck_20187_ = !lean_is_exclusive(v___x_20098_); +if (v_isSharedCheck_20187_ == 0) +{ +v___x_20182_ = v___x_20098_; +v_isShared_20183_ = v_isSharedCheck_20187_; +goto v_resetjp_20181_; +} +else +{ +lean_inc(v_a_20180_); +lean_dec(v___x_20098_); +v___x_20182_ = lean_box(0); +v_isShared_20183_ = v_isSharedCheck_20187_; +goto v_resetjp_20181_; +} +v_resetjp_20181_: +{ +lean_object* v___x_20185_; +if (v_isShared_20183_ == 0) +{ +v___x_20185_ = v___x_20182_; +goto v_reusejp_20184_; +} +else +{ +lean_object* v_reuseFailAlloc_20186_; +v_reuseFailAlloc_20186_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20186_, 0, v_a_20180_); +v___x_20185_ = v_reuseFailAlloc_20186_; +goto v_reusejp_20184_; +} +v_reusejp_20184_: +{ +return v___x_20185_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7(lean_object* v_curIds_20188_, lean_object* v_a_20189_, lean_object* v_groups_20190_, lean_object* v_delabForall_20191_, lean_object* v___x_20192_, lean_object* v_stxN_20193_, lean_object* v___y_20194_, lean_object* v___y_20195_, lean_object* v___y_20196_, lean_object* v___y_20197_, lean_object* v___y_20198_, lean_object* v___y_20199_){ +_start: +{ +lean_object* v___x_20201_; lean_object* v___x_20202_; +v___x_20201_ = lean_array_push(v_curIds_20188_, v_stxN_20193_); +lean_inc(v___y_20199_); +lean_inc_ref(v___y_20198_); +lean_inc(v___y_20197_); +lean_inc_ref(v___y_20196_); +lean_inc(v___y_20195_); +lean_inc_ref(v___y_20194_); +v___x_20202_ = lean_apply_8(v_a_20189_, v___x_20201_, v___y_20194_, v___y_20195_, v___y_20196_, v___y_20197_, v___y_20198_, v___y_20199_, lean_box(0)); +if (lean_obj_tag(v___x_20202_) == 0) +{ +lean_object* v_a_20203_; lean_object* v___x_20204_; lean_object* v___x_20205_; +v_a_20203_ = lean_ctor_get(v___x_20202_, 0); +lean_inc(v_a_20203_); +lean_dec_ref(v___x_20202_); +v___x_20204_ = lean_array_push(v_groups_20190_, v_a_20203_); +v___x_20205_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20191_, v___x_20192_, v___x_20204_, v___y_20194_, v___y_20195_, v___y_20196_, v___y_20197_, v___y_20198_, v___y_20199_); +return v___x_20205_; +} +else +{ +lean_object* v_a_20206_; lean_object* v___x_20208_; uint8_t v_isShared_20209_; uint8_t v_isSharedCheck_20213_; +lean_dec(v___y_20199_); +lean_dec_ref(v___y_20198_); +lean_dec(v___y_20197_); +lean_dec_ref(v___y_20196_); +lean_dec(v___y_20195_); +lean_dec_ref(v___y_20194_); +lean_dec(v___x_20192_); +lean_dec_ref(v_delabForall_20191_); +lean_dec_ref(v_groups_20190_); +v_a_20206_ = lean_ctor_get(v___x_20202_, 0); +v_isSharedCheck_20213_ = !lean_is_exclusive(v___x_20202_); +if (v_isSharedCheck_20213_ == 0) +{ +v___x_20208_ = v___x_20202_; +v_isShared_20209_ = v_isSharedCheck_20213_; +goto v_resetjp_20207_; +} +else +{ +lean_inc(v_a_20206_); +lean_dec(v___x_20202_); +v___x_20208_ = lean_box(0); +v_isShared_20209_ = v_isSharedCheck_20213_; +goto v_resetjp_20207_; +} +v_resetjp_20207_: +{ +lean_object* v___x_20211_; +if (v_isShared_20209_ == 0) +{ +v___x_20211_ = v___x_20208_; +goto v_reusejp_20210_; +} +else +{ +lean_object* v_reuseFailAlloc_20212_; +v_reuseFailAlloc_20212_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20212_, 0, v_a_20206_); +v___x_20211_ = v_reuseFailAlloc_20212_; +goto v_reusejp_20210_; +} +v_reusejp_20210_: +{ +return v___x_20211_; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7___boxed(lean_object* v_curIds_20214_, lean_object* v_a_20215_, lean_object* v_groups_20216_, lean_object* v_delabForall_20217_, lean_object* v___x_20218_, lean_object* v_stxN_20219_, lean_object* v___y_20220_, lean_object* v___y_20221_, lean_object* v___y_20222_, lean_object* v___y_20223_, lean_object* v___y_20224_, lean_object* v___y_20225_, lean_object* v___y_20226_){ _start: { lean_object* v_res_20227_; -v_res_20227_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20217_, v_bindingNames_20218_, v_groups_20219_, v_a_20220_, v_a_20221_, v_a_20222_, v_a_20223_, v_a_20224_, v_a_20225_); +v_res_20227_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7(v_curIds_20214_, v_a_20215_, v_groups_20216_, v_delabForall_20217_, v___x_20218_, v_stxN_20219_, v___y_20220_, v___y_20221_, v___y_20222_, v___y_20223_, v___y_20224_, v___y_20225_); return v_res_20227_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(lean_object* v_delabForall_20228_, lean_object* v_bindingNames_20229_, lean_object* v_groups_20230_, lean_object* v_a_20231_, lean_object* v_a_20232_, lean_object* v_a_20233_, lean_object* v_a_20234_, lean_object* v_a_20235_, lean_object* v_a_20236_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8___boxed(lean_object* v_curIds_20228_, lean_object* v_delabForall_20229_, lean_object* v___x_20230_, lean_object* v_groups_20231_, lean_object* v_stxN_20232_, lean_object* v___y_20233_, lean_object* v___y_20234_, lean_object* v___y_20235_, lean_object* v___y_20236_, lean_object* v___y_20237_, lean_object* v___y_20238_, lean_object* v___y_20239_){ _start: { -lean_object* v___x_20238_; -v___x_20238_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20231_); -if (lean_obj_tag(v___x_20238_) == 0) -{ -lean_object* v_a_20239_; uint8_t v___y_20244_; lean_object* v___f_20291_; uint8_t v___x_20292_; uint8_t v___y_20294_; uint8_t v___y_20299_; uint8_t v___y_20302_; -v_a_20239_ = lean_ctor_get(v___x_20238_, 0); -lean_inc(v_a_20239_); -lean_dec_ref(v___x_20238_); -v___f_20291_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___closed__0)); -v___x_20292_ = l_Lean_Expr_isForall(v_a_20239_); -if (v___x_20292_ == 0) -{ -v___y_20302_ = v___x_20292_; -goto v___jp_20301_; -} -else -{ -uint8_t v___x_20318_; uint8_t v___x_20319_; -v___x_20318_ = l_Lean_Expr_binderInfo(v_a_20239_); -v___x_20319_ = l_Lean_BinderInfo_isInstImplicit(v___x_20318_); -v___y_20302_ = v___x_20319_; -goto v___jp_20301_; -} -v___jp_20240_: -{ -lean_object* v___x_20241_; lean_object* v___x_20242_; -v___x_20241_ = ((lean_object*)(l_Array_filterMapM___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_tryAppUnexpanders_go_spec__0___closed__0)); -v___x_20242_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20228_, v_bindingNames_20229_, v_groups_20230_, v___x_20241_, v_a_20231_, v_a_20232_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_); -return v___x_20242_; -} -v___jp_20243_: -{ -if (v___y_20244_ == 0) -{ -lean_object* v_currNamespace_20245_; lean_object* v_openDecls_20246_; uint8_t v_inPattern_20247_; lean_object* v_subExpr_20248_; lean_object* v_depth_20249_; lean_object* v___x_20251_; uint8_t v_isShared_20252_; uint8_t v_isSharedCheck_20289_; -lean_dec(v_bindingNames_20229_); -v_currNamespace_20245_ = lean_ctor_get(v_a_20231_, 1); -v_openDecls_20246_ = lean_ctor_get(v_a_20231_, 2); -v_inPattern_20247_ = lean_ctor_get_uint8(v_a_20231_, sizeof(void*)*5); -v_subExpr_20248_ = lean_ctor_get(v_a_20231_, 3); -v_depth_20249_ = lean_ctor_get(v_a_20231_, 4); -v_isSharedCheck_20289_ = !lean_is_exclusive(v_a_20231_); -if (v_isSharedCheck_20289_ == 0) -{ -lean_object* v_unused_20290_; -v_unused_20290_ = lean_ctor_get(v_a_20231_, 0); -lean_dec(v_unused_20290_); -v___x_20251_ = v_a_20231_; -v_isShared_20252_ = v_isSharedCheck_20289_; -goto v_resetjp_20250_; -} -else -{ -lean_inc(v_depth_20249_); -lean_inc(v_subExpr_20248_); -lean_inc(v_openDecls_20246_); -lean_inc(v_currNamespace_20245_); -lean_dec(v_a_20231_); -v___x_20251_ = lean_box(0); -v_isShared_20252_ = v_isSharedCheck_20289_; -goto v_resetjp_20250_; -} -v_resetjp_20250_: -{ -lean_object* v___x_20253_; lean_object* v___x_20254_; -v___x_20253_ = lean_box(1); -lean_inc(v_a_20236_); -lean_inc_ref(v_a_20235_); -lean_inc(v_a_20234_); -lean_inc_ref(v_a_20233_); -lean_inc_ref(v_subExpr_20248_); -v___x_20254_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine(v___x_20253_, v_subExpr_20248_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_); -if (lean_obj_tag(v___x_20254_) == 0) -{ -lean_object* v_a_20255_; lean_object* v_fst_20256_; lean_object* v_snd_20257_; lean_object* v_pos_20258_; lean_object* v___x_20260_; uint8_t v_isShared_20261_; uint8_t v_isSharedCheck_20279_; -v_a_20255_ = lean_ctor_get(v___x_20254_, 0); -lean_inc(v_a_20255_); -lean_dec_ref(v___x_20254_); -v_fst_20256_ = lean_ctor_get(v_a_20255_, 0); -lean_inc(v_fst_20256_); -v_snd_20257_ = lean_ctor_get(v_a_20255_, 1); -lean_inc(v_snd_20257_); -lean_dec(v_a_20255_); -v_pos_20258_ = lean_ctor_get(v_subExpr_20248_, 1); -v_isSharedCheck_20279_ = !lean_is_exclusive(v_subExpr_20248_); -if (v_isSharedCheck_20279_ == 0) -{ -lean_object* v_unused_20280_; -v_unused_20280_ = lean_ctor_get(v_subExpr_20248_, 0); -lean_dec(v_unused_20280_); -v___x_20260_ = v_subExpr_20248_; -v_isShared_20261_ = v_isSharedCheck_20279_; -goto v_resetjp_20259_; -} -else -{ -lean_inc(v_pos_20258_); -lean_dec(v_subExpr_20248_); -v___x_20260_ = lean_box(0); -v_isShared_20261_ = v_isSharedCheck_20279_; -goto v_resetjp_20259_; -} -v_resetjp_20259_: -{ -lean_object* v___x_20263_; -if (v_isShared_20261_ == 0) -{ -lean_ctor_set(v___x_20260_, 0, v_snd_20257_); -v___x_20263_ = v___x_20260_; -goto v_reusejp_20262_; -} -else -{ -lean_object* v_reuseFailAlloc_20278_; -v_reuseFailAlloc_20278_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_20278_, 0, v_snd_20257_); -lean_ctor_set(v_reuseFailAlloc_20278_, 1, v_pos_20258_); -v___x_20263_ = v_reuseFailAlloc_20278_; -goto v_reusejp_20262_; -} -v_reusejp_20262_: -{ -lean_object* v___x_20265_; -if (v_isShared_20252_ == 0) -{ -lean_ctor_set(v___x_20251_, 3, v___x_20263_); -lean_ctor_set(v___x_20251_, 0, v_fst_20256_); -v___x_20265_ = v___x_20251_; -goto v_reusejp_20264_; -} -else -{ -lean_object* v_reuseFailAlloc_20277_; -v_reuseFailAlloc_20277_ = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(v_reuseFailAlloc_20277_, 0, v_fst_20256_); -lean_ctor_set(v_reuseFailAlloc_20277_, 1, v_currNamespace_20245_); -lean_ctor_set(v_reuseFailAlloc_20277_, 2, v_openDecls_20246_); -lean_ctor_set(v_reuseFailAlloc_20277_, 3, v___x_20263_); -lean_ctor_set(v_reuseFailAlloc_20277_, 4, v_depth_20249_); -lean_ctor_set_uint8(v_reuseFailAlloc_20277_, sizeof(void*)*5, v_inPattern_20247_); -v___x_20265_ = v_reuseFailAlloc_20277_; -goto v_reusejp_20264_; -} -v_reusejp_20264_: -{ -lean_object* v___x_20266_; -lean_inc(v_a_20236_); -lean_inc_ref(v_a_20235_); -lean_inc(v_a_20234_); -lean_inc_ref(v_a_20233_); -lean_inc(v_a_20232_); -lean_inc_ref(v___x_20265_); -v___x_20266_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy(v___x_20265_, v_a_20232_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_); -if (lean_obj_tag(v___x_20266_) == 0) -{ -lean_object* v_a_20267_; lean_object* v___x_20268_; -v_a_20267_ = lean_ctor_get(v___x_20266_, 0); -lean_inc(v_a_20267_); -lean_dec_ref(v___x_20266_); -v___x_20268_ = lean_apply_9(v_delabForall_20228_, v_groups_20230_, v_a_20267_, v___x_20265_, v_a_20232_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_, lean_box(0)); -return v___x_20268_; -} -else -{ -lean_object* v_a_20269_; lean_object* v___x_20271_; uint8_t v_isShared_20272_; uint8_t v_isSharedCheck_20276_; -lean_dec_ref(v___x_20265_); -lean_dec(v_a_20236_); -lean_dec_ref(v_a_20235_); -lean_dec(v_a_20234_); -lean_dec_ref(v_a_20233_); -lean_dec(v_a_20232_); -lean_dec_ref(v_groups_20230_); -lean_dec_ref(v_delabForall_20228_); -v_a_20269_ = lean_ctor_get(v___x_20266_, 0); -v_isSharedCheck_20276_ = !lean_is_exclusive(v___x_20266_); -if (v_isSharedCheck_20276_ == 0) -{ -v___x_20271_ = v___x_20266_; -v_isShared_20272_ = v_isSharedCheck_20276_; -goto v_resetjp_20270_; -} -else -{ -lean_inc(v_a_20269_); -lean_dec(v___x_20266_); -v___x_20271_ = lean_box(0); -v_isShared_20272_ = v_isSharedCheck_20276_; -goto v_resetjp_20270_; -} -v_resetjp_20270_: -{ -lean_object* v___x_20274_; -if (v_isShared_20272_ == 0) -{ -v___x_20274_ = v___x_20271_; -goto v_reusejp_20273_; -} -else -{ -lean_object* v_reuseFailAlloc_20275_; -v_reuseFailAlloc_20275_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20275_, 0, v_a_20269_); -v___x_20274_ = v_reuseFailAlloc_20275_; -goto v_reusejp_20273_; -} -v_reusejp_20273_: -{ -return v___x_20274_; -} -} -} -} -} -} -} -else -{ -lean_object* v_a_20281_; lean_object* v___x_20283_; uint8_t v_isShared_20284_; uint8_t v_isSharedCheck_20288_; -lean_del_object(v___x_20251_); -lean_dec(v_depth_20249_); -lean_dec_ref(v_subExpr_20248_); -lean_dec(v_openDecls_20246_); -lean_dec(v_currNamespace_20245_); -lean_dec(v_a_20236_); -lean_dec_ref(v_a_20235_); -lean_dec(v_a_20234_); -lean_dec_ref(v_a_20233_); -lean_dec(v_a_20232_); -lean_dec_ref(v_groups_20230_); -lean_dec_ref(v_delabForall_20228_); -v_a_20281_ = lean_ctor_get(v___x_20254_, 0); -v_isSharedCheck_20288_ = !lean_is_exclusive(v___x_20254_); -if (v_isSharedCheck_20288_ == 0) -{ -v___x_20283_ = v___x_20254_; -v_isShared_20284_ = v_isSharedCheck_20288_; -goto v_resetjp_20282_; -} -else -{ -lean_inc(v_a_20281_); -lean_dec(v___x_20254_); -v___x_20283_ = lean_box(0); -v_isShared_20284_ = v_isSharedCheck_20288_; -goto v_resetjp_20282_; -} -v_resetjp_20282_: -{ -lean_object* v___x_20286_; -if (v_isShared_20284_ == 0) -{ -v___x_20286_ = v___x_20283_; -goto v_reusejp_20285_; -} -else -{ -lean_object* v_reuseFailAlloc_20287_; -v_reuseFailAlloc_20287_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20287_, 0, v_a_20281_); -v___x_20286_ = v_reuseFailAlloc_20287_; -goto v_reusejp_20285_; -} -v_reusejp_20285_: -{ -return v___x_20286_; -} -} -} -} -} -else -{ -goto v___jp_20240_; -} -} -v___jp_20293_: -{ -lean_object* v___x_20295_; uint8_t v___x_20296_; -v___x_20295_ = l_Lean_Expr_bindingName_x21(v_a_20239_); -lean_dec(v_a_20239_); -v___x_20296_ = l_Lean_Name_hasMacroScopes(v___x_20295_); -if (v___x_20296_ == 0) -{ -uint8_t v___x_20297_; -v___x_20297_ = l_Lean_NameSet_contains(v_bindingNames_20229_, v___x_20295_); -lean_dec(v___x_20295_); -if (v___x_20297_ == 0) -{ -v___y_20244_ = v___x_20292_; -goto v___jp_20243_; -} -else -{ -v___y_20244_ = v___y_20294_; -goto v___jp_20243_; -} -} -else -{ -lean_dec(v___x_20295_); -v___y_20244_ = v___y_20294_; -goto v___jp_20243_; -} -} -v___jp_20298_: -{ -if (v___x_20292_ == 0) -{ -lean_dec(v_a_20239_); -v___y_20244_ = v___x_20292_; -goto v___jp_20243_; -} -else -{ -uint8_t v___x_20300_; -v___x_20300_ = l_Lean_Expr_isArrow(v_a_20239_); -if (v___x_20300_ == 0) -{ -if (v___x_20292_ == 0) -{ -v___y_20294_ = v___x_20292_; -goto v___jp_20293_; -} -else -{ -lean_dec(v_a_20239_); -goto v___jp_20240_; -} -} -else -{ -v___y_20294_ = v___y_20299_; -goto v___jp_20293_; -} -} -} -v___jp_20301_: -{ -if (v___y_20302_ == 0) -{ -v___y_20299_ = v___y_20302_; -goto v___jp_20298_; -} -else -{ -lean_object* v___x_20303_; uint8_t v___x_20304_; -v___x_20303_ = l_Lean_Expr_bindingName_x21(v_a_20239_); -v___x_20304_ = l_Lean_Name_hasMacroScopes(v___x_20303_); -if (v___x_20304_ == 0) -{ -lean_dec(v___x_20303_); -v___y_20299_ = v___x_20304_; -goto v___jp_20298_; -} -else -{ -lean_object* v___x_20305_; -lean_dec(v_a_20239_); -lean_inc(v_a_20236_); -lean_inc_ref(v_a_20235_); -lean_inc(v_a_20234_); -lean_inc_ref(v_a_20233_); -lean_inc(v_a_20232_); -lean_inc_ref(v_a_20231_); -v___x_20305_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux_spec__0___redArg(v___f_20291_, v_a_20231_, v_a_20232_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_); -if (lean_obj_tag(v___x_20305_) == 0) -{ -lean_object* v_a_20306_; lean_object* v___x_20307_; lean_object* v___x_20308_; lean_object* v___x_20309_; -v_a_20306_ = lean_ctor_get(v___x_20305_, 0); -lean_inc(v_a_20306_); -lean_dec_ref(v___x_20305_); -v___x_20307_ = lean_array_push(v_groups_20230_, v_a_20306_); -v___x_20308_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg___boxed), 10, 3); -lean_closure_set(v___x_20308_, 0, v_delabForall_20228_); -lean_closure_set(v___x_20308_, 1, v_bindingNames_20229_); -lean_closure_set(v___x_20308_, 2, v___x_20307_); -v___x_20309_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3___redArg(v___x_20303_, v___x_20308_, v_a_20231_, v_a_20232_, v_a_20233_, v_a_20234_, v_a_20235_, v_a_20236_); -return v___x_20309_; -} -else -{ -lean_object* v_a_20310_; lean_object* v___x_20312_; uint8_t v_isShared_20313_; uint8_t v_isSharedCheck_20317_; -lean_dec(v___x_20303_); -lean_dec(v_a_20236_); -lean_dec_ref(v_a_20235_); -lean_dec(v_a_20234_); -lean_dec_ref(v_a_20233_); -lean_dec(v_a_20232_); -lean_dec_ref(v_a_20231_); -lean_dec_ref(v_groups_20230_); -lean_dec(v_bindingNames_20229_); -lean_dec_ref(v_delabForall_20228_); -v_a_20310_ = lean_ctor_get(v___x_20305_, 0); -v_isSharedCheck_20317_ = !lean_is_exclusive(v___x_20305_); -if (v_isSharedCheck_20317_ == 0) -{ -v___x_20312_ = v___x_20305_; -v_isShared_20313_ = v_isSharedCheck_20317_; -goto v_resetjp_20311_; -} -else -{ -lean_inc(v_a_20310_); -lean_dec(v___x_20305_); -v___x_20312_ = lean_box(0); -v_isShared_20313_ = v_isSharedCheck_20317_; -goto v_resetjp_20311_; -} -v_resetjp_20311_: -{ -lean_object* v___x_20315_; -if (v_isShared_20313_ == 0) -{ -v___x_20315_ = v___x_20312_; -goto v_reusejp_20314_; -} -else -{ -lean_object* v_reuseFailAlloc_20316_; -v_reuseFailAlloc_20316_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20316_, 0, v_a_20310_); -v___x_20315_ = v_reuseFailAlloc_20316_; -goto v_reusejp_20314_; -} -v_reusejp_20314_: -{ -return v___x_20315_; -} -} -} -} -} -} -} -else -{ -lean_object* v_a_20320_; lean_object* v___x_20322_; uint8_t v_isShared_20323_; uint8_t v_isSharedCheck_20327_; -lean_dec(v_a_20236_); -lean_dec_ref(v_a_20235_); -lean_dec(v_a_20234_); -lean_dec_ref(v_a_20233_); -lean_dec(v_a_20232_); -lean_dec_ref(v_a_20231_); -lean_dec_ref(v_groups_20230_); -lean_dec(v_bindingNames_20229_); -lean_dec_ref(v_delabForall_20228_); -v_a_20320_ = lean_ctor_get(v___x_20238_, 0); -v_isSharedCheck_20327_ = !lean_is_exclusive(v___x_20238_); -if (v_isSharedCheck_20327_ == 0) -{ -v___x_20322_ = v___x_20238_; -v_isShared_20323_ = v_isSharedCheck_20327_; -goto v_resetjp_20321_; -} -else -{ -lean_inc(v_a_20320_); -lean_dec(v___x_20238_); -v___x_20322_ = lean_box(0); -v_isShared_20323_ = v_isSharedCheck_20327_; -goto v_resetjp_20321_; -} -v_resetjp_20321_: -{ -lean_object* v___x_20325_; -if (v_isShared_20323_ == 0) -{ -v___x_20325_ = v___x_20322_; -goto v_reusejp_20324_; -} -else -{ -lean_object* v_reuseFailAlloc_20326_; -v_reuseFailAlloc_20326_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20326_, 0, v_a_20320_); -v___x_20325_ = v_reuseFailAlloc_20326_; -goto v_reusejp_20324_; -} -v_reusejp_20324_: -{ -return v___x_20325_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7(lean_object* v_curIds_20328_, lean_object* v_a_20329_, lean_object* v_groups_20330_, lean_object* v_delabForall_20331_, lean_object* v___x_20332_, lean_object* v_stxN_20333_, lean_object* v___y_20334_, lean_object* v___y_20335_, lean_object* v___y_20336_, lean_object* v___y_20337_, lean_object* v___y_20338_, lean_object* v___y_20339_){ -_start: -{ -lean_object* v___x_20341_; lean_object* v___x_20342_; -v___x_20341_ = lean_array_push(v_curIds_20328_, v_stxN_20333_); -lean_inc(v___y_20339_); -lean_inc_ref(v___y_20338_); -lean_inc(v___y_20337_); -lean_inc_ref(v___y_20336_); -lean_inc(v___y_20335_); -lean_inc_ref(v___y_20334_); -v___x_20342_ = lean_apply_8(v_a_20329_, v___x_20341_, v___y_20334_, v___y_20335_, v___y_20336_, v___y_20337_, v___y_20338_, v___y_20339_, lean_box(0)); -if (lean_obj_tag(v___x_20342_) == 0) -{ -lean_object* v_a_20343_; lean_object* v___x_20344_; lean_object* v___x_20345_; -v_a_20343_ = lean_ctor_get(v___x_20342_, 0); -lean_inc(v_a_20343_); -lean_dec_ref(v___x_20342_); -v___x_20344_ = lean_array_push(v_groups_20330_, v_a_20343_); -v___x_20345_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20331_, v___x_20332_, v___x_20344_, v___y_20334_, v___y_20335_, v___y_20336_, v___y_20337_, v___y_20338_, v___y_20339_); -return v___x_20345_; -} -else -{ -lean_object* v_a_20346_; lean_object* v___x_20348_; uint8_t v_isShared_20349_; uint8_t v_isSharedCheck_20353_; -lean_dec(v___y_20339_); -lean_dec_ref(v___y_20338_); -lean_dec(v___y_20337_); -lean_dec_ref(v___y_20336_); -lean_dec(v___y_20335_); -lean_dec_ref(v___y_20334_); -lean_dec(v___x_20332_); -lean_dec_ref(v_delabForall_20331_); -lean_dec_ref(v_groups_20330_); -v_a_20346_ = lean_ctor_get(v___x_20342_, 0); -v_isSharedCheck_20353_ = !lean_is_exclusive(v___x_20342_); -if (v_isSharedCheck_20353_ == 0) -{ -v___x_20348_ = v___x_20342_; -v_isShared_20349_ = v_isSharedCheck_20353_; -goto v_resetjp_20347_; -} -else -{ -lean_inc(v_a_20346_); -lean_dec(v___x_20342_); -v___x_20348_ = lean_box(0); -v_isShared_20349_ = v_isSharedCheck_20353_; -goto v_resetjp_20347_; -} -v_resetjp_20347_: -{ -lean_object* v___x_20351_; -if (v_isShared_20349_ == 0) -{ -v___x_20351_ = v___x_20348_; -goto v_reusejp_20350_; -} -else -{ -lean_object* v_reuseFailAlloc_20352_; -v_reuseFailAlloc_20352_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20352_, 0, v_a_20346_); -v___x_20351_ = v_reuseFailAlloc_20352_; -goto v_reusejp_20350_; -} -v_reusejp_20350_: -{ -return v___x_20351_; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7___boxed(lean_object* v_curIds_20354_, lean_object* v_a_20355_, lean_object* v_groups_20356_, lean_object* v_delabForall_20357_, lean_object* v___x_20358_, lean_object* v_stxN_20359_, lean_object* v___y_20360_, lean_object* v___y_20361_, lean_object* v___y_20362_, lean_object* v___y_20363_, lean_object* v___y_20364_, lean_object* v___y_20365_, lean_object* v___y_20366_){ -_start: -{ -lean_object* v_res_20367_; -v_res_20367_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7(v_curIds_20354_, v_a_20355_, v_groups_20356_, v_delabForall_20357_, v___x_20358_, v_stxN_20359_, v___y_20360_, v___y_20361_, v___y_20362_, v___y_20363_, v___y_20364_, v___y_20365_); -return v_res_20367_; -} -} -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8___boxed(lean_object* v_curIds_20368_, lean_object* v_delabForall_20369_, lean_object* v___x_20370_, lean_object* v_groups_20371_, lean_object* v_stxN_20372_, lean_object* v___y_20373_, lean_object* v___y_20374_, lean_object* v___y_20375_, lean_object* v___y_20376_, lean_object* v___y_20377_, lean_object* v___y_20378_, lean_object* v___y_20379_){ -_start: -{ -lean_object* v_res_20380_; -v_res_20380_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8(v_curIds_20368_, v_delabForall_20369_, v___x_20370_, v_groups_20371_, v_stxN_20372_, v___y_20373_, v___y_20374_, v___y_20375_, v___y_20376_, v___y_20377_, v___y_20378_); -return v_res_20380_; +lean_object* v_res_20240_; +v_res_20240_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8(v_curIds_20228_, v_delabForall_20229_, v___x_20230_, v_groups_20231_, v_stxN_20232_, v___y_20233_, v___y_20234_, v___y_20235_, v___y_20236_, v___y_20237_, v___y_20238_); +return v_res_20240_; } } static lean_object* _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1(void){ _start: { -lean_object* v___x_20382_; lean_object* v___x_20383_; lean_object* v___x_20384_; lean_object* v___x_20385_; lean_object* v___x_20386_; lean_object* v___x_20387_; -v___x_20382_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); -v___x_20383_ = lean_unsigned_to_nat(42u); -v___x_20384_ = lean_unsigned_to_nat(1603u); -v___x_20385_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__0)); -v___x_20386_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); -v___x_20387_ = l_mkPanicMessageWithDecl(v___x_20386_, v___x_20385_, v___x_20384_, v___x_20383_, v___x_20382_); -return v___x_20387_; +lean_object* v___x_20242_; lean_object* v___x_20243_; lean_object* v___x_20244_; lean_object* v___x_20245_; lean_object* v___x_20246_; lean_object* v___x_20247_; +v___x_20242_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__10)); +v___x_20243_ = lean_unsigned_to_nat(42u); +v___x_20244_ = lean_unsigned_to_nat(1599u); +v___x_20245_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__0)); +v___x_20246_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabFVar___closed__8)); +v___x_20247_ = l_mkPanicMessageWithDecl(v___x_20246_, v___x_20245_, v___x_20244_, v___x_20243_, v___x_20242_); +return v___x_20247_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(lean_object* v_delabForall_20388_, lean_object* v_bindingNames_20389_, lean_object* v_groups_20390_, lean_object* v_curIds_20391_, lean_object* v_a_20392_, lean_object* v_a_20393_, lean_object* v_a_20394_, lean_object* v_a_20395_, lean_object* v_a_20396_, lean_object* v_a_20397_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(lean_object* v_delabForall_20248_, lean_object* v_bindingNames_20249_, lean_object* v_groups_20250_, lean_object* v_curIds_20251_, lean_object* v_a_20252_, lean_object* v_a_20253_, lean_object* v_a_20254_, lean_object* v_a_20255_, lean_object* v_a_20256_, lean_object* v_a_20257_){ _start: { -lean_object* v___x_20399_; -v___x_20399_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20392_); -if (lean_obj_tag(v___x_20399_) == 0) +lean_object* v___x_20259_; +v___x_20259_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20252_); +if (lean_obj_tag(v___x_20259_) == 0) { -lean_object* v_a_20400_; -v_a_20400_ = lean_ctor_get(v___x_20399_, 0); -lean_inc(v_a_20400_); -lean_dec_ref(v___x_20399_); -if (lean_obj_tag(v_a_20400_) == 7) +lean_object* v_a_20260_; +v_a_20260_ = lean_ctor_get(v___x_20259_, 0); +lean_inc(v_a_20260_); +lean_dec_ref(v___x_20259_); +if (lean_obj_tag(v_a_20260_) == 7) { -lean_object* v_binderName_20401_; lean_object* v_binderType_20402_; lean_object* v_body_20403_; uint8_t v_binderInfo_20404_; lean_object* v_n_20406_; lean_object* v___y_20407_; lean_object* v___y_20408_; lean_object* v___y_20409_; lean_object* v___y_20410_; lean_object* v___y_20411_; lean_object* v___y_20412_; uint8_t v___x_20434_; -v_binderName_20401_ = lean_ctor_get(v_a_20400_, 0); -v_binderType_20402_ = lean_ctor_get(v_a_20400_, 1); -lean_inc_ref(v_binderType_20402_); -v_body_20403_ = lean_ctor_get(v_a_20400_, 2); -lean_inc_ref(v_body_20403_); -v_binderInfo_20404_ = lean_ctor_get_uint8(v_a_20400_, sizeof(void*)*3 + 8); -v___x_20434_ = l_Lean_NameSet_contains(v_bindingNames_20389_, v_binderName_20401_); -if (v___x_20434_ == 0) +lean_object* v_binderName_20261_; lean_object* v_binderType_20262_; lean_object* v_body_20263_; uint8_t v_binderInfo_20264_; lean_object* v_n_20266_; lean_object* v___y_20267_; lean_object* v___y_20268_; lean_object* v___y_20269_; lean_object* v___y_20270_; lean_object* v___y_20271_; lean_object* v___y_20272_; uint8_t v___x_20294_; +v_binderName_20261_ = lean_ctor_get(v_a_20260_, 0); +v_binderType_20262_ = lean_ctor_get(v_a_20260_, 1); +lean_inc_ref(v_binderType_20262_); +v_body_20263_ = lean_ctor_get(v_a_20260_, 2); +lean_inc_ref(v_body_20263_); +v_binderInfo_20264_ = lean_ctor_get_uint8(v_a_20260_, sizeof(void*)*3 + 8); +v___x_20294_ = l_Lean_NameSet_contains(v_bindingNames_20249_, v_binderName_20261_); +if (v___x_20294_ == 0) { -lean_inc(v_binderName_20401_); -v_n_20406_ = v_binderName_20401_; -v___y_20407_ = v_a_20392_; -v___y_20408_ = v_a_20393_; -v___y_20409_ = v_a_20394_; -v___y_20410_ = v_a_20395_; -v___y_20411_ = v_a_20396_; -v___y_20412_ = v_a_20397_; -goto v___jp_20405_; +lean_inc(v_binderName_20261_); +v_n_20266_ = v_binderName_20261_; +v___y_20267_ = v_a_20252_; +v___y_20268_ = v_a_20253_; +v___y_20269_ = v_a_20254_; +v___y_20270_ = v_a_20255_; +v___y_20271_ = v_a_20256_; +v___y_20272_ = v_a_20257_; +goto v___jp_20265_; } else { -lean_object* v___f_20435_; lean_object* v___x_20436_; -lean_inc(v_binderName_20401_); -v___f_20435_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed), 4, 1); -lean_closure_set(v___f_20435_, 0, v_binderName_20401_); -lean_inc(v_a_20397_); -lean_inc_ref(v_a_20396_); -v___x_20436_ = l_Lean_Core_withFreshMacroScope___redArg(v___f_20435_, v_a_20396_, v_a_20397_); -if (lean_obj_tag(v___x_20436_) == 0) +lean_object* v___f_20295_; lean_object* v___x_20296_; +lean_inc(v_binderName_20261_); +v___f_20295_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_processSpine___lam__0___boxed), 4, 1); +lean_closure_set(v___f_20295_, 0, v_binderName_20261_); +lean_inc(v_a_20257_); +lean_inc_ref(v_a_20256_); +v___x_20296_ = l_Lean_Core_withFreshMacroScope___redArg(v___f_20295_, v_a_20256_, v_a_20257_); +if (lean_obj_tag(v___x_20296_) == 0) { -lean_object* v_a_20437_; -v_a_20437_ = lean_ctor_get(v___x_20436_, 0); -lean_inc(v_a_20437_); -lean_dec_ref(v___x_20436_); -v_n_20406_ = v_a_20437_; -v___y_20407_ = v_a_20392_; -v___y_20408_ = v_a_20393_; -v___y_20409_ = v_a_20394_; -v___y_20410_ = v_a_20395_; -v___y_20411_ = v_a_20396_; -v___y_20412_ = v_a_20397_; -goto v___jp_20405_; +lean_object* v_a_20297_; +v_a_20297_ = lean_ctor_get(v___x_20296_, 0); +lean_inc(v_a_20297_); +lean_dec_ref(v___x_20296_); +v_n_20266_ = v_a_20297_; +v___y_20267_ = v_a_20252_; +v___y_20268_ = v_a_20253_; +v___y_20269_ = v_a_20254_; +v___y_20270_ = v_a_20255_; +v___y_20271_ = v_a_20256_; +v___y_20272_ = v_a_20257_; +goto v___jp_20265_; } else { -lean_object* v_a_20438_; lean_object* v___x_20440_; uint8_t v_isShared_20441_; uint8_t v_isSharedCheck_20445_; -lean_dec_ref(v_body_20403_); -lean_dec_ref(v_binderType_20402_); -lean_dec_ref(v_a_20400_); -lean_dec(v_a_20397_); -lean_dec_ref(v_a_20396_); -lean_dec(v_a_20395_); -lean_dec_ref(v_a_20394_); -lean_dec(v_a_20393_); -lean_dec_ref(v_a_20392_); -lean_dec_ref(v_curIds_20391_); -lean_dec_ref(v_groups_20390_); -lean_dec(v_bindingNames_20389_); -lean_dec_ref(v_delabForall_20388_); -v_a_20438_ = lean_ctor_get(v___x_20436_, 0); -v_isSharedCheck_20445_ = !lean_is_exclusive(v___x_20436_); -if (v_isSharedCheck_20445_ == 0) +lean_object* v_a_20298_; lean_object* v___x_20300_; uint8_t v_isShared_20301_; uint8_t v_isSharedCheck_20305_; +lean_dec_ref(v_body_20263_); +lean_dec_ref(v_binderType_20262_); +lean_dec_ref(v_a_20260_); +lean_dec(v_a_20257_); +lean_dec_ref(v_a_20256_); +lean_dec(v_a_20255_); +lean_dec_ref(v_a_20254_); +lean_dec(v_a_20253_); +lean_dec_ref(v_a_20252_); +lean_dec_ref(v_curIds_20251_); +lean_dec_ref(v_groups_20250_); +lean_dec(v_bindingNames_20249_); +lean_dec_ref(v_delabForall_20248_); +v_a_20298_ = lean_ctor_get(v___x_20296_, 0); +v_isSharedCheck_20305_ = !lean_is_exclusive(v___x_20296_); +if (v_isSharedCheck_20305_ == 0) { -v___x_20440_ = v___x_20436_; -v_isShared_20441_ = v_isSharedCheck_20445_; -goto v_resetjp_20439_; +v___x_20300_ = v___x_20296_; +v_isShared_20301_ = v_isSharedCheck_20305_; +goto v_resetjp_20299_; } else { -lean_inc(v_a_20438_); -lean_dec(v___x_20436_); -v___x_20440_ = lean_box(0); -v_isShared_20441_ = v_isSharedCheck_20445_; -goto v_resetjp_20439_; +lean_inc(v_a_20298_); +lean_dec(v___x_20296_); +v___x_20300_ = lean_box(0); +v_isShared_20301_ = v_isSharedCheck_20305_; +goto v_resetjp_20299_; } -v_resetjp_20439_: +v_resetjp_20299_: { -lean_object* v___x_20443_; -if (v_isShared_20441_ == 0) +lean_object* v___x_20303_; +if (v_isShared_20301_ == 0) { -v___x_20443_ = v___x_20440_; -goto v_reusejp_20442_; +v___x_20303_ = v___x_20300_; +goto v_reusejp_20302_; } else { -lean_object* v_reuseFailAlloc_20444_; -v_reuseFailAlloc_20444_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20444_, 0, v_a_20438_); -v___x_20443_ = v_reuseFailAlloc_20444_; -goto v_reusejp_20442_; +lean_object* v_reuseFailAlloc_20304_; +v_reuseFailAlloc_20304_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20304_, 0, v_a_20298_); +v___x_20303_ = v_reuseFailAlloc_20304_; +goto v_reusejp_20302_; } -v_reusejp_20442_: +v_reusejp_20302_: { -return v___x_20443_; +return v___x_20303_; } } } } -v___jp_20405_: +v___jp_20265_: { -lean_object* v___x_20413_; uint8_t v___x_20414_; -lean_inc(v_n_20406_); -v___x_20413_ = l_Lean_NameSet_insert(v_bindingNames_20389_, v_n_20406_); -v___x_20414_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(v___x_20413_, v_a_20400_, v_body_20403_); -lean_dec_ref(v_body_20403_); -lean_dec_ref(v_a_20400_); -if (v___x_20414_ == 0) +lean_object* v___x_20273_; uint8_t v___x_20274_; +lean_inc(v_n_20266_); +v___x_20273_ = l_Lean_NameSet_insert(v_bindingNames_20249_, v_n_20266_); +v___x_20274_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_shouldGroupWithNext(v___x_20273_, v_a_20260_, v_body_20263_); +lean_dec_ref(v_body_20263_); +lean_dec_ref(v_a_20260_); +if (v___x_20274_ == 0) { -lean_object* v___x_20415_; lean_object* v___x_20416_; lean_object* v___y_20417_; lean_object* v___x_20418_; -v___x_20415_ = lean_box(v_binderInfo_20404_); -v___x_20416_ = lean_box(v___x_20414_); -v___y_20417_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___boxed), 10, 3); -lean_closure_set(v___y_20417_, 0, v___x_20415_); -lean_closure_set(v___y_20417_, 1, v___x_20416_); -lean_closure_set(v___y_20417_, 2, v_binderType_20402_); -lean_inc(v___y_20412_); -lean_inc_ref(v___y_20411_); -lean_inc(v___y_20410_); -lean_inc_ref(v___y_20409_); -lean_inc(v___y_20408_); -lean_inc_ref(v___y_20407_); -v___x_20418_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux_spec__0___redArg(v___y_20417_, v___y_20407_, v___y_20408_, v___y_20409_, v___y_20410_, v___y_20411_, v___y_20412_); -if (lean_obj_tag(v___x_20418_) == 0) +lean_object* v___x_20275_; lean_object* v___x_20276_; lean_object* v___y_20277_; lean_object* v___x_20278_; +v___x_20275_ = lean_box(v_binderInfo_20264_); +v___x_20276_ = lean_box(v___x_20274_); +v___y_20277_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__6___boxed), 10, 3); +lean_closure_set(v___y_20277_, 0, v___x_20275_); +lean_closure_set(v___y_20277_, 1, v___x_20276_); +lean_closure_set(v___y_20277_, 2, v_binderType_20262_); +lean_inc(v___y_20272_); +lean_inc_ref(v___y_20271_); +lean_inc(v___y_20270_); +lean_inc_ref(v___y_20269_); +lean_inc(v___y_20268_); +lean_inc_ref(v___y_20267_); +v___x_20278_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingDomain___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabLamAux_spec__0___redArg(v___y_20277_, v___y_20267_, v___y_20268_, v___y_20269_, v___y_20270_, v___y_20271_, v___y_20272_); +if (lean_obj_tag(v___x_20278_) == 0) { -lean_object* v_a_20419_; lean_object* v___f_20420_; lean_object* v___x_20421_; lean_object* v___x_20422_; -v_a_20419_ = lean_ctor_get(v___x_20418_, 0); -lean_inc(v_a_20419_); -lean_dec_ref(v___x_20418_); -v___f_20420_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7___boxed), 13, 5); -lean_closure_set(v___f_20420_, 0, v_curIds_20391_); -lean_closure_set(v___f_20420_, 1, v_a_20419_); -lean_closure_set(v___f_20420_, 2, v_groups_20390_); -lean_closure_set(v___f_20420_, 3, v_delabForall_20388_); -lean_closure_set(v___f_20420_, 4, v___x_20413_); -lean_inc(v_n_20406_); -v___x_20421_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_mkAnnotatedIdent___boxed), 9, 1); -lean_closure_set(v___x_20421_, 0, v_n_20406_); -v___x_20422_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody_x27___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3_spec__4___redArg(v_n_20406_, v___x_20421_, v___f_20420_, v___y_20407_, v___y_20408_, v___y_20409_, v___y_20410_, v___y_20411_, v___y_20412_); -return v___x_20422_; +lean_object* v_a_20279_; lean_object* v___f_20280_; lean_object* v___x_20281_; lean_object* v___x_20282_; +v_a_20279_ = lean_ctor_get(v___x_20278_, 0); +lean_inc(v_a_20279_); +lean_dec_ref(v___x_20278_); +v___f_20280_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__7___boxed), 13, 5); +lean_closure_set(v___f_20280_, 0, v_curIds_20251_); +lean_closure_set(v___f_20280_, 1, v_a_20279_); +lean_closure_set(v___f_20280_, 2, v_groups_20250_); +lean_closure_set(v___f_20280_, 3, v_delabForall_20248_); +lean_closure_set(v___f_20280_, 4, v___x_20273_); +lean_inc(v_n_20266_); +v___x_20281_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_mkAnnotatedIdent___boxed), 9, 1); +lean_closure_set(v___x_20281_, 0, v_n_20266_); +v___x_20282_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody_x27___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3_spec__4___redArg(v_n_20266_, v___x_20281_, v___f_20280_, v___y_20267_, v___y_20268_, v___y_20269_, v___y_20270_, v___y_20271_, v___y_20272_); +return v___x_20282_; } else { -lean_object* v_a_20423_; lean_object* v___x_20425_; uint8_t v_isShared_20426_; uint8_t v_isSharedCheck_20430_; -lean_dec(v___x_20413_); -lean_dec(v___y_20412_); -lean_dec_ref(v___y_20411_); -lean_dec(v___y_20410_); -lean_dec_ref(v___y_20409_); -lean_dec(v___y_20408_); -lean_dec_ref(v___y_20407_); -lean_dec(v_n_20406_); -lean_dec_ref(v_curIds_20391_); -lean_dec_ref(v_groups_20390_); -lean_dec_ref(v_delabForall_20388_); -v_a_20423_ = lean_ctor_get(v___x_20418_, 0); -v_isSharedCheck_20430_ = !lean_is_exclusive(v___x_20418_); -if (v_isSharedCheck_20430_ == 0) +lean_object* v_a_20283_; lean_object* v___x_20285_; uint8_t v_isShared_20286_; uint8_t v_isSharedCheck_20290_; +lean_dec(v___x_20273_); +lean_dec(v___y_20272_); +lean_dec_ref(v___y_20271_); +lean_dec(v___y_20270_); +lean_dec_ref(v___y_20269_); +lean_dec(v___y_20268_); +lean_dec_ref(v___y_20267_); +lean_dec(v_n_20266_); +lean_dec_ref(v_curIds_20251_); +lean_dec_ref(v_groups_20250_); +lean_dec_ref(v_delabForall_20248_); +v_a_20283_ = lean_ctor_get(v___x_20278_, 0); +v_isSharedCheck_20290_ = !lean_is_exclusive(v___x_20278_); +if (v_isSharedCheck_20290_ == 0) { -v___x_20425_ = v___x_20418_; -v_isShared_20426_ = v_isSharedCheck_20430_; -goto v_resetjp_20424_; +v___x_20285_ = v___x_20278_; +v_isShared_20286_ = v_isSharedCheck_20290_; +goto v_resetjp_20284_; } else { -lean_inc(v_a_20423_); -lean_dec(v___x_20418_); -v___x_20425_ = lean_box(0); -v_isShared_20426_ = v_isSharedCheck_20430_; -goto v_resetjp_20424_; +lean_inc(v_a_20283_); +lean_dec(v___x_20278_); +v___x_20285_ = lean_box(0); +v_isShared_20286_ = v_isSharedCheck_20290_; +goto v_resetjp_20284_; } -v_resetjp_20424_: +v_resetjp_20284_: { -lean_object* v___x_20428_; -if (v_isShared_20426_ == 0) +lean_object* v___x_20288_; +if (v_isShared_20286_ == 0) { -v___x_20428_ = v___x_20425_; -goto v_reusejp_20427_; +v___x_20288_ = v___x_20285_; +goto v_reusejp_20287_; } else { -lean_object* v_reuseFailAlloc_20429_; -v_reuseFailAlloc_20429_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20429_, 0, v_a_20423_); -v___x_20428_ = v_reuseFailAlloc_20429_; -goto v_reusejp_20427_; +lean_object* v_reuseFailAlloc_20289_; +v_reuseFailAlloc_20289_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20289_, 0, v_a_20283_); +v___x_20288_ = v_reuseFailAlloc_20289_; +goto v_reusejp_20287_; } -v_reusejp_20427_: +v_reusejp_20287_: { -return v___x_20428_; +return v___x_20288_; } } } } else { -lean_object* v___f_20431_; lean_object* v___x_20432_; lean_object* v___x_20433_; -lean_dec_ref(v_binderType_20402_); -v___f_20431_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8___boxed), 12, 4); -lean_closure_set(v___f_20431_, 0, v_curIds_20391_); -lean_closure_set(v___f_20431_, 1, v_delabForall_20388_); -lean_closure_set(v___f_20431_, 2, v___x_20413_); -lean_closure_set(v___f_20431_, 3, v_groups_20390_); -lean_inc(v_n_20406_); -v___x_20432_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_mkAnnotatedIdent___boxed), 9, 1); -lean_closure_set(v___x_20432_, 0, v_n_20406_); -v___x_20433_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody_x27___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3_spec__4___redArg(v_n_20406_, v___x_20432_, v___f_20431_, v___y_20407_, v___y_20408_, v___y_20409_, v___y_20410_, v___y_20411_, v___y_20412_); -return v___x_20433_; +lean_object* v___f_20291_; lean_object* v___x_20292_; lean_object* v___x_20293_; +lean_dec_ref(v_binderType_20262_); +v___f_20291_ = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8___boxed), 12, 4); +lean_closure_set(v___f_20291_, 0, v_curIds_20251_); +lean_closure_set(v___f_20291_, 1, v_delabForall_20248_); +lean_closure_set(v___f_20291_, 2, v___x_20273_); +lean_closure_set(v___f_20291_, 3, v_groups_20250_); +lean_inc(v_n_20266_); +v___x_20292_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_mkAnnotatedIdent___boxed), 9, 1); +lean_closure_set(v___x_20292_, 0, v_n_20266_); +v___x_20293_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody_x27___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withBindingBody___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop_visitLambda_spec__3_spec__4___redArg(v_n_20266_, v___x_20292_, v___f_20291_, v___y_20267_, v___y_20268_, v___y_20269_, v___y_20270_, v___y_20271_, v___y_20272_); +return v___x_20293_; } } } else { -lean_object* v___x_20446_; lean_object* v___x_20447_; -lean_dec(v_a_20400_); -lean_dec_ref(v_curIds_20391_); -lean_dec_ref(v_groups_20390_); -lean_dec(v_bindingNames_20389_); -lean_dec_ref(v_delabForall_20388_); -v___x_20446_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1); -v___x_20447_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v___x_20446_, v_a_20392_, v_a_20393_, v_a_20394_, v_a_20395_, v_a_20396_, v_a_20397_); -return v___x_20447_; +lean_object* v___x_20306_; lean_object* v___x_20307_; +lean_dec(v_a_20260_); +lean_dec_ref(v_curIds_20251_); +lean_dec_ref(v_groups_20250_); +lean_dec(v_bindingNames_20249_); +lean_dec_ref(v_delabForall_20248_); +v___x_20306_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___closed__1); +v___x_20307_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v___x_20306_, v_a_20252_, v_a_20253_, v_a_20254_, v_a_20255_, v_a_20256_, v_a_20257_); +return v___x_20307_; } } else { -lean_object* v_a_20448_; lean_object* v___x_20450_; uint8_t v_isShared_20451_; uint8_t v_isSharedCheck_20455_; -lean_dec(v_a_20397_); -lean_dec_ref(v_a_20396_); -lean_dec(v_a_20395_); -lean_dec_ref(v_a_20394_); -lean_dec(v_a_20393_); -lean_dec_ref(v_a_20392_); -lean_dec_ref(v_curIds_20391_); -lean_dec_ref(v_groups_20390_); -lean_dec(v_bindingNames_20389_); -lean_dec_ref(v_delabForall_20388_); -v_a_20448_ = lean_ctor_get(v___x_20399_, 0); -v_isSharedCheck_20455_ = !lean_is_exclusive(v___x_20399_); -if (v_isSharedCheck_20455_ == 0) +lean_object* v_a_20308_; lean_object* v___x_20310_; uint8_t v_isShared_20311_; uint8_t v_isSharedCheck_20315_; +lean_dec(v_a_20257_); +lean_dec_ref(v_a_20256_); +lean_dec(v_a_20255_); +lean_dec_ref(v_a_20254_); +lean_dec(v_a_20253_); +lean_dec_ref(v_a_20252_); +lean_dec_ref(v_curIds_20251_); +lean_dec_ref(v_groups_20250_); +lean_dec(v_bindingNames_20249_); +lean_dec_ref(v_delabForall_20248_); +v_a_20308_ = lean_ctor_get(v___x_20259_, 0); +v_isSharedCheck_20315_ = !lean_is_exclusive(v___x_20259_); +if (v_isSharedCheck_20315_ == 0) { -v___x_20450_ = v___x_20399_; -v_isShared_20451_ = v_isSharedCheck_20455_; -goto v_resetjp_20449_; +v___x_20310_ = v___x_20259_; +v_isShared_20311_ = v_isSharedCheck_20315_; +goto v_resetjp_20309_; } else { -lean_inc(v_a_20448_); -lean_dec(v___x_20399_); -v___x_20450_ = lean_box(0); -v_isShared_20451_ = v_isSharedCheck_20455_; -goto v_resetjp_20449_; +lean_inc(v_a_20308_); +lean_dec(v___x_20259_); +v___x_20310_ = lean_box(0); +v_isShared_20311_ = v_isSharedCheck_20315_; +goto v_resetjp_20309_; } -v_resetjp_20449_: +v_resetjp_20309_: { -lean_object* v___x_20453_; -if (v_isShared_20451_ == 0) +lean_object* v___x_20313_; +if (v_isShared_20311_ == 0) { -v___x_20453_ = v___x_20450_; -goto v_reusejp_20452_; +v___x_20313_ = v___x_20310_; +goto v_reusejp_20312_; } else { -lean_object* v_reuseFailAlloc_20454_; -v_reuseFailAlloc_20454_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20454_, 0, v_a_20448_); -v___x_20453_ = v_reuseFailAlloc_20454_; -goto v_reusejp_20452_; +lean_object* v_reuseFailAlloc_20314_; +v_reuseFailAlloc_20314_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20314_, 0, v_a_20308_); +v___x_20313_ = v_reuseFailAlloc_20314_; +goto v_reusejp_20312_; } -v_reusejp_20452_: +v_reusejp_20312_: { -return v___x_20453_; +return v___x_20313_; } } } } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8(lean_object* v_curIds_20456_, lean_object* v_delabForall_20457_, lean_object* v___x_20458_, lean_object* v_groups_20459_, lean_object* v_stxN_20460_, lean_object* v___y_20461_, lean_object* v___y_20462_, lean_object* v___y_20463_, lean_object* v___y_20464_, lean_object* v___y_20465_, lean_object* v___y_20466_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___lam__8(lean_object* v_curIds_20316_, lean_object* v_delabForall_20317_, lean_object* v___x_20318_, lean_object* v_groups_20319_, lean_object* v_stxN_20320_, lean_object* v___y_20321_, lean_object* v___y_20322_, lean_object* v___y_20323_, lean_object* v___y_20324_, lean_object* v___y_20325_, lean_object* v___y_20326_){ _start: { -lean_object* v___x_20468_; lean_object* v___x_20469_; -v___x_20468_ = lean_array_push(v_curIds_20456_, v_stxN_20460_); -v___x_20469_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20457_, v___x_20458_, v_groups_20459_, v___x_20468_, v___y_20461_, v___y_20462_, v___y_20463_, v___y_20464_, v___y_20465_, v___y_20466_); -return v___x_20469_; +lean_object* v___x_20328_; lean_object* v___x_20329_; +v___x_20328_ = lean_array_push(v_curIds_20316_, v_stxN_20320_); +v___x_20329_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20317_, v___x_20318_, v_groups_20319_, v___x_20328_, v___y_20321_, v___y_20322_, v___y_20323_, v___y_20324_, v___y_20325_, v___y_20326_); +return v___x_20329_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___boxed(lean_object* v_delabForall_20470_, lean_object* v_bindingNames_20471_, lean_object* v_groups_20472_, lean_object* v_curIds_20473_, lean_object* v_a_20474_, lean_object* v_a_20475_, lean_object* v_a_20476_, lean_object* v_a_20477_, lean_object* v_a_20478_, lean_object* v_a_20479_, lean_object* v_a_20480_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg___boxed(lean_object* v_delabForall_20330_, lean_object* v_bindingNames_20331_, lean_object* v_groups_20332_, lean_object* v_curIds_20333_, lean_object* v_a_20334_, lean_object* v_a_20335_, lean_object* v_a_20336_, lean_object* v_a_20337_, lean_object* v_a_20338_, lean_object* v_a_20339_, lean_object* v_a_20340_){ _start: { -lean_object* v_res_20481_; -v_res_20481_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20470_, v_bindingNames_20471_, v_groups_20472_, v_curIds_20473_, v_a_20474_, v_a_20475_, v_a_20476_, v_a_20477_, v_a_20478_, v_a_20479_); -return v_res_20481_; +lean_object* v_res_20341_; +v_res_20341_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20330_, v_bindingNames_20331_, v_groups_20332_, v_curIds_20333_, v_a_20334_, v_a_20335_, v_a_20336_, v_a_20337_, v_a_20338_, v_a_20339_); +return v_res_20341_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams(lean_object* v_00_u03b1_20482_, lean_object* v_delabForall_20483_, lean_object* v_bindingNames_20484_, lean_object* v_groups_20485_, lean_object* v_a_20486_, lean_object* v_a_20487_, lean_object* v_a_20488_, lean_object* v_a_20489_, lean_object* v_a_20490_, lean_object* v_a_20491_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams(lean_object* v_00_u03b1_20342_, lean_object* v_delabForall_20343_, lean_object* v_bindingNames_20344_, lean_object* v_groups_20345_, lean_object* v_a_20346_, lean_object* v_a_20347_, lean_object* v_a_20348_, lean_object* v_a_20349_, lean_object* v_a_20350_, lean_object* v_a_20351_){ _start: { -lean_object* v___x_20493_; -v___x_20493_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20483_, v_bindingNames_20484_, v_groups_20485_, v_a_20486_, v_a_20487_, v_a_20488_, v_a_20489_, v_a_20490_, v_a_20491_); -return v___x_20493_; +lean_object* v___x_20353_; +v___x_20353_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20343_, v_bindingNames_20344_, v_groups_20345_, v_a_20346_, v_a_20347_, v_a_20348_, v_a_20349_, v_a_20350_, v_a_20351_); +return v___x_20353_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___boxed(lean_object* v_00_u03b1_20494_, lean_object* v_delabForall_20495_, lean_object* v_bindingNames_20496_, lean_object* v_groups_20497_, lean_object* v_a_20498_, lean_object* v_a_20499_, lean_object* v_a_20500_, lean_object* v_a_20501_, lean_object* v_a_20502_, lean_object* v_a_20503_, lean_object* v_a_20504_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___boxed(lean_object* v_00_u03b1_20354_, lean_object* v_delabForall_20355_, lean_object* v_bindingNames_20356_, lean_object* v_groups_20357_, lean_object* v_a_20358_, lean_object* v_a_20359_, lean_object* v_a_20360_, lean_object* v_a_20361_, lean_object* v_a_20362_, lean_object* v_a_20363_, lean_object* v_a_20364_){ _start: { -lean_object* v_res_20505_; -v_res_20505_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams(v_00_u03b1_20494_, v_delabForall_20495_, v_bindingNames_20496_, v_groups_20497_, v_a_20498_, v_a_20499_, v_a_20500_, v_a_20501_, v_a_20502_, v_a_20503_); -return v_res_20505_; +lean_object* v_res_20365_; +v_res_20365_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams(v_00_u03b1_20354_, v_delabForall_20355_, v_bindingNames_20356_, v_groups_20357_, v_a_20358_, v_a_20359_, v_a_20360_, v_a_20361_, v_a_20362_, v_a_20363_); +return v_res_20365_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3(lean_object* v_00_u03b1_20506_, lean_object* v_msg_20507_, lean_object* v___y_20508_, lean_object* v___y_20509_, lean_object* v___y_20510_, lean_object* v___y_20511_, lean_object* v___y_20512_, lean_object* v___y_20513_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3(lean_object* v_00_u03b1_20366_, lean_object* v_msg_20367_, lean_object* v___y_20368_, lean_object* v___y_20369_, lean_object* v___y_20370_, lean_object* v___y_20371_, lean_object* v___y_20372_, lean_object* v___y_20373_){ _start: { -lean_object* v___x_20515_; -v___x_20515_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v_msg_20507_, v___y_20508_, v___y_20509_, v___y_20510_, v___y_20511_, v___y_20512_, v___y_20513_); -return v___x_20515_; +lean_object* v___x_20375_; +v___x_20375_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___redArg(v_msg_20367_, v___y_20368_, v___y_20369_, v___y_20370_, v___y_20371_, v___y_20372_, v___y_20373_); +return v___x_20375_; } } -LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___boxed(lean_object* v_00_u03b1_20516_, lean_object* v_msg_20517_, lean_object* v___y_20518_, lean_object* v___y_20519_, lean_object* v___y_20520_, lean_object* v___y_20521_, lean_object* v___y_20522_, lean_object* v___y_20523_, lean_object* v___y_20524_){ +LEAN_EXPORT lean_object* l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3___boxed(lean_object* v_00_u03b1_20376_, lean_object* v_msg_20377_, lean_object* v___y_20378_, lean_object* v___y_20379_, lean_object* v___y_20380_, lean_object* v___y_20381_, lean_object* v___y_20382_, lean_object* v___y_20383_, lean_object* v___y_20384_){ _start: { -lean_object* v_res_20525_; -v_res_20525_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3(v_00_u03b1_20516_, v_msg_20517_, v___y_20518_, v___y_20519_, v___y_20520_, v___y_20521_, v___y_20522_, v___y_20523_); -return v_res_20525_; +lean_object* v_res_20385_; +v_res_20385_ = l_panic___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__3(v_00_u03b1_20376_, v_msg_20377_, v___y_20378_, v___y_20379_, v___y_20380_, v___y_20381_, v___y_20382_, v___y_20383_); +return v_res_20385_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux(lean_object* v_00_u03b1_20526_, lean_object* v_delabForall_20527_, lean_object* v_bindingNames_20528_, lean_object* v_groups_20529_, lean_object* v_curIds_20530_, lean_object* v_a_20531_, lean_object* v_a_20532_, lean_object* v_a_20533_, lean_object* v_a_20534_, lean_object* v_a_20535_, lean_object* v_a_20536_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux(lean_object* v_00_u03b1_20386_, lean_object* v_delabForall_20387_, lean_object* v_bindingNames_20388_, lean_object* v_groups_20389_, lean_object* v_curIds_20390_, lean_object* v_a_20391_, lean_object* v_a_20392_, lean_object* v_a_20393_, lean_object* v_a_20394_, lean_object* v_a_20395_, lean_object* v_a_20396_){ _start: { -lean_object* v___x_20538_; -v___x_20538_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20527_, v_bindingNames_20528_, v_groups_20529_, v_curIds_20530_, v_a_20531_, v_a_20532_, v_a_20533_, v_a_20534_, v_a_20535_, v_a_20536_); -return v___x_20538_; +lean_object* v___x_20398_; +v___x_20398_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___redArg(v_delabForall_20387_, v_bindingNames_20388_, v_groups_20389_, v_curIds_20390_, v_a_20391_, v_a_20392_, v_a_20393_, v_a_20394_, v_a_20395_, v_a_20396_); +return v___x_20398_; } } -LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___boxed(lean_object* v_00_u03b1_20539_, lean_object* v_delabForall_20540_, lean_object* v_bindingNames_20541_, lean_object* v_groups_20542_, lean_object* v_curIds_20543_, lean_object* v_a_20544_, lean_object* v_a_20545_, lean_object* v_a_20546_, lean_object* v_a_20547_, lean_object* v_a_20548_, lean_object* v_a_20549_, lean_object* v_a_20550_){ +LEAN_EXPORT lean_object* l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux___boxed(lean_object* v_00_u03b1_20399_, lean_object* v_delabForall_20400_, lean_object* v_bindingNames_20401_, lean_object* v_groups_20402_, lean_object* v_curIds_20403_, lean_object* v_a_20404_, lean_object* v_a_20405_, lean_object* v_a_20406_, lean_object* v_a_20407_, lean_object* v_a_20408_, lean_object* v_a_20409_, lean_object* v_a_20410_){ _start: { -lean_object* v_res_20551_; -v_res_20551_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux(v_00_u03b1_20539_, v_delabForall_20540_, v_bindingNames_20541_, v_groups_20542_, v_curIds_20543_, v_a_20544_, v_a_20545_, v_a_20546_, v_a_20547_, v_a_20548_, v_a_20549_); -return v_res_20551_; +lean_object* v_res_20411_; +v_res_20411_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux(v_00_u03b1_20399_, v_delabForall_20400_, v_bindingNames_20401_, v_groups_20402_, v_curIds_20403_, v_a_20404_, v_a_20405_, v_a_20406_, v_a_20407_, v_a_20408_, v_a_20409_); +return v_res_20411_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2(lean_object* v_00_u03b1_20552_, lean_object* v_x_20553_, lean_object* v___y_20554_, lean_object* v___y_20555_, lean_object* v___y_20556_, lean_object* v___y_20557_, lean_object* v___y_20558_, lean_object* v___y_20559_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2(lean_object* v_00_u03b1_20412_, lean_object* v_x_20413_, lean_object* v___y_20414_, lean_object* v___y_20415_, lean_object* v___y_20416_, lean_object* v___y_20417_, lean_object* v___y_20418_, lean_object* v___y_20419_){ _start: { -lean_object* v___x_20561_; -v___x_20561_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v_x_20553_, v___y_20556_, v___y_20557_, v___y_20558_, v___y_20559_); -return v___x_20561_; +lean_object* v___x_20421_; +v___x_20421_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___redArg(v_x_20413_, v___y_20416_, v___y_20417_, v___y_20418_, v___y_20419_); +return v___x_20421_; } } -LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___boxed(lean_object* v_00_u03b1_20562_, lean_object* v_x_20563_, lean_object* v___y_20564_, lean_object* v___y_20565_, lean_object* v___y_20566_, lean_object* v___y_20567_, lean_object* v___y_20568_, lean_object* v___y_20569_, lean_object* v___y_20570_){ +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2___boxed(lean_object* v_00_u03b1_20422_, lean_object* v_x_20423_, lean_object* v___y_20424_, lean_object* v___y_20425_, lean_object* v___y_20426_, lean_object* v___y_20427_, lean_object* v___y_20428_, lean_object* v___y_20429_, lean_object* v___y_20430_){ _start: { -lean_object* v_res_20571_; -v_res_20571_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2(v_00_u03b1_20562_, v_x_20563_, v___y_20564_, v___y_20565_, v___y_20566_, v___y_20567_, v___y_20568_, v___y_20569_); -lean_dec(v___y_20569_); -lean_dec_ref(v___y_20568_); -lean_dec(v___y_20567_); -lean_dec_ref(v___y_20566_); -lean_dec(v___y_20565_); -lean_dec_ref(v___y_20564_); -return v_res_20571_; +lean_object* v_res_20431_; +v_res_20431_ = l_Lean_ofExcept___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParamsAux_spec__2(v_00_u03b1_20422_, v_x_20423_, v___y_20424_, v___y_20425_, v___y_20426_, v___y_20427_, v___y_20428_, v___y_20429_); +lean_dec(v___y_20429_); +lean_dec_ref(v___y_20428_); +lean_dec(v___y_20427_); +lean_dec_ref(v___y_20426_); +lean_dec(v___y_20425_); +lean_dec_ref(v___y_20424_); +return v_res_20431_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(lean_object* v_delabForall_20572_, lean_object* v_a_20573_, lean_object* v_a_20574_, lean_object* v_a_20575_, lean_object* v_a_20576_, lean_object* v_a_20577_, lean_object* v_a_20578_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(lean_object* v_delabForall_20432_, lean_object* v_a_20433_, lean_object* v_a_20434_, lean_object* v_a_20435_, lean_object* v_a_20436_, lean_object* v_a_20437_, lean_object* v_a_20438_){ _start: { -lean_object* v___x_20580_; lean_object* v___x_20581_; lean_object* v___x_20582_; -v___x_20580_ = l_Lean_NameSet_empty; -v___x_20581_ = ((lean_object*)(l_Array_filterMapM___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_tryAppUnexpanders_go_spec__0___closed__0)); -v___x_20582_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20572_, v___x_20580_, v___x_20581_, v_a_20573_, v_a_20574_, v_a_20575_, v_a_20576_, v_a_20577_, v_a_20578_); -return v___x_20582_; +lean_object* v___x_20440_; lean_object* v___x_20441_; lean_object* v___x_20442_; +v___x_20440_ = l_Lean_NameSet_empty; +v___x_20441_ = ((lean_object*)(l_Array_filterMapM___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabAppImplicitCore_tryAppUnexpanders_go_spec__0___closed__0)); +v___x_20442_ = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabParams___redArg(v_delabForall_20432_, v___x_20440_, v___x_20441_, v_a_20433_, v_a_20434_, v_a_20435_, v_a_20436_, v_a_20437_, v_a_20438_); +return v___x_20442_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg___boxed(lean_object* v_delabForall_20583_, lean_object* v_a_20584_, lean_object* v_a_20585_, lean_object* v_a_20586_, lean_object* v_a_20587_, lean_object* v_a_20588_, lean_object* v_a_20589_, lean_object* v_a_20590_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg___boxed(lean_object* v_delabForall_20443_, lean_object* v_a_20444_, lean_object* v_a_20445_, lean_object* v_a_20446_, lean_object* v_a_20447_, lean_object* v_a_20448_, lean_object* v_a_20449_, lean_object* v_a_20450_){ _start: { -lean_object* v_res_20591_; -v_res_20591_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v_delabForall_20583_, v_a_20584_, v_a_20585_, v_a_20586_, v_a_20587_, v_a_20588_, v_a_20589_); -return v_res_20591_; +lean_object* v_res_20451_; +v_res_20451_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v_delabForall_20443_, v_a_20444_, v_a_20445_, v_a_20446_, v_a_20447_, v_a_20448_, v_a_20449_); +return v_res_20451_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature(lean_object* v_00_u03b1_20592_, lean_object* v_delabForall_20593_, lean_object* v_a_20594_, lean_object* v_a_20595_, lean_object* v_a_20596_, lean_object* v_a_20597_, lean_object* v_a_20598_, lean_object* v_a_20599_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature(lean_object* v_00_u03b1_20452_, lean_object* v_delabForall_20453_, lean_object* v_a_20454_, lean_object* v_a_20455_, lean_object* v_a_20456_, lean_object* v_a_20457_, lean_object* v_a_20458_, lean_object* v_a_20459_){ _start: { -lean_object* v___x_20601_; -v___x_20601_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v_delabForall_20593_, v_a_20594_, v_a_20595_, v_a_20596_, v_a_20597_, v_a_20598_, v_a_20599_); -return v___x_20601_; +lean_object* v___x_20461_; +v___x_20461_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v_delabForall_20453_, v_a_20454_, v_a_20455_, v_a_20456_, v_a_20457_, v_a_20458_, v_a_20459_); +return v___x_20461_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___boxed(lean_object* v_00_u03b1_20602_, lean_object* v_delabForall_20603_, lean_object* v_a_20604_, lean_object* v_a_20605_, lean_object* v_a_20606_, lean_object* v_a_20607_, lean_object* v_a_20608_, lean_object* v_a_20609_, lean_object* v_a_20610_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___boxed(lean_object* v_00_u03b1_20462_, lean_object* v_delabForall_20463_, lean_object* v_a_20464_, lean_object* v_a_20465_, lean_object* v_a_20466_, lean_object* v_a_20467_, lean_object* v_a_20468_, lean_object* v_a_20469_, lean_object* v_a_20470_){ _start: { -lean_object* v_res_20611_; -v_res_20611_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature(v_00_u03b1_20602_, v_delabForall_20603_, v_a_20604_, v_a_20605_, v_a_20606_, v_a_20607_, v_a_20608_, v_a_20609_); -return v_res_20611_; +lean_object* v_res_20471_; +v_res_20471_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature(v_00_u03b1_20462_, v_delabForall_20463_, v_a_20464_, v_a_20465_, v_a_20466_, v_a_20467_, v_a_20468_, v_a_20469_); +return v_res_20471_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(uint8_t v___y_20612_, lean_object* v_as_20613_, size_t v_i_20614_, size_t v_stop_20615_, lean_object* v_b_20616_, lean_object* v___y_20617_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(uint8_t v___y_20472_, lean_object* v_as_20473_, size_t v_i_20474_, size_t v_stop_20475_, lean_object* v_b_20476_, lean_object* v___y_20477_){ _start: { -uint8_t v___x_20619_; -v___x_20619_ = lean_usize_dec_eq(v_i_20614_, v_stop_20615_); -if (v___x_20619_ == 0) +uint8_t v___x_20479_; +v___x_20479_ = lean_usize_dec_eq(v_i_20474_, v_stop_20475_); +if (v___x_20479_ == 0) { -lean_object* v_ref_20620_; size_t v___x_20621_; size_t v___x_20622_; lean_object* v___x_20623_; lean_object* v___x_20624_; lean_object* v___x_20625_; lean_object* v___x_20626_; lean_object* v___x_20627_; lean_object* v___x_20628_; -v_ref_20620_ = lean_ctor_get(v___y_20617_, 5); -v___x_20621_ = ((size_t)1ULL); -v___x_20622_ = lean_usize_sub(v_i_20614_, v___x_20621_); -v___x_20623_ = lean_array_uget_borrowed(v_as_20613_, v___x_20622_); -v___x_20624_ = l_Lean_SourceInfo_fromRef(v_ref_20620_, v___y_20612_); -v___x_20625_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__1)); -v___x_20626_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForall_spec__0___redArg___closed__2)); -lean_inc(v___x_20624_); -v___x_20627_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20627_, 0, v___x_20624_); -lean_ctor_set(v___x_20627_, 1, v___x_20626_); -lean_inc(v___x_20623_); -v___x_20628_ = l_Lean_Syntax_node3(v___x_20624_, v___x_20625_, v___x_20623_, v___x_20627_, v_b_20616_); -v_i_20614_ = v___x_20622_; -v_b_20616_ = v___x_20628_; +lean_object* v_ref_20480_; size_t v___x_20481_; size_t v___x_20482_; lean_object* v___x_20483_; lean_object* v___x_20484_; lean_object* v___x_20485_; lean_object* v___x_20486_; lean_object* v___x_20487_; lean_object* v___x_20488_; +v_ref_20480_ = lean_ctor_get(v___y_20477_, 5); +v___x_20481_ = ((size_t)1ULL); +v___x_20482_ = lean_usize_sub(v_i_20474_, v___x_20481_); +v___x_20483_ = lean_array_uget_borrowed(v_as_20473_, v___x_20482_); +v___x_20484_ = l_Lean_SourceInfo_fromRef(v_ref_20480_, v___y_20472_); +v___x_20485_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__1)); +v___x_20486_ = ((lean_object*)(l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForall_spec__0___redArg___closed__2)); +lean_inc(v___x_20484_); +v___x_20487_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_20487_, 0, v___x_20484_); +lean_ctor_set(v___x_20487_, 1, v___x_20486_); +lean_inc(v___x_20483_); +v___x_20488_ = l_Lean_Syntax_node3(v___x_20484_, v___x_20485_, v___x_20483_, v___x_20487_, v_b_20476_); +v_i_20474_ = v___x_20482_; +v_b_20476_ = v___x_20488_; goto _start; } else { -lean_object* v___x_20630_; -v___x_20630_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20630_, 0, v_b_20616_); -return v___x_20630_; +lean_object* v___x_20490_; +v___x_20490_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20490_, 0, v_b_20476_); +return v___x_20490_; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg___boxed(lean_object* v___y_20631_, lean_object* v_as_20632_, lean_object* v_i_20633_, lean_object* v_stop_20634_, lean_object* v_b_20635_, lean_object* v___y_20636_, lean_object* v___y_20637_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg___boxed(lean_object* v___y_20491_, lean_object* v_as_20492_, lean_object* v_i_20493_, lean_object* v_stop_20494_, lean_object* v_b_20495_, lean_object* v___y_20496_, lean_object* v___y_20497_){ _start: { -uint8_t v___y_10594__boxed_20638_; size_t v_i_boxed_20639_; size_t v_stop_boxed_20640_; lean_object* v_res_20641_; -v___y_10594__boxed_20638_ = lean_unbox(v___y_20631_); -v_i_boxed_20639_ = lean_unbox_usize(v_i_20633_); -lean_dec(v_i_20633_); -v_stop_boxed_20640_ = lean_unbox_usize(v_stop_20634_); -lean_dec(v_stop_20634_); -v_res_20641_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_10594__boxed_20638_, v_as_20632_, v_i_boxed_20639_, v_stop_boxed_20640_, v_b_20635_, v___y_20636_); -lean_dec_ref(v___y_20636_); -lean_dec_ref(v_as_20632_); -return v_res_20641_; +uint8_t v___y_10594__boxed_20498_; size_t v_i_boxed_20499_; size_t v_stop_boxed_20500_; lean_object* v_res_20501_; +v___y_10594__boxed_20498_ = lean_unbox(v___y_20491_); +v_i_boxed_20499_ = lean_unbox_usize(v_i_20493_); +lean_dec(v_i_20493_); +v_stop_boxed_20500_ = lean_unbox_usize(v_stop_20494_); +lean_dec(v_stop_20494_); +v_res_20501_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_10594__boxed_20498_, v_as_20492_, v_i_boxed_20499_, v_stop_boxed_20500_, v_b_20495_, v___y_20496_); +lean_dec_ref(v___y_20496_); +lean_dec_ref(v_as_20492_); +return v_res_20501_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(size_t v_sz_20642_, size_t v_i_20643_, lean_object* v_bs_20644_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(size_t v_sz_20502_, size_t v_i_20503_, lean_object* v_bs_20504_){ _start: { -uint8_t v___x_20645_; -v___x_20645_ = lean_usize_dec_lt(v_i_20643_, v_sz_20642_); -if (v___x_20645_ == 0) +uint8_t v___x_20505_; +v___x_20505_ = lean_usize_dec_lt(v_i_20503_, v_sz_20502_); +if (v___x_20505_ == 0) { -return v_bs_20644_; +return v_bs_20504_; } else { -lean_object* v_v_20646_; lean_object* v___x_20647_; lean_object* v_bs_x27_20648_; size_t v___x_20649_; size_t v___x_20650_; lean_object* v___x_20651_; -v_v_20646_ = lean_array_uget(v_bs_20644_, v_i_20643_); -v___x_20647_ = lean_unsigned_to_nat(0u); -v_bs_x27_20648_ = lean_array_uset(v_bs_20644_, v_i_20643_, v___x_20647_); -v___x_20649_ = ((size_t)1ULL); -v___x_20650_ = lean_usize_add(v_i_20643_, v___x_20649_); -v___x_20651_ = lean_array_uset(v_bs_x27_20648_, v_i_20643_, v_v_20646_); -v_i_20643_ = v___x_20650_; -v_bs_20644_ = v___x_20651_; +lean_object* v_v_20506_; lean_object* v___x_20507_; lean_object* v_bs_x27_20508_; size_t v___x_20509_; size_t v___x_20510_; lean_object* v___x_20511_; +v_v_20506_ = lean_array_uget(v_bs_20504_, v_i_20503_); +v___x_20507_ = lean_unsigned_to_nat(0u); +v_bs_x27_20508_ = lean_array_uset(v_bs_20504_, v_i_20503_, v___x_20507_); +v___x_20509_ = ((size_t)1ULL); +v___x_20510_ = lean_usize_add(v_i_20503_, v___x_20509_); +v___x_20511_ = lean_array_uset(v_bs_x27_20508_, v_i_20503_, v_v_20506_); +v_i_20503_ = v___x_20510_; +v_bs_20504_ = v___x_20511_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2___boxed(lean_object* v_sz_20653_, lean_object* v_i_20654_, lean_object* v_bs_20655_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2___boxed(lean_object* v_sz_20513_, lean_object* v_i_20514_, lean_object* v_bs_20515_){ _start: { -size_t v_sz_boxed_20656_; size_t v_i_boxed_20657_; lean_object* v_res_20658_; -v_sz_boxed_20656_ = lean_unbox_usize(v_sz_20653_); -lean_dec(v_sz_20653_); -v_i_boxed_20657_ = lean_unbox_usize(v_i_20654_); -lean_dec(v_i_20654_); -v_res_20658_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_boxed_20656_, v_i_boxed_20657_, v_bs_20655_); -return v_res_20658_; +size_t v_sz_boxed_20516_; size_t v_i_boxed_20517_; lean_object* v_res_20518_; +v_sz_boxed_20516_ = lean_unbox_usize(v_sz_20513_); +lean_dec(v_sz_20513_); +v_i_boxed_20517_ = lean_unbox_usize(v_i_20514_); +lean_dec(v_i_20514_); +v_res_20518_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_boxed_20516_, v_i_boxed_20517_, v_bs_20515_); +return v_res_20518_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(size_t v_sz_20659_, size_t v_i_20660_, lean_object* v_bs_20661_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(size_t v_sz_20519_, size_t v_i_20520_, lean_object* v_bs_20521_){ _start: { -uint8_t v___x_20662_; -v___x_20662_ = lean_usize_dec_lt(v_i_20660_, v_sz_20659_); -if (v___x_20662_ == 0) +uint8_t v___x_20522_; +v___x_20522_ = lean_usize_dec_lt(v_i_20520_, v_sz_20519_); +if (v___x_20522_ == 0) { -return v_bs_20661_; +return v_bs_20521_; } else { -lean_object* v_v_20663_; lean_object* v___x_20664_; lean_object* v_bs_x27_20665_; size_t v___x_20666_; size_t v___x_20667_; lean_object* v___x_20668_; -v_v_20663_ = lean_array_uget(v_bs_20661_, v_i_20660_); -v___x_20664_ = lean_unsigned_to_nat(0u); -v_bs_x27_20665_ = lean_array_uset(v_bs_20661_, v_i_20660_, v___x_20664_); -v___x_20666_ = ((size_t)1ULL); -v___x_20667_ = lean_usize_add(v_i_20660_, v___x_20666_); -v___x_20668_ = lean_array_uset(v_bs_x27_20665_, v_i_20660_, v_v_20663_); -v_i_20660_ = v___x_20667_; -v_bs_20661_ = v___x_20668_; +lean_object* v_v_20523_; lean_object* v___x_20524_; lean_object* v_bs_x27_20525_; size_t v___x_20526_; size_t v___x_20527_; lean_object* v___x_20528_; +v_v_20523_ = lean_array_uget(v_bs_20521_, v_i_20520_); +v___x_20524_ = lean_unsigned_to_nat(0u); +v_bs_x27_20525_ = lean_array_uset(v_bs_20521_, v_i_20520_, v___x_20524_); +v___x_20526_ = ((size_t)1ULL); +v___x_20527_ = lean_usize_add(v_i_20520_, v___x_20526_); +v___x_20528_ = lean_array_uset(v_bs_x27_20525_, v_i_20520_, v_v_20523_); +v_i_20520_ = v___x_20527_; +v_bs_20521_ = v___x_20528_; goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1___boxed(lean_object* v_sz_20670_, lean_object* v_i_20671_, lean_object* v_bs_20672_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1___boxed(lean_object* v_sz_20530_, lean_object* v_i_20531_, lean_object* v_bs_20532_){ _start: { -size_t v_sz_boxed_20673_; size_t v_i_boxed_20674_; lean_object* v_res_20675_; -v_sz_boxed_20673_ = lean_unbox_usize(v_sz_20670_); -lean_dec(v_sz_20670_); -v_i_boxed_20674_ = lean_unbox_usize(v_i_20671_); -lean_dec(v_i_20671_); -v_res_20675_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_boxed_20673_, v_i_boxed_20674_, v_bs_20672_); -return v_res_20675_; +size_t v_sz_boxed_20533_; size_t v_i_boxed_20534_; lean_object* v_res_20535_; +v_sz_boxed_20533_ = lean_unbox_usize(v_sz_20530_); +lean_dec(v_sz_20530_); +v_i_boxed_20534_ = lean_unbox_usize(v_i_20531_); +lean_dec(v_i_20531_); +v_res_20535_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_boxed_20533_, v_i_boxed_20534_, v_bs_20532_); +return v_res_20535_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0(uint8_t v_a_20676_, lean_object* v_groups_20677_, lean_object* v_type_20678_, lean_object* v___y_20679_, lean_object* v___y_20680_, lean_object* v___y_20681_, lean_object* v___y_20682_, lean_object* v___y_20683_, lean_object* v___y_20684_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0(uint8_t v_a_20536_, lean_object* v_groups_20537_, lean_object* v_type_20538_, lean_object* v___y_20539_, lean_object* v___y_20540_, lean_object* v___y_20541_, lean_object* v___y_20542_, lean_object* v___y_20543_, lean_object* v___y_20544_){ _start: { -lean_object* v___x_20686_; lean_object* v___x_20687_; uint8_t v___x_20688_; -v___x_20686_ = lean_array_get_size(v_groups_20677_); -v___x_20687_ = lean_unsigned_to_nat(0u); -v___x_20688_ = lean_nat_dec_eq(v___x_20686_, v___x_20687_); -if (v___x_20688_ == 0) +lean_object* v___x_20546_; lean_object* v___x_20547_; uint8_t v___x_20548_; +v___x_20546_ = lean_array_get_size(v_groups_20537_); +v___x_20547_ = lean_unsigned_to_nat(0u); +v___x_20548_ = lean_nat_dec_eq(v___x_20546_, v___x_20547_); +if (v___x_20548_ == 0) { -lean_object* v___x_20689_; lean_object* v___x_20690_; -v___x_20689_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders___closed__1)); -lean_inc_ref(v___y_20683_); -v___x_20690_ = l_Lean_PrettyPrinter_Delaborator_getPPOption___redArg(v___x_20689_, v___y_20679_, v___y_20680_, v___y_20681_, v___y_20682_, v___y_20683_, v___y_20684_); -if (lean_obj_tag(v___x_20690_) == 0) +lean_object* v___x_20549_; lean_object* v___x_20550_; +v___x_20549_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallBinders___closed__1)); +lean_inc_ref(v___y_20543_); +v___x_20550_ = l_Lean_PrettyPrinter_Delaborator_getPPOption___redArg(v___x_20549_, v___y_20539_, v___y_20540_, v___y_20541_, v___y_20542_, v___y_20543_, v___y_20544_); +if (lean_obj_tag(v___x_20550_) == 0) { -lean_object* v_a_20691_; lean_object* v___x_20693_; uint8_t v_isShared_20694_; uint8_t v_isSharedCheck_20725_; -v_a_20691_ = lean_ctor_get(v___x_20690_, 0); -v_isSharedCheck_20725_ = !lean_is_exclusive(v___x_20690_); -if (v_isSharedCheck_20725_ == 0) +lean_object* v_a_20551_; lean_object* v___x_20553_; uint8_t v_isShared_20554_; uint8_t v_isSharedCheck_20585_; +v_a_20551_ = lean_ctor_get(v___x_20550_, 0); +v_isSharedCheck_20585_ = !lean_is_exclusive(v___x_20550_); +if (v_isSharedCheck_20585_ == 0) { -v___x_20693_ = v___x_20690_; -v_isShared_20694_ = v_isSharedCheck_20725_; -goto v_resetjp_20692_; +v___x_20553_ = v___x_20550_; +v_isShared_20554_ = v_isSharedCheck_20585_; +goto v_resetjp_20552_; } else { -lean_inc(v_a_20691_); -lean_dec(v___x_20690_); -v___x_20693_ = lean_box(0); -v_isShared_20694_ = v_isSharedCheck_20725_; -goto v_resetjp_20692_; +lean_inc(v_a_20551_); +lean_dec(v___x_20550_); +v___x_20553_ = lean_box(0); +v_isShared_20554_ = v_isSharedCheck_20585_; +goto v_resetjp_20552_; } -v_resetjp_20692_: +v_resetjp_20552_: { -uint8_t v___y_20696_; -if (v_a_20676_ == 0) +uint8_t v___y_20556_; +if (v_a_20536_ == 0) { -lean_dec(v_a_20691_); -v___y_20696_ = v_a_20676_; -goto v___jp_20695_; +lean_dec(v_a_20551_); +v___y_20556_ = v_a_20536_; +goto v___jp_20555_; } else { -uint8_t v___x_20704_; -v___x_20704_ = lean_unbox(v_a_20691_); -if (v___x_20704_ == 0) +uint8_t v___x_20564_; +v___x_20564_ = lean_unbox(v_a_20551_); +if (v___x_20564_ == 0) { -uint8_t v___x_20705_; -v___x_20705_ = lean_unbox(v_a_20691_); -lean_dec(v_a_20691_); -v___y_20696_ = v___x_20705_; -goto v___jp_20695_; +uint8_t v___x_20565_; +v___x_20565_ = lean_unbox(v_a_20551_); +lean_dec(v_a_20551_); +v___y_20556_ = v___x_20565_; +goto v___jp_20555_; } else { -lean_object* v_ref_20706_; lean_object* v___x_20707_; lean_object* v___x_20708_; lean_object* v___x_20709_; lean_object* v___x_20710_; lean_object* v___x_20711_; lean_object* v___x_20712_; size_t v_sz_20713_; size_t v___x_20714_; lean_object* v___x_20715_; size_t v_sz_20716_; lean_object* v___x_20717_; lean_object* v___x_20718_; lean_object* v___x_20719_; lean_object* v___x_20720_; lean_object* v___x_20721_; lean_object* v___x_20722_; lean_object* v___x_20723_; lean_object* v___x_20724_; -lean_del_object(v___x_20693_); -lean_dec(v_a_20691_); -v_ref_20706_ = lean_ctor_get(v___y_20683_, 5); -lean_inc(v_ref_20706_); -lean_dec_ref(v___y_20683_); -v___x_20707_ = l_Lean_SourceInfo_fromRef(v_ref_20706_, v___x_20688_); -lean_dec(v_ref_20706_); -v___x_20708_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__3)); -v___x_20709_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__4)); -lean_inc(v___x_20707_); -v___x_20710_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20710_, 0, v___x_20707_); -lean_ctor_set(v___x_20710_, 1, v___x_20709_); -v___x_20711_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_20712_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_20713_ = lean_array_size(v_groups_20677_); -v___x_20714_ = ((size_t)0ULL); -v___x_20715_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_20713_, v___x_20714_, v_groups_20677_); -v_sz_20716_ = lean_array_size(v___x_20715_); -v___x_20717_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_20716_, v___x_20714_, v___x_20715_); -v___x_20718_ = l_Array_append___redArg(v___x_20712_, v___x_20717_); -lean_dec_ref(v___x_20717_); -lean_inc(v___x_20707_); -v___x_20719_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_20719_, 0, v___x_20707_); -lean_ctor_set(v___x_20719_, 1, v___x_20711_); -lean_ctor_set(v___x_20719_, 2, v___x_20718_); -lean_inc(v___x_20707_); -v___x_20720_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_20720_, 0, v___x_20707_); -lean_ctor_set(v___x_20720_, 1, v___x_20711_); -lean_ctor_set(v___x_20720_, 2, v___x_20712_); -v___x_20721_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__5)); -lean_inc(v___x_20707_); -v___x_20722_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20722_, 0, v___x_20707_); -lean_ctor_set(v___x_20722_, 1, v___x_20721_); -v___x_20723_ = l_Lean_Syntax_node5(v___x_20707_, v___x_20708_, v___x_20710_, v___x_20719_, v___x_20720_, v___x_20722_, v_type_20678_); -v___x_20724_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20724_, 0, v___x_20723_); -return v___x_20724_; +lean_object* v_ref_20566_; lean_object* v___x_20567_; lean_object* v___x_20568_; lean_object* v___x_20569_; lean_object* v___x_20570_; lean_object* v___x_20571_; lean_object* v___x_20572_; size_t v_sz_20573_; size_t v___x_20574_; lean_object* v___x_20575_; size_t v_sz_20576_; lean_object* v___x_20577_; lean_object* v___x_20578_; lean_object* v___x_20579_; lean_object* v___x_20580_; lean_object* v___x_20581_; lean_object* v___x_20582_; lean_object* v___x_20583_; lean_object* v___x_20584_; +lean_del_object(v___x_20553_); +lean_dec(v_a_20551_); +v_ref_20566_ = lean_ctor_get(v___y_20543_, 5); +lean_inc(v_ref_20566_); +lean_dec_ref(v___y_20543_); +v___x_20567_ = l_Lean_SourceInfo_fromRef(v_ref_20566_, v___x_20548_); +lean_dec(v_ref_20566_); +v___x_20568_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__3)); +v___x_20569_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabForall___lam__0___closed__4)); +lean_inc(v___x_20567_); +v___x_20570_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_20570_, 0, v___x_20567_); +lean_ctor_set(v___x_20570_, 1, v___x_20569_); +v___x_20571_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_20572_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_20573_ = lean_array_size(v_groups_20537_); +v___x_20574_ = ((size_t)0ULL); +v___x_20575_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_20573_, v___x_20574_, v_groups_20537_); +v_sz_20576_ = lean_array_size(v___x_20575_); +v___x_20577_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_20576_, v___x_20574_, v___x_20575_); +v___x_20578_ = l_Array_append___redArg(v___x_20572_, v___x_20577_); +lean_dec_ref(v___x_20577_); +lean_inc(v___x_20567_); +v___x_20579_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_20579_, 0, v___x_20567_); +lean_ctor_set(v___x_20579_, 1, v___x_20571_); +lean_ctor_set(v___x_20579_, 2, v___x_20578_); +lean_inc(v___x_20567_); +v___x_20580_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_20580_, 0, v___x_20567_); +lean_ctor_set(v___x_20580_, 1, v___x_20571_); +lean_ctor_set(v___x_20580_, 2, v___x_20572_); +v___x_20581_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabConst___closed__5)); +lean_inc(v___x_20567_); +v___x_20582_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_20582_, 0, v___x_20567_); +lean_ctor_set(v___x_20582_, 1, v___x_20581_); +v___x_20583_ = l_Lean_Syntax_node5(v___x_20567_, v___x_20568_, v___x_20570_, v___x_20579_, v___x_20580_, v___x_20582_, v_type_20538_); +v___x_20584_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20584_, 0, v___x_20583_); +return v___x_20584_; } } -v___jp_20695_: +v___jp_20555_: { -uint8_t v___x_20697_; -v___x_20697_ = lean_nat_dec_lt(v___x_20687_, v___x_20686_); -if (v___x_20697_ == 0) +uint8_t v___x_20557_; +v___x_20557_ = lean_nat_dec_lt(v___x_20547_, v___x_20546_); +if (v___x_20557_ == 0) { -lean_object* v___x_20699_; -lean_dec_ref(v___y_20683_); -lean_dec_ref(v_groups_20677_); -if (v_isShared_20694_ == 0) +lean_object* v___x_20559_; +lean_dec_ref(v___y_20543_); +lean_dec_ref(v_groups_20537_); +if (v_isShared_20554_ == 0) { -lean_ctor_set(v___x_20693_, 0, v_type_20678_); -v___x_20699_ = v___x_20693_; -goto v_reusejp_20698_; +lean_ctor_set(v___x_20553_, 0, v_type_20538_); +v___x_20559_ = v___x_20553_; +goto v_reusejp_20558_; } else { -lean_object* v_reuseFailAlloc_20700_; -v_reuseFailAlloc_20700_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20700_, 0, v_type_20678_); -v___x_20699_ = v_reuseFailAlloc_20700_; -goto v_reusejp_20698_; +lean_object* v_reuseFailAlloc_20560_; +v_reuseFailAlloc_20560_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20560_, 0, v_type_20538_); +v___x_20559_ = v_reuseFailAlloc_20560_; +goto v_reusejp_20558_; } -v_reusejp_20698_: +v_reusejp_20558_: { -return v___x_20699_; +return v___x_20559_; } } else { -size_t v___x_20701_; size_t v___x_20702_; lean_object* v___x_20703_; -lean_del_object(v___x_20693_); -v___x_20701_ = lean_usize_of_nat(v___x_20686_); -v___x_20702_ = ((size_t)0ULL); -v___x_20703_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_20696_, v_groups_20677_, v___x_20701_, v___x_20702_, v_type_20678_, v___y_20683_); -lean_dec_ref(v___y_20683_); -lean_dec_ref(v_groups_20677_); -return v___x_20703_; +size_t v___x_20561_; size_t v___x_20562_; lean_object* v___x_20563_; +lean_del_object(v___x_20553_); +v___x_20561_ = lean_usize_of_nat(v___x_20546_); +v___x_20562_ = ((size_t)0ULL); +v___x_20563_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_20556_, v_groups_20537_, v___x_20561_, v___x_20562_, v_type_20538_, v___y_20543_); +lean_dec_ref(v___y_20543_); +lean_dec_ref(v_groups_20537_); +return v___x_20563_; } } } } else { -lean_object* v_a_20726_; lean_object* v___x_20728_; uint8_t v_isShared_20729_; uint8_t v_isSharedCheck_20733_; -lean_dec_ref(v___y_20683_); -lean_dec(v_type_20678_); -lean_dec_ref(v_groups_20677_); -v_a_20726_ = lean_ctor_get(v___x_20690_, 0); -v_isSharedCheck_20733_ = !lean_is_exclusive(v___x_20690_); -if (v_isSharedCheck_20733_ == 0) +lean_object* v_a_20586_; lean_object* v___x_20588_; uint8_t v_isShared_20589_; uint8_t v_isSharedCheck_20593_; +lean_dec_ref(v___y_20543_); +lean_dec(v_type_20538_); +lean_dec_ref(v_groups_20537_); +v_a_20586_ = lean_ctor_get(v___x_20550_, 0); +v_isSharedCheck_20593_ = !lean_is_exclusive(v___x_20550_); +if (v_isSharedCheck_20593_ == 0) { -v___x_20728_ = v___x_20690_; -v_isShared_20729_ = v_isSharedCheck_20733_; -goto v_resetjp_20727_; +v___x_20588_ = v___x_20550_; +v_isShared_20589_ = v_isSharedCheck_20593_; +goto v_resetjp_20587_; } else { -lean_inc(v_a_20726_); -lean_dec(v___x_20690_); -v___x_20728_ = lean_box(0); -v_isShared_20729_ = v_isSharedCheck_20733_; -goto v_resetjp_20727_; +lean_inc(v_a_20586_); +lean_dec(v___x_20550_); +v___x_20588_ = lean_box(0); +v_isShared_20589_ = v_isSharedCheck_20593_; +goto v_resetjp_20587_; } -v_resetjp_20727_: +v_resetjp_20587_: { -lean_object* v___x_20731_; -if (v_isShared_20729_ == 0) +lean_object* v___x_20591_; +if (v_isShared_20589_ == 0) { -v___x_20731_ = v___x_20728_; -goto v_reusejp_20730_; +v___x_20591_ = v___x_20588_; +goto v_reusejp_20590_; } else { -lean_object* v_reuseFailAlloc_20732_; -v_reuseFailAlloc_20732_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_20732_, 0, v_a_20726_); -v___x_20731_ = v_reuseFailAlloc_20732_; -goto v_reusejp_20730_; +lean_object* v_reuseFailAlloc_20592_; +v_reuseFailAlloc_20592_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20592_, 0, v_a_20586_); +v___x_20591_ = v_reuseFailAlloc_20592_; +goto v_reusejp_20590_; } -v_reusejp_20730_: +v_reusejp_20590_: { -return v___x_20731_; +return v___x_20591_; } } } } else { -lean_object* v___x_20734_; -lean_dec(v___y_20684_); -lean_dec_ref(v___y_20683_); -lean_dec(v___y_20682_); -lean_dec_ref(v___y_20681_); -lean_dec(v___y_20680_); -lean_dec_ref(v___y_20679_); -lean_dec_ref(v_groups_20677_); -v___x_20734_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20734_, 0, v_type_20678_); -return v___x_20734_; +lean_object* v___x_20594_; +lean_dec(v___y_20544_); +lean_dec_ref(v___y_20543_); +lean_dec(v___y_20542_); +lean_dec_ref(v___y_20541_); +lean_dec(v___y_20540_); +lean_dec_ref(v___y_20539_); +lean_dec_ref(v_groups_20537_); +v___x_20594_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20594_, 0, v_type_20538_); +return v___x_20594_; } } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0___boxed(lean_object* v_a_20735_, lean_object* v_groups_20736_, lean_object* v_type_20737_, lean_object* v___y_20738_, lean_object* v___y_20739_, lean_object* v___y_20740_, lean_object* v___y_20741_, lean_object* v___y_20742_, lean_object* v___y_20743_, lean_object* v___y_20744_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0___boxed(lean_object* v_a_20595_, lean_object* v_groups_20596_, lean_object* v_type_20597_, lean_object* v___y_20598_, lean_object* v___y_20599_, lean_object* v___y_20600_, lean_object* v___y_20601_, lean_object* v___y_20602_, lean_object* v___y_20603_, lean_object* v___y_20604_){ _start: { -uint8_t v_a_10669__boxed_20745_; lean_object* v_res_20746_; -v_a_10669__boxed_20745_ = lean_unbox(v_a_20735_); -v_res_20746_ = l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0(v_a_10669__boxed_20745_, v_groups_20736_, v_type_20737_, v___y_20738_, v___y_20739_, v___y_20740_, v___y_20741_, v___y_20742_, v___y_20743_); -return v_res_20746_; +uint8_t v_a_10669__boxed_20605_; lean_object* v_res_20606_; +v_a_10669__boxed_20605_ = lean_unbox(v_a_20595_); +v_res_20606_ = l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0(v_a_10669__boxed_20605_, v_groups_20596_, v_type_20597_, v___y_20598_, v___y_20599_, v___y_20600_, v___y_20601_, v___y_20602_, v___y_20603_); +return v_res_20606_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature(lean_object* v_a_20747_, lean_object* v_a_20748_, lean_object* v_a_20749_, lean_object* v_a_20750_, lean_object* v_a_20751_, lean_object* v_a_20752_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature(lean_object* v_a_20607_, lean_object* v_a_20608_, lean_object* v_a_20609_, lean_object* v_a_20610_, lean_object* v_a_20611_, lean_object* v_a_20612_){ _start: { -uint8_t v_a_20755_; lean_object* v___y_20760_; uint8_t v___y_20761_; lean_object* v_a_20764_; lean_object* v___x_20767_; lean_object* v_a_20768_; lean_object* v___x_20769_; -v___x_20767_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20747_); -v_a_20768_ = lean_ctor_get(v___x_20767_, 0); -lean_inc(v_a_20768_); -lean_dec_ref(v___x_20767_); -lean_inc(v_a_20752_); -lean_inc_ref(v_a_20751_); -lean_inc(v_a_20750_); -lean_inc_ref(v_a_20749_); -v___x_20769_ = l_Lean_Meta_isProp(v_a_20768_, v_a_20749_, v_a_20750_, v_a_20751_, v_a_20752_); -if (lean_obj_tag(v___x_20769_) == 0) +uint8_t v_a_20615_; lean_object* v___y_20620_; uint8_t v___y_20621_; lean_object* v_a_20624_; lean_object* v___x_20627_; lean_object* v_a_20628_; lean_object* v___x_20629_; +v___x_20627_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20607_); +v_a_20628_ = lean_ctor_get(v___x_20627_, 0); +lean_inc(v_a_20628_); +lean_dec_ref(v___x_20627_); +lean_inc(v_a_20612_); +lean_inc_ref(v_a_20611_); +lean_inc(v_a_20610_); +lean_inc_ref(v_a_20609_); +v___x_20629_ = l_Lean_Meta_isProp(v_a_20628_, v_a_20609_, v_a_20610_, v_a_20611_, v_a_20612_); +if (lean_obj_tag(v___x_20629_) == 0) { -lean_object* v_a_20770_; uint8_t v___x_20771_; -v_a_20770_ = lean_ctor_get(v___x_20769_, 0); -lean_inc(v_a_20770_); -lean_dec_ref(v___x_20769_); -v___x_20771_ = lean_unbox(v_a_20770_); -lean_dec(v_a_20770_); -v_a_20755_ = v___x_20771_; -goto v___jp_20754_; +lean_object* v_a_20630_; uint8_t v___x_20631_; +v_a_20630_ = lean_ctor_get(v___x_20629_, 0); +lean_inc(v_a_20630_); +lean_dec_ref(v___x_20629_); +v___x_20631_ = lean_unbox(v_a_20630_); +lean_dec(v_a_20630_); +v_a_20615_ = v___x_20631_; +goto v___jp_20614_; } else { -lean_object* v_a_20772_; -v_a_20772_ = lean_ctor_get(v___x_20769_, 0); -lean_inc(v_a_20772_); -lean_dec_ref(v___x_20769_); -v_a_20764_ = v_a_20772_; -goto v___jp_20763_; +lean_object* v_a_20632_; +v_a_20632_ = lean_ctor_get(v___x_20629_, 0); +lean_inc(v_a_20632_); +lean_dec_ref(v___x_20629_); +v_a_20624_ = v_a_20632_; +goto v___jp_20623_; } -v___jp_20754_: +v___jp_20614_: { -lean_object* v___x_20756_; lean_object* v___f_20757_; lean_object* v___x_20758_; -v___x_20756_ = lean_box(v_a_20755_); -v___f_20757_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0___boxed), 10, 1); -lean_closure_set(v___f_20757_, 0, v___x_20756_); -v___x_20758_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v___f_20757_, v_a_20747_, v_a_20748_, v_a_20749_, v_a_20750_, v_a_20751_, v_a_20752_); -return v___x_20758_; +lean_object* v___x_20616_; lean_object* v___f_20617_; lean_object* v___x_20618_; +v___x_20616_ = lean_box(v_a_20615_); +v___f_20617_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___lam__0___boxed), 10, 1); +lean_closure_set(v___f_20617_, 0, v___x_20616_); +v___x_20618_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v___f_20617_, v_a_20607_, v_a_20608_, v_a_20609_, v_a_20610_, v_a_20611_, v_a_20612_); +return v___x_20618_; } -v___jp_20759_: +v___jp_20619_: { -if (v___y_20761_ == 0) +if (v___y_20621_ == 0) { -lean_dec_ref(v___y_20760_); -v_a_20755_ = v___y_20761_; -goto v___jp_20754_; +lean_dec_ref(v___y_20620_); +v_a_20615_ = v___y_20621_; +goto v___jp_20614_; } else { -lean_object* v___x_20762_; -lean_dec(v_a_20752_); -lean_dec_ref(v_a_20751_); -lean_dec(v_a_20750_); -lean_dec_ref(v_a_20749_); -lean_dec(v_a_20748_); -lean_dec_ref(v_a_20747_); -v___x_20762_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_20762_, 0, v___y_20760_); -return v___x_20762_; +lean_object* v___x_20622_; +lean_dec(v_a_20612_); +lean_dec_ref(v_a_20611_); +lean_dec(v_a_20610_); +lean_dec_ref(v_a_20609_); +lean_dec(v_a_20608_); +lean_dec_ref(v_a_20607_); +v___x_20622_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_20622_, 0, v___y_20620_); +return v___x_20622_; } } -v___jp_20763_: +v___jp_20623_: { -uint8_t v___x_20765_; -v___x_20765_ = l_Lean_Exception_isInterrupt(v_a_20764_); -if (v___x_20765_ == 0) +uint8_t v___x_20625_; +v___x_20625_ = l_Lean_Exception_isInterrupt(v_a_20624_); +if (v___x_20625_ == 0) { -uint8_t v___x_20766_; -lean_inc_ref(v_a_20764_); -v___x_20766_ = l_Lean_Exception_isRuntime(v_a_20764_); -v___y_20760_ = v_a_20764_; -v___y_20761_ = v___x_20766_; -goto v___jp_20759_; +uint8_t v___x_20626_; +lean_inc_ref(v_a_20624_); +v___x_20626_ = l_Lean_Exception_isRuntime(v_a_20624_); +v___y_20620_ = v_a_20624_; +v___y_20621_ = v___x_20626_; +goto v___jp_20619_; } else { -v___y_20760_ = v_a_20764_; -v___y_20761_ = v___x_20765_; -goto v___jp_20759_; +v___y_20620_ = v_a_20624_; +v___y_20621_ = v___x_20625_; +goto v___jp_20619_; } } } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___boxed(lean_object* v_a_20773_, lean_object* v_a_20774_, lean_object* v_a_20775_, lean_object* v_a_20776_, lean_object* v_a_20777_, lean_object* v_a_20778_, lean_object* v_a_20779_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature___boxed(lean_object* v_a_20633_, lean_object* v_a_20634_, lean_object* v_a_20635_, lean_object* v_a_20636_, lean_object* v_a_20637_, lean_object* v_a_20638_, lean_object* v_a_20639_){ _start: { -lean_object* v_res_20780_; -v_res_20780_ = l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature(v_a_20773_, v_a_20774_, v_a_20775_, v_a_20776_, v_a_20777_, v_a_20778_); -return v_res_20780_; +lean_object* v_res_20640_; +v_res_20640_ = l_Lean_PrettyPrinter_Delaborator_delabForallWithSignature(v_a_20633_, v_a_20634_, v_a_20635_, v_a_20636_, v_a_20637_, v_a_20638_); +return v_res_20640_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0(uint8_t v___y_20781_, lean_object* v_as_20782_, size_t v_i_20783_, size_t v_stop_20784_, lean_object* v_b_20785_, lean_object* v___y_20786_, lean_object* v___y_20787_, lean_object* v___y_20788_, lean_object* v___y_20789_, lean_object* v___y_20790_, lean_object* v___y_20791_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0(uint8_t v___y_20641_, lean_object* v_as_20642_, size_t v_i_20643_, size_t v_stop_20644_, lean_object* v_b_20645_, lean_object* v___y_20646_, lean_object* v___y_20647_, lean_object* v___y_20648_, lean_object* v___y_20649_, lean_object* v___y_20650_, lean_object* v___y_20651_){ _start: { -lean_object* v___x_20793_; -v___x_20793_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_20781_, v_as_20782_, v_i_20783_, v_stop_20784_, v_b_20785_, v___y_20790_); -return v___x_20793_; +lean_object* v___x_20653_; +v___x_20653_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___redArg(v___y_20641_, v_as_20642_, v_i_20643_, v_stop_20644_, v_b_20645_, v___y_20650_); +return v___x_20653_; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___boxed(lean_object* v___y_20794_, lean_object* v_as_20795_, lean_object* v_i_20796_, lean_object* v_stop_20797_, lean_object* v_b_20798_, lean_object* v___y_20799_, lean_object* v___y_20800_, lean_object* v___y_20801_, lean_object* v___y_20802_, lean_object* v___y_20803_, lean_object* v___y_20804_, lean_object* v___y_20805_){ +LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0___boxed(lean_object* v___y_20654_, lean_object* v_as_20655_, lean_object* v_i_20656_, lean_object* v_stop_20657_, lean_object* v_b_20658_, lean_object* v___y_20659_, lean_object* v___y_20660_, lean_object* v___y_20661_, lean_object* v___y_20662_, lean_object* v___y_20663_, lean_object* v___y_20664_, lean_object* v___y_20665_){ _start: { -uint8_t v___y_10850__boxed_20806_; size_t v_i_boxed_20807_; size_t v_stop_boxed_20808_; lean_object* v_res_20809_; -v___y_10850__boxed_20806_ = lean_unbox(v___y_20794_); -v_i_boxed_20807_ = lean_unbox_usize(v_i_20796_); -lean_dec(v_i_20796_); -v_stop_boxed_20808_ = lean_unbox_usize(v_stop_20797_); -lean_dec(v_stop_20797_); -v_res_20809_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0(v___y_10850__boxed_20806_, v_as_20795_, v_i_boxed_20807_, v_stop_boxed_20808_, v_b_20798_, v___y_20799_, v___y_20800_, v___y_20801_, v___y_20802_, v___y_20803_, v___y_20804_); -lean_dec(v___y_20804_); -lean_dec_ref(v___y_20803_); -lean_dec(v___y_20802_); -lean_dec_ref(v___y_20801_); -lean_dec(v___y_20800_); -lean_dec_ref(v___y_20799_); -lean_dec_ref(v_as_20795_); -return v_res_20809_; +uint8_t v___y_10850__boxed_20666_; size_t v_i_boxed_20667_; size_t v_stop_boxed_20668_; lean_object* v_res_20669_; +v___y_10850__boxed_20666_ = lean_unbox(v___y_20654_); +v_i_boxed_20667_ = lean_unbox_usize(v_i_20656_); +lean_dec(v_i_20656_); +v_stop_boxed_20668_ = lean_unbox_usize(v_stop_20657_); +lean_dec(v_stop_20657_); +v_res_20669_ = l___private_Init_Data_Array_Basic_0__Array_foldrMUnsafe_fold___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__0(v___y_10850__boxed_20666_, v_as_20655_, v_i_boxed_20667_, v_stop_boxed_20668_, v_b_20658_, v___y_20659_, v___y_20660_, v___y_20661_, v___y_20662_, v___y_20663_, v___y_20664_); +lean_dec(v___y_20664_); +lean_dec_ref(v___y_20663_); +lean_dec(v___y_20662_); +lean_dec_ref(v___y_20661_); +lean_dec(v___y_20660_); +lean_dec_ref(v___y_20659_); +lean_dec_ref(v_as_20655_); +return v_res_20669_; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(uint8_t v_universes_20810_, lean_object* v_child_20811_, lean_object* v_childIdx_20812_, lean_object* v___y_20813_, lean_object* v___y_20814_, lean_object* v___y_20815_, lean_object* v___y_20816_, lean_object* v___y_20817_, lean_object* v___y_20818_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(uint8_t v_universes_20670_, lean_object* v_child_20671_, lean_object* v_childIdx_20672_, lean_object* v___y_20673_, lean_object* v___y_20674_, lean_object* v___y_20675_, lean_object* v___y_20676_, lean_object* v___y_20677_, lean_object* v___y_20678_){ _start: { -lean_object* v_subExpr_20820_; lean_object* v_optionsPerPos_20821_; lean_object* v_currNamespace_20822_; lean_object* v_openDecls_20823_; uint8_t v_inPattern_20824_; lean_object* v_depth_20825_; lean_object* v___x_20827_; uint8_t v_isShared_20828_; uint8_t v_isSharedCheck_20914_; -v_subExpr_20820_ = lean_ctor_get(v___y_20813_, 3); -v_optionsPerPos_20821_ = lean_ctor_get(v___y_20813_, 0); -v_currNamespace_20822_ = lean_ctor_get(v___y_20813_, 1); -v_openDecls_20823_ = lean_ctor_get(v___y_20813_, 2); -v_inPattern_20824_ = lean_ctor_get_uint8(v___y_20813_, sizeof(void*)*5); -v_depth_20825_ = lean_ctor_get(v___y_20813_, 4); -v_isSharedCheck_20914_ = !lean_is_exclusive(v___y_20813_); -if (v_isSharedCheck_20914_ == 0) +lean_object* v_subExpr_20680_; lean_object* v_optionsPerPos_20681_; lean_object* v_currNamespace_20682_; lean_object* v_openDecls_20683_; uint8_t v_inPattern_20684_; lean_object* v_depth_20685_; lean_object* v___x_20687_; uint8_t v_isShared_20688_; uint8_t v_isSharedCheck_20774_; +v_subExpr_20680_ = lean_ctor_get(v___y_20673_, 3); +v_optionsPerPos_20681_ = lean_ctor_get(v___y_20673_, 0); +v_currNamespace_20682_ = lean_ctor_get(v___y_20673_, 1); +v_openDecls_20683_ = lean_ctor_get(v___y_20673_, 2); +v_inPattern_20684_ = lean_ctor_get_uint8(v___y_20673_, sizeof(void*)*5); +v_depth_20685_ = lean_ctor_get(v___y_20673_, 4); +v_isSharedCheck_20774_ = !lean_is_exclusive(v___y_20673_); +if (v_isSharedCheck_20774_ == 0) { -v___x_20827_ = v___y_20813_; -v_isShared_20828_ = v_isSharedCheck_20914_; -goto v_resetjp_20826_; +v___x_20687_ = v___y_20673_; +v_isShared_20688_ = v_isSharedCheck_20774_; +goto v_resetjp_20686_; } else { -lean_inc(v_depth_20825_); -lean_inc(v_subExpr_20820_); -lean_inc(v_openDecls_20823_); -lean_inc(v_currNamespace_20822_); -lean_inc(v_optionsPerPos_20821_); -lean_dec(v___y_20813_); -v___x_20827_ = lean_box(0); -v_isShared_20828_ = v_isSharedCheck_20914_; -goto v_resetjp_20826_; +lean_inc(v_depth_20685_); +lean_inc(v_subExpr_20680_); +lean_inc(v_openDecls_20683_); +lean_inc(v_currNamespace_20682_); +lean_inc(v_optionsPerPos_20681_); +lean_dec(v___y_20673_); +v___x_20687_ = lean_box(0); +v_isShared_20688_ = v_isSharedCheck_20774_; +goto v_resetjp_20686_; } -v_resetjp_20826_: +v_resetjp_20686_: { -lean_object* v_pos_20829_; lean_object* v___x_20831_; uint8_t v_isShared_20832_; uint8_t v_isSharedCheck_20912_; -v_pos_20829_ = lean_ctor_get(v_subExpr_20820_, 1); -v_isSharedCheck_20912_ = !lean_is_exclusive(v_subExpr_20820_); +lean_object* v_pos_20689_; lean_object* v___x_20691_; uint8_t v_isShared_20692_; uint8_t v_isSharedCheck_20772_; +v_pos_20689_ = lean_ctor_get(v_subExpr_20680_, 1); +v_isSharedCheck_20772_ = !lean_is_exclusive(v_subExpr_20680_); +if (v_isSharedCheck_20772_ == 0) +{ +lean_object* v_unused_20773_; +v_unused_20773_ = lean_ctor_get(v_subExpr_20680_, 0); +lean_dec(v_unused_20773_); +v___x_20691_ = v_subExpr_20680_; +v_isShared_20692_ = v_isSharedCheck_20772_; +goto v_resetjp_20690_; +} +else +{ +lean_inc(v_pos_20689_); +lean_dec(v_subExpr_20680_); +v___x_20691_ = lean_box(0); +v_isShared_20692_ = v_isSharedCheck_20772_; +goto v_resetjp_20690_; +} +v_resetjp_20690_: +{ +lean_object* v___x_20693_; lean_object* v_fileName_20694_; lean_object* v_fileMap_20695_; lean_object* v_options_20696_; lean_object* v_currRecDepth_20697_; lean_object* v_ref_20698_; lean_object* v_currNamespace_20699_; lean_object* v_openDecls_20700_; lean_object* v_initHeartbeats_20701_; lean_object* v_maxHeartbeats_20702_; lean_object* v_quotContext_20703_; lean_object* v_currMacroScope_20704_; lean_object* v_cancelTk_x3f_20705_; uint8_t v_suppressElabErrors_20706_; lean_object* v_inheritedTraceOptions_20707_; lean_object* v___x_20709_; uint8_t v_isShared_20710_; uint8_t v_isSharedCheck_20770_; +v___x_20693_ = lean_st_ref_get(v___y_20678_); +v_fileName_20694_ = lean_ctor_get(v___y_20677_, 0); +v_fileMap_20695_ = lean_ctor_get(v___y_20677_, 1); +v_options_20696_ = lean_ctor_get(v___y_20677_, 2); +v_currRecDepth_20697_ = lean_ctor_get(v___y_20677_, 3); +v_ref_20698_ = lean_ctor_get(v___y_20677_, 5); +v_currNamespace_20699_ = lean_ctor_get(v___y_20677_, 6); +v_openDecls_20700_ = lean_ctor_get(v___y_20677_, 7); +v_initHeartbeats_20701_ = lean_ctor_get(v___y_20677_, 8); +v_maxHeartbeats_20702_ = lean_ctor_get(v___y_20677_, 9); +v_quotContext_20703_ = lean_ctor_get(v___y_20677_, 10); +v_currMacroScope_20704_ = lean_ctor_get(v___y_20677_, 11); +v_cancelTk_x3f_20705_ = lean_ctor_get(v___y_20677_, 12); +v_suppressElabErrors_20706_ = lean_ctor_get_uint8(v___y_20677_, sizeof(void*)*14 + 1); +v_inheritedTraceOptions_20707_ = lean_ctor_get(v___y_20677_, 13); +v_isSharedCheck_20770_ = !lean_is_exclusive(v___y_20677_); +if (v_isSharedCheck_20770_ == 0) +{ +lean_object* v_unused_20771_; +v_unused_20771_ = lean_ctor_get(v___y_20677_, 4); +lean_dec(v_unused_20771_); +v___x_20709_ = v___y_20677_; +v_isShared_20710_ = v_isSharedCheck_20770_; +goto v_resetjp_20708_; +} +else +{ +lean_inc(v_inheritedTraceOptions_20707_); +lean_inc(v_cancelTk_x3f_20705_); +lean_inc(v_currMacroScope_20704_); +lean_inc(v_quotContext_20703_); +lean_inc(v_maxHeartbeats_20702_); +lean_inc(v_initHeartbeats_20701_); +lean_inc(v_openDecls_20700_); +lean_inc(v_currNamespace_20699_); +lean_inc(v_ref_20698_); +lean_inc(v_currRecDepth_20697_); +lean_inc(v_options_20696_); +lean_inc(v_fileMap_20695_); +lean_inc(v_fileName_20694_); +lean_dec(v___y_20677_); +v___x_20709_ = lean_box(0); +v_isShared_20710_ = v_isSharedCheck_20770_; +goto v_resetjp_20708_; +} +v_resetjp_20708_: +{ +lean_object* v_env_20711_; lean_object* v___x_20712_; lean_object* v___x_20714_; +v_env_20711_ = lean_ctor_get(v___x_20693_, 0); +lean_inc_ref(v_env_20711_); +lean_dec(v___x_20693_); +v___x_20712_ = l_Lean_SubExpr_Pos_push(v_pos_20689_, v_childIdx_20672_); +lean_dec(v_pos_20689_); +if (v_isShared_20692_ == 0) +{ +lean_ctor_set(v___x_20691_, 1, v___x_20712_); +lean_ctor_set(v___x_20691_, 0, v_child_20671_); +v___x_20714_ = v___x_20691_; +goto v_reusejp_20713_; +} +else +{ +lean_object* v_reuseFailAlloc_20769_; +v_reuseFailAlloc_20769_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_20769_, 0, v_child_20671_); +lean_ctor_set(v_reuseFailAlloc_20769_, 1, v___x_20712_); +v___x_20714_ = v_reuseFailAlloc_20769_; +goto v_reusejp_20713_; +} +v_reusejp_20713_: +{ +lean_object* v___x_20716_; +if (v_isShared_20688_ == 0) +{ +lean_ctor_set(v___x_20687_, 3, v___x_20714_); +v___x_20716_ = v___x_20687_; +goto v_reusejp_20715_; +} +else +{ +lean_object* v_reuseFailAlloc_20768_; +v_reuseFailAlloc_20768_ = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(v_reuseFailAlloc_20768_, 0, v_optionsPerPos_20681_); +lean_ctor_set(v_reuseFailAlloc_20768_, 1, v_currNamespace_20682_); +lean_ctor_set(v_reuseFailAlloc_20768_, 2, v_openDecls_20683_); +lean_ctor_set(v_reuseFailAlloc_20768_, 3, v___x_20714_); +lean_ctor_set(v_reuseFailAlloc_20768_, 4, v_depth_20685_); +lean_ctor_set_uint8(v_reuseFailAlloc_20768_, sizeof(void*)*5, v_inPattern_20684_); +v___x_20716_ = v_reuseFailAlloc_20768_; +goto v_reusejp_20715_; +} +v_reusejp_20715_: +{ +lean_object* v___x_20717_; lean_object* v___x_20718_; lean_object* v___x_20719_; uint8_t v___x_20720_; lean_object* v___x_20721_; lean_object* v___x_20722_; uint8_t v___x_20723_; lean_object* v_fileName_20725_; lean_object* v_fileMap_20726_; lean_object* v_currRecDepth_20727_; lean_object* v_ref_20728_; lean_object* v_currNamespace_20729_; lean_object* v_openDecls_20730_; lean_object* v_initHeartbeats_20731_; lean_object* v_maxHeartbeats_20732_; lean_object* v_quotContext_20733_; lean_object* v_currMacroScope_20734_; lean_object* v_cancelTk_x3f_20735_; uint8_t v_suppressElabErrors_20736_; lean_object* v_inheritedTraceOptions_20737_; lean_object* v___y_20738_; uint8_t v___y_20746_; uint8_t v___x_20767_; +v___x_20717_ = l_Lean_pp_universes; +v___x_20718_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_options_20696_, v___x_20717_, v_universes_20670_); +v___x_20719_ = l_Lean_pp_fullNames; +v___x_20720_ = 1; +v___x_20721_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v___x_20718_, v___x_20719_, v___x_20720_); +v___x_20722_ = l_Lean_diagnostics; +v___x_20723_ = l_Lean_Option_get___at___00Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals_x3f___at___00Lean_PrettyPrinter_Delaborator_delabConst_spec__2_spec__2_spec__6_spec__11_spec__15_spec__20_spec__24(v___x_20721_, v___x_20722_); +v___x_20767_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_20711_); +lean_dec_ref(v_env_20711_); +if (v___x_20767_ == 0) +{ +if (v___x_20723_ == 0) +{ +v_fileName_20725_ = v_fileName_20694_; +v_fileMap_20726_ = v_fileMap_20695_; +v_currRecDepth_20727_ = v_currRecDepth_20697_; +v_ref_20728_ = v_ref_20698_; +v_currNamespace_20729_ = v_currNamespace_20699_; +v_openDecls_20730_ = v_openDecls_20700_; +v_initHeartbeats_20731_ = v_initHeartbeats_20701_; +v_maxHeartbeats_20732_ = v_maxHeartbeats_20702_; +v_quotContext_20733_ = v_quotContext_20703_; +v_currMacroScope_20734_ = v_currMacroScope_20704_; +v_cancelTk_x3f_20735_ = v_cancelTk_x3f_20705_; +v_suppressElabErrors_20736_ = v_suppressElabErrors_20706_; +v_inheritedTraceOptions_20737_ = v_inheritedTraceOptions_20707_; +v___y_20738_ = v___y_20678_; +goto v___jp_20724_; +} +else +{ +v___y_20746_ = v___x_20767_; +goto v___jp_20745_; +} +} +else +{ +v___y_20746_ = v___x_20723_; +goto v___jp_20745_; +} +v___jp_20724_: +{ +lean_object* v___x_20739_; lean_object* v___x_20740_; lean_object* v___x_20742_; +v___x_20739_ = l_Lean_maxRecDepth; +v___x_20740_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v___x_20721_, v___x_20739_); +if (v_isShared_20710_ == 0) +{ +lean_ctor_set(v___x_20709_, 13, v_inheritedTraceOptions_20737_); +lean_ctor_set(v___x_20709_, 12, v_cancelTk_x3f_20735_); +lean_ctor_set(v___x_20709_, 11, v_currMacroScope_20734_); +lean_ctor_set(v___x_20709_, 10, v_quotContext_20733_); +lean_ctor_set(v___x_20709_, 9, v_maxHeartbeats_20732_); +lean_ctor_set(v___x_20709_, 8, v_initHeartbeats_20731_); +lean_ctor_set(v___x_20709_, 7, v_openDecls_20730_); +lean_ctor_set(v___x_20709_, 6, v_currNamespace_20729_); +lean_ctor_set(v___x_20709_, 5, v_ref_20728_); +lean_ctor_set(v___x_20709_, 4, v___x_20740_); +lean_ctor_set(v___x_20709_, 3, v_currRecDepth_20727_); +lean_ctor_set(v___x_20709_, 2, v___x_20721_); +lean_ctor_set(v___x_20709_, 1, v_fileMap_20726_); +lean_ctor_set(v___x_20709_, 0, v_fileName_20725_); +v___x_20742_ = v___x_20709_; +goto v_reusejp_20741_; +} +else +{ +lean_object* v_reuseFailAlloc_20744_; +v_reuseFailAlloc_20744_ = lean_alloc_ctor(0, 14, 2); +lean_ctor_set(v_reuseFailAlloc_20744_, 0, v_fileName_20725_); +lean_ctor_set(v_reuseFailAlloc_20744_, 1, v_fileMap_20726_); +lean_ctor_set(v_reuseFailAlloc_20744_, 2, v___x_20721_); +lean_ctor_set(v_reuseFailAlloc_20744_, 3, v_currRecDepth_20727_); +lean_ctor_set(v_reuseFailAlloc_20744_, 4, v___x_20740_); +lean_ctor_set(v_reuseFailAlloc_20744_, 5, v_ref_20728_); +lean_ctor_set(v_reuseFailAlloc_20744_, 6, v_currNamespace_20729_); +lean_ctor_set(v_reuseFailAlloc_20744_, 7, v_openDecls_20730_); +lean_ctor_set(v_reuseFailAlloc_20744_, 8, v_initHeartbeats_20731_); +lean_ctor_set(v_reuseFailAlloc_20744_, 9, v_maxHeartbeats_20732_); +lean_ctor_set(v_reuseFailAlloc_20744_, 10, v_quotContext_20733_); +lean_ctor_set(v_reuseFailAlloc_20744_, 11, v_currMacroScope_20734_); +lean_ctor_set(v_reuseFailAlloc_20744_, 12, v_cancelTk_x3f_20735_); +lean_ctor_set(v_reuseFailAlloc_20744_, 13, v_inheritedTraceOptions_20737_); +v___x_20742_ = v_reuseFailAlloc_20744_; +goto v_reusejp_20741_; +} +v_reusejp_20741_: +{ +lean_object* v___x_20743_; +lean_ctor_set_uint8(v___x_20742_, sizeof(void*)*14, v___x_20723_); +lean_ctor_set_uint8(v___x_20742_, sizeof(void*)*14 + 1, v_suppressElabErrors_20736_); +v___x_20743_ = l_Lean_PrettyPrinter_Delaborator_delabConst(v___x_20716_, v___y_20674_, v___y_20675_, v___y_20676_, v___x_20742_, v___y_20738_); +return v___x_20743_; +} +} +v___jp_20745_: +{ +if (v___y_20746_ == 0) +{ +lean_object* v___x_20747_; lean_object* v_env_20748_; lean_object* v_nextMacroScope_20749_; lean_object* v_ngen_20750_; lean_object* v_auxDeclNGen_20751_; lean_object* v_traceState_20752_; lean_object* v_messages_20753_; lean_object* v_infoState_20754_; lean_object* v_snapshotTasks_20755_; lean_object* v___x_20757_; uint8_t v_isShared_20758_; uint8_t v_isSharedCheck_20765_; +v___x_20747_ = lean_st_ref_take(v___y_20678_); +v_env_20748_ = lean_ctor_get(v___x_20747_, 0); +v_nextMacroScope_20749_ = lean_ctor_get(v___x_20747_, 1); +v_ngen_20750_ = lean_ctor_get(v___x_20747_, 2); +v_auxDeclNGen_20751_ = lean_ctor_get(v___x_20747_, 3); +v_traceState_20752_ = lean_ctor_get(v___x_20747_, 4); +v_messages_20753_ = lean_ctor_get(v___x_20747_, 6); +v_infoState_20754_ = lean_ctor_get(v___x_20747_, 7); +v_snapshotTasks_20755_ = lean_ctor_get(v___x_20747_, 8); +v_isSharedCheck_20765_ = !lean_is_exclusive(v___x_20747_); +if (v_isSharedCheck_20765_ == 0) +{ +lean_object* v_unused_20766_; +v_unused_20766_ = lean_ctor_get(v___x_20747_, 5); +lean_dec(v_unused_20766_); +v___x_20757_ = v___x_20747_; +v_isShared_20758_ = v_isSharedCheck_20765_; +goto v_resetjp_20756_; +} +else +{ +lean_inc(v_snapshotTasks_20755_); +lean_inc(v_infoState_20754_); +lean_inc(v_messages_20753_); +lean_inc(v_traceState_20752_); +lean_inc(v_auxDeclNGen_20751_); +lean_inc(v_ngen_20750_); +lean_inc(v_nextMacroScope_20749_); +lean_inc(v_env_20748_); +lean_dec(v___x_20747_); +v___x_20757_ = lean_box(0); +v_isShared_20758_ = v_isSharedCheck_20765_; +goto v_resetjp_20756_; +} +v_resetjp_20756_: +{ +lean_object* v___x_20759_; lean_object* v___x_20760_; lean_object* v___x_20762_; +v___x_20759_ = l_Lean_Kernel_enableDiag(v_env_20748_, v___x_20723_); +v___x_20760_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2); +if (v_isShared_20758_ == 0) +{ +lean_ctor_set(v___x_20757_, 5, v___x_20760_); +lean_ctor_set(v___x_20757_, 0, v___x_20759_); +v___x_20762_ = v___x_20757_; +goto v_reusejp_20761_; +} +else +{ +lean_object* v_reuseFailAlloc_20764_; +v_reuseFailAlloc_20764_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_20764_, 0, v___x_20759_); +lean_ctor_set(v_reuseFailAlloc_20764_, 1, v_nextMacroScope_20749_); +lean_ctor_set(v_reuseFailAlloc_20764_, 2, v_ngen_20750_); +lean_ctor_set(v_reuseFailAlloc_20764_, 3, v_auxDeclNGen_20751_); +lean_ctor_set(v_reuseFailAlloc_20764_, 4, v_traceState_20752_); +lean_ctor_set(v_reuseFailAlloc_20764_, 5, v___x_20760_); +lean_ctor_set(v_reuseFailAlloc_20764_, 6, v_messages_20753_); +lean_ctor_set(v_reuseFailAlloc_20764_, 7, v_infoState_20754_); +lean_ctor_set(v_reuseFailAlloc_20764_, 8, v_snapshotTasks_20755_); +v___x_20762_ = v_reuseFailAlloc_20764_; +goto v_reusejp_20761_; +} +v_reusejp_20761_: +{ +lean_object* v___x_20763_; +v___x_20763_ = lean_st_ref_set(v___y_20678_, v___x_20762_); +v_fileName_20725_ = v_fileName_20694_; +v_fileMap_20726_ = v_fileMap_20695_; +v_currRecDepth_20727_ = v_currRecDepth_20697_; +v_ref_20728_ = v_ref_20698_; +v_currNamespace_20729_ = v_currNamespace_20699_; +v_openDecls_20730_ = v_openDecls_20700_; +v_initHeartbeats_20731_ = v_initHeartbeats_20701_; +v_maxHeartbeats_20732_ = v_maxHeartbeats_20702_; +v_quotContext_20733_ = v_quotContext_20703_; +v_currMacroScope_20734_ = v_currMacroScope_20704_; +v_cancelTk_x3f_20735_ = v_cancelTk_x3f_20705_; +v_suppressElabErrors_20736_ = v_suppressElabErrors_20706_; +v_inheritedTraceOptions_20737_ = v_inheritedTraceOptions_20707_; +v___y_20738_ = v___y_20678_; +goto v___jp_20724_; +} +} +} +else +{ +v_fileName_20725_ = v_fileName_20694_; +v_fileMap_20726_ = v_fileMap_20695_; +v_currRecDepth_20727_ = v_currRecDepth_20697_; +v_ref_20728_ = v_ref_20698_; +v_currNamespace_20729_ = v_currNamespace_20699_; +v_openDecls_20730_ = v_openDecls_20700_; +v_initHeartbeats_20731_ = v_initHeartbeats_20701_; +v_maxHeartbeats_20732_ = v_maxHeartbeats_20702_; +v_quotContext_20733_ = v_quotContext_20703_; +v_currMacroScope_20734_ = v_currMacroScope_20704_; +v_cancelTk_x3f_20735_ = v_cancelTk_x3f_20705_; +v_suppressElabErrors_20736_ = v_suppressElabErrors_20706_; +v_inheritedTraceOptions_20737_ = v_inheritedTraceOptions_20707_; +v___y_20738_ = v___y_20678_; +goto v___jp_20724_; +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0___boxed(lean_object* v_universes_20775_, lean_object* v_child_20776_, lean_object* v_childIdx_20777_, lean_object* v___y_20778_, lean_object* v___y_20779_, lean_object* v___y_20780_, lean_object* v___y_20781_, lean_object* v___y_20782_, lean_object* v___y_20783_, lean_object* v___y_20784_){ +_start: +{ +uint8_t v_universes_boxed_20785_; lean_object* v_res_20786_; +v_universes_boxed_20785_ = lean_unbox(v_universes_20775_); +v_res_20786_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(v_universes_boxed_20785_, v_child_20776_, v_childIdx_20777_, v___y_20778_, v___y_20779_, v___y_20780_, v___y_20781_, v___y_20782_, v___y_20783_); +return v_res_20786_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(lean_object* v_a_20800_, lean_object* v_groups_20801_, lean_object* v_type_20802_, lean_object* v___y_20803_, lean_object* v___y_20804_, lean_object* v___y_20805_, lean_object* v___y_20806_, lean_object* v___y_20807_, lean_object* v___y_20808_){ +_start: +{ +lean_object* v_ref_20810_; uint8_t v___x_20811_; lean_object* v___x_20812_; lean_object* v___x_20813_; lean_object* v___x_20814_; lean_object* v___x_20815_; lean_object* v___x_20816_; size_t v_sz_20817_; size_t v___x_20818_; lean_object* v___x_20819_; size_t v_sz_20820_; lean_object* v___x_20821_; lean_object* v___x_20822_; lean_object* v___x_20823_; lean_object* v___x_20824_; lean_object* v___x_20825_; lean_object* v___x_20826_; lean_object* v___x_20827_; lean_object* v___x_20828_; lean_object* v___x_20829_; lean_object* v___x_20830_; +v_ref_20810_ = lean_ctor_get(v___y_20807_, 5); +v___x_20811_ = 0; +v___x_20812_ = l_Lean_SourceInfo_fromRef(v_ref_20810_, v___x_20811_); +v___x_20813_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__1)); +v___x_20814_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__4)); +v___x_20815_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); +v___x_20816_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); +v_sz_20817_ = lean_array_size(v_groups_20801_); +v___x_20818_ = ((size_t)0ULL); +v___x_20819_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_20817_, v___x_20818_, v_groups_20801_); +v_sz_20820_ = lean_array_size(v___x_20819_); +v___x_20821_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_20820_, v___x_20818_, v___x_20819_); +v___x_20822_ = l_Array_append___redArg(v___x_20816_, v___x_20821_); +lean_dec_ref(v___x_20821_); +lean_inc(v___x_20812_); +v___x_20823_ = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(v___x_20823_, 0, v___x_20812_); +lean_ctor_set(v___x_20823_, 1, v___x_20815_); +lean_ctor_set(v___x_20823_, 2, v___x_20822_); +v___x_20824_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__14)); +v___x_20825_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); +lean_inc(v___x_20812_); +v___x_20826_ = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(v___x_20826_, 0, v___x_20812_); +lean_ctor_set(v___x_20826_, 1, v___x_20825_); +lean_inc(v___x_20812_); +v___x_20827_ = l_Lean_Syntax_node2(v___x_20812_, v___x_20824_, v___x_20826_, v_type_20802_); +lean_inc(v___x_20812_); +v___x_20828_ = l_Lean_Syntax_node2(v___x_20812_, v___x_20814_, v___x_20823_, v___x_20827_); +v___x_20829_ = l_Lean_Syntax_node2(v___x_20812_, v___x_20813_, v_a_20800_, v___x_20828_); +v___x_20830_ = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(v___x_20830_, 0, v___x_20829_); +return v___x_20830_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed(lean_object* v_a_20831_, lean_object* v_groups_20832_, lean_object* v_type_20833_, lean_object* v___y_20834_, lean_object* v___y_20835_, lean_object* v___y_20836_, lean_object* v___y_20837_, lean_object* v___y_20838_, lean_object* v___y_20839_, lean_object* v___y_20840_){ +_start: +{ +lean_object* v_res_20841_; +v_res_20841_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(v_a_20831_, v_groups_20832_, v_type_20833_, v___y_20834_, v___y_20835_, v___y_20836_, v___y_20837_, v___y_20838_, v___y_20839_); +lean_dec(v___y_20839_); +lean_dec_ref(v___y_20838_); +lean_dec(v___y_20837_); +lean_dec_ref(v___y_20836_); +lean_dec(v___y_20835_); +lean_dec_ref(v___y_20834_); +return v_res_20841_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(lean_object* v_a_20842_, lean_object* v_child_20843_, lean_object* v_childIdx_20844_, lean_object* v___y_20845_, lean_object* v___y_20846_, lean_object* v___y_20847_, lean_object* v___y_20848_, lean_object* v___y_20849_, lean_object* v___y_20850_){ +_start: +{ +lean_object* v_subExpr_20852_; lean_object* v_optionsPerPos_20853_; lean_object* v_currNamespace_20854_; lean_object* v_openDecls_20855_; uint8_t v_inPattern_20856_; lean_object* v_depth_20857_; lean_object* v___x_20859_; uint8_t v_isShared_20860_; uint8_t v_isSharedCheck_20876_; +v_subExpr_20852_ = lean_ctor_get(v___y_20845_, 3); +v_optionsPerPos_20853_ = lean_ctor_get(v___y_20845_, 0); +v_currNamespace_20854_ = lean_ctor_get(v___y_20845_, 1); +v_openDecls_20855_ = lean_ctor_get(v___y_20845_, 2); +v_inPattern_20856_ = lean_ctor_get_uint8(v___y_20845_, sizeof(void*)*5); +v_depth_20857_ = lean_ctor_get(v___y_20845_, 4); +v_isSharedCheck_20876_ = !lean_is_exclusive(v___y_20845_); +if (v_isSharedCheck_20876_ == 0) +{ +v___x_20859_ = v___y_20845_; +v_isShared_20860_ = v_isSharedCheck_20876_; +goto v_resetjp_20858_; +} +else +{ +lean_inc(v_depth_20857_); +lean_inc(v_subExpr_20852_); +lean_inc(v_openDecls_20855_); +lean_inc(v_currNamespace_20854_); +lean_inc(v_optionsPerPos_20853_); +lean_dec(v___y_20845_); +v___x_20859_ = lean_box(0); +v_isShared_20860_ = v_isSharedCheck_20876_; +goto v_resetjp_20858_; +} +v_resetjp_20858_: +{ +lean_object* v_pos_20861_; lean_object* v___x_20863_; uint8_t v_isShared_20864_; uint8_t v_isSharedCheck_20874_; +v_pos_20861_ = lean_ctor_get(v_subExpr_20852_, 1); +v_isSharedCheck_20874_ = !lean_is_exclusive(v_subExpr_20852_); +if (v_isSharedCheck_20874_ == 0) +{ +lean_object* v_unused_20875_; +v_unused_20875_ = lean_ctor_get(v_subExpr_20852_, 0); +lean_dec(v_unused_20875_); +v___x_20863_ = v_subExpr_20852_; +v_isShared_20864_ = v_isSharedCheck_20874_; +goto v_resetjp_20862_; +} +else +{ +lean_inc(v_pos_20861_); +lean_dec(v_subExpr_20852_); +v___x_20863_ = lean_box(0); +v_isShared_20864_ = v_isSharedCheck_20874_; +goto v_resetjp_20862_; +} +v_resetjp_20862_: +{ +lean_object* v___f_20865_; lean_object* v___x_20866_; lean_object* v___x_20868_; +v___f_20865_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed), 10, 1); +lean_closure_set(v___f_20865_, 0, v_a_20842_); +v___x_20866_ = l_Lean_SubExpr_Pos_push(v_pos_20861_, v_childIdx_20844_); +lean_dec(v_pos_20861_); +if (v_isShared_20864_ == 0) +{ +lean_ctor_set(v___x_20863_, 1, v___x_20866_); +lean_ctor_set(v___x_20863_, 0, v_child_20843_); +v___x_20868_ = v___x_20863_; +goto v_reusejp_20867_; +} +else +{ +lean_object* v_reuseFailAlloc_20873_; +v_reuseFailAlloc_20873_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v_reuseFailAlloc_20873_, 0, v_child_20843_); +lean_ctor_set(v_reuseFailAlloc_20873_, 1, v___x_20866_); +v___x_20868_ = v_reuseFailAlloc_20873_; +goto v_reusejp_20867_; +} +v_reusejp_20867_: +{ +lean_object* v___x_20870_; +if (v_isShared_20860_ == 0) +{ +lean_ctor_set(v___x_20859_, 3, v___x_20868_); +v___x_20870_ = v___x_20859_; +goto v_reusejp_20869_; +} +else +{ +lean_object* v_reuseFailAlloc_20872_; +v_reuseFailAlloc_20872_ = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(v_reuseFailAlloc_20872_, 0, v_optionsPerPos_20853_); +lean_ctor_set(v_reuseFailAlloc_20872_, 1, v_currNamespace_20854_); +lean_ctor_set(v_reuseFailAlloc_20872_, 2, v_openDecls_20855_); +lean_ctor_set(v_reuseFailAlloc_20872_, 3, v___x_20868_); +lean_ctor_set(v_reuseFailAlloc_20872_, 4, v_depth_20857_); +lean_ctor_set_uint8(v_reuseFailAlloc_20872_, sizeof(void*)*5, v_inPattern_20856_); +v___x_20870_ = v_reuseFailAlloc_20872_; +goto v_reusejp_20869_; +} +v_reusejp_20869_: +{ +lean_object* v___x_20871_; +v___x_20871_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v___f_20865_, v___x_20870_, v___y_20846_, v___y_20847_, v___y_20848_, v___y_20849_, v___y_20850_); +return v___x_20871_; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___boxed(lean_object* v_a_20877_, lean_object* v_child_20878_, lean_object* v_childIdx_20879_, lean_object* v___y_20880_, lean_object* v___y_20881_, lean_object* v___y_20882_, lean_object* v___y_20883_, lean_object* v___y_20884_, lean_object* v___y_20885_, lean_object* v___y_20886_){ +_start: +{ +lean_object* v_res_20887_; +v_res_20887_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(v_a_20877_, v_child_20878_, v_childIdx_20879_, v___y_20880_, v___y_20881_, v___y_20882_, v___y_20883_, v___y_20884_, v___y_20885_); +return v_res_20887_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature(uint8_t v_universes_20888_, lean_object* v_a_20889_, lean_object* v_a_20890_, lean_object* v_a_20891_, lean_object* v_a_20892_, lean_object* v_a_20893_, lean_object* v_a_20894_){ +_start: +{ +lean_object* v___x_20896_; lean_object* v_a_20897_; lean_object* v___x_20898_; lean_object* v___x_20899_; +v___x_20896_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_20889_); +v_a_20897_ = lean_ctor_get(v___x_20896_, 0); +lean_inc(v_a_20897_); +lean_dec_ref(v___x_20896_); +v___x_20898_ = lean_unsigned_to_nat(0u); +lean_inc(v_a_20894_); +lean_inc_ref(v_a_20893_); +lean_inc(v_a_20892_); +lean_inc_ref(v_a_20891_); +lean_inc(v_a_20890_); +lean_inc_ref(v_a_20889_); +lean_inc(v_a_20897_); +v___x_20899_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(v_universes_20888_, v_a_20897_, v___x_20898_, v_a_20889_, v_a_20890_, v_a_20891_, v_a_20892_, v_a_20893_, v_a_20894_); +if (lean_obj_tag(v___x_20899_) == 0) +{ +lean_object* v_a_20900_; lean_object* v___x_20901_; +v_a_20900_ = lean_ctor_get(v___x_20899_, 0); +lean_inc(v_a_20900_); +lean_dec_ref(v___x_20899_); +lean_inc(v_a_20894_); +lean_inc_ref(v_a_20893_); +lean_inc(v_a_20892_); +lean_inc_ref(v_a_20891_); +v___x_20901_ = lean_infer_type(v_a_20897_, v_a_20891_, v_a_20892_, v_a_20893_, v_a_20894_); +if (lean_obj_tag(v___x_20901_) == 0) +{ +lean_object* v_a_20902_; lean_object* v___x_20903_; lean_object* v___x_20904_; +v_a_20902_ = lean_ctor_get(v___x_20901_, 0); +lean_inc(v_a_20902_); +lean_dec_ref(v___x_20901_); +v___x_20903_ = lean_unsigned_to_nat(1u); +v___x_20904_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(v_a_20900_, v_a_20902_, v___x_20903_, v_a_20889_, v_a_20890_, v_a_20891_, v_a_20892_, v_a_20893_, v_a_20894_); +return v___x_20904_; +} +else +{ +lean_object* v_a_20905_; lean_object* v___x_20907_; uint8_t v_isShared_20908_; uint8_t v_isSharedCheck_20912_; +lean_dec(v_a_20900_); +lean_dec(v_a_20894_); +lean_dec_ref(v_a_20893_); +lean_dec(v_a_20892_); +lean_dec_ref(v_a_20891_); +lean_dec(v_a_20890_); +lean_dec_ref(v_a_20889_); +v_a_20905_ = lean_ctor_get(v___x_20901_, 0); +v_isSharedCheck_20912_ = !lean_is_exclusive(v___x_20901_); if (v_isSharedCheck_20912_ == 0) { -lean_object* v_unused_20913_; -v_unused_20913_ = lean_ctor_get(v_subExpr_20820_, 0); -lean_dec(v_unused_20913_); -v___x_20831_ = v_subExpr_20820_; -v_isShared_20832_ = v_isSharedCheck_20912_; -goto v_resetjp_20830_; +v___x_20907_ = v___x_20901_; +v_isShared_20908_ = v_isSharedCheck_20912_; +goto v_resetjp_20906_; } else { -lean_inc(v_pos_20829_); -lean_dec(v_subExpr_20820_); -v___x_20831_ = lean_box(0); -v_isShared_20832_ = v_isSharedCheck_20912_; -goto v_resetjp_20830_; +lean_inc(v_a_20905_); +lean_dec(v___x_20901_); +v___x_20907_ = lean_box(0); +v_isShared_20908_ = v_isSharedCheck_20912_; +goto v_resetjp_20906_; } -v_resetjp_20830_: +v_resetjp_20906_: { -lean_object* v___x_20833_; lean_object* v_fileName_20834_; lean_object* v_fileMap_20835_; lean_object* v_options_20836_; lean_object* v_currRecDepth_20837_; lean_object* v_ref_20838_; lean_object* v_currNamespace_20839_; lean_object* v_openDecls_20840_; lean_object* v_initHeartbeats_20841_; lean_object* v_maxHeartbeats_20842_; lean_object* v_quotContext_20843_; lean_object* v_currMacroScope_20844_; lean_object* v_cancelTk_x3f_20845_; uint8_t v_suppressElabErrors_20846_; lean_object* v_inheritedTraceOptions_20847_; lean_object* v___x_20849_; uint8_t v_isShared_20850_; uint8_t v_isSharedCheck_20910_; -v___x_20833_ = lean_st_ref_get(v___y_20818_); -v_fileName_20834_ = lean_ctor_get(v___y_20817_, 0); -v_fileMap_20835_ = lean_ctor_get(v___y_20817_, 1); -v_options_20836_ = lean_ctor_get(v___y_20817_, 2); -v_currRecDepth_20837_ = lean_ctor_get(v___y_20817_, 3); -v_ref_20838_ = lean_ctor_get(v___y_20817_, 5); -v_currNamespace_20839_ = lean_ctor_get(v___y_20817_, 6); -v_openDecls_20840_ = lean_ctor_get(v___y_20817_, 7); -v_initHeartbeats_20841_ = lean_ctor_get(v___y_20817_, 8); -v_maxHeartbeats_20842_ = lean_ctor_get(v___y_20817_, 9); -v_quotContext_20843_ = lean_ctor_get(v___y_20817_, 10); -v_currMacroScope_20844_ = lean_ctor_get(v___y_20817_, 11); -v_cancelTk_x3f_20845_ = lean_ctor_get(v___y_20817_, 12); -v_suppressElabErrors_20846_ = lean_ctor_get_uint8(v___y_20817_, sizeof(void*)*14 + 1); -v_inheritedTraceOptions_20847_ = lean_ctor_get(v___y_20817_, 13); -v_isSharedCheck_20910_ = !lean_is_exclusive(v___y_20817_); -if (v_isSharedCheck_20910_ == 0) +lean_object* v___x_20910_; +if (v_isShared_20908_ == 0) { -lean_object* v_unused_20911_; -v_unused_20911_ = lean_ctor_get(v___y_20817_, 4); -lean_dec(v_unused_20911_); -v___x_20849_ = v___y_20817_; -v_isShared_20850_ = v_isSharedCheck_20910_; -goto v_resetjp_20848_; +v___x_20910_ = v___x_20907_; +goto v_reusejp_20909_; } else { -lean_inc(v_inheritedTraceOptions_20847_); -lean_inc(v_cancelTk_x3f_20845_); -lean_inc(v_currMacroScope_20844_); -lean_inc(v_quotContext_20843_); -lean_inc(v_maxHeartbeats_20842_); -lean_inc(v_initHeartbeats_20841_); -lean_inc(v_openDecls_20840_); -lean_inc(v_currNamespace_20839_); -lean_inc(v_ref_20838_); -lean_inc(v_currRecDepth_20837_); -lean_inc(v_options_20836_); -lean_inc(v_fileMap_20835_); -lean_inc(v_fileName_20834_); -lean_dec(v___y_20817_); -v___x_20849_ = lean_box(0); -v_isShared_20850_ = v_isSharedCheck_20910_; -goto v_resetjp_20848_; +lean_object* v_reuseFailAlloc_20911_; +v_reuseFailAlloc_20911_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_20911_, 0, v_a_20905_); +v___x_20910_ = v_reuseFailAlloc_20911_; +goto v_reusejp_20909_; } -v_resetjp_20848_: +v_reusejp_20909_: { -lean_object* v_env_20851_; lean_object* v___x_20852_; lean_object* v___x_20854_; -v_env_20851_ = lean_ctor_get(v___x_20833_, 0); -lean_inc_ref(v_env_20851_); -lean_dec(v___x_20833_); -v___x_20852_ = l_Lean_SubExpr_Pos_push(v_pos_20829_, v_childIdx_20812_); -lean_dec(v_pos_20829_); -if (v_isShared_20832_ == 0) -{ -lean_ctor_set(v___x_20831_, 1, v___x_20852_); -lean_ctor_set(v___x_20831_, 0, v_child_20811_); -v___x_20854_ = v___x_20831_; -goto v_reusejp_20853_; +return v___x_20910_; } -else -{ -lean_object* v_reuseFailAlloc_20909_; -v_reuseFailAlloc_20909_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_20909_, 0, v_child_20811_); -lean_ctor_set(v_reuseFailAlloc_20909_, 1, v___x_20852_); -v___x_20854_ = v_reuseFailAlloc_20909_; -goto v_reusejp_20853_; -} -v_reusejp_20853_: -{ -lean_object* v___x_20856_; -if (v_isShared_20828_ == 0) -{ -lean_ctor_set(v___x_20827_, 3, v___x_20854_); -v___x_20856_ = v___x_20827_; -goto v_reusejp_20855_; -} -else -{ -lean_object* v_reuseFailAlloc_20908_; -v_reuseFailAlloc_20908_ = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(v_reuseFailAlloc_20908_, 0, v_optionsPerPos_20821_); -lean_ctor_set(v_reuseFailAlloc_20908_, 1, v_currNamespace_20822_); -lean_ctor_set(v_reuseFailAlloc_20908_, 2, v_openDecls_20823_); -lean_ctor_set(v_reuseFailAlloc_20908_, 3, v___x_20854_); -lean_ctor_set(v_reuseFailAlloc_20908_, 4, v_depth_20825_); -lean_ctor_set_uint8(v_reuseFailAlloc_20908_, sizeof(void*)*5, v_inPattern_20824_); -v___x_20856_ = v_reuseFailAlloc_20908_; -goto v_reusejp_20855_; -} -v_reusejp_20855_: -{ -lean_object* v___x_20857_; lean_object* v___x_20858_; lean_object* v___x_20859_; uint8_t v___x_20860_; lean_object* v___x_20861_; lean_object* v___x_20862_; uint8_t v___x_20863_; lean_object* v_fileName_20865_; lean_object* v_fileMap_20866_; lean_object* v_currRecDepth_20867_; lean_object* v_ref_20868_; lean_object* v_currNamespace_20869_; lean_object* v_openDecls_20870_; lean_object* v_initHeartbeats_20871_; lean_object* v_maxHeartbeats_20872_; lean_object* v_quotContext_20873_; lean_object* v_currMacroScope_20874_; lean_object* v_cancelTk_x3f_20875_; uint8_t v_suppressElabErrors_20876_; lean_object* v_inheritedTraceOptions_20877_; lean_object* v___y_20878_; uint8_t v___y_20886_; uint8_t v___x_20907_; -v___x_20857_ = l_Lean_pp_universes; -v___x_20858_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v_options_20836_, v___x_20857_, v_universes_20810_); -v___x_20859_ = l_Lean_pp_fullNames; -v___x_20860_ = 1; -v___x_20861_ = l_Lean_Option_set___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__0(v___x_20858_, v___x_20859_, v___x_20860_); -v___x_20862_ = l_Lean_diagnostics; -v___x_20863_ = l_Lean_Option_get___at___00Lean_Option_getM___at___00Lean_checkPrivateInPublic___at___00Lean_resolveGlobalName___at___00__private_Lean_ResolveName_0__Lean_resolveLocalName_loop___at___00Lean_resolveLocalName___at___00Lean_unresolveNameGlobalAvoidingLocals_x3f___at___00Lean_PrettyPrinter_Delaborator_delabConst_spec__2_spec__2_spec__6_spec__11_spec__15_spec__20_spec__24(v___x_20861_, v___x_20862_); -v___x_20907_ = l_Lean_Kernel_isDiagnosticsEnabled(v_env_20851_); -lean_dec_ref(v_env_20851_); -if (v___x_20907_ == 0) -{ -if (v___x_20863_ == 0) -{ -v_fileName_20865_ = v_fileName_20834_; -v_fileMap_20866_ = v_fileMap_20835_; -v_currRecDepth_20867_ = v_currRecDepth_20837_; -v_ref_20868_ = v_ref_20838_; -v_currNamespace_20869_ = v_currNamespace_20839_; -v_openDecls_20870_ = v_openDecls_20840_; -v_initHeartbeats_20871_ = v_initHeartbeats_20841_; -v_maxHeartbeats_20872_ = v_maxHeartbeats_20842_; -v_quotContext_20873_ = v_quotContext_20843_; -v_currMacroScope_20874_ = v_currMacroScope_20844_; -v_cancelTk_x3f_20875_ = v_cancelTk_x3f_20845_; -v_suppressElabErrors_20876_ = v_suppressElabErrors_20846_; -v_inheritedTraceOptions_20877_ = v_inheritedTraceOptions_20847_; -v___y_20878_ = v___y_20818_; -goto v___jp_20864_; -} -else -{ -v___y_20886_ = v___x_20907_; -goto v___jp_20885_; -} -} -else -{ -v___y_20886_ = v___x_20863_; -goto v___jp_20885_; -} -v___jp_20864_: -{ -lean_object* v___x_20879_; lean_object* v___x_20880_; lean_object* v___x_20882_; -v___x_20879_ = l_Lean_maxRecDepth; -v___x_20880_ = l_Lean_Option_get___at___00__private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy_spec__1(v___x_20861_, v___x_20879_); -if (v_isShared_20850_ == 0) -{ -lean_ctor_set(v___x_20849_, 13, v_inheritedTraceOptions_20877_); -lean_ctor_set(v___x_20849_, 12, v_cancelTk_x3f_20875_); -lean_ctor_set(v___x_20849_, 11, v_currMacroScope_20874_); -lean_ctor_set(v___x_20849_, 10, v_quotContext_20873_); -lean_ctor_set(v___x_20849_, 9, v_maxHeartbeats_20872_); -lean_ctor_set(v___x_20849_, 8, v_initHeartbeats_20871_); -lean_ctor_set(v___x_20849_, 7, v_openDecls_20870_); -lean_ctor_set(v___x_20849_, 6, v_currNamespace_20869_); -lean_ctor_set(v___x_20849_, 5, v_ref_20868_); -lean_ctor_set(v___x_20849_, 4, v___x_20880_); -lean_ctor_set(v___x_20849_, 3, v_currRecDepth_20867_); -lean_ctor_set(v___x_20849_, 2, v___x_20861_); -lean_ctor_set(v___x_20849_, 1, v_fileMap_20866_); -lean_ctor_set(v___x_20849_, 0, v_fileName_20865_); -v___x_20882_ = v___x_20849_; -goto v_reusejp_20881_; -} -else -{ -lean_object* v_reuseFailAlloc_20884_; -v_reuseFailAlloc_20884_ = lean_alloc_ctor(0, 14, 2); -lean_ctor_set(v_reuseFailAlloc_20884_, 0, v_fileName_20865_); -lean_ctor_set(v_reuseFailAlloc_20884_, 1, v_fileMap_20866_); -lean_ctor_set(v_reuseFailAlloc_20884_, 2, v___x_20861_); -lean_ctor_set(v_reuseFailAlloc_20884_, 3, v_currRecDepth_20867_); -lean_ctor_set(v_reuseFailAlloc_20884_, 4, v___x_20880_); -lean_ctor_set(v_reuseFailAlloc_20884_, 5, v_ref_20868_); -lean_ctor_set(v_reuseFailAlloc_20884_, 6, v_currNamespace_20869_); -lean_ctor_set(v_reuseFailAlloc_20884_, 7, v_openDecls_20870_); -lean_ctor_set(v_reuseFailAlloc_20884_, 8, v_initHeartbeats_20871_); -lean_ctor_set(v_reuseFailAlloc_20884_, 9, v_maxHeartbeats_20872_); -lean_ctor_set(v_reuseFailAlloc_20884_, 10, v_quotContext_20873_); -lean_ctor_set(v_reuseFailAlloc_20884_, 11, v_currMacroScope_20874_); -lean_ctor_set(v_reuseFailAlloc_20884_, 12, v_cancelTk_x3f_20875_); -lean_ctor_set(v_reuseFailAlloc_20884_, 13, v_inheritedTraceOptions_20877_); -v___x_20882_ = v_reuseFailAlloc_20884_; -goto v_reusejp_20881_; -} -v_reusejp_20881_: -{ -lean_object* v___x_20883_; -lean_ctor_set_uint8(v___x_20882_, sizeof(void*)*14, v___x_20863_); -lean_ctor_set_uint8(v___x_20882_, sizeof(void*)*14 + 1, v_suppressElabErrors_20876_); -v___x_20883_ = l_Lean_PrettyPrinter_Delaborator_delabConst(v___x_20856_, v___y_20814_, v___y_20815_, v___y_20816_, v___x_20882_, v___y_20878_); -return v___x_20883_; -} -} -v___jp_20885_: -{ -if (v___y_20886_ == 0) -{ -lean_object* v___x_20887_; lean_object* v_env_20888_; lean_object* v_nextMacroScope_20889_; lean_object* v_ngen_20890_; lean_object* v_auxDeclNGen_20891_; lean_object* v_traceState_20892_; lean_object* v_messages_20893_; lean_object* v_infoState_20894_; lean_object* v_snapshotTasks_20895_; lean_object* v___x_20897_; uint8_t v_isShared_20898_; uint8_t v_isSharedCheck_20905_; -v___x_20887_ = lean_st_ref_take(v___y_20818_); -v_env_20888_ = lean_ctor_get(v___x_20887_, 0); -v_nextMacroScope_20889_ = lean_ctor_get(v___x_20887_, 1); -v_ngen_20890_ = lean_ctor_get(v___x_20887_, 2); -v_auxDeclNGen_20891_ = lean_ctor_get(v___x_20887_, 3); -v_traceState_20892_ = lean_ctor_get(v___x_20887_, 4); -v_messages_20893_ = lean_ctor_get(v___x_20887_, 6); -v_infoState_20894_ = lean_ctor_get(v___x_20887_, 7); -v_snapshotTasks_20895_ = lean_ctor_get(v___x_20887_, 8); -v_isSharedCheck_20905_ = !lean_is_exclusive(v___x_20887_); -if (v_isSharedCheck_20905_ == 0) -{ -lean_object* v_unused_20906_; -v_unused_20906_ = lean_ctor_get(v___x_20887_, 5); -lean_dec(v_unused_20906_); -v___x_20897_ = v___x_20887_; -v_isShared_20898_ = v_isSharedCheck_20905_; -goto v_resetjp_20896_; -} -else -{ -lean_inc(v_snapshotTasks_20895_); -lean_inc(v_infoState_20894_); -lean_inc(v_messages_20893_); -lean_inc(v_traceState_20892_); -lean_inc(v_auxDeclNGen_20891_); -lean_inc(v_ngen_20890_); -lean_inc(v_nextMacroScope_20889_); -lean_inc(v_env_20888_); -lean_dec(v___x_20887_); -v___x_20897_ = lean_box(0); -v_isShared_20898_ = v_isSharedCheck_20905_; -goto v_resetjp_20896_; -} -v_resetjp_20896_: -{ -lean_object* v___x_20899_; lean_object* v___x_20900_; lean_object* v___x_20902_; -v___x_20899_ = l_Lean_Kernel_enableDiag(v_env_20888_, v___x_20863_); -v___x_20900_ = lean_obj_once(&l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2, &l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2_once, _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature_delabTy___closed__2); -if (v_isShared_20898_ == 0) -{ -lean_ctor_set(v___x_20897_, 5, v___x_20900_); -lean_ctor_set(v___x_20897_, 0, v___x_20899_); -v___x_20902_ = v___x_20897_; -goto v_reusejp_20901_; -} -else -{ -lean_object* v_reuseFailAlloc_20904_; -v_reuseFailAlloc_20904_ = lean_alloc_ctor(0, 9, 0); -lean_ctor_set(v_reuseFailAlloc_20904_, 0, v___x_20899_); -lean_ctor_set(v_reuseFailAlloc_20904_, 1, v_nextMacroScope_20889_); -lean_ctor_set(v_reuseFailAlloc_20904_, 2, v_ngen_20890_); -lean_ctor_set(v_reuseFailAlloc_20904_, 3, v_auxDeclNGen_20891_); -lean_ctor_set(v_reuseFailAlloc_20904_, 4, v_traceState_20892_); -lean_ctor_set(v_reuseFailAlloc_20904_, 5, v___x_20900_); -lean_ctor_set(v_reuseFailAlloc_20904_, 6, v_messages_20893_); -lean_ctor_set(v_reuseFailAlloc_20904_, 7, v_infoState_20894_); -lean_ctor_set(v_reuseFailAlloc_20904_, 8, v_snapshotTasks_20895_); -v___x_20902_ = v_reuseFailAlloc_20904_; -goto v_reusejp_20901_; -} -v_reusejp_20901_: -{ -lean_object* v___x_20903_; -v___x_20903_ = lean_st_ref_set(v___y_20818_, v___x_20902_); -v_fileName_20865_ = v_fileName_20834_; -v_fileMap_20866_ = v_fileMap_20835_; -v_currRecDepth_20867_ = v_currRecDepth_20837_; -v_ref_20868_ = v_ref_20838_; -v_currNamespace_20869_ = v_currNamespace_20839_; -v_openDecls_20870_ = v_openDecls_20840_; -v_initHeartbeats_20871_ = v_initHeartbeats_20841_; -v_maxHeartbeats_20872_ = v_maxHeartbeats_20842_; -v_quotContext_20873_ = v_quotContext_20843_; -v_currMacroScope_20874_ = v_currMacroScope_20844_; -v_cancelTk_x3f_20875_ = v_cancelTk_x3f_20845_; -v_suppressElabErrors_20876_ = v_suppressElabErrors_20846_; -v_inheritedTraceOptions_20877_ = v_inheritedTraceOptions_20847_; -v___y_20878_ = v___y_20818_; -goto v___jp_20864_; } } } else { -v_fileName_20865_ = v_fileName_20834_; -v_fileMap_20866_ = v_fileMap_20835_; -v_currRecDepth_20867_ = v_currRecDepth_20837_; -v_ref_20868_ = v_ref_20838_; -v_currNamespace_20869_ = v_currNamespace_20839_; -v_openDecls_20870_ = v_openDecls_20840_; -v_initHeartbeats_20871_ = v_initHeartbeats_20841_; -v_maxHeartbeats_20872_ = v_maxHeartbeats_20842_; -v_quotContext_20873_ = v_quotContext_20843_; -v_currMacroScope_20874_ = v_currMacroScope_20844_; -v_cancelTk_x3f_20875_ = v_cancelTk_x3f_20845_; -v_suppressElabErrors_20876_ = v_suppressElabErrors_20846_; -v_inheritedTraceOptions_20877_ = v_inheritedTraceOptions_20847_; -v___y_20878_ = v___y_20818_; -goto v___jp_20864_; +lean_dec(v_a_20897_); +lean_dec(v_a_20894_); +lean_dec_ref(v_a_20893_); +lean_dec(v_a_20892_); +lean_dec_ref(v_a_20891_); +lean_dec(v_a_20890_); +lean_dec_ref(v_a_20889_); +return v___x_20899_; } } } -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0___boxed(lean_object* v_universes_20915_, lean_object* v_child_20916_, lean_object* v_childIdx_20917_, lean_object* v___y_20918_, lean_object* v___y_20919_, lean_object* v___y_20920_, lean_object* v___y_20921_, lean_object* v___y_20922_, lean_object* v___y_20923_, lean_object* v___y_20924_){ +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature___boxed(lean_object* v_universes_20913_, lean_object* v_a_20914_, lean_object* v_a_20915_, lean_object* v_a_20916_, lean_object* v_a_20917_, lean_object* v_a_20918_, lean_object* v_a_20919_, lean_object* v_a_20920_){ _start: { -uint8_t v_universes_boxed_20925_; lean_object* v_res_20926_; -v_universes_boxed_20925_ = lean_unbox(v_universes_20915_); -v_res_20926_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(v_universes_boxed_20925_, v_child_20916_, v_childIdx_20917_, v___y_20918_, v___y_20919_, v___y_20920_, v___y_20921_, v___y_20922_, v___y_20923_); -return v_res_20926_; -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(lean_object* v___x_20934_, lean_object* v_a_20935_, lean_object* v_groups_20936_, lean_object* v_type_20937_, lean_object* v___y_20938_, lean_object* v___y_20939_, lean_object* v___y_20940_, lean_object* v___y_20941_, lean_object* v___y_20942_, lean_object* v___y_20943_){ -_start: -{ -lean_object* v_ref_20945_; uint8_t v___x_20946_; lean_object* v___x_20947_; lean_object* v___x_20948_; lean_object* v___x_20949_; lean_object* v___x_20950_; lean_object* v___x_20951_; lean_object* v___x_20952_; lean_object* v___x_20953_; lean_object* v___x_20954_; lean_object* v___x_20955_; lean_object* v___x_20956_; lean_object* v___x_20957_; lean_object* v___x_20958_; lean_object* v___x_20959_; lean_object* v___x_20960_; size_t v_sz_20961_; size_t v___x_20962_; lean_object* v___x_20963_; size_t v_sz_20964_; lean_object* v___x_20965_; lean_object* v___x_20966_; lean_object* v___x_20967_; lean_object* v___x_20968_; lean_object* v___x_20969_; lean_object* v___x_20970_; lean_object* v___x_20971_; lean_object* v___x_20972_; lean_object* v___x_20973_; lean_object* v___x_20974_; -v_ref_20945_ = lean_ctor_get(v___y_20942_, 5); -v___x_20946_ = 0; -v___x_20947_ = l_Lean_SourceInfo_fromRef(v_ref_20945_, v___x_20946_); -v___x_20948_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__1)); -v___x_20949_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__13)); -v___x_20950_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__14)); -v___x_20951_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6)); -v___x_20952_ = l_Lean_Name_num___override(v___x_20951_, v___x_20934_); -v___x_20953_ = l_Lean_Name_str___override(v___x_20952_, v___x_20948_); -v___x_20954_ = l_Lean_Name_str___override(v___x_20953_, v___x_20949_); -v___x_20955_ = l_Lean_Name_str___override(v___x_20954_, v___x_20950_); -v___x_20956_ = ((lean_object*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__11)); -v___x_20957_ = l_Lean_Name_str___override(v___x_20955_, v___x_20956_); -v___x_20958_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___closed__2)); -v___x_20959_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__36)); -v___x_20960_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10, &l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10_once, _init_l_Lean_PrettyPrinter_Delaborator_delabSort___closed__10); -v_sz_20961_ = lean_array_size(v_groups_20936_); -v___x_20962_ = ((size_t)0ULL); -v___x_20963_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__1(v_sz_20961_, v___x_20962_, v_groups_20936_); -v_sz_20964_ = lean_array_size(v___x_20963_); -v___x_20965_ = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_PrettyPrinter_Delaborator_delabForallWithSignature_spec__2(v_sz_20964_, v___x_20962_, v___x_20963_); -v___x_20966_ = l_Array_append___redArg(v___x_20960_, v___x_20965_); -lean_dec_ref(v___x_20965_); -lean_inc(v___x_20947_); -v___x_20967_ = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(v___x_20967_, 0, v___x_20947_); -lean_ctor_set(v___x_20967_, 1, v___x_20959_); -lean_ctor_set(v___x_20967_, 2, v___x_20966_); -v___x_20968_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_delabLetE___closed__14)); -v___x_20969_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_withTypeAscription___closed__34)); -lean_inc(v___x_20947_); -v___x_20970_ = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(v___x_20970_, 0, v___x_20947_); -lean_ctor_set(v___x_20970_, 1, v___x_20969_); -lean_inc(v___x_20947_); -v___x_20971_ = l_Lean_Syntax_node2(v___x_20947_, v___x_20968_, v___x_20970_, v_type_20937_); -lean_inc(v___x_20947_); -v___x_20972_ = l_Lean_Syntax_node2(v___x_20947_, v___x_20958_, v___x_20967_, v___x_20971_); -v___x_20973_ = l_Lean_Syntax_node2(v___x_20947_, v___x_20957_, v_a_20935_, v___x_20972_); -v___x_20974_ = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(v___x_20974_, 0, v___x_20973_); -return v___x_20974_; -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed(lean_object* v___x_20975_, lean_object* v_a_20976_, lean_object* v_groups_20977_, lean_object* v_type_20978_, lean_object* v___y_20979_, lean_object* v___y_20980_, lean_object* v___y_20981_, lean_object* v___y_20982_, lean_object* v___y_20983_, lean_object* v___y_20984_, lean_object* v___y_20985_){ -_start: -{ -lean_object* v_res_20986_; -v_res_20986_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0(v___x_20975_, v_a_20976_, v_groups_20977_, v_type_20978_, v___y_20979_, v___y_20980_, v___y_20981_, v___y_20982_, v___y_20983_, v___y_20984_); -lean_dec(v___y_20984_); -lean_dec_ref(v___y_20983_); -lean_dec(v___y_20982_); -lean_dec_ref(v___y_20981_); -lean_dec(v___y_20980_); -lean_dec_ref(v___y_20979_); -return v_res_20986_; -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(lean_object* v_a_20987_, lean_object* v_child_20988_, lean_object* v_childIdx_20989_, lean_object* v___y_20990_, lean_object* v___y_20991_, lean_object* v___y_20992_, lean_object* v___y_20993_, lean_object* v___y_20994_, lean_object* v___y_20995_){ -_start: -{ -lean_object* v_subExpr_20997_; lean_object* v_optionsPerPos_20998_; lean_object* v_currNamespace_20999_; lean_object* v_openDecls_21000_; uint8_t v_inPattern_21001_; lean_object* v_depth_21002_; lean_object* v___x_21004_; uint8_t v_isShared_21005_; uint8_t v_isSharedCheck_21022_; -v_subExpr_20997_ = lean_ctor_get(v___y_20990_, 3); -v_optionsPerPos_20998_ = lean_ctor_get(v___y_20990_, 0); -v_currNamespace_20999_ = lean_ctor_get(v___y_20990_, 1); -v_openDecls_21000_ = lean_ctor_get(v___y_20990_, 2); -v_inPattern_21001_ = lean_ctor_get_uint8(v___y_20990_, sizeof(void*)*5); -v_depth_21002_ = lean_ctor_get(v___y_20990_, 4); -v_isSharedCheck_21022_ = !lean_is_exclusive(v___y_20990_); -if (v_isSharedCheck_21022_ == 0) -{ -v___x_21004_ = v___y_20990_; -v_isShared_21005_ = v_isSharedCheck_21022_; -goto v_resetjp_21003_; -} -else -{ -lean_inc(v_depth_21002_); -lean_inc(v_subExpr_20997_); -lean_inc(v_openDecls_21000_); -lean_inc(v_currNamespace_20999_); -lean_inc(v_optionsPerPos_20998_); -lean_dec(v___y_20990_); -v___x_21004_ = lean_box(0); -v_isShared_21005_ = v_isSharedCheck_21022_; -goto v_resetjp_21003_; -} -v_resetjp_21003_: -{ -lean_object* v_pos_21006_; lean_object* v___x_21008_; uint8_t v_isShared_21009_; uint8_t v_isSharedCheck_21020_; -v_pos_21006_ = lean_ctor_get(v_subExpr_20997_, 1); -v_isSharedCheck_21020_ = !lean_is_exclusive(v_subExpr_20997_); -if (v_isSharedCheck_21020_ == 0) -{ -lean_object* v_unused_21021_; -v_unused_21021_ = lean_ctor_get(v_subExpr_20997_, 0); -lean_dec(v_unused_21021_); -v___x_21008_ = v_subExpr_20997_; -v_isShared_21009_ = v_isSharedCheck_21020_; -goto v_resetjp_21007_; -} -else -{ -lean_inc(v_pos_21006_); -lean_dec(v_subExpr_20997_); -v___x_21008_ = lean_box(0); -v_isShared_21009_ = v_isSharedCheck_21020_; -goto v_resetjp_21007_; -} -v_resetjp_21007_: -{ -lean_object* v___x_21010_; lean_object* v___f_21011_; lean_object* v___x_21012_; lean_object* v___x_21014_; -v___x_21010_ = lean_unsigned_to_nat(0u); -v___f_21011_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___lam__0___boxed), 11, 2); -lean_closure_set(v___f_21011_, 0, v___x_21010_); -lean_closure_set(v___f_21011_, 1, v_a_20987_); -v___x_21012_ = l_Lean_SubExpr_Pos_push(v_pos_21006_, v_childIdx_20989_); -lean_dec(v_pos_21006_); -if (v_isShared_21009_ == 0) -{ -lean_ctor_set(v___x_21008_, 1, v___x_21012_); -lean_ctor_set(v___x_21008_, 0, v_child_20988_); -v___x_21014_ = v___x_21008_; -goto v_reusejp_21013_; -} -else -{ -lean_object* v_reuseFailAlloc_21019_; -v_reuseFailAlloc_21019_ = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(v_reuseFailAlloc_21019_, 0, v_child_20988_); -lean_ctor_set(v_reuseFailAlloc_21019_, 1, v___x_21012_); -v___x_21014_ = v_reuseFailAlloc_21019_; -goto v_reusejp_21013_; -} -v_reusejp_21013_: -{ -lean_object* v___x_21016_; -if (v_isShared_21005_ == 0) -{ -lean_ctor_set(v___x_21004_, 3, v___x_21014_); -v___x_21016_ = v___x_21004_; -goto v_reusejp_21015_; -} -else -{ -lean_object* v_reuseFailAlloc_21018_; -v_reuseFailAlloc_21018_ = lean_alloc_ctor(0, 5, 1); -lean_ctor_set(v_reuseFailAlloc_21018_, 0, v_optionsPerPos_20998_); -lean_ctor_set(v_reuseFailAlloc_21018_, 1, v_currNamespace_20999_); -lean_ctor_set(v_reuseFailAlloc_21018_, 2, v_openDecls_21000_); -lean_ctor_set(v_reuseFailAlloc_21018_, 3, v___x_21014_); -lean_ctor_set(v_reuseFailAlloc_21018_, 4, v_depth_21002_); -lean_ctor_set_uint8(v_reuseFailAlloc_21018_, sizeof(void*)*5, v_inPattern_21001_); -v___x_21016_ = v_reuseFailAlloc_21018_; -goto v_reusejp_21015_; -} -v_reusejp_21015_: -{ -lean_object* v___x_21017_; -v___x_21017_ = l_Lean_PrettyPrinter_Delaborator_delabForallParamsWithSignature___redArg(v___f_21011_, v___x_21016_, v___y_20991_, v___y_20992_, v___y_20993_, v___y_20994_, v___y_20995_); -return v___x_21017_; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1___boxed(lean_object* v_a_21023_, lean_object* v_child_21024_, lean_object* v_childIdx_21025_, lean_object* v___y_21026_, lean_object* v___y_21027_, lean_object* v___y_21028_, lean_object* v___y_21029_, lean_object* v___y_21030_, lean_object* v___y_21031_, lean_object* v___y_21032_){ -_start: -{ -lean_object* v_res_21033_; -v_res_21033_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(v_a_21023_, v_child_21024_, v_childIdx_21025_, v___y_21026_, v___y_21027_, v___y_21028_, v___y_21029_, v___y_21030_, v___y_21031_); -return v_res_21033_; -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature(uint8_t v_universes_21034_, lean_object* v_a_21035_, lean_object* v_a_21036_, lean_object* v_a_21037_, lean_object* v_a_21038_, lean_object* v_a_21039_, lean_object* v_a_21040_){ -_start: -{ -lean_object* v___x_21042_; lean_object* v_a_21043_; lean_object* v___x_21044_; lean_object* v___x_21045_; -v___x_21042_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_getExpr___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__0___redArg(v_a_21035_); -v_a_21043_ = lean_ctor_get(v___x_21042_, 0); -lean_inc(v_a_21043_); -lean_dec_ref(v___x_21042_); -v___x_21044_ = lean_unsigned_to_nat(0u); -lean_inc(v_a_21040_); -lean_inc_ref(v_a_21039_); -lean_inc(v_a_21038_); -lean_inc_ref(v_a_21037_); -lean_inc(v_a_21036_); -lean_inc_ref(v_a_21035_); -lean_inc(v_a_21043_); -v___x_21045_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__0(v_universes_21034_, v_a_21043_, v___x_21044_, v_a_21035_, v_a_21036_, v_a_21037_, v_a_21038_, v_a_21039_, v_a_21040_); -if (lean_obj_tag(v___x_21045_) == 0) -{ -lean_object* v_a_21046_; lean_object* v___x_21047_; -v_a_21046_ = lean_ctor_get(v___x_21045_, 0); -lean_inc(v_a_21046_); -lean_dec_ref(v___x_21045_); -lean_inc(v_a_21040_); -lean_inc_ref(v_a_21039_); -lean_inc(v_a_21038_); -lean_inc_ref(v_a_21037_); -v___x_21047_ = lean_infer_type(v_a_21043_, v_a_21037_, v_a_21038_, v_a_21039_, v_a_21040_); -if (lean_obj_tag(v___x_21047_) == 0) -{ -lean_object* v_a_21048_; lean_object* v___x_21049_; lean_object* v___x_21050_; -v_a_21048_ = lean_ctor_get(v___x_21047_, 0); -lean_inc(v_a_21048_); -lean_dec_ref(v___x_21047_); -v___x_21049_ = lean_unsigned_to_nat(1u); -v___x_21050_ = l_Lean_PrettyPrinter_Delaborator_SubExpr_descend___at___00Lean_PrettyPrinter_Delaborator_SubExpr_withType___at___00Lean_PrettyPrinter_Delaborator_withTypeAscription_spec__0_spec__1___at___00Lean_PrettyPrinter_Delaborator_delabConstWithSignature_spec__1(v_a_21046_, v_a_21048_, v___x_21049_, v_a_21035_, v_a_21036_, v_a_21037_, v_a_21038_, v_a_21039_, v_a_21040_); -return v___x_21050_; -} -else -{ -lean_object* v_a_21051_; lean_object* v___x_21053_; uint8_t v_isShared_21054_; uint8_t v_isSharedCheck_21058_; -lean_dec(v_a_21046_); -lean_dec(v_a_21040_); -lean_dec_ref(v_a_21039_); -lean_dec(v_a_21038_); -lean_dec_ref(v_a_21037_); -lean_dec(v_a_21036_); -lean_dec_ref(v_a_21035_); -v_a_21051_ = lean_ctor_get(v___x_21047_, 0); -v_isSharedCheck_21058_ = !lean_is_exclusive(v___x_21047_); -if (v_isSharedCheck_21058_ == 0) -{ -v___x_21053_ = v___x_21047_; -v_isShared_21054_ = v_isSharedCheck_21058_; -goto v_resetjp_21052_; -} -else -{ -lean_inc(v_a_21051_); -lean_dec(v___x_21047_); -v___x_21053_ = lean_box(0); -v_isShared_21054_ = v_isSharedCheck_21058_; -goto v_resetjp_21052_; -} -v_resetjp_21052_: -{ -lean_object* v___x_21056_; -if (v_isShared_21054_ == 0) -{ -v___x_21056_ = v___x_21053_; -goto v_reusejp_21055_; -} -else -{ -lean_object* v_reuseFailAlloc_21057_; -v_reuseFailAlloc_21057_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_21057_, 0, v_a_21051_); -v___x_21056_ = v_reuseFailAlloc_21057_; -goto v_reusejp_21055_; -} -v_reusejp_21055_: -{ -return v___x_21056_; -} -} -} -} -else -{ -lean_dec(v_a_21043_); -lean_dec(v_a_21040_); -lean_dec_ref(v_a_21039_); -lean_dec(v_a_21038_); -lean_dec_ref(v_a_21037_); -lean_dec(v_a_21036_); -lean_dec_ref(v_a_21035_); -return v___x_21045_; -} -} -} -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature___boxed(lean_object* v_universes_21059_, lean_object* v_a_21060_, lean_object* v_a_21061_, lean_object* v_a_21062_, lean_object* v_a_21063_, lean_object* v_a_21064_, lean_object* v_a_21065_, lean_object* v_a_21066_){ -_start: -{ -uint8_t v_universes_boxed_21067_; lean_object* v_res_21068_; -v_universes_boxed_21067_ = lean_unbox(v_universes_21059_); -v_res_21068_ = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature(v_universes_boxed_21067_, v_a_21060_, v_a_21061_, v_a_21062_, v_a_21063_, v_a_21064_, v_a_21065_); -return v_res_21068_; +uint8_t v_universes_boxed_20921_; lean_object* v_res_20922_; +v_universes_boxed_20921_ = lean_unbox(v_universes_20913_); +v_res_20922_ = l_Lean_PrettyPrinter_Delaborator_delabConstWithSignature(v_universes_boxed_20921_, v_a_20914_, v_a_20915_, v_a_20916_, v_a_20917_, v_a_20918_, v_a_20919_); +return v_res_20922_; } } lean_object* runtime_initialize_Lean_PrettyPrinter_Delaborator_Basic(uint8_t builtin); @@ -59752,15 +59433,10 @@ lean_dec_ref(res); res = l_Lean_PrettyPrinter_Delaborator_delabSorry___regBuiltin_Lean_PrettyPrinter_Delaborator_delabSorry__1(); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); -res = l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); -if (lean_io_result_is_error(res)) return res; -lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* runtime_initialize_Lean_Parser_Command(uint8_t builtin); +lean_object* runtime_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(uint8_t builtin); static bool _G_meta_initialized = false; LEAN_EXPORT lean_object* meta_initialize_Lean_PrettyPrinter_Delaborator_Builtins(uint8_t builtin) { lean_object * res; @@ -59769,8 +59445,9 @@ _G_meta_initialized = true; res = runtime_initialize_Lean_Parser_Command(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId = _init_l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId(); -lean_mark_persistent(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_declSigWithId); +res = runtime_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } lean_object* initialize_Lean_PrettyPrinter_Delaborator_Basic(uint8_t builtin); @@ -59779,6 +59456,7 @@ lean_object* initialize_Lean_Meta_Structure(uint8_t builtin); lean_object* initialize_Lean_PrettyPrinter_Formatter(uint8_t builtin); lean_object* initialize_Lean_PrettyPrinter_Parenthesizer(uint8_t builtin); lean_object* initialize_Lean_Parser_Command(uint8_t builtin); +lean_object* initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(uint8_t builtin); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_PrettyPrinter_Delaborator_Builtins(uint8_t builtin) { lean_object * res; @@ -59802,6 +59480,9 @@ lean_dec_ref(res); res = initialize_Lean_Parser_Command(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = runtime_initialize_Lean_PrettyPrinter_Delaborator_Builtins(builtin); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/DeclWithSig.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/DeclWithSig.c new file mode 100644 index 0000000000..8abc2b729f --- /dev/null +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/DeclWithSig.c @@ -0,0 +1,382 @@ +// Lean compiler output +// Module: Lean.PrettyPrinter.Delaborator.DeclWithSig +// Imports: public import Lean.Parser.Types import Lean.Parser.Command +#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_object* l_Lean_Name_mkStr4(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquot_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_declSig_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_maxPrec; +lean_object* l_Lean_Parser_termParser_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_leadingNode_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Command_declSig_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_termParser_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_parenthesizerAttribute; +lean_object* l_Lean_Name_mkStr5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_mkAntiquot_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; +lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); +lean_object* l_Lean_Parser_termParser(lean_object*); +extern lean_object* l_Lean_Parser_Command_declSig; +lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); +lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_withAntiquot(lean_object*, lean_object*); +lean_object* l_Lean_Parser_withCache(lean_object*, lean_object*); +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 5, .m_capacity = 5, .m_length = 4, .m_data = "Lean"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value; +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "PrettyPrinter"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value; +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 12, .m_capacity = 12, .m_length = 11, .m_data = "Delaborator"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value; +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "declSigWithId"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value),LEAN_SCALAR_PTR_LITERAL(120, 167, 117, 148, 131, 202, 42, 4)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value),LEAN_SCALAR_PTR_LITERAL(79, 126, 247, 124, 241, 28, 11, 244)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),LEAN_SCALAR_PTR_LITERAL(125, 120, 113, 218, 19, 40, 2, 236)}}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value; +static const lean_closure_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*4, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_mkAntiquot_formatter___boxed, .m_arity = 9, .m_num_fixed = 4, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value),((lean_object*)(((size_t)(1) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))} }; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5_value; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6; +static const lean_closure_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_Command_declSig_formatter___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7_value; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 10, .m_capacity = 10, .m_length = 9, .m_data = "formatter"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value),LEAN_SCALAR_PTR_LITERAL(120, 167, 117, 148, 131, 202, 42, 4)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value),LEAN_SCALAR_PTR_LITERAL(79, 126, 247, 124, 241, 28, 11, 244)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),LEAN_SCALAR_PTR_LITERAL(125, 120, 113, 218, 19, 40, 2, 236)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value_aux_3),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__0_value),LEAN_SCALAR_PTR_LITERAL(192, 11, 240, 161, 120, 65, 104, 126)}}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1_value; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___boxed(lean_object*); +static const lean_closure_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*4, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_mkAntiquot_parenthesizer___boxed, .m_arity = 9, .m_num_fixed = 4, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4_value),((lean_object*)(((size_t)(1) << 1) | 1)),((lean_object*)(((size_t)(0) << 1) | 1))} }; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0_value; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1; +static const lean_closure_object l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_closure_object) + sizeof(void*)*0, .m_other = 0, .m_tag = 245}, .m_fun = (void*)l_Lean_Parser_Command_declSig_parenthesizer___boxed, .m_arity = 5, .m_num_fixed = 0, .m_objs = {} }; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2_value; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static const lean_string_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 14, .m_capacity = 14, .m_length = 13, .m_data = "parenthesizer"}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_0 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__0_value),LEAN_SCALAR_PTR_LITERAL(70, 193, 83, 126, 233, 67, 208, 165)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_1 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_0),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__1_value),LEAN_SCALAR_PTR_LITERAL(120, 167, 117, 148, 131, 202, 42, 4)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_2 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_1),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__2_value),LEAN_SCALAR_PTR_LITERAL(79, 126, 247, 124, 241, 28, 11, 244)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_3 = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_2),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3_value),LEAN_SCALAR_PTR_LITERAL(125, 120, 113, 218, 19, 40, 2, 236)}}; +static const lean_ctor_object l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value_aux_3),((lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__0_value),LEAN_SCALAR_PTR_LITERAL(156, 108, 232, 98, 107, 255, 86, 176)}}; +static const lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1 = (const lean_object*)&l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1_value; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___boxed(lean_object*); +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4; +static lean_once_cell_t l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5; +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId; +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6(void){ +_start: +{ +lean_object* v___x_17_; lean_object* v___x_18_; +v___x_17_ = l_Lean_Parser_maxPrec; +v___x_18_ = lean_alloc_closure((void*)(l_Lean_Parser_termParser_formatter___boxed), 6, 1); +lean_closure_set(v___x_18_, 0, v___x_17_); +return v___x_18_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8(void){ +_start: +{ +lean_object* v___x_20_; lean_object* v___x_21_; lean_object* v___x_22_; +v___x_20_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__7)); +v___x_21_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__6); +v___x_22_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter___boxed), 7, 2); +lean_closure_set(v___x_22_, 0, v___x_21_); +lean_closure_set(v___x_22_, 1, v___x_20_); +return v___x_22_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9(void){ +_start: +{ +lean_object* v___x_23_; lean_object* v___x_24_; lean_object* v___x_25_; lean_object* v___x_26_; +v___x_23_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__8); +v___x_24_ = lean_unsigned_to_nat(1024u); +v___x_25_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_26_ = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); +lean_closure_set(v___x_26_, 0, v___x_25_); +lean_closure_set(v___x_26_, 1, v___x_24_); +lean_closure_set(v___x_26_, 2, v___x_23_); +return v___x_26_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(lean_object* v_a_27_, lean_object* v_a_28_, lean_object* v_a_29_, lean_object* v_a_30_){ +_start: +{ +lean_object* v___x_32_; lean_object* v___x_33_; lean_object* v___x_34_; +v___x_32_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__5)); +v___x_33_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__9); +v___x_34_ = l_Lean_PrettyPrinter_Formatter_orelse_formatter(v___x_32_, v___x_33_, v_a_27_, v_a_28_, v_a_29_, v_a_30_); +return v___x_34_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed(lean_object* v_a_35_, lean_object* v_a_36_, lean_object* v_a_37_, lean_object* v_a_38_, lean_object* v_a_39_){ +_start: +{ +lean_object* v_res_40_; +v_res_40_ = l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter(v_a_35_, v_a_36_, v_a_37_, v_a_38_); +return v_res_40_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(){ +_start: +{ +lean_object* v___x_49_; lean_object* v___x_50_; lean_object* v___x_51_; lean_object* v___x_52_; lean_object* v___x_53_; +v___x_49_ = l_Lean_PrettyPrinter_formatterAttribute; +v___x_50_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_51_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___closed__1)); +v___x_52_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___boxed), 5, 0); +v___x_53_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_49_, v___x_50_, v___x_51_, v___x_52_); +return v___x_53_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3___boxed(lean_object* v_a_54_){ +_start: +{ +lean_object* v_res_55_; +v_res_55_ = l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); +return v_res_55_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1(void){ +_start: +{ +lean_object* v___x_63_; lean_object* v___x_64_; +v___x_63_ = l_Lean_Parser_maxPrec; +v___x_64_ = lean_alloc_closure((void*)(l_Lean_Parser_termParser_parenthesizer___boxed), 6, 1); +lean_closure_set(v___x_64_, 0, v___x_63_); +return v___x_64_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3(void){ +_start: +{ +lean_object* v___x_66_; lean_object* v___x_67_; lean_object* v___x_68_; +v___x_66_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__2)); +v___x_67_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__1); +v___x_68_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer___boxed), 7, 2); +lean_closure_set(v___x_68_, 0, v___x_67_); +lean_closure_set(v___x_68_, 1, v___x_66_); +return v___x_68_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4(void){ +_start: +{ +lean_object* v___x_69_; lean_object* v___x_70_; lean_object* v___x_71_; lean_object* v___x_72_; +v___x_69_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__3); +v___x_70_ = lean_unsigned_to_nat(1024u); +v___x_71_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_72_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); +lean_closure_set(v___x_72_, 0, v___x_71_); +lean_closure_set(v___x_72_, 1, v___x_70_); +lean_closure_set(v___x_72_, 2, v___x_69_); +return v___x_72_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(lean_object* v_a_73_, lean_object* v_a_74_, lean_object* v_a_75_, lean_object* v_a_76_){ +_start: +{ +lean_object* v___x_78_; lean_object* v___x_79_; lean_object* v___x_80_; +v___x_78_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__0)); +v___x_79_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4, &l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___closed__4); +v___x_80_ = l_Lean_PrettyPrinter_Parenthesizer_withAntiquot_parenthesizer(v___x_78_, v___x_79_, v_a_73_, v_a_74_, v_a_75_, v_a_76_); +return v___x_80_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed(lean_object* v_a_81_, lean_object* v_a_82_, lean_object* v_a_83_, lean_object* v_a_84_, lean_object* v_a_85_){ +_start: +{ +lean_object* v_res_86_; +v_res_86_ = l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer(v_a_81_, v_a_82_, v_a_83_, v_a_84_); +return v_res_86_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(){ +_start: +{ +lean_object* v___x_95_; lean_object* v___x_96_; lean_object* v___x_97_; lean_object* v___x_98_; lean_object* v___x_99_; +v___x_95_ = l_Lean_PrettyPrinter_parenthesizerAttribute; +v___x_96_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_97_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___closed__1)); +v___x_98_ = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer___boxed), 5, 0); +v___x_99_ = l_Lean_KeyedDeclsAttribute_addBuiltin___redArg(v___x_95_, v___x_96_, v___x_97_, v___x_98_); +return v___x_99_; +} +} +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7___boxed(lean_object* v_a_100_){ +_start: +{ +lean_object* v_res_101_; +v_res_101_ = l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); +return v_res_101_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0(void){ +_start: +{ +uint8_t v___x_102_; uint8_t v___x_103_; lean_object* v___x_104_; lean_object* v___x_105_; lean_object* v___x_106_; +v___x_102_ = 0; +v___x_103_ = 1; +v___x_104_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_105_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__3)); +v___x_106_ = l_Lean_Parser_mkAntiquot(v___x_105_, v___x_104_, v___x_103_, v___x_102_); +return v___x_106_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1(void){ +_start: +{ +lean_object* v___x_107_; lean_object* v___x_108_; +v___x_107_ = l_Lean_Parser_maxPrec; +v___x_108_ = l_Lean_Parser_termParser(v___x_107_); +return v___x_108_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2(void){ +_start: +{ +lean_object* v___x_109_; lean_object* v___x_110_; lean_object* v___x_111_; +v___x_109_ = l_Lean_Parser_Command_declSig; +v___x_110_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__1); +v___x_111_ = l_Lean_Parser_andthen(v___x_110_, v___x_109_); +return v___x_111_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3(void){ +_start: +{ +lean_object* v___x_112_; lean_object* v___x_113_; lean_object* v___x_114_; lean_object* v___x_115_; +v___x_112_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__2); +v___x_113_ = lean_unsigned_to_nat(1024u); +v___x_114_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_115_ = l_Lean_Parser_leadingNode(v___x_114_, v___x_113_, v___x_112_); +return v___x_115_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4(void){ +_start: +{ +lean_object* v___x_116_; lean_object* v___x_117_; lean_object* v___x_118_; +v___x_116_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__3); +v___x_117_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__0); +v___x_118_ = l_Lean_Parser_withAntiquot(v___x_117_, v___x_116_); +return v___x_118_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5(void){ +_start: +{ +lean_object* v___x_119_; lean_object* v___x_120_; lean_object* v___x_121_; +v___x_119_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__4); +v___x_120_ = ((lean_object*)(l_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter___closed__4)); +v___x_121_ = l_Lean_Parser_withCache(v___x_120_, v___x_119_); +return v___x_121_; +} +} +static lean_object* _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId(void){ +_start: +{ +lean_object* v___x_122_; +v___x_122_ = lean_obj_once(&l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5, &l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5_once, _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId___closed__5); +return v___x_122_; +} +} +lean_object* runtime_initialize_Lean_Parser_Types(uint8_t builtin); +lean_object* runtime_initialize_Lean_Parser_Command(uint8_t builtin); +static bool _G_runtime_initialized = false; +LEAN_EXPORT lean_object* runtime_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(uint8_t builtin) { +lean_object * res; +if (_G_runtime_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_runtime_initialized = true; +res = runtime_initialize_Lean_Parser_Types(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = runtime_initialize_Lean_Parser_Command(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_formatter__3(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = l_Lean_PrettyPrinter_Delaborator_declSigWithId___regBuiltin_Lean_PrettyPrinter_Delaborator_declSigWithId_parenthesizer__7(); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_PrettyPrinter_Delaborator_declSigWithId = _init_l_Lean_PrettyPrinter_Delaborator_declSigWithId(); +lean_mark_persistent(l_Lean_PrettyPrinter_Delaborator_declSigWithId); +return lean_io_result_mk_ok(lean_box(0)); +} +static bool _G_meta_initialized = false; +LEAN_EXPORT lean_object* meta_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(uint8_t builtin) { +lean_object * res; +if (_G_meta_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_meta_initialized = true; +return lean_io_result_mk_ok(lean_box(0)); +} +lean_object* initialize_Lean_Parser_Types(uint8_t builtin); +lean_object* initialize_Lean_Parser_Command(uint8_t builtin); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(uint8_t builtin) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Lean_Parser_Types(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Parser_Command(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = runtime_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = meta_initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(builtin); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return initialize_Lean_PrettyPrinter_Delaborator_DeclWithSig(builtin); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c index ab2aef5493..872f9b6318 100644 --- a/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/Rpc/RequestHandling.c @@ -93,7 +93,9 @@ lean_object* l_Lean_instantiateMVarsCore(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withoutErrToSorryImp___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_run___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); -lean_object* l_Lean_addAndCompile(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_addDecl(lean_object*, uint8_t, lean_object*, lean_object*); +lean_object* l_Lean_markMeta(lean_object*, lean_object*); +lean_object* l_Lean_compileDecl(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_MapDeclarationExtension_insert___redArg(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MapDeclarationExtension_contains___redArg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); @@ -394,18 +396,20 @@ static const lean_string_object l_Lean_Server_registerRpcProcedure___closed__13_ static const lean_object* l_Lean_Server_registerRpcProcedure___closed__13 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__13_value; static const lean_ctor_object l_Lean_Server_registerRpcProcedure___closed__14_value = {.m_header = {.m_rc = 0, .m_cs_sz = sizeof(lean_ctor_object) + sizeof(void*)*2 + 8, .m_other = 2, .m_tag = 1}, .m_objs = {((lean_object*)(((size_t)(0) << 1) | 1)),((lean_object*)&l_Lean_Server_registerRpcProcedure___closed__13_value),LEAN_SCALAR_PTR_LITERAL(76, 241, 252, 252, 247, 5, 133, 205)}}; static const lean_object* l_Lean_Server_registerRpcProcedure___closed__14 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__14_value; -static const lean_string_object l_Lean_Server_registerRpcProcedure___closed__15_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 42, .m_capacity = 42, .m_length = 41, .m_data = "Failed to register RPC call handler for '"}; -static const lean_object* l_Lean_Server_registerRpcProcedure___closed__15 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__15_value; -static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__16_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Server_registerRpcProcedure___closed__16; +static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__15_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Server_registerRpcProcedure___closed__15; +static const lean_string_object l_Lean_Server_registerRpcProcedure___closed__16_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 42, .m_capacity = 42, .m_length = 41, .m_data = "Failed to register RPC call handler for '"}; +static const lean_object* l_Lean_Server_registerRpcProcedure___closed__16 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__16_value; static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__17_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Server_registerRpcProcedure___closed__17; static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__18_once = LEAN_ONCE_CELL_INITIALIZER; static lean_object* l_Lean_Server_registerRpcProcedure___closed__18; -static const lean_string_object l_Lean_Server_registerRpcProcedure___closed__19_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 31, .m_capacity = 31, .m_length = 30, .m_data = ": already registered (builtin)"}; -static const lean_object* l_Lean_Server_registerRpcProcedure___closed__19 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__19_value; -static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__20_once = LEAN_ONCE_CELL_INITIALIZER; -static lean_object* l_Lean_Server_registerRpcProcedure___closed__20; +static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__19_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Server_registerRpcProcedure___closed__19; +static const lean_string_object l_Lean_Server_registerRpcProcedure___closed__20_value = {.m_header = {.m_rc = 0, .m_cs_sz = 0, .m_other = 0, .m_tag = 249}, .m_size = 31, .m_capacity = 31, .m_length = 30, .m_data = ": already registered (builtin)"}; +static const lean_object* l_Lean_Server_registerRpcProcedure___closed__20 = (const lean_object*)&l_Lean_Server_registerRpcProcedure___closed__20_value; +static lean_once_cell_t l_Lean_Server_registerRpcProcedure___closed__21_once = LEAN_ONCE_CELL_INITIALIZER; +static lean_object* l_Lean_Server_registerRpcProcedure___closed__21; LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -4279,10 +4283,10 @@ return v___x_1408_; LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___lam__1___boxed(lean_object* v___x_1411_, lean_object* v___x_1412_, lean_object* v___x_1413_, lean_object* v_method_1414_, lean_object* v___x_1415_, lean_object* v___x_1416_, lean_object* v___y_1417_, lean_object* v___y_1418_, lean_object* v___y_1419_, lean_object* v___y_1420_, lean_object* v___y_1421_, lean_object* v___y_1422_, lean_object* v___y_1423_){ _start: { -uint8_t v___x_5388__boxed_1424_; uint8_t v___x_5392__boxed_1425_; lean_object* v_res_1426_; -v___x_5388__boxed_1424_ = lean_unbox(v___x_1411_); -v___x_5392__boxed_1425_ = lean_unbox(v___x_1416_); -v_res_1426_ = l_Lean_Server_registerRpcProcedure___lam__1(v___x_5388__boxed_1424_, v___x_1412_, v___x_1413_, v_method_1414_, v___x_1415_, v___x_5392__boxed_1425_, v___y_1417_, v___y_1418_, v___y_1419_, v___y_1420_, v___y_1421_, v___y_1422_); +uint8_t v___x_5837__boxed_1424_; uint8_t v___x_5841__boxed_1425_; lean_object* v_res_1426_; +v___x_5837__boxed_1424_ = lean_unbox(v___x_1411_); +v___x_5841__boxed_1425_ = lean_unbox(v___x_1416_); +v_res_1426_ = l_Lean_Server_registerRpcProcedure___lam__1(v___x_5837__boxed_1424_, v___x_1412_, v___x_1413_, v_method_1414_, v___x_1415_, v___x_5841__boxed_1425_, v___y_1417_, v___y_1418_, v___y_1419_, v___y_1420_, v___y_1421_, v___y_1422_); return v_res_1426_; } } @@ -4597,20 +4601,22 @@ v___x_1525_ = l_Lean_mkConst(v___x_1524_, v___x_1523_); return v___x_1525_; } } -static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__16(void){ +static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__15(void){ _start: { -lean_object* v___x_1533_; lean_object* v___x_1534_; -v___x_1533_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__15)); -v___x_1534_ = l_Lean_stringToMessageData(v___x_1533_); -return v___x_1534_; +lean_object* v___x_1532_; lean_object* v___x_1533_; +v___x_1532_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__4, &l_Lean_Server_registerRpcProcedure___closed__4_once, _init_l_Lean_Server_registerRpcProcedure___closed__4); +v___x_1533_ = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(v___x_1533_, 0, v___x_1532_); +lean_ctor_set(v___x_1533_, 1, v___x_1532_); +return v___x_1533_; } } static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__17(void){ _start: { lean_object* v___x_1535_; lean_object* v___x_1536_; -v___x_1535_ = ((lean_object*)(l_Lean_Server_registerBuiltinRpcProcedure___redArg___closed__1)); +v___x_1535_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__16)); v___x_1536_ = l_Lean_stringToMessageData(v___x_1535_); return v___x_1536_; } @@ -4619,385 +4625,481 @@ static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__18(void){ _start: { lean_object* v___x_1537_; lean_object* v___x_1538_; -v___x_1537_ = ((lean_object*)(l_Lean_Server_registerBuiltinRpcProcedure___redArg___closed__5)); +v___x_1537_ = ((lean_object*)(l_Lean_Server_registerBuiltinRpcProcedure___redArg___closed__1)); v___x_1538_ = l_Lean_stringToMessageData(v___x_1537_); return v___x_1538_; } } -static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__20(void){ +static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__19(void){ _start: { -lean_object* v___x_1540_; lean_object* v___x_1541_; -v___x_1540_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__19)); -v___x_1541_ = l_Lean_stringToMessageData(v___x_1540_); -return v___x_1541_; +lean_object* v___x_1539_; lean_object* v___x_1540_; +v___x_1539_ = ((lean_object*)(l_Lean_Server_registerBuiltinRpcProcedure___redArg___closed__5)); +v___x_1540_ = l_Lean_stringToMessageData(v___x_1539_); +return v___x_1540_; } } -LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure(lean_object* v_method_1542_, lean_object* v_a_1543_, lean_object* v_a_1544_){ +static lean_object* _init_l_Lean_Server_registerRpcProcedure___closed__21(void){ _start: { -lean_object* v___x_1546_; lean_object* v___x_1547_; lean_object* v___x_1548_; lean_object* v_env_1549_; lean_object* v___y_1551_; lean_object* v___y_1552_; lean_object* v___x_1601_; lean_object* v___x_1602_; lean_object* v___x_1603_; lean_object* v___x_1604_; lean_object* v___x_1605_; lean_object* v___x_1606_; lean_object* v___y_1608_; lean_object* v___y_1609_; uint8_t v___x_1615_; -v___x_1546_ = lean_st_ref_get(v_a_1544_); -v___x_1547_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_builtinRpcProcedures; -v___x_1548_ = lean_st_ref_get(v___x_1547_); -v_env_1549_ = lean_ctor_get(v___x_1546_, 0); -lean_inc_ref(v_env_1549_); -lean_dec(v___x_1546_); -v___x_1601_ = lean_box(0); -v___x_1602_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__16, &l_Lean_Server_registerRpcProcedure___closed__16_once, _init_l_Lean_Server_registerRpcProcedure___closed__16); -lean_inc(v_method_1542_); -v___x_1603_ = l_Lean_MessageData_ofName(v_method_1542_); -v___x_1604_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1604_, 0, v___x_1602_); -lean_ctor_set(v___x_1604_, 1, v___x_1603_); -v___x_1605_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__17, &l_Lean_Server_registerRpcProcedure___closed__17_once, _init_l_Lean_Server_registerRpcProcedure___closed__17); -v___x_1606_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1606_, 0, v___x_1604_); -lean_ctor_set(v___x_1606_, 1, v___x_1605_); -v___x_1615_ = l_Lean_PersistentHashMap_contains___at___00Lean_Server_existsBuiltinRpcProcedure_spec__0___redArg(v___x_1548_, v_method_1542_); -if (v___x_1615_ == 0) +lean_object* v___x_1542_; lean_object* v___x_1543_; +v___x_1542_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__20)); +v___x_1543_ = l_Lean_stringToMessageData(v___x_1542_); +return v___x_1543_; +} +} +LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure(lean_object* v_method_1544_, lean_object* v_a_1545_, lean_object* v_a_1546_){ +_start: { -v___y_1608_ = v_a_1543_; -v___y_1609_ = v_a_1544_; -goto v___jp_1607_; +lean_object* v___x_1548_; lean_object* v___x_1549_; lean_object* v___x_1550_; lean_object* v_env_1551_; lean_object* v___y_1553_; lean_object* v___y_1554_; lean_object* v___x_1624_; lean_object* v___x_1625_; lean_object* v___x_1626_; lean_object* v___x_1627_; lean_object* v___x_1628_; lean_object* v___x_1629_; lean_object* v___y_1631_; lean_object* v___y_1632_; uint8_t v___x_1638_; +v___x_1548_ = lean_st_ref_get(v_a_1546_); +v___x_1549_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_builtinRpcProcedures; +v___x_1550_ = lean_st_ref_get(v___x_1549_); +v_env_1551_ = lean_ctor_get(v___x_1548_, 0); +lean_inc_ref(v_env_1551_); +lean_dec(v___x_1548_); +v___x_1624_ = lean_box(0); +v___x_1625_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__17, &l_Lean_Server_registerRpcProcedure___closed__17_once, _init_l_Lean_Server_registerRpcProcedure___closed__17); +lean_inc(v_method_1544_); +v___x_1626_ = l_Lean_MessageData_ofName(v_method_1544_); +v___x_1627_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1627_, 0, v___x_1625_); +lean_ctor_set(v___x_1627_, 1, v___x_1626_); +v___x_1628_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__18, &l_Lean_Server_registerRpcProcedure___closed__18_once, _init_l_Lean_Server_registerRpcProcedure___closed__18); +v___x_1629_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1629_, 0, v___x_1627_); +lean_ctor_set(v___x_1629_, 1, v___x_1628_); +v___x_1638_ = l_Lean_PersistentHashMap_contains___at___00Lean_Server_existsBuiltinRpcProcedure_spec__0___redArg(v___x_1550_, v_method_1544_); +if (v___x_1638_ == 0) +{ +v___y_1631_ = v_a_1545_; +v___y_1632_ = v_a_1546_; +goto v___jp_1630_; } else { -lean_object* v___x_1616_; lean_object* v___x_1617_; lean_object* v___x_1618_; -lean_dec_ref(v_env_1549_); -lean_dec(v_method_1542_); -v___x_1616_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__20, &l_Lean_Server_registerRpcProcedure___closed__20_once, _init_l_Lean_Server_registerRpcProcedure___closed__20); -v___x_1617_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1617_, 0, v___x_1606_); -lean_ctor_set(v___x_1617_, 1, v___x_1616_); -v___x_1618_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1617_, v_a_1543_, v_a_1544_); -lean_dec(v_a_1544_); -lean_dec_ref(v_a_1543_); -return v___x_1618_; +lean_object* v___x_1639_; lean_object* v___x_1640_; lean_object* v___x_1641_; +lean_dec_ref(v_env_1551_); +lean_dec(v_method_1544_); +v___x_1639_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__21, &l_Lean_Server_registerRpcProcedure___closed__21_once, _init_l_Lean_Server_registerRpcProcedure___closed__21); +v___x_1640_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1640_, 0, v___x_1629_); +lean_ctor_set(v___x_1640_, 1, v___x_1639_); +v___x_1641_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1640_, v_a_1545_, v_a_1546_); +lean_dec(v_a_1546_); +lean_dec_ref(v_a_1545_); +return v___x_1641_; } -v___jp_1550_: +v___jp_1552_: { -lean_object* v___x_1553_; uint8_t v___x_1554_; uint8_t v___x_1555_; lean_object* v___x_1556_; lean_object* v___x_1557_; lean_object* v___x_1558_; lean_object* v___x_1559_; lean_object* v___x_1560_; lean_object* v___x_1561_; lean_object* v___x_1562_; lean_object* v___x_1563_; lean_object* v___x_1564_; lean_object* v___f_1565_; lean_object* v___x_1566_; lean_object* v___x_1567_; lean_object* v___x_1568_; -v___x_1553_ = lean_box(0); -v___x_1554_ = 1; -v___x_1555_ = 0; -v___x_1556_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__2)); -v___x_1557_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__6, &l_Lean_Server_registerRpcProcedure___closed__6_once, _init_l_Lean_Server_registerRpcProcedure___closed__6); -v___x_1558_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__10, &l_Lean_Server_registerRpcProcedure___closed__10_once, _init_l_Lean_Server_registerRpcProcedure___closed__10); -v___x_1559_ = lean_st_mk_ref(v___x_1558_); -v___x_1560_ = ((lean_object*)(l_Lean_Server_initFn___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_2946836025____hygCtx___hyg_2_)); -v___x_1561_ = ((lean_object*)(l_Lean_Server_initFn___closed__2_00___x40_Lean_Server_Rpc_RequestHandling_2946836025____hygCtx___hyg_2_)); -v___x_1562_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__11, &l_Lean_Server_registerRpcProcedure___closed__11_once, _init_l_Lean_Server_registerRpcProcedure___closed__11); -v___x_1563_ = lean_box(v___x_1555_); -v___x_1564_ = lean_box(v___x_1554_); -lean_inc(v_method_1542_); -v___f_1565_ = lean_alloc_closure((void*)(l_Lean_Server_registerRpcProcedure___lam__1___boxed), 13, 6); -lean_closure_set(v___f_1565_, 0, v___x_1563_); -lean_closure_set(v___f_1565_, 1, v___x_1560_); -lean_closure_set(v___f_1565_, 2, v___x_1561_); -lean_closure_set(v___f_1565_, 3, v_method_1542_); -lean_closure_set(v___f_1565_, 4, v___x_1562_); -lean_closure_set(v___f_1565_, 5, v___x_1564_); -v___x_1566_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at___00Lean_Server_registerRpcProcedure_spec__1___boxed), 9, 2); -lean_closure_set(v___x_1566_, 0, lean_box(0)); -lean_closure_set(v___x_1566_, 1, v___f_1565_); -v___x_1567_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__12)); -lean_inc(v___y_1552_); -lean_inc_ref(v___y_1551_); -lean_inc(v___x_1559_); -v___x_1568_ = l_Lean_Elab_Term_TermElabM_run___redArg(v___x_1566_, v___x_1556_, v___x_1567_, v___x_1557_, v___x_1559_, v___y_1551_, v___y_1552_); -if (lean_obj_tag(v___x_1568_) == 0) +lean_object* v___x_1555_; uint8_t v___x_1556_; uint8_t v___x_1557_; lean_object* v___x_1558_; lean_object* v___x_1559_; lean_object* v___x_1560_; lean_object* v___x_1561_; lean_object* v___x_1562_; lean_object* v___x_1563_; lean_object* v___x_1564_; lean_object* v___x_1565_; lean_object* v___x_1566_; lean_object* v___f_1567_; lean_object* v___x_1568_; lean_object* v___x_1569_; lean_object* v___x_1570_; +v___x_1555_ = lean_box(0); +v___x_1556_ = 1; +v___x_1557_ = 0; +v___x_1558_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__2)); +v___x_1559_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__6, &l_Lean_Server_registerRpcProcedure___closed__6_once, _init_l_Lean_Server_registerRpcProcedure___closed__6); +v___x_1560_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__10, &l_Lean_Server_registerRpcProcedure___closed__10_once, _init_l_Lean_Server_registerRpcProcedure___closed__10); +v___x_1561_ = lean_st_mk_ref(v___x_1560_); +v___x_1562_ = ((lean_object*)(l_Lean_Server_initFn___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_2946836025____hygCtx___hyg_2_)); +v___x_1563_ = ((lean_object*)(l_Lean_Server_initFn___closed__2_00___x40_Lean_Server_Rpc_RequestHandling_2946836025____hygCtx___hyg_2_)); +v___x_1564_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__11, &l_Lean_Server_registerRpcProcedure___closed__11_once, _init_l_Lean_Server_registerRpcProcedure___closed__11); +v___x_1565_ = lean_box(v___x_1557_); +v___x_1566_ = lean_box(v___x_1556_); +lean_inc(v_method_1544_); +v___f_1567_ = lean_alloc_closure((void*)(l_Lean_Server_registerRpcProcedure___lam__1___boxed), 13, 6); +lean_closure_set(v___f_1567_, 0, v___x_1565_); +lean_closure_set(v___f_1567_, 1, v___x_1562_); +lean_closure_set(v___f_1567_, 2, v___x_1563_); +lean_closure_set(v___f_1567_, 3, v_method_1544_); +lean_closure_set(v___f_1567_, 4, v___x_1564_); +lean_closure_set(v___f_1567_, 5, v___x_1566_); +v___x_1568_ = lean_alloc_closure((void*)(l_Lean_Elab_Term_withoutErrToSorry___at___00Lean_Server_registerRpcProcedure_spec__1___boxed), 9, 2); +lean_closure_set(v___x_1568_, 0, lean_box(0)); +lean_closure_set(v___x_1568_, 1, v___f_1567_); +v___x_1569_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__12)); +lean_inc(v___y_1554_); +lean_inc_ref(v___y_1553_); +lean_inc(v___x_1561_); +v___x_1570_ = l_Lean_Elab_Term_TermElabM_run___redArg(v___x_1568_, v___x_1558_, v___x_1569_, v___x_1559_, v___x_1561_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1570_) == 0) { -lean_object* v_a_1569_; lean_object* v___x_1570_; lean_object* v_fst_1571_; lean_object* v___x_1573_; uint8_t v_isShared_1574_; uint8_t v_isSharedCheck_1591_; -v_a_1569_ = lean_ctor_get(v___x_1568_, 0); -lean_inc(v_a_1569_); -lean_dec_ref(v___x_1568_); -v___x_1570_ = lean_st_ref_get(v___x_1559_); -lean_dec(v___x_1559_); +lean_object* v_a_1571_; lean_object* v___x_1572_; lean_object* v_fst_1573_; lean_object* v___x_1575_; uint8_t v_isShared_1576_; uint8_t v_isSharedCheck_1614_; +v_a_1571_ = lean_ctor_get(v___x_1570_, 0); +lean_inc(v_a_1571_); +lean_dec_ref(v___x_1570_); +v___x_1572_ = lean_st_ref_get(v___x_1561_); +lean_dec(v___x_1561_); +lean_dec(v___x_1572_); +v_fst_1573_ = lean_ctor_get(v_a_1571_, 0); +v_isSharedCheck_1614_ = !lean_is_exclusive(v_a_1571_); +if (v_isSharedCheck_1614_ == 0) +{ +lean_object* v_unused_1615_; +v_unused_1615_ = lean_ctor_get(v_a_1571_, 1); +lean_dec(v_unused_1615_); +v___x_1575_ = v_a_1571_; +v_isShared_1576_ = v_isSharedCheck_1614_; +goto v_resetjp_1574_; +} +else +{ +lean_inc(v_fst_1573_); +lean_dec(v_a_1571_); +v___x_1575_ = lean_box(0); +v_isShared_1576_ = v_isSharedCheck_1614_; +goto v_resetjp_1574_; +} +v_resetjp_1574_: +{ +lean_object* v___x_1577_; lean_object* v___x_1578_; lean_object* v___x_1579_; lean_object* v___x_1580_; uint8_t v___x_1581_; lean_object* v___x_1583_; +v___x_1577_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__14)); +lean_inc(v_method_1544_); +v___x_1578_ = l_Lean_Name_append(v_method_1544_, v___x_1577_); +lean_inc(v___x_1578_); +v___x_1579_ = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(v___x_1579_, 0, v___x_1578_); +lean_ctor_set(v___x_1579_, 1, v___x_1555_); +lean_ctor_set(v___x_1579_, 2, v___x_1564_); +v___x_1580_ = lean_box(0); +v___x_1581_ = 1; +lean_inc(v___x_1578_); +if (v_isShared_1576_ == 0) +{ +lean_ctor_set_tag(v___x_1575_, 1); +lean_ctor_set(v___x_1575_, 1, v___x_1555_); +lean_ctor_set(v___x_1575_, 0, v___x_1578_); +v___x_1583_ = v___x_1575_; +goto v_reusejp_1582_; +} +else +{ +lean_object* v_reuseFailAlloc_1613_; +v_reuseFailAlloc_1613_ = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(v_reuseFailAlloc_1613_, 0, v___x_1578_); +lean_ctor_set(v_reuseFailAlloc_1613_, 1, v___x_1555_); +v___x_1583_ = v_reuseFailAlloc_1613_; +goto v_reusejp_1582_; +} +v_reusejp_1582_: +{ +lean_object* v___x_1584_; lean_object* v___x_1585_; lean_object* v___x_1586_; +v___x_1584_ = lean_alloc_ctor(0, 4, 1); +lean_ctor_set(v___x_1584_, 0, v___x_1579_); +lean_ctor_set(v___x_1584_, 1, v_fst_1573_); +lean_ctor_set(v___x_1584_, 2, v___x_1580_); +lean_ctor_set(v___x_1584_, 3, v___x_1583_); +lean_ctor_set_uint8(v___x_1584_, sizeof(void*)*4, v___x_1581_); +v___x_1585_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v___x_1585_, 0, v___x_1584_); +lean_inc(v___y_1554_); +lean_inc_ref(v___y_1553_); +lean_inc_ref(v___x_1585_); +v___x_1586_ = l_Lean_addDecl(v___x_1585_, v___x_1557_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1586_) == 0) +{ +lean_object* v___x_1587_; lean_object* v_env_1588_; lean_object* v_nextMacroScope_1589_; lean_object* v_ngen_1590_; lean_object* v_auxDeclNGen_1591_; lean_object* v_traceState_1592_; lean_object* v_messages_1593_; lean_object* v_infoState_1594_; lean_object* v_snapshotTasks_1595_; lean_object* v___x_1597_; uint8_t v_isShared_1598_; uint8_t v_isSharedCheck_1611_; +lean_dec_ref(v___x_1586_); +v___x_1587_ = lean_st_ref_take(v___y_1554_); +v_env_1588_ = lean_ctor_get(v___x_1587_, 0); +v_nextMacroScope_1589_ = lean_ctor_get(v___x_1587_, 1); +v_ngen_1590_ = lean_ctor_get(v___x_1587_, 2); +v_auxDeclNGen_1591_ = lean_ctor_get(v___x_1587_, 3); +v_traceState_1592_ = lean_ctor_get(v___x_1587_, 4); +v_messages_1593_ = lean_ctor_get(v___x_1587_, 6); +v_infoState_1594_ = lean_ctor_get(v___x_1587_, 7); +v_snapshotTasks_1595_ = lean_ctor_get(v___x_1587_, 8); +v_isSharedCheck_1611_ = !lean_is_exclusive(v___x_1587_); +if (v_isSharedCheck_1611_ == 0) +{ +lean_object* v_unused_1612_; +v_unused_1612_ = lean_ctor_get(v___x_1587_, 5); +lean_dec(v_unused_1612_); +v___x_1597_ = v___x_1587_; +v_isShared_1598_ = v_isSharedCheck_1611_; +goto v_resetjp_1596_; +} +else +{ +lean_inc(v_snapshotTasks_1595_); +lean_inc(v_infoState_1594_); +lean_inc(v_messages_1593_); +lean_inc(v_traceState_1592_); +lean_inc(v_auxDeclNGen_1591_); +lean_inc(v_ngen_1590_); +lean_inc(v_nextMacroScope_1589_); +lean_inc(v_env_1588_); +lean_dec(v___x_1587_); +v___x_1597_ = lean_box(0); +v_isShared_1598_ = v_isSharedCheck_1611_; +goto v_resetjp_1596_; +} +v_resetjp_1596_: +{ +lean_object* v___x_1599_; lean_object* v___x_1600_; lean_object* v___x_1602_; +lean_inc(v___x_1578_); +v___x_1599_ = l_Lean_markMeta(v_env_1588_, v___x_1578_); +v___x_1600_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__15, &l_Lean_Server_registerRpcProcedure___closed__15_once, _init_l_Lean_Server_registerRpcProcedure___closed__15); +if (v_isShared_1598_ == 0) +{ +lean_ctor_set(v___x_1597_, 5, v___x_1600_); +lean_ctor_set(v___x_1597_, 0, v___x_1599_); +v___x_1602_ = v___x_1597_; +goto v_reusejp_1601_; +} +else +{ +lean_object* v_reuseFailAlloc_1610_; +v_reuseFailAlloc_1610_ = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(v_reuseFailAlloc_1610_, 0, v___x_1599_); +lean_ctor_set(v_reuseFailAlloc_1610_, 1, v_nextMacroScope_1589_); +lean_ctor_set(v_reuseFailAlloc_1610_, 2, v_ngen_1590_); +lean_ctor_set(v_reuseFailAlloc_1610_, 3, v_auxDeclNGen_1591_); +lean_ctor_set(v_reuseFailAlloc_1610_, 4, v_traceState_1592_); +lean_ctor_set(v_reuseFailAlloc_1610_, 5, v___x_1600_); +lean_ctor_set(v_reuseFailAlloc_1610_, 6, v_messages_1593_); +lean_ctor_set(v_reuseFailAlloc_1610_, 7, v_infoState_1594_); +lean_ctor_set(v_reuseFailAlloc_1610_, 8, v_snapshotTasks_1595_); +v___x_1602_ = v_reuseFailAlloc_1610_; +goto v_reusejp_1601_; +} +v_reusejp_1601_: +{ +lean_object* v___x_1603_; lean_object* v___x_1604_; +v___x_1603_ = lean_st_ref_set(v___y_1554_, v___x_1602_); +lean_inc(v___y_1554_); +v___x_1604_ = l_Lean_compileDecl(v___x_1585_, v___x_1556_, v___y_1553_, v___y_1554_); +if (lean_obj_tag(v___x_1604_) == 0) +{ +lean_object* v___x_1605_; lean_object* v_env_1606_; lean_object* v___x_1607_; lean_object* v___x_1608_; lean_object* v___x_1609_; +lean_dec_ref(v___x_1604_); +v___x_1605_ = lean_st_ref_get(v___y_1554_); +v_env_1606_ = lean_ctor_get(v___x_1605_, 0); +lean_inc_ref(v_env_1606_); +lean_dec(v___x_1605_); +v___x_1607_ = l_Lean_Server_userRpcProcedures; +v___x_1608_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_1607_, v_env_1606_, v_method_1544_, v___x_1578_); +v___x_1609_ = l_Lean_setEnv___at___00Lean_Server_registerRpcProcedure_spec__2___redArg(v___x_1608_, v___y_1554_); +lean_dec(v___y_1554_); +return v___x_1609_; +} +else +{ +lean_dec(v___x_1578_); +lean_dec(v___y_1554_); +lean_dec(v_method_1544_); +return v___x_1604_; +} +} +} +} +else +{ +lean_dec_ref(v___x_1585_); +lean_dec(v___x_1578_); +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v_method_1544_); +return v___x_1586_; +} +} +} +} +else +{ +lean_object* v_a_1616_; lean_object* v___x_1618_; uint8_t v_isShared_1619_; uint8_t v_isSharedCheck_1623_; +lean_dec(v___x_1561_); +lean_dec(v___y_1554_); +lean_dec_ref(v___y_1553_); +lean_dec(v_method_1544_); +v_a_1616_ = lean_ctor_get(v___x_1570_, 0); +v_isSharedCheck_1623_ = !lean_is_exclusive(v___x_1570_); +if (v_isSharedCheck_1623_ == 0) +{ +v___x_1618_ = v___x_1570_; +v_isShared_1619_ = v_isSharedCheck_1623_; +goto v_resetjp_1617_; +} +else +{ +lean_inc(v_a_1616_); lean_dec(v___x_1570_); -v_fst_1571_ = lean_ctor_get(v_a_1569_, 0); -v_isSharedCheck_1591_ = !lean_is_exclusive(v_a_1569_); -if (v_isSharedCheck_1591_ == 0) +v___x_1618_ = lean_box(0); +v_isShared_1619_ = v_isSharedCheck_1623_; +goto v_resetjp_1617_; +} +v_resetjp_1617_: { -lean_object* v_unused_1592_; -v_unused_1592_ = lean_ctor_get(v_a_1569_, 1); -lean_dec(v_unused_1592_); -v___x_1573_ = v_a_1569_; -v_isShared_1574_ = v_isSharedCheck_1591_; -goto v_resetjp_1572_; +lean_object* v___x_1621_; +if (v_isShared_1619_ == 0) +{ +v___x_1621_ = v___x_1618_; +goto v_reusejp_1620_; } else { -lean_inc(v_fst_1571_); -lean_dec(v_a_1569_); -v___x_1573_ = lean_box(0); -v_isShared_1574_ = v_isSharedCheck_1591_; -goto v_resetjp_1572_; +lean_object* v_reuseFailAlloc_1622_; +v_reuseFailAlloc_1622_ = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(v_reuseFailAlloc_1622_, 0, v_a_1616_); +v___x_1621_ = v_reuseFailAlloc_1622_; +goto v_reusejp_1620_; } -v_resetjp_1572_: +v_reusejp_1620_: { -lean_object* v___x_1575_; lean_object* v___x_1576_; lean_object* v___x_1577_; lean_object* v___x_1578_; uint8_t v___x_1579_; lean_object* v___x_1581_; -v___x_1575_ = ((lean_object*)(l_Lean_Server_registerRpcProcedure___closed__14)); -lean_inc(v_method_1542_); -v___x_1576_ = l_Lean_Name_append(v_method_1542_, v___x_1575_); -lean_inc(v___x_1576_); -v___x_1577_ = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(v___x_1577_, 0, v___x_1576_); -lean_ctor_set(v___x_1577_, 1, v___x_1553_); -lean_ctor_set(v___x_1577_, 2, v___x_1562_); -v___x_1578_ = lean_box(0); -v___x_1579_ = 1; -lean_inc(v___x_1576_); -if (v_isShared_1574_ == 0) +return v___x_1621_; +} +} +} +} +v___jp_1630_: { -lean_ctor_set_tag(v___x_1573_, 1); -lean_ctor_set(v___x_1573_, 1, v___x_1553_); -lean_ctor_set(v___x_1573_, 0, v___x_1576_); -v___x_1581_ = v___x_1573_; -goto v_reusejp_1580_; +lean_object* v___x_1633_; uint8_t v___x_1634_; +v___x_1633_ = l_Lean_Server_userRpcProcedures; +lean_inc(v_method_1544_); +v___x_1634_ = l_Lean_MapDeclarationExtension_contains___redArg(v___x_1624_, v___x_1633_, v_env_1551_, v_method_1544_); +if (v___x_1634_ == 0) +{ +lean_dec_ref(v___x_1629_); +v___y_1553_ = v___y_1631_; +v___y_1554_ = v___y_1632_; +goto v___jp_1552_; } else { -lean_object* v_reuseFailAlloc_1590_; -v_reuseFailAlloc_1590_ = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(v_reuseFailAlloc_1590_, 0, v___x_1576_); -lean_ctor_set(v_reuseFailAlloc_1590_, 1, v___x_1553_); -v___x_1581_ = v_reuseFailAlloc_1590_; -goto v_reusejp_1580_; -} -v_reusejp_1580_: -{ -lean_object* v___x_1582_; lean_object* v___x_1583_; lean_object* v___x_1584_; -v___x_1582_ = lean_alloc_ctor(0, 4, 1); -lean_ctor_set(v___x_1582_, 0, v___x_1577_); -lean_ctor_set(v___x_1582_, 1, v_fst_1571_); -lean_ctor_set(v___x_1582_, 2, v___x_1578_); -lean_ctor_set(v___x_1582_, 3, v___x_1581_); -lean_ctor_set_uint8(v___x_1582_, sizeof(void*)*4, v___x_1579_); -v___x_1583_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v___x_1583_, 0, v___x_1582_); -lean_inc(v___y_1552_); -v___x_1584_ = l_Lean_addAndCompile(v___x_1583_, v___x_1554_, v___y_1551_, v___y_1552_); -if (lean_obj_tag(v___x_1584_) == 0) -{ -lean_object* v___x_1585_; lean_object* v_env_1586_; lean_object* v___x_1587_; lean_object* v___x_1588_; lean_object* v___x_1589_; -lean_dec_ref(v___x_1584_); -v___x_1585_ = lean_st_ref_get(v___y_1552_); -v_env_1586_ = lean_ctor_get(v___x_1585_, 0); -lean_inc_ref(v_env_1586_); -lean_dec(v___x_1585_); -v___x_1587_ = l_Lean_Server_userRpcProcedures; -v___x_1588_ = l_Lean_MapDeclarationExtension_insert___redArg(v___x_1587_, v_env_1586_, v_method_1542_, v___x_1576_); -v___x_1589_ = l_Lean_setEnv___at___00Lean_Server_registerRpcProcedure_spec__2___redArg(v___x_1588_, v___y_1552_); -lean_dec(v___y_1552_); -return v___x_1589_; -} -else -{ -lean_dec(v___x_1576_); -lean_dec(v___y_1552_); -lean_dec(v_method_1542_); -return v___x_1584_; +lean_object* v___x_1635_; lean_object* v___x_1636_; lean_object* v___x_1637_; +lean_dec(v_method_1544_); +v___x_1635_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__19, &l_Lean_Server_registerRpcProcedure___closed__19_once, _init_l_Lean_Server_registerRpcProcedure___closed__19); +v___x_1636_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1636_, 0, v___x_1629_); +lean_ctor_set(v___x_1636_, 1, v___x_1635_); +v___x_1637_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1636_, v___y_1631_, v___y_1632_); +lean_dec(v___y_1632_); +lean_dec_ref(v___y_1631_); +return v___x_1637_; } } } } -else -{ -lean_object* v_a_1593_; lean_object* v___x_1595_; uint8_t v_isShared_1596_; uint8_t v_isSharedCheck_1600_; -lean_dec(v___x_1559_); -lean_dec(v___y_1552_); -lean_dec_ref(v___y_1551_); -lean_dec(v_method_1542_); -v_a_1593_ = lean_ctor_get(v___x_1568_, 0); -v_isSharedCheck_1600_ = !lean_is_exclusive(v___x_1568_); -if (v_isSharedCheck_1600_ == 0) -{ -v___x_1595_ = v___x_1568_; -v_isShared_1596_ = v_isSharedCheck_1600_; -goto v_resetjp_1594_; -} -else -{ -lean_inc(v_a_1593_); -lean_dec(v___x_1568_); -v___x_1595_ = lean_box(0); -v_isShared_1596_ = v_isSharedCheck_1600_; -goto v_resetjp_1594_; -} -v_resetjp_1594_: -{ -lean_object* v___x_1598_; -if (v_isShared_1596_ == 0) -{ -v___x_1598_ = v___x_1595_; -goto v_reusejp_1597_; -} -else -{ -lean_object* v_reuseFailAlloc_1599_; -v_reuseFailAlloc_1599_ = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(v_reuseFailAlloc_1599_, 0, v_a_1593_); -v___x_1598_ = v_reuseFailAlloc_1599_; -goto v_reusejp_1597_; -} -v_reusejp_1597_: -{ -return v___x_1598_; -} -} -} -} -v___jp_1607_: -{ -lean_object* v___x_1610_; uint8_t v___x_1611_; -v___x_1610_ = l_Lean_Server_userRpcProcedures; -lean_inc(v_method_1542_); -v___x_1611_ = l_Lean_MapDeclarationExtension_contains___redArg(v___x_1601_, v___x_1610_, v_env_1549_, v_method_1542_); -if (v___x_1611_ == 0) -{ -lean_dec_ref(v___x_1606_); -v___y_1551_ = v___y_1608_; -v___y_1552_ = v___y_1609_; -goto v___jp_1550_; -} -else -{ -lean_object* v___x_1612_; lean_object* v___x_1613_; lean_object* v___x_1614_; -lean_dec(v_method_1542_); -v___x_1612_ = lean_obj_once(&l_Lean_Server_registerRpcProcedure___closed__18, &l_Lean_Server_registerRpcProcedure___closed__18_once, _init_l_Lean_Server_registerRpcProcedure___closed__18); -v___x_1613_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1613_, 0, v___x_1606_); -lean_ctor_set(v___x_1613_, 1, v___x_1612_); -v___x_1614_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1613_, v___y_1608_, v___y_1609_); -lean_dec(v___y_1609_); -lean_dec_ref(v___y_1608_); -return v___x_1614_; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___boxed(lean_object* v_method_1619_, lean_object* v_a_1620_, lean_object* v_a_1621_, lean_object* v_a_1622_){ +LEAN_EXPORT lean_object* l_Lean_Server_registerRpcProcedure___boxed(lean_object* v_method_1642_, lean_object* v_a_1643_, lean_object* v_a_1644_, lean_object* v_a_1645_){ _start: { -lean_object* v_res_1623_; -v_res_1623_ = l_Lean_Server_registerRpcProcedure(v_method_1619_, v_a_1620_, v_a_1621_); -return v_res_1623_; +lean_object* v_res_1646_; +v_res_1646_ = l_Lean_Server_registerRpcProcedure(v_method_1642_, v_a_1643_, v_a_1644_); +return v_res_1646_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3(lean_object* v_00_u03b1_1624_, lean_object* v_msg_1625_, lean_object* v___y_1626_, lean_object* v___y_1627_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3(lean_object* v_00_u03b1_1647_, lean_object* v_msg_1648_, lean_object* v___y_1649_, lean_object* v___y_1650_){ _start: { -lean_object* v___x_1629_; -v___x_1629_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v_msg_1625_, v___y_1626_, v___y_1627_); -return v___x_1629_; +lean_object* v___x_1652_; +v___x_1652_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v_msg_1648_, v___y_1649_, v___y_1650_); +return v___x_1652_; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___boxed(lean_object* v_00_u03b1_1630_, lean_object* v_msg_1631_, lean_object* v___y_1632_, lean_object* v___y_1633_, lean_object* v___y_1634_){ +LEAN_EXPORT lean_object* l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___boxed(lean_object* v_00_u03b1_1653_, lean_object* v_msg_1654_, lean_object* v___y_1655_, lean_object* v___y_1656_, lean_object* v___y_1657_){ _start: { -lean_object* v_res_1635_; -v_res_1635_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3(v_00_u03b1_1630_, v_msg_1631_, v___y_1632_, v___y_1633_); -lean_dec(v___y_1633_); -lean_dec_ref(v___y_1632_); -return v_res_1635_; +lean_object* v_res_1658_; +v_res_1658_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3(v_00_u03b1_1653_, v_msg_1654_, v___y_1655_, v___y_1656_); +lean_dec(v___y_1656_); +lean_dec_ref(v___y_1655_); +return v_res_1658_; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(lean_object* v___x_1636_, lean_object* v_decl_1637_, lean_object* v_x_1638_, uint8_t v_attrKind_1639_, lean_object* v___y_1640_, lean_object* v___y_1641_){ +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(lean_object* v___x_1659_, lean_object* v_decl_1660_, lean_object* v_x_1661_, uint8_t v_attrKind_1662_, lean_object* v___y_1663_, lean_object* v___y_1664_){ _start: { -lean_object* v___x_1643_; -lean_inc(v___y_1641_); -lean_inc_ref(v___y_1640_); -lean_inc(v_decl_1637_); -v___x_1643_ = l_Lean_ensureAttrDeclIsMeta(v___x_1636_, v_decl_1637_, v_attrKind_1639_, v___y_1640_, v___y_1641_); -if (lean_obj_tag(v___x_1643_) == 0) +lean_object* v___x_1666_; +lean_inc(v___y_1664_); +lean_inc_ref(v___y_1663_); +lean_inc(v_decl_1660_); +v___x_1666_ = l_Lean_ensureAttrDeclIsMeta(v___x_1659_, v_decl_1660_, v_attrKind_1662_, v___y_1663_, v___y_1664_); +if (lean_obj_tag(v___x_1666_) == 0) { -lean_object* v___x_1644_; -lean_dec_ref(v___x_1643_); -v___x_1644_ = l_Lean_Server_registerRpcProcedure(v_decl_1637_, v___y_1640_, v___y_1641_); -return v___x_1644_; +lean_object* v___x_1667_; +lean_dec_ref(v___x_1666_); +v___x_1667_ = l_Lean_Server_registerRpcProcedure(v_decl_1660_, v___y_1663_, v___y_1664_); +return v___x_1667_; } else { -lean_dec(v___y_1641_); -lean_dec_ref(v___y_1640_); -lean_dec(v_decl_1637_); -return v___x_1643_; +lean_dec(v___y_1664_); +lean_dec_ref(v___y_1663_); +lean_dec(v_decl_1660_); +return v___x_1666_; } } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v___x_1645_, lean_object* v_decl_1646_, lean_object* v_x_1647_, lean_object* v_attrKind_1648_, lean_object* v___y_1649_, lean_object* v___y_1650_, lean_object* v___y_1651_){ +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v___x_1668_, lean_object* v_decl_1669_, lean_object* v_x_1670_, lean_object* v_attrKind_1671_, lean_object* v___y_1672_, lean_object* v___y_1673_, lean_object* v___y_1674_){ _start: { -uint8_t v_attrKind_boxed_1652_; lean_object* v_res_1653_; -v_attrKind_boxed_1652_ = lean_unbox(v_attrKind_1648_); -v_res_1653_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(v___x_1645_, v_decl_1646_, v_x_1647_, v_attrKind_boxed_1652_, v___y_1649_, v___y_1650_); -lean_dec(v_x_1647_); -return v_res_1653_; +uint8_t v_attrKind_boxed_1675_; lean_object* v_res_1676_; +v_attrKind_boxed_1675_ = lean_unbox(v_attrKind_1671_); +v_res_1676_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(v___x_1668_, v_decl_1669_, v_x_1670_, v_attrKind_boxed_1675_, v___y_1672_, v___y_1673_); +lean_dec(v_x_1670_); +return v_res_1676_; } } static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_1655_; lean_object* v___x_1656_; -v___x_1655_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); -v___x_1656_ = l_Lean_stringToMessageData(v___x_1655_); -return v___x_1656_; +lean_object* v___x_1678_; lean_object* v___x_1679_; +v___x_1678_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__0_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); +v___x_1679_ = l_Lean_stringToMessageData(v___x_1678_); +return v___x_1679_; } } static lean_object* _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(void){ _start: { -lean_object* v___x_1658_; lean_object* v___x_1659_; -v___x_1658_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__2_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); -v___x_1659_ = l_Lean_stringToMessageData(v___x_1658_); -return v___x_1659_; +lean_object* v___x_1681_; lean_object* v___x_1682_; +v___x_1681_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__2_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); +v___x_1682_ = l_Lean_stringToMessageData(v___x_1681_); +return v___x_1682_; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(lean_object* v___x_1660_, lean_object* v_decl_1661_, lean_object* v___y_1662_, lean_object* v___y_1663_){ +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(lean_object* v___x_1683_, lean_object* v_decl_1684_, lean_object* v___y_1685_, lean_object* v___y_1686_){ _start: { -lean_object* v___x_1665_; lean_object* v___x_1666_; lean_object* v___x_1667_; lean_object* v___x_1668_; lean_object* v___x_1669_; lean_object* v___x_1670_; -v___x_1665_ = lean_obj_once(&l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_, &l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2__once, _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_); -v___x_1666_ = l_Lean_MessageData_ofName(v___x_1660_); -v___x_1667_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1667_, 0, v___x_1665_); -lean_ctor_set(v___x_1667_, 1, v___x_1666_); -v___x_1668_ = lean_obj_once(&l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_, &l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2__once, _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_); -v___x_1669_ = lean_alloc_ctor(7, 2, 0); -lean_ctor_set(v___x_1669_, 0, v___x_1667_); -lean_ctor_set(v___x_1669_, 1, v___x_1668_); -v___x_1670_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1669_, v___y_1662_, v___y_1663_); -return v___x_1670_; +lean_object* v___x_1688_; lean_object* v___x_1689_; lean_object* v___x_1690_; lean_object* v___x_1691_; lean_object* v___x_1692_; lean_object* v___x_1693_; +v___x_1688_ = lean_obj_once(&l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_, &l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2__once, _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_); +v___x_1689_ = l_Lean_MessageData_ofName(v___x_1683_); +v___x_1690_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1690_, 0, v___x_1688_); +lean_ctor_set(v___x_1690_, 1, v___x_1689_); +v___x_1691_ = lean_obj_once(&l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_, &l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2__once, _init_l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1___closed__3_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_); +v___x_1692_ = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(v___x_1692_, 0, v___x_1690_); +lean_ctor_set(v___x_1692_, 1, v___x_1691_); +v___x_1693_ = l_Lean_throwError___at___00Lean_Server_registerRpcProcedure_spec__3___redArg(v___x_1692_, v___y_1685_, v___y_1686_); +return v___x_1693_; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v___x_1671_, lean_object* v_decl_1672_, lean_object* v___y_1673_, lean_object* v___y_1674_, lean_object* v___y_1675_){ +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v___x_1694_, lean_object* v_decl_1695_, lean_object* v___y_1696_, lean_object* v___y_1697_, lean_object* v___y_1698_){ _start: { -lean_object* v_res_1676_; -v_res_1676_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(v___x_1671_, v_decl_1672_, v___y_1673_, v___y_1674_); -lean_dec(v___y_1674_); -lean_dec_ref(v___y_1673_); -lean_dec(v_decl_1672_); -return v_res_1676_; +lean_object* v_res_1699_; +v_res_1699_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___lam__1_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(v___x_1694_, v_decl_1695_, v___y_1696_, v___y_1697_); +lean_dec(v___y_1697_); +lean_dec_ref(v___y_1696_); +lean_dec(v_decl_1695_); +return v_res_1699_; } } LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(){ _start: { -lean_object* v___x_1756_; lean_object* v___x_1757_; -v___x_1756_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___closed__31_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); -v___x_1757_ = l_Lean_registerBuiltinAttribute(v___x_1756_); -return v___x_1757_; +lean_object* v___x_1779_; lean_object* v___x_1780_; +v___x_1779_ = ((lean_object*)(l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn___closed__31_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_)); +v___x_1780_ = l_Lean_registerBuiltinAttribute(v___x_1779_); +return v___x_1780_; } } -LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v_a_1758_){ +LEAN_EXPORT lean_object* l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2____boxed(lean_object* v_a_1781_){ _start: { -lean_object* v_res_1759_; -v_res_1759_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(); -return v_res_1759_; +lean_object* v_res_1782_; +v_res_1782_ = l___private_Lean_Server_Rpc_RequestHandling_0__Lean_Server_initFn_00___x40_Lean_Server_Rpc_RequestHandling_1988373275____hygCtx___hyg_2_(); +return v_res_1782_; } } lean_object* runtime_initialize_Lean_Server_Requests(uint8_t builtin); diff --git a/stage0/stdlib/Lean/Shell.c b/stage0/stdlib/Lean/Shell.c index 50935f9ca0..8aad253afd 100644 --- a/stage0/stdlib/Lean/Shell.c +++ b/stage0/stdlib/Lean/Shell.c @@ -114,7 +114,7 @@ lean_object* l_Lean_getBuildDir(); lean_object* l_Lean_getLibDir(lean_object*); lean_object* lean_decode_lossy_utf8(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_decodeLossyUTF8___boxed(lean_object*); -uint32_t lean_run_main(lean_object*, lean_object*, lean_object*); +uint32_t lean_eval_main(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_runMain___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_init_llvm(); LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_initLLVM___boxed(lean_object*); @@ -598,7 +598,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Shell_0__Lean_runMain___boxed(lean_obj _start: { uint32_t v_res_12_; lean_object* v_r_13_; -v_res_12_ = lean_run_main(v_env_8_, v_opts_9_, v_args_10_); +v_res_12_ = lean_eval_main(v_env_8_, v_opts_9_, v_args_10_); lean_dec(v_args_10_); lean_dec_ref(v_opts_9_); lean_dec_ref(v_env_8_); @@ -9601,7 +9601,7 @@ lean_dec(v_cFileName_x3f_2786_); v_val_2889_ = lean_ctor_get(v_a_2829_, 0); lean_inc(v_val_2889_); lean_dec_ref(v_a_2829_); -v___x_2890_ = lean_run_main(v_val_2889_, v_leanOpts_2772_, v___y_2824_); +v___x_2890_ = lean_eval_main(v_val_2889_, v_leanOpts_2772_, v___y_2824_); lean_dec(v___y_2824_); lean_dec_ref(v_leanOpts_2772_); lean_dec(v_val_2889_);